@univerjs-pro/engine-formula 0.14.0 → 0.15.0-insiders.20251227-dafc157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +40 -40
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/engine/lexer-tree-builder.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +7 -7
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x17058e=_0x1821;(function(_0xb21be3,_0x491caa){const _0x1b0589=_0x1821,_0xa0121c=_0xb21be3();while(!![]){try{const _0x4c3286=parseInt(_0x1b0589(0xd6))/0x1+-parseInt(_0x1b0589(0xd1))/0x2+-parseInt(_0x1b0589(0xd4))/0x3*(-parseInt(_0x1b0589(0xcc))/0x4)+parseInt(_0x1b0589(0xcd))/0x5+-parseInt(_0x1b0589(0xd0))/0x6+parseInt(_0x1b0589(0xc9))/0x7+-parseInt(_0x1b0589(0xd3))/0x8;if(_0x4c3286===_0x491caa)break;else _0xa0121c['push'](_0xa0121c['shift']());}catch(_0x23fc35){_0xa0121c['push'](_0xa0121c['shift']());}}}(_0x17d4,0x982ba));function _0x1821(_0x2c3b2b,_0x2a5ed6){_0x2c3b2b=_0x2c3b2b-0xc9;const _0x17d4d4=_0x17d4();let _0x182141=_0x17d4d4[_0x2c3b2b];return _0x182141;}Object['defineProperty'](exports,Symbol[_0x17058e(0xca)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)['forEach'](_0x2a46d1=>{const _0x8e36c=_0x17058e;_0x2a46d1!==_0x8e36c(0xcb)&&!Object[_0x8e36c(0xcf)][_0x8e36c(0xd5)][_0x8e36c(0xd2)](exports,_0x2a46d1)&&Object[_0x8e36c(0xce)](exports,_0x2a46d1,{'enumerable':!0x0,'get':()=>t[_0x2a46d1]});});function _0x17d4(){const _0x5a13a7=['3472917LVrMkz','toStringTag','default','1004kDqFOm','5844850GCBbvT','defineProperty','prototype','2574870TwCsNE','1323086NNXMbI','call','652656ErmXrI','21uEUIXR','hasOwnProperty','128702gcKFMq'];_0x17d4=function(){return _0x5a13a7;};return _0x17d4();}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x53ae(_0x826080,_0x28041c){_0x826080=_0x826080-0x86;const _0x4882c8=_0x4882();let _0x53ae8d=_0x4882c8[_0x826080];return _0x53ae8d;}const _0x1733f8=_0x53ae;(function(_0x2e1648,_0x76f7e1){const _0x4aae8f=_0x53ae,_0x89957e=_0x2e1648();while(!![]){try{const _0x1b52a9=-parseInt(_0x4aae8f(0x14a))/0x1*(parseInt(_0x4aae8f(0x103))/0x2)+-parseInt(_0x4aae8f(0x131))/0x3+parseInt(_0x4aae8f(0x123))/0x4*(parseInt(_0x4aae8f(0xcc))/0x5)+-parseInt(_0x4aae8f(0x173))/0x6+-parseInt(_0x4aae8f(0x16e))/0x7*(parseInt(_0x4aae8f(0xf1))/0x8)+parseInt(_0x4aae8f(0x130))/0x9*(-parseInt(_0x4aae8f(0x13a))/0xa)+-parseInt(_0x4aae8f(0x15a))/0xb*(-parseInt(_0x4aae8f(0xba))/0xc);if(_0x1b52a9===_0x76f7e1)break;else _0x89957e['push'](_0x89957e['shift']());}catch(_0x13c416){_0x89957e['push'](_0x89957e['shift']());}}}(_0x4882,0xd03cd));function _0x4882(){const _0x2e1315=['searchDependency','_restDependencyTreeId','featureId','setValue','children','addFeatureFormulaDependency','isVirtual','_addAllTreeMap','_getTableNameFromStructuredRef','node','PLUS','_checkIsCycleDependency','START_CALCULATION_ARRAY_FORMULA','UniverLicensePlugin','_getFeatureFormulaTree','_xlpmPrefix','set','getUnitData','_getAllTreeList','bulkRemove','_resetPrefix','pop','row','generateRandomDependencyTreeId','isArray','setCurrent','_featureFormulaData','_calculateRunList','startRow','DependentOn','getConfig','8kXqAZd','resolve','_lambdaFunctionParameterSet','next','setDependencyTreeModelData','FormulaDependencyTreeVirtual','keys','isStopExecution','generateAstNode','CURRENTLY_CALCULATING','treeId','range','getValue','delete','max','removeFormulaDependency','_createFDtree','IDLE','2gMSMzr','return\x20','startIndex','size','FormulaDependencyTreeType','rangeList','getToken','LexerNode','CalculateFormulaService','getOtherFormulaDependency','get','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_generateTreeList','_handleNewFunctionChild','getDirtyNameMap','isCache','checkAsyncNode','isSkip','FormulaDependencyTree','_handleTextNodeForExprTree','getDirtyRanges','clearFeatureFormulaDependency','enableCycleDependency','setCompletedArrayFormulasCount','dependencySheetName','endRow','_configService','_createVirtualFDtree','UniverFormulaEnginePlugin','push','_xlfn.','_config','4DTvFTx','executeAsync','column','string','DEFAULT_TOKEN_LET_FUNCTION_NAME','isFeatureAuthorizedWithinTime','openKdTree','has','getSheetFeatureLimit','setRuntimeFeatureRange','_initializeWithOverride','matchToken','closeKdTree','57645IZXryU','2438076ylxvDK','_generateExprTree','setRuntimeFeatureCellData','values','add','error','setFormulaExecuteStage','_lexer','isExcludeRange','1490MOEXqU','ParentDependencyTree\x20object\x20is\x20null','getRuntimeState','_getDependencyTreeChildrenIds','hasOtherFormulaDataMainData','notExecuteFormula','forEach','unitId','getStartIndex','clearFormulaDependency','addFormulaDependency','refTree','isReferenceString','dirtyRanges','VALUE','rowCount','579085dcHAur','_runtimeService','reset','IDependencyManagerService','_isCyclicUtilMap','refOffsetX','from','_xlfnPrefix','toRTreeItem','getFormulaDependency','inRangeData','_traverse','_otherFormulaDataMainData','formulaId','ObjectMatrix','featureDirtyRanges','22YoEajt','_initLicenseValid','getFeatureFormulaDependency','_hasNewExcelFunction','DEFAULT_TOKEN_TYPE_PARAMETER','markedAsSuccessfullyExecuted','prototype','_updateRangeFlatten','clearOtherFormulaDependency','_getCurNodeTypeForExprTree','Lambda\x20parameter\x20name\x20\x22','min','forValue','parseInt','_currentConfigService','_isCalculateTreeModel','_handleLambdaForExprTree','\x22\x20is\x20duplicated.','clearArrayObjectCache','subUnitId','11008186bRsSiq','isDirty','_interpreter','setTotalFormulasToCalculate','_dependencyRTreeCache','8839038UOgLPn','isAdded','FormulaDependencyGenerator','getExcludedRange','_astTreeBuilder','ICalculateFormulaService','getFormulaExprTree','getNewFormulaWithPrefix','_formulaData','_dependencyTreeCache','DEFAULT_TOKEN_TYPE_ROOT','intervalCount','CURRENTLY_CALCULATING_ARRAY_FORMULA','_otherFormulaData','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','setAdded','_getDependencyTreeParenIds','DEFAULT_INTERVAL_COUNT','FormulaExecuteStageType','symbol','refOffsetY','START_DEPENDENCY_ARRAY_FORMULA','message','_executionCompleteListener$','endColumn','OPERATOR_TOKEN_SET','UniverProFormulaEnginePlugin','LexerTreeBuilder','ErrorType','_handleChildrenForExprTree','length','_injector','treeBuilder','addOtherFormulaDependency','_clearFunctionString','COLON','setSkip','_removeDependencyRTreeCacheById','removeFormulaDependencyByDefinedName','_removeDependencyRTreeCache','toUpperCase','formula','_getFirstCellOfRange','_registerFormulas','LS_CONFIG_KEY','_executionInProgressListener$','join','defineProperty','isForceCalculate','_getUpdateTreeListAndMakeDependency','slice','startColumn','addFormulaDependencyByDefinedName','_checkAddBracketForMinus','type','realDeleteValue','_initializeGenerateTreeList','RTree','getAllRuntimeData','_currentUnitId','default','prefixToken','_xlpm.','_startFormulaDependencyTreeModel','hasOwnProperty','clear','value','startsWith','endsWith','getOwnPropertyDescriptor','addOtherFormulaDependencyMainData','columnCount','28105320IOjVdu','getChildren','trim','toStringTag','_otherFormulaManagerService','FEATURE_FORMULA','_allTreeMap','dispose','getDirtyData','_getAllDependencyJson','getOtherFormulaData','_generateNewFunctionString','SUFFIX_TOKEN_SET','markedAsNoFunctionsExecuted','_apply','_dependencyRTreeCacheForAddressFunction','MINUS','execute','7803070elVOJO','valid','_getTreeNode','IFormulaDependencyGenerator','_dependencyManagerService','_removeAllTreeMap'];_0x4882=function(){return _0x2e1315;};return _0x4882();}var I=Object[_0x1733f8(0xa1)],P=(_0x3e3993,_0x127766,_0x28f86e)=>_0x127766 in _0x3e3993?I(_0x3e3993,_0x127766,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28f86e}):_0x3e3993[_0x127766]=_0x28f86e,C=(_0x157e16,_0x2801b3,_0x2f90ea)=>P(_0x157e16,typeof _0x2801b3!=_0x1733f8(0x186)?_0x2801b3+'':_0x2801b3,_0x2f90ea);Object[_0x1733f8(0xa1)](exports,Symbol[_0x1733f8(0xbd)],{'value':'Module'});const a=require('@univerjs/engine-formula'),x=require('@univerjs-pro/license'),w=require('@univerjs/core');class A extends a['LexerTreeBuilder']{constructor(){const _0x211cc8=_0x1733f8;super(...arguments),C(this,'_hasNewExcelFunction',!0x1),C(this,_0x211cc8(0xf3),new Set()),C(this,_0x211cc8(0xe1),_0x211cc8(0xb0)),C(this,_0x211cc8(0x151),_0x211cc8(0x121)),C(this,_0x211cc8(0xad),'');}[_0x1733f8(0xe6)](){const _0x43aa7f=_0x1733f8;this['_xlpmPrefix']=_0x43aa7f(0xb0),this[_0x43aa7f(0x151)]=_0x43aa7f(0x121);}['_clearPrefix'](){const _0x145749=_0x1733f8;this[_0x145749(0xe1)]='',this['_xlfnPrefix']='';}[_0x1733f8(0x17a)](_0xf1c3f3,_0x522a2f){const _0x31b540=_0x1733f8,_0x361c45=this[_0x31b540(0x92)](_0xf1c3f3,!0x1);if(!_0x361c45||_0x361c45===a[_0x31b540(0x8e)][_0x31b540(0x148)]||Array['isArray'](_0x361c45))return null;const _0x21ea75=[];return this[_0x31b540(0x15d)]=!0x1,this[_0x31b540(0xc5)](_0x361c45,_0x21ea75,_0x522a2f),this[_0x31b540(0x15d)]?'='+_0x21ea75[_0x31b540(0xa0)](''):null;}[_0x1733f8(0xc5)](_0x1354d4,_0x480b7b,_0xce60e9){const _0x2324d6=_0x1733f8,_0x445145=_0x1354d4[_0x2324d6(0x109)](),_0x4b3d67=_0x445145[_0x2324d6(0xbc)](),_0x3e96f6=_0x4b3d67[_0x2324d6(0x9a)](),_0x3911cd=this[_0x2324d6(0x94)](_0x3e96f6),_0x53bcc8=_0xce60e9(_0x3911cd);let _0xd411f6=0x0;_0x445145===a[_0x2324d6(0x17d)]?_0xd411f6=0x3:_0x445145===a[_0x2324d6(0x15e)]?_0xd411f6=0x4:_0x445145===a[_0x2324d6(0x10e)]?_0xd411f6=0x5:a['NEW_EXCEL_FUNCTIONS'][_0x2324d6(0x12a)](_0x3911cd)?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0):_0x3e96f6===a[_0x2324d6(0x181)]?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0,_0xd411f6=0x2):_0x3e96f6===a[_0x2324d6(0x127)]?(_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0x151)]+_0x4b3d67),this[_0x2324d6(0x15d)]=!0x0,_0xd411f6=0x1):_0x3e96f6===a[_0x2324d6(0x12e)]['COLON']?_0xd411f6=0x8:a[_0x2324d6(0xc6)][_0x2324d6(0x12a)](_0x3e96f6)?_0xd411f6=0x7:_0x3e96f6===a[_0x2324d6(0xaf)]['MINUS']?(this[_0x2324d6(0xa7)](_0x1354d4)&&(_0xd411f6=0x9),_0x480b7b[_0x2324d6(0x120)](_0x445145)):(_0x480b7b[_0x2324d6(0x120)](_0x445145),_0xd411f6=0xa),_0x53bcc8?(_0xd411f6!==0x2&&_0xd411f6!==0x1&&(_0xd411f6=0x6),_0x480b7b[_0x2324d6(0x120)]('(')):_0xd411f6===0x9&&_0x480b7b['push']('(');const _0x3e2065=_0x1354d4[_0x2324d6(0xbb)](),_0x2d5a00=_0x3e2065[_0x2324d6(0x90)];if(_0xd411f6===0x2){const _0x2bbc42=_0x3e2065[0x0];let _0x15b928=0x0;_0x2bbc42 instanceof a['LexerNode']&&_0x2bbc42[_0x2324d6(0x109)]()===a[_0x2324d6(0x10e)]&&(_0x15b928=0x1);for(let _0x25e6d3=_0x15b928;_0x25e6d3<_0x2d5a00-0x1;_0x25e6d3++){const _0x33af14=_0x3e2065[_0x25e6d3];if(_0x33af14 instanceof a[_0x2324d6(0x10a)]){const _0x1fee8e=_0x33af14[_0x2324d6(0xbb)]()[0x0];typeof _0x1fee8e=='string'&&(this[_0x2324d6(0xf3)][_0x2324d6(0x12a)](_0x1fee8e)&&console[_0x2324d6(0x136)](_0x2324d6(0x164)+_0x1fee8e+_0x2324d6(0x16b)),this[_0x2324d6(0xf3)][_0x2324d6(0x135)](_0x1fee8e),_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0xe1)]+_0x1fee8e),this['_hasNewExcelFunction']=!0x0);}_0x480b7b[_0x2324d6(0x120)](',');}this['_handleNewFunctionChild'](_0x3e2065[_0x2d5a00-0x1],_0x480b7b,_0xce60e9),_0x15b928===0x1&&(_0x480b7b[_0x2324d6(0x120)](')'),_0x480b7b[_0x2324d6(0x120)]('('),this[_0x2324d6(0xc5)](_0x2bbc42,_0x480b7b,_0xce60e9)),_0x480b7b[_0x2324d6(0x120)](')');return;}else{if(_0xd411f6===0x1){for(let _0x42b8e0=0x0;_0x42b8e0<_0x2d5a00-0x1;_0x42b8e0++){const _0x1fd564=_0x3e2065[_0x42b8e0];if(_0x1fd564 instanceof a[_0x2324d6(0x10a)]&&_0x42b8e0%0x2===0x0){const _0x36cd4f=_0x1fd564[_0x2324d6(0xbb)]()[0x0];if(typeof _0x36cd4f==_0x2324d6(0x126)){this['_lambdaFunctionParameterSet'][_0x2324d6(0x12a)](_0x36cd4f)&&console[_0x2324d6(0x136)]('Let\x20variable\x20name\x20\x22'+_0x36cd4f+_0x2324d6(0x16b)),this[_0x2324d6(0xf3)]['add'](_0x36cd4f),_0x480b7b[_0x2324d6(0x120)](''+this[_0x2324d6(0xe1)]+_0x36cd4f),this[_0x2324d6(0x15d)]=!0x0,_0x480b7b[_0x2324d6(0x120)](',');continue;}}if(this[_0x2324d6(0x110)](_0x1fd564,_0x480b7b,_0xce60e9),_0x1fd564 instanceof a[_0x2324d6(0x10a)]){const _0x15e696=_0x3e2065[_0x42b8e0+0x1];_0x15e696&&_0x15e696 instanceof a['LexerNode']&&_0x480b7b[_0x2324d6(0x120)](',');}}this[_0x2324d6(0x110)](_0x3e2065[_0x2d5a00-0x1],_0x480b7b,_0xce60e9),_0x480b7b[_0x2324d6(0x120)](')');return;}else{if(_0xd411f6===0x8){const _0x104a8a=_0x3e2065[0x0],_0x3e1e2f=_0x3e2065[0x1];this[_0x2324d6(0x110)](_0x104a8a,_0x480b7b,_0xce60e9),_0x480b7b[_0x2324d6(0x120)](_0x445145),this[_0x2324d6(0x110)](_0x3e1e2f,_0x480b7b,_0xce60e9);return;}}}for(let _0x57350b=0x0;_0x57350b<_0x2d5a00;_0x57350b++){const _0x5e7f85=_0x3e2065[_0x57350b];if(this[_0x2324d6(0x110)](_0x5e7f85,_0x480b7b,_0xce60e9),_0x5e7f85 instanceof a[_0x2324d6(0x10a)]){const _0x526cc9=_0x3e2065[_0x57350b+0x1];_0x526cc9&&_0x526cc9 instanceof a[_0x2324d6(0x10a)]&&_0x480b7b[_0x2324d6(0x120)](',');}}_0xd411f6===0x7&&_0x480b7b[_0x2324d6(0x120)](_0x445145),(_0x53bcc8||_0xd411f6===0x9)&&_0x480b7b[_0x2324d6(0x120)](')');}[_0x1733f8(0x110)](_0x13c241,_0x4afe37,_0x4cb5b9){const _0x939f9a=_0x1733f8;_0x13c241 instanceof a[_0x939f9a(0x10a)]?this[_0x939f9a(0xc5)](_0x13c241,_0x4afe37,_0x4cb5b9):this[_0x939f9a(0xf3)][_0x939f9a(0x12a)](_0x13c241)?(_0x4afe37[_0x939f9a(0x120)](''+this['_xlpmPrefix']+_0x13c241),this['_hasNewExcelFunction']=!0x0):_0x4afe37[_0x939f9a(0x120)](_0x13c241);}[_0x1733f8(0x94)](_0x1c101f){const _0x2e8391=_0x1733f8;let _0xdfc0fb=_0x1c101f[_0x2e8391(0xbc)]();if(!_0xdfc0fb)return _0xdfc0fb;const _0x1c5664=_0xdfc0fb[0x0];if((_0x1c5664===a[_0x2e8391(0xaf)]['AT']||_0x1c5664===a[_0x2e8391(0xaf)][_0x2e8391(0xca)]||_0x1c5664===a[_0x2e8391(0xaf)][_0x2e8391(0xdc)])&&(_0xdfc0fb=_0xdfc0fb[_0x2e8391(0xa4)](0x1)),!_0xdfc0fb)return _0xdfc0fb;const _0x9aacec=_0xdfc0fb[_0xdfc0fb['length']-0x1];return a['SUFFIX_TOKEN_SET'][_0x2e8391(0x12a)](_0x9aacec)&&(_0xdfc0fb=_0xdfc0fb[_0x2e8391(0xa4)](0x0,-0x1)),_0xdfc0fb;}[_0x1733f8(0xa7)](_0x1285c1){const _0x2a63f3=_0x1733f8,_0x538173=_0x1285c1[_0x2a63f3(0xbb)]()[0x0];if(!_0x538173||!(_0x538173 instanceof a[_0x2a63f3(0x10a)])||_0x1285c1['getChildren']()['length']>0x1)return!0x1;const _0x433f27=_0x538173['getChildren'](),_0x17cdb2=_0x433f27['length'];if(_0x17cdb2===0x1)return!0x1;for(let _0x3b070a=0x0;_0x3b070a<_0x17cdb2;_0x3b070a++){const _0x48f9db=_0x433f27[_0x3b070a];if(!(_0x48f9db instanceof a[_0x2a63f3(0x10a)])&&a[_0x2a63f3(0x8b)][_0x2a63f3(0x12a)](_0x48f9db))return!0x0;}return!0x1;}[_0x1733f8(0x179)](_0x111369,_0x5daebb,_0x49ff47,_0x583779,_0x7a53a1){const _0x40f9c4=_0x1733f8,_0x17663b=this[_0x40f9c4(0x92)](_0x111369,!0x1);if(!_0x17663b||_0x17663b===a[_0x40f9c4(0x8e)][_0x40f9c4(0x148)]||Array[_0x40f9c4(0xea)](_0x17663b))return null;this['_clearPrefix'](),this[_0x40f9c4(0xad)]=_0x5daebb;const _0x71e355=this['_generateExprTree'](_0x17663b,_0x49ff47,_0x583779,_0x7a53a1);return this[_0x40f9c4(0xad)]='',this['_resetPrefix'](),_0x71e355;}[_0x1733f8(0x132)](_0x46dd26,_0x1ee94a,_0x237e87,_0x585471){const _0xcafc3f=_0x1733f8,_0x38a7b8={'value':'','children':[],'startIndex':0x0};let _0x425615=_0x46dd26;if(_0x425615 instanceof a[_0xcafc3f(0x10a)]&&(_0x425615[_0xcafc3f(0x109)]()===a[_0xcafc3f(0x17d)]||_0x425615[_0xcafc3f(0x109)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x425615[_0xcafc3f(0xbb)]()[_0xcafc3f(0x90)]===0x1&&(_0x425615=_0x425615[_0xcafc3f(0xbb)]()[0x0]),!(_0x425615 instanceof a[_0xcafc3f(0x10a)]))return this['_handleTextNodeForExprTree'](_0x425615,_0x237e87,_0x585471);const _0x2165f4=_0x425615[_0xcafc3f(0xbb)](),_0x3827cc=_0x2165f4['length'],_0x8f8f37=[];this[_0xcafc3f(0xc5)](_0x425615,_0x8f8f37,_0x1ee94a),_0x38a7b8[_0xcafc3f(0xb4)]=_0x8f8f37[_0xcafc3f(0xa0)](''),_0x38a7b8['startIndex']=_0x425615[_0xcafc3f(0x142)]();const _0x3ff87e=this['_getCurNodeTypeForExprTree'](_0x425615);if(_0x3ff87e===0x2){const _0x105e13=_0x2165f4[0x0];if(_0x105e13 instanceof a[_0xcafc3f(0x10a)]){if(_0x105e13[_0xcafc3f(0x109)]()[_0xcafc3f(0xbc)]()!==a[_0xcafc3f(0x10e)])return _0x38a7b8;this[_0xcafc3f(0x16a)](_0x105e13,_0x38a7b8,_0x1ee94a,_0x237e87,_0x585471);}return _0x38a7b8;}else{if(_0x3ff87e===0x1){for(let _0x3a6113=0x0;_0x3a6113<_0x3827cc-0x1;_0x3a6113++){const _0x3e5429=_0x2165f4[_0x3a6113];if(_0x3e5429 instanceof a['LexerNode']&&_0x3a6113%0x2===0x1){const _0x2012e5=_0x3e5429[_0xcafc3f(0xbb)]();if(_0x2012e5[_0xcafc3f(0x90)]===0x1&&!(_0x2012e5[0x0]instanceof a[_0xcafc3f(0x10a)]))continue;const _0x594c38=this[_0xcafc3f(0x132)](_0x3e5429,_0x1ee94a,_0x237e87,_0x585471);_0x594c38&&_0x38a7b8[_0xcafc3f(0xd6)][_0xcafc3f(0x120)](_0x594c38);}}return _0x38a7b8;}else{if(_0x3ff87e===0x8){const _0x11aba4=_0x2165f4[0x0];if(_0x11aba4 instanceof a[_0xcafc3f(0x10a)]){const _0x396f7e=_0x11aba4[_0xcafc3f(0xbb)]()[0x0];_0x396f7e instanceof a['LexerNode']&&(_0x38a7b8[_0xcafc3f(0x105)]=_0x396f7e['getStartIndex']());}}else{if(_0x3ff87e===0x7){const _0x529b9=_0x2165f4[0x0];if(_0x529b9 instanceof a['LexerNode']){const _0x1d815d=_0x529b9[_0xcafc3f(0xbb)]()[0x0];_0x1d815d instanceof a[_0xcafc3f(0x10a)]&&(_0x38a7b8[_0xcafc3f(0x105)]=_0x1d815d[_0xcafc3f(0x142)]());}}}}}return this[_0xcafc3f(0x8f)](_0x2165f4,_0x3ff87e,_0x38a7b8,_0x1ee94a,_0x237e87,_0x585471),_0x38a7b8;}[_0x1733f8(0x8f)](_0x1236b7,_0x494eb9,_0x3be2a1,_0x114083,_0x527af8,_0x2b14b9){const _0xc9fbd0=_0x1733f8;for(let _0x3dfc74=0x0;_0x3dfc74<_0x1236b7['length'];_0x3dfc74++){let _0x5910d8=_0x1236b7[_0x3dfc74];if(!(_0x5910d8 instanceof a[_0xc9fbd0(0x10a)])){const _0x2cfc88=this[_0xc9fbd0(0x116)](_0x5910d8,_0x527af8,_0x2b14b9);_0x2cfc88&&_0x3be2a1[_0xc9fbd0(0xd6)][_0xc9fbd0(0x120)](_0x2cfc88);continue;}const _0x52d0a3=_0x5910d8[_0xc9fbd0(0xbb)]();if(_0x52d0a3[_0xc9fbd0(0x90)]===0x1&&!(_0x52d0a3[0x0]instanceof a['LexerNode'])){const _0x5693b8=_0x52d0a3[0x0];if(!_0x527af8(this['_currentUnitId'],_0x5693b8)&&!this[_0xc9fbd0(0xda)](_0x5693b8,_0x2b14b9)&&!a[_0xc9fbd0(0x146)](_0x5693b8))continue;}if(_0x494eb9===0x8){const _0x4e5d66=_0x52d0a3[0x0];if(_0x4e5d66 instanceof a[_0xc9fbd0(0x10a)]){const _0x340434=_0x4e5d66['getToken']()[_0xc9fbd0(0xbc)]();if(a[_0xc9fbd0(0x146)](_0x340434))continue;_0x5910d8=_0x4e5d66;}}const _0x4d95a7=this['_generateExprTree'](_0x5910d8,_0x114083,_0x527af8,_0x2b14b9);_0x4d95a7&&_0x3be2a1[_0xc9fbd0(0xd6)]['push'](_0x4d95a7);}}[_0x1733f8(0x116)](_0x349e87,_0x4cbd20,_0xf8b49){const _0x26f93e=_0x1733f8,_0x3ae9a5=_0x349e87[_0x26f93e(0xbc)]();return _0x3ae9a5[_0x26f93e(0xb5)]('{')&&_0x3ae9a5[_0x26f93e(0xb6)]('}')||_0x4cbd20(this[_0x26f93e(0xad)],_0x3ae9a5)||this['_getTableNameFromStructuredRef'](_0x3ae9a5,_0xf8b49)||a[_0x26f93e(0x146)](_0x3ae9a5)?{'value':_0x3ae9a5,'children':[],'startIndex':-0x1}:null;}[_0x1733f8(0xda)](_0xec0a4f,_0x4b1545){const {tableName:_0x15d2d8}=a['splitTableStructuredRef'](_0xec0a4f);return _0x4b1545(this['_currentUnitId'],_0x15d2d8)?_0x15d2d8:null;}[_0x1733f8(0x16a)](_0x4905a2,_0x224511,_0x14dfc6,_0x500ab6,_0xe3d54){const _0x1dc2a6=_0x1733f8,_0x359783=_0x4905a2['getChildren']();for(let _0xa15712=0x0;_0xa15712<_0x359783[_0x1dc2a6(0x90)];_0xa15712++){const _0x2148d9=_0x359783[_0xa15712];if(!(_0x2148d9 instanceof a['LexerNode']))continue;const _0xe9fa78=_0x2148d9[_0x1dc2a6(0xbb)]();if(_0xe9fa78['length']===0x1&&!(_0xe9fa78[0x0]instanceof a[_0x1dc2a6(0x10a)]))continue;const _0x40304c=this[_0x1dc2a6(0x132)](_0x2148d9,_0x14dfc6,_0x500ab6,_0xe3d54);_0x40304c&&_0x224511[_0x1dc2a6(0xd6)][_0x1dc2a6(0x120)](_0x40304c);}}[_0x1733f8(0x163)](_0x5723d4){const _0xbf1b55=_0x1733f8,_0xdfeed6=_0x5723d4[_0xbf1b55(0x109)](),_0x4e76b5=_0xdfeed6[_0xbf1b55(0xbc)]()[_0xbf1b55(0x9a)]();let _0x4b5256=0x0;return _0xdfeed6===a[_0xbf1b55(0x17d)]?_0x4b5256=0x3:_0xdfeed6===a[_0xbf1b55(0x15e)]?_0x4b5256=0x4:_0xdfeed6===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x4b5256=0x5:_0x4e76b5===a[_0xbf1b55(0x181)]?_0x4b5256=0x2:_0x4e76b5===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x4b5256=0x1:_0x4e76b5===a[_0xbf1b55(0x12e)][_0xbf1b55(0x95)]?_0x4b5256=0x8:a[_0xbf1b55(0xc6)]['has'](_0x4e76b5)?_0x4b5256=0x7:_0x4e76b5===a[_0xbf1b55(0xaf)][_0xbf1b55(0xca)]?this[_0xbf1b55(0xa7)](_0x5723d4)&&(_0x4b5256=0x9):_0x4b5256=0xa,_0x4b5256;}}const k={0x0:'0',0x1:'8',0x2:'B',0x3:'9',0x4:'C',0x5:'t',0x6:'3',0x7:'L',0x8:'v',0x9:'k','E':'1','y':'2','h':'4','R':'5','O':'6','I':'7','v':'a','f':'b','p':'c','U':'d','g':'e','i':'f','L':'g','a':'h','G':'i','J':'j','r':'l','e':'m','X':'n','w':'o','V':'p','M':'q','W':'r','Q':'s','T':'u','Y':'w','q':'x','t':'y','b':'z','S':'A','F':'D','c':'E','m':'F','x':'G','K':'H','d':'I','Z':'J','u':'K','s':'M','H':'N','C':'O','N':'P','o':'Q','A':'R','z':'S','l':'T','k':'U','P':'V','B':'W','D':'X','j':'Y','n':'Z'},B='/*\x20gQrGX5-UGQvfrg\x20VWgigW-5geVrv5g\x20*/iTXp5GwX\x20UgpWtV5GwX(rGpgXQg,\x20VTfrGpugt)\x20{\x20\x20\x20\x205Wt\x20{\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20rGpgXQgdXiwNvW5SWWvt\x20=\x20rGpgXQg.QVrG5(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20wWGLGXsgQQvLg\x20=\x20ZzCH.VvWQg(v5wf(rGpgXQgdXiwNvW5SWWvt[y]));\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(!wWGLGXsgQQvLg.TU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wWGLGXsgQQvLg.TU\x20=\x20HTefgW(rGpgXQgdXiwNvW5SWWvt[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQBwW9gW\x20=\x205tVgwi\x20BwW9gWxrwfvrzpwVg\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x20Qgri\x20GXQ5vXpgwi\x20BwW9gWxrwfvrzpwVg;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQ2WwYQgW\x20=\x205tVgwi\x20YGXUwY\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x205tVgwi\x20YGXUwY.rwpv5GwX\x20!==\x20\x27TXUgiGXgU\x27;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20pwX5gq5\x20=\x20GQBwW9gW\x20?\x20Qgri\x20:\x20(GQ2WwYQgW\x20?\x20YGXUwY\x20:\x20LrwfvrlaGQ);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[y]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(egQQvLgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[6]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(QGLXv5TWgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXPvrGU\x20=\x20pwX5gq5.__8gWGit__(QGLXv5TWg,\x20egQQvLg,\x20VTfrGpugt);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20UwevGX\x20=\x20wWGLGXsgQQvLg.Ue;\x20\x20\x20\x20\x20\x20\x20\x20iTXp5GwX\x20GQFwevGXsv5paGXL(Vv55gWX,\x20awQ5)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX\x20===\x20awQ5)\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX.Q5vW5QBG5a(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QTiiGq\x20=\x20Vv55gWX.QrGpg(y);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(QTiiGq\x20&&\x20!awQ5.Q5vW5QBG5a(\x27.\x27)\x20&&\x20awQ5\x20!==\x20QTiiGq\x20&&\x20awQ5.gXUQBG5a(\x27.\x27\x20+\x20QTiiGq))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rg5\x20UwevGXPvrGU\x20=\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(GQ2WwYQgW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x20(UwevGX\x20&&\x20UwevGX.rgXL5a)\x20?\x20UwevGX.Qweg((Ued5ge)\x20=>\x20GQFwevGXsv5paGXL(Ued5ge,\x20rwpv5GwX.awQ5Xveg))\x20:\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(rwpv5GwX.awQ5Xveg\x20===\x20\x27rwpvrawQ5\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20grQg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x208vrGU\x20=\x20QGLXPvrGU\x20&&\x20UwevGXPvrGU;\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20wWGLGXsgQQvLg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20pv5pa\x20(gWWwW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU:\x20ivrQg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class b extends a['FormulaDependencyGenerator']{constructor(){const _0x3d1343=_0x1733f8;super(...arguments),C(this,_0x3d1343(0x17c),new Map());}['dispose'](){const _0x5b22f9=_0x1733f8;super[_0x5b22f9(0xc1)](),this[_0x5b22f9(0x17c)][_0x5b22f9(0xb3)]();}async['generate'](_0x2b374d=!0x1){const _0x2fe2fa=_0x1733f8;this[_0x2fe2fa(0x161)]();const _0x303f61=this['_currentConfigService']['getFormulaData'](),_0x280010=this[_0x2fe2fa(0xbe)][_0x2fe2fa(0xc4)](),_0x526073=this[_0x2fe2fa(0x168)]['getClearDependencyTreeCache']();_0x526073!=null&&Object['keys'](_0x526073)[_0x2fe2fa(0x140)](_0x41fd97=>{const _0x224189=_0x2fe2fa;_0x41fd97!=null&&Object[_0x224189(0xf7)](_0x526073[_0x41fd97])[_0x224189(0x140)](_0x574077=>{const _0x50acb2=_0x224189;_0x574077!=null&&(this['_dependencyManagerService'][_0x50acb2(0x162)](_0x41fd97,_0x574077),this['_dependencyManagerService'][_0x50acb2(0x118)](_0x41fd97,_0x574077),this[_0x50acb2(0xd0)][_0x50acb2(0x143)](_0x41fd97,_0x574077));});});const _0x6a6d66=this[_0x2fe2fa(0x168)][_0x2fe2fa(0xe3)]();await this[_0x2fe2fa(0x10f)](_0x303f61,_0x280010,_0x6a6d66),this['_dependencyManagerService'][_0x2fe2fa(0x129)]();const _0x1fc95c=this[_0x2fe2fa(0xa3)](),_0xcb9aa2=this['_calculateRunList'](_0x1fc95c);return this[_0x2fe2fa(0xdd)](_0xcb9aa2)&&this['_runtimeService'][_0x2fe2fa(0x119)](),_0x2b374d&&this[_0x2fe2fa(0x14b)][_0x2fe2fa(0xf5)](this[_0x2fe2fa(0xc3)](Array[_0x2fe2fa(0x150)](this['_dependencyTreeCache'][_0x2fe2fa(0x134)]()))),this[_0x2fe2fa(0x17c)][_0x2fe2fa(0xb3)](),this[_0x2fe2fa(0xc9)]['clear'](),this[_0x2fe2fa(0xd0)][_0x2fe2fa(0x12f)](),this[_0x2fe2fa(0x14b)][_0x2fe2fa(0x16c)](),Promise[_0x2fe2fa(0xf2)](_0xcb9aa2);}[_0x1733f8(0x14e)](_0x1c7208,_0x31b026){const _0x3a826f=_0x1733f8,_0x4478a4=[_0x1c7208];for(;_0x4478a4['length']>0x0;){const _0x5adc66=_0x4478a4[_0x4478a4[_0x3a826f(0x90)]-0x1];if((_0x31b026['get'](_0x5adc66)||0x0)===0x0){_0x31b026['set'](_0x5adc66,0x1);const _0x540e69=this[_0x3a826f(0x17c)]['get'](_0x5adc66);if(_0x540e69==null){_0x31b026[_0x3a826f(0xe2)](_0x5adc66,0x2),_0x4478a4[_0x3a826f(0xe7)]();continue;}const _0x56ecbb=this[_0x3a826f(0xd0)][_0x3a826f(0xd2)](_0x540e69[_0x3a826f(0x152)]());for(const _0x140d8d of _0x56ecbb){const _0x38a571=_0x31b026[_0x3a826f(0x10d)](_0x140d8d)||0x0;if(_0x38a571===0x1)return!0x0;_0x38a571===0x0&&_0x4478a4['push'](_0x140d8d);}}else _0x31b026['set'](_0x5adc66,0x2),_0x4478a4[_0x3a826f(0xe7)]();}return!0x1;}[_0x1733f8(0xdd)](_0x4bb89a){const _0x53f68a=_0x1733f8,_0x2d962b=new Map();for(const _0x2a287e of _0x4bb89a)if(!_0x2d962b[_0x53f68a(0x12a)](_0x2a287e[_0x53f68a(0xfb)])&&this['_isCyclicUtilMap'](_0x2a287e['treeId'],_0x2d962b))return!0x0;return _0x2d962b[_0x53f68a(0xb3)](),!0x1;}[_0x1733f8(0xe0)](_0x1f7e0a,_0x3cefbb,_0x433e86){const _0x551172=_0x1733f8,{unitId:_0x10e00a,subUnitId:_0x5ce60a,dependencyRanges:_0x25f995,getDirtyData:_0x51bdb2}=_0x433e86,_0x5a0f47=_0x3cefbb||a[_0x551172(0xe9)](this['_dependencyManagerService']),_0x5c669a=new a[(_0x551172(0x115))](_0x5a0f47);_0x5c669a[_0x551172(0x141)]=_0x10e00a,_0x5c669a[_0x551172(0x16d)]=_0x5ce60a,_0x5c669a[_0x551172(0x108)]=_0x25f995,_0x5c669a[_0x551172(0xc2)]=_0x51bdb2;const _0x46a5fb=_0x51bdb2(this['_currentConfigService']['getDirtyData'](),this[_0x551172(0x14b)][_0x551172(0xac)]()),_0x2b2f43=this['_convertDirtyRangesToUnitRange'](_0x46a5fb[_0x551172(0x147)]);return _0x5c669a[_0x551172(0x159)]=_0x2b2f43,_0x5c669a[_0x551172(0xd4)]=_0x1f7e0a,_0x5c669a[_0x551172(0xa8)]=a[_0x551172(0x107)][_0x551172(0xbf)],this['_dependencyManagerService'][_0x551172(0xd7)](_0x10e00a,_0x5ce60a,_0x1f7e0a,_0x5c669a),this['_dependencyTreeCache']['set'](_0x5c669a[_0x551172(0xfb)],_0x5c669a),this['_dependencyManagerService'][_0x551172(0x15c)](_0x433e86[_0x551172(0x141)],_0x433e86[_0x551172(0x16d)],_0x1f7e0a)&&(_0x5c669a[_0x551172(0x112)]=!0x0),_0x5c669a;}['_registerOtherFormulas'](_0x41676a,_0x3a4733,_0x261c40){const _0x2842dc=_0x1733f8;var _0x30e6df;for(const _0x447ad2 of _0x3a4733){const _0x661f10=_0x41676a[_0x447ad2];if(_0x661f10==null)continue;const _0x56c63d=Object[_0x2842dc(0xf7)](_0x661f10);for(const _0x1a158f of _0x56c63d){const _0x4ed0a3=_0x661f10[_0x1a158f];if(_0x4ed0a3==null)continue;const _0x4cd65c=Object[_0x2842dc(0xf7)](_0x4ed0a3);for(const _0x4b07f1 of _0x4cd65c){const _0x5112fe=this['_dependencyManagerService'][_0x2842dc(0x13e)](_0x4b07f1),_0x378c56=_0x4ed0a3[_0x4b07f1],{f:_0x1750fd,ranges:_0x51e813}=_0x378c56;let _0x1c3a2a=!0x1;_0x5112fe&&(_0x1c3a2a=!0x0);const {firstRow:_0xcdf8fa,firstColumn:_0x3c62b2}=this[_0x2842dc(0x9c)](_0x51e813),_0x22b0e4=this[_0x2842dc(0xd0)][_0x2842dc(0x10c)](_0x447ad2,_0x1a158f,_0x4b07f1),_0x3b46fd=(_0x30e6df=_0x22b0e4==null?void 0x0:_0x22b0e4[_0x2842dc(0xfd)](0x0,0x0))!=null?_0x30e6df:a[_0x2842dc(0xe9)](this[_0x2842dc(0xd0)]),_0x413b3f=new a['FormulaDependencyTree'](_0x3b46fd);for(let _0x5ab057=0x0;_0x5ab057<_0x51e813[_0x2842dc(0x90)];_0x5ab057++){const _0x2a3235=_0x51e813[_0x5ab057],{startRow:_0x397302,startColumn:_0x2e2dd4,endRow:_0xe2c785,endColumn:_0x6e24c2}=_0x2a3235;for(let _0x10f00e=_0x397302;_0x10f00e<=_0xe2c785;_0x10f00e++)for(let _0x4ae3b6=_0x2e2dd4;_0x4ae3b6<=_0x6e24c2;_0x4ae3b6++){const _0x184709=_0x4ae3b6-_0x3c62b2,_0x4ddf46=_0x10f00e-_0xcdf8fa;if(_0x184709===0x0&&_0x4ddf46===0x0){_0x413b3f[_0x2842dc(0x9b)]=_0x1750fd,_0x413b3f[_0x2842dc(0x141)]=_0x447ad2,_0x413b3f[_0x2842dc(0x16d)]=_0x1a158f,_0x413b3f[_0x2842dc(0x157)]=_0x4b07f1,_0x413b3f['type']=a[_0x2842dc(0x107)]['OTHER_FORMULA'],_0x413b3f[_0x2842dc(0x112)]=_0x1c3a2a,_0x261c40[_0x2842dc(0x120)](_0x413b3f),this[_0x2842dc(0x17c)][_0x2842dc(0xe2)](_0x413b3f[_0x2842dc(0xfb)],_0x413b3f),this['_dependencyManagerService'][_0x2842dc(0x93)](_0x447ad2,_0x1a158f,_0x4b07f1,_0x413b3f),this[_0x2842dc(0xd0)][_0x2842dc(0xa6)](_0x413b3f);continue;}const _0x480355=new a[(_0x2842dc(0xf6))]();_0x480355[_0x2842dc(0xfb)]=(_0x22b0e4==null?void 0x0:_0x22b0e4[_0x2842dc(0xfd)](_0x184709,_0x4ddf46))||a['generateRandomDependencyTreeId'](this[_0x2842dc(0xd0)]),_0x480355[_0x2842dc(0x145)]=_0x413b3f,_0x480355['refOffsetX']=_0x184709,_0x480355[_0x2842dc(0x86)]=_0x4ddf46,_0x480355[_0x2842dc(0x112)]=_0x1c3a2a,_0x480355['type']=a[_0x2842dc(0x107)]['OTHER_FORMULA'],this['_dependencyManagerService'][_0x2842dc(0x93)](_0x447ad2,_0x1a158f,_0x4b07f1,_0x480355),this['_dependencyManagerService'][_0x2842dc(0xa6)](_0x480355),_0x261c40['push'](_0x480355),this[_0x2842dc(0x17c)]['set'](_0x480355[_0x2842dc(0xfb)],_0x480355);}}this['_dependencyManagerService'][_0x2842dc(0xb8)](_0x4b07f1);}}}}[_0x1733f8(0x9d)](_0x420f9e,_0x48f938,_0x1c70e7,_0x4e0909){const _0xdaba2=_0x1733f8;for(const _0x105ece of _0x420f9e){const _0xb5f8bd=_0x48f938[_0x105ece];if(_0xb5f8bd==null)continue;const _0x33980b=Object[_0xdaba2(0xf7)](_0xb5f8bd);for(const _0x2ccae7 of _0x33980b){const _0x42b4d2=new w['ObjectMatrix'](_0xb5f8bd[_0x2ccae7]||{}),_0x2c3a25=new Map();_0x42b4d2[_0xdaba2(0x166)]((_0x2e6006,_0x22e33a,_0xfcc385)=>{const _0x44daa1=_0xdaba2;if(_0xfcc385==null)return!0x0;const {x:_0x3a30bc=0x0,y:_0x2c8b2b=0x0,si:_0x558a9f}=_0xfcc385;if(!(_0x3a30bc===0x0&&_0x2c8b2b===0x0&&_0x558a9f!=null))return!0x0;const _0x4b4646=this['_createFDtree'](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a,_0x1c70e7,_0xfcc385),_0x13f8b0=this[_0x44daa1(0xd0)][_0x44daa1(0x153)](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a);_0x13f8b0!=null?_0x4b4646['treeId']=_0x13f8b0:(this['_dependencyManagerService'][_0x44daa1(0x144)](_0x105ece,_0x2ccae7,_0x2e6006,_0x22e33a,_0x4b4646),this[_0x44daa1(0xd0)][_0x44daa1(0xa6)](_0x4b4646)),_0x2c3a25['set'](_0x558a9f,_0x4b4646),_0x4e0909['push'](_0x4b4646),this[_0x44daa1(0x17c)]['set'](_0x4b4646[_0x44daa1(0xfb)],_0x4b4646);}),_0x42b4d2[_0xdaba2(0x166)]((_0x1c3ad6,_0x5348ea,_0x10c13c)=>{const _0x48f680=_0xdaba2;if(_0x10c13c==null)return!0x0;const {x:_0x34eb21=0x0,y:_0x255739=0x0,si:_0x275914}=_0x10c13c;if(_0x34eb21===0x0&&_0x255739===0x0&&_0x275914!=null)return!0x0;let _0x4c361e;if(_0x275914&&_0x2c3a25[_0x48f680(0x12a)](_0x275914)){const _0x379387=_0x2c3a25[_0x48f680(0x10d)](_0x275914);_0x4c361e=this[_0x48f680(0x11e)](_0x379387,_0x10c13c);}else _0x4c361e=this[_0x48f680(0x101)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea,_0x1c70e7,_0x10c13c);const _0x42eba4=this[_0x48f680(0xd0)][_0x48f680(0x153)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea);_0x42eba4!=null?_0x4c361e[_0x48f680(0xfb)]=_0x42eba4:(this[_0x48f680(0xd0)][_0x48f680(0x144)](_0x105ece,_0x2ccae7,_0x1c3ad6,_0x5348ea,_0x4c361e),this[_0x48f680(0xd0)][_0x48f680(0xa6)](_0x4c361e)),_0x4e0909[_0x48f680(0x120)](_0x4c361e),this[_0x48f680(0x17c)][_0x48f680(0xe2)](_0x4c361e[_0x48f680(0xfb)],_0x4c361e);}),_0x2c3a25[_0xdaba2(0xb3)]();}}}[_0x1733f8(0x101)](_0x1843f8,_0x2cba29,_0x2e51ee,_0xca2ac9,_0x145501,_0x4af9b7){const _0x4dcc51=_0x1733f8,{f:_0x582e79,x:_0x15285e=0x0,y:_0x1127b1=0x0}=_0x4af9b7,_0x255706=new a['FormulaDependencyTree'](a[_0x4dcc51(0xe9)](this['_dependencyManagerService'])),_0x4259b5=_0x145501[_0x1843f8][_0x2cba29];return _0x255706[_0x4dcc51(0x9b)]=_0x582e79,_0x255706['unitId']=_0x1843f8,_0x255706[_0x4dcc51(0x16d)]=_0x2cba29,_0x255706[_0x4dcc51(0xe8)]=_0x2e51ee,_0x255706[_0x4dcc51(0x125)]=_0xca2ac9,_0x255706[_0x4dcc51(0x149)]=_0x4259b5[_0x4dcc51(0x149)],_0x255706[_0x4dcc51(0xb9)]=_0x4259b5[_0x4dcc51(0xb9)],_0x255706;}['_getUpdateTreeListAndMakeDependency'](){const _0x1774c3=_0x1733f8,_0x4be38c=[],_0x48f931=new Set(),_0x3f2518=this['_currentConfigService'][_0x1774c3(0xa2)](),_0x4e4cc9=this['_currentConfigService'][_0x1774c3(0x117)](),_0x40f56e=this[_0x1774c3(0xd0)][_0x1774c3(0xd2)](_0x4e4cc9),_0x443dcb=this[_0x1774c3(0xc9)]['bulkSearch'](_0x4e4cc9);for(const _0x1edd49 of _0x443dcb)_0x40f56e['add'](_0x1edd49);for(const [_0x2c527e,_0x2d11f6]of this['_dependencyTreeCache'])(_0x3f2518||_0x2d11f6[_0x1774c3(0x16f)]||_0x2d11f6[_0x1774c3(0x11b)](this[_0x1774c3(0x168)][_0x1774c3(0x111)]())||_0x40f56e[_0x1774c3(0x12a)](_0x2c527e)&&!_0x2d11f6[_0x1774c3(0x139)](this[_0x1774c3(0x168)][_0x1774c3(0x176)]()))&&!_0x48f931[_0x1774c3(0x12a)](_0x2c527e)&&(_0x4be38c[_0x1774c3(0x120)](_0x2d11f6),_0x48f931[_0x1774c3(0x135)](_0x2c527e));for(const [_0x3f5912,_0x4be940]of this['_dependencyTreeCache'])_0x4be940[_0x1774c3(0xd8)]||(_0x4be940[_0x1774c3(0x108)]['length']=0x0);return _0x4be38c;}['_getTreeById'](_0x2d1f7d){const _0x4cc4b5=_0x1733f8;return this[_0x4cc4b5(0x17c)][_0x4cc4b5(0x10d)](_0x2d1f7d);}[_0x1733f8(0xce)](_0x1c0ea6){const _0x2b922a=_0x1733f8;return a[_0x2b922a(0xf9)](_0x1c0ea6[_0x2b922a(0x141)],_0x1c0ea6[_0x2b922a(0x9b)],this[_0x2b922a(0x138)],this[_0x2b922a(0x177)],this[_0x2b922a(0x168)]);}*['_traverse'](_0x22ecde,_0x5c79b0){const _0xc6c8ef=_0x1733f8,_0x152d80=_0x22ecde,_0x3f5633=new Set();for(;_0x152d80[_0xc6c8ef(0x90)]>0x0;){const _0x1a9c3f=_0x152d80['pop']();if(_0x3f5633[_0xc6c8ef(0xb3)](),_0x1a9c3f===void 0x0||_0x1a9c3f['isSkip']())continue;if(_0x1a9c3f[_0xc6c8ef(0x174)]()){yield _0x1a9c3f,_0x1a9c3f[_0xc6c8ef(0x96)](),_0x5c79b0[_0xc6c8ef(0x135)](_0x1a9c3f[_0xc6c8ef(0xfb)]);continue;}const _0x4430b9=this[_0xc6c8ef(0xd0)]['searchDependency'](_0x1a9c3f['toRTreeItem'](),_0x5c79b0),_0x4a5c12=this[_0xc6c8ef(0xc9)]['bulkSearch'](_0x1a9c3f[_0xc6c8ef(0x152)](),_0x5c79b0);for(const _0x5a6df5 of _0x4a5c12)_0x4430b9['add'](_0x5a6df5);for(const _0xad25e9 of _0x4430b9){const _0x274288=this[_0xc6c8ef(0x17c)][_0xc6c8ef(0x10d)](_0xad25e9);if(!_0x274288)throw new Error(_0xc6c8ef(0x13b));_0x274288[_0xc6c8ef(0x174)]()||_0x1a9c3f[_0xc6c8ef(0x114)]()||_0x3f5633[_0xc6c8ef(0x135)](_0x274288);}if(_0x4430b9['clear'](),_0x3f5633[_0xc6c8ef(0x106)]===0x0)yield _0x1a9c3f,_0x1a9c3f['setSkip'](),_0x5c79b0[_0xc6c8ef(0x135)](_0x1a9c3f[_0xc6c8ef(0xfb)]);else{_0x1a9c3f[_0xc6c8ef(0x182)](),_0x152d80[_0xc6c8ef(0x120)](_0x1a9c3f);for(const _0x4b9045 of _0x3f5633)_0x152d80[_0xc6c8ef(0x120)](_0x4b9045);}}_0x152d80[_0xc6c8ef(0x90)]=0x0,_0x3f5633[_0xc6c8ef(0xb3)]();}[_0x1733f8(0xed)](_0x32530c){const _0x5174ad=_0x1733f8,_0x142856=[],_0xdf9b6=new Set();for(const _0x5a70fb of this[_0x5174ad(0x155)](_0x32530c,_0xdf9b6))_0x142856['push'](_0x5a70fb);return _0x142856;}async[_0x1733f8(0xe4)](){const _0x50a725=_0x1733f8;return await this[_0x50a725(0xaa)](),Array[_0x50a725(0x150)](this[_0x50a725(0x17c)][_0x50a725(0x134)]());}[_0x1733f8(0x183)](_0x448a6f){const _0x413541=_0x1733f8;return this[_0x413541(0xd0)][_0x413541(0xd2)](_0x448a6f[_0x413541(0x152)]());}[_0x1733f8(0x13d)](_0x218a7d){const _0x5b7a9e=_0x1733f8,_0x2192b5=new Set(),_0x40bb2b=_0x218a7d[_0x5b7a9e(0x108)];for(const [_0x1c1931,_0x54875a]of this['_dependencyTreeCache'])for(const _0x471f1f of _0x40bb2b){const _0x26d85d=_0x471f1f[_0x5b7a9e(0x141)],_0x1c5322=_0x471f1f['sheetId'];if(_0x54875a['unitId']!==_0x26d85d||_0x54875a[_0x5b7a9e(0x16d)]!==_0x1c5322)continue;const _0x3b4152=_0x471f1f[_0x5b7a9e(0xfc)];if(_0x54875a[_0x5b7a9e(0x154)](_0x3b4152)){_0x2192b5[_0x5b7a9e(0x135)](_0x1c1931);break;}}return _0x2192b5;}[_0x1733f8(0xb1)](){const _0x321509=_0x1733f8;this[_0x321509(0xd0)]['openKdTree']();}['_endFormulaDependencyTreeModel'](){const _0x37e964=_0x1733f8;this['_formulaDependencyTreeModel']['clear'](),this['_dependencyTreeCache'][_0x37e964(0xb3)](),this[_0x37e964(0xd0)]['closeKdTree']();}}class V extends a[_0x1733f8(0x10b)]{async[_0x1733f8(0xc8)](_0x1d7724=!0x1){const _0x1bd45d=_0x1733f8;_0x1d7724?this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0x87)]):this[_0x1bd45d(0x14b)]['setFormulaExecuteStage'](a['FormulaExecuteStageType']['START_DEPENDENCY']),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this['_runtimeService']['getRuntimeState']());const _0x145f76=await this['_formulaDependencyGenerator']['generate'](this[_0x1bd45d(0x169)]),_0x1ccb61=this[_0x1bd45d(0x170)];_0x1d7724?(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a[_0x1bd45d(0x185)][_0x1bd45d(0xde)]),this['_runtimeService']['setTotalArrayFormulasToCalculate'](_0x145f76[_0x1bd45d(0x90)])):(this['_runtimeService'][_0x1bd45d(0x137)](a['FormulaExecuteStageType']['START_CALCULATION']),this[_0x1bd45d(0x14b)][_0x1bd45d(0x171)](_0x145f76[_0x1bd45d(0x90)])),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this[_0x1bd45d(0x14b)]['getRuntimeState']());let _0x48480f=[];const _0x50de99=this['_configService'][_0x1bd45d(0xf0)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x3b72c6=(_0x50de99==null?void 0x0:_0x50de99[_0x1bd45d(0x17e)])||a[_0x1bd45d(0x184)];let _0x176893=0x0;const _0x476b27=_0x145f76['length'];for(;_0x145f76[_0x1bd45d(0x90)]>0x0;){const _0x296273=_0x145f76[_0x1bd45d(0xe7)](),_0x389ef6=a[_0x1bd45d(0xf9)](_0x296273[_0x1bd45d(0x141)],_0x296273[_0x1bd45d(0x9b)],this[_0x1bd45d(0x138)],this[_0x1bd45d(0x177)],this[_0x1bd45d(0x168)]),_0x473c35={'node':_0x389ef6,'refOffsetX':_0x296273[_0x1bd45d(0x14f)],'refOffsetY':_0x296273[_0x1bd45d(0x86)]},_0x2f0788=_0x296273[_0x1bd45d(0xc2)];if(_0x176893%_0x3b72c6===0x0&&(await new Promise(_0x121c81=>{const _0x27e410=_0x1bd45d,_0x53b3b0=w['requestImmediateMacroTask'](_0x121c81);_0x48480f[_0x27e410(0x120)](_0x53b3b0);}),_0x1d7724?(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0x17f)]),this[_0x1bd45d(0x14b)][_0x1bd45d(0x11a)](_0x176893+0x1)):(this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a['FormulaExecuteStageType'][_0x1bd45d(0xfa)]),this[_0x1bd45d(0x14b)]['setCompletedFormulasCount'](_0x176893+0x1)),this[_0x1bd45d(0x9f)][_0x1bd45d(0xf4)](this['_runtimeService'][_0x1bd45d(0x13c)]()),this[_0x1bd45d(0x14b)][_0x1bd45d(0xf8)]()||_0x473c35==null&&_0x2f0788==null)){this[_0x1bd45d(0x14b)][_0x1bd45d(0x137)](a[_0x1bd45d(0x185)][_0x1bd45d(0x102)]),this[_0x1bd45d(0x14b)]['markedAsStopFunctionsExecuted'](),this[_0x1bd45d(0x89)][_0x1bd45d(0xf4)](this[_0x1bd45d(0x14b)][_0x1bd45d(0xac)]());return;}this[_0x1bd45d(0x14b)][_0x1bd45d(0xeb)](_0x296273['row'],_0x296273[_0x1bd45d(0x125)],_0x296273[_0x1bd45d(0x149)],_0x296273[_0x1bd45d(0xb9)],_0x296273[_0x1bd45d(0x16d)],_0x296273[_0x1bd45d(0x141)]);let _0x39a1fe;if(_0x2f0788!=null&&_0x296273[_0x1bd45d(0xd4)]!=null){const {runtimeCellData:_0x220711,dirtyRanges:_0x4095c3}=_0x2f0788(this[_0x1bd45d(0x168)][_0x1bd45d(0xc2)](),this[_0x1bd45d(0x14b)][_0x1bd45d(0xac)]());this[_0x1bd45d(0x14b)][_0x1bd45d(0x133)](_0x296273[_0x1bd45d(0xd4)],_0x220711),this['_runtimeService'][_0x1bd45d(0x12c)](_0x296273[_0x1bd45d(0xd4)],_0x4095c3);}else _0x473c35!=null&&(_0x1ccb61[_0x1bd45d(0x113)](_0x473c35[_0x1bd45d(0xdb)])?_0x39a1fe=await _0x1ccb61[_0x1bd45d(0x124)](_0x473c35):_0x39a1fe=_0x1ccb61[_0x1bd45d(0xcb)](_0x473c35),_0x296273[_0x1bd45d(0x157)]!=null?this[_0x1bd45d(0x14b)]['setRuntimeOtherData'](_0x296273['formulaId'],_0x296273[_0x1bd45d(0x14f)],_0x296273[_0x1bd45d(0x86)],_0x39a1fe):this['_runtimeService']['setRuntimeData'](_0x39a1fe));_0x389ef6['resetCalculationState'](),_0x176893++;}return _0x48480f[_0x1bd45d(0x140)](_0x1bf8ec=>_0x1bf8ec()),_0x48480f=[],_0x476b27>0x0?this[_0x1bd45d(0x14b)][_0x1bd45d(0x15f)]():_0x1d7724||this[_0x1bd45d(0x14b)][_0x1bd45d(0xc7)](),this['_runtimeService'][_0x1bd45d(0xac)]();}}class K extends a['DependencyManagerBaseService']{constructor(){const _0x2ceab6=_0x1733f8;super(...arguments),C(this,'_allTreeMap',new Map()),C(this,'_dependencyRTreeCache',new w[(_0x2ceab6(0xab))](!0x0));}[_0x1733f8(0x14c)](){const _0x159a9d=_0x1733f8;this[_0x159a9d(0x180)][_0x159a9d(0xb3)](),this[_0x159a9d(0xec)]['clear'](),this[_0x159a9d(0x17b)][_0x159a9d(0xb3)](),this['_dependencyRTreeCache'][_0x159a9d(0xb3)](),this[_0x159a9d(0xc0)][_0x159a9d(0xb3)](),this[_0x159a9d(0xd3)](),this['_otherFormulaDataMainData']['clear']();}['addOtherFormulaDependency'](_0x48228d,_0xf526f2,_0x255154,_0x46cb12){const _0x411d05=_0x1733f8;this[_0x411d05(0x180)][_0x411d05(0x12a)](_0x48228d)||this['_otherFormulaData']['set'](_0x48228d,new Map());const _0x287445=this[_0x411d05(0x180)][_0x411d05(0x10d)](_0x48228d);_0x287445['has'](_0xf526f2)||_0x287445[_0x411d05(0xe2)](_0xf526f2,new Map());const _0x37779f=_0x287445[_0x411d05(0x10d)](_0xf526f2);_0x37779f['has'](_0x255154)||_0x37779f['set'](_0x255154,new w[(_0x411d05(0x158))]()),_0x37779f['get'](_0x255154)[_0x411d05(0xd5)](_0x46cb12[_0x411d05(0x14f)],_0x46cb12[_0x411d05(0x86)],_0x46cb12[_0x411d05(0xfb)]);}['removeOtherFormulaDependency'](_0x8c05ba,_0x51b6ca,_0x513133){const _0x4558f8=_0x1733f8,_0x5689cd=this['_otherFormulaData'][_0x4558f8(0x10d)](_0x8c05ba);if(_0x5689cd&&_0x5689cd[_0x4558f8(0x12a)](_0x51b6ca)){const _0x225243=_0x5689cd[_0x4558f8(0x10d)](_0x51b6ca);_0x513133[_0x4558f8(0x140)](_0x512172=>{const _0x4fb16b=_0x4558f8,_0xf6ea5e=_0x225243['get'](_0x512172);_0xf6ea5e!=null&&(_0xf6ea5e[_0x4fb16b(0x166)]((_0x147320,_0x19e1f4,_0x27a351)=>{const _0x15fb7f=_0x4fb16b;this[_0x15fb7f(0x99)](_0x27a351),this[_0x15fb7f(0xd1)](_0x27a351);}),_0x225243[_0x4fb16b(0xfe)](_0x512172),this[_0x4fb16b(0x156)][_0x4fb16b(0xfe)](_0x512172));}),_0x225243[_0x4558f8(0x106)]===0x0&&_0x5689cd[_0x4558f8(0xfe)](_0x51b6ca),_0x5689cd[_0x4558f8(0x106)]===0x0&&this[_0x4558f8(0x180)][_0x4558f8(0xfe)](_0x8c05ba);}}[_0x1733f8(0x162)](_0x3ae87b,_0x499f80){const _0x2fc50c=_0x1733f8,_0x6e2407=this[_0x2fc50c(0x180)]['get'](_0x3ae87b);if(_0x499f80&&_0x6e2407&&_0x6e2407[_0x2fc50c(0x12a)](_0x499f80)){const _0x6acea5=_0x6e2407['get'](_0x499f80);this[_0x2fc50c(0x97)](_0x3ae87b,_0x499f80);for(const _0x5303cb of _0x6acea5[_0x2fc50c(0xf7)]()){const _0x5cd299=_0x6acea5['get'](_0x5303cb);_0x5cd299!=null&&(_0x5cd299[_0x2fc50c(0x166)]((_0x40387b,_0x45252f,_0x2722ac)=>{const _0x5550dc=_0x2fc50c;this[_0x5550dc(0xc0)][_0x5550dc(0x10d)](_0x2722ac)&&this[_0x5550dc(0xd1)](_0x2722ac);}),this[_0x2fc50c(0x156)][_0x2fc50c(0xfe)](_0x5303cb));}_0x6acea5[_0x2fc50c(0xb3)]();}else{if(_0x6e2407){for(const _0x3de0ea of _0x6e2407[_0x2fc50c(0xf7)]()){const _0xbac927=_0x6e2407[_0x2fc50c(0x10d)](_0x3de0ea);this[_0x2fc50c(0x97)](_0x3ae87b,_0x3de0ea);for(const _0xd991ae of _0xbac927[_0x2fc50c(0xf7)]()){const _0x53ef50=_0xbac927[_0x2fc50c(0x10d)](_0xd991ae);_0x53ef50!=null&&(_0x53ef50[_0x2fc50c(0x166)]((_0x3cc336,_0x346276,_0x4a5f87)=>{const _0x3421e7=_0x2fc50c;this['_allTreeMap'][_0x3421e7(0x10d)](_0x4a5f87)&&this['_removeAllTreeMap'](_0x4a5f87);}),this[_0x2fc50c(0x156)][_0x2fc50c(0xfe)](_0xd991ae));}}this['_otherFormulaData'][_0x2fc50c(0xfe)](_0x3ae87b);}}}[_0x1733f8(0xd7)](_0x2f8aed,_0x4d85f4,_0x1d2310,_0x4bd8a8){const _0x1ed1f3=_0x1733f8;this[_0x1ed1f3(0xec)][_0x1ed1f3(0x12a)](_0x2f8aed)||this[_0x1ed1f3(0xec)][_0x1ed1f3(0xe2)](_0x2f8aed,new Map());const _0x3b02ed=this[_0x1ed1f3(0xec)][_0x1ed1f3(0x10d)](_0x2f8aed);_0x3b02ed[_0x1ed1f3(0x12a)](_0x4d85f4)||_0x3b02ed[_0x1ed1f3(0xe2)](_0x4d85f4,new Map()),_0x3b02ed['get'](_0x4d85f4)[_0x1ed1f3(0xe2)](_0x1d2310,_0x4bd8a8[_0x1ed1f3(0xfb)]);}['removeFeatureFormulaDependency'](_0x1dbfcf,_0x54ef8a,_0x1d579b){const _0xf335b0=_0x1733f8,_0x1e9ac4=this['_featureFormulaData'][_0xf335b0(0x10d)](_0x1dbfcf);if(_0x1e9ac4&&_0x1e9ac4['has'](_0x54ef8a)){const _0x5182a4=_0x1e9ac4[_0xf335b0(0x10d)](_0x54ef8a);_0x1d579b['forEach'](_0x376bdc=>{const _0x3fe736=_0xf335b0,_0x468ee9=_0x5182a4[_0x3fe736(0x10d)](_0x376bdc);_0x468ee9!=null&&(this['_removeDependencyRTreeCache'](_0x468ee9),_0x5182a4['delete'](_0x376bdc),this[_0x3fe736(0xd1)](_0x468ee9));});}}['clearFeatureFormulaDependency'](_0x13287b,_0x483b4d){const _0x268186=_0x1733f8,_0xb5233a=this[_0x268186(0xec)]['get'](_0x13287b);if(_0x483b4d&&_0xb5233a&&_0xb5233a['has'](_0x483b4d)){const _0x2459d9=_0xb5233a[_0x268186(0x10d)](_0x483b4d);this[_0x268186(0x97)](_0x13287b,_0x483b4d),_0x2459d9[_0x268186(0x140)](_0x44ff68=>{const _0x42f55e=_0x268186;_0x44ff68!=null&&this[_0x42f55e(0xd1)](_0x44ff68);}),_0x2459d9['clear']();}else _0xb5233a&&(_0xb5233a[_0x268186(0x140)]((_0x38a207,_0x2b66e6)=>{const _0x3522d3=_0x268186;this[_0x3522d3(0x97)](_0x13287b,_0x2b66e6),_0x38a207[_0x3522d3(0x140)](_0x3b2496=>{const _0x13d59a=_0x3522d3;_0x3b2496!=null&&this[_0x13d59a(0xd1)](_0x3b2496);});}),this[_0x268186(0xec)]['delete'](_0x13287b));}['addFormulaDependency'](_0x7e4b93,_0x1be16d,_0x562972,_0x232ca3,_0x2f3d34){const _0x278ac3=_0x1733f8;this['_formulaData'][_0x278ac3(0x12a)](_0x7e4b93)||this[_0x278ac3(0x17b)][_0x278ac3(0xe2)](_0x7e4b93,new Map());const _0xc0d802=this[_0x278ac3(0x17b)][_0x278ac3(0x10d)](_0x7e4b93);_0xc0d802[_0x278ac3(0x12a)](_0x1be16d)||_0xc0d802[_0x278ac3(0xe2)](_0x1be16d,new w[(_0x278ac3(0x158))]()),_0xc0d802[_0x278ac3(0x10d)](_0x1be16d)[_0x278ac3(0xd5)](_0x562972,_0x232ca3,_0x2f3d34[_0x278ac3(0xfb)]);}[_0x1733f8(0x100)](_0x545dc1,_0x543af3,_0xbe5309,_0x3aebea){const _0x249c6c=_0x1733f8,_0x327ff7=this['_formulaData'][_0x249c6c(0x10d)](_0x545dc1);if(_0x327ff7&&_0x327ff7[_0x249c6c(0x12a)](_0x543af3)){const _0x5768a6=_0x327ff7[_0x249c6c(0x10d)](_0x543af3),_0x138acc=_0x5768a6['getValue'](_0xbe5309,_0x3aebea);if(_0x138acc==null)return;this['_removeDependencyRTreeCache'](_0x138acc),_0x5768a6[_0x249c6c(0xa9)](_0xbe5309,_0x3aebea),this[_0x249c6c(0xd1)](_0x138acc);}}[_0x1733f8(0x143)](_0x55859a,_0x2531a3){const _0x1120ca=_0x1733f8,_0xbf1ef4=this[_0x1120ca(0x17b)][_0x1120ca(0x10d)](_0x55859a);if(_0x2531a3&&_0xbf1ef4&&_0xbf1ef4[_0x1120ca(0x12a)](_0x2531a3)){const _0x240ef5=_0xbf1ef4['get'](_0x2531a3);this[_0x1120ca(0x97)](_0x55859a,_0x2531a3),_0x240ef5[_0x1120ca(0x166)]((_0x2d5095,_0x50d3be,_0x59fcdf)=>{const _0x1910d9=_0x1120ca;if(_0x59fcdf==null)return!0x0;this[_0x1910d9(0xd1)](_0x59fcdf);}),_0x240ef5[_0x1120ca(0x14c)]();}else _0xbf1ef4&&(_0xbf1ef4[_0x1120ca(0x140)]((_0x9a339c,_0x3ce6d3)=>{const _0x550fac=_0x1120ca;this[_0x550fac(0x97)](_0x55859a,_0x3ce6d3),_0x9a339c[_0x550fac(0x166)]((_0xb3ad5f,_0x54778e,_0x34785e)=>{if(_0x34785e==null)return!0x0;this['_removeAllTreeMap'](_0x34785e);});}),this[_0x1120ca(0x17b)][_0x1120ca(0xfe)](_0x55859a));}[_0x1733f8(0x99)](_0xf62003){const _0x2d10eb=_0x1733f8;if(_0xf62003==null)return;const _0x4e1d71=this[_0x2d10eb(0xc0)][_0x2d10eb(0x10d)](_0xf62003);if(_0x4e1d71){const _0x138d92=[];for(const [_0x4baa92,_0x36e25b]of _0x4e1d71)for(const [_0x337679,_0x20611e]of _0x36e25b)_0x138d92[_0x2d10eb(0x120)]({'unitId':_0x4baa92,'sheetId':_0x337679,'range':_0x20611e,'id':_0xf62003});this['_dependencyRTreeCache'][_0x2d10eb(0xe5)](_0x138d92);}}[_0x1733f8(0x98)](_0x42cfc9,_0x342c14){const _0x2bb518=_0x1733f8,_0x50f946=this['_definedNameMap'][_0x2bb518(0x10d)](_0x42cfc9);if(_0x50f946){const _0x5005dd=_0x50f946[_0x2bb518(0x10d)](_0x342c14);if(_0x5005dd){for(const _0x410dcc of _0x5005dd)this[_0x2bb518(0x99)](_0x410dcc),this['_removeAllTreeMap'](_0x410dcc);_0x5005dd[_0x2bb518(0xb3)]();}}}['openKdTree'](){const _0x48d12a=_0x1733f8;this[_0x48d12a(0x172)][_0x48d12a(0x129)]();}['closeKdTree'](){const _0x586e3a=_0x1733f8;this[_0x586e3a(0x172)][_0x586e3a(0x12f)]();}[_0x1733f8(0xd1)](_0x279a0d){const _0x333d68=_0x1733f8;_0x279a0d!=null&&this[_0x333d68(0xc0)][_0x333d68(0xfe)](_0x279a0d);}[_0x1733f8(0xd9)](_0x546eb5){const _0x160b36=_0x1733f8;var _0x407166,_0x2ae85f;const _0x35fee1=_0x546eb5[_0x160b36(0x108)];let _0x1ef1bb=this[_0x160b36(0xc0)][_0x160b36(0x10d)](_0x546eb5[_0x160b36(0xfb)]);for(let _0x4e6c3b=0x0;_0x4e6c3b<_0x35fee1[_0x160b36(0x90)];_0x4e6c3b++){const _0x4c8caa=_0x35fee1[_0x4e6c3b];let {unitId:_0x2c5d71,sheetId:_0x133de1,range:_0x266abc}=_0x4c8caa;_0x1ef1bb||(_0x1ef1bb=new Map(),this[_0x160b36(0xc0)][_0x160b36(0xe2)](_0x546eb5[_0x160b36(0xfb)],_0x1ef1bb)),_0x1ef1bb[_0x160b36(0x12a)](_0x2c5d71)||_0x1ef1bb[_0x160b36(0xe2)](_0x2c5d71,new Map());const _0x2de08f=(_0x407166=_0x1ef1bb==null?void 0x0:_0x1ef1bb[_0x160b36(0x10d)](_0x2c5d71))==null?void 0x0:_0x407166[_0x160b36(0x10d)](_0x133de1);_0x2de08f&&(_0x266abc={'startRow':Math[_0x160b36(0x165)](_0x266abc[_0x160b36(0xee)],_0x2de08f['startRow']),'startColumn':Math['min'](_0x266abc['startColumn'],_0x2de08f[_0x160b36(0xa5)]),'endRow':Math[_0x160b36(0xff)](_0x266abc[_0x160b36(0x11c)],_0x2de08f[_0x160b36(0x11c)]),'endColumn':Math[_0x160b36(0xff)](_0x266abc[_0x160b36(0x8a)],_0x2de08f[_0x160b36(0x8a)])}),(_0x2ae85f=_0x1ef1bb['get'](_0x2c5d71))==null||_0x2ae85f[_0x160b36(0xe2)](_0x133de1,_0x266abc);}}}var Y=Object[_0x1733f8(0xb7)],j=(_0x35bbf2,_0x550b35,_0x5d8c5c,_0x5dde9e)=>{const _0x45f229=_0x1733f8;for(var _0x4e0cd6=_0x5dde9e>0x1?void 0x0:_0x5dde9e?Y(_0x550b35,_0x5d8c5c):_0x550b35,_0x41335c=_0x35bbf2[_0x45f229(0x90)]-0x1,_0x29ac17;_0x41335c>=0x0;_0x41335c--)(_0x29ac17=_0x35bbf2[_0x41335c])&&(_0x4e0cd6=_0x29ac17(_0x4e0cd6)||_0x4e0cd6);return _0x4e0cd6;};const $=Number[_0x1733f8(0x167)](0x69465de9);exports[_0x1733f8(0x8c)]=class extends a[_0x1733f8(0x11f)]{[_0x1733f8(0x12d)](){const _0x2ff67c=_0x1733f8;var _0x36f522,_0x334425;this[_0x2ff67c(0x15b)]()?(this[_0x2ff67c(0x91)]['add']([a['LexerTreeBuilder'],{'useClass':A}]),(_0x36f522=this['_config'])!=null&&_0x36f522[_0x2ff67c(0x13f)]||[[a[_0x2ff67c(0x178)],{'useClass':V}],[a[_0x2ff67c(0x14d)],{'useClass':K}],[a[_0x2ff67c(0xcf)],{'useClass':b}]]['forEach'](_0x269a17=>this[_0x2ff67c(0x91)][_0x2ff67c(0x135)](_0x269a17))):(this['_injector'][_0x2ff67c(0x135)]([a['LexerTreeBuilder'],{'useClass':a[_0x2ff67c(0x8d)]}]),(_0x334425=this[_0x2ff67c(0x122)])!=null&&_0x334425[_0x2ff67c(0x13f)]||[[a[_0x2ff67c(0x178)],{'useClass':a[_0x2ff67c(0x10b)]}],[a[_0x2ff67c(0x14d)],{'useClass':a['DependencyManagerService']}],[a[_0x2ff67c(0xcf)],{'useClass':a[_0x2ff67c(0x175)]}]][_0x2ff67c(0x140)](_0x735f48=>this[_0x2ff67c(0x91)][_0x2ff67c(0x135)](_0x735f48)));}[_0x1733f8(0x15b)](){const _0x3fb44b=_0x1733f8;var _0x2b9711;const _0xaf8973=(_0x2b9711=this[_0x3fb44b(0x11d)][_0x3fb44b(0xf0)](x[_0x3fb44b(0x9e)]))!=null?_0x2b9711:{},{ls:_0x4c1955,pbk:_0xdf4cae}=_0xaf8973;if(!_0x4c1955||!_0xdf4cae)return!0x1;const _0x1d4c64=x['unshiftString'](B,k),_0x23a7bd=new Function(_0x3fb44b(0x104)+_0x1d4c64)()(_0x4c1955,_0xdf4cae),_0x2d1521=_0x23a7bd[_0x3fb44b(0x88)];return _0x23a7bd[_0x3fb44b(0xcd)]&&x[_0x3fb44b(0x128)](_0x2d1521,'sf',$)?x[_0x3fb44b(0x12b)](_0x2d1521,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x1733f8(0x8c)]=j([w[_0x1733f8(0xef)](x[_0x1733f8(0xdf)])],exports[_0x1733f8(0x8c)]),exports['LexerTreeProBuilder']=A,Object['keys'](a)[_0x1733f8(0x140)](_0x1baed0=>{const _0x2dcd99=_0x1733f8;_0x1baed0!==_0x2dcd99(0xae)&&!Object[_0x2dcd99(0x160)][_0x2dcd99(0xb2)]['call'](exports,_0x1baed0)&&Object[_0x2dcd99(0xa1)](exports,_0x1baed0,{'enumerable':!0x0,'get':()=>a[_0x1baed0]});});
|
|
1
|
+
'use strict';function _0xbc32(){const _0x34fbf8=['setRuntimeFeatureRange','_updateRangeFlatten','clearFeatureFormulaDependency','realDeleteValue','_definedNameMap','_getDependencyTreeChildrenIds','generateAstNode','_getFirstCellOfRange','max','_injector','startColumn','_dependencyRTreeCache','markedAsNoFunctionsExecuted','Let\x20variable\x20name\x20\x22','unshiftString','getConfig','execute','getChildren','length','DependencyManagerBaseService','clearOtherFormulaDependency','addOtherFormulaDependencyMainData','checkAsyncNode','set','_isCyclicUtilMap','setSkip','setValue','_xlpm.','UniverProFormulaEnginePlugin','getDirtyRanges','toRTreeItem','_clearFunctionString','clearArrayObjectCache','_getAllDependencyJson','_getAllTreeList','string','getAllRuntimeData','ErrorType','executeAsync','removeFeatureFormulaDependency','refTree','_getTreeById','matchToken','setAdded','size','ICalculateFormulaService','_configService','_featureFormulaData','_otherFormulaDataMainData','313246SvmVUk','toStringTag','featureId','prototype','get','4612315qcdaPP','_dependencyTreeCache','startsWith','next','setTotalArrayFormulasToCalculate','_dependencyManagerService','values','_executionInProgressListener$','getFormulaData','rowCount','FormulaExecuteStageType','36LyBBIl','has','_lambdaFunctionParameterSet','DependentOn','_xlpmPrefix','call','default','getOwnPropertyDescriptor','refOffsetY','message','getDirtyData','Lambda\x20parameter\x20name\x20\x22','_dependencyRTreeCacheForAddressFunction','LS_CONFIG_KEY','_apply','setRuntimeFeatureCellData','markedAsSuccessfullyExecuted','openKdTree','LexerTreeBuilder','setDependencyTreeModelData','FormulaDependencyTree','unitId','SUFFIX_TOKEN_SET','type','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_clearPrefix','resetCalculationState','addFeatureFormulaDependency','_startFormulaDependencyTreeModel','removeOtherFormulaDependency','MINUS','keys','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','slice','_checkIsCycleDependency','return\x20','_handleNewFunctionChild','_handleChildrenForExprTree','endColumn','getOtherFormulaDependency','inRangeData','isCache','517848UgmGvX','DEFAULT_TOKEN_TYPE_ROOT','_generateExprTree','setRuntimeData','_xlfn.','parseInt','treeId','14280578KeygZs','endsWith','OPERATOR_TOKEN_SET','_otherFormulaManagerService','pop','bulkRemove','_initLicenseValid','getValue','430Gvvbyj','_config','getSheetFeatureLimit','sheetId','trim','isDirty','generate','_xlfnPrefix','_isCalculateTreeModel','_handleLambdaForExprTree','columnCount','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','DEFAULT_INTERVAL_COUNT','addFormulaDependencyByDefinedName','_hasNewExcelFunction','bulkSearch','column','_interpreter','IDLE','defineProperty','DEFAULT_TOKEN_LET_FUNCTION_NAME','IDependencyManagerService','prefixToken','formulaId','getFormulaExprTree','_formulaData','refOffsetX','treeBuilder','_currentUnitId','endRow','isVirtual','intervalCount','_resetPrefix','_runtimeService','LexerNode','_getCurNodeTypeForExprTree','FormulaDependencyTreeType','1884701fNvFMo','getClearDependencyTreeCache','generateRandomDependencyTreeId','requestImmediateMacroTask','Module','RTree','searchDependency','\x22\x20is\x20duplicated.','add','_generateTreeList','forEach','FormulaDependencyGenerator','OTHER_FORMULA','getStartIndex','notExecuteFormula','setRuntimeOtherData','_otherFormulaData','splitTableStructuredRef','isArray','isReferenceString','NEW_EXCEL_FUNCTIONS','_checkAddBracketForMinus','getFormulaDependency','_formulaDependencyTreeModel','dependencySheetName','72391cWydJM','START_CALCULATION_ARRAY_FORMULA','_generateNewFunctionString','_initializeGenerateTreeList','CURRENTLY_CALCULATING','_addAllTreeMap','_registerFormulas','_astTreeBuilder','_removeDependencyRTreeCache','forValue','2488KrMWGd','reset','_createFDtree','symbol','_currentConfigService','_executionCompleteListener$','getOtherFormulaData','IFormulaDependencyGenerator','subUnitId','_allTreeMap','from','startRow','setCurrent','delete','3tZNpwG','addOtherFormulaDependency','addFormulaDependency','_removeAllTreeMap','toUpperCase','clearFormulaDependency','formula','push','row','getRuntimeState','_calculateRunList','VALUE','closeKdTree','rangeList','UniverLicensePlugin','_lexer','featureDirtyRanges','resolve','_initializeWithOverride','node','DEFAULT_TOKEN_TYPE_PARAMETER','6ejEpIw','COLON','_checkColonNodeForExprTree','isFeatureAuthorizedWithinTime','CURRENTLY_CALCULATING_ARRAY_FORMULA','setCompletedArrayFormulasCount','clear','join','_endFormulaDependencyTreeModel','_removeDependencyRTreeCacheById','error','_getDependencyTreeParenIds','setCompletedFormulasCount','START_DEPENDENCY','_getUpdateTreeListAndMakeDependency','UniverFormulaEnginePlugin','min','hasOtherFormulaDataMainData','enableCycleDependency','LexerTreeProBuilder','22428yxRHHJ','children','_traverse','startIndex','ObjectMatrix','valid','setFormulaExecuteStage','FEATURE_FORMULA','range','START_DEPENDENCY_ARRAY_FORMULA','getToken','_restDependencyTreeId','4kfLHBK','_getTableNameFromStructuredRef'];_0xbc32=function(){return _0x34fbf8;};return _0xbc32();}const _0x425e65=_0x35d3;(function(_0x5282c6,_0x438423){const _0x26bdf2=_0x35d3,_0x4d2369=_0x5282c6();while(!![]){try{const _0x49d5ca=parseInt(_0x26bdf2(0x1fc))/0x1*(-parseInt(_0x26bdf2(0x1c9))/0x2)+parseInt(_0x26bdf2(0x194))/0x3*(-parseInt(_0x26bdf2(0x236))/0x4)+-parseInt(_0x26bdf2(0x201))/0x5+-parseInt(_0x26bdf2(0x1a9))/0x6*(-parseInt(_0x26bdf2(0x26a))/0x7)+-parseInt(_0x26bdf2(0x186))/0x8*(parseInt(_0x26bdf2(0x1bd))/0x9)+parseInt(_0x26bdf2(0x245))/0xa*(-parseInt(_0x26bdf2(0x17c))/0xb)+-parseInt(_0x26bdf2(0x20c))/0xc*(-parseInt(_0x26bdf2(0x23d))/0xd);if(_0x49d5ca===_0x438423)break;else _0x4d2369['push'](_0x4d2369['shift']());}catch(_0x4d3936){_0x4d2369['push'](_0x4d2369['shift']());}}}(_0xbc32,0xca3bd));var U=Object[_0x425e65(0x258)],P=(_0x9b9e60,_0x3b8e97,_0x286c24)=>_0x3b8e97 in _0x9b9e60?U(_0x9b9e60,_0x3b8e97,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x286c24}):_0x9b9e60[_0x3b8e97]=_0x286c24,D=(_0x51373b,_0x4b550d,_0x524dd1)=>P(_0x51373b,typeof _0x4b550d!=_0x425e65(0x189)?_0x4b550d+'':_0x4b550d,_0x524dd1);Object[_0x425e65(0x258)](exports,Symbol[_0x425e65(0x1fd)],{'value':_0x425e65(0x26e)});const c=require('@univerjs/engine-formula'),b=require('@univerjs-pro/license'),E=require('@univerjs/core');class A extends c[_0x425e65(0x21e)]{constructor(){const _0x3e4004=_0x425e65;super(...arguments),D(this,_0x3e4004(0x253),!0x1),D(this,_0x3e4004(0x20e),new Set()),D(this,_0x3e4004(0x210),_0x3e4004(0x1e6)),D(this,_0x3e4004(0x24c),_0x3e4004(0x23a)),D(this,_0x3e4004(0x261),'');}[_0x425e65(0x265)](){const _0x2d04fa=_0x425e65;this[_0x2d04fa(0x210)]='_xlpm.',this[_0x2d04fa(0x24c)]=_0x2d04fa(0x23a);}[_0x425e65(0x225)](){const _0x15ec3d=_0x425e65;this[_0x15ec3d(0x210)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x3a30f3,_0x27a330){const _0x1fd8c5=_0x425e65,_0x15be59=this[_0x1fd8c5(0x260)](_0x3a30f3,!0x1);if(!_0x15be59||_0x15be59===c['ErrorType'][_0x1fd8c5(0x19f)]||Array[_0x1fd8c5(0x27c)](_0x15be59))return null;const _0x20eb1e=[];return this[_0x1fd8c5(0x253)]=!0x1,this[_0x1fd8c5(0x17e)](_0x15be59,_0x20eb1e,_0x27a330),this[_0x1fd8c5(0x253)]?'='+_0x20eb1e[_0x1fd8c5(0x1b0)](''):null;}[_0x425e65(0x17e)](_0x524802,_0x13399d,_0x479500){const _0x3ede5a=_0x425e65,_0x3c1f9b=_0x524802[_0x3ede5a(0x1c7)](),_0x550cd1=_0x3c1f9b['trim'](),_0x140cb4=_0x550cd1[_0x3ede5a(0x198)](),_0x2cbc5e=this[_0x3ede5a(0x1ea)](_0x140cb4),_0x294ff1=_0x479500(_0x2cbc5e);let _0x5a60be=0x0;_0x3c1f9b===c[_0x3ede5a(0x237)]?_0x5a60be=0x3:_0x3c1f9b===c[_0x3ede5a(0x1a8)]?_0x5a60be=0x4:_0x3c1f9b===c[_0x3ede5a(0x22c)]?_0x5a60be=0x5:c[_0x3ede5a(0x27e)]['has'](_0x2cbc5e)?(_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x24c)]+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0):_0x140cb4===c[_0x3ede5a(0x250)]?(_0x13399d[_0x3ede5a(0x19b)](''+this['_xlfnPrefix']+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0,_0x5a60be=0x2):_0x140cb4===c[_0x3ede5a(0x259)]?(_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x24c)]+_0x550cd1),this[_0x3ede5a(0x253)]=!0x0,_0x5a60be=0x1):_0x140cb4===c[_0x3ede5a(0x1f5)]['COLON']?_0x5a60be=0x8:c[_0x3ede5a(0x222)][_0x3ede5a(0x20d)](_0x140cb4)?_0x5a60be=0x7:_0x140cb4===c['prefixToken']['MINUS']?(this[_0x3ede5a(0x27f)](_0x524802)&&(_0x5a60be=0x9),_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b)):(_0x13399d['push'](_0x3c1f9b),_0x5a60be=0xa),_0x294ff1?(_0x5a60be!==0x2&&_0x5a60be!==0x1&&(_0x5a60be=0x6),_0x13399d[_0x3ede5a(0x19b)]('(')):_0x5a60be===0x9&&_0x13399d['push']('(');const _0x410253=_0x524802[_0x3ede5a(0x1dc)](),_0x6af107=_0x410253[_0x3ede5a(0x1dd)];if(_0x5a60be===0x2){const _0x21a9db=_0x410253[0x0];let _0x26baf2=0x0;_0x21a9db instanceof c[_0x3ede5a(0x267)]&&_0x21a9db[_0x3ede5a(0x1c7)]()===c[_0x3ede5a(0x22c)]&&(_0x26baf2=0x1);for(let _0xe6b00e=_0x26baf2;_0xe6b00e<_0x6af107-0x1;_0xe6b00e++){const _0x1422d2=_0x410253[_0xe6b00e];if(_0x1422d2 instanceof c[_0x3ede5a(0x267)]){const _0x964b94=_0x1422d2[_0x3ede5a(0x1dc)]()[0x0];typeof _0x964b94==_0x3ede5a(0x1ee)&&(this[_0x3ede5a(0x20e)][_0x3ede5a(0x20d)](_0x964b94)&&console[_0x3ede5a(0x1b3)](_0x3ede5a(0x217)+_0x964b94+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3ede5a(0x272)](_0x964b94),_0x13399d[_0x3ede5a(0x19b)](''+this[_0x3ede5a(0x210)]+_0x964b94),this['_hasNewExcelFunction']=!0x0);}_0x13399d['push'](',');}this[_0x3ede5a(0x230)](_0x410253[_0x6af107-0x1],_0x13399d,_0x479500),_0x26baf2===0x1&&(_0x13399d['push'](')'),_0x13399d[_0x3ede5a(0x19b)]('('),this[_0x3ede5a(0x17e)](_0x21a9db,_0x13399d,_0x479500)),_0x13399d[_0x3ede5a(0x19b)](')');return;}else{if(_0x5a60be===0x1){for(let _0x20eccf=0x0;_0x20eccf<_0x6af107-0x1;_0x20eccf++){const _0x22f5f0=_0x410253[_0x20eccf];if(_0x22f5f0 instanceof c['LexerNode']&&_0x20eccf%0x2===0x0){const _0x2a549a=_0x22f5f0['getChildren']()[0x0];if(typeof _0x2a549a==_0x3ede5a(0x1ee)){this[_0x3ede5a(0x20e)][_0x3ede5a(0x20d)](_0x2a549a)&&console[_0x3ede5a(0x1b3)](_0x3ede5a(0x1d8)+_0x2a549a+_0x3ede5a(0x271)),this['_lambdaFunctionParameterSet'][_0x3ede5a(0x272)](_0x2a549a),_0x13399d['push'](''+this[_0x3ede5a(0x210)]+_0x2a549a),this[_0x3ede5a(0x253)]=!0x0,_0x13399d[_0x3ede5a(0x19b)](',');continue;}}if(this[_0x3ede5a(0x230)](_0x22f5f0,_0x13399d,_0x479500),_0x22f5f0 instanceof c[_0x3ede5a(0x267)]){const _0x1b1526=_0x410253[_0x20eccf+0x1];_0x1b1526&&_0x1b1526 instanceof c[_0x3ede5a(0x267)]&&_0x13399d[_0x3ede5a(0x19b)](',');}}this[_0x3ede5a(0x230)](_0x410253[_0x6af107-0x1],_0x13399d,_0x479500),_0x13399d[_0x3ede5a(0x19b)](')');return;}else{if(_0x5a60be===0x8){const _0x109450=_0x410253[0x0],_0x381e93=_0x410253[0x1];this[_0x3ede5a(0x230)](_0x109450,_0x13399d,_0x479500),_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b),this[_0x3ede5a(0x230)](_0x381e93,_0x13399d,_0x479500);return;}}}for(let _0x19ad6f=0x0;_0x19ad6f<_0x6af107;_0x19ad6f++){const _0x45ffb0=_0x410253[_0x19ad6f];if(this['_handleNewFunctionChild'](_0x45ffb0,_0x13399d,_0x479500),_0x45ffb0 instanceof c['LexerNode']){const _0x41bdc0=_0x410253[_0x19ad6f+0x1];_0x41bdc0&&_0x41bdc0 instanceof c[_0x3ede5a(0x267)]&&_0x13399d[_0x3ede5a(0x19b)](',');}}_0x5a60be===0x7&&_0x13399d[_0x3ede5a(0x19b)](_0x3c1f9b),(_0x294ff1||_0x5a60be===0x9)&&_0x13399d[_0x3ede5a(0x19b)](')');}[_0x425e65(0x230)](_0xe6cdfb,_0xcd0533,_0x1cea12){const _0xe0d8ca=_0x425e65;_0xe6cdfb instanceof c[_0xe0d8ca(0x267)]?this[_0xe0d8ca(0x17e)](_0xe6cdfb,_0xcd0533,_0x1cea12):this[_0xe0d8ca(0x20e)][_0xe0d8ca(0x20d)](_0xe6cdfb)?(_0xcd0533[_0xe0d8ca(0x19b)](''+this['_xlpmPrefix']+_0xe6cdfb),this[_0xe0d8ca(0x253)]=!0x0):_0xcd0533[_0xe0d8ca(0x19b)](_0xe6cdfb);}[_0x425e65(0x1ea)](_0x46eb35){const _0xff357=_0x425e65;let _0xbb66e6=_0x46eb35[_0xff357(0x249)]();if(!_0xbb66e6)return _0xbb66e6;const _0x39df1f=_0xbb66e6[0x0];if((_0x39df1f===c[_0xff357(0x25b)]['AT']||_0x39df1f===c[_0xff357(0x25b)][_0xff357(0x22a)]||_0x39df1f===c[_0xff357(0x25b)]['PLUS'])&&(_0xbb66e6=_0xbb66e6[_0xff357(0x22d)](0x1)),!_0xbb66e6)return _0xbb66e6;const _0x302f20=_0xbb66e6[_0xbb66e6[_0xff357(0x1dd)]-0x1];return c['SUFFIX_TOKEN_SET'][_0xff357(0x20d)](_0x302f20)&&(_0xbb66e6=_0xbb66e6[_0xff357(0x22d)](0x0,-0x1)),_0xbb66e6;}[_0x425e65(0x27f)](_0x27de3c){const _0x3d1b0b=_0x425e65,_0x33cf0e=_0x27de3c[_0x3d1b0b(0x1dc)]()[0x0];if(!_0x33cf0e||!(_0x33cf0e instanceof c[_0x3d1b0b(0x267)])||_0x27de3c[_0x3d1b0b(0x1dc)]()[_0x3d1b0b(0x1dd)]>0x1)return!0x1;const _0x336525=_0x33cf0e[_0x3d1b0b(0x1dc)](),_0x57f5d8=_0x336525[_0x3d1b0b(0x1dd)];if(_0x57f5d8===0x1)return!0x1;for(let _0xbef621=0x0;_0xbef621<_0x57f5d8;_0xbef621++){const _0x35e929=_0x336525[_0xbef621];if(!(_0x35e929 instanceof c['LexerNode'])&&c[_0x3d1b0b(0x23f)]['has'](_0x35e929))return!0x0;}return!0x1;}[_0x425e65(0x25d)](_0x142a0c,_0x10d707,_0x1374af,_0x181476,_0x302e99){const _0x1bdec9=_0x425e65,_0x3ff221=this[_0x1bdec9(0x260)](_0x142a0c,!0x1);if(!_0x3ff221||_0x3ff221===c[_0x1bdec9(0x1f0)][_0x1bdec9(0x19f)]||Array['isArray'](_0x3ff221))return null;this[_0x1bdec9(0x225)](),this['_currentUnitId']=_0x10d707;const _0x1e5f00=this['_generateExprTree'](_0x3ff221,_0x1374af,_0x181476,_0x302e99);return this[_0x1bdec9(0x261)]='',this[_0x1bdec9(0x265)](),_0x1e5f00;}[_0x425e65(0x238)](_0x130431,_0xb0dd96,_0x272814,_0x3b1d99){const _0xbda6b9=_0x425e65,_0x51fb8f={'value':'','children':[],'startIndex':0x0};let _0x195a8a=_0x130431;if(_0x195a8a instanceof c[_0xbda6b9(0x267)]&&(_0x195a8a[_0xbda6b9(0x1c7)]()===c['DEFAULT_TOKEN_TYPE_ROOT']||_0x195a8a[_0xbda6b9(0x1c7)]()===c[_0xbda6b9(0x1a8)])&&_0x195a8a['getChildren']()[_0xbda6b9(0x1dd)]===0x1&&(_0x195a8a=_0x195a8a[_0xbda6b9(0x1dc)]()[0x0]),!(_0x195a8a instanceof c['LexerNode']))return this['_handleTextNodeForExprTree'](_0x195a8a,_0x272814,_0x3b1d99);const _0x3456cf=_0x195a8a['getChildren'](),_0xb4aad1=_0x3456cf[_0xbda6b9(0x1dd)],_0x557d59=[];this[_0xbda6b9(0x17e)](_0x195a8a,_0x557d59,_0xb0dd96),_0x51fb8f['value']=_0x557d59[_0xbda6b9(0x1b0)](''),_0x51fb8f[_0xbda6b9(0x1c0)]=_0x195a8a['getStartIndex']();const _0xd23515=this['_getCurNodeTypeForExprTree'](_0x195a8a);if(_0xd23515===0x2){const _0x254901=_0x3456cf[0x0];if(_0x254901 instanceof c[_0xbda6b9(0x267)]){if(_0x254901['getToken']()[_0xbda6b9(0x249)]()!==c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x51fb8f;this[_0xbda6b9(0x24e)](_0x254901,_0x51fb8f,_0xb0dd96,_0x272814,_0x3b1d99);}return _0x51fb8f;}else{if(_0xd23515===0x1){for(let _0x39fb59=0x0;_0x39fb59<_0xb4aad1-0x1;_0x39fb59++){const _0x24f721=_0x3456cf[_0x39fb59];if(_0x24f721 instanceof c[_0xbda6b9(0x267)]&&_0x39fb59%0x2===0x1){const _0x2e24e1=_0x24f721[_0xbda6b9(0x1dc)]();if(_0x2e24e1['length']===0x1&&!(_0x2e24e1[0x0]instanceof c[_0xbda6b9(0x267)]))continue;const _0x2eaf3a=this[_0xbda6b9(0x238)](_0x24f721,_0xb0dd96,_0x272814,_0x3b1d99);_0x2eaf3a&&_0x51fb8f[_0xbda6b9(0x1be)][_0xbda6b9(0x19b)](_0x2eaf3a);}}return _0x51fb8f;}else{if(_0xd23515===0x8){const _0x481db0=_0x3456cf[0x0];if(_0x481db0 instanceof c['LexerNode']){const _0x47ddee=_0x481db0[_0xbda6b9(0x1dc)]()[0x0];_0x47ddee instanceof c[_0xbda6b9(0x267)]&&(_0x51fb8f[_0xbda6b9(0x1c0)]=_0x47ddee[_0xbda6b9(0x277)]());}if(this[_0xbda6b9(0x1ab)](_0x195a8a))return _0x51fb8f;}else{if(_0xd23515===0x7){const _0x42ec09=_0x3456cf[0x0];if(_0x42ec09 instanceof c[_0xbda6b9(0x267)]){const _0x17ee9a=_0x42ec09['getChildren']()[0x0];_0x17ee9a instanceof c[_0xbda6b9(0x267)]&&(_0x51fb8f[_0xbda6b9(0x1c0)]=_0x17ee9a[_0xbda6b9(0x277)]());}}}}}return this[_0xbda6b9(0x231)](_0x3456cf,_0xd23515,_0x51fb8f,_0xb0dd96,_0x272814,_0x3b1d99),_0x51fb8f;}['_handleChildrenForExprTree'](_0x54f94d,_0x47f897,_0xf5c62d,_0x23d37a,_0x517c5c,_0xb8a25e){const _0x1af4c5=_0x425e65;for(let _0x5b3be1=0x0;_0x5b3be1<_0x54f94d[_0x1af4c5(0x1dd)];_0x5b3be1++){let _0x318070=_0x54f94d[_0x5b3be1];if(!(_0x318070 instanceof c[_0x1af4c5(0x267)])){const _0xca89a1=this['_handleTextNodeForExprTree'](_0x318070,_0x517c5c,_0xb8a25e);_0xca89a1&&_0xf5c62d[_0x1af4c5(0x1be)][_0x1af4c5(0x19b)](_0xca89a1);continue;}const _0x142727=_0x318070[_0x1af4c5(0x1dc)]();if(_0x142727[_0x1af4c5(0x1dd)]===0x1&&!(_0x142727[0x0]instanceof c[_0x1af4c5(0x267)])){const _0xf647ef=_0x142727[0x0];if(!_0x517c5c(this[_0x1af4c5(0x261)],_0xf647ef)&&!this[_0x1af4c5(0x1ca)](_0xf647ef,_0xb8a25e)&&!c['isReferenceString'](_0xf647ef))continue;}if(_0x47f897===0x8){const _0x56830a=_0x142727[0x0];if(_0x56830a instanceof c[_0x1af4c5(0x267)]){const _0x5071c0=_0x56830a[_0x1af4c5(0x1c7)]()['trim']();if(c[_0x1af4c5(0x27d)](_0x5071c0))continue;_0x318070=_0x56830a;}}const _0x85e7=this[_0x1af4c5(0x238)](_0x318070,_0x23d37a,_0x517c5c,_0xb8a25e);_0x85e7&&_0xf5c62d[_0x1af4c5(0x1be)]['push'](_0x85e7);}}[_0x425e65(0x1ab)](_0x509fdc){const _0x23a3d8=_0x425e65,_0xe1182=_0x509fdc[_0x23a3d8(0x1dc)]();if(_0xe1182[_0x23a3d8(0x1dd)]<0x2)return!0x1;const _0x182f97=_0xe1182[0x0],_0x216bd0=_0xe1182[0x1];if(!(_0x182f97 instanceof c[_0x23a3d8(0x267)])||!(_0x216bd0 instanceof c[_0x23a3d8(0x267)]))return!0x1;const _0x2f0205=_0x182f97[_0x23a3d8(0x1dc)]()[0x0],_0x53f6ba=_0x216bd0[_0x23a3d8(0x1dc)]()[0x0];if(!(_0x2f0205 instanceof c[_0x23a3d8(0x267)])||!(_0x53f6ba instanceof c[_0x23a3d8(0x267)]))return!0x1;const _0x541ea9=_0x2f0205[_0x23a3d8(0x1c7)]()[_0x23a3d8(0x249)](),_0x5befd0=_0x53f6ba[_0x23a3d8(0x1c7)]()[_0x23a3d8(0x249)]();return!!c[_0x23a3d8(0x27d)](''+_0x541ea9+c[_0x23a3d8(0x1f5)][_0x23a3d8(0x1aa)]+_0x5befd0);}['_handleTextNodeForExprTree'](_0xed38d4,_0xec3c23,_0xcfc9a){const _0x3cf05c=_0x425e65,_0x3e7e71=_0xed38d4[_0x3cf05c(0x249)]();return _0x3e7e71[_0x3cf05c(0x203)]('{')&&_0x3e7e71[_0x3cf05c(0x23e)]('}')||_0xec3c23(this['_currentUnitId'],_0x3e7e71)||this[_0x3cf05c(0x1ca)](_0x3e7e71,_0xcfc9a)||c['isReferenceString'](_0x3e7e71)?{'value':_0x3e7e71,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x1077c7,_0x9393da){const _0x34c5b0=_0x425e65,{tableName:_0x1c2b4d}=c[_0x34c5b0(0x27b)](_0x1077c7);return _0x9393da(this['_currentUnitId'],_0x1c2b4d)?_0x1c2b4d:null;}[_0x425e65(0x24e)](_0x1ae185,_0x42c1c9,_0x446067,_0x286108,_0x29fe64){const _0x3bb3a8=_0x425e65,_0x5671a8=_0x1ae185[_0x3bb3a8(0x1dc)]();for(let _0x28cdaf=0x0;_0x28cdaf<_0x5671a8[_0x3bb3a8(0x1dd)];_0x28cdaf++){const _0x1e6192=_0x5671a8[_0x28cdaf];if(!(_0x1e6192 instanceof c[_0x3bb3a8(0x267)]))continue;const _0x397d25=_0x1e6192[_0x3bb3a8(0x1dc)]();if(_0x397d25[_0x3bb3a8(0x1dd)]===0x1&&!(_0x397d25[0x0]instanceof c[_0x3bb3a8(0x267)]))continue;const _0x3e33a2=this[_0x3bb3a8(0x238)](_0x1e6192,_0x446067,_0x286108,_0x29fe64);_0x3e33a2&&_0x42c1c9['children']['push'](_0x3e33a2);}}[_0x425e65(0x268)](_0x4759e3){const _0x5d1d24=_0x425e65,_0x4e2974=_0x4759e3['getToken'](),_0x216929=_0x4e2974[_0x5d1d24(0x249)]()[_0x5d1d24(0x198)]();let _0x41aca9=0x0;return _0x4e2974===c[_0x5d1d24(0x237)]?_0x41aca9=0x3:_0x4e2974===c[_0x5d1d24(0x1a8)]?_0x41aca9=0x4:_0x4e2974===c['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x41aca9=0x5:_0x216929===c['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x41aca9=0x2:_0x216929===c[_0x5d1d24(0x259)]?_0x41aca9=0x1:_0x216929===c[_0x5d1d24(0x1f5)][_0x5d1d24(0x1aa)]?_0x41aca9=0x8:c[_0x5d1d24(0x222)][_0x5d1d24(0x20d)](_0x216929)?_0x41aca9=0x7:_0x216929===c[_0x5d1d24(0x25b)][_0x5d1d24(0x22a)]?this[_0x5d1d24(0x27f)](_0x4759e3)&&(_0x41aca9=0x9):_0x41aca9=0xa,_0x41aca9;}}const k={0x0:'N',0x1:'3',0x2:'Q',0x3:'X',0x4:'y',0x5:'w',0x6:'u',0x7:'E',0x8:'2',0x9:'m','I':'0','S':'1','J':'4','H':'5','j':'6','T':'7','P':'8','z':'9','O':'a','a':'b','f':'c','r':'d','b':'e','l':'f','K':'g','p':'h','B':'i','t':'j','A':'k','w':'l','g':'n','m':'o','X':'p','F':'q','c':'r','G':'s','Y':'t','W':'v','M':'x','L':'z','d':'A','V':'B','u':'C','e':'D','h':'F','i':'G','N':'H','C':'I','y':'J','Q':'K','v':'L','q':'M','n':'O','x':'P','E':'R','Z':'S','k':'T','o':'U','R':'V','U':'W','D':'Y','s':'Z'},K='/*\x20bGwBgY-rBGOawb\x20Xcblbc-Yb9XwOYb\x20*/l6gfYBmg\x20rbfc4XYBmg(wBfbgGb,\x20X6awBfQb4)\x20{\x20\x20\x20\x20Yc4\x20{\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20wBfbgGbCglmxOcYdccO4\x20=\x20wBfbgGb.GXwBY(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20mcBKBgqbGGOKb\x20=\x20yZn0.XOcGb(OYma(wBfbgGbCglmxOcYdccO4[8]));\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(!mcBKBgqbGGOKb.6r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mcBKBgqbGGOKb.6r\x20=\x20069abc(wBfbgGbCglmxOcYdccO4[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGUmcAbc\x20=\x20Y4Xbml\x20UmcAbciwmaOwZfmXb\x20!==\x20\x276grblBgbr\x27\x20&&\x20Gbwl\x20BgGYOgfbml\x20UmcAbciwmaOwZfmXb;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGVcm5Gbc\x20=\x20Y4Xbml\x205Bgrm5\x20!==\x20\x276grblBgbr\x27\x20&&\x20Y4Xbml\x205Bgrm5.wmfOYBmg\x20!==\x20\x276grblBgbr\x27;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20fmgYbMY\x20=\x20BGUmcAbc\x20?\x20Gbwl\x20:\x20(BGVcm5Gbc\x20?\x205Bgrm5\x20:\x20KwmaOwkpBG);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[8]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(9bGGOKbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[1]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(GBKgOY6cbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgROwBr\x20=\x20fmgYbMY.__WbcBl4__(GBKgOY6cb,\x209bGGOKb,\x20X6awBfQb4);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20rm9OBg\x20=\x20mcBKBgqbGGOKb.r9;\x20\x20\x20\x20\x20\x20\x20\x20l6gfYBmg\x20BGem9OBgqOYfpBgK(XOYYbcg:\x20GYcBgK,\x20pmGY:\x20GYcBgK):\x20ammwbOg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg\x20===\x20pmGY)\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg.GYOcYGUBYp(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20G6llBM\x20=\x20XOYYbcg.GwBfb(8);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20G6llBM\x20===\x20pmGY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20!pmGY.GYOcYGUBYp(\x27.\x27)\x20&&\x20pmGY.bgrGUBYp(\x27.\x27\x20+\x20G6llBM))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wbY\x20rm9OBgROwBr\x20=\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(BGVcm5Gbc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20(rm9OBg\x20&&\x20rm9OBg.wbgKYp)\x20?\x20rm9OBg.Gm9b((r9CYb9)\x20=>\x20BGem9OBgqOYfpBgK(r9CYb9,\x20wmfOYBmg.pmGYgO9b))\x20:\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(wmfOYBmg.pmGYgO9b\x20===\x20\x27wmfOwpmGY\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20bwGb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20WOwBr\x20=\x20GBKgROwBr\x20&&\x20rm9OBgROwBr;\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20mcBKBgqbGGOKb,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20fOYfp\x20(bccmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr:\x20lOwGb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class V extends c[_0x425e65(0x275)]{constructor(){const _0x8169a4=_0x425e65;super(...arguments),D(this,_0x8169a4(0x202),new Map());}['dispose'](){const _0x1ce7bc=_0x425e65;super['dispose'](),this[_0x1ce7bc(0x202)][_0x1ce7bc(0x1af)]();}async['generate'](_0x1aedc5=!0x1){const _0x37629b=_0x425e65;this[_0x37629b(0x1cc)]();const _0x35eecc=this['_currentConfigService'][_0x37629b(0x209)](),_0x236422=this[_0x37629b(0x240)][_0x37629b(0x18c)](),_0x176d94=this['_currentConfigService'][_0x37629b(0x26b)]();_0x176d94!=null&&Object[_0x37629b(0x22b)](_0x176d94)[_0x37629b(0x274)](_0x566909=>{const _0x166009=_0x37629b;_0x566909!=null&&Object['keys'](_0x176d94[_0x566909])[_0x166009(0x274)](_0x4188ea=>{const _0x2e6921=_0x166009;_0x4188ea!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x566909,_0x4188ea),this['_dependencyManagerService'][_0x2e6921(0x1cd)](_0x566909,_0x4188ea),this['_dependencyManagerService'][_0x2e6921(0x199)](_0x566909,_0x4188ea));});});const _0x2a6479=this[_0x37629b(0x18a)]['getUnitData']();await this[_0x37629b(0x273)](_0x35eecc,_0x236422,_0x2a6479),this['_dependencyManagerService'][_0x37629b(0x21d)]();const _0xb12a17=this[_0x37629b(0x1b7)](),_0x371198=this[_0x37629b(0x19e)](_0xb12a17);return this[_0x37629b(0x22e)](_0x371198)&&this['_runtimeService'][_0x37629b(0x1bb)](),_0x1aedc5&&this['_runtimeService'][_0x37629b(0x21f)](this[_0x37629b(0x1ec)](Array[_0x37629b(0x190)](this[_0x37629b(0x202)][_0x37629b(0x207)]()))),this[_0x37629b(0x202)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x37629b(0x1af)](),this[_0x37629b(0x206)][_0x37629b(0x1a0)](),this[_0x37629b(0x266)][_0x37629b(0x1eb)](),Promise[_0x37629b(0x1a5)](_0x371198);}['_isCyclicUtilMap'](_0x350de7,_0x4d54db){const _0x5d9b72=_0x425e65,_0x241527=[_0x350de7];for(;_0x241527[_0x5d9b72(0x1dd)]>0x0;){const _0x1481f7=_0x241527[_0x241527[_0x5d9b72(0x1dd)]-0x1];if((_0x4d54db[_0x5d9b72(0x200)](_0x1481f7)||0x0)===0x0){_0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x1);const _0x331e86=this[_0x5d9b72(0x202)][_0x5d9b72(0x200)](_0x1481f7);if(_0x331e86==null){_0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x2),_0x241527[_0x5d9b72(0x241)]();continue;}const _0x178e62=this['_dependencyManagerService'][_0x5d9b72(0x270)](_0x331e86[_0x5d9b72(0x1e9)]());for(const _0x1c608c of _0x178e62){const _0x3fbbb8=_0x4d54db[_0x5d9b72(0x200)](_0x1c608c)||0x0;if(_0x3fbbb8===0x1)return!0x0;_0x3fbbb8===0x0&&_0x241527[_0x5d9b72(0x19b)](_0x1c608c);}}else _0x4d54db[_0x5d9b72(0x1e2)](_0x1481f7,0x2),_0x241527[_0x5d9b72(0x241)]();}return!0x1;}[_0x425e65(0x22e)](_0x416f07){const _0x45fa1f=_0x425e65,_0x5d6c5e=new Map();for(const _0x415c6a of _0x416f07)if(!_0x5d6c5e[_0x45fa1f(0x20d)](_0x415c6a['treeId'])&&this[_0x45fa1f(0x1e3)](_0x415c6a['treeId'],_0x5d6c5e))return!0x0;return _0x5d6c5e['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x1a212b,_0x538a8b,_0x43b204){const _0xa88308=_0x425e65,{unitId:_0x5c2c2f,subUnitId:_0x2866c2,dependencyRanges:_0x1852a3,getDirtyData:_0x642006}=_0x43b204,_0x58cd92=_0x538a8b||c[_0xa88308(0x26c)](this[_0xa88308(0x206)]),_0x39c5d2=new c['FormulaDependencyTree'](_0x58cd92);_0x39c5d2[_0xa88308(0x221)]=_0x5c2c2f,_0x39c5d2[_0xa88308(0x18e)]=_0x2866c2,_0x39c5d2[_0xa88308(0x1a1)]=_0x1852a3,_0x39c5d2['getDirtyData']=_0x642006;const _0x325a5d=_0x642006(this['_currentConfigService'][_0xa88308(0x216)](),this[_0xa88308(0x266)]['getAllRuntimeData']()),_0x373b60=this['_convertDirtyRangesToUnitRange'](_0x325a5d['dirtyRanges']);return _0x39c5d2[_0xa88308(0x1a4)]=_0x373b60,_0x39c5d2[_0xa88308(0x1fe)]=_0x1a212b,_0x39c5d2[_0xa88308(0x223)]=c[_0xa88308(0x269)][_0xa88308(0x1c4)],this[_0xa88308(0x206)][_0xa88308(0x227)](_0x5c2c2f,_0x2866c2,_0x1a212b,_0x39c5d2),this['_dependencyTreeCache'][_0xa88308(0x1e2)](_0x39c5d2[_0xa88308(0x23c)],_0x39c5d2),this[_0xa88308(0x206)]['getFeatureFormulaDependency'](_0x43b204[_0xa88308(0x221)],_0x43b204[_0xa88308(0x18e)],_0x1a212b)&&(_0x39c5d2[_0xa88308(0x235)]=!0x0),_0x39c5d2;}['_registerOtherFormulas'](_0x37b659,_0x58c80c,_0x597b0e){const _0x18f9c5=_0x425e65;var _0x18a942;for(const _0x9ae90 of _0x58c80c){const _0x52af13=_0x37b659[_0x9ae90];if(_0x52af13==null)continue;const _0x302cab=Object['keys'](_0x52af13);for(const _0x198318 of _0x302cab){const _0x4b078e=_0x52af13[_0x198318];if(_0x4b078e==null)continue;const _0x34c1fa=Object[_0x18f9c5(0x22b)](_0x4b078e);for(const _0x522caa of _0x34c1fa){const _0x549e45=this[_0x18f9c5(0x206)][_0x18f9c5(0x1ba)](_0x522caa),_0x2f808e=_0x4b078e[_0x522caa],{f:_0x670c36,ranges:_0xe88c85}=_0x2f808e;let _0x350da5=!0x1;_0x549e45&&(_0x350da5=!0x0);const {firstRow:_0x2fa995,firstColumn:_0x740cf0}=this[_0x18f9c5(0x1d2)](_0xe88c85),_0x33244d=this[_0x18f9c5(0x206)][_0x18f9c5(0x233)](_0x9ae90,_0x198318,_0x522caa),_0x4ac3bb=(_0x18a942=_0x33244d==null?void 0x0:_0x33244d[_0x18f9c5(0x244)](0x0,0x0))!=null?_0x18a942:c['generateRandomDependencyTreeId'](this[_0x18f9c5(0x206)]),_0x55955e=new c['FormulaDependencyTree'](_0x4ac3bb);for(let _0x2cd10c=0x0;_0x2cd10c<_0xe88c85['length'];_0x2cd10c++){const _0x297d2d=_0xe88c85[_0x2cd10c],{startRow:_0x27cd4f,startColumn:_0x53f8cd,endRow:_0x1e1853,endColumn:_0x3fa1e0}=_0x297d2d;for(let _0x3e27a3=_0x27cd4f;_0x3e27a3<=_0x1e1853;_0x3e27a3++)for(let _0xabac3a=_0x53f8cd;_0xabac3a<=_0x3fa1e0;_0xabac3a++){const _0xf0256d=_0xabac3a-_0x740cf0,_0x3f4184=_0x3e27a3-_0x2fa995;if(_0xf0256d===0x0&&_0x3f4184===0x0){_0x55955e['formula']=_0x670c36,_0x55955e[_0x18f9c5(0x221)]=_0x9ae90,_0x55955e[_0x18f9c5(0x18e)]=_0x198318,_0x55955e[_0x18f9c5(0x25c)]=_0x522caa,_0x55955e[_0x18f9c5(0x223)]=c[_0x18f9c5(0x269)][_0x18f9c5(0x276)],_0x55955e[_0x18f9c5(0x235)]=_0x350da5,_0x597b0e[_0x18f9c5(0x19b)](_0x55955e),this[_0x18f9c5(0x202)]['set'](_0x55955e['treeId'],_0x55955e),this[_0x18f9c5(0x206)][_0x18f9c5(0x195)](_0x9ae90,_0x198318,_0x522caa,_0x55955e),this[_0x18f9c5(0x206)]['addFormulaDependencyByDefinedName'](_0x55955e);continue;}const _0xed33b4=new c['FormulaDependencyTreeVirtual']();_0xed33b4[_0x18f9c5(0x23c)]=(_0x33244d==null?void 0x0:_0x33244d['getValue'](_0xf0256d,_0x3f4184))||c['generateRandomDependencyTreeId'](this[_0x18f9c5(0x206)]),_0xed33b4[_0x18f9c5(0x1f3)]=_0x55955e,_0xed33b4[_0x18f9c5(0x25f)]=_0xf0256d,_0xed33b4[_0x18f9c5(0x214)]=_0x3f4184,_0xed33b4[_0x18f9c5(0x235)]=_0x350da5,_0xed33b4[_0x18f9c5(0x223)]=c[_0x18f9c5(0x269)][_0x18f9c5(0x276)],this[_0x18f9c5(0x206)][_0x18f9c5(0x195)](_0x9ae90,_0x198318,_0x522caa,_0xed33b4),this[_0x18f9c5(0x206)][_0x18f9c5(0x252)](_0xed33b4),_0x597b0e[_0x18f9c5(0x19b)](_0xed33b4),this[_0x18f9c5(0x202)][_0x18f9c5(0x1e2)](_0xed33b4[_0x18f9c5(0x23c)],_0xed33b4);}}this[_0x18f9c5(0x206)][_0x18f9c5(0x1e0)](_0x522caa);}}}}[_0x425e65(0x182)](_0x1ae846,_0x3dea22,_0x2c98c2,_0x55d0c2){const _0x6836ef=_0x425e65;for(const _0x39e758 of _0x1ae846){const _0x283244=_0x3dea22[_0x39e758];if(_0x283244==null)continue;const _0x45e30a=Object[_0x6836ef(0x22b)](_0x283244);for(const _0x447477 of _0x45e30a){const _0x14dbb6=new E[(_0x6836ef(0x1c1))](_0x283244[_0x447477]||{}),_0x8f1f50=new Map();_0x14dbb6[_0x6836ef(0x185)]((_0x22d4f1,_0x34f002,_0xe0d15a)=>{const _0x400e85=_0x6836ef;if(_0xe0d15a==null)return!0x0;const {x:_0x4c5be7=0x0,y:_0x5e9583=0x0,si:_0x22ba33}=_0xe0d15a;if(!(_0x4c5be7===0x0&&_0x5e9583===0x0&&_0x22ba33!=null))return!0x0;const _0xde7783=this[_0x400e85(0x188)](_0x39e758,_0x447477,_0x22d4f1,_0x34f002,_0x2c98c2,_0xe0d15a),_0x3f8471=this[_0x400e85(0x206)]['getFormulaDependency'](_0x39e758,_0x447477,_0x22d4f1,_0x34f002);_0x3f8471!=null?_0xde7783['treeId']=_0x3f8471:(this[_0x400e85(0x206)]['addFormulaDependency'](_0x39e758,_0x447477,_0x22d4f1,_0x34f002,_0xde7783),this[_0x400e85(0x206)]['addFormulaDependencyByDefinedName'](_0xde7783)),_0x8f1f50[_0x400e85(0x1e2)](_0x22ba33,_0xde7783),_0x55d0c2['push'](_0xde7783),this['_dependencyTreeCache']['set'](_0xde7783[_0x400e85(0x23c)],_0xde7783);}),_0x14dbb6[_0x6836ef(0x185)]((_0x22f9e5,_0x4866df,_0x336c1d)=>{const _0xa8952f=_0x6836ef;if(_0x336c1d==null)return!0x0;const {x:_0x3334eb=0x0,y:_0xa6fc61=0x0,si:_0xebe2fe}=_0x336c1d;if(_0x3334eb===0x0&&_0xa6fc61===0x0&&_0xebe2fe!=null)return!0x0;let _0x1fe91b;if(_0xebe2fe&&_0x8f1f50[_0xa8952f(0x20d)](_0xebe2fe)){const _0x3dbdb8=_0x8f1f50[_0xa8952f(0x200)](_0xebe2fe);_0x1fe91b=this['_createVirtualFDtree'](_0x3dbdb8,_0x336c1d);}else _0x1fe91b=this[_0xa8952f(0x188)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df,_0x2c98c2,_0x336c1d);const _0x58253f=this[_0xa8952f(0x206)][_0xa8952f(0x280)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df);_0x58253f!=null?_0x1fe91b[_0xa8952f(0x23c)]=_0x58253f:(this[_0xa8952f(0x206)][_0xa8952f(0x196)](_0x39e758,_0x447477,_0x22f9e5,_0x4866df,_0x1fe91b),this[_0xa8952f(0x206)][_0xa8952f(0x252)](_0x1fe91b)),_0x55d0c2['push'](_0x1fe91b),this[_0xa8952f(0x202)][_0xa8952f(0x1e2)](_0x1fe91b[_0xa8952f(0x23c)],_0x1fe91b);}),_0x8f1f50['clear']();}}}['_createFDtree'](_0xf1ece5,_0x2f9780,_0x7b3db8,_0x2bfdcc,_0x369024,_0x301af7){const _0x4d72cc=_0x425e65,{f:_0x37bc09,x:_0x828f0b=0x0,y:_0xaf46a=0x0}=_0x301af7,_0xc7f6b0=new c[(_0x4d72cc(0x220))](c[_0x4d72cc(0x26c)](this['_dependencyManagerService'])),_0x5506a9=_0x369024[_0xf1ece5][_0x2f9780];return _0xc7f6b0[_0x4d72cc(0x19a)]=_0x37bc09,_0xc7f6b0[_0x4d72cc(0x221)]=_0xf1ece5,_0xc7f6b0[_0x4d72cc(0x18e)]=_0x2f9780,_0xc7f6b0['row']=_0x7b3db8,_0xc7f6b0[_0x4d72cc(0x255)]=_0x2bfdcc,_0xc7f6b0[_0x4d72cc(0x20a)]=_0x5506a9['rowCount'],_0xc7f6b0['columnCount']=_0x5506a9['columnCount'],_0xc7f6b0;}[_0x425e65(0x1b7)](){const _0x3e8383=_0x425e65,_0x2e8b59=[],_0x50e540=new Set(),_0x513c52=this[_0x3e8383(0x18a)]['isForceCalculate'](),_0x4a0bf2=this[_0x3e8383(0x18a)][_0x3e8383(0x1e8)](),_0x392ef5=this['_dependencyManagerService'][_0x3e8383(0x270)](_0x4a0bf2),_0x2ab809=this[_0x3e8383(0x218)][_0x3e8383(0x254)](_0x4a0bf2);for(const _0x29b0e5 of _0x2ab809)_0x392ef5['add'](_0x29b0e5);for(const [_0x5cf453,_0x353cf3]of this[_0x3e8383(0x202)])(_0x513c52||_0x353cf3[_0x3e8383(0x24a)]||_0x353cf3[_0x3e8383(0x282)](this[_0x3e8383(0x18a)]['getDirtyNameMap']())||_0x392ef5['has'](_0x5cf453)&&!_0x353cf3['isExcludeRange'](this[_0x3e8383(0x18a)]['getExcludedRange']()))&&!_0x50e540[_0x3e8383(0x20d)](_0x5cf453)&&(_0x2e8b59[_0x3e8383(0x19b)](_0x353cf3),_0x50e540[_0x3e8383(0x272)](_0x5cf453));for(const [_0x3de6f2,_0x6846af]of this[_0x3e8383(0x202)])_0x6846af[_0x3e8383(0x263)]||(_0x6846af[_0x3e8383(0x1a1)][_0x3e8383(0x1dd)]=0x0);return _0x2e8b59;}[_0x425e65(0x1f4)](_0x128454){const _0x4a8f59=_0x425e65;return this[_0x4a8f59(0x202)][_0x4a8f59(0x200)](_0x128454);}['_getTreeNode'](_0x14e955){const _0x342b7a=_0x425e65;return c[_0x342b7a(0x1d1)](_0x14e955[_0x342b7a(0x221)],_0x14e955['formula'],this[_0x342b7a(0x1a3)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x425e65(0x1bf)](_0x35966a,_0x442d10){const _0x1eaee1=_0x425e65,_0x227c43=_0x35966a,_0x3368ec=new Set();for(;_0x227c43[_0x1eaee1(0x1dd)]>0x0;){const _0x66944c=_0x227c43['pop']();if(_0x3368ec[_0x1eaee1(0x1af)](),_0x66944c===void 0x0||_0x66944c['isSkip']())continue;if(_0x66944c['isAdded']()){yield _0x66944c,_0x66944c[_0x1eaee1(0x1e4)](),_0x442d10[_0x1eaee1(0x272)](_0x66944c[_0x1eaee1(0x23c)]);continue;}const _0x37576d=this[_0x1eaee1(0x206)][_0x1eaee1(0x270)](_0x66944c[_0x1eaee1(0x1e9)](),_0x442d10),_0x51f0c9=this[_0x1eaee1(0x218)][_0x1eaee1(0x254)](_0x66944c[_0x1eaee1(0x1e9)](),_0x442d10);for(const _0x32b51 of _0x51f0c9)_0x37576d[_0x1eaee1(0x272)](_0x32b51);for(const _0x5dc550 of _0x37576d){const _0x1b9d30=this['_dependencyTreeCache'][_0x1eaee1(0x200)](_0x5dc550);if(!_0x1b9d30){console[_0x1eaee1(0x1b3)](_0x1eaee1(0x224),_0x5dc550);continue;}_0x1b9d30['isAdded']()||_0x66944c['isSkip']()||_0x3368ec['add'](_0x1b9d30);}if(_0x37576d['clear'](),_0x3368ec[_0x1eaee1(0x1f7)]===0x0)yield _0x66944c,_0x66944c[_0x1eaee1(0x1e4)](),_0x442d10[_0x1eaee1(0x272)](_0x66944c[_0x1eaee1(0x23c)]);else{_0x66944c[_0x1eaee1(0x1f6)](),_0x227c43[_0x1eaee1(0x19b)](_0x66944c);for(const _0x261371 of _0x3368ec)_0x227c43[_0x1eaee1(0x19b)](_0x261371);}}_0x227c43[_0x1eaee1(0x1dd)]=0x0,_0x3368ec[_0x1eaee1(0x1af)]();}[_0x425e65(0x19e)](_0x2073da){const _0x45187d=_0x425e65,_0x34567f=[],_0xd7a443=new Set();for(const _0x383d72 of this[_0x45187d(0x1bf)](_0x2073da,_0xd7a443))_0x34567f[_0x45187d(0x19b)](_0x383d72);return _0x34567f;}async[_0x425e65(0x1ed)](){const _0x4188ee=_0x425e65;return await this[_0x4188ee(0x17f)](),Array[_0x4188ee(0x190)](this[_0x4188ee(0x202)]['values']());}[_0x425e65(0x1b4)](_0x24fc64){const _0x30a9cc=_0x425e65;return this[_0x30a9cc(0x206)][_0x30a9cc(0x270)](_0x24fc64[_0x30a9cc(0x1e9)]());}[_0x425e65(0x1d0)](_0x366c47){const _0xeff8c8=_0x425e65,_0x3e7ec2=new Set(),_0x219dcd=_0x366c47[_0xeff8c8(0x1a1)];for(const [_0x562f8a,_0x16ce1f]of this[_0xeff8c8(0x202)])for(const _0x427f7c of _0x219dcd){const _0x5c1fd2=_0x427f7c['unitId'],_0x357128=_0x427f7c[_0xeff8c8(0x248)];if(_0x16ce1f[_0xeff8c8(0x221)]!==_0x5c1fd2||_0x16ce1f['subUnitId']!==_0x357128)continue;const _0x302a10=_0x427f7c[_0xeff8c8(0x1c5)];if(_0x16ce1f[_0xeff8c8(0x234)](_0x302a10)){_0x3e7ec2[_0xeff8c8(0x272)](_0x562f8a);break;}}return _0x3e7ec2;}[_0x425e65(0x228)](){const _0x1f1b3d=_0x425e65;this['_dependencyManagerService'][_0x1f1b3d(0x21d)]();}[_0x425e65(0x1b1)](){const _0x47f655=_0x425e65;this[_0x47f655(0x281)]['clear'](),this[_0x47f655(0x202)][_0x47f655(0x1af)](),this[_0x47f655(0x206)][_0x47f655(0x1a0)]();}}function _0x35d3(_0x54b9fb,_0x5135d8){_0x54b9fb=_0x54b9fb-0x17c;const _0xbc32a=_0xbc32();let _0x35d36f=_0xbc32a[_0x54b9fb];return _0x35d36f;}class X extends c['CalculateFormulaService']{async[_0x425e65(0x21a)](_0x1b50ca=!0x1){const _0x5dfbb=_0x425e65;_0x1b50ca?this[_0x5dfbb(0x266)]['setFormulaExecuteStage'](c[_0x5dfbb(0x20b)][_0x5dfbb(0x1c6)]):this['_runtimeService']['setFormulaExecuteStage'](c[_0x5dfbb(0x20b)][_0x5dfbb(0x1b6)]),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)]['getRuntimeState']());const _0x1d1180=await this['_formulaDependencyGenerator'][_0x5dfbb(0x24b)](this[_0x5dfbb(0x24d)]),_0x8fcda=this[_0x5dfbb(0x256)];_0x1b50ca?(this['_runtimeService'][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)][_0x5dfbb(0x17d)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x205)](_0x1d1180['length'])):(this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)]['START_CALCULATION']),this[_0x5dfbb(0x266)]['setTotalFormulasToCalculate'](_0x1d1180['length'])),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)][_0x5dfbb(0x19d)]());let _0x109d91=[];const _0x547b86=this['_configService'][_0x5dfbb(0x1da)](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x67761a=(_0x547b86==null?void 0x0:_0x547b86[_0x5dfbb(0x264)])||c[_0x5dfbb(0x251)];let _0x384bf6=0x0;const _0x334beb=_0x1d1180[_0x5dfbb(0x1dd)];for(;_0x1d1180[_0x5dfbb(0x1dd)]>0x0;){const _0x5d5a2e=_0x1d1180[_0x5dfbb(0x241)](),_0x367280=c[_0x5dfbb(0x1d1)](_0x5d5a2e[_0x5dfbb(0x221)],_0x5d5a2e['formula'],this[_0x5dfbb(0x1a3)],this[_0x5dfbb(0x183)],this[_0x5dfbb(0x18a)]),_0x6bd17c={'node':_0x367280,'refOffsetX':_0x5d5a2e[_0x5dfbb(0x25f)],'refOffsetY':_0x5d5a2e[_0x5dfbb(0x214)]},_0x200763=_0x5d5a2e[_0x5dfbb(0x216)];if(_0x384bf6%_0x67761a===0x0&&(await new Promise(_0x15cf97=>{const _0x35f1f7=_0x5dfbb,_0x29b93e=E[_0x35f1f7(0x26d)](_0x15cf97);_0x109d91['push'](_0x29b93e);}),_0x1b50ca?(this['_runtimeService'][_0x5dfbb(0x1c3)](c['FormulaExecuteStageType'][_0x5dfbb(0x1ad)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x1ae)](_0x384bf6+0x1)):(this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c[_0x5dfbb(0x20b)][_0x5dfbb(0x180)]),this[_0x5dfbb(0x266)][_0x5dfbb(0x1b5)](_0x384bf6+0x1)),this[_0x5dfbb(0x208)][_0x5dfbb(0x204)](this['_runtimeService'][_0x5dfbb(0x19d)]()),this['_runtimeService']['isStopExecution']()||_0x6bd17c==null&&_0x200763==null)){this[_0x5dfbb(0x266)][_0x5dfbb(0x1c3)](c['FormulaExecuteStageType'][_0x5dfbb(0x257)]),this[_0x5dfbb(0x266)]['markedAsStopFunctionsExecuted'](),this[_0x5dfbb(0x18b)][_0x5dfbb(0x204)](this[_0x5dfbb(0x266)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x5dfbb(0x192)](_0x5d5a2e[_0x5dfbb(0x19c)],_0x5d5a2e[_0x5dfbb(0x255)],_0x5d5a2e[_0x5dfbb(0x20a)],_0x5d5a2e[_0x5dfbb(0x24f)],_0x5d5a2e[_0x5dfbb(0x18e)],_0x5d5a2e[_0x5dfbb(0x221)]);let _0x19ed8e;if(_0x200763!=null&&_0x5d5a2e[_0x5dfbb(0x1fe)]!=null){const {runtimeCellData:_0x1776e6,dirtyRanges:_0x39a63a}=_0x200763(this[_0x5dfbb(0x18a)]['getDirtyData'](),this[_0x5dfbb(0x266)][_0x5dfbb(0x1ef)]());this['_runtimeService'][_0x5dfbb(0x21b)](_0x5d5a2e[_0x5dfbb(0x1fe)],_0x1776e6),this['_runtimeService'][_0x5dfbb(0x1cb)](_0x5d5a2e[_0x5dfbb(0x1fe)],_0x39a63a);}else _0x6bd17c!=null&&(_0x8fcda[_0x5dfbb(0x1e1)](_0x6bd17c[_0x5dfbb(0x1a7)])?_0x19ed8e=await _0x8fcda[_0x5dfbb(0x1f1)](_0x6bd17c):_0x19ed8e=_0x8fcda[_0x5dfbb(0x1db)](_0x6bd17c),_0x5d5a2e['formulaId']!=null?this[_0x5dfbb(0x266)][_0x5dfbb(0x279)](_0x5d5a2e[_0x5dfbb(0x25c)],_0x5d5a2e[_0x5dfbb(0x25f)],_0x5d5a2e[_0x5dfbb(0x214)],_0x19ed8e):this[_0x5dfbb(0x266)][_0x5dfbb(0x239)](_0x19ed8e));_0x367280[_0x5dfbb(0x226)](),_0x384bf6++;}return _0x109d91[_0x5dfbb(0x274)](_0x8738a8=>_0x8738a8()),_0x109d91=[],_0x334beb>0x0?this[_0x5dfbb(0x266)][_0x5dfbb(0x21c)]():_0x1b50ca||this[_0x5dfbb(0x266)][_0x5dfbb(0x1d7)](),this[_0x5dfbb(0x266)]['getAllRuntimeData']();}}class j extends c[_0x425e65(0x1de)]{constructor(){const _0x4d90dd=_0x425e65;super(...arguments),D(this,_0x4d90dd(0x18f),new Map()),D(this,_0x4d90dd(0x1d6),new E[(_0x4d90dd(0x26f))](!0x0));}['reset'](){const _0x5c8a0d=_0x425e65;this[_0x5c8a0d(0x27a)][_0x5c8a0d(0x1af)](),this[_0x5c8a0d(0x1fa)][_0x5c8a0d(0x1af)](),this['_formulaData']['clear'](),this[_0x5c8a0d(0x1d6)][_0x5c8a0d(0x1af)](),this['_allTreeMap'][_0x5c8a0d(0x1af)](),this[_0x5c8a0d(0x1c8)](),this[_0x5c8a0d(0x1fb)][_0x5c8a0d(0x1af)]();}['addOtherFormulaDependency'](_0x574a04,_0x29a1a0,_0x1c2c01,_0x59ab0c){const _0x1f63bf=_0x425e65;this['_otherFormulaData'][_0x1f63bf(0x20d)](_0x574a04)||this[_0x1f63bf(0x27a)]['set'](_0x574a04,new Map());const _0x1c7447=this[_0x1f63bf(0x27a)][_0x1f63bf(0x200)](_0x574a04);_0x1c7447[_0x1f63bf(0x20d)](_0x29a1a0)||_0x1c7447[_0x1f63bf(0x1e2)](_0x29a1a0,new Map());const _0x15141c=_0x1c7447[_0x1f63bf(0x200)](_0x29a1a0);_0x15141c[_0x1f63bf(0x20d)](_0x1c2c01)||_0x15141c[_0x1f63bf(0x1e2)](_0x1c2c01,new E['ObjectMatrix']()),_0x15141c['get'](_0x1c2c01)['setValue'](_0x59ab0c[_0x1f63bf(0x25f)],_0x59ab0c['refOffsetY'],_0x59ab0c[_0x1f63bf(0x23c)]);}[_0x425e65(0x229)](_0x186f72,_0x306f5b,_0x5558e8){const _0x6edea2=_0x425e65,_0x114b9e=this[_0x6edea2(0x27a)]['get'](_0x186f72);if(_0x114b9e&&_0x114b9e['has'](_0x306f5b)){const _0x58f716=_0x114b9e[_0x6edea2(0x200)](_0x306f5b);_0x5558e8[_0x6edea2(0x274)](_0x4079ae=>{const _0x271e16=_0x6edea2,_0x2582a6=_0x58f716['get'](_0x4079ae);_0x2582a6!=null&&(_0x2582a6[_0x271e16(0x185)]((_0x2623f0,_0x5704e5,_0x132f2d)=>{const _0x6ae8c9=_0x271e16;this[_0x6ae8c9(0x184)](_0x132f2d),this['_removeAllTreeMap'](_0x132f2d);}),_0x58f716[_0x271e16(0x193)](_0x4079ae),this[_0x271e16(0x1fb)][_0x271e16(0x193)](_0x4079ae));}),_0x58f716[_0x6edea2(0x1f7)]===0x0&&_0x114b9e[_0x6edea2(0x193)](_0x306f5b),_0x114b9e['size']===0x0&&this[_0x6edea2(0x27a)][_0x6edea2(0x193)](_0x186f72);}}[_0x425e65(0x1df)](_0x2c8dbb,_0x32f78a){const _0x18cbd4=_0x425e65,_0x4fc3b3=this[_0x18cbd4(0x27a)][_0x18cbd4(0x200)](_0x2c8dbb);if(_0x32f78a&&_0x4fc3b3&&_0x4fc3b3[_0x18cbd4(0x20d)](_0x32f78a)){const _0x123720=_0x4fc3b3['get'](_0x32f78a);this[_0x18cbd4(0x1b2)](_0x2c8dbb,_0x32f78a);for(const _0x4833ba of _0x123720[_0x18cbd4(0x22b)]()){const _0x3dfe63=_0x123720[_0x18cbd4(0x200)](_0x4833ba);_0x3dfe63!=null&&(_0x3dfe63['forValue']((_0x4c8bb3,_0x13aaa3,_0x3c1ecf)=>{const _0x5b4a9f=_0x18cbd4;this['_allTreeMap'][_0x5b4a9f(0x200)](_0x3c1ecf)&&this[_0x5b4a9f(0x197)](_0x3c1ecf);}),this['_otherFormulaDataMainData'][_0x18cbd4(0x193)](_0x4833ba));}_0x123720['clear']();}else{if(_0x4fc3b3){for(const _0x57fc0a of _0x4fc3b3[_0x18cbd4(0x22b)]()){const _0x2fec39=_0x4fc3b3[_0x18cbd4(0x200)](_0x57fc0a);this[_0x18cbd4(0x1b2)](_0x2c8dbb,_0x57fc0a);for(const _0x506413 of _0x2fec39[_0x18cbd4(0x22b)]()){const _0x29122c=_0x2fec39[_0x18cbd4(0x200)](_0x506413);_0x29122c!=null&&(_0x29122c[_0x18cbd4(0x185)]((_0x592421,_0x4a4d20,_0x4b070f)=>{const _0x53f7cc=_0x18cbd4;this[_0x53f7cc(0x18f)][_0x53f7cc(0x200)](_0x4b070f)&&this[_0x53f7cc(0x197)](_0x4b070f);}),this[_0x18cbd4(0x1fb)][_0x18cbd4(0x193)](_0x506413));}}this['_otherFormulaData'][_0x18cbd4(0x193)](_0x2c8dbb);}}}[_0x425e65(0x227)](_0x4e2a17,_0x3981bd,_0x568458,_0x562aed){const _0x24b3c1=_0x425e65;this[_0x24b3c1(0x1fa)][_0x24b3c1(0x20d)](_0x4e2a17)||this[_0x24b3c1(0x1fa)][_0x24b3c1(0x1e2)](_0x4e2a17,new Map());const _0x4ae6fc=this[_0x24b3c1(0x1fa)][_0x24b3c1(0x200)](_0x4e2a17);_0x4ae6fc[_0x24b3c1(0x20d)](_0x3981bd)||_0x4ae6fc['set'](_0x3981bd,new Map()),_0x4ae6fc[_0x24b3c1(0x200)](_0x3981bd)[_0x24b3c1(0x1e2)](_0x568458,_0x562aed[_0x24b3c1(0x23c)]);}[_0x425e65(0x1f2)](_0x1b5fd8,_0x65597e,_0x3c2d57){const _0x2ca303=_0x425e65,_0x50e53f=this[_0x2ca303(0x1fa)][_0x2ca303(0x200)](_0x1b5fd8);if(_0x50e53f&&_0x50e53f[_0x2ca303(0x20d)](_0x65597e)){const _0x1d7f56=_0x50e53f[_0x2ca303(0x200)](_0x65597e);_0x3c2d57['forEach'](_0x4b1ce2=>{const _0x53c6ae=_0x2ca303,_0x490d9d=_0x1d7f56[_0x53c6ae(0x200)](_0x4b1ce2);_0x490d9d!=null&&(this[_0x53c6ae(0x184)](_0x490d9d),_0x1d7f56[_0x53c6ae(0x193)](_0x4b1ce2),this[_0x53c6ae(0x197)](_0x490d9d));});}}[_0x425e65(0x1cd)](_0x5b09bc,_0x4e6930){const _0x5dcfbf=_0x425e65,_0x5810e9=this['_featureFormulaData'][_0x5dcfbf(0x200)](_0x5b09bc);if(_0x4e6930&&_0x5810e9&&_0x5810e9[_0x5dcfbf(0x20d)](_0x4e6930)){const _0x1c3a74=_0x5810e9['get'](_0x4e6930);this[_0x5dcfbf(0x1b2)](_0x5b09bc,_0x4e6930),_0x1c3a74[_0x5dcfbf(0x274)](_0x3aaec0=>{const _0x38a56a=_0x5dcfbf;_0x3aaec0!=null&&this[_0x38a56a(0x197)](_0x3aaec0);}),_0x1c3a74[_0x5dcfbf(0x1af)]();}else _0x5810e9&&(_0x5810e9[_0x5dcfbf(0x274)]((_0x319869,_0x1ad43e)=>{this['_removeDependencyRTreeCacheById'](_0x5b09bc,_0x1ad43e),_0x319869['forEach'](_0x5ca115=>{const _0x1c57d2=_0x35d3;_0x5ca115!=null&&this[_0x1c57d2(0x197)](_0x5ca115);});}),this['_featureFormulaData'][_0x5dcfbf(0x193)](_0x5b09bc));}[_0x425e65(0x196)](_0x48b82f,_0x4afe11,_0x4947cc,_0x14f181,_0x3b41f3){const _0x31027f=_0x425e65;this[_0x31027f(0x25e)]['has'](_0x48b82f)||this[_0x31027f(0x25e)][_0x31027f(0x1e2)](_0x48b82f,new Map());const _0x5efa31=this['_formulaData']['get'](_0x48b82f);_0x5efa31[_0x31027f(0x20d)](_0x4afe11)||_0x5efa31[_0x31027f(0x1e2)](_0x4afe11,new E[(_0x31027f(0x1c1))]()),_0x5efa31[_0x31027f(0x200)](_0x4afe11)[_0x31027f(0x1e5)](_0x4947cc,_0x14f181,_0x3b41f3[_0x31027f(0x23c)]);}['removeFormulaDependency'](_0x5272b4,_0x2eb1a5,_0x380006,_0x5d875c){const _0x3cdea1=_0x425e65,_0x3456bc=this[_0x3cdea1(0x25e)][_0x3cdea1(0x200)](_0x5272b4);if(_0x3456bc&&_0x3456bc[_0x3cdea1(0x20d)](_0x2eb1a5)){const _0x102012=_0x3456bc['get'](_0x2eb1a5),_0x1c6514=_0x102012['getValue'](_0x380006,_0x5d875c);if(_0x1c6514==null)return;this[_0x3cdea1(0x184)](_0x1c6514),_0x102012[_0x3cdea1(0x1ce)](_0x380006,_0x5d875c),this['_removeAllTreeMap'](_0x1c6514);}}[_0x425e65(0x199)](_0x1e612d,_0x1ed55a){const _0xf60d49=_0x425e65,_0x29c8d5=this[_0xf60d49(0x25e)]['get'](_0x1e612d);if(_0x1ed55a&&_0x29c8d5&&_0x29c8d5['has'](_0x1ed55a)){const _0x379e94=_0x29c8d5[_0xf60d49(0x200)](_0x1ed55a);this[_0xf60d49(0x1b2)](_0x1e612d,_0x1ed55a),_0x379e94[_0xf60d49(0x185)]((_0x370236,_0x79ef2b,_0x5c7c33)=>{const _0x16c451=_0xf60d49;if(_0x5c7c33==null)return!0x0;this[_0x16c451(0x197)](_0x5c7c33);}),_0x379e94[_0xf60d49(0x187)]();}else _0x29c8d5&&(_0x29c8d5[_0xf60d49(0x274)]((_0x30aa7f,_0x515c7d)=>{const _0x39ebeb=_0xf60d49;this[_0x39ebeb(0x1b2)](_0x1e612d,_0x515c7d),_0x30aa7f['forValue']((_0x193f59,_0x6ba087,_0x5324d7)=>{const _0x512d3d=_0x39ebeb;if(_0x5324d7==null)return!0x0;this[_0x512d3d(0x197)](_0x5324d7);});}),this[_0xf60d49(0x25e)][_0xf60d49(0x193)](_0x1e612d));}['_removeDependencyRTreeCache'](_0xc1007f){const _0x5a58b6=_0x425e65;if(_0xc1007f==null)return;const _0x25053d=this['_allTreeMap'][_0x5a58b6(0x200)](_0xc1007f);if(_0x25053d){const _0x2e5bd0=[];for(const [_0x12e737,_0x591035]of _0x25053d)for(const [_0x370700,_0x5604db]of _0x591035)_0x2e5bd0[_0x5a58b6(0x19b)]({'unitId':_0x12e737,'sheetId':_0x370700,'range':_0x5604db,'id':_0xc1007f});this[_0x5a58b6(0x1d6)][_0x5a58b6(0x242)](_0x2e5bd0);}}['removeFormulaDependencyByDefinedName'](_0x1f61d4,_0x31ae2d){const _0x5e2681=_0x425e65,_0x39ba38=this[_0x5e2681(0x1cf)][_0x5e2681(0x200)](_0x1f61d4);if(_0x39ba38){const _0x29babf=_0x39ba38[_0x5e2681(0x200)](_0x31ae2d);if(_0x29babf){for(const _0x3c03ea of _0x29babf)this[_0x5e2681(0x184)](_0x3c03ea),this[_0x5e2681(0x197)](_0x3c03ea);_0x29babf[_0x5e2681(0x1af)]();}}}[_0x425e65(0x21d)](){const _0x5b3a23=_0x425e65;this[_0x5b3a23(0x1d6)][_0x5b3a23(0x21d)]();}[_0x425e65(0x1a0)](){const _0x1e282a=_0x425e65;this[_0x1e282a(0x1d6)][_0x1e282a(0x1a0)]();}['_removeAllTreeMap'](_0x830f19){const _0x2b5854=_0x425e65;_0x830f19!=null&&this[_0x2b5854(0x18f)]['delete'](_0x830f19);}[_0x425e65(0x181)](_0x56e910){const _0xfb019f=_0x425e65;var _0x2e5586,_0x906c91;const _0x4f27b4=_0x56e910[_0xfb019f(0x1a1)];let _0x15349b=this[_0xfb019f(0x18f)][_0xfb019f(0x200)](_0x56e910[_0xfb019f(0x23c)]);for(let _0x3caefc=0x0;_0x3caefc<_0x4f27b4['length'];_0x3caefc++){const _0x43f4e6=_0x4f27b4[_0x3caefc];let {unitId:_0x1ad864,sheetId:_0x11ce19,range:_0x157178}=_0x43f4e6;_0x15349b||(_0x15349b=new Map(),this['_allTreeMap']['set'](_0x56e910[_0xfb019f(0x23c)],_0x15349b)),_0x15349b['has'](_0x1ad864)||_0x15349b[_0xfb019f(0x1e2)](_0x1ad864,new Map());const _0x78bcb8=(_0x2e5586=_0x15349b==null?void 0x0:_0x15349b[_0xfb019f(0x200)](_0x1ad864))==null?void 0x0:_0x2e5586[_0xfb019f(0x200)](_0x11ce19);_0x78bcb8&&(_0x157178={'startRow':Math[_0xfb019f(0x1b9)](_0x157178[_0xfb019f(0x191)],_0x78bcb8[_0xfb019f(0x191)]),'startColumn':Math['min'](_0x157178[_0xfb019f(0x1d5)],_0x78bcb8[_0xfb019f(0x1d5)]),'endRow':Math[_0xfb019f(0x1d3)](_0x157178[_0xfb019f(0x262)],_0x78bcb8['endRow']),'endColumn':Math[_0xfb019f(0x1d3)](_0x157178[_0xfb019f(0x232)],_0x78bcb8['endColumn'])}),(_0x906c91=_0x15349b[_0xfb019f(0x200)](_0x1ad864))==null||_0x906c91[_0xfb019f(0x1e2)](_0x11ce19,_0x157178);}}}var $=Object[_0x425e65(0x213)],W=(_0x3c9510,_0x48c22b,_0x484fc6,_0x57d621)=>{const _0x48d66c=_0x425e65;for(var _0x397b6a=_0x57d621>0x1?void 0x0:_0x57d621?$(_0x48c22b,_0x484fc6):_0x48c22b,_0x9322bd=_0x3c9510[_0x48d66c(0x1dd)]-0x1,_0x199bf8;_0x9322bd>=0x0;_0x9322bd--)(_0x199bf8=_0x3c9510[_0x9322bd])&&(_0x397b6a=_0x199bf8(_0x397b6a)||_0x397b6a);return _0x397b6a;};const q=Number[_0x425e65(0x23b)](0x694fb5cc);exports[_0x425e65(0x1e7)]=class extends c[_0x425e65(0x1b8)]{[_0x425e65(0x1a6)](){const _0x572f1b=_0x425e65;var _0x5b6b20,_0x4e9b61;this[_0x572f1b(0x243)]()?(this[_0x572f1b(0x1d4)][_0x572f1b(0x272)]([c[_0x572f1b(0x21e)],{'useClass':A}]),(_0x5b6b20=this[_0x572f1b(0x246)])!=null&&_0x5b6b20[_0x572f1b(0x278)]||[[c[_0x572f1b(0x1f8)],{'useClass':X}],[c[_0x572f1b(0x25a)],{'useClass':j}],[c[_0x572f1b(0x18d)],{'useClass':V}]]['forEach'](_0x58aa61=>this[_0x572f1b(0x1d4)]['add'](_0x58aa61))):(this[_0x572f1b(0x1d4)][_0x572f1b(0x272)]([c[_0x572f1b(0x21e)],{'useClass':c['LexerTreeBuilder']}]),(_0x4e9b61=this['_config'])!=null&&_0x4e9b61[_0x572f1b(0x278)]||[[c[_0x572f1b(0x1f8)],{'useClass':c['CalculateFormulaService']}],[c['IDependencyManagerService'],{'useClass':c['DependencyManagerService']}],[c[_0x572f1b(0x18d)],{'useClass':c[_0x572f1b(0x275)]}]][_0x572f1b(0x274)](_0x49d43b=>this[_0x572f1b(0x1d4)]['add'](_0x49d43b)));}[_0x425e65(0x243)](){const _0x310ced=_0x425e65;var _0x431343;const _0x52bef5=(_0x431343=this[_0x310ced(0x1f9)][_0x310ced(0x1da)](b[_0x310ced(0x219)]))!=null?_0x431343:{},{ls:_0xbcf388,pbk:_0xb2695d}=_0x52bef5;if(!_0xbcf388||!_0xb2695d)return!0x1;const _0x1e7af8=b[_0x310ced(0x1d9)](K,k),_0x423cc9=new Function(_0x310ced(0x22f)+_0x1e7af8)()(_0xbcf388,_0xb2695d),_0x3a64b4=_0x423cc9[_0x310ced(0x215)];return _0x423cc9[_0x310ced(0x1c2)]&&b[_0x310ced(0x1ac)](_0x3a64b4,'sf',q)?b[_0x310ced(0x247)](_0x3a64b4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x425e65(0x1e7)]=W([E[_0x425e65(0x20f)](b[_0x425e65(0x1a2)])],exports[_0x425e65(0x1e7)]),exports[_0x425e65(0x1bc)]=A,Object[_0x425e65(0x22b)](c)[_0x425e65(0x274)](_0x10c623=>{const _0x50e039=_0x425e65;_0x10c623!==_0x50e039(0x212)&&!Object[_0x50e039(0x1ff)]['hasOwnProperty'][_0x50e039(0x211)](exports,_0x10c623)&&Object[_0x50e039(0x258)](exports,_0x10c623,{'enumerable':!0x0,'get':()=>c[_0x10c623]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x6128a2,_0x486a2e){var _0x3ee95c=_0x1e04,_0x49afd5=_0x6128a2();while(!![]){try{var _0x9d600f=parseInt(_0x3ee95c(0x1b0))/0x1*(parseInt(_0x3ee95c(0x1ae))/0x2)+parseInt(_0x3ee95c(0x1ad))/0x3*(-parseInt(_0x3ee95c(0x1a9))/0x4)+-parseInt(_0x3ee95c(0x1a8))/0x5+parseInt(_0x3ee95c(0x1ac))/0x6+parseInt(_0x3ee95c(0x1aa))/0x7+parseInt(_0x3ee95c(0x1af))/0x8+-parseInt(_0x3ee95c(0x1ab))/0x9;if(_0x9d600f===_0x486a2e)break;else _0x49afd5['push'](_0x49afd5['shift']());}catch(_0x4db906){_0x49afd5['push'](_0x49afd5['shift']());}}}(_0x18b0,0xddecb));export*from'@univerjs/engine-formula/facade';function _0x1e04(_0x11cf4a,_0x2313f5){_0x11cf4a=_0x11cf4a-0x1a8;var _0x18b08b=_0x18b0();var _0x1e0410=_0x18b08b[_0x11cf4a];return _0x1e0410;}function _0x18b0(){var _0x55c791=['17464851nQDWFN','6816162xwXYGk','54546gDHvfK','654066dGFuRz','8771536ZEErNP','2PFNMFc','3888490ULYeug','16iTbTRO','5694031dRLWyP'];_0x18b0=function(){return _0x55c791;};return _0x18b0();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x36795d=_0x35ee;(function(_0x414be0,_0x252d3c){const _0x18455c=_0x35ee,_0xc81ef3=_0x414be0();while(!![]){try{const _0x3c02b5=parseInt(_0x18455c(0x96))/0x1+parseInt(_0x18455c(0x94))/0x2*(parseInt(_0x18455c(0xc3))/0x3)+-parseInt(_0x18455c(0xf3))/0x4+parseInt(_0x18455c(0x134))/0x5*(-parseInt(_0x18455c(0x12e))/0x6)+-parseInt(_0x18455c(0xfe))/0x7*(parseInt(_0x18455c(0x9e))/0x8)+-parseInt(_0x18455c(0xdf))/0x9+parseInt(_0x18455c(0xff))/0xa;if(_0x3c02b5===_0x252d3c)break;else _0xc81ef3['push'](_0xc81ef3['shift']());}catch(_0x386a61){_0xc81ef3['push'](_0xc81ef3['shift']());}}}(_0x5691,0x88c22));var se=Object[_0x36795d(0xa2)],ae=(_0x3b320a,_0xeeb43e,_0x2acbc)=>_0xeeb43e in _0x3b320a?se(_0x3b320a,_0xeeb43e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2acbc}):_0x3b320a[_0xeeb43e]=_0x2acbc,F=(_0x4311a0,_0x462d14,_0x333c95)=>ae(_0x4311a0,typeof _0x462d14!=_0x36795d(0x142)?_0x462d14+'':_0x462d14,_0x333c95);import{LexerTreeBuilder as _0x523268,ErrorType as _0x41d5b0,DEFAULT_TOKEN_TYPE_ROOT as _0xbd7c64,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1d6892,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x4e1da4,NEW_EXCEL_FUNCTIONS as _0x51470b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x3d347e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x578ed6,matchToken as _0x3f1f2e,SUFFIX_TOKEN_SET as _0x2ab198,prefixToken as _0x454018,LexerNode as _0x2d492d,OPERATOR_TOKEN_SET as _0x4aef0f,isReferenceString as _0x165ecb,splitTableStructuredRef as _0x3dfd5d,FormulaDependencyGenerator as _0x489c2d,generateRandomDependencyTreeId as _0x36f4e8,FormulaDependencyTree as _0x1b85f6,FormulaDependencyTreeType as _0x18fbc5,FormulaDependencyTreeVirtual as _0x318f99,generateAstNode as _0x8ed8fb,CalculateFormulaService as _0x40e348,FormulaExecuteStageType as _0x1cd23e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x2cd7f4,DEFAULT_INTERVAL_COUNT as _0x46437c,DependencyManagerBaseService as _0x50d701,UniverFormulaEnginePlugin as _0x5e4a14,ICalculateFormulaService as _0x10352f,IDependencyManagerService as _0x2a6ada,IFormulaDependencyGenerator as _0x452c04,DependencyManagerService as _0xc7b0c8}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x1fe080,LS_CONFIG_KEY as _0x5a3cda,unshiftString as _0x9cb32b,isFeatureAuthorizedWithinTime as _0x49f425,getSheetFeatureLimit as _0x3104e8}from'@univerjs-pro/license';import{ObjectMatrix as _0x3d7146,requestImmediateMacroTask as _0x50f254,RTree as _0x252685,DependentOn as _0x12037c}from'@univerjs/core';class we extends _0x523268{constructor(){const _0x5ed4e2=_0x36795d;super(...arguments),F(this,_0x5ed4e2(0x141),!0x1),F(this,_0x5ed4e2(0xb2),new Set()),F(this,'_xlpmPrefix',_0x5ed4e2(0x11d)),F(this,_0x5ed4e2(0x10c),'_xlfn.'),F(this,_0x5ed4e2(0x12b),'');}['_resetPrefix'](){const _0x40c8d4=_0x36795d;this['_xlpmPrefix']='_xlpm.',this[_0x40c8d4(0x10c)]=_0x40c8d4(0x137);}[_0x36795d(0xa6)](){const _0x2bddb7=_0x36795d;this[_0x2bddb7(0xce)]='',this[_0x2bddb7(0x10c)]='';}[_0x36795d(0xf7)](_0x3c2d36,_0x428659){const _0x4a41b0=_0x36795d,_0x2d4bac=this['treeBuilder'](_0x3c2d36,!0x1);if(!_0x2d4bac||_0x2d4bac===_0x41d5b0[_0x4a41b0(0xe3)]||Array[_0x4a41b0(0xde)](_0x2d4bac))return null;const _0x20eddd=[];return this[_0x4a41b0(0x141)]=!0x1,this[_0x4a41b0(0xcb)](_0x2d4bac,_0x20eddd,_0x428659),this[_0x4a41b0(0x141)]?'='+_0x20eddd[_0x4a41b0(0xb0)](''):null;}[_0x36795d(0xcb)](_0x22e905,_0x1299c7,_0x400166){const _0x538db0=_0x36795d,_0x4cbbc4=_0x22e905['getToken'](),_0x1f902f=_0x4cbbc4[_0x538db0(0x139)](),_0x4cbe80=_0x1f902f[_0x538db0(0x120)](),_0x1fcd40=this[_0x538db0(0x116)](_0x4cbe80),_0x16b27c=_0x400166(_0x1fcd40);let _0x69cbcf=0x0;_0x4cbbc4===_0xbd7c64?_0x69cbcf=0x3:_0x4cbbc4===_0x1d6892?_0x69cbcf=0x4:_0x4cbbc4===_0x4e1da4?_0x69cbcf=0x5:_0x51470b['has'](_0x1fcd40)?(_0x1299c7[_0x538db0(0x114)](''+this['_xlfnPrefix']+_0x1f902f),this[_0x538db0(0x141)]=!0x0):_0x4cbe80===_0x3d347e?(_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0x10c)]+_0x1f902f),this[_0x538db0(0x141)]=!0x0,_0x69cbcf=0x2):_0x4cbe80===_0x578ed6?(_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0x10c)]+_0x1f902f),this['_hasNewExcelFunction']=!0x0,_0x69cbcf=0x1):_0x4cbe80===_0x3f1f2e[_0x538db0(0xaf)]?_0x69cbcf=0x8:_0x2ab198[_0x538db0(0xc5)](_0x4cbe80)?_0x69cbcf=0x7:_0x4cbe80===_0x454018['MINUS']?(this[_0x538db0(0x10d)](_0x22e905)&&(_0x69cbcf=0x9),_0x1299c7[_0x538db0(0x114)](_0x4cbbc4)):(_0x1299c7[_0x538db0(0x114)](_0x4cbbc4),_0x69cbcf=0xa),_0x16b27c?(_0x69cbcf!==0x2&&_0x69cbcf!==0x1&&(_0x69cbcf=0x6),_0x1299c7[_0x538db0(0x114)]('(')):_0x69cbcf===0x9&&_0x1299c7['push']('(');const _0x2ab4cc=_0x22e905[_0x538db0(0x14d)](),_0x6fefa9=_0x2ab4cc[_0x538db0(0x122)];if(_0x69cbcf===0x2){const _0x22de1f=_0x2ab4cc[0x0];let _0x13faba=0x0;_0x22de1f instanceof _0x2d492d&&_0x22de1f['getToken']()===_0x4e1da4&&(_0x13faba=0x1);for(let _0x10213e=_0x13faba;_0x10213e<_0x6fefa9-0x1;_0x10213e++){const _0x36e025=_0x2ab4cc[_0x10213e];if(_0x36e025 instanceof _0x2d492d){const _0x8bf69f=_0x36e025[_0x538db0(0x14d)]()[0x0];typeof _0x8bf69f==_0x538db0(0x133)&&(this[_0x538db0(0xb2)][_0x538db0(0xc5)](_0x8bf69f)&&console[_0x538db0(0x14c)](_0x538db0(0x109)+_0x8bf69f+_0x538db0(0x159)),this[_0x538db0(0xb2)][_0x538db0(0x12c)](_0x8bf69f),_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0xce)]+_0x8bf69f),this[_0x538db0(0x141)]=!0x0);}_0x1299c7[_0x538db0(0x114)](',');}this['_handleNewFunctionChild'](_0x2ab4cc[_0x6fefa9-0x1],_0x1299c7,_0x400166),_0x13faba===0x1&&(_0x1299c7[_0x538db0(0x114)](')'),_0x1299c7[_0x538db0(0x114)]('('),this['_generateNewFunctionString'](_0x22de1f,_0x1299c7,_0x400166)),_0x1299c7[_0x538db0(0x114)](')');return;}else{if(_0x69cbcf===0x1){for(let _0x48d85d=0x0;_0x48d85d<_0x6fefa9-0x1;_0x48d85d++){const _0x3a2f11=_0x2ab4cc[_0x48d85d];if(_0x3a2f11 instanceof _0x2d492d&&_0x48d85d%0x2===0x0){const _0x4e151c=_0x3a2f11[_0x538db0(0x14d)]()[0x0];if(typeof _0x4e151c==_0x538db0(0x133)){this[_0x538db0(0xb2)][_0x538db0(0xc5)](_0x4e151c)&&console[_0x538db0(0x14c)](_0x538db0(0x119)+_0x4e151c+_0x538db0(0x159)),this['_lambdaFunctionParameterSet']['add'](_0x4e151c),_0x1299c7[_0x538db0(0x114)](''+this[_0x538db0(0xce)]+_0x4e151c),this[_0x538db0(0x141)]=!0x0,_0x1299c7[_0x538db0(0x114)](',');continue;}}if(this[_0x538db0(0xcf)](_0x3a2f11,_0x1299c7,_0x400166),_0x3a2f11 instanceof _0x2d492d){const _0x5c9366=_0x2ab4cc[_0x48d85d+0x1];_0x5c9366&&_0x5c9366 instanceof _0x2d492d&&_0x1299c7[_0x538db0(0x114)](',');}}this[_0x538db0(0xcf)](_0x2ab4cc[_0x6fefa9-0x1],_0x1299c7,_0x400166),_0x1299c7[_0x538db0(0x114)](')');return;}else{if(_0x69cbcf===0x8){const _0x1afed3=_0x2ab4cc[0x0],_0x2fd72c=_0x2ab4cc[0x1];this['_handleNewFunctionChild'](_0x1afed3,_0x1299c7,_0x400166),_0x1299c7[_0x538db0(0x114)](_0x4cbbc4),this[_0x538db0(0xcf)](_0x2fd72c,_0x1299c7,_0x400166);return;}}}for(let _0x5066ad=0x0;_0x5066ad<_0x6fefa9;_0x5066ad++){const _0x2d855f=_0x2ab4cc[_0x5066ad];if(this[_0x538db0(0xcf)](_0x2d855f,_0x1299c7,_0x400166),_0x2d855f instanceof _0x2d492d){const _0x4ead42=_0x2ab4cc[_0x5066ad+0x1];_0x4ead42&&_0x4ead42 instanceof _0x2d492d&&_0x1299c7[_0x538db0(0x114)](',');}}_0x69cbcf===0x7&&_0x1299c7['push'](_0x4cbbc4),(_0x16b27c||_0x69cbcf===0x9)&&_0x1299c7[_0x538db0(0x114)](')');}[_0x36795d(0xcf)](_0x3c9428,_0x437c68,_0x44abdd){const _0x2362a2=_0x36795d;_0x3c9428 instanceof _0x2d492d?this[_0x2362a2(0xcb)](_0x3c9428,_0x437c68,_0x44abdd):this['_lambdaFunctionParameterSet'][_0x2362a2(0xc5)](_0x3c9428)?(_0x437c68[_0x2362a2(0x114)](''+this[_0x2362a2(0xce)]+_0x3c9428),this[_0x2362a2(0x141)]=!0x0):_0x437c68[_0x2362a2(0x114)](_0x3c9428);}['_clearFunctionString'](_0x52c2bf){const _0x27f1a6=_0x36795d;let _0x29ac30=_0x52c2bf['trim']();if(!_0x29ac30)return _0x29ac30;const _0x1126f1=_0x29ac30[0x0];if((_0x1126f1===_0x454018['AT']||_0x1126f1===_0x454018[_0x27f1a6(0xe4)]||_0x1126f1===_0x454018['PLUS'])&&(_0x29ac30=_0x29ac30[_0x27f1a6(0xe9)](0x1)),!_0x29ac30)return _0x29ac30;const _0x56aa67=_0x29ac30[_0x29ac30[_0x27f1a6(0x122)]-0x1];return _0x2ab198[_0x27f1a6(0xc5)](_0x56aa67)&&(_0x29ac30=_0x29ac30[_0x27f1a6(0xe9)](0x0,-0x1)),_0x29ac30;}[_0x36795d(0x10d)](_0x382d96){const _0x79db2d=_0x36795d,_0x18708e=_0x382d96['getChildren']()[0x0];if(!_0x18708e||!(_0x18708e instanceof _0x2d492d)||_0x382d96[_0x79db2d(0x14d)]()['length']>0x1)return!0x1;const _0xdd2773=_0x18708e[_0x79db2d(0x14d)](),_0x5af23a=_0xdd2773[_0x79db2d(0x122)];if(_0x5af23a===0x1)return!0x1;for(let _0x1dd061=0x0;_0x1dd061<_0x5af23a;_0x1dd061++){const _0xc63ef4=_0xdd2773[_0x1dd061];if(!(_0xc63ef4 instanceof _0x2d492d)&&_0x4aef0f['has'](_0xc63ef4))return!0x0;}return!0x1;}[_0x36795d(0xa5)](_0x1de797,_0x4ed4e6,_0x2983ed,_0x2d0949,_0x1342c4){const _0x920a3f=_0x36795d,_0x462dad=this[_0x920a3f(0xd4)](_0x1de797,!0x1);if(!_0x462dad||_0x462dad===_0x41d5b0['VALUE']||Array['isArray'](_0x462dad))return null;this[_0x920a3f(0xa6)](),this[_0x920a3f(0x12b)]=_0x4ed4e6;const _0x53e5f5=this['_generateExprTree'](_0x462dad,_0x2983ed,_0x2d0949,_0x1342c4);return this[_0x920a3f(0x12b)]='',this[_0x920a3f(0x112)](),_0x53e5f5;}[_0x36795d(0x101)](_0x1fb8bb,_0x3254ce,_0x1a619b,_0x2eab68){const _0x1b144c=_0x36795d,_0x560e22={'value':'','children':[],'startIndex':0x0};let _0x4a90d5=_0x1fb8bb;if(_0x4a90d5 instanceof _0x2d492d&&(_0x4a90d5['getToken']()===_0xbd7c64||_0x4a90d5[_0x1b144c(0x126)]()===_0x1d6892)&&_0x4a90d5['getChildren']()['length']===0x1&&(_0x4a90d5=_0x4a90d5['getChildren']()[0x0]),!(_0x4a90d5 instanceof _0x2d492d))return this[_0x1b144c(0x146)](_0x4a90d5,_0x1a619b,_0x2eab68);const _0x84978c=_0x4a90d5['getChildren'](),_0xfe976b=_0x84978c[_0x1b144c(0x122)],_0x19e79e=[];this[_0x1b144c(0xcb)](_0x4a90d5,_0x19e79e,_0x3254ce),_0x560e22[_0x1b144c(0x100)]=_0x19e79e['join'](''),_0x560e22[_0x1b144c(0xd7)]=_0x4a90d5[_0x1b144c(0x144)]();const _0x3b083d=this[_0x1b144c(0x129)](_0x4a90d5);if(_0x3b083d===0x2){const _0x2d6f80=_0x84978c[0x0];if(_0x2d6f80 instanceof _0x2d492d){if(_0x2d6f80[_0x1b144c(0x126)]()[_0x1b144c(0x139)]()!==_0x4e1da4)return _0x560e22;this[_0x1b144c(0x111)](_0x2d6f80,_0x560e22,_0x3254ce,_0x1a619b,_0x2eab68);}return _0x560e22;}else{if(_0x3b083d===0x1){for(let _0x1cf837=0x0;_0x1cf837<_0xfe976b-0x1;_0x1cf837++){const _0x1e79a6=_0x84978c[_0x1cf837];if(_0x1e79a6 instanceof _0x2d492d&&_0x1cf837%0x2===0x1){const _0x25330d=_0x1e79a6[_0x1b144c(0x14d)]();if(_0x25330d[_0x1b144c(0x122)]===0x1&&!(_0x25330d[0x0]instanceof _0x2d492d))continue;const _0x142790=this['_generateExprTree'](_0x1e79a6,_0x3254ce,_0x1a619b,_0x2eab68);_0x142790&&_0x560e22[_0x1b144c(0x107)][_0x1b144c(0x114)](_0x142790);}}return _0x560e22;}else{if(_0x3b083d===0x8){const _0x2b3d00=_0x84978c[0x0];if(_0x2b3d00 instanceof _0x2d492d){const _0x5462be=_0x2b3d00['getChildren']()[0x0];_0x5462be instanceof _0x2d492d&&(_0x560e22['startIndex']=_0x5462be[_0x1b144c(0x144)]());}}else{if(_0x3b083d===0x7){const _0x5b6a63=_0x84978c[0x0];if(_0x5b6a63 instanceof _0x2d492d){const _0x5675bc=_0x5b6a63['getChildren']()[0x0];_0x5675bc instanceof _0x2d492d&&(_0x560e22[_0x1b144c(0xd7)]=_0x5675bc[_0x1b144c(0x144)]());}}}}}return this[_0x1b144c(0xab)](_0x84978c,_0x3b083d,_0x560e22,_0x3254ce,_0x1a619b,_0x2eab68),_0x560e22;}[_0x36795d(0xab)](_0x8347de,_0x287aa1,_0x20348a,_0x43f3d7,_0x41e8e8,_0x2f998b){const _0x1fcf50=_0x36795d;for(let _0x393926=0x0;_0x393926<_0x8347de[_0x1fcf50(0x122)];_0x393926++){let _0x3cef2f=_0x8347de[_0x393926];if(!(_0x3cef2f instanceof _0x2d492d)){const _0x320b8c=this['_handleTextNodeForExprTree'](_0x3cef2f,_0x41e8e8,_0x2f998b);_0x320b8c&&_0x20348a['children'][_0x1fcf50(0x114)](_0x320b8c);continue;}const _0x383369=_0x3cef2f['getChildren']();if(_0x383369['length']===0x1&&!(_0x383369[0x0]instanceof _0x2d492d)){const _0x4e890c=_0x383369[0x0];if(!_0x41e8e8(this[_0x1fcf50(0x12b)],_0x4e890c)&&!this[_0x1fcf50(0xb6)](_0x4e890c,_0x2f998b)&&!_0x165ecb(_0x4e890c))continue;}if(_0x287aa1===0x8){const _0xdd02ef=_0x383369[0x0];if(_0xdd02ef instanceof _0x2d492d){const _0x38cf65=_0xdd02ef[_0x1fcf50(0x126)]()[_0x1fcf50(0x139)]();if(_0x165ecb(_0x38cf65))continue;_0x3cef2f=_0xdd02ef;}}const _0x252787=this[_0x1fcf50(0x101)](_0x3cef2f,_0x43f3d7,_0x41e8e8,_0x2f998b);_0x252787&&_0x20348a[_0x1fcf50(0x107)][_0x1fcf50(0x114)](_0x252787);}}['_handleTextNodeForExprTree'](_0x514060,_0xf43a55,_0x3e990f){const _0x5a4ca6=_0x36795d,_0x3b2742=_0x514060['trim']();return _0x3b2742[_0x5a4ca6(0x12d)]('{')&&_0x3b2742[_0x5a4ca6(0xef)]('}')||_0xf43a55(this['_currentUnitId'],_0x3b2742)||this['_getTableNameFromStructuredRef'](_0x3b2742,_0x3e990f)||_0x165ecb(_0x3b2742)?{'value':_0x3b2742,'children':[],'startIndex':-0x1}:null;}[_0x36795d(0xb6)](_0x49425c,_0x2839a4){const _0x10cf07=_0x36795d,{tableName:_0x378f26}=_0x3dfd5d(_0x49425c);return _0x2839a4(this[_0x10cf07(0x12b)],_0x378f26)?_0x378f26:null;}[_0x36795d(0x111)](_0x1a88d6,_0x38be68,_0x203641,_0x3efb74,_0x2e31df){const _0x2eb701=_0x36795d,_0x1b3b59=_0x1a88d6[_0x2eb701(0x14d)]();for(let _0x42bb61=0x0;_0x42bb61<_0x1b3b59[_0x2eb701(0x122)];_0x42bb61++){const _0x38e1bc=_0x1b3b59[_0x42bb61];if(!(_0x38e1bc instanceof _0x2d492d))continue;const _0x53b0f1=_0x38e1bc[_0x2eb701(0x14d)]();if(_0x53b0f1[_0x2eb701(0x122)]===0x1&&!(_0x53b0f1[0x0]instanceof _0x2d492d))continue;const _0x254f55=this[_0x2eb701(0x101)](_0x38e1bc,_0x203641,_0x3efb74,_0x2e31df);_0x254f55&&_0x38be68['children'][_0x2eb701(0x114)](_0x254f55);}}['_getCurNodeTypeForExprTree'](_0xce7973){const _0x28bf69=_0x36795d,_0x30d3d9=_0xce7973[_0x28bf69(0x126)](),_0x58d4e6=_0x30d3d9[_0x28bf69(0x139)]()[_0x28bf69(0x120)]();let _0x1a35e7=0x0;return _0x30d3d9===_0xbd7c64?_0x1a35e7=0x3:_0x30d3d9===_0x1d6892?_0x1a35e7=0x4:_0x30d3d9===_0x4e1da4?_0x1a35e7=0x5:_0x58d4e6===_0x3d347e?_0x1a35e7=0x2:_0x58d4e6===_0x578ed6?_0x1a35e7=0x1:_0x58d4e6===_0x3f1f2e[_0x28bf69(0xaf)]?_0x1a35e7=0x8:_0x2ab198[_0x28bf69(0xc5)](_0x58d4e6)?_0x1a35e7=0x7:_0x58d4e6===_0x454018[_0x28bf69(0xe4)]?this[_0x28bf69(0x10d)](_0xce7973)&&(_0x1a35e7=0x9):_0x1a35e7=0xa,_0x1a35e7;}}const Se={0x0:'0',0x1:'8',0x2:'B',0x3:'9',0x4:'C',0x5:'t',0x6:'3',0x7:'L',0x8:'v',0x9:'k','E':'1','y':'2','h':'4','R':'5','O':'6','I':'7','v':'a','f':'b','p':'c','U':'d','g':'e','i':'f','L':'g','a':'h','G':'i','J':'j','r':'l','e':'m','X':'n','w':'o','V':'p','M':'q','W':'r','Q':'s','T':'u','Y':'w','q':'x','t':'y','b':'z','S':'A','F':'D','c':'E','m':'F','x':'G','K':'H','d':'I','Z':'J','u':'K','s':'M','H':'N','C':'O','N':'P','o':'Q','A':'R','z':'S','l':'T','k':'U','P':'V','B':'W','D':'X','j':'Y','n':'Z'},Me=_0x36795d(0xf5);class xe extends _0x489c2d{constructor(){const _0x2f4fff=_0x36795d;super(...arguments),F(this,_0x2f4fff(0xec),new Map());}[_0x36795d(0xe2)](){const _0x45dc17=_0x36795d;super[_0x45dc17(0xe2)](),this[_0x45dc17(0xec)]['clear']();}async[_0x36795d(0x125)](_0xbcdba2=!0x1){const _0x2250fd=_0x36795d;this['_updateRangeFlatten']();const _0x3de484=this[_0x2250fd(0x14e)][_0x2250fd(0xdb)](),_0x46c337=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x27895b=this[_0x2250fd(0x14e)][_0x2250fd(0xf0)]();_0x27895b!=null&&Object[_0x2250fd(0xc9)](_0x27895b)[_0x2250fd(0x156)](_0x572b1d=>{const _0x9a563c=_0x2250fd;_0x572b1d!=null&&Object['keys'](_0x27895b[_0x572b1d])[_0x9a563c(0x156)](_0x60abe9=>{const _0x40ec69=_0x9a563c;_0x60abe9!=null&&(this[_0x40ec69(0xfa)][_0x40ec69(0xca)](_0x572b1d,_0x60abe9),this[_0x40ec69(0xfa)][_0x40ec69(0x15b)](_0x572b1d,_0x60abe9),this[_0x40ec69(0xfa)][_0x40ec69(0xd3)](_0x572b1d,_0x60abe9));});});const _0x7825fb=this[_0x2250fd(0x14e)][_0x2250fd(0x97)]();await this[_0x2250fd(0xae)](_0x3de484,_0x46c337,_0x7825fb),this['_dependencyManagerService'][_0x2250fd(0xe7)]();const _0x2ce5a1=this[_0x2250fd(0xd2)](),_0x82126a=this[_0x2250fd(0xfb)](_0x2ce5a1);return this[_0x2250fd(0x9a)](_0x82126a)&&this[_0x2250fd(0x93)][_0x2250fd(0x105)](),_0xbcdba2&&this['_runtimeService']['setDependencyTreeModelData'](this['_getAllDependencyJson'](Array[_0x2250fd(0xc8)](this['_dependencyTreeCache'][_0x2250fd(0x14b)]()))),this[_0x2250fd(0xec)][_0x2250fd(0xa3)](),this[_0x2250fd(0x110)][_0x2250fd(0xa3)](),this[_0x2250fd(0xfa)][_0x2250fd(0x103)](),this[_0x2250fd(0x93)][_0x2250fd(0x153)](),Promise['resolve'](_0x82126a);}[_0x36795d(0x13c)](_0x29f832,_0x3cf43a){const _0x2bd3c6=_0x36795d,_0x48a259=[_0x29f832];for(;_0x48a259[_0x2bd3c6(0x122)]>0x0;){const _0x28917b=_0x48a259[_0x48a259[_0x2bd3c6(0x122)]-0x1];if((_0x3cf43a[_0x2bd3c6(0x9c)](_0x28917b)||0x0)===0x0){_0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x1);const _0x44682c=this[_0x2bd3c6(0xec)]['get'](_0x28917b);if(_0x44682c==null){_0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x2),_0x48a259[_0x2bd3c6(0xaa)]();continue;}const _0x224904=this[_0x2bd3c6(0xfa)][_0x2bd3c6(0xdd)](_0x44682c[_0x2bd3c6(0x150)]());for(const _0x3ef861 of _0x224904){const _0x2d851d=_0x3cf43a['get'](_0x3ef861)||0x0;if(_0x2d851d===0x1)return!0x0;_0x2d851d===0x0&&_0x48a259[_0x2bd3c6(0x114)](_0x3ef861);}}else _0x3cf43a[_0x2bd3c6(0x91)](_0x28917b,0x2),_0x48a259[_0x2bd3c6(0xaa)]();}return!0x1;}[_0x36795d(0x9a)](_0x275e77){const _0x321adb=_0x36795d,_0x18e0bc=new Map();for(const _0x499bb3 of _0x275e77)if(!_0x18e0bc[_0x321adb(0xc5)](_0x499bb3[_0x321adb(0xb5)])&&this['_isCyclicUtilMap'](_0x499bb3['treeId'],_0x18e0bc))return!0x0;return _0x18e0bc[_0x321adb(0xa3)](),!0x1;}[_0x36795d(0x132)](_0x32d02e,_0x2144aa,_0xc8aec3){const _0x42396a=_0x36795d,{unitId:_0x2d8593,subUnitId:_0x524247,dependencyRanges:_0x253de8,getDirtyData:_0x5518bf}=_0xc8aec3,_0x5a62ed=_0x2144aa||_0x36f4e8(this['_dependencyManagerService']),_0x6c8c3a=new _0x1b85f6(_0x5a62ed);_0x6c8c3a[_0x42396a(0x14f)]=_0x2d8593,_0x6c8c3a[_0x42396a(0x11f)]=_0x524247,_0x6c8c3a['rangeList']=_0x253de8,_0x6c8c3a[_0x42396a(0x12a)]=_0x5518bf;const _0x2f8984=_0x5518bf(this[_0x42396a(0x14e)][_0x42396a(0x12a)](),this['_runtimeService'][_0x42396a(0x149)]()),_0x59881b=this['_convertDirtyRangesToUnitRange'](_0x2f8984[_0x42396a(0x12f)]);return _0x6c8c3a[_0x42396a(0x140)]=_0x59881b,_0x6c8c3a['featureId']=_0x32d02e,_0x6c8c3a[_0x42396a(0x154)]=_0x18fbc5['FEATURE_FORMULA'],this[_0x42396a(0xfa)]['addFeatureFormulaDependency'](_0x2d8593,_0x524247,_0x32d02e,_0x6c8c3a),this[_0x42396a(0xec)]['set'](_0x6c8c3a[_0x42396a(0xb5)],_0x6c8c3a),this[_0x42396a(0xfa)]['getFeatureFormulaDependency'](_0xc8aec3[_0x42396a(0x14f)],_0xc8aec3['subUnitId'],_0x32d02e)&&(_0x6c8c3a[_0x42396a(0x155)]=!0x0),_0x6c8c3a;}[_0x36795d(0xa1)](_0x142945,_0x3cd24a,_0x9bb9a3){const _0x18f108=_0x36795d;var _0x3f5408;for(const _0x2e0151 of _0x3cd24a){const _0x2a97f8=_0x142945[_0x2e0151];if(_0x2a97f8==null)continue;const _0x299e44=Object[_0x18f108(0xc9)](_0x2a97f8);for(const _0x4e5ffa of _0x299e44){const _0x49b1dd=_0x2a97f8[_0x4e5ffa];if(_0x49b1dd==null)continue;const _0x9bf3b9=Object[_0x18f108(0xc9)](_0x49b1dd);for(const _0x47a52d of _0x9bf3b9){const _0x4e0f11=this['_dependencyManagerService'][_0x18f108(0xf1)](_0x47a52d),_0x27e476=_0x49b1dd[_0x47a52d],{f:_0xaf3ebd,ranges:_0x5cf7af}=_0x27e476;let _0x5e01d4=!0x1;_0x4e0f11&&(_0x5e01d4=!0x0);const {firstRow:_0x21b3c4,firstColumn:_0x1e1613}=this[_0x18f108(0xad)](_0x5cf7af),_0x3e18b0=this[_0x18f108(0xfa)][_0x18f108(0x118)](_0x2e0151,_0x4e5ffa,_0x47a52d),_0x33af5a=(_0x3f5408=_0x3e18b0==null?void 0x0:_0x3e18b0[_0x18f108(0x90)](0x0,0x0))!=null?_0x3f5408:_0x36f4e8(this['_dependencyManagerService']),_0x119149=new _0x1b85f6(_0x33af5a);for(let _0x26be4e=0x0;_0x26be4e<_0x5cf7af[_0x18f108(0x122)];_0x26be4e++){const _0xb50102=_0x5cf7af[_0x26be4e],{startRow:_0x2f4e25,startColumn:_0x5bd4a0,endRow:_0x132b54,endColumn:_0x13b91d}=_0xb50102;for(let _0x5d489b=_0x2f4e25;_0x5d489b<=_0x132b54;_0x5d489b++)for(let _0x56794d=_0x5bd4a0;_0x56794d<=_0x13b91d;_0x56794d++){const _0x45d4c8=_0x56794d-_0x1e1613,_0x5cd657=_0x5d489b-_0x21b3c4;if(_0x45d4c8===0x0&&_0x5cd657===0x0){_0x119149['formula']=_0xaf3ebd,_0x119149['unitId']=_0x2e0151,_0x119149[_0x18f108(0x11f)]=_0x4e5ffa,_0x119149['formulaId']=_0x47a52d,_0x119149[_0x18f108(0x154)]=_0x18fbc5[_0x18f108(0xeb)],_0x119149[_0x18f108(0x155)]=_0x5e01d4,_0x9bb9a3[_0x18f108(0x114)](_0x119149),this[_0x18f108(0xec)]['set'](_0x119149[_0x18f108(0xb5)],_0x119149),this[_0x18f108(0xfa)]['addOtherFormulaDependency'](_0x2e0151,_0x4e5ffa,_0x47a52d,_0x119149),this[_0x18f108(0xfa)][_0x18f108(0x131)](_0x119149);continue;}const _0x5b3642=new _0x318f99();_0x5b3642[_0x18f108(0xb5)]=(_0x3e18b0==null?void 0x0:_0x3e18b0[_0x18f108(0x90)](_0x45d4c8,_0x5cd657))||_0x36f4e8(this[_0x18f108(0xfa)]),_0x5b3642[_0x18f108(0x124)]=_0x119149,_0x5b3642[_0x18f108(0x11e)]=_0x45d4c8,_0x5b3642['refOffsetY']=_0x5cd657,_0x5b3642[_0x18f108(0x155)]=_0x5e01d4,_0x5b3642['type']=_0x18fbc5[_0x18f108(0xeb)],this['_dependencyManagerService'][_0x18f108(0x98)](_0x2e0151,_0x4e5ffa,_0x47a52d,_0x5b3642),this[_0x18f108(0xfa)][_0x18f108(0x131)](_0x5b3642),_0x9bb9a3['push'](_0x5b3642),this[_0x18f108(0xec)][_0x18f108(0x91)](_0x5b3642[_0x18f108(0xb5)],_0x5b3642);}}this[_0x18f108(0xfa)][_0x18f108(0xb1)](_0x47a52d);}}}}[_0x36795d(0x10b)](_0x18347a,_0x5f0ede,_0x930ca4,_0xffad6a){const _0x24b2e0=_0x36795d;for(const _0x4a8c9c of _0x18347a){const _0x50a3d5=_0x5f0ede[_0x4a8c9c];if(_0x50a3d5==null)continue;const _0x3f71d6=Object[_0x24b2e0(0xc9)](_0x50a3d5);for(const _0x2d001a of _0x3f71d6){const _0x3426f9=new _0x3d7146(_0x50a3d5[_0x2d001a]||{}),_0x4e0d39=new Map();_0x3426f9[_0x24b2e0(0xd8)]((_0x4f8c9c,_0x24d6e7,_0x2fae84)=>{const _0x467d6b=_0x24b2e0;if(_0x2fae84==null)return!0x0;const {x:_0x5d29c7=0x0,y:_0xd3fc73=0x0,si:_0x13126f}=_0x2fae84;if(!(_0x5d29c7===0x0&&_0xd3fc73===0x0&&_0x13126f!=null))return!0x0;const _0x2f09e9=this[_0x467d6b(0x95)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7,_0x930ca4,_0x2fae84),_0xfa0445=this[_0x467d6b(0xfa)][_0x467d6b(0x13d)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7);_0xfa0445!=null?_0x2f09e9[_0x467d6b(0xb5)]=_0xfa0445:(this[_0x467d6b(0xfa)][_0x467d6b(0x13e)](_0x4a8c9c,_0x2d001a,_0x4f8c9c,_0x24d6e7,_0x2f09e9),this[_0x467d6b(0xfa)][_0x467d6b(0x131)](_0x2f09e9)),_0x4e0d39['set'](_0x13126f,_0x2f09e9),_0xffad6a['push'](_0x2f09e9),this[_0x467d6b(0xec)][_0x467d6b(0x91)](_0x2f09e9[_0x467d6b(0xb5)],_0x2f09e9);}),_0x3426f9[_0x24b2e0(0xd8)]((_0x4fe159,_0x2dc96e,_0x81e8fd)=>{const _0x19d4ae=_0x24b2e0;if(_0x81e8fd==null)return!0x0;const {x:_0x55bd80=0x0,y:_0x3ebb43=0x0,si:_0x42e360}=_0x81e8fd;if(_0x55bd80===0x0&&_0x3ebb43===0x0&&_0x42e360!=null)return!0x0;let _0x4d8e31;if(_0x42e360&&_0x4e0d39[_0x19d4ae(0xc5)](_0x42e360)){const _0x214243=_0x4e0d39[_0x19d4ae(0x9c)](_0x42e360);_0x4d8e31=this['_createVirtualFDtree'](_0x214243,_0x81e8fd);}else _0x4d8e31=this['_createFDtree'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e,_0x930ca4,_0x81e8fd);const _0x541ab7=this[_0x19d4ae(0xfa)]['getFormulaDependency'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e);_0x541ab7!=null?_0x4d8e31[_0x19d4ae(0xb5)]=_0x541ab7:(this['_dependencyManagerService']['addFormulaDependency'](_0x4a8c9c,_0x2d001a,_0x4fe159,_0x2dc96e,_0x4d8e31),this['_dependencyManagerService'][_0x19d4ae(0x131)](_0x4d8e31)),_0xffad6a[_0x19d4ae(0x114)](_0x4d8e31),this['_dependencyTreeCache'][_0x19d4ae(0x91)](_0x4d8e31[_0x19d4ae(0xb5)],_0x4d8e31);}),_0x4e0d39[_0x24b2e0(0xa3)]();}}}[_0x36795d(0x95)](_0x194f7d,_0x20ca64,_0x488201,_0x5edda2,_0x5c1c32,_0x1a1f5b){const _0x3ec7da=_0x36795d,{f:_0x181a08,x:_0x3ad37e=0x0,y:_0x48f21c=0x0}=_0x1a1f5b,_0x32a12d=new _0x1b85f6(_0x36f4e8(this[_0x3ec7da(0xfa)])),_0x459f0c=_0x5c1c32[_0x194f7d][_0x20ca64];return _0x32a12d[_0x3ec7da(0x102)]=_0x181a08,_0x32a12d[_0x3ec7da(0x14f)]=_0x194f7d,_0x32a12d['subUnitId']=_0x20ca64,_0x32a12d[_0x3ec7da(0xa7)]=_0x488201,_0x32a12d[_0x3ec7da(0xbc)]=_0x5edda2,_0x32a12d[_0x3ec7da(0xf4)]=_0x459f0c[_0x3ec7da(0xf4)],_0x32a12d[_0x3ec7da(0x10a)]=_0x459f0c[_0x3ec7da(0x10a)],_0x32a12d;}[_0x36795d(0xd2)](){const _0x360111=_0x36795d,_0x2bc89e=[],_0x2984f8=new Set(),_0x39f406=this['_currentConfigService']['isForceCalculate'](),_0x10f444=this[_0x360111(0x14e)]['getDirtyRanges'](),_0x2f742c=this[_0x360111(0xfa)]['searchDependency'](_0x10f444),_0x157273=this[_0x360111(0x110)][_0x360111(0x9f)](_0x10f444);for(const _0x26b661 of _0x157273)_0x2f742c[_0x360111(0x12c)](_0x26b661);for(const [_0x2a574a,_0x5461d7]of this['_dependencyTreeCache'])(_0x39f406||_0x5461d7[_0x360111(0xf9)]||_0x5461d7[_0x360111(0x10e)](this[_0x360111(0x14e)][_0x360111(0xa4)]())||_0x2f742c[_0x360111(0xc5)](_0x2a574a)&&!_0x5461d7['isExcludeRange'](this[_0x360111(0x14e)][_0x360111(0x13f)]()))&&!_0x2984f8[_0x360111(0xc5)](_0x2a574a)&&(_0x2bc89e['push'](_0x5461d7),_0x2984f8['add'](_0x2a574a));for(const [_0x284bf6,_0x5d4529]of this[_0x360111(0xec)])_0x5d4529['isVirtual']||(_0x5d4529[_0x360111(0xda)][_0x360111(0x122)]=0x0);return _0x2bc89e;}[_0x36795d(0x135)](_0xb0a1d6){const _0x724718=_0x36795d;return this[_0x724718(0xec)][_0x724718(0x9c)](_0xb0a1d6);}['_getTreeNode'](_0x1c6299){const _0x412c0b=_0x36795d;return _0x8ed8fb(_0x1c6299[_0x412c0b(0x14f)],_0x1c6299['formula'],this[_0x412c0b(0xcc)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x36795d(0xb7)](_0x468c75,_0x367bae){const _0x3aa89b=_0x36795d,_0x49a9ed=_0x468c75,_0x5c3058=new Set();for(;_0x49a9ed[_0x3aa89b(0x122)]>0x0;){const _0x32ed82=_0x49a9ed[_0x3aa89b(0xaa)]();if(_0x5c3058[_0x3aa89b(0xa3)](),_0x32ed82===void 0x0||_0x32ed82['isSkip']())continue;if(_0x32ed82[_0x3aa89b(0xc1)]()){yield _0x32ed82,_0x32ed82[_0x3aa89b(0xed)](),_0x367bae['add'](_0x32ed82[_0x3aa89b(0xb5)]);continue;}const _0x5da1e0=this[_0x3aa89b(0xfa)][_0x3aa89b(0xdd)](_0x32ed82[_0x3aa89b(0x150)](),_0x367bae),_0x8d9034=this[_0x3aa89b(0x110)][_0x3aa89b(0x9f)](_0x32ed82[_0x3aa89b(0x150)](),_0x367bae);for(const _0x510616 of _0x8d9034)_0x5da1e0[_0x3aa89b(0x12c)](_0x510616);for(const _0xf21429 of _0x5da1e0){const _0x25084e=this[_0x3aa89b(0xec)][_0x3aa89b(0x9c)](_0xf21429);if(!_0x25084e)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x25084e[_0x3aa89b(0xc1)]()||_0x32ed82[_0x3aa89b(0x138)]()||_0x5c3058[_0x3aa89b(0x12c)](_0x25084e);}if(_0x5da1e0[_0x3aa89b(0xa3)](),_0x5c3058[_0x3aa89b(0x10f)]===0x0)yield _0x32ed82,_0x32ed82[_0x3aa89b(0xed)](),_0x367bae['add'](_0x32ed82[_0x3aa89b(0xb5)]);else{_0x32ed82[_0x3aa89b(0xb4)](),_0x49a9ed['push'](_0x32ed82);for(const _0x2bf733 of _0x5c3058)_0x49a9ed[_0x3aa89b(0x114)](_0x2bf733);}}_0x49a9ed[_0x3aa89b(0x122)]=0x0,_0x5c3058['clear']();}[_0x36795d(0xfb)](_0x12e05a){const _0x4371f6=_0x36795d,_0x4d73fb=[],_0x483eb4=new Set();for(const _0x343ac0 of this[_0x4371f6(0xb7)](_0x12e05a,_0x483eb4))_0x4d73fb[_0x4371f6(0x114)](_0x343ac0);return _0x4d73fb;}async[_0x36795d(0xc7)](){const _0x2efbb4=_0x36795d;return await this[_0x2efbb4(0xb9)](),Array['from'](this[_0x2efbb4(0xec)]['values']());}['_getDependencyTreeParenIds'](_0x4bd914){const _0x57f389=_0x36795d;return this['_dependencyManagerService'][_0x57f389(0xdd)](_0x4bd914[_0x57f389(0x150)]());}[_0x36795d(0x123)](_0x4f68a3){const _0x15baa=_0x36795d,_0x313a47=new Set(),_0x5b9aaa=_0x4f68a3[_0x15baa(0xda)];for(const [_0x2a864c,_0x2839c2]of this['_dependencyTreeCache'])for(const _0x473a49 of _0x5b9aaa){const _0x501b47=_0x473a49[_0x15baa(0x14f)],_0x4ee7b2=_0x473a49[_0x15baa(0x121)];if(_0x2839c2[_0x15baa(0x14f)]!==_0x501b47||_0x2839c2[_0x15baa(0x11f)]!==_0x4ee7b2)continue;const _0x1b2ed8=_0x473a49[_0x15baa(0x148)];if(_0x2839c2[_0x15baa(0xe0)](_0x1b2ed8)){_0x313a47[_0x15baa(0x12c)](_0x2a864c);break;}}return _0x313a47;}[_0x36795d(0x14a)](){const _0x312236=_0x36795d;this['_dependencyManagerService'][_0x312236(0xe7)]();}[_0x36795d(0xd0)](){const _0x1e1d01=_0x36795d;this['_formulaDependencyTreeModel'][_0x1e1d01(0xa3)](),this[_0x1e1d01(0xec)][_0x1e1d01(0xa3)](),this['_dependencyManagerService'][_0x1e1d01(0x103)]();}}function _0x5691(){const _0x22e02a=['type','isCache','forEach','refOffsetY','_astTreeBuilder','\x22\x20is\x20duplicated.','addFeatureFormulaDependency','clearFeatureFormulaDependency','removeOtherFormulaDependency','getValue','set','message','_runtimeService','14Qqfkfq','_createFDtree','1045364LhzbSa','getUnitData','addOtherFormulaDependency','setCompletedArrayFormulasCount','_checkIsCycleDependency','_otherFormulaData','get','_formulaData','1180192WxfYIT','bulkSearch','_allTreeMap','_registerOtherFormulas','defineProperty','clear','getDirtyNameMap','getFormulaExprTree','_clearPrefix','row','setRuntimeFeatureCellData','_featureFormulaData','pop','_handleChildrenForExprTree','START_DEPENDENCY_ARRAY_FORMULA','_getFirstCellOfRange','_generateTreeList','COLON','join','addOtherFormulaDependencyMainData','_lambdaFunctionParameterSet','IDLE','setAdded','treeId','_getTableNameFromStructuredRef','_traverse','max','_initializeGenerateTreeList','_initLicenseValid','_isCalculateTreeModel','column','intervalCount','_addAllTreeMap','_otherFormulaDataMainData','markedAsStopFunctionsExecuted','isAdded','featureId','233559XlnMhq','markedAsNoFunctionsExecuted','has','START_CALCULATION_ARRAY_FORMULA','_getAllTreeList','from','keys','clearOtherFormulaDependency','_generateNewFunctionString','_lexer','removeFeatureFormulaDependency','_xlpmPrefix','_handleNewFunctionChild','_endFormulaDependencyTreeModel','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','clearFormulaDependency','treeBuilder','_removeDependencyRTreeCacheById','setCurrent','startIndex','forValue','_executionInProgressListener$','rangeList','getFormulaData','START_CALCULATION','searchDependency','isArray','744354OYrdXI','inRangeData','formulaId','dispose','VALUE','MINUS','setFormulaExecuteStage','START_DEPENDENCY','openKdTree','_config','slice','_apply','OTHER_FORMULA','_dependencyTreeCache','setSkip','startRow','endsWith','getClearDependencyTreeCache','hasOtherFormulaDataMainData','setRuntimeFeatureRange','711392ScyDMK','rowCount','/*\x20gQrGX5-UGQvfrg\x20VWgigW-5geVrv5g\x20*/iTXp5GwX\x20UgpWtV5GwX(rGpgXQg,\x20VTfrGpugt)\x20{\x20\x20\x20\x205Wt\x20{\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20rGpgXQgdXiwNvW5SWWvt\x20=\x20rGpgXQg.QVrG5(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20wWGLGXsgQQvLg\x20=\x20ZzCH.VvWQg(v5wf(rGpgXQgdXiwNvW5SWWvt[y]));\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(!wWGLGXsgQQvLg.TU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wWGLGXsgQQvLg.TU\x20=\x20HTefgW(rGpgXQgdXiwNvW5SWWvt[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQBwW9gW\x20=\x205tVgwi\x20BwW9gWxrwfvrzpwVg\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x20Qgri\x20GXQ5vXpgwi\x20BwW9gWxrwfvrzpwVg;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20GQ2WwYQgW\x20=\x205tVgwi\x20YGXUwY\x20!==\x20\x27TXUgiGXgU\x27\x20&&\x205tVgwi\x20YGXUwY.rwpv5GwX\x20!==\x20\x27TXUgiGXgU\x27;\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20pwX5gq5\x20=\x20GQBwW9gW\x20?\x20Qgri\x20:\x20(GQ2WwYQgW\x20?\x20YGXUwY\x20:\x20LrwfvrlaGQ);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[y]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20egQQvLg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(egQQvLgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWgBwWU\x20=\x20pwX5gq5.__2vQgOh__.VvWQg(rGpgXQgdXiwNvW5SWWvt[6]);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXv5TWg\x20=\x20pwX5gq5.__Kgq__.Q5WGXLGit(QGLXv5TWgBwWU);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QGLXPvrGU\x20=\x20pwX5gq5.__8gWGit__(QGLXv5TWg,\x20egQQvLg,\x20VTfrGpugt);\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20UwevGX\x20=\x20wWGLGXsgQQvLg.Ue;\x20\x20\x20\x20\x20\x20\x20\x20iTXp5GwX\x20GQFwevGXsv5paGXL(Vv55gWX,\x20awQ5)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX\x20===\x20awQ5)\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(Vv55gWX.Q5vW5QBG5a(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x20QTiiGq\x20=\x20Vv55gWX.QrGpg(y);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(QTiiGq\x20&&\x20!awQ5.Q5vW5QBG5a(\x27.\x27)\x20&&\x20awQ5\x20!==\x20QTiiGq\x20&&\x20awQ5.gXUQBG5a(\x27.\x27\x20+\x20QTiiGq))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rg5\x20UwevGXPvrGU\x20=\x20ivrQg;\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(GQ2WwYQgW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x20(UwevGX\x20&&\x20UwevGX.rgXL5a)\x20?\x20UwevGX.Qweg((Ued5ge)\x20=>\x20GQFwevGXsv5paGXL(Ued5ge,\x20rwpv5GwX.awQ5Xveg))\x20:\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Gi\x20(rwpv5GwX.awQ5Xveg\x20===\x20\x27rwpvrawQ5\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20grQg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UwevGXPvrGU\x20=\x205WTg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pwXQ5\x208vrGU\x20=\x20QGLXPvrGU\x20&&\x20UwevGXPvrGU;\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20wWGLGXsgQQvLg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20pv5pa\x20(gWWwW)\x20{\x20\x20\x20\x20\x20\x20\x20\x20Wg5TWX\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208vrGU:\x20ivrQg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20egQQvLg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','resetCalculationState','getNewFormulaWithPrefix','_configService','isDirty','_dependencyManagerService','_calculateRunList','endColumn','realDeleteValue','7zbZoPq','1182140LnWtFz','value','_generateExprTree','formula','closeKdTree','_dependencyRTreeCache','enableCycleDependency','endRow','children','_initializeWithOverride','Lambda\x20parameter\x20name\x20\x22','columnCount','_registerFormulas','_xlfnPrefix','_checkAddBracketForMinus','dependencySheetName','size','_dependencyRTreeCacheForAddressFunction','_handleLambdaForExprTree','_resetPrefix','checkAsyncNode','push','getConfig','_clearFunctionString','delete','getOtherFormulaDependency','Let\x20variable\x20name\x20\x22','notExecuteFormula','setRuntimeData','next','_xlpm.','refOffsetX','subUnitId','toUpperCase','sheetId','length','_getDependencyTreeChildrenIds','refTree','generate','getToken','reset','node','_getCurNodeTypeForExprTree','getDirtyData','_currentUnitId','add','startsWith','6BMhOHD','dirtyRanges','getRuntimeState','addFormulaDependencyByDefinedName','_getFeatureFormulaTree','string','3701545MJuZbA','_getTreeById','min','_xlfn.','isSkip','trim','_removeDependencyRTreeCache','_formulaDependencyGenerator','_isCyclicUtilMap','getFormulaDependency','addFormulaDependency','getExcludedRange','featureDirtyRanges','_hasNewExcelFunction','symbol','setCompletedFormulasCount','getStartIndex','setValue','_handleTextNodeForExprTree','_injector','range','getAllRuntimeData','_startFormulaDependencyTreeModel','values','error','getChildren','_currentConfigService','unitId','toRTreeItem','return\x20','isStopExecution','clearArrayObjectCache'];_0x5691=function(){return _0x22e02a;};return _0x5691();}class Re extends _0x40e348{async[_0x36795d(0xea)](_0x37b9c5=!0x1){const _0x14e054=_0x36795d;_0x37b9c5?this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xac)]):this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xe6)]),this['_executionInProgressListener$'][_0x14e054(0x11c)](this['_runtimeService'][_0x14e054(0x130)]());const _0x2a3927=await this[_0x14e054(0x13b)]['generate'](this[_0x14e054(0xbb)]),_0x271425=this['_interpreter'];_0x37b9c5?(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xc6)]),this[_0x14e054(0x93)]['setTotalArrayFormulasToCalculate'](_0x2a3927['length'])):(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xdc)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x2a3927[_0x14e054(0x122)])),this['_executionInProgressListener$'][_0x14e054(0x11c)](this[_0x14e054(0x93)][_0x14e054(0x130)]());let _0x22b8e6=[];const _0x3e975b=this[_0x14e054(0xf8)][_0x14e054(0x115)](_0x2cd7f4),_0x34f7af=(_0x3e975b==null?void 0x0:_0x3e975b[_0x14e054(0xbd)])||_0x46437c;let _0x5a042f=0x0;const _0x2525ed=_0x2a3927[_0x14e054(0x122)];for(;_0x2a3927[_0x14e054(0x122)]>0x0;){const _0x3cf6a9=_0x2a3927[_0x14e054(0xaa)](),_0x3a4ad4=_0x8ed8fb(_0x3cf6a9[_0x14e054(0x14f)],_0x3cf6a9['formula'],this['_lexer'],this[_0x14e054(0x158)],this[_0x14e054(0x14e)]),_0x14843d={'node':_0x3a4ad4,'refOffsetX':_0x3cf6a9[_0x14e054(0x11e)],'refOffsetY':_0x3cf6a9[_0x14e054(0x157)]},_0x49090f=_0x3cf6a9[_0x14e054(0x12a)];if(_0x5a042f%_0x34f7af===0x0&&(await new Promise(_0x4e5236=>{const _0x11fc11=_0x14e054,_0x562019=_0x50f254(_0x4e5236);_0x22b8e6[_0x11fc11(0x114)](_0x562019);}),_0x37b9c5?(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x14e054(0x93)][_0x14e054(0x99)](_0x5a042f+0x1)):(this[_0x14e054(0x93)][_0x14e054(0xe5)](_0x1cd23e['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x14e054(0x143)](_0x5a042f+0x1)),this[_0x14e054(0xd9)][_0x14e054(0x11c)](this[_0x14e054(0x93)][_0x14e054(0x130)]()),this[_0x14e054(0x93)][_0x14e054(0x152)]()||_0x14843d==null&&_0x49090f==null)){this['_runtimeService'][_0x14e054(0xe5)](_0x1cd23e[_0x14e054(0xb3)]),this[_0x14e054(0x93)][_0x14e054(0xc0)](),this['_executionCompleteListener$'][_0x14e054(0x11c)](this[_0x14e054(0x93)]['getAllRuntimeData']());return;}this[_0x14e054(0x93)][_0x14e054(0xd6)](_0x3cf6a9[_0x14e054(0xa7)],_0x3cf6a9[_0x14e054(0xbc)],_0x3cf6a9[_0x14e054(0xf4)],_0x3cf6a9[_0x14e054(0x10a)],_0x3cf6a9[_0x14e054(0x11f)],_0x3cf6a9[_0x14e054(0x14f)]);let _0x21b7bd;if(_0x49090f!=null&&_0x3cf6a9[_0x14e054(0xc2)]!=null){const {runtimeCellData:_0x11a47c,dirtyRanges:_0x2d2963}=_0x49090f(this[_0x14e054(0x14e)][_0x14e054(0x12a)](),this[_0x14e054(0x93)][_0x14e054(0x149)]());this['_runtimeService'][_0x14e054(0xa8)](_0x3cf6a9[_0x14e054(0xc2)],_0x11a47c),this['_runtimeService'][_0x14e054(0xf2)](_0x3cf6a9[_0x14e054(0xc2)],_0x2d2963);}else _0x14843d!=null&&(_0x271425[_0x14e054(0x113)](_0x14843d[_0x14e054(0x128)])?_0x21b7bd=await _0x271425['executeAsync'](_0x14843d):_0x21b7bd=_0x271425['execute'](_0x14843d),_0x3cf6a9[_0x14e054(0xe1)]!=null?this[_0x14e054(0x93)]['setRuntimeOtherData'](_0x3cf6a9[_0x14e054(0xe1)],_0x3cf6a9[_0x14e054(0x11e)],_0x3cf6a9[_0x14e054(0x157)],_0x21b7bd):this[_0x14e054(0x93)][_0x14e054(0x11b)](_0x21b7bd));_0x3a4ad4[_0x14e054(0xf6)](),_0x5a042f++;}return _0x22b8e6[_0x14e054(0x156)](_0x443303=>_0x443303()),_0x22b8e6=[],_0x2525ed>0x0?this[_0x14e054(0x93)]['markedAsSuccessfullyExecuted']():_0x37b9c5||this[_0x14e054(0x93)][_0x14e054(0xc4)](),this['_runtimeService']['getAllRuntimeData']();}}class Ee extends _0x50d701{constructor(){const _0x4e2677=_0x36795d;super(...arguments),F(this,_0x4e2677(0xa0),new Map()),F(this,_0x4e2677(0x104),new _0x252685(!0x0));}[_0x36795d(0x127)](){const _0x37f22a=_0x36795d;this[_0x37f22a(0x9b)][_0x37f22a(0xa3)](),this['_featureFormulaData'][_0x37f22a(0xa3)](),this[_0x37f22a(0x9d)][_0x37f22a(0xa3)](),this[_0x37f22a(0x104)]['clear'](),this[_0x37f22a(0xa0)][_0x37f22a(0xa3)](),this['_restDependencyTreeId'](),this[_0x37f22a(0xbf)][_0x37f22a(0xa3)]();}['addOtherFormulaDependency'](_0x44fef3,_0x44dc61,_0x49687e,_0x248c85){const _0x201399=_0x36795d;this[_0x201399(0x9b)][_0x201399(0xc5)](_0x44fef3)||this[_0x201399(0x9b)]['set'](_0x44fef3,new Map());const _0x4abc04=this[_0x201399(0x9b)][_0x201399(0x9c)](_0x44fef3);_0x4abc04[_0x201399(0xc5)](_0x44dc61)||_0x4abc04[_0x201399(0x91)](_0x44dc61,new Map());const _0x24c4f1=_0x4abc04[_0x201399(0x9c)](_0x44dc61);_0x24c4f1[_0x201399(0xc5)](_0x49687e)||_0x24c4f1[_0x201399(0x91)](_0x49687e,new _0x3d7146()),_0x24c4f1[_0x201399(0x9c)](_0x49687e)[_0x201399(0x145)](_0x248c85['refOffsetX'],_0x248c85[_0x201399(0x157)],_0x248c85[_0x201399(0xb5)]);}[_0x36795d(0x15c)](_0x3a4f33,_0x2e8e18,_0x12876a){const _0x3b7acc=_0x36795d,_0x2477ad=this['_otherFormulaData'][_0x3b7acc(0x9c)](_0x3a4f33);if(_0x2477ad&&_0x2477ad[_0x3b7acc(0xc5)](_0x2e8e18)){const _0x14e1a9=_0x2477ad['get'](_0x2e8e18);_0x12876a['forEach'](_0x439e8e=>{const _0x3c4c61=_0x3b7acc,_0x195911=_0x14e1a9['get'](_0x439e8e);_0x195911!=null&&(_0x195911[_0x3c4c61(0xd8)]((_0xc0a091,_0x389b78,_0x2242fc)=>{const _0x5c02da=_0x3c4c61;this[_0x5c02da(0x13a)](_0x2242fc),this[_0x5c02da(0xd1)](_0x2242fc);}),_0x14e1a9['delete'](_0x439e8e),this[_0x3c4c61(0xbf)][_0x3c4c61(0x117)](_0x439e8e));}),_0x14e1a9[_0x3b7acc(0x10f)]===0x0&&_0x2477ad[_0x3b7acc(0x117)](_0x2e8e18),_0x2477ad['size']===0x0&&this[_0x3b7acc(0x9b)][_0x3b7acc(0x117)](_0x3a4f33);}}['clearOtherFormulaDependency'](_0x4febed,_0x24e4c6){const _0x425c47=_0x36795d,_0x62f41c=this[_0x425c47(0x9b)][_0x425c47(0x9c)](_0x4febed);if(_0x24e4c6&&_0x62f41c&&_0x62f41c['has'](_0x24e4c6)){const _0x1eebdd=_0x62f41c[_0x425c47(0x9c)](_0x24e4c6);this['_removeDependencyRTreeCacheById'](_0x4febed,_0x24e4c6);for(const _0x3ea16b of _0x1eebdd['keys']()){const _0x11e050=_0x1eebdd[_0x425c47(0x9c)](_0x3ea16b);_0x11e050!=null&&(_0x11e050[_0x425c47(0xd8)]((_0x4b7eea,_0xa7bbb9,_0x126828)=>{const _0x4e806b=_0x425c47;this[_0x4e806b(0xa0)][_0x4e806b(0x9c)](_0x126828)&&this[_0x4e806b(0xd1)](_0x126828);}),this[_0x425c47(0xbf)][_0x425c47(0x117)](_0x3ea16b));}_0x1eebdd[_0x425c47(0xa3)]();}else{if(_0x62f41c){for(const _0x50162d of _0x62f41c[_0x425c47(0xc9)]()){const _0x436e9a=_0x62f41c[_0x425c47(0x9c)](_0x50162d);this['_removeDependencyRTreeCacheById'](_0x4febed,_0x50162d);for(const _0x5830c2 of _0x436e9a[_0x425c47(0xc9)]()){const _0x467334=_0x436e9a['get'](_0x5830c2);_0x467334!=null&&(_0x467334[_0x425c47(0xd8)]((_0x4c8985,_0x1c84a6,_0x43bf30)=>{const _0x30a370=_0x425c47;this[_0x30a370(0xa0)][_0x30a370(0x9c)](_0x43bf30)&&this[_0x30a370(0xd1)](_0x43bf30);}),this[_0x425c47(0xbf)][_0x425c47(0x117)](_0x5830c2));}}this[_0x425c47(0x9b)][_0x425c47(0x117)](_0x4febed);}}}[_0x36795d(0x15a)](_0x3e2fec,_0x1eb9d4,_0x3cc861,_0x14bee2){const _0x1fd77c=_0x36795d;this[_0x1fd77c(0xa9)][_0x1fd77c(0xc5)](_0x3e2fec)||this[_0x1fd77c(0xa9)]['set'](_0x3e2fec,new Map());const _0x578d26=this['_featureFormulaData'][_0x1fd77c(0x9c)](_0x3e2fec);_0x578d26[_0x1fd77c(0xc5)](_0x1eb9d4)||_0x578d26[_0x1fd77c(0x91)](_0x1eb9d4,new Map()),_0x578d26[_0x1fd77c(0x9c)](_0x1eb9d4)[_0x1fd77c(0x91)](_0x3cc861,_0x14bee2['treeId']);}[_0x36795d(0xcd)](_0x5bd6fa,_0x15f7af,_0x5b26ed){const _0xdede4e=_0x36795d,_0x1da861=this[_0xdede4e(0xa9)][_0xdede4e(0x9c)](_0x5bd6fa);if(_0x1da861&&_0x1da861['has'](_0x15f7af)){const _0x2d7fa0=_0x1da861[_0xdede4e(0x9c)](_0x15f7af);_0x5b26ed['forEach'](_0x363b30=>{const _0x19acdd=_0xdede4e,_0x5bb96d=_0x2d7fa0[_0x19acdd(0x9c)](_0x363b30);_0x5bb96d!=null&&(this[_0x19acdd(0x13a)](_0x5bb96d),_0x2d7fa0['delete'](_0x363b30),this['_removeAllTreeMap'](_0x5bb96d));});}}[_0x36795d(0x15b)](_0x35798c,_0x4409f5){const _0x1515eb=_0x36795d,_0x446117=this['_featureFormulaData'][_0x1515eb(0x9c)](_0x35798c);if(_0x4409f5&&_0x446117&&_0x446117[_0x1515eb(0xc5)](_0x4409f5)){const _0x51e4df=_0x446117[_0x1515eb(0x9c)](_0x4409f5);this[_0x1515eb(0xd5)](_0x35798c,_0x4409f5),_0x51e4df[_0x1515eb(0x156)](_0xcef743=>{_0xcef743!=null&&this['_removeAllTreeMap'](_0xcef743);}),_0x51e4df[_0x1515eb(0xa3)]();}else _0x446117&&(_0x446117[_0x1515eb(0x156)]((_0x2da2cd,_0x229dcb)=>{const _0x41a22a=_0x1515eb;this[_0x41a22a(0xd5)](_0x35798c,_0x229dcb),_0x2da2cd[_0x41a22a(0x156)](_0x1e9ba9=>{const _0x5a4434=_0x41a22a;_0x1e9ba9!=null&&this[_0x5a4434(0xd1)](_0x1e9ba9);});}),this['_featureFormulaData'][_0x1515eb(0x117)](_0x35798c));}[_0x36795d(0x13e)](_0x34f8c2,_0x430dec,_0x118103,_0x4a9b53,_0x5c131f){const _0x140f49=_0x36795d;this[_0x140f49(0x9d)]['has'](_0x34f8c2)||this[_0x140f49(0x9d)][_0x140f49(0x91)](_0x34f8c2,new Map());const _0x484737=this['_formulaData']['get'](_0x34f8c2);_0x484737[_0x140f49(0xc5)](_0x430dec)||_0x484737[_0x140f49(0x91)](_0x430dec,new _0x3d7146()),_0x484737['get'](_0x430dec)[_0x140f49(0x145)](_0x118103,_0x4a9b53,_0x5c131f['treeId']);}['removeFormulaDependency'](_0xe12452,_0x56ee68,_0x40e458,_0x1c4219){const _0x457e65=_0x36795d,_0x3636fe=this[_0x457e65(0x9d)][_0x457e65(0x9c)](_0xe12452);if(_0x3636fe&&_0x3636fe[_0x457e65(0xc5)](_0x56ee68)){const _0x10e4cb=_0x3636fe[_0x457e65(0x9c)](_0x56ee68),_0xb3562a=_0x10e4cb[_0x457e65(0x90)](_0x40e458,_0x1c4219);if(_0xb3562a==null)return;this[_0x457e65(0x13a)](_0xb3562a),_0x10e4cb[_0x457e65(0xfd)](_0x40e458,_0x1c4219),this[_0x457e65(0xd1)](_0xb3562a);}}[_0x36795d(0xd3)](_0x27d6bd,_0x5c5716){const _0x2c1d20=_0x36795d,_0x420836=this[_0x2c1d20(0x9d)]['get'](_0x27d6bd);if(_0x5c5716&&_0x420836&&_0x420836[_0x2c1d20(0xc5)](_0x5c5716)){const _0x36bbc2=_0x420836[_0x2c1d20(0x9c)](_0x5c5716);this[_0x2c1d20(0xd5)](_0x27d6bd,_0x5c5716),_0x36bbc2[_0x2c1d20(0xd8)]((_0xf8673b,_0x197292,_0x377c6d)=>{const _0x4d9435=_0x2c1d20;if(_0x377c6d==null)return!0x0;this[_0x4d9435(0xd1)](_0x377c6d);}),_0x36bbc2[_0x2c1d20(0x127)]();}else _0x420836&&(_0x420836[_0x2c1d20(0x156)]((_0x434434,_0x7c6a50)=>{const _0x2110d1=_0x2c1d20;this['_removeDependencyRTreeCacheById'](_0x27d6bd,_0x7c6a50),_0x434434[_0x2110d1(0xd8)]((_0x4becee,_0x410a7f,_0x33732e)=>{const _0x270120=_0x2110d1;if(_0x33732e==null)return!0x0;this[_0x270120(0xd1)](_0x33732e);});}),this[_0x2c1d20(0x9d)][_0x2c1d20(0x117)](_0x27d6bd));}[_0x36795d(0x13a)](_0x19c0f0){const _0x38e913=_0x36795d;if(_0x19c0f0==null)return;const _0x1e52d1=this[_0x38e913(0xa0)][_0x38e913(0x9c)](_0x19c0f0);if(_0x1e52d1){const _0x420d80=[];for(const [_0x47c946,_0x41a054]of _0x1e52d1)for(const [_0x37db51,_0x1d999c]of _0x41a054)_0x420d80['push']({'unitId':_0x47c946,'sheetId':_0x37db51,'range':_0x1d999c,'id':_0x19c0f0});this[_0x38e913(0x104)]['bulkRemove'](_0x420d80);}}['removeFormulaDependencyByDefinedName'](_0x49096c,_0x4b0062){const _0x39ed5a=_0x36795d,_0x475eed=this['_definedNameMap'][_0x39ed5a(0x9c)](_0x49096c);if(_0x475eed){const _0x52802b=_0x475eed[_0x39ed5a(0x9c)](_0x4b0062);if(_0x52802b){for(const _0x26e3e1 of _0x52802b)this[_0x39ed5a(0x13a)](_0x26e3e1),this[_0x39ed5a(0xd1)](_0x26e3e1);_0x52802b[_0x39ed5a(0xa3)]();}}}['openKdTree'](){const _0x46227d=_0x36795d;this[_0x46227d(0x104)][_0x46227d(0xe7)]();}[_0x36795d(0x103)](){const _0x1096bc=_0x36795d;this['_dependencyRTreeCache'][_0x1096bc(0x103)]();}[_0x36795d(0xd1)](_0x4ec9fc){const _0x1f091c=_0x36795d;_0x4ec9fc!=null&&this[_0x1f091c(0xa0)]['delete'](_0x4ec9fc);}[_0x36795d(0xbe)](_0x393905){const _0x35e2f5=_0x36795d;var _0x1d6c95,_0x45e0e7;const _0x32c22c=_0x393905[_0x35e2f5(0xda)];let _0x2efd62=this[_0x35e2f5(0xa0)][_0x35e2f5(0x9c)](_0x393905['treeId']);for(let _0x2322a8=0x0;_0x2322a8<_0x32c22c[_0x35e2f5(0x122)];_0x2322a8++){const _0x1af99a=_0x32c22c[_0x2322a8];let {unitId:_0x4ce512,sheetId:_0x54e9e5,range:_0x4a0327}=_0x1af99a;_0x2efd62||(_0x2efd62=new Map(),this[_0x35e2f5(0xa0)][_0x35e2f5(0x91)](_0x393905[_0x35e2f5(0xb5)],_0x2efd62)),_0x2efd62[_0x35e2f5(0xc5)](_0x4ce512)||_0x2efd62[_0x35e2f5(0x91)](_0x4ce512,new Map());const _0xe0dec8=(_0x1d6c95=_0x2efd62==null?void 0x0:_0x2efd62[_0x35e2f5(0x9c)](_0x4ce512))==null?void 0x0:_0x1d6c95[_0x35e2f5(0x9c)](_0x54e9e5);_0xe0dec8&&(_0x4a0327={'startRow':Math['min'](_0x4a0327[_0x35e2f5(0xee)],_0xe0dec8[_0x35e2f5(0xee)]),'startColumn':Math[_0x35e2f5(0x136)](_0x4a0327['startColumn'],_0xe0dec8['startColumn']),'endRow':Math[_0x35e2f5(0xb8)](_0x4a0327[_0x35e2f5(0x106)],_0xe0dec8['endRow']),'endColumn':Math[_0x35e2f5(0xb8)](_0x4a0327[_0x35e2f5(0xfc)],_0xe0dec8[_0x35e2f5(0xfc)])}),(_0x45e0e7=_0x2efd62[_0x35e2f5(0x9c)](_0x4ce512))==null||_0x45e0e7['set'](_0x54e9e5,_0x4a0327);}}}var Ge=Object['getOwnPropertyDescriptor'],Le=(_0x4f88eb,_0x3ece44,_0x2b0435,_0x240daa)=>{const _0x2e71cc=_0x36795d;for(var _0x5db8a2=_0x240daa>0x1?void 0x0:_0x240daa?Ge(_0x3ece44,_0x2b0435):_0x3ece44,_0x238990=_0x4f88eb[_0x2e71cc(0x122)]-0x1,_0x3c5048;_0x238990>=0x0;_0x238990--)(_0x3c5048=_0x4f88eb[_0x238990])&&(_0x5db8a2=_0x3c5048(_0x5db8a2)||_0x5db8a2);return _0x5db8a2;};const Ne=Number['parseInt'](0x69465de9);let q=class extends _0x5e4a14{[_0x36795d(0x108)](){const _0x203fb3=_0x36795d;var _0x295175,_0x177f9f;this[_0x203fb3(0xba)]()?(this['_injector']['add']([_0x523268,{'useClass':we}]),(_0x295175=this[_0x203fb3(0xe8)])!=null&&_0x295175[_0x203fb3(0x11a)]||[[_0x10352f,{'useClass':Re}],[_0x2a6ada,{'useClass':Ee}],[_0x452c04,{'useClass':xe}]][_0x203fb3(0x156)](_0x232405=>this['_injector'][_0x203fb3(0x12c)](_0x232405))):(this[_0x203fb3(0x147)]['add']([_0x523268,{'useClass':_0x523268}]),(_0x177f9f=this[_0x203fb3(0xe8)])!=null&&_0x177f9f[_0x203fb3(0x11a)]||[[_0x10352f,{'useClass':_0x40e348}],[_0x2a6ada,{'useClass':_0xc7b0c8}],[_0x452c04,{'useClass':_0x489c2d}]][_0x203fb3(0x156)](_0x293159=>this[_0x203fb3(0x147)]['add'](_0x293159)));}[_0x36795d(0xba)](){const _0x543399=_0x36795d;var _0xf629a;const _0x204474=(_0xf629a=this[_0x543399(0xf8)]['getConfig'](_0x5a3cda))!=null?_0xf629a:{},{ls:_0x273a60,pbk:_0x4417d2}=_0x204474;if(!_0x273a60||!_0x4417d2)return!0x1;const _0x28831b=_0x9cb32b(Me,Se),_0x1b6099=new Function(_0x543399(0x151)+_0x28831b)()(_0x273a60,_0x4417d2),_0x2f5b23=_0x1b6099[_0x543399(0x92)];return _0x1b6099['valid']&&_0x49f425(_0x2f5b23,'sf',Ne)?_0x3104e8(_0x2f5b23,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};q=Le([_0x12037c(_0x1fe080)],q);function _0x35ee(_0x51a8a0,_0x4fcf7a){_0x51a8a0=_0x51a8a0-0x90;const _0x569113=_0x5691();let _0x35ee33=_0x569113[_0x51a8a0];return _0x35ee33;}export{we as LexerTreeProBuilder,q as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x18a882=_0x3014;(function(_0x205e51,_0x3dbd81){const _0x4058bb=_0x3014,_0x407156=_0x205e51();while(!![]){try{const _0x535df1=-parseInt(_0x4058bb(0xd9))/0x1+parseInt(_0x4058bb(0xf9))/0x2+parseInt(_0x4058bb(0x88))/0x3+-parseInt(_0x4058bb(0x116))/0x4*(parseInt(_0x4058bb(0x132))/0x5)+-parseInt(_0x4058bb(0xad))/0x6*(parseInt(_0x4058bb(0x105))/0x7)+parseInt(_0x4058bb(0xfe))/0x8*(-parseInt(_0x4058bb(0x89))/0x9)+parseInt(_0x4058bb(0xea))/0xa;if(_0x535df1===_0x3dbd81)break;else _0x407156['push'](_0x407156['shift']());}catch(_0x15473d){_0x407156['push'](_0x407156['shift']());}}}(_0x4adc,0x94f0f));var se=Object[_0x18a882(0x74)],ce=(_0x5d8425,_0x262a69,_0xb5a07a)=>_0x262a69 in _0x5d8425?se(_0x5d8425,_0x262a69,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb5a07a}):_0x5d8425[_0x262a69]=_0xb5a07a,D=(_0x17fd27,_0xa6e9d8,_0x4dee10)=>ce(_0x17fd27,typeof _0xa6e9d8!=_0x18a882(0x8d)?_0xa6e9d8+'':_0xa6e9d8,_0x4dee10);import{LexerTreeBuilder as _0x3ad90e,ErrorType as _0x1e4443,DEFAULT_TOKEN_TYPE_ROOT as _0x3c0eb3,DEFAULT_TOKEN_TYPE_PARAMETER as _0x59b294,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0xd86652,NEW_EXCEL_FUNCTIONS as _0x16924b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x296905,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x82dd6,matchToken as _0x126925,SUFFIX_TOKEN_SET as _0x50cdc5,prefixToken as _0x5788f5,LexerNode as _0x5b0deb,OPERATOR_TOKEN_SET as _0x1f0e1f,isReferenceString as _0x381b13,splitTableStructuredRef as _0x338db8,FormulaDependencyGenerator as _0x9f69d5,generateRandomDependencyTreeId as _0x5b8305,FormulaDependencyTree as _0x3a8121,FormulaDependencyTreeType as _0x3dcec1,FormulaDependencyTreeVirtual as _0x43332f,generateAstNode as _0xe33219,CalculateFormulaService as _0x3a2454,FormulaExecuteStageType as _0x4b1a97,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x38415a,DEFAULT_INTERVAL_COUNT as _0x31e581,DependencyManagerBaseService as _0x703b75,UniverFormulaEnginePlugin as _0x522c98,ICalculateFormulaService as _0x365a0d,IDependencyManagerService as _0x146aa4,IFormulaDependencyGenerator as _0x35d465,DependencyManagerService as _0x40b5b5}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x4be509,LS_CONFIG_KEY as _0x52618a,unshiftString as _0xe2742e,isFeatureAuthorizedWithinTime as _0xe5c2af,getSheetFeatureLimit as _0x1f6530}from'@univerjs-pro/license';import{ObjectMatrix as _0x4e276a,requestImmediateMacroTask as _0x21c242,RTree as _0x4173ae,DependentOn as _0x2a821b}from'@univerjs/core';class Oe extends _0x3ad90e{constructor(){const _0x39ff24=_0x18a882;super(...arguments),D(this,_0x39ff24(0xc2),!0x1),D(this,_0x39ff24(0x110),new Set()),D(this,_0x39ff24(0x122),'_xlpm.'),D(this,_0x39ff24(0xbc),_0x39ff24(0x13d)),D(this,'_currentUnitId','');}[_0x18a882(0x85)](){const _0x45b437=_0x18a882;this[_0x45b437(0x122)]=_0x45b437(0x124),this[_0x45b437(0xbc)]=_0x45b437(0x13d);}[_0x18a882(0xeb)](){this['_xlpmPrefix']='',this['_xlfnPrefix']='';}[_0x18a882(0xf3)](_0x54b6eb,_0x5b1acb){const _0x1c02dc=_0x18a882,_0xb10a5f=this[_0x1c02dc(0x142)](_0x54b6eb,!0x1);if(!_0xb10a5f||_0xb10a5f===_0x1e4443['VALUE']||Array[_0x1c02dc(0xa3)](_0xb10a5f))return null;const _0xa0e3c2=[];return this[_0x1c02dc(0xc2)]=!0x1,this['_generateNewFunctionString'](_0xb10a5f,_0xa0e3c2,_0x5b1acb),this['_hasNewExcelFunction']?'='+_0xa0e3c2[_0x1c02dc(0x133)](''):null;}[_0x18a882(0x80)](_0xfe8e99,_0x4c1898,_0x19447e){const _0x56930d=_0x18a882,_0xbd9deb=_0xfe8e99[_0x56930d(0xaf)](),_0x1535d4=_0xbd9deb[_0x56930d(0xd0)](),_0x328eb3=_0x1535d4[_0x56930d(0xc4)](),_0x227570=this[_0x56930d(0xce)](_0x328eb3),_0x59f0a5=_0x19447e(_0x227570);let _0x39a0f3=0x0;_0xbd9deb===_0x3c0eb3?_0x39a0f3=0x3:_0xbd9deb===_0x59b294?_0x39a0f3=0x4:_0xbd9deb===_0xd86652?_0x39a0f3=0x5:_0x16924b[_0x56930d(0x7b)](_0x227570)?(_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0xbc)]+_0x1535d4),this['_hasNewExcelFunction']=!0x0):_0x328eb3===_0x296905?(_0x4c1898[_0x56930d(0xa6)](''+this['_xlfnPrefix']+_0x1535d4),this[_0x56930d(0xc2)]=!0x0,_0x39a0f3=0x2):_0x328eb3===_0x82dd6?(_0x4c1898[_0x56930d(0xa6)](''+this['_xlfnPrefix']+_0x1535d4),this['_hasNewExcelFunction']=!0x0,_0x39a0f3=0x1):_0x328eb3===_0x126925[_0x56930d(0x7a)]?_0x39a0f3=0x8:_0x50cdc5['has'](_0x328eb3)?_0x39a0f3=0x7:_0x328eb3===_0x5788f5['MINUS']?(this['_checkAddBracketForMinus'](_0xfe8e99)&&(_0x39a0f3=0x9),_0x4c1898['push'](_0xbd9deb)):(_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),_0x39a0f3=0xa),_0x59f0a5?(_0x39a0f3!==0x2&&_0x39a0f3!==0x1&&(_0x39a0f3=0x6),_0x4c1898['push']('(')):_0x39a0f3===0x9&&_0x4c1898[_0x56930d(0xa6)]('(');const _0x2f6d5e=_0xfe8e99[_0x56930d(0x13e)](),_0xf572ba=_0x2f6d5e[_0x56930d(0x141)];if(_0x39a0f3===0x2){const _0x142cd0=_0x2f6d5e[0x0];let _0x1ec0e6=0x0;_0x142cd0 instanceof _0x5b0deb&&_0x142cd0[_0x56930d(0xaf)]()===_0xd86652&&(_0x1ec0e6=0x1);for(let _0x603f62=_0x1ec0e6;_0x603f62<_0xf572ba-0x1;_0x603f62++){const _0x2e9dde=_0x2f6d5e[_0x603f62];if(_0x2e9dde instanceof _0x5b0deb){const _0x2d5272=_0x2e9dde['getChildren']()[0x0];typeof _0x2d5272==_0x56930d(0xc7)&&(this['_lambdaFunctionParameterSet']['has'](_0x2d5272)&&console[_0x56930d(0x12a)](_0x56930d(0x87)+_0x2d5272+_0x56930d(0x137)),this[_0x56930d(0x110)][_0x56930d(0x10f)](_0x2d5272),_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0x122)]+_0x2d5272),this[_0x56930d(0xc2)]=!0x0);}_0x4c1898[_0x56930d(0xa6)](',');}this[_0x56930d(0xfb)](_0x2f6d5e[_0xf572ba-0x1],_0x4c1898,_0x19447e),_0x1ec0e6===0x1&&(_0x4c1898['push'](')'),_0x4c1898[_0x56930d(0xa6)]('('),this[_0x56930d(0x80)](_0x142cd0,_0x4c1898,_0x19447e)),_0x4c1898[_0x56930d(0xa6)](')');return;}else{if(_0x39a0f3===0x1){for(let _0x4a8251=0x0;_0x4a8251<_0xf572ba-0x1;_0x4a8251++){const _0xe7f169=_0x2f6d5e[_0x4a8251];if(_0xe7f169 instanceof _0x5b0deb&&_0x4a8251%0x2===0x0){const _0xb45663=_0xe7f169[_0x56930d(0x13e)]()[0x0];if(typeof _0xb45663==_0x56930d(0xc7)){this[_0x56930d(0x110)][_0x56930d(0x7b)](_0xb45663)&&console[_0x56930d(0x12a)](_0x56930d(0x129)+_0xb45663+_0x56930d(0x137)),this['_lambdaFunctionParameterSet']['add'](_0xb45663),_0x4c1898[_0x56930d(0xa6)](''+this[_0x56930d(0x122)]+_0xb45663),this[_0x56930d(0xc2)]=!0x0,_0x4c1898[_0x56930d(0xa6)](',');continue;}}if(this[_0x56930d(0xfb)](_0xe7f169,_0x4c1898,_0x19447e),_0xe7f169 instanceof _0x5b0deb){const _0x312034=_0x2f6d5e[_0x4a8251+0x1];_0x312034&&_0x312034 instanceof _0x5b0deb&&_0x4c1898[_0x56930d(0xa6)](',');}}this[_0x56930d(0xfb)](_0x2f6d5e[_0xf572ba-0x1],_0x4c1898,_0x19447e),_0x4c1898[_0x56930d(0xa6)](')');return;}else{if(_0x39a0f3===0x8){const _0x5c5652=_0x2f6d5e[0x0],_0x359b3b=_0x2f6d5e[0x1];this[_0x56930d(0xfb)](_0x5c5652,_0x4c1898,_0x19447e),_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),this[_0x56930d(0xfb)](_0x359b3b,_0x4c1898,_0x19447e);return;}}}for(let _0x8a7a5b=0x0;_0x8a7a5b<_0xf572ba;_0x8a7a5b++){const _0x23e325=_0x2f6d5e[_0x8a7a5b];if(this[_0x56930d(0xfb)](_0x23e325,_0x4c1898,_0x19447e),_0x23e325 instanceof _0x5b0deb){const _0x529818=_0x2f6d5e[_0x8a7a5b+0x1];_0x529818&&_0x529818 instanceof _0x5b0deb&&_0x4c1898[_0x56930d(0xa6)](',');}}_0x39a0f3===0x7&&_0x4c1898[_0x56930d(0xa6)](_0xbd9deb),(_0x59f0a5||_0x39a0f3===0x9)&&_0x4c1898[_0x56930d(0xa6)](')');}[_0x18a882(0xfb)](_0x657584,_0x5273fa,_0x163b86){const _0x34dc11=_0x18a882;_0x657584 instanceof _0x5b0deb?this[_0x34dc11(0x80)](_0x657584,_0x5273fa,_0x163b86):this['_lambdaFunctionParameterSet'][_0x34dc11(0x7b)](_0x657584)?(_0x5273fa[_0x34dc11(0xa6)](''+this['_xlpmPrefix']+_0x657584),this[_0x34dc11(0xc2)]=!0x0):_0x5273fa['push'](_0x657584);}[_0x18a882(0xce)](_0x3f2e80){const _0x146fd8=_0x18a882;let _0x1e8f20=_0x3f2e80[_0x146fd8(0xd0)]();if(!_0x1e8f20)return _0x1e8f20;const _0x58dbce=_0x1e8f20[0x0];if((_0x58dbce===_0x5788f5['AT']||_0x58dbce===_0x5788f5[_0x146fd8(0xee)]||_0x58dbce===_0x5788f5['PLUS'])&&(_0x1e8f20=_0x1e8f20[_0x146fd8(0xac)](0x1)),!_0x1e8f20)return _0x1e8f20;const _0x3e9c1f=_0x1e8f20[_0x1e8f20[_0x146fd8(0x141)]-0x1];return _0x50cdc5[_0x146fd8(0x7b)](_0x3e9c1f)&&(_0x1e8f20=_0x1e8f20[_0x146fd8(0xac)](0x0,-0x1)),_0x1e8f20;}[_0x18a882(0x108)](_0x45c048){const _0x3f47bd=_0x18a882,_0x52c647=_0x45c048[_0x3f47bd(0x13e)]()[0x0];if(!_0x52c647||!(_0x52c647 instanceof _0x5b0deb)||_0x45c048[_0x3f47bd(0x13e)]()[_0x3f47bd(0x141)]>0x1)return!0x1;const _0x3a091b=_0x52c647[_0x3f47bd(0x13e)](),_0x2e2ab7=_0x3a091b['length'];if(_0x2e2ab7===0x1)return!0x1;for(let _0x37432b=0x0;_0x37432b<_0x2e2ab7;_0x37432b++){const _0x4d00c0=_0x3a091b[_0x37432b];if(!(_0x4d00c0 instanceof _0x5b0deb)&&_0x1f0e1f[_0x3f47bd(0x7b)](_0x4d00c0))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x1c1078,_0x3f9831,_0x41548b,_0x22d3fb,_0x40e722){const _0xb1ec26=_0x18a882,_0x335661=this[_0xb1ec26(0x142)](_0x1c1078,!0x1);if(!_0x335661||_0x335661===_0x1e4443['VALUE']||Array['isArray'](_0x335661))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x3f9831;const _0x32d4ce=this['_generateExprTree'](_0x335661,_0x41548b,_0x22d3fb,_0x40e722);return this[_0xb1ec26(0x11b)]='',this[_0xb1ec26(0x85)](),_0x32d4ce;}[_0x18a882(0xe9)](_0x564fc7,_0x5c0c9e,_0x597d86,_0x30431b){const _0x3501b5=_0x18a882,_0x3981c5={'value':'','children':[],'startIndex':0x0};let _0x537578=_0x564fc7;if(_0x537578 instanceof _0x5b0deb&&(_0x537578[_0x3501b5(0xaf)]()===_0x3c0eb3||_0x537578[_0x3501b5(0xaf)]()===_0x59b294)&&_0x537578[_0x3501b5(0x13e)]()[_0x3501b5(0x141)]===0x1&&(_0x537578=_0x537578[_0x3501b5(0x13e)]()[0x0]),!(_0x537578 instanceof _0x5b0deb))return this[_0x3501b5(0xf8)](_0x537578,_0x597d86,_0x30431b);const _0x1882d5=_0x537578[_0x3501b5(0x13e)](),_0x1a7415=_0x1882d5[_0x3501b5(0x141)],_0x54aa3b=[];this[_0x3501b5(0x80)](_0x537578,_0x54aa3b,_0x5c0c9e),_0x3981c5[_0x3501b5(0x115)]=_0x54aa3b[_0x3501b5(0x133)](''),_0x3981c5['startIndex']=_0x537578['getStartIndex']();const _0x2da5d5=this[_0x3501b5(0x143)](_0x537578);if(_0x2da5d5===0x2){const _0x1d4fa8=_0x1882d5[0x0];if(_0x1d4fa8 instanceof _0x5b0deb){if(_0x1d4fa8[_0x3501b5(0xaf)]()[_0x3501b5(0xd0)]()!==_0xd86652)return _0x3981c5;this[_0x3501b5(0x113)](_0x1d4fa8,_0x3981c5,_0x5c0c9e,_0x597d86,_0x30431b);}return _0x3981c5;}else{if(_0x2da5d5===0x1){for(let _0x450062=0x0;_0x450062<_0x1a7415-0x1;_0x450062++){const _0x3cecfa=_0x1882d5[_0x450062];if(_0x3cecfa instanceof _0x5b0deb&&_0x450062%0x2===0x1){const _0x44fe33=_0x3cecfa['getChildren']();if(_0x44fe33[_0x3501b5(0x141)]===0x1&&!(_0x44fe33[0x0]instanceof _0x5b0deb))continue;const _0x3dca06=this[_0x3501b5(0xe9)](_0x3cecfa,_0x5c0c9e,_0x597d86,_0x30431b);_0x3dca06&&_0x3981c5['children'][_0x3501b5(0xa6)](_0x3dca06);}}return _0x3981c5;}else{if(_0x2da5d5===0x8){const _0x3bc9e2=_0x1882d5[0x0];if(_0x3bc9e2 instanceof _0x5b0deb){const _0x1d31ac=_0x3bc9e2['getChildren']()[0x0];_0x1d31ac instanceof _0x5b0deb&&(_0x3981c5['startIndex']=_0x1d31ac[_0x3501b5(0x107)]());}if(this[_0x3501b5(0xa2)](_0x537578))return _0x3981c5;}else{if(_0x2da5d5===0x7){const _0x5cecc4=_0x1882d5[0x0];if(_0x5cecc4 instanceof _0x5b0deb){const _0x206753=_0x5cecc4[_0x3501b5(0x13e)]()[0x0];_0x206753 instanceof _0x5b0deb&&(_0x3981c5[_0x3501b5(0xaa)]=_0x206753[_0x3501b5(0x107)]());}}}}}return this[_0x3501b5(0x92)](_0x1882d5,_0x2da5d5,_0x3981c5,_0x5c0c9e,_0x597d86,_0x30431b),_0x3981c5;}[_0x18a882(0x92)](_0x427eb7,_0x16e156,_0x3cea08,_0x59c799,_0x707fc5,_0x2d0fcc){const _0x4da290=_0x18a882;for(let _0x1ef074=0x0;_0x1ef074<_0x427eb7[_0x4da290(0x141)];_0x1ef074++){let _0x28304a=_0x427eb7[_0x1ef074];if(!(_0x28304a instanceof _0x5b0deb)){const _0x4b1227=this[_0x4da290(0xf8)](_0x28304a,_0x707fc5,_0x2d0fcc);_0x4b1227&&_0x3cea08['children']['push'](_0x4b1227);continue;}const _0x170540=_0x28304a[_0x4da290(0x13e)]();if(_0x170540[_0x4da290(0x141)]===0x1&&!(_0x170540[0x0]instanceof _0x5b0deb)){const _0x18b218=_0x170540[0x0];if(!_0x707fc5(this[_0x4da290(0x11b)],_0x18b218)&&!this[_0x4da290(0x94)](_0x18b218,_0x2d0fcc)&&!_0x381b13(_0x18b218))continue;}if(_0x16e156===0x8){const _0x3ee6f5=_0x170540[0x0];if(_0x3ee6f5 instanceof _0x5b0deb){const _0x1aa290=_0x3ee6f5['getToken']()['trim']();if(_0x381b13(_0x1aa290))continue;_0x28304a=_0x3ee6f5;}}const _0x34c7d9=this[_0x4da290(0xe9)](_0x28304a,_0x59c799,_0x707fc5,_0x2d0fcc);_0x34c7d9&&_0x3cea08[_0x4da290(0x91)]['push'](_0x34c7d9);}}[_0x18a882(0xa2)](_0x54ad93){const _0x1f2b9b=_0x18a882,_0x382339=_0x54ad93[_0x1f2b9b(0x13e)]();if(_0x382339[_0x1f2b9b(0x141)]<0x2)return!0x1;const _0x20c261=_0x382339[0x0],_0x310a78=_0x382339[0x1];if(!(_0x20c261 instanceof _0x5b0deb)||!(_0x310a78 instanceof _0x5b0deb))return!0x1;const _0x11baa9=_0x20c261[_0x1f2b9b(0x13e)]()[0x0],_0x5ba236=_0x310a78[_0x1f2b9b(0x13e)]()[0x0];if(!(_0x11baa9 instanceof _0x5b0deb)||!(_0x5ba236 instanceof _0x5b0deb))return!0x1;const _0x1fa563=_0x11baa9[_0x1f2b9b(0xaf)]()[_0x1f2b9b(0xd0)](),_0x1d0f5a=_0x5ba236[_0x1f2b9b(0xaf)]()[_0x1f2b9b(0xd0)]();return!!_0x381b13(''+_0x1fa563+_0x126925[_0x1f2b9b(0x7a)]+_0x1d0f5a);}[_0x18a882(0xf8)](_0x20ef47,_0xf63f3a,_0x1f5bfc){const _0xd89d77=_0x18a882,_0x4735c9=_0x20ef47[_0xd89d77(0xd0)]();return _0x4735c9[_0xd89d77(0x9c)]('{')&&_0x4735c9[_0xd89d77(0x75)]('}')||_0xf63f3a(this['_currentUnitId'],_0x4735c9)||this['_getTableNameFromStructuredRef'](_0x4735c9,_0x1f5bfc)||_0x381b13(_0x4735c9)?{'value':_0x4735c9,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x491574,_0x3b9aeb){const {tableName:_0x55ba79}=_0x338db8(_0x491574);return _0x3b9aeb(this['_currentUnitId'],_0x55ba79)?_0x55ba79:null;}[_0x18a882(0x113)](_0x16c5a7,_0x49cfc8,_0x110b3b,_0x348e21,_0x25b2f1){const _0x2e2e2c=_0x18a882,_0x2ca10d=_0x16c5a7[_0x2e2e2c(0x13e)]();for(let _0x300e0e=0x0;_0x300e0e<_0x2ca10d[_0x2e2e2c(0x141)];_0x300e0e++){const _0xc8f1a7=_0x2ca10d[_0x300e0e];if(!(_0xc8f1a7 instanceof _0x5b0deb))continue;const _0x8c7b48=_0xc8f1a7['getChildren']();if(_0x8c7b48[_0x2e2e2c(0x141)]===0x1&&!(_0x8c7b48[0x0]instanceof _0x5b0deb))continue;const _0x3197a9=this[_0x2e2e2c(0xe9)](_0xc8f1a7,_0x110b3b,_0x348e21,_0x25b2f1);_0x3197a9&&_0x49cfc8[_0x2e2e2c(0x91)][_0x2e2e2c(0xa6)](_0x3197a9);}}[_0x18a882(0x143)](_0x4075c2){const _0x53d0e7=_0x18a882,_0x13c474=_0x4075c2['getToken'](),_0x51dd05=_0x13c474[_0x53d0e7(0xd0)]()[_0x53d0e7(0xc4)]();let _0x9c967f=0x0;return _0x13c474===_0x3c0eb3?_0x9c967f=0x3:_0x13c474===_0x59b294?_0x9c967f=0x4:_0x13c474===_0xd86652?_0x9c967f=0x5:_0x51dd05===_0x296905?_0x9c967f=0x2:_0x51dd05===_0x82dd6?_0x9c967f=0x1:_0x51dd05===_0x126925[_0x53d0e7(0x7a)]?_0x9c967f=0x8:_0x50cdc5['has'](_0x51dd05)?_0x9c967f=0x7:_0x51dd05===_0x5788f5[_0x53d0e7(0xee)]?this[_0x53d0e7(0x108)](_0x4075c2)&&(_0x9c967f=0x9):_0x9c967f=0xa,_0x9c967f;}}const Me={0x0:'N',0x1:'3',0x2:'Q',0x3:'X',0x4:'y',0x5:'w',0x6:'u',0x7:'E',0x8:'2',0x9:'m','I':'0','S':'1','J':'4','H':'5','j':'6','T':'7','P':'8','z':'9','O':'a','a':'b','f':'c','r':'d','b':'e','l':'f','K':'g','p':'h','B':'i','t':'j','A':'k','w':'l','g':'n','m':'o','X':'p','F':'q','c':'r','G':'s','Y':'t','W':'v','M':'x','L':'z','d':'A','V':'B','u':'C','e':'D','h':'F','i':'G','N':'H','C':'I','y':'J','Q':'K','v':'L','q':'M','n':'O','x':'P','E':'R','Z':'S','k':'T','o':'U','R':'V','U':'W','D':'Y','s':'Z'},ve=_0x18a882(0xae);class xe extends _0x9f69d5{constructor(){const _0x9a9f1c=_0x18a882;super(...arguments),D(this,_0x9a9f1c(0x11f),new Map());}['dispose'](){const _0x195cfc=_0x18a882;super[_0x195cfc(0x7e)](),this[_0x195cfc(0x11f)][_0x195cfc(0x76)]();}async[_0x18a882(0x10e)](_0x335b46=!0x1){const _0x26f4af=_0x18a882;this[_0x26f4af(0x81)]();const _0x142335=this['_currentConfigService'][_0x26f4af(0x9b)](),_0x564ce1=this[_0x26f4af(0x12c)][_0x26f4af(0xe3)](),_0x26cea2=this[_0x26f4af(0xe7)]['getClearDependencyTreeCache']();_0x26cea2!=null&&Object[_0x26f4af(0xd4)](_0x26cea2)['forEach'](_0x353d9a=>{const _0x53eba0=_0x26f4af;_0x353d9a!=null&&Object[_0x53eba0(0xd4)](_0x26cea2[_0x353d9a])[_0x53eba0(0xfa)](_0x9e49bc=>{const _0x3e0b21=_0x53eba0;_0x9e49bc!=null&&(this[_0x3e0b21(0xd6)][_0x3e0b21(0xe4)](_0x353d9a,_0x9e49bc),this[_0x3e0b21(0xd6)][_0x3e0b21(0x79)](_0x353d9a,_0x9e49bc),this['_dependencyManagerService'][_0x3e0b21(0xa8)](_0x353d9a,_0x9e49bc));});});const _0x444b38=this['_currentConfigService']['getUnitData']();await this[_0x26f4af(0x103)](_0x142335,_0x564ce1,_0x444b38),this[_0x26f4af(0xd6)]['openKdTree']();const _0x3a517d=this['_getUpdateTreeListAndMakeDependency'](),_0x45b83c=this[_0x26f4af(0xf6)](_0x3a517d);return this[_0x26f4af(0x98)](_0x45b83c)&&this[_0x26f4af(0xe8)]['enableCycleDependency'](),_0x335b46&&this[_0x26f4af(0xe8)][_0x26f4af(0x121)](this[_0x26f4af(0xff)](Array[_0x26f4af(0xe1)](this[_0x26f4af(0x11f)][_0x26f4af(0xc9)]()))),this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x26f4af(0x76)](),this[_0x26f4af(0xd6)]['closeKdTree'](),this[_0x26f4af(0xe8)][_0x26f4af(0x9f)](),Promise[_0x26f4af(0x97)](_0x45b83c);}['_isCyclicUtilMap'](_0x594d60,_0x1b7cc2){const _0x24665b=_0x18a882,_0x982135=[_0x594d60];for(;_0x982135[_0x24665b(0x141)]>0x0;){const _0x411eb2=_0x982135[_0x982135[_0x24665b(0x141)]-0x1];if((_0x1b7cc2[_0x24665b(0x10d)](_0x411eb2)||0x0)===0x0){_0x1b7cc2[_0x24665b(0xdc)](_0x411eb2,0x1);const _0x2435f4=this[_0x24665b(0x11f)][_0x24665b(0x10d)](_0x411eb2);if(_0x2435f4==null){_0x1b7cc2['set'](_0x411eb2,0x2),_0x982135['pop']();continue;}const _0x5225a2=this[_0x24665b(0xd6)][_0x24665b(0x130)](_0x2435f4[_0x24665b(0x10c)]());for(const _0x5cd493 of _0x5225a2){const _0x29b19e=_0x1b7cc2['get'](_0x5cd493)||0x0;if(_0x29b19e===0x1)return!0x0;_0x29b19e===0x0&&_0x982135[_0x24665b(0xa6)](_0x5cd493);}}else _0x1b7cc2[_0x24665b(0xdc)](_0x411eb2,0x2),_0x982135[_0x24665b(0xcb)]();}return!0x1;}['_checkIsCycleDependency'](_0x4b6f3d){const _0x3d1cd5=_0x18a882,_0x4b7050=new Map();for(const _0x1ad78e of _0x4b6f3d)if(!_0x4b7050[_0x3d1cd5(0x7b)](_0x1ad78e['treeId'])&&this['_isCyclicUtilMap'](_0x1ad78e[_0x3d1cd5(0x9d)],_0x4b7050))return!0x0;return _0x4b7050['clear'](),!0x1;}[_0x18a882(0xba)](_0x1909fe,_0x18fc6e,_0x49906f){const _0x3502ff=_0x18a882,{unitId:_0x55f5fd,subUnitId:_0x580c4d,dependencyRanges:_0x240f6e,getDirtyData:_0x158555}=_0x49906f,_0x14cfaf=_0x18fc6e||_0x5b8305(this[_0x3502ff(0xd6)]),_0x1aa840=new _0x3a8121(_0x14cfaf);_0x1aa840[_0x3502ff(0xed)]=_0x55f5fd,_0x1aa840[_0x3502ff(0xdd)]=_0x580c4d,_0x1aa840['rangeList']=_0x240f6e,_0x1aa840[_0x3502ff(0x123)]=_0x158555;const _0x28cca0=_0x158555(this[_0x3502ff(0xe7)][_0x3502ff(0x123)](),this['_runtimeService']['getAllRuntimeData']()),_0x4c233d=this[_0x3502ff(0x84)](_0x28cca0[_0x3502ff(0xf7)]);return _0x1aa840[_0x3502ff(0x7f)]=_0x4c233d,_0x1aa840['featureId']=_0x1909fe,_0x1aa840[_0x3502ff(0xf2)]=_0x3dcec1[_0x3502ff(0x13f)],this['_dependencyManagerService'][_0x3502ff(0xa7)](_0x55f5fd,_0x580c4d,_0x1909fe,_0x1aa840),this[_0x3502ff(0x11f)][_0x3502ff(0xdc)](_0x1aa840['treeId'],_0x1aa840),this[_0x3502ff(0xd6)][_0x3502ff(0xfc)](_0x49906f[_0x3502ff(0xed)],_0x49906f['subUnitId'],_0x1909fe)&&(_0x1aa840[_0x3502ff(0x9a)]=!0x0),_0x1aa840;}[_0x18a882(0xc8)](_0x5e6d33,_0x2a112a,_0x57a176){const _0x3a5170=_0x18a882;var _0x416866;for(const _0x57238b of _0x2a112a){const _0x315954=_0x5e6d33[_0x57238b];if(_0x315954==null)continue;const _0x4f6b7b=Object[_0x3a5170(0xd4)](_0x315954);for(const _0x3cd4dc of _0x4f6b7b){const _0x459ee2=_0x315954[_0x3cd4dc];if(_0x459ee2==null)continue;const _0x3eafac=Object[_0x3a5170(0xd4)](_0x459ee2);for(const _0x4f9850 of _0x3eafac){const _0x22b6c0=this[_0x3a5170(0xd6)][_0x3a5170(0xb1)](_0x4f9850),_0x4195d8=_0x459ee2[_0x4f9850],{f:_0x168ab7,ranges:_0x1ddd54}=_0x4195d8;let _0xefb52f=!0x1;_0x22b6c0&&(_0xefb52f=!0x0);const {firstRow:_0x41910c,firstColumn:_0x530407}=this[_0x3a5170(0xda)](_0x1ddd54),_0x2da0da=this[_0x3a5170(0xd6)][_0x3a5170(0x13c)](_0x57238b,_0x3cd4dc,_0x4f9850),_0x5d37a4=(_0x416866=_0x2da0da==null?void 0x0:_0x2da0da[_0x3a5170(0xb3)](0x0,0x0))!=null?_0x416866:_0x5b8305(this[_0x3a5170(0xd6)]),_0x3b187d=new _0x3a8121(_0x5d37a4);for(let _0x1bca39=0x0;_0x1bca39<_0x1ddd54['length'];_0x1bca39++){const _0x233735=_0x1ddd54[_0x1bca39],{startRow:_0x232683,startColumn:_0x20d954,endRow:_0x2ab657,endColumn:_0x38f3f9}=_0x233735;for(let _0x516998=_0x232683;_0x516998<=_0x2ab657;_0x516998++)for(let _0x16429b=_0x20d954;_0x16429b<=_0x38f3f9;_0x16429b++){const _0x54cce3=_0x16429b-_0x530407,_0x2bc558=_0x516998-_0x41910c;if(_0x54cce3===0x0&&_0x2bc558===0x0){_0x3b187d[_0x3a5170(0x13b)]=_0x168ab7,_0x3b187d[_0x3a5170(0xed)]=_0x57238b,_0x3b187d[_0x3a5170(0xdd)]=_0x3cd4dc,_0x3b187d[_0x3a5170(0x11a)]=_0x4f9850,_0x3b187d[_0x3a5170(0xf2)]=_0x3dcec1[_0x3a5170(0xd8)],_0x3b187d[_0x3a5170(0x9a)]=_0xefb52f,_0x57a176['push'](_0x3b187d),this[_0x3a5170(0x11f)][_0x3a5170(0xdc)](_0x3b187d[_0x3a5170(0x9d)],_0x3b187d),this[_0x3a5170(0xd6)][_0x3a5170(0xca)](_0x57238b,_0x3cd4dc,_0x4f9850,_0x3b187d),this[_0x3a5170(0xd6)][_0x3a5170(0x8c)](_0x3b187d);continue;}const _0x2abd51=new _0x43332f();_0x2abd51[_0x3a5170(0x9d)]=(_0x2da0da==null?void 0x0:_0x2da0da[_0x3a5170(0xb3)](_0x54cce3,_0x2bc558))||_0x5b8305(this[_0x3a5170(0xd6)]),_0x2abd51['refTree']=_0x3b187d,_0x2abd51[_0x3a5170(0x102)]=_0x54cce3,_0x2abd51[_0x3a5170(0xbe)]=_0x2bc558,_0x2abd51[_0x3a5170(0x9a)]=_0xefb52f,_0x2abd51[_0x3a5170(0xf2)]=_0x3dcec1['OTHER_FORMULA'],this[_0x3a5170(0xd6)]['addOtherFormulaDependency'](_0x57238b,_0x3cd4dc,_0x4f9850,_0x2abd51),this[_0x3a5170(0xd6)][_0x3a5170(0x8c)](_0x2abd51),_0x57a176[_0x3a5170(0xa6)](_0x2abd51),this[_0x3a5170(0x11f)][_0x3a5170(0xdc)](_0x2abd51[_0x3a5170(0x9d)],_0x2abd51);}}this[_0x3a5170(0xd6)][_0x3a5170(0xa9)](_0x4f9850);}}}}[_0x18a882(0x11d)](_0x5754b1,_0x56cea8,_0x1912dc,_0x1a5842){const _0x2de9b3=_0x18a882;for(const _0x48a7fe of _0x5754b1){const _0x59bb84=_0x56cea8[_0x48a7fe];if(_0x59bb84==null)continue;const _0x17ecd8=Object['keys'](_0x59bb84);for(const _0x18b91a of _0x17ecd8){const _0x264e0a=new _0x4e276a(_0x59bb84[_0x18b91a]||{}),_0x3384d3=new Map();_0x264e0a[_0x2de9b3(0x109)]((_0x386d87,_0x4fe9ce,_0x4e0ffe)=>{const _0x4d3681=_0x2de9b3;if(_0x4e0ffe==null)return!0x0;const {x:_0x2c422a=0x0,y:_0x16a1db=0x0,si:_0x373bab}=_0x4e0ffe;if(!(_0x2c422a===0x0&&_0x16a1db===0x0&&_0x373bab!=null))return!0x0;const _0x2b27f5=this[_0x4d3681(0x83)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce,_0x1912dc,_0x4e0ffe),_0x126fa8=this[_0x4d3681(0xd6)][_0x4d3681(0x10a)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce);_0x126fa8!=null?_0x2b27f5[_0x4d3681(0x9d)]=_0x126fa8:(this['_dependencyManagerService'][_0x4d3681(0xe6)](_0x48a7fe,_0x18b91a,_0x386d87,_0x4fe9ce,_0x2b27f5),this[_0x4d3681(0xd6)]['addFormulaDependencyByDefinedName'](_0x2b27f5)),_0x3384d3[_0x4d3681(0xdc)](_0x373bab,_0x2b27f5),_0x1a5842[_0x4d3681(0xa6)](_0x2b27f5),this['_dependencyTreeCache'][_0x4d3681(0xdc)](_0x2b27f5[_0x4d3681(0x9d)],_0x2b27f5);}),_0x264e0a[_0x2de9b3(0x109)]((_0x461488,_0x157e94,_0x3bb62e)=>{const _0x3b8129=_0x2de9b3;if(_0x3bb62e==null)return!0x0;const {x:_0x29b352=0x0,y:_0x2f981a=0x0,si:_0x3e74e3}=_0x3bb62e;if(_0x29b352===0x0&&_0x2f981a===0x0&&_0x3e74e3!=null)return!0x0;let _0x5b7152;if(_0x3e74e3&&_0x3384d3[_0x3b8129(0x7b)](_0x3e74e3)){const _0x12f2d6=_0x3384d3['get'](_0x3e74e3);_0x5b7152=this[_0x3b8129(0x128)](_0x12f2d6,_0x3bb62e);}else _0x5b7152=this[_0x3b8129(0x83)](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94,_0x1912dc,_0x3bb62e);const _0x26135e=this['_dependencyManagerService']['getFormulaDependency'](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94);_0x26135e!=null?_0x5b7152['treeId']=_0x26135e:(this[_0x3b8129(0xd6)]['addFormulaDependency'](_0x48a7fe,_0x18b91a,_0x461488,_0x157e94,_0x5b7152),this[_0x3b8129(0xd6)][_0x3b8129(0x8c)](_0x5b7152)),_0x1a5842['push'](_0x5b7152),this[_0x3b8129(0x11f)][_0x3b8129(0xdc)](_0x5b7152['treeId'],_0x5b7152);}),_0x3384d3[_0x2de9b3(0x76)]();}}}[_0x18a882(0x83)](_0x10d5b1,_0x59356b,_0x3211e6,_0x515e9a,_0x54c109,_0x44cf09){const _0x4d6839=_0x18a882,{f:_0x19eac8,x:_0x18926e=0x0,y:_0x5416a2=0x0}=_0x44cf09,_0x1f910f=new _0x3a8121(_0x5b8305(this[_0x4d6839(0xd6)])),_0x22bc2b=_0x54c109[_0x10d5b1][_0x59356b];return _0x1f910f[_0x4d6839(0x13b)]=_0x19eac8,_0x1f910f[_0x4d6839(0xed)]=_0x10d5b1,_0x1f910f[_0x4d6839(0xdd)]=_0x59356b,_0x1f910f[_0x4d6839(0xe2)]=_0x3211e6,_0x1f910f['column']=_0x515e9a,_0x1f910f[_0x4d6839(0xb0)]=_0x22bc2b[_0x4d6839(0xb0)],_0x1f910f[_0x4d6839(0x93)]=_0x22bc2b[_0x4d6839(0x93)],_0x1f910f;}[_0x18a882(0xcd)](){const _0x262610=_0x18a882,_0x5e2299=[],_0x29d497=new Set(),_0x2731e0=this[_0x262610(0xe7)][_0x262610(0x114)](),_0x4007a9=this['_currentConfigService'][_0x262610(0x8f)](),_0x3246f6=this[_0x262610(0xd6)][_0x262610(0x130)](_0x4007a9),_0x22c5f7=this['_dependencyRTreeCacheForAddressFunction'][_0x262610(0x95)](_0x4007a9);for(const _0x446da4 of _0x22c5f7)_0x3246f6[_0x262610(0x10f)](_0x446da4);for(const [_0x1b2c47,_0x3eb603]of this['_dependencyTreeCache'])(_0x2731e0||_0x3eb603[_0x262610(0x120)]||_0x3eb603[_0x262610(0xa5)](this['_currentConfigService'][_0x262610(0x112)]())||_0x3246f6[_0x262610(0x7b)](_0x1b2c47)&&!_0x3eb603['isExcludeRange'](this[_0x262610(0xe7)][_0x262610(0x117)]()))&&!_0x29d497['has'](_0x1b2c47)&&(_0x5e2299[_0x262610(0xa6)](_0x3eb603),_0x29d497[_0x262610(0x10f)](_0x1b2c47));for(const [_0x32c5c6,_0x27f38d]of this['_dependencyTreeCache'])_0x27f38d['isVirtual']||(_0x27f38d[_0x262610(0xbb)][_0x262610(0x141)]=0x0);return _0x5e2299;}[_0x18a882(0x111)](_0x4e369c){const _0x4a2873=_0x18a882;return this[_0x4a2873(0x11f)][_0x4a2873(0x10d)](_0x4e369c);}['_getTreeNode'](_0xe4f518){const _0x1f675f=_0x18a882;return _0xe33219(_0xe4f518[_0x1f675f(0xed)],_0xe4f518['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x18a882(0x136)](_0x438229,_0x1cf275){const _0x1f072b=_0x18a882,_0x3934e3=_0x438229,_0x5f1516=new Set();for(;_0x3934e3['length']>0x0;){const _0x1ce137=_0x3934e3[_0x1f072b(0xcb)]();if(_0x5f1516[_0x1f072b(0x76)](),_0x1ce137===void 0x0||_0x1ce137[_0x1f072b(0xb9)]())continue;if(_0x1ce137[_0x1f072b(0x101)]()){yield _0x1ce137,_0x1ce137[_0x1f072b(0xe5)](),_0x1cf275[_0x1f072b(0x10f)](_0x1ce137[_0x1f072b(0x9d)]);continue;}const _0x5e3058=this[_0x1f072b(0xd6)]['searchDependency'](_0x1ce137[_0x1f072b(0x10c)](),_0x1cf275),_0x618d78=this['_dependencyRTreeCacheForAddressFunction'][_0x1f072b(0x95)](_0x1ce137[_0x1f072b(0x10c)](),_0x1cf275);for(const _0xab5e10 of _0x618d78)_0x5e3058[_0x1f072b(0x10f)](_0xab5e10);for(const _0x266b2b of _0x5e3058){const _0x210d9b=this[_0x1f072b(0x11f)]['get'](_0x266b2b);if(!_0x210d9b){console[_0x1f072b(0x12a)](_0x1f072b(0x11e),_0x266b2b);continue;}_0x210d9b[_0x1f072b(0x101)]()||_0x1ce137[_0x1f072b(0xb9)]()||_0x5f1516['add'](_0x210d9b);}if(_0x5e3058[_0x1f072b(0x76)](),_0x5f1516[_0x1f072b(0xb2)]===0x0)yield _0x1ce137,_0x1ce137[_0x1f072b(0xe5)](),_0x1cf275['add'](_0x1ce137['treeId']);else{_0x1ce137[_0x1f072b(0x127)](),_0x3934e3[_0x1f072b(0xa6)](_0x1ce137);for(const _0x36d551 of _0x5f1516)_0x3934e3[_0x1f072b(0xa6)](_0x36d551);}}_0x3934e3['length']=0x0,_0x5f1516[_0x1f072b(0x76)]();}[_0x18a882(0xf6)](_0x18359f){const _0x3b2091=_0x18a882,_0x4fe669=[],_0x43f9de=new Set();for(const _0x34a41b of this[_0x3b2091(0x136)](_0x18359f,_0x43f9de))_0x4fe669['push'](_0x34a41b);return _0x4fe669;}async[_0x18a882(0xbd)](){const _0x4fee71=_0x18a882;return await this['_initializeGenerateTreeList'](),Array[_0x4fee71(0xe1)](this[_0x4fee71(0x11f)]['values']());}[_0x18a882(0x106)](_0x3561bf){const _0x19fa3b=_0x18a882;return this[_0x19fa3b(0xd6)][_0x19fa3b(0x130)](_0x3561bf[_0x19fa3b(0x10c)]());}[_0x18a882(0x135)](_0x2db1ca){const _0xecc5f0=_0x18a882,_0x4936a4=new Set(),_0xd8e770=_0x2db1ca[_0xecc5f0(0xbb)];for(const [_0x478e9a,_0x1bceb7]of this[_0xecc5f0(0x11f)])for(const _0x369575 of _0xd8e770){const _0x1d25c7=_0x369575['unitId'],_0x1fdab6=_0x369575[_0xecc5f0(0xec)];if(_0x1bceb7[_0xecc5f0(0xed)]!==_0x1d25c7||_0x1bceb7[_0xecc5f0(0xdd)]!==_0x1fdab6)continue;const _0x5bd74f=_0x369575['range'];if(_0x1bceb7['inRangeData'](_0x5bd74f)){_0x4936a4[_0xecc5f0(0x10f)](_0x478e9a);break;}}return _0x4936a4;}[_0x18a882(0xf5)](){const _0x19b539=_0x18a882;this[_0x19b539(0xd6)][_0x19b539(0xa1)]();}['_endFormulaDependencyTreeModel'](){const _0x8c4a1f=_0x18a882;this[_0x8c4a1f(0x104)][_0x8c4a1f(0x76)](),this['_dependencyTreeCache'][_0x8c4a1f(0x76)](),this[_0x8c4a1f(0xd6)][_0x8c4a1f(0xc5)]();}}class Se extends _0x3a2454{async['_apply'](_0x4fb3c1=!0x1){const _0x5725df=_0x18a882;_0x4fb3c1?this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x140)]):this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['START_DEPENDENCY']),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]());const _0x2d92ff=await this[_0x5725df(0x8e)][_0x5725df(0x10e)](this['_isCalculateTreeModel']),_0x4052ab=this[_0x5725df(0xb7)];_0x4fb3c1?(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x8b)]),this['_runtimeService'][_0x5725df(0xdb)](_0x2d92ff[_0x5725df(0x141)])):(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['START_CALCULATION']),this[_0x5725df(0xe8)][_0x5725df(0xef)](_0x2d92ff['length'])),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]());let _0x230e9e=[];const _0x3bacec=this[_0x5725df(0xbf)][_0x5725df(0xab)](_0x38415a),_0x5da06d=(_0x3bacec==null?void 0x0:_0x3bacec[_0x5725df(0x77)])||_0x31e581;let _0x1269f1=0x0;const _0x2d9762=_0x2d92ff[_0x5725df(0x141)];for(;_0x2d92ff[_0x5725df(0x141)]>0x0;){const _0x23dd14=_0x2d92ff[_0x5725df(0xcb)](),_0x2107ef=_0xe33219(_0x23dd14[_0x5725df(0xed)],_0x23dd14[_0x5725df(0x13b)],this[_0x5725df(0x125)],this[_0x5725df(0x134)],this[_0x5725df(0xe7)]),_0x51dcf8={'node':_0x2107ef,'refOffsetX':_0x23dd14[_0x5725df(0x102)],'refOffsetY':_0x23dd14[_0x5725df(0xbe)]},_0x599388=_0x23dd14[_0x5725df(0x123)];if(_0x1269f1%_0x5da06d===0x0&&(await new Promise(_0x14983f=>{const _0x28714c=_0x5725df,_0x1e9b7a=_0x21c242(_0x14983f);_0x230e9e[_0x28714c(0xa6)](_0x1e9b7a);}),_0x4fb3c1?(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97[_0x5725df(0x119)]),this[_0x5725df(0xe8)]['setCompletedArrayFormulasCount'](_0x1269f1+0x1)):(this[_0x5725df(0xe8)][_0x5725df(0xf1)](_0x4b1a97['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x5725df(0x126)](_0x1269f1+0x1)),this['_executionInProgressListener$'][_0x5725df(0x118)](this[_0x5725df(0xe8)][_0x5725df(0x100)]()),this[_0x5725df(0xe8)][_0x5725df(0xc0)]()||_0x51dcf8==null&&_0x599388==null)){this[_0x5725df(0xe8)]['setFormulaExecuteStage'](_0x4b1a97[_0x5725df(0x8a)]),this['_runtimeService'][_0x5725df(0xfd)](),this[_0x5725df(0x7d)]['next'](this['_runtimeService'][_0x5725df(0x96)]());return;}this['_runtimeService'][_0x5725df(0xdf)](_0x23dd14[_0x5725df(0xe2)],_0x23dd14['column'],_0x23dd14[_0x5725df(0xb0)],_0x23dd14[_0x5725df(0x93)],_0x23dd14[_0x5725df(0xdd)],_0x23dd14['unitId']);let _0x311f69;if(_0x599388!=null&&_0x23dd14['featureId']!=null){const {runtimeCellData:_0x5b2f6a,dirtyRanges:_0x125bd3}=_0x599388(this[_0x5725df(0xe7)]['getDirtyData'](),this['_runtimeService'][_0x5725df(0x96)]());this[_0x5725df(0xe8)]['setRuntimeFeatureCellData'](_0x23dd14[_0x5725df(0xf0)],_0x5b2f6a),this['_runtimeService'][_0x5725df(0xd7)](_0x23dd14[_0x5725df(0xf0)],_0x125bd3);}else _0x51dcf8!=null&&(_0x4052ab[_0x5725df(0x86)](_0x51dcf8[_0x5725df(0xd3)])?_0x311f69=await _0x4052ab['executeAsync'](_0x51dcf8):_0x311f69=_0x4052ab[_0x5725df(0xc3)](_0x51dcf8),_0x23dd14[_0x5725df(0x11a)]!=null?this[_0x5725df(0xe8)]['setRuntimeOtherData'](_0x23dd14['formulaId'],_0x23dd14[_0x5725df(0x102)],_0x23dd14[_0x5725df(0xbe)],_0x311f69):this['_runtimeService'][_0x5725df(0xb4)](_0x311f69));_0x2107ef[_0x5725df(0x12d)](),_0x1269f1++;}return _0x230e9e[_0x5725df(0xfa)](_0x2ae257=>_0x2ae257()),_0x230e9e=[],_0x2d9762>0x0?this[_0x5725df(0xe8)]['markedAsSuccessfullyExecuted']():_0x4fb3c1||this[_0x5725df(0xe8)][_0x5725df(0x138)](),this['_runtimeService'][_0x5725df(0x96)]();}}class Be extends _0x703b75{constructor(){const _0x4c4df6=_0x18a882;super(...arguments),D(this,_0x4c4df6(0x78),new Map()),D(this,_0x4c4df6(0x99),new _0x4173ae(!0x0));}[_0x18a882(0x10b)](){const _0x323454=_0x18a882;this[_0x323454(0x12f)][_0x323454(0x76)](),this[_0x323454(0xb6)][_0x323454(0x76)](),this[_0x323454(0x13a)][_0x323454(0x76)](),this[_0x323454(0x99)][_0x323454(0x76)](),this[_0x323454(0x78)]['clear'](),this[_0x323454(0xf4)](),this[_0x323454(0xcf)][_0x323454(0x76)]();}[_0x18a882(0xca)](_0x1e5c7c,_0xe761de,_0x24eb5b,_0x41adb5){const _0x10d468=_0x18a882;this[_0x10d468(0x12f)][_0x10d468(0x7b)](_0x1e5c7c)||this[_0x10d468(0x12f)]['set'](_0x1e5c7c,new Map());const _0x5dc733=this[_0x10d468(0x12f)]['get'](_0x1e5c7c);_0x5dc733['has'](_0xe761de)||_0x5dc733[_0x10d468(0xdc)](_0xe761de,new Map());const _0x11ca13=_0x5dc733[_0x10d468(0x10d)](_0xe761de);_0x11ca13['has'](_0x24eb5b)||_0x11ca13[_0x10d468(0xdc)](_0x24eb5b,new _0x4e276a()),_0x11ca13['get'](_0x24eb5b)[_0x10d468(0xb8)](_0x41adb5[_0x10d468(0x102)],_0x41adb5['refOffsetY'],_0x41adb5[_0x10d468(0x9d)]);}[_0x18a882(0xc6)](_0x112fc6,_0x26412d,_0x3e186f){const _0x9f6590=_0x18a882,_0x4cf7e4=this['_otherFormulaData'][_0x9f6590(0x10d)](_0x112fc6);if(_0x4cf7e4&&_0x4cf7e4['has'](_0x26412d)){const _0x5cbe66=_0x4cf7e4[_0x9f6590(0x10d)](_0x26412d);_0x3e186f[_0x9f6590(0xfa)](_0x3753e8=>{const _0x15e87b=_0x9f6590,_0x190822=_0x5cbe66[_0x15e87b(0x10d)](_0x3753e8);_0x190822!=null&&(_0x190822['forValue']((_0x5332e5,_0x59557f,_0x2730ac)=>{this['_removeDependencyRTreeCache'](_0x2730ac),this['_removeAllTreeMap'](_0x2730ac);}),_0x5cbe66[_0x15e87b(0xcc)](_0x3753e8),this['_otherFormulaDataMainData'][_0x15e87b(0xcc)](_0x3753e8));}),_0x5cbe66[_0x9f6590(0xb2)]===0x0&&_0x4cf7e4[_0x9f6590(0xcc)](_0x26412d),_0x4cf7e4[_0x9f6590(0xb2)]===0x0&&this[_0x9f6590(0x12f)]['delete'](_0x112fc6);}}[_0x18a882(0xe4)](_0x160766,_0x333c37){const _0x1b3d3e=_0x18a882,_0x5f569f=this['_otherFormulaData'][_0x1b3d3e(0x10d)](_0x160766);if(_0x333c37&&_0x5f569f&&_0x5f569f[_0x1b3d3e(0x7b)](_0x333c37)){const _0xcc6e20=_0x5f569f[_0x1b3d3e(0x10d)](_0x333c37);this[_0x1b3d3e(0xa4)](_0x160766,_0x333c37);for(const _0x29ef28 of _0xcc6e20[_0x1b3d3e(0xd4)]()){const _0x5edee4=_0xcc6e20[_0x1b3d3e(0x10d)](_0x29ef28);_0x5edee4!=null&&(_0x5edee4[_0x1b3d3e(0x109)]((_0xaa74d5,_0x7ad09c,_0xc248ba)=>{const _0x1d6b34=_0x1b3d3e;this[_0x1d6b34(0x78)]['get'](_0xc248ba)&&this[_0x1d6b34(0xd2)](_0xc248ba);}),this[_0x1b3d3e(0xcf)][_0x1b3d3e(0xcc)](_0x29ef28));}_0xcc6e20['clear']();}else{if(_0x5f569f){for(const _0x4bb1ea of _0x5f569f['keys']()){const _0x48acb1=_0x5f569f[_0x1b3d3e(0x10d)](_0x4bb1ea);this[_0x1b3d3e(0xa4)](_0x160766,_0x4bb1ea);for(const _0x1116ea of _0x48acb1[_0x1b3d3e(0xd4)]()){const _0x192ed7=_0x48acb1[_0x1b3d3e(0x10d)](_0x1116ea);_0x192ed7!=null&&(_0x192ed7[_0x1b3d3e(0x109)]((_0x1f7302,_0x26c74f,_0x1a57cb)=>{const _0x3a8ce2=_0x1b3d3e;this['_allTreeMap'][_0x3a8ce2(0x10d)](_0x1a57cb)&&this[_0x3a8ce2(0xd2)](_0x1a57cb);}),this[_0x1b3d3e(0xcf)][_0x1b3d3e(0xcc)](_0x1116ea));}}this['_otherFormulaData']['delete'](_0x160766);}}}[_0x18a882(0xa7)](_0x3a5454,_0x1b5c04,_0x2a85ba,_0x1d60ac){const _0x528493=_0x18a882;this['_featureFormulaData']['has'](_0x3a5454)||this[_0x528493(0xb6)][_0x528493(0xdc)](_0x3a5454,new Map());const _0x27de2f=this[_0x528493(0xb6)][_0x528493(0x10d)](_0x3a5454);_0x27de2f[_0x528493(0x7b)](_0x1b5c04)||_0x27de2f[_0x528493(0xdc)](_0x1b5c04,new Map()),_0x27de2f[_0x528493(0x10d)](_0x1b5c04)[_0x528493(0xdc)](_0x2a85ba,_0x1d60ac[_0x528493(0x9d)]);}[_0x18a882(0xb5)](_0x54a183,_0x3308ef,_0x1312c3){const _0x154f4c=_0x18a882,_0x16f1d4=this[_0x154f4c(0xb6)]['get'](_0x54a183);if(_0x16f1d4&&_0x16f1d4[_0x154f4c(0x7b)](_0x3308ef)){const _0x1271b4=_0x16f1d4[_0x154f4c(0x10d)](_0x3308ef);_0x1312c3[_0x154f4c(0xfa)](_0x238004=>{const _0x120fd5=_0x154f4c,_0x5a26a0=_0x1271b4[_0x120fd5(0x10d)](_0x238004);_0x5a26a0!=null&&(this[_0x120fd5(0x82)](_0x5a26a0),_0x1271b4[_0x120fd5(0xcc)](_0x238004),this[_0x120fd5(0xd2)](_0x5a26a0));});}}[_0x18a882(0x79)](_0x433bae,_0x1f67c6){const _0x512b77=_0x18a882,_0xff263c=this[_0x512b77(0xb6)][_0x512b77(0x10d)](_0x433bae);if(_0x1f67c6&&_0xff263c&&_0xff263c['has'](_0x1f67c6)){const _0x3e61c9=_0xff263c[_0x512b77(0x10d)](_0x1f67c6);this['_removeDependencyRTreeCacheById'](_0x433bae,_0x1f67c6),_0x3e61c9[_0x512b77(0xfa)](_0x20563c=>{const _0x1de0be=_0x512b77;_0x20563c!=null&&this[_0x1de0be(0xd2)](_0x20563c);}),_0x3e61c9['clear']();}else _0xff263c&&(_0xff263c[_0x512b77(0xfa)]((_0x475eb4,_0x212e72)=>{const _0x4d122b=_0x512b77;this[_0x4d122b(0xa4)](_0x433bae,_0x212e72),_0x475eb4[_0x4d122b(0xfa)](_0x3eabe9=>{const _0x18ae80=_0x4d122b;_0x3eabe9!=null&&this[_0x18ae80(0xd2)](_0x3eabe9);});}),this[_0x512b77(0xb6)]['delete'](_0x433bae));}[_0x18a882(0xe6)](_0x1abf2e,_0x59ca78,_0x39409e,_0x2c17ae,_0x1591d7){const _0x3814ca=_0x18a882;this[_0x3814ca(0x13a)][_0x3814ca(0x7b)](_0x1abf2e)||this['_formulaData'][_0x3814ca(0xdc)](_0x1abf2e,new Map());const _0x5b32e9=this['_formulaData'][_0x3814ca(0x10d)](_0x1abf2e);_0x5b32e9['has'](_0x59ca78)||_0x5b32e9[_0x3814ca(0xdc)](_0x59ca78,new _0x4e276a()),_0x5b32e9[_0x3814ca(0x10d)](_0x59ca78)['setValue'](_0x39409e,_0x2c17ae,_0x1591d7['treeId']);}['removeFormulaDependency'](_0xbc2a65,_0x256e54,_0x43b4e3,_0x1a418c){const _0x54fd60=_0x18a882,_0x312b78=this['_formulaData']['get'](_0xbc2a65);if(_0x312b78&&_0x312b78[_0x54fd60(0x7b)](_0x256e54)){const _0x1d9bd0=_0x312b78[_0x54fd60(0x10d)](_0x256e54),_0x201080=_0x1d9bd0[_0x54fd60(0xb3)](_0x43b4e3,_0x1a418c);if(_0x201080==null)return;this[_0x54fd60(0x82)](_0x201080),_0x1d9bd0['realDeleteValue'](_0x43b4e3,_0x1a418c),this[_0x54fd60(0xd2)](_0x201080);}}['clearFormulaDependency'](_0x2a3fc5,_0x49d5fc){const _0x346e1b=_0x18a882,_0x394e99=this[_0x346e1b(0x13a)]['get'](_0x2a3fc5);if(_0x49d5fc&&_0x394e99&&_0x394e99[_0x346e1b(0x7b)](_0x49d5fc)){const _0x1c0e7b=_0x394e99[_0x346e1b(0x10d)](_0x49d5fc);this[_0x346e1b(0xa4)](_0x2a3fc5,_0x49d5fc),_0x1c0e7b['forValue']((_0x37c9d2,_0x29027b,_0x289b9a)=>{if(_0x289b9a==null)return!0x0;this['_removeAllTreeMap'](_0x289b9a);}),_0x1c0e7b['reset']();}else _0x394e99&&(_0x394e99[_0x346e1b(0xfa)]((_0x56eb08,_0x1d6f34)=>{const _0x5a15b6=_0x346e1b;this['_removeDependencyRTreeCacheById'](_0x2a3fc5,_0x1d6f34),_0x56eb08[_0x5a15b6(0x109)]((_0x1e61b0,_0x4adb55,_0x19116d)=>{const _0x24e4d4=_0x5a15b6;if(_0x19116d==null)return!0x0;this[_0x24e4d4(0xd2)](_0x19116d);});}),this['_formulaData'][_0x346e1b(0xcc)](_0x2a3fc5));}[_0x18a882(0x82)](_0x654a62){const _0x1d0875=_0x18a882;if(_0x654a62==null)return;const _0xf6110c=this['_allTreeMap'][_0x1d0875(0x10d)](_0x654a62);if(_0xf6110c){const _0x126b70=[];for(const [_0x4c6096,_0x37b153]of _0xf6110c)for(const [_0x3605aa,_0x12badf]of _0x37b153)_0x126b70[_0x1d0875(0xa6)]({'unitId':_0x4c6096,'sheetId':_0x3605aa,'range':_0x12badf,'id':_0x654a62});this['_dependencyRTreeCache']['bulkRemove'](_0x126b70);}}[_0x18a882(0x12e)](_0x2a723a,_0x32f5cf){const _0x4d6706=_0x18a882,_0x516144=this[_0x4d6706(0x11c)][_0x4d6706(0x10d)](_0x2a723a);if(_0x516144){const _0x3073e0=_0x516144[_0x4d6706(0x10d)](_0x32f5cf);if(_0x3073e0){for(const _0x538c61 of _0x3073e0)this[_0x4d6706(0x82)](_0x538c61),this[_0x4d6706(0xd2)](_0x538c61);_0x3073e0['clear']();}}}['openKdTree'](){const _0x44e79e=_0x18a882;this[_0x44e79e(0x99)][_0x44e79e(0xa1)]();}['closeKdTree'](){const _0x2a1ed6=_0x18a882;this[_0x2a1ed6(0x99)][_0x2a1ed6(0xc5)]();}[_0x18a882(0xd2)](_0x36751b){const _0x4d8176=_0x18a882;_0x36751b!=null&&this[_0x4d8176(0x78)][_0x4d8176(0xcc)](_0x36751b);}['_addAllTreeMap'](_0x3adaf8){const _0xdb4031=_0x18a882;var _0x2c0bfd,_0x3b11c5;const _0x31ebb7=_0x3adaf8[_0xdb4031(0xbb)];let _0x313acc=this[_0xdb4031(0x78)][_0xdb4031(0x10d)](_0x3adaf8['treeId']);for(let _0x5b63db=0x0;_0x5b63db<_0x31ebb7[_0xdb4031(0x141)];_0x5b63db++){const _0x5145a4=_0x31ebb7[_0x5b63db];let {unitId:_0x2f026c,sheetId:_0x3d736b,range:_0x31c696}=_0x5145a4;_0x313acc||(_0x313acc=new Map(),this[_0xdb4031(0x78)]['set'](_0x3adaf8[_0xdb4031(0x9d)],_0x313acc)),_0x313acc[_0xdb4031(0x7b)](_0x2f026c)||_0x313acc[_0xdb4031(0xdc)](_0x2f026c,new Map());const _0x1f57ac=(_0x2c0bfd=_0x313acc==null?void 0x0:_0x313acc[_0xdb4031(0x10d)](_0x2f026c))==null?void 0x0:_0x2c0bfd[_0xdb4031(0x10d)](_0x3d736b);_0x1f57ac&&(_0x31c696={'startRow':Math[_0xdb4031(0xa0)](_0x31c696[_0xdb4031(0x12b)],_0x1f57ac[_0xdb4031(0x12b)]),'startColumn':Math[_0xdb4031(0xa0)](_0x31c696['startColumn'],_0x1f57ac['startColumn']),'endRow':Math['max'](_0x31c696['endRow'],_0x1f57ac[_0xdb4031(0x139)]),'endColumn':Math['max'](_0x31c696['endColumn'],_0x1f57ac[_0xdb4031(0xd1)])}),(_0x3b11c5=_0x313acc[_0xdb4031(0x10d)](_0x2f026c))==null||_0x3b11c5[_0xdb4031(0xdc)](_0x3d736b,_0x31c696);}}}var Re=Object['getOwnPropertyDescriptor'],we=(_0xc00b24,_0x313a8f,_0x54820b,_0x332fd5)=>{const _0x3252ee=_0x18a882;for(var _0x3c3d40=_0x332fd5>0x1?void 0x0:_0x332fd5?Re(_0x313a8f,_0x54820b):_0x313a8f,_0x10aefa=_0xc00b24[_0x3252ee(0x141)]-0x1,_0x5dc54b;_0x10aefa>=0x0;_0x10aefa--)(_0x5dc54b=_0xc00b24[_0x10aefa])&&(_0x3c3d40=_0x5dc54b(_0x3c3d40)||_0x3c3d40);return _0x3c3d40;};function _0x3014(_0x893fef,_0x286635){_0x893fef=_0x893fef-0x74;const _0x4adc44=_0x4adc();let _0x3014fa=_0x4adc44[_0x893fef];return _0x3014fa;}const Ye=Number[_0x18a882(0xc1)](0x694fb5cc);let H=class extends _0x522c98{['_initializeWithOverride'](){const _0x22a4f2=_0x18a882;var _0x19b1fd,_0x42d76f;this['_initLicenseValid']()?(this[_0x22a4f2(0xe0)]['add']([_0x3ad90e,{'useClass':Oe}]),(_0x19b1fd=this[_0x22a4f2(0x9e)])!=null&&_0x19b1fd[_0x22a4f2(0x131)]||[[_0x365a0d,{'useClass':Se}],[_0x146aa4,{'useClass':Be}],[_0x35d465,{'useClass':xe}]][_0x22a4f2(0xfa)](_0x4a91af=>this['_injector'][_0x22a4f2(0x10f)](_0x4a91af))):(this['_injector']['add']([_0x3ad90e,{'useClass':_0x3ad90e}]),(_0x42d76f=this[_0x22a4f2(0x9e)])!=null&&_0x42d76f[_0x22a4f2(0x131)]||[[_0x365a0d,{'useClass':_0x3a2454}],[_0x146aa4,{'useClass':_0x40b5b5}],[_0x35d465,{'useClass':_0x9f69d5}]][_0x22a4f2(0xfa)](_0x579ecf=>this['_injector'][_0x22a4f2(0x10f)](_0x579ecf)));}[_0x18a882(0xd5)](){const _0x4f24e8=_0x18a882;var _0x50a2c9;const _0x520ef9=(_0x50a2c9=this['_configService'][_0x4f24e8(0xab)](_0x52618a))!=null?_0x50a2c9:{},{ls:_0x150331,pbk:_0x1bd61e}=_0x520ef9;if(!_0x150331||!_0x1bd61e)return!0x1;const _0x2e7b76=_0xe2742e(ve,Me),_0x294d48=new Function(_0x4f24e8(0xde)+_0x2e7b76)()(_0x150331,_0x1bd61e),_0xc3c461=_0x294d48[_0x4f24e8(0x90)];return _0x294d48[_0x4f24e8(0x7c)]&&_0xe5c2af(_0xc3c461,'sf',Ye)?_0x1f6530(_0xc3c461,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=we([_0x2a821b(_0x4be509)],H);function _0x4adc(){const _0x34fccc=['error','startRow','_otherFormulaManagerService','resetCalculationState','removeFormulaDependencyByDefinedName','_otherFormulaData','searchDependency','notExecuteFormula','5EasDFy','join','_astTreeBuilder','_getDependencyTreeChildrenIds','_traverse','\x22\x20is\x20duplicated.','markedAsNoFunctionsExecuted','endRow','_formulaData','formula','getOtherFormulaDependency','_xlfn.','getChildren','FEATURE_FORMULA','START_DEPENDENCY_ARRAY_FORMULA','length','treeBuilder','_getCurNodeTypeForExprTree','defineProperty','endsWith','clear','intervalCount','_allTreeMap','clearFeatureFormulaDependency','COLON','has','valid','_executionCompleteListener$','dispose','featureDirtyRanges','_generateNewFunctionString','_updateRangeFlatten','_removeDependencyRTreeCache','_createFDtree','_convertDirtyRangesToUnitRange','_resetPrefix','checkAsyncNode','Lambda\x20parameter\x20name\x20\x22','2115816cQrOlB','5613957QxXTon','IDLE','START_CALCULATION_ARRAY_FORMULA','addFormulaDependencyByDefinedName','symbol','_formulaDependencyGenerator','getDirtyRanges','message','children','_handleChildrenForExprTree','columnCount','_getTableNameFromStructuredRef','bulkSearch','getAllRuntimeData','resolve','_checkIsCycleDependency','_dependencyRTreeCache','isCache','getFormulaData','startsWith','treeId','_config','clearArrayObjectCache','min','openKdTree','_checkColonNodeForExprTree','isArray','_removeDependencyRTreeCacheById','dependencySheetName','push','addFeatureFormulaDependency','clearFormulaDependency','addOtherFormulaDependencyMainData','startIndex','getConfig','slice','945534gLWozq','/*\x20bGwBgY-rBGOawb\x20Xcblbc-Yb9XwOYb\x20*/l6gfYBmg\x20rbfc4XYBmg(wBfbgGb,\x20X6awBfQb4)\x20{\x20\x20\x20\x20Yc4\x20{\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20wBfbgGbCglmxOcYdccO4\x20=\x20wBfbgGb.GXwBY(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20mcBKBgqbGGOKb\x20=\x20yZn0.XOcGb(OYma(wBfbgGbCglmxOcYdccO4[8]));\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(!mcBKBgqbGGOKb.6r)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mcBKBgqbGGOKb.6r\x20=\x20069abc(wBfbgGbCglmxOcYdccO4[J]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGUmcAbc\x20=\x20Y4Xbml\x20UmcAbciwmaOwZfmXb\x20!==\x20\x276grblBgbr\x27\x20&&\x20Gbwl\x20BgGYOgfbml\x20UmcAbciwmaOwZfmXb;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20BGVcm5Gbc\x20=\x20Y4Xbml\x205Bgrm5\x20!==\x20\x276grblBgbr\x27\x20&&\x20Y4Xbml\x205Bgrm5.wmfOYBmg\x20!==\x20\x276grblBgbr\x27;\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20fmgYbMY\x20=\x20BGUmcAbc\x20?\x20Gbwl\x20:\x20(BGVcm5Gbc\x20?\x205Bgrm5\x20:\x20KwmaOwkpBG);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[8]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x209bGGOKb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(9bGGOKbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cbUmcr\x20=\x20fmgYbMY.__VOGbjJ__.XOcGb(wBfbgGbCglmxOcYdccO4[1]);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgOY6cb\x20=\x20fmgYbMY.__NbM__.GYcBgKBl4(GBKgOY6cbUmcr);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20GBKgROwBr\x20=\x20fmgYbMY.__WbcBl4__(GBKgOY6cb,\x209bGGOKb,\x20X6awBfQb4);\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20rm9OBg\x20=\x20mcBKBgqbGGOKb.r9;\x20\x20\x20\x20\x20\x20\x20\x20l6gfYBmg\x20BGem9OBgqOYfpBgK(XOYYbcg:\x20GYcBgK,\x20pmGY:\x20GYcBgK):\x20ammwbOg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg\x20===\x20pmGY)\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(XOYYbcg.GYOcYGUBYp(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20G6llBM\x20=\x20XOYYbcg.GwBfb(8);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20G6llBM\x20===\x20pmGY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(G6llBM\x20&&\x20!pmGY.GYOcYGUBYp(\x27.\x27)\x20&&\x20pmGY.bgrGUBYp(\x27.\x27\x20+\x20G6llBM))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wbY\x20rm9OBgROwBr\x20=\x20lOwGb;\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(BGVcm5Gbc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20(rm9OBg\x20&&\x20rm9OBg.wbgKYp)\x20?\x20rm9OBg.Gm9b((r9CYb9)\x20=>\x20BGem9OBgqOYfpBgK(r9CYb9,\x20wmfOYBmg.pmGYgO9b))\x20:\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Bl\x20(wmfOYBmg.pmGYgO9b\x20===\x20\x27wmfOwpmGY\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20bwGb\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rm9OBgROwBr\x20=\x20Yc6b;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20fmgGY\x20WOwBr\x20=\x20GBKgROwBr\x20&&\x20rm9OBgROwBr;\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20mcBKBgqbGGOKb,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20fOYfp\x20(bccmc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20cbY6cg\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WOwBr:\x20lOwGb,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x209bGGOKb:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getToken','rowCount','hasOtherFormulaDataMainData','size','getValue','setRuntimeData','removeFeatureFormulaDependency','_featureFormulaData','_interpreter','setValue','isSkip','_getFeatureFormulaTree','rangeList','_xlfnPrefix','_getAllTreeList','refOffsetY','_configService','isStopExecution','parseInt','_hasNewExcelFunction','execute','toUpperCase','closeKdTree','removeOtherFormulaDependency','string','_registerOtherFormulas','values','addOtherFormulaDependency','pop','delete','_getUpdateTreeListAndMakeDependency','_clearFunctionString','_otherFormulaDataMainData','trim','endColumn','_removeAllTreeMap','node','keys','_initLicenseValid','_dependencyManagerService','setRuntimeFeatureRange','OTHER_FORMULA','207467vyoJFD','_getFirstCellOfRange','setTotalArrayFormulasToCalculate','set','subUnitId','return\x20','setCurrent','_injector','from','row','getOtherFormulaData','clearOtherFormulaDependency','setSkip','addFormulaDependency','_currentConfigService','_runtimeService','_generateExprTree','22983370haQvEn','_clearPrefix','sheetId','unitId','MINUS','setTotalFormulasToCalculate','featureId','setFormulaExecuteStage','type','getNewFormulaWithPrefix','_restDependencyTreeId','_startFormulaDependencyTreeModel','_calculateRunList','dirtyRanges','_handleTextNodeForExprTree','41950SWZvMw','forEach','_handleNewFunctionChild','getFeatureFormulaDependency','markedAsStopFunctionsExecuted','8GkRTEx','_getAllDependencyJson','getRuntimeState','isAdded','refOffsetX','_generateTreeList','_formulaDependencyTreeModel','49aSeHVH','_getDependencyTreeParenIds','getStartIndex','_checkAddBracketForMinus','forValue','getFormulaDependency','reset','toRTreeItem','get','generate','add','_lambdaFunctionParameterSet','_getTreeById','getDirtyNameMap','_handleLambdaForExprTree','isForceCalculate','value','1920632bxrqCh','getExcludedRange','next','CURRENTLY_CALCULATING_ARRAY_FORMULA','formulaId','_currentUnitId','_definedNameMap','_registerFormulas','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_dependencyTreeCache','isDirty','setDependencyTreeModelData','_xlpmPrefix','getDirtyData','_xlpm.','_lexer','setCompletedFormulasCount','setAdded','_createVirtualFDtree','Let\x20variable\x20name\x20\x22'];_0x4adc=function(){return _0x34fccc;};return _0x4adc();}export{Oe as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x6128a2,_0x486a2e){var _0x3ee95c=_0x1e04,_0x49afd5=_0x6128a2();while(!![]){try{var _0x9d600f=parseInt(_0x3ee95c(0x1b0))/0x1*(parseInt(_0x3ee95c(0x1ae))/0x2)+parseInt(_0x3ee95c(0x1ad))/0x3*(-parseInt(_0x3ee95c(0x1a9))/0x4)+-parseInt(_0x3ee95c(0x1a8))/0x5+parseInt(_0x3ee95c(0x1ac))/0x6+parseInt(_0x3ee95c(0x1aa))/0x7+parseInt(_0x3ee95c(0x1af))/0x8+-parseInt(_0x3ee95c(0x1ab))/0x9;if(_0x9d600f===_0x486a2e)break;else _0x49afd5['push'](_0x49afd5['shift']());}catch(_0x4db906){_0x49afd5['push'](_0x49afd5['shift']());}}}(_0x18b0,0xddecb));export*from'@univerjs/engine-formula/facade';function _0x1e04(_0x11cf4a,_0x2313f5){_0x11cf4a=_0x11cf4a-0x1a8;var _0x18b08b=_0x18b0();var _0x1e0410=_0x18b08b[_0x11cf4a];return _0x1e0410;}function _0x18b0(){var _0x55c791=['17464851nQDWFN','6816162xwXYGk','54546gDHvfK','654066dGFuRz','8771536ZEErNP','2PFNMFc','3888490ULYeug','16iTbTRO','5694031dRLWyP'];_0x18b0=function(){return _0x55c791;};return _0x18b0();}
|