@univerjs-pro/engine-formula 0.10.5 → 0.10.6-experimental.20250903-f52e3bf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x266c97=_0x51fb;(function(_0xf0c903,_0x1e4429){const _0x2a24cd=_0x51fb,_0x4757ca=_0xf0c903();while(!![]){try{const _0x12306b=parseInt(_0x2a24cd(0xa9))/0x1+-parseInt(_0x2a24cd(0xa5))/0x2*(-parseInt(_0x2a24cd(0xa3))/0x3)+-parseInt(_0x2a24cd(0xaf))/0x4+-parseInt(_0x2a24cd(0xa7))/0x5*(parseInt(_0x2a24cd(0xa0))/0x6)+parseInt(_0x2a24cd(0xae))/0x7+parseInt(_0x2a24cd(0xa2))/0x8*(-parseInt(_0x2a24cd(0xac))/0x9)+parseInt(_0x2a24cd(0xa1))/0xa;if(_0x12306b===_0x1e4429)break;else _0x4757ca['push'](_0x4757ca['shift']());}catch(_0x1b813a){_0x4757ca['push'](_0x4757ca['shift']());}}}(_0x87a6,0x6179b));function _0x87a6(){const _0x39aa55=['21865LLAZwO','Module','336952wpoAtj','forEach','prototype','42057qSurDI','default','284368ICABkJ','3128732ugdhOm','426iYtbTU','13455170BHmVus','1072qcTEEH','1185042WVwkWu','keys','2aQZSSJ','defineProperty'];_0x87a6=function(){return _0x39aa55;};return _0x87a6();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x266c97(0xa8)});const t=require('@univerjs/engine-formula/facade');function _0x51fb(_0x2e4108,_0x6b2d1c){const _0x87a6c4=_0x87a6();return _0x51fb=function(_0x51fb62,_0x18fe3f){_0x51fb62=_0x51fb62-0xa0;let _0x4df422=_0x87a6c4[_0x51fb62];return _0x4df422;},_0x51fb(_0x2e4108,_0x6b2d1c);}Object[_0x266c97(0xa4)](t)[_0x266c97(0xaa)](_0x4ec46c=>{const _0x17f6c3=_0x266c97;_0x4ec46c!==_0x17f6c3(0xad)&&!Object[_0x17f6c3(0xab)]['hasOwnProperty']['call'](exports,_0x4ec46c)&&Object[_0x17f6c3(0xa6)](exports,_0x4ec46c,{'enumerable':!0x0,'get':()=>t[_0x4ec46c]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x53eb8f=_0x6658;(function(_0x1eeb04,_0x9742f4){const _0x56193e=_0x6658,_0x276d58=_0x1eeb04();while(!![]){try{const _0x5c645a=parseInt(_0x56193e(0x1d1))/0x1+-parseInt(_0x56193e(0x13f))/0x2+parseInt(_0x56193e(0x1d8))/0x3+parseInt(_0x56193e(0x181))/0x4*(parseInt(_0x56193e(0x1a3))/0x5)+parseInt(_0x56193e(0x190))/0x6+-parseInt(_0x56193e(0x1dd))/0x7*(parseInt(_0x56193e(0x183))/0x8)+-parseInt(_0x56193e(0x15d))/0x9;if(_0x5c645a===_0x9742f4)break;else _0x276d58['push'](_0x276d58['shift']());}catch(_0x2df5ec){_0x276d58['push'](_0x276d58['shift']());}}}(_0x17f8,0xc292b));function _0x6658(_0x2c7ec8,_0x291e02){const _0x17f8df=_0x17f8();return _0x6658=function(_0x6658ce,_0x519351){_0x6658ce=_0x6658ce-0x132;let _0x292282=_0x17f8df[_0x6658ce];return _0x292282;},_0x6658(_0x2c7ec8,_0x291e02);}var I=Object[_0x53eb8f(0x168)],P=(_0x121310,_0xb7c357,_0x1cb7d8)=>_0xb7c357 in _0x121310?I(_0x121310,_0xb7c357,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cb7d8}):_0x121310[_0xb7c357]=_0x1cb7d8,S=(_0x17420e,_0x5c290c,_0x271761)=>P(_0x17420e,typeof _0x5c290c!=_0x53eb8f(0x16f)?_0x5c290c+'':_0x5c290c,_0x271761);Object['defineProperty'](exports,Symbol[_0x53eb8f(0x195)],{'value':_0x53eb8f(0x149)});function _0x17f8(){const _0x5010b6=['getDirtyData','_initLicenseValid','endColumn','forEach','_injector','addFeatureFormulaDependency','toRTreeItem','_convertDirtyRangesToUnitRange','refTree','generateAstNode','return\x20','CURRENTLY_CALCULATING_ARRAY_FORMULA','_config','columnCount','setCompletedFormulasCount','length','isCache','subUnitId','setRuntimeOtherData','dirtyRanges','setTotalArrayFormulasToCalculate','CalculateFormulaService','ObjectMatrix','getDirtyRanges','parseInt','setRuntimeFeatureCellData','845442EWSsez','isFeatureAuthorizedWithinTime','_otherFormulaData','removeFormulaDependencyByDefinedName','size','_createFDtree','_restDependencyTreeId','4199382uTpsKc','setValue','getExcludedRange','_dependencyTreeCache','START_DEPENDENCY_ARRAY_FORMULA','7hkeGjB','RTree','_removeAllTreeMap','reset','_featureFormulaData','hasOtherFormulaDataMainData','isDirty','pop','treeId','_generateTreeList','set','clear','isAdded','setRuntimeData','_configService','closeKdTree','getFeatureFormulaDependency','_executionInProgressListener$','_formulaDependencyGenerator','endRow','node','generateRandomDependencyTreeId','getRuntimeState','add','IDLE','markedAsSuccessfullyExecuted','FormulaDependencyTreeVirtual','getConfig','clearFeatureFormulaDependency','1046210OWWnKZ','DependentOn','column','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','FormulaDependencyTree','getFormulaDependency','type','_getFirstCellOfRange','unitId','push','Module','intervalCount','max','min','keys','rowCount','setFormulaExecuteStage','DEFAULT_INTERVAL_COUNT','next','dependencySheetName','removeFeatureFormulaDependency','DependencyManagerService','formula','LS_CONFIG_KEY','getClearDependencyTreeCache','refOffsetX','_isCyclicUtilMap','notExecuteFormula','IDependencyManagerService','getAllRuntimeData','19449729TIgppb','_lexer','delete','_dependencyManagerService','_astTreeBuilder','ICalculateFormulaService','clearOtherFormulaDependency','get','_initializeWithOverride','UniverProFormulaEnginePlugin','_updateRangeFlatten','defineProperty','removeFormulaDependency','rangeList','addFormulaDependency','_runtimeService','featureId','message','symbol','setCompletedArrayFormulasCount','_getTreeById','isSkip','_calculateRunList','_allTreeMap','getOtherFormulaDependency','prototype','_otherFormulaManagerService','searchDependency','_dependencyRTreeCacheForAddressFunction','_getTreeNode','setTotalFormulasToCalculate','_dependencyRTreeCache','getUnitData','_checkIsCycleDependency','IFormulaDependencyGenerator','default','4966764fAfrfn','START_DEPENDENCY','8164056WbIEHN','FormulaExecuteStageType','addOtherFormulaDependency','removeOtherFormulaDependency','UniverFormulaEnginePlugin','_apply','_executionCompleteListener$','generate','addFormulaDependencyByDefinedName','getOwnPropertyDescriptor','startRow','_formulaData','isStopExecution','6088422hZvRbf','formulaId','isExcludeRange','realDeleteValue','execute','toStringTag','_removeDependencyRTreeCacheById','forValue','_traverse','openKdTree','UniverLicensePlugin','clearFormulaDependency','startColumn','hasOwnProperty','setCurrent','featureDirtyRanges','refOffsetY','_currentConfigService','_getUpdateTreeListAndMakeDependency','5eVjOPU','executeAsync','getSheetFeatureLimit','_addAllTreeMap','call','_removeDependencyRTreeCache','OTHER_FORMULA','FormulaDependencyGenerator','resolve','getDirtyNameMap','setSkip','has','_registerFormulas','dispose','setAdded','checkAsyncNode','_otherFormulaDataMainData','markedAsStopFunctionsExecuted','getValue','FormulaDependencyTreeType'];_0x17f8=function(){return _0x5010b6;};return _0x17f8();}const v=require('@univerjs-pro/license'),V=require('@univerjs/core'),u=require('@univerjs/engine-formula'),b={0x0:'K',0x1:'f',0x2:'L',0x3:'W',0x4:'V',0x5:'M',0x6:'u',0x7:'J',0x8:'m',0x9:'Q','a':'0','h':'1','I':'2','Z':'3','z':'4','m':'5','Q':'6','s':'7','n':'8','S':'9','M':'a','q':'b','L':'c','T':'d','l':'e','e':'g','P':'h','N':'i','O':'j','i':'k','G':'l','C':'n','U':'o','R':'p','w':'q','Y':'r','p':'s','V':'t','y':'v','x':'w','J':'x','o':'y','F':'z','d':'A','t':'B','g':'C','u':'D','A':'E','r':'F','f':'G','c':'H','K':'I','E':'N','D':'O','W':'P','H':'R','b':'S','j':'T','X':'U','k':'X','v':'Y','B':'Z'},k='16CLVNUC\x20TlLYoRVNUC(GNLlCpl,\x20R6qGNL0lo)\x20{\x20\x20\x20\x20VYo\x20{\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20GNLlCplKC1UWMYVdYYMo\x20=\x20GNLlCpl.pRGNV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20UYNeNC5lppMel\x20=\x207bDE.RMYpl(MVUq(GNLlCplKC1UWMYVdYYMo[I]));\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!UYNeNC5lppMel.6T)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UYNeNC5lppMel.6T\x20=\x20E68qlY(GNLlCplKC1UWMYVdYYMo[z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20Np3UYilY\x20=\x20VoRlU1\x203UYilYfGUqMGbLURl\x20!==\x20\x276CTl1NClT\x27\x20&&\x20plG1\x20NCpVMCLlU1\x203UYilYfGUqMGbLURl;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20LUCVlJV\x20=\x20Np3UYilY\x20?\x20plG1\x20:\x20xNCTUx;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[I]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(8lppMel3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[Z]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(pNeCMV6Yl3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeC4MGNT\x20=\x20LUCVlJV.__ylYN1o__(pNeCMV6Yl,\x208lppMel,\x20R6qGNL0lo);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20TU8MNC\x20=\x20UYNeNC5lppMel.T8;\x20\x20\x20\x20\x20\x20\x20\x2016CLVNUC\x20NpuU8MNC5MVLPNCe(UWMVVlYC,\x20UcUpV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYC\x20=\x20UWMVVlYC.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpV\x20=\x20UcUpV.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCWMYVp\x20=\x20RMVVlYC.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVWMYVp\x20=\x20PUpV.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!RMVVlYC.NCLG6Tlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYC\x20===\x20PUpV;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(RMVVlYCWMYVp.GlCeVP\x20<\x20I\x20||\x20RMVVlYCWMYVp[a]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x201MGpl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCb611NJ\x20=\x20RMVVlYCWMYVp.pGNLl(h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVb611NJ\x20=\x20PUpVWMYVp.pGNLl(-RMVVlYCWMYVp.GlCeVP\x20+\x20h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYCb611NJ\x20===\x20PUpVb611NJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GlV\x20TU8MNC4MGNT\x20=\x20(TU8MNC\x20&&\x20TU8MNC.GlCeVP)\x20?\x20TU8MNC.pU8l((T8KVl8)\x20=>\x20NpuU8MNC5MVLPNCe(T8KVl8,\x20GULMVNUC.PUpVCM8l))\x20:\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(GULMVNUC.PUpVCM8l\x20===\x20\x27GULMGPUpV\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TU8MNC4MGNT\x20=\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20yMGNT\x20=\x20pNeC4MGNT\x20&&\x20TU8MNC4MGNT;\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20UYNeNC5lppMel,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LMVLP\x20(lYYUY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT:\x201MGpl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class W extends u[_0x53eb8f(0x1aa)]{constructor(){const _0x4cc0d8=_0x53eb8f;super(...arguments),S(this,_0x4cc0d8(0x1db),new Map());}[_0x53eb8f(0x1b0)](){const _0x504695=_0x53eb8f;super[_0x504695(0x1b0)](),this[_0x504695(0x1db)][_0x504695(0x1e8)]();}async['generate'](){const _0x1a29b8=_0x53eb8f;this[_0x1a29b8(0x167)]();const _0x2a1bac=this[_0x1a29b8(0x1a1)]['getFormulaData'](),_0xc2a1af=this[_0x1a29b8(0x177)]['getOtherFormulaData'](),_0x1fa893=this[_0x1a29b8(0x1a1)][_0x1a29b8(0x157)]();_0x1fa893!=null&&Object[_0x1a29b8(0x14d)](_0x1fa893)[_0x1a29b8(0x1ba)](_0x25df37=>{const _0x475657=_0x1a29b8;_0x25df37!=null&&Object[_0x475657(0x14d)](_0x1fa893[_0x25df37])[_0x475657(0x1ba)](_0x491ccb=>{const _0x30fa7f=_0x475657;_0x491ccb!=null&&(this['_dependencyManagerService'][_0x30fa7f(0x163)](_0x25df37,_0x491ccb),this[_0x30fa7f(0x160)][_0x30fa7f(0x13e)](_0x25df37,_0x491ccb),this['_dependencyManagerService']['clearFormulaDependency'](_0x25df37,_0x491ccb));});});const _0x107413=this[_0x1a29b8(0x1a1)][_0x1a29b8(0x17d)]();await this[_0x1a29b8(0x1e6)](_0x2a1bac,_0xc2a1af,_0x107413),this[_0x1a29b8(0x160)]['openKdTree']();const _0x1d2d36=this['_getUpdateTreeListAndMakeDependency'](),_0xdf6a3c=this[_0x1a29b8(0x173)](_0x1d2d36);return this[_0x1a29b8(0x17e)](_0xdf6a3c)&&this[_0x1a29b8(0x16c)]['enableCycleDependency'](),this[_0x1a29b8(0x1db)][_0x1a29b8(0x1e8)](),this[_0x1a29b8(0x179)][_0x1a29b8(0x1e8)](),this[_0x1a29b8(0x160)]['closeKdTree'](),Promise[_0x1a29b8(0x1ab)](_0xdf6a3c);}[_0x53eb8f(0x159)](_0x40180c,_0xdd82b){const _0xbba0d=_0x53eb8f,_0x3b8919=[_0x40180c];for(;_0x3b8919[_0xbba0d(0x1c6)]>0x0;){const _0x4e45ed=_0x3b8919[_0x3b8919[_0xbba0d(0x1c6)]-0x1];if((_0xdd82b['get'](_0x4e45ed)||0x0)===0x0){_0xdd82b[_0xbba0d(0x1e7)](_0x4e45ed,0x1);const _0x16d687=this['_dependencyTreeCache'][_0xbba0d(0x164)](_0x4e45ed);if(_0x16d687==null){_0xdd82b['set'](_0x4e45ed,0x2),_0x3b8919['pop']();continue;}const _0x1831a0=this[_0xbba0d(0x160)][_0xbba0d(0x178)](_0x16d687[_0xbba0d(0x1bd)]());for(const _0x3b8d70 of _0x1831a0){const _0x263262=_0xdd82b[_0xbba0d(0x164)](_0x3b8d70)||0x0;if(_0x263262===0x1)return!0x0;_0x263262===0x0&&_0x3b8919['push'](_0x3b8d70);}}else _0xdd82b[_0xbba0d(0x1e7)](_0x4e45ed,0x2),_0x3b8919[_0xbba0d(0x1e4)]();}return!0x1;}[_0x53eb8f(0x17e)](_0x6d6cca){const _0x581c55=_0x53eb8f,_0x1e2034=new Map();for(const _0x274773 of _0x6d6cca)if(!_0x1e2034[_0x581c55(0x1ae)](_0x274773[_0x581c55(0x1e5)])&&this[_0x581c55(0x159)](_0x274773[_0x581c55(0x1e5)],_0x1e2034))return!0x0;return _0x1e2034['clear'](),!0x1;}['_getFeatureFormulaTree'](_0x2439dd,_0x5ef4b8,_0x8cc8f1){const _0x3d53e4=_0x53eb8f,{unitId:_0x37f344,subUnitId:_0x5053e2,dependencyRanges:_0x2c75b1,getDirtyData:_0x2714c6}=_0x8cc8f1,_0x2247fa=_0x5ef4b8||u['generateRandomDependencyTreeId'](this[_0x3d53e4(0x160)]),_0x4ac164=new u[(_0x3d53e4(0x143))](_0x2247fa);_0x4ac164[_0x3d53e4(0x147)]=_0x37f344,_0x4ac164[_0x3d53e4(0x1c8)]=_0x5053e2,_0x4ac164[_0x3d53e4(0x16a)]=_0x2c75b1,_0x4ac164['getDirtyData']=_0x2714c6;const _0x4c437f=_0x2714c6(this['_currentConfigService'][_0x3d53e4(0x1b7)](),this[_0x3d53e4(0x16c)][_0x3d53e4(0x15c)]()),_0x57f7aa=this[_0x3d53e4(0x1be)](_0x4c437f[_0x3d53e4(0x1ca)]);return _0x4ac164[_0x3d53e4(0x19f)]=_0x57f7aa,_0x4ac164['featureId']=_0x2439dd,_0x4ac164['type']=u[_0x3d53e4(0x1b6)]['FEATURE_FORMULA'],this[_0x3d53e4(0x160)][_0x3d53e4(0x1bc)](_0x37f344,_0x5053e2,_0x2439dd,_0x4ac164),this[_0x3d53e4(0x1db)][_0x3d53e4(0x1e7)](_0x4ac164['treeId'],_0x4ac164),this['_dependencyManagerService'][_0x3d53e4(0x132)](_0x8cc8f1[_0x3d53e4(0x147)],_0x8cc8f1['subUnitId'],_0x2439dd)&&(_0x4ac164[_0x3d53e4(0x1c7)]=!0x0),_0x4ac164;}['_registerOtherFormulas'](_0x379df6,_0x11057f,_0x3abb83){const _0x142919=_0x53eb8f;var _0x288dd8;for(const _0x151a0e of _0x11057f){const _0x3436d5=_0x379df6[_0x151a0e];if(_0x3436d5==null)continue;const _0x71bb1d=Object[_0x142919(0x14d)](_0x3436d5);for(const _0x45aa66 of _0x71bb1d){const _0x149c2d=_0x3436d5[_0x45aa66];if(_0x149c2d==null)continue;const _0x2c6e5e=Object[_0x142919(0x14d)](_0x149c2d);for(const _0x3e28d1 of _0x2c6e5e){const _0x36195b=this['_dependencyManagerService'][_0x142919(0x1e2)](_0x3e28d1),_0x7edf19=_0x149c2d[_0x3e28d1],{f:_0x321e06,ranges:_0x3afb16}=_0x7edf19;let _0x480932=!0x1;_0x36195b&&(_0x480932=!0x0);const {firstRow:_0x12a83f,firstColumn:_0x34fbf7}=this[_0x142919(0x146)](_0x3afb16),_0x205d5a=this['_dependencyManagerService'][_0x142919(0x175)](_0x151a0e,_0x45aa66,_0x3e28d1),_0x3e654e=(_0x288dd8=_0x205d5a==null?void 0x0:_0x205d5a[_0x142919(0x1b5)](0x0,0x0))!=null?_0x288dd8:u['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x5bb030=new u[(_0x142919(0x143))](_0x3e654e);for(let _0x448dea=0x0;_0x448dea<_0x3afb16[_0x142919(0x1c6)];_0x448dea++){const _0x13abe4=_0x3afb16[_0x448dea],{startRow:_0x4c2508,startColumn:_0x1f290a,endRow:_0x5185bc,endColumn:_0x51ed87}=_0x13abe4;for(let _0x16c810=_0x4c2508;_0x16c810<=_0x5185bc;_0x16c810++)for(let _0x319a84=_0x1f290a;_0x319a84<=_0x51ed87;_0x319a84++){const _0x1d81cf=_0x319a84-_0x34fbf7,_0x14df19=_0x16c810-_0x12a83f;if(_0x1d81cf===0x0&&_0x14df19===0x0){_0x5bb030[_0x142919(0x155)]=_0x321e06,_0x5bb030[_0x142919(0x147)]=_0x151a0e,_0x5bb030[_0x142919(0x1c8)]=_0x45aa66,_0x5bb030[_0x142919(0x191)]=_0x3e28d1,_0x5bb030[_0x142919(0x145)]=u[_0x142919(0x1b6)][_0x142919(0x1a9)],_0x5bb030['isCache']=_0x480932,_0x3abb83[_0x142919(0x148)](_0x5bb030),this[_0x142919(0x1db)]['set'](_0x5bb030['treeId'],_0x5bb030),this[_0x142919(0x160)][_0x142919(0x185)](_0x151a0e,_0x45aa66,_0x3e28d1,_0x5bb030),this[_0x142919(0x160)][_0x142919(0x18b)](_0x5bb030);continue;}const _0x46751e=new u[(_0x142919(0x13c))]();_0x46751e[_0x142919(0x1e5)]=(_0x205d5a==null?void 0x0:_0x205d5a['getValue'](_0x1d81cf,_0x14df19))||u[_0x142919(0x137)](this['_dependencyManagerService']),_0x46751e[_0x142919(0x1bf)]=_0x5bb030,_0x46751e['refOffsetX']=_0x1d81cf,_0x46751e[_0x142919(0x1a0)]=_0x14df19,_0x46751e[_0x142919(0x1c7)]=_0x480932,this[_0x142919(0x160)]['addOtherFormulaDependency'](_0x151a0e,_0x45aa66,_0x3e28d1,_0x46751e),this['_dependencyManagerService'][_0x142919(0x18b)](_0x46751e),_0x3abb83[_0x142919(0x148)](_0x46751e),this[_0x142919(0x1db)][_0x142919(0x1e7)](_0x46751e[_0x142919(0x1e5)],_0x46751e);}}this[_0x142919(0x160)]['addOtherFormulaDependencyMainData'](_0x3e28d1);}}}}[_0x53eb8f(0x1af)](_0x597e7d,_0x43e9f7,_0x3bc6d2,_0x24045b){const _0x354617=_0x53eb8f;for(const _0x46e9e0 of _0x597e7d){const _0x529bc5=_0x43e9f7[_0x46e9e0];if(_0x529bc5==null)continue;const _0x514303=Object[_0x354617(0x14d)](_0x529bc5);for(const _0x15f390 of _0x514303){const _0x4ac9cb=new V[(_0x354617(0x1cd))](_0x529bc5[_0x15f390]||{}),_0x1622e2=new Map();_0x4ac9cb[_0x354617(0x197)]((_0x3be531,_0x49c2b5,_0x5e0c1c)=>{const _0x20fc97=_0x354617;if(_0x5e0c1c==null)return!0x0;const {x:_0x41f135=0x0,y:_0x570160=0x0,si:_0x31d286}=_0x5e0c1c;if(!(_0x41f135===0x0&&_0x570160===0x0&&_0x31d286!=null))return!0x0;const _0x2dca3e=this[_0x20fc97(0x1d6)](_0x46e9e0,_0x15f390,_0x3be531,_0x49c2b5,_0x3bc6d2,_0x5e0c1c),_0x243950=this[_0x20fc97(0x160)][_0x20fc97(0x144)](_0x46e9e0,_0x15f390,_0x3be531,_0x49c2b5);_0x243950!=null?_0x2dca3e['treeId']=_0x243950:(this[_0x20fc97(0x160)][_0x20fc97(0x16b)](_0x46e9e0,_0x15f390,_0x3be531,_0x49c2b5,_0x2dca3e),this['_dependencyManagerService'][_0x20fc97(0x18b)](_0x2dca3e)),_0x1622e2['set'](_0x31d286,_0x2dca3e),_0x24045b[_0x20fc97(0x148)](_0x2dca3e),this[_0x20fc97(0x1db)][_0x20fc97(0x1e7)](_0x2dca3e[_0x20fc97(0x1e5)],_0x2dca3e);}),_0x4ac9cb[_0x354617(0x197)]((_0x15d932,_0x544083,_0x4dadbe)=>{const _0x3632e2=_0x354617;if(_0x4dadbe==null)return!0x0;const {x:_0x2c5dbd=0x0,y:_0x97bd8f=0x0,si:_0x15db12}=_0x4dadbe;if(_0x2c5dbd===0x0&&_0x97bd8f===0x0&&_0x15db12!=null)return!0x0;let _0x457d53;if(_0x15db12&&_0x1622e2[_0x3632e2(0x1ae)](_0x15db12)){const _0xa9b860=_0x1622e2[_0x3632e2(0x164)](_0x15db12);_0x457d53=this['_createVirtualFDtree'](_0xa9b860,_0x4dadbe);}else _0x457d53=this[_0x3632e2(0x1d6)](_0x46e9e0,_0x15f390,_0x15d932,_0x544083,_0x3bc6d2,_0x4dadbe);const _0x4c4f01=this[_0x3632e2(0x160)][_0x3632e2(0x144)](_0x46e9e0,_0x15f390,_0x15d932,_0x544083);_0x4c4f01!=null?_0x457d53[_0x3632e2(0x1e5)]=_0x4c4f01:(this['_dependencyManagerService'][_0x3632e2(0x16b)](_0x46e9e0,_0x15f390,_0x15d932,_0x544083,_0x457d53),this[_0x3632e2(0x160)][_0x3632e2(0x18b)](_0x457d53)),_0x24045b['push'](_0x457d53),this['_dependencyTreeCache'][_0x3632e2(0x1e7)](_0x457d53[_0x3632e2(0x1e5)],_0x457d53);}),_0x1622e2['clear']();}}}[_0x53eb8f(0x1d6)](_0x155414,_0x3166bc,_0x17325c,_0x2ec6df,_0x576f0c,_0x4366a3){const _0x555832=_0x53eb8f,{f:_0x10a1ef,x:_0x282f46=0x0,y:_0x43eba8=0x0}=_0x4366a3,_0x5d7fb9=new u[(_0x555832(0x143))](u[_0x555832(0x137)](this['_dependencyManagerService'])),_0x499ad7=_0x576f0c[_0x155414][_0x3166bc];return _0x5d7fb9[_0x555832(0x155)]=_0x10a1ef,_0x5d7fb9[_0x555832(0x147)]=_0x155414,_0x5d7fb9[_0x555832(0x1c8)]=_0x3166bc,_0x5d7fb9['row']=_0x17325c,_0x5d7fb9[_0x555832(0x141)]=_0x2ec6df,_0x5d7fb9[_0x555832(0x14e)]=_0x499ad7[_0x555832(0x14e)],_0x5d7fb9[_0x555832(0x1c4)]=_0x499ad7['columnCount'],_0x5d7fb9;}[_0x53eb8f(0x1a2)](){const _0x558561=_0x53eb8f,_0x3f21c6=[],_0x703cd6=new Set(),_0x153954=this[_0x558561(0x1a1)]['isForceCalculate'](),_0x447f32=this[_0x558561(0x1a1)][_0x558561(0x1ce)](),_0x1b893b=this[_0x558561(0x160)][_0x558561(0x178)](_0x447f32),_0x45939b=this[_0x558561(0x179)]['bulkSearch'](_0x447f32);for(const _0x1d848c of _0x45939b)_0x1b893b[_0x558561(0x139)](_0x1d848c);for(const [_0x5ee9ca,_0x2a3824]of this[_0x558561(0x1db)])(_0x153954||_0x2a3824[_0x558561(0x1e3)]||_0x2a3824[_0x558561(0x152)](this['_currentConfigService'][_0x558561(0x1ac)]())||_0x1b893b[_0x558561(0x1ae)](_0x5ee9ca)&&!_0x2a3824[_0x558561(0x192)](this[_0x558561(0x1a1)][_0x558561(0x1da)]()))&&!_0x703cd6[_0x558561(0x1ae)](_0x5ee9ca)&&(_0x3f21c6[_0x558561(0x148)](_0x2a3824),_0x703cd6[_0x558561(0x139)](_0x5ee9ca));for(const [_0x479c90,_0x591452]of this[_0x558561(0x1db)])_0x591452['isVirtual']||(_0x591452[_0x558561(0x16a)][_0x558561(0x1c6)]=0x0);return _0x3f21c6;}[_0x53eb8f(0x171)](_0x1115a3){const _0x54a89d=_0x53eb8f;return this['_dependencyTreeCache'][_0x54a89d(0x164)](_0x1115a3);}[_0x53eb8f(0x17a)](_0x2ed77a){const _0x35d228=_0x53eb8f;return u[_0x35d228(0x1c0)](_0x2ed77a[_0x35d228(0x147)],_0x2ed77a[_0x35d228(0x155)],this[_0x35d228(0x15e)],this[_0x35d228(0x161)],this[_0x35d228(0x1a1)]);}*['_traverse'](_0x5c8d97,_0x87612f){const _0x5adfca=_0x53eb8f,_0x948530=_0x5c8d97,_0x1aa1f4=new Set();for(;_0x948530[_0x5adfca(0x1c6)]>0x0;){const _0x4651f9=_0x948530[_0x5adfca(0x1e4)]();if(_0x1aa1f4[_0x5adfca(0x1e8)](),_0x4651f9===void 0x0||_0x4651f9[_0x5adfca(0x172)]())continue;if(_0x4651f9[_0x5adfca(0x1e9)]()){yield _0x4651f9,_0x4651f9[_0x5adfca(0x1ad)](),_0x87612f['add'](_0x4651f9[_0x5adfca(0x1e5)]);continue;}const _0x20f2d8=this['_dependencyManagerService'][_0x5adfca(0x178)](_0x4651f9['toRTreeItem'](),_0x87612f),_0x43586a=this[_0x5adfca(0x179)]['bulkSearch'](_0x4651f9[_0x5adfca(0x1bd)](),_0x87612f);for(const _0x36c011 of _0x43586a)_0x20f2d8['add'](_0x36c011);for(const _0x243e7e of _0x20f2d8){const _0x528d25=this['_dependencyTreeCache'][_0x5adfca(0x164)](_0x243e7e);if(!_0x528d25)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x528d25[_0x5adfca(0x1e9)]()||_0x4651f9[_0x5adfca(0x172)]()||_0x1aa1f4['add'](_0x528d25);}if(_0x20f2d8['clear'](),_0x1aa1f4[_0x5adfca(0x1d5)]===0x0)yield _0x4651f9,_0x4651f9[_0x5adfca(0x1ad)](),_0x87612f['add'](_0x4651f9[_0x5adfca(0x1e5)]);else{_0x4651f9[_0x5adfca(0x1b1)](),_0x948530[_0x5adfca(0x148)](_0x4651f9);for(const _0x183b44 of _0x1aa1f4)_0x948530[_0x5adfca(0x148)](_0x183b44);}}_0x948530['length']=0x0,_0x1aa1f4[_0x5adfca(0x1e8)]();}[_0x53eb8f(0x173)](_0x355aee){const _0x5c62f1=_0x53eb8f,_0x452c1f=[],_0x598591=new Set();for(const _0x134b09 of this[_0x5c62f1(0x198)](_0x355aee,_0x598591))_0x452c1f[_0x5c62f1(0x148)](_0x134b09);return _0x452c1f;}}class K extends u[_0x53eb8f(0x1cc)]{async[_0x53eb8f(0x188)](_0x4c0d77=!0x1){const _0x587af1=_0x53eb8f;_0x4c0d77?this[_0x587af1(0x16c)]['setFormulaExecuteStage'](u[_0x587af1(0x184)][_0x587af1(0x1dc)]):this[_0x587af1(0x16c)]['setFormulaExecuteStage'](u[_0x587af1(0x184)][_0x587af1(0x182)]),this[_0x587af1(0x133)]['next'](this[_0x587af1(0x16c)][_0x587af1(0x138)]());const _0x48fc30=await this[_0x587af1(0x134)][_0x587af1(0x18a)](),_0x422728=this['_interpreter'];_0x4c0d77?(this[_0x587af1(0x16c)][_0x587af1(0x14f)](u['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x587af1(0x1cb)](_0x48fc30[_0x587af1(0x1c6)])):(this[_0x587af1(0x16c)]['setFormulaExecuteStage'](u['FormulaExecuteStageType']['START_CALCULATION']),this[_0x587af1(0x16c)][_0x587af1(0x17b)](_0x48fc30[_0x587af1(0x1c6)])),this[_0x587af1(0x133)]['next'](this[_0x587af1(0x16c)]['getRuntimeState']());let _0x1942b4=[];const _0x18b413=this[_0x587af1(0x1eb)][_0x587af1(0x13d)](u[_0x587af1(0x142)]),_0x337aa2=(_0x18b413==null?void 0x0:_0x18b413[_0x587af1(0x14a)])||u[_0x587af1(0x150)];let _0x2e2984=0x0;const _0x205ed2=_0x48fc30['length'];for(;_0x48fc30[_0x587af1(0x1c6)]>0x0;){const _0x3d87c2=_0x48fc30[_0x587af1(0x1e4)](),_0x3c751d={'node':u[_0x587af1(0x1c0)](_0x3d87c2[_0x587af1(0x147)],_0x3d87c2[_0x587af1(0x155)],this[_0x587af1(0x15e)],this[_0x587af1(0x161)],this[_0x587af1(0x1a1)]),'refOffsetX':_0x3d87c2['refOffsetX'],'refOffsetY':_0x3d87c2[_0x587af1(0x1a0)]},_0x4adfc4=_0x3d87c2[_0x587af1(0x1b7)];if(_0x2e2984%_0x337aa2===0x0&&(await new Promise(_0x5673d9=>{const _0x558e7d=V['requestImmediateMacroTask'](_0x5673d9);_0x1942b4['push'](_0x558e7d);}),_0x4c0d77?(this['_runtimeService'][_0x587af1(0x14f)](u[_0x587af1(0x184)][_0x587af1(0x1c2)]),this[_0x587af1(0x16c)][_0x587af1(0x170)](_0x2e2984+0x1)):(this[_0x587af1(0x16c)][_0x587af1(0x14f)](u[_0x587af1(0x184)]['CURRENTLY_CALCULATING']),this[_0x587af1(0x16c)][_0x587af1(0x1c5)](_0x2e2984+0x1)),this[_0x587af1(0x133)][_0x587af1(0x151)](this['_runtimeService'][_0x587af1(0x138)]()),this['_runtimeService'][_0x587af1(0x18f)]()||_0x3c751d==null&&_0x4adfc4==null)){this['_runtimeService'][_0x587af1(0x14f)](u['FormulaExecuteStageType'][_0x587af1(0x13a)]),this['_runtimeService'][_0x587af1(0x1b4)](),this[_0x587af1(0x189)][_0x587af1(0x151)](this[_0x587af1(0x16c)][_0x587af1(0x15c)]());return;}this[_0x587af1(0x16c)][_0x587af1(0x19e)](_0x3d87c2['row'],_0x3d87c2[_0x587af1(0x141)],_0x3d87c2[_0x587af1(0x14e)],_0x3d87c2['columnCount'],_0x3d87c2[_0x587af1(0x1c8)],_0x3d87c2[_0x587af1(0x147)]);let _0xbaf1f4;if(_0x4adfc4!=null&&_0x3d87c2[_0x587af1(0x16d)]!=null){const {runtimeCellData:_0x2ce589,dirtyRanges:_0x3deb69}=_0x4adfc4(this[_0x587af1(0x1a1)][_0x587af1(0x1b7)](),this[_0x587af1(0x16c)][_0x587af1(0x15c)]());this[_0x587af1(0x16c)][_0x587af1(0x1d0)](_0x3d87c2['featureId'],_0x2ce589),this[_0x587af1(0x16c)]['setRuntimeFeatureRange'](_0x3d87c2[_0x587af1(0x16d)],_0x3deb69);}else _0x3c751d!=null&&(_0x422728[_0x587af1(0x1b2)](_0x3c751d[_0x587af1(0x136)])?_0xbaf1f4=await _0x422728[_0x587af1(0x1a4)](_0x3c751d):_0xbaf1f4=_0x422728[_0x587af1(0x194)](_0x3c751d),_0x3d87c2[_0x587af1(0x191)]!=null?this['_runtimeService'][_0x587af1(0x1c9)](_0x3d87c2[_0x587af1(0x191)],_0x3d87c2['refOffsetX'],_0x3d87c2[_0x587af1(0x1a0)],_0xbaf1f4):this[_0x587af1(0x16c)][_0x587af1(0x1ea)](_0xbaf1f4));_0x2e2984++;}return _0x1942b4[_0x587af1(0x1ba)](_0x1b8e23=>_0x1b8e23()),_0x1942b4=[],_0x205ed2>0x0?this[_0x587af1(0x16c)][_0x587af1(0x13b)]():_0x4c0d77||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x587af1(0x16c)][_0x587af1(0x15c)]();}}class B extends u['DependencyManagerBaseService']{constructor(){const _0x84d84a=_0x53eb8f;super(...arguments),S(this,_0x84d84a(0x174),new Map()),S(this,'_dependencyRTreeCache',new V[(_0x84d84a(0x1de))](!0x0));}[_0x53eb8f(0x1e0)](){const _0x5ae524=_0x53eb8f;this['_otherFormulaData'][_0x5ae524(0x1e8)](),this['_featureFormulaData'][_0x5ae524(0x1e8)](),this[_0x5ae524(0x18e)][_0x5ae524(0x1e8)](),this[_0x5ae524(0x17c)][_0x5ae524(0x1e8)](),this[_0x5ae524(0x174)][_0x5ae524(0x1e8)](),this[_0x5ae524(0x1d7)](),this[_0x5ae524(0x1b3)][_0x5ae524(0x1e8)]();}['addOtherFormulaDependency'](_0x1ef383,_0x3e1e88,_0x55a017,_0x3b5bf8){const _0x58cdaf=_0x53eb8f;this[_0x58cdaf(0x1d3)][_0x58cdaf(0x1ae)](_0x1ef383)||this[_0x58cdaf(0x1d3)]['set'](_0x1ef383,new Map());const _0x18e338=this['_otherFormulaData'][_0x58cdaf(0x164)](_0x1ef383);_0x18e338[_0x58cdaf(0x1ae)](_0x3e1e88)||_0x18e338[_0x58cdaf(0x1e7)](_0x3e1e88,new Map());const _0x10b415=_0x18e338[_0x58cdaf(0x164)](_0x3e1e88);_0x10b415['has'](_0x55a017)||_0x10b415[_0x58cdaf(0x1e7)](_0x55a017,new V[(_0x58cdaf(0x1cd))]()),_0x10b415[_0x58cdaf(0x164)](_0x55a017)[_0x58cdaf(0x1d9)](_0x3b5bf8[_0x58cdaf(0x158)],_0x3b5bf8['refOffsetY'],_0x3b5bf8[_0x58cdaf(0x1e5)]);}[_0x53eb8f(0x186)](_0x23341e,_0x5f0a3e,_0x50d79a){const _0x3650fc=_0x53eb8f,_0x141865=this[_0x3650fc(0x1d3)][_0x3650fc(0x164)](_0x23341e);if(_0x141865&&_0x141865['has'](_0x5f0a3e)){const _0x593cc1=_0x141865[_0x3650fc(0x164)](_0x5f0a3e);_0x50d79a[_0x3650fc(0x1ba)](_0x427bd6=>{const _0x3b0735=_0x3650fc,_0x5bdad5=_0x593cc1[_0x3b0735(0x164)](_0x427bd6);_0x5bdad5!=null&&(_0x5bdad5[_0x3b0735(0x197)]((_0x5b0a58,_0x3878fa,_0x361e6b)=>{const _0x37d80a=_0x3b0735;this[_0x37d80a(0x1a8)](_0x361e6b),this[_0x37d80a(0x1df)](_0x361e6b);}),_0x593cc1[_0x3b0735(0x15f)](_0x427bd6),this[_0x3b0735(0x1b3)][_0x3b0735(0x15f)](_0x427bd6));}),_0x593cc1[_0x3650fc(0x1d5)]===0x0&&_0x141865[_0x3650fc(0x15f)](_0x5f0a3e),_0x141865['size']===0x0&&this['_otherFormulaData']['delete'](_0x23341e);}}['clearOtherFormulaDependency'](_0xd17bd2,_0x32b1ba){const _0x97e934=_0x53eb8f,_0x4717e2=this[_0x97e934(0x1d3)][_0x97e934(0x164)](_0xd17bd2);if(_0x32b1ba&&_0x4717e2&&_0x4717e2['has'](_0x32b1ba)){const _0x5199bf=_0x4717e2['get'](_0x32b1ba);this[_0x97e934(0x196)](_0xd17bd2,_0x32b1ba);for(const _0x4ae770 of _0x5199bf['keys']()){const _0x54cfcf=_0x5199bf[_0x97e934(0x164)](_0x4ae770);_0x54cfcf!=null&&(_0x54cfcf['forValue']((_0x1681ad,_0x58f06b,_0x257c85)=>{const _0xa21993=_0x97e934;this[_0xa21993(0x174)][_0xa21993(0x164)](_0x257c85)&&this[_0xa21993(0x1df)](_0x257c85);}),this[_0x97e934(0x1b3)][_0x97e934(0x15f)](_0x4ae770));}_0x5199bf[_0x97e934(0x1e8)]();}else{if(_0x4717e2){for(const _0x11e878 of _0x4717e2[_0x97e934(0x14d)]()){const _0xa8a59b=_0x4717e2['get'](_0x11e878);this['_removeDependencyRTreeCacheById'](_0xd17bd2,_0x11e878);for(const _0x33c6f1 of _0xa8a59b[_0x97e934(0x14d)]()){const _0x3ebab0=_0xa8a59b['get'](_0x33c6f1);_0x3ebab0!=null&&(_0x3ebab0[_0x97e934(0x197)]((_0x55114c,_0xa09f45,_0x52c223)=>{const _0x4a0cf7=_0x97e934;this[_0x4a0cf7(0x174)][_0x4a0cf7(0x164)](_0x52c223)&&this[_0x4a0cf7(0x1df)](_0x52c223);}),this[_0x97e934(0x1b3)][_0x97e934(0x15f)](_0x33c6f1));}}this[_0x97e934(0x1d3)][_0x97e934(0x15f)](_0xd17bd2);}}}['addFeatureFormulaDependency'](_0x31bdcc,_0x466f50,_0x1c0a9e,_0x3821e9){const _0x44266d=_0x53eb8f;this[_0x44266d(0x1e1)][_0x44266d(0x1ae)](_0x31bdcc)||this['_featureFormulaData'][_0x44266d(0x1e7)](_0x31bdcc,new Map());const _0x1265db=this['_featureFormulaData']['get'](_0x31bdcc);_0x1265db['has'](_0x466f50)||_0x1265db[_0x44266d(0x1e7)](_0x466f50,new Map()),_0x1265db[_0x44266d(0x164)](_0x466f50)[_0x44266d(0x1e7)](_0x1c0a9e,_0x3821e9[_0x44266d(0x1e5)]);}[_0x53eb8f(0x153)](_0x480d6a,_0x3473a8,_0xb0be07){const _0x29eb73=_0x53eb8f,_0xb3fb16=this[_0x29eb73(0x1e1)][_0x29eb73(0x164)](_0x480d6a);if(_0xb3fb16&&_0xb3fb16[_0x29eb73(0x1ae)](_0x3473a8)){const _0x13ca4d=_0xb3fb16[_0x29eb73(0x164)](_0x3473a8);_0xb0be07[_0x29eb73(0x1ba)](_0x3f83b8=>{const _0x5a4b43=_0x29eb73,_0x5fc80b=_0x13ca4d[_0x5a4b43(0x164)](_0x3f83b8);_0x5fc80b!=null&&(this[_0x5a4b43(0x1a8)](_0x5fc80b),_0x13ca4d[_0x5a4b43(0x15f)](_0x3f83b8),this[_0x5a4b43(0x1df)](_0x5fc80b));});}}[_0x53eb8f(0x13e)](_0x5eccf1,_0xff5ace){const _0x4e2a78=_0x53eb8f,_0xfeeaf8=this['_featureFormulaData'][_0x4e2a78(0x164)](_0x5eccf1);if(_0xff5ace&&_0xfeeaf8&&_0xfeeaf8[_0x4e2a78(0x1ae)](_0xff5ace)){const _0x2720a8=_0xfeeaf8[_0x4e2a78(0x164)](_0xff5ace);this[_0x4e2a78(0x196)](_0x5eccf1,_0xff5ace),_0x2720a8[_0x4e2a78(0x1ba)](_0x375f23=>{const _0x15f7da=_0x4e2a78;_0x375f23!=null&&this[_0x15f7da(0x1df)](_0x375f23);}),_0x2720a8[_0x4e2a78(0x1e8)]();}else _0xfeeaf8&&(_0xfeeaf8[_0x4e2a78(0x1ba)]((_0x458dc1,_0x2a9548)=>{const _0x2dabe=_0x4e2a78;this[_0x2dabe(0x196)](_0x5eccf1,_0x2a9548),_0x458dc1[_0x2dabe(0x1ba)](_0x2f275e=>{const _0x487015=_0x2dabe;_0x2f275e!=null&&this[_0x487015(0x1df)](_0x2f275e);});}),this[_0x4e2a78(0x1e1)]['delete'](_0x5eccf1));}[_0x53eb8f(0x16b)](_0x6b367b,_0x97861f,_0x12a103,_0x5c32c5,_0xeff575){const _0x5deb7d=_0x53eb8f;this[_0x5deb7d(0x18e)][_0x5deb7d(0x1ae)](_0x6b367b)||this['_formulaData']['set'](_0x6b367b,new Map());const _0x518783=this[_0x5deb7d(0x18e)]['get'](_0x6b367b);_0x518783[_0x5deb7d(0x1ae)](_0x97861f)||_0x518783[_0x5deb7d(0x1e7)](_0x97861f,new V[(_0x5deb7d(0x1cd))]()),_0x518783[_0x5deb7d(0x164)](_0x97861f)[_0x5deb7d(0x1d9)](_0x12a103,_0x5c32c5,_0xeff575[_0x5deb7d(0x1e5)]);}[_0x53eb8f(0x169)](_0xb7b487,_0x2f6fdc,_0x47feed,_0x4e4ed9){const _0x29b4e6=_0x53eb8f,_0x102e31=this['_formulaData'][_0x29b4e6(0x164)](_0xb7b487);if(_0x102e31&&_0x102e31[_0x29b4e6(0x1ae)](_0x2f6fdc)){const _0x411ed5=_0x102e31['get'](_0x2f6fdc),_0x187354=_0x411ed5[_0x29b4e6(0x1b5)](_0x47feed,_0x4e4ed9);if(_0x187354==null)return;this[_0x29b4e6(0x1a8)](_0x187354),_0x411ed5[_0x29b4e6(0x193)](_0x47feed,_0x4e4ed9),this['_removeAllTreeMap'](_0x187354);}}[_0x53eb8f(0x19b)](_0x1a4807,_0x44cf42){const _0x184bfc=_0x53eb8f,_0x6e9c2b=this[_0x184bfc(0x18e)][_0x184bfc(0x164)](_0x1a4807);if(_0x44cf42&&_0x6e9c2b&&_0x6e9c2b[_0x184bfc(0x1ae)](_0x44cf42)){const _0x144de8=_0x6e9c2b[_0x184bfc(0x164)](_0x44cf42);this[_0x184bfc(0x196)](_0x1a4807,_0x44cf42),_0x144de8[_0x184bfc(0x197)]((_0x148fe9,_0x3ecfd7,_0x4cca6b)=>{const _0x4bd3c2=_0x184bfc;if(_0x4cca6b==null)return!0x0;this[_0x4bd3c2(0x1df)](_0x4cca6b);}),_0x144de8[_0x184bfc(0x1e0)]();}else _0x6e9c2b&&(_0x6e9c2b[_0x184bfc(0x1ba)]((_0x4db0ec,_0xc56c4f)=>{const _0x5a5654=_0x184bfc;this[_0x5a5654(0x196)](_0x1a4807,_0xc56c4f),_0x4db0ec[_0x5a5654(0x197)]((_0x586497,_0x1c6ad9,_0x35441c)=>{const _0x168d1d=_0x5a5654;if(_0x35441c==null)return!0x0;this[_0x168d1d(0x1df)](_0x35441c);});}),this[_0x184bfc(0x18e)]['delete'](_0x1a4807));}[_0x53eb8f(0x1a8)](_0x24d115){const _0x4bb157=_0x53eb8f;if(_0x24d115==null)return;const _0x313d6c=this[_0x4bb157(0x174)][_0x4bb157(0x164)](_0x24d115);if(_0x313d6c){const _0x706535=[];for(const [_0x3e9653,_0x3f7d49]of _0x313d6c)for(const [_0x592ce8,_0x42fdfc]of _0x3f7d49)_0x706535['push']({'unitId':_0x3e9653,'sheetId':_0x592ce8,'range':_0x42fdfc,'id':_0x24d115});this[_0x4bb157(0x17c)]['bulkRemove'](_0x706535);}}[_0x53eb8f(0x1d4)](_0x463c5a,_0x33c530){const _0x49bbdb=_0x53eb8f,_0x1fcf81=this['_definedNameMap'][_0x49bbdb(0x164)](_0x463c5a);if(_0x1fcf81){const _0x3e6236=_0x1fcf81['get'](_0x33c530);if(_0x3e6236){for(const _0x8a53a of _0x3e6236)this[_0x49bbdb(0x1a8)](_0x8a53a),this[_0x49bbdb(0x1df)](_0x8a53a);_0x3e6236[_0x49bbdb(0x1e8)]();}}}[_0x53eb8f(0x199)](){const _0x261c20=_0x53eb8f;this[_0x261c20(0x17c)]['openKdTree']();}['closeKdTree'](){const _0xba0421=_0x53eb8f;this[_0xba0421(0x17c)][_0xba0421(0x1ec)]();}[_0x53eb8f(0x1df)](_0x179742){const _0x32ee02=_0x53eb8f;_0x179742!=null&&this['_allTreeMap'][_0x32ee02(0x15f)](_0x179742);}[_0x53eb8f(0x1a6)](_0x142de4){const _0x4adf67=_0x53eb8f;var _0x642e38,_0x1b9635;const _0x17d1f5=_0x142de4[_0x4adf67(0x16a)];let _0x1e379c=this[_0x4adf67(0x174)][_0x4adf67(0x164)](_0x142de4[_0x4adf67(0x1e5)]);for(let _0x25f1ec=0x0;_0x25f1ec<_0x17d1f5['length'];_0x25f1ec++){const _0x4892a7=_0x17d1f5[_0x25f1ec];let {unitId:_0x35619a,sheetId:_0xaa2b4a,range:_0x42ba51}=_0x4892a7;_0x1e379c||(_0x1e379c=new Map(),this[_0x4adf67(0x174)][_0x4adf67(0x1e7)](_0x142de4[_0x4adf67(0x1e5)],_0x1e379c)),_0x1e379c[_0x4adf67(0x1ae)](_0x35619a)||_0x1e379c[_0x4adf67(0x1e7)](_0x35619a,new Map());const _0x200881=(_0x642e38=_0x1e379c==null?void 0x0:_0x1e379c[_0x4adf67(0x164)](_0x35619a))==null?void 0x0:_0x642e38['get'](_0xaa2b4a);_0x200881&&(_0x42ba51={'startRow':Math[_0x4adf67(0x14c)](_0x42ba51[_0x4adf67(0x18d)],_0x200881[_0x4adf67(0x18d)]),'startColumn':Math[_0x4adf67(0x14c)](_0x42ba51[_0x4adf67(0x19c)],_0x200881['startColumn']),'endRow':Math[_0x4adf67(0x14b)](_0x42ba51[_0x4adf67(0x135)],_0x200881[_0x4adf67(0x135)]),'endColumn':Math[_0x4adf67(0x14b)](_0x42ba51['endColumn'],_0x200881[_0x4adf67(0x1b9)])}),(_0x1b9635=_0x1e379c['get'](_0x35619a))==null||_0x1b9635[_0x4adf67(0x1e7)](_0xaa2b4a,_0x42ba51);}}}var j=Object[_0x53eb8f(0x18c)],J=(_0x3ca9b5,_0x52429b,_0x33d113,_0x46dd9a)=>{const _0x342200=_0x53eb8f;for(var _0x5a81f8=_0x46dd9a>0x1?void 0x0:_0x46dd9a?j(_0x52429b,_0x33d113):_0x52429b,_0x5b09a4=_0x3ca9b5[_0x342200(0x1c6)]-0x1,_0xa68f02;_0x5b09a4>=0x0;_0x5b09a4--)(_0xa68f02=_0x3ca9b5[_0x5b09a4])&&(_0x5a81f8=_0xa68f02(_0x5a81f8)||_0x5a81f8);return _0x5a81f8;};const q=Number[_0x53eb8f(0x1cf)](0x68a81e32);exports['UniverProFormulaEnginePlugin']=class extends u[_0x53eb8f(0x187)]{[_0x53eb8f(0x165)](){const _0x29ef2b=_0x53eb8f;var _0x25c9e5,_0x496ffe;this[_0x29ef2b(0x1b8)]()?(_0x25c9e5=this[_0x29ef2b(0x1c3)])!=null&&_0x25c9e5['notExecuteFormula']||[[u[_0x29ef2b(0x162)],{'useClass':K}],[u[_0x29ef2b(0x15b)],{'useClass':B}],[u[_0x29ef2b(0x17f)],{'useClass':W}]][_0x29ef2b(0x1ba)](_0x1b861a=>this[_0x29ef2b(0x1bb)][_0x29ef2b(0x139)](_0x1b861a)):(_0x496ffe=this[_0x29ef2b(0x1c3)])!=null&&_0x496ffe[_0x29ef2b(0x15a)]||[[u[_0x29ef2b(0x162)],{'useClass':u['CalculateFormulaService']}],[u['IDependencyManagerService'],{'useClass':u[_0x29ef2b(0x154)]}],[u[_0x29ef2b(0x17f)],{'useClass':u['FormulaDependencyGenerator']}]][_0x29ef2b(0x1ba)](_0x25618a=>this[_0x29ef2b(0x1bb)]['add'](_0x25618a));}['_initLicenseValid'](){const _0x20b342=_0x53eb8f;var _0x3c49ee;const _0x4d5b8e=(_0x3c49ee=this[_0x20b342(0x1eb)][_0x20b342(0x13d)](v[_0x20b342(0x156)]))!=null?_0x3c49ee:{},{ls:_0x2bce99,pbk:_0x1db2eb}=_0x4d5b8e;if(!_0x2bce99||!_0x1db2eb)return!0x1;const _0x4e2381=v['unshiftString'](k,b),_0x2cd7ca=new Function(_0x20b342(0x1c1)+_0x4e2381)()(_0x2bce99,_0x1db2eb),_0x529b40=_0x2cd7ca[_0x20b342(0x16e)];return _0x2cd7ca['valid']&&v[_0x20b342(0x1d2)](_0x529b40,'sf',q)?v[_0x20b342(0x1a5)](_0x529b40,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x53eb8f(0x166)]=J([V[_0x53eb8f(0x140)](v[_0x53eb8f(0x19a)])],exports[_0x53eb8f(0x166)]),Object[_0x53eb8f(0x14d)](u)[_0x53eb8f(0x1ba)](_0xfce333=>{const _0x344167=_0x53eb8f;_0xfce333!==_0x344167(0x180)&&!Object[_0x344167(0x176)][_0x344167(0x19d)][_0x344167(0x1a7)](exports,_0xfce333)&&Object[_0x344167(0x168)](exports,_0xfce333,{'enumerable':!0x0,'get':()=>u[_0xfce333]});});
|
|
1
|
+
'use strict';const _0x541354=_0x4237;(function(_0x24142d,_0xa72923){const _0x40c85d=_0x4237,_0x1b5f53=_0x24142d();while(!![]){try{const _0x1fee85=-parseInt(_0x40c85d(0x20a))/0x1*(parseInt(_0x40c85d(0x1a6))/0x2)+parseInt(_0x40c85d(0x234))/0x3*(parseInt(_0x40c85d(0x252))/0x4)+parseInt(_0x40c85d(0x1cb))/0x5*(-parseInt(_0x40c85d(0x1cd))/0x6)+-parseInt(_0x40c85d(0x243))/0x7*(-parseInt(_0x40c85d(0x204))/0x8)+-parseInt(_0x40c85d(0x225))/0x9*(-parseInt(_0x40c85d(0x250))/0xa)+-parseInt(_0x40c85d(0x1ea))/0xb*(-parseInt(_0x40c85d(0x1b3))/0xc)+-parseInt(_0x40c85d(0x24c))/0xd;if(_0x1fee85===_0xa72923)break;else _0x1b5f53['push'](_0x1b5f53['shift']());}catch(_0x168f48){_0x1b5f53['push'](_0x1b5f53['shift']());}}}(_0x3202,0x85ebf));var b=Object[_0x541354(0x1ca)],N=(_0x5bbdf9,_0xc9b20c,_0x2a9211)=>_0xc9b20c in _0x5bbdf9?b(_0x5bbdf9,_0xc9b20c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a9211}):_0x5bbdf9[_0xc9b20c]=_0x2a9211,R=(_0x5bf6e8,_0x14ffa7,_0x15043d)=>N(_0x5bf6e8,typeof _0x14ffa7!=_0x541354(0x217)?_0x14ffa7+'':_0x14ffa7,_0x15043d);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x541354(0x21b)});function _0x3202(){const _0x4e5d80=['_registerOtherFormulas','l7parqup\x20vEaGt1rqup(3qaEpBE,\x201703qaAEt)\x20{\x20\x20\x20\x20rGt\x20{\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x203qaEpBE5pluX6GrFGG6t\x20=\x203qaEpBE.B13qr(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20uGqDqpTEBB6DE\x20=\x20jIPk.16GBE(6ru0(3qaEpBE5pluX6GrFGG6t[e]));\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!uGqDqpTEBB6DE.7v)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uGqDqpTEBB6DE.7v\x20=\x20k7z0EG(3qaEpBE5pluX6GrFGG6t[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20qBSuGnEG\x20=\x20rt1Eul\x20SuGnEG23u063Iau1E\x20!==\x20\x277pvElqpEv\x27\x20&&\x20BE3l\x20qpBr6paEul\x20SuGnEG23u063Iau1E;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20auprEQr\x20=\x20qBSuGnEG\x20?\x20BE3l\x20:\x20gqpvug;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[e]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(zEBB6DESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[f]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(BqDp6r7GESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDps63qv\x20=\x20auprEQr.__9EGqlt__(BqDp6r7GE,\x20zEBB6DE,\x201703qaAEt);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20vuz6qp\x20=\x20uGqDqpTEBB6DE.vz;\x20\x20\x20\x20\x20\x20\x20\x20l7parqup\x20qBYuz6qpT6raRqpD(uX6rrEGp,\x20uHuBr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGp\x20=\x20uX6rrEGp.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBr\x20=\x20uHuBr.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpX6GrB\x20=\x2016rrEGp.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrX6GrB\x20=\x20RuBr.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!16rrEGp.qpa37vEB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGp\x20===\x20RuBr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(16rrEGpX6GrB.3EpDrR\x20<\x20e\x20||\x2016rrEGpX6GrB[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20l63BE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpI7llqQ\x20=\x2016rrEGpX6GrB.B3qaE(d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrI7llqQ\x20=\x20RuBrX6GrB.B3qaE(-16rrEGpX6GrB.3EpDrR\x20+\x20d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGpI7llqQ\x20===\x20RuBrI7llqQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203Er\x20vuz6qps63qv\x20=\x20(vuz6qp\x20&&\x20vuz6qp.3EpDrR)\x20?\x20vuz6qp.BuzE((vz5rEz)\x20=>\x20qBYuz6qpT6raRqpD(vz5rEz,\x203ua6rqup.RuBrp6zE))\x20:\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(3ua6rqup.RuBrp6zE\x20===\x20\x273ua63RuBr\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vuz6qps63qv\x20=\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20963qv\x20=\x20BqDps63qv\x20&&\x20vuz6qps63qv;\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20uGqDqpTEBB6DE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a6raR\x20(EGGuG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv:\x20l63BE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','isCache','subUnitId','node','_traverse','defineProperty','5ATVIHg','formula','3349842rCAuoq','max','toRTreeItem','_checkIsCycleDependency','notExecuteFormula','IDependencyManagerService','rowCount','FormulaExecuteStageType','getOtherFormulaData','getDirtyData','dispose','searchDependency','isForceCalculate','isAdded','getSheetFeatureLimit','RTree','_currentConfigService','resolve','columnCount','OTHER_FORMULA','setAdded','length','treeId','START_CALCULATION_ARRAY_FORMULA','_runtimeService','setTotalFormulasToCalculate','size','setValue','getUnitData','1985401DoFQUf','forEach','_getTreeById','_updateRangeFlatten','isFeatureAuthorizedWithinTime','default','_dependencyManagerService','getConfig','CURRENTLY_CALCULATING','featureId','unitId','_otherFormulaManagerService','generate','ObjectMatrix','generateAstNode','_config','markedAsNoFunctionsExecuted','call','get','min','prototype','setCompletedArrayFormulasCount','_removeDependencyRTreeCache','_executionInProgressListener$','dependencySheetName','addFeatureFormulaDependency','8aEhlNt','FormulaDependencyTree','markedAsSuccessfullyExecuted','_otherFormulaDataMainData','UniverProFormulaEnginePlugin','_getFirstCellOfRange','1HQwCJF','removeFeatureFormulaDependency','clear','_calculateRunList','rangeList','getValue','_addAllTreeMap','bulkSearch','_initLicenseValid','IDLE','setRuntimeData','bulkRemove','setRuntimeFeatureRange','symbol','startColumn','message','_getTreeNode','Module','CalculateFormulaService','next','_getUpdateTreeListAndMakeDependency','addOtherFormulaDependency','getAllRuntimeData','_interpreter','setFormulaExecuteStage','ICalculateFormulaService','_generateTreeList','882bVCYmR','isVirtual','_dependencyRTreeCache','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','delete','markedAsStopFunctionsExecuted','closeKdTree','getOtherFormulaDependency','_dependencyTreeCache','row','startRow','add','_isCyclicUtilMap','column','hasOtherFormulaDataMainData','11103DfuqqL','_astTreeBuilder','_createVirtualFDtree','FormulaDependencyGenerator','keys','_otherFormulaData','removeOtherFormulaDependency','_getFeatureFormulaTree','endRow','_lexer','getFeatureFormulaDependency','getFormulaDependency','openKdTree','_removeDependencyRTreeCacheById','parseInt','6297921HjjPto','refOffsetY','push','executeAsync','endColumn','realDeleteValue','DependentOn','getClearDependencyTreeCache','UniverLicensePlugin','23190934cACRhR','forValue','has','isStopExecution','51830annQnu','clearFormulaDependency','1084vDguIm','getRuntimeState','set','_definedNameMap','_injector','isSkip','_allTreeMap','_dependencyRTreeCacheForAddressFunction','IFormulaDependencyGenerator','addFormulaDependencyByDefinedName','type','UniverFormulaEnginePlugin','requestImmediateMacroTask','dirtyRanges','getDirtyNameMap','clearOtherFormulaDependency','setTotalArrayFormulasToCalculate','clearFeatureFormulaDependency','844590XKGNSh','checkAsyncNode','_convertDirtyRangesToUnitRange','setCompletedFormulasCount','setRuntimeFeatureCellData','getExcludedRange','return\x20','setCurrent','formulaId','generateRandomDependencyTreeId','setSkip','_configService','_createFDtree','60tQyuTL','addFormulaDependency','START_CALCULATION','_initializeWithOverride','_featureFormulaData','DependencyManagerBaseService','reset','unshiftString','_removeAllTreeMap','isExcludeRange','isDirty','START_DEPENDENCY','refOffsetX','pop','addOtherFormulaDependencyMainData','_formulaData','FormulaDependencyTreeType'];_0x3202=function(){return _0x4e5d80;};return _0x3202();}const C=require('@univerjs-pro/license'),S=require('@univerjs/core'),l=require('@univerjs/engine-formula'),P={0x0:'b',0x1:'p',0x2:'G',0x3:'l',0x4:'C',0x5:'I',0x6:'a',0x7:'u',0x8:'7',0x9:'v','W':'0','d':'1','e':'2','f':'3','h':'4','L':'5','O':'6','C':'8','Z':'9','a':'c','v':'d','E':'e','l':'f','D':'g','R':'h','q':'i','y':'j','n':'k','z':'m','p':'n','u':'o','M':'q','G':'r','B':'s','r':'t','g':'w','Q':'x','t':'y','o':'z','F':'A','b':'B','Y':'D','J':'E','U':'F','H':'H','j':'J','A':'K','N':'L','T':'M','k':'N','P':'O','X':'P','m':'Q','K':'R','I':'S','w':'T','V':'U','s':'V','S':'W','i':'X','c':'Y','x':'Z'},z=_0x541354(0x1c5);function _0x4237(_0x53a55f,_0x5333d7){const _0x320292=_0x3202();return _0x4237=function(_0x42379b,_0x8d976c){_0x42379b=_0x42379b-0x19e;let _0x53630f=_0x320292[_0x42379b];return _0x53630f;},_0x4237(_0x53a55f,_0x5333d7);}class k extends l['FormulaDependencyGenerator']{constructor(){super(...arguments),R(this,'_dependencyTreeCache',new Map());}[_0x541354(0x1d7)](){const _0x358c62=_0x541354;super[_0x358c62(0x1d7)](),this[_0x358c62(0x22d)][_0x358c62(0x20c)]();}async['generate'](){const _0x1b9be0=_0x541354;this[_0x1b9be0(0x1ed)]();const _0x3a23f4=this['_currentConfigService']['getFormulaData'](),_0x3deb79=this[_0x1b9be0(0x1f5)][_0x1b9be0(0x1d5)](),_0x41fc09=this[_0x1b9be0(0x1dd)][_0x1b9be0(0x24a)]();_0x41fc09!=null&&Object[_0x1b9be0(0x238)](_0x41fc09)[_0x1b9be0(0x1eb)](_0x530785=>{const _0x35a5f7=_0x1b9be0;_0x530785!=null&&Object['keys'](_0x41fc09[_0x530785])[_0x35a5f7(0x1eb)](_0x1b1168=>{const _0x39e60a=_0x35a5f7;_0x1b1168!=null&&(this[_0x39e60a(0x1f0)][_0x39e60a(0x1a3)](_0x530785,_0x1b1168),this['_dependencyManagerService']['clearFeatureFormulaDependency'](_0x530785,_0x1b1168),this['_dependencyManagerService'][_0x39e60a(0x251)](_0x530785,_0x1b1168));});});const _0x30cb8f=this[_0x1b9be0(0x1dd)][_0x1b9be0(0x1e9)]();await this[_0x1b9be0(0x224)](_0x3a23f4,_0x3deb79,_0x30cb8f),this['_dependencyManagerService'][_0x1b9be0(0x240)]();const _0x5b6920=this[_0x1b9be0(0x21e)](),_0x35572a=this[_0x1b9be0(0x20d)](_0x5b6920);return this[_0x1b9be0(0x1d0)](_0x35572a)&&this[_0x1b9be0(0x1e5)]['enableCycleDependency'](),this[_0x1b9be0(0x22d)][_0x1b9be0(0x20c)](),this[_0x1b9be0(0x259)]['clear'](),this[_0x1b9be0(0x1f0)]['closeKdTree'](),Promise[_0x1b9be0(0x1de)](_0x35572a);}[_0x541354(0x231)](_0xbdcad1,_0x2c070e){const _0x3784ef=_0x541354,_0x1e1853=[_0xbdcad1];for(;_0x1e1853['length']>0x0;){const _0x2f87bf=_0x1e1853[_0x1e1853['length']-0x1];if((_0x2c070e[_0x3784ef(0x1fc)](_0x2f87bf)||0x0)===0x0){_0x2c070e['set'](_0x2f87bf,0x1);const _0xf4f246=this['_dependencyTreeCache']['get'](_0x2f87bf);if(_0xf4f246==null){_0x2c070e[_0x3784ef(0x254)](_0x2f87bf,0x2),_0x1e1853[_0x3784ef(0x1c0)]();continue;}const _0x59960e=this[_0x3784ef(0x1f0)][_0x3784ef(0x1d8)](_0xf4f246[_0x3784ef(0x1cf)]());for(const _0x1d372e of _0x59960e){const _0x591a86=_0x2c070e[_0x3784ef(0x1fc)](_0x1d372e)||0x0;if(_0x591a86===0x1)return!0x0;_0x591a86===0x0&&_0x1e1853[_0x3784ef(0x245)](_0x1d372e);}}else _0x2c070e[_0x3784ef(0x254)](_0x2f87bf,0x2),_0x1e1853['pop']();}return!0x1;}[_0x541354(0x1d0)](_0x5846af){const _0x2df9a0=_0x541354,_0x4052d3=new Map();for(const _0xfb51f of _0x5846af)if(!_0x4052d3['has'](_0xfb51f[_0x2df9a0(0x1e3)])&&this[_0x2df9a0(0x231)](_0xfb51f[_0x2df9a0(0x1e3)],_0x4052d3))return!0x0;return _0x4052d3['clear'](),!0x1;}[_0x541354(0x23b)](_0x24a192,_0x2a1a78,_0x166686){const _0x53e06a=_0x541354,{unitId:_0xbfb8ab,subUnitId:_0x27a44e,dependencyRanges:_0x175940,getDirtyData:_0x85bb69}=_0x166686,_0x1f9831=_0x2a1a78||l[_0x53e06a(0x1af)](this['_dependencyManagerService']),_0x5f3037=new l['FormulaDependencyTree'](_0x1f9831);_0x5f3037[_0x53e06a(0x1f4)]=_0xbfb8ab,_0x5f3037['subUnitId']=_0x27a44e,_0x5f3037[_0x53e06a(0x20e)]=_0x175940,_0x5f3037['getDirtyData']=_0x85bb69;const _0x13b506=_0x85bb69(this[_0x53e06a(0x1dd)]['getDirtyData'](),this[_0x53e06a(0x1e5)][_0x53e06a(0x220)]()),_0xe662f2=this[_0x53e06a(0x1a8)](_0x13b506[_0x53e06a(0x1a1)]);return _0x5f3037['featureDirtyRanges']=_0xe662f2,_0x5f3037[_0x53e06a(0x1f3)]=_0x24a192,_0x5f3037[_0x53e06a(0x19e)]=l[_0x53e06a(0x1c3)]['FEATURE_FORMULA'],this[_0x53e06a(0x1f0)][_0x53e06a(0x203)](_0xbfb8ab,_0x27a44e,_0x24a192,_0x5f3037),this[_0x53e06a(0x22d)][_0x53e06a(0x254)](_0x5f3037[_0x53e06a(0x1e3)],_0x5f3037),this[_0x53e06a(0x1f0)][_0x53e06a(0x23e)](_0x166686[_0x53e06a(0x1f4)],_0x166686[_0x53e06a(0x1c7)],_0x24a192)&&(_0x5f3037[_0x53e06a(0x1c6)]=!0x0),_0x5f3037;}[_0x541354(0x1c4)](_0x3f413a,_0x61909,_0x537d46){const _0x5d3c50=_0x541354;var _0x89fcbe;for(const _0x505a1a of _0x61909){const _0x5c54fe=_0x3f413a[_0x505a1a];if(_0x5c54fe==null)continue;const _0x592b14=Object[_0x5d3c50(0x238)](_0x5c54fe);for(const _0x4057c0 of _0x592b14){const _0x6e8931=_0x5c54fe[_0x4057c0];if(_0x6e8931==null)continue;const _0x341668=Object[_0x5d3c50(0x238)](_0x6e8931);for(const _0x1517a1 of _0x341668){const _0x5668f9=this['_dependencyManagerService'][_0x5d3c50(0x233)](_0x1517a1),_0x49ae64=_0x6e8931[_0x1517a1],{f:_0x373246,ranges:_0x1f2a71}=_0x49ae64;let _0x35723f=!0x1;_0x5668f9&&(_0x35723f=!0x0);const {firstRow:_0x479480,firstColumn:_0x5d802b}=this[_0x5d3c50(0x209)](_0x1f2a71),_0x364618=this[_0x5d3c50(0x1f0)][_0x5d3c50(0x22c)](_0x505a1a,_0x4057c0,_0x1517a1),_0x500304=(_0x89fcbe=_0x364618==null?void 0x0:_0x364618['getValue'](0x0,0x0))!=null?_0x89fcbe:l['generateRandomDependencyTreeId'](this[_0x5d3c50(0x1f0)]),_0x1597e7=new l[(_0x5d3c50(0x205))](_0x500304);for(let _0x53a6f5=0x0;_0x53a6f5<_0x1f2a71[_0x5d3c50(0x1e2)];_0x53a6f5++){const _0x97f64e=_0x1f2a71[_0x53a6f5],{startRow:_0x3d5d72,startColumn:_0xd0db9d,endRow:_0x3ef120,endColumn:_0x28b5ee}=_0x97f64e;for(let _0x1577b9=_0x3d5d72;_0x1577b9<=_0x3ef120;_0x1577b9++)for(let _0x5660b7=_0xd0db9d;_0x5660b7<=_0x28b5ee;_0x5660b7++){const _0xd333a4=_0x5660b7-_0x5d802b,_0x31ea03=_0x1577b9-_0x479480;if(_0xd333a4===0x0&&_0x31ea03===0x0){_0x1597e7[_0x5d3c50(0x1cc)]=_0x373246,_0x1597e7['unitId']=_0x505a1a,_0x1597e7[_0x5d3c50(0x1c7)]=_0x4057c0,_0x1597e7[_0x5d3c50(0x1ae)]=_0x1517a1,_0x1597e7[_0x5d3c50(0x19e)]=l[_0x5d3c50(0x1c3)][_0x5d3c50(0x1e0)],_0x1597e7[_0x5d3c50(0x1c6)]=_0x35723f,_0x537d46[_0x5d3c50(0x245)](_0x1597e7),this[_0x5d3c50(0x22d)][_0x5d3c50(0x254)](_0x1597e7[_0x5d3c50(0x1e3)],_0x1597e7),this[_0x5d3c50(0x1f0)]['addOtherFormulaDependency'](_0x505a1a,_0x4057c0,_0x1517a1,_0x1597e7),this[_0x5d3c50(0x1f0)][_0x5d3c50(0x25b)](_0x1597e7);continue;}const _0x205e73=new l['FormulaDependencyTreeVirtual']();_0x205e73['treeId']=(_0x364618==null?void 0x0:_0x364618[_0x5d3c50(0x20f)](_0xd333a4,_0x31ea03))||l[_0x5d3c50(0x1af)](this[_0x5d3c50(0x1f0)]),_0x205e73['refTree']=_0x1597e7,_0x205e73[_0x5d3c50(0x1bf)]=_0xd333a4,_0x205e73[_0x5d3c50(0x244)]=_0x31ea03,_0x205e73['isCache']=_0x35723f,this[_0x5d3c50(0x1f0)][_0x5d3c50(0x21f)](_0x505a1a,_0x4057c0,_0x1517a1,_0x205e73),this[_0x5d3c50(0x1f0)][_0x5d3c50(0x25b)](_0x205e73),_0x537d46[_0x5d3c50(0x245)](_0x205e73),this[_0x5d3c50(0x22d)][_0x5d3c50(0x254)](_0x205e73['treeId'],_0x205e73);}}this[_0x5d3c50(0x1f0)][_0x5d3c50(0x1c1)](_0x1517a1);}}}}['_registerFormulas'](_0x12239e,_0x1b7f42,_0xe76dbf,_0x5c7892){const _0x307f9a=_0x541354;for(const _0x26a308 of _0x12239e){const _0x451392=_0x1b7f42[_0x26a308];if(_0x451392==null)continue;const _0x354494=Object[_0x307f9a(0x238)](_0x451392);for(const _0x406d3f of _0x354494){const _0x85a0c=new S['ObjectMatrix'](_0x451392[_0x406d3f]||{}),_0x285fe=new Map();_0x85a0c[_0x307f9a(0x24d)]((_0x43766d,_0xf45eaa,_0x2e5c67)=>{const _0x88313a=_0x307f9a;if(_0x2e5c67==null)return!0x0;const {x:_0x3d57c5=0x0,y:_0x5179c9=0x0,si:_0x880e28}=_0x2e5c67;if(!(_0x3d57c5===0x0&&_0x5179c9===0x0&&_0x880e28!=null))return!0x0;const _0x181ca1=this[_0x88313a(0x1b2)](_0x26a308,_0x406d3f,_0x43766d,_0xf45eaa,_0xe76dbf,_0x2e5c67),_0x15b1bc=this[_0x88313a(0x1f0)][_0x88313a(0x23f)](_0x26a308,_0x406d3f,_0x43766d,_0xf45eaa);_0x15b1bc!=null?_0x181ca1['treeId']=_0x15b1bc:(this[_0x88313a(0x1f0)][_0x88313a(0x1b4)](_0x26a308,_0x406d3f,_0x43766d,_0xf45eaa,_0x181ca1),this['_dependencyManagerService'][_0x88313a(0x25b)](_0x181ca1)),_0x285fe['set'](_0x880e28,_0x181ca1),_0x5c7892['push'](_0x181ca1),this['_dependencyTreeCache'][_0x88313a(0x254)](_0x181ca1[_0x88313a(0x1e3)],_0x181ca1);}),_0x85a0c[_0x307f9a(0x24d)]((_0x3dfd54,_0xe7375a,_0x192b3f)=>{const _0x369573=_0x307f9a;if(_0x192b3f==null)return!0x0;const {x:_0x5695dd=0x0,y:_0x185362=0x0,si:_0x25b9aa}=_0x192b3f;if(_0x5695dd===0x0&&_0x185362===0x0&&_0x25b9aa!=null)return!0x0;let _0x4331e2;if(_0x25b9aa&&_0x285fe[_0x369573(0x24e)](_0x25b9aa)){const _0x1253fa=_0x285fe[_0x369573(0x1fc)](_0x25b9aa);_0x4331e2=this[_0x369573(0x236)](_0x1253fa,_0x192b3f);}else _0x4331e2=this[_0x369573(0x1b2)](_0x26a308,_0x406d3f,_0x3dfd54,_0xe7375a,_0xe76dbf,_0x192b3f);const _0x591e6c=this[_0x369573(0x1f0)][_0x369573(0x23f)](_0x26a308,_0x406d3f,_0x3dfd54,_0xe7375a);_0x591e6c!=null?_0x4331e2[_0x369573(0x1e3)]=_0x591e6c:(this[_0x369573(0x1f0)][_0x369573(0x1b4)](_0x26a308,_0x406d3f,_0x3dfd54,_0xe7375a,_0x4331e2),this[_0x369573(0x1f0)]['addFormulaDependencyByDefinedName'](_0x4331e2)),_0x5c7892[_0x369573(0x245)](_0x4331e2),this['_dependencyTreeCache'][_0x369573(0x254)](_0x4331e2[_0x369573(0x1e3)],_0x4331e2);}),_0x285fe[_0x307f9a(0x20c)]();}}}[_0x541354(0x1b2)](_0x406734,_0x2d9f5b,_0x33bd29,_0x5e485e,_0x1daa64,_0x229950){const _0x183e51=_0x541354,{f:_0x52605e,x:_0x32eedd=0x0,y:_0x139619=0x0}=_0x229950,_0x5b899a=new l[(_0x183e51(0x205))](l[_0x183e51(0x1af)](this['_dependencyManagerService'])),_0x5051b6=_0x1daa64[_0x406734][_0x2d9f5b];return _0x5b899a[_0x183e51(0x1cc)]=_0x52605e,_0x5b899a[_0x183e51(0x1f4)]=_0x406734,_0x5b899a[_0x183e51(0x1c7)]=_0x2d9f5b,_0x5b899a[_0x183e51(0x22e)]=_0x33bd29,_0x5b899a[_0x183e51(0x232)]=_0x5e485e,_0x5b899a[_0x183e51(0x1d3)]=_0x5051b6[_0x183e51(0x1d3)],_0x5b899a[_0x183e51(0x1df)]=_0x5051b6[_0x183e51(0x1df)],_0x5b899a;}[_0x541354(0x21e)](){const _0x39ce37=_0x541354,_0x3948ad=[],_0x927199=new Set(),_0x4a7825=this[_0x39ce37(0x1dd)][_0x39ce37(0x1d9)](),_0x274ab4=this[_0x39ce37(0x1dd)]['getDirtyRanges'](),_0x2389df=this[_0x39ce37(0x1f0)]['searchDependency'](_0x274ab4),_0x51be9f=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x274ab4);for(const _0x3bc0b2 of _0x51be9f)_0x2389df[_0x39ce37(0x230)](_0x3bc0b2);for(const [_0xe7d718,_0x5f19b5]of this[_0x39ce37(0x22d)])(_0x4a7825||_0x5f19b5[_0x39ce37(0x1bd)]||_0x5f19b5[_0x39ce37(0x202)](this[_0x39ce37(0x1dd)][_0x39ce37(0x1a2)]())||_0x2389df['has'](_0xe7d718)&&!_0x5f19b5[_0x39ce37(0x1bc)](this[_0x39ce37(0x1dd)][_0x39ce37(0x1ab)]()))&&!_0x927199[_0x39ce37(0x24e)](_0xe7d718)&&(_0x3948ad[_0x39ce37(0x245)](_0x5f19b5),_0x927199[_0x39ce37(0x230)](_0xe7d718));for(const [_0x5f4513,_0xbfa2b8]of this[_0x39ce37(0x22d)])_0xbfa2b8[_0x39ce37(0x226)]||(_0xbfa2b8[_0x39ce37(0x20e)]['length']=0x0);return _0x3948ad;}[_0x541354(0x1ec)](_0x144564){const _0x2ae108=_0x541354;return this[_0x2ae108(0x22d)][_0x2ae108(0x1fc)](_0x144564);}[_0x541354(0x21a)](_0x228e2a){const _0x35b162=_0x541354;return l[_0x35b162(0x1f8)](_0x228e2a[_0x35b162(0x1f4)],_0x228e2a[_0x35b162(0x1cc)],this[_0x35b162(0x23d)],this[_0x35b162(0x235)],this['_currentConfigService']);}*[_0x541354(0x1c9)](_0xc0d5b1,_0x332c6f){const _0x2d8ce3=_0x541354,_0x3e71c2=_0xc0d5b1,_0x148c38=new Set();for(;_0x3e71c2[_0x2d8ce3(0x1e2)]>0x0;){const _0x357c00=_0x3e71c2[_0x2d8ce3(0x1c0)]();if(_0x148c38[_0x2d8ce3(0x20c)](),_0x357c00===void 0x0||_0x357c00[_0x2d8ce3(0x257)]())continue;if(_0x357c00['isAdded']()){yield _0x357c00,_0x357c00['setSkip'](),_0x332c6f[_0x2d8ce3(0x230)](_0x357c00['treeId']);continue;}const _0x2bbf09=this[_0x2d8ce3(0x1f0)][_0x2d8ce3(0x1d8)](_0x357c00[_0x2d8ce3(0x1cf)](),_0x332c6f),_0x24917a=this[_0x2d8ce3(0x259)][_0x2d8ce3(0x211)](_0x357c00[_0x2d8ce3(0x1cf)](),_0x332c6f);for(const _0x3daa24 of _0x24917a)_0x2bbf09[_0x2d8ce3(0x230)](_0x3daa24);for(const _0x73eed4 of _0x2bbf09){const _0x2d0ea7=this['_dependencyTreeCache'][_0x2d8ce3(0x1fc)](_0x73eed4);if(!_0x2d0ea7)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x2d0ea7[_0x2d8ce3(0x1da)]()||_0x357c00['isSkip']()||_0x148c38[_0x2d8ce3(0x230)](_0x2d0ea7);}if(_0x2bbf09['clear'](),_0x148c38[_0x2d8ce3(0x1e7)]===0x0)yield _0x357c00,_0x357c00[_0x2d8ce3(0x1b0)](),_0x332c6f[_0x2d8ce3(0x230)](_0x357c00[_0x2d8ce3(0x1e3)]);else{_0x357c00[_0x2d8ce3(0x1e1)](),_0x3e71c2['push'](_0x357c00);for(const _0x2f132e of _0x148c38)_0x3e71c2[_0x2d8ce3(0x245)](_0x2f132e);}}_0x3e71c2[_0x2d8ce3(0x1e2)]=0x0,_0x148c38[_0x2d8ce3(0x20c)]();}[_0x541354(0x20d)](_0xf7afb5){const _0xe9d5f7=_0x541354,_0x5a7257=[],_0x87b6cd=new Set();for(const _0x4a96e8 of this[_0xe9d5f7(0x1c9)](_0xf7afb5,_0x87b6cd))_0x5a7257[_0xe9d5f7(0x245)](_0x4a96e8);return _0x5a7257;}}class V extends l[_0x541354(0x21c)]{async['_apply'](_0xab1221=!0x1){const _0xf139e7=_0x541354;_0xab1221?this[_0xf139e7(0x1e5)]['setFormulaExecuteStage'](l[_0xf139e7(0x1d4)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xf139e7(0x1e5)][_0xf139e7(0x222)](l['FormulaExecuteStageType'][_0xf139e7(0x1be)]),this[_0xf139e7(0x201)][_0xf139e7(0x21d)](this[_0xf139e7(0x1e5)]['getRuntimeState']());const _0x2ff0cd=await this['_formulaDependencyGenerator'][_0xf139e7(0x1f6)](),_0x3122a3=this[_0xf139e7(0x221)];_0xab1221?(this[_0xf139e7(0x1e5)]['setFormulaExecuteStage'](l['FormulaExecuteStageType'][_0xf139e7(0x1e4)]),this[_0xf139e7(0x1e5)][_0xf139e7(0x1a4)](_0x2ff0cd[_0xf139e7(0x1e2)])):(this['_runtimeService'][_0xf139e7(0x222)](l[_0xf139e7(0x1d4)][_0xf139e7(0x1b5)]),this[_0xf139e7(0x1e5)][_0xf139e7(0x1e6)](_0x2ff0cd['length'])),this[_0xf139e7(0x201)]['next'](this['_runtimeService'][_0xf139e7(0x253)]());let _0xcaa495=[];const _0x162838=this[_0xf139e7(0x1b1)]['getConfig'](l[_0xf139e7(0x228)]),_0x310259=(_0x162838==null?void 0x0:_0x162838['intervalCount'])||l['DEFAULT_INTERVAL_COUNT'];let _0xb9b174=0x0;const _0x4740c6=_0x2ff0cd[_0xf139e7(0x1e2)];for(;_0x2ff0cd[_0xf139e7(0x1e2)]>0x0;){const _0x453105=_0x2ff0cd[_0xf139e7(0x1c0)](),_0x26a961={'node':l[_0xf139e7(0x1f8)](_0x453105['unitId'],_0x453105[_0xf139e7(0x1cc)],this[_0xf139e7(0x23d)],this[_0xf139e7(0x235)],this['_currentConfigService']),'refOffsetX':_0x453105['refOffsetX'],'refOffsetY':_0x453105[_0xf139e7(0x244)]},_0x1cabb7=_0x453105[_0xf139e7(0x1d6)];if(_0xb9b174%_0x310259===0x0&&(await new Promise(_0x3d3192=>{const _0x13c3cb=_0xf139e7,_0x1aa56e=S[_0x13c3cb(0x1a0)](_0x3d3192);_0xcaa495[_0x13c3cb(0x245)](_0x1aa56e);}),_0xab1221?(this[_0xf139e7(0x1e5)][_0xf139e7(0x222)](l[_0xf139e7(0x1d4)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0xf139e7(0x1e5)][_0xf139e7(0x1ff)](_0xb9b174+0x1)):(this[_0xf139e7(0x1e5)][_0xf139e7(0x222)](l[_0xf139e7(0x1d4)][_0xf139e7(0x1f2)]),this[_0xf139e7(0x1e5)][_0xf139e7(0x1a9)](_0xb9b174+0x1)),this[_0xf139e7(0x201)][_0xf139e7(0x21d)](this[_0xf139e7(0x1e5)]['getRuntimeState']()),this['_runtimeService'][_0xf139e7(0x24f)]()||_0x26a961==null&&_0x1cabb7==null)){this[_0xf139e7(0x1e5)][_0xf139e7(0x222)](l[_0xf139e7(0x1d4)][_0xf139e7(0x213)]),this[_0xf139e7(0x1e5)][_0xf139e7(0x22a)](),this['_executionCompleteListener$'][_0xf139e7(0x21d)](this[_0xf139e7(0x1e5)][_0xf139e7(0x220)]());return;}this[_0xf139e7(0x1e5)][_0xf139e7(0x1ad)](_0x453105[_0xf139e7(0x22e)],_0x453105[_0xf139e7(0x232)],_0x453105['rowCount'],_0x453105[_0xf139e7(0x1df)],_0x453105[_0xf139e7(0x1c7)],_0x453105[_0xf139e7(0x1f4)]);let _0x12d6f0;if(_0x1cabb7!=null&&_0x453105[_0xf139e7(0x1f3)]!=null){const {runtimeCellData:_0xaf15e,dirtyRanges:_0x5a59f9}=_0x1cabb7(this['_currentConfigService'][_0xf139e7(0x1d6)](),this[_0xf139e7(0x1e5)][_0xf139e7(0x220)]());this[_0xf139e7(0x1e5)][_0xf139e7(0x1aa)](_0x453105[_0xf139e7(0x1f3)],_0xaf15e),this['_runtimeService'][_0xf139e7(0x216)](_0x453105[_0xf139e7(0x1f3)],_0x5a59f9);}else _0x26a961!=null&&(_0x3122a3[_0xf139e7(0x1a7)](_0x26a961[_0xf139e7(0x1c8)])?_0x12d6f0=await _0x3122a3[_0xf139e7(0x246)](_0x26a961):_0x12d6f0=_0x3122a3['execute'](_0x26a961),_0x453105[_0xf139e7(0x1ae)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x453105[_0xf139e7(0x1ae)],_0x453105[_0xf139e7(0x1bf)],_0x453105[_0xf139e7(0x244)],_0x12d6f0):this[_0xf139e7(0x1e5)][_0xf139e7(0x214)](_0x12d6f0));_0xb9b174++;}return _0xcaa495[_0xf139e7(0x1eb)](_0x465930=>_0x465930()),_0xcaa495=[],_0x4740c6>0x0?this[_0xf139e7(0x1e5)][_0xf139e7(0x206)]():_0xab1221||this[_0xf139e7(0x1e5)][_0xf139e7(0x1fa)](),this['_runtimeService'][_0xf139e7(0x220)]();}}class X extends l[_0x541354(0x1b8)]{constructor(){const _0x3a36f7=_0x541354;super(...arguments),R(this,_0x3a36f7(0x258),new Map()),R(this,'_dependencyRTreeCache',new S[(_0x3a36f7(0x1dc))](!0x0));}['reset'](){const _0x4e1dc4=_0x541354;this[_0x4e1dc4(0x239)][_0x4e1dc4(0x20c)](),this[_0x4e1dc4(0x1b7)][_0x4e1dc4(0x20c)](),this[_0x4e1dc4(0x1c2)]['clear'](),this[_0x4e1dc4(0x227)][_0x4e1dc4(0x20c)](),this[_0x4e1dc4(0x258)][_0x4e1dc4(0x20c)](),this['_restDependencyTreeId'](),this['_otherFormulaDataMainData'][_0x4e1dc4(0x20c)]();}[_0x541354(0x21f)](_0x3f8137,_0x3debf7,_0x1c892d,_0x5184cd){const _0x4bad15=_0x541354;this['_otherFormulaData'][_0x4bad15(0x24e)](_0x3f8137)||this['_otherFormulaData'][_0x4bad15(0x254)](_0x3f8137,new Map());const _0x4e347b=this['_otherFormulaData']['get'](_0x3f8137);_0x4e347b['has'](_0x3debf7)||_0x4e347b['set'](_0x3debf7,new Map());const _0x2fdb8d=_0x4e347b['get'](_0x3debf7);_0x2fdb8d[_0x4bad15(0x24e)](_0x1c892d)||_0x2fdb8d[_0x4bad15(0x254)](_0x1c892d,new S[(_0x4bad15(0x1f7))]()),_0x2fdb8d[_0x4bad15(0x1fc)](_0x1c892d)[_0x4bad15(0x1e8)](_0x5184cd['refOffsetX'],_0x5184cd[_0x4bad15(0x244)],_0x5184cd[_0x4bad15(0x1e3)]);}[_0x541354(0x23a)](_0x5d1cf4,_0x78c88e,_0x59ceda){const _0x4d809d=_0x541354,_0xa27731=this[_0x4d809d(0x239)][_0x4d809d(0x1fc)](_0x5d1cf4);if(_0xa27731&&_0xa27731[_0x4d809d(0x24e)](_0x78c88e)){const _0x4a7889=_0xa27731['get'](_0x78c88e);_0x59ceda[_0x4d809d(0x1eb)](_0x410247=>{const _0x42ad00=_0x4d809d,_0x57b2c9=_0x4a7889[_0x42ad00(0x1fc)](_0x410247);_0x57b2c9!=null&&(_0x57b2c9[_0x42ad00(0x24d)]((_0x1afbea,_0xc87f9c,_0x2d7809)=>{const _0x123b3d=_0x42ad00;this[_0x123b3d(0x200)](_0x2d7809),this['_removeAllTreeMap'](_0x2d7809);}),_0x4a7889[_0x42ad00(0x229)](_0x410247),this['_otherFormulaDataMainData'][_0x42ad00(0x229)](_0x410247));}),_0x4a7889[_0x4d809d(0x1e7)]===0x0&&_0xa27731[_0x4d809d(0x229)](_0x78c88e),_0xa27731['size']===0x0&&this[_0x4d809d(0x239)][_0x4d809d(0x229)](_0x5d1cf4);}}[_0x541354(0x1a3)](_0x5012a4,_0x39e0ee){const _0x335dc6=_0x541354,_0x351d01=this[_0x335dc6(0x239)][_0x335dc6(0x1fc)](_0x5012a4);if(_0x39e0ee&&_0x351d01&&_0x351d01[_0x335dc6(0x24e)](_0x39e0ee)){const _0x1b2f5b=_0x351d01[_0x335dc6(0x1fc)](_0x39e0ee);this[_0x335dc6(0x241)](_0x5012a4,_0x39e0ee);for(const _0x2ee195 of _0x1b2f5b[_0x335dc6(0x238)]()){const _0x309094=_0x1b2f5b[_0x335dc6(0x1fc)](_0x2ee195);_0x309094!=null&&(_0x309094[_0x335dc6(0x24d)]((_0x1c800e,_0x2e0855,_0x302da7)=>{const _0x240afb=_0x335dc6;this[_0x240afb(0x258)][_0x240afb(0x1fc)](_0x302da7)&&this[_0x240afb(0x1bb)](_0x302da7);}),this[_0x335dc6(0x207)][_0x335dc6(0x229)](_0x2ee195));}_0x1b2f5b['clear']();}else{if(_0x351d01){for(const _0x2ca43e of _0x351d01['keys']()){const _0x31b810=_0x351d01[_0x335dc6(0x1fc)](_0x2ca43e);this[_0x335dc6(0x241)](_0x5012a4,_0x2ca43e);for(const _0x19e474 of _0x31b810[_0x335dc6(0x238)]()){const _0x276d97=_0x31b810['get'](_0x19e474);_0x276d97!=null&&(_0x276d97[_0x335dc6(0x24d)]((_0x335df0,_0x44bc14,_0x1301a2)=>{const _0x46e35c=_0x335dc6;this['_allTreeMap'][_0x46e35c(0x1fc)](_0x1301a2)&&this[_0x46e35c(0x1bb)](_0x1301a2);}),this[_0x335dc6(0x207)]['delete'](_0x19e474));}}this[_0x335dc6(0x239)]['delete'](_0x5012a4);}}}[_0x541354(0x203)](_0x537af9,_0x27bd27,_0x3f8c5d,_0x9ae4d3){const _0x55a3ca=_0x541354;this['_featureFormulaData'][_0x55a3ca(0x24e)](_0x537af9)||this[_0x55a3ca(0x1b7)]['set'](_0x537af9,new Map());const _0x4b55db=this[_0x55a3ca(0x1b7)]['get'](_0x537af9);_0x4b55db[_0x55a3ca(0x24e)](_0x27bd27)||_0x4b55db[_0x55a3ca(0x254)](_0x27bd27,new Map()),_0x4b55db[_0x55a3ca(0x1fc)](_0x27bd27)['set'](_0x3f8c5d,_0x9ae4d3[_0x55a3ca(0x1e3)]);}[_0x541354(0x20b)](_0x133c12,_0x5154a9,_0x552bb3){const _0x29cdcc=_0x541354,_0x2c3398=this[_0x29cdcc(0x1b7)][_0x29cdcc(0x1fc)](_0x133c12);if(_0x2c3398&&_0x2c3398[_0x29cdcc(0x24e)](_0x5154a9)){const _0x257a0f=_0x2c3398[_0x29cdcc(0x1fc)](_0x5154a9);_0x552bb3[_0x29cdcc(0x1eb)](_0x3a86c2=>{const _0x1fd053=_0x29cdcc,_0x1e8de7=_0x257a0f['get'](_0x3a86c2);_0x1e8de7!=null&&(this['_removeDependencyRTreeCache'](_0x1e8de7),_0x257a0f[_0x1fd053(0x229)](_0x3a86c2),this[_0x1fd053(0x1bb)](_0x1e8de7));});}}[_0x541354(0x1a5)](_0x121517,_0x552bef){const _0x5dc9a9=_0x541354,_0x243cf1=this[_0x5dc9a9(0x1b7)][_0x5dc9a9(0x1fc)](_0x121517);if(_0x552bef&&_0x243cf1&&_0x243cf1[_0x5dc9a9(0x24e)](_0x552bef)){const _0x32e0d1=_0x243cf1['get'](_0x552bef);this[_0x5dc9a9(0x241)](_0x121517,_0x552bef),_0x32e0d1[_0x5dc9a9(0x1eb)](_0x19ab34=>{_0x19ab34!=null&&this['_removeAllTreeMap'](_0x19ab34);}),_0x32e0d1[_0x5dc9a9(0x20c)]();}else _0x243cf1&&(_0x243cf1[_0x5dc9a9(0x1eb)]((_0x34d092,_0x4a6bfc)=>{const _0x26929d=_0x5dc9a9;this[_0x26929d(0x241)](_0x121517,_0x4a6bfc),_0x34d092[_0x26929d(0x1eb)](_0xd2f10d=>{const _0x501696=_0x26929d;_0xd2f10d!=null&&this[_0x501696(0x1bb)](_0xd2f10d);});}),this[_0x5dc9a9(0x1b7)][_0x5dc9a9(0x229)](_0x121517));}[_0x541354(0x1b4)](_0x265ba4,_0x25610e,_0x13a1b5,_0x474745,_0x37b893){const _0x26cd41=_0x541354;this[_0x26cd41(0x1c2)][_0x26cd41(0x24e)](_0x265ba4)||this[_0x26cd41(0x1c2)][_0x26cd41(0x254)](_0x265ba4,new Map());const _0x4a62cc=this['_formulaData'][_0x26cd41(0x1fc)](_0x265ba4);_0x4a62cc['has'](_0x25610e)||_0x4a62cc['set'](_0x25610e,new S[(_0x26cd41(0x1f7))]()),_0x4a62cc[_0x26cd41(0x1fc)](_0x25610e)[_0x26cd41(0x1e8)](_0x13a1b5,_0x474745,_0x37b893[_0x26cd41(0x1e3)]);}['removeFormulaDependency'](_0x331a27,_0x252820,_0x1cd4a7,_0x3381ef){const _0x47c84f=_0x541354,_0x261dc3=this[_0x47c84f(0x1c2)][_0x47c84f(0x1fc)](_0x331a27);if(_0x261dc3&&_0x261dc3[_0x47c84f(0x24e)](_0x252820)){const _0xe6412b=_0x261dc3[_0x47c84f(0x1fc)](_0x252820),_0x417baa=_0xe6412b['getValue'](_0x1cd4a7,_0x3381ef);if(_0x417baa==null)return;this[_0x47c84f(0x200)](_0x417baa),_0xe6412b[_0x47c84f(0x248)](_0x1cd4a7,_0x3381ef),this[_0x47c84f(0x1bb)](_0x417baa);}}[_0x541354(0x251)](_0x9edbe6,_0x5825ad){const _0x13d812=_0x541354,_0x1dd402=this['_formulaData'][_0x13d812(0x1fc)](_0x9edbe6);if(_0x5825ad&&_0x1dd402&&_0x1dd402[_0x13d812(0x24e)](_0x5825ad)){const _0x6ed15=_0x1dd402[_0x13d812(0x1fc)](_0x5825ad);this[_0x13d812(0x241)](_0x9edbe6,_0x5825ad),_0x6ed15[_0x13d812(0x24d)]((_0x2d6fa6,_0x10f541,_0x717843)=>{if(_0x717843==null)return!0x0;this['_removeAllTreeMap'](_0x717843);}),_0x6ed15[_0x13d812(0x1b9)]();}else _0x1dd402&&(_0x1dd402['forEach']((_0x30d6c1,_0x2fa9da)=>{const _0x251baf=_0x13d812;this[_0x251baf(0x241)](_0x9edbe6,_0x2fa9da),_0x30d6c1[_0x251baf(0x24d)]((_0xd2603b,_0x55da9d,_0x426507)=>{const _0x299fcf=_0x251baf;if(_0x426507==null)return!0x0;this[_0x299fcf(0x1bb)](_0x426507);});}),this['_formulaData'][_0x13d812(0x229)](_0x9edbe6));}[_0x541354(0x200)](_0x144f22){const _0x31fd41=_0x541354;if(_0x144f22==null)return;const _0x3d1783=this[_0x31fd41(0x258)]['get'](_0x144f22);if(_0x3d1783){const _0xdace73=[];for(const [_0x55eed5,_0x1d5ab5]of _0x3d1783)for(const [_0x6b8db8,_0x3342d8]of _0x1d5ab5)_0xdace73[_0x31fd41(0x245)]({'unitId':_0x55eed5,'sheetId':_0x6b8db8,'range':_0x3342d8,'id':_0x144f22});this[_0x31fd41(0x227)][_0x31fd41(0x215)](_0xdace73);}}['removeFormulaDependencyByDefinedName'](_0x15f427,_0x328054){const _0x300096=_0x541354,_0x3dd644=this[_0x300096(0x255)][_0x300096(0x1fc)](_0x15f427);if(_0x3dd644){const _0x10b788=_0x3dd644[_0x300096(0x1fc)](_0x328054);if(_0x10b788){for(const _0x4ea9e8 of _0x10b788)this[_0x300096(0x200)](_0x4ea9e8),this[_0x300096(0x1bb)](_0x4ea9e8);_0x10b788[_0x300096(0x20c)]();}}}['openKdTree'](){const _0x16ab04=_0x541354;this[_0x16ab04(0x227)][_0x16ab04(0x240)]();}[_0x541354(0x22b)](){this['_dependencyRTreeCache']['closeKdTree']();}['_removeAllTreeMap'](_0x4a4076){const _0x1c9527=_0x541354;_0x4a4076!=null&&this[_0x1c9527(0x258)][_0x1c9527(0x229)](_0x4a4076);}[_0x541354(0x210)](_0x4f70b8){const _0x37ac7b=_0x541354;var _0x273a91,_0x1b1dc3;const _0x147c8e=_0x4f70b8[_0x37ac7b(0x20e)];let _0x319079=this[_0x37ac7b(0x258)]['get'](_0x4f70b8[_0x37ac7b(0x1e3)]);for(let _0x56bf89=0x0;_0x56bf89<_0x147c8e[_0x37ac7b(0x1e2)];_0x56bf89++){const _0x2f4dc=_0x147c8e[_0x56bf89];let {unitId:_0x2b2eed,sheetId:_0x270b40,range:_0x1231ad}=_0x2f4dc;_0x319079||(_0x319079=new Map(),this[_0x37ac7b(0x258)][_0x37ac7b(0x254)](_0x4f70b8[_0x37ac7b(0x1e3)],_0x319079)),_0x319079['has'](_0x2b2eed)||_0x319079[_0x37ac7b(0x254)](_0x2b2eed,new Map());const _0x12c098=(_0x273a91=_0x319079==null?void 0x0:_0x319079[_0x37ac7b(0x1fc)](_0x2b2eed))==null?void 0x0:_0x273a91[_0x37ac7b(0x1fc)](_0x270b40);_0x12c098&&(_0x1231ad={'startRow':Math['min'](_0x1231ad[_0x37ac7b(0x22f)],_0x12c098['startRow']),'startColumn':Math[_0x37ac7b(0x1fd)](_0x1231ad[_0x37ac7b(0x218)],_0x12c098[_0x37ac7b(0x218)]),'endRow':Math[_0x37ac7b(0x1ce)](_0x1231ad['endRow'],_0x12c098[_0x37ac7b(0x23c)]),'endColumn':Math[_0x37ac7b(0x1ce)](_0x1231ad[_0x37ac7b(0x247)],_0x12c098['endColumn'])}),(_0x1b1dc3=_0x319079[_0x37ac7b(0x1fc)](_0x2b2eed))==null||_0x1b1dc3[_0x37ac7b(0x254)](_0x270b40,_0x1231ad);}}}var Y=Object['getOwnPropertyDescriptor'],j=(_0x3c6ec2,_0x599053,_0x38c813,_0x1c2a77)=>{const _0x1ec3fb=_0x541354;for(var _0x28d254=_0x1c2a77>0x1?void 0x0:_0x1c2a77?Y(_0x599053,_0x38c813):_0x599053,_0x32f8c9=_0x3c6ec2[_0x1ec3fb(0x1e2)]-0x1,_0x441245;_0x32f8c9>=0x0;_0x32f8c9--)(_0x441245=_0x3c6ec2[_0x32f8c9])&&(_0x28d254=_0x441245(_0x28d254)||_0x28d254);return _0x28d254;};const K=Number[_0x541354(0x242)](0x68b7ff46);exports[_0x541354(0x208)]=class extends l[_0x541354(0x19f)]{[_0x541354(0x1b6)](){const _0xf05e08=_0x541354;var _0x361842,_0x15b28e;this[_0xf05e08(0x212)]()?(_0x361842=this[_0xf05e08(0x1f9)])!=null&&_0x361842[_0xf05e08(0x1d1)]||[[l[_0xf05e08(0x223)],{'useClass':V}],[l[_0xf05e08(0x1d2)],{'useClass':X}],[l[_0xf05e08(0x25a)],{'useClass':k}]][_0xf05e08(0x1eb)](_0xdb8e66=>this[_0xf05e08(0x256)][_0xf05e08(0x230)](_0xdb8e66)):(_0x15b28e=this[_0xf05e08(0x1f9)])!=null&&_0x15b28e['notExecuteFormula']||[[l[_0xf05e08(0x223)],{'useClass':l[_0xf05e08(0x21c)]}],[l[_0xf05e08(0x1d2)],{'useClass':l['DependencyManagerService']}],[l[_0xf05e08(0x25a)],{'useClass':l[_0xf05e08(0x237)]}]][_0xf05e08(0x1eb)](_0x3a5229=>this[_0xf05e08(0x256)][_0xf05e08(0x230)](_0x3a5229));}[_0x541354(0x212)](){const _0x1f6d04=_0x541354;var _0x47ba76;const _0x1fd635=(_0x47ba76=this[_0x1f6d04(0x1b1)][_0x1f6d04(0x1f1)](C['LS_CONFIG_KEY']))!=null?_0x47ba76:{},{ls:_0xdcadfd,pbk:_0x52f73d}=_0x1fd635;if(!_0xdcadfd||!_0x52f73d)return!0x1;const _0x4b5b6c=C[_0x1f6d04(0x1ba)](z,P),_0x1e80c3=new Function(_0x1f6d04(0x1ac)+_0x4b5b6c)()(_0xdcadfd,_0x52f73d),_0x4bb7fa=_0x1e80c3[_0x1f6d04(0x219)];return _0x1e80c3['valid']&&C[_0x1f6d04(0x1ee)](_0x4bb7fa,'sf',K)?C[_0x1f6d04(0x1db)](_0x4bb7fa,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x541354(0x208)]=j([S[_0x541354(0x249)](C[_0x541354(0x24b)])],exports[_0x541354(0x208)]),Object[_0x541354(0x238)](l)[_0x541354(0x1eb)](_0x12949e=>{const _0x30fb3f=_0x541354;_0x12949e!==_0x30fb3f(0x1ef)&&!Object[_0x30fb3f(0x1fe)]['hasOwnProperty'][_0x30fb3f(0x1fb)](exports,_0x12949e)&&Object[_0x30fb3f(0x1ca)](exports,_0x12949e,{'enumerable':!0x0,'get':()=>l[_0x12949e]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2928(){var _0x316eb2=['72LaPRWy','108tYuhqC','120TtpjiK','2810284aKvUjR','6ETvbSl','314249ZbchCQ','85155sLQzaP','42gJTDOo','233710iIToPo','8629412eYquCr','17899sKnsvG','4904ISmvAr','50502PvhZmx'];_0x2928=function(){return _0x316eb2;};return _0x2928();}(function(_0x168e74,_0x48316e){var _0xe7c76e=_0x2c0e,_0x1bfe88=_0x168e74();while(!![]){try{var _0x378cc0=parseInt(_0xe7c76e(0x95))/0x1*(parseInt(_0xe7c76e(0x96))/0x2)+parseInt(_0xe7c76e(0x93))/0x3*(-parseInt(_0xe7c76e(0x92))/0x4)+-parseInt(_0xe7c76e(0x91))/0x5*(parseInt(_0xe7c76e(0x8e))/0x6)+-parseInt(_0xe7c76e(0x99))/0x7*(-parseInt(_0xe7c76e(0x9a))/0x8)+parseInt(_0xe7c76e(0x8f))/0x9*(-parseInt(_0xe7c76e(0x97))/0xa)+-parseInt(_0xe7c76e(0x98))/0xb+parseInt(_0xe7c76e(0x90))/0xc*(parseInt(_0xe7c76e(0x94))/0xd);if(_0x378cc0===_0x48316e)break;else _0x1bfe88['push'](_0x1bfe88['shift']());}catch(_0x2bec2b){_0x1bfe88['push'](_0x1bfe88['shift']());}}}(_0x2928,0xf2d53));function _0x2c0e(_0x146718,_0x51b22a){var _0x292813=_0x2928();return _0x2c0e=function(_0x2c0ed3,_0x1f46ce){_0x2c0ed3=_0x2c0ed3-0x8e;var _0x1251cd=_0x292813[_0x2c0ed3];return _0x1251cd;},_0x2c0e(_0x146718,_0x51b22a);}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4ca092=_0x4cef;(function(_0x2397bd,_0x57125e){const _0x46a9d8=_0x4cef,_0x101cea=_0x2397bd();while(!![]){try{const _0x4cd9dc=parseInt(_0x46a9d8(0x1bb))/0x1+-parseInt(_0x46a9d8(0x156))/0x2+parseInt(_0x46a9d8(0x1cf))/0x3*(-parseInt(_0x46a9d8(0x1b3))/0x4)+parseInt(_0x46a9d8(0x1a0))/0x5+-parseInt(_0x46a9d8(0x15b))/0x6+-parseInt(_0x46a9d8(0x181))/0x7*(-parseInt(_0x46a9d8(0x1de))/0x8)+parseInt(_0x46a9d8(0x1c3))/0x9;if(_0x4cd9dc===_0x57125e)break;else _0x101cea['push'](_0x101cea['shift']());}catch(_0x106c22){_0x101cea['push'](_0x101cea['shift']());}}}(_0x525b,0x3687a));var z=Object[_0x4ca092(0x1c2)],q=(_0xd9e95b,_0x39e047,_0xa082ab)=>_0x39e047 in _0xd9e95b?z(_0xd9e95b,_0x39e047,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa082ab}):_0xd9e95b[_0x39e047]=_0xa082ab,F=(_0x2a5d22,_0x474733,_0x110c38)=>q(_0x2a5d22,typeof _0x474733!=_0x4ca092(0x1be)?_0x474733+'':_0x474733,_0x110c38);function _0x525b(){const _0x51ef22=['node','_currentConfigService','openKdTree','_dependencyRTreeCacheForAddressFunction','refOffsetY','bulkRemove','_definedNameMap','setFormulaExecuteStage','_lexer','next','_initLicenseValid','forValue','rowCount','_configService','rangeList','addOtherFormulaDependency','addFormulaDependencyByDefinedName','_executionInProgressListener$','862480NfwnlX','getDirtyRanges','dirtyRanges','markedAsNoFunctionsExecuted','_config','2541306BwebAC','START_DEPENDENCY_ARRAY_FORMULA','isDirty','START_DEPENDENCY','getUnitData','removeFormulaDependency','realDeleteValue','getDirtyData','resolve','refOffsetX','add','length','getFormulaData','_removeAllTreeMap','CURRENTLY_CALCULATING','_generateTreeList','max','setCompletedArrayFormulasCount','_removeDependencyRTreeCacheById','isAdded','bulkSearch','_getTreeById','getOtherFormulaData','execute','unitId','_checkIsCycleDependency','_isCyclicUtilMap','isStopExecution','subUnitId','startRow','searchDependency','_otherFormulaData','_registerFormulas','clearFormulaDependency','valid','START_CALCULATION_ARRAY_FORMULA','ParentDependencyTree\x20object\x20is\x20null','addOtherFormulaDependencyMainData','7gVRnMR','removeFormulaDependencyByDefinedName','_featureFormulaData','enableCycleDependency','_addAllTreeMap','dependencySheetName','endColumn','checkAsyncNode','featureDirtyRanges','addFormulaDependency','keys','featureId','_getTreeNode','startColumn','getDirtyNameMap','executeAsync','_otherFormulaDataMainData','FEATURE_FORMULA','getClearDependencyTreeCache','_formulaDependencyGenerator','row','size','_allTreeMap','getOtherFormulaDependency','_executionCompleteListener$','reset','_interpreter','column','formulaId','type','parseInt','874010crzuIY','_dependencyTreeCache','markedAsStopFunctionsExecuted','_dependencyRTreeCache','setSkip','removeOtherFormulaDependency','_updateRangeFlatten','_traverse','clearFeatureFormulaDependency','markedAsSuccessfullyExecuted','setValue','_removeDependencyRTreeCache','OTHER_FORMULA','setCompletedFormulasCount','columnCount','setAdded','notExecuteFormula','_convertDirtyRangesToUnitRange','_restDependencyTreeId','42004DJRmEZ','_createVirtualFDtree','_apply','clear','_astTreeBuilder','CURRENTLY_CALCULATING_ARRAY_FORMULA','_formulaData','treeId','102270tZzrLC','delete','generate','symbol','return\x20','_getUpdateTreeListAndMakeDependency','removeFeatureFormulaDependency','defineProperty','7071462BUekmf','pop','dispose','formula','_runtimeService','hasOtherFormulaDataMainData','getRuntimeState','set','getOwnPropertyDescriptor','setRuntimeFeatureRange','getAllRuntimeData','push','12XJUBlW','getValue','intervalCount','forEach','_createFDtree','getConfig','_getFeatureFormulaTree','getFeatureFormulaDependency','setRuntimeData','_calculateRunList','closeKdTree','clearOtherFormulaDependency','isCache','_initializeWithOverride','_injector','458872pJZYho','refTree','getFormulaDependency','get','_registerOtherFormulas','_dependencyManagerService','isSkip','has','addFeatureFormulaDependency'];_0x525b=function(){return _0x51ef22;};return _0x525b();}import{UniverLicensePlugin as _0x3a8b9e,LS_CONFIG_KEY as _0x1cca80,unshiftString as _0x3fff04,isFeatureAuthorizedWithinTime as _0x30a9da,getSheetFeatureLimit as _0x520df0}from'@univerjs-pro/license';import{ObjectMatrix as _0x2d7fed,requestImmediateMacroTask as _0xfd659d,RTree as _0x2b8f89,DependentOn as _0x4ad9a6}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1d492f,generateRandomDependencyTreeId as _0x37361d,FormulaDependencyTree as _0xfc6ddc,FormulaDependencyTreeType as _0x5ba443,FormulaDependencyTreeVirtual as _0x4e6379,generateAstNode as _0x111411,CalculateFormulaService as _0x4a8b0b,FormulaExecuteStageType as _0x25bb3e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x32789b,DEFAULT_INTERVAL_COUNT as _0x59b993,DependencyManagerBaseService as _0x4ec26,UniverFormulaEnginePlugin as _0xc879d4,ICalculateFormulaService as _0x1e5bc9,IDependencyManagerService as _0x4ac2a4,IFormulaDependencyGenerator as _0x583a96,DependencyManagerService as _0x20639a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const oe={0x0:'K',0x1:'f',0x2:'L',0x3:'W',0x4:'V',0x5:'M',0x6:'u',0x7:'J',0x8:'m',0x9:'Q','a':'0','h':'1','I':'2','Z':'3','z':'4','m':'5','Q':'6','s':'7','n':'8','S':'9','M':'a','q':'b','L':'c','T':'d','l':'e','e':'g','P':'h','N':'i','O':'j','i':'k','G':'l','C':'n','U':'o','R':'p','w':'q','Y':'r','p':'s','V':'t','y':'v','x':'w','J':'x','o':'y','F':'z','d':'A','t':'B','g':'C','u':'D','A':'E','r':'F','f':'G','c':'H','K':'I','E':'N','D':'O','W':'P','H':'R','b':'S','j':'T','X':'U','k':'X','v':'Y','B':'Z'},ue='16CLVNUC\x20TlLYoRVNUC(GNLlCpl,\x20R6qGNL0lo)\x20{\x20\x20\x20\x20VYo\x20{\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20GNLlCplKC1UWMYVdYYMo\x20=\x20GNLlCpl.pRGNV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20UYNeNC5lppMel\x20=\x207bDE.RMYpl(MVUq(GNLlCplKC1UWMYVdYYMo[I]));\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!UYNeNC5lppMel.6T)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UYNeNC5lppMel.6T\x20=\x20E68qlY(GNLlCplKC1UWMYVdYYMo[z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20Np3UYilY\x20=\x20VoRlU1\x203UYilYfGUqMGbLURl\x20!==\x20\x276CTl1NClT\x27\x20&&\x20plG1\x20NCpVMCLlU1\x203UYilYfGUqMGbLURl;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20LUCVlJV\x20=\x20Np3UYilY\x20?\x20plG1\x20:\x20xNCTUx;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[I]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(8lppMel3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[Z]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(pNeCMV6Yl3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeC4MGNT\x20=\x20LUCVlJV.__ylYN1o__(pNeCMV6Yl,\x208lppMel,\x20R6qGNL0lo);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20TU8MNC\x20=\x20UYNeNC5lppMel.T8;\x20\x20\x20\x20\x20\x20\x20\x2016CLVNUC\x20NpuU8MNC5MVLPNCe(UWMVVlYC,\x20UcUpV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYC\x20=\x20UWMVVlYC.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpV\x20=\x20UcUpV.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCWMYVp\x20=\x20RMVVlYC.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVWMYVp\x20=\x20PUpV.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!RMVVlYC.NCLG6Tlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYC\x20===\x20PUpV;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(RMVVlYCWMYVp.GlCeVP\x20<\x20I\x20||\x20RMVVlYCWMYVp[a]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x201MGpl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCb611NJ\x20=\x20RMVVlYCWMYVp.pGNLl(h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVb611NJ\x20=\x20PUpVWMYVp.pGNLl(-RMVVlYCWMYVp.GlCeVP\x20+\x20h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYCb611NJ\x20===\x20PUpVb611NJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GlV\x20TU8MNC4MGNT\x20=\x20(TU8MNC\x20&&\x20TU8MNC.GlCeVP)\x20?\x20TU8MNC.pU8l((T8KVl8)\x20=>\x20NpuU8MNC5MVLPNCe(T8KVl8,\x20GULMVNUC.PUpVCM8l))\x20:\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(GULMVNUC.PUpVCM8l\x20===\x20\x27GULMGPUpV\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TU8MNC4MGNT\x20=\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20yMGNT\x20=\x20pNeC4MGNT\x20&&\x20TU8MNC4MGNT;\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20UYNeNC5lppMel,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LMVLP\x20(lYYUY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT:\x201MGpl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1d492f{constructor(){const _0x3f8236=_0x4ca092;super(...arguments),F(this,_0x3f8236(0x1a1),new Map());}['dispose'](){const _0x218577=_0x4ca092;super[_0x218577(0x1c5)](),this[_0x218577(0x1a1)][_0x218577(0x1b6)]();}async[_0x4ca092(0x1bd)](){const _0x44a2b6=_0x4ca092;this[_0x44a2b6(0x1a6)]();const _0x379306=this['_currentConfigService'][_0x44a2b6(0x167)](),_0x529edc=this['_otherFormulaManagerService'][_0x44a2b6(0x171)](),_0x18d0a3=this[_0x44a2b6(0x1e8)][_0x44a2b6(0x193)]();_0x18d0a3!=null&&Object[_0x44a2b6(0x18b)](_0x18d0a3)[_0x44a2b6(0x1d2)](_0x47b3c9=>{const _0x33439e=_0x44a2b6;_0x47b3c9!=null&&Object[_0x33439e(0x18b)](_0x18d0a3[_0x47b3c9])[_0x33439e(0x1d2)](_0x1eef7c=>{const _0x1e64f9=_0x33439e;_0x1eef7c!=null&&(this['_dependencyManagerService'][_0x1e64f9(0x1da)](_0x47b3c9,_0x1eef7c),this[_0x1e64f9(0x1e3)][_0x1e64f9(0x1a8)](_0x47b3c9,_0x1eef7c),this[_0x1e64f9(0x1e3)][_0x1e64f9(0x17c)](_0x47b3c9,_0x1eef7c));});});const _0x2048c6=this[_0x44a2b6(0x1e8)][_0x44a2b6(0x15f)]();await this[_0x44a2b6(0x16a)](_0x379306,_0x529edc,_0x2048c6),this['_dependencyManagerService'][_0x44a2b6(0x1e9)]();const _0x7138dd=this['_getUpdateTreeListAndMakeDependency'](),_0x74554a=this[_0x44a2b6(0x1d8)](_0x7138dd);return this[_0x44a2b6(0x174)](_0x74554a)&&this[_0x44a2b6(0x1c7)][_0x44a2b6(0x184)](),this[_0x44a2b6(0x1a1)][_0x44a2b6(0x1b6)](),this[_0x44a2b6(0x1ea)][_0x44a2b6(0x1b6)](),this[_0x44a2b6(0x1e3)][_0x44a2b6(0x1d9)](),Promise[_0x44a2b6(0x163)](_0x74554a);}[_0x4ca092(0x175)](_0x369954,_0x204125){const _0x20707f=_0x4ca092,_0x4e31a0=[_0x369954];for(;_0x4e31a0['length']>0x0;){const _0x5c2107=_0x4e31a0[_0x4e31a0['length']-0x1];if((_0x204125[_0x20707f(0x1e1)](_0x5c2107)||0x0)===0x0){_0x204125[_0x20707f(0x1ca)](_0x5c2107,0x1);const _0x4d256f=this[_0x20707f(0x1a1)][_0x20707f(0x1e1)](_0x5c2107);if(_0x4d256f==null){_0x204125[_0x20707f(0x1ca)](_0x5c2107,0x2),_0x4e31a0[_0x20707f(0x1c4)]();continue;}const _0x2d96b3=this[_0x20707f(0x1e3)]['searchDependency'](_0x4d256f['toRTreeItem']());for(const _0xb0ae6b of _0x2d96b3){const _0x5ae0fe=_0x204125[_0x20707f(0x1e1)](_0xb0ae6b)||0x0;if(_0x5ae0fe===0x1)return!0x0;_0x5ae0fe===0x0&&_0x4e31a0[_0x20707f(0x1ce)](_0xb0ae6b);}}else _0x204125[_0x20707f(0x1ca)](_0x5c2107,0x2),_0x4e31a0[_0x20707f(0x1c4)]();}return!0x1;}['_checkIsCycleDependency'](_0x3a6e63){const _0x2bc2bd=_0x4ca092,_0x41725e=new Map();for(const _0x3f72da of _0x3a6e63)if(!_0x41725e['has'](_0x3f72da[_0x2bc2bd(0x1ba)])&&this[_0x2bc2bd(0x175)](_0x3f72da[_0x2bc2bd(0x1ba)],_0x41725e))return!0x0;return _0x41725e[_0x2bc2bd(0x1b6)](),!0x1;}[_0x4ca092(0x1d5)](_0x35fd85,_0x59fd6c,_0x249c7c){const _0x473ed6=_0x4ca092,{unitId:_0xf2c0de,subUnitId:_0x2265b5,dependencyRanges:_0x19fefe,getDirtyData:_0x55d574}=_0x249c7c,_0x59ae36=_0x59fd6c||_0x37361d(this[_0x473ed6(0x1e3)]),_0x48eef5=new _0xfc6ddc(_0x59ae36);_0x48eef5[_0x473ed6(0x173)]=_0xf2c0de,_0x48eef5['subUnitId']=_0x2265b5,_0x48eef5['rangeList']=_0x19fefe,_0x48eef5[_0x473ed6(0x162)]=_0x55d574;const _0x131bec=_0x55d574(this[_0x473ed6(0x1e8)][_0x473ed6(0x162)](),this[_0x473ed6(0x1c7)][_0x473ed6(0x1cd)]()),_0x2cbed5=this[_0x473ed6(0x1b1)](_0x131bec[_0x473ed6(0x158)]);return _0x48eef5[_0x473ed6(0x189)]=_0x2cbed5,_0x48eef5['featureId']=_0x35fd85,_0x48eef5[_0x473ed6(0x19e)]=_0x5ba443[_0x473ed6(0x192)],this[_0x473ed6(0x1e3)][_0x473ed6(0x1e6)](_0xf2c0de,_0x2265b5,_0x35fd85,_0x48eef5),this[_0x473ed6(0x1a1)][_0x473ed6(0x1ca)](_0x48eef5[_0x473ed6(0x1ba)],_0x48eef5),this['_dependencyManagerService'][_0x473ed6(0x1d6)](_0x249c7c[_0x473ed6(0x173)],_0x249c7c[_0x473ed6(0x177)],_0x35fd85)&&(_0x48eef5['isCache']=!0x0),_0x48eef5;}[_0x4ca092(0x1e2)](_0x534f1e,_0x1b7f03,_0x4fb24c){const _0x232f55=_0x4ca092;var _0x29489a;for(const _0x1464fa of _0x1b7f03){const _0x2e39e4=_0x534f1e[_0x1464fa];if(_0x2e39e4==null)continue;const _0x202ead=Object[_0x232f55(0x18b)](_0x2e39e4);for(const _0x3fad7d of _0x202ead){const _0x1687eb=_0x2e39e4[_0x3fad7d];if(_0x1687eb==null)continue;const _0x5c07b8=Object['keys'](_0x1687eb);for(const _0x3cba5e of _0x5c07b8){const _0x4d4a33=this[_0x232f55(0x1e3)][_0x232f55(0x1c8)](_0x3cba5e),_0x5ae135=_0x1687eb[_0x3cba5e],{f:_0x43eb07,ranges:_0x4399a5}=_0x5ae135;let _0x59948d=!0x1;_0x4d4a33&&(_0x59948d=!0x0);const {firstRow:_0xac4cb1,firstColumn:_0x957e2a}=this['_getFirstCellOfRange'](_0x4399a5),_0x2ef55a=this[_0x232f55(0x1e3)][_0x232f55(0x198)](_0x1464fa,_0x3fad7d,_0x3cba5e),_0x31eef3=(_0x29489a=_0x2ef55a==null?void 0x0:_0x2ef55a[_0x232f55(0x1d0)](0x0,0x0))!=null?_0x29489a:_0x37361d(this['_dependencyManagerService']),_0x58b965=new _0xfc6ddc(_0x31eef3);for(let _0x2d85eb=0x0;_0x2d85eb<_0x4399a5[_0x232f55(0x166)];_0x2d85eb++){const _0x15dbc6=_0x4399a5[_0x2d85eb],{startRow:_0x446ef3,startColumn:_0x3f5960,endRow:_0x59d39e,endColumn:_0x2575e3}=_0x15dbc6;for(let _0x140206=_0x446ef3;_0x140206<=_0x59d39e;_0x140206++)for(let _0x5e2d87=_0x3f5960;_0x5e2d87<=_0x2575e3;_0x5e2d87++){const _0x57fc2b=_0x5e2d87-_0x957e2a,_0x130e79=_0x140206-_0xac4cb1;if(_0x57fc2b===0x0&&_0x130e79===0x0){_0x58b965['formula']=_0x43eb07,_0x58b965[_0x232f55(0x173)]=_0x1464fa,_0x58b965[_0x232f55(0x177)]=_0x3fad7d,_0x58b965[_0x232f55(0x19d)]=_0x3cba5e,_0x58b965[_0x232f55(0x19e)]=_0x5ba443[_0x232f55(0x1ac)],_0x58b965[_0x232f55(0x1db)]=_0x59948d,_0x4fb24c[_0x232f55(0x1ce)](_0x58b965),this[_0x232f55(0x1a1)]['set'](_0x58b965[_0x232f55(0x1ba)],_0x58b965),this['_dependencyManagerService'][_0x232f55(0x1f6)](_0x1464fa,_0x3fad7d,_0x3cba5e,_0x58b965),this[_0x232f55(0x1e3)][_0x232f55(0x154)](_0x58b965);continue;}const _0x330932=new _0x4e6379();_0x330932[_0x232f55(0x1ba)]=(_0x2ef55a==null?void 0x0:_0x2ef55a[_0x232f55(0x1d0)](_0x57fc2b,_0x130e79))||_0x37361d(this[_0x232f55(0x1e3)]),_0x330932[_0x232f55(0x1df)]=_0x58b965,_0x330932[_0x232f55(0x164)]=_0x57fc2b,_0x330932[_0x232f55(0x1eb)]=_0x130e79,_0x330932[_0x232f55(0x1db)]=_0x59948d,this[_0x232f55(0x1e3)][_0x232f55(0x1f6)](_0x1464fa,_0x3fad7d,_0x3cba5e,_0x330932),this[_0x232f55(0x1e3)]['addFormulaDependencyByDefinedName'](_0x330932),_0x4fb24c[_0x232f55(0x1ce)](_0x330932),this['_dependencyTreeCache'][_0x232f55(0x1ca)](_0x330932[_0x232f55(0x1ba)],_0x330932);}}this[_0x232f55(0x1e3)][_0x232f55(0x180)](_0x3cba5e);}}}}[_0x4ca092(0x17b)](_0x5e03d8,_0x2f7a0c,_0x35d7c4,_0x56e339){const _0x507b0d=_0x4ca092;for(const _0x6f153c of _0x5e03d8){const _0x296519=_0x2f7a0c[_0x6f153c];if(_0x296519==null)continue;const _0x557750=Object['keys'](_0x296519);for(const _0x5425f5 of _0x557750){const _0x144302=new _0x2d7fed(_0x296519[_0x5425f5]||{}),_0x2f16c9=new Map();_0x144302[_0x507b0d(0x1f2)]((_0x217b42,_0x259fec,_0x393b20)=>{const _0x2592ce=_0x507b0d;if(_0x393b20==null)return!0x0;const {x:_0x1602c6=0x0,y:_0x384ce7=0x0,si:_0xbafc74}=_0x393b20;if(!(_0x1602c6===0x0&&_0x384ce7===0x0&&_0xbafc74!=null))return!0x0;const _0x38d3a7=this[_0x2592ce(0x1d3)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec,_0x35d7c4,_0x393b20),_0x5511b5=this[_0x2592ce(0x1e3)][_0x2592ce(0x1e0)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec);_0x5511b5!=null?_0x38d3a7[_0x2592ce(0x1ba)]=_0x5511b5:(this[_0x2592ce(0x1e3)][_0x2592ce(0x18a)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec,_0x38d3a7),this['_dependencyManagerService'][_0x2592ce(0x154)](_0x38d3a7)),_0x2f16c9[_0x2592ce(0x1ca)](_0xbafc74,_0x38d3a7),_0x56e339['push'](_0x38d3a7),this[_0x2592ce(0x1a1)][_0x2592ce(0x1ca)](_0x38d3a7[_0x2592ce(0x1ba)],_0x38d3a7);}),_0x144302['forValue']((_0x5c3f6c,_0x43cbe1,_0x466ace)=>{const _0x3a7cfa=_0x507b0d;if(_0x466ace==null)return!0x0;const {x:_0x107918=0x0,y:_0x38c3f2=0x0,si:_0x355a9d}=_0x466ace;if(_0x107918===0x0&&_0x38c3f2===0x0&&_0x355a9d!=null)return!0x0;let _0x562762;if(_0x355a9d&&_0x2f16c9[_0x3a7cfa(0x1e5)](_0x355a9d)){const _0x5df0f3=_0x2f16c9[_0x3a7cfa(0x1e1)](_0x355a9d);_0x562762=this[_0x3a7cfa(0x1b4)](_0x5df0f3,_0x466ace);}else _0x562762=this[_0x3a7cfa(0x1d3)](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1,_0x35d7c4,_0x466ace);const _0xc9d615=this[_0x3a7cfa(0x1e3)][_0x3a7cfa(0x1e0)](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1);_0xc9d615!=null?_0x562762[_0x3a7cfa(0x1ba)]=_0xc9d615:(this[_0x3a7cfa(0x1e3)]['addFormulaDependency'](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1,_0x562762),this[_0x3a7cfa(0x1e3)][_0x3a7cfa(0x154)](_0x562762)),_0x56e339['push'](_0x562762),this[_0x3a7cfa(0x1a1)][_0x3a7cfa(0x1ca)](_0x562762['treeId'],_0x562762);}),_0x2f16c9[_0x507b0d(0x1b6)]();}}}[_0x4ca092(0x1d3)](_0x1eb7e6,_0x338020,_0x172838,_0x4fb11a,_0x27bed9,_0x319431){const _0x1fd97d=_0x4ca092,{f:_0x224264,x:_0x262241=0x0,y:_0x572b43=0x0}=_0x319431,_0xb28a6b=new _0xfc6ddc(_0x37361d(this[_0x1fd97d(0x1e3)])),_0x2b5bf3=_0x27bed9[_0x1eb7e6][_0x338020];return _0xb28a6b[_0x1fd97d(0x1c6)]=_0x224264,_0xb28a6b[_0x1fd97d(0x173)]=_0x1eb7e6,_0xb28a6b['subUnitId']=_0x338020,_0xb28a6b[_0x1fd97d(0x195)]=_0x172838,_0xb28a6b[_0x1fd97d(0x19c)]=_0x4fb11a,_0xb28a6b[_0x1fd97d(0x1f3)]=_0x2b5bf3['rowCount'],_0xb28a6b[_0x1fd97d(0x1ae)]=_0x2b5bf3[_0x1fd97d(0x1ae)],_0xb28a6b;}[_0x4ca092(0x1c0)](){const _0x19e360=_0x4ca092,_0x1a9401=[],_0x36287b=new Set(),_0x1e8b76=this[_0x19e360(0x1e8)]['isForceCalculate'](),_0x142757=this['_currentConfigService'][_0x19e360(0x157)](),_0x37eb36=this[_0x19e360(0x1e3)][_0x19e360(0x179)](_0x142757),_0x47b8c8=this['_dependencyRTreeCacheForAddressFunction'][_0x19e360(0x16f)](_0x142757);for(const _0x250485 of _0x47b8c8)_0x37eb36[_0x19e360(0x165)](_0x250485);for(const [_0x1cf5ea,_0xeb9b1c]of this[_0x19e360(0x1a1)])(_0x1e8b76||_0xeb9b1c[_0x19e360(0x15d)]||_0xeb9b1c[_0x19e360(0x186)](this['_currentConfigService'][_0x19e360(0x18f)]())||_0x37eb36[_0x19e360(0x1e5)](_0x1cf5ea)&&!_0xeb9b1c['isExcludeRange'](this[_0x19e360(0x1e8)]['getExcludedRange']()))&&!_0x36287b[_0x19e360(0x1e5)](_0x1cf5ea)&&(_0x1a9401['push'](_0xeb9b1c),_0x36287b[_0x19e360(0x165)](_0x1cf5ea));for(const [_0xe86a3d,_0xb8f456]of this[_0x19e360(0x1a1)])_0xb8f456['isVirtual']||(_0xb8f456['rangeList']['length']=0x0);return _0x1a9401;}[_0x4ca092(0x170)](_0xc51647){const _0x515a97=_0x4ca092;return this[_0x515a97(0x1a1)]['get'](_0xc51647);}[_0x4ca092(0x18d)](_0x33508c){const _0x481396=_0x4ca092;return _0x111411(_0x33508c[_0x481396(0x173)],_0x33508c[_0x481396(0x1c6)],this[_0x481396(0x1ef)],this[_0x481396(0x1b7)],this[_0x481396(0x1e8)]);}*['_traverse'](_0x1b6750,_0x1b985f){const _0x53ed53=_0x4ca092,_0x14b0d0=_0x1b6750,_0x48e78c=new Set();for(;_0x14b0d0[_0x53ed53(0x166)]>0x0;){const _0x1a004a=_0x14b0d0[_0x53ed53(0x1c4)]();if(_0x48e78c['clear'](),_0x1a004a===void 0x0||_0x1a004a[_0x53ed53(0x1e4)]())continue;if(_0x1a004a[_0x53ed53(0x16e)]()){yield _0x1a004a,_0x1a004a[_0x53ed53(0x1a4)](),_0x1b985f[_0x53ed53(0x165)](_0x1a004a[_0x53ed53(0x1ba)]);continue;}const _0x4fe457=this[_0x53ed53(0x1e3)]['searchDependency'](_0x1a004a['toRTreeItem'](),_0x1b985f),_0x105025=this[_0x53ed53(0x1ea)][_0x53ed53(0x16f)](_0x1a004a['toRTreeItem'](),_0x1b985f);for(const _0x1653b4 of _0x105025)_0x4fe457[_0x53ed53(0x165)](_0x1653b4);for(const _0x1c56dd of _0x4fe457){const _0x57ad8f=this[_0x53ed53(0x1a1)][_0x53ed53(0x1e1)](_0x1c56dd);if(!_0x57ad8f)throw new Error(_0x53ed53(0x17f));_0x57ad8f['isAdded']()||_0x1a004a[_0x53ed53(0x1e4)]()||_0x48e78c[_0x53ed53(0x165)](_0x57ad8f);}if(_0x4fe457['clear'](),_0x48e78c[_0x53ed53(0x196)]===0x0)yield _0x1a004a,_0x1a004a[_0x53ed53(0x1a4)](),_0x1b985f[_0x53ed53(0x165)](_0x1a004a['treeId']);else{_0x1a004a[_0x53ed53(0x1af)](),_0x14b0d0[_0x53ed53(0x1ce)](_0x1a004a);for(const _0x3da387 of _0x48e78c)_0x14b0d0[_0x53ed53(0x1ce)](_0x3da387);}}_0x14b0d0[_0x53ed53(0x166)]=0x0,_0x48e78c['clear']();}[_0x4ca092(0x1d8)](_0xa1bf25){const _0x4328ae=_0x4ca092,_0x2bd682=[],_0x1acd14=new Set();for(const _0x28fd72 of this[_0x4328ae(0x1a7)](_0xa1bf25,_0x1acd14))_0x2bd682[_0x4328ae(0x1ce)](_0x28fd72);return _0x2bd682;}}class he extends _0x4a8b0b{async[_0x4ca092(0x1b5)](_0x4de0d7=!0x1){const _0x383142=_0x4ca092;_0x4de0d7?this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x15c)]):this['_runtimeService'][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x15e)]),this[_0x383142(0x155)][_0x383142(0x1f0)](this[_0x383142(0x1c7)][_0x383142(0x1c9)]());const _0x2b252e=await this[_0x383142(0x194)][_0x383142(0x1bd)](),_0x214ef0=this[_0x383142(0x19b)];_0x4de0d7?(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x17e)]),this[_0x383142(0x1c7)]['setTotalArrayFormulasToCalculate'](_0x2b252e[_0x383142(0x166)])):(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e['START_CALCULATION']),this[_0x383142(0x1c7)]['setTotalFormulasToCalculate'](_0x2b252e[_0x383142(0x166)])),this['_executionInProgressListener$'][_0x383142(0x1f0)](this[_0x383142(0x1c7)]['getRuntimeState']());let _0x367d9d=[];const _0x2f016d=this[_0x383142(0x1f4)][_0x383142(0x1d4)](_0x32789b),_0x5969c4=(_0x2f016d==null?void 0x0:_0x2f016d[_0x383142(0x1d1)])||_0x59b993;let _0x464a7d=0x0;const _0x2717c6=_0x2b252e[_0x383142(0x166)];for(;_0x2b252e[_0x383142(0x166)]>0x0;){const _0x71a286=_0x2b252e[_0x383142(0x1c4)](),_0x4531d8={'node':_0x111411(_0x71a286[_0x383142(0x173)],_0x71a286[_0x383142(0x1c6)],this[_0x383142(0x1ef)],this[_0x383142(0x1b7)],this[_0x383142(0x1e8)]),'refOffsetX':_0x71a286[_0x383142(0x164)],'refOffsetY':_0x71a286[_0x383142(0x1eb)]},_0x34a2be=_0x71a286[_0x383142(0x162)];if(_0x464a7d%_0x5969c4===0x0&&(await new Promise(_0x1ea5bc=>{const _0x33a5b9=_0x383142,_0x5c1c76=_0xfd659d(_0x1ea5bc);_0x367d9d[_0x33a5b9(0x1ce)](_0x5c1c76);}),_0x4de0d7?(this['_runtimeService'][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x1b8)]),this[_0x383142(0x1c7)][_0x383142(0x16c)](_0x464a7d+0x1)):(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x169)]),this['_runtimeService'][_0x383142(0x1ad)](_0x464a7d+0x1)),this[_0x383142(0x155)][_0x383142(0x1f0)](this['_runtimeService'][_0x383142(0x1c9)]()),this[_0x383142(0x1c7)][_0x383142(0x176)]()||_0x4531d8==null&&_0x34a2be==null)){this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e['IDLE']),this[_0x383142(0x1c7)][_0x383142(0x1a2)](),this[_0x383142(0x199)][_0x383142(0x1f0)](this[_0x383142(0x1c7)]['getAllRuntimeData']());return;}this[_0x383142(0x1c7)]['setCurrent'](_0x71a286[_0x383142(0x195)],_0x71a286[_0x383142(0x19c)],_0x71a286[_0x383142(0x1f3)],_0x71a286[_0x383142(0x1ae)],_0x71a286[_0x383142(0x177)],_0x71a286[_0x383142(0x173)]);let _0x301ca2;if(_0x34a2be!=null&&_0x71a286[_0x383142(0x18c)]!=null){const {runtimeCellData:_0xf4bf01,dirtyRanges:_0xeea5fd}=_0x34a2be(this[_0x383142(0x1e8)][_0x383142(0x162)](),this[_0x383142(0x1c7)][_0x383142(0x1cd)]());this[_0x383142(0x1c7)]['setRuntimeFeatureCellData'](_0x71a286[_0x383142(0x18c)],_0xf4bf01),this[_0x383142(0x1c7)][_0x383142(0x1cc)](_0x71a286[_0x383142(0x18c)],_0xeea5fd);}else _0x4531d8!=null&&(_0x214ef0[_0x383142(0x188)](_0x4531d8[_0x383142(0x1e7)])?_0x301ca2=await _0x214ef0[_0x383142(0x190)](_0x4531d8):_0x301ca2=_0x214ef0[_0x383142(0x172)](_0x4531d8),_0x71a286[_0x383142(0x19d)]!=null?this[_0x383142(0x1c7)]['setRuntimeOtherData'](_0x71a286[_0x383142(0x19d)],_0x71a286[_0x383142(0x164)],_0x71a286[_0x383142(0x1eb)],_0x301ca2):this['_runtimeService'][_0x383142(0x1d7)](_0x301ca2));_0x464a7d++;}return _0x367d9d[_0x383142(0x1d2)](_0x134b78=>_0x134b78()),_0x367d9d=[],_0x2717c6>0x0?this['_runtimeService'][_0x383142(0x1a9)]():_0x4de0d7||this[_0x383142(0x1c7)][_0x383142(0x159)](),this['_runtimeService'][_0x383142(0x1cd)]();}}function _0x4cef(_0x1bacb8,_0x332fe0){const _0x525b18=_0x525b();return _0x4cef=function(_0x4cef56,_0x505d73){_0x4cef56=_0x4cef56-0x154;let _0x4603fc=_0x525b18[_0x4cef56];return _0x4603fc;},_0x4cef(_0x1bacb8,_0x332fe0);}class pe extends _0x4ec26{constructor(){const _0x39674b=_0x4ca092;super(...arguments),F(this,_0x39674b(0x197),new Map()),F(this,_0x39674b(0x1a3),new _0x2b8f89(!0x0));}[_0x4ca092(0x19a)](){const _0x1b961a=_0x4ca092;this[_0x1b961a(0x17a)]['clear'](),this[_0x1b961a(0x183)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x1b9)]['clear'](),this[_0x1b961a(0x1a3)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x197)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x1b2)](),this[_0x1b961a(0x191)][_0x1b961a(0x1b6)]();}[_0x4ca092(0x1f6)](_0x34c154,_0x4f27c2,_0xe948c9,_0x34a9ae){const _0x36d9b9=_0x4ca092;this[_0x36d9b9(0x17a)][_0x36d9b9(0x1e5)](_0x34c154)||this[_0x36d9b9(0x17a)][_0x36d9b9(0x1ca)](_0x34c154,new Map());const _0x189f5c=this[_0x36d9b9(0x17a)][_0x36d9b9(0x1e1)](_0x34c154);_0x189f5c[_0x36d9b9(0x1e5)](_0x4f27c2)||_0x189f5c[_0x36d9b9(0x1ca)](_0x4f27c2,new Map());const _0x1b0519=_0x189f5c['get'](_0x4f27c2);_0x1b0519[_0x36d9b9(0x1e5)](_0xe948c9)||_0x1b0519[_0x36d9b9(0x1ca)](_0xe948c9,new _0x2d7fed()),_0x1b0519[_0x36d9b9(0x1e1)](_0xe948c9)[_0x36d9b9(0x1aa)](_0x34a9ae[_0x36d9b9(0x164)],_0x34a9ae[_0x36d9b9(0x1eb)],_0x34a9ae[_0x36d9b9(0x1ba)]);}[_0x4ca092(0x1a5)](_0x499d74,_0x2ab312,_0x8bc78c){const _0x59869f=_0x4ca092,_0x38c871=this[_0x59869f(0x17a)][_0x59869f(0x1e1)](_0x499d74);if(_0x38c871&&_0x38c871[_0x59869f(0x1e5)](_0x2ab312)){const _0x5427b2=_0x38c871[_0x59869f(0x1e1)](_0x2ab312);_0x8bc78c[_0x59869f(0x1d2)](_0x351b1a=>{const _0x5494c7=_0x59869f,_0x11431a=_0x5427b2[_0x5494c7(0x1e1)](_0x351b1a);_0x11431a!=null&&(_0x11431a[_0x5494c7(0x1f2)]((_0x2d874b,_0x313e28,_0x4f63e9)=>{const _0x95ca6e=_0x5494c7;this['_removeDependencyRTreeCache'](_0x4f63e9),this[_0x95ca6e(0x168)](_0x4f63e9);}),_0x5427b2[_0x5494c7(0x1bc)](_0x351b1a),this['_otherFormulaDataMainData'][_0x5494c7(0x1bc)](_0x351b1a));}),_0x5427b2['size']===0x0&&_0x38c871['delete'](_0x2ab312),_0x38c871[_0x59869f(0x196)]===0x0&&this[_0x59869f(0x17a)][_0x59869f(0x1bc)](_0x499d74);}}[_0x4ca092(0x1da)](_0x255223,_0x4058a1){const _0x44ba4c=_0x4ca092,_0x44f8c4=this[_0x44ba4c(0x17a)][_0x44ba4c(0x1e1)](_0x255223);if(_0x4058a1&&_0x44f8c4&&_0x44f8c4[_0x44ba4c(0x1e5)](_0x4058a1)){const _0x36fb98=_0x44f8c4[_0x44ba4c(0x1e1)](_0x4058a1);this[_0x44ba4c(0x16d)](_0x255223,_0x4058a1);for(const _0x534490 of _0x36fb98['keys']()){const _0x6770d2=_0x36fb98[_0x44ba4c(0x1e1)](_0x534490);_0x6770d2!=null&&(_0x6770d2[_0x44ba4c(0x1f2)]((_0x355e55,_0x393b9d,_0x46e0cb)=>{const _0x568767=_0x44ba4c;this[_0x568767(0x197)][_0x568767(0x1e1)](_0x46e0cb)&&this[_0x568767(0x168)](_0x46e0cb);}),this[_0x44ba4c(0x191)][_0x44ba4c(0x1bc)](_0x534490));}_0x36fb98[_0x44ba4c(0x1b6)]();}else{if(_0x44f8c4){for(const _0x325099 of _0x44f8c4[_0x44ba4c(0x18b)]()){const _0xa980e1=_0x44f8c4[_0x44ba4c(0x1e1)](_0x325099);this[_0x44ba4c(0x16d)](_0x255223,_0x325099);for(const _0x40da56 of _0xa980e1[_0x44ba4c(0x18b)]()){const _0x5025a8=_0xa980e1[_0x44ba4c(0x1e1)](_0x40da56);_0x5025a8!=null&&(_0x5025a8[_0x44ba4c(0x1f2)]((_0x47726b,_0x1d7876,_0x153e86)=>{const _0x25ab45=_0x44ba4c;this[_0x25ab45(0x197)]['get'](_0x153e86)&&this[_0x25ab45(0x168)](_0x153e86);}),this['_otherFormulaDataMainData'][_0x44ba4c(0x1bc)](_0x40da56));}}this['_otherFormulaData'][_0x44ba4c(0x1bc)](_0x255223);}}}[_0x4ca092(0x1e6)](_0x52a1fd,_0x41ba2c,_0x5c0074,_0x48f7ee){const _0x551795=_0x4ca092;this['_featureFormulaData'][_0x551795(0x1e5)](_0x52a1fd)||this[_0x551795(0x183)][_0x551795(0x1ca)](_0x52a1fd,new Map());const _0x445d81=this['_featureFormulaData'][_0x551795(0x1e1)](_0x52a1fd);_0x445d81[_0x551795(0x1e5)](_0x41ba2c)||_0x445d81['set'](_0x41ba2c,new Map()),_0x445d81['get'](_0x41ba2c)[_0x551795(0x1ca)](_0x5c0074,_0x48f7ee[_0x551795(0x1ba)]);}[_0x4ca092(0x1c1)](_0x4a2c11,_0x2b5616,_0x4335c8){const _0x7eacf7=_0x4ca092,_0x915d5c=this['_featureFormulaData'][_0x7eacf7(0x1e1)](_0x4a2c11);if(_0x915d5c&&_0x915d5c['has'](_0x2b5616)){const _0x21b7ca=_0x915d5c[_0x7eacf7(0x1e1)](_0x2b5616);_0x4335c8[_0x7eacf7(0x1d2)](_0x17bc64=>{const _0x4384d8=_0x7eacf7,_0x5b303a=_0x21b7ca[_0x4384d8(0x1e1)](_0x17bc64);_0x5b303a!=null&&(this[_0x4384d8(0x1ab)](_0x5b303a),_0x21b7ca[_0x4384d8(0x1bc)](_0x17bc64),this['_removeAllTreeMap'](_0x5b303a));});}}['clearFeatureFormulaDependency'](_0x166312,_0x21046c){const _0x28370d=_0x4ca092,_0x8046cc=this['_featureFormulaData'][_0x28370d(0x1e1)](_0x166312);if(_0x21046c&&_0x8046cc&&_0x8046cc[_0x28370d(0x1e5)](_0x21046c)){const _0x42ca23=_0x8046cc[_0x28370d(0x1e1)](_0x21046c);this[_0x28370d(0x16d)](_0x166312,_0x21046c),_0x42ca23[_0x28370d(0x1d2)](_0x45aea3=>{const _0x446bbc=_0x28370d;_0x45aea3!=null&&this[_0x446bbc(0x168)](_0x45aea3);}),_0x42ca23[_0x28370d(0x1b6)]();}else _0x8046cc&&(_0x8046cc[_0x28370d(0x1d2)]((_0x316522,_0x57ab75)=>{const _0x17226c=_0x28370d;this[_0x17226c(0x16d)](_0x166312,_0x57ab75),_0x316522['forEach'](_0x131402=>{_0x131402!=null&&this['_removeAllTreeMap'](_0x131402);});}),this[_0x28370d(0x183)][_0x28370d(0x1bc)](_0x166312));}[_0x4ca092(0x18a)](_0x164e94,_0x232123,_0x19db68,_0x10a0fd,_0x4ce2f0){const _0x3480f7=_0x4ca092;this[_0x3480f7(0x1b9)][_0x3480f7(0x1e5)](_0x164e94)||this[_0x3480f7(0x1b9)][_0x3480f7(0x1ca)](_0x164e94,new Map());const _0x20de42=this[_0x3480f7(0x1b9)][_0x3480f7(0x1e1)](_0x164e94);_0x20de42[_0x3480f7(0x1e5)](_0x232123)||_0x20de42[_0x3480f7(0x1ca)](_0x232123,new _0x2d7fed()),_0x20de42['get'](_0x232123)[_0x3480f7(0x1aa)](_0x19db68,_0x10a0fd,_0x4ce2f0[_0x3480f7(0x1ba)]);}[_0x4ca092(0x160)](_0x229f8e,_0x40aa8f,_0x1b627c,_0x364ec2){const _0x56509d=_0x4ca092,_0x4f1d12=this[_0x56509d(0x1b9)][_0x56509d(0x1e1)](_0x229f8e);if(_0x4f1d12&&_0x4f1d12[_0x56509d(0x1e5)](_0x40aa8f)){const _0x557e7d=_0x4f1d12[_0x56509d(0x1e1)](_0x40aa8f),_0x2e854b=_0x557e7d[_0x56509d(0x1d0)](_0x1b627c,_0x364ec2);if(_0x2e854b==null)return;this[_0x56509d(0x1ab)](_0x2e854b),_0x557e7d[_0x56509d(0x161)](_0x1b627c,_0x364ec2),this['_removeAllTreeMap'](_0x2e854b);}}['clearFormulaDependency'](_0x4d5c4a,_0x340c59){const _0x3e7825=_0x4ca092,_0x4e61e6=this[_0x3e7825(0x1b9)]['get'](_0x4d5c4a);if(_0x340c59&&_0x4e61e6&&_0x4e61e6[_0x3e7825(0x1e5)](_0x340c59)){const _0x59d122=_0x4e61e6[_0x3e7825(0x1e1)](_0x340c59);this[_0x3e7825(0x16d)](_0x4d5c4a,_0x340c59),_0x59d122[_0x3e7825(0x1f2)]((_0x3d063f,_0x39f890,_0x5f573e)=>{const _0x41d0b2=_0x3e7825;if(_0x5f573e==null)return!0x0;this[_0x41d0b2(0x168)](_0x5f573e);}),_0x59d122['reset']();}else _0x4e61e6&&(_0x4e61e6[_0x3e7825(0x1d2)]((_0x5f35ac,_0x110140)=>{const _0x100d88=_0x3e7825;this[_0x100d88(0x16d)](_0x4d5c4a,_0x110140),_0x5f35ac[_0x100d88(0x1f2)]((_0xbe08af,_0x333a0f,_0x10eef8)=>{const _0x43e1ed=_0x100d88;if(_0x10eef8==null)return!0x0;this[_0x43e1ed(0x168)](_0x10eef8);});}),this['_formulaData'][_0x3e7825(0x1bc)](_0x4d5c4a));}['_removeDependencyRTreeCache'](_0x59bb5c){const _0x53e831=_0x4ca092;if(_0x59bb5c==null)return;const _0x4df465=this[_0x53e831(0x197)][_0x53e831(0x1e1)](_0x59bb5c);if(_0x4df465){const _0x1e56ae=[];for(const [_0x137291,_0x348716]of _0x4df465)for(const [_0x51f842,_0x87e297]of _0x348716)_0x1e56ae[_0x53e831(0x1ce)]({'unitId':_0x137291,'sheetId':_0x51f842,'range':_0x87e297,'id':_0x59bb5c});this[_0x53e831(0x1a3)][_0x53e831(0x1ec)](_0x1e56ae);}}[_0x4ca092(0x182)](_0x5787b9,_0x16d45b){const _0x253b8f=_0x4ca092,_0x49c34f=this[_0x253b8f(0x1ed)][_0x253b8f(0x1e1)](_0x5787b9);if(_0x49c34f){const _0x3e712c=_0x49c34f['get'](_0x16d45b);if(_0x3e712c){for(const _0x535641 of _0x3e712c)this['_removeDependencyRTreeCache'](_0x535641),this['_removeAllTreeMap'](_0x535641);_0x3e712c['clear']();}}}['openKdTree'](){const _0x23eae9=_0x4ca092;this[_0x23eae9(0x1a3)][_0x23eae9(0x1e9)]();}[_0x4ca092(0x1d9)](){const _0x5c16f8=_0x4ca092;this[_0x5c16f8(0x1a3)][_0x5c16f8(0x1d9)]();}[_0x4ca092(0x168)](_0x10d3ab){const _0x48010d=_0x4ca092;_0x10d3ab!=null&&this['_allTreeMap'][_0x48010d(0x1bc)](_0x10d3ab);}[_0x4ca092(0x185)](_0x18870b){const _0x15d577=_0x4ca092;var _0x39bc37,_0x1df7ac;const _0x550cc1=_0x18870b[_0x15d577(0x1f5)];let _0x5ed984=this['_allTreeMap'][_0x15d577(0x1e1)](_0x18870b[_0x15d577(0x1ba)]);for(let _0x5ae85e=0x0;_0x5ae85e<_0x550cc1['length'];_0x5ae85e++){const _0x238f53=_0x550cc1[_0x5ae85e];let {unitId:_0x3f43e1,sheetId:_0x4dd7ca,range:_0x449c30}=_0x238f53;_0x5ed984||(_0x5ed984=new Map(),this['_allTreeMap'][_0x15d577(0x1ca)](_0x18870b['treeId'],_0x5ed984)),_0x5ed984['has'](_0x3f43e1)||_0x5ed984[_0x15d577(0x1ca)](_0x3f43e1,new Map());const _0x50c8db=(_0x39bc37=_0x5ed984==null?void 0x0:_0x5ed984['get'](_0x3f43e1))==null?void 0x0:_0x39bc37[_0x15d577(0x1e1)](_0x4dd7ca);_0x50c8db&&(_0x449c30={'startRow':Math['min'](_0x449c30['startRow'],_0x50c8db[_0x15d577(0x178)]),'startColumn':Math['min'](_0x449c30[_0x15d577(0x18e)],_0x50c8db[_0x15d577(0x18e)]),'endRow':Math[_0x15d577(0x16b)](_0x449c30['endRow'],_0x50c8db['endRow']),'endColumn':Math[_0x15d577(0x16b)](_0x449c30[_0x15d577(0x187)],_0x50c8db[_0x15d577(0x187)])}),(_0x1df7ac=_0x5ed984[_0x15d577(0x1e1)](_0x3f43e1))==null||_0x1df7ac[_0x15d577(0x1ca)](_0x4dd7ca,_0x449c30);}}}var fe=Object[_0x4ca092(0x1cb)],_e=(_0x3096e5,_0xcd614e,_0x187370,_0x1afe9d)=>{const _0x54d85d=_0x4ca092;for(var _0x57bd4b=_0x1afe9d>0x1?void 0x0:_0x1afe9d?fe(_0xcd614e,_0x187370):_0xcd614e,_0x48083e=_0x3096e5[_0x54d85d(0x166)]-0x1,_0xd2a93e;_0x48083e>=0x0;_0x48083e--)(_0xd2a93e=_0x3096e5[_0x48083e])&&(_0x57bd4b=_0xd2a93e(_0x57bd4b)||_0x57bd4b);return _0x57bd4b;};const Ce=Number[_0x4ca092(0x19f)](0x68a81e32);let x=class extends _0xc879d4{[_0x4ca092(0x1dc)](){const _0x8ccde4=_0x4ca092;var _0x45b2a3,_0x4f5019;this['_initLicenseValid']()?(_0x45b2a3=this[_0x8ccde4(0x15a)])!=null&&_0x45b2a3[_0x8ccde4(0x1b0)]||[[_0x1e5bc9,{'useClass':he}],[_0x4ac2a4,{'useClass':pe}],[_0x583a96,{'useClass':de}]][_0x8ccde4(0x1d2)](_0x1c1bf9=>this[_0x8ccde4(0x1dd)]['add'](_0x1c1bf9)):(_0x4f5019=this[_0x8ccde4(0x15a)])!=null&&_0x4f5019[_0x8ccde4(0x1b0)]||[[_0x1e5bc9,{'useClass':_0x4a8b0b}],[_0x4ac2a4,{'useClass':_0x20639a}],[_0x583a96,{'useClass':_0x1d492f}]][_0x8ccde4(0x1d2)](_0x3a89e0=>this[_0x8ccde4(0x1dd)][_0x8ccde4(0x165)](_0x3a89e0));}[_0x4ca092(0x1f1)](){const _0x3fa214=_0x4ca092;var _0x2d54cf;const _0x243d9a=(_0x2d54cf=this[_0x3fa214(0x1f4)][_0x3fa214(0x1d4)](_0x1cca80))!=null?_0x2d54cf:{},{ls:_0x2759fc,pbk:_0x2f6b2e}=_0x243d9a;if(!_0x2759fc||!_0x2f6b2e)return!0x1;const _0x966cb7=_0x3fff04(ue,oe),_0x1bce6f=new Function(_0x3fa214(0x1bf)+_0x966cb7)()(_0x2759fc,_0x2f6b2e),_0x2ce574=_0x1bce6f['message'];return _0x1bce6f[_0x3fa214(0x17d)]&&_0x30a9da(_0x2ce574,'sf',Ce)?_0x520df0(_0x2ce574,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x4ad9a6(_0x3a8b9e)],x);export{x as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5ead29=_0x3668;(function(_0x57a595,_0x29f1e2){const _0x356447=_0x3668,_0xcbabbb=_0x57a595();while(!![]){try{const _0x4a8149=-parseInt(_0x356447(0x1df))/0x1*(-parseInt(_0x356447(0x23c))/0x2)+-parseInt(_0x356447(0x24d))/0x3*(parseInt(_0x356447(0x242))/0x4)+parseInt(_0x356447(0x215))/0x5+parseInt(_0x356447(0x22c))/0x6*(parseInt(_0x356447(0x25f))/0x7)+parseInt(_0x356447(0x268))/0x8*(parseInt(_0x356447(0x1eb))/0x9)+parseInt(_0x356447(0x23a))/0xa*(-parseInt(_0x356447(0x1d9))/0xb)+-parseInt(_0x356447(0x1fe))/0xc*(parseInt(_0x356447(0x1e4))/0xd);if(_0x4a8149===_0x29f1e2)break;else _0xcbabbb['push'](_0xcbabbb['shift']());}catch(_0x259585){_0xcbabbb['push'](_0xcbabbb['shift']());}}}(_0x172f,0xf3c7b));var Q=Object['defineProperty'],j=(_0x218bfc,_0x2a91fb,_0x1affbc)=>_0x2a91fb in _0x218bfc?Q(_0x218bfc,_0x2a91fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1affbc}):_0x218bfc[_0x2a91fb]=_0x1affbc,C=(_0x37bfda,_0x4e22aa,_0x53b6fe)=>j(_0x37bfda,typeof _0x4e22aa!=_0x5ead29(0x1cf)?_0x4e22aa+'':_0x4e22aa,_0x53b6fe);import{UniverLicensePlugin as _0x1e218b,LS_CONFIG_KEY as _0x50d3b4,unshiftString as _0x2a0b8b,isFeatureAuthorizedWithinTime as _0x29c842,getSheetFeatureLimit as _0x43008c}from'@univerjs-pro/license';function _0x3668(_0x2bdd68,_0x5f4e7e){const _0x172fe5=_0x172f();return _0x3668=function(_0x3668af,_0x449e89){_0x3668af=_0x3668af-0x1c9;let _0x4fcaa0=_0x172fe5[_0x3668af];return _0x4fcaa0;},_0x3668(_0x2bdd68,_0x5f4e7e);}import{ObjectMatrix as _0x127eb2,requestImmediateMacroTask as _0x5ec920,RTree as _0x49e7cd,DependentOn as _0x5a6cb9}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1dfe70,generateRandomDependencyTreeId as _0x24ac99,FormulaDependencyTree as _0x14e6f2,FormulaDependencyTreeType as _0x58eb06,FormulaDependencyTreeVirtual as _0x80af3,generateAstNode as _0x1718af,CalculateFormulaService as _0x253ee8,FormulaExecuteStageType as _0x2ac839,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xad29e3,DEFAULT_INTERVAL_COUNT as _0x49147d,DependencyManagerBaseService as _0x53e14c,UniverFormulaEnginePlugin as _0x4b48c1,ICalculateFormulaService as _0x309d57,IDependencyManagerService as _0x272aa6,IFormulaDependencyGenerator as _0x18553a,DependencyManagerService as _0x97377c}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'b',0x1:'p',0x2:'G',0x3:'l',0x4:'C',0x5:'I',0x6:'a',0x7:'u',0x8:'7',0x9:'v','W':'0','d':'1','e':'2','f':'3','h':'4','L':'5','O':'6','C':'8','Z':'9','a':'c','v':'d','E':'e','l':'f','D':'g','R':'h','q':'i','y':'j','n':'k','z':'m','p':'n','u':'o','M':'q','G':'r','B':'s','r':'t','g':'w','Q':'x','t':'y','o':'z','F':'A','b':'B','Y':'D','J':'E','U':'F','H':'H','j':'J','A':'K','N':'L','T':'M','k':'N','P':'O','X':'P','m':'Q','K':'R','I':'S','w':'T','V':'U','s':'V','S':'W','i':'X','c':'Y','x':'Z'},le=_0x5ead29(0x266);class de extends _0x1dfe70{constructor(){const _0x344f62=_0x5ead29;super(...arguments),C(this,_0x344f62(0x24c),new Map());}[_0x5ead29(0x256)](){const _0x4e20b9=_0x5ead29;super[_0x4e20b9(0x256)](),this[_0x4e20b9(0x24c)][_0x4e20b9(0x1fa)]();}async['generate'](){const _0x2fc654=_0x5ead29;this[_0x2fc654(0x207)]();const _0x2ab906=this[_0x2fc654(0x1e0)][_0x2fc654(0x248)](),_0x377254=this[_0x2fc654(0x213)][_0x2fc654(0x1e3)](),_0x19118a=this[_0x2fc654(0x1e0)]['getClearDependencyTreeCache']();_0x19118a!=null&&Object['keys'](_0x19118a)['forEach'](_0x18a735=>{_0x18a735!=null&&Object['keys'](_0x19118a[_0x18a735])['forEach'](_0x4ed267=>{const _0x48e669=_0x3668;_0x4ed267!=null&&(this[_0x48e669(0x224)][_0x48e669(0x23d)](_0x18a735,_0x4ed267),this[_0x48e669(0x224)][_0x48e669(0x22a)](_0x18a735,_0x4ed267),this[_0x48e669(0x224)]['clearFormulaDependency'](_0x18a735,_0x4ed267));});});const _0x1a627e=this[_0x2fc654(0x1e0)][_0x2fc654(0x22d)]();await this[_0x2fc654(0x1db)](_0x2ab906,_0x377254,_0x1a627e),this[_0x2fc654(0x224)]['openKdTree']();const _0x319c71=this[_0x2fc654(0x20a)](),_0x1ef491=this[_0x2fc654(0x236)](_0x319c71);return this[_0x2fc654(0x1fc)](_0x1ef491)&&this['_runtimeService'][_0x2fc654(0x203)](),this[_0x2fc654(0x24c)][_0x2fc654(0x1fa)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2fc654(0x1fa)](),this['_dependencyManagerService'][_0x2fc654(0x1d1)](),Promise[_0x2fc654(0x1f3)](_0x1ef491);}[_0x5ead29(0x1c9)](_0x2de0c4,_0x4d95c5){const _0x41431e=_0x5ead29,_0x1b8359=[_0x2de0c4];for(;_0x1b8359[_0x41431e(0x214)]>0x0;){const _0x4bf56c=_0x1b8359[_0x1b8359['length']-0x1];if((_0x4d95c5[_0x41431e(0x230)](_0x4bf56c)||0x0)===0x0){_0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x1);const _0x5890bf=this[_0x41431e(0x24c)][_0x41431e(0x230)](_0x4bf56c);if(_0x5890bf==null){_0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x2),_0x1b8359['pop']();continue;}const _0x27603c=this[_0x41431e(0x224)][_0x41431e(0x1e1)](_0x5890bf[_0x41431e(0x262)]());for(const _0x526a77 of _0x27603c){const _0x300fd2=_0x4d95c5[_0x41431e(0x230)](_0x526a77)||0x0;if(_0x300fd2===0x1)return!0x0;_0x300fd2===0x0&&_0x1b8359['push'](_0x526a77);}}else _0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x2),_0x1b8359[_0x41431e(0x24f)]();}return!0x1;}['_checkIsCycleDependency'](_0x308cd9){const _0x38188a=_0x5ead29,_0x4973fe=new Map();for(const _0x2339a6 of _0x308cd9)if(!_0x4973fe['has'](_0x2339a6[_0x38188a(0x206)])&&this['_isCyclicUtilMap'](_0x2339a6[_0x38188a(0x206)],_0x4973fe))return!0x0;return _0x4973fe[_0x38188a(0x1fa)](),!0x1;}[_0x5ead29(0x21f)](_0x18d9b2,_0x20f28d,_0x4347eb){const _0x2a712a=_0x5ead29,{unitId:_0x19d697,subUnitId:_0x49a6ad,dependencyRanges:_0x299df9,getDirtyData:_0x5bf43c}=_0x4347eb,_0x444e93=_0x20f28d||_0x24ac99(this['_dependencyManagerService']),_0xadf541=new _0x14e6f2(_0x444e93);_0xadf541[_0x2a712a(0x205)]=_0x19d697,_0xadf541[_0x2a712a(0x22e)]=_0x49a6ad,_0xadf541[_0x2a712a(0x261)]=_0x299df9,_0xadf541[_0x2a712a(0x1f4)]=_0x5bf43c;const _0x181a17=_0x5bf43c(this[_0x2a712a(0x1e0)][_0x2a712a(0x1f4)](),this[_0x2a712a(0x25c)][_0x2a712a(0x20d)]()),_0x139229=this['_convertDirtyRangesToUnitRange'](_0x181a17[_0x2a712a(0x1e9)]);return _0xadf541[_0x2a712a(0x1da)]=_0x139229,_0xadf541['featureId']=_0x18d9b2,_0xadf541[_0x2a712a(0x25a)]=_0x58eb06[_0x2a712a(0x244)],this[_0x2a712a(0x224)]['addFeatureFormulaDependency'](_0x19d697,_0x49a6ad,_0x18d9b2,_0xadf541),this[_0x2a712a(0x24c)][_0x2a712a(0x1d0)](_0xadf541['treeId'],_0xadf541),this[_0x2a712a(0x224)][_0x2a712a(0x217)](_0x4347eb[_0x2a712a(0x205)],_0x4347eb[_0x2a712a(0x22e)],_0x18d9b2)&&(_0xadf541['isCache']=!0x0),_0xadf541;}[_0x5ead29(0x1e7)](_0x336a92,_0x6dfde2,_0x5308e0){const _0x433654=_0x5ead29;var _0x2c9040;for(const _0x582a17 of _0x6dfde2){const _0x5d400a=_0x336a92[_0x582a17];if(_0x5d400a==null)continue;const _0x8317d3=Object[_0x433654(0x265)](_0x5d400a);for(const _0x5d59c2 of _0x8317d3){const _0x14d0bb=_0x5d400a[_0x5d59c2];if(_0x14d0bb==null)continue;const _0x2c300a=Object[_0x433654(0x265)](_0x14d0bb);for(const _0x1477f1 of _0x2c300a){const _0x464520=this[_0x433654(0x224)][_0x433654(0x222)](_0x1477f1),_0x53f5f0=_0x14d0bb[_0x1477f1],{f:_0x1bf1c2,ranges:_0x53bbee}=_0x53f5f0;let _0x2098d4=!0x1;_0x464520&&(_0x2098d4=!0x0);const {firstRow:_0x4ee120,firstColumn:_0x2321f0}=this[_0x433654(0x1d5)](_0x53bbee),_0x4a9a30=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x582a17,_0x5d59c2,_0x1477f1),_0x3a9f06=(_0x2c9040=_0x4a9a30==null?void 0x0:_0x4a9a30['getValue'](0x0,0x0))!=null?_0x2c9040:_0x24ac99(this[_0x433654(0x224)]),_0x370735=new _0x14e6f2(_0x3a9f06);for(let _0x1acffc=0x0;_0x1acffc<_0x53bbee[_0x433654(0x214)];_0x1acffc++){const _0xfce27c=_0x53bbee[_0x1acffc],{startRow:_0x4c6bf8,startColumn:_0x4973ff,endRow:_0x31a236,endColumn:_0x26c42b}=_0xfce27c;for(let _0x3ea804=_0x4c6bf8;_0x3ea804<=_0x31a236;_0x3ea804++)for(let _0x29332e=_0x4973ff;_0x29332e<=_0x26c42b;_0x29332e++){const _0x45d716=_0x29332e-_0x2321f0,_0x391076=_0x3ea804-_0x4ee120;if(_0x45d716===0x0&&_0x391076===0x0){_0x370735[_0x433654(0x241)]=_0x1bf1c2,_0x370735[_0x433654(0x205)]=_0x582a17,_0x370735['subUnitId']=_0x5d59c2,_0x370735[_0x433654(0x220)]=_0x1477f1,_0x370735[_0x433654(0x25a)]=_0x58eb06[_0x433654(0x228)],_0x370735[_0x433654(0x1f0)]=_0x2098d4,_0x5308e0[_0x433654(0x245)](_0x370735),this[_0x433654(0x24c)][_0x433654(0x1d0)](_0x370735[_0x433654(0x206)],_0x370735),this[_0x433654(0x224)][_0x433654(0x238)](_0x582a17,_0x5d59c2,_0x1477f1,_0x370735),this[_0x433654(0x224)][_0x433654(0x1f8)](_0x370735);continue;}const _0x3d5153=new _0x80af3();_0x3d5153[_0x433654(0x206)]=(_0x4a9a30==null?void 0x0:_0x4a9a30[_0x433654(0x1f5)](_0x45d716,_0x391076))||_0x24ac99(this[_0x433654(0x224)]),_0x3d5153[_0x433654(0x200)]=_0x370735,_0x3d5153['refOffsetX']=_0x45d716,_0x3d5153[_0x433654(0x1e8)]=_0x391076,_0x3d5153[_0x433654(0x1f0)]=_0x2098d4,this[_0x433654(0x224)][_0x433654(0x238)](_0x582a17,_0x5d59c2,_0x1477f1,_0x3d5153),this[_0x433654(0x224)]['addFormulaDependencyByDefinedName'](_0x3d5153),_0x5308e0[_0x433654(0x245)](_0x3d5153),this[_0x433654(0x24c)]['set'](_0x3d5153[_0x433654(0x206)],_0x3d5153);}}this['_dependencyManagerService'][_0x433654(0x1cc)](_0x1477f1);}}}}[_0x5ead29(0x264)](_0x272e76,_0x2ebbff,_0x49f3dd,_0x406d4d){const _0x19749=_0x5ead29;for(const _0x2018ae of _0x272e76){const _0x253266=_0x2ebbff[_0x2018ae];if(_0x253266==null)continue;const _0x44f2e1=Object['keys'](_0x253266);for(const _0xc2cb0e of _0x44f2e1){const _0x160c6b=new _0x127eb2(_0x253266[_0xc2cb0e]||{}),_0x4b90d4=new Map();_0x160c6b[_0x19749(0x253)]((_0x50a5a7,_0x2e7520,_0x1561f8)=>{const _0x178cf0=_0x19749;if(_0x1561f8==null)return!0x0;const {x:_0x2d4905=0x0,y:_0x588943=0x0,si:_0x5c0f9b}=_0x1561f8;if(!(_0x2d4905===0x0&&_0x588943===0x0&&_0x5c0f9b!=null))return!0x0;const _0x1363f9=this[_0x178cf0(0x231)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520,_0x49f3dd,_0x1561f8),_0x372c4d=this[_0x178cf0(0x224)][_0x178cf0(0x23b)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520);_0x372c4d!=null?_0x1363f9[_0x178cf0(0x206)]=_0x372c4d:(this[_0x178cf0(0x224)][_0x178cf0(0x1f1)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520,_0x1363f9),this['_dependencyManagerService'][_0x178cf0(0x1f8)](_0x1363f9)),_0x4b90d4[_0x178cf0(0x1d0)](_0x5c0f9b,_0x1363f9),_0x406d4d[_0x178cf0(0x245)](_0x1363f9),this[_0x178cf0(0x24c)]['set'](_0x1363f9[_0x178cf0(0x206)],_0x1363f9);}),_0x160c6b[_0x19749(0x253)]((_0x437221,_0x451eae,_0x19dbe8)=>{const _0x1861ee=_0x19749;if(_0x19dbe8==null)return!0x0;const {x:_0x1f9c4f=0x0,y:_0x214820=0x0,si:_0x38cc58}=_0x19dbe8;if(_0x1f9c4f===0x0&&_0x214820===0x0&&_0x38cc58!=null)return!0x0;let _0x5be83a;if(_0x38cc58&&_0x4b90d4[_0x1861ee(0x22b)](_0x38cc58)){const _0xbeeb72=_0x4b90d4[_0x1861ee(0x230)](_0x38cc58);_0x5be83a=this[_0x1861ee(0x20e)](_0xbeeb72,_0x19dbe8);}else _0x5be83a=this['_createFDtree'](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae,_0x49f3dd,_0x19dbe8);const _0x498aa5=this[_0x1861ee(0x224)][_0x1861ee(0x23b)](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae);_0x498aa5!=null?_0x5be83a[_0x1861ee(0x206)]=_0x498aa5:(this[_0x1861ee(0x224)][_0x1861ee(0x1f1)](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae,_0x5be83a),this[_0x1861ee(0x224)]['addFormulaDependencyByDefinedName'](_0x5be83a)),_0x406d4d[_0x1861ee(0x245)](_0x5be83a),this[_0x1861ee(0x24c)][_0x1861ee(0x1d0)](_0x5be83a['treeId'],_0x5be83a);}),_0x4b90d4[_0x19749(0x1fa)]();}}}[_0x5ead29(0x231)](_0x2fdca6,_0x508cb0,_0x2c0fdb,_0x8b48ca,_0x312b8a,_0x31d827){const _0x4bbbb3=_0x5ead29,{f:_0x425605,x:_0x101389=0x0,y:_0x21e651=0x0}=_0x31d827,_0x2f7a64=new _0x14e6f2(_0x24ac99(this['_dependencyManagerService'])),_0x1546e4=_0x312b8a[_0x2fdca6][_0x508cb0];return _0x2f7a64['formula']=_0x425605,_0x2f7a64['unitId']=_0x2fdca6,_0x2f7a64[_0x4bbbb3(0x22e)]=_0x508cb0,_0x2f7a64['row']=_0x2c0fdb,_0x2f7a64[_0x4bbbb3(0x24e)]=_0x8b48ca,_0x2f7a64[_0x4bbbb3(0x212)]=_0x1546e4['rowCount'],_0x2f7a64[_0x4bbbb3(0x226)]=_0x1546e4['columnCount'],_0x2f7a64;}[_0x5ead29(0x20a)](){const _0x4960ed=_0x5ead29,_0x3b2a36=[],_0x1cabfb=new Set(),_0x5a34e7=this[_0x4960ed(0x1e0)]['isForceCalculate'](),_0x5389d8=this[_0x4960ed(0x1e0)]['getDirtyRanges'](),_0x3befde=this['_dependencyManagerService']['searchDependency'](_0x5389d8),_0x152408=this[_0x4960ed(0x1d3)][_0x4960ed(0x25b)](_0x5389d8);for(const _0x585e63 of _0x152408)_0x3befde[_0x4960ed(0x23e)](_0x585e63);for(const [_0x561876,_0x29528f]of this[_0x4960ed(0x24c)])(_0x5a34e7||_0x29528f[_0x4960ed(0x234)]||_0x29528f[_0x4960ed(0x235)](this['_currentConfigService'][_0x4960ed(0x221)]())||_0x3befde[_0x4960ed(0x22b)](_0x561876)&&!_0x29528f[_0x4960ed(0x239)](this[_0x4960ed(0x1e0)][_0x4960ed(0x1e2)]()))&&!_0x1cabfb['has'](_0x561876)&&(_0x3b2a36['push'](_0x29528f),_0x1cabfb[_0x4960ed(0x23e)](_0x561876));for(const [_0x8900bb,_0x8870d1]of this['_dependencyTreeCache'])_0x8870d1['isVirtual']||(_0x8870d1[_0x4960ed(0x261)]['length']=0x0);return _0x3b2a36;}[_0x5ead29(0x1cb)](_0x1d67c2){const _0x55c1be=_0x5ead29;return this[_0x55c1be(0x24c)][_0x55c1be(0x230)](_0x1d67c2);}[_0x5ead29(0x202)](_0x168c19){const _0x3cac23=_0x5ead29;return _0x1718af(_0x168c19['unitId'],_0x168c19['formula'],this[_0x3cac23(0x211)],this[_0x3cac23(0x24a)],this[_0x3cac23(0x1e0)]);}*[_0x5ead29(0x255)](_0x4650f5,_0x910d3e){const _0x4708a0=_0x5ead29,_0x4e9568=_0x4650f5,_0x51eced=new Set();for(;_0x4e9568[_0x4708a0(0x214)]>0x0;){const _0x25df9f=_0x4e9568['pop']();if(_0x51eced[_0x4708a0(0x1fa)](),_0x25df9f===void 0x0||_0x25df9f[_0x4708a0(0x216)]())continue;if(_0x25df9f[_0x4708a0(0x269)]()){yield _0x25df9f,_0x25df9f[_0x4708a0(0x1ea)](),_0x910d3e[_0x4708a0(0x23e)](_0x25df9f['treeId']);continue;}const _0x2ccfbd=this[_0x4708a0(0x224)]['searchDependency'](_0x25df9f[_0x4708a0(0x262)](),_0x910d3e),_0x193440=this['_dependencyRTreeCacheForAddressFunction'][_0x4708a0(0x25b)](_0x25df9f[_0x4708a0(0x262)](),_0x910d3e);for(const _0x4dca44 of _0x193440)_0x2ccfbd[_0x4708a0(0x23e)](_0x4dca44);for(const _0x1e3e0a of _0x2ccfbd){const _0x43dfc7=this[_0x4708a0(0x24c)][_0x4708a0(0x230)](_0x1e3e0a);if(!_0x43dfc7)throw new Error(_0x4708a0(0x210));_0x43dfc7[_0x4708a0(0x269)]()||_0x25df9f[_0x4708a0(0x216)]()||_0x51eced['add'](_0x43dfc7);}if(_0x2ccfbd[_0x4708a0(0x1fa)](),_0x51eced[_0x4708a0(0x1ed)]===0x0)yield _0x25df9f,_0x25df9f[_0x4708a0(0x1ea)](),_0x910d3e[_0x4708a0(0x23e)](_0x25df9f[_0x4708a0(0x206)]);else{_0x25df9f['setAdded'](),_0x4e9568[_0x4708a0(0x245)](_0x25df9f);for(const _0x105ffc of _0x51eced)_0x4e9568[_0x4708a0(0x245)](_0x105ffc);}}_0x4e9568[_0x4708a0(0x214)]=0x0,_0x51eced[_0x4708a0(0x1fa)]();}['_calculateRunList'](_0x4f667c){const _0x4d053c=[],_0x5439fb=new Set();for(const _0x4ff676 of this['_traverse'](_0x4f667c,_0x5439fb))_0x4d053c['push'](_0x4ff676);return _0x4d053c;}}class he extends _0x253ee8{async[_0x5ead29(0x20f)](_0x5e3da8=!0x1){const _0x1f98f5=_0x5ead29;_0x5e3da8?this['_runtimeService'][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x232)]):this[_0x1f98f5(0x25c)]['setFormulaExecuteStage'](_0x2ac839['START_DEPENDENCY']),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this['_runtimeService'][_0x1f98f5(0x218)]());const _0x37d5ac=await this[_0x1f98f5(0x1de)]['generate'](),_0x21333f=this[_0x1f98f5(0x1dc)];_0x5e3da8?(this[_0x1f98f5(0x25c)]['setFormulaExecuteStage'](_0x2ac839[_0x1f98f5(0x267)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x250)](_0x37d5ac[_0x1f98f5(0x214)])):(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x1cd)]),this['_runtimeService'][_0x1f98f5(0x1ef)](_0x37d5ac[_0x1f98f5(0x214)])),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this['_runtimeService'][_0x1f98f5(0x218)]());let _0x1a0cdf=[];const _0x1cdc9d=this['_configService'][_0x1f98f5(0x1e6)](_0xad29e3),_0x569946=(_0x1cdc9d==null?void 0x0:_0x1cdc9d['intervalCount'])||_0x49147d;let _0x301061=0x0;const _0x494444=_0x37d5ac['length'];for(;_0x37d5ac[_0x1f98f5(0x214)]>0x0;){const _0x6d537a=_0x37d5ac[_0x1f98f5(0x24f)](),_0xcf11ce={'node':_0x1718af(_0x6d537a[_0x1f98f5(0x205)],_0x6d537a[_0x1f98f5(0x241)],this[_0x1f98f5(0x211)],this[_0x1f98f5(0x24a)],this[_0x1f98f5(0x1e0)]),'refOffsetX':_0x6d537a[_0x1f98f5(0x25e)],'refOffsetY':_0x6d537a[_0x1f98f5(0x1e8)]},_0x2d08eb=_0x6d537a[_0x1f98f5(0x1f4)];if(_0x301061%_0x569946===0x0&&(await new Promise(_0x1014e5=>{const _0x1a6e60=_0x1f98f5,_0x2a6b6f=_0x5ec920(_0x1014e5);_0x1a0cdf[_0x1a6e60(0x245)](_0x2a6b6f);}),_0x5e3da8?(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x233)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x1e5)](_0x301061+0x1)):(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x21a)]),this['_runtimeService'][_0x1f98f5(0x243)](_0x301061+0x1)),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this[_0x1f98f5(0x25c)][_0x1f98f5(0x218)]()),this[_0x1f98f5(0x25c)]['isStopExecution']()||_0xcf11ce==null&&_0x2d08eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2ac839[_0x1f98f5(0x251)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x23f)](),this[_0x1f98f5(0x223)][_0x1f98f5(0x227)](this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]());return;}this[_0x1f98f5(0x25c)]['setCurrent'](_0x6d537a['row'],_0x6d537a[_0x1f98f5(0x24e)],_0x6d537a[_0x1f98f5(0x212)],_0x6d537a['columnCount'],_0x6d537a[_0x1f98f5(0x22e)],_0x6d537a[_0x1f98f5(0x205)]);let _0xca26bb;if(_0x2d08eb!=null&&_0x6d537a[_0x1f98f5(0x259)]!=null){const {runtimeCellData:_0x2989b0,dirtyRanges:_0x3b93f2}=_0x2d08eb(this['_currentConfigService'][_0x1f98f5(0x1f4)](),this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x6d537a[_0x1f98f5(0x259)],_0x2989b0),this['_runtimeService']['setRuntimeFeatureRange'](_0x6d537a[_0x1f98f5(0x259)],_0x3b93f2);}else _0xcf11ce!=null&&(_0x21333f[_0x1f98f5(0x237)](_0xcf11ce[_0x1f98f5(0x201)])?_0xca26bb=await _0x21333f[_0x1f98f5(0x257)](_0xcf11ce):_0xca26bb=_0x21333f[_0x1f98f5(0x249)](_0xcf11ce),_0x6d537a['formulaId']!=null?this['_runtimeService']['setRuntimeOtherData'](_0x6d537a[_0x1f98f5(0x220)],_0x6d537a[_0x1f98f5(0x25e)],_0x6d537a['refOffsetY'],_0xca26bb):this[_0x1f98f5(0x25c)][_0x1f98f5(0x1ca)](_0xca26bb));_0x301061++;}return _0x1a0cdf[_0x1f98f5(0x1f9)](_0x318efc=>_0x318efc()),_0x1a0cdf=[],_0x494444>0x0?this[_0x1f98f5(0x25c)]['markedAsSuccessfullyExecuted']():_0x5e3da8||this['_runtimeService'][_0x1f98f5(0x21b)](),this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]();}}class pe extends _0x53e14c{constructor(){const _0x40f7a7=_0x5ead29;super(...arguments),C(this,_0x40f7a7(0x1fb),new Map()),C(this,'_dependencyRTreeCache',new _0x49e7cd(!0x0));}[_0x5ead29(0x21d)](){const _0x420d61=_0x5ead29;this[_0x420d61(0x1dd)][_0x420d61(0x1fa)](),this[_0x420d61(0x1ee)][_0x420d61(0x1fa)](),this['_formulaData'][_0x420d61(0x1fa)](),this[_0x420d61(0x1ec)][_0x420d61(0x1fa)](),this[_0x420d61(0x1fb)][_0x420d61(0x1fa)](),this[_0x420d61(0x1d4)](),this['_otherFormulaDataMainData'][_0x420d61(0x1fa)]();}['addOtherFormulaDependency'](_0x5ca806,_0x37f7f0,_0x573591,_0x14adcb){const _0x196d1e=_0x5ead29;this['_otherFormulaData'][_0x196d1e(0x22b)](_0x5ca806)||this[_0x196d1e(0x1dd)][_0x196d1e(0x1d0)](_0x5ca806,new Map());const _0x470a8d=this['_otherFormulaData']['get'](_0x5ca806);_0x470a8d[_0x196d1e(0x22b)](_0x37f7f0)||_0x470a8d[_0x196d1e(0x1d0)](_0x37f7f0,new Map());const _0x433bf7=_0x470a8d[_0x196d1e(0x230)](_0x37f7f0);_0x433bf7[_0x196d1e(0x22b)](_0x573591)||_0x433bf7[_0x196d1e(0x1d0)](_0x573591,new _0x127eb2()),_0x433bf7[_0x196d1e(0x230)](_0x573591)[_0x196d1e(0x246)](_0x14adcb[_0x196d1e(0x25e)],_0x14adcb[_0x196d1e(0x1e8)],_0x14adcb[_0x196d1e(0x206)]);}[_0x5ead29(0x21c)](_0x43fce9,_0x2d3d8b,_0x9a415f){const _0x146f82=_0x5ead29,_0xf6c3b9=this[_0x146f82(0x1dd)]['get'](_0x43fce9);if(_0xf6c3b9&&_0xf6c3b9[_0x146f82(0x22b)](_0x2d3d8b)){const _0x5b9174=_0xf6c3b9[_0x146f82(0x230)](_0x2d3d8b);_0x9a415f[_0x146f82(0x1f9)](_0x61ce9b=>{const _0x4e3652=_0x146f82,_0x4a304a=_0x5b9174[_0x4e3652(0x230)](_0x61ce9b);_0x4a304a!=null&&(_0x4a304a[_0x4e3652(0x253)]((_0x1bff54,_0x18b135,_0x135e5a)=>{const _0x39682e=_0x4e3652;this[_0x39682e(0x208)](_0x135e5a),this[_0x39682e(0x1ff)](_0x135e5a);}),_0x5b9174[_0x4e3652(0x1fd)](_0x61ce9b),this[_0x4e3652(0x20c)][_0x4e3652(0x1fd)](_0x61ce9b));}),_0x5b9174['size']===0x0&&_0xf6c3b9[_0x146f82(0x1fd)](_0x2d3d8b),_0xf6c3b9[_0x146f82(0x1ed)]===0x0&&this['_otherFormulaData'][_0x146f82(0x1fd)](_0x43fce9);}}[_0x5ead29(0x23d)](_0x2443b1,_0x42a50c){const _0x280c9a=_0x5ead29,_0x4ab87f=this['_otherFormulaData'][_0x280c9a(0x230)](_0x2443b1);if(_0x42a50c&&_0x4ab87f&&_0x4ab87f[_0x280c9a(0x22b)](_0x42a50c)){const _0x37dcd4=_0x4ab87f['get'](_0x42a50c);this[_0x280c9a(0x229)](_0x2443b1,_0x42a50c);for(const _0x268ddd of _0x37dcd4['keys']()){const _0x24b28a=_0x37dcd4[_0x280c9a(0x230)](_0x268ddd);_0x24b28a!=null&&(_0x24b28a[_0x280c9a(0x253)]((_0x372dc2,_0xd06698,_0x2c659b)=>{const _0x4a2786=_0x280c9a;this[_0x4a2786(0x1fb)][_0x4a2786(0x230)](_0x2c659b)&&this[_0x4a2786(0x1ff)](_0x2c659b);}),this[_0x280c9a(0x20c)][_0x280c9a(0x1fd)](_0x268ddd));}_0x37dcd4[_0x280c9a(0x1fa)]();}else{if(_0x4ab87f){for(const _0x38cf24 of _0x4ab87f[_0x280c9a(0x265)]()){const _0x288c24=_0x4ab87f[_0x280c9a(0x230)](_0x38cf24);this[_0x280c9a(0x229)](_0x2443b1,_0x38cf24);for(const _0x5bbce8 of _0x288c24[_0x280c9a(0x265)]()){const _0xd33c81=_0x288c24[_0x280c9a(0x230)](_0x5bbce8);_0xd33c81!=null&&(_0xd33c81['forValue']((_0x1d83fd,_0x1e7630,_0x3dc727)=>{const _0x1e6262=_0x280c9a;this[_0x1e6262(0x1fb)][_0x1e6262(0x230)](_0x3dc727)&&this[_0x1e6262(0x1ff)](_0x3dc727);}),this[_0x280c9a(0x20c)]['delete'](_0x5bbce8));}}this['_otherFormulaData']['delete'](_0x2443b1);}}}[_0x5ead29(0x1d6)](_0x90102f,_0x2d1f37,_0x244c19,_0x4e30b){const _0x14c7cd=_0x5ead29;this['_featureFormulaData'][_0x14c7cd(0x22b)](_0x90102f)||this['_featureFormulaData'][_0x14c7cd(0x1d0)](_0x90102f,new Map());const _0x7ef057=this[_0x14c7cd(0x1ee)][_0x14c7cd(0x230)](_0x90102f);_0x7ef057[_0x14c7cd(0x22b)](_0x2d1f37)||_0x7ef057[_0x14c7cd(0x1d0)](_0x2d1f37,new Map()),_0x7ef057[_0x14c7cd(0x230)](_0x2d1f37)[_0x14c7cd(0x1d0)](_0x244c19,_0x4e30b['treeId']);}['removeFeatureFormulaDependency'](_0x2acd52,_0x45e4ec,_0x29de63){const _0x3ae11f=_0x5ead29,_0x5bcdf4=this[_0x3ae11f(0x1ee)]['get'](_0x2acd52);if(_0x5bcdf4&&_0x5bcdf4['has'](_0x45e4ec)){const _0x4090ea=_0x5bcdf4[_0x3ae11f(0x230)](_0x45e4ec);_0x29de63[_0x3ae11f(0x1f9)](_0x27405b=>{const _0x187352=_0x3ae11f,_0x304eca=_0x4090ea[_0x187352(0x230)](_0x27405b);_0x304eca!=null&&(this[_0x187352(0x208)](_0x304eca),_0x4090ea['delete'](_0x27405b),this[_0x187352(0x1ff)](_0x304eca));});}}[_0x5ead29(0x22a)](_0x1d4f11,_0x536416){const _0x2326bc=_0x5ead29,_0x5003dc=this['_featureFormulaData'][_0x2326bc(0x230)](_0x1d4f11);if(_0x536416&&_0x5003dc&&_0x5003dc[_0x2326bc(0x22b)](_0x536416)){const _0x4d1ec2=_0x5003dc[_0x2326bc(0x230)](_0x536416);this[_0x2326bc(0x229)](_0x1d4f11,_0x536416),_0x4d1ec2[_0x2326bc(0x1f9)](_0x580863=>{const _0x318e68=_0x2326bc;_0x580863!=null&&this[_0x318e68(0x1ff)](_0x580863);}),_0x4d1ec2[_0x2326bc(0x1fa)]();}else _0x5003dc&&(_0x5003dc[_0x2326bc(0x1f9)]((_0x3f58cf,_0x47c89d)=>{const _0x139f45=_0x2326bc;this[_0x139f45(0x229)](_0x1d4f11,_0x47c89d),_0x3f58cf['forEach'](_0x128dc6=>{const _0x5e427a=_0x139f45;_0x128dc6!=null&&this[_0x5e427a(0x1ff)](_0x128dc6);});}),this[_0x2326bc(0x1ee)]['delete'](_0x1d4f11));}[_0x5ead29(0x1f1)](_0x325dd4,_0x9e4c47,_0x4e6ea0,_0x4d8a42,_0x1b0e83){const _0x346f0f=_0x5ead29;this['_formulaData'][_0x346f0f(0x22b)](_0x325dd4)||this[_0x346f0f(0x1f6)][_0x346f0f(0x1d0)](_0x325dd4,new Map());const _0x543816=this[_0x346f0f(0x1f6)]['get'](_0x325dd4);_0x543816[_0x346f0f(0x22b)](_0x9e4c47)||_0x543816[_0x346f0f(0x1d0)](_0x9e4c47,new _0x127eb2()),_0x543816[_0x346f0f(0x230)](_0x9e4c47)[_0x346f0f(0x246)](_0x4e6ea0,_0x4d8a42,_0x1b0e83[_0x346f0f(0x206)]);}[_0x5ead29(0x24b)](_0x27b24f,_0x12868f,_0x1fb9c9,_0xa62c96){const _0x2b20fd=_0x5ead29,_0x4968c=this[_0x2b20fd(0x1f6)][_0x2b20fd(0x230)](_0x27b24f);if(_0x4968c&&_0x4968c['has'](_0x12868f)){const _0x50d73d=_0x4968c[_0x2b20fd(0x230)](_0x12868f),_0x4aba9f=_0x50d73d[_0x2b20fd(0x1f5)](_0x1fb9c9,_0xa62c96);if(_0x4aba9f==null)return;this[_0x2b20fd(0x208)](_0x4aba9f),_0x50d73d[_0x2b20fd(0x225)](_0x1fb9c9,_0xa62c96),this[_0x2b20fd(0x1ff)](_0x4aba9f);}}[_0x5ead29(0x247)](_0xff49dc,_0x27decd){const _0x8e311b=_0x5ead29,_0x39ddf1=this[_0x8e311b(0x1f6)]['get'](_0xff49dc);if(_0x27decd&&_0x39ddf1&&_0x39ddf1[_0x8e311b(0x22b)](_0x27decd)){const _0x4555ee=_0x39ddf1['get'](_0x27decd);this[_0x8e311b(0x229)](_0xff49dc,_0x27decd),_0x4555ee['forValue']((_0x2606ea,_0x33a0fe,_0x4b2177)=>{const _0x1cbd8e=_0x8e311b;if(_0x4b2177==null)return!0x0;this[_0x1cbd8e(0x1ff)](_0x4b2177);}),_0x4555ee[_0x8e311b(0x21d)]();}else _0x39ddf1&&(_0x39ddf1[_0x8e311b(0x1f9)]((_0xd3ea31,_0x31ae7f)=>{const _0x297a12=_0x8e311b;this[_0x297a12(0x229)](_0xff49dc,_0x31ae7f),_0xd3ea31[_0x297a12(0x253)]((_0x252941,_0x214e05,_0x470e0f)=>{const _0x1da3f1=_0x297a12;if(_0x470e0f==null)return!0x0;this[_0x1da3f1(0x1ff)](_0x470e0f);});}),this[_0x8e311b(0x1f6)][_0x8e311b(0x1fd)](_0xff49dc));}[_0x5ead29(0x208)](_0x149daf){const _0x3589be=_0x5ead29;if(_0x149daf==null)return;const _0x2822e0=this[_0x3589be(0x1fb)]['get'](_0x149daf);if(_0x2822e0){const _0x58cec5=[];for(const [_0x2db5fd,_0x1c1945]of _0x2822e0)for(const [_0x2fa29e,_0x1b0363]of _0x1c1945)_0x58cec5[_0x3589be(0x245)]({'unitId':_0x2db5fd,'sheetId':_0x2fa29e,'range':_0x1b0363,'id':_0x149daf});this[_0x3589be(0x1ec)][_0x3589be(0x258)](_0x58cec5);}}['removeFormulaDependencyByDefinedName'](_0xafda1f,_0x5eeaed){const _0x2d9f75=_0x5ead29,_0x250ec2=this[_0x2d9f75(0x1f7)]['get'](_0xafda1f);if(_0x250ec2){const _0x218727=_0x250ec2['get'](_0x5eeaed);if(_0x218727){for(const _0x5686c5 of _0x218727)this[_0x2d9f75(0x208)](_0x5686c5),this[_0x2d9f75(0x1ff)](_0x5686c5);_0x218727[_0x2d9f75(0x1fa)]();}}}[_0x5ead29(0x1ce)](){const _0x5dcbe9=_0x5ead29;this[_0x5dcbe9(0x1ec)][_0x5dcbe9(0x1ce)]();}[_0x5ead29(0x1d1)](){const _0x261258=_0x5ead29;this[_0x261258(0x1ec)]['closeKdTree']();}[_0x5ead29(0x1ff)](_0x10d125){const _0x5c949e=_0x5ead29;_0x10d125!=null&&this[_0x5c949e(0x1fb)][_0x5c949e(0x1fd)](_0x10d125);}[_0x5ead29(0x209)](_0x491556){const _0x2b5eb2=_0x5ead29;var _0x2086a1,_0x1abb1a;const _0x59b6ef=_0x491556[_0x2b5eb2(0x261)];let _0x1448fa=this[_0x2b5eb2(0x1fb)]['get'](_0x491556[_0x2b5eb2(0x206)]);for(let _0x23308b=0x0;_0x23308b<_0x59b6ef['length'];_0x23308b++){const _0x374e2e=_0x59b6ef[_0x23308b];let {unitId:_0xa7a0ce,sheetId:_0x3b98e9,range:_0x39711d}=_0x374e2e;_0x1448fa||(_0x1448fa=new Map(),this[_0x2b5eb2(0x1fb)]['set'](_0x491556[_0x2b5eb2(0x206)],_0x1448fa)),_0x1448fa[_0x2b5eb2(0x22b)](_0xa7a0ce)||_0x1448fa[_0x2b5eb2(0x1d0)](_0xa7a0ce,new Map());const _0x18eacb=(_0x2086a1=_0x1448fa==null?void 0x0:_0x1448fa[_0x2b5eb2(0x230)](_0xa7a0ce))==null?void 0x0:_0x2086a1[_0x2b5eb2(0x230)](_0x3b98e9);_0x18eacb&&(_0x39711d={'startRow':Math['min'](_0x39711d['startRow'],_0x18eacb[_0x2b5eb2(0x1f2)]),'startColumn':Math['min'](_0x39711d[_0x2b5eb2(0x254)],_0x18eacb[_0x2b5eb2(0x254)]),'endRow':Math[_0x2b5eb2(0x263)](_0x39711d['endRow'],_0x18eacb[_0x2b5eb2(0x240)]),'endColumn':Math[_0x2b5eb2(0x263)](_0x39711d[_0x2b5eb2(0x1d7)],_0x18eacb[_0x2b5eb2(0x1d7)])}),(_0x1abb1a=_0x1448fa['get'](_0xa7a0ce))==null||_0x1abb1a[_0x2b5eb2(0x1d0)](_0x3b98e9,_0x39711d);}}}var fe=Object[_0x5ead29(0x1d2)],_e=(_0x5c82fa,_0x1608bc,_0x546181,_0xd96308)=>{for(var _0x571fa5=_0xd96308>0x1?void 0x0:_0xd96308?fe(_0x1608bc,_0x546181):_0x1608bc,_0x270faf=_0x5c82fa['length']-0x1,_0xdaaa44;_0x270faf>=0x0;_0x270faf--)(_0xdaaa44=_0x5c82fa[_0x270faf])&&(_0x571fa5=_0xdaaa44(_0x571fa5)||_0x571fa5);return _0x571fa5;};function _0x172f(){const _0x476cb3=['CURRENTLY_CALCULATING','markedAsNoFunctionsExecuted','removeOtherFormulaDependency','reset','_injector','_getFeatureFormulaTree','formulaId','getDirtyNameMap','hasOtherFormulaDataMainData','_executionCompleteListener$','_dependencyManagerService','realDeleteValue','columnCount','next','OTHER_FORMULA','_removeDependencyRTreeCacheById','clearFeatureFormulaDependency','has','149934urUqPV','getUnitData','subUnitId','_configService','get','_createFDtree','START_DEPENDENCY_ARRAY_FORMULA','CURRENTLY_CALCULATING_ARRAY_FORMULA','isDirty','dependencySheetName','_calculateRunList','checkAsyncNode','addOtherFormulaDependency','isExcludeRange','6447410iuQfeK','getFormulaDependency','20434thHLdU','clearOtherFormulaDependency','add','markedAsStopFunctionsExecuted','endRow','formula','2648ZuoEgo','setCompletedFormulasCount','FEATURE_FORMULA','push','setValue','clearFormulaDependency','getFormulaData','execute','_astTreeBuilder','removeFormulaDependency','_dependencyTreeCache','1107pVqDIh','column','pop','setTotalArrayFormulasToCalculate','IDLE','_executionInProgressListener$','forValue','startColumn','_traverse','dispose','executeAsync','bulkRemove','featureId','type','bulkSearch','_runtimeService','setFormulaExecuteStage','refOffsetX','371HOiBls','notExecuteFormula','rangeList','toRTreeItem','max','_registerFormulas','keys','l7parqup\x20vEaGt1rqup(3qaEpBE,\x201703qaAEt)\x20{\x20\x20\x20\x20rGt\x20{\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x203qaEpBE5pluX6GrFGG6t\x20=\x203qaEpBE.B13qr(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20uGqDqpTEBB6DE\x20=\x20jIPk.16GBE(6ru0(3qaEpBE5pluX6GrFGG6t[e]));\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!uGqDqpTEBB6DE.7v)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uGqDqpTEBB6DE.7v\x20=\x20k7z0EG(3qaEpBE5pluX6GrFGG6t[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20qBSuGnEG\x20=\x20rt1Eul\x20SuGnEG23u063Iau1E\x20!==\x20\x277pvElqpEv\x27\x20&&\x20BE3l\x20qpBr6paEul\x20SuGnEG23u063Iau1E;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20auprEQr\x20=\x20qBSuGnEG\x20?\x20BE3l\x20:\x20gqpvug;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[e]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(zEBB6DESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[f]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(BqDp6r7GESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDps63qv\x20=\x20auprEQr.__9EGqlt__(BqDp6r7GE,\x20zEBB6DE,\x201703qaAEt);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20vuz6qp\x20=\x20uGqDqpTEBB6DE.vz;\x20\x20\x20\x20\x20\x20\x20\x20l7parqup\x20qBYuz6qpT6raRqpD(uX6rrEGp,\x20uHuBr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGp\x20=\x20uX6rrEGp.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBr\x20=\x20uHuBr.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpX6GrB\x20=\x2016rrEGp.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrX6GrB\x20=\x20RuBr.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!16rrEGp.qpa37vEB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGp\x20===\x20RuBr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(16rrEGpX6GrB.3EpDrR\x20<\x20e\x20||\x2016rrEGpX6GrB[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20l63BE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpI7llqQ\x20=\x2016rrEGpX6GrB.B3qaE(d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrI7llqQ\x20=\x20RuBrX6GrB.B3qaE(-16rrEGpX6GrB.3EpDrR\x20+\x20d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGpI7llqQ\x20===\x20RuBrI7llqQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203Er\x20vuz6qps63qv\x20=\x20(vuz6qp\x20&&\x20vuz6qp.3EpDrR)\x20?\x20vuz6qp.BuzE((vz5rEz)\x20=>\x20qBYuz6qpT6raRqpD(vz5rEz,\x203ua6rqup.RuBrp6zE))\x20:\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(3ua6rqup.RuBrp6zE\x20===\x20\x273ua63RuBr\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vuz6qps63qv\x20=\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20963qv\x20=\x20BqDps63qv\x20&&\x20vuz6qps63qv;\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20uGqDqpTEBB6DE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a6raR\x20(EGGuG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv:\x20l63BE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','START_CALCULATION_ARRAY_FORMULA','8FWWwvB','isAdded','_initializeWithOverride','_isCyclicUtilMap','setRuntimeData','_getTreeById','addOtherFormulaDependencyMainData','START_CALCULATION','openKdTree','symbol','set','closeKdTree','getOwnPropertyDescriptor','_dependencyRTreeCacheForAddressFunction','_restDependencyTreeId','_getFirstCellOfRange','addFeatureFormulaDependency','endColumn','valid','33WzfGjy','featureDirtyRanges','_generateTreeList','_interpreter','_otherFormulaData','_formulaDependencyGenerator','1miElrR','_currentConfigService','searchDependency','getExcludedRange','getOtherFormulaData','137618zmqdhV','setCompletedArrayFormulasCount','getConfig','_registerOtherFormulas','refOffsetY','dirtyRanges','setSkip','12995811eeboyS','_dependencyRTreeCache','size','_featureFormulaData','setTotalFormulasToCalculate','isCache','addFormulaDependency','startRow','resolve','getDirtyData','getValue','_formulaData','_definedNameMap','addFormulaDependencyByDefinedName','forEach','clear','_allTreeMap','_checkIsCycleDependency','delete','1680DgFWIJ','_removeAllTreeMap','refTree','node','_getTreeNode','enableCycleDependency','_config','unitId','treeId','_updateRangeFlatten','_removeDependencyRTreeCache','_addAllTreeMap','_getUpdateTreeListAndMakeDependency','message','_otherFormulaDataMainData','getAllRuntimeData','_createVirtualFDtree','_apply','ParentDependencyTree\x20object\x20is\x20null','_lexer','rowCount','_otherFormulaManagerService','length','9402255JlOQAe','isSkip','getFeatureFormulaDependency','getRuntimeState','return\x20'];_0x172f=function(){return _0x476cb3;};return _0x172f();}const me=Number['parseInt'](0x68b7ff46);let N=class extends _0x4b48c1{[_0x5ead29(0x26a)](){const _0x22cc92=_0x5ead29;var _0x157bd5,_0x4846be;this['_initLicenseValid']()?(_0x157bd5=this[_0x22cc92(0x204)])!=null&&_0x157bd5['notExecuteFormula']||[[_0x309d57,{'useClass':he}],[_0x272aa6,{'useClass':pe}],[_0x18553a,{'useClass':de}]]['forEach'](_0x3bec6f=>this[_0x22cc92(0x21e)]['add'](_0x3bec6f)):(_0x4846be=this[_0x22cc92(0x204)])!=null&&_0x4846be[_0x22cc92(0x260)]||[[_0x309d57,{'useClass':_0x253ee8}],[_0x272aa6,{'useClass':_0x97377c}],[_0x18553a,{'useClass':_0x1dfe70}]]['forEach'](_0x327ca5=>this[_0x22cc92(0x21e)]['add'](_0x327ca5));}['_initLicenseValid'](){const _0x2d9925=_0x5ead29;var _0x3fff85;const _0x562f0d=(_0x3fff85=this[_0x2d9925(0x22f)][_0x2d9925(0x1e6)](_0x50d3b4))!=null?_0x3fff85:{},{ls:_0x565aef,pbk:_0x4ddc26}=_0x562f0d;if(!_0x565aef||!_0x4ddc26)return!0x1;const _0x52c887=_0x2a0b8b(le,ue),_0x4e6e51=new Function(_0x2d9925(0x219)+_0x52c887)()(_0x565aef,_0x4ddc26),_0x497e86=_0x4e6e51[_0x2d9925(0x20b)];return _0x4e6e51[_0x2d9925(0x1d8)]&&_0x29c842(_0x497e86,'sf',me)?_0x43008c(_0x497e86,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=_e([_0x5a6cb9(_0x1e218b)],N);export{N as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x2928(){var _0x316eb2=['72LaPRWy','108tYuhqC','120TtpjiK','2810284aKvUjR','6ETvbSl','314249ZbchCQ','85155sLQzaP','42gJTDOo','233710iIToPo','8629412eYquCr','17899sKnsvG','4904ISmvAr','50502PvhZmx'];_0x2928=function(){return _0x316eb2;};return _0x2928();}(function(_0x168e74,_0x48316e){var _0xe7c76e=_0x2c0e,_0x1bfe88=_0x168e74();while(!![]){try{var _0x378cc0=parseInt(_0xe7c76e(0x95))/0x1*(parseInt(_0xe7c76e(0x96))/0x2)+parseInt(_0xe7c76e(0x93))/0x3*(-parseInt(_0xe7c76e(0x92))/0x4)+-parseInt(_0xe7c76e(0x91))/0x5*(parseInt(_0xe7c76e(0x8e))/0x6)+-parseInt(_0xe7c76e(0x99))/0x7*(-parseInt(_0xe7c76e(0x9a))/0x8)+parseInt(_0xe7c76e(0x8f))/0x9*(-parseInt(_0xe7c76e(0x97))/0xa)+-parseInt(_0xe7c76e(0x98))/0xb+parseInt(_0xe7c76e(0x90))/0xc*(parseInt(_0xe7c76e(0x94))/0xd);if(_0x378cc0===_0x48316e)break;else _0x1bfe88['push'](_0x1bfe88['shift']());}catch(_0x2bec2b){_0x1bfe88['push'](_0x1bfe88['shift']());}}}(_0x2928,0xf2d53));function _0x2c0e(_0x146718,_0x51b22a){var _0x292813=_0x2928();return _0x2c0e=function(_0x2c0ed3,_0x1f46ce){_0x2c0ed3=_0x2c0ed3-0x8e;var _0x1251cd=_0x292813[_0x2c0ed3];return _0x1251cd;},_0x2c0e(_0x146718,_0x51b22a);}export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x4ca092=_0x4cef;(function(_0x2397bd,_0x57125e){const _0x46a9d8=_0x4cef,_0x101cea=_0x2397bd();while(!![]){try{const _0x4cd9dc=parseInt(_0x46a9d8(0x1bb))/0x1+-parseInt(_0x46a9d8(0x156))/0x2+parseInt(_0x46a9d8(0x1cf))/0x3*(-parseInt(_0x46a9d8(0x1b3))/0x4)+parseInt(_0x46a9d8(0x1a0))/0x5+-parseInt(_0x46a9d8(0x15b))/0x6+-parseInt(_0x46a9d8(0x181))/0x7*(-parseInt(_0x46a9d8(0x1de))/0x8)+parseInt(_0x46a9d8(0x1c3))/0x9;if(_0x4cd9dc===_0x57125e)break;else _0x101cea['push'](_0x101cea['shift']());}catch(_0x106c22){_0x101cea['push'](_0x101cea['shift']());}}}(_0x525b,0x3687a));var z=Object[_0x4ca092(0x1c2)],q=(_0xd9e95b,_0x39e047,_0xa082ab)=>_0x39e047 in _0xd9e95b?z(_0xd9e95b,_0x39e047,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa082ab}):_0xd9e95b[_0x39e047]=_0xa082ab,F=(_0x2a5d22,_0x474733,_0x110c38)=>q(_0x2a5d22,typeof _0x474733!=_0x4ca092(0x1be)?_0x474733+'':_0x474733,_0x110c38);function _0x525b(){const _0x51ef22=['node','_currentConfigService','openKdTree','_dependencyRTreeCacheForAddressFunction','refOffsetY','bulkRemove','_definedNameMap','setFormulaExecuteStage','_lexer','next','_initLicenseValid','forValue','rowCount','_configService','rangeList','addOtherFormulaDependency','addFormulaDependencyByDefinedName','_executionInProgressListener$','862480NfwnlX','getDirtyRanges','dirtyRanges','markedAsNoFunctionsExecuted','_config','2541306BwebAC','START_DEPENDENCY_ARRAY_FORMULA','isDirty','START_DEPENDENCY','getUnitData','removeFormulaDependency','realDeleteValue','getDirtyData','resolve','refOffsetX','add','length','getFormulaData','_removeAllTreeMap','CURRENTLY_CALCULATING','_generateTreeList','max','setCompletedArrayFormulasCount','_removeDependencyRTreeCacheById','isAdded','bulkSearch','_getTreeById','getOtherFormulaData','execute','unitId','_checkIsCycleDependency','_isCyclicUtilMap','isStopExecution','subUnitId','startRow','searchDependency','_otherFormulaData','_registerFormulas','clearFormulaDependency','valid','START_CALCULATION_ARRAY_FORMULA','ParentDependencyTree\x20object\x20is\x20null','addOtherFormulaDependencyMainData','7gVRnMR','removeFormulaDependencyByDefinedName','_featureFormulaData','enableCycleDependency','_addAllTreeMap','dependencySheetName','endColumn','checkAsyncNode','featureDirtyRanges','addFormulaDependency','keys','featureId','_getTreeNode','startColumn','getDirtyNameMap','executeAsync','_otherFormulaDataMainData','FEATURE_FORMULA','getClearDependencyTreeCache','_formulaDependencyGenerator','row','size','_allTreeMap','getOtherFormulaDependency','_executionCompleteListener$','reset','_interpreter','column','formulaId','type','parseInt','874010crzuIY','_dependencyTreeCache','markedAsStopFunctionsExecuted','_dependencyRTreeCache','setSkip','removeOtherFormulaDependency','_updateRangeFlatten','_traverse','clearFeatureFormulaDependency','markedAsSuccessfullyExecuted','setValue','_removeDependencyRTreeCache','OTHER_FORMULA','setCompletedFormulasCount','columnCount','setAdded','notExecuteFormula','_convertDirtyRangesToUnitRange','_restDependencyTreeId','42004DJRmEZ','_createVirtualFDtree','_apply','clear','_astTreeBuilder','CURRENTLY_CALCULATING_ARRAY_FORMULA','_formulaData','treeId','102270tZzrLC','delete','generate','symbol','return\x20','_getUpdateTreeListAndMakeDependency','removeFeatureFormulaDependency','defineProperty','7071462BUekmf','pop','dispose','formula','_runtimeService','hasOtherFormulaDataMainData','getRuntimeState','set','getOwnPropertyDescriptor','setRuntimeFeatureRange','getAllRuntimeData','push','12XJUBlW','getValue','intervalCount','forEach','_createFDtree','getConfig','_getFeatureFormulaTree','getFeatureFormulaDependency','setRuntimeData','_calculateRunList','closeKdTree','clearOtherFormulaDependency','isCache','_initializeWithOverride','_injector','458872pJZYho','refTree','getFormulaDependency','get','_registerOtherFormulas','_dependencyManagerService','isSkip','has','addFeatureFormulaDependency'];_0x525b=function(){return _0x51ef22;};return _0x525b();}import{UniverLicensePlugin as _0x3a8b9e,LS_CONFIG_KEY as _0x1cca80,unshiftString as _0x3fff04,isFeatureAuthorizedWithinTime as _0x30a9da,getSheetFeatureLimit as _0x520df0}from'@univerjs-pro/license';import{ObjectMatrix as _0x2d7fed,requestImmediateMacroTask as _0xfd659d,RTree as _0x2b8f89,DependentOn as _0x4ad9a6}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1d492f,generateRandomDependencyTreeId as _0x37361d,FormulaDependencyTree as _0xfc6ddc,FormulaDependencyTreeType as _0x5ba443,FormulaDependencyTreeVirtual as _0x4e6379,generateAstNode as _0x111411,CalculateFormulaService as _0x4a8b0b,FormulaExecuteStageType as _0x25bb3e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x32789b,DEFAULT_INTERVAL_COUNT as _0x59b993,DependencyManagerBaseService as _0x4ec26,UniverFormulaEnginePlugin as _0xc879d4,ICalculateFormulaService as _0x1e5bc9,IDependencyManagerService as _0x4ac2a4,IFormulaDependencyGenerator as _0x583a96,DependencyManagerService as _0x20639a}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const oe={0x0:'K',0x1:'f',0x2:'L',0x3:'W',0x4:'V',0x5:'M',0x6:'u',0x7:'J',0x8:'m',0x9:'Q','a':'0','h':'1','I':'2','Z':'3','z':'4','m':'5','Q':'6','s':'7','n':'8','S':'9','M':'a','q':'b','L':'c','T':'d','l':'e','e':'g','P':'h','N':'i','O':'j','i':'k','G':'l','C':'n','U':'o','R':'p','w':'q','Y':'r','p':'s','V':'t','y':'v','x':'w','J':'x','o':'y','F':'z','d':'A','t':'B','g':'C','u':'D','A':'E','r':'F','f':'G','c':'H','K':'I','E':'N','D':'O','W':'P','H':'R','b':'S','j':'T','X':'U','k':'X','v':'Y','B':'Z'},ue='16CLVNUC\x20TlLYoRVNUC(GNLlCpl,\x20R6qGNL0lo)\x20{\x20\x20\x20\x20VYo\x20{\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20GNLlCplKC1UWMYVdYYMo\x20=\x20GNLlCpl.pRGNV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20UYNeNC5lppMel\x20=\x207bDE.RMYpl(MVUq(GNLlCplKC1UWMYVdYYMo[I]));\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!UYNeNC5lppMel.6T)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UYNeNC5lppMel.6T\x20=\x20E68qlY(GNLlCplKC1UWMYVdYYMo[z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20Np3UYilY\x20=\x20VoRlU1\x203UYilYfGUqMGbLURl\x20!==\x20\x276CTl1NClT\x27\x20&&\x20plG1\x20NCpVMCLlU1\x203UYilYfGUqMGbLURl;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20LUCVlJV\x20=\x20Np3UYilY\x20?\x20plG1\x20:\x20xNCTUx;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[I]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(8lppMel3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[Z]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(pNeCMV6Yl3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeC4MGNT\x20=\x20LUCVlJV.__ylYN1o__(pNeCMV6Yl,\x208lppMel,\x20R6qGNL0lo);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20TU8MNC\x20=\x20UYNeNC5lppMel.T8;\x20\x20\x20\x20\x20\x20\x20\x2016CLVNUC\x20NpuU8MNC5MVLPNCe(UWMVVlYC,\x20UcUpV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYC\x20=\x20UWMVVlYC.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpV\x20=\x20UcUpV.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCWMYVp\x20=\x20RMVVlYC.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVWMYVp\x20=\x20PUpV.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!RMVVlYC.NCLG6Tlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYC\x20===\x20PUpV;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(RMVVlYCWMYVp.GlCeVP\x20<\x20I\x20||\x20RMVVlYCWMYVp[a]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x201MGpl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCb611NJ\x20=\x20RMVVlYCWMYVp.pGNLl(h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVb611NJ\x20=\x20PUpVWMYVp.pGNLl(-RMVVlYCWMYVp.GlCeVP\x20+\x20h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYCb611NJ\x20===\x20PUpVb611NJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GlV\x20TU8MNC4MGNT\x20=\x20(TU8MNC\x20&&\x20TU8MNC.GlCeVP)\x20?\x20TU8MNC.pU8l((T8KVl8)\x20=>\x20NpuU8MNC5MVLPNCe(T8KVl8,\x20GULMVNUC.PUpVCM8l))\x20:\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(GULMVNUC.PUpVCM8l\x20===\x20\x27GULMGPUpV\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TU8MNC4MGNT\x20=\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20yMGNT\x20=\x20pNeC4MGNT\x20&&\x20TU8MNC4MGNT;\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20UYNeNC5lppMel,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LMVLP\x20(lYYUY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT:\x201MGpl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1d492f{constructor(){const _0x3f8236=_0x4ca092;super(...arguments),F(this,_0x3f8236(0x1a1),new Map());}['dispose'](){const _0x218577=_0x4ca092;super[_0x218577(0x1c5)](),this[_0x218577(0x1a1)][_0x218577(0x1b6)]();}async[_0x4ca092(0x1bd)](){const _0x44a2b6=_0x4ca092;this[_0x44a2b6(0x1a6)]();const _0x379306=this['_currentConfigService'][_0x44a2b6(0x167)](),_0x529edc=this['_otherFormulaManagerService'][_0x44a2b6(0x171)](),_0x18d0a3=this[_0x44a2b6(0x1e8)][_0x44a2b6(0x193)]();_0x18d0a3!=null&&Object[_0x44a2b6(0x18b)](_0x18d0a3)[_0x44a2b6(0x1d2)](_0x47b3c9=>{const _0x33439e=_0x44a2b6;_0x47b3c9!=null&&Object[_0x33439e(0x18b)](_0x18d0a3[_0x47b3c9])[_0x33439e(0x1d2)](_0x1eef7c=>{const _0x1e64f9=_0x33439e;_0x1eef7c!=null&&(this['_dependencyManagerService'][_0x1e64f9(0x1da)](_0x47b3c9,_0x1eef7c),this[_0x1e64f9(0x1e3)][_0x1e64f9(0x1a8)](_0x47b3c9,_0x1eef7c),this[_0x1e64f9(0x1e3)][_0x1e64f9(0x17c)](_0x47b3c9,_0x1eef7c));});});const _0x2048c6=this[_0x44a2b6(0x1e8)][_0x44a2b6(0x15f)]();await this[_0x44a2b6(0x16a)](_0x379306,_0x529edc,_0x2048c6),this['_dependencyManagerService'][_0x44a2b6(0x1e9)]();const _0x7138dd=this['_getUpdateTreeListAndMakeDependency'](),_0x74554a=this[_0x44a2b6(0x1d8)](_0x7138dd);return this[_0x44a2b6(0x174)](_0x74554a)&&this[_0x44a2b6(0x1c7)][_0x44a2b6(0x184)](),this[_0x44a2b6(0x1a1)][_0x44a2b6(0x1b6)](),this[_0x44a2b6(0x1ea)][_0x44a2b6(0x1b6)](),this[_0x44a2b6(0x1e3)][_0x44a2b6(0x1d9)](),Promise[_0x44a2b6(0x163)](_0x74554a);}[_0x4ca092(0x175)](_0x369954,_0x204125){const _0x20707f=_0x4ca092,_0x4e31a0=[_0x369954];for(;_0x4e31a0['length']>0x0;){const _0x5c2107=_0x4e31a0[_0x4e31a0['length']-0x1];if((_0x204125[_0x20707f(0x1e1)](_0x5c2107)||0x0)===0x0){_0x204125[_0x20707f(0x1ca)](_0x5c2107,0x1);const _0x4d256f=this[_0x20707f(0x1a1)][_0x20707f(0x1e1)](_0x5c2107);if(_0x4d256f==null){_0x204125[_0x20707f(0x1ca)](_0x5c2107,0x2),_0x4e31a0[_0x20707f(0x1c4)]();continue;}const _0x2d96b3=this[_0x20707f(0x1e3)]['searchDependency'](_0x4d256f['toRTreeItem']());for(const _0xb0ae6b of _0x2d96b3){const _0x5ae0fe=_0x204125[_0x20707f(0x1e1)](_0xb0ae6b)||0x0;if(_0x5ae0fe===0x1)return!0x0;_0x5ae0fe===0x0&&_0x4e31a0[_0x20707f(0x1ce)](_0xb0ae6b);}}else _0x204125[_0x20707f(0x1ca)](_0x5c2107,0x2),_0x4e31a0[_0x20707f(0x1c4)]();}return!0x1;}['_checkIsCycleDependency'](_0x3a6e63){const _0x2bc2bd=_0x4ca092,_0x41725e=new Map();for(const _0x3f72da of _0x3a6e63)if(!_0x41725e['has'](_0x3f72da[_0x2bc2bd(0x1ba)])&&this[_0x2bc2bd(0x175)](_0x3f72da[_0x2bc2bd(0x1ba)],_0x41725e))return!0x0;return _0x41725e[_0x2bc2bd(0x1b6)](),!0x1;}[_0x4ca092(0x1d5)](_0x35fd85,_0x59fd6c,_0x249c7c){const _0x473ed6=_0x4ca092,{unitId:_0xf2c0de,subUnitId:_0x2265b5,dependencyRanges:_0x19fefe,getDirtyData:_0x55d574}=_0x249c7c,_0x59ae36=_0x59fd6c||_0x37361d(this[_0x473ed6(0x1e3)]),_0x48eef5=new _0xfc6ddc(_0x59ae36);_0x48eef5[_0x473ed6(0x173)]=_0xf2c0de,_0x48eef5['subUnitId']=_0x2265b5,_0x48eef5['rangeList']=_0x19fefe,_0x48eef5[_0x473ed6(0x162)]=_0x55d574;const _0x131bec=_0x55d574(this[_0x473ed6(0x1e8)][_0x473ed6(0x162)](),this[_0x473ed6(0x1c7)][_0x473ed6(0x1cd)]()),_0x2cbed5=this[_0x473ed6(0x1b1)](_0x131bec[_0x473ed6(0x158)]);return _0x48eef5[_0x473ed6(0x189)]=_0x2cbed5,_0x48eef5['featureId']=_0x35fd85,_0x48eef5[_0x473ed6(0x19e)]=_0x5ba443[_0x473ed6(0x192)],this[_0x473ed6(0x1e3)][_0x473ed6(0x1e6)](_0xf2c0de,_0x2265b5,_0x35fd85,_0x48eef5),this[_0x473ed6(0x1a1)][_0x473ed6(0x1ca)](_0x48eef5[_0x473ed6(0x1ba)],_0x48eef5),this['_dependencyManagerService'][_0x473ed6(0x1d6)](_0x249c7c[_0x473ed6(0x173)],_0x249c7c[_0x473ed6(0x177)],_0x35fd85)&&(_0x48eef5['isCache']=!0x0),_0x48eef5;}[_0x4ca092(0x1e2)](_0x534f1e,_0x1b7f03,_0x4fb24c){const _0x232f55=_0x4ca092;var _0x29489a;for(const _0x1464fa of _0x1b7f03){const _0x2e39e4=_0x534f1e[_0x1464fa];if(_0x2e39e4==null)continue;const _0x202ead=Object[_0x232f55(0x18b)](_0x2e39e4);for(const _0x3fad7d of _0x202ead){const _0x1687eb=_0x2e39e4[_0x3fad7d];if(_0x1687eb==null)continue;const _0x5c07b8=Object['keys'](_0x1687eb);for(const _0x3cba5e of _0x5c07b8){const _0x4d4a33=this[_0x232f55(0x1e3)][_0x232f55(0x1c8)](_0x3cba5e),_0x5ae135=_0x1687eb[_0x3cba5e],{f:_0x43eb07,ranges:_0x4399a5}=_0x5ae135;let _0x59948d=!0x1;_0x4d4a33&&(_0x59948d=!0x0);const {firstRow:_0xac4cb1,firstColumn:_0x957e2a}=this['_getFirstCellOfRange'](_0x4399a5),_0x2ef55a=this[_0x232f55(0x1e3)][_0x232f55(0x198)](_0x1464fa,_0x3fad7d,_0x3cba5e),_0x31eef3=(_0x29489a=_0x2ef55a==null?void 0x0:_0x2ef55a[_0x232f55(0x1d0)](0x0,0x0))!=null?_0x29489a:_0x37361d(this['_dependencyManagerService']),_0x58b965=new _0xfc6ddc(_0x31eef3);for(let _0x2d85eb=0x0;_0x2d85eb<_0x4399a5[_0x232f55(0x166)];_0x2d85eb++){const _0x15dbc6=_0x4399a5[_0x2d85eb],{startRow:_0x446ef3,startColumn:_0x3f5960,endRow:_0x59d39e,endColumn:_0x2575e3}=_0x15dbc6;for(let _0x140206=_0x446ef3;_0x140206<=_0x59d39e;_0x140206++)for(let _0x5e2d87=_0x3f5960;_0x5e2d87<=_0x2575e3;_0x5e2d87++){const _0x57fc2b=_0x5e2d87-_0x957e2a,_0x130e79=_0x140206-_0xac4cb1;if(_0x57fc2b===0x0&&_0x130e79===0x0){_0x58b965['formula']=_0x43eb07,_0x58b965[_0x232f55(0x173)]=_0x1464fa,_0x58b965[_0x232f55(0x177)]=_0x3fad7d,_0x58b965[_0x232f55(0x19d)]=_0x3cba5e,_0x58b965[_0x232f55(0x19e)]=_0x5ba443[_0x232f55(0x1ac)],_0x58b965[_0x232f55(0x1db)]=_0x59948d,_0x4fb24c[_0x232f55(0x1ce)](_0x58b965),this[_0x232f55(0x1a1)]['set'](_0x58b965[_0x232f55(0x1ba)],_0x58b965),this['_dependencyManagerService'][_0x232f55(0x1f6)](_0x1464fa,_0x3fad7d,_0x3cba5e,_0x58b965),this[_0x232f55(0x1e3)][_0x232f55(0x154)](_0x58b965);continue;}const _0x330932=new _0x4e6379();_0x330932[_0x232f55(0x1ba)]=(_0x2ef55a==null?void 0x0:_0x2ef55a[_0x232f55(0x1d0)](_0x57fc2b,_0x130e79))||_0x37361d(this[_0x232f55(0x1e3)]),_0x330932[_0x232f55(0x1df)]=_0x58b965,_0x330932[_0x232f55(0x164)]=_0x57fc2b,_0x330932[_0x232f55(0x1eb)]=_0x130e79,_0x330932[_0x232f55(0x1db)]=_0x59948d,this[_0x232f55(0x1e3)][_0x232f55(0x1f6)](_0x1464fa,_0x3fad7d,_0x3cba5e,_0x330932),this[_0x232f55(0x1e3)]['addFormulaDependencyByDefinedName'](_0x330932),_0x4fb24c[_0x232f55(0x1ce)](_0x330932),this['_dependencyTreeCache'][_0x232f55(0x1ca)](_0x330932[_0x232f55(0x1ba)],_0x330932);}}this[_0x232f55(0x1e3)][_0x232f55(0x180)](_0x3cba5e);}}}}[_0x4ca092(0x17b)](_0x5e03d8,_0x2f7a0c,_0x35d7c4,_0x56e339){const _0x507b0d=_0x4ca092;for(const _0x6f153c of _0x5e03d8){const _0x296519=_0x2f7a0c[_0x6f153c];if(_0x296519==null)continue;const _0x557750=Object['keys'](_0x296519);for(const _0x5425f5 of _0x557750){const _0x144302=new _0x2d7fed(_0x296519[_0x5425f5]||{}),_0x2f16c9=new Map();_0x144302[_0x507b0d(0x1f2)]((_0x217b42,_0x259fec,_0x393b20)=>{const _0x2592ce=_0x507b0d;if(_0x393b20==null)return!0x0;const {x:_0x1602c6=0x0,y:_0x384ce7=0x0,si:_0xbafc74}=_0x393b20;if(!(_0x1602c6===0x0&&_0x384ce7===0x0&&_0xbafc74!=null))return!0x0;const _0x38d3a7=this[_0x2592ce(0x1d3)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec,_0x35d7c4,_0x393b20),_0x5511b5=this[_0x2592ce(0x1e3)][_0x2592ce(0x1e0)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec);_0x5511b5!=null?_0x38d3a7[_0x2592ce(0x1ba)]=_0x5511b5:(this[_0x2592ce(0x1e3)][_0x2592ce(0x18a)](_0x6f153c,_0x5425f5,_0x217b42,_0x259fec,_0x38d3a7),this['_dependencyManagerService'][_0x2592ce(0x154)](_0x38d3a7)),_0x2f16c9[_0x2592ce(0x1ca)](_0xbafc74,_0x38d3a7),_0x56e339['push'](_0x38d3a7),this[_0x2592ce(0x1a1)][_0x2592ce(0x1ca)](_0x38d3a7[_0x2592ce(0x1ba)],_0x38d3a7);}),_0x144302['forValue']((_0x5c3f6c,_0x43cbe1,_0x466ace)=>{const _0x3a7cfa=_0x507b0d;if(_0x466ace==null)return!0x0;const {x:_0x107918=0x0,y:_0x38c3f2=0x0,si:_0x355a9d}=_0x466ace;if(_0x107918===0x0&&_0x38c3f2===0x0&&_0x355a9d!=null)return!0x0;let _0x562762;if(_0x355a9d&&_0x2f16c9[_0x3a7cfa(0x1e5)](_0x355a9d)){const _0x5df0f3=_0x2f16c9[_0x3a7cfa(0x1e1)](_0x355a9d);_0x562762=this[_0x3a7cfa(0x1b4)](_0x5df0f3,_0x466ace);}else _0x562762=this[_0x3a7cfa(0x1d3)](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1,_0x35d7c4,_0x466ace);const _0xc9d615=this[_0x3a7cfa(0x1e3)][_0x3a7cfa(0x1e0)](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1);_0xc9d615!=null?_0x562762[_0x3a7cfa(0x1ba)]=_0xc9d615:(this[_0x3a7cfa(0x1e3)]['addFormulaDependency'](_0x6f153c,_0x5425f5,_0x5c3f6c,_0x43cbe1,_0x562762),this[_0x3a7cfa(0x1e3)][_0x3a7cfa(0x154)](_0x562762)),_0x56e339['push'](_0x562762),this[_0x3a7cfa(0x1a1)][_0x3a7cfa(0x1ca)](_0x562762['treeId'],_0x562762);}),_0x2f16c9[_0x507b0d(0x1b6)]();}}}[_0x4ca092(0x1d3)](_0x1eb7e6,_0x338020,_0x172838,_0x4fb11a,_0x27bed9,_0x319431){const _0x1fd97d=_0x4ca092,{f:_0x224264,x:_0x262241=0x0,y:_0x572b43=0x0}=_0x319431,_0xb28a6b=new _0xfc6ddc(_0x37361d(this[_0x1fd97d(0x1e3)])),_0x2b5bf3=_0x27bed9[_0x1eb7e6][_0x338020];return _0xb28a6b[_0x1fd97d(0x1c6)]=_0x224264,_0xb28a6b[_0x1fd97d(0x173)]=_0x1eb7e6,_0xb28a6b['subUnitId']=_0x338020,_0xb28a6b[_0x1fd97d(0x195)]=_0x172838,_0xb28a6b[_0x1fd97d(0x19c)]=_0x4fb11a,_0xb28a6b[_0x1fd97d(0x1f3)]=_0x2b5bf3['rowCount'],_0xb28a6b[_0x1fd97d(0x1ae)]=_0x2b5bf3[_0x1fd97d(0x1ae)],_0xb28a6b;}[_0x4ca092(0x1c0)](){const _0x19e360=_0x4ca092,_0x1a9401=[],_0x36287b=new Set(),_0x1e8b76=this[_0x19e360(0x1e8)]['isForceCalculate'](),_0x142757=this['_currentConfigService'][_0x19e360(0x157)](),_0x37eb36=this[_0x19e360(0x1e3)][_0x19e360(0x179)](_0x142757),_0x47b8c8=this['_dependencyRTreeCacheForAddressFunction'][_0x19e360(0x16f)](_0x142757);for(const _0x250485 of _0x47b8c8)_0x37eb36[_0x19e360(0x165)](_0x250485);for(const [_0x1cf5ea,_0xeb9b1c]of this[_0x19e360(0x1a1)])(_0x1e8b76||_0xeb9b1c[_0x19e360(0x15d)]||_0xeb9b1c[_0x19e360(0x186)](this['_currentConfigService'][_0x19e360(0x18f)]())||_0x37eb36[_0x19e360(0x1e5)](_0x1cf5ea)&&!_0xeb9b1c['isExcludeRange'](this[_0x19e360(0x1e8)]['getExcludedRange']()))&&!_0x36287b[_0x19e360(0x1e5)](_0x1cf5ea)&&(_0x1a9401['push'](_0xeb9b1c),_0x36287b[_0x19e360(0x165)](_0x1cf5ea));for(const [_0xe86a3d,_0xb8f456]of this[_0x19e360(0x1a1)])_0xb8f456['isVirtual']||(_0xb8f456['rangeList']['length']=0x0);return _0x1a9401;}[_0x4ca092(0x170)](_0xc51647){const _0x515a97=_0x4ca092;return this[_0x515a97(0x1a1)]['get'](_0xc51647);}[_0x4ca092(0x18d)](_0x33508c){const _0x481396=_0x4ca092;return _0x111411(_0x33508c[_0x481396(0x173)],_0x33508c[_0x481396(0x1c6)],this[_0x481396(0x1ef)],this[_0x481396(0x1b7)],this[_0x481396(0x1e8)]);}*['_traverse'](_0x1b6750,_0x1b985f){const _0x53ed53=_0x4ca092,_0x14b0d0=_0x1b6750,_0x48e78c=new Set();for(;_0x14b0d0[_0x53ed53(0x166)]>0x0;){const _0x1a004a=_0x14b0d0[_0x53ed53(0x1c4)]();if(_0x48e78c['clear'](),_0x1a004a===void 0x0||_0x1a004a[_0x53ed53(0x1e4)]())continue;if(_0x1a004a[_0x53ed53(0x16e)]()){yield _0x1a004a,_0x1a004a[_0x53ed53(0x1a4)](),_0x1b985f[_0x53ed53(0x165)](_0x1a004a[_0x53ed53(0x1ba)]);continue;}const _0x4fe457=this[_0x53ed53(0x1e3)]['searchDependency'](_0x1a004a['toRTreeItem'](),_0x1b985f),_0x105025=this[_0x53ed53(0x1ea)][_0x53ed53(0x16f)](_0x1a004a['toRTreeItem'](),_0x1b985f);for(const _0x1653b4 of _0x105025)_0x4fe457[_0x53ed53(0x165)](_0x1653b4);for(const _0x1c56dd of _0x4fe457){const _0x57ad8f=this[_0x53ed53(0x1a1)][_0x53ed53(0x1e1)](_0x1c56dd);if(!_0x57ad8f)throw new Error(_0x53ed53(0x17f));_0x57ad8f['isAdded']()||_0x1a004a[_0x53ed53(0x1e4)]()||_0x48e78c[_0x53ed53(0x165)](_0x57ad8f);}if(_0x4fe457['clear'](),_0x48e78c[_0x53ed53(0x196)]===0x0)yield _0x1a004a,_0x1a004a[_0x53ed53(0x1a4)](),_0x1b985f[_0x53ed53(0x165)](_0x1a004a['treeId']);else{_0x1a004a[_0x53ed53(0x1af)](),_0x14b0d0[_0x53ed53(0x1ce)](_0x1a004a);for(const _0x3da387 of _0x48e78c)_0x14b0d0[_0x53ed53(0x1ce)](_0x3da387);}}_0x14b0d0[_0x53ed53(0x166)]=0x0,_0x48e78c['clear']();}[_0x4ca092(0x1d8)](_0xa1bf25){const _0x4328ae=_0x4ca092,_0x2bd682=[],_0x1acd14=new Set();for(const _0x28fd72 of this[_0x4328ae(0x1a7)](_0xa1bf25,_0x1acd14))_0x2bd682[_0x4328ae(0x1ce)](_0x28fd72);return _0x2bd682;}}class he extends _0x4a8b0b{async[_0x4ca092(0x1b5)](_0x4de0d7=!0x1){const _0x383142=_0x4ca092;_0x4de0d7?this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x15c)]):this['_runtimeService'][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x15e)]),this[_0x383142(0x155)][_0x383142(0x1f0)](this[_0x383142(0x1c7)][_0x383142(0x1c9)]());const _0x2b252e=await this[_0x383142(0x194)][_0x383142(0x1bd)](),_0x214ef0=this[_0x383142(0x19b)];_0x4de0d7?(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x17e)]),this[_0x383142(0x1c7)]['setTotalArrayFormulasToCalculate'](_0x2b252e[_0x383142(0x166)])):(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e['START_CALCULATION']),this[_0x383142(0x1c7)]['setTotalFormulasToCalculate'](_0x2b252e[_0x383142(0x166)])),this['_executionInProgressListener$'][_0x383142(0x1f0)](this[_0x383142(0x1c7)]['getRuntimeState']());let _0x367d9d=[];const _0x2f016d=this[_0x383142(0x1f4)][_0x383142(0x1d4)](_0x32789b),_0x5969c4=(_0x2f016d==null?void 0x0:_0x2f016d[_0x383142(0x1d1)])||_0x59b993;let _0x464a7d=0x0;const _0x2717c6=_0x2b252e[_0x383142(0x166)];for(;_0x2b252e[_0x383142(0x166)]>0x0;){const _0x71a286=_0x2b252e[_0x383142(0x1c4)](),_0x4531d8={'node':_0x111411(_0x71a286[_0x383142(0x173)],_0x71a286[_0x383142(0x1c6)],this[_0x383142(0x1ef)],this[_0x383142(0x1b7)],this[_0x383142(0x1e8)]),'refOffsetX':_0x71a286[_0x383142(0x164)],'refOffsetY':_0x71a286[_0x383142(0x1eb)]},_0x34a2be=_0x71a286[_0x383142(0x162)];if(_0x464a7d%_0x5969c4===0x0&&(await new Promise(_0x1ea5bc=>{const _0x33a5b9=_0x383142,_0x5c1c76=_0xfd659d(_0x1ea5bc);_0x367d9d[_0x33a5b9(0x1ce)](_0x5c1c76);}),_0x4de0d7?(this['_runtimeService'][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x1b8)]),this[_0x383142(0x1c7)][_0x383142(0x16c)](_0x464a7d+0x1)):(this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e[_0x383142(0x169)]),this['_runtimeService'][_0x383142(0x1ad)](_0x464a7d+0x1)),this[_0x383142(0x155)][_0x383142(0x1f0)](this['_runtimeService'][_0x383142(0x1c9)]()),this[_0x383142(0x1c7)][_0x383142(0x176)]()||_0x4531d8==null&&_0x34a2be==null)){this[_0x383142(0x1c7)][_0x383142(0x1ee)](_0x25bb3e['IDLE']),this[_0x383142(0x1c7)][_0x383142(0x1a2)](),this[_0x383142(0x199)][_0x383142(0x1f0)](this[_0x383142(0x1c7)]['getAllRuntimeData']());return;}this[_0x383142(0x1c7)]['setCurrent'](_0x71a286[_0x383142(0x195)],_0x71a286[_0x383142(0x19c)],_0x71a286[_0x383142(0x1f3)],_0x71a286[_0x383142(0x1ae)],_0x71a286[_0x383142(0x177)],_0x71a286[_0x383142(0x173)]);let _0x301ca2;if(_0x34a2be!=null&&_0x71a286[_0x383142(0x18c)]!=null){const {runtimeCellData:_0xf4bf01,dirtyRanges:_0xeea5fd}=_0x34a2be(this[_0x383142(0x1e8)][_0x383142(0x162)](),this[_0x383142(0x1c7)][_0x383142(0x1cd)]());this[_0x383142(0x1c7)]['setRuntimeFeatureCellData'](_0x71a286[_0x383142(0x18c)],_0xf4bf01),this[_0x383142(0x1c7)][_0x383142(0x1cc)](_0x71a286[_0x383142(0x18c)],_0xeea5fd);}else _0x4531d8!=null&&(_0x214ef0[_0x383142(0x188)](_0x4531d8[_0x383142(0x1e7)])?_0x301ca2=await _0x214ef0[_0x383142(0x190)](_0x4531d8):_0x301ca2=_0x214ef0[_0x383142(0x172)](_0x4531d8),_0x71a286[_0x383142(0x19d)]!=null?this[_0x383142(0x1c7)]['setRuntimeOtherData'](_0x71a286[_0x383142(0x19d)],_0x71a286[_0x383142(0x164)],_0x71a286[_0x383142(0x1eb)],_0x301ca2):this['_runtimeService'][_0x383142(0x1d7)](_0x301ca2));_0x464a7d++;}return _0x367d9d[_0x383142(0x1d2)](_0x134b78=>_0x134b78()),_0x367d9d=[],_0x2717c6>0x0?this['_runtimeService'][_0x383142(0x1a9)]():_0x4de0d7||this[_0x383142(0x1c7)][_0x383142(0x159)](),this['_runtimeService'][_0x383142(0x1cd)]();}}function _0x4cef(_0x1bacb8,_0x332fe0){const _0x525b18=_0x525b();return _0x4cef=function(_0x4cef56,_0x505d73){_0x4cef56=_0x4cef56-0x154;let _0x4603fc=_0x525b18[_0x4cef56];return _0x4603fc;},_0x4cef(_0x1bacb8,_0x332fe0);}class pe extends _0x4ec26{constructor(){const _0x39674b=_0x4ca092;super(...arguments),F(this,_0x39674b(0x197),new Map()),F(this,_0x39674b(0x1a3),new _0x2b8f89(!0x0));}[_0x4ca092(0x19a)](){const _0x1b961a=_0x4ca092;this[_0x1b961a(0x17a)]['clear'](),this[_0x1b961a(0x183)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x1b9)]['clear'](),this[_0x1b961a(0x1a3)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x197)][_0x1b961a(0x1b6)](),this[_0x1b961a(0x1b2)](),this[_0x1b961a(0x191)][_0x1b961a(0x1b6)]();}[_0x4ca092(0x1f6)](_0x34c154,_0x4f27c2,_0xe948c9,_0x34a9ae){const _0x36d9b9=_0x4ca092;this[_0x36d9b9(0x17a)][_0x36d9b9(0x1e5)](_0x34c154)||this[_0x36d9b9(0x17a)][_0x36d9b9(0x1ca)](_0x34c154,new Map());const _0x189f5c=this[_0x36d9b9(0x17a)][_0x36d9b9(0x1e1)](_0x34c154);_0x189f5c[_0x36d9b9(0x1e5)](_0x4f27c2)||_0x189f5c[_0x36d9b9(0x1ca)](_0x4f27c2,new Map());const _0x1b0519=_0x189f5c['get'](_0x4f27c2);_0x1b0519[_0x36d9b9(0x1e5)](_0xe948c9)||_0x1b0519[_0x36d9b9(0x1ca)](_0xe948c9,new _0x2d7fed()),_0x1b0519[_0x36d9b9(0x1e1)](_0xe948c9)[_0x36d9b9(0x1aa)](_0x34a9ae[_0x36d9b9(0x164)],_0x34a9ae[_0x36d9b9(0x1eb)],_0x34a9ae[_0x36d9b9(0x1ba)]);}[_0x4ca092(0x1a5)](_0x499d74,_0x2ab312,_0x8bc78c){const _0x59869f=_0x4ca092,_0x38c871=this[_0x59869f(0x17a)][_0x59869f(0x1e1)](_0x499d74);if(_0x38c871&&_0x38c871[_0x59869f(0x1e5)](_0x2ab312)){const _0x5427b2=_0x38c871[_0x59869f(0x1e1)](_0x2ab312);_0x8bc78c[_0x59869f(0x1d2)](_0x351b1a=>{const _0x5494c7=_0x59869f,_0x11431a=_0x5427b2[_0x5494c7(0x1e1)](_0x351b1a);_0x11431a!=null&&(_0x11431a[_0x5494c7(0x1f2)]((_0x2d874b,_0x313e28,_0x4f63e9)=>{const _0x95ca6e=_0x5494c7;this['_removeDependencyRTreeCache'](_0x4f63e9),this[_0x95ca6e(0x168)](_0x4f63e9);}),_0x5427b2[_0x5494c7(0x1bc)](_0x351b1a),this['_otherFormulaDataMainData'][_0x5494c7(0x1bc)](_0x351b1a));}),_0x5427b2['size']===0x0&&_0x38c871['delete'](_0x2ab312),_0x38c871[_0x59869f(0x196)]===0x0&&this[_0x59869f(0x17a)][_0x59869f(0x1bc)](_0x499d74);}}[_0x4ca092(0x1da)](_0x255223,_0x4058a1){const _0x44ba4c=_0x4ca092,_0x44f8c4=this[_0x44ba4c(0x17a)][_0x44ba4c(0x1e1)](_0x255223);if(_0x4058a1&&_0x44f8c4&&_0x44f8c4[_0x44ba4c(0x1e5)](_0x4058a1)){const _0x36fb98=_0x44f8c4[_0x44ba4c(0x1e1)](_0x4058a1);this[_0x44ba4c(0x16d)](_0x255223,_0x4058a1);for(const _0x534490 of _0x36fb98['keys']()){const _0x6770d2=_0x36fb98[_0x44ba4c(0x1e1)](_0x534490);_0x6770d2!=null&&(_0x6770d2[_0x44ba4c(0x1f2)]((_0x355e55,_0x393b9d,_0x46e0cb)=>{const _0x568767=_0x44ba4c;this[_0x568767(0x197)][_0x568767(0x1e1)](_0x46e0cb)&&this[_0x568767(0x168)](_0x46e0cb);}),this[_0x44ba4c(0x191)][_0x44ba4c(0x1bc)](_0x534490));}_0x36fb98[_0x44ba4c(0x1b6)]();}else{if(_0x44f8c4){for(const _0x325099 of _0x44f8c4[_0x44ba4c(0x18b)]()){const _0xa980e1=_0x44f8c4[_0x44ba4c(0x1e1)](_0x325099);this[_0x44ba4c(0x16d)](_0x255223,_0x325099);for(const _0x40da56 of _0xa980e1[_0x44ba4c(0x18b)]()){const _0x5025a8=_0xa980e1[_0x44ba4c(0x1e1)](_0x40da56);_0x5025a8!=null&&(_0x5025a8[_0x44ba4c(0x1f2)]((_0x47726b,_0x1d7876,_0x153e86)=>{const _0x25ab45=_0x44ba4c;this[_0x25ab45(0x197)]['get'](_0x153e86)&&this[_0x25ab45(0x168)](_0x153e86);}),this['_otherFormulaDataMainData'][_0x44ba4c(0x1bc)](_0x40da56));}}this['_otherFormulaData'][_0x44ba4c(0x1bc)](_0x255223);}}}[_0x4ca092(0x1e6)](_0x52a1fd,_0x41ba2c,_0x5c0074,_0x48f7ee){const _0x551795=_0x4ca092;this['_featureFormulaData'][_0x551795(0x1e5)](_0x52a1fd)||this[_0x551795(0x183)][_0x551795(0x1ca)](_0x52a1fd,new Map());const _0x445d81=this['_featureFormulaData'][_0x551795(0x1e1)](_0x52a1fd);_0x445d81[_0x551795(0x1e5)](_0x41ba2c)||_0x445d81['set'](_0x41ba2c,new Map()),_0x445d81['get'](_0x41ba2c)[_0x551795(0x1ca)](_0x5c0074,_0x48f7ee[_0x551795(0x1ba)]);}[_0x4ca092(0x1c1)](_0x4a2c11,_0x2b5616,_0x4335c8){const _0x7eacf7=_0x4ca092,_0x915d5c=this['_featureFormulaData'][_0x7eacf7(0x1e1)](_0x4a2c11);if(_0x915d5c&&_0x915d5c['has'](_0x2b5616)){const _0x21b7ca=_0x915d5c[_0x7eacf7(0x1e1)](_0x2b5616);_0x4335c8[_0x7eacf7(0x1d2)](_0x17bc64=>{const _0x4384d8=_0x7eacf7,_0x5b303a=_0x21b7ca[_0x4384d8(0x1e1)](_0x17bc64);_0x5b303a!=null&&(this[_0x4384d8(0x1ab)](_0x5b303a),_0x21b7ca[_0x4384d8(0x1bc)](_0x17bc64),this['_removeAllTreeMap'](_0x5b303a));});}}['clearFeatureFormulaDependency'](_0x166312,_0x21046c){const _0x28370d=_0x4ca092,_0x8046cc=this['_featureFormulaData'][_0x28370d(0x1e1)](_0x166312);if(_0x21046c&&_0x8046cc&&_0x8046cc[_0x28370d(0x1e5)](_0x21046c)){const _0x42ca23=_0x8046cc[_0x28370d(0x1e1)](_0x21046c);this[_0x28370d(0x16d)](_0x166312,_0x21046c),_0x42ca23[_0x28370d(0x1d2)](_0x45aea3=>{const _0x446bbc=_0x28370d;_0x45aea3!=null&&this[_0x446bbc(0x168)](_0x45aea3);}),_0x42ca23[_0x28370d(0x1b6)]();}else _0x8046cc&&(_0x8046cc[_0x28370d(0x1d2)]((_0x316522,_0x57ab75)=>{const _0x17226c=_0x28370d;this[_0x17226c(0x16d)](_0x166312,_0x57ab75),_0x316522['forEach'](_0x131402=>{_0x131402!=null&&this['_removeAllTreeMap'](_0x131402);});}),this[_0x28370d(0x183)][_0x28370d(0x1bc)](_0x166312));}[_0x4ca092(0x18a)](_0x164e94,_0x232123,_0x19db68,_0x10a0fd,_0x4ce2f0){const _0x3480f7=_0x4ca092;this[_0x3480f7(0x1b9)][_0x3480f7(0x1e5)](_0x164e94)||this[_0x3480f7(0x1b9)][_0x3480f7(0x1ca)](_0x164e94,new Map());const _0x20de42=this[_0x3480f7(0x1b9)][_0x3480f7(0x1e1)](_0x164e94);_0x20de42[_0x3480f7(0x1e5)](_0x232123)||_0x20de42[_0x3480f7(0x1ca)](_0x232123,new _0x2d7fed()),_0x20de42['get'](_0x232123)[_0x3480f7(0x1aa)](_0x19db68,_0x10a0fd,_0x4ce2f0[_0x3480f7(0x1ba)]);}[_0x4ca092(0x160)](_0x229f8e,_0x40aa8f,_0x1b627c,_0x364ec2){const _0x56509d=_0x4ca092,_0x4f1d12=this[_0x56509d(0x1b9)][_0x56509d(0x1e1)](_0x229f8e);if(_0x4f1d12&&_0x4f1d12[_0x56509d(0x1e5)](_0x40aa8f)){const _0x557e7d=_0x4f1d12[_0x56509d(0x1e1)](_0x40aa8f),_0x2e854b=_0x557e7d[_0x56509d(0x1d0)](_0x1b627c,_0x364ec2);if(_0x2e854b==null)return;this[_0x56509d(0x1ab)](_0x2e854b),_0x557e7d[_0x56509d(0x161)](_0x1b627c,_0x364ec2),this['_removeAllTreeMap'](_0x2e854b);}}['clearFormulaDependency'](_0x4d5c4a,_0x340c59){const _0x3e7825=_0x4ca092,_0x4e61e6=this[_0x3e7825(0x1b9)]['get'](_0x4d5c4a);if(_0x340c59&&_0x4e61e6&&_0x4e61e6[_0x3e7825(0x1e5)](_0x340c59)){const _0x59d122=_0x4e61e6[_0x3e7825(0x1e1)](_0x340c59);this[_0x3e7825(0x16d)](_0x4d5c4a,_0x340c59),_0x59d122[_0x3e7825(0x1f2)]((_0x3d063f,_0x39f890,_0x5f573e)=>{const _0x41d0b2=_0x3e7825;if(_0x5f573e==null)return!0x0;this[_0x41d0b2(0x168)](_0x5f573e);}),_0x59d122['reset']();}else _0x4e61e6&&(_0x4e61e6[_0x3e7825(0x1d2)]((_0x5f35ac,_0x110140)=>{const _0x100d88=_0x3e7825;this[_0x100d88(0x16d)](_0x4d5c4a,_0x110140),_0x5f35ac[_0x100d88(0x1f2)]((_0xbe08af,_0x333a0f,_0x10eef8)=>{const _0x43e1ed=_0x100d88;if(_0x10eef8==null)return!0x0;this[_0x43e1ed(0x168)](_0x10eef8);});}),this['_formulaData'][_0x3e7825(0x1bc)](_0x4d5c4a));}['_removeDependencyRTreeCache'](_0x59bb5c){const _0x53e831=_0x4ca092;if(_0x59bb5c==null)return;const _0x4df465=this[_0x53e831(0x197)][_0x53e831(0x1e1)](_0x59bb5c);if(_0x4df465){const _0x1e56ae=[];for(const [_0x137291,_0x348716]of _0x4df465)for(const [_0x51f842,_0x87e297]of _0x348716)_0x1e56ae[_0x53e831(0x1ce)]({'unitId':_0x137291,'sheetId':_0x51f842,'range':_0x87e297,'id':_0x59bb5c});this[_0x53e831(0x1a3)][_0x53e831(0x1ec)](_0x1e56ae);}}[_0x4ca092(0x182)](_0x5787b9,_0x16d45b){const _0x253b8f=_0x4ca092,_0x49c34f=this[_0x253b8f(0x1ed)][_0x253b8f(0x1e1)](_0x5787b9);if(_0x49c34f){const _0x3e712c=_0x49c34f['get'](_0x16d45b);if(_0x3e712c){for(const _0x535641 of _0x3e712c)this['_removeDependencyRTreeCache'](_0x535641),this['_removeAllTreeMap'](_0x535641);_0x3e712c['clear']();}}}['openKdTree'](){const _0x23eae9=_0x4ca092;this[_0x23eae9(0x1a3)][_0x23eae9(0x1e9)]();}[_0x4ca092(0x1d9)](){const _0x5c16f8=_0x4ca092;this[_0x5c16f8(0x1a3)][_0x5c16f8(0x1d9)]();}[_0x4ca092(0x168)](_0x10d3ab){const _0x48010d=_0x4ca092;_0x10d3ab!=null&&this['_allTreeMap'][_0x48010d(0x1bc)](_0x10d3ab);}[_0x4ca092(0x185)](_0x18870b){const _0x15d577=_0x4ca092;var _0x39bc37,_0x1df7ac;const _0x550cc1=_0x18870b[_0x15d577(0x1f5)];let _0x5ed984=this['_allTreeMap'][_0x15d577(0x1e1)](_0x18870b[_0x15d577(0x1ba)]);for(let _0x5ae85e=0x0;_0x5ae85e<_0x550cc1['length'];_0x5ae85e++){const _0x238f53=_0x550cc1[_0x5ae85e];let {unitId:_0x3f43e1,sheetId:_0x4dd7ca,range:_0x449c30}=_0x238f53;_0x5ed984||(_0x5ed984=new Map(),this['_allTreeMap'][_0x15d577(0x1ca)](_0x18870b['treeId'],_0x5ed984)),_0x5ed984['has'](_0x3f43e1)||_0x5ed984[_0x15d577(0x1ca)](_0x3f43e1,new Map());const _0x50c8db=(_0x39bc37=_0x5ed984==null?void 0x0:_0x5ed984['get'](_0x3f43e1))==null?void 0x0:_0x39bc37[_0x15d577(0x1e1)](_0x4dd7ca);_0x50c8db&&(_0x449c30={'startRow':Math['min'](_0x449c30['startRow'],_0x50c8db[_0x15d577(0x178)]),'startColumn':Math['min'](_0x449c30[_0x15d577(0x18e)],_0x50c8db[_0x15d577(0x18e)]),'endRow':Math[_0x15d577(0x16b)](_0x449c30['endRow'],_0x50c8db['endRow']),'endColumn':Math[_0x15d577(0x16b)](_0x449c30[_0x15d577(0x187)],_0x50c8db[_0x15d577(0x187)])}),(_0x1df7ac=_0x5ed984[_0x15d577(0x1e1)](_0x3f43e1))==null||_0x1df7ac[_0x15d577(0x1ca)](_0x4dd7ca,_0x449c30);}}}var fe=Object[_0x4ca092(0x1cb)],_e=(_0x3096e5,_0xcd614e,_0x187370,_0x1afe9d)=>{const _0x54d85d=_0x4ca092;for(var _0x57bd4b=_0x1afe9d>0x1?void 0x0:_0x1afe9d?fe(_0xcd614e,_0x187370):_0xcd614e,_0x48083e=_0x3096e5[_0x54d85d(0x166)]-0x1,_0xd2a93e;_0x48083e>=0x0;_0x48083e--)(_0xd2a93e=_0x3096e5[_0x48083e])&&(_0x57bd4b=_0xd2a93e(_0x57bd4b)||_0x57bd4b);return _0x57bd4b;};const Ce=Number[_0x4ca092(0x19f)](0x68a81e32);let x=class extends _0xc879d4{[_0x4ca092(0x1dc)](){const _0x8ccde4=_0x4ca092;var _0x45b2a3,_0x4f5019;this['_initLicenseValid']()?(_0x45b2a3=this[_0x8ccde4(0x15a)])!=null&&_0x45b2a3[_0x8ccde4(0x1b0)]||[[_0x1e5bc9,{'useClass':he}],[_0x4ac2a4,{'useClass':pe}],[_0x583a96,{'useClass':de}]][_0x8ccde4(0x1d2)](_0x1c1bf9=>this[_0x8ccde4(0x1dd)]['add'](_0x1c1bf9)):(_0x4f5019=this[_0x8ccde4(0x15a)])!=null&&_0x4f5019[_0x8ccde4(0x1b0)]||[[_0x1e5bc9,{'useClass':_0x4a8b0b}],[_0x4ac2a4,{'useClass':_0x20639a}],[_0x583a96,{'useClass':_0x1d492f}]][_0x8ccde4(0x1d2)](_0x3a89e0=>this[_0x8ccde4(0x1dd)][_0x8ccde4(0x165)](_0x3a89e0));}[_0x4ca092(0x1f1)](){const _0x3fa214=_0x4ca092;var _0x2d54cf;const _0x243d9a=(_0x2d54cf=this[_0x3fa214(0x1f4)][_0x3fa214(0x1d4)](_0x1cca80))!=null?_0x2d54cf:{},{ls:_0x2759fc,pbk:_0x2f6b2e}=_0x243d9a;if(!_0x2759fc||!_0x2f6b2e)return!0x1;const _0x966cb7=_0x3fff04(ue,oe),_0x1bce6f=new Function(_0x3fa214(0x1bf)+_0x966cb7)()(_0x2759fc,_0x2f6b2e),_0x2ce574=_0x1bce6f['message'];return _0x1bce6f[_0x3fa214(0x17d)]&&_0x30a9da(_0x2ce574,'sf',Ce)?_0x520df0(_0x2ce574,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x4ad9a6(_0x3a8b9e)],x);export{x as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5ead29=_0x3668;(function(_0x57a595,_0x29f1e2){const _0x356447=_0x3668,_0xcbabbb=_0x57a595();while(!![]){try{const _0x4a8149=-parseInt(_0x356447(0x1df))/0x1*(-parseInt(_0x356447(0x23c))/0x2)+-parseInt(_0x356447(0x24d))/0x3*(parseInt(_0x356447(0x242))/0x4)+parseInt(_0x356447(0x215))/0x5+parseInt(_0x356447(0x22c))/0x6*(parseInt(_0x356447(0x25f))/0x7)+parseInt(_0x356447(0x268))/0x8*(parseInt(_0x356447(0x1eb))/0x9)+parseInt(_0x356447(0x23a))/0xa*(-parseInt(_0x356447(0x1d9))/0xb)+-parseInt(_0x356447(0x1fe))/0xc*(parseInt(_0x356447(0x1e4))/0xd);if(_0x4a8149===_0x29f1e2)break;else _0xcbabbb['push'](_0xcbabbb['shift']());}catch(_0x259585){_0xcbabbb['push'](_0xcbabbb['shift']());}}}(_0x172f,0xf3c7b));var Q=Object['defineProperty'],j=(_0x218bfc,_0x2a91fb,_0x1affbc)=>_0x2a91fb in _0x218bfc?Q(_0x218bfc,_0x2a91fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1affbc}):_0x218bfc[_0x2a91fb]=_0x1affbc,C=(_0x37bfda,_0x4e22aa,_0x53b6fe)=>j(_0x37bfda,typeof _0x4e22aa!=_0x5ead29(0x1cf)?_0x4e22aa+'':_0x4e22aa,_0x53b6fe);import{UniverLicensePlugin as _0x1e218b,LS_CONFIG_KEY as _0x50d3b4,unshiftString as _0x2a0b8b,isFeatureAuthorizedWithinTime as _0x29c842,getSheetFeatureLimit as _0x43008c}from'@univerjs-pro/license';function _0x3668(_0x2bdd68,_0x5f4e7e){const _0x172fe5=_0x172f();return _0x3668=function(_0x3668af,_0x449e89){_0x3668af=_0x3668af-0x1c9;let _0x4fcaa0=_0x172fe5[_0x3668af];return _0x4fcaa0;},_0x3668(_0x2bdd68,_0x5f4e7e);}import{ObjectMatrix as _0x127eb2,requestImmediateMacroTask as _0x5ec920,RTree as _0x49e7cd,DependentOn as _0x5a6cb9}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1dfe70,generateRandomDependencyTreeId as _0x24ac99,FormulaDependencyTree as _0x14e6f2,FormulaDependencyTreeType as _0x58eb06,FormulaDependencyTreeVirtual as _0x80af3,generateAstNode as _0x1718af,CalculateFormulaService as _0x253ee8,FormulaExecuteStageType as _0x2ac839,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xad29e3,DEFAULT_INTERVAL_COUNT as _0x49147d,DependencyManagerBaseService as _0x53e14c,UniverFormulaEnginePlugin as _0x4b48c1,ICalculateFormulaService as _0x309d57,IDependencyManagerService as _0x272aa6,IFormulaDependencyGenerator as _0x18553a,DependencyManagerService as _0x97377c}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'b',0x1:'p',0x2:'G',0x3:'l',0x4:'C',0x5:'I',0x6:'a',0x7:'u',0x8:'7',0x9:'v','W':'0','d':'1','e':'2','f':'3','h':'4','L':'5','O':'6','C':'8','Z':'9','a':'c','v':'d','E':'e','l':'f','D':'g','R':'h','q':'i','y':'j','n':'k','z':'m','p':'n','u':'o','M':'q','G':'r','B':'s','r':'t','g':'w','Q':'x','t':'y','o':'z','F':'A','b':'B','Y':'D','J':'E','U':'F','H':'H','j':'J','A':'K','N':'L','T':'M','k':'N','P':'O','X':'P','m':'Q','K':'R','I':'S','w':'T','V':'U','s':'V','S':'W','i':'X','c':'Y','x':'Z'},le=_0x5ead29(0x266);class de extends _0x1dfe70{constructor(){const _0x344f62=_0x5ead29;super(...arguments),C(this,_0x344f62(0x24c),new Map());}[_0x5ead29(0x256)](){const _0x4e20b9=_0x5ead29;super[_0x4e20b9(0x256)](),this[_0x4e20b9(0x24c)][_0x4e20b9(0x1fa)]();}async['generate'](){const _0x2fc654=_0x5ead29;this[_0x2fc654(0x207)]();const _0x2ab906=this[_0x2fc654(0x1e0)][_0x2fc654(0x248)](),_0x377254=this[_0x2fc654(0x213)][_0x2fc654(0x1e3)](),_0x19118a=this[_0x2fc654(0x1e0)]['getClearDependencyTreeCache']();_0x19118a!=null&&Object['keys'](_0x19118a)['forEach'](_0x18a735=>{_0x18a735!=null&&Object['keys'](_0x19118a[_0x18a735])['forEach'](_0x4ed267=>{const _0x48e669=_0x3668;_0x4ed267!=null&&(this[_0x48e669(0x224)][_0x48e669(0x23d)](_0x18a735,_0x4ed267),this[_0x48e669(0x224)][_0x48e669(0x22a)](_0x18a735,_0x4ed267),this[_0x48e669(0x224)]['clearFormulaDependency'](_0x18a735,_0x4ed267));});});const _0x1a627e=this[_0x2fc654(0x1e0)][_0x2fc654(0x22d)]();await this[_0x2fc654(0x1db)](_0x2ab906,_0x377254,_0x1a627e),this[_0x2fc654(0x224)]['openKdTree']();const _0x319c71=this[_0x2fc654(0x20a)](),_0x1ef491=this[_0x2fc654(0x236)](_0x319c71);return this[_0x2fc654(0x1fc)](_0x1ef491)&&this['_runtimeService'][_0x2fc654(0x203)](),this[_0x2fc654(0x24c)][_0x2fc654(0x1fa)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2fc654(0x1fa)](),this['_dependencyManagerService'][_0x2fc654(0x1d1)](),Promise[_0x2fc654(0x1f3)](_0x1ef491);}[_0x5ead29(0x1c9)](_0x2de0c4,_0x4d95c5){const _0x41431e=_0x5ead29,_0x1b8359=[_0x2de0c4];for(;_0x1b8359[_0x41431e(0x214)]>0x0;){const _0x4bf56c=_0x1b8359[_0x1b8359['length']-0x1];if((_0x4d95c5[_0x41431e(0x230)](_0x4bf56c)||0x0)===0x0){_0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x1);const _0x5890bf=this[_0x41431e(0x24c)][_0x41431e(0x230)](_0x4bf56c);if(_0x5890bf==null){_0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x2),_0x1b8359['pop']();continue;}const _0x27603c=this[_0x41431e(0x224)][_0x41431e(0x1e1)](_0x5890bf[_0x41431e(0x262)]());for(const _0x526a77 of _0x27603c){const _0x300fd2=_0x4d95c5[_0x41431e(0x230)](_0x526a77)||0x0;if(_0x300fd2===0x1)return!0x0;_0x300fd2===0x0&&_0x1b8359['push'](_0x526a77);}}else _0x4d95c5[_0x41431e(0x1d0)](_0x4bf56c,0x2),_0x1b8359[_0x41431e(0x24f)]();}return!0x1;}['_checkIsCycleDependency'](_0x308cd9){const _0x38188a=_0x5ead29,_0x4973fe=new Map();for(const _0x2339a6 of _0x308cd9)if(!_0x4973fe['has'](_0x2339a6[_0x38188a(0x206)])&&this['_isCyclicUtilMap'](_0x2339a6[_0x38188a(0x206)],_0x4973fe))return!0x0;return _0x4973fe[_0x38188a(0x1fa)](),!0x1;}[_0x5ead29(0x21f)](_0x18d9b2,_0x20f28d,_0x4347eb){const _0x2a712a=_0x5ead29,{unitId:_0x19d697,subUnitId:_0x49a6ad,dependencyRanges:_0x299df9,getDirtyData:_0x5bf43c}=_0x4347eb,_0x444e93=_0x20f28d||_0x24ac99(this['_dependencyManagerService']),_0xadf541=new _0x14e6f2(_0x444e93);_0xadf541[_0x2a712a(0x205)]=_0x19d697,_0xadf541[_0x2a712a(0x22e)]=_0x49a6ad,_0xadf541[_0x2a712a(0x261)]=_0x299df9,_0xadf541[_0x2a712a(0x1f4)]=_0x5bf43c;const _0x181a17=_0x5bf43c(this[_0x2a712a(0x1e0)][_0x2a712a(0x1f4)](),this[_0x2a712a(0x25c)][_0x2a712a(0x20d)]()),_0x139229=this['_convertDirtyRangesToUnitRange'](_0x181a17[_0x2a712a(0x1e9)]);return _0xadf541[_0x2a712a(0x1da)]=_0x139229,_0xadf541['featureId']=_0x18d9b2,_0xadf541[_0x2a712a(0x25a)]=_0x58eb06[_0x2a712a(0x244)],this[_0x2a712a(0x224)]['addFeatureFormulaDependency'](_0x19d697,_0x49a6ad,_0x18d9b2,_0xadf541),this[_0x2a712a(0x24c)][_0x2a712a(0x1d0)](_0xadf541['treeId'],_0xadf541),this[_0x2a712a(0x224)][_0x2a712a(0x217)](_0x4347eb[_0x2a712a(0x205)],_0x4347eb[_0x2a712a(0x22e)],_0x18d9b2)&&(_0xadf541['isCache']=!0x0),_0xadf541;}[_0x5ead29(0x1e7)](_0x336a92,_0x6dfde2,_0x5308e0){const _0x433654=_0x5ead29;var _0x2c9040;for(const _0x582a17 of _0x6dfde2){const _0x5d400a=_0x336a92[_0x582a17];if(_0x5d400a==null)continue;const _0x8317d3=Object[_0x433654(0x265)](_0x5d400a);for(const _0x5d59c2 of _0x8317d3){const _0x14d0bb=_0x5d400a[_0x5d59c2];if(_0x14d0bb==null)continue;const _0x2c300a=Object[_0x433654(0x265)](_0x14d0bb);for(const _0x1477f1 of _0x2c300a){const _0x464520=this[_0x433654(0x224)][_0x433654(0x222)](_0x1477f1),_0x53f5f0=_0x14d0bb[_0x1477f1],{f:_0x1bf1c2,ranges:_0x53bbee}=_0x53f5f0;let _0x2098d4=!0x1;_0x464520&&(_0x2098d4=!0x0);const {firstRow:_0x4ee120,firstColumn:_0x2321f0}=this[_0x433654(0x1d5)](_0x53bbee),_0x4a9a30=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x582a17,_0x5d59c2,_0x1477f1),_0x3a9f06=(_0x2c9040=_0x4a9a30==null?void 0x0:_0x4a9a30['getValue'](0x0,0x0))!=null?_0x2c9040:_0x24ac99(this[_0x433654(0x224)]),_0x370735=new _0x14e6f2(_0x3a9f06);for(let _0x1acffc=0x0;_0x1acffc<_0x53bbee[_0x433654(0x214)];_0x1acffc++){const _0xfce27c=_0x53bbee[_0x1acffc],{startRow:_0x4c6bf8,startColumn:_0x4973ff,endRow:_0x31a236,endColumn:_0x26c42b}=_0xfce27c;for(let _0x3ea804=_0x4c6bf8;_0x3ea804<=_0x31a236;_0x3ea804++)for(let _0x29332e=_0x4973ff;_0x29332e<=_0x26c42b;_0x29332e++){const _0x45d716=_0x29332e-_0x2321f0,_0x391076=_0x3ea804-_0x4ee120;if(_0x45d716===0x0&&_0x391076===0x0){_0x370735[_0x433654(0x241)]=_0x1bf1c2,_0x370735[_0x433654(0x205)]=_0x582a17,_0x370735['subUnitId']=_0x5d59c2,_0x370735[_0x433654(0x220)]=_0x1477f1,_0x370735[_0x433654(0x25a)]=_0x58eb06[_0x433654(0x228)],_0x370735[_0x433654(0x1f0)]=_0x2098d4,_0x5308e0[_0x433654(0x245)](_0x370735),this[_0x433654(0x24c)][_0x433654(0x1d0)](_0x370735[_0x433654(0x206)],_0x370735),this[_0x433654(0x224)][_0x433654(0x238)](_0x582a17,_0x5d59c2,_0x1477f1,_0x370735),this[_0x433654(0x224)][_0x433654(0x1f8)](_0x370735);continue;}const _0x3d5153=new _0x80af3();_0x3d5153[_0x433654(0x206)]=(_0x4a9a30==null?void 0x0:_0x4a9a30[_0x433654(0x1f5)](_0x45d716,_0x391076))||_0x24ac99(this[_0x433654(0x224)]),_0x3d5153[_0x433654(0x200)]=_0x370735,_0x3d5153['refOffsetX']=_0x45d716,_0x3d5153[_0x433654(0x1e8)]=_0x391076,_0x3d5153[_0x433654(0x1f0)]=_0x2098d4,this[_0x433654(0x224)][_0x433654(0x238)](_0x582a17,_0x5d59c2,_0x1477f1,_0x3d5153),this[_0x433654(0x224)]['addFormulaDependencyByDefinedName'](_0x3d5153),_0x5308e0[_0x433654(0x245)](_0x3d5153),this[_0x433654(0x24c)]['set'](_0x3d5153[_0x433654(0x206)],_0x3d5153);}}this['_dependencyManagerService'][_0x433654(0x1cc)](_0x1477f1);}}}}[_0x5ead29(0x264)](_0x272e76,_0x2ebbff,_0x49f3dd,_0x406d4d){const _0x19749=_0x5ead29;for(const _0x2018ae of _0x272e76){const _0x253266=_0x2ebbff[_0x2018ae];if(_0x253266==null)continue;const _0x44f2e1=Object['keys'](_0x253266);for(const _0xc2cb0e of _0x44f2e1){const _0x160c6b=new _0x127eb2(_0x253266[_0xc2cb0e]||{}),_0x4b90d4=new Map();_0x160c6b[_0x19749(0x253)]((_0x50a5a7,_0x2e7520,_0x1561f8)=>{const _0x178cf0=_0x19749;if(_0x1561f8==null)return!0x0;const {x:_0x2d4905=0x0,y:_0x588943=0x0,si:_0x5c0f9b}=_0x1561f8;if(!(_0x2d4905===0x0&&_0x588943===0x0&&_0x5c0f9b!=null))return!0x0;const _0x1363f9=this[_0x178cf0(0x231)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520,_0x49f3dd,_0x1561f8),_0x372c4d=this[_0x178cf0(0x224)][_0x178cf0(0x23b)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520);_0x372c4d!=null?_0x1363f9[_0x178cf0(0x206)]=_0x372c4d:(this[_0x178cf0(0x224)][_0x178cf0(0x1f1)](_0x2018ae,_0xc2cb0e,_0x50a5a7,_0x2e7520,_0x1363f9),this['_dependencyManagerService'][_0x178cf0(0x1f8)](_0x1363f9)),_0x4b90d4[_0x178cf0(0x1d0)](_0x5c0f9b,_0x1363f9),_0x406d4d[_0x178cf0(0x245)](_0x1363f9),this[_0x178cf0(0x24c)]['set'](_0x1363f9[_0x178cf0(0x206)],_0x1363f9);}),_0x160c6b[_0x19749(0x253)]((_0x437221,_0x451eae,_0x19dbe8)=>{const _0x1861ee=_0x19749;if(_0x19dbe8==null)return!0x0;const {x:_0x1f9c4f=0x0,y:_0x214820=0x0,si:_0x38cc58}=_0x19dbe8;if(_0x1f9c4f===0x0&&_0x214820===0x0&&_0x38cc58!=null)return!0x0;let _0x5be83a;if(_0x38cc58&&_0x4b90d4[_0x1861ee(0x22b)](_0x38cc58)){const _0xbeeb72=_0x4b90d4[_0x1861ee(0x230)](_0x38cc58);_0x5be83a=this[_0x1861ee(0x20e)](_0xbeeb72,_0x19dbe8);}else _0x5be83a=this['_createFDtree'](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae,_0x49f3dd,_0x19dbe8);const _0x498aa5=this[_0x1861ee(0x224)][_0x1861ee(0x23b)](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae);_0x498aa5!=null?_0x5be83a[_0x1861ee(0x206)]=_0x498aa5:(this[_0x1861ee(0x224)][_0x1861ee(0x1f1)](_0x2018ae,_0xc2cb0e,_0x437221,_0x451eae,_0x5be83a),this[_0x1861ee(0x224)]['addFormulaDependencyByDefinedName'](_0x5be83a)),_0x406d4d[_0x1861ee(0x245)](_0x5be83a),this[_0x1861ee(0x24c)][_0x1861ee(0x1d0)](_0x5be83a['treeId'],_0x5be83a);}),_0x4b90d4[_0x19749(0x1fa)]();}}}[_0x5ead29(0x231)](_0x2fdca6,_0x508cb0,_0x2c0fdb,_0x8b48ca,_0x312b8a,_0x31d827){const _0x4bbbb3=_0x5ead29,{f:_0x425605,x:_0x101389=0x0,y:_0x21e651=0x0}=_0x31d827,_0x2f7a64=new _0x14e6f2(_0x24ac99(this['_dependencyManagerService'])),_0x1546e4=_0x312b8a[_0x2fdca6][_0x508cb0];return _0x2f7a64['formula']=_0x425605,_0x2f7a64['unitId']=_0x2fdca6,_0x2f7a64[_0x4bbbb3(0x22e)]=_0x508cb0,_0x2f7a64['row']=_0x2c0fdb,_0x2f7a64[_0x4bbbb3(0x24e)]=_0x8b48ca,_0x2f7a64[_0x4bbbb3(0x212)]=_0x1546e4['rowCount'],_0x2f7a64[_0x4bbbb3(0x226)]=_0x1546e4['columnCount'],_0x2f7a64;}[_0x5ead29(0x20a)](){const _0x4960ed=_0x5ead29,_0x3b2a36=[],_0x1cabfb=new Set(),_0x5a34e7=this[_0x4960ed(0x1e0)]['isForceCalculate'](),_0x5389d8=this[_0x4960ed(0x1e0)]['getDirtyRanges'](),_0x3befde=this['_dependencyManagerService']['searchDependency'](_0x5389d8),_0x152408=this[_0x4960ed(0x1d3)][_0x4960ed(0x25b)](_0x5389d8);for(const _0x585e63 of _0x152408)_0x3befde[_0x4960ed(0x23e)](_0x585e63);for(const [_0x561876,_0x29528f]of this[_0x4960ed(0x24c)])(_0x5a34e7||_0x29528f[_0x4960ed(0x234)]||_0x29528f[_0x4960ed(0x235)](this['_currentConfigService'][_0x4960ed(0x221)]())||_0x3befde[_0x4960ed(0x22b)](_0x561876)&&!_0x29528f[_0x4960ed(0x239)](this[_0x4960ed(0x1e0)][_0x4960ed(0x1e2)]()))&&!_0x1cabfb['has'](_0x561876)&&(_0x3b2a36['push'](_0x29528f),_0x1cabfb[_0x4960ed(0x23e)](_0x561876));for(const [_0x8900bb,_0x8870d1]of this['_dependencyTreeCache'])_0x8870d1['isVirtual']||(_0x8870d1[_0x4960ed(0x261)]['length']=0x0);return _0x3b2a36;}[_0x5ead29(0x1cb)](_0x1d67c2){const _0x55c1be=_0x5ead29;return this[_0x55c1be(0x24c)][_0x55c1be(0x230)](_0x1d67c2);}[_0x5ead29(0x202)](_0x168c19){const _0x3cac23=_0x5ead29;return _0x1718af(_0x168c19['unitId'],_0x168c19['formula'],this[_0x3cac23(0x211)],this[_0x3cac23(0x24a)],this[_0x3cac23(0x1e0)]);}*[_0x5ead29(0x255)](_0x4650f5,_0x910d3e){const _0x4708a0=_0x5ead29,_0x4e9568=_0x4650f5,_0x51eced=new Set();for(;_0x4e9568[_0x4708a0(0x214)]>0x0;){const _0x25df9f=_0x4e9568['pop']();if(_0x51eced[_0x4708a0(0x1fa)](),_0x25df9f===void 0x0||_0x25df9f[_0x4708a0(0x216)]())continue;if(_0x25df9f[_0x4708a0(0x269)]()){yield _0x25df9f,_0x25df9f[_0x4708a0(0x1ea)](),_0x910d3e[_0x4708a0(0x23e)](_0x25df9f['treeId']);continue;}const _0x2ccfbd=this[_0x4708a0(0x224)]['searchDependency'](_0x25df9f[_0x4708a0(0x262)](),_0x910d3e),_0x193440=this['_dependencyRTreeCacheForAddressFunction'][_0x4708a0(0x25b)](_0x25df9f[_0x4708a0(0x262)](),_0x910d3e);for(const _0x4dca44 of _0x193440)_0x2ccfbd[_0x4708a0(0x23e)](_0x4dca44);for(const _0x1e3e0a of _0x2ccfbd){const _0x43dfc7=this[_0x4708a0(0x24c)][_0x4708a0(0x230)](_0x1e3e0a);if(!_0x43dfc7)throw new Error(_0x4708a0(0x210));_0x43dfc7[_0x4708a0(0x269)]()||_0x25df9f[_0x4708a0(0x216)]()||_0x51eced['add'](_0x43dfc7);}if(_0x2ccfbd[_0x4708a0(0x1fa)](),_0x51eced[_0x4708a0(0x1ed)]===0x0)yield _0x25df9f,_0x25df9f[_0x4708a0(0x1ea)](),_0x910d3e[_0x4708a0(0x23e)](_0x25df9f[_0x4708a0(0x206)]);else{_0x25df9f['setAdded'](),_0x4e9568[_0x4708a0(0x245)](_0x25df9f);for(const _0x105ffc of _0x51eced)_0x4e9568[_0x4708a0(0x245)](_0x105ffc);}}_0x4e9568[_0x4708a0(0x214)]=0x0,_0x51eced[_0x4708a0(0x1fa)]();}['_calculateRunList'](_0x4f667c){const _0x4d053c=[],_0x5439fb=new Set();for(const _0x4ff676 of this['_traverse'](_0x4f667c,_0x5439fb))_0x4d053c['push'](_0x4ff676);return _0x4d053c;}}class he extends _0x253ee8{async[_0x5ead29(0x20f)](_0x5e3da8=!0x1){const _0x1f98f5=_0x5ead29;_0x5e3da8?this['_runtimeService'][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x232)]):this[_0x1f98f5(0x25c)]['setFormulaExecuteStage'](_0x2ac839['START_DEPENDENCY']),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this['_runtimeService'][_0x1f98f5(0x218)]());const _0x37d5ac=await this[_0x1f98f5(0x1de)]['generate'](),_0x21333f=this[_0x1f98f5(0x1dc)];_0x5e3da8?(this[_0x1f98f5(0x25c)]['setFormulaExecuteStage'](_0x2ac839[_0x1f98f5(0x267)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x250)](_0x37d5ac[_0x1f98f5(0x214)])):(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x1cd)]),this['_runtimeService'][_0x1f98f5(0x1ef)](_0x37d5ac[_0x1f98f5(0x214)])),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this['_runtimeService'][_0x1f98f5(0x218)]());let _0x1a0cdf=[];const _0x1cdc9d=this['_configService'][_0x1f98f5(0x1e6)](_0xad29e3),_0x569946=(_0x1cdc9d==null?void 0x0:_0x1cdc9d['intervalCount'])||_0x49147d;let _0x301061=0x0;const _0x494444=_0x37d5ac['length'];for(;_0x37d5ac[_0x1f98f5(0x214)]>0x0;){const _0x6d537a=_0x37d5ac[_0x1f98f5(0x24f)](),_0xcf11ce={'node':_0x1718af(_0x6d537a[_0x1f98f5(0x205)],_0x6d537a[_0x1f98f5(0x241)],this[_0x1f98f5(0x211)],this[_0x1f98f5(0x24a)],this[_0x1f98f5(0x1e0)]),'refOffsetX':_0x6d537a[_0x1f98f5(0x25e)],'refOffsetY':_0x6d537a[_0x1f98f5(0x1e8)]},_0x2d08eb=_0x6d537a[_0x1f98f5(0x1f4)];if(_0x301061%_0x569946===0x0&&(await new Promise(_0x1014e5=>{const _0x1a6e60=_0x1f98f5,_0x2a6b6f=_0x5ec920(_0x1014e5);_0x1a0cdf[_0x1a6e60(0x245)](_0x2a6b6f);}),_0x5e3da8?(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x233)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x1e5)](_0x301061+0x1)):(this[_0x1f98f5(0x25c)][_0x1f98f5(0x25d)](_0x2ac839[_0x1f98f5(0x21a)]),this['_runtimeService'][_0x1f98f5(0x243)](_0x301061+0x1)),this[_0x1f98f5(0x252)][_0x1f98f5(0x227)](this[_0x1f98f5(0x25c)][_0x1f98f5(0x218)]()),this[_0x1f98f5(0x25c)]['isStopExecution']()||_0xcf11ce==null&&_0x2d08eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2ac839[_0x1f98f5(0x251)]),this[_0x1f98f5(0x25c)][_0x1f98f5(0x23f)](),this[_0x1f98f5(0x223)][_0x1f98f5(0x227)](this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]());return;}this[_0x1f98f5(0x25c)]['setCurrent'](_0x6d537a['row'],_0x6d537a[_0x1f98f5(0x24e)],_0x6d537a[_0x1f98f5(0x212)],_0x6d537a['columnCount'],_0x6d537a[_0x1f98f5(0x22e)],_0x6d537a[_0x1f98f5(0x205)]);let _0xca26bb;if(_0x2d08eb!=null&&_0x6d537a[_0x1f98f5(0x259)]!=null){const {runtimeCellData:_0x2989b0,dirtyRanges:_0x3b93f2}=_0x2d08eb(this['_currentConfigService'][_0x1f98f5(0x1f4)](),this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x6d537a[_0x1f98f5(0x259)],_0x2989b0),this['_runtimeService']['setRuntimeFeatureRange'](_0x6d537a[_0x1f98f5(0x259)],_0x3b93f2);}else _0xcf11ce!=null&&(_0x21333f[_0x1f98f5(0x237)](_0xcf11ce[_0x1f98f5(0x201)])?_0xca26bb=await _0x21333f[_0x1f98f5(0x257)](_0xcf11ce):_0xca26bb=_0x21333f[_0x1f98f5(0x249)](_0xcf11ce),_0x6d537a['formulaId']!=null?this['_runtimeService']['setRuntimeOtherData'](_0x6d537a[_0x1f98f5(0x220)],_0x6d537a[_0x1f98f5(0x25e)],_0x6d537a['refOffsetY'],_0xca26bb):this[_0x1f98f5(0x25c)][_0x1f98f5(0x1ca)](_0xca26bb));_0x301061++;}return _0x1a0cdf[_0x1f98f5(0x1f9)](_0x318efc=>_0x318efc()),_0x1a0cdf=[],_0x494444>0x0?this[_0x1f98f5(0x25c)]['markedAsSuccessfullyExecuted']():_0x5e3da8||this['_runtimeService'][_0x1f98f5(0x21b)](),this[_0x1f98f5(0x25c)][_0x1f98f5(0x20d)]();}}class pe extends _0x53e14c{constructor(){const _0x40f7a7=_0x5ead29;super(...arguments),C(this,_0x40f7a7(0x1fb),new Map()),C(this,'_dependencyRTreeCache',new _0x49e7cd(!0x0));}[_0x5ead29(0x21d)](){const _0x420d61=_0x5ead29;this[_0x420d61(0x1dd)][_0x420d61(0x1fa)](),this[_0x420d61(0x1ee)][_0x420d61(0x1fa)](),this['_formulaData'][_0x420d61(0x1fa)](),this[_0x420d61(0x1ec)][_0x420d61(0x1fa)](),this[_0x420d61(0x1fb)][_0x420d61(0x1fa)](),this[_0x420d61(0x1d4)](),this['_otherFormulaDataMainData'][_0x420d61(0x1fa)]();}['addOtherFormulaDependency'](_0x5ca806,_0x37f7f0,_0x573591,_0x14adcb){const _0x196d1e=_0x5ead29;this['_otherFormulaData'][_0x196d1e(0x22b)](_0x5ca806)||this[_0x196d1e(0x1dd)][_0x196d1e(0x1d0)](_0x5ca806,new Map());const _0x470a8d=this['_otherFormulaData']['get'](_0x5ca806);_0x470a8d[_0x196d1e(0x22b)](_0x37f7f0)||_0x470a8d[_0x196d1e(0x1d0)](_0x37f7f0,new Map());const _0x433bf7=_0x470a8d[_0x196d1e(0x230)](_0x37f7f0);_0x433bf7[_0x196d1e(0x22b)](_0x573591)||_0x433bf7[_0x196d1e(0x1d0)](_0x573591,new _0x127eb2()),_0x433bf7[_0x196d1e(0x230)](_0x573591)[_0x196d1e(0x246)](_0x14adcb[_0x196d1e(0x25e)],_0x14adcb[_0x196d1e(0x1e8)],_0x14adcb[_0x196d1e(0x206)]);}[_0x5ead29(0x21c)](_0x43fce9,_0x2d3d8b,_0x9a415f){const _0x146f82=_0x5ead29,_0xf6c3b9=this[_0x146f82(0x1dd)]['get'](_0x43fce9);if(_0xf6c3b9&&_0xf6c3b9[_0x146f82(0x22b)](_0x2d3d8b)){const _0x5b9174=_0xf6c3b9[_0x146f82(0x230)](_0x2d3d8b);_0x9a415f[_0x146f82(0x1f9)](_0x61ce9b=>{const _0x4e3652=_0x146f82,_0x4a304a=_0x5b9174[_0x4e3652(0x230)](_0x61ce9b);_0x4a304a!=null&&(_0x4a304a[_0x4e3652(0x253)]((_0x1bff54,_0x18b135,_0x135e5a)=>{const _0x39682e=_0x4e3652;this[_0x39682e(0x208)](_0x135e5a),this[_0x39682e(0x1ff)](_0x135e5a);}),_0x5b9174[_0x4e3652(0x1fd)](_0x61ce9b),this[_0x4e3652(0x20c)][_0x4e3652(0x1fd)](_0x61ce9b));}),_0x5b9174['size']===0x0&&_0xf6c3b9[_0x146f82(0x1fd)](_0x2d3d8b),_0xf6c3b9[_0x146f82(0x1ed)]===0x0&&this['_otherFormulaData'][_0x146f82(0x1fd)](_0x43fce9);}}[_0x5ead29(0x23d)](_0x2443b1,_0x42a50c){const _0x280c9a=_0x5ead29,_0x4ab87f=this['_otherFormulaData'][_0x280c9a(0x230)](_0x2443b1);if(_0x42a50c&&_0x4ab87f&&_0x4ab87f[_0x280c9a(0x22b)](_0x42a50c)){const _0x37dcd4=_0x4ab87f['get'](_0x42a50c);this[_0x280c9a(0x229)](_0x2443b1,_0x42a50c);for(const _0x268ddd of _0x37dcd4['keys']()){const _0x24b28a=_0x37dcd4[_0x280c9a(0x230)](_0x268ddd);_0x24b28a!=null&&(_0x24b28a[_0x280c9a(0x253)]((_0x372dc2,_0xd06698,_0x2c659b)=>{const _0x4a2786=_0x280c9a;this[_0x4a2786(0x1fb)][_0x4a2786(0x230)](_0x2c659b)&&this[_0x4a2786(0x1ff)](_0x2c659b);}),this[_0x280c9a(0x20c)][_0x280c9a(0x1fd)](_0x268ddd));}_0x37dcd4[_0x280c9a(0x1fa)]();}else{if(_0x4ab87f){for(const _0x38cf24 of _0x4ab87f[_0x280c9a(0x265)]()){const _0x288c24=_0x4ab87f[_0x280c9a(0x230)](_0x38cf24);this[_0x280c9a(0x229)](_0x2443b1,_0x38cf24);for(const _0x5bbce8 of _0x288c24[_0x280c9a(0x265)]()){const _0xd33c81=_0x288c24[_0x280c9a(0x230)](_0x5bbce8);_0xd33c81!=null&&(_0xd33c81['forValue']((_0x1d83fd,_0x1e7630,_0x3dc727)=>{const _0x1e6262=_0x280c9a;this[_0x1e6262(0x1fb)][_0x1e6262(0x230)](_0x3dc727)&&this[_0x1e6262(0x1ff)](_0x3dc727);}),this[_0x280c9a(0x20c)]['delete'](_0x5bbce8));}}this['_otherFormulaData']['delete'](_0x2443b1);}}}[_0x5ead29(0x1d6)](_0x90102f,_0x2d1f37,_0x244c19,_0x4e30b){const _0x14c7cd=_0x5ead29;this['_featureFormulaData'][_0x14c7cd(0x22b)](_0x90102f)||this['_featureFormulaData'][_0x14c7cd(0x1d0)](_0x90102f,new Map());const _0x7ef057=this[_0x14c7cd(0x1ee)][_0x14c7cd(0x230)](_0x90102f);_0x7ef057[_0x14c7cd(0x22b)](_0x2d1f37)||_0x7ef057[_0x14c7cd(0x1d0)](_0x2d1f37,new Map()),_0x7ef057[_0x14c7cd(0x230)](_0x2d1f37)[_0x14c7cd(0x1d0)](_0x244c19,_0x4e30b['treeId']);}['removeFeatureFormulaDependency'](_0x2acd52,_0x45e4ec,_0x29de63){const _0x3ae11f=_0x5ead29,_0x5bcdf4=this[_0x3ae11f(0x1ee)]['get'](_0x2acd52);if(_0x5bcdf4&&_0x5bcdf4['has'](_0x45e4ec)){const _0x4090ea=_0x5bcdf4[_0x3ae11f(0x230)](_0x45e4ec);_0x29de63[_0x3ae11f(0x1f9)](_0x27405b=>{const _0x187352=_0x3ae11f,_0x304eca=_0x4090ea[_0x187352(0x230)](_0x27405b);_0x304eca!=null&&(this[_0x187352(0x208)](_0x304eca),_0x4090ea['delete'](_0x27405b),this[_0x187352(0x1ff)](_0x304eca));});}}[_0x5ead29(0x22a)](_0x1d4f11,_0x536416){const _0x2326bc=_0x5ead29,_0x5003dc=this['_featureFormulaData'][_0x2326bc(0x230)](_0x1d4f11);if(_0x536416&&_0x5003dc&&_0x5003dc[_0x2326bc(0x22b)](_0x536416)){const _0x4d1ec2=_0x5003dc[_0x2326bc(0x230)](_0x536416);this[_0x2326bc(0x229)](_0x1d4f11,_0x536416),_0x4d1ec2[_0x2326bc(0x1f9)](_0x580863=>{const _0x318e68=_0x2326bc;_0x580863!=null&&this[_0x318e68(0x1ff)](_0x580863);}),_0x4d1ec2[_0x2326bc(0x1fa)]();}else _0x5003dc&&(_0x5003dc[_0x2326bc(0x1f9)]((_0x3f58cf,_0x47c89d)=>{const _0x139f45=_0x2326bc;this[_0x139f45(0x229)](_0x1d4f11,_0x47c89d),_0x3f58cf['forEach'](_0x128dc6=>{const _0x5e427a=_0x139f45;_0x128dc6!=null&&this[_0x5e427a(0x1ff)](_0x128dc6);});}),this[_0x2326bc(0x1ee)]['delete'](_0x1d4f11));}[_0x5ead29(0x1f1)](_0x325dd4,_0x9e4c47,_0x4e6ea0,_0x4d8a42,_0x1b0e83){const _0x346f0f=_0x5ead29;this['_formulaData'][_0x346f0f(0x22b)](_0x325dd4)||this[_0x346f0f(0x1f6)][_0x346f0f(0x1d0)](_0x325dd4,new Map());const _0x543816=this[_0x346f0f(0x1f6)]['get'](_0x325dd4);_0x543816[_0x346f0f(0x22b)](_0x9e4c47)||_0x543816[_0x346f0f(0x1d0)](_0x9e4c47,new _0x127eb2()),_0x543816[_0x346f0f(0x230)](_0x9e4c47)[_0x346f0f(0x246)](_0x4e6ea0,_0x4d8a42,_0x1b0e83[_0x346f0f(0x206)]);}[_0x5ead29(0x24b)](_0x27b24f,_0x12868f,_0x1fb9c9,_0xa62c96){const _0x2b20fd=_0x5ead29,_0x4968c=this[_0x2b20fd(0x1f6)][_0x2b20fd(0x230)](_0x27b24f);if(_0x4968c&&_0x4968c['has'](_0x12868f)){const _0x50d73d=_0x4968c[_0x2b20fd(0x230)](_0x12868f),_0x4aba9f=_0x50d73d[_0x2b20fd(0x1f5)](_0x1fb9c9,_0xa62c96);if(_0x4aba9f==null)return;this[_0x2b20fd(0x208)](_0x4aba9f),_0x50d73d[_0x2b20fd(0x225)](_0x1fb9c9,_0xa62c96),this[_0x2b20fd(0x1ff)](_0x4aba9f);}}[_0x5ead29(0x247)](_0xff49dc,_0x27decd){const _0x8e311b=_0x5ead29,_0x39ddf1=this[_0x8e311b(0x1f6)]['get'](_0xff49dc);if(_0x27decd&&_0x39ddf1&&_0x39ddf1[_0x8e311b(0x22b)](_0x27decd)){const _0x4555ee=_0x39ddf1['get'](_0x27decd);this[_0x8e311b(0x229)](_0xff49dc,_0x27decd),_0x4555ee['forValue']((_0x2606ea,_0x33a0fe,_0x4b2177)=>{const _0x1cbd8e=_0x8e311b;if(_0x4b2177==null)return!0x0;this[_0x1cbd8e(0x1ff)](_0x4b2177);}),_0x4555ee[_0x8e311b(0x21d)]();}else _0x39ddf1&&(_0x39ddf1[_0x8e311b(0x1f9)]((_0xd3ea31,_0x31ae7f)=>{const _0x297a12=_0x8e311b;this[_0x297a12(0x229)](_0xff49dc,_0x31ae7f),_0xd3ea31[_0x297a12(0x253)]((_0x252941,_0x214e05,_0x470e0f)=>{const _0x1da3f1=_0x297a12;if(_0x470e0f==null)return!0x0;this[_0x1da3f1(0x1ff)](_0x470e0f);});}),this[_0x8e311b(0x1f6)][_0x8e311b(0x1fd)](_0xff49dc));}[_0x5ead29(0x208)](_0x149daf){const _0x3589be=_0x5ead29;if(_0x149daf==null)return;const _0x2822e0=this[_0x3589be(0x1fb)]['get'](_0x149daf);if(_0x2822e0){const _0x58cec5=[];for(const [_0x2db5fd,_0x1c1945]of _0x2822e0)for(const [_0x2fa29e,_0x1b0363]of _0x1c1945)_0x58cec5[_0x3589be(0x245)]({'unitId':_0x2db5fd,'sheetId':_0x2fa29e,'range':_0x1b0363,'id':_0x149daf});this[_0x3589be(0x1ec)][_0x3589be(0x258)](_0x58cec5);}}['removeFormulaDependencyByDefinedName'](_0xafda1f,_0x5eeaed){const _0x2d9f75=_0x5ead29,_0x250ec2=this[_0x2d9f75(0x1f7)]['get'](_0xafda1f);if(_0x250ec2){const _0x218727=_0x250ec2['get'](_0x5eeaed);if(_0x218727){for(const _0x5686c5 of _0x218727)this[_0x2d9f75(0x208)](_0x5686c5),this[_0x2d9f75(0x1ff)](_0x5686c5);_0x218727[_0x2d9f75(0x1fa)]();}}}[_0x5ead29(0x1ce)](){const _0x5dcbe9=_0x5ead29;this[_0x5dcbe9(0x1ec)][_0x5dcbe9(0x1ce)]();}[_0x5ead29(0x1d1)](){const _0x261258=_0x5ead29;this[_0x261258(0x1ec)]['closeKdTree']();}[_0x5ead29(0x1ff)](_0x10d125){const _0x5c949e=_0x5ead29;_0x10d125!=null&&this[_0x5c949e(0x1fb)][_0x5c949e(0x1fd)](_0x10d125);}[_0x5ead29(0x209)](_0x491556){const _0x2b5eb2=_0x5ead29;var _0x2086a1,_0x1abb1a;const _0x59b6ef=_0x491556[_0x2b5eb2(0x261)];let _0x1448fa=this[_0x2b5eb2(0x1fb)]['get'](_0x491556[_0x2b5eb2(0x206)]);for(let _0x23308b=0x0;_0x23308b<_0x59b6ef['length'];_0x23308b++){const _0x374e2e=_0x59b6ef[_0x23308b];let {unitId:_0xa7a0ce,sheetId:_0x3b98e9,range:_0x39711d}=_0x374e2e;_0x1448fa||(_0x1448fa=new Map(),this[_0x2b5eb2(0x1fb)]['set'](_0x491556[_0x2b5eb2(0x206)],_0x1448fa)),_0x1448fa[_0x2b5eb2(0x22b)](_0xa7a0ce)||_0x1448fa[_0x2b5eb2(0x1d0)](_0xa7a0ce,new Map());const _0x18eacb=(_0x2086a1=_0x1448fa==null?void 0x0:_0x1448fa[_0x2b5eb2(0x230)](_0xa7a0ce))==null?void 0x0:_0x2086a1[_0x2b5eb2(0x230)](_0x3b98e9);_0x18eacb&&(_0x39711d={'startRow':Math['min'](_0x39711d['startRow'],_0x18eacb[_0x2b5eb2(0x1f2)]),'startColumn':Math['min'](_0x39711d[_0x2b5eb2(0x254)],_0x18eacb[_0x2b5eb2(0x254)]),'endRow':Math[_0x2b5eb2(0x263)](_0x39711d['endRow'],_0x18eacb[_0x2b5eb2(0x240)]),'endColumn':Math[_0x2b5eb2(0x263)](_0x39711d[_0x2b5eb2(0x1d7)],_0x18eacb[_0x2b5eb2(0x1d7)])}),(_0x1abb1a=_0x1448fa['get'](_0xa7a0ce))==null||_0x1abb1a[_0x2b5eb2(0x1d0)](_0x3b98e9,_0x39711d);}}}var fe=Object[_0x5ead29(0x1d2)],_e=(_0x5c82fa,_0x1608bc,_0x546181,_0xd96308)=>{for(var _0x571fa5=_0xd96308>0x1?void 0x0:_0xd96308?fe(_0x1608bc,_0x546181):_0x1608bc,_0x270faf=_0x5c82fa['length']-0x1,_0xdaaa44;_0x270faf>=0x0;_0x270faf--)(_0xdaaa44=_0x5c82fa[_0x270faf])&&(_0x571fa5=_0xdaaa44(_0x571fa5)||_0x571fa5);return _0x571fa5;};function _0x172f(){const _0x476cb3=['CURRENTLY_CALCULATING','markedAsNoFunctionsExecuted','removeOtherFormulaDependency','reset','_injector','_getFeatureFormulaTree','formulaId','getDirtyNameMap','hasOtherFormulaDataMainData','_executionCompleteListener$','_dependencyManagerService','realDeleteValue','columnCount','next','OTHER_FORMULA','_removeDependencyRTreeCacheById','clearFeatureFormulaDependency','has','149934urUqPV','getUnitData','subUnitId','_configService','get','_createFDtree','START_DEPENDENCY_ARRAY_FORMULA','CURRENTLY_CALCULATING_ARRAY_FORMULA','isDirty','dependencySheetName','_calculateRunList','checkAsyncNode','addOtherFormulaDependency','isExcludeRange','6447410iuQfeK','getFormulaDependency','20434thHLdU','clearOtherFormulaDependency','add','markedAsStopFunctionsExecuted','endRow','formula','2648ZuoEgo','setCompletedFormulasCount','FEATURE_FORMULA','push','setValue','clearFormulaDependency','getFormulaData','execute','_astTreeBuilder','removeFormulaDependency','_dependencyTreeCache','1107pVqDIh','column','pop','setTotalArrayFormulasToCalculate','IDLE','_executionInProgressListener$','forValue','startColumn','_traverse','dispose','executeAsync','bulkRemove','featureId','type','bulkSearch','_runtimeService','setFormulaExecuteStage','refOffsetX','371HOiBls','notExecuteFormula','rangeList','toRTreeItem','max','_registerFormulas','keys','l7parqup\x20vEaGt1rqup(3qaEpBE,\x201703qaAEt)\x20{\x20\x20\x20\x20rGt\x20{\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x203qaEpBE5pluX6GrFGG6t\x20=\x203qaEpBE.B13qr(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20uGqDqpTEBB6DE\x20=\x20jIPk.16GBE(6ru0(3qaEpBE5pluX6GrFGG6t[e]));\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!uGqDqpTEBB6DE.7v)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uGqDqpTEBB6DE.7v\x20=\x20k7z0EG(3qaEpBE5pluX6GrFGG6t[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20qBSuGnEG\x20=\x20rt1Eul\x20SuGnEG23u063Iau1E\x20!==\x20\x277pvElqpEv\x27\x20&&\x20BE3l\x20qpBr6paEul\x20SuGnEG23u063Iau1E;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20auprEQr\x20=\x20qBSuGnEG\x20?\x20BE3l\x20:\x20gqpvug;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[e]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(zEBB6DESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[f]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(BqDp6r7GESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDps63qv\x20=\x20auprEQr.__9EGqlt__(BqDp6r7GE,\x20zEBB6DE,\x201703qaAEt);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20vuz6qp\x20=\x20uGqDqpTEBB6DE.vz;\x20\x20\x20\x20\x20\x20\x20\x20l7parqup\x20qBYuz6qpT6raRqpD(uX6rrEGp,\x20uHuBr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGp\x20=\x20uX6rrEGp.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBr\x20=\x20uHuBr.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpX6GrB\x20=\x2016rrEGp.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrX6GrB\x20=\x20RuBr.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!16rrEGp.qpa37vEB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGp\x20===\x20RuBr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(16rrEGpX6GrB.3EpDrR\x20<\x20e\x20||\x2016rrEGpX6GrB[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20l63BE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpI7llqQ\x20=\x2016rrEGpX6GrB.B3qaE(d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrI7llqQ\x20=\x20RuBrX6GrB.B3qaE(-16rrEGpX6GrB.3EpDrR\x20+\x20d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGpI7llqQ\x20===\x20RuBrI7llqQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203Er\x20vuz6qps63qv\x20=\x20(vuz6qp\x20&&\x20vuz6qp.3EpDrR)\x20?\x20vuz6qp.BuzE((vz5rEz)\x20=>\x20qBYuz6qpT6raRqpD(vz5rEz,\x203ua6rqup.RuBrp6zE))\x20:\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(3ua6rqup.RuBrp6zE\x20===\x20\x273ua63RuBr\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vuz6qps63qv\x20=\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20963qv\x20=\x20BqDps63qv\x20&&\x20vuz6qps63qv;\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20uGqDqpTEBB6DE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a6raR\x20(EGGuG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv:\x20l63BE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','START_CALCULATION_ARRAY_FORMULA','8FWWwvB','isAdded','_initializeWithOverride','_isCyclicUtilMap','setRuntimeData','_getTreeById','addOtherFormulaDependencyMainData','START_CALCULATION','openKdTree','symbol','set','closeKdTree','getOwnPropertyDescriptor','_dependencyRTreeCacheForAddressFunction','_restDependencyTreeId','_getFirstCellOfRange','addFeatureFormulaDependency','endColumn','valid','33WzfGjy','featureDirtyRanges','_generateTreeList','_interpreter','_otherFormulaData','_formulaDependencyGenerator','1miElrR','_currentConfigService','searchDependency','getExcludedRange','getOtherFormulaData','137618zmqdhV','setCompletedArrayFormulasCount','getConfig','_registerOtherFormulas','refOffsetY','dirtyRanges','setSkip','12995811eeboyS','_dependencyRTreeCache','size','_featureFormulaData','setTotalFormulasToCalculate','isCache','addFormulaDependency','startRow','resolve','getDirtyData','getValue','_formulaData','_definedNameMap','addFormulaDependencyByDefinedName','forEach','clear','_allTreeMap','_checkIsCycleDependency','delete','1680DgFWIJ','_removeAllTreeMap','refTree','node','_getTreeNode','enableCycleDependency','_config','unitId','treeId','_updateRangeFlatten','_removeDependencyRTreeCache','_addAllTreeMap','_getUpdateTreeListAndMakeDependency','message','_otherFormulaDataMainData','getAllRuntimeData','_createVirtualFDtree','_apply','ParentDependencyTree\x20object\x20is\x20null','_lexer','rowCount','_otherFormulaManagerService','length','9402255JlOQAe','isSkip','getFeatureFormulaDependency','getRuntimeState','return\x20'];_0x172f=function(){return _0x476cb3;};return _0x172f();}const me=Number['parseInt'](0x68b7ff46);let N=class extends _0x4b48c1{[_0x5ead29(0x26a)](){const _0x22cc92=_0x5ead29;var _0x157bd5,_0x4846be;this['_initLicenseValid']()?(_0x157bd5=this[_0x22cc92(0x204)])!=null&&_0x157bd5['notExecuteFormula']||[[_0x309d57,{'useClass':he}],[_0x272aa6,{'useClass':pe}],[_0x18553a,{'useClass':de}]]['forEach'](_0x3bec6f=>this[_0x22cc92(0x21e)]['add'](_0x3bec6f)):(_0x4846be=this[_0x22cc92(0x204)])!=null&&_0x4846be[_0x22cc92(0x260)]||[[_0x309d57,{'useClass':_0x253ee8}],[_0x272aa6,{'useClass':_0x97377c}],[_0x18553a,{'useClass':_0x1dfe70}]]['forEach'](_0x327ca5=>this[_0x22cc92(0x21e)]['add'](_0x327ca5));}['_initLicenseValid'](){const _0x2d9925=_0x5ead29;var _0x3fff85;const _0x562f0d=(_0x3fff85=this[_0x2d9925(0x22f)][_0x2d9925(0x1e6)](_0x50d3b4))!=null?_0x3fff85:{},{ls:_0x565aef,pbk:_0x4ddc26}=_0x562f0d;if(!_0x565aef||!_0x4ddc26)return!0x1;const _0x52c887=_0x2a0b8b(le,ue),_0x4e6e51=new Function(_0x2d9925(0x219)+_0x52c887)()(_0x565aef,_0x4ddc26),_0x497e86=_0x4e6e51[_0x2d9925(0x20b)];return _0x4e6e51[_0x2d9925(0x1d8)]&&_0x29c842(_0x497e86,'sf',me)?_0x43008c(_0x497e86,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=_e([_0x5a6cb9(_0x1e218b)],N);export{N as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
12
|
+
W: string;
|
|
13
|
+
d: string;
|
|
14
|
+
e: string;
|
|
15
|
+
f: string;
|
|
13
16
|
h: string;
|
|
14
|
-
I: string;
|
|
15
|
-
Z: string;
|
|
16
|
-
z: string;
|
|
17
|
-
m: string;
|
|
18
|
-
Q: string;
|
|
19
|
-
s: string;
|
|
20
|
-
n: string;
|
|
21
|
-
S: string;
|
|
22
|
-
M: string;
|
|
23
|
-
q: string;
|
|
24
17
|
L: string;
|
|
25
|
-
T: string;
|
|
26
|
-
l: string;
|
|
27
|
-
e: string;
|
|
28
|
-
P: string;
|
|
29
|
-
N: string;
|
|
30
18
|
O: string;
|
|
31
|
-
i: string;
|
|
32
|
-
G: string;
|
|
33
19
|
C: string;
|
|
34
|
-
|
|
20
|
+
Z: string;
|
|
21
|
+
a: string;
|
|
22
|
+
v: string;
|
|
23
|
+
E: string;
|
|
24
|
+
l: string;
|
|
25
|
+
D: string;
|
|
35
26
|
R: string;
|
|
36
|
-
|
|
37
|
-
Y: string;
|
|
38
|
-
p: string;
|
|
39
|
-
V: string;
|
|
27
|
+
q: string;
|
|
40
28
|
y: string;
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
F: string;
|
|
45
|
-
d: string;
|
|
46
|
-
t: string;
|
|
47
|
-
g: string;
|
|
29
|
+
n: string;
|
|
30
|
+
z: string;
|
|
31
|
+
p: string;
|
|
48
32
|
u: string;
|
|
49
|
-
|
|
33
|
+
M: string;
|
|
34
|
+
G: string;
|
|
35
|
+
B: string;
|
|
50
36
|
r: string;
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
W: string;
|
|
57
|
-
H: string;
|
|
37
|
+
g: string;
|
|
38
|
+
Q: string;
|
|
39
|
+
t: string;
|
|
40
|
+
o: string;
|
|
41
|
+
F: string;
|
|
58
42
|
b: string;
|
|
43
|
+
Y: string;
|
|
44
|
+
J: string;
|
|
45
|
+
U: string;
|
|
46
|
+
H: string;
|
|
59
47
|
j: string;
|
|
60
|
-
|
|
48
|
+
A: string;
|
|
49
|
+
N: string;
|
|
50
|
+
T: string;
|
|
61
51
|
k: string;
|
|
62
|
-
|
|
63
|
-
|
|
52
|
+
P: string;
|
|
53
|
+
X: string;
|
|
54
|
+
m: string;
|
|
55
|
+
K: string;
|
|
56
|
+
I: string;
|
|
57
|
+
w: string;
|
|
58
|
+
V: string;
|
|
59
|
+
s: string;
|
|
60
|
+
S: string;
|
|
61
|
+
i: string;
|
|
62
|
+
c: string;
|
|
63
|
+
x: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "l7parqup vEaGt1rqup(3qaEpBE, 1703qaAEt) { rGt { aupBr 3qaEpBE5pluX6GrFGG6t = 3qaEpBE.B13qr('-'); aupBr uGqDqpTEBB6DE = jIPk.16GBE(6ru0(3qaEpBE5pluX6GrFGG6t[e])); ql (!uGqDqpTEBB6DE.7v) { uGqDqpTEBB6DE.7v = k7z0EG(3qaEpBE5pluX6GrFGG6t[h]); } aupBr qBSuGnEG = rt1Eul SuGnEG23u063Iau1E !== '7pvElqpEv' && BE3l qpBr6paEul SuGnEG23u063Iau1E; aupBr auprEQr = qBSuGnEG ? BE3l : gqpvug; aupBr zEBB6DESuGv = auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[e]); aupBr zEBB6DE = auprEQr.__HEQ__.BrGqpDqlt(zEBB6DESuGv); aupBr BqDp6r7GESuGv = auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[f]); aupBr BqDp6r7GE = auprEQr.__HEQ__.BrGqpDqlt(BqDp6r7GESuGv); aupBr BqDps63qv = auprEQr.__9EGqlt__(BqDp6r7GE, zEBB6DE, 1703qaAEt); aupBr vuz6qp = uGqDqpTEBB6DE.vz; l7parqup qBYuz6qpT6raRqpD(uX6rrEGp, uHuBr) { aupBr 16rrEGp = uX6rrEGp.GE136aE(/^.+/, ''); aupBr RuBr = uHuBr.GE136aE(/^.+/, ''); aupBr 16rrEGpX6GrB = 16rrEGp.B13qr('.'); aupBr RuBrX6GrB = RuBr.B13qr('.'); ql (!16rrEGp.qpa37vEB('*')) { GEr7Gp 16rrEGp === RuBr; } ql (16rrEGpX6GrB.3EpDrR < e || 16rrEGpX6GrB[W] !== '*') { GEr7Gp l63BE; } aupBr 16rrEGpI7llqQ = 16rrEGpX6GrB.B3qaE(d).yuqp('.'); aupBr RuBrI7llqQ = RuBrX6GrB.B3qaE(-16rrEGpX6GrB.3EpDrR + d).yuqp('.'); GEr7Gp 16rrEGpI7llqQ === RuBrI7llqQ; } 3Er vuz6qps63qv = (vuz6qp && vuz6qp.3EpDrR) ? vuz6qp.BuzE((vz5rEz) => qBYuz6qpT6raRqpD(vz5rEz, 3ua6rqup.RuBrp6zE)) : rG7E; ql (3ua6rqup.RuBrp6zE === '3ua63RuBr') { vuz6qps63qv = rG7E; } aupBr 963qv = BqDps63qv && vuz6qps63qv; GEr7Gp { 963qv, zEBB6DE: uGqDqpTEBB6DE, }; } a6raR (EGGuG) { GEr7Gp { 963qv: l63BE, zEBB6DE: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x83b4(_0x4aacae,_0x5695f5){var _0x11ee53=_0x11ee();return _0x83b4=function(_0x83b4a8,_0x361506){_0x83b4a8=_0x83b4a8-0x1be;var _0x311b38=_0x11ee53[_0x83b4a8];return _0x311b38;},_0x83b4(_0x4aacae,_0x5695f5);}(function(_0x36e5aa,_0x34dcfa){var _0x64c362=_0x83b4,_0x5bd5b7=_0x36e5aa();while(!![]){try{var _0x14472b=parseInt(_0x64c362(0x1c9))/0x1*(-parseInt(_0x64c362(0x1ce))/0x2)+parseInt(_0x64c362(0x1c6))/0x3*(parseInt(_0x64c362(0x1d0))/0x4)+parseInt(_0x64c362(0x1d1))/0x5+parseInt(_0x64c362(0x1be))/0x6+-parseInt(_0x64c362(0x1d3))/0x7*(parseInt(_0x64c362(0x1c5))/0x8)+parseInt(_0x64c362(0x1c3))/0x9+-parseInt(_0x64c362(0x1d4))/0xa;if(_0x14472b===_0x34dcfa)break;else _0x5bd5b7['push'](_0x5bd5b7['shift']());}catch(_0x5693f0){_0x5bd5b7['push'](_0x5bd5b7['shift']());}}}(_0x11ee,0x3f608),function(_0x92b2ab,_0x3b9681){var _0x5988b0=_0x83b4;typeof exports==_0x5988b0(0x1c7)&&typeof module<'u'?_0x3b9681(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x5988b0(0x1c0)&&define[_0x5988b0(0x1cd)]?define([_0x5988b0(0x1c8),_0x5988b0(0x1c4)],_0x3b9681):(_0x92b2ab=typeof globalThis<'u'?globalThis:_0x92b2ab||self,_0x3b9681(_0x92b2ab[_0x5988b0(0x1cc)]={},_0x92b2ab[_0x5988b0(0x1c2)]));}(this,function(_0x536a12,_0x258462){'use strict';var _0x40b643=_0x83b4;Object[_0x40b643(0x1cb)](_0x258462)['forEach'](_0x30228c=>{var _0xd6975c=_0x40b643;_0x30228c!==_0xd6975c(0x1cf)&&!Object[_0xd6975c(0x1bf)][_0xd6975c(0x1ca)]['call'](_0x536a12,_0x30228c)&&Object[_0xd6975c(0x1d2)](_0x536a12,_0x30228c,{'enumerable':!0x0,'get':()=>_0x258462[_0x30228c]});}),Object[_0x40b643(0x1d2)](_0x536a12,Symbol['toStringTag'],{'value':_0x40b643(0x1c1)});}));function _0x11ee(){var _0x975f2=['amd','388kJPLIl','default','139276ZBySAb','853095LNVEVz','defineProperty','24535gCufMN','648070LmtRwY','860010bLFjTe','prototype','function','Module','UniverEngineFormulaFacade','4136103LdSCMy','@univerjs/engine-formula/facade','408GTOYdC','21IMMqsP','object','exports','2650lwvojq','hasOwnProperty','keys','UniverProEngineFormulaFacade'];_0x11ee=function(){return _0x975f2;};return _0x11ee();}
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x1e6f30,_0xc68a9d){const _0x36dc68=_0x7fea,_0x4c5e2d=_0x1e6f30();while(!![]){try{const _0x3f79c6=parseInt(_0x36dc68(0x218))/0x1+-parseInt(_0x36dc68(0x1e8))/0x2*(-parseInt(_0x36dc68(0x1ee))/0x3)+parseInt(_0x36dc68(0x1b9))/0x4+parseInt(_0x36dc68(0x249))/0x5+-parseInt(_0x36dc68(0x264))/0x6+parseInt(_0x36dc68(0x23a))/0x7*(parseInt(_0x36dc68(0x240))/0x8)+parseInt(_0x36dc68(0x1c9))/0x9*(-parseInt(_0x36dc68(0x268))/0xa);if(_0x3f79c6===_0xc68a9d)break;else _0x4c5e2d['push'](_0x4c5e2d['shift']());}catch(_0x104008){_0x4c5e2d['push'](_0x4c5e2d['shift']());}}}(_0x48c8,0x92af7),function(_0x4eac00,_0x5e94c7){const _0x128d43=_0x7fea;typeof exports=='object'&&typeof module<'u'?_0x5e94c7(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define=='function'&&define['amd']?define([_0x128d43(0x22f),_0x128d43(0x21b),_0x128d43(0x1df),'@univerjs/engine-formula'],_0x5e94c7):(_0x4eac00=typeof globalThis<'u'?globalThis:_0x4eac00||self,_0x5e94c7(_0x4eac00['UniverProEngineFormula']={},_0x4eac00['UniverProLicense'],_0x4eac00[_0x128d43(0x1d8)],_0x4eac00[_0x128d43(0x1c2)]));}(this,function(_0x4fc95c,_0x169c73,_0x4ed231,_0x44dce3){'use strict';const _0x12dcd9=_0x7fea;var _0x3f1fd2=Object['defineProperty'],_0x2990db=(_0x70512c,_0x85f244,_0x432315)=>_0x85f244 in _0x70512c?_0x3f1fd2(_0x70512c,_0x85f244,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x432315}):_0x70512c[_0x85f244]=_0x432315,_0xe0262=(_0x2a9734,_0x39c8c7,_0x16c7f0)=>_0x2990db(_0x2a9734,typeof _0x39c8c7!=_0x12dcd9(0x24b)?_0x39c8c7+'':_0x39c8c7,_0x16c7f0);const _0x45d6a6={0x0:'K',0x1:'f',0x2:'L',0x3:'W',0x4:'V',0x5:'M',0x6:'u',0x7:'J',0x8:'m',0x9:'Q','a':'0','h':'1','I':'2','Z':'3','z':'4','m':'5','Q':'6','s':'7','n':'8','S':'9','M':'a','q':'b','L':'c','T':'d','l':'e','e':'g','P':'h','N':'i','O':'j','i':'k','G':'l','C':'n','U':'o','R':'p','w':'q','Y':'r','p':'s','V':'t','y':'v','x':'w','J':'x','o':'y','F':'z','d':'A','t':'B','g':'C','u':'D','A':'E','r':'F','f':'G','c':'H','K':'I','E':'N','D':'O','W':'P','H':'R','b':'S','j':'T','X':'U','k':'X','v':'Y','B':'Z'},_0x4cddb1='16CLVNUC\x20TlLYoRVNUC(GNLlCpl,\x20R6qGNL0lo)\x20{\x20\x20\x20\x20VYo\x20{\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20GNLlCplKC1UWMYVdYYMo\x20=\x20GNLlCpl.pRGNV(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20UYNeNC5lppMel\x20=\x207bDE.RMYpl(MVUq(GNLlCplKC1UWMYVdYYMo[I]));\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!UYNeNC5lppMel.6T)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UYNeNC5lppMel.6T\x20=\x20E68qlY(GNLlCplKC1UWMYVdYYMo[z]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20Np3UYilY\x20=\x20VoRlU1\x203UYilYfGUqMGbLURl\x20!==\x20\x276CTl1NClT\x27\x20&&\x20plG1\x20NCpVMCLlU1\x203UYilYfGUqMGbLURl;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20LUCVlJV\x20=\x20Np3UYilY\x20?\x20plG1\x20:\x20xNCTUx;\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[I]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x208lppMel\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(8lppMel3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl3UYT\x20=\x20LUCVlJV.__tMplQz__.RMYpl(GNLlCplKC1UWMYVdYYMo[Z]);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeCMV6Yl\x20=\x20LUCVlJV.__clJ__.pVYNCeN1o(pNeCMV6Yl3UYT);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20pNeC4MGNT\x20=\x20LUCVlJV.__ylYN1o__(pNeCMV6Yl,\x208lppMel,\x20R6qGNL0lo);\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20TU8MNC\x20=\x20UYNeNC5lppMel.T8;\x20\x20\x20\x20\x20\x20\x20\x2016CLVNUC\x20NpuU8MNC5MVLPNCe(UWMVVlYC,\x20UcUpV)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYC\x20=\x20UWMVVlYC.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpV\x20=\x20UcUpV.YlRGMLl(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCWMYVp\x20=\x20RMVVlYC.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVWMYVp\x20=\x20PUpV.pRGNV(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(!RMVVlYC.NCLG6Tlp(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYC\x20===\x20PUpV;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(RMVVlYCWMYVp.GlCeVP\x20<\x20I\x20||\x20RMVVlYCWMYVp[a]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x201MGpl;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20RMVVlYCb611NJ\x20=\x20RMVVlYCWMYVp.pGNLl(h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20PUpVb611NJ\x20=\x20PUpVWMYVp.pGNLl(-RMVVlYCWMYVp.GlCeVP\x20+\x20h).OUNC(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20RMVVlYCb611NJ\x20===\x20PUpVb611NJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GlV\x20TU8MNC4MGNT\x20=\x20(TU8MNC\x20&&\x20TU8MNC.GlCeVP)\x20?\x20TU8MNC.pU8l((T8KVl8)\x20=>\x20NpuU8MNC5MVLPNCe(T8KVl8,\x20GULMVNUC.PUpVCM8l))\x20:\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20N1\x20(GULMVNUC.PUpVCM8l\x20===\x20\x27GULMGPUpV\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TU8MNC4MGNT\x20=\x20VY6l;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20LUCpV\x20yMGNT\x20=\x20pNeC4MGNT\x20&&\x20TU8MNC4MGNT;\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20UYNeNC5lppMel,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20LMVLP\x20(lYYUY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YlV6YC\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20yMGNT:\x201MGpl,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208lppMel:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x23acf1 extends _0x44dce3[_0x12dcd9(0x244)]{constructor(){const _0x2aab87=_0x12dcd9;super(...arguments),_0xe0262(this,_0x2aab87(0x217),new Map());}[_0x12dcd9(0x223)](){const _0x513aa6=_0x12dcd9;super['dispose'](),this['_dependencyTreeCache'][_0x513aa6(0x1d7)]();}async[_0x12dcd9(0x1f4)](){const _0x2e03e8=_0x12dcd9;this[_0x2e03e8(0x1b1)]();const _0xc4ee8=this[_0x2e03e8(0x1f6)][_0x2e03e8(0x216)](),_0x34e79c=this[_0x2e03e8(0x1b3)]['getOtherFormulaData'](),_0x387d69=this['_currentConfigService']['getClearDependencyTreeCache']();_0x387d69!=null&&Object[_0x2e03e8(0x1dd)](_0x387d69)['forEach'](_0x2cc68d=>{const _0x396197=_0x2e03e8;_0x2cc68d!=null&&Object[_0x396197(0x1dd)](_0x387d69[_0x2cc68d])[_0x396197(0x26d)](_0x5ec781=>{const _0x17e149=_0x396197;_0x5ec781!=null&&(this['_dependencyManagerService'][_0x17e149(0x226)](_0x2cc68d,_0x5ec781),this[_0x17e149(0x26e)][_0x17e149(0x1fc)](_0x2cc68d,_0x5ec781),this[_0x17e149(0x26e)][_0x17e149(0x246)](_0x2cc68d,_0x5ec781));});});const _0x3c0d8a=this['_currentConfigService'][_0x2e03e8(0x207)]();await this[_0x2e03e8(0x1b6)](_0xc4ee8,_0x34e79c,_0x3c0d8a),this[_0x2e03e8(0x26e)][_0x2e03e8(0x20b)]();const _0x1f727d=this[_0x2e03e8(0x265)](),_0x52a709=this[_0x2e03e8(0x266)](_0x1f727d);return this[_0x2e03e8(0x222)](_0x52a709)&&this[_0x2e03e8(0x201)][_0x2e03e8(0x275)](),this[_0x2e03e8(0x217)][_0x2e03e8(0x1d7)](),this[_0x2e03e8(0x247)][_0x2e03e8(0x1d7)](),this[_0x2e03e8(0x26e)]['closeKdTree'](),Promise[_0x2e03e8(0x230)](_0x52a709);}[_0x12dcd9(0x258)](_0x1b5f17,_0x3481a8){const _0x5d2a60=_0x12dcd9,_0x4ceead=[_0x1b5f17];for(;_0x4ceead['length']>0x0;){const _0x3bafe0=_0x4ceead[_0x4ceead[_0x5d2a60(0x25a)]-0x1];if((_0x3481a8[_0x5d2a60(0x237)](_0x3bafe0)||0x0)===0x0){_0x3481a8[_0x5d2a60(0x243)](_0x3bafe0,0x1);const _0x59f071=this[_0x5d2a60(0x217)][_0x5d2a60(0x237)](_0x3bafe0);if(_0x59f071==null){_0x3481a8['set'](_0x3bafe0,0x2),_0x4ceead[_0x5d2a60(0x212)]();continue;}const _0x5208ae=this[_0x5d2a60(0x26e)][_0x5d2a60(0x209)](_0x59f071['toRTreeItem']());for(const _0x4f4473 of _0x5208ae){const _0x3f041b=_0x3481a8[_0x5d2a60(0x237)](_0x4f4473)||0x0;if(_0x3f041b===0x1)return!0x0;_0x3f041b===0x0&&_0x4ceead[_0x5d2a60(0x21e)](_0x4f4473);}}else _0x3481a8['set'](_0x3bafe0,0x2),_0x4ceead['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x4b2347){const _0x3b575d=_0x12dcd9,_0xeb0098=new Map();for(const _0x4eef6d of _0x4b2347)if(!_0xeb0098[_0x3b575d(0x26c)](_0x4eef6d[_0x3b575d(0x224)])&&this[_0x3b575d(0x258)](_0x4eef6d[_0x3b575d(0x224)],_0xeb0098))return!0x0;return _0xeb0098[_0x3b575d(0x1d7)](),!0x1;}[_0x12dcd9(0x203)](_0x2a4ca2,_0x4b5ee8,_0x1987d9){const _0x54a904=_0x12dcd9,{unitId:_0x46eb88,subUnitId:_0xc65538,dependencyRanges:_0x4fa507,getDirtyData:_0x12ff3a}=_0x1987d9,_0x1112a3=_0x4b5ee8||_0x44dce3[_0x54a904(0x272)](this[_0x54a904(0x26e)]),_0x38247f=new _0x44dce3[(_0x54a904(0x239))](_0x1112a3);_0x38247f[_0x54a904(0x1c8)]=_0x46eb88,_0x38247f[_0x54a904(0x232)]=_0xc65538,_0x38247f[_0x54a904(0x1de)]=_0x4fa507,_0x38247f[_0x54a904(0x1bc)]=_0x12ff3a;const _0x7e146d=_0x12ff3a(this[_0x54a904(0x1f6)][_0x54a904(0x1bc)](),this[_0x54a904(0x201)]['getAllRuntimeData']()),_0x25b25b=this['_convertDirtyRangesToUnitRange'](_0x7e146d[_0x54a904(0x1c5)]);return _0x38247f[_0x54a904(0x1ce)]=_0x25b25b,_0x38247f['featureId']=_0x2a4ca2,_0x38247f[_0x54a904(0x22d)]=_0x44dce3[_0x54a904(0x250)]['FEATURE_FORMULA'],this[_0x54a904(0x26e)][_0x54a904(0x1d4)](_0x46eb88,_0xc65538,_0x2a4ca2,_0x38247f),this[_0x54a904(0x217)][_0x54a904(0x243)](_0x38247f['treeId'],_0x38247f),this[_0x54a904(0x26e)][_0x54a904(0x221)](_0x1987d9[_0x54a904(0x1c8)],_0x1987d9[_0x54a904(0x232)],_0x2a4ca2)&&(_0x38247f[_0x54a904(0x274)]=!0x0),_0x38247f;}[_0x12dcd9(0x214)](_0x590f3a,_0x542681,_0x290984){const _0x2a40dc=_0x12dcd9;var _0x5ace6f;for(const _0x1aabd5 of _0x542681){const _0x437454=_0x590f3a[_0x1aabd5];if(_0x437454==null)continue;const _0x25950e=Object[_0x2a40dc(0x1dd)](_0x437454);for(const _0x2f5743 of _0x25950e){const _0x5196b6=_0x437454[_0x2f5743];if(_0x5196b6==null)continue;const _0x258853=Object[_0x2a40dc(0x1dd)](_0x5196b6);for(const _0x1e93c6 of _0x258853){const _0x22a505=this[_0x2a40dc(0x26e)][_0x2a40dc(0x1c3)](_0x1e93c6),_0x2e74b4=_0x5196b6[_0x1e93c6],{f:_0x4b1f03,ranges:_0x2601b4}=_0x2e74b4;let _0x3689fc=!0x1;_0x22a505&&(_0x3689fc=!0x0);const {firstRow:_0x4ff984,firstColumn:_0x273c0e}=this[_0x2a40dc(0x1e5)](_0x2601b4),_0x49277f=this['_dependencyManagerService'][_0x2a40dc(0x24c)](_0x1aabd5,_0x2f5743,_0x1e93c6),_0x5b6602=(_0x5ace6f=_0x49277f==null?void 0x0:_0x49277f[_0x2a40dc(0x1b7)](0x0,0x0))!=null?_0x5ace6f:_0x44dce3[_0x2a40dc(0x272)](this[_0x2a40dc(0x26e)]),_0x125255=new _0x44dce3[(_0x2a40dc(0x239))](_0x5b6602);for(let _0x4c79b7=0x0;_0x4c79b7<_0x2601b4[_0x2a40dc(0x25a)];_0x4c79b7++){const _0x5491e7=_0x2601b4[_0x4c79b7],{startRow:_0x44af0b,startColumn:_0x20f5df,endRow:_0x1b8c89,endColumn:_0x56aa8c}=_0x5491e7;for(let _0x1e6a92=_0x44af0b;_0x1e6a92<=_0x1b8c89;_0x1e6a92++)for(let _0x1fbb2a=_0x20f5df;_0x1fbb2a<=_0x56aa8c;_0x1fbb2a++){const _0x4ee2a9=_0x1fbb2a-_0x273c0e,_0x3b250c=_0x1e6a92-_0x4ff984;if(_0x4ee2a9===0x0&&_0x3b250c===0x0){_0x125255['formula']=_0x4b1f03,_0x125255[_0x2a40dc(0x1c8)]=_0x1aabd5,_0x125255[_0x2a40dc(0x232)]=_0x2f5743,_0x125255[_0x2a40dc(0x269)]=_0x1e93c6,_0x125255[_0x2a40dc(0x22d)]=_0x44dce3[_0x2a40dc(0x250)][_0x2a40dc(0x25d)],_0x125255[_0x2a40dc(0x274)]=_0x3689fc,_0x290984[_0x2a40dc(0x21e)](_0x125255),this['_dependencyTreeCache'][_0x2a40dc(0x243)](_0x125255[_0x2a40dc(0x224)],_0x125255),this[_0x2a40dc(0x26e)][_0x2a40dc(0x23f)](_0x1aabd5,_0x2f5743,_0x1e93c6,_0x125255),this[_0x2a40dc(0x26e)][_0x2a40dc(0x236)](_0x125255);continue;}const _0x1d8421=new _0x44dce3[(_0x2a40dc(0x251))]();_0x1d8421[_0x2a40dc(0x224)]=(_0x49277f==null?void 0x0:_0x49277f[_0x2a40dc(0x1b7)](_0x4ee2a9,_0x3b250c))||_0x44dce3['generateRandomDependencyTreeId'](this[_0x2a40dc(0x26e)]),_0x1d8421[_0x2a40dc(0x1f2)]=_0x125255,_0x1d8421[_0x2a40dc(0x1b5)]=_0x4ee2a9,_0x1d8421['refOffsetY']=_0x3b250c,_0x1d8421[_0x2a40dc(0x274)]=_0x3689fc,this[_0x2a40dc(0x26e)]['addOtherFormulaDependency'](_0x1aabd5,_0x2f5743,_0x1e93c6,_0x1d8421),this['_dependencyManagerService'][_0x2a40dc(0x236)](_0x1d8421),_0x290984['push'](_0x1d8421),this[_0x2a40dc(0x217)]['set'](_0x1d8421[_0x2a40dc(0x224)],_0x1d8421);}}this[_0x2a40dc(0x26e)][_0x2a40dc(0x231)](_0x1e93c6);}}}}[_0x12dcd9(0x1bb)](_0x5ce4ac,_0x325511,_0x3f19f2,_0xa633b2){const _0x4830ba=_0x12dcd9;for(const _0x4c052d of _0x5ce4ac){const _0x3cdeb4=_0x325511[_0x4c052d];if(_0x3cdeb4==null)continue;const _0x19bc06=Object['keys'](_0x3cdeb4);for(const _0x378163 of _0x19bc06){const _0x2e9f09=new _0x4ed231[(_0x4830ba(0x259))](_0x3cdeb4[_0x378163]||{}),_0x1715bb=new Map();_0x2e9f09[_0x4830ba(0x267)]((_0x3bb380,_0x516b28,_0x53003d)=>{const _0x24eb90=_0x4830ba;if(_0x53003d==null)return!0x0;const {x:_0x31bcba=0x0,y:_0xdc8a96=0x0,si:_0x1bd0c4}=_0x53003d;if(!(_0x31bcba===0x0&&_0xdc8a96===0x0&&_0x1bd0c4!=null))return!0x0;const _0x578cf8=this[_0x24eb90(0x1dc)](_0x4c052d,_0x378163,_0x3bb380,_0x516b28,_0x3f19f2,_0x53003d),_0x9890ef=this[_0x24eb90(0x26e)][_0x24eb90(0x1ff)](_0x4c052d,_0x378163,_0x3bb380,_0x516b28);_0x9890ef!=null?_0x578cf8['treeId']=_0x9890ef:(this['_dependencyManagerService'][_0x24eb90(0x1f0)](_0x4c052d,_0x378163,_0x3bb380,_0x516b28,_0x578cf8),this[_0x24eb90(0x26e)]['addFormulaDependencyByDefinedName'](_0x578cf8)),_0x1715bb[_0x24eb90(0x243)](_0x1bd0c4,_0x578cf8),_0xa633b2[_0x24eb90(0x21e)](_0x578cf8),this[_0x24eb90(0x217)][_0x24eb90(0x243)](_0x578cf8[_0x24eb90(0x224)],_0x578cf8);}),_0x2e9f09[_0x4830ba(0x267)]((_0x45b233,_0x3c6243,_0x2b74ea)=>{const _0x1b65b4=_0x4830ba;if(_0x2b74ea==null)return!0x0;const {x:_0x1cb450=0x0,y:_0x138c47=0x0,si:_0x1b3f7f}=_0x2b74ea;if(_0x1cb450===0x0&&_0x138c47===0x0&&_0x1b3f7f!=null)return!0x0;let _0x11cd4c;if(_0x1b3f7f&&_0x1715bb[_0x1b65b4(0x26c)](_0x1b3f7f)){const _0x56aca7=_0x1715bb[_0x1b65b4(0x237)](_0x1b3f7f);_0x11cd4c=this[_0x1b65b4(0x25f)](_0x56aca7,_0x2b74ea);}else _0x11cd4c=this[_0x1b65b4(0x1dc)](_0x4c052d,_0x378163,_0x45b233,_0x3c6243,_0x3f19f2,_0x2b74ea);const _0x4baf43=this[_0x1b65b4(0x26e)]['getFormulaDependency'](_0x4c052d,_0x378163,_0x45b233,_0x3c6243);_0x4baf43!=null?_0x11cd4c[_0x1b65b4(0x224)]=_0x4baf43:(this[_0x1b65b4(0x26e)][_0x1b65b4(0x1f0)](_0x4c052d,_0x378163,_0x45b233,_0x3c6243,_0x11cd4c),this[_0x1b65b4(0x26e)][_0x1b65b4(0x236)](_0x11cd4c)),_0xa633b2[_0x1b65b4(0x21e)](_0x11cd4c),this[_0x1b65b4(0x217)][_0x1b65b4(0x243)](_0x11cd4c['treeId'],_0x11cd4c);}),_0x1715bb[_0x4830ba(0x1d7)]();}}}['_createFDtree'](_0x275fb5,_0x1c92fb,_0x295a9b,_0x30195b,_0xe324f8,_0x2a395a){const _0x3c702f=_0x12dcd9,{f:_0x31421c,x:_0x5c760e=0x0,y:_0x2992a9=0x0}=_0x2a395a,_0x56dbfc=new _0x44dce3[(_0x3c702f(0x239))](_0x44dce3[_0x3c702f(0x272)](this[_0x3c702f(0x26e)])),_0x2b7c64=_0xe324f8[_0x275fb5][_0x1c92fb];return _0x56dbfc[_0x3c702f(0x1db)]=_0x31421c,_0x56dbfc['unitId']=_0x275fb5,_0x56dbfc[_0x3c702f(0x232)]=_0x1c92fb,_0x56dbfc[_0x3c702f(0x1d0)]=_0x295a9b,_0x56dbfc[_0x3c702f(0x1d3)]=_0x30195b,_0x56dbfc[_0x3c702f(0x257)]=_0x2b7c64['rowCount'],_0x56dbfc['columnCount']=_0x2b7c64['columnCount'],_0x56dbfc;}[_0x12dcd9(0x265)](){const _0x464d1a=_0x12dcd9,_0x5787d6=[],_0x33458b=new Set(),_0x58bbbf=this[_0x464d1a(0x1f6)][_0x464d1a(0x21f)](),_0x596fa7=this[_0x464d1a(0x1f6)][_0x464d1a(0x1f5)](),_0x46959d=this[_0x464d1a(0x26e)][_0x464d1a(0x209)](_0x596fa7),_0x1035a6=this[_0x464d1a(0x247)]['bulkSearch'](_0x596fa7);for(const _0x4e84f5 of _0x1035a6)_0x46959d[_0x464d1a(0x234)](_0x4e84f5);for(const [_0x2d7154,_0x3bb622]of this[_0x464d1a(0x217)])(_0x58bbbf||_0x3bb622[_0x464d1a(0x1e0)]||_0x3bb622[_0x464d1a(0x270)](this['_currentConfigService'][_0x464d1a(0x208)]())||_0x46959d[_0x464d1a(0x26c)](_0x2d7154)&&!_0x3bb622[_0x464d1a(0x1b0)](this[_0x464d1a(0x1f6)][_0x464d1a(0x253)]()))&&!_0x33458b[_0x464d1a(0x26c)](_0x2d7154)&&(_0x5787d6[_0x464d1a(0x21e)](_0x3bb622),_0x33458b['add'](_0x2d7154));for(const [_0x432bfb,_0x2235f8]of this[_0x464d1a(0x217)])_0x2235f8['isVirtual']||(_0x2235f8[_0x464d1a(0x1de)][_0x464d1a(0x25a)]=0x0);return _0x5787d6;}[_0x12dcd9(0x1f3)](_0x2a5d38){return this['_dependencyTreeCache']['get'](_0x2a5d38);}[_0x12dcd9(0x1b4)](_0x2dc2ad){const _0x2832b8=_0x12dcd9;return _0x44dce3[_0x2832b8(0x211)](_0x2dc2ad[_0x2832b8(0x1c8)],_0x2dc2ad[_0x2832b8(0x1db)],this['_lexer'],this['_astTreeBuilder'],this[_0x2832b8(0x1f6)]);}*['_traverse'](_0x2e7beb,_0x553d38){const _0x35bea8=_0x12dcd9,_0x54f694=_0x2e7beb,_0x241fcd=new Set();for(;_0x54f694[_0x35bea8(0x25a)]>0x0;){const _0x8d3c28=_0x54f694[_0x35bea8(0x212)]();if(_0x241fcd[_0x35bea8(0x1d7)](),_0x8d3c28===void 0x0||_0x8d3c28[_0x35bea8(0x1b2)]())continue;if(_0x8d3c28['isAdded']()){yield _0x8d3c28,_0x8d3c28[_0x35bea8(0x1bd)](),_0x553d38['add'](_0x8d3c28['treeId']);continue;}const _0x270e53=this[_0x35bea8(0x26e)][_0x35bea8(0x209)](_0x8d3c28[_0x35bea8(0x1e3)](),_0x553d38),_0x51e383=this[_0x35bea8(0x247)][_0x35bea8(0x1b8)](_0x8d3c28[_0x35bea8(0x1e3)](),_0x553d38);for(const _0x2d8f95 of _0x51e383)_0x270e53['add'](_0x2d8f95);for(const _0x222258 of _0x270e53){const _0x5535f1=this[_0x35bea8(0x217)]['get'](_0x222258);if(!_0x5535f1)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5535f1['isAdded']()||_0x8d3c28['isSkip']()||_0x241fcd[_0x35bea8(0x234)](_0x5535f1);}if(_0x270e53['clear'](),_0x241fcd['size']===0x0)yield _0x8d3c28,_0x8d3c28[_0x35bea8(0x1bd)](),_0x553d38[_0x35bea8(0x234)](_0x8d3c28[_0x35bea8(0x224)]);else{_0x8d3c28[_0x35bea8(0x1ca)](),_0x54f694['push'](_0x8d3c28);for(const _0x99c4f9 of _0x241fcd)_0x54f694['push'](_0x99c4f9);}}_0x54f694[_0x35bea8(0x25a)]=0x0,_0x241fcd[_0x35bea8(0x1d7)]();}[_0x12dcd9(0x266)](_0x5a2d38){const _0x133667=_0x12dcd9,_0x3c9399=[],_0x34b765=new Set();for(const _0x17267e of this[_0x133667(0x1c7)](_0x5a2d38,_0x34b765))_0x3c9399[_0x133667(0x21e)](_0x17267e);return _0x3c9399;}}class _0x36ddbc extends _0x44dce3[_0x12dcd9(0x1e7)]{async[_0x12dcd9(0x21a)](_0x39b075=!0x1){const _0x584327=_0x12dcd9;_0x39b075?this[_0x584327(0x201)][_0x584327(0x21c)](_0x44dce3[_0x584327(0x1fd)][_0x584327(0x1eb)]):this['_runtimeService'][_0x584327(0x21c)](_0x44dce3['FormulaExecuteStageType'][_0x584327(0x227)]),this['_executionInProgressListener$'][_0x584327(0x220)](this['_runtimeService'][_0x584327(0x1da)]());const _0x304d80=await this['_formulaDependencyGenerator']['generate'](),_0x2b0761=this[_0x584327(0x1f1)];_0x39b075?(this[_0x584327(0x201)][_0x584327(0x21c)](_0x44dce3[_0x584327(0x1fd)][_0x584327(0x26f)]),this['_runtimeService'][_0x584327(0x20d)](_0x304d80[_0x584327(0x25a)])):(this['_runtimeService'][_0x584327(0x21c)](_0x44dce3['FormulaExecuteStageType'][_0x584327(0x1c0)]),this[_0x584327(0x201)][_0x584327(0x271)](_0x304d80[_0x584327(0x25a)])),this['_executionInProgressListener$'][_0x584327(0x220)](this['_runtimeService']['getRuntimeState']());let _0x42d045=[];const _0x26d39c=this[_0x584327(0x1e9)][_0x584327(0x20c)](_0x44dce3[_0x584327(0x1cc)]),_0xc1ed1a=(_0x26d39c==null?void 0x0:_0x26d39c[_0x584327(0x248)])||_0x44dce3[_0x584327(0x235)];let _0x4edb81=0x0;const _0xb5b059=_0x304d80[_0x584327(0x25a)];for(;_0x304d80[_0x584327(0x25a)]>0x0;){const _0x5e7a51=_0x304d80[_0x584327(0x212)](),_0x567998={'node':_0x44dce3[_0x584327(0x211)](_0x5e7a51['unitId'],_0x5e7a51[_0x584327(0x1db)],this[_0x584327(0x225)],this[_0x584327(0x1c4)],this[_0x584327(0x1f6)]),'refOffsetX':_0x5e7a51[_0x584327(0x1b5)],'refOffsetY':_0x5e7a51['refOffsetY']},_0x321785=_0x5e7a51[_0x584327(0x1bc)];if(_0x4edb81%_0xc1ed1a===0x0&&(await new Promise(_0x26bcf8=>{const _0x568fc4=_0x584327,_0x503560=_0x4ed231[_0x568fc4(0x1bf)](_0x26bcf8);_0x42d045[_0x568fc4(0x21e)](_0x503560);}),_0x39b075?(this[_0x584327(0x201)]['setFormulaExecuteStage'](_0x44dce3[_0x584327(0x1fd)][_0x584327(0x252)]),this['_runtimeService'][_0x584327(0x25e)](_0x4edb81+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x44dce3['FormulaExecuteStageType']['CURRENTLY_CALCULATING']),this[_0x584327(0x201)][_0x584327(0x1be)](_0x4edb81+0x1)),this['_executionInProgressListener$'][_0x584327(0x220)](this[_0x584327(0x201)]['getRuntimeState']()),this[_0x584327(0x201)][_0x584327(0x22c)]()||_0x567998==null&&_0x321785==null)){this[_0x584327(0x201)][_0x584327(0x21c)](_0x44dce3[_0x584327(0x1fd)][_0x584327(0x1e1)]),this['_runtimeService'][_0x584327(0x1f9)](),this['_executionCompleteListener$'][_0x584327(0x220)](this[_0x584327(0x201)][_0x584327(0x1d6)]());return;}this[_0x584327(0x201)][_0x584327(0x22b)](_0x5e7a51[_0x584327(0x1d0)],_0x5e7a51[_0x584327(0x1d3)],_0x5e7a51[_0x584327(0x257)],_0x5e7a51[_0x584327(0x22e)],_0x5e7a51[_0x584327(0x232)],_0x5e7a51[_0x584327(0x1c8)]);let _0x197699;if(_0x321785!=null&&_0x5e7a51[_0x584327(0x23b)]!=null){const {runtimeCellData:_0x5cb80f,dirtyRanges:_0x1ede5f}=_0x321785(this['_currentConfigService'][_0x584327(0x1bc)](),this[_0x584327(0x201)][_0x584327(0x1d6)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x5e7a51[_0x584327(0x23b)],_0x5cb80f),this[_0x584327(0x201)]['setRuntimeFeatureRange'](_0x5e7a51[_0x584327(0x23b)],_0x1ede5f);}else _0x567998!=null&&(_0x2b0761[_0x584327(0x1d1)](_0x567998['node'])?_0x197699=await _0x2b0761[_0x584327(0x260)](_0x567998):_0x197699=_0x2b0761[_0x584327(0x22a)](_0x567998),_0x5e7a51[_0x584327(0x269)]!=null?this[_0x584327(0x201)]['setRuntimeOtherData'](_0x5e7a51[_0x584327(0x269)],_0x5e7a51[_0x584327(0x1b5)],_0x5e7a51[_0x584327(0x23e)],_0x197699):this[_0x584327(0x201)][_0x584327(0x204)](_0x197699));_0x4edb81++;}return _0x42d045[_0x584327(0x26d)](_0x118fce=>_0x118fce()),_0x42d045=[],_0xb5b059>0x0?this[_0x584327(0x201)][_0x584327(0x1c1)]():_0x39b075||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x584327(0x1d6)]();}}class _0x5b3cfa extends _0x44dce3[_0x12dcd9(0x213)]{constructor(){const _0x5ab10c=_0x12dcd9;super(...arguments),_0xe0262(this,_0x5ab10c(0x228),new Map()),_0xe0262(this,'_dependencyRTreeCache',new _0x4ed231[(_0x5ab10c(0x1cf))](!0x0));}[_0x12dcd9(0x23c)](){const _0x442dee=_0x12dcd9;this[_0x442dee(0x1fe)][_0x442dee(0x1d7)](),this['_featureFormulaData'][_0x442dee(0x1d7)](),this[_0x442dee(0x24d)][_0x442dee(0x1d7)](),this['_dependencyRTreeCache'][_0x442dee(0x1d7)](),this[_0x442dee(0x228)]['clear'](),this[_0x442dee(0x205)](),this['_otherFormulaDataMainData'][_0x442dee(0x1d7)]();}[_0x12dcd9(0x23f)](_0x15c302,_0x2693e5,_0xd85f35,_0x2013db){const _0x52028a=_0x12dcd9;this[_0x52028a(0x1fe)][_0x52028a(0x26c)](_0x15c302)||this[_0x52028a(0x1fe)][_0x52028a(0x243)](_0x15c302,new Map());const _0x592e2c=this[_0x52028a(0x1fe)]['get'](_0x15c302);_0x592e2c[_0x52028a(0x26c)](_0x2693e5)||_0x592e2c[_0x52028a(0x243)](_0x2693e5,new Map());const _0x30f7ad=_0x592e2c[_0x52028a(0x237)](_0x2693e5);_0x30f7ad['has'](_0xd85f35)||_0x30f7ad['set'](_0xd85f35,new _0x4ed231[(_0x52028a(0x259))]()),_0x30f7ad['get'](_0xd85f35)[_0x52028a(0x23d)](_0x2013db[_0x52028a(0x1b5)],_0x2013db[_0x52028a(0x23e)],_0x2013db['treeId']);}[_0x12dcd9(0x1d2)](_0x3fe756,_0x1abcdc,_0x2906f5){const _0x2a5499=_0x12dcd9,_0x12d2ac=this[_0x2a5499(0x1fe)][_0x2a5499(0x237)](_0x3fe756);if(_0x12d2ac&&_0x12d2ac[_0x2a5499(0x26c)](_0x1abcdc)){const _0x44d5a5=_0x12d2ac[_0x2a5499(0x237)](_0x1abcdc);_0x2906f5[_0x2a5499(0x26d)](_0x58c129=>{const _0x4c1134=_0x2a5499,_0x570f09=_0x44d5a5['get'](_0x58c129);_0x570f09!=null&&(_0x570f09[_0x4c1134(0x267)]((_0x48419d,_0x47670,_0x492f21)=>{const _0x5dd84b=_0x4c1134;this['_removeDependencyRTreeCache'](_0x492f21),this[_0x5dd84b(0x202)](_0x492f21);}),_0x44d5a5[_0x4c1134(0x262)](_0x58c129),this[_0x4c1134(0x1f7)][_0x4c1134(0x262)](_0x58c129));}),_0x44d5a5[_0x2a5499(0x1e2)]===0x0&&_0x12d2ac[_0x2a5499(0x262)](_0x1abcdc),_0x12d2ac[_0x2a5499(0x1e2)]===0x0&&this[_0x2a5499(0x1fe)][_0x2a5499(0x262)](_0x3fe756);}}['clearOtherFormulaDependency'](_0x3a2a3c,_0x4a4db1){const _0x110a47=_0x12dcd9,_0x5dc511=this[_0x110a47(0x1fe)]['get'](_0x3a2a3c);if(_0x4a4db1&&_0x5dc511&&_0x5dc511[_0x110a47(0x26c)](_0x4a4db1)){const _0x2c9b43=_0x5dc511[_0x110a47(0x237)](_0x4a4db1);this[_0x110a47(0x20f)](_0x3a2a3c,_0x4a4db1);for(const _0x41343c of _0x2c9b43['keys']()){const _0x389a3f=_0x2c9b43[_0x110a47(0x237)](_0x41343c);_0x389a3f!=null&&(_0x389a3f[_0x110a47(0x267)]((_0x536df1,_0x179031,_0x536656)=>{const _0x4b5cec=_0x110a47;this[_0x4b5cec(0x228)]['get'](_0x536656)&&this[_0x4b5cec(0x202)](_0x536656);}),this[_0x110a47(0x1f7)][_0x110a47(0x262)](_0x41343c));}_0x2c9b43[_0x110a47(0x1d7)]();}else{if(_0x5dc511){for(const _0x593ac6 of _0x5dc511[_0x110a47(0x1dd)]()){const _0x564763=_0x5dc511[_0x110a47(0x237)](_0x593ac6);this['_removeDependencyRTreeCacheById'](_0x3a2a3c,_0x593ac6);for(const _0x424f57 of _0x564763[_0x110a47(0x1dd)]()){const _0x335892=_0x564763[_0x110a47(0x237)](_0x424f57);_0x335892!=null&&(_0x335892[_0x110a47(0x267)]((_0x1db443,_0x19b4a3,_0x1bc765)=>{const _0xe7b862=_0x110a47;this[_0xe7b862(0x228)][_0xe7b862(0x237)](_0x1bc765)&&this[_0xe7b862(0x202)](_0x1bc765);}),this[_0x110a47(0x1f7)]['delete'](_0x424f57));}}this[_0x110a47(0x1fe)][_0x110a47(0x262)](_0x3a2a3c);}}}[_0x12dcd9(0x1d4)](_0x2cbdf2,_0x37c4c8,_0x39cb5c,_0x367b85){const _0x5aa33b=_0x12dcd9;this[_0x5aa33b(0x1ed)][_0x5aa33b(0x26c)](_0x2cbdf2)||this[_0x5aa33b(0x1ed)][_0x5aa33b(0x243)](_0x2cbdf2,new Map());const _0x3978d9=this[_0x5aa33b(0x1ed)][_0x5aa33b(0x237)](_0x2cbdf2);_0x3978d9[_0x5aa33b(0x26c)](_0x37c4c8)||_0x3978d9[_0x5aa33b(0x243)](_0x37c4c8,new Map()),_0x3978d9[_0x5aa33b(0x237)](_0x37c4c8)[_0x5aa33b(0x243)](_0x39cb5c,_0x367b85[_0x5aa33b(0x224)]);}[_0x12dcd9(0x263)](_0x4f9560,_0xe9f24,_0x4cd1ba){const _0x50e87a=_0x12dcd9,_0x3b2ad5=this['_featureFormulaData'][_0x50e87a(0x237)](_0x4f9560);if(_0x3b2ad5&&_0x3b2ad5[_0x50e87a(0x26c)](_0xe9f24)){const _0x31d89b=_0x3b2ad5[_0x50e87a(0x237)](_0xe9f24);_0x4cd1ba['forEach'](_0x5e0d96=>{const _0x3db1c7=_0x50e87a,_0x18d7e6=_0x31d89b[_0x3db1c7(0x237)](_0x5e0d96);_0x18d7e6!=null&&(this[_0x3db1c7(0x215)](_0x18d7e6),_0x31d89b[_0x3db1c7(0x262)](_0x5e0d96),this[_0x3db1c7(0x202)](_0x18d7e6));});}}['clearFeatureFormulaDependency'](_0xdb7239,_0x4ee512){const _0x4e7e25=_0x12dcd9,_0x47600b=this[_0x4e7e25(0x1ed)][_0x4e7e25(0x237)](_0xdb7239);if(_0x4ee512&&_0x47600b&&_0x47600b[_0x4e7e25(0x26c)](_0x4ee512)){const _0x219c95=_0x47600b['get'](_0x4ee512);this[_0x4e7e25(0x20f)](_0xdb7239,_0x4ee512),_0x219c95[_0x4e7e25(0x26d)](_0x56add3=>{const _0x42c820=_0x4e7e25;_0x56add3!=null&&this[_0x42c820(0x202)](_0x56add3);}),_0x219c95[_0x4e7e25(0x1d7)]();}else _0x47600b&&(_0x47600b[_0x4e7e25(0x26d)]((_0x27590e,_0x4319e5)=>{const _0x44a712=_0x4e7e25;this[_0x44a712(0x20f)](_0xdb7239,_0x4319e5),_0x27590e[_0x44a712(0x26d)](_0x2bec0b=>{const _0x593361=_0x44a712;_0x2bec0b!=null&&this[_0x593361(0x202)](_0x2bec0b);});}),this[_0x4e7e25(0x1ed)]['delete'](_0xdb7239));}[_0x12dcd9(0x1f0)](_0x22eec5,_0x5de54a,_0x212214,_0x5cb340,_0x51f3dc){const _0xa63dd1=_0x12dcd9;this['_formulaData'][_0xa63dd1(0x26c)](_0x22eec5)||this[_0xa63dd1(0x24d)]['set'](_0x22eec5,new Map());const _0x19f167=this['_formulaData'][_0xa63dd1(0x237)](_0x22eec5);_0x19f167[_0xa63dd1(0x26c)](_0x5de54a)||_0x19f167[_0xa63dd1(0x243)](_0x5de54a,new _0x4ed231[(_0xa63dd1(0x259))]()),_0x19f167[_0xa63dd1(0x237)](_0x5de54a)[_0xa63dd1(0x23d)](_0x212214,_0x5cb340,_0x51f3dc[_0xa63dd1(0x224)]);}[_0x12dcd9(0x1f8)](_0x270d56,_0x138d10,_0x3118a5,_0x26e5f3){const _0x372313=_0x12dcd9,_0x3faa14=this[_0x372313(0x24d)][_0x372313(0x237)](_0x270d56);if(_0x3faa14&&_0x3faa14[_0x372313(0x26c)](_0x138d10)){const _0x48a656=_0x3faa14[_0x372313(0x237)](_0x138d10),_0x3c98b7=_0x48a656[_0x372313(0x1b7)](_0x3118a5,_0x26e5f3);if(_0x3c98b7==null)return;this[_0x372313(0x215)](_0x3c98b7),_0x48a656[_0x372313(0x24e)](_0x3118a5,_0x26e5f3),this[_0x372313(0x202)](_0x3c98b7);}}[_0x12dcd9(0x246)](_0x110537,_0x19ae7e){const _0x363a65=_0x12dcd9,_0xe5a57f=this[_0x363a65(0x24d)][_0x363a65(0x237)](_0x110537);if(_0x19ae7e&&_0xe5a57f&&_0xe5a57f[_0x363a65(0x26c)](_0x19ae7e)){const _0x587344=_0xe5a57f[_0x363a65(0x237)](_0x19ae7e);this[_0x363a65(0x20f)](_0x110537,_0x19ae7e),_0x587344[_0x363a65(0x267)]((_0x8b5d1,_0x17d27a,_0x4ad577)=>{const _0x151032=_0x363a65;if(_0x4ad577==null)return!0x0;this[_0x151032(0x202)](_0x4ad577);}),_0x587344[_0x363a65(0x23c)]();}else _0xe5a57f&&(_0xe5a57f['forEach']((_0x4759ef,_0x34b595)=>{const _0x10115e=_0x363a65;this[_0x10115e(0x20f)](_0x110537,_0x34b595),_0x4759ef[_0x10115e(0x267)]((_0x4d6f77,_0x27261c,_0xd587a)=>{const _0x5037c6=_0x10115e;if(_0xd587a==null)return!0x0;this[_0x5037c6(0x202)](_0xd587a);});}),this[_0x363a65(0x24d)][_0x363a65(0x262)](_0x110537));}[_0x12dcd9(0x215)](_0x3418d1){const _0x4c1d54=_0x12dcd9;if(_0x3418d1==null)return;const _0x44674d=this['_allTreeMap'][_0x4c1d54(0x237)](_0x3418d1);if(_0x44674d){const _0x57431a=[];for(const [_0x49e2bd,_0x32051f]of _0x44674d)for(const [_0x4526e0,_0x404c52]of _0x32051f)_0x57431a[_0x4c1d54(0x21e)]({'unitId':_0x49e2bd,'sheetId':_0x4526e0,'range':_0x404c52,'id':_0x3418d1});this[_0x4c1d54(0x26b)][_0x4c1d54(0x25c)](_0x57431a);}}['removeFormulaDependencyByDefinedName'](_0x27883e,_0x49136e){const _0x1fabfa=_0x12dcd9,_0x370eaa=this[_0x1fabfa(0x20e)][_0x1fabfa(0x237)](_0x27883e);if(_0x370eaa){const _0x94908d=_0x370eaa[_0x1fabfa(0x237)](_0x49136e);if(_0x94908d){for(const _0xd944dc of _0x94908d)this[_0x1fabfa(0x215)](_0xd944dc),this[_0x1fabfa(0x202)](_0xd944dc);_0x94908d['clear']();}}}[_0x12dcd9(0x20b)](){const _0x1bfae9=_0x12dcd9;this['_dependencyRTreeCache'][_0x1bfae9(0x20b)]();}['closeKdTree'](){const _0x40d53=_0x12dcd9;this[_0x40d53(0x26b)][_0x40d53(0x1d9)]();}[_0x12dcd9(0x202)](_0x14a2fe){const _0x59749b=_0x12dcd9;_0x14a2fe!=null&&this[_0x59749b(0x228)][_0x59749b(0x262)](_0x14a2fe);}[_0x12dcd9(0x1ea)](_0x5489f5){const _0x150349=_0x12dcd9;var _0xc325e0,_0x3b1dcc;const _0x368c2d=_0x5489f5[_0x150349(0x1de)];let _0x557a91=this[_0x150349(0x228)][_0x150349(0x237)](_0x5489f5['treeId']);for(let _0x1d3635=0x0;_0x1d3635<_0x368c2d['length'];_0x1d3635++){const _0x16db6a=_0x368c2d[_0x1d3635];let {unitId:_0x38baf0,sheetId:_0x352803,range:_0x1ea945}=_0x16db6a;_0x557a91||(_0x557a91=new Map(),this['_allTreeMap']['set'](_0x5489f5[_0x150349(0x224)],_0x557a91)),_0x557a91['has'](_0x38baf0)||_0x557a91[_0x150349(0x243)](_0x38baf0,new Map());const _0x264e96=(_0xc325e0=_0x557a91==null?void 0x0:_0x557a91[_0x150349(0x237)](_0x38baf0))==null?void 0x0:_0xc325e0[_0x150349(0x237)](_0x352803);_0x264e96&&(_0x1ea945={'startRow':Math['min'](_0x1ea945[_0x150349(0x1ef)],_0x264e96['startRow']),'startColumn':Math['min'](_0x1ea945[_0x150349(0x256)],_0x264e96[_0x150349(0x256)]),'endRow':Math[_0x150349(0x25b)](_0x1ea945['endRow'],_0x264e96[_0x150349(0x229)]),'endColumn':Math[_0x150349(0x25b)](_0x1ea945[_0x150349(0x242)],_0x264e96[_0x150349(0x242)])}),(_0x3b1dcc=_0x557a91[_0x150349(0x237)](_0x38baf0))==null||_0x3b1dcc[_0x150349(0x243)](_0x352803,_0x1ea945);}}}var _0x56484a=Object[_0x12dcd9(0x1ba)],_0x5d1e64=(_0x2cf552,_0x53b8b6,_0x42fd22,_0x59c2c6)=>{const _0x4ead6a=_0x12dcd9;for(var _0x3b8744=_0x59c2c6>0x1?void 0x0:_0x59c2c6?_0x56484a(_0x53b8b6,_0x42fd22):_0x53b8b6,_0x187760=_0x2cf552[_0x4ead6a(0x25a)]-0x1,_0x55ed32;_0x187760>=0x0;_0x187760--)(_0x55ed32=_0x2cf552[_0x187760])&&(_0x3b8744=_0x55ed32(_0x3b8744)||_0x3b8744);return _0x3b8744;};const _0x5e2641=Number[_0x12dcd9(0x200)](0x68a81e32);_0x4fc95c['UniverProFormulaEnginePlugin']=class extends _0x44dce3[_0x12dcd9(0x241)]{[_0x12dcd9(0x1cb)](){const _0x28de93=_0x12dcd9;var _0xb1a30c,_0x3989e9;this[_0x28de93(0x273)]()?(_0xb1a30c=this['_config'])!=null&&_0xb1a30c[_0x28de93(0x1d5)]||[[_0x44dce3[_0x28de93(0x1cd)],{'useClass':_0x36ddbc}],[_0x44dce3[_0x28de93(0x1e6)],{'useClass':_0x5b3cfa}],[_0x44dce3[_0x28de93(0x254)],{'useClass':_0x23acf1}]]['forEach'](_0x511909=>this[_0x28de93(0x1ec)]['add'](_0x511909)):(_0x3989e9=this[_0x28de93(0x261)])!=null&&_0x3989e9['notExecuteFormula']||[[_0x44dce3['ICalculateFormulaService'],{'useClass':_0x44dce3[_0x28de93(0x1e7)]}],[_0x44dce3[_0x28de93(0x1e6)],{'useClass':_0x44dce3[_0x28de93(0x20a)]}],[_0x44dce3['IFormulaDependencyGenerator'],{'useClass':_0x44dce3[_0x28de93(0x244)]}]][_0x28de93(0x26d)](_0x5863c2=>this[_0x28de93(0x1ec)][_0x28de93(0x234)](_0x5863c2));}[_0x12dcd9(0x273)](){const _0x1b82d6=_0x12dcd9;var _0x1ada8e;const _0x46ab56=(_0x1ada8e=this[_0x1b82d6(0x1e9)][_0x1b82d6(0x20c)](_0x169c73[_0x1b82d6(0x255)]))!=null?_0x1ada8e:{},{ls:_0x4e74f7,pbk:_0x190680}=_0x46ab56;if(!_0x4e74f7||!_0x190680)return!0x1;const _0xdc1d42=_0x169c73[_0x1b82d6(0x1fb)](_0x4cddb1,_0x45d6a6),_0x3c3b51=new Function(_0x1b82d6(0x26a)+_0xdc1d42)()(_0x4e74f7,_0x190680),_0x112a70=_0x3c3b51[_0x1b82d6(0x206)];return _0x3c3b51[_0x1b82d6(0x1fa)]&&_0x169c73[_0x1b82d6(0x1e4)](_0x112a70,'sf',_0x5e2641)?_0x169c73['getSheetFeatureLimit'](_0x112a70,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x4fc95c[_0x12dcd9(0x24a)]=_0x5d1e64([_0x4ed231[_0x12dcd9(0x238)](_0x169c73[_0x12dcd9(0x245)])],_0x4fc95c[_0x12dcd9(0x24a)]),Object[_0x12dcd9(0x1dd)](_0x44dce3)[_0x12dcd9(0x26d)](_0x1dd9b7=>{const _0x4f5fbc=_0x12dcd9;_0x1dd9b7!==_0x4f5fbc(0x210)&&!Object[_0x4f5fbc(0x21d)][_0x4f5fbc(0x24f)][_0x4f5fbc(0x219)](_0x4fc95c,_0x1dd9b7)&&Object[_0x4f5fbc(0x233)](_0x4fc95c,_0x1dd9b7,{'enumerable':!0x0,'get':()=>_0x44dce3[_0x1dd9b7]});}),Object[_0x12dcd9(0x233)](_0x4fc95c,Symbol[_0x12dcd9(0x1c6)],{'value':'Module'});}));function _0x7fea(_0x1bf209,_0x4db38b){const _0x48c875=_0x48c8();return _0x7fea=function(_0x7fea72,_0x3facf8){_0x7fea72=_0x7fea72-0x1b0;let _0x18a1e8=_0x48c875[_0x7fea72];return _0x18a1e8;},_0x7fea(_0x1bf209,_0x4db38b);}function _0x48c8(){const _0x5cc9a4=['add','DEFAULT_INTERVAL_COUNT','addFormulaDependencyByDefinedName','get','DependentOn','FormulaDependencyTree','63xnuGVa','featureId','reset','setValue','refOffsetY','addOtherFormulaDependency','778936mSHHyb','UniverFormulaEnginePlugin','endColumn','set','FormulaDependencyGenerator','UniverLicensePlugin','clearFormulaDependency','_dependencyRTreeCacheForAddressFunction','intervalCount','2584560hIjboW','UniverProFormulaEnginePlugin','symbol','getOtherFormulaDependency','_formulaData','realDeleteValue','hasOwnProperty','FormulaDependencyTreeType','FormulaDependencyTreeVirtual','CURRENTLY_CALCULATING_ARRAY_FORMULA','getExcludedRange','IFormulaDependencyGenerator','LS_CONFIG_KEY','startColumn','rowCount','_isCyclicUtilMap','ObjectMatrix','length','max','bulkRemove','OTHER_FORMULA','setCompletedArrayFormulasCount','_createVirtualFDtree','executeAsync','_config','delete','removeFeatureFormulaDependency','4557510XPWJiG','_getUpdateTreeListAndMakeDependency','_calculateRunList','forValue','40blCCWw','formulaId','return\x20','_dependencyRTreeCache','has','forEach','_dependencyManagerService','START_CALCULATION_ARRAY_FORMULA','dependencySheetName','setTotalFormulasToCalculate','generateRandomDependencyTreeId','_initLicenseValid','isCache','enableCycleDependency','isExcludeRange','_updateRangeFlatten','isSkip','_otherFormulaManagerService','_getTreeNode','refOffsetX','_generateTreeList','getValue','bulkSearch','1860960OPkjhE','getOwnPropertyDescriptor','_registerFormulas','getDirtyData','setSkip','setCompletedFormulasCount','requestImmediateMacroTask','START_CALCULATION','markedAsSuccessfullyExecuted','UniverEngineFormula','hasOtherFormulaDataMainData','_astTreeBuilder','dirtyRanges','toStringTag','_traverse','unitId','4556511CoTaFa','setAdded','_initializeWithOverride','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','ICalculateFormulaService','featureDirtyRanges','RTree','row','checkAsyncNode','removeOtherFormulaDependency','column','addFeatureFormulaDependency','notExecuteFormula','getAllRuntimeData','clear','UniverCore','closeKdTree','getRuntimeState','formula','_createFDtree','keys','rangeList','@univerjs/core','isDirty','IDLE','size','toRTreeItem','isFeatureAuthorizedWithinTime','_getFirstCellOfRange','IDependencyManagerService','CalculateFormulaService','1490172SyBIYR','_configService','_addAllTreeMap','START_DEPENDENCY_ARRAY_FORMULA','_injector','_featureFormulaData','3hGixmt','startRow','addFormulaDependency','_interpreter','refTree','_getTreeById','generate','getDirtyRanges','_currentConfigService','_otherFormulaDataMainData','removeFormulaDependency','markedAsStopFunctionsExecuted','valid','unshiftString','clearFeatureFormulaDependency','FormulaExecuteStageType','_otherFormulaData','getFormulaDependency','parseInt','_runtimeService','_removeAllTreeMap','_getFeatureFormulaTree','setRuntimeData','_restDependencyTreeId','message','getUnitData','getDirtyNameMap','searchDependency','DependencyManagerService','openKdTree','getConfig','setTotalArrayFormulasToCalculate','_definedNameMap','_removeDependencyRTreeCacheById','default','generateAstNode','pop','DependencyManagerBaseService','_registerOtherFormulas','_removeDependencyRTreeCache','getFormulaData','_dependencyTreeCache','781983gBSklW','call','_apply','@univerjs-pro/license','setFormulaExecuteStage','prototype','push','isForceCalculate','next','getFeatureFormulaDependency','_checkIsCycleDependency','dispose','treeId','_lexer','clearOtherFormulaDependency','START_DEPENDENCY','_allTreeMap','endRow','execute','setCurrent','isStopExecution','type','columnCount','exports','resolve','addOtherFormulaDependencyMainData','subUnitId','defineProperty'];_0x48c8=function(){return _0x5cc9a4;};return _0x48c8();}
|
|
1
|
+
function _0x2251(){const _0x26ddc9=['reset','setRuntimeFeatureCellData','isVirtual','getOtherFormulaDependency','removeFeatureFormulaDependency','intervalCount','getValue','prototype','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','setValue','pop','markedAsSuccessfullyExecuted','IDLE','default','length','getSheetFeatureLimit','add','START_CALCULATION','formulaId','isAdded','setFormulaExecuteStage','UniverLicensePlugin','return\x20','_interpreter','startRow','columnCount','amd','_executionInProgressListener$','setCurrent','setCompletedFormulasCount','99gigFul','_removeDependencyRTreeCache','_updateRangeFlatten','234178zSpLTx','getRuntimeState','_getTreeNode','getFeatureFormulaDependency','getOwnPropertyDescriptor','executeAsync','5wyItKp','min','setTotalFormulasToCalculate','DependencyManagerBaseService','START_DEPENDENCY','isStopExecution','_getFeatureFormulaTree','_generateTreeList','IDependencyManagerService','_featureFormulaData','_runtimeService','getConfig','markedAsStopFunctionsExecuted','get','refOffsetY','parseInt','execute','isExcludeRange','_configService','@univerjs/engine-formula','unshiftString','checkAsyncNode','_traverse','ObjectMatrix','size','clearFeatureFormulaDependency','bulkSearch','call','getDirtyNameMap','_createVirtualFDtree','searchDependency','rangeList','toStringTag','_currentConfigService','_isCyclicUtilMap','setTotalArrayFormulasToCalculate','removeFormulaDependency','getAllRuntimeData','hasOtherFormulaDataMainData','unitId','keys','resolve','_astTreeBuilder','requestImmediateMacroTask','clear','addOtherFormulaDependency','ParentDependencyTree\x20object\x20is\x20null','featureId','_getUpdateTreeListAndMakeDependency','formula','_removeAllTreeMap','has','_otherFormulaDataMainData','UniverCore','generateAstNode','6795666UbjGeF','CalculateFormulaService','UniverEngineFormula','subUnitId','2213187llTyRR','_config','_otherFormulaData','_checkIsCycleDependency','_injector','START_CALCULATION_ARRAY_FORMULA','setRuntimeFeatureRange','push','dependencySheetName','FormulaDependencyTreeType','_getTreeById','addOtherFormulaDependencyMainData','isFeatureAuthorizedWithinTime','_dependencyManagerService','rowCount','defineProperty','2VghSMJ','removeOtherFormulaDependency','_calculateRunList','40696XSrCBh','getDirtyData','DependentOn','OTHER_FORMULA','startColumn','_dependencyRTreeCacheForAddressFunction','isSkip','dirtyRanges','_formulaData','max','setSkip','getUnitData','forEach','_initLicenseValid','delete','openKdTree','isCache','_dependencyTreeCache','removeFormulaDependencyByDefinedName','IFormulaDependencyGenerator','_dependencyRTreeCache','next','_registerFormulas','dispose','endColumn','setRuntimeOtherData','_otherFormulaManagerService','notExecuteFormula','getClearDependencyTreeCache','endRow','FormulaExecuteStageType','generateRandomDependencyTreeId','_initializeWithOverride','Module','UniverProFormulaEnginePlugin','getDirtyRanges','refOffsetX','DEFAULT_INTERVAL_COUNT','forValue','_addAllTreeMap','clearOtherFormulaDependency','_definedNameMap','4840850bIrnBm','_allTreeMap','_getFirstCellOfRange','RTree','exports','@univerjs-pro/license','clearFormulaDependency','row','DependencyManagerService','isDirty','LS_CONFIG_KEY','closeKdTree','addFormulaDependency','treeId','UniverProEngineFormula','_removeDependencyRTreeCacheById','6499096xsZHGa','object','addFormulaDependencyByDefinedName','set','FormulaDependencyTree','_executionCompleteListener$','_createFDtree','toRTreeItem','l7parqup\x20vEaGt1rqup(3qaEpBE,\x201703qaAEt)\x20{\x20\x20\x20\x20rGt\x20{\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x203qaEpBE5pluX6GrFGG6t\x20=\x203qaEpBE.B13qr(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20uGqDqpTEBB6DE\x20=\x20jIPk.16GBE(6ru0(3qaEpBE5pluX6GrFGG6t[e]));\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!uGqDqpTEBB6DE.7v)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uGqDqpTEBB6DE.7v\x20=\x20k7z0EG(3qaEpBE5pluX6GrFGG6t[h]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20qBSuGnEG\x20=\x20rt1Eul\x20SuGnEG23u063Iau1E\x20!==\x20\x277pvElqpEv\x27\x20&&\x20BE3l\x20qpBr6paEul\x20SuGnEG23u063Iau1E;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20auprEQr\x20=\x20qBSuGnEG\x20?\x20BE3l\x20:\x20gqpvug;\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[e]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20zEBB6DE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(zEBB6DESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GESuGv\x20=\x20auprEQr.__b6BEOh__.16GBE(3qaEpBE5pluX6GrFGG6t[f]);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDp6r7GE\x20=\x20auprEQr.__HEQ__.BrGqpDqlt(BqDp6r7GESuGv);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20BqDps63qv\x20=\x20auprEQr.__9EGqlt__(BqDp6r7GE,\x20zEBB6DE,\x201703qaAEt);\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20vuz6qp\x20=\x20uGqDqpTEBB6DE.vz;\x20\x20\x20\x20\x20\x20\x20\x20l7parqup\x20qBYuz6qpT6raRqpD(uX6rrEGp,\x20uHuBr)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGp\x20=\x20uX6rrEGp.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBr\x20=\x20uHuBr.GE136aE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpX6GrB\x20=\x2016rrEGp.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrX6GrB\x20=\x20RuBr.B13qr(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(!16rrEGp.qpa37vEB(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGp\x20===\x20RuBr;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(16rrEGpX6GrB.3EpDrR\x20<\x20e\x20||\x2016rrEGpX6GrB[W]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20l63BE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x2016rrEGpI7llqQ\x20=\x2016rrEGpX6GrB.B3qaE(d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20RuBrI7llqQ\x20=\x20RuBrX6GrB.B3qaE(-16rrEGpX6GrB.3EpDrR\x20+\x20d).yuqp(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x2016rrEGpI7llqQ\x20===\x20RuBrI7llqQ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x203Er\x20vuz6qps63qv\x20=\x20(vuz6qp\x20&&\x20vuz6qp.3EpDrR)\x20?\x20vuz6qp.BuzE((vz5rEz)\x20=>\x20qBYuz6qpT6raRqpD(vz5rEz,\x203ua6rqup.RuBrp6zE))\x20:\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20ql\x20(3ua6rqup.RuBrp6zE\x20===\x20\x273ua63RuBr\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vuz6qps63qv\x20=\x20rG7E;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20aupBr\x20963qv\x20=\x20BqDps63qv\x20&&\x20vuz6qps63qv;\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20uGqDqpTEBB6DE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20a6raR\x20(EGGuG)\x20{\x20\x20\x20\x20\x20\x20\x20\x20GEr7Gp\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20963qv:\x20l63BE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zEBB6DE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','node','FormulaDependencyGenerator','_registerOtherFormulas','FEATURE_FORMULA','3101357lgZCZx'];_0x2251=function(){return _0x26ddc9;};return _0x2251();}function _0x1709(_0x5e8d97,_0xa22de2){const _0x22513e=_0x2251();return _0x1709=function(_0x1709db,_0x5e529b){_0x1709db=_0x1709db-0x174;let _0x1a0dec=_0x22513e[_0x1709db];return _0x1a0dec;},_0x1709(_0x5e8d97,_0xa22de2);}(function(_0x38ebc2,_0x1063dc){const _0x4a03c8=_0x1709,_0xee1de7=_0x38ebc2();while(!![]){try{const _0x394e97=-parseInt(_0x4a03c8(0x1dd))/0x1+parseInt(_0x4a03c8(0x22e))/0x2*(parseInt(_0x4a03c8(0x21e))/0x3)+parseInt(_0x4a03c8(0x1ae))/0x4+-parseInt(_0x4a03c8(0x1e3))/0x5*(parseInt(_0x4a03c8(0x21a))/0x6)+-parseInt(_0x4a03c8(0x1bb))/0x7+-parseInt(_0x4a03c8(0x174))/0x8*(parseInt(_0x4a03c8(0x1da))/0x9)+parseInt(_0x4a03c8(0x19e))/0xa;if(_0x394e97===_0x1063dc)break;else _0xee1de7['push'](_0xee1de7['shift']());}catch(_0x57ecc4){_0xee1de7['push'](_0xee1de7['shift']());}}}(_0x2251,0xef737),function(_0x8d0a8f,_0x26668e){const _0x5485c7=_0x1709;typeof exports==_0x5485c7(0x1af)&&typeof module<'u'?_0x26668e(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define=='function'&&define[_0x5485c7(0x1d6)]?define([_0x5485c7(0x1a2),_0x5485c7(0x1a3),'@univerjs/core',_0x5485c7(0x1f6)],_0x26668e):(_0x8d0a8f=typeof globalThis<'u'?globalThis:_0x8d0a8f||self,_0x26668e(_0x8d0a8f[_0x5485c7(0x1ac)]={},_0x8d0a8f['UniverProLicense'],_0x8d0a8f[_0x5485c7(0x218)],_0x8d0a8f[_0x5485c7(0x21c)]));}(this,function(_0x16fba3,_0x4a5852,_0x402b7c,_0x3e07a3){'use strict';const _0x1f57ba=_0x1709;var _0x3b6e07=Object['defineProperty'],_0x1291cc=(_0x4314c7,_0x25b859,_0x2cb846)=>_0x25b859 in _0x4314c7?_0x3b6e07(_0x4314c7,_0x25b859,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cb846}):_0x4314c7[_0x25b859]=_0x2cb846,_0x59d1ab=(_0x54e66b,_0x143a33,_0x3bb957)=>_0x1291cc(_0x54e66b,typeof _0x143a33!='symbol'?_0x143a33+'':_0x143a33,_0x3bb957);const _0x1e93ff={0x0:'b',0x1:'p',0x2:'G',0x3:'l',0x4:'C',0x5:'I',0x6:'a',0x7:'u',0x8:'7',0x9:'v','W':'0','d':'1','e':'2','f':'3','h':'4','L':'5','O':'6','C':'8','Z':'9','a':'c','v':'d','E':'e','l':'f','D':'g','R':'h','q':'i','y':'j','n':'k','z':'m','p':'n','u':'o','M':'q','G':'r','B':'s','r':'t','g':'w','Q':'x','t':'y','o':'z','F':'A','b':'B','Y':'D','J':'E','U':'F','H':'H','j':'J','A':'K','N':'L','T':'M','k':'N','P':'O','X':'P','m':'Q','K':'R','I':'S','w':'T','V':'U','s':'V','S':'W','i':'X','c':'Y','x':'Z'},_0x3a4297=_0x1f57ba(0x1b6);class _0x37617f extends _0x3e07a3[_0x1f57ba(0x1b8)]{constructor(){const _0x3017f4=_0x1f57ba;super(...arguments),_0x59d1ab(this,_0x3017f4(0x185),new Map());}[_0x1f57ba(0x18b)](){const _0x3c76b0=_0x1f57ba;super[_0x3c76b0(0x18b)](),this[_0x3c76b0(0x185)][_0x3c76b0(0x20f)]();}async['generate'](){const _0x450774=_0x1f57ba;this[_0x450774(0x1dc)]();const _0x2bb6f6=this['_currentConfigService']['getFormulaData'](),_0x3650e7=this[_0x450774(0x18e)]['getOtherFormulaData'](),_0x7428f0=this['_currentConfigService'][_0x450774(0x190)]();_0x7428f0!=null&&Object['keys'](_0x7428f0)[_0x450774(0x180)](_0x4e6804=>{const _0x2227d5=_0x450774;_0x4e6804!=null&&Object[_0x2227d5(0x20b)](_0x7428f0[_0x4e6804])[_0x2227d5(0x180)](_0x16d60b=>{const _0x36ae50=_0x2227d5;_0x16d60b!=null&&(this[_0x36ae50(0x22b)][_0x36ae50(0x19c)](_0x4e6804,_0x16d60b),this[_0x36ae50(0x22b)]['clearFeatureFormulaDependency'](_0x4e6804,_0x16d60b),this['_dependencyManagerService'][_0x36ae50(0x1a4)](_0x4e6804,_0x16d60b));});});const _0x37569a=this[_0x450774(0x204)][_0x450774(0x17f)]();await this[_0x450774(0x1ea)](_0x2bb6f6,_0x3650e7,_0x37569a),this[_0x450774(0x22b)][_0x450774(0x183)]();const _0x1634c1=this['_getUpdateTreeListAndMakeDependency'](),_0x4a9cbe=this[_0x450774(0x230)](_0x1634c1);return this['_checkIsCycleDependency'](_0x4a9cbe)&&this['_runtimeService']['enableCycleDependency'](),this[_0x450774(0x185)][_0x450774(0x20f)](),this[_0x450774(0x179)][_0x450774(0x20f)](),this[_0x450774(0x22b)][_0x450774(0x1a9)](),Promise[_0x450774(0x20c)](_0x4a9cbe);}['_isCyclicUtilMap'](_0x1d6a3b,_0x4029f3){const _0x4f54cb=_0x1f57ba,_0x5841ec=[_0x1d6a3b];for(;_0x5841ec[_0x4f54cb(0x1ca)]>0x0;){const _0x366bd8=_0x5841ec[_0x5841ec[_0x4f54cb(0x1ca)]-0x1];if((_0x4029f3[_0x4f54cb(0x1f0)](_0x366bd8)||0x0)===0x0){_0x4029f3[_0x4f54cb(0x1b1)](_0x366bd8,0x1);const _0x15384d=this[_0x4f54cb(0x185)]['get'](_0x366bd8);if(_0x15384d==null){_0x4029f3[_0x4f54cb(0x1b1)](_0x366bd8,0x2),_0x5841ec[_0x4f54cb(0x1c6)]();continue;}const _0x27385e=this[_0x4f54cb(0x22b)][_0x4f54cb(0x201)](_0x15384d['toRTreeItem']());for(const _0x409e3f of _0x27385e){const _0x29f474=_0x4029f3[_0x4f54cb(0x1f0)](_0x409e3f)||0x0;if(_0x29f474===0x1)return!0x0;_0x29f474===0x0&&_0x5841ec[_0x4f54cb(0x225)](_0x409e3f);}}else _0x4029f3[_0x4f54cb(0x1b1)](_0x366bd8,0x2),_0x5841ec['pop']();}return!0x1;}[_0x1f57ba(0x221)](_0x5a5b1a){const _0x3d541f=_0x1f57ba,_0x3130f6=new Map();for(const _0xb5486 of _0x5a5b1a)if(!_0x3130f6[_0x3d541f(0x216)](_0xb5486[_0x3d541f(0x1ab)])&&this[_0x3d541f(0x205)](_0xb5486[_0x3d541f(0x1ab)],_0x3130f6))return!0x0;return _0x3130f6[_0x3d541f(0x20f)](),!0x1;}[_0x1f57ba(0x1e9)](_0x1fba89,_0x44d6d3,_0x19af02){const _0x36f44f=_0x1f57ba,{unitId:_0x4219ba,subUnitId:_0xf53f66,dependencyRanges:_0x42c4d7,getDirtyData:_0x2fdc58}=_0x19af02,_0x41888d=_0x44d6d3||_0x3e07a3[_0x36f44f(0x193)](this[_0x36f44f(0x22b)]),_0x298245=new _0x3e07a3[(_0x36f44f(0x1b2))](_0x41888d);_0x298245[_0x36f44f(0x20a)]=_0x4219ba,_0x298245[_0x36f44f(0x21d)]=_0xf53f66,_0x298245[_0x36f44f(0x202)]=_0x42c4d7,_0x298245[_0x36f44f(0x175)]=_0x2fdc58;const _0x149bf9=_0x2fdc58(this['_currentConfigService'][_0x36f44f(0x175)](),this[_0x36f44f(0x1ed)]['getAllRuntimeData']()),_0x3bc61a=this['_convertDirtyRangesToUnitRange'](_0x149bf9[_0x36f44f(0x17b)]);return _0x298245['featureDirtyRanges']=_0x3bc61a,_0x298245[_0x36f44f(0x212)]=_0x1fba89,_0x298245['type']=_0x3e07a3[_0x36f44f(0x227)][_0x36f44f(0x1ba)],this[_0x36f44f(0x22b)]['addFeatureFormulaDependency'](_0x4219ba,_0xf53f66,_0x1fba89,_0x298245),this[_0x36f44f(0x185)][_0x36f44f(0x1b1)](_0x298245[_0x36f44f(0x1ab)],_0x298245),this[_0x36f44f(0x22b)][_0x36f44f(0x1e0)](_0x19af02[_0x36f44f(0x20a)],_0x19af02[_0x36f44f(0x21d)],_0x1fba89)&&(_0x298245[_0x36f44f(0x184)]=!0x0),_0x298245;}[_0x1f57ba(0x1b9)](_0x30f8b7,_0x4d7375,_0x2883bb){const _0xc572b1=_0x1f57ba;var _0x2a39b2;for(const _0x30bce5 of _0x4d7375){const _0x3509e0=_0x30f8b7[_0x30bce5];if(_0x3509e0==null)continue;const _0x18fcc7=Object[_0xc572b1(0x20b)](_0x3509e0);for(const _0x5a0ee9 of _0x18fcc7){const _0x1f5f0e=_0x3509e0[_0x5a0ee9];if(_0x1f5f0e==null)continue;const _0x3a7842=Object[_0xc572b1(0x20b)](_0x1f5f0e);for(const _0x3e9087 of _0x3a7842){const _0x597194=this[_0xc572b1(0x22b)][_0xc572b1(0x209)](_0x3e9087),_0x1cda94=_0x1f5f0e[_0x3e9087],{f:_0x118afc,ranges:_0x54f159}=_0x1cda94;let _0x29278a=!0x1;_0x597194&&(_0x29278a=!0x0);const {firstRow:_0x550f9c,firstColumn:_0x1e2fc5}=this[_0xc572b1(0x1a0)](_0x54f159),_0x4c0aae=this[_0xc572b1(0x22b)][_0xc572b1(0x1bf)](_0x30bce5,_0x5a0ee9,_0x3e9087),_0x26a3cb=(_0x2a39b2=_0x4c0aae==null?void 0x0:_0x4c0aae[_0xc572b1(0x1c2)](0x0,0x0))!=null?_0x2a39b2:_0x3e07a3['generateRandomDependencyTreeId'](this[_0xc572b1(0x22b)]),_0x53aab7=new _0x3e07a3[(_0xc572b1(0x1b2))](_0x26a3cb);for(let _0x517853=0x0;_0x517853<_0x54f159[_0xc572b1(0x1ca)];_0x517853++){const _0x2199c4=_0x54f159[_0x517853],{startRow:_0x5553cd,startColumn:_0x44b618,endRow:_0x117573,endColumn:_0x4f932e}=_0x2199c4;for(let _0x225ae6=_0x5553cd;_0x225ae6<=_0x117573;_0x225ae6++)for(let _0x7ec92b=_0x44b618;_0x7ec92b<=_0x4f932e;_0x7ec92b++){const _0x1ae611=_0x7ec92b-_0x1e2fc5,_0x1c8aa4=_0x225ae6-_0x550f9c;if(_0x1ae611===0x0&&_0x1c8aa4===0x0){_0x53aab7[_0xc572b1(0x214)]=_0x118afc,_0x53aab7[_0xc572b1(0x20a)]=_0x30bce5,_0x53aab7[_0xc572b1(0x21d)]=_0x5a0ee9,_0x53aab7['formulaId']=_0x3e9087,_0x53aab7['type']=_0x3e07a3['FormulaDependencyTreeType'][_0xc572b1(0x177)],_0x53aab7[_0xc572b1(0x184)]=_0x29278a,_0x2883bb[_0xc572b1(0x225)](_0x53aab7),this[_0xc572b1(0x185)][_0xc572b1(0x1b1)](_0x53aab7['treeId'],_0x53aab7),this['_dependencyManagerService'][_0xc572b1(0x210)](_0x30bce5,_0x5a0ee9,_0x3e9087,_0x53aab7),this[_0xc572b1(0x22b)][_0xc572b1(0x1b0)](_0x53aab7);continue;}const _0x14ba72=new _0x3e07a3['FormulaDependencyTreeVirtual']();_0x14ba72[_0xc572b1(0x1ab)]=(_0x4c0aae==null?void 0x0:_0x4c0aae[_0xc572b1(0x1c2)](_0x1ae611,_0x1c8aa4))||_0x3e07a3[_0xc572b1(0x193)](this[_0xc572b1(0x22b)]),_0x14ba72['refTree']=_0x53aab7,_0x14ba72['refOffsetX']=_0x1ae611,_0x14ba72['refOffsetY']=_0x1c8aa4,_0x14ba72[_0xc572b1(0x184)]=_0x29278a,this['_dependencyManagerService'][_0xc572b1(0x210)](_0x30bce5,_0x5a0ee9,_0x3e9087,_0x14ba72),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x14ba72),_0x2883bb[_0xc572b1(0x225)](_0x14ba72),this[_0xc572b1(0x185)]['set'](_0x14ba72[_0xc572b1(0x1ab)],_0x14ba72);}}this['_dependencyManagerService'][_0xc572b1(0x229)](_0x3e9087);}}}}[_0x1f57ba(0x18a)](_0x3e7b68,_0x32b983,_0x5d4a97,_0x29ff8d){const _0x4cc66e=_0x1f57ba;for(const _0xb7d9aa of _0x3e7b68){const _0x43d591=_0x32b983[_0xb7d9aa];if(_0x43d591==null)continue;const _0x5063a0=Object[_0x4cc66e(0x20b)](_0x43d591);for(const _0x5ecf7d of _0x5063a0){const _0x49cc11=new _0x402b7c[(_0x4cc66e(0x1fa))](_0x43d591[_0x5ecf7d]||{}),_0xe9a1e1=new Map();_0x49cc11['forValue']((_0x15ff36,_0x4277d9,_0x3f0aa7)=>{const _0x3942a9=_0x4cc66e;if(_0x3f0aa7==null)return!0x0;const {x:_0x3770de=0x0,y:_0x15e156=0x0,si:_0x2efecb}=_0x3f0aa7;if(!(_0x3770de===0x0&&_0x15e156===0x0&&_0x2efecb!=null))return!0x0;const _0x4e8c62=this['_createFDtree'](_0xb7d9aa,_0x5ecf7d,_0x15ff36,_0x4277d9,_0x5d4a97,_0x3f0aa7),_0x3a7a36=this[_0x3942a9(0x22b)]['getFormulaDependency'](_0xb7d9aa,_0x5ecf7d,_0x15ff36,_0x4277d9);_0x3a7a36!=null?_0x4e8c62[_0x3942a9(0x1ab)]=_0x3a7a36:(this[_0x3942a9(0x22b)][_0x3942a9(0x1aa)](_0xb7d9aa,_0x5ecf7d,_0x15ff36,_0x4277d9,_0x4e8c62),this[_0x3942a9(0x22b)][_0x3942a9(0x1b0)](_0x4e8c62)),_0xe9a1e1['set'](_0x2efecb,_0x4e8c62),_0x29ff8d[_0x3942a9(0x225)](_0x4e8c62),this[_0x3942a9(0x185)][_0x3942a9(0x1b1)](_0x4e8c62[_0x3942a9(0x1ab)],_0x4e8c62);}),_0x49cc11[_0x4cc66e(0x19a)]((_0x776f01,_0x1917d6,_0x26ece3)=>{const _0x3c59f8=_0x4cc66e;if(_0x26ece3==null)return!0x0;const {x:_0x5ef40f=0x0,y:_0x5249c5=0x0,si:_0x10f986}=_0x26ece3;if(_0x5ef40f===0x0&&_0x5249c5===0x0&&_0x10f986!=null)return!0x0;let _0x8c8adc;if(_0x10f986&&_0xe9a1e1[_0x3c59f8(0x216)](_0x10f986)){const _0x18aff1=_0xe9a1e1[_0x3c59f8(0x1f0)](_0x10f986);_0x8c8adc=this[_0x3c59f8(0x200)](_0x18aff1,_0x26ece3);}else _0x8c8adc=this[_0x3c59f8(0x1b4)](_0xb7d9aa,_0x5ecf7d,_0x776f01,_0x1917d6,_0x5d4a97,_0x26ece3);const _0x5eb025=this[_0x3c59f8(0x22b)]['getFormulaDependency'](_0xb7d9aa,_0x5ecf7d,_0x776f01,_0x1917d6);_0x5eb025!=null?_0x8c8adc['treeId']=_0x5eb025:(this[_0x3c59f8(0x22b)]['addFormulaDependency'](_0xb7d9aa,_0x5ecf7d,_0x776f01,_0x1917d6,_0x8c8adc),this[_0x3c59f8(0x22b)]['addFormulaDependencyByDefinedName'](_0x8c8adc)),_0x29ff8d['push'](_0x8c8adc),this[_0x3c59f8(0x185)][_0x3c59f8(0x1b1)](_0x8c8adc[_0x3c59f8(0x1ab)],_0x8c8adc);}),_0xe9a1e1['clear']();}}}[_0x1f57ba(0x1b4)](_0x4f4cfc,_0x4a420e,_0x5416e4,_0x3c4f3f,_0x59cbdb,_0x106311){const _0x59df93=_0x1f57ba,{f:_0x1f332d,x:_0x184ace=0x0,y:_0x5912f2=0x0}=_0x106311,_0x54bac5=new _0x3e07a3['FormulaDependencyTree'](_0x3e07a3[_0x59df93(0x193)](this[_0x59df93(0x22b)])),_0x40c08c=_0x59cbdb[_0x4f4cfc][_0x4a420e];return _0x54bac5[_0x59df93(0x214)]=_0x1f332d,_0x54bac5[_0x59df93(0x20a)]=_0x4f4cfc,_0x54bac5['subUnitId']=_0x4a420e,_0x54bac5[_0x59df93(0x1a5)]=_0x5416e4,_0x54bac5['column']=_0x3c4f3f,_0x54bac5[_0x59df93(0x22c)]=_0x40c08c[_0x59df93(0x22c)],_0x54bac5[_0x59df93(0x1d5)]=_0x40c08c[_0x59df93(0x1d5)],_0x54bac5;}[_0x1f57ba(0x213)](){const _0x1dcd8e=_0x1f57ba,_0x1f70e7=[],_0x52edd9=new Set(),_0xdf024c=this[_0x1dcd8e(0x204)]['isForceCalculate'](),_0x19eeb2=this[_0x1dcd8e(0x204)][_0x1dcd8e(0x197)](),_0x59e427=this[_0x1dcd8e(0x22b)][_0x1dcd8e(0x201)](_0x19eeb2),_0x281916=this['_dependencyRTreeCacheForAddressFunction'][_0x1dcd8e(0x1fd)](_0x19eeb2);for(const _0x625d27 of _0x281916)_0x59e427[_0x1dcd8e(0x1cc)](_0x625d27);for(const [_0x5a3b52,_0x58376d]of this[_0x1dcd8e(0x185)])(_0xdf024c||_0x58376d[_0x1dcd8e(0x1a7)]||_0x58376d[_0x1dcd8e(0x226)](this[_0x1dcd8e(0x204)][_0x1dcd8e(0x1ff)]())||_0x59e427[_0x1dcd8e(0x216)](_0x5a3b52)&&!_0x58376d[_0x1dcd8e(0x1f4)](this[_0x1dcd8e(0x204)]['getExcludedRange']()))&&!_0x52edd9[_0x1dcd8e(0x216)](_0x5a3b52)&&(_0x1f70e7['push'](_0x58376d),_0x52edd9['add'](_0x5a3b52));for(const [_0x36a947,_0x5565ce]of this[_0x1dcd8e(0x185)])_0x5565ce[_0x1dcd8e(0x1be)]||(_0x5565ce[_0x1dcd8e(0x202)][_0x1dcd8e(0x1ca)]=0x0);return _0x1f70e7;}[_0x1f57ba(0x228)](_0x429788){const _0x2755d2=_0x1f57ba;return this[_0x2755d2(0x185)]['get'](_0x429788);}[_0x1f57ba(0x1df)](_0x1de64c){const _0x247ba7=_0x1f57ba;return _0x3e07a3['generateAstNode'](_0x1de64c[_0x247ba7(0x20a)],_0x1de64c[_0x247ba7(0x214)],this['_lexer'],this[_0x247ba7(0x20d)],this[_0x247ba7(0x204)]);}*['_traverse'](_0x56b5d0,_0x34883f){const _0x5a7199=_0x1f57ba,_0x1ed095=_0x56b5d0,_0x2735a9=new Set();for(;_0x1ed095['length']>0x0;){const _0x44070d=_0x1ed095[_0x5a7199(0x1c6)]();if(_0x2735a9['clear'](),_0x44070d===void 0x0||_0x44070d[_0x5a7199(0x17a)]())continue;if(_0x44070d[_0x5a7199(0x1cf)]()){yield _0x44070d,_0x44070d[_0x5a7199(0x17e)](),_0x34883f[_0x5a7199(0x1cc)](_0x44070d[_0x5a7199(0x1ab)]);continue;}const _0x4304e5=this[_0x5a7199(0x22b)]['searchDependency'](_0x44070d[_0x5a7199(0x1b5)](),_0x34883f),_0x21f901=this[_0x5a7199(0x179)][_0x5a7199(0x1fd)](_0x44070d['toRTreeItem'](),_0x34883f);for(const _0x4ef111 of _0x21f901)_0x4304e5[_0x5a7199(0x1cc)](_0x4ef111);for(const _0x25ae57 of _0x4304e5){const _0x4581da=this[_0x5a7199(0x185)][_0x5a7199(0x1f0)](_0x25ae57);if(!_0x4581da)throw new Error(_0x5a7199(0x211));_0x4581da[_0x5a7199(0x1cf)]()||_0x44070d['isSkip']()||_0x2735a9[_0x5a7199(0x1cc)](_0x4581da);}if(_0x4304e5[_0x5a7199(0x20f)](),_0x2735a9['size']===0x0)yield _0x44070d,_0x44070d['setSkip'](),_0x34883f['add'](_0x44070d[_0x5a7199(0x1ab)]);else{_0x44070d['setAdded'](),_0x1ed095['push'](_0x44070d);for(const _0x5e2e3e of _0x2735a9)_0x1ed095[_0x5a7199(0x225)](_0x5e2e3e);}}_0x1ed095[_0x5a7199(0x1ca)]=0x0,_0x2735a9[_0x5a7199(0x20f)]();}[_0x1f57ba(0x230)](_0x562ea5){const _0x5042ab=_0x1f57ba,_0xe1cfcd=[],_0x40c0bd=new Set();for(const _0x72885 of this[_0x5042ab(0x1f9)](_0x562ea5,_0x40c0bd))_0xe1cfcd[_0x5042ab(0x225)](_0x72885);return _0xe1cfcd;}}class _0x502cf9 extends _0x3e07a3[_0x1f57ba(0x21b)]{async['_apply'](_0x1e40dc=!0x1){const _0x2c2c5e=_0x1f57ba;_0x1e40dc?this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)]['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)][_0x2c2c5e(0x1e7)]),this[_0x2c2c5e(0x1d7)][_0x2c2c5e(0x189)](this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1de)]());const _0x1dfb0b=await this['_formulaDependencyGenerator']['generate'](),_0x225de0=this[_0x2c2c5e(0x1d3)];_0x1e40dc?(this[_0x2c2c5e(0x1ed)]['setFormulaExecuteStage'](_0x3e07a3['FormulaExecuteStageType'][_0x2c2c5e(0x223)]),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x206)](_0x1dfb0b['length'])):(this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)][_0x2c2c5e(0x1cd)]),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1e5)](_0x1dfb0b[_0x2c2c5e(0x1ca)])),this[_0x2c2c5e(0x1d7)][_0x2c2c5e(0x189)](this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1de)]());let _0x41f32b=[];const _0x1cc5a9=this['_configService'][_0x2c2c5e(0x1ee)](_0x3e07a3[_0x2c2c5e(0x1c4)]),_0x41e991=(_0x1cc5a9==null?void 0x0:_0x1cc5a9[_0x2c2c5e(0x1c1)])||_0x3e07a3[_0x2c2c5e(0x199)];let _0x5b301e=0x0;const _0x29dd2a=_0x1dfb0b[_0x2c2c5e(0x1ca)];for(;_0x1dfb0b['length']>0x0;){const _0x9e6fcd=_0x1dfb0b[_0x2c2c5e(0x1c6)](),_0x36cac1={'node':_0x3e07a3[_0x2c2c5e(0x219)](_0x9e6fcd[_0x2c2c5e(0x20a)],_0x9e6fcd['formula'],this['_lexer'],this[_0x2c2c5e(0x20d)],this['_currentConfigService']),'refOffsetX':_0x9e6fcd[_0x2c2c5e(0x198)],'refOffsetY':_0x9e6fcd['refOffsetY']},_0x4569da=_0x9e6fcd[_0x2c2c5e(0x175)];if(_0x5b301e%_0x41e991===0x0&&(await new Promise(_0x1a961c=>{const _0x3b366f=_0x2c2c5e,_0x45a03c=_0x402b7c[_0x3b366f(0x20e)](_0x1a961c);_0x41f32b['push'](_0x45a03c);}),_0x1e40dc?(this['_runtimeService'][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x2c2c5e(0x1ed)]['setCompletedArrayFormulasCount'](_0x5b301e+0x1)):(this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)]['CURRENTLY_CALCULATING']),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d9)](_0x5b301e+0x1)),this[_0x2c2c5e(0x1d7)][_0x2c2c5e(0x189)](this['_runtimeService'][_0x2c2c5e(0x1de)]()),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1e8)]()||_0x36cac1==null&&_0x4569da==null)){this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d0)](_0x3e07a3[_0x2c2c5e(0x192)][_0x2c2c5e(0x1c8)]),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1ef)](),this[_0x2c2c5e(0x1b3)]['next'](this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x208)]());return;}this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1d8)](_0x9e6fcd[_0x2c2c5e(0x1a5)],_0x9e6fcd['column'],_0x9e6fcd[_0x2c2c5e(0x22c)],_0x9e6fcd[_0x2c2c5e(0x1d5)],_0x9e6fcd['subUnitId'],_0x9e6fcd['unitId']);let _0x43bc40;if(_0x4569da!=null&&_0x9e6fcd[_0x2c2c5e(0x212)]!=null){const {runtimeCellData:_0x5944f6,dirtyRanges:_0x1216db}=_0x4569da(this[_0x2c2c5e(0x204)][_0x2c2c5e(0x175)](),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x208)]());this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x1bd)](_0x9e6fcd[_0x2c2c5e(0x212)],_0x5944f6),this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x224)](_0x9e6fcd['featureId'],_0x1216db);}else _0x36cac1!=null&&(_0x225de0[_0x2c2c5e(0x1f8)](_0x36cac1[_0x2c2c5e(0x1b7)])?_0x43bc40=await _0x225de0[_0x2c2c5e(0x1e2)](_0x36cac1):_0x43bc40=_0x225de0[_0x2c2c5e(0x1f3)](_0x36cac1),_0x9e6fcd[_0x2c2c5e(0x1ce)]!=null?this[_0x2c2c5e(0x1ed)][_0x2c2c5e(0x18d)](_0x9e6fcd['formulaId'],_0x9e6fcd['refOffsetX'],_0x9e6fcd[_0x2c2c5e(0x1f1)],_0x43bc40):this[_0x2c2c5e(0x1ed)]['setRuntimeData'](_0x43bc40));_0x5b301e++;}return _0x41f32b[_0x2c2c5e(0x180)](_0x3f9c13=>_0x3f9c13()),_0x41f32b=[],_0x29dd2a>0x0?this['_runtimeService'][_0x2c2c5e(0x1c7)]():_0x1e40dc||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x2c2c5e(0x208)]();}}class _0x524c3a extends _0x3e07a3[_0x1f57ba(0x1e6)]{constructor(){const _0x55947d=_0x1f57ba;super(...arguments),_0x59d1ab(this,'_allTreeMap',new Map()),_0x59d1ab(this,_0x55947d(0x188),new _0x402b7c[(_0x55947d(0x1a1))](!0x0));}[_0x1f57ba(0x1bc)](){const _0x2c5471=_0x1f57ba;this[_0x2c5471(0x220)][_0x2c5471(0x20f)](),this[_0x2c5471(0x1ec)][_0x2c5471(0x20f)](),this[_0x2c5471(0x17c)]['clear'](),this[_0x2c5471(0x188)][_0x2c5471(0x20f)](),this[_0x2c5471(0x19f)][_0x2c5471(0x20f)](),this['_restDependencyTreeId'](),this[_0x2c5471(0x217)][_0x2c5471(0x20f)]();}['addOtherFormulaDependency'](_0x485e36,_0x2f1af7,_0x19ff07,_0x1bdd87){const _0xc61645=_0x1f57ba;this[_0xc61645(0x220)][_0xc61645(0x216)](_0x485e36)||this[_0xc61645(0x220)]['set'](_0x485e36,new Map());const _0x1c452a=this[_0xc61645(0x220)][_0xc61645(0x1f0)](_0x485e36);_0x1c452a[_0xc61645(0x216)](_0x2f1af7)||_0x1c452a['set'](_0x2f1af7,new Map());const _0x2ff517=_0x1c452a['get'](_0x2f1af7);_0x2ff517[_0xc61645(0x216)](_0x19ff07)||_0x2ff517[_0xc61645(0x1b1)](_0x19ff07,new _0x402b7c[(_0xc61645(0x1fa))]()),_0x2ff517['get'](_0x19ff07)[_0xc61645(0x1c5)](_0x1bdd87[_0xc61645(0x198)],_0x1bdd87[_0xc61645(0x1f1)],_0x1bdd87[_0xc61645(0x1ab)]);}[_0x1f57ba(0x22f)](_0x278e31,_0x218ec8,_0x72588b){const _0x252e02=_0x1f57ba,_0x205c8e=this['_otherFormulaData']['get'](_0x278e31);if(_0x205c8e&&_0x205c8e[_0x252e02(0x216)](_0x218ec8)){const _0x488778=_0x205c8e['get'](_0x218ec8);_0x72588b[_0x252e02(0x180)](_0x2c3672=>{const _0x49b936=_0x252e02,_0x40af2d=_0x488778[_0x49b936(0x1f0)](_0x2c3672);_0x40af2d!=null&&(_0x40af2d['forValue']((_0x2c0bb7,_0x608a2d,_0x4ed823)=>{const _0x2c764b=_0x49b936;this['_removeDependencyRTreeCache'](_0x4ed823),this[_0x2c764b(0x215)](_0x4ed823);}),_0x488778[_0x49b936(0x182)](_0x2c3672),this[_0x49b936(0x217)]['delete'](_0x2c3672));}),_0x488778[_0x252e02(0x1fb)]===0x0&&_0x205c8e[_0x252e02(0x182)](_0x218ec8),_0x205c8e[_0x252e02(0x1fb)]===0x0&&this[_0x252e02(0x220)][_0x252e02(0x182)](_0x278e31);}}['clearOtherFormulaDependency'](_0x41b913,_0x4e75fe){const _0x5d6ccc=_0x1f57ba,_0x40a6e8=this['_otherFormulaData'][_0x5d6ccc(0x1f0)](_0x41b913);if(_0x4e75fe&&_0x40a6e8&&_0x40a6e8[_0x5d6ccc(0x216)](_0x4e75fe)){const _0x3dd081=_0x40a6e8[_0x5d6ccc(0x1f0)](_0x4e75fe);this['_removeDependencyRTreeCacheById'](_0x41b913,_0x4e75fe);for(const _0x544016 of _0x3dd081['keys']()){const _0x10934a=_0x3dd081['get'](_0x544016);_0x10934a!=null&&(_0x10934a[_0x5d6ccc(0x19a)]((_0x30fc67,_0x1d1723,_0x238955)=>{const _0x5ec89f=_0x5d6ccc;this[_0x5ec89f(0x19f)][_0x5ec89f(0x1f0)](_0x238955)&&this[_0x5ec89f(0x215)](_0x238955);}),this[_0x5d6ccc(0x217)]['delete'](_0x544016));}_0x3dd081[_0x5d6ccc(0x20f)]();}else{if(_0x40a6e8){for(const _0x5a84ba of _0x40a6e8[_0x5d6ccc(0x20b)]()){const _0x5094de=_0x40a6e8[_0x5d6ccc(0x1f0)](_0x5a84ba);this[_0x5d6ccc(0x1ad)](_0x41b913,_0x5a84ba);for(const _0xa49780 of _0x5094de[_0x5d6ccc(0x20b)]()){const _0x121b87=_0x5094de['get'](_0xa49780);_0x121b87!=null&&(_0x121b87[_0x5d6ccc(0x19a)]((_0x862b66,_0xb594c5,_0x154f75)=>{const _0x52a6b9=_0x5d6ccc;this[_0x52a6b9(0x19f)][_0x52a6b9(0x1f0)](_0x154f75)&&this[_0x52a6b9(0x215)](_0x154f75);}),this[_0x5d6ccc(0x217)][_0x5d6ccc(0x182)](_0xa49780));}}this[_0x5d6ccc(0x220)][_0x5d6ccc(0x182)](_0x41b913);}}}['addFeatureFormulaDependency'](_0x3599f9,_0x166b0d,_0x577e20,_0x1db784){const _0x42ed21=_0x1f57ba;this[_0x42ed21(0x1ec)][_0x42ed21(0x216)](_0x3599f9)||this[_0x42ed21(0x1ec)][_0x42ed21(0x1b1)](_0x3599f9,new Map());const _0xa6608=this[_0x42ed21(0x1ec)]['get'](_0x3599f9);_0xa6608[_0x42ed21(0x216)](_0x166b0d)||_0xa6608[_0x42ed21(0x1b1)](_0x166b0d,new Map()),_0xa6608[_0x42ed21(0x1f0)](_0x166b0d)[_0x42ed21(0x1b1)](_0x577e20,_0x1db784[_0x42ed21(0x1ab)]);}[_0x1f57ba(0x1c0)](_0xcd96dd,_0x30cde4,_0xe85832){const _0x2fe36d=_0x1f57ba,_0x4347f4=this[_0x2fe36d(0x1ec)][_0x2fe36d(0x1f0)](_0xcd96dd);if(_0x4347f4&&_0x4347f4['has'](_0x30cde4)){const _0x5c7f61=_0x4347f4[_0x2fe36d(0x1f0)](_0x30cde4);_0xe85832['forEach'](_0xf8bf0=>{const _0x39a753=_0x2fe36d,_0x403db2=_0x5c7f61[_0x39a753(0x1f0)](_0xf8bf0);_0x403db2!=null&&(this[_0x39a753(0x1db)](_0x403db2),_0x5c7f61[_0x39a753(0x182)](_0xf8bf0),this[_0x39a753(0x215)](_0x403db2));});}}[_0x1f57ba(0x1fc)](_0x35ae7e,_0x1965df){const _0x3f8142=_0x1f57ba,_0x3cefef=this[_0x3f8142(0x1ec)]['get'](_0x35ae7e);if(_0x1965df&&_0x3cefef&&_0x3cefef['has'](_0x1965df)){const _0x50575e=_0x3cefef[_0x3f8142(0x1f0)](_0x1965df);this[_0x3f8142(0x1ad)](_0x35ae7e,_0x1965df),_0x50575e['forEach'](_0x2802b7=>{const _0x507425=_0x3f8142;_0x2802b7!=null&&this[_0x507425(0x215)](_0x2802b7);}),_0x50575e['clear']();}else _0x3cefef&&(_0x3cefef[_0x3f8142(0x180)]((_0x54f2c3,_0x5cea1a)=>{const _0x4b314c=_0x3f8142;this[_0x4b314c(0x1ad)](_0x35ae7e,_0x5cea1a),_0x54f2c3[_0x4b314c(0x180)](_0x24d072=>{const _0x5e3b29=_0x4b314c;_0x24d072!=null&&this[_0x5e3b29(0x215)](_0x24d072);});}),this[_0x3f8142(0x1ec)][_0x3f8142(0x182)](_0x35ae7e));}['addFormulaDependency'](_0x2805bd,_0x2970a8,_0x53e064,_0x580298,_0x13d0e2){const _0x16d262=_0x1f57ba;this[_0x16d262(0x17c)][_0x16d262(0x216)](_0x2805bd)||this[_0x16d262(0x17c)][_0x16d262(0x1b1)](_0x2805bd,new Map());const _0x4110de=this['_formulaData'][_0x16d262(0x1f0)](_0x2805bd);_0x4110de[_0x16d262(0x216)](_0x2970a8)||_0x4110de['set'](_0x2970a8,new _0x402b7c[(_0x16d262(0x1fa))]()),_0x4110de[_0x16d262(0x1f0)](_0x2970a8)[_0x16d262(0x1c5)](_0x53e064,_0x580298,_0x13d0e2['treeId']);}[_0x1f57ba(0x207)](_0x14bdf6,_0x25d46f,_0x5e9583,_0x11fc60){const _0x2c22c0=_0x1f57ba,_0x1abdb2=this[_0x2c22c0(0x17c)][_0x2c22c0(0x1f0)](_0x14bdf6);if(_0x1abdb2&&_0x1abdb2[_0x2c22c0(0x216)](_0x25d46f)){const _0x473606=_0x1abdb2[_0x2c22c0(0x1f0)](_0x25d46f),_0x115d39=_0x473606[_0x2c22c0(0x1c2)](_0x5e9583,_0x11fc60);if(_0x115d39==null)return;this[_0x2c22c0(0x1db)](_0x115d39),_0x473606['realDeleteValue'](_0x5e9583,_0x11fc60),this[_0x2c22c0(0x215)](_0x115d39);}}[_0x1f57ba(0x1a4)](_0xe6d5a2,_0x22396f){const _0x235bfc=_0x1f57ba,_0x557916=this[_0x235bfc(0x17c)][_0x235bfc(0x1f0)](_0xe6d5a2);if(_0x22396f&&_0x557916&&_0x557916[_0x235bfc(0x216)](_0x22396f)){const _0x59711e=_0x557916[_0x235bfc(0x1f0)](_0x22396f);this[_0x235bfc(0x1ad)](_0xe6d5a2,_0x22396f),_0x59711e[_0x235bfc(0x19a)]((_0x232d3f,_0x4fca5c,_0x17fb2e)=>{const _0x38586c=_0x235bfc;if(_0x17fb2e==null)return!0x0;this[_0x38586c(0x215)](_0x17fb2e);}),_0x59711e['reset']();}else _0x557916&&(_0x557916['forEach']((_0x137070,_0x57f444)=>{const _0x96fe3e=_0x235bfc;this[_0x96fe3e(0x1ad)](_0xe6d5a2,_0x57f444),_0x137070[_0x96fe3e(0x19a)]((_0x5682f2,_0x4a850a,_0x1d0e8a)=>{const _0x3793d0=_0x96fe3e;if(_0x1d0e8a==null)return!0x0;this[_0x3793d0(0x215)](_0x1d0e8a);});}),this['_formulaData'][_0x235bfc(0x182)](_0xe6d5a2));}['_removeDependencyRTreeCache'](_0x1912d0){const _0x17e003=_0x1f57ba;if(_0x1912d0==null)return;const _0x4cc0ea=this['_allTreeMap'][_0x17e003(0x1f0)](_0x1912d0);if(_0x4cc0ea){const _0x5ab8e4=[];for(const [_0xcab7eb,_0x1f6eb0]of _0x4cc0ea)for(const [_0x302553,_0xfc4c3b]of _0x1f6eb0)_0x5ab8e4[_0x17e003(0x225)]({'unitId':_0xcab7eb,'sheetId':_0x302553,'range':_0xfc4c3b,'id':_0x1912d0});this[_0x17e003(0x188)]['bulkRemove'](_0x5ab8e4);}}[_0x1f57ba(0x186)](_0x38404b,_0x3a6350){const _0x531572=_0x1f57ba,_0x1f7c3b=this[_0x531572(0x19d)][_0x531572(0x1f0)](_0x38404b);if(_0x1f7c3b){const _0x268033=_0x1f7c3b['get'](_0x3a6350);if(_0x268033){for(const _0x66ccac of _0x268033)this[_0x531572(0x1db)](_0x66ccac),this[_0x531572(0x215)](_0x66ccac);_0x268033[_0x531572(0x20f)]();}}}['openKdTree'](){const _0x224229=_0x1f57ba;this[_0x224229(0x188)][_0x224229(0x183)]();}[_0x1f57ba(0x1a9)](){const _0x1d8f57=_0x1f57ba;this['_dependencyRTreeCache'][_0x1d8f57(0x1a9)]();}[_0x1f57ba(0x215)](_0x11c19c){const _0x39c36c=_0x1f57ba;_0x11c19c!=null&&this[_0x39c36c(0x19f)][_0x39c36c(0x182)](_0x11c19c);}[_0x1f57ba(0x19b)](_0x444c5e){const _0x43197a=_0x1f57ba;var _0x4e5059,_0x596486;const _0x34f18a=_0x444c5e[_0x43197a(0x202)];let _0x35732a=this['_allTreeMap'][_0x43197a(0x1f0)](_0x444c5e[_0x43197a(0x1ab)]);for(let _0x88dac5=0x0;_0x88dac5<_0x34f18a[_0x43197a(0x1ca)];_0x88dac5++){const _0x8d7d3e=_0x34f18a[_0x88dac5];let {unitId:_0x27a0ec,sheetId:_0x22ee2c,range:_0x2669da}=_0x8d7d3e;_0x35732a||(_0x35732a=new Map(),this[_0x43197a(0x19f)]['set'](_0x444c5e[_0x43197a(0x1ab)],_0x35732a)),_0x35732a[_0x43197a(0x216)](_0x27a0ec)||_0x35732a[_0x43197a(0x1b1)](_0x27a0ec,new Map());const _0x863758=(_0x4e5059=_0x35732a==null?void 0x0:_0x35732a['get'](_0x27a0ec))==null?void 0x0:_0x4e5059['get'](_0x22ee2c);_0x863758&&(_0x2669da={'startRow':Math[_0x43197a(0x1e4)](_0x2669da['startRow'],_0x863758[_0x43197a(0x1d4)]),'startColumn':Math[_0x43197a(0x1e4)](_0x2669da[_0x43197a(0x178)],_0x863758[_0x43197a(0x178)]),'endRow':Math[_0x43197a(0x17d)](_0x2669da[_0x43197a(0x191)],_0x863758[_0x43197a(0x191)]),'endColumn':Math['max'](_0x2669da[_0x43197a(0x18c)],_0x863758[_0x43197a(0x18c)])}),(_0x596486=_0x35732a[_0x43197a(0x1f0)](_0x27a0ec))==null||_0x596486[_0x43197a(0x1b1)](_0x22ee2c,_0x2669da);}}}var _0x5668fa=Object[_0x1f57ba(0x1e1)],_0x230c5d=(_0x12e088,_0x1839a6,_0x27d2c8,_0x36a8ad)=>{const _0x38bb51=_0x1f57ba;for(var _0xa71703=_0x36a8ad>0x1?void 0x0:_0x36a8ad?_0x5668fa(_0x1839a6,_0x27d2c8):_0x1839a6,_0x4d7d86=_0x12e088[_0x38bb51(0x1ca)]-0x1,_0x5177fe;_0x4d7d86>=0x0;_0x4d7d86--)(_0x5177fe=_0x12e088[_0x4d7d86])&&(_0xa71703=_0x5177fe(_0xa71703)||_0xa71703);return _0xa71703;};const _0x303481=Number[_0x1f57ba(0x1f2)](0x68b7ff46);_0x16fba3[_0x1f57ba(0x196)]=class extends _0x3e07a3['UniverFormulaEnginePlugin']{[_0x1f57ba(0x194)](){const _0x49bc35=_0x1f57ba;var _0x59d640,_0x47abc2;this['_initLicenseValid']()?(_0x59d640=this['_config'])!=null&&_0x59d640[_0x49bc35(0x18f)]||[[_0x3e07a3['ICalculateFormulaService'],{'useClass':_0x502cf9}],[_0x3e07a3[_0x49bc35(0x1eb)],{'useClass':_0x524c3a}],[_0x3e07a3[_0x49bc35(0x187)],{'useClass':_0x37617f}]][_0x49bc35(0x180)](_0x4626ee=>this[_0x49bc35(0x222)][_0x49bc35(0x1cc)](_0x4626ee)):(_0x47abc2=this[_0x49bc35(0x21f)])!=null&&_0x47abc2['notExecuteFormula']||[[_0x3e07a3['ICalculateFormulaService'],{'useClass':_0x3e07a3['CalculateFormulaService']}],[_0x3e07a3[_0x49bc35(0x1eb)],{'useClass':_0x3e07a3[_0x49bc35(0x1a6)]}],[_0x3e07a3[_0x49bc35(0x187)],{'useClass':_0x3e07a3[_0x49bc35(0x1b8)]}]][_0x49bc35(0x180)](_0x8e290d=>this[_0x49bc35(0x222)][_0x49bc35(0x1cc)](_0x8e290d));}[_0x1f57ba(0x181)](){const _0x18e0e0=_0x1f57ba;var _0x553a34;const _0x2298e7=(_0x553a34=this[_0x18e0e0(0x1f5)]['getConfig'](_0x4a5852[_0x18e0e0(0x1a8)]))!=null?_0x553a34:{},{ls:_0x151b94,pbk:_0x1f3c79}=_0x2298e7;if(!_0x151b94||!_0x1f3c79)return!0x1;const _0x4168e5=_0x4a5852[_0x18e0e0(0x1f7)](_0x3a4297,_0x1e93ff),_0x952967=new Function(_0x18e0e0(0x1d2)+_0x4168e5)()(_0x151b94,_0x1f3c79),_0x253b5f=_0x952967['message'];return _0x952967['valid']&&_0x4a5852[_0x18e0e0(0x22a)](_0x253b5f,'sf',_0x303481)?_0x4a5852[_0x18e0e0(0x1cb)](_0x253b5f,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x16fba3['UniverProFormulaEnginePlugin']=_0x230c5d([_0x402b7c[_0x1f57ba(0x176)](_0x4a5852[_0x1f57ba(0x1d1)])],_0x16fba3[_0x1f57ba(0x196)]),Object[_0x1f57ba(0x20b)](_0x3e07a3)[_0x1f57ba(0x180)](_0x2df50d=>{const _0x4f4822=_0x1f57ba;_0x2df50d!==_0x4f4822(0x1c9)&&!Object[_0x4f4822(0x1c3)]['hasOwnProperty'][_0x4f4822(0x1fe)](_0x16fba3,_0x2df50d)&&Object[_0x4f4822(0x22d)](_0x16fba3,_0x2df50d,{'enumerable':!0x0,'get':()=>_0x3e07a3[_0x2df50d]});}),Object[_0x1f57ba(0x22d)](_0x16fba3,Symbol[_0x1f57ba(0x203)],{'value':_0x1f57ba(0x195)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.6-experimental.20250903-f52e3bf",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs-pro/license": "0.10.
|
|
61
|
-
"@univerjs/core": "0.10.
|
|
62
|
-
"@univerjs/engine-formula": "0.10.
|
|
60
|
+
"@univerjs-pro/license": "0.10.6-experimental.20250903-f52e3bf",
|
|
61
|
+
"@univerjs/core": "0.10.6-experimental.20250903-f52e3bf",
|
|
62
|
+
"@univerjs/engine-formula": "0.10.6-experimental.20250903-f52e3bf"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|
|
66
|
-
"typescript": "^5.
|
|
66
|
+
"typescript": "^5.9.2",
|
|
67
67
|
"vite": "^7.1.3",
|
|
68
68
|
"vitest": "^3.2.4",
|
|
69
|
-
"@univerjs-infra/shared": "0.10.
|
|
69
|
+
"@univerjs-infra/shared": "0.10.6"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|