@univerjs-pro/engine-formula 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251218-2062647
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +4 -4
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x343a(_0x5de859,_0x1c2d1a){_0x5de859=_0x5de859-0x18b;const _0xffa8d=_0xffa8();let _0x343a47=_0xffa8d[_0x5de859];return _0x343a47;}const _0x4c74ac=_0x343a;(function(_0x317174,_0x11e10c){const _0x3c50fc=_0x343a,_0x4a67d9=_0x317174();while(!![]){try{const _0x1971fe=-parseInt(_0x3c50fc(0x19a))/0x1*(-parseInt(_0x3c50fc(0x195))/0x2)+parseInt(_0x3c50fc(0x18f))/0x3*(parseInt(_0x3c50fc(0x19b))/0x4)+-parseInt(_0x3c50fc(0x193))/0x5+parseInt(_0x3c50fc(0x191))/0x6+-parseInt(_0x3c50fc(0x192))/0x7+-parseInt(_0x3c50fc(0x190))/0x8+-parseInt(_0x3c50fc(0x18c))/0x9*(-parseInt(_0x3c50fc(0x194))/0xa);if(_0x1971fe===_0x11e10c)break;else _0x4a67d9['push'](_0x4a67d9['shift']());}catch(_0x23bbba){_0x4a67d9['push'](_0x4a67d9['shift']());}}}(_0xffa8,0x29511));Object[_0x4c74ac(0x197)](exports,Symbol[_0x4c74ac(0x18d)],{'value':_0x4c74ac(0x18e)});function _0xffa8(){const _0x25c86d=['toStringTag','Module','720435cOMRqJ','2167536yjEPBX','1033968brLvoX','2214695whKGyb','140435ZXytoS','1410740Ujafds','115550zTcbZw','call','defineProperty','forEach','hasOwnProperty','4chsLIP','4gDdVcD','default','9aPlYII'];_0xffa8=function(){return _0x25c86d;};return _0xffa8();}const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x4c74ac(0x198)](_0x2b12e0=>{const _0x444f06=_0x4c74ac;_0x2b12e0!==_0x444f06(0x18b)&&!Object['prototype'][_0x444f06(0x199)][_0x444f06(0x196)](exports,_0x2b12e0)&&Object[_0x444f06(0x197)](exports,_0x2b12e0,{'enumerable':!0x0,'get':()=>t[_0x2b12e0]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x1a3a97=_0x5790;(function(_0x5cfbd6,_0x5a6306){const _0x3054ab=_0x5790,_0x559a59=_0x5cfbd6();while(!![]){try{const _0x34d628=parseInt(_0x3054ab(0x182))/0x1+-parseInt(_0x3054ab(0x201))/0x2*(-parseInt(_0x3054ab(0x150))/0x3)+-parseInt(_0x3054ab(0x1b9))/0x4*(parseInt(_0x3054ab(0x16f))/0x5)+-parseInt(_0x3054ab(0x1d7))/0x6*(parseInt(_0x3054ab(0x221))/0x7)+-parseInt(_0x3054ab(0x248))/0x8*(-parseInt(_0x3054ab(0x1c0))/0x9)+-parseInt(_0x3054ab(0x1b3))/0xa+-parseInt(_0x3054ab(0x16d))/0xb*(-parseInt(_0x3054ab(0x225))/0xc);if(_0x34d628===_0x5a6306)break;else _0x559a59['push'](_0x559a59['shift']());}catch(_0x42d7e7){_0x559a59['push'](_0x559a59['shift']());}}}(_0x13a0,0x76ab2));var k=Object[_0x1a3a97(0x202)],b=(_0x430c54,_0xa7f02c,_0x56985f)=>_0xa7f02c in _0x430c54?k(_0x430c54,_0xa7f02c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56985f}):_0x430c54[_0xa7f02c]=_0x56985f,C=(_0x49fc2d,_0x3160d9,_0x15faed)=>b(_0x49fc2d,typeof _0x3160d9!=_0x1a3a97(0x1f6)?_0x3160d9+'':_0x3160d9,_0x15faed);Object[_0x1a3a97(0x202)](exports,Symbol[_0x1a3a97(0x21d)],{'value':'Module'});function _0x13a0(){const _0x294ef1=['clearFeatureFormulaDependency','5110960vpwFKS','push','LexerTreeBuilder','startRow','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','trim','1330508WKVNYP','Lambda\x20parameter\x20name\x20\x22','columnCount','_resetPrefix','setRuntimeFeatureRange','clearOtherFormulaDependency','getDirtyData','73053bYzrJH','has','_getUpdateTreeListAndMakeDependency','setDependencyTreeModelData','_generateExprTree','getOwnPropertyDescriptor','FormulaDependencyTreeVirtual','VALUE','toUpperCase','refOffsetX','_addAllTreeMap','reset','getFormulaData','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setRuntimeOtherData','START_DEPENDENCY_ARRAY_FORMULA','requestImmediateMacroTask','formulaId','openKdTree','startsWith','setSkip','removeFormulaDependencyByDefinedName','COLON','34554LqvsvC','bulkRemove','_checkIsCycleDependency','IDependencyManagerService','DEFAULT_TOKEN_LET_FUNCTION_NAME','_runtimeService','_handleNewFunctionChild','_removeDependencyRTreeCache','DEFAULT_TOKEN_TYPE_PARAMETER','subUnitId','_lambdaFunctionParameterSet','min','_dependencyTreeCache','_clearPrefix','notExecuteFormula','FormulaDependencyTree','addFormulaDependency','_removeAllTreeMap','rowCount','_hasNewExcelFunction','_xlfn.','string','_calculateRunList','getValue','DependentOn','START_DEPENDENCY','LexerTreeProBuilder','_removeDependencyRTreeCacheById','addOtherFormulaDependency','DependencyManagerBaseService','hasOwnProperty','symbol','_generateNewFunctionString','treeId','_executionInProgressListener$','generateRandomDependencyTreeId','IFormulaDependencyGenerator','setFormulaExecuteStage','_updateRangeFlatten','START_CALCULATION','_startFormulaDependencyTreeModel','inRangeData','424oAOntU','defineProperty','UniverFormulaEnginePlugin','children','setRuntimeData','_astTreeBuilder','_convertDirtyRangesToUnitRange','executeAsync','_isCalculateTreeModel','getExcludedRange','dispose','_getTreeById','get','setCompletedFormulasCount','_getFeatureFormulaTree','refOffsetY','_executionCompleteListener$','_getFirstCellOfRange','setValue','FormulaExecuteStageType','_xlfnPrefix','_dependencyManagerService','treeBuilder','startColumn','value','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getRuntimeState','getUnitData','toStringTag','enableCycleDependency','removeFeatureFormulaDependency','getSheetFeatureLimit','707aDxjZr','message','_dependencyRTreeCache','isForceCalculate','15293832bYkhqL','generate','_interpreter','PLUS','_config','_definedNameMap','setCurrent','ICalculateFormulaService','length','sheetId','pop','CalculateFormulaService','_registerFormulas','keys','isReferenceString','IDLE','_xlpmPrefix','addOtherFormulaDependencyMainData','isAdded','set','_currentConfigService','add','column','_xlpm.','UniverProFormulaEnginePlugin','searchDependency','resolve','\x22\x20is\x20duplicated.','_initializeGenerateTreeList','qW4DciF4\x20QJDjOdciF4(wiDJ4eJ,\x20dW5wiDCJO)\x20{\x20\x20\x20\x20cjO\x20{\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20wiDJ4eJM4qFkIjcujjIO\x20=\x20wiDJ4eJ.edwic(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20Fjipi4oJeeIpJ\x20=\x20lR1v.dIjeJ(IcF5(wiDJ4eJM4qFkIjcujjIO[r]));\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!Fjipi4oJeeIpJ.WQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fjipi4oJeeIpJ.WQ\x20=\x20vWP5Jj(wiDJ4eJM4qFkIjcujjIO[t]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iezFjSJj\x20=\x20cOdJFq\x20zFjSJjVwF5IwRDFdJ\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20eJwq\x20i4ecI4DJFq\x20zFjSJjVwF5IwRDFdJ;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iegjFYeJj\x20=\x20cOdJFq\x20Yi4QFY\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20cOdJFq\x20Yi4QFY.wFDIciF4\x20!==\x20\x27W4QJqi4JQ\x27;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20DF4cJHc\x20=\x20iezFjSJj\x20?\x20eJwq\x20:\x20(iegjFYeJj\x20?\x20Yi4QFY\x20:\x20pwF5IwB9ie);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[r]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(PJeeIpJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[y]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(eip4IcWjJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4TIwiQ\x20=\x20DF4cJHc.__XJjiqO__(eip4IcWjJ,\x20PJeeIpJ,\x20dW5wiDCJO);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20QFPIi4\x20=\x20Fjipi4oJeeIpJ.QP;\x20\x20\x20\x20\x20\x20\x20\x20qW4DciF4\x20ieLFPIi4oIcD9i4p(FkIccJj4,\x20F2Fec)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4\x20=\x20FkIccJj4.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209Fec\x20=\x20F2Fec.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4kIjce\x20=\x20dIccJj4.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FeckIjce\x20=\x209Fec.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!dIccJj4.i4DwWQJe(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4\x20===\x209Fec;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(dIccJj4kIjce.wJ4pc9\x20<\x20r\x20||\x20dIccJj4kIjce[8]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4RWqqiH\x20=\x20dIccJj4kIjce.ewiDJ(N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FecRWqqiH\x20=\x209FeckIjce.ewiDJ(-dIccJj4kIjce.wJ4pc9\x20+\x20N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4RWqqiH\x20===\x209FecRWqqiH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wJc\x20QFPIi4TIwiQ\x20=\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(iegjFYeJj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20(QFPIi4\x20&&\x20QFPIi4.wJ4pc9)\x20?\x20QFPIi4.eFPJ((QPMcJP)\x20=>\x20ieLFPIi4oIcD9i4p(QPMcJP,\x20wFDIciF4.9Fec4IPJ))\x20:\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(wFDIciF4.9Fec4IPJ\x20===\x20\x27wFDIw9Fec\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JweJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20XIwiQ\x20=\x20eip4TIwiQ\x20&&\x20QFPIi4TIwiQ;\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20Fjipi4oJeeIpJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20DIcD9\x20(JjjFj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ:\x20qIweJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','prototype','_getCurNodeTypeForExprTree','getToken','unitId','endRow','400MgkCFo','featureId','realDeleteValue','DEFAULT_INTERVAL_COUNT','default','ParentDependencyTree\x20object\x20is\x20null','join','getOtherFormulaData','markedAsStopFunctionsExecuted','LS_CONFIG_KEY','range','FormulaDependencyTreeType','isArray','_otherFormulaData','3861JsIOrd','setAdded','_initializeWithOverride','isFeatureAuthorizedWithinTime','ObjectMatrix','MINUS','return\x20','addFormulaDependencyByDefinedName','getNewFormulaWithPrefix','_clearFunctionString','DEFAULT_TOKEN_TYPE_ROOT','_checkAddBracketForMinus','OTHER_FORMULA','dependencySheetName','getConfig','RTree','endColumn','generateAstNode','max','slice','resetCalculationState','matchToken','_getTableNameFromStructuredRef','forEach','size','_formulaDependencyTreeModel','parseInt','getDirtyRanges','isVirtual','11ZbqVAa','rangeList','10rWsVBY','formula','markedAsNoFunctionsExecuted','_configService','isCache','from','_createFDtree','_initLicenseValid','toRTreeItem','_otherFormulaDataMainData','_formulaDependencyGenerator','ErrorType','removeOtherFormulaDependency','_formulaData','_injector','_handleTextNodeForExprTree','call','_allTreeMap','delete','290895KlDdRN','_registerOtherFormulas','setTotalFormulasToCalculate','FormulaDependencyGenerator','_getTreeNode','bulkSearch','_handleChildrenForExprTree','getAllRuntimeData','addFeatureFormulaDependency','forValue','_getDependencyTreeChildrenIds','getChildren','_traverse','DependencyManagerService','prefixToken','LexerNode','dirtyRanges','_restDependencyTreeId','type','next','_dependencyRTreeCacheForAddressFunction','unshiftString','valid','row','_otherFormulaManagerService','closeKdTree','clear','_isCyclicUtilMap','_endFormulaDependencyTreeModel','_getDependencyTreeParenIds','clearArrayObjectCache','_lexer','_featureFormulaData','NEW_EXCEL_FUNCTIONS','getClearDependencyTreeCache','UniverLicensePlugin','_generateTreeList','markedAsSuccessfullyExecuted','values','splitTableStructuredRef','isExcludeRange','getOtherFormulaDependency','_currentUnitId','CURRENTLY_CALCULATING_ARRAY_FORMULA','getFeatureFormulaDependency','FEATURE_FORMULA','isSkip','SUFFIX_TOKEN_SET'];_0x13a0=function(){return _0x294ef1;};return _0x13a0();}const s=require('@univerjs/engine-formula'),x=require('@univerjs-pro/license'),M=require('@univerjs/core');class w extends s[_0x1a3a97(0x1b5)]{constructor(){const _0x4d4a4f=_0x1a3a97;super(...arguments),C(this,_0x4d4a4f(0x1ea),!0x1),C(this,_0x4d4a4f(0x1e1),new Set()),C(this,'_xlpmPrefix',_0x4d4a4f(0x23c)),C(this,_0x4d4a4f(0x215),_0x4d4a4f(0x1eb)),C(this,_0x4d4a4f(0x1ac),'');}['_resetPrefix'](){const _0x512802=_0x1a3a97;this[_0x512802(0x235)]=_0x512802(0x23c),this[_0x512802(0x215)]='_xlfn.';}[_0x1a3a97(0x1e4)](){const _0x402ea1=_0x1a3a97;this[_0x402ea1(0x235)]='',this['_xlfnPrefix']='';}[_0x1a3a97(0x158)](_0x30530a,_0x24eb51){const _0x21fa2d=_0x1a3a97,_0x300ddb=this[_0x21fa2d(0x217)](_0x30530a,!0x1);if(!_0x300ddb||_0x300ddb===s[_0x21fa2d(0x17a)][_0x21fa2d(0x1c7)]||Array[_0x21fa2d(0x14e)](_0x300ddb))return null;const _0x414af2=[];return this[_0x21fa2d(0x1ea)]=!0x1,this['_generateNewFunctionString'](_0x300ddb,_0x414af2,_0x24eb51),this[_0x21fa2d(0x1ea)]?'='+_0x414af2[_0x21fa2d(0x24e)](''):null;}[_0x1a3a97(0x1f7)](_0x6b2284,_0x5ab8ea,_0x44c7a5){const _0xe9a3f2=_0x1a3a97,_0x264ab2=_0x6b2284[_0xe9a3f2(0x245)](),_0x14c4d9=_0x264ab2['trim'](),_0x56ecf9=_0x14c4d9['toUpperCase'](),_0x2d34fa=this[_0xe9a3f2(0x159)](_0x56ecf9),_0x518e79=_0x44c7a5(_0x2d34fa);let _0x4093b9=0x0;_0x264ab2===s[_0xe9a3f2(0x15a)]?_0x4093b9=0x3:_0x264ab2===s[_0xe9a3f2(0x1df)]?_0x4093b9=0x4:_0x264ab2===s[_0xe9a3f2(0x1b7)]?_0x4093b9=0x5:s[_0xe9a3f2(0x1a3)][_0xe9a3f2(0x1c1)](_0x2d34fa)?(_0x5ab8ea[_0xe9a3f2(0x1b4)](''+this['_xlfnPrefix']+_0x14c4d9),this['_hasNewExcelFunction']=!0x0):_0x56ecf9===s[_0xe9a3f2(0x21a)]?(_0x5ab8ea[_0xe9a3f2(0x1b4)](''+this[_0xe9a3f2(0x215)]+_0x14c4d9),this[_0xe9a3f2(0x1ea)]=!0x0,_0x4093b9=0x2):_0x56ecf9===s[_0xe9a3f2(0x1db)]?(_0x5ab8ea[_0xe9a3f2(0x1b4)](''+this['_xlfnPrefix']+_0x14c4d9),this['_hasNewExcelFunction']=!0x0,_0x4093b9=0x1):_0x56ecf9===s[_0xe9a3f2(0x165)][_0xe9a3f2(0x1d6)]?_0x4093b9=0x8:s[_0xe9a3f2(0x1b1)][_0xe9a3f2(0x1c1)](_0x56ecf9)?_0x4093b9=0x7:_0x56ecf9===s[_0xe9a3f2(0x190)]['MINUS']?(this[_0xe9a3f2(0x15b)](_0x6b2284)&&(_0x4093b9=0x9),_0x5ab8ea[_0xe9a3f2(0x1b4)](_0x264ab2)):(_0x5ab8ea['push'](_0x264ab2),_0x4093b9=0xa),_0x518e79?(_0x4093b9!==0x2&&_0x4093b9!==0x1&&(_0x4093b9=0x6),_0x5ab8ea[_0xe9a3f2(0x1b4)]('(')):_0x4093b9===0x9&&_0x5ab8ea[_0xe9a3f2(0x1b4)]('(');const _0x2ec900=_0x6b2284[_0xe9a3f2(0x18d)](),_0x5da356=_0x2ec900['length'];if(_0x4093b9===0x2){const _0x51496f=_0x2ec900[0x0];let _0x18e3cb=0x0;_0x51496f instanceof s[_0xe9a3f2(0x191)]&&_0x51496f['getToken']()===s[_0xe9a3f2(0x1b7)]&&(_0x18e3cb=0x1);for(let _0x3f96ff=_0x18e3cb;_0x3f96ff<_0x5da356-0x1;_0x3f96ff++){const _0x504e79=_0x2ec900[_0x3f96ff];if(_0x504e79 instanceof s[_0xe9a3f2(0x191)]){const _0x41546e=_0x504e79[_0xe9a3f2(0x18d)]()[0x0];typeof _0x41546e==_0xe9a3f2(0x1ec)&&(this[_0xe9a3f2(0x1e1)][_0xe9a3f2(0x1c1)](_0x41546e)&&console['error'](_0xe9a3f2(0x1ba)+_0x41546e+_0xe9a3f2(0x240)),this[_0xe9a3f2(0x1e1)][_0xe9a3f2(0x23a)](_0x41546e),_0x5ab8ea[_0xe9a3f2(0x1b4)](''+this[_0xe9a3f2(0x235)]+_0x41546e),this[_0xe9a3f2(0x1ea)]=!0x0);}_0x5ab8ea[_0xe9a3f2(0x1b4)](',');}this[_0xe9a3f2(0x1dd)](_0x2ec900[_0x5da356-0x1],_0x5ab8ea,_0x44c7a5),_0x18e3cb===0x1&&(_0x5ab8ea[_0xe9a3f2(0x1b4)](')'),_0x5ab8ea[_0xe9a3f2(0x1b4)]('('),this[_0xe9a3f2(0x1f7)](_0x51496f,_0x5ab8ea,_0x44c7a5)),_0x5ab8ea[_0xe9a3f2(0x1b4)](')');return;}else{if(_0x4093b9===0x1){for(let _0x5332fc=0x0;_0x5332fc<_0x5da356-0x1;_0x5332fc++){const _0x592eef=_0x2ec900[_0x5332fc];if(_0x592eef instanceof s['LexerNode']&&_0x5332fc%0x2===0x0){const _0x465977=_0x592eef[_0xe9a3f2(0x18d)]()[0x0];if(typeof _0x465977=='string'){this['_lambdaFunctionParameterSet'][_0xe9a3f2(0x1c1)](_0x465977)&&console['error']('Let\x20variable\x20name\x20\x22'+_0x465977+_0xe9a3f2(0x240)),this[_0xe9a3f2(0x1e1)][_0xe9a3f2(0x23a)](_0x465977),_0x5ab8ea[_0xe9a3f2(0x1b4)](''+this['_xlpmPrefix']+_0x465977),this[_0xe9a3f2(0x1ea)]=!0x0,_0x5ab8ea[_0xe9a3f2(0x1b4)](',');continue;}}if(this[_0xe9a3f2(0x1dd)](_0x592eef,_0x5ab8ea,_0x44c7a5),_0x592eef instanceof s['LexerNode']){const _0x459c14=_0x2ec900[_0x5332fc+0x1];_0x459c14&&_0x459c14 instanceof s['LexerNode']&&_0x5ab8ea[_0xe9a3f2(0x1b4)](',');}}this[_0xe9a3f2(0x1dd)](_0x2ec900[_0x5da356-0x1],_0x5ab8ea,_0x44c7a5),_0x5ab8ea['push'](')');return;}else{if(_0x4093b9===0x8){const _0x5e9b00=_0x2ec900[0x0],_0x1d3076=_0x2ec900[0x1];this[_0xe9a3f2(0x1dd)](_0x5e9b00,_0x5ab8ea,_0x44c7a5),_0x5ab8ea[_0xe9a3f2(0x1b4)](_0x264ab2),this['_handleNewFunctionChild'](_0x1d3076,_0x5ab8ea,_0x44c7a5);return;}}}for(let _0x2eb4a7=0x0;_0x2eb4a7<_0x5da356;_0x2eb4a7++){const _0x52b333=_0x2ec900[_0x2eb4a7];if(this['_handleNewFunctionChild'](_0x52b333,_0x5ab8ea,_0x44c7a5),_0x52b333 instanceof s['LexerNode']){const _0x31c51a=_0x2ec900[_0x2eb4a7+0x1];_0x31c51a&&_0x31c51a instanceof s[_0xe9a3f2(0x191)]&&_0x5ab8ea['push'](',');}}_0x4093b9===0x7&&_0x5ab8ea[_0xe9a3f2(0x1b4)](_0x264ab2),(_0x518e79||_0x4093b9===0x9)&&_0x5ab8ea[_0xe9a3f2(0x1b4)](')');}['_handleNewFunctionChild'](_0x456ec8,_0x203a43,_0x47c684){const _0x2668a2=_0x1a3a97;_0x456ec8 instanceof s[_0x2668a2(0x191)]?this['_generateNewFunctionString'](_0x456ec8,_0x203a43,_0x47c684):this[_0x2668a2(0x1e1)][_0x2668a2(0x1c1)](_0x456ec8)?(_0x203a43[_0x2668a2(0x1b4)](''+this[_0x2668a2(0x235)]+_0x456ec8),this[_0x2668a2(0x1ea)]=!0x0):_0x203a43[_0x2668a2(0x1b4)](_0x456ec8);}[_0x1a3a97(0x159)](_0x272610){const _0x220ebd=_0x1a3a97;let _0x50ec8c=_0x272610[_0x220ebd(0x1b8)]();if(!_0x50ec8c)return _0x50ec8c;const _0x1cd9e1=_0x50ec8c[0x0];if((_0x1cd9e1===s[_0x220ebd(0x190)]['AT']||_0x1cd9e1===s[_0x220ebd(0x190)][_0x220ebd(0x155)]||_0x1cd9e1===s['prefixToken'][_0x220ebd(0x228)])&&(_0x50ec8c=_0x50ec8c[_0x220ebd(0x163)](0x1)),!_0x50ec8c)return _0x50ec8c;const _0x194d05=_0x50ec8c[_0x50ec8c[_0x220ebd(0x22d)]-0x1];return s[_0x220ebd(0x1b1)][_0x220ebd(0x1c1)](_0x194d05)&&(_0x50ec8c=_0x50ec8c[_0x220ebd(0x163)](0x0,-0x1)),_0x50ec8c;}['_checkAddBracketForMinus'](_0x1fde5b){const _0x2f3c5e=_0x1a3a97,_0x4a3bcb=_0x1fde5b[_0x2f3c5e(0x18d)]()[0x0];if(!_0x4a3bcb||!(_0x4a3bcb instanceof s[_0x2f3c5e(0x191)])||_0x1fde5b[_0x2f3c5e(0x18d)]()[_0x2f3c5e(0x22d)]>0x1)return!0x1;const _0x19f3e6=_0x4a3bcb['getChildren'](),_0x4d97c9=_0x19f3e6['length'];if(_0x4d97c9===0x1)return!0x1;for(let _0x6b7c79=0x0;_0x6b7c79<_0x4d97c9;_0x6b7c79++){const _0x37f171=_0x19f3e6[_0x6b7c79];if(!(_0x37f171 instanceof s[_0x2f3c5e(0x191)])&&s['OPERATOR_TOKEN_SET'][_0x2f3c5e(0x1c1)](_0x37f171))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x164378,_0x1d46cf,_0x7e01d9,_0x2ea121,_0x103700){const _0x394dcf=_0x1a3a97,_0x1e8c83=this[_0x394dcf(0x217)](_0x164378,!0x1);if(!_0x1e8c83||_0x1e8c83===s[_0x394dcf(0x17a)][_0x394dcf(0x1c7)]||Array[_0x394dcf(0x14e)](_0x1e8c83))return null;this[_0x394dcf(0x1e4)](),this[_0x394dcf(0x1ac)]=_0x1d46cf;const _0x12d2f7=this[_0x394dcf(0x1c4)](_0x1e8c83,_0x7e01d9,_0x2ea121,_0x103700);return this['_currentUnitId']='',this[_0x394dcf(0x1bc)](),_0x12d2f7;}[_0x1a3a97(0x1c4)](_0x25b0cd,_0x4e2886,_0x3f468b,_0x36bd9e){const _0x443374=_0x1a3a97,_0x54c30d={'value':'','children':[]};let _0x2640e2=_0x25b0cd;if(_0x2640e2 instanceof s[_0x443374(0x191)]&&(_0x2640e2[_0x443374(0x245)]()===s[_0x443374(0x15a)]||_0x2640e2[_0x443374(0x245)]()===s['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x2640e2['getChildren']()['length']===0x1&&(_0x2640e2=_0x2640e2['getChildren']()[0x0]),!(_0x2640e2 instanceof s[_0x443374(0x191)]))return this[_0x443374(0x17e)](_0x2640e2,_0x3f468b,_0x36bd9e);const _0x33bbee=_0x2640e2[_0x443374(0x18d)](),_0x153021=_0x33bbee['length'],_0x466ce6=[];this[_0x443374(0x1f7)](_0x2640e2,_0x466ce6,_0x4e2886),_0x54c30d[_0x443374(0x219)]=_0x466ce6[_0x443374(0x24e)]('');const _0x1314f0=this[_0x443374(0x244)](_0x2640e2);if(_0x1314f0===0x2){const _0x3b0476=_0x33bbee[0x0];if(_0x3b0476 instanceof s[_0x443374(0x191)]){if(_0x3b0476[_0x443374(0x245)]()[_0x443374(0x1b8)]()!==s[_0x443374(0x1b7)])return _0x54c30d;this['_handleLambdaForExprTree'](_0x3b0476,_0x54c30d,_0x4e2886,_0x3f468b,_0x36bd9e);}return _0x54c30d;}else{if(_0x1314f0===0x1){for(let _0x26e7f7=0x0;_0x26e7f7<_0x153021-0x1;_0x26e7f7++){const _0x557744=_0x33bbee[_0x26e7f7];if(_0x557744 instanceof s[_0x443374(0x191)]&&_0x26e7f7%0x2===0x1){const _0x57f742=_0x557744[_0x443374(0x18d)]();if(_0x57f742['length']===0x1&&!(_0x57f742[0x0]instanceof s[_0x443374(0x191)]))continue;const _0x1f4675=this[_0x443374(0x1c4)](_0x557744,_0x4e2886,_0x3f468b,_0x36bd9e);_0x1f4675&&_0x54c30d[_0x443374(0x204)]['push'](_0x1f4675);}}return _0x54c30d;}}return this[_0x443374(0x188)](_0x33bbee,_0x1314f0,_0x54c30d,_0x4e2886,_0x3f468b,_0x36bd9e),_0x54c30d;}[_0x1a3a97(0x188)](_0x201294,_0x2b11cb,_0x45fb8c,_0x2e5d50,_0x4f3d3b,_0x38d31e){const _0x33916f=_0x1a3a97;for(let _0x21f0ce=0x0;_0x21f0ce<_0x201294[_0x33916f(0x22d)];_0x21f0ce++){let _0x42f15e=_0x201294[_0x21f0ce];if(!(_0x42f15e instanceof s[_0x33916f(0x191)])){const _0x230fa4=this[_0x33916f(0x17e)](_0x42f15e,_0x4f3d3b,_0x38d31e);_0x230fa4&&_0x45fb8c[_0x33916f(0x204)][_0x33916f(0x1b4)](_0x230fa4);continue;}const _0x377dd1=_0x42f15e['getChildren']();if(_0x377dd1[_0x33916f(0x22d)]===0x1&&!(_0x377dd1[0x0]instanceof s[_0x33916f(0x191)])){const _0xa79db3=_0x377dd1[0x0];if(!_0x4f3d3b(this[_0x33916f(0x1ac)],_0xa79db3)&&!this['_getTableNameFromStructuredRef'](_0xa79db3,_0x38d31e)&&!s[_0x33916f(0x233)](_0xa79db3))continue;}if(_0x2b11cb===0x8){const _0x37fbaf=_0x377dd1[0x0];if(_0x37fbaf instanceof s[_0x33916f(0x191)]){const _0x368ce8=_0x37fbaf[_0x33916f(0x245)]()[_0x33916f(0x1b8)]();if(s[_0x33916f(0x233)](_0x368ce8))continue;_0x42f15e=_0x37fbaf;}}const _0x458d7e=this[_0x33916f(0x1c4)](_0x42f15e,_0x2e5d50,_0x4f3d3b,_0x38d31e);_0x458d7e&&_0x45fb8c['children']['push'](_0x458d7e);}}[_0x1a3a97(0x17e)](_0x54b3e5,_0x4199aa,_0x28e845){const _0x22ccf5=_0x1a3a97,_0x264e74=_0x54b3e5[_0x22ccf5(0x1b8)]();return _0x264e74[_0x22ccf5(0x1d3)]('{')&&_0x264e74['endsWith']('}')||_0x4199aa(this[_0x22ccf5(0x1ac)],_0x264e74)||this['_getTableNameFromStructuredRef'](_0x264e74,_0x28e845)||s['isReferenceString'](_0x264e74)?{'value':_0x264e74,'children':[]}:null;}[_0x1a3a97(0x166)](_0x2f5d1d,_0x53fa67){const _0x4250ff=_0x1a3a97,{tableName:_0x391092}=s[_0x4250ff(0x1a9)](_0x2f5d1d);return _0x53fa67(this['_currentUnitId'],_0x391092)?_0x391092:null;}['_handleLambdaForExprTree'](_0x1f1c0c,_0x3816e4,_0x3e70d1,_0x44cb3f,_0x193c32){const _0x3a4023=_0x1a3a97,_0x2ba70d=_0x1f1c0c[_0x3a4023(0x18d)]();for(let _0x147699=0x0;_0x147699<_0x2ba70d[_0x3a4023(0x22d)];_0x147699++){const _0x14bf90=_0x2ba70d[_0x147699];if(!(_0x14bf90 instanceof s[_0x3a4023(0x191)]))continue;const _0x47a15f=_0x14bf90[_0x3a4023(0x18d)]();if(_0x47a15f[_0x3a4023(0x22d)]===0x1&&!(_0x47a15f[0x0]instanceof s['LexerNode']))continue;const _0x27a493=this[_0x3a4023(0x1c4)](_0x14bf90,_0x3e70d1,_0x44cb3f,_0x193c32);_0x27a493&&_0x3816e4['children']['push'](_0x27a493);}}[_0x1a3a97(0x244)](_0x2ae79f){const _0x596545=_0x1a3a97,_0x3aebbf=_0x2ae79f['getToken'](),_0x582c06=_0x3aebbf['trim']()[_0x596545(0x1c8)]();let _0x20e4a1=0x0;return _0x3aebbf===s['DEFAULT_TOKEN_TYPE_ROOT']?_0x20e4a1=0x3:_0x3aebbf===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x20e4a1=0x4:_0x3aebbf===s[_0x596545(0x1b7)]?_0x20e4a1=0x5:_0x582c06===s[_0x596545(0x21a)]?_0x20e4a1=0x2:_0x582c06===s[_0x596545(0x1db)]?_0x20e4a1=0x1:_0x582c06===s['matchToken']['COLON']?_0x20e4a1=0x8:s['SUFFIX_TOKEN_SET']['has'](_0x582c06)?_0x20e4a1=0x7:_0x582c06===s[_0x596545(0x190)]['MINUS']?this[_0x596545(0x15b)](_0x2ae79f)&&(_0x20e4a1=0x9):_0x20e4a1=0xa,_0x20e4a1;}}const q={0x0:'Y',0x1:'O',0x2:'H',0x3:'9',0x4:'n',0x5:'b',0x6:'E',0x7:'C',0x8:'0',0x9:'h','N':'1','r':'2','y':'3','t':'4','G':'5','n':'6','E':'7','K':'8','I':'a','D':'c','Q':'d','J':'e','q':'f','p':'g','i':'i','b':'j','S':'k','w':'l','P':'m','F':'o','d':'p','h':'q','j':'r','e':'s','c':'t','W':'u','X':'v','Y':'w','H':'x','O':'y','A':'z','u':'A','g':'B','L':'D','Z':'F','V':'G','M':'I','l':'J','C':'K','m':'L','o':'M','v':'N','k':'P','U':'Q','x':'R','R':'S','B':'T','a':'U','T':'V','z':'W','s':'X','f':'Z'},Q=_0x1a3a97(0x242);class W extends s['FormulaDependencyGenerator']{constructor(){super(...arguments),C(this,'_dependencyTreeCache',new Map());}[_0x1a3a97(0x20b)](){const _0x162710=_0x1a3a97;super[_0x162710(0x20b)](),this[_0x162710(0x1e3)][_0x162710(0x19c)]();}async[_0x1a3a97(0x226)](_0x3ff22d=!0x1){const _0x43ca8c=_0x1a3a97;this[_0x43ca8c(0x1fd)]();const _0x47336a=this[_0x43ca8c(0x239)][_0x43ca8c(0x1cc)](),_0x9ad36a=this[_0x43ca8c(0x19a)][_0x43ca8c(0x24f)](),_0x548b72=this[_0x43ca8c(0x239)][_0x43ca8c(0x1a4)]();_0x548b72!=null&&Object[_0x43ca8c(0x232)](_0x548b72)[_0x43ca8c(0x167)](_0xdb3c9=>{const _0x19402b=_0x43ca8c;_0xdb3c9!=null&&Object[_0x19402b(0x232)](_0x548b72[_0xdb3c9])[_0x19402b(0x167)](_0x281731=>{const _0x6beed2=_0x19402b;_0x281731!=null&&(this['_dependencyManagerService'][_0x6beed2(0x1be)](_0xdb3c9,_0x281731),this[_0x6beed2(0x216)][_0x6beed2(0x1b2)](_0xdb3c9,_0x281731),this['_dependencyManagerService']['clearFormulaDependency'](_0xdb3c9,_0x281731));});});const _0x54fe3e=this['_currentConfigService'][_0x43ca8c(0x21c)]();await this[_0x43ca8c(0x1a6)](_0x47336a,_0x9ad36a,_0x54fe3e),this[_0x43ca8c(0x216)][_0x43ca8c(0x1d2)]();const _0x349b2c=this[_0x43ca8c(0x1c2)](),_0x2e895c=this['_calculateRunList'](_0x349b2c);return this[_0x43ca8c(0x1d9)](_0x2e895c)&&this[_0x43ca8c(0x1dc)][_0x43ca8c(0x21e)](),_0x3ff22d&&this[_0x43ca8c(0x1dc)][_0x43ca8c(0x1c3)](this['_getAllDependencyJson'](Array[_0x43ca8c(0x174)](this[_0x43ca8c(0x1e3)]['values']()))),this[_0x43ca8c(0x1e3)][_0x43ca8c(0x19c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x43ca8c(0x19c)](),this['_dependencyManagerService'][_0x43ca8c(0x19b)](),this['_runtimeService'][_0x43ca8c(0x1a0)](),Promise[_0x43ca8c(0x23f)](_0x2e895c);}[_0x1a3a97(0x19d)](_0x1514ca,_0x32fdaf){const _0x4e7c2b=_0x1a3a97,_0x2c6960=[_0x1514ca];for(;_0x2c6960[_0x4e7c2b(0x22d)]>0x0;){const _0x35572e=_0x2c6960[_0x2c6960[_0x4e7c2b(0x22d)]-0x1];if((_0x32fdaf[_0x4e7c2b(0x20d)](_0x35572e)||0x0)===0x0){_0x32fdaf['set'](_0x35572e,0x1);const _0xc8f230=this['_dependencyTreeCache'][_0x4e7c2b(0x20d)](_0x35572e);if(_0xc8f230==null){_0x32fdaf[_0x4e7c2b(0x238)](_0x35572e,0x2),_0x2c6960[_0x4e7c2b(0x22f)]();continue;}const _0x5c25ab=this[_0x4e7c2b(0x216)][_0x4e7c2b(0x23e)](_0xc8f230[_0x4e7c2b(0x177)]());for(const _0x3668b8 of _0x5c25ab){const _0xa651d=_0x32fdaf[_0x4e7c2b(0x20d)](_0x3668b8)||0x0;if(_0xa651d===0x1)return!0x0;_0xa651d===0x0&&_0x2c6960[_0x4e7c2b(0x1b4)](_0x3668b8);}}else _0x32fdaf['set'](_0x35572e,0x2),_0x2c6960[_0x4e7c2b(0x22f)]();}return!0x1;}[_0x1a3a97(0x1d9)](_0x23a09b){const _0x488e39=_0x1a3a97,_0x350662=new Map();for(const _0x3a95eb of _0x23a09b)if(!_0x350662[_0x488e39(0x1c1)](_0x3a95eb[_0x488e39(0x1f8)])&&this['_isCyclicUtilMap'](_0x3a95eb['treeId'],_0x350662))return!0x0;return _0x350662[_0x488e39(0x19c)](),!0x1;}[_0x1a3a97(0x20f)](_0x4e7a51,_0x1f1f66,_0x372c4d){const _0x556b4c=_0x1a3a97,{unitId:_0x326890,subUnitId:_0x2cabb3,dependencyRanges:_0x4b76b1,getDirtyData:_0x24bc0c}=_0x372c4d,_0x5a928c=_0x1f1f66||s['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x1db02e=new s[(_0x556b4c(0x1e6))](_0x5a928c);_0x1db02e[_0x556b4c(0x246)]=_0x326890,_0x1db02e['subUnitId']=_0x2cabb3,_0x1db02e[_0x556b4c(0x16e)]=_0x4b76b1,_0x1db02e[_0x556b4c(0x1bf)]=_0x24bc0c;const _0x5c2aa9=_0x24bc0c(this[_0x556b4c(0x239)][_0x556b4c(0x1bf)](),this['_runtimeService'][_0x556b4c(0x189)]()),_0x5f0f0d=this[_0x556b4c(0x207)](_0x5c2aa9[_0x556b4c(0x192)]);return _0x1db02e['featureDirtyRanges']=_0x5f0f0d,_0x1db02e[_0x556b4c(0x249)]=_0x4e7a51,_0x1db02e['type']=s[_0x556b4c(0x14d)][_0x556b4c(0x1af)],this[_0x556b4c(0x216)]['addFeatureFormulaDependency'](_0x326890,_0x2cabb3,_0x4e7a51,_0x1db02e),this[_0x556b4c(0x1e3)]['set'](_0x1db02e[_0x556b4c(0x1f8)],_0x1db02e),this[_0x556b4c(0x216)][_0x556b4c(0x1ae)](_0x372c4d[_0x556b4c(0x246)],_0x372c4d[_0x556b4c(0x1e0)],_0x4e7a51)&&(_0x1db02e[_0x556b4c(0x173)]=!0x0),_0x1db02e;}[_0x1a3a97(0x183)](_0x4276ff,_0x4530cf,_0x3ab9cb){const _0x1a1307=_0x1a3a97;var _0x31fffa;for(const _0x82b939 of _0x4530cf){const _0x15ae85=_0x4276ff[_0x82b939];if(_0x15ae85==null)continue;const _0x510d62=Object[_0x1a1307(0x232)](_0x15ae85);for(const _0xab2a9 of _0x510d62){const _0x3f2e32=_0x15ae85[_0xab2a9];if(_0x3f2e32==null)continue;const _0xdb730d=Object[_0x1a1307(0x232)](_0x3f2e32);for(const _0x231490 of _0xdb730d){const _0x10cacb=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x231490),_0x33b8e3=_0x3f2e32[_0x231490],{f:_0x5a2ea7,ranges:_0x1f9933}=_0x33b8e3;let _0x3f3c67=!0x1;_0x10cacb&&(_0x3f3c67=!0x0);const {firstRow:_0x11edb1,firstColumn:_0x4da45e}=this[_0x1a1307(0x212)](_0x1f9933),_0x340288=this[_0x1a1307(0x216)][_0x1a1307(0x1ab)](_0x82b939,_0xab2a9,_0x231490),_0x40a02b=(_0x31fffa=_0x340288==null?void 0x0:_0x340288[_0x1a1307(0x1ee)](0x0,0x0))!=null?_0x31fffa:s[_0x1a1307(0x1fa)](this[_0x1a1307(0x216)]),_0x470fe5=new s[(_0x1a1307(0x1e6))](_0x40a02b);for(let _0x52ce69=0x0;_0x52ce69<_0x1f9933[_0x1a1307(0x22d)];_0x52ce69++){const _0x204e26=_0x1f9933[_0x52ce69],{startRow:_0x3ba2f7,startColumn:_0xb548ab,endRow:_0x259ada,endColumn:_0x5bf5b3}=_0x204e26;for(let _0x515e75=_0x3ba2f7;_0x515e75<=_0x259ada;_0x515e75++)for(let _0x29d84b=_0xb548ab;_0x29d84b<=_0x5bf5b3;_0x29d84b++){const _0x2717ec=_0x29d84b-_0x4da45e,_0xa6f553=_0x515e75-_0x11edb1;if(_0x2717ec===0x0&&_0xa6f553===0x0){_0x470fe5[_0x1a1307(0x170)]=_0x5a2ea7,_0x470fe5[_0x1a1307(0x246)]=_0x82b939,_0x470fe5[_0x1a1307(0x1e0)]=_0xab2a9,_0x470fe5[_0x1a1307(0x1d1)]=_0x231490,_0x470fe5[_0x1a1307(0x194)]=s[_0x1a1307(0x14d)][_0x1a1307(0x15c)],_0x470fe5[_0x1a1307(0x173)]=_0x3f3c67,_0x3ab9cb['push'](_0x470fe5),this['_dependencyTreeCache']['set'](_0x470fe5[_0x1a1307(0x1f8)],_0x470fe5),this[_0x1a1307(0x216)][_0x1a1307(0x1f3)](_0x82b939,_0xab2a9,_0x231490,_0x470fe5),this[_0x1a1307(0x216)][_0x1a1307(0x157)](_0x470fe5);continue;}const _0x2bdb6a=new s[(_0x1a1307(0x1c6))]();_0x2bdb6a[_0x1a1307(0x1f8)]=(_0x340288==null?void 0x0:_0x340288[_0x1a1307(0x1ee)](_0x2717ec,_0xa6f553))||s['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x2bdb6a['refTree']=_0x470fe5,_0x2bdb6a['refOffsetX']=_0x2717ec,_0x2bdb6a[_0x1a1307(0x210)]=_0xa6f553,_0x2bdb6a[_0x1a1307(0x173)]=_0x3f3c67,this[_0x1a1307(0x216)][_0x1a1307(0x1f3)](_0x82b939,_0xab2a9,_0x231490,_0x2bdb6a),this[_0x1a1307(0x216)]['addFormulaDependencyByDefinedName'](_0x2bdb6a),_0x3ab9cb['push'](_0x2bdb6a),this[_0x1a1307(0x1e3)][_0x1a1307(0x238)](_0x2bdb6a['treeId'],_0x2bdb6a);}}this[_0x1a1307(0x216)][_0x1a1307(0x236)](_0x231490);}}}}[_0x1a3a97(0x231)](_0x4f752b,_0x49bddb,_0x1d2149,_0x1a4700){const _0x8d2021=_0x1a3a97;for(const _0x5a31ad of _0x4f752b){const _0x40505b=_0x49bddb[_0x5a31ad];if(_0x40505b==null)continue;const _0x390cf0=Object[_0x8d2021(0x232)](_0x40505b);for(const _0x448572 of _0x390cf0){const _0x4fcb39=new M[(_0x8d2021(0x154))](_0x40505b[_0x448572]||{}),_0x25dfdf=new Map();_0x4fcb39[_0x8d2021(0x18b)]((_0x178900,_0x487493,_0x184944)=>{const _0x54e987=_0x8d2021;if(_0x184944==null)return!0x0;const {x:_0x84779a=0x0,y:_0x263ab9=0x0,si:_0x440c3a}=_0x184944;if(!(_0x84779a===0x0&&_0x263ab9===0x0&&_0x440c3a!=null))return!0x0;const _0x38b4e2=this[_0x54e987(0x175)](_0x5a31ad,_0x448572,_0x178900,_0x487493,_0x1d2149,_0x184944),_0x5bce5a=this[_0x54e987(0x216)]['getFormulaDependency'](_0x5a31ad,_0x448572,_0x178900,_0x487493);_0x5bce5a!=null?_0x38b4e2['treeId']=_0x5bce5a:(this[_0x54e987(0x216)][_0x54e987(0x1e7)](_0x5a31ad,_0x448572,_0x178900,_0x487493,_0x38b4e2),this[_0x54e987(0x216)][_0x54e987(0x157)](_0x38b4e2)),_0x25dfdf[_0x54e987(0x238)](_0x440c3a,_0x38b4e2),_0x1a4700[_0x54e987(0x1b4)](_0x38b4e2),this[_0x54e987(0x1e3)][_0x54e987(0x238)](_0x38b4e2[_0x54e987(0x1f8)],_0x38b4e2);}),_0x4fcb39[_0x8d2021(0x18b)]((_0x574a21,_0x1fb202,_0x1beb25)=>{const _0x4b1ade=_0x8d2021;if(_0x1beb25==null)return!0x0;const {x:_0x5a4ea9=0x0,y:_0x24a018=0x0,si:_0x10de44}=_0x1beb25;if(_0x5a4ea9===0x0&&_0x24a018===0x0&&_0x10de44!=null)return!0x0;let _0x3eaae7;if(_0x10de44&&_0x25dfdf['has'](_0x10de44)){const _0x3b1093=_0x25dfdf[_0x4b1ade(0x20d)](_0x10de44);_0x3eaae7=this['_createVirtualFDtree'](_0x3b1093,_0x1beb25);}else _0x3eaae7=this['_createFDtree'](_0x5a31ad,_0x448572,_0x574a21,_0x1fb202,_0x1d2149,_0x1beb25);const _0x217242=this[_0x4b1ade(0x216)]['getFormulaDependency'](_0x5a31ad,_0x448572,_0x574a21,_0x1fb202);_0x217242!=null?_0x3eaae7['treeId']=_0x217242:(this['_dependencyManagerService'][_0x4b1ade(0x1e7)](_0x5a31ad,_0x448572,_0x574a21,_0x1fb202,_0x3eaae7),this[_0x4b1ade(0x216)][_0x4b1ade(0x157)](_0x3eaae7)),_0x1a4700['push'](_0x3eaae7),this[_0x4b1ade(0x1e3)]['set'](_0x3eaae7[_0x4b1ade(0x1f8)],_0x3eaae7);}),_0x25dfdf[_0x8d2021(0x19c)]();}}}['_createFDtree'](_0x3b0445,_0x597079,_0x3687dc,_0x56981c,_0x336f86,_0x209aa2){const _0x10b98d=_0x1a3a97,{f:_0x8654a5,x:_0x1cfe68=0x0,y:_0x326d12=0x0}=_0x209aa2,_0x1d86a3=new s['FormulaDependencyTree'](s['generateRandomDependencyTreeId'](this[_0x10b98d(0x216)])),_0x135b1b=_0x336f86[_0x3b0445][_0x597079];return _0x1d86a3[_0x10b98d(0x170)]=_0x8654a5,_0x1d86a3[_0x10b98d(0x246)]=_0x3b0445,_0x1d86a3['subUnitId']=_0x597079,_0x1d86a3[_0x10b98d(0x199)]=_0x3687dc,_0x1d86a3[_0x10b98d(0x23b)]=_0x56981c,_0x1d86a3[_0x10b98d(0x1e9)]=_0x135b1b['rowCount'],_0x1d86a3[_0x10b98d(0x1bb)]=_0x135b1b[_0x10b98d(0x1bb)],_0x1d86a3;}[_0x1a3a97(0x1c2)](){const _0x46bee3=_0x1a3a97,_0xf5ea9a=[],_0x2508d0=new Set(),_0x7e54bd=this[_0x46bee3(0x239)][_0x46bee3(0x224)](),_0x540ad7=this[_0x46bee3(0x239)][_0x46bee3(0x16b)](),_0x5615fc=this['_dependencyManagerService'][_0x46bee3(0x23e)](_0x540ad7),_0x53ca3b=this[_0x46bee3(0x196)][_0x46bee3(0x187)](_0x540ad7);for(const _0x55d4f8 of _0x53ca3b)_0x5615fc[_0x46bee3(0x23a)](_0x55d4f8);for(const [_0x51b717,_0x29dcf8]of this[_0x46bee3(0x1e3)])(_0x7e54bd||_0x29dcf8['isDirty']||_0x29dcf8[_0x46bee3(0x15d)](this[_0x46bee3(0x239)]['getDirtyNameMap']())||_0x5615fc[_0x46bee3(0x1c1)](_0x51b717)&&!_0x29dcf8[_0x46bee3(0x1aa)](this['_currentConfigService'][_0x46bee3(0x20a)]()))&&!_0x2508d0[_0x46bee3(0x1c1)](_0x51b717)&&(_0xf5ea9a[_0x46bee3(0x1b4)](_0x29dcf8),_0x2508d0[_0x46bee3(0x23a)](_0x51b717));for(const [_0x2c845b,_0x1c67ca]of this[_0x46bee3(0x1e3)])_0x1c67ca[_0x46bee3(0x16c)]||(_0x1c67ca[_0x46bee3(0x16e)][_0x46bee3(0x22d)]=0x0);return _0xf5ea9a;}[_0x1a3a97(0x20c)](_0x429cf6){const _0x2478a5=_0x1a3a97;return this[_0x2478a5(0x1e3)][_0x2478a5(0x20d)](_0x429cf6);}[_0x1a3a97(0x186)](_0x5946bd){const _0x36aec6=_0x1a3a97;return s[_0x36aec6(0x161)](_0x5946bd[_0x36aec6(0x246)],_0x5946bd[_0x36aec6(0x170)],this[_0x36aec6(0x1a1)],this['_astTreeBuilder'],this[_0x36aec6(0x239)]);}*['_traverse'](_0x1fa4be,_0x4f320a){const _0xc027ca=_0x1a3a97,_0x2c9663=_0x1fa4be,_0xb0e5ca=new Set();for(;_0x2c9663['length']>0x0;){const _0x5c7d37=_0x2c9663[_0xc027ca(0x22f)]();if(_0xb0e5ca[_0xc027ca(0x19c)](),_0x5c7d37===void 0x0||_0x5c7d37[_0xc027ca(0x1b0)]())continue;if(_0x5c7d37[_0xc027ca(0x237)]()){yield _0x5c7d37,_0x5c7d37['setSkip'](),_0x4f320a[_0xc027ca(0x23a)](_0x5c7d37['treeId']);continue;}const _0x508bf7=this['_dependencyManagerService']['searchDependency'](_0x5c7d37['toRTreeItem'](),_0x4f320a),_0x2fa0b5=this[_0xc027ca(0x196)][_0xc027ca(0x187)](_0x5c7d37['toRTreeItem'](),_0x4f320a);for(const _0x495295 of _0x2fa0b5)_0x508bf7[_0xc027ca(0x23a)](_0x495295);for(const _0x38fba2 of _0x508bf7){const _0x57190c=this['_dependencyTreeCache'][_0xc027ca(0x20d)](_0x38fba2);if(!_0x57190c)throw new Error(_0xc027ca(0x24d));_0x57190c[_0xc027ca(0x237)]()||_0x5c7d37[_0xc027ca(0x1b0)]()||_0xb0e5ca[_0xc027ca(0x23a)](_0x57190c);}if(_0x508bf7[_0xc027ca(0x19c)](),_0xb0e5ca[_0xc027ca(0x168)]===0x0)yield _0x5c7d37,_0x5c7d37[_0xc027ca(0x1d4)](),_0x4f320a['add'](_0x5c7d37['treeId']);else{_0x5c7d37[_0xc027ca(0x151)](),_0x2c9663[_0xc027ca(0x1b4)](_0x5c7d37);for(const _0x37a7b7 of _0xb0e5ca)_0x2c9663[_0xc027ca(0x1b4)](_0x37a7b7);}}_0x2c9663[_0xc027ca(0x22d)]=0x0,_0xb0e5ca[_0xc027ca(0x19c)]();}[_0x1a3a97(0x1ed)](_0x51239b){const _0x435c1e=_0x1a3a97,_0x12bcfb=[],_0x1e70af=new Set();for(const _0x5003c5 of this[_0x435c1e(0x18e)](_0x51239b,_0x1e70af))_0x12bcfb[_0x435c1e(0x1b4)](_0x5003c5);return _0x12bcfb;}async['_getAllTreeList'](){const _0x382ab8=_0x1a3a97;return await this[_0x382ab8(0x241)](),Array[_0x382ab8(0x174)](this['_dependencyTreeCache'][_0x382ab8(0x1a8)]());}[_0x1a3a97(0x19f)](_0x45b87e){const _0x40d335=_0x1a3a97;return this[_0x40d335(0x216)][_0x40d335(0x23e)](_0x45b87e[_0x40d335(0x177)]());}[_0x1a3a97(0x18c)](_0x25f5ae){const _0x19890d=_0x1a3a97,_0x5baefa=new Set(),_0x4f47cd=_0x25f5ae['rangeList'];for(const [_0x30c599,_0x1b1f6b]of this['_dependencyTreeCache'])for(const _0x5e12c0 of _0x4f47cd){const _0x30e3ec=_0x5e12c0[_0x19890d(0x246)],_0x1af737=_0x5e12c0[_0x19890d(0x22e)];if(_0x1b1f6b[_0x19890d(0x246)]!==_0x30e3ec||_0x1b1f6b[_0x19890d(0x1e0)]!==_0x1af737)continue;const _0xc789c3=_0x5e12c0[_0x19890d(0x14c)];if(_0x1b1f6b[_0x19890d(0x200)](_0xc789c3)){_0x5baefa['add'](_0x30c599);break;}}return _0x5baefa;}[_0x1a3a97(0x1ff)](){const _0x16363c=_0x1a3a97;this['_dependencyManagerService'][_0x16363c(0x1d2)]();}[_0x1a3a97(0x19e)](){const _0x23f1ea=_0x1a3a97;this[_0x23f1ea(0x169)][_0x23f1ea(0x19c)](),this['_dependencyTreeCache'][_0x23f1ea(0x19c)](),this['_dependencyManagerService']['closeKdTree']();}}class B extends s[_0x1a3a97(0x230)]{async['_apply'](_0x4c6e4d=!0x1){const _0x4c0c66=_0x1a3a97;_0x4c6e4d?this[_0x4c0c66(0x1dc)][_0x4c0c66(0x1fc)](s['FormulaExecuteStageType'][_0x4c0c66(0x1cf)]):this[_0x4c0c66(0x1dc)]['setFormulaExecuteStage'](s[_0x4c0c66(0x214)][_0x4c0c66(0x1f0)]),this['_executionInProgressListener$']['next'](this[_0x4c0c66(0x1dc)][_0x4c0c66(0x21b)]());const _0x1e5993=await this[_0x4c0c66(0x179)][_0x4c0c66(0x226)](this[_0x4c0c66(0x209)]),_0x4b1728=this[_0x4c0c66(0x227)];_0x4c6e4d?(this['_runtimeService'][_0x4c0c66(0x1fc)](s[_0x4c0c66(0x214)]['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x1e5993[_0x4c0c66(0x22d)])):(this[_0x4c0c66(0x1dc)]['setFormulaExecuteStage'](s[_0x4c0c66(0x214)][_0x4c0c66(0x1fe)]),this[_0x4c0c66(0x1dc)][_0x4c0c66(0x184)](_0x1e5993[_0x4c0c66(0x22d)])),this['_executionInProgressListener$'][_0x4c0c66(0x195)](this[_0x4c0c66(0x1dc)]['getRuntimeState']());let _0xbed204=[];const _0x24e547=this[_0x4c0c66(0x172)][_0x4c0c66(0x15e)](s[_0x4c0c66(0x1cd)]),_0x5d376f=(_0x24e547==null?void 0x0:_0x24e547['intervalCount'])||s[_0x4c0c66(0x24b)];let _0x1ec3ce=0x0;const _0x56d49f=_0x1e5993[_0x4c0c66(0x22d)];for(;_0x1e5993['length']>0x0;){const _0x42f2d9=_0x1e5993[_0x4c0c66(0x22f)](),_0x342dcd=s['generateAstNode'](_0x42f2d9['unitId'],_0x42f2d9[_0x4c0c66(0x170)],this['_lexer'],this[_0x4c0c66(0x206)],this[_0x4c0c66(0x239)]),_0x200da5={'node':_0x342dcd,'refOffsetX':_0x42f2d9[_0x4c0c66(0x1c9)],'refOffsetY':_0x42f2d9[_0x4c0c66(0x210)]},_0x517ae3=_0x42f2d9['getDirtyData'];if(_0x1ec3ce%_0x5d376f===0x0&&(await new Promise(_0x105057=>{const _0x1093c5=_0x4c0c66,_0x24de0c=M[_0x1093c5(0x1d0)](_0x105057);_0xbed204[_0x1093c5(0x1b4)](_0x24de0c);}),_0x4c6e4d?(this['_runtimeService'][_0x4c0c66(0x1fc)](s[_0x4c0c66(0x214)][_0x4c0c66(0x1ad)]),this[_0x4c0c66(0x1dc)]['setCompletedArrayFormulasCount'](_0x1ec3ce+0x1)):(this[_0x4c0c66(0x1dc)][_0x4c0c66(0x1fc)](s[_0x4c0c66(0x214)]['CURRENTLY_CALCULATING']),this[_0x4c0c66(0x1dc)][_0x4c0c66(0x20e)](_0x1ec3ce+0x1)),this[_0x4c0c66(0x1f9)][_0x4c0c66(0x195)](this['_runtimeService'][_0x4c0c66(0x21b)]()),this[_0x4c0c66(0x1dc)]['isStopExecution']()||_0x200da5==null&&_0x517ae3==null)){this[_0x4c0c66(0x1dc)][_0x4c0c66(0x1fc)](s[_0x4c0c66(0x214)][_0x4c0c66(0x234)]),this[_0x4c0c66(0x1dc)][_0x4c0c66(0x14a)](),this[_0x4c0c66(0x211)][_0x4c0c66(0x195)](this[_0x4c0c66(0x1dc)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4c0c66(0x22b)](_0x42f2d9[_0x4c0c66(0x199)],_0x42f2d9[_0x4c0c66(0x23b)],_0x42f2d9['rowCount'],_0x42f2d9[_0x4c0c66(0x1bb)],_0x42f2d9['subUnitId'],_0x42f2d9[_0x4c0c66(0x246)]);let _0x35bdbf;if(_0x517ae3!=null&&_0x42f2d9['featureId']!=null){const {runtimeCellData:_0x106cf2,dirtyRanges:_0x4b8143}=_0x517ae3(this[_0x4c0c66(0x239)][_0x4c0c66(0x1bf)](),this['_runtimeService'][_0x4c0c66(0x189)]());this[_0x4c0c66(0x1dc)]['setRuntimeFeatureCellData'](_0x42f2d9[_0x4c0c66(0x249)],_0x106cf2),this['_runtimeService'][_0x4c0c66(0x1bd)](_0x42f2d9[_0x4c0c66(0x249)],_0x4b8143);}else _0x200da5!=null&&(_0x4b1728['checkAsyncNode'](_0x200da5['node'])?_0x35bdbf=await _0x4b1728[_0x4c0c66(0x208)](_0x200da5):_0x35bdbf=_0x4b1728['execute'](_0x200da5),_0x42f2d9[_0x4c0c66(0x1d1)]!=null?this[_0x4c0c66(0x1dc)][_0x4c0c66(0x1ce)](_0x42f2d9[_0x4c0c66(0x1d1)],_0x42f2d9[_0x4c0c66(0x1c9)],_0x42f2d9['refOffsetY'],_0x35bdbf):this[_0x4c0c66(0x1dc)][_0x4c0c66(0x205)](_0x35bdbf));_0x342dcd[_0x4c0c66(0x164)](),_0x1ec3ce++;}return _0xbed204[_0x4c0c66(0x167)](_0x1796b6=>_0x1796b6()),_0xbed204=[],_0x56d49f>0x0?this[_0x4c0c66(0x1dc)][_0x4c0c66(0x1a7)]():_0x4c6e4d||this[_0x4c0c66(0x1dc)][_0x4c0c66(0x171)](),this[_0x4c0c66(0x1dc)][_0x4c0c66(0x189)]();}}class Y extends s[_0x1a3a97(0x1f4)]{constructor(){const _0x210c40=_0x1a3a97;super(...arguments),C(this,_0x210c40(0x180),new Map()),C(this,_0x210c40(0x223),new M[(_0x210c40(0x15f))](!0x0));}[_0x1a3a97(0x1cb)](){const _0x51c3ac=_0x1a3a97;this[_0x51c3ac(0x14f)][_0x51c3ac(0x19c)](),this[_0x51c3ac(0x1a2)][_0x51c3ac(0x19c)](),this[_0x51c3ac(0x17c)][_0x51c3ac(0x19c)](),this[_0x51c3ac(0x223)][_0x51c3ac(0x19c)](),this[_0x51c3ac(0x180)][_0x51c3ac(0x19c)](),this[_0x51c3ac(0x193)](),this[_0x51c3ac(0x178)][_0x51c3ac(0x19c)]();}[_0x1a3a97(0x1f3)](_0x99f61c,_0x4a8731,_0x4df043,_0x7fdf9e){const _0x3722a8=_0x1a3a97;this[_0x3722a8(0x14f)][_0x3722a8(0x1c1)](_0x99f61c)||this[_0x3722a8(0x14f)][_0x3722a8(0x238)](_0x99f61c,new Map());const _0x50a01d=this['_otherFormulaData']['get'](_0x99f61c);_0x50a01d['has'](_0x4a8731)||_0x50a01d[_0x3722a8(0x238)](_0x4a8731,new Map());const _0x2a71a7=_0x50a01d[_0x3722a8(0x20d)](_0x4a8731);_0x2a71a7[_0x3722a8(0x1c1)](_0x4df043)||_0x2a71a7['set'](_0x4df043,new M[(_0x3722a8(0x154))]()),_0x2a71a7[_0x3722a8(0x20d)](_0x4df043)[_0x3722a8(0x213)](_0x7fdf9e['refOffsetX'],_0x7fdf9e['refOffsetY'],_0x7fdf9e[_0x3722a8(0x1f8)]);}[_0x1a3a97(0x17b)](_0x507a79,_0x109a46,_0x59393e){const _0x2586c4=_0x1a3a97,_0x412abe=this[_0x2586c4(0x14f)]['get'](_0x507a79);if(_0x412abe&&_0x412abe['has'](_0x109a46)){const _0x37c54d=_0x412abe[_0x2586c4(0x20d)](_0x109a46);_0x59393e['forEach'](_0x41ca0a=>{const _0x422dd7=_0x2586c4,_0x2bfb94=_0x37c54d[_0x422dd7(0x20d)](_0x41ca0a);_0x2bfb94!=null&&(_0x2bfb94[_0x422dd7(0x18b)]((_0x4bb616,_0x42a262,_0x15e4fa)=>{const _0xab4558=_0x422dd7;this[_0xab4558(0x1de)](_0x15e4fa),this['_removeAllTreeMap'](_0x15e4fa);}),_0x37c54d[_0x422dd7(0x181)](_0x41ca0a),this[_0x422dd7(0x178)][_0x422dd7(0x181)](_0x41ca0a));}),_0x37c54d[_0x2586c4(0x168)]===0x0&&_0x412abe['delete'](_0x109a46),_0x412abe['size']===0x0&&this[_0x2586c4(0x14f)][_0x2586c4(0x181)](_0x507a79);}}['clearOtherFormulaDependency'](_0x4fcd48,_0x183e7a){const _0x2cbe69=_0x1a3a97,_0x524589=this['_otherFormulaData'][_0x2cbe69(0x20d)](_0x4fcd48);if(_0x183e7a&&_0x524589&&_0x524589[_0x2cbe69(0x1c1)](_0x183e7a)){const _0x567d9c=_0x524589[_0x2cbe69(0x20d)](_0x183e7a);this[_0x2cbe69(0x1f2)](_0x4fcd48,_0x183e7a);for(const _0x506584 of _0x567d9c[_0x2cbe69(0x232)]()){const _0x399de3=_0x567d9c[_0x2cbe69(0x20d)](_0x506584);_0x399de3!=null&&(_0x399de3[_0x2cbe69(0x18b)]((_0x250792,_0xc1be5f,_0x59b25e)=>{const _0x5b04df=_0x2cbe69;this[_0x5b04df(0x180)][_0x5b04df(0x20d)](_0x59b25e)&&this[_0x5b04df(0x1e8)](_0x59b25e);}),this[_0x2cbe69(0x178)][_0x2cbe69(0x181)](_0x506584));}_0x567d9c[_0x2cbe69(0x19c)]();}else{if(_0x524589){for(const _0x4e4d86 of _0x524589['keys']()){const _0x18e924=_0x524589[_0x2cbe69(0x20d)](_0x4e4d86);this['_removeDependencyRTreeCacheById'](_0x4fcd48,_0x4e4d86);for(const _0x4a6c07 of _0x18e924[_0x2cbe69(0x232)]()){const _0x1c3608=_0x18e924[_0x2cbe69(0x20d)](_0x4a6c07);_0x1c3608!=null&&(_0x1c3608['forValue']((_0x1b8e9c,_0x124fdb,_0x25e315)=>{const _0x40e179=_0x2cbe69;this[_0x40e179(0x180)][_0x40e179(0x20d)](_0x25e315)&&this['_removeAllTreeMap'](_0x25e315);}),this[_0x2cbe69(0x178)][_0x2cbe69(0x181)](_0x4a6c07));}}this[_0x2cbe69(0x14f)][_0x2cbe69(0x181)](_0x4fcd48);}}}[_0x1a3a97(0x18a)](_0x4308ff,_0x58cfde,_0xd7ace5,_0x483c24){const _0x21bea9=_0x1a3a97;this['_featureFormulaData'][_0x21bea9(0x1c1)](_0x4308ff)||this['_featureFormulaData'][_0x21bea9(0x238)](_0x4308ff,new Map());const _0x482170=this[_0x21bea9(0x1a2)][_0x21bea9(0x20d)](_0x4308ff);_0x482170[_0x21bea9(0x1c1)](_0x58cfde)||_0x482170[_0x21bea9(0x238)](_0x58cfde,new Map()),_0x482170[_0x21bea9(0x20d)](_0x58cfde)[_0x21bea9(0x238)](_0xd7ace5,_0x483c24[_0x21bea9(0x1f8)]);}[_0x1a3a97(0x21f)](_0x51fdcc,_0x310fd2,_0x1d62e1){const _0x38cff7=_0x1a3a97,_0x2d4212=this[_0x38cff7(0x1a2)]['get'](_0x51fdcc);if(_0x2d4212&&_0x2d4212['has'](_0x310fd2)){const _0x489e6c=_0x2d4212[_0x38cff7(0x20d)](_0x310fd2);_0x1d62e1[_0x38cff7(0x167)](_0x214adf=>{const _0x174413=_0x38cff7,_0x114620=_0x489e6c['get'](_0x214adf);_0x114620!=null&&(this[_0x174413(0x1de)](_0x114620),_0x489e6c['delete'](_0x214adf),this[_0x174413(0x1e8)](_0x114620));});}}[_0x1a3a97(0x1b2)](_0x2e7e56,_0x24f5b9){const _0x224330=_0x1a3a97,_0x1be3da=this[_0x224330(0x1a2)][_0x224330(0x20d)](_0x2e7e56);if(_0x24f5b9&&_0x1be3da&&_0x1be3da[_0x224330(0x1c1)](_0x24f5b9)){const _0x388fe3=_0x1be3da[_0x224330(0x20d)](_0x24f5b9);this[_0x224330(0x1f2)](_0x2e7e56,_0x24f5b9),_0x388fe3[_0x224330(0x167)](_0x520002=>{const _0x24ae8d=_0x224330;_0x520002!=null&&this[_0x24ae8d(0x1e8)](_0x520002);}),_0x388fe3[_0x224330(0x19c)]();}else _0x1be3da&&(_0x1be3da[_0x224330(0x167)]((_0x55da7e,_0xfa2b57)=>{const _0x15bb36=_0x224330;this['_removeDependencyRTreeCacheById'](_0x2e7e56,_0xfa2b57),_0x55da7e[_0x15bb36(0x167)](_0x1b93fd=>{const _0x8707df=_0x15bb36;_0x1b93fd!=null&&this[_0x8707df(0x1e8)](_0x1b93fd);});}),this[_0x224330(0x1a2)]['delete'](_0x2e7e56));}[_0x1a3a97(0x1e7)](_0x50932e,_0x47ed35,_0x57d0c7,_0x23df31,_0x22500b){const _0x319d8d=_0x1a3a97;this[_0x319d8d(0x17c)][_0x319d8d(0x1c1)](_0x50932e)||this[_0x319d8d(0x17c)]['set'](_0x50932e,new Map());const _0x29ae6a=this['_formulaData']['get'](_0x50932e);_0x29ae6a['has'](_0x47ed35)||_0x29ae6a[_0x319d8d(0x238)](_0x47ed35,new M[(_0x319d8d(0x154))]()),_0x29ae6a[_0x319d8d(0x20d)](_0x47ed35)[_0x319d8d(0x213)](_0x57d0c7,_0x23df31,_0x22500b[_0x319d8d(0x1f8)]);}['removeFormulaDependency'](_0x1bfc07,_0x183653,_0x657050,_0x3df8af){const _0x23ef85=_0x1a3a97,_0x32a928=this['_formulaData'][_0x23ef85(0x20d)](_0x1bfc07);if(_0x32a928&&_0x32a928['has'](_0x183653)){const _0x2e1ac3=_0x32a928['get'](_0x183653),_0x419284=_0x2e1ac3['getValue'](_0x657050,_0x3df8af);if(_0x419284==null)return;this['_removeDependencyRTreeCache'](_0x419284),_0x2e1ac3[_0x23ef85(0x24a)](_0x657050,_0x3df8af),this['_removeAllTreeMap'](_0x419284);}}['clearFormulaDependency'](_0x3a71e9,_0x43833e){const _0x3328dd=_0x1a3a97,_0x3b384a=this[_0x3328dd(0x17c)][_0x3328dd(0x20d)](_0x3a71e9);if(_0x43833e&&_0x3b384a&&_0x3b384a[_0x3328dd(0x1c1)](_0x43833e)){const _0x1bc9b7=_0x3b384a[_0x3328dd(0x20d)](_0x43833e);this['_removeDependencyRTreeCacheById'](_0x3a71e9,_0x43833e),_0x1bc9b7[_0x3328dd(0x18b)]((_0x13f5a3,_0x3f513b,_0x20bc6e)=>{const _0x3bf382=_0x3328dd;if(_0x20bc6e==null)return!0x0;this[_0x3bf382(0x1e8)](_0x20bc6e);}),_0x1bc9b7[_0x3328dd(0x1cb)]();}else _0x3b384a&&(_0x3b384a[_0x3328dd(0x167)]((_0x5c974c,_0xf7629a)=>{const _0x24d619=_0x3328dd;this[_0x24d619(0x1f2)](_0x3a71e9,_0xf7629a),_0x5c974c['forValue']((_0x4f0d96,_0x5351e6,_0x5bb199)=>{const _0x38fd36=_0x24d619;if(_0x5bb199==null)return!0x0;this[_0x38fd36(0x1e8)](_0x5bb199);});}),this[_0x3328dd(0x17c)][_0x3328dd(0x181)](_0x3a71e9));}[_0x1a3a97(0x1de)](_0x48689e){const _0x150826=_0x1a3a97;if(_0x48689e==null)return;const _0x75bf61=this[_0x150826(0x180)][_0x150826(0x20d)](_0x48689e);if(_0x75bf61){const _0x5691ad=[];for(const [_0x17fe0d,_0x424d8d]of _0x75bf61)for(const [_0x36ac8a,_0x469e3d]of _0x424d8d)_0x5691ad[_0x150826(0x1b4)]({'unitId':_0x17fe0d,'sheetId':_0x36ac8a,'range':_0x469e3d,'id':_0x48689e});this[_0x150826(0x223)][_0x150826(0x1d8)](_0x5691ad);}}[_0x1a3a97(0x1d5)](_0x117deb,_0x2d0d6f){const _0x5b602e=_0x1a3a97,_0x169adf=this[_0x5b602e(0x22a)][_0x5b602e(0x20d)](_0x117deb);if(_0x169adf){const _0x556c6=_0x169adf[_0x5b602e(0x20d)](_0x2d0d6f);if(_0x556c6){for(const _0x17525d of _0x556c6)this['_removeDependencyRTreeCache'](_0x17525d),this[_0x5b602e(0x1e8)](_0x17525d);_0x556c6[_0x5b602e(0x19c)]();}}}[_0x1a3a97(0x1d2)](){const _0x33ebe3=_0x1a3a97;this[_0x33ebe3(0x223)]['openKdTree']();}['closeKdTree'](){const _0x22d108=_0x1a3a97;this[_0x22d108(0x223)][_0x22d108(0x19b)]();}[_0x1a3a97(0x1e8)](_0x23ca2f){const _0x4d9825=_0x1a3a97;_0x23ca2f!=null&&this[_0x4d9825(0x180)]['delete'](_0x23ca2f);}[_0x1a3a97(0x1ca)](_0x1275cb){const _0xbd69a=_0x1a3a97;var _0x1f722e,_0xd33110;const _0x2b5b9d=_0x1275cb[_0xbd69a(0x16e)];let _0x510be3=this[_0xbd69a(0x180)][_0xbd69a(0x20d)](_0x1275cb[_0xbd69a(0x1f8)]);for(let _0x46fc73=0x0;_0x46fc73<_0x2b5b9d[_0xbd69a(0x22d)];_0x46fc73++){const _0x98bf9b=_0x2b5b9d[_0x46fc73];let {unitId:_0x5643ed,sheetId:_0x52c652,range:_0x5edf38}=_0x98bf9b;_0x510be3||(_0x510be3=new Map(),this[_0xbd69a(0x180)][_0xbd69a(0x238)](_0x1275cb[_0xbd69a(0x1f8)],_0x510be3)),_0x510be3[_0xbd69a(0x1c1)](_0x5643ed)||_0x510be3[_0xbd69a(0x238)](_0x5643ed,new Map());const _0x306261=(_0x1f722e=_0x510be3==null?void 0x0:_0x510be3[_0xbd69a(0x20d)](_0x5643ed))==null?void 0x0:_0x1f722e[_0xbd69a(0x20d)](_0x52c652);_0x306261&&(_0x5edf38={'startRow':Math[_0xbd69a(0x1e2)](_0x5edf38['startRow'],_0x306261[_0xbd69a(0x1b6)]),'startColumn':Math[_0xbd69a(0x1e2)](_0x5edf38[_0xbd69a(0x218)],_0x306261[_0xbd69a(0x218)]),'endRow':Math[_0xbd69a(0x162)](_0x5edf38[_0xbd69a(0x247)],_0x306261['endRow']),'endColumn':Math[_0xbd69a(0x162)](_0x5edf38[_0xbd69a(0x160)],_0x306261['endColumn'])}),(_0xd33110=_0x510be3[_0xbd69a(0x20d)](_0x5643ed))==null||_0xd33110[_0xbd69a(0x238)](_0x52c652,_0x5edf38);}}}function _0x5790(_0x2c7ca8,_0x4f8a84){_0x2c7ca8=_0x2c7ca8-0x14a;const _0x13a025=_0x13a0();let _0x579032=_0x13a025[_0x2c7ca8];return _0x579032;}var K=Object[_0x1a3a97(0x1c5)],V=(_0x305b4b,_0x373273,_0x366672,_0x5576dc)=>{for(var _0x45c4f0=_0x5576dc>0x1?void 0x0:_0x5576dc?K(_0x373273,_0x366672):_0x373273,_0xc607d1=_0x305b4b['length']-0x1,_0x193e36;_0xc607d1>=0x0;_0xc607d1--)(_0x193e36=_0x305b4b[_0xc607d1])&&(_0x45c4f0=_0x193e36(_0x45c4f0)||_0x45c4f0);return _0x45c4f0;};const H=Number[_0x1a3a97(0x16a)](0x69400444);exports[_0x1a3a97(0x23d)]=class extends s[_0x1a3a97(0x203)]{[_0x1a3a97(0x152)](){const _0x35a14b=_0x1a3a97;var _0x578424,_0xa0fea8;this[_0x35a14b(0x176)]()?(this[_0x35a14b(0x17d)][_0x35a14b(0x23a)]([s[_0x35a14b(0x1b5)],{'useClass':w}]),(_0x578424=this['_config'])!=null&&_0x578424[_0x35a14b(0x1e5)]||[[s[_0x35a14b(0x22c)],{'useClass':B}],[s[_0x35a14b(0x1da)],{'useClass':Y}],[s['IFormulaDependencyGenerator'],{'useClass':W}]][_0x35a14b(0x167)](_0x300475=>this['_injector'][_0x35a14b(0x23a)](_0x300475))):(this['_injector'][_0x35a14b(0x23a)]([s['LexerTreeBuilder'],{'useClass':s['LexerTreeBuilder']}]),(_0xa0fea8=this[_0x35a14b(0x229)])!=null&&_0xa0fea8['notExecuteFormula']||[[s[_0x35a14b(0x22c)],{'useClass':s[_0x35a14b(0x230)]}],[s['IDependencyManagerService'],{'useClass':s[_0x35a14b(0x18f)]}],[s[_0x35a14b(0x1fb)],{'useClass':s[_0x35a14b(0x185)]}]][_0x35a14b(0x167)](_0x575ee5=>this[_0x35a14b(0x17d)][_0x35a14b(0x23a)](_0x575ee5)));}[_0x1a3a97(0x176)](){const _0x405368=_0x1a3a97;var _0x580392;const _0x290adb=(_0x580392=this['_configService'][_0x405368(0x15e)](x[_0x405368(0x14b)]))!=null?_0x580392:{},{ls:_0x418657,pbk:_0x5baf9f}=_0x290adb;if(!_0x418657||!_0x5baf9f)return!0x1;const _0x4fcdee=x[_0x405368(0x197)](Q,q),_0xf7304f=new Function(_0x405368(0x156)+_0x4fcdee)()(_0x418657,_0x5baf9f),_0x14adac=_0xf7304f[_0x405368(0x222)];return _0xf7304f[_0x405368(0x198)]&&x[_0x405368(0x153)](_0x14adac,'sf',H)?x[_0x405368(0x220)](_0x14adac,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=V([M[_0x1a3a97(0x1ef)](x[_0x1a3a97(0x1a5)])],exports[_0x1a3a97(0x23d)]),exports[_0x1a3a97(0x1f1)]=w,Object[_0x1a3a97(0x232)](s)[_0x1a3a97(0x167)](_0x29626e=>{const _0x1ea01d=_0x1a3a97;_0x29626e!==_0x1ea01d(0x24c)&&!Object[_0x1ea01d(0x243)][_0x1ea01d(0x1f5)][_0x1ea01d(0x17f)](exports,_0x29626e)&&Object[_0x1ea01d(0x202)](exports,_0x29626e,{'enumerable':!0x0,'get':()=>s[_0x29626e]});});
|
|
1
|
+
'use strict';const _0x40eb59=_0xf4fc;(function(_0x4d86d0,_0x276018){const _0x4596bd=_0xf4fc,_0x22a790=_0x4d86d0();while(!![]){try{const _0x2140ce=parseInt(_0x4596bd(0x181))/0x1+parseInt(_0x4596bd(0x1ae))/0x2+-parseInt(_0x4596bd(0x197))/0x3+parseInt(_0x4596bd(0x186))/0x4*(parseInt(_0x4596bd(0xda))/0x5)+parseInt(_0x4596bd(0x10b))/0x6*(parseInt(_0x4596bd(0x10a))/0x7)+parseInt(_0x4596bd(0x114))/0x8+-parseInt(_0x4596bd(0x120))/0x9;if(_0x2140ce===_0x276018)break;else _0x22a790['push'](_0x22a790['shift']());}catch(_0x5b2e26){_0x22a790['push'](_0x22a790['shift']());}}}(_0x2417,0xd24db));var b=Object['defineProperty'],W=(_0x4c2120,_0x3e6977,_0x5304ec)=>_0x3e6977 in _0x4c2120?b(_0x4c2120,_0x3e6977,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5304ec}):_0x4c2120[_0x3e6977]=_0x5304ec,D=(_0x5c90c7,_0x54f59c,_0x283362)=>W(_0x5c90c7,typeof _0x54f59c!=_0x40eb59(0x1bf)?_0x54f59c+'':_0x54f59c,_0x283362);function _0x2417(){const _0x521478=['removeOtherFormulaDependency','addFormulaDependency','push','isCache','isSkip','notExecuteFormula','setTotalArrayFormulasToCalculate','Module','isFeatureAuthorizedWithinTime','enableCycleDependency','realDeleteValue','getFormulaDependency','getRuntimeState','startsWith','set','getUnitData','getSheetFeatureLimit','toUpperCase','clear','OTHER_FORMULA','setRuntimeData','unitId','Lambda\x20parameter\x20name\x20\x22','LexerTreeProBuilder','_registerOtherFormulas','value','FormulaDependencyTreeType','treeBuilder','_endFormulaDependencyTreeModel','_checkIsCycleDependency','prefixToken','from','_injector','IFormulaDependencyGenerator','refOffsetX','values','setTotalFormulasToCalculate','featureId','return\x20','ObjectMatrix','ParentDependencyTree\x20object\x20is\x20null','next','_startFormulaDependencyTreeModel','isArray','FormulaDependencyTree','RTree','max','string','featureDirtyRanges','setFormulaExecuteStage','DEFAULT_TOKEN_LET_FUNCTION_NAME','_currentConfigService','checkAsyncNode','getChildren','FormulaDependencyGenerator','isReferenceString','edkhlATk\x20RJhwtnlATk(PAhJkIJ,\x20ndXPAhyJt)\x20{\x20\x20\x20\x20lwt\x20{\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20PAhJkIJEkeT1owlNwwot\x20=\x20PAhJkIJ.InPAl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20TwAWAkYJIIoWJ\x20=\x20zFc5.nowIJ(olTX(PAhJkIJEkeT1owlNwwot[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!TwAWAkYJIIoWJ.dR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TwAWAkYJIIoWJ.dR\x20=\x205dZXJw(PAhJkIJEkeT1owlNwwot[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AIsTwvJw\x20=\x20ltnJTe\x20sTwvJwSPTXoPFhTnJ\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20IJPe\x20AkIlokhJTe\x20sTwvJwSPTXoPFhTnJ;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AI2wTxIJw\x20=\x20ltnJTe\x20xAkRTx\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20ltnJTe\x20xAkRTx.PTholATk\x20!==\x20\x27dkRJeAkJR\x27;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20hTklJul\x20=\x20AIsTwvJw\x20?\x20IJPe\x20:\x20(AI2wTxIJw\x20?\x20xAkRTx\x20:\x20WPTXoP4GAI);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[9]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(ZJIIoWJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[q]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(IAWkoldwJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkVoPAR\x20=\x20hTklJul.__HJwAet__(IAWkoldwJ,\x20ZJIIoWJ,\x20ndXPAhyJt);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20RTZoAk\x20=\x20TwAWAkYJIIoWJ.RZ;\x20\x20\x20\x20\x20\x20\x20\x20edkhlATk\x20AILTZoAkYolhGAkW(T1ollJwk,\x20TDTIl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk\x20=\x20T1ollJwk.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl\x20=\x20TDTIl.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk1owlI\x20=\x20nollJwk.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl1owlI\x20=\x20GTIl.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!nollJwk.AkhPdRJI(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwk\x20===\x20GTIl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(nollJwk1owlI.PJkWlG\x20<\x209\x20||\x20nollJwk1owlI[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwkFdeeAu\x20=\x20nollJwk1owlI.IPAhJ(0).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIlFdeeAu\x20=\x20GTIl1owlI.IPAhJ(-nollJwk1owlI.PJkWlG\x20+\x200).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwkFdeeAu\x20===\x20GTIlFdeeAu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PJl\x20RTZoAkVoPAR\x20=\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(AI2wTxIJw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20(RTZoAk\x20&&\x20RTZoAk.PJkWlG)\x20?\x20RTZoAk.ITZJ((RZElJZ)\x20=>\x20AILTZoAkYolhGAkW(RZElJZ,\x20PTholATk.GTIlkoZJ))\x20:\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(PTholATk.GTIlkoZJ\x20===\x20\x27PThoPGTIl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JPIJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20HoPAR\x20=\x20IAWkVoPAR\x20&&\x20RTZoAkVoPAR;\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20TwAWAkYJIIoWJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20holhG\x20(JwwTw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR:\x20eoPIJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyManagerService','closeKdTree','_generateNewFunctionString','endRow','_xlfnPrefix','setRuntimeFeatureCellData','generateAstNode','get','IDependencyManagerService','_resetPrefix','SUFFIX_TOKEN_SET','_getFeatureFormulaTree','resolve','unshiftString','START_CALCULATION','getToken','DependentOn','startColumn','_configService','_formulaData','_xlpmPrefix','column','_definedNameMap','_restDependencyTreeId','_removeDependencyRTreeCache','_clearPrefix','_apply','1145113WtLgmY','_getDependencyTreeChildrenIds','CalculateFormulaService','DEFAULT_INTERVAL_COUNT','addFormulaDependencyByDefinedName','1228XTpWSm','_featureFormulaData','startIndex','keys','START_CALCULATION_ARRAY_FORMULA','_getTreeById','openKdTree','_lambdaFunctionParameterSet','DEFAULT_TOKEN_TYPE_PARAMETER','PLUS','execute','ICalculateFormulaService','getFeatureFormulaDependency','getStartIndex','type','isStopExecution','parseInt','4061430lJLUHj','_checkAddBracketForMinus','_formulaDependencyTreeModel','getDirtyData','isDirty','splitTableStructuredRef','_getAllTreeList','isAdded','size','slice','FEATURE_FORMULA','IDLE','defineProperty','LexerTreeBuilder','COLON','length','_getFirstCellOfRange','_addAllTreeMap','setSkip','endColumn','forEach','CURRENTLY_CALCULATING_ARRAY_FORMULA','isVirtual','1737194uDclmG','resetCalculationState','_getTableNameFromStructuredRef','_xlpm.','forValue','START_DEPENDENCY','addOtherFormulaDependency','MINUS','isForceCalculate','searchDependency','getOtherFormulaDependency','_handleNewFunctionChild','setValue','subUnitId','rowCount','getValue','_clearFunctionString','symbol','FormulaExecuteStageType','START_DEPENDENCY_ARRAY_FORMULA','FormulaDependencyTreeVirtual','matchToken','markedAsSuccessfullyExecuted','_updateRangeFlatten','_lexer','getNewFormulaWithPrefix','default','setCompletedArrayFormulasCount','formulaId','error','delete','_otherFormulaData','_dependencyTreeCache','_currentUnitId','toRTreeItem','getFormulaData','setRuntimeFeatureRange','join','Let\x20variable\x20name\x20\x22','_createVirtualFDtree','getDirtyRanges','19465GVALiB','_getTreeNode','_otherFormulaDataMainData','_xlfn.','_traverse','setRuntimeOtherData','intervalCount','_handleTextNodeForExprTree','LexerNode','_executionInProgressListener$','_handleChildrenForExprTree','_removeDependencyRTreeCacheById','_initializeWithOverride','dependencySheetName','removeFormulaDependency','generateRandomDependencyTreeId','_initializeGenerateTreeList','trim','valid','_getDependencyTreeParenIds','_runtimeService','prototype','_isCyclicUtilMap','clearOtherFormulaDependency','VALUE','_config','UniverProFormulaEnginePlugin','_executionCompleteListener$','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','message','getAllRuntimeData','columnCount','_createFDtree','markedAsNoFunctionsExecuted','setDependencyTreeModelData','setCompletedFormulasCount','getFormulaExprTree','_dependencyRTreeCache','formula','_isCalculateTreeModel','_dependencyRTreeCacheForAddressFunction','_hasNewExcelFunction','_allTreeMap','node','DependencyManagerService','LS_CONFIG_KEY','rangeList','\x22\x20is\x20duplicated.','413441oFhySz','54MitKAo','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getUpdateTreeListAndMakeDependency','clearFeatureFormulaDependency','dispose','pop','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','reset','DEFAULT_TOKEN_TYPE_ROOT','12709688uHUVNQ','clearFormulaDependency','setAdded','has','children','treeId','_generateExprTree','refOffsetY','_astTreeBuilder','_initLicenseValid','_getCurNodeTypeForExprTree','_handleLambdaForExprTree','28025334zRiAKj','hasOwnProperty','DependencyManagerBaseService','ErrorType','_removeAllTreeMap','getClearDependencyTreeCache','range','markedAsStopFunctionsExecuted','add','endsWith','hasOtherFormulaDataMainData','row','startRow'];_0x2417=function(){return _0x521478;};return _0x2417();}Object[_0x40eb59(0x1a3)](exports,Symbol['toStringTag'],{'value':_0x40eb59(0x134)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),R=require('@univerjs/core');class M extends a[_0x40eb59(0x1a4)]{constructor(){const _0x4e04b7=_0x40eb59;super(...arguments),D(this,_0x4e04b7(0x103),!0x1),D(this,_0x4e04b7(0x18d),new Set()),D(this,'_xlpmPrefix',_0x4e04b7(0x1b1)),D(this,'_xlfnPrefix',_0x4e04b7(0xdd)),D(this,_0x4e04b7(0xd2),'');}[_0x40eb59(0x16f)](){const _0x4889f5=_0x40eb59;this[_0x4889f5(0x17a)]=_0x4889f5(0x1b1),this['_xlfnPrefix']='_xlfn.';}[_0x40eb59(0x17f)](){const _0x21103d=_0x40eb59;this[_0x21103d(0x17a)]='',this[_0x21103d(0x16a)]='';}[_0x40eb59(0xca)](_0x5876e8,_0x8e4c89){const _0x477e0a=_0x40eb59,_0x47bd51=this['treeBuilder'](_0x5876e8,!0x1);if(!_0x47bd51||_0x47bd51===a[_0x477e0a(0x123)][_0x477e0a(0xf2)]||Array[_0x477e0a(0x158)](_0x47bd51))return null;const _0x188439=[];return this[_0x477e0a(0x103)]=!0x1,this['_generateNewFunctionString'](_0x47bd51,_0x188439,_0x8e4c89),this[_0x477e0a(0x103)]?'='+_0x188439[_0x477e0a(0xd6)](''):null;}[_0x40eb59(0x168)](_0x4d7524,_0x27cba9,_0x4c4d5a){const _0x5d42b1=_0x40eb59,_0x17c3cd=_0x4d7524[_0x5d42b1(0x175)](),_0x5b00bc=_0x17c3cd[_0x5d42b1(0xeb)](),_0x505da5=_0x5b00bc[_0x5d42b1(0x13e)](),_0x6356ac=this[_0x5d42b1(0x1be)](_0x505da5),_0x2c992f=_0x4c4d5a(_0x6356ac);let _0xc9a62e=0x0;_0x17c3cd===a['DEFAULT_TOKEN_TYPE_ROOT']?_0xc9a62e=0x3:_0x17c3cd===a[_0x5d42b1(0x18e)]?_0xc9a62e=0x4:_0x17c3cd===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0xc9a62e=0x5:a['NEW_EXCEL_FUNCTIONS'][_0x5d42b1(0x117)](_0x6356ac)?(_0x27cba9[_0x5d42b1(0x12f)](''+this['_xlfnPrefix']+_0x5b00bc),this['_hasNewExcelFunction']=!0x0):_0x505da5===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x16a)]+_0x5b00bc),this['_hasNewExcelFunction']=!0x0,_0xc9a62e=0x2):_0x505da5===a[_0x5d42b1(0x15f)]?(_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x16a)]+_0x5b00bc),this['_hasNewExcelFunction']=!0x0,_0xc9a62e=0x1):_0x505da5===a[_0x5d42b1(0x1c3)]['COLON']?_0xc9a62e=0x8:a[_0x5d42b1(0x170)][_0x5d42b1(0x117)](_0x505da5)?_0xc9a62e=0x7:_0x505da5===a[_0x5d42b1(0x14b)][_0x5d42b1(0x1b5)]?(this[_0x5d42b1(0x198)](_0x4d7524)&&(_0xc9a62e=0x9),_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd)):(_0x27cba9['push'](_0x17c3cd),_0xc9a62e=0xa),_0x2c992f?(_0xc9a62e!==0x2&&_0xc9a62e!==0x1&&(_0xc9a62e=0x6),_0x27cba9['push']('(')):_0xc9a62e===0x9&&_0x27cba9[_0x5d42b1(0x12f)]('(');const _0x52c94b=_0x4d7524[_0x5d42b1(0x162)](),_0x496666=_0x52c94b['length'];if(_0xc9a62e===0x2){const _0x13fcae=_0x52c94b[0x0];let _0x27f37e=0x0;_0x13fcae instanceof a[_0x5d42b1(0xe2)]&&_0x13fcae[_0x5d42b1(0x175)]()===a[_0x5d42b1(0x10c)]&&(_0x27f37e=0x1);for(let _0x1a18b1=_0x27f37e;_0x1a18b1<_0x496666-0x1;_0x1a18b1++){const _0x3e09c8=_0x52c94b[_0x1a18b1];if(_0x3e09c8 instanceof a[_0x5d42b1(0xe2)]){const _0x5edec2=_0x3e09c8[_0x5d42b1(0x162)]()[0x0];typeof _0x5edec2==_0x5d42b1(0x15c)&&(this[_0x5d42b1(0x18d)]['has'](_0x5edec2)&&console[_0x5d42b1(0xce)](_0x5d42b1(0x143)+_0x5edec2+_0x5d42b1(0x109)),this[_0x5d42b1(0x18d)][_0x5d42b1(0x128)](_0x5edec2),_0x27cba9['push'](''+this[_0x5d42b1(0x17a)]+_0x5edec2),this[_0x5d42b1(0x103)]=!0x0);}_0x27cba9['push'](',');}this['_handleNewFunctionChild'](_0x52c94b[_0x496666-0x1],_0x27cba9,_0x4c4d5a),_0x27f37e===0x1&&(_0x27cba9[_0x5d42b1(0x12f)](')'),_0x27cba9[_0x5d42b1(0x12f)]('('),this[_0x5d42b1(0x168)](_0x13fcae,_0x27cba9,_0x4c4d5a)),_0x27cba9['push'](')');return;}else{if(_0xc9a62e===0x1){for(let _0x2e32ce=0x0;_0x2e32ce<_0x496666-0x1;_0x2e32ce++){const _0x4f6067=_0x52c94b[_0x2e32ce];if(_0x4f6067 instanceof a[_0x5d42b1(0xe2)]&&_0x2e32ce%0x2===0x0){const _0x2a3982=_0x4f6067[_0x5d42b1(0x162)]()[0x0];if(typeof _0x2a3982==_0x5d42b1(0x15c)){this[_0x5d42b1(0x18d)]['has'](_0x2a3982)&&console[_0x5d42b1(0xce)](_0x5d42b1(0xd7)+_0x2a3982+_0x5d42b1(0x109)),this[_0x5d42b1(0x18d)][_0x5d42b1(0x128)](_0x2a3982),_0x27cba9[_0x5d42b1(0x12f)](''+this[_0x5d42b1(0x17a)]+_0x2a3982),this[_0x5d42b1(0x103)]=!0x0,_0x27cba9['push'](',');continue;}}if(this[_0x5d42b1(0x1b9)](_0x4f6067,_0x27cba9,_0x4c4d5a),_0x4f6067 instanceof a[_0x5d42b1(0xe2)]){const _0x1ad5da=_0x52c94b[_0x2e32ce+0x1];_0x1ad5da&&_0x1ad5da instanceof a[_0x5d42b1(0xe2)]&&_0x27cba9[_0x5d42b1(0x12f)](',');}}this[_0x5d42b1(0x1b9)](_0x52c94b[_0x496666-0x1],_0x27cba9,_0x4c4d5a),_0x27cba9[_0x5d42b1(0x12f)](')');return;}else{if(_0xc9a62e===0x8){const _0x35972b=_0x52c94b[0x0],_0x18939e=_0x52c94b[0x1];this[_0x5d42b1(0x1b9)](_0x35972b,_0x27cba9,_0x4c4d5a),_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd),this[_0x5d42b1(0x1b9)](_0x18939e,_0x27cba9,_0x4c4d5a);return;}}}for(let _0x3cc694=0x0;_0x3cc694<_0x496666;_0x3cc694++){const _0x5338e9=_0x52c94b[_0x3cc694];if(this[_0x5d42b1(0x1b9)](_0x5338e9,_0x27cba9,_0x4c4d5a),_0x5338e9 instanceof a[_0x5d42b1(0xe2)]){const _0x23143b=_0x52c94b[_0x3cc694+0x1];_0x23143b&&_0x23143b instanceof a[_0x5d42b1(0xe2)]&&_0x27cba9[_0x5d42b1(0x12f)](',');}}_0xc9a62e===0x7&&_0x27cba9[_0x5d42b1(0x12f)](_0x17c3cd),(_0x2c992f||_0xc9a62e===0x9)&&_0x27cba9['push'](')');}['_handleNewFunctionChild'](_0x9903b0,_0x5769d1,_0x3185f1){const _0x22ca4d=_0x40eb59;_0x9903b0 instanceof a[_0x22ca4d(0xe2)]?this[_0x22ca4d(0x168)](_0x9903b0,_0x5769d1,_0x3185f1):this[_0x22ca4d(0x18d)][_0x22ca4d(0x117)](_0x9903b0)?(_0x5769d1[_0x22ca4d(0x12f)](''+this[_0x22ca4d(0x17a)]+_0x9903b0),this[_0x22ca4d(0x103)]=!0x0):_0x5769d1['push'](_0x9903b0);}['_clearFunctionString'](_0x223649){const _0x341b30=_0x40eb59;let _0x551f1a=_0x223649[_0x341b30(0xeb)]();if(!_0x551f1a)return _0x551f1a;const _0x8e7c5a=_0x551f1a[0x0];if((_0x8e7c5a===a[_0x341b30(0x14b)]['AT']||_0x8e7c5a===a['prefixToken'][_0x341b30(0x1b5)]||_0x8e7c5a===a[_0x341b30(0x14b)][_0x341b30(0x18f)])&&(_0x551f1a=_0x551f1a[_0x341b30(0x1a0)](0x1)),!_0x551f1a)return _0x551f1a;const _0x1ad294=_0x551f1a[_0x551f1a[_0x341b30(0x1a6)]-0x1];return a[_0x341b30(0x170)][_0x341b30(0x117)](_0x1ad294)&&(_0x551f1a=_0x551f1a[_0x341b30(0x1a0)](0x0,-0x1)),_0x551f1a;}[_0x40eb59(0x198)](_0x2cb132){const _0x476a7e=_0x40eb59,_0x5cb933=_0x2cb132[_0x476a7e(0x162)]()[0x0];if(!_0x5cb933||!(_0x5cb933 instanceof a[_0x476a7e(0xe2)])||_0x2cb132[_0x476a7e(0x162)]()['length']>0x1)return!0x1;const _0x1d73e8=_0x5cb933['getChildren'](),_0x3bb2c2=_0x1d73e8[_0x476a7e(0x1a6)];if(_0x3bb2c2===0x1)return!0x1;for(let _0x1d746c=0x0;_0x1d746c<_0x3bb2c2;_0x1d746c++){const _0x2bd0f8=_0x1d73e8[_0x1d746c];if(!(_0x2bd0f8 instanceof a['LexerNode'])&&a['OPERATOR_TOKEN_SET'][_0x476a7e(0x117)](_0x2bd0f8))return!0x0;}return!0x1;}[_0x40eb59(0xfe)](_0x5501b7,_0x29b719,_0x47a73f,_0x322708,_0x5e23ff){const _0x39d9a8=_0x40eb59,_0x121cf9=this[_0x39d9a8(0x148)](_0x5501b7,!0x1);if(!_0x121cf9||_0x121cf9===a[_0x39d9a8(0x123)][_0x39d9a8(0xf2)]||Array['isArray'](_0x121cf9))return null;this[_0x39d9a8(0x17f)](),this[_0x39d9a8(0xd2)]=_0x29b719;const _0x1c32d=this[_0x39d9a8(0x11a)](_0x121cf9,_0x47a73f,_0x322708,_0x5e23ff);return this[_0x39d9a8(0xd2)]='',this['_resetPrefix'](),_0x1c32d;}[_0x40eb59(0x11a)](_0x22cb66,_0x204109,_0x170b44,_0xdf0917){const _0x292fc9=_0x40eb59,_0x51b875={'value':'','children':[],'startIndex':0x0};let _0x19e991=_0x22cb66;if(_0x19e991 instanceof a[_0x292fc9(0xe2)]&&(_0x19e991['getToken']()===a['DEFAULT_TOKEN_TYPE_ROOT']||_0x19e991[_0x292fc9(0x175)]()===a[_0x292fc9(0x18e)])&&_0x19e991[_0x292fc9(0x162)]()[_0x292fc9(0x1a6)]===0x1&&(_0x19e991=_0x19e991[_0x292fc9(0x162)]()[0x0]),!(_0x19e991 instanceof a['LexerNode']))return this[_0x292fc9(0xe1)](_0x19e991,_0x170b44,_0xdf0917);const _0xc60ee8=_0x19e991['getChildren'](),_0x5aa6ed=_0xc60ee8[_0x292fc9(0x1a6)],_0x20d086=[];this[_0x292fc9(0x168)](_0x19e991,_0x20d086,_0x204109),_0x51b875[_0x292fc9(0x146)]=_0x20d086[_0x292fc9(0xd6)](''),_0x51b875[_0x292fc9(0x188)]=_0x19e991[_0x292fc9(0x193)]();const _0x358d2a=this[_0x292fc9(0x11e)](_0x19e991);if(_0x358d2a===0x2){const _0x1d8faf=_0xc60ee8[0x0];if(_0x1d8faf instanceof a[_0x292fc9(0xe2)]){if(_0x1d8faf[_0x292fc9(0x175)]()[_0x292fc9(0xeb)]()!==a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x51b875;this[_0x292fc9(0x11f)](_0x1d8faf,_0x51b875,_0x204109,_0x170b44,_0xdf0917);}return _0x51b875;}else{if(_0x358d2a===0x1){for(let _0x3beec7=0x0;_0x3beec7<_0x5aa6ed-0x1;_0x3beec7++){const _0x560ff3=_0xc60ee8[_0x3beec7];if(_0x560ff3 instanceof a[_0x292fc9(0xe2)]&&_0x3beec7%0x2===0x1){const _0x58efa5=_0x560ff3[_0x292fc9(0x162)]();if(_0x58efa5[_0x292fc9(0x1a6)]===0x1&&!(_0x58efa5[0x0]instanceof a[_0x292fc9(0xe2)]))continue;const _0x2b6570=this['_generateExprTree'](_0x560ff3,_0x204109,_0x170b44,_0xdf0917);_0x2b6570&&_0x51b875['children']['push'](_0x2b6570);}}return _0x51b875;}else{if(_0x358d2a===0x8){const _0x177dcd=_0xc60ee8[0x0];if(_0x177dcd instanceof a[_0x292fc9(0xe2)]){const _0x53e73a=_0x177dcd[_0x292fc9(0x162)]()[0x0];_0x53e73a instanceof a[_0x292fc9(0xe2)]&&(_0x51b875[_0x292fc9(0x188)]=_0x53e73a[_0x292fc9(0x193)]());}}else{if(_0x358d2a===0x7){const _0x43f54a=_0xc60ee8[0x0];if(_0x43f54a instanceof a[_0x292fc9(0xe2)]){const _0x47d514=_0x43f54a[_0x292fc9(0x162)]()[0x0];_0x47d514 instanceof a['LexerNode']&&(_0x51b875[_0x292fc9(0x188)]=_0x47d514['getStartIndex']());}}}}}return this['_handleChildrenForExprTree'](_0xc60ee8,_0x358d2a,_0x51b875,_0x204109,_0x170b44,_0xdf0917),_0x51b875;}[_0x40eb59(0xe4)](_0x394a71,_0x1e3937,_0x2c031b,_0x249db2,_0x46eaea,_0x393eff){const _0x49989c=_0x40eb59;for(let _0xc0001a=0x0;_0xc0001a<_0x394a71['length'];_0xc0001a++){let _0x49eb09=_0x394a71[_0xc0001a];if(!(_0x49eb09 instanceof a[_0x49989c(0xe2)])){const _0xcbdad4=this['_handleTextNodeForExprTree'](_0x49eb09,_0x46eaea,_0x393eff);_0xcbdad4&&_0x2c031b[_0x49989c(0x118)]['push'](_0xcbdad4);continue;}const _0x562f3e=_0x49eb09[_0x49989c(0x162)]();if(_0x562f3e[_0x49989c(0x1a6)]===0x1&&!(_0x562f3e[0x0]instanceof a[_0x49989c(0xe2)])){const _0x12cc9f=_0x562f3e[0x0];if(!_0x46eaea(this[_0x49989c(0xd2)],_0x12cc9f)&&!this[_0x49989c(0x1b0)](_0x12cc9f,_0x393eff)&&!a[_0x49989c(0x164)](_0x12cc9f))continue;}if(_0x1e3937===0x8){const _0xb7fd28=_0x562f3e[0x0];if(_0xb7fd28 instanceof a['LexerNode']){const _0x32d5e7=_0xb7fd28[_0x49989c(0x175)]()['trim']();if(a[_0x49989c(0x164)](_0x32d5e7))continue;_0x49eb09=_0xb7fd28;}}const _0x1e0937=this[_0x49989c(0x11a)](_0x49eb09,_0x249db2,_0x46eaea,_0x393eff);_0x1e0937&&_0x2c031b['children'][_0x49989c(0x12f)](_0x1e0937);}}['_handleTextNodeForExprTree'](_0x8271bc,_0x450681,_0x28abff){const _0x36d3de=_0x40eb59,_0x71a32=_0x8271bc[_0x36d3de(0xeb)]();return _0x71a32[_0x36d3de(0x13a)]('{')&&_0x71a32[_0x36d3de(0x129)]('}')||_0x450681(this['_currentUnitId'],_0x71a32)||this['_getTableNameFromStructuredRef'](_0x71a32,_0x28abff)||a[_0x36d3de(0x164)](_0x71a32)?{'value':_0x71a32,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x4ebfe3,_0x1daac4){const _0x343f41=_0x40eb59,{tableName:_0x20797a}=a[_0x343f41(0x19c)](_0x4ebfe3);return _0x1daac4(this['_currentUnitId'],_0x20797a)?_0x20797a:null;}[_0x40eb59(0x11f)](_0x36c638,_0x964383,_0x37b6cf,_0x33557e,_0x7db88d){const _0xe3b818=_0x40eb59,_0x228eff=_0x36c638[_0xe3b818(0x162)]();for(let _0x521afd=0x0;_0x521afd<_0x228eff[_0xe3b818(0x1a6)];_0x521afd++){const _0x346634=_0x228eff[_0x521afd];if(!(_0x346634 instanceof a[_0xe3b818(0xe2)]))continue;const _0x2d76f5=_0x346634[_0xe3b818(0x162)]();if(_0x2d76f5[_0xe3b818(0x1a6)]===0x1&&!(_0x2d76f5[0x0]instanceof a[_0xe3b818(0xe2)]))continue;const _0x3229eb=this['_generateExprTree'](_0x346634,_0x37b6cf,_0x33557e,_0x7db88d);_0x3229eb&&_0x964383[_0xe3b818(0x118)][_0xe3b818(0x12f)](_0x3229eb);}}[_0x40eb59(0x11e)](_0x376e6e){const _0x130d37=_0x40eb59,_0x51131c=_0x376e6e[_0x130d37(0x175)](),_0x1a35ce=_0x51131c[_0x130d37(0xeb)]()['toUpperCase']();let _0x40557b=0x0;return _0x51131c===a[_0x130d37(0x113)]?_0x40557b=0x3:_0x51131c===a[_0x130d37(0x18e)]?_0x40557b=0x4:_0x51131c===a[_0x130d37(0x10c)]?_0x40557b=0x5:_0x1a35ce===a[_0x130d37(0xf6)]?_0x40557b=0x2:_0x1a35ce===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x40557b=0x1:_0x1a35ce===a[_0x130d37(0x1c3)][_0x130d37(0x1a5)]?_0x40557b=0x8:a[_0x130d37(0x170)][_0x130d37(0x117)](_0x1a35ce)?_0x40557b=0x7:_0x1a35ce===a['prefixToken'][_0x130d37(0x1b5)]?this[_0x130d37(0x198)](_0x376e6e)&&(_0x40557b=0x9):_0x40557b=0xa,_0x40557b;}}const B={0x0:'1',0x1:'P',0x2:'B',0x3:'5',0x4:'T',0x5:'N',0x6:'7',0x7:'9',0x8:'R',0x9:'2','f':'0','q':'3','p':'4','g':'6','Q':'8','o':'a','X':'b','h':'c','R':'d','J':'e','e':'f','W':'g','G':'h','A':'i','a':'j','v':'k','P':'l','Z':'m','k':'n','T':'o','n':'p','j':'q','w':'r','I':'s','l':'t','d':'u','H':'v','x':'w','u':'x','t':'y','C':'z','N':'A','b':'C','L':'D','U':'E','M':'F','S':'G','D':'H','E':'I','z':'J','y':'K','B':'L','Y':'M','c':'O','i':'Q','F':'S','m':'U','V':'V','s':'W','r':'X','O':'Y','K':'Z'},G=_0x40eb59(0x165);class K extends a[_0x40eb59(0x163)]{constructor(){const _0x5d28df=_0x40eb59;super(...arguments),D(this,_0x5d28df(0xd1),new Map());}[_0x40eb59(0x10f)](){const _0x4c5a24=_0x40eb59;super['dispose'](),this[_0x4c5a24(0xd1)][_0x4c5a24(0x13f)]();}async['generate'](_0x213348=!0x1){const _0x281649=_0x40eb59;this[_0x281649(0x1c5)]();const _0x5ca4c9=this[_0x281649(0x160)][_0x281649(0xd4)](),_0x48bc86=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x31684e=this[_0x281649(0x160)][_0x281649(0x125)]();_0x31684e!=null&&Object[_0x281649(0x189)](_0x31684e)[_0x281649(0x1ab)](_0x482eea=>{const _0x1ef752=_0x281649;_0x482eea!=null&&Object[_0x1ef752(0x189)](_0x31684e[_0x482eea])[_0x1ef752(0x1ab)](_0x1f0d19=>{const _0x3acb43=_0x1ef752;_0x1f0d19!=null&&(this[_0x3acb43(0x166)][_0x3acb43(0xf1)](_0x482eea,_0x1f0d19),this[_0x3acb43(0x166)][_0x3acb43(0x10e)](_0x482eea,_0x1f0d19),this['_dependencyManagerService'][_0x3acb43(0x115)](_0x482eea,_0x1f0d19));});});const _0x3295b6=this[_0x281649(0x160)][_0x281649(0x13c)]();await this['_generateTreeList'](_0x5ca4c9,_0x48bc86,_0x3295b6),this[_0x281649(0x166)][_0x281649(0x18c)]();const _0x2f0b93=this[_0x281649(0x10d)](),_0x5ab187=this['_calculateRunList'](_0x2f0b93);return this[_0x281649(0x14a)](_0x5ab187)&&this['_runtimeService'][_0x281649(0x136)](),_0x213348&&this[_0x281649(0xee)][_0x281649(0xfc)](this['_getAllDependencyJson'](Array[_0x281649(0x14c)](this[_0x281649(0xd1)][_0x281649(0x150)]()))),this['_dependencyTreeCache'][_0x281649(0x13f)](),this[_0x281649(0x102)][_0x281649(0x13f)](),this[_0x281649(0x166)][_0x281649(0x167)](),this[_0x281649(0xee)]['clearArrayObjectCache'](),Promise[_0x281649(0x172)](_0x5ab187);}[_0x40eb59(0xf0)](_0x2efe72,_0x501096){const _0x3d4acb=_0x40eb59,_0x2bc9d4=[_0x2efe72];for(;_0x2bc9d4[_0x3d4acb(0x1a6)]>0x0;){const _0x53cb21=_0x2bc9d4[_0x2bc9d4[_0x3d4acb(0x1a6)]-0x1];if((_0x501096['get'](_0x53cb21)||0x0)===0x0){_0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x1);const _0x51ed4c=this[_0x3d4acb(0xd1)][_0x3d4acb(0x16d)](_0x53cb21);if(_0x51ed4c==null){_0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x2),_0x2bc9d4[_0x3d4acb(0x110)]();continue;}const _0x5b95ba=this[_0x3d4acb(0x166)][_0x3d4acb(0x1b7)](_0x51ed4c[_0x3d4acb(0xd3)]());for(const _0x5c5d39 of _0x5b95ba){const _0xf8ba02=_0x501096[_0x3d4acb(0x16d)](_0x5c5d39)||0x0;if(_0xf8ba02===0x1)return!0x0;_0xf8ba02===0x0&&_0x2bc9d4[_0x3d4acb(0x12f)](_0x5c5d39);}}else _0x501096[_0x3d4acb(0x13b)](_0x53cb21,0x2),_0x2bc9d4['pop']();}return!0x1;}[_0x40eb59(0x14a)](_0x35be16){const _0x2d25f4=_0x40eb59,_0x171e14=new Map();for(const _0x5109eb of _0x35be16)if(!_0x171e14[_0x2d25f4(0x117)](_0x5109eb[_0x2d25f4(0x119)])&&this[_0x2d25f4(0xf0)](_0x5109eb[_0x2d25f4(0x119)],_0x171e14))return!0x0;return _0x171e14['clear'](),!0x1;}[_0x40eb59(0x171)](_0x551a65,_0x520ce5,_0x2353f5){const _0x21c259=_0x40eb59,{unitId:_0x4cece7,subUnitId:_0x4f30b0,dependencyRanges:_0x2abe26,getDirtyData:_0x4b0032}=_0x2353f5,_0x29f72c=_0x520ce5||a['generateRandomDependencyTreeId'](this[_0x21c259(0x166)]),_0x728f79=new a[(_0x21c259(0x159))](_0x29f72c);_0x728f79[_0x21c259(0x142)]=_0x4cece7,_0x728f79[_0x21c259(0x1bb)]=_0x4f30b0,_0x728f79[_0x21c259(0x108)]=_0x2abe26,_0x728f79[_0x21c259(0x19a)]=_0x4b0032;const _0x5bf846=_0x4b0032(this['_currentConfigService']['getDirtyData'](),this[_0x21c259(0xee)]['getAllRuntimeData']()),_0x4dc6ed=this['_convertDirtyRangesToUnitRange'](_0x5bf846['dirtyRanges']);return _0x728f79[_0x21c259(0x15d)]=_0x4dc6ed,_0x728f79['featureId']=_0x551a65,_0x728f79[_0x21c259(0x194)]=a[_0x21c259(0x147)][_0x21c259(0x1a1)],this[_0x21c259(0x166)]['addFeatureFormulaDependency'](_0x4cece7,_0x4f30b0,_0x551a65,_0x728f79),this['_dependencyTreeCache'][_0x21c259(0x13b)](_0x728f79['treeId'],_0x728f79),this[_0x21c259(0x166)][_0x21c259(0x192)](_0x2353f5[_0x21c259(0x142)],_0x2353f5[_0x21c259(0x1bb)],_0x551a65)&&(_0x728f79[_0x21c259(0x130)]=!0x0),_0x728f79;}[_0x40eb59(0x145)](_0x320629,_0x39456d,_0x4dc61d){const _0x851131=_0x40eb59;var _0x1cc246;for(const _0x5ae6da of _0x39456d){const _0x1c92f7=_0x320629[_0x5ae6da];if(_0x1c92f7==null)continue;const _0x27babe=Object['keys'](_0x1c92f7);for(const _0x3bf7f4 of _0x27babe){const _0x306466=_0x1c92f7[_0x3bf7f4];if(_0x306466==null)continue;const _0x433d5d=Object[_0x851131(0x189)](_0x306466);for(const _0x2fcd35 of _0x433d5d){const _0x30a7b5=this[_0x851131(0x166)][_0x851131(0x12a)](_0x2fcd35),_0x30d15e=_0x306466[_0x2fcd35],{f:_0x465032,ranges:_0x3b9a0d}=_0x30d15e;let _0x4b6e74=!0x1;_0x30a7b5&&(_0x4b6e74=!0x0);const {firstRow:_0x168dec,firstColumn:_0x3ac4c4}=this[_0x851131(0x1a7)](_0x3b9a0d),_0x49c0d6=this[_0x851131(0x166)][_0x851131(0x1b8)](_0x5ae6da,_0x3bf7f4,_0x2fcd35),_0x56993b=(_0x1cc246=_0x49c0d6==null?void 0x0:_0x49c0d6[_0x851131(0x1bd)](0x0,0x0))!=null?_0x1cc246:a[_0x851131(0xe9)](this[_0x851131(0x166)]),_0x3eaec9=new a[(_0x851131(0x159))](_0x56993b);for(let _0x49fd75=0x0;_0x49fd75<_0x3b9a0d[_0x851131(0x1a6)];_0x49fd75++){const _0x2300be=_0x3b9a0d[_0x49fd75],{startRow:_0x152df7,startColumn:_0x3339b4,endRow:_0x192950,endColumn:_0x2afae4}=_0x2300be;for(let _0x5ee035=_0x152df7;_0x5ee035<=_0x192950;_0x5ee035++)for(let _0x1f1a5c=_0x3339b4;_0x1f1a5c<=_0x2afae4;_0x1f1a5c++){const _0x3e3241=_0x1f1a5c-_0x3ac4c4,_0xe40cc7=_0x5ee035-_0x168dec;if(_0x3e3241===0x0&&_0xe40cc7===0x0){_0x3eaec9[_0x851131(0x100)]=_0x465032,_0x3eaec9[_0x851131(0x142)]=_0x5ae6da,_0x3eaec9[_0x851131(0x1bb)]=_0x3bf7f4,_0x3eaec9[_0x851131(0xcd)]=_0x2fcd35,_0x3eaec9[_0x851131(0x194)]=a[_0x851131(0x147)][_0x851131(0x140)],_0x3eaec9['isCache']=_0x4b6e74,_0x4dc61d['push'](_0x3eaec9),this[_0x851131(0xd1)][_0x851131(0x13b)](_0x3eaec9[_0x851131(0x119)],_0x3eaec9),this[_0x851131(0x166)][_0x851131(0x1b4)](_0x5ae6da,_0x3bf7f4,_0x2fcd35,_0x3eaec9),this[_0x851131(0x166)][_0x851131(0x185)](_0x3eaec9);continue;}const _0x237c8c=new a[(_0x851131(0x1c2))]();_0x237c8c['treeId']=(_0x49c0d6==null?void 0x0:_0x49c0d6[_0x851131(0x1bd)](_0x3e3241,_0xe40cc7))||a[_0x851131(0xe9)](this[_0x851131(0x166)]),_0x237c8c['refTree']=_0x3eaec9,_0x237c8c['refOffsetX']=_0x3e3241,_0x237c8c[_0x851131(0x11b)]=_0xe40cc7,_0x237c8c[_0x851131(0x130)]=_0x4b6e74,_0x237c8c[_0x851131(0x194)]=a['FormulaDependencyTreeType'][_0x851131(0x140)],this[_0x851131(0x166)]['addOtherFormulaDependency'](_0x5ae6da,_0x3bf7f4,_0x2fcd35,_0x237c8c),this[_0x851131(0x166)][_0x851131(0x185)](_0x237c8c),_0x4dc61d[_0x851131(0x12f)](_0x237c8c),this[_0x851131(0xd1)][_0x851131(0x13b)](_0x237c8c[_0x851131(0x119)],_0x237c8c);}}this['_dependencyManagerService']['addOtherFormulaDependencyMainData'](_0x2fcd35);}}}}['_registerFormulas'](_0x5e43d9,_0x422dbf,_0xdbad84,_0x4e690b){const _0x5057cb=_0x40eb59;for(const _0x223edd of _0x5e43d9){const _0x165769=_0x422dbf[_0x223edd];if(_0x165769==null)continue;const _0x2f5b9c=Object[_0x5057cb(0x189)](_0x165769);for(const _0x18a757 of _0x2f5b9c){const _0x43c071=new R[(_0x5057cb(0x154))](_0x165769[_0x18a757]||{}),_0x190932=new Map();_0x43c071['forValue']((_0x352979,_0x1fdd15,_0x4423a3)=>{const _0x1ddaf2=_0x5057cb;if(_0x4423a3==null)return!0x0;const {x:_0x3d13e8=0x0,y:_0x1cecd2=0x0,si:_0x3bd728}=_0x4423a3;if(!(_0x3d13e8===0x0&&_0x1cecd2===0x0&&_0x3bd728!=null))return!0x0;const _0x42fde0=this[_0x1ddaf2(0xfa)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15,_0xdbad84,_0x4423a3),_0x4513b8=this[_0x1ddaf2(0x166)][_0x1ddaf2(0x138)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15);_0x4513b8!=null?_0x42fde0['treeId']=_0x4513b8:(this[_0x1ddaf2(0x166)][_0x1ddaf2(0x12e)](_0x223edd,_0x18a757,_0x352979,_0x1fdd15,_0x42fde0),this[_0x1ddaf2(0x166)][_0x1ddaf2(0x185)](_0x42fde0)),_0x190932['set'](_0x3bd728,_0x42fde0),_0x4e690b[_0x1ddaf2(0x12f)](_0x42fde0),this[_0x1ddaf2(0xd1)]['set'](_0x42fde0[_0x1ddaf2(0x119)],_0x42fde0);}),_0x43c071['forValue']((_0x5dd14a,_0x4711ca,_0x1da515)=>{const _0x1228df=_0x5057cb;if(_0x1da515==null)return!0x0;const {x:_0x5ce082=0x0,y:_0x2fefee=0x0,si:_0x5e3a7b}=_0x1da515;if(_0x5ce082===0x0&&_0x2fefee===0x0&&_0x5e3a7b!=null)return!0x0;let _0x37d21f;if(_0x5e3a7b&&_0x190932[_0x1228df(0x117)](_0x5e3a7b)){const _0x3d8a7f=_0x190932[_0x1228df(0x16d)](_0x5e3a7b);_0x37d21f=this[_0x1228df(0xd8)](_0x3d8a7f,_0x1da515);}else _0x37d21f=this[_0x1228df(0xfa)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca,_0xdbad84,_0x1da515);const _0x25fd7e=this[_0x1228df(0x166)][_0x1228df(0x138)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca);_0x25fd7e!=null?_0x37d21f['treeId']=_0x25fd7e:(this['_dependencyManagerService'][_0x1228df(0x12e)](_0x223edd,_0x18a757,_0x5dd14a,_0x4711ca,_0x37d21f),this[_0x1228df(0x166)][_0x1228df(0x185)](_0x37d21f)),_0x4e690b[_0x1228df(0x12f)](_0x37d21f),this['_dependencyTreeCache'][_0x1228df(0x13b)](_0x37d21f[_0x1228df(0x119)],_0x37d21f);}),_0x190932[_0x5057cb(0x13f)]();}}}[_0x40eb59(0xfa)](_0x173f64,_0x4c31f1,_0x461bdf,_0x2e4530,_0x368fcc,_0x59a1f3){const _0x5928f8=_0x40eb59,{f:_0x3bc417,x:_0x256f1b=0x0,y:_0x3d9c6a=0x0}=_0x59a1f3,_0x222bb6=new a[(_0x5928f8(0x159))](a[_0x5928f8(0xe9)](this['_dependencyManagerService'])),_0x569734=_0x368fcc[_0x173f64][_0x4c31f1];return _0x222bb6['formula']=_0x3bc417,_0x222bb6[_0x5928f8(0x142)]=_0x173f64,_0x222bb6[_0x5928f8(0x1bb)]=_0x4c31f1,_0x222bb6[_0x5928f8(0x12b)]=_0x461bdf,_0x222bb6[_0x5928f8(0x17b)]=_0x2e4530,_0x222bb6[_0x5928f8(0x1bc)]=_0x569734[_0x5928f8(0x1bc)],_0x222bb6['columnCount']=_0x569734[_0x5928f8(0xf9)],_0x222bb6;}[_0x40eb59(0x10d)](){const _0x314453=_0x40eb59,_0x59411c=[],_0x127d4f=new Set(),_0x5be1a4=this['_currentConfigService'][_0x314453(0x1b6)](),_0x490271=this['_currentConfigService'][_0x314453(0xd9)](),_0x3986b7=this[_0x314453(0x166)][_0x314453(0x1b7)](_0x490271),_0x27e236=this[_0x314453(0x102)]['bulkSearch'](_0x490271);for(const _0x290fa3 of _0x27e236)_0x3986b7['add'](_0x290fa3);for(const [_0x24e650,_0x48b714]of this['_dependencyTreeCache'])(_0x5be1a4||_0x48b714[_0x314453(0x19b)]||_0x48b714[_0x314453(0xe7)](this[_0x314453(0x160)]['getDirtyNameMap']())||_0x3986b7[_0x314453(0x117)](_0x24e650)&&!_0x48b714['isExcludeRange'](this[_0x314453(0x160)]['getExcludedRange']()))&&!_0x127d4f[_0x314453(0x117)](_0x24e650)&&(_0x59411c[_0x314453(0x12f)](_0x48b714),_0x127d4f[_0x314453(0x128)](_0x24e650));for(const [_0x4733ad,_0x569955]of this[_0x314453(0xd1)])_0x569955[_0x314453(0x1ad)]||(_0x569955[_0x314453(0x108)][_0x314453(0x1a6)]=0x0);return _0x59411c;}[_0x40eb59(0x18b)](_0x295338){const _0x37739a=_0x40eb59;return this[_0x37739a(0xd1)][_0x37739a(0x16d)](_0x295338);}[_0x40eb59(0xdb)](_0x2b20ff){const _0xff9f85=_0x40eb59;return a[_0xff9f85(0x16c)](_0x2b20ff['unitId'],_0x2b20ff['formula'],this[_0xff9f85(0x1c6)],this[_0xff9f85(0x11c)],this[_0xff9f85(0x160)]);}*['_traverse'](_0x108f63,_0x565ab7){const _0x1ae42b=_0x40eb59,_0x5b65e1=_0x108f63,_0x5a621c=new Set();for(;_0x5b65e1['length']>0x0;){const _0x16dd2=_0x5b65e1[_0x1ae42b(0x110)]();if(_0x5a621c[_0x1ae42b(0x13f)](),_0x16dd2===void 0x0||_0x16dd2[_0x1ae42b(0x131)]())continue;if(_0x16dd2['isAdded']()){yield _0x16dd2,_0x16dd2[_0x1ae42b(0x1a9)](),_0x565ab7[_0x1ae42b(0x128)](_0x16dd2['treeId']);continue;}const _0x4439ee=this['_dependencyManagerService'][_0x1ae42b(0x1b7)](_0x16dd2[_0x1ae42b(0xd3)](),_0x565ab7),_0x187944=this[_0x1ae42b(0x102)]['bulkSearch'](_0x16dd2[_0x1ae42b(0xd3)](),_0x565ab7);for(const _0x150770 of _0x187944)_0x4439ee[_0x1ae42b(0x128)](_0x150770);for(const _0x3e60ad of _0x4439ee){const _0xc1769f=this['_dependencyTreeCache']['get'](_0x3e60ad);if(!_0xc1769f)throw new Error(_0x1ae42b(0x155));_0xc1769f[_0x1ae42b(0x19e)]()||_0x16dd2[_0x1ae42b(0x131)]()||_0x5a621c[_0x1ae42b(0x128)](_0xc1769f);}if(_0x4439ee[_0x1ae42b(0x13f)](),_0x5a621c[_0x1ae42b(0x19f)]===0x0)yield _0x16dd2,_0x16dd2[_0x1ae42b(0x1a9)](),_0x565ab7[_0x1ae42b(0x128)](_0x16dd2[_0x1ae42b(0x119)]);else{_0x16dd2[_0x1ae42b(0x116)](),_0x5b65e1[_0x1ae42b(0x12f)](_0x16dd2);for(const _0x27fb02 of _0x5a621c)_0x5b65e1['push'](_0x27fb02);}}_0x5b65e1[_0x1ae42b(0x1a6)]=0x0,_0x5a621c[_0x1ae42b(0x13f)]();}['_calculateRunList'](_0x3879c7){const _0x373984=_0x40eb59,_0x5debac=[],_0x1428ea=new Set();for(const _0x5930c6 of this[_0x373984(0xde)](_0x3879c7,_0x1428ea))_0x5debac[_0x373984(0x12f)](_0x5930c6);return _0x5debac;}async[_0x40eb59(0x19d)](){const _0x47cf8f=_0x40eb59;return await this[_0x47cf8f(0xea)](),Array['from'](this[_0x47cf8f(0xd1)][_0x47cf8f(0x150)]());}[_0x40eb59(0xed)](_0x57df22){const _0x5dbeaa=_0x40eb59;return this[_0x5dbeaa(0x166)][_0x5dbeaa(0x1b7)](_0x57df22[_0x5dbeaa(0xd3)]());}[_0x40eb59(0x182)](_0x1b09c4){const _0x1916d0=_0x40eb59,_0x4a4a0c=new Set(),_0x513740=_0x1b09c4[_0x1916d0(0x108)];for(const [_0x15a2af,_0x1ede16]of this['_dependencyTreeCache'])for(const _0x1aab05 of _0x513740){const _0x5afd04=_0x1aab05[_0x1916d0(0x142)],_0x3d3684=_0x1aab05['sheetId'];if(_0x1ede16['unitId']!==_0x5afd04||_0x1ede16['subUnitId']!==_0x3d3684)continue;const _0x40b975=_0x1aab05[_0x1916d0(0x126)];if(_0x1ede16['inRangeData'](_0x40b975)){_0x4a4a0c[_0x1916d0(0x128)](_0x15a2af);break;}}return _0x4a4a0c;}[_0x40eb59(0x157)](){const _0x418dbb=_0x40eb59;this[_0x418dbb(0x166)][_0x418dbb(0x18c)]();}[_0x40eb59(0x149)](){const _0x350faf=_0x40eb59;this[_0x350faf(0x199)]['clear'](),this[_0x350faf(0xd1)][_0x350faf(0x13f)](),this[_0x350faf(0x166)][_0x350faf(0x167)]();}}class Y extends a[_0x40eb59(0x183)]{async[_0x40eb59(0x180)](_0x1ae186=!0x1){const _0x495873=_0x40eb59;_0x1ae186?this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1c1)]):this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1b3)]),this[_0x495873(0xe3)][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]());const _0x3c056b=await this['_formulaDependencyGenerator']['generate'](this[_0x495873(0x101)]),_0x27784e=this['_interpreter'];_0x1ae186?(this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x18a)]),this[_0x495873(0xee)][_0x495873(0x133)](_0x3c056b[_0x495873(0x1a6)])):(this['_runtimeService'][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x174)]),this['_runtimeService'][_0x495873(0x151)](_0x3c056b[_0x495873(0x1a6)])),this[_0x495873(0xe3)][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]());let _0x37461b=[];const _0x1d5363=this[_0x495873(0x178)]['getConfig'](a[_0x495873(0x111)]),_0x7c1c39=(_0x1d5363==null?void 0x0:_0x1d5363[_0x495873(0xe0)])||a[_0x495873(0x184)];let _0x169ddf=0x0;const _0x316d23=_0x3c056b['length'];for(;_0x3c056b['length']>0x0;){const _0x350e45=_0x3c056b[_0x495873(0x110)](),_0x48b011=a['generateAstNode'](_0x350e45[_0x495873(0x142)],_0x350e45[_0x495873(0x100)],this[_0x495873(0x1c6)],this['_astTreeBuilder'],this[_0x495873(0x160)]),_0x4e82fc={'node':_0x48b011,'refOffsetX':_0x350e45['refOffsetX'],'refOffsetY':_0x350e45[_0x495873(0x11b)]},_0x5bd688=_0x350e45['getDirtyData'];if(_0x169ddf%_0x7c1c39===0x0&&(await new Promise(_0x5d2180=>{const _0x1e5865=R['requestImmediateMacroTask'](_0x5d2180);_0x37461b['push'](_0x1e5865);}),_0x1ae186?(this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1ac)]),this[_0x495873(0xee)][_0x495873(0xcc)](_0x169ddf+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](a[_0x495873(0x1c0)]['CURRENTLY_CALCULATING']),this[_0x495873(0xee)][_0x495873(0xfd)](_0x169ddf+0x1)),this['_executionInProgressListener$'][_0x495873(0x156)](this[_0x495873(0xee)][_0x495873(0x139)]()),this['_runtimeService'][_0x495873(0x195)]()||_0x4e82fc==null&&_0x5bd688==null)){this[_0x495873(0xee)][_0x495873(0x15e)](a[_0x495873(0x1c0)][_0x495873(0x1a2)]),this[_0x495873(0xee)][_0x495873(0x127)](),this[_0x495873(0xf5)][_0x495873(0x156)](this['_runtimeService'][_0x495873(0xf8)]());return;}this[_0x495873(0xee)]['setCurrent'](_0x350e45[_0x495873(0x12b)],_0x350e45['column'],_0x350e45['rowCount'],_0x350e45[_0x495873(0xf9)],_0x350e45['subUnitId'],_0x350e45[_0x495873(0x142)]);let _0xfb08a4;if(_0x5bd688!=null&&_0x350e45['featureId']!=null){const {runtimeCellData:_0x13f6f4,dirtyRanges:_0x4a29d2}=_0x5bd688(this['_currentConfigService'][_0x495873(0x19a)](),this[_0x495873(0xee)][_0x495873(0xf8)]());this[_0x495873(0xee)][_0x495873(0x16b)](_0x350e45[_0x495873(0x152)],_0x13f6f4),this[_0x495873(0xee)][_0x495873(0xd5)](_0x350e45['featureId'],_0x4a29d2);}else _0x4e82fc!=null&&(_0x27784e[_0x495873(0x161)](_0x4e82fc[_0x495873(0x105)])?_0xfb08a4=await _0x27784e['executeAsync'](_0x4e82fc):_0xfb08a4=_0x27784e[_0x495873(0x190)](_0x4e82fc),_0x350e45[_0x495873(0xcd)]!=null?this[_0x495873(0xee)][_0x495873(0xdf)](_0x350e45['formulaId'],_0x350e45[_0x495873(0x14f)],_0x350e45[_0x495873(0x11b)],_0xfb08a4):this[_0x495873(0xee)][_0x495873(0x141)](_0xfb08a4));_0x48b011[_0x495873(0x1af)](),_0x169ddf++;}return _0x37461b[_0x495873(0x1ab)](_0x4c97c5=>_0x4c97c5()),_0x37461b=[],_0x316d23>0x0?this[_0x495873(0xee)][_0x495873(0x1c4)]():_0x1ae186||this[_0x495873(0xee)][_0x495873(0xfb)](),this[_0x495873(0xee)]['getAllRuntimeData']();}}class V extends a[_0x40eb59(0x122)]{constructor(){const _0x315b9d=_0x40eb59;super(...arguments),D(this,_0x315b9d(0x104),new Map()),D(this,'_dependencyRTreeCache',new R[(_0x315b9d(0x15a))](!0x0));}[_0x40eb59(0x112)](){const _0x2e8555=_0x40eb59;this[_0x2e8555(0xd0)]['clear'](),this[_0x2e8555(0x187)]['clear'](),this['_formulaData']['clear'](),this[_0x2e8555(0xff)][_0x2e8555(0x13f)](),this['_allTreeMap']['clear'](),this[_0x2e8555(0x17d)](),this['_otherFormulaDataMainData'][_0x2e8555(0x13f)]();}[_0x40eb59(0x1b4)](_0x4b51bb,_0x56b735,_0x40d53a,_0x5184ba){const _0x242aa9=_0x40eb59;this['_otherFormulaData'][_0x242aa9(0x117)](_0x4b51bb)||this[_0x242aa9(0xd0)][_0x242aa9(0x13b)](_0x4b51bb,new Map());const _0xf01183=this['_otherFormulaData'][_0x242aa9(0x16d)](_0x4b51bb);_0xf01183[_0x242aa9(0x117)](_0x56b735)||_0xf01183[_0x242aa9(0x13b)](_0x56b735,new Map());const _0x5a53be=_0xf01183[_0x242aa9(0x16d)](_0x56b735);_0x5a53be[_0x242aa9(0x117)](_0x40d53a)||_0x5a53be[_0x242aa9(0x13b)](_0x40d53a,new R[(_0x242aa9(0x154))]()),_0x5a53be[_0x242aa9(0x16d)](_0x40d53a)[_0x242aa9(0x1ba)](_0x5184ba[_0x242aa9(0x14f)],_0x5184ba[_0x242aa9(0x11b)],_0x5184ba[_0x242aa9(0x119)]);}[_0x40eb59(0x12d)](_0x17e322,_0x10a3c7,_0x319d1b){const _0xae672d=_0x40eb59,_0x2cf2c4=this['_otherFormulaData'][_0xae672d(0x16d)](_0x17e322);if(_0x2cf2c4&&_0x2cf2c4[_0xae672d(0x117)](_0x10a3c7)){const _0x4f756e=_0x2cf2c4[_0xae672d(0x16d)](_0x10a3c7);_0x319d1b[_0xae672d(0x1ab)](_0x1e440f=>{const _0x20fac2=_0xae672d,_0x3800c6=_0x4f756e[_0x20fac2(0x16d)](_0x1e440f);_0x3800c6!=null&&(_0x3800c6[_0x20fac2(0x1b2)]((_0x3c358d,_0x113f16,_0x535e42)=>{const _0x31c264=_0x20fac2;this[_0x31c264(0x17e)](_0x535e42),this[_0x31c264(0x124)](_0x535e42);}),_0x4f756e[_0x20fac2(0xcf)](_0x1e440f),this['_otherFormulaDataMainData'][_0x20fac2(0xcf)](_0x1e440f));}),_0x4f756e[_0xae672d(0x19f)]===0x0&&_0x2cf2c4[_0xae672d(0xcf)](_0x10a3c7),_0x2cf2c4[_0xae672d(0x19f)]===0x0&&this[_0xae672d(0xd0)]['delete'](_0x17e322);}}['clearOtherFormulaDependency'](_0x5382d0,_0x11a110){const _0x4c22e0=_0x40eb59,_0x56b848=this['_otherFormulaData']['get'](_0x5382d0);if(_0x11a110&&_0x56b848&&_0x56b848[_0x4c22e0(0x117)](_0x11a110)){const _0x1014f2=_0x56b848[_0x4c22e0(0x16d)](_0x11a110);this[_0x4c22e0(0xe5)](_0x5382d0,_0x11a110);for(const _0x4a63c6 of _0x1014f2['keys']()){const _0x5285fd=_0x1014f2[_0x4c22e0(0x16d)](_0x4a63c6);_0x5285fd!=null&&(_0x5285fd[_0x4c22e0(0x1b2)]((_0x498940,_0x27e970,_0x8c1613)=>{const _0x30215f=_0x4c22e0;this[_0x30215f(0x104)][_0x30215f(0x16d)](_0x8c1613)&&this['_removeAllTreeMap'](_0x8c1613);}),this[_0x4c22e0(0xdc)]['delete'](_0x4a63c6));}_0x1014f2[_0x4c22e0(0x13f)]();}else{if(_0x56b848){for(const _0x40d05d of _0x56b848['keys']()){const _0x8de50a=_0x56b848[_0x4c22e0(0x16d)](_0x40d05d);this['_removeDependencyRTreeCacheById'](_0x5382d0,_0x40d05d);for(const _0x1d2213 of _0x8de50a[_0x4c22e0(0x189)]()){const _0xf6e685=_0x8de50a['get'](_0x1d2213);_0xf6e685!=null&&(_0xf6e685[_0x4c22e0(0x1b2)]((_0x280f71,_0x472bd0,_0x5e1b28)=>{const _0xf1f340=_0x4c22e0;this[_0xf1f340(0x104)]['get'](_0x5e1b28)&&this[_0xf1f340(0x124)](_0x5e1b28);}),this[_0x4c22e0(0xdc)][_0x4c22e0(0xcf)](_0x1d2213));}}this[_0x4c22e0(0xd0)][_0x4c22e0(0xcf)](_0x5382d0);}}}['addFeatureFormulaDependency'](_0x2b789f,_0x5e3bd7,_0x3b729a,_0x388a95){const _0x37c705=_0x40eb59;this[_0x37c705(0x187)][_0x37c705(0x117)](_0x2b789f)||this['_featureFormulaData'][_0x37c705(0x13b)](_0x2b789f,new Map());const _0x1f6197=this['_featureFormulaData']['get'](_0x2b789f);_0x1f6197[_0x37c705(0x117)](_0x5e3bd7)||_0x1f6197[_0x37c705(0x13b)](_0x5e3bd7,new Map()),_0x1f6197[_0x37c705(0x16d)](_0x5e3bd7)[_0x37c705(0x13b)](_0x3b729a,_0x388a95[_0x37c705(0x119)]);}['removeFeatureFormulaDependency'](_0x1fa5fa,_0x103978,_0x47c13c){const _0x33c340=_0x40eb59,_0x1c3361=this[_0x33c340(0x187)]['get'](_0x1fa5fa);if(_0x1c3361&&_0x1c3361[_0x33c340(0x117)](_0x103978)){const _0x4cb562=_0x1c3361[_0x33c340(0x16d)](_0x103978);_0x47c13c[_0x33c340(0x1ab)](_0x375ffe=>{const _0x441902=_0x33c340,_0x26996f=_0x4cb562[_0x441902(0x16d)](_0x375ffe);_0x26996f!=null&&(this['_removeDependencyRTreeCache'](_0x26996f),_0x4cb562[_0x441902(0xcf)](_0x375ffe),this[_0x441902(0x124)](_0x26996f));});}}['clearFeatureFormulaDependency'](_0x906e52,_0x2ce1fa){const _0x28b7db=_0x40eb59,_0x7bdcd5=this[_0x28b7db(0x187)]['get'](_0x906e52);if(_0x2ce1fa&&_0x7bdcd5&&_0x7bdcd5['has'](_0x2ce1fa)){const _0x41c562=_0x7bdcd5[_0x28b7db(0x16d)](_0x2ce1fa);this[_0x28b7db(0xe5)](_0x906e52,_0x2ce1fa),_0x41c562[_0x28b7db(0x1ab)](_0x3686df=>{_0x3686df!=null&&this['_removeAllTreeMap'](_0x3686df);}),_0x41c562['clear']();}else _0x7bdcd5&&(_0x7bdcd5[_0x28b7db(0x1ab)]((_0xa78beb,_0x3a4bef)=>{const _0x1b8a13=_0x28b7db;this['_removeDependencyRTreeCacheById'](_0x906e52,_0x3a4bef),_0xa78beb[_0x1b8a13(0x1ab)](_0x38edce=>{const _0x4f2a98=_0x1b8a13;_0x38edce!=null&&this[_0x4f2a98(0x124)](_0x38edce);});}),this[_0x28b7db(0x187)][_0x28b7db(0xcf)](_0x906e52));}[_0x40eb59(0x12e)](_0x1d3d6a,_0xd71b09,_0xe16ac4,_0x3a40e4,_0x2e6db9){const _0x3da59b=_0x40eb59;this['_formulaData']['has'](_0x1d3d6a)||this[_0x3da59b(0x179)][_0x3da59b(0x13b)](_0x1d3d6a,new Map());const _0x34616e=this[_0x3da59b(0x179)][_0x3da59b(0x16d)](_0x1d3d6a);_0x34616e['has'](_0xd71b09)||_0x34616e[_0x3da59b(0x13b)](_0xd71b09,new R[(_0x3da59b(0x154))]()),_0x34616e['get'](_0xd71b09)[_0x3da59b(0x1ba)](_0xe16ac4,_0x3a40e4,_0x2e6db9[_0x3da59b(0x119)]);}[_0x40eb59(0xe8)](_0x2175d1,_0x448566,_0x38b58a,_0x162496){const _0x39d6ab=_0x40eb59,_0x50163b=this[_0x39d6ab(0x179)][_0x39d6ab(0x16d)](_0x2175d1);if(_0x50163b&&_0x50163b['has'](_0x448566)){const _0x2d2429=_0x50163b[_0x39d6ab(0x16d)](_0x448566),_0x15ff11=_0x2d2429[_0x39d6ab(0x1bd)](_0x38b58a,_0x162496);if(_0x15ff11==null)return;this[_0x39d6ab(0x17e)](_0x15ff11),_0x2d2429[_0x39d6ab(0x137)](_0x38b58a,_0x162496),this[_0x39d6ab(0x124)](_0x15ff11);}}[_0x40eb59(0x115)](_0x599657,_0x5bbe5a){const _0x2e782a=_0x40eb59,_0x3621d1=this['_formulaData'][_0x2e782a(0x16d)](_0x599657);if(_0x5bbe5a&&_0x3621d1&&_0x3621d1[_0x2e782a(0x117)](_0x5bbe5a)){const _0x18f13a=_0x3621d1[_0x2e782a(0x16d)](_0x5bbe5a);this[_0x2e782a(0xe5)](_0x599657,_0x5bbe5a),_0x18f13a['forValue']((_0x443e45,_0x2f813d,_0x568bfa)=>{if(_0x568bfa==null)return!0x0;this['_removeAllTreeMap'](_0x568bfa);}),_0x18f13a['reset']();}else _0x3621d1&&(_0x3621d1[_0x2e782a(0x1ab)]((_0x4bc881,_0x240332)=>{this['_removeDependencyRTreeCacheById'](_0x599657,_0x240332),_0x4bc881['forValue']((_0x2209dc,_0x5703d9,_0x61aeee)=>{const _0x25d52c=_0xf4fc;if(_0x61aeee==null)return!0x0;this[_0x25d52c(0x124)](_0x61aeee);});}),this[_0x2e782a(0x179)][_0x2e782a(0xcf)](_0x599657));}[_0x40eb59(0x17e)](_0x2847d){const _0x48c65e=_0x40eb59;if(_0x2847d==null)return;const _0x20f356=this[_0x48c65e(0x104)][_0x48c65e(0x16d)](_0x2847d);if(_0x20f356){const _0x63c7d7=[];for(const [_0x202829,_0x7c9ae5]of _0x20f356)for(const [_0x46effc,_0x2e833e]of _0x7c9ae5)_0x63c7d7[_0x48c65e(0x12f)]({'unitId':_0x202829,'sheetId':_0x46effc,'range':_0x2e833e,'id':_0x2847d});this[_0x48c65e(0xff)]['bulkRemove'](_0x63c7d7);}}['removeFormulaDependencyByDefinedName'](_0x155a05,_0x277a10){const _0x527c99=_0x40eb59,_0x12fd5b=this[_0x527c99(0x17c)][_0x527c99(0x16d)](_0x155a05);if(_0x12fd5b){const _0x37505f=_0x12fd5b[_0x527c99(0x16d)](_0x277a10);if(_0x37505f){for(const _0x514371 of _0x37505f)this['_removeDependencyRTreeCache'](_0x514371),this[_0x527c99(0x124)](_0x514371);_0x37505f['clear']();}}}[_0x40eb59(0x18c)](){const _0x105dbf=_0x40eb59;this[_0x105dbf(0xff)][_0x105dbf(0x18c)]();}[_0x40eb59(0x167)](){const _0x3ba190=_0x40eb59;this['_dependencyRTreeCache'][_0x3ba190(0x167)]();}[_0x40eb59(0x124)](_0x44f340){const _0x55d3de=_0x40eb59;_0x44f340!=null&&this['_allTreeMap'][_0x55d3de(0xcf)](_0x44f340);}[_0x40eb59(0x1a8)](_0x368d7a){const _0x368bab=_0x40eb59;var _0x145a64,_0x440d0b;const _0x4f55d8=_0x368d7a[_0x368bab(0x108)];let _0x15dccd=this[_0x368bab(0x104)][_0x368bab(0x16d)](_0x368d7a[_0x368bab(0x119)]);for(let _0x250e30=0x0;_0x250e30<_0x4f55d8['length'];_0x250e30++){const _0x52ce0d=_0x4f55d8[_0x250e30];let {unitId:_0x523d93,sheetId:_0x5a9e7a,range:_0x21097a}=_0x52ce0d;_0x15dccd||(_0x15dccd=new Map(),this['_allTreeMap']['set'](_0x368d7a['treeId'],_0x15dccd)),_0x15dccd[_0x368bab(0x117)](_0x523d93)||_0x15dccd[_0x368bab(0x13b)](_0x523d93,new Map());const _0x59a8aa=(_0x145a64=_0x15dccd==null?void 0x0:_0x15dccd[_0x368bab(0x16d)](_0x523d93))==null?void 0x0:_0x145a64[_0x368bab(0x16d)](_0x5a9e7a);_0x59a8aa&&(_0x21097a={'startRow':Math['min'](_0x21097a[_0x368bab(0x12c)],_0x59a8aa[_0x368bab(0x12c)]),'startColumn':Math['min'](_0x21097a[_0x368bab(0x177)],_0x59a8aa['startColumn']),'endRow':Math[_0x368bab(0x15b)](_0x21097a[_0x368bab(0x169)],_0x59a8aa[_0x368bab(0x169)]),'endColumn':Math[_0x368bab(0x15b)](_0x21097a[_0x368bab(0x1aa)],_0x59a8aa[_0x368bab(0x1aa)])}),(_0x440d0b=_0x15dccd['get'](_0x523d93))==null||_0x440d0b['set'](_0x5a9e7a,_0x21097a);}}}function _0xf4fc(_0x2ed511,_0x524e21){_0x2ed511=_0x2ed511-0xca;const _0x24174d=_0x2417();let _0xf4fcdf=_0x24174d[_0x2ed511];return _0xf4fcdf;}var Z=Object['getOwnPropertyDescriptor'],j=(_0x373d69,_0x4a7215,_0xf0ecfb,_0x3512b9)=>{const _0x1ed1b2=_0x40eb59;for(var _0x274330=_0x3512b9>0x1?void 0x0:_0x3512b9?Z(_0x4a7215,_0xf0ecfb):_0x4a7215,_0x14feb5=_0x373d69[_0x1ed1b2(0x1a6)]-0x1,_0x3c68a8;_0x14feb5>=0x0;_0x14feb5--)(_0x3c68a8=_0x373d69[_0x14feb5])&&(_0x274330=_0x3c68a8(_0x274330)||_0x274330);return _0x274330;};const $=Number[_0x40eb59(0x196)](0x69439b90);exports[_0x40eb59(0xf4)]=class extends a['UniverFormulaEnginePlugin']{[_0x40eb59(0xe6)](){const _0x149b8e=_0x40eb59;var _0x32d78d,_0x3efbf9;this[_0x149b8e(0x11d)]()?(this[_0x149b8e(0x14d)]['add']([a['LexerTreeBuilder'],{'useClass':M}]),(_0x32d78d=this['_config'])!=null&&_0x32d78d['notExecuteFormula']||[[a['ICalculateFormulaService'],{'useClass':Y}],[a[_0x149b8e(0x16e)],{'useClass':V}],[a[_0x149b8e(0x14e)],{'useClass':K}]][_0x149b8e(0x1ab)](_0x1403b3=>this[_0x149b8e(0x14d)][_0x149b8e(0x128)](_0x1403b3))):(this[_0x149b8e(0x14d)][_0x149b8e(0x128)]([a[_0x149b8e(0x1a4)],{'useClass':a['LexerTreeBuilder']}]),(_0x3efbf9=this[_0x149b8e(0xf3)])!=null&&_0x3efbf9[_0x149b8e(0x132)]||[[a[_0x149b8e(0x191)],{'useClass':a[_0x149b8e(0x183)]}],[a[_0x149b8e(0x16e)],{'useClass':a[_0x149b8e(0x106)]}],[a[_0x149b8e(0x14e)],{'useClass':a['FormulaDependencyGenerator']}]]['forEach'](_0x342e98=>this[_0x149b8e(0x14d)]['add'](_0x342e98)));}[_0x40eb59(0x11d)](){const _0x38df05=_0x40eb59;var _0x156f78;const _0x35f05b=(_0x156f78=this[_0x38df05(0x178)]['getConfig'](E[_0x38df05(0x107)]))!=null?_0x156f78:{},{ls:_0x45ef2f,pbk:_0x184294}=_0x35f05b;if(!_0x45ef2f||!_0x184294)return!0x1;const _0x14671a=E[_0x38df05(0x173)](G,B),_0x4c0475=new Function(_0x38df05(0x153)+_0x14671a)()(_0x45ef2f,_0x184294),_0x32b7ed=_0x4c0475[_0x38df05(0xf7)];return _0x4c0475[_0x38df05(0xec)]&&E[_0x38df05(0x135)](_0x32b7ed,'sf',$)?E[_0x38df05(0x13d)](_0x32b7ed,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x40eb59(0xf4)]=j([R[_0x40eb59(0x176)](E['UniverLicensePlugin'])],exports[_0x40eb59(0xf4)]),exports[_0x40eb59(0x144)]=M,Object[_0x40eb59(0x189)](a)['forEach'](_0x4ccc1f=>{const _0x56a04f=_0x40eb59;_0x4ccc1f!==_0x56a04f(0xcb)&&!Object[_0x56a04f(0xef)][_0x56a04f(0x121)]['call'](exports,_0x4ccc1f)&&Object[_0x56a04f(0x1a3)](exports,_0x4ccc1f,{'enumerable':!0x0,'get':()=>a[_0x4ccc1f]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5145(_0x2fdea7,_0x5159d4){_0x2fdea7=_0x2fdea7-0x12b;var _0xdcd642=_0xdcd6();var _0x51453a=_0xdcd642[_0x2fdea7];return _0x51453a;}(function(_0xf593c7,_0x1050a3){var _0x247616=_0x5145,_0xf388aa=_0xf593c7();while(!![]){try{var _0x16037e=parseInt(_0x247616(0x12f))/0x1*(-parseInt(_0x247616(0x12e))/0x2)+-parseInt(_0x247616(0x131))/0x3+parseInt(_0x247616(0x132))/0x4+parseInt(_0x247616(0x134))/0x5+parseInt(_0x247616(0x12b))/0x6*(parseInt(_0x247616(0x130))/0x7)+parseInt(_0x247616(0x12d))/0x8*(parseInt(_0x247616(0x133))/0x9)+-parseInt(_0x247616(0x12c))/0xa;if(_0x16037e===_0x1050a3)break;else _0xf388aa['push'](_0xf388aa['shift']());}catch(_0x1b4522){_0xf388aa['push'](_0xf388aa['shift']());}}}(_0xdcd6,0x197bb));export*from'@univerjs/engine-formula/facade';function _0xdcd6(){var _0x1773ed=['3892xhKOTU','413hyShOy','457884FUlZox','748508FdobCm','171zCnHRz','404765BkxUaT','12954pVkeMC','2546890dDzFAx','55496aGxGGy','8DqmZAw'];_0xdcd6=function(){return _0x1773ed;};return _0xdcd6();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1761eb=_0x5283;(function(_0x55b6ed,_0x291e9e){const _0x32696=_0x5283,_0x295f04=_0x55b6ed();while(!![]){try{const _0xfb5b30=parseInt(_0x32696(0x20e))/0x1+-parseInt(_0x32696(0x225))/0x2*(parseInt(_0x32696(0x25d))/0x3)+-parseInt(_0x32696(0x1cc))/0x4*(parseInt(_0x32696(0x1f2))/0x5)+-parseInt(_0x32696(0x20f))/0x6+-parseInt(_0x32696(0x22b))/0x7+parseInt(_0x32696(0x1d4))/0x8*(parseInt(_0x32696(0x243))/0x9)+parseInt(_0x32696(0x276))/0xa;if(_0xfb5b30===_0x291e9e)break;else _0x295f04['push'](_0x295f04['shift']());}catch(_0x152577){_0x295f04['push'](_0x295f04['shift']());}}}(_0x312c,0x8b0c8));var se=Object[_0x1761eb(0x292)],ce=(_0x17b4b4,_0x16cc98,_0x535b42)=>_0x16cc98 in _0x17b4b4?se(_0x17b4b4,_0x16cc98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x535b42}):_0x17b4b4[_0x16cc98]=_0x535b42,C=(_0x506bb0,_0x334d94,_0x14d9d5)=>ce(_0x506bb0,typeof _0x334d94!=_0x1761eb(0x22a)?_0x334d94+'':_0x334d94,_0x14d9d5);import{LexerTreeBuilder as _0x2b23b1,ErrorType as _0x5bc8e2,DEFAULT_TOKEN_TYPE_ROOT as _0x136a6f,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3fd13a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x59420b,NEW_EXCEL_FUNCTIONS as _0x59eca9,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x1ff0d2,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5f5131,matchToken as _0x121cd6,SUFFIX_TOKEN_SET as _0x49020c,prefixToken as _0x1303d1,LexerNode as _0x13ca2a,OPERATOR_TOKEN_SET as _0x3d9cc2,isReferenceString as _0x388993,splitTableStructuredRef as _0x1d41af,FormulaDependencyGenerator as _0x4c3e32,generateRandomDependencyTreeId as _0x2438e7,FormulaDependencyTree as _0x3abffc,FormulaDependencyTreeType as _0x43f23d,FormulaDependencyTreeVirtual as _0x6d0725,generateAstNode as _0x59c1ee,CalculateFormulaService as _0xfcc63d,FormulaExecuteStageType as _0x263013,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x25f609,DEFAULT_INTERVAL_COUNT as _0x1b9940,DependencyManagerBaseService as _0x36f0fa,UniverFormulaEnginePlugin as _0x26ef11,ICalculateFormulaService as _0x9930af,IDependencyManagerService as _0x21c40d,IFormulaDependencyGenerator as _0xded5ed,DependencyManagerService as _0x2ce4a6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3387eb,LS_CONFIG_KEY as _0x382386,unshiftString as _0x2d1734,isFeatureAuthorizedWithinTime as _0x20ccb8,getSheetFeatureLimit as _0x277a49}from'@univerjs-pro/license';import{ObjectMatrix as _0x5c2490,requestImmediateMacroTask as _0x39aee8,RTree as _0x854f8d,DependentOn as _0x4bd28e}from'@univerjs/core';class ve extends _0x2b23b1{constructor(){const _0x512083=_0x1761eb;super(...arguments),C(this,_0x512083(0x240),!0x1),C(this,_0x512083(0x218),new Set()),C(this,_0x512083(0x271),'_xlpm.'),C(this,_0x512083(0x20c),_0x512083(0x1f8)),C(this,_0x512083(0x1d0),'');}[_0x1761eb(0x27a)](){const _0x48f567=_0x1761eb;this['_xlpmPrefix']=_0x48f567(0x239),this['_xlfnPrefix']='_xlfn.';}[_0x1761eb(0x24d)](){const _0xe38e0c=_0x1761eb;this['_xlpmPrefix']='',this[_0xe38e0c(0x20c)]='';}['getNewFormulaWithPrefix'](_0x230418,_0x19ce31){const _0x57b29e=_0x1761eb,_0x30ecba=this['treeBuilder'](_0x230418,!0x1);if(!_0x30ecba||_0x30ecba===_0x5bc8e2['VALUE']||Array[_0x57b29e(0x27f)](_0x30ecba))return null;const _0x297a01=[];return this['_hasNewExcelFunction']=!0x1,this[_0x57b29e(0x290)](_0x30ecba,_0x297a01,_0x19ce31),this[_0x57b29e(0x240)]?'='+_0x297a01[_0x57b29e(0x22d)](''):null;}[_0x1761eb(0x290)](_0x3cb519,_0x490ebd,_0x51218d){const _0x1cddbd=_0x1761eb,_0x5efddd=_0x3cb519[_0x1cddbd(0x22c)](),_0x2ebc9a=_0x5efddd[_0x1cddbd(0x254)](),_0x55b1d1=_0x2ebc9a[_0x1cddbd(0x1f9)](),_0x215794=this[_0x1cddbd(0x1c6)](_0x55b1d1),_0x43bc7b=_0x51218d(_0x215794);let _0x2cba75=0x0;_0x5efddd===_0x136a6f?_0x2cba75=0x3:_0x5efddd===_0x3fd13a?_0x2cba75=0x4:_0x5efddd===_0x59420b?_0x2cba75=0x5:_0x59eca9['has'](_0x215794)?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this[_0x1cddbd(0x240)]=!0x0):_0x55b1d1===_0x1ff0d2?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this[_0x1cddbd(0x240)]=!0x0,_0x2cba75=0x2):_0x55b1d1===_0x5f5131?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this['_hasNewExcelFunction']=!0x0,_0x2cba75=0x1):_0x55b1d1===_0x121cd6[_0x1cddbd(0x238)]?_0x2cba75=0x8:_0x49020c['has'](_0x55b1d1)?_0x2cba75=0x7:_0x55b1d1===_0x1303d1[_0x1cddbd(0x1ed)]?(this[_0x1cddbd(0x219)](_0x3cb519)&&(_0x2cba75=0x9),_0x490ebd['push'](_0x5efddd)):(_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),_0x2cba75=0xa),_0x43bc7b?(_0x2cba75!==0x2&&_0x2cba75!==0x1&&(_0x2cba75=0x6),_0x490ebd['push']('(')):_0x2cba75===0x9&&_0x490ebd[_0x1cddbd(0x21d)]('(');const _0x5cf07e=_0x3cb519['getChildren'](),_0x193685=_0x5cf07e['length'];if(_0x2cba75===0x2){const _0x1b6071=_0x5cf07e[0x0];let _0x850817=0x0;_0x1b6071 instanceof _0x13ca2a&&_0x1b6071[_0x1cddbd(0x22c)]()===_0x59420b&&(_0x850817=0x1);for(let _0x49a199=_0x850817;_0x49a199<_0x193685-0x1;_0x49a199++){const _0x330d9c=_0x5cf07e[_0x49a199];if(_0x330d9c instanceof _0x13ca2a){const _0xd3b453=_0x330d9c['getChildren']()[0x0];typeof _0xd3b453==_0x1cddbd(0x1cb)&&(this[_0x1cddbd(0x218)][_0x1cddbd(0x28c)](_0xd3b453)&&console[_0x1cddbd(0x1cd)](_0x1cddbd(0x237)+_0xd3b453+'\x22\x20is\x20duplicated.'),this[_0x1cddbd(0x218)]['add'](_0xd3b453),_0x490ebd[_0x1cddbd(0x21d)](''+this['_xlpmPrefix']+_0xd3b453),this['_hasNewExcelFunction']=!0x0);}_0x490ebd[_0x1cddbd(0x21d)](',');}this[_0x1cddbd(0x1d7)](_0x5cf07e[_0x193685-0x1],_0x490ebd,_0x51218d),_0x850817===0x1&&(_0x490ebd[_0x1cddbd(0x21d)](')'),_0x490ebd[_0x1cddbd(0x21d)]('('),this[_0x1cddbd(0x290)](_0x1b6071,_0x490ebd,_0x51218d)),_0x490ebd[_0x1cddbd(0x21d)](')');return;}else{if(_0x2cba75===0x1){for(let _0x2a8018=0x0;_0x2a8018<_0x193685-0x1;_0x2a8018++){const _0x57756e=_0x5cf07e[_0x2a8018];if(_0x57756e instanceof _0x13ca2a&&_0x2a8018%0x2===0x0){const _0x257553=_0x57756e[_0x1cddbd(0x282)]()[0x0];if(typeof _0x257553=='string'){this[_0x1cddbd(0x218)]['has'](_0x257553)&&console['error'](_0x1cddbd(0x26e)+_0x257553+'\x22\x20is\x20duplicated.'),this[_0x1cddbd(0x218)][_0x1cddbd(0x20d)](_0x257553),_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x271)]+_0x257553),this['_hasNewExcelFunction']=!0x0,_0x490ebd[_0x1cddbd(0x21d)](',');continue;}}if(this[_0x1cddbd(0x1d7)](_0x57756e,_0x490ebd,_0x51218d),_0x57756e instanceof _0x13ca2a){const _0x3e32dc=_0x5cf07e[_0x2a8018+0x1];_0x3e32dc&&_0x3e32dc instanceof _0x13ca2a&&_0x490ebd[_0x1cddbd(0x21d)](',');}}this[_0x1cddbd(0x1d7)](_0x5cf07e[_0x193685-0x1],_0x490ebd,_0x51218d),_0x490ebd['push'](')');return;}else{if(_0x2cba75===0x8){const _0x130f30=_0x5cf07e[0x0],_0x21856f=_0x5cf07e[0x1];this[_0x1cddbd(0x1d7)](_0x130f30,_0x490ebd,_0x51218d),_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),this[_0x1cddbd(0x1d7)](_0x21856f,_0x490ebd,_0x51218d);return;}}}for(let _0x108ad6=0x0;_0x108ad6<_0x193685;_0x108ad6++){const _0xfe6d59=_0x5cf07e[_0x108ad6];if(this[_0x1cddbd(0x1d7)](_0xfe6d59,_0x490ebd,_0x51218d),_0xfe6d59 instanceof _0x13ca2a){const _0xee09cd=_0x5cf07e[_0x108ad6+0x1];_0xee09cd&&_0xee09cd instanceof _0x13ca2a&&_0x490ebd[_0x1cddbd(0x21d)](',');}}_0x2cba75===0x7&&_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),(_0x43bc7b||_0x2cba75===0x9)&&_0x490ebd[_0x1cddbd(0x21d)](')');}[_0x1761eb(0x1d7)](_0x17bf04,_0x5e181e,_0x60bd3c){const _0xbb19f6=_0x1761eb;_0x17bf04 instanceof _0x13ca2a?this[_0xbb19f6(0x290)](_0x17bf04,_0x5e181e,_0x60bd3c):this[_0xbb19f6(0x218)][_0xbb19f6(0x28c)](_0x17bf04)?(_0x5e181e[_0xbb19f6(0x21d)](''+this['_xlpmPrefix']+_0x17bf04),this[_0xbb19f6(0x240)]=!0x0):_0x5e181e[_0xbb19f6(0x21d)](_0x17bf04);}['_clearFunctionString'](_0x30dd48){const _0x349d6c=_0x1761eb;let _0x33a257=_0x30dd48[_0x349d6c(0x254)]();if(!_0x33a257)return _0x33a257;const _0x44e425=_0x33a257[0x0];if((_0x44e425===_0x1303d1['AT']||_0x44e425===_0x1303d1['MINUS']||_0x44e425===_0x1303d1[_0x349d6c(0x20b)])&&(_0x33a257=_0x33a257[_0x349d6c(0x25a)](0x1)),!_0x33a257)return _0x33a257;const _0x4dc650=_0x33a257[_0x33a257['length']-0x1];return _0x49020c[_0x349d6c(0x28c)](_0x4dc650)&&(_0x33a257=_0x33a257[_0x349d6c(0x25a)](0x0,-0x1)),_0x33a257;}[_0x1761eb(0x219)](_0x22cfb5){const _0x1733ed=_0x1761eb,_0x1eb593=_0x22cfb5[_0x1733ed(0x282)]()[0x0];if(!_0x1eb593||!(_0x1eb593 instanceof _0x13ca2a)||_0x22cfb5['getChildren']()['length']>0x1)return!0x1;const _0x27fd5=_0x1eb593[_0x1733ed(0x282)](),_0x542db1=_0x27fd5[_0x1733ed(0x25b)];if(_0x542db1===0x1)return!0x1;for(let _0x39dbcf=0x0;_0x39dbcf<_0x542db1;_0x39dbcf++){const _0x17d8fe=_0x27fd5[_0x39dbcf];if(!(_0x17d8fe instanceof _0x13ca2a)&&_0x3d9cc2['has'](_0x17d8fe))return!0x0;}return!0x1;}[_0x1761eb(0x234)](_0x4c6e1e,_0x4315ee,_0x388369,_0x26e007,_0x56c194){const _0x1d6a05=_0x1761eb,_0x46bc38=this['treeBuilder'](_0x4c6e1e,!0x1);if(!_0x46bc38||_0x46bc38===_0x5bc8e2[_0x1d6a05(0x212)]||Array['isArray'](_0x46bc38))return null;this[_0x1d6a05(0x24d)](),this['_currentUnitId']=_0x4315ee;const _0xbc644=this[_0x1d6a05(0x217)](_0x46bc38,_0x388369,_0x26e007,_0x56c194);return this[_0x1d6a05(0x1d0)]='',this[_0x1d6a05(0x27a)](),_0xbc644;}['_generateExprTree'](_0x58f2ca,_0x42d313,_0x1c943b,_0x3ba725){const _0x6cef2c=_0x1761eb,_0x4c366a={'value':'','children':[]};let _0x5ddd15=_0x58f2ca;if(_0x5ddd15 instanceof _0x13ca2a&&(_0x5ddd15[_0x6cef2c(0x22c)]()===_0x136a6f||_0x5ddd15[_0x6cef2c(0x22c)]()===_0x3fd13a)&&_0x5ddd15[_0x6cef2c(0x282)]()['length']===0x1&&(_0x5ddd15=_0x5ddd15[_0x6cef2c(0x282)]()[0x0]),!(_0x5ddd15 instanceof _0x13ca2a))return this[_0x6cef2c(0x1c8)](_0x5ddd15,_0x1c943b,_0x3ba725);const _0x2f10fc=_0x5ddd15['getChildren'](),_0x5095f5=_0x2f10fc[_0x6cef2c(0x25b)],_0x2ae0c7=[];this['_generateNewFunctionString'](_0x5ddd15,_0x2ae0c7,_0x42d313),_0x4c366a['value']=_0x2ae0c7['join']('');const _0x387eb7=this['_getCurNodeTypeForExprTree'](_0x5ddd15);if(_0x387eb7===0x2){const _0x11a4a4=_0x2f10fc[0x0];if(_0x11a4a4 instanceof _0x13ca2a){if(_0x11a4a4[_0x6cef2c(0x22c)]()[_0x6cef2c(0x254)]()!==_0x59420b)return _0x4c366a;this[_0x6cef2c(0x226)](_0x11a4a4,_0x4c366a,_0x42d313,_0x1c943b,_0x3ba725);}return _0x4c366a;}else{if(_0x387eb7===0x1){for(let _0x519b8b=0x0;_0x519b8b<_0x5095f5-0x1;_0x519b8b++){const _0x25c58f=_0x2f10fc[_0x519b8b];if(_0x25c58f instanceof _0x13ca2a&&_0x519b8b%0x2===0x1){const _0x8ef730=_0x25c58f[_0x6cef2c(0x282)]();if(_0x8ef730[_0x6cef2c(0x25b)]===0x1&&!(_0x8ef730[0x0]instanceof _0x13ca2a))continue;const _0x34a957=this[_0x6cef2c(0x217)](_0x25c58f,_0x42d313,_0x1c943b,_0x3ba725);_0x34a957&&_0x4c366a['children']['push'](_0x34a957);}}return _0x4c366a;}}return this[_0x6cef2c(0x259)](_0x2f10fc,_0x387eb7,_0x4c366a,_0x42d313,_0x1c943b,_0x3ba725),_0x4c366a;}[_0x1761eb(0x259)](_0x333b06,_0xfae4dc,_0x159ea4,_0xdf59f8,_0x66b97b,_0xff62fe){const _0x3da4b0=_0x1761eb;for(let _0x5e7e85=0x0;_0x5e7e85<_0x333b06['length'];_0x5e7e85++){let _0x41ec26=_0x333b06[_0x5e7e85];if(!(_0x41ec26 instanceof _0x13ca2a)){const _0x759a5e=this['_handleTextNodeForExprTree'](_0x41ec26,_0x66b97b,_0xff62fe);_0x759a5e&&_0x159ea4[_0x3da4b0(0x26a)]['push'](_0x759a5e);continue;}const _0x5acf66=_0x41ec26[_0x3da4b0(0x282)]();if(_0x5acf66[_0x3da4b0(0x25b)]===0x1&&!(_0x5acf66[0x0]instanceof _0x13ca2a)){const _0x5737af=_0x5acf66[0x0];if(!_0x66b97b(this[_0x3da4b0(0x1d0)],_0x5737af)&&!this[_0x3da4b0(0x1de)](_0x5737af,_0xff62fe)&&!_0x388993(_0x5737af))continue;}if(_0xfae4dc===0x8){const _0x321ee8=_0x5acf66[0x0];if(_0x321ee8 instanceof _0x13ca2a){const _0x144ce4=_0x321ee8['getToken']()[_0x3da4b0(0x254)]();if(_0x388993(_0x144ce4))continue;_0x41ec26=_0x321ee8;}}const _0x4c95eb=this[_0x3da4b0(0x217)](_0x41ec26,_0xdf59f8,_0x66b97b,_0xff62fe);_0x4c95eb&&_0x159ea4[_0x3da4b0(0x26a)][_0x3da4b0(0x21d)](_0x4c95eb);}}['_handleTextNodeForExprTree'](_0x111e66,_0x487628,_0x52a797){const _0x18fbb3=_0x1761eb,_0x11c220=_0x111e66[_0x18fbb3(0x254)]();return _0x11c220[_0x18fbb3(0x23f)]('{')&&_0x11c220[_0x18fbb3(0x261)]('}')||_0x487628(this[_0x18fbb3(0x1d0)],_0x11c220)||this[_0x18fbb3(0x1de)](_0x11c220,_0x52a797)||_0x388993(_0x11c220)?{'value':_0x11c220,'children':[]}:null;}[_0x1761eb(0x1de)](_0x166ea0,_0x174246){const _0x4f3f40=_0x1761eb,{tableName:_0x559bda}=_0x1d41af(_0x166ea0);return _0x174246(this[_0x4f3f40(0x1d0)],_0x559bda)?_0x559bda:null;}[_0x1761eb(0x226)](_0x504604,_0x1393a5,_0x50e188,_0x13291a,_0x3ce155){const _0x5ece3a=_0x1761eb,_0x56caf2=_0x504604[_0x5ece3a(0x282)]();for(let _0x3f0d17=0x0;_0x3f0d17<_0x56caf2['length'];_0x3f0d17++){const _0x4eda29=_0x56caf2[_0x3f0d17];if(!(_0x4eda29 instanceof _0x13ca2a))continue;const _0x57b9a3=_0x4eda29[_0x5ece3a(0x282)]();if(_0x57b9a3[_0x5ece3a(0x25b)]===0x1&&!(_0x57b9a3[0x0]instanceof _0x13ca2a))continue;const _0x413f6a=this['_generateExprTree'](_0x4eda29,_0x50e188,_0x13291a,_0x3ce155);_0x413f6a&&_0x1393a5[_0x5ece3a(0x26a)][_0x5ece3a(0x21d)](_0x413f6a);}}[_0x1761eb(0x1d5)](_0x16cb00){const _0x18b1f8=_0x1761eb,_0x3848b4=_0x16cb00[_0x18b1f8(0x22c)](),_0x3a3ae4=_0x3848b4[_0x18b1f8(0x254)]()['toUpperCase']();let _0x6c240e=0x0;return _0x3848b4===_0x136a6f?_0x6c240e=0x3:_0x3848b4===_0x3fd13a?_0x6c240e=0x4:_0x3848b4===_0x59420b?_0x6c240e=0x5:_0x3a3ae4===_0x1ff0d2?_0x6c240e=0x2:_0x3a3ae4===_0x5f5131?_0x6c240e=0x1:_0x3a3ae4===_0x121cd6[_0x18b1f8(0x238)]?_0x6c240e=0x8:_0x49020c[_0x18b1f8(0x28c)](_0x3a3ae4)?_0x6c240e=0x7:_0x3a3ae4===_0x1303d1['MINUS']?this['_checkAddBracketForMinus'](_0x16cb00)&&(_0x6c240e=0x9):_0x6c240e=0xa,_0x6c240e;}}const Me={0x0:'Y',0x1:'O',0x2:'H',0x3:'9',0x4:'n',0x5:'b',0x6:'E',0x7:'C',0x8:'0',0x9:'h','N':'1','r':'2','y':'3','t':'4','G':'5','n':'6','E':'7','K':'8','I':'a','D':'c','Q':'d','J':'e','q':'f','p':'g','i':'i','b':'j','S':'k','w':'l','P':'m','F':'o','d':'p','h':'q','j':'r','e':'s','c':'t','W':'u','X':'v','Y':'w','H':'x','O':'y','A':'z','u':'A','g':'B','L':'D','Z':'F','V':'G','M':'I','l':'J','C':'K','m':'L','o':'M','v':'N','k':'P','U':'Q','x':'R','R':'S','B':'T','a':'U','T':'V','z':'W','s':'X','f':'Z'},Se='qW4DciF4\x20QJDjOdciF4(wiDJ4eJ,\x20dW5wiDCJO)\x20{\x20\x20\x20\x20cjO\x20{\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20wiDJ4eJM4qFkIjcujjIO\x20=\x20wiDJ4eJ.edwic(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20Fjipi4oJeeIpJ\x20=\x20lR1v.dIjeJ(IcF5(wiDJ4eJM4qFkIjcujjIO[r]));\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!Fjipi4oJeeIpJ.WQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fjipi4oJeeIpJ.WQ\x20=\x20vWP5Jj(wiDJ4eJM4qFkIjcujjIO[t]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iezFjSJj\x20=\x20cOdJFq\x20zFjSJjVwF5IwRDFdJ\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20eJwq\x20i4ecI4DJFq\x20zFjSJjVwF5IwRDFdJ;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iegjFYeJj\x20=\x20cOdJFq\x20Yi4QFY\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20cOdJFq\x20Yi4QFY.wFDIciF4\x20!==\x20\x27W4QJqi4JQ\x27;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20DF4cJHc\x20=\x20iezFjSJj\x20?\x20eJwq\x20:\x20(iegjFYeJj\x20?\x20Yi4QFY\x20:\x20pwF5IwB9ie);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[r]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(PJeeIpJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[y]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(eip4IcWjJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4TIwiQ\x20=\x20DF4cJHc.__XJjiqO__(eip4IcWjJ,\x20PJeeIpJ,\x20dW5wiDCJO);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20QFPIi4\x20=\x20Fjipi4oJeeIpJ.QP;\x20\x20\x20\x20\x20\x20\x20\x20qW4DciF4\x20ieLFPIi4oIcD9i4p(FkIccJj4,\x20F2Fec)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4\x20=\x20FkIccJj4.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209Fec\x20=\x20F2Fec.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4kIjce\x20=\x20dIccJj4.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FeckIjce\x20=\x209Fec.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!dIccJj4.i4DwWQJe(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4\x20===\x209Fec;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(dIccJj4kIjce.wJ4pc9\x20<\x20r\x20||\x20dIccJj4kIjce[8]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4RWqqiH\x20=\x20dIccJj4kIjce.ewiDJ(N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FecRWqqiH\x20=\x209FeckIjce.ewiDJ(-dIccJj4kIjce.wJ4pc9\x20+\x20N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4RWqqiH\x20===\x209FecRWqqiH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wJc\x20QFPIi4TIwiQ\x20=\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(iegjFYeJj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20(QFPIi4\x20&&\x20QFPIi4.wJ4pc9)\x20?\x20QFPIi4.eFPJ((QPMcJP)\x20=>\x20ieLFPIi4oIcD9i4p(QPMcJP,\x20wFDIciF4.9Fec4IPJ))\x20:\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(wFDIciF4.9Fec4IPJ\x20===\x20\x27wFDIw9Fec\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JweJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20XIwiQ\x20=\x20eip4TIwiQ\x20&&\x20QFPIi4TIwiQ;\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20Fjipi4oJeeIpJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20DIcD9\x20(JjjFj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ:\x20qIweJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class we extends _0x4c3e32{constructor(){const _0x4cb29f=_0x1761eb;super(...arguments),C(this,_0x4cb29f(0x213),new Map());}[_0x1761eb(0x247)](){const _0x43a18b=_0x1761eb;super[_0x43a18b(0x247)](),this['_dependencyTreeCache'][_0x43a18b(0x250)]();}async[_0x1761eb(0x255)](_0x5f48dd=!0x1){const _0x2ed89f=_0x1761eb;this[_0x2ed89f(0x275)]();const _0x47d567=this[_0x2ed89f(0x1d9)][_0x2ed89f(0x264)](),_0x3f1fba=this[_0x2ed89f(0x262)]['getOtherFormulaData'](),_0x526177=this[_0x2ed89f(0x1d9)]['getClearDependencyTreeCache']();_0x526177!=null&&Object['keys'](_0x526177)['forEach'](_0x34bfb2=>{const _0x5b7db7=_0x2ed89f;_0x34bfb2!=null&&Object[_0x5b7db7(0x242)](_0x526177[_0x34bfb2])[_0x5b7db7(0x1fc)](_0x3f5f60=>{const _0x14f3d0=_0x5b7db7;_0x3f5f60!=null&&(this['_dependencyManagerService'][_0x14f3d0(0x1e6)](_0x34bfb2,_0x3f5f60),this[_0x14f3d0(0x283)][_0x14f3d0(0x1eb)](_0x34bfb2,_0x3f5f60),this[_0x14f3d0(0x283)][_0x14f3d0(0x205)](_0x34bfb2,_0x3f5f60));});});const _0x504a5f=this[_0x2ed89f(0x1d9)]['getUnitData']();await this[_0x2ed89f(0x28f)](_0x47d567,_0x3f1fba,_0x504a5f),this[_0x2ed89f(0x283)]['openKdTree']();const _0x52af37=this[_0x2ed89f(0x25e)](),_0x170a6b=this[_0x2ed89f(0x1f0)](_0x52af37);return this[_0x2ed89f(0x1e2)](_0x170a6b)&&this[_0x2ed89f(0x21f)][_0x2ed89f(0x293)](),_0x5f48dd&&this[_0x2ed89f(0x21f)][_0x2ed89f(0x1ef)](this[_0x2ed89f(0x235)](Array[_0x2ed89f(0x253)](this[_0x2ed89f(0x213)][_0x2ed89f(0x21c)]()))),this['_dependencyTreeCache'][_0x2ed89f(0x250)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2ed89f(0x250)](),this['_dependencyManagerService'][_0x2ed89f(0x24b)](),this[_0x2ed89f(0x21f)][_0x2ed89f(0x289)](),Promise[_0x2ed89f(0x207)](_0x170a6b);}[_0x1761eb(0x23d)](_0x12a99f,_0x1d8c0a){const _0x32de32=_0x1761eb,_0xbf98f5=[_0x12a99f];for(;_0xbf98f5[_0x32de32(0x25b)]>0x0;){const _0x35e060=_0xbf98f5[_0xbf98f5[_0x32de32(0x25b)]-0x1];if((_0x1d8c0a[_0x32de32(0x249)](_0x35e060)||0x0)===0x0){_0x1d8c0a['set'](_0x35e060,0x1);const _0x551017=this[_0x32de32(0x213)]['get'](_0x35e060);if(_0x551017==null){_0x1d8c0a[_0x32de32(0x215)](_0x35e060,0x2),_0xbf98f5[_0x32de32(0x1f5)]();continue;}const _0x2491d0=this[_0x32de32(0x283)][_0x32de32(0x227)](_0x551017['toRTreeItem']());for(const _0x3e9b24 of _0x2491d0){const _0x345cf1=_0x1d8c0a['get'](_0x3e9b24)||0x0;if(_0x345cf1===0x1)return!0x0;_0x345cf1===0x0&&_0xbf98f5[_0x32de32(0x21d)](_0x3e9b24);}}else _0x1d8c0a[_0x32de32(0x215)](_0x35e060,0x2),_0xbf98f5[_0x32de32(0x1f5)]();}return!0x1;}[_0x1761eb(0x1e2)](_0x14be0a){const _0x56acb4=_0x1761eb,_0x3262c9=new Map();for(const _0x1363c1 of _0x14be0a)if(!_0x3262c9[_0x56acb4(0x28c)](_0x1363c1[_0x56acb4(0x291)])&&this['_isCyclicUtilMap'](_0x1363c1[_0x56acb4(0x291)],_0x3262c9))return!0x0;return _0x3262c9['clear'](),!0x1;}[_0x1761eb(0x263)](_0x46019c,_0x2f1097,_0x53d275){const _0x132579=_0x1761eb,{unitId:_0x4d119c,subUnitId:_0x43b56e,dependencyRanges:_0x30f704,getDirtyData:_0x257e7f}=_0x53d275,_0x5e2ce6=_0x2f1097||_0x2438e7(this[_0x132579(0x283)]),_0x2d58d3=new _0x3abffc(_0x5e2ce6);_0x2d58d3['unitId']=_0x4d119c,_0x2d58d3[_0x132579(0x220)]=_0x43b56e,_0x2d58d3[_0x132579(0x27c)]=_0x30f704,_0x2d58d3['getDirtyData']=_0x257e7f;const _0xa03f66=_0x257e7f(this['_currentConfigService']['getDirtyData'](),this[_0x132579(0x21f)][_0x132579(0x222)]()),_0x1ff009=this[_0x132579(0x245)](_0xa03f66[_0x132579(0x248)]);return _0x2d58d3[_0x132579(0x1d1)]=_0x1ff009,_0x2d58d3[_0x132579(0x1ca)]=_0x46019c,_0x2d58d3[_0x132579(0x233)]=_0x43f23d['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x132579(0x288)](_0x4d119c,_0x43b56e,_0x46019c,_0x2d58d3),this['_dependencyTreeCache'][_0x132579(0x215)](_0x2d58d3[_0x132579(0x291)],_0x2d58d3),this[_0x132579(0x283)][_0x132579(0x203)](_0x53d275[_0x132579(0x1fb)],_0x53d275[_0x132579(0x220)],_0x46019c)&&(_0x2d58d3['isCache']=!0x0),_0x2d58d3;}['_registerOtherFormulas'](_0x55c601,_0x4538c6,_0x5e098b){const _0x1f90f9=_0x1761eb;var _0x30c341;for(const _0x53df04 of _0x4538c6){const _0x25ff04=_0x55c601[_0x53df04];if(_0x25ff04==null)continue;const _0x59b3e3=Object[_0x1f90f9(0x242)](_0x25ff04);for(const _0x122242 of _0x59b3e3){const _0x28ae21=_0x25ff04[_0x122242];if(_0x28ae21==null)continue;const _0x470882=Object[_0x1f90f9(0x242)](_0x28ae21);for(const _0xcad1aa of _0x470882){const _0x424015=this[_0x1f90f9(0x283)][_0x1f90f9(0x228)](_0xcad1aa),_0x55c894=_0x28ae21[_0xcad1aa],{f:_0x873dc6,ranges:_0x406320}=_0x55c894;let _0x33d831=!0x1;_0x424015&&(_0x33d831=!0x0);const {firstRow:_0x152763,firstColumn:_0x24faec}=this['_getFirstCellOfRange'](_0x406320),_0x4de8fa=this[_0x1f90f9(0x283)]['getOtherFormulaDependency'](_0x53df04,_0x122242,_0xcad1aa),_0x3a7eac=(_0x30c341=_0x4de8fa==null?void 0x0:_0x4de8fa[_0x1f90f9(0x1fe)](0x0,0x0))!=null?_0x30c341:_0x2438e7(this['_dependencyManagerService']),_0x47ed5c=new _0x3abffc(_0x3a7eac);for(let _0x3152b5=0x0;_0x3152b5<_0x406320[_0x1f90f9(0x25b)];_0x3152b5++){const _0x59a4ef=_0x406320[_0x3152b5],{startRow:_0x40d8de,startColumn:_0x352214,endRow:_0x59211c,endColumn:_0x4b6971}=_0x59a4ef;for(let _0x2a4838=_0x40d8de;_0x2a4838<=_0x59211c;_0x2a4838++)for(let _0x4efc5d=_0x352214;_0x4efc5d<=_0x4b6971;_0x4efc5d++){const _0x222058=_0x4efc5d-_0x24faec,_0x357b06=_0x2a4838-_0x152763;if(_0x222058===0x0&&_0x357b06===0x0){_0x47ed5c[_0x1f90f9(0x1c4)]=_0x873dc6,_0x47ed5c[_0x1f90f9(0x1fb)]=_0x53df04,_0x47ed5c['subUnitId']=_0x122242,_0x47ed5c[_0x1f90f9(0x206)]=_0xcad1aa,_0x47ed5c[_0x1f90f9(0x233)]=_0x43f23d[_0x1f90f9(0x1ff)],_0x47ed5c[_0x1f90f9(0x1df)]=_0x33d831,_0x5e098b[_0x1f90f9(0x21d)](_0x47ed5c),this['_dependencyTreeCache'][_0x1f90f9(0x215)](_0x47ed5c[_0x1f90f9(0x291)],_0x47ed5c),this[_0x1f90f9(0x283)][_0x1f90f9(0x24c)](_0x53df04,_0x122242,_0xcad1aa,_0x47ed5c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x47ed5c);continue;}const _0x327ccd=new _0x6d0725();_0x327ccd['treeId']=(_0x4de8fa==null?void 0x0:_0x4de8fa['getValue'](_0x222058,_0x357b06))||_0x2438e7(this[_0x1f90f9(0x283)]),_0x327ccd[_0x1f90f9(0x216)]=_0x47ed5c,_0x327ccd[_0x1f90f9(0x1c5)]=_0x222058,_0x327ccd[_0x1f90f9(0x1f6)]=_0x357b06,_0x327ccd[_0x1f90f9(0x1df)]=_0x33d831,this['_dependencyManagerService'][_0x1f90f9(0x24c)](_0x53df04,_0x122242,_0xcad1aa,_0x327ccd),this[_0x1f90f9(0x283)][_0x1f90f9(0x1e7)](_0x327ccd),_0x5e098b[_0x1f90f9(0x21d)](_0x327ccd),this['_dependencyTreeCache'][_0x1f90f9(0x215)](_0x327ccd[_0x1f90f9(0x291)],_0x327ccd);}}this[_0x1f90f9(0x283)][_0x1f90f9(0x1c3)](_0xcad1aa);}}}}[_0x1761eb(0x272)](_0x2ba9e3,_0x12eaba,_0x34ab16,_0x13ad93){const _0xe14181=_0x1761eb;for(const _0x4e2cec of _0x2ba9e3){const _0x5b07b7=_0x12eaba[_0x4e2cec];if(_0x5b07b7==null)continue;const _0x584c19=Object[_0xe14181(0x242)](_0x5b07b7);for(const _0x254209 of _0x584c19){const _0x154709=new _0x5c2490(_0x5b07b7[_0x254209]||{}),_0x4d3cd0=new Map();_0x154709[_0xe14181(0x260)]((_0x24a828,_0x550efa,_0x592e75)=>{const _0x20faee=_0xe14181;if(_0x592e75==null)return!0x0;const {x:_0x3add26=0x0,y:_0x31da5a=0x0,si:_0x50e278}=_0x592e75;if(!(_0x3add26===0x0&&_0x31da5a===0x0&&_0x50e278!=null))return!0x0;const _0x4e743c=this[_0x20faee(0x24a)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa,_0x34ab16,_0x592e75),_0x259343=this[_0x20faee(0x283)][_0x20faee(0x246)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa);_0x259343!=null?_0x4e743c[_0x20faee(0x291)]=_0x259343:(this[_0x20faee(0x283)][_0x20faee(0x25f)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa,_0x4e743c),this[_0x20faee(0x283)][_0x20faee(0x1e7)](_0x4e743c)),_0x4d3cd0['set'](_0x50e278,_0x4e743c),_0x13ad93[_0x20faee(0x21d)](_0x4e743c),this[_0x20faee(0x213)]['set'](_0x4e743c[_0x20faee(0x291)],_0x4e743c);}),_0x154709[_0xe14181(0x260)]((_0x44e182,_0xbdfe37,_0x4db527)=>{const _0x5dd61f=_0xe14181;if(_0x4db527==null)return!0x0;const {x:_0x4a0cdb=0x0,y:_0x3ed662=0x0,si:_0x5ca585}=_0x4db527;if(_0x4a0cdb===0x0&&_0x3ed662===0x0&&_0x5ca585!=null)return!0x0;let _0x40be23;if(_0x5ca585&&_0x4d3cd0['has'](_0x5ca585)){const _0xdc0222=_0x4d3cd0[_0x5dd61f(0x249)](_0x5ca585);_0x40be23=this[_0x5dd61f(0x223)](_0xdc0222,_0x4db527);}else _0x40be23=this['_createFDtree'](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37,_0x34ab16,_0x4db527);const _0x348d74=this[_0x5dd61f(0x283)][_0x5dd61f(0x246)](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37);_0x348d74!=null?_0x40be23[_0x5dd61f(0x291)]=_0x348d74:(this['_dependencyManagerService'][_0x5dd61f(0x25f)](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37,_0x40be23),this[_0x5dd61f(0x283)][_0x5dd61f(0x1e7)](_0x40be23)),_0x13ad93[_0x5dd61f(0x21d)](_0x40be23),this[_0x5dd61f(0x213)][_0x5dd61f(0x215)](_0x40be23['treeId'],_0x40be23);}),_0x4d3cd0[_0xe14181(0x250)]();}}}[_0x1761eb(0x24a)](_0x1a6ec6,_0x1b530f,_0x461bcc,_0x15c92b,_0x5f4213,_0x3206a9){const _0xcb3a0c=_0x1761eb,{f:_0x3c67d4,x:_0x20b985=0x0,y:_0x3a5b69=0x0}=_0x3206a9,_0x2ef1af=new _0x3abffc(_0x2438e7(this[_0xcb3a0c(0x283)])),_0x58bd40=_0x5f4213[_0x1a6ec6][_0x1b530f];return _0x2ef1af[_0xcb3a0c(0x1c4)]=_0x3c67d4,_0x2ef1af[_0xcb3a0c(0x1fb)]=_0x1a6ec6,_0x2ef1af[_0xcb3a0c(0x220)]=_0x1b530f,_0x2ef1af[_0xcb3a0c(0x28e)]=_0x461bcc,_0x2ef1af[_0xcb3a0c(0x1cf)]=_0x15c92b,_0x2ef1af[_0xcb3a0c(0x280)]=_0x58bd40[_0xcb3a0c(0x280)],_0x2ef1af[_0xcb3a0c(0x279)]=_0x58bd40[_0xcb3a0c(0x279)],_0x2ef1af;}[_0x1761eb(0x25e)](){const _0x43aaa1=_0x1761eb,_0x144861=[],_0x21f43d=new Set(),_0x319db8=this[_0x43aaa1(0x1d9)]['isForceCalculate'](),_0x2150c1=this['_currentConfigService'][_0x43aaa1(0x251)](),_0x31be1a=this[_0x43aaa1(0x283)][_0x43aaa1(0x227)](_0x2150c1),_0x531391=this[_0x43aaa1(0x28d)][_0x43aaa1(0x1dd)](_0x2150c1);for(const _0x5ac4f3 of _0x531391)_0x31be1a[_0x43aaa1(0x20d)](_0x5ac4f3);for(const [_0x57a8a4,_0x35beab]of this[_0x43aaa1(0x213)])(_0x319db8||_0x35beab[_0x43aaa1(0x27d)]||_0x35beab[_0x43aaa1(0x257)](this['_currentConfigService'][_0x43aaa1(0x208)]())||_0x31be1a[_0x43aaa1(0x28c)](_0x57a8a4)&&!_0x35beab['isExcludeRange'](this[_0x43aaa1(0x1d9)][_0x43aaa1(0x287)]()))&&!_0x21f43d[_0x43aaa1(0x28c)](_0x57a8a4)&&(_0x144861['push'](_0x35beab),_0x21f43d[_0x43aaa1(0x20d)](_0x57a8a4));for(const [_0x307366,_0x38767b]of this[_0x43aaa1(0x213)])_0x38767b[_0x43aaa1(0x221)]||(_0x38767b[_0x43aaa1(0x27c)]['length']=0x0);return _0x144861;}[_0x1761eb(0x1dc)](_0xd7300){const _0x3cb00b=_0x1761eb;return this[_0x3cb00b(0x213)][_0x3cb00b(0x249)](_0xd7300);}['_getTreeNode'](_0x2078f8){const _0x23f5c4=_0x1761eb;return _0x59c1ee(_0x2078f8[_0x23f5c4(0x1fb)],_0x2078f8['formula'],this[_0x23f5c4(0x21b)],this['_astTreeBuilder'],this[_0x23f5c4(0x1d9)]);}*['_traverse'](_0x5e8b28,_0x1e7baf){const _0x2d7224=_0x1761eb,_0x20730c=_0x5e8b28,_0xc3e8ac=new Set();for(;_0x20730c[_0x2d7224(0x25b)]>0x0;){const _0x3b8816=_0x20730c['pop']();if(_0xc3e8ac[_0x2d7224(0x250)](),_0x3b8816===void 0x0||_0x3b8816[_0x2d7224(0x256)]())continue;if(_0x3b8816[_0x2d7224(0x1d3)]()){yield _0x3b8816,_0x3b8816[_0x2d7224(0x209)](),_0x1e7baf[_0x2d7224(0x20d)](_0x3b8816[_0x2d7224(0x291)]);continue;}const _0x31e4ac=this['_dependencyManagerService'][_0x2d7224(0x227)](_0x3b8816[_0x2d7224(0x232)](),_0x1e7baf),_0x23e147=this[_0x2d7224(0x28d)]['bulkSearch'](_0x3b8816[_0x2d7224(0x232)](),_0x1e7baf);for(const _0x5496e1 of _0x23e147)_0x31e4ac[_0x2d7224(0x20d)](_0x5496e1);for(const _0x1722f4 of _0x31e4ac){const _0x5998ed=this[_0x2d7224(0x213)][_0x2d7224(0x249)](_0x1722f4);if(!_0x5998ed)throw new Error(_0x2d7224(0x23b));_0x5998ed[_0x2d7224(0x1d3)]()||_0x3b8816['isSkip']()||_0xc3e8ac[_0x2d7224(0x20d)](_0x5998ed);}if(_0x31e4ac[_0x2d7224(0x250)](),_0xc3e8ac[_0x2d7224(0x1e4)]===0x0)yield _0x3b8816,_0x3b8816[_0x2d7224(0x209)](),_0x1e7baf[_0x2d7224(0x20d)](_0x3b8816[_0x2d7224(0x291)]);else{_0x3b8816[_0x2d7224(0x265)](),_0x20730c[_0x2d7224(0x21d)](_0x3b8816);for(const _0x5dbecb of _0xc3e8ac)_0x20730c[_0x2d7224(0x21d)](_0x5dbecb);}}_0x20730c[_0x2d7224(0x25b)]=0x0,_0xc3e8ac[_0x2d7224(0x250)]();}[_0x1761eb(0x1f0)](_0x3dd1a4){const _0x2d62a3=_0x1761eb,_0x5436a3=[],_0x13ec54=new Set();for(const _0x4baea2 of this[_0x2d62a3(0x1fa)](_0x3dd1a4,_0x13ec54))_0x5436a3['push'](_0x4baea2);return _0x5436a3;}async[_0x1761eb(0x224)](){const _0x237c5e=_0x1761eb;return await this[_0x237c5e(0x23a)](),Array[_0x237c5e(0x253)](this[_0x237c5e(0x213)][_0x237c5e(0x21c)]());}['_getDependencyTreeParenIds'](_0x220b24){const _0x56a727=_0x1761eb;return this[_0x56a727(0x283)][_0x56a727(0x227)](_0x220b24[_0x56a727(0x232)]());}[_0x1761eb(0x236)](_0x4714e8){const _0x18c3c0=_0x1761eb,_0x592f6d=new Set(),_0x3888be=_0x4714e8[_0x18c3c0(0x27c)];for(const [_0x2edd66,_0x671da3]of this['_dependencyTreeCache'])for(const _0x59c200 of _0x3888be){const _0x231c53=_0x59c200[_0x18c3c0(0x1fb)],_0x2ae4ef=_0x59c200[_0x18c3c0(0x23e)];if(_0x671da3[_0x18c3c0(0x1fb)]!==_0x231c53||_0x671da3[_0x18c3c0(0x220)]!==_0x2ae4ef)continue;const _0x325210=_0x59c200[_0x18c3c0(0x1da)];if(_0x671da3[_0x18c3c0(0x23c)](_0x325210)){_0x592f6d[_0x18c3c0(0x20d)](_0x2edd66);break;}}return _0x592f6d;}[_0x1761eb(0x21a)](){const _0x1023a9=_0x1761eb;this['_dependencyManagerService'][_0x1023a9(0x1f1)]();}['_endFormulaDependencyTreeModel'](){const _0x1a5ef7=_0x1761eb;this['_formulaDependencyTreeModel'][_0x1a5ef7(0x250)](),this[_0x1a5ef7(0x213)][_0x1a5ef7(0x250)](),this['_dependencyManagerService'][_0x1a5ef7(0x24b)]();}}function _0x5283(_0xc6c40d,_0x1eb16d){_0xc6c40d=_0xc6c40d-0x1c2;const _0x312ca6=_0x312c();let _0x5283dd=_0x312ca6[_0xc6c40d];return _0x5283dd;}class Je extends _0xfcc63d{async[_0x1761eb(0x202)](_0x4b2a85=!0x1){const _0x4939f8=_0x1761eb;_0x4b2a85?this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x267)]):this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x211)]),this[_0x4939f8(0x204)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]());const _0x5f2f94=await this[_0x4939f8(0x22e)][_0x4939f8(0x255)](this[_0x4939f8(0x1e8)]),_0x671dbd=this[_0x4939f8(0x1d6)];_0x4b2a85?(this[_0x4939f8(0x21f)]['setFormulaExecuteStage'](_0x263013[_0x4939f8(0x1f4)]),this[_0x4939f8(0x21f)][_0x4939f8(0x230)](_0x5f2f94[_0x4939f8(0x25b)])):(this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1ea)]),this[_0x4939f8(0x21f)][_0x4939f8(0x22f)](_0x5f2f94['length'])),this[_0x4939f8(0x204)]['next'](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]());let _0x106c76=[];const _0x19d4e6=this[_0x4939f8(0x27b)]['getConfig'](_0x25f609),_0x5b5219=(_0x19d4e6==null?void 0x0:_0x19d4e6[_0x4939f8(0x268)])||_0x1b9940;let _0x3a1855=0x0;const _0x1ed7e9=_0x5f2f94[_0x4939f8(0x25b)];for(;_0x5f2f94[_0x4939f8(0x25b)]>0x0;){const _0x761b73=_0x5f2f94[_0x4939f8(0x1f5)](),_0x2eaec9=_0x59c1ee(_0x761b73[_0x4939f8(0x1fb)],_0x761b73[_0x4939f8(0x1c4)],this[_0x4939f8(0x21b)],this[_0x4939f8(0x1c9)],this[_0x4939f8(0x1d9)]),_0x3d6ef9={'node':_0x2eaec9,'refOffsetX':_0x761b73[_0x4939f8(0x1c5)],'refOffsetY':_0x761b73[_0x4939f8(0x1f6)]},_0x2f9290=_0x761b73[_0x4939f8(0x1c7)];if(_0x3a1855%_0x5b5219===0x0&&(await new Promise(_0x5b6413=>{const _0x291100=_0x4939f8,_0x1bceaf=_0x39aee8(_0x5b6413);_0x106c76[_0x291100(0x21d)](_0x1bceaf);}),_0x4b2a85?(this['_runtimeService'][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1ec)]),this[_0x4939f8(0x21f)][_0x4939f8(0x21e)](_0x3a1855+0x1)):(this['_runtimeService'][_0x4939f8(0x26b)](_0x263013['CURRENTLY_CALCULATING']),this[_0x4939f8(0x21f)][_0x4939f8(0x28a)](_0x3a1855+0x1)),this[_0x4939f8(0x204)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]()),this[_0x4939f8(0x21f)][_0x4939f8(0x273)]()||_0x3d6ef9==null&&_0x2f9290==null)){this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1fd)]),this[_0x4939f8(0x21f)]['markedAsStopFunctionsExecuted'](),this[_0x4939f8(0x24e)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x222)]());return;}this[_0x4939f8(0x21f)][_0x4939f8(0x201)](_0x761b73[_0x4939f8(0x28e)],_0x761b73['column'],_0x761b73[_0x4939f8(0x280)],_0x761b73['columnCount'],_0x761b73[_0x4939f8(0x220)],_0x761b73[_0x4939f8(0x1fb)]);let _0x32e103;if(_0x2f9290!=null&&_0x761b73[_0x4939f8(0x1ca)]!=null){const {runtimeCellData:_0x2d5652,dirtyRanges:_0xfcc201}=_0x2f9290(this[_0x4939f8(0x1d9)][_0x4939f8(0x1c7)](),this[_0x4939f8(0x21f)][_0x4939f8(0x222)]());this[_0x4939f8(0x21f)][_0x4939f8(0x200)](_0x761b73['featureId'],_0x2d5652),this[_0x4939f8(0x21f)][_0x4939f8(0x1e1)](_0x761b73['featureId'],_0xfcc201);}else _0x3d6ef9!=null&&(_0x671dbd[_0x4939f8(0x274)](_0x3d6ef9['node'])?_0x32e103=await _0x671dbd['executeAsync'](_0x3d6ef9):_0x32e103=_0x671dbd[_0x4939f8(0x258)](_0x3d6ef9),_0x761b73[_0x4939f8(0x206)]!=null?this['_runtimeService'][_0x4939f8(0x269)](_0x761b73[_0x4939f8(0x206)],_0x761b73[_0x4939f8(0x1c5)],_0x761b73[_0x4939f8(0x1f6)],_0x32e103):this['_runtimeService'][_0x4939f8(0x284)](_0x32e103));_0x2eaec9['resetCalculationState'](),_0x3a1855++;}return _0x106c76[_0x4939f8(0x1fc)](_0x103137=>_0x103137()),_0x106c76=[],_0x1ed7e9>0x0?this['_runtimeService'][_0x4939f8(0x214)]():_0x4b2a85||this[_0x4939f8(0x21f)][_0x4939f8(0x27e)](),this[_0x4939f8(0x21f)][_0x4939f8(0x222)]();}}class Re extends _0x36f0fa{constructor(){super(...arguments),C(this,'_allTreeMap',new Map()),C(this,'_dependencyRTreeCache',new _0x854f8d(!0x0));}[_0x1761eb(0x1f3)](){const _0x3e4be3=_0x1761eb;this['_otherFormulaData'][_0x3e4be3(0x250)](),this[_0x3e4be3(0x278)][_0x3e4be3(0x250)](),this['_formulaData'][_0x3e4be3(0x250)](),this[_0x3e4be3(0x229)]['clear'](),this[_0x3e4be3(0x1db)][_0x3e4be3(0x250)](),this[_0x3e4be3(0x266)](),this[_0x3e4be3(0x28b)][_0x3e4be3(0x250)]();}[_0x1761eb(0x24c)](_0x12fa51,_0x555c90,_0x385c4f,_0x22dde2){const _0x4e0c20=_0x1761eb;this[_0x4e0c20(0x285)][_0x4e0c20(0x28c)](_0x12fa51)||this['_otherFormulaData'][_0x4e0c20(0x215)](_0x12fa51,new Map());const _0x48d950=this['_otherFormulaData']['get'](_0x12fa51);_0x48d950[_0x4e0c20(0x28c)](_0x555c90)||_0x48d950[_0x4e0c20(0x215)](_0x555c90,new Map());const _0x5b4ca6=_0x48d950[_0x4e0c20(0x249)](_0x555c90);_0x5b4ca6[_0x4e0c20(0x28c)](_0x385c4f)||_0x5b4ca6['set'](_0x385c4f,new _0x5c2490()),_0x5b4ca6[_0x4e0c20(0x249)](_0x385c4f)[_0x4e0c20(0x1d2)](_0x22dde2['refOffsetX'],_0x22dde2[_0x4e0c20(0x1f6)],_0x22dde2['treeId']);}[_0x1761eb(0x231)](_0x38e29e,_0x2e7d11,_0x164f60){const _0x371eba=_0x1761eb,_0x43e498=this['_otherFormulaData'][_0x371eba(0x249)](_0x38e29e);if(_0x43e498&&_0x43e498[_0x371eba(0x28c)](_0x2e7d11)){const _0x36404e=_0x43e498[_0x371eba(0x249)](_0x2e7d11);_0x164f60[_0x371eba(0x1fc)](_0xea9a97=>{const _0x245f9c=_0x371eba,_0x223a51=_0x36404e[_0x245f9c(0x249)](_0xea9a97);_0x223a51!=null&&(_0x223a51[_0x245f9c(0x260)]((_0x349ded,_0x403a09,_0x1556f6)=>{const _0x19afee=_0x245f9c;this['_removeDependencyRTreeCache'](_0x1556f6),this[_0x19afee(0x1ee)](_0x1556f6);}),_0x36404e[_0x245f9c(0x1c2)](_0xea9a97),this[_0x245f9c(0x28b)][_0x245f9c(0x1c2)](_0xea9a97));}),_0x36404e[_0x371eba(0x1e4)]===0x0&&_0x43e498[_0x371eba(0x1c2)](_0x2e7d11),_0x43e498['size']===0x0&&this[_0x371eba(0x285)][_0x371eba(0x1c2)](_0x38e29e);}}[_0x1761eb(0x1e6)](_0x53ce2,_0x4f9610){const _0x325c40=_0x1761eb,_0x218da6=this['_otherFormulaData'][_0x325c40(0x249)](_0x53ce2);if(_0x4f9610&&_0x218da6&&_0x218da6[_0x325c40(0x28c)](_0x4f9610)){const _0x1b8bb6=_0x218da6[_0x325c40(0x249)](_0x4f9610);this[_0x325c40(0x1e9)](_0x53ce2,_0x4f9610);for(const _0x63700 of _0x1b8bb6[_0x325c40(0x242)]()){const _0x344ff7=_0x1b8bb6[_0x325c40(0x249)](_0x63700);_0x344ff7!=null&&(_0x344ff7['forValue']((_0x352891,_0x50fa8b,_0x35d80a)=>{const _0x5037c0=_0x325c40;this[_0x5037c0(0x1db)][_0x5037c0(0x249)](_0x35d80a)&&this[_0x5037c0(0x1ee)](_0x35d80a);}),this[_0x325c40(0x28b)][_0x325c40(0x1c2)](_0x63700));}_0x1b8bb6['clear']();}else{if(_0x218da6){for(const _0x37443c of _0x218da6[_0x325c40(0x242)]()){const _0x3439cc=_0x218da6[_0x325c40(0x249)](_0x37443c);this[_0x325c40(0x1e9)](_0x53ce2,_0x37443c);for(const _0x4687b4 of _0x3439cc[_0x325c40(0x242)]()){const _0x3292b9=_0x3439cc['get'](_0x4687b4);_0x3292b9!=null&&(_0x3292b9[_0x325c40(0x260)]((_0x26caf2,_0x2eb954,_0xe83c85)=>{const _0x4238a8=_0x325c40;this[_0x4238a8(0x1db)][_0x4238a8(0x249)](_0xe83c85)&&this['_removeAllTreeMap'](_0xe83c85);}),this[_0x325c40(0x28b)]['delete'](_0x4687b4));}}this[_0x325c40(0x285)]['delete'](_0x53ce2);}}}[_0x1761eb(0x288)](_0x80b87c,_0x37917a,_0x1f31cf,_0x1161ad){const _0x4fd120=_0x1761eb;this['_featureFormulaData'][_0x4fd120(0x28c)](_0x80b87c)||this['_featureFormulaData']['set'](_0x80b87c,new Map());const _0x3039c8=this['_featureFormulaData'][_0x4fd120(0x249)](_0x80b87c);_0x3039c8[_0x4fd120(0x28c)](_0x37917a)||_0x3039c8[_0x4fd120(0x215)](_0x37917a,new Map()),_0x3039c8[_0x4fd120(0x249)](_0x37917a)[_0x4fd120(0x215)](_0x1f31cf,_0x1161ad[_0x4fd120(0x291)]);}['removeFeatureFormulaDependency'](_0x580b96,_0x154775,_0x344f82){const _0x550350=_0x1761eb,_0x5be727=this[_0x550350(0x278)][_0x550350(0x249)](_0x580b96);if(_0x5be727&&_0x5be727['has'](_0x154775)){const _0x1276cd=_0x5be727[_0x550350(0x249)](_0x154775);_0x344f82['forEach'](_0x2a1a9a=>{const _0x304491=_0x550350,_0x1ef01d=_0x1276cd['get'](_0x2a1a9a);_0x1ef01d!=null&&(this['_removeDependencyRTreeCache'](_0x1ef01d),_0x1276cd[_0x304491(0x1c2)](_0x2a1a9a),this[_0x304491(0x1ee)](_0x1ef01d));});}}[_0x1761eb(0x1eb)](_0x384a37,_0x4e8336){const _0x5a9042=_0x1761eb,_0x539d47=this[_0x5a9042(0x278)][_0x5a9042(0x249)](_0x384a37);if(_0x4e8336&&_0x539d47&&_0x539d47[_0x5a9042(0x28c)](_0x4e8336)){const _0x58e788=_0x539d47['get'](_0x4e8336);this['_removeDependencyRTreeCacheById'](_0x384a37,_0x4e8336),_0x58e788[_0x5a9042(0x1fc)](_0xb28374=>{const _0x3049c7=_0x5a9042;_0xb28374!=null&&this[_0x3049c7(0x1ee)](_0xb28374);}),_0x58e788[_0x5a9042(0x250)]();}else _0x539d47&&(_0x539d47[_0x5a9042(0x1fc)]((_0x2950ac,_0x38f2cf)=>{const _0x5780b9=_0x5a9042;this[_0x5780b9(0x1e9)](_0x384a37,_0x38f2cf),_0x2950ac['forEach'](_0x581cdc=>{const _0x5d1160=_0x5780b9;_0x581cdc!=null&&this[_0x5d1160(0x1ee)](_0x581cdc);});}),this[_0x5a9042(0x278)][_0x5a9042(0x1c2)](_0x384a37));}[_0x1761eb(0x25f)](_0x22026a,_0x271aee,_0x48db87,_0x118eaa,_0x5b6b3d){const _0xf78828=_0x1761eb;this['_formulaData'][_0xf78828(0x28c)](_0x22026a)||this[_0xf78828(0x1e0)]['set'](_0x22026a,new Map());const _0x28720e=this[_0xf78828(0x1e0)]['get'](_0x22026a);_0x28720e[_0xf78828(0x28c)](_0x271aee)||_0x28720e[_0xf78828(0x215)](_0x271aee,new _0x5c2490()),_0x28720e[_0xf78828(0x249)](_0x271aee)[_0xf78828(0x1d2)](_0x48db87,_0x118eaa,_0x5b6b3d[_0xf78828(0x291)]);}['removeFormulaDependency'](_0x4c9043,_0x2fdf51,_0x1f7007,_0x2edc23){const _0x152e75=_0x1761eb,_0x4be63c=this['_formulaData']['get'](_0x4c9043);if(_0x4be63c&&_0x4be63c[_0x152e75(0x28c)](_0x2fdf51)){const _0x33d368=_0x4be63c[_0x152e75(0x249)](_0x2fdf51),_0x3479cc=_0x33d368[_0x152e75(0x1fe)](_0x1f7007,_0x2edc23);if(_0x3479cc==null)return;this['_removeDependencyRTreeCache'](_0x3479cc),_0x33d368[_0x152e75(0x1ce)](_0x1f7007,_0x2edc23),this[_0x152e75(0x1ee)](_0x3479cc);}}[_0x1761eb(0x205)](_0x253b79,_0xc2f103){const _0x1ce3c9=_0x1761eb,_0x227c2b=this[_0x1ce3c9(0x1e0)][_0x1ce3c9(0x249)](_0x253b79);if(_0xc2f103&&_0x227c2b&&_0x227c2b['has'](_0xc2f103)){const _0x1e3bf7=_0x227c2b[_0x1ce3c9(0x249)](_0xc2f103);this[_0x1ce3c9(0x1e9)](_0x253b79,_0xc2f103),_0x1e3bf7[_0x1ce3c9(0x260)]((_0x31d1d6,_0x1036f3,_0x104ba6)=>{const _0xad278e=_0x1ce3c9;if(_0x104ba6==null)return!0x0;this[_0xad278e(0x1ee)](_0x104ba6);}),_0x1e3bf7['reset']();}else _0x227c2b&&(_0x227c2b[_0x1ce3c9(0x1fc)]((_0x2355e9,_0xee1755)=>{this['_removeDependencyRTreeCacheById'](_0x253b79,_0xee1755),_0x2355e9['forValue']((_0x1b5a7b,_0x36db1e,_0x382a9f)=>{const _0x54beb6=_0x5283;if(_0x382a9f==null)return!0x0;this[_0x54beb6(0x1ee)](_0x382a9f);});}),this[_0x1ce3c9(0x1e0)]['delete'](_0x253b79));}[_0x1761eb(0x26f)](_0x566c48){const _0x4ebe86=_0x1761eb;if(_0x566c48==null)return;const _0x1508cb=this[_0x4ebe86(0x1db)][_0x4ebe86(0x249)](_0x566c48);if(_0x1508cb){const _0x165501=[];for(const [_0x4debc9,_0x3231fb]of _0x1508cb)for(const [_0x94a0dc,_0x22a497]of _0x3231fb)_0x165501['push']({'unitId':_0x4debc9,'sheetId':_0x94a0dc,'range':_0x22a497,'id':_0x566c48});this['_dependencyRTreeCache'][_0x4ebe86(0x26d)](_0x165501);}}['removeFormulaDependencyByDefinedName'](_0x487738,_0x479395){const _0x5883f3=_0x1761eb,_0xcd485b=this[_0x5883f3(0x277)][_0x5883f3(0x249)](_0x487738);if(_0xcd485b){const _0xc0c1c9=_0xcd485b[_0x5883f3(0x249)](_0x479395);if(_0xc0c1c9){for(const _0x12fff6 of _0xc0c1c9)this[_0x5883f3(0x26f)](_0x12fff6),this[_0x5883f3(0x1ee)](_0x12fff6);_0xc0c1c9[_0x5883f3(0x250)]();}}}[_0x1761eb(0x1f1)](){const _0x560d7b=_0x1761eb;this[_0x560d7b(0x229)][_0x560d7b(0x1f1)]();}['closeKdTree'](){const _0x4e3e04=_0x1761eb;this[_0x4e3e04(0x229)][_0x4e3e04(0x24b)]();}[_0x1761eb(0x1ee)](_0xd274c8){_0xd274c8!=null&&this['_allTreeMap']['delete'](_0xd274c8);}[_0x1761eb(0x1f7)](_0x333b02){const _0x541171=_0x1761eb;var _0x3cf462,_0x290bc9;const _0x3be83f=_0x333b02[_0x541171(0x27c)];let _0x3845dc=this[_0x541171(0x1db)][_0x541171(0x249)](_0x333b02[_0x541171(0x291)]);for(let _0x57ff8e=0x0;_0x57ff8e<_0x3be83f['length'];_0x57ff8e++){const _0x7687d2=_0x3be83f[_0x57ff8e];let {unitId:_0x575fde,sheetId:_0x1378d1,range:_0x19a666}=_0x7687d2;_0x3845dc||(_0x3845dc=new Map(),this['_allTreeMap'][_0x541171(0x215)](_0x333b02['treeId'],_0x3845dc)),_0x3845dc[_0x541171(0x28c)](_0x575fde)||_0x3845dc[_0x541171(0x215)](_0x575fde,new Map());const _0x490ebf=(_0x3cf462=_0x3845dc==null?void 0x0:_0x3845dc[_0x541171(0x249)](_0x575fde))==null?void 0x0:_0x3cf462[_0x541171(0x249)](_0x1378d1);_0x490ebf&&(_0x19a666={'startRow':Math[_0x541171(0x210)](_0x19a666[_0x541171(0x1e3)],_0x490ebf[_0x541171(0x1e3)]),'startColumn':Math[_0x541171(0x210)](_0x19a666['startColumn'],_0x490ebf[_0x541171(0x241)]),'endRow':Math[_0x541171(0x24f)](_0x19a666[_0x541171(0x1e5)],_0x490ebf[_0x541171(0x1e5)]),'endColumn':Math[_0x541171(0x24f)](_0x19a666[_0x541171(0x244)],_0x490ebf['endColumn'])}),(_0x290bc9=_0x3845dc[_0x541171(0x249)](_0x575fde))==null||_0x290bc9[_0x541171(0x215)](_0x1378d1,_0x19a666);}}}function _0x312c(){const _0x237098=['delete','addOtherFormulaDependencyMainData','formula','refOffsetX','_clearFunctionString','getDirtyData','_handleTextNodeForExprTree','_astTreeBuilder','featureId','string','85996ZKdMTj','error','realDeleteValue','column','_currentUnitId','featureDirtyRanges','setValue','isAdded','8912jXMFIk','_getCurNodeTypeForExprTree','_interpreter','_handleNewFunctionChild','parseInt','_currentConfigService','range','_allTreeMap','_getTreeById','bulkSearch','_getTableNameFromStructuredRef','isCache','_formulaData','setRuntimeFeatureRange','_checkIsCycleDependency','startRow','size','endRow','clearOtherFormulaDependency','addFormulaDependencyByDefinedName','_isCalculateTreeModel','_removeDependencyRTreeCacheById','START_CALCULATION','clearFeatureFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','MINUS','_removeAllTreeMap','setDependencyTreeModelData','_calculateRunList','openKdTree','45YHBlnm','reset','START_CALCULATION_ARRAY_FORMULA','pop','refOffsetY','_addAllTreeMap','_xlfn.','toUpperCase','_traverse','unitId','forEach','IDLE','getValue','OTHER_FORMULA','setRuntimeFeatureCellData','setCurrent','_apply','getFeatureFormulaDependency','_executionInProgressListener$','clearFormulaDependency','formulaId','resolve','getDirtyNameMap','setSkip','getOwnPropertyDescriptor','PLUS','_xlfnPrefix','add','1122824bZzMxX','5721408GySRva','min','START_DEPENDENCY','VALUE','_dependencyTreeCache','markedAsSuccessfullyExecuted','set','refTree','_generateExprTree','_lambdaFunctionParameterSet','_checkAddBracketForMinus','_startFormulaDependencyTreeModel','_lexer','values','push','setCompletedArrayFormulasCount','_runtimeService','subUnitId','isVirtual','getAllRuntimeData','_createVirtualFDtree','_getAllTreeList','2LJdbrY','_handleLambdaForExprTree','searchDependency','hasOtherFormulaDataMainData','_dependencyRTreeCache','symbol','4626482PeGRzE','getToken','join','_formulaDependencyGenerator','setTotalFormulasToCalculate','setTotalArrayFormulasToCalculate','removeOtherFormulaDependency','toRTreeItem','type','getFormulaExprTree','_getAllDependencyJson','_getDependencyTreeChildrenIds','Lambda\x20parameter\x20name\x20\x22','COLON','_xlpm.','_initializeGenerateTreeList','ParentDependencyTree\x20object\x20is\x20null','inRangeData','_isCyclicUtilMap','sheetId','startsWith','_hasNewExcelFunction','startColumn','keys','2682JpMlnR','endColumn','_convertDirtyRangesToUnitRange','getFormulaDependency','dispose','dirtyRanges','get','_createFDtree','closeKdTree','addOtherFormulaDependency','_clearPrefix','_executionCompleteListener$','max','clear','getDirtyRanges','_injector','from','trim','generate','isSkip','dependencySheetName','execute','_handleChildrenForExprTree','slice','length','notExecuteFormula','2758083EBLlrl','_getUpdateTreeListAndMakeDependency','addFormulaDependency','forValue','endsWith','_otherFormulaManagerService','_getFeatureFormulaTree','getFormulaData','setAdded','_restDependencyTreeId','START_DEPENDENCY_ARRAY_FORMULA','intervalCount','setRuntimeOtherData','children','setFormulaExecuteStage','next','bulkRemove','Let\x20variable\x20name\x20\x22','_removeDependencyRTreeCache','_config','_xlpmPrefix','_registerFormulas','isStopExecution','checkAsyncNode','_updateRangeFlatten','18420940ROzzHd','_definedNameMap','_featureFormulaData','columnCount','_resetPrefix','_configService','rangeList','isDirty','markedAsNoFunctionsExecuted','isArray','rowCount','getRuntimeState','getChildren','_dependencyManagerService','setRuntimeData','_otherFormulaData','_initLicenseValid','getExcludedRange','addFeatureFormulaDependency','clearArrayObjectCache','setCompletedFormulasCount','_otherFormulaDataMainData','has','_dependencyRTreeCacheForAddressFunction','row','_generateTreeList','_generateNewFunctionString','treeId','defineProperty','enableCycleDependency'];_0x312c=function(){return _0x237098;};return _0x312c();}var xe=Object[_0x1761eb(0x20a)],Ee=(_0x5acf53,_0x23bab2,_0x4865c9,_0xfe2f20)=>{const _0x53349a=_0x1761eb;for(var _0xeb09e3=_0xfe2f20>0x1?void 0x0:_0xfe2f20?xe(_0x23bab2,_0x4865c9):_0x23bab2,_0x14e112=_0x5acf53[_0x53349a(0x25b)]-0x1,_0x588f02;_0x14e112>=0x0;_0x14e112--)(_0x588f02=_0x5acf53[_0x14e112])&&(_0xeb09e3=_0x588f02(_0xeb09e3)||_0xeb09e3);return _0xeb09e3;};const je=Number[_0x1761eb(0x1d8)](0x69400444);let $=class extends _0x26ef11{['_initializeWithOverride'](){const _0x450c3b=_0x1761eb;var _0x52915b,_0x3d73dc;this[_0x450c3b(0x286)]()?(this['_injector'][_0x450c3b(0x20d)]([_0x2b23b1,{'useClass':ve}]),(_0x52915b=this[_0x450c3b(0x270)])!=null&&_0x52915b[_0x450c3b(0x25c)]||[[_0x9930af,{'useClass':Je}],[_0x21c40d,{'useClass':Re}],[_0xded5ed,{'useClass':we}]][_0x450c3b(0x1fc)](_0x198d0f=>this[_0x450c3b(0x252)][_0x450c3b(0x20d)](_0x198d0f))):(this[_0x450c3b(0x252)][_0x450c3b(0x20d)]([_0x2b23b1,{'useClass':_0x2b23b1}]),(_0x3d73dc=this['_config'])!=null&&_0x3d73dc['notExecuteFormula']||[[_0x9930af,{'useClass':_0xfcc63d}],[_0x21c40d,{'useClass':_0x2ce4a6}],[_0xded5ed,{'useClass':_0x4c3e32}]][_0x450c3b(0x1fc)](_0x1fb023=>this['_injector'][_0x450c3b(0x20d)](_0x1fb023)));}[_0x1761eb(0x286)](){const _0xc394f9=_0x1761eb;var _0x46f921;const _0x6fbf53=(_0x46f921=this[_0xc394f9(0x27b)]['getConfig'](_0x382386))!=null?_0x46f921:{},{ls:_0x363c81,pbk:_0x39da48}=_0x6fbf53;if(!_0x363c81||!_0x39da48)return!0x1;const _0x3ab9b6=_0x2d1734(Se,Me),_0x27db6c=new Function('return\x20'+_0x3ab9b6)()(_0x363c81,_0x39da48),_0x577aad=_0x27db6c['message'];return _0x27db6c['valid']&&_0x20ccb8(_0x577aad,'sf',je)?_0x277a49(_0x577aad,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};$=Ee([_0x4bd28e(_0x3387eb)],$);export{ve as LexerTreeProBuilder,$ as UniverProFormulaEnginePlugin};
|
|
1
|
+
function _0x2c76(_0x55e2ea,_0x260947){_0x55e2ea=_0x55e2ea-0x78;const _0x587d47=_0x587d();let _0x2c7616=_0x587d47[_0x55e2ea];return _0x2c7616;}const _0x34defa=_0x2c76;(function(_0x192ef6,_0x15b4ca){const _0x491eba=_0x2c76,_0x1bb17d=_0x192ef6();while(!![]){try{const _0x4f7db8=-parseInt(_0x491eba(0x114))/0x1*(parseInt(_0x491eba(0x13d))/0x2)+parseInt(_0x491eba(0x7b))/0x3+parseInt(_0x491eba(0xae))/0x4*(-parseInt(_0x491eba(0xb4))/0x5)+parseInt(_0x491eba(0x102))/0x6+parseInt(_0x491eba(0xb3))/0x7*(parseInt(_0x491eba(0x12c))/0x8)+parseInt(_0x491eba(0xe6))/0x9+-parseInt(_0x491eba(0xa8))/0xa;if(_0x4f7db8===_0x15b4ca)break;else _0x1bb17d['push'](_0x1bb17d['shift']());}catch(_0x39a7df){_0x1bb17d['push'](_0x1bb17d['shift']());}}}(_0x587d,0x9f8e2));var se=Object[_0x34defa(0x104)],ae=(_0x570ad8,_0x5477c7,_0x428807)=>_0x5477c7 in _0x570ad8?se(_0x570ad8,_0x5477c7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x428807}):_0x570ad8[_0x5477c7]=_0x428807,F=(_0xf87635,_0x36a0e4,_0x278de1)=>ae(_0xf87635,typeof _0x36a0e4!=_0x34defa(0xf0)?_0x36a0e4+'':_0x36a0e4,_0x278de1);import{LexerTreeBuilder as _0x13d74c,ErrorType as _0x3c1977,DEFAULT_TOKEN_TYPE_ROOT as _0x7487a4,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1f7b70,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x247446,NEW_EXCEL_FUNCTIONS as _0x2c387f,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xff3c25,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x339875,matchToken as _0x56a9e4,SUFFIX_TOKEN_SET as _0x516fed,prefixToken as _0x38437f,LexerNode as _0x5503d2,OPERATOR_TOKEN_SET as _0x1dbb8b,isReferenceString as _0x25f043,splitTableStructuredRef as _0x15c896,FormulaDependencyGenerator as _0x16cb4c,generateRandomDependencyTreeId as _0xa2d314,FormulaDependencyTree as _0x6041da,FormulaDependencyTreeType as _0x595298,FormulaDependencyTreeVirtual as _0x1d1b7a,generateAstNode as _0x33c714,CalculateFormulaService as _0x2eca83,FormulaExecuteStageType as _0x154c3d,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x42d0a5,DEFAULT_INTERVAL_COUNT as _0x563937,DependencyManagerBaseService as _0x3a580b,UniverFormulaEnginePlugin as _0x2dcfdc,ICalculateFormulaService as _0x2c1a94,IDependencyManagerService as _0x1d4b0e,IFormulaDependencyGenerator as _0x4a6250,DependencyManagerService as _0x40b0cd}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x38e6e5,LS_CONFIG_KEY as _0x53838b,unshiftString as _0x1fd102,isFeatureAuthorizedWithinTime as _0x4d179f,getSheetFeatureLimit as _0x14dda2}from'@univerjs-pro/license';import{ObjectMatrix as _0x2b1b44,requestImmediateMacroTask as _0x1ef183,RTree as _0x217338,DependentOn as _0x362a54}from'@univerjs/core';function _0x587d(){const _0x496f63=['_allTreeMap','_otherFormulaDataMainData','PLUS','_getDependencyTreeChildrenIds','message','setFormulaExecuteStage','edkhlATk\x20RJhwtnlATk(PAhJkIJ,\x20ndXPAhyJt)\x20{\x20\x20\x20\x20lwt\x20{\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20PAhJkIJEkeT1owlNwwot\x20=\x20PAhJkIJ.InPAl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20TwAWAkYJIIoWJ\x20=\x20zFc5.nowIJ(olTX(PAhJkIJEkeT1owlNwwot[9]));\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!TwAWAkYJIIoWJ.dR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TwAWAkYJIIoWJ.dR\x20=\x205dZXJw(PAhJkIJEkeT1owlNwwot[p]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AIsTwvJw\x20=\x20ltnJTe\x20sTwvJwSPTXoPFhTnJ\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20IJPe\x20AkIlokhJTe\x20sTwvJwSPTXoPFhTnJ;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20AI2wTxIJw\x20=\x20ltnJTe\x20xAkRTx\x20!==\x20\x27dkRJeAkJR\x27\x20&&\x20ltnJTe\x20xAkRTx.PTholATk\x20!==\x20\x27dkRJeAkJR\x27;\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20hTklJul\x20=\x20AIsTwvJw\x20?\x20IJPe\x20:\x20(AI2wTxIJw\x20?\x20xAkRTx\x20:\x20WPTXoP4GAI);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[9]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20ZJIIoWJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(ZJIIoWJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJsTwR\x20=\x20hTklJul.__2oIJgp__.nowIJ(PAhJkIJEkeT1owlNwwot[q]);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkoldwJ\x20=\x20hTklJul.__DJu__.IlwAkWAet(IAWkoldwJsTwR);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20IAWkVoPAR\x20=\x20hTklJul.__HJwAet__(IAWkoldwJ,\x20ZJIIoWJ,\x20ndXPAhyJt);\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20RTZoAk\x20=\x20TwAWAkYJIIoWJ.RZ;\x20\x20\x20\x20\x20\x20\x20\x20edkhlATk\x20AILTZoAkYolhGAkW(T1ollJwk,\x20TDTIl)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk\x20=\x20T1ollJwk.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl\x20=\x20TDTIl.wJnPohJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwk1owlI\x20=\x20nollJwk.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIl1owlI\x20=\x20GTIl.InPAl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(!nollJwk.AkhPdRJI(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwk\x20===\x20GTIl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(nollJwk1owlI.PJkWlG\x20<\x209\x20||\x20nollJwk1owlI[f]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20nollJwkFdeeAu\x20=\x20nollJwk1owlI.IPAhJ(0).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20GTIlFdeeAu\x20=\x20GTIl1owlI.IPAhJ(-nollJwk1owlI.PJkWlG\x20+\x200).aTAk(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20nollJwkFdeeAu\x20===\x20GTIlFdeeAu;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20PJl\x20RTZoAkVoPAR\x20=\x20eoPIJ;\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(AI2wTxIJw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20(RTZoAk\x20&&\x20RTZoAk.PJkWlG)\x20?\x20RTZoAk.ITZJ((RZElJZ)\x20=>\x20AILTZoAkYolhGAkW(RZElJZ,\x20PTholATk.GTIlkoZJ))\x20:\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Ae\x20(PTholATk.GTIlkoZJ\x20===\x20\x27PThoPGTIl\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JPIJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RTZoAkVoPAR\x20=\x20lwdJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20hTkIl\x20HoPAR\x20=\x20IAWkVoPAR\x20&&\x20RTZoAkVoPAR;\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20TwAWAkYJIIoWJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20holhG\x20(JwwTw)\x20{\x20\x20\x20\x20\x20\x20\x20\x20wJldwk\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HoPAR:\x20eoPIJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZJIIoWJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clear','values','getOtherFormulaDependency','isExcludeRange','_getFeatureFormulaTree','treeId','endColumn','featureId','_getDependencyTreeParenIds','slice','getDirtyNameMap','ParentDependencyTree\x20object\x20is\x20null','_xlpm.','setValue','markedAsStopFunctionsExecuted','_handleChildrenForExprTree','VALUE','enableCycleDependency','clearFormulaDependency','addFeatureFormulaDependency','addFormulaDependencyByDefinedName','forEach','getConfig','getStartIndex','getNewFormulaWithPrefix','addFormulaDependency','START_DEPENDENCY','IDLE','_otherFormulaData','_dependencyManagerService','getAllRuntimeData','getFormulaExprTree','COLON','toUpperCase','_config','dirtyRanges','endRow','5217381wvEUUs','type','_handleLambdaForExprTree','OTHER_FORMULA','notExecuteFormula','max','intervalCount','dependencySheetName','setRuntimeFeatureCellData','_xlfnPrefix','symbol','_calculateRunList','startIndex','_injector','_startFormulaDependencyTreeModel','_astTreeBuilder','_getUpdateTreeListAndMakeDependency','refOffsetY','_getTreeNode','searchDependency','_currentUnitId','forValue','_generateTreeList','subUnitId','_definedNameMap','refOffsetX','formulaId','removeFeatureFormulaDependency','1672704kzZJTu','_configService','defineProperty','_checkIsCycleDependency','_traverse','getDirtyRanges','_xlpmPrefix','_formulaData','isSkip','addOtherFormulaDependency','_interpreter','has','treeBuilder','START_CALCULATION','closeKdTree','add','featureDirtyRanges','isStopExecution','210818WeBfwH','children','_handleNewFunctionChild','startRow','getChildren','setRuntimeData','resetCalculationState','setCompletedFormulasCount','getOwnPropertyDescriptor','FEATURE_FORMULA','setAdded','_createFDtree','_currentConfigService','_restDependencyTreeId','_removeDependencyRTreeCacheById','isAdded','_registerOtherFormulas','_removeAllTreeMap','valid','keys','_resetPrefix','_xlfn.','_lambdaFunctionParameterSet','_getTableNameFromStructuredRef','1864vEmIlY','removeFormulaDependency','getFormulaData','_hasNewExcelFunction','_executionCompleteListener$','_handleTextNodeForExprTree','_initLicenseValid','clearFeatureFormulaDependency','min','removeFormulaDependencyByDefinedName','row','rangeList','pop','addOtherFormulaDependencyMainData','unitId','isVirtual','isCache','2PCoeGq','column','_formulaDependencyGenerator','trim','_convertDirtyRangesToUnitRange','_getAllDependencyJson','_clearFunctionString','delete','_isCyclicUtilMap','getRuntimeState','dispose','setTotalArrayFormulasToCalculate','_getAllTreeList','isArray','node','string','setSkip','_removeDependencyRTreeCache','_initializeGenerateTreeList','1447203KMYKZx','_updateRangeFlatten','clearOtherFormulaDependency','_dependencyRTreeCacheForAddressFunction','setTotalFormulasToCalculate','getExcludedRange','_getCurNodeTypeForExprTree','START_CALCULATION_ARRAY_FORMULA','return\x20','_getTreeById','_runtimeService','_getFirstCellOfRange','_executionInProgressListener$','setCompletedArrayFormulasCount','rowCount','error','_dependencyRTreeCache','bulkSearch','toRTreeItem','push','getValue','CURRENTLY_CALCULATING_ARRAY_FORMULA','size','getFormulaDependency','from','endsWith','getDirtyData','generate','_generateNewFunctionString','markedAsNoFunctionsExecuted','formula','_generateExprTree','length','_endFormulaDependencyTreeModel','sheetId','_lexer','setRuntimeOtherData','getToken','set','get','_registerFormulas','_initializeWithOverride','_otherFormulaManagerService','_featureFormulaData','checkAsyncNode','8185210rUswXf','clearArrayObjectCache','START_DEPENDENCY_ARRAY_FORMULA','startColumn','_checkAddBracketForMinus','join','41944Kikcai','getClearDependencyTreeCache','openKdTree','parseInt','_isCalculateTreeModel','29491GDGaST','305HWkycf','_dependencyTreeCache','MINUS','\x22\x20is\x20duplicated.','next','columnCount'];_0x587d=function(){return _0x496f63;};return _0x587d();}class De extends _0x13d74c{constructor(){const _0x518306=_0x34defa;super(...arguments),F(this,_0x518306(0x12f),!0x1),F(this,_0x518306(0x12a),new Set()),F(this,_0x518306(0x108),_0x518306(0xcd)),F(this,_0x518306(0xef),_0x518306(0x129)),F(this,_0x518306(0xfa),'');}['_resetPrefix'](){const _0x5241da=_0x34defa;this[_0x5241da(0x108)]=_0x5241da(0xcd),this[_0x5241da(0xef)]=_0x5241da(0x129);}['_clearPrefix'](){const _0xf7ca35=_0x34defa;this[_0xf7ca35(0x108)]='',this[_0xf7ca35(0xef)]='';}[_0x34defa(0xd9)](_0x3d417f,_0x18a32d){const _0x503276=_0x34defa,_0x2048d9=this[_0x503276(0x10e)](_0x3d417f,!0x1);if(!_0x2048d9||_0x2048d9===_0x3c1977[_0x503276(0xd1)]||Array[_0x503276(0x14a)](_0x2048d9))return null;const _0x3fe752=[];return this[_0x503276(0x12f)]=!0x1,this[_0x503276(0x97)](_0x2048d9,_0x3fe752,_0x18a32d),this[_0x503276(0x12f)]?'='+_0x3fe752[_0x503276(0xad)](''):null;}[_0x34defa(0x97)](_0x242f15,_0x1c9e27,_0x35e082){const _0x3f91d7=_0x34defa,_0x27043c=_0x242f15[_0x3f91d7(0xa0)](),_0x2ff0ff=_0x27043c[_0x3f91d7(0x140)](),_0x1dada2=_0x2ff0ff[_0x3f91d7(0xe2)](),_0x5480a3=this[_0x3f91d7(0x143)](_0x1dada2),_0x2d86f9=_0x35e082(_0x5480a3);let _0x15b8e2=0x0;_0x27043c===_0x7487a4?_0x15b8e2=0x3:_0x27043c===_0x1f7b70?_0x15b8e2=0x4:_0x27043c===_0x247446?_0x15b8e2=0x5:_0x2c387f['has'](_0x5480a3)?(_0x1c9e27[_0x3f91d7(0x8e)](''+this['_xlfnPrefix']+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0):_0x1dada2===_0xff3c25?(_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0xef)]+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0,_0x15b8e2=0x2):_0x1dada2===_0x339875?(_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0xef)]+_0x2ff0ff),this[_0x3f91d7(0x12f)]=!0x0,_0x15b8e2=0x1):_0x1dada2===_0x56a9e4[_0x3f91d7(0xe1)]?_0x15b8e2=0x8:_0x516fed[_0x3f91d7(0x10d)](_0x1dada2)?_0x15b8e2=0x7:_0x1dada2===_0x38437f[_0x3f91d7(0xb6)]?(this['_checkAddBracketForMinus'](_0x242f15)&&(_0x15b8e2=0x9),_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c)):(_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),_0x15b8e2=0xa),_0x2d86f9?(_0x15b8e2!==0x2&&_0x15b8e2!==0x1&&(_0x15b8e2=0x6),_0x1c9e27['push']('(')):_0x15b8e2===0x9&&_0x1c9e27[_0x3f91d7(0x8e)]('(');const _0x51572e=_0x242f15['getChildren'](),_0x13aac7=_0x51572e['length'];if(_0x15b8e2===0x2){const _0x207d26=_0x51572e[0x0];let _0x3bac19=0x0;_0x207d26 instanceof _0x5503d2&&_0x207d26[_0x3f91d7(0xa0)]()===_0x247446&&(_0x3bac19=0x1);for(let _0x4d25d5=_0x3bac19;_0x4d25d5<_0x13aac7-0x1;_0x4d25d5++){const _0x2fa081=_0x51572e[_0x4d25d5];if(_0x2fa081 instanceof _0x5503d2){const _0x2fb23e=_0x2fa081[_0x3f91d7(0x118)]()[0x0];typeof _0x2fb23e==_0x3f91d7(0x14c)&&(this[_0x3f91d7(0x12a)][_0x3f91d7(0x10d)](_0x2fb23e)&&console[_0x3f91d7(0x8a)]('Lambda\x20parameter\x20name\x20\x22'+_0x2fb23e+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3f91d7(0x111)](_0x2fb23e),_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0x108)]+_0x2fb23e),this[_0x3f91d7(0x12f)]=!0x0);}_0x1c9e27['push'](',');}this['_handleNewFunctionChild'](_0x51572e[_0x13aac7-0x1],_0x1c9e27,_0x35e082),_0x3bac19===0x1&&(_0x1c9e27[_0x3f91d7(0x8e)](')'),_0x1c9e27[_0x3f91d7(0x8e)]('('),this['_generateNewFunctionString'](_0x207d26,_0x1c9e27,_0x35e082)),_0x1c9e27['push'](')');return;}else{if(_0x15b8e2===0x1){for(let _0x566bb7=0x0;_0x566bb7<_0x13aac7-0x1;_0x566bb7++){const _0x48401a=_0x51572e[_0x566bb7];if(_0x48401a instanceof _0x5503d2&&_0x566bb7%0x2===0x0){const _0x538f8f=_0x48401a[_0x3f91d7(0x118)]()[0x0];if(typeof _0x538f8f==_0x3f91d7(0x14c)){this['_lambdaFunctionParameterSet']['has'](_0x538f8f)&&console[_0x3f91d7(0x8a)]('Let\x20variable\x20name\x20\x22'+_0x538f8f+_0x3f91d7(0xb7)),this['_lambdaFunctionParameterSet']['add'](_0x538f8f),_0x1c9e27[_0x3f91d7(0x8e)](''+this[_0x3f91d7(0x108)]+_0x538f8f),this[_0x3f91d7(0x12f)]=!0x0,_0x1c9e27[_0x3f91d7(0x8e)](',');continue;}}if(this[_0x3f91d7(0x116)](_0x48401a,_0x1c9e27,_0x35e082),_0x48401a instanceof _0x5503d2){const _0x2062a8=_0x51572e[_0x566bb7+0x1];_0x2062a8&&_0x2062a8 instanceof _0x5503d2&&_0x1c9e27[_0x3f91d7(0x8e)](',');}}this[_0x3f91d7(0x116)](_0x51572e[_0x13aac7-0x1],_0x1c9e27,_0x35e082),_0x1c9e27[_0x3f91d7(0x8e)](')');return;}else{if(_0x15b8e2===0x8){const _0x19b2cf=_0x51572e[0x0],_0xa64226=_0x51572e[0x1];this['_handleNewFunctionChild'](_0x19b2cf,_0x1c9e27,_0x35e082),_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),this[_0x3f91d7(0x116)](_0xa64226,_0x1c9e27,_0x35e082);return;}}}for(let _0x46f84b=0x0;_0x46f84b<_0x13aac7;_0x46f84b++){const _0x4dc179=_0x51572e[_0x46f84b];if(this[_0x3f91d7(0x116)](_0x4dc179,_0x1c9e27,_0x35e082),_0x4dc179 instanceof _0x5503d2){const _0x22b723=_0x51572e[_0x46f84b+0x1];_0x22b723&&_0x22b723 instanceof _0x5503d2&&_0x1c9e27[_0x3f91d7(0x8e)](',');}}_0x15b8e2===0x7&&_0x1c9e27[_0x3f91d7(0x8e)](_0x27043c),(_0x2d86f9||_0x15b8e2===0x9)&&_0x1c9e27[_0x3f91d7(0x8e)](')');}[_0x34defa(0x116)](_0x3cd3c9,_0x503125,_0x13e576){const _0x5df0a7=_0x34defa;_0x3cd3c9 instanceof _0x5503d2?this['_generateNewFunctionString'](_0x3cd3c9,_0x503125,_0x13e576):this[_0x5df0a7(0x12a)]['has'](_0x3cd3c9)?(_0x503125[_0x5df0a7(0x8e)](''+this[_0x5df0a7(0x108)]+_0x3cd3c9),this[_0x5df0a7(0x12f)]=!0x0):_0x503125[_0x5df0a7(0x8e)](_0x3cd3c9);}[_0x34defa(0x143)](_0x7651b0){const _0x5d7eb3=_0x34defa;let _0x21c224=_0x7651b0[_0x5d7eb3(0x140)]();if(!_0x21c224)return _0x21c224;const _0x2ff1c4=_0x21c224[0x0];if((_0x2ff1c4===_0x38437f['AT']||_0x2ff1c4===_0x38437f[_0x5d7eb3(0xb6)]||_0x2ff1c4===_0x38437f[_0x5d7eb3(0xbc)])&&(_0x21c224=_0x21c224['slice'](0x1)),!_0x21c224)return _0x21c224;const _0x4c7585=_0x21c224[_0x21c224[_0x5d7eb3(0x9b)]-0x1];return _0x516fed[_0x5d7eb3(0x10d)](_0x4c7585)&&(_0x21c224=_0x21c224[_0x5d7eb3(0xca)](0x0,-0x1)),_0x21c224;}[_0x34defa(0xac)](_0x3adaf8){const _0x57f47a=_0x34defa,_0x5e8489=_0x3adaf8[_0x57f47a(0x118)]()[0x0];if(!_0x5e8489||!(_0x5e8489 instanceof _0x5503d2)||_0x3adaf8[_0x57f47a(0x118)]()[_0x57f47a(0x9b)]>0x1)return!0x1;const _0x50e57f=_0x5e8489[_0x57f47a(0x118)](),_0x45b489=_0x50e57f[_0x57f47a(0x9b)];if(_0x45b489===0x1)return!0x1;for(let _0x3a4383=0x0;_0x3a4383<_0x45b489;_0x3a4383++){const _0x1758af=_0x50e57f[_0x3a4383];if(!(_0x1758af instanceof _0x5503d2)&&_0x1dbb8b[_0x57f47a(0x10d)](_0x1758af))return!0x0;}return!0x1;}[_0x34defa(0xe0)](_0x644265,_0xfee32e,_0x45345e,_0x301ca7,_0x15aef4){const _0x2d1bc4=_0x34defa,_0x2ed576=this[_0x2d1bc4(0x10e)](_0x644265,!0x1);if(!_0x2ed576||_0x2ed576===_0x3c1977[_0x2d1bc4(0xd1)]||Array[_0x2d1bc4(0x14a)](_0x2ed576))return null;this['_clearPrefix'](),this[_0x2d1bc4(0xfa)]=_0xfee32e;const _0x58c704=this[_0x2d1bc4(0x9a)](_0x2ed576,_0x45345e,_0x301ca7,_0x15aef4);return this['_currentUnitId']='',this[_0x2d1bc4(0x128)](),_0x58c704;}['_generateExprTree'](_0x2ca8f9,_0xe5b1e5,_0x21da35,_0x503649){const _0x2aa803=_0x34defa,_0x35687c={'value':'','children':[],'startIndex':0x0};let _0x11c234=_0x2ca8f9;if(_0x11c234 instanceof _0x5503d2&&(_0x11c234['getToken']()===_0x7487a4||_0x11c234[_0x2aa803(0xa0)]()===_0x1f7b70)&&_0x11c234[_0x2aa803(0x118)]()[_0x2aa803(0x9b)]===0x1&&(_0x11c234=_0x11c234[_0x2aa803(0x118)]()[0x0]),!(_0x11c234 instanceof _0x5503d2))return this[_0x2aa803(0x131)](_0x11c234,_0x21da35,_0x503649);const _0x3928a3=_0x11c234[_0x2aa803(0x118)](),_0x53a3a2=_0x3928a3[_0x2aa803(0x9b)],_0x32c731=[];this[_0x2aa803(0x97)](_0x11c234,_0x32c731,_0xe5b1e5),_0x35687c['value']=_0x32c731[_0x2aa803(0xad)](''),_0x35687c[_0x2aa803(0xf2)]=_0x11c234[_0x2aa803(0xd8)]();const _0x39e250=this['_getCurNodeTypeForExprTree'](_0x11c234);if(_0x39e250===0x2){const _0x2d6b36=_0x3928a3[0x0];if(_0x2d6b36 instanceof _0x5503d2){if(_0x2d6b36[_0x2aa803(0xa0)]()[_0x2aa803(0x140)]()!==_0x247446)return _0x35687c;this[_0x2aa803(0xe8)](_0x2d6b36,_0x35687c,_0xe5b1e5,_0x21da35,_0x503649);}return _0x35687c;}else{if(_0x39e250===0x1){for(let _0x406239=0x0;_0x406239<_0x53a3a2-0x1;_0x406239++){const _0x4b16b3=_0x3928a3[_0x406239];if(_0x4b16b3 instanceof _0x5503d2&&_0x406239%0x2===0x1){const _0x2f54cf=_0x4b16b3[_0x2aa803(0x118)]();if(_0x2f54cf['length']===0x1&&!(_0x2f54cf[0x0]instanceof _0x5503d2))continue;const _0x58a67c=this['_generateExprTree'](_0x4b16b3,_0xe5b1e5,_0x21da35,_0x503649);_0x58a67c&&_0x35687c[_0x2aa803(0x115)][_0x2aa803(0x8e)](_0x58a67c);}}return _0x35687c;}else{if(_0x39e250===0x8){const _0x2c6d63=_0x3928a3[0x0];if(_0x2c6d63 instanceof _0x5503d2){const _0x3d3715=_0x2c6d63[_0x2aa803(0x118)]()[0x0];_0x3d3715 instanceof _0x5503d2&&(_0x35687c[_0x2aa803(0xf2)]=_0x3d3715[_0x2aa803(0xd8)]());}}else{if(_0x39e250===0x7){const _0x51031c=_0x3928a3[0x0];if(_0x51031c instanceof _0x5503d2){const _0x4bca5d=_0x51031c[_0x2aa803(0x118)]()[0x0];_0x4bca5d instanceof _0x5503d2&&(_0x35687c['startIndex']=_0x4bca5d['getStartIndex']());}}}}}return this[_0x2aa803(0xd0)](_0x3928a3,_0x39e250,_0x35687c,_0xe5b1e5,_0x21da35,_0x503649),_0x35687c;}[_0x34defa(0xd0)](_0x5c773a,_0x2ce801,_0x2c532a,_0x449a3a,_0x249435,_0x5bebd5){const _0x424011=_0x34defa;for(let _0x92ccfc=0x0;_0x92ccfc<_0x5c773a[_0x424011(0x9b)];_0x92ccfc++){let _0x3b1653=_0x5c773a[_0x92ccfc];if(!(_0x3b1653 instanceof _0x5503d2)){const _0xf47874=this['_handleTextNodeForExprTree'](_0x3b1653,_0x249435,_0x5bebd5);_0xf47874&&_0x2c532a[_0x424011(0x115)][_0x424011(0x8e)](_0xf47874);continue;}const _0x13a1eb=_0x3b1653[_0x424011(0x118)]();if(_0x13a1eb[_0x424011(0x9b)]===0x1&&!(_0x13a1eb[0x0]instanceof _0x5503d2)){const _0x2f6ac5=_0x13a1eb[0x0];if(!_0x249435(this['_currentUnitId'],_0x2f6ac5)&&!this[_0x424011(0x12b)](_0x2f6ac5,_0x5bebd5)&&!_0x25f043(_0x2f6ac5))continue;}if(_0x2ce801===0x8){const _0x2d189f=_0x13a1eb[0x0];if(_0x2d189f instanceof _0x5503d2){const _0x5ea445=_0x2d189f[_0x424011(0xa0)]()[_0x424011(0x140)]();if(_0x25f043(_0x5ea445))continue;_0x3b1653=_0x2d189f;}}const _0x4e05e5=this[_0x424011(0x9a)](_0x3b1653,_0x449a3a,_0x249435,_0x5bebd5);_0x4e05e5&&_0x2c532a[_0x424011(0x115)][_0x424011(0x8e)](_0x4e05e5);}}[_0x34defa(0x131)](_0x56cbc9,_0x5b1267,_0x27c0dd){const _0x44f306=_0x34defa,_0x4f1cae=_0x56cbc9[_0x44f306(0x140)]();return _0x4f1cae['startsWith']('{')&&_0x4f1cae[_0x44f306(0x94)]('}')||_0x5b1267(this[_0x44f306(0xfa)],_0x4f1cae)||this[_0x44f306(0x12b)](_0x4f1cae,_0x27c0dd)||_0x25f043(_0x4f1cae)?{'value':_0x4f1cae,'children':[],'startIndex':-0x1}:null;}[_0x34defa(0x12b)](_0x20f2bb,_0x458cd0){const _0x1e2d71=_0x34defa,{tableName:_0x1913ff}=_0x15c896(_0x20f2bb);return _0x458cd0(this[_0x1e2d71(0xfa)],_0x1913ff)?_0x1913ff:null;}[_0x34defa(0xe8)](_0x14fe07,_0x4b3153,_0x296cfa,_0x45b812,_0x3855f7){const _0x497144=_0x34defa,_0x3e16fc=_0x14fe07[_0x497144(0x118)]();for(let _0x1e50e5=0x0;_0x1e50e5<_0x3e16fc[_0x497144(0x9b)];_0x1e50e5++){const _0x3b99c0=_0x3e16fc[_0x1e50e5];if(!(_0x3b99c0 instanceof _0x5503d2))continue;const _0x1475b4=_0x3b99c0[_0x497144(0x118)]();if(_0x1475b4[_0x497144(0x9b)]===0x1&&!(_0x1475b4[0x0]instanceof _0x5503d2))continue;const _0x4409fe=this[_0x497144(0x9a)](_0x3b99c0,_0x296cfa,_0x45b812,_0x3855f7);_0x4409fe&&_0x4b3153[_0x497144(0x115)]['push'](_0x4409fe);}}[_0x34defa(0x81)](_0x429492){const _0x1914e7=_0x34defa,_0x751e46=_0x429492[_0x1914e7(0xa0)](),_0xfb0106=_0x751e46[_0x1914e7(0x140)]()[_0x1914e7(0xe2)]();let _0x4c564f=0x0;return _0x751e46===_0x7487a4?_0x4c564f=0x3:_0x751e46===_0x1f7b70?_0x4c564f=0x4:_0x751e46===_0x247446?_0x4c564f=0x5:_0xfb0106===_0xff3c25?_0x4c564f=0x2:_0xfb0106===_0x339875?_0x4c564f=0x1:_0xfb0106===_0x56a9e4['COLON']?_0x4c564f=0x8:_0x516fed[_0x1914e7(0x10d)](_0xfb0106)?_0x4c564f=0x7:_0xfb0106===_0x38437f[_0x1914e7(0xb6)]?this[_0x1914e7(0xac)](_0x429492)&&(_0x4c564f=0x9):_0x4c564f=0xa,_0x4c564f;}}const we={0x0:'1',0x1:'P',0x2:'B',0x3:'5',0x4:'T',0x5:'N',0x6:'7',0x7:'9',0x8:'R',0x9:'2','f':'0','q':'3','p':'4','g':'6','Q':'8','o':'a','X':'b','h':'c','R':'d','J':'e','e':'f','W':'g','G':'h','A':'i','a':'j','v':'k','P':'l','Z':'m','k':'n','T':'o','n':'p','j':'q','w':'r','I':'s','l':'t','d':'u','H':'v','x':'w','u':'x','t':'y','C':'z','N':'A','b':'C','L':'D','U':'E','M':'F','S':'G','D':'H','E':'I','z':'J','y':'K','B':'L','Y':'M','c':'O','i':'Q','F':'S','m':'U','V':'V','s':'W','r':'X','O':'Y','K':'Z'},ke=_0x34defa(0xc0);class Re extends _0x16cb4c{constructor(){const _0x32f66d=_0x34defa;super(...arguments),F(this,_0x32f66d(0xb5),new Map());}[_0x34defa(0x147)](){const _0x5cd3e4=_0x34defa;super['dispose'](),this[_0x5cd3e4(0xb5)][_0x5cd3e4(0xc1)]();}async[_0x34defa(0x96)](_0x4aaace=!0x1){const _0x3cc8ad=_0x34defa;this[_0x3cc8ad(0x7c)]();const _0x18115a=this[_0x3cc8ad(0x120)][_0x3cc8ad(0x12e)](),_0x14fa34=this[_0x3cc8ad(0xa5)]['getOtherFormulaData'](),_0x575582=this[_0x3cc8ad(0x120)][_0x3cc8ad(0xaf)]();_0x575582!=null&&Object['keys'](_0x575582)[_0x3cc8ad(0xd6)](_0x3e6da5=>{const _0x573fa9=_0x3cc8ad;_0x3e6da5!=null&&Object[_0x573fa9(0x127)](_0x575582[_0x3e6da5])[_0x573fa9(0xd6)](_0x2f3ba8=>{const _0x253576=_0x573fa9;_0x2f3ba8!=null&&(this[_0x253576(0xde)][_0x253576(0x7d)](_0x3e6da5,_0x2f3ba8),this['_dependencyManagerService'][_0x253576(0x133)](_0x3e6da5,_0x2f3ba8),this[_0x253576(0xde)][_0x253576(0xd3)](_0x3e6da5,_0x2f3ba8));});});const _0x4ce248=this[_0x3cc8ad(0x120)]['getUnitData']();await this[_0x3cc8ad(0xfc)](_0x18115a,_0x14fa34,_0x4ce248),this[_0x3cc8ad(0xde)][_0x3cc8ad(0xb0)]();const _0x3bd394=this[_0x3cc8ad(0xf6)](),_0x2a442a=this[_0x3cc8ad(0xf1)](_0x3bd394);return this[_0x3cc8ad(0x105)](_0x2a442a)&&this[_0x3cc8ad(0x85)][_0x3cc8ad(0xd2)](),_0x4aaace&&this[_0x3cc8ad(0x85)]['setDependencyTreeModelData'](this[_0x3cc8ad(0x142)](Array[_0x3cc8ad(0x93)](this[_0x3cc8ad(0xb5)][_0x3cc8ad(0xc2)]()))),this[_0x3cc8ad(0xb5)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x3cc8ad(0xc1)](),this[_0x3cc8ad(0xde)][_0x3cc8ad(0x110)](),this[_0x3cc8ad(0x85)][_0x3cc8ad(0xa9)](),Promise['resolve'](_0x2a442a);}[_0x34defa(0x145)](_0x195c01,_0x587ca9){const _0x1587ad=_0x34defa,_0x14e88f=[_0x195c01];for(;_0x14e88f[_0x1587ad(0x9b)]>0x0;){const _0x1fd620=_0x14e88f[_0x14e88f[_0x1587ad(0x9b)]-0x1];if((_0x587ca9[_0x1587ad(0xa2)](_0x1fd620)||0x0)===0x0){_0x587ca9[_0x1587ad(0xa1)](_0x1fd620,0x1);const _0x439b80=this[_0x1587ad(0xb5)][_0x1587ad(0xa2)](_0x1fd620);if(_0x439b80==null){_0x587ca9['set'](_0x1fd620,0x2),_0x14e88f[_0x1587ad(0x138)]();continue;}const _0x4c1291=this[_0x1587ad(0xde)]['searchDependency'](_0x439b80['toRTreeItem']());for(const _0x53b21b of _0x4c1291){const _0x50e04c=_0x587ca9[_0x1587ad(0xa2)](_0x53b21b)||0x0;if(_0x50e04c===0x1)return!0x0;_0x50e04c===0x0&&_0x14e88f[_0x1587ad(0x8e)](_0x53b21b);}}else _0x587ca9['set'](_0x1fd620,0x2),_0x14e88f[_0x1587ad(0x138)]();}return!0x1;}['_checkIsCycleDependency'](_0x269b03){const _0x1b3e64=_0x34defa,_0x24e500=new Map();for(const _0x5ed983 of _0x269b03)if(!_0x24e500[_0x1b3e64(0x10d)](_0x5ed983[_0x1b3e64(0xc6)])&&this[_0x1b3e64(0x145)](_0x5ed983[_0x1b3e64(0xc6)],_0x24e500))return!0x0;return _0x24e500[_0x1b3e64(0xc1)](),!0x1;}[_0x34defa(0xc5)](_0x3529cd,_0x437e23,_0x5a7ee2){const _0x4b414e=_0x34defa,{unitId:_0x3f58f9,subUnitId:_0x305bd5,dependencyRanges:_0x42d99e,getDirtyData:_0x56663d}=_0x5a7ee2,_0xbb78ec=_0x437e23||_0xa2d314(this[_0x4b414e(0xde)]),_0x530017=new _0x6041da(_0xbb78ec);_0x530017[_0x4b414e(0x13a)]=_0x3f58f9,_0x530017[_0x4b414e(0xfd)]=_0x305bd5,_0x530017[_0x4b414e(0x137)]=_0x42d99e,_0x530017['getDirtyData']=_0x56663d;const _0x55336b=_0x56663d(this[_0x4b414e(0x120)]['getDirtyData'](),this[_0x4b414e(0x85)]['getAllRuntimeData']()),_0x1c1044=this[_0x4b414e(0x141)](_0x55336b[_0x4b414e(0xe4)]);return _0x530017[_0x4b414e(0x112)]=_0x1c1044,_0x530017[_0x4b414e(0xc8)]=_0x3529cd,_0x530017[_0x4b414e(0xe7)]=_0x595298[_0x4b414e(0x11d)],this[_0x4b414e(0xde)]['addFeatureFormulaDependency'](_0x3f58f9,_0x305bd5,_0x3529cd,_0x530017),this['_dependencyTreeCache'][_0x4b414e(0xa1)](_0x530017[_0x4b414e(0xc6)],_0x530017),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x5a7ee2[_0x4b414e(0x13a)],_0x5a7ee2[_0x4b414e(0xfd)],_0x3529cd)&&(_0x530017[_0x4b414e(0x13c)]=!0x0),_0x530017;}[_0x34defa(0x124)](_0x46841c,_0x45a301,_0x3717fc){const _0x4a6aed=_0x34defa;var _0x50d7b1;for(const _0x39110a of _0x45a301){const _0x2c9e45=_0x46841c[_0x39110a];if(_0x2c9e45==null)continue;const _0x3b9d47=Object[_0x4a6aed(0x127)](_0x2c9e45);for(const _0x53c19e of _0x3b9d47){const _0x5e0dc0=_0x2c9e45[_0x53c19e];if(_0x5e0dc0==null)continue;const _0x361531=Object[_0x4a6aed(0x127)](_0x5e0dc0);for(const _0x1599a9 of _0x361531){const _0x36f703=this[_0x4a6aed(0xde)]['hasOtherFormulaDataMainData'](_0x1599a9),_0x35c1c7=_0x5e0dc0[_0x1599a9],{f:_0xe61b1e,ranges:_0x25ac35}=_0x35c1c7;let _0x2715d5=!0x1;_0x36f703&&(_0x2715d5=!0x0);const {firstRow:_0x18b607,firstColumn:_0x542d29}=this[_0x4a6aed(0x86)](_0x25ac35),_0x1382e1=this[_0x4a6aed(0xde)][_0x4a6aed(0xc3)](_0x39110a,_0x53c19e,_0x1599a9),_0xbae890=(_0x50d7b1=_0x1382e1==null?void 0x0:_0x1382e1[_0x4a6aed(0x8f)](0x0,0x0))!=null?_0x50d7b1:_0xa2d314(this[_0x4a6aed(0xde)]),_0x439143=new _0x6041da(_0xbae890);for(let _0x18cdc3=0x0;_0x18cdc3<_0x25ac35[_0x4a6aed(0x9b)];_0x18cdc3++){const _0xb1b514=_0x25ac35[_0x18cdc3],{startRow:_0x45a0b8,startColumn:_0x12a613,endRow:_0xb03280,endColumn:_0x24d776}=_0xb1b514;for(let _0x1ed514=_0x45a0b8;_0x1ed514<=_0xb03280;_0x1ed514++)for(let _0x5e9d2b=_0x12a613;_0x5e9d2b<=_0x24d776;_0x5e9d2b++){const _0x4e94e9=_0x5e9d2b-_0x542d29,_0x35a99f=_0x1ed514-_0x18b607;if(_0x4e94e9===0x0&&_0x35a99f===0x0){_0x439143['formula']=_0xe61b1e,_0x439143[_0x4a6aed(0x13a)]=_0x39110a,_0x439143[_0x4a6aed(0xfd)]=_0x53c19e,_0x439143[_0x4a6aed(0x100)]=_0x1599a9,_0x439143[_0x4a6aed(0xe7)]=_0x595298[_0x4a6aed(0xe9)],_0x439143[_0x4a6aed(0x13c)]=_0x2715d5,_0x3717fc[_0x4a6aed(0x8e)](_0x439143),this['_dependencyTreeCache']['set'](_0x439143[_0x4a6aed(0xc6)],_0x439143),this[_0x4a6aed(0xde)][_0x4a6aed(0x10b)](_0x39110a,_0x53c19e,_0x1599a9,_0x439143),this[_0x4a6aed(0xde)][_0x4a6aed(0xd5)](_0x439143);continue;}const _0x55ea97=new _0x1d1b7a();_0x55ea97[_0x4a6aed(0xc6)]=(_0x1382e1==null?void 0x0:_0x1382e1['getValue'](_0x4e94e9,_0x35a99f))||_0xa2d314(this[_0x4a6aed(0xde)]),_0x55ea97['refTree']=_0x439143,_0x55ea97[_0x4a6aed(0xff)]=_0x4e94e9,_0x55ea97[_0x4a6aed(0xf7)]=_0x35a99f,_0x55ea97[_0x4a6aed(0x13c)]=_0x2715d5,_0x55ea97[_0x4a6aed(0xe7)]=_0x595298[_0x4a6aed(0xe9)],this[_0x4a6aed(0xde)][_0x4a6aed(0x10b)](_0x39110a,_0x53c19e,_0x1599a9,_0x55ea97),this[_0x4a6aed(0xde)][_0x4a6aed(0xd5)](_0x55ea97),_0x3717fc[_0x4a6aed(0x8e)](_0x55ea97),this[_0x4a6aed(0xb5)][_0x4a6aed(0xa1)](_0x55ea97['treeId'],_0x55ea97);}}this[_0x4a6aed(0xde)][_0x4a6aed(0x139)](_0x1599a9);}}}}[_0x34defa(0xa3)](_0x3639dd,_0x4e596f,_0x24a3eb,_0x17f869){const _0x4671ee=_0x34defa;for(const _0x2730d8 of _0x3639dd){const _0x5586cf=_0x4e596f[_0x2730d8];if(_0x5586cf==null)continue;const _0xdb4100=Object['keys'](_0x5586cf);for(const _0x71c3f5 of _0xdb4100){const _0x56cd65=new _0x2b1b44(_0x5586cf[_0x71c3f5]||{}),_0x5ecb45=new Map();_0x56cd65['forValue']((_0x46f997,_0x243c6d,_0x3e0590)=>{const _0x6ad82=_0x2c76;if(_0x3e0590==null)return!0x0;const {x:_0x4487ee=0x0,y:_0x34988c=0x0,si:_0x417f77}=_0x3e0590;if(!(_0x4487ee===0x0&&_0x34988c===0x0&&_0x417f77!=null))return!0x0;const _0x35d09c=this[_0x6ad82(0x11f)](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d,_0x24a3eb,_0x3e0590),_0x76fc2=this[_0x6ad82(0xde)]['getFormulaDependency'](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d);_0x76fc2!=null?_0x35d09c[_0x6ad82(0xc6)]=_0x76fc2:(this[_0x6ad82(0xde)][_0x6ad82(0xda)](_0x2730d8,_0x71c3f5,_0x46f997,_0x243c6d,_0x35d09c),this['_dependencyManagerService'][_0x6ad82(0xd5)](_0x35d09c)),_0x5ecb45[_0x6ad82(0xa1)](_0x417f77,_0x35d09c),_0x17f869[_0x6ad82(0x8e)](_0x35d09c),this['_dependencyTreeCache'][_0x6ad82(0xa1)](_0x35d09c[_0x6ad82(0xc6)],_0x35d09c);}),_0x56cd65['forValue']((_0x38029c,_0x3af00d,_0x571b56)=>{const _0x3f64ab=_0x2c76;if(_0x571b56==null)return!0x0;const {x:_0x4a41c0=0x0,y:_0x5c60cf=0x0,si:_0x1e8199}=_0x571b56;if(_0x4a41c0===0x0&&_0x5c60cf===0x0&&_0x1e8199!=null)return!0x0;let _0x2f365b;if(_0x1e8199&&_0x5ecb45[_0x3f64ab(0x10d)](_0x1e8199)){const _0x12a2a8=_0x5ecb45[_0x3f64ab(0xa2)](_0x1e8199);_0x2f365b=this['_createVirtualFDtree'](_0x12a2a8,_0x571b56);}else _0x2f365b=this[_0x3f64ab(0x11f)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d,_0x24a3eb,_0x571b56);const _0x38b4cf=this[_0x3f64ab(0xde)][_0x3f64ab(0x92)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d);_0x38b4cf!=null?_0x2f365b[_0x3f64ab(0xc6)]=_0x38b4cf:(this[_0x3f64ab(0xde)][_0x3f64ab(0xda)](_0x2730d8,_0x71c3f5,_0x38029c,_0x3af00d,_0x2f365b),this[_0x3f64ab(0xde)][_0x3f64ab(0xd5)](_0x2f365b)),_0x17f869[_0x3f64ab(0x8e)](_0x2f365b),this['_dependencyTreeCache']['set'](_0x2f365b[_0x3f64ab(0xc6)],_0x2f365b);}),_0x5ecb45[_0x4671ee(0xc1)]();}}}[_0x34defa(0x11f)](_0x307298,_0x5e7266,_0x1c614c,_0x3bf030,_0x31ea1e,_0x4d5062){const _0x17f750=_0x34defa,{f:_0x2ec92c,x:_0x25a7f6=0x0,y:_0x190873=0x0}=_0x4d5062,_0x3113a6=new _0x6041da(_0xa2d314(this['_dependencyManagerService'])),_0x185de5=_0x31ea1e[_0x307298][_0x5e7266];return _0x3113a6[_0x17f750(0x99)]=_0x2ec92c,_0x3113a6[_0x17f750(0x13a)]=_0x307298,_0x3113a6[_0x17f750(0xfd)]=_0x5e7266,_0x3113a6['row']=_0x1c614c,_0x3113a6[_0x17f750(0x13e)]=_0x3bf030,_0x3113a6[_0x17f750(0x89)]=_0x185de5[_0x17f750(0x89)],_0x3113a6[_0x17f750(0xb9)]=_0x185de5[_0x17f750(0xb9)],_0x3113a6;}[_0x34defa(0xf6)](){const _0x18bb58=_0x34defa,_0x51c59b=[],_0x124c86=new Set(),_0x358d38=this['_currentConfigService']['isForceCalculate'](),_0x8a9f22=this['_currentConfigService'][_0x18bb58(0x107)](),_0x5d4217=this[_0x18bb58(0xde)][_0x18bb58(0xf9)](_0x8a9f22),_0x1ecf3e=this[_0x18bb58(0x7e)][_0x18bb58(0x8c)](_0x8a9f22);for(const _0x3f578e of _0x1ecf3e)_0x5d4217['add'](_0x3f578e);for(const [_0x17943b,_0x316dfe]of this['_dependencyTreeCache'])(_0x358d38||_0x316dfe['isDirty']||_0x316dfe[_0x18bb58(0xed)](this[_0x18bb58(0x120)][_0x18bb58(0xcb)]())||_0x5d4217[_0x18bb58(0x10d)](_0x17943b)&&!_0x316dfe[_0x18bb58(0xc4)](this[_0x18bb58(0x120)][_0x18bb58(0x80)]()))&&!_0x124c86[_0x18bb58(0x10d)](_0x17943b)&&(_0x51c59b[_0x18bb58(0x8e)](_0x316dfe),_0x124c86['add'](_0x17943b));for(const [_0x1c0ed0,_0x371698]of this['_dependencyTreeCache'])_0x371698[_0x18bb58(0x13b)]||(_0x371698['rangeList'][_0x18bb58(0x9b)]=0x0);return _0x51c59b;}[_0x34defa(0x84)](_0x2ef9ed){const _0x965b06=_0x34defa;return this['_dependencyTreeCache'][_0x965b06(0xa2)](_0x2ef9ed);}[_0x34defa(0xf8)](_0x2b7bc3){const _0xde3af9=_0x34defa;return _0x33c714(_0x2b7bc3['unitId'],_0x2b7bc3[_0xde3af9(0x99)],this['_lexer'],this[_0xde3af9(0xf5)],this['_currentConfigService']);}*[_0x34defa(0x106)](_0x1e67b1,_0x8b3a4b){const _0x109700=_0x34defa,_0x59109c=_0x1e67b1,_0x144491=new Set();for(;_0x59109c[_0x109700(0x9b)]>0x0;){const _0x4295d5=_0x59109c[_0x109700(0x138)]();if(_0x144491[_0x109700(0xc1)](),_0x4295d5===void 0x0||_0x4295d5[_0x109700(0x10a)]())continue;if(_0x4295d5[_0x109700(0x123)]()){yield _0x4295d5,_0x4295d5[_0x109700(0x78)](),_0x8b3a4b[_0x109700(0x111)](_0x4295d5[_0x109700(0xc6)]);continue;}const _0x8698b0=this[_0x109700(0xde)][_0x109700(0xf9)](_0x4295d5[_0x109700(0x8d)](),_0x8b3a4b),_0x1f558c=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x4295d5[_0x109700(0x8d)](),_0x8b3a4b);for(const _0xb807bd of _0x1f558c)_0x8698b0['add'](_0xb807bd);for(const _0x1d8a9c of _0x8698b0){const _0x366281=this[_0x109700(0xb5)][_0x109700(0xa2)](_0x1d8a9c);if(!_0x366281)throw new Error(_0x109700(0xcc));_0x366281[_0x109700(0x123)]()||_0x4295d5['isSkip']()||_0x144491[_0x109700(0x111)](_0x366281);}if(_0x8698b0['clear'](),_0x144491[_0x109700(0x91)]===0x0)yield _0x4295d5,_0x4295d5[_0x109700(0x78)](),_0x8b3a4b[_0x109700(0x111)](_0x4295d5['treeId']);else{_0x4295d5[_0x109700(0x11e)](),_0x59109c[_0x109700(0x8e)](_0x4295d5);for(const _0x8b7da4 of _0x144491)_0x59109c[_0x109700(0x8e)](_0x8b7da4);}}_0x59109c[_0x109700(0x9b)]=0x0,_0x144491[_0x109700(0xc1)]();}[_0x34defa(0xf1)](_0x275106){const _0x2cdc21=_0x34defa,_0xeb07c0=[],_0x22d39a=new Set();for(const _0xdc5490 of this[_0x2cdc21(0x106)](_0x275106,_0x22d39a))_0xeb07c0[_0x2cdc21(0x8e)](_0xdc5490);return _0xeb07c0;}async[_0x34defa(0x149)](){const _0x1995e9=_0x34defa;return await this[_0x1995e9(0x7a)](),Array[_0x1995e9(0x93)](this[_0x1995e9(0xb5)][_0x1995e9(0xc2)]());}[_0x34defa(0xc9)](_0x519b81){const _0x28cf51=_0x34defa;return this[_0x28cf51(0xde)][_0x28cf51(0xf9)](_0x519b81[_0x28cf51(0x8d)]());}[_0x34defa(0xbd)](_0x32ac29){const _0x4c0e9e=_0x34defa,_0x4164a1=new Set(),_0x281f68=_0x32ac29['rangeList'];for(const [_0x39db37,_0x3b79c3]of this[_0x4c0e9e(0xb5)])for(const _0x54c42c of _0x281f68){const _0x5ce005=_0x54c42c[_0x4c0e9e(0x13a)],_0x365ce7=_0x54c42c[_0x4c0e9e(0x9d)];if(_0x3b79c3[_0x4c0e9e(0x13a)]!==_0x5ce005||_0x3b79c3[_0x4c0e9e(0xfd)]!==_0x365ce7)continue;const _0x38e47c=_0x54c42c['range'];if(_0x3b79c3['inRangeData'](_0x38e47c)){_0x4164a1[_0x4c0e9e(0x111)](_0x39db37);break;}}return _0x4164a1;}[_0x34defa(0xf4)](){const _0x16232c=_0x34defa;this['_dependencyManagerService'][_0x16232c(0xb0)]();}[_0x34defa(0x9c)](){const _0x200cda=_0x34defa;this['_formulaDependencyTreeModel'][_0x200cda(0xc1)](),this[_0x200cda(0xb5)]['clear'](),this[_0x200cda(0xde)]['closeKdTree']();}}class ve extends _0x2eca83{async['_apply'](_0x3ef474=!0x1){const _0x4a306b=_0x34defa;_0x3ef474?this['_runtimeService'][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xaa)]):this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xdb)]),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0x146)]());const _0x43d834=await this[_0x4a306b(0x13f)][_0x4a306b(0x96)](this[_0x4a306b(0xb2)]),_0xdf5bfe=this[_0x4a306b(0x10c)];_0x3ef474?(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x82)]),this[_0x4a306b(0x85)][_0x4a306b(0x148)](_0x43d834[_0x4a306b(0x9b)])):(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x10f)]),this[_0x4a306b(0x85)][_0x4a306b(0x7f)](_0x43d834[_0x4a306b(0x9b)])),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0x146)]());let _0x3eab06=[];const _0x5234ca=this[_0x4a306b(0x103)]['getConfig'](_0x42d0a5),_0x179d76=(_0x5234ca==null?void 0x0:_0x5234ca[_0x4a306b(0xec)])||_0x563937;let _0x13a656=0x0;const _0x501656=_0x43d834[_0x4a306b(0x9b)];for(;_0x43d834[_0x4a306b(0x9b)]>0x0;){const _0x359367=_0x43d834[_0x4a306b(0x138)](),_0x4ccfe3=_0x33c714(_0x359367[_0x4a306b(0x13a)],_0x359367[_0x4a306b(0x99)],this[_0x4a306b(0x9e)],this[_0x4a306b(0xf5)],this[_0x4a306b(0x120)]),_0x145f51={'node':_0x4ccfe3,'refOffsetX':_0x359367[_0x4a306b(0xff)],'refOffsetY':_0x359367['refOffsetY']},_0x1ba384=_0x359367[_0x4a306b(0x95)];if(_0x13a656%_0x179d76===0x0&&(await new Promise(_0x179454=>{const _0x196d6a=_0x4a306b,_0x3f1661=_0x1ef183(_0x179454);_0x3eab06[_0x196d6a(0x8e)](_0x3f1661);}),_0x3ef474?(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0x90)]),this[_0x4a306b(0x85)][_0x4a306b(0x88)](_0x13a656+0x1)):(this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d['CURRENTLY_CALCULATING']),this[_0x4a306b(0x85)][_0x4a306b(0x11b)](_0x13a656+0x1)),this[_0x4a306b(0x87)][_0x4a306b(0xb8)](this['_runtimeService'][_0x4a306b(0x146)]()),this['_runtimeService'][_0x4a306b(0x113)]()||_0x145f51==null&&_0x1ba384==null)){this[_0x4a306b(0x85)][_0x4a306b(0xbf)](_0x154c3d[_0x4a306b(0xdc)]),this[_0x4a306b(0x85)][_0x4a306b(0xcf)](),this[_0x4a306b(0x130)][_0x4a306b(0xb8)](this[_0x4a306b(0x85)][_0x4a306b(0xdf)]());return;}this[_0x4a306b(0x85)]['setCurrent'](_0x359367[_0x4a306b(0x136)],_0x359367[_0x4a306b(0x13e)],_0x359367[_0x4a306b(0x89)],_0x359367[_0x4a306b(0xb9)],_0x359367['subUnitId'],_0x359367[_0x4a306b(0x13a)]);let _0x4a32de;if(_0x1ba384!=null&&_0x359367['featureId']!=null){const {runtimeCellData:_0x4b673f,dirtyRanges:_0x55ac9a}=_0x1ba384(this[_0x4a306b(0x120)][_0x4a306b(0x95)](),this['_runtimeService']['getAllRuntimeData']());this['_runtimeService'][_0x4a306b(0xee)](_0x359367['featureId'],_0x4b673f),this['_runtimeService']['setRuntimeFeatureRange'](_0x359367[_0x4a306b(0xc8)],_0x55ac9a);}else _0x145f51!=null&&(_0xdf5bfe[_0x4a306b(0xa7)](_0x145f51[_0x4a306b(0x14b)])?_0x4a32de=await _0xdf5bfe['executeAsync'](_0x145f51):_0x4a32de=_0xdf5bfe['execute'](_0x145f51),_0x359367['formulaId']!=null?this[_0x4a306b(0x85)][_0x4a306b(0x9f)](_0x359367[_0x4a306b(0x100)],_0x359367[_0x4a306b(0xff)],_0x359367[_0x4a306b(0xf7)],_0x4a32de):this['_runtimeService'][_0x4a306b(0x119)](_0x4a32de));_0x4ccfe3[_0x4a306b(0x11a)](),_0x13a656++;}return _0x3eab06['forEach'](_0x359f96=>_0x359f96()),_0x3eab06=[],_0x501656>0x0?this[_0x4a306b(0x85)]['markedAsSuccessfullyExecuted']():_0x3ef474||this['_runtimeService'][_0x4a306b(0x98)](),this[_0x4a306b(0x85)]['getAllRuntimeData']();}}class xe extends _0x3a580b{constructor(){const _0x196a2b=_0x34defa;super(...arguments),F(this,_0x196a2b(0xba),new Map()),F(this,_0x196a2b(0x8b),new _0x217338(!0x0));}['reset'](){const _0x3d09df=_0x34defa;this[_0x3d09df(0xdd)]['clear'](),this[_0x3d09df(0xa6)][_0x3d09df(0xc1)](),this[_0x3d09df(0x109)]['clear'](),this[_0x3d09df(0x8b)][_0x3d09df(0xc1)](),this['_allTreeMap'][_0x3d09df(0xc1)](),this[_0x3d09df(0x121)](),this[_0x3d09df(0xbb)][_0x3d09df(0xc1)]();}[_0x34defa(0x10b)](_0x287e1a,_0x23dd23,_0x36e388,_0x3b1b6d){const _0x51bdd3=_0x34defa;this[_0x51bdd3(0xdd)]['has'](_0x287e1a)||this[_0x51bdd3(0xdd)][_0x51bdd3(0xa1)](_0x287e1a,new Map());const _0x534756=this[_0x51bdd3(0xdd)][_0x51bdd3(0xa2)](_0x287e1a);_0x534756[_0x51bdd3(0x10d)](_0x23dd23)||_0x534756[_0x51bdd3(0xa1)](_0x23dd23,new Map());const _0x41336a=_0x534756[_0x51bdd3(0xa2)](_0x23dd23);_0x41336a['has'](_0x36e388)||_0x41336a[_0x51bdd3(0xa1)](_0x36e388,new _0x2b1b44()),_0x41336a['get'](_0x36e388)[_0x51bdd3(0xce)](_0x3b1b6d[_0x51bdd3(0xff)],_0x3b1b6d['refOffsetY'],_0x3b1b6d[_0x51bdd3(0xc6)]);}['removeOtherFormulaDependency'](_0x1da492,_0x5c53ea,_0x332606){const _0x4add74=_0x34defa,_0x16ef2a=this[_0x4add74(0xdd)][_0x4add74(0xa2)](_0x1da492);if(_0x16ef2a&&_0x16ef2a[_0x4add74(0x10d)](_0x5c53ea)){const _0x351828=_0x16ef2a[_0x4add74(0xa2)](_0x5c53ea);_0x332606[_0x4add74(0xd6)](_0x16ddb9=>{const _0x56e0f1=_0x4add74,_0x99d8c9=_0x351828['get'](_0x16ddb9);_0x99d8c9!=null&&(_0x99d8c9[_0x56e0f1(0xfb)]((_0x6fef78,_0x19e7e5,_0x14541f)=>{const _0x391d7a=_0x56e0f1;this[_0x391d7a(0x79)](_0x14541f),this['_removeAllTreeMap'](_0x14541f);}),_0x351828[_0x56e0f1(0x144)](_0x16ddb9),this[_0x56e0f1(0xbb)][_0x56e0f1(0x144)](_0x16ddb9));}),_0x351828[_0x4add74(0x91)]===0x0&&_0x16ef2a[_0x4add74(0x144)](_0x5c53ea),_0x16ef2a['size']===0x0&&this[_0x4add74(0xdd)][_0x4add74(0x144)](_0x1da492);}}[_0x34defa(0x7d)](_0xf00570,_0x1be56b){const _0x1e9d60=_0x34defa,_0x3b4132=this[_0x1e9d60(0xdd)][_0x1e9d60(0xa2)](_0xf00570);if(_0x1be56b&&_0x3b4132&&_0x3b4132[_0x1e9d60(0x10d)](_0x1be56b)){const _0x5831f5=_0x3b4132[_0x1e9d60(0xa2)](_0x1be56b);this['_removeDependencyRTreeCacheById'](_0xf00570,_0x1be56b);for(const _0x2c1f0f of _0x5831f5[_0x1e9d60(0x127)]()){const _0x54c14d=_0x5831f5[_0x1e9d60(0xa2)](_0x2c1f0f);_0x54c14d!=null&&(_0x54c14d[_0x1e9d60(0xfb)]((_0x217c3c,_0x23251f,_0x1f2501)=>{const _0x13640c=_0x1e9d60;this[_0x13640c(0xba)][_0x13640c(0xa2)](_0x1f2501)&&this['_removeAllTreeMap'](_0x1f2501);}),this[_0x1e9d60(0xbb)]['delete'](_0x2c1f0f));}_0x5831f5[_0x1e9d60(0xc1)]();}else{if(_0x3b4132){for(const _0x23ec6c of _0x3b4132[_0x1e9d60(0x127)]()){const _0x5499fa=_0x3b4132[_0x1e9d60(0xa2)](_0x23ec6c);this[_0x1e9d60(0x122)](_0xf00570,_0x23ec6c);for(const _0x3a990b of _0x5499fa[_0x1e9d60(0x127)]()){const _0xa5201b=_0x5499fa[_0x1e9d60(0xa2)](_0x3a990b);_0xa5201b!=null&&(_0xa5201b['forValue']((_0x2afcbb,_0x1dfd07,_0x9df6b7)=>{const _0x529e0c=_0x1e9d60;this[_0x529e0c(0xba)][_0x529e0c(0xa2)](_0x9df6b7)&&this[_0x529e0c(0x125)](_0x9df6b7);}),this[_0x1e9d60(0xbb)][_0x1e9d60(0x144)](_0x3a990b));}}this['_otherFormulaData'][_0x1e9d60(0x144)](_0xf00570);}}}[_0x34defa(0xd4)](_0x2e369b,_0x1e5079,_0x2951e3,_0xb1c9f){const _0x323ea5=_0x34defa;this['_featureFormulaData'][_0x323ea5(0x10d)](_0x2e369b)||this[_0x323ea5(0xa6)][_0x323ea5(0xa1)](_0x2e369b,new Map());const _0x1db5b6=this[_0x323ea5(0xa6)][_0x323ea5(0xa2)](_0x2e369b);_0x1db5b6[_0x323ea5(0x10d)](_0x1e5079)||_0x1db5b6[_0x323ea5(0xa1)](_0x1e5079,new Map()),_0x1db5b6[_0x323ea5(0xa2)](_0x1e5079)[_0x323ea5(0xa1)](_0x2951e3,_0xb1c9f[_0x323ea5(0xc6)]);}[_0x34defa(0x101)](_0x2fa025,_0x57c510,_0x5ce3ce){const _0x442416=_0x34defa,_0x4d2e02=this[_0x442416(0xa6)][_0x442416(0xa2)](_0x2fa025);if(_0x4d2e02&&_0x4d2e02[_0x442416(0x10d)](_0x57c510)){const _0x1498e1=_0x4d2e02['get'](_0x57c510);_0x5ce3ce[_0x442416(0xd6)](_0x3ea594=>{const _0x32326c=_0x442416,_0x43523b=_0x1498e1[_0x32326c(0xa2)](_0x3ea594);_0x43523b!=null&&(this[_0x32326c(0x79)](_0x43523b),_0x1498e1[_0x32326c(0x144)](_0x3ea594),this[_0x32326c(0x125)](_0x43523b));});}}[_0x34defa(0x133)](_0x21cc45,_0x2ad31a){const _0x164261=_0x34defa,_0x38facb=this['_featureFormulaData'][_0x164261(0xa2)](_0x21cc45);if(_0x2ad31a&&_0x38facb&&_0x38facb[_0x164261(0x10d)](_0x2ad31a)){const _0xc4313c=_0x38facb[_0x164261(0xa2)](_0x2ad31a);this[_0x164261(0x122)](_0x21cc45,_0x2ad31a),_0xc4313c[_0x164261(0xd6)](_0x4e9bd6=>{_0x4e9bd6!=null&&this['_removeAllTreeMap'](_0x4e9bd6);}),_0xc4313c['clear']();}else _0x38facb&&(_0x38facb[_0x164261(0xd6)]((_0x1f7e6b,_0x54b3f1)=>{const _0x236169=_0x164261;this[_0x236169(0x122)](_0x21cc45,_0x54b3f1),_0x1f7e6b['forEach'](_0x306625=>{const _0x13b3c2=_0x236169;_0x306625!=null&&this[_0x13b3c2(0x125)](_0x306625);});}),this['_featureFormulaData']['delete'](_0x21cc45));}[_0x34defa(0xda)](_0xd97914,_0x362f67,_0x3d6b58,_0x172915,_0xf2917e){const _0x767149=_0x34defa;this[_0x767149(0x109)][_0x767149(0x10d)](_0xd97914)||this[_0x767149(0x109)][_0x767149(0xa1)](_0xd97914,new Map());const _0x2ee2ad=this[_0x767149(0x109)][_0x767149(0xa2)](_0xd97914);_0x2ee2ad[_0x767149(0x10d)](_0x362f67)||_0x2ee2ad['set'](_0x362f67,new _0x2b1b44()),_0x2ee2ad[_0x767149(0xa2)](_0x362f67)[_0x767149(0xce)](_0x3d6b58,_0x172915,_0xf2917e[_0x767149(0xc6)]);}[_0x34defa(0x12d)](_0x46aa37,_0x184193,_0xbe75a4,_0x1ab8f4){const _0x1252ff=_0x34defa,_0x3d5c1f=this[_0x1252ff(0x109)]['get'](_0x46aa37);if(_0x3d5c1f&&_0x3d5c1f[_0x1252ff(0x10d)](_0x184193)){const _0x527881=_0x3d5c1f[_0x1252ff(0xa2)](_0x184193),_0x5e5785=_0x527881[_0x1252ff(0x8f)](_0xbe75a4,_0x1ab8f4);if(_0x5e5785==null)return;this['_removeDependencyRTreeCache'](_0x5e5785),_0x527881['realDeleteValue'](_0xbe75a4,_0x1ab8f4),this[_0x1252ff(0x125)](_0x5e5785);}}[_0x34defa(0xd3)](_0x575347,_0x36ab6d){const _0x1314c6=_0x34defa,_0x2e915e=this[_0x1314c6(0x109)][_0x1314c6(0xa2)](_0x575347);if(_0x36ab6d&&_0x2e915e&&_0x2e915e['has'](_0x36ab6d)){const _0x9afba2=_0x2e915e[_0x1314c6(0xa2)](_0x36ab6d);this['_removeDependencyRTreeCacheById'](_0x575347,_0x36ab6d),_0x9afba2['forValue']((_0x32b0d3,_0x196ae4,_0x58aa80)=>{if(_0x58aa80==null)return!0x0;this['_removeAllTreeMap'](_0x58aa80);}),_0x9afba2['reset']();}else _0x2e915e&&(_0x2e915e['forEach']((_0x417117,_0xbf7e19)=>{const _0x298ae3=_0x1314c6;this[_0x298ae3(0x122)](_0x575347,_0xbf7e19),_0x417117[_0x298ae3(0xfb)]((_0x129ea9,_0x589259,_0x5e58fb)=>{const _0x3a8d4c=_0x298ae3;if(_0x5e58fb==null)return!0x0;this[_0x3a8d4c(0x125)](_0x5e58fb);});}),this['_formulaData'][_0x1314c6(0x144)](_0x575347));}[_0x34defa(0x79)](_0x498a03){const _0x5064bc=_0x34defa;if(_0x498a03==null)return;const _0x5f033b=this['_allTreeMap'][_0x5064bc(0xa2)](_0x498a03);if(_0x5f033b){const _0x265054=[];for(const [_0x397fbb,_0x20f430]of _0x5f033b)for(const [_0x2fa6ba,_0x489c88]of _0x20f430)_0x265054['push']({'unitId':_0x397fbb,'sheetId':_0x2fa6ba,'range':_0x489c88,'id':_0x498a03});this[_0x5064bc(0x8b)]['bulkRemove'](_0x265054);}}[_0x34defa(0x135)](_0x15e610,_0x28ba02){const _0x43e73b=_0x34defa,_0x31ca23=this[_0x43e73b(0xfe)][_0x43e73b(0xa2)](_0x15e610);if(_0x31ca23){const _0x59a201=_0x31ca23[_0x43e73b(0xa2)](_0x28ba02);if(_0x59a201){for(const _0x390b64 of _0x59a201)this['_removeDependencyRTreeCache'](_0x390b64),this[_0x43e73b(0x125)](_0x390b64);_0x59a201[_0x43e73b(0xc1)]();}}}[_0x34defa(0xb0)](){const _0x371220=_0x34defa;this[_0x371220(0x8b)][_0x371220(0xb0)]();}[_0x34defa(0x110)](){const _0x45b4a1=_0x34defa;this[_0x45b4a1(0x8b)]['closeKdTree']();}[_0x34defa(0x125)](_0x252e33){const _0x46de58=_0x34defa;_0x252e33!=null&&this[_0x46de58(0xba)][_0x46de58(0x144)](_0x252e33);}['_addAllTreeMap'](_0x334649){const _0x5a462a=_0x34defa;var _0x4af84e,_0x563b8d;const _0x49379d=_0x334649[_0x5a462a(0x137)];let _0x505953=this[_0x5a462a(0xba)][_0x5a462a(0xa2)](_0x334649[_0x5a462a(0xc6)]);for(let _0x441530=0x0;_0x441530<_0x49379d[_0x5a462a(0x9b)];_0x441530++){const _0x13fd69=_0x49379d[_0x441530];let {unitId:_0x223b8b,sheetId:_0x28c706,range:_0x1bd2db}=_0x13fd69;_0x505953||(_0x505953=new Map(),this[_0x5a462a(0xba)]['set'](_0x334649[_0x5a462a(0xc6)],_0x505953)),_0x505953['has'](_0x223b8b)||_0x505953['set'](_0x223b8b,new Map());const _0x29b93a=(_0x4af84e=_0x505953==null?void 0x0:_0x505953[_0x5a462a(0xa2)](_0x223b8b))==null?void 0x0:_0x4af84e[_0x5a462a(0xa2)](_0x28c706);_0x29b93a&&(_0x1bd2db={'startRow':Math[_0x5a462a(0x134)](_0x1bd2db[_0x5a462a(0x117)],_0x29b93a[_0x5a462a(0x117)]),'startColumn':Math[_0x5a462a(0x134)](_0x1bd2db[_0x5a462a(0xab)],_0x29b93a[_0x5a462a(0xab)]),'endRow':Math[_0x5a462a(0xeb)](_0x1bd2db[_0x5a462a(0xe5)],_0x29b93a[_0x5a462a(0xe5)]),'endColumn':Math[_0x5a462a(0xeb)](_0x1bd2db['endColumn'],_0x29b93a[_0x5a462a(0xc7)])}),(_0x563b8d=_0x505953[_0x5a462a(0xa2)](_0x223b8b))==null||_0x563b8d[_0x5a462a(0xa1)](_0x28c706,_0x1bd2db);}}}var Me=Object[_0x34defa(0x11c)],Se=(_0x33e34c,_0x16aea3,_0x32f57e,_0x50cd34)=>{const _0x17e0e1=_0x34defa;for(var _0x524979=_0x50cd34>0x1?void 0x0:_0x50cd34?Me(_0x16aea3,_0x32f57e):_0x16aea3,_0x17df8c=_0x33e34c[_0x17e0e1(0x9b)]-0x1,_0x52e8d6;_0x17df8c>=0x0;_0x17df8c--)(_0x52e8d6=_0x33e34c[_0x17df8c])&&(_0x524979=_0x52e8d6(_0x524979)||_0x524979);return _0x524979;};const Je=Number[_0x34defa(0xb1)](0x69439b90);let X=class extends _0x2dcfdc{[_0x34defa(0xa4)](){const _0xd5bfe4=_0x34defa;var _0x2b4634,_0x477f98;this[_0xd5bfe4(0x132)]()?(this[_0xd5bfe4(0xf3)][_0xd5bfe4(0x111)]([_0x13d74c,{'useClass':De}]),(_0x2b4634=this[_0xd5bfe4(0xe3)])!=null&&_0x2b4634[_0xd5bfe4(0xea)]||[[_0x2c1a94,{'useClass':ve}],[_0x1d4b0e,{'useClass':xe}],[_0x4a6250,{'useClass':Re}]][_0xd5bfe4(0xd6)](_0x529657=>this[_0xd5bfe4(0xf3)][_0xd5bfe4(0x111)](_0x529657))):(this['_injector'][_0xd5bfe4(0x111)]([_0x13d74c,{'useClass':_0x13d74c}]),(_0x477f98=this[_0xd5bfe4(0xe3)])!=null&&_0x477f98['notExecuteFormula']||[[_0x2c1a94,{'useClass':_0x2eca83}],[_0x1d4b0e,{'useClass':_0x40b0cd}],[_0x4a6250,{'useClass':_0x16cb4c}]][_0xd5bfe4(0xd6)](_0x9fd311=>this[_0xd5bfe4(0xf3)]['add'](_0x9fd311)));}[_0x34defa(0x132)](){const _0x4758c4=_0x34defa;var _0x45a3bf;const _0x593016=(_0x45a3bf=this[_0x4758c4(0x103)][_0x4758c4(0xd7)](_0x53838b))!=null?_0x45a3bf:{},{ls:_0x2e889e,pbk:_0x514648}=_0x593016;if(!_0x2e889e||!_0x514648)return!0x1;const _0x35a7a2=_0x1fd102(ke,we),_0x58313a=new Function(_0x4758c4(0x83)+_0x35a7a2)()(_0x2e889e,_0x514648),_0xcb9799=_0x58313a[_0x4758c4(0xbe)];return _0x58313a[_0x4758c4(0x126)]&&_0x4d179f(_0xcb9799,'sf',Je)?_0x14dda2(_0xcb9799,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};X=Se([_0x362a54(_0x38e6e5)],X);export{De as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5145(_0x2fdea7,_0x5159d4){_0x2fdea7=_0x2fdea7-0x12b;var _0xdcd642=_0xdcd6();var _0x51453a=_0xdcd642[_0x2fdea7];return _0x51453a;}(function(_0xf593c7,_0x1050a3){var _0x247616=_0x5145,_0xf388aa=_0xf593c7();while(!![]){try{var _0x16037e=parseInt(_0x247616(0x12f))/0x1*(-parseInt(_0x247616(0x12e))/0x2)+-parseInt(_0x247616(0x131))/0x3+parseInt(_0x247616(0x132))/0x4+parseInt(_0x247616(0x134))/0x5+parseInt(_0x247616(0x12b))/0x6*(parseInt(_0x247616(0x130))/0x7)+parseInt(_0x247616(0x12d))/0x8*(parseInt(_0x247616(0x133))/0x9)+-parseInt(_0x247616(0x12c))/0xa;if(_0x16037e===_0x1050a3)break;else _0xf388aa['push'](_0xf388aa['shift']());}catch(_0x1b4522){_0xf388aa['push'](_0xf388aa['shift']());}}}(_0xdcd6,0x197bb));export*from'@univerjs/engine-formula/facade';function _0xdcd6(){var _0x1773ed=['3892xhKOTU','413hyShOy','457884FUlZox','748508FdobCm','171zCnHRz','404765BkxUaT','12954pVkeMC','2546890dDzFAx','55496aGxGGy','8DqmZAw'];_0xdcd6=function(){return _0x1773ed;};return _0xdcd6();}
|