@univerjs-pro/engine-formula 0.15.2 → 0.15.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x3a5a(){const _0x2d33c0=['7198317UxuhKI','458096KieIXo','prototype','3880640vkDVdG','2352258AvwLNj','324TggaJX','hasOwnProperty','299498rlCqaW','toStringTag','Module','forEach','keys','766372mlANOV','15bOPIwz','2703700jmBNUl','call','defineProperty'];_0x3a5a=function(){return _0x2d33c0;};return _0x3a5a();}const _0x3aa3e1=_0x51d3;(function(_0x5a1b51,_0x3a69ba){const _0x3c3698=_0x51d3,_0x369cb9=_0x5a1b51();while(!![]){try{const _0x31113f=-parseInt(_0x3c3698(0x18d))/0x1+parseInt(_0x3c3698(0x188))/0x2*(-parseInt(_0x3c3698(0x18e))/0x3)+-parseInt(_0x3c3698(0x18f))/0x4+-parseInt(_0x3c3698(0x184))/0x5+parseInt(_0x3c3698(0x185))/0x6+parseInt(_0x3c3698(0x181))/0x7+parseInt(_0x3c3698(0x182))/0x8*(parseInt(_0x3c3698(0x186))/0x9);if(_0x31113f===_0x3a69ba)break;else _0x369cb9['push'](_0x369cb9['shift']());}catch(_0x5a2045){_0x369cb9['push'](_0x369cb9['shift']());}}}(_0x3a5a,0x7da4c));function _0x51d3(_0x501d65,_0x36ee06){_0x501d65=_0x501d65-0x17f;const _0x3a5a1e=_0x3a5a();let _0x51d3b1=_0x3a5a1e[_0x501d65];return _0x51d3b1;}Object[_0x3aa3e1(0x180)](exports,Symbol[_0x3aa3e1(0x189)],{'value':_0x3aa3e1(0x18a)});const t=require('@univerjs/engine-formula/facade');Object[_0x3aa3e1(0x18c)](t)[_0x3aa3e1(0x18b)](_0x470153=>{const _0x41e8a0=_0x3aa3e1;_0x470153!=='default'&&!Object[_0x41e8a0(0x183)][_0x41e8a0(0x187)][_0x41e8a0(0x17f)](exports,_0x470153)&&Object[_0x41e8a0(0x180)](exports,_0x470153,{'enumerable':!0x0,'get':()=>t[_0x470153]});});
1
+ 'use strict';const _0x5760b7=_0x3be0;(function(_0x5df345,_0x1bd262){const _0xe95ce0=_0x3be0,_0xff741f=_0x5df345();while(!![]){try{const _0x10e04f=-parseInt(_0xe95ce0(0xf9))/0x1*(parseInt(_0xe95ce0(0xee))/0x2)+-parseInt(_0xe95ce0(0xfa))/0x3*(-parseInt(_0xe95ce0(0xf7))/0x4)+parseInt(_0xe95ce0(0xf8))/0x5+-parseInt(_0xe95ce0(0xfc))/0x6+parseInt(_0xe95ce0(0xf6))/0x7*(-parseInt(_0xe95ce0(0xf5))/0x8)+parseInt(_0xe95ce0(0xf2))/0x9+parseInt(_0xe95ce0(0xf1))/0xa;if(_0x10e04f===_0x1bd262)break;else _0xff741f['push'](_0xff741f['shift']());}catch(_0x2cb0e3){_0xff741f['push'](_0xff741f['shift']());}}}(_0x39c8,0x837fa));function _0x3be0(_0x23e096,_0x287d48){_0x23e096=_0x23e096-0xed;const _0x39c8c4=_0x39c8();let _0x3be0f0=_0x39c8c4[_0x23e096];return _0x3be0f0;}Object['defineProperty'](exports,Symbol[_0x5760b7(0xf0)],{'value':_0x5760b7(0xef)});function _0x39c8(){const _0x3c40f2=['712743DkXCDK','294222mbglPk','hasOwnProperty','5417730oCZjdB','default','call','2NoKLxm','Module','toStringTag','9094780vlDaLc','8361018vjYRan','forEach','defineProperty','6438448UVrill','7LcpBpU','40omHqQh','699510iuPHLr'];_0x39c8=function(){return _0x3c40f2;};return _0x39c8();}const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x5760b7(0xf3)](_0x27519e=>{const _0x5793e9=_0x5760b7;_0x27519e!==_0x5793e9(0xfd)&&!Object['prototype'][_0x5793e9(0xfb)][_0x5793e9(0xed)](exports,_0x27519e)&&Object[_0x5793e9(0xf4)](exports,_0x27519e,{'enumerable':!0x0,'get':()=>t[_0x27519e]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x18c1ab=_0x4755;(function(_0x143a56,_0x4bdd50){const _0xd6a456=_0x4755,_0x518b13=_0x143a56();while(!![]){try{const _0x5ed78f=parseInt(_0xd6a456(0x1d3))/0x1*(parseInt(_0xd6a456(0x13d))/0x2)+parseInt(_0xd6a456(0x1ff))/0x3+-parseInt(_0xd6a456(0x237))/0x4+parseInt(_0xd6a456(0x1f0))/0x5*(-parseInt(_0xd6a456(0x16b))/0x6)+-parseInt(_0xd6a456(0x1d8))/0x7+-parseInt(_0xd6a456(0x15c))/0x8*(-parseInt(_0xd6a456(0x191))/0x9)+-parseInt(_0xd6a456(0x1a5))/0xa*(-parseInt(_0xd6a456(0x1c4))/0xb);if(_0x5ed78f===_0x4bdd50)break;else _0x518b13['push'](_0x518b13['shift']());}catch(_0x298f2e){_0x518b13['push'](_0x518b13['shift']());}}}(_0xd274,0x8ebc9));var k=Object[_0x18c1ab(0x23d)],b=(_0x4fcfc0,_0x46135d,_0x42d657)=>_0x46135d in _0x4fcfc0?k(_0x4fcfc0,_0x46135d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42d657}):_0x4fcfc0[_0x46135d]=_0x42d657,F=(_0x420d00,_0x142966,_0x4129df)=>b(_0x420d00,typeof _0x142966!=_0x18c1ab(0x1ed)?_0x142966+'':_0x142966,_0x4129df);function _0xd274(){const _0x24363d=['has','LexerNode','range','addFormulaDependencyByDefinedName','toRTreeItem','_lambdaFunctionParameterSet','addFeatureFormulaDependency','_featureFormulaData','formula','isAdded','_restDependencyTreeId','FormulaExecuteStageType','children','_generateNewFunctionString','getDirtyRanges','isExcludeRange','getClearDependencyTreeCache','setRuntimeFeatureRange','startIndex','_isCalculateTreeModel','_handleChildrenForExprTree','4350948NngQjq','_resetPrefix','_getTableNameFromStructuredRef','rangeList','type','UniverProFormulaEnginePlugin','defineProperty','requestImmediateMacroTask','_dependencyRTreeCache','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_configService','subUnitId','1597562ixbaHv','getToken','getStartIndex','clearFormulaDependency','_checkColonNodeForExprTree','isForceCalculate','endColumn','_updateRangeFlatten','OTHER_FORMULA','_xlpmPrefix','Lambda\x20parameter\x20name\x20\x22','_removeDependencyRTreeCache','row','START_CALCULATION_ARRAY_FORMULA','_createFDtree','_definedNameMap','add','_isCyclicUtilMap','bulkSearch','_clearPrefix','delete','pop','_initLicenseValid','_allTreeMap','markedAsSuccessfullyExecuted','_injector','enableCycleDependency','getFormulaExprTree','DEFAULT_TOKEN_TYPE_PARAMETER','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','8717672WTUGNi','FormulaDependencyTreeVirtual','keys','rowCount','Module','_handleNewFunctionChild','isFeatureAuthorizedWithinTime','featureId','getNewFormulaWithPrefix','startRow','_removeDependencyRTreeCacheById','IDependencyManagerService','featureDirtyRanges','IFormulaDependencyGenerator','join','6dAyJGE','setSkip','PLUS','START_CALCULATION','DEFAULT_TOKEN_TYPE_ROOT','_removeAllTreeMap','isStopExecution','return\x20','error','columnCount','getAllRuntimeData','refOffsetX','bulkRemove','_endFormulaDependencyTreeModel','ICalculateFormulaService','_getDependencyTreeChildrenIds','/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ\x20N3vW33NZt=tch65Vn5.n8chv(\x27-\x27);tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ\x20N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ\x20N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t\x27MVO5dhV5O\x27t&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t\x27MVO5dhV5O\x27t&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t\x27MVO5dhV5O\x27;tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL(\x27*.\x27))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL(\x27.\x27)t&&tLQnv.5VOnmhvL(\x27.\x27t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t\x27cQ6NcLQnv\x27)t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}','matchToken','reset','push','_getTreeById','getValue','closeKdTree','string','NEW_EXCEL_FUNCTIONS','treeBuilder','MINUS','searchDependency','addFormulaDependency','message','_getUpdateTreeListAndMakeDependency','prefixToken','next','dirtyRanges','_executionInProgressListener$','notExecuteFormula','removeOtherFormulaDependency','_currentUnitId','9HSexxb','_traverse','generateRandomDependencyTreeId','_config','_xlfnPrefix','forEach','_hasNewExcelFunction','_createVirtualFDtree','executeAsync','_getAllDependencyJson','_apply','length','_dependencyRTreeCacheForAddressFunction','set','removeFormulaDependency','DEFAULT_INTERVAL_COUNT','ObjectMatrix','OPERATOR_TOKEN_SET','addOtherFormulaDependency','parseInt','5402620GCsHGm','DEFAULT_TOKEN_LET_FUNCTION_NAME','getOwnPropertyDescriptor','unitId','clearOtherFormulaDependency','_formulaDependencyTreeModel','getFeatureFormulaDependency','UniverLicensePlugin','forValue','node','dependencySheetName','checkAsyncNode','CURRENTLY_CALCULATING_ARRAY_FORMULA','removeFormulaDependencyByDefinedName','values','RTree','unshiftString','startsWith','IDLE','_handleLambdaForExprTree','setFormulaExecuteStage','setDependencyTreeModelData','Let\x20variable\x20name\x20\x22','_dependencyTreeCache','max','_checkAddBracketForMinus','openKdTree','getChildren','isCache','_getAllTreeList','addOtherFormulaDependencyMainData','33ICnLsr','setCurrent','realDeleteValue','hasOwnProperty','_generateExprTree','generate','START_DEPENDENCY_ARRAY_FORMULA','call','execute','setRuntimeOtherData','_formulaDependencyGenerator','_formulaData','CalculateFormulaService','DependencyManagerService','default','1eLsKpz','_astTreeBuilder','_handleTextNodeForExprTree','setCompletedFormulasCount','COLON','6954045QLTXRe','getOtherFormulaData','treeId','_getDependencyTreeParenIds','setRuntimeData','refTree','hasOtherFormulaDataMainData','markedAsNoFunctionsExecuted','_currentConfigService','_lexer','_getCurNodeTypeForExprTree','get','_convertDirtyRangesToUnitRange','_getTreeNode','min','getOtherFormulaDependency','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','generateAstNode','endRow','_xlfn.','column','symbol','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','inRangeData','5806705pIzFva','_otherFormulaData','VALUE','_initializeWithOverride','getFormulaDependency','_startFormulaDependencyTreeModel','LexerTreeBuilder','slice','from','setRuntimeFeatureCellData','setCompletedArrayFormulasCount','clearFeatureFormulaDependency','getDirtyData','FormulaDependencyTree','FormulaDependencyTreeType','953658ZsjvtI','_registerFormulas','LS_CONFIG_KEY','isReferenceString','FormulaDependencyGenerator','_getFirstCellOfRange','_calculateRunList','trim','\x22\x20is\x20duplicated.','SUFFIX_TOKEN_SET','ErrorType','isArray','clearArrayObjectCache','isDirty','DependencyManagerBaseService','_dependencyManagerService','getRuntimeState','_clearFunctionString','_getFeatureFormulaTree','_otherFormulaDataMainData','clear','toUpperCase','formulaId','getConfig','_xlpm.','FEATURE_FORMULA','value','size','refOffsetY','_executionCompleteListener$','getSheetFeatureLimit','setValue','_registerOtherFormulas','setAdded','_runtimeService'];_0xd274=function(){return _0x24363d;};return _0xd274();}Object[_0x18c1ab(0x23d)](exports,Symbol['toStringTag'],{'value':_0x18c1ab(0x160)});const a=require('@univerjs/engine-formula'),x=require('@univerjs-pro/license'),M=require('@univerjs/core');function _0x4755(_0x586167,_0x1b7eac){_0x586167=_0x586167-0x13b;const _0xd274df=_0xd274();let _0x4755d5=_0xd274df[_0x586167];return _0x4755d5;}class A extends a[_0x18c1ab(0x1f6)]{constructor(){const _0x43e86a=_0x18c1ab;super(...arguments),F(this,_0x43e86a(0x197),!0x1),F(this,_0x43e86a(0x227),new Set()),F(this,_0x43e86a(0x146),_0x43e86a(0x217)),F(this,_0x43e86a(0x195),_0x43e86a(0x1eb)),F(this,'_currentUnitId','');}['_resetPrefix'](){const _0x4582bc=_0x18c1ab;this[_0x4582bc(0x146)]=_0x4582bc(0x217),this[_0x4582bc(0x195)]=_0x4582bc(0x1eb);}[_0x18c1ab(0x150)](){const _0x5afc60=_0x18c1ab;this['_xlpmPrefix']='',this[_0x5afc60(0x195)]='';}[_0x18c1ab(0x164)](_0x38c31f,_0x45b8fe){const _0x58ebf1=_0x18c1ab,_0xc1fbbb=this[_0x58ebf1(0x184)](_0x38c31f,!0x1);if(!_0xc1fbbb||_0xc1fbbb===a[_0x58ebf1(0x209)]['VALUE']||Array['isArray'](_0xc1fbbb))return null;const _0x4d6c85=[];return this[_0x58ebf1(0x197)]=!0x1,this[_0x58ebf1(0x22f)](_0xc1fbbb,_0x4d6c85,_0x45b8fe),this[_0x58ebf1(0x197)]?'='+_0x4d6c85['join'](''):null;}['_generateNewFunctionString'](_0x34a908,_0x439cdf,_0x36e082){const _0x5b6136=_0x18c1ab,_0x27eec5=_0x34a908[_0x5b6136(0x13e)](),_0x39a17f=_0x27eec5['trim'](),_0x4f4aa2=_0x39a17f[_0x5b6136(0x214)](),_0x516a84=this[_0x5b6136(0x210)](_0x4f4aa2),_0x3d45d8=_0x36e082(_0x516a84);let _0x269e85=0x0;_0x27eec5===a[_0x5b6136(0x16f)]?_0x269e85=0x3:_0x27eec5===a[_0x5b6136(0x159)]?_0x269e85=0x4:_0x27eec5===a['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x269e85=0x5:a[_0x5b6136(0x183)]['has'](_0x516a84)?(_0x439cdf['push'](''+this[_0x5b6136(0x195)]+_0x39a17f),this['_hasNewExcelFunction']=!0x0):_0x4f4aa2===a[_0x5b6136(0x1ee)]?(_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x195)]+_0x39a17f),this[_0x5b6136(0x197)]=!0x0,_0x269e85=0x2):_0x4f4aa2===a[_0x5b6136(0x1a6)]?(_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x195)]+_0x39a17f),this[_0x5b6136(0x197)]=!0x0,_0x269e85=0x1):_0x4f4aa2===a[_0x5b6136(0x17c)]['COLON']?_0x269e85=0x8:a[_0x5b6136(0x208)][_0x5b6136(0x222)](_0x4f4aa2)?_0x269e85=0x7:_0x4f4aa2===a['prefixToken'][_0x5b6136(0x185)]?(this[_0x5b6136(0x1be)](_0x34a908)&&(_0x269e85=0x9),_0x439cdf['push'](_0x27eec5)):(_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),_0x269e85=0xa),_0x3d45d8?(_0x269e85!==0x2&&_0x269e85!==0x1&&(_0x269e85=0x6),_0x439cdf[_0x5b6136(0x17e)]('(')):_0x269e85===0x9&&_0x439cdf[_0x5b6136(0x17e)]('(');const _0x3b25bd=_0x34a908['getChildren'](),_0x3019ac=_0x3b25bd[_0x5b6136(0x19c)];if(_0x269e85===0x2){const _0x54b0aa=_0x3b25bd[0x0];let _0x61abf2=0x0;_0x54b0aa instanceof a[_0x5b6136(0x223)]&&_0x54b0aa[_0x5b6136(0x13e)]()===a[_0x5b6136(0x240)]&&(_0x61abf2=0x1);for(let _0x10c643=_0x61abf2;_0x10c643<_0x3019ac-0x1;_0x10c643++){const _0x28cad8=_0x3b25bd[_0x10c643];if(_0x28cad8 instanceof a[_0x5b6136(0x223)]){const _0xfd3b9c=_0x28cad8[_0x5b6136(0x1c0)]()[0x0];typeof _0xfd3b9c==_0x5b6136(0x182)&&(this['_lambdaFunctionParameterSet'][_0x5b6136(0x222)](_0xfd3b9c)&&console[_0x5b6136(0x173)](_0x5b6136(0x147)+_0xfd3b9c+_0x5b6136(0x207)),this[_0x5b6136(0x227)]['add'](_0xfd3b9c),_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x146)]+_0xfd3b9c),this[_0x5b6136(0x197)]=!0x0);}_0x439cdf[_0x5b6136(0x17e)](',');}this['_handleNewFunctionChild'](_0x3b25bd[_0x3019ac-0x1],_0x439cdf,_0x36e082),_0x61abf2===0x1&&(_0x439cdf['push'](')'),_0x439cdf['push']('('),this['_generateNewFunctionString'](_0x54b0aa,_0x439cdf,_0x36e082)),_0x439cdf[_0x5b6136(0x17e)](')');return;}else{if(_0x269e85===0x1){for(let _0x3ad691=0x0;_0x3ad691<_0x3019ac-0x1;_0x3ad691++){const _0x1a5430=_0x3b25bd[_0x3ad691];if(_0x1a5430 instanceof a[_0x5b6136(0x223)]&&_0x3ad691%0x2===0x0){const _0x372805=_0x1a5430[_0x5b6136(0x1c0)]()[0x0];if(typeof _0x372805==_0x5b6136(0x182)){this[_0x5b6136(0x227)][_0x5b6136(0x222)](_0x372805)&&console['error'](_0x5b6136(0x1bb)+_0x372805+_0x5b6136(0x207)),this[_0x5b6136(0x227)][_0x5b6136(0x14d)](_0x372805),_0x439cdf[_0x5b6136(0x17e)](''+this[_0x5b6136(0x146)]+_0x372805),this[_0x5b6136(0x197)]=!0x0,_0x439cdf[_0x5b6136(0x17e)](',');continue;}}if(this[_0x5b6136(0x161)](_0x1a5430,_0x439cdf,_0x36e082),_0x1a5430 instanceof a[_0x5b6136(0x223)]){const _0x242b91=_0x3b25bd[_0x3ad691+0x1];_0x242b91&&_0x242b91 instanceof a[_0x5b6136(0x223)]&&_0x439cdf[_0x5b6136(0x17e)](',');}}this[_0x5b6136(0x161)](_0x3b25bd[_0x3019ac-0x1],_0x439cdf,_0x36e082),_0x439cdf['push'](')');return;}else{if(_0x269e85===0x8){const _0x45a62b=_0x3b25bd[0x0],_0x3f40f7=_0x3b25bd[0x1];this[_0x5b6136(0x161)](_0x45a62b,_0x439cdf,_0x36e082),_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),this[_0x5b6136(0x161)](_0x3f40f7,_0x439cdf,_0x36e082);return;}}}for(let _0x421e93=0x0;_0x421e93<_0x3019ac;_0x421e93++){const _0x2b40f9=_0x3b25bd[_0x421e93];if(this[_0x5b6136(0x161)](_0x2b40f9,_0x439cdf,_0x36e082),_0x2b40f9 instanceof a['LexerNode']){const _0x3096f5=_0x3b25bd[_0x421e93+0x1];_0x3096f5&&_0x3096f5 instanceof a[_0x5b6136(0x223)]&&_0x439cdf[_0x5b6136(0x17e)](',');}}_0x269e85===0x7&&_0x439cdf[_0x5b6136(0x17e)](_0x27eec5),(_0x3d45d8||_0x269e85===0x9)&&_0x439cdf['push'](')');}[_0x18c1ab(0x161)](_0x3c2528,_0x3a6f66,_0x3226fc){const _0x3c137d=_0x18c1ab;_0x3c2528 instanceof a['LexerNode']?this[_0x3c137d(0x22f)](_0x3c2528,_0x3a6f66,_0x3226fc):this[_0x3c137d(0x227)]['has'](_0x3c2528)?(_0x3a6f66[_0x3c137d(0x17e)](''+this[_0x3c137d(0x146)]+_0x3c2528),this[_0x3c137d(0x197)]=!0x0):_0x3a6f66[_0x3c137d(0x17e)](_0x3c2528);}[_0x18c1ab(0x210)](_0x384ebd){const _0x42e8b4=_0x18c1ab;let _0x3b54a4=_0x384ebd[_0x42e8b4(0x206)]();if(!_0x3b54a4)return _0x3b54a4;const _0x405a10=_0x3b54a4[0x0];if((_0x405a10===a[_0x42e8b4(0x18a)]['AT']||_0x405a10===a['prefixToken'][_0x42e8b4(0x185)]||_0x405a10===a['prefixToken'][_0x42e8b4(0x16d)])&&(_0x3b54a4=_0x3b54a4[_0x42e8b4(0x1f7)](0x1)),!_0x3b54a4)return _0x3b54a4;const _0x424810=_0x3b54a4[_0x3b54a4[_0x42e8b4(0x19c)]-0x1];return a['SUFFIX_TOKEN_SET'][_0x42e8b4(0x222)](_0x424810)&&(_0x3b54a4=_0x3b54a4['slice'](0x0,-0x1)),_0x3b54a4;}[_0x18c1ab(0x1be)](_0x317d75){const _0x5400a4=_0x18c1ab,_0x44a26f=_0x317d75[_0x5400a4(0x1c0)]()[0x0];if(!_0x44a26f||!(_0x44a26f instanceof a['LexerNode'])||_0x317d75[_0x5400a4(0x1c0)]()[_0x5400a4(0x19c)]>0x1)return!0x1;const _0x56df38=_0x44a26f['getChildren'](),_0x16d662=_0x56df38[_0x5400a4(0x19c)];if(_0x16d662===0x1)return!0x1;for(let _0x46e3db=0x0;_0x46e3db<_0x16d662;_0x46e3db++){const _0x572f3b=_0x56df38[_0x46e3db];if(!(_0x572f3b instanceof a[_0x5400a4(0x223)])&&a[_0x5400a4(0x1a2)][_0x5400a4(0x222)](_0x572f3b))return!0x0;}return!0x1;}[_0x18c1ab(0x158)](_0x1b5975,_0x9ff906,_0x8213e2,_0x2a6a9e,_0x26dd32){const _0x2336cc=_0x18c1ab,_0xb889c=this[_0x2336cc(0x184)](_0x1b5975,!0x1);if(!_0xb889c||_0xb889c===a[_0x2336cc(0x209)][_0x2336cc(0x1f2)]||Array[_0x2336cc(0x20a)](_0xb889c))return null;this[_0x2336cc(0x150)](),this['_currentUnitId']=_0x9ff906;const _0x395afd=this[_0x2336cc(0x1c8)](_0xb889c,_0x8213e2,_0x2a6a9e,_0x26dd32);return this['_currentUnitId']='',this[_0x2336cc(0x238)](),_0x395afd;}[_0x18c1ab(0x1c8)](_0x4ad4ba,_0x294b09,_0x1853e7,_0x18e5ea){const _0x260ac7=_0x18c1ab,_0x14d1b6={'value':'','children':[],'startIndex':0x0};let _0x8834bb=_0x4ad4ba;if(_0x8834bb instanceof a[_0x260ac7(0x223)]&&(_0x8834bb['getToken']()===a[_0x260ac7(0x16f)]||_0x8834bb[_0x260ac7(0x13e)]()===a[_0x260ac7(0x159)])&&_0x8834bb[_0x260ac7(0x1c0)]()[_0x260ac7(0x19c)]===0x1&&(_0x8834bb=_0x8834bb[_0x260ac7(0x1c0)]()[0x0]),!(_0x8834bb instanceof a[_0x260ac7(0x223)]))return this[_0x260ac7(0x1d5)](_0x8834bb,_0x1853e7,_0x18e5ea);const _0x22b227=_0x8834bb[_0x260ac7(0x1c0)](),_0x2d4dfc=_0x22b227['length'],_0x52323d=[];this[_0x260ac7(0x22f)](_0x8834bb,_0x52323d,_0x294b09),_0x14d1b6[_0x260ac7(0x219)]=_0x52323d[_0x260ac7(0x16a)](''),_0x14d1b6[_0x260ac7(0x234)]=_0x8834bb['getStartIndex']();const _0x168d96=this[_0x260ac7(0x1e2)](_0x8834bb);if(_0x168d96===0x2){const _0x424d7c=_0x22b227[0x0];if(_0x424d7c instanceof a['LexerNode']){if(_0x424d7c['getToken']()[_0x260ac7(0x206)]()!==a[_0x260ac7(0x240)])return _0x14d1b6;this[_0x260ac7(0x1b8)](_0x424d7c,_0x14d1b6,_0x294b09,_0x1853e7,_0x18e5ea);}return _0x14d1b6;}else{if(_0x168d96===0x1){for(let _0x51f4da=0x0;_0x51f4da<_0x2d4dfc-0x1;_0x51f4da++){const _0xadb022=_0x22b227[_0x51f4da];if(_0xadb022 instanceof a[_0x260ac7(0x223)]&&_0x51f4da%0x2===0x1){const _0x2d627d=_0xadb022[_0x260ac7(0x1c0)]();if(_0x2d627d['length']===0x1&&!(_0x2d627d[0x0]instanceof a[_0x260ac7(0x223)]))continue;const _0x1bda2c=this[_0x260ac7(0x1c8)](_0xadb022,_0x294b09,_0x1853e7,_0x18e5ea);_0x1bda2c&&_0x14d1b6[_0x260ac7(0x22e)][_0x260ac7(0x17e)](_0x1bda2c);}}return _0x14d1b6;}else{if(_0x168d96===0x8){const _0x3461d0=_0x22b227[0x0];if(_0x3461d0 instanceof a[_0x260ac7(0x223)]){const _0x34dc46=_0x3461d0[_0x260ac7(0x1c0)]()[0x0];_0x34dc46 instanceof a[_0x260ac7(0x223)]&&(_0x14d1b6[_0x260ac7(0x234)]=_0x34dc46[_0x260ac7(0x13f)]());}if(this[_0x260ac7(0x141)](_0x8834bb))return _0x14d1b6;}else{if(_0x168d96===0x7){const _0x22c7fd=_0x22b227[0x0];if(_0x22c7fd instanceof a[_0x260ac7(0x223)]){const _0x5d3f63=_0x22c7fd['getChildren']()[0x0];_0x5d3f63 instanceof a[_0x260ac7(0x223)]&&(_0x14d1b6[_0x260ac7(0x234)]=_0x5d3f63['getStartIndex']());}}}}}return this[_0x260ac7(0x236)](_0x22b227,_0x168d96,_0x14d1b6,_0x294b09,_0x1853e7,_0x18e5ea),_0x14d1b6;}[_0x18c1ab(0x236)](_0x107cca,_0x25a4bd,_0x30f79c,_0x3a48aa,_0x4c07e5,_0x32c612){const _0x5164c8=_0x18c1ab;for(let _0x561c75=0x0;_0x561c75<_0x107cca[_0x5164c8(0x19c)];_0x561c75++){let _0x21dda2=_0x107cca[_0x561c75];if(!(_0x21dda2 instanceof a[_0x5164c8(0x223)])){const _0x21b3c9=this[_0x5164c8(0x1d5)](_0x21dda2,_0x4c07e5,_0x32c612);_0x21b3c9&&_0x30f79c[_0x5164c8(0x22e)][_0x5164c8(0x17e)](_0x21b3c9);continue;}const _0x2adc4d=_0x21dda2[_0x5164c8(0x1c0)]();if(_0x2adc4d[_0x5164c8(0x19c)]===0x1&&!(_0x2adc4d[0x0]instanceof a[_0x5164c8(0x223)])){const _0x3fe0a9=_0x2adc4d[0x0];if(!_0x4c07e5(this[_0x5164c8(0x190)],_0x3fe0a9)&&!this[_0x5164c8(0x239)](_0x3fe0a9,_0x32c612)&&!a[_0x5164c8(0x202)](_0x3fe0a9))continue;}if(_0x25a4bd===0x8){const _0xb1e47=_0x2adc4d[0x0];if(_0xb1e47 instanceof a[_0x5164c8(0x223)]){const _0x3a3a86=_0xb1e47[_0x5164c8(0x13e)]()['trim']();if(a[_0x5164c8(0x202)](_0x3a3a86))continue;_0x21dda2=_0xb1e47;}}const _0x5e06bd=this[_0x5164c8(0x1c8)](_0x21dda2,_0x3a48aa,_0x4c07e5,_0x32c612);_0x5e06bd&&_0x30f79c[_0x5164c8(0x22e)][_0x5164c8(0x17e)](_0x5e06bd);}}[_0x18c1ab(0x141)](_0x433dc7){const _0x517048=_0x18c1ab,_0x47cdc6=_0x433dc7[_0x517048(0x1c0)]();if(_0x47cdc6['length']<0x2)return!0x1;const _0x125d85=_0x47cdc6[0x0],_0x1ad63c=_0x47cdc6[0x1];if(!(_0x125d85 instanceof a[_0x517048(0x223)])||!(_0x1ad63c instanceof a[_0x517048(0x223)]))return!0x1;const _0x3e3d02=_0x125d85[_0x517048(0x1c0)]()[0x0],_0x4bfad7=_0x1ad63c[_0x517048(0x1c0)]()[0x0];if(!(_0x3e3d02 instanceof a[_0x517048(0x223)])||!(_0x4bfad7 instanceof a[_0x517048(0x223)]))return!0x1;const _0x339b04=_0x3e3d02[_0x517048(0x13e)]()[_0x517048(0x206)](),_0x48372d=_0x4bfad7[_0x517048(0x13e)]()[_0x517048(0x206)]();return!!a[_0x517048(0x202)](''+_0x339b04+a[_0x517048(0x17c)]['COLON']+_0x48372d);}[_0x18c1ab(0x1d5)](_0x19b233,_0x3990f3,_0x3c75b3){const _0x2dc6f7=_0x18c1ab,_0x4a7370=_0x19b233[_0x2dc6f7(0x206)]();return _0x4a7370[_0x2dc6f7(0x1b6)]('{')&&_0x4a7370['endsWith']('}')||_0x3990f3(this['_currentUnitId'],_0x4a7370)||this['_getTableNameFromStructuredRef'](_0x4a7370,_0x3c75b3)||a[_0x2dc6f7(0x202)](_0x4a7370)?{'value':_0x4a7370,'children':[],'startIndex':-0x1}:null;}[_0x18c1ab(0x239)](_0x29f92b,_0x5c8d86){const _0x5a041f=_0x18c1ab,{tableName:_0x584aab}=a['splitTableStructuredRef'](_0x29f92b);return _0x5c8d86(this[_0x5a041f(0x190)],_0x584aab)?_0x584aab:null;}['_handleLambdaForExprTree'](_0x52e9a,_0x1b9b6b,_0x1f15a9,_0x5d1234,_0x17b383){const _0x31d98a=_0x18c1ab,_0x13791a=_0x52e9a[_0x31d98a(0x1c0)]();for(let _0xb47438=0x0;_0xb47438<_0x13791a[_0x31d98a(0x19c)];_0xb47438++){const _0x1e1478=_0x13791a[_0xb47438];if(!(_0x1e1478 instanceof a['LexerNode']))continue;const _0x3fea4b=_0x1e1478[_0x31d98a(0x1c0)]();if(_0x3fea4b[_0x31d98a(0x19c)]===0x1&&!(_0x3fea4b[0x0]instanceof a['LexerNode']))continue;const _0x1af678=this[_0x31d98a(0x1c8)](_0x1e1478,_0x1f15a9,_0x5d1234,_0x17b383);_0x1af678&&_0x1b9b6b[_0x31d98a(0x22e)]['push'](_0x1af678);}}[_0x18c1ab(0x1e2)](_0x6b335a){const _0x84d03d=_0x18c1ab,_0x36ac87=_0x6b335a[_0x84d03d(0x13e)](),_0x5f1999=_0x36ac87[_0x84d03d(0x206)]()[_0x84d03d(0x214)]();let _0x224a01=0x0;return _0x36ac87===a[_0x84d03d(0x16f)]?_0x224a01=0x3:_0x36ac87===a[_0x84d03d(0x159)]?_0x224a01=0x4:_0x36ac87===a[_0x84d03d(0x240)]?_0x224a01=0x5:_0x5f1999===a[_0x84d03d(0x1ee)]?_0x224a01=0x2:_0x5f1999===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x224a01=0x1:_0x5f1999===a['matchToken'][_0x84d03d(0x1d7)]?_0x224a01=0x8:a['SUFFIX_TOKEN_SET'][_0x84d03d(0x222)](_0x5f1999)?_0x224a01=0x7:_0x5f1999===a[_0x84d03d(0x18a)][_0x84d03d(0x185)]?this[_0x84d03d(0x1be)](_0x6b335a)&&(_0x224a01=0x9):_0x224a01=0xa,_0x224a01;}}const B={0x0:'Y',0x1:'O',0x2:'x',0x3:'r',0x4:'m',0x5:'e',0x6:'c',0x7:'M',0x8:'p',0x9:'R','k':'0','P':'1','G':'2','T':'3','A':'4','S':'5','p':'6','a':'7','g':'8','u':'9','N':'a','J':'b','O':'d','d':'f','y':'g','L':'h','h':'i','r':'j','I':'k','c':'l','V':'n','Q':'o','E':'q','n':'s','v':'t','M':'u','R':'v','l':'w','Z':'y','j':'z','W':'A','Y':'B','b':'C','F':'D','z':'E','B':'F','x':'G','H':'H','U':'I','D':'J','i':'K','f':'L','e':'N','\x20':'P','o':'Q','s':'S','K':'T','C':'U','X':'V','m':'W','w':'X','q':'Z','t':'\x20'},K=_0x18c1ab(0x17b);class Y extends a[_0x18c1ab(0x203)]{constructor(){const _0x28c1ff=_0x18c1ab;super(...arguments),F(this,_0x28c1ff(0x1bc),new Map());}['dispose'](){const _0x5c57dc=_0x18c1ab;super['dispose'](),this[_0x5c57dc(0x1bc)][_0x5c57dc(0x213)]();}async[_0x18c1ab(0x1c9)](_0x59e967=!0x1){const _0x593ce3=_0x18c1ab;this[_0x593ce3(0x144)]();const _0x379d04=this[_0x593ce3(0x1e0)]['getFormulaData'](),_0x131be0=this['_otherFormulaManagerService'][_0x593ce3(0x1d9)](),_0x5e6a55=this['_currentConfigService'][_0x593ce3(0x232)]();_0x5e6a55!=null&&Object[_0x593ce3(0x15e)](_0x5e6a55)[_0x593ce3(0x196)](_0x10dfb0=>{const _0x55aeb5=_0x593ce3;_0x10dfb0!=null&&Object[_0x55aeb5(0x15e)](_0x5e6a55[_0x10dfb0])[_0x55aeb5(0x196)](_0x197a1d=>{const _0x37a86e=_0x55aeb5;_0x197a1d!=null&&(this[_0x37a86e(0x20e)][_0x37a86e(0x1a9)](_0x10dfb0,_0x197a1d),this[_0x37a86e(0x20e)]['clearFeatureFormulaDependency'](_0x10dfb0,_0x197a1d),this[_0x37a86e(0x20e)][_0x37a86e(0x140)](_0x10dfb0,_0x197a1d));});});const _0x218c8e=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x379d04,_0x131be0,_0x218c8e),this['_dependencyManagerService'][_0x593ce3(0x1bf)]();const _0x58a3c1=this[_0x593ce3(0x189)](),_0x22f0c0=this['_calculateRunList'](_0x58a3c1);return this[_0x593ce3(0x15b)](_0x22f0c0)&&this[_0x593ce3(0x221)][_0x593ce3(0x157)](),_0x59e967&&this[_0x593ce3(0x221)][_0x593ce3(0x1ba)](this[_0x593ce3(0x19a)](Array[_0x593ce3(0x1f8)](this['_dependencyTreeCache'][_0x593ce3(0x1b3)]()))),this[_0x593ce3(0x1bc)][_0x593ce3(0x213)](),this[_0x593ce3(0x19d)][_0x593ce3(0x213)](),this['_dependencyManagerService'][_0x593ce3(0x181)](),this[_0x593ce3(0x221)][_0x593ce3(0x20b)](),Promise['resolve'](_0x22f0c0);}[_0x18c1ab(0x14e)](_0x2b2bf2,_0x36bd03){const _0x4b9989=_0x18c1ab,_0x48e5e1=[_0x2b2bf2];for(;_0x48e5e1[_0x4b9989(0x19c)]>0x0;){const _0x2133cc=_0x48e5e1[_0x48e5e1['length']-0x1];if((_0x36bd03[_0x4b9989(0x1e3)](_0x2133cc)||0x0)===0x0){_0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x1);const _0x1366a3=this[_0x4b9989(0x1bc)][_0x4b9989(0x1e3)](_0x2133cc);if(_0x1366a3==null){_0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x2),_0x48e5e1[_0x4b9989(0x152)]();continue;}const _0x5e8345=this['_dependencyManagerService'][_0x4b9989(0x186)](_0x1366a3[_0x4b9989(0x226)]());for(const _0x11fc0f of _0x5e8345){const _0x596cb=_0x36bd03['get'](_0x11fc0f)||0x0;if(_0x596cb===0x1)return!0x0;_0x596cb===0x0&&_0x48e5e1[_0x4b9989(0x17e)](_0x11fc0f);}}else _0x36bd03[_0x4b9989(0x19e)](_0x2133cc,0x2),_0x48e5e1[_0x4b9989(0x152)]();}return!0x1;}[_0x18c1ab(0x15b)](_0x57f716){const _0x180ee1=_0x18c1ab,_0x5656f0=new Map();for(const _0x288b8a of _0x57f716)if(!_0x5656f0[_0x180ee1(0x222)](_0x288b8a[_0x180ee1(0x1da)])&&this[_0x180ee1(0x14e)](_0x288b8a[_0x180ee1(0x1da)],_0x5656f0))return!0x0;return _0x5656f0[_0x180ee1(0x213)](),!0x1;}[_0x18c1ab(0x211)](_0x4e4ee2,_0x588ab7,_0x22495d){const _0x599e72=_0x18c1ab,{unitId:_0x5c6d02,subUnitId:_0x4fd6b4,dependencyRanges:_0x39ee99,getDirtyData:_0x38ac0e}=_0x22495d,_0x1b92f3=_0x588ab7||a[_0x599e72(0x193)](this[_0x599e72(0x20e)]),_0x99b9e6=new a[(_0x599e72(0x1fd))](_0x1b92f3);_0x99b9e6['unitId']=_0x5c6d02,_0x99b9e6[_0x599e72(0x13c)]=_0x4fd6b4,_0x99b9e6['rangeList']=_0x39ee99,_0x99b9e6[_0x599e72(0x1fc)]=_0x38ac0e;const _0xceb80d=_0x38ac0e(this[_0x599e72(0x1e0)][_0x599e72(0x1fc)](),this[_0x599e72(0x221)]['getAllRuntimeData']()),_0x48c6b8=this[_0x599e72(0x1e4)](_0xceb80d[_0x599e72(0x18c)]);return _0x99b9e6[_0x599e72(0x168)]=_0x48c6b8,_0x99b9e6[_0x599e72(0x163)]=_0x4e4ee2,_0x99b9e6['type']=a[_0x599e72(0x1fe)][_0x599e72(0x218)],this[_0x599e72(0x20e)][_0x599e72(0x228)](_0x5c6d02,_0x4fd6b4,_0x4e4ee2,_0x99b9e6),this[_0x599e72(0x1bc)][_0x599e72(0x19e)](_0x99b9e6[_0x599e72(0x1da)],_0x99b9e6),this['_dependencyManagerService'][_0x599e72(0x1ab)](_0x22495d[_0x599e72(0x1a8)],_0x22495d[_0x599e72(0x13c)],_0x4e4ee2)&&(_0x99b9e6[_0x599e72(0x1c1)]=!0x0),_0x99b9e6;}[_0x18c1ab(0x21f)](_0x7e80ec,_0x816a47,_0x504efa){const _0x2bcb07=_0x18c1ab;var _0x36b6da;for(const _0xefadf8 of _0x816a47){const _0x5bd70e=_0x7e80ec[_0xefadf8];if(_0x5bd70e==null)continue;const _0x33de5c=Object[_0x2bcb07(0x15e)](_0x5bd70e);for(const _0x2d1a8e of _0x33de5c){const _0x1b4e98=_0x5bd70e[_0x2d1a8e];if(_0x1b4e98==null)continue;const _0x36116d=Object[_0x2bcb07(0x15e)](_0x1b4e98);for(const _0x57306a of _0x36116d){const _0x3badbd=this[_0x2bcb07(0x20e)][_0x2bcb07(0x1de)](_0x57306a),_0xeac2f4=_0x1b4e98[_0x57306a],{f:_0x1d6cff,ranges:_0x1a0211}=_0xeac2f4;let _0x462686=!0x1;_0x3badbd&&(_0x462686=!0x0);const {firstRow:_0xdce700,firstColumn:_0x474c01}=this[_0x2bcb07(0x204)](_0x1a0211),_0x3f0585=this[_0x2bcb07(0x20e)][_0x2bcb07(0x1e7)](_0xefadf8,_0x2d1a8e,_0x57306a),_0x241360=(_0x36b6da=_0x3f0585==null?void 0x0:_0x3f0585[_0x2bcb07(0x180)](0x0,0x0))!=null?_0x36b6da:a[_0x2bcb07(0x193)](this[_0x2bcb07(0x20e)]),_0x3f69ba=new a['FormulaDependencyTree'](_0x241360);for(let _0x1f4137=0x0;_0x1f4137<_0x1a0211[_0x2bcb07(0x19c)];_0x1f4137++){const _0x23fe76=_0x1a0211[_0x1f4137],{startRow:_0x110554,startColumn:_0x5af2aa,endRow:_0x54f6e7,endColumn:_0x492720}=_0x23fe76;for(let _0x57186e=_0x110554;_0x57186e<=_0x54f6e7;_0x57186e++)for(let _0x578398=_0x5af2aa;_0x578398<=_0x492720;_0x578398++){const _0x25bed3=_0x578398-_0x474c01,_0x575b02=_0x57186e-_0xdce700;if(_0x25bed3===0x0&&_0x575b02===0x0){_0x3f69ba['formula']=_0x1d6cff,_0x3f69ba[_0x2bcb07(0x1a8)]=_0xefadf8,_0x3f69ba[_0x2bcb07(0x13c)]=_0x2d1a8e,_0x3f69ba[_0x2bcb07(0x215)]=_0x57306a,_0x3f69ba[_0x2bcb07(0x23b)]=a['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x3f69ba['isCache']=_0x462686,_0x504efa['push'](_0x3f69ba),this[_0x2bcb07(0x1bc)]['set'](_0x3f69ba[_0x2bcb07(0x1da)],_0x3f69ba),this['_dependencyManagerService'][_0x2bcb07(0x1a3)](_0xefadf8,_0x2d1a8e,_0x57306a,_0x3f69ba),this[_0x2bcb07(0x20e)]['addFormulaDependencyByDefinedName'](_0x3f69ba);continue;}const _0x5279bb=new a[(_0x2bcb07(0x15d))]();_0x5279bb['treeId']=(_0x3f0585==null?void 0x0:_0x3f0585[_0x2bcb07(0x180)](_0x25bed3,_0x575b02))||a[_0x2bcb07(0x193)](this[_0x2bcb07(0x20e)]),_0x5279bb[_0x2bcb07(0x1dd)]=_0x3f69ba,_0x5279bb['refOffsetX']=_0x25bed3,_0x5279bb['refOffsetY']=_0x575b02,_0x5279bb[_0x2bcb07(0x1c1)]=_0x462686,_0x5279bb[_0x2bcb07(0x23b)]=a[_0x2bcb07(0x1fe)][_0x2bcb07(0x145)],this['_dependencyManagerService']['addOtherFormulaDependency'](_0xefadf8,_0x2d1a8e,_0x57306a,_0x5279bb),this[_0x2bcb07(0x20e)]['addFormulaDependencyByDefinedName'](_0x5279bb),_0x504efa[_0x2bcb07(0x17e)](_0x5279bb),this[_0x2bcb07(0x1bc)][_0x2bcb07(0x19e)](_0x5279bb[_0x2bcb07(0x1da)],_0x5279bb);}}this['_dependencyManagerService'][_0x2bcb07(0x1c3)](_0x57306a);}}}}[_0x18c1ab(0x200)](_0x3e1f6b,_0x29a8b3,_0x4205d2,_0x36050c){const _0x18fc6c=_0x18c1ab;for(const _0x1d2393 of _0x3e1f6b){const _0x509c85=_0x29a8b3[_0x1d2393];if(_0x509c85==null)continue;const _0x3427c6=Object['keys'](_0x509c85);for(const _0x194781 of _0x3427c6){const _0x48bb87=new M[(_0x18fc6c(0x1a1))](_0x509c85[_0x194781]||{}),_0xfbae06=new Map();_0x48bb87[_0x18fc6c(0x1ad)]((_0x370fcd,_0x238b07,_0x430a62)=>{const _0x229ac2=_0x18fc6c;if(_0x430a62==null)return!0x0;const {x:_0x94fa7d=0x0,y:_0x668e1d=0x0,si:_0x5f0705}=_0x430a62;if(!(_0x94fa7d===0x0&&_0x668e1d===0x0&&_0x5f0705!=null))return!0x0;const _0x53e719=this['_createFDtree'](_0x1d2393,_0x194781,_0x370fcd,_0x238b07,_0x4205d2,_0x430a62),_0x208037=this['_dependencyManagerService'][_0x229ac2(0x1f4)](_0x1d2393,_0x194781,_0x370fcd,_0x238b07);_0x208037!=null?_0x53e719[_0x229ac2(0x1da)]=_0x208037:(this[_0x229ac2(0x20e)]['addFormulaDependency'](_0x1d2393,_0x194781,_0x370fcd,_0x238b07,_0x53e719),this[_0x229ac2(0x20e)][_0x229ac2(0x225)](_0x53e719)),_0xfbae06[_0x229ac2(0x19e)](_0x5f0705,_0x53e719),_0x36050c[_0x229ac2(0x17e)](_0x53e719),this[_0x229ac2(0x1bc)][_0x229ac2(0x19e)](_0x53e719[_0x229ac2(0x1da)],_0x53e719);}),_0x48bb87[_0x18fc6c(0x1ad)]((_0xef7504,_0xd3c8a4,_0x195677)=>{const _0x1a7bc0=_0x18fc6c;if(_0x195677==null)return!0x0;const {x:_0x533785=0x0,y:_0x3a70d5=0x0,si:_0x162751}=_0x195677;if(_0x533785===0x0&&_0x3a70d5===0x0&&_0x162751!=null)return!0x0;let _0x50a872;if(_0x162751&&_0xfbae06[_0x1a7bc0(0x222)](_0x162751)){const _0x25da71=_0xfbae06[_0x1a7bc0(0x1e3)](_0x162751);_0x50a872=this[_0x1a7bc0(0x198)](_0x25da71,_0x195677);}else _0x50a872=this[_0x1a7bc0(0x14b)](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4,_0x4205d2,_0x195677);const _0x1ba170=this[_0x1a7bc0(0x20e)]['getFormulaDependency'](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4);_0x1ba170!=null?_0x50a872['treeId']=_0x1ba170:(this[_0x1a7bc0(0x20e)][_0x1a7bc0(0x187)](_0x1d2393,_0x194781,_0xef7504,_0xd3c8a4,_0x50a872),this[_0x1a7bc0(0x20e)][_0x1a7bc0(0x225)](_0x50a872)),_0x36050c[_0x1a7bc0(0x17e)](_0x50a872),this[_0x1a7bc0(0x1bc)]['set'](_0x50a872[_0x1a7bc0(0x1da)],_0x50a872);}),_0xfbae06['clear']();}}}[_0x18c1ab(0x14b)](_0x4b9005,_0x1b6c2a,_0x167cdb,_0x1553d8,_0x19f105,_0x218a54){const _0xc97ea0=_0x18c1ab,{f:_0x1ca708,x:_0x756b80=0x0,y:_0x514418=0x0}=_0x218a54,_0x4ecb41=new a['FormulaDependencyTree'](a[_0xc97ea0(0x193)](this[_0xc97ea0(0x20e)])),_0x536eab=_0x19f105[_0x4b9005][_0x1b6c2a];return _0x4ecb41[_0xc97ea0(0x22a)]=_0x1ca708,_0x4ecb41[_0xc97ea0(0x1a8)]=_0x4b9005,_0x4ecb41[_0xc97ea0(0x13c)]=_0x1b6c2a,_0x4ecb41[_0xc97ea0(0x149)]=_0x167cdb,_0x4ecb41[_0xc97ea0(0x1ec)]=_0x1553d8,_0x4ecb41[_0xc97ea0(0x15f)]=_0x536eab[_0xc97ea0(0x15f)],_0x4ecb41[_0xc97ea0(0x174)]=_0x536eab['columnCount'],_0x4ecb41;}[_0x18c1ab(0x189)](){const _0x22a137=_0x18c1ab,_0x1787dc=[],_0xe2ac2a=new Set(),_0x1d604f=this[_0x22a137(0x1e0)][_0x22a137(0x142)](),_0x4704d5=this[_0x22a137(0x1e0)][_0x22a137(0x230)](),_0x4b5271=this[_0x22a137(0x20e)][_0x22a137(0x186)](_0x4704d5),_0x54d219=this['_dependencyRTreeCacheForAddressFunction'][_0x22a137(0x14f)](_0x4704d5);for(const _0x23e618 of _0x54d219)_0x4b5271[_0x22a137(0x14d)](_0x23e618);for(const [_0x104335,_0x36b11d]of this['_dependencyTreeCache'])(_0x1d604f||_0x36b11d[_0x22a137(0x20c)]||_0x36b11d[_0x22a137(0x1af)](this[_0x22a137(0x1e0)]['getDirtyNameMap']())||_0x4b5271[_0x22a137(0x222)](_0x104335)&&!_0x36b11d[_0x22a137(0x231)](this[_0x22a137(0x1e0)]['getExcludedRange']()))&&!_0xe2ac2a[_0x22a137(0x222)](_0x104335)&&(_0x1787dc['push'](_0x36b11d),_0xe2ac2a[_0x22a137(0x14d)](_0x104335));for(const [_0x524884,_0x152848]of this[_0x22a137(0x1bc)])_0x152848['isVirtual']||(_0x152848[_0x22a137(0x23a)][_0x22a137(0x19c)]=0x0);return _0x1787dc;}[_0x18c1ab(0x17f)](_0x3b637d){const _0x2fbfcd=_0x18c1ab;return this['_dependencyTreeCache'][_0x2fbfcd(0x1e3)](_0x3b637d);}[_0x18c1ab(0x1e5)](_0x4ff5ad){const _0xeed79c=_0x18c1ab;return a[_0xeed79c(0x1e9)](_0x4ff5ad[_0xeed79c(0x1a8)],_0x4ff5ad[_0xeed79c(0x22a)],this[_0xeed79c(0x1e1)],this[_0xeed79c(0x1d4)],this[_0xeed79c(0x1e0)]);}*[_0x18c1ab(0x192)](_0x2e0c7b,_0x380b52){const _0x1e6612=_0x18c1ab,_0x221de2=_0x2e0c7b,_0x351ced=new Set();for(;_0x221de2[_0x1e6612(0x19c)]>0x0;){const _0x470053=_0x221de2[_0x1e6612(0x152)]();if(_0x351ced[_0x1e6612(0x213)](),_0x470053===void 0x0||_0x470053['isSkip']())continue;if(_0x470053[_0x1e6612(0x22b)]()){yield _0x470053,_0x470053[_0x1e6612(0x16c)](),_0x380b52[_0x1e6612(0x14d)](_0x470053[_0x1e6612(0x1da)]);continue;}const _0x4a1f66=this['_dependencyManagerService'][_0x1e6612(0x186)](_0x470053['toRTreeItem'](),_0x380b52),_0x5b8f24=this[_0x1e6612(0x19d)][_0x1e6612(0x14f)](_0x470053[_0x1e6612(0x226)](),_0x380b52);for(const _0x22adef of _0x5b8f24)_0x4a1f66[_0x1e6612(0x14d)](_0x22adef);for(const _0x5ae3df of _0x4a1f66){const _0x40bb9b=this[_0x1e6612(0x1bc)][_0x1e6612(0x1e3)](_0x5ae3df);if(!_0x40bb9b){console['error'](_0x1e6612(0x1e8),_0x5ae3df);continue;}_0x40bb9b[_0x1e6612(0x22b)]()||_0x470053['isSkip']()||_0x351ced[_0x1e6612(0x14d)](_0x40bb9b);}if(_0x4a1f66['clear'](),_0x351ced['size']===0x0)yield _0x470053,_0x470053['setSkip'](),_0x380b52['add'](_0x470053['treeId']);else{_0x470053[_0x1e6612(0x220)](),_0x221de2[_0x1e6612(0x17e)](_0x470053);for(const _0x339a77 of _0x351ced)_0x221de2['push'](_0x339a77);}}_0x221de2[_0x1e6612(0x19c)]=0x0,_0x351ced['clear']();}[_0x18c1ab(0x205)](_0x2da272){const _0xcaeb9d=_0x18c1ab,_0x36ac9e=[],_0x30767f=new Set();for(const _0x4cf7b2 of this[_0xcaeb9d(0x192)](_0x2da272,_0x30767f))_0x36ac9e[_0xcaeb9d(0x17e)](_0x4cf7b2);return _0x36ac9e;}async[_0x18c1ab(0x1c2)](){const _0x4c476d=_0x18c1ab;return await this['_initializeGenerateTreeList'](),Array[_0x4c476d(0x1f8)](this['_dependencyTreeCache'][_0x4c476d(0x1b3)]());}[_0x18c1ab(0x1db)](_0x1b4fc3){const _0x270c94=_0x18c1ab;return this['_dependencyManagerService'][_0x270c94(0x186)](_0x1b4fc3[_0x270c94(0x226)]());}[_0x18c1ab(0x17a)](_0x50f472){const _0x1d17de=_0x18c1ab,_0x1ecb2c=new Set(),_0x517dc5=_0x50f472[_0x1d17de(0x23a)];for(const [_0x133022,_0xef5f26]of this['_dependencyTreeCache'])for(const _0xdd9309 of _0x517dc5){const _0x102eb3=_0xdd9309[_0x1d17de(0x1a8)],_0x5eed44=_0xdd9309['sheetId'];if(_0xef5f26[_0x1d17de(0x1a8)]!==_0x102eb3||_0xef5f26[_0x1d17de(0x13c)]!==_0x5eed44)continue;const _0x319278=_0xdd9309[_0x1d17de(0x224)];if(_0xef5f26[_0x1d17de(0x1ef)](_0x319278)){_0x1ecb2c[_0x1d17de(0x14d)](_0x133022);break;}}return _0x1ecb2c;}[_0x18c1ab(0x1f5)](){const _0x4c2cbc=_0x18c1ab;this[_0x4c2cbc(0x20e)][_0x4c2cbc(0x1bf)]();}[_0x18c1ab(0x178)](){const _0x1f90ca=_0x18c1ab;this[_0x1f90ca(0x1aa)][_0x1f90ca(0x213)](),this[_0x1f90ca(0x1bc)]['clear'](),this[_0x1f90ca(0x20e)][_0x1f90ca(0x181)]();}}class G extends a[_0x18c1ab(0x1d0)]{async[_0x18c1ab(0x19b)](_0x3e2d20=!0x1){const _0x5143ab=_0x18c1ab;_0x3e2d20?this['_runtimeService'][_0x5143ab(0x1b9)](a['FormulaExecuteStageType'][_0x5143ab(0x1ca)]):this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a[_0x5143ab(0x22d)]['START_DEPENDENCY']),this[_0x5143ab(0x18d)][_0x5143ab(0x18b)](this[_0x5143ab(0x221)][_0x5143ab(0x20f)]());const _0x3a704a=await this[_0x5143ab(0x1ce)][_0x5143ab(0x1c9)](this[_0x5143ab(0x235)]),_0x11b007=this['_interpreter'];_0x3e2d20?(this['_runtimeService']['setFormulaExecuteStage'](a[_0x5143ab(0x22d)][_0x5143ab(0x14a)]),this[_0x5143ab(0x221)][_0x5143ab(0x15a)](_0x3a704a[_0x5143ab(0x19c)])):(this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a[_0x5143ab(0x22d)][_0x5143ab(0x16e)]),this[_0x5143ab(0x221)]['setTotalFormulasToCalculate'](_0x3a704a[_0x5143ab(0x19c)])),this['_executionInProgressListener$']['next'](this['_runtimeService'][_0x5143ab(0x20f)]());let _0x59ea5d=[];const _0x44b9bf=this[_0x5143ab(0x13b)]['getConfig'](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x6cbf87=(_0x44b9bf==null?void 0x0:_0x44b9bf['intervalCount'])||a[_0x5143ab(0x1a0)];let _0x1aa32d=0x0;const _0x23ae1a=_0x3a704a[_0x5143ab(0x19c)];for(;_0x3a704a[_0x5143ab(0x19c)]>0x0;){const _0x53e5f5=_0x3a704a[_0x5143ab(0x152)](),_0x48b0da=a[_0x5143ab(0x1e9)](_0x53e5f5[_0x5143ab(0x1a8)],_0x53e5f5['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']),_0x37d1b6={'node':_0x48b0da,'refOffsetX':_0x53e5f5[_0x5143ab(0x176)],'refOffsetY':_0x53e5f5[_0x5143ab(0x21b)]},_0x239a77=_0x53e5f5['getDirtyData'];if(_0x1aa32d%_0x6cbf87===0x0&&(await new Promise(_0x512138=>{const _0x2398ff=_0x5143ab,_0x4dad98=M[_0x2398ff(0x23e)](_0x512138);_0x59ea5d[_0x2398ff(0x17e)](_0x4dad98);}),_0x3e2d20?(this['_runtimeService'][_0x5143ab(0x1b9)](a['FormulaExecuteStageType'][_0x5143ab(0x1b1)]),this[_0x5143ab(0x221)][_0x5143ab(0x1fa)](_0x1aa32d+0x1)):(this[_0x5143ab(0x221)][_0x5143ab(0x1b9)](a['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x5143ab(0x1d6)](_0x1aa32d+0x1)),this['_executionInProgressListener$']['next'](this[_0x5143ab(0x221)][_0x5143ab(0x20f)]()),this[_0x5143ab(0x221)][_0x5143ab(0x171)]()||_0x37d1b6==null&&_0x239a77==null)){this[_0x5143ab(0x221)]['setFormulaExecuteStage'](a[_0x5143ab(0x22d)][_0x5143ab(0x1b7)]),this[_0x5143ab(0x221)]['markedAsStopFunctionsExecuted'](),this[_0x5143ab(0x21c)][_0x5143ab(0x18b)](this[_0x5143ab(0x221)][_0x5143ab(0x175)]());return;}this[_0x5143ab(0x221)][_0x5143ab(0x1c5)](_0x53e5f5[_0x5143ab(0x149)],_0x53e5f5[_0x5143ab(0x1ec)],_0x53e5f5[_0x5143ab(0x15f)],_0x53e5f5[_0x5143ab(0x174)],_0x53e5f5[_0x5143ab(0x13c)],_0x53e5f5[_0x5143ab(0x1a8)]);let _0x50089d;if(_0x239a77!=null&&_0x53e5f5[_0x5143ab(0x163)]!=null){const {runtimeCellData:_0x4d9597,dirtyRanges:_0x212179}=_0x239a77(this[_0x5143ab(0x1e0)][_0x5143ab(0x1fc)](),this[_0x5143ab(0x221)][_0x5143ab(0x175)]());this[_0x5143ab(0x221)][_0x5143ab(0x1f9)](_0x53e5f5[_0x5143ab(0x163)],_0x4d9597),this[_0x5143ab(0x221)][_0x5143ab(0x233)](_0x53e5f5['featureId'],_0x212179);}else _0x37d1b6!=null&&(_0x11b007[_0x5143ab(0x1b0)](_0x37d1b6[_0x5143ab(0x1ae)])?_0x50089d=await _0x11b007[_0x5143ab(0x199)](_0x37d1b6):_0x50089d=_0x11b007[_0x5143ab(0x1cc)](_0x37d1b6),_0x53e5f5[_0x5143ab(0x215)]!=null?this['_runtimeService'][_0x5143ab(0x1cd)](_0x53e5f5['formulaId'],_0x53e5f5[_0x5143ab(0x176)],_0x53e5f5['refOffsetY'],_0x50089d):this[_0x5143ab(0x221)][_0x5143ab(0x1dc)](_0x50089d));_0x48b0da['resetCalculationState'](),_0x1aa32d++;}return _0x59ea5d[_0x5143ab(0x196)](_0x3527c7=>_0x3527c7()),_0x59ea5d=[],_0x23ae1a>0x0?this[_0x5143ab(0x221)][_0x5143ab(0x155)]():_0x3e2d20||this[_0x5143ab(0x221)][_0x5143ab(0x1df)](),this[_0x5143ab(0x221)]['getAllRuntimeData']();}}class $ extends a[_0x18c1ab(0x20d)]{constructor(){const _0x2484ba=_0x18c1ab;super(...arguments),F(this,_0x2484ba(0x154),new Map()),F(this,_0x2484ba(0x23f),new M[(_0x2484ba(0x1b4))](!0x0));}[_0x18c1ab(0x17d)](){const _0x1550ed=_0x18c1ab;this[_0x1550ed(0x1f1)][_0x1550ed(0x213)](),this[_0x1550ed(0x229)]['clear'](),this[_0x1550ed(0x1cf)][_0x1550ed(0x213)](),this['_dependencyRTreeCache'][_0x1550ed(0x213)](),this[_0x1550ed(0x154)]['clear'](),this[_0x1550ed(0x22c)](),this['_otherFormulaDataMainData'][_0x1550ed(0x213)]();}[_0x18c1ab(0x1a3)](_0xf492c0,_0x23b872,_0x2fdd2f,_0x3cd007){const _0x37b1b9=_0x18c1ab;this['_otherFormulaData'][_0x37b1b9(0x222)](_0xf492c0)||this[_0x37b1b9(0x1f1)]['set'](_0xf492c0,new Map());const _0x51cae0=this[_0x37b1b9(0x1f1)][_0x37b1b9(0x1e3)](_0xf492c0);_0x51cae0['has'](_0x23b872)||_0x51cae0[_0x37b1b9(0x19e)](_0x23b872,new Map());const _0x3659db=_0x51cae0[_0x37b1b9(0x1e3)](_0x23b872);_0x3659db[_0x37b1b9(0x222)](_0x2fdd2f)||_0x3659db[_0x37b1b9(0x19e)](_0x2fdd2f,new M[(_0x37b1b9(0x1a1))]()),_0x3659db[_0x37b1b9(0x1e3)](_0x2fdd2f)[_0x37b1b9(0x21e)](_0x3cd007['refOffsetX'],_0x3cd007[_0x37b1b9(0x21b)],_0x3cd007[_0x37b1b9(0x1da)]);}[_0x18c1ab(0x18f)](_0x1c2fa4,_0x20004b,_0x474545){const _0x5d35d8=_0x18c1ab,_0xd1ae24=this[_0x5d35d8(0x1f1)]['get'](_0x1c2fa4);if(_0xd1ae24&&_0xd1ae24[_0x5d35d8(0x222)](_0x20004b)){const _0x3e45ae=_0xd1ae24[_0x5d35d8(0x1e3)](_0x20004b);_0x474545['forEach'](_0x3ece76=>{const _0x2c6e07=_0x5d35d8,_0x12073f=_0x3e45ae[_0x2c6e07(0x1e3)](_0x3ece76);_0x12073f!=null&&(_0x12073f[_0x2c6e07(0x1ad)]((_0x34ef15,_0x1a851f,_0x49f064)=>{const _0x1018f4=_0x2c6e07;this[_0x1018f4(0x148)](_0x49f064),this['_removeAllTreeMap'](_0x49f064);}),_0x3e45ae[_0x2c6e07(0x151)](_0x3ece76),this[_0x2c6e07(0x212)]['delete'](_0x3ece76));}),_0x3e45ae['size']===0x0&&_0xd1ae24[_0x5d35d8(0x151)](_0x20004b),_0xd1ae24[_0x5d35d8(0x21a)]===0x0&&this[_0x5d35d8(0x1f1)][_0x5d35d8(0x151)](_0x1c2fa4);}}[_0x18c1ab(0x1a9)](_0xce03a7,_0x238e2f){const _0x23e28e=_0x18c1ab,_0x3f183a=this[_0x23e28e(0x1f1)][_0x23e28e(0x1e3)](_0xce03a7);if(_0x238e2f&&_0x3f183a&&_0x3f183a[_0x23e28e(0x222)](_0x238e2f)){const _0x4fb997=_0x3f183a[_0x23e28e(0x1e3)](_0x238e2f);this[_0x23e28e(0x166)](_0xce03a7,_0x238e2f);for(const _0x1aa97a of _0x4fb997['keys']()){const _0x50244c=_0x4fb997[_0x23e28e(0x1e3)](_0x1aa97a);_0x50244c!=null&&(_0x50244c[_0x23e28e(0x1ad)]((_0x5b774d,_0x1463b7,_0x32605b)=>{const _0x3955ab=_0x23e28e;this[_0x3955ab(0x154)]['get'](_0x32605b)&&this['_removeAllTreeMap'](_0x32605b);}),this[_0x23e28e(0x212)][_0x23e28e(0x151)](_0x1aa97a));}_0x4fb997['clear']();}else{if(_0x3f183a){for(const _0x30002f of _0x3f183a[_0x23e28e(0x15e)]()){const _0x3a1fba=_0x3f183a[_0x23e28e(0x1e3)](_0x30002f);this[_0x23e28e(0x166)](_0xce03a7,_0x30002f);for(const _0x3bd1c7 of _0x3a1fba['keys']()){const _0xed978b=_0x3a1fba[_0x23e28e(0x1e3)](_0x3bd1c7);_0xed978b!=null&&(_0xed978b[_0x23e28e(0x1ad)]((_0x55e3fc,_0x570dd5,_0x4d655e)=>{const _0x2dee8f=_0x23e28e;this[_0x2dee8f(0x154)][_0x2dee8f(0x1e3)](_0x4d655e)&&this[_0x2dee8f(0x170)](_0x4d655e);}),this[_0x23e28e(0x212)][_0x23e28e(0x151)](_0x3bd1c7));}}this[_0x23e28e(0x1f1)][_0x23e28e(0x151)](_0xce03a7);}}}['addFeatureFormulaDependency'](_0x2add9b,_0x5a2382,_0x1cf450,_0x1e53ff){const _0x4a7edc=_0x18c1ab;this['_featureFormulaData']['has'](_0x2add9b)||this[_0x4a7edc(0x229)]['set'](_0x2add9b,new Map());const _0x56f2e7=this[_0x4a7edc(0x229)][_0x4a7edc(0x1e3)](_0x2add9b);_0x56f2e7[_0x4a7edc(0x222)](_0x5a2382)||_0x56f2e7[_0x4a7edc(0x19e)](_0x5a2382,new Map()),_0x56f2e7[_0x4a7edc(0x1e3)](_0x5a2382)['set'](_0x1cf450,_0x1e53ff[_0x4a7edc(0x1da)]);}['removeFeatureFormulaDependency'](_0x3ebea1,_0x174cc7,_0x14247f){const _0x148589=_0x18c1ab,_0x52598a=this[_0x148589(0x229)][_0x148589(0x1e3)](_0x3ebea1);if(_0x52598a&&_0x52598a['has'](_0x174cc7)){const _0x53f699=_0x52598a['get'](_0x174cc7);_0x14247f[_0x148589(0x196)](_0x16feaa=>{const _0x50a719=_0x148589,_0x2e4aaf=_0x53f699[_0x50a719(0x1e3)](_0x16feaa);_0x2e4aaf!=null&&(this[_0x50a719(0x148)](_0x2e4aaf),_0x53f699[_0x50a719(0x151)](_0x16feaa),this['_removeAllTreeMap'](_0x2e4aaf));});}}[_0x18c1ab(0x1fb)](_0x1244b2,_0x4ef2d6){const _0x4feffd=_0x18c1ab,_0x321069=this[_0x4feffd(0x229)][_0x4feffd(0x1e3)](_0x1244b2);if(_0x4ef2d6&&_0x321069&&_0x321069[_0x4feffd(0x222)](_0x4ef2d6)){const _0x3af8ef=_0x321069[_0x4feffd(0x1e3)](_0x4ef2d6);this['_removeDependencyRTreeCacheById'](_0x1244b2,_0x4ef2d6),_0x3af8ef[_0x4feffd(0x196)](_0x437adc=>{const _0x35bbc3=_0x4feffd;_0x437adc!=null&&this[_0x35bbc3(0x170)](_0x437adc);}),_0x3af8ef[_0x4feffd(0x213)]();}else _0x321069&&(_0x321069[_0x4feffd(0x196)]((_0x280ca5,_0x4aa645)=>{const _0x1eaccc=_0x4feffd;this['_removeDependencyRTreeCacheById'](_0x1244b2,_0x4aa645),_0x280ca5[_0x1eaccc(0x196)](_0x44fa2b=>{const _0x3bd757=_0x1eaccc;_0x44fa2b!=null&&this[_0x3bd757(0x170)](_0x44fa2b);});}),this[_0x4feffd(0x229)][_0x4feffd(0x151)](_0x1244b2));}[_0x18c1ab(0x187)](_0x1296d7,_0x25897e,_0x534eca,_0x358cdd,_0x43e9d3){const _0xd4c330=_0x18c1ab;this['_formulaData'][_0xd4c330(0x222)](_0x1296d7)||this[_0xd4c330(0x1cf)][_0xd4c330(0x19e)](_0x1296d7,new Map());const _0x3ae3be=this['_formulaData'][_0xd4c330(0x1e3)](_0x1296d7);_0x3ae3be[_0xd4c330(0x222)](_0x25897e)||_0x3ae3be[_0xd4c330(0x19e)](_0x25897e,new M[(_0xd4c330(0x1a1))]()),_0x3ae3be[_0xd4c330(0x1e3)](_0x25897e)[_0xd4c330(0x21e)](_0x534eca,_0x358cdd,_0x43e9d3[_0xd4c330(0x1da)]);}[_0x18c1ab(0x19f)](_0x3c93b1,_0x6d49c7,_0x12e107,_0x17941c){const _0x466b7f=_0x18c1ab,_0x308f4c=this[_0x466b7f(0x1cf)][_0x466b7f(0x1e3)](_0x3c93b1);if(_0x308f4c&&_0x308f4c[_0x466b7f(0x222)](_0x6d49c7)){const _0x53e182=_0x308f4c[_0x466b7f(0x1e3)](_0x6d49c7),_0x3958b9=_0x53e182[_0x466b7f(0x180)](_0x12e107,_0x17941c);if(_0x3958b9==null)return;this[_0x466b7f(0x148)](_0x3958b9),_0x53e182[_0x466b7f(0x1c6)](_0x12e107,_0x17941c),this[_0x466b7f(0x170)](_0x3958b9);}}['clearFormulaDependency'](_0x33293e,_0x19bc8c){const _0xb5e34=_0x18c1ab,_0x4f7767=this[_0xb5e34(0x1cf)][_0xb5e34(0x1e3)](_0x33293e);if(_0x19bc8c&&_0x4f7767&&_0x4f7767[_0xb5e34(0x222)](_0x19bc8c)){const _0x33a90c=_0x4f7767[_0xb5e34(0x1e3)](_0x19bc8c);this[_0xb5e34(0x166)](_0x33293e,_0x19bc8c),_0x33a90c[_0xb5e34(0x1ad)]((_0x552c4a,_0x3fe84c,_0x1ec665)=>{const _0x25e48a=_0xb5e34;if(_0x1ec665==null)return!0x0;this[_0x25e48a(0x170)](_0x1ec665);}),_0x33a90c['reset']();}else _0x4f7767&&(_0x4f7767['forEach']((_0x526a1b,_0x40a38d)=>{const _0x1b6f52=_0xb5e34;this[_0x1b6f52(0x166)](_0x33293e,_0x40a38d),_0x526a1b[_0x1b6f52(0x1ad)]((_0x55693e,_0x187d6b,_0x1e1244)=>{const _0x293cd3=_0x1b6f52;if(_0x1e1244==null)return!0x0;this[_0x293cd3(0x170)](_0x1e1244);});}),this[_0xb5e34(0x1cf)][_0xb5e34(0x151)](_0x33293e));}['_removeDependencyRTreeCache'](_0x23e55c){const _0x835f2=_0x18c1ab;if(_0x23e55c==null)return;const _0x42b582=this[_0x835f2(0x154)]['get'](_0x23e55c);if(_0x42b582){const _0x54f36d=[];for(const [_0x18f62f,_0x489c52]of _0x42b582)for(const [_0x3fb27e,_0xddc74]of _0x489c52)_0x54f36d[_0x835f2(0x17e)]({'unitId':_0x18f62f,'sheetId':_0x3fb27e,'range':_0xddc74,'id':_0x23e55c});this[_0x835f2(0x23f)][_0x835f2(0x177)](_0x54f36d);}}[_0x18c1ab(0x1b2)](_0x4cd35f,_0x10850b){const _0x1905f8=_0x18c1ab,_0x30eed3=this[_0x1905f8(0x14c)][_0x1905f8(0x1e3)](_0x4cd35f);if(_0x30eed3){const _0x156142=_0x30eed3[_0x1905f8(0x1e3)](_0x10850b);if(_0x156142){for(const _0x18d268 of _0x156142)this['_removeDependencyRTreeCache'](_0x18d268),this[_0x1905f8(0x170)](_0x18d268);_0x156142[_0x1905f8(0x213)]();}}}[_0x18c1ab(0x1bf)](){const _0x1714c6=_0x18c1ab;this['_dependencyRTreeCache'][_0x1714c6(0x1bf)]();}[_0x18c1ab(0x181)](){const _0x5179e4=_0x18c1ab;this['_dependencyRTreeCache'][_0x5179e4(0x181)]();}[_0x18c1ab(0x170)](_0x74cb06){const _0x4d49b2=_0x18c1ab;_0x74cb06!=null&&this['_allTreeMap'][_0x4d49b2(0x151)](_0x74cb06);}['_addAllTreeMap'](_0x1ea261){const _0x5a8190=_0x18c1ab;var _0x15c916,_0x494b7c;const _0x3cf8e6=_0x1ea261['rangeList'];let _0x669283=this[_0x5a8190(0x154)][_0x5a8190(0x1e3)](_0x1ea261[_0x5a8190(0x1da)]);for(let _0x1e6074=0x0;_0x1e6074<_0x3cf8e6[_0x5a8190(0x19c)];_0x1e6074++){const _0x129bfb=_0x3cf8e6[_0x1e6074];let {unitId:_0x1ca7bf,sheetId:_0x7633f9,range:_0xa09cef}=_0x129bfb;_0x669283||(_0x669283=new Map(),this['_allTreeMap'][_0x5a8190(0x19e)](_0x1ea261[_0x5a8190(0x1da)],_0x669283)),_0x669283[_0x5a8190(0x222)](_0x1ca7bf)||_0x669283[_0x5a8190(0x19e)](_0x1ca7bf,new Map());const _0x420f3c=(_0x15c916=_0x669283==null?void 0x0:_0x669283[_0x5a8190(0x1e3)](_0x1ca7bf))==null?void 0x0:_0x15c916['get'](_0x7633f9);_0x420f3c&&(_0xa09cef={'startRow':Math[_0x5a8190(0x1e6)](_0xa09cef[_0x5a8190(0x165)],_0x420f3c[_0x5a8190(0x165)]),'startColumn':Math['min'](_0xa09cef['startColumn'],_0x420f3c['startColumn']),'endRow':Math[_0x5a8190(0x1bd)](_0xa09cef[_0x5a8190(0x1ea)],_0x420f3c[_0x5a8190(0x1ea)]),'endColumn':Math[_0x5a8190(0x1bd)](_0xa09cef[_0x5a8190(0x143)],_0x420f3c[_0x5a8190(0x143)])}),(_0x494b7c=_0x669283[_0x5a8190(0x1e3)](_0x1ca7bf))==null||_0x494b7c[_0x5a8190(0x19e)](_0x7633f9,_0xa09cef);}}}var j=Object[_0x18c1ab(0x1a7)],W=(_0x31f6df,_0x1e8f98,_0x1785f7,_0x479f20)=>{const _0x105951=_0x18c1ab;for(var _0x2f17e2=_0x479f20>0x1?void 0x0:_0x479f20?j(_0x1e8f98,_0x1785f7):_0x1e8f98,_0xeda5c6=_0x31f6df[_0x105951(0x19c)]-0x1,_0x10910c;_0xeda5c6>=0x0;_0xeda5c6--)(_0x10910c=_0x31f6df[_0xeda5c6])&&(_0x2f17e2=_0x10910c(_0x2f17e2)||_0x2f17e2);return _0x2f17e2;};const X=Number[_0x18c1ab(0x1a4)](0x696b4030);exports[_0x18c1ab(0x23c)]=class extends a['UniverFormulaEnginePlugin']{[_0x18c1ab(0x1f3)](){const _0xc4fa50=_0x18c1ab;var _0x151be5,_0x275ff3;this[_0xc4fa50(0x153)]()?(this[_0xc4fa50(0x156)]['add']([a[_0xc4fa50(0x1f6)],{'useClass':A}]),(_0x151be5=this[_0xc4fa50(0x194)])!=null&&_0x151be5[_0xc4fa50(0x18e)]||[[a[_0xc4fa50(0x179)],{'useClass':G}],[a['IDependencyManagerService'],{'useClass':$}],[a['IFormulaDependencyGenerator'],{'useClass':Y}]][_0xc4fa50(0x196)](_0x12ce89=>this['_injector'][_0xc4fa50(0x14d)](_0x12ce89))):(this[_0xc4fa50(0x156)]['add']([a['LexerTreeBuilder'],{'useClass':a[_0xc4fa50(0x1f6)]}]),(_0x275ff3=this['_config'])!=null&&_0x275ff3[_0xc4fa50(0x18e)]||[[a[_0xc4fa50(0x179)],{'useClass':a[_0xc4fa50(0x1d0)]}],[a[_0xc4fa50(0x167)],{'useClass':a[_0xc4fa50(0x1d1)]}],[a[_0xc4fa50(0x169)],{'useClass':a['FormulaDependencyGenerator']}]][_0xc4fa50(0x196)](_0x85d39b=>this[_0xc4fa50(0x156)]['add'](_0x85d39b)));}['_initLicenseValid'](){const _0x9082d8=_0x18c1ab;var _0x3102ba;const _0x315388=(_0x3102ba=this['_configService'][_0x9082d8(0x216)](x[_0x9082d8(0x201)]))!=null?_0x3102ba:{},{ls:_0x4d2497,pbk:_0x19eb81}=_0x315388;if(!_0x4d2497||!_0x19eb81)return!0x1;const _0xa3be5a=x[_0x9082d8(0x1b5)](K,B),_0x4d901e=new Function(_0x9082d8(0x172)+_0xa3be5a)()(_0x4d2497,_0x19eb81),_0x3a4ca3=_0x4d901e[_0x9082d8(0x188)];return _0x4d901e['valid']&&x[_0x9082d8(0x162)](_0x3a4ca3,'sf',X)?x[_0x9082d8(0x21d)](_0x3a4ca3,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x18c1ab(0x23c)]=W([M['DependentOn'](x[_0x18c1ab(0x1ac)])],exports[_0x18c1ab(0x23c)]),exports['LexerTreeProBuilder']=A,Object[_0x18c1ab(0x15e)](a)[_0x18c1ab(0x196)](_0x25e4fd=>{const _0x3c5a9d=_0x18c1ab;_0x25e4fd!==_0x3c5a9d(0x1d2)&&!Object['prototype'][_0x3c5a9d(0x1c7)][_0x3c5a9d(0x1cb)](exports,_0x25e4fd)&&Object[_0x3c5a9d(0x23d)](exports,_0x25e4fd,{'enumerable':!0x0,'get':()=>a[_0x25e4fd]});});
1
+ 'use strict';const _0x2d114a=_0x3c1a;(function(_0x345cfa,_0x54b549){const _0x514715=_0x3c1a,_0x176013=_0x345cfa();while(!![]){try{const _0x29ac13=-parseInt(_0x514715(0x271))/0x1*(parseInt(_0x514715(0x280))/0x2)+-parseInt(_0x514715(0x29e))/0x3*(parseInt(_0x514715(0x1d1))/0x4)+-parseInt(_0x514715(0x223))/0x5*(-parseInt(_0x514715(0x1db))/0x6)+-parseInt(_0x514715(0x257))/0x7+parseInt(_0x514715(0x238))/0x8+-parseInt(_0x514715(0x1c2))/0x9*(-parseInt(_0x514715(0x26a))/0xa)+parseInt(_0x514715(0x260))/0xb;if(_0x29ac13===_0x54b549)break;else _0x176013['push'](_0x176013['shift']());}catch(_0x9dd244){_0x176013['push'](_0x176013['shift']());}}}(_0xb087,0x2850b));var I=Object[_0x2d114a(0x268)],U=(_0x5f553a,_0x14a2e3,_0x1ac11c)=>_0x14a2e3 in _0x5f553a?I(_0x5f553a,_0x14a2e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ac11c}):_0x5f553a[_0x14a2e3]=_0x1ac11c,R=(_0xe6e9fa,_0x37aa18,_0x45803a)=>U(_0xe6e9fa,typeof _0x37aa18!=_0x2d114a(0x227)?_0x37aa18+'':_0x37aa18,_0x45803a);Object[_0x2d114a(0x268)](exports,Symbol[_0x2d114a(0x28f)],{'value':_0x2d114a(0x233)});const a=require('@univerjs/engine-formula'),w=require('@univerjs-pro/license'),N=require('@univerjs/core');class b extends a[_0x2d114a(0x298)]{constructor(){const _0x18e411=_0x2d114a;super(...arguments),R(this,'_hasNewExcelFunction',!0x1),R(this,_0x18e411(0x27a),new Set()),R(this,_0x18e411(0x264),_0x18e411(0x26c)),R(this,_0x18e411(0x22c),_0x18e411(0x2a1)),R(this,_0x18e411(0x25a),'');}['_resetPrefix'](){const _0x2a4a67=_0x2d114a;this[_0x2a4a67(0x264)]=_0x2a4a67(0x26c),this[_0x2a4a67(0x22c)]=_0x2a4a67(0x2a1);}[_0x2d114a(0x29a)](){const _0x392b32=_0x2d114a;this[_0x392b32(0x264)]='',this[_0x392b32(0x22c)]='';}[_0x2d114a(0x29d)](_0x1dddfc,_0x203822){const _0x3d88c9=_0x2d114a,_0x287117=this[_0x3d88c9(0x224)](_0x1dddfc,!0x1);if(!_0x287117||_0x287117===a[_0x3d88c9(0x2a2)][_0x3d88c9(0x1bb)]||Array[_0x3d88c9(0x20b)](_0x287117))return null;const _0x3ce7df=[];return this[_0x3d88c9(0x2ad)]=!0x1,this['_generateNewFunctionString'](_0x287117,_0x3ce7df,_0x203822),this[_0x3d88c9(0x2ad)]?'='+_0x3ce7df[_0x3d88c9(0x292)](''):null;}[_0x2d114a(0x20c)](_0x21c59d,_0x204c77,_0x3c4c66){const _0x2ad261=_0x2d114a,_0x414aa9=_0x21c59d['getToken'](),_0x1eea05=_0x414aa9[_0x2ad261(0x1d2)](),_0xb01cc=_0x1eea05[_0x2ad261(0x1be)](),_0x460a31=this[_0x2ad261(0x1ef)](_0xb01cc),_0x1f2148=_0x3c4c66(_0x460a31);let _0x1905bd=0x0;_0x414aa9===a[_0x2ad261(0x217)]?_0x1905bd=0x3:_0x414aa9===a[_0x2ad261(0x200)]?_0x1905bd=0x4:_0x414aa9===a[_0x2ad261(0x240)]?_0x1905bd=0x5:a[_0x2ad261(0x278)][_0x2ad261(0x21d)](_0x460a31)?(_0x204c77[_0x2ad261(0x28b)](''+this['_xlfnPrefix']+_0x1eea05),this[_0x2ad261(0x2ad)]=!0x0):_0xb01cc===a[_0x2ad261(0x1c7)]?(_0x204c77[_0x2ad261(0x28b)](''+this['_xlfnPrefix']+_0x1eea05),this[_0x2ad261(0x2ad)]=!0x0,_0x1905bd=0x2):_0xb01cc===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x204c77['push'](''+this[_0x2ad261(0x22c)]+_0x1eea05),this[_0x2ad261(0x2ad)]=!0x0,_0x1905bd=0x1):_0xb01cc===a[_0x2ad261(0x245)][_0x2ad261(0x1e0)]?_0x1905bd=0x8:a['SUFFIX_TOKEN_SET']['has'](_0xb01cc)?_0x1905bd=0x7:_0xb01cc===a['prefixToken'][_0x2ad261(0x25d)]?(this[_0x2ad261(0x1fd)](_0x21c59d)&&(_0x1905bd=0x9),_0x204c77[_0x2ad261(0x28b)](_0x414aa9)):(_0x204c77[_0x2ad261(0x28b)](_0x414aa9),_0x1905bd=0xa),_0x1f2148?(_0x1905bd!==0x2&&_0x1905bd!==0x1&&(_0x1905bd=0x6),_0x204c77[_0x2ad261(0x28b)]('(')):_0x1905bd===0x9&&_0x204c77[_0x2ad261(0x28b)]('(');const _0x269b71=_0x21c59d[_0x2ad261(0x1c9)](),_0x276c8c=_0x269b71['length'];if(_0x1905bd===0x2){const _0x6e0cda=_0x269b71[0x0];let _0x1bb2af=0x0;_0x6e0cda instanceof a[_0x2ad261(0x1f8)]&&_0x6e0cda[_0x2ad261(0x254)]()===a[_0x2ad261(0x240)]&&(_0x1bb2af=0x1);for(let _0xc58419=_0x1bb2af;_0xc58419<_0x276c8c-0x1;_0xc58419++){const _0x45e5f4=_0x269b71[_0xc58419];if(_0x45e5f4 instanceof a[_0x2ad261(0x1f8)]){const _0x28f0f2=_0x45e5f4['getChildren']()[0x0];typeof _0x28f0f2==_0x2ad261(0x23d)&&(this[_0x2ad261(0x27a)][_0x2ad261(0x21d)](_0x28f0f2)&&console['error'](_0x2ad261(0x252)+_0x28f0f2+_0x2ad261(0x1c8)),this[_0x2ad261(0x27a)]['add'](_0x28f0f2),_0x204c77[_0x2ad261(0x28b)](''+this[_0x2ad261(0x264)]+_0x28f0f2),this[_0x2ad261(0x2ad)]=!0x0);}_0x204c77[_0x2ad261(0x28b)](',');}this[_0x2ad261(0x219)](_0x269b71[_0x276c8c-0x1],_0x204c77,_0x3c4c66),_0x1bb2af===0x1&&(_0x204c77[_0x2ad261(0x28b)](')'),_0x204c77[_0x2ad261(0x28b)]('('),this['_generateNewFunctionString'](_0x6e0cda,_0x204c77,_0x3c4c66)),_0x204c77[_0x2ad261(0x28b)](')');return;}else{if(_0x1905bd===0x1){for(let _0xadd346=0x0;_0xadd346<_0x276c8c-0x1;_0xadd346++){const _0x4ff37d=_0x269b71[_0xadd346];if(_0x4ff37d instanceof a[_0x2ad261(0x1f8)]&&_0xadd346%0x2===0x0){const _0xb4a06a=_0x4ff37d[_0x2ad261(0x1c9)]()[0x0];if(typeof _0xb4a06a=='string'){this[_0x2ad261(0x27a)][_0x2ad261(0x21d)](_0xb4a06a)&&console['error'](_0x2ad261(0x215)+_0xb4a06a+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x2ad261(0x1e4)](_0xb4a06a),_0x204c77[_0x2ad261(0x28b)](''+this[_0x2ad261(0x264)]+_0xb4a06a),this['_hasNewExcelFunction']=!0x0,_0x204c77[_0x2ad261(0x28b)](',');continue;}}if(this[_0x2ad261(0x219)](_0x4ff37d,_0x204c77,_0x3c4c66),_0x4ff37d instanceof a['LexerNode']){const _0x41bc06=_0x269b71[_0xadd346+0x1];_0x41bc06&&_0x41bc06 instanceof a['LexerNode']&&_0x204c77[_0x2ad261(0x28b)](',');}}this[_0x2ad261(0x219)](_0x269b71[_0x276c8c-0x1],_0x204c77,_0x3c4c66),_0x204c77[_0x2ad261(0x28b)](')');return;}else{if(_0x1905bd===0x8){const _0x3d1781=_0x269b71[0x0],_0x29abb5=_0x269b71[0x1];this['_handleNewFunctionChild'](_0x3d1781,_0x204c77,_0x3c4c66),_0x204c77[_0x2ad261(0x28b)](_0x414aa9),this[_0x2ad261(0x219)](_0x29abb5,_0x204c77,_0x3c4c66);return;}}}for(let _0x13aa93=0x0;_0x13aa93<_0x276c8c;_0x13aa93++){const _0x33abb9=_0x269b71[_0x13aa93];if(this[_0x2ad261(0x219)](_0x33abb9,_0x204c77,_0x3c4c66),_0x33abb9 instanceof a['LexerNode']){const _0x2b9c9b=_0x269b71[_0x13aa93+0x1];_0x2b9c9b&&_0x2b9c9b instanceof a['LexerNode']&&_0x204c77['push'](',');}}_0x1905bd===0x7&&_0x204c77[_0x2ad261(0x28b)](_0x414aa9),(_0x1f2148||_0x1905bd===0x9)&&_0x204c77[_0x2ad261(0x28b)](')');}[_0x2d114a(0x219)](_0x558f70,_0x5dd9b3,_0x32ba9e){const _0x1a919a=_0x2d114a;_0x558f70 instanceof a[_0x1a919a(0x1f8)]?this[_0x1a919a(0x20c)](_0x558f70,_0x5dd9b3,_0x32ba9e):this[_0x1a919a(0x27a)][_0x1a919a(0x21d)](_0x558f70)?(_0x5dd9b3[_0x1a919a(0x28b)](''+this[_0x1a919a(0x264)]+_0x558f70),this[_0x1a919a(0x2ad)]=!0x0):_0x5dd9b3[_0x1a919a(0x28b)](_0x558f70);}[_0x2d114a(0x1ef)](_0x1a3062){const _0xace66e=_0x2d114a;let _0x53fdcc=_0x1a3062[_0xace66e(0x1d2)]();if(!_0x53fdcc)return _0x53fdcc;const _0x541e1a=_0x53fdcc[0x0];if((_0x541e1a===a['prefixToken']['AT']||_0x541e1a===a[_0xace66e(0x209)][_0xace66e(0x25d)]||_0x541e1a===a[_0xace66e(0x209)][_0xace66e(0x29c)])&&(_0x53fdcc=_0x53fdcc[_0xace66e(0x216)](0x1)),!_0x53fdcc)return _0x53fdcc;const _0x424dce=_0x53fdcc[_0x53fdcc[_0xace66e(0x23e)]-0x1];return a['SUFFIX_TOKEN_SET'][_0xace66e(0x21d)](_0x424dce)&&(_0x53fdcc=_0x53fdcc['slice'](0x0,-0x1)),_0x53fdcc;}[_0x2d114a(0x1fd)](_0x4217a1){const _0x53ccdc=_0x2d114a,_0x27df93=_0x4217a1[_0x53ccdc(0x1c9)]()[0x0];if(!_0x27df93||!(_0x27df93 instanceof a['LexerNode'])||_0x4217a1['getChildren']()['length']>0x1)return!0x1;const _0x29b4eb=_0x27df93[_0x53ccdc(0x1c9)](),_0x1466f4=_0x29b4eb['length'];if(_0x1466f4===0x1)return!0x1;for(let _0x35afbe=0x0;_0x35afbe<_0x1466f4;_0x35afbe++){const _0x33104d=_0x29b4eb[_0x35afbe];if(!(_0x33104d instanceof a[_0x53ccdc(0x1f8)])&&a['OPERATOR_TOKEN_SET'][_0x53ccdc(0x21d)](_0x33104d))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x1ed6f2,_0x2efde8,_0x55d849,_0x490b78,_0x5374d1){const _0x3321d5=_0x2d114a,_0x476bb5=this[_0x3321d5(0x224)](_0x1ed6f2,!0x1);if(!_0x476bb5||_0x476bb5===a['ErrorType']['VALUE']||Array['isArray'](_0x476bb5))return null;this['_clearPrefix'](),this[_0x3321d5(0x25a)]=_0x2efde8;const _0x4372c2=this[_0x3321d5(0x29b)](_0x476bb5,_0x55d849,_0x490b78,_0x5374d1);return this[_0x3321d5(0x25a)]='',this[_0x3321d5(0x1bf)](),_0x4372c2;}[_0x2d114a(0x29b)](_0x7ed7b8,_0x5b2ada,_0x47252e,_0x9a597e){const _0x5eac0f=_0x2d114a,_0x21331e={'value':'','children':[],'startIndex':0x0};let _0x4072ee=_0x7ed7b8;if(_0x4072ee instanceof a[_0x5eac0f(0x1f8)]&&(_0x4072ee[_0x5eac0f(0x254)]()===a[_0x5eac0f(0x217)]||_0x4072ee[_0x5eac0f(0x254)]()===a[_0x5eac0f(0x200)])&&_0x4072ee[_0x5eac0f(0x1c9)]()[_0x5eac0f(0x23e)]===0x1&&(_0x4072ee=_0x4072ee[_0x5eac0f(0x1c9)]()[0x0]),!(_0x4072ee instanceof a['LexerNode']))return this['_handleTextNodeForExprTree'](_0x4072ee,_0x47252e,_0x9a597e);const _0x1132d0=_0x4072ee['getChildren'](),_0x142607=_0x1132d0[_0x5eac0f(0x23e)],_0x27c247=[];this[_0x5eac0f(0x20c)](_0x4072ee,_0x27c247,_0x5b2ada),_0x21331e[_0x5eac0f(0x211)]=_0x27c247[_0x5eac0f(0x292)](''),_0x21331e['startIndex']=_0x4072ee[_0x5eac0f(0x228)]();const _0x4387e4=this['_getCurNodeTypeForExprTree'](_0x4072ee);if(_0x4387e4===0x2){const _0x574b53=_0x1132d0[0x0];if(_0x574b53 instanceof a[_0x5eac0f(0x1f8)]){if(_0x574b53['getToken']()[_0x5eac0f(0x1d2)]()!==a[_0x5eac0f(0x240)])return _0x21331e;this[_0x5eac0f(0x242)](_0x574b53,_0x21331e,_0x5b2ada,_0x47252e,_0x9a597e);}return _0x21331e;}else{if(_0x4387e4===0x1){for(let _0x26957b=0x0;_0x26957b<_0x142607-0x1;_0x26957b++){const _0x2ad249=_0x1132d0[_0x26957b];if(_0x2ad249 instanceof a['LexerNode']&&_0x26957b%0x2===0x1){const _0x1a1b6b=_0x2ad249['getChildren']();if(_0x1a1b6b[_0x5eac0f(0x23e)]===0x1&&!(_0x1a1b6b[0x0]instanceof a[_0x5eac0f(0x1f8)]))continue;const _0xb3b566=this['_generateExprTree'](_0x2ad249,_0x5b2ada,_0x47252e,_0x9a597e);_0xb3b566&&_0x21331e[_0x5eac0f(0x244)][_0x5eac0f(0x28b)](_0xb3b566);}}return _0x21331e;}else{if(_0x4387e4===0x8){const _0x27e9c7=_0x1132d0[0x0];if(_0x27e9c7 instanceof a[_0x5eac0f(0x1f8)]){const _0x178dbd=_0x27e9c7[_0x5eac0f(0x1c9)]()[0x0];_0x178dbd instanceof a[_0x5eac0f(0x1f8)]&&(_0x21331e[_0x5eac0f(0x23f)]=_0x178dbd[_0x5eac0f(0x228)]());}if(this['_checkColonNodeForExprTree'](_0x4072ee))return _0x21331e;}else{if(_0x4387e4===0x7){const _0x11683d=_0x1132d0[0x0];if(_0x11683d instanceof a['LexerNode']){const _0x444ea1=_0x11683d[_0x5eac0f(0x1c9)]()[0x0];_0x444ea1 instanceof a[_0x5eac0f(0x1f8)]&&(_0x21331e[_0x5eac0f(0x23f)]=_0x444ea1[_0x5eac0f(0x228)]());}}}}}return this['_handleChildrenForExprTree'](_0x1132d0,_0x4387e4,_0x21331e,_0x5b2ada,_0x47252e,_0x9a597e),_0x21331e;}[_0x2d114a(0x1b9)](_0x386a2d,_0x174877,_0x398544,_0x513c27,_0x39cb7c,_0x3f5d00){const _0x4b6334=_0x2d114a;for(let _0x4f9918=0x0;_0x4f9918<_0x386a2d['length'];_0x4f9918++){let _0x49f51b=_0x386a2d[_0x4f9918];if(!(_0x49f51b instanceof a['LexerNode'])){const _0x15aff0=this['_handleTextNodeForExprTree'](_0x49f51b,_0x39cb7c,_0x3f5d00);_0x15aff0&&_0x398544[_0x4b6334(0x244)][_0x4b6334(0x28b)](_0x15aff0);continue;}const _0x366123=_0x49f51b[_0x4b6334(0x1c9)]();if(_0x366123[_0x4b6334(0x23e)]===0x1&&!(_0x366123[0x0]instanceof a['LexerNode'])){const _0x545671=_0x366123[0x0];if(!_0x39cb7c(this[_0x4b6334(0x25a)],_0x545671)&&!this['_getTableNameFromStructuredRef'](_0x545671,_0x3f5d00)&&!a[_0x4b6334(0x1d9)](_0x545671))continue;}if(_0x174877===0x8){const _0x311806=_0x366123[0x0];if(_0x311806 instanceof a[_0x4b6334(0x1f8)]){const _0x43c22f=_0x311806['getToken']()[_0x4b6334(0x1d2)]();if(a[_0x4b6334(0x1d9)](_0x43c22f))continue;_0x49f51b=_0x311806;}}const _0x4728de=this[_0x4b6334(0x29b)](_0x49f51b,_0x513c27,_0x39cb7c,_0x3f5d00);_0x4728de&&_0x398544['children'][_0x4b6334(0x28b)](_0x4728de);}}[_0x2d114a(0x281)](_0x330199){const _0x1198f3=_0x2d114a,_0x444587=_0x330199[_0x1198f3(0x1c9)]();if(_0x444587[_0x1198f3(0x23e)]<0x2)return!0x1;const _0x1bd82e=_0x444587[0x0],_0xd1a1ec=_0x444587[0x1];if(!(_0x1bd82e instanceof a[_0x1198f3(0x1f8)])||!(_0xd1a1ec instanceof a[_0x1198f3(0x1f8)]))return!0x1;const _0x49794d=_0x1bd82e[_0x1198f3(0x1c9)]()[0x0],_0x58f579=_0xd1a1ec['getChildren']()[0x0];if(!(_0x49794d instanceof a['LexerNode'])||!(_0x58f579 instanceof a[_0x1198f3(0x1f8)]))return!0x1;const _0xbf2b99=_0x49794d[_0x1198f3(0x254)]()[_0x1198f3(0x1d2)](),_0x3aa5cc=_0x58f579[_0x1198f3(0x254)]()['trim']();return!!a[_0x1198f3(0x1d9)](''+_0xbf2b99+a['matchToken']['COLON']+_0x3aa5cc);}['_handleTextNodeForExprTree'](_0xeac7d0,_0x1242c9,_0x596f27){const _0xe2618c=_0x2d114a,_0x47349d=_0xeac7d0['trim']();return _0x47349d[_0xe2618c(0x1e3)]('{')&&_0x47349d[_0xe2618c(0x248)]('}')||_0x1242c9(this[_0xe2618c(0x25a)],_0x47349d)||this[_0xe2618c(0x23b)](_0x47349d,_0x596f27)||a['isReferenceString'](_0x47349d)?{'value':_0x47349d,'children':[],'startIndex':-0x1}:null;}[_0x2d114a(0x23b)](_0x17e58d,_0x51e438){const _0x30f8b1=_0x2d114a,{tableName:_0x443192}=a['splitTableStructuredRef'](_0x17e58d);return _0x51e438(this[_0x30f8b1(0x25a)],_0x443192)?_0x443192:null;}[_0x2d114a(0x242)](_0x56a8bb,_0x553150,_0x40698a,_0x26b42a,_0x529f15){const _0x657fd6=_0x2d114a,_0x121300=_0x56a8bb[_0x657fd6(0x1c9)]();for(let _0x5085c8=0x0;_0x5085c8<_0x121300[_0x657fd6(0x23e)];_0x5085c8++){const _0x4f16c9=_0x121300[_0x5085c8];if(!(_0x4f16c9 instanceof a['LexerNode']))continue;const _0x54bf1d=_0x4f16c9[_0x657fd6(0x1c9)]();if(_0x54bf1d[_0x657fd6(0x23e)]===0x1&&!(_0x54bf1d[0x0]instanceof a[_0x657fd6(0x1f8)]))continue;const _0xb35ed2=this[_0x657fd6(0x29b)](_0x4f16c9,_0x40698a,_0x26b42a,_0x529f15);_0xb35ed2&&_0x553150[_0x657fd6(0x244)][_0x657fd6(0x28b)](_0xb35ed2);}}[_0x2d114a(0x246)](_0x8a03d2){const _0x47d851=_0x2d114a,_0x3caa06=_0x8a03d2['getToken'](),_0x5b5da6=_0x3caa06[_0x47d851(0x1d2)]()[_0x47d851(0x1be)]();let _0x3f2288=0x0;return _0x3caa06===a[_0x47d851(0x217)]?_0x3f2288=0x3:_0x3caa06===a[_0x47d851(0x200)]?_0x3f2288=0x4:_0x3caa06===a[_0x47d851(0x240)]?_0x3f2288=0x5:_0x5b5da6===a[_0x47d851(0x1c7)]?_0x3f2288=0x2:_0x5b5da6===a[_0x47d851(0x1d0)]?_0x3f2288=0x1:_0x5b5da6===a['matchToken'][_0x47d851(0x1e0)]?_0x3f2288=0x8:a[_0x47d851(0x288)][_0x47d851(0x21d)](_0x5b5da6)?_0x3f2288=0x7:_0x5b5da6===a[_0x47d851(0x209)][_0x47d851(0x25d)]?this['_checkAddBracketForMinus'](_0x8a03d2)&&(_0x3f2288=0x9):_0x3f2288=0xa,_0x3f2288;}}const P={0x0:'S',0x1:'d',0x2:'W',0x3:'T',0x4:'2',0x5:'G',0x6:'z',0x7:'x',0x8:'Y',0x9:'V','g':'0','l':'1','c':'3','E':'4','k':'5','q':'6','T':'7','j':'8','y':'9','C':'a','o':'b','N':'c','z':'e','d':'f','J':'g','r':'h','w':'i','v':'j','S':'k','f':'l','B':'m','b':'n','R':'o','a':'p','G':'q','K':'r','m':'s','H':'t','W':'u','A':'v','L':'w','h':'y','p':'A','e':'B','X':'C','I':'D','n':'E','\x20':'F','x':'H','M':'I','P':'J','F':'K','s':'L','U':'M','u':'N','t':'O','D':'P','Y':'Q','O':'R','V':'U','i':'X','Q':'Z','Z':'\x20'},k=_0x2d114a(0x273);class B extends a[_0x2d114a(0x241)]{constructor(){const _0x3ff877=_0x2d114a;super(...arguments),R(this,_0x3ff877(0x25e),new Map());}[_0x2d114a(0x1ea)](){const _0x1ac6a1=_0x2d114a;super[_0x1ac6a1(0x1ea)](),this[_0x1ac6a1(0x25e)][_0x1ac6a1(0x286)]();}async['generate'](_0x365945=!0x1){const _0x1abedd=_0x2d114a;this[_0x1abedd(0x2a5)]();const _0x31c54f=this['_currentConfigService']['getFormulaData'](),_0x32e3c1=this[_0x1abedd(0x1fe)][_0x1abedd(0x26d)](),_0x42af43=this[_0x1abedd(0x25b)]['getClearDependencyTreeCache']();_0x42af43!=null&&Object[_0x1abedd(0x20a)](_0x42af43)['forEach'](_0x4cf5b6=>{const _0x5979bb=_0x1abedd;_0x4cf5b6!=null&&Object[_0x5979bb(0x20a)](_0x42af43[_0x4cf5b6])[_0x5979bb(0x29f)](_0x1bf94b=>{const _0x4071fd=_0x5979bb;_0x1bf94b!=null&&(this[_0x4071fd(0x1cf)][_0x4071fd(0x266)](_0x4cf5b6,_0x1bf94b),this['_dependencyManagerService'][_0x4071fd(0x207)](_0x4cf5b6,_0x1bf94b),this[_0x4071fd(0x1cf)]['clearFormulaDependency'](_0x4cf5b6,_0x1bf94b));});});const _0x2c8b06=this[_0x1abedd(0x25b)][_0x1abedd(0x218)]();await this['_generateTreeList'](_0x31c54f,_0x32e3c1,_0x2c8b06),this[_0x1abedd(0x1cf)][_0x1abedd(0x23c)]();const _0xcaf525=this[_0x1abedd(0x277)](),_0x30eb11=this[_0x1abedd(0x279)](_0xcaf525);return this[_0x1abedd(0x290)](_0x30eb11)&&this['_runtimeService'][_0x1abedd(0x296)](),_0x365945&&this['_runtimeService'][_0x1abedd(0x1f3)](this['_getAllDependencyJson'](Array['from'](this[_0x1abedd(0x25e)]['values']()))),this[_0x1abedd(0x25e)]['clear'](),this[_0x1abedd(0x297)][_0x1abedd(0x286)](),this[_0x1abedd(0x1cf)]['closeKdTree'](),this[_0x1abedd(0x267)][_0x1abedd(0x27d)](),Promise[_0x1abedd(0x1c3)](_0x30eb11);}[_0x2d114a(0x214)](_0x25b5c3,_0x4c79b2){const _0x46237f=_0x2d114a,_0x3343dc=[_0x25b5c3];for(;_0x3343dc[_0x46237f(0x23e)]>0x0;){const _0x1a9d1c=_0x3343dc[_0x3343dc[_0x46237f(0x23e)]-0x1];if((_0x4c79b2[_0x46237f(0x294)](_0x1a9d1c)||0x0)===0x0){_0x4c79b2[_0x46237f(0x21c)](_0x1a9d1c,0x1);const _0x51b0a8=this[_0x46237f(0x25e)]['get'](_0x1a9d1c);if(_0x51b0a8==null){_0x4c79b2['set'](_0x1a9d1c,0x2),_0x3343dc['pop']();continue;}const _0x2b3bd2=this[_0x46237f(0x1cf)][_0x46237f(0x28d)](_0x51b0a8[_0x46237f(0x27e)]());for(const _0x2a9bbe of _0x2b3bd2){const _0xcc8677=_0x4c79b2[_0x46237f(0x294)](_0x2a9bbe)||0x0;if(_0xcc8677===0x1)return!0x0;_0xcc8677===0x0&&_0x3343dc[_0x46237f(0x28b)](_0x2a9bbe);}}else _0x4c79b2[_0x46237f(0x21c)](_0x1a9d1c,0x2),_0x3343dc[_0x46237f(0x1f0)]();}return!0x1;}['_checkIsCycleDependency'](_0x2eca6b){const _0x24d226=_0x2d114a,_0x4b00ad=new Map();for(const _0x5fa4da of _0x2eca6b)if(!_0x4b00ad['has'](_0x5fa4da[_0x24d226(0x1e1)])&&this['_isCyclicUtilMap'](_0x5fa4da['treeId'],_0x4b00ad))return!0x0;return _0x4b00ad['clear'](),!0x1;}[_0x2d114a(0x1f6)](_0x1ee223,_0x2b3abc,_0x58a6b5){const _0xa5350f=_0x2d114a,{unitId:_0x2ef611,subUnitId:_0x16a4db,dependencyRanges:_0x4c4ba4,getDirtyData:_0x1bec4c}=_0x58a6b5,_0x16d17d=_0x2b3abc||a[_0xa5350f(0x250)](this['_dependencyManagerService']),_0x53e685=new a[(_0xa5350f(0x1c6))](_0x16d17d);_0x53e685[_0xa5350f(0x1e2)]=_0x2ef611,_0x53e685[_0xa5350f(0x27c)]=_0x16a4db,_0x53e685[_0xa5350f(0x1f5)]=_0x4c4ba4,_0x53e685['getDirtyData']=_0x1bec4c;const _0x405b3d=_0x1bec4c(this['_currentConfigService'][_0xa5350f(0x263)](),this[_0xa5350f(0x267)][_0xa5350f(0x1e9)]()),_0xa7562=this[_0xa5350f(0x24b)](_0x405b3d[_0xa5350f(0x1c1)]);return _0x53e685['featureDirtyRanges']=_0xa7562,_0x53e685[_0xa5350f(0x259)]=_0x1ee223,_0x53e685[_0xa5350f(0x1ce)]=a['FormulaDependencyTreeType'][_0xa5350f(0x285)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x2ef611,_0x16a4db,_0x1ee223,_0x53e685),this['_dependencyTreeCache'][_0xa5350f(0x21c)](_0x53e685[_0xa5350f(0x1e1)],_0x53e685),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x58a6b5[_0xa5350f(0x1e2)],_0x58a6b5[_0xa5350f(0x27c)],_0x1ee223)&&(_0x53e685[_0xa5350f(0x24d)]=!0x0),_0x53e685;}['_registerOtherFormulas'](_0x3568ba,_0x102ff0,_0x4f8848){const _0x207199=_0x2d114a;var _0x35b89d;for(const _0x171cb0 of _0x102ff0){const _0x300a26=_0x3568ba[_0x171cb0];if(_0x300a26==null)continue;const _0x37f219=Object[_0x207199(0x20a)](_0x300a26);for(const _0xdde394 of _0x37f219){const _0x55accd=_0x300a26[_0xdde394];if(_0x55accd==null)continue;const _0x480d0c=Object[_0x207199(0x20a)](_0x55accd);for(const _0x1e6850 of _0x480d0c){const _0x4501e0=this[_0x207199(0x1cf)][_0x207199(0x205)](_0x1e6850),_0x57982f=_0x55accd[_0x1e6850],{f:_0xaadc22,ranges:_0x12e685}=_0x57982f;let _0x53cc74=!0x1;_0x4501e0&&(_0x53cc74=!0x0);const {firstRow:_0x35cc36,firstColumn:_0x3341d6}=this['_getFirstCellOfRange'](_0x12e685),_0x2468e9=this[_0x207199(0x1cf)]['getOtherFormulaDependency'](_0x171cb0,_0xdde394,_0x1e6850),_0x21a55e=(_0x35b89d=_0x2468e9==null?void 0x0:_0x2468e9[_0x207199(0x237)](0x0,0x0))!=null?_0x35b89d:a[_0x207199(0x250)](this[_0x207199(0x1cf)]),_0x50d6e7=new a[(_0x207199(0x1c6))](_0x21a55e);for(let _0x5e4d62=0x0;_0x5e4d62<_0x12e685['length'];_0x5e4d62++){const _0x3a7eab=_0x12e685[_0x5e4d62],{startRow:_0x341d5b,startColumn:_0x5e2bed,endRow:_0x44e151,endColumn:_0x598938}=_0x3a7eab;for(let _0x15d5ff=_0x341d5b;_0x15d5ff<=_0x44e151;_0x15d5ff++)for(let _0x303ea0=_0x5e2bed;_0x303ea0<=_0x598938;_0x303ea0++){const _0x386843=_0x303ea0-_0x3341d6,_0xff1f6e=_0x15d5ff-_0x35cc36;if(_0x386843===0x0&&_0xff1f6e===0x0){_0x50d6e7['formula']=_0xaadc22,_0x50d6e7[_0x207199(0x1e2)]=_0x171cb0,_0x50d6e7[_0x207199(0x27c)]=_0xdde394,_0x50d6e7[_0x207199(0x202)]=_0x1e6850,_0x50d6e7[_0x207199(0x1ce)]=a[_0x207199(0x284)][_0x207199(0x236)],_0x50d6e7[_0x207199(0x24d)]=_0x53cc74,_0x4f8848[_0x207199(0x28b)](_0x50d6e7),this[_0x207199(0x25e)][_0x207199(0x21c)](_0x50d6e7[_0x207199(0x1e1)],_0x50d6e7),this[_0x207199(0x1cf)]['addOtherFormulaDependency'](_0x171cb0,_0xdde394,_0x1e6850,_0x50d6e7),this['_dependencyManagerService'][_0x207199(0x225)](_0x50d6e7);continue;}const _0x58166d=new a['FormulaDependencyTreeVirtual']();_0x58166d[_0x207199(0x1e1)]=(_0x2468e9==null?void 0x0:_0x2468e9[_0x207199(0x237)](_0x386843,_0xff1f6e))||a[_0x207199(0x250)](this[_0x207199(0x1cf)]),_0x58166d['refTree']=_0x50d6e7,_0x58166d['refOffsetX']=_0x386843,_0x58166d['refOffsetY']=_0xff1f6e,_0x58166d[_0x207199(0x24d)]=_0x53cc74,_0x58166d[_0x207199(0x1ce)]=a['FormulaDependencyTreeType']['OTHER_FORMULA'],this[_0x207199(0x1cf)][_0x207199(0x22d)](_0x171cb0,_0xdde394,_0x1e6850,_0x58166d),this[_0x207199(0x1cf)][_0x207199(0x225)](_0x58166d),_0x4f8848['push'](_0x58166d),this['_dependencyTreeCache'][_0x207199(0x21c)](_0x58166d['treeId'],_0x58166d);}}this[_0x207199(0x1cf)][_0x207199(0x1bd)](_0x1e6850);}}}}[_0x2d114a(0x1bc)](_0xe670a1,_0x4cb26b,_0xec6439,_0x3ec65b){const _0x58956a=_0x2d114a;for(const _0x2ab856 of _0xe670a1){const _0x3c0322=_0x4cb26b[_0x2ab856];if(_0x3c0322==null)continue;const _0x61af1b=Object[_0x58956a(0x20a)](_0x3c0322);for(const _0x3d5445 of _0x61af1b){const _0x192ee7=new N[(_0x58956a(0x1ca))](_0x3c0322[_0x3d5445]||{}),_0x30ea46=new Map();_0x192ee7[_0x58956a(0x27f)]((_0x278083,_0x13a37b,_0x2a39c3)=>{const _0x27ace2=_0x58956a;if(_0x2a39c3==null)return!0x0;const {x:_0x192b5b=0x0,y:y=0x0,si:_0x1c7508}=_0x2a39c3;if(!(_0x192b5b===0x0&&y===0x0&&_0x1c7508!=null))return!0x0;const _0x434004=this[_0x27ace2(0x20d)](_0x2ab856,_0x3d5445,_0x278083,_0x13a37b,_0xec6439,_0x2a39c3),_0x25b294=this['_dependencyManagerService'][_0x27ace2(0x1cd)](_0x2ab856,_0x3d5445,_0x278083,_0x13a37b);_0x25b294!=null?_0x434004[_0x27ace2(0x1e1)]=_0x25b294:(this[_0x27ace2(0x1cf)][_0x27ace2(0x253)](_0x2ab856,_0x3d5445,_0x278083,_0x13a37b,_0x434004),this[_0x27ace2(0x1cf)][_0x27ace2(0x225)](_0x434004)),_0x30ea46['set'](_0x1c7508,_0x434004),_0x3ec65b[_0x27ace2(0x28b)](_0x434004),this[_0x27ace2(0x25e)][_0x27ace2(0x21c)](_0x434004[_0x27ace2(0x1e1)],_0x434004);}),_0x192ee7[_0x58956a(0x27f)]((_0x449cfe,_0x15bfab,_0x267c5b)=>{const _0x564129=_0x58956a;if(_0x267c5b==null)return!0x0;const {x:_0x2d626b=0x0,y:y=0x0,si:_0x57261c}=_0x267c5b;if(_0x2d626b===0x0&&y===0x0&&_0x57261c!=null)return!0x0;let _0x25d03a;if(_0x57261c&&_0x30ea46['has'](_0x57261c)){const _0x54cdd4=_0x30ea46[_0x564129(0x294)](_0x57261c);_0x25d03a=this[_0x564129(0x1f7)](_0x54cdd4,_0x267c5b);}else _0x25d03a=this['_createFDtree'](_0x2ab856,_0x3d5445,_0x449cfe,_0x15bfab,_0xec6439,_0x267c5b);const _0x5a6c78=this['_dependencyManagerService'][_0x564129(0x1cd)](_0x2ab856,_0x3d5445,_0x449cfe,_0x15bfab);_0x5a6c78!=null?_0x25d03a[_0x564129(0x1e1)]=_0x5a6c78:(this[_0x564129(0x1cf)][_0x564129(0x253)](_0x2ab856,_0x3d5445,_0x449cfe,_0x15bfab,_0x25d03a),this[_0x564129(0x1cf)][_0x564129(0x225)](_0x25d03a)),_0x3ec65b[_0x564129(0x28b)](_0x25d03a),this[_0x564129(0x25e)][_0x564129(0x21c)](_0x25d03a[_0x564129(0x1e1)],_0x25d03a);}),_0x30ea46['clear']();}}}[_0x2d114a(0x20d)](_0x45691c,_0x54e5b5,_0x164494,_0x1c5815,_0x1aa3d7,_0x2fa9c5){const _0x13cd04=_0x2d114a,{f:_0x488686,x:_0x13aa9f=0x0,y:_0x28dd26=0x0}=_0x2fa9c5,_0x153aa6=new a['FormulaDependencyTree'](a[_0x13cd04(0x250)](this[_0x13cd04(0x1cf)])),_0x41f2a4=_0x1aa3d7[_0x45691c][_0x54e5b5];return _0x153aa6[_0x13cd04(0x201)]=_0x488686,_0x153aa6[_0x13cd04(0x1e2)]=_0x45691c,_0x153aa6[_0x13cd04(0x27c)]=_0x54e5b5,_0x153aa6[_0x13cd04(0x251)]=_0x164494,_0x153aa6[_0x13cd04(0x1c4)]=_0x1c5815,_0x153aa6[_0x13cd04(0x2a8)]=_0x41f2a4['rowCount'],_0x153aa6[_0x13cd04(0x20f)]=_0x41f2a4[_0x13cd04(0x20f)],_0x153aa6;}[_0x2d114a(0x277)](){const _0x15e546=_0x2d114a,_0x139d52=[],_0x1bd0ad=new Set(),_0x58e246=this[_0x15e546(0x25b)][_0x15e546(0x21f)](),_0x4af77f=this['_currentConfigService']['getDirtyRanges'](),_0x17eb98=this[_0x15e546(0x1cf)][_0x15e546(0x28d)](_0x4af77f),_0x5d50cd=this[_0x15e546(0x297)][_0x15e546(0x1ec)](_0x4af77f);for(const _0x5e6639 of _0x5d50cd)_0x17eb98['add'](_0x5e6639);for(const [_0x3ac0c2,_0x53745f]of this[_0x15e546(0x25e)])(_0x58e246||_0x53745f['isDirty']||_0x53745f[_0x15e546(0x235)](this[_0x15e546(0x25b)][_0x15e546(0x289)]())||_0x17eb98[_0x15e546(0x21d)](_0x3ac0c2)&&!_0x53745f[_0x15e546(0x276)](this['_currentConfigService'][_0x15e546(0x26b)]()))&&!_0x1bd0ad[_0x15e546(0x21d)](_0x3ac0c2)&&(_0x139d52['push'](_0x53745f),_0x1bd0ad['add'](_0x3ac0c2));for(const [_0x4fac0e,_0x201676]of this[_0x15e546(0x25e)])_0x201676[_0x15e546(0x287)]||(_0x201676['rangeList'][_0x15e546(0x23e)]=0x0);return _0x139d52;}[_0x2d114a(0x1f2)](_0x23d5a6){const _0x3509b2=_0x2d114a;return this[_0x3509b2(0x25e)][_0x3509b2(0x294)](_0x23d5a6);}[_0x2d114a(0x293)](_0x2d5030){const _0x2aa3db=_0x2d114a;return a['generateAstNode'](_0x2d5030[_0x2aa3db(0x1e2)],_0x2d5030[_0x2aa3db(0x201)],this[_0x2aa3db(0x20e)],this[_0x2aa3db(0x1ed)],this['_currentConfigService']);}*['_traverse'](_0x5c685d,_0x322bd0){const _0x226e81=_0x2d114a,_0x4d6f77=_0x5c685d,_0x9840f=new Set();for(;_0x4d6f77['length']>0x0;){const _0x539c49=_0x4d6f77[_0x226e81(0x1f0)]();if(_0x9840f[_0x226e81(0x286)](),_0x539c49===void 0x0||_0x539c49[_0x226e81(0x1dc)]())continue;if(_0x539c49['isAdded']()){yield _0x539c49,_0x539c49[_0x226e81(0x1d4)](),_0x322bd0[_0x226e81(0x1e4)](_0x539c49[_0x226e81(0x1e1)]);continue;}const _0x1e73a0=this[_0x226e81(0x1cf)][_0x226e81(0x28d)](_0x539c49[_0x226e81(0x27e)](),_0x322bd0),_0x44df1e=this[_0x226e81(0x297)][_0x226e81(0x1ec)](_0x539c49[_0x226e81(0x27e)](),_0x322bd0);for(const _0x187ae0 of _0x44df1e)_0x1e73a0[_0x226e81(0x1e4)](_0x187ae0);for(const _0x1a7c24 of _0x1e73a0){const _0x236344=this['_dependencyTreeCache'][_0x226e81(0x294)](_0x1a7c24);if(!_0x236344){console['error'](_0x226e81(0x28e),_0x1a7c24);continue;}_0x236344[_0x226e81(0x283)]()||_0x539c49[_0x226e81(0x1dc)]()||_0x9840f[_0x226e81(0x1e4)](_0x236344);}if(_0x1e73a0['clear'](),_0x9840f[_0x226e81(0x1fa)]===0x0)yield _0x539c49,_0x539c49['setSkip'](),_0x322bd0[_0x226e81(0x1e4)](_0x539c49[_0x226e81(0x1e1)]);else{_0x539c49[_0x226e81(0x255)](),_0x4d6f77['push'](_0x539c49);for(const _0x2f36ed of _0x9840f)_0x4d6f77[_0x226e81(0x28b)](_0x2f36ed);}}_0x4d6f77['length']=0x0,_0x9840f[_0x226e81(0x286)]();}[_0x2d114a(0x279)](_0x1a7a37){const _0x19174d=_0x2d114a,_0x7dec7c=[],_0x3f4014=new Set();for(const _0x3ad405 of this[_0x19174d(0x1c0)](_0x1a7a37,_0x3f4014))_0x7dec7c['push'](_0x3ad405);return _0x7dec7c;}async[_0x2d114a(0x1e8)](){const _0x5cb2da=_0x2d114a;return await this['_initializeGenerateTreeList'](),Array[_0x5cb2da(0x2aa)](this['_dependencyTreeCache']['values']());}[_0x2d114a(0x1dd)](_0x279a4b){const _0x1885eb=_0x2d114a;return this[_0x1885eb(0x1cf)][_0x1885eb(0x28d)](_0x279a4b[_0x1885eb(0x27e)]());}[_0x2d114a(0x2b0)](_0x578c86){const _0x34ee16=_0x2d114a,_0x3a9e5d=new Set(),_0x426042=_0x578c86[_0x34ee16(0x1f5)];for(const [_0x8066a2,_0x5e4224]of this['_dependencyTreeCache'])for(const _0xb9a97 of _0x426042){const _0x183a0f=_0xb9a97[_0x34ee16(0x1e2)],_0x4f4e27=_0xb9a97[_0x34ee16(0x2ac)];if(_0x5e4224['unitId']!==_0x183a0f||_0x5e4224['subUnitId']!==_0x4f4e27)continue;const _0x5e207b=_0xb9a97['range'];if(_0x5e4224[_0x34ee16(0x24f)](_0x5e207b)){_0x3a9e5d[_0x34ee16(0x1e4)](_0x8066a2);break;}}return _0x3a9e5d;}['_startFormulaDependencyTreeModel'](){this['_dependencyManagerService']['openKdTree']();}[_0x2d114a(0x22a)](){const _0x3bafe1=_0x2d114a;this[_0x3bafe1(0x24a)][_0x3bafe1(0x286)](),this['_dependencyTreeCache'][_0x3bafe1(0x286)](),this[_0x3bafe1(0x1cf)][_0x3bafe1(0x25f)]();}}function _0x3c1a(_0x296db2,_0x4f2870){_0x296db2=_0x296db2-0x1b9;const _0xb0875d=_0xb087();let _0x3c1a79=_0xb0875d[_0x296db2];return _0x3c1a79;}class W extends a[_0x2d114a(0x1eb)]{async[_0x2d114a(0x2ae)](_0x46f5e4=!0x1){const _0x27076b=_0x2d114a;_0x46f5e4?this[_0x27076b(0x267)]['setFormulaExecuteStage'](a[_0x27076b(0x2a0)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x27076b(0x267)]['setFormulaExecuteStage'](a[_0x27076b(0x2a0)][_0x27076b(0x231)]),this[_0x27076b(0x2af)]['next'](this[_0x27076b(0x267)][_0x27076b(0x27b)]());const _0x46014c=await this[_0x27076b(0x23a)]['generate'](this[_0x27076b(0x204)]),_0x1a3e10=this['_interpreter'];_0x46f5e4?(this['_runtimeService'][_0x27076b(0x22b)](a['FormulaExecuteStageType'][_0x27076b(0x1e7)]),this[_0x27076b(0x267)][_0x27076b(0x24e)](_0x46014c[_0x27076b(0x23e)])):(this[_0x27076b(0x267)]['setFormulaExecuteStage'](a[_0x27076b(0x2a0)][_0x27076b(0x22f)]),this[_0x27076b(0x267)][_0x27076b(0x1d6)](_0x46014c[_0x27076b(0x23e)])),this['_executionInProgressListener$'][_0x27076b(0x1f4)](this['_runtimeService'][_0x27076b(0x27b)]());let _0x22336e=[];const _0x47ed1f=this[_0x27076b(0x1ff)][_0x27076b(0x222)](a[_0x27076b(0x206)]),_0x3871ad=(_0x47ed1f==null?void 0x0:_0x47ed1f[_0x27076b(0x299)])||a[_0x27076b(0x1d3)];let _0xe1955d=0x0;const _0x4f4873=_0x46014c['length'];for(;_0x46014c[_0x27076b(0x23e)]>0x0;){const _0xf6c30b=_0x46014c[_0x27076b(0x1f0)](),_0x4ccdc9=a[_0x27076b(0x1c5)](_0xf6c30b[_0x27076b(0x1e2)],_0xf6c30b[_0x27076b(0x201)],this['_lexer'],this[_0x27076b(0x1ed)],this[_0x27076b(0x25b)]),_0x3c27bf={'node':_0x4ccdc9,'refOffsetX':_0xf6c30b[_0x27076b(0x232)],'refOffsetY':_0xf6c30b['refOffsetY']},_0x4bf1dd=_0xf6c30b[_0x27076b(0x263)];if(_0xe1955d%_0x3871ad===0x0&&(await new Promise(_0x36e64d=>{const _0xdf1f61=N['requestImmediateMacroTask'](_0x36e64d);_0x22336e['push'](_0xdf1f61);}),_0x46f5e4?(this[_0x27076b(0x267)][_0x27076b(0x22b)](a[_0x27076b(0x2a0)][_0x27076b(0x234)]),this[_0x27076b(0x267)]['setCompletedArrayFormulasCount'](_0xe1955d+0x1)):(this[_0x27076b(0x267)][_0x27076b(0x22b)](a[_0x27076b(0x2a0)][_0x27076b(0x261)]),this[_0x27076b(0x267)][_0x27076b(0x1e5)](_0xe1955d+0x1)),this[_0x27076b(0x2af)][_0x27076b(0x1f4)](this['_runtimeService'][_0x27076b(0x27b)]()),this[_0x27076b(0x267)]['isStopExecution']()||_0x3c27bf==null&&_0x4bf1dd==null)){this[_0x27076b(0x267)]['setFormulaExecuteStage'](a[_0x27076b(0x2a0)][_0x27076b(0x1cb)]),this[_0x27076b(0x267)]['markedAsStopFunctionsExecuted'](),this[_0x27076b(0x1ba)]['next'](this['_runtimeService']['getAllRuntimeData']());return;}this['_runtimeService']['setCurrent'](_0xf6c30b[_0x27076b(0x251)],_0xf6c30b['column'],_0xf6c30b[_0x27076b(0x2a8)],_0xf6c30b[_0x27076b(0x20f)],_0xf6c30b[_0x27076b(0x27c)],_0xf6c30b[_0x27076b(0x1e2)]);let _0x323921;if(_0x4bf1dd!=null&&_0xf6c30b['featureId']!=null){const {runtimeCellData:_0x288ccf,dirtyRanges:_0x10dcc1}=_0x4bf1dd(this['_currentConfigService']['getDirtyData'](),this[_0x27076b(0x267)][_0x27076b(0x1e9)]());this[_0x27076b(0x267)]['setRuntimeFeatureCellData'](_0xf6c30b[_0x27076b(0x259)],_0x288ccf),this[_0x27076b(0x267)][_0x27076b(0x1f1)](_0xf6c30b[_0x27076b(0x259)],_0x10dcc1);}else _0x3c27bf!=null&&(_0x1a3e10[_0x27076b(0x1fc)](_0x3c27bf[_0x27076b(0x1f9)])?_0x323921=await _0x1a3e10[_0x27076b(0x291)](_0x3c27bf):_0x323921=_0x1a3e10[_0x27076b(0x226)](_0x3c27bf),_0xf6c30b[_0x27076b(0x202)]!=null?this['_runtimeService'][_0x27076b(0x1fb)](_0xf6c30b[_0x27076b(0x202)],_0xf6c30b[_0x27076b(0x232)],_0xf6c30b[_0x27076b(0x295)],_0x323921):this['_runtimeService']['setRuntimeData'](_0x323921));_0x4ccdc9['resetCalculationState'](),_0xe1955d++;}return _0x22336e[_0x27076b(0x29f)](_0x79879e=>_0x79879e()),_0x22336e=[],_0x4f4873>0x0?this[_0x27076b(0x267)][_0x27076b(0x28c)]():_0x46f5e4||this['_runtimeService'][_0x27076b(0x243)](),this['_runtimeService'][_0x27076b(0x1e9)]();}}class J extends a[_0x2d114a(0x1ee)]{constructor(){const _0x41a8ba=_0x2d114a;super(...arguments),R(this,_0x41a8ba(0x2a9),new Map()),R(this,_0x41a8ba(0x239),new N[(_0x41a8ba(0x1e6))](!0x0));}[_0x2d114a(0x265)](){const _0x48e0ef=_0x2d114a;this[_0x48e0ef(0x25c)][_0x48e0ef(0x286)](),this[_0x48e0ef(0x1cc)][_0x48e0ef(0x286)](),this['_formulaData'][_0x48e0ef(0x286)](),this['_dependencyRTreeCache'][_0x48e0ef(0x286)](),this[_0x48e0ef(0x2a9)][_0x48e0ef(0x286)](),this['_restDependencyTreeId'](),this[_0x48e0ef(0x21e)][_0x48e0ef(0x286)]();}[_0x2d114a(0x22d)](_0x531023,_0x3a8875,_0x5a73d7,_0x21f526){const _0x14b9b9=_0x2d114a;this[_0x14b9b9(0x25c)][_0x14b9b9(0x21d)](_0x531023)||this[_0x14b9b9(0x25c)]['set'](_0x531023,new Map());const _0x50f62c=this['_otherFormulaData'][_0x14b9b9(0x294)](_0x531023);_0x50f62c[_0x14b9b9(0x21d)](_0x3a8875)||_0x50f62c[_0x14b9b9(0x21c)](_0x3a8875,new Map());const _0x415e24=_0x50f62c[_0x14b9b9(0x294)](_0x3a8875);_0x415e24['has'](_0x5a73d7)||_0x415e24[_0x14b9b9(0x21c)](_0x5a73d7,new N[(_0x14b9b9(0x1ca))]()),_0x415e24[_0x14b9b9(0x294)](_0x5a73d7)[_0x14b9b9(0x282)](_0x21f526[_0x14b9b9(0x232)],_0x21f526['refOffsetY'],_0x21f526[_0x14b9b9(0x1e1)]);}[_0x2d114a(0x272)](_0x482102,_0x125175,_0x409c7b){const _0x45d6b8=_0x2d114a,_0x542dd8=this[_0x45d6b8(0x25c)][_0x45d6b8(0x294)](_0x482102);if(_0x542dd8&&_0x542dd8[_0x45d6b8(0x21d)](_0x125175)){const _0x5aaea4=_0x542dd8[_0x45d6b8(0x294)](_0x125175);_0x409c7b[_0x45d6b8(0x29f)](_0x4ce3c2=>{const _0x78b09d=_0x45d6b8,_0x3d9c3a=_0x5aaea4[_0x78b09d(0x294)](_0x4ce3c2);_0x3d9c3a!=null&&(_0x3d9c3a[_0x78b09d(0x27f)]((_0x21af6a,_0x5538cc,_0x57a695)=>{const _0x3ac879=_0x78b09d;this['_removeDependencyRTreeCache'](_0x57a695),this[_0x3ac879(0x2a7)](_0x57a695);}),_0x5aaea4['delete'](_0x4ce3c2),this[_0x78b09d(0x21e)][_0x78b09d(0x1df)](_0x4ce3c2));}),_0x5aaea4[_0x45d6b8(0x1fa)]===0x0&&_0x542dd8['delete'](_0x125175),_0x542dd8['size']===0x0&&this['_otherFormulaData'][_0x45d6b8(0x1df)](_0x482102);}}[_0x2d114a(0x266)](_0x2b710f,_0x29b78f){const _0x3cbecd=_0x2d114a,_0x4a3ee5=this[_0x3cbecd(0x25c)][_0x3cbecd(0x294)](_0x2b710f);if(_0x29b78f&&_0x4a3ee5&&_0x4a3ee5[_0x3cbecd(0x21d)](_0x29b78f)){const _0x445002=_0x4a3ee5[_0x3cbecd(0x294)](_0x29b78f);this['_removeDependencyRTreeCacheById'](_0x2b710f,_0x29b78f);for(const _0x3864b2 of _0x445002[_0x3cbecd(0x20a)]()){const _0x4fb3a9=_0x445002[_0x3cbecd(0x294)](_0x3864b2);_0x4fb3a9!=null&&(_0x4fb3a9['forValue']((_0x442cf7,_0x171f71,_0x5c4456)=>{const _0xcecc89=_0x3cbecd;this[_0xcecc89(0x2a9)][_0xcecc89(0x294)](_0x5c4456)&&this[_0xcecc89(0x2a7)](_0x5c4456);}),this[_0x3cbecd(0x21e)][_0x3cbecd(0x1df)](_0x3864b2));}_0x445002[_0x3cbecd(0x286)]();}else{if(_0x4a3ee5){for(const _0x14b3fe of _0x4a3ee5[_0x3cbecd(0x20a)]()){const _0x552248=_0x4a3ee5[_0x3cbecd(0x294)](_0x14b3fe);this[_0x3cbecd(0x210)](_0x2b710f,_0x14b3fe);for(const _0x888007 of _0x552248['keys']()){const _0x34c75a=_0x552248['get'](_0x888007);_0x34c75a!=null&&(_0x34c75a[_0x3cbecd(0x27f)]((_0x955978,_0x165e63,_0x31c719)=>{const _0x28cad6=_0x3cbecd;this[_0x28cad6(0x2a9)][_0x28cad6(0x294)](_0x31c719)&&this[_0x28cad6(0x2a7)](_0x31c719);}),this[_0x3cbecd(0x21e)][_0x3cbecd(0x1df)](_0x888007));}}this['_otherFormulaData'][_0x3cbecd(0x1df)](_0x2b710f);}}}[_0x2d114a(0x2ab)](_0x25cecc,_0x460a70,_0x145226,_0x4e1da0){const _0x465c89=_0x2d114a;this[_0x465c89(0x1cc)][_0x465c89(0x21d)](_0x25cecc)||this['_featureFormulaData'][_0x465c89(0x21c)](_0x25cecc,new Map());const _0x3fd535=this[_0x465c89(0x1cc)][_0x465c89(0x294)](_0x25cecc);_0x3fd535[_0x465c89(0x21d)](_0x460a70)||_0x3fd535[_0x465c89(0x21c)](_0x460a70,new Map()),_0x3fd535[_0x465c89(0x294)](_0x460a70)[_0x465c89(0x21c)](_0x145226,_0x4e1da0[_0x465c89(0x1e1)]);}['removeFeatureFormulaDependency'](_0xda1597,_0x31f5be,_0x4ae4e9){const _0x46e43=_0x2d114a,_0x14d082=this[_0x46e43(0x1cc)][_0x46e43(0x294)](_0xda1597);if(_0x14d082&&_0x14d082[_0x46e43(0x21d)](_0x31f5be)){const _0x263f2d=_0x14d082[_0x46e43(0x294)](_0x31f5be);_0x4ae4e9[_0x46e43(0x29f)](_0x33b637=>{const _0xc38f8c=_0x46e43,_0x406f34=_0x263f2d[_0xc38f8c(0x294)](_0x33b637);_0x406f34!=null&&(this['_removeDependencyRTreeCache'](_0x406f34),_0x263f2d[_0xc38f8c(0x1df)](_0x33b637),this[_0xc38f8c(0x2a7)](_0x406f34));});}}[_0x2d114a(0x207)](_0xd2bc98,_0x1d4519){const _0x346f25=_0x2d114a,_0x292d33=this[_0x346f25(0x1cc)][_0x346f25(0x294)](_0xd2bc98);if(_0x1d4519&&_0x292d33&&_0x292d33[_0x346f25(0x21d)](_0x1d4519)){const _0x100995=_0x292d33[_0x346f25(0x294)](_0x1d4519);this[_0x346f25(0x210)](_0xd2bc98,_0x1d4519),_0x100995[_0x346f25(0x29f)](_0x114fcd=>{const _0x42408a=_0x346f25;_0x114fcd!=null&&this[_0x42408a(0x2a7)](_0x114fcd);}),_0x100995[_0x346f25(0x286)]();}else _0x292d33&&(_0x292d33[_0x346f25(0x29f)]((_0x229f9e,_0x1a7c65)=>{const _0x3c56cf=_0x346f25;this[_0x3c56cf(0x210)](_0xd2bc98,_0x1a7c65),_0x229f9e[_0x3c56cf(0x29f)](_0x1881ea=>{const _0x44afaa=_0x3c56cf;_0x1881ea!=null&&this[_0x44afaa(0x2a7)](_0x1881ea);});}),this[_0x346f25(0x1cc)][_0x346f25(0x1df)](_0xd2bc98));}[_0x2d114a(0x253)](_0x3bb90d,_0x4db117,_0x128f08,_0x5b8497,_0x2e4fb7){const _0x5693c7=_0x2d114a;this[_0x5693c7(0x1da)][_0x5693c7(0x21d)](_0x3bb90d)||this[_0x5693c7(0x1da)]['set'](_0x3bb90d,new Map());const _0x1f90dc=this[_0x5693c7(0x1da)][_0x5693c7(0x294)](_0x3bb90d);_0x1f90dc[_0x5693c7(0x21d)](_0x4db117)||_0x1f90dc['set'](_0x4db117,new N[(_0x5693c7(0x1ca))]()),_0x1f90dc['get'](_0x4db117)[_0x5693c7(0x282)](_0x128f08,_0x5b8497,_0x2e4fb7[_0x5693c7(0x1e1)]);}['removeFormulaDependency'](_0x1dc1b8,_0x2b25d9,_0x9dff1c,_0x59d0be){const _0x3a6cee=_0x2d114a,_0x16a25c=this[_0x3a6cee(0x1da)][_0x3a6cee(0x294)](_0x1dc1b8);if(_0x16a25c&&_0x16a25c[_0x3a6cee(0x21d)](_0x2b25d9)){const _0x16a4e6=_0x16a25c[_0x3a6cee(0x294)](_0x2b25d9),_0x5bff0d=_0x16a4e6[_0x3a6cee(0x237)](_0x9dff1c,_0x59d0be);if(_0x5bff0d==null)return;this[_0x3a6cee(0x230)](_0x5bff0d),_0x16a4e6[_0x3a6cee(0x203)](_0x9dff1c,_0x59d0be),this[_0x3a6cee(0x2a7)](_0x5bff0d);}}[_0x2d114a(0x24c)](_0x2e4230,_0x425573){const _0x66d2b5=_0x2d114a,_0x4e7295=this[_0x66d2b5(0x1da)]['get'](_0x2e4230);if(_0x425573&&_0x4e7295&&_0x4e7295[_0x66d2b5(0x21d)](_0x425573)){const _0x563cc9=_0x4e7295[_0x66d2b5(0x294)](_0x425573);this[_0x66d2b5(0x210)](_0x2e4230,_0x425573),_0x563cc9[_0x66d2b5(0x27f)]((_0x53082c,_0x4bc8b8,_0x1de562)=>{const _0x149a77=_0x66d2b5;if(_0x1de562==null)return!0x0;this[_0x149a77(0x2a7)](_0x1de562);}),_0x563cc9[_0x66d2b5(0x265)]();}else _0x4e7295&&(_0x4e7295['forEach']((_0x320029,_0x5af5b2)=>{const _0x49066f=_0x66d2b5;this[_0x49066f(0x210)](_0x2e4230,_0x5af5b2),_0x320029[_0x49066f(0x27f)]((_0x31e63e,_0x3f8085,_0xb6ff)=>{if(_0xb6ff==null)return!0x0;this['_removeAllTreeMap'](_0xb6ff);});}),this['_formulaData']['delete'](_0x2e4230));}[_0x2d114a(0x230)](_0x52c2ad){const _0x4a55be=_0x2d114a;if(_0x52c2ad==null)return;const _0x4f8fa0=this['_allTreeMap'][_0x4a55be(0x294)](_0x52c2ad);if(_0x4f8fa0){const _0x5402f4=[];for(const [_0x3e2341,_0x34d5e7]of _0x4f8fa0)for(const [_0x4e1a6c,_0x1a6f02]of _0x34d5e7)_0x5402f4['push']({'unitId':_0x3e2341,'sheetId':_0x4e1a6c,'range':_0x1a6f02,'id':_0x52c2ad});this['_dependencyRTreeCache']['bulkRemove'](_0x5402f4);}}[_0x2d114a(0x2a4)](_0x58db29,_0x30ac45){const _0x4126fc=_0x2d114a,_0x21eba6=this[_0x4126fc(0x2b1)][_0x4126fc(0x294)](_0x58db29);if(_0x21eba6){const _0x5e1089=_0x21eba6[_0x4126fc(0x294)](_0x30ac45);if(_0x5e1089){for(const _0x517f40 of _0x5e1089)this[_0x4126fc(0x230)](_0x517f40),this[_0x4126fc(0x2a7)](_0x517f40);_0x5e1089[_0x4126fc(0x286)]();}}}[_0x2d114a(0x23c)](){const _0x305126=_0x2d114a;this[_0x305126(0x239)][_0x305126(0x23c)]();}[_0x2d114a(0x25f)](){const _0x5b1c12=_0x2d114a;this[_0x5b1c12(0x239)][_0x5b1c12(0x25f)]();}[_0x2d114a(0x2a7)](_0x3c9c5a){const _0x5e0f3a=_0x2d114a;_0x3c9c5a!=null&&this['_allTreeMap'][_0x5e0f3a(0x1df)](_0x3c9c5a);}[_0x2d114a(0x26e)](_0x4e6bc4){const _0x41dbe8=_0x2d114a;var _0x19687a,_0x498098;const _0x178d27=_0x4e6bc4[_0x41dbe8(0x1f5)];let _0x5c71bd=this[_0x41dbe8(0x2a9)][_0x41dbe8(0x294)](_0x4e6bc4[_0x41dbe8(0x1e1)]);for(let _0x39ad2d=0x0;_0x39ad2d<_0x178d27[_0x41dbe8(0x23e)];_0x39ad2d++){const _0xfadbc8=_0x178d27[_0x39ad2d];let {unitId:_0x386561,sheetId:_0x3496d2,range:_0x7ed08a}=_0xfadbc8;_0x5c71bd||(_0x5c71bd=new Map(),this[_0x41dbe8(0x2a9)]['set'](_0x4e6bc4[_0x41dbe8(0x1e1)],_0x5c71bd)),_0x5c71bd[_0x41dbe8(0x21d)](_0x386561)||_0x5c71bd['set'](_0x386561,new Map());const _0x42633b=(_0x19687a=_0x5c71bd==null?void 0x0:_0x5c71bd[_0x41dbe8(0x294)](_0x386561))==null?void 0x0:_0x19687a[_0x41dbe8(0x294)](_0x3496d2);_0x42633b&&(_0x7ed08a={'startRow':Math['min'](_0x7ed08a['startRow'],_0x42633b[_0x41dbe8(0x28a)]),'startColumn':Math['min'](_0x7ed08a[_0x41dbe8(0x213)],_0x42633b[_0x41dbe8(0x213)]),'endRow':Math['max'](_0x7ed08a[_0x41dbe8(0x274)],_0x42633b[_0x41dbe8(0x274)]),'endColumn':Math['max'](_0x7ed08a[_0x41dbe8(0x229)],_0x42633b[_0x41dbe8(0x229)])}),(_0x498098=_0x5c71bd['get'](_0x386561))==null||_0x498098[_0x41dbe8(0x21c)](_0x3496d2,_0x7ed08a);}}}var Y=Object[_0x2d114a(0x262)],V=(_0x49ec7b,_0x3ccb37,_0x2501b4,_0x5051b0)=>{const _0x8d09aa=_0x2d114a;for(var _0x210c62=_0x5051b0>0x1?void 0x0:_0x5051b0?Y(_0x3ccb37,_0x2501b4):_0x3ccb37,_0x34f7d6=_0x49ec7b[_0x8d09aa(0x23e)]-0x1,_0x4ce32f;_0x34f7d6>=0x0;_0x34f7d6--)(_0x4ce32f=_0x49ec7b[_0x34f7d6])&&(_0x210c62=_0x4ce32f(_0x210c62)||_0x210c62);return _0x210c62;};const $=Number[_0x2d114a(0x249)](0x6974714d);exports[_0x2d114a(0x208)]=class extends a['UniverFormulaEnginePlugin']{[_0x2d114a(0x256)](){const _0x28a139=_0x2d114a;var _0x304e44,_0x439646;this['_initLicenseValid']()?(this['_injector'][_0x28a139(0x1e4)]([a[_0x28a139(0x298)],{'useClass':b}]),(_0x304e44=this[_0x28a139(0x2a6)])!=null&&_0x304e44[_0x28a139(0x1d8)]||[[a[_0x28a139(0x269)],{'useClass':W}],[a[_0x28a139(0x270)],{'useClass':J}],[a[_0x28a139(0x275)],{'useClass':B}]][_0x28a139(0x29f)](_0x210d0a=>this[_0x28a139(0x220)][_0x28a139(0x1e4)](_0x210d0a))):(this['_injector'][_0x28a139(0x1e4)]([a[_0x28a139(0x298)],{'useClass':a[_0x28a139(0x298)]}]),(_0x439646=this[_0x28a139(0x2a6)])!=null&&_0x439646[_0x28a139(0x1d8)]||[[a[_0x28a139(0x269)],{'useClass':a[_0x28a139(0x1eb)]}],[a[_0x28a139(0x270)],{'useClass':a['DependencyManagerService']}],[a[_0x28a139(0x275)],{'useClass':a[_0x28a139(0x241)]}]]['forEach'](_0x31fa07=>this['_injector'][_0x28a139(0x1e4)](_0x31fa07)));}[_0x2d114a(0x2b3)](){const _0x1c2253=_0x2d114a;var _0x561ad8;const _0x1246da=(_0x561ad8=this['_configService']['getConfig'](w['LS_CONFIG_KEY']))!=null?_0x561ad8:{},{ls:_0x7e9d8b,pbk:_0x199e0b}=_0x1246da;if(!_0x7e9d8b||!_0x199e0b)return!0x1;const _0x3a9eed=w[_0x1c2253(0x21b)](k,P),_0x4cc389=new Function(_0x1c2253(0x2a3)+_0x3a9eed)()(_0x7e9d8b,_0x199e0b),_0x19f760=_0x4cc389[_0x1c2253(0x221)];return _0x4cc389[_0x1c2253(0x258)]&&w[_0x1c2253(0x247)](_0x19f760,'sf',$)?w[_0x1c2253(0x1d5)](_0x19f760,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x2d114a(0x208)]=V([N[_0x2d114a(0x1d7)](w[_0x2d114a(0x1de)])],exports[_0x2d114a(0x208)]),exports[_0x2d114a(0x21a)]=b,Object[_0x2d114a(0x20a)](a)[_0x2d114a(0x29f)](_0x256e5e=>{const _0x19fd7c=_0x2d114a;_0x256e5e!==_0x19fd7c(0x2b2)&&!Object[_0x19fd7c(0x212)][_0x19fd7c(0x22e)][_0x19fd7c(0x26f)](exports,_0x256e5e)&&Object[_0x19fd7c(0x268)](exports,_0x256e5e,{'enumerable':!0x0,'get':()=>a[_0x256e5e]});});function _0xb087(){const _0xbb27ab=['_updateRangeFlatten','_config','_removeAllTreeMap','rowCount','_allTreeMap','from','addFeatureFormulaDependency','sheetId','_hasNewExcelFunction','_apply','_executionInProgressListener$','_getDependencyTreeChildrenIds','_definedNameMap','default','_initLicenseValid','_handleChildrenForExprTree','_executionCompleteListener$','VALUE','_registerFormulas','addOtherFormulaDependencyMainData','toUpperCase','_resetPrefix','_traverse','dirtyRanges','150813RjpywS','resolve','column','generateAstNode','FormulaDependencyTree','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','\x22\x20is\x20duplicated.','getChildren','ObjectMatrix','IDLE','_featureFormulaData','getFormulaDependency','type','_dependencyManagerService','DEFAULT_TOKEN_LET_FUNCTION_NAME','2588jdBWYH','trim','DEFAULT_INTERVAL_COUNT','setSkip','getSheetFeatureLimit','setTotalFormulasToCalculate','DependentOn','notExecuteFormula','isReferenceString','_formulaData','910758ctttcr','isSkip','_getDependencyTreeParenIds','UniverLicensePlugin','delete','COLON','treeId','unitId','startsWith','add','setCompletedFormulasCount','RTree','START_CALCULATION_ARRAY_FORMULA','_getAllTreeList','getAllRuntimeData','dispose','CalculateFormulaService','bulkSearch','_astTreeBuilder','DependencyManagerBaseService','_clearFunctionString','pop','setRuntimeFeatureRange','_getTreeById','setDependencyTreeModelData','next','rangeList','_getFeatureFormulaTree','_createVirtualFDtree','LexerNode','node','size','setRuntimeOtherData','checkAsyncNode','_checkAddBracketForMinus','_otherFormulaManagerService','_configService','DEFAULT_TOKEN_TYPE_PARAMETER','formula','formulaId','realDeleteValue','_isCalculateTreeModel','hasOtherFormulaDataMainData','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','clearFeatureFormulaDependency','UniverProFormulaEnginePlugin','prefixToken','keys','isArray','_generateNewFunctionString','_createFDtree','_lexer','columnCount','_removeDependencyRTreeCacheById','value','prototype','startColumn','_isCyclicUtilMap','Let\x20variable\x20name\x20\x22','slice','DEFAULT_TOKEN_TYPE_ROOT','getUnitData','_handleNewFunctionChild','LexerTreeProBuilder','unshiftString','set','has','_otherFormulaDataMainData','isForceCalculate','_injector','message','getConfig','5duoodW','treeBuilder','addFormulaDependencyByDefinedName','execute','symbol','getStartIndex','endColumn','_endFormulaDependencyTreeModel','setFormulaExecuteStage','_xlfnPrefix','addOtherFormulaDependency','hasOwnProperty','START_CALCULATION','_removeDependencyRTreeCache','START_DEPENDENCY','refOffsetX','Module','CURRENTLY_CALCULATING_ARRAY_FORMULA','dependencySheetName','OTHER_FORMULA','getValue','1213296GJlVap','_dependencyRTreeCache','_formulaDependencyGenerator','_getTableNameFromStructuredRef','openKdTree','string','length','startIndex','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','FormulaDependencyGenerator','_handleLambdaForExprTree','markedAsNoFunctionsExecuted','children','matchToken','_getCurNodeTypeForExprTree','isFeatureAuthorizedWithinTime','endsWith','parseInt','_formulaDependencyTreeModel','_convertDirtyRangesToUnitRange','clearFormulaDependency','isCache','setTotalArrayFormulasToCalculate','inRangeData','generateRandomDependencyTreeId','row','Lambda\x20parameter\x20name\x20\x22','addFormulaDependency','getToken','setAdded','_initializeWithOverride','817040JDBGPJ','valid','featureId','_currentUnitId','_currentConfigService','_otherFormulaData','MINUS','_dependencyTreeCache','closeKdTree','569030vzcAZj','CURRENTLY_CALCULATING','getOwnPropertyDescriptor','getDirtyData','_xlpmPrefix','reset','clearOtherFormulaDependency','_runtimeService','defineProperty','ICalculateFormulaService','190TsYDTf','getExcludedRange','_xlpm.','getOtherFormulaData','_addAllTreeMap','call','IDependencyManagerService','243554rwYton','removeOtherFormulaDependency','/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH(\x27-\x27);ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z\x27Wb1zdwbz1\x27Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z\x27Wb1zdwbz1\x27Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z\x27Wb1zdwbz1\x27;ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr(\x27*.\x27))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr(\x27.\x27)Z&&ZrRmH.zb1m2wHr(\x27.\x27Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z\x27fRNCfrRmH\x27)Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}','endRow','IFormulaDependencyGenerator','isExcludeRange','_getUpdateTreeListAndMakeDependency','NEW_EXCEL_FUNCTIONS','_calculateRunList','_lambdaFunctionParameterSet','getRuntimeState','subUnitId','clearArrayObjectCache','toRTreeItem','forValue','2DXnEjF','_checkColonNodeForExprTree','setValue','isAdded','FormulaDependencyTreeType','FEATURE_FORMULA','clear','isVirtual','SUFFIX_TOKEN_SET','getDirtyNameMap','startRow','push','markedAsSuccessfullyExecuted','searchDependency','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','toStringTag','_checkIsCycleDependency','executeAsync','join','_getTreeNode','get','refOffsetY','enableCycleDependency','_dependencyRTreeCacheForAddressFunction','LexerTreeBuilder','intervalCount','_clearPrefix','_generateExprTree','PLUS','getNewFormulaWithPrefix','687AlvtAL','forEach','FormulaExecuteStageType','_xlfn.','ErrorType','return\x20','removeFormulaDependencyByDefinedName'];_0xb087=function(){return _0xbb27ab;};return _0xb087();}
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x426c(){var _0x12b013=['2230758Noqfcz','7fyMMVM','181599atYGOJ','27NYGYoU','979510UacOpo','686744nnoEGp','291011LMqGfK','205180hrRxrL','206264noXOvj'];_0x426c=function(){return _0x12b013;};return _0x426c();}function _0x2a8c(_0x5b13bf,_0x371ab6){_0x5b13bf=_0x5b13bf-0x1a2;var _0x426c66=_0x426c();var _0x2a8ccc=_0x426c66[_0x5b13bf];return _0x2a8ccc;}(function(_0x5c755e,_0x3dba21){var _0x1f36b2=_0x2a8c,_0x1f2269=_0x5c755e();while(!![]){try{var _0x18012d=-parseInt(_0x1f36b2(0x1a6))/0x1+parseInt(_0x1f36b2(0x1a7))/0x2+parseInt(_0x1f36b2(0x1a2))/0x3+parseInt(_0x1f36b2(0x1a8))/0x4+parseInt(_0x1f36b2(0x1a4))/0x5+parseInt(_0x1f36b2(0x1a9))/0x6*(parseInt(_0x1f36b2(0x1aa))/0x7)+-parseInt(_0x1f36b2(0x1a5))/0x8*(parseInt(_0x1f36b2(0x1a3))/0x9);if(_0x18012d===_0x3dba21)break;else _0x1f2269['push'](_0x1f2269['shift']());}catch(_0xa8e7e2){_0x1f2269['push'](_0x1f2269['shift']());}}}(_0x426c,0x39174));export*from'@univerjs/engine-formula/facade';
1
+ function _0x10c7(_0x4be268,_0xc11927){_0x4be268=_0x4be268-0x165;var _0x20c88d=_0x20c8();var _0x10c732=_0x20c88d[_0x4be268];return _0x10c732;}(function(_0x498bc7,_0x35936f){var _0x5e28fd=_0x10c7,_0x12fe96=_0x498bc7();while(!![]){try{var _0x5a9882=-parseInt(_0x5e28fd(0x167))/0x1*(parseInt(_0x5e28fd(0x16e))/0x2)+-parseInt(_0x5e28fd(0x171))/0x3*(parseInt(_0x5e28fd(0x166))/0x4)+parseInt(_0x5e28fd(0x16f))/0x5*(parseInt(_0x5e28fd(0x16c))/0x6)+-parseInt(_0x5e28fd(0x16b))/0x7+-parseInt(_0x5e28fd(0x165))/0x8*(parseInt(_0x5e28fd(0x168))/0x9)+-parseInt(_0x5e28fd(0x170))/0xa*(parseInt(_0x5e28fd(0x16a))/0xb)+parseInt(_0x5e28fd(0x169))/0xc*(parseInt(_0x5e28fd(0x16d))/0xd);if(_0x5a9882===_0x35936f)break;else _0x12fe96['push'](_0x12fe96['shift']());}catch(_0x5a829e){_0x12fe96['push'](_0x12fe96['shift']());}}}(_0x20c8,0x81204));export*from'@univerjs/engine-formula/facade';function _0x20c8(){var _0x3e57a6=['24748Brdwte','8615InJMxl','8972690Qnwssa','888660odToLM','51800WrnqBW','12MvzXXo','6WKpdBz','1449nqvvhq','12YZiKxN','11HdXXTX','6432657yYRPIA','3444lWCewt','43699461PiKQCj'];_0x20c8=function(){return _0x3e57a6;};return _0x20c8();}
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5c6bc5=_0x34a5;(function(_0x561748,_0x514463){const _0x360f2a=_0x34a5,_0xbe3c90=_0x561748();while(!![]){try{const _0x3145fe=-parseInt(_0x360f2a(0x237))/0x1*(parseInt(_0x360f2a(0x1d3))/0x2)+-parseInt(_0x360f2a(0x1d5))/0x3+-parseInt(_0x360f2a(0x189))/0x4*(parseInt(_0x360f2a(0x1d1))/0x5)+parseInt(_0x360f2a(0x176))/0x6*(-parseInt(_0x360f2a(0x225))/0x7)+parseInt(_0x360f2a(0x242))/0x8+-parseInt(_0x360f2a(0x218))/0x9+-parseInt(_0x360f2a(0x212))/0xa*(-parseInt(_0x360f2a(0x203))/0xb);if(_0x3145fe===_0x514463)break;else _0xbe3c90['push'](_0xbe3c90['shift']());}catch(_0x294bab){_0xbe3c90['push'](_0xbe3c90['shift']());}}}(_0x5a46,0x58758));var se=Object[_0x5c6bc5(0x1b9)],ae=(_0x20aa68,_0x5b357d,_0x1f17d4)=>_0x5b357d in _0x20aa68?se(_0x20aa68,_0x5b357d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f17d4}):_0x20aa68[_0x5b357d]=_0x1f17d4,F=(_0x2f3979,_0x239996,_0x3919fc)=>ae(_0x2f3979,typeof _0x239996!='symbol'?_0x239996+'':_0x239996,_0x3919fc);function _0x5a46(){const _0x5e2581=['join','node','addFormulaDependency','return\x20','_xlpm.','next','featureDirtyRanges','_getFirstCellOfRange','_removeDependencyRTreeCacheById','_executionInProgressListener$','_generateExprTree','endsWith','min','length','endColumn','getChildren','getStartIndex','endRow','getAllRuntimeData','refOffsetY','defineProperty','_removeDependencyRTreeCache','pop','_formulaData','startColumn','setAdded','_otherFormulaData','isForceCalculate','_isCyclicUtilMap','clearFormulaDependency','_getCurNodeTypeForExprTree','isDirty','formula','delete','/*t5nchVv-OhnNJc5t835d53-v548cNv5t*/dMV6vhQVtO563Z8vhQV(ch65Vn5,t8MJch6i5Z)t{ttttv3Zt{tttttttt6QVnvtch65Vn5UVdQ\x20N3vW33NZt=tch65Vn5.n8chv(\x27-\x27);tttttttt6QVnvtQ3hyhV75nnNy5t=tDs1e.8N3n5(NvQJ(ch65Vn5UVdQ\x20N3vW33NZ[G]));tttttttthdt(!Q3hyhV75nnNy5.MO)t{ttttttttttttQ3hyhV75nnNy5.MOt=teM4J53(ch65Vn5UVdQ\x20N3vW33NZ[A]);tttttttt}tttttttt6QVnvthnmQ3I53t=tvZ85QdtmQ3I53xcQJNcs6Q85t!==t\x27MVO5dhV5O\x27t&&tn5cdthVnvNV65QdtmQ3I53xcQJNcs6Q85;tttttttt6QVnvthnY3Qln53t=tvZ85QdtlhVOQlt!==t\x27MVO5dhV5O\x27t&&tvZ85QdtlhVOQl.cQ6NvhQVt!==t\x27MVO5dhV5O\x27;tttttttt6QVnvt6QVv52vt=thnmQ3I53t?tn5cdt:t(hnY3Qln53t?tlhVOQlt:tycQJNcKLhn);tttttttt6QVnvt45nnNy5mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[G]);tttttttt6QVnvt45nnNy5t=t6QVv52v.__H52__.nv3hVyhdZ(45nnNy5mQ3O);tttttttt6QVnvtnhyVNvM35mQ3Ot=t6QVv52v.__YNn5pA__.8N3n5(ch65Vn5UVdQ\x20N3vW33NZ[T]);tttttttt6QVnvtnhyVNvM35t=t6QVv52v.__H52__.nv3hVyhdZ(nhyVNvM35mQ3O);tttttttt6QVnvtnhyVXNchOt=t6QVv52v.__R53hdZ__(nhyVNvM35,t45nnNy5,t8MJch6i5Z);tttttttt6QVnvtOQ4NhVt=tQ3hyhV75nnNy5.O4;ttttttttdMV6vhQVthnFQ4NhV7Nv6LhVy(8Nvv53V,tLQnv)t{tttttttttttthdt(8Nvv53Vt===tLQnv)t35vM3Vtv3M5;tttttttttttthdt(8Nvv53V.nvN3vnmhvL(\x27*.\x27))t{tttttttttttttttt6QVnvtnMddh2t=t8Nvv53V.nch65(G);tttttttttttttttthdt(nMddh2t&&tnMddh2t===tLQnv)t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttttttthdt(nMddh2t&&t!LQnv.nvN3vnmhvL(\x27.\x27)t&&tLQnv.5VOnmhvL(\x27.\x27t+tnMddh2))t{tttttttttttttttttttt35vM3Vtv3M5;tttttttttttttttt}tttttttttttt}tttttttttttt35vM3VtdNcn5;tttttttt}ttttttttc5vtOQ4NhVXNchOt=tdNcn5;tttttttthdt(hnY3Qln53)t{ttttttttttttOQ4NhVXNchOt=t(OQ4NhVt&&tOQ4NhV.c5VyvL)t?tOQ4NhV.nQ45((O4Uv54)t=>thnFQ4NhV7Nv6LhVy(O4Uv54,tcQ6NvhQV.LQnvVN45))t:tv3M5;tttttttttttthdt(cQ6NvhQV.LQnvVN45t===t\x27cQ6NcLQnv\x27)t{ttttttttttttttttOQ4NhVXNchOt=tv3M5;tttttttttttt}tttttttt}t5cn5t{ttttttttttttOQ4NhVXNchOt=tv3M5;tttttttt}tttttttt6QVnvtRNchOt=tnhyVXNchOt&&tOQ4NhVXNchO;tttttttt35vM3Vt{ttttttttttttRNchO,tttttttttttt45nnNy5:tQ3hyhV75nnNy5,tttttttt};tttt}t6Nv6Lt(533Q3)t{tttttttt35vM3Vt{ttttttttttttRNchO:tdNcn5,tttttttttttt45nnNy5:t{},tttttttt};tttt}}','_dependencyTreeCache','START_DEPENDENCY','featureId','_runtimeService','OTHER_FORMULA','dirtyRanges','values','getDirtyData','markedAsNoFunctionsExecuted','1025WJKuYJ','_registerOtherFormulas','458576QcavLX','realDeleteValue','864063tGevrc','subUnitId','startsWith','treeId','_getTableNameFromStructuredRef','_dependencyManagerService','_checkIsCycleDependency','setCompletedArrayFormulasCount','getClearDependencyTreeCache','_isCalculateTreeModel','addFeatureFormulaDependency','_lexer','inRangeData','max','refTree','_hasNewExcelFunction','_clearPrefix','_clearFunctionString','treeBuilder','set','VALUE','_featureFormulaData','getRuntimeState','clearArrayObjectCache','MINUS','clearOtherFormulaDependency','isVirtual','getNewFormulaWithPrefix','getDirtyNameMap','_xlpmPrefix','getExcludedRange','_handleLambdaForExprTree','addOtherFormulaDependency','_getTreeById','setCompletedFormulasCount','_initializeWithOverride','refOffsetX','_checkAddBracketForMinus','Lambda\x20parameter\x20name\x20\x22','_otherFormulaManagerService','rangeList','sheetId','_configService','generate','_dependencyRTreeCacheForAddressFunction','markedAsStopFunctionsExecuted','3179DtNPsK','_otherFormulaDataMainData','_getTreeNode','startRow','type','_checkColonNodeForExprTree','setRuntimeFeatureCellData','CURRENTLY_CALCULATING','toUpperCase','formulaId','_definedNameMap','START_CALCULATION','_resetPrefix','_currentUnitId','_generateTreeList','59490YgDXsN','_generateNewFunctionString','isArray','addFormulaDependencyByDefinedName','isAdded','clearFeatureFormulaDependency','3464028mhmNte','columnCount','getDirtyRanges','getOtherFormulaDependency','children','setDependencyTreeModelData','forEach','setSkip','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','getConfig','intervalCount','getToken','error','4489772XiKNPX','_handleNewFunctionChild','isCache','_injector','range','removeFormulaDependency','_convertDirtyRangesToUnitRange','_allTreeMap','_restDependencyTreeId','size','bulkRemove','get','_getUpdateTreeListAndMakeDependency','_currentConfigService','startIndex','openKdTree','checkAsyncNode','_dependencyRTreeCache','2WsoJRr','_handleChildrenForExprTree','removeOtherFormulaDependency','closeKdTree','getFormulaDependency','isSkip','_xlfnPrefix','IDLE','toRTreeItem','searchDependency','resetCalculationState','5005336IUfsTT','dependencySheetName','dispose','keys','trim','add','resolve','unitId','enableCycleDependency','6iiOhQP','has','value','COLON','setRuntimeData','_traverse','string','START_CALCULATION_ARRAY_FORMULA','_astTreeBuilder','message','_createFDtree','_initLicenseValid','setValue','FEATURE_FORMULA','_handleTextNodeForExprTree','row','getOtherFormulaData','_xlfn.','column','4092xlwdiY','_removeAllTreeMap','isExcludeRange','setFormulaExecuteStage','rowCount','_config','_getDependencyTreeChildrenIds','_getAllTreeList','addOtherFormulaDependencyMainData','slice','forValue','PLUS','setRuntimeOtherData','clear','hasOtherFormulaDataMainData','_lambdaFunctionParameterSet','push','notExecuteFormula','_endFormulaDependencyTreeModel','getFormulaExprTree','_createVirtualFDtree','getOwnPropertyDescriptor','reset','_startFormulaDependencyTreeModel','getValue','START_DEPENDENCY_ARRAY_FORMULA','execute','_updateRangeFlatten'];_0x5a46=function(){return _0x5e2581;};return _0x5a46();}import{LexerTreeBuilder as _0x91f99,ErrorType as _0x2989dd,DEFAULT_TOKEN_TYPE_ROOT as _0x34e908,DEFAULT_TOKEN_TYPE_PARAMETER as _0x386ef6,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5e865d,NEW_EXCEL_FUNCTIONS as _0x2fff4f,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x9ecc0a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5c37ce,matchToken as _0x13630a,SUFFIX_TOKEN_SET as _0x5f3bca,prefixToken as _0x1677d5,LexerNode as _0x2d699b,OPERATOR_TOKEN_SET as _0x448706,isReferenceString as _0x6059c5,splitTableStructuredRef as _0x5908ed,FormulaDependencyGenerator as _0x53d693,generateRandomDependencyTreeId as _0x1acf17,FormulaDependencyTree as _0x1ccf95,FormulaDependencyTreeType as _0x53e470,FormulaDependencyTreeVirtual as _0x29a9b6,generateAstNode as _0x4296ca,CalculateFormulaService as _0xf68831,FormulaExecuteStageType as _0x459e19,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x7e8350,DEFAULT_INTERVAL_COUNT as _0x2feba4,DependencyManagerBaseService as _0x49f871,UniverFormulaEnginePlugin as _0xae29cb,ICalculateFormulaService as _0x368fee,IDependencyManagerService as _0x265ca2,IFormulaDependencyGenerator as _0xc52b1e,DependencyManagerService as _0x1e709a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x7d460a,LS_CONFIG_KEY as _0x10aacf,unshiftString as _0x3fea30,isFeatureAuthorizedWithinTime as _0x27d9ce,getSheetFeatureLimit as _0x2cc88d}from'@univerjs-pro/license';import{ObjectMatrix as _0x5b53ec,requestImmediateMacroTask as _0x42d291,RTree as _0x50ca2b,DependentOn as _0x20a83e}from'@univerjs/core';class De extends _0x91f99{constructor(){const _0x1ffd1c=_0x5c6bc5;super(...arguments),F(this,_0x1ffd1c(0x1e4),!0x1),F(this,_0x1ffd1c(0x198),new Set()),F(this,_0x1ffd1c(0x1f2),_0x1ffd1c(0x1a9)),F(this,_0x1ffd1c(0x23d),_0x1ffd1c(0x187)),F(this,_0x1ffd1c(0x210),'');}[_0x5c6bc5(0x20f)](){const _0x2dd8ad=_0x5c6bc5;this[_0x2dd8ad(0x1f2)]=_0x2dd8ad(0x1a9),this['_xlfnPrefix']='_xlfn.';}[_0x5c6bc5(0x1e5)](){const _0x10e3a9=_0x5c6bc5;this['_xlpmPrefix']='',this[_0x10e3a9(0x23d)]='';}[_0x5c6bc5(0x1f0)](_0x173a01,_0x83883c){const _0x7d46f6=_0x5c6bc5,_0x3850e3=this[_0x7d46f6(0x1e7)](_0x173a01,!0x1);if(!_0x3850e3||_0x3850e3===_0x2989dd['VALUE']||Array['isArray'](_0x3850e3))return null;const _0x295636=[];return this[_0x7d46f6(0x1e4)]=!0x1,this[_0x7d46f6(0x213)](_0x3850e3,_0x295636,_0x83883c),this['_hasNewExcelFunction']?'='+_0x295636[_0x7d46f6(0x1a5)](''):null;}[_0x5c6bc5(0x213)](_0x34758e,_0x15a284,_0x49e316){const _0x3d3d6c=_0x5c6bc5,_0x1c7c79=_0x34758e[_0x3d3d6c(0x223)](),_0x521408=_0x1c7c79[_0x3d3d6c(0x171)](),_0x22d446=_0x521408[_0x3d3d6c(0x20b)](),_0x2b8314=this[_0x3d3d6c(0x1e6)](_0x22d446),_0x28894c=_0x49e316(_0x2b8314);let _0x915a9c=0x0;_0x1c7c79===_0x34e908?_0x915a9c=0x3:_0x1c7c79===_0x386ef6?_0x915a9c=0x4:_0x1c7c79===_0x5e865d?_0x915a9c=0x5:_0x2fff4f[_0x3d3d6c(0x177)](_0x2b8314)?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0):_0x22d446===_0x9ecc0a?(_0x15a284['push'](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x2):_0x22d446===_0x5c37ce?(_0x15a284[_0x3d3d6c(0x199)](''+this['_xlfnPrefix']+_0x521408),this[_0x3d3d6c(0x1e4)]=!0x0,_0x915a9c=0x1):_0x22d446===_0x13630a[_0x3d3d6c(0x179)]?_0x915a9c=0x8:_0x5f3bca[_0x3d3d6c(0x177)](_0x22d446)?_0x915a9c=0x7:_0x22d446===_0x1677d5[_0x3d3d6c(0x1ed)]?(this['_checkAddBracketForMinus'](_0x34758e)&&(_0x915a9c=0x9),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79)):(_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),_0x915a9c=0xa),_0x28894c?(_0x915a9c!==0x2&&_0x915a9c!==0x1&&(_0x915a9c=0x6),_0x15a284[_0x3d3d6c(0x199)]('(')):_0x915a9c===0x9&&_0x15a284[_0x3d3d6c(0x199)]('(');const _0x4cf99e=_0x34758e[_0x3d3d6c(0x1b4)](),_0x52e26b=_0x4cf99e['length'];if(_0x915a9c===0x2){const _0x2de56b=_0x4cf99e[0x0];let _0x235389=0x0;_0x2de56b instanceof _0x2d699b&&_0x2de56b[_0x3d3d6c(0x223)]()===_0x5e865d&&(_0x235389=0x1);for(let _0x45cd49=_0x235389;_0x45cd49<_0x52e26b-0x1;_0x45cd49++){const _0x4869d8=_0x4cf99e[_0x45cd49];if(_0x4869d8 instanceof _0x2d699b){const _0x29abb7=_0x4869d8['getChildren']()[0x0];typeof _0x29abb7=='string'&&(this[_0x3d3d6c(0x198)]['has'](_0x29abb7)&&console[_0x3d3d6c(0x224)](_0x3d3d6c(0x1fb)+_0x29abb7+'\x22\x20is\x20duplicated.'),this[_0x3d3d6c(0x198)][_0x3d3d6c(0x172)](_0x29abb7),_0x15a284[_0x3d3d6c(0x199)](''+this[_0x3d3d6c(0x1f2)]+_0x29abb7),this['_hasNewExcelFunction']=!0x0);}_0x15a284[_0x3d3d6c(0x199)](',');}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x235389===0x1&&(_0x15a284[_0x3d3d6c(0x199)](')'),_0x15a284[_0x3d3d6c(0x199)]('('),this['_generateNewFunctionString'](_0x2de56b,_0x15a284,_0x49e316)),_0x15a284['push'](')');return;}else{if(_0x915a9c===0x1){for(let _0x176c45=0x0;_0x176c45<_0x52e26b-0x1;_0x176c45++){const _0x90c253=_0x4cf99e[_0x176c45];if(_0x90c253 instanceof _0x2d699b&&_0x176c45%0x2===0x0){const _0xcc4b5=_0x90c253[_0x3d3d6c(0x1b4)]()[0x0];if(typeof _0xcc4b5==_0x3d3d6c(0x17c)){this[_0x3d3d6c(0x198)]['has'](_0xcc4b5)&&console[_0x3d3d6c(0x224)]('Let\x20variable\x20name\x20\x22'+_0xcc4b5+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x3d3d6c(0x172)](_0xcc4b5),_0x15a284['push'](''+this[_0x3d3d6c(0x1f2)]+_0xcc4b5),this['_hasNewExcelFunction']=!0x0,_0x15a284[_0x3d3d6c(0x199)](',');continue;}}if(this[_0x3d3d6c(0x226)](_0x90c253,_0x15a284,_0x49e316),_0x90c253 instanceof _0x2d699b){const _0x415991=_0x4cf99e[_0x176c45+0x1];_0x415991&&_0x415991 instanceof _0x2d699b&&_0x15a284[_0x3d3d6c(0x199)](',');}}this[_0x3d3d6c(0x226)](_0x4cf99e[_0x52e26b-0x1],_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](')');return;}else{if(_0x915a9c===0x8){const _0x10942f=_0x4cf99e[0x0],_0x40e27e=_0x4cf99e[0x1];this[_0x3d3d6c(0x226)](_0x10942f,_0x15a284,_0x49e316),_0x15a284[_0x3d3d6c(0x199)](_0x1c7c79),this[_0x3d3d6c(0x226)](_0x40e27e,_0x15a284,_0x49e316);return;}}}for(let _0x255e4c=0x0;_0x255e4c<_0x52e26b;_0x255e4c++){const _0x5a487d=_0x4cf99e[_0x255e4c];if(this[_0x3d3d6c(0x226)](_0x5a487d,_0x15a284,_0x49e316),_0x5a487d instanceof _0x2d699b){const _0x56ce49=_0x4cf99e[_0x255e4c+0x1];_0x56ce49&&_0x56ce49 instanceof _0x2d699b&&_0x15a284['push'](',');}}_0x915a9c===0x7&&_0x15a284['push'](_0x1c7c79),(_0x28894c||_0x915a9c===0x9)&&_0x15a284['push'](')');}['_handleNewFunctionChild'](_0x1848e5,_0x125c4f,_0x120883){const _0x4f6e67=_0x5c6bc5;_0x1848e5 instanceof _0x2d699b?this[_0x4f6e67(0x213)](_0x1848e5,_0x125c4f,_0x120883):this[_0x4f6e67(0x198)][_0x4f6e67(0x177)](_0x1848e5)?(_0x125c4f['push'](''+this[_0x4f6e67(0x1f2)]+_0x1848e5),this[_0x4f6e67(0x1e4)]=!0x0):_0x125c4f['push'](_0x1848e5);}[_0x5c6bc5(0x1e6)](_0x1d41e5){const _0x557acd=_0x5c6bc5;let _0xfb2444=_0x1d41e5[_0x557acd(0x171)]();if(!_0xfb2444)return _0xfb2444;const _0xf3cc8=_0xfb2444[0x0];if((_0xf3cc8===_0x1677d5['AT']||_0xf3cc8===_0x1677d5['MINUS']||_0xf3cc8===_0x1677d5[_0x557acd(0x194)])&&(_0xfb2444=_0xfb2444['slice'](0x1)),!_0xfb2444)return _0xfb2444;const _0x3daaff=_0xfb2444[_0xfb2444['length']-0x1];return _0x5f3bca[_0x557acd(0x177)](_0x3daaff)&&(_0xfb2444=_0xfb2444[_0x557acd(0x192)](0x0,-0x1)),_0xfb2444;}[_0x5c6bc5(0x1fa)](_0x13cd93){const _0x4bc6fc=_0x5c6bc5,_0x3cba4f=_0x13cd93[_0x4bc6fc(0x1b4)]()[0x0];if(!_0x3cba4f||!(_0x3cba4f instanceof _0x2d699b)||_0x13cd93[_0x4bc6fc(0x1b4)]()[_0x4bc6fc(0x1b2)]>0x1)return!0x1;const _0x91d476=_0x3cba4f[_0x4bc6fc(0x1b4)](),_0x330637=_0x91d476[_0x4bc6fc(0x1b2)];if(_0x330637===0x1)return!0x1;for(let _0x3bf8f8=0x0;_0x3bf8f8<_0x330637;_0x3bf8f8++){const _0x2e569a=_0x91d476[_0x3bf8f8];if(!(_0x2e569a instanceof _0x2d699b)&&_0x448706['has'](_0x2e569a))return!0x0;}return!0x1;}[_0x5c6bc5(0x19c)](_0x2032f5,_0x2e7700,_0x86914c,_0x1a7bd9,_0x256d42){const _0x5b66ce=_0x5c6bc5,_0x323f61=this[_0x5b66ce(0x1e7)](_0x2032f5,!0x1);if(!_0x323f61||_0x323f61===_0x2989dd[_0x5b66ce(0x1e9)]||Array[_0x5b66ce(0x214)](_0x323f61))return null;this[_0x5b66ce(0x1e5)](),this[_0x5b66ce(0x210)]=_0x2e7700;const _0x18636f=this[_0x5b66ce(0x1af)](_0x323f61,_0x86914c,_0x1a7bd9,_0x256d42);return this[_0x5b66ce(0x210)]='',this[_0x5b66ce(0x20f)](),_0x18636f;}[_0x5c6bc5(0x1af)](_0x3de5e4,_0x30747c,_0xa26705,_0x3f7ea1){const _0xc86d72=_0x5c6bc5,_0x2040b2={'value':'','children':[],'startIndex':0x0};let _0x5032a5=_0x3de5e4;if(_0x5032a5 instanceof _0x2d699b&&(_0x5032a5[_0xc86d72(0x223)]()===_0x34e908||_0x5032a5[_0xc86d72(0x223)]()===_0x386ef6)&&_0x5032a5[_0xc86d72(0x1b4)]()[_0xc86d72(0x1b2)]===0x1&&(_0x5032a5=_0x5032a5['getChildren']()[0x0]),!(_0x5032a5 instanceof _0x2d699b))return this['_handleTextNodeForExprTree'](_0x5032a5,_0xa26705,_0x3f7ea1);const _0x368228=_0x5032a5[_0xc86d72(0x1b4)](),_0x1717c2=_0x368228['length'],_0x282d81=[];this['_generateNewFunctionString'](_0x5032a5,_0x282d81,_0x30747c),_0x2040b2[_0xc86d72(0x178)]=_0x282d81[_0xc86d72(0x1a5)](''),_0x2040b2[_0xc86d72(0x233)]=_0x5032a5[_0xc86d72(0x1b5)]();const _0x251a23=this['_getCurNodeTypeForExprTree'](_0x5032a5);if(_0x251a23===0x2){const _0x5e90a7=_0x368228[0x0];if(_0x5e90a7 instanceof _0x2d699b){if(_0x5e90a7[_0xc86d72(0x223)]()[_0xc86d72(0x171)]()!==_0x5e865d)return _0x2040b2;this[_0xc86d72(0x1f4)](_0x5e90a7,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1);}return _0x2040b2;}else{if(_0x251a23===0x1){for(let _0x3e2ca1=0x0;_0x3e2ca1<_0x1717c2-0x1;_0x3e2ca1++){const _0x15fd37=_0x368228[_0x3e2ca1];if(_0x15fd37 instanceof _0x2d699b&&_0x3e2ca1%0x2===0x1){const _0x5b434e=_0x15fd37['getChildren']();if(_0x5b434e[_0xc86d72(0x1b2)]===0x1&&!(_0x5b434e[0x0]instanceof _0x2d699b))continue;const _0x3b61d5=this['_generateExprTree'](_0x15fd37,_0x30747c,_0xa26705,_0x3f7ea1);_0x3b61d5&&_0x2040b2[_0xc86d72(0x21c)][_0xc86d72(0x199)](_0x3b61d5);}}return _0x2040b2;}else{if(_0x251a23===0x8){const _0x1c6a3e=_0x368228[0x0];if(_0x1c6a3e instanceof _0x2d699b){const _0x5e66ac=_0x1c6a3e[_0xc86d72(0x1b4)]()[0x0];_0x5e66ac instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x5e66ac[_0xc86d72(0x1b5)]());}if(this[_0xc86d72(0x208)](_0x5032a5))return _0x2040b2;}else{if(_0x251a23===0x7){const _0x2b27fa=_0x368228[0x0];if(_0x2b27fa instanceof _0x2d699b){const _0x34136e=_0x2b27fa[_0xc86d72(0x1b4)]()[0x0];_0x34136e instanceof _0x2d699b&&(_0x2040b2[_0xc86d72(0x233)]=_0x34136e[_0xc86d72(0x1b5)]());}}}}}return this['_handleChildrenForExprTree'](_0x368228,_0x251a23,_0x2040b2,_0x30747c,_0xa26705,_0x3f7ea1),_0x2040b2;}[_0x5c6bc5(0x238)](_0x47e709,_0x38f9e9,_0x8ce992,_0x54f62a,_0x4fa729,_0x4515fb){const _0x3aa269=_0x5c6bc5;for(let _0x1d78ae=0x0;_0x1d78ae<_0x47e709['length'];_0x1d78ae++){let _0x3a9f42=_0x47e709[_0x1d78ae];if(!(_0x3a9f42 instanceof _0x2d699b)){const _0x314c53=this[_0x3aa269(0x184)](_0x3a9f42,_0x4fa729,_0x4515fb);_0x314c53&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x314c53);continue;}const _0x37e705=_0x3a9f42[_0x3aa269(0x1b4)]();if(_0x37e705['length']===0x1&&!(_0x37e705[0x0]instanceof _0x2d699b)){const _0x579a6c=_0x37e705[0x0];if(!_0x4fa729(this[_0x3aa269(0x210)],_0x579a6c)&&!this[_0x3aa269(0x1d9)](_0x579a6c,_0x4515fb)&&!_0x6059c5(_0x579a6c))continue;}if(_0x38f9e9===0x8){const _0x573f49=_0x37e705[0x0];if(_0x573f49 instanceof _0x2d699b){const _0x5863ed=_0x573f49[_0x3aa269(0x223)]()[_0x3aa269(0x171)]();if(_0x6059c5(_0x5863ed))continue;_0x3a9f42=_0x573f49;}}const _0x373ed6=this['_generateExprTree'](_0x3a9f42,_0x54f62a,_0x4fa729,_0x4515fb);_0x373ed6&&_0x8ce992[_0x3aa269(0x21c)][_0x3aa269(0x199)](_0x373ed6);}}[_0x5c6bc5(0x208)](_0x20436f){const _0x4bfb78=_0x5c6bc5,_0x34053d=_0x20436f[_0x4bfb78(0x1b4)]();if(_0x34053d[_0x4bfb78(0x1b2)]<0x2)return!0x1;const _0x1d6e8f=_0x34053d[0x0],_0x5125ce=_0x34053d[0x1];if(!(_0x1d6e8f instanceof _0x2d699b)||!(_0x5125ce instanceof _0x2d699b))return!0x1;const _0xac9f24=_0x1d6e8f['getChildren']()[0x0],_0x348526=_0x5125ce['getChildren']()[0x0];if(!(_0xac9f24 instanceof _0x2d699b)||!(_0x348526 instanceof _0x2d699b))return!0x1;const _0x2cc54b=_0xac9f24[_0x4bfb78(0x223)]()[_0x4bfb78(0x171)](),_0x2f8da1=_0x348526['getToken']()['trim']();return!!_0x6059c5(''+_0x2cc54b+_0x13630a[_0x4bfb78(0x179)]+_0x2f8da1);}[_0x5c6bc5(0x184)](_0x35192,_0x363d7b,_0x3c21fb){const _0x27c23b=_0x5c6bc5,_0xca8956=_0x35192['trim']();return _0xca8956[_0x27c23b(0x1d7)]('{')&&_0xca8956[_0x27c23b(0x1b0)]('}')||_0x363d7b(this[_0x27c23b(0x210)],_0xca8956)||this[_0x27c23b(0x1d9)](_0xca8956,_0x3c21fb)||_0x6059c5(_0xca8956)?{'value':_0xca8956,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x5d338d,_0x589185){const {tableName:_0x44afd7}=_0x5908ed(_0x5d338d);return _0x589185(this['_currentUnitId'],_0x44afd7)?_0x44afd7:null;}[_0x5c6bc5(0x1f4)](_0x4caea4,_0x1b0f4c,_0xd8cf67,_0x2069e4,_0x3d8428){const _0x467c5d=_0x5c6bc5,_0x21d370=_0x4caea4[_0x467c5d(0x1b4)]();for(let _0x39092b=0x0;_0x39092b<_0x21d370[_0x467c5d(0x1b2)];_0x39092b++){const _0x2ca1dd=_0x21d370[_0x39092b];if(!(_0x2ca1dd instanceof _0x2d699b))continue;const _0x4d0bee=_0x2ca1dd[_0x467c5d(0x1b4)]();if(_0x4d0bee['length']===0x1&&!(_0x4d0bee[0x0]instanceof _0x2d699b))continue;const _0x41eb17=this[_0x467c5d(0x1af)](_0x2ca1dd,_0xd8cf67,_0x2069e4,_0x3d8428);_0x41eb17&&_0x1b0f4c['children'][_0x467c5d(0x199)](_0x41eb17);}}[_0x5c6bc5(0x1c3)](_0x2fcdb2){const _0x4c6478=_0x5c6bc5,_0x1300d7=_0x2fcdb2[_0x4c6478(0x223)](),_0x4fc093=_0x1300d7['trim']()['toUpperCase']();let _0x34425b=0x0;return _0x1300d7===_0x34e908?_0x34425b=0x3:_0x1300d7===_0x386ef6?_0x34425b=0x4:_0x1300d7===_0x5e865d?_0x34425b=0x5:_0x4fc093===_0x9ecc0a?_0x34425b=0x2:_0x4fc093===_0x5c37ce?_0x34425b=0x1:_0x4fc093===_0x13630a[_0x4c6478(0x179)]?_0x34425b=0x8:_0x5f3bca['has'](_0x4fc093)?_0x34425b=0x7:_0x4fc093===_0x1677d5[_0x4c6478(0x1ed)]?this['_checkAddBracketForMinus'](_0x2fcdb2)&&(_0x34425b=0x9):_0x34425b=0xa,_0x34425b;}}const Me={0x0:'Y',0x1:'O',0x2:'x',0x3:'r',0x4:'m',0x5:'e',0x6:'c',0x7:'M',0x8:'p',0x9:'R','k':'0','P':'1','G':'2','T':'3','A':'4','S':'5','p':'6','a':'7','g':'8','u':'9','N':'a','J':'b','O':'d','d':'f','y':'g','L':'h','h':'i','r':'j','I':'k','c':'l','V':'n','Q':'o','E':'q','n':'s','v':'t','M':'u','R':'v','l':'w','Z':'y','j':'z','W':'A','Y':'B','b':'C','F':'D','z':'E','B':'F','x':'G','H':'H','U':'I','D':'J','i':'K','f':'L','e':'N','\x20':'P','o':'Q','s':'S','K':'T','C':'U','X':'V','m':'W','w':'X','q':'Z','t':'\x20'},Se=_0x5c6bc5(0x1c7);class xe extends _0x53d693{constructor(){const _0x5e564c=_0x5c6bc5;super(...arguments),F(this,_0x5e564c(0x1c8),new Map());}[_0x5c6bc5(0x16f)](){const _0x5e3340=_0x5c6bc5;super[_0x5e3340(0x16f)](),this[_0x5e3340(0x1c8)]['clear']();}async[_0x5c6bc5(0x200)](_0x214f01=!0x1){const _0x110cbc=_0x5c6bc5;this[_0x110cbc(0x1a4)]();const _0x53676f=this[_0x110cbc(0x232)]['getFormulaData'](),_0x5296b1=this[_0x110cbc(0x1fc)][_0x110cbc(0x186)](),_0x5cfad8=this[_0x110cbc(0x232)][_0x110cbc(0x1dd)]();_0x5cfad8!=null&&Object[_0x110cbc(0x170)](_0x5cfad8)[_0x110cbc(0x21e)](_0x53bfe8=>{const _0x5b66fb=_0x110cbc;_0x53bfe8!=null&&Object[_0x5b66fb(0x170)](_0x5cfad8[_0x53bfe8])['forEach'](_0xd1e23f=>{const _0x58fc0f=_0x5b66fb;_0xd1e23f!=null&&(this[_0x58fc0f(0x1da)][_0x58fc0f(0x1ee)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x217)](_0x53bfe8,_0xd1e23f),this[_0x58fc0f(0x1da)][_0x58fc0f(0x1c2)](_0x53bfe8,_0xd1e23f));});});const _0x56317f=this['_currentConfigService']['getUnitData']();await this[_0x110cbc(0x211)](_0x53676f,_0x5296b1,_0x56317f),this[_0x110cbc(0x1da)]['openKdTree']();const _0x1288a2=this[_0x110cbc(0x231)](),_0x3fcf98=this['_calculateRunList'](_0x1288a2);return this[_0x110cbc(0x1db)](_0x3fcf98)&&this[_0x110cbc(0x1cb)][_0x110cbc(0x175)](),_0x214f01&&this[_0x110cbc(0x1cb)][_0x110cbc(0x21d)](this['_getAllDependencyJson'](Array['from'](this[_0x110cbc(0x1c8)][_0x110cbc(0x1ce)]()))),this[_0x110cbc(0x1c8)]['clear'](),this[_0x110cbc(0x201)][_0x110cbc(0x196)](),this[_0x110cbc(0x1da)][_0x110cbc(0x23a)](),this['_runtimeService'][_0x110cbc(0x1ec)](),Promise[_0x110cbc(0x173)](_0x3fcf98);}['_isCyclicUtilMap'](_0x1bf846,_0x152829){const _0x204792=_0x5c6bc5,_0x5121ef=[_0x1bf846];for(;_0x5121ef[_0x204792(0x1b2)]>0x0;){const _0x5f1f10=_0x5121ef[_0x5121ef[_0x204792(0x1b2)]-0x1];if((_0x152829['get'](_0x5f1f10)||0x0)===0x0){_0x152829['set'](_0x5f1f10,0x1);const _0x3ab416=this[_0x204792(0x1c8)]['get'](_0x5f1f10);if(_0x3ab416==null){_0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();continue;}const _0x3852f4=this[_0x204792(0x1da)][_0x204792(0x240)](_0x3ab416[_0x204792(0x23f)]());for(const _0x394d97 of _0x3852f4){const _0x38632c=_0x152829['get'](_0x394d97)||0x0;if(_0x38632c===0x1)return!0x0;_0x38632c===0x0&&_0x5121ef[_0x204792(0x199)](_0x394d97);}}else _0x152829[_0x204792(0x1e8)](_0x5f1f10,0x2),_0x5121ef[_0x204792(0x1bb)]();}return!0x1;}[_0x5c6bc5(0x1db)](_0x548776){const _0x5a77ec=_0x5c6bc5,_0x1ab7e0=new Map();for(const _0x1af13f of _0x548776)if(!_0x1ab7e0[_0x5a77ec(0x177)](_0x1af13f[_0x5a77ec(0x1d8)])&&this[_0x5a77ec(0x1c1)](_0x1af13f[_0x5a77ec(0x1d8)],_0x1ab7e0))return!0x0;return _0x1ab7e0[_0x5a77ec(0x196)](),!0x1;}['_getFeatureFormulaTree'](_0x3d3931,_0x100aff,_0x43458c){const _0x1f2703=_0x5c6bc5,{unitId:_0x20043a,subUnitId:_0x28a9c9,dependencyRanges:_0x25138c,getDirtyData:_0x1b90ff}=_0x43458c,_0x3c0ae6=_0x100aff||_0x1acf17(this[_0x1f2703(0x1da)]),_0x1da353=new _0x1ccf95(_0x3c0ae6);_0x1da353[_0x1f2703(0x174)]=_0x20043a,_0x1da353[_0x1f2703(0x1d6)]=_0x28a9c9,_0x1da353['rangeList']=_0x25138c,_0x1da353[_0x1f2703(0x1cf)]=_0x1b90ff;const _0x56d184=_0x1b90ff(this[_0x1f2703(0x232)][_0x1f2703(0x1cf)](),this['_runtimeService'][_0x1f2703(0x1b7)]()),_0x26afb2=this[_0x1f2703(0x22b)](_0x56d184[_0x1f2703(0x1cd)]);return _0x1da353[_0x1f2703(0x1ab)]=_0x26afb2,_0x1da353[_0x1f2703(0x1ca)]=_0x3d3931,_0x1da353[_0x1f2703(0x207)]=_0x53e470[_0x1f2703(0x183)],this[_0x1f2703(0x1da)]['addFeatureFormulaDependency'](_0x20043a,_0x28a9c9,_0x3d3931,_0x1da353),this[_0x1f2703(0x1c8)][_0x1f2703(0x1e8)](_0x1da353[_0x1f2703(0x1d8)],_0x1da353),this[_0x1f2703(0x1da)]['getFeatureFormulaDependency'](_0x43458c[_0x1f2703(0x174)],_0x43458c[_0x1f2703(0x1d6)],_0x3d3931)&&(_0x1da353[_0x1f2703(0x227)]=!0x0),_0x1da353;}[_0x5c6bc5(0x1d2)](_0x53ef35,_0x1b799c,_0x34ebdc){const _0x15f2e2=_0x5c6bc5;var _0x578608;for(const _0x3088d2 of _0x1b799c){const _0x3b2a11=_0x53ef35[_0x3088d2];if(_0x3b2a11==null)continue;const _0x4a834a=Object[_0x15f2e2(0x170)](_0x3b2a11);for(const _0x4502ca of _0x4a834a){const _0xc3dfcb=_0x3b2a11[_0x4502ca];if(_0xc3dfcb==null)continue;const _0x258639=Object['keys'](_0xc3dfcb);for(const _0xd9234a of _0x258639){const _0x2b8c71=this[_0x15f2e2(0x1da)][_0x15f2e2(0x197)](_0xd9234a),_0x1f3450=_0xc3dfcb[_0xd9234a],{f:_0x2d8e8a,ranges:_0x10f83f}=_0x1f3450;let _0xd502f3=!0x1;_0x2b8c71&&(_0xd502f3=!0x0);const {firstRow:_0x581cb1,firstColumn:_0xeba3c0}=this[_0x15f2e2(0x1ac)](_0x10f83f),_0x48821c=this['_dependencyManagerService'][_0x15f2e2(0x21b)](_0x3088d2,_0x4502ca,_0xd9234a),_0x497561=(_0x578608=_0x48821c==null?void 0x0:_0x48821c[_0x15f2e2(0x1a1)](0x0,0x0))!=null?_0x578608:_0x1acf17(this[_0x15f2e2(0x1da)]),_0x25f26f=new _0x1ccf95(_0x497561);for(let _0x57020d=0x0;_0x57020d<_0x10f83f['length'];_0x57020d++){const _0x18196a=_0x10f83f[_0x57020d],{startRow:_0x556b74,startColumn:_0x2a8c33,endRow:_0x4ced3b,endColumn:_0x50d705}=_0x18196a;for(let _0x16b805=_0x556b74;_0x16b805<=_0x4ced3b;_0x16b805++)for(let _0x23f296=_0x2a8c33;_0x23f296<=_0x50d705;_0x23f296++){const _0x4346ad=_0x23f296-_0xeba3c0,_0x5e3693=_0x16b805-_0x581cb1;if(_0x4346ad===0x0&&_0x5e3693===0x0){_0x25f26f[_0x15f2e2(0x1c5)]=_0x2d8e8a,_0x25f26f[_0x15f2e2(0x174)]=_0x3088d2,_0x25f26f[_0x15f2e2(0x1d6)]=_0x4502ca,_0x25f26f[_0x15f2e2(0x20c)]=_0xd9234a,_0x25f26f[_0x15f2e2(0x207)]=_0x53e470[_0x15f2e2(0x1cc)],_0x25f26f[_0x15f2e2(0x227)]=_0xd502f3,_0x34ebdc[_0x15f2e2(0x199)](_0x25f26f),this[_0x15f2e2(0x1c8)][_0x15f2e2(0x1e8)](_0x25f26f['treeId'],_0x25f26f),this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x25f26f),this['_dependencyManagerService'][_0x15f2e2(0x215)](_0x25f26f);continue;}const _0x457ae4=new _0x29a9b6();_0x457ae4['treeId']=(_0x48821c==null?void 0x0:_0x48821c['getValue'](_0x4346ad,_0x5e3693))||_0x1acf17(this['_dependencyManagerService']),_0x457ae4[_0x15f2e2(0x1e3)]=_0x25f26f,_0x457ae4[_0x15f2e2(0x1f9)]=_0x4346ad,_0x457ae4[_0x15f2e2(0x1b8)]=_0x5e3693,_0x457ae4[_0x15f2e2(0x227)]=_0xd502f3,_0x457ae4['type']=_0x53e470[_0x15f2e2(0x1cc)],this[_0x15f2e2(0x1da)][_0x15f2e2(0x1f5)](_0x3088d2,_0x4502ca,_0xd9234a,_0x457ae4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x457ae4),_0x34ebdc[_0x15f2e2(0x199)](_0x457ae4),this[_0x15f2e2(0x1c8)]['set'](_0x457ae4[_0x15f2e2(0x1d8)],_0x457ae4);}}this['_dependencyManagerService'][_0x15f2e2(0x191)](_0xd9234a);}}}}['_registerFormulas'](_0x703708,_0x20e083,_0x131736,_0x192624){const _0x23cd14=_0x5c6bc5;for(const _0x329ecb of _0x703708){const _0x2e5e43=_0x20e083[_0x329ecb];if(_0x2e5e43==null)continue;const _0x5df384=Object[_0x23cd14(0x170)](_0x2e5e43);for(const _0x16fe64 of _0x5df384){const _0x2d0966=new _0x5b53ec(_0x2e5e43[_0x16fe64]||{}),_0x13d043=new Map();_0x2d0966[_0x23cd14(0x193)]((_0x543f5e,_0x28b816,_0x4a7db6)=>{const _0x4d2d92=_0x23cd14;if(_0x4a7db6==null)return!0x0;const {x:_0x56b91d=0x0,y:_0x4baf9c=0x0,si:_0x29b7ed}=_0x4a7db6;if(!(_0x56b91d===0x0&&_0x4baf9c===0x0&&_0x29b7ed!=null))return!0x0;const _0x4b13b5=this['_createFDtree'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x131736,_0x4a7db6),_0x1d793d=this[_0x4d2d92(0x1da)]['getFormulaDependency'](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816);_0x1d793d!=null?_0x4b13b5[_0x4d2d92(0x1d8)]=_0x1d793d:(this[_0x4d2d92(0x1da)][_0x4d2d92(0x1a7)](_0x329ecb,_0x16fe64,_0x543f5e,_0x28b816,_0x4b13b5),this['_dependencyManagerService'][_0x4d2d92(0x215)](_0x4b13b5)),_0x13d043['set'](_0x29b7ed,_0x4b13b5),_0x192624[_0x4d2d92(0x199)](_0x4b13b5),this['_dependencyTreeCache'][_0x4d2d92(0x1e8)](_0x4b13b5[_0x4d2d92(0x1d8)],_0x4b13b5);}),_0x2d0966[_0x23cd14(0x193)]((_0x58b7dd,_0x4a0e6a,_0x1a2ad1)=>{const _0x269486=_0x23cd14;if(_0x1a2ad1==null)return!0x0;const {x:_0xae603a=0x0,y:_0x39e338=0x0,si:_0x2b28d6}=_0x1a2ad1;if(_0xae603a===0x0&&_0x39e338===0x0&&_0x2b28d6!=null)return!0x0;let _0x595ff2;if(_0x2b28d6&&_0x13d043['has'](_0x2b28d6)){const _0x19733b=_0x13d043[_0x269486(0x230)](_0x2b28d6);_0x595ff2=this[_0x269486(0x19d)](_0x19733b,_0x1a2ad1);}else _0x595ff2=this[_0x269486(0x180)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x131736,_0x1a2ad1);const _0x2eedbe=this['_dependencyManagerService'][_0x269486(0x23b)](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a);_0x2eedbe!=null?_0x595ff2[_0x269486(0x1d8)]=_0x2eedbe:(this[_0x269486(0x1da)]['addFormulaDependency'](_0x329ecb,_0x16fe64,_0x58b7dd,_0x4a0e6a,_0x595ff2),this[_0x269486(0x1da)][_0x269486(0x215)](_0x595ff2)),_0x192624[_0x269486(0x199)](_0x595ff2),this['_dependencyTreeCache']['set'](_0x595ff2[_0x269486(0x1d8)],_0x595ff2);}),_0x13d043[_0x23cd14(0x196)]();}}}[_0x5c6bc5(0x180)](_0x339a74,_0x2f30db,_0xb6de98,_0x4092d2,_0x1cf351,_0x41827d){const _0x287afb=_0x5c6bc5,{f:_0x5eb0ca,x:_0xd37d40=0x0,y:_0x127d33=0x0}=_0x41827d,_0x228297=new _0x1ccf95(_0x1acf17(this[_0x287afb(0x1da)])),_0x33f3a1=_0x1cf351[_0x339a74][_0x2f30db];return _0x228297[_0x287afb(0x1c5)]=_0x5eb0ca,_0x228297[_0x287afb(0x174)]=_0x339a74,_0x228297[_0x287afb(0x1d6)]=_0x2f30db,_0x228297['row']=_0xb6de98,_0x228297[_0x287afb(0x188)]=_0x4092d2,_0x228297[_0x287afb(0x18d)]=_0x33f3a1['rowCount'],_0x228297[_0x287afb(0x219)]=_0x33f3a1[_0x287afb(0x219)],_0x228297;}[_0x5c6bc5(0x231)](){const _0x48d096=_0x5c6bc5,_0x534dee=[],_0x1a8fdb=new Set(),_0x41bba1=this[_0x48d096(0x232)][_0x48d096(0x1c0)](),_0x11314e=this['_currentConfigService'][_0x48d096(0x21a)](),_0x4dbdef=this[_0x48d096(0x1da)][_0x48d096(0x240)](_0x11314e),_0x5d5c15=this[_0x48d096(0x201)]['bulkSearch'](_0x11314e);for(const _0x34f06b of _0x5d5c15)_0x4dbdef[_0x48d096(0x172)](_0x34f06b);for(const [_0x203228,_0x12d436]of this[_0x48d096(0x1c8)])(_0x41bba1||_0x12d436[_0x48d096(0x1c4)]||_0x12d436[_0x48d096(0x16e)](this[_0x48d096(0x232)][_0x48d096(0x1f1)]())||_0x4dbdef['has'](_0x203228)&&!_0x12d436[_0x48d096(0x18b)](this[_0x48d096(0x232)][_0x48d096(0x1f3)]()))&&!_0x1a8fdb['has'](_0x203228)&&(_0x534dee[_0x48d096(0x199)](_0x12d436),_0x1a8fdb[_0x48d096(0x172)](_0x203228));for(const [_0x1b2ee0,_0x44ae33]of this[_0x48d096(0x1c8)])_0x44ae33[_0x48d096(0x1ef)]||(_0x44ae33['rangeList'][_0x48d096(0x1b2)]=0x0);return _0x534dee;}[_0x5c6bc5(0x1f6)](_0x5202a3){const _0x19425f=_0x5c6bc5;return this[_0x19425f(0x1c8)][_0x19425f(0x230)](_0x5202a3);}[_0x5c6bc5(0x205)](_0x54cb95){const _0x2aad72=_0x5c6bc5;return _0x4296ca(_0x54cb95[_0x2aad72(0x174)],_0x54cb95[_0x2aad72(0x1c5)],this[_0x2aad72(0x1e0)],this[_0x2aad72(0x17e)],this['_currentConfigService']);}*[_0x5c6bc5(0x17b)](_0x384f03,_0x4930bd){const _0x206998=_0x5c6bc5,_0x541fc9=_0x384f03,_0x516086=new Set();for(;_0x541fc9[_0x206998(0x1b2)]>0x0;){const _0x53a3ab=_0x541fc9['pop']();if(_0x516086['clear'](),_0x53a3ab===void 0x0||_0x53a3ab['isSkip']())continue;if(_0x53a3ab['isAdded']()){yield _0x53a3ab,_0x53a3ab[_0x206998(0x21f)](),_0x4930bd[_0x206998(0x172)](_0x53a3ab[_0x206998(0x1d8)]);continue;}const _0x4be434=this[_0x206998(0x1da)]['searchDependency'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd),_0x446f76=this[_0x206998(0x201)]['bulkSearch'](_0x53a3ab[_0x206998(0x23f)](),_0x4930bd);for(const _0x3295cf of _0x446f76)_0x4be434[_0x206998(0x172)](_0x3295cf);for(const _0x1a9ec5 of _0x4be434){const _0x507216=this['_dependencyTreeCache'][_0x206998(0x230)](_0x1a9ec5);if(!_0x507216){console[_0x206998(0x224)](_0x206998(0x220),_0x1a9ec5);continue;}_0x507216[_0x206998(0x216)]()||_0x53a3ab[_0x206998(0x23c)]()||_0x516086[_0x206998(0x172)](_0x507216);}if(_0x4be434[_0x206998(0x196)](),_0x516086[_0x206998(0x22e)]===0x0)yield _0x53a3ab,_0x53a3ab['setSkip'](),_0x4930bd['add'](_0x53a3ab[_0x206998(0x1d8)]);else{_0x53a3ab[_0x206998(0x1be)](),_0x541fc9[_0x206998(0x199)](_0x53a3ab);for(const _0x2774fe of _0x516086)_0x541fc9[_0x206998(0x199)](_0x2774fe);}}_0x541fc9['length']=0x0,_0x516086[_0x206998(0x196)]();}['_calculateRunList'](_0x49a6c2){const _0xb7db01=_0x5c6bc5,_0xd6f40e=[],_0x2ce484=new Set();for(const _0x13d033 of this[_0xb7db01(0x17b)](_0x49a6c2,_0x2ce484))_0xd6f40e['push'](_0x13d033);return _0xd6f40e;}async[_0x5c6bc5(0x190)](){const _0x444bc8=_0x5c6bc5;return await this['_initializeGenerateTreeList'](),Array['from'](this['_dependencyTreeCache'][_0x444bc8(0x1ce)]());}['_getDependencyTreeParenIds'](_0x28b6eb){const _0xfa94af=_0x5c6bc5;return this[_0xfa94af(0x1da)][_0xfa94af(0x240)](_0x28b6eb[_0xfa94af(0x23f)]());}[_0x5c6bc5(0x18f)](_0x3c70c8){const _0x3ad66c=_0x5c6bc5,_0x15f503=new Set(),_0x16e552=_0x3c70c8[_0x3ad66c(0x1fd)];for(const [_0x2d8f0b,_0x5a3618]of this['_dependencyTreeCache'])for(const _0x33c5ec of _0x16e552){const _0x33d544=_0x33c5ec['unitId'],_0x296ad9=_0x33c5ec[_0x3ad66c(0x1fe)];if(_0x5a3618[_0x3ad66c(0x174)]!==_0x33d544||_0x5a3618[_0x3ad66c(0x1d6)]!==_0x296ad9)continue;const _0x20982a=_0x33c5ec[_0x3ad66c(0x229)];if(_0x5a3618[_0x3ad66c(0x1e1)](_0x20982a)){_0x15f503['add'](_0x2d8f0b);break;}}return _0x15f503;}[_0x5c6bc5(0x1a0)](){const _0x39a2cf=_0x5c6bc5;this[_0x39a2cf(0x1da)][_0x39a2cf(0x234)]();}[_0x5c6bc5(0x19b)](){const _0x42b9e7=_0x5c6bc5;this['_formulaDependencyTreeModel']['clear'](),this[_0x42b9e7(0x1c8)]['clear'](),this[_0x42b9e7(0x1da)][_0x42b9e7(0x23a)]();}}function _0x34a5(_0xb78921,_0x486880){_0xb78921=_0xb78921-0x16e;const _0x5a46f4=_0x5a46();let _0x34a513=_0x5a46f4[_0xb78921];return _0x34a513;}class Re extends _0xf68831{async['_apply'](_0x389655=!0x1){const _0x2b30b2=_0x5c6bc5;_0x389655?this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1a2)]):this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x1c9)]),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());const _0x5a441f=await this['_formulaDependencyGenerator'][_0x2b30b2(0x200)](this[_0x2b30b2(0x1de)]),_0x9123f2=this['_interpreter'];_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x17d)]),this[_0x2b30b2(0x1cb)]['setTotalArrayFormulasToCalculate'](_0x5a441f['length'])):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20e)]),this[_0x2b30b2(0x1cb)]['setTotalFormulasToCalculate'](_0x5a441f['length'])),this['_executionInProgressListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1eb)]());let _0x5e4abb=[];const _0x10314e=this['_configService'][_0x2b30b2(0x221)](_0x7e8350),_0x432016=(_0x10314e==null?void 0x0:_0x10314e[_0x2b30b2(0x222)])||_0x2feba4;let _0x1f8b0b=0x0;const _0x2d4238=_0x5a441f[_0x2b30b2(0x1b2)];for(;_0x5a441f[_0x2b30b2(0x1b2)]>0x0;){const _0x55cc6a=_0x5a441f[_0x2b30b2(0x1bb)](),_0x5941e5=_0x4296ca(_0x55cc6a[_0x2b30b2(0x174)],_0x55cc6a['formula'],this[_0x2b30b2(0x1e0)],this['_astTreeBuilder'],this[_0x2b30b2(0x232)]),_0x2d2db1={'node':_0x5941e5,'refOffsetX':_0x55cc6a[_0x2b30b2(0x1f9)],'refOffsetY':_0x55cc6a['refOffsetY']},_0x3f09b2=_0x55cc6a[_0x2b30b2(0x1cf)];if(_0x1f8b0b%_0x432016===0x0&&(await new Promise(_0x4d8e24=>{const _0x299a88=_0x2b30b2,_0x17fb7f=_0x42d291(_0x4d8e24);_0x5e4abb[_0x299a88(0x199)](_0x17fb7f);}),_0x389655?(this[_0x2b30b2(0x1cb)]['setFormulaExecuteStage'](_0x459e19['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1dc)](_0x1f8b0b+0x1)):(this[_0x2b30b2(0x1cb)][_0x2b30b2(0x18c)](_0x459e19[_0x2b30b2(0x20a)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1f7)](_0x1f8b0b+0x1)),this[_0x2b30b2(0x1ae)][_0x2b30b2(0x1aa)](this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1eb)]()),this[_0x2b30b2(0x1cb)]['isStopExecution']()||_0x2d2db1==null&&_0x3f09b2==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x459e19[_0x2b30b2(0x23e)]),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x202)](),this['_executionCompleteListener$'][_0x2b30b2(0x1aa)](this['_runtimeService'][_0x2b30b2(0x1b7)]());return;}this['_runtimeService']['setCurrent'](_0x55cc6a[_0x2b30b2(0x185)],_0x55cc6a[_0x2b30b2(0x188)],_0x55cc6a[_0x2b30b2(0x18d)],_0x55cc6a[_0x2b30b2(0x219)],_0x55cc6a[_0x2b30b2(0x1d6)],_0x55cc6a['unitId']);let _0x1d730f;if(_0x3f09b2!=null&&_0x55cc6a['featureId']!=null){const {runtimeCellData:_0x8f767c,dirtyRanges:_0x505cb8}=_0x3f09b2(this[_0x2b30b2(0x232)][_0x2b30b2(0x1cf)](),this['_runtimeService'][_0x2b30b2(0x1b7)]());this[_0x2b30b2(0x1cb)][_0x2b30b2(0x209)](_0x55cc6a['featureId'],_0x8f767c),this[_0x2b30b2(0x1cb)]['setRuntimeFeatureRange'](_0x55cc6a['featureId'],_0x505cb8);}else _0x2d2db1!=null&&(_0x9123f2[_0x2b30b2(0x235)](_0x2d2db1[_0x2b30b2(0x1a6)])?_0x1d730f=await _0x9123f2['executeAsync'](_0x2d2db1):_0x1d730f=_0x9123f2[_0x2b30b2(0x1a3)](_0x2d2db1),_0x55cc6a[_0x2b30b2(0x20c)]!=null?this[_0x2b30b2(0x1cb)][_0x2b30b2(0x195)](_0x55cc6a[_0x2b30b2(0x20c)],_0x55cc6a[_0x2b30b2(0x1f9)],_0x55cc6a['refOffsetY'],_0x1d730f):this['_runtimeService'][_0x2b30b2(0x17a)](_0x1d730f));_0x5941e5[_0x2b30b2(0x241)](),_0x1f8b0b++;}return _0x5e4abb['forEach'](_0x4141ad=>_0x4141ad()),_0x5e4abb=[],_0x2d4238>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x389655||this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1d0)](),this[_0x2b30b2(0x1cb)][_0x2b30b2(0x1b7)]();}}class Ve extends _0x49f871{constructor(){const _0x149e62=_0x5c6bc5;super(...arguments),F(this,'_allTreeMap',new Map()),F(this,_0x149e62(0x236),new _0x50ca2b(!0x0));}[_0x5c6bc5(0x19f)](){const _0x3f980c=_0x5c6bc5;this[_0x3f980c(0x1bf)][_0x3f980c(0x196)](),this[_0x3f980c(0x1ea)]['clear'](),this['_formulaData']['clear'](),this['_dependencyRTreeCache']['clear'](),this['_allTreeMap'][_0x3f980c(0x196)](),this[_0x3f980c(0x22d)](),this[_0x3f980c(0x204)][_0x3f980c(0x196)]();}[_0x5c6bc5(0x1f5)](_0x4a7c1f,_0x1926ac,_0x38b8e2,_0x516d3b){const _0x6e5a2b=_0x5c6bc5;this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x177)](_0x4a7c1f)||this[_0x6e5a2b(0x1bf)][_0x6e5a2b(0x1e8)](_0x4a7c1f,new Map());const _0x460a9d=this['_otherFormulaData'][_0x6e5a2b(0x230)](_0x4a7c1f);_0x460a9d[_0x6e5a2b(0x177)](_0x1926ac)||_0x460a9d[_0x6e5a2b(0x1e8)](_0x1926ac,new Map());const _0x32417e=_0x460a9d[_0x6e5a2b(0x230)](_0x1926ac);_0x32417e[_0x6e5a2b(0x177)](_0x38b8e2)||_0x32417e[_0x6e5a2b(0x1e8)](_0x38b8e2,new _0x5b53ec()),_0x32417e[_0x6e5a2b(0x230)](_0x38b8e2)[_0x6e5a2b(0x182)](_0x516d3b[_0x6e5a2b(0x1f9)],_0x516d3b[_0x6e5a2b(0x1b8)],_0x516d3b[_0x6e5a2b(0x1d8)]);}[_0x5c6bc5(0x239)](_0x2c08,_0x3a69f3,_0xb9010c){const _0x44ee3=_0x5c6bc5,_0x28c79c=this['_otherFormulaData'][_0x44ee3(0x230)](_0x2c08);if(_0x28c79c&&_0x28c79c[_0x44ee3(0x177)](_0x3a69f3)){const _0x566282=_0x28c79c[_0x44ee3(0x230)](_0x3a69f3);_0xb9010c['forEach'](_0x8306a9=>{const _0xbb2652=_0x44ee3,_0x1bca42=_0x566282[_0xbb2652(0x230)](_0x8306a9);_0x1bca42!=null&&(_0x1bca42[_0xbb2652(0x193)]((_0x4e7865,_0x3e14fb,_0x13e29b)=>{const _0x3d5d9e=_0xbb2652;this[_0x3d5d9e(0x1ba)](_0x13e29b),this[_0x3d5d9e(0x18a)](_0x13e29b);}),_0x566282[_0xbb2652(0x1c6)](_0x8306a9),this['_otherFormulaDataMainData']['delete'](_0x8306a9));}),_0x566282['size']===0x0&&_0x28c79c[_0x44ee3(0x1c6)](_0x3a69f3),_0x28c79c[_0x44ee3(0x22e)]===0x0&&this[_0x44ee3(0x1bf)][_0x44ee3(0x1c6)](_0x2c08);}}[_0x5c6bc5(0x1ee)](_0x3be3f2,_0x4d004f){const _0x2fac90=_0x5c6bc5,_0x4b1ffd=this[_0x2fac90(0x1bf)]['get'](_0x3be3f2);if(_0x4d004f&&_0x4b1ffd&&_0x4b1ffd[_0x2fac90(0x177)](_0x4d004f)){const _0x4b69bc=_0x4b1ffd[_0x2fac90(0x230)](_0x4d004f);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x4d004f);for(const _0x5d567b of _0x4b69bc[_0x2fac90(0x170)]()){const _0x587787=_0x4b69bc[_0x2fac90(0x230)](_0x5d567b);_0x587787!=null&&(_0x587787[_0x2fac90(0x193)]((_0x48a8e7,_0x1f89a1,_0x2d755f)=>{const _0x13eb29=_0x2fac90;this[_0x13eb29(0x22c)][_0x13eb29(0x230)](_0x2d755f)&&this[_0x13eb29(0x18a)](_0x2d755f);}),this[_0x2fac90(0x204)][_0x2fac90(0x1c6)](_0x5d567b));}_0x4b69bc[_0x2fac90(0x196)]();}else{if(_0x4b1ffd){for(const _0x5ee59b of _0x4b1ffd[_0x2fac90(0x170)]()){const _0x1919f1=_0x4b1ffd[_0x2fac90(0x230)](_0x5ee59b);this[_0x2fac90(0x1ad)](_0x3be3f2,_0x5ee59b);for(const _0xf939c6 of _0x1919f1[_0x2fac90(0x170)]()){const _0xa9898e=_0x1919f1[_0x2fac90(0x230)](_0xf939c6);_0xa9898e!=null&&(_0xa9898e[_0x2fac90(0x193)]((_0x41c679,_0x527fe1,_0x27d52c)=>{const _0x5e75d2=_0x2fac90;this[_0x5e75d2(0x22c)][_0x5e75d2(0x230)](_0x27d52c)&&this[_0x5e75d2(0x18a)](_0x27d52c);}),this['_otherFormulaDataMainData'][_0x2fac90(0x1c6)](_0xf939c6));}}this['_otherFormulaData'][_0x2fac90(0x1c6)](_0x3be3f2);}}}[_0x5c6bc5(0x1df)](_0x4086eb,_0x49c3e5,_0x5a3a3f,_0x31f419){const _0x1398fc=_0x5c6bc5;this[_0x1398fc(0x1ea)][_0x1398fc(0x177)](_0x4086eb)||this[_0x1398fc(0x1ea)][_0x1398fc(0x1e8)](_0x4086eb,new Map());const _0x3634fc=this[_0x1398fc(0x1ea)]['get'](_0x4086eb);_0x3634fc[_0x1398fc(0x177)](_0x49c3e5)||_0x3634fc[_0x1398fc(0x1e8)](_0x49c3e5,new Map()),_0x3634fc[_0x1398fc(0x230)](_0x49c3e5)[_0x1398fc(0x1e8)](_0x5a3a3f,_0x31f419[_0x1398fc(0x1d8)]);}['removeFeatureFormulaDependency'](_0x1de1c9,_0x59ac67,_0x387e61){const _0x203b48=_0x5c6bc5,_0x50a448=this[_0x203b48(0x1ea)][_0x203b48(0x230)](_0x1de1c9);if(_0x50a448&&_0x50a448[_0x203b48(0x177)](_0x59ac67)){const _0x379982=_0x50a448['get'](_0x59ac67);_0x387e61[_0x203b48(0x21e)](_0x2b2c8a=>{const _0x44f8e3=_0x203b48,_0x46cbdf=_0x379982[_0x44f8e3(0x230)](_0x2b2c8a);_0x46cbdf!=null&&(this[_0x44f8e3(0x1ba)](_0x46cbdf),_0x379982[_0x44f8e3(0x1c6)](_0x2b2c8a),this[_0x44f8e3(0x18a)](_0x46cbdf));});}}[_0x5c6bc5(0x217)](_0x4017b2,_0x374ada){const _0x2d39a1=_0x5c6bc5,_0x524723=this[_0x2d39a1(0x1ea)][_0x2d39a1(0x230)](_0x4017b2);if(_0x374ada&&_0x524723&&_0x524723[_0x2d39a1(0x177)](_0x374ada)){const _0x2d027f=_0x524723[_0x2d39a1(0x230)](_0x374ada);this[_0x2d39a1(0x1ad)](_0x4017b2,_0x374ada),_0x2d027f['forEach'](_0x59bad2=>{_0x59bad2!=null&&this['_removeAllTreeMap'](_0x59bad2);}),_0x2d027f[_0x2d39a1(0x196)]();}else _0x524723&&(_0x524723['forEach']((_0xaf05b2,_0x8c2958)=>{const _0x54189c=_0x2d39a1;this[_0x54189c(0x1ad)](_0x4017b2,_0x8c2958),_0xaf05b2[_0x54189c(0x21e)](_0x2840b0=>{const _0x368159=_0x54189c;_0x2840b0!=null&&this[_0x368159(0x18a)](_0x2840b0);});}),this[_0x2d39a1(0x1ea)][_0x2d39a1(0x1c6)](_0x4017b2));}[_0x5c6bc5(0x1a7)](_0x405397,_0x3df7ba,_0x3419e2,_0x579795,_0x3889ee){const _0x229c24=_0x5c6bc5;this['_formulaData'][_0x229c24(0x177)](_0x405397)||this['_formulaData']['set'](_0x405397,new Map());const _0x54a502=this[_0x229c24(0x1bc)]['get'](_0x405397);_0x54a502[_0x229c24(0x177)](_0x3df7ba)||_0x54a502[_0x229c24(0x1e8)](_0x3df7ba,new _0x5b53ec()),_0x54a502[_0x229c24(0x230)](_0x3df7ba)[_0x229c24(0x182)](_0x3419e2,_0x579795,_0x3889ee[_0x229c24(0x1d8)]);}[_0x5c6bc5(0x22a)](_0x3bbde8,_0x4b2b5c,_0x42a1f8,_0x434084){const _0x25d7cc=_0x5c6bc5,_0x2a1e76=this[_0x25d7cc(0x1bc)]['get'](_0x3bbde8);if(_0x2a1e76&&_0x2a1e76[_0x25d7cc(0x177)](_0x4b2b5c)){const _0x3a9594=_0x2a1e76[_0x25d7cc(0x230)](_0x4b2b5c),_0x2353ef=_0x3a9594[_0x25d7cc(0x1a1)](_0x42a1f8,_0x434084);if(_0x2353ef==null)return;this[_0x25d7cc(0x1ba)](_0x2353ef),_0x3a9594[_0x25d7cc(0x1d4)](_0x42a1f8,_0x434084),this[_0x25d7cc(0x18a)](_0x2353ef);}}[_0x5c6bc5(0x1c2)](_0x1b34bc,_0x550701){const _0x121c76=_0x5c6bc5,_0x531e00=this[_0x121c76(0x1bc)]['get'](_0x1b34bc);if(_0x550701&&_0x531e00&&_0x531e00[_0x121c76(0x177)](_0x550701)){const _0x4bf699=_0x531e00[_0x121c76(0x230)](_0x550701);this[_0x121c76(0x1ad)](_0x1b34bc,_0x550701),_0x4bf699[_0x121c76(0x193)]((_0x4930a3,_0x2a4ac6,_0x2f717b)=>{if(_0x2f717b==null)return!0x0;this['_removeAllTreeMap'](_0x2f717b);}),_0x4bf699[_0x121c76(0x19f)]();}else _0x531e00&&(_0x531e00[_0x121c76(0x21e)]((_0x6e4276,_0x401048)=>{const _0x35a5d9=_0x121c76;this['_removeDependencyRTreeCacheById'](_0x1b34bc,_0x401048),_0x6e4276[_0x35a5d9(0x193)]((_0x101d91,_0x403d82,_0x2fba2e)=>{const _0x1b6cee=_0x35a5d9;if(_0x2fba2e==null)return!0x0;this[_0x1b6cee(0x18a)](_0x2fba2e);});}),this['_formulaData'][_0x121c76(0x1c6)](_0x1b34bc));}[_0x5c6bc5(0x1ba)](_0x523e9c){const _0x23d5b8=_0x5c6bc5;if(_0x523e9c==null)return;const _0x2b918a=this['_allTreeMap'][_0x23d5b8(0x230)](_0x523e9c);if(_0x2b918a){const _0x555571=[];for(const [_0x1d5dd0,_0x146490]of _0x2b918a)for(const [_0x2a14a6,_0x2d2e9c]of _0x146490)_0x555571[_0x23d5b8(0x199)]({'unitId':_0x1d5dd0,'sheetId':_0x2a14a6,'range':_0x2d2e9c,'id':_0x523e9c});this[_0x23d5b8(0x236)][_0x23d5b8(0x22f)](_0x555571);}}['removeFormulaDependencyByDefinedName'](_0x3cb31e,_0xd48a00){const _0x40adf1=_0x5c6bc5,_0x2fb74e=this[_0x40adf1(0x20d)][_0x40adf1(0x230)](_0x3cb31e);if(_0x2fb74e){const _0x50bb07=_0x2fb74e['get'](_0xd48a00);if(_0x50bb07){for(const _0x4c6dde of _0x50bb07)this[_0x40adf1(0x1ba)](_0x4c6dde),this['_removeAllTreeMap'](_0x4c6dde);_0x50bb07[_0x40adf1(0x196)]();}}}[_0x5c6bc5(0x234)](){const _0x3dfb3e=_0x5c6bc5;this['_dependencyRTreeCache'][_0x3dfb3e(0x234)]();}[_0x5c6bc5(0x23a)](){const _0x3a6476=_0x5c6bc5;this[_0x3a6476(0x236)][_0x3a6476(0x23a)]();}[_0x5c6bc5(0x18a)](_0x52983d){const _0x3752fb=_0x5c6bc5;_0x52983d!=null&&this['_allTreeMap'][_0x3752fb(0x1c6)](_0x52983d);}['_addAllTreeMap'](_0x552143){const _0x1e632a=_0x5c6bc5;var _0xcbe42a,_0x5139f6;const _0x5df9c5=_0x552143[_0x1e632a(0x1fd)];let _0x228137=this[_0x1e632a(0x22c)][_0x1e632a(0x230)](_0x552143['treeId']);for(let _0x1ae2ce=0x0;_0x1ae2ce<_0x5df9c5[_0x1e632a(0x1b2)];_0x1ae2ce++){const _0x391367=_0x5df9c5[_0x1ae2ce];let {unitId:_0x367961,sheetId:_0x5482a9,range:_0x474a9c}=_0x391367;_0x228137||(_0x228137=new Map(),this['_allTreeMap']['set'](_0x552143[_0x1e632a(0x1d8)],_0x228137)),_0x228137[_0x1e632a(0x177)](_0x367961)||_0x228137[_0x1e632a(0x1e8)](_0x367961,new Map());const _0x42b3e1=(_0xcbe42a=_0x228137==null?void 0x0:_0x228137[_0x1e632a(0x230)](_0x367961))==null?void 0x0:_0xcbe42a[_0x1e632a(0x230)](_0x5482a9);_0x42b3e1&&(_0x474a9c={'startRow':Math['min'](_0x474a9c[_0x1e632a(0x206)],_0x42b3e1['startRow']),'startColumn':Math[_0x1e632a(0x1b1)](_0x474a9c['startColumn'],_0x42b3e1[_0x1e632a(0x1bd)]),'endRow':Math[_0x1e632a(0x1e2)](_0x474a9c['endRow'],_0x42b3e1[_0x1e632a(0x1b6)]),'endColumn':Math[_0x1e632a(0x1e2)](_0x474a9c[_0x1e632a(0x1b3)],_0x42b3e1[_0x1e632a(0x1b3)])}),(_0x5139f6=_0x228137[_0x1e632a(0x230)](_0x367961))==null||_0x5139f6[_0x1e632a(0x1e8)](_0x5482a9,_0x474a9c);}}}var Ee=Object[_0x5c6bc5(0x19e)],Oe=(_0x48fe16,_0x29c928,_0xacff44,_0x3bfe68)=>{const _0x1a1f38=_0x5c6bc5;for(var _0x2e51e0=_0x3bfe68>0x1?void 0x0:_0x3bfe68?Ee(_0x29c928,_0xacff44):_0x29c928,_0x2f6dcd=_0x48fe16[_0x1a1f38(0x1b2)]-0x1,_0x114995;_0x2f6dcd>=0x0;_0x2f6dcd--)(_0x114995=_0x48fe16[_0x2f6dcd])&&(_0x2e51e0=_0x114995(_0x2e51e0)||_0x2e51e0);return _0x2e51e0;};const Ae=Number['parseInt'](0x696b4030);let X=class extends _0xae29cb{[_0x5c6bc5(0x1f8)](){const _0x176884=_0x5c6bc5;var _0x5e5643,_0x1b11ef;this[_0x176884(0x181)]()?(this[_0x176884(0x228)]['add']([_0x91f99,{'useClass':De}]),(_0x5e5643=this['_config'])!=null&&_0x5e5643[_0x176884(0x19a)]||[[_0x368fee,{'useClass':Re}],[_0x265ca2,{'useClass':Ve}],[_0xc52b1e,{'useClass':xe}]][_0x176884(0x21e)](_0x2815bf=>this[_0x176884(0x228)]['add'](_0x2815bf))):(this[_0x176884(0x228)][_0x176884(0x172)]([_0x91f99,{'useClass':_0x91f99}]),(_0x1b11ef=this[_0x176884(0x18e)])!=null&&_0x1b11ef[_0x176884(0x19a)]||[[_0x368fee,{'useClass':_0xf68831}],[_0x265ca2,{'useClass':_0x1e709a}],[_0xc52b1e,{'useClass':_0x53d693}]][_0x176884(0x21e)](_0x3d60cc=>this['_injector']['add'](_0x3d60cc)));}['_initLicenseValid'](){const _0x4bb4af=_0x5c6bc5;var _0x35aaa0;const _0xa63ecc=(_0x35aaa0=this[_0x4bb4af(0x1ff)][_0x4bb4af(0x221)](_0x10aacf))!=null?_0x35aaa0:{},{ls:_0x1108cc,pbk:_0x888e4a}=_0xa63ecc;if(!_0x1108cc||!_0x888e4a)return!0x1;const _0x265adf=_0x3fea30(Se,Me),_0x20a4b5=new Function(_0x4bb4af(0x1a8)+_0x265adf)()(_0x1108cc,_0x888e4a),_0x3f181c=_0x20a4b5[_0x4bb4af(0x17f)];return _0x20a4b5['valid']&&_0x27d9ce(_0x3f181c,'sf',Ae)?_0x2cc88d(_0x3f181c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};X=Oe([_0x20a83e(_0x7d460a)],X);export{De as LexerTreeProBuilder,X as UniverProFormulaEnginePlugin};
1
+ const _0x3b7171=_0xa750;(function(_0x43e022,_0x296029){const _0x27c62b=_0xa750,_0x517cd1=_0x43e022();while(!![]){try{const _0x445769=-parseInt(_0x27c62b(0x16b))/0x1+parseInt(_0x27c62b(0x18f))/0x2*(parseInt(_0x27c62b(0x1ca))/0x3)+parseInt(_0x27c62b(0x17d))/0x4+parseInt(_0x27c62b(0x187))/0x5*(parseInt(_0x27c62b(0x15f))/0x6)+-parseInt(_0x27c62b(0x1e2))/0x7+-parseInt(_0x27c62b(0x1b3))/0x8*(-parseInt(_0x27c62b(0x160))/0x9)+-parseInt(_0x27c62b(0x170))/0xa*(-parseInt(_0x27c62b(0x16f))/0xb);if(_0x445769===_0x296029)break;else _0x517cd1['push'](_0x517cd1['shift']());}catch(_0x557f9b){_0x517cd1['push'](_0x517cd1['shift']());}}}(_0x469f,0x538c1));var se=Object[_0x3b7171(0x1c0)],ae=(_0xa977b8,_0x1118d3,_0x225f0b)=>_0x1118d3 in _0xa977b8?se(_0xa977b8,_0x1118d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x225f0b}):_0xa977b8[_0x1118d3]=_0x225f0b,R=(_0x33d329,_0x5c6a3f,_0x4517c8)=>ae(_0x33d329,typeof _0x5c6a3f!=_0x3b7171(0x1c5)?_0x5c6a3f+'':_0x5c6a3f,_0x4517c8);import{LexerTreeBuilder as _0x35cde1,ErrorType as _0x4e0214,DEFAULT_TOKEN_TYPE_ROOT as _0xd1f1c9,DEFAULT_TOKEN_TYPE_PARAMETER as _0x10f2d2,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x3fa491,NEW_EXCEL_FUNCTIONS as _0x453ace,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13a2f1,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x177c16,matchToken as _0x422006,SUFFIX_TOKEN_SET as _0x3d773e,prefixToken as _0x295481,LexerNode as _0x5a7194,OPERATOR_TOKEN_SET as _0x275386,isReferenceString as _0x50ffb1,splitTableStructuredRef as _0x306d2d,FormulaDependencyGenerator as _0x3a778c,generateRandomDependencyTreeId as _0x441375,FormulaDependencyTree as _0x5fb721,FormulaDependencyTreeType as _0x31bf64,FormulaDependencyTreeVirtual as _0x112f86,generateAstNode as _0xd66bc,CalculateFormulaService as _0x1b5a01,FormulaExecuteStageType as _0x25b66f,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x534be7,DEFAULT_INTERVAL_COUNT as _0xb2c5e1,DependencyManagerBaseService as _0x38c21d,UniverFormulaEnginePlugin as _0xdbd3ae,ICalculateFormulaService as _0x49a66a,IDependencyManagerService as _0x2992e0,IFormulaDependencyGenerator as _0x3af20c,DependencyManagerService as _0x2af0a6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0xa750(_0x4947d4,_0x99bac7){_0x4947d4=_0x4947d4-0x140;const _0x469fcd=_0x469f();let _0xa7508=_0x469fcd[_0x4947d4];return _0xa7508;}import{UniverLicensePlugin as _0x4663c3,LS_CONFIG_KEY as _0x5e4a49,unshiftString as _0x2df6c9,isFeatureAuthorizedWithinTime as _0x2e7448,getSheetFeatureLimit as _0x44add5}from'@univerjs-pro/license';import{ObjectMatrix as _0x17396b,requestImmediateMacroTask as _0x2c2b32,RTree as _0x1c1cad,DependentOn as _0x4b2943}from'@univerjs/core';class De extends _0x35cde1{constructor(){const _0x19df81=_0x3b7171;super(...arguments),R(this,'_hasNewExcelFunction',!0x1),R(this,_0x19df81(0x17a),new Set()),R(this,_0x19df81(0x1e6),_0x19df81(0x16d)),R(this,_0x19df81(0x1d9),_0x19df81(0x1ce)),R(this,'_currentUnitId','');}[_0x3b7171(0x19f)](){const _0x15bc76=_0x3b7171;this[_0x15bc76(0x1e6)]=_0x15bc76(0x16d),this['_xlfnPrefix']=_0x15bc76(0x1ce);}[_0x3b7171(0x140)](){const _0x1165cd=_0x3b7171;this[_0x1165cd(0x1e6)]='',this[_0x1165cd(0x1d9)]='';}[_0x3b7171(0x148)](_0x1ef22e,_0x34f785){const _0x311387=_0x3b7171,_0x367adc=this[_0x311387(0x1b1)](_0x1ef22e,!0x1);if(!_0x367adc||_0x367adc===_0x4e0214[_0x311387(0x1a1)]||Array[_0x311387(0x1f0)](_0x367adc))return null;const _0x3c7962=[];return this[_0x311387(0x1de)]=!0x1,this[_0x311387(0x1cf)](_0x367adc,_0x3c7962,_0x34f785),this[_0x311387(0x1de)]?'='+_0x3c7962[_0x311387(0x161)](''):null;}[_0x3b7171(0x1cf)](_0x29d16c,_0x661bc0,_0x5c09dc){const _0x3d880b=_0x3b7171,_0x11d12e=_0x29d16c[_0x3d880b(0x158)](),_0x7d7b21=_0x11d12e['trim'](),_0x4dc8a1=_0x7d7b21[_0x3d880b(0x20a)](),_0x18ed5d=this[_0x3d880b(0x192)](_0x4dc8a1),_0x313474=_0x5c09dc(_0x18ed5d);let _0xc025f2=0x0;_0x11d12e===_0xd1f1c9?_0xc025f2=0x3:_0x11d12e===_0x10f2d2?_0xc025f2=0x4:_0x11d12e===_0x3fa491?_0xc025f2=0x5:_0x453ace[_0x3d880b(0x209)](_0x18ed5d)?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this['_hasNewExcelFunction']=!0x0):_0x4dc8a1===_0x13a2f1?(_0x661bc0['push'](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x2):_0x4dc8a1===_0x177c16?(_0x661bc0[_0x3d880b(0x1ee)](''+this[_0x3d880b(0x1d9)]+_0x7d7b21),this[_0x3d880b(0x1de)]=!0x0,_0xc025f2=0x1):_0x4dc8a1===_0x422006[_0x3d880b(0x1dd)]?_0xc025f2=0x8:_0x3d773e['has'](_0x4dc8a1)?_0xc025f2=0x7:_0x4dc8a1===_0x295481[_0x3d880b(0x215)]?(this[_0x3d880b(0x145)](_0x29d16c)&&(_0xc025f2=0x9),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e)):(_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),_0xc025f2=0xa),_0x313474?(_0xc025f2!==0x2&&_0xc025f2!==0x1&&(_0xc025f2=0x6),_0x661bc0[_0x3d880b(0x1ee)]('(')):_0xc025f2===0x9&&_0x661bc0[_0x3d880b(0x1ee)]('(');const _0x5af79a=_0x29d16c[_0x3d880b(0x194)](),_0xf45120=_0x5af79a[_0x3d880b(0x186)];if(_0xc025f2===0x2){const _0x3d012f=_0x5af79a[0x0];let _0x1b3b94=0x0;_0x3d012f instanceof _0x5a7194&&_0x3d012f['getToken']()===_0x3fa491&&(_0x1b3b94=0x1);for(let _0x42fc1d=_0x1b3b94;_0x42fc1d<_0xf45120-0x1;_0x42fc1d++){const _0x5b6c83=_0x5af79a[_0x42fc1d];if(_0x5b6c83 instanceof _0x5a7194){const _0x290bd9=_0x5b6c83[_0x3d880b(0x194)]()[0x0];typeof _0x290bd9==_0x3d880b(0x212)&&(this['_lambdaFunctionParameterSet'][_0x3d880b(0x209)](_0x290bd9)&&console[_0x3d880b(0x193)]('Lambda\x20parameter\x20name\x20\x22'+_0x290bd9+'\x22\x20is\x20duplicated.'),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x290bd9),_0x661bc0['push'](''+this[_0x3d880b(0x1e6)]+_0x290bd9),this['_hasNewExcelFunction']=!0x0);}_0x661bc0[_0x3d880b(0x1ee)](',');}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x1b3b94===0x1&&(_0x661bc0[_0x3d880b(0x1ee)](')'),_0x661bc0[_0x3d880b(0x1ee)]('('),this['_generateNewFunctionString'](_0x3d012f,_0x661bc0,_0x5c09dc)),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x1){for(let _0x4fce7d=0x0;_0x4fce7d<_0xf45120-0x1;_0x4fce7d++){const _0x49bc6b=_0x5af79a[_0x4fce7d];if(_0x49bc6b instanceof _0x5a7194&&_0x4fce7d%0x2===0x0){const _0x22d032=_0x49bc6b[_0x3d880b(0x194)]()[0x0];if(typeof _0x22d032=='string'){this[_0x3d880b(0x17a)]['has'](_0x22d032)&&console[_0x3d880b(0x193)](_0x3d880b(0x202)+_0x22d032+_0x3d880b(0x171)),this[_0x3d880b(0x17a)][_0x3d880b(0x155)](_0x22d032),_0x661bc0[_0x3d880b(0x1ee)](''+this['_xlpmPrefix']+_0x22d032),this[_0x3d880b(0x1de)]=!0x0,_0x661bc0[_0x3d880b(0x1ee)](',');continue;}}if(this[_0x3d880b(0x210)](_0x49bc6b,_0x661bc0,_0x5c09dc),_0x49bc6b instanceof _0x5a7194){const _0x6a5158=_0x5af79a[_0x4fce7d+0x1];_0x6a5158&&_0x6a5158 instanceof _0x5a7194&&_0x661bc0['push'](',');}}this[_0x3d880b(0x210)](_0x5af79a[_0xf45120-0x1],_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](')');return;}else{if(_0xc025f2===0x8){const _0xe8ee21=_0x5af79a[0x0],_0x1514ed=_0x5af79a[0x1];this[_0x3d880b(0x210)](_0xe8ee21,_0x661bc0,_0x5c09dc),_0x661bc0[_0x3d880b(0x1ee)](_0x11d12e),this[_0x3d880b(0x210)](_0x1514ed,_0x661bc0,_0x5c09dc);return;}}}for(let _0x16d732=0x0;_0x16d732<_0xf45120;_0x16d732++){const _0xded915=_0x5af79a[_0x16d732];if(this[_0x3d880b(0x210)](_0xded915,_0x661bc0,_0x5c09dc),_0xded915 instanceof _0x5a7194){const _0x3fa6f1=_0x5af79a[_0x16d732+0x1];_0x3fa6f1&&_0x3fa6f1 instanceof _0x5a7194&&_0x661bc0[_0x3d880b(0x1ee)](',');}}_0xc025f2===0x7&&_0x661bc0['push'](_0x11d12e),(_0x313474||_0xc025f2===0x9)&&_0x661bc0[_0x3d880b(0x1ee)](')');}['_handleNewFunctionChild'](_0x51cf54,_0x1d15f8,_0xddea91){const _0x1bdafd=_0x3b7171;_0x51cf54 instanceof _0x5a7194?this[_0x1bdafd(0x1cf)](_0x51cf54,_0x1d15f8,_0xddea91):this[_0x1bdafd(0x17a)][_0x1bdafd(0x209)](_0x51cf54)?(_0x1d15f8['push'](''+this['_xlpmPrefix']+_0x51cf54),this[_0x1bdafd(0x1de)]=!0x0):_0x1d15f8[_0x1bdafd(0x1ee)](_0x51cf54);}['_clearFunctionString'](_0x52075e){const _0x4624c8=_0x3b7171;let _0x4a7a71=_0x52075e[_0x4624c8(0x16a)]();if(!_0x4a7a71)return _0x4a7a71;const _0xc09178=_0x4a7a71[0x0];if((_0xc09178===_0x295481['AT']||_0xc09178===_0x295481[_0x4624c8(0x215)]||_0xc09178===_0x295481[_0x4624c8(0x174)])&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x1)),!_0x4a7a71)return _0x4a7a71;const _0x2d48e1=_0x4a7a71[_0x4a7a71[_0x4624c8(0x186)]-0x1];return _0x3d773e[_0x4624c8(0x209)](_0x2d48e1)&&(_0x4a7a71=_0x4a7a71[_0x4624c8(0x1ea)](0x0,-0x1)),_0x4a7a71;}[_0x3b7171(0x145)](_0x43c62c){const _0x114d8e=_0x3b7171,_0x555fbe=_0x43c62c[_0x114d8e(0x194)]()[0x0];if(!_0x555fbe||!(_0x555fbe instanceof _0x5a7194)||_0x43c62c[_0x114d8e(0x194)]()[_0x114d8e(0x186)]>0x1)return!0x1;const _0x201f46=_0x555fbe[_0x114d8e(0x194)](),_0x48ce31=_0x201f46['length'];if(_0x48ce31===0x1)return!0x1;for(let _0x2de34f=0x0;_0x2de34f<_0x48ce31;_0x2de34f++){const _0x4be642=_0x201f46[_0x2de34f];if(!(_0x4be642 instanceof _0x5a7194)&&_0x275386[_0x114d8e(0x209)](_0x4be642))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x445d1e,_0x1f4e04,_0x20a710,_0x2b13e5,_0x270242){const _0x51cb66=_0x3b7171,_0x3170d1=this[_0x51cb66(0x1b1)](_0x445d1e,!0x1);if(!_0x3170d1||_0x3170d1===_0x4e0214['VALUE']||Array['isArray'](_0x3170d1))return null;this[_0x51cb66(0x140)](),this[_0x51cb66(0x1db)]=_0x1f4e04;const _0x129d2f=this[_0x51cb66(0x20d)](_0x3170d1,_0x20a710,_0x2b13e5,_0x270242);return this['_currentUnitId']='',this[_0x51cb66(0x19f)](),_0x129d2f;}['_generateExprTree'](_0x3d458d,_0xf3de29,_0x29ef1b,_0x437592){const _0x1bfb21=_0x3b7171,_0x14900f={'value':'','children':[],'startIndex':0x0};let _0x108d77=_0x3d458d;if(_0x108d77 instanceof _0x5a7194&&(_0x108d77[_0x1bfb21(0x158)]()===_0xd1f1c9||_0x108d77['getToken']()===_0x10f2d2)&&_0x108d77[_0x1bfb21(0x194)]()[_0x1bfb21(0x186)]===0x1&&(_0x108d77=_0x108d77[_0x1bfb21(0x194)]()[0x0]),!(_0x108d77 instanceof _0x5a7194))return this[_0x1bfb21(0x1d3)](_0x108d77,_0x29ef1b,_0x437592);const _0x2974d2=_0x108d77[_0x1bfb21(0x194)](),_0x4d05fb=_0x2974d2['length'],_0xe0edc3=[];this[_0x1bfb21(0x1cf)](_0x108d77,_0xe0edc3,_0xf3de29),_0x14900f[_0x1bfb21(0x203)]=_0xe0edc3['join'](''),_0x14900f[_0x1bfb21(0x1b5)]=_0x108d77[_0x1bfb21(0x1e7)]();const _0x14d661=this[_0x1bfb21(0x1a3)](_0x108d77);if(_0x14d661===0x2){const _0x5061eb=_0x2974d2[0x0];if(_0x5061eb instanceof _0x5a7194){if(_0x5061eb[_0x1bfb21(0x158)]()['trim']()!==_0x3fa491)return _0x14900f;this['_handleLambdaForExprTree'](_0x5061eb,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592);}return _0x14900f;}else{if(_0x14d661===0x1){for(let _0x52ed41=0x0;_0x52ed41<_0x4d05fb-0x1;_0x52ed41++){const _0x5a674d=_0x2974d2[_0x52ed41];if(_0x5a674d instanceof _0x5a7194&&_0x52ed41%0x2===0x1){const _0x344311=_0x5a674d['getChildren']();if(_0x344311[_0x1bfb21(0x186)]===0x1&&!(_0x344311[0x0]instanceof _0x5a7194))continue;const _0x5a8499=this[_0x1bfb21(0x20d)](_0x5a674d,_0xf3de29,_0x29ef1b,_0x437592);_0x5a8499&&_0x14900f[_0x1bfb21(0x1b8)][_0x1bfb21(0x1ee)](_0x5a8499);}}return _0x14900f;}else{if(_0x14d661===0x8){const _0x573266=_0x2974d2[0x0];if(_0x573266 instanceof _0x5a7194){const _0x3d0b1b=_0x573266[_0x1bfb21(0x194)]()[0x0];_0x3d0b1b instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x3d0b1b[_0x1bfb21(0x1e7)]());}if(this[_0x1bfb21(0x191)](_0x108d77))return _0x14900f;}else{if(_0x14d661===0x7){const _0x3e312d=_0x2974d2[0x0];if(_0x3e312d instanceof _0x5a7194){const _0x5eddcd=_0x3e312d[_0x1bfb21(0x194)]()[0x0];_0x5eddcd instanceof _0x5a7194&&(_0x14900f[_0x1bfb21(0x1b5)]=_0x5eddcd[_0x1bfb21(0x1e7)]());}}}}}return this['_handleChildrenForExprTree'](_0x2974d2,_0x14d661,_0x14900f,_0xf3de29,_0x29ef1b,_0x437592),_0x14900f;}[_0x3b7171(0x20b)](_0x4a2bdf,_0x4be348,_0x2cfb5e,_0x40eb0b,_0x3b5816,_0x17ef8e){const _0x3451ef=_0x3b7171;for(let _0x151256=0x0;_0x151256<_0x4a2bdf[_0x3451ef(0x186)];_0x151256++){let _0x40331d=_0x4a2bdf[_0x151256];if(!(_0x40331d instanceof _0x5a7194)){const _0x302218=this[_0x3451ef(0x1d3)](_0x40331d,_0x3b5816,_0x17ef8e);_0x302218&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x302218);continue;}const _0x3d5e77=_0x40331d[_0x3451ef(0x194)]();if(_0x3d5e77['length']===0x1&&!(_0x3d5e77[0x0]instanceof _0x5a7194)){const _0x1b57ad=_0x3d5e77[0x0];if(!_0x3b5816(this[_0x3451ef(0x1db)],_0x1b57ad)&&!this[_0x3451ef(0x173)](_0x1b57ad,_0x17ef8e)&&!_0x50ffb1(_0x1b57ad))continue;}if(_0x4be348===0x8){const _0x3c1ecc=_0x3d5e77[0x0];if(_0x3c1ecc instanceof _0x5a7194){const _0x5f470b=_0x3c1ecc[_0x3451ef(0x158)]()['trim']();if(_0x50ffb1(_0x5f470b))continue;_0x40331d=_0x3c1ecc;}}const _0x55263b=this[_0x3451ef(0x20d)](_0x40331d,_0x40eb0b,_0x3b5816,_0x17ef8e);_0x55263b&&_0x2cfb5e[_0x3451ef(0x1b8)][_0x3451ef(0x1ee)](_0x55263b);}}[_0x3b7171(0x191)](_0x3d53fe){const _0x537d5d=_0x3b7171,_0x1f859e=_0x3d53fe[_0x537d5d(0x194)]();if(_0x1f859e['length']<0x2)return!0x1;const _0x49aeb2=_0x1f859e[0x0],_0x18404e=_0x1f859e[0x1];if(!(_0x49aeb2 instanceof _0x5a7194)||!(_0x18404e instanceof _0x5a7194))return!0x1;const _0x49ab77=_0x49aeb2[_0x537d5d(0x194)]()[0x0],_0x1aeffd=_0x18404e[_0x537d5d(0x194)]()[0x0];if(!(_0x49ab77 instanceof _0x5a7194)||!(_0x1aeffd instanceof _0x5a7194))return!0x1;const _0xc3de9a=_0x49ab77[_0x537d5d(0x158)]()[_0x537d5d(0x16a)](),_0x375bd0=_0x1aeffd[_0x537d5d(0x158)]()[_0x537d5d(0x16a)]();return!!_0x50ffb1(''+_0xc3de9a+_0x422006[_0x537d5d(0x1dd)]+_0x375bd0);}[_0x3b7171(0x1d3)](_0x28d286,_0x2bcb05,_0x3eb7b2){const _0x1f616b=_0x3b7171,_0x408afa=_0x28d286[_0x1f616b(0x16a)]();return _0x408afa[_0x1f616b(0x1d2)]('{')&&_0x408afa[_0x1f616b(0x164)]('}')||_0x2bcb05(this[_0x1f616b(0x1db)],_0x408afa)||this['_getTableNameFromStructuredRef'](_0x408afa,_0x3eb7b2)||_0x50ffb1(_0x408afa)?{'value':_0x408afa,'children':[],'startIndex':-0x1}:null;}['_getTableNameFromStructuredRef'](_0x296022,_0x2855ca){const {tableName:_0xdce46e}=_0x306d2d(_0x296022);return _0x2855ca(this['_currentUnitId'],_0xdce46e)?_0xdce46e:null;}['_handleLambdaForExprTree'](_0x5ea45a,_0x491eaf,_0x49c890,_0x480386,_0x20a0ab){const _0x18cfed=_0x3b7171,_0x514958=_0x5ea45a['getChildren']();for(let _0x3a663d=0x0;_0x3a663d<_0x514958[_0x18cfed(0x186)];_0x3a663d++){const _0x21a274=_0x514958[_0x3a663d];if(!(_0x21a274 instanceof _0x5a7194))continue;const _0xc624fb=_0x21a274[_0x18cfed(0x194)]();if(_0xc624fb['length']===0x1&&!(_0xc624fb[0x0]instanceof _0x5a7194))continue;const _0x1a7c34=this[_0x18cfed(0x20d)](_0x21a274,_0x49c890,_0x480386,_0x20a0ab);_0x1a7c34&&_0x491eaf[_0x18cfed(0x1b8)]['push'](_0x1a7c34);}}[_0x3b7171(0x1a3)](_0x31468e){const _0x2da2e1=_0x3b7171,_0x29a03f=_0x31468e['getToken'](),_0x35bd66=_0x29a03f[_0x2da2e1(0x16a)]()[_0x2da2e1(0x20a)]();let _0x9ed5a5=0x0;return _0x29a03f===_0xd1f1c9?_0x9ed5a5=0x3:_0x29a03f===_0x10f2d2?_0x9ed5a5=0x4:_0x29a03f===_0x3fa491?_0x9ed5a5=0x5:_0x35bd66===_0x13a2f1?_0x9ed5a5=0x2:_0x35bd66===_0x177c16?_0x9ed5a5=0x1:_0x35bd66===_0x422006[_0x2da2e1(0x1dd)]?_0x9ed5a5=0x8:_0x3d773e['has'](_0x35bd66)?_0x9ed5a5=0x7:_0x35bd66===_0x295481[_0x2da2e1(0x215)]?this[_0x2da2e1(0x145)](_0x31468e)&&(_0x9ed5a5=0x9):_0x9ed5a5=0xa,_0x9ed5a5;}}const we={0x0:'S',0x1:'d',0x2:'W',0x3:'T',0x4:'2',0x5:'G',0x6:'z',0x7:'x',0x8:'Y',0x9:'V','g':'0','l':'1','c':'3','E':'4','k':'5','q':'6','T':'7','j':'8','y':'9','C':'a','o':'b','N':'c','z':'e','d':'f','J':'g','r':'h','w':'i','v':'j','S':'k','f':'l','B':'m','b':'n','R':'o','a':'p','G':'q','K':'r','m':'s','H':'t','W':'u','A':'v','L':'w','h':'y','p':'A','e':'B','X':'C','I':'D','n':'E','\x20':'F','x':'H','M':'I','P':'J','F':'K','s':'L','U':'M','u':'N','t':'O','D':'P','Y':'Q','O':'R','V':'U','i':'X','Q':'Z','Z':'\x20'},Ne=_0x3b7171(0x14b);function _0x469f(){const _0x14e3f2=['START_DEPENDENCY_ARRAY_FORMULA','clear','setCompletedArrayFormulasCount','_isCyclicUtilMap','setRuntimeFeatureRange','treeBuilder','_otherFormulaDataMainData','1208TagvYx','column','startIndex','_checkIsCycleDependency','_registerOtherFormulas','children','set','addFeatureFormulaDependency','setRuntimeFeatureCellData','delete','getRuntimeState','_updateRangeFlatten','refOffsetY','defineProperty','clearFormulaDependency','_getTreeNode','isDirty','startRow','symbol','closeKdTree','_getFeatureFormulaTree','_getDependencyTreeChildrenIds','_removeAllTreeMap','403659rbmIXr','max','_config','getDirtyData','_xlfn.','_generateNewFunctionString','_initializeGenerateTreeList','FEATURE_FORMULA','startsWith','_handleTextNodeForExprTree','forEach','addFormulaDependencyByDefinedName','setSkip','rangeList','_definedNameMap','_xlfnPrefix','markedAsNoFunctionsExecuted','_currentUnitId','forValue','COLON','_hasNewExcelFunction','treeId','pop','_removeDependencyRTreeCacheById','2056348ULlaaM','realDeleteValue','notExecuteFormula','_dependencyRTreeCache','_xlpmPrefix','getStartIndex','removeFeatureFormulaDependency','_removeDependencyRTreeCache','slice','_dependencyRTreeCacheForAddressFunction','bulkRemove','subUnitId','push','addFormulaDependency','isArray','toRTreeItem','_executionCompleteListener$','clearFeatureFormulaDependency','OTHER_FORMULA','rowCount','featureId','removeOtherFormulaDependency','range','valid','execute','addOtherFormulaDependency','_initializeWithOverride','_getUpdateTreeListAndMakeDependency','formula','type','endColumn','isSkip','Let\x20variable\x20name\x20\x22','value','getDirtyNameMap','keys','_otherFormulaData','_dependencyTreeCache','_injector','has','toUpperCase','_handleChildrenForExprTree','isAdded','_generateExprTree','getOtherFormulaData','getValue','_handleNewFunctionChild','_addAllTreeMap','string','row','getOwnPropertyDescriptor','MINUS','setTotalArrayFormulasToCalculate','_clearPrefix','START_CALCULATION_ARRAY_FORMULA','setCompletedFormulasCount','_featureFormulaData','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_checkAddBracketForMinus','get','_getFirstCellOfRange','getNewFormulaWithPrefix','refOffsetX','removeFormulaDependency','/*ZzmfwbH-1wmCofzZaKzdzK-HzBafCHzZ*/dWbNHwRbZ1zNKhaHwRb(fwNzbmz,ZaWofwNFzh)Z{ZZZZHKhZ{ZZZZZZZZNRbmHZfwNzbmzMbdRDCKHpKKChZ=ZfwNzbmz.mafwH(\x27-\x27);ZZZZZZZZNRbmHZRKwJwbUzmmCJzZ=ZP0tu.aCKmz(CHRo(fwNzbmzMbdRDCKHpKKCh[4]));ZZZZZZZZwdZ(!RKwJwbUzmmCJz.W1)Z{ZZZZZZZZZZZZRKwJwbUzmmCJz.W1Z=ZuWBozK(fwNzbmzMbdRDCKHpKKCh[E]);ZZZZZZZZ}ZZZZZZZZNRbmHZwm2RKSzKZ=ZHhazRdZ2RKSzK5fRoCf0NRazZ!==Z\x27Wb1zdwbz1\x27Z&&ZmzfdZwbmHCbNzRdZ2RKSzK5fRoCf0NRaz;ZZZZZZZZNRbmHZwmeKRLmzKZ=ZHhazRdZLwb1RLZ!==Z\x27Wb1zdwbz1\x27Z&&ZHhazRdZLwb1RL.fRNCHwRbZ!==Z\x27Wb1zdwbz1\x27;ZZZZZZZZNRbmHZNRbHz7HZ=Zwm2RKSzKZ?ZmzfdZ:Z(wmeKRLmzKZ?ZLwb1RLZ:ZJfRoCf3rwm);ZZZZZZZZNRbmHZBzmmCJz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[4]);ZZZZZZZZNRbmHZBzmmCJzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(BzmmCJz2RK1);ZZZZZZZZNRbmHZmwJbCHWKz2RK1Z=ZNRbHz7H.__eCmzqE__.aCKmz(fwNzbmzMbdRDCKHpKKCh[c]);ZZZZZZZZNRbmHZmwJbCHWKzZ=ZNRbHz7H.__xz7__.mHKwbJwdh(mwJbCHWKz2RK1);ZZZZZZZZNRbmHZmwJb9Cfw1Z=ZNRbHz7H.__AzKwdh__(mwJbCHWKz,ZBzmmCJz,ZaWofwNFzh);ZZZZZZZZNRbmHZ1RBCwbZ=ZRKwJwbUzmmCJz.1B;ZZZZZZZZdWbNHwRbZwmIRBCwbUCHNrwbJ(aCHHzKb,ZrRmH)Z{ZZZZZZZZZZZZwdZ(aCHHzKbZ===ZrRmH)ZKzHWKbZHKWz;ZZZZZZZZZZZZwdZ(aCHHzKb.mHCKHm2wHr(\x27*.\x27))Z{ZZZZZZZZZZZZZZZZNRbmHZmWddw7Z=ZaCHHzKb.mfwNz(4);ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&ZmWddw7Z===ZrRmH)Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZZZZZwdZ(mWddw7Z&&Z!rRmH.mHCKHm2wHr(\x27.\x27)Z&&ZrRmH.zb1m2wHr(\x27.\x27Z+ZmWddw7))Z{ZZZZZZZZZZZZZZZZZZZZKzHWKbZHKWz;ZZZZZZZZZZZZZZZZ}ZZZZZZZZZZZZ}ZZZZZZZZZZZZKzHWKbZdCfmz;ZZZZZZZZ}ZZZZZZZZfzHZ1RBCwb9Cfw1Z=ZdCfmz;ZZZZZZZZwdZ(wmeKRLmzK)Z{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=Z(1RBCwbZ&&Z1RBCwb.fzbJHr)Z?Z1RBCwb.mRBz((1BMHzB)Z=>ZwmIRBCwbUCHNrwbJ(1BMHzB,ZfRNCHwRb.rRmHbCBz))Z:ZHKWz;ZZZZZZZZZZZZwdZ(fRNCHwRb.rRmHbCBzZ===Z\x27fRNCfrRmH\x27)Z{ZZZZZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZZZZZ}ZZZZZZZZ}ZzfmzZ{ZZZZZZZZZZZZ1RBCwb9Cfw1Z=ZHKWz;ZZZZZZZZ}ZZZZZZZZNRbmHZACfw1Z=ZmwJb9Cfw1Z&&Z1RBCwb9Cfw1;ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1,ZZZZZZZZZZZZBzmmCJz:ZRKwJwbUzmmCJz,ZZZZZZZZ};ZZZZ}ZNCHNrZ(zKKRK)Z{ZZZZZZZZKzHWKbZ{ZZZZZZZZZZZZACfw1:ZdCfmz,ZZZZZZZZZZZZBzmmCJz:Z{},ZZZZZZZZ};ZZZZ}}','isForceCalculate','setFormulaExecuteStage','getFormulaDependency','_lexer','setRuntimeOtherData','hasOtherFormulaDataMainData','_createFDtree','searchDependency','_runtimeService','add','parseInt','_createVirtualFDtree','getToken','bulkSearch','setCurrent','next','getConfig','_currentConfigService','markedAsStopFunctionsExecuted','42246TuGxzb','9981VCYvNQ','join','getOtherFormulaDependency','generate','endsWith','sheetId','_astTreeBuilder','intervalCount','_interpreter','openKdTree','trim','265690JXEoGA','setValue','_xlpm.','_traverse','752081avjCyN','10OeNMvs','\x22\x20is\x20duplicated.','getClearDependencyTreeCache','_getTableNameFromStructuredRef','PLUS','isCache','getAllRuntimeData','return\x20','setRuntimeData','startColumn','_lambdaFunctionParameterSet','inRangeData','_calculateRunList','1590004eSyHus','reset','refTree','getDirtyRanges','setAdded','CURRENTLY_CALCULATING','dispose','endRow','START_DEPENDENCY','length','95dBUavg','_getTreeById','_dependencyManagerService','_endFormulaDependencyTreeModel','node','_convertDirtyRangesToUnitRange','START_CALCULATION','getFormulaData','2zssJdG','getUnitData','_checkColonNodeForExprTree','_clearFunctionString','error','getChildren','unitId','columnCount','IDLE','_formulaData','isStopExecution','dependencySheetName','size','formulaId','_startFormulaDependencyTreeModel','isExcludeRange','_resetPrefix','min','VALUE','checkAsyncNode','_getCurNodeTypeForExprTree','_allTreeMap','setDependencyTreeModelData','_configService','resolve','_initLicenseValid','CURRENTLY_CALCULATING_ARRAY_FORMULA','values','_executionInProgressListener$'];_0x469f=function(){return _0x14e3f2;};return _0x469f();}class Me extends _0x3a778c{constructor(){const _0x5de802=_0x3b7171;super(...arguments),R(this,_0x5de802(0x207),new Map());}['dispose'](){const _0x1bdadc=_0x3b7171;super[_0x1bdadc(0x183)](),this[_0x1bdadc(0x207)][_0x1bdadc(0x1ad)]();}async[_0x3b7171(0x163)](_0x4e072e=!0x1){const _0x312465=_0x3b7171;this[_0x312465(0x1be)]();const _0x3167e8=this[_0x312465(0x15d)][_0x312465(0x18e)](),_0x220bde=this['_otherFormulaManagerService'][_0x312465(0x20e)](),_0x21efed=this[_0x312465(0x15d)][_0x312465(0x172)]();_0x21efed!=null&&Object[_0x312465(0x205)](_0x21efed)['forEach'](_0x501c33=>{const _0x5a5612=_0x312465;_0x501c33!=null&&Object['keys'](_0x21efed[_0x501c33])[_0x5a5612(0x1d4)](_0x216972=>{const _0x5e6fc3=_0x5a5612;_0x216972!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)][_0x5e6fc3(0x1f3)](_0x501c33,_0x216972),this[_0x5e6fc3(0x189)]['clearFormulaDependency'](_0x501c33,_0x216972));});});const _0x200191=this[_0x312465(0x15d)][_0x312465(0x190)]();await this['_generateTreeList'](_0x3167e8,_0x220bde,_0x200191),this['_dependencyManagerService'][_0x312465(0x169)]();const _0x416f64=this['_getUpdateTreeListAndMakeDependency'](),_0x511d8e=this[_0x312465(0x17c)](_0x416f64);return this[_0x312465(0x1b6)](_0x511d8e)&&this['_runtimeService']['enableCycleDependency'](),_0x4e072e&&this[_0x312465(0x154)][_0x312465(0x1a5)](this['_getAllDependencyJson'](Array['from'](this[_0x312465(0x207)]['values']()))),this[_0x312465(0x207)][_0x312465(0x1ad)](),this[_0x312465(0x1eb)][_0x312465(0x1ad)](),this[_0x312465(0x189)][_0x312465(0x1c6)](),this['_runtimeService']['clearArrayObjectCache'](),Promise[_0x312465(0x1a7)](_0x511d8e);}[_0x3b7171(0x1af)](_0x25ff35,_0x8691c4){const _0x22a4b8=_0x3b7171,_0x3c9d4f=[_0x25ff35];for(;_0x3c9d4f[_0x22a4b8(0x186)]>0x0;){const _0x14988f=_0x3c9d4f[_0x3c9d4f[_0x22a4b8(0x186)]-0x1];if((_0x8691c4[_0x22a4b8(0x146)](_0x14988f)||0x0)===0x0){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x1);const _0x34dcc3=this[_0x22a4b8(0x207)][_0x22a4b8(0x146)](_0x14988f);if(_0x34dcc3==null){_0x8691c4[_0x22a4b8(0x1b9)](_0x14988f,0x2),_0x3c9d4f['pop']();continue;}const _0x329585=this[_0x22a4b8(0x189)]['searchDependency'](_0x34dcc3[_0x22a4b8(0x1f1)]());for(const _0x4b33b3 of _0x329585){const _0x34b688=_0x8691c4[_0x22a4b8(0x146)](_0x4b33b3)||0x0;if(_0x34b688===0x1)return!0x0;_0x34b688===0x0&&_0x3c9d4f[_0x22a4b8(0x1ee)](_0x4b33b3);}}else _0x8691c4['set'](_0x14988f,0x2),_0x3c9d4f['pop']();}return!0x1;}[_0x3b7171(0x1b6)](_0x5baf71){const _0x182a77=_0x3b7171,_0x115b07=new Map();for(const _0x3dc597 of _0x5baf71)if(!_0x115b07[_0x182a77(0x209)](_0x3dc597[_0x182a77(0x1df)])&&this[_0x182a77(0x1af)](_0x3dc597[_0x182a77(0x1df)],_0x115b07))return!0x0;return _0x115b07[_0x182a77(0x1ad)](),!0x1;}[_0x3b7171(0x1c7)](_0x23246a,_0x28842e,_0x953448){const _0x39ffdc=_0x3b7171,{unitId:_0x156192,subUnitId:_0xb93b75,dependencyRanges:_0x3455ba,getDirtyData:_0x52710e}=_0x953448,_0x56cc7a=_0x28842e||_0x441375(this[_0x39ffdc(0x189)]),_0x522489=new _0x5fb721(_0x56cc7a);_0x522489[_0x39ffdc(0x195)]=_0x156192,_0x522489[_0x39ffdc(0x1ed)]=_0xb93b75,_0x522489[_0x39ffdc(0x1d7)]=_0x3455ba,_0x522489[_0x39ffdc(0x1cd)]=_0x52710e;const _0x8d376f=_0x52710e(this['_currentConfigService']['getDirtyData'](),this[_0x39ffdc(0x154)]['getAllRuntimeData']()),_0x333bad=this[_0x39ffdc(0x18c)](_0x8d376f['dirtyRanges']);return _0x522489['featureDirtyRanges']=_0x333bad,_0x522489[_0x39ffdc(0x1f6)]=_0x23246a,_0x522489[_0x39ffdc(0x1ff)]=_0x31bf64[_0x39ffdc(0x1d1)],this[_0x39ffdc(0x189)][_0x39ffdc(0x1ba)](_0x156192,_0xb93b75,_0x23246a,_0x522489),this[_0x39ffdc(0x207)][_0x39ffdc(0x1b9)](_0x522489[_0x39ffdc(0x1df)],_0x522489),this[_0x39ffdc(0x189)]['getFeatureFormulaDependency'](_0x953448[_0x39ffdc(0x195)],_0x953448[_0x39ffdc(0x1ed)],_0x23246a)&&(_0x522489[_0x39ffdc(0x175)]=!0x0),_0x522489;}[_0x3b7171(0x1b7)](_0x5e1515,_0x472b46,_0x50ddb5){const _0x1f6582=_0x3b7171;var _0x1b622d;for(const _0x1efbaf of _0x472b46){const _0x195eda=_0x5e1515[_0x1efbaf];if(_0x195eda==null)continue;const _0x346aef=Object['keys'](_0x195eda);for(const _0x1aca86 of _0x346aef){const _0x2771c8=_0x195eda[_0x1aca86];if(_0x2771c8==null)continue;const _0x42fed6=Object[_0x1f6582(0x205)](_0x2771c8);for(const _0x25e518 of _0x42fed6){const _0x50331a=this[_0x1f6582(0x189)][_0x1f6582(0x151)](_0x25e518),_0x59307a=_0x2771c8[_0x25e518],{f:_0x1665bc,ranges:_0x36a987}=_0x59307a;let _0x492562=!0x1;_0x50331a&&(_0x492562=!0x0);const {firstRow:_0x42ea30,firstColumn:_0x4201ec}=this[_0x1f6582(0x147)](_0x36a987),_0x423755=this['_dependencyManagerService'][_0x1f6582(0x162)](_0x1efbaf,_0x1aca86,_0x25e518),_0x13ffa2=(_0x1b622d=_0x423755==null?void 0x0:_0x423755[_0x1f6582(0x20f)](0x0,0x0))!=null?_0x1b622d:_0x441375(this['_dependencyManagerService']),_0x5e95c9=new _0x5fb721(_0x13ffa2);for(let _0xf169c8=0x0;_0xf169c8<_0x36a987[_0x1f6582(0x186)];_0xf169c8++){const _0xfe47d4=_0x36a987[_0xf169c8],{startRow:_0x139993,startColumn:_0x50eb12,endRow:_0x187f2a,endColumn:_0x124ea9}=_0xfe47d4;for(let _0x5b64b4=_0x139993;_0x5b64b4<=_0x187f2a;_0x5b64b4++)for(let _0x84a4e7=_0x50eb12;_0x84a4e7<=_0x124ea9;_0x84a4e7++){const _0x1d48e1=_0x84a4e7-_0x4201ec,_0x27c5fe=_0x5b64b4-_0x42ea30;if(_0x1d48e1===0x0&&_0x27c5fe===0x0){_0x5e95c9[_0x1f6582(0x1fe)]=_0x1665bc,_0x5e95c9[_0x1f6582(0x195)]=_0x1efbaf,_0x5e95c9[_0x1f6582(0x1ed)]=_0x1aca86,_0x5e95c9[_0x1f6582(0x19c)]=_0x25e518,_0x5e95c9[_0x1f6582(0x1ff)]=_0x31bf64[_0x1f6582(0x1f4)],_0x5e95c9[_0x1f6582(0x175)]=_0x492562,_0x50ddb5[_0x1f6582(0x1ee)](_0x5e95c9),this[_0x1f6582(0x207)][_0x1f6582(0x1b9)](_0x5e95c9['treeId'],_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x5e95c9),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x5e95c9);continue;}const _0x2290db=new _0x112f86();_0x2290db[_0x1f6582(0x1df)]=(_0x423755==null?void 0x0:_0x423755['getValue'](_0x1d48e1,_0x27c5fe))||_0x441375(this['_dependencyManagerService']),_0x2290db[_0x1f6582(0x17f)]=_0x5e95c9,_0x2290db[_0x1f6582(0x149)]=_0x1d48e1,_0x2290db[_0x1f6582(0x1bf)]=_0x27c5fe,_0x2290db[_0x1f6582(0x175)]=_0x492562,_0x2290db['type']=_0x31bf64['OTHER_FORMULA'],this[_0x1f6582(0x189)][_0x1f6582(0x1fb)](_0x1efbaf,_0x1aca86,_0x25e518,_0x2290db),this[_0x1f6582(0x189)][_0x1f6582(0x1d5)](_0x2290db),_0x50ddb5['push'](_0x2290db),this[_0x1f6582(0x207)]['set'](_0x2290db[_0x1f6582(0x1df)],_0x2290db);}}this[_0x1f6582(0x189)]['addOtherFormulaDependencyMainData'](_0x25e518);}}}}['_registerFormulas'](_0x47a680,_0x5ce7ef,_0x3c4003,_0x32ddf7){const _0x32bc65=_0x3b7171;for(const _0x2eb987 of _0x47a680){const _0x5ed5de=_0x5ce7ef[_0x2eb987];if(_0x5ed5de==null)continue;const _0x28345c=Object['keys'](_0x5ed5de);for(const _0x43f097 of _0x28345c){const _0x36d5f0=new _0x17396b(_0x5ed5de[_0x43f097]||{}),_0x189708=new Map();_0x36d5f0[_0x32bc65(0x1dc)]((_0x59d7a7,_0x3d0475,_0x36d7e1)=>{const _0x27d7f9=_0x32bc65;if(_0x36d7e1==null)return!0x0;const {x:_0x130451=0x0,y:y=0x0,si:_0x461cb8}=_0x36d7e1;if(!(_0x130451===0x0&&y===0x0&&_0x461cb8!=null))return!0x0;const _0x197507=this[_0x27d7f9(0x152)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x3c4003,_0x36d7e1),_0xc4526f=this[_0x27d7f9(0x189)][_0x27d7f9(0x14e)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475);_0xc4526f!=null?_0x197507[_0x27d7f9(0x1df)]=_0xc4526f:(this[_0x27d7f9(0x189)][_0x27d7f9(0x1ef)](_0x2eb987,_0x43f097,_0x59d7a7,_0x3d0475,_0x197507),this[_0x27d7f9(0x189)][_0x27d7f9(0x1d5)](_0x197507)),_0x189708['set'](_0x461cb8,_0x197507),_0x32ddf7['push'](_0x197507),this[_0x27d7f9(0x207)]['set'](_0x197507[_0x27d7f9(0x1df)],_0x197507);}),_0x36d5f0[_0x32bc65(0x1dc)]((_0x1cc92b,_0x47b7f4,_0x375456)=>{const _0x53efe7=_0x32bc65;if(_0x375456==null)return!0x0;const {x:_0x26781d=0x0,y:y=0x0,si:_0x5642e9}=_0x375456;if(_0x26781d===0x0&&y===0x0&&_0x5642e9!=null)return!0x0;let _0x262260;if(_0x5642e9&&_0x189708['has'](_0x5642e9)){const _0x38da90=_0x189708[_0x53efe7(0x146)](_0x5642e9);_0x262260=this[_0x53efe7(0x157)](_0x38da90,_0x375456);}else _0x262260=this[_0x53efe7(0x152)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x3c4003,_0x375456);const _0x555289=this[_0x53efe7(0x189)][_0x53efe7(0x14e)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4);_0x555289!=null?_0x262260[_0x53efe7(0x1df)]=_0x555289:(this['_dependencyManagerService'][_0x53efe7(0x1ef)](_0x2eb987,_0x43f097,_0x1cc92b,_0x47b7f4,_0x262260),this[_0x53efe7(0x189)][_0x53efe7(0x1d5)](_0x262260)),_0x32ddf7[_0x53efe7(0x1ee)](_0x262260),this['_dependencyTreeCache'][_0x53efe7(0x1b9)](_0x262260['treeId'],_0x262260);}),_0x189708['clear']();}}}[_0x3b7171(0x152)](_0x872ffe,_0x1aa471,_0x8e1a3a,_0x1ed729,_0x7377b0,_0x372482){const _0x248e89=_0x3b7171,{f:_0x2c6b17,x:_0x3a966e=0x0,y:_0x2f72ca=0x0}=_0x372482,_0x584ee9=new _0x5fb721(_0x441375(this[_0x248e89(0x189)])),_0x4746b1=_0x7377b0[_0x872ffe][_0x1aa471];return _0x584ee9[_0x248e89(0x1fe)]=_0x2c6b17,_0x584ee9['unitId']=_0x872ffe,_0x584ee9[_0x248e89(0x1ed)]=_0x1aa471,_0x584ee9[_0x248e89(0x213)]=_0x8e1a3a,_0x584ee9[_0x248e89(0x1b4)]=_0x1ed729,_0x584ee9[_0x248e89(0x1f5)]=_0x4746b1[_0x248e89(0x1f5)],_0x584ee9[_0x248e89(0x196)]=_0x4746b1['columnCount'],_0x584ee9;}[_0x3b7171(0x1fd)](){const _0x423300=_0x3b7171,_0x30a51a=[],_0x4aa0f2=new Set(),_0x35a8f9=this[_0x423300(0x15d)][_0x423300(0x14c)](),_0x19297c=this[_0x423300(0x15d)][_0x423300(0x180)](),_0x46b2ce=this['_dependencyManagerService']['searchDependency'](_0x19297c),_0x5010c7=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x19297c);for(const _0x2ba849 of _0x5010c7)_0x46b2ce[_0x423300(0x155)](_0x2ba849);for(const [_0x103374,_0x2948ad]of this[_0x423300(0x207)])(_0x35a8f9||_0x2948ad[_0x423300(0x1c3)]||_0x2948ad[_0x423300(0x19a)](this[_0x423300(0x15d)][_0x423300(0x204)]())||_0x46b2ce[_0x423300(0x209)](_0x103374)&&!_0x2948ad[_0x423300(0x19e)](this[_0x423300(0x15d)]['getExcludedRange']()))&&!_0x4aa0f2[_0x423300(0x209)](_0x103374)&&(_0x30a51a[_0x423300(0x1ee)](_0x2948ad),_0x4aa0f2[_0x423300(0x155)](_0x103374));for(const [_0x370069,_0x5f0186]of this[_0x423300(0x207)])_0x5f0186['isVirtual']||(_0x5f0186[_0x423300(0x1d7)]['length']=0x0);return _0x30a51a;}[_0x3b7171(0x188)](_0x5e3336){const _0x343500=_0x3b7171;return this[_0x343500(0x207)]['get'](_0x5e3336);}[_0x3b7171(0x1c2)](_0xf9b77b){const _0x5b8cb8=_0x3b7171;return _0xd66bc(_0xf9b77b[_0x5b8cb8(0x195)],_0xf9b77b[_0x5b8cb8(0x1fe)],this[_0x5b8cb8(0x14f)],this[_0x5b8cb8(0x166)],this['_currentConfigService']);}*[_0x3b7171(0x16e)](_0x2e0870,_0x4ce4e4){const _0x2b2219=_0x3b7171,_0x50a7f7=_0x2e0870,_0x21ff4d=new Set();for(;_0x50a7f7['length']>0x0;){const _0x569643=_0x50a7f7['pop']();if(_0x21ff4d[_0x2b2219(0x1ad)](),_0x569643===void 0x0||_0x569643[_0x2b2219(0x201)]())continue;if(_0x569643['isAdded']()){yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);continue;}const _0x2ee11a=this[_0x2b2219(0x189)][_0x2b2219(0x153)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4),_0xac6854=this[_0x2b2219(0x1eb)][_0x2b2219(0x159)](_0x569643[_0x2b2219(0x1f1)](),_0x4ce4e4);for(const _0x9405a5 of _0xac6854)_0x2ee11a[_0x2b2219(0x155)](_0x9405a5);for(const _0xc0b1fc of _0x2ee11a){const _0x19ead3=this[_0x2b2219(0x207)][_0x2b2219(0x146)](_0xc0b1fc);if(!_0x19ead3){console[_0x2b2219(0x193)](_0x2b2219(0x144),_0xc0b1fc);continue;}_0x19ead3[_0x2b2219(0x20c)]()||_0x569643[_0x2b2219(0x201)]()||_0x21ff4d[_0x2b2219(0x155)](_0x19ead3);}if(_0x2ee11a[_0x2b2219(0x1ad)](),_0x21ff4d[_0x2b2219(0x19b)]===0x0)yield _0x569643,_0x569643[_0x2b2219(0x1d6)](),_0x4ce4e4['add'](_0x569643[_0x2b2219(0x1df)]);else{_0x569643[_0x2b2219(0x181)](),_0x50a7f7[_0x2b2219(0x1ee)](_0x569643);for(const _0x4835e9 of _0x21ff4d)_0x50a7f7['push'](_0x4835e9);}}_0x50a7f7[_0x2b2219(0x186)]=0x0,_0x21ff4d[_0x2b2219(0x1ad)]();}[_0x3b7171(0x17c)](_0x383f8b){const _0x3f171d=_0x3b7171,_0x22a3fe=[],_0xb965=new Set();for(const _0x4c1088 of this[_0x3f171d(0x16e)](_0x383f8b,_0xb965))_0x22a3fe[_0x3f171d(0x1ee)](_0x4c1088);return _0x22a3fe;}async['_getAllTreeList'](){const _0x401dec=_0x3b7171;return await this[_0x401dec(0x1d0)](),Array['from'](this[_0x401dec(0x207)][_0x401dec(0x1aa)]());}['_getDependencyTreeParenIds'](_0x503e8b){const _0x3388ee=_0x3b7171;return this['_dependencyManagerService'][_0x3388ee(0x153)](_0x503e8b[_0x3388ee(0x1f1)]());}[_0x3b7171(0x1c8)](_0x16ecd8){const _0x5357c0=_0x3b7171,_0xcf2045=new Set(),_0x525185=_0x16ecd8['rangeList'];for(const [_0x43aeba,_0x582262]of this[_0x5357c0(0x207)])for(const _0x40ea8a of _0x525185){const _0x494d25=_0x40ea8a['unitId'],_0x4d832b=_0x40ea8a[_0x5357c0(0x165)];if(_0x582262[_0x5357c0(0x195)]!==_0x494d25||_0x582262[_0x5357c0(0x1ed)]!==_0x4d832b)continue;const _0x380cf0=_0x40ea8a[_0x5357c0(0x1f8)];if(_0x582262[_0x5357c0(0x17b)](_0x380cf0)){_0xcf2045[_0x5357c0(0x155)](_0x43aeba);break;}}return _0xcf2045;}[_0x3b7171(0x19d)](){const _0x40210c=_0x3b7171;this['_dependencyManagerService'][_0x40210c(0x169)]();}[_0x3b7171(0x18a)](){const _0x453f13=_0x3b7171;this['_formulaDependencyTreeModel'][_0x453f13(0x1ad)](),this[_0x453f13(0x207)]['clear'](),this[_0x453f13(0x189)]['closeKdTree']();}}class ve extends _0x1b5a01{async['_apply'](_0x1eb543=!0x1){const _0x4d531f=_0x3b7171;_0x1eb543?this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x1ac)]):this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x185)]),this['_executionInProgressListener$']['next'](this[_0x4d531f(0x154)]['getRuntimeState']());const _0x531d72=await this['_formulaDependencyGenerator'][_0x4d531f(0x163)](this['_isCalculateTreeModel']),_0x2055da=this[_0x4d531f(0x168)];_0x1eb543?(this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x141)]),this[_0x4d531f(0x154)][_0x4d531f(0x216)](_0x531d72[_0x4d531f(0x186)])):(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x18d)]),this[_0x4d531f(0x154)]['setTotalFormulasToCalculate'](_0x531d72[_0x4d531f(0x186)])),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this['_runtimeService']['getRuntimeState']());let _0x77a161=[];const _0x434afe=this[_0x4d531f(0x1a6)][_0x4d531f(0x15c)](_0x534be7),_0x1f706e=(_0x434afe==null?void 0x0:_0x434afe[_0x4d531f(0x167)])||_0xb2c5e1;let _0x46bf9f=0x0;const _0x50a5a7=_0x531d72[_0x4d531f(0x186)];for(;_0x531d72[_0x4d531f(0x186)]>0x0;){const _0x18f18e=_0x531d72[_0x4d531f(0x1e0)](),_0x5b698e=_0xd66bc(_0x18f18e['unitId'],_0x18f18e[_0x4d531f(0x1fe)],this[_0x4d531f(0x14f)],this[_0x4d531f(0x166)],this[_0x4d531f(0x15d)]),_0x2a7fdc={'node':_0x5b698e,'refOffsetX':_0x18f18e['refOffsetX'],'refOffsetY':_0x18f18e[_0x4d531f(0x1bf)]},_0x3630cb=_0x18f18e['getDirtyData'];if(_0x46bf9f%_0x1f706e===0x0&&(await new Promise(_0x5d66f7=>{const _0x486791=_0x2c2b32(_0x5d66f7);_0x77a161['push'](_0x486791);}),_0x1eb543?(this[_0x4d531f(0x154)]['setFormulaExecuteStage'](_0x25b66f[_0x4d531f(0x1a9)]),this[_0x4d531f(0x154)][_0x4d531f(0x1ae)](_0x46bf9f+0x1)):(this[_0x4d531f(0x154)][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x182)]),this[_0x4d531f(0x154)][_0x4d531f(0x142)](_0x46bf9f+0x1)),this[_0x4d531f(0x1ab)][_0x4d531f(0x15b)](this[_0x4d531f(0x154)][_0x4d531f(0x1bd)]()),this[_0x4d531f(0x154)][_0x4d531f(0x199)]()||_0x2a7fdc==null&&_0x3630cb==null)){this['_runtimeService'][_0x4d531f(0x14d)](_0x25b66f[_0x4d531f(0x197)]),this['_runtimeService'][_0x4d531f(0x15e)](),this[_0x4d531f(0x1f2)]['next'](this[_0x4d531f(0x154)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4d531f(0x15a)](_0x18f18e[_0x4d531f(0x213)],_0x18f18e[_0x4d531f(0x1b4)],_0x18f18e[_0x4d531f(0x1f5)],_0x18f18e['columnCount'],_0x18f18e['subUnitId'],_0x18f18e[_0x4d531f(0x195)]);let _0x57dd34;if(_0x3630cb!=null&&_0x18f18e['featureId']!=null){const {runtimeCellData:_0x569543,dirtyRanges:_0x12f133}=_0x3630cb(this[_0x4d531f(0x15d)][_0x4d531f(0x1cd)](),this['_runtimeService'][_0x4d531f(0x176)]());this[_0x4d531f(0x154)][_0x4d531f(0x1bb)](_0x18f18e[_0x4d531f(0x1f6)],_0x569543),this[_0x4d531f(0x154)][_0x4d531f(0x1b0)](_0x18f18e[_0x4d531f(0x1f6)],_0x12f133);}else _0x2a7fdc!=null&&(_0x2055da[_0x4d531f(0x1a2)](_0x2a7fdc[_0x4d531f(0x18b)])?_0x57dd34=await _0x2055da['executeAsync'](_0x2a7fdc):_0x57dd34=_0x2055da[_0x4d531f(0x1fa)](_0x2a7fdc),_0x18f18e[_0x4d531f(0x19c)]!=null?this['_runtimeService'][_0x4d531f(0x150)](_0x18f18e[_0x4d531f(0x19c)],_0x18f18e[_0x4d531f(0x149)],_0x18f18e[_0x4d531f(0x1bf)],_0x57dd34):this[_0x4d531f(0x154)][_0x4d531f(0x178)](_0x57dd34));_0x5b698e['resetCalculationState'](),_0x46bf9f++;}return _0x77a161['forEach'](_0xe64f49=>_0xe64f49()),_0x77a161=[],_0x50a5a7>0x0?this[_0x4d531f(0x154)]['markedAsSuccessfullyExecuted']():_0x1eb543||this[_0x4d531f(0x154)][_0x4d531f(0x1da)](),this['_runtimeService'][_0x4d531f(0x176)]();}}class Se extends _0x38c21d{constructor(){super(...arguments),R(this,'_allTreeMap',new Map()),R(this,'_dependencyRTreeCache',new _0x1c1cad(!0x0));}['reset'](){const _0x16a167=_0x3b7171;this[_0x16a167(0x206)][_0x16a167(0x1ad)](),this[_0x16a167(0x143)][_0x16a167(0x1ad)](),this[_0x16a167(0x198)][_0x16a167(0x1ad)](),this['_dependencyRTreeCache'][_0x16a167(0x1ad)](),this['_allTreeMap'][_0x16a167(0x1ad)](),this['_restDependencyTreeId'](),this[_0x16a167(0x1b2)]['clear']();}[_0x3b7171(0x1fb)](_0x348be3,_0x524f2f,_0x2bc486,_0x5953ba){const _0x9705af=_0x3b7171;this[_0x9705af(0x206)][_0x9705af(0x209)](_0x348be3)||this['_otherFormulaData'][_0x9705af(0x1b9)](_0x348be3,new Map());const _0x11e029=this[_0x9705af(0x206)]['get'](_0x348be3);_0x11e029[_0x9705af(0x209)](_0x524f2f)||_0x11e029['set'](_0x524f2f,new Map());const _0x3f16ca=_0x11e029[_0x9705af(0x146)](_0x524f2f);_0x3f16ca[_0x9705af(0x209)](_0x2bc486)||_0x3f16ca[_0x9705af(0x1b9)](_0x2bc486,new _0x17396b()),_0x3f16ca[_0x9705af(0x146)](_0x2bc486)[_0x9705af(0x16c)](_0x5953ba[_0x9705af(0x149)],_0x5953ba[_0x9705af(0x1bf)],_0x5953ba[_0x9705af(0x1df)]);}[_0x3b7171(0x1f7)](_0x27899e,_0x50a4cc,_0x100850){const _0x15fb6c=_0x3b7171,_0x39189c=this[_0x15fb6c(0x206)][_0x15fb6c(0x146)](_0x27899e);if(_0x39189c&&_0x39189c[_0x15fb6c(0x209)](_0x50a4cc)){const _0x30124e=_0x39189c[_0x15fb6c(0x146)](_0x50a4cc);_0x100850['forEach'](_0x4c0f82=>{const _0x251609=_0x15fb6c,_0x3aeb25=_0x30124e[_0x251609(0x146)](_0x4c0f82);_0x3aeb25!=null&&(_0x3aeb25[_0x251609(0x1dc)]((_0x4dcb23,_0x803c24,_0x24d4cb)=>{const _0x35e8d4=_0x251609;this[_0x35e8d4(0x1e9)](_0x24d4cb),this['_removeAllTreeMap'](_0x24d4cb);}),_0x30124e[_0x251609(0x1bc)](_0x4c0f82),this[_0x251609(0x1b2)][_0x251609(0x1bc)](_0x4c0f82));}),_0x30124e[_0x15fb6c(0x19b)]===0x0&&_0x39189c['delete'](_0x50a4cc),_0x39189c[_0x15fb6c(0x19b)]===0x0&&this[_0x15fb6c(0x206)][_0x15fb6c(0x1bc)](_0x27899e);}}['clearOtherFormulaDependency'](_0x178ac8,_0x115a74){const _0x586920=_0x3b7171,_0x49baee=this[_0x586920(0x206)][_0x586920(0x146)](_0x178ac8);if(_0x115a74&&_0x49baee&&_0x49baee[_0x586920(0x209)](_0x115a74)){const _0x4c50ad=_0x49baee[_0x586920(0x146)](_0x115a74);this[_0x586920(0x1e1)](_0x178ac8,_0x115a74);for(const _0x16edb7 of _0x4c50ad['keys']()){const _0xe85da5=_0x4c50ad[_0x586920(0x146)](_0x16edb7);_0xe85da5!=null&&(_0xe85da5[_0x586920(0x1dc)]((_0xdf8400,_0x4b3187,_0x595d89)=>{const _0x531de9=_0x586920;this['_allTreeMap'][_0x531de9(0x146)](_0x595d89)&&this[_0x531de9(0x1c9)](_0x595d89);}),this['_otherFormulaDataMainData'][_0x586920(0x1bc)](_0x16edb7));}_0x4c50ad[_0x586920(0x1ad)]();}else{if(_0x49baee){for(const _0x3742a0 of _0x49baee[_0x586920(0x205)]()){const _0x59fdbe=_0x49baee[_0x586920(0x146)](_0x3742a0);this[_0x586920(0x1e1)](_0x178ac8,_0x3742a0);for(const _0x9e6f38 of _0x59fdbe[_0x586920(0x205)]()){const _0x5db415=_0x59fdbe[_0x586920(0x146)](_0x9e6f38);_0x5db415!=null&&(_0x5db415[_0x586920(0x1dc)]((_0x28d775,_0x400e94,_0x4d14dd)=>{const _0x4ef77b=_0x586920;this['_allTreeMap'][_0x4ef77b(0x146)](_0x4d14dd)&&this[_0x4ef77b(0x1c9)](_0x4d14dd);}),this[_0x586920(0x1b2)][_0x586920(0x1bc)](_0x9e6f38));}}this['_otherFormulaData']['delete'](_0x178ac8);}}}[_0x3b7171(0x1ba)](_0x5b68e1,_0xc896f6,_0x470e3,_0x71f844){const _0x22ca2c=_0x3b7171;this[_0x22ca2c(0x143)][_0x22ca2c(0x209)](_0x5b68e1)||this[_0x22ca2c(0x143)]['set'](_0x5b68e1,new Map());const _0xc11eff=this[_0x22ca2c(0x143)][_0x22ca2c(0x146)](_0x5b68e1);_0xc11eff['has'](_0xc896f6)||_0xc11eff[_0x22ca2c(0x1b9)](_0xc896f6,new Map()),_0xc11eff[_0x22ca2c(0x146)](_0xc896f6)['set'](_0x470e3,_0x71f844[_0x22ca2c(0x1df)]);}[_0x3b7171(0x1e8)](_0x1778f3,_0x29bfc2,_0x460294){const _0x18f384=_0x3b7171,_0x3c7e54=this[_0x18f384(0x143)]['get'](_0x1778f3);if(_0x3c7e54&&_0x3c7e54[_0x18f384(0x209)](_0x29bfc2)){const _0x3b9171=_0x3c7e54['get'](_0x29bfc2);_0x460294[_0x18f384(0x1d4)](_0x30ce90=>{const _0x1730a0=_0x18f384,_0x22c73a=_0x3b9171[_0x1730a0(0x146)](_0x30ce90);_0x22c73a!=null&&(this[_0x1730a0(0x1e9)](_0x22c73a),_0x3b9171['delete'](_0x30ce90),this[_0x1730a0(0x1c9)](_0x22c73a));});}}[_0x3b7171(0x1f3)](_0x2c0669,_0xfbfa92){const _0x4c5798=_0x3b7171,_0x19a91b=this[_0x4c5798(0x143)][_0x4c5798(0x146)](_0x2c0669);if(_0xfbfa92&&_0x19a91b&&_0x19a91b[_0x4c5798(0x209)](_0xfbfa92)){const _0x1e7bf1=_0x19a91b[_0x4c5798(0x146)](_0xfbfa92);this['_removeDependencyRTreeCacheById'](_0x2c0669,_0xfbfa92),_0x1e7bf1[_0x4c5798(0x1d4)](_0x45f73e=>{const _0x3df409=_0x4c5798;_0x45f73e!=null&&this[_0x3df409(0x1c9)](_0x45f73e);}),_0x1e7bf1[_0x4c5798(0x1ad)]();}else _0x19a91b&&(_0x19a91b[_0x4c5798(0x1d4)]((_0xe67035,_0x4a895c)=>{const _0xbf89cb=_0x4c5798;this[_0xbf89cb(0x1e1)](_0x2c0669,_0x4a895c),_0xe67035[_0xbf89cb(0x1d4)](_0x345615=>{_0x345615!=null&&this['_removeAllTreeMap'](_0x345615);});}),this[_0x4c5798(0x143)][_0x4c5798(0x1bc)](_0x2c0669));}[_0x3b7171(0x1ef)](_0x37fc5d,_0x39e1cd,_0x4194b4,_0x582725,_0x35a4eb){const _0x3b0129=_0x3b7171;this[_0x3b0129(0x198)][_0x3b0129(0x209)](_0x37fc5d)||this['_formulaData'][_0x3b0129(0x1b9)](_0x37fc5d,new Map());const _0x159f13=this[_0x3b0129(0x198)][_0x3b0129(0x146)](_0x37fc5d);_0x159f13[_0x3b0129(0x209)](_0x39e1cd)||_0x159f13[_0x3b0129(0x1b9)](_0x39e1cd,new _0x17396b()),_0x159f13[_0x3b0129(0x146)](_0x39e1cd)['setValue'](_0x4194b4,_0x582725,_0x35a4eb[_0x3b0129(0x1df)]);}[_0x3b7171(0x14a)](_0x39ba30,_0x5ee614,_0x1176c5,_0x1ba167){const _0xd897c=_0x3b7171,_0x1c6311=this[_0xd897c(0x198)][_0xd897c(0x146)](_0x39ba30);if(_0x1c6311&&_0x1c6311[_0xd897c(0x209)](_0x5ee614)){const _0x5626e5=_0x1c6311['get'](_0x5ee614),_0x5f6e96=_0x5626e5[_0xd897c(0x20f)](_0x1176c5,_0x1ba167);if(_0x5f6e96==null)return;this[_0xd897c(0x1e9)](_0x5f6e96),_0x5626e5[_0xd897c(0x1e3)](_0x1176c5,_0x1ba167),this['_removeAllTreeMap'](_0x5f6e96);}}[_0x3b7171(0x1c1)](_0x47652e,_0x3465a4){const _0x466907=_0x3b7171,_0x11958d=this[_0x466907(0x198)][_0x466907(0x146)](_0x47652e);if(_0x3465a4&&_0x11958d&&_0x11958d[_0x466907(0x209)](_0x3465a4)){const _0x4a540b=_0x11958d[_0x466907(0x146)](_0x3465a4);this['_removeDependencyRTreeCacheById'](_0x47652e,_0x3465a4),_0x4a540b[_0x466907(0x1dc)]((_0x4a7c10,_0xf93c12,_0x5bfce4)=>{const _0x336ecf=_0x466907;if(_0x5bfce4==null)return!0x0;this[_0x336ecf(0x1c9)](_0x5bfce4);}),_0x4a540b[_0x466907(0x17e)]();}else _0x11958d&&(_0x11958d[_0x466907(0x1d4)]((_0x216ce9,_0x3f163c)=>{const _0x436dd9=_0x466907;this[_0x436dd9(0x1e1)](_0x47652e,_0x3f163c),_0x216ce9[_0x436dd9(0x1dc)]((_0x52b3e3,_0x2db695,_0x1338f4)=>{const _0x46d886=_0x436dd9;if(_0x1338f4==null)return!0x0;this[_0x46d886(0x1c9)](_0x1338f4);});}),this[_0x466907(0x198)]['delete'](_0x47652e));}[_0x3b7171(0x1e9)](_0x1c8eb2){const _0x1a7bd7=_0x3b7171;if(_0x1c8eb2==null)return;const _0x50c256=this[_0x1a7bd7(0x1a4)][_0x1a7bd7(0x146)](_0x1c8eb2);if(_0x50c256){const _0x594a54=[];for(const [_0x4e1db2,_0x2b8313]of _0x50c256)for(const [_0x1d1cae,_0x545fb4]of _0x2b8313)_0x594a54[_0x1a7bd7(0x1ee)]({'unitId':_0x4e1db2,'sheetId':_0x1d1cae,'range':_0x545fb4,'id':_0x1c8eb2});this[_0x1a7bd7(0x1e5)][_0x1a7bd7(0x1ec)](_0x594a54);}}['removeFormulaDependencyByDefinedName'](_0x4a699a,_0x42e1c6){const _0x45bc92=_0x3b7171,_0x5743c1=this[_0x45bc92(0x1d8)][_0x45bc92(0x146)](_0x4a699a);if(_0x5743c1){const _0x49dad8=_0x5743c1[_0x45bc92(0x146)](_0x42e1c6);if(_0x49dad8){for(const _0x318d43 of _0x49dad8)this['_removeDependencyRTreeCache'](_0x318d43),this['_removeAllTreeMap'](_0x318d43);_0x49dad8[_0x45bc92(0x1ad)]();}}}[_0x3b7171(0x169)](){const _0x559e1e=_0x3b7171;this[_0x559e1e(0x1e5)]['openKdTree']();}[_0x3b7171(0x1c6)](){const _0x48897d=_0x3b7171;this['_dependencyRTreeCache'][_0x48897d(0x1c6)]();}['_removeAllTreeMap'](_0x581360){const _0x2ee5d2=_0x3b7171;_0x581360!=null&&this[_0x2ee5d2(0x1a4)][_0x2ee5d2(0x1bc)](_0x581360);}[_0x3b7171(0x211)](_0x4dd7a0){const _0x16c36d=_0x3b7171;var _0x4c2ab2,_0x181169;const _0x4fc2c7=_0x4dd7a0[_0x16c36d(0x1d7)];let _0x53a51f=this[_0x16c36d(0x1a4)][_0x16c36d(0x146)](_0x4dd7a0['treeId']);for(let _0x301571=0x0;_0x301571<_0x4fc2c7['length'];_0x301571++){const _0x87df20=_0x4fc2c7[_0x301571];let {unitId:_0xd87b1c,sheetId:_0x105a6a,range:_0x4b76cd}=_0x87df20;_0x53a51f||(_0x53a51f=new Map(),this[_0x16c36d(0x1a4)][_0x16c36d(0x1b9)](_0x4dd7a0[_0x16c36d(0x1df)],_0x53a51f)),_0x53a51f[_0x16c36d(0x209)](_0xd87b1c)||_0x53a51f[_0x16c36d(0x1b9)](_0xd87b1c,new Map());const _0x329785=(_0x4c2ab2=_0x53a51f==null?void 0x0:_0x53a51f['get'](_0xd87b1c))==null?void 0x0:_0x4c2ab2[_0x16c36d(0x146)](_0x105a6a);_0x329785&&(_0x4b76cd={'startRow':Math['min'](_0x4b76cd['startRow'],_0x329785[_0x16c36d(0x1c4)]),'startColumn':Math[_0x16c36d(0x1a0)](_0x4b76cd[_0x16c36d(0x179)],_0x329785['startColumn']),'endRow':Math[_0x16c36d(0x1cb)](_0x4b76cd['endRow'],_0x329785[_0x16c36d(0x184)]),'endColumn':Math[_0x16c36d(0x1cb)](_0x4b76cd['endColumn'],_0x329785[_0x16c36d(0x200)])}),(_0x181169=_0x53a51f[_0x16c36d(0x146)](_0xd87b1c))==null||_0x181169['set'](_0x105a6a,_0x4b76cd);}}}var be=Object[_0x3b7171(0x214)],xe=(_0x2d2b31,_0x396284,_0x4353cb,_0x107f71)=>{const _0x221920=_0x3b7171;for(var _0x184a83=_0x107f71>0x1?void 0x0:_0x107f71?be(_0x396284,_0x4353cb):_0x396284,_0x2218c2=_0x2d2b31[_0x221920(0x186)]-0x1,_0x5e679a;_0x2218c2>=0x0;_0x2218c2--)(_0x5e679a=_0x2d2b31[_0x2218c2])&&(_0x184a83=_0x5e679a(_0x184a83)||_0x184a83);return _0x184a83;};const ze=Number[_0x3b7171(0x156)](0x6974714d);let G=class extends _0xdbd3ae{[_0x3b7171(0x1fc)](){const _0x49dbbd=_0x3b7171;var _0x12bd1f,_0x1837e7;this[_0x49dbbd(0x1a8)]()?(this[_0x49dbbd(0x208)]['add']([_0x35cde1,{'useClass':De}]),(_0x12bd1f=this[_0x49dbbd(0x1cc)])!=null&&_0x12bd1f[_0x49dbbd(0x1e4)]||[[_0x49a66a,{'useClass':ve}],[_0x2992e0,{'useClass':Se}],[_0x3af20c,{'useClass':Me}]]['forEach'](_0x458696=>this['_injector'][_0x49dbbd(0x155)](_0x458696))):(this[_0x49dbbd(0x208)][_0x49dbbd(0x155)]([_0x35cde1,{'useClass':_0x35cde1}]),(_0x1837e7=this[_0x49dbbd(0x1cc)])!=null&&_0x1837e7['notExecuteFormula']||[[_0x49a66a,{'useClass':_0x1b5a01}],[_0x2992e0,{'useClass':_0x2af0a6}],[_0x3af20c,{'useClass':_0x3a778c}]]['forEach'](_0x3d577b=>this[_0x49dbbd(0x208)]['add'](_0x3d577b)));}['_initLicenseValid'](){const _0x19c906=_0x3b7171;var _0x5a72b6;const _0x335cca=(_0x5a72b6=this[_0x19c906(0x1a6)][_0x19c906(0x15c)](_0x5e4a49))!=null?_0x5a72b6:{},{ls:_0x3a63d6,pbk:_0x4f0caa}=_0x335cca;if(!_0x3a63d6||!_0x4f0caa)return!0x1;const _0x512542=_0x2df6c9(Ne,we),_0x2b1202=new Function(_0x19c906(0x177)+_0x512542)()(_0x3a63d6,_0x4f0caa),_0x29fc4e=_0x2b1202['message'];return _0x2b1202[_0x19c906(0x1f9)]&&_0x2e7448(_0x29fc4e,'sf',ze)?_0x44add5(_0x29fc4e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};G=xe([_0x4b2943(_0x4663c3)],G);export{De as LexerTreeProBuilder,G as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x426c(){var _0x12b013=['2230758Noqfcz','7fyMMVM','181599atYGOJ','27NYGYoU','979510UacOpo','686744nnoEGp','291011LMqGfK','205180hrRxrL','206264noXOvj'];_0x426c=function(){return _0x12b013;};return _0x426c();}function _0x2a8c(_0x5b13bf,_0x371ab6){_0x5b13bf=_0x5b13bf-0x1a2;var _0x426c66=_0x426c();var _0x2a8ccc=_0x426c66[_0x5b13bf];return _0x2a8ccc;}(function(_0x5c755e,_0x3dba21){var _0x1f36b2=_0x2a8c,_0x1f2269=_0x5c755e();while(!![]){try{var _0x18012d=-parseInt(_0x1f36b2(0x1a6))/0x1+parseInt(_0x1f36b2(0x1a7))/0x2+parseInt(_0x1f36b2(0x1a2))/0x3+parseInt(_0x1f36b2(0x1a8))/0x4+parseInt(_0x1f36b2(0x1a4))/0x5+parseInt(_0x1f36b2(0x1a9))/0x6*(parseInt(_0x1f36b2(0x1aa))/0x7)+-parseInt(_0x1f36b2(0x1a5))/0x8*(parseInt(_0x1f36b2(0x1a3))/0x9);if(_0x18012d===_0x3dba21)break;else _0x1f2269['push'](_0x1f2269['shift']());}catch(_0xa8e7e2){_0x1f2269['push'](_0x1f2269['shift']());}}}(_0x426c,0x39174));export*from'@univerjs/engine-formula/facade';
1
+ function _0x10c7(_0x4be268,_0xc11927){_0x4be268=_0x4be268-0x165;var _0x20c88d=_0x20c8();var _0x10c732=_0x20c88d[_0x4be268];return _0x10c732;}(function(_0x498bc7,_0x35936f){var _0x5e28fd=_0x10c7,_0x12fe96=_0x498bc7();while(!![]){try{var _0x5a9882=-parseInt(_0x5e28fd(0x167))/0x1*(parseInt(_0x5e28fd(0x16e))/0x2)+-parseInt(_0x5e28fd(0x171))/0x3*(parseInt(_0x5e28fd(0x166))/0x4)+parseInt(_0x5e28fd(0x16f))/0x5*(parseInt(_0x5e28fd(0x16c))/0x6)+-parseInt(_0x5e28fd(0x16b))/0x7+-parseInt(_0x5e28fd(0x165))/0x8*(parseInt(_0x5e28fd(0x168))/0x9)+-parseInt(_0x5e28fd(0x170))/0xa*(parseInt(_0x5e28fd(0x16a))/0xb)+parseInt(_0x5e28fd(0x169))/0xc*(parseInt(_0x5e28fd(0x16d))/0xd);if(_0x5a9882===_0x35936f)break;else _0x12fe96['push'](_0x12fe96['shift']());}catch(_0x5a829e){_0x12fe96['push'](_0x12fe96['shift']());}}}(_0x20c8,0x81204));export*from'@univerjs/engine-formula/facade';function _0x20c8(){var _0x3e57a6=['24748Brdwte','8615InJMxl','8972690Qnwssa','888660odToLM','51800WrnqBW','12MvzXXo','6WKpdBz','1449nqvvhq','12YZiKxN','11HdXXTX','6432657yYRPIA','3444lWCewt','43699461PiKQCj'];_0x20c8=function(){return _0x3e57a6;};return _0x20c8();}