@univerjs-pro/engine-formula 0.15.4 → 0.15.5-insiders.20260212-022614a

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1949(){const _0x57a515=['8419151yrVQax','545RbRRmN','12CGjhKR','763038ZtWHHD','keys','30TlZsNk','toStringTag','16296HTDFSR','call','1263572zoQBVq','10032MzNzuO','2GfddlY','defineProperty','hasOwnProperty','Module','236YEyVei','forEach','2501499gMMitN','1612513pzvrlt','8FHAzSn'];_0x1949=function(){return _0x57a515;};return _0x1949();}const _0x59e016=_0x6f24;(function(_0x56054f,_0x344660){const _0x367c64=_0x6f24,_0x768266=_0x56054f();while(!![]){try{const _0x41425e=-parseInt(_0x367c64(0x1ce))/0x1*(-parseInt(_0x367c64(0x1bc))/0x2)+parseInt(_0x367c64(0x1cc))/0x3*(-parseInt(_0x367c64(0x1c0))/0x4)+parseInt(_0x367c64(0x1c6))/0x5*(-parseInt(_0x367c64(0x1cf))/0x6)+parseInt(_0x367c64(0x1c3))/0x7*(parseInt(_0x367c64(0x1c4))/0x8)+-parseInt(_0x367c64(0x1c8))/0x9+-parseInt(_0x367c64(0x1ca))/0xa*(parseInt(_0x367c64(0x1c2))/0xb)+parseInt(_0x367c64(0x1c7))/0xc*(parseInt(_0x367c64(0x1c5))/0xd);if(_0x41425e===_0x344660)break;else _0x768266['push'](_0x768266['shift']());}catch(_0x3ae9da){_0x768266['push'](_0x768266['shift']());}}}(_0x1949,0xd4d85));Object[_0x59e016(0x1bd)](exports,Symbol[_0x59e016(0x1cb)],{'value':_0x59e016(0x1bf)});function _0x6f24(_0x1e25ad,_0x27aba6){_0x1e25ad=_0x1e25ad-0x1bc;const _0x194932=_0x1949();let _0x6f241b=_0x194932[_0x1e25ad];return _0x6f241b;}const t=require('@univerjs/engine-formula/facade');Object[_0x59e016(0x1c9)](t)[_0x59e016(0x1c1)](_0x52a262=>{const _0x2fd52e=_0x59e016;_0x52a262!=='default'&&!Object['prototype'][_0x2fd52e(0x1be)][_0x2fd52e(0x1cd)](exports,_0x52a262)&&Object[_0x2fd52e(0x1bd)](exports,_0x52a262,{'enumerable':!0x0,'get':()=>t[_0x52a262]});});
1
+ 'use strict';function _0x1565(_0x42cd04,_0x5376e0){_0x42cd04=_0x42cd04-0x1ba;const _0x504b21=_0x504b();let _0x156516=_0x504b21[_0x42cd04];return _0x156516;}const _0x30608a=_0x1565;function _0x504b(){const _0x4216ba=['call','default','Module','toStringTag','99nIHzkR','244864JJsXhy','35QsFhwJ','keys','60ovMHTQ','590862nrMgrM','8885810FyhMkt','defineProperty','9839pPppZq','885942GyDWow','677964NxSSNO','forEach','hasOwnProperty','128024AcPMpz'];_0x504b=function(){return _0x4216ba;};return _0x504b();}(function(_0x5d7182,_0x416c43){const _0x3c438c=_0x1565,_0x2a7c13=_0x5d7182();while(!![]){try{const _0x51d73e=-parseInt(_0x3c438c(0x1c7))/0x1+parseInt(_0x3c438c(0x1c4))/0x2+parseInt(_0x3c438c(0x1c9))/0x3+-parseInt(_0x3c438c(0x1ba))/0x4*(-parseInt(_0x3c438c(0x1c3))/0x5)+parseInt(_0x3c438c(0x1c8))/0x6*(parseInt(_0x3c438c(0x1c1))/0x7)+parseInt(_0x3c438c(0x1c0))/0x8*(-parseInt(_0x3c438c(0x1bf))/0x9)+-parseInt(_0x3c438c(0x1c5))/0xa;if(_0x51d73e===_0x416c43)break;else _0x2a7c13['push'](_0x2a7c13['shift']());}catch(_0x5e7b61){_0x2a7c13['push'](_0x2a7c13['shift']());}}}(_0x504b,0x63c5c));Object[_0x30608a(0x1c6)](exports,Symbol[_0x30608a(0x1be)],{'value':_0x30608a(0x1bd)});const t=require('@univerjs/engine-formula/facade');Object[_0x30608a(0x1c2)](t)[_0x30608a(0x1ca)](_0x4c6577=>{const _0x1b82d2=_0x30608a;_0x4c6577!==_0x1b82d2(0x1bc)&&!Object['prototype'][_0x1b82d2(0x1cb)][_0x1b82d2(0x1bb)](exports,_0x4c6577)&&Object[_0x1b82d2(0x1c6)](exports,_0x4c6577,{'enumerable':!0x0,'get':()=>t[_0x4c6577]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x18a5(){const _0x2d19e7=['_startFormulaDependencyTreeModel','1251330PjEopX','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','4569844TKQqUN','_handleTextNodeForExprTree','set','_handleNewFunctionChild','getChildren','_config','setFormulaExecuteStage','PLUS','IDLE','NEW_EXCEL_FUNCTIONS','isForceCalculate','_currentConfigService','LexerTreeBuilder','Lambda\x20parameter\x20name\x20\x22','getDirtyRanges','symbol','_executionInProgressListener$','execute','resetCalculationState','startRow','addOtherFormulaDependencyMainData','_registerFormulas','FormulaDependencyTreeType','_registerOtherFormulas','join','forValue','getFeatureFormulaDependency','children','getDirtyNameMap','from','refOffsetX','dirtyRanges','_otherFormulaManagerService','bulkSearch','value','refOffsetY','_lambdaFunctionParameterSet','max','add','splitTableStructuredRef','addFormulaDependency','_xlpmPrefix','endsWith','_createVirtualFDtree','_getDependencyTreeChildrenIds','setCompletedArrayFormulasCount','START_CALCULATION','VALUE','CURRENTLY_CALCULATING','LexerNode','clearOtherFormulaDependency','getConfig','setRuntimeData','addFeatureFormulaDependency','setSkip','endRow','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setValue','_injector','_addAllTreeMap','isArray','_interpreter','_updateRangeFlatten','generateAstNode','dispose','_runtimeService','FormulaDependencyTree','featureDirtyRanges','isFeatureAuthorizedWithinTime','defineProperty','endColumn','range','ICalculateFormulaService','prototype','next','getToken','rowCount','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','type','_isCyclicUtilMap','_dependencyManagerService','IFormulaDependencyGenerator','_hasNewExcelFunction','_apply','_dependencyRTreeCacheForAddressFunction','trim','getFormulaDependency','inRangeData','1508066WtxJsd','bulkRemove','refTree','39734783LehOTU','_calculateRunList','isCache','get','_lexer','toRTreeItem','_getAllDependencyJson','_endFormulaDependencyTreeModel','DEFAULT_TOKEN_TYPE_ROOT','setCurrent','toStringTag','_removeDependencyRTreeCacheById','3075psNbCo','removeFormulaDependency','unshiftString','prefixToken','realDeleteValue','column','searchDependency','startColumn','markedAsSuccessfullyExecuted','START_DEPENDENCY','40YTefAD','MINUS','getValue','setAdded','_allTreeMap','_createFDtree','openKdTree','dependencySheetName','_checkIsCycleDependency','_getTreeNode','START_DEPENDENCY_ARRAY_FORMULA','DependencyManagerBaseService','\x22\x20is\x20duplicated.','min','_removeDependencyRTreeCache','unitId','FormulaExecuteStageType','addFormulaDependencyByDefinedName','setTotalArrayFormulasToCalculate','return\x20','_checkAddBracketForMinus','_getDependencyTreeParenIds','pop','COLON','ObjectMatrix','_clearPrefix','DEFAULT_TOKEN_LET_FUNCTION_NAME','forEach','checkAsyncNode','_definedNameMap','_handleLambdaForExprTree','removeFormulaDependencyByDefinedName','resolve','IDependencyManagerService','columnCount','row','FormulaDependencyGenerator','_clearFunctionString','setDependencyTreeModelData','keys','_xlfn.','_xlpm.','getDirtyData','formula','clearFormulaDependency','DEFAULT_TOKEN_TYPE_PARAMETER','getFormulaData','7785JrogWL','_astTreeBuilder','clearFeatureFormulaDependency','2602hAIKyR','Module','slice','_resetPrefix','isVirtual','OTHER_FORMULA','closeKdTree','isStopExecution','formulaId','size','values','subUnitId','DependencyManagerService','_convertDirtyRangesToUnitRange','rangeList','clear','getFormulaExprTree','requestImmediateMacroTask','markedAsStopFunctionsExecuted','_formulaData','UniverProFormulaEnginePlugin','executeAsync','_generateExprTree','setRuntimeOtherData','length','generateRandomDependencyTreeId','removeOtherFormulaDependency','_restDependencyTreeId','markedAsNoFunctionsExecuted','START_CALCULATION_ARRAY_FORMULA','startsWith','reset','delete','treeId','_getTableNameFromStructuredRef','_isCalculateTreeModel','_otherFormulaData','generate','_checkColonNodeForExprTree','setTotalFormulasToCalculate','_xlfnPrefix','CalculateFormulaService','FormulaDependencyTreeVirtual','_getAllTreeList','addOtherFormulaDependency','ErrorType','_dependencyTreeCache','default','error','_traverse','toUpperCase','_getFeatureFormulaTree','SUFFIX_TOKEN_SET','_otherFormulaDataMainData','138YAEcUh','LS_CONFIG_KEY','_featureFormulaData','RTree','Let\x20variable\x20name\x20\x22','parseInt','isSkip','_handleChildrenForExprTree','matchToken','getOtherFormulaData','14380PYkQeL','treeBuilder','_dependencyRTreeCache','_configService','featureId','getRuntimeState','_currentUnitId','getStartIndex','getAllRuntimeData','has','LexerTreeProBuilder','_generateNewFunctionString','_getCurNodeTypeForExprTree','isReferenceString','startIndex','_removeAllTreeMap','_initLicenseValid','call','196005vPeeZg','CURRENTLY_CALCULATING_ARRAY_FORMULA','push'];_0x18a5=function(){return _0x2d19e7;};return _0x18a5();}const _0x2e965e=_0xfa85;(function(_0x72255c,_0x4151d1){const _0xbc2072=_0xfa85,_0x5e704d=_0x72255c();while(!![]){try{const _0x19a68a=-parseInt(_0xbc2072(0xc7))/0x1+-parseInt(_0xbc2072(0x71))/0x2*(parseInt(_0xbc2072(0x130))/0x3)+-parseInt(_0xbc2072(0xc9))/0x4+-parseInt(_0xbc2072(0xc3))/0x5*(-parseInt(_0xbc2072(0xa7))/0x6)+-parseInt(_0xbc2072(0x121))/0x7*(parseInt(_0xbc2072(0x13a))/0x8)+parseInt(_0xbc2072(0x6e))/0x9*(parseInt(_0xbc2072(0xb1))/0xa)+parseInt(_0xbc2072(0x124))/0xb;if(_0x19a68a===_0x4151d1)break;else _0x5e704d['push'](_0x5e704d['shift']());}catch(_0x3100aa){_0x5e704d['push'](_0x5e704d['shift']());}}}(_0x18a5,0xe8b98));var B=Object[_0x2e965e(0x10e)],w=(_0x510365,_0x2252d1,_0x191c33)=>_0x2252d1 in _0x510365?B(_0x510365,_0x2252d1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x191c33}):_0x510365[_0x2252d1]=_0x191c33,R=(_0x4a304f,_0x244ff7,_0x2285bf)=>w(_0x4a304f,typeof _0x244ff7!=_0x2e965e(0xd8)?_0x244ff7+'':_0x244ff7,_0x2285bf);Object['defineProperty'](exports,Symbol[_0x2e965e(0x12e)],{'value':_0x2e965e(0x72)});const a=require('@univerjs/engine-formula'),A=require('@univerjs-pro/license'),D=require('@univerjs/core');function _0xfa85(_0xeba80f,_0x2bc48a){_0xeba80f=_0xeba80f-0x64;const _0x18a550=_0x18a5();let _0xfa858f=_0x18a550[_0xeba80f];return _0xfa858f;}class L extends a[_0x2e965e(0xd5)]{constructor(){const _0xa26cdd=_0x2e965e;super(...arguments),R(this,_0xa26cdd(0x11b),!0x1),R(this,_0xa26cdd(0xed),new Set()),R(this,_0xa26cdd(0xf2),_0xa26cdd(0x68)),R(this,_0xa26cdd(0x99),'_xlfn.'),R(this,_0xa26cdd(0xb7),'');}[_0x2e965e(0x74)](){const _0x4c86dc=_0x2e965e;this[_0x4c86dc(0xf2)]=_0x4c86dc(0x68),this[_0x4c86dc(0x99)]=_0x4c86dc(0x67);}[_0x2e965e(0x153)](){const _0x4f5ae4=_0x2e965e;this[_0x4f5ae4(0xf2)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x517d57,_0x3b6f09){const _0x27e69b=_0x2e965e,_0x44373f=this[_0x27e69b(0xb2)](_0x517d57,!0x1);if(!_0x44373f||_0x44373f===a['ErrorType'][_0x27e69b(0xf8)]||Array[_0x27e69b(0x105)](_0x44373f))return null;const _0x560436=[];return this[_0x27e69b(0x11b)]=!0x1,this['_generateNewFunctionString'](_0x44373f,_0x560436,_0x3b6f09),this[_0x27e69b(0x11b)]?'='+_0x560436[_0x27e69b(0xe1)](''):null;}['_generateNewFunctionString'](_0x16051b,_0x17b31a,_0x23d4da){const _0x27c2ad=_0x2e965e,_0x3eab84=_0x16051b['getToken'](),_0x211785=_0x3eab84[_0x27c2ad(0x11e)](),_0x3de45a=_0x211785[_0x27c2ad(0xa3)](),_0x24965a=this[_0x27c2ad(0x64)](_0x3de45a),_0x5702b7=_0x23d4da(_0x24965a);let _0x50bbfb=0x0;_0x3eab84===a[_0x27c2ad(0x12c)]?_0x50bbfb=0x3:_0x3eab84===a[_0x27c2ad(0x6c)]?_0x50bbfb=0x4:_0x3eab84===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x50bbfb=0x5:a[_0x27c2ad(0xd2)][_0x27c2ad(0xba)](_0x24965a)?(_0x17b31a[_0x27c2ad(0xc5)](''+this[_0x27c2ad(0x99)]+_0x211785),this[_0x27c2ad(0x11b)]=!0x0):_0x3de45a===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x17b31a[_0x27c2ad(0xc5)](''+this['_xlfnPrefix']+_0x211785),this[_0x27c2ad(0x11b)]=!0x0,_0x50bbfb=0x2):_0x3de45a===a[_0x27c2ad(0x154)]?(_0x17b31a['push'](''+this[_0x27c2ad(0x99)]+_0x211785),this[_0x27c2ad(0x11b)]=!0x0,_0x50bbfb=0x1):_0x3de45a===a['matchToken']['COLON']?_0x50bbfb=0x8:a[_0x27c2ad(0xa5)]['has'](_0x3de45a)?_0x50bbfb=0x7:_0x3de45a===a['prefixToken'][_0x27c2ad(0x13b)]?(this[_0x27c2ad(0x14e)](_0x16051b)&&(_0x50bbfb=0x9),_0x17b31a[_0x27c2ad(0xc5)](_0x3eab84)):(_0x17b31a[_0x27c2ad(0xc5)](_0x3eab84),_0x50bbfb=0xa),_0x5702b7?(_0x50bbfb!==0x2&&_0x50bbfb!==0x1&&(_0x50bbfb=0x6),_0x17b31a[_0x27c2ad(0xc5)]('(')):_0x50bbfb===0x9&&_0x17b31a[_0x27c2ad(0xc5)]('(');const _0x4559c1=_0x16051b[_0x27c2ad(0xcd)](),_0x16b2ed=_0x4559c1['length'];if(_0x50bbfb===0x2){const _0x4d7652=_0x4559c1[0x0];let _0x304efe=0x0;_0x4d7652 instanceof a[_0x27c2ad(0xfa)]&&_0x4d7652[_0x27c2ad(0x114)]()===a[_0x27c2ad(0xc8)]&&(_0x304efe=0x1);for(let _0x3b85aa=_0x304efe;_0x3b85aa<_0x16b2ed-0x1;_0x3b85aa++){const _0xd82c26=_0x4559c1[_0x3b85aa];if(_0xd82c26 instanceof a[_0x27c2ad(0xfa)]){const _0x1b56a5=_0xd82c26['getChildren']()[0x0];typeof _0x1b56a5=='string'&&(this[_0x27c2ad(0xed)][_0x27c2ad(0xba)](_0x1b56a5)&&console[_0x27c2ad(0xa1)](_0x27c2ad(0xd6)+_0x1b56a5+'\x22\x20is\x20duplicated.'),this[_0x27c2ad(0xed)][_0x27c2ad(0xef)](_0x1b56a5),_0x17b31a[_0x27c2ad(0xc5)](''+this[_0x27c2ad(0xf2)]+_0x1b56a5),this[_0x27c2ad(0x11b)]=!0x0);}_0x17b31a[_0x27c2ad(0xc5)](',');}this['_handleNewFunctionChild'](_0x4559c1[_0x16b2ed-0x1],_0x17b31a,_0x23d4da),_0x304efe===0x1&&(_0x17b31a[_0x27c2ad(0xc5)](')'),_0x17b31a[_0x27c2ad(0xc5)]('('),this[_0x27c2ad(0xbc)](_0x4d7652,_0x17b31a,_0x23d4da)),_0x17b31a['push'](')');return;}else{if(_0x50bbfb===0x1){for(let _0x4812eb=0x0;_0x4812eb<_0x16b2ed-0x1;_0x4812eb++){const _0x55f092=_0x4559c1[_0x4812eb];if(_0x55f092 instanceof a[_0x27c2ad(0xfa)]&&_0x4812eb%0x2===0x0){const _0x4534b5=_0x55f092[_0x27c2ad(0xcd)]()[0x0];if(typeof _0x4534b5=='string'){this[_0x27c2ad(0xed)][_0x27c2ad(0xba)](_0x4534b5)&&console['error'](_0x27c2ad(0xab)+_0x4534b5+_0x27c2ad(0x146)),this['_lambdaFunctionParameterSet'][_0x27c2ad(0xef)](_0x4534b5),_0x17b31a[_0x27c2ad(0xc5)](''+this[_0x27c2ad(0xf2)]+_0x4534b5),this[_0x27c2ad(0x11b)]=!0x0,_0x17b31a[_0x27c2ad(0xc5)](',');continue;}}if(this[_0x27c2ad(0xcc)](_0x55f092,_0x17b31a,_0x23d4da),_0x55f092 instanceof a[_0x27c2ad(0xfa)]){const _0x40c0d6=_0x4559c1[_0x4812eb+0x1];_0x40c0d6&&_0x40c0d6 instanceof a[_0x27c2ad(0xfa)]&&_0x17b31a['push'](',');}}this[_0x27c2ad(0xcc)](_0x4559c1[_0x16b2ed-0x1],_0x17b31a,_0x23d4da),_0x17b31a[_0x27c2ad(0xc5)](')');return;}else{if(_0x50bbfb===0x8){const _0x3d9ef2=_0x4559c1[0x0],_0xdfbbf6=_0x4559c1[0x1];this['_handleNewFunctionChild'](_0x3d9ef2,_0x17b31a,_0x23d4da),_0x17b31a[_0x27c2ad(0xc5)](_0x3eab84),this[_0x27c2ad(0xcc)](_0xdfbbf6,_0x17b31a,_0x23d4da);return;}}}for(let _0x331a69=0x0;_0x331a69<_0x16b2ed;_0x331a69++){const _0x5c9c5d=_0x4559c1[_0x331a69];if(this['_handleNewFunctionChild'](_0x5c9c5d,_0x17b31a,_0x23d4da),_0x5c9c5d instanceof a[_0x27c2ad(0xfa)]){const _0x60cc09=_0x4559c1[_0x331a69+0x1];_0x60cc09&&_0x60cc09 instanceof a[_0x27c2ad(0xfa)]&&_0x17b31a[_0x27c2ad(0xc5)](',');}}_0x50bbfb===0x7&&_0x17b31a[_0x27c2ad(0xc5)](_0x3eab84),(_0x5702b7||_0x50bbfb===0x9)&&_0x17b31a['push'](')');}[_0x2e965e(0xcc)](_0x5cbd64,_0xd2b21b,_0x2f0116){const _0x24515d=_0x2e965e;_0x5cbd64 instanceof a[_0x24515d(0xfa)]?this['_generateNewFunctionString'](_0x5cbd64,_0xd2b21b,_0x2f0116):this[_0x24515d(0xed)][_0x24515d(0xba)](_0x5cbd64)?(_0xd2b21b[_0x24515d(0xc5)](''+this[_0x24515d(0xf2)]+_0x5cbd64),this[_0x24515d(0x11b)]=!0x0):_0xd2b21b[_0x24515d(0xc5)](_0x5cbd64);}[_0x2e965e(0x64)](_0x580870){const _0x4b4e7f=_0x2e965e;let _0x4439a1=_0x580870[_0x4b4e7f(0x11e)]();if(!_0x4439a1)return _0x4439a1;const _0x26492e=_0x4439a1[0x0];if((_0x26492e===a[_0x4b4e7f(0x133)]['AT']||_0x26492e===a[_0x4b4e7f(0x133)][_0x4b4e7f(0x13b)]||_0x26492e===a[_0x4b4e7f(0x133)][_0x4b4e7f(0xd0)])&&(_0x4439a1=_0x4439a1[_0x4b4e7f(0x73)](0x1)),!_0x4439a1)return _0x4439a1;const _0xa91760=_0x4439a1[_0x4439a1[_0x4b4e7f(0x89)]-0x1];return a[_0x4b4e7f(0xa5)]['has'](_0xa91760)&&(_0x4439a1=_0x4439a1[_0x4b4e7f(0x73)](0x0,-0x1)),_0x4439a1;}[_0x2e965e(0x14e)](_0x3ed84d){const _0x21d1d0=_0x2e965e,_0xc0e2b3=_0x3ed84d[_0x21d1d0(0xcd)]()[0x0];if(!_0xc0e2b3||!(_0xc0e2b3 instanceof a[_0x21d1d0(0xfa)])||_0x3ed84d['getChildren']()['length']>0x1)return!0x1;const _0x3abbb2=_0xc0e2b3[_0x21d1d0(0xcd)](),_0x45aac1=_0x3abbb2[_0x21d1d0(0x89)];if(_0x45aac1===0x1)return!0x1;for(let _0x242502=0x0;_0x242502<_0x45aac1;_0x242502++){const _0x7d463f=_0x3abbb2[_0x242502];if(!(_0x7d463f instanceof a[_0x21d1d0(0xfa)])&&a['OPERATOR_TOKEN_SET'][_0x21d1d0(0xba)](_0x7d463f))return!0x0;}return!0x1;}[_0x2e965e(0x81)](_0x40034f,_0x4d755f,_0x510499,_0x33b1d4,_0x160caf){const _0x438425=_0x2e965e,_0x218721=this[_0x438425(0xb2)](_0x40034f,!0x1);if(!_0x218721||_0x218721===a[_0x438425(0x9e)]['VALUE']||Array['isArray'](_0x218721))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x4d755f;const _0x1ab34b=this[_0x438425(0x87)](_0x218721,_0x510499,_0x33b1d4,_0x160caf);return this['_currentUnitId']='',this[_0x438425(0x74)](),_0x1ab34b;}[_0x2e965e(0x87)](_0x417b6d,_0x5dc303,_0x851db8,_0x298f8d){const _0x13a887=_0x2e965e,_0xa6134c={'value':'','children':[],'startIndex':0x0};let _0x44a137=_0x417b6d;if(_0x44a137 instanceof a[_0x13a887(0xfa)]&&(_0x44a137['getToken']()===a[_0x13a887(0x12c)]||_0x44a137[_0x13a887(0x114)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x44a137[_0x13a887(0xcd)]()['length']===0x1&&(_0x44a137=_0x44a137[_0x13a887(0xcd)]()[0x0]),!(_0x44a137 instanceof a[_0x13a887(0xfa)]))return this[_0x13a887(0xca)](_0x44a137,_0x851db8,_0x298f8d);const _0x24ffb9=_0x44a137['getChildren'](),_0x333a5c=_0x24ffb9[_0x13a887(0x89)],_0x4ed806=[];this[_0x13a887(0xbc)](_0x44a137,_0x4ed806,_0x5dc303),_0xa6134c[_0x13a887(0xeb)]=_0x4ed806['join'](''),_0xa6134c[_0x13a887(0xbf)]=_0x44a137[_0x13a887(0xb8)]();const _0x407626=this['_getCurNodeTypeForExprTree'](_0x44a137);if(_0x407626===0x2){const _0x3a3ab7=_0x24ffb9[0x0];if(_0x3a3ab7 instanceof a[_0x13a887(0xfa)]){if(_0x3a3ab7[_0x13a887(0x114)]()[_0x13a887(0x11e)]()!==a[_0x13a887(0xc8)])return _0xa6134c;this[_0x13a887(0x158)](_0x3a3ab7,_0xa6134c,_0x5dc303,_0x851db8,_0x298f8d);}return _0xa6134c;}else{if(_0x407626===0x1){for(let _0x282a0c=0x0;_0x282a0c<_0x333a5c-0x1;_0x282a0c++){const _0x41e1bb=_0x24ffb9[_0x282a0c];if(_0x41e1bb instanceof a[_0x13a887(0xfa)]&&_0x282a0c%0x2===0x1){const _0xe7e4ae=_0x41e1bb[_0x13a887(0xcd)]();if(_0xe7e4ae[_0x13a887(0x89)]===0x1&&!(_0xe7e4ae[0x0]instanceof a[_0x13a887(0xfa)]))continue;const _0x17b572=this['_generateExprTree'](_0x41e1bb,_0x5dc303,_0x851db8,_0x298f8d);_0x17b572&&_0xa6134c[_0x13a887(0xe4)][_0x13a887(0xc5)](_0x17b572);}}return _0xa6134c;}else{if(_0x407626===0x8){const _0x539c7c=_0x24ffb9[0x0];if(_0x539c7c instanceof a[_0x13a887(0xfa)]){const _0x45c7a9=_0x539c7c[_0x13a887(0xcd)]()[0x0];_0x45c7a9 instanceof a[_0x13a887(0xfa)]&&(_0xa6134c['startIndex']=_0x45c7a9[_0x13a887(0xb8)]());}if(this['_checkColonNodeForExprTree'](_0x44a137))return _0xa6134c;}else{if(_0x407626===0x7){const _0x22bce5=_0x24ffb9[0x0];if(_0x22bce5 instanceof a[_0x13a887(0xfa)]){const _0x31643e=_0x22bce5[_0x13a887(0xcd)]()[0x0];_0x31643e instanceof a['LexerNode']&&(_0xa6134c[_0x13a887(0xbf)]=_0x31643e['getStartIndex']());}}}}}return this[_0x13a887(0xae)](_0x24ffb9,_0x407626,_0xa6134c,_0x5dc303,_0x851db8,_0x298f8d),_0xa6134c;}['_handleChildrenForExprTree'](_0x373a4a,_0x22df41,_0x1ca463,_0x450458,_0x42912d,_0x565ea5){const _0x1ab7cb=_0x2e965e;for(let _0x23cf06=0x0;_0x23cf06<_0x373a4a['length'];_0x23cf06++){let _0x914824=_0x373a4a[_0x23cf06];if(!(_0x914824 instanceof a[_0x1ab7cb(0xfa)])){const _0x1d0acd=this[_0x1ab7cb(0xca)](_0x914824,_0x42912d,_0x565ea5);_0x1d0acd&&_0x1ca463[_0x1ab7cb(0xe4)]['push'](_0x1d0acd);continue;}const _0x3cf30f=_0x914824['getChildren']();if(_0x3cf30f[_0x1ab7cb(0x89)]===0x1&&!(_0x3cf30f[0x0]instanceof a['LexerNode'])){const _0x1cd316=_0x3cf30f[0x0];if(!_0x42912d(this[_0x1ab7cb(0xb7)],_0x1cd316)&&!this[_0x1ab7cb(0x93)](_0x1cd316,_0x565ea5)&&!a['isReferenceString'](_0x1cd316))continue;}if(_0x22df41===0x8){const _0xf6b185=_0x3cf30f[0x0];if(_0xf6b185 instanceof a['LexerNode']){const _0x51f554=_0xf6b185[_0x1ab7cb(0x114)]()[_0x1ab7cb(0x11e)]();if(a[_0x1ab7cb(0xbe)](_0x51f554))continue;_0x914824=_0xf6b185;}}const _0x887e42=this[_0x1ab7cb(0x87)](_0x914824,_0x450458,_0x42912d,_0x565ea5);_0x887e42&&_0x1ca463[_0x1ab7cb(0xe4)][_0x1ab7cb(0xc5)](_0x887e42);}}[_0x2e965e(0x97)](_0x4afcd7){const _0x3ee339=_0x2e965e,_0x1427c8=_0x4afcd7[_0x3ee339(0xcd)]();if(_0x1427c8[_0x3ee339(0x89)]<0x2)return!0x1;const _0x18b803=_0x1427c8[0x0],_0x106bb1=_0x1427c8[0x1];if(!(_0x18b803 instanceof a['LexerNode'])||!(_0x106bb1 instanceof a[_0x3ee339(0xfa)]))return!0x1;const _0x2a7fc0=_0x18b803[_0x3ee339(0xcd)]()[0x0],_0x542bab=_0x106bb1[_0x3ee339(0xcd)]()[0x0];if(!(_0x2a7fc0 instanceof a[_0x3ee339(0xfa)])||!(_0x542bab instanceof a[_0x3ee339(0xfa)]))return!0x1;const _0xe03de9=_0x2a7fc0['getToken']()[_0x3ee339(0x11e)](),_0x16581e=_0x542bab[_0x3ee339(0x114)]()[_0x3ee339(0x11e)]();return!!a['isReferenceString'](''+_0xe03de9+a[_0x3ee339(0xaf)][_0x3ee339(0x151)]+_0x16581e);}[_0x2e965e(0xca)](_0x161d4f,_0x13711b,_0x11505c){const _0x52944f=_0x2e965e,_0xd3f317=_0x161d4f['trim']();return _0xd3f317[_0x52944f(0x8f)]('{')&&_0xd3f317[_0x52944f(0xf3)]('}')||_0x13711b(this[_0x52944f(0xb7)],_0xd3f317)||this[_0x52944f(0x93)](_0xd3f317,_0x11505c)||a[_0x52944f(0xbe)](_0xd3f317)?{'value':_0xd3f317,'children':[],'startIndex':-0x1}:null;}[_0x2e965e(0x93)](_0x4f50c7,_0x416fc8){const _0x4153d4=_0x2e965e,{tableName:_0x33e351}=a[_0x4153d4(0xf0)](_0x4f50c7);return _0x416fc8(this[_0x4153d4(0xb7)],_0x33e351)?_0x33e351:null;}['_handleLambdaForExprTree'](_0xbdbb0e,_0xb2f749,_0x2d4042,_0xd90a89,_0x2c0465){const _0x4e97bf=_0x2e965e,_0x5d8c2a=_0xbdbb0e['getChildren']();for(let _0x1ec9ee=0x0;_0x1ec9ee<_0x5d8c2a[_0x4e97bf(0x89)];_0x1ec9ee++){const _0x134bc0=_0x5d8c2a[_0x1ec9ee];if(!(_0x134bc0 instanceof a[_0x4e97bf(0xfa)]))continue;const _0x1ea86d=_0x134bc0['getChildren']();if(_0x1ea86d[_0x4e97bf(0x89)]===0x1&&!(_0x1ea86d[0x0]instanceof a[_0x4e97bf(0xfa)]))continue;const _0x4c824f=this[_0x4e97bf(0x87)](_0x134bc0,_0x2d4042,_0xd90a89,_0x2c0465);_0x4c824f&&_0xb2f749['children'][_0x4e97bf(0xc5)](_0x4c824f);}}[_0x2e965e(0xbd)](_0x85c995){const _0x49b124=_0x2e965e,_0x4eb550=_0x85c995[_0x49b124(0x114)](),_0x8877b6=_0x4eb550[_0x49b124(0x11e)]()[_0x49b124(0xa3)]();let _0x2f7250=0x0;return _0x4eb550===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x2f7250=0x3:_0x4eb550===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x2f7250=0x4:_0x4eb550===a[_0x49b124(0xc8)]?_0x2f7250=0x5:_0x8877b6===a[_0x49b124(0x116)]?_0x2f7250=0x2:_0x8877b6===a[_0x49b124(0x154)]?_0x2f7250=0x1:_0x8877b6===a[_0x49b124(0xaf)][_0x49b124(0x151)]?_0x2f7250=0x8:a[_0x49b124(0xa5)][_0x49b124(0xba)](_0x8877b6)?_0x2f7250=0x7:_0x8877b6===a[_0x49b124(0x133)]['MINUS']?this['_checkAddBracketForMinus'](_0x85c995)&&(_0x2f7250=0x9):_0x2f7250=0xa,_0x2f7250;}}class k extends a[_0x2e965e(0x15e)]{constructor(){const _0x20d03c=_0x2e965e;super(...arguments),R(this,_0x20d03c(0x9f),new Map());}[_0x2e965e(0x109)](){const _0x403363=_0x2e965e;super[_0x403363(0x109)](),this[_0x403363(0x9f)][_0x403363(0x80)]();}async[_0x2e965e(0x96)](_0x4432c9=!0x1){const _0x457bb3=_0x2e965e;this[_0x457bb3(0x107)]();const _0x166612=this[_0x457bb3(0xd4)][_0x457bb3(0x6d)](),_0x2551ce=this[_0x457bb3(0xe9)][_0x457bb3(0xb0)](),_0x2098c2=this[_0x457bb3(0xd4)]['getClearDependencyTreeCache']();_0x2098c2!=null&&Object[_0x457bb3(0x66)](_0x2098c2)[_0x457bb3(0x155)](_0x45e6d3=>{const _0x1b6855=_0x457bb3;_0x45e6d3!=null&&Object['keys'](_0x2098c2[_0x45e6d3])[_0x1b6855(0x155)](_0x285574=>{const _0x503bad=_0x1b6855;_0x285574!=null&&(this[_0x503bad(0x119)][_0x503bad(0xfb)](_0x45e6d3,_0x285574),this[_0x503bad(0x119)][_0x503bad(0x70)](_0x45e6d3,_0x285574),this[_0x503bad(0x119)][_0x503bad(0x6b)](_0x45e6d3,_0x285574));});});const _0x15187f=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x166612,_0x2551ce,_0x15187f),this[_0x457bb3(0x119)]['openKdTree']();const _0x40704e=this['_getUpdateTreeListAndMakeDependency'](),_0x23ff96=this['_calculateRunList'](_0x40704e);return this[_0x457bb3(0x142)](_0x23ff96)&&this['_runtimeService']['enableCycleDependency'](),_0x4432c9&&this['_runtimeService'][_0x457bb3(0x65)](this[_0x457bb3(0x12a)](Array[_0x457bb3(0xe6)](this['_dependencyTreeCache'][_0x457bb3(0x7b)]()))),this[_0x457bb3(0x9f)][_0x457bb3(0x80)](),this['_dependencyRTreeCacheForAddressFunction'][_0x457bb3(0x80)](),this['_dependencyManagerService'][_0x457bb3(0x77)](),this[_0x457bb3(0x10a)]['clearArrayObjectCache'](),Promise[_0x457bb3(0x15a)](_0x23ff96);}[_0x2e965e(0x118)](_0x1509c4,_0x54fa3a){const _0x125b8a=_0x2e965e,_0x39e1a3=[_0x1509c4];for(;_0x39e1a3[_0x125b8a(0x89)]>0x0;){const _0x3f8b15=_0x39e1a3[_0x39e1a3['length']-0x1];if((_0x54fa3a[_0x125b8a(0x127)](_0x3f8b15)||0x0)===0x0){_0x54fa3a[_0x125b8a(0xcb)](_0x3f8b15,0x1);const _0x5d443c=this['_dependencyTreeCache'][_0x125b8a(0x127)](_0x3f8b15);if(_0x5d443c==null){_0x54fa3a[_0x125b8a(0xcb)](_0x3f8b15,0x2),_0x39e1a3['pop']();continue;}const _0x55af77=this[_0x125b8a(0x119)][_0x125b8a(0x136)](_0x5d443c[_0x125b8a(0x129)]());for(const _0x145002 of _0x55af77){const _0x5ca431=_0x54fa3a[_0x125b8a(0x127)](_0x145002)||0x0;if(_0x5ca431===0x1)return!0x0;_0x5ca431===0x0&&_0x39e1a3[_0x125b8a(0xc5)](_0x145002);}}else _0x54fa3a[_0x125b8a(0xcb)](_0x3f8b15,0x2),_0x39e1a3[_0x125b8a(0x150)]();}return!0x1;}[_0x2e965e(0x142)](_0x37634b){const _0x178bd4=_0x2e965e,_0xe100c1=new Map();for(const _0x2e9b9c of _0x37634b)if(!_0xe100c1['has'](_0x2e9b9c[_0x178bd4(0x92)])&&this[_0x178bd4(0x118)](_0x2e9b9c[_0x178bd4(0x92)],_0xe100c1))return!0x0;return _0xe100c1[_0x178bd4(0x80)](),!0x1;}[_0x2e965e(0xa4)](_0x273f51,_0x3118a9,_0x2c0da9){const _0x2fa72b=_0x2e965e,{unitId:_0x385c1e,subUnitId:_0xcec5d5,dependencyRanges:_0xa060c1,getDirtyData:_0x18bce5}=_0x2c0da9,_0x5511f1=_0x3118a9||a[_0x2fa72b(0x8a)](this[_0x2fa72b(0x119)]),_0x3dca99=new a[(_0x2fa72b(0x10b))](_0x5511f1);_0x3dca99[_0x2fa72b(0x149)]=_0x385c1e,_0x3dca99['subUnitId']=_0xcec5d5,_0x3dca99['rangeList']=_0xa060c1,_0x3dca99[_0x2fa72b(0x69)]=_0x18bce5;const _0x3db62e=_0x18bce5(this[_0x2fa72b(0xd4)][_0x2fa72b(0x69)](),this['_runtimeService'][_0x2fa72b(0xb9)]()),_0x110382=this[_0x2fa72b(0x7e)](_0x3db62e[_0x2fa72b(0xe8)]);return _0x3dca99[_0x2fa72b(0x10c)]=_0x110382,_0x3dca99[_0x2fa72b(0xb5)]=_0x273f51,_0x3dca99[_0x2fa72b(0x117)]=a['FormulaDependencyTreeType']['FEATURE_FORMULA'],this[_0x2fa72b(0x119)][_0x2fa72b(0xfe)](_0x385c1e,_0xcec5d5,_0x273f51,_0x3dca99),this[_0x2fa72b(0x9f)]['set'](_0x3dca99['treeId'],_0x3dca99),this[_0x2fa72b(0x119)][_0x2fa72b(0xe3)](_0x2c0da9[_0x2fa72b(0x149)],_0x2c0da9[_0x2fa72b(0x7c)],_0x273f51)&&(_0x3dca99[_0x2fa72b(0x126)]=!0x0),_0x3dca99;}[_0x2e965e(0xe0)](_0x30a902,_0x241858,_0x4f1a75){const _0x1bfd40=_0x2e965e;var _0x40bdd5;for(const _0x3b0011 of _0x241858){const _0xebf22d=_0x30a902[_0x3b0011];if(_0xebf22d==null)continue;const _0x3d0454=Object['keys'](_0xebf22d);for(const _0x435d20 of _0x3d0454){const _0x2e135c=_0xebf22d[_0x435d20];if(_0x2e135c==null)continue;const _0x166c49=Object[_0x1bfd40(0x66)](_0x2e135c);for(const _0x291349 of _0x166c49){const _0x437915=this[_0x1bfd40(0x119)]['hasOtherFormulaDataMainData'](_0x291349),_0x238e68=_0x2e135c[_0x291349],{f:_0x2e9008,ranges:_0x327669}=_0x238e68;let _0x1c9bcc=!0x1;_0x437915&&(_0x1c9bcc=!0x0);const {firstRow:_0x111b49,firstColumn:_0x47d222}=this['_getFirstCellOfRange'](_0x327669),_0x38d289=this[_0x1bfd40(0x119)]['getOtherFormulaDependency'](_0x3b0011,_0x435d20,_0x291349),_0x5d92c7=(_0x40bdd5=_0x38d289==null?void 0x0:_0x38d289[_0x1bfd40(0x13c)](0x0,0x0))!=null?_0x40bdd5:a['generateRandomDependencyTreeId'](this[_0x1bfd40(0x119)]),_0x5ad4ff=new a[(_0x1bfd40(0x10b))](_0x5d92c7);for(let _0x730f73=0x0;_0x730f73<_0x327669[_0x1bfd40(0x89)];_0x730f73++){const _0x1cb1d2=_0x327669[_0x730f73],{startRow:_0x138fa9,startColumn:_0x1cac7d,endRow:_0x4f9ac6,endColumn:_0x5148fb}=_0x1cb1d2;for(let _0x422ba8=_0x138fa9;_0x422ba8<=_0x4f9ac6;_0x422ba8++)for(let _0x3a9b66=_0x1cac7d;_0x3a9b66<=_0x5148fb;_0x3a9b66++){const _0x57010d=_0x3a9b66-_0x47d222,_0x5cea77=_0x422ba8-_0x111b49;if(_0x57010d===0x0&&_0x5cea77===0x0){_0x5ad4ff[_0x1bfd40(0x6a)]=_0x2e9008,_0x5ad4ff[_0x1bfd40(0x149)]=_0x3b0011,_0x5ad4ff[_0x1bfd40(0x7c)]=_0x435d20,_0x5ad4ff[_0x1bfd40(0x79)]=_0x291349,_0x5ad4ff[_0x1bfd40(0x117)]=a[_0x1bfd40(0xdf)][_0x1bfd40(0x76)],_0x5ad4ff[_0x1bfd40(0x126)]=_0x1c9bcc,_0x4f1a75[_0x1bfd40(0xc5)](_0x5ad4ff),this['_dependencyTreeCache'][_0x1bfd40(0xcb)](_0x5ad4ff['treeId'],_0x5ad4ff),this['_dependencyManagerService'][_0x1bfd40(0x9d)](_0x3b0011,_0x435d20,_0x291349,_0x5ad4ff),this[_0x1bfd40(0x119)][_0x1bfd40(0x14b)](_0x5ad4ff);continue;}const _0x2aad04=new a[(_0x1bfd40(0x9b))]();_0x2aad04[_0x1bfd40(0x92)]=(_0x38d289==null?void 0x0:_0x38d289[_0x1bfd40(0x13c)](_0x57010d,_0x5cea77))||a[_0x1bfd40(0x8a)](this[_0x1bfd40(0x119)]),_0x2aad04[_0x1bfd40(0x123)]=_0x5ad4ff,_0x2aad04[_0x1bfd40(0xe7)]=_0x57010d,_0x2aad04[_0x1bfd40(0xec)]=_0x5cea77,_0x2aad04[_0x1bfd40(0x126)]=_0x1c9bcc,_0x2aad04[_0x1bfd40(0x117)]=a['FormulaDependencyTreeType']['OTHER_FORMULA'],this['_dependencyManagerService'][_0x1bfd40(0x9d)](_0x3b0011,_0x435d20,_0x291349,_0x2aad04),this[_0x1bfd40(0x119)][_0x1bfd40(0x14b)](_0x2aad04),_0x4f1a75[_0x1bfd40(0xc5)](_0x2aad04),this[_0x1bfd40(0x9f)][_0x1bfd40(0xcb)](_0x2aad04[_0x1bfd40(0x92)],_0x2aad04);}}this[_0x1bfd40(0x119)][_0x1bfd40(0xdd)](_0x291349);}}}}[_0x2e965e(0xde)](_0x16b2a2,_0x51f825,_0x5d9d99,_0x4f5c7c){const _0x1db386=_0x2e965e;for(const _0x4e49e8 of _0x16b2a2){const _0x3dc18f=_0x51f825[_0x4e49e8];if(_0x3dc18f==null)continue;const _0x3f97ed=Object[_0x1db386(0x66)](_0x3dc18f);for(const _0x538de1 of _0x3f97ed){const _0x54018c=new D[(_0x1db386(0x152))](_0x3dc18f[_0x538de1]||{}),_0xc52527=new Map();_0x54018c[_0x1db386(0xe2)]((_0x5283a6,_0x1fafe1,_0x26f687)=>{const _0x593acf=_0x1db386;if(_0x26f687==null)return!0x0;const {x:_0x4b6842=0x0,y:_0x343c7b=0x0,si:_0x8cf752}=_0x26f687;if(!(_0x4b6842===0x0&&_0x343c7b===0x0&&_0x8cf752!=null))return!0x0;const _0x6fe61=this[_0x593acf(0x13f)](_0x4e49e8,_0x538de1,_0x5283a6,_0x1fafe1,_0x5d9d99,_0x26f687),_0x20c878=this['_dependencyManagerService'][_0x593acf(0x11f)](_0x4e49e8,_0x538de1,_0x5283a6,_0x1fafe1);_0x20c878!=null?_0x6fe61[_0x593acf(0x92)]=_0x20c878:(this[_0x593acf(0x119)][_0x593acf(0xf1)](_0x4e49e8,_0x538de1,_0x5283a6,_0x1fafe1,_0x6fe61),this[_0x593acf(0x119)][_0x593acf(0x14b)](_0x6fe61)),_0xc52527[_0x593acf(0xcb)](_0x8cf752,_0x6fe61),_0x4f5c7c[_0x593acf(0xc5)](_0x6fe61),this[_0x593acf(0x9f)][_0x593acf(0xcb)](_0x6fe61[_0x593acf(0x92)],_0x6fe61);}),_0x54018c['forValue']((_0xe4b0b4,_0x1aaae6,_0x46c656)=>{const _0x4e9815=_0x1db386;if(_0x46c656==null)return!0x0;const {x:_0x34858f=0x0,y:_0xe2417c=0x0,si:_0xa10cd3}=_0x46c656;if(_0x34858f===0x0&&_0xe2417c===0x0&&_0xa10cd3!=null)return!0x0;let _0x236dd3;if(_0xa10cd3&&_0xc52527['has'](_0xa10cd3)){const _0x33b47d=_0xc52527[_0x4e9815(0x127)](_0xa10cd3);_0x236dd3=this[_0x4e9815(0xf4)](_0x33b47d,_0x46c656);}else _0x236dd3=this['_createFDtree'](_0x4e49e8,_0x538de1,_0xe4b0b4,_0x1aaae6,_0x5d9d99,_0x46c656);const _0xf3dd8e=this[_0x4e9815(0x119)][_0x4e9815(0x11f)](_0x4e49e8,_0x538de1,_0xe4b0b4,_0x1aaae6);_0xf3dd8e!=null?_0x236dd3[_0x4e9815(0x92)]=_0xf3dd8e:(this[_0x4e9815(0x119)][_0x4e9815(0xf1)](_0x4e49e8,_0x538de1,_0xe4b0b4,_0x1aaae6,_0x236dd3),this[_0x4e9815(0x119)][_0x4e9815(0x14b)](_0x236dd3)),_0x4f5c7c[_0x4e9815(0xc5)](_0x236dd3),this['_dependencyTreeCache'][_0x4e9815(0xcb)](_0x236dd3[_0x4e9815(0x92)],_0x236dd3);}),_0xc52527['clear']();}}}[_0x2e965e(0x13f)](_0x3e69d2,_0x26bef1,_0x22fead,_0x27abac,_0x2bbdf3,_0x4f1d27){const _0x4b7399=_0x2e965e,{f:_0x3d6aeb,x:_0x1d7b04=0x0,y:_0x44959b=0x0}=_0x4f1d27,_0x125526=new a[(_0x4b7399(0x10b))](a['generateRandomDependencyTreeId'](this['_dependencyManagerService'])),_0x24cbc8=_0x2bbdf3[_0x3e69d2][_0x26bef1];return _0x125526[_0x4b7399(0x6a)]=_0x3d6aeb,_0x125526[_0x4b7399(0x149)]=_0x3e69d2,_0x125526[_0x4b7399(0x7c)]=_0x26bef1,_0x125526[_0x4b7399(0x15d)]=_0x22fead,_0x125526[_0x4b7399(0x135)]=_0x27abac,_0x125526[_0x4b7399(0x115)]=_0x24cbc8[_0x4b7399(0x115)],_0x125526[_0x4b7399(0x15c)]=_0x24cbc8[_0x4b7399(0x15c)],_0x125526;}['_getUpdateTreeListAndMakeDependency'](){const _0x2a538f=_0x2e965e,_0x1531be=[],_0x336ec2=new Set(),_0x24643e=this[_0x2a538f(0xd4)][_0x2a538f(0xd3)](),_0x120de9=this[_0x2a538f(0xd4)][_0x2a538f(0xd7)](),_0x2b13c4=this[_0x2a538f(0x119)]['searchDependency'](_0x120de9),_0x46be51=this[_0x2a538f(0x11d)][_0x2a538f(0xea)](_0x120de9);for(const _0x1b3c9b of _0x46be51)_0x2b13c4[_0x2a538f(0xef)](_0x1b3c9b);for(const [_0x33fa8b,_0x41da1c]of this[_0x2a538f(0x9f)])(_0x24643e||_0x41da1c['isDirty']||_0x41da1c[_0x2a538f(0x141)](this[_0x2a538f(0xd4)][_0x2a538f(0xe5)]())||_0x2b13c4[_0x2a538f(0xba)](_0x33fa8b)&&!_0x41da1c['isExcludeRange'](this['_currentConfigService']['getExcludedRange']()))&&!_0x336ec2['has'](_0x33fa8b)&&(_0x1531be['push'](_0x41da1c),_0x336ec2[_0x2a538f(0xef)](_0x33fa8b));for(const [_0x4e3686,_0x2e09ff]of this['_dependencyTreeCache'])_0x2e09ff[_0x2a538f(0x75)]||(_0x2e09ff[_0x2a538f(0x7f)][_0x2a538f(0x89)]=0x0);return _0x1531be;}['_getTreeById'](_0x18e894){const _0x4af140=_0x2e965e;return this['_dependencyTreeCache'][_0x4af140(0x127)](_0x18e894);}[_0x2e965e(0x143)](_0x3f8880){const _0x1c9aa9=_0x2e965e;return a['generateAstNode'](_0x3f8880[_0x1c9aa9(0x149)],_0x3f8880[_0x1c9aa9(0x6a)],this[_0x1c9aa9(0x128)],this[_0x1c9aa9(0x6f)],this['_currentConfigService']);}*[_0x2e965e(0xa2)](_0x545ce6,_0x2d0981){const _0x4ee9ac=_0x2e965e,_0x1de5e8=_0x545ce6,_0x21c7fe=new Set();for(;_0x1de5e8[_0x4ee9ac(0x89)]>0x0;){const _0x3bee0f=_0x1de5e8[_0x4ee9ac(0x150)]();if(_0x21c7fe[_0x4ee9ac(0x80)](),_0x3bee0f===void 0x0||_0x3bee0f['isSkip']())continue;if(_0x3bee0f['isAdded']()){yield _0x3bee0f,_0x3bee0f[_0x4ee9ac(0xff)](),_0x2d0981['add'](_0x3bee0f[_0x4ee9ac(0x92)]);continue;}const _0x5b7de0=this[_0x4ee9ac(0x119)]['searchDependency'](_0x3bee0f[_0x4ee9ac(0x129)](),_0x2d0981),_0x469cc1=this[_0x4ee9ac(0x11d)][_0x4ee9ac(0xea)](_0x3bee0f[_0x4ee9ac(0x129)](),_0x2d0981);for(const _0x31867a of _0x469cc1)_0x5b7de0['add'](_0x31867a);for(const _0x1e6476 of _0x5b7de0){const _0x33bb7d=this['_dependencyTreeCache'][_0x4ee9ac(0x127)](_0x1e6476);if(!_0x33bb7d){console['error']('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x1e6476);continue;}_0x33bb7d['isAdded']()||_0x3bee0f[_0x4ee9ac(0xad)]()||_0x21c7fe[_0x4ee9ac(0xef)](_0x33bb7d);}if(_0x5b7de0[_0x4ee9ac(0x80)](),_0x21c7fe[_0x4ee9ac(0x7a)]===0x0)yield _0x3bee0f,_0x3bee0f['setSkip'](),_0x2d0981['add'](_0x3bee0f[_0x4ee9ac(0x92)]);else{_0x3bee0f[_0x4ee9ac(0x13d)](),_0x1de5e8['push'](_0x3bee0f);for(const _0xa1427e of _0x21c7fe)_0x1de5e8[_0x4ee9ac(0xc5)](_0xa1427e);}}_0x1de5e8['length']=0x0,_0x21c7fe['clear']();}[_0x2e965e(0x125)](_0x37d746){const _0x33070d=_0x2e965e,_0xc67440=[],_0x376139=new Set();for(const _0x3a091f of this[_0x33070d(0xa2)](_0x37d746,_0x376139))_0xc67440[_0x33070d(0xc5)](_0x3a091f);return _0xc67440;}async[_0x2e965e(0x9c)](){const _0x5bf0d1=_0x2e965e;return await this['_initializeGenerateTreeList'](),Array[_0x5bf0d1(0xe6)](this[_0x5bf0d1(0x9f)]['values']());}[_0x2e965e(0x14f)](_0x541d17){const _0x58b09e=_0x2e965e;return this[_0x58b09e(0x119)][_0x58b09e(0x136)](_0x541d17[_0x58b09e(0x129)]());}[_0x2e965e(0xf5)](_0x242e19){const _0x5d51a8=_0x2e965e,_0x1c4c0a=new Set(),_0x5afc5d=_0x242e19[_0x5d51a8(0x7f)];for(const [_0x356871,_0x4f4767]of this['_dependencyTreeCache'])for(const _0x1f281f of _0x5afc5d){const _0x439041=_0x1f281f['unitId'],_0x3c15e7=_0x1f281f['sheetId'];if(_0x4f4767[_0x5d51a8(0x149)]!==_0x439041||_0x4f4767['subUnitId']!==_0x3c15e7)continue;const _0x56e38d=_0x1f281f[_0x5d51a8(0x110)];if(_0x4f4767[_0x5d51a8(0x120)](_0x56e38d)){_0x1c4c0a[_0x5d51a8(0xef)](_0x356871);break;}}return _0x1c4c0a;}[_0x2e965e(0xc6)](){const _0x1264cd=_0x2e965e;this[_0x1264cd(0x119)][_0x1264cd(0x140)]();}[_0x2e965e(0x12b)](){const _0x332fe1=_0x2e965e;this['_formulaDependencyTreeModel'][_0x332fe1(0x80)](),this[_0x332fe1(0x9f)]['clear'](),this[_0x332fe1(0x119)][_0x332fe1(0x77)]();}}const b='/*tKg\x20JiR-AJgqa\x20KtpEKBKE-RKhp\x20qRKt*/BfixRJmitAKxEypRJmi(\x20JxKigK,tpfa\x20JxNKy)t{ttttREyt{ttttttttxmigRt\x20JxKigKniBmrqERUEEqyt=t\x20JxKigK.gp\x20JR(\x27-\x27);ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma(\x20JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE(\x20JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH\x20maq\x20kxmpKt!==t\x27fiAKBJiKA\x27t&&tgK\x20BtJigRqixKmBt6mEjKEH\x20maq\x20kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t\x27fiAKBJiKA\x27t&&tRypKmBtuJiAmu.\x20mxqRJmit!==t\x27fiAKBJiKA\x27;ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK\x20Bt:t(JgbEmugKEt?tuJiAmut:to\x20maq\x20QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq\x20JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa\x20JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF(\x27*.\x27))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g\x20JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF(\x27.\x27)t&&tFmgR.KiAg6JRF(\x27.\x27t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq\x20gK;tttttttt}tttttttt\x20KRtAmhqJiDq\x20JAt=tBq\x20gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq\x20JAt=t(AmhqJit&&tAmhqJi.\x20KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t\x20mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt(\x20mxqRJmi.FmgRiqhKt===t\x27\x20mxq\x20FmgR\x27)t{ttttttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttttttt}tttttttt}tK\x20gKt{ttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttt}ttttttttxmigRtPq\x20JAt=tgJoiDq\x20JAt&&tAmhqJiDq\x20JA;ttttttttEKRfEit{ttttttttttttPq\x20JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq\x20JA:tBq\x20gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}',Y={0x0:'z',0x1:'6',0x2:'x',0x3:'N',0x4:'L',0x5:'1',0x6:'W',0x7:'J',0x8:'9',0x9:'R','L':'0','V':'2','I':'3','M':'4','s':'5','C':'7','S':'8','q':'a','a':'b','x':'c','A':'d','K':'e','B':'f','o':'g','F':'h','J':'i','X':'j','j':'k','\x20':'l','h':'m','i':'n','m':'o','p':'p','w':'q','E':'r','g':'s','R':'t','f':'u','P':'v','u':'w','y':'y','U':'A','b':'B','Z':'C','v':'D','G':'E','T':'F','H':'G','c':'H','n':'I','N':'K','d':'M','e':'O','r':'P','W':'Q','k':'S','Q':'T','Y':'U','D':'V','z':'X','l':'Y','O':'Z','t':'\x20'};class V extends a[_0x2e965e(0x9a)]{async[_0x2e965e(0x11c)](_0x2641e7=!0x1){const _0x388c11=_0x2e965e;_0x2641e7?this[_0x388c11(0x10a)][_0x388c11(0xcf)](a[_0x388c11(0x14a)][_0x388c11(0x144)]):this[_0x388c11(0x10a)][_0x388c11(0xcf)](a[_0x388c11(0x14a)][_0x388c11(0x139)]),this['_executionInProgressListener$'][_0x388c11(0x113)](this[_0x388c11(0x10a)][_0x388c11(0xb6)]());const _0x5068fc=await this['_formulaDependencyGenerator'][_0x388c11(0x96)](this[_0x388c11(0x94)]),_0xc315ab=this[_0x388c11(0x106)];_0x2641e7?(this[_0x388c11(0x10a)][_0x388c11(0xcf)](a['FormulaExecuteStageType'][_0x388c11(0x8e)]),this[_0x388c11(0x10a)][_0x388c11(0x14c)](_0x5068fc[_0x388c11(0x89)])):(this[_0x388c11(0x10a)]['setFormulaExecuteStage'](a['FormulaExecuteStageType'][_0x388c11(0xf7)]),this[_0x388c11(0x10a)][_0x388c11(0x98)](_0x5068fc['length'])),this['_executionInProgressListener$'][_0x388c11(0x113)](this[_0x388c11(0x10a)][_0x388c11(0xb6)]());let _0x5878d0=[];const _0x28684a=this['_configService'][_0x388c11(0xfc)](a[_0x388c11(0x101)]),_0x3eb5e4=(_0x28684a==null?void 0x0:_0x28684a['intervalCount'])||a['DEFAULT_INTERVAL_COUNT'];let _0x4821eb=0x0;const _0xc45ec8=_0x5068fc[_0x388c11(0x89)];for(;_0x5068fc[_0x388c11(0x89)]>0x0;){const _0x5189bd=_0x5068fc[_0x388c11(0x150)](),_0x1c28c2=a[_0x388c11(0x108)](_0x5189bd[_0x388c11(0x149)],_0x5189bd[_0x388c11(0x6a)],this[_0x388c11(0x128)],this[_0x388c11(0x6f)],this[_0x388c11(0xd4)]),_0x2418bf={'node':_0x1c28c2,'refOffsetX':_0x5189bd[_0x388c11(0xe7)],'refOffsetY':_0x5189bd[_0x388c11(0xec)]},_0x367378=_0x5189bd[_0x388c11(0x69)];if(_0x4821eb%_0x3eb5e4===0x0&&(await new Promise(_0x4168ac=>{const _0x2b27e2=_0x388c11,_0x2166dc=D[_0x2b27e2(0x82)](_0x4168ac);_0x5878d0[_0x2b27e2(0xc5)](_0x2166dc);}),_0x2641e7?(this[_0x388c11(0x10a)][_0x388c11(0xcf)](a[_0x388c11(0x14a)][_0x388c11(0xc4)]),this[_0x388c11(0x10a)][_0x388c11(0xf6)](_0x4821eb+0x1)):(this[_0x388c11(0x10a)][_0x388c11(0xcf)](a[_0x388c11(0x14a)][_0x388c11(0xf9)]),this[_0x388c11(0x10a)]['setCompletedFormulasCount'](_0x4821eb+0x1)),this[_0x388c11(0xd9)][_0x388c11(0x113)](this[_0x388c11(0x10a)][_0x388c11(0xb6)]()),this[_0x388c11(0x10a)][_0x388c11(0x78)]()||_0x2418bf==null&&_0x367378==null)){this[_0x388c11(0x10a)][_0x388c11(0xcf)](a[_0x388c11(0x14a)][_0x388c11(0xd1)]),this['_runtimeService'][_0x388c11(0x83)](),this['_executionCompleteListener$'][_0x388c11(0x113)](this['_runtimeService'][_0x388c11(0xb9)]());return;}this[_0x388c11(0x10a)][_0x388c11(0x12d)](_0x5189bd['row'],_0x5189bd[_0x388c11(0x135)],_0x5189bd['rowCount'],_0x5189bd[_0x388c11(0x15c)],_0x5189bd[_0x388c11(0x7c)],_0x5189bd[_0x388c11(0x149)]);let _0x4517af;if(_0x367378!=null&&_0x5189bd[_0x388c11(0xb5)]!=null){const {runtimeCellData:_0x2a34b6,dirtyRanges:_0x349a0d}=_0x367378(this[_0x388c11(0xd4)][_0x388c11(0x69)](),this['_runtimeService'][_0x388c11(0xb9)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x5189bd[_0x388c11(0xb5)],_0x2a34b6),this[_0x388c11(0x10a)]['setRuntimeFeatureRange'](_0x5189bd[_0x388c11(0xb5)],_0x349a0d);}else _0x2418bf!=null&&(_0xc315ab[_0x388c11(0x156)](_0x2418bf['node'])?_0x4517af=await _0xc315ab[_0x388c11(0x86)](_0x2418bf):_0x4517af=_0xc315ab[_0x388c11(0xda)](_0x2418bf),_0x5189bd[_0x388c11(0x79)]!=null?this['_runtimeService'][_0x388c11(0x88)](_0x5189bd[_0x388c11(0x79)],_0x5189bd[_0x388c11(0xe7)],_0x5189bd[_0x388c11(0xec)],_0x4517af):this[_0x388c11(0x10a)][_0x388c11(0xfd)](_0x4517af));_0x1c28c2[_0x388c11(0xdb)](),_0x4821eb++;}return _0x5878d0[_0x388c11(0x155)](_0x755e1a=>_0x755e1a()),_0x5878d0=[],_0xc45ec8>0x0?this[_0x388c11(0x10a)][_0x388c11(0x138)]():_0x2641e7||this[_0x388c11(0x10a)][_0x388c11(0x8d)](),this[_0x388c11(0x10a)][_0x388c11(0xb9)]();}}class j extends a[_0x2e965e(0x145)]{constructor(){const _0x4814e6=_0x2e965e;super(...arguments),R(this,_0x4814e6(0x13e),new Map()),R(this,_0x4814e6(0xb3),new D[(_0x4814e6(0xaa))](!0x0));}['reset'](){const _0x17d2a0=_0x2e965e;this[_0x17d2a0(0x95)]['clear'](),this[_0x17d2a0(0xa9)][_0x17d2a0(0x80)](),this[_0x17d2a0(0x84)]['clear'](),this['_dependencyRTreeCache'][_0x17d2a0(0x80)](),this[_0x17d2a0(0x13e)][_0x17d2a0(0x80)](),this[_0x17d2a0(0x8c)](),this[_0x17d2a0(0xa6)][_0x17d2a0(0x80)]();}[_0x2e965e(0x9d)](_0x21071c,_0x468c4a,_0x2f01,_0x336b8d){const _0x20a389=_0x2e965e;this['_otherFormulaData'][_0x20a389(0xba)](_0x21071c)||this['_otherFormulaData'][_0x20a389(0xcb)](_0x21071c,new Map());const _0x262f54=this[_0x20a389(0x95)][_0x20a389(0x127)](_0x21071c);_0x262f54[_0x20a389(0xba)](_0x468c4a)||_0x262f54[_0x20a389(0xcb)](_0x468c4a,new Map());const _0x2077b9=_0x262f54[_0x20a389(0x127)](_0x468c4a);_0x2077b9[_0x20a389(0xba)](_0x2f01)||_0x2077b9[_0x20a389(0xcb)](_0x2f01,new D[(_0x20a389(0x152))]()),_0x2077b9['get'](_0x2f01)['setValue'](_0x336b8d['refOffsetX'],_0x336b8d[_0x20a389(0xec)],_0x336b8d[_0x20a389(0x92)]);}[_0x2e965e(0x8b)](_0x59ec7e,_0x22f797,_0xfe60a1){const _0x207291=_0x2e965e,_0x3ff008=this['_otherFormulaData']['get'](_0x59ec7e);if(_0x3ff008&&_0x3ff008[_0x207291(0xba)](_0x22f797)){const _0x141d37=_0x3ff008[_0x207291(0x127)](_0x22f797);_0xfe60a1[_0x207291(0x155)](_0x52bbec=>{const _0x16a759=_0x207291,_0x31edaa=_0x141d37[_0x16a759(0x127)](_0x52bbec);_0x31edaa!=null&&(_0x31edaa[_0x16a759(0xe2)]((_0x2f1fd4,_0x2f2b75,_0x102a17)=>{const _0x134f14=_0x16a759;this[_0x134f14(0x148)](_0x102a17),this[_0x134f14(0xc0)](_0x102a17);}),_0x141d37[_0x16a759(0x91)](_0x52bbec),this[_0x16a759(0xa6)][_0x16a759(0x91)](_0x52bbec));}),_0x141d37[_0x207291(0x7a)]===0x0&&_0x3ff008[_0x207291(0x91)](_0x22f797),_0x3ff008[_0x207291(0x7a)]===0x0&&this[_0x207291(0x95)][_0x207291(0x91)](_0x59ec7e);}}[_0x2e965e(0xfb)](_0x4ea33b,_0x4fc8a0){const _0x2a4780=_0x2e965e,_0x4d5fed=this['_otherFormulaData'][_0x2a4780(0x127)](_0x4ea33b);if(_0x4fc8a0&&_0x4d5fed&&_0x4d5fed[_0x2a4780(0xba)](_0x4fc8a0)){const _0x3b4533=_0x4d5fed[_0x2a4780(0x127)](_0x4fc8a0);this[_0x2a4780(0x12f)](_0x4ea33b,_0x4fc8a0);for(const _0x125f8a of _0x3b4533[_0x2a4780(0x66)]()){const _0x377942=_0x3b4533['get'](_0x125f8a);_0x377942!=null&&(_0x377942[_0x2a4780(0xe2)]((_0x46946b,_0x406125,_0x5ef6be)=>{const _0x4dff52=_0x2a4780;this[_0x4dff52(0x13e)][_0x4dff52(0x127)](_0x5ef6be)&&this[_0x4dff52(0xc0)](_0x5ef6be);}),this[_0x2a4780(0xa6)]['delete'](_0x125f8a));}_0x3b4533[_0x2a4780(0x80)]();}else{if(_0x4d5fed){for(const _0x5adb51 of _0x4d5fed[_0x2a4780(0x66)]()){const _0x2d72d5=_0x4d5fed[_0x2a4780(0x127)](_0x5adb51);this[_0x2a4780(0x12f)](_0x4ea33b,_0x5adb51);for(const _0x4c3c5e of _0x2d72d5[_0x2a4780(0x66)]()){const _0x23db6e=_0x2d72d5[_0x2a4780(0x127)](_0x4c3c5e);_0x23db6e!=null&&(_0x23db6e[_0x2a4780(0xe2)]((_0x2fa734,_0x10fcc8,_0x1231c0)=>{const _0x3bb353=_0x2a4780;this[_0x3bb353(0x13e)][_0x3bb353(0x127)](_0x1231c0)&&this[_0x3bb353(0xc0)](_0x1231c0);}),this['_otherFormulaDataMainData'][_0x2a4780(0x91)](_0x4c3c5e));}}this[_0x2a4780(0x95)][_0x2a4780(0x91)](_0x4ea33b);}}}[_0x2e965e(0xfe)](_0x2bd465,_0x346ec9,_0x29fa02,_0x55cdd5){const _0x514454=_0x2e965e;this[_0x514454(0xa9)][_0x514454(0xba)](_0x2bd465)||this['_featureFormulaData'][_0x514454(0xcb)](_0x2bd465,new Map());const _0x15beb5=this[_0x514454(0xa9)][_0x514454(0x127)](_0x2bd465);_0x15beb5[_0x514454(0xba)](_0x346ec9)||_0x15beb5['set'](_0x346ec9,new Map()),_0x15beb5[_0x514454(0x127)](_0x346ec9)[_0x514454(0xcb)](_0x29fa02,_0x55cdd5[_0x514454(0x92)]);}['removeFeatureFormulaDependency'](_0x5eb592,_0x192d3f,_0x33bc62){const _0xb75886=_0x2e965e,_0x261a28=this[_0xb75886(0xa9)]['get'](_0x5eb592);if(_0x261a28&&_0x261a28[_0xb75886(0xba)](_0x192d3f)){const _0x3019f9=_0x261a28[_0xb75886(0x127)](_0x192d3f);_0x33bc62[_0xb75886(0x155)](_0x392e59=>{const _0x21c857=_0xb75886,_0x5c3ca2=_0x3019f9[_0x21c857(0x127)](_0x392e59);_0x5c3ca2!=null&&(this[_0x21c857(0x148)](_0x5c3ca2),_0x3019f9['delete'](_0x392e59),this['_removeAllTreeMap'](_0x5c3ca2));});}}['clearFeatureFormulaDependency'](_0x3d3cc2,_0x48c78e){const _0xab5388=_0x2e965e,_0x525cd3=this[_0xab5388(0xa9)]['get'](_0x3d3cc2);if(_0x48c78e&&_0x525cd3&&_0x525cd3[_0xab5388(0xba)](_0x48c78e)){const _0x55174f=_0x525cd3[_0xab5388(0x127)](_0x48c78e);this[_0xab5388(0x12f)](_0x3d3cc2,_0x48c78e),_0x55174f[_0xab5388(0x155)](_0x4dfec3=>{const _0x1d2719=_0xab5388;_0x4dfec3!=null&&this[_0x1d2719(0xc0)](_0x4dfec3);}),_0x55174f[_0xab5388(0x80)]();}else _0x525cd3&&(_0x525cd3[_0xab5388(0x155)]((_0x203567,_0x2e640c)=>{const _0x24dfc1=_0xab5388;this[_0x24dfc1(0x12f)](_0x3d3cc2,_0x2e640c),_0x203567[_0x24dfc1(0x155)](_0x3074dc=>{const _0x2b05ee=_0x24dfc1;_0x3074dc!=null&&this[_0x2b05ee(0xc0)](_0x3074dc);});}),this[_0xab5388(0xa9)]['delete'](_0x3d3cc2));}[_0x2e965e(0xf1)](_0x337376,_0x2f14c7,_0x1f359b,_0x8f1167,_0x47e5f3){const _0x8fc6=_0x2e965e;this[_0x8fc6(0x84)]['has'](_0x337376)||this['_formulaData'][_0x8fc6(0xcb)](_0x337376,new Map());const _0x2ff78e=this[_0x8fc6(0x84)][_0x8fc6(0x127)](_0x337376);_0x2ff78e[_0x8fc6(0xba)](_0x2f14c7)||_0x2ff78e[_0x8fc6(0xcb)](_0x2f14c7,new D['ObjectMatrix']()),_0x2ff78e[_0x8fc6(0x127)](_0x2f14c7)[_0x8fc6(0x102)](_0x1f359b,_0x8f1167,_0x47e5f3[_0x8fc6(0x92)]);}[_0x2e965e(0x131)](_0x40b4ba,_0x3a7e14,_0x2e0a96,_0xa317eb){const _0x26a25e=_0x2e965e,_0x4d3429=this['_formulaData'][_0x26a25e(0x127)](_0x40b4ba);if(_0x4d3429&&_0x4d3429[_0x26a25e(0xba)](_0x3a7e14)){const _0xbb0178=_0x4d3429[_0x26a25e(0x127)](_0x3a7e14),_0x51bf22=_0xbb0178[_0x26a25e(0x13c)](_0x2e0a96,_0xa317eb);if(_0x51bf22==null)return;this[_0x26a25e(0x148)](_0x51bf22),_0xbb0178[_0x26a25e(0x134)](_0x2e0a96,_0xa317eb),this['_removeAllTreeMap'](_0x51bf22);}}[_0x2e965e(0x6b)](_0x5249e9,_0x17ebf7){const _0x145ddb=_0x2e965e,_0x4d3ed8=this[_0x145ddb(0x84)][_0x145ddb(0x127)](_0x5249e9);if(_0x17ebf7&&_0x4d3ed8&&_0x4d3ed8[_0x145ddb(0xba)](_0x17ebf7)){const _0x275c9c=_0x4d3ed8[_0x145ddb(0x127)](_0x17ebf7);this[_0x145ddb(0x12f)](_0x5249e9,_0x17ebf7),_0x275c9c[_0x145ddb(0xe2)]((_0x3b9baa,_0x311f24,_0x34a860)=>{const _0x3ca797=_0x145ddb;if(_0x34a860==null)return!0x0;this[_0x3ca797(0xc0)](_0x34a860);}),_0x275c9c[_0x145ddb(0x90)]();}else _0x4d3ed8&&(_0x4d3ed8[_0x145ddb(0x155)]((_0x2d60cf,_0x3286b9)=>{const _0x29c329=_0x145ddb;this[_0x29c329(0x12f)](_0x5249e9,_0x3286b9),_0x2d60cf['forValue']((_0x367fb1,_0x18e234,_0x50979c)=>{const _0x4186a0=_0x29c329;if(_0x50979c==null)return!0x0;this[_0x4186a0(0xc0)](_0x50979c);});}),this[_0x145ddb(0x84)][_0x145ddb(0x91)](_0x5249e9));}[_0x2e965e(0x148)](_0x1ad9d0){const _0x2c57b9=_0x2e965e;if(_0x1ad9d0==null)return;const _0x35faff=this[_0x2c57b9(0x13e)][_0x2c57b9(0x127)](_0x1ad9d0);if(_0x35faff){const _0x4bd286=[];for(const [_0x41b512,_0x1e3efb]of _0x35faff)for(const [_0xe4330e,_0x2b13ee]of _0x1e3efb)_0x4bd286[_0x2c57b9(0xc5)]({'unitId':_0x41b512,'sheetId':_0xe4330e,'range':_0x2b13ee,'id':_0x1ad9d0});this[_0x2c57b9(0xb3)][_0x2c57b9(0x122)](_0x4bd286);}}[_0x2e965e(0x159)](_0x1c0c1d,_0x4828e7){const _0x5b6dad=_0x2e965e,_0x3f0dc3=this[_0x5b6dad(0x157)][_0x5b6dad(0x127)](_0x1c0c1d);if(_0x3f0dc3){const _0x484be9=_0x3f0dc3['get'](_0x4828e7);if(_0x484be9){for(const _0x34de9 of _0x484be9)this[_0x5b6dad(0x148)](_0x34de9),this[_0x5b6dad(0xc0)](_0x34de9);_0x484be9[_0x5b6dad(0x80)]();}}}['openKdTree'](){this['_dependencyRTreeCache']['openKdTree']();}['closeKdTree'](){const _0x13fb35=_0x2e965e;this[_0x13fb35(0xb3)][_0x13fb35(0x77)]();}[_0x2e965e(0xc0)](_0x25c934){const _0x5a7c04=_0x2e965e;_0x25c934!=null&&this[_0x5a7c04(0x13e)][_0x5a7c04(0x91)](_0x25c934);}[_0x2e965e(0x104)](_0x3217e2){const _0x299a66=_0x2e965e;var _0x419bab,_0x4a7a70;const _0x367230=_0x3217e2[_0x299a66(0x7f)];let _0x43edcd=this[_0x299a66(0x13e)][_0x299a66(0x127)](_0x3217e2[_0x299a66(0x92)]);for(let _0x5eb202=0x0;_0x5eb202<_0x367230['length'];_0x5eb202++){const _0x2207b3=_0x367230[_0x5eb202];let {unitId:_0xbde62f,sheetId:_0x442e57,range:_0x383348}=_0x2207b3;_0x43edcd||(_0x43edcd=new Map(),this[_0x299a66(0x13e)][_0x299a66(0xcb)](_0x3217e2['treeId'],_0x43edcd)),_0x43edcd[_0x299a66(0xba)](_0xbde62f)||_0x43edcd['set'](_0xbde62f,new Map());const _0x514c0f=(_0x419bab=_0x43edcd==null?void 0x0:_0x43edcd[_0x299a66(0x127)](_0xbde62f))==null?void 0x0:_0x419bab[_0x299a66(0x127)](_0x442e57);_0x514c0f&&(_0x383348={'startRow':Math[_0x299a66(0x147)](_0x383348[_0x299a66(0xdc)],_0x514c0f[_0x299a66(0xdc)]),'startColumn':Math[_0x299a66(0x147)](_0x383348[_0x299a66(0x137)],_0x514c0f[_0x299a66(0x137)]),'endRow':Math[_0x299a66(0xee)](_0x383348['endRow'],_0x514c0f[_0x299a66(0x100)]),'endColumn':Math[_0x299a66(0xee)](_0x383348[_0x299a66(0x10f)],_0x514c0f[_0x299a66(0x10f)])}),(_0x4a7a70=_0x43edcd[_0x299a66(0x127)](_0xbde62f))==null||_0x4a7a70['set'](_0x442e57,_0x383348);}}}var $=Object['getOwnPropertyDescriptor'],G=(_0x380c6c,_0xef76e6,_0x21b5f0,_0x3b19a4)=>{const _0x2593bf=_0x2e965e;for(var _0x4d7c07=_0x3b19a4>0x1?void 0x0:_0x3b19a4?$(_0xef76e6,_0x21b5f0):_0xef76e6,_0x4043e2=_0x380c6c[_0x2593bf(0x89)]-0x1,_0x581cd7;_0x4043e2>=0x0;_0x4043e2--)(_0x581cd7=_0x380c6c[_0x4043e2])&&(_0x4d7c07=_0x581cd7(_0x4d7c07)||_0x4d7c07);return _0x4d7c07;};const W=Number[_0x2e965e(0xac)](0x697db262);exports[_0x2e965e(0x85)]=class extends a['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0x3513b9=_0x2e965e;var _0x3bdf5f,_0x3e282d;this[_0x3513b9(0xc1)]()?(this[_0x3513b9(0x103)][_0x3513b9(0xef)]([a[_0x3513b9(0xd5)],{'useClass':L}]),(_0x3bdf5f=this[_0x3513b9(0xce)])!=null&&_0x3bdf5f['notExecuteFormula']||[[a[_0x3513b9(0x111)],{'useClass':V}],[a[_0x3513b9(0x15b)],{'useClass':j}],[a[_0x3513b9(0x11a)],{'useClass':k}]][_0x3513b9(0x155)](_0x38897e=>this[_0x3513b9(0x103)][_0x3513b9(0xef)](_0x38897e))):(this[_0x3513b9(0x103)][_0x3513b9(0xef)]([a[_0x3513b9(0xd5)],{'useClass':a['LexerTreeBuilder']}]),(_0x3e282d=this[_0x3513b9(0xce)])!=null&&_0x3e282d['notExecuteFormula']||[[a[_0x3513b9(0x111)],{'useClass':a[_0x3513b9(0x9a)]}],[a[_0x3513b9(0x15b)],{'useClass':a[_0x3513b9(0x7d)]}],[a[_0x3513b9(0x11a)],{'useClass':a[_0x3513b9(0x15e)]}]][_0x3513b9(0x155)](_0x432dc3=>this[_0x3513b9(0x103)]['add'](_0x432dc3)));}['_initLicenseValid'](){const _0x4654c5=_0x2e965e;var _0x563efc;const _0x54fa0e=(_0x563efc=this[_0x4654c5(0xb4)][_0x4654c5(0xfc)](A[_0x4654c5(0xa8)]))!=null?_0x563efc:{},{ls:_0x14ba87,pbk:_0x4db441}=_0x54fa0e;if(!_0x14ba87||!_0x4db441)return!0x1;const _0x4430ab=A[_0x4654c5(0x132)](b,Y),_0xd33b5b=new Function(_0x4654c5(0x14d)+_0x4430ab)()(_0x14ba87,_0x4db441),_0x51b397=_0xd33b5b['message'];return _0xd33b5b['valid']&&A[_0x4654c5(0x10d)](_0x51b397,'sf',W)?A['getSheetFeatureLimit'](_0x51b397,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x2e965e(0x85)]=G([D['DependentOn'](A['UniverLicensePlugin'])],exports[_0x2e965e(0x85)]),exports[_0x2e965e(0xbb)]=L,Object[_0x2e965e(0x66)](a)[_0x2e965e(0x155)](_0x30f0b0=>{const _0x152271=_0x2e965e;_0x30f0b0!==_0x152271(0xa0)&&!Object[_0x152271(0x112)]['hasOwnProperty'][_0x152271(0xc2)](exports,_0x30f0b0)&&Object['defineProperty'](exports,_0x30f0b0,{'enumerable':!0x0,'get':()=>a[_0x30f0b0]});});
1
+ 'use strict';const _0x4889b5=_0x2243;(function(_0x6e512e,_0x79afa8){const _0x541d1d=_0x2243,_0x19a285=_0x6e512e();while(!![]){try{const _0x90749c=parseInt(_0x541d1d(0x28a))/0x1+parseInt(_0x541d1d(0x2b4))/0x2*(-parseInt(_0x541d1d(0x29a))/0x3)+-parseInt(_0x541d1d(0x221))/0x4*(parseInt(_0x541d1d(0x1de))/0x5)+-parseInt(_0x541d1d(0x1db))/0x6+parseInt(_0x541d1d(0x2c1))/0x7*(parseInt(_0x541d1d(0x1cf))/0x8)+-parseInt(_0x541d1d(0x263))/0x9+parseInt(_0x541d1d(0x283))/0xa;if(_0x90749c===_0x79afa8)break;else _0x19a285['push'](_0x19a285['shift']());}catch(_0x22fdec){_0x19a285['push'](_0x19a285['shift']());}}}(_0x2b2f,0x3d011));var k=Object['defineProperty'],z=(_0x1bd0ec,_0xdd986,_0x2b75ce)=>_0xdd986 in _0x1bd0ec?k(_0x1bd0ec,_0xdd986,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b75ce}):_0x1bd0ec[_0xdd986]=_0x2b75ce,F=(_0x29528a,_0xb9e57a,_0x455bbd)=>z(_0x29528a,typeof _0xb9e57a!=_0x4889b5(0x1f0)?_0xb9e57a+'':_0xb9e57a,_0x455bbd);Object[_0x4889b5(0x272)](exports,Symbol[_0x4889b5(0x229)],{'value':'Module'});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),O=require('@univerjs/core');class N extends a['LexerTreeBuilder']{constructor(){const _0x103d37=_0x4889b5;super(...arguments),F(this,_0x103d37(0x265),!0x1),F(this,_0x103d37(0x287),new Set()),F(this,_0x103d37(0x236),_0x103d37(0x25a)),F(this,_0x103d37(0x2c0),_0x103d37(0x278)),F(this,_0x103d37(0x212),'');}['_resetPrefix'](){const _0x2404a4=_0x4889b5;this[_0x2404a4(0x236)]=_0x2404a4(0x25a),this[_0x2404a4(0x2c0)]=_0x2404a4(0x278);}[_0x4889b5(0x1d5)](){const _0x4e1a8d=_0x4889b5;this[_0x4e1a8d(0x236)]='',this[_0x4e1a8d(0x2c0)]='';}[_0x4889b5(0x26d)](_0x3e9122,_0x448b87){const _0x3722c1=_0x4889b5,_0x1a2c46=this[_0x3722c1(0x27a)](_0x3e9122,!0x1);if(!_0x1a2c46||_0x1a2c46===a[_0x3722c1(0x284)][_0x3722c1(0x1fb)]||Array[_0x3722c1(0x201)](_0x1a2c46))return null;const _0x18f5cc=[];return this['_hasNewExcelFunction']=!0x1,this['_generateNewFunctionString'](_0x1a2c46,_0x18f5cc,_0x448b87),this['_hasNewExcelFunction']?'='+_0x18f5cc[_0x3722c1(0x273)](''):null;}['_generateNewFunctionString'](_0x4c13c8,_0x3d77ac,_0x31e45f){const _0xf4f03b=_0x4889b5,_0x351883=_0x4c13c8['getToken'](),_0x48d6fc=_0x351883[_0xf4f03b(0x241)](),_0x3fb68d=_0x48d6fc['toUpperCase'](),_0x4238d4=this[_0xf4f03b(0x2b2)](_0x3fb68d),_0x496917=_0x31e45f(_0x4238d4);let _0x416d41=0x0;_0x351883===a[_0xf4f03b(0x25c)]?_0x416d41=0x3:_0x351883===a[_0xf4f03b(0x26f)]?_0x416d41=0x4:_0x351883===a[_0xf4f03b(0x23e)]?_0x416d41=0x5:a[_0xf4f03b(0x23d)]['has'](_0x4238d4)?(_0x3d77ac[_0xf4f03b(0x21f)](''+this[_0xf4f03b(0x2c0)]+_0x48d6fc),this[_0xf4f03b(0x265)]=!0x0):_0x3fb68d===a['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x3d77ac[_0xf4f03b(0x21f)](''+this[_0xf4f03b(0x2c0)]+_0x48d6fc),this[_0xf4f03b(0x265)]=!0x0,_0x416d41=0x2):_0x3fb68d===a[_0xf4f03b(0x1c5)]?(_0x3d77ac[_0xf4f03b(0x21f)](''+this[_0xf4f03b(0x2c0)]+_0x48d6fc),this['_hasNewExcelFunction']=!0x0,_0x416d41=0x1):_0x3fb68d===a['matchToken'][_0xf4f03b(0x2a2)]?_0x416d41=0x8:a[_0xf4f03b(0x294)][_0xf4f03b(0x2a4)](_0x3fb68d)?_0x416d41=0x7:_0x3fb68d===a[_0xf4f03b(0x270)][_0xf4f03b(0x247)]?(this[_0xf4f03b(0x216)](_0x4c13c8)&&(_0x416d41=0x9),_0x3d77ac[_0xf4f03b(0x21f)](_0x351883)):(_0x3d77ac[_0xf4f03b(0x21f)](_0x351883),_0x416d41=0xa),_0x496917?(_0x416d41!==0x2&&_0x416d41!==0x1&&(_0x416d41=0x6),_0x3d77ac[_0xf4f03b(0x21f)]('(')):_0x416d41===0x9&&_0x3d77ac['push']('(');const _0x15a296=_0x4c13c8[_0xf4f03b(0x25e)](),_0x2e7df0=_0x15a296[_0xf4f03b(0x1dd)];if(_0x416d41===0x2){const _0x47400c=_0x15a296[0x0];let _0x521b10=0x0;_0x47400c instanceof a['LexerNode']&&_0x47400c['getToken']()===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']&&(_0x521b10=0x1);for(let _0x286852=_0x521b10;_0x286852<_0x2e7df0-0x1;_0x286852++){const _0x3e4dc2=_0x15a296[_0x286852];if(_0x3e4dc2 instanceof a[_0xf4f03b(0x2b5)]){const _0x4bb078=_0x3e4dc2[_0xf4f03b(0x25e)]()[0x0];typeof _0x4bb078==_0xf4f03b(0x286)&&(this[_0xf4f03b(0x287)][_0xf4f03b(0x2a4)](_0x4bb078)&&console['error']('Lambda\x20parameter\x20name\x20\x22'+_0x4bb078+'\x22\x20is\x20duplicated.'),this[_0xf4f03b(0x287)]['add'](_0x4bb078),_0x3d77ac['push'](''+this[_0xf4f03b(0x236)]+_0x4bb078),this[_0xf4f03b(0x265)]=!0x0);}_0x3d77ac['push'](',');}this['_handleNewFunctionChild'](_0x15a296[_0x2e7df0-0x1],_0x3d77ac,_0x31e45f),_0x521b10===0x1&&(_0x3d77ac[_0xf4f03b(0x21f)](')'),_0x3d77ac[_0xf4f03b(0x21f)]('('),this[_0xf4f03b(0x1fc)](_0x47400c,_0x3d77ac,_0x31e45f)),_0x3d77ac[_0xf4f03b(0x21f)](')');return;}else{if(_0x416d41===0x1){for(let _0x220a15=0x0;_0x220a15<_0x2e7df0-0x1;_0x220a15++){const _0x1f8e88=_0x15a296[_0x220a15];if(_0x1f8e88 instanceof a['LexerNode']&&_0x220a15%0x2===0x0){const _0x1c9ac3=_0x1f8e88[_0xf4f03b(0x25e)]()[0x0];if(typeof _0x1c9ac3==_0xf4f03b(0x286)){this[_0xf4f03b(0x287)]['has'](_0x1c9ac3)&&console[_0xf4f03b(0x218)]('Let\x20variable\x20name\x20\x22'+_0x1c9ac3+_0xf4f03b(0x1d8)),this[_0xf4f03b(0x287)][_0xf4f03b(0x1e2)](_0x1c9ac3),_0x3d77ac['push'](''+this['_xlpmPrefix']+_0x1c9ac3),this['_hasNewExcelFunction']=!0x0,_0x3d77ac[_0xf4f03b(0x21f)](',');continue;}}if(this[_0xf4f03b(0x1c3)](_0x1f8e88,_0x3d77ac,_0x31e45f),_0x1f8e88 instanceof a['LexerNode']){const _0xab2f82=_0x15a296[_0x220a15+0x1];_0xab2f82&&_0xab2f82 instanceof a['LexerNode']&&_0x3d77ac[_0xf4f03b(0x21f)](',');}}this[_0xf4f03b(0x1c3)](_0x15a296[_0x2e7df0-0x1],_0x3d77ac,_0x31e45f),_0x3d77ac['push'](')');return;}else{if(_0x416d41===0x8){const _0x1046ae=_0x15a296[0x0],_0x2e179c=_0x15a296[0x1];this[_0xf4f03b(0x1c3)](_0x1046ae,_0x3d77ac,_0x31e45f),_0x3d77ac['push'](_0x351883),this['_handleNewFunctionChild'](_0x2e179c,_0x3d77ac,_0x31e45f);return;}}}for(let _0x40ddc3=0x0;_0x40ddc3<_0x2e7df0;_0x40ddc3++){const _0x2657ea=_0x15a296[_0x40ddc3];if(this['_handleNewFunctionChild'](_0x2657ea,_0x3d77ac,_0x31e45f),_0x2657ea instanceof a[_0xf4f03b(0x2b5)]){const _0x2f7e0f=_0x15a296[_0x40ddc3+0x1];_0x2f7e0f&&_0x2f7e0f instanceof a[_0xf4f03b(0x2b5)]&&_0x3d77ac[_0xf4f03b(0x21f)](',');}}_0x416d41===0x7&&_0x3d77ac['push'](_0x351883),(_0x496917||_0x416d41===0x9)&&_0x3d77ac[_0xf4f03b(0x21f)](')');}[_0x4889b5(0x1c3)](_0x109abf,_0x5904f7,_0x450d62){const _0x594c02=_0x4889b5;_0x109abf instanceof a[_0x594c02(0x2b5)]?this[_0x594c02(0x1fc)](_0x109abf,_0x5904f7,_0x450d62):this[_0x594c02(0x287)]['has'](_0x109abf)?(_0x5904f7[_0x594c02(0x21f)](''+this[_0x594c02(0x236)]+_0x109abf),this['_hasNewExcelFunction']=!0x0):_0x5904f7[_0x594c02(0x21f)](_0x109abf);}[_0x4889b5(0x2b2)](_0x1d84e1){const _0x5c0431=_0x4889b5;let _0x2c5e5c=_0x1d84e1[_0x5c0431(0x241)]();if(!_0x2c5e5c)return _0x2c5e5c;const _0x294f49=_0x2c5e5c[0x0];if((_0x294f49===a['prefixToken']['AT']||_0x294f49===a[_0x5c0431(0x270)]['MINUS']||_0x294f49===a[_0x5c0431(0x270)][_0x5c0431(0x1ce)])&&(_0x2c5e5c=_0x2c5e5c[_0x5c0431(0x24c)](0x1)),!_0x2c5e5c)return _0x2c5e5c;const _0x554b22=_0x2c5e5c[_0x2c5e5c[_0x5c0431(0x1dd)]-0x1];return a[_0x5c0431(0x294)]['has'](_0x554b22)&&(_0x2c5e5c=_0x2c5e5c[_0x5c0431(0x24c)](0x0,-0x1)),_0x2c5e5c;}[_0x4889b5(0x216)](_0x2539c4){const _0x4a50eb=_0x4889b5,_0x24a472=_0x2539c4[_0x4a50eb(0x25e)]()[0x0];if(!_0x24a472||!(_0x24a472 instanceof a[_0x4a50eb(0x2b5)])||_0x2539c4['getChildren']()[_0x4a50eb(0x1dd)]>0x1)return!0x1;const _0x368347=_0x24a472[_0x4a50eb(0x25e)](),_0x57f9fb=_0x368347[_0x4a50eb(0x1dd)];if(_0x57f9fb===0x1)return!0x1;for(let _0x431b99=0x0;_0x431b99<_0x57f9fb;_0x431b99++){const _0x4cf9bc=_0x368347[_0x431b99];if(!(_0x4cf9bc instanceof a[_0x4a50eb(0x2b5)])&&a[_0x4a50eb(0x297)][_0x4a50eb(0x2a4)](_0x4cf9bc))return!0x0;}return!0x1;}[_0x4889b5(0x1ec)](_0x5a6936,_0x3fc56e,_0x4f27e7,_0x2e24b,_0x397d01){const _0x113526=_0x4889b5,_0x3caa55=this[_0x113526(0x27a)](_0x5a6936,!0x1);if(!_0x3caa55||_0x3caa55===a['ErrorType'][_0x113526(0x1fb)]||Array[_0x113526(0x201)](_0x3caa55))return null;this[_0x113526(0x1d5)](),this[_0x113526(0x212)]=_0x3fc56e;const _0x2aa782=this['_generateExprTree'](_0x3caa55,_0x4f27e7,_0x2e24b,_0x397d01);return this['_currentUnitId']='',this[_0x113526(0x1df)](),_0x2aa782;}[_0x4889b5(0x1f7)](_0x7fb551,_0x4cff7a,_0x49b197,_0x96ce35){const _0x3b7d09=_0x4889b5,_0x1cb826={'value':'','children':[],'startIndex':0x0};let _0x387b73=_0x7fb551;if(_0x387b73 instanceof a[_0x3b7d09(0x2b5)]&&(_0x387b73[_0x3b7d09(0x24b)]()===a[_0x3b7d09(0x25c)]||_0x387b73[_0x3b7d09(0x24b)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x387b73[_0x3b7d09(0x25e)]()[_0x3b7d09(0x1dd)]===0x1&&(_0x387b73=_0x387b73['getChildren']()[0x0]),!(_0x387b73 instanceof a[_0x3b7d09(0x2b5)]))return this[_0x3b7d09(0x28e)](_0x387b73,_0x49b197,_0x96ce35);const _0x5bcba0=_0x387b73[_0x3b7d09(0x25e)](),_0x495bf1=_0x5bcba0[_0x3b7d09(0x1dd)],_0x549047=[];this[_0x3b7d09(0x1fc)](_0x387b73,_0x549047,_0x4cff7a),_0x1cb826['value']=_0x549047['join'](''),_0x1cb826['startIndex']=_0x387b73[_0x3b7d09(0x1fe)]();const _0x4e9e57=this['_getCurNodeTypeForExprTree'](_0x387b73);if(_0x4e9e57===0x2){const _0xa40662=_0x5bcba0[0x0];if(_0xa40662 instanceof a[_0x3b7d09(0x2b5)]){if(_0xa40662[_0x3b7d09(0x24b)]()[_0x3b7d09(0x241)]()!==a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x1cb826;this[_0x3b7d09(0x2a8)](_0xa40662,_0x1cb826,_0x4cff7a,_0x49b197,_0x96ce35);}return _0x1cb826;}else{if(_0x4e9e57===0x1){for(let _0x4ab86e=0x0;_0x4ab86e<_0x495bf1-0x1;_0x4ab86e++){const _0x4405ca=_0x5bcba0[_0x4ab86e];if(_0x4405ca instanceof a[_0x3b7d09(0x2b5)]&&_0x4ab86e%0x2===0x1){const _0xcb2584=_0x4405ca[_0x3b7d09(0x25e)]();if(_0xcb2584['length']===0x1&&!(_0xcb2584[0x0]instanceof a[_0x3b7d09(0x2b5)]))continue;const _0x4311fc=this[_0x3b7d09(0x1f7)](_0x4405ca,_0x4cff7a,_0x49b197,_0x96ce35);_0x4311fc&&_0x1cb826[_0x3b7d09(0x1ff)]['push'](_0x4311fc);}}return _0x1cb826;}else{if(_0x4e9e57===0x8){const _0x1bf709=_0x5bcba0[0x0];if(_0x1bf709 instanceof a[_0x3b7d09(0x2b5)]){const _0x324c08=_0x1bf709['getChildren']()[0x0];_0x324c08 instanceof a[_0x3b7d09(0x2b5)]&&(_0x1cb826[_0x3b7d09(0x1eb)]=_0x324c08['getStartIndex']());}if(this['_checkColonNodeForExprTree'](_0x387b73))return _0x1cb826;}else{if(_0x4e9e57===0x7){const _0x1f10de=_0x5bcba0[0x0];if(_0x1f10de instanceof a[_0x3b7d09(0x2b5)]){const _0x4ba3f6=_0x1f10de[_0x3b7d09(0x25e)]()[0x0];_0x4ba3f6 instanceof a[_0x3b7d09(0x2b5)]&&(_0x1cb826[_0x3b7d09(0x1eb)]=_0x4ba3f6[_0x3b7d09(0x1fe)]());}}}}}return this[_0x3b7d09(0x27d)](_0x5bcba0,_0x4e9e57,_0x1cb826,_0x4cff7a,_0x49b197,_0x96ce35),_0x1cb826;}['_handleChildrenForExprTree'](_0x2e4e46,_0x38af52,_0x450f7a,_0x16dcfd,_0x2effa7,_0x2b401a){const _0x530e3e=_0x4889b5;for(let _0xb2efb0=0x0;_0xb2efb0<_0x2e4e46[_0x530e3e(0x1dd)];_0xb2efb0++){let _0xbbe703=_0x2e4e46[_0xb2efb0];if(!(_0xbbe703 instanceof a[_0x530e3e(0x2b5)])){const _0x4f20ac=this[_0x530e3e(0x28e)](_0xbbe703,_0x2effa7,_0x2b401a);_0x4f20ac&&_0x450f7a['children'][_0x530e3e(0x21f)](_0x4f20ac);continue;}const _0x530389=_0xbbe703[_0x530e3e(0x25e)]();if(_0x530389[_0x530e3e(0x1dd)]===0x1&&!(_0x530389[0x0]instanceof a['LexerNode'])){const _0x17205=_0x530389[0x0];if(!_0x2effa7(this[_0x530e3e(0x212)],_0x17205)&&!this[_0x530e3e(0x2a1)](_0x17205,_0x2b401a)&&!a[_0x530e3e(0x2b7)](_0x17205))continue;}if(_0x38af52===0x8){const _0x462d84=_0x530389[0x0];if(_0x462d84 instanceof a[_0x530e3e(0x2b5)]){const _0x72d50e=_0x462d84[_0x530e3e(0x24b)]()['trim']();if(a[_0x530e3e(0x2b7)](_0x72d50e))continue;_0xbbe703=_0x462d84;}}const _0x428741=this[_0x530e3e(0x1f7)](_0xbbe703,_0x16dcfd,_0x2effa7,_0x2b401a);_0x428741&&_0x450f7a[_0x530e3e(0x1ff)][_0x530e3e(0x21f)](_0x428741);}}[_0x4889b5(0x240)](_0x1a99aa){const _0x5082a8=_0x4889b5,_0x25ad6f=_0x1a99aa['getChildren']();if(_0x25ad6f[_0x5082a8(0x1dd)]<0x2)return!0x1;const _0x258e27=_0x25ad6f[0x0],_0x3a2137=_0x25ad6f[0x1];if(!(_0x258e27 instanceof a['LexerNode'])||!(_0x3a2137 instanceof a[_0x5082a8(0x2b5)]))return!0x1;const _0x2a9456=_0x258e27[_0x5082a8(0x25e)]()[0x0],_0x286a33=_0x3a2137[_0x5082a8(0x25e)]()[0x0];if(!(_0x2a9456 instanceof a[_0x5082a8(0x2b5)])||!(_0x286a33 instanceof a[_0x5082a8(0x2b5)]))return!0x1;const _0x4c7536=_0x2a9456['getToken']()['trim'](),_0xe6b39e=_0x286a33[_0x5082a8(0x24b)]()['trim']();return!!a[_0x5082a8(0x2b7)](''+_0x4c7536+a[_0x5082a8(0x2a9)][_0x5082a8(0x2a2)]+_0xe6b39e);}[_0x4889b5(0x28e)](_0x47e820,_0x477d07,_0x45ef4d){const _0x5d3a1c=_0x4889b5,_0x213c81=_0x47e820['trim']();return _0x213c81[_0x5d3a1c(0x292)]('{')&&_0x213c81['endsWith']('}')||_0x477d07(this[_0x5d3a1c(0x212)],_0x213c81)||this[_0x5d3a1c(0x2a1)](_0x213c81,_0x45ef4d)||a['isReferenceString'](_0x213c81)?{'value':_0x213c81,'children':[],'startIndex':-0x1}:null;}[_0x4889b5(0x2a1)](_0xef015f,_0x5a525a){const _0x326ee5=_0x4889b5,{tableName:_0x31400b}=a[_0x326ee5(0x23b)](_0xef015f);return _0x5a525a(this[_0x326ee5(0x212)],_0x31400b)?_0x31400b:null;}[_0x4889b5(0x2a8)](_0x347648,_0x5eabed,_0x247621,_0x3feaed,_0x360154){const _0x393959=_0x4889b5,_0x540cac=_0x347648[_0x393959(0x25e)]();for(let _0x1bb630=0x0;_0x1bb630<_0x540cac[_0x393959(0x1dd)];_0x1bb630++){const _0x3d6e28=_0x540cac[_0x1bb630];if(!(_0x3d6e28 instanceof a[_0x393959(0x2b5)]))continue;const _0x37723d=_0x3d6e28[_0x393959(0x25e)]();if(_0x37723d[_0x393959(0x1dd)]===0x1&&!(_0x37723d[0x0]instanceof a[_0x393959(0x2b5)]))continue;const _0x226ef1=this[_0x393959(0x1f7)](_0x3d6e28,_0x247621,_0x3feaed,_0x360154);_0x226ef1&&_0x5eabed[_0x393959(0x1ff)][_0x393959(0x21f)](_0x226ef1);}}[_0x4889b5(0x219)](_0x23e8dc){const _0x24ec67=_0x4889b5,_0x5beb2f=_0x23e8dc[_0x24ec67(0x24b)](),_0x3a2997=_0x5beb2f[_0x24ec67(0x241)]()[_0x24ec67(0x1dc)]();let _0x5107d1=0x0;return _0x5beb2f===a[_0x24ec67(0x25c)]?_0x5107d1=0x3:_0x5beb2f===a['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x5107d1=0x4:_0x5beb2f===a[_0x24ec67(0x23e)]?_0x5107d1=0x5:_0x3a2997===a[_0x24ec67(0x220)]?_0x5107d1=0x2:_0x3a2997===a[_0x24ec67(0x1c5)]?_0x5107d1=0x1:_0x3a2997===a['matchToken']['COLON']?_0x5107d1=0x8:a[_0x24ec67(0x294)][_0x24ec67(0x2a4)](_0x3a2997)?_0x5107d1=0x7:_0x3a2997===a[_0x24ec67(0x270)][_0x24ec67(0x247)]?this[_0x24ec67(0x216)](_0x23e8dc)&&(_0x5107d1=0x9):_0x5107d1=0xa,_0x5107d1;}}function _0x2243(_0x1c7092,_0x4e798d){_0x1c7092=_0x1c7092-0x1c3;const _0x2b2fe4=_0x2b2f();let _0x2243dc=_0x2b2fe4[_0x1c7092];return _0x2243dc;}class B extends a[_0x4889b5(0x230)]{constructor(){const _0x397e34=_0x4889b5;super(...arguments),F(this,_0x397e34(0x261),new Map());}[_0x4889b5(0x242)](){const _0x506708=_0x4889b5;super[_0x506708(0x242)](),this[_0x506708(0x261)][_0x506708(0x239)]();}async[_0x4889b5(0x244)](_0x57dce4=!0x1){const _0x115239=_0x4889b5;this[_0x115239(0x279)]();const _0x5c45d5=this[_0x115239(0x28d)][_0x115239(0x28c)](),_0x83631d=this[_0x115239(0x1e4)][_0x115239(0x249)](),_0x7ee68d=this[_0x115239(0x28d)][_0x115239(0x1e7)]();_0x7ee68d!=null&&Object['keys'](_0x7ee68d)[_0x115239(0x1e1)](_0x16eacd=>{const _0x36031e=_0x115239;_0x16eacd!=null&&Object[_0x36031e(0x213)](_0x7ee68d[_0x16eacd])[_0x36031e(0x1e1)](_0x1f4970=>{const _0x341583=_0x36031e;_0x1f4970!=null&&(this[_0x341583(0x1f3)][_0x341583(0x29d)](_0x16eacd,_0x1f4970),this[_0x341583(0x1f3)][_0x341583(0x235)](_0x16eacd,_0x1f4970),this[_0x341583(0x1f3)][_0x341583(0x1c8)](_0x16eacd,_0x1f4970));});});const _0x39eff3=this[_0x115239(0x28d)][_0x115239(0x1cb)]();await this[_0x115239(0x2b3)](_0x5c45d5,_0x83631d,_0x39eff3),this['_dependencyManagerService']['openKdTree']();const _0x465f3c=this[_0x115239(0x276)](),_0x218239=this[_0x115239(0x2be)](_0x465f3c);return this[_0x115239(0x254)](_0x218239)&&this[_0x115239(0x243)][_0x115239(0x234)](),_0x57dce4&&this[_0x115239(0x243)][_0x115239(0x267)](this['_getAllDependencyJson'](Array[_0x115239(0x259)](this['_dependencyTreeCache']['values']()))),this[_0x115239(0x261)][_0x115239(0x239)](),this[_0x115239(0x21a)][_0x115239(0x239)](),this[_0x115239(0x1f3)]['closeKdTree'](),this[_0x115239(0x243)][_0x115239(0x1c9)](),Promise[_0x115239(0x255)](_0x218239);}['_isCyclicUtilMap'](_0x15caf3,_0x36750a){const _0xc5256f=_0x4889b5,_0x2e4018=[_0x15caf3];for(;_0x2e4018[_0xc5256f(0x1dd)]>0x0;){const _0x4245a7=_0x2e4018[_0x2e4018[_0xc5256f(0x1dd)]-0x1];if((_0x36750a[_0xc5256f(0x24a)](_0x4245a7)||0x0)===0x0){_0x36750a[_0xc5256f(0x298)](_0x4245a7,0x1);const _0x391310=this[_0xc5256f(0x261)][_0xc5256f(0x24a)](_0x4245a7);if(_0x391310==null){_0x36750a[_0xc5256f(0x298)](_0x4245a7,0x2),_0x2e4018[_0xc5256f(0x232)]();continue;}const _0x5532cc=this[_0xc5256f(0x1f3)][_0xc5256f(0x2a0)](_0x391310[_0xc5256f(0x1e6)]());for(const _0x4b4ac5 of _0x5532cc){const _0x1aa6f2=_0x36750a[_0xc5256f(0x24a)](_0x4b4ac5)||0x0;if(_0x1aa6f2===0x1)return!0x0;_0x1aa6f2===0x0&&_0x2e4018[_0xc5256f(0x21f)](_0x4b4ac5);}}else _0x36750a[_0xc5256f(0x298)](_0x4245a7,0x2),_0x2e4018[_0xc5256f(0x232)]();}return!0x1;}[_0x4889b5(0x254)](_0x4443e6){const _0x595c1a=_0x4889b5,_0x32a120=new Map();for(const _0x1bc836 of _0x4443e6)if(!_0x32a120[_0x595c1a(0x2a4)](_0x1bc836[_0x595c1a(0x22b)])&&this[_0x595c1a(0x252)](_0x1bc836['treeId'],_0x32a120))return!0x0;return _0x32a120[_0x595c1a(0x239)](),!0x1;}['_getFeatureFormulaTree'](_0x40f244,_0x453707,_0x5271b2){const _0x1b220f=_0x4889b5,{unitId:_0xd9a68a,subUnitId:_0x1775ce,dependencyRanges:_0x99634b,getDirtyData:_0x44ca70}=_0x5271b2,_0x52b1e6=_0x453707||a[_0x1b220f(0x2ad)](this[_0x1b220f(0x1f3)]),_0x15fa1d=new a['FormulaDependencyTree'](_0x52b1e6);_0x15fa1d[_0x1b220f(0x21c)]=_0xd9a68a,_0x15fa1d['subUnitId']=_0x1775ce,_0x15fa1d[_0x1b220f(0x246)]=_0x99634b,_0x15fa1d[_0x1b220f(0x1c6)]=_0x44ca70;const _0x50ea67=_0x44ca70(this[_0x1b220f(0x28d)][_0x1b220f(0x1c6)](),this['_runtimeService'][_0x1b220f(0x204)]()),_0x1dff73=this[_0x1b220f(0x211)](_0x50ea67[_0x1b220f(0x207)]);return _0x15fa1d[_0x1b220f(0x1d3)]=_0x1dff73,_0x15fa1d[_0x1b220f(0x275)]=_0x40f244,_0x15fa1d['type']=a['FormulaDependencyTreeType'][_0x1b220f(0x2b9)],this[_0x1b220f(0x1f3)][_0x1b220f(0x28b)](_0xd9a68a,_0x1775ce,_0x40f244,_0x15fa1d),this[_0x1b220f(0x261)][_0x1b220f(0x298)](_0x15fa1d['treeId'],_0x15fa1d),this[_0x1b220f(0x1f3)][_0x1b220f(0x27b)](_0x5271b2[_0x1b220f(0x21c)],_0x5271b2[_0x1b220f(0x23c)],_0x40f244)&&(_0x15fa1d['isCache']=!0x0),_0x15fa1d;}[_0x4889b5(0x2bd)](_0x368248,_0x45237f,_0x2814b4){const _0x191a8a=_0x4889b5;var _0x24c661;for(const _0x11c79e of _0x45237f){const _0x39dace=_0x368248[_0x11c79e];if(_0x39dace==null)continue;const _0x347990=Object[_0x191a8a(0x213)](_0x39dace);for(const _0xb42e9e of _0x347990){const _0x3cd068=_0x39dace[_0xb42e9e];if(_0x3cd068==null)continue;const _0x2af8b0=Object[_0x191a8a(0x213)](_0x3cd068);for(const _0x1c0af0 of _0x2af8b0){const _0x267253=this['_dependencyManagerService'][_0x191a8a(0x288)](_0x1c0af0),_0x40ffe6=_0x3cd068[_0x1c0af0],{f:_0x141eed,ranges:_0x4b205b}=_0x40ffe6;let _0x128888=!0x1;_0x267253&&(_0x128888=!0x0);const {firstRow:_0x48bd96,firstColumn:_0x65017d}=this[_0x191a8a(0x256)](_0x4b205b),_0x2e93e6=this['_dependencyManagerService'][_0x191a8a(0x1d9)](_0x11c79e,_0xb42e9e,_0x1c0af0),_0x3ad0bd=(_0x24c661=_0x2e93e6==null?void 0x0:_0x2e93e6[_0x191a8a(0x299)](0x0,0x0))!=null?_0x24c661:a['generateRandomDependencyTreeId'](this[_0x191a8a(0x1f3)]),_0x57ddf1=new a[(_0x191a8a(0x1fd))](_0x3ad0bd);for(let _0x2f8c57=0x0;_0x2f8c57<_0x4b205b['length'];_0x2f8c57++){const _0x1e0c68=_0x4b205b[_0x2f8c57],{startRow:_0x5ce0c2,startColumn:_0x546f7d,endRow:_0x2605b0,endColumn:_0x4146cb}=_0x1e0c68;for(let _0x473d37=_0x5ce0c2;_0x473d37<=_0x2605b0;_0x473d37++)for(let _0x3f33bb=_0x546f7d;_0x3f33bb<=_0x4146cb;_0x3f33bb++){const _0x24c427=_0x3f33bb-_0x65017d,_0x230640=_0x473d37-_0x48bd96;if(_0x24c427===0x0&&_0x230640===0x0){_0x57ddf1[_0x191a8a(0x21e)]=_0x141eed,_0x57ddf1['unitId']=_0x11c79e,_0x57ddf1['subUnitId']=_0xb42e9e,_0x57ddf1[_0x191a8a(0x26b)]=_0x1c0af0,_0x57ddf1[_0x191a8a(0x237)]=a['FormulaDependencyTreeType'][_0x191a8a(0x1ed)],_0x57ddf1[_0x191a8a(0x1f2)]=_0x128888,_0x2814b4[_0x191a8a(0x21f)](_0x57ddf1),this[_0x191a8a(0x261)]['set'](_0x57ddf1['treeId'],_0x57ddf1),this[_0x191a8a(0x1f3)][_0x191a8a(0x1d1)](_0x11c79e,_0xb42e9e,_0x1c0af0,_0x57ddf1),this[_0x191a8a(0x1f3)]['addFormulaDependencyByDefinedName'](_0x57ddf1);continue;}const _0x197a19=new a[(_0x191a8a(0x1d2))]();_0x197a19[_0x191a8a(0x22b)]=(_0x2e93e6==null?void 0x0:_0x2e93e6[_0x191a8a(0x299)](_0x24c427,_0x230640))||a[_0x191a8a(0x2ad)](this[_0x191a8a(0x1f3)]),_0x197a19[_0x191a8a(0x2a7)]=_0x57ddf1,_0x197a19[_0x191a8a(0x1f6)]=_0x24c427,_0x197a19[_0x191a8a(0x1c4)]=_0x230640,_0x197a19['isCache']=_0x128888,_0x197a19[_0x191a8a(0x237)]=a[_0x191a8a(0x203)][_0x191a8a(0x1ed)],this['_dependencyManagerService'][_0x191a8a(0x1d1)](_0x11c79e,_0xb42e9e,_0x1c0af0,_0x197a19),this[_0x191a8a(0x1f3)][_0x191a8a(0x1cc)](_0x197a19),_0x2814b4[_0x191a8a(0x21f)](_0x197a19),this[_0x191a8a(0x261)]['set'](_0x197a19['treeId'],_0x197a19);}}this[_0x191a8a(0x1f3)]['addOtherFormulaDependencyMainData'](_0x1c0af0);}}}}[_0x4889b5(0x248)](_0x3867ad,_0x3af69c,_0x46cf1a,_0xd187c5){const _0x2c5178=_0x4889b5;for(const _0x49ab9a of _0x3867ad){const _0x5b3151=_0x3af69c[_0x49ab9a];if(_0x5b3151==null)continue;const _0x3c5616=Object['keys'](_0x5b3151);for(const _0x2e2711 of _0x3c5616){const _0x41c126=new O[(_0x2c5178(0x223))](_0x5b3151[_0x2e2711]||{}),_0x1cfa76=new Map();_0x41c126['forValue']((_0x1bbd16,_0x4e71f0,_0x33d6c1)=>{const _0x46d219=_0x2c5178;if(_0x33d6c1==null)return!0x0;const {x:_0x484144=0x0,y:y=0x0,si:_0x1752fe}=_0x33d6c1;if(!(_0x484144===0x0&&y===0x0&&_0x1752fe!=null))return!0x0;const _0x2377d7=this[_0x46d219(0x27e)](_0x49ab9a,_0x2e2711,_0x1bbd16,_0x4e71f0,_0x46cf1a,_0x33d6c1),_0x3087b5=this[_0x46d219(0x1f3)][_0x46d219(0x20e)](_0x49ab9a,_0x2e2711,_0x1bbd16,_0x4e71f0);_0x3087b5!=null?_0x2377d7[_0x46d219(0x22b)]=_0x3087b5:(this[_0x46d219(0x1f3)][_0x46d219(0x27f)](_0x49ab9a,_0x2e2711,_0x1bbd16,_0x4e71f0,_0x2377d7),this[_0x46d219(0x1f3)][_0x46d219(0x1cc)](_0x2377d7)),_0x1cfa76[_0x46d219(0x298)](_0x1752fe,_0x2377d7),_0xd187c5[_0x46d219(0x21f)](_0x2377d7),this[_0x46d219(0x261)][_0x46d219(0x298)](_0x2377d7[_0x46d219(0x22b)],_0x2377d7);}),_0x41c126[_0x2c5178(0x1e3)]((_0x27eed7,_0x621ea9,_0x43cbb3)=>{const _0x392aba=_0x2c5178;if(_0x43cbb3==null)return!0x0;const {x:_0x57c7bb=0x0,y:y=0x0,si:_0x885a}=_0x43cbb3;if(_0x57c7bb===0x0&&y===0x0&&_0x885a!=null)return!0x0;let _0x4741ee;if(_0x885a&&_0x1cfa76[_0x392aba(0x2a4)](_0x885a)){const _0x35fa14=_0x1cfa76[_0x392aba(0x24a)](_0x885a);_0x4741ee=this[_0x392aba(0x2bf)](_0x35fa14,_0x43cbb3);}else _0x4741ee=this[_0x392aba(0x27e)](_0x49ab9a,_0x2e2711,_0x27eed7,_0x621ea9,_0x46cf1a,_0x43cbb3);const _0x187fa4=this[_0x392aba(0x1f3)]['getFormulaDependency'](_0x49ab9a,_0x2e2711,_0x27eed7,_0x621ea9);_0x187fa4!=null?_0x4741ee[_0x392aba(0x22b)]=_0x187fa4:(this[_0x392aba(0x1f3)]['addFormulaDependency'](_0x49ab9a,_0x2e2711,_0x27eed7,_0x621ea9,_0x4741ee),this[_0x392aba(0x1f3)][_0x392aba(0x1cc)](_0x4741ee)),_0xd187c5[_0x392aba(0x21f)](_0x4741ee),this[_0x392aba(0x261)][_0x392aba(0x298)](_0x4741ee[_0x392aba(0x22b)],_0x4741ee);}),_0x1cfa76[_0x2c5178(0x239)]();}}}[_0x4889b5(0x27e)](_0x434c42,_0x47e078,_0xbd3002,_0x426eb5,_0xbe4efa,_0x251a93){const _0x541a10=_0x4889b5,{f:_0x414ce2,x:_0x3cf3a9=0x0,y:_0x5eada8=0x0}=_0x251a93,_0x53bec8=new a[(_0x541a10(0x1fd))](a['generateRandomDependencyTreeId'](this[_0x541a10(0x1f3)])),_0x4e0b46=_0xbe4efa[_0x434c42][_0x47e078];return _0x53bec8['formula']=_0x414ce2,_0x53bec8[_0x541a10(0x21c)]=_0x434c42,_0x53bec8[_0x541a10(0x23c)]=_0x47e078,_0x53bec8[_0x541a10(0x1f8)]=_0xbd3002,_0x53bec8[_0x541a10(0x208)]=_0x426eb5,_0x53bec8[_0x541a10(0x24e)]=_0x4e0b46['rowCount'],_0x53bec8[_0x541a10(0x215)]=_0x4e0b46['columnCount'],_0x53bec8;}[_0x4889b5(0x276)](){const _0x5121a5=_0x4889b5,_0x3955ed=[],_0x432890=new Set(),_0x58a6bc=this['_currentConfigService'][_0x5121a5(0x245)](),_0x238295=this[_0x5121a5(0x28d)][_0x5121a5(0x238)](),_0x4c001e=this['_dependencyManagerService'][_0x5121a5(0x2a0)](_0x238295),_0x36cbf7=this[_0x5121a5(0x21a)][_0x5121a5(0x1f4)](_0x238295);for(const _0xa3b428 of _0x36cbf7)_0x4c001e['add'](_0xa3b428);for(const [_0x3173c7,_0x63d8dc]of this[_0x5121a5(0x261)])(_0x58a6bc||_0x63d8dc[_0x5121a5(0x233)]||_0x63d8dc['dependencySheetName'](this[_0x5121a5(0x28d)][_0x5121a5(0x258)]())||_0x4c001e[_0x5121a5(0x2a4)](_0x3173c7)&&!_0x63d8dc['isExcludeRange'](this[_0x5121a5(0x28d)]['getExcludedRange']()))&&!_0x432890['has'](_0x3173c7)&&(_0x3955ed[_0x5121a5(0x21f)](_0x63d8dc),_0x432890[_0x5121a5(0x1e2)](_0x3173c7));for(const [_0x114cb7,_0x4be220]of this['_dependencyTreeCache'])_0x4be220[_0x5121a5(0x29b)]||(_0x4be220['rangeList']['length']=0x0);return _0x3955ed;}[_0x4889b5(0x260)](_0x4ab661){const _0x2cc5f4=_0x4889b5;return this[_0x2cc5f4(0x261)][_0x2cc5f4(0x24a)](_0x4ab661);}['_getTreeNode'](_0x4599a2){const _0x177650=_0x4889b5;return a['generateAstNode'](_0x4599a2[_0x177650(0x21c)],_0x4599a2[_0x177650(0x21e)],this[_0x177650(0x2ab)],this[_0x177650(0x224)],this[_0x177650(0x28d)]);}*[_0x4889b5(0x2ba)](_0x47ba71,_0x2f6391){const _0x4ed282=_0x4889b5,_0x7da208=_0x47ba71,_0x4a1cc0=new Set();for(;_0x7da208[_0x4ed282(0x1dd)]>0x0;){const _0x4601fc=_0x7da208[_0x4ed282(0x232)]();if(_0x4a1cc0[_0x4ed282(0x239)](),_0x4601fc===void 0x0||_0x4601fc[_0x4ed282(0x290)]())continue;if(_0x4601fc['isAdded']()){yield _0x4601fc,_0x4601fc['setSkip'](),_0x2f6391[_0x4ed282(0x1e2)](_0x4601fc[_0x4ed282(0x22b)]);continue;}const _0x114297=this[_0x4ed282(0x1f3)][_0x4ed282(0x2a0)](_0x4601fc[_0x4ed282(0x1e6)](),_0x2f6391),_0x536442=this[_0x4ed282(0x21a)][_0x4ed282(0x1f4)](_0x4601fc[_0x4ed282(0x1e6)](),_0x2f6391);for(const _0x1f47eb of _0x536442)_0x114297['add'](_0x1f47eb);for(const _0x512d29 of _0x114297){const _0x10bb1b=this[_0x4ed282(0x261)][_0x4ed282(0x24a)](_0x512d29);if(!_0x10bb1b){console[_0x4ed282(0x218)](_0x4ed282(0x1e5),_0x512d29);continue;}_0x10bb1b[_0x4ed282(0x1d6)]()||_0x4601fc[_0x4ed282(0x290)]()||_0x4a1cc0[_0x4ed282(0x1e2)](_0x10bb1b);}if(_0x114297[_0x4ed282(0x239)](),_0x4a1cc0[_0x4ed282(0x22d)]===0x0)yield _0x4601fc,_0x4601fc[_0x4ed282(0x277)](),_0x2f6391['add'](_0x4601fc[_0x4ed282(0x22b)]);else{_0x4601fc[_0x4ed282(0x1e8)](),_0x7da208[_0x4ed282(0x21f)](_0x4601fc);for(const _0xa92ae8 of _0x4a1cc0)_0x7da208[_0x4ed282(0x21f)](_0xa92ae8);}}_0x7da208['length']=0x0,_0x4a1cc0['clear']();}[_0x4889b5(0x2be)](_0x508400){const _0x14631f=_0x4889b5,_0x585b92=[],_0x53ac52=new Set();for(const _0x28d2c3 of this[_0x14631f(0x2ba)](_0x508400,_0x53ac52))_0x585b92['push'](_0x28d2c3);return _0x585b92;}async[_0x4889b5(0x23f)](){const _0x9e95f5=_0x4889b5;return await this['_initializeGenerateTreeList'](),Array['from'](this['_dependencyTreeCache'][_0x9e95f5(0x27c)]());}[_0x4889b5(0x1ee)](_0x184c2e){const _0xe51e3d=_0x4889b5;return this[_0xe51e3d(0x1f3)][_0xe51e3d(0x2a0)](_0x184c2e[_0xe51e3d(0x1e6)]());}[_0x4889b5(0x22f)](_0x55ef98){const _0x1baca2=_0x4889b5,_0x5ed427=new Set(),_0x450469=_0x55ef98['rangeList'];for(const [_0x408105,_0x85c4dc]of this[_0x1baca2(0x261)])for(const _0x174766 of _0x450469){const _0x43bc03=_0x174766[_0x1baca2(0x21c)],_0x3017c4=_0x174766[_0x1baca2(0x264)];if(_0x85c4dc[_0x1baca2(0x21c)]!==_0x43bc03||_0x85c4dc[_0x1baca2(0x23c)]!==_0x3017c4)continue;const _0xdeb9f5=_0x174766[_0x1baca2(0x20a)];if(_0x85c4dc['inRangeData'](_0xdeb9f5)){_0x5ed427[_0x1baca2(0x1e2)](_0x408105);break;}}return _0x5ed427;}[_0x4889b5(0x2ae)](){const _0x558230=_0x4889b5;this[_0x558230(0x1f3)][_0x558230(0x2b0)]();}[_0x4889b5(0x1d4)](){const _0xef5a04=_0x4889b5;this['_formulaDependencyTreeModel'][_0xef5a04(0x239)](),this[_0xef5a04(0x261)]['clear'](),this[_0xef5a04(0x1f3)][_0xef5a04(0x1f5)]();}}const b=_0x4889b5(0x280),K={0x0:'P',0x1:'X',0x2:'c',0x3:'o',0x4:'G',0x5:'x',0x6:'r',0x7:'n',0x8:'K',0x9:'6','b':'0','s':'1','a':'2','X':'3','v':'4','A':'5','D':'7','f':'8','g':'9','O':'a','B':'b','l':'d','C':'e','z':'f','o':'g','S':'h','I':'i','q':'j','Z':'k','L':'l','P':'m','J':'p','\x20':'q','Y':'s','t':'t','d':'u','i':'v','K':'w','p':'y','W':'z','m':'A','E':'B','U':'C','k':'D','y':'E','r':'F','c':'H','H':'I','w':'J','n':'L','j':'M','e':'N','M':'O','F':'Q','x':'R','T':'S','h':'T','R':'U','G':'V','Q':'W','u':'Y','N':'Z','V':'\x20'};class j extends a[_0x4889b5(0x2a6)]{async[_0x4889b5(0x282)](_0x507779=!0x1){const _0x454d78=_0x4889b5;_0x507779?this[_0x454d78(0x243)][_0x454d78(0x20c)](a['FormulaExecuteStageType'][_0x454d78(0x2a5)]):this[_0x454d78(0x243)][_0x454d78(0x20c)](a[_0x454d78(0x1ca)][_0x454d78(0x26c)]),this[_0x454d78(0x210)][_0x454d78(0x269)](this[_0x454d78(0x243)][_0x454d78(0x222)]());const _0x87937e=await this['_formulaDependencyGenerator'][_0x454d78(0x244)](this[_0x454d78(0x20b)]),_0x550877=this[_0x454d78(0x228)];_0x507779?(this[_0x454d78(0x243)]['setFormulaExecuteStage'](a[_0x454d78(0x1ca)][_0x454d78(0x226)]),this[_0x454d78(0x243)][_0x454d78(0x2b6)](_0x87937e[_0x454d78(0x1dd)])):(this[_0x454d78(0x243)][_0x454d78(0x20c)](a['FormulaExecuteStageType'][_0x454d78(0x1f9)]),this[_0x454d78(0x243)]['setTotalFormulasToCalculate'](_0x87937e[_0x454d78(0x1dd)])),this[_0x454d78(0x210)][_0x454d78(0x269)](this['_runtimeService'][_0x454d78(0x222)]());let _0x7271e1=[];const _0x141e0d=this['_configService'][_0x454d78(0x250)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x45f4ee=(_0x141e0d==null?void 0x0:_0x141e0d[_0x454d78(0x20f)])||a[_0x454d78(0x25f)];let _0x17a8c0=0x0;const _0x2660ad=_0x87937e[_0x454d78(0x1dd)];for(;_0x87937e[_0x454d78(0x1dd)]>0x0;){const _0x3ec4f5=_0x87937e[_0x454d78(0x232)](),_0x50664b=a['generateAstNode'](_0x3ec4f5[_0x454d78(0x21c)],_0x3ec4f5['formula'],this[_0x454d78(0x2ab)],this[_0x454d78(0x224)],this[_0x454d78(0x28d)]),_0x4f7fe9={'node':_0x50664b,'refOffsetX':_0x3ec4f5[_0x454d78(0x1f6)],'refOffsetY':_0x3ec4f5[_0x454d78(0x1c4)]},_0x22922f=_0x3ec4f5[_0x454d78(0x1c6)];if(_0x17a8c0%_0x45f4ee===0x0&&(await new Promise(_0x41c4b4=>{const _0xa7baf6=_0x454d78,_0x283412=O['requestImmediateMacroTask'](_0x41c4b4);_0x7271e1[_0xa7baf6(0x21f)](_0x283412);}),_0x507779?(this[_0x454d78(0x243)][_0x454d78(0x20c)](a[_0x454d78(0x1ca)][_0x454d78(0x22c)]),this['_runtimeService'][_0x454d78(0x29f)](_0x17a8c0+0x1)):(this[_0x454d78(0x243)][_0x454d78(0x20c)](a['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x454d78(0x209)](_0x17a8c0+0x1)),this['_executionInProgressListener$']['next'](this[_0x454d78(0x243)][_0x454d78(0x222)]()),this[_0x454d78(0x243)][_0x454d78(0x1cd)]()||_0x4f7fe9==null&&_0x22922f==null)){this[_0x454d78(0x243)][_0x454d78(0x20c)](a[_0x454d78(0x1ca)][_0x454d78(0x22a)]),this[_0x454d78(0x243)][_0x454d78(0x1f1)](),this[_0x454d78(0x257)][_0x454d78(0x269)](this['_runtimeService'][_0x454d78(0x204)]());return;}this[_0x454d78(0x243)][_0x454d78(0x1e9)](_0x3ec4f5[_0x454d78(0x1f8)],_0x3ec4f5[_0x454d78(0x208)],_0x3ec4f5['rowCount'],_0x3ec4f5[_0x454d78(0x215)],_0x3ec4f5[_0x454d78(0x23c)],_0x3ec4f5[_0x454d78(0x21c)]);let _0x2c7f85;if(_0x22922f!=null&&_0x3ec4f5[_0x454d78(0x275)]!=null){const {runtimeCellData:_0x49f45f,dirtyRanges:_0x55aa99}=_0x22922f(this[_0x454d78(0x28d)]['getDirtyData'](),this[_0x454d78(0x243)][_0x454d78(0x204)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x3ec4f5[_0x454d78(0x275)],_0x49f45f),this[_0x454d78(0x243)][_0x454d78(0x217)](_0x3ec4f5['featureId'],_0x55aa99);}else _0x4f7fe9!=null&&(_0x550877[_0x454d78(0x202)](_0x4f7fe9[_0x454d78(0x26e)])?_0x2c7f85=await _0x550877[_0x454d78(0x1d7)](_0x4f7fe9):_0x2c7f85=_0x550877[_0x454d78(0x1e0)](_0x4f7fe9),_0x3ec4f5[_0x454d78(0x26b)]!=null?this[_0x454d78(0x243)][_0x454d78(0x21b)](_0x3ec4f5[_0x454d78(0x26b)],_0x3ec4f5[_0x454d78(0x1f6)],_0x3ec4f5['refOffsetY'],_0x2c7f85):this[_0x454d78(0x243)]['setRuntimeData'](_0x2c7f85));_0x50664b['resetCalculationState'](),_0x17a8c0++;}return _0x7271e1[_0x454d78(0x1e1)](_0x71c3ca=>_0x71c3ca()),_0x7271e1=[],_0x2660ad>0x0?this[_0x454d78(0x243)][_0x454d78(0x24d)]():_0x507779||this[_0x454d78(0x243)][_0x454d78(0x2bc)](),this[_0x454d78(0x243)][_0x454d78(0x204)]();}}class G extends a[_0x4889b5(0x271)]{constructor(){const _0x2b4c6e=_0x4889b5;super(...arguments),F(this,_0x2b4c6e(0x2b8),new Map()),F(this,_0x2b4c6e(0x200),new O[(_0x2b4c6e(0x214))](!0x0));}[_0x4889b5(0x28f)](){const _0x36b9ec=_0x4889b5;this[_0x36b9ec(0x251)]['clear'](),this[_0x36b9ec(0x1ea)][_0x36b9ec(0x239)](),this[_0x36b9ec(0x205)][_0x36b9ec(0x239)](),this[_0x36b9ec(0x200)][_0x36b9ec(0x239)](),this[_0x36b9ec(0x2b8)]['clear'](),this['_restDependencyTreeId'](),this[_0x36b9ec(0x20d)][_0x36b9ec(0x239)]();}[_0x4889b5(0x1d1)](_0x21a313,_0x3cdf94,_0x4b2ba1,_0x4e4539){const _0x37032d=_0x4889b5;this[_0x37032d(0x251)][_0x37032d(0x2a4)](_0x21a313)||this['_otherFormulaData']['set'](_0x21a313,new Map());const _0x35c9aa=this[_0x37032d(0x251)][_0x37032d(0x24a)](_0x21a313);_0x35c9aa[_0x37032d(0x2a4)](_0x3cdf94)||_0x35c9aa[_0x37032d(0x298)](_0x3cdf94,new Map());const _0x9f28f6=_0x35c9aa[_0x37032d(0x24a)](_0x3cdf94);_0x9f28f6['has'](_0x4b2ba1)||_0x9f28f6[_0x37032d(0x298)](_0x4b2ba1,new O[(_0x37032d(0x223))]()),_0x9f28f6[_0x37032d(0x24a)](_0x4b2ba1)[_0x37032d(0x2c4)](_0x4e4539[_0x37032d(0x1f6)],_0x4e4539[_0x37032d(0x1c4)],_0x4e4539['treeId']);}[_0x4889b5(0x2bb)](_0x2ac8f5,_0x5d4764,_0x3485f7){const _0x440f9c=_0x4889b5,_0xf3fbcd=this['_otherFormulaData']['get'](_0x2ac8f5);if(_0xf3fbcd&&_0xf3fbcd[_0x440f9c(0x2a4)](_0x5d4764)){const _0x197725=_0xf3fbcd[_0x440f9c(0x24a)](_0x5d4764);_0x3485f7[_0x440f9c(0x1e1)](_0xe1503e=>{const _0x87e4e5=_0x440f9c,_0x250fd7=_0x197725[_0x87e4e5(0x24a)](_0xe1503e);_0x250fd7!=null&&(_0x250fd7[_0x87e4e5(0x1e3)]((_0x5d68fb,_0x1d11f6,_0x3bb09e)=>{const _0x1b9a52=_0x87e4e5;this['_removeDependencyRTreeCache'](_0x3bb09e),this[_0x1b9a52(0x295)](_0x3bb09e);}),_0x197725[_0x87e4e5(0x22e)](_0xe1503e),this['_otherFormulaDataMainData']['delete'](_0xe1503e));}),_0x197725[_0x440f9c(0x22d)]===0x0&&_0xf3fbcd[_0x440f9c(0x22e)](_0x5d4764),_0xf3fbcd['size']===0x0&&this[_0x440f9c(0x251)][_0x440f9c(0x22e)](_0x2ac8f5);}}[_0x4889b5(0x29d)](_0x1e2fc8,_0x3b57bc){const _0x4c72e8=_0x4889b5,_0xc5bc0e=this[_0x4c72e8(0x251)][_0x4c72e8(0x24a)](_0x1e2fc8);if(_0x3b57bc&&_0xc5bc0e&&_0xc5bc0e[_0x4c72e8(0x2a4)](_0x3b57bc)){const _0x5ceb37=_0xc5bc0e[_0x4c72e8(0x24a)](_0x3b57bc);this[_0x4c72e8(0x2b1)](_0x1e2fc8,_0x3b57bc);for(const _0x3e2b5e of _0x5ceb37['keys']()){const _0x59c985=_0x5ceb37[_0x4c72e8(0x24a)](_0x3e2b5e);_0x59c985!=null&&(_0x59c985['forValue']((_0x2b3cb4,_0x3d44b7,_0x3c6880)=>{const _0x5e34de=_0x4c72e8;this[_0x5e34de(0x2b8)][_0x5e34de(0x24a)](_0x3c6880)&&this[_0x5e34de(0x295)](_0x3c6880);}),this[_0x4c72e8(0x20d)][_0x4c72e8(0x22e)](_0x3e2b5e));}_0x5ceb37[_0x4c72e8(0x239)]();}else{if(_0xc5bc0e){for(const _0xc8cbf8 of _0xc5bc0e['keys']()){const _0xd140ba=_0xc5bc0e[_0x4c72e8(0x24a)](_0xc8cbf8);this[_0x4c72e8(0x2b1)](_0x1e2fc8,_0xc8cbf8);for(const _0x53af45 of _0xd140ba[_0x4c72e8(0x213)]()){const _0x232cf0=_0xd140ba['get'](_0x53af45);_0x232cf0!=null&&(_0x232cf0[_0x4c72e8(0x1e3)]((_0x2d2047,_0x3dc22a,_0x5017b8)=>{const _0x411282=_0x4c72e8;this[_0x411282(0x2b8)][_0x411282(0x24a)](_0x5017b8)&&this[_0x411282(0x295)](_0x5017b8);}),this[_0x4c72e8(0x20d)][_0x4c72e8(0x22e)](_0x53af45));}}this['_otherFormulaData'][_0x4c72e8(0x22e)](_0x1e2fc8);}}}[_0x4889b5(0x28b)](_0x5d063d,_0x2e63d8,_0x206c16,_0x58e8c5){const _0x39de94=_0x4889b5;this[_0x39de94(0x1ea)][_0x39de94(0x2a4)](_0x5d063d)||this[_0x39de94(0x1ea)][_0x39de94(0x298)](_0x5d063d,new Map());const _0x5d134a=this[_0x39de94(0x1ea)]['get'](_0x5d063d);_0x5d134a[_0x39de94(0x2a4)](_0x2e63d8)||_0x5d134a[_0x39de94(0x298)](_0x2e63d8,new Map()),_0x5d134a[_0x39de94(0x24a)](_0x2e63d8)[_0x39de94(0x298)](_0x206c16,_0x58e8c5[_0x39de94(0x22b)]);}['removeFeatureFormulaDependency'](_0x23a2cf,_0xfd3eb,_0x5739b6){const _0x57e45c=_0x4889b5,_0x241247=this[_0x57e45c(0x1ea)][_0x57e45c(0x24a)](_0x23a2cf);if(_0x241247&&_0x241247['has'](_0xfd3eb)){const _0x36e5fd=_0x241247[_0x57e45c(0x24a)](_0xfd3eb);_0x5739b6[_0x57e45c(0x1e1)](_0xf98567=>{const _0x22a2a5=_0x57e45c,_0x3ede2=_0x36e5fd['get'](_0xf98567);_0x3ede2!=null&&(this['_removeDependencyRTreeCache'](_0x3ede2),_0x36e5fd['delete'](_0xf98567),this[_0x22a2a5(0x295)](_0x3ede2));});}}['clearFeatureFormulaDependency'](_0x2b45f6,_0x2decc7){const _0x120175=_0x4889b5,_0x4cea1f=this[_0x120175(0x1ea)][_0x120175(0x24a)](_0x2b45f6);if(_0x2decc7&&_0x4cea1f&&_0x4cea1f[_0x120175(0x2a4)](_0x2decc7)){const _0x3a6515=_0x4cea1f['get'](_0x2decc7);this[_0x120175(0x2b1)](_0x2b45f6,_0x2decc7),_0x3a6515[_0x120175(0x1e1)](_0x15fbed=>{const _0x3fc368=_0x120175;_0x15fbed!=null&&this[_0x3fc368(0x295)](_0x15fbed);}),_0x3a6515[_0x120175(0x239)]();}else _0x4cea1f&&(_0x4cea1f['forEach']((_0x46aff7,_0x9bf0ae)=>{const _0x131ac0=_0x120175;this[_0x131ac0(0x2b1)](_0x2b45f6,_0x9bf0ae),_0x46aff7['forEach'](_0x22da18=>{const _0x36bc81=_0x131ac0;_0x22da18!=null&&this[_0x36bc81(0x295)](_0x22da18);});}),this[_0x120175(0x1ea)]['delete'](_0x2b45f6));}[_0x4889b5(0x27f)](_0x3b52d1,_0x1c66f0,_0x22ff1c,_0x5cda5d,_0x45e0f0){const _0x2bba41=_0x4889b5;this[_0x2bba41(0x205)]['has'](_0x3b52d1)||this[_0x2bba41(0x205)][_0x2bba41(0x298)](_0x3b52d1,new Map());const _0x44adb7=this[_0x2bba41(0x205)][_0x2bba41(0x24a)](_0x3b52d1);_0x44adb7[_0x2bba41(0x2a4)](_0x1c66f0)||_0x44adb7[_0x2bba41(0x298)](_0x1c66f0,new O['ObjectMatrix']()),_0x44adb7[_0x2bba41(0x24a)](_0x1c66f0)[_0x2bba41(0x2c4)](_0x22ff1c,_0x5cda5d,_0x45e0f0[_0x2bba41(0x22b)]);}[_0x4889b5(0x206)](_0x4a942b,_0x40c915,_0x61c09b,_0x2db393){const _0x372cef=_0x4889b5,_0x272c8e=this['_formulaData']['get'](_0x4a942b);if(_0x272c8e&&_0x272c8e[_0x372cef(0x2a4)](_0x40c915)){const _0x2240bd=_0x272c8e[_0x372cef(0x24a)](_0x40c915),_0x1e08f3=_0x2240bd[_0x372cef(0x299)](_0x61c09b,_0x2db393);if(_0x1e08f3==null)return;this[_0x372cef(0x29c)](_0x1e08f3),_0x2240bd[_0x372cef(0x2c2)](_0x61c09b,_0x2db393),this['_removeAllTreeMap'](_0x1e08f3);}}['clearFormulaDependency'](_0x511764,_0xf97828){const _0x40d4fb=_0x4889b5,_0x501ae6=this[_0x40d4fb(0x205)]['get'](_0x511764);if(_0xf97828&&_0x501ae6&&_0x501ae6[_0x40d4fb(0x2a4)](_0xf97828)){const _0x468302=_0x501ae6[_0x40d4fb(0x24a)](_0xf97828);this[_0x40d4fb(0x2b1)](_0x511764,_0xf97828),_0x468302[_0x40d4fb(0x1e3)]((_0x2fe05c,_0x580460,_0x55d1cb)=>{const _0x57fdb6=_0x40d4fb;if(_0x55d1cb==null)return!0x0;this[_0x57fdb6(0x295)](_0x55d1cb);}),_0x468302[_0x40d4fb(0x28f)]();}else _0x501ae6&&(_0x501ae6[_0x40d4fb(0x1e1)]((_0x4b7e76,_0x5358b6)=>{const _0x4a0292=_0x40d4fb;this[_0x4a0292(0x2b1)](_0x511764,_0x5358b6),_0x4b7e76['forValue']((_0x35ab41,_0x3b45c4,_0x437784)=>{const _0x197997=_0x4a0292;if(_0x437784==null)return!0x0;this[_0x197997(0x295)](_0x437784);});}),this[_0x40d4fb(0x205)]['delete'](_0x511764));}[_0x4889b5(0x29c)](_0x2e16e2){const _0x9a58a2=_0x4889b5;if(_0x2e16e2==null)return;const _0x42d0dd=this[_0x9a58a2(0x2b8)]['get'](_0x2e16e2);if(_0x42d0dd){const _0x19daec=[];for(const [_0x4b18dc,_0xd4395f]of _0x42d0dd)for(const [_0x4d74d3,_0x1cd4ff]of _0xd4395f)_0x19daec[_0x9a58a2(0x21f)]({'unitId':_0x4b18dc,'sheetId':_0x4d74d3,'range':_0x1cd4ff,'id':_0x2e16e2});this[_0x9a58a2(0x200)]['bulkRemove'](_0x19daec);}}[_0x4889b5(0x296)](_0x2d1bbe,_0x4378ee){const _0x8b54f4=_0x4889b5,_0x2831b4=this['_definedNameMap']['get'](_0x2d1bbe);if(_0x2831b4){const _0x1f1526=_0x2831b4[_0x8b54f4(0x24a)](_0x4378ee);if(_0x1f1526){for(const _0x248bc7 of _0x1f1526)this[_0x8b54f4(0x29c)](_0x248bc7),this[_0x8b54f4(0x295)](_0x248bc7);_0x1f1526['clear']();}}}[_0x4889b5(0x2b0)](){const _0x188a8b=_0x4889b5;this[_0x188a8b(0x200)]['openKdTree']();}[_0x4889b5(0x1f5)](){const _0x4d9f45=_0x4889b5;this[_0x4d9f45(0x200)][_0x4d9f45(0x1f5)]();}[_0x4889b5(0x295)](_0x151ad5){const _0x4f6c7b=_0x4889b5;_0x151ad5!=null&&this[_0x4f6c7b(0x2b8)][_0x4f6c7b(0x22e)](_0x151ad5);}[_0x4889b5(0x266)](_0x3c1504){const _0x5caf98=_0x4889b5;var _0x5077ee,_0x477be5;const _0x77b9a5=_0x3c1504[_0x5caf98(0x246)];let _0x9b727d=this[_0x5caf98(0x2b8)][_0x5caf98(0x24a)](_0x3c1504['treeId']);for(let _0x51684d=0x0;_0x51684d<_0x77b9a5[_0x5caf98(0x1dd)];_0x51684d++){const _0x25ebcd=_0x77b9a5[_0x51684d];let {unitId:_0xe2f7e9,sheetId:_0x2cdf2f,range:_0x85e33e}=_0x25ebcd;_0x9b727d||(_0x9b727d=new Map(),this[_0x5caf98(0x2b8)][_0x5caf98(0x298)](_0x3c1504[_0x5caf98(0x22b)],_0x9b727d)),_0x9b727d['has'](_0xe2f7e9)||_0x9b727d[_0x5caf98(0x298)](_0xe2f7e9,new Map());const _0xf43447=(_0x5077ee=_0x9b727d==null?void 0x0:_0x9b727d[_0x5caf98(0x24a)](_0xe2f7e9))==null?void 0x0:_0x5077ee[_0x5caf98(0x24a)](_0x2cdf2f);_0xf43447&&(_0x85e33e={'startRow':Math['min'](_0x85e33e['startRow'],_0xf43447[_0x5caf98(0x2aa)]),'startColumn':Math[_0x5caf98(0x29e)](_0x85e33e[_0x5caf98(0x289)],_0xf43447[_0x5caf98(0x289)]),'endRow':Math[_0x5caf98(0x25b)](_0x85e33e[_0x5caf98(0x262)],_0xf43447[_0x5caf98(0x262)]),'endColumn':Math['max'](_0x85e33e[_0x5caf98(0x25d)],_0xf43447[_0x5caf98(0x25d)])}),(_0x477be5=_0x9b727d[_0x5caf98(0x24a)](_0xe2f7e9))==null||_0x477be5[_0x5caf98(0x298)](_0x2cdf2f,_0x85e33e);}}}var $=Object[_0x4889b5(0x285)],J=(_0x5806d3,_0x1348c0,_0x189376,_0x426d6a)=>{const _0x272847=_0x4889b5;for(var _0x385f0d=_0x426d6a>0x1?void 0x0:_0x426d6a?$(_0x1348c0,_0x189376):_0x1348c0,_0x229e76=_0x5806d3[_0x272847(0x1dd)]-0x1,_0x2e9835;_0x229e76>=0x0;_0x229e76--)(_0x2e9835=_0x5806d3[_0x229e76])&&(_0x385f0d=_0x2e9835(_0x385f0d)||_0x385f0d);return _0x385f0d;};const H=Number[_0x4889b5(0x2c3)](0x698d9970);exports['UniverProFormulaEnginePlugin']=class extends a['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0xf8f91a=_0x4889b5;var _0x242fbd,_0x2c4422;this[_0xf8f91a(0x268)]()?(this[_0xf8f91a(0x281)][_0xf8f91a(0x1e2)]([a['LexerTreeBuilder'],{'useClass':N}]),(_0x242fbd=this[_0xf8f91a(0x23a)])!=null&&_0x242fbd[_0xf8f91a(0x21d)]||[[a[_0xf8f91a(0x225)],{'useClass':j}],[a[_0xf8f91a(0x1fa)],{'useClass':G}],[a['IFormulaDependencyGenerator'],{'useClass':B}]][_0xf8f91a(0x1e1)](_0x36a947=>this[_0xf8f91a(0x281)][_0xf8f91a(0x1e2)](_0x36a947))):(this[_0xf8f91a(0x281)][_0xf8f91a(0x1e2)]([a['LexerTreeBuilder'],{'useClass':a[_0xf8f91a(0x293)]}]),(_0x2c4422=this[_0xf8f91a(0x23a)])!=null&&_0x2c4422['notExecuteFormula']||[[a[_0xf8f91a(0x225)],{'useClass':a[_0xf8f91a(0x2a6)]}],[a[_0xf8f91a(0x1fa)],{'useClass':a['DependencyManagerService']}],[a['IFormulaDependencyGenerator'],{'useClass':a['FormulaDependencyGenerator']}]]['forEach'](_0x4840a3=>this[_0xf8f91a(0x281)]['add'](_0x4840a3)));}['_initLicenseValid'](){const _0x2e203f=_0x4889b5;var _0x14bf18;const _0x254265=(_0x14bf18=this[_0x2e203f(0x24f)][_0x2e203f(0x250)](E[_0x2e203f(0x2ac)]))!=null?_0x14bf18:{},{ls:_0x30f956,pbk:_0x3b2761}=_0x254265;if(!_0x30f956||!_0x3b2761)return!0x1;const _0x13bb60=E[_0x2e203f(0x291)](b,K),_0x1dceaa=new Function(_0x2e203f(0x231)+_0x13bb60)()(_0x30f956,_0x3b2761),_0x5bc84a=_0x1dceaa[_0x2e203f(0x1da)];return _0x1dceaa[_0x2e203f(0x2af)]&&E[_0x2e203f(0x1d0)](_0x5bc84a,'sf',H)?E[_0x2e203f(0x274)](_0x5bc84a,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=J([O[_0x4889b5(0x1c7)](E['UniverLicensePlugin'])],exports[_0x4889b5(0x2a3)]),exports[_0x4889b5(0x227)]=N,Object[_0x4889b5(0x213)](a)['forEach'](_0x2aa455=>{const _0x14d653=_0x4889b5;_0x2aa455!==_0x14d653(0x1ef)&&!Object[_0x14d653(0x26a)][_0x14d653(0x253)]['call'](exports,_0x2aa455)&&Object[_0x14d653(0x272)](exports,_0x2aa455,{'enumerable':!0x0,'get':()=>a[_0x2aa455]});});function _0x2b2f(){const _0x297117=['setCompletedFormulasCount','range','_isCalculateTreeModel','setFormulaExecuteStage','_otherFormulaDataMainData','getFormulaDependency','intervalCount','_executionInProgressListener$','_convertDirtyRangesToUnitRange','_currentUnitId','keys','RTree','columnCount','_checkAddBracketForMinus','setRuntimeFeatureRange','error','_getCurNodeTypeForExprTree','_dependencyRTreeCacheForAddressFunction','setRuntimeOtherData','unitId','notExecuteFormula','formula','push','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','256tGXxCU','getRuntimeState','ObjectMatrix','_astTreeBuilder','ICalculateFormulaService','START_CALCULATION_ARRAY_FORMULA','LexerTreeProBuilder','_interpreter','toStringTag','IDLE','treeId','CURRENTLY_CALCULATING_ARRAY_FORMULA','size','delete','_getDependencyTreeChildrenIds','FormulaDependencyGenerator','return\x20','pop','isDirty','enableCycleDependency','clearFeatureFormulaDependency','_xlpmPrefix','type','getDirtyRanges','clear','_config','splitTableStructuredRef','subUnitId','NEW_EXCEL_FUNCTIONS','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getAllTreeList','_checkColonNodeForExprTree','trim','dispose','_runtimeService','generate','isForceCalculate','rangeList','MINUS','_registerFormulas','getOtherFormulaData','get','getToken','slice','markedAsSuccessfullyExecuted','rowCount','_configService','getConfig','_otherFormulaData','_isCyclicUtilMap','hasOwnProperty','_checkIsCycleDependency','resolve','_getFirstCellOfRange','_executionCompleteListener$','getDirtyNameMap','from','_xlpm.','max','DEFAULT_TOKEN_TYPE_ROOT','endColumn','getChildren','DEFAULT_INTERVAL_COUNT','_getTreeById','_dependencyTreeCache','endRow','3416994iQWZeb','sheetId','_hasNewExcelFunction','_addAllTreeMap','setDependencyTreeModelData','_initLicenseValid','next','prototype','formulaId','START_DEPENDENCY','getNewFormulaWithPrefix','node','DEFAULT_TOKEN_TYPE_PARAMETER','prefixToken','DependencyManagerBaseService','defineProperty','join','getSheetFeatureLimit','featureId','_getUpdateTreeListAndMakeDependency','setSkip','_xlfn.','_updateRangeFlatten','treeBuilder','getFeatureFormulaDependency','values','_handleChildrenForExprTree','_createFDtree','addFormulaDependency','/*VCYLI7t-lIYOBLCVJ6CzC6-tCPJLOtCV*/zd72tI37VlC26pJtI37(LI2C7YC,VJdBLI28Cp)V{VVVVt6pV{VVVVVVVV237YtVLI2C7YCH7z30O6tm66OpV=VLI2C7YC.YJLIt(\x27-\x27);VVVVVVVV237YtV36IoI7jCYYOoCV=VwTMe.JO6YC(Ot3B(LI2C7YCH7z30O6tm66Op[a]));VVVVVVVVIzV(!36IoI7jCYYOoC.dl)V{VVVVVVVVVVVV36IoI7jCYYOoC.dlV=VedPBC6(LI2C7YCH7z30O6tm66Op[v]);VVVVVVVV}VVVVVVVV237YtVIYQ36ZC6V=VtpJC3zVQ36ZC64L3BOLT23JCV!==V\x27d7lCzI7Cl\x27V&&VYCLzVI7YtO72C3zVQ36ZC64L3BOLT23JC;VVVVVVVV237YtVIYE63KYC6V=VtpJC3zVKI7l3KV!==V\x27d7lCzI7Cl\x27V&&VtpJC3zVKI7l3K.L32OtI37V!==V\x27d7lCzI7Cl\x27;VVVVVVVV237YtV237tC5tV=VIYQ36ZC6V?VYCLzV:V(IYE63KYC6V?VKI7l3KV:VoL3BOLhSIY);VVVVVVVV237YtVPCYYOoCQ36lV=V237tC5t.__EOYC9v__.JO6YC(LI2C7YCH7z30O6tm66Op[a]);VVVVVVVV237YtVPCYYOoCV=V237tC5t.__cC5__.Yt6I7oIzp(PCYYOoCQ36l);VVVVVVVV237YtVYIo7Otd6CQ36lV=V237tC5t.__EOYC9v__.JO6YC(LI2C7YCH7z30O6tm66Op[X]);VVVVVVVV237YtVYIo7Otd6CV=V237tC5t.__cC5__.Yt6I7oIzp(YIo7Otd6CQ36l);VVVVVVVV237YtVYIo7GOLIlV=V237tC5t.__iC6Izp__(YIo7Otd6C,VPCYYOoC,VJdBLI28Cp);VVVVVVVV237YtVl3POI7V=V36IoI7jCYYOoC.lP;VVVVVVVVzd72tI37VIYk3POI7jOt2SI7o(JOttC67,VS3Yt)V{VVVVVVVVVVVVIzV(JOttC67V===VS3Yt)V6Ctd67Vt6dC;VVVVVVVVVVVVIzV(JOttC67.YtO6tYQItS(\x27*.\x27))V{VVVVVVVVVVVVVVVV237YtVYdzzI5V=VJOttC67.YLI2C(a);VVVVVVVVVVVVVVVVIzV(YdzzI5V&&VYdzzI5V===VS3Yt)V{VVVVVVVVVVVVVVVVVVVV6Ctd67Vt6dC;VVVVVVVVVVVVVVVV}VVVVVVVVVVVVVVVVIzV(YdzzI5V&&V!S3Yt.YtO6tYQItS(\x27.\x27)V&&VS3Yt.C7lYQItS(\x27.\x27V+VYdzzI5))V{VVVVVVVVVVVVVVVVVVVV6Ctd67Vt6dC;VVVVVVVVVVVVVVVV}VVVVVVVVVVVV}VVVVVVVVVVVV6Ctd67VzOLYC;VVVVVVVV}VVVVVVVVLCtVl3POI7GOLIlV=VzOLYC;VVVVVVVVIzV(IYE63KYC6)V{VVVVVVVVVVVVl3POI7GOLIlV=V(l3POI7V&&Vl3POI7.LC7otS)V?Vl3POI7.Y3PC((lPHtCP)V=>VIYk3POI7jOt2SI7o(lPHtCP,VL32OtI37.S3Yt7OPC))V:Vt6dC;VVVVVVVVVVVVIzV(L32OtI37.S3Yt7OPCV===V\x27L32OLS3Yt\x27)V{VVVVVVVVVVVVVVVVl3POI7GOLIlV=Vt6dC;VVVVVVVVVVVV}VVVVVVVV}VCLYCV{VVVVVVVVVVVVl3POI7GOLIlV=Vt6dC;VVVVVVVV}VVVVVVVV237YtViOLIlV=VYIo7GOLIlV&&Vl3POI7GOLIl;VVVVVVVV6Ctd67V{VVVVVVVVVVVViOLIl,VVVVVVVVVVVVPCYYOoC:V36IoI7jCYYOoC,VVVVVVVV};VVVV}V2Ot2SV(C6636)V{VVVVVVVV6Ctd67V{VVVVVVVVVVVViOLIl:VzOLYC,VVVVVVVVVVVVPCYYOoC:V{},VVVVVVVV};VVVV}}','_injector','_apply','10857790HkJJZh','ErrorType','getOwnPropertyDescriptor','string','_lambdaFunctionParameterSet','hasOtherFormulaDataMainData','startColumn','7361KzAwlT','addFeatureFormulaDependency','getFormulaData','_currentConfigService','_handleTextNodeForExprTree','reset','isSkip','unshiftString','startsWith','LexerTreeBuilder','SUFFIX_TOKEN_SET','_removeAllTreeMap','removeFormulaDependencyByDefinedName','OPERATOR_TOKEN_SET','set','getValue','3qsTQGV','isVirtual','_removeDependencyRTreeCache','clearOtherFormulaDependency','min','setCompletedArrayFormulasCount','searchDependency','_getTableNameFromStructuredRef','COLON','UniverProFormulaEnginePlugin','has','START_DEPENDENCY_ARRAY_FORMULA','CalculateFormulaService','refTree','_handleLambdaForExprTree','matchToken','startRow','_lexer','LS_CONFIG_KEY','generateRandomDependencyTreeId','_startFormulaDependencyTreeModel','valid','openKdTree','_removeDependencyRTreeCacheById','_clearFunctionString','_generateTreeList','406598BlaBfa','LexerNode','setTotalArrayFormulasToCalculate','isReferenceString','_allTreeMap','FEATURE_FORMULA','_traverse','removeOtherFormulaDependency','markedAsNoFunctionsExecuted','_registerOtherFormulas','_calculateRunList','_createVirtualFDtree','_xlfnPrefix','6251TRnDio','realDeleteValue','parseInt','setValue','_handleNewFunctionChild','refOffsetY','DEFAULT_TOKEN_LET_FUNCTION_NAME','getDirtyData','DependentOn','clearFormulaDependency','clearArrayObjectCache','FormulaExecuteStageType','getUnitData','addFormulaDependencyByDefinedName','isStopExecution','PLUS','3672TjXzty','isFeatureAuthorizedWithinTime','addOtherFormulaDependency','FormulaDependencyTreeVirtual','featureDirtyRanges','_endFormulaDependencyTreeModel','_clearPrefix','isAdded','executeAsync','\x22\x20is\x20duplicated.','getOtherFormulaDependency','message','1164558xVTALg','toUpperCase','length','37195frpypA','_resetPrefix','execute','forEach','add','forValue','_otherFormulaManagerService','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','toRTreeItem','getClearDependencyTreeCache','setAdded','setCurrent','_featureFormulaData','startIndex','getFormulaExprTree','OTHER_FORMULA','_getDependencyTreeParenIds','default','symbol','markedAsStopFunctionsExecuted','isCache','_dependencyManagerService','bulkSearch','closeKdTree','refOffsetX','_generateExprTree','row','START_CALCULATION','IDependencyManagerService','VALUE','_generateNewFunctionString','FormulaDependencyTree','getStartIndex','children','_dependencyRTreeCache','isArray','checkAsyncNode','FormulaDependencyTreeType','getAllRuntimeData','_formulaData','removeFormulaDependency','dirtyRanges','column'];_0x2b2f=function(){return _0x297117;};return _0x2b2f();}
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5b0b(_0x249ed2,_0xc4c0c1){_0x249ed2=_0x249ed2-0x167;var _0x2d3d22=_0x2d3d();var _0x5b0bf4=_0x2d3d22[_0x249ed2];return _0x5b0bf4;}function _0x2d3d(){var _0x2e5da8=['45690psgfNP','18854lSqGoh','4212128kqCvzZ','1545992XxoYCO','2385hFJTjg','5863473XCWkBZ','6gisPaj','11kmtOpo','4015960vUxbfI','2118612eXcmZE'];_0x2d3d=function(){return _0x2e5da8;};return _0x2d3d();}(function(_0x1a4893,_0x117597){var _0x5c18f6=_0x5b0b,_0x5428de=_0x1a4893();while(!![]){try{var _0x2351d7=-parseInt(_0x5c18f6(0x16a))/0x1*(-parseInt(_0x5c18f6(0x16e))/0x2)+parseInt(_0x5c18f6(0x16c))/0x3+-parseInt(_0x5c18f6(0x16f))/0x4+-parseInt(_0x5c18f6(0x16b))/0x5*(-parseInt(_0x5c18f6(0x169))/0x6)+-parseInt(_0x5c18f6(0x168))/0x7+-parseInt(_0x5c18f6(0x170))/0x8+-parseInt(_0x5c18f6(0x167))/0x9*(-parseInt(_0x5c18f6(0x16d))/0xa);if(_0x2351d7===_0x117597)break;else _0x5428de['push'](_0x5428de['shift']());}catch(_0x2770d4){_0x5428de['push'](_0x5428de['shift']());}}}(_0x2d3d,0xb4a76));export*from'@univerjs/engine-formula/facade';
1
+ (function(_0x4fbb69,_0x28270e){var _0x3481e8=_0xa851,_0x33dfc7=_0x4fbb69();while(!![]){try{var _0x57e838=parseInt(_0x3481e8(0x115))/0x1*(-parseInt(_0x3481e8(0x112))/0x2)+parseInt(_0x3481e8(0x113))/0x3*(-parseInt(_0x3481e8(0x111))/0x4)+-parseInt(_0x3481e8(0x11c))/0x5+-parseInt(_0x3481e8(0x117))/0x6*(parseInt(_0x3481e8(0x11b))/0x7)+-parseInt(_0x3481e8(0x11a))/0x8+-parseInt(_0x3481e8(0x116))/0x9*(parseInt(_0x3481e8(0x119))/0xa)+parseInt(_0x3481e8(0x114))/0xb*(parseInt(_0x3481e8(0x118))/0xc);if(_0x57e838===_0x28270e)break;else _0x33dfc7['push'](_0x33dfc7['shift']());}catch(_0x7e0c2d){_0x33dfc7['push'](_0x33dfc7['shift']());}}}(_0x58f9,0x287da));export*from'@univerjs/engine-formula/facade';function _0xa851(_0x12a4aa,_0x4b6714){_0x12a4aa=_0x12a4aa-0x111;var _0x58f9c3=_0x58f9();var _0xa8518=_0x58f9c3[_0x12a4aa];return _0xa8518;}function _0x58f9(){var _0x4e7e20=['2772eJikyR','10vRaOkl','1164248SUBIFw','973833TYpMpt','441640jVCAjO','284oCrTkB','1998WyZPpi','4971bcGvuX','38225DERyZX','93UNiFBV','480087ngbZGB','6NmFsTW'];_0x58f9=function(){return _0x4e7e20;};return _0x58f9();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x2faf6f=_0x13f4;(function(_0xd1558e,_0x520a2d){const _0x5473ad=_0x13f4,_0x4d3eb4=_0xd1558e();while(!![]){try{const _0xcc40da=parseInt(_0x5473ad(0x1d5))/0x1+parseInt(_0x5473ad(0x18a))/0x2*(-parseInt(_0x5473ad(0x18b))/0x3)+-parseInt(_0x5473ad(0x1f2))/0x4+parseInt(_0x5473ad(0x1e3))/0x5*(parseInt(_0x5473ad(0x1da))/0x6)+-parseInt(_0x5473ad(0x1fe))/0x7+parseInt(_0x5473ad(0x220))/0x8+-parseInt(_0x5473ad(0x1b7))/0x9*(parseInt(_0x5473ad(0x21d))/0xa);if(_0xcc40da===_0x520a2d)break;else _0x4d3eb4['push'](_0x4d3eb4['shift']());}catch(_0x4f577f){_0x4d3eb4['push'](_0x4d3eb4['shift']());}}}(_0x1033,0x753d8));var se=Object[_0x2faf6f(0x196)],ae=(_0x5a2e2b,_0x1938eb,_0xa5cea9)=>_0x1938eb in _0x5a2e2b?se(_0x5a2e2b,_0x1938eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa5cea9}):_0x5a2e2b[_0x1938eb]=_0xa5cea9,F=(_0xee2e06,_0x13a787,_0x95cea4)=>ae(_0xee2e06,typeof _0x13a787!=_0x2faf6f(0x1ce)?_0x13a787+'':_0x13a787,_0x95cea4);import{LexerTreeBuilder as _0x51cb98,ErrorType as _0x59d9d7,DEFAULT_TOKEN_TYPE_ROOT as _0x172a27,DEFAULT_TOKEN_TYPE_PARAMETER as _0x31d647,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x222285,NEW_EXCEL_FUNCTIONS as _0x3e34a9,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3e8f8e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x43dd4a,matchToken as _0x423da6,SUFFIX_TOKEN_SET as _0x31a8de,prefixToken as _0x555e8b,LexerNode as _0x31addc,OPERATOR_TOKEN_SET as _0x3a6523,isReferenceString as _0x5b76da,splitTableStructuredRef as _0x24a1cb,FormulaDependencyGenerator as _0x4e8178,generateRandomDependencyTreeId as _0xe2bb4f,FormulaDependencyTree as _0x4e5f65,FormulaDependencyTreeType as _0x579e0e,FormulaDependencyTreeVirtual as _0x508250,generateAstNode as _0x27483d,CalculateFormulaService as _0x8d38eb,FormulaExecuteStageType as _0x95ddaf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x397b70,DEFAULT_INTERVAL_COUNT as _0x4c9502,DependencyManagerBaseService as _0x4c6215,UniverFormulaEnginePlugin as _0x13bfd3,ICalculateFormulaService as _0x54d125,IDependencyManagerService as _0x3e9e29,IFormulaDependencyGenerator as _0x39bdd9,DependencyManagerService as _0x304c91}from'@univerjs/engine-formula';function _0x13f4(_0x506231,_0xcb8a09){_0x506231=_0x506231-0x15b;const _0x1033ca=_0x1033();let _0x13f4a8=_0x1033ca[_0x506231];return _0x13f4a8;}function _0x1033(){const _0x2eb356=['_getDependencyTreeParenIds','removeOtherFormulaDependency','438280tOxsxI','getChildren','_getUpdateTreeListAndMakeDependency','_startFormulaDependencyTreeModel','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_createVirtualFDtree','getValue','_xlfnPrefix','setCompletedArrayFormulasCount','getUnitData','values','setFormulaExecuteStage','6715548aNiYKn','string','_dependencyTreeCache','node','_lexer','getFormulaExprTree','setRuntimeData','getOtherFormulaDependency','treeBuilder','setAdded','markedAsStopFunctionsExecuted','formula','columnCount','max','MINUS','_otherFormulaDataMainData','\x22\x20is\x20duplicated.','getFormulaData','_formulaDependencyGenerator','children','getNewFormulaWithPrefix','_hasNewExcelFunction','generate','join','addFormulaDependencyByDefinedName','add','message','startIndex','_formulaDependencyTreeModel','_xlfn.','rangeList','226090RxCpTZ','_restDependencyTreeId','_xlpmPrefix','5145136cUSxSU','_config','_getCurNodeTypeForExprTree','_handleLambdaForExprTree','forValue','featureId','_handleNewFunctionChild','_resetPrefix','COLON','_traverse','getFormulaDependency','_isCyclicUtilMap','getToken','refOffsetX','min','START_CALCULATION_ARRAY_FORMULA','getFeatureFormulaDependency','_lambdaFunctionParameterSet','isSkip','openKdTree','_formulaData','_calculateRunList','clearFormulaDependency','_handleTextNodeForExprTree','setRuntimeFeatureRange','startColumn','realDeleteValue','startsWith','push','clear','clearFeatureFormulaDependency','value','executeAsync','_isCalculateTreeModel','_handleChildrenForExprTree','markedAsSuccessfullyExecuted','_initLicenseValid','removeFormulaDependencyByDefinedName','_runtimeService','forEach','type','dependencySheetName','_interpreter','column','clearOtherFormulaDependency','toUpperCase','_addAllTreeMap','getOwnPropertyDescriptor','bulkRemove','formulaId','_executionInProgressListener$','_astTreeBuilder','setValue','has','_checkAddBracketForMinus','bulkSearch','CURRENTLY_CALCULATING_ARRAY_FORMULA','parseInt','getDirtyNameMap','_getFeatureFormulaTree','Lambda\x20parameter\x20name\x20\x22','_updateRangeFlatten','_dependencyManagerService','next','hasOtherFormulaDataMainData','clearArrayObjectCache','4oocjYA','195513qzNKWA','pop','getExcludedRange','_getFirstCellOfRange','_apply','isForceCalculate','searchDependency','_checkIsCycleDependency','setSkip','execute','dirtyRanges','defineProperty','delete','_featureFormulaData','_initializeWithOverride','getDirtyData','notExecuteFormula','getOtherFormulaData','setTotalFormulasToCalculate','getRuntimeState','_getTableNameFromStructuredRef','_currentUnitId','_getTreeById','isStopExecution','range','resetCalculationState','_otherFormulaManagerService','_injector','_currentConfigService','_clearPrefix','inRangeData','size','_otherFormulaData','enableCycleDependency','valid','_removeDependencyRTreeCache','addOtherFormulaDependency','keys','_removeAllTreeMap','_getAllDependencyJson','_configService','_generateExprTree','setRuntimeOtherData','subUnitId','36cIcwLv','isCache','getAllRuntimeData','getDirtyRanges','unitId','row','addOtherFormulaDependencyMainData','addFeatureFormulaDependency','_convertDirtyRangesToUnitRange','isAdded','trim','error','isArray','set','featureDirtyRanges','refOffsetY','endRow','toRTreeItem','_allTreeMap','_getDependencyTreeChildrenIds','markedAsNoFunctionsExecuted','_dependencyRTreeCacheForAddressFunction','addFormulaDependency','symbol','_clearFunctionString','_createFDtree','treeId','_generateNewFunctionString','reset','getStartIndex','254652aDvogD','_getTreeNode','_removeDependencyRTreeCacheById','Let\x20variable\x20name\x20\x22','_dependencyRTreeCache','102xGUrxt','_executionCompleteListener$','from','_checkColonNodeForExprTree','resolve','removeFormulaDependency','dispose','checkAsyncNode','slice','256510igvswS','endColumn','closeKdTree','getConfig','_getAllTreeList','getClearDependencyTreeCache','setTotalArrayFormulasToCalculate','endsWith','get','length','intervalCount','isExcludeRange','_registerFormulas'];_0x1033=function(){return _0x2eb356;};return _0x1033();}export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x139e3c,LS_CONFIG_KEY as _0x2faaf1,unshiftString as _0x555187,isFeatureAuthorizedWithinTime as _0xf0b4b6,getSheetFeatureLimit as _0x5e7690}from'@univerjs-pro/license';import{ObjectMatrix as _0x5f421e,requestImmediateMacroTask as _0x387a0b,RTree as _0x402c74,DependentOn as _0x402cb6}from'@univerjs/core';class De extends _0x51cb98{constructor(){const _0x33ab9f=_0x2faf6f;super(...arguments),F(this,_0x33ab9f(0x213),!0x1),F(this,_0x33ab9f(0x231),new Set()),F(this,'_xlpmPrefix','_xlpm.'),F(this,_0x33ab9f(0x1f9),_0x33ab9f(0x21b)),F(this,_0x33ab9f(0x1a0),'');}[_0x2faf6f(0x227)](){const _0x1676bc=_0x2faf6f;this[_0x1676bc(0x21f)]='_xlpm.',this[_0x1676bc(0x1f9)]='_xlfn.';}[_0x2faf6f(0x1a8)](){const _0x439900=_0x2faf6f;this['_xlpmPrefix']='',this[_0x439900(0x1f9)]='';}[_0x2faf6f(0x212)](_0x51b75c,_0x10dcf7){const _0xb3bd17=_0x2faf6f,_0x41b393=this['treeBuilder'](_0x51b75c,!0x1);if(!_0x41b393||_0x41b393===_0x59d9d7['VALUE']||Array[_0xb3bd17(0x1c3)](_0x41b393))return null;const _0x2cd7ac=[];return this['_hasNewExcelFunction']=!0x1,this[_0xb3bd17(0x1d2)](_0x41b393,_0x2cd7ac,_0x10dcf7),this[_0xb3bd17(0x213)]?'='+_0x2cd7ac[_0xb3bd17(0x215)](''):null;}[_0x2faf6f(0x1d2)](_0x59d8ea,_0x3a2e57,_0x18f5e9){const _0x5f31eb=_0x2faf6f,_0x5be7fe=_0x59d8ea['getToken'](),_0x380710=_0x5be7fe[_0x5f31eb(0x1c1)](),_0x1efadf=_0x380710[_0x5f31eb(0x175)](),_0x271bc0=this['_clearFunctionString'](_0x1efadf),_0x3f14a3=_0x18f5e9(_0x271bc0);let _0x1d9997=0x0;_0x5be7fe===_0x172a27?_0x1d9997=0x3:_0x5be7fe===_0x31d647?_0x1d9997=0x4:_0x5be7fe===_0x222285?_0x1d9997=0x5:_0x3e34a9[_0x5f31eb(0x17d)](_0x271bc0)?(_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x1f9)]+_0x380710),this[_0x5f31eb(0x213)]=!0x0):_0x1efadf===_0x3e8f8e?(_0x3a2e57[_0x5f31eb(0x164)](''+this['_xlfnPrefix']+_0x380710),this[_0x5f31eb(0x213)]=!0x0,_0x1d9997=0x2):_0x1efadf===_0x43dd4a?(_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x1f9)]+_0x380710),this['_hasNewExcelFunction']=!0x0,_0x1d9997=0x1):_0x1efadf===_0x423da6[_0x5f31eb(0x228)]?_0x1d9997=0x8:_0x31a8de[_0x5f31eb(0x17d)](_0x1efadf)?_0x1d9997=0x7:_0x1efadf===_0x555e8b[_0x5f31eb(0x20c)]?(this[_0x5f31eb(0x17e)](_0x59d8ea)&&(_0x1d9997=0x9),_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe)):(_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),_0x1d9997=0xa),_0x3f14a3?(_0x1d9997!==0x2&&_0x1d9997!==0x1&&(_0x1d9997=0x6),_0x3a2e57['push']('(')):_0x1d9997===0x9&&_0x3a2e57[_0x5f31eb(0x164)]('(');const _0x115e1f=_0x59d8ea[_0x5f31eb(0x1f3)](),_0x509edd=_0x115e1f['length'];if(_0x1d9997===0x2){const _0x98da41=_0x115e1f[0x0];let _0x196c5d=0x0;_0x98da41 instanceof _0x31addc&&_0x98da41[_0x5f31eb(0x22c)]()===_0x222285&&(_0x196c5d=0x1);for(let _0x2cee7b=_0x196c5d;_0x2cee7b<_0x509edd-0x1;_0x2cee7b++){const _0x3f2c81=_0x115e1f[_0x2cee7b];if(_0x3f2c81 instanceof _0x31addc){const _0x238bb3=_0x3f2c81[_0x5f31eb(0x1f3)]()[0x0];typeof _0x238bb3==_0x5f31eb(0x1ff)&&(this['_lambdaFunctionParameterSet'][_0x5f31eb(0x17d)](_0x238bb3)&&console['error'](_0x5f31eb(0x184)+_0x238bb3+_0x5f31eb(0x20e)),this[_0x5f31eb(0x231)][_0x5f31eb(0x217)](_0x238bb3),_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x21f)]+_0x238bb3),this[_0x5f31eb(0x213)]=!0x0);}_0x3a2e57[_0x5f31eb(0x164)](',');}this[_0x5f31eb(0x226)](_0x115e1f[_0x509edd-0x1],_0x3a2e57,_0x18f5e9),_0x196c5d===0x1&&(_0x3a2e57['push'](')'),_0x3a2e57[_0x5f31eb(0x164)]('('),this[_0x5f31eb(0x1d2)](_0x98da41,_0x3a2e57,_0x18f5e9)),_0x3a2e57['push'](')');return;}else{if(_0x1d9997===0x1){for(let _0x4b9fec=0x0;_0x4b9fec<_0x509edd-0x1;_0x4b9fec++){const _0x45f22e=_0x115e1f[_0x4b9fec];if(_0x45f22e instanceof _0x31addc&&_0x4b9fec%0x2===0x0){const _0x4a6793=_0x45f22e[_0x5f31eb(0x1f3)]()[0x0];if(typeof _0x4a6793==_0x5f31eb(0x1ff)){this[_0x5f31eb(0x231)][_0x5f31eb(0x17d)](_0x4a6793)&&console[_0x5f31eb(0x1c2)](_0x5f31eb(0x1d8)+_0x4a6793+'\x22\x20is\x20duplicated.'),this[_0x5f31eb(0x231)]['add'](_0x4a6793),_0x3a2e57[_0x5f31eb(0x164)](''+this[_0x5f31eb(0x21f)]+_0x4a6793),this[_0x5f31eb(0x213)]=!0x0,_0x3a2e57['push'](',');continue;}}if(this[_0x5f31eb(0x226)](_0x45f22e,_0x3a2e57,_0x18f5e9),_0x45f22e instanceof _0x31addc){const _0x129934=_0x115e1f[_0x4b9fec+0x1];_0x129934&&_0x129934 instanceof _0x31addc&&_0x3a2e57[_0x5f31eb(0x164)](',');}}this[_0x5f31eb(0x226)](_0x115e1f[_0x509edd-0x1],_0x3a2e57,_0x18f5e9),_0x3a2e57[_0x5f31eb(0x164)](')');return;}else{if(_0x1d9997===0x8){const _0x2938ea=_0x115e1f[0x0],_0x1442d4=_0x115e1f[0x1];this['_handleNewFunctionChild'](_0x2938ea,_0x3a2e57,_0x18f5e9),_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),this[_0x5f31eb(0x226)](_0x1442d4,_0x3a2e57,_0x18f5e9);return;}}}for(let _0x3670ed=0x0;_0x3670ed<_0x509edd;_0x3670ed++){const _0x2745d3=_0x115e1f[_0x3670ed];if(this['_handleNewFunctionChild'](_0x2745d3,_0x3a2e57,_0x18f5e9),_0x2745d3 instanceof _0x31addc){const _0x421149=_0x115e1f[_0x3670ed+0x1];_0x421149&&_0x421149 instanceof _0x31addc&&_0x3a2e57['push'](',');}}_0x1d9997===0x7&&_0x3a2e57[_0x5f31eb(0x164)](_0x5be7fe),(_0x3f14a3||_0x1d9997===0x9)&&_0x3a2e57[_0x5f31eb(0x164)](')');}[_0x2faf6f(0x226)](_0x46a9c8,_0x46b403,_0x5bc51f){const _0x1df16b=_0x2faf6f;_0x46a9c8 instanceof _0x31addc?this[_0x1df16b(0x1d2)](_0x46a9c8,_0x46b403,_0x5bc51f):this[_0x1df16b(0x231)][_0x1df16b(0x17d)](_0x46a9c8)?(_0x46b403[_0x1df16b(0x164)](''+this[_0x1df16b(0x21f)]+_0x46a9c8),this[_0x1df16b(0x213)]=!0x0):_0x46b403[_0x1df16b(0x164)](_0x46a9c8);}[_0x2faf6f(0x1cf)](_0x302b1f){const _0x17f7ab=_0x2faf6f;let _0x4e3146=_0x302b1f['trim']();if(!_0x4e3146)return _0x4e3146;const _0x44a947=_0x4e3146[0x0];if((_0x44a947===_0x555e8b['AT']||_0x44a947===_0x555e8b[_0x17f7ab(0x20c)]||_0x44a947===_0x555e8b['PLUS'])&&(_0x4e3146=_0x4e3146[_0x17f7ab(0x1e2)](0x1)),!_0x4e3146)return _0x4e3146;const _0x2030da=_0x4e3146[_0x4e3146[_0x17f7ab(0x1ec)]-0x1];return _0x31a8de[_0x17f7ab(0x17d)](_0x2030da)&&(_0x4e3146=_0x4e3146['slice'](0x0,-0x1)),_0x4e3146;}[_0x2faf6f(0x17e)](_0x561df3){const _0x295a0c=_0x2faf6f,_0x3c8ba5=_0x561df3[_0x295a0c(0x1f3)]()[0x0];if(!_0x3c8ba5||!(_0x3c8ba5 instanceof _0x31addc)||_0x561df3[_0x295a0c(0x1f3)]()[_0x295a0c(0x1ec)]>0x1)return!0x1;const _0x5a9a5e=_0x3c8ba5[_0x295a0c(0x1f3)](),_0x11aab0=_0x5a9a5e['length'];if(_0x11aab0===0x1)return!0x1;for(let _0x375c3a=0x0;_0x375c3a<_0x11aab0;_0x375c3a++){const _0x4a8adf=_0x5a9a5e[_0x375c3a];if(!(_0x4a8adf instanceof _0x31addc)&&_0x3a6523[_0x295a0c(0x17d)](_0x4a8adf))return!0x0;}return!0x1;}[_0x2faf6f(0x203)](_0x186896,_0x54d837,_0x5d4310,_0x374165,_0x6708d5){const _0x164e28=_0x2faf6f,_0xb066fb=this[_0x164e28(0x206)](_0x186896,!0x1);if(!_0xb066fb||_0xb066fb===_0x59d9d7['VALUE']||Array[_0x164e28(0x1c3)](_0xb066fb))return null;this['_clearPrefix'](),this[_0x164e28(0x1a0)]=_0x54d837;const _0x3bb524=this[_0x164e28(0x1b4)](_0xb066fb,_0x5d4310,_0x374165,_0x6708d5);return this[_0x164e28(0x1a0)]='',this[_0x164e28(0x227)](),_0x3bb524;}[_0x2faf6f(0x1b4)](_0x365f74,_0x4cc7cb,_0x1fd0c6,_0x2e063f){const _0x4914c4=_0x2faf6f,_0x7f75c7={'value':'','children':[],'startIndex':0x0};let _0x4a2bda=_0x365f74;if(_0x4a2bda instanceof _0x31addc&&(_0x4a2bda[_0x4914c4(0x22c)]()===_0x172a27||_0x4a2bda[_0x4914c4(0x22c)]()===_0x31d647)&&_0x4a2bda['getChildren']()[_0x4914c4(0x1ec)]===0x1&&(_0x4a2bda=_0x4a2bda[_0x4914c4(0x1f3)]()[0x0]),!(_0x4a2bda instanceof _0x31addc))return this[_0x4914c4(0x15f)](_0x4a2bda,_0x1fd0c6,_0x2e063f);const _0x4acc18=_0x4a2bda[_0x4914c4(0x1f3)](),_0x2d0231=_0x4acc18[_0x4914c4(0x1ec)],_0x22d9a7=[];this['_generateNewFunctionString'](_0x4a2bda,_0x22d9a7,_0x4cc7cb),_0x7f75c7[_0x4914c4(0x167)]=_0x22d9a7[_0x4914c4(0x215)](''),_0x7f75c7[_0x4914c4(0x219)]=_0x4a2bda[_0x4914c4(0x1d4)]();const _0x575ab4=this[_0x4914c4(0x222)](_0x4a2bda);if(_0x575ab4===0x2){const _0x3d9afd=_0x4acc18[0x0];if(_0x3d9afd instanceof _0x31addc){if(_0x3d9afd[_0x4914c4(0x22c)]()[_0x4914c4(0x1c1)]()!==_0x222285)return _0x7f75c7;this[_0x4914c4(0x223)](_0x3d9afd,_0x7f75c7,_0x4cc7cb,_0x1fd0c6,_0x2e063f);}return _0x7f75c7;}else{if(_0x575ab4===0x1){for(let _0x5851a2=0x0;_0x5851a2<_0x2d0231-0x1;_0x5851a2++){const _0x1dfa17=_0x4acc18[_0x5851a2];if(_0x1dfa17 instanceof _0x31addc&&_0x5851a2%0x2===0x1){const _0x46964d=_0x1dfa17['getChildren']();if(_0x46964d[_0x4914c4(0x1ec)]===0x1&&!(_0x46964d[0x0]instanceof _0x31addc))continue;const _0x1b7ee3=this[_0x4914c4(0x1b4)](_0x1dfa17,_0x4cc7cb,_0x1fd0c6,_0x2e063f);_0x1b7ee3&&_0x7f75c7['children'][_0x4914c4(0x164)](_0x1b7ee3);}}return _0x7f75c7;}else{if(_0x575ab4===0x8){const _0xa6b1f5=_0x4acc18[0x0];if(_0xa6b1f5 instanceof _0x31addc){const _0x33d774=_0xa6b1f5[_0x4914c4(0x1f3)]()[0x0];_0x33d774 instanceof _0x31addc&&(_0x7f75c7['startIndex']=_0x33d774[_0x4914c4(0x1d4)]());}if(this[_0x4914c4(0x1dd)](_0x4a2bda))return _0x7f75c7;}else{if(_0x575ab4===0x7){const _0x551eb2=_0x4acc18[0x0];if(_0x551eb2 instanceof _0x31addc){const _0x4c6cb4=_0x551eb2[_0x4914c4(0x1f3)]()[0x0];_0x4c6cb4 instanceof _0x31addc&&(_0x7f75c7[_0x4914c4(0x219)]=_0x4c6cb4[_0x4914c4(0x1d4)]());}}}}}return this[_0x4914c4(0x16a)](_0x4acc18,_0x575ab4,_0x7f75c7,_0x4cc7cb,_0x1fd0c6,_0x2e063f),_0x7f75c7;}[_0x2faf6f(0x16a)](_0x302157,_0x528fe1,_0x44849b,_0x377949,_0x1a518a,_0x3daca8){const _0x38420f=_0x2faf6f;for(let _0x13ae2b=0x0;_0x13ae2b<_0x302157[_0x38420f(0x1ec)];_0x13ae2b++){let _0x3cd20d=_0x302157[_0x13ae2b];if(!(_0x3cd20d instanceof _0x31addc)){const _0x506c7c=this[_0x38420f(0x15f)](_0x3cd20d,_0x1a518a,_0x3daca8);_0x506c7c&&_0x44849b[_0x38420f(0x211)][_0x38420f(0x164)](_0x506c7c);continue;}const _0x33842e=_0x3cd20d['getChildren']();if(_0x33842e[_0x38420f(0x1ec)]===0x1&&!(_0x33842e[0x0]instanceof _0x31addc)){const _0x182928=_0x33842e[0x0];if(!_0x1a518a(this[_0x38420f(0x1a0)],_0x182928)&&!this['_getTableNameFromStructuredRef'](_0x182928,_0x3daca8)&&!_0x5b76da(_0x182928))continue;}if(_0x528fe1===0x8){const _0x33c26e=_0x33842e[0x0];if(_0x33c26e instanceof _0x31addc){const _0x4a1730=_0x33c26e[_0x38420f(0x22c)]()['trim']();if(_0x5b76da(_0x4a1730))continue;_0x3cd20d=_0x33c26e;}}const _0x2ad4d5=this['_generateExprTree'](_0x3cd20d,_0x377949,_0x1a518a,_0x3daca8);_0x2ad4d5&&_0x44849b[_0x38420f(0x211)][_0x38420f(0x164)](_0x2ad4d5);}}[_0x2faf6f(0x1dd)](_0x4745b0){const _0x5f2a83=_0x2faf6f,_0x56516c=_0x4745b0[_0x5f2a83(0x1f3)]();if(_0x56516c[_0x5f2a83(0x1ec)]<0x2)return!0x1;const _0x35f76c=_0x56516c[0x0],_0xdd7acd=_0x56516c[0x1];if(!(_0x35f76c instanceof _0x31addc)||!(_0xdd7acd instanceof _0x31addc))return!0x1;const _0x8838f9=_0x35f76c[_0x5f2a83(0x1f3)]()[0x0],_0x50da94=_0xdd7acd[_0x5f2a83(0x1f3)]()[0x0];if(!(_0x8838f9 instanceof _0x31addc)||!(_0x50da94 instanceof _0x31addc))return!0x1;const _0x1a2ee6=_0x8838f9[_0x5f2a83(0x22c)]()[_0x5f2a83(0x1c1)](),_0x51c7b5=_0x50da94[_0x5f2a83(0x22c)]()[_0x5f2a83(0x1c1)]();return!!_0x5b76da(''+_0x1a2ee6+_0x423da6[_0x5f2a83(0x228)]+_0x51c7b5);}[_0x2faf6f(0x15f)](_0x263658,_0x2a09ba,_0x28a798){const _0x20ac43=_0x2faf6f,_0x3e4274=_0x263658[_0x20ac43(0x1c1)]();return _0x3e4274[_0x20ac43(0x163)]('{')&&_0x3e4274[_0x20ac43(0x1ea)]('}')||_0x2a09ba(this[_0x20ac43(0x1a0)],_0x3e4274)||this[_0x20ac43(0x19f)](_0x3e4274,_0x28a798)||_0x5b76da(_0x3e4274)?{'value':_0x3e4274,'children':[],'startIndex':-0x1}:null;}[_0x2faf6f(0x19f)](_0x4cf819,_0x32f401){const {tableName:_0x214c1d}=_0x24a1cb(_0x4cf819);return _0x32f401(this['_currentUnitId'],_0x214c1d)?_0x214c1d:null;}[_0x2faf6f(0x223)](_0x5100d8,_0x3e70ba,_0x573a01,_0x170a90,_0xe036cf){const _0x4216a9=_0x2faf6f,_0x4766d1=_0x5100d8[_0x4216a9(0x1f3)]();for(let _0x17510e=0x0;_0x17510e<_0x4766d1[_0x4216a9(0x1ec)];_0x17510e++){const _0xabde93=_0x4766d1[_0x17510e];if(!(_0xabde93 instanceof _0x31addc))continue;const _0x8b3fb4=_0xabde93[_0x4216a9(0x1f3)]();if(_0x8b3fb4['length']===0x1&&!(_0x8b3fb4[0x0]instanceof _0x31addc))continue;const _0x4664e0=this[_0x4216a9(0x1b4)](_0xabde93,_0x573a01,_0x170a90,_0xe036cf);_0x4664e0&&_0x3e70ba[_0x4216a9(0x211)][_0x4216a9(0x164)](_0x4664e0);}}[_0x2faf6f(0x222)](_0x3ac5d2){const _0x315df2=_0x2faf6f,_0x27cd5d=_0x3ac5d2[_0x315df2(0x22c)](),_0x2b6b37=_0x27cd5d['trim']()[_0x315df2(0x175)]();let _0x11681e=0x0;return _0x27cd5d===_0x172a27?_0x11681e=0x3:_0x27cd5d===_0x31d647?_0x11681e=0x4:_0x27cd5d===_0x222285?_0x11681e=0x5:_0x2b6b37===_0x3e8f8e?_0x11681e=0x2:_0x2b6b37===_0x43dd4a?_0x11681e=0x1:_0x2b6b37===_0x423da6[_0x315df2(0x228)]?_0x11681e=0x8:_0x31a8de['has'](_0x2b6b37)?_0x11681e=0x7:_0x2b6b37===_0x555e8b[_0x315df2(0x20c)]?this[_0x315df2(0x17e)](_0x3ac5d2)&&(_0x11681e=0x9):_0x11681e=0xa,_0x11681e;}}class xe extends _0x4e8178{constructor(){const _0x32bdd2=_0x2faf6f;super(...arguments),F(this,_0x32bdd2(0x200),new Map());}[_0x2faf6f(0x1e0)](){const _0x4f8d95=_0x2faf6f;super[_0x4f8d95(0x1e0)](),this[_0x4f8d95(0x200)][_0x4f8d95(0x165)]();}async[_0x2faf6f(0x214)](_0xa2c7af=!0x1){const _0x91daa6=_0x2faf6f;this[_0x91daa6(0x185)]();const _0x4a0e93=this['_currentConfigService'][_0x91daa6(0x20f)](),_0x177222=this[_0x91daa6(0x1a5)][_0x91daa6(0x19c)](),_0x2cb054=this[_0x91daa6(0x1a7)][_0x91daa6(0x1e8)]();_0x2cb054!=null&&Object[_0x91daa6(0x1b0)](_0x2cb054)[_0x91daa6(0x16f)](_0x3a3bca=>{const _0x390ad7=_0x91daa6;_0x3a3bca!=null&&Object[_0x390ad7(0x1b0)](_0x2cb054[_0x3a3bca])['forEach'](_0x297232=>{const _0x8bc1bd=_0x390ad7;_0x297232!=null&&(this[_0x8bc1bd(0x186)][_0x8bc1bd(0x174)](_0x3a3bca,_0x297232),this[_0x8bc1bd(0x186)][_0x8bc1bd(0x166)](_0x3a3bca,_0x297232),this[_0x8bc1bd(0x186)]['clearFormulaDependency'](_0x3a3bca,_0x297232));});});const _0x4f8d1e=this['_currentConfigService'][_0x91daa6(0x1fb)]();await this['_generateTreeList'](_0x4a0e93,_0x177222,_0x4f8d1e),this[_0x91daa6(0x186)]['openKdTree']();const _0x5c7755=this[_0x91daa6(0x1f4)](),_0x47812a=this[_0x91daa6(0x15d)](_0x5c7755);return this[_0x91daa6(0x192)](_0x47812a)&&this[_0x91daa6(0x16e)][_0x91daa6(0x1ac)](),_0xa2c7af&&this[_0x91daa6(0x16e)]['setDependencyTreeModelData'](this[_0x91daa6(0x1b2)](Array['from'](this[_0x91daa6(0x200)][_0x91daa6(0x1fc)]()))),this['_dependencyTreeCache'][_0x91daa6(0x165)](),this['_dependencyRTreeCacheForAddressFunction'][_0x91daa6(0x165)](),this[_0x91daa6(0x186)][_0x91daa6(0x1e5)](),this[_0x91daa6(0x16e)][_0x91daa6(0x189)](),Promise[_0x91daa6(0x1de)](_0x47812a);}[_0x2faf6f(0x22b)](_0x31a6d8,_0xb542eb){const _0x1fa4e0=_0x2faf6f,_0x1a1589=[_0x31a6d8];for(;_0x1a1589[_0x1fa4e0(0x1ec)]>0x0;){const _0x5a1a25=_0x1a1589[_0x1a1589[_0x1fa4e0(0x1ec)]-0x1];if((_0xb542eb[_0x1fa4e0(0x1eb)](_0x5a1a25)||0x0)===0x0){_0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x1);const _0x2b2c44=this['_dependencyTreeCache'][_0x1fa4e0(0x1eb)](_0x5a1a25);if(_0x2b2c44==null){_0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x2),_0x1a1589['pop']();continue;}const _0x1d414a=this['_dependencyManagerService'][_0x1fa4e0(0x191)](_0x2b2c44['toRTreeItem']());for(const _0xd56a6d of _0x1d414a){const _0x5cf103=_0xb542eb[_0x1fa4e0(0x1eb)](_0xd56a6d)||0x0;if(_0x5cf103===0x1)return!0x0;_0x5cf103===0x0&&_0x1a1589[_0x1fa4e0(0x164)](_0xd56a6d);}}else _0xb542eb[_0x1fa4e0(0x1c4)](_0x5a1a25,0x2),_0x1a1589[_0x1fa4e0(0x18c)]();}return!0x1;}[_0x2faf6f(0x192)](_0x4d86ee){const _0x376ed0=_0x2faf6f,_0x3adab0=new Map();for(const _0x497c6d of _0x4d86ee)if(!_0x3adab0[_0x376ed0(0x17d)](_0x497c6d['treeId'])&&this[_0x376ed0(0x22b)](_0x497c6d[_0x376ed0(0x1d1)],_0x3adab0))return!0x0;return _0x3adab0[_0x376ed0(0x165)](),!0x1;}[_0x2faf6f(0x183)](_0x55b759,_0x5f0a83,_0x55b7b2){const _0x593d76=_0x2faf6f,{unitId:_0x566de0,subUnitId:_0x3c1304,dependencyRanges:_0x34f5e4,getDirtyData:_0x2fd767}=_0x55b7b2,_0x56571f=_0x5f0a83||_0xe2bb4f(this['_dependencyManagerService']),_0x4cc99a=new _0x4e5f65(_0x56571f);_0x4cc99a[_0x593d76(0x1bb)]=_0x566de0,_0x4cc99a[_0x593d76(0x1b6)]=_0x3c1304,_0x4cc99a['rangeList']=_0x34f5e4,_0x4cc99a[_0x593d76(0x19a)]=_0x2fd767;const _0x23abc0=_0x2fd767(this[_0x593d76(0x1a7)]['getDirtyData'](),this[_0x593d76(0x16e)][_0x593d76(0x1b9)]()),_0x2b1f90=this[_0x593d76(0x1bf)](_0x23abc0[_0x593d76(0x195)]);return _0x4cc99a[_0x593d76(0x1c5)]=_0x2b1f90,_0x4cc99a[_0x593d76(0x225)]=_0x55b759,_0x4cc99a[_0x593d76(0x170)]=_0x579e0e['FEATURE_FORMULA'],this[_0x593d76(0x186)]['addFeatureFormulaDependency'](_0x566de0,_0x3c1304,_0x55b759,_0x4cc99a),this[_0x593d76(0x200)][_0x593d76(0x1c4)](_0x4cc99a[_0x593d76(0x1d1)],_0x4cc99a),this[_0x593d76(0x186)][_0x593d76(0x230)](_0x55b7b2[_0x593d76(0x1bb)],_0x55b7b2[_0x593d76(0x1b6)],_0x55b759)&&(_0x4cc99a[_0x593d76(0x1b8)]=!0x0),_0x4cc99a;}['_registerOtherFormulas'](_0x3dc4af,_0xc1a2b3,_0x227b35){const _0x5b1253=_0x2faf6f;var _0x105ebc;for(const _0x2d444d of _0xc1a2b3){const _0x2f9d04=_0x3dc4af[_0x2d444d];if(_0x2f9d04==null)continue;const _0x285ea0=Object['keys'](_0x2f9d04);for(const _0x202459 of _0x285ea0){const _0x3c7275=_0x2f9d04[_0x202459];if(_0x3c7275==null)continue;const _0x758264=Object[_0x5b1253(0x1b0)](_0x3c7275);for(const _0x420642 of _0x758264){const _0x20f544=this[_0x5b1253(0x186)][_0x5b1253(0x188)](_0x420642),_0x11ef8c=_0x3c7275[_0x420642],{f:_0x28163c,ranges:_0x542a60}=_0x11ef8c;let _0x466260=!0x1;_0x20f544&&(_0x466260=!0x0);const {firstRow:_0x36a4f1,firstColumn:_0x543568}=this[_0x5b1253(0x18e)](_0x542a60),_0x617d16=this[_0x5b1253(0x186)][_0x5b1253(0x205)](_0x2d444d,_0x202459,_0x420642),_0x272208=(_0x105ebc=_0x617d16==null?void 0x0:_0x617d16[_0x5b1253(0x1f8)](0x0,0x0))!=null?_0x105ebc:_0xe2bb4f(this[_0x5b1253(0x186)]),_0x3ff7b2=new _0x4e5f65(_0x272208);for(let _0xed1473=0x0;_0xed1473<_0x542a60['length'];_0xed1473++){const _0x2136b8=_0x542a60[_0xed1473],{startRow:_0x542f68,startColumn:_0x7da2bc,endRow:_0x31c41d,endColumn:_0x4ecfe7}=_0x2136b8;for(let _0x2be50a=_0x542f68;_0x2be50a<=_0x31c41d;_0x2be50a++)for(let _0x4f0aa7=_0x7da2bc;_0x4f0aa7<=_0x4ecfe7;_0x4f0aa7++){const _0x581da9=_0x4f0aa7-_0x543568,_0x103a7f=_0x2be50a-_0x36a4f1;if(_0x581da9===0x0&&_0x103a7f===0x0){_0x3ff7b2['formula']=_0x28163c,_0x3ff7b2[_0x5b1253(0x1bb)]=_0x2d444d,_0x3ff7b2['subUnitId']=_0x202459,_0x3ff7b2[_0x5b1253(0x179)]=_0x420642,_0x3ff7b2[_0x5b1253(0x170)]=_0x579e0e['OTHER_FORMULA'],_0x3ff7b2[_0x5b1253(0x1b8)]=_0x466260,_0x227b35[_0x5b1253(0x164)](_0x3ff7b2),this[_0x5b1253(0x200)][_0x5b1253(0x1c4)](_0x3ff7b2[_0x5b1253(0x1d1)],_0x3ff7b2),this[_0x5b1253(0x186)][_0x5b1253(0x1af)](_0x2d444d,_0x202459,_0x420642,_0x3ff7b2),this[_0x5b1253(0x186)]['addFormulaDependencyByDefinedName'](_0x3ff7b2);continue;}const _0x251a1b=new _0x508250();_0x251a1b[_0x5b1253(0x1d1)]=(_0x617d16==null?void 0x0:_0x617d16[_0x5b1253(0x1f8)](_0x581da9,_0x103a7f))||_0xe2bb4f(this[_0x5b1253(0x186)]),_0x251a1b['refTree']=_0x3ff7b2,_0x251a1b[_0x5b1253(0x22d)]=_0x581da9,_0x251a1b['refOffsetY']=_0x103a7f,_0x251a1b[_0x5b1253(0x1b8)]=_0x466260,_0x251a1b[_0x5b1253(0x170)]=_0x579e0e['OTHER_FORMULA'],this['_dependencyManagerService'][_0x5b1253(0x1af)](_0x2d444d,_0x202459,_0x420642,_0x251a1b),this[_0x5b1253(0x186)]['addFormulaDependencyByDefinedName'](_0x251a1b),_0x227b35['push'](_0x251a1b),this[_0x5b1253(0x200)][_0x5b1253(0x1c4)](_0x251a1b[_0x5b1253(0x1d1)],_0x251a1b);}}this['_dependencyManagerService'][_0x5b1253(0x1bd)](_0x420642);}}}}[_0x2faf6f(0x1ef)](_0x4cfc40,_0x842bd4,_0x2e30c3,_0x11c0b3){const _0x12cafd=_0x2faf6f;for(const _0x43b2ac of _0x4cfc40){const _0x24f3e4=_0x842bd4[_0x43b2ac];if(_0x24f3e4==null)continue;const _0x3f7e6b=Object[_0x12cafd(0x1b0)](_0x24f3e4);for(const _0x1499aa of _0x3f7e6b){const _0xd34ac3=new _0x5f421e(_0x24f3e4[_0x1499aa]||{}),_0x566d07=new Map();_0xd34ac3[_0x12cafd(0x224)]((_0x46455c,_0x505727,_0x58069e)=>{const _0x16d919=_0x12cafd;if(_0x58069e==null)return!0x0;const {x:_0x1e8b4a=0x0,y:_0x3e21bd=0x0,si:_0x5a279e}=_0x58069e;if(!(_0x1e8b4a===0x0&&_0x3e21bd===0x0&&_0x5a279e!=null))return!0x0;const _0xd651e=this[_0x16d919(0x1d0)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727,_0x2e30c3,_0x58069e),_0xdc571d=this['_dependencyManagerService'][_0x16d919(0x22a)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727);_0xdc571d!=null?_0xd651e[_0x16d919(0x1d1)]=_0xdc571d:(this[_0x16d919(0x186)][_0x16d919(0x1cd)](_0x43b2ac,_0x1499aa,_0x46455c,_0x505727,_0xd651e),this[_0x16d919(0x186)][_0x16d919(0x216)](_0xd651e)),_0x566d07['set'](_0x5a279e,_0xd651e),_0x11c0b3[_0x16d919(0x164)](_0xd651e),this[_0x16d919(0x200)]['set'](_0xd651e[_0x16d919(0x1d1)],_0xd651e);}),_0xd34ac3['forValue']((_0x2f5b6d,_0x20188a,_0x2986ff)=>{const _0x605d48=_0x12cafd;if(_0x2986ff==null)return!0x0;const {x:_0x36e7bc=0x0,y:_0x3a59ed=0x0,si:_0x49d34c}=_0x2986ff;if(_0x36e7bc===0x0&&_0x3a59ed===0x0&&_0x49d34c!=null)return!0x0;let _0x53ac46;if(_0x49d34c&&_0x566d07[_0x605d48(0x17d)](_0x49d34c)){const _0x2db719=_0x566d07[_0x605d48(0x1eb)](_0x49d34c);_0x53ac46=this[_0x605d48(0x1f7)](_0x2db719,_0x2986ff);}else _0x53ac46=this[_0x605d48(0x1d0)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a,_0x2e30c3,_0x2986ff);const _0x3dbaa4=this['_dependencyManagerService'][_0x605d48(0x22a)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a);_0x3dbaa4!=null?_0x53ac46[_0x605d48(0x1d1)]=_0x3dbaa4:(this[_0x605d48(0x186)][_0x605d48(0x1cd)](_0x43b2ac,_0x1499aa,_0x2f5b6d,_0x20188a,_0x53ac46),this[_0x605d48(0x186)][_0x605d48(0x216)](_0x53ac46)),_0x11c0b3[_0x605d48(0x164)](_0x53ac46),this[_0x605d48(0x200)][_0x605d48(0x1c4)](_0x53ac46[_0x605d48(0x1d1)],_0x53ac46);}),_0x566d07[_0x12cafd(0x165)]();}}}[_0x2faf6f(0x1d0)](_0x449e0a,_0x190972,_0x3b0269,_0x40eb07,_0x1a94db,_0x13ca82){const _0x39b930=_0x2faf6f,{f:_0x5253b5,x:_0x79702b=0x0,y:_0xcfc848=0x0}=_0x13ca82,_0xcc90e1=new _0x4e5f65(_0xe2bb4f(this[_0x39b930(0x186)])),_0x23301b=_0x1a94db[_0x449e0a][_0x190972];return _0xcc90e1[_0x39b930(0x209)]=_0x5253b5,_0xcc90e1['unitId']=_0x449e0a,_0xcc90e1[_0x39b930(0x1b6)]=_0x190972,_0xcc90e1[_0x39b930(0x1bc)]=_0x3b0269,_0xcc90e1[_0x39b930(0x173)]=_0x40eb07,_0xcc90e1['rowCount']=_0x23301b['rowCount'],_0xcc90e1['columnCount']=_0x23301b[_0x39b930(0x20a)],_0xcc90e1;}[_0x2faf6f(0x1f4)](){const _0x5987c9=_0x2faf6f,_0x63da31=[],_0x33cfdb=new Set(),_0x3e696c=this[_0x5987c9(0x1a7)][_0x5987c9(0x190)](),_0x220074=this[_0x5987c9(0x1a7)][_0x5987c9(0x1ba)](),_0x2727ea=this['_dependencyManagerService'][_0x5987c9(0x191)](_0x220074),_0x156ca2=this[_0x5987c9(0x1cc)][_0x5987c9(0x17f)](_0x220074);for(const _0x4a936a of _0x156ca2)_0x2727ea[_0x5987c9(0x217)](_0x4a936a);for(const [_0x1bd5c8,_0x473775]of this['_dependencyTreeCache'])(_0x3e696c||_0x473775['isDirty']||_0x473775[_0x5987c9(0x171)](this[_0x5987c9(0x1a7)][_0x5987c9(0x182)]())||_0x2727ea[_0x5987c9(0x17d)](_0x1bd5c8)&&!_0x473775[_0x5987c9(0x1ee)](this[_0x5987c9(0x1a7)][_0x5987c9(0x18d)]()))&&!_0x33cfdb[_0x5987c9(0x17d)](_0x1bd5c8)&&(_0x63da31[_0x5987c9(0x164)](_0x473775),_0x33cfdb['add'](_0x1bd5c8));for(const [_0x4ebd76,_0x5a6dac]of this['_dependencyTreeCache'])_0x5a6dac['isVirtual']||(_0x5a6dac[_0x5987c9(0x21c)][_0x5987c9(0x1ec)]=0x0);return _0x63da31;}[_0x2faf6f(0x1a1)](_0x3de88d){const _0x51e3d9=_0x2faf6f;return this[_0x51e3d9(0x200)][_0x51e3d9(0x1eb)](_0x3de88d);}[_0x2faf6f(0x1d6)](_0x379973){const _0x2f5921=_0x2faf6f;return _0x27483d(_0x379973[_0x2f5921(0x1bb)],_0x379973[_0x2f5921(0x209)],this[_0x2f5921(0x202)],this['_astTreeBuilder'],this[_0x2f5921(0x1a7)]);}*['_traverse'](_0x4e0f2d,_0x2b3acb){const _0x3f55a5=_0x2faf6f,_0x498232=_0x4e0f2d,_0x1d0614=new Set();for(;_0x498232[_0x3f55a5(0x1ec)]>0x0;){const _0x5c8764=_0x498232[_0x3f55a5(0x18c)]();if(_0x1d0614[_0x3f55a5(0x165)](),_0x5c8764===void 0x0||_0x5c8764[_0x3f55a5(0x232)]())continue;if(_0x5c8764[_0x3f55a5(0x1c0)]()){yield _0x5c8764,_0x5c8764[_0x3f55a5(0x193)](),_0x2b3acb[_0x3f55a5(0x217)](_0x5c8764[_0x3f55a5(0x1d1)]);continue;}const _0x30341a=this[_0x3f55a5(0x186)][_0x3f55a5(0x191)](_0x5c8764[_0x3f55a5(0x1c8)](),_0x2b3acb),_0x153c48=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x5c8764[_0x3f55a5(0x1c8)](),_0x2b3acb);for(const _0x36a502 of _0x153c48)_0x30341a[_0x3f55a5(0x217)](_0x36a502);for(const _0x50f6ef of _0x30341a){const _0x29632f=this[_0x3f55a5(0x200)][_0x3f55a5(0x1eb)](_0x50f6ef);if(!_0x29632f){console[_0x3f55a5(0x1c2)](_0x3f55a5(0x1f6),_0x50f6ef);continue;}_0x29632f[_0x3f55a5(0x1c0)]()||_0x5c8764[_0x3f55a5(0x232)]()||_0x1d0614[_0x3f55a5(0x217)](_0x29632f);}if(_0x30341a['clear'](),_0x1d0614[_0x3f55a5(0x1aa)]===0x0)yield _0x5c8764,_0x5c8764[_0x3f55a5(0x193)](),_0x2b3acb[_0x3f55a5(0x217)](_0x5c8764[_0x3f55a5(0x1d1)]);else{_0x5c8764[_0x3f55a5(0x207)](),_0x498232['push'](_0x5c8764);for(const _0x598a0c of _0x1d0614)_0x498232[_0x3f55a5(0x164)](_0x598a0c);}}_0x498232[_0x3f55a5(0x1ec)]=0x0,_0x1d0614[_0x3f55a5(0x165)]();}[_0x2faf6f(0x15d)](_0xc21a81){const _0x235ebf=_0x2faf6f,_0x1dec4f=[],_0x307aaa=new Set();for(const _0x536e1f of this[_0x235ebf(0x229)](_0xc21a81,_0x307aaa))_0x1dec4f[_0x235ebf(0x164)](_0x536e1f);return _0x1dec4f;}async[_0x2faf6f(0x1e7)](){const _0x402dc6=_0x2faf6f;return await this['_initializeGenerateTreeList'](),Array[_0x402dc6(0x1dc)](this[_0x402dc6(0x200)][_0x402dc6(0x1fc)]());}[_0x2faf6f(0x1f0)](_0x569076){const _0x4a9781=_0x2faf6f;return this[_0x4a9781(0x186)][_0x4a9781(0x191)](_0x569076[_0x4a9781(0x1c8)]());}[_0x2faf6f(0x1ca)](_0x6c32ea){const _0x588565=_0x2faf6f,_0x2919ef=new Set(),_0x44fd5c=_0x6c32ea[_0x588565(0x21c)];for(const [_0x5ca160,_0x3175b5]of this[_0x588565(0x200)])for(const _0x3afd10 of _0x44fd5c){const _0x141087=_0x3afd10[_0x588565(0x1bb)],_0x43351b=_0x3afd10['sheetId'];if(_0x3175b5[_0x588565(0x1bb)]!==_0x141087||_0x3175b5[_0x588565(0x1b6)]!==_0x43351b)continue;const _0x49a25d=_0x3afd10[_0x588565(0x1a3)];if(_0x3175b5[_0x588565(0x1a9)](_0x49a25d)){_0x2919ef[_0x588565(0x217)](_0x5ca160);break;}}return _0x2919ef;}[_0x2faf6f(0x1f5)](){const _0x562e78=_0x2faf6f;this[_0x562e78(0x186)][_0x562e78(0x15b)]();}['_endFormulaDependencyTreeModel'](){const _0x767537=_0x2faf6f;this[_0x767537(0x21a)][_0x767537(0x165)](),this[_0x767537(0x200)][_0x767537(0x165)](),this[_0x767537(0x186)][_0x767537(0x1e5)]();}}const Ke='/*tKg\x20JiR-AJgqa\x20KtpEKBKE-RKhp\x20qRKt*/BfixRJmitAKxEypRJmi(\x20JxKigK,tpfa\x20JxNKy)t{ttttREyt{ttttttttxmigRt\x20JxKigKniBmrqERUEEqyt=t\x20JxKigK.gp\x20JR(\x27-\x27);ttttttttxmigRtmEJoJidKggqoKt=t7ke3.pqEgK(qRma(\x20JxKigKniBmrqERUEEqy[V]));ttttttttJBt(!mEJoJidKggqoK.fA)t{ttttttttttttmEJoJidKggqoK.fAt=t3fhaKE(\x20JxKigKniBmrqERUEEqy[M]);tttttttt}ttttttttxmigRtJg6mEjKEt=tRypKmBt6mEjKEH\x20maq\x20kxmpKt!==t\x27fiAKBJiKA\x27t&&tgK\x20BtJigRqixKmBt6mEjKEH\x20maq\x20kxmpK;ttttttttxmigRtJgbEmugKEt=tRypKmBtuJiAmut!==t\x27fiAKBJiKA\x27t&&tRypKmBtuJiAmu.\x20mxqRJmit!==t\x27fiAKBJiKA\x27;ttttttttxmigRtxmiRK2Rt=tJg6mEjKEt?tgK\x20Bt:t(JgbEmugKEt?tuJiAmut:to\x20maq\x20QFJg);ttttttttxmigRthKggqoK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[V]);ttttttttxmigRthKggqoKt=txmiRK2R.__cK2__.gREJioJBy(hKggqoK6mEA);ttttttttxmigRtgJoiqRfEK6mEAt=txmiRK2R.__bqgK1M__.pqEgK(\x20JxKigKniBmrqERUEEqy[I]);ttttttttxmigRtgJoiqRfEKt=txmiRK2R.__cK2__.gREJioJBy(gJoiqRfEK6mEA);ttttttttxmigRtgJoiDq\x20JAt=txmiRK2R.__PKEJBy__(gJoiqRfEK,thKggqoK,tpfa\x20JxNKy);ttttttttxmigRtAmhqJit=tmEJoJidKggqoK.Ah;ttttttttBfixRJmitJgvmhqJidqRxFJio(pqRRKEi,tFmgR)t{ttttttttttttJBt(pqRRKEit===tFmgR)tEKRfEitREfK;ttttttttttttJBt(pqRRKEi.gRqERg6JRF(\x27*.\x27))t{ttttttttttttttttxmigRtgfBBJ2t=tpqRRKEi.g\x20JxK(V);ttttttttttttttttJBt(gfBBJ2t&&tgfBBJ2t===tFmgR)t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}ttttttttttttttttJBt(gfBBJ2t&&t!FmgR.gRqERg6JRF(\x27.\x27)t&&tFmgR.KiAg6JRF(\x27.\x27t+tgfBBJ2))t{ttttttttttttttttttttEKRfEitREfK;tttttttttttttttt}tttttttttttt}ttttttttttttEKRfEitBq\x20gK;tttttttt}tttttttt\x20KRtAmhqJiDq\x20JAt=tBq\x20gK;ttttttttJBt(JgbEmugKE)t{ttttttttttttAmhqJiDq\x20JAt=t(AmhqJit&&tAmhqJi.\x20KioRF)t?tAmhqJi.gmhK((AhnRKh)t=>tJgvmhqJidqRxFJio(AhnRKh,t\x20mxqRJmi.FmgRiqhK))t:tREfK;ttttttttttttJBt(\x20mxqRJmi.FmgRiqhKt===t\x27\x20mxq\x20FmgR\x27)t{ttttttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttttttt}tttttttt}tK\x20gKt{ttttttttttttAmhqJiDq\x20JAt=tREfK;tttttttt}ttttttttxmigRtPq\x20JAt=tgJoiDq\x20JAt&&tAmhqJiDq\x20JA;ttttttttEKRfEit{ttttttttttttPq\x20JA,tttttttttttthKggqoK:tmEJoJidKggqoK,tttttttt};tttt}txqRxFt(KEEmE)t{ttttttttEKRfEit{ttttttttttttPq\x20JA:tBq\x20gK,tttttttttttthKggqoK:t{},tttttttt};tttt}}',ve={0x0:'z',0x1:'6',0x2:'x',0x3:'N',0x4:'L',0x5:'1',0x6:'W',0x7:'J',0x8:'9',0x9:'R','L':'0','V':'2','I':'3','M':'4','s':'5','C':'7','S':'8','q':'a','a':'b','x':'c','A':'d','K':'e','B':'f','o':'g','F':'h','J':'i','X':'j','j':'k','\x20':'l','h':'m','i':'n','m':'o','p':'p','w':'q','E':'r','g':'s','R':'t','f':'u','P':'v','u':'w','y':'y','U':'A','b':'B','Z':'C','v':'D','G':'E','T':'F','H':'G','c':'H','n':'I','N':'K','d':'M','e':'O','r':'P','W':'Q','k':'S','Q':'T','Y':'U','D':'V','z':'X','l':'Y','O':'Z','t':'\x20'};class Ae extends _0x8d38eb{async[_0x2faf6f(0x18f)](_0x34d4c5=!0x1){const _0x475810=_0x2faf6f;_0x34d4c5?this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['START_DEPENDENCY']),this[_0x475810(0x17a)][_0x475810(0x187)](this['_runtimeService'][_0x475810(0x19e)]());const _0x8d0222=await this[_0x475810(0x210)][_0x475810(0x214)](this[_0x475810(0x169)]),_0x5a5eca=this[_0x475810(0x172)];_0x34d4c5?(this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf[_0x475810(0x22f)]),this[_0x475810(0x16e)][_0x475810(0x1e9)](_0x8d0222[_0x475810(0x1ec)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x95ddaf['START_CALCULATION']),this[_0x475810(0x16e)][_0x475810(0x19d)](_0x8d0222['length'])),this[_0x475810(0x17a)][_0x475810(0x187)](this[_0x475810(0x16e)][_0x475810(0x19e)]());let _0x36abc2=[];const _0x3c07e1=this[_0x475810(0x1b3)]['getConfig'](_0x397b70),_0x37f484=(_0x3c07e1==null?void 0x0:_0x3c07e1[_0x475810(0x1ed)])||_0x4c9502;let _0x5999bd=0x0;const _0x53a100=_0x8d0222[_0x475810(0x1ec)];for(;_0x8d0222[_0x475810(0x1ec)]>0x0;){const _0x590013=_0x8d0222[_0x475810(0x18c)](),_0x1f2e8d=_0x27483d(_0x590013[_0x475810(0x1bb)],_0x590013[_0x475810(0x209)],this[_0x475810(0x202)],this[_0x475810(0x17b)],this[_0x475810(0x1a7)]),_0x2baa0c={'node':_0x1f2e8d,'refOffsetX':_0x590013[_0x475810(0x22d)],'refOffsetY':_0x590013[_0x475810(0x1c6)]},_0x538bf9=_0x590013[_0x475810(0x19a)];if(_0x5999bd%_0x37f484===0x0&&(await new Promise(_0x58f926=>{const _0x335e37=_0x387a0b(_0x58f926);_0x36abc2['push'](_0x335e37);}),_0x34d4c5?(this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf[_0x475810(0x180)]),this[_0x475810(0x16e)][_0x475810(0x1fa)](_0x5999bd+0x1)):(this['_runtimeService'][_0x475810(0x1fd)](_0x95ddaf['CURRENTLY_CALCULATING']),this[_0x475810(0x16e)]['setCompletedFormulasCount'](_0x5999bd+0x1)),this[_0x475810(0x17a)]['next'](this[_0x475810(0x16e)][_0x475810(0x19e)]()),this[_0x475810(0x16e)][_0x475810(0x1a2)]()||_0x2baa0c==null&&_0x538bf9==null)){this[_0x475810(0x16e)][_0x475810(0x1fd)](_0x95ddaf['IDLE']),this['_runtimeService'][_0x475810(0x208)](),this[_0x475810(0x1db)]['next'](this[_0x475810(0x16e)][_0x475810(0x1b9)]());return;}this[_0x475810(0x16e)]['setCurrent'](_0x590013[_0x475810(0x1bc)],_0x590013[_0x475810(0x173)],_0x590013['rowCount'],_0x590013[_0x475810(0x20a)],_0x590013[_0x475810(0x1b6)],_0x590013['unitId']);let _0x3e714e;if(_0x538bf9!=null&&_0x590013[_0x475810(0x225)]!=null){const {runtimeCellData:_0x169ca7,dirtyRanges:_0x10cbac}=_0x538bf9(this[_0x475810(0x1a7)][_0x475810(0x19a)](),this['_runtimeService'][_0x475810(0x1b9)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x590013[_0x475810(0x225)],_0x169ca7),this['_runtimeService'][_0x475810(0x160)](_0x590013[_0x475810(0x225)],_0x10cbac);}else _0x2baa0c!=null&&(_0x5a5eca[_0x475810(0x1e1)](_0x2baa0c[_0x475810(0x201)])?_0x3e714e=await _0x5a5eca[_0x475810(0x168)](_0x2baa0c):_0x3e714e=_0x5a5eca[_0x475810(0x194)](_0x2baa0c),_0x590013['formulaId']!=null?this[_0x475810(0x16e)][_0x475810(0x1b5)](_0x590013[_0x475810(0x179)],_0x590013[_0x475810(0x22d)],_0x590013['refOffsetY'],_0x3e714e):this['_runtimeService'][_0x475810(0x204)](_0x3e714e));_0x1f2e8d[_0x475810(0x1a4)](),_0x5999bd++;}return _0x36abc2[_0x475810(0x16f)](_0x29d894=>_0x29d894()),_0x36abc2=[],_0x53a100>0x0?this[_0x475810(0x16e)][_0x475810(0x16b)]():_0x34d4c5||this[_0x475810(0x16e)][_0x475810(0x1cb)](),this[_0x475810(0x16e)]['getAllRuntimeData']();}}class Me extends _0x4c6215{constructor(){const _0x3c9e7b=_0x2faf6f;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x3c9e7b(0x1d9),new _0x402c74(!0x0));}[_0x2faf6f(0x1d3)](){const _0x3a5921=_0x2faf6f;this['_otherFormulaData'][_0x3a5921(0x165)](),this[_0x3a5921(0x198)][_0x3a5921(0x165)](),this[_0x3a5921(0x15c)]['clear'](),this[_0x3a5921(0x1d9)][_0x3a5921(0x165)](),this['_allTreeMap'][_0x3a5921(0x165)](),this[_0x3a5921(0x21e)](),this['_otherFormulaDataMainData'][_0x3a5921(0x165)]();}[_0x2faf6f(0x1af)](_0x54f0a0,_0x1331af,_0x105c6b,_0x39c179){const _0x59b152=_0x2faf6f;this[_0x59b152(0x1ab)]['has'](_0x54f0a0)||this[_0x59b152(0x1ab)][_0x59b152(0x1c4)](_0x54f0a0,new Map());const _0x5acc76=this['_otherFormulaData'][_0x59b152(0x1eb)](_0x54f0a0);_0x5acc76[_0x59b152(0x17d)](_0x1331af)||_0x5acc76['set'](_0x1331af,new Map());const _0x38fc42=_0x5acc76[_0x59b152(0x1eb)](_0x1331af);_0x38fc42['has'](_0x105c6b)||_0x38fc42['set'](_0x105c6b,new _0x5f421e()),_0x38fc42[_0x59b152(0x1eb)](_0x105c6b)[_0x59b152(0x17c)](_0x39c179['refOffsetX'],_0x39c179[_0x59b152(0x1c6)],_0x39c179[_0x59b152(0x1d1)]);}[_0x2faf6f(0x1f1)](_0x1857ef,_0x318b4a,_0x5b33e6){const _0xcc0d35=_0x2faf6f,_0x30389e=this['_otherFormulaData'][_0xcc0d35(0x1eb)](_0x1857ef);if(_0x30389e&&_0x30389e[_0xcc0d35(0x17d)](_0x318b4a)){const _0x2a3cf8=_0x30389e[_0xcc0d35(0x1eb)](_0x318b4a);_0x5b33e6[_0xcc0d35(0x16f)](_0x46ee58=>{const _0x8babc6=_0xcc0d35,_0x1b6fc7=_0x2a3cf8[_0x8babc6(0x1eb)](_0x46ee58);_0x1b6fc7!=null&&(_0x1b6fc7['forValue']((_0x3778b9,_0x34157e,_0x20c06e)=>{const _0x2e4712=_0x8babc6;this[_0x2e4712(0x1ae)](_0x20c06e),this[_0x2e4712(0x1b1)](_0x20c06e);}),_0x2a3cf8[_0x8babc6(0x197)](_0x46ee58),this[_0x8babc6(0x20d)][_0x8babc6(0x197)](_0x46ee58));}),_0x2a3cf8[_0xcc0d35(0x1aa)]===0x0&&_0x30389e[_0xcc0d35(0x197)](_0x318b4a),_0x30389e[_0xcc0d35(0x1aa)]===0x0&&this['_otherFormulaData'][_0xcc0d35(0x197)](_0x1857ef);}}[_0x2faf6f(0x174)](_0x310c4f,_0x2c0fb1){const _0x4e6cf6=_0x2faf6f,_0x3e11d6=this['_otherFormulaData'][_0x4e6cf6(0x1eb)](_0x310c4f);if(_0x2c0fb1&&_0x3e11d6&&_0x3e11d6['has'](_0x2c0fb1)){const _0x3cc389=_0x3e11d6[_0x4e6cf6(0x1eb)](_0x2c0fb1);this[_0x4e6cf6(0x1d7)](_0x310c4f,_0x2c0fb1);for(const _0x5ae4d6 of _0x3cc389[_0x4e6cf6(0x1b0)]()){const _0x4a32e7=_0x3cc389[_0x4e6cf6(0x1eb)](_0x5ae4d6);_0x4a32e7!=null&&(_0x4a32e7[_0x4e6cf6(0x224)]((_0x44ea85,_0x23c352,_0x1425e6)=>{const _0x7f442b=_0x4e6cf6;this[_0x7f442b(0x1c9)]['get'](_0x1425e6)&&this[_0x7f442b(0x1b1)](_0x1425e6);}),this[_0x4e6cf6(0x20d)][_0x4e6cf6(0x197)](_0x5ae4d6));}_0x3cc389[_0x4e6cf6(0x165)]();}else{if(_0x3e11d6){for(const _0x597853 of _0x3e11d6[_0x4e6cf6(0x1b0)]()){const _0x2ad069=_0x3e11d6['get'](_0x597853);this[_0x4e6cf6(0x1d7)](_0x310c4f,_0x597853);for(const _0x4528ee of _0x2ad069[_0x4e6cf6(0x1b0)]()){const _0x3d4044=_0x2ad069[_0x4e6cf6(0x1eb)](_0x4528ee);_0x3d4044!=null&&(_0x3d4044[_0x4e6cf6(0x224)]((_0x3c2b7b,_0x20c0b1,_0x3e65d0)=>{const _0x50234e=_0x4e6cf6;this[_0x50234e(0x1c9)]['get'](_0x3e65d0)&&this[_0x50234e(0x1b1)](_0x3e65d0);}),this[_0x4e6cf6(0x20d)][_0x4e6cf6(0x197)](_0x4528ee));}}this[_0x4e6cf6(0x1ab)][_0x4e6cf6(0x197)](_0x310c4f);}}}[_0x2faf6f(0x1be)](_0x30b144,_0x357896,_0x8e65b3,_0x19e626){const _0x29d13f=_0x2faf6f;this[_0x29d13f(0x198)][_0x29d13f(0x17d)](_0x30b144)||this['_featureFormulaData']['set'](_0x30b144,new Map());const _0x136a1b=this[_0x29d13f(0x198)][_0x29d13f(0x1eb)](_0x30b144);_0x136a1b['has'](_0x357896)||_0x136a1b['set'](_0x357896,new Map()),_0x136a1b[_0x29d13f(0x1eb)](_0x357896)[_0x29d13f(0x1c4)](_0x8e65b3,_0x19e626[_0x29d13f(0x1d1)]);}['removeFeatureFormulaDependency'](_0x19df5b,_0xa92cf1,_0x17403b){const _0x5e9b6e=_0x2faf6f,_0x43d3cc=this[_0x5e9b6e(0x198)][_0x5e9b6e(0x1eb)](_0x19df5b);if(_0x43d3cc&&_0x43d3cc[_0x5e9b6e(0x17d)](_0xa92cf1)){const _0x1a2950=_0x43d3cc[_0x5e9b6e(0x1eb)](_0xa92cf1);_0x17403b[_0x5e9b6e(0x16f)](_0x120b3f=>{const _0x3951c5=_0x5e9b6e,_0xeee7f3=_0x1a2950[_0x3951c5(0x1eb)](_0x120b3f);_0xeee7f3!=null&&(this[_0x3951c5(0x1ae)](_0xeee7f3),_0x1a2950['delete'](_0x120b3f),this[_0x3951c5(0x1b1)](_0xeee7f3));});}}['clearFeatureFormulaDependency'](_0x42324f,_0x2a6fcd){const _0x3e3547=_0x2faf6f,_0xc544be=this[_0x3e3547(0x198)]['get'](_0x42324f);if(_0x2a6fcd&&_0xc544be&&_0xc544be[_0x3e3547(0x17d)](_0x2a6fcd)){const _0x3669e5=_0xc544be[_0x3e3547(0x1eb)](_0x2a6fcd);this[_0x3e3547(0x1d7)](_0x42324f,_0x2a6fcd),_0x3669e5[_0x3e3547(0x16f)](_0x21ed21=>{_0x21ed21!=null&&this['_removeAllTreeMap'](_0x21ed21);}),_0x3669e5[_0x3e3547(0x165)]();}else _0xc544be&&(_0xc544be[_0x3e3547(0x16f)]((_0x2ec03a,_0x18f601)=>{this['_removeDependencyRTreeCacheById'](_0x42324f,_0x18f601),_0x2ec03a['forEach'](_0x3c5a69=>{const _0x3dc51f=_0x13f4;_0x3c5a69!=null&&this[_0x3dc51f(0x1b1)](_0x3c5a69);});}),this[_0x3e3547(0x198)][_0x3e3547(0x197)](_0x42324f));}[_0x2faf6f(0x1cd)](_0xee7ee4,_0x1d4863,_0x4480a9,_0xdbb3ce,_0x4e5552){const _0x2e3945=_0x2faf6f;this[_0x2e3945(0x15c)][_0x2e3945(0x17d)](_0xee7ee4)||this['_formulaData'][_0x2e3945(0x1c4)](_0xee7ee4,new Map());const _0x5119ca=this[_0x2e3945(0x15c)][_0x2e3945(0x1eb)](_0xee7ee4);_0x5119ca[_0x2e3945(0x17d)](_0x1d4863)||_0x5119ca[_0x2e3945(0x1c4)](_0x1d4863,new _0x5f421e()),_0x5119ca['get'](_0x1d4863)[_0x2e3945(0x17c)](_0x4480a9,_0xdbb3ce,_0x4e5552[_0x2e3945(0x1d1)]);}[_0x2faf6f(0x1df)](_0x1c4923,_0x2d7c26,_0x46b9f2,_0x41bf35){const _0x4385b5=_0x2faf6f,_0x129368=this[_0x4385b5(0x15c)][_0x4385b5(0x1eb)](_0x1c4923);if(_0x129368&&_0x129368['has'](_0x2d7c26)){const _0x226d8d=_0x129368[_0x4385b5(0x1eb)](_0x2d7c26),_0x4182eb=_0x226d8d[_0x4385b5(0x1f8)](_0x46b9f2,_0x41bf35);if(_0x4182eb==null)return;this['_removeDependencyRTreeCache'](_0x4182eb),_0x226d8d[_0x4385b5(0x162)](_0x46b9f2,_0x41bf35),this[_0x4385b5(0x1b1)](_0x4182eb);}}[_0x2faf6f(0x15e)](_0x5a3858,_0x77188e){const _0x14512c=_0x2faf6f,_0x1c742d=this[_0x14512c(0x15c)][_0x14512c(0x1eb)](_0x5a3858);if(_0x77188e&&_0x1c742d&&_0x1c742d[_0x14512c(0x17d)](_0x77188e)){const _0x23de03=_0x1c742d[_0x14512c(0x1eb)](_0x77188e);this[_0x14512c(0x1d7)](_0x5a3858,_0x77188e),_0x23de03['forValue']((_0x267d33,_0x2b0833,_0x2df55f)=>{const _0x552756=_0x14512c;if(_0x2df55f==null)return!0x0;this[_0x552756(0x1b1)](_0x2df55f);}),_0x23de03['reset']();}else _0x1c742d&&(_0x1c742d[_0x14512c(0x16f)]((_0x14f4b1,_0x41cc80)=>{const _0x411f7c=_0x14512c;this[_0x411f7c(0x1d7)](_0x5a3858,_0x41cc80),_0x14f4b1[_0x411f7c(0x224)]((_0x89b959,_0x3daede,_0x26719a)=>{if(_0x26719a==null)return!0x0;this['_removeAllTreeMap'](_0x26719a);});}),this[_0x14512c(0x15c)]['delete'](_0x5a3858));}['_removeDependencyRTreeCache'](_0x4cf78f){const _0x3efd21=_0x2faf6f;if(_0x4cf78f==null)return;const _0x50bbea=this[_0x3efd21(0x1c9)][_0x3efd21(0x1eb)](_0x4cf78f);if(_0x50bbea){const _0x47278a=[];for(const [_0x4bc7ee,_0x2a049f]of _0x50bbea)for(const [_0x10423c,_0x30736c]of _0x2a049f)_0x47278a[_0x3efd21(0x164)]({'unitId':_0x4bc7ee,'sheetId':_0x10423c,'range':_0x30736c,'id':_0x4cf78f});this[_0x3efd21(0x1d9)][_0x3efd21(0x178)](_0x47278a);}}[_0x2faf6f(0x16d)](_0x2b737f,_0x3ec03d){const _0x2635f9=_0x2faf6f,_0x1979d9=this['_definedNameMap'][_0x2635f9(0x1eb)](_0x2b737f);if(_0x1979d9){const _0x10aadf=_0x1979d9[_0x2635f9(0x1eb)](_0x3ec03d);if(_0x10aadf){for(const _0x5db3de of _0x10aadf)this[_0x2635f9(0x1ae)](_0x5db3de),this[_0x2635f9(0x1b1)](_0x5db3de);_0x10aadf[_0x2635f9(0x165)]();}}}[_0x2faf6f(0x15b)](){const _0x478257=_0x2faf6f;this[_0x478257(0x1d9)][_0x478257(0x15b)]();}[_0x2faf6f(0x1e5)](){const _0x40fb2f=_0x2faf6f;this[_0x40fb2f(0x1d9)]['closeKdTree']();}[_0x2faf6f(0x1b1)](_0x5eede2){const _0x1d24fe=_0x2faf6f;_0x5eede2!=null&&this[_0x1d24fe(0x1c9)][_0x1d24fe(0x197)](_0x5eede2);}[_0x2faf6f(0x176)](_0x2ce7cf){const _0x1a005a=_0x2faf6f;var _0x5c2c59,_0x433860;const _0x16895c=_0x2ce7cf['rangeList'];let _0x32cb28=this[_0x1a005a(0x1c9)][_0x1a005a(0x1eb)](_0x2ce7cf[_0x1a005a(0x1d1)]);for(let _0x55a092=0x0;_0x55a092<_0x16895c[_0x1a005a(0x1ec)];_0x55a092++){const _0x3b7b1f=_0x16895c[_0x55a092];let {unitId:_0x25c36e,sheetId:_0x5a19d2,range:_0x2b5bd1}=_0x3b7b1f;_0x32cb28||(_0x32cb28=new Map(),this['_allTreeMap'][_0x1a005a(0x1c4)](_0x2ce7cf['treeId'],_0x32cb28)),_0x32cb28[_0x1a005a(0x17d)](_0x25c36e)||_0x32cb28[_0x1a005a(0x1c4)](_0x25c36e,new Map());const _0x10d536=(_0x5c2c59=_0x32cb28==null?void 0x0:_0x32cb28['get'](_0x25c36e))==null?void 0x0:_0x5c2c59[_0x1a005a(0x1eb)](_0x5a19d2);_0x10d536&&(_0x2b5bd1={'startRow':Math[_0x1a005a(0x22e)](_0x2b5bd1['startRow'],_0x10d536['startRow']),'startColumn':Math[_0x1a005a(0x22e)](_0x2b5bd1[_0x1a005a(0x161)],_0x10d536[_0x1a005a(0x161)]),'endRow':Math[_0x1a005a(0x20b)](_0x2b5bd1[_0x1a005a(0x1c7)],_0x10d536['endRow']),'endColumn':Math[_0x1a005a(0x20b)](_0x2b5bd1['endColumn'],_0x10d536[_0x1a005a(0x1e4)])}),(_0x433860=_0x32cb28[_0x1a005a(0x1eb)](_0x25c36e))==null||_0x433860['set'](_0x5a19d2,_0x2b5bd1);}}}var Se=Object[_0x2faf6f(0x177)],Ne=(_0x3ca938,_0x4fd00d,_0x2a1825,_0x31bd59)=>{const _0x5ea22c=_0x2faf6f;for(var _0xb3adf9=_0x31bd59>0x1?void 0x0:_0x31bd59?Se(_0x4fd00d,_0x2a1825):_0x4fd00d,_0x11dd1b=_0x3ca938[_0x5ea22c(0x1ec)]-0x1,_0x42bf20;_0x11dd1b>=0x0;_0x11dd1b--)(_0x42bf20=_0x3ca938[_0x11dd1b])&&(_0xb3adf9=_0x42bf20(_0xb3adf9)||_0xb3adf9);return _0xb3adf9;};const Je=Number[_0x2faf6f(0x181)](0x697db262);let H=class extends _0x13bfd3{[_0x2faf6f(0x199)](){const _0x28c02b=_0x2faf6f;var _0x2a09c0,_0x9329a7;this['_initLicenseValid']()?(this[_0x28c02b(0x1a6)]['add']([_0x51cb98,{'useClass':De}]),(_0x2a09c0=this[_0x28c02b(0x221)])!=null&&_0x2a09c0[_0x28c02b(0x19b)]||[[_0x54d125,{'useClass':Ae}],[_0x3e9e29,{'useClass':Me}],[_0x39bdd9,{'useClass':xe}]][_0x28c02b(0x16f)](_0x595f49=>this['_injector'][_0x28c02b(0x217)](_0x595f49))):(this['_injector'][_0x28c02b(0x217)]([_0x51cb98,{'useClass':_0x51cb98}]),(_0x9329a7=this[_0x28c02b(0x221)])!=null&&_0x9329a7['notExecuteFormula']||[[_0x54d125,{'useClass':_0x8d38eb}],[_0x3e9e29,{'useClass':_0x304c91}],[_0x39bdd9,{'useClass':_0x4e8178}]][_0x28c02b(0x16f)](_0x1dbd3d=>this['_injector']['add'](_0x1dbd3d)));}[_0x2faf6f(0x16c)](){const _0x18b4af=_0x2faf6f;var _0x58718c;const _0x35e681=(_0x58718c=this[_0x18b4af(0x1b3)][_0x18b4af(0x1e6)](_0x2faaf1))!=null?_0x58718c:{},{ls:_0x128c05,pbk:_0x2a857a}=_0x35e681;if(!_0x128c05||!_0x2a857a)return!0x1;const _0xe2b9d4=_0x555187(Ke,ve),_0x321184=new Function('return\x20'+_0xe2b9d4)()(_0x128c05,_0x2a857a),_0x3d0090=_0x321184[_0x18b4af(0x218)];return _0x321184[_0x18b4af(0x1ad)]&&_0xf0b4b6(_0x3d0090,'sf',Je)?_0x5e7690(_0x3d0090,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=Ne([_0x402cb6(_0x139e3c)],H);export{De as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
1
+ const _0x68f90f=_0x1a4a;(function(_0x3e48f8,_0x20ed6d){const _0x3a8a7a=_0x1a4a,_0x59ba22=_0x3e48f8();while(!![]){try{const _0x1a3afd=-parseInt(_0x3a8a7a(0x288))/0x1+-parseInt(_0x3a8a7a(0x26e))/0x2*(-parseInt(_0x3a8a7a(0x2a6))/0x3)+parseInt(_0x3a8a7a(0x284))/0x4+parseInt(_0x3a8a7a(0x23f))/0x5+-parseInt(_0x3a8a7a(0x221))/0x6+-parseInt(_0x3a8a7a(0x20a))/0x7*(parseInt(_0x3a8a7a(0x296))/0x8)+parseInt(_0x3a8a7a(0x224))/0x9;if(_0x1a3afd===_0x20ed6d)break;else _0x59ba22['push'](_0x59ba22['shift']());}catch(_0x12b2f5){_0x59ba22['push'](_0x59ba22['shift']());}}}(_0x94a6,0x8da15));var se=Object[_0x68f90f(0x220)],ae=(_0x2be627,_0x284adb,_0x2ffbae)=>_0x284adb in _0x2be627?se(_0x2be627,_0x284adb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ffbae}):_0x2be627[_0x284adb]=_0x2ffbae,F=(_0x3b6d91,_0x13120b,_0x46b572)=>ae(_0x3b6d91,typeof _0x13120b!=_0x68f90f(0x267)?_0x13120b+'':_0x13120b,_0x46b572);function _0x94a6(){const _0x264f45=['addFormulaDependencyByDefinedName','notExecuteFormula','Lambda\x20parameter\x20name\x20\x22','_xlfnPrefix','_getCurNodeTypeForExprTree','_isCalculateTreeModel','getFormulaDependency','_registerOtherFormulas','_handleLambdaForExprTree','addOtherFormulaDependencyMainData','setSkip','treeId','_getFirstCellOfRange','_startFormulaDependencyTreeModel','featureDirtyRanges','_resetPrefix','_dependencyRTreeCacheForAddressFunction','566345JMfieg','node','clearFeatureFormulaDependency','_currentUnitId','error','string','trim','getOtherFormulaData','checkAsyncNode','value','toUpperCase','message','resetCalculationState','unitId','_xlpmPrefix','endRow','isStopExecution','forEach','_getTreeById','startIndex','generate','isSkip','/*VCYLI7t-lIYOBLCVJ6CzC6-tCPJLOtCV*/zd72tI37VlC26pJtI37(LI2C7YC,VJdBLI28Cp)V{VVVVt6pV{VVVVVVVV237YtVLI2C7YCH7z30O6tm66OpV=VLI2C7YC.YJLIt(\x27-\x27);VVVVVVVV237YtV36IoI7jCYYOoCV=VwTMe.JO6YC(Ot3B(LI2C7YCH7z30O6tm66Op[a]));VVVVVVVVIzV(!36IoI7jCYYOoC.dl)V{VVVVVVVVVVVV36IoI7jCYYOoC.dlV=VedPBC6(LI2C7YCH7z30O6tm66Op[v]);VVVVVVVV}VVVVVVVV237YtVIYQ36ZC6V=VtpJC3zVQ36ZC64L3BOLT23JCV!==V\x27d7lCzI7Cl\x27V&&VYCLzVI7YtO72C3zVQ36ZC64L3BOLT23JC;VVVVVVVV237YtVIYE63KYC6V=VtpJC3zVKI7l3KV!==V\x27d7lCzI7Cl\x27V&&VtpJC3zVKI7l3K.L32OtI37V!==V\x27d7lCzI7Cl\x27;VVVVVVVV237YtV237tC5tV=VIYQ36ZC6V?VYCLzV:V(IYE63KYC6V?VKI7l3KV:VoL3BOLhSIY);VVVVVVVV237YtVPCYYOoCQ36lV=V237tC5t.__EOYC9v__.JO6YC(LI2C7YCH7z30O6tm66Op[a]);VVVVVVVV237YtVPCYYOoCV=V237tC5t.__cC5__.Yt6I7oIzp(PCYYOoCQ36l);VVVVVVVV237YtVYIo7Otd6CQ36lV=V237tC5t.__EOYC9v__.JO6YC(LI2C7YCH7z30O6tm66Op[X]);VVVVVVVV237YtVYIo7Otd6CV=V237tC5t.__cC5__.Yt6I7oIzp(YIo7Otd6CQ36l);VVVVVVVV237YtVYIo7GOLIlV=V237tC5t.__iC6Izp__(YIo7Otd6C,VPCYYOoC,VJdBLI28Cp);VVVVVVVV237YtVl3POI7V=V36IoI7jCYYOoC.lP;VVVVVVVVzd72tI37VIYk3POI7jOt2SI7o(JOttC67,VS3Yt)V{VVVVVVVVVVVVIzV(JOttC67V===VS3Yt)V6Ctd67Vt6dC;VVVVVVVVVVVVIzV(JOttC67.YtO6tYQItS(\x27*.\x27))V{VVVVVVVVVVVVVVVV237YtVYdzzI5V=VJOttC67.YLI2C(a);VVVVVVVVVVVVVVVVIzV(YdzzI5V&&VYdzzI5V===VS3Yt)V{VVVVVVVVVVVVVVVVVVVV6Ctd67Vt6dC;VVVVVVVVVVVVVVVV}VVVVVVVVVVVVVVVVIzV(YdzzI5V&&V!S3Yt.YtO6tYQItS(\x27.\x27)V&&VS3Yt.C7lYQItS(\x27.\x27V+VYdzzI5))V{VVVVVVVVVVVVVVVVVVVV6Ctd67Vt6dC;VVVVVVVVVVVVVVVV}VVVVVVVVVVVV}VVVVVVVVVVVV6Ctd67VzOLYC;VVVVVVVV}VVVVVVVVLCtVl3POI7GOLIlV=VzOLYC;VVVVVVVVIzV(IYE63KYC6)V{VVVVVVVVVVVVl3POI7GOLIlV=V(l3POI7V&&Vl3POI7.LC7otS)V?Vl3POI7.Y3PC((lPHtCP)V=>VIYk3POI7jOt2SI7o(lPHtCP,VL32OtI37.S3Yt7OPC))V:Vt6dC;VVVVVVVVVVVVIzV(L32OtI37.S3Yt7OPCV===V\x27L32OLS3Yt\x27)V{VVVVVVVVVVVVVVVVl3POI7GOLIlV=Vt6dC;VVVVVVVVVVVV}VVVVVVVV}VCLYCV{VVVVVVVVVVVVl3POI7GOLIlV=Vt6dC;VVVVVVVV}VVVVVVVV237YtViOLIlV=VYIo7GOLIlV&&Vl3POI7GOLIl;VVVVVVVV6Ctd67V{VVVVVVVVVVVViOLIl,VVVVVVVVVVVVPCYYOoC:V36IoI7jCYYOoC,VVVVVVVV};VVVV}V2Ot2SV(C6636)V{VVVVVVVV6Ctd67V{VVVVVVVVVVVViOLIl:VzOLYC,VVVVVVVVVVVVPCYYOoC:V{},VVVVVVVV};VVVV}}','values','\x22\x20is\x20duplicated.','setTotalFormulasToCalculate','getDirtyRanges','endsWith','_otherFormulaDataMainData','reset','addFeatureFormulaDependency','treeBuilder','refOffsetX','COLON','setFormulaExecuteStage','startColumn','_otherFormulaData','setCurrent','featureId','_clearPrefix','symbol','addFormulaDependency','_createFDtree','getClearDependencyTreeCache','_generateExprTree','bulkSearch','isDirty','8VlAhQI','getChildren','_otherFormulaManagerService','getValue','getStartIndex','from','setValue','_hasNewExcelFunction','column','_formulaData','rangeList','dispose','setRuntimeData','_clearFunctionString','openKdTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','getConfig','_xlfn.','setRuntimeOtherData','_formulaDependencyTreeModel','pop','markedAsSuccessfullyExecuted','1905132MmPgvk','setRuntimeFeatureCellData','_runtimeService','getExcludedRange','498898OskHkq','_registerFormulas','next','_definedNameMap','length','resolve','children','_astTreeBuilder','_lambdaFunctionParameterSet','_handleTextNodeForExprTree','type','slice','push','MINUS','8552EyrnGN','_checkIsCycleDependency','join','max','keys','_getTableNameFromStructuredRef','refOffsetY','setRuntimeFeatureRange','_generateTreeList','getRuntimeState','row','inRangeData','_checkColonNodeForExprTree','removeFormulaDependencyByDefinedName','refTree','_initLicenseValid','414546wtgZXh','_currentConfigService','getDirtyData','getFormulaData','_getUpdateTreeListAndMakeDependency','clearOtherFormulaDependency','START_DEPENDENCY','_dependencyTreeCache','_calculateRunList','_getDependencyTreeParenIds','rowCount','_handleNewFunctionChild','_initializeGenerateTreeList','parseInt','_isCyclicUtilMap','_interpreter','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','IDLE','_convertDirtyRangesToUnitRange','clear','CURRENTLY_CALCULATING','getToken','_removeAllTreeMap','_checkAddBracketForMinus','addOtherFormulaDependency','range','_dependencyManagerService','_executionCompleteListener$','forValue','setCompletedArrayFormulasCount','delete','_updateRangeFlatten','_config','_featureFormulaData','getAllRuntimeData','set','_getFeatureFormulaTree','_handleChildrenForExprTree','startRow','getOwnPropertyDescriptor','getOtherFormulaDependency','size','markedAsStopFunctionsExecuted','VALUE','setAdded','FEATURE_FORMULA','_getTreeNode','get','_endFormulaDependencyTreeModel','_initializeWithOverride','_generateNewFunctionString','_traverse','getFormulaExprTree','_allTreeMap','markedAsNoFunctionsExecuted','OTHER_FORMULA','return\x20','add','formulaId','3556XKzMfP','min','has','toRTreeItem','execute','_removeDependencyRTreeCache','enableCycleDependency','_injector','_lexer','_executionInProgressListener$','removeFeatureFormulaDependency','_xlpm.','_getAllTreeList','_getAllDependencyJson','searchDependency','columnCount','isAdded','endColumn','isCache','isArray','formula','closeKdTree','defineProperty','3933924fyKrRU','subUnitId','clearFormulaDependency','10218969TxOHBb','clearArrayObjectCache','getDirtyNameMap','executeAsync','START_CALCULATION','_removeDependencyRTreeCacheById','_dependencyRTreeCache','_createVirtualFDtree','realDeleteValue','setDependencyTreeModelData'];_0x94a6=function(){return _0x264f45;};return _0x94a6();}import{LexerTreeBuilder as _0x4761e4,ErrorType as _0x2a39c9,DEFAULT_TOKEN_TYPE_ROOT as _0x9ef5df,DEFAULT_TOKEN_TYPE_PARAMETER as _0x5f1ce3,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3b46b8,NEW_EXCEL_FUNCTIONS as _0x12fe58,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0xd09eab,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x4ac5b8,matchToken as _0x3f63fc,SUFFIX_TOKEN_SET as _0x590f81,prefixToken as _0x19a60d,LexerNode as _0x129e93,OPERATOR_TOKEN_SET as _0x4cdac2,isReferenceString as _0x58d3db,splitTableStructuredRef as _0x41d46d,FormulaDependencyGenerator as _0x403280,generateRandomDependencyTreeId as _0x571464,FormulaDependencyTree as _0x4cb855,FormulaDependencyTreeType as _0x22b5ec,FormulaDependencyTreeVirtual as _0x5680ce,generateAstNode as _0x1a4368,CalculateFormulaService as _0x2ffa5b,FormulaExecuteStageType as _0x3d0ad2,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x40ed90,DEFAULT_INTERVAL_COUNT as _0x41c4b0,DependencyManagerBaseService as _0x2c3e36,UniverFormulaEnginePlugin as _0x31f423,ICalculateFormulaService as _0x37b3d9,IDependencyManagerService as _0x3e7d05,IFormulaDependencyGenerator as _0x5d3fc6,DependencyManagerService as _0x2b089c}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x205a9a,LS_CONFIG_KEY as _0x3f41b0,unshiftString as _0x28206e,isFeatureAuthorizedWithinTime as _0x1815ab,getSheetFeatureLimit as _0x336085}from'@univerjs-pro/license';import{ObjectMatrix as _0x294747,requestImmediateMacroTask as _0x204467,RTree as _0x22aa45,DependentOn as _0x3206c8}from'@univerjs/core';class De extends _0x4761e4{constructor(){const _0x1c2832=_0x68f90f;super(...arguments),F(this,'_hasNewExcelFunction',!0x1),F(this,_0x1c2832(0x290),new Set()),F(this,'_xlpmPrefix','_xlpm.'),F(this,_0x1c2832(0x231),_0x1c2832(0x27f)),F(this,_0x1c2832(0x242),'');}[_0x68f90f(0x23d)](){const _0x40341f=_0x68f90f;this[_0x40341f(0x24d)]=_0x40341f(0x215),this['_xlfnPrefix']=_0x40341f(0x27f);}[_0x68f90f(0x266)](){const _0x135248=_0x68f90f;this[_0x135248(0x24d)]='',this[_0x135248(0x231)]='';}['getNewFormulaWithPrefix'](_0x558230,_0x3e21ab){const _0x148a17=_0x68f90f,_0x23aa0c=this[_0x148a17(0x25e)](_0x558230,!0x1);if(!_0x23aa0c||_0x23aa0c===_0x2a39c9[_0x148a17(0x1fa)]||Array['isArray'](_0x23aa0c))return null;const _0x451094=[];return this[_0x148a17(0x275)]=!0x1,this['_generateNewFunctionString'](_0x23aa0c,_0x451094,_0x3e21ab),this['_hasNewExcelFunction']?'='+_0x451094[_0x148a17(0x298)](''):null;}[_0x68f90f(0x201)](_0x32c5c7,_0x5bdea1,_0x23d34b){const _0x2e96d6=_0x68f90f,_0x4b6f62=_0x32c5c7[_0x2e96d6(0x1e4)](),_0x39134d=_0x4b6f62['trim'](),_0x566b64=_0x39134d[_0x2e96d6(0x249)](),_0x4a97be=this[_0x2e96d6(0x27b)](_0x566b64),_0x24aacd=_0x23d34b(_0x4a97be);let _0x3ea765=0x0;_0x4b6f62===_0x9ef5df?_0x3ea765=0x3:_0x4b6f62===_0x5f1ce3?_0x3ea765=0x4:_0x4b6f62===_0x3b46b8?_0x3ea765=0x5:_0x12fe58[_0x2e96d6(0x20c)](_0x4a97be)?(_0x5bdea1[_0x2e96d6(0x294)](''+this[_0x2e96d6(0x231)]+_0x39134d),this[_0x2e96d6(0x275)]=!0x0):_0x566b64===_0xd09eab?(_0x5bdea1[_0x2e96d6(0x294)](''+this[_0x2e96d6(0x231)]+_0x39134d),this['_hasNewExcelFunction']=!0x0,_0x3ea765=0x2):_0x566b64===_0x4ac5b8?(_0x5bdea1['push'](''+this[_0x2e96d6(0x231)]+_0x39134d),this['_hasNewExcelFunction']=!0x0,_0x3ea765=0x1):_0x566b64===_0x3f63fc['COLON']?_0x3ea765=0x8:_0x590f81[_0x2e96d6(0x20c)](_0x566b64)?_0x3ea765=0x7:_0x566b64===_0x19a60d[_0x2e96d6(0x295)]?(this['_checkAddBracketForMinus'](_0x32c5c7)&&(_0x3ea765=0x9),_0x5bdea1['push'](_0x4b6f62)):(_0x5bdea1[_0x2e96d6(0x294)](_0x4b6f62),_0x3ea765=0xa),_0x24aacd?(_0x3ea765!==0x2&&_0x3ea765!==0x1&&(_0x3ea765=0x6),_0x5bdea1[_0x2e96d6(0x294)]('(')):_0x3ea765===0x9&&_0x5bdea1[_0x2e96d6(0x294)]('(');const _0x383e13=_0x32c5c7[_0x2e96d6(0x26f)](),_0x4abbe0=_0x383e13[_0x2e96d6(0x28c)];if(_0x3ea765===0x2){const _0x34af1a=_0x383e13[0x0];let _0xde57d3=0x0;_0x34af1a instanceof _0x129e93&&_0x34af1a[_0x2e96d6(0x1e4)]()===_0x3b46b8&&(_0xde57d3=0x1);for(let _0xf67779=_0xde57d3;_0xf67779<_0x4abbe0-0x1;_0xf67779++){const _0x50c030=_0x383e13[_0xf67779];if(_0x50c030 instanceof _0x129e93){const _0x333b61=_0x50c030[_0x2e96d6(0x26f)]()[0x0];typeof _0x333b61=='string'&&(this[_0x2e96d6(0x290)][_0x2e96d6(0x20c)](_0x333b61)&&console['error'](_0x2e96d6(0x230)+_0x333b61+_0x2e96d6(0x257)),this[_0x2e96d6(0x290)]['add'](_0x333b61),_0x5bdea1[_0x2e96d6(0x294)](''+this['_xlpmPrefix']+_0x333b61),this[_0x2e96d6(0x275)]=!0x0);}_0x5bdea1[_0x2e96d6(0x294)](',');}this['_handleNewFunctionChild'](_0x383e13[_0x4abbe0-0x1],_0x5bdea1,_0x23d34b),_0xde57d3===0x1&&(_0x5bdea1['push'](')'),_0x5bdea1[_0x2e96d6(0x294)]('('),this[_0x2e96d6(0x201)](_0x34af1a,_0x5bdea1,_0x23d34b)),_0x5bdea1['push'](')');return;}else{if(_0x3ea765===0x1){for(let _0x399eb3=0x0;_0x399eb3<_0x4abbe0-0x1;_0x399eb3++){const _0x2f7f01=_0x383e13[_0x399eb3];if(_0x2f7f01 instanceof _0x129e93&&_0x399eb3%0x2===0x0){const _0x5a414d=_0x2f7f01[_0x2e96d6(0x26f)]()[0x0];if(typeof _0x5a414d==_0x2e96d6(0x244)){this[_0x2e96d6(0x290)][_0x2e96d6(0x20c)](_0x5a414d)&&console[_0x2e96d6(0x243)]('Let\x20variable\x20name\x20\x22'+_0x5a414d+_0x2e96d6(0x257)),this[_0x2e96d6(0x290)][_0x2e96d6(0x208)](_0x5a414d),_0x5bdea1[_0x2e96d6(0x294)](''+this[_0x2e96d6(0x24d)]+_0x5a414d),this[_0x2e96d6(0x275)]=!0x0,_0x5bdea1[_0x2e96d6(0x294)](',');continue;}}if(this[_0x2e96d6(0x2b1)](_0x2f7f01,_0x5bdea1,_0x23d34b),_0x2f7f01 instanceof _0x129e93){const _0xe53647=_0x383e13[_0x399eb3+0x1];_0xe53647&&_0xe53647 instanceof _0x129e93&&_0x5bdea1['push'](',');}}this['_handleNewFunctionChild'](_0x383e13[_0x4abbe0-0x1],_0x5bdea1,_0x23d34b),_0x5bdea1[_0x2e96d6(0x294)](')');return;}else{if(_0x3ea765===0x8){const _0x16ca39=_0x383e13[0x0],_0x2bde25=_0x383e13[0x1];this[_0x2e96d6(0x2b1)](_0x16ca39,_0x5bdea1,_0x23d34b),_0x5bdea1[_0x2e96d6(0x294)](_0x4b6f62),this[_0x2e96d6(0x2b1)](_0x2bde25,_0x5bdea1,_0x23d34b);return;}}}for(let _0x4edc30=0x0;_0x4edc30<_0x4abbe0;_0x4edc30++){const _0x511adb=_0x383e13[_0x4edc30];if(this['_handleNewFunctionChild'](_0x511adb,_0x5bdea1,_0x23d34b),_0x511adb instanceof _0x129e93){const _0x1a4c74=_0x383e13[_0x4edc30+0x1];_0x1a4c74&&_0x1a4c74 instanceof _0x129e93&&_0x5bdea1['push'](',');}}_0x3ea765===0x7&&_0x5bdea1[_0x2e96d6(0x294)](_0x4b6f62),(_0x24aacd||_0x3ea765===0x9)&&_0x5bdea1[_0x2e96d6(0x294)](')');}[_0x68f90f(0x2b1)](_0x4b10e9,_0x498c5e,_0x1b9bd0){const _0x39e43c=_0x68f90f;_0x4b10e9 instanceof _0x129e93?this['_generateNewFunctionString'](_0x4b10e9,_0x498c5e,_0x1b9bd0):this['_lambdaFunctionParameterSet']['has'](_0x4b10e9)?(_0x498c5e[_0x39e43c(0x294)](''+this[_0x39e43c(0x24d)]+_0x4b10e9),this[_0x39e43c(0x275)]=!0x0):_0x498c5e['push'](_0x4b10e9);}['_clearFunctionString'](_0x1e404e){const _0x1837d2=_0x68f90f;let _0x5a03e5=_0x1e404e[_0x1837d2(0x245)]();if(!_0x5a03e5)return _0x5a03e5;const _0x4b9fae=_0x5a03e5[0x0];if((_0x4b9fae===_0x19a60d['AT']||_0x4b9fae===_0x19a60d[_0x1837d2(0x295)]||_0x4b9fae===_0x19a60d['PLUS'])&&(_0x5a03e5=_0x5a03e5['slice'](0x1)),!_0x5a03e5)return _0x5a03e5;const _0x37b481=_0x5a03e5[_0x5a03e5[_0x1837d2(0x28c)]-0x1];return _0x590f81[_0x1837d2(0x20c)](_0x37b481)&&(_0x5a03e5=_0x5a03e5[_0x1837d2(0x293)](0x0,-0x1)),_0x5a03e5;}[_0x68f90f(0x1e6)](_0x253b67){const _0x54ac5b=_0x68f90f,_0x378171=_0x253b67[_0x54ac5b(0x26f)]()[0x0];if(!_0x378171||!(_0x378171 instanceof _0x129e93)||_0x253b67['getChildren']()[_0x54ac5b(0x28c)]>0x1)return!0x1;const _0x483524=_0x378171[_0x54ac5b(0x26f)](),_0x6b8a27=_0x483524[_0x54ac5b(0x28c)];if(_0x6b8a27===0x1)return!0x1;for(let _0xd40d21=0x0;_0xd40d21<_0x6b8a27;_0xd40d21++){const _0x4c0295=_0x483524[_0xd40d21];if(!(_0x4c0295 instanceof _0x129e93)&&_0x4cdac2['has'](_0x4c0295))return!0x0;}return!0x1;}[_0x68f90f(0x203)](_0x216ce8,_0x209924,_0x30ba03,_0x392d67,_0x548d1e){const _0x181cea=_0x68f90f,_0x34685f=this[_0x181cea(0x25e)](_0x216ce8,!0x1);if(!_0x34685f||_0x34685f===_0x2a39c9[_0x181cea(0x1fa)]||Array[_0x181cea(0x21d)](_0x34685f))return null;this[_0x181cea(0x266)](),this['_currentUnitId']=_0x209924;const _0x496620=this['_generateExprTree'](_0x34685f,_0x30ba03,_0x392d67,_0x548d1e);return this[_0x181cea(0x242)]='',this['_resetPrefix'](),_0x496620;}[_0x68f90f(0x26b)](_0x577768,_0x1c0c4d,_0x27b856,_0x220efd){const _0x4d5f52=_0x68f90f,_0x5027f5={'value':'','children':[],'startIndex':0x0};let _0x259052=_0x577768;if(_0x259052 instanceof _0x129e93&&(_0x259052[_0x4d5f52(0x1e4)]()===_0x9ef5df||_0x259052[_0x4d5f52(0x1e4)]()===_0x5f1ce3)&&_0x259052['getChildren']()[_0x4d5f52(0x28c)]===0x1&&(_0x259052=_0x259052[_0x4d5f52(0x26f)]()[0x0]),!(_0x259052 instanceof _0x129e93))return this[_0x4d5f52(0x291)](_0x259052,_0x27b856,_0x220efd);const _0x3e8450=_0x259052[_0x4d5f52(0x26f)](),_0x42f69d=_0x3e8450['length'],_0x50b50f=[];this[_0x4d5f52(0x201)](_0x259052,_0x50b50f,_0x1c0c4d),_0x5027f5[_0x4d5f52(0x248)]=_0x50b50f[_0x4d5f52(0x298)](''),_0x5027f5[_0x4d5f52(0x252)]=_0x259052[_0x4d5f52(0x272)]();const _0xb83702=this[_0x4d5f52(0x232)](_0x259052);if(_0xb83702===0x2){const _0x5dfb7a=_0x3e8450[0x0];if(_0x5dfb7a instanceof _0x129e93){if(_0x5dfb7a['getToken']()[_0x4d5f52(0x245)]()!==_0x3b46b8)return _0x5027f5;this[_0x4d5f52(0x236)](_0x5dfb7a,_0x5027f5,_0x1c0c4d,_0x27b856,_0x220efd);}return _0x5027f5;}else{if(_0xb83702===0x1){for(let _0x4b5eaa=0x0;_0x4b5eaa<_0x42f69d-0x1;_0x4b5eaa++){const _0x7af09d=_0x3e8450[_0x4b5eaa];if(_0x7af09d instanceof _0x129e93&&_0x4b5eaa%0x2===0x1){const _0x2733e4=_0x7af09d[_0x4d5f52(0x26f)]();if(_0x2733e4[_0x4d5f52(0x28c)]===0x1&&!(_0x2733e4[0x0]instanceof _0x129e93))continue;const _0x1a0218=this[_0x4d5f52(0x26b)](_0x7af09d,_0x1c0c4d,_0x27b856,_0x220efd);_0x1a0218&&_0x5027f5['children']['push'](_0x1a0218);}}return _0x5027f5;}else{if(_0xb83702===0x8){const _0x4be312=_0x3e8450[0x0];if(_0x4be312 instanceof _0x129e93){const _0x597879=_0x4be312[_0x4d5f52(0x26f)]()[0x0];_0x597879 instanceof _0x129e93&&(_0x5027f5['startIndex']=_0x597879[_0x4d5f52(0x272)]());}if(this[_0x4d5f52(0x2a2)](_0x259052))return _0x5027f5;}else{if(_0xb83702===0x7){const _0x209db9=_0x3e8450[0x0];if(_0x209db9 instanceof _0x129e93){const _0x154c5f=_0x209db9[_0x4d5f52(0x26f)]()[0x0];_0x154c5f instanceof _0x129e93&&(_0x5027f5[_0x4d5f52(0x252)]=_0x154c5f[_0x4d5f52(0x272)]());}}}}}return this[_0x4d5f52(0x1f4)](_0x3e8450,_0xb83702,_0x5027f5,_0x1c0c4d,_0x27b856,_0x220efd),_0x5027f5;}[_0x68f90f(0x1f4)](_0x3017fd,_0x28b10b,_0x33e178,_0x3f6199,_0x386774,_0x47b019){const _0x5ae952=_0x68f90f;for(let _0x22c043=0x0;_0x22c043<_0x3017fd[_0x5ae952(0x28c)];_0x22c043++){let _0x1f46c7=_0x3017fd[_0x22c043];if(!(_0x1f46c7 instanceof _0x129e93)){const _0x2df73b=this[_0x5ae952(0x291)](_0x1f46c7,_0x386774,_0x47b019);_0x2df73b&&_0x33e178['children'][_0x5ae952(0x294)](_0x2df73b);continue;}const _0x37dfe6=_0x1f46c7[_0x5ae952(0x26f)]();if(_0x37dfe6[_0x5ae952(0x28c)]===0x1&&!(_0x37dfe6[0x0]instanceof _0x129e93)){const _0x1606ad=_0x37dfe6[0x0];if(!_0x386774(this[_0x5ae952(0x242)],_0x1606ad)&&!this['_getTableNameFromStructuredRef'](_0x1606ad,_0x47b019)&&!_0x58d3db(_0x1606ad))continue;}if(_0x28b10b===0x8){const _0x695068=_0x37dfe6[0x0];if(_0x695068 instanceof _0x129e93){const _0x226c96=_0x695068[_0x5ae952(0x1e4)]()[_0x5ae952(0x245)]();if(_0x58d3db(_0x226c96))continue;_0x1f46c7=_0x695068;}}const _0x5dc027=this[_0x5ae952(0x26b)](_0x1f46c7,_0x3f6199,_0x386774,_0x47b019);_0x5dc027&&_0x33e178['children']['push'](_0x5dc027);}}['_checkColonNodeForExprTree'](_0x465b3c){const _0x577db7=_0x68f90f,_0x1e4bf9=_0x465b3c[_0x577db7(0x26f)]();if(_0x1e4bf9[_0x577db7(0x28c)]<0x2)return!0x1;const _0xd7f61e=_0x1e4bf9[0x0],_0xd8b550=_0x1e4bf9[0x1];if(!(_0xd7f61e instanceof _0x129e93)||!(_0xd8b550 instanceof _0x129e93))return!0x1;const _0xd34e0d=_0xd7f61e['getChildren']()[0x0],_0x87222e=_0xd8b550[_0x577db7(0x26f)]()[0x0];if(!(_0xd34e0d instanceof _0x129e93)||!(_0x87222e instanceof _0x129e93))return!0x1;const _0x28002f=_0xd34e0d['getToken']()[_0x577db7(0x245)](),_0x5279fb=_0x87222e[_0x577db7(0x1e4)]()[_0x577db7(0x245)]();return!!_0x58d3db(''+_0x28002f+_0x3f63fc[_0x577db7(0x260)]+_0x5279fb);}[_0x68f90f(0x291)](_0xf4b25d,_0x17dffb,_0x2d0efa){const _0x349f41=_0x68f90f,_0x97c42d=_0xf4b25d[_0x349f41(0x245)]();return _0x97c42d['startsWith']('{')&&_0x97c42d[_0x349f41(0x25a)]('}')||_0x17dffb(this[_0x349f41(0x242)],_0x97c42d)||this[_0x349f41(0x29b)](_0x97c42d,_0x2d0efa)||_0x58d3db(_0x97c42d)?{'value':_0x97c42d,'children':[],'startIndex':-0x1}:null;}[_0x68f90f(0x29b)](_0x57c358,_0x2a3cf2){const _0x1ff6dc=_0x68f90f,{tableName:_0x198b35}=_0x41d46d(_0x57c358);return _0x2a3cf2(this[_0x1ff6dc(0x242)],_0x198b35)?_0x198b35:null;}[_0x68f90f(0x236)](_0x7e95a8,_0x14dee6,_0x26fb5e,_0x1dd930,_0x35f0e2){const _0x32c439=_0x68f90f,_0x4a58e7=_0x7e95a8['getChildren']();for(let _0x51f3b7=0x0;_0x51f3b7<_0x4a58e7['length'];_0x51f3b7++){const _0x4e0eb1=_0x4a58e7[_0x51f3b7];if(!(_0x4e0eb1 instanceof _0x129e93))continue;const _0x286c61=_0x4e0eb1['getChildren']();if(_0x286c61[_0x32c439(0x28c)]===0x1&&!(_0x286c61[0x0]instanceof _0x129e93))continue;const _0x475fad=this[_0x32c439(0x26b)](_0x4e0eb1,_0x26fb5e,_0x1dd930,_0x35f0e2);_0x475fad&&_0x14dee6[_0x32c439(0x28e)][_0x32c439(0x294)](_0x475fad);}}[_0x68f90f(0x232)](_0x27c5ac){const _0x6d83b5=_0x68f90f,_0x20257a=_0x27c5ac[_0x6d83b5(0x1e4)](),_0x5c062b=_0x20257a[_0x6d83b5(0x245)]()[_0x6d83b5(0x249)]();let _0x593cdf=0x0;return _0x20257a===_0x9ef5df?_0x593cdf=0x3:_0x20257a===_0x5f1ce3?_0x593cdf=0x4:_0x20257a===_0x3b46b8?_0x593cdf=0x5:_0x5c062b===_0xd09eab?_0x593cdf=0x2:_0x5c062b===_0x4ac5b8?_0x593cdf=0x1:_0x5c062b===_0x3f63fc[_0x6d83b5(0x260)]?_0x593cdf=0x8:_0x590f81[_0x6d83b5(0x20c)](_0x5c062b)?_0x593cdf=0x7:_0x5c062b===_0x19a60d['MINUS']?this['_checkAddBracketForMinus'](_0x27c5ac)&&(_0x593cdf=0x9):_0x593cdf=0xa,_0x593cdf;}}class Oe extends _0x403280{constructor(){super(...arguments),F(this,'_dependencyTreeCache',new Map());}[_0x68f90f(0x279)](){const _0x115312=_0x68f90f;super[_0x115312(0x279)](),this[_0x115312(0x2ad)]['clear']();}async['generate'](_0x52d9bc=!0x1){const _0x1abe1f=_0x68f90f;this[_0x1abe1f(0x1ee)]();const _0x547086=this[_0x1abe1f(0x2a7)][_0x1abe1f(0x2a9)](),_0x2f58ed=this[_0x1abe1f(0x270)][_0x1abe1f(0x246)](),_0x186562=this[_0x1abe1f(0x2a7)][_0x1abe1f(0x26a)]();_0x186562!=null&&Object['keys'](_0x186562)['forEach'](_0x27a363=>{const _0x113e5b=_0x1abe1f;_0x27a363!=null&&Object['keys'](_0x186562[_0x27a363])[_0x113e5b(0x250)](_0x425440=>{const _0x40fded=_0x113e5b;_0x425440!=null&&(this['_dependencyManagerService'][_0x40fded(0x2ab)](_0x27a363,_0x425440),this[_0x40fded(0x1e9)]['clearFeatureFormulaDependency'](_0x27a363,_0x425440),this['_dependencyManagerService'][_0x40fded(0x223)](_0x27a363,_0x425440));});});const _0x3d8cbd=this[_0x1abe1f(0x2a7)]['getUnitData']();await this[_0x1abe1f(0x29e)](_0x547086,_0x2f58ed,_0x3d8cbd),this[_0x1abe1f(0x1e9)][_0x1abe1f(0x27c)]();const _0xc98161=this[_0x1abe1f(0x2aa)](),_0x3f4f90=this[_0x1abe1f(0x2ae)](_0xc98161);return this[_0x1abe1f(0x297)](_0x3f4f90)&&this['_runtimeService'][_0x1abe1f(0x210)](),_0x52d9bc&&this['_runtimeService'][_0x1abe1f(0x22d)](this[_0x1abe1f(0x217)](Array[_0x1abe1f(0x273)](this[_0x1abe1f(0x2ad)]['values']()))),this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x1abe1f(0x1e9)][_0x1abe1f(0x21f)](),this['_runtimeService'][_0x1abe1f(0x225)](),Promise[_0x1abe1f(0x28d)](_0x3f4f90);}['_isCyclicUtilMap'](_0x3571d5,_0x110353){const _0x233be6=_0x68f90f,_0x32fb13=[_0x3571d5];for(;_0x32fb13[_0x233be6(0x28c)]>0x0;){const _0x360e9a=_0x32fb13[_0x32fb13[_0x233be6(0x28c)]-0x1];if((_0x110353[_0x233be6(0x1fe)](_0x360e9a)||0x0)===0x0){_0x110353[_0x233be6(0x1f2)](_0x360e9a,0x1);const _0x301f94=this['_dependencyTreeCache'][_0x233be6(0x1fe)](_0x360e9a);if(_0x301f94==null){_0x110353[_0x233be6(0x1f2)](_0x360e9a,0x2),_0x32fb13[_0x233be6(0x282)]();continue;}const _0xdc8dee=this[_0x233be6(0x1e9)][_0x233be6(0x218)](_0x301f94[_0x233be6(0x20d)]());for(const _0x3e3e9b of _0xdc8dee){const _0x386e30=_0x110353[_0x233be6(0x1fe)](_0x3e3e9b)||0x0;if(_0x386e30===0x1)return!0x0;_0x386e30===0x0&&_0x32fb13[_0x233be6(0x294)](_0x3e3e9b);}}else _0x110353[_0x233be6(0x1f2)](_0x360e9a,0x2),_0x32fb13['pop']();}return!0x1;}[_0x68f90f(0x297)](_0x5ae371){const _0x549e2b=_0x68f90f,_0x20e8b0=new Map();for(const _0x21b200 of _0x5ae371)if(!_0x20e8b0[_0x549e2b(0x20c)](_0x21b200[_0x549e2b(0x239)])&&this[_0x549e2b(0x2b4)](_0x21b200[_0x549e2b(0x239)],_0x20e8b0))return!0x0;return _0x20e8b0[_0x549e2b(0x1e2)](),!0x1;}[_0x68f90f(0x1f3)](_0x5a8df8,_0x54e22b,_0x5dd44d){const _0x4a545a=_0x68f90f,{unitId:_0x134e0d,subUnitId:_0x3c9429,dependencyRanges:_0x2a8cf0,getDirtyData:_0x491381}=_0x5dd44d,_0x3c026c=_0x54e22b||_0x571464(this['_dependencyManagerService']),_0xeb1198=new _0x4cb855(_0x3c026c);_0xeb1198[_0x4a545a(0x24c)]=_0x134e0d,_0xeb1198[_0x4a545a(0x222)]=_0x3c9429,_0xeb1198[_0x4a545a(0x278)]=_0x2a8cf0,_0xeb1198['getDirtyData']=_0x491381;const _0x569eb1=_0x491381(this['_currentConfigService'][_0x4a545a(0x2a8)](),this[_0x4a545a(0x286)]['getAllRuntimeData']()),_0x9748b6=this[_0x4a545a(0x1e1)](_0x569eb1['dirtyRanges']);return _0xeb1198[_0x4a545a(0x23c)]=_0x9748b6,_0xeb1198['featureId']=_0x5a8df8,_0xeb1198[_0x4a545a(0x292)]=_0x22b5ec[_0x4a545a(0x1fc)],this[_0x4a545a(0x1e9)][_0x4a545a(0x25d)](_0x134e0d,_0x3c9429,_0x5a8df8,_0xeb1198),this[_0x4a545a(0x2ad)][_0x4a545a(0x1f2)](_0xeb1198['treeId'],_0xeb1198),this[_0x4a545a(0x1e9)]['getFeatureFormulaDependency'](_0x5dd44d['unitId'],_0x5dd44d[_0x4a545a(0x222)],_0x5a8df8)&&(_0xeb1198[_0x4a545a(0x21c)]=!0x0),_0xeb1198;}[_0x68f90f(0x235)](_0x17e8c4,_0x4337c1,_0x414409){const _0x1cd6e6=_0x68f90f;var _0x4ded38;for(const _0x6621d4 of _0x4337c1){const _0x169e91=_0x17e8c4[_0x6621d4];if(_0x169e91==null)continue;const _0x46a93f=Object[_0x1cd6e6(0x29a)](_0x169e91);for(const _0x467ec2 of _0x46a93f){const _0x42b9a9=_0x169e91[_0x467ec2];if(_0x42b9a9==null)continue;const _0x19361a=Object[_0x1cd6e6(0x29a)](_0x42b9a9);for(const _0x12dbaa of _0x19361a){const _0x38f3ab=this[_0x1cd6e6(0x1e9)]['hasOtherFormulaDataMainData'](_0x12dbaa),_0x235684=_0x42b9a9[_0x12dbaa],{f:_0x555032,ranges:_0xfca9ec}=_0x235684;let _0x35ef9f=!0x1;_0x38f3ab&&(_0x35ef9f=!0x0);const {firstRow:_0x238e5c,firstColumn:_0x5d92f3}=this[_0x1cd6e6(0x23a)](_0xfca9ec),_0x39310d=this[_0x1cd6e6(0x1e9)][_0x1cd6e6(0x1f7)](_0x6621d4,_0x467ec2,_0x12dbaa),_0x53cc5b=(_0x4ded38=_0x39310d==null?void 0x0:_0x39310d['getValue'](0x0,0x0))!=null?_0x4ded38:_0x571464(this[_0x1cd6e6(0x1e9)]),_0x2b6b8a=new _0x4cb855(_0x53cc5b);for(let _0x3094b3=0x0;_0x3094b3<_0xfca9ec[_0x1cd6e6(0x28c)];_0x3094b3++){const _0x334524=_0xfca9ec[_0x3094b3],{startRow:_0x3c6272,startColumn:_0x35eaec,endRow:_0x683f01,endColumn:_0x2a0fe3}=_0x334524;for(let _0x24360d=_0x3c6272;_0x24360d<=_0x683f01;_0x24360d++)for(let _0xf6b7e7=_0x35eaec;_0xf6b7e7<=_0x2a0fe3;_0xf6b7e7++){const _0x4e25d1=_0xf6b7e7-_0x5d92f3,_0x23b262=_0x24360d-_0x238e5c;if(_0x4e25d1===0x0&&_0x23b262===0x0){_0x2b6b8a[_0x1cd6e6(0x21e)]=_0x555032,_0x2b6b8a[_0x1cd6e6(0x24c)]=_0x6621d4,_0x2b6b8a[_0x1cd6e6(0x222)]=_0x467ec2,_0x2b6b8a['formulaId']=_0x12dbaa,_0x2b6b8a[_0x1cd6e6(0x292)]=_0x22b5ec[_0x1cd6e6(0x206)],_0x2b6b8a[_0x1cd6e6(0x21c)]=_0x35ef9f,_0x414409[_0x1cd6e6(0x294)](_0x2b6b8a),this[_0x1cd6e6(0x2ad)][_0x1cd6e6(0x1f2)](_0x2b6b8a[_0x1cd6e6(0x239)],_0x2b6b8a),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x6621d4,_0x467ec2,_0x12dbaa,_0x2b6b8a),this[_0x1cd6e6(0x1e9)]['addFormulaDependencyByDefinedName'](_0x2b6b8a);continue;}const _0x1d3e06=new _0x5680ce();_0x1d3e06[_0x1cd6e6(0x239)]=(_0x39310d==null?void 0x0:_0x39310d[_0x1cd6e6(0x271)](_0x4e25d1,_0x23b262))||_0x571464(this[_0x1cd6e6(0x1e9)]),_0x1d3e06[_0x1cd6e6(0x2a4)]=_0x2b6b8a,_0x1d3e06[_0x1cd6e6(0x25f)]=_0x4e25d1,_0x1d3e06[_0x1cd6e6(0x29c)]=_0x23b262,_0x1d3e06[_0x1cd6e6(0x21c)]=_0x35ef9f,_0x1d3e06['type']=_0x22b5ec['OTHER_FORMULA'],this[_0x1cd6e6(0x1e9)][_0x1cd6e6(0x1e7)](_0x6621d4,_0x467ec2,_0x12dbaa,_0x1d3e06),this[_0x1cd6e6(0x1e9)]['addFormulaDependencyByDefinedName'](_0x1d3e06),_0x414409['push'](_0x1d3e06),this[_0x1cd6e6(0x2ad)][_0x1cd6e6(0x1f2)](_0x1d3e06[_0x1cd6e6(0x239)],_0x1d3e06);}}this[_0x1cd6e6(0x1e9)][_0x1cd6e6(0x237)](_0x12dbaa);}}}}[_0x68f90f(0x289)](_0x23027f,_0x3e5e28,_0x4323a7,_0xea0f9e){for(const _0x471aa7 of _0x23027f){const _0x3a7a8d=_0x3e5e28[_0x471aa7];if(_0x3a7a8d==null)continue;const _0x3f9176=Object['keys'](_0x3a7a8d);for(const _0x47d4a8 of _0x3f9176){const _0x5ddf2a=new _0x294747(_0x3a7a8d[_0x47d4a8]||{}),_0x633ecb=new Map();_0x5ddf2a['forValue']((_0x29b436,_0x166de4,_0x5e9f76)=>{const _0x8fbf7c=_0x1a4a;if(_0x5e9f76==null)return!0x0;const {x:_0x22d73a=0x0,y:y=0x0,si:_0xff7007}=_0x5e9f76;if(!(_0x22d73a===0x0&&y===0x0&&_0xff7007!=null))return!0x0;const _0x47e56a=this[_0x8fbf7c(0x269)](_0x471aa7,_0x47d4a8,_0x29b436,_0x166de4,_0x4323a7,_0x5e9f76),_0x5a1fd3=this['_dependencyManagerService'][_0x8fbf7c(0x234)](_0x471aa7,_0x47d4a8,_0x29b436,_0x166de4);_0x5a1fd3!=null?_0x47e56a[_0x8fbf7c(0x239)]=_0x5a1fd3:(this[_0x8fbf7c(0x1e9)]['addFormulaDependency'](_0x471aa7,_0x47d4a8,_0x29b436,_0x166de4,_0x47e56a),this[_0x8fbf7c(0x1e9)][_0x8fbf7c(0x22e)](_0x47e56a)),_0x633ecb[_0x8fbf7c(0x1f2)](_0xff7007,_0x47e56a),_0xea0f9e[_0x8fbf7c(0x294)](_0x47e56a),this['_dependencyTreeCache'][_0x8fbf7c(0x1f2)](_0x47e56a['treeId'],_0x47e56a);}),_0x5ddf2a['forValue']((_0x9553aa,_0x5889ad,_0x49b70d)=>{const _0x36dc69=_0x1a4a;if(_0x49b70d==null)return!0x0;const {x:_0xfb90e2=0x0,y:y=0x0,si:_0x1bdf79}=_0x49b70d;if(_0xfb90e2===0x0&&y===0x0&&_0x1bdf79!=null)return!0x0;let _0x92d1a8;if(_0x1bdf79&&_0x633ecb[_0x36dc69(0x20c)](_0x1bdf79)){const _0x8fb4a2=_0x633ecb['get'](_0x1bdf79);_0x92d1a8=this[_0x36dc69(0x22b)](_0x8fb4a2,_0x49b70d);}else _0x92d1a8=this[_0x36dc69(0x269)](_0x471aa7,_0x47d4a8,_0x9553aa,_0x5889ad,_0x4323a7,_0x49b70d);const _0x42cd9a=this[_0x36dc69(0x1e9)][_0x36dc69(0x234)](_0x471aa7,_0x47d4a8,_0x9553aa,_0x5889ad);_0x42cd9a!=null?_0x92d1a8[_0x36dc69(0x239)]=_0x42cd9a:(this[_0x36dc69(0x1e9)]['addFormulaDependency'](_0x471aa7,_0x47d4a8,_0x9553aa,_0x5889ad,_0x92d1a8),this['_dependencyManagerService'][_0x36dc69(0x22e)](_0x92d1a8)),_0xea0f9e['push'](_0x92d1a8),this['_dependencyTreeCache'][_0x36dc69(0x1f2)](_0x92d1a8[_0x36dc69(0x239)],_0x92d1a8);}),_0x633ecb['clear']();}}}[_0x68f90f(0x269)](_0x398a0d,_0xff20c8,_0x1df420,_0x5bc4a9,_0x5ad14b,_0x2da104){const _0x1e8454=_0x68f90f,{f:_0x3d26d8,x:_0xc28a42=0x0,y:_0x3197e6=0x0}=_0x2da104,_0x2d550d=new _0x4cb855(_0x571464(this[_0x1e8454(0x1e9)])),_0x190f86=_0x5ad14b[_0x398a0d][_0xff20c8];return _0x2d550d[_0x1e8454(0x21e)]=_0x3d26d8,_0x2d550d[_0x1e8454(0x24c)]=_0x398a0d,_0x2d550d['subUnitId']=_0xff20c8,_0x2d550d[_0x1e8454(0x2a0)]=_0x1df420,_0x2d550d[_0x1e8454(0x276)]=_0x5bc4a9,_0x2d550d['rowCount']=_0x190f86[_0x1e8454(0x2b0)],_0x2d550d[_0x1e8454(0x219)]=_0x190f86[_0x1e8454(0x219)],_0x2d550d;}['_getUpdateTreeListAndMakeDependency'](){const _0x430a91=_0x68f90f,_0x4f9426=[],_0x53d891=new Set(),_0x48340f=this[_0x430a91(0x2a7)]['isForceCalculate'](),_0x4d97d2=this['_currentConfigService'][_0x430a91(0x259)](),_0x4fceb1=this[_0x430a91(0x1e9)][_0x430a91(0x218)](_0x4d97d2),_0x101fde=this[_0x430a91(0x23e)]['bulkSearch'](_0x4d97d2);for(const _0x5acbff of _0x101fde)_0x4fceb1[_0x430a91(0x208)](_0x5acbff);for(const [_0x4c6a42,_0x52018e]of this[_0x430a91(0x2ad)])(_0x48340f||_0x52018e[_0x430a91(0x26d)]||_0x52018e['dependencySheetName'](this[_0x430a91(0x2a7)][_0x430a91(0x226)]())||_0x4fceb1[_0x430a91(0x20c)](_0x4c6a42)&&!_0x52018e['isExcludeRange'](this[_0x430a91(0x2a7)][_0x430a91(0x287)]()))&&!_0x53d891[_0x430a91(0x20c)](_0x4c6a42)&&(_0x4f9426[_0x430a91(0x294)](_0x52018e),_0x53d891['add'](_0x4c6a42));for(const [_0x64d9e2,_0x5b06b8]of this[_0x430a91(0x2ad)])_0x5b06b8['isVirtual']||(_0x5b06b8[_0x430a91(0x278)][_0x430a91(0x28c)]=0x0);return _0x4f9426;}[_0x68f90f(0x251)](_0x5bec8c){const _0x4d179c=_0x68f90f;return this[_0x4d179c(0x2ad)]['get'](_0x5bec8c);}[_0x68f90f(0x1fd)](_0x5ac3db){const _0x31cbe9=_0x68f90f;return _0x1a4368(_0x5ac3db[_0x31cbe9(0x24c)],_0x5ac3db[_0x31cbe9(0x21e)],this[_0x31cbe9(0x212)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x68f90f(0x202)](_0x6d130c,_0x5caf45){const _0x26ce94=_0x68f90f,_0x300808=_0x6d130c,_0x3bd3c8=new Set();for(;_0x300808[_0x26ce94(0x28c)]>0x0;){const _0x4b5309=_0x300808[_0x26ce94(0x282)]();if(_0x3bd3c8[_0x26ce94(0x1e2)](),_0x4b5309===void 0x0||_0x4b5309[_0x26ce94(0x254)]())continue;if(_0x4b5309[_0x26ce94(0x21a)]()){yield _0x4b5309,_0x4b5309['setSkip'](),_0x5caf45[_0x26ce94(0x208)](_0x4b5309[_0x26ce94(0x239)]);continue;}const _0x2efd73=this[_0x26ce94(0x1e9)][_0x26ce94(0x218)](_0x4b5309[_0x26ce94(0x20d)](),_0x5caf45),_0x3c6d03=this[_0x26ce94(0x23e)][_0x26ce94(0x26c)](_0x4b5309[_0x26ce94(0x20d)](),_0x5caf45);for(const _0x26a2b1 of _0x3c6d03)_0x2efd73[_0x26ce94(0x208)](_0x26a2b1);for(const _0x4b404d of _0x2efd73){const _0x406dbe=this[_0x26ce94(0x2ad)]['get'](_0x4b404d);if(!_0x406dbe){console[_0x26ce94(0x243)](_0x26ce94(0x2b6),_0x4b404d);continue;}_0x406dbe[_0x26ce94(0x21a)]()||_0x4b5309['isSkip']()||_0x3bd3c8['add'](_0x406dbe);}if(_0x2efd73['clear'](),_0x3bd3c8[_0x26ce94(0x1f8)]===0x0)yield _0x4b5309,_0x4b5309[_0x26ce94(0x238)](),_0x5caf45[_0x26ce94(0x208)](_0x4b5309[_0x26ce94(0x239)]);else{_0x4b5309[_0x26ce94(0x1fb)](),_0x300808[_0x26ce94(0x294)](_0x4b5309);for(const _0x269086 of _0x3bd3c8)_0x300808[_0x26ce94(0x294)](_0x269086);}}_0x300808[_0x26ce94(0x28c)]=0x0,_0x3bd3c8[_0x26ce94(0x1e2)]();}[_0x68f90f(0x2ae)](_0x2d1448){const _0x469f5a=_0x68f90f,_0x58140a=[],_0xff4d9=new Set();for(const _0x10eb30 of this[_0x469f5a(0x202)](_0x2d1448,_0xff4d9))_0x58140a['push'](_0x10eb30);return _0x58140a;}async[_0x68f90f(0x216)](){const _0x42bbd4=_0x68f90f;return await this[_0x42bbd4(0x2b2)](),Array[_0x42bbd4(0x273)](this['_dependencyTreeCache'][_0x42bbd4(0x256)]());}[_0x68f90f(0x2af)](_0x340272){const _0x4a6a9d=_0x68f90f;return this[_0x4a6a9d(0x1e9)][_0x4a6a9d(0x218)](_0x340272[_0x4a6a9d(0x20d)]());}['_getDependencyTreeChildrenIds'](_0xd3dd38){const _0x559496=_0x68f90f,_0x12bf9b=new Set(),_0x58caf0=_0xd3dd38['rangeList'];for(const [_0x32b478,_0x28d0a3]of this[_0x559496(0x2ad)])for(const _0x1c6347 of _0x58caf0){const _0x103019=_0x1c6347[_0x559496(0x24c)],_0x111b7c=_0x1c6347['sheetId'];if(_0x28d0a3['unitId']!==_0x103019||_0x28d0a3[_0x559496(0x222)]!==_0x111b7c)continue;const _0xe5211e=_0x1c6347[_0x559496(0x1e8)];if(_0x28d0a3[_0x559496(0x2a1)](_0xe5211e)){_0x12bf9b[_0x559496(0x208)](_0x32b478);break;}}return _0x12bf9b;}[_0x68f90f(0x23b)](){const _0x25ac7f=_0x68f90f;this[_0x25ac7f(0x1e9)][_0x25ac7f(0x27c)]();}[_0x68f90f(0x1ff)](){const _0xa47d39=_0x68f90f;this[_0xa47d39(0x281)][_0xa47d39(0x1e2)](),this[_0xa47d39(0x2ad)][_0xa47d39(0x1e2)](),this[_0xa47d39(0x1e9)][_0xa47d39(0x21f)]();}}const Se=_0x68f90f(0x255),ve={0x0:'P',0x1:'X',0x2:'c',0x3:'o',0x4:'G',0x5:'x',0x6:'r',0x7:'n',0x8:'K',0x9:'6','b':'0','s':'1','a':'2','X':'3','v':'4','A':'5','D':'7','f':'8','g':'9','O':'a','B':'b','l':'d','C':'e','z':'f','o':'g','S':'h','I':'i','q':'j','Z':'k','L':'l','P':'m','J':'p','\x20':'q','Y':'s','t':'t','d':'u','i':'v','K':'w','p':'y','W':'z','m':'A','E':'B','U':'C','k':'D','y':'E','r':'F','c':'H','H':'I','w':'J','n':'L','j':'M','e':'N','M':'O','F':'Q','x':'R','T':'S','h':'T','R':'U','G':'V','Q':'W','u':'Y','N':'Z','V':'\x20'};class Me extends _0x2ffa5b{async['_apply'](_0x4aebd0=!0x1){const _0xf96cf8=_0x68f90f;_0x4aebd0?this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2[_0xf96cf8(0x2ac)]),this[_0xf96cf8(0x213)][_0xf96cf8(0x28a)](this[_0xf96cf8(0x286)][_0xf96cf8(0x29f)]());const _0x179632=await this['_formulaDependencyGenerator'][_0xf96cf8(0x253)](this[_0xf96cf8(0x233)]),_0x4dbf14=this[_0xf96cf8(0x2b5)];_0x4aebd0?(this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2['START_CALCULATION_ARRAY_FORMULA']),this[_0xf96cf8(0x286)]['setTotalArrayFormulasToCalculate'](_0x179632[_0xf96cf8(0x28c)])):(this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2[_0xf96cf8(0x228)]),this[_0xf96cf8(0x286)][_0xf96cf8(0x258)](_0x179632[_0xf96cf8(0x28c)])),this['_executionInProgressListener$'][_0xf96cf8(0x28a)](this[_0xf96cf8(0x286)][_0xf96cf8(0x29f)]());let _0x585619=[];const _0x65e1fb=this['_configService'][_0xf96cf8(0x27e)](_0x40ed90),_0x32215e=(_0x65e1fb==null?void 0x0:_0x65e1fb['intervalCount'])||_0x41c4b0;let _0x453b19=0x0;const _0x489668=_0x179632[_0xf96cf8(0x28c)];for(;_0x179632['length']>0x0;){const _0x91dd2e=_0x179632['pop'](),_0xe79f95=_0x1a4368(_0x91dd2e[_0xf96cf8(0x24c)],_0x91dd2e[_0xf96cf8(0x21e)],this[_0xf96cf8(0x212)],this[_0xf96cf8(0x28f)],this[_0xf96cf8(0x2a7)]),_0x181e1d={'node':_0xe79f95,'refOffsetX':_0x91dd2e[_0xf96cf8(0x25f)],'refOffsetY':_0x91dd2e['refOffsetY']},_0x1fdf8e=_0x91dd2e['getDirtyData'];if(_0x453b19%_0x32215e===0x0&&(await new Promise(_0x78da26=>{const _0x3204bc=_0x204467(_0x78da26);_0x585619['push'](_0x3204bc);}),_0x4aebd0?(this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2[_0xf96cf8(0x27d)]),this[_0xf96cf8(0x286)][_0xf96cf8(0x1ec)](_0x453b19+0x1)):(this['_runtimeService'][_0xf96cf8(0x261)](_0x3d0ad2[_0xf96cf8(0x1e3)]),this[_0xf96cf8(0x286)]['setCompletedFormulasCount'](_0x453b19+0x1)),this[_0xf96cf8(0x213)]['next'](this['_runtimeService'][_0xf96cf8(0x29f)]()),this['_runtimeService'][_0xf96cf8(0x24f)]()||_0x181e1d==null&&_0x1fdf8e==null)){this[_0xf96cf8(0x286)][_0xf96cf8(0x261)](_0x3d0ad2[_0xf96cf8(0x2b7)]),this['_runtimeService'][_0xf96cf8(0x1f9)](),this[_0xf96cf8(0x1ea)][_0xf96cf8(0x28a)](this['_runtimeService']['getAllRuntimeData']());return;}this['_runtimeService'][_0xf96cf8(0x264)](_0x91dd2e[_0xf96cf8(0x2a0)],_0x91dd2e[_0xf96cf8(0x276)],_0x91dd2e['rowCount'],_0x91dd2e[_0xf96cf8(0x219)],_0x91dd2e[_0xf96cf8(0x222)],_0x91dd2e[_0xf96cf8(0x24c)]);let _0x506819;if(_0x1fdf8e!=null&&_0x91dd2e[_0xf96cf8(0x265)]!=null){const {runtimeCellData:_0x4ef120,dirtyRanges:_0x181901}=_0x1fdf8e(this['_currentConfigService'][_0xf96cf8(0x2a8)](),this[_0xf96cf8(0x286)]['getAllRuntimeData']());this[_0xf96cf8(0x286)][_0xf96cf8(0x285)](_0x91dd2e[_0xf96cf8(0x265)],_0x4ef120),this[_0xf96cf8(0x286)][_0xf96cf8(0x29d)](_0x91dd2e[_0xf96cf8(0x265)],_0x181901);}else _0x181e1d!=null&&(_0x4dbf14[_0xf96cf8(0x247)](_0x181e1d[_0xf96cf8(0x240)])?_0x506819=await _0x4dbf14[_0xf96cf8(0x227)](_0x181e1d):_0x506819=_0x4dbf14[_0xf96cf8(0x20e)](_0x181e1d),_0x91dd2e[_0xf96cf8(0x209)]!=null?this['_runtimeService'][_0xf96cf8(0x280)](_0x91dd2e[_0xf96cf8(0x209)],_0x91dd2e[_0xf96cf8(0x25f)],_0x91dd2e[_0xf96cf8(0x29c)],_0x506819):this['_runtimeService'][_0xf96cf8(0x27a)](_0x506819));_0xe79f95[_0xf96cf8(0x24b)](),_0x453b19++;}return _0x585619[_0xf96cf8(0x250)](_0xfc4a84=>_0xfc4a84()),_0x585619=[],_0x489668>0x0?this[_0xf96cf8(0x286)][_0xf96cf8(0x283)]():_0x4aebd0||this[_0xf96cf8(0x286)][_0xf96cf8(0x205)](),this['_runtimeService'][_0xf96cf8(0x1f1)]();}}class xe extends _0x2c3e36{constructor(){const _0x4f7cc2=_0x68f90f;super(...arguments),F(this,_0x4f7cc2(0x204),new Map()),F(this,_0x4f7cc2(0x22a),new _0x22aa45(!0x0));}['reset'](){const _0x20c49c=_0x68f90f;this[_0x20c49c(0x263)][_0x20c49c(0x1e2)](),this[_0x20c49c(0x1f0)][_0x20c49c(0x1e2)](),this[_0x20c49c(0x277)]['clear'](),this[_0x20c49c(0x22a)][_0x20c49c(0x1e2)](),this['_allTreeMap'][_0x20c49c(0x1e2)](),this['_restDependencyTreeId'](),this['_otherFormulaDataMainData'][_0x20c49c(0x1e2)]();}[_0x68f90f(0x1e7)](_0x5ee789,_0x631210,_0x23460d,_0x4356cd){const _0xbc4027=_0x68f90f;this[_0xbc4027(0x263)][_0xbc4027(0x20c)](_0x5ee789)||this[_0xbc4027(0x263)]['set'](_0x5ee789,new Map());const _0x10058d=this[_0xbc4027(0x263)][_0xbc4027(0x1fe)](_0x5ee789);_0x10058d['has'](_0x631210)||_0x10058d[_0xbc4027(0x1f2)](_0x631210,new Map());const _0x4bcb95=_0x10058d[_0xbc4027(0x1fe)](_0x631210);_0x4bcb95[_0xbc4027(0x20c)](_0x23460d)||_0x4bcb95[_0xbc4027(0x1f2)](_0x23460d,new _0x294747()),_0x4bcb95[_0xbc4027(0x1fe)](_0x23460d)[_0xbc4027(0x274)](_0x4356cd[_0xbc4027(0x25f)],_0x4356cd['refOffsetY'],_0x4356cd[_0xbc4027(0x239)]);}['removeOtherFormulaDependency'](_0x5dee64,_0x22e340,_0x5ed5d5){const _0x48e23a=_0x68f90f,_0x2c8f38=this[_0x48e23a(0x263)][_0x48e23a(0x1fe)](_0x5dee64);if(_0x2c8f38&&_0x2c8f38[_0x48e23a(0x20c)](_0x22e340)){const _0x13e24d=_0x2c8f38[_0x48e23a(0x1fe)](_0x22e340);_0x5ed5d5[_0x48e23a(0x250)](_0x4b623e=>{const _0x5c9ac8=_0x48e23a,_0x8e0048=_0x13e24d['get'](_0x4b623e);_0x8e0048!=null&&(_0x8e0048[_0x5c9ac8(0x1eb)]((_0x375e1d,_0x1cddb5,_0x34f3c0)=>{const _0x4e9169=_0x5c9ac8;this[_0x4e9169(0x20f)](_0x34f3c0),this[_0x4e9169(0x1e5)](_0x34f3c0);}),_0x13e24d[_0x5c9ac8(0x1ed)](_0x4b623e),this['_otherFormulaDataMainData'][_0x5c9ac8(0x1ed)](_0x4b623e));}),_0x13e24d[_0x48e23a(0x1f8)]===0x0&&_0x2c8f38[_0x48e23a(0x1ed)](_0x22e340),_0x2c8f38['size']===0x0&&this[_0x48e23a(0x263)][_0x48e23a(0x1ed)](_0x5dee64);}}[_0x68f90f(0x2ab)](_0x2a7cee,_0x426374){const _0x1d5002=_0x68f90f,_0x1a1781=this[_0x1d5002(0x263)][_0x1d5002(0x1fe)](_0x2a7cee);if(_0x426374&&_0x1a1781&&_0x1a1781['has'](_0x426374)){const _0xed1f14=_0x1a1781['get'](_0x426374);this[_0x1d5002(0x229)](_0x2a7cee,_0x426374);for(const _0x790991 of _0xed1f14[_0x1d5002(0x29a)]()){const _0x34bf57=_0xed1f14[_0x1d5002(0x1fe)](_0x790991);_0x34bf57!=null&&(_0x34bf57[_0x1d5002(0x1eb)]((_0x3da8e7,_0x119351,_0x3f5357)=>{const _0x554d78=_0x1d5002;this[_0x554d78(0x204)]['get'](_0x3f5357)&&this[_0x554d78(0x1e5)](_0x3f5357);}),this['_otherFormulaDataMainData'][_0x1d5002(0x1ed)](_0x790991));}_0xed1f14[_0x1d5002(0x1e2)]();}else{if(_0x1a1781){for(const _0x34b3f0 of _0x1a1781[_0x1d5002(0x29a)]()){const _0x523bf1=_0x1a1781[_0x1d5002(0x1fe)](_0x34b3f0);this[_0x1d5002(0x229)](_0x2a7cee,_0x34b3f0);for(const _0x1bb95e of _0x523bf1[_0x1d5002(0x29a)]()){const _0x5521ea=_0x523bf1[_0x1d5002(0x1fe)](_0x1bb95e);_0x5521ea!=null&&(_0x5521ea['forValue']((_0x3129f9,_0x151068,_0x172254)=>{const _0x602066=_0x1d5002;this[_0x602066(0x204)]['get'](_0x172254)&&this[_0x602066(0x1e5)](_0x172254);}),this[_0x1d5002(0x25b)][_0x1d5002(0x1ed)](_0x1bb95e));}}this[_0x1d5002(0x263)][_0x1d5002(0x1ed)](_0x2a7cee);}}}['addFeatureFormulaDependency'](_0x4d3e2e,_0x1e2ede,_0x4d3647,_0xdbf036){const _0x30bd25=_0x68f90f;this[_0x30bd25(0x1f0)][_0x30bd25(0x20c)](_0x4d3e2e)||this[_0x30bd25(0x1f0)][_0x30bd25(0x1f2)](_0x4d3e2e,new Map());const _0x49cfc6=this[_0x30bd25(0x1f0)]['get'](_0x4d3e2e);_0x49cfc6['has'](_0x1e2ede)||_0x49cfc6[_0x30bd25(0x1f2)](_0x1e2ede,new Map()),_0x49cfc6[_0x30bd25(0x1fe)](_0x1e2ede)[_0x30bd25(0x1f2)](_0x4d3647,_0xdbf036[_0x30bd25(0x239)]);}[_0x68f90f(0x214)](_0x510af8,_0x5b38ab,_0x4957b5){const _0x5674e3=_0x68f90f,_0x55a61f=this[_0x5674e3(0x1f0)][_0x5674e3(0x1fe)](_0x510af8);if(_0x55a61f&&_0x55a61f[_0x5674e3(0x20c)](_0x5b38ab)){const _0x10b9b1=_0x55a61f[_0x5674e3(0x1fe)](_0x5b38ab);_0x4957b5[_0x5674e3(0x250)](_0x4b1573=>{const _0x314e1d=_0x5674e3,_0x1cdf0b=_0x10b9b1['get'](_0x4b1573);_0x1cdf0b!=null&&(this[_0x314e1d(0x20f)](_0x1cdf0b),_0x10b9b1['delete'](_0x4b1573),this[_0x314e1d(0x1e5)](_0x1cdf0b));});}}[_0x68f90f(0x241)](_0x37bfa2,_0x3dd7e1){const _0x4d5268=_0x68f90f,_0x1b4e62=this[_0x4d5268(0x1f0)][_0x4d5268(0x1fe)](_0x37bfa2);if(_0x3dd7e1&&_0x1b4e62&&_0x1b4e62[_0x4d5268(0x20c)](_0x3dd7e1)){const _0x10d2c9=_0x1b4e62['get'](_0x3dd7e1);this[_0x4d5268(0x229)](_0x37bfa2,_0x3dd7e1),_0x10d2c9['forEach'](_0xf8a09e=>{const _0x18b0e9=_0x4d5268;_0xf8a09e!=null&&this[_0x18b0e9(0x1e5)](_0xf8a09e);}),_0x10d2c9[_0x4d5268(0x1e2)]();}else _0x1b4e62&&(_0x1b4e62[_0x4d5268(0x250)]((_0x5d65c4,_0x196e2b)=>{const _0x14ac7c=_0x4d5268;this[_0x14ac7c(0x229)](_0x37bfa2,_0x196e2b),_0x5d65c4[_0x14ac7c(0x250)](_0x2e4edf=>{const _0x40da57=_0x14ac7c;_0x2e4edf!=null&&this[_0x40da57(0x1e5)](_0x2e4edf);});}),this[_0x4d5268(0x1f0)][_0x4d5268(0x1ed)](_0x37bfa2));}[_0x68f90f(0x268)](_0x34f83a,_0x19644e,_0x218901,_0x2d405b,_0x21aa43){const _0xee2328=_0x68f90f;this['_formulaData'][_0xee2328(0x20c)](_0x34f83a)||this[_0xee2328(0x277)][_0xee2328(0x1f2)](_0x34f83a,new Map());const _0x43115c=this[_0xee2328(0x277)][_0xee2328(0x1fe)](_0x34f83a);_0x43115c['has'](_0x19644e)||_0x43115c[_0xee2328(0x1f2)](_0x19644e,new _0x294747()),_0x43115c[_0xee2328(0x1fe)](_0x19644e)['setValue'](_0x218901,_0x2d405b,_0x21aa43['treeId']);}['removeFormulaDependency'](_0x53be06,_0x4b9202,_0x53b39c,_0x48a881){const _0x45ea5f=_0x68f90f,_0x5404a3=this['_formulaData'][_0x45ea5f(0x1fe)](_0x53be06);if(_0x5404a3&&_0x5404a3['has'](_0x4b9202)){const _0x10d747=_0x5404a3[_0x45ea5f(0x1fe)](_0x4b9202),_0x4040ed=_0x10d747[_0x45ea5f(0x271)](_0x53b39c,_0x48a881);if(_0x4040ed==null)return;this['_removeDependencyRTreeCache'](_0x4040ed),_0x10d747[_0x45ea5f(0x22c)](_0x53b39c,_0x48a881),this[_0x45ea5f(0x1e5)](_0x4040ed);}}[_0x68f90f(0x223)](_0x480e3b,_0x4791a1){const _0x11f7d0=_0x68f90f,_0x1cef65=this['_formulaData'][_0x11f7d0(0x1fe)](_0x480e3b);if(_0x4791a1&&_0x1cef65&&_0x1cef65[_0x11f7d0(0x20c)](_0x4791a1)){const _0x17940f=_0x1cef65[_0x11f7d0(0x1fe)](_0x4791a1);this[_0x11f7d0(0x229)](_0x480e3b,_0x4791a1),_0x17940f[_0x11f7d0(0x1eb)]((_0x4290ac,_0x289ecf,_0x56915c)=>{if(_0x56915c==null)return!0x0;this['_removeAllTreeMap'](_0x56915c);}),_0x17940f[_0x11f7d0(0x25c)]();}else _0x1cef65&&(_0x1cef65[_0x11f7d0(0x250)]((_0x2582b3,_0x47db77)=>{const _0x39136a=_0x11f7d0;this[_0x39136a(0x229)](_0x480e3b,_0x47db77),_0x2582b3[_0x39136a(0x1eb)]((_0x2b5e57,_0x3add1e,_0x211f35)=>{const _0x2ca384=_0x39136a;if(_0x211f35==null)return!0x0;this[_0x2ca384(0x1e5)](_0x211f35);});}),this[_0x11f7d0(0x277)][_0x11f7d0(0x1ed)](_0x480e3b));}['_removeDependencyRTreeCache'](_0x6fe252){const _0x1813b7=_0x68f90f;if(_0x6fe252==null)return;const _0x4d6baa=this[_0x1813b7(0x204)][_0x1813b7(0x1fe)](_0x6fe252);if(_0x4d6baa){const _0x58daca=[];for(const [_0x1d3a3e,_0x3a4ba3]of _0x4d6baa)for(const [_0x140396,_0x35ef83]of _0x3a4ba3)_0x58daca[_0x1813b7(0x294)]({'unitId':_0x1d3a3e,'sheetId':_0x140396,'range':_0x35ef83,'id':_0x6fe252});this['_dependencyRTreeCache']['bulkRemove'](_0x58daca);}}[_0x68f90f(0x2a3)](_0x59ca79,_0x5b9c12){const _0x540d90=_0x68f90f,_0x17f532=this[_0x540d90(0x28b)][_0x540d90(0x1fe)](_0x59ca79);if(_0x17f532){const _0x247a6b=_0x17f532[_0x540d90(0x1fe)](_0x5b9c12);if(_0x247a6b){for(const _0x1db785 of _0x247a6b)this[_0x540d90(0x20f)](_0x1db785),this['_removeAllTreeMap'](_0x1db785);_0x247a6b[_0x540d90(0x1e2)]();}}}[_0x68f90f(0x27c)](){const _0x52574c=_0x68f90f;this[_0x52574c(0x22a)][_0x52574c(0x27c)]();}[_0x68f90f(0x21f)](){const _0x5b2028=_0x68f90f;this[_0x5b2028(0x22a)][_0x5b2028(0x21f)]();}[_0x68f90f(0x1e5)](_0x4c9a24){const _0x2e039e=_0x68f90f;_0x4c9a24!=null&&this[_0x2e039e(0x204)]['delete'](_0x4c9a24);}['_addAllTreeMap'](_0x4b0815){const _0x4393fe=_0x68f90f;var _0x222f4d,_0x3e4a64;const _0x3195e3=_0x4b0815[_0x4393fe(0x278)];let _0x365592=this['_allTreeMap']['get'](_0x4b0815[_0x4393fe(0x239)]);for(let _0x317bd3=0x0;_0x317bd3<_0x3195e3['length'];_0x317bd3++){const _0x2d950e=_0x3195e3[_0x317bd3];let {unitId:_0x3e888c,sheetId:_0x223f5a,range:_0x445e31}=_0x2d950e;_0x365592||(_0x365592=new Map(),this['_allTreeMap'][_0x4393fe(0x1f2)](_0x4b0815[_0x4393fe(0x239)],_0x365592)),_0x365592[_0x4393fe(0x20c)](_0x3e888c)||_0x365592['set'](_0x3e888c,new Map());const _0x105e1c=(_0x222f4d=_0x365592==null?void 0x0:_0x365592[_0x4393fe(0x1fe)](_0x3e888c))==null?void 0x0:_0x222f4d[_0x4393fe(0x1fe)](_0x223f5a);_0x105e1c&&(_0x445e31={'startRow':Math[_0x4393fe(0x20b)](_0x445e31[_0x4393fe(0x1f5)],_0x105e1c[_0x4393fe(0x1f5)]),'startColumn':Math[_0x4393fe(0x20b)](_0x445e31[_0x4393fe(0x262)],_0x105e1c['startColumn']),'endRow':Math[_0x4393fe(0x299)](_0x445e31[_0x4393fe(0x24e)],_0x105e1c[_0x4393fe(0x24e)]),'endColumn':Math[_0x4393fe(0x299)](_0x445e31['endColumn'],_0x105e1c[_0x4393fe(0x21b)])}),(_0x3e4a64=_0x365592[_0x4393fe(0x1fe)](_0x3e888c))==null||_0x3e4a64[_0x4393fe(0x1f2)](_0x223f5a,_0x445e31);}}}var Le=Object[_0x68f90f(0x1f6)],Ee=(_0x3c2720,_0x2d4ca9,_0x1649b2,_0x2a01c6)=>{const _0x227f57=_0x68f90f;for(var _0x56093d=_0x2a01c6>0x1?void 0x0:_0x2a01c6?Le(_0x2d4ca9,_0x1649b2):_0x2d4ca9,_0x17cfae=_0x3c2720[_0x227f57(0x28c)]-0x1,_0x413695;_0x17cfae>=0x0;_0x17cfae--)(_0x413695=_0x3c2720[_0x17cfae])&&(_0x56093d=_0x413695(_0x56093d)||_0x56093d);return _0x56093d;};const Ye=Number[_0x68f90f(0x2b3)](0x698d9970);let W=class extends _0x31f423{[_0x68f90f(0x200)](){const _0x566609=_0x68f90f;var _0x3e3a21,_0x58bd3f;this['_initLicenseValid']()?(this[_0x566609(0x211)]['add']([_0x4761e4,{'useClass':De}]),(_0x3e3a21=this[_0x566609(0x1ef)])!=null&&_0x3e3a21['notExecuteFormula']||[[_0x37b3d9,{'useClass':Me}],[_0x3e7d05,{'useClass':xe}],[_0x5d3fc6,{'useClass':Oe}]][_0x566609(0x250)](_0x401533=>this[_0x566609(0x211)]['add'](_0x401533))):(this[_0x566609(0x211)][_0x566609(0x208)]([_0x4761e4,{'useClass':_0x4761e4}]),(_0x58bd3f=this[_0x566609(0x1ef)])!=null&&_0x58bd3f[_0x566609(0x22f)]||[[_0x37b3d9,{'useClass':_0x2ffa5b}],[_0x3e7d05,{'useClass':_0x2b089c}],[_0x5d3fc6,{'useClass':_0x403280}]][_0x566609(0x250)](_0x4ec9a3=>this[_0x566609(0x211)][_0x566609(0x208)](_0x4ec9a3)));}[_0x68f90f(0x2a5)](){const _0x5da06e=_0x68f90f;var _0x166184;const _0x190b9f=(_0x166184=this['_configService'][_0x5da06e(0x27e)](_0x3f41b0))!=null?_0x166184:{},{ls:_0x4ebef3,pbk:_0x1b9489}=_0x190b9f;if(!_0x4ebef3||!_0x1b9489)return!0x1;const _0xfbd3f3=_0x28206e(Se,ve),_0x40768c=new Function(_0x5da06e(0x207)+_0xfbd3f3)()(_0x4ebef3,_0x1b9489),_0x1ebfbb=_0x40768c[_0x5da06e(0x24a)];return _0x40768c['valid']&&_0x1815ab(_0x1ebfbb,'sf',Ye)?_0x336085(_0x1ebfbb,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};W=Ee([_0x3206c8(_0x205a9a)],W);function _0x1a4a(_0x3ba1a0,_0x44ce0d){_0x3ba1a0=_0x3ba1a0-0x1e1;const _0x94a61=_0x94a6();let _0x1a4a14=_0x94a61[_0x3ba1a0];return _0x1a4a14;}export{De as LexerTreeProBuilder,W as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5b0b(_0x249ed2,_0xc4c0c1){_0x249ed2=_0x249ed2-0x167;var _0x2d3d22=_0x2d3d();var _0x5b0bf4=_0x2d3d22[_0x249ed2];return _0x5b0bf4;}function _0x2d3d(){var _0x2e5da8=['45690psgfNP','18854lSqGoh','4212128kqCvzZ','1545992XxoYCO','2385hFJTjg','5863473XCWkBZ','6gisPaj','11kmtOpo','4015960vUxbfI','2118612eXcmZE'];_0x2d3d=function(){return _0x2e5da8;};return _0x2d3d();}(function(_0x1a4893,_0x117597){var _0x5c18f6=_0x5b0b,_0x5428de=_0x1a4893();while(!![]){try{var _0x2351d7=-parseInt(_0x5c18f6(0x16a))/0x1*(-parseInt(_0x5c18f6(0x16e))/0x2)+parseInt(_0x5c18f6(0x16c))/0x3+-parseInt(_0x5c18f6(0x16f))/0x4+-parseInt(_0x5c18f6(0x16b))/0x5*(-parseInt(_0x5c18f6(0x169))/0x6)+-parseInt(_0x5c18f6(0x168))/0x7+-parseInt(_0x5c18f6(0x170))/0x8+-parseInt(_0x5c18f6(0x167))/0x9*(-parseInt(_0x5c18f6(0x16d))/0xa);if(_0x2351d7===_0x117597)break;else _0x5428de['push'](_0x5428de['shift']());}catch(_0x2770d4){_0x5428de['push'](_0x5428de['shift']());}}}(_0x2d3d,0xb4a76));export*from'@univerjs/engine-formula/facade';
1
+ (function(_0x4fbb69,_0x28270e){var _0x3481e8=_0xa851,_0x33dfc7=_0x4fbb69();while(!![]){try{var _0x57e838=parseInt(_0x3481e8(0x115))/0x1*(-parseInt(_0x3481e8(0x112))/0x2)+parseInt(_0x3481e8(0x113))/0x3*(-parseInt(_0x3481e8(0x111))/0x4)+-parseInt(_0x3481e8(0x11c))/0x5+-parseInt(_0x3481e8(0x117))/0x6*(parseInt(_0x3481e8(0x11b))/0x7)+-parseInt(_0x3481e8(0x11a))/0x8+-parseInt(_0x3481e8(0x116))/0x9*(parseInt(_0x3481e8(0x119))/0xa)+parseInt(_0x3481e8(0x114))/0xb*(parseInt(_0x3481e8(0x118))/0xc);if(_0x57e838===_0x28270e)break;else _0x33dfc7['push'](_0x33dfc7['shift']());}catch(_0x7e0c2d){_0x33dfc7['push'](_0x33dfc7['shift']());}}}(_0x58f9,0x287da));export*from'@univerjs/engine-formula/facade';function _0xa851(_0x12a4aa,_0x4b6714){_0x12a4aa=_0x12a4aa-0x111;var _0x58f9c3=_0x58f9();var _0xa8518=_0x58f9c3[_0x12a4aa];return _0xa8518;}function _0x58f9(){var _0x4e7e20=['2772eJikyR','10vRaOkl','1164248SUBIFw','973833TYpMpt','441640jVCAjO','284oCrTkB','1998WyZPpi','4971bcGvuX','38225DERyZX','93UNiFBV','480087ngbZGB','6NmFsTW'];_0x58f9=function(){return _0x4e7e20;};return _0x58f9();}