@univerjs-pro/engine-formula 0.21.1 → 0.22.0-insiders.20260513-0b53885
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/README.md +26 -13
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +12 -8
package/README.md
CHANGED
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
# @univerjs-pro/engine-formula
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
4
|
+
[](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
4
5
|
|
|
5
|
-
`@univerjs-pro/engine-formula`
|
|
6
|
+
`@univerjs-pro/engine-formula` provides performance-enhanced formula engine plugin for Univer Pro.
|
|
6
7
|
|
|
7
|
-
##
|
|
8
|
+
## Package Overview
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
| Package | UMD global | CSS | Locales | Facade entry |
|
|
11
|
+
| --- | --- | :---: | :---: | :---: |
|
|
12
|
+
| `@univerjs-pro/engine-formula` | `UniverProEngineFormula` | No | No | Yes |
|
|
10
13
|
|
|
11
|
-
|
|
12
|
-
# Using npm
|
|
13
|
-
npm install @univerjs-pro/engine-formula
|
|
14
|
+
## Installation
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
```sh
|
|
16
17
|
pnpm add @univerjs-pro/engine-formula
|
|
18
|
+
# or
|
|
19
|
+
npm install @univerjs-pro/engine-formula
|
|
17
20
|
```
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
22
|
+
Keep all `@univerjs/*` and `@univerjs-pro/*` packages on the same version.
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
import { UniverProFormulaEnginePlugin } from '@univerjs-pro/engine-formula';
|
|
28
|
+
|
|
29
|
+
univer.registerPlugin(UniverProFormulaEnginePlugin);
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Resources
|
|
33
|
+
|
|
34
|
+
- [Documentation](https://docs.univer.ai/guides/pro)
|
|
35
|
+
- [NPM package](https://npmjs.com/package/@univerjs-pro/engine-formula)
|
|
36
|
+
|
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5bfaef=_0x173b;function _0x173b(_0x158522,_0x41cd4e){_0x158522=_0x158522-0x116;const _0x26ee53=_0x26ee();let _0x173bc0=_0x26ee53[_0x158522];return _0x173bc0;}(function(_0x24fb2e,_0x1799ca){const _0x11f758=_0x173b,_0x1b10ca=_0x24fb2e();while(!![]){try{const _0x57a404=parseInt(_0x11f758(0x122))/0x1*(-parseInt(_0x11f758(0x119))/0x2)+parseInt(_0x11f758(0x117))/0x3+-parseInt(_0x11f758(0x11c))/0x4*(-parseInt(_0x11f758(0x116))/0x5)+-parseInt(_0x11f758(0x121))/0x6+parseInt(_0x11f758(0x11d))/0x7*(parseInt(_0x11f758(0x11f))/0x8)+-parseInt(_0x11f758(0x11b))/0x9+parseInt(_0x11f758(0x11e))/0xa;if(_0x57a404===_0x1799ca)break;else _0x1b10ca['push'](_0x1b10ca['shift']());}catch(_0x2d7db6){_0x1b10ca['push'](_0x1b10ca['shift']());}}}(_0x26ee,0xdcadb),Object['defineProperty'](exports,Symbol[_0x5bfaef(0x120)],{'value':_0x5bfaef(0x118)}));function _0x26ee(){const _0x2c5543=['7ROuXTw','11478720OjUCZo','75736draIUU','toStringTag','5449626hyZQJS','1724677jkkkIS','181135eIEPRo','4180209sUNNlB','Module','2HANlma','defineProperty','5144904YosGRL','172yGsykb'];_0x26ee=function(){return _0x2c5543;};return _0x26ee();}let _univerjs_engine_formula_facade=require('@univerjs/engine-formula/facade');Object[_0x5bfaef(0x11a)](exports,'FFormula',{'enumerable':!![],'get':function(){return _univerjs_engine_formula_facade['FFormula'];}});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2a488b=_0xc578;(function(_0x4ec1c0,_0x2bd273){const _0x446a17=_0xc578,_0x1ed0b4=_0x4ec1c0();while(!![]){try{const _0x1e06a0=parseInt(_0x446a17(0x22f))/0x1*(-parseInt(_0x446a17(0x179))/0x2)+parseInt(_0x446a17(0x248))/0x3*(-parseInt(_0x446a17(0x22a))/0x4)+parseInt(_0x446a17(0x256))/0x5+-parseInt(_0x446a17(0x221))/0x6*(parseInt(_0x446a17(0x209))/0x7)+parseInt(_0x446a17(0x229))/0x8+parseInt(_0x446a17(0x1be))/0x9*(-parseInt(_0x446a17(0x1dc))/0xa)+-parseInt(_0x446a17(0x1fb))/0xb*(-parseInt(_0x446a17(0x184))/0xc);if(_0x1e06a0===_0x2bd273)break;else _0x1ed0b4['push'](_0x1ed0b4['shift']());}catch(_0x2282e6){_0x1ed0b4['push'](_0x1ed0b4['shift']());}}}(_0xcf30,0x74600),Object[_0x2a488b(0x1d9)](exports,Symbol['toStringTag'],{'value':_0x2a488b(0x1cd)}));let _univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core');function _typeof(_0x253b50){'@babel/helpers - typeof';const _0x2152e0=_0x2a488b;return _typeof=_0x2152e0(0x1ba)==typeof Symbol&&_0x2152e0(0x187)==typeof Symbol['iterator']?function(_0x1c1086){return typeof _0x1c1086;}:function(_0x22eb8c){const _0x2d1d89=_0x2152e0;return _0x22eb8c&&_0x2d1d89(0x1ba)==typeof Symbol&&_0x22eb8c['constructor']===Symbol&&_0x22eb8c!==Symbol[_0x2d1d89(0x24f)]?_0x2d1d89(0x187):typeof _0x22eb8c;},_typeof(_0x253b50);}function _0xcf30(){const _0x25f850=['FormulaExecuteStageType','ErrorType','subUnitId','_initLicenseValid','markedAsNoFunctionsExecuted','setRuntimeData','setCompletedFormulasCount','_executionInProgressListener$','checkAsyncNode','0.21.1','clear','_getAllDependencyJson','function','isCache','setRuntimeOtherData','removeFormulaDependencyByDefinedName','29025twcNAV','_convertDirtyRangesToUnitRange','_otherFormulaDataMainData','dirtyRanges','keys','decorate','bulkRemove','generateRandomDependencyTreeId','setAdded','_endFormulaDependencyTreeModel','rangeList','getOtherFormulaData','MINUS','inRangeData','START_CALCULATION','Module','getToken','_dependencyRTreeCacheForAddressFunction','bulkSearch','CURRENTLY_CALCULATING_ARRAY_FORMULA','endColumn','_allTreeMap','parseInt','prefixToken','addFeatureFormulaDependency','hasOwnProperty','get','defineProperty','reset','getStartIndex','1830BRWDxU','_getUpdateTreeListAndMakeDependency','isVirtual','clearFormulaDependency','NORMAL','LexerNode','isDirty','add','setFormulaExecuteStage','getFeatureFormulaDependency','OTHER','_generateNewFunctionString','getConfig','markedAsSuccessfullyExecuted','message','toRTreeItem','_createVirtualFDtree','object','_runtimeService','length','setValue','trim','forEach','_removeAllTreeMap','_xlfnPrefix','_dependencyTreeCache','OPERATOR_TOKEN_SET','_isCyclicUtilMap','_xlfn.','from','_getDependencyTreeParenIds','557799tufwqK','addFormulaDependencyByDefinedName','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','startIndex','COLON','join','_interpreter','delete','_registerOtherFormulas','_updateRangeFlatten','_clearPrefix','value','DEFAULT_TOKEN_TYPE_PARAMETER','DependentOn','720664IGvtkS','columnCount','generateAstNode','getValue','unitId','setCompletedArrayFormulasCount','_lexer','setTotalArrayFormulasToCalculate','@univerjs-pro/engine-formula','addOtherFormulaDependency','OTHER_FORMULA','getAllRuntimeData','formulaId','closeKdTree','ObjectMatrix','getDirtyRanges','string','isAdded','refOffsetY','_dependencyRTreeCache','dispose','set','sheetId','has','42QAEttx','_handleLambdaForExprTree','DEFAULT_INTERVAL_COUNT','_hasNewExcelFunction','refOffsetX','refTree','_configService','size','4959192lfXsyK','4LSfNLC','PLUS','notExecuteFormula','slice','values','88257bomxVz','version','removeFeatureFormulaDependency','SUFFIX','_currentUnitId','push','_getTableNameFromStructuredRef','_xlpmPrefix','LexerTreeBuilder','execute','next','UniverFormulaEnginePlugin','LS_CONFIG_KEY','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','getRuntimeState','_traverse','_removeDependencyRTreeCache','_checkAddBracketForMinus','_handleChildrenForExprTree','_handleNewFunctionChild','formula','_formulaDependencyGenerator','toPrimitive','_astTreeBuilder','_clearFunctionString','1530702fvZFsF','FEATURE_FORMULA','error','node','clearFeatureFormulaDependency','_currentConfigService','FormulaDependencyTreeType','prototype','startRow','_getAllTreeList','PARAMETER','min','pop','FormulaDependencyTree','3374460LxMPfT','children','_removeDependencyRTreeCacheById','treeId','featureId','rowCount','SUFFIX_TOKEN_SET','IDependencyManagerService','getFormulaDependency','forValue','START_DEPENDENCY','getNewFormulaWithPrefix','getChildren','treeBuilder','CalculateFormulaService','_featureFormulaData','ROOT','FUNCTION','realDeleteValue','_generateExprTree','_generateTreeList','VALUE','_xlpm.','Let\x20variable\x20name\x20\x22','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','setCurrent','getSheetRowColumnCount','_getTreeById','IDLE','LexerTreeProBuilder','searchDependency','_formulaData','_getFeatureFormulaTree','_checkIsCycleDependency','isForceCalculate','IFormulaDependencyGenerator','hasOtherFormulaDataMainData','setDependencyTreeModelData','DEFAULT_TOKEN_TYPE_ROOT','6WDGGng','_handleTextNodeForExprTree','_lambdaFunctionParameterSet','generate','_otherFormulaData','isSkip','LAMBDA','_resetPrefix','_definedNameMap','enableCycleDependency','openKdTree','300TvBgja','DEFAULT_TOKEN_LET_FUNCTION_NAME','START_DEPENDENCY_ARRAY_FORMULA','symbol','ICalculateFormulaService','LET','resetCalculationState','isFeatureAuthorizedWithinTime','markedAsStopFunctionsExecuted','getLicenseInfo','getUnitData','DependencyManagerService','splitTableStructuredRef','addOtherFormulaDependencyMainData','packageName','getDirtyData','setTotalFormulasToCalculate','matchToken','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','isArray','_injector','_getTreeNode','isReferenceString','addFormulaDependency','startColumn','CURRENTLY_CALCULATING','max','_dependencyManagerService','setSkip','endRow','endsWith','valid','LAMBDA_PARAMETER','featureDirtyRanges','startsWith','_getDependencyTreeChildrenIds','isExcludeRange','\x22\x20is\x20duplicated.','_restDependencyTreeId','removeFormulaDependency','type','_checkColonNodeForExprTree'];_0xcf30=function(){return _0x25f850;};return _0xcf30();}function toPrimitive(_0x104427,_0x500f29){const _0x37faec=_0x2a488b;if(_0x37faec(0x1ed)!=_typeof(_0x104427)||!_0x104427)return _0x104427;var _0x51f644=_0x104427[Symbol[_0x37faec(0x245)]];if(void 0x0!==_0x51f644){var _0x46369f=_0x51f644['call'](_0x104427,_0x500f29||'default');if('object'!=_typeof(_0x46369f))return _0x46369f;throw new TypeError(_0x37faec(0x16a));}return(_0x37faec(0x219)===_0x500f29?String:Number)(_0x104427);}function toPropertyKey(_0x5e0107){const _0x47c6c9=_0x2a488b;var _0x8f9d01=toPrimitive(_0x5e0107,_0x47c6c9(0x219));return _0x47c6c9(0x187)==_typeof(_0x8f9d01)?_0x8f9d01:_0x8f9d01+'';}function _defineProperty(_0x33b3e5,_0x20c90f,_0x311c89){const _0x5642da=_0x2a488b;return(_0x20c90f=toPropertyKey(_0x20c90f))in _0x33b3e5?Object[_0x5642da(0x1d9)](_0x33b3e5,_0x20c90f,{'value':_0x311c89,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x33b3e5[_0x20c90f]=_0x311c89,_0x33b3e5;}function _0xc578(_0x53881d,_0x2670bf){_0x53881d=_0x53881d-0x15d;const _0xcf3062=_0xcf30();let _0xc57852=_0xcf3062[_0x53881d];return _0xc57852;}var NewExcelFunctionNodeType=function(_0x48519f){const _0x147638=_0x2a488b;return _0x48519f[_0x48519f[_0x147638(0x1e0)]=0x0]='NORMAL',_0x48519f[_0x48519f[_0x147638(0x189)]=0x1]='LET',_0x48519f[_0x48519f[_0x147638(0x17f)]=0x2]=_0x147638(0x17f),_0x48519f[_0x48519f['ROOT']=0x3]=_0x147638(0x162),_0x48519f[_0x48519f[_0x147638(0x252)]=0x4]=_0x147638(0x252),_0x48519f[_0x48519f[_0x147638(0x1a4)]=0x5]=_0x147638(0x1a4),_0x48519f[_0x48519f[_0x147638(0x163)]=0x6]=_0x147638(0x163),_0x48519f[_0x48519f[_0x147638(0x232)]=0x7]=_0x147638(0x232),_0x48519f[_0x48519f[_0x147638(0x1ff)]=0x8]=_0x147638(0x1ff),_0x48519f[_0x48519f[_0x147638(0x1ca)]=0x9]=_0x147638(0x1ca),_0x48519f[_0x48519f[_0x147638(0x1e6)]=0xa]=_0x147638(0x1e6),_0x48519f;}(NewExcelFunctionNodeType||{}),LexerTreeProBuilder=class extends _univerjs_engine_formula[_0x2a488b(0x237)]{constructor(..._0x3f4920){const _0x2a4076=_0x2a488b;super(..._0x3f4920),_defineProperty(this,_0x2a4076(0x224),![]),_defineProperty(this,'_lambdaFunctionParameterSet',new Set()),_defineProperty(this,_0x2a4076(0x236),_0x2a4076(0x168)),_defineProperty(this,_0x2a4076(0x1f4),_0x2a4076(0x1f8)),_defineProperty(this,'_currentUnitId','');}[_0x2a488b(0x180)](){const _0x5b7746=_0x2a488b;this[_0x5b7746(0x236)]='_xlpm.',this[_0x5b7746(0x1f4)]=_0x5b7746(0x1f8);}[_0x2a488b(0x205)](){const _0x340c4f=_0x2a488b;this[_0x340c4f(0x236)]='',this[_0x340c4f(0x1f4)]='';}[_0x2a488b(0x15d)](_0x467fff,_0x447d3a){const _0x260782=_0x2a488b,_0x2a6ee3=this[_0x260782(0x15f)](_0x467fff,![]);if(!_0x2a6ee3||_0x2a6ee3===_univerjs_engine_formula[_0x260782(0x1af)]['VALUE']||Array['isArray'](_0x2a6ee3))return null;const _0x5427d9=[];this[_0x260782(0x224)]=![],this[_0x260782(0x1e7)](_0x2a6ee3,_0x5427d9,_0x447d3a);if(this[_0x260782(0x224)])return'='+_0x5427d9['join']('');return null;}[_0x2a488b(0x1e7)](_0x4e53e0,_0x5978ea,_0x45f49f){const _0x24673c=_0x2a488b,_0x47b565=_0x4e53e0[_0x24673c(0x1ce)](),_0x36c46c=_0x47b565[_0x24673c(0x1f1)](),_0x268320=_0x36c46c['toUpperCase'](),_0x2e3947=this['_clearFunctionString'](_0x268320),_0x233c3c=_0x45f49f(_0x2e3947);let _0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1e0)];if(_0x47b565===_univerjs_engine_formula[_0x24673c(0x178)])_0x42b8d4=NewExcelFunctionNodeType['ROOT'];else{if(_0x47b565===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_PARAMETER'])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x252)];else{if(_0x47b565===_univerjs_engine_formula[_0x24673c(0x1fd)])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1a4)];else{if(_univerjs_engine_formula['NEW_EXCEL_FUNCTIONS'][_0x24673c(0x220)](_0x2e3947))_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x23c)])_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![],_0x42b8d4=NewExcelFunctionNodeType['LAMBDA'];else{if(_0x268320===_univerjs_engine_formula['DEFAULT_TOKEN_LET_FUNCTION_NAME'])_0x5978ea[_0x24673c(0x234)](''+this[_0x24673c(0x1f4)]+_0x36c46c),this[_0x24673c(0x224)]=!![],_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x189)];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x195)][_0x24673c(0x1ff)])_0x42b8d4=NewExcelFunctionNodeType['COLON'];else{if(_univerjs_engine_formula[_0x24673c(0x25c)][_0x24673c(0x220)](_0x268320))_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x232)];else{if(_0x268320===_univerjs_engine_formula[_0x24673c(0x1d5)][_0x24673c(0x1ca)]){if(this['_checkAddBracketForMinus'](_0x4e53e0))_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x1ca)];_0x5978ea['push'](_0x47b565);}else _0x5978ea['push'](_0x47b565),_0x42b8d4=NewExcelFunctionNodeType['OTHER'];}}}}}}}}if(_0x233c3c){if(_0x42b8d4!==NewExcelFunctionNodeType['LAMBDA']&&_0x42b8d4!==NewExcelFunctionNodeType[_0x24673c(0x189)])_0x42b8d4=NewExcelFunctionNodeType[_0x24673c(0x163)];_0x5978ea['push']('(');}else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x1ca)])_0x5978ea['push']('(');}const _0x4e98fd=_0x4e53e0[_0x24673c(0x15e)](),_0x25e020=_0x4e98fd[_0x24673c(0x1ef)];if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x17f)]){const _0x227eef=_0x4e98fd[0x0];let _0x348c73=0x0;if(_0x227eef instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){if(_0x227eef['getToken']()===_univerjs_engine_formula[_0x24673c(0x1fd)])_0x348c73=0x1;}for(let _0x4b71aa=_0x348c73;_0x4b71aa<_0x25e020-0x1;_0x4b71aa++){const _0x26d610=_0x4e98fd[_0x4b71aa];if(_0x26d610 instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){const _0x3f2e9c=_0x26d610['getChildren']()[0x0];if(typeof _0x3f2e9c===_0x24673c(0x219)){if(this[_0x24673c(0x17b)][_0x24673c(0x220)](_0x3f2e9c))console[_0x24673c(0x24a)]('Lambda\x20parameter\x20name\x20\x22'+_0x3f2e9c+_0x24673c(0x1a9));this[_0x24673c(0x17b)]['add'](_0x3f2e9c),_0x5978ea['push'](''+this['_xlpmPrefix']+_0x3f2e9c),this[_0x24673c(0x224)]=!![];}}_0x5978ea[_0x24673c(0x234)](',');}this[_0x24673c(0x242)](_0x4e98fd[_0x25e020-0x1],_0x5978ea,_0x45f49f);if(_0x348c73===0x1)_0x5978ea[_0x24673c(0x234)](')'),_0x5978ea[_0x24673c(0x234)]('('),this[_0x24673c(0x1e7)](_0x227eef,_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](')');else _0x5978ea[_0x24673c(0x234)](')');return;}else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x189)]){for(let _0x280ddd=0x0;_0x280ddd<_0x25e020-0x1;_0x280ddd++){const _0x20bd0d=_0x4e98fd[_0x280ddd];if(_0x20bd0d instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]&&_0x280ddd%0x2===0x0){const _0x53f7ad=_0x20bd0d[_0x24673c(0x15e)]()[0x0];if(typeof _0x53f7ad===_0x24673c(0x219)){if(this[_0x24673c(0x17b)][_0x24673c(0x220)](_0x53f7ad))console['error'](_0x24673c(0x169)+_0x53f7ad+'\x22\x20is\x20duplicated.');this[_0x24673c(0x17b)][_0x24673c(0x1e3)](_0x53f7ad),_0x5978ea[_0x24673c(0x234)](''+this['_xlpmPrefix']+_0x53f7ad),this[_0x24673c(0x224)]=!![],_0x5978ea[_0x24673c(0x234)](',');continue;}}this[_0x24673c(0x242)](_0x20bd0d,_0x5978ea,_0x45f49f);if(_0x20bd0d instanceof _univerjs_engine_formula[_0x24673c(0x1e1)]){const _0x20f140=_0x4e98fd[_0x280ddd+0x1];if(_0x20f140&&_0x20f140 instanceof _univerjs_engine_formula['LexerNode'])_0x5978ea[_0x24673c(0x234)](',');}}this[_0x24673c(0x242)](_0x4e98fd[_0x25e020-0x1],_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](')');return;}else{if(_0x42b8d4===NewExcelFunctionNodeType['COLON']){const _0x203ec3=_0x4e98fd[0x0],_0xd36824=_0x4e98fd[0x1];this['_handleNewFunctionChild'](_0x203ec3,_0x5978ea,_0x45f49f),_0x5978ea[_0x24673c(0x234)](_0x47b565),this[_0x24673c(0x242)](_0xd36824,_0x5978ea,_0x45f49f);return;}}}for(let _0x11056f=0x0;_0x11056f<_0x25e020;_0x11056f++){const _0x21779a=_0x4e98fd[_0x11056f];this['_handleNewFunctionChild'](_0x21779a,_0x5978ea,_0x45f49f);if(_0x21779a instanceof _univerjs_engine_formula['LexerNode']){const _0x1e1e92=_0x4e98fd[_0x11056f+0x1];if(_0x1e1e92&&_0x1e1e92 instanceof _univerjs_engine_formula['LexerNode'])_0x5978ea['push'](',');}}if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x232)])_0x5978ea[_0x24673c(0x234)](_0x47b565);if(_0x233c3c)_0x5978ea['push'](')');else{if(_0x42b8d4===NewExcelFunctionNodeType[_0x24673c(0x1ca)])_0x5978ea[_0x24673c(0x234)](')');}}['_handleNewFunctionChild'](_0x28b55a,_0x3f435e,_0x15d1ca){const _0x5c0e5d=_0x2a488b;if(_0x28b55a instanceof _univerjs_engine_formula[_0x5c0e5d(0x1e1)])this[_0x5c0e5d(0x1e7)](_0x28b55a,_0x3f435e,_0x15d1ca);else{if(this['_lambdaFunctionParameterSet'][_0x5c0e5d(0x220)](_0x28b55a))_0x3f435e[_0x5c0e5d(0x234)](''+this[_0x5c0e5d(0x236)]+_0x28b55a),this[_0x5c0e5d(0x224)]=!![];else _0x3f435e[_0x5c0e5d(0x234)](_0x28b55a);}}[_0x2a488b(0x247)](_0x1bf2c0){const _0x406f22=_0x2a488b;let _0x25a503=_0x1bf2c0[_0x406f22(0x1f1)]();if(!_0x25a503)return _0x25a503;const _0x4c08c9=_0x25a503[0x0];if(_0x4c08c9===_univerjs_engine_formula[_0x406f22(0x1d5)]['AT']||_0x4c08c9===_univerjs_engine_formula['prefixToken']['MINUS']||_0x4c08c9===_univerjs_engine_formula['prefixToken'][_0x406f22(0x22b)])_0x25a503=_0x25a503[_0x406f22(0x22d)](0x1);if(!_0x25a503)return _0x25a503;const _0x55d127=_0x25a503[_0x25a503[_0x406f22(0x1ef)]-0x1];if(_univerjs_engine_formula[_0x406f22(0x25c)]['has'](_0x55d127))_0x25a503=_0x25a503[_0x406f22(0x22d)](0x0,-0x1);return _0x25a503;}[_0x2a488b(0x240)](_0xbe6fb0){const _0x5194e0=_0x2a488b,_0x16d7df=_0xbe6fb0[_0x5194e0(0x15e)]()[0x0];if(!_0x16d7df||!(_0x16d7df instanceof _univerjs_engine_formula[_0x5194e0(0x1e1)])||_0xbe6fb0[_0x5194e0(0x15e)]()[_0x5194e0(0x1ef)]>0x1)return![];const _0x85ff7f=_0x16d7df[_0x5194e0(0x15e)](),_0x267a39=_0x85ff7f[_0x5194e0(0x1ef)];if(_0x267a39===0x1)return![];for(let _0x1f66df=0x0;_0x1f66df<_0x267a39;_0x1f66df++){const _0x5d6f68=_0x85ff7f[_0x1f66df];if(!(_0x5d6f68 instanceof _univerjs_engine_formula[_0x5194e0(0x1e1)])&&_univerjs_engine_formula[_0x5194e0(0x1f6)]['has'](_0x5d6f68))return!![];}return![];}['getFormulaExprTree'](_0xd012ed,_0x4e5207,_0x4d6d99,_0x51dccd,_0x3c751d){const _0x5581d5=_0x2a488b,_0x4530e6=this[_0x5581d5(0x15f)](_0xd012ed,![]);if(!_0x4530e6||_0x4530e6===_univerjs_engine_formula[_0x5581d5(0x1af)][_0x5581d5(0x167)]||Array[_0x5581d5(0x197)](_0x4530e6))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x4e5207;const _0x558390=this['_generateExprTree'](_0x4530e6,_0x4d6d99,_0x51dccd,_0x3c751d);return this[_0x5581d5(0x233)]='',this[_0x5581d5(0x180)](),_0x558390;}[_0x2a488b(0x165)](_0x3cc487,_0x8aa3f3,_0x3edc95,_0x1f4ebe){const _0x37cfc7=_0x2a488b,_0x36abd0={'value':'','children':[],'startIndex':0x0};let _0x4516d5=_0x3cc487;if(_0x4516d5 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]&&(_0x4516d5[_0x37cfc7(0x1ce)]()===_univerjs_engine_formula[_0x37cfc7(0x178)]||_0x4516d5[_0x37cfc7(0x1ce)]()===_univerjs_engine_formula[_0x37cfc7(0x207)])&&_0x4516d5['getChildren']()['length']===0x1)_0x4516d5=_0x4516d5['getChildren']()[0x0];if(!(_0x4516d5 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]))return this[_0x37cfc7(0x17a)](_0x4516d5,_0x3edc95,_0x1f4ebe);const _0x33a635=_0x4516d5[_0x37cfc7(0x15e)](),_0x620b26=_0x33a635['length'],_0x40f0cf=[];this[_0x37cfc7(0x1e7)](_0x4516d5,_0x40f0cf,_0x8aa3f3),_0x36abd0[_0x37cfc7(0x206)]=_0x40f0cf[_0x37cfc7(0x200)](''),_0x36abd0[_0x37cfc7(0x1fe)]=_0x4516d5[_0x37cfc7(0x1db)]();const _0x68afae=this['_getCurNodeTypeForExprTree'](_0x4516d5);if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x17f)]){const _0x513264=_0x33a635[0x0];if(_0x513264 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]){if(_0x513264[_0x37cfc7(0x1ce)]()[_0x37cfc7(0x1f1)]()!==_univerjs_engine_formula[_0x37cfc7(0x1fd)])return _0x36abd0;this[_0x37cfc7(0x222)](_0x513264,_0x36abd0,_0x8aa3f3,_0x3edc95,_0x1f4ebe);}return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x189)]){for(let _0x29c53d=0x0;_0x29c53d<_0x620b26-0x1;_0x29c53d++){const _0x30673f=_0x33a635[_0x29c53d];if(_0x30673f instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]&&_0x29c53d%0x2===0x1){const _0x10c08f=_0x30673f[_0x37cfc7(0x15e)]();if(_0x10c08f['length']===0x1&&!(_0x10c08f[0x0]instanceof _univerjs_engine_formula['LexerNode']))continue;const _0x51f6a0=this[_0x37cfc7(0x165)](_0x30673f,_0x8aa3f3,_0x3edc95,_0x1f4ebe);_0x51f6a0&&_0x36abd0[_0x37cfc7(0x257)][_0x37cfc7(0x234)](_0x51f6a0);}}return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x1ff)]){const _0x41b69a=_0x33a635[0x0];if(_0x41b69a instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)]){const _0x2e6fa0=_0x41b69a[_0x37cfc7(0x15e)]()[0x0];if(_0x2e6fa0 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)])_0x36abd0[_0x37cfc7(0x1fe)]=_0x2e6fa0[_0x37cfc7(0x1db)]();}if(this[_0x37cfc7(0x1ad)](_0x4516d5))return _0x36abd0;}else{if(_0x68afae===NewExcelFunctionNodeType[_0x37cfc7(0x232)]){const _0xac9222=_0x33a635[0x0];if(_0xac9222 instanceof _univerjs_engine_formula['LexerNode']){const _0x5b1e22=_0xac9222[_0x37cfc7(0x15e)]()[0x0];if(_0x5b1e22 instanceof _univerjs_engine_formula[_0x37cfc7(0x1e1)])_0x36abd0[_0x37cfc7(0x1fe)]=_0x5b1e22[_0x37cfc7(0x1db)]();}}}}}return this[_0x37cfc7(0x241)](_0x33a635,_0x68afae,_0x36abd0,_0x8aa3f3,_0x3edc95,_0x1f4ebe),_0x36abd0;}['_handleChildrenForExprTree'](_0x20f710,_0xa828c6,_0x5c807d,_0x370f56,_0x4f82d9,_0x34744f){const _0x39fe81=_0x2a488b;for(let _0xbc376a=0x0;_0xbc376a<_0x20f710[_0x39fe81(0x1ef)];_0xbc376a++){let _0x5e0c8d=_0x20f710[_0xbc376a];if(!(_0x5e0c8d instanceof _univerjs_engine_formula[_0x39fe81(0x1e1)])){const _0x4aa5b5=this[_0x39fe81(0x17a)](_0x5e0c8d,_0x4f82d9,_0x34744f);_0x4aa5b5&&_0x5c807d[_0x39fe81(0x257)][_0x39fe81(0x234)](_0x4aa5b5);continue;}const _0x37a555=_0x5e0c8d[_0x39fe81(0x15e)]();if(_0x37a555[_0x39fe81(0x1ef)]===0x1&&!(_0x37a555[0x0]instanceof _univerjs_engine_formula['LexerNode'])){const _0x17e2db=_0x37a555[0x0];if(!_0x4f82d9(this[_0x39fe81(0x233)],_0x17e2db)&&!this[_0x39fe81(0x235)](_0x17e2db,_0x34744f)&&!(0x0,_univerjs_engine_formula['isReferenceString'])(_0x17e2db))continue;}if(_0xa828c6===NewExcelFunctionNodeType[_0x39fe81(0x1ff)]){const _0x1fc423=_0x37a555[0x0];if(_0x1fc423 instanceof _univerjs_engine_formula[_0x39fe81(0x1e1)]){if((0x0,_univerjs_engine_formula[_0x39fe81(0x19a)])(_0x1fc423[_0x39fe81(0x1ce)]()[_0x39fe81(0x1f1)]()))continue;_0x5e0c8d=_0x1fc423;}}const _0x433d0c=this['_generateExprTree'](_0x5e0c8d,_0x370f56,_0x4f82d9,_0x34744f);_0x433d0c&&_0x5c807d[_0x39fe81(0x257)][_0x39fe81(0x234)](_0x433d0c);}}[_0x2a488b(0x1ad)](_0x1c0fa5){const _0x186738=_0x2a488b,_0x3c134d=_0x1c0fa5[_0x186738(0x15e)]();if(_0x3c134d[_0x186738(0x1ef)]<0x2)return![];const _0x12b2fb=_0x3c134d[0x0],_0x5dc341=_0x3c134d[0x1];if(!(_0x12b2fb instanceof _univerjs_engine_formula[_0x186738(0x1e1)])||!(_0x5dc341 instanceof _univerjs_engine_formula[_0x186738(0x1e1)]))return![];const _0x271e58=_0x12b2fb[_0x186738(0x15e)]()[0x0],_0x11efbe=_0x5dc341['getChildren']()[0x0];if(!(_0x271e58 instanceof _univerjs_engine_formula['LexerNode'])||!(_0x11efbe instanceof _univerjs_engine_formula[_0x186738(0x1e1)]))return![];const _0x4433de=_0x271e58[_0x186738(0x1ce)]()[_0x186738(0x1f1)](),_0x5ce1e3=_0x11efbe['getToken']()[_0x186738(0x1f1)]();if((0x0,_univerjs_engine_formula[_0x186738(0x19a)])(''+_0x4433de+_univerjs_engine_formula['matchToken'][_0x186738(0x1ff)]+_0x5ce1e3))return!![];return![];}[_0x2a488b(0x17a)](_0x481433,_0x44b4b1,_0x4199df){const _0x599807=_0x2a488b,_0x498937=_0x481433['trim']();if(_0x498937[_0x599807(0x1a6)]('{')&&_0x498937[_0x599807(0x1a2)]('}')||_0x44b4b1(this[_0x599807(0x233)],_0x498937)||this[_0x599807(0x235)](_0x498937,_0x4199df)||(0x0,_univerjs_engine_formula[_0x599807(0x19a)])(_0x498937))return{'value':_0x498937,'children':[],'startIndex':-0x1};return null;}['_getTableNameFromStructuredRef'](_0x137bbe,_0x2f53d7){const _0x33fafa=_0x2a488b,{tableName:_0x520f16}=(0x0,_univerjs_engine_formula[_0x33fafa(0x190)])(_0x137bbe);if(_0x2f53d7(this['_currentUnitId'],_0x520f16))return _0x520f16;return null;}[_0x2a488b(0x222)](_0x38bd13,_0x175798,_0x118c5b,_0x2c147a,_0x56cbba){const _0xd94008=_0x2a488b,_0x483c2e=_0x38bd13[_0xd94008(0x15e)]();for(let _0x41c909=0x0;_0x41c909<_0x483c2e[_0xd94008(0x1ef)];_0x41c909++){const _0x23d8b8=_0x483c2e[_0x41c909];if(!(_0x23d8b8 instanceof _univerjs_engine_formula[_0xd94008(0x1e1)]))continue;const _0x5d1849=_0x23d8b8[_0xd94008(0x15e)]();if(_0x5d1849[_0xd94008(0x1ef)]===0x1&&!(_0x5d1849[0x0]instanceof _univerjs_engine_formula[_0xd94008(0x1e1)]))continue;const _0x245189=this[_0xd94008(0x165)](_0x23d8b8,_0x118c5b,_0x2c147a,_0x56cbba);_0x245189&&_0x175798[_0xd94008(0x257)]['push'](_0x245189);}}['_getCurNodeTypeForExprTree'](_0x4a96e4){const _0x500bc7=_0x2a488b,_0x37b1eb=_0x4a96e4['getToken'](),_0x10101f=_0x37b1eb[_0x500bc7(0x1f1)]()['toUpperCase']();let _0x5df02b=NewExcelFunctionNodeType['NORMAL'];if(_0x37b1eb===_univerjs_engine_formula[_0x500bc7(0x178)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x162)];else{if(_0x37b1eb===_univerjs_engine_formula[_0x500bc7(0x207)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x252)];else{if(_0x37b1eb===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1a4)];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x23c)])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x17f)];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x185)])_0x5df02b=NewExcelFunctionNodeType['LET'];else{if(_0x10101f===_univerjs_engine_formula[_0x500bc7(0x195)]['COLON'])_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1ff)];else{if(_univerjs_engine_formula['SUFFIX_TOKEN_SET'][_0x500bc7(0x220)](_0x10101f))_0x5df02b=NewExcelFunctionNodeType['SUFFIX'];else{if(_0x10101f===_univerjs_engine_formula['prefixToken'][_0x500bc7(0x1ca)]){if(this['_checkAddBracketForMinus'](_0x4a96e4))_0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1ca)];}else _0x5df02b=NewExcelFunctionNodeType[_0x500bc7(0x1e6)];}}}}}}}return _0x5df02b;}},name=_0x2a488b(0x211),version=_0x2a488b(0x1b7),FormulaDependencyProGenerator=class extends _univerjs_engine_formula['FormulaDependencyGenerator']{constructor(..._0x446033){const _0x36661c=_0x2a488b;super(..._0x446033),_defineProperty(this,_0x36661c(0x1f5),new Map());}[_0x2a488b(0x21d)](){const _0x3cb1e9=_0x2a488b;super[_0x3cb1e9(0x21d)](),this['_dependencyTreeCache'][_0x3cb1e9(0x1b8)]();}async[_0x2a488b(0x17c)](_0x5563dc=![]){const _0x2ac07b=_0x2a488b;this[_0x2ac07b(0x204)]();const _0x3b972a=this[_0x2ac07b(0x24d)]['getFormulaData'](),_0x131510=this['_otherFormulaManagerService'][_0x2ac07b(0x1c9)](),_0x25c898=this['_currentConfigService']['getClearDependencyTreeCache']();if(_0x25c898!=null)Object[_0x2ac07b(0x1c2)](_0x25c898)[_0x2ac07b(0x1f2)](_0x418f2e=>{if(_0x418f2e==null)return;Object['keys'](_0x25c898[_0x418f2e])['forEach'](_0x4c6313=>{const _0x440762=_0xc578;if(_0x4c6313==null)return;this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x418f2e,_0x4c6313),this['_dependencyManagerService'][_0x440762(0x24c)](_0x418f2e,_0x4c6313),this['_dependencyManagerService'][_0x440762(0x1df)](_0x418f2e,_0x4c6313);});});const _0x2a057d=this[_0x2ac07b(0x24d)][_0x2ac07b(0x18e)]();await this[_0x2ac07b(0x166)](_0x3b972a,_0x131510,_0x2a057d),this[_0x2ac07b(0x19f)][_0x2ac07b(0x183)]();const _0x3fa5d6=this[_0x2ac07b(0x1dd)](),_0x29b10c=this['_calculateRunList'](_0x3fa5d6);if(this[_0x2ac07b(0x173)](_0x29b10c))this[_0x2ac07b(0x1ee)][_0x2ac07b(0x182)]();if(_0x5563dc)this[_0x2ac07b(0x1ee)][_0x2ac07b(0x177)](this[_0x2ac07b(0x1b9)](Array[_0x2ac07b(0x1f9)](this[_0x2ac07b(0x1f5)][_0x2ac07b(0x22e)]())));return this[_0x2ac07b(0x1f5)]['clear'](),this[_0x2ac07b(0x1cf)]['clear'](),this[_0x2ac07b(0x19f)]['closeKdTree'](),this[_0x2ac07b(0x1ee)]['clearArrayObjectCache'](),Promise['resolve'](_0x29b10c);}[_0x2a488b(0x1f7)](_0x39180f,_0x2b21be){const _0x422981=_0x2a488b,_0x4a62ec=0x0,_0x43f2a9=0x1,_0x47b313=0x2,_0x31b19e=[_0x39180f];while(_0x31b19e[_0x422981(0x1ef)]>0x0){const _0x1beb94=_0x31b19e[_0x31b19e[_0x422981(0x1ef)]-0x1];if((_0x2b21be[_0x422981(0x1d8)](_0x1beb94)||_0x4a62ec)===_0x4a62ec){_0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x43f2a9);const _0x24cde5=this['_dependencyTreeCache'][_0x422981(0x1d8)](_0x1beb94);if(_0x24cde5==null){_0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x47b313),_0x31b19e[_0x422981(0x254)]();continue;}const _0x43e3b0=this[_0x422981(0x19f)][_0x422981(0x170)](_0x24cde5[_0x422981(0x1eb)]());for(const _0x234fe7 of _0x43e3b0){const _0x1053a3=_0x2b21be[_0x422981(0x1d8)](_0x234fe7)||_0x4a62ec;if(_0x1053a3===_0x43f2a9)return!![];else{if(_0x1053a3===_0x4a62ec)_0x31b19e[_0x422981(0x234)](_0x234fe7);}}}else _0x2b21be[_0x422981(0x21e)](_0x1beb94,_0x47b313),_0x31b19e[_0x422981(0x254)]();}return![];}[_0x2a488b(0x173)](_0x3d968a){const _0x3f7018=_0x2a488b,_0x41df36=new Map();for(const _0x15a8ae of _0x3d968a)if(!_0x41df36[_0x3f7018(0x220)](_0x15a8ae[_0x3f7018(0x259)])){if(this['_isCyclicUtilMap'](_0x15a8ae[_0x3f7018(0x259)],_0x41df36))return!![];}return _0x41df36['clear'](),![];}[_0x2a488b(0x172)](_0xbaeb15,_0x523116,_0x5e8ed7){const _0x105ae6=_0x2a488b,{unitId:_0x5dd74b,subUnitId:_0x476b61,dependencyRanges:_0x375b33,getDirtyData:_0x1e4f4b}=_0x5e8ed7,_0x2f897e=new _univerjs_engine_formula['FormulaDependencyTree'](_0x523116||(0x0,_univerjs_engine_formula[_0x105ae6(0x1c5)])(this['_dependencyManagerService']));_0x2f897e[_0x105ae6(0x20d)]=_0x5dd74b,_0x2f897e[_0x105ae6(0x1b0)]=_0x476b61,_0x2f897e[_0x105ae6(0x1c8)]=_0x375b33,_0x2f897e[_0x105ae6(0x193)]=_0x1e4f4b;const _0x4cb580=_0x1e4f4b(this[_0x105ae6(0x24d)][_0x105ae6(0x193)](),this[_0x105ae6(0x1ee)][_0x105ae6(0x214)]());_0x2f897e[_0x105ae6(0x1a5)]=this[_0x105ae6(0x1bf)](_0x4cb580[_0x105ae6(0x1c1)]),_0x2f897e[_0x105ae6(0x25a)]=_0xbaeb15,_0x2f897e[_0x105ae6(0x1ac)]=_univerjs_engine_formula[_0x105ae6(0x24e)][_0x105ae6(0x249)],this['_dependencyManagerService'][_0x105ae6(0x1d6)](_0x5dd74b,_0x476b61,_0xbaeb15,_0x2f897e),this['_dependencyTreeCache'][_0x105ae6(0x21e)](_0x2f897e[_0x105ae6(0x259)],_0x2f897e);if(this[_0x105ae6(0x19f)][_0x105ae6(0x1e5)](_0x5e8ed7['unitId'],_0x5e8ed7['subUnitId'],_0xbaeb15))_0x2f897e[_0x105ae6(0x1bb)]=!![];return _0x2f897e;}[_0x2a488b(0x203)](_0x50a665,_0x543601,_0x569cbd){const _0x1e7c59=_0x2a488b;for(const _0x488870 of _0x543601){const _0x124bec=_0x50a665[_0x488870];if(_0x124bec==null)continue;const _0x5bee47=Object[_0x1e7c59(0x1c2)](_0x124bec);for(const _0x4450c7 of _0x5bee47){const _0x4fa009=_0x124bec[_0x4450c7];if(_0x4fa009==null)continue;const {rowCount:rowCount=Infinity,columnCount:columnCount=Infinity}=this[_0x1e7c59(0x24d)][_0x1e7c59(0x16c)](_0x488870,_0x4450c7)||{},_0x42aca1=Object['keys'](_0x4fa009);for(const _0x40820f of _0x42aca1){var _0x8c0284;const _0x200aa5=this[_0x1e7c59(0x19f)][_0x1e7c59(0x176)](_0x40820f),{f:_0x2c03e5,ranges:_0x148b96}=_0x4fa009[_0x40820f];let _0x363ac1=![];if(_0x200aa5)_0x363ac1=!![];const {firstRow:_0x3f0e32,firstColumn:_0x1211de}=this['_getFirstCellOfRange'](_0x148b96),_0x4bb8a7=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x488870,_0x4450c7,_0x40820f),_0x27510b=new _univerjs_engine_formula[(_0x1e7c59(0x255))]((_0x8c0284=_0x4bb8a7===null||_0x4bb8a7===void 0x0?void 0x0:_0x4bb8a7[_0x1e7c59(0x20c)](0x0,0x0))!==null&&_0x8c0284!==void 0x0?_0x8c0284:(0x0,_univerjs_engine_formula[_0x1e7c59(0x1c5)])(this[_0x1e7c59(0x19f)]));for(let _0x3c1df9=0x0;_0x3c1df9<_0x148b96['length'];_0x3c1df9++){const _0x1f0485=_0x148b96[_0x3c1df9],{startRow:_0x25276e,startColumn:_0x53a20a}=_0x1f0485;let {endRow:_0x5e76b9,endColumn:_0x5ccc}=_0x1f0485;_0x5e76b9=Math[_0x1e7c59(0x253)](_0x5e76b9,rowCount-0x1),_0x5ccc=Math[_0x1e7c59(0x253)](_0x5ccc,columnCount-0x1);for(let _0x32407d=_0x25276e;_0x32407d<=_0x5e76b9;_0x32407d++)for(let _0x7a166=_0x53a20a;_0x7a166<=_0x5ccc;_0x7a166++){const _0x56684a=_0x7a166-_0x1211de,_0x36b11a=_0x32407d-_0x3f0e32;if(_0x56684a===0x0&&_0x36b11a===0x0){_0x27510b['formula']=_0x2c03e5,_0x27510b['unitId']=_0x488870,_0x27510b[_0x1e7c59(0x1b0)]=_0x4450c7,_0x27510b['formulaId']=_0x40820f,_0x27510b[_0x1e7c59(0x1ac)]=_univerjs_engine_formula['FormulaDependencyTreeType'][_0x1e7c59(0x213)],_0x27510b['isCache']=_0x363ac1,_0x569cbd[_0x1e7c59(0x234)](_0x27510b),this[_0x1e7c59(0x1f5)][_0x1e7c59(0x21e)](_0x27510b[_0x1e7c59(0x259)],_0x27510b),this[_0x1e7c59(0x19f)][_0x1e7c59(0x212)](_0x488870,_0x4450c7,_0x40820f,_0x27510b),this[_0x1e7c59(0x19f)][_0x1e7c59(0x1fc)](_0x27510b);continue;}const _0xf2438f=new _univerjs_engine_formula['FormulaDependencyTreeVirtual']();_0xf2438f['treeId']=(_0x4bb8a7===null||_0x4bb8a7===void 0x0?void 0x0:_0x4bb8a7[_0x1e7c59(0x20c)](_0x56684a,_0x36b11a))||(0x0,_univerjs_engine_formula[_0x1e7c59(0x1c5)])(this[_0x1e7c59(0x19f)]),_0xf2438f[_0x1e7c59(0x226)]=_0x27510b,_0xf2438f[_0x1e7c59(0x225)]=_0x56684a,_0xf2438f[_0x1e7c59(0x21b)]=_0x36b11a,_0xf2438f[_0x1e7c59(0x1bb)]=_0x363ac1,_0xf2438f[_0x1e7c59(0x1ac)]=_univerjs_engine_formula[_0x1e7c59(0x24e)][_0x1e7c59(0x213)],this[_0x1e7c59(0x19f)]['addOtherFormulaDependency'](_0x488870,_0x4450c7,_0x40820f,_0xf2438f),this[_0x1e7c59(0x19f)]['addFormulaDependencyByDefinedName'](_0xf2438f),_0x569cbd[_0x1e7c59(0x234)](_0xf2438f),this[_0x1e7c59(0x1f5)]['set'](_0xf2438f[_0x1e7c59(0x259)],_0xf2438f);}}this['_dependencyManagerService'][_0x1e7c59(0x191)](_0x40820f);}}}}['_registerFormulas'](_0x20fc15,_0x13219b,_0x3a05d0,_0x189af0){const _0x5d7a45=_0x2a488b;for(const _0x20405b of _0x20fc15){const _0x1d9893=_0x13219b[_0x20405b];if(_0x1d9893==null)continue;const _0x45e5a8=Object['keys'](_0x1d9893);for(const _0x1e80b3 of _0x45e5a8){const _0x4c86d4=new _univerjs_core[(_0x5d7a45(0x217))](_0x1d9893[_0x1e80b3]||{}),_0x35c54c=new Map();_0x4c86d4[_0x5d7a45(0x25f)]((_0x325bc9,_0x24125c,_0x1bade4)=>{const _0x31b828=_0x5d7a45;if(_0x1bade4==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x3d6f9f}=_0x1bade4;if(!(x===0x0&&y===0x0&&_0x3d6f9f!=null))return!![];const _0x18a73f=this['_createFDtree'](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c,_0x3a05d0,_0x1bade4),_0x32bcf9=this['_dependencyManagerService'][_0x31b828(0x25e)](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c);if(_0x32bcf9!=null)_0x18a73f[_0x31b828(0x259)]=_0x32bcf9;else this[_0x31b828(0x19f)][_0x31b828(0x19b)](_0x20405b,_0x1e80b3,_0x325bc9,_0x24125c,_0x18a73f),this[_0x31b828(0x19f)]['addFormulaDependencyByDefinedName'](_0x18a73f);_0x35c54c[_0x31b828(0x21e)](_0x3d6f9f,_0x18a73f),_0x189af0['push'](_0x18a73f),this['_dependencyTreeCache'][_0x31b828(0x21e)](_0x18a73f[_0x31b828(0x259)],_0x18a73f);}),_0x4c86d4[_0x5d7a45(0x25f)]((_0x434324,_0x383720,_0x45bf4f)=>{const _0x4398eb=_0x5d7a45;if(_0x45bf4f==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x411c53}=_0x45bf4f;if(x===0x0&&y===0x0&&_0x411c53!=null)return!![];let _0x206ce9;if(_0x411c53&&_0x35c54c[_0x4398eb(0x220)](_0x411c53)){const _0x4a590c=_0x35c54c[_0x4398eb(0x1d8)](_0x411c53);_0x206ce9=this[_0x4398eb(0x1ec)](_0x4a590c,_0x45bf4f);}else _0x206ce9=this['_createFDtree'](_0x20405b,_0x1e80b3,_0x434324,_0x383720,_0x3a05d0,_0x45bf4f);const _0x4e5741=this[_0x4398eb(0x19f)]['getFormulaDependency'](_0x20405b,_0x1e80b3,_0x434324,_0x383720);if(_0x4e5741!=null)_0x206ce9['treeId']=_0x4e5741;else this['_dependencyManagerService']['addFormulaDependency'](_0x20405b,_0x1e80b3,_0x434324,_0x383720,_0x206ce9),this[_0x4398eb(0x19f)]['addFormulaDependencyByDefinedName'](_0x206ce9);_0x189af0[_0x4398eb(0x234)](_0x206ce9),this[_0x4398eb(0x1f5)][_0x4398eb(0x21e)](_0x206ce9[_0x4398eb(0x259)],_0x206ce9);}),_0x35c54c[_0x5d7a45(0x1b8)]();}}}['_createFDtree'](_0x349828,_0xb37e13,_0xecd679,_0x580e1c,_0x1e3533,_0x57b45b){const _0x2402f9=_0x2a488b,{f:_0x5ceee7,x:x=0x0,y:y=0x0}=_0x57b45b,_0x4bec76=new _univerjs_engine_formula['FormulaDependencyTree']((0x0,_univerjs_engine_formula[_0x2402f9(0x1c5)])(this['_dependencyManagerService'])),_0x4b1fca=_0x1e3533[_0x349828][_0xb37e13];return _0x4bec76[_0x2402f9(0x243)]=_0x5ceee7,_0x4bec76['unitId']=_0x349828,_0x4bec76[_0x2402f9(0x1b0)]=_0xb37e13,_0x4bec76['row']=_0xecd679,_0x4bec76['column']=_0x580e1c,_0x4bec76[_0x2402f9(0x25b)]=_0x4b1fca[_0x2402f9(0x25b)],_0x4bec76[_0x2402f9(0x20a)]=_0x4b1fca['columnCount'],_0x4bec76;}[_0x2a488b(0x1dd)](){const _0x1c5f20=_0x2a488b,_0x17b607=[],_0x376ea5=new Set(),_0x5e6f21=this['_currentConfigService'][_0x1c5f20(0x174)](),_0x2fc95d=this[_0x1c5f20(0x24d)][_0x1c5f20(0x218)](),_0x5ab4d9=this[_0x1c5f20(0x19f)][_0x1c5f20(0x170)](_0x2fc95d),_0x26ac1f=this['_dependencyRTreeCacheForAddressFunction'][_0x1c5f20(0x1d0)](_0x2fc95d);for(const _0x17ee91 of _0x26ac1f)_0x5ab4d9[_0x1c5f20(0x1e3)](_0x17ee91);for(const [_0x1b8ff7,_0x3fe927]of this[_0x1c5f20(0x1f5)])(_0x5e6f21||_0x3fe927[_0x1c5f20(0x1e2)]||_0x3fe927['dependencySheetName'](this[_0x1c5f20(0x24d)]['getDirtyNameMap']())||_0x5ab4d9[_0x1c5f20(0x220)](_0x1b8ff7)&&!_0x3fe927[_0x1c5f20(0x1a8)](this[_0x1c5f20(0x24d)]['getExcludedRange']()))&&!_0x376ea5[_0x1c5f20(0x220)](_0x1b8ff7)&&(_0x17b607[_0x1c5f20(0x234)](_0x3fe927),_0x376ea5[_0x1c5f20(0x1e3)](_0x1b8ff7));for(const [_0x16b289,_0x336474]of this[_0x1c5f20(0x1f5)]){if(_0x336474[_0x1c5f20(0x1de)])continue;_0x336474[_0x1c5f20(0x1c8)]['length']=0x0;}return _0x17b607;}[_0x2a488b(0x16d)](_0x701d71){const _0x4912c2=_0x2a488b;return this[_0x4912c2(0x1f5)][_0x4912c2(0x1d8)](_0x701d71);}[_0x2a488b(0x199)](_0x4d01ab){const _0x70e202=_0x2a488b;return(0x0,_univerjs_engine_formula['generateAstNode'])(_0x4d01ab[_0x70e202(0x20d)],_0x4d01ab[_0x70e202(0x243)],this[_0x70e202(0x20f)],this[_0x70e202(0x246)],this[_0x70e202(0x24d)]);}*[_0x2a488b(0x23e)](_0x1e890e,_0x33c215){const _0x3e8e10=_0x2a488b,_0x30bce1=_0x1e890e,_0x5d18b0=new Set();while(_0x30bce1[_0x3e8e10(0x1ef)]>0x0){const _0x443937=_0x30bce1[_0x3e8e10(0x254)]();_0x5d18b0[_0x3e8e10(0x1b8)]();if(_0x443937===void 0x0||_0x443937[_0x3e8e10(0x17e)]())continue;if(_0x443937[_0x3e8e10(0x21a)]()){yield _0x443937,_0x443937[_0x3e8e10(0x1a0)](),_0x33c215[_0x3e8e10(0x1e3)](_0x443937['treeId']);continue;}const _0x2c9522=this[_0x3e8e10(0x19f)][_0x3e8e10(0x170)](_0x443937[_0x3e8e10(0x1eb)](),_0x33c215),_0x4a3fd3=this[_0x3e8e10(0x1cf)][_0x3e8e10(0x1d0)](_0x443937[_0x3e8e10(0x1eb)](),_0x33c215);for(const _0xb5dfc7 of _0x4a3fd3)_0x2c9522[_0x3e8e10(0x1e3)](_0xb5dfc7);for(const _0x57586e of _0x2c9522){const _0x160def=this['_dependencyTreeCache']['get'](_0x57586e);if(!_0x160def){console[_0x3e8e10(0x24a)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x57586e);continue;}if(_0x160def[_0x3e8e10(0x21a)]()||_0x443937['isSkip']())continue;_0x5d18b0[_0x3e8e10(0x1e3)](_0x160def);}_0x2c9522['clear']();if(_0x5d18b0['size']===0x0)yield _0x443937,_0x443937[_0x3e8e10(0x1a0)](),_0x33c215[_0x3e8e10(0x1e3)](_0x443937[_0x3e8e10(0x259)]);else{_0x443937[_0x3e8e10(0x1c6)](),_0x30bce1[_0x3e8e10(0x234)](_0x443937);for(const _0x4f012c of _0x5d18b0)_0x30bce1[_0x3e8e10(0x234)](_0x4f012c);}}_0x30bce1[_0x3e8e10(0x1ef)]=0x0,_0x5d18b0[_0x3e8e10(0x1b8)]();}['_calculateRunList'](_0x2c5b96){const _0x323452=_0x2a488b,_0x12c2b9=[],_0xc07d1=new Set();for(const _0x26312d of this[_0x323452(0x23e)](_0x2c5b96,_0xc07d1))_0x12c2b9['push'](_0x26312d);return _0x12c2b9;}async[_0x2a488b(0x251)](){const _0x2aee47=_0x2a488b;return await this['_initializeGenerateTreeList'](),Array[_0x2aee47(0x1f9)](this[_0x2aee47(0x1f5)][_0x2aee47(0x22e)]());}[_0x2a488b(0x1fa)](_0x3db4c7){const _0x1f7f93=_0x2a488b;return this[_0x1f7f93(0x19f)][_0x1f7f93(0x170)](_0x3db4c7[_0x1f7f93(0x1eb)]());}[_0x2a488b(0x1a7)](_0x1e6dfa){const _0x909aa7=_0x2a488b,_0x11224b=new Set(),_0xb3f7f5=_0x1e6dfa[_0x909aa7(0x1c8)];for(const [_0x3d0c1c,_0x19061e]of this[_0x909aa7(0x1f5)])for(const _0x237e9a of _0xb3f7f5){const _0x491635=_0x237e9a['unitId'],_0x141dfa=_0x237e9a[_0x909aa7(0x21f)];if(_0x19061e[_0x909aa7(0x20d)]!==_0x491635||_0x19061e[_0x909aa7(0x1b0)]!==_0x141dfa)continue;const _0x20c658=_0x237e9a['range'];if(_0x19061e[_0x909aa7(0x1cb)](_0x20c658)){_0x11224b['add'](_0x3d0c1c);break;}}return _0x11224b;}['_startFormulaDependencyTreeModel'](){const _0x3fdfa5=_0x2a488b;this[_0x3fdfa5(0x19f)]['openKdTree']();}[_0x2a488b(0x1c7)](){const _0xe290ae=_0x2a488b;this['_formulaDependencyTreeModel'][_0xe290ae(0x1b8)](),this[_0xe290ae(0x1f5)][_0xe290ae(0x1b8)](),this[_0xe290ae(0x19f)][_0xe290ae(0x216)]();}},CalculateFormulaProService=class extends _univerjs_engine_formula[_0x2a488b(0x160)]{async['_apply'](_0x150295=![]){const _0x5b5ef5=_0x2a488b;if(_0x150295)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x186)]);else this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x260)]);this['_executionInProgressListener$']['next'](this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x23d)]());const _0x240b90=await this[_0x5b5ef5(0x244)][_0x5b5ef5(0x17c)](this['_isCalculateTreeModel']),_0x2efdd3=this[_0x5b5ef5(0x201)];_0x150295?(this['_runtimeService']['setFormulaExecuteStage'](_univerjs_engine_formula[_0x5b5ef5(0x1ae)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x210)](_0x240b90['length'])):(this['_runtimeService']['setFormulaExecuteStage'](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x1cc)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x194)](_0x240b90[_0x5b5ef5(0x1ef)]));this[_0x5b5ef5(0x1b5)][_0x5b5ef5(0x239)](this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x23d)]());let _0x1305e9=[];const _0x41a1d0=this[_0x5b5ef5(0x227)][_0x5b5ef5(0x1e8)](_univerjs_engine_formula[_0x5b5ef5(0x196)]),_0x1dbedf=(_0x41a1d0===null||_0x41a1d0===void 0x0?void 0x0:_0x41a1d0['intervalCount'])||_univerjs_engine_formula[_0x5b5ef5(0x223)];let _0x14e06d=0x0;const _0x73eb02=_0x240b90['length'];while(_0x240b90[_0x5b5ef5(0x1ef)]>0x0){const _0x2f29f7=_0x240b90['pop'](),_0x1419b=(0x0,_univerjs_engine_formula[_0x5b5ef5(0x20b)])(_0x2f29f7[_0x5b5ef5(0x20d)],_0x2f29f7[_0x5b5ef5(0x243)],this[_0x5b5ef5(0x20f)],this[_0x5b5ef5(0x246)],this[_0x5b5ef5(0x24d)]),_0x1d7ccb={'node':_0x1419b,'refOffsetX':_0x2f29f7[_0x5b5ef5(0x225)],'refOffsetY':_0x2f29f7[_0x5b5ef5(0x21b)]},_0x3de555=_0x2f29f7[_0x5b5ef5(0x193)];if(_0x14e06d%_0x1dbedf===0x0){await new Promise(_0x266053=>{const _0x41b2b0=_0x5b5ef5,_0x1abb83=(0x0,_univerjs_core['requestImmediateMacroTask'])(_0x266053);_0x1305e9[_0x41b2b0(0x234)](_0x1abb83);});_0x150295?(this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x1d1)]),this['_runtimeService'][_0x5b5ef5(0x20e)](_0x14e06d+0x1)):(this[_0x5b5ef5(0x1ee)]['setFormulaExecuteStage'](_univerjs_engine_formula['FormulaExecuteStageType'][_0x5b5ef5(0x19d)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b4)](_0x14e06d+0x1));this[_0x5b5ef5(0x1b5)][_0x5b5ef5(0x239)](this['_runtimeService'][_0x5b5ef5(0x23d)]());if(this['_runtimeService']['isStopExecution']()||_0x1d7ccb==null&&_0x3de555==null){this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e4)](_univerjs_engine_formula[_0x5b5ef5(0x1ae)][_0x5b5ef5(0x16e)]),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x18c)](),this['_executionCompleteListener$']['next'](this[_0x5b5ef5(0x1ee)]['getAllRuntimeData']());return;}}this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x16b)](_0x2f29f7['row'],_0x2f29f7['column'],_0x2f29f7[_0x5b5ef5(0x25b)],_0x2f29f7[_0x5b5ef5(0x20a)],_0x2f29f7['subUnitId'],_0x2f29f7['unitId']);let _0x5eca57;if(_0x3de555!=null&&_0x2f29f7[_0x5b5ef5(0x25a)]!=null){const {runtimeCellData:_0x51d4d6,dirtyRanges:_0x1b6c9b}=_0x3de555(this[_0x5b5ef5(0x24d)][_0x5b5ef5(0x193)](),this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x214)]());this[_0x5b5ef5(0x1ee)]['setRuntimeFeatureCellData'](_0x2f29f7[_0x5b5ef5(0x25a)],_0x51d4d6),this[_0x5b5ef5(0x1ee)]['setRuntimeFeatureRange'](_0x2f29f7[_0x5b5ef5(0x25a)],_0x1b6c9b);}else{if(_0x1d7ccb!=null){if(_0x2efdd3[_0x5b5ef5(0x1b6)](_0x1d7ccb[_0x5b5ef5(0x24b)]))_0x5eca57=await _0x2efdd3['executeAsync'](_0x1d7ccb);else _0x5eca57=_0x2efdd3[_0x5b5ef5(0x238)](_0x1d7ccb);if(_0x2f29f7['formulaId']!=null)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1bc)](_0x2f29f7[_0x5b5ef5(0x215)],_0x2f29f7['refOffsetX'],_0x2f29f7[_0x5b5ef5(0x21b)],_0x5eca57);else this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b3)](_0x5eca57);}}_0x1419b[_0x5b5ef5(0x18a)](),_0x14e06d++;}_0x1305e9[_0x5b5ef5(0x1f2)](_0x50a12f=>_0x50a12f()),_0x1305e9=[];if(_0x73eb02>0x0)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1e9)]();else{if(!_0x150295)this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x1b2)]();}return this[_0x5b5ef5(0x1ee)][_0x5b5ef5(0x214)]();}},DependencyManagerProService=class extends _univerjs_engine_formula['DependencyManagerBaseService']{constructor(..._0x4e3657){const _0x31c289=_0x2a488b;super(..._0x4e3657),_defineProperty(this,_0x31c289(0x1d3),new Map()),_defineProperty(this,'_dependencyRTreeCache',new _univerjs_core['RTree'](!![]));}[_0x2a488b(0x1da)](){const _0x69456=_0x2a488b;this[_0x69456(0x17d)][_0x69456(0x1b8)](),this[_0x69456(0x161)][_0x69456(0x1b8)](),this['_formulaData'][_0x69456(0x1b8)](),this[_0x69456(0x21c)][_0x69456(0x1b8)](),this[_0x69456(0x1d3)][_0x69456(0x1b8)](),this[_0x69456(0x1aa)](),this[_0x69456(0x1c0)][_0x69456(0x1b8)]();}[_0x2a488b(0x212)](_0x10d98b,_0x32b04e,_0x5d7ca3,_0x24489a){const _0x416ac3=_0x2a488b;if(!this[_0x416ac3(0x17d)]['has'](_0x10d98b))this[_0x416ac3(0x17d)]['set'](_0x10d98b,new Map());const _0x5e6c5d=this[_0x416ac3(0x17d)][_0x416ac3(0x1d8)](_0x10d98b);if(!_0x5e6c5d[_0x416ac3(0x220)](_0x32b04e))_0x5e6c5d[_0x416ac3(0x21e)](_0x32b04e,new Map());const _0x51f8df=_0x5e6c5d[_0x416ac3(0x1d8)](_0x32b04e);if(!_0x51f8df['has'](_0x5d7ca3))_0x51f8df[_0x416ac3(0x21e)](_0x5d7ca3,new _univerjs_core['ObjectMatrix']());_0x51f8df[_0x416ac3(0x1d8)](_0x5d7ca3)[_0x416ac3(0x1f0)](_0x24489a[_0x416ac3(0x225)],_0x24489a['refOffsetY'],_0x24489a[_0x416ac3(0x259)]);}['removeOtherFormulaDependency'](_0x369415,_0x2093e8,_0x2467ac){const _0xaf223=_0x2a488b,_0xe687a4=this[_0xaf223(0x17d)][_0xaf223(0x1d8)](_0x369415);if(_0xe687a4&&_0xe687a4[_0xaf223(0x220)](_0x2093e8)){const _0x4ca361=_0xe687a4['get'](_0x2093e8);_0x2467ac[_0xaf223(0x1f2)](_0x21824d=>{const _0x594f68=_0xaf223,_0x4bfd7f=_0x4ca361[_0x594f68(0x1d8)](_0x21824d);if(_0x4bfd7f==null)return;_0x4bfd7f['forValue']((_0x408db0,_0x180730,_0x54b31b)=>{const _0x427f75=_0x594f68;this[_0x427f75(0x23f)](_0x54b31b),this[_0x427f75(0x1f3)](_0x54b31b);}),_0x4ca361[_0x594f68(0x202)](_0x21824d),this[_0x594f68(0x1c0)][_0x594f68(0x202)](_0x21824d);});if(_0x4ca361[_0xaf223(0x228)]===0x0)_0xe687a4[_0xaf223(0x202)](_0x2093e8);if(_0xe687a4[_0xaf223(0x228)]===0x0)this[_0xaf223(0x17d)][_0xaf223(0x202)](_0x369415);}}['clearOtherFormulaDependency'](_0x1a3863,_0x45c18e){const _0x4f741a=_0x2a488b,_0x3a3e62=this[_0x4f741a(0x17d)][_0x4f741a(0x1d8)](_0x1a3863);if(_0x45c18e&&_0x3a3e62&&_0x3a3e62[_0x4f741a(0x220)](_0x45c18e)){const _0x1a6ae9=_0x3a3e62['get'](_0x45c18e);this[_0x4f741a(0x258)](_0x1a3863,_0x45c18e);for(const _0x54d372 of _0x1a6ae9[_0x4f741a(0x1c2)]()){const _0x2a00bd=_0x1a6ae9[_0x4f741a(0x1d8)](_0x54d372);if(_0x2a00bd==null)continue;_0x2a00bd[_0x4f741a(0x25f)]((_0x1be4e9,_0x38e087,_0x440a41)=>{const _0x50f0e2=_0x4f741a;if(this[_0x50f0e2(0x1d3)]['get'](_0x440a41))this[_0x50f0e2(0x1f3)](_0x440a41);}),this['_otherFormulaDataMainData'][_0x4f741a(0x202)](_0x54d372);}_0x1a6ae9[_0x4f741a(0x1b8)]();}else{if(_0x3a3e62){for(const _0x2e5b63 of _0x3a3e62[_0x4f741a(0x1c2)]()){const _0x57808c=_0x3a3e62[_0x4f741a(0x1d8)](_0x2e5b63);this['_removeDependencyRTreeCacheById'](_0x1a3863,_0x2e5b63);for(const _0x19e759 of _0x57808c['keys']()){const _0x1b7128=_0x57808c[_0x4f741a(0x1d8)](_0x19e759);if(_0x1b7128==null)continue;_0x1b7128['forValue']((_0x1d9b27,_0x534aaa,_0x38031e)=>{const _0x5877b3=_0x4f741a;if(this[_0x5877b3(0x1d3)][_0x5877b3(0x1d8)](_0x38031e))this[_0x5877b3(0x1f3)](_0x38031e);}),this['_otherFormulaDataMainData']['delete'](_0x19e759);}}this['_otherFormulaData'][_0x4f741a(0x202)](_0x1a3863);}}}[_0x2a488b(0x1d6)](_0x3e5225,_0x58f9e0,_0x2cc1b2,_0x361bd5){const _0x2feff8=_0x2a488b;if(!this[_0x2feff8(0x161)][_0x2feff8(0x220)](_0x3e5225))this[_0x2feff8(0x161)][_0x2feff8(0x21e)](_0x3e5225,new Map());const _0x3d8bbc=this['_featureFormulaData'][_0x2feff8(0x1d8)](_0x3e5225);if(!_0x3d8bbc[_0x2feff8(0x220)](_0x58f9e0))_0x3d8bbc[_0x2feff8(0x21e)](_0x58f9e0,new Map());_0x3d8bbc[_0x2feff8(0x1d8)](_0x58f9e0)[_0x2feff8(0x21e)](_0x2cc1b2,_0x361bd5[_0x2feff8(0x259)]);}[_0x2a488b(0x231)](_0x2d509a,_0x1ef8c2,_0x530b53){const _0x1647b2=_0x2a488b,_0x2c777e=this['_featureFormulaData'][_0x1647b2(0x1d8)](_0x2d509a);if(_0x2c777e&&_0x2c777e[_0x1647b2(0x220)](_0x1ef8c2)){const _0x2ad1a0=_0x2c777e['get'](_0x1ef8c2);_0x530b53[_0x1647b2(0x1f2)](_0x2b8fd3=>{const _0x2b1cac=_0x1647b2,_0xea8fb8=_0x2ad1a0[_0x2b1cac(0x1d8)](_0x2b8fd3);if(_0xea8fb8==null)return;this[_0x2b1cac(0x23f)](_0xea8fb8),_0x2ad1a0[_0x2b1cac(0x202)](_0x2b8fd3),this[_0x2b1cac(0x1f3)](_0xea8fb8);});}}[_0x2a488b(0x24c)](_0x67a749,_0x581bab){const _0x49a453=_0x2a488b,_0x100583=this[_0x49a453(0x161)][_0x49a453(0x1d8)](_0x67a749);if(_0x581bab&&_0x100583&&_0x100583[_0x49a453(0x220)](_0x581bab)){const _0x160ea8=_0x100583['get'](_0x581bab);this['_removeDependencyRTreeCacheById'](_0x67a749,_0x581bab),_0x160ea8[_0x49a453(0x1f2)](_0x198bf1=>{const _0x19091b=_0x49a453;if(_0x198bf1==null)return;this[_0x19091b(0x1f3)](_0x198bf1);}),_0x160ea8['clear']();}else _0x100583&&(_0x100583[_0x49a453(0x1f2)]((_0x9b2ee7,_0x429660)=>{const _0x8d08b1=_0x49a453;this[_0x8d08b1(0x258)](_0x67a749,_0x429660),_0x9b2ee7[_0x8d08b1(0x1f2)](_0x112244=>{if(_0x112244==null)return;this['_removeAllTreeMap'](_0x112244);});}),this[_0x49a453(0x161)][_0x49a453(0x202)](_0x67a749));}[_0x2a488b(0x19b)](_0x23d9f5,_0x13f13e,_0x5f1360,_0x68fe5d,_0x38b28d){const _0x48a5fb=_0x2a488b;if(!this[_0x48a5fb(0x171)]['has'](_0x23d9f5))this[_0x48a5fb(0x171)][_0x48a5fb(0x21e)](_0x23d9f5,new Map());const _0x3e44f7=this[_0x48a5fb(0x171)][_0x48a5fb(0x1d8)](_0x23d9f5);if(!_0x3e44f7[_0x48a5fb(0x220)](_0x13f13e))_0x3e44f7[_0x48a5fb(0x21e)](_0x13f13e,new _univerjs_core[(_0x48a5fb(0x217))]());_0x3e44f7[_0x48a5fb(0x1d8)](_0x13f13e)[_0x48a5fb(0x1f0)](_0x5f1360,_0x68fe5d,_0x38b28d['treeId']);}[_0x2a488b(0x1ab)](_0x357846,_0x2c9f56,_0x2d9b13,_0x1b1c7b){const _0x47aa66=_0x2a488b,_0x547ea2=this[_0x47aa66(0x171)]['get'](_0x357846);if(_0x547ea2&&_0x547ea2[_0x47aa66(0x220)](_0x2c9f56)){const _0x3e7a8b=_0x547ea2['get'](_0x2c9f56),_0x503111=_0x3e7a8b[_0x47aa66(0x20c)](_0x2d9b13,_0x1b1c7b);if(_0x503111==null)return;this[_0x47aa66(0x23f)](_0x503111),_0x3e7a8b[_0x47aa66(0x164)](_0x2d9b13,_0x1b1c7b),this['_removeAllTreeMap'](_0x503111);}}[_0x2a488b(0x1df)](_0x1b28ba,_0x271253){const _0x1ed677=_0x2a488b,_0x5722fe=this[_0x1ed677(0x171)][_0x1ed677(0x1d8)](_0x1b28ba);if(_0x271253&&_0x5722fe&&_0x5722fe[_0x1ed677(0x220)](_0x271253)){const _0x2c7bb9=_0x5722fe[_0x1ed677(0x1d8)](_0x271253);this[_0x1ed677(0x258)](_0x1b28ba,_0x271253),_0x2c7bb9['forValue']((_0x3b565f,_0x3bcf86,_0x534c64)=>{const _0x3dabea=_0x1ed677;if(_0x534c64==null)return!![];this[_0x3dabea(0x1f3)](_0x534c64);}),_0x2c7bb9[_0x1ed677(0x1da)]();}else _0x5722fe&&(_0x5722fe[_0x1ed677(0x1f2)]((_0x12aa7a,_0x4b2d76)=>{const _0x4a33ce=_0x1ed677;this[_0x4a33ce(0x258)](_0x1b28ba,_0x4b2d76),_0x12aa7a[_0x4a33ce(0x25f)]((_0x4e1cdb,_0xf1b14b,_0x29cb72)=>{const _0x9c2c10=_0x4a33ce;if(_0x29cb72==null)return!![];this[_0x9c2c10(0x1f3)](_0x29cb72);});}),this[_0x1ed677(0x171)][_0x1ed677(0x202)](_0x1b28ba));}[_0x2a488b(0x23f)](_0x1ea7e8){const _0x3e0ed6=_0x2a488b;if(_0x1ea7e8==null)return;const _0x33f122=this[_0x3e0ed6(0x1d3)][_0x3e0ed6(0x1d8)](_0x1ea7e8);if(_0x33f122){const _0x17f828=[];for(const [_0x5b8a98,_0x2382d1]of _0x33f122)for(const [_0x1ecedd,_0x358e2f]of _0x2382d1)_0x17f828[_0x3e0ed6(0x234)]({'unitId':_0x5b8a98,'sheetId':_0x1ecedd,'range':_0x358e2f,'id':_0x1ea7e8});this[_0x3e0ed6(0x21c)][_0x3e0ed6(0x1c4)](_0x17f828);}}[_0x2a488b(0x1bd)](_0x1d93c4,_0x2fc39e){const _0x362a17=_0x2a488b,_0xf628ce=this[_0x362a17(0x181)][_0x362a17(0x1d8)](_0x1d93c4);if(_0xf628ce){const _0x12fc40=_0xf628ce[_0x362a17(0x1d8)](_0x2fc39e);if(_0x12fc40){for(const _0x3caed8 of _0x12fc40){this[_0x362a17(0x23f)](_0x3caed8),this[_0x362a17(0x1f3)](_0x3caed8);}_0x12fc40[_0x362a17(0x1b8)]();}}}[_0x2a488b(0x183)](){const _0x38a77d=_0x2a488b;this[_0x38a77d(0x21c)][_0x38a77d(0x183)]();}[_0x2a488b(0x216)](){const _0x550933=_0x2a488b;this[_0x550933(0x21c)][_0x550933(0x216)]();}['_removeAllTreeMap'](_0x5e78e4){const _0x326015=_0x2a488b;if(_0x5e78e4==null)return;this[_0x326015(0x1d3)][_0x326015(0x202)](_0x5e78e4);}['_addAllTreeMap'](_0x2bbf38){const _0xa0bbff=_0x2a488b,_0x2f06e9=_0x2bbf38['rangeList'];let _0x41fa84=this[_0xa0bbff(0x1d3)][_0xa0bbff(0x1d8)](_0x2bbf38['treeId']);for(let _0x2251c4=0x0;_0x2251c4<_0x2f06e9[_0xa0bbff(0x1ef)];_0x2251c4++){var _0x465487,_0x21c1f2;let {unitId:_0x3945b8,sheetId:_0x2e3f01,range:_0x210506}=_0x2f06e9[_0x2251c4];!_0x41fa84&&(_0x41fa84=new Map(),this[_0xa0bbff(0x1d3)]['set'](_0x2bbf38[_0xa0bbff(0x259)],_0x41fa84));if(!_0x41fa84[_0xa0bbff(0x220)](_0x3945b8))_0x41fa84[_0xa0bbff(0x21e)](_0x3945b8,new Map());const _0x59bc2a=_0x41fa84===null||_0x41fa84===void 0x0||(_0x465487=_0x41fa84[_0xa0bbff(0x1d8)](_0x3945b8))===null||_0x465487===void 0x0?void 0x0:_0x465487[_0xa0bbff(0x1d8)](_0x2e3f01);if(_0x59bc2a)_0x210506={'startRow':Math[_0xa0bbff(0x253)](_0x210506[_0xa0bbff(0x250)],_0x59bc2a['startRow']),'startColumn':Math[_0xa0bbff(0x253)](_0x210506['startColumn'],_0x59bc2a[_0xa0bbff(0x19c)]),'endRow':Math[_0xa0bbff(0x19e)](_0x210506[_0xa0bbff(0x1a1)],_0x59bc2a[_0xa0bbff(0x1a1)]),'endColumn':Math[_0xa0bbff(0x19e)](_0x210506['endColumn'],_0x59bc2a[_0xa0bbff(0x1d2)])};(_0x21c1f2=_0x41fa84[_0xa0bbff(0x1d8)](_0x3945b8))===null||_0x21c1f2===void 0x0||_0x21c1f2[_0xa0bbff(0x21e)](_0x2e3f01,_0x210506);}}};function __decorate(_0x3025c7,_0x217283,_0x3404e5,_0x123bec){const _0x24fb08=_0x2a488b;var _0x55f2fa=arguments['length'],_0x48be1f=_0x55f2fa<0x3?_0x217283:_0x123bec===null?_0x123bec=Object['getOwnPropertyDescriptor'](_0x217283,_0x3404e5):_0x123bec,_0x400ff4;if(typeof Reflect==='object'&&typeof Reflect[_0x24fb08(0x1c3)]===_0x24fb08(0x1ba))_0x48be1f=Reflect['decorate'](_0x3025c7,_0x217283,_0x3404e5,_0x123bec);else{for(var _0x47be6a=_0x3025c7['length']-0x1;_0x47be6a>=0x0;_0x47be6a--)if(_0x400ff4=_0x3025c7[_0x47be6a])_0x48be1f=(_0x55f2fa<0x3?_0x400ff4(_0x48be1f):_0x55f2fa>0x3?_0x400ff4(_0x217283,_0x3404e5,_0x48be1f):_0x400ff4(_0x217283,_0x3404e5))||_0x48be1f;}return _0x55f2fa>0x3&&_0x48be1f&&Object[_0x24fb08(0x1d9)](_0x217283,_0x3404e5,_0x48be1f),_0x48be1f;}const BUILD_TIMESTAMP=Number[_0x2a488b(0x1d4)](0x69ec6f90);let UniverProFormulaEnginePlugin=class UniverProFormulaEnginePlugin extends _univerjs_engine_formula[_0x2a488b(0x23a)]{['_initializeWithOverride'](){const _0x529a65=_0x2a488b;if(this[_0x529a65(0x1b1)]()){var _0x6b37c0;this[_0x529a65(0x198)]['add']([_univerjs_engine_formula[_0x529a65(0x237)],{'useClass':LexerTreeProBuilder}]);if(!((_0x6b37c0=this['_config'])===null||_0x6b37c0===void 0x0?void 0x0:_0x6b37c0[_0x529a65(0x22c)]))[[_univerjs_engine_formula[_0x529a65(0x188)],{'useClass':CalculateFormulaProService}],[_univerjs_engine_formula[_0x529a65(0x25d)],{'useClass':DependencyManagerProService}],[_univerjs_engine_formula[_0x529a65(0x175)],{'useClass':FormulaDependencyProGenerator}]]['forEach'](_0x2f90f1=>this[_0x529a65(0x198)][_0x529a65(0x1e3)](_0x2f90f1));}else{var _0x2665a9;this[_0x529a65(0x198)][_0x529a65(0x1e3)]([_univerjs_engine_formula[_0x529a65(0x237)],{'useClass':_univerjs_engine_formula[_0x529a65(0x237)]}]);if(!((_0x2665a9=this['_config'])===null||_0x2665a9===void 0x0?void 0x0:_0x2665a9[_0x529a65(0x22c)]))[[_univerjs_engine_formula['ICalculateFormulaService'],{'useClass':_univerjs_engine_formula['CalculateFormulaService']}],[_univerjs_engine_formula['IDependencyManagerService'],{'useClass':_univerjs_engine_formula[_0x529a65(0x18f)]}],[_univerjs_engine_formula[_0x529a65(0x175)],{'useClass':_univerjs_engine_formula['FormulaDependencyGenerator']}]]['forEach'](_0x599cbe=>this[_0x529a65(0x198)][_0x529a65(0x1e3)](_0x599cbe));}}['_initLicenseValid'](){const _0x4bbbd6=_0x2a488b;var _0x47d206;const {ls:_0x3b5922,pbk:_0x2c708e}=(_0x47d206=this['_configService'][_0x4bbbd6(0x1e8)](_univerjs_pro_license[_0x4bbbd6(0x23b)]))!==null&&_0x47d206!==void 0x0?_0x47d206:{};if(!_0x3b5922||!_0x2c708e)return![];const _0x34c81c=(0x0,_univerjs_pro_license[_0x4bbbd6(0x18d)])(_0x3b5922,_0x2c708e),_0x1c07d5=_0x34c81c[_0x4bbbd6(0x1ea)];if(_0x34c81c[_0x4bbbd6(0x1a3)]){if((0x0,_univerjs_pro_license[_0x4bbbd6(0x18b)])(_0x1c07d5,'sf',BUILD_TIMESTAMP))return(0x0,_univerjs_pro_license['getSheetFeatureLimit'])(_0x1c07d5,!![],'a',!![],![],![]);}return![];}};_defineProperty(UniverProFormulaEnginePlugin,_0x2a488b(0x192),name),_defineProperty(UniverProFormulaEnginePlugin,_0x2a488b(0x230),version),UniverProFormulaEnginePlugin=__decorate([(0x0,_univerjs_core[_0x2a488b(0x208)])(_univerjs_pro_license['UniverLicensePlugin'])],UniverProFormulaEnginePlugin),exports[_0x2a488b(0x16f)]=LexerTreeProBuilder,Object[_0x2a488b(0x1d9)](exports,'UniverProFormulaEnginePlugin',{'enumerable':!![],'get':function(){return UniverProFormulaEnginePlugin;}}),Object[_0x2a488b(0x1c2)](_univerjs_engine_formula)[_0x2a488b(0x1f2)](function(_0x2609bb){const _0x5ece49=_0x2a488b;if(_0x2609bb!=='default'&&!Object[_0x5ece49(0x24f)][_0x5ece49(0x1d7)]['call'](exports,_0x2609bb))Object[_0x5ece49(0x1d9)](exports,_0x2609bb,{'enumerable':!![],'get':function(){return _univerjs_engine_formula[_0x2609bb];}});});
|
|
1
|
+
const _0x5a7c1b=_0x896c;(function(_0x457c77,_0x460ce2){const _0x1d89a7=_0x896c,_0x52c899=_0x457c77();while(!![]){try{const _0x356ccc=-parseInt(_0x1d89a7(0x205))/0x1*(-parseInt(_0x1d89a7(0x25f))/0x2)+parseInt(_0x1d89a7(0x276))/0x3*(parseInt(_0x1d89a7(0x2a8))/0x4)+parseInt(_0x1d89a7(0x26c))/0x5+parseInt(_0x1d89a7(0x286))/0x6+-parseInt(_0x1d89a7(0x26e))/0x7*(parseInt(_0x1d89a7(0x2ac))/0x8)+-parseInt(_0x1d89a7(0x235))/0x9+-parseInt(_0x1d89a7(0x281))/0xa;if(_0x356ccc===_0x460ce2)break;else _0x52c899['push'](_0x52c899['shift']());}catch(_0x256649){_0x52c899['push'](_0x52c899['shift']());}}}(_0x3bb5,0x6f2e0),Object[_0x5a7c1b(0x1f1)](exports,Symbol['toStringTag'],{'value':'Module'}));let _univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_pro_license=require('@univerjs-pro/license'),_univerjs_core=require('@univerjs/core');function _typeof(_0x2cd3ed){'@babel/helpers - typeof';const _0x27af66=_0x5a7c1b;return _typeof=_0x27af66(0x227)==typeof Symbol&&'symbol'==typeof Symbol[_0x27af66(0x1d7)]?function(_0x43ddd4){return typeof _0x43ddd4;}:function(_0x292e2d){const _0x3bc802=_0x27af66;return _0x292e2d&&_0x3bc802(0x227)==typeof Symbol&&_0x292e2d['constructor']===Symbol&&_0x292e2d!==Symbol[_0x3bc802(0x245)]?_0x3bc802(0x1dc):typeof _0x292e2d;},_typeof(_0x2cd3ed);}function toPrimitive(_0x41c4ba,_0x25d9a0){const _0x5d1c19=_0x5a7c1b;if(_0x5d1c19(0x29e)!=_typeof(_0x41c4ba)||!_0x41c4ba)return _0x41c4ba;var _0x52d9f5=_0x41c4ba[Symbol[_0x5d1c19(0x1fd)]];if(void 0x0!==_0x52d9f5){var _0x1d5c2f=_0x52d9f5['call'](_0x41c4ba,_0x25d9a0||_0x5d1c19(0x203));if('object'!=_typeof(_0x1d5c2f))return _0x1d5c2f;throw new TypeError(_0x5d1c19(0x232));}return(_0x5d1c19(0x287)===_0x25d9a0?String:Number)(_0x41c4ba);}function toPropertyKey(_0x672561){const _0x23abb2=_0x5a7c1b;var _0x1fc6e5=toPrimitive(_0x672561,_0x23abb2(0x287));return _0x23abb2(0x1dc)==_typeof(_0x1fc6e5)?_0x1fc6e5:_0x1fc6e5+'';}function _defineProperty(_0x73e1d8,_0x2c63ad,_0x7e1592){const _0x14a95a=_0x5a7c1b;return(_0x2c63ad=toPropertyKey(_0x2c63ad))in _0x73e1d8?Object[_0x14a95a(0x1f1)](_0x73e1d8,_0x2c63ad,{'value':_0x7e1592,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x73e1d8[_0x2c63ad]=_0x7e1592,_0x73e1d8;}var LexerTreeProBuilder=class extends _univerjs_engine_formula[_0x5a7c1b(0x202)]{constructor(..._0x490893){const _0x2242f8=_0x5a7c1b;super(..._0x490893),_defineProperty(this,_0x2242f8(0x231),![]),_defineProperty(this,_0x2242f8(0x21d),new Set()),_defineProperty(this,_0x2242f8(0x1dd),_0x2242f8(0x2a2)),_defineProperty(this,'_xlfnPrefix',_0x2242f8(0x294)),_defineProperty(this,_0x2242f8(0x2b3),'');}[_0x5a7c1b(0x223)](){const _0x1f61e4=_0x5a7c1b;this[_0x1f61e4(0x1dd)]=_0x1f61e4(0x2a2),this['_xlfnPrefix']=_0x1f61e4(0x294);}[_0x5a7c1b(0x206)](){const _0x487ad9=_0x5a7c1b;this[_0x487ad9(0x1dd)]='',this[_0x487ad9(0x273)]='';}[_0x5a7c1b(0x297)](_0x518148,_0x48eb22){const _0x5da10b=_0x5a7c1b,_0xda5920=this[_0x5da10b(0x210)](_0x518148,![]);if(!_0xda5920||_0xda5920===_univerjs_engine_formula[_0x5da10b(0x2ad)][_0x5da10b(0x212)]||Array[_0x5da10b(0x2c2)](_0xda5920))return null;const _0x599a1e=[];this['_hasNewExcelFunction']=![],this['_generateNewFunctionString'](_0xda5920,_0x599a1e,_0x48eb22);if(this[_0x5da10b(0x231)])return'='+_0x599a1e[_0x5da10b(0x25a)]('');return null;}['_generateNewFunctionString'](_0x4f3959,_0x446474,_0x206faf){const _0x208f96=_0x5a7c1b,_0x58b271=_0x4f3959[_0x208f96(0x21f)](),_0x26a31e=_0x58b271['trim'](),_0x5f3516=_0x26a31e[_0x208f96(0x1fe)](),_0x245f80=this['_clearFunctionString'](_0x5f3516),_0x1ef50d=_0x206faf(_0x245f80);let _0x5a279b=0x0;if(_0x58b271===_univerjs_engine_formula[_0x208f96(0x221)])_0x5a279b=0x3;else{if(_0x58b271===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_PARAMETER'])_0x5a279b=0x4;else{if(_0x58b271===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0x5a279b=0x5;else{if(_univerjs_engine_formula['NEW_EXCEL_FUNCTIONS'][_0x208f96(0x1d9)](_0x245f80))_0x446474[_0x208f96(0x20d)](''+this[_0x208f96(0x273)]+_0x26a31e),this['_hasNewExcelFunction']=!![];else{if(_0x5f3516===_univerjs_engine_formula[_0x208f96(0x1cd)])_0x446474[_0x208f96(0x20d)](''+this['_xlfnPrefix']+_0x26a31e),this[_0x208f96(0x231)]=!![],_0x5a279b=0x2;else{if(_0x5f3516===_univerjs_engine_formula['DEFAULT_TOKEN_LET_FUNCTION_NAME'])_0x446474[_0x208f96(0x20d)](''+this[_0x208f96(0x273)]+_0x26a31e),this[_0x208f96(0x231)]=!![],_0x5a279b=0x1;else{if(_0x5f3516===_univerjs_engine_formula['matchToken'][_0x208f96(0x22b)])_0x5a279b=0x8;else{if(_univerjs_engine_formula['SUFFIX_TOKEN_SET'][_0x208f96(0x1d9)](_0x5f3516))_0x5a279b=0x7;else{if(_0x5f3516===_univerjs_engine_formula[_0x208f96(0x1f4)][_0x208f96(0x23a)]){if(this[_0x208f96(0x2a3)](_0x4f3959))_0x5a279b=0x9;_0x446474[_0x208f96(0x20d)](_0x58b271);}else _0x446474[_0x208f96(0x20d)](_0x58b271),_0x5a279b=0xa;}}}}}}}}if(_0x1ef50d){if(_0x5a279b!==0x2&&_0x5a279b!==0x1)_0x5a279b=0x6;_0x446474[_0x208f96(0x20d)]('(');}else{if(_0x5a279b===0x9)_0x446474['push']('(');}const _0x5f5a82=_0x4f3959[_0x208f96(0x2ae)](),_0x25489f=_0x5f5a82['length'];if(_0x5a279b===0x2){const _0x2c5b36=_0x5f5a82[0x0];let _0x49c6ca=0x0;if(_0x2c5b36 instanceof _univerjs_engine_formula[_0x208f96(0x285)]){if(_0x2c5b36[_0x208f96(0x21f)]()===_univerjs_engine_formula[_0x208f96(0x240)])_0x49c6ca=0x1;}for(let _0xb739f7=_0x49c6ca;_0xb739f7<_0x25489f-0x1;_0xb739f7++){const _0x1dd8d1=_0x5f5a82[_0xb739f7];if(_0x1dd8d1 instanceof _univerjs_engine_formula[_0x208f96(0x285)]){const _0x242e2f=_0x1dd8d1[_0x208f96(0x2ae)]()[0x0];if(typeof _0x242e2f===_0x208f96(0x287)){if(this['_lambdaFunctionParameterSet'][_0x208f96(0x1d9)](_0x242e2f))console['error'](_0x208f96(0x277)+_0x242e2f+_0x208f96(0x2ba));this[_0x208f96(0x21d)][_0x208f96(0x1db)](_0x242e2f),_0x446474['push'](''+this[_0x208f96(0x1dd)]+_0x242e2f),this['_hasNewExcelFunction']=!![];}}_0x446474[_0x208f96(0x20d)](',');}this['_handleNewFunctionChild'](_0x5f5a82[_0x25489f-0x1],_0x446474,_0x206faf);if(_0x49c6ca===0x1)_0x446474['push'](')'),_0x446474[_0x208f96(0x20d)]('('),this[_0x208f96(0x236)](_0x2c5b36,_0x446474,_0x206faf),_0x446474[_0x208f96(0x20d)](')');else _0x446474[_0x208f96(0x20d)](')');return;}else{if(_0x5a279b===0x1){for(let _0x32885f=0x0;_0x32885f<_0x25489f-0x1;_0x32885f++){const _0xe48026=_0x5f5a82[_0x32885f];if(_0xe48026 instanceof _univerjs_engine_formula[_0x208f96(0x285)]&&_0x32885f%0x2===0x0){const _0x58b9ea=_0xe48026[_0x208f96(0x2ae)]()[0x0];if(typeof _0x58b9ea===_0x208f96(0x287)){if(this[_0x208f96(0x21d)]['has'](_0x58b9ea))console[_0x208f96(0x2aa)](_0x208f96(0x27d)+_0x58b9ea+_0x208f96(0x2ba));this[_0x208f96(0x21d)]['add'](_0x58b9ea),_0x446474[_0x208f96(0x20d)](''+this[_0x208f96(0x1dd)]+_0x58b9ea),this[_0x208f96(0x231)]=!![],_0x446474[_0x208f96(0x20d)](',');continue;}}this['_handleNewFunctionChild'](_0xe48026,_0x446474,_0x206faf);if(_0xe48026 instanceof _univerjs_engine_formula[_0x208f96(0x285)]){const _0x31f97b=_0x5f5a82[_0x32885f+0x1];if(_0x31f97b&&_0x31f97b instanceof _univerjs_engine_formula[_0x208f96(0x285)])_0x446474[_0x208f96(0x20d)](',');}}this[_0x208f96(0x1e7)](_0x5f5a82[_0x25489f-0x1],_0x446474,_0x206faf),_0x446474[_0x208f96(0x20d)](')');return;}else{if(_0x5a279b===0x8){const _0x2c798f=_0x5f5a82[0x0],_0x4fdfc1=_0x5f5a82[0x1];this['_handleNewFunctionChild'](_0x2c798f,_0x446474,_0x206faf),_0x446474[_0x208f96(0x20d)](_0x58b271),this['_handleNewFunctionChild'](_0x4fdfc1,_0x446474,_0x206faf);return;}}}for(let _0x9141fe=0x0;_0x9141fe<_0x25489f;_0x9141fe++){const _0x142848=_0x5f5a82[_0x9141fe];this[_0x208f96(0x1e7)](_0x142848,_0x446474,_0x206faf);if(_0x142848 instanceof _univerjs_engine_formula[_0x208f96(0x285)]){const _0x145335=_0x5f5a82[_0x9141fe+0x1];if(_0x145335&&_0x145335 instanceof _univerjs_engine_formula[_0x208f96(0x285)])_0x446474[_0x208f96(0x20d)](',');}}if(_0x5a279b===0x7)_0x446474[_0x208f96(0x20d)](_0x58b271);if(_0x1ef50d)_0x446474[_0x208f96(0x20d)](')');else{if(_0x5a279b===0x9)_0x446474['push'](')');}}[_0x5a7c1b(0x1e7)](_0x41bbe4,_0x4c139b,_0x54868a){const _0x24941a=_0x5a7c1b;if(_0x41bbe4 instanceof _univerjs_engine_formula[_0x24941a(0x285)])this[_0x24941a(0x236)](_0x41bbe4,_0x4c139b,_0x54868a);else{if(this[_0x24941a(0x21d)][_0x24941a(0x1d9)](_0x41bbe4))_0x4c139b[_0x24941a(0x20d)](''+this['_xlpmPrefix']+_0x41bbe4),this[_0x24941a(0x231)]=!![];else _0x4c139b[_0x24941a(0x20d)](_0x41bbe4);}}[_0x5a7c1b(0x239)](_0x261cb5){const _0x462e7d=_0x5a7c1b;let _0x45fce6=_0x261cb5[_0x462e7d(0x226)]();if(!_0x45fce6)return _0x45fce6;const _0x302a2f=_0x45fce6[0x0];if(_0x302a2f===_univerjs_engine_formula[_0x462e7d(0x1f4)]['AT']||_0x302a2f===_univerjs_engine_formula[_0x462e7d(0x1f4)][_0x462e7d(0x23a)]||_0x302a2f===_univerjs_engine_formula[_0x462e7d(0x1f4)]['PLUS'])_0x45fce6=_0x45fce6['slice'](0x1);if(!_0x45fce6)return _0x45fce6;const _0x19342e=_0x45fce6[_0x45fce6[_0x462e7d(0x289)]-0x1];if(_univerjs_engine_formula[_0x462e7d(0x275)][_0x462e7d(0x1d9)](_0x19342e))_0x45fce6=_0x45fce6[_0x462e7d(0x2bd)](0x0,-0x1);return _0x45fce6;}[_0x5a7c1b(0x2a3)](_0x83ec0b){const _0x13b7ab=_0x5a7c1b,_0x48988b=_0x83ec0b[_0x13b7ab(0x2ae)]()[0x0];if(!_0x48988b||!(_0x48988b instanceof _univerjs_engine_formula[_0x13b7ab(0x285)])||_0x83ec0b['getChildren']()[_0x13b7ab(0x289)]>0x1)return![];const _0x1f1cb2=_0x48988b['getChildren'](),_0x40439b=_0x1f1cb2['length'];if(_0x40439b===0x1)return![];for(let _0x55ab0c=0x0;_0x55ab0c<_0x40439b;_0x55ab0c++){const _0x36a895=_0x1f1cb2[_0x55ab0c];if(!(_0x36a895 instanceof _univerjs_engine_formula[_0x13b7ab(0x285)])&&_univerjs_engine_formula[_0x13b7ab(0x2a7)][_0x13b7ab(0x1d9)](_0x36a895))return!![];}return![];}[_0x5a7c1b(0x21c)](_0x5a7a8a,_0x42c865,_0xde342e,_0x738e75,_0xb47c3b){const _0x25c9d3=_0x5a7c1b,_0x40e0ca=this[_0x25c9d3(0x210)](_0x5a7a8a,![]);if(!_0x40e0ca||_0x40e0ca===_univerjs_engine_formula['ErrorType'][_0x25c9d3(0x212)]||Array[_0x25c9d3(0x2c2)](_0x40e0ca))return null;this[_0x25c9d3(0x206)](),this[_0x25c9d3(0x2b3)]=_0x42c865;const _0x48a5fc=this[_0x25c9d3(0x222)](_0x40e0ca,_0xde342e,_0x738e75,_0xb47c3b);return this['_currentUnitId']='',this[_0x25c9d3(0x223)](),_0x48a5fc;}[_0x5a7c1b(0x222)](_0x4bc504,_0x3a80d0,_0x8de6c1,_0x1fccdb){const _0x251cbe=_0x5a7c1b,_0xcb5250={'value':'','children':[],'startIndex':0x0};let _0x136a00=_0x4bc504;if(_0x136a00 instanceof _univerjs_engine_formula[_0x251cbe(0x285)]&&(_0x136a00[_0x251cbe(0x21f)]()===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_ROOT']||_0x136a00['getToken']()===_univerjs_engine_formula[_0x251cbe(0x299)])&&_0x136a00[_0x251cbe(0x2ae)]()[_0x251cbe(0x289)]===0x1)_0x136a00=_0x136a00[_0x251cbe(0x2ae)]()[0x0];if(!(_0x136a00 instanceof _univerjs_engine_formula['LexerNode']))return this[_0x251cbe(0x2b9)](_0x136a00,_0x8de6c1,_0x1fccdb);const _0x4b5b2a=_0x136a00[_0x251cbe(0x2ae)](),_0x3a14ca=_0x4b5b2a['length'],_0x22469f=[];this[_0x251cbe(0x236)](_0x136a00,_0x22469f,_0x3a80d0),_0xcb5250['value']=_0x22469f[_0x251cbe(0x25a)](''),_0xcb5250['startIndex']=_0x136a00['getStartIndex']();const _0x3e7370=this[_0x251cbe(0x1eb)](_0x136a00);if(_0x3e7370===0x2){const _0x108437=_0x4b5b2a[0x0];if(_0x108437 instanceof _univerjs_engine_formula[_0x251cbe(0x285)]){if(_0x108437[_0x251cbe(0x21f)]()[_0x251cbe(0x226)]()!==_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0xcb5250;this[_0x251cbe(0x1ec)](_0x108437,_0xcb5250,_0x3a80d0,_0x8de6c1,_0x1fccdb);}return _0xcb5250;}else{if(_0x3e7370===0x1){for(let _0x3555c4=0x0;_0x3555c4<_0x3a14ca-0x1;_0x3555c4++){const _0x1c3d34=_0x4b5b2a[_0x3555c4];if(_0x1c3d34 instanceof _univerjs_engine_formula[_0x251cbe(0x285)]&&_0x3555c4%0x2===0x1){const _0x541b27=_0x1c3d34[_0x251cbe(0x2ae)]();if(_0x541b27['length']===0x1&&!(_0x541b27[0x0]instanceof _univerjs_engine_formula[_0x251cbe(0x285)]))continue;const _0x31a77f=this['_generateExprTree'](_0x1c3d34,_0x3a80d0,_0x8de6c1,_0x1fccdb);_0x31a77f&&_0xcb5250[_0x251cbe(0x2b4)][_0x251cbe(0x20d)](_0x31a77f);}}return _0xcb5250;}else{if(_0x3e7370===0x8){const _0x6f210d=_0x4b5b2a[0x0];if(_0x6f210d instanceof _univerjs_engine_formula[_0x251cbe(0x285)]){const _0x333965=_0x6f210d[_0x251cbe(0x2ae)]()[0x0];if(_0x333965 instanceof _univerjs_engine_formula[_0x251cbe(0x285)])_0xcb5250[_0x251cbe(0x244)]=_0x333965['getStartIndex']();}if(this[_0x251cbe(0x211)](_0x136a00))return _0xcb5250;}else{if(_0x3e7370===0x7){const _0x4dd15c=_0x4b5b2a[0x0];if(_0x4dd15c instanceof _univerjs_engine_formula['LexerNode']){const _0x114380=_0x4dd15c[_0x251cbe(0x2ae)]()[0x0];if(_0x114380 instanceof _univerjs_engine_formula[_0x251cbe(0x285)])_0xcb5250[_0x251cbe(0x244)]=_0x114380['getStartIndex']();}}}}}return this['_handleChildrenForExprTree'](_0x4b5b2a,_0x3e7370,_0xcb5250,_0x3a80d0,_0x8de6c1,_0x1fccdb),_0xcb5250;}[_0x5a7c1b(0x23b)](_0x48bd4a,_0x3a3118,_0x18abc2,_0x1a49ed,_0x304862,_0x234d36){const _0x74c10=_0x5a7c1b;for(let _0x4dd0c0=0x0;_0x4dd0c0<_0x48bd4a[_0x74c10(0x289)];_0x4dd0c0++){let _0x4a2f2a=_0x48bd4a[_0x4dd0c0];if(!(_0x4a2f2a instanceof _univerjs_engine_formula[_0x74c10(0x285)])){const _0x2b3f57=this[_0x74c10(0x2b9)](_0x4a2f2a,_0x304862,_0x234d36);_0x2b3f57&&_0x18abc2[_0x74c10(0x2b4)]['push'](_0x2b3f57);continue;}const _0x97c974=_0x4a2f2a['getChildren']();if(_0x97c974[_0x74c10(0x289)]===0x1&&!(_0x97c974[0x0]instanceof _univerjs_engine_formula[_0x74c10(0x285)])){const _0x6267a2=_0x97c974[0x0];if(!_0x304862(this[_0x74c10(0x2b3)],_0x6267a2)&&!this[_0x74c10(0x1ef)](_0x6267a2,_0x234d36)&&!(0x0,_univerjs_engine_formula['isReferenceString'])(_0x6267a2))continue;}if(_0x3a3118===0x8){const _0x54ca7c=_0x97c974[0x0];if(_0x54ca7c instanceof _univerjs_engine_formula[_0x74c10(0x285)]){if((0x0,_univerjs_engine_formula[_0x74c10(0x288)])(_0x54ca7c[_0x74c10(0x21f)]()[_0x74c10(0x226)]()))continue;_0x4a2f2a=_0x54ca7c;}}const _0x57c98c=this[_0x74c10(0x222)](_0x4a2f2a,_0x1a49ed,_0x304862,_0x234d36);_0x57c98c&&_0x18abc2['children']['push'](_0x57c98c);}}[_0x5a7c1b(0x211)](_0x255a0f){const _0x3cbab4=_0x5a7c1b,_0x485cb2=_0x255a0f['getChildren']();if(_0x485cb2[_0x3cbab4(0x289)]<0x2)return![];const _0x163a2c=_0x485cb2[0x0],_0x1de5c8=_0x485cb2[0x1];if(!(_0x163a2c instanceof _univerjs_engine_formula['LexerNode'])||!(_0x1de5c8 instanceof _univerjs_engine_formula[_0x3cbab4(0x285)]))return![];const _0x540530=_0x163a2c[_0x3cbab4(0x2ae)]()[0x0],_0xcfdd8a=_0x1de5c8[_0x3cbab4(0x2ae)]()[0x0];if(!(_0x540530 instanceof _univerjs_engine_formula[_0x3cbab4(0x285)])||!(_0xcfdd8a instanceof _univerjs_engine_formula[_0x3cbab4(0x285)]))return![];const _0x4acb09=_0x540530[_0x3cbab4(0x21f)]()['trim'](),_0x3b5bb1=_0xcfdd8a[_0x3cbab4(0x21f)]()[_0x3cbab4(0x226)]();if((0x0,_univerjs_engine_formula['isReferenceString'])(''+_0x4acb09+_univerjs_engine_formula[_0x3cbab4(0x26a)][_0x3cbab4(0x22b)]+_0x3b5bb1))return!![];return![];}[_0x5a7c1b(0x2b9)](_0x47f32f,_0x54e53a,_0x5123e0){const _0x25ba7c=_0x5a7c1b,_0x41b9bb=_0x47f32f[_0x25ba7c(0x226)]();if(_0x41b9bb[_0x25ba7c(0x201)]('{')&&_0x41b9bb[_0x25ba7c(0x26b)]('}')||_0x54e53a(this[_0x25ba7c(0x2b3)],_0x41b9bb)||this[_0x25ba7c(0x1ef)](_0x41b9bb,_0x5123e0)||(0x0,_univerjs_engine_formula['isReferenceString'])(_0x41b9bb))return{'value':_0x41b9bb,'children':[],'startIndex':-0x1};return null;}[_0x5a7c1b(0x1ef)](_0x5869c3,_0x222c03){const _0x3af5e2=_0x5a7c1b,{tableName:_0x1a069a}=(0x0,_univerjs_engine_formula[_0x3af5e2(0x293)])(_0x5869c3);if(_0x222c03(this[_0x3af5e2(0x2b3)],_0x1a069a))return _0x1a069a;return null;}[_0x5a7c1b(0x1ec)](_0x4edea6,_0x288d11,_0x35d456,_0x3f911d,_0x27473b){const _0x115a42=_0x5a7c1b,_0x3cd85a=_0x4edea6[_0x115a42(0x2ae)]();for(let _0x357df9=0x0;_0x357df9<_0x3cd85a[_0x115a42(0x289)];_0x357df9++){const _0x176896=_0x3cd85a[_0x357df9];if(!(_0x176896 instanceof _univerjs_engine_formula[_0x115a42(0x285)]))continue;const _0x46a4df=_0x176896[_0x115a42(0x2ae)]();if(_0x46a4df[_0x115a42(0x289)]===0x1&&!(_0x46a4df[0x0]instanceof _univerjs_engine_formula[_0x115a42(0x285)]))continue;const _0x502a55=this['_generateExprTree'](_0x176896,_0x35d456,_0x3f911d,_0x27473b);_0x502a55&&_0x288d11[_0x115a42(0x2b4)][_0x115a42(0x20d)](_0x502a55);}}[_0x5a7c1b(0x1eb)](_0x3452d6){const _0x22ccab=_0x5a7c1b,_0x5330f3=_0x3452d6[_0x22ccab(0x21f)](),_0x712721=_0x5330f3[_0x22ccab(0x226)]()[_0x22ccab(0x1fe)]();let _0x7f0e73=0x0;if(_0x5330f3===_univerjs_engine_formula[_0x22ccab(0x221)])_0x7f0e73=0x3;else{if(_0x5330f3===_univerjs_engine_formula[_0x22ccab(0x299)])_0x7f0e73=0x4;else{if(_0x5330f3===_univerjs_engine_formula['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])_0x7f0e73=0x5;else{if(_0x712721===_univerjs_engine_formula[_0x22ccab(0x1cd)])_0x7f0e73=0x2;else{if(_0x712721===_univerjs_engine_formula[_0x22ccab(0x27f)])_0x7f0e73=0x1;else{if(_0x712721===_univerjs_engine_formula[_0x22ccab(0x26a)][_0x22ccab(0x22b)])_0x7f0e73=0x8;else{if(_univerjs_engine_formula[_0x22ccab(0x275)]['has'](_0x712721))_0x7f0e73=0x7;else{if(_0x712721===_univerjs_engine_formula[_0x22ccab(0x1f4)][_0x22ccab(0x23a)]){if(this[_0x22ccab(0x2a3)](_0x3452d6))_0x7f0e73=0x9;}else _0x7f0e73=0xa;}}}}}}}return _0x7f0e73;}},name='@univerjs-pro/engine-formula',version='0.22.0-insiders.20260513-0b53885',FormulaDependencyProGenerator=class extends _univerjs_engine_formula['FormulaDependencyGenerator']{constructor(..._0x584186){const _0x33a21b=_0x5a7c1b;super(..._0x584186),_defineProperty(this,_0x33a21b(0x1d6),new Map());}['dispose'](){const _0x3a54ad=_0x5a7c1b;super[_0x3a54ad(0x29d)](),this[_0x3a54ad(0x1d6)][_0x3a54ad(0x2bb)]();}async[_0x5a7c1b(0x1c6)](_0x4cd21f=![]){const _0x2af534=_0x5a7c1b;this[_0x2af534(0x218)]();const _0x70f4b8=this[_0x2af534(0x229)]['getFormulaData'](),_0x9517f1=this[_0x2af534(0x1e6)][_0x2af534(0x27b)](),_0x488877=this[_0x2af534(0x229)][_0x2af534(0x290)]();if(_0x488877!=null)Object['keys'](_0x488877)[_0x2af534(0x264)](_0x18b40d=>{const _0x31969a=_0x2af534;if(_0x18b40d==null)return;Object[_0x31969a(0x1e9)](_0x488877[_0x18b40d])[_0x31969a(0x264)](_0x4d42ce=>{const _0x38899a=_0x31969a;if(_0x4d42ce==null)return;this[_0x38899a(0x24e)][_0x38899a(0x269)](_0x18b40d,_0x4d42ce),this[_0x38899a(0x24e)][_0x38899a(0x1e4)](_0x18b40d,_0x4d42ce),this[_0x38899a(0x24e)][_0x38899a(0x1ff)](_0x18b40d,_0x4d42ce);});});const _0x1af7fb=this[_0x2af534(0x229)][_0x2af534(0x25b)]();await this['_generateTreeList'](_0x70f4b8,_0x9517f1,_0x1af7fb),this[_0x2af534(0x24e)][_0x2af534(0x28d)]();const _0x30bd26=this[_0x2af534(0x2bf)](),_0x401110=this[_0x2af534(0x2b5)](_0x30bd26);if(this[_0x2af534(0x292)](_0x401110))this['_runtimeService'][_0x2af534(0x1de)]();if(_0x4cd21f)this[_0x2af534(0x2c4)][_0x2af534(0x20c)](this[_0x2af534(0x230)](Array['from'](this[_0x2af534(0x1d6)][_0x2af534(0x1e3)]())));return this['_dependencyTreeCache']['clear'](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this['_dependencyManagerService'][_0x2af534(0x213)](),this[_0x2af534(0x2c4)][_0x2af534(0x2af)](),Promise['resolve'](_0x401110);}[_0x5a7c1b(0x2bc)](_0x24d5b7,_0x3a7799){const _0x1d3dcd=_0x5a7c1b,_0x1e695b=0x0,_0x32c734=0x1,_0x4a307c=0x2,_0x2e873c=[_0x24d5b7];while(_0x2e873c[_0x1d3dcd(0x289)]>0x0){const _0x43b9b9=_0x2e873c[_0x2e873c[_0x1d3dcd(0x289)]-0x1];if((_0x3a7799[_0x1d3dcd(0x246)](_0x43b9b9)||_0x1e695b)===_0x1e695b){_0x3a7799[_0x1d3dcd(0x1ed)](_0x43b9b9,_0x32c734);const _0x536c38=this['_dependencyTreeCache'][_0x1d3dcd(0x246)](_0x43b9b9);if(_0x536c38==null){_0x3a7799[_0x1d3dcd(0x1ed)](_0x43b9b9,_0x4a307c),_0x2e873c[_0x1d3dcd(0x248)]();continue;}const _0x4a5954=this[_0x1d3dcd(0x24e)][_0x1d3dcd(0x21b)](_0x536c38[_0x1d3dcd(0x2ab)]());for(const _0x8269ef of _0x4a5954){const _0x5b003e=_0x3a7799['get'](_0x8269ef)||_0x1e695b;if(_0x5b003e===_0x32c734)return!![];else{if(_0x5b003e===_0x1e695b)_0x2e873c[_0x1d3dcd(0x20d)](_0x8269ef);}}}else _0x3a7799[_0x1d3dcd(0x1ed)](_0x43b9b9,_0x4a307c),_0x2e873c[_0x1d3dcd(0x248)]();}return![];}['_checkIsCycleDependency'](_0x5c7ac7){const _0x13f8ec=_0x5a7c1b,_0x2d3994=new Map();for(const _0x300beb of _0x5c7ac7)if(!_0x2d3994['has'](_0x300beb['treeId'])){if(this['_isCyclicUtilMap'](_0x300beb[_0x13f8ec(0x28c)],_0x2d3994))return!![];}return _0x2d3994['clear'](),![];}['_getFeatureFormulaTree'](_0x494a57,_0x4ee02f,_0x126607){const _0x1c9e28=_0x5a7c1b,{unitId:_0x1f7b57,subUnitId:_0x15afb7,dependencyRanges:_0x16a48f,getDirtyData:_0x804719}=_0x126607,_0x6e295c=new _univerjs_engine_formula[(_0x1c9e28(0x270))](_0x4ee02f||(0x0,_univerjs_engine_formula['generateRandomDependencyTreeId'])(this['_dependencyManagerService']));_0x6e295c[_0x1c9e28(0x26f)]=_0x1f7b57,_0x6e295c['subUnitId']=_0x15afb7,_0x6e295c[_0x1c9e28(0x1c8)]=_0x16a48f,_0x6e295c[_0x1c9e28(0x21e)]=_0x804719;const _0x54b561=_0x804719(this[_0x1c9e28(0x229)][_0x1c9e28(0x21e)](),this['_runtimeService'][_0x1c9e28(0x268)]());_0x6e295c['featureDirtyRanges']=this[_0x1c9e28(0x241)](_0x54b561['dirtyRanges']),_0x6e295c[_0x1c9e28(0x237)]=_0x494a57,_0x6e295c['type']=_univerjs_engine_formula['FormulaDependencyTreeType'][_0x1c9e28(0x1d5)],this[_0x1c9e28(0x24e)][_0x1c9e28(0x1d8)](_0x1f7b57,_0x15afb7,_0x494a57,_0x6e295c),this[_0x1c9e28(0x1d6)][_0x1c9e28(0x1ed)](_0x6e295c[_0x1c9e28(0x28c)],_0x6e295c);if(this[_0x1c9e28(0x24e)][_0x1c9e28(0x2b8)](_0x126607[_0x1c9e28(0x26f)],_0x126607[_0x1c9e28(0x29c)],_0x494a57))_0x6e295c['isCache']=!![];return _0x6e295c;}[_0x5a7c1b(0x24d)](_0x129efd,_0xc5533b,_0x10cb6c){const _0x250817=_0x5a7c1b;for(const _0xe8b78f of _0xc5533b){const _0x450043=_0x129efd[_0xe8b78f];if(_0x450043==null)continue;const _0x4c4187=Object[_0x250817(0x1e9)](_0x450043);for(const _0x9401e9 of _0x4c4187){const _0x1e3721=_0x450043[_0x9401e9];if(_0x1e3721==null)continue;const {rowCount:rowCount=Infinity,columnCount:columnCount=Infinity}=this[_0x250817(0x229)][_0x250817(0x27e)](_0xe8b78f,_0x9401e9)||{},_0x29869e=Object[_0x250817(0x1e9)](_0x1e3721);for(const _0x55147b of _0x29869e){var _0xbfd864;const _0x47f47a=this[_0x250817(0x24e)][_0x250817(0x216)](_0x55147b),{f:_0x38a9ea,ranges:_0x1bf9bb}=_0x1e3721[_0x55147b];let _0x1b23f7=![];if(_0x47f47a)_0x1b23f7=!![];const {firstRow:_0xf11a39,firstColumn:_0x27bc85}=this[_0x250817(0x2b6)](_0x1bf9bb),_0x21e8c9=this[_0x250817(0x24e)][_0x250817(0x20b)](_0xe8b78f,_0x9401e9,_0x55147b),_0x4f37d8=new _univerjs_engine_formula[(_0x250817(0x270))]((_0xbfd864=_0x21e8c9===null||_0x21e8c9===void 0x0?void 0x0:_0x21e8c9[_0x250817(0x1cf)](0x0,0x0))!==null&&_0xbfd864!==void 0x0?_0xbfd864:(0x0,_univerjs_engine_formula[_0x250817(0x1df)])(this[_0x250817(0x24e)]));for(let _0x71d395=0x0;_0x71d395<_0x1bf9bb[_0x250817(0x289)];_0x71d395++){const _0x51cb53=_0x1bf9bb[_0x71d395],{startRow:_0xf5e0d2,startColumn:_0x56eac4}=_0x51cb53;let {endRow:_0x97adca,endColumn:_0x1b86eb}=_0x51cb53;_0x97adca=Math['min'](_0x97adca,rowCount-0x1),_0x1b86eb=Math[_0x250817(0x224)](_0x1b86eb,columnCount-0x1);for(let _0x53d727=_0xf5e0d2;_0x53d727<=_0x97adca;_0x53d727++)for(let _0x47c7f6=_0x56eac4;_0x47c7f6<=_0x1b86eb;_0x47c7f6++){const _0x4d5ff4=_0x47c7f6-_0x27bc85,_0x44bc1c=_0x53d727-_0xf11a39;if(_0x4d5ff4===0x0&&_0x44bc1c===0x0){_0x4f37d8[_0x250817(0x1f5)]=_0x38a9ea,_0x4f37d8[_0x250817(0x26f)]=_0xe8b78f,_0x4f37d8[_0x250817(0x29c)]=_0x9401e9,_0x4f37d8[_0x250817(0x29a)]=_0x55147b,_0x4f37d8[_0x250817(0x261)]=_univerjs_engine_formula[_0x250817(0x260)][_0x250817(0x2a9)],_0x4f37d8[_0x250817(0x24f)]=_0x1b23f7,_0x10cb6c[_0x250817(0x20d)](_0x4f37d8),this[_0x250817(0x1d6)]['set'](_0x4f37d8[_0x250817(0x28c)],_0x4f37d8),this[_0x250817(0x24e)][_0x250817(0x25e)](_0xe8b78f,_0x9401e9,_0x55147b,_0x4f37d8),this[_0x250817(0x24e)][_0x250817(0x27c)](_0x4f37d8);continue;}const _0xef1a82=new _univerjs_engine_formula[(_0x250817(0x25c))]();_0xef1a82[_0x250817(0x28c)]=(_0x21e8c9===null||_0x21e8c9===void 0x0?void 0x0:_0x21e8c9[_0x250817(0x1cf)](_0x4d5ff4,_0x44bc1c))||(0x0,_univerjs_engine_formula[_0x250817(0x1df)])(this[_0x250817(0x24e)]),_0xef1a82[_0x250817(0x2a1)]=_0x4f37d8,_0xef1a82[_0x250817(0x274)]=_0x4d5ff4,_0xef1a82[_0x250817(0x1cb)]=_0x44bc1c,_0xef1a82[_0x250817(0x24f)]=_0x1b23f7,_0xef1a82[_0x250817(0x261)]=_univerjs_engine_formula[_0x250817(0x260)][_0x250817(0x2a9)],this['_dependencyManagerService']['addOtherFormulaDependency'](_0xe8b78f,_0x9401e9,_0x55147b,_0xef1a82),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0xef1a82),_0x10cb6c['push'](_0xef1a82),this[_0x250817(0x1d6)][_0x250817(0x1ed)](_0xef1a82['treeId'],_0xef1a82);}}this[_0x250817(0x24e)]['addOtherFormulaDependencyMainData'](_0x55147b);}}}}[_0x5a7c1b(0x22c)](_0x118793,_0x1fa075,_0x320624,_0x50082c){const _0x4cf57d=_0x5a7c1b;for(const _0x227d59 of _0x118793){const _0x5955e9=_0x1fa075[_0x227d59];if(_0x5955e9==null)continue;const _0x5a385f=Object[_0x4cf57d(0x1e9)](_0x5955e9);for(const _0x1b6cc9 of _0x5a385f){const _0x1207db=new _univerjs_core[(_0x4cf57d(0x2c3))](_0x5955e9[_0x1b6cc9]||{}),_0x5ee643=new Map();_0x1207db[_0x4cf57d(0x1ce)]((_0x3b2bd2,_0x1063b5,_0x459f42)=>{const _0x3ad163=_0x4cf57d;if(_0x459f42==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x4cfa72}=_0x459f42;if(!(x===0x0&&y===0x0&&_0x4cfa72!=null))return!![];const _0x51329d=this[_0x3ad163(0x1f6)](_0x227d59,_0x1b6cc9,_0x3b2bd2,_0x1063b5,_0x320624,_0x459f42),_0x1a62b3=this[_0x3ad163(0x24e)]['getFormulaDependency'](_0x227d59,_0x1b6cc9,_0x3b2bd2,_0x1063b5);if(_0x1a62b3!=null)_0x51329d['treeId']=_0x1a62b3;else this[_0x3ad163(0x24e)][_0x3ad163(0x1ee)](_0x227d59,_0x1b6cc9,_0x3b2bd2,_0x1063b5,_0x51329d),this[_0x3ad163(0x24e)]['addFormulaDependencyByDefinedName'](_0x51329d);_0x5ee643['set'](_0x4cfa72,_0x51329d),_0x50082c[_0x3ad163(0x20d)](_0x51329d),this[_0x3ad163(0x1d6)]['set'](_0x51329d['treeId'],_0x51329d);}),_0x1207db['forValue']((_0x4b2c86,_0x1786fe,_0x3294c8)=>{const _0x54f1b3=_0x4cf57d;if(_0x3294c8==null)return!![];const {x:x=0x0,y:y=0x0,si:_0x416265}=_0x3294c8;if(x===0x0&&y===0x0&&_0x416265!=null)return!![];let _0x57af68;if(_0x416265&&_0x5ee643[_0x54f1b3(0x1d9)](_0x416265)){const _0x41376d=_0x5ee643[_0x54f1b3(0x246)](_0x416265);_0x57af68=this[_0x54f1b3(0x258)](_0x41376d,_0x3294c8);}else _0x57af68=this['_createFDtree'](_0x227d59,_0x1b6cc9,_0x4b2c86,_0x1786fe,_0x320624,_0x3294c8);const _0x4c77e5=this[_0x54f1b3(0x24e)][_0x54f1b3(0x209)](_0x227d59,_0x1b6cc9,_0x4b2c86,_0x1786fe);if(_0x4c77e5!=null)_0x57af68[_0x54f1b3(0x28c)]=_0x4c77e5;else this[_0x54f1b3(0x24e)][_0x54f1b3(0x1ee)](_0x227d59,_0x1b6cc9,_0x4b2c86,_0x1786fe,_0x57af68),this['_dependencyManagerService'][_0x54f1b3(0x27c)](_0x57af68);_0x50082c[_0x54f1b3(0x20d)](_0x57af68),this[_0x54f1b3(0x1d6)][_0x54f1b3(0x1ed)](_0x57af68[_0x54f1b3(0x28c)],_0x57af68);}),_0x5ee643[_0x4cf57d(0x2bb)]();}}}[_0x5a7c1b(0x1f6)](_0x39b8ed,_0x4267a9,_0x1b85b9,_0x5386b0,_0x496a88,_0x44736b){const _0x4b1370=_0x5a7c1b,{f:_0x4464aa,x:x=0x0,y:y=0x0}=_0x44736b,_0x217b7f=new _univerjs_engine_formula[(_0x4b1370(0x270))]((0x0,_univerjs_engine_formula[_0x4b1370(0x1df)])(this[_0x4b1370(0x24e)])),_0x3924c9=_0x496a88[_0x39b8ed][_0x4267a9];return _0x217b7f[_0x4b1370(0x1f5)]=_0x4464aa,_0x217b7f[_0x4b1370(0x26f)]=_0x39b8ed,_0x217b7f[_0x4b1370(0x29c)]=_0x4267a9,_0x217b7f['row']=_0x1b85b9,_0x217b7f[_0x4b1370(0x1c5)]=_0x5386b0,_0x217b7f['rowCount']=_0x3924c9['rowCount'],_0x217b7f['columnCount']=_0x3924c9[_0x4b1370(0x23d)],_0x217b7f;}[_0x5a7c1b(0x2bf)](){const _0x3637a9=_0x5a7c1b,_0x5c7254=[],_0x17be72=new Set(),_0x6fde7e=this['_currentConfigService'][_0x3637a9(0x23c)](),_0x50547b=this[_0x3637a9(0x229)][_0x3637a9(0x219)](),_0x263d7e=this[_0x3637a9(0x24e)][_0x3637a9(0x21b)](_0x50547b),_0x243e2c=this['_dependencyRTreeCacheForAddressFunction'][_0x3637a9(0x228)](_0x50547b);for(const _0x2ed46c of _0x243e2c)_0x263d7e[_0x3637a9(0x1db)](_0x2ed46c);for(const [_0x460c1c,_0x1407ab]of this['_dependencyTreeCache'])(_0x6fde7e||_0x1407ab['isDirty']||_0x1407ab['dependencySheetName'](this[_0x3637a9(0x229)][_0x3637a9(0x284)]())||_0x263d7e[_0x3637a9(0x1d9)](_0x460c1c)&&!_0x1407ab[_0x3637a9(0x2c0)](this[_0x3637a9(0x229)][_0x3637a9(0x238)]()))&&!_0x17be72['has'](_0x460c1c)&&(_0x5c7254[_0x3637a9(0x20d)](_0x1407ab),_0x17be72['add'](_0x460c1c));for(const [_0x58da12,_0x25c630]of this[_0x3637a9(0x1d6)]){if(_0x25c630[_0x3637a9(0x1ea)])continue;_0x25c630['rangeList'][_0x3637a9(0x289)]=0x0;}return _0x5c7254;}[_0x5a7c1b(0x220)](_0x44b673){const _0x2a149e=_0x5a7c1b;return this[_0x2a149e(0x1d6)][_0x2a149e(0x246)](_0x44b673);}['_getTreeNode'](_0x488489){const _0x115092=_0x5a7c1b;return(0x0,_univerjs_engine_formula[_0x115092(0x271)])(_0x488489[_0x115092(0x26f)],_0x488489['formula'],this[_0x115092(0x257)],this[_0x115092(0x20a)],this['_currentConfigService']);}*['_traverse'](_0x269e03,_0x488bce){const _0x5c3d23=_0x5a7c1b,_0x1d3fa3=_0x269e03,_0x43e03b=new Set();while(_0x1d3fa3[_0x5c3d23(0x289)]>0x0){const _0x2ce6e6=_0x1d3fa3[_0x5c3d23(0x248)]();_0x43e03b[_0x5c3d23(0x2bb)]();if(_0x2ce6e6===void 0x0||_0x2ce6e6['isSkip']())continue;if(_0x2ce6e6[_0x5c3d23(0x279)]()){yield _0x2ce6e6,_0x2ce6e6['setSkip'](),_0x488bce[_0x5c3d23(0x1db)](_0x2ce6e6[_0x5c3d23(0x28c)]);continue;}const _0x1ddbe8=this['_dependencyManagerService']['searchDependency'](_0x2ce6e6[_0x5c3d23(0x2ab)](),_0x488bce),_0x233f66=this[_0x5c3d23(0x1cc)][_0x5c3d23(0x228)](_0x2ce6e6[_0x5c3d23(0x2ab)](),_0x488bce);for(const _0xb2cbb3 of _0x233f66)_0x1ddbe8[_0x5c3d23(0x1db)](_0xb2cbb3);for(const _0x3ac0f9 of _0x1ddbe8){const _0x46a05c=this['_dependencyTreeCache']['get'](_0x3ac0f9);if(!_0x46a05c){console[_0x5c3d23(0x2aa)](_0x5c3d23(0x29b),_0x3ac0f9);continue;}if(_0x46a05c[_0x5c3d23(0x279)]()||_0x2ce6e6[_0x5c3d23(0x250)]())continue;_0x43e03b['add'](_0x46a05c);}_0x1ddbe8[_0x5c3d23(0x2bb)]();if(_0x43e03b[_0x5c3d23(0x215)]===0x0)yield _0x2ce6e6,_0x2ce6e6['setSkip'](),_0x488bce[_0x5c3d23(0x1db)](_0x2ce6e6['treeId']);else{_0x2ce6e6[_0x5c3d23(0x1c9)](),_0x1d3fa3[_0x5c3d23(0x20d)](_0x2ce6e6);for(const _0x5f0ceb of _0x43e03b)_0x1d3fa3['push'](_0x5f0ceb);}}_0x1d3fa3['length']=0x0,_0x43e03b[_0x5c3d23(0x2bb)]();}[_0x5a7c1b(0x2b5)](_0x1ea26a){const _0x4025be=_0x5a7c1b,_0x2e3948=[],_0x552f4f=new Set();for(const _0x3ec544 of this['_traverse'](_0x1ea26a,_0x552f4f))_0x2e3948[_0x4025be(0x20d)](_0x3ec544);return _0x2e3948;}async['_getAllTreeList'](){const _0x26fb55=_0x5a7c1b;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x26fb55(0x1d6)][_0x26fb55(0x1e3)]());}[_0x5a7c1b(0x262)](_0xf01713){const _0x45fd9a=_0x5a7c1b;return this[_0x45fd9a(0x24e)][_0x45fd9a(0x21b)](_0xf01713[_0x45fd9a(0x2ab)]());}[_0x5a7c1b(0x265)](_0x484c26){const _0x186d5b=_0x5a7c1b,_0x687e1d=new Set(),_0x492aac=_0x484c26[_0x186d5b(0x1c8)];for(const [_0x1b44cb,_0x422f6e]of this['_dependencyTreeCache'])for(const _0x3b8388 of _0x492aac){const _0x59889f=_0x3b8388[_0x186d5b(0x26f)],_0x1ea9c7=_0x3b8388[_0x186d5b(0x208)];if(_0x422f6e[_0x186d5b(0x26f)]!==_0x59889f||_0x422f6e[_0x186d5b(0x29c)]!==_0x1ea9c7)continue;const _0x2f754d=_0x3b8388['range'];if(_0x422f6e[_0x186d5b(0x233)](_0x2f754d)){_0x687e1d[_0x186d5b(0x1db)](_0x1b44cb);break;}}return _0x687e1d;}[_0x5a7c1b(0x234)](){const _0x96abaf=_0x5a7c1b;this[_0x96abaf(0x24e)][_0x96abaf(0x28d)]();}['_endFormulaDependencyTreeModel'](){const _0x50383a=_0x5a7c1b;this[_0x50383a(0x1d4)][_0x50383a(0x2bb)](),this[_0x50383a(0x1d6)]['clear'](),this['_dependencyManagerService'][_0x50383a(0x213)]();}},CalculateFormulaProService=class extends _univerjs_engine_formula['CalculateFormulaService']{async['_apply'](_0x472d51=![]){const _0x158823=_0x5a7c1b;if(_0x472d51)this['_runtimeService'][_0x158823(0x2b0)](_univerjs_engine_formula[_0x158823(0x249)][_0x158823(0x282)]);else this[_0x158823(0x2c4)][_0x158823(0x2b0)](_univerjs_engine_formula[_0x158823(0x249)][_0x158823(0x28b)]);this[_0x158823(0x1e0)][_0x158823(0x207)](this['_runtimeService'][_0x158823(0x252)]());const _0x2b318b=await this[_0x158823(0x2b1)]['generate'](this[_0x158823(0x280)]),_0x5c9c8a=this['_interpreter'];_0x472d51?(this['_runtimeService'][_0x158823(0x2b0)](_univerjs_engine_formula[_0x158823(0x249)]['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x158823(0x278)](_0x2b318b[_0x158823(0x289)])):(this[_0x158823(0x2c4)][_0x158823(0x2b0)](_univerjs_engine_formula['FormulaExecuteStageType'][_0x158823(0x254)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x2b318b[_0x158823(0x289)]));this[_0x158823(0x1e0)][_0x158823(0x207)](this['_runtimeService'][_0x158823(0x252)]());let _0x589c1b=[];const _0x2ae259=this['_configService'][_0x158823(0x25d)](_univerjs_engine_formula['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x1f30c3=(_0x2ae259===null||_0x2ae259===void 0x0?void 0x0:_0x2ae259[_0x158823(0x2c1)])||_univerjs_engine_formula[_0x158823(0x28a)];let _0x579f68=0x0;const _0xf944bf=_0x2b318b[_0x158823(0x289)];while(_0x2b318b[_0x158823(0x289)]>0x0){const _0x4a73b6=_0x2b318b['pop'](),_0x186da1=(0x0,_univerjs_engine_formula[_0x158823(0x271)])(_0x4a73b6['unitId'],_0x4a73b6[_0x158823(0x1f5)],this[_0x158823(0x257)],this['_astTreeBuilder'],this[_0x158823(0x229)]),_0x5e15df={'node':_0x186da1,'refOffsetX':_0x4a73b6[_0x158823(0x274)],'refOffsetY':_0x4a73b6[_0x158823(0x1cb)]},_0x227241=_0x4a73b6['getDirtyData'];if(_0x579f68%_0x1f30c3===0x0){await new Promise(_0x3e9719=>{const _0x59c711=_0x158823,_0x17b764=(0x0,_univerjs_core[_0x59c711(0x283)])(_0x3e9719);_0x589c1b[_0x59c711(0x20d)](_0x17b764);});_0x472d51?(this[_0x158823(0x2c4)][_0x158823(0x2b0)](_univerjs_engine_formula[_0x158823(0x249)][_0x158823(0x2a5)]),this[_0x158823(0x2c4)][_0x158823(0x2a0)](_0x579f68+0x1)):(this[_0x158823(0x2c4)][_0x158823(0x2b0)](_univerjs_engine_formula['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x158823(0x24a)](_0x579f68+0x1));this[_0x158823(0x1e0)][_0x158823(0x207)](this[_0x158823(0x2c4)][_0x158823(0x252)]());if(this[_0x158823(0x2c4)][_0x158823(0x23f)]()||_0x5e15df==null&&_0x227241==null){this[_0x158823(0x2c4)][_0x158823(0x2b0)](_univerjs_engine_formula[_0x158823(0x249)]['IDLE']),this[_0x158823(0x2c4)][_0x158823(0x20f)](),this[_0x158823(0x256)]['next'](this[_0x158823(0x2c4)][_0x158823(0x268)]());return;}}this['_runtimeService'][_0x158823(0x1f0)](_0x4a73b6[_0x158823(0x1c7)],_0x4a73b6[_0x158823(0x1c5)],_0x4a73b6[_0x158823(0x1d1)],_0x4a73b6[_0x158823(0x23d)],_0x4a73b6[_0x158823(0x29c)],_0x4a73b6[_0x158823(0x26f)]);let _0x4496b0;if(_0x227241!=null&&_0x4a73b6[_0x158823(0x237)]!=null){const {runtimeCellData:_0x13488a,dirtyRanges:_0x16e20d}=_0x227241(this[_0x158823(0x229)][_0x158823(0x21e)](),this[_0x158823(0x2c4)][_0x158823(0x268)]());this[_0x158823(0x2c4)][_0x158823(0x22a)](_0x4a73b6[_0x158823(0x237)],_0x13488a),this[_0x158823(0x2c4)]['setRuntimeFeatureRange'](_0x4a73b6[_0x158823(0x237)],_0x16e20d);}else{if(_0x5e15df!=null){if(_0x5c9c8a[_0x158823(0x295)](_0x5e15df[_0x158823(0x1f2)]))_0x4496b0=await _0x5c9c8a['executeAsync'](_0x5e15df);else _0x4496b0=_0x5c9c8a['execute'](_0x5e15df);if(_0x4a73b6['formulaId']!=null)this[_0x158823(0x2c4)][_0x158823(0x1f3)](_0x4a73b6[_0x158823(0x29a)],_0x4a73b6[_0x158823(0x274)],_0x4a73b6['refOffsetY'],_0x4496b0);else this[_0x158823(0x2c4)][_0x158823(0x251)](_0x4496b0);}}_0x186da1[_0x158823(0x1d2)](),_0x579f68++;}_0x589c1b[_0x158823(0x264)](_0x46e345=>_0x46e345()),_0x589c1b=[];if(_0xf944bf>0x0)this[_0x158823(0x2c4)][_0x158823(0x24b)]();else{if(!_0x472d51)this['_runtimeService'][_0x158823(0x20e)]();}return this[_0x158823(0x2c4)][_0x158823(0x268)]();}},DependencyManagerProService=class extends _univerjs_engine_formula['DependencyManagerBaseService']{constructor(..._0x5e9835){const _0x3a544e=_0x5a7c1b;super(..._0x5e9835),_defineProperty(this,_0x3a544e(0x28f),new Map()),_defineProperty(this,'_dependencyRTreeCache',new _univerjs_core['RTree'](!![]));}[_0x5a7c1b(0x2b2)](){const _0x4163bc=_0x5a7c1b;this[_0x4163bc(0x1da)][_0x4163bc(0x2bb)](),this[_0x4163bc(0x1e1)][_0x4163bc(0x2bb)](),this[_0x4163bc(0x242)][_0x4163bc(0x2bb)](),this['_dependencyRTreeCache'][_0x4163bc(0x2bb)](),this[_0x4163bc(0x28f)]['clear'](),this[_0x4163bc(0x2c5)](),this[_0x4163bc(0x21a)][_0x4163bc(0x2bb)]();}[_0x5a7c1b(0x25e)](_0xd13f93,_0x482156,_0x4d80d6,_0x365169){const _0x1d7362=_0x5a7c1b;if(!this[_0x1d7362(0x1da)][_0x1d7362(0x1d9)](_0xd13f93))this[_0x1d7362(0x1da)]['set'](_0xd13f93,new Map());const _0x57aac1=this[_0x1d7362(0x1da)]['get'](_0xd13f93);if(!_0x57aac1[_0x1d7362(0x1d9)](_0x482156))_0x57aac1[_0x1d7362(0x1ed)](_0x482156,new Map());const _0x5be883=_0x57aac1[_0x1d7362(0x246)](_0x482156);if(!_0x5be883[_0x1d7362(0x1d9)](_0x4d80d6))_0x5be883[_0x1d7362(0x1ed)](_0x4d80d6,new _univerjs_core['ObjectMatrix']());_0x5be883[_0x1d7362(0x246)](_0x4d80d6)[_0x1d7362(0x255)](_0x365169[_0x1d7362(0x274)],_0x365169['refOffsetY'],_0x365169[_0x1d7362(0x28c)]);}[_0x5a7c1b(0x1e2)](_0xce4f78,_0x2dabb9,_0x4ba156){const _0x5ed44b=_0x5a7c1b,_0x28888b=this[_0x5ed44b(0x1da)][_0x5ed44b(0x246)](_0xce4f78);if(_0x28888b&&_0x28888b['has'](_0x2dabb9)){const _0x5349cb=_0x28888b[_0x5ed44b(0x246)](_0x2dabb9);_0x4ba156[_0x5ed44b(0x264)](_0x153bf7=>{const _0x21b36d=_0x5ed44b,_0x1ea270=_0x5349cb[_0x21b36d(0x246)](_0x153bf7);if(_0x1ea270==null)return;_0x1ea270['forValue']((_0x435a75,_0x400ad2,_0x24fc1c)=>{const _0x57a56b=_0x21b36d;this[_0x57a56b(0x1f9)](_0x24fc1c),this[_0x57a56b(0x1e8)](_0x24fc1c);}),_0x5349cb[_0x21b36d(0x23e)](_0x153bf7),this[_0x21b36d(0x21a)][_0x21b36d(0x23e)](_0x153bf7);});if(_0x5349cb[_0x5ed44b(0x215)]===0x0)_0x28888b[_0x5ed44b(0x23e)](_0x2dabb9);if(_0x28888b['size']===0x0)this['_otherFormulaData'][_0x5ed44b(0x23e)](_0xce4f78);}}[_0x5a7c1b(0x269)](_0x14b0eb,_0x3674b3){const _0x2839f1=_0x5a7c1b,_0x5faa3c=this[_0x2839f1(0x1da)][_0x2839f1(0x246)](_0x14b0eb);if(_0x3674b3&&_0x5faa3c&&_0x5faa3c[_0x2839f1(0x1d9)](_0x3674b3)){const _0x3aecb8=_0x5faa3c[_0x2839f1(0x246)](_0x3674b3);this[_0x2839f1(0x1f8)](_0x14b0eb,_0x3674b3);for(const _0x1ef90b of _0x3aecb8['keys']()){const _0x107a28=_0x3aecb8[_0x2839f1(0x246)](_0x1ef90b);if(_0x107a28==null)continue;_0x107a28[_0x2839f1(0x1ce)]((_0x4be13b,_0x4b1b39,_0x39c5f3)=>{const _0x398809=_0x2839f1;if(this[_0x398809(0x28f)][_0x398809(0x246)](_0x39c5f3))this['_removeAllTreeMap'](_0x39c5f3);}),this['_otherFormulaDataMainData'][_0x2839f1(0x23e)](_0x1ef90b);}_0x3aecb8[_0x2839f1(0x2bb)]();}else{if(_0x5faa3c){for(const _0x71ac06 of _0x5faa3c['keys']()){const _0xab7aee=_0x5faa3c[_0x2839f1(0x246)](_0x71ac06);this[_0x2839f1(0x1f8)](_0x14b0eb,_0x71ac06);for(const _0x3d0694 of _0xab7aee[_0x2839f1(0x1e9)]()){const _0x1a11e5=_0xab7aee[_0x2839f1(0x246)](_0x3d0694);if(_0x1a11e5==null)continue;_0x1a11e5[_0x2839f1(0x1ce)]((_0x348ce0,_0x969018,_0x3203dd)=>{const _0x1a83d2=_0x2839f1;if(this[_0x1a83d2(0x28f)][_0x1a83d2(0x246)](_0x3203dd))this[_0x1a83d2(0x1e8)](_0x3203dd);}),this[_0x2839f1(0x21a)][_0x2839f1(0x23e)](_0x3d0694);}}this[_0x2839f1(0x1da)]['delete'](_0x14b0eb);}}}[_0x5a7c1b(0x1d8)](_0x359346,_0x4c369b,_0x326953,_0x2c8fe0){const _0x42cf8f=_0x5a7c1b;if(!this[_0x42cf8f(0x1e1)]['has'](_0x359346))this[_0x42cf8f(0x1e1)][_0x42cf8f(0x1ed)](_0x359346,new Map());const _0xddd3fd=this[_0x42cf8f(0x1e1)][_0x42cf8f(0x246)](_0x359346);if(!_0xddd3fd['has'](_0x4c369b))_0xddd3fd[_0x42cf8f(0x1ed)](_0x4c369b,new Map());_0xddd3fd[_0x42cf8f(0x246)](_0x4c369b)['set'](_0x326953,_0x2c8fe0[_0x42cf8f(0x28c)]);}[_0x5a7c1b(0x1c4)](_0x41bc0d,_0x20ad47,_0x2b9622){const _0x367d87=_0x5a7c1b,_0x40503b=this[_0x367d87(0x1e1)]['get'](_0x41bc0d);if(_0x40503b&&_0x40503b[_0x367d87(0x1d9)](_0x20ad47)){const _0x3ebdf7=_0x40503b['get'](_0x20ad47);_0x2b9622[_0x367d87(0x264)](_0x10bff7=>{const _0x589713=_0x367d87,_0x4a141c=_0x3ebdf7['get'](_0x10bff7);if(_0x4a141c==null)return;this[_0x589713(0x1f9)](_0x4a141c),_0x3ebdf7[_0x589713(0x23e)](_0x10bff7),this[_0x589713(0x1e8)](_0x4a141c);});}}[_0x5a7c1b(0x1e4)](_0x292d28,_0x4197be){const _0x34719c=_0x5a7c1b,_0x3ddd18=this[_0x34719c(0x1e1)][_0x34719c(0x246)](_0x292d28);if(_0x4197be&&_0x3ddd18&&_0x3ddd18[_0x34719c(0x1d9)](_0x4197be)){const _0x573f8e=_0x3ddd18['get'](_0x4197be);this[_0x34719c(0x1f8)](_0x292d28,_0x4197be),_0x573f8e[_0x34719c(0x264)](_0xf92619=>{const _0x926713=_0x34719c;if(_0xf92619==null)return;this[_0x926713(0x1e8)](_0xf92619);}),_0x573f8e[_0x34719c(0x2bb)]();}else _0x3ddd18&&(_0x3ddd18[_0x34719c(0x264)]((_0x566623,_0x148ec4)=>{this['_removeDependencyRTreeCacheById'](_0x292d28,_0x148ec4),_0x566623['forEach'](_0x34c944=>{const _0x51dd7f=_0x896c;if(_0x34c944==null)return;this[_0x51dd7f(0x1e8)](_0x34c944);});}),this['_featureFormulaData'][_0x34719c(0x23e)](_0x292d28));}['addFormulaDependency'](_0x5e3b5b,_0x12f80e,_0x1a7171,_0x54cf7a,_0x876dc3){const _0x58a7c9=_0x5a7c1b;if(!this['_formulaData'][_0x58a7c9(0x1d9)](_0x5e3b5b))this[_0x58a7c9(0x242)][_0x58a7c9(0x1ed)](_0x5e3b5b,new Map());const _0xfd16b=this['_formulaData'][_0x58a7c9(0x246)](_0x5e3b5b);if(!_0xfd16b['has'](_0x12f80e))_0xfd16b[_0x58a7c9(0x1ed)](_0x12f80e,new _univerjs_core['ObjectMatrix']());_0xfd16b[_0x58a7c9(0x246)](_0x12f80e)[_0x58a7c9(0x255)](_0x1a7171,_0x54cf7a,_0x876dc3['treeId']);}[_0x5a7c1b(0x2a6)](_0x4f7803,_0x44216a,_0x30b17f,_0x1594e8){const _0x2e6c66=_0x5a7c1b,_0x309326=this[_0x2e6c66(0x242)]['get'](_0x4f7803);if(_0x309326&&_0x309326['has'](_0x44216a)){const _0x30dcee=_0x309326['get'](_0x44216a),_0x1b33c0=_0x30dcee[_0x2e6c66(0x1cf)](_0x30b17f,_0x1594e8);if(_0x1b33c0==null)return;this[_0x2e6c66(0x1f9)](_0x1b33c0),_0x30dcee[_0x2e6c66(0x1d0)](_0x30b17f,_0x1594e8),this[_0x2e6c66(0x1e8)](_0x1b33c0);}}[_0x5a7c1b(0x1ff)](_0x154afc,_0x20c65e){const _0x40213e=_0x5a7c1b,_0x1d50b8=this[_0x40213e(0x242)][_0x40213e(0x246)](_0x154afc);if(_0x20c65e&&_0x1d50b8&&_0x1d50b8['has'](_0x20c65e)){const _0x2f1c14=_0x1d50b8[_0x40213e(0x246)](_0x20c65e);this[_0x40213e(0x1f8)](_0x154afc,_0x20c65e),_0x2f1c14['forValue']((_0x168535,_0x369960,_0x50049a)=>{const _0xe52661=_0x40213e;if(_0x50049a==null)return!![];this[_0xe52661(0x1e8)](_0x50049a);}),_0x2f1c14[_0x40213e(0x2b2)]();}else _0x1d50b8&&(_0x1d50b8[_0x40213e(0x264)]((_0x1b7e5e,_0x41230a)=>{const _0x314c25=_0x40213e;this[_0x314c25(0x1f8)](_0x154afc,_0x41230a),_0x1b7e5e[_0x314c25(0x1ce)]((_0x12cf0d,_0xf496e,_0x4911fe)=>{const _0x467357=_0x314c25;if(_0x4911fe==null)return!![];this[_0x467357(0x1e8)](_0x4911fe);});}),this['_formulaData'][_0x40213e(0x23e)](_0x154afc));}[_0x5a7c1b(0x1f9)](_0x18f0c6){const _0x207be7=_0x5a7c1b;if(_0x18f0c6==null)return;const _0x3f9920=this[_0x207be7(0x28f)][_0x207be7(0x246)](_0x18f0c6);if(_0x3f9920){const _0x1e8650=[];for(const [_0x577941,_0x322e23]of _0x3f9920)for(const [_0x22d5b8,_0x323253]of _0x322e23)_0x1e8650[_0x207be7(0x20d)]({'unitId':_0x577941,'sheetId':_0x22d5b8,'range':_0x323253,'id':_0x18f0c6});this['_dependencyRTreeCache']['bulkRemove'](_0x1e8650);}}[_0x5a7c1b(0x26d)](_0x5c437f,_0x5ddeef){const _0x1d8d43=_0x5a7c1b,_0x89c3b8=this[_0x1d8d43(0x217)][_0x1d8d43(0x246)](_0x5c437f);if(_0x89c3b8){const _0x315dea=_0x89c3b8[_0x1d8d43(0x246)](_0x5ddeef);if(_0x315dea){for(const _0x40a471 of _0x315dea){this[_0x1d8d43(0x1f9)](_0x40a471),this[_0x1d8d43(0x1e8)](_0x40a471);}_0x315dea['clear']();}}}[_0x5a7c1b(0x28d)](){const _0x4362f0=_0x5a7c1b;this[_0x4362f0(0x263)][_0x4362f0(0x28d)]();}['closeKdTree'](){const _0x1ff25b=_0x5a7c1b;this[_0x1ff25b(0x263)][_0x1ff25b(0x213)]();}['_removeAllTreeMap'](_0x589916){const _0x581733=_0x5a7c1b;if(_0x589916==null)return;this[_0x581733(0x28f)][_0x581733(0x23e)](_0x589916);}[_0x5a7c1b(0x298)](_0x2b0719){const _0xcb70bc=_0x5a7c1b,_0x260c84=_0x2b0719[_0xcb70bc(0x1c8)];let _0x6f55b7=this[_0xcb70bc(0x28f)][_0xcb70bc(0x246)](_0x2b0719[_0xcb70bc(0x28c)]);for(let _0x1ceb79=0x0;_0x1ceb79<_0x260c84[_0xcb70bc(0x289)];_0x1ceb79++){var _0x2b0736,_0x1089bc;let {unitId:_0x326a56,sheetId:_0x54c7d8,range:_0x57223f}=_0x260c84[_0x1ceb79];!_0x6f55b7&&(_0x6f55b7=new Map(),this['_allTreeMap'][_0xcb70bc(0x1ed)](_0x2b0719['treeId'],_0x6f55b7));if(!_0x6f55b7[_0xcb70bc(0x1d9)](_0x326a56))_0x6f55b7[_0xcb70bc(0x1ed)](_0x326a56,new Map());const _0x3eb455=_0x6f55b7===null||_0x6f55b7===void 0x0||(_0x2b0736=_0x6f55b7[_0xcb70bc(0x246)](_0x326a56))===null||_0x2b0736===void 0x0?void 0x0:_0x2b0736[_0xcb70bc(0x246)](_0x54c7d8);if(_0x3eb455)_0x57223f={'startRow':Math[_0xcb70bc(0x224)](_0x57223f[_0xcb70bc(0x22d)],_0x3eb455[_0xcb70bc(0x22d)]),'startColumn':Math['min'](_0x57223f['startColumn'],_0x3eb455[_0xcb70bc(0x1fb)]),'endRow':Math[_0xcb70bc(0x29f)](_0x57223f[_0xcb70bc(0x266)],_0x3eb455[_0xcb70bc(0x266)]),'endColumn':Math[_0xcb70bc(0x29f)](_0x57223f[_0xcb70bc(0x253)],_0x3eb455[_0xcb70bc(0x253)])};(_0x1089bc=_0x6f55b7[_0xcb70bc(0x246)](_0x326a56))===null||_0x1089bc===void 0x0||_0x1089bc[_0xcb70bc(0x1ed)](_0x54c7d8,_0x57223f);}}};function __decorate(_0x4d1c62,_0x57dc39,_0x3bb645,_0x13c6a2){const _0x19c91b=_0x5a7c1b;var _0x1840c4=arguments[_0x19c91b(0x289)],_0x20220c=_0x1840c4<0x3?_0x57dc39:_0x13c6a2===null?_0x13c6a2=Object[_0x19c91b(0x291)](_0x57dc39,_0x3bb645):_0x13c6a2,_0xaf35c1;if(typeof Reflect===_0x19c91b(0x29e)&&typeof Reflect[_0x19c91b(0x1e5)]===_0x19c91b(0x227))_0x20220c=Reflect[_0x19c91b(0x1e5)](_0x4d1c62,_0x57dc39,_0x3bb645,_0x13c6a2);else{for(var _0x3a6616=_0x4d1c62[_0x19c91b(0x289)]-0x1;_0x3a6616>=0x0;_0x3a6616--)if(_0xaf35c1=_0x4d1c62[_0x3a6616])_0x20220c=(_0x1840c4<0x3?_0xaf35c1(_0x20220c):_0x1840c4>0x3?_0xaf35c1(_0x57dc39,_0x3bb645,_0x20220c):_0xaf35c1(_0x57dc39,_0x3bb645))||_0x20220c;}return _0x1840c4>0x3&&_0x20220c&&Object[_0x19c91b(0x1f1)](_0x57dc39,_0x3bb645,_0x20220c),_0x20220c;}const BUILD_TIMESTAMP=Number[_0x5a7c1b(0x204)](0x6a041875);let UniverProFormulaEnginePlugin=class UniverProFormulaEnginePlugin extends _univerjs_engine_formula[_0x5a7c1b(0x2b7)]{[_0x5a7c1b(0x1f7)](){const _0x8f37c9=_0x5a7c1b;if(this[_0x8f37c9(0x1fa)]()){var _0x5cbfe9;this['_injector'][_0x8f37c9(0x1db)]([_univerjs_engine_formula[_0x8f37c9(0x202)],{'useClass':LexerTreeProBuilder}]);if(!((_0x5cbfe9=this[_0x8f37c9(0x225)])===null||_0x5cbfe9===void 0x0?void 0x0:_0x5cbfe9['notExecuteFormula']))[[_univerjs_engine_formula[_0x8f37c9(0x214)],{'useClass':CalculateFormulaProService}],[_univerjs_engine_formula[_0x8f37c9(0x24c)],{'useClass':DependencyManagerProService}],[_univerjs_engine_formula[_0x8f37c9(0x1fc)],{'useClass':FormulaDependencyProGenerator}]]['forEach'](_0x1cdc16=>this['_injector'][_0x8f37c9(0x1db)](_0x1cdc16));}else{var _0x2ba4fa;this[_0x8f37c9(0x22e)]['add']([_univerjs_engine_formula[_0x8f37c9(0x202)],{'useClass':_univerjs_engine_formula[_0x8f37c9(0x202)]}]);if(!((_0x2ba4fa=this[_0x8f37c9(0x225)])===null||_0x2ba4fa===void 0x0?void 0x0:_0x2ba4fa['notExecuteFormula']))[[_univerjs_engine_formula[_0x8f37c9(0x214)],{'useClass':_univerjs_engine_formula[_0x8f37c9(0x296)]}],[_univerjs_engine_formula['IDependencyManagerService'],{'useClass':_univerjs_engine_formula['DependencyManagerService']}],[_univerjs_engine_formula[_0x8f37c9(0x1fc)],{'useClass':_univerjs_engine_formula[_0x8f37c9(0x28e)]}]][_0x8f37c9(0x264)](_0x1841d5=>this['_injector']['add'](_0x1841d5));}}[_0x5a7c1b(0x1fa)](){const _0x274d9a=_0x5a7c1b;var _0x1e2754;const {ls:_0x5bda80,pbk:_0x1b6589}=(_0x1e2754=this[_0x274d9a(0x200)]['getConfig'](_univerjs_pro_license[_0x274d9a(0x259)]))!==null&&_0x1e2754!==void 0x0?_0x1e2754:{};if(!_0x5bda80||!_0x1b6589)return![];const _0x446a1b=(0x0,_univerjs_pro_license[_0x274d9a(0x243)])(_0x5bda80,_0x1b6589),_0xf07c8b=_0x446a1b['message'];if(_0x446a1b['valid']){if((0x0,_univerjs_pro_license[_0x274d9a(0x2a4)])(_0xf07c8b,'sf',BUILD_TIMESTAMP))return(0x0,_univerjs_pro_license[_0x274d9a(0x27a)])(_0xf07c8b,!![],'a',!![],![],![]);}return![];}};function _0x896c(_0x4d9f64,_0x1c2bb8){_0x4d9f64=_0x4d9f64-0x1c4;const _0x3bb5f6=_0x3bb5();let _0x896cd1=_0x3bb5f6[_0x4d9f64];return _0x896cd1;}function _0x3bb5(){const _0x27f560=['_getCurNodeTypeForExprTree','_handleLambdaForExprTree','set','addFormulaDependency','_getTableNameFromStructuredRef','setCurrent','defineProperty','node','setRuntimeOtherData','prefixToken','formula','_createFDtree','_initializeWithOverride','_removeDependencyRTreeCacheById','_removeDependencyRTreeCache','_initLicenseValid','startColumn','IFormulaDependencyGenerator','toPrimitive','toUpperCase','clearFormulaDependency','_configService','startsWith','LexerTreeBuilder','default','parseInt','1UCNGyX','_clearPrefix','next','sheetId','getFormulaDependency','_astTreeBuilder','getOtherFormulaDependency','setDependencyTreeModelData','push','markedAsNoFunctionsExecuted','markedAsStopFunctionsExecuted','treeBuilder','_checkColonNodeForExprTree','VALUE','closeKdTree','ICalculateFormulaService','size','hasOtherFormulaDataMainData','_definedNameMap','_updateRangeFlatten','getDirtyRanges','_otherFormulaDataMainData','searchDependency','getFormulaExprTree','_lambdaFunctionParameterSet','getDirtyData','getToken','_getTreeById','DEFAULT_TOKEN_TYPE_ROOT','_generateExprTree','_resetPrefix','min','_config','trim','function','bulkSearch','_currentConfigService','setRuntimeFeatureCellData','COLON','_registerFormulas','startRow','_injector','version','_getAllDependencyJson','_hasNewExcelFunction','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','inRangeData','_startFormulaDependencyTreeModel','3969333XRulDe','_generateNewFunctionString','featureId','getExcludedRange','_clearFunctionString','MINUS','_handleChildrenForExprTree','isForceCalculate','columnCount','delete','isStopExecution','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_convertDirtyRangesToUnitRange','_formulaData','getLicenseInfo','startIndex','prototype','get','DependentOn','pop','FormulaExecuteStageType','setCompletedFormulasCount','markedAsSuccessfullyExecuted','IDependencyManagerService','_registerOtherFormulas','_dependencyManagerService','isCache','isSkip','setRuntimeData','getRuntimeState','endColumn','START_CALCULATION','setValue','_executionCompleteListener$','_lexer','_createVirtualFDtree','LS_CONFIG_KEY','join','getUnitData','FormulaDependencyTreeVirtual','getConfig','addOtherFormulaDependency','1617598jbVlrl','FormulaDependencyTreeType','type','_getDependencyTreeParenIds','_dependencyRTreeCache','forEach','_getDependencyTreeChildrenIds','endRow','LexerTreeProBuilder','getAllRuntimeData','clearOtherFormulaDependency','matchToken','endsWith','3292330hvxuER','removeFormulaDependencyByDefinedName','70hBxgDN','unitId','FormulaDependencyTree','generateAstNode','packageName','_xlfnPrefix','refOffsetX','SUFFIX_TOKEN_SET','2955KmVoen','Lambda\x20parameter\x20name\x20\x22','setTotalArrayFormulasToCalculate','isAdded','getSheetFeatureLimit','getOtherFormulaData','addFormulaDependencyByDefinedName','Let\x20variable\x20name\x20\x22','getSheetRowColumnCount','DEFAULT_TOKEN_LET_FUNCTION_NAME','_isCalculateTreeModel','723750jbZzFs','START_DEPENDENCY_ARRAY_FORMULA','requestImmediateMacroTask','getDirtyNameMap','LexerNode','1224594XUKyEv','string','isReferenceString','length','DEFAULT_INTERVAL_COUNT','START_DEPENDENCY','treeId','openKdTree','FormulaDependencyGenerator','_allTreeMap','getClearDependencyTreeCache','getOwnPropertyDescriptor','_checkIsCycleDependency','splitTableStructuredRef','_xlfn.','checkAsyncNode','CalculateFormulaService','getNewFormulaWithPrefix','_addAllTreeMap','DEFAULT_TOKEN_TYPE_PARAMETER','formulaId','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','subUnitId','dispose','object','max','setCompletedArrayFormulasCount','refTree','_xlpm.','_checkAddBracketForMinus','isFeatureAuthorizedWithinTime','CURRENTLY_CALCULATING_ARRAY_FORMULA','removeFormulaDependency','OPERATOR_TOKEN_SET','104crZFiu','OTHER_FORMULA','error','toRTreeItem','582536KHOrdl','ErrorType','getChildren','clearArrayObjectCache','setFormulaExecuteStage','_formulaDependencyGenerator','reset','_currentUnitId','children','_calculateRunList','_getFirstCellOfRange','UniverFormulaEnginePlugin','getFeatureFormulaDependency','_handleTextNodeForExprTree','\x22\x20is\x20duplicated.','clear','_isCyclicUtilMap','slice','UniverLicensePlugin','_getUpdateTreeListAndMakeDependency','isExcludeRange','intervalCount','isArray','ObjectMatrix','_runtimeService','_restDependencyTreeId','removeFeatureFormulaDependency','column','generate','row','rangeList','setAdded','UniverProFormulaEnginePlugin','refOffsetY','_dependencyRTreeCacheForAddressFunction','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','forValue','getValue','realDeleteValue','rowCount','resetCalculationState','hasOwnProperty','_formulaDependencyTreeModel','FEATURE_FORMULA','_dependencyTreeCache','iterator','addFeatureFormulaDependency','has','_otherFormulaData','add','symbol','_xlpmPrefix','enableCycleDependency','generateRandomDependencyTreeId','_executionInProgressListener$','_featureFormulaData','removeOtherFormulaDependency','values','clearFeatureFormulaDependency','decorate','_otherFormulaManagerService','_handleNewFunctionChild','_removeAllTreeMap','keys','isVirtual'];_0x3bb5=function(){return _0x27f560;};return _0x3bb5();}_defineProperty(UniverProFormulaEnginePlugin,_0x5a7c1b(0x272),name),_defineProperty(UniverProFormulaEnginePlugin,_0x5a7c1b(0x22f),version),UniverProFormulaEnginePlugin=__decorate([(0x0,_univerjs_core[_0x5a7c1b(0x247)])(_univerjs_pro_license[_0x5a7c1b(0x2be)])],UniverProFormulaEnginePlugin),exports[_0x5a7c1b(0x267)]=LexerTreeProBuilder,Object[_0x5a7c1b(0x1f1)](exports,_0x5a7c1b(0x1ca),{'enumerable':!![],'get':function(){return UniverProFormulaEnginePlugin;}}),Object[_0x5a7c1b(0x1e9)](_univerjs_engine_formula)['forEach'](function(_0xdca481){const _0x581246=_0x5a7c1b;if(_0xdca481!==_0x581246(0x203)&&!Object['prototype'][_0x581246(0x1d3)]['call'](exports,_0xdca481))Object[_0x581246(0x1f1)](exports,_0xdca481,{'enumerable':!![],'get':function(){return _univerjs_engine_formula[_0xdca481];}});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5213(){var _0x14a87d=['848210SXYXle','27MHCmAh','55656pQmMqv','2297920OpdQPK','2216UxKWvZ','1528784hzFfSI','5916KSWwYM','9jZJzKi','118fcSSSw','294098kVHLaL','30AtFgEd','8426XIeVQD'];_0x5213=function(){return _0x14a87d;};return _0x5213();}(function(_0x1d2663,_0x4d5bc5){var _0x385cdf=_0x34c2,_0x4d3dee=_0x1d2663();while(!![]){try{var _0x5b872f=-parseInt(_0x385cdf(0xdb))/0x1*(parseInt(_0x385cdf(0xd7))/0x2)+parseInt(_0x385cdf(0xe0))/0x3*(-parseInt(_0x385cdf(0xe1))/0x4)+parseInt(_0x385cdf(0xdf))/0x5+parseInt(_0x385cdf(0xdd))/0x6*(-parseInt(_0x385cdf(0xdc))/0x7)+-parseInt(_0x385cdf(0xd8))/0x8*(parseInt(_0x385cdf(0xda))/0x9)+parseInt(_0x385cdf(0xe2))/0xa+parseInt(_0x385cdf(0xde))/0xb*(parseInt(_0x385cdf(0xd9))/0xc);if(_0x5b872f===_0x4d5bc5)break;else _0x4d3dee['push'](_0x4d3dee['shift']());}catch(_0x16d4a4){_0x4d3dee['push'](_0x4d3dee['shift']());}}}(_0x5213,0x1d47e));function _0x34c2(_0x50c3da,_0x5c9985){_0x50c3da=_0x50c3da-0xd7;var _0x521381=_0x5213();var _0x34c28d=_0x521381[_0x50c3da];return _0x34c28d;}import{FFormula}from'@univerjs/engine-formula/facade';export{FFormula};
|