@univerjs-pro/engine-formula 0.10.7-nightly.202509130618 → 0.10.7-nightly.202509130640

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x515958=_0x338d;(function(_0x2b39e3,_0x544951){const _0x38df49=_0x338d,_0x546f56=_0x2b39e3();while(!![]){try{const _0x1f1785=parseInt(_0x38df49(0x177))/0x1+-parseInt(_0x38df49(0x184))/0x2+-parseInt(_0x38df49(0x17a))/0x3*(-parseInt(_0x38df49(0x188))/0x4)+parseInt(_0x38df49(0x180))/0x5*(parseInt(_0x38df49(0x17f))/0x6)+-parseInt(_0x38df49(0x17b))/0x7*(-parseInt(_0x38df49(0x187))/0x8)+parseInt(_0x38df49(0x176))/0x9*(-parseInt(_0x38df49(0x179))/0xa)+-parseInt(_0x38df49(0x181))/0xb*(parseInt(_0x38df49(0x17c))/0xc);if(_0x1f1785===_0x544951)break;else _0x546f56['push'](_0x546f56['shift']());}catch(_0x1872d5){_0x546f56['push'](_0x546f56['shift']());}}}(_0x16d4,0xc747b));function _0x338d(_0x1a5994,_0x139d61){const _0x16d42f=_0x16d4();return _0x338d=function(_0x338d56,_0x2c0fbd){_0x338d56=_0x338d56-0x176;let _0x377b82=_0x16d42f[_0x338d56];return _0x377b82;},_0x338d(_0x1a5994,_0x139d61);}Object[_0x515958(0x182)](exports,Symbol['toStringTag'],{'value':_0x515958(0x178)});const t=require('@univerjs/engine-formula/facade');function _0x16d4(){const _0x45ae56=['hasOwnProperty','default','8QKSWAk','24XuroKQ','11361744tkLjMm','1333365aykLLy','Module','10LBFVqg','757155LAmmth','6920179vmnNin','16800816aSCfPd','prototype','forEach','30paSYEF','1003430AwgvNb','11PchrKL','defineProperty','call','2721934EDrFce'];_0x16d4=function(){return _0x45ae56;};return _0x16d4();}Object['keys'](t)[_0x515958(0x17e)](_0x459b4a=>{const _0x113f51=_0x515958;_0x459b4a!==_0x113f51(0x186)&&!Object[_0x113f51(0x17d)][_0x113f51(0x185)][_0x113f51(0x183)](exports,_0x459b4a)&&Object['defineProperty'](exports,_0x459b4a,{'enumerable':!0x0,'get':()=>t[_0x459b4a]});});
1
+ 'use strict';function _0x3faa(_0x4209b2,_0x3f5ba1){const _0x470dfc=_0x470d();return _0x3faa=function(_0x3faa89,_0x1cbb5f){_0x3faa89=_0x3faa89-0xf6;let _0x5189ff=_0x470dfc[_0x3faa89];return _0x5189ff;},_0x3faa(_0x4209b2,_0x3f5ba1);}const _0x35757a=_0x3faa;(function(_0x1a27c6,_0x4c9d65){const _0x294543=_0x3faa,_0x3809b0=_0x1a27c6();while(!![]){try{const _0x227809=parseInt(_0x294543(0xfa))/0x1*(-parseInt(_0x294543(0x106))/0x2)+parseInt(_0x294543(0xfe))/0x3+-parseInt(_0x294543(0x108))/0x4*(-parseInt(_0x294543(0xf6))/0x5)+-parseInt(_0x294543(0xf9))/0x6*(parseInt(_0x294543(0xfb))/0x7)+parseInt(_0x294543(0xfc))/0x8+parseInt(_0x294543(0x104))/0x9*(parseInt(_0x294543(0x102))/0xa)+parseInt(_0x294543(0xf8))/0xb*(parseInt(_0x294543(0xf7))/0xc);if(_0x227809===_0x4c9d65)break;else _0x3809b0['push'](_0x3809b0['shift']());}catch(_0x589190){_0x3809b0['push'](_0x3809b0['shift']());}}}(_0x470d,0xdcafd));Object[_0x35757a(0x105)](exports,Symbol['toStringTag'],{'value':_0x35757a(0xfd)});function _0x470d(){const _0x5dcd60=['1524opuovU','24343aObUpe','630582hXhDgZ','2329raIumE','119CvUKcp','13779136Zhrkpf','Module','1953537rdKlqu','forEach','keys','default','10vlZUYy','call','3543138lefRgC','defineProperty','398XToJaM','prototype','4NzQTqX','528745elJwBp'];_0x470d=function(){return _0x5dcd60;};return _0x470d();}const t=require('@univerjs/engine-formula/facade');Object[_0x35757a(0x100)](t)[_0x35757a(0xff)](_0x5299c2=>{const _0x274e2a=_0x35757a;_0x5299c2!==_0x274e2a(0x101)&&!Object[_0x274e2a(0x107)]['hasOwnProperty'][_0x274e2a(0x103)](exports,_0x5299c2)&&Object[_0x274e2a(0x105)](exports,_0x5299c2,{'enumerable':!0x0,'get':()=>t[_0x5299c2]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x530f(_0x5c237f,_0x590941){const _0x9a3e6a=_0x9a3e();return _0x530f=function(_0x530f6c,_0x19c713){_0x530f6c=_0x530f6c-0x15a;let _0x45d324=_0x9a3e6a[_0x530f6c];return _0x45d324;},_0x530f(_0x5c237f,_0x590941);}const _0x32defa=_0x530f;(function(_0x300986,_0x5148ad){const _0x263fba=_0x530f,_0x6da53c=_0x300986();while(!![]){try{const _0x1d35be=-parseInt(_0x263fba(0x192))/0x1*(-parseInt(_0x263fba(0x206))/0x2)+-parseInt(_0x263fba(0x1db))/0x3*(parseInt(_0x263fba(0x1ff))/0x4)+-parseInt(_0x263fba(0x1b2))/0x5+-parseInt(_0x263fba(0x189))/0x6*(parseInt(_0x263fba(0x1df))/0x7)+-parseInt(_0x263fba(0x17d))/0x8*(parseInt(_0x263fba(0x161))/0x9)+-parseInt(_0x263fba(0x1a2))/0xa+parseInt(_0x263fba(0x1ac))/0xb;if(_0x1d35be===_0x5148ad)break;else _0x6da53c['push'](_0x6da53c['shift']());}catch(_0x25afb9){_0x6da53c['push'](_0x6da53c['shift']());}}}(_0x9a3e,0x4b909));function _0x9a3e(){const _0x4907de=['markedAsNoFunctionsExecuted','UniverLicensePlugin','5486510RUSGtD','executeAsync','endRow','isSkip','dependencySheetName','refOffsetX','_dependencyManagerService','isStopExecution','resolve','rangeList','26228686RBvBYr','FormulaDependencyTreeType','_dependencyRTreeCache','getRuntimeState','START_DEPENDENCY','has','2746210BHhmlY','_dependencyRTreeCacheForAddressFunction','realDeleteValue','hasOwnProperty','searchDependency','_definedNameMap','_currentConfigService','_astTreeBuilder','_convertDirtyRangesToUnitRange','startRow','_getTreeNode','formulaId','isExcludeRange','isAdded','_dependencyTreeCache','getValue','featureId','add','addFormulaDependencyByDefinedName','_runtimeService','_executionInProgressListener$','_createFDtree','setCompletedFormulasCount','default','min','_removeDependencyRTreeCache','endColumn','refTree','getDirtyRanges','clear','_isCyclicUtilMap','node','_otherFormulaDataMainData','UniverFormulaEnginePlugin','getDirtyNameMap','clearFeatureFormulaDependency','setCompletedArrayFormulasCount','getOwnPropertyDescriptor','_apply','START_CALCULATION_ARRAY_FORMULA','delete','3yVuoXB','_initLicenseValid','_calculateRunList','getFeatureFormulaDependency','14ZCOccN','_interpreter','enableCycleDependency','max','_updateRangeFlatten','setRuntimeFeatureCellData','addFormulaDependency','get','valid','set','clearOtherFormulaDependency','_getFeatureFormulaTree','subUnitId','setTotalFormulasToCalculate','row','FormulaDependencyTree','next','_featureFormulaData','ICalculateFormulaService','addOtherFormulaDependency','_createVirtualFDtree','checkAsyncNode','setCurrent','RTree','getFormulaData','hasOtherFormulaDataMainData','addFeatureFormulaDependency','generateRandomDependencyTreeId','intervalCount','LS_CONFIG_KEY','CalculateFormulaService','ObjectMatrix','2147332vaTNSQ','setValue','START_CALCULATION','FormulaDependencyGenerator','isCache','isFeatureAuthorizedWithinTime','_removeDependencyRTreeCacheById','2KvXVhx','refOffsetY','_formulaData','type','requestImmediateMacroTask','getConfig','unitId','pop','_injector','setRuntimeFeatureRange','START_DEPENDENCY_ARRAY_FORMULA','length','removeFeatureFormulaDependency','_registerFormulas','openKdTree','closeKdTree','toStringTag','generateAstNode','parseInt','forValue','135febuwF','getExcludedRange','clearFormulaDependency','reset','featureDirtyRanges','IDependencyManagerService','getFormulaDependency','removeFormulaDependencyByDefinedName','_formulaDependencyGenerator','_removeAllTreeMap','getClearDependencyTreeCache','dirtyRanges','_allTreeMap','getDirtyData','setFormulaExecuteStage','_config','IDLE','bulkRemove','call','setRuntimeOtherData','FEATURE_FORMULA','defineProperty','toRTreeItem','Module','keys','startColumn','_getUpdateTreeListAndMakeDependency','forEach','240632kNnwps','notExecuteFormula','treeId','_configService','setTotalArrayFormulasToCalculate','_otherFormulaManagerService','_executionCompleteListener$','removeFormulaDependency','push','bulkSearch','unshiftString','rowCount','1791888eCpZPE','formula','getSheetFeatureLimit','_restDependencyTreeId','_getFirstCellOfRange','IFormulaDependencyGenerator','return\x20','DependentOn','ParentDependencyTree\x20object\x20is\x20null','608294dEupZl','columnCount','DependencyManagerBaseService','getOtherFormulaData','getAllRuntimeData','execute','getOtherFormulaDependency','_otherFormulaData','size','generate','_checkIsCycleDependency','FormulaExecuteStageType','_traverse','CURRENTLY_CALCULATING'];_0x9a3e=function(){return _0x4907de;};return _0x9a3e();}var N=Object[_0x32defa(0x176)],U=(_0x38053e,_0xe33471,_0x3d0db0)=>_0xe33471 in _0x38053e?N(_0x38053e,_0xe33471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d0db0}):_0x38053e[_0xe33471]=_0x3d0db0,S=(_0x3c2dc7,_0xfba01,_0x56d88c)=>U(_0x3c2dc7,typeof _0xfba01!='symbol'?_0xfba01+'':_0xfba01,_0x56d88c);Object['defineProperty'](exports,Symbol[_0x32defa(0x15d)],{'value':_0x32defa(0x178)});const v=require('@univerjs-pro/license'),C=require('@univerjs/core'),u=require('@univerjs/engine-formula'),X={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},P='XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class k extends u[_0x32defa(0x202)]{constructor(){const _0x365d18=_0x32defa;super(...arguments),S(this,_0x365d18(0x1c0),new Map());}['dispose'](){const _0x111b86=_0x32defa;super['dispose'](),this[_0x111b86(0x1c0)][_0x111b86(0x1cf)]();}async['generate'](){const _0x6b87fc=_0x32defa;this[_0x6b87fc(0x1e3)]();const _0x3e9d3b=this[_0x6b87fc(0x1b8)][_0x6b87fc(0x1f7)](),_0x55b3f5=this[_0x6b87fc(0x182)][_0x6b87fc(0x195)](),_0x3e4329=this[_0x6b87fc(0x1b8)][_0x6b87fc(0x16b)]();_0x3e4329!=null&&Object[_0x6b87fc(0x179)](_0x3e4329)['forEach'](_0x47d09b=>{_0x47d09b!=null&&Object['keys'](_0x3e4329[_0x47d09b])['forEach'](_0x5b2417=>{const _0x1d78a7=_0x530f;_0x5b2417!=null&&(this[_0x1d78a7(0x1a8)][_0x1d78a7(0x1e9)](_0x47d09b,_0x5b2417),this['_dependencyManagerService'][_0x1d78a7(0x1d5)](_0x47d09b,_0x5b2417),this['_dependencyManagerService'][_0x1d78a7(0x163)](_0x47d09b,_0x5b2417));});});const _0x2009fb=this[_0x6b87fc(0x1b8)]['getUnitData']();await this['_generateTreeList'](_0x3e9d3b,_0x55b3f5,_0x2009fb),this[_0x6b87fc(0x1a8)][_0x6b87fc(0x15b)]();const _0x12cbb0=this['_getUpdateTreeListAndMakeDependency'](),_0x30ecbc=this[_0x6b87fc(0x1dd)](_0x12cbb0);return this[_0x6b87fc(0x19c)](_0x30ecbc)&&this[_0x6b87fc(0x1c5)][_0x6b87fc(0x1e1)](),this[_0x6b87fc(0x1c0)][_0x6b87fc(0x1cf)](),this[_0x6b87fc(0x1b3)]['clear'](),this[_0x6b87fc(0x1a8)][_0x6b87fc(0x15c)](),Promise[_0x6b87fc(0x1aa)](_0x30ecbc);}['_isCyclicUtilMap'](_0x3904b6,_0x241a87){const _0x6825c4=_0x32defa,_0x19e72e=[_0x3904b6];for(;_0x19e72e[_0x6825c4(0x211)]>0x0;){const _0x1dd902=_0x19e72e[_0x19e72e['length']-0x1];if((_0x241a87[_0x6825c4(0x1e6)](_0x1dd902)||0x0)===0x0){_0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x1);const _0x1c921c=this['_dependencyTreeCache'][_0x6825c4(0x1e6)](_0x1dd902);if(_0x1c921c==null){_0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x2),_0x19e72e[_0x6825c4(0x20d)]();continue;}const _0x3b46da=this['_dependencyManagerService'][_0x6825c4(0x1b6)](_0x1c921c[_0x6825c4(0x177)]());for(const _0x249a80 of _0x3b46da){const _0x15dbf5=_0x241a87[_0x6825c4(0x1e6)](_0x249a80)||0x0;if(_0x15dbf5===0x1)return!0x0;_0x15dbf5===0x0&&_0x19e72e[_0x6825c4(0x185)](_0x249a80);}}else _0x241a87[_0x6825c4(0x1e8)](_0x1dd902,0x2),_0x19e72e['pop']();}return!0x1;}[_0x32defa(0x19c)](_0x190f2b){const _0x2ffa89=_0x32defa,_0x25041d=new Map();for(const _0x327996 of _0x190f2b)if(!_0x25041d[_0x2ffa89(0x1b1)](_0x327996['treeId'])&&this[_0x2ffa89(0x1d0)](_0x327996[_0x2ffa89(0x17f)],_0x25041d))return!0x0;return _0x25041d[_0x2ffa89(0x1cf)](),!0x1;}[_0x32defa(0x1ea)](_0x1e7045,_0x285f8a,_0x543e63){const _0x32ae32=_0x32defa,{unitId:_0x27d0a0,subUnitId:_0xd6e1a5,dependencyRanges:_0x3964fd,getDirtyData:_0x5dcb81}=_0x543e63,_0x51791f=_0x285f8a||u['generateRandomDependencyTreeId'](this[_0x32ae32(0x1a8)]),_0x222dfd=new u[(_0x32ae32(0x1ee))](_0x51791f);_0x222dfd[_0x32ae32(0x20c)]=_0x27d0a0,_0x222dfd['subUnitId']=_0xd6e1a5,_0x222dfd[_0x32ae32(0x1ab)]=_0x3964fd,_0x222dfd[_0x32ae32(0x16e)]=_0x5dcb81;const _0x400574=_0x5dcb81(this[_0x32ae32(0x1b8)]['getDirtyData'](),this['_runtimeService'][_0x32ae32(0x196)]()),_0x1ebe3b=this[_0x32ae32(0x1ba)](_0x400574[_0x32ae32(0x16c)]);return _0x222dfd[_0x32ae32(0x165)]=_0x1ebe3b,_0x222dfd[_0x32ae32(0x1c2)]=_0x1e7045,_0x222dfd['type']=u[_0x32ae32(0x1ad)][_0x32ae32(0x175)],this[_0x32ae32(0x1a8)][_0x32ae32(0x1f9)](_0x27d0a0,_0xd6e1a5,_0x1e7045,_0x222dfd),this[_0x32ae32(0x1c0)]['set'](_0x222dfd['treeId'],_0x222dfd),this[_0x32ae32(0x1a8)][_0x32ae32(0x1de)](_0x543e63['unitId'],_0x543e63[_0x32ae32(0x1eb)],_0x1e7045)&&(_0x222dfd[_0x32ae32(0x203)]=!0x0),_0x222dfd;}['_registerOtherFormulas'](_0x5435ac,_0x40f4f4,_0xb0c0e5){const _0x4b0c3f=_0x32defa;var _0x1ae051;for(const _0x576047 of _0x40f4f4){const _0x174964=_0x5435ac[_0x576047];if(_0x174964==null)continue;const _0x26a7f2=Object['keys'](_0x174964);for(const _0x53c076 of _0x26a7f2){const _0x18c7eb=_0x174964[_0x53c076];if(_0x18c7eb==null)continue;const _0x37cad6=Object['keys'](_0x18c7eb);for(const _0x49e8cd of _0x37cad6){const _0x524338=this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f8)](_0x49e8cd),_0x3fe0c3=_0x18c7eb[_0x49e8cd],{f:_0x1cf07f,ranges:_0x4f1b77}=_0x3fe0c3;let _0x206294=!0x1;_0x524338&&(_0x206294=!0x0);const {firstRow:_0x498529,firstColumn:_0x5a9a35}=this[_0x4b0c3f(0x18d)](_0x4f1b77),_0x3b85ba=this['_dependencyManagerService'][_0x4b0c3f(0x198)](_0x576047,_0x53c076,_0x49e8cd),_0x169e1a=(_0x1ae051=_0x3b85ba==null?void 0x0:_0x3b85ba['getValue'](0x0,0x0))!=null?_0x1ae051:u['generateRandomDependencyTreeId'](this[_0x4b0c3f(0x1a8)]),_0x8030c0=new u[(_0x4b0c3f(0x1ee))](_0x169e1a);for(let _0x178567=0x0;_0x178567<_0x4f1b77[_0x4b0c3f(0x211)];_0x178567++){const _0x5783d9=_0x4f1b77[_0x178567],{startRow:_0x5ed24b,startColumn:_0x2eae86,endRow:_0x18932e,endColumn:_0x1f1d54}=_0x5783d9;for(let _0x109f33=_0x5ed24b;_0x109f33<=_0x18932e;_0x109f33++)for(let _0x52435e=_0x2eae86;_0x52435e<=_0x1f1d54;_0x52435e++){const _0x14216a=_0x52435e-_0x5a9a35,_0x1b119d=_0x109f33-_0x498529;if(_0x14216a===0x0&&_0x1b119d===0x0){_0x8030c0[_0x4b0c3f(0x18a)]=_0x1cf07f,_0x8030c0['unitId']=_0x576047,_0x8030c0[_0x4b0c3f(0x1eb)]=_0x53c076,_0x8030c0[_0x4b0c3f(0x1bd)]=_0x49e8cd,_0x8030c0[_0x4b0c3f(0x209)]=u['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x8030c0[_0x4b0c3f(0x203)]=_0x206294,_0xb0c0e5[_0x4b0c3f(0x185)](_0x8030c0),this['_dependencyTreeCache'][_0x4b0c3f(0x1e8)](_0x8030c0['treeId'],_0x8030c0),this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f2)](_0x576047,_0x53c076,_0x49e8cd,_0x8030c0),this['_dependencyManagerService'][_0x4b0c3f(0x1c4)](_0x8030c0);continue;}const _0x4968eb=new u['FormulaDependencyTreeVirtual']();_0x4968eb[_0x4b0c3f(0x17f)]=(_0x3b85ba==null?void 0x0:_0x3b85ba['getValue'](_0x14216a,_0x1b119d))||u[_0x4b0c3f(0x1fa)](this[_0x4b0c3f(0x1a8)]),_0x4968eb[_0x4b0c3f(0x1cd)]=_0x8030c0,_0x4968eb[_0x4b0c3f(0x1a7)]=_0x14216a,_0x4968eb['refOffsetY']=_0x1b119d,_0x4968eb[_0x4b0c3f(0x203)]=_0x206294,this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1f2)](_0x576047,_0x53c076,_0x49e8cd,_0x4968eb),this[_0x4b0c3f(0x1a8)][_0x4b0c3f(0x1c4)](_0x4968eb),_0xb0c0e5[_0x4b0c3f(0x185)](_0x4968eb),this[_0x4b0c3f(0x1c0)][_0x4b0c3f(0x1e8)](_0x4968eb[_0x4b0c3f(0x17f)],_0x4968eb);}}this[_0x4b0c3f(0x1a8)]['addOtherFormulaDependencyMainData'](_0x49e8cd);}}}}[_0x32defa(0x15a)](_0x4215d0,_0x46f209,_0x4ca4e2,_0x94ca2a){const _0x178b25=_0x32defa;for(const _0x519818 of _0x4215d0){const _0x1d6f13=_0x46f209[_0x519818];if(_0x1d6f13==null)continue;const _0x28496b=Object[_0x178b25(0x179)](_0x1d6f13);for(const _0x10f294 of _0x28496b){const _0x310007=new C[(_0x178b25(0x1fe))](_0x1d6f13[_0x10f294]||{}),_0xe664e8=new Map();_0x310007[_0x178b25(0x160)]((_0x4105c6,_0x1b13f4,_0x31929a)=>{const _0x421106=_0x178b25;if(_0x31929a==null)return!0x0;const {x:_0x2107d9=0x0,y:_0x329bfd=0x0,si:_0x581021}=_0x31929a;if(!(_0x2107d9===0x0&&_0x329bfd===0x0&&_0x581021!=null))return!0x0;const _0xfaf8b0=this['_createFDtree'](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4,_0x4ca4e2,_0x31929a),_0x390b5d=this[_0x421106(0x1a8)]['getFormulaDependency'](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4);_0x390b5d!=null?_0xfaf8b0['treeId']=_0x390b5d:(this[_0x421106(0x1a8)][_0x421106(0x1e5)](_0x519818,_0x10f294,_0x4105c6,_0x1b13f4,_0xfaf8b0),this['_dependencyManagerService'][_0x421106(0x1c4)](_0xfaf8b0)),_0xe664e8[_0x421106(0x1e8)](_0x581021,_0xfaf8b0),_0x94ca2a[_0x421106(0x185)](_0xfaf8b0),this[_0x421106(0x1c0)][_0x421106(0x1e8)](_0xfaf8b0[_0x421106(0x17f)],_0xfaf8b0);}),_0x310007[_0x178b25(0x160)]((_0x15217e,_0x128fd8,_0x3f49be)=>{const _0x35d854=_0x178b25;if(_0x3f49be==null)return!0x0;const {x:_0x40d263=0x0,y:_0x3dda3a=0x0,si:_0x4f9d05}=_0x3f49be;if(_0x40d263===0x0&&_0x3dda3a===0x0&&_0x4f9d05!=null)return!0x0;let _0x1d4b73;if(_0x4f9d05&&_0xe664e8['has'](_0x4f9d05)){const _0x31185b=_0xe664e8[_0x35d854(0x1e6)](_0x4f9d05);_0x1d4b73=this[_0x35d854(0x1f3)](_0x31185b,_0x3f49be);}else _0x1d4b73=this[_0x35d854(0x1c7)](_0x519818,_0x10f294,_0x15217e,_0x128fd8,_0x4ca4e2,_0x3f49be);const _0x3e57ec=this[_0x35d854(0x1a8)][_0x35d854(0x167)](_0x519818,_0x10f294,_0x15217e,_0x128fd8);_0x3e57ec!=null?_0x1d4b73[_0x35d854(0x17f)]=_0x3e57ec:(this[_0x35d854(0x1a8)]['addFormulaDependency'](_0x519818,_0x10f294,_0x15217e,_0x128fd8,_0x1d4b73),this[_0x35d854(0x1a8)]['addFormulaDependencyByDefinedName'](_0x1d4b73)),_0x94ca2a[_0x35d854(0x185)](_0x1d4b73),this[_0x35d854(0x1c0)][_0x35d854(0x1e8)](_0x1d4b73[_0x35d854(0x17f)],_0x1d4b73);}),_0xe664e8[_0x178b25(0x1cf)]();}}}[_0x32defa(0x1c7)](_0xf0cf5b,_0x134c59,_0x5b21d9,_0x41ae8b,_0x2f1ed5,_0x345771){const _0x5e1dac=_0x32defa,{f:_0x2cf5c9,x:_0x1bd3f4=0x0,y:_0x1ce63a=0x0}=_0x345771,_0x37a989=new u[(_0x5e1dac(0x1ee))](u[_0x5e1dac(0x1fa)](this[_0x5e1dac(0x1a8)])),_0x33078c=_0x2f1ed5[_0xf0cf5b][_0x134c59];return _0x37a989['formula']=_0x2cf5c9,_0x37a989[_0x5e1dac(0x20c)]=_0xf0cf5b,_0x37a989[_0x5e1dac(0x1eb)]=_0x134c59,_0x37a989[_0x5e1dac(0x1ed)]=_0x5b21d9,_0x37a989['column']=_0x41ae8b,_0x37a989['rowCount']=_0x33078c[_0x5e1dac(0x188)],_0x37a989[_0x5e1dac(0x193)]=_0x33078c[_0x5e1dac(0x193)],_0x37a989;}[_0x32defa(0x17b)](){const _0x4660d4=_0x32defa,_0x231bad=[],_0x1e58cf=new Set(),_0xaf12e8=this[_0x4660d4(0x1b8)]['isForceCalculate'](),_0x32b891=this[_0x4660d4(0x1b8)][_0x4660d4(0x1ce)](),_0x4b796e=this[_0x4660d4(0x1a8)][_0x4660d4(0x1b6)](_0x32b891),_0x4c2710=this[_0x4660d4(0x1b3)]['bulkSearch'](_0x32b891);for(const _0x4d6226 of _0x4c2710)_0x4b796e[_0x4660d4(0x1c3)](_0x4d6226);for(const [_0x2683a2,_0x22de7c]of this['_dependencyTreeCache'])(_0xaf12e8||_0x22de7c['isDirty']||_0x22de7c[_0x4660d4(0x1a6)](this[_0x4660d4(0x1b8)][_0x4660d4(0x1d4)]())||_0x4b796e[_0x4660d4(0x1b1)](_0x2683a2)&&!_0x22de7c[_0x4660d4(0x1be)](this[_0x4660d4(0x1b8)][_0x4660d4(0x162)]()))&&!_0x1e58cf['has'](_0x2683a2)&&(_0x231bad['push'](_0x22de7c),_0x1e58cf[_0x4660d4(0x1c3)](_0x2683a2));for(const [_0x1ce55e,_0x4f78f1]of this[_0x4660d4(0x1c0)])_0x4f78f1['isVirtual']||(_0x4f78f1['rangeList'][_0x4660d4(0x211)]=0x0);return _0x231bad;}['_getTreeById'](_0x2ba82a){const _0x76acdc=_0x32defa;return this[_0x76acdc(0x1c0)]['get'](_0x2ba82a);}[_0x32defa(0x1bc)](_0x1a18c7){const _0x4d960e=_0x32defa;return u[_0x4d960e(0x15e)](_0x1a18c7['unitId'],_0x1a18c7[_0x4d960e(0x18a)],this['_lexer'],this[_0x4d960e(0x1b9)],this['_currentConfigService']);}*['_traverse'](_0x1517e4,_0x3b05d3){const _0x3c8280=_0x32defa,_0x38cccd=_0x1517e4,_0x5590b8=new Set();for(;_0x38cccd[_0x3c8280(0x211)]>0x0;){const _0x225026=_0x38cccd[_0x3c8280(0x20d)]();if(_0x5590b8[_0x3c8280(0x1cf)](),_0x225026===void 0x0||_0x225026[_0x3c8280(0x1a5)]())continue;if(_0x225026['isAdded']()){yield _0x225026,_0x225026['setSkip'](),_0x3b05d3[_0x3c8280(0x1c3)](_0x225026[_0x3c8280(0x17f)]);continue;}const _0x39d4b4=this[_0x3c8280(0x1a8)]['searchDependency'](_0x225026[_0x3c8280(0x177)](),_0x3b05d3),_0x34c226=this[_0x3c8280(0x1b3)][_0x3c8280(0x186)](_0x225026[_0x3c8280(0x177)](),_0x3b05d3);for(const _0x1d6bdd of _0x34c226)_0x39d4b4[_0x3c8280(0x1c3)](_0x1d6bdd);for(const _0x1761f8 of _0x39d4b4){const _0x2b3ef2=this[_0x3c8280(0x1c0)][_0x3c8280(0x1e6)](_0x1761f8);if(!_0x2b3ef2)throw new Error(_0x3c8280(0x191));_0x2b3ef2[_0x3c8280(0x1bf)]()||_0x225026[_0x3c8280(0x1a5)]()||_0x5590b8['add'](_0x2b3ef2);}if(_0x39d4b4[_0x3c8280(0x1cf)](),_0x5590b8['size']===0x0)yield _0x225026,_0x225026['setSkip'](),_0x3b05d3[_0x3c8280(0x1c3)](_0x225026['treeId']);else{_0x225026['setAdded'](),_0x38cccd['push'](_0x225026);for(const _0x327817 of _0x5590b8)_0x38cccd[_0x3c8280(0x185)](_0x327817);}}_0x38cccd[_0x3c8280(0x211)]=0x0,_0x5590b8['clear']();}[_0x32defa(0x1dd)](_0x54aef6){const _0x2d297f=_0x32defa,_0x3fe610=[],_0x20e10a=new Set();for(const _0x3a49a6 of this[_0x2d297f(0x19e)](_0x54aef6,_0x20e10a))_0x3fe610['push'](_0x3a49a6);return _0x3fe610;}}class K extends u['CalculateFormulaService']{async[_0x32defa(0x1d8)](_0x194c45=!0x1){const _0x3613f8=_0x32defa;_0x194c45?this['_runtimeService']['setFormulaExecuteStage'](u[_0x3613f8(0x19d)][_0x3613f8(0x210)]):this['_runtimeService']['setFormulaExecuteStage'](u[_0x3613f8(0x19d)][_0x3613f8(0x1b0)]),this[_0x3613f8(0x1c6)][_0x3613f8(0x1ef)](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]());const _0x537e3b=await this[_0x3613f8(0x169)][_0x3613f8(0x19b)](),_0x16fad4=this[_0x3613f8(0x1e0)];_0x194c45?(this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x1d9)]),this[_0x3613f8(0x1c5)][_0x3613f8(0x181)](_0x537e3b[_0x3613f8(0x211)])):(this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x201)]),this[_0x3613f8(0x1c5)][_0x3613f8(0x1ec)](_0x537e3b[_0x3613f8(0x211)])),this[_0x3613f8(0x1c6)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]());let _0x5b0043=[];const _0xa7ea7d=this[_0x3613f8(0x180)][_0x3613f8(0x20b)](u['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0xbdf11c=(_0xa7ea7d==null?void 0x0:_0xa7ea7d[_0x3613f8(0x1fb)])||u['DEFAULT_INTERVAL_COUNT'];let _0x224a17=0x0;const _0x4d0903=_0x537e3b[_0x3613f8(0x211)];for(;_0x537e3b[_0x3613f8(0x211)]>0x0;){const _0x1ee3fd=_0x537e3b[_0x3613f8(0x20d)](),_0x486be3={'node':u[_0x3613f8(0x15e)](_0x1ee3fd[_0x3613f8(0x20c)],_0x1ee3fd[_0x3613f8(0x18a)],this['_lexer'],this['_astTreeBuilder'],this[_0x3613f8(0x1b8)]),'refOffsetX':_0x1ee3fd['refOffsetX'],'refOffsetY':_0x1ee3fd[_0x3613f8(0x207)]},_0x234ac8=_0x1ee3fd[_0x3613f8(0x16e)];if(_0x224a17%_0xbdf11c===0x0&&(await new Promise(_0x3ae005=>{const _0x529d57=_0x3613f8,_0x260d31=C[_0x529d57(0x20a)](_0x3ae005);_0x5b0043[_0x529d57(0x185)](_0x260d31);}),_0x194c45?(this[_0x3613f8(0x1c5)]['setFormulaExecuteStage'](u[_0x3613f8(0x19d)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x3613f8(0x1c5)][_0x3613f8(0x1d6)](_0x224a17+0x1)):(this['_runtimeService'][_0x3613f8(0x16f)](u['FormulaExecuteStageType'][_0x3613f8(0x19f)]),this['_runtimeService'][_0x3613f8(0x1c8)](_0x224a17+0x1)),this[_0x3613f8(0x1c6)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x1af)]()),this[_0x3613f8(0x1c5)][_0x3613f8(0x1a9)]()||_0x486be3==null&&_0x234ac8==null)){this[_0x3613f8(0x1c5)][_0x3613f8(0x16f)](u[_0x3613f8(0x19d)][_0x3613f8(0x171)]),this[_0x3613f8(0x1c5)]['markedAsStopFunctionsExecuted'](),this[_0x3613f8(0x183)]['next'](this[_0x3613f8(0x1c5)][_0x3613f8(0x196)]());return;}this[_0x3613f8(0x1c5)][_0x3613f8(0x1f5)](_0x1ee3fd[_0x3613f8(0x1ed)],_0x1ee3fd['column'],_0x1ee3fd[_0x3613f8(0x188)],_0x1ee3fd[_0x3613f8(0x193)],_0x1ee3fd[_0x3613f8(0x1eb)],_0x1ee3fd[_0x3613f8(0x20c)]);let _0x3f460a;if(_0x234ac8!=null&&_0x1ee3fd['featureId']!=null){const {runtimeCellData:_0xd2447b,dirtyRanges:_0x1aa04a}=_0x234ac8(this[_0x3613f8(0x1b8)][_0x3613f8(0x16e)](),this[_0x3613f8(0x1c5)][_0x3613f8(0x196)]());this[_0x3613f8(0x1c5)][_0x3613f8(0x1e4)](_0x1ee3fd['featureId'],_0xd2447b),this['_runtimeService'][_0x3613f8(0x20f)](_0x1ee3fd[_0x3613f8(0x1c2)],_0x1aa04a);}else _0x486be3!=null&&(_0x16fad4[_0x3613f8(0x1f4)](_0x486be3[_0x3613f8(0x1d1)])?_0x3f460a=await _0x16fad4[_0x3613f8(0x1a3)](_0x486be3):_0x3f460a=_0x16fad4[_0x3613f8(0x197)](_0x486be3),_0x1ee3fd[_0x3613f8(0x1bd)]!=null?this[_0x3613f8(0x1c5)][_0x3613f8(0x174)](_0x1ee3fd['formulaId'],_0x1ee3fd[_0x3613f8(0x1a7)],_0x1ee3fd[_0x3613f8(0x207)],_0x3f460a):this[_0x3613f8(0x1c5)]['setRuntimeData'](_0x3f460a));_0x224a17++;}return _0x5b0043[_0x3613f8(0x17c)](_0x501a22=>_0x501a22()),_0x5b0043=[],_0x4d0903>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x194c45||this[_0x3613f8(0x1c5)][_0x3613f8(0x1a0)](),this['_runtimeService']['getAllRuntimeData']();}}class Y extends u[_0x32defa(0x194)]{constructor(){const _0xf3efd3=_0x32defa;super(...arguments),S(this,_0xf3efd3(0x16d),new Map()),S(this,_0xf3efd3(0x1ae),new C[(_0xf3efd3(0x1f6))](!0x0));}[_0x32defa(0x164)](){const _0x15ac29=_0x32defa;this[_0x15ac29(0x199)][_0x15ac29(0x1cf)](),this[_0x15ac29(0x1f0)][_0x15ac29(0x1cf)](),this[_0x15ac29(0x208)][_0x15ac29(0x1cf)](),this['_dependencyRTreeCache'][_0x15ac29(0x1cf)](),this[_0x15ac29(0x16d)]['clear'](),this[_0x15ac29(0x18c)](),this['_otherFormulaDataMainData']['clear']();}[_0x32defa(0x1f2)](_0x475dbd,_0x88d8a2,_0x475cd4,_0x48d3f8){const _0x55f746=_0x32defa;this[_0x55f746(0x199)][_0x55f746(0x1b1)](_0x475dbd)||this[_0x55f746(0x199)][_0x55f746(0x1e8)](_0x475dbd,new Map());const _0x16ebe7=this['_otherFormulaData'][_0x55f746(0x1e6)](_0x475dbd);_0x16ebe7['has'](_0x88d8a2)||_0x16ebe7['set'](_0x88d8a2,new Map());const _0x20364e=_0x16ebe7[_0x55f746(0x1e6)](_0x88d8a2);_0x20364e[_0x55f746(0x1b1)](_0x475cd4)||_0x20364e[_0x55f746(0x1e8)](_0x475cd4,new C[(_0x55f746(0x1fe))]()),_0x20364e[_0x55f746(0x1e6)](_0x475cd4)[_0x55f746(0x200)](_0x48d3f8[_0x55f746(0x1a7)],_0x48d3f8[_0x55f746(0x207)],_0x48d3f8[_0x55f746(0x17f)]);}['removeOtherFormulaDependency'](_0x43308a,_0x1a9d86,_0x5a3b35){const _0x7798d8=_0x32defa,_0x30dd20=this[_0x7798d8(0x199)][_0x7798d8(0x1e6)](_0x43308a);if(_0x30dd20&&_0x30dd20[_0x7798d8(0x1b1)](_0x1a9d86)){const _0x5f413d=_0x30dd20[_0x7798d8(0x1e6)](_0x1a9d86);_0x5a3b35['forEach'](_0x3e24e7=>{const _0x121979=_0x7798d8,_0x2660ab=_0x5f413d[_0x121979(0x1e6)](_0x3e24e7);_0x2660ab!=null&&(_0x2660ab[_0x121979(0x160)]((_0x3762ba,_0x579d90,_0x6e111a)=>{const _0x56a0f3=_0x121979;this[_0x56a0f3(0x1cb)](_0x6e111a),this['_removeAllTreeMap'](_0x6e111a);}),_0x5f413d['delete'](_0x3e24e7),this['_otherFormulaDataMainData'][_0x121979(0x1da)](_0x3e24e7));}),_0x5f413d[_0x7798d8(0x19a)]===0x0&&_0x30dd20[_0x7798d8(0x1da)](_0x1a9d86),_0x30dd20[_0x7798d8(0x19a)]===0x0&&this['_otherFormulaData']['delete'](_0x43308a);}}[_0x32defa(0x1e9)](_0x411145,_0xb7d396){const _0x5a9d39=_0x32defa,_0x83708a=this[_0x5a9d39(0x199)][_0x5a9d39(0x1e6)](_0x411145);if(_0xb7d396&&_0x83708a&&_0x83708a[_0x5a9d39(0x1b1)](_0xb7d396)){const _0x439a5b=_0x83708a[_0x5a9d39(0x1e6)](_0xb7d396);this['_removeDependencyRTreeCacheById'](_0x411145,_0xb7d396);for(const _0x56f7f6 of _0x439a5b['keys']()){const _0x169fb1=_0x439a5b['get'](_0x56f7f6);_0x169fb1!=null&&(_0x169fb1['forValue']((_0x4c1b5f,_0x154299,_0x3ffc8f)=>{const _0x2fe94a=_0x5a9d39;this[_0x2fe94a(0x16d)]['get'](_0x3ffc8f)&&this[_0x2fe94a(0x16a)](_0x3ffc8f);}),this[_0x5a9d39(0x1d2)][_0x5a9d39(0x1da)](_0x56f7f6));}_0x439a5b[_0x5a9d39(0x1cf)]();}else{if(_0x83708a){for(const _0x510fbd of _0x83708a[_0x5a9d39(0x179)]()){const _0x57a097=_0x83708a['get'](_0x510fbd);this['_removeDependencyRTreeCacheById'](_0x411145,_0x510fbd);for(const _0x28e986 of _0x57a097[_0x5a9d39(0x179)]()){const _0x2df1f4=_0x57a097['get'](_0x28e986);_0x2df1f4!=null&&(_0x2df1f4[_0x5a9d39(0x160)]((_0x5513e5,_0x5dca7f,_0x10d974)=>{const _0x5e3164=_0x5a9d39;this['_allTreeMap'][_0x5e3164(0x1e6)](_0x10d974)&&this[_0x5e3164(0x16a)](_0x10d974);}),this[_0x5a9d39(0x1d2)][_0x5a9d39(0x1da)](_0x28e986));}}this[_0x5a9d39(0x199)][_0x5a9d39(0x1da)](_0x411145);}}}[_0x32defa(0x1f9)](_0x3a8b98,_0x4f23d9,_0x326f95,_0x3d9d2a){const _0x10acea=_0x32defa;this[_0x10acea(0x1f0)][_0x10acea(0x1b1)](_0x3a8b98)||this[_0x10acea(0x1f0)][_0x10acea(0x1e8)](_0x3a8b98,new Map());const _0x32fdc2=this[_0x10acea(0x1f0)][_0x10acea(0x1e6)](_0x3a8b98);_0x32fdc2[_0x10acea(0x1b1)](_0x4f23d9)||_0x32fdc2[_0x10acea(0x1e8)](_0x4f23d9,new Map()),_0x32fdc2[_0x10acea(0x1e6)](_0x4f23d9)[_0x10acea(0x1e8)](_0x326f95,_0x3d9d2a[_0x10acea(0x17f)]);}[_0x32defa(0x212)](_0x302e70,_0x2ceef8,_0x2f276a){const _0x525513=_0x32defa,_0x21b546=this[_0x525513(0x1f0)][_0x525513(0x1e6)](_0x302e70);if(_0x21b546&&_0x21b546['has'](_0x2ceef8)){const _0x32f85c=_0x21b546[_0x525513(0x1e6)](_0x2ceef8);_0x2f276a[_0x525513(0x17c)](_0x3831e6=>{const _0x123be3=_0x525513,_0x269f2a=_0x32f85c[_0x123be3(0x1e6)](_0x3831e6);_0x269f2a!=null&&(this['_removeDependencyRTreeCache'](_0x269f2a),_0x32f85c[_0x123be3(0x1da)](_0x3831e6),this[_0x123be3(0x16a)](_0x269f2a));});}}[_0x32defa(0x1d5)](_0x55f1ff,_0x7da0a7){const _0x498f7d=_0x32defa,_0x2d0ec6=this[_0x498f7d(0x1f0)]['get'](_0x55f1ff);if(_0x7da0a7&&_0x2d0ec6&&_0x2d0ec6[_0x498f7d(0x1b1)](_0x7da0a7)){const _0x5328a5=_0x2d0ec6[_0x498f7d(0x1e6)](_0x7da0a7);this['_removeDependencyRTreeCacheById'](_0x55f1ff,_0x7da0a7),_0x5328a5[_0x498f7d(0x17c)](_0x20c292=>{_0x20c292!=null&&this['_removeAllTreeMap'](_0x20c292);}),_0x5328a5[_0x498f7d(0x1cf)]();}else _0x2d0ec6&&(_0x2d0ec6[_0x498f7d(0x17c)]((_0x267e7e,_0x3fba37)=>{const _0x58dc28=_0x498f7d;this['_removeDependencyRTreeCacheById'](_0x55f1ff,_0x3fba37),_0x267e7e[_0x58dc28(0x17c)](_0x5c7439=>{const _0x5e3604=_0x58dc28;_0x5c7439!=null&&this[_0x5e3604(0x16a)](_0x5c7439);});}),this['_featureFormulaData'][_0x498f7d(0x1da)](_0x55f1ff));}[_0x32defa(0x1e5)](_0x479fdc,_0x5549dd,_0x4b7b32,_0xb264c1,_0x2a3bdb){const _0x12cd49=_0x32defa;this['_formulaData']['has'](_0x479fdc)||this[_0x12cd49(0x208)][_0x12cd49(0x1e8)](_0x479fdc,new Map());const _0x17449e=this['_formulaData'][_0x12cd49(0x1e6)](_0x479fdc);_0x17449e['has'](_0x5549dd)||_0x17449e[_0x12cd49(0x1e8)](_0x5549dd,new C[(_0x12cd49(0x1fe))]()),_0x17449e[_0x12cd49(0x1e6)](_0x5549dd)[_0x12cd49(0x200)](_0x4b7b32,_0xb264c1,_0x2a3bdb[_0x12cd49(0x17f)]);}[_0x32defa(0x184)](_0xa6f360,_0x197a94,_0x3e0aea,_0x3cc1db){const _0x23f0c7=_0x32defa,_0x3c907b=this[_0x23f0c7(0x208)]['get'](_0xa6f360);if(_0x3c907b&&_0x3c907b[_0x23f0c7(0x1b1)](_0x197a94)){const _0x1e2aaf=_0x3c907b[_0x23f0c7(0x1e6)](_0x197a94),_0x161d33=_0x1e2aaf[_0x23f0c7(0x1c1)](_0x3e0aea,_0x3cc1db);if(_0x161d33==null)return;this[_0x23f0c7(0x1cb)](_0x161d33),_0x1e2aaf[_0x23f0c7(0x1b4)](_0x3e0aea,_0x3cc1db),this[_0x23f0c7(0x16a)](_0x161d33);}}[_0x32defa(0x163)](_0x4ac2b3,_0xc0a103){const _0x267186=_0x32defa,_0x1dfe4f=this[_0x267186(0x208)][_0x267186(0x1e6)](_0x4ac2b3);if(_0xc0a103&&_0x1dfe4f&&_0x1dfe4f[_0x267186(0x1b1)](_0xc0a103)){const _0x58068d=_0x1dfe4f[_0x267186(0x1e6)](_0xc0a103);this[_0x267186(0x205)](_0x4ac2b3,_0xc0a103),_0x58068d[_0x267186(0x160)]((_0x22ae9c,_0x25281a,_0x2cf547)=>{const _0x26abc0=_0x267186;if(_0x2cf547==null)return!0x0;this[_0x26abc0(0x16a)](_0x2cf547);}),_0x58068d[_0x267186(0x164)]();}else _0x1dfe4f&&(_0x1dfe4f[_0x267186(0x17c)]((_0x5dec6a,_0x1b4b7b)=>{const _0x2db30a=_0x267186;this[_0x2db30a(0x205)](_0x4ac2b3,_0x1b4b7b),_0x5dec6a[_0x2db30a(0x160)]((_0x1974f8,_0x1ca4eb,_0x546f7d)=>{const _0xd1e27f=_0x2db30a;if(_0x546f7d==null)return!0x0;this[_0xd1e27f(0x16a)](_0x546f7d);});}),this[_0x267186(0x208)][_0x267186(0x1da)](_0x4ac2b3));}['_removeDependencyRTreeCache'](_0x1e6cbe){const _0x22fe33=_0x32defa;if(_0x1e6cbe==null)return;const _0x341480=this['_allTreeMap']['get'](_0x1e6cbe);if(_0x341480){const _0x186825=[];for(const [_0x47f628,_0x4d8cd7]of _0x341480)for(const [_0xa20232,_0x3ca2e9]of _0x4d8cd7)_0x186825[_0x22fe33(0x185)]({'unitId':_0x47f628,'sheetId':_0xa20232,'range':_0x3ca2e9,'id':_0x1e6cbe});this[_0x22fe33(0x1ae)][_0x22fe33(0x172)](_0x186825);}}[_0x32defa(0x168)](_0x5c908f,_0x2c5eaa){const _0x585714=_0x32defa,_0x22da07=this[_0x585714(0x1b7)][_0x585714(0x1e6)](_0x5c908f);if(_0x22da07){const _0x5d7e03=_0x22da07[_0x585714(0x1e6)](_0x2c5eaa);if(_0x5d7e03){for(const _0x258eab of _0x5d7e03)this[_0x585714(0x1cb)](_0x258eab),this[_0x585714(0x16a)](_0x258eab);_0x5d7e03['clear']();}}}[_0x32defa(0x15b)](){const _0x434b25=_0x32defa;this[_0x434b25(0x1ae)][_0x434b25(0x15b)]();}[_0x32defa(0x15c)](){const _0x3706b9=_0x32defa;this[_0x3706b9(0x1ae)][_0x3706b9(0x15c)]();}[_0x32defa(0x16a)](_0x9c96e3){_0x9c96e3!=null&&this['_allTreeMap']['delete'](_0x9c96e3);}['_addAllTreeMap'](_0x7f6ffb){const _0x17a995=_0x32defa;var _0x5f3712,_0x293ba4;const _0x2ac1c7=_0x7f6ffb[_0x17a995(0x1ab)];let _0x527165=this[_0x17a995(0x16d)][_0x17a995(0x1e6)](_0x7f6ffb[_0x17a995(0x17f)]);for(let _0x863ed6=0x0;_0x863ed6<_0x2ac1c7['length'];_0x863ed6++){const _0x55bd57=_0x2ac1c7[_0x863ed6];let {unitId:_0x28b24a,sheetId:_0x4c4975,range:_0x554a74}=_0x55bd57;_0x527165||(_0x527165=new Map(),this[_0x17a995(0x16d)][_0x17a995(0x1e8)](_0x7f6ffb[_0x17a995(0x17f)],_0x527165)),_0x527165['has'](_0x28b24a)||_0x527165['set'](_0x28b24a,new Map());const _0x47751d=(_0x5f3712=_0x527165==null?void 0x0:_0x527165[_0x17a995(0x1e6)](_0x28b24a))==null?void 0x0:_0x5f3712['get'](_0x4c4975);_0x47751d&&(_0x554a74={'startRow':Math[_0x17a995(0x1ca)](_0x554a74[_0x17a995(0x1bb)],_0x47751d['startRow']),'startColumn':Math[_0x17a995(0x1ca)](_0x554a74['startColumn'],_0x47751d[_0x17a995(0x17a)]),'endRow':Math[_0x17a995(0x1e2)](_0x554a74[_0x17a995(0x1a4)],_0x47751d[_0x17a995(0x1a4)]),'endColumn':Math[_0x17a995(0x1e2)](_0x554a74[_0x17a995(0x1cc)],_0x47751d[_0x17a995(0x1cc)])}),(_0x293ba4=_0x527165[_0x17a995(0x1e6)](_0x28b24a))==null||_0x293ba4[_0x17a995(0x1e8)](_0x4c4975,_0x554a74);}}}var B=Object[_0x32defa(0x1d7)],j=(_0xb3bf6f,_0x2a4ccc,_0x989caf,_0x2f4d82)=>{for(var _0x31d6ff=_0x2f4d82>0x1?void 0x0:_0x2f4d82?B(_0x2a4ccc,_0x989caf):_0x2a4ccc,_0x433e55=_0xb3bf6f['length']-0x1,_0x36783d;_0x433e55>=0x0;_0x433e55--)(_0x36783d=_0xb3bf6f[_0x433e55])&&(_0x31d6ff=_0x36783d(_0x31d6ff)||_0x31d6ff);return _0x31d6ff;};const z=Number[_0x32defa(0x15f)](0x68c50d20);exports['UniverProFormulaEnginePlugin']=class extends u[_0x32defa(0x1d3)]{['_initializeWithOverride'](){const _0x4a3886=_0x32defa;var _0x2cc87e,_0x1e5471;this[_0x4a3886(0x1dc)]()?(_0x2cc87e=this[_0x4a3886(0x170)])!=null&&_0x2cc87e[_0x4a3886(0x17e)]||[[u[_0x4a3886(0x1f1)],{'useClass':K}],[u['IDependencyManagerService'],{'useClass':Y}],[u[_0x4a3886(0x18e)],{'useClass':k}]][_0x4a3886(0x17c)](_0x2f03ce=>this[_0x4a3886(0x20e)]['add'](_0x2f03ce)):(_0x1e5471=this[_0x4a3886(0x170)])!=null&&_0x1e5471[_0x4a3886(0x17e)]||[[u[_0x4a3886(0x1f1)],{'useClass':u[_0x4a3886(0x1fd)]}],[u[_0x4a3886(0x166)],{'useClass':u['DependencyManagerService']}],[u[_0x4a3886(0x18e)],{'useClass':u[_0x4a3886(0x202)]}]][_0x4a3886(0x17c)](_0x18a23f=>this['_injector'][_0x4a3886(0x1c3)](_0x18a23f));}[_0x32defa(0x1dc)](){const _0x2b2356=_0x32defa;var _0x32be65;const _0x318672=(_0x32be65=this[_0x2b2356(0x180)][_0x2b2356(0x20b)](v[_0x2b2356(0x1fc)]))!=null?_0x32be65:{},{ls:_0x34fa83,pbk:_0x54337b}=_0x318672;if(!_0x34fa83||!_0x54337b)return!0x1;const _0x2142d3=v[_0x2b2356(0x187)](P,X),_0x177213=new Function(_0x2b2356(0x18f)+_0x2142d3)()(_0x34fa83,_0x54337b),_0x3f3692=_0x177213['message'];return _0x177213[_0x2b2356(0x1e7)]&&v[_0x2b2356(0x204)](_0x3f3692,'sf',z)?v[_0x2b2356(0x18b)](_0x3f3692,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=j([C[_0x32defa(0x190)](v[_0x32defa(0x1a1)])],exports['UniverProFormulaEnginePlugin']),Object[_0x32defa(0x179)](u)['forEach'](_0x44d180=>{const _0x2a1821=_0x32defa;_0x44d180!==_0x2a1821(0x1c9)&&!Object['prototype'][_0x2a1821(0x1b5)][_0x2a1821(0x173)](exports,_0x44d180)&&Object[_0x2a1821(0x176)](exports,_0x44d180,{'enumerable':!0x0,'get':()=>u[_0x44d180]});});
1
+ 'use strict';const _0xcb65a3=_0x1ecc;(function(_0x29d0a9,_0x25c47b){const _0x47472a=_0x1ecc,_0x44b763=_0x29d0a9();while(!![]){try{const _0x5f0655=parseInt(_0x47472a(0x1ef))/0x1+parseInt(_0x47472a(0x1ec))/0x2+parseInt(_0x47472a(0x20e))/0x3*(parseInt(_0x47472a(0x24c))/0x4)+-parseInt(_0x47472a(0x25b))/0x5+-parseInt(_0x47472a(0x23b))/0x6*(parseInt(_0x47472a(0x247))/0x7)+parseInt(_0x47472a(0x296))/0x8*(-parseInt(_0x47472a(0x245))/0x9)+-parseInt(_0x47472a(0x23e))/0xa;if(_0x5f0655===_0x25c47b)break;else _0x44b763['push'](_0x44b763['shift']());}catch(_0x2d0ffe){_0x44b763['push'](_0x44b763['shift']());}}}(_0x579e,0xd487d));function _0x1ecc(_0x294e60,_0x1a18ef){const _0x579e96=_0x579e();return _0x1ecc=function(_0x1ecc52,_0x458ae0){_0x1ecc52=_0x1ecc52-0x1db;let _0x938f06=_0x579e96[_0x1ecc52];return _0x938f06;},_0x1ecc(_0x294e60,_0x1a18ef);}var U=Object['defineProperty'],b=(_0x17e773,_0x460344,_0x395337)=>_0x460344 in _0x17e773?U(_0x17e773,_0x460344,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x395337}):_0x17e773[_0x460344]=_0x395337,R=(_0x1f25bf,_0x5aaf0e,_0xa39a90)=>b(_0x1f25bf,typeof _0x5aaf0e!=_0xcb65a3(0x21d)?_0x5aaf0e+'':_0x5aaf0e,_0xa39a90);Object[_0xcb65a3(0x223)](exports,Symbol[_0xcb65a3(0x280)],{'value':_0xcb65a3(0x25f)});const M=require('@univerjs-pro/license'),S=require('@univerjs/core'),l=require('@univerjs/engine-formula'),P={0x0:'q',0x1:'H',0x2:'d',0x3:'7',0x4:'V',0x5:'Y',0x6:'b',0x7:'J',0x8:'v',0x9:'h','Y':'0','w':'1','k':'2','z':'3','F':'4','I':'5','M':'6','S':'8','O':'9','u':'a','l':'c','h':'e','C':'f','D':'g','a':'i','b':'j','J':'k','G':'l','K':'m','r':'n','o':'o','n':'p','c':'r','d':'s','t':'t','e':'u','H':'w','W':'x','f':'y','y':'z','L':'A','T':'B','B':'C','X':'D','P':'E','v':'F','x':'G','E':'I','i':'K','q':'L','s':'M','m':'N','N':'O','V':'P','Z':'Q','j':'R','p':'S','g':'T','U':'U','A':'W','R':'X','Q':'Z'},k=_0xcb65a3(0x25e);function _0x579e(){const _0x32b005=['_featureFormulaData','row','CURRENTLY_CALCULATING_ARRAY_FORMULA','valid','setRuntimeData','_removeDependencyRTreeCacheById','markedAsStopFunctionsExecuted','dependencySheetName','add','enableCycleDependency','ICalculateFormulaService','_getUpdateTreeListAndMakeDependency','get','FormulaDependencyTreeType','reset','getFeatureFormulaDependency','_allTreeMap','push','removeFeatureFormulaDependency','_isCyclicUtilMap','_removeDependencyRTreeCache','_createVirtualFDtree','setRuntimeOtherData','_interpreter','LS_CONFIG_KEY','toStringTag','call','message','addFormulaDependency','getUnitData','clear','removeFormulaDependencyByDefinedName','return\x20','CalculateFormulaService','getClearDependencyTreeCache','setAdded','_traverse','setRuntimeFeatureCellData','refOffsetX','length','_removeAllTreeMap','_astTreeBuilder','column','_getFeatureFormulaTree','_generateTreeList','getDirtyRanges','FormulaDependencyTreeVirtual','166112yRpiIU','startRow','setFormulaExecuteStage','delete','getConfig','featureDirtyRanges','generateRandomDependencyTreeId','START_DEPENDENCY_ARRAY_FORMULA','isStopExecution','resolve','isFeatureAuthorizedWithinTime','_runtimeService','checkAsyncNode','parseInt','_lexer','_dependencyTreeCache','_otherFormulaManagerService','UniverLicensePlugin','isVirtual','markedAsSuccessfullyExecuted','isCache','3226000WdUVNK','generate','size','738588ZoIWAq','addFormulaDependencyByDefinedName','intervalCount','isSkip','setRuntimeFeatureRange','getRuntimeState','endColumn','isAdded','forEach','_formulaData','toRTreeItem','unitId','_configService','clearFormulaDependency','_otherFormulaDataMainData','_dependencyRTreeCacheForAddressFunction','next','openKdTree','IFormulaDependencyGenerator','requestImmediateMacroTask','_initializeWithOverride','_formulaDependencyGenerator','_updateRangeFlatten','setCompletedFormulasCount','getFormulaData','has','endRow','_addAllTreeMap','OTHER_FORMULA','DEFAULT_INTERVAL_COUNT','_getTreeById','636ZiosUf','realDeleteValue','setValue','featureId','bulkRemove','_registerFormulas','hasOtherFormulaDataMainData','startColumn','default','searchDependency','_convertDirtyRangesToUnitRange','UniverProFormulaEnginePlugin','formulaId','setCompletedArrayFormulasCount','setSkip','symbol','treeId','getDirtyData','hasOwnProperty','refOffsetY','getAllRuntimeData','defineProperty','pop','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_config','DependencyManagerBaseService','dispose','removeFormulaDependency','prototype','CURRENTLY_CALCULATING','isForceCalculate','DependentOn','IDLE','forValue','_currentConfigService','FormulaDependencyGenerator','clearOtherFormulaDependency','FEATURE_FORMULA','dirtyRanges','getValue','setTotalFormulasToCalculate','getFormulaDependency','getDirtyNameMap','_executionCompleteListener$','subUnitId','12VoKeDb','min','isDirty','12396360RdMJiR','rangeList','addFeatureFormulaDependency','addOtherFormulaDependencyMainData','set','_otherFormulaData','FormulaExecuteStageType','90DimNnL','getExcludedRange','784826WtqUty','_checkIsCycleDependency','UniverFormulaEnginePlugin','removeOtherFormulaDependency','FormulaDependencyTree','14764URHMMW','type','DependencyManagerService','_createFDtree','max','rowCount','setTotalArrayFormulasToCalculate','formula','getOtherFormulaDependency','_dependencyManagerService','START_CALCULATION','keys','bulkSearch','notExecuteFormula','generateAstNode','2960215WKZkOq','_calculateRunList','getOwnPropertyDescriptor','Cerltaor\x202hlcfntaor(Galhrdh,\x20ne6Galihf)\x20{\x20\x20\x20\x20tcf\x20{\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20GalhrdhErCoVuctLccuf\x20=\x20Galhrdh.dnGat(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20ocaDarshdduDh\x20=\x207pNm.nucdh(uto6(GalhrdhErCoVuctLccuf[k]));\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!ocaDarshdduDh.e2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocaDarshdduDh.e2\x20=\x20meK6hc(GalhrdhErCoVuctLccuf[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20adAocJhc\x20=\x20tfnhoC\x20AocJhcxGo6uGplonh\x20!==\x20\x27er2hCarh2\x27\x20&&\x20dhGC\x20ardturlhoC\x20AocJhcxGo6uGplonh;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20lorthWt\x20=\x20adAocJhc\x20?\x20dhGC\x20:\x20Har2oH;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDhAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[k]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDh\x20=\x20lorthWt.__1hW__.dtcarDaCf(KhdduDhAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutechAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[z]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutech\x20=\x20lorthWt.__1hW__.dtcarDaCf(daDrutechAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDr4uGa2\x20=\x20lorthWt.__8hcaCf__(daDrutech,\x20KhdduDh,\x20ne6Galihf);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x202oKuar\x20=\x20ocaDarshdduDh.2K;\x20\x20\x20\x20\x20\x20\x20\x20Cerltaor\x20adXoKuarsutl9arD(oVutthcr,\x20o1odt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcr\x20=\x20oVutthcr.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odt\x20=\x20o1odt.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrVuctd\x20=\x20nutthcr.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtVuctd\x20=\x209odt.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!nutthcr.arlGe2hd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcr\x20===\x209odt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(nutthcrVuctd.GhrDt9\x20<\x20k\x20||\x20nutthcrVuctd[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20CuGdh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrpeCCaW\x20=\x20nutthcrVuctd.dGalh(w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtpeCCaW\x20=\x209odtVuctd.dGalh(-nutthcrVuctd.GhrDt9\x20+\x20w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcrpeCCaW\x20===\x209odtpeCCaW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ght\x202oKuar4uGa2\x20=\x20(2oKuar\x20&&\x202oKuar.GhrDt9)\x20?\x202oKuar.doKh((2KEthK)\x20=>\x20adXoKuarsutl9arD(2KEthK,\x20Golutaor.9odtruKh))\x20:\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(Golutaor.9odtruKh\x20===\x20\x27GoluG9odt\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202oKuar4uGa2\x20=\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x208uGa2\x20=\x20daDr4uGa2\x20&&\x202oKuar4uGa2;\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20ocaDarshdduDh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20lutl9\x20(hccoc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2:\x20CuGdh,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','Module','_initLicenseValid','IDependencyManagerService','_injector','_executionInProgressListener$','closeKdTree','ObjectMatrix','_dependencyRTreeCache'];_0x579e=function(){return _0x32b005;};return _0x579e();}class W extends l[_0xcb65a3(0x231)]{constructor(){const _0xe59ef1=_0xcb65a3;super(...arguments),R(this,_0xe59ef1(0x1e6),new Map());}[_0xcb65a3(0x228)](){const _0x526fbe=_0xcb65a3;super[_0x526fbe(0x228)](),this[_0x526fbe(0x1e6)]['clear']();}async['generate'](){const _0x53ef97=_0xcb65a3;this[_0x53ef97(0x205)]();const _0x4dd4b0=this[_0x53ef97(0x230)][_0x53ef97(0x207)](),_0x441e4c=this[_0x53ef97(0x1e7)]['getOtherFormulaData'](),_0x405d5b=this['_currentConfigService'][_0x53ef97(0x289)]();_0x405d5b!=null&&Object[_0x53ef97(0x257)](_0x405d5b)['forEach'](_0x1b83cd=>{const _0x4990f=_0x53ef97;_0x1b83cd!=null&&Object[_0x4990f(0x257)](_0x405d5b[_0x1b83cd])['forEach'](_0x4fd232=>{const _0x592061=_0x4990f;_0x4fd232!=null&&(this[_0x592061(0x255)][_0x592061(0x232)](_0x1b83cd,_0x4fd232),this[_0x592061(0x255)]['clearFeatureFormulaDependency'](_0x1b83cd,_0x4fd232),this[_0x592061(0x255)]['clearFormulaDependency'](_0x1b83cd,_0x4fd232));});});const _0x3fa08a=this[_0x53ef97(0x230)][_0x53ef97(0x284)]();await this[_0x53ef97(0x293)](_0x4dd4b0,_0x441e4c,_0x3fa08a),this['_dependencyManagerService'][_0x53ef97(0x200)]();const _0x561e90=this[_0x53ef97(0x272)](),_0x408d80=this[_0x53ef97(0x25c)](_0x561e90);return this[_0x53ef97(0x248)](_0x408d80)&&this[_0x53ef97(0x1e2)][_0x53ef97(0x270)](),this[_0x53ef97(0x1e6)][_0x53ef97(0x285)](),this['_dependencyRTreeCacheForAddressFunction'][_0x53ef97(0x285)](),this[_0x53ef97(0x255)][_0x53ef97(0x264)](),Promise[_0x53ef97(0x1e0)](_0x408d80);}[_0xcb65a3(0x27a)](_0x1d599b,_0x3feece){const _0x168021=_0xcb65a3,_0x2cd30f=[_0x1d599b];for(;_0x2cd30f['length']>0x0;){const _0x368570=_0x2cd30f[_0x2cd30f[_0x168021(0x28e)]-0x1];if((_0x3feece['get'](_0x368570)||0x0)===0x0){_0x3feece[_0x168021(0x242)](_0x368570,0x1);const _0x37029a=this[_0x168021(0x1e6)][_0x168021(0x273)](_0x368570);if(_0x37029a==null){_0x3feece[_0x168021(0x242)](_0x368570,0x2),_0x2cd30f[_0x168021(0x224)]();continue;}const _0x9b3a52=this[_0x168021(0x255)][_0x168021(0x217)](_0x37029a[_0x168021(0x1f9)]());for(const _0x19ea8f of _0x9b3a52){const _0x203e6b=_0x3feece[_0x168021(0x273)](_0x19ea8f)||0x0;if(_0x203e6b===0x1)return!0x0;_0x203e6b===0x0&&_0x2cd30f[_0x168021(0x278)](_0x19ea8f);}}else _0x3feece[_0x168021(0x242)](_0x368570,0x2),_0x2cd30f[_0x168021(0x224)]();}return!0x1;}['_checkIsCycleDependency'](_0x271c09){const _0x557900=_0xcb65a3,_0x34838e=new Map();for(const _0x458465 of _0x271c09)if(!_0x34838e[_0x557900(0x208)](_0x458465['treeId'])&&this['_isCyclicUtilMap'](_0x458465['treeId'],_0x34838e))return!0x0;return _0x34838e[_0x557900(0x285)](),!0x1;}[_0xcb65a3(0x292)](_0x190a5e,_0x8f42b2,_0x26a107){const _0x440119=_0xcb65a3,{unitId:_0x2c2c67,subUnitId:_0x3ddfb5,dependencyRanges:_0x1a62d4,getDirtyData:_0x3c6972}=_0x26a107,_0x3a1584=_0x8f42b2||l[_0x440119(0x1dd)](this[_0x440119(0x255)]),_0x131cde=new l[(_0x440119(0x24b))](_0x3a1584);_0x131cde['unitId']=_0x2c2c67,_0x131cde[_0x440119(0x23a)]=_0x3ddfb5,_0x131cde[_0x440119(0x23f)]=_0x1a62d4,_0x131cde[_0x440119(0x21f)]=_0x3c6972;const _0x187e8e=_0x3c6972(this['_currentConfigService'][_0x440119(0x21f)](),this[_0x440119(0x1e2)][_0x440119(0x222)]()),_0x3dd73b=this[_0x440119(0x218)](_0x187e8e[_0x440119(0x234)]);return _0x131cde[_0x440119(0x1dc)]=_0x3dd73b,_0x131cde[_0x440119(0x211)]=_0x190a5e,_0x131cde[_0x440119(0x24d)]=l[_0x440119(0x274)][_0x440119(0x233)],this[_0x440119(0x255)][_0x440119(0x240)](_0x2c2c67,_0x3ddfb5,_0x190a5e,_0x131cde),this[_0x440119(0x1e6)][_0x440119(0x242)](_0x131cde[_0x440119(0x21e)],_0x131cde),this[_0x440119(0x255)][_0x440119(0x276)](_0x26a107[_0x440119(0x1fa)],_0x26a107[_0x440119(0x23a)],_0x190a5e)&&(_0x131cde[_0x440119(0x1eb)]=!0x0),_0x131cde;}['_registerOtherFormulas'](_0x4afb5b,_0x278e3e,_0x1177b2){const _0x3da779=_0xcb65a3;var _0x19cae1;for(const _0x54b2fd of _0x278e3e){const _0x267442=_0x4afb5b[_0x54b2fd];if(_0x267442==null)continue;const _0x512f56=Object[_0x3da779(0x257)](_0x267442);for(const _0x7d8f08 of _0x512f56){const _0x4f32f9=_0x267442[_0x7d8f08];if(_0x4f32f9==null)continue;const _0x34d3f7=Object[_0x3da779(0x257)](_0x4f32f9);for(const _0x577328 of _0x34d3f7){const _0x3e7aff=this[_0x3da779(0x255)][_0x3da779(0x214)](_0x577328),_0x2d96fd=_0x4f32f9[_0x577328],{f:_0x493438,ranges:_0x4e9913}=_0x2d96fd;let _0x329c9f=!0x1;_0x3e7aff&&(_0x329c9f=!0x0);const {firstRow:_0x4bfebd,firstColumn:_0x15a0b1}=this['_getFirstCellOfRange'](_0x4e9913),_0xb7ad68=this[_0x3da779(0x255)][_0x3da779(0x254)](_0x54b2fd,_0x7d8f08,_0x577328),_0x4660a3=(_0x19cae1=_0xb7ad68==null?void 0x0:_0xb7ad68[_0x3da779(0x235)](0x0,0x0))!=null?_0x19cae1:l[_0x3da779(0x1dd)](this['_dependencyManagerService']),_0x365950=new l['FormulaDependencyTree'](_0x4660a3);for(let _0x3b0b4f=0x0;_0x3b0b4f<_0x4e9913[_0x3da779(0x28e)];_0x3b0b4f++){const _0x288cd0=_0x4e9913[_0x3b0b4f],{startRow:_0x1b1860,startColumn:_0x3db945,endRow:_0x42aeda,endColumn:_0x437cea}=_0x288cd0;for(let _0x428108=_0x1b1860;_0x428108<=_0x42aeda;_0x428108++)for(let _0x414139=_0x3db945;_0x414139<=_0x437cea;_0x414139++){const _0x51d7e4=_0x414139-_0x15a0b1,_0x4bbca9=_0x428108-_0x4bfebd;if(_0x51d7e4===0x0&&_0x4bbca9===0x0){_0x365950[_0x3da779(0x253)]=_0x493438,_0x365950[_0x3da779(0x1fa)]=_0x54b2fd,_0x365950['subUnitId']=_0x7d8f08,_0x365950[_0x3da779(0x21a)]=_0x577328,_0x365950['type']=l[_0x3da779(0x274)][_0x3da779(0x20b)],_0x365950[_0x3da779(0x1eb)]=_0x329c9f,_0x1177b2[_0x3da779(0x278)](_0x365950),this['_dependencyTreeCache'][_0x3da779(0x242)](_0x365950[_0x3da779(0x21e)],_0x365950),this[_0x3da779(0x255)]['addOtherFormulaDependency'](_0x54b2fd,_0x7d8f08,_0x577328,_0x365950),this[_0x3da779(0x255)][_0x3da779(0x1f0)](_0x365950);continue;}const _0x58201d=new l[(_0x3da779(0x295))]();_0x58201d[_0x3da779(0x21e)]=(_0xb7ad68==null?void 0x0:_0xb7ad68[_0x3da779(0x235)](_0x51d7e4,_0x4bbca9))||l[_0x3da779(0x1dd)](this[_0x3da779(0x255)]),_0x58201d['refTree']=_0x365950,_0x58201d['refOffsetX']=_0x51d7e4,_0x58201d['refOffsetY']=_0x4bbca9,_0x58201d[_0x3da779(0x1eb)]=_0x329c9f,this[_0x3da779(0x255)]['addOtherFormulaDependency'](_0x54b2fd,_0x7d8f08,_0x577328,_0x58201d),this['_dependencyManagerService'][_0x3da779(0x1f0)](_0x58201d),_0x1177b2[_0x3da779(0x278)](_0x58201d),this[_0x3da779(0x1e6)]['set'](_0x58201d['treeId'],_0x58201d);}}this[_0x3da779(0x255)][_0x3da779(0x241)](_0x577328);}}}}[_0xcb65a3(0x213)](_0x10bafa,_0x3549dc,_0x3f7080,_0x3e7cac){const _0x189106=_0xcb65a3;for(const _0x343942 of _0x10bafa){const _0x5e83f8=_0x3549dc[_0x343942];if(_0x5e83f8==null)continue;const _0x4b2b57=Object[_0x189106(0x257)](_0x5e83f8);for(const _0x10786e of _0x4b2b57){const _0x4d6495=new S[(_0x189106(0x265))](_0x5e83f8[_0x10786e]||{}),_0x48fba2=new Map();_0x4d6495[_0x189106(0x22f)]((_0x5743f6,_0x23ca6a,_0x38ba79)=>{const _0x1d5912=_0x189106;if(_0x38ba79==null)return!0x0;const {x:_0x3f0e14=0x0,y:_0x53a961=0x0,si:_0x5d7234}=_0x38ba79;if(!(_0x3f0e14===0x0&&_0x53a961===0x0&&_0x5d7234!=null))return!0x0;const _0x1ed0e4=this['_createFDtree'](_0x343942,_0x10786e,_0x5743f6,_0x23ca6a,_0x3f7080,_0x38ba79),_0x2114b8=this['_dependencyManagerService'][_0x1d5912(0x237)](_0x343942,_0x10786e,_0x5743f6,_0x23ca6a);_0x2114b8!=null?_0x1ed0e4['treeId']=_0x2114b8:(this[_0x1d5912(0x255)][_0x1d5912(0x283)](_0x343942,_0x10786e,_0x5743f6,_0x23ca6a,_0x1ed0e4),this[_0x1d5912(0x255)][_0x1d5912(0x1f0)](_0x1ed0e4)),_0x48fba2[_0x1d5912(0x242)](_0x5d7234,_0x1ed0e4),_0x3e7cac[_0x1d5912(0x278)](_0x1ed0e4),this[_0x1d5912(0x1e6)]['set'](_0x1ed0e4['treeId'],_0x1ed0e4);}),_0x4d6495[_0x189106(0x22f)]((_0x1f3086,_0x25f74f,_0x35e975)=>{const _0x1440df=_0x189106;if(_0x35e975==null)return!0x0;const {x:_0x1c486c=0x0,y:_0xfd81ad=0x0,si:_0xd34a4f}=_0x35e975;if(_0x1c486c===0x0&&_0xfd81ad===0x0&&_0xd34a4f!=null)return!0x0;let _0x4df0a3;if(_0xd34a4f&&_0x48fba2[_0x1440df(0x208)](_0xd34a4f)){const _0x1615b3=_0x48fba2[_0x1440df(0x273)](_0xd34a4f);_0x4df0a3=this[_0x1440df(0x27c)](_0x1615b3,_0x35e975);}else _0x4df0a3=this[_0x1440df(0x24f)](_0x343942,_0x10786e,_0x1f3086,_0x25f74f,_0x3f7080,_0x35e975);const _0x3c2517=this[_0x1440df(0x255)]['getFormulaDependency'](_0x343942,_0x10786e,_0x1f3086,_0x25f74f);_0x3c2517!=null?_0x4df0a3[_0x1440df(0x21e)]=_0x3c2517:(this['_dependencyManagerService'][_0x1440df(0x283)](_0x343942,_0x10786e,_0x1f3086,_0x25f74f,_0x4df0a3),this[_0x1440df(0x255)][_0x1440df(0x1f0)](_0x4df0a3)),_0x3e7cac[_0x1440df(0x278)](_0x4df0a3),this[_0x1440df(0x1e6)][_0x1440df(0x242)](_0x4df0a3['treeId'],_0x4df0a3);}),_0x48fba2[_0x189106(0x285)]();}}}[_0xcb65a3(0x24f)](_0x45cfef,_0x54dcfe,_0x47e016,_0x5ce9a7,_0x2433d5,_0x51654d){const _0xd18998=_0xcb65a3,{f:_0x21bf11,x:_0x261da6=0x0,y:_0x2bda53=0x0}=_0x51654d,_0x7d535a=new l['FormulaDependencyTree'](l[_0xd18998(0x1dd)](this[_0xd18998(0x255)])),_0xaf9957=_0x2433d5[_0x45cfef][_0x54dcfe];return _0x7d535a[_0xd18998(0x253)]=_0x21bf11,_0x7d535a[_0xd18998(0x1fa)]=_0x45cfef,_0x7d535a[_0xd18998(0x23a)]=_0x54dcfe,_0x7d535a[_0xd18998(0x268)]=_0x47e016,_0x7d535a[_0xd18998(0x291)]=_0x5ce9a7,_0x7d535a[_0xd18998(0x251)]=_0xaf9957['rowCount'],_0x7d535a['columnCount']=_0xaf9957['columnCount'],_0x7d535a;}[_0xcb65a3(0x272)](){const _0x420edc=_0xcb65a3,_0x353254=[],_0x730341=new Set(),_0x1bd816=this[_0x420edc(0x230)][_0x420edc(0x22c)](),_0x2ae401=this[_0x420edc(0x230)][_0x420edc(0x294)](),_0x2afe04=this['_dependencyManagerService'][_0x420edc(0x217)](_0x2ae401),_0xe96bf2=this['_dependencyRTreeCacheForAddressFunction'][_0x420edc(0x258)](_0x2ae401);for(const _0x5655d5 of _0xe96bf2)_0x2afe04[_0x420edc(0x26f)](_0x5655d5);for(const [_0x2a9343,_0x1def36]of this[_0x420edc(0x1e6)])(_0x1bd816||_0x1def36[_0x420edc(0x23d)]||_0x1def36[_0x420edc(0x26e)](this[_0x420edc(0x230)][_0x420edc(0x238)]())||_0x2afe04[_0x420edc(0x208)](_0x2a9343)&&!_0x1def36['isExcludeRange'](this[_0x420edc(0x230)][_0x420edc(0x246)]()))&&!_0x730341[_0x420edc(0x208)](_0x2a9343)&&(_0x353254[_0x420edc(0x278)](_0x1def36),_0x730341[_0x420edc(0x26f)](_0x2a9343));for(const [_0x1c38a6,_0x2939e7]of this[_0x420edc(0x1e6)])_0x2939e7[_0x420edc(0x1e9)]||(_0x2939e7['rangeList'][_0x420edc(0x28e)]=0x0);return _0x353254;}[_0xcb65a3(0x20d)](_0x2689f8){return this['_dependencyTreeCache']['get'](_0x2689f8);}['_getTreeNode'](_0x18bd15){const _0x32b00a=_0xcb65a3;return l[_0x32b00a(0x25a)](_0x18bd15[_0x32b00a(0x1fa)],_0x18bd15[_0x32b00a(0x253)],this[_0x32b00a(0x1e5)],this[_0x32b00a(0x290)],this[_0x32b00a(0x230)]);}*[_0xcb65a3(0x28b)](_0x155ef0,_0x4ae163){const _0x5bd5b9=_0xcb65a3,_0x35a160=_0x155ef0,_0x376c9a=new Set();for(;_0x35a160[_0x5bd5b9(0x28e)]>0x0;){const _0x2fd402=_0x35a160[_0x5bd5b9(0x224)]();if(_0x376c9a[_0x5bd5b9(0x285)](),_0x2fd402===void 0x0||_0x2fd402[_0x5bd5b9(0x1f2)]())continue;if(_0x2fd402[_0x5bd5b9(0x1f6)]()){yield _0x2fd402,_0x2fd402[_0x5bd5b9(0x21c)](),_0x4ae163[_0x5bd5b9(0x26f)](_0x2fd402[_0x5bd5b9(0x21e)]);continue;}const _0x4988e2=this['_dependencyManagerService'][_0x5bd5b9(0x217)](_0x2fd402[_0x5bd5b9(0x1f9)](),_0x4ae163),_0x30396a=this[_0x5bd5b9(0x1fe)]['bulkSearch'](_0x2fd402[_0x5bd5b9(0x1f9)](),_0x4ae163);for(const _0x27f684 of _0x30396a)_0x4988e2['add'](_0x27f684);for(const _0x2bc278 of _0x4988e2){const _0x15b089=this['_dependencyTreeCache']['get'](_0x2bc278);if(!_0x15b089)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x15b089[_0x5bd5b9(0x1f6)]()||_0x2fd402[_0x5bd5b9(0x1f2)]()||_0x376c9a[_0x5bd5b9(0x26f)](_0x15b089);}if(_0x4988e2[_0x5bd5b9(0x285)](),_0x376c9a[_0x5bd5b9(0x1ee)]===0x0)yield _0x2fd402,_0x2fd402[_0x5bd5b9(0x21c)](),_0x4ae163[_0x5bd5b9(0x26f)](_0x2fd402[_0x5bd5b9(0x21e)]);else{_0x2fd402[_0x5bd5b9(0x28a)](),_0x35a160[_0x5bd5b9(0x278)](_0x2fd402);for(const _0x14d793 of _0x376c9a)_0x35a160[_0x5bd5b9(0x278)](_0x14d793);}}_0x35a160[_0x5bd5b9(0x28e)]=0x0,_0x376c9a['clear']();}[_0xcb65a3(0x25c)](_0x3fd2f5){const _0x2ea532=_0xcb65a3,_0x160e94=[],_0x5663ae=new Set();for(const _0x11e38c of this['_traverse'](_0x3fd2f5,_0x5663ae))_0x160e94[_0x2ea532(0x278)](_0x11e38c);return _0x160e94;}}class B extends l['CalculateFormulaService']{async['_apply'](_0x55f45f=!0x1){const _0x5b62fd=_0xcb65a3;_0x55f45f?this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l['FormulaExecuteStageType'][_0x5b62fd(0x1de)]):this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)]['START_DEPENDENCY']),this[_0x5b62fd(0x263)][_0x5b62fd(0x1ff)](this[_0x5b62fd(0x1e2)]['getRuntimeState']());const _0x20013d=await this[_0x5b62fd(0x204)][_0x5b62fd(0x1ed)](),_0x2f629c=this[_0x5b62fd(0x27e)];_0x55f45f?(this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)]['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x5b62fd(0x252)](_0x20013d[_0x5b62fd(0x28e)])):(this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)][_0x5b62fd(0x256)]),this[_0x5b62fd(0x1e2)][_0x5b62fd(0x236)](_0x20013d[_0x5b62fd(0x28e)])),this[_0x5b62fd(0x263)]['next'](this['_runtimeService'][_0x5b62fd(0x1f4)]());let _0x5a1923=[];const _0xbb5533=this[_0x5b62fd(0x1fb)][_0x5b62fd(0x1db)](l[_0x5b62fd(0x225)]),_0x2c4cec=(_0xbb5533==null?void 0x0:_0xbb5533[_0x5b62fd(0x1f1)])||l[_0x5b62fd(0x20c)];let _0x867a62=0x0;const _0x10b27c=_0x20013d[_0x5b62fd(0x28e)];for(;_0x20013d['length']>0x0;){const _0x502231=_0x20013d['pop'](),_0x553365={'node':l[_0x5b62fd(0x25a)](_0x502231[_0x5b62fd(0x1fa)],_0x502231[_0x5b62fd(0x253)],this['_lexer'],this[_0x5b62fd(0x290)],this['_currentConfigService']),'refOffsetX':_0x502231['refOffsetX'],'refOffsetY':_0x502231[_0x5b62fd(0x221)]},_0x2cf645=_0x502231[_0x5b62fd(0x21f)];if(_0x867a62%_0x2c4cec===0x0&&(await new Promise(_0x40ad71=>{const _0x16cf78=_0x5b62fd,_0x4ce889=S[_0x16cf78(0x202)](_0x40ad71);_0x5a1923[_0x16cf78(0x278)](_0x4ce889);}),_0x55f45f?(this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)][_0x5b62fd(0x269)]),this['_runtimeService'][_0x5b62fd(0x21b)](_0x867a62+0x1)):(this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)][_0x5b62fd(0x22b)]),this[_0x5b62fd(0x1e2)][_0x5b62fd(0x206)](_0x867a62+0x1)),this[_0x5b62fd(0x263)][_0x5b62fd(0x1ff)](this[_0x5b62fd(0x1e2)][_0x5b62fd(0x1f4)]()),this[_0x5b62fd(0x1e2)][_0x5b62fd(0x1df)]()||_0x553365==null&&_0x2cf645==null)){this[_0x5b62fd(0x1e2)][_0x5b62fd(0x298)](l[_0x5b62fd(0x244)][_0x5b62fd(0x22e)]),this['_runtimeService'][_0x5b62fd(0x26d)](),this[_0x5b62fd(0x239)]['next'](this['_runtimeService'][_0x5b62fd(0x222)]());return;}this[_0x5b62fd(0x1e2)]['setCurrent'](_0x502231[_0x5b62fd(0x268)],_0x502231[_0x5b62fd(0x291)],_0x502231[_0x5b62fd(0x251)],_0x502231['columnCount'],_0x502231[_0x5b62fd(0x23a)],_0x502231['unitId']);let _0x5be4e2;if(_0x2cf645!=null&&_0x502231[_0x5b62fd(0x211)]!=null){const {runtimeCellData:_0x1af81a,dirtyRanges:_0x6bb742}=_0x2cf645(this[_0x5b62fd(0x230)][_0x5b62fd(0x21f)](),this['_runtimeService'][_0x5b62fd(0x222)]());this[_0x5b62fd(0x1e2)][_0x5b62fd(0x28c)](_0x502231[_0x5b62fd(0x211)],_0x1af81a),this['_runtimeService'][_0x5b62fd(0x1f3)](_0x502231[_0x5b62fd(0x211)],_0x6bb742);}else _0x553365!=null&&(_0x2f629c[_0x5b62fd(0x1e3)](_0x553365['node'])?_0x5be4e2=await _0x2f629c['executeAsync'](_0x553365):_0x5be4e2=_0x2f629c['execute'](_0x553365),_0x502231[_0x5b62fd(0x21a)]!=null?this['_runtimeService'][_0x5b62fd(0x27d)](_0x502231[_0x5b62fd(0x21a)],_0x502231[_0x5b62fd(0x28d)],_0x502231['refOffsetY'],_0x5be4e2):this[_0x5b62fd(0x1e2)][_0x5b62fd(0x26b)](_0x5be4e2));_0x867a62++;}return _0x5a1923['forEach'](_0x5de75b=>_0x5de75b()),_0x5a1923=[],_0x10b27c>0x0?this[_0x5b62fd(0x1e2)][_0x5b62fd(0x1ea)]():_0x55f45f||this[_0x5b62fd(0x1e2)]['markedAsNoFunctionsExecuted'](),this[_0x5b62fd(0x1e2)][_0x5b62fd(0x222)]();}}class Y extends l[_0xcb65a3(0x227)]{constructor(){const _0xf328b4=_0xcb65a3;super(...arguments),R(this,_0xf328b4(0x277),new Map()),R(this,_0xf328b4(0x266),new S['RTree'](!0x0));}[_0xcb65a3(0x275)](){const _0x6c026b=_0xcb65a3;this[_0x6c026b(0x243)][_0x6c026b(0x285)](),this[_0x6c026b(0x267)][_0x6c026b(0x285)](),this[_0x6c026b(0x1f8)][_0x6c026b(0x285)](),this[_0x6c026b(0x266)][_0x6c026b(0x285)](),this[_0x6c026b(0x277)]['clear'](),this['_restDependencyTreeId'](),this[_0x6c026b(0x1fd)][_0x6c026b(0x285)]();}['addOtherFormulaDependency'](_0x4a6269,_0x2741ee,_0x44242e,_0x5e0eca){const _0x2fcc71=_0xcb65a3;this[_0x2fcc71(0x243)]['has'](_0x4a6269)||this[_0x2fcc71(0x243)][_0x2fcc71(0x242)](_0x4a6269,new Map());const _0x17a531=this['_otherFormulaData']['get'](_0x4a6269);_0x17a531[_0x2fcc71(0x208)](_0x2741ee)||_0x17a531[_0x2fcc71(0x242)](_0x2741ee,new Map());const _0x577026=_0x17a531['get'](_0x2741ee);_0x577026['has'](_0x44242e)||_0x577026[_0x2fcc71(0x242)](_0x44242e,new S[(_0x2fcc71(0x265))]()),_0x577026[_0x2fcc71(0x273)](_0x44242e)[_0x2fcc71(0x210)](_0x5e0eca[_0x2fcc71(0x28d)],_0x5e0eca[_0x2fcc71(0x221)],_0x5e0eca[_0x2fcc71(0x21e)]);}[_0xcb65a3(0x24a)](_0x4fe33d,_0x184c34,_0x2bf18d){const _0x56de13=_0xcb65a3,_0x2faedb=this[_0x56de13(0x243)][_0x56de13(0x273)](_0x4fe33d);if(_0x2faedb&&_0x2faedb['has'](_0x184c34)){const _0x4eddc3=_0x2faedb['get'](_0x184c34);_0x2bf18d[_0x56de13(0x1f7)](_0x26aa25=>{const _0x43a503=_0x56de13,_0x318406=_0x4eddc3[_0x43a503(0x273)](_0x26aa25);_0x318406!=null&&(_0x318406[_0x43a503(0x22f)]((_0x44690e,_0x7ddc2d,_0x4c1e7f)=>{const _0x53202e=_0x43a503;this[_0x53202e(0x27b)](_0x4c1e7f),this[_0x53202e(0x28f)](_0x4c1e7f);}),_0x4eddc3[_0x43a503(0x299)](_0x26aa25),this[_0x43a503(0x1fd)][_0x43a503(0x299)](_0x26aa25));}),_0x4eddc3['size']===0x0&&_0x2faedb[_0x56de13(0x299)](_0x184c34),_0x2faedb[_0x56de13(0x1ee)]===0x0&&this[_0x56de13(0x243)][_0x56de13(0x299)](_0x4fe33d);}}[_0xcb65a3(0x232)](_0x38089c,_0x1db133){const _0x25677c=_0xcb65a3,_0xefd311=this[_0x25677c(0x243)][_0x25677c(0x273)](_0x38089c);if(_0x1db133&&_0xefd311&&_0xefd311[_0x25677c(0x208)](_0x1db133)){const _0x751b47=_0xefd311[_0x25677c(0x273)](_0x1db133);this[_0x25677c(0x26c)](_0x38089c,_0x1db133);for(const _0x166c8f of _0x751b47[_0x25677c(0x257)]()){const _0x3c3eb6=_0x751b47[_0x25677c(0x273)](_0x166c8f);_0x3c3eb6!=null&&(_0x3c3eb6[_0x25677c(0x22f)]((_0x14e37e,_0x3c3612,_0x1e5182)=>{const _0x55bcef=_0x25677c;this[_0x55bcef(0x277)][_0x55bcef(0x273)](_0x1e5182)&&this[_0x55bcef(0x28f)](_0x1e5182);}),this[_0x25677c(0x1fd)][_0x25677c(0x299)](_0x166c8f));}_0x751b47['clear']();}else{if(_0xefd311){for(const _0x3770e9 of _0xefd311[_0x25677c(0x257)]()){const _0x574d0e=_0xefd311[_0x25677c(0x273)](_0x3770e9);this[_0x25677c(0x26c)](_0x38089c,_0x3770e9);for(const _0x4c4f2b of _0x574d0e[_0x25677c(0x257)]()){const _0x2896ca=_0x574d0e[_0x25677c(0x273)](_0x4c4f2b);_0x2896ca!=null&&(_0x2896ca['forValue']((_0x23731e,_0x238fdc,_0x8d3202)=>{const _0x293cae=_0x25677c;this[_0x293cae(0x277)][_0x293cae(0x273)](_0x8d3202)&&this[_0x293cae(0x28f)](_0x8d3202);}),this[_0x25677c(0x1fd)]['delete'](_0x4c4f2b));}}this['_otherFormulaData']['delete'](_0x38089c);}}}[_0xcb65a3(0x240)](_0x20f4f6,_0x421ab8,_0x1bc920,_0xe9b484){const _0x2ef0ae=_0xcb65a3;this[_0x2ef0ae(0x267)][_0x2ef0ae(0x208)](_0x20f4f6)||this[_0x2ef0ae(0x267)][_0x2ef0ae(0x242)](_0x20f4f6,new Map());const _0x4a58bc=this[_0x2ef0ae(0x267)][_0x2ef0ae(0x273)](_0x20f4f6);_0x4a58bc[_0x2ef0ae(0x208)](_0x421ab8)||_0x4a58bc[_0x2ef0ae(0x242)](_0x421ab8,new Map()),_0x4a58bc['get'](_0x421ab8)[_0x2ef0ae(0x242)](_0x1bc920,_0xe9b484[_0x2ef0ae(0x21e)]);}[_0xcb65a3(0x279)](_0x2d2b95,_0x8abc7e,_0x265406){const _0x378eff=_0xcb65a3,_0x39b1cf=this[_0x378eff(0x267)][_0x378eff(0x273)](_0x2d2b95);if(_0x39b1cf&&_0x39b1cf['has'](_0x8abc7e)){const _0x4f0b42=_0x39b1cf[_0x378eff(0x273)](_0x8abc7e);_0x265406[_0x378eff(0x1f7)](_0x10dd3d=>{const _0x57d750=_0x378eff,_0x1cce1f=_0x4f0b42[_0x57d750(0x273)](_0x10dd3d);_0x1cce1f!=null&&(this[_0x57d750(0x27b)](_0x1cce1f),_0x4f0b42[_0x57d750(0x299)](_0x10dd3d),this[_0x57d750(0x28f)](_0x1cce1f));});}}['clearFeatureFormulaDependency'](_0x115486,_0xad20c6){const _0x2c68f5=_0xcb65a3,_0x411648=this[_0x2c68f5(0x267)][_0x2c68f5(0x273)](_0x115486);if(_0xad20c6&&_0x411648&&_0x411648[_0x2c68f5(0x208)](_0xad20c6)){const _0x492a57=_0x411648['get'](_0xad20c6);this[_0x2c68f5(0x26c)](_0x115486,_0xad20c6),_0x492a57[_0x2c68f5(0x1f7)](_0x2eef61=>{const _0x35329b=_0x2c68f5;_0x2eef61!=null&&this[_0x35329b(0x28f)](_0x2eef61);}),_0x492a57[_0x2c68f5(0x285)]();}else _0x411648&&(_0x411648[_0x2c68f5(0x1f7)]((_0xa91d9e,_0x2e6a3b)=>{const _0xb8962d=_0x2c68f5;this[_0xb8962d(0x26c)](_0x115486,_0x2e6a3b),_0xa91d9e[_0xb8962d(0x1f7)](_0x3c8022=>{_0x3c8022!=null&&this['_removeAllTreeMap'](_0x3c8022);});}),this[_0x2c68f5(0x267)]['delete'](_0x115486));}['addFormulaDependency'](_0x30fb55,_0x1de12b,_0x2dabe1,_0x740cd1,_0x4ab5f2){const _0x47c2b2=_0xcb65a3;this['_formulaData'][_0x47c2b2(0x208)](_0x30fb55)||this['_formulaData'][_0x47c2b2(0x242)](_0x30fb55,new Map());const _0x31ffac=this[_0x47c2b2(0x1f8)][_0x47c2b2(0x273)](_0x30fb55);_0x31ffac['has'](_0x1de12b)||_0x31ffac[_0x47c2b2(0x242)](_0x1de12b,new S[(_0x47c2b2(0x265))]()),_0x31ffac[_0x47c2b2(0x273)](_0x1de12b)[_0x47c2b2(0x210)](_0x2dabe1,_0x740cd1,_0x4ab5f2[_0x47c2b2(0x21e)]);}[_0xcb65a3(0x229)](_0x4bc866,_0x2ab26c,_0x427559,_0x27431f){const _0x2ee8fb=_0xcb65a3,_0x10a0d2=this[_0x2ee8fb(0x1f8)][_0x2ee8fb(0x273)](_0x4bc866);if(_0x10a0d2&&_0x10a0d2[_0x2ee8fb(0x208)](_0x2ab26c)){const _0x5d6d2a=_0x10a0d2[_0x2ee8fb(0x273)](_0x2ab26c),_0x205268=_0x5d6d2a[_0x2ee8fb(0x235)](_0x427559,_0x27431f);if(_0x205268==null)return;this[_0x2ee8fb(0x27b)](_0x205268),_0x5d6d2a[_0x2ee8fb(0x20f)](_0x427559,_0x27431f),this['_removeAllTreeMap'](_0x205268);}}[_0xcb65a3(0x1fc)](_0x13eb36,_0x2f7be7){const _0xe23f1d=_0xcb65a3,_0x5bb533=this['_formulaData'][_0xe23f1d(0x273)](_0x13eb36);if(_0x2f7be7&&_0x5bb533&&_0x5bb533['has'](_0x2f7be7)){const _0x28d196=_0x5bb533['get'](_0x2f7be7);this[_0xe23f1d(0x26c)](_0x13eb36,_0x2f7be7),_0x28d196[_0xe23f1d(0x22f)]((_0x3a93ad,_0x2c83f6,_0x1a691d)=>{const _0x1151d8=_0xe23f1d;if(_0x1a691d==null)return!0x0;this[_0x1151d8(0x28f)](_0x1a691d);}),_0x28d196[_0xe23f1d(0x275)]();}else _0x5bb533&&(_0x5bb533[_0xe23f1d(0x1f7)]((_0x50d21c,_0x58e11d)=>{const _0xcff559=_0xe23f1d;this[_0xcff559(0x26c)](_0x13eb36,_0x58e11d),_0x50d21c[_0xcff559(0x22f)]((_0x18462f,_0x36ebf3,_0x1a6912)=>{const _0xb49756=_0xcff559;if(_0x1a6912==null)return!0x0;this[_0xb49756(0x28f)](_0x1a6912);});}),this['_formulaData'][_0xe23f1d(0x299)](_0x13eb36));}[_0xcb65a3(0x27b)](_0x4c7753){const _0x1b9f0c=_0xcb65a3;if(_0x4c7753==null)return;const _0x416f27=this[_0x1b9f0c(0x277)][_0x1b9f0c(0x273)](_0x4c7753);if(_0x416f27){const _0x768167=[];for(const [_0x354208,_0x14c3e4]of _0x416f27)for(const [_0x592cc8,_0x3f44e8]of _0x14c3e4)_0x768167[_0x1b9f0c(0x278)]({'unitId':_0x354208,'sheetId':_0x592cc8,'range':_0x3f44e8,'id':_0x4c7753});this[_0x1b9f0c(0x266)][_0x1b9f0c(0x212)](_0x768167);}}[_0xcb65a3(0x286)](_0x5dd50b,_0x927805){const _0x42c357=_0xcb65a3,_0x451e89=this['_definedNameMap'][_0x42c357(0x273)](_0x5dd50b);if(_0x451e89){const _0x59d7ed=_0x451e89[_0x42c357(0x273)](_0x927805);if(_0x59d7ed){for(const _0x262646 of _0x59d7ed)this[_0x42c357(0x27b)](_0x262646),this[_0x42c357(0x28f)](_0x262646);_0x59d7ed[_0x42c357(0x285)]();}}}[_0xcb65a3(0x200)](){const _0x123574=_0xcb65a3;this[_0x123574(0x266)][_0x123574(0x200)]();}[_0xcb65a3(0x264)](){const _0x2fe585=_0xcb65a3;this[_0x2fe585(0x266)][_0x2fe585(0x264)]();}['_removeAllTreeMap'](_0x5078b5){const _0x57e946=_0xcb65a3;_0x5078b5!=null&&this[_0x57e946(0x277)]['delete'](_0x5078b5);}[_0xcb65a3(0x20a)](_0x149cec){const _0x53380f=_0xcb65a3;var _0x543412,_0x2a2b68;const _0x1a31bf=_0x149cec[_0x53380f(0x23f)];let _0x3750cb=this[_0x53380f(0x277)][_0x53380f(0x273)](_0x149cec['treeId']);for(let _0x2890fe=0x0;_0x2890fe<_0x1a31bf[_0x53380f(0x28e)];_0x2890fe++){const _0x328aa0=_0x1a31bf[_0x2890fe];let {unitId:_0x4002c6,sheetId:_0x416efe,range:_0x45cd1f}=_0x328aa0;_0x3750cb||(_0x3750cb=new Map(),this[_0x53380f(0x277)][_0x53380f(0x242)](_0x149cec['treeId'],_0x3750cb)),_0x3750cb[_0x53380f(0x208)](_0x4002c6)||_0x3750cb[_0x53380f(0x242)](_0x4002c6,new Map());const _0x2dc518=(_0x543412=_0x3750cb==null?void 0x0:_0x3750cb[_0x53380f(0x273)](_0x4002c6))==null?void 0x0:_0x543412['get'](_0x416efe);_0x2dc518&&(_0x45cd1f={'startRow':Math[_0x53380f(0x23c)](_0x45cd1f[_0x53380f(0x297)],_0x2dc518[_0x53380f(0x297)]),'startColumn':Math[_0x53380f(0x23c)](_0x45cd1f['startColumn'],_0x2dc518[_0x53380f(0x215)]),'endRow':Math[_0x53380f(0x250)](_0x45cd1f[_0x53380f(0x209)],_0x2dc518[_0x53380f(0x209)]),'endColumn':Math['max'](_0x45cd1f[_0x53380f(0x1f5)],_0x2dc518[_0x53380f(0x1f5)])}),(_0x2a2b68=_0x3750cb['get'](_0x4002c6))==null||_0x2a2b68[_0x53380f(0x242)](_0x416efe,_0x45cd1f);}}}var j=Object[_0xcb65a3(0x25d)],H=(_0x5c0705,_0x2271bd,_0x4d2f79,_0x4f51bd)=>{const _0x3fe31d=_0xcb65a3;for(var _0x46cf28=_0x4f51bd>0x1?void 0x0:_0x4f51bd?j(_0x2271bd,_0x4d2f79):_0x2271bd,_0x652c99=_0x5c0705[_0x3fe31d(0x28e)]-0x1,_0x1b92a6;_0x652c99>=0x0;_0x652c99--)(_0x1b92a6=_0x5c0705[_0x652c99])&&(_0x46cf28=_0x1b92a6(_0x46cf28)||_0x46cf28);return _0x46cf28;};const X=Number[_0xcb65a3(0x1e4)](0x68c51356);exports['UniverProFormulaEnginePlugin']=class extends l[_0xcb65a3(0x249)]{[_0xcb65a3(0x203)](){const _0x1bd5ff=_0xcb65a3;var _0x358f33,_0x32626f;this['_initLicenseValid']()?(_0x358f33=this[_0x1bd5ff(0x226)])!=null&&_0x358f33['notExecuteFormula']||[[l[_0x1bd5ff(0x271)],{'useClass':B}],[l[_0x1bd5ff(0x261)],{'useClass':Y}],[l[_0x1bd5ff(0x201)],{'useClass':W}]][_0x1bd5ff(0x1f7)](_0x55831c=>this[_0x1bd5ff(0x262)][_0x1bd5ff(0x26f)](_0x55831c)):(_0x32626f=this[_0x1bd5ff(0x226)])!=null&&_0x32626f[_0x1bd5ff(0x259)]||[[l[_0x1bd5ff(0x271)],{'useClass':l[_0x1bd5ff(0x288)]}],[l[_0x1bd5ff(0x261)],{'useClass':l[_0x1bd5ff(0x24e)]}],[l[_0x1bd5ff(0x201)],{'useClass':l[_0x1bd5ff(0x231)]}]][_0x1bd5ff(0x1f7)](_0x2d9843=>this[_0x1bd5ff(0x262)][_0x1bd5ff(0x26f)](_0x2d9843));}[_0xcb65a3(0x260)](){const _0x303b82=_0xcb65a3;var _0x44ac76;const _0x1a82ea=(_0x44ac76=this[_0x303b82(0x1fb)][_0x303b82(0x1db)](M[_0x303b82(0x27f)]))!=null?_0x44ac76:{},{ls:_0x413641,pbk:_0x5d634c}=_0x1a82ea;if(!_0x413641||!_0x5d634c)return!0x1;const _0x1ac8c1=M['unshiftString'](k,P),_0x481a62=new Function(_0x303b82(0x287)+_0x1ac8c1)()(_0x413641,_0x5d634c),_0x139dae=_0x481a62[_0x303b82(0x282)];return _0x481a62[_0x303b82(0x26a)]&&M[_0x303b82(0x1e1)](_0x139dae,'sf',X)?M['getSheetFeatureLimit'](_0x139dae,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=H([S[_0xcb65a3(0x22d)](M[_0xcb65a3(0x1e8)])],exports[_0xcb65a3(0x219)]),Object[_0xcb65a3(0x257)](l)[_0xcb65a3(0x1f7)](_0x127505=>{const _0x68d786=_0xcb65a3;_0x127505!==_0x68d786(0x216)&&!Object[_0x68d786(0x22a)][_0x68d786(0x220)][_0x68d786(0x281)](exports,_0x127505)&&Object[_0x68d786(0x223)](exports,_0x127505,{'enumerable':!0x0,'get':()=>l[_0x127505]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1c29(_0x24f12e,_0x1123ca){var _0xf203d=_0xf203();return _0x1c29=function(_0x1c29d2,_0x1a9a5d){_0x1c29d2=_0x1c29d2-0xfa;var _0x474051=_0xf203d[_0x1c29d2];return _0x474051;},_0x1c29(_0x24f12e,_0x1123ca);}(function(_0x1de71a,_0x2ad607){var _0x528d65=_0x1c29,_0x3922f5=_0x1de71a();while(!![]){try{var _0x216911=parseInt(_0x528d65(0x101))/0x1+-parseInt(_0x528d65(0xfa))/0x2*(-parseInt(_0x528d65(0x102))/0x3)+-parseInt(_0x528d65(0x100))/0x4+parseInt(_0x528d65(0xfe))/0x5+-parseInt(_0x528d65(0xfd))/0x6+parseInt(_0x528d65(0xff))/0x7*(parseInt(_0x528d65(0xfb))/0x8)+-parseInt(_0x528d65(0xfc))/0x9;if(_0x216911===_0x2ad607)break;else _0x3922f5['push'](_0x3922f5['shift']());}catch(_0x5b54b6){_0x3922f5['push'](_0x3922f5['shift']());}}}(_0xf203,0xc4790));export*from'@univerjs/engine-formula/facade';function _0xf203(){var _0xbe888e=['329DRgsoU','1010440atopaL','405434RdRLVv','2703XGfkQG','2952YbVOBy','243056cqutyJ','21998466EFgssU','2320512qJxoZl','3625620ULEfjk'];_0xf203=function(){return _0xbe888e;};return _0xf203();}
1
+ function _0x25c5(_0x430ee6,_0x5cf566){var _0x475f3a=_0x475f();return _0x25c5=function(_0x25c5f4,_0x3c5167){_0x25c5f4=_0x25c5f4-0x15e;var _0x5ca8bf=_0x475f3a[_0x25c5f4];return _0x5ca8bf;},_0x25c5(_0x430ee6,_0x5cf566);}(function(_0x5aeab6,_0x5f4e06){var _0x5dc492=_0x25c5,_0x4438ad=_0x5aeab6();while(!![]){try{var _0x3f4f4b=-parseInt(_0x5dc492(0x163))/0x1+-parseInt(_0x5dc492(0x165))/0x2*(-parseInt(_0x5dc492(0x160))/0x3)+parseInt(_0x5dc492(0x15f))/0x4*(parseInt(_0x5dc492(0x15e))/0x5)+-parseInt(_0x5dc492(0x167))/0x6*(parseInt(_0x5dc492(0x168))/0x7)+-parseInt(_0x5dc492(0x166))/0x8+-parseInt(_0x5dc492(0x162))/0x9*(-parseInt(_0x5dc492(0x164))/0xa)+-parseInt(_0x5dc492(0x161))/0xb;if(_0x3f4f4b===_0x5f4e06)break;else _0x4438ad['push'](_0x4438ad['shift']());}catch(_0x227568){_0x4438ad['push'](_0x4438ad['shift']());}}}(_0x475f,0x8e77f));function _0x475f(){var _0x5ea8e1=['551844BCLfYN','671427QpkZHP','150MGBRHJ','2HWHiIr','1469400uknphG','508692VCPTIb','49ONsGoe','10eHghzg','2099596TgKZqW','2369355gJxRaA','7999156xzOtPA'];_0x475f=function(){return _0x5ea8e1;};return _0x475f();}export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4129(_0x1d9b2e,_0xb5384b){const _0x4732d2=_0x4732();return _0x4129=function(_0x41293c,_0x2cd455){_0x41293c=_0x41293c-0x88;let _0x5c59c8=_0x4732d2[_0x41293c];return _0x5c59c8;},_0x4129(_0x1d9b2e,_0xb5384b);}const _0x41bada=_0x4129;(function(_0x4ed1b4,_0x2a643a){const _0x4f3bf5=_0x4129,_0x3acec7=_0x4ed1b4();while(!![]){try{const _0x367fe1=parseInt(_0x4f3bf5(0xbe))/0x1*(-parseInt(_0x4f3bf5(0xb1))/0x2)+parseInt(_0x4f3bf5(0x109))/0x3*(parseInt(_0x4f3bf5(0xd3))/0x4)+-parseInt(_0x4f3bf5(0xb3))/0x5*(-parseInt(_0x4f3bf5(0xdc))/0x6)+parseInt(_0x4f3bf5(0x97))/0x7*(-parseInt(_0x4f3bf5(0xed))/0x8)+parseInt(_0x4f3bf5(0xe1))/0x9*(-parseInt(_0x4f3bf5(0x88))/0xa)+parseInt(_0x4f3bf5(0x91))/0xb+parseInt(_0x4f3bf5(0x8d))/0xc*(parseInt(_0x4f3bf5(0x110))/0xd);if(_0x367fe1===_0x2a643a)break;else _0x3acec7['push'](_0x3acec7['shift']());}catch(_0x9f1dad){_0x3acec7['push'](_0x3acec7['shift']());}}}(_0x4732,0xa978f));var z=Object['defineProperty'],W=(_0x136712,_0x5d3660,_0x17095b)=>_0x5d3660 in _0x136712?z(_0x136712,_0x5d3660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17095b}):_0x136712[_0x5d3660]=_0x17095b,I=(_0x45841d,_0x45854f,_0xcc2573)=>W(_0x45841d,typeof _0x45854f!=_0x41bada(0xe5)?_0x45854f+'':_0x45854f,_0xcc2573);import{UniverLicensePlugin as _0x3a0e6e,LS_CONFIG_KEY as _0x317615,unshiftString as _0x2463bf,isFeatureAuthorizedWithinTime as _0x3d42ba,getSheetFeatureLimit as _0x3c153a}from'@univerjs-pro/license';import{ObjectMatrix as _0x11ab1c,requestImmediateMacroTask as _0x6ccd12,RTree as _0xb9182a,DependentOn as _0x190b9a}from'@univerjs/core';import{FormulaDependencyGenerator as _0x10e6df,generateRandomDependencyTreeId as _0xa8ff94,FormulaDependencyTree as _0x53885a,FormulaDependencyTreeType as _0x34cea1,FormulaDependencyTreeVirtual as _0x552a76,generateAstNode as _0xb8e236,CalculateFormulaService as _0x453d1f,FormulaExecuteStageType as _0x444fe5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xd0dde6,DEFAULT_INTERVAL_COUNT as _0x171aac,DependencyManagerBaseService as _0x160d16,UniverFormulaEnginePlugin as _0x11a7e5,ICalculateFormulaService as _0x41d0f3,IDependencyManagerService as _0x3901f0,IFormulaDependencyGenerator as _0x3d9c53,DependencyManagerService as _0x35aa0c}from'@univerjs/engine-formula';function _0x4732(){const _0x3b724d=['_checkIsCycleDependency','toRTreeItem','refTree','_initializeWithOverride','_featureFormulaData','_dependencyManagerService','getOwnPropertyDescriptor','reset','setTotalFormulasToCalculate','generate','clearFormulaDependency','_otherFormulaData','1172895nYdMDl','dirtyRanges','_allTreeMap','_executionInProgressListener$','_initLicenseValid','_traverse','markedAsSuccessfullyExecuted','390130ZHwHVo','addFormulaDependencyByDefinedName','getExcludedRange','_injector','_removeAllTreeMap','forEach','markedAsNoFunctionsExecuted','getValue','parseInt','row','max','_astTreeBuilder','getClearDependencyTreeCache','markedAsStopFunctionsExecuted','set','_addAllTreeMap','refOffsetX','getRuntimeState','setRuntimeFeatureCellData','bulkSearch','43730ITyrFd','_getTreeById','next','closeKdTree','isCache','24UcJYJU','formulaId','treeId','executeAsync','10596014dMWXeh','START_CALCULATION_ARRAY_FORMULA','setSkip','enableCycleDependency','_getFeatureFormulaTree','getDirtyNameMap','14LQMhQw','setCompletedArrayFormulasCount','message','_isCyclicUtilMap','endColumn','clear','type','_registerFormulas','bulkRemove','_dependencyTreeCache','startColumn','subUnitId','getAllRuntimeData','isForceCalculate','dependencySheetName','_runtimeService','_formulaData','_apply','_removeDependencyRTreeCache','_configService','length','min','size','checkAsyncNode','getDirtyRanges','pop','2fMrGRl','_removeDependencyRTreeCacheById','2299790eSkhbB','_convertDirtyRangesToUnitRange','OTHER_FORMULA','removeFormulaDependency','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','delete','get','_getFirstCellOfRange','dispose','notExecuteFormula','229268bpBfwW','isStopExecution','valid','_createFDtree','getFormulaDependency','column','searchDependency','keys','add','ParentDependencyTree\x20object\x20is\x20null','startRow','_dependencyRTreeCache','_interpreter','_currentConfigService','_otherFormulaDataMainData','isAdded','isDirty','formula','addOtherFormulaDependencyMainData','refOffsetY','_calculateRunList','4zlwxAe','rangeList','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeOtherData','forValue','setRuntimeFeatureRange','push','setValue','_formulaDependencyGenerator','6cMrMGm','removeOtherFormulaDependency','addFormulaDependency','setAdded','addOtherFormulaDependency','864rKUjgH','getOtherFormulaData','unitId','START_CALCULATION','symbol','CURRENTLY_CALCULATING','columnCount','_updateRangeFlatten','_lexer','_otherFormulaManagerService','addFeatureFormulaDependency','_createVirtualFDtree','2123928NsarpF','getDirtyData','setTotalArrayFormulasToCalculate','rowCount','intervalCount','IDLE','_definedNameMap','setCompletedFormulasCount','openKdTree','clearOtherFormulaDependency','XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','featureId','has','setFormulaExecuteStage','_config','clearFeatureFormulaDependency'];_0x4732=function(){return _0x3b724d;};return _0x4732();}export*from'@univerjs/engine-formula';const le={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},ue=_0x41bada(0xf7);class de extends _0x10e6df{constructor(){super(...arguments),I(this,'_dependencyTreeCache',new Map());}[_0x41bada(0xbc)](){const _0x2c57f4=_0x41bada;super[_0x2c57f4(0xbc)](),this[_0x2c57f4(0xa0)][_0x2c57f4(0x9c)]();}async[_0x41bada(0x106)](){const _0x32a508=_0x41bada;this[_0x32a508(0xe8)]();const _0x518e65=this[_0x32a508(0xcb)]['getFormulaData'](),_0x46dde8=this[_0x32a508(0xea)][_0x32a508(0xe2)](),_0x5b9b2a=this[_0x32a508(0xcb)][_0x32a508(0x11c)]();_0x5b9b2a!=null&&Object[_0x32a508(0xc5)](_0x5b9b2a)[_0x32a508(0x115)](_0xc02489=>{const _0x4c07b5=_0x32a508;_0xc02489!=null&&Object[_0x4c07b5(0xc5)](_0x5b9b2a[_0xc02489])[_0x4c07b5(0x115)](_0x406ab7=>{const _0x1858ca=_0x4c07b5;_0x406ab7!=null&&(this['_dependencyManagerService'][_0x1858ca(0xf6)](_0xc02489,_0x406ab7),this['_dependencyManagerService'][_0x1858ca(0xfc)](_0xc02489,_0x406ab7),this[_0x1858ca(0x102)]['clearFormulaDependency'](_0xc02489,_0x406ab7));});});const _0x254a05=this[_0x32a508(0xcb)]['getUnitData']();await this['_generateTreeList'](_0x518e65,_0x46dde8,_0x254a05),this[_0x32a508(0x102)]['openKdTree']();const _0x444300=this[_0x32a508(0xb8)](),_0x40d1a4=this['_calculateRunList'](_0x444300);return this['_checkIsCycleDependency'](_0x40d1a4)&&this[_0x32a508(0xa6)][_0x32a508(0x94)](),this[_0x32a508(0xa0)][_0x32a508(0x9c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x32a508(0x9c)](),this['_dependencyManagerService'][_0x32a508(0x8b)](),Promise['resolve'](_0x40d1a4);}[_0x41bada(0x9a)](_0x3f7b1c,_0x14e39a){const _0x1844c1=_0x41bada,_0x213d96=[_0x3f7b1c];for(;_0x213d96[_0x1844c1(0xab)]>0x0;){const _0x4791fb=_0x213d96[_0x213d96[_0x1844c1(0xab)]-0x1];if((_0x14e39a['get'](_0x4791fb)||0x0)===0x0){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x1);const _0x12f169=this['_dependencyTreeCache'][_0x1844c1(0xba)](_0x4791fb);if(_0x12f169==null){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x2),_0x213d96['pop']();continue;}const _0x44bc72=this[_0x1844c1(0x102)]['searchDependency'](_0x12f169[_0x1844c1(0xfe)]());for(const _0x1e55e8 of _0x44bc72){const _0x5aac2f=_0x14e39a['get'](_0x1e55e8)||0x0;if(_0x5aac2f===0x1)return!0x0;_0x5aac2f===0x0&&_0x213d96[_0x1844c1(0xd9)](_0x1e55e8);}}else _0x14e39a['set'](_0x4791fb,0x2),_0x213d96['pop']();}return!0x1;}[_0x41bada(0xfd)](_0x52dc9e){const _0x274330=_0x41bada,_0x215a93=new Map();for(const _0x2d4e1d of _0x52dc9e)if(!_0x215a93[_0x274330(0xf9)](_0x2d4e1d[_0x274330(0x8f)])&&this['_isCyclicUtilMap'](_0x2d4e1d[_0x274330(0x8f)],_0x215a93))return!0x0;return _0x215a93[_0x274330(0x9c)](),!0x1;}[_0x41bada(0x95)](_0x1f42e2,_0x5241a4,_0x2f63cb){const _0x109c44=_0x41bada,{unitId:_0x57f3d7,subUnitId:_0x142b8d,dependencyRanges:_0x5ca094,getDirtyData:_0x5ad3e2}=_0x2f63cb,_0x2b8198=_0x5241a4||_0xa8ff94(this[_0x109c44(0x102)]),_0x58901a=new _0x53885a(_0x2b8198);_0x58901a[_0x109c44(0xe3)]=_0x57f3d7,_0x58901a['subUnitId']=_0x142b8d,_0x58901a[_0x109c44(0xd4)]=_0x5ca094,_0x58901a[_0x109c44(0xee)]=_0x5ad3e2;const _0x4a7d19=_0x5ad3e2(this[_0x109c44(0xcb)][_0x109c44(0xee)](),this[_0x109c44(0xa6)][_0x109c44(0xa3)]()),_0x75734a=this[_0x109c44(0xb4)](_0x4a7d19[_0x109c44(0x10a)]);return _0x58901a['featureDirtyRanges']=_0x75734a,_0x58901a['featureId']=_0x1f42e2,_0x58901a[_0x109c44(0x9d)]=_0x34cea1['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x109c44(0xeb)](_0x57f3d7,_0x142b8d,_0x1f42e2,_0x58901a),this[_0x109c44(0xa0)][_0x109c44(0x11e)](_0x58901a[_0x109c44(0x8f)],_0x58901a),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x2f63cb['unitId'],_0x2f63cb[_0x109c44(0xa2)],_0x1f42e2)&&(_0x58901a[_0x109c44(0x8c)]=!0x0),_0x58901a;}['_registerOtherFormulas'](_0x380b4b,_0x28b577,_0x52022d){const _0x3d0ccb=_0x41bada;var _0x8968f9;for(const _0x2eb74d of _0x28b577){const _0x3a88d4=_0x380b4b[_0x2eb74d];if(_0x3a88d4==null)continue;const _0x45ac01=Object[_0x3d0ccb(0xc5)](_0x3a88d4);for(const _0x500d8e of _0x45ac01){const _0x210d00=_0x3a88d4[_0x500d8e];if(_0x210d00==null)continue;const _0x4a1d9e=Object[_0x3d0ccb(0xc5)](_0x210d00);for(const _0xd1edce of _0x4a1d9e){const _0x4ea975=this[_0x3d0ccb(0x102)]['hasOtherFormulaDataMainData'](_0xd1edce),_0x46bb6e=_0x210d00[_0xd1edce],{f:_0x3f06f7,ranges:_0x4b2631}=_0x46bb6e;let _0x4345eb=!0x1;_0x4ea975&&(_0x4345eb=!0x0);const {firstRow:_0x4808c5,firstColumn:_0x25b4f2}=this[_0x3d0ccb(0xbb)](_0x4b2631),_0x5ecf38=this[_0x3d0ccb(0x102)]['getOtherFormulaDependency'](_0x2eb74d,_0x500d8e,_0xd1edce),_0x17fe68=(_0x8968f9=_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](0x0,0x0))!=null?_0x8968f9:_0xa8ff94(this[_0x3d0ccb(0x102)]),_0x4744d=new _0x53885a(_0x17fe68);for(let _0x42f24b=0x0;_0x42f24b<_0x4b2631['length'];_0x42f24b++){const _0x57ef04=_0x4b2631[_0x42f24b],{startRow:_0x3f5d0f,startColumn:_0x23bcc1,endRow:_0x5b2656,endColumn:_0x54b461}=_0x57ef04;for(let _0x25769b=_0x3f5d0f;_0x25769b<=_0x5b2656;_0x25769b++)for(let _0x5a0406=_0x23bcc1;_0x5a0406<=_0x54b461;_0x5a0406++){const _0x105a85=_0x5a0406-_0x25b4f2,_0x16902d=_0x25769b-_0x4808c5;if(_0x105a85===0x0&&_0x16902d===0x0){_0x4744d['formula']=_0x3f06f7,_0x4744d['unitId']=_0x2eb74d,_0x4744d['subUnitId']=_0x500d8e,_0x4744d[_0x3d0ccb(0x8e)]=_0xd1edce,_0x4744d[_0x3d0ccb(0x9d)]=_0x34cea1[_0x3d0ccb(0xb5)],_0x4744d[_0x3d0ccb(0x8c)]=_0x4345eb,_0x52022d[_0x3d0ccb(0xd9)](_0x4744d),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x4744d['treeId'],_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0x111)](_0x4744d);continue;}const _0x3e277c=new _0x552a76();_0x3e277c['treeId']=(_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](_0x105a85,_0x16902d))||_0xa8ff94(this['_dependencyManagerService']),_0x3e277c[_0x3d0ccb(0xff)]=_0x4744d,_0x3e277c[_0x3d0ccb(0x120)]=_0x105a85,_0x3e277c[_0x3d0ccb(0xd1)]=_0x16902d,_0x3e277c[_0x3d0ccb(0x8c)]=_0x4345eb,this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x3e277c),this['_dependencyManagerService'][_0x3d0ccb(0x111)](_0x3e277c),_0x52022d[_0x3d0ccb(0xd9)](_0x3e277c),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x3e277c[_0x3d0ccb(0x8f)],_0x3e277c);}}this[_0x3d0ccb(0x102)][_0x3d0ccb(0xd0)](_0xd1edce);}}}}[_0x41bada(0x9e)](_0x5efcf3,_0x27323e,_0x597606,_0x4bf101){const _0x57872d=_0x41bada;for(const _0x31953e of _0x5efcf3){const _0x365b8a=_0x27323e[_0x31953e];if(_0x365b8a==null)continue;const _0x4f48c4=Object[_0x57872d(0xc5)](_0x365b8a);for(const _0x26641a of _0x4f48c4){const _0x29369a=new _0x11ab1c(_0x365b8a[_0x26641a]||{}),_0x4d6c91=new Map();_0x29369a[_0x57872d(0xd7)]((_0x1d85c9,_0x4596b3,_0x5cd542)=>{const _0x3b0153=_0x57872d;if(_0x5cd542==null)return!0x0;const {x:_0x8d7f04=0x0,y:y=0x0,si:_0x468c5a}=_0x5cd542;if(!(_0x8d7f04===0x0&&y===0x0&&_0x468c5a!=null))return!0x0;const _0x103b59=this[_0x3b0153(0xc1)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x597606,_0x5cd542),_0x2e6bb0=this[_0x3b0153(0x102)][_0x3b0153(0xc2)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3);_0x2e6bb0!=null?_0x103b59['treeId']=_0x2e6bb0:(this[_0x3b0153(0x102)][_0x3b0153(0xde)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x103b59),this[_0x3b0153(0x102)]['addFormulaDependencyByDefinedName'](_0x103b59)),_0x4d6c91['set'](_0x468c5a,_0x103b59),_0x4bf101[_0x3b0153(0xd9)](_0x103b59),this[_0x3b0153(0xa0)][_0x3b0153(0x11e)](_0x103b59[_0x3b0153(0x8f)],_0x103b59);}),_0x29369a[_0x57872d(0xd7)]((_0xa8d84e,_0x26a851,_0x5c506e)=>{const _0x14e894=_0x57872d;if(_0x5c506e==null)return!0x0;const {x:_0x12512d=0x0,y:y=0x0,si:_0x3af9ec}=_0x5c506e;if(_0x12512d===0x0&&y===0x0&&_0x3af9ec!=null)return!0x0;let _0x22c5b4;if(_0x3af9ec&&_0x4d6c91['has'](_0x3af9ec)){const _0x4dd2c5=_0x4d6c91[_0x14e894(0xba)](_0x3af9ec);_0x22c5b4=this[_0x14e894(0xec)](_0x4dd2c5,_0x5c506e);}else _0x22c5b4=this['_createFDtree'](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x597606,_0x5c506e);const _0x4b30e0=this[_0x14e894(0x102)][_0x14e894(0xc2)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851);_0x4b30e0!=null?_0x22c5b4[_0x14e894(0x8f)]=_0x4b30e0:(this['_dependencyManagerService'][_0x14e894(0xde)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x22c5b4),this[_0x14e894(0x102)]['addFormulaDependencyByDefinedName'](_0x22c5b4)),_0x4bf101['push'](_0x22c5b4),this[_0x14e894(0xa0)][_0x14e894(0x11e)](_0x22c5b4[_0x14e894(0x8f)],_0x22c5b4);}),_0x4d6c91[_0x57872d(0x9c)]();}}}[_0x41bada(0xc1)](_0x28b969,_0x4fe1a1,_0x16b145,_0x37cc23,_0x3c5e91,_0x18caad){const _0x4bc709=_0x41bada,{f:_0x39f24f,x:_0x3c1a02=0x0,y:_0x24cd7e=0x0}=_0x18caad,_0x5a30ee=new _0x53885a(_0xa8ff94(this[_0x4bc709(0x102)])),_0x5dd6b3=_0x3c5e91[_0x28b969][_0x4fe1a1];return _0x5a30ee[_0x4bc709(0xcf)]=_0x39f24f,_0x5a30ee[_0x4bc709(0xe3)]=_0x28b969,_0x5a30ee['subUnitId']=_0x4fe1a1,_0x5a30ee['row']=_0x16b145,_0x5a30ee[_0x4bc709(0xc3)]=_0x37cc23,_0x5a30ee[_0x4bc709(0xf0)]=_0x5dd6b3[_0x4bc709(0xf0)],_0x5a30ee[_0x4bc709(0xe7)]=_0x5dd6b3[_0x4bc709(0xe7)],_0x5a30ee;}[_0x41bada(0xb8)](){const _0x46cdf6=_0x41bada,_0x5b8952=[],_0x3914dd=new Set(),_0x590070=this[_0x46cdf6(0xcb)][_0x46cdf6(0xa4)](),_0x3a15b7=this['_currentConfigService'][_0x46cdf6(0xaf)](),_0x17a208=this['_dependencyManagerService'][_0x46cdf6(0xc4)](_0x3a15b7),_0x1a4908=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x3a15b7);for(const _0xabe1a0 of _0x1a4908)_0x17a208[_0x46cdf6(0xc6)](_0xabe1a0);for(const [_0x14db99,_0x9123c7]of this[_0x46cdf6(0xa0)])(_0x590070||_0x9123c7[_0x46cdf6(0xce)]||_0x9123c7[_0x46cdf6(0xa5)](this[_0x46cdf6(0xcb)][_0x46cdf6(0x96)]())||_0x17a208['has'](_0x14db99)&&!_0x9123c7['isExcludeRange'](this[_0x46cdf6(0xcb)][_0x46cdf6(0x112)]()))&&!_0x3914dd[_0x46cdf6(0xf9)](_0x14db99)&&(_0x5b8952[_0x46cdf6(0xd9)](_0x9123c7),_0x3914dd['add'](_0x14db99));for(const [_0x176899,_0x5d951e]of this[_0x46cdf6(0xa0)])_0x5d951e['isVirtual']||(_0x5d951e['rangeList'][_0x46cdf6(0xab)]=0x0);return _0x5b8952;}[_0x41bada(0x89)](_0x5063c7){const _0x53404b=_0x41bada;return this[_0x53404b(0xa0)][_0x53404b(0xba)](_0x5063c7);}['_getTreeNode'](_0xf715cd){const _0x3170d5=_0x41bada;return _0xb8e236(_0xf715cd['unitId'],_0xf715cd[_0x3170d5(0xcf)],this['_lexer'],this[_0x3170d5(0x11b)],this[_0x3170d5(0xcb)]);}*[_0x41bada(0x10e)](_0x2d3d1c,_0x294f56){const _0x45c35d=_0x41bada,_0x21742b=_0x2d3d1c,_0x1e1f8d=new Set();for(;_0x21742b['length']>0x0;){const _0x41fb96=_0x21742b[_0x45c35d(0xb0)]();if(_0x1e1f8d[_0x45c35d(0x9c)](),_0x41fb96===void 0x0||_0x41fb96['isSkip']())continue;if(_0x41fb96['isAdded']()){yield _0x41fb96,_0x41fb96['setSkip'](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);continue;}const _0x298c32=this[_0x45c35d(0x102)][_0x45c35d(0xc4)](_0x41fb96['toRTreeItem'](),_0x294f56),_0x3828cf=this['_dependencyRTreeCacheForAddressFunction'][_0x45c35d(0x123)](_0x41fb96[_0x45c35d(0xfe)](),_0x294f56);for(const _0x3f65d6 of _0x3828cf)_0x298c32[_0x45c35d(0xc6)](_0x3f65d6);for(const _0x439cde of _0x298c32){const _0x29e9d9=this[_0x45c35d(0xa0)]['get'](_0x439cde);if(!_0x29e9d9)throw new Error(_0x45c35d(0xc7));_0x29e9d9[_0x45c35d(0xcd)]()||_0x41fb96['isSkip']()||_0x1e1f8d['add'](_0x29e9d9);}if(_0x298c32[_0x45c35d(0x9c)](),_0x1e1f8d[_0x45c35d(0xad)]===0x0)yield _0x41fb96,_0x41fb96[_0x45c35d(0x93)](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);else{_0x41fb96[_0x45c35d(0xdf)](),_0x21742b[_0x45c35d(0xd9)](_0x41fb96);for(const _0x1ac872 of _0x1e1f8d)_0x21742b[_0x45c35d(0xd9)](_0x1ac872);}}_0x21742b['length']=0x0,_0x1e1f8d[_0x45c35d(0x9c)]();}[_0x41bada(0xd2)](_0x4627fb){const _0x49970d=_0x41bada,_0x576da3=[],_0x41ac44=new Set();for(const _0xee8453 of this[_0x49970d(0x10e)](_0x4627fb,_0x41ac44))_0x576da3['push'](_0xee8453);return _0x576da3;}}class he extends _0x453d1f{async[_0x41bada(0xa8)](_0x30bc72=!0x1){const _0x59297a=_0x41bada;_0x30bc72?this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY']),this[_0x59297a(0x10c)]['next'](this['_runtimeService']['getRuntimeState']());const _0x5e29bb=await this[_0x59297a(0xdb)][_0x59297a(0x106)](),_0x1aeade=this[_0x59297a(0xca)];_0x30bc72?(this['_runtimeService']['setFormulaExecuteStage'](_0x444fe5[_0x59297a(0x92)]),this[_0x59297a(0xa6)][_0x59297a(0xef)](_0x5e29bb['length'])):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe4)]),this['_runtimeService'][_0x59297a(0x105)](_0x5e29bb[_0x59297a(0xab)])),this['_executionInProgressListener$'][_0x59297a(0x8a)](this[_0x59297a(0xa6)][_0x59297a(0x121)]());let _0x281ceb=[];const _0x10b9ab=this[_0x59297a(0xaa)]['getConfig'](_0xd0dde6),_0x459a3c=(_0x10b9ab==null?void 0x0:_0x10b9ab[_0x59297a(0xf1)])||_0x171aac;let _0x37f982=0x0;const _0x544e95=_0x5e29bb[_0x59297a(0xab)];for(;_0x5e29bb[_0x59297a(0xab)]>0x0;){const _0x1b845d=_0x5e29bb['pop'](),_0x51eb02={'node':_0xb8e236(_0x1b845d[_0x59297a(0xe3)],_0x1b845d[_0x59297a(0xcf)],this[_0x59297a(0xe9)],this[_0x59297a(0x11b)],this['_currentConfigService']),'refOffsetX':_0x1b845d[_0x59297a(0x120)],'refOffsetY':_0x1b845d[_0x59297a(0xd1)]},_0x5a5f2e=_0x1b845d[_0x59297a(0xee)];if(_0x37f982%_0x459a3c===0x0&&(await new Promise(_0x176019=>{const _0x8cf263=_0x59297a,_0x346c55=_0x6ccd12(_0x176019);_0x281ceb[_0x8cf263(0xd9)](_0x346c55);}),_0x30bc72?(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xd5)]),this['_runtimeService'][_0x59297a(0x98)](_0x37f982+0x1)):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe6)]),this[_0x59297a(0xa6)][_0x59297a(0xf4)](_0x37f982+0x1)),this[_0x59297a(0x10c)][_0x59297a(0x8a)](this[_0x59297a(0xa6)]['getRuntimeState']()),this[_0x59297a(0xa6)][_0x59297a(0xbf)]()||_0x51eb02==null&&_0x5a5f2e==null)){this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xf2)]),this[_0x59297a(0xa6)][_0x59297a(0x11d)](),this[_0x59297a(0xb7)]['next'](this[_0x59297a(0xa6)][_0x59297a(0xa3)]());return;}this[_0x59297a(0xa6)]['setCurrent'](_0x1b845d[_0x59297a(0x119)],_0x1b845d[_0x59297a(0xc3)],_0x1b845d[_0x59297a(0xf0)],_0x1b845d[_0x59297a(0xe7)],_0x1b845d[_0x59297a(0xa2)],_0x1b845d['unitId']);let _0xa1ca3a;if(_0x5a5f2e!=null&&_0x1b845d[_0x59297a(0xf8)]!=null){const {runtimeCellData:_0x144d6b,dirtyRanges:_0x4e2007}=_0x5a5f2e(this[_0x59297a(0xcb)][_0x59297a(0xee)](),this[_0x59297a(0xa6)]['getAllRuntimeData']());this['_runtimeService'][_0x59297a(0x122)](_0x1b845d['featureId'],_0x144d6b),this[_0x59297a(0xa6)][_0x59297a(0xd8)](_0x1b845d[_0x59297a(0xf8)],_0x4e2007);}else _0x51eb02!=null&&(_0x1aeade[_0x59297a(0xae)](_0x51eb02['node'])?_0xa1ca3a=await _0x1aeade[_0x59297a(0x90)](_0x51eb02):_0xa1ca3a=_0x1aeade['execute'](_0x51eb02),_0x1b845d[_0x59297a(0x8e)]!=null?this[_0x59297a(0xa6)][_0x59297a(0xd6)](_0x1b845d[_0x59297a(0x8e)],_0x1b845d[_0x59297a(0x120)],_0x1b845d['refOffsetY'],_0xa1ca3a):this[_0x59297a(0xa6)]['setRuntimeData'](_0xa1ca3a));_0x37f982++;}return _0x281ceb['forEach'](_0x46aa66=>_0x46aa66()),_0x281ceb=[],_0x544e95>0x0?this[_0x59297a(0xa6)][_0x59297a(0x10f)]():_0x30bc72||this[_0x59297a(0xa6)][_0x59297a(0x116)](),this['_runtimeService'][_0x59297a(0xa3)]();}}class fe extends _0x160d16{constructor(){const _0x54553a=_0x41bada;super(...arguments),I(this,_0x54553a(0x10b),new Map()),I(this,_0x54553a(0xc9),new _0xb9182a(!0x0));}[_0x41bada(0x104)](){const _0x416532=_0x41bada;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x416532(0x9c)](),this[_0x416532(0xa7)][_0x416532(0x9c)](),this['_dependencyRTreeCache'][_0x416532(0x9c)](),this['_allTreeMap']['clear'](),this['_restDependencyTreeId'](),this[_0x416532(0xcc)][_0x416532(0x9c)]();}[_0x41bada(0xe0)](_0x4c8d38,_0x2e1e3e,_0x12002e,_0x4992ea){const _0x45d9f5=_0x41bada;this['_otherFormulaData']['has'](_0x4c8d38)||this['_otherFormulaData'][_0x45d9f5(0x11e)](_0x4c8d38,new Map());const _0x34de48=this[_0x45d9f5(0x108)][_0x45d9f5(0xba)](_0x4c8d38);_0x34de48['has'](_0x2e1e3e)||_0x34de48[_0x45d9f5(0x11e)](_0x2e1e3e,new Map());const _0x3b3bba=_0x34de48['get'](_0x2e1e3e);_0x3b3bba['has'](_0x12002e)||_0x3b3bba[_0x45d9f5(0x11e)](_0x12002e,new _0x11ab1c()),_0x3b3bba['get'](_0x12002e)['setValue'](_0x4992ea['refOffsetX'],_0x4992ea[_0x45d9f5(0xd1)],_0x4992ea[_0x45d9f5(0x8f)]);}[_0x41bada(0xdd)](_0x58cfcb,_0x22ae28,_0x425690){const _0x27ef91=_0x41bada,_0x3421a0=this[_0x27ef91(0x108)][_0x27ef91(0xba)](_0x58cfcb);if(_0x3421a0&&_0x3421a0['has'](_0x22ae28)){const _0x5812a4=_0x3421a0[_0x27ef91(0xba)](_0x22ae28);_0x425690['forEach'](_0x3829c1=>{const _0x3a5242=_0x27ef91,_0x152fb8=_0x5812a4['get'](_0x3829c1);_0x152fb8!=null&&(_0x152fb8['forValue']((_0x19b416,_0x4610f8,_0x1af755)=>{this['_removeDependencyRTreeCache'](_0x1af755),this['_removeAllTreeMap'](_0x1af755);}),_0x5812a4[_0x3a5242(0xb9)](_0x3829c1),this[_0x3a5242(0xcc)][_0x3a5242(0xb9)](_0x3829c1));}),_0x5812a4[_0x27ef91(0xad)]===0x0&&_0x3421a0['delete'](_0x22ae28),_0x3421a0[_0x27ef91(0xad)]===0x0&&this[_0x27ef91(0x108)][_0x27ef91(0xb9)](_0x58cfcb);}}[_0x41bada(0xf6)](_0x3a05d2,_0x45a727){const _0x17951e=_0x41bada,_0x2abd4b=this['_otherFormulaData'][_0x17951e(0xba)](_0x3a05d2);if(_0x45a727&&_0x2abd4b&&_0x2abd4b[_0x17951e(0xf9)](_0x45a727)){const _0xba383e=_0x2abd4b[_0x17951e(0xba)](_0x45a727);this[_0x17951e(0xb2)](_0x3a05d2,_0x45a727);for(const _0x1242e2 of _0xba383e['keys']()){const _0x1e4994=_0xba383e[_0x17951e(0xba)](_0x1242e2);_0x1e4994!=null&&(_0x1e4994['forValue']((_0x1232e7,_0x1d6077,_0x2ab8d2)=>{const _0x309e30=_0x17951e;this['_allTreeMap']['get'](_0x2ab8d2)&&this[_0x309e30(0x114)](_0x2ab8d2);}),this['_otherFormulaDataMainData'][_0x17951e(0xb9)](_0x1242e2));}_0xba383e['clear']();}else{if(_0x2abd4b){for(const _0x193314 of _0x2abd4b[_0x17951e(0xc5)]()){const _0x181f85=_0x2abd4b[_0x17951e(0xba)](_0x193314);this[_0x17951e(0xb2)](_0x3a05d2,_0x193314);for(const _0x2bcd23 of _0x181f85[_0x17951e(0xc5)]()){const _0x448d01=_0x181f85[_0x17951e(0xba)](_0x2bcd23);_0x448d01!=null&&(_0x448d01[_0x17951e(0xd7)]((_0x4748c5,_0x47ed14,_0x2533dd)=>{const _0x25bb57=_0x17951e;this[_0x25bb57(0x10b)][_0x25bb57(0xba)](_0x2533dd)&&this[_0x25bb57(0x114)](_0x2533dd);}),this[_0x17951e(0xcc)]['delete'](_0x2bcd23));}}this['_otherFormulaData']['delete'](_0x3a05d2);}}}[_0x41bada(0xeb)](_0x2da4cd,_0x4bad91,_0x92f0fc,_0xdbbea2){const _0x3e4cf5=_0x41bada;this[_0x3e4cf5(0x101)][_0x3e4cf5(0xf9)](_0x2da4cd)||this[_0x3e4cf5(0x101)][_0x3e4cf5(0x11e)](_0x2da4cd,new Map());const _0x16242a=this['_featureFormulaData'][_0x3e4cf5(0xba)](_0x2da4cd);_0x16242a[_0x3e4cf5(0xf9)](_0x4bad91)||_0x16242a[_0x3e4cf5(0x11e)](_0x4bad91,new Map()),_0x16242a['get'](_0x4bad91)['set'](_0x92f0fc,_0xdbbea2[_0x3e4cf5(0x8f)]);}['removeFeatureFormulaDependency'](_0x5740da,_0x45df21,_0x29c21a){const _0x32b521=_0x41bada,_0x429bac=this[_0x32b521(0x101)][_0x32b521(0xba)](_0x5740da);if(_0x429bac&&_0x429bac[_0x32b521(0xf9)](_0x45df21)){const _0x5f3c61=_0x429bac[_0x32b521(0xba)](_0x45df21);_0x29c21a[_0x32b521(0x115)](_0x383a2f=>{const _0x454725=_0x32b521,_0x5d5558=_0x5f3c61[_0x454725(0xba)](_0x383a2f);_0x5d5558!=null&&(this[_0x454725(0xa9)](_0x5d5558),_0x5f3c61[_0x454725(0xb9)](_0x383a2f),this['_removeAllTreeMap'](_0x5d5558));});}}[_0x41bada(0xfc)](_0x3ccb61,_0x2e7ace){const _0x51cfdb=_0x41bada,_0x5b0ad2=this['_featureFormulaData']['get'](_0x3ccb61);if(_0x2e7ace&&_0x5b0ad2&&_0x5b0ad2[_0x51cfdb(0xf9)](_0x2e7ace)){const _0x5f4e8d=_0x5b0ad2[_0x51cfdb(0xba)](_0x2e7ace);this[_0x51cfdb(0xb2)](_0x3ccb61,_0x2e7ace),_0x5f4e8d[_0x51cfdb(0x115)](_0x4b2d31=>{const _0x38ba36=_0x51cfdb;_0x4b2d31!=null&&this[_0x38ba36(0x114)](_0x4b2d31);}),_0x5f4e8d['clear']();}else _0x5b0ad2&&(_0x5b0ad2[_0x51cfdb(0x115)]((_0x1f0750,_0x50fa3d)=>{const _0x11012a=_0x51cfdb;this[_0x11012a(0xb2)](_0x3ccb61,_0x50fa3d),_0x1f0750[_0x11012a(0x115)](_0x1e4705=>{const _0x2feae8=_0x11012a;_0x1e4705!=null&&this[_0x2feae8(0x114)](_0x1e4705);});}),this['_featureFormulaData']['delete'](_0x3ccb61));}['addFormulaDependency'](_0x540496,_0x11757c,_0x4d1d6c,_0x239ace,_0x7f93bd){const _0x29f4a7=_0x41bada;this['_formulaData']['has'](_0x540496)||this['_formulaData']['set'](_0x540496,new Map());const _0x1d3717=this[_0x29f4a7(0xa7)][_0x29f4a7(0xba)](_0x540496);_0x1d3717[_0x29f4a7(0xf9)](_0x11757c)||_0x1d3717[_0x29f4a7(0x11e)](_0x11757c,new _0x11ab1c()),_0x1d3717[_0x29f4a7(0xba)](_0x11757c)[_0x29f4a7(0xda)](_0x4d1d6c,_0x239ace,_0x7f93bd[_0x29f4a7(0x8f)]);}[_0x41bada(0xb6)](_0x396290,_0x2f1fa1,_0x4138a4,_0x2cd7d6){const _0x117a6e=_0x41bada,_0x4da899=this[_0x117a6e(0xa7)][_0x117a6e(0xba)](_0x396290);if(_0x4da899&&_0x4da899['has'](_0x2f1fa1)){const _0x27896c=_0x4da899[_0x117a6e(0xba)](_0x2f1fa1),_0x4cd22b=_0x27896c[_0x117a6e(0x117)](_0x4138a4,_0x2cd7d6);if(_0x4cd22b==null)return;this['_removeDependencyRTreeCache'](_0x4cd22b),_0x27896c['realDeleteValue'](_0x4138a4,_0x2cd7d6),this[_0x117a6e(0x114)](_0x4cd22b);}}[_0x41bada(0x107)](_0x5202f7,_0x453144){const _0x1abb11=_0x41bada,_0x5404d4=this[_0x1abb11(0xa7)][_0x1abb11(0xba)](_0x5202f7);if(_0x453144&&_0x5404d4&&_0x5404d4[_0x1abb11(0xf9)](_0x453144)){const _0x4b289e=_0x5404d4[_0x1abb11(0xba)](_0x453144);this[_0x1abb11(0xb2)](_0x5202f7,_0x453144),_0x4b289e[_0x1abb11(0xd7)]((_0x5e63c8,_0x446269,_0x2c7648)=>{const _0x2d87bf=_0x1abb11;if(_0x2c7648==null)return!0x0;this[_0x2d87bf(0x114)](_0x2c7648);}),_0x4b289e[_0x1abb11(0x104)]();}else _0x5404d4&&(_0x5404d4[_0x1abb11(0x115)]((_0x580a4f,_0x4cdaf4)=>{const _0x5ce2af=_0x1abb11;this[_0x5ce2af(0xb2)](_0x5202f7,_0x4cdaf4),_0x580a4f[_0x5ce2af(0xd7)]((_0x2dab54,_0x14f25e,_0x1af3ec)=>{const _0x14a4aa=_0x5ce2af;if(_0x1af3ec==null)return!0x0;this[_0x14a4aa(0x114)](_0x1af3ec);});}),this[_0x1abb11(0xa7)][_0x1abb11(0xb9)](_0x5202f7));}['_removeDependencyRTreeCache'](_0x3475c8){const _0x5bbdec=_0x41bada;if(_0x3475c8==null)return;const _0x2c1302=this[_0x5bbdec(0x10b)][_0x5bbdec(0xba)](_0x3475c8);if(_0x2c1302){const _0x5d2c09=[];for(const [_0x3f1b47,_0x2c8aa4]of _0x2c1302)for(const [_0x5aa6a8,_0x45b56e]of _0x2c8aa4)_0x5d2c09[_0x5bbdec(0xd9)]({'unitId':_0x3f1b47,'sheetId':_0x5aa6a8,'range':_0x45b56e,'id':_0x3475c8});this[_0x5bbdec(0xc9)][_0x5bbdec(0x9f)](_0x5d2c09);}}['removeFormulaDependencyByDefinedName'](_0x7e558,_0x48cda4){const _0x5e9cf6=_0x41bada,_0x9c9510=this[_0x5e9cf6(0xf3)][_0x5e9cf6(0xba)](_0x7e558);if(_0x9c9510){const _0x5b0ba5=_0x9c9510[_0x5e9cf6(0xba)](_0x48cda4);if(_0x5b0ba5){for(const _0x46bc38 of _0x5b0ba5)this[_0x5e9cf6(0xa9)](_0x46bc38),this['_removeAllTreeMap'](_0x46bc38);_0x5b0ba5['clear']();}}}[_0x41bada(0xf5)](){const _0x5aca9c=_0x41bada;this[_0x5aca9c(0xc9)][_0x5aca9c(0xf5)]();}[_0x41bada(0x8b)](){const _0x584a73=_0x41bada;this[_0x584a73(0xc9)][_0x584a73(0x8b)]();}[_0x41bada(0x114)](_0x2629fb){const _0x29e7e1=_0x41bada;_0x2629fb!=null&&this[_0x29e7e1(0x10b)]['delete'](_0x2629fb);}[_0x41bada(0x11f)](_0x52fb09){const _0x12ee70=_0x41bada;var _0x5c6593,_0x525c2d;const _0x32f6fa=_0x52fb09['rangeList'];let _0x56bce4=this['_allTreeMap'][_0x12ee70(0xba)](_0x52fb09[_0x12ee70(0x8f)]);for(let _0x1e69b1=0x0;_0x1e69b1<_0x32f6fa[_0x12ee70(0xab)];_0x1e69b1++){const _0xe58b53=_0x32f6fa[_0x1e69b1];let {unitId:_0x3b9ad9,sheetId:_0x978843,range:_0xd767eb}=_0xe58b53;_0x56bce4||(_0x56bce4=new Map(),this[_0x12ee70(0x10b)]['set'](_0x52fb09[_0x12ee70(0x8f)],_0x56bce4)),_0x56bce4[_0x12ee70(0xf9)](_0x3b9ad9)||_0x56bce4[_0x12ee70(0x11e)](_0x3b9ad9,new Map());const _0x32b23f=(_0x5c6593=_0x56bce4==null?void 0x0:_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null?void 0x0:_0x5c6593[_0x12ee70(0xba)](_0x978843);_0x32b23f&&(_0xd767eb={'startRow':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xc8)],_0x32b23f[_0x12ee70(0xc8)]),'startColumn':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xa1)],_0x32b23f[_0x12ee70(0xa1)]),'endRow':Math[_0x12ee70(0x11a)](_0xd767eb['endRow'],_0x32b23f['endRow']),'endColumn':Math[_0x12ee70(0x11a)](_0xd767eb[_0x12ee70(0x9b)],_0x32b23f[_0x12ee70(0x9b)])}),(_0x525c2d=_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null||_0x525c2d[_0x12ee70(0x11e)](_0x978843,_0xd767eb);}}}var pe=Object[_0x41bada(0x103)],Fe=(_0x3ca134,_0x22bc85,_0x11c5e3,_0x2ef0ad)=>{const _0x1f83df=_0x41bada;for(var _0x1817c0=_0x2ef0ad>0x1?void 0x0:_0x2ef0ad?pe(_0x22bc85,_0x11c5e3):_0x22bc85,_0x42f5a7=_0x3ca134[_0x1f83df(0xab)]-0x1,_0x57d60e;_0x42f5a7>=0x0;_0x42f5a7--)(_0x57d60e=_0x3ca134[_0x42f5a7])&&(_0x1817c0=_0x57d60e(_0x1817c0)||_0x1817c0);return _0x1817c0;};const _e=Number[_0x41bada(0x118)](0x68c50d20);let b=class extends _0x11a7e5{[_0x41bada(0x100)](){const _0x174b9=_0x41bada;var _0x281d82,_0x359e81;this[_0x174b9(0x10d)]()?(_0x281d82=this[_0x174b9(0xfb)])!=null&&_0x281d82['notExecuteFormula']||[[_0x41d0f3,{'useClass':he}],[_0x3901f0,{'useClass':fe}],[_0x3d9c53,{'useClass':de}]][_0x174b9(0x115)](_0x263455=>this['_injector']['add'](_0x263455)):(_0x359e81=this[_0x174b9(0xfb)])!=null&&_0x359e81[_0x174b9(0xbd)]||[[_0x41d0f3,{'useClass':_0x453d1f}],[_0x3901f0,{'useClass':_0x35aa0c}],[_0x3d9c53,{'useClass':_0x10e6df}]][_0x174b9(0x115)](_0x1ad598=>this[_0x174b9(0x113)]['add'](_0x1ad598));}[_0x41bada(0x10d)](){const _0x551b3a=_0x41bada;var _0x1e3c3c;const _0x2f79fe=(_0x1e3c3c=this['_configService']['getConfig'](_0x317615))!=null?_0x1e3c3c:{},{ls:_0x4260e8,pbk:_0x363814}=_0x2f79fe;if(!_0x4260e8||!_0x363814)return!0x1;const _0x300e81=_0x2463bf(ue,le),_0x30c733=new Function('return\x20'+_0x300e81)()(_0x4260e8,_0x363814),_0x5cc8b9=_0x30c733[_0x551b3a(0x99)];return _0x30c733[_0x551b3a(0xc0)]&&_0x3d42ba(_0x5cc8b9,'sf',_e)?_0x3c153a(_0x5cc8b9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=Fe([_0x190b9a(_0x3a0e6e)],b);export{b as UniverProFormulaEnginePlugin};
1
+ const _0x453506=_0x3003;(function(_0x584be0,_0x180858){const _0x2ce8a8=_0x3003,_0x9b4dcd=_0x584be0();while(!![]){try{const _0x2d4aed=-parseInt(_0x2ce8a8(0x16e))/0x1*(-parseInt(_0x2ce8a8(0x176))/0x2)+-parseInt(_0x2ce8a8(0x1e3))/0x3*(parseInt(_0x2ce8a8(0x1aa))/0x4)+parseInt(_0x2ce8a8(0x198))/0x5*(parseInt(_0x2ce8a8(0x15d))/0x6)+-parseInt(_0x2ce8a8(0x173))/0x7+-parseInt(_0x2ce8a8(0x17a))/0x8+parseInt(_0x2ce8a8(0x156))/0x9+-parseInt(_0x2ce8a8(0x1a2))/0xa;if(_0x2d4aed===_0x180858)break;else _0x9b4dcd['push'](_0x9b4dcd['shift']());}catch(_0xd9a681){_0x9b4dcd['push'](_0x9b4dcd['shift']());}}}(_0x4c27,0x4a2b9));var X=Object[_0x453506(0x1dc)],z=(_0x9f7ba9,_0x3f09f7,_0x5325c2)=>_0x3f09f7 in _0x9f7ba9?X(_0x9f7ba9,_0x3f09f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5325c2}):_0x9f7ba9[_0x3f09f7]=_0x5325c2,S=(_0x16ef03,_0xc6c652,_0x2dedb9)=>z(_0x16ef03,typeof _0xc6c652!=_0x453506(0x199)?_0xc6c652+'':_0xc6c652,_0x2dedb9);import{UniverLicensePlugin as _0x5d9f22,LS_CONFIG_KEY as _0x401518,unshiftString as _0x114aea,isFeatureAuthorizedWithinTime as _0x3e0a3e,getSheetFeatureLimit as _0x3912d8}from'@univerjs-pro/license';import{ObjectMatrix as _0x3f0bbc,requestImmediateMacroTask as _0x537521,RTree as _0x1bf844,DependentOn as _0xc8a18}from'@univerjs/core';function _0x4c27(){const _0x3e05ed=['getClearDependencyTreeCache','_otherFormulaData','_convertDirtyRangesToUnitRange','_interpreter','refOffsetX','_updateRangeFlatten','featureId','_getTreeById','getFormulaDependency','getFeatureFormulaDependency','_allTreeMap','getFormulaData','getAllRuntimeData','clearOtherFormulaDependency','clear','setRuntimeOtherData','_dependencyTreeCache','defineProperty','dependencySheetName','_astTreeBuilder','addFormulaDependency','addFormulaDependencyByDefinedName','clearFeatureFormulaDependency','bulkRemove','90fQGoBo','_dependencyManagerService','refTree','isCache','OTHER_FORMULA','_initLicenseValid','_config','setFormulaExecuteStage','featureDirtyRanges','rangeList','isVirtual','subUnitId','1639944sbhROB','_removeDependencyRTreeCacheById','generate','isAdded','removeOtherFormulaDependency','_featureFormulaData','_createVirtualFDtree','6kvSVVH','_removeAllTreeMap','closeKdTree','message','setTotalArrayFormulasToCalculate','FEATURE_FORMULA','columnCount','getExcludedRange','clearFormulaDependency','_formulaData','_restDependencyTreeId','node','push','_executionCompleteListener$','getValue','delete','_addAllTreeMap','14fwIXjd','openKdTree','resolve','_getFeatureFormulaTree','executeAsync','2416463CCTIUu','setRuntimeFeatureRange','Cerltaor\x202hlcfntaor(Galhrdh,\x20ne6Galihf)\x20{\x20\x20\x20\x20tcf\x20{\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20GalhrdhErCoVuctLccuf\x20=\x20Galhrdh.dnGat(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20ocaDarshdduDh\x20=\x207pNm.nucdh(uto6(GalhrdhErCoVuctLccuf[k]));\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!ocaDarshdduDh.e2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocaDarshdduDh.e2\x20=\x20meK6hc(GalhrdhErCoVuctLccuf[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20adAocJhc\x20=\x20tfnhoC\x20AocJhcxGo6uGplonh\x20!==\x20\x27er2hCarh2\x27\x20&&\x20dhGC\x20ardturlhoC\x20AocJhcxGo6uGplonh;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20lorthWt\x20=\x20adAocJhc\x20?\x20dhGC\x20:\x20Har2oH;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDhAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[k]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDh\x20=\x20lorthWt.__1hW__.dtcarDaCf(KhdduDhAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutechAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[z]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutech\x20=\x20lorthWt.__1hW__.dtcarDaCf(daDrutechAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDr4uGa2\x20=\x20lorthWt.__8hcaCf__(daDrutech,\x20KhdduDh,\x20ne6Galihf);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x202oKuar\x20=\x20ocaDarshdduDh.2K;\x20\x20\x20\x20\x20\x20\x20\x20Cerltaor\x20adXoKuarsutl9arD(oVutthcr,\x20o1odt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcr\x20=\x20oVutthcr.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odt\x20=\x20o1odt.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrVuctd\x20=\x20nutthcr.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtVuctd\x20=\x209odt.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!nutthcr.arlGe2hd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcr\x20===\x209odt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(nutthcrVuctd.GhrDt9\x20<\x20k\x20||\x20nutthcrVuctd[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20CuGdh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrpeCCaW\x20=\x20nutthcrVuctd.dGalh(w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtpeCCaW\x20=\x209odtVuctd.dGalh(-nutthcrVuctd.GhrDt9\x20+\x20w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcrpeCCaW\x20===\x209odtpeCCaW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ght\x202oKuar4uGa2\x20=\x20(2oKuar\x20&&\x202oKuar.GhrDt9)\x20?\x202oKuar.doKh((2KEthK)\x20=>\x20adXoKuarsutl9arD(2KEthK,\x20Golutaor.9odtruKh))\x20:\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(Golutaor.9odtruKh\x20===\x20\x27GoluG9odt\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202oKuar4uGa2\x20=\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x208uGa2\x20=\x20daDr4uGa2\x20&&\x202oKuar4uGa2;\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20ocaDarshdduDh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20lutl9\x20(hccoc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2:\x20CuGdh,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','58042PqFBVs','length','return\x20','toRTreeItem','902280ueCwKU','START_CALCULATION','setRuntimeData','rowCount','formula','execute','pop','has','_lexer','set','column','formulaId','_getUpdateTreeListAndMakeDependency','keys','_executionInProgressListener$','startRow','getRuntimeState','_getFirstCellOfRange','IDLE','realDeleteValue','getOtherFormulaData','startColumn','getUnitData','_dependencyRTreeCacheForAddressFunction','START_CALCULATION_ARRAY_FORMULA','setSkip','_otherFormulaManagerService','bulkSearch','_isCyclicUtilMap','add','2817545qcLHPR','symbol','setCompletedArrayFormulasCount','START_DEPENDENCY','searchDependency','treeId','type','getDirtyData','endColumn','CURRENTLY_CALCULATING_ARRAY_FORMULA','1576040CDwAUK','_configService','size','markedAsStopFunctionsExecuted','_checkIsCycleDependency','_removeDependencyRTreeCache','min','endRow','31016xnNdNt','getOtherFormulaDependency','_calculateRunList','_runtimeService','markedAsNoFunctionsExecuted','addOtherFormulaDependencyMainData','setValue','forValue','_injector','next','getConfig','isSkip','dirtyRanges','isExcludeRange','_traverse','setCurrent','_definedNameMap','_dependencyRTreeCache','valid','forEach','refOffsetY','unitId','addOtherFormulaDependency','get','_currentConfigService','dispose','reset','_otherFormulaDataMainData','notExecuteFormula','max','getDirtyNameMap','getDirtyRanges','_registerOtherFormulas'];_0x4c27=function(){return _0x3e05ed;};return _0x4c27();}import{FormulaDependencyGenerator as _0x588a37,generateRandomDependencyTreeId as _0x3898d7,FormulaDependencyTree as _0x5e385f,FormulaDependencyTreeType as _0x3f857e,FormulaDependencyTreeVirtual as _0x506960,generateAstNode as _0x8b5b46,CalculateFormulaService as _0x3cbdb0,FormulaExecuteStageType as _0x9fff84,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1575bd,DEFAULT_INTERVAL_COUNT as _0x529e86,DependencyManagerBaseService as _0x27e3f6,UniverFormulaEnginePlugin as _0x46a0df,ICalculateFormulaService as _0x2354d7,IDependencyManagerService as _0x37c025,IFormulaDependencyGenerator as _0x295b77,DependencyManagerService as _0x2afed7}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'q',0x1:'H',0x2:'d',0x3:'7',0x4:'V',0x5:'Y',0x6:'b',0x7:'J',0x8:'v',0x9:'h','Y':'0','w':'1','k':'2','z':'3','F':'4','I':'5','M':'6','S':'8','O':'9','u':'a','l':'c','h':'e','C':'f','D':'g','a':'i','b':'j','J':'k','G':'l','K':'m','r':'n','o':'o','n':'p','c':'r','d':'s','t':'t','e':'u','H':'w','W':'x','f':'y','y':'z','L':'A','T':'B','B':'C','X':'D','P':'E','v':'F','x':'G','E':'I','i':'K','q':'L','s':'M','m':'N','N':'O','V':'P','Z':'Q','j':'R','p':'S','g':'T','U':'U','A':'W','R':'X','Q':'Z'},le=_0x453506(0x175);class he extends _0x588a37{constructor(){super(...arguments),S(this,'_dependencyTreeCache',new Map());}[_0x453506(0x1c3)](){const _0x3a92dc=_0x453506;super[_0x3a92dc(0x1c3)](),this[_0x3a92dc(0x1db)][_0x3a92dc(0x1d9)]();}async[_0x453506(0x158)](){const _0x9319f2=_0x453506;this[_0x9319f2(0x1d0)]();const _0x3f3cec=this[_0x9319f2(0x1c2)][_0x9319f2(0x1d6)](),_0x4a52d1=this[_0x9319f2(0x194)][_0x9319f2(0x18e)](),_0x291488=this[_0x9319f2(0x1c2)][_0x9319f2(0x1cb)]();_0x291488!=null&&Object[_0x9319f2(0x187)](_0x291488)['forEach'](_0xda3177=>{const _0x322071=_0x9319f2;_0xda3177!=null&&Object['keys'](_0x291488[_0xda3177])[_0x322071(0x1bd)](_0x9ab6b9=>{const _0x4ed53e=_0x322071;_0x9ab6b9!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xda3177,_0x9ab6b9),this[_0x4ed53e(0x1e4)][_0x4ed53e(0x1e1)](_0xda3177,_0x9ab6b9),this['_dependencyManagerService']['clearFormulaDependency'](_0xda3177,_0x9ab6b9));});});const _0x46ddd1=this[_0x9319f2(0x1c2)][_0x9319f2(0x190)]();await this['_generateTreeList'](_0x3f3cec,_0x4a52d1,_0x46ddd1),this[_0x9319f2(0x1e4)]['openKdTree']();const _0x52e67f=this[_0x9319f2(0x186)](),_0x3eb5d3=this['_calculateRunList'](_0x52e67f);return this[_0x9319f2(0x1a6)](_0x3eb5d3)&&this[_0x9319f2(0x1ad)]['enableCycleDependency'](),this[_0x9319f2(0x1db)][_0x9319f2(0x1d9)](),this[_0x9319f2(0x191)][_0x9319f2(0x1d9)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x9319f2(0x170)](_0x3eb5d3);}[_0x453506(0x196)](_0x135ed9,_0x588fb3){const _0x30107a=_0x453506,_0x2123fe=[_0x135ed9];for(;_0x2123fe[_0x30107a(0x177)]>0x0;){const _0x188314=_0x2123fe[_0x2123fe[_0x30107a(0x177)]-0x1];if((_0x588fb3['get'](_0x188314)||0x0)===0x0){_0x588fb3[_0x30107a(0x183)](_0x188314,0x1);const _0x1785a2=this[_0x30107a(0x1db)][_0x30107a(0x1c1)](_0x188314);if(_0x1785a2==null){_0x588fb3[_0x30107a(0x183)](_0x188314,0x2),_0x2123fe['pop']();continue;}const _0x393f93=this[_0x30107a(0x1e4)][_0x30107a(0x19c)](_0x1785a2['toRTreeItem']());for(const _0x5540f7 of _0x393f93){const _0x1ce0ce=_0x588fb3['get'](_0x5540f7)||0x0;if(_0x1ce0ce===0x1)return!0x0;_0x1ce0ce===0x0&&_0x2123fe['push'](_0x5540f7);}}else _0x588fb3[_0x30107a(0x183)](_0x188314,0x2),_0x2123fe[_0x30107a(0x180)]();}return!0x1;}[_0x453506(0x1a6)](_0x5820f4){const _0x15d8d3=_0x453506,_0x58d540=new Map();for(const _0x4e1bba of _0x5820f4)if(!_0x58d540[_0x15d8d3(0x181)](_0x4e1bba[_0x15d8d3(0x19d)])&&this[_0x15d8d3(0x196)](_0x4e1bba[_0x15d8d3(0x19d)],_0x58d540))return!0x0;return _0x58d540[_0x15d8d3(0x1d9)](),!0x1;}[_0x453506(0x171)](_0x249dfa,_0x3a1438,_0x359d5e){const _0x12591b=_0x453506,{unitId:_0x5623ed,subUnitId:_0x4238ec,dependencyRanges:_0x54d905,getDirtyData:_0x4ec2bc}=_0x359d5e,_0x106f1d=_0x3a1438||_0x3898d7(this[_0x12591b(0x1e4)]),_0x5e4420=new _0x5e385f(_0x106f1d);_0x5e4420['unitId']=_0x5623ed,_0x5e4420[_0x12591b(0x155)]=_0x4238ec,_0x5e4420[_0x12591b(0x153)]=_0x54d905,_0x5e4420['getDirtyData']=_0x4ec2bc;const _0x16e3e6=_0x4ec2bc(this[_0x12591b(0x1c2)][_0x12591b(0x19f)](),this[_0x12591b(0x1ad)][_0x12591b(0x1d7)]()),_0xb09333=this[_0x12591b(0x1cd)](_0x16e3e6[_0x12591b(0x1b6)]);return _0x5e4420[_0x12591b(0x152)]=_0xb09333,_0x5e4420[_0x12591b(0x1d1)]=_0x249dfa,_0x5e4420[_0x12591b(0x19e)]=_0x3f857e[_0x12591b(0x162)],this[_0x12591b(0x1e4)]['addFeatureFormulaDependency'](_0x5623ed,_0x4238ec,_0x249dfa,_0x5e4420),this[_0x12591b(0x1db)][_0x12591b(0x183)](_0x5e4420['treeId'],_0x5e4420),this[_0x12591b(0x1e4)][_0x12591b(0x1d4)](_0x359d5e[_0x12591b(0x1bf)],_0x359d5e[_0x12591b(0x155)],_0x249dfa)&&(_0x5e4420[_0x12591b(0x1e6)]=!0x0),_0x5e4420;}[_0x453506(0x1ca)](_0x4094a0,_0x57a02e,_0x2f187b){const _0x2087af=_0x453506;var _0x2c74af;for(const _0x3b0226 of _0x57a02e){const _0x5b66b6=_0x4094a0[_0x3b0226];if(_0x5b66b6==null)continue;const _0x33bff9=Object[_0x2087af(0x187)](_0x5b66b6);for(const _0x3d53a3 of _0x33bff9){const _0x30958c=_0x5b66b6[_0x3d53a3];if(_0x30958c==null)continue;const _0x3c4cb0=Object['keys'](_0x30958c);for(const _0x2b464c of _0x3c4cb0){const _0x1671b7=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x2b464c),_0x419eae=_0x30958c[_0x2b464c],{f:_0x207d91,ranges:_0x4b13ed}=_0x419eae;let _0x18485c=!0x1;_0x1671b7&&(_0x18485c=!0x0);const {firstRow:_0xcc07c6,firstColumn:_0x51d45f}=this[_0x2087af(0x18b)](_0x4b13ed),_0x5ea3b4=this[_0x2087af(0x1e4)][_0x2087af(0x1ab)](_0x3b0226,_0x3d53a3,_0x2b464c),_0x110dc0=(_0x2c74af=_0x5ea3b4==null?void 0x0:_0x5ea3b4['getValue'](0x0,0x0))!=null?_0x2c74af:_0x3898d7(this[_0x2087af(0x1e4)]),_0x407f1f=new _0x5e385f(_0x110dc0);for(let _0x4f061f=0x0;_0x4f061f<_0x4b13ed[_0x2087af(0x177)];_0x4f061f++){const _0x5a35f5=_0x4b13ed[_0x4f061f],{startRow:_0x923cef,startColumn:_0x3bcb66,endRow:_0x165c04,endColumn:_0x383c9a}=_0x5a35f5;for(let _0x55b71c=_0x923cef;_0x55b71c<=_0x165c04;_0x55b71c++)for(let _0x415811=_0x3bcb66;_0x415811<=_0x383c9a;_0x415811++){const _0x45f215=_0x415811-_0x51d45f,_0x2c24d4=_0x55b71c-_0xcc07c6;if(_0x45f215===0x0&&_0x2c24d4===0x0){_0x407f1f['formula']=_0x207d91,_0x407f1f[_0x2087af(0x1bf)]=_0x3b0226,_0x407f1f[_0x2087af(0x155)]=_0x3d53a3,_0x407f1f[_0x2087af(0x185)]=_0x2b464c,_0x407f1f[_0x2087af(0x19e)]=_0x3f857e[_0x2087af(0x1e7)],_0x407f1f['isCache']=_0x18485c,_0x2f187b['push'](_0x407f1f),this[_0x2087af(0x1db)]['set'](_0x407f1f[_0x2087af(0x19d)],_0x407f1f),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x3b0226,_0x3d53a3,_0x2b464c,_0x407f1f),this[_0x2087af(0x1e4)]['addFormulaDependencyByDefinedName'](_0x407f1f);continue;}const _0x23ddab=new _0x506960();_0x23ddab[_0x2087af(0x19d)]=(_0x5ea3b4==null?void 0x0:_0x5ea3b4[_0x2087af(0x16b)](_0x45f215,_0x2c24d4))||_0x3898d7(this['_dependencyManagerService']),_0x23ddab[_0x2087af(0x1e5)]=_0x407f1f,_0x23ddab['refOffsetX']=_0x45f215,_0x23ddab[_0x2087af(0x1be)]=_0x2c24d4,_0x23ddab[_0x2087af(0x1e6)]=_0x18485c,this[_0x2087af(0x1e4)][_0x2087af(0x1c0)](_0x3b0226,_0x3d53a3,_0x2b464c,_0x23ddab),this[_0x2087af(0x1e4)][_0x2087af(0x1e0)](_0x23ddab),_0x2f187b[_0x2087af(0x169)](_0x23ddab),this['_dependencyTreeCache']['set'](_0x23ddab['treeId'],_0x23ddab);}}this[_0x2087af(0x1e4)][_0x2087af(0x1af)](_0x2b464c);}}}}['_registerFormulas'](_0x53a3ec,_0x5f2be5,_0x413564,_0x32b844){const _0x112954=_0x453506;for(const _0x2007fa of _0x53a3ec){const _0x1d1599=_0x5f2be5[_0x2007fa];if(_0x1d1599==null)continue;const _0x36be2f=Object[_0x112954(0x187)](_0x1d1599);for(const _0x5bb1b7 of _0x36be2f){const _0x24d1f1=new _0x3f0bbc(_0x1d1599[_0x5bb1b7]||{}),_0x2e312f=new Map();_0x24d1f1[_0x112954(0x1b1)]((_0x44390f,_0x5ed53e,_0x52d1fe)=>{const _0x4db182=_0x112954;if(_0x52d1fe==null)return!0x0;const {x:_0x570d6f=0x0,y:_0x305b49=0x0,si:_0xe60dd3}=_0x52d1fe;if(!(_0x570d6f===0x0&&_0x305b49===0x0&&_0xe60dd3!=null))return!0x0;const _0xa52017=this['_createFDtree'](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e,_0x413564,_0x52d1fe),_0x4b55f4=this[_0x4db182(0x1e4)][_0x4db182(0x1d3)](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e);_0x4b55f4!=null?_0xa52017['treeId']=_0x4b55f4:(this['_dependencyManagerService'][_0x4db182(0x1df)](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e,_0xa52017),this[_0x4db182(0x1e4)][_0x4db182(0x1e0)](_0xa52017)),_0x2e312f[_0x4db182(0x183)](_0xe60dd3,_0xa52017),_0x32b844[_0x4db182(0x169)](_0xa52017),this[_0x4db182(0x1db)][_0x4db182(0x183)](_0xa52017[_0x4db182(0x19d)],_0xa52017);}),_0x24d1f1[_0x112954(0x1b1)]((_0x1ec712,_0x34369f,_0xe18858)=>{const _0x2e0a12=_0x112954;if(_0xe18858==null)return!0x0;const {x:_0x33b089=0x0,y:_0x2853e2=0x0,si:_0x292d4a}=_0xe18858;if(_0x33b089===0x0&&_0x2853e2===0x0&&_0x292d4a!=null)return!0x0;let _0x1347aa;if(_0x292d4a&&_0x2e312f[_0x2e0a12(0x181)](_0x292d4a)){const _0x1d8e5a=_0x2e312f['get'](_0x292d4a);_0x1347aa=this[_0x2e0a12(0x15c)](_0x1d8e5a,_0xe18858);}else _0x1347aa=this['_createFDtree'](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f,_0x413564,_0xe18858);const _0x37532c=this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1d3)](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f);_0x37532c!=null?_0x1347aa[_0x2e0a12(0x19d)]=_0x37532c:(this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1df)](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f,_0x1347aa),this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1e0)](_0x1347aa)),_0x32b844[_0x2e0a12(0x169)](_0x1347aa),this[_0x2e0a12(0x1db)][_0x2e0a12(0x183)](_0x1347aa[_0x2e0a12(0x19d)],_0x1347aa);}),_0x2e312f[_0x112954(0x1d9)]();}}}['_createFDtree'](_0x2c697c,_0x151208,_0x21016c,_0x5e597f,_0x111973,_0xf59523){const _0x3ee9d8=_0x453506,{f:_0x1d11df,x:_0x420818=0x0,y:_0xf4bf84=0x0}=_0xf59523,_0x6e66fc=new _0x5e385f(_0x3898d7(this[_0x3ee9d8(0x1e4)])),_0x14e6fd=_0x111973[_0x2c697c][_0x151208];return _0x6e66fc['formula']=_0x1d11df,_0x6e66fc['unitId']=_0x2c697c,_0x6e66fc[_0x3ee9d8(0x155)]=_0x151208,_0x6e66fc['row']=_0x21016c,_0x6e66fc[_0x3ee9d8(0x184)]=_0x5e597f,_0x6e66fc[_0x3ee9d8(0x17d)]=_0x14e6fd[_0x3ee9d8(0x17d)],_0x6e66fc['columnCount']=_0x14e6fd[_0x3ee9d8(0x163)],_0x6e66fc;}[_0x453506(0x186)](){const _0x24f879=_0x453506,_0x31b7b7=[],_0x3edd59=new Set(),_0x43748b=this[_0x24f879(0x1c2)]['isForceCalculate'](),_0x350e7a=this[_0x24f879(0x1c2)][_0x24f879(0x1c9)](),_0x5a8d68=this[_0x24f879(0x1e4)][_0x24f879(0x19c)](_0x350e7a),_0x162e51=this['_dependencyRTreeCacheForAddressFunction'][_0x24f879(0x195)](_0x350e7a);for(const _0x1ba867 of _0x162e51)_0x5a8d68[_0x24f879(0x197)](_0x1ba867);for(const [_0x39f787,_0x1d3151]of this[_0x24f879(0x1db)])(_0x43748b||_0x1d3151['isDirty']||_0x1d3151[_0x24f879(0x1dd)](this['_currentConfigService'][_0x24f879(0x1c8)]())||_0x5a8d68[_0x24f879(0x181)](_0x39f787)&&!_0x1d3151[_0x24f879(0x1b7)](this['_currentConfigService'][_0x24f879(0x164)]()))&&!_0x3edd59[_0x24f879(0x181)](_0x39f787)&&(_0x31b7b7['push'](_0x1d3151),_0x3edd59['add'](_0x39f787));for(const [_0x530ea2,_0x389af2]of this[_0x24f879(0x1db)])_0x389af2[_0x24f879(0x154)]||(_0x389af2[_0x24f879(0x153)][_0x24f879(0x177)]=0x0);return _0x31b7b7;}[_0x453506(0x1d2)](_0x5a8fe0){const _0x3aa77e=_0x453506;return this[_0x3aa77e(0x1db)]['get'](_0x5a8fe0);}['_getTreeNode'](_0x1373e4){const _0x17e8d6=_0x453506;return _0x8b5b46(_0x1373e4['unitId'],_0x1373e4[_0x17e8d6(0x17e)],this[_0x17e8d6(0x182)],this[_0x17e8d6(0x1de)],this[_0x17e8d6(0x1c2)]);}*[_0x453506(0x1b8)](_0x4e8598,_0x4e92eb){const _0x5c96d2=_0x453506,_0x4c332a=_0x4e8598,_0x1ecdd2=new Set();for(;_0x4c332a['length']>0x0;){const _0x415432=_0x4c332a['pop']();if(_0x1ecdd2[_0x5c96d2(0x1d9)](),_0x415432===void 0x0||_0x415432[_0x5c96d2(0x1b5)]())continue;if(_0x415432[_0x5c96d2(0x159)]()){yield _0x415432,_0x415432[_0x5c96d2(0x193)](),_0x4e92eb[_0x5c96d2(0x197)](_0x415432[_0x5c96d2(0x19d)]);continue;}const _0x83ed9a=this['_dependencyManagerService']['searchDependency'](_0x415432[_0x5c96d2(0x179)](),_0x4e92eb),_0x5af2bd=this[_0x5c96d2(0x191)]['bulkSearch'](_0x415432[_0x5c96d2(0x179)](),_0x4e92eb);for(const _0x29a55f of _0x5af2bd)_0x83ed9a['add'](_0x29a55f);for(const _0x677306 of _0x83ed9a){const _0x1ef318=this['_dependencyTreeCache'][_0x5c96d2(0x1c1)](_0x677306);if(!_0x1ef318)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x1ef318[_0x5c96d2(0x159)]()||_0x415432[_0x5c96d2(0x1b5)]()||_0x1ecdd2['add'](_0x1ef318);}if(_0x83ed9a[_0x5c96d2(0x1d9)](),_0x1ecdd2[_0x5c96d2(0x1a4)]===0x0)yield _0x415432,_0x415432[_0x5c96d2(0x193)](),_0x4e92eb[_0x5c96d2(0x197)](_0x415432[_0x5c96d2(0x19d)]);else{_0x415432['setAdded'](),_0x4c332a[_0x5c96d2(0x169)](_0x415432);for(const _0x1a0113 of _0x1ecdd2)_0x4c332a[_0x5c96d2(0x169)](_0x1a0113);}}_0x4c332a[_0x5c96d2(0x177)]=0x0,_0x1ecdd2[_0x5c96d2(0x1d9)]();}[_0x453506(0x1ac)](_0x56ce46){const _0x3b63b3=_0x453506,_0x215d35=[],_0x5624aa=new Set();for(const _0x24cd56 of this[_0x3b63b3(0x1b8)](_0x56ce46,_0x5624aa))_0x215d35[_0x3b63b3(0x169)](_0x24cd56);return _0x215d35;}}class de extends _0x3cbdb0{async['_apply'](_0x2f5c35=!0x1){const _0xeb7248=_0x453506;_0x2f5c35?this['_runtimeService'][_0xeb7248(0x1ea)](_0x9fff84['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x19b)]),this['_executionInProgressListener$']['next'](this[_0xeb7248(0x1ad)][_0xeb7248(0x18a)]());const _0x30485e=await this['_formulaDependencyGenerator'][_0xeb7248(0x158)](),_0x3574db=this[_0xeb7248(0x1ce)];_0x2f5c35?(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x192)]),this[_0xeb7248(0x1ad)][_0xeb7248(0x161)](_0x30485e['length'])):(this['_runtimeService'][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x17b)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x30485e['length'])),this[_0xeb7248(0x188)]['next'](this['_runtimeService'][_0xeb7248(0x18a)]());let _0x2539a2=[];const _0x182720=this[_0xeb7248(0x1a3)][_0xeb7248(0x1b4)](_0x1575bd),_0x682b22=(_0x182720==null?void 0x0:_0x182720['intervalCount'])||_0x529e86;let _0x25d40e=0x0;const _0x40ea6d=_0x30485e[_0xeb7248(0x177)];for(;_0x30485e['length']>0x0;){const _0x45742d=_0x30485e[_0xeb7248(0x180)](),_0x217901={'node':_0x8b5b46(_0x45742d['unitId'],_0x45742d[_0xeb7248(0x17e)],this[_0xeb7248(0x182)],this[_0xeb7248(0x1de)],this[_0xeb7248(0x1c2)]),'refOffsetX':_0x45742d['refOffsetX'],'refOffsetY':_0x45742d[_0xeb7248(0x1be)]},_0x20cadf=_0x45742d[_0xeb7248(0x19f)];if(_0x25d40e%_0x682b22===0x0&&(await new Promise(_0x4c27a2=>{const _0x368bcb=_0xeb7248,_0x16b310=_0x537521(_0x4c27a2);_0x2539a2[_0x368bcb(0x169)](_0x16b310);}),_0x2f5c35?(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x1a1)]),this[_0xeb7248(0x1ad)][_0xeb7248(0x19a)](_0x25d40e+0x1)):(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84['CURRENTLY_CALCULATING']),this[_0xeb7248(0x1ad)]['setCompletedFormulasCount'](_0x25d40e+0x1)),this[_0xeb7248(0x188)][_0xeb7248(0x1b3)](this[_0xeb7248(0x1ad)][_0xeb7248(0x18a)]()),this[_0xeb7248(0x1ad)]['isStopExecution']()||_0x217901==null&&_0x20cadf==null)){this[_0xeb7248(0x1ad)]['setFormulaExecuteStage'](_0x9fff84[_0xeb7248(0x18c)]),this['_runtimeService'][_0xeb7248(0x1a5)](),this[_0xeb7248(0x16a)][_0xeb7248(0x1b3)](this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]());return;}this[_0xeb7248(0x1ad)][_0xeb7248(0x1b9)](_0x45742d['row'],_0x45742d['column'],_0x45742d[_0xeb7248(0x17d)],_0x45742d[_0xeb7248(0x163)],_0x45742d[_0xeb7248(0x155)],_0x45742d[_0xeb7248(0x1bf)]);let _0x1b02c0;if(_0x20cadf!=null&&_0x45742d['featureId']!=null){const {runtimeCellData:_0x3846f5,dirtyRanges:_0x540495}=_0x20cadf(this['_currentConfigService'][_0xeb7248(0x19f)](),this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]());this[_0xeb7248(0x1ad)]['setRuntimeFeatureCellData'](_0x45742d[_0xeb7248(0x1d1)],_0x3846f5),this[_0xeb7248(0x1ad)][_0xeb7248(0x174)](_0x45742d[_0xeb7248(0x1d1)],_0x540495);}else _0x217901!=null&&(_0x3574db['checkAsyncNode'](_0x217901[_0xeb7248(0x168)])?_0x1b02c0=await _0x3574db[_0xeb7248(0x172)](_0x217901):_0x1b02c0=_0x3574db[_0xeb7248(0x17f)](_0x217901),_0x45742d[_0xeb7248(0x185)]!=null?this[_0xeb7248(0x1ad)][_0xeb7248(0x1da)](_0x45742d[_0xeb7248(0x185)],_0x45742d[_0xeb7248(0x1cf)],_0x45742d[_0xeb7248(0x1be)],_0x1b02c0):this[_0xeb7248(0x1ad)][_0xeb7248(0x17c)](_0x1b02c0));_0x25d40e++;}return _0x2539a2['forEach'](_0x4f27da=>_0x4f27da()),_0x2539a2=[],_0x40ea6d>0x0?this[_0xeb7248(0x1ad)]['markedAsSuccessfullyExecuted']():_0x2f5c35||this[_0xeb7248(0x1ad)][_0xeb7248(0x1ae)](),this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]();}}class fe extends _0x27e3f6{constructor(){const _0x3082db=_0x453506;super(...arguments),S(this,_0x3082db(0x1d5),new Map()),S(this,_0x3082db(0x1bb),new _0x1bf844(!0x0));}[_0x453506(0x1c4)](){const _0xe1e17f=_0x453506;this[_0xe1e17f(0x1cc)][_0xe1e17f(0x1d9)](),this['_featureFormulaData']['clear'](),this[_0xe1e17f(0x166)][_0xe1e17f(0x1d9)](),this[_0xe1e17f(0x1bb)][_0xe1e17f(0x1d9)](),this['_allTreeMap'][_0xe1e17f(0x1d9)](),this[_0xe1e17f(0x167)](),this[_0xe1e17f(0x1c5)][_0xe1e17f(0x1d9)]();}[_0x453506(0x1c0)](_0x5b8e81,_0x1db87c,_0x413cef,_0x570735){const _0x3d1420=_0x453506;this['_otherFormulaData']['has'](_0x5b8e81)||this[_0x3d1420(0x1cc)][_0x3d1420(0x183)](_0x5b8e81,new Map());const _0x23137e=this[_0x3d1420(0x1cc)][_0x3d1420(0x1c1)](_0x5b8e81);_0x23137e[_0x3d1420(0x181)](_0x1db87c)||_0x23137e['set'](_0x1db87c,new Map());const _0x41214b=_0x23137e[_0x3d1420(0x1c1)](_0x1db87c);_0x41214b[_0x3d1420(0x181)](_0x413cef)||_0x41214b[_0x3d1420(0x183)](_0x413cef,new _0x3f0bbc()),_0x41214b[_0x3d1420(0x1c1)](_0x413cef)[_0x3d1420(0x1b0)](_0x570735['refOffsetX'],_0x570735['refOffsetY'],_0x570735[_0x3d1420(0x19d)]);}[_0x453506(0x15a)](_0x579583,_0x2ae0d1,_0x57ca93){const _0x2c4bdb=_0x453506,_0x32772e=this[_0x2c4bdb(0x1cc)][_0x2c4bdb(0x1c1)](_0x579583);if(_0x32772e&&_0x32772e[_0x2c4bdb(0x181)](_0x2ae0d1)){const _0x1886da=_0x32772e['get'](_0x2ae0d1);_0x57ca93[_0x2c4bdb(0x1bd)](_0x2991c1=>{const _0x56a59e=_0x2c4bdb,_0x3ad408=_0x1886da[_0x56a59e(0x1c1)](_0x2991c1);_0x3ad408!=null&&(_0x3ad408['forValue']((_0xde4f79,_0x2bd0a5,_0x562544)=>{const _0x989b5c=_0x56a59e;this[_0x989b5c(0x1a7)](_0x562544),this[_0x989b5c(0x15e)](_0x562544);}),_0x1886da[_0x56a59e(0x16c)](_0x2991c1),this[_0x56a59e(0x1c5)]['delete'](_0x2991c1));}),_0x1886da[_0x2c4bdb(0x1a4)]===0x0&&_0x32772e[_0x2c4bdb(0x16c)](_0x2ae0d1),_0x32772e[_0x2c4bdb(0x1a4)]===0x0&&this[_0x2c4bdb(0x1cc)]['delete'](_0x579583);}}[_0x453506(0x1d8)](_0x28a272,_0x50f058){const _0x393465=_0x453506,_0xd02bbb=this[_0x393465(0x1cc)]['get'](_0x28a272);if(_0x50f058&&_0xd02bbb&&_0xd02bbb[_0x393465(0x181)](_0x50f058)){const _0x1cc8db=_0xd02bbb[_0x393465(0x1c1)](_0x50f058);this['_removeDependencyRTreeCacheById'](_0x28a272,_0x50f058);for(const _0x20c382 of _0x1cc8db[_0x393465(0x187)]()){const _0x5c170a=_0x1cc8db[_0x393465(0x1c1)](_0x20c382);_0x5c170a!=null&&(_0x5c170a[_0x393465(0x1b1)]((_0x5b0751,_0x3de800,_0xf8baeb)=>{const _0xdea7e5=_0x393465;this[_0xdea7e5(0x1d5)]['get'](_0xf8baeb)&&this[_0xdea7e5(0x15e)](_0xf8baeb);}),this['_otherFormulaDataMainData']['delete'](_0x20c382));}_0x1cc8db[_0x393465(0x1d9)]();}else{if(_0xd02bbb){for(const _0x5e7ed5 of _0xd02bbb['keys']()){const _0x2e6466=_0xd02bbb[_0x393465(0x1c1)](_0x5e7ed5);this[_0x393465(0x157)](_0x28a272,_0x5e7ed5);for(const _0x3e26ec of _0x2e6466[_0x393465(0x187)]()){const _0x20e756=_0x2e6466['get'](_0x3e26ec);_0x20e756!=null&&(_0x20e756[_0x393465(0x1b1)]((_0xf564a3,_0x19f0b4,_0x21b555)=>{const _0x1d9778=_0x393465;this['_allTreeMap'][_0x1d9778(0x1c1)](_0x21b555)&&this[_0x1d9778(0x15e)](_0x21b555);}),this[_0x393465(0x1c5)][_0x393465(0x16c)](_0x3e26ec));}}this[_0x393465(0x1cc)][_0x393465(0x16c)](_0x28a272);}}}['addFeatureFormulaDependency'](_0x35b1cf,_0x4a9761,_0x54e72a,_0x410843){const _0x50f739=_0x453506;this[_0x50f739(0x15b)][_0x50f739(0x181)](_0x35b1cf)||this[_0x50f739(0x15b)][_0x50f739(0x183)](_0x35b1cf,new Map());const _0x15a944=this[_0x50f739(0x15b)][_0x50f739(0x1c1)](_0x35b1cf);_0x15a944[_0x50f739(0x181)](_0x4a9761)||_0x15a944[_0x50f739(0x183)](_0x4a9761,new Map()),_0x15a944[_0x50f739(0x1c1)](_0x4a9761)[_0x50f739(0x183)](_0x54e72a,_0x410843[_0x50f739(0x19d)]);}['removeFeatureFormulaDependency'](_0x4775be,_0x2c793c,_0x4b6c78){const _0x355244=_0x453506,_0x5735b8=this[_0x355244(0x15b)][_0x355244(0x1c1)](_0x4775be);if(_0x5735b8&&_0x5735b8[_0x355244(0x181)](_0x2c793c)){const _0x3a61fc=_0x5735b8['get'](_0x2c793c);_0x4b6c78[_0x355244(0x1bd)](_0x355c3e=>{const _0x5c0733=_0x355244,_0x20e9f0=_0x3a61fc[_0x5c0733(0x1c1)](_0x355c3e);_0x20e9f0!=null&&(this[_0x5c0733(0x1a7)](_0x20e9f0),_0x3a61fc[_0x5c0733(0x16c)](_0x355c3e),this[_0x5c0733(0x15e)](_0x20e9f0));});}}['clearFeatureFormulaDependency'](_0x245ce9,_0x14a8b7){const _0x55cfc2=_0x453506,_0x5d2ac4=this[_0x55cfc2(0x15b)]['get'](_0x245ce9);if(_0x14a8b7&&_0x5d2ac4&&_0x5d2ac4[_0x55cfc2(0x181)](_0x14a8b7)){const _0x58a176=_0x5d2ac4['get'](_0x14a8b7);this[_0x55cfc2(0x157)](_0x245ce9,_0x14a8b7),_0x58a176[_0x55cfc2(0x1bd)](_0x2df6aa=>{const _0x473046=_0x55cfc2;_0x2df6aa!=null&&this[_0x473046(0x15e)](_0x2df6aa);}),_0x58a176['clear']();}else _0x5d2ac4&&(_0x5d2ac4['forEach']((_0x3f44c8,_0x4f303c)=>{const _0x4a22e4=_0x55cfc2;this[_0x4a22e4(0x157)](_0x245ce9,_0x4f303c),_0x3f44c8[_0x4a22e4(0x1bd)](_0x38c29a=>{const _0x227111=_0x4a22e4;_0x38c29a!=null&&this[_0x227111(0x15e)](_0x38c29a);});}),this[_0x55cfc2(0x15b)][_0x55cfc2(0x16c)](_0x245ce9));}[_0x453506(0x1df)](_0x4d3f5a,_0x4b40fb,_0x262e4e,_0x291279,_0x5d01eb){const _0xb2abb9=_0x453506;this[_0xb2abb9(0x166)][_0xb2abb9(0x181)](_0x4d3f5a)||this[_0xb2abb9(0x166)][_0xb2abb9(0x183)](_0x4d3f5a,new Map());const _0x52b458=this['_formulaData'][_0xb2abb9(0x1c1)](_0x4d3f5a);_0x52b458[_0xb2abb9(0x181)](_0x4b40fb)||_0x52b458[_0xb2abb9(0x183)](_0x4b40fb,new _0x3f0bbc()),_0x52b458[_0xb2abb9(0x1c1)](_0x4b40fb)[_0xb2abb9(0x1b0)](_0x262e4e,_0x291279,_0x5d01eb[_0xb2abb9(0x19d)]);}['removeFormulaDependency'](_0x2245b2,_0x1477c9,_0x3e2c2d,_0x1e7b2a){const _0x14b06c=_0x453506,_0x29872c=this[_0x14b06c(0x166)]['get'](_0x2245b2);if(_0x29872c&&_0x29872c[_0x14b06c(0x181)](_0x1477c9)){const _0x1a224c=_0x29872c[_0x14b06c(0x1c1)](_0x1477c9),_0x4f3bc5=_0x1a224c['getValue'](_0x3e2c2d,_0x1e7b2a);if(_0x4f3bc5==null)return;this[_0x14b06c(0x1a7)](_0x4f3bc5),_0x1a224c[_0x14b06c(0x18d)](_0x3e2c2d,_0x1e7b2a),this[_0x14b06c(0x15e)](_0x4f3bc5);}}[_0x453506(0x165)](_0x53ae2f,_0x1228c9){const _0x4c4e1d=_0x453506,_0x23ca37=this[_0x4c4e1d(0x166)][_0x4c4e1d(0x1c1)](_0x53ae2f);if(_0x1228c9&&_0x23ca37&&_0x23ca37[_0x4c4e1d(0x181)](_0x1228c9)){const _0x37ce53=_0x23ca37[_0x4c4e1d(0x1c1)](_0x1228c9);this[_0x4c4e1d(0x157)](_0x53ae2f,_0x1228c9),_0x37ce53[_0x4c4e1d(0x1b1)]((_0x3d9b3d,_0x32be94,_0x3cc40a)=>{if(_0x3cc40a==null)return!0x0;this['_removeAllTreeMap'](_0x3cc40a);}),_0x37ce53[_0x4c4e1d(0x1c4)]();}else _0x23ca37&&(_0x23ca37[_0x4c4e1d(0x1bd)]((_0x332c9b,_0x570c47)=>{const _0x446683=_0x4c4e1d;this['_removeDependencyRTreeCacheById'](_0x53ae2f,_0x570c47),_0x332c9b[_0x446683(0x1b1)]((_0x243aa8,_0x10a693,_0x5b666e)=>{const _0x378cab=_0x446683;if(_0x5b666e==null)return!0x0;this[_0x378cab(0x15e)](_0x5b666e);});}),this[_0x4c4e1d(0x166)][_0x4c4e1d(0x16c)](_0x53ae2f));}[_0x453506(0x1a7)](_0x5dc259){const _0x5d446b=_0x453506;if(_0x5dc259==null)return;const _0x11e27b=this[_0x5d446b(0x1d5)][_0x5d446b(0x1c1)](_0x5dc259);if(_0x11e27b){const _0x41b77c=[];for(const [_0x424076,_0x1d313c]of _0x11e27b)for(const [_0x239ba2,_0x4fe4f3]of _0x1d313c)_0x41b77c[_0x5d446b(0x169)]({'unitId':_0x424076,'sheetId':_0x239ba2,'range':_0x4fe4f3,'id':_0x5dc259});this[_0x5d446b(0x1bb)][_0x5d446b(0x1e2)](_0x41b77c);}}['removeFormulaDependencyByDefinedName'](_0x311353,_0x480afe){const _0x32a5fd=_0x453506,_0x256b0e=this[_0x32a5fd(0x1ba)][_0x32a5fd(0x1c1)](_0x311353);if(_0x256b0e){const _0x2ae24e=_0x256b0e[_0x32a5fd(0x1c1)](_0x480afe);if(_0x2ae24e){for(const _0x5a6a21 of _0x2ae24e)this['_removeDependencyRTreeCache'](_0x5a6a21),this[_0x32a5fd(0x15e)](_0x5a6a21);_0x2ae24e[_0x32a5fd(0x1d9)]();}}}[_0x453506(0x16f)](){const _0x3dd50f=_0x453506;this[_0x3dd50f(0x1bb)][_0x3dd50f(0x16f)]();}[_0x453506(0x15f)](){const _0x3d54ea=_0x453506;this[_0x3d54ea(0x1bb)]['closeKdTree']();}['_removeAllTreeMap'](_0x2dae5e){const _0x117c78=_0x453506;_0x2dae5e!=null&&this[_0x117c78(0x1d5)][_0x117c78(0x16c)](_0x2dae5e);}[_0x453506(0x16d)](_0x32e6e8){const _0x32437e=_0x453506;var _0x4dfe0e,_0x46e63f;const _0x32f4f9=_0x32e6e8[_0x32437e(0x153)];let _0x323b63=this[_0x32437e(0x1d5)]['get'](_0x32e6e8['treeId']);for(let _0x1739c9=0x0;_0x1739c9<_0x32f4f9['length'];_0x1739c9++){const _0x44a050=_0x32f4f9[_0x1739c9];let {unitId:_0xdfae8b,sheetId:_0x50cb75,range:_0x5223ee}=_0x44a050;_0x323b63||(_0x323b63=new Map(),this[_0x32437e(0x1d5)]['set'](_0x32e6e8[_0x32437e(0x19d)],_0x323b63)),_0x323b63[_0x32437e(0x181)](_0xdfae8b)||_0x323b63['set'](_0xdfae8b,new Map());const _0x625ca=(_0x4dfe0e=_0x323b63==null?void 0x0:_0x323b63['get'](_0xdfae8b))==null?void 0x0:_0x4dfe0e[_0x32437e(0x1c1)](_0x50cb75);_0x625ca&&(_0x5223ee={'startRow':Math[_0x32437e(0x1a8)](_0x5223ee[_0x32437e(0x189)],_0x625ca[_0x32437e(0x189)]),'startColumn':Math[_0x32437e(0x1a8)](_0x5223ee[_0x32437e(0x18f)],_0x625ca[_0x32437e(0x18f)]),'endRow':Math[_0x32437e(0x1c7)](_0x5223ee[_0x32437e(0x1a9)],_0x625ca[_0x32437e(0x1a9)]),'endColumn':Math[_0x32437e(0x1c7)](_0x5223ee[_0x32437e(0x1a0)],_0x625ca[_0x32437e(0x1a0)])}),(_0x46e63f=_0x323b63[_0x32437e(0x1c1)](_0xdfae8b))==null||_0x46e63f[_0x32437e(0x183)](_0x50cb75,_0x5223ee);}}}var pe=Object['getOwnPropertyDescriptor'],_e=(_0x213961,_0x37fd00,_0x3f10ea,_0x1e89d7)=>{const _0x2e4ab3=_0x453506;for(var _0x518431=_0x1e89d7>0x1?void 0x0:_0x1e89d7?pe(_0x37fd00,_0x3f10ea):_0x37fd00,_0x1e6e2f=_0x213961[_0x2e4ab3(0x177)]-0x1,_0x1f8728;_0x1e6e2f>=0x0;_0x1e6e2f--)(_0x1f8728=_0x213961[_0x1e6e2f])&&(_0x518431=_0x1f8728(_0x518431)||_0x518431);return _0x518431;};const me=Number['parseInt'](0x68c51356);function _0x3003(_0x5ad1af,_0x4f090d){const _0x4c27a3=_0x4c27();return _0x3003=function(_0x30039c,_0x18c937){_0x30039c=_0x30039c-0x152;let _0x1fa3dc=_0x4c27a3[_0x30039c];return _0x1fa3dc;},_0x3003(_0x5ad1af,_0x4f090d);}let N=class extends _0x46a0df{['_initializeWithOverride'](){const _0x554c08=_0x453506;var _0x3f7275,_0x1d623b;this[_0x554c08(0x1e8)]()?(_0x3f7275=this[_0x554c08(0x1e9)])!=null&&_0x3f7275[_0x554c08(0x1c6)]||[[_0x2354d7,{'useClass':de}],[_0x37c025,{'useClass':fe}],[_0x295b77,{'useClass':he}]]['forEach'](_0x24c408=>this['_injector'][_0x554c08(0x197)](_0x24c408)):(_0x1d623b=this[_0x554c08(0x1e9)])!=null&&_0x1d623b['notExecuteFormula']||[[_0x2354d7,{'useClass':_0x3cbdb0}],[_0x37c025,{'useClass':_0x2afed7}],[_0x295b77,{'useClass':_0x588a37}]][_0x554c08(0x1bd)](_0x38e361=>this[_0x554c08(0x1b2)]['add'](_0x38e361));}[_0x453506(0x1e8)](){const _0x3a3be4=_0x453506;var _0xc6d656;const _0x1fbf4c=(_0xc6d656=this[_0x3a3be4(0x1a3)]['getConfig'](_0x401518))!=null?_0xc6d656:{},{ls:_0x287fe3,pbk:_0x22b630}=_0x1fbf4c;if(!_0x287fe3||!_0x22b630)return!0x1;const _0x10a057=_0x114aea(le,ue),_0x265d92=new Function(_0x3a3be4(0x178)+_0x10a057)()(_0x287fe3,_0x22b630),_0x5c56c4=_0x265d92[_0x3a3be4(0x160)];return _0x265d92[_0x3a3be4(0x1bc)]&&_0x3e0a3e(_0x5c56c4,'sf',me)?_0x3912d8(_0x5c56c4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=_e([_0xc8a18(_0x5d9f22)],N);export{N as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x1c29(_0x24f12e,_0x1123ca){var _0xf203d=_0xf203();return _0x1c29=function(_0x1c29d2,_0x1a9a5d){_0x1c29d2=_0x1c29d2-0xfa;var _0x474051=_0xf203d[_0x1c29d2];return _0x474051;},_0x1c29(_0x24f12e,_0x1123ca);}(function(_0x1de71a,_0x2ad607){var _0x528d65=_0x1c29,_0x3922f5=_0x1de71a();while(!![]){try{var _0x216911=parseInt(_0x528d65(0x101))/0x1+-parseInt(_0x528d65(0xfa))/0x2*(-parseInt(_0x528d65(0x102))/0x3)+-parseInt(_0x528d65(0x100))/0x4+parseInt(_0x528d65(0xfe))/0x5+-parseInt(_0x528d65(0xfd))/0x6+parseInt(_0x528d65(0xff))/0x7*(parseInt(_0x528d65(0xfb))/0x8)+-parseInt(_0x528d65(0xfc))/0x9;if(_0x216911===_0x2ad607)break;else _0x3922f5['push'](_0x3922f5['shift']());}catch(_0x5b54b6){_0x3922f5['push'](_0x3922f5['shift']());}}}(_0xf203,0xc4790));export*from'@univerjs/engine-formula/facade';function _0xf203(){var _0xbe888e=['329DRgsoU','1010440atopaL','405434RdRLVv','2703XGfkQG','2952YbVOBy','243056cqutyJ','21998466EFgssU','2320512qJxoZl','3625620ULEfjk'];_0xf203=function(){return _0xbe888e;};return _0xf203();}
1
+ function _0x25c5(_0x430ee6,_0x5cf566){var _0x475f3a=_0x475f();return _0x25c5=function(_0x25c5f4,_0x3c5167){_0x25c5f4=_0x25c5f4-0x15e;var _0x5ca8bf=_0x475f3a[_0x25c5f4];return _0x5ca8bf;},_0x25c5(_0x430ee6,_0x5cf566);}(function(_0x5aeab6,_0x5f4e06){var _0x5dc492=_0x25c5,_0x4438ad=_0x5aeab6();while(!![]){try{var _0x3f4f4b=-parseInt(_0x5dc492(0x163))/0x1+-parseInt(_0x5dc492(0x165))/0x2*(-parseInt(_0x5dc492(0x160))/0x3)+parseInt(_0x5dc492(0x15f))/0x4*(parseInt(_0x5dc492(0x15e))/0x5)+-parseInt(_0x5dc492(0x167))/0x6*(parseInt(_0x5dc492(0x168))/0x7)+-parseInt(_0x5dc492(0x166))/0x8+-parseInt(_0x5dc492(0x162))/0x9*(-parseInt(_0x5dc492(0x164))/0xa)+-parseInt(_0x5dc492(0x161))/0xb;if(_0x3f4f4b===_0x5f4e06)break;else _0x4438ad['push'](_0x4438ad['shift']());}catch(_0x227568){_0x4438ad['push'](_0x4438ad['shift']());}}}(_0x475f,0x8e77f));function _0x475f(){var _0x5ea8e1=['551844BCLfYN','671427QpkZHP','150MGBRHJ','2HWHiIr','1469400uknphG','508692VCPTIb','49ONsGoe','10eHghzg','2099596TgKZqW','2369355gJxRaA','7999156xzOtPA'];_0x475f=function(){return _0x5ea8e1;};return _0x475f();}export*from'@univerjs/engine-formula/facade';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4129(_0x1d9b2e,_0xb5384b){const _0x4732d2=_0x4732();return _0x4129=function(_0x41293c,_0x2cd455){_0x41293c=_0x41293c-0x88;let _0x5c59c8=_0x4732d2[_0x41293c];return _0x5c59c8;},_0x4129(_0x1d9b2e,_0xb5384b);}const _0x41bada=_0x4129;(function(_0x4ed1b4,_0x2a643a){const _0x4f3bf5=_0x4129,_0x3acec7=_0x4ed1b4();while(!![]){try{const _0x367fe1=parseInt(_0x4f3bf5(0xbe))/0x1*(-parseInt(_0x4f3bf5(0xb1))/0x2)+parseInt(_0x4f3bf5(0x109))/0x3*(parseInt(_0x4f3bf5(0xd3))/0x4)+-parseInt(_0x4f3bf5(0xb3))/0x5*(-parseInt(_0x4f3bf5(0xdc))/0x6)+parseInt(_0x4f3bf5(0x97))/0x7*(-parseInt(_0x4f3bf5(0xed))/0x8)+parseInt(_0x4f3bf5(0xe1))/0x9*(-parseInt(_0x4f3bf5(0x88))/0xa)+parseInt(_0x4f3bf5(0x91))/0xb+parseInt(_0x4f3bf5(0x8d))/0xc*(parseInt(_0x4f3bf5(0x110))/0xd);if(_0x367fe1===_0x2a643a)break;else _0x3acec7['push'](_0x3acec7['shift']());}catch(_0x9f1dad){_0x3acec7['push'](_0x3acec7['shift']());}}}(_0x4732,0xa978f));var z=Object['defineProperty'],W=(_0x136712,_0x5d3660,_0x17095b)=>_0x5d3660 in _0x136712?z(_0x136712,_0x5d3660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17095b}):_0x136712[_0x5d3660]=_0x17095b,I=(_0x45841d,_0x45854f,_0xcc2573)=>W(_0x45841d,typeof _0x45854f!=_0x41bada(0xe5)?_0x45854f+'':_0x45854f,_0xcc2573);import{UniverLicensePlugin as _0x3a0e6e,LS_CONFIG_KEY as _0x317615,unshiftString as _0x2463bf,isFeatureAuthorizedWithinTime as _0x3d42ba,getSheetFeatureLimit as _0x3c153a}from'@univerjs-pro/license';import{ObjectMatrix as _0x11ab1c,requestImmediateMacroTask as _0x6ccd12,RTree as _0xb9182a,DependentOn as _0x190b9a}from'@univerjs/core';import{FormulaDependencyGenerator as _0x10e6df,generateRandomDependencyTreeId as _0xa8ff94,FormulaDependencyTree as _0x53885a,FormulaDependencyTreeType as _0x34cea1,FormulaDependencyTreeVirtual as _0x552a76,generateAstNode as _0xb8e236,CalculateFormulaService as _0x453d1f,FormulaExecuteStageType as _0x444fe5,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xd0dde6,DEFAULT_INTERVAL_COUNT as _0x171aac,DependencyManagerBaseService as _0x160d16,UniverFormulaEnginePlugin as _0x11a7e5,ICalculateFormulaService as _0x41d0f3,IDependencyManagerService as _0x3901f0,IFormulaDependencyGenerator as _0x3d9c53,DependencyManagerService as _0x35aa0c}from'@univerjs/engine-formula';function _0x4732(){const _0x3b724d=['_checkIsCycleDependency','toRTreeItem','refTree','_initializeWithOverride','_featureFormulaData','_dependencyManagerService','getOwnPropertyDescriptor','reset','setTotalFormulasToCalculate','generate','clearFormulaDependency','_otherFormulaData','1172895nYdMDl','dirtyRanges','_allTreeMap','_executionInProgressListener$','_initLicenseValid','_traverse','markedAsSuccessfullyExecuted','390130ZHwHVo','addFormulaDependencyByDefinedName','getExcludedRange','_injector','_removeAllTreeMap','forEach','markedAsNoFunctionsExecuted','getValue','parseInt','row','max','_astTreeBuilder','getClearDependencyTreeCache','markedAsStopFunctionsExecuted','set','_addAllTreeMap','refOffsetX','getRuntimeState','setRuntimeFeatureCellData','bulkSearch','43730ITyrFd','_getTreeById','next','closeKdTree','isCache','24UcJYJU','formulaId','treeId','executeAsync','10596014dMWXeh','START_CALCULATION_ARRAY_FORMULA','setSkip','enableCycleDependency','_getFeatureFormulaTree','getDirtyNameMap','14LQMhQw','setCompletedArrayFormulasCount','message','_isCyclicUtilMap','endColumn','clear','type','_registerFormulas','bulkRemove','_dependencyTreeCache','startColumn','subUnitId','getAllRuntimeData','isForceCalculate','dependencySheetName','_runtimeService','_formulaData','_apply','_removeDependencyRTreeCache','_configService','length','min','size','checkAsyncNode','getDirtyRanges','pop','2fMrGRl','_removeDependencyRTreeCacheById','2299790eSkhbB','_convertDirtyRangesToUnitRange','OTHER_FORMULA','removeFormulaDependency','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','delete','get','_getFirstCellOfRange','dispose','notExecuteFormula','229268bpBfwW','isStopExecution','valid','_createFDtree','getFormulaDependency','column','searchDependency','keys','add','ParentDependencyTree\x20object\x20is\x20null','startRow','_dependencyRTreeCache','_interpreter','_currentConfigService','_otherFormulaDataMainData','isAdded','isDirty','formula','addOtherFormulaDependencyMainData','refOffsetY','_calculateRunList','4zlwxAe','rangeList','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeOtherData','forValue','setRuntimeFeatureRange','push','setValue','_formulaDependencyGenerator','6cMrMGm','removeOtherFormulaDependency','addFormulaDependency','setAdded','addOtherFormulaDependency','864rKUjgH','getOtherFormulaData','unitId','START_CALCULATION','symbol','CURRENTLY_CALCULATING','columnCount','_updateRangeFlatten','_lexer','_otherFormulaManagerService','addFeatureFormulaDependency','_createVirtualFDtree','2123928NsarpF','getDirtyData','setTotalArrayFormulasToCalculate','rowCount','intervalCount','IDLE','_definedNameMap','setCompletedFormulasCount','openKdTree','clearOtherFormulaDependency','XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','featureId','has','setFormulaExecuteStage','_config','clearFeatureFormulaDependency'];_0x4732=function(){return _0x3b724d;};return _0x4732();}export*from'@univerjs/engine-formula';const le={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},ue=_0x41bada(0xf7);class de extends _0x10e6df{constructor(){super(...arguments),I(this,'_dependencyTreeCache',new Map());}[_0x41bada(0xbc)](){const _0x2c57f4=_0x41bada;super[_0x2c57f4(0xbc)](),this[_0x2c57f4(0xa0)][_0x2c57f4(0x9c)]();}async[_0x41bada(0x106)](){const _0x32a508=_0x41bada;this[_0x32a508(0xe8)]();const _0x518e65=this[_0x32a508(0xcb)]['getFormulaData'](),_0x46dde8=this[_0x32a508(0xea)][_0x32a508(0xe2)](),_0x5b9b2a=this[_0x32a508(0xcb)][_0x32a508(0x11c)]();_0x5b9b2a!=null&&Object[_0x32a508(0xc5)](_0x5b9b2a)[_0x32a508(0x115)](_0xc02489=>{const _0x4c07b5=_0x32a508;_0xc02489!=null&&Object[_0x4c07b5(0xc5)](_0x5b9b2a[_0xc02489])[_0x4c07b5(0x115)](_0x406ab7=>{const _0x1858ca=_0x4c07b5;_0x406ab7!=null&&(this['_dependencyManagerService'][_0x1858ca(0xf6)](_0xc02489,_0x406ab7),this['_dependencyManagerService'][_0x1858ca(0xfc)](_0xc02489,_0x406ab7),this[_0x1858ca(0x102)]['clearFormulaDependency'](_0xc02489,_0x406ab7));});});const _0x254a05=this[_0x32a508(0xcb)]['getUnitData']();await this['_generateTreeList'](_0x518e65,_0x46dde8,_0x254a05),this[_0x32a508(0x102)]['openKdTree']();const _0x444300=this[_0x32a508(0xb8)](),_0x40d1a4=this['_calculateRunList'](_0x444300);return this['_checkIsCycleDependency'](_0x40d1a4)&&this[_0x32a508(0xa6)][_0x32a508(0x94)](),this[_0x32a508(0xa0)][_0x32a508(0x9c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x32a508(0x9c)](),this['_dependencyManagerService'][_0x32a508(0x8b)](),Promise['resolve'](_0x40d1a4);}[_0x41bada(0x9a)](_0x3f7b1c,_0x14e39a){const _0x1844c1=_0x41bada,_0x213d96=[_0x3f7b1c];for(;_0x213d96[_0x1844c1(0xab)]>0x0;){const _0x4791fb=_0x213d96[_0x213d96[_0x1844c1(0xab)]-0x1];if((_0x14e39a['get'](_0x4791fb)||0x0)===0x0){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x1);const _0x12f169=this['_dependencyTreeCache'][_0x1844c1(0xba)](_0x4791fb);if(_0x12f169==null){_0x14e39a[_0x1844c1(0x11e)](_0x4791fb,0x2),_0x213d96['pop']();continue;}const _0x44bc72=this[_0x1844c1(0x102)]['searchDependency'](_0x12f169[_0x1844c1(0xfe)]());for(const _0x1e55e8 of _0x44bc72){const _0x5aac2f=_0x14e39a['get'](_0x1e55e8)||0x0;if(_0x5aac2f===0x1)return!0x0;_0x5aac2f===0x0&&_0x213d96[_0x1844c1(0xd9)](_0x1e55e8);}}else _0x14e39a['set'](_0x4791fb,0x2),_0x213d96['pop']();}return!0x1;}[_0x41bada(0xfd)](_0x52dc9e){const _0x274330=_0x41bada,_0x215a93=new Map();for(const _0x2d4e1d of _0x52dc9e)if(!_0x215a93[_0x274330(0xf9)](_0x2d4e1d[_0x274330(0x8f)])&&this['_isCyclicUtilMap'](_0x2d4e1d[_0x274330(0x8f)],_0x215a93))return!0x0;return _0x215a93[_0x274330(0x9c)](),!0x1;}[_0x41bada(0x95)](_0x1f42e2,_0x5241a4,_0x2f63cb){const _0x109c44=_0x41bada,{unitId:_0x57f3d7,subUnitId:_0x142b8d,dependencyRanges:_0x5ca094,getDirtyData:_0x5ad3e2}=_0x2f63cb,_0x2b8198=_0x5241a4||_0xa8ff94(this[_0x109c44(0x102)]),_0x58901a=new _0x53885a(_0x2b8198);_0x58901a[_0x109c44(0xe3)]=_0x57f3d7,_0x58901a['subUnitId']=_0x142b8d,_0x58901a[_0x109c44(0xd4)]=_0x5ca094,_0x58901a[_0x109c44(0xee)]=_0x5ad3e2;const _0x4a7d19=_0x5ad3e2(this[_0x109c44(0xcb)][_0x109c44(0xee)](),this[_0x109c44(0xa6)][_0x109c44(0xa3)]()),_0x75734a=this[_0x109c44(0xb4)](_0x4a7d19[_0x109c44(0x10a)]);return _0x58901a['featureDirtyRanges']=_0x75734a,_0x58901a['featureId']=_0x1f42e2,_0x58901a[_0x109c44(0x9d)]=_0x34cea1['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x109c44(0xeb)](_0x57f3d7,_0x142b8d,_0x1f42e2,_0x58901a),this[_0x109c44(0xa0)][_0x109c44(0x11e)](_0x58901a[_0x109c44(0x8f)],_0x58901a),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x2f63cb['unitId'],_0x2f63cb[_0x109c44(0xa2)],_0x1f42e2)&&(_0x58901a[_0x109c44(0x8c)]=!0x0),_0x58901a;}['_registerOtherFormulas'](_0x380b4b,_0x28b577,_0x52022d){const _0x3d0ccb=_0x41bada;var _0x8968f9;for(const _0x2eb74d of _0x28b577){const _0x3a88d4=_0x380b4b[_0x2eb74d];if(_0x3a88d4==null)continue;const _0x45ac01=Object[_0x3d0ccb(0xc5)](_0x3a88d4);for(const _0x500d8e of _0x45ac01){const _0x210d00=_0x3a88d4[_0x500d8e];if(_0x210d00==null)continue;const _0x4a1d9e=Object[_0x3d0ccb(0xc5)](_0x210d00);for(const _0xd1edce of _0x4a1d9e){const _0x4ea975=this[_0x3d0ccb(0x102)]['hasOtherFormulaDataMainData'](_0xd1edce),_0x46bb6e=_0x210d00[_0xd1edce],{f:_0x3f06f7,ranges:_0x4b2631}=_0x46bb6e;let _0x4345eb=!0x1;_0x4ea975&&(_0x4345eb=!0x0);const {firstRow:_0x4808c5,firstColumn:_0x25b4f2}=this[_0x3d0ccb(0xbb)](_0x4b2631),_0x5ecf38=this[_0x3d0ccb(0x102)]['getOtherFormulaDependency'](_0x2eb74d,_0x500d8e,_0xd1edce),_0x17fe68=(_0x8968f9=_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](0x0,0x0))!=null?_0x8968f9:_0xa8ff94(this[_0x3d0ccb(0x102)]),_0x4744d=new _0x53885a(_0x17fe68);for(let _0x42f24b=0x0;_0x42f24b<_0x4b2631['length'];_0x42f24b++){const _0x57ef04=_0x4b2631[_0x42f24b],{startRow:_0x3f5d0f,startColumn:_0x23bcc1,endRow:_0x5b2656,endColumn:_0x54b461}=_0x57ef04;for(let _0x25769b=_0x3f5d0f;_0x25769b<=_0x5b2656;_0x25769b++)for(let _0x5a0406=_0x23bcc1;_0x5a0406<=_0x54b461;_0x5a0406++){const _0x105a85=_0x5a0406-_0x25b4f2,_0x16902d=_0x25769b-_0x4808c5;if(_0x105a85===0x0&&_0x16902d===0x0){_0x4744d['formula']=_0x3f06f7,_0x4744d['unitId']=_0x2eb74d,_0x4744d['subUnitId']=_0x500d8e,_0x4744d[_0x3d0ccb(0x8e)]=_0xd1edce,_0x4744d[_0x3d0ccb(0x9d)]=_0x34cea1[_0x3d0ccb(0xb5)],_0x4744d[_0x3d0ccb(0x8c)]=_0x4345eb,_0x52022d[_0x3d0ccb(0xd9)](_0x4744d),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x4744d['treeId'],_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x4744d),this[_0x3d0ccb(0x102)][_0x3d0ccb(0x111)](_0x4744d);continue;}const _0x3e277c=new _0x552a76();_0x3e277c['treeId']=(_0x5ecf38==null?void 0x0:_0x5ecf38[_0x3d0ccb(0x117)](_0x105a85,_0x16902d))||_0xa8ff94(this['_dependencyManagerService']),_0x3e277c[_0x3d0ccb(0xff)]=_0x4744d,_0x3e277c[_0x3d0ccb(0x120)]=_0x105a85,_0x3e277c[_0x3d0ccb(0xd1)]=_0x16902d,_0x3e277c[_0x3d0ccb(0x8c)]=_0x4345eb,this[_0x3d0ccb(0x102)][_0x3d0ccb(0xe0)](_0x2eb74d,_0x500d8e,_0xd1edce,_0x3e277c),this['_dependencyManagerService'][_0x3d0ccb(0x111)](_0x3e277c),_0x52022d[_0x3d0ccb(0xd9)](_0x3e277c),this[_0x3d0ccb(0xa0)][_0x3d0ccb(0x11e)](_0x3e277c[_0x3d0ccb(0x8f)],_0x3e277c);}}this[_0x3d0ccb(0x102)][_0x3d0ccb(0xd0)](_0xd1edce);}}}}[_0x41bada(0x9e)](_0x5efcf3,_0x27323e,_0x597606,_0x4bf101){const _0x57872d=_0x41bada;for(const _0x31953e of _0x5efcf3){const _0x365b8a=_0x27323e[_0x31953e];if(_0x365b8a==null)continue;const _0x4f48c4=Object[_0x57872d(0xc5)](_0x365b8a);for(const _0x26641a of _0x4f48c4){const _0x29369a=new _0x11ab1c(_0x365b8a[_0x26641a]||{}),_0x4d6c91=new Map();_0x29369a[_0x57872d(0xd7)]((_0x1d85c9,_0x4596b3,_0x5cd542)=>{const _0x3b0153=_0x57872d;if(_0x5cd542==null)return!0x0;const {x:_0x8d7f04=0x0,y:y=0x0,si:_0x468c5a}=_0x5cd542;if(!(_0x8d7f04===0x0&&y===0x0&&_0x468c5a!=null))return!0x0;const _0x103b59=this[_0x3b0153(0xc1)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x597606,_0x5cd542),_0x2e6bb0=this[_0x3b0153(0x102)][_0x3b0153(0xc2)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3);_0x2e6bb0!=null?_0x103b59['treeId']=_0x2e6bb0:(this[_0x3b0153(0x102)][_0x3b0153(0xde)](_0x31953e,_0x26641a,_0x1d85c9,_0x4596b3,_0x103b59),this[_0x3b0153(0x102)]['addFormulaDependencyByDefinedName'](_0x103b59)),_0x4d6c91['set'](_0x468c5a,_0x103b59),_0x4bf101[_0x3b0153(0xd9)](_0x103b59),this[_0x3b0153(0xa0)][_0x3b0153(0x11e)](_0x103b59[_0x3b0153(0x8f)],_0x103b59);}),_0x29369a[_0x57872d(0xd7)]((_0xa8d84e,_0x26a851,_0x5c506e)=>{const _0x14e894=_0x57872d;if(_0x5c506e==null)return!0x0;const {x:_0x12512d=0x0,y:y=0x0,si:_0x3af9ec}=_0x5c506e;if(_0x12512d===0x0&&y===0x0&&_0x3af9ec!=null)return!0x0;let _0x22c5b4;if(_0x3af9ec&&_0x4d6c91['has'](_0x3af9ec)){const _0x4dd2c5=_0x4d6c91[_0x14e894(0xba)](_0x3af9ec);_0x22c5b4=this[_0x14e894(0xec)](_0x4dd2c5,_0x5c506e);}else _0x22c5b4=this['_createFDtree'](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x597606,_0x5c506e);const _0x4b30e0=this[_0x14e894(0x102)][_0x14e894(0xc2)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851);_0x4b30e0!=null?_0x22c5b4[_0x14e894(0x8f)]=_0x4b30e0:(this['_dependencyManagerService'][_0x14e894(0xde)](_0x31953e,_0x26641a,_0xa8d84e,_0x26a851,_0x22c5b4),this[_0x14e894(0x102)]['addFormulaDependencyByDefinedName'](_0x22c5b4)),_0x4bf101['push'](_0x22c5b4),this[_0x14e894(0xa0)][_0x14e894(0x11e)](_0x22c5b4[_0x14e894(0x8f)],_0x22c5b4);}),_0x4d6c91[_0x57872d(0x9c)]();}}}[_0x41bada(0xc1)](_0x28b969,_0x4fe1a1,_0x16b145,_0x37cc23,_0x3c5e91,_0x18caad){const _0x4bc709=_0x41bada,{f:_0x39f24f,x:_0x3c1a02=0x0,y:_0x24cd7e=0x0}=_0x18caad,_0x5a30ee=new _0x53885a(_0xa8ff94(this[_0x4bc709(0x102)])),_0x5dd6b3=_0x3c5e91[_0x28b969][_0x4fe1a1];return _0x5a30ee[_0x4bc709(0xcf)]=_0x39f24f,_0x5a30ee[_0x4bc709(0xe3)]=_0x28b969,_0x5a30ee['subUnitId']=_0x4fe1a1,_0x5a30ee['row']=_0x16b145,_0x5a30ee[_0x4bc709(0xc3)]=_0x37cc23,_0x5a30ee[_0x4bc709(0xf0)]=_0x5dd6b3[_0x4bc709(0xf0)],_0x5a30ee[_0x4bc709(0xe7)]=_0x5dd6b3[_0x4bc709(0xe7)],_0x5a30ee;}[_0x41bada(0xb8)](){const _0x46cdf6=_0x41bada,_0x5b8952=[],_0x3914dd=new Set(),_0x590070=this[_0x46cdf6(0xcb)][_0x46cdf6(0xa4)](),_0x3a15b7=this['_currentConfigService'][_0x46cdf6(0xaf)](),_0x17a208=this['_dependencyManagerService'][_0x46cdf6(0xc4)](_0x3a15b7),_0x1a4908=this['_dependencyRTreeCacheForAddressFunction']['bulkSearch'](_0x3a15b7);for(const _0xabe1a0 of _0x1a4908)_0x17a208[_0x46cdf6(0xc6)](_0xabe1a0);for(const [_0x14db99,_0x9123c7]of this[_0x46cdf6(0xa0)])(_0x590070||_0x9123c7[_0x46cdf6(0xce)]||_0x9123c7[_0x46cdf6(0xa5)](this[_0x46cdf6(0xcb)][_0x46cdf6(0x96)]())||_0x17a208['has'](_0x14db99)&&!_0x9123c7['isExcludeRange'](this[_0x46cdf6(0xcb)][_0x46cdf6(0x112)]()))&&!_0x3914dd[_0x46cdf6(0xf9)](_0x14db99)&&(_0x5b8952[_0x46cdf6(0xd9)](_0x9123c7),_0x3914dd['add'](_0x14db99));for(const [_0x176899,_0x5d951e]of this[_0x46cdf6(0xa0)])_0x5d951e['isVirtual']||(_0x5d951e['rangeList'][_0x46cdf6(0xab)]=0x0);return _0x5b8952;}[_0x41bada(0x89)](_0x5063c7){const _0x53404b=_0x41bada;return this[_0x53404b(0xa0)][_0x53404b(0xba)](_0x5063c7);}['_getTreeNode'](_0xf715cd){const _0x3170d5=_0x41bada;return _0xb8e236(_0xf715cd['unitId'],_0xf715cd[_0x3170d5(0xcf)],this['_lexer'],this[_0x3170d5(0x11b)],this[_0x3170d5(0xcb)]);}*[_0x41bada(0x10e)](_0x2d3d1c,_0x294f56){const _0x45c35d=_0x41bada,_0x21742b=_0x2d3d1c,_0x1e1f8d=new Set();for(;_0x21742b['length']>0x0;){const _0x41fb96=_0x21742b[_0x45c35d(0xb0)]();if(_0x1e1f8d[_0x45c35d(0x9c)](),_0x41fb96===void 0x0||_0x41fb96['isSkip']())continue;if(_0x41fb96['isAdded']()){yield _0x41fb96,_0x41fb96['setSkip'](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);continue;}const _0x298c32=this[_0x45c35d(0x102)][_0x45c35d(0xc4)](_0x41fb96['toRTreeItem'](),_0x294f56),_0x3828cf=this['_dependencyRTreeCacheForAddressFunction'][_0x45c35d(0x123)](_0x41fb96[_0x45c35d(0xfe)](),_0x294f56);for(const _0x3f65d6 of _0x3828cf)_0x298c32[_0x45c35d(0xc6)](_0x3f65d6);for(const _0x439cde of _0x298c32){const _0x29e9d9=this[_0x45c35d(0xa0)]['get'](_0x439cde);if(!_0x29e9d9)throw new Error(_0x45c35d(0xc7));_0x29e9d9[_0x45c35d(0xcd)]()||_0x41fb96['isSkip']()||_0x1e1f8d['add'](_0x29e9d9);}if(_0x298c32[_0x45c35d(0x9c)](),_0x1e1f8d[_0x45c35d(0xad)]===0x0)yield _0x41fb96,_0x41fb96[_0x45c35d(0x93)](),_0x294f56[_0x45c35d(0xc6)](_0x41fb96[_0x45c35d(0x8f)]);else{_0x41fb96[_0x45c35d(0xdf)](),_0x21742b[_0x45c35d(0xd9)](_0x41fb96);for(const _0x1ac872 of _0x1e1f8d)_0x21742b[_0x45c35d(0xd9)](_0x1ac872);}}_0x21742b['length']=0x0,_0x1e1f8d[_0x45c35d(0x9c)]();}[_0x41bada(0xd2)](_0x4627fb){const _0x49970d=_0x41bada,_0x576da3=[],_0x41ac44=new Set();for(const _0xee8453 of this[_0x49970d(0x10e)](_0x4627fb,_0x41ac44))_0x576da3['push'](_0xee8453);return _0x576da3;}}class he extends _0x453d1f{async[_0x41bada(0xa8)](_0x30bc72=!0x1){const _0x59297a=_0x41bada;_0x30bc72?this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5['START_DEPENDENCY']),this[_0x59297a(0x10c)]['next'](this['_runtimeService']['getRuntimeState']());const _0x5e29bb=await this[_0x59297a(0xdb)][_0x59297a(0x106)](),_0x1aeade=this[_0x59297a(0xca)];_0x30bc72?(this['_runtimeService']['setFormulaExecuteStage'](_0x444fe5[_0x59297a(0x92)]),this[_0x59297a(0xa6)][_0x59297a(0xef)](_0x5e29bb['length'])):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe4)]),this['_runtimeService'][_0x59297a(0x105)](_0x5e29bb[_0x59297a(0xab)])),this['_executionInProgressListener$'][_0x59297a(0x8a)](this[_0x59297a(0xa6)][_0x59297a(0x121)]());let _0x281ceb=[];const _0x10b9ab=this[_0x59297a(0xaa)]['getConfig'](_0xd0dde6),_0x459a3c=(_0x10b9ab==null?void 0x0:_0x10b9ab[_0x59297a(0xf1)])||_0x171aac;let _0x37f982=0x0;const _0x544e95=_0x5e29bb[_0x59297a(0xab)];for(;_0x5e29bb[_0x59297a(0xab)]>0x0;){const _0x1b845d=_0x5e29bb['pop'](),_0x51eb02={'node':_0xb8e236(_0x1b845d[_0x59297a(0xe3)],_0x1b845d[_0x59297a(0xcf)],this[_0x59297a(0xe9)],this[_0x59297a(0x11b)],this['_currentConfigService']),'refOffsetX':_0x1b845d[_0x59297a(0x120)],'refOffsetY':_0x1b845d[_0x59297a(0xd1)]},_0x5a5f2e=_0x1b845d[_0x59297a(0xee)];if(_0x37f982%_0x459a3c===0x0&&(await new Promise(_0x176019=>{const _0x8cf263=_0x59297a,_0x346c55=_0x6ccd12(_0x176019);_0x281ceb[_0x8cf263(0xd9)](_0x346c55);}),_0x30bc72?(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xd5)]),this['_runtimeService'][_0x59297a(0x98)](_0x37f982+0x1)):(this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xe6)]),this[_0x59297a(0xa6)][_0x59297a(0xf4)](_0x37f982+0x1)),this[_0x59297a(0x10c)][_0x59297a(0x8a)](this[_0x59297a(0xa6)]['getRuntimeState']()),this[_0x59297a(0xa6)][_0x59297a(0xbf)]()||_0x51eb02==null&&_0x5a5f2e==null)){this[_0x59297a(0xa6)][_0x59297a(0xfa)](_0x444fe5[_0x59297a(0xf2)]),this[_0x59297a(0xa6)][_0x59297a(0x11d)](),this[_0x59297a(0xb7)]['next'](this[_0x59297a(0xa6)][_0x59297a(0xa3)]());return;}this[_0x59297a(0xa6)]['setCurrent'](_0x1b845d[_0x59297a(0x119)],_0x1b845d[_0x59297a(0xc3)],_0x1b845d[_0x59297a(0xf0)],_0x1b845d[_0x59297a(0xe7)],_0x1b845d[_0x59297a(0xa2)],_0x1b845d['unitId']);let _0xa1ca3a;if(_0x5a5f2e!=null&&_0x1b845d[_0x59297a(0xf8)]!=null){const {runtimeCellData:_0x144d6b,dirtyRanges:_0x4e2007}=_0x5a5f2e(this[_0x59297a(0xcb)][_0x59297a(0xee)](),this[_0x59297a(0xa6)]['getAllRuntimeData']());this['_runtimeService'][_0x59297a(0x122)](_0x1b845d['featureId'],_0x144d6b),this[_0x59297a(0xa6)][_0x59297a(0xd8)](_0x1b845d[_0x59297a(0xf8)],_0x4e2007);}else _0x51eb02!=null&&(_0x1aeade[_0x59297a(0xae)](_0x51eb02['node'])?_0xa1ca3a=await _0x1aeade[_0x59297a(0x90)](_0x51eb02):_0xa1ca3a=_0x1aeade['execute'](_0x51eb02),_0x1b845d[_0x59297a(0x8e)]!=null?this[_0x59297a(0xa6)][_0x59297a(0xd6)](_0x1b845d[_0x59297a(0x8e)],_0x1b845d[_0x59297a(0x120)],_0x1b845d['refOffsetY'],_0xa1ca3a):this[_0x59297a(0xa6)]['setRuntimeData'](_0xa1ca3a));_0x37f982++;}return _0x281ceb['forEach'](_0x46aa66=>_0x46aa66()),_0x281ceb=[],_0x544e95>0x0?this[_0x59297a(0xa6)][_0x59297a(0x10f)]():_0x30bc72||this[_0x59297a(0xa6)][_0x59297a(0x116)](),this['_runtimeService'][_0x59297a(0xa3)]();}}class fe extends _0x160d16{constructor(){const _0x54553a=_0x41bada;super(...arguments),I(this,_0x54553a(0x10b),new Map()),I(this,_0x54553a(0xc9),new _0xb9182a(!0x0));}[_0x41bada(0x104)](){const _0x416532=_0x41bada;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x416532(0x9c)](),this[_0x416532(0xa7)][_0x416532(0x9c)](),this['_dependencyRTreeCache'][_0x416532(0x9c)](),this['_allTreeMap']['clear'](),this['_restDependencyTreeId'](),this[_0x416532(0xcc)][_0x416532(0x9c)]();}[_0x41bada(0xe0)](_0x4c8d38,_0x2e1e3e,_0x12002e,_0x4992ea){const _0x45d9f5=_0x41bada;this['_otherFormulaData']['has'](_0x4c8d38)||this['_otherFormulaData'][_0x45d9f5(0x11e)](_0x4c8d38,new Map());const _0x34de48=this[_0x45d9f5(0x108)][_0x45d9f5(0xba)](_0x4c8d38);_0x34de48['has'](_0x2e1e3e)||_0x34de48[_0x45d9f5(0x11e)](_0x2e1e3e,new Map());const _0x3b3bba=_0x34de48['get'](_0x2e1e3e);_0x3b3bba['has'](_0x12002e)||_0x3b3bba[_0x45d9f5(0x11e)](_0x12002e,new _0x11ab1c()),_0x3b3bba['get'](_0x12002e)['setValue'](_0x4992ea['refOffsetX'],_0x4992ea[_0x45d9f5(0xd1)],_0x4992ea[_0x45d9f5(0x8f)]);}[_0x41bada(0xdd)](_0x58cfcb,_0x22ae28,_0x425690){const _0x27ef91=_0x41bada,_0x3421a0=this[_0x27ef91(0x108)][_0x27ef91(0xba)](_0x58cfcb);if(_0x3421a0&&_0x3421a0['has'](_0x22ae28)){const _0x5812a4=_0x3421a0[_0x27ef91(0xba)](_0x22ae28);_0x425690['forEach'](_0x3829c1=>{const _0x3a5242=_0x27ef91,_0x152fb8=_0x5812a4['get'](_0x3829c1);_0x152fb8!=null&&(_0x152fb8['forValue']((_0x19b416,_0x4610f8,_0x1af755)=>{this['_removeDependencyRTreeCache'](_0x1af755),this['_removeAllTreeMap'](_0x1af755);}),_0x5812a4[_0x3a5242(0xb9)](_0x3829c1),this[_0x3a5242(0xcc)][_0x3a5242(0xb9)](_0x3829c1));}),_0x5812a4[_0x27ef91(0xad)]===0x0&&_0x3421a0['delete'](_0x22ae28),_0x3421a0[_0x27ef91(0xad)]===0x0&&this[_0x27ef91(0x108)][_0x27ef91(0xb9)](_0x58cfcb);}}[_0x41bada(0xf6)](_0x3a05d2,_0x45a727){const _0x17951e=_0x41bada,_0x2abd4b=this['_otherFormulaData'][_0x17951e(0xba)](_0x3a05d2);if(_0x45a727&&_0x2abd4b&&_0x2abd4b[_0x17951e(0xf9)](_0x45a727)){const _0xba383e=_0x2abd4b[_0x17951e(0xba)](_0x45a727);this[_0x17951e(0xb2)](_0x3a05d2,_0x45a727);for(const _0x1242e2 of _0xba383e['keys']()){const _0x1e4994=_0xba383e[_0x17951e(0xba)](_0x1242e2);_0x1e4994!=null&&(_0x1e4994['forValue']((_0x1232e7,_0x1d6077,_0x2ab8d2)=>{const _0x309e30=_0x17951e;this['_allTreeMap']['get'](_0x2ab8d2)&&this[_0x309e30(0x114)](_0x2ab8d2);}),this['_otherFormulaDataMainData'][_0x17951e(0xb9)](_0x1242e2));}_0xba383e['clear']();}else{if(_0x2abd4b){for(const _0x193314 of _0x2abd4b[_0x17951e(0xc5)]()){const _0x181f85=_0x2abd4b[_0x17951e(0xba)](_0x193314);this[_0x17951e(0xb2)](_0x3a05d2,_0x193314);for(const _0x2bcd23 of _0x181f85[_0x17951e(0xc5)]()){const _0x448d01=_0x181f85[_0x17951e(0xba)](_0x2bcd23);_0x448d01!=null&&(_0x448d01[_0x17951e(0xd7)]((_0x4748c5,_0x47ed14,_0x2533dd)=>{const _0x25bb57=_0x17951e;this[_0x25bb57(0x10b)][_0x25bb57(0xba)](_0x2533dd)&&this[_0x25bb57(0x114)](_0x2533dd);}),this[_0x17951e(0xcc)]['delete'](_0x2bcd23));}}this['_otherFormulaData']['delete'](_0x3a05d2);}}}[_0x41bada(0xeb)](_0x2da4cd,_0x4bad91,_0x92f0fc,_0xdbbea2){const _0x3e4cf5=_0x41bada;this[_0x3e4cf5(0x101)][_0x3e4cf5(0xf9)](_0x2da4cd)||this[_0x3e4cf5(0x101)][_0x3e4cf5(0x11e)](_0x2da4cd,new Map());const _0x16242a=this['_featureFormulaData'][_0x3e4cf5(0xba)](_0x2da4cd);_0x16242a[_0x3e4cf5(0xf9)](_0x4bad91)||_0x16242a[_0x3e4cf5(0x11e)](_0x4bad91,new Map()),_0x16242a['get'](_0x4bad91)['set'](_0x92f0fc,_0xdbbea2[_0x3e4cf5(0x8f)]);}['removeFeatureFormulaDependency'](_0x5740da,_0x45df21,_0x29c21a){const _0x32b521=_0x41bada,_0x429bac=this[_0x32b521(0x101)][_0x32b521(0xba)](_0x5740da);if(_0x429bac&&_0x429bac[_0x32b521(0xf9)](_0x45df21)){const _0x5f3c61=_0x429bac[_0x32b521(0xba)](_0x45df21);_0x29c21a[_0x32b521(0x115)](_0x383a2f=>{const _0x454725=_0x32b521,_0x5d5558=_0x5f3c61[_0x454725(0xba)](_0x383a2f);_0x5d5558!=null&&(this[_0x454725(0xa9)](_0x5d5558),_0x5f3c61[_0x454725(0xb9)](_0x383a2f),this['_removeAllTreeMap'](_0x5d5558));});}}[_0x41bada(0xfc)](_0x3ccb61,_0x2e7ace){const _0x51cfdb=_0x41bada,_0x5b0ad2=this['_featureFormulaData']['get'](_0x3ccb61);if(_0x2e7ace&&_0x5b0ad2&&_0x5b0ad2[_0x51cfdb(0xf9)](_0x2e7ace)){const _0x5f4e8d=_0x5b0ad2[_0x51cfdb(0xba)](_0x2e7ace);this[_0x51cfdb(0xb2)](_0x3ccb61,_0x2e7ace),_0x5f4e8d[_0x51cfdb(0x115)](_0x4b2d31=>{const _0x38ba36=_0x51cfdb;_0x4b2d31!=null&&this[_0x38ba36(0x114)](_0x4b2d31);}),_0x5f4e8d['clear']();}else _0x5b0ad2&&(_0x5b0ad2[_0x51cfdb(0x115)]((_0x1f0750,_0x50fa3d)=>{const _0x11012a=_0x51cfdb;this[_0x11012a(0xb2)](_0x3ccb61,_0x50fa3d),_0x1f0750[_0x11012a(0x115)](_0x1e4705=>{const _0x2feae8=_0x11012a;_0x1e4705!=null&&this[_0x2feae8(0x114)](_0x1e4705);});}),this['_featureFormulaData']['delete'](_0x3ccb61));}['addFormulaDependency'](_0x540496,_0x11757c,_0x4d1d6c,_0x239ace,_0x7f93bd){const _0x29f4a7=_0x41bada;this['_formulaData']['has'](_0x540496)||this['_formulaData']['set'](_0x540496,new Map());const _0x1d3717=this[_0x29f4a7(0xa7)][_0x29f4a7(0xba)](_0x540496);_0x1d3717[_0x29f4a7(0xf9)](_0x11757c)||_0x1d3717[_0x29f4a7(0x11e)](_0x11757c,new _0x11ab1c()),_0x1d3717[_0x29f4a7(0xba)](_0x11757c)[_0x29f4a7(0xda)](_0x4d1d6c,_0x239ace,_0x7f93bd[_0x29f4a7(0x8f)]);}[_0x41bada(0xb6)](_0x396290,_0x2f1fa1,_0x4138a4,_0x2cd7d6){const _0x117a6e=_0x41bada,_0x4da899=this[_0x117a6e(0xa7)][_0x117a6e(0xba)](_0x396290);if(_0x4da899&&_0x4da899['has'](_0x2f1fa1)){const _0x27896c=_0x4da899[_0x117a6e(0xba)](_0x2f1fa1),_0x4cd22b=_0x27896c[_0x117a6e(0x117)](_0x4138a4,_0x2cd7d6);if(_0x4cd22b==null)return;this['_removeDependencyRTreeCache'](_0x4cd22b),_0x27896c['realDeleteValue'](_0x4138a4,_0x2cd7d6),this[_0x117a6e(0x114)](_0x4cd22b);}}[_0x41bada(0x107)](_0x5202f7,_0x453144){const _0x1abb11=_0x41bada,_0x5404d4=this[_0x1abb11(0xa7)][_0x1abb11(0xba)](_0x5202f7);if(_0x453144&&_0x5404d4&&_0x5404d4[_0x1abb11(0xf9)](_0x453144)){const _0x4b289e=_0x5404d4[_0x1abb11(0xba)](_0x453144);this[_0x1abb11(0xb2)](_0x5202f7,_0x453144),_0x4b289e[_0x1abb11(0xd7)]((_0x5e63c8,_0x446269,_0x2c7648)=>{const _0x2d87bf=_0x1abb11;if(_0x2c7648==null)return!0x0;this[_0x2d87bf(0x114)](_0x2c7648);}),_0x4b289e[_0x1abb11(0x104)]();}else _0x5404d4&&(_0x5404d4[_0x1abb11(0x115)]((_0x580a4f,_0x4cdaf4)=>{const _0x5ce2af=_0x1abb11;this[_0x5ce2af(0xb2)](_0x5202f7,_0x4cdaf4),_0x580a4f[_0x5ce2af(0xd7)]((_0x2dab54,_0x14f25e,_0x1af3ec)=>{const _0x14a4aa=_0x5ce2af;if(_0x1af3ec==null)return!0x0;this[_0x14a4aa(0x114)](_0x1af3ec);});}),this[_0x1abb11(0xa7)][_0x1abb11(0xb9)](_0x5202f7));}['_removeDependencyRTreeCache'](_0x3475c8){const _0x5bbdec=_0x41bada;if(_0x3475c8==null)return;const _0x2c1302=this[_0x5bbdec(0x10b)][_0x5bbdec(0xba)](_0x3475c8);if(_0x2c1302){const _0x5d2c09=[];for(const [_0x3f1b47,_0x2c8aa4]of _0x2c1302)for(const [_0x5aa6a8,_0x45b56e]of _0x2c8aa4)_0x5d2c09[_0x5bbdec(0xd9)]({'unitId':_0x3f1b47,'sheetId':_0x5aa6a8,'range':_0x45b56e,'id':_0x3475c8});this[_0x5bbdec(0xc9)][_0x5bbdec(0x9f)](_0x5d2c09);}}['removeFormulaDependencyByDefinedName'](_0x7e558,_0x48cda4){const _0x5e9cf6=_0x41bada,_0x9c9510=this[_0x5e9cf6(0xf3)][_0x5e9cf6(0xba)](_0x7e558);if(_0x9c9510){const _0x5b0ba5=_0x9c9510[_0x5e9cf6(0xba)](_0x48cda4);if(_0x5b0ba5){for(const _0x46bc38 of _0x5b0ba5)this[_0x5e9cf6(0xa9)](_0x46bc38),this['_removeAllTreeMap'](_0x46bc38);_0x5b0ba5['clear']();}}}[_0x41bada(0xf5)](){const _0x5aca9c=_0x41bada;this[_0x5aca9c(0xc9)][_0x5aca9c(0xf5)]();}[_0x41bada(0x8b)](){const _0x584a73=_0x41bada;this[_0x584a73(0xc9)][_0x584a73(0x8b)]();}[_0x41bada(0x114)](_0x2629fb){const _0x29e7e1=_0x41bada;_0x2629fb!=null&&this[_0x29e7e1(0x10b)]['delete'](_0x2629fb);}[_0x41bada(0x11f)](_0x52fb09){const _0x12ee70=_0x41bada;var _0x5c6593,_0x525c2d;const _0x32f6fa=_0x52fb09['rangeList'];let _0x56bce4=this['_allTreeMap'][_0x12ee70(0xba)](_0x52fb09[_0x12ee70(0x8f)]);for(let _0x1e69b1=0x0;_0x1e69b1<_0x32f6fa[_0x12ee70(0xab)];_0x1e69b1++){const _0xe58b53=_0x32f6fa[_0x1e69b1];let {unitId:_0x3b9ad9,sheetId:_0x978843,range:_0xd767eb}=_0xe58b53;_0x56bce4||(_0x56bce4=new Map(),this[_0x12ee70(0x10b)]['set'](_0x52fb09[_0x12ee70(0x8f)],_0x56bce4)),_0x56bce4[_0x12ee70(0xf9)](_0x3b9ad9)||_0x56bce4[_0x12ee70(0x11e)](_0x3b9ad9,new Map());const _0x32b23f=(_0x5c6593=_0x56bce4==null?void 0x0:_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null?void 0x0:_0x5c6593[_0x12ee70(0xba)](_0x978843);_0x32b23f&&(_0xd767eb={'startRow':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xc8)],_0x32b23f[_0x12ee70(0xc8)]),'startColumn':Math[_0x12ee70(0xac)](_0xd767eb[_0x12ee70(0xa1)],_0x32b23f[_0x12ee70(0xa1)]),'endRow':Math[_0x12ee70(0x11a)](_0xd767eb['endRow'],_0x32b23f['endRow']),'endColumn':Math[_0x12ee70(0x11a)](_0xd767eb[_0x12ee70(0x9b)],_0x32b23f[_0x12ee70(0x9b)])}),(_0x525c2d=_0x56bce4[_0x12ee70(0xba)](_0x3b9ad9))==null||_0x525c2d[_0x12ee70(0x11e)](_0x978843,_0xd767eb);}}}var pe=Object[_0x41bada(0x103)],Fe=(_0x3ca134,_0x22bc85,_0x11c5e3,_0x2ef0ad)=>{const _0x1f83df=_0x41bada;for(var _0x1817c0=_0x2ef0ad>0x1?void 0x0:_0x2ef0ad?pe(_0x22bc85,_0x11c5e3):_0x22bc85,_0x42f5a7=_0x3ca134[_0x1f83df(0xab)]-0x1,_0x57d60e;_0x42f5a7>=0x0;_0x42f5a7--)(_0x57d60e=_0x3ca134[_0x42f5a7])&&(_0x1817c0=_0x57d60e(_0x1817c0)||_0x1817c0);return _0x1817c0;};const _e=Number[_0x41bada(0x118)](0x68c50d20);let b=class extends _0x11a7e5{[_0x41bada(0x100)](){const _0x174b9=_0x41bada;var _0x281d82,_0x359e81;this[_0x174b9(0x10d)]()?(_0x281d82=this[_0x174b9(0xfb)])!=null&&_0x281d82['notExecuteFormula']||[[_0x41d0f3,{'useClass':he}],[_0x3901f0,{'useClass':fe}],[_0x3d9c53,{'useClass':de}]][_0x174b9(0x115)](_0x263455=>this['_injector']['add'](_0x263455)):(_0x359e81=this[_0x174b9(0xfb)])!=null&&_0x359e81[_0x174b9(0xbd)]||[[_0x41d0f3,{'useClass':_0x453d1f}],[_0x3901f0,{'useClass':_0x35aa0c}],[_0x3d9c53,{'useClass':_0x10e6df}]][_0x174b9(0x115)](_0x1ad598=>this[_0x174b9(0x113)]['add'](_0x1ad598));}[_0x41bada(0x10d)](){const _0x551b3a=_0x41bada;var _0x1e3c3c;const _0x2f79fe=(_0x1e3c3c=this['_configService']['getConfig'](_0x317615))!=null?_0x1e3c3c:{},{ls:_0x4260e8,pbk:_0x363814}=_0x2f79fe;if(!_0x4260e8||!_0x363814)return!0x1;const _0x300e81=_0x2463bf(ue,le),_0x30c733=new Function('return\x20'+_0x300e81)()(_0x4260e8,_0x363814),_0x5cc8b9=_0x30c733[_0x551b3a(0x99)];return _0x30c733[_0x551b3a(0xc0)]&&_0x3d42ba(_0x5cc8b9,'sf',_e)?_0x3c153a(_0x5cc8b9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};b=Fe([_0x190b9a(_0x3a0e6e)],b);export{b as UniverProFormulaEnginePlugin};
1
+ const _0x453506=_0x3003;(function(_0x584be0,_0x180858){const _0x2ce8a8=_0x3003,_0x9b4dcd=_0x584be0();while(!![]){try{const _0x2d4aed=-parseInt(_0x2ce8a8(0x16e))/0x1*(-parseInt(_0x2ce8a8(0x176))/0x2)+-parseInt(_0x2ce8a8(0x1e3))/0x3*(parseInt(_0x2ce8a8(0x1aa))/0x4)+parseInt(_0x2ce8a8(0x198))/0x5*(parseInt(_0x2ce8a8(0x15d))/0x6)+-parseInt(_0x2ce8a8(0x173))/0x7+-parseInt(_0x2ce8a8(0x17a))/0x8+parseInt(_0x2ce8a8(0x156))/0x9+-parseInt(_0x2ce8a8(0x1a2))/0xa;if(_0x2d4aed===_0x180858)break;else _0x9b4dcd['push'](_0x9b4dcd['shift']());}catch(_0xd9a681){_0x9b4dcd['push'](_0x9b4dcd['shift']());}}}(_0x4c27,0x4a2b9));var X=Object[_0x453506(0x1dc)],z=(_0x9f7ba9,_0x3f09f7,_0x5325c2)=>_0x3f09f7 in _0x9f7ba9?X(_0x9f7ba9,_0x3f09f7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5325c2}):_0x9f7ba9[_0x3f09f7]=_0x5325c2,S=(_0x16ef03,_0xc6c652,_0x2dedb9)=>z(_0x16ef03,typeof _0xc6c652!=_0x453506(0x199)?_0xc6c652+'':_0xc6c652,_0x2dedb9);import{UniverLicensePlugin as _0x5d9f22,LS_CONFIG_KEY as _0x401518,unshiftString as _0x114aea,isFeatureAuthorizedWithinTime as _0x3e0a3e,getSheetFeatureLimit as _0x3912d8}from'@univerjs-pro/license';import{ObjectMatrix as _0x3f0bbc,requestImmediateMacroTask as _0x537521,RTree as _0x1bf844,DependentOn as _0xc8a18}from'@univerjs/core';function _0x4c27(){const _0x3e05ed=['getClearDependencyTreeCache','_otherFormulaData','_convertDirtyRangesToUnitRange','_interpreter','refOffsetX','_updateRangeFlatten','featureId','_getTreeById','getFormulaDependency','getFeatureFormulaDependency','_allTreeMap','getFormulaData','getAllRuntimeData','clearOtherFormulaDependency','clear','setRuntimeOtherData','_dependencyTreeCache','defineProperty','dependencySheetName','_astTreeBuilder','addFormulaDependency','addFormulaDependencyByDefinedName','clearFeatureFormulaDependency','bulkRemove','90fQGoBo','_dependencyManagerService','refTree','isCache','OTHER_FORMULA','_initLicenseValid','_config','setFormulaExecuteStage','featureDirtyRanges','rangeList','isVirtual','subUnitId','1639944sbhROB','_removeDependencyRTreeCacheById','generate','isAdded','removeOtherFormulaDependency','_featureFormulaData','_createVirtualFDtree','6kvSVVH','_removeAllTreeMap','closeKdTree','message','setTotalArrayFormulasToCalculate','FEATURE_FORMULA','columnCount','getExcludedRange','clearFormulaDependency','_formulaData','_restDependencyTreeId','node','push','_executionCompleteListener$','getValue','delete','_addAllTreeMap','14fwIXjd','openKdTree','resolve','_getFeatureFormulaTree','executeAsync','2416463CCTIUu','setRuntimeFeatureRange','Cerltaor\x202hlcfntaor(Galhrdh,\x20ne6Galihf)\x20{\x20\x20\x20\x20tcf\x20{\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20GalhrdhErCoVuctLccuf\x20=\x20Galhrdh.dnGat(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20ocaDarshdduDh\x20=\x207pNm.nucdh(uto6(GalhrdhErCoVuctLccuf[k]));\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!ocaDarshdduDh.e2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocaDarshdduDh.e2\x20=\x20meK6hc(GalhrdhErCoVuctLccuf[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20adAocJhc\x20=\x20tfnhoC\x20AocJhcxGo6uGplonh\x20!==\x20\x27er2hCarh2\x27\x20&&\x20dhGC\x20ardturlhoC\x20AocJhcxGo6uGplonh;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20lorthWt\x20=\x20adAocJhc\x20?\x20dhGC\x20:\x20Har2oH;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDhAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[k]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDh\x20=\x20lorthWt.__1hW__.dtcarDaCf(KhdduDhAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutechAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[z]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutech\x20=\x20lorthWt.__1hW__.dtcarDaCf(daDrutechAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDr4uGa2\x20=\x20lorthWt.__8hcaCf__(daDrutech,\x20KhdduDh,\x20ne6Galihf);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x202oKuar\x20=\x20ocaDarshdduDh.2K;\x20\x20\x20\x20\x20\x20\x20\x20Cerltaor\x20adXoKuarsutl9arD(oVutthcr,\x20o1odt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcr\x20=\x20oVutthcr.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odt\x20=\x20o1odt.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrVuctd\x20=\x20nutthcr.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtVuctd\x20=\x209odt.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!nutthcr.arlGe2hd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcr\x20===\x209odt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(nutthcrVuctd.GhrDt9\x20<\x20k\x20||\x20nutthcrVuctd[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20CuGdh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrpeCCaW\x20=\x20nutthcrVuctd.dGalh(w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtpeCCaW\x20=\x209odtVuctd.dGalh(-nutthcrVuctd.GhrDt9\x20+\x20w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcrpeCCaW\x20===\x209odtpeCCaW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ght\x202oKuar4uGa2\x20=\x20(2oKuar\x20&&\x202oKuar.GhrDt9)\x20?\x202oKuar.doKh((2KEthK)\x20=>\x20adXoKuarsutl9arD(2KEthK,\x20Golutaor.9odtruKh))\x20:\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(Golutaor.9odtruKh\x20===\x20\x27GoluG9odt\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202oKuar4uGa2\x20=\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x208uGa2\x20=\x20daDr4uGa2\x20&&\x202oKuar4uGa2;\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20ocaDarshdduDh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20lutl9\x20(hccoc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2:\x20CuGdh,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','58042PqFBVs','length','return\x20','toRTreeItem','902280ueCwKU','START_CALCULATION','setRuntimeData','rowCount','formula','execute','pop','has','_lexer','set','column','formulaId','_getUpdateTreeListAndMakeDependency','keys','_executionInProgressListener$','startRow','getRuntimeState','_getFirstCellOfRange','IDLE','realDeleteValue','getOtherFormulaData','startColumn','getUnitData','_dependencyRTreeCacheForAddressFunction','START_CALCULATION_ARRAY_FORMULA','setSkip','_otherFormulaManagerService','bulkSearch','_isCyclicUtilMap','add','2817545qcLHPR','symbol','setCompletedArrayFormulasCount','START_DEPENDENCY','searchDependency','treeId','type','getDirtyData','endColumn','CURRENTLY_CALCULATING_ARRAY_FORMULA','1576040CDwAUK','_configService','size','markedAsStopFunctionsExecuted','_checkIsCycleDependency','_removeDependencyRTreeCache','min','endRow','31016xnNdNt','getOtherFormulaDependency','_calculateRunList','_runtimeService','markedAsNoFunctionsExecuted','addOtherFormulaDependencyMainData','setValue','forValue','_injector','next','getConfig','isSkip','dirtyRanges','isExcludeRange','_traverse','setCurrent','_definedNameMap','_dependencyRTreeCache','valid','forEach','refOffsetY','unitId','addOtherFormulaDependency','get','_currentConfigService','dispose','reset','_otherFormulaDataMainData','notExecuteFormula','max','getDirtyNameMap','getDirtyRanges','_registerOtherFormulas'];_0x4c27=function(){return _0x3e05ed;};return _0x4c27();}import{FormulaDependencyGenerator as _0x588a37,generateRandomDependencyTreeId as _0x3898d7,FormulaDependencyTree as _0x5e385f,FormulaDependencyTreeType as _0x3f857e,FormulaDependencyTreeVirtual as _0x506960,generateAstNode as _0x8b5b46,CalculateFormulaService as _0x3cbdb0,FormulaExecuteStageType as _0x9fff84,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1575bd,DEFAULT_INTERVAL_COUNT as _0x529e86,DependencyManagerBaseService as _0x27e3f6,UniverFormulaEnginePlugin as _0x46a0df,ICalculateFormulaService as _0x2354d7,IDependencyManagerService as _0x37c025,IFormulaDependencyGenerator as _0x295b77,DependencyManagerService as _0x2afed7}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'q',0x1:'H',0x2:'d',0x3:'7',0x4:'V',0x5:'Y',0x6:'b',0x7:'J',0x8:'v',0x9:'h','Y':'0','w':'1','k':'2','z':'3','F':'4','I':'5','M':'6','S':'8','O':'9','u':'a','l':'c','h':'e','C':'f','D':'g','a':'i','b':'j','J':'k','G':'l','K':'m','r':'n','o':'o','n':'p','c':'r','d':'s','t':'t','e':'u','H':'w','W':'x','f':'y','y':'z','L':'A','T':'B','B':'C','X':'D','P':'E','v':'F','x':'G','E':'I','i':'K','q':'L','s':'M','m':'N','N':'O','V':'P','Z':'Q','j':'R','p':'S','g':'T','U':'U','A':'W','R':'X','Q':'Z'},le=_0x453506(0x175);class he extends _0x588a37{constructor(){super(...arguments),S(this,'_dependencyTreeCache',new Map());}[_0x453506(0x1c3)](){const _0x3a92dc=_0x453506;super[_0x3a92dc(0x1c3)](),this[_0x3a92dc(0x1db)][_0x3a92dc(0x1d9)]();}async[_0x453506(0x158)](){const _0x9319f2=_0x453506;this[_0x9319f2(0x1d0)]();const _0x3f3cec=this[_0x9319f2(0x1c2)][_0x9319f2(0x1d6)](),_0x4a52d1=this[_0x9319f2(0x194)][_0x9319f2(0x18e)](),_0x291488=this[_0x9319f2(0x1c2)][_0x9319f2(0x1cb)]();_0x291488!=null&&Object[_0x9319f2(0x187)](_0x291488)['forEach'](_0xda3177=>{const _0x322071=_0x9319f2;_0xda3177!=null&&Object['keys'](_0x291488[_0xda3177])[_0x322071(0x1bd)](_0x9ab6b9=>{const _0x4ed53e=_0x322071;_0x9ab6b9!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xda3177,_0x9ab6b9),this[_0x4ed53e(0x1e4)][_0x4ed53e(0x1e1)](_0xda3177,_0x9ab6b9),this['_dependencyManagerService']['clearFormulaDependency'](_0xda3177,_0x9ab6b9));});});const _0x46ddd1=this[_0x9319f2(0x1c2)][_0x9319f2(0x190)]();await this['_generateTreeList'](_0x3f3cec,_0x4a52d1,_0x46ddd1),this[_0x9319f2(0x1e4)]['openKdTree']();const _0x52e67f=this[_0x9319f2(0x186)](),_0x3eb5d3=this['_calculateRunList'](_0x52e67f);return this[_0x9319f2(0x1a6)](_0x3eb5d3)&&this[_0x9319f2(0x1ad)]['enableCycleDependency'](),this[_0x9319f2(0x1db)][_0x9319f2(0x1d9)](),this[_0x9319f2(0x191)][_0x9319f2(0x1d9)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x9319f2(0x170)](_0x3eb5d3);}[_0x453506(0x196)](_0x135ed9,_0x588fb3){const _0x30107a=_0x453506,_0x2123fe=[_0x135ed9];for(;_0x2123fe[_0x30107a(0x177)]>0x0;){const _0x188314=_0x2123fe[_0x2123fe[_0x30107a(0x177)]-0x1];if((_0x588fb3['get'](_0x188314)||0x0)===0x0){_0x588fb3[_0x30107a(0x183)](_0x188314,0x1);const _0x1785a2=this[_0x30107a(0x1db)][_0x30107a(0x1c1)](_0x188314);if(_0x1785a2==null){_0x588fb3[_0x30107a(0x183)](_0x188314,0x2),_0x2123fe['pop']();continue;}const _0x393f93=this[_0x30107a(0x1e4)][_0x30107a(0x19c)](_0x1785a2['toRTreeItem']());for(const _0x5540f7 of _0x393f93){const _0x1ce0ce=_0x588fb3['get'](_0x5540f7)||0x0;if(_0x1ce0ce===0x1)return!0x0;_0x1ce0ce===0x0&&_0x2123fe['push'](_0x5540f7);}}else _0x588fb3[_0x30107a(0x183)](_0x188314,0x2),_0x2123fe[_0x30107a(0x180)]();}return!0x1;}[_0x453506(0x1a6)](_0x5820f4){const _0x15d8d3=_0x453506,_0x58d540=new Map();for(const _0x4e1bba of _0x5820f4)if(!_0x58d540[_0x15d8d3(0x181)](_0x4e1bba[_0x15d8d3(0x19d)])&&this[_0x15d8d3(0x196)](_0x4e1bba[_0x15d8d3(0x19d)],_0x58d540))return!0x0;return _0x58d540[_0x15d8d3(0x1d9)](),!0x1;}[_0x453506(0x171)](_0x249dfa,_0x3a1438,_0x359d5e){const _0x12591b=_0x453506,{unitId:_0x5623ed,subUnitId:_0x4238ec,dependencyRanges:_0x54d905,getDirtyData:_0x4ec2bc}=_0x359d5e,_0x106f1d=_0x3a1438||_0x3898d7(this[_0x12591b(0x1e4)]),_0x5e4420=new _0x5e385f(_0x106f1d);_0x5e4420['unitId']=_0x5623ed,_0x5e4420[_0x12591b(0x155)]=_0x4238ec,_0x5e4420[_0x12591b(0x153)]=_0x54d905,_0x5e4420['getDirtyData']=_0x4ec2bc;const _0x16e3e6=_0x4ec2bc(this[_0x12591b(0x1c2)][_0x12591b(0x19f)](),this[_0x12591b(0x1ad)][_0x12591b(0x1d7)]()),_0xb09333=this[_0x12591b(0x1cd)](_0x16e3e6[_0x12591b(0x1b6)]);return _0x5e4420[_0x12591b(0x152)]=_0xb09333,_0x5e4420[_0x12591b(0x1d1)]=_0x249dfa,_0x5e4420[_0x12591b(0x19e)]=_0x3f857e[_0x12591b(0x162)],this[_0x12591b(0x1e4)]['addFeatureFormulaDependency'](_0x5623ed,_0x4238ec,_0x249dfa,_0x5e4420),this[_0x12591b(0x1db)][_0x12591b(0x183)](_0x5e4420['treeId'],_0x5e4420),this[_0x12591b(0x1e4)][_0x12591b(0x1d4)](_0x359d5e[_0x12591b(0x1bf)],_0x359d5e[_0x12591b(0x155)],_0x249dfa)&&(_0x5e4420[_0x12591b(0x1e6)]=!0x0),_0x5e4420;}[_0x453506(0x1ca)](_0x4094a0,_0x57a02e,_0x2f187b){const _0x2087af=_0x453506;var _0x2c74af;for(const _0x3b0226 of _0x57a02e){const _0x5b66b6=_0x4094a0[_0x3b0226];if(_0x5b66b6==null)continue;const _0x33bff9=Object[_0x2087af(0x187)](_0x5b66b6);for(const _0x3d53a3 of _0x33bff9){const _0x30958c=_0x5b66b6[_0x3d53a3];if(_0x30958c==null)continue;const _0x3c4cb0=Object['keys'](_0x30958c);for(const _0x2b464c of _0x3c4cb0){const _0x1671b7=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x2b464c),_0x419eae=_0x30958c[_0x2b464c],{f:_0x207d91,ranges:_0x4b13ed}=_0x419eae;let _0x18485c=!0x1;_0x1671b7&&(_0x18485c=!0x0);const {firstRow:_0xcc07c6,firstColumn:_0x51d45f}=this[_0x2087af(0x18b)](_0x4b13ed),_0x5ea3b4=this[_0x2087af(0x1e4)][_0x2087af(0x1ab)](_0x3b0226,_0x3d53a3,_0x2b464c),_0x110dc0=(_0x2c74af=_0x5ea3b4==null?void 0x0:_0x5ea3b4['getValue'](0x0,0x0))!=null?_0x2c74af:_0x3898d7(this[_0x2087af(0x1e4)]),_0x407f1f=new _0x5e385f(_0x110dc0);for(let _0x4f061f=0x0;_0x4f061f<_0x4b13ed[_0x2087af(0x177)];_0x4f061f++){const _0x5a35f5=_0x4b13ed[_0x4f061f],{startRow:_0x923cef,startColumn:_0x3bcb66,endRow:_0x165c04,endColumn:_0x383c9a}=_0x5a35f5;for(let _0x55b71c=_0x923cef;_0x55b71c<=_0x165c04;_0x55b71c++)for(let _0x415811=_0x3bcb66;_0x415811<=_0x383c9a;_0x415811++){const _0x45f215=_0x415811-_0x51d45f,_0x2c24d4=_0x55b71c-_0xcc07c6;if(_0x45f215===0x0&&_0x2c24d4===0x0){_0x407f1f['formula']=_0x207d91,_0x407f1f[_0x2087af(0x1bf)]=_0x3b0226,_0x407f1f[_0x2087af(0x155)]=_0x3d53a3,_0x407f1f[_0x2087af(0x185)]=_0x2b464c,_0x407f1f[_0x2087af(0x19e)]=_0x3f857e[_0x2087af(0x1e7)],_0x407f1f['isCache']=_0x18485c,_0x2f187b['push'](_0x407f1f),this[_0x2087af(0x1db)]['set'](_0x407f1f[_0x2087af(0x19d)],_0x407f1f),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x3b0226,_0x3d53a3,_0x2b464c,_0x407f1f),this[_0x2087af(0x1e4)]['addFormulaDependencyByDefinedName'](_0x407f1f);continue;}const _0x23ddab=new _0x506960();_0x23ddab[_0x2087af(0x19d)]=(_0x5ea3b4==null?void 0x0:_0x5ea3b4[_0x2087af(0x16b)](_0x45f215,_0x2c24d4))||_0x3898d7(this['_dependencyManagerService']),_0x23ddab[_0x2087af(0x1e5)]=_0x407f1f,_0x23ddab['refOffsetX']=_0x45f215,_0x23ddab[_0x2087af(0x1be)]=_0x2c24d4,_0x23ddab[_0x2087af(0x1e6)]=_0x18485c,this[_0x2087af(0x1e4)][_0x2087af(0x1c0)](_0x3b0226,_0x3d53a3,_0x2b464c,_0x23ddab),this[_0x2087af(0x1e4)][_0x2087af(0x1e0)](_0x23ddab),_0x2f187b[_0x2087af(0x169)](_0x23ddab),this['_dependencyTreeCache']['set'](_0x23ddab['treeId'],_0x23ddab);}}this[_0x2087af(0x1e4)][_0x2087af(0x1af)](_0x2b464c);}}}}['_registerFormulas'](_0x53a3ec,_0x5f2be5,_0x413564,_0x32b844){const _0x112954=_0x453506;for(const _0x2007fa of _0x53a3ec){const _0x1d1599=_0x5f2be5[_0x2007fa];if(_0x1d1599==null)continue;const _0x36be2f=Object[_0x112954(0x187)](_0x1d1599);for(const _0x5bb1b7 of _0x36be2f){const _0x24d1f1=new _0x3f0bbc(_0x1d1599[_0x5bb1b7]||{}),_0x2e312f=new Map();_0x24d1f1[_0x112954(0x1b1)]((_0x44390f,_0x5ed53e,_0x52d1fe)=>{const _0x4db182=_0x112954;if(_0x52d1fe==null)return!0x0;const {x:_0x570d6f=0x0,y:_0x305b49=0x0,si:_0xe60dd3}=_0x52d1fe;if(!(_0x570d6f===0x0&&_0x305b49===0x0&&_0xe60dd3!=null))return!0x0;const _0xa52017=this['_createFDtree'](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e,_0x413564,_0x52d1fe),_0x4b55f4=this[_0x4db182(0x1e4)][_0x4db182(0x1d3)](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e);_0x4b55f4!=null?_0xa52017['treeId']=_0x4b55f4:(this['_dependencyManagerService'][_0x4db182(0x1df)](_0x2007fa,_0x5bb1b7,_0x44390f,_0x5ed53e,_0xa52017),this[_0x4db182(0x1e4)][_0x4db182(0x1e0)](_0xa52017)),_0x2e312f[_0x4db182(0x183)](_0xe60dd3,_0xa52017),_0x32b844[_0x4db182(0x169)](_0xa52017),this[_0x4db182(0x1db)][_0x4db182(0x183)](_0xa52017[_0x4db182(0x19d)],_0xa52017);}),_0x24d1f1[_0x112954(0x1b1)]((_0x1ec712,_0x34369f,_0xe18858)=>{const _0x2e0a12=_0x112954;if(_0xe18858==null)return!0x0;const {x:_0x33b089=0x0,y:_0x2853e2=0x0,si:_0x292d4a}=_0xe18858;if(_0x33b089===0x0&&_0x2853e2===0x0&&_0x292d4a!=null)return!0x0;let _0x1347aa;if(_0x292d4a&&_0x2e312f[_0x2e0a12(0x181)](_0x292d4a)){const _0x1d8e5a=_0x2e312f['get'](_0x292d4a);_0x1347aa=this[_0x2e0a12(0x15c)](_0x1d8e5a,_0xe18858);}else _0x1347aa=this['_createFDtree'](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f,_0x413564,_0xe18858);const _0x37532c=this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1d3)](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f);_0x37532c!=null?_0x1347aa[_0x2e0a12(0x19d)]=_0x37532c:(this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1df)](_0x2007fa,_0x5bb1b7,_0x1ec712,_0x34369f,_0x1347aa),this[_0x2e0a12(0x1e4)][_0x2e0a12(0x1e0)](_0x1347aa)),_0x32b844[_0x2e0a12(0x169)](_0x1347aa),this[_0x2e0a12(0x1db)][_0x2e0a12(0x183)](_0x1347aa[_0x2e0a12(0x19d)],_0x1347aa);}),_0x2e312f[_0x112954(0x1d9)]();}}}['_createFDtree'](_0x2c697c,_0x151208,_0x21016c,_0x5e597f,_0x111973,_0xf59523){const _0x3ee9d8=_0x453506,{f:_0x1d11df,x:_0x420818=0x0,y:_0xf4bf84=0x0}=_0xf59523,_0x6e66fc=new _0x5e385f(_0x3898d7(this[_0x3ee9d8(0x1e4)])),_0x14e6fd=_0x111973[_0x2c697c][_0x151208];return _0x6e66fc['formula']=_0x1d11df,_0x6e66fc['unitId']=_0x2c697c,_0x6e66fc[_0x3ee9d8(0x155)]=_0x151208,_0x6e66fc['row']=_0x21016c,_0x6e66fc[_0x3ee9d8(0x184)]=_0x5e597f,_0x6e66fc[_0x3ee9d8(0x17d)]=_0x14e6fd[_0x3ee9d8(0x17d)],_0x6e66fc['columnCount']=_0x14e6fd[_0x3ee9d8(0x163)],_0x6e66fc;}[_0x453506(0x186)](){const _0x24f879=_0x453506,_0x31b7b7=[],_0x3edd59=new Set(),_0x43748b=this[_0x24f879(0x1c2)]['isForceCalculate'](),_0x350e7a=this[_0x24f879(0x1c2)][_0x24f879(0x1c9)](),_0x5a8d68=this[_0x24f879(0x1e4)][_0x24f879(0x19c)](_0x350e7a),_0x162e51=this['_dependencyRTreeCacheForAddressFunction'][_0x24f879(0x195)](_0x350e7a);for(const _0x1ba867 of _0x162e51)_0x5a8d68[_0x24f879(0x197)](_0x1ba867);for(const [_0x39f787,_0x1d3151]of this[_0x24f879(0x1db)])(_0x43748b||_0x1d3151['isDirty']||_0x1d3151[_0x24f879(0x1dd)](this['_currentConfigService'][_0x24f879(0x1c8)]())||_0x5a8d68[_0x24f879(0x181)](_0x39f787)&&!_0x1d3151[_0x24f879(0x1b7)](this['_currentConfigService'][_0x24f879(0x164)]()))&&!_0x3edd59[_0x24f879(0x181)](_0x39f787)&&(_0x31b7b7['push'](_0x1d3151),_0x3edd59['add'](_0x39f787));for(const [_0x530ea2,_0x389af2]of this[_0x24f879(0x1db)])_0x389af2[_0x24f879(0x154)]||(_0x389af2[_0x24f879(0x153)][_0x24f879(0x177)]=0x0);return _0x31b7b7;}[_0x453506(0x1d2)](_0x5a8fe0){const _0x3aa77e=_0x453506;return this[_0x3aa77e(0x1db)]['get'](_0x5a8fe0);}['_getTreeNode'](_0x1373e4){const _0x17e8d6=_0x453506;return _0x8b5b46(_0x1373e4['unitId'],_0x1373e4[_0x17e8d6(0x17e)],this[_0x17e8d6(0x182)],this[_0x17e8d6(0x1de)],this[_0x17e8d6(0x1c2)]);}*[_0x453506(0x1b8)](_0x4e8598,_0x4e92eb){const _0x5c96d2=_0x453506,_0x4c332a=_0x4e8598,_0x1ecdd2=new Set();for(;_0x4c332a['length']>0x0;){const _0x415432=_0x4c332a['pop']();if(_0x1ecdd2[_0x5c96d2(0x1d9)](),_0x415432===void 0x0||_0x415432[_0x5c96d2(0x1b5)]())continue;if(_0x415432[_0x5c96d2(0x159)]()){yield _0x415432,_0x415432[_0x5c96d2(0x193)](),_0x4e92eb[_0x5c96d2(0x197)](_0x415432[_0x5c96d2(0x19d)]);continue;}const _0x83ed9a=this['_dependencyManagerService']['searchDependency'](_0x415432[_0x5c96d2(0x179)](),_0x4e92eb),_0x5af2bd=this[_0x5c96d2(0x191)]['bulkSearch'](_0x415432[_0x5c96d2(0x179)](),_0x4e92eb);for(const _0x29a55f of _0x5af2bd)_0x83ed9a['add'](_0x29a55f);for(const _0x677306 of _0x83ed9a){const _0x1ef318=this['_dependencyTreeCache'][_0x5c96d2(0x1c1)](_0x677306);if(!_0x1ef318)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x1ef318[_0x5c96d2(0x159)]()||_0x415432[_0x5c96d2(0x1b5)]()||_0x1ecdd2['add'](_0x1ef318);}if(_0x83ed9a[_0x5c96d2(0x1d9)](),_0x1ecdd2[_0x5c96d2(0x1a4)]===0x0)yield _0x415432,_0x415432[_0x5c96d2(0x193)](),_0x4e92eb[_0x5c96d2(0x197)](_0x415432[_0x5c96d2(0x19d)]);else{_0x415432['setAdded'](),_0x4c332a[_0x5c96d2(0x169)](_0x415432);for(const _0x1a0113 of _0x1ecdd2)_0x4c332a[_0x5c96d2(0x169)](_0x1a0113);}}_0x4c332a[_0x5c96d2(0x177)]=0x0,_0x1ecdd2[_0x5c96d2(0x1d9)]();}[_0x453506(0x1ac)](_0x56ce46){const _0x3b63b3=_0x453506,_0x215d35=[],_0x5624aa=new Set();for(const _0x24cd56 of this[_0x3b63b3(0x1b8)](_0x56ce46,_0x5624aa))_0x215d35[_0x3b63b3(0x169)](_0x24cd56);return _0x215d35;}}class de extends _0x3cbdb0{async['_apply'](_0x2f5c35=!0x1){const _0xeb7248=_0x453506;_0x2f5c35?this['_runtimeService'][_0xeb7248(0x1ea)](_0x9fff84['START_DEPENDENCY_ARRAY_FORMULA']):this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x19b)]),this['_executionInProgressListener$']['next'](this[_0xeb7248(0x1ad)][_0xeb7248(0x18a)]());const _0x30485e=await this['_formulaDependencyGenerator'][_0xeb7248(0x158)](),_0x3574db=this[_0xeb7248(0x1ce)];_0x2f5c35?(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x192)]),this[_0xeb7248(0x1ad)][_0xeb7248(0x161)](_0x30485e['length'])):(this['_runtimeService'][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x17b)]),this['_runtimeService']['setTotalFormulasToCalculate'](_0x30485e['length'])),this[_0xeb7248(0x188)]['next'](this['_runtimeService'][_0xeb7248(0x18a)]());let _0x2539a2=[];const _0x182720=this[_0xeb7248(0x1a3)][_0xeb7248(0x1b4)](_0x1575bd),_0x682b22=(_0x182720==null?void 0x0:_0x182720['intervalCount'])||_0x529e86;let _0x25d40e=0x0;const _0x40ea6d=_0x30485e[_0xeb7248(0x177)];for(;_0x30485e['length']>0x0;){const _0x45742d=_0x30485e[_0xeb7248(0x180)](),_0x217901={'node':_0x8b5b46(_0x45742d['unitId'],_0x45742d[_0xeb7248(0x17e)],this[_0xeb7248(0x182)],this[_0xeb7248(0x1de)],this[_0xeb7248(0x1c2)]),'refOffsetX':_0x45742d['refOffsetX'],'refOffsetY':_0x45742d[_0xeb7248(0x1be)]},_0x20cadf=_0x45742d[_0xeb7248(0x19f)];if(_0x25d40e%_0x682b22===0x0&&(await new Promise(_0x4c27a2=>{const _0x368bcb=_0xeb7248,_0x16b310=_0x537521(_0x4c27a2);_0x2539a2[_0x368bcb(0x169)](_0x16b310);}),_0x2f5c35?(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84[_0xeb7248(0x1a1)]),this[_0xeb7248(0x1ad)][_0xeb7248(0x19a)](_0x25d40e+0x1)):(this[_0xeb7248(0x1ad)][_0xeb7248(0x1ea)](_0x9fff84['CURRENTLY_CALCULATING']),this[_0xeb7248(0x1ad)]['setCompletedFormulasCount'](_0x25d40e+0x1)),this[_0xeb7248(0x188)][_0xeb7248(0x1b3)](this[_0xeb7248(0x1ad)][_0xeb7248(0x18a)]()),this[_0xeb7248(0x1ad)]['isStopExecution']()||_0x217901==null&&_0x20cadf==null)){this[_0xeb7248(0x1ad)]['setFormulaExecuteStage'](_0x9fff84[_0xeb7248(0x18c)]),this['_runtimeService'][_0xeb7248(0x1a5)](),this[_0xeb7248(0x16a)][_0xeb7248(0x1b3)](this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]());return;}this[_0xeb7248(0x1ad)][_0xeb7248(0x1b9)](_0x45742d['row'],_0x45742d['column'],_0x45742d[_0xeb7248(0x17d)],_0x45742d[_0xeb7248(0x163)],_0x45742d[_0xeb7248(0x155)],_0x45742d[_0xeb7248(0x1bf)]);let _0x1b02c0;if(_0x20cadf!=null&&_0x45742d['featureId']!=null){const {runtimeCellData:_0x3846f5,dirtyRanges:_0x540495}=_0x20cadf(this['_currentConfigService'][_0xeb7248(0x19f)](),this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]());this[_0xeb7248(0x1ad)]['setRuntimeFeatureCellData'](_0x45742d[_0xeb7248(0x1d1)],_0x3846f5),this[_0xeb7248(0x1ad)][_0xeb7248(0x174)](_0x45742d[_0xeb7248(0x1d1)],_0x540495);}else _0x217901!=null&&(_0x3574db['checkAsyncNode'](_0x217901[_0xeb7248(0x168)])?_0x1b02c0=await _0x3574db[_0xeb7248(0x172)](_0x217901):_0x1b02c0=_0x3574db[_0xeb7248(0x17f)](_0x217901),_0x45742d[_0xeb7248(0x185)]!=null?this[_0xeb7248(0x1ad)][_0xeb7248(0x1da)](_0x45742d[_0xeb7248(0x185)],_0x45742d[_0xeb7248(0x1cf)],_0x45742d[_0xeb7248(0x1be)],_0x1b02c0):this[_0xeb7248(0x1ad)][_0xeb7248(0x17c)](_0x1b02c0));_0x25d40e++;}return _0x2539a2['forEach'](_0x4f27da=>_0x4f27da()),_0x2539a2=[],_0x40ea6d>0x0?this[_0xeb7248(0x1ad)]['markedAsSuccessfullyExecuted']():_0x2f5c35||this[_0xeb7248(0x1ad)][_0xeb7248(0x1ae)](),this[_0xeb7248(0x1ad)][_0xeb7248(0x1d7)]();}}class fe extends _0x27e3f6{constructor(){const _0x3082db=_0x453506;super(...arguments),S(this,_0x3082db(0x1d5),new Map()),S(this,_0x3082db(0x1bb),new _0x1bf844(!0x0));}[_0x453506(0x1c4)](){const _0xe1e17f=_0x453506;this[_0xe1e17f(0x1cc)][_0xe1e17f(0x1d9)](),this['_featureFormulaData']['clear'](),this[_0xe1e17f(0x166)][_0xe1e17f(0x1d9)](),this[_0xe1e17f(0x1bb)][_0xe1e17f(0x1d9)](),this['_allTreeMap'][_0xe1e17f(0x1d9)](),this[_0xe1e17f(0x167)](),this[_0xe1e17f(0x1c5)][_0xe1e17f(0x1d9)]();}[_0x453506(0x1c0)](_0x5b8e81,_0x1db87c,_0x413cef,_0x570735){const _0x3d1420=_0x453506;this['_otherFormulaData']['has'](_0x5b8e81)||this[_0x3d1420(0x1cc)][_0x3d1420(0x183)](_0x5b8e81,new Map());const _0x23137e=this[_0x3d1420(0x1cc)][_0x3d1420(0x1c1)](_0x5b8e81);_0x23137e[_0x3d1420(0x181)](_0x1db87c)||_0x23137e['set'](_0x1db87c,new Map());const _0x41214b=_0x23137e[_0x3d1420(0x1c1)](_0x1db87c);_0x41214b[_0x3d1420(0x181)](_0x413cef)||_0x41214b[_0x3d1420(0x183)](_0x413cef,new _0x3f0bbc()),_0x41214b[_0x3d1420(0x1c1)](_0x413cef)[_0x3d1420(0x1b0)](_0x570735['refOffsetX'],_0x570735['refOffsetY'],_0x570735[_0x3d1420(0x19d)]);}[_0x453506(0x15a)](_0x579583,_0x2ae0d1,_0x57ca93){const _0x2c4bdb=_0x453506,_0x32772e=this[_0x2c4bdb(0x1cc)][_0x2c4bdb(0x1c1)](_0x579583);if(_0x32772e&&_0x32772e[_0x2c4bdb(0x181)](_0x2ae0d1)){const _0x1886da=_0x32772e['get'](_0x2ae0d1);_0x57ca93[_0x2c4bdb(0x1bd)](_0x2991c1=>{const _0x56a59e=_0x2c4bdb,_0x3ad408=_0x1886da[_0x56a59e(0x1c1)](_0x2991c1);_0x3ad408!=null&&(_0x3ad408['forValue']((_0xde4f79,_0x2bd0a5,_0x562544)=>{const _0x989b5c=_0x56a59e;this[_0x989b5c(0x1a7)](_0x562544),this[_0x989b5c(0x15e)](_0x562544);}),_0x1886da[_0x56a59e(0x16c)](_0x2991c1),this[_0x56a59e(0x1c5)]['delete'](_0x2991c1));}),_0x1886da[_0x2c4bdb(0x1a4)]===0x0&&_0x32772e[_0x2c4bdb(0x16c)](_0x2ae0d1),_0x32772e[_0x2c4bdb(0x1a4)]===0x0&&this[_0x2c4bdb(0x1cc)]['delete'](_0x579583);}}[_0x453506(0x1d8)](_0x28a272,_0x50f058){const _0x393465=_0x453506,_0xd02bbb=this[_0x393465(0x1cc)]['get'](_0x28a272);if(_0x50f058&&_0xd02bbb&&_0xd02bbb[_0x393465(0x181)](_0x50f058)){const _0x1cc8db=_0xd02bbb[_0x393465(0x1c1)](_0x50f058);this['_removeDependencyRTreeCacheById'](_0x28a272,_0x50f058);for(const _0x20c382 of _0x1cc8db[_0x393465(0x187)]()){const _0x5c170a=_0x1cc8db[_0x393465(0x1c1)](_0x20c382);_0x5c170a!=null&&(_0x5c170a[_0x393465(0x1b1)]((_0x5b0751,_0x3de800,_0xf8baeb)=>{const _0xdea7e5=_0x393465;this[_0xdea7e5(0x1d5)]['get'](_0xf8baeb)&&this[_0xdea7e5(0x15e)](_0xf8baeb);}),this['_otherFormulaDataMainData']['delete'](_0x20c382));}_0x1cc8db[_0x393465(0x1d9)]();}else{if(_0xd02bbb){for(const _0x5e7ed5 of _0xd02bbb['keys']()){const _0x2e6466=_0xd02bbb[_0x393465(0x1c1)](_0x5e7ed5);this[_0x393465(0x157)](_0x28a272,_0x5e7ed5);for(const _0x3e26ec of _0x2e6466[_0x393465(0x187)]()){const _0x20e756=_0x2e6466['get'](_0x3e26ec);_0x20e756!=null&&(_0x20e756[_0x393465(0x1b1)]((_0xf564a3,_0x19f0b4,_0x21b555)=>{const _0x1d9778=_0x393465;this['_allTreeMap'][_0x1d9778(0x1c1)](_0x21b555)&&this[_0x1d9778(0x15e)](_0x21b555);}),this[_0x393465(0x1c5)][_0x393465(0x16c)](_0x3e26ec));}}this[_0x393465(0x1cc)][_0x393465(0x16c)](_0x28a272);}}}['addFeatureFormulaDependency'](_0x35b1cf,_0x4a9761,_0x54e72a,_0x410843){const _0x50f739=_0x453506;this[_0x50f739(0x15b)][_0x50f739(0x181)](_0x35b1cf)||this[_0x50f739(0x15b)][_0x50f739(0x183)](_0x35b1cf,new Map());const _0x15a944=this[_0x50f739(0x15b)][_0x50f739(0x1c1)](_0x35b1cf);_0x15a944[_0x50f739(0x181)](_0x4a9761)||_0x15a944[_0x50f739(0x183)](_0x4a9761,new Map()),_0x15a944[_0x50f739(0x1c1)](_0x4a9761)[_0x50f739(0x183)](_0x54e72a,_0x410843[_0x50f739(0x19d)]);}['removeFeatureFormulaDependency'](_0x4775be,_0x2c793c,_0x4b6c78){const _0x355244=_0x453506,_0x5735b8=this[_0x355244(0x15b)][_0x355244(0x1c1)](_0x4775be);if(_0x5735b8&&_0x5735b8[_0x355244(0x181)](_0x2c793c)){const _0x3a61fc=_0x5735b8['get'](_0x2c793c);_0x4b6c78[_0x355244(0x1bd)](_0x355c3e=>{const _0x5c0733=_0x355244,_0x20e9f0=_0x3a61fc[_0x5c0733(0x1c1)](_0x355c3e);_0x20e9f0!=null&&(this[_0x5c0733(0x1a7)](_0x20e9f0),_0x3a61fc[_0x5c0733(0x16c)](_0x355c3e),this[_0x5c0733(0x15e)](_0x20e9f0));});}}['clearFeatureFormulaDependency'](_0x245ce9,_0x14a8b7){const _0x55cfc2=_0x453506,_0x5d2ac4=this[_0x55cfc2(0x15b)]['get'](_0x245ce9);if(_0x14a8b7&&_0x5d2ac4&&_0x5d2ac4[_0x55cfc2(0x181)](_0x14a8b7)){const _0x58a176=_0x5d2ac4['get'](_0x14a8b7);this[_0x55cfc2(0x157)](_0x245ce9,_0x14a8b7),_0x58a176[_0x55cfc2(0x1bd)](_0x2df6aa=>{const _0x473046=_0x55cfc2;_0x2df6aa!=null&&this[_0x473046(0x15e)](_0x2df6aa);}),_0x58a176['clear']();}else _0x5d2ac4&&(_0x5d2ac4['forEach']((_0x3f44c8,_0x4f303c)=>{const _0x4a22e4=_0x55cfc2;this[_0x4a22e4(0x157)](_0x245ce9,_0x4f303c),_0x3f44c8[_0x4a22e4(0x1bd)](_0x38c29a=>{const _0x227111=_0x4a22e4;_0x38c29a!=null&&this[_0x227111(0x15e)](_0x38c29a);});}),this[_0x55cfc2(0x15b)][_0x55cfc2(0x16c)](_0x245ce9));}[_0x453506(0x1df)](_0x4d3f5a,_0x4b40fb,_0x262e4e,_0x291279,_0x5d01eb){const _0xb2abb9=_0x453506;this[_0xb2abb9(0x166)][_0xb2abb9(0x181)](_0x4d3f5a)||this[_0xb2abb9(0x166)][_0xb2abb9(0x183)](_0x4d3f5a,new Map());const _0x52b458=this['_formulaData'][_0xb2abb9(0x1c1)](_0x4d3f5a);_0x52b458[_0xb2abb9(0x181)](_0x4b40fb)||_0x52b458[_0xb2abb9(0x183)](_0x4b40fb,new _0x3f0bbc()),_0x52b458[_0xb2abb9(0x1c1)](_0x4b40fb)[_0xb2abb9(0x1b0)](_0x262e4e,_0x291279,_0x5d01eb[_0xb2abb9(0x19d)]);}['removeFormulaDependency'](_0x2245b2,_0x1477c9,_0x3e2c2d,_0x1e7b2a){const _0x14b06c=_0x453506,_0x29872c=this[_0x14b06c(0x166)]['get'](_0x2245b2);if(_0x29872c&&_0x29872c[_0x14b06c(0x181)](_0x1477c9)){const _0x1a224c=_0x29872c[_0x14b06c(0x1c1)](_0x1477c9),_0x4f3bc5=_0x1a224c['getValue'](_0x3e2c2d,_0x1e7b2a);if(_0x4f3bc5==null)return;this[_0x14b06c(0x1a7)](_0x4f3bc5),_0x1a224c[_0x14b06c(0x18d)](_0x3e2c2d,_0x1e7b2a),this[_0x14b06c(0x15e)](_0x4f3bc5);}}[_0x453506(0x165)](_0x53ae2f,_0x1228c9){const _0x4c4e1d=_0x453506,_0x23ca37=this[_0x4c4e1d(0x166)][_0x4c4e1d(0x1c1)](_0x53ae2f);if(_0x1228c9&&_0x23ca37&&_0x23ca37[_0x4c4e1d(0x181)](_0x1228c9)){const _0x37ce53=_0x23ca37[_0x4c4e1d(0x1c1)](_0x1228c9);this[_0x4c4e1d(0x157)](_0x53ae2f,_0x1228c9),_0x37ce53[_0x4c4e1d(0x1b1)]((_0x3d9b3d,_0x32be94,_0x3cc40a)=>{if(_0x3cc40a==null)return!0x0;this['_removeAllTreeMap'](_0x3cc40a);}),_0x37ce53[_0x4c4e1d(0x1c4)]();}else _0x23ca37&&(_0x23ca37[_0x4c4e1d(0x1bd)]((_0x332c9b,_0x570c47)=>{const _0x446683=_0x4c4e1d;this['_removeDependencyRTreeCacheById'](_0x53ae2f,_0x570c47),_0x332c9b[_0x446683(0x1b1)]((_0x243aa8,_0x10a693,_0x5b666e)=>{const _0x378cab=_0x446683;if(_0x5b666e==null)return!0x0;this[_0x378cab(0x15e)](_0x5b666e);});}),this[_0x4c4e1d(0x166)][_0x4c4e1d(0x16c)](_0x53ae2f));}[_0x453506(0x1a7)](_0x5dc259){const _0x5d446b=_0x453506;if(_0x5dc259==null)return;const _0x11e27b=this[_0x5d446b(0x1d5)][_0x5d446b(0x1c1)](_0x5dc259);if(_0x11e27b){const _0x41b77c=[];for(const [_0x424076,_0x1d313c]of _0x11e27b)for(const [_0x239ba2,_0x4fe4f3]of _0x1d313c)_0x41b77c[_0x5d446b(0x169)]({'unitId':_0x424076,'sheetId':_0x239ba2,'range':_0x4fe4f3,'id':_0x5dc259});this[_0x5d446b(0x1bb)][_0x5d446b(0x1e2)](_0x41b77c);}}['removeFormulaDependencyByDefinedName'](_0x311353,_0x480afe){const _0x32a5fd=_0x453506,_0x256b0e=this[_0x32a5fd(0x1ba)][_0x32a5fd(0x1c1)](_0x311353);if(_0x256b0e){const _0x2ae24e=_0x256b0e[_0x32a5fd(0x1c1)](_0x480afe);if(_0x2ae24e){for(const _0x5a6a21 of _0x2ae24e)this['_removeDependencyRTreeCache'](_0x5a6a21),this[_0x32a5fd(0x15e)](_0x5a6a21);_0x2ae24e[_0x32a5fd(0x1d9)]();}}}[_0x453506(0x16f)](){const _0x3dd50f=_0x453506;this[_0x3dd50f(0x1bb)][_0x3dd50f(0x16f)]();}[_0x453506(0x15f)](){const _0x3d54ea=_0x453506;this[_0x3d54ea(0x1bb)]['closeKdTree']();}['_removeAllTreeMap'](_0x2dae5e){const _0x117c78=_0x453506;_0x2dae5e!=null&&this[_0x117c78(0x1d5)][_0x117c78(0x16c)](_0x2dae5e);}[_0x453506(0x16d)](_0x32e6e8){const _0x32437e=_0x453506;var _0x4dfe0e,_0x46e63f;const _0x32f4f9=_0x32e6e8[_0x32437e(0x153)];let _0x323b63=this[_0x32437e(0x1d5)]['get'](_0x32e6e8['treeId']);for(let _0x1739c9=0x0;_0x1739c9<_0x32f4f9['length'];_0x1739c9++){const _0x44a050=_0x32f4f9[_0x1739c9];let {unitId:_0xdfae8b,sheetId:_0x50cb75,range:_0x5223ee}=_0x44a050;_0x323b63||(_0x323b63=new Map(),this[_0x32437e(0x1d5)]['set'](_0x32e6e8[_0x32437e(0x19d)],_0x323b63)),_0x323b63[_0x32437e(0x181)](_0xdfae8b)||_0x323b63['set'](_0xdfae8b,new Map());const _0x625ca=(_0x4dfe0e=_0x323b63==null?void 0x0:_0x323b63['get'](_0xdfae8b))==null?void 0x0:_0x4dfe0e[_0x32437e(0x1c1)](_0x50cb75);_0x625ca&&(_0x5223ee={'startRow':Math[_0x32437e(0x1a8)](_0x5223ee[_0x32437e(0x189)],_0x625ca[_0x32437e(0x189)]),'startColumn':Math[_0x32437e(0x1a8)](_0x5223ee[_0x32437e(0x18f)],_0x625ca[_0x32437e(0x18f)]),'endRow':Math[_0x32437e(0x1c7)](_0x5223ee[_0x32437e(0x1a9)],_0x625ca[_0x32437e(0x1a9)]),'endColumn':Math[_0x32437e(0x1c7)](_0x5223ee[_0x32437e(0x1a0)],_0x625ca[_0x32437e(0x1a0)])}),(_0x46e63f=_0x323b63[_0x32437e(0x1c1)](_0xdfae8b))==null||_0x46e63f[_0x32437e(0x183)](_0x50cb75,_0x5223ee);}}}var pe=Object['getOwnPropertyDescriptor'],_e=(_0x213961,_0x37fd00,_0x3f10ea,_0x1e89d7)=>{const _0x2e4ab3=_0x453506;for(var _0x518431=_0x1e89d7>0x1?void 0x0:_0x1e89d7?pe(_0x37fd00,_0x3f10ea):_0x37fd00,_0x1e6e2f=_0x213961[_0x2e4ab3(0x177)]-0x1,_0x1f8728;_0x1e6e2f>=0x0;_0x1e6e2f--)(_0x1f8728=_0x213961[_0x1e6e2f])&&(_0x518431=_0x1f8728(_0x518431)||_0x518431);return _0x518431;};const me=Number['parseInt'](0x68c51356);function _0x3003(_0x5ad1af,_0x4f090d){const _0x4c27a3=_0x4c27();return _0x3003=function(_0x30039c,_0x18c937){_0x30039c=_0x30039c-0x152;let _0x1fa3dc=_0x4c27a3[_0x30039c];return _0x1fa3dc;},_0x3003(_0x5ad1af,_0x4f090d);}let N=class extends _0x46a0df{['_initializeWithOverride'](){const _0x554c08=_0x453506;var _0x3f7275,_0x1d623b;this[_0x554c08(0x1e8)]()?(_0x3f7275=this[_0x554c08(0x1e9)])!=null&&_0x3f7275[_0x554c08(0x1c6)]||[[_0x2354d7,{'useClass':de}],[_0x37c025,{'useClass':fe}],[_0x295b77,{'useClass':he}]]['forEach'](_0x24c408=>this['_injector'][_0x554c08(0x197)](_0x24c408)):(_0x1d623b=this[_0x554c08(0x1e9)])!=null&&_0x1d623b['notExecuteFormula']||[[_0x2354d7,{'useClass':_0x3cbdb0}],[_0x37c025,{'useClass':_0x2afed7}],[_0x295b77,{'useClass':_0x588a37}]][_0x554c08(0x1bd)](_0x38e361=>this[_0x554c08(0x1b2)]['add'](_0x38e361));}[_0x453506(0x1e8)](){const _0x3a3be4=_0x453506;var _0xc6d656;const _0x1fbf4c=(_0xc6d656=this[_0x3a3be4(0x1a3)]['getConfig'](_0x401518))!=null?_0xc6d656:{},{ls:_0x287fe3,pbk:_0x22b630}=_0x1fbf4c;if(!_0x287fe3||!_0x22b630)return!0x1;const _0x10a057=_0x114aea(le,ue),_0x265d92=new Function(_0x3a3be4(0x178)+_0x10a057)()(_0x287fe3,_0x22b630),_0x5c56c4=_0x265d92[_0x3a3be4(0x160)];return _0x265d92[_0x3a3be4(0x1bc)]&&_0x3e0a3e(_0x5c56c4,'sf',me)?_0x3912d8(_0x5c56c4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=_e([_0xc8a18(_0x5d9f22)],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
+ Y: string;
13
+ w: string;
14
+ k: string;
15
+ z: string;
16
+ F: string;
17
+ I: string;
18
+ M: string;
19
+ S: string;
20
+ O: string;
12
21
  u: string;
13
- Q: string;
22
+ l: string;
23
+ h: string;
24
+ C: string;
25
+ D: string;
26
+ a: string;
27
+ b: string;
28
+ J: string;
29
+ G: string;
30
+ K: string;
31
+ r: string;
32
+ o: string;
14
33
  n: string;
15
- t: string;
16
- x: string;
17
34
  c: string;
18
- v: string;
19
- B: string;
35
+ d: string;
36
+ t: string;
37
+ e: string;
38
+ H: string;
20
39
  W: string;
40
+ f: string;
41
+ y: string;
42
+ L: string;
21
43
  T: string;
22
- p: string;
23
- s: string;
44
+ B: string;
24
45
  X: string;
25
- G: string;
26
- o: string;
27
- U: string;
46
+ P: string;
47
+ v: string;
48
+ x: string;
49
+ E: string;
50
+ i: string;
51
+ q: string;
52
+ s: string;
53
+ m: string;
28
54
  N: string;
29
- J: string;
30
- A: string;
31
- I: string;
32
- a: string;
33
55
  V: string;
56
+ Z: string;
57
+ j: string;
58
+ p: string;
34
59
  g: string;
60
+ U: string;
61
+ A: string;
35
62
  R: string;
36
- F: string;
37
- d: string;
38
- z: string;
39
- P: string;
40
- C: string;
41
- m: string;
42
- w: string;
43
- O: string;
44
- q: string;
45
- j: string;
46
- i: string;
47
- D: string;
48
- k: string;
49
- h: string;
50
- f: string;
51
- L: string;
52
- l: string;
53
- e: string;
54
- b: string;
55
- Z: string;
56
- r: string;
57
- H: string;
58
- M: string;
59
- Y: string;
60
- K: string;
61
- E: string;
62
- y: string;
63
- S: string;
63
+ Q: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "XdI4F8aI ps4RmVF8aI(J84sI7s, Vd9J84fsm) { FRm { 4aI7F J84sI7shIXabTRFORRTm = J84sI7s.7VJ8F('-'); 4aI7F aR8G8ILs77TGs = 20el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n])); 8X (!aR8G8ILs77TGs.dp) { aR8G8ILs77TGs.dp = ldA9sR(J84sI7shIXabTRFORRTm[x]); } 4aI7F 87KaRNsR = FmVsaX KaRNsR1Ja9TJ04aVs !== 'dIpsX8Isp' && 7sJX 8I7FTI4saX KaRNsR1Ja9TJ04aVs; 4aI7F 4aIFsCF = 87KaRNsR ? 7sJX : P8IpaP; 4aI7F As77TGsKaRp = 4aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]); 4aI7F As77TGs = 4aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp); 4aI7F 78GITFdRsKaRp = 4aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]); 4aI7F 78GITFdRs = 4aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp); 4aI7F 78GIYTJ8p = 4aIFsCF.__zsR8Xm__(78GITFdRs, As77TGs, Vd9J84fsm); 4aI7F paAT8I = aR8G8ILs77TGs.pA; XdI4F8aI 876aAT8ILTF4o8IG(abTFFsRI, aka7F) { 4aI7F VTFFsRI = abTFFsRI.RsVJT4s(/^.+/, ''); 4aI7F oa7F = aka7F.RsVJT4s(/^.+/, ''); 4aI7F VTFFsRIbTRF7 = VTFFsRI.7VJ8F('.'); 4aI7F oa7FbTRF7 = oa7F.7VJ8F('.'); 8X (!VTFFsRI.8I4Jdps7('*')) { RsFdRI VTFFsRI === oa7F; } 8X (VTFFsRIbTRF7.JsIGFo < n || VTFFsRIbTRF7[u] !== '*') { RsFdRI XTJ7s; } 4aI7F VTFFsRI0dXX8C = VTFFsRIbTRF7.7J84s(Q).Ua8I('.'); 4aI7F oa7F0dXX8C = oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo + Q).Ua8I('.'); RsFdRI VTFFsRI0dXX8C === oa7F0dXX8C; } JsF paAT8IYTJ8p = (paAT8I && paAT8I.JsIGFo) ? paAT8I.7aAs((pAhFsA) => 876aAT8ILTF4o8IG(pAhFsA, Ja4TF8aI.oa7FITAs)) : FRds; 8X (Ja4TF8aI.oa7FITAs === 'Ja4TJoa7F') { paAT8IYTJ8p = FRds; } 4aI7F zTJ8p = 78GIYTJ8p && paAT8IYTJ8p; RsFdRI { zTJ8p, As77TGs: aR8G8ILs77TGs, }; } 4TF4o (sRRaR) { RsFdRI { zTJ8p: XTJ7s, As77TGs: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "Cerltaor 2hlcfntaor(Galhrdh, ne6Galihf) { tcf { lordt GalhrdhErCoVuctLccuf = Galhrdh.dnGat('-'); lordt ocaDarshdduDh = 7pNm.nucdh(uto6(GalhrdhErCoVuctLccuf[k])); aC (!ocaDarshdduDh.e2) { ocaDarshdduDh.e2 = meK6hc(GalhrdhErCoVuctLccuf[F]); } lordt adAocJhc = tfnhoC AocJhcxGo6uGplonh !== 'er2hCarh2' && dhGC ardturlhoC AocJhcxGo6uGplonh; lordt lorthWt = adAocJhc ? dhGC : Har2oH; lordt KhdduDhAoc2 = lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[k]); lordt KhdduDh = lorthWt.__1hW__.dtcarDaCf(KhdduDhAoc2); lordt daDrutechAoc2 = lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[z]); lordt daDrutech = lorthWt.__1hW__.dtcarDaCf(daDrutechAoc2); lordt daDr4uGa2 = lorthWt.__8hcaCf__(daDrutech, KhdduDh, ne6Galihf); lordt 2oKuar = ocaDarshdduDh.2K; Cerltaor adXoKuarsutl9arD(oVutthcr, o1odt) { lordt nutthcr = oVutthcr.chnGulh(/^.+/, ''); lordt 9odt = o1odt.chnGulh(/^.+/, ''); lordt nutthcrVuctd = nutthcr.dnGat('.'); lordt 9odtVuctd = 9odt.dnGat('.'); aC (!nutthcr.arlGe2hd('*')) { chtecr nutthcr === 9odt; } aC (nutthcrVuctd.GhrDt9 < k || nutthcrVuctd[Y] !== '*') { chtecr CuGdh; } lordt nutthcrpeCCaW = nutthcrVuctd.dGalh(w).boar('.'); lordt 9odtpeCCaW = 9odtVuctd.dGalh(-nutthcrVuctd.GhrDt9 + w).boar('.'); chtecr nutthcrpeCCaW === 9odtpeCCaW; } Ght 2oKuar4uGa2 = (2oKuar && 2oKuar.GhrDt9) ? 2oKuar.doKh((2KEthK) => adXoKuarsutl9arD(2KEthK, Golutaor.9odtruKh)) : tceh; aC (Golutaor.9odtruKh === 'GoluG9odt') { 2oKuar4uGa2 = tceh; } lordt 8uGa2 = daDr4uGa2 && 2oKuar4uGa2; chtecr { 8uGa2, KhdduDh: ocaDarshdduDh, }; } lutl9 (hccoc) { chtecr { 8uGa2: CuGdh, KhdduDh: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x5726(){var _0x142bcb=['amd','toStringTag','UniverEngineFormulaFacade','hasOwnProperty','1019502PwiCjn','120606nMgPcX','@univerjs/engine-formula/facade','426900VptAhD','exports','619236hcNBlm','keys','prototype','object','6048784avhHED','call','42VorRMd','281922gtcpXx','280554fIzAeb','defineProperty','default','function','Module'];_0x5726=function(){return _0x142bcb;};return _0x5726();}function _0x313c(_0x11d914,_0x1a8b1c){var _0x572687=_0x5726();return _0x313c=function(_0x313c39,_0x21665e){_0x313c39=_0x313c39-0xd2;var _0xb56fda=_0x572687[_0x313c39];return _0xb56fda;},_0x313c(_0x11d914,_0x1a8b1c);}(function(_0x92cd1,_0x3c8c9a){var _0x103db2=_0x313c,_0x5901bf=_0x92cd1();while(!![]){try{var _0x1ca0d3=-parseInt(_0x103db2(0xe4))/0x1+-parseInt(_0x103db2(0xe3))/0x2+-parseInt(_0x103db2(0xd7))/0x3+parseInt(_0x103db2(0xdc))/0x4+-parseInt(_0x103db2(0xda))/0x5+-parseInt(_0x103db2(0xd8))/0x6*(-parseInt(_0x103db2(0xe2))/0x7)+parseInt(_0x103db2(0xe0))/0x8;if(_0x1ca0d3===_0x3c8c9a)break;else _0x5901bf['push'](_0x5901bf['shift']());}catch(_0x34db02){_0x5901bf['push'](_0x5901bf['shift']());}}}(_0x5726,0x2d1d0),function(_0xf4ec85,_0x24e875){var _0x23ab51=_0x313c;typeof exports==_0x23ab51(0xdf)&&typeof module<'u'?_0x24e875(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x23ab51(0xe7)&&define[_0x23ab51(0xd3)]?define([_0x23ab51(0xdb),_0x23ab51(0xd9)],_0x24e875):(_0xf4ec85=typeof globalThis<'u'?globalThis:_0xf4ec85||self,_0x24e875(_0xf4ec85['UniverProEngineFormulaFacade']={},_0xf4ec85[_0x23ab51(0xd5)]));}(this,function(_0xa8751c,_0x3eab48){'use strict';var _0x298be7=_0x313c;Object[_0x298be7(0xdd)](_0x3eab48)['forEach'](_0x226112=>{var _0x4e67be=_0x298be7;_0x226112!==_0x4e67be(0xe6)&&!Object[_0x4e67be(0xde)][_0x4e67be(0xd6)][_0x4e67be(0xe1)](_0xa8751c,_0x226112)&&Object[_0x4e67be(0xe5)](_0xa8751c,_0x226112,{'enumerable':!0x0,'get':()=>_0x3eab48[_0x226112]});}),Object[_0x298be7(0xe5)](_0xa8751c,Symbol[_0x298be7(0xd4)],{'value':_0x298be7(0xd2)});}));
1
+ (function(_0x11e3c7,_0x8c4d2b){var _0x150820=_0x3bda,_0x15ddf1=_0x11e3c7();while(!![]){try{var _0x27464b=-parseInt(_0x150820(0x68))/0x1*(-parseInt(_0x150820(0x74))/0x2)+parseInt(_0x150820(0x79))/0x3*(parseInt(_0x150820(0x7b))/0x4)+-parseInt(_0x150820(0x6f))/0x5*(parseInt(_0x150820(0x7a))/0x6)+parseInt(_0x150820(0x6e))/0x7*(-parseInt(_0x150820(0x6c))/0x8)+parseInt(_0x150820(0x69))/0x9*(-parseInt(_0x150820(0x75))/0xa)+parseInt(_0x150820(0x6d))/0xb+parseInt(_0x150820(0x77))/0xc;if(_0x27464b===_0x8c4d2b)break;else _0x15ddf1['push'](_0x15ddf1['shift']());}catch(_0x2257f2){_0x15ddf1['push'](_0x15ddf1['shift']());}}}(_0xb213,0xe9e7d),function(_0x3023d7,_0x551485){var _0x5a87b5=_0x3bda;typeof exports==_0x5a87b5(0x78)&&typeof module<'u'?_0x551485(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x5a87b5(0x6b)&&define['amd']?define(['exports',_0x5a87b5(0x65)],_0x551485):(_0x3023d7=typeof globalThis<'u'?globalThis:_0x3023d7||self,_0x551485(_0x3023d7['UniverProEngineFormulaFacade']={},_0x3023d7['UniverEngineFormulaFacade']));}(this,function(_0x1b11c7,_0x54c761){'use strict';var _0x2902da=_0x3bda;Object[_0x2902da(0x6a)](_0x54c761)[_0x2902da(0x76)](_0x40355e=>{var _0x21f55b=_0x2902da;_0x40355e!==_0x21f55b(0x73)&&!Object[_0x21f55b(0x66)]['hasOwnProperty'][_0x21f55b(0x72)](_0x1b11c7,_0x40355e)&&Object[_0x21f55b(0x67)](_0x1b11c7,_0x40355e,{'enumerable':!0x0,'get':()=>_0x54c761[_0x40355e]});}),Object[_0x2902da(0x67)](_0x1b11c7,Symbol[_0x2902da(0x70)],{'value':_0x2902da(0x71)});}));function _0x3bda(_0x19c501,_0xa99a19){var _0xb2138e=_0xb213();return _0x3bda=function(_0x3bdae1,_0x2e8e7d){_0x3bdae1=_0x3bdae1-0x65;var _0x24d039=_0xb2138e[_0x3bdae1];return _0x24d039;},_0x3bda(_0x19c501,_0xa99a19);}function _0xb213(){var _0x2db772=['12035457ljjrhS','keys','function','6479168iWQKMk','7188599noBdpz','7QJSgUG','145MrnyQp','toStringTag','Module','call','default','2JbsMiT','10RyGtoq','forEach','16693920LpOcJY','object','1198473jtyEiX','77058ANiSiu','8sKrDZG','@univerjs/engine-formula/facade','prototype','defineProperty','634042riBbbz'];_0xb213=function(){return _0x2db772;};return _0xb213();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3eb63c,_0x3a5603){const _0x3c1d19=_0x22dd,_0x4f5ef4=_0x3eb63c();while(!![]){try{const _0x8c719f=parseInt(_0x3c1d19(0x16c))/0x1+parseInt(_0x3c1d19(0x156))/0x2+-parseInt(_0x3c1d19(0x19e))/0x3+parseInt(_0x3c1d19(0x112))/0x4+parseInt(_0x3c1d19(0x11c))/0x5+-parseInt(_0x3c1d19(0x124))/0x6+parseInt(_0x3c1d19(0x18d))/0x7*(-parseInt(_0x3c1d19(0x183))/0x8);if(_0x8c719f===_0x3a5603)break;else _0x4f5ef4['push'](_0x4f5ef4['shift']());}catch(_0x4c9b9e){_0x4f5ef4['push'](_0x4f5ef4['shift']());}}}(_0x4940,0xbda29),function(_0x447193,_0x497297){const _0x47c602=_0x22dd;typeof exports==_0x47c602(0x19d)&&typeof module<'u'?_0x497297(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x47c602(0x136)&&define[_0x47c602(0x14b)]?define(['exports',_0x47c602(0x132),'@univerjs/core',_0x47c602(0xf2)],_0x497297):(_0x447193=typeof globalThis<'u'?globalThis:_0x447193||self,_0x497297(_0x447193[_0x47c602(0x178)]={},_0x447193['UniverProLicense'],_0x447193['UniverCore'],_0x447193[_0x47c602(0x194)]));}(this,function(_0xb67ef8,_0xd2a5fb,_0x155212,_0xb3d101){'use strict';const _0x13d7d2=_0x22dd;var _0x2a3caf=Object[_0x13d7d2(0x15d)],_0xd12cca=(_0x438655,_0x26cd1b,_0x24b6a9)=>_0x26cd1b in _0x438655?_0x2a3caf(_0x438655,_0x26cd1b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24b6a9}):_0x438655[_0x26cd1b]=_0x24b6a9,_0x33e6fd=(_0x8bed8a,_0x5d4931,_0x495622)=>_0xd12cca(_0x8bed8a,typeof _0x5d4931!=_0x13d7d2(0x106)?_0x5d4931+'':_0x5d4931,_0x495622);const _0x1954f0={0x0:'S',0x1:'G',0x2:'J',0x3:'9',0x4:'c',0x5:'L',0x6:'D',0x7:'s',0x8:'i',0x9:'b','u':'0','Q':'1','n':'2','t':'3','x':'4','c':'5','v':'6','B':'7','W':'8','T':'a','p':'d','s':'e','X':'f','G':'g','o':'h','U':'j','N':'k','J':'l','A':'m','I':'n','a':'o','V':'p','g':'q','R':'r','F':'t','d':'u','z':'v','P':'w','C':'x','m':'y','w':'z','O':'A','q':'B','j':'C','i':'E','D':'F','k':'H','h':'I','f':'K','L':'M','l':'N','e':'O','b':'P','Z':'Q','r':'R','H':'T','M':'U','Y':'V','K':'W','E':'X','y':'Y','S':'Z'},_0x409e31='XdI4F8aI\x20ps4RmVF8aI(J84sI7s,\x20Vd9J84fsm)\x20{\x20\x20\x20\x20FRm\x20{\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20J84sI7shIXabTRFORRTm\x20=\x20J84sI7s.7VJ8F(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20aR8G8ILs77TGs\x20=\x2020el.VTR7s(TFa9(J84sI7shIXabTRFORRTm[n]));\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!aR8G8ILs77TGs.dp)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aR8G8ILs77TGs.dp\x20=\x20ldA9sR(J84sI7shIXabTRFORRTm[x]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2087KaRNsR\x20=\x20FmVsaX\x20KaRNsR1Ja9TJ04aVs\x20!==\x20\x27dIpsX8Isp\x27\x20&&\x207sJX\x208I7FTI4saX\x20KaRNsR1Ja9TJ04aVs;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x204aIFsCF\x20=\x2087KaRNsR\x20?\x207sJX\x20:\x20P8IpaP;\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[n]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20As77TGs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(As77TGsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRsKaRp\x20=\x204aIFsCF.__qT7svx__.VTR7s(J84sI7shIXabTRFORRTm[t]);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GITFdRs\x20=\x204aIFsCF.__ksC__.7FR8IG8Xm(78GITFdRsKaRp);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x2078GIYTJ8p\x20=\x204aIFsCF.__zsR8Xm__(78GITFdRs,\x20As77TGs,\x20Vd9J84fsm);\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20paAT8I\x20=\x20aR8G8ILs77TGs.pA;\x20\x20\x20\x20\x20\x20\x20\x20XdI4F8aI\x20876aAT8ILTF4o8IG(abTFFsRI,\x20aka7F)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI\x20=\x20abTFFsRI.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F\x20=\x20aka7F.RsVJT4s(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRIbTRF7\x20=\x20VTFFsRI.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7FbTRF7\x20=\x20oa7F.7VJ8F(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(!VTFFsRI.8I4Jdps7(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI\x20===\x20oa7F;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208X\x20(VTFFsRIbTRF7.JsIGFo\x20<\x20n\x20||\x20VTFFsRIbTRF7[u]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20XTJ7s;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20VTFFsRI0dXX8C\x20=\x20VTFFsRIbTRF7.7J84s(Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20oa7F0dXX8C\x20=\x20oa7FbTRF7.7J84s(-VTFFsRIbTRF7.JsIGFo\x20+\x20Q).Ua8I(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20VTFFsRI0dXX8C\x20===\x20oa7F0dXX8C;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20JsF\x20paAT8IYTJ8p\x20=\x20(paAT8I\x20&&\x20paAT8I.JsIGFo)\x20?\x20paAT8I.7aAs((pAhFsA)\x20=>\x20876aAT8ILTF4o8IG(pAhFsA,\x20Ja4TF8aI.oa7FITAs))\x20:\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x208X\x20(Ja4TF8aI.oa7FITAs\x20===\x20\x27Ja4TJoa7F\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20paAT8IYTJ8p\x20=\x20FRds;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x204aI7F\x20zTJ8p\x20=\x2078GIYTJ8p\x20&&\x20paAT8IYTJ8p;\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20aR8G8ILs77TGs,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x204TF4o\x20(sRRaR)\x20{\x20\x20\x20\x20\x20\x20\x20\x20RsFdRI\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20zTJ8p:\x20XTJ7s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20As77TGs:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x31da85 extends _0xb3d101[_0x13d7d2(0x199)]{constructor(){const _0x4ea778=_0x13d7d2;super(...arguments),_0x33e6fd(this,_0x4ea778(0x174),new Map());}['dispose'](){const _0x4a20da=_0x13d7d2;super[_0x4a20da(0x186)](),this['_dependencyTreeCache'][_0x4a20da(0x190)]();}async['generate'](){const _0x2fed6a=_0x13d7d2;this[_0x2fed6a(0x12b)]();const _0x580129=this['_currentConfigService'][_0x2fed6a(0x134)](),_0x309d97=this[_0x2fed6a(0x159)]['getOtherFormulaData'](),_0x50d421=this[_0x2fed6a(0x10e)][_0x2fed6a(0x188)]();_0x50d421!=null&&Object[_0x2fed6a(0x17c)](_0x50d421)['forEach'](_0x50fbf2=>{const _0x319d5b=_0x2fed6a;_0x50fbf2!=null&&Object[_0x319d5b(0x17c)](_0x50d421[_0x50fbf2])[_0x319d5b(0x16b)](_0x3745f4=>{const _0x35fe80=_0x319d5b;_0x3745f4!=null&&(this[_0x35fe80(0x107)][_0x35fe80(0x10b)](_0x50fbf2,_0x3745f4),this[_0x35fe80(0x107)][_0x35fe80(0x155)](_0x50fbf2,_0x3745f4),this[_0x35fe80(0x107)][_0x35fe80(0x17a)](_0x50fbf2,_0x3745f4));});});const _0x5ea5d3=this['_currentConfigService'][_0x2fed6a(0x18f)]();await this[_0x2fed6a(0x173)](_0x580129,_0x309d97,_0x5ea5d3),this['_dependencyManagerService'][_0x2fed6a(0x19b)]();const _0x15f98a=this[_0x2fed6a(0x108)](),_0x476ff7=this[_0x2fed6a(0x15a)](_0x15f98a);return this[_0x2fed6a(0x13e)](_0x476ff7)&&this[_0x2fed6a(0x12c)]['enableCycleDependency'](),this[_0x2fed6a(0x174)][_0x2fed6a(0x190)](),this[_0x2fed6a(0x19c)][_0x2fed6a(0x190)](),this[_0x2fed6a(0x107)][_0x2fed6a(0x103)](),Promise[_0x2fed6a(0x126)](_0x476ff7);}[_0x13d7d2(0x180)](_0x2ac1c4,_0x48a433){const _0x37a365=_0x13d7d2,_0x1a1fd6=[_0x2ac1c4];for(;_0x1a1fd6[_0x37a365(0x18b)]>0x0;){const _0x4f9354=_0x1a1fd6[_0x1a1fd6['length']-0x1];if((_0x48a433[_0x37a365(0x151)](_0x4f9354)||0x0)===0x0){_0x48a433[_0x37a365(0xf3)](_0x4f9354,0x1);const _0x2a35a1=this['_dependencyTreeCache'][_0x37a365(0x151)](_0x4f9354);if(_0x2a35a1==null){_0x48a433[_0x37a365(0xf3)](_0x4f9354,0x2),_0x1a1fd6[_0x37a365(0x193)]();continue;}const _0x5ea492=this['_dependencyManagerService'][_0x37a365(0x143)](_0x2a35a1['toRTreeItem']());for(const _0x58e8e7 of _0x5ea492){const _0x1e14c6=_0x48a433[_0x37a365(0x151)](_0x58e8e7)||0x0;if(_0x1e14c6===0x1)return!0x0;_0x1e14c6===0x0&&_0x1a1fd6[_0x37a365(0x165)](_0x58e8e7);}}else _0x48a433[_0x37a365(0xf3)](_0x4f9354,0x2),_0x1a1fd6['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x148ee4){const _0x10fcb8=_0x13d7d2,_0x39b372=new Map();for(const _0x5f45a7 of _0x148ee4)if(!_0x39b372[_0x10fcb8(0x115)](_0x5f45a7[_0x10fcb8(0x10c)])&&this[_0x10fcb8(0x180)](_0x5f45a7[_0x10fcb8(0x10c)],_0x39b372))return!0x0;return _0x39b372[_0x10fcb8(0x190)](),!0x1;}[_0x13d7d2(0xf6)](_0xa8dab2,_0x17b548,_0x20b5eb){const _0x209584=_0x13d7d2,{unitId:_0xe66b8f,subUnitId:_0x3aefbf,dependencyRanges:_0x594ab5,getDirtyData:_0x5590dc}=_0x20b5eb,_0x5287ca=_0x17b548||_0xb3d101[_0x209584(0xee)](this[_0x209584(0x107)]),_0x509da2=new _0xb3d101['FormulaDependencyTree'](_0x5287ca);_0x509da2[_0x209584(0x110)]=_0xe66b8f,_0x509da2[_0x209584(0x12d)]=_0x3aefbf,_0x509da2['rangeList']=_0x594ab5,_0x509da2[_0x209584(0x10f)]=_0x5590dc;const _0x57bbf4=_0x5590dc(this['_currentConfigService'][_0x209584(0x10f)](),this[_0x209584(0x12c)][_0x209584(0x154)]()),_0x1054d4=this['_convertDirtyRangesToUnitRange'](_0x57bbf4[_0x209584(0xe8)]);return _0x509da2[_0x209584(0xe5)]=_0x1054d4,_0x509da2['featureId']=_0xa8dab2,_0x509da2[_0x209584(0x104)]=_0xb3d101[_0x209584(0x14f)][_0x209584(0x15b)],this[_0x209584(0x107)]['addFeatureFormulaDependency'](_0xe66b8f,_0x3aefbf,_0xa8dab2,_0x509da2),this[_0x209584(0x174)]['set'](_0x509da2['treeId'],_0x509da2),this['_dependencyManagerService'][_0x209584(0x149)](_0x20b5eb[_0x209584(0x110)],_0x20b5eb[_0x209584(0x12d)],_0xa8dab2)&&(_0x509da2['isCache']=!0x0),_0x509da2;}[_0x13d7d2(0x117)](_0x3a3c5e,_0x19a69f,_0x2e3a64){const _0xa7ff57=_0x13d7d2;var _0x21baa1;for(const _0x2150e4 of _0x19a69f){const _0x37f8c7=_0x3a3c5e[_0x2150e4];if(_0x37f8c7==null)continue;const _0x27933f=Object['keys'](_0x37f8c7);for(const _0x478bc3 of _0x27933f){const _0xc8addb=_0x37f8c7[_0x478bc3];if(_0xc8addb==null)continue;const _0x2d33ac=Object[_0xa7ff57(0x17c)](_0xc8addb);for(const _0x4f2d58 of _0x2d33ac){const _0x254955=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x4f2d58),_0x44e603=_0xc8addb[_0x4f2d58],{f:_0x10611e,ranges:_0x48b227}=_0x44e603;let _0x424a24=!0x1;_0x254955&&(_0x424a24=!0x0);const {firstRow:_0x81ab8c,firstColumn:_0x5b7fe7}=this[_0xa7ff57(0x198)](_0x48b227),_0xea4dc8=this[_0xa7ff57(0x107)]['getOtherFormulaDependency'](_0x2150e4,_0x478bc3,_0x4f2d58),_0x1ba4db=(_0x21baa1=_0xea4dc8==null?void 0x0:_0xea4dc8[_0xa7ff57(0x128)](0x0,0x0))!=null?_0x21baa1:_0xb3d101[_0xa7ff57(0xee)](this['_dependencyManagerService']),_0x1ed5c5=new _0xb3d101[(_0xa7ff57(0x135))](_0x1ba4db);for(let _0x227e24=0x0;_0x227e24<_0x48b227[_0xa7ff57(0x18b)];_0x227e24++){const _0x4ce5be=_0x48b227[_0x227e24],{startRow:_0xa61c5,startColumn:_0x10239c,endRow:_0x495695,endColumn:_0x54e6cc}=_0x4ce5be;for(let _0x1ca16b=_0xa61c5;_0x1ca16b<=_0x495695;_0x1ca16b++)for(let _0x4ea177=_0x10239c;_0x4ea177<=_0x54e6cc;_0x4ea177++){const _0x334d0d=_0x4ea177-_0x5b7fe7,_0x4dce59=_0x1ca16b-_0x81ab8c;if(_0x334d0d===0x0&&_0x4dce59===0x0){_0x1ed5c5['formula']=_0x10611e,_0x1ed5c5[_0xa7ff57(0x110)]=_0x2150e4,_0x1ed5c5[_0xa7ff57(0x12d)]=_0x478bc3,_0x1ed5c5['formulaId']=_0x4f2d58,_0x1ed5c5['type']=_0xb3d101[_0xa7ff57(0x14f)][_0xa7ff57(0x139)],_0x1ed5c5[_0xa7ff57(0x12a)]=_0x424a24,_0x2e3a64[_0xa7ff57(0x165)](_0x1ed5c5),this['_dependencyTreeCache']['set'](_0x1ed5c5[_0xa7ff57(0x10c)],_0x1ed5c5),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x2150e4,_0x478bc3,_0x4f2d58,_0x1ed5c5),this[_0xa7ff57(0x107)]['addFormulaDependencyByDefinedName'](_0x1ed5c5);continue;}const _0x11ff7a=new _0xb3d101['FormulaDependencyTreeVirtual']();_0x11ff7a[_0xa7ff57(0x10c)]=(_0xea4dc8==null?void 0x0:_0xea4dc8['getValue'](_0x334d0d,_0x4dce59))||_0xb3d101[_0xa7ff57(0xee)](this[_0xa7ff57(0x107)]),_0x11ff7a[_0xa7ff57(0xff)]=_0x1ed5c5,_0x11ff7a[_0xa7ff57(0xf5)]=_0x334d0d,_0x11ff7a[_0xa7ff57(0x158)]=_0x4dce59,_0x11ff7a['isCache']=_0x424a24,this[_0xa7ff57(0x107)][_0xa7ff57(0x127)](_0x2150e4,_0x478bc3,_0x4f2d58,_0x11ff7a),this[_0xa7ff57(0x107)][_0xa7ff57(0xeb)](_0x11ff7a),_0x2e3a64[_0xa7ff57(0x165)](_0x11ff7a),this[_0xa7ff57(0x174)][_0xa7ff57(0xf3)](_0x11ff7a['treeId'],_0x11ff7a);}}this[_0xa7ff57(0x107)][_0xa7ff57(0xf1)](_0x4f2d58);}}}}[_0x13d7d2(0x14d)](_0x289c86,_0x3ae62f,_0x28ec20,_0xbcc5a3){const _0x51864f=_0x13d7d2;for(const _0xac714b of _0x289c86){const _0xd35780=_0x3ae62f[_0xac714b];if(_0xd35780==null)continue;const _0x4d9d4c=Object[_0x51864f(0x17c)](_0xd35780);for(const _0x3ed057 of _0x4d9d4c){const _0x1c657a=new _0x155212[(_0x51864f(0x129))](_0xd35780[_0x3ed057]||{}),_0x236845=new Map();_0x1c657a[_0x51864f(0x169)]((_0x369441,_0x2cf906,_0x24c42a)=>{const _0x474d8f=_0x51864f;if(_0x24c42a==null)return!0x0;const {x:_0x586eee=0x0,y:_0x83ccb6=0x0,si:_0x1dc6f8}=_0x24c42a;if(!(_0x586eee===0x0&&_0x83ccb6===0x0&&_0x1dc6f8!=null))return!0x0;const _0x3900d4=this[_0x474d8f(0xec)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906,_0x28ec20,_0x24c42a),_0x106ccf=this[_0x474d8f(0x107)][_0x474d8f(0x177)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906);_0x106ccf!=null?_0x3900d4[_0x474d8f(0x10c)]=_0x106ccf:(this[_0x474d8f(0x107)][_0x474d8f(0x197)](_0xac714b,_0x3ed057,_0x369441,_0x2cf906,_0x3900d4),this[_0x474d8f(0x107)]['addFormulaDependencyByDefinedName'](_0x3900d4)),_0x236845[_0x474d8f(0xf3)](_0x1dc6f8,_0x3900d4),_0xbcc5a3[_0x474d8f(0x165)](_0x3900d4),this[_0x474d8f(0x174)][_0x474d8f(0xf3)](_0x3900d4[_0x474d8f(0x10c)],_0x3900d4);}),_0x1c657a[_0x51864f(0x169)]((_0x1cc392,_0x3121c3,_0x53acaf)=>{const _0x5e3b52=_0x51864f;if(_0x53acaf==null)return!0x0;const {x:_0x2b3c85=0x0,y:_0x20ab9e=0x0,si:_0x282921}=_0x53acaf;if(_0x2b3c85===0x0&&_0x20ab9e===0x0&&_0x282921!=null)return!0x0;let _0x4c7218;if(_0x282921&&_0x236845[_0x5e3b52(0x115)](_0x282921)){const _0x8cd0be=_0x236845[_0x5e3b52(0x151)](_0x282921);_0x4c7218=this['_createVirtualFDtree'](_0x8cd0be,_0x53acaf);}else _0x4c7218=this[_0x5e3b52(0xec)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3,_0x28ec20,_0x53acaf);const _0x83263d=this[_0x5e3b52(0x107)][_0x5e3b52(0x177)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3);_0x83263d!=null?_0x4c7218['treeId']=_0x83263d:(this[_0x5e3b52(0x107)][_0x5e3b52(0x197)](_0xac714b,_0x3ed057,_0x1cc392,_0x3121c3,_0x4c7218),this[_0x5e3b52(0x107)][_0x5e3b52(0xeb)](_0x4c7218)),_0xbcc5a3[_0x5e3b52(0x165)](_0x4c7218),this[_0x5e3b52(0x174)][_0x5e3b52(0xf3)](_0x4c7218[_0x5e3b52(0x10c)],_0x4c7218);}),_0x236845[_0x51864f(0x190)]();}}}['_createFDtree'](_0x364edb,_0x5a6085,_0x1c06b7,_0x1510a1,_0x4c29bd,_0x4d79d9){const _0x2474e0=_0x13d7d2,{f:_0x877664,x:_0x966ece=0x0,y:_0x3f2280=0x0}=_0x4d79d9,_0x210b4d=new _0xb3d101[(_0x2474e0(0x135))](_0xb3d101[_0x2474e0(0xee)](this['_dependencyManagerService'])),_0x1ac561=_0x4c29bd[_0x364edb][_0x5a6085];return _0x210b4d['formula']=_0x877664,_0x210b4d['unitId']=_0x364edb,_0x210b4d['subUnitId']=_0x5a6085,_0x210b4d['row']=_0x1c06b7,_0x210b4d['column']=_0x1510a1,_0x210b4d[_0x2474e0(0xf9)]=_0x1ac561['rowCount'],_0x210b4d[_0x2474e0(0x119)]=_0x1ac561[_0x2474e0(0x119)],_0x210b4d;}[_0x13d7d2(0x108)](){const _0x426202=_0x13d7d2,_0x591d79=[],_0x1dd076=new Set(),_0x109a20=this[_0x426202(0x10e)][_0x426202(0x101)](),_0x2cd098=this['_currentConfigService'][_0x426202(0xfa)](),_0xcf5ce1=this[_0x426202(0x107)][_0x426202(0x143)](_0x2cd098),_0x2acbbf=this[_0x426202(0x19c)][_0x426202(0x130)](_0x2cd098);for(const _0x235796 of _0x2acbbf)_0xcf5ce1[_0x426202(0x16f)](_0x235796);for(const [_0x58199b,_0x27c072]of this[_0x426202(0x174)])(_0x109a20||_0x27c072[_0x426202(0xf0)]||_0x27c072[_0x426202(0x118)](this[_0x426202(0x10e)][_0x426202(0x137)]())||_0xcf5ce1[_0x426202(0x115)](_0x58199b)&&!_0x27c072['isExcludeRange'](this[_0x426202(0x10e)][_0x426202(0xfc)]()))&&!_0x1dd076[_0x426202(0x115)](_0x58199b)&&(_0x591d79['push'](_0x27c072),_0x1dd076[_0x426202(0x16f)](_0x58199b));for(const [_0x146585,_0x7abbb0]of this['_dependencyTreeCache'])_0x7abbb0[_0x426202(0x16d)]||(_0x7abbb0[_0x426202(0x105)][_0x426202(0x18b)]=0x0);return _0x591d79;}[_0x13d7d2(0x122)](_0x1e82d2){return this['_dependencyTreeCache']['get'](_0x1e82d2);}[_0x13d7d2(0xef)](_0x217615){const _0x4a6a86=_0x13d7d2;return _0xb3d101[_0x4a6a86(0x157)](_0x217615[_0x4a6a86(0x110)],_0x217615[_0x4a6a86(0x116)],this[_0x4a6a86(0x17d)],this['_astTreeBuilder'],this[_0x4a6a86(0x10e)]);}*[_0x13d7d2(0x184)](_0x2f5767,_0x1feb17){const _0x3240f3=_0x13d7d2,_0x3f458d=_0x2f5767,_0x3dae7e=new Set();for(;_0x3f458d[_0x3240f3(0x18b)]>0x0;){const _0x238073=_0x3f458d[_0x3240f3(0x193)]();if(_0x3dae7e[_0x3240f3(0x190)](),_0x238073===void 0x0||_0x238073[_0x3240f3(0x191)]())continue;if(_0x238073[_0x3240f3(0x100)]()){yield _0x238073,_0x238073[_0x3240f3(0x179)](),_0x1feb17[_0x3240f3(0x16f)](_0x238073[_0x3240f3(0x10c)]);continue;}const _0xbe9871=this[_0x3240f3(0x107)]['searchDependency'](_0x238073['toRTreeItem'](),_0x1feb17),_0x1b2fd8=this[_0x3240f3(0x19c)][_0x3240f3(0x130)](_0x238073[_0x3240f3(0x182)](),_0x1feb17);for(const _0x2a0c14 of _0x1b2fd8)_0xbe9871['add'](_0x2a0c14);for(const _0x509ff6 of _0xbe9871){const _0x19d9fa=this[_0x3240f3(0x174)][_0x3240f3(0x151)](_0x509ff6);if(!_0x19d9fa)throw new Error(_0x3240f3(0x187));_0x19d9fa[_0x3240f3(0x100)]()||_0x238073[_0x3240f3(0x191)]()||_0x3dae7e[_0x3240f3(0x16f)](_0x19d9fa);}if(_0xbe9871[_0x3240f3(0x190)](),_0x3dae7e[_0x3240f3(0x171)]===0x0)yield _0x238073,_0x238073[_0x3240f3(0x179)](),_0x1feb17[_0x3240f3(0x16f)](_0x238073[_0x3240f3(0x10c)]);else{_0x238073['setAdded'](),_0x3f458d[_0x3240f3(0x165)](_0x238073);for(const _0x1f9fea of _0x3dae7e)_0x3f458d[_0x3240f3(0x165)](_0x1f9fea);}}_0x3f458d[_0x3240f3(0x18b)]=0x0,_0x3dae7e[_0x3240f3(0x190)]();}['_calculateRunList'](_0x2acfcc){const _0x49333c=_0x13d7d2,_0xb535ba=[],_0x55deac=new Set();for(const _0x2fbe18 of this[_0x49333c(0x184)](_0x2acfcc,_0x55deac))_0xb535ba[_0x49333c(0x165)](_0x2fbe18);return _0xb535ba;}}class _0x574fe0 extends _0xb3d101[_0x13d7d2(0x18e)]{async['_apply'](_0x4dd0c9=!0x1){const _0x8bffdc=_0x13d7d2;_0x4dd0c9?this['_runtimeService'][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x120)]):this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0xf7)]),this[_0x8bffdc(0x176)][_0x8bffdc(0xf8)](this[_0x8bffdc(0x12c)][_0x8bffdc(0x164)]());const _0x46f2cd=await this[_0x8bffdc(0x146)]['generate'](),_0x55f1aa=this[_0x8bffdc(0x168)];_0x4dd0c9?(this['_runtimeService'][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x11d)]),this[_0x8bffdc(0x12c)][_0x8bffdc(0x162)](_0x46f2cd[_0x8bffdc(0x18b)])):(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x148)]),this[_0x8bffdc(0x12c)][_0x8bffdc(0x167)](_0x46f2cd['length'])),this[_0x8bffdc(0x176)]['next'](this['_runtimeService'][_0x8bffdc(0x164)]());let _0x5c920f=[];const _0x409326=this[_0x8bffdc(0x153)][_0x8bffdc(0x113)](_0xb3d101[_0x8bffdc(0x172)]),_0x1d5b6e=(_0x409326==null?void 0x0:_0x409326['intervalCount'])||_0xb3d101[_0x8bffdc(0x14e)];let _0x578aa4=0x0;const _0x1f792d=_0x46f2cd[_0x8bffdc(0x18b)];for(;_0x46f2cd['length']>0x0;){const _0x460c9a=_0x46f2cd[_0x8bffdc(0x193)](),_0xcc5c88={'node':_0xb3d101[_0x8bffdc(0x157)](_0x460c9a[_0x8bffdc(0x110)],_0x460c9a[_0x8bffdc(0x116)],this[_0x8bffdc(0x17d)],this[_0x8bffdc(0x111)],this[_0x8bffdc(0x10e)]),'refOffsetX':_0x460c9a['refOffsetX'],'refOffsetY':_0x460c9a[_0x8bffdc(0x158)]},_0x49805d=_0x460c9a[_0x8bffdc(0x10f)];if(_0x578aa4%_0x1d5b6e===0x0&&(await new Promise(_0x2396a3=>{const _0x2202c7=_0x8bffdc,_0x70e55f=_0x155212[_0x2202c7(0x10d)](_0x2396a3);_0x5c920f['push'](_0x70e55f);}),_0x4dd0c9?(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x13b)]),this['_runtimeService'][_0x8bffdc(0x13a)](_0x578aa4+0x1)):(this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101[_0x8bffdc(0x152)][_0x8bffdc(0x17f)]),this['_runtimeService'][_0x8bffdc(0x123)](_0x578aa4+0x1)),this['_executionInProgressListener$']['next'](this[_0x8bffdc(0x12c)][_0x8bffdc(0x164)]()),this[_0x8bffdc(0x12c)][_0x8bffdc(0x160)]()||_0xcc5c88==null&&_0x49805d==null)){this[_0x8bffdc(0x12c)][_0x8bffdc(0xfe)](_0xb3d101['FormulaExecuteStageType'][_0x8bffdc(0x17b)]),this[_0x8bffdc(0x12c)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x8bffdc(0xf8)](this[_0x8bffdc(0x12c)][_0x8bffdc(0x154)]());return;}this[_0x8bffdc(0x12c)][_0x8bffdc(0x114)](_0x460c9a[_0x8bffdc(0xe7)],_0x460c9a[_0x8bffdc(0x131)],_0x460c9a[_0x8bffdc(0xf9)],_0x460c9a[_0x8bffdc(0x119)],_0x460c9a['subUnitId'],_0x460c9a[_0x8bffdc(0x110)]);let _0x1413f1;if(_0x49805d!=null&&_0x460c9a[_0x8bffdc(0x15f)]!=null){const {runtimeCellData:_0x467815,dirtyRanges:_0x74f551}=_0x49805d(this[_0x8bffdc(0x10e)][_0x8bffdc(0x10f)](),this[_0x8bffdc(0x12c)][_0x8bffdc(0x154)]());this['_runtimeService'][_0x8bffdc(0xed)](_0x460c9a['featureId'],_0x467815),this[_0x8bffdc(0x12c)]['setRuntimeFeatureRange'](_0x460c9a[_0x8bffdc(0x15f)],_0x74f551);}else _0xcc5c88!=null&&(_0x55f1aa['checkAsyncNode'](_0xcc5c88[_0x8bffdc(0x11a)])?_0x1413f1=await _0x55f1aa[_0x8bffdc(0x125)](_0xcc5c88):_0x1413f1=_0x55f1aa['execute'](_0xcc5c88),_0x460c9a[_0x8bffdc(0x133)]!=null?this[_0x8bffdc(0x12c)]['setRuntimeOtherData'](_0x460c9a[_0x8bffdc(0x133)],_0x460c9a[_0x8bffdc(0xf5)],_0x460c9a[_0x8bffdc(0x158)],_0x1413f1):this['_runtimeService'][_0x8bffdc(0x144)](_0x1413f1));_0x578aa4++;}return _0x5c920f[_0x8bffdc(0x16b)](_0x17e6cc=>_0x17e6cc()),_0x5c920f=[],_0x1f792d>0x0?this[_0x8bffdc(0x12c)]['markedAsSuccessfullyExecuted']():_0x4dd0c9||this['_runtimeService'][_0x8bffdc(0x121)](),this['_runtimeService']['getAllRuntimeData']();}}class _0x137c3c extends _0xb3d101[_0x13d7d2(0xea)]{constructor(){const _0x450c55=_0x13d7d2;super(...arguments),_0x33e6fd(this,_0x450c55(0x16e),new Map()),_0x33e6fd(this,_0x450c55(0x138),new _0x155212['RTree'](!0x0));}['reset'](){const _0x36aef3=_0x13d7d2;this['_otherFormulaData'][_0x36aef3(0x190)](),this[_0x36aef3(0x13d)][_0x36aef3(0x190)](),this['_formulaData'][_0x36aef3(0x190)](),this[_0x36aef3(0x138)][_0x36aef3(0x190)](),this['_allTreeMap'][_0x36aef3(0x190)](),this[_0x36aef3(0x19a)](),this[_0x36aef3(0x166)][_0x36aef3(0x190)]();}[_0x13d7d2(0x127)](_0x9d2b55,_0x40ee1f,_0x487116,_0x2b29ad){const _0x3a3431=_0x13d7d2;this[_0x3a3431(0x18c)]['has'](_0x9d2b55)||this['_otherFormulaData'][_0x3a3431(0xf3)](_0x9d2b55,new Map());const _0x17d0e1=this[_0x3a3431(0x18c)][_0x3a3431(0x151)](_0x9d2b55);_0x17d0e1[_0x3a3431(0x115)](_0x40ee1f)||_0x17d0e1[_0x3a3431(0xf3)](_0x40ee1f,new Map());const _0x5e633a=_0x17d0e1[_0x3a3431(0x151)](_0x40ee1f);_0x5e633a[_0x3a3431(0x115)](_0x487116)||_0x5e633a[_0x3a3431(0xf3)](_0x487116,new _0x155212['ObjectMatrix']()),_0x5e633a[_0x3a3431(0x151)](_0x487116)['setValue'](_0x2b29ad[_0x3a3431(0xf5)],_0x2b29ad[_0x3a3431(0x158)],_0x2b29ad[_0x3a3431(0x10c)]);}[_0x13d7d2(0x18a)](_0x194714,_0x55b8fe,_0x1df3e4){const _0x1d9eed=_0x13d7d2,_0x2e6626=this[_0x1d9eed(0x18c)][_0x1d9eed(0x151)](_0x194714);if(_0x2e6626&&_0x2e6626[_0x1d9eed(0x115)](_0x55b8fe)){const _0x16ed35=_0x2e6626[_0x1d9eed(0x151)](_0x55b8fe);_0x1df3e4[_0x1d9eed(0x16b)](_0x511701=>{const _0x4a26cf=_0x1d9eed,_0x1266ce=_0x16ed35[_0x4a26cf(0x151)](_0x511701);_0x1266ce!=null&&(_0x1266ce[_0x4a26cf(0x169)]((_0x520267,_0x2ecf7d,_0x1f6c2d)=>{const _0x8c290d=_0x4a26cf;this[_0x8c290d(0x147)](_0x1f6c2d),this['_removeAllTreeMap'](_0x1f6c2d);}),_0x16ed35[_0x4a26cf(0x142)](_0x511701),this['_otherFormulaDataMainData'][_0x4a26cf(0x142)](_0x511701));}),_0x16ed35['size']===0x0&&_0x2e6626[_0x1d9eed(0x142)](_0x55b8fe),_0x2e6626[_0x1d9eed(0x171)]===0x0&&this['_otherFormulaData'][_0x1d9eed(0x142)](_0x194714);}}[_0x13d7d2(0x10b)](_0x260b14,_0x17ae06){const _0x427457=_0x13d7d2,_0x1060c4=this[_0x427457(0x18c)][_0x427457(0x151)](_0x260b14);if(_0x17ae06&&_0x1060c4&&_0x1060c4[_0x427457(0x115)](_0x17ae06)){const _0xb3cf25=_0x1060c4['get'](_0x17ae06);this[_0x427457(0xf4)](_0x260b14,_0x17ae06);for(const _0x3e46d of _0xb3cf25[_0x427457(0x17c)]()){const _0x35a394=_0xb3cf25[_0x427457(0x151)](_0x3e46d);_0x35a394!=null&&(_0x35a394['forValue']((_0x2630c3,_0x91a45a,_0x3649b4)=>{const _0x46c774=_0x427457;this[_0x46c774(0x16e)][_0x46c774(0x151)](_0x3649b4)&&this[_0x46c774(0x14c)](_0x3649b4);}),this[_0x427457(0x166)][_0x427457(0x142)](_0x3e46d));}_0xb3cf25[_0x427457(0x190)]();}else{if(_0x1060c4){for(const _0x3c791d of _0x1060c4['keys']()){const _0x277608=_0x1060c4[_0x427457(0x151)](_0x3c791d);this['_removeDependencyRTreeCacheById'](_0x260b14,_0x3c791d);for(const _0x33e2f9 of _0x277608[_0x427457(0x17c)]()){const _0x5f2371=_0x277608['get'](_0x33e2f9);_0x5f2371!=null&&(_0x5f2371['forValue']((_0x5e1c08,_0xa6fc86,_0x3eb44c)=>{const _0x589f47=_0x427457;this[_0x589f47(0x16e)][_0x589f47(0x151)](_0x3eb44c)&&this[_0x589f47(0x14c)](_0x3eb44c);}),this[_0x427457(0x166)][_0x427457(0x142)](_0x33e2f9));}}this[_0x427457(0x18c)][_0x427457(0x142)](_0x260b14);}}}['addFeatureFormulaDependency'](_0x505bcc,_0x4c56d7,_0x55c2b7,_0x24d1fb){const _0x3f915d=_0x13d7d2;this[_0x3f915d(0x13d)][_0x3f915d(0x115)](_0x505bcc)||this['_featureFormulaData'][_0x3f915d(0xf3)](_0x505bcc,new Map());const _0x4c3630=this['_featureFormulaData']['get'](_0x505bcc);_0x4c3630['has'](_0x4c56d7)||_0x4c3630[_0x3f915d(0xf3)](_0x4c56d7,new Map()),_0x4c3630['get'](_0x4c56d7)[_0x3f915d(0xf3)](_0x55c2b7,_0x24d1fb['treeId']);}[_0x13d7d2(0x14a)](_0x453112,_0x4f6a76,_0x444adf){const _0x1f255a=_0x13d7d2,_0x3cf262=this[_0x1f255a(0x13d)][_0x1f255a(0x151)](_0x453112);if(_0x3cf262&&_0x3cf262[_0x1f255a(0x115)](_0x4f6a76)){const _0x24c684=_0x3cf262[_0x1f255a(0x151)](_0x4f6a76);_0x444adf[_0x1f255a(0x16b)](_0x1c9196=>{const _0x4127b0=_0x1f255a,_0x458734=_0x24c684['get'](_0x1c9196);_0x458734!=null&&(this['_removeDependencyRTreeCache'](_0x458734),_0x24c684[_0x4127b0(0x142)](_0x1c9196),this['_removeAllTreeMap'](_0x458734));});}}['clearFeatureFormulaDependency'](_0x3b5f08,_0x275d67){const _0x2f2378=_0x13d7d2,_0x264239=this['_featureFormulaData']['get'](_0x3b5f08);if(_0x275d67&&_0x264239&&_0x264239[_0x2f2378(0x115)](_0x275d67)){const _0x540e9c=_0x264239[_0x2f2378(0x151)](_0x275d67);this[_0x2f2378(0xf4)](_0x3b5f08,_0x275d67),_0x540e9c[_0x2f2378(0x16b)](_0x552ecb=>{const _0x216195=_0x2f2378;_0x552ecb!=null&&this[_0x216195(0x14c)](_0x552ecb);}),_0x540e9c[_0x2f2378(0x190)]();}else _0x264239&&(_0x264239[_0x2f2378(0x16b)]((_0x5694d7,_0x1df4c6)=>{const _0x4a191b=_0x2f2378;this['_removeDependencyRTreeCacheById'](_0x3b5f08,_0x1df4c6),_0x5694d7[_0x4a191b(0x16b)](_0x1be0f0=>{const _0x525f2c=_0x4a191b;_0x1be0f0!=null&&this[_0x525f2c(0x14c)](_0x1be0f0);});}),this[_0x2f2378(0x13d)][_0x2f2378(0x142)](_0x3b5f08));}[_0x13d7d2(0x197)](_0x1e9351,_0x17fd1d,_0x5a9269,_0x524440,_0x19f382){const _0x2c1e93=_0x13d7d2;this[_0x2c1e93(0x150)]['has'](_0x1e9351)||this['_formulaData'][_0x2c1e93(0xf3)](_0x1e9351,new Map());const _0x52cea9=this[_0x2c1e93(0x150)][_0x2c1e93(0x151)](_0x1e9351);_0x52cea9['has'](_0x17fd1d)||_0x52cea9[_0x2c1e93(0xf3)](_0x17fd1d,new _0x155212[(_0x2c1e93(0x129))]()),_0x52cea9[_0x2c1e93(0x151)](_0x17fd1d)[_0x2c1e93(0x161)](_0x5a9269,_0x524440,_0x19f382['treeId']);}[_0x13d7d2(0x196)](_0x1613bd,_0x327df1,_0xf5d3e5,_0x23d2b3){const _0x2369f4=_0x13d7d2,_0xc40d22=this['_formulaData'][_0x2369f4(0x151)](_0x1613bd);if(_0xc40d22&&_0xc40d22[_0x2369f4(0x115)](_0x327df1)){const _0x53bd39=_0xc40d22[_0x2369f4(0x151)](_0x327df1),_0x488528=_0x53bd39[_0x2369f4(0x128)](_0xf5d3e5,_0x23d2b3);if(_0x488528==null)return;this[_0x2369f4(0x147)](_0x488528),_0x53bd39[_0x2369f4(0x10a)](_0xf5d3e5,_0x23d2b3),this[_0x2369f4(0x14c)](_0x488528);}}[_0x13d7d2(0x17a)](_0x5ae422,_0x3acc97){const _0x1b3b75=_0x13d7d2,_0x4c6e8e=this[_0x1b3b75(0x150)][_0x1b3b75(0x151)](_0x5ae422);if(_0x3acc97&&_0x4c6e8e&&_0x4c6e8e[_0x1b3b75(0x115)](_0x3acc97)){const _0x323d17=_0x4c6e8e[_0x1b3b75(0x151)](_0x3acc97);this[_0x1b3b75(0xf4)](_0x5ae422,_0x3acc97),_0x323d17['forValue']((_0x32f722,_0x266a97,_0x480605)=>{const _0x5b7d9b=_0x1b3b75;if(_0x480605==null)return!0x0;this[_0x5b7d9b(0x14c)](_0x480605);}),_0x323d17[_0x1b3b75(0x170)]();}else _0x4c6e8e&&(_0x4c6e8e[_0x1b3b75(0x16b)]((_0x4a6efa,_0x1bc3f0)=>{const _0x46691a=_0x1b3b75;this['_removeDependencyRTreeCacheById'](_0x5ae422,_0x1bc3f0),_0x4a6efa[_0x46691a(0x169)]((_0x1543bb,_0x935a56,_0x47560f)=>{const _0x2715d3=_0x46691a;if(_0x47560f==null)return!0x0;this[_0x2715d3(0x14c)](_0x47560f);});}),this[_0x1b3b75(0x150)]['delete'](_0x5ae422));}[_0x13d7d2(0x147)](_0x8e8ed7){const _0x3757d4=_0x13d7d2;if(_0x8e8ed7==null)return;const _0x4c9a13=this[_0x3757d4(0x16e)][_0x3757d4(0x151)](_0x8e8ed7);if(_0x4c9a13){const _0x49d4da=[];for(const [_0x84560b,_0x35bbf3]of _0x4c9a13)for(const [_0x512db2,_0x11594f]of _0x35bbf3)_0x49d4da[_0x3757d4(0x165)]({'unitId':_0x84560b,'sheetId':_0x512db2,'range':_0x11594f,'id':_0x8e8ed7});this[_0x3757d4(0x138)][_0x3757d4(0x195)](_0x49d4da);}}[_0x13d7d2(0x141)](_0x518fa2,_0x420a6d){const _0x4af6bf=_0x13d7d2,_0x2888d4=this[_0x4af6bf(0x11f)][_0x4af6bf(0x151)](_0x518fa2);if(_0x2888d4){const _0x4306b1=_0x2888d4[_0x4af6bf(0x151)](_0x420a6d);if(_0x4306b1){for(const _0xf3d1b1 of _0x4306b1)this[_0x4af6bf(0x147)](_0xf3d1b1),this[_0x4af6bf(0x14c)](_0xf3d1b1);_0x4306b1[_0x4af6bf(0x190)]();}}}[_0x13d7d2(0x19b)](){const _0x254150=_0x13d7d2;this[_0x254150(0x138)][_0x254150(0x19b)]();}[_0x13d7d2(0x103)](){const _0x1abd72=_0x13d7d2;this[_0x1abd72(0x138)][_0x1abd72(0x103)]();}[_0x13d7d2(0x14c)](_0x243e43){const _0x44437f=_0x13d7d2;_0x243e43!=null&&this[_0x44437f(0x16e)][_0x44437f(0x142)](_0x243e43);}[_0x13d7d2(0x17e)](_0x28a4a6){const _0x209a1d=_0x13d7d2;var _0x16b6e3,_0x217d2b;const _0x53b5eb=_0x28a4a6[_0x209a1d(0x105)];let _0x111a54=this[_0x209a1d(0x16e)]['get'](_0x28a4a6[_0x209a1d(0x10c)]);for(let _0x20e1db=0x0;_0x20e1db<_0x53b5eb[_0x209a1d(0x18b)];_0x20e1db++){const _0x3ec846=_0x53b5eb[_0x20e1db];let {unitId:_0x3fe48c,sheetId:_0x4d190a,range:_0x5c02a1}=_0x3ec846;_0x111a54||(_0x111a54=new Map(),this['_allTreeMap'][_0x209a1d(0xf3)](_0x28a4a6[_0x209a1d(0x10c)],_0x111a54)),_0x111a54[_0x209a1d(0x115)](_0x3fe48c)||_0x111a54[_0x209a1d(0xf3)](_0x3fe48c,new Map());const _0x54412a=(_0x16b6e3=_0x111a54==null?void 0x0:_0x111a54[_0x209a1d(0x151)](_0x3fe48c))==null?void 0x0:_0x16b6e3[_0x209a1d(0x151)](_0x4d190a);_0x54412a&&(_0x5c02a1={'startRow':Math[_0x209a1d(0xe6)](_0x5c02a1[_0x209a1d(0xfb)],_0x54412a[_0x209a1d(0xfb)]),'startColumn':Math[_0x209a1d(0xe6)](_0x5c02a1[_0x209a1d(0x185)],_0x54412a['startColumn']),'endRow':Math[_0x209a1d(0x140)](_0x5c02a1[_0x209a1d(0x102)],_0x54412a[_0x209a1d(0x102)]),'endColumn':Math['max'](_0x5c02a1['endColumn'],_0x54412a['endColumn'])}),(_0x217d2b=_0x111a54[_0x209a1d(0x151)](_0x3fe48c))==null||_0x217d2b['set'](_0x4d190a,_0x5c02a1);}}}var _0x495cdd=Object[_0x13d7d2(0x13c)],_0x2029a3=(_0x58bdce,_0x3d984b,_0x2ee5b0,_0x5b6430)=>{const _0x2c5b5d=_0x13d7d2;for(var _0x330260=_0x5b6430>0x1?void 0x0:_0x5b6430?_0x495cdd(_0x3d984b,_0x2ee5b0):_0x3d984b,_0x51995e=_0x58bdce[_0x2c5b5d(0x18b)]-0x1,_0x1bc47e;_0x51995e>=0x0;_0x51995e--)(_0x1bc47e=_0x58bdce[_0x51995e])&&(_0x330260=_0x1bc47e(_0x330260)||_0x330260);return _0x330260;};const _0xccbe2a=Number['parseInt'](0x68c50d20);_0xb67ef8['UniverProFormulaEnginePlugin']=class extends _0xb3d101[_0x13d7d2(0x175)]{[_0x13d7d2(0x192)](){const _0x4e9180=_0x13d7d2;var _0x346781,_0x4a3ba6;this['_initLicenseValid']()?(_0x346781=this[_0x4e9180(0x12e)])!=null&&_0x346781[_0x4e9180(0x189)]||[[_0xb3d101['ICalculateFormulaService'],{'useClass':_0x574fe0}],[_0xb3d101[_0x4e9180(0x15e)],{'useClass':_0x137c3c}],[_0xb3d101[_0x4e9180(0x109)],{'useClass':_0x31da85}]]['forEach'](_0xe2697b=>this['_injector'][_0x4e9180(0x16f)](_0xe2697b)):(_0x4a3ba6=this[_0x4e9180(0x12e)])!=null&&_0x4a3ba6[_0x4e9180(0x189)]||[[_0xb3d101['ICalculateFormulaService'],{'useClass':_0xb3d101[_0x4e9180(0x18e)]}],[_0xb3d101['IDependencyManagerService'],{'useClass':_0xb3d101[_0x4e9180(0x181)]}],[_0xb3d101['IFormulaDependencyGenerator'],{'useClass':_0xb3d101[_0x4e9180(0x199)]}]][_0x4e9180(0x16b)](_0x2f4b8d=>this[_0x4e9180(0x11e)]['add'](_0x2f4b8d));}[_0x13d7d2(0x11b)](){const _0x1e9dd7=_0x13d7d2;var _0x44285b;const _0x456682=(_0x44285b=this[_0x1e9dd7(0x153)][_0x1e9dd7(0x113)](_0xd2a5fb['LS_CONFIG_KEY']))!=null?_0x44285b:{},{ls:_0xc6a7a2,pbk:_0x1d189c}=_0x456682;if(!_0xc6a7a2||!_0x1d189c)return!0x1;const _0x1c0261=_0xd2a5fb['unshiftString'](_0x409e31,_0x1954f0),_0x119ca5=new Function(_0x1e9dd7(0x15c)+_0x1c0261)()(_0xc6a7a2,_0x1d189c),_0x3fcf87=_0x119ca5['message'];return _0x119ca5['valid']&&_0xd2a5fb[_0x1e9dd7(0x145)](_0x3fcf87,'sf',_0xccbe2a)?_0xd2a5fb['getSheetFeatureLimit'](_0x3fcf87,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0xb67ef8[_0x13d7d2(0x12f)]=_0x2029a3([_0x155212[_0x13d7d2(0xfd)](_0xd2a5fb['UniverLicensePlugin'])],_0xb67ef8['UniverProFormulaEnginePlugin']),Object['keys'](_0xb3d101)[_0x13d7d2(0x16b)](_0x50df69=>{const _0x9c12a6=_0x13d7d2;_0x50df69!==_0x9c12a6(0xe9)&&!Object[_0x9c12a6(0x16a)]['hasOwnProperty'][_0x9c12a6(0x163)](_0xb67ef8,_0x50df69)&&Object[_0x9c12a6(0x15d)](_0xb67ef8,_0x50df69,{'enumerable':!0x0,'get':()=>_0xb3d101[_0x50df69]});}),Object[_0x13d7d2(0x15d)](_0xb67ef8,Symbol[_0x13d7d2(0xe4)],{'value':_0x13d7d2(0x13f)});}));function _0x22dd(_0x5d1abf,_0x1357f3){const _0x494019=_0x4940();return _0x22dd=function(_0x22dda4,_0x10f936){_0x22dda4=_0x22dda4-0xe4;let _0x154235=_0x494019[_0x22dda4];return _0x154235;},_0x22dd(_0x5d1abf,_0x1357f3);}function _0x4940(){const _0x2c85df=['_initLicenseValid','6547150aZxhxu','START_CALCULATION_ARRAY_FORMULA','_injector','_definedNameMap','START_DEPENDENCY_ARRAY_FORMULA','markedAsNoFunctionsExecuted','_getTreeById','setCompletedFormulasCount','969654vJsmcJ','executeAsync','resolve','addOtherFormulaDependency','getValue','ObjectMatrix','isCache','_updateRangeFlatten','_runtimeService','subUnitId','_config','UniverProFormulaEnginePlugin','bulkSearch','column','@univerjs-pro/license','formulaId','getFormulaData','FormulaDependencyTree','function','getDirtyNameMap','_dependencyRTreeCache','OTHER_FORMULA','setCompletedArrayFormulasCount','CURRENTLY_CALCULATING_ARRAY_FORMULA','getOwnPropertyDescriptor','_featureFormulaData','_checkIsCycleDependency','Module','max','removeFormulaDependencyByDefinedName','delete','searchDependency','setRuntimeData','isFeatureAuthorizedWithinTime','_formulaDependencyGenerator','_removeDependencyRTreeCache','START_CALCULATION','getFeatureFormulaDependency','removeFeatureFormulaDependency','amd','_removeAllTreeMap','_registerFormulas','DEFAULT_INTERVAL_COUNT','FormulaDependencyTreeType','_formulaData','get','FormulaExecuteStageType','_configService','getAllRuntimeData','clearFeatureFormulaDependency','1150842zAHuhT','generateAstNode','refOffsetY','_otherFormulaManagerService','_calculateRunList','FEATURE_FORMULA','return\x20','defineProperty','IDependencyManagerService','featureId','isStopExecution','setValue','setTotalArrayFormulasToCalculate','call','getRuntimeState','push','_otherFormulaDataMainData','setTotalFormulasToCalculate','_interpreter','forValue','prototype','forEach','1018103EDTPas','isVirtual','_allTreeMap','add','reset','size','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_generateTreeList','_dependencyTreeCache','UniverFormulaEnginePlugin','_executionInProgressListener$','getFormulaDependency','UniverProEngineFormula','setSkip','clearFormulaDependency','IDLE','keys','_lexer','_addAllTreeMap','CURRENTLY_CALCULATING','_isCyclicUtilMap','DependencyManagerService','toRTreeItem','200DmekNl','_traverse','startColumn','dispose','ParentDependencyTree\x20object\x20is\x20null','getClearDependencyTreeCache','notExecuteFormula','removeOtherFormulaDependency','length','_otherFormulaData','553623aSWnPC','CalculateFormulaService','getUnitData','clear','isSkip','_initializeWithOverride','pop','UniverEngineFormula','bulkRemove','removeFormulaDependency','addFormulaDependency','_getFirstCellOfRange','FormulaDependencyGenerator','_restDependencyTreeId','openKdTree','_dependencyRTreeCacheForAddressFunction','object','1323165pGNpIj','toStringTag','featureDirtyRanges','min','row','dirtyRanges','default','DependencyManagerBaseService','addFormulaDependencyByDefinedName','_createFDtree','setRuntimeFeatureCellData','generateRandomDependencyTreeId','_getTreeNode','isDirty','addOtherFormulaDependencyMainData','@univerjs/engine-formula','set','_removeDependencyRTreeCacheById','refOffsetX','_getFeatureFormulaTree','START_DEPENDENCY','next','rowCount','getDirtyRanges','startRow','getExcludedRange','DependentOn','setFormulaExecuteStage','refTree','isAdded','isForceCalculate','endRow','closeKdTree','type','rangeList','symbol','_dependencyManagerService','_getUpdateTreeListAndMakeDependency','IFormulaDependencyGenerator','realDeleteValue','clearOtherFormulaDependency','treeId','requestImmediateMacroTask','_currentConfigService','getDirtyData','unitId','_astTreeBuilder','1814720XDckrx','getConfig','setCurrent','has','formula','_registerOtherFormulas','dependencySheetName','columnCount','node'];_0x4940=function(){return _0x2c85df;};return _0x4940();}
1
+ function _0x47e7(_0x446177,_0x5f4fff){const _0x42ee57=_0x42ee();return _0x47e7=function(_0x47e78e,_0x1e88e4){_0x47e78e=_0x47e78e-0x13c;let _0x29f835=_0x42ee57[_0x47e78e];return _0x29f835;},_0x47e7(_0x446177,_0x5f4fff);}(function(_0x446d47,_0x56a84f){const _0x144dc1=_0x47e7,_0x70a6b8=_0x446d47();while(!![]){try{const _0x589215=parseInt(_0x144dc1(0x142))/0x1*(-parseInt(_0x144dc1(0x1cb))/0x2)+-parseInt(_0x144dc1(0x1e8))/0x3+parseInt(_0x144dc1(0x13c))/0x4+-parseInt(_0x144dc1(0x146))/0x5+parseInt(_0x144dc1(0x19b))/0x6*(-parseInt(_0x144dc1(0x1ce))/0x7)+parseInt(_0x144dc1(0x1e3))/0x8*(-parseInt(_0x144dc1(0x164))/0x9)+-parseInt(_0x144dc1(0x14d))/0xa*(-parseInt(_0x144dc1(0x187))/0xb);if(_0x589215===_0x56a84f)break;else _0x70a6b8['push'](_0x70a6b8['shift']());}catch(_0x83dbfa){_0x70a6b8['push'](_0x70a6b8['shift']());}}}(_0x42ee,0x6b709),function(_0x5b10d9,_0x4472c8){const _0x17ca21=_0x47e7;typeof exports==_0x17ca21(0x151)&&typeof module<'u'?_0x4472c8(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define=='function'&&define['amd']?define(['exports',_0x17ca21(0x1aa),_0x17ca21(0x13d),_0x17ca21(0x179)],_0x4472c8):(_0x5b10d9=typeof globalThis<'u'?globalThis:_0x5b10d9||self,_0x4472c8(_0x5b10d9[_0x17ca21(0x17f)]={},_0x5b10d9[_0x17ca21(0x1a6)],_0x5b10d9[_0x17ca21(0x167)],_0x5b10d9[_0x17ca21(0x170)]));}(this,function(_0x137048,_0x473166,_0x32cebd,_0x32db02){'use strict';const _0x480329=_0x47e7;var _0x31e5eb=Object[_0x480329(0x1dd)],_0x5cb262=(_0x2e21b0,_0x4b3ddb,_0x3594ce)=>_0x4b3ddb in _0x2e21b0?_0x31e5eb(_0x2e21b0,_0x4b3ddb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3594ce}):_0x2e21b0[_0x4b3ddb]=_0x3594ce,_0xd7240f=(_0x394375,_0x23ce07,_0x15d9f1)=>_0x5cb262(_0x394375,typeof _0x23ce07!=_0x480329(0x18e)?_0x23ce07+'':_0x23ce07,_0x15d9f1);const _0x5510ec={0x0:'q',0x1:'H',0x2:'d',0x3:'7',0x4:'V',0x5:'Y',0x6:'b',0x7:'J',0x8:'v',0x9:'h','Y':'0','w':'1','k':'2','z':'3','F':'4','I':'5','M':'6','S':'8','O':'9','u':'a','l':'c','h':'e','C':'f','D':'g','a':'i','b':'j','J':'k','G':'l','K':'m','r':'n','o':'o','n':'p','c':'r','d':'s','t':'t','e':'u','H':'w','W':'x','f':'y','y':'z','L':'A','T':'B','B':'C','X':'D','P':'E','v':'F','x':'G','E':'I','i':'K','q':'L','s':'M','m':'N','N':'O','V':'P','Z':'Q','j':'R','p':'S','g':'T','U':'U','A':'W','R':'X','Q':'Z'},_0x36e132=_0x480329(0x197);class _0x3fbfb7 extends _0x32db02['FormulaDependencyGenerator']{constructor(){const _0x590e86=_0x480329;super(...arguments),_0xd7240f(this,_0x590e86(0x19a),new Map());}['dispose'](){const _0x9654f1=_0x480329;super['dispose'](),this[_0x9654f1(0x19a)][_0x9654f1(0x1ac)]();}async['generate'](){const _0x29d000=_0x480329;this[_0x29d000(0x15c)]();const _0x53766c=this[_0x29d000(0x1ca)][_0x29d000(0x1c0)](),_0x3f62a4=this[_0x29d000(0x19f)][_0x29d000(0x1e9)](),_0x4df062=this['_currentConfigService'][_0x29d000(0x181)]();_0x4df062!=null&&Object[_0x29d000(0x1f8)](_0x4df062)[_0x29d000(0x17e)](_0x148cad=>{const _0x347a8e=_0x29d000;_0x148cad!=null&&Object[_0x347a8e(0x1f8)](_0x4df062[_0x148cad])[_0x347a8e(0x17e)](_0xe7317d=>{const _0x5ebdc6=_0x347a8e;_0xe7317d!=null&&(this[_0x5ebdc6(0x195)][_0x5ebdc6(0x15f)](_0x148cad,_0xe7317d),this['_dependencyManagerService'][_0x5ebdc6(0x172)](_0x148cad,_0xe7317d),this[_0x5ebdc6(0x195)][_0x5ebdc6(0x19c)](_0x148cad,_0xe7317d));});});const _0xe5af43=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x53766c,_0x3f62a4,_0xe5af43),this['_dependencyManagerService']['openKdTree']();const _0x5eab75=this[_0x29d000(0x14c)](),_0x2fa84c=this[_0x29d000(0x1eb)](_0x5eab75);return this[_0x29d000(0x13f)](_0x2fa84c)&&this[_0x29d000(0x14e)][_0x29d000(0x1f0)](),this[_0x29d000(0x19a)][_0x29d000(0x1ac)](),this['_dependencyRTreeCacheForAddressFunction'][_0x29d000(0x1ac)](),this[_0x29d000(0x195)]['closeKdTree'](),Promise[_0x29d000(0x1b9)](_0x2fa84c);}[_0x480329(0x156)](_0x18e936,_0x78e9bb){const _0x17d420=_0x480329,_0x3132b8=[_0x18e936];for(;_0x3132b8[_0x17d420(0x1da)]>0x0;){const _0x52ebad=_0x3132b8[_0x3132b8[_0x17d420(0x1da)]-0x1];if((_0x78e9bb[_0x17d420(0x1b1)](_0x52ebad)||0x0)===0x0){_0x78e9bb[_0x17d420(0x1a1)](_0x52ebad,0x1);const _0x251d74=this['_dependencyTreeCache'][_0x17d420(0x1b1)](_0x52ebad);if(_0x251d74==null){_0x78e9bb[_0x17d420(0x1a1)](_0x52ebad,0x2),_0x3132b8[_0x17d420(0x1b6)]();continue;}const _0x4cc168=this[_0x17d420(0x195)][_0x17d420(0x1bb)](_0x251d74['toRTreeItem']());for(const _0x4f254a of _0x4cc168){const _0x57f1c4=_0x78e9bb['get'](_0x4f254a)||0x0;if(_0x57f1c4===0x1)return!0x0;_0x57f1c4===0x0&&_0x3132b8[_0x17d420(0x192)](_0x4f254a);}}else _0x78e9bb[_0x17d420(0x1a1)](_0x52ebad,0x2),_0x3132b8['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x5e2509){const _0x318cf5=_0x480329,_0x53bd9e=new Map();for(const _0x1baa9f of _0x5e2509)if(!_0x53bd9e[_0x318cf5(0x198)](_0x1baa9f['treeId'])&&this[_0x318cf5(0x156)](_0x1baa9f[_0x318cf5(0x1f3)],_0x53bd9e))return!0x0;return _0x53bd9e[_0x318cf5(0x1ac)](),!0x1;}[_0x480329(0x1a2)](_0x53fc4c,_0x41b135,_0x203567){const _0x20b82e=_0x480329,{unitId:_0x3c7128,subUnitId:_0x3e71da,dependencyRanges:_0x54fe52,getDirtyData:_0x53033c}=_0x203567,_0x586d97=_0x41b135||_0x32db02[_0x20b82e(0x1d2)](this[_0x20b82e(0x195)]),_0x440bcb=new _0x32db02[(_0x20b82e(0x160))](_0x586d97);_0x440bcb[_0x20b82e(0x1ee)]=_0x3c7128,_0x440bcb[_0x20b82e(0x1d5)]=_0x3e71da,_0x440bcb[_0x20b82e(0x1e7)]=_0x54fe52,_0x440bcb[_0x20b82e(0x1c4)]=_0x53033c;const _0x15cbab=_0x53033c(this[_0x20b82e(0x1ca)][_0x20b82e(0x1c4)](),this[_0x20b82e(0x14e)][_0x20b82e(0x143)]()),_0x4c2319=this[_0x20b82e(0x169)](_0x15cbab[_0x20b82e(0x1a0)]);return _0x440bcb[_0x20b82e(0x1c3)]=_0x4c2319,_0x440bcb['featureId']=_0x53fc4c,_0x440bcb[_0x20b82e(0x1bc)]=_0x32db02[_0x20b82e(0x199)][_0x20b82e(0x1f9)],this[_0x20b82e(0x195)][_0x20b82e(0x1d1)](_0x3c7128,_0x3e71da,_0x53fc4c,_0x440bcb),this['_dependencyTreeCache'][_0x20b82e(0x1a1)](_0x440bcb['treeId'],_0x440bcb),this[_0x20b82e(0x195)][_0x20b82e(0x188)](_0x203567[_0x20b82e(0x1ee)],_0x203567[_0x20b82e(0x1d5)],_0x53fc4c)&&(_0x440bcb[_0x20b82e(0x184)]=!0x0),_0x440bcb;}['_registerOtherFormulas'](_0x372dc0,_0x353374,_0xfaabab){const _0x46aac8=_0x480329;var _0x5c8bdf;for(const _0x2e9d22 of _0x353374){const _0x4982b2=_0x372dc0[_0x2e9d22];if(_0x4982b2==null)continue;const _0x410de0=Object['keys'](_0x4982b2);for(const _0x52ee33 of _0x410de0){const _0x230c90=_0x4982b2[_0x52ee33];if(_0x230c90==null)continue;const _0x3e1401=Object[_0x46aac8(0x1f8)](_0x230c90);for(const _0xa67173 of _0x3e1401){const _0x1871bc=this['_dependencyManagerService'][_0x46aac8(0x193)](_0xa67173),_0x579fef=_0x230c90[_0xa67173],{f:_0x1552fe,ranges:_0x32ecc5}=_0x579fef;let _0x51c38d=!0x1;_0x1871bc&&(_0x51c38d=!0x0);const {firstRow:_0x308b7c,firstColumn:_0x17d0fa}=this[_0x46aac8(0x140)](_0x32ecc5),_0x3383e2=this[_0x46aac8(0x195)][_0x46aac8(0x183)](_0x2e9d22,_0x52ee33,_0xa67173),_0x13df0e=(_0x5c8bdf=_0x3383e2==null?void 0x0:_0x3383e2[_0x46aac8(0x1b0)](0x0,0x0))!=null?_0x5c8bdf:_0x32db02['generateRandomDependencyTreeId'](this[_0x46aac8(0x195)]),_0x427ce5=new _0x32db02[(_0x46aac8(0x160))](_0x13df0e);for(let _0x44040d=0x0;_0x44040d<_0x32ecc5[_0x46aac8(0x1da)];_0x44040d++){const _0xb53c74=_0x32ecc5[_0x44040d],{startRow:_0x23dd58,startColumn:_0x37f886,endRow:_0x3c4641,endColumn:_0x3293c7}=_0xb53c74;for(let _0x4c35d1=_0x23dd58;_0x4c35d1<=_0x3c4641;_0x4c35d1++)for(let _0x1c6e1e=_0x37f886;_0x1c6e1e<=_0x3293c7;_0x1c6e1e++){const _0x528f77=_0x1c6e1e-_0x17d0fa,_0x41b197=_0x4c35d1-_0x308b7c;if(_0x528f77===0x0&&_0x41b197===0x0){_0x427ce5[_0x46aac8(0x1c2)]=_0x1552fe,_0x427ce5[_0x46aac8(0x1ee)]=_0x2e9d22,_0x427ce5[_0x46aac8(0x1d5)]=_0x52ee33,_0x427ce5[_0x46aac8(0x144)]=_0xa67173,_0x427ce5['type']=_0x32db02[_0x46aac8(0x199)][_0x46aac8(0x168)],_0x427ce5[_0x46aac8(0x184)]=_0x51c38d,_0xfaabab[_0x46aac8(0x192)](_0x427ce5),this[_0x46aac8(0x19a)]['set'](_0x427ce5[_0x46aac8(0x1f3)],_0x427ce5),this['_dependencyManagerService'][_0x46aac8(0x1c8)](_0x2e9d22,_0x52ee33,_0xa67173,_0x427ce5),this[_0x46aac8(0x195)]['addFormulaDependencyByDefinedName'](_0x427ce5);continue;}const _0x5767e4=new _0x32db02[(_0x46aac8(0x1d4))]();_0x5767e4[_0x46aac8(0x1f3)]=(_0x3383e2==null?void 0x0:_0x3383e2['getValue'](_0x528f77,_0x41b197))||_0x32db02[_0x46aac8(0x1d2)](this[_0x46aac8(0x195)]),_0x5767e4[_0x46aac8(0x1cf)]=_0x427ce5,_0x5767e4[_0x46aac8(0x1ba)]=_0x528f77,_0x5767e4['refOffsetY']=_0x41b197,_0x5767e4['isCache']=_0x51c38d,this[_0x46aac8(0x195)]['addOtherFormulaDependency'](_0x2e9d22,_0x52ee33,_0xa67173,_0x5767e4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x5767e4),_0xfaabab[_0x46aac8(0x192)](_0x5767e4),this[_0x46aac8(0x19a)][_0x46aac8(0x1a1)](_0x5767e4[_0x46aac8(0x1f3)],_0x5767e4);}}this[_0x46aac8(0x195)]['addOtherFormulaDependencyMainData'](_0xa67173);}}}}['_registerFormulas'](_0x3027f8,_0x106de7,_0x20894f,_0x36d698){const _0xe6ec06=_0x480329;for(const _0xeb82fd of _0x3027f8){const _0x4192f8=_0x106de7[_0xeb82fd];if(_0x4192f8==null)continue;const _0x2aa236=Object['keys'](_0x4192f8);for(const _0x3d46f8 of _0x2aa236){const _0xb20bd1=new _0x32cebd[(_0xe6ec06(0x1d6))](_0x4192f8[_0x3d46f8]||{}),_0x1eff5e=new Map();_0xb20bd1[_0xe6ec06(0x1e4)]((_0x16ee2e,_0x544a97,_0x91392f)=>{const _0x5ac042=_0xe6ec06;if(_0x91392f==null)return!0x0;const {x:_0x4a83e8=0x0,y:_0x23779d=0x0,si:_0x4e1a68}=_0x91392f;if(!(_0x4a83e8===0x0&&_0x23779d===0x0&&_0x4e1a68!=null))return!0x0;const _0x5009c4=this['_createFDtree'](_0xeb82fd,_0x3d46f8,_0x16ee2e,_0x544a97,_0x20894f,_0x91392f),_0x484bea=this[_0x5ac042(0x195)]['getFormulaDependency'](_0xeb82fd,_0x3d46f8,_0x16ee2e,_0x544a97);_0x484bea!=null?_0x5009c4[_0x5ac042(0x1f3)]=_0x484bea:(this['_dependencyManagerService'][_0x5ac042(0x1a4)](_0xeb82fd,_0x3d46f8,_0x16ee2e,_0x544a97,_0x5009c4),this[_0x5ac042(0x195)][_0x5ac042(0x1ed)](_0x5009c4)),_0x1eff5e[_0x5ac042(0x1a1)](_0x4e1a68,_0x5009c4),_0x36d698[_0x5ac042(0x192)](_0x5009c4),this[_0x5ac042(0x19a)][_0x5ac042(0x1a1)](_0x5009c4['treeId'],_0x5009c4);}),_0xb20bd1[_0xe6ec06(0x1e4)]((_0x3dc596,_0x3e60ad,_0x58c188)=>{const _0x594c51=_0xe6ec06;if(_0x58c188==null)return!0x0;const {x:_0x5307bc=0x0,y:_0x27fd8e=0x0,si:_0xdb36cb}=_0x58c188;if(_0x5307bc===0x0&&_0x27fd8e===0x0&&_0xdb36cb!=null)return!0x0;let _0x36f0b9;if(_0xdb36cb&&_0x1eff5e[_0x594c51(0x198)](_0xdb36cb)){const _0x39b64d=_0x1eff5e[_0x594c51(0x1b1)](_0xdb36cb);_0x36f0b9=this[_0x594c51(0x148)](_0x39b64d,_0x58c188);}else _0x36f0b9=this[_0x594c51(0x17a)](_0xeb82fd,_0x3d46f8,_0x3dc596,_0x3e60ad,_0x20894f,_0x58c188);const _0x22ac23=this[_0x594c51(0x195)]['getFormulaDependency'](_0xeb82fd,_0x3d46f8,_0x3dc596,_0x3e60ad);_0x22ac23!=null?_0x36f0b9[_0x594c51(0x1f3)]=_0x22ac23:(this['_dependencyManagerService']['addFormulaDependency'](_0xeb82fd,_0x3d46f8,_0x3dc596,_0x3e60ad,_0x36f0b9),this[_0x594c51(0x195)][_0x594c51(0x1ed)](_0x36f0b9)),_0x36d698[_0x594c51(0x192)](_0x36f0b9),this[_0x594c51(0x19a)]['set'](_0x36f0b9[_0x594c51(0x1f3)],_0x36f0b9);}),_0x1eff5e[_0xe6ec06(0x1ac)]();}}}[_0x480329(0x17a)](_0x2b3fcf,_0x261fa3,_0x19698d,_0x126b56,_0x43868a,_0x46b72b){const _0x2ff73b=_0x480329,{f:_0x521992,x:_0x22bb4a=0x0,y:_0x30bd2b=0x0}=_0x46b72b,_0x25be5e=new _0x32db02[(_0x2ff73b(0x160))](_0x32db02[_0x2ff73b(0x1d2)](this[_0x2ff73b(0x195)])),_0x19c1bf=_0x43868a[_0x2b3fcf][_0x261fa3];return _0x25be5e[_0x2ff73b(0x1c2)]=_0x521992,_0x25be5e[_0x2ff73b(0x1ee)]=_0x2b3fcf,_0x25be5e[_0x2ff73b(0x1d5)]=_0x261fa3,_0x25be5e[_0x2ff73b(0x13e)]=_0x19698d,_0x25be5e[_0x2ff73b(0x1ec)]=_0x126b56,_0x25be5e[_0x2ff73b(0x1c9)]=_0x19c1bf[_0x2ff73b(0x1c9)],_0x25be5e['columnCount']=_0x19c1bf['columnCount'],_0x25be5e;}[_0x480329(0x14c)](){const _0x107dfb=_0x480329,_0x346733=[],_0x54a098=new Set(),_0x47406c=this[_0x107dfb(0x1ca)][_0x107dfb(0x155)](),_0x4227ad=this[_0x107dfb(0x1ca)][_0x107dfb(0x1c7)](),_0x191dc6=this[_0x107dfb(0x195)]['searchDependency'](_0x4227ad),_0x33753f=this[_0x107dfb(0x163)][_0x107dfb(0x165)](_0x4227ad);for(const _0x97259d of _0x33753f)_0x191dc6[_0x107dfb(0x190)](_0x97259d);for(const [_0x19efe8,_0x15fc47]of this[_0x107dfb(0x19a)])(_0x47406c||_0x15fc47['isDirty']||_0x15fc47['dependencySheetName'](this[_0x107dfb(0x1ca)]['getDirtyNameMap']())||_0x191dc6['has'](_0x19efe8)&&!_0x15fc47[_0x107dfb(0x1b5)](this['_currentConfigService']['getExcludedRange']()))&&!_0x54a098[_0x107dfb(0x198)](_0x19efe8)&&(_0x346733[_0x107dfb(0x192)](_0x15fc47),_0x54a098['add'](_0x19efe8));for(const [_0x4ec450,_0x117a3d]of this[_0x107dfb(0x19a)])_0x117a3d['isVirtual']||(_0x117a3d['rangeList'][_0x107dfb(0x1da)]=0x0);return _0x346733;}[_0x480329(0x180)](_0x4d5657){const _0xf0c43b=_0x480329;return this['_dependencyTreeCache'][_0xf0c43b(0x1b1)](_0x4d5657);}[_0x480329(0x1ef)](_0x4ec2b4){const _0x444d20=_0x480329;return _0x32db02['generateAstNode'](_0x4ec2b4[_0x444d20(0x1ee)],_0x4ec2b4['formula'],this[_0x444d20(0x1f1)],this[_0x444d20(0x141)],this['_currentConfigService']);}*[_0x480329(0x1d3)](_0x2d7ad9,_0x32e003){const _0x7b21f5=_0x480329,_0x47c4fa=_0x2d7ad9,_0x32d1f3=new Set();for(;_0x47c4fa[_0x7b21f5(0x1da)]>0x0;){const _0x18c772=_0x47c4fa['pop']();if(_0x32d1f3['clear'](),_0x18c772===void 0x0||_0x18c772[_0x7b21f5(0x15e)]())continue;if(_0x18c772['isAdded']()){yield _0x18c772,_0x18c772[_0x7b21f5(0x1db)](),_0x32e003[_0x7b21f5(0x190)](_0x18c772[_0x7b21f5(0x1f3)]);continue;}const _0x4657cb=this[_0x7b21f5(0x195)][_0x7b21f5(0x1bb)](_0x18c772[_0x7b21f5(0x153)](),_0x32e003),_0x1be6f8=this[_0x7b21f5(0x163)]['bulkSearch'](_0x18c772[_0x7b21f5(0x153)](),_0x32e003);for(const _0x1fbc9c of _0x1be6f8)_0x4657cb[_0x7b21f5(0x190)](_0x1fbc9c);for(const _0x85ef32 of _0x4657cb){const _0x4800c7=this[_0x7b21f5(0x19a)][_0x7b21f5(0x1b1)](_0x85ef32);if(!_0x4800c7)throw new Error(_0x7b21f5(0x1f6));_0x4800c7[_0x7b21f5(0x1c1)]()||_0x18c772[_0x7b21f5(0x15e)]()||_0x32d1f3[_0x7b21f5(0x190)](_0x4800c7);}if(_0x4657cb[_0x7b21f5(0x1ac)](),_0x32d1f3['size']===0x0)yield _0x18c772,_0x18c772[_0x7b21f5(0x1db)](),_0x32e003['add'](_0x18c772[_0x7b21f5(0x1f3)]);else{_0x18c772['setAdded'](),_0x47c4fa['push'](_0x18c772);for(const _0x87e12e of _0x32d1f3)_0x47c4fa['push'](_0x87e12e);}}_0x47c4fa[_0x7b21f5(0x1da)]=0x0,_0x32d1f3[_0x7b21f5(0x1ac)]();}[_0x480329(0x1eb)](_0x31d59d){const _0xd63046=_0x480329,_0x3f9649=[],_0x165747=new Set();for(const _0x50818f of this[_0xd63046(0x1d3)](_0x31d59d,_0x165747))_0x3f9649['push'](_0x50818f);return _0x3f9649;}}class _0x4036fc extends _0x32db02[_0x480329(0x189)]{async[_0x480329(0x16e)](_0x43efbf=!0x1){const _0x4d0c2b=_0x480329;_0x43efbf?this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1c6)](_0x32db02[_0x4d0c2b(0x176)][_0x4d0c2b(0x1c5)]):this['_runtimeService']['setFormulaExecuteStage'](_0x32db02[_0x4d0c2b(0x176)][_0x4d0c2b(0x158)]),this[_0x4d0c2b(0x159)][_0x4d0c2b(0x1bd)](this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x15d)]());const _0x408a8b=await this['_formulaDependencyGenerator'][_0x4d0c2b(0x1cc)](),_0x2aa299=this[_0x4d0c2b(0x175)];_0x43efbf?(this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1c6)](_0x32db02['FormulaExecuteStageType'][_0x4d0c2b(0x16c)]),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x16f)](_0x408a8b['length'])):(this[_0x4d0c2b(0x14e)]['setFormulaExecuteStage'](_0x32db02[_0x4d0c2b(0x176)][_0x4d0c2b(0x177)]),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1e6)](_0x408a8b[_0x4d0c2b(0x1da)])),this[_0x4d0c2b(0x159)]['next'](this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x15d)]());let _0x14c731=[];const _0xe257ac=this[_0x4d0c2b(0x145)][_0x4d0c2b(0x174)](_0x32db02[_0x4d0c2b(0x1b7)]),_0x55dbe6=(_0xe257ac==null?void 0x0:_0xe257ac[_0x4d0c2b(0x14a)])||_0x32db02[_0x4d0c2b(0x194)];let _0x1b451d=0x0;const _0xb2bac4=_0x408a8b[_0x4d0c2b(0x1da)];for(;_0x408a8b[_0x4d0c2b(0x1da)]>0x0;){const _0x2fa392=_0x408a8b[_0x4d0c2b(0x1b6)](),_0x826ae={'node':_0x32db02['generateAstNode'](_0x2fa392[_0x4d0c2b(0x1ee)],_0x2fa392[_0x4d0c2b(0x1c2)],this[_0x4d0c2b(0x1f1)],this['_astTreeBuilder'],this[_0x4d0c2b(0x1ca)]),'refOffsetX':_0x2fa392[_0x4d0c2b(0x1ba)],'refOffsetY':_0x2fa392['refOffsetY']},_0x4e9bbb=_0x2fa392[_0x4d0c2b(0x1c4)];if(_0x1b451d%_0x55dbe6===0x0&&(await new Promise(_0x3c6b55=>{const _0xe0f48e=_0x4d0c2b,_0x190295=_0x32cebd[_0xe0f48e(0x162)](_0x3c6b55);_0x14c731['push'](_0x190295);}),_0x43efbf?(this['_runtimeService'][_0x4d0c2b(0x1c6)](_0x32db02[_0x4d0c2b(0x176)][_0x4d0c2b(0x1ae)]),this[_0x4d0c2b(0x14e)]['setCompletedArrayFormulasCount'](_0x1b451d+0x1)):(this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1c6)](_0x32db02[_0x4d0c2b(0x176)]['CURRENTLY_CALCULATING']),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x178)](_0x1b451d+0x1)),this[_0x4d0c2b(0x159)]['next'](this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x15d)]()),this['_runtimeService'][_0x4d0c2b(0x1a8)]()||_0x826ae==null&&_0x4e9bbb==null)){this['_runtimeService'][_0x4d0c2b(0x1c6)](_0x32db02[_0x4d0c2b(0x176)][_0x4d0c2b(0x14b)]),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1f4)](),this[_0x4d0c2b(0x182)]['next'](this['_runtimeService'][_0x4d0c2b(0x143)]());return;}this['_runtimeService']['setCurrent'](_0x2fa392[_0x4d0c2b(0x13e)],_0x2fa392[_0x4d0c2b(0x1ec)],_0x2fa392[_0x4d0c2b(0x1c9)],_0x2fa392['columnCount'],_0x2fa392[_0x4d0c2b(0x1d5)],_0x2fa392[_0x4d0c2b(0x1ee)]);let _0x3c6d43;if(_0x4e9bbb!=null&&_0x2fa392[_0x4d0c2b(0x1d9)]!=null){const {runtimeCellData:_0x25ee9e,dirtyRanges:_0x4851e7}=_0x4e9bbb(this[_0x4d0c2b(0x1ca)][_0x4d0c2b(0x1c4)](),this[_0x4d0c2b(0x14e)]['getAllRuntimeData']());this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x17b)](_0x2fa392[_0x4d0c2b(0x1d9)],_0x25ee9e),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1bf)](_0x2fa392['featureId'],_0x4851e7);}else _0x826ae!=null&&(_0x2aa299['checkAsyncNode'](_0x826ae['node'])?_0x3c6d43=await _0x2aa299[_0x4d0c2b(0x1ad)](_0x826ae):_0x3c6d43=_0x2aa299[_0x4d0c2b(0x157)](_0x826ae),_0x2fa392['formulaId']!=null?this[_0x4d0c2b(0x14e)]['setRuntimeOtherData'](_0x2fa392['formulaId'],_0x2fa392[_0x4d0c2b(0x1ba)],_0x2fa392[_0x4d0c2b(0x1b2)],_0x3c6d43):this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1af)](_0x3c6d43));_0x1b451d++;}return _0x14c731[_0x4d0c2b(0x17e)](_0x5af7c8=>_0x5af7c8()),_0x14c731=[],_0xb2bac4>0x0?this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x1dc)]():_0x43efbf||this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x16b)](),this[_0x4d0c2b(0x14e)][_0x4d0c2b(0x143)]();}}class _0x2e69ce extends _0x32db02['DependencyManagerBaseService']{constructor(){super(...arguments),_0xd7240f(this,'_allTreeMap',new Map()),_0xd7240f(this,'_dependencyRTreeCache',new _0x32cebd['RTree'](!0x0));}['reset'](){const _0x4d4d34=_0x480329;this['_otherFormulaData'][_0x4d4d34(0x1ac)](),this[_0x4d4d34(0x1e2)][_0x4d4d34(0x1ac)](),this[_0x4d4d34(0x1a9)]['clear'](),this[_0x4d4d34(0x1f5)]['clear'](),this['_allTreeMap']['clear'](),this[_0x4d4d34(0x14f)](),this[_0x4d4d34(0x186)][_0x4d4d34(0x1ac)]();}['addOtherFormulaDependency'](_0x3cd994,_0x526e5f,_0x1b81ac,_0x4bda0a){const _0x344044=_0x480329;this[_0x344044(0x171)][_0x344044(0x198)](_0x3cd994)||this['_otherFormulaData']['set'](_0x3cd994,new Map());const _0x34aa56=this[_0x344044(0x171)]['get'](_0x3cd994);_0x34aa56[_0x344044(0x198)](_0x526e5f)||_0x34aa56['set'](_0x526e5f,new Map());const _0x4d0dc6=_0x34aa56[_0x344044(0x1b1)](_0x526e5f);_0x4d0dc6['has'](_0x1b81ac)||_0x4d0dc6['set'](_0x1b81ac,new _0x32cebd[(_0x344044(0x1d6))]()),_0x4d0dc6['get'](_0x1b81ac)[_0x344044(0x1df)](_0x4bda0a[_0x344044(0x1ba)],_0x4bda0a['refOffsetY'],_0x4bda0a[_0x344044(0x1f3)]);}[_0x480329(0x1b8)](_0x36f0c0,_0x2e3750,_0x2dbe8d){const _0x3fe07d=_0x480329,_0x115bf0=this['_otherFormulaData'][_0x3fe07d(0x1b1)](_0x36f0c0);if(_0x115bf0&&_0x115bf0[_0x3fe07d(0x198)](_0x2e3750)){const _0x4c21bb=_0x115bf0[_0x3fe07d(0x1b1)](_0x2e3750);_0x2dbe8d[_0x3fe07d(0x17e)](_0x3d5cb5=>{const _0x5769c1=_0x3fe07d,_0x555831=_0x4c21bb['get'](_0x3d5cb5);_0x555831!=null&&(_0x555831['forValue']((_0x288181,_0x29be17,_0x1b846c)=>{const _0x2cf991=_0x47e7;this[_0x2cf991(0x1e5)](_0x1b846c),this[_0x2cf991(0x1a7)](_0x1b846c);}),_0x4c21bb[_0x5769c1(0x149)](_0x3d5cb5),this[_0x5769c1(0x186)][_0x5769c1(0x149)](_0x3d5cb5));}),_0x4c21bb[_0x3fe07d(0x1f2)]===0x0&&_0x115bf0['delete'](_0x2e3750),_0x115bf0[_0x3fe07d(0x1f2)]===0x0&&this[_0x3fe07d(0x171)][_0x3fe07d(0x149)](_0x36f0c0);}}['clearOtherFormulaDependency'](_0xca022d,_0x5badca){const _0x369b15=_0x480329,_0x5a2320=this[_0x369b15(0x171)]['get'](_0xca022d);if(_0x5badca&&_0x5a2320&&_0x5a2320[_0x369b15(0x198)](_0x5badca)){const _0x45bc6c=_0x5a2320['get'](_0x5badca);this[_0x369b15(0x152)](_0xca022d,_0x5badca);for(const _0x4012fd of _0x45bc6c[_0x369b15(0x1f8)]()){const _0x2ef2f4=_0x45bc6c[_0x369b15(0x1b1)](_0x4012fd);_0x2ef2f4!=null&&(_0x2ef2f4['forValue']((_0x40c075,_0x31281b,_0xce3c8f)=>{const _0xc9dfc3=_0x369b15;this[_0xc9dfc3(0x166)][_0xc9dfc3(0x1b1)](_0xce3c8f)&&this[_0xc9dfc3(0x1a7)](_0xce3c8f);}),this[_0x369b15(0x186)][_0x369b15(0x149)](_0x4012fd));}_0x45bc6c[_0x369b15(0x1ac)]();}else{if(_0x5a2320){for(const _0x3ed049 of _0x5a2320['keys']()){const _0x4f474e=_0x5a2320[_0x369b15(0x1b1)](_0x3ed049);this[_0x369b15(0x152)](_0xca022d,_0x3ed049);for(const _0x25e711 of _0x4f474e['keys']()){const _0x44d340=_0x4f474e[_0x369b15(0x1b1)](_0x25e711);_0x44d340!=null&&(_0x44d340['forValue']((_0x2deddb,_0x50dfcc,_0x45ab91)=>{const _0xe3f5d9=_0x369b15;this[_0xe3f5d9(0x166)][_0xe3f5d9(0x1b1)](_0x45ab91)&&this[_0xe3f5d9(0x1a7)](_0x45ab91);}),this[_0x369b15(0x186)][_0x369b15(0x149)](_0x25e711));}}this[_0x369b15(0x171)][_0x369b15(0x149)](_0xca022d);}}}['addFeatureFormulaDependency'](_0x47fb89,_0x5f0177,_0x4b1633,_0x495898){const _0x163978=_0x480329;this[_0x163978(0x1e2)][_0x163978(0x198)](_0x47fb89)||this[_0x163978(0x1e2)][_0x163978(0x1a1)](_0x47fb89,new Map());const _0xcae42=this[_0x163978(0x1e2)][_0x163978(0x1b1)](_0x47fb89);_0xcae42['has'](_0x5f0177)||_0xcae42[_0x163978(0x1a1)](_0x5f0177,new Map()),_0xcae42['get'](_0x5f0177)[_0x163978(0x1a1)](_0x4b1633,_0x495898[_0x163978(0x1f3)]);}[_0x480329(0x15a)](_0x3078b3,_0x28449d,_0x3398ea){const _0x172572=_0x480329,_0x4df9d9=this[_0x172572(0x1e2)][_0x172572(0x1b1)](_0x3078b3);if(_0x4df9d9&&_0x4df9d9[_0x172572(0x198)](_0x28449d)){const _0x220df0=_0x4df9d9[_0x172572(0x1b1)](_0x28449d);_0x3398ea['forEach'](_0x1811e1=>{const _0x358194=_0x172572,_0x21e752=_0x220df0[_0x358194(0x1b1)](_0x1811e1);_0x21e752!=null&&(this[_0x358194(0x1e5)](_0x21e752),_0x220df0['delete'](_0x1811e1),this[_0x358194(0x1a7)](_0x21e752));});}}['clearFeatureFormulaDependency'](_0x3e4803,_0x255d8a){const _0x1475d9=_0x480329,_0x17d8dc=this[_0x1475d9(0x1e2)]['get'](_0x3e4803);if(_0x255d8a&&_0x17d8dc&&_0x17d8dc[_0x1475d9(0x198)](_0x255d8a)){const _0xa56667=_0x17d8dc[_0x1475d9(0x1b1)](_0x255d8a);this[_0x1475d9(0x152)](_0x3e4803,_0x255d8a),_0xa56667[_0x1475d9(0x17e)](_0x1eb9cc=>{_0x1eb9cc!=null&&this['_removeAllTreeMap'](_0x1eb9cc);}),_0xa56667['clear']();}else _0x17d8dc&&(_0x17d8dc[_0x1475d9(0x17e)]((_0x324ec5,_0x2868e4)=>{const _0x1730aa=_0x1475d9;this[_0x1730aa(0x152)](_0x3e4803,_0x2868e4),_0x324ec5[_0x1730aa(0x17e)](_0x50d225=>{const _0x4f48cc=_0x1730aa;_0x50d225!=null&&this[_0x4f48cc(0x1a7)](_0x50d225);});}),this[_0x1475d9(0x1e2)]['delete'](_0x3e4803));}[_0x480329(0x1a4)](_0x5d6b35,_0x58b151,_0xcc3999,_0x37ecab,_0x46f93c){const _0x3daa30=_0x480329;this['_formulaData']['has'](_0x5d6b35)||this[_0x3daa30(0x1a9)][_0x3daa30(0x1a1)](_0x5d6b35,new Map());const _0x3adcdc=this[_0x3daa30(0x1a9)]['get'](_0x5d6b35);_0x3adcdc[_0x3daa30(0x198)](_0x58b151)||_0x3adcdc['set'](_0x58b151,new _0x32cebd[(_0x3daa30(0x1d6))]()),_0x3adcdc[_0x3daa30(0x1b1)](_0x58b151)[_0x3daa30(0x1df)](_0xcc3999,_0x37ecab,_0x46f93c[_0x3daa30(0x1f3)]);}[_0x480329(0x150)](_0x4e0fba,_0x937449,_0x3e3b16,_0x1727cf){const _0x58208b=_0x480329,_0x342a9b=this['_formulaData'][_0x58208b(0x1b1)](_0x4e0fba);if(_0x342a9b&&_0x342a9b['has'](_0x937449)){const _0x5d19bc=_0x342a9b[_0x58208b(0x1b1)](_0x937449),_0x128663=_0x5d19bc[_0x58208b(0x1b0)](_0x3e3b16,_0x1727cf);if(_0x128663==null)return;this['_removeDependencyRTreeCache'](_0x128663),_0x5d19bc[_0x58208b(0x17c)](_0x3e3b16,_0x1727cf),this['_removeAllTreeMap'](_0x128663);}}[_0x480329(0x19c)](_0x5052dc,_0x58d4d0){const _0x59c2ea=_0x480329,_0x53d9f2=this[_0x59c2ea(0x1a9)][_0x59c2ea(0x1b1)](_0x5052dc);if(_0x58d4d0&&_0x53d9f2&&_0x53d9f2[_0x59c2ea(0x198)](_0x58d4d0)){const _0x13b67a=_0x53d9f2[_0x59c2ea(0x1b1)](_0x58d4d0);this[_0x59c2ea(0x152)](_0x5052dc,_0x58d4d0),_0x13b67a[_0x59c2ea(0x1e4)]((_0x298673,_0x2d9f3a,_0x4f5af7)=>{const _0x38fc09=_0x59c2ea;if(_0x4f5af7==null)return!0x0;this[_0x38fc09(0x1a7)](_0x4f5af7);}),_0x13b67a['reset']();}else _0x53d9f2&&(_0x53d9f2[_0x59c2ea(0x17e)]((_0x5d6e83,_0x599488)=>{const _0x1a6fdb=_0x59c2ea;this[_0x1a6fdb(0x152)](_0x5052dc,_0x599488),_0x5d6e83[_0x1a6fdb(0x1e4)]((_0xeab1b6,_0x589a4f,_0x58b971)=>{const _0x17c94e=_0x1a6fdb;if(_0x58b971==null)return!0x0;this[_0x17c94e(0x1a7)](_0x58b971);});}),this['_formulaData'][_0x59c2ea(0x149)](_0x5052dc));}[_0x480329(0x1e5)](_0x30c53e){const _0x29cefc=_0x480329;if(_0x30c53e==null)return;const _0x53d9fc=this[_0x29cefc(0x166)]['get'](_0x30c53e);if(_0x53d9fc){const _0x915bd2=[];for(const [_0x217b5,_0x29dbe1]of _0x53d9fc)for(const [_0x337499,_0x4c27be]of _0x29dbe1)_0x915bd2['push']({'unitId':_0x217b5,'sheetId':_0x337499,'range':_0x4c27be,'id':_0x30c53e});this['_dependencyRTreeCache'][_0x29cefc(0x1f7)](_0x915bd2);}}[_0x480329(0x17d)](_0x3a246e,_0x52cc59){const _0x200d82=_0x480329,_0x1b9686=this['_definedNameMap'][_0x200d82(0x1b1)](_0x3a246e);if(_0x1b9686){const _0x40fab1=_0x1b9686[_0x200d82(0x1b1)](_0x52cc59);if(_0x40fab1){for(const _0x58cd17 of _0x40fab1)this['_removeDependencyRTreeCache'](_0x58cd17),this[_0x200d82(0x1a7)](_0x58cd17);_0x40fab1[_0x200d82(0x1ac)]();}}}[_0x480329(0x1de)](){const _0x5389c8=_0x480329;this['_dependencyRTreeCache'][_0x5389c8(0x1de)]();}[_0x480329(0x147)](){const _0x453949=_0x480329;this[_0x453949(0x1f5)][_0x453949(0x147)]();}[_0x480329(0x1a7)](_0x4b0308){const _0x5bbc75=_0x480329;_0x4b0308!=null&&this[_0x5bbc75(0x166)][_0x5bbc75(0x149)](_0x4b0308);}['_addAllTreeMap'](_0x441fc2){const _0x11a8a2=_0x480329;var _0x376e0d,_0x35ab1b;const _0xfcac71=_0x441fc2[_0x11a8a2(0x1e7)];let _0xe2f71e=this[_0x11a8a2(0x166)][_0x11a8a2(0x1b1)](_0x441fc2[_0x11a8a2(0x1f3)]);for(let _0x1bf75a=0x0;_0x1bf75a<_0xfcac71[_0x11a8a2(0x1da)];_0x1bf75a++){const _0xef4edc=_0xfcac71[_0x1bf75a];let {unitId:_0x1206c0,sheetId:_0x38adf7,range:_0x34834b}=_0xef4edc;_0xe2f71e||(_0xe2f71e=new Map(),this['_allTreeMap'][_0x11a8a2(0x1a1)](_0x441fc2[_0x11a8a2(0x1f3)],_0xe2f71e)),_0xe2f71e['has'](_0x1206c0)||_0xe2f71e['set'](_0x1206c0,new Map());const _0x487243=(_0x376e0d=_0xe2f71e==null?void 0x0:_0xe2f71e[_0x11a8a2(0x1b1)](_0x1206c0))==null?void 0x0:_0x376e0d[_0x11a8a2(0x1b1)](_0x38adf7);_0x487243&&(_0x34834b={'startRow':Math['min'](_0x34834b['startRow'],_0x487243[_0x11a8a2(0x15b)]),'startColumn':Math[_0x11a8a2(0x191)](_0x34834b['startColumn'],_0x487243[_0x11a8a2(0x18b)]),'endRow':Math[_0x11a8a2(0x196)](_0x34834b[_0x11a8a2(0x1d7)],_0x487243[_0x11a8a2(0x1d7)]),'endColumn':Math[_0x11a8a2(0x196)](_0x34834b[_0x11a8a2(0x173)],_0x487243[_0x11a8a2(0x173)])}),(_0x35ab1b=_0xe2f71e[_0x11a8a2(0x1b1)](_0x1206c0))==null||_0x35ab1b[_0x11a8a2(0x1a1)](_0x38adf7,_0x34834b);}}}var _0x45372a=Object[_0x480329(0x19e)],_0xf41ff0=(_0x369e68,_0x2faeca,_0x258a17,_0x2e5550)=>{for(var _0x167b63=_0x2e5550>0x1?void 0x0:_0x2e5550?_0x45372a(_0x2faeca,_0x258a17):_0x2faeca,_0x3fb341=_0x369e68['length']-0x1,_0x4db67e;_0x3fb341>=0x0;_0x3fb341--)(_0x4db67e=_0x369e68[_0x3fb341])&&(_0x167b63=_0x4db67e(_0x167b63)||_0x167b63);return _0x167b63;};const _0x5f29a5=Number[_0x480329(0x1e0)](0x68c51356);_0x137048[_0x480329(0x1ab)]=class extends _0x32db02[_0x480329(0x18d)]{[_0x480329(0x16d)](){const _0x1b2961=_0x480329;var _0x10dd32,_0x368f78;this[_0x1b2961(0x19d)]()?(_0x10dd32=this[_0x1b2961(0x18a)])!=null&&_0x10dd32['notExecuteFormula']||[[_0x32db02[_0x1b2961(0x1a5)],{'useClass':_0x4036fc}],[_0x32db02[_0x1b2961(0x18c)],{'useClass':_0x2e69ce}],[_0x32db02['IFormulaDependencyGenerator'],{'useClass':_0x3fbfb7}]][_0x1b2961(0x17e)](_0x5b377a=>this[_0x1b2961(0x1fa)]['add'](_0x5b377a)):(_0x368f78=this[_0x1b2961(0x18a)])!=null&&_0x368f78[_0x1b2961(0x1b3)]||[[_0x32db02[_0x1b2961(0x1a5)],{'useClass':_0x32db02[_0x1b2961(0x189)]}],[_0x32db02[_0x1b2961(0x18c)],{'useClass':_0x32db02[_0x1b2961(0x1d0)]}],[_0x32db02[_0x1b2961(0x1cd)],{'useClass':_0x32db02[_0x1b2961(0x1be)]}]]['forEach'](_0x4697f3=>this[_0x1b2961(0x1fa)][_0x1b2961(0x190)](_0x4697f3));}[_0x480329(0x19d)](){const _0x39e801=_0x480329;var _0xf9658;const _0x44e41b=(_0xf9658=this['_configService']['getConfig'](_0x473166[_0x39e801(0x18f)]))!=null?_0xf9658:{},{ls:_0x55d085,pbk:_0x333479}=_0x44e41b;if(!_0x55d085||!_0x333479)return!0x1;const _0x1b18ad=_0x473166[_0x39e801(0x16a)](_0x36e132,_0x5510ec),_0x1adf1c=new Function(_0x39e801(0x1a3)+_0x1b18ad)()(_0x55d085,_0x333479),_0x316e80=_0x1adf1c[_0x39e801(0x185)];return _0x1adf1c[_0x39e801(0x1b4)]&&_0x473166['isFeatureAuthorizedWithinTime'](_0x316e80,'sf',_0x5f29a5)?_0x473166['getSheetFeatureLimit'](_0x316e80,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x137048['UniverProFormulaEnginePlugin']=_0xf41ff0([_0x32cebd['DependentOn'](_0x473166[_0x480329(0x1d8)])],_0x137048[_0x480329(0x1ab)]),Object[_0x480329(0x1f8)](_0x32db02)[_0x480329(0x17e)](_0x14aa0e=>{const _0x53542c=_0x480329;_0x14aa0e!==_0x53542c(0x1ea)&&!Object[_0x53542c(0x1e1)]['hasOwnProperty'][_0x53542c(0x154)](_0x137048,_0x14aa0e)&&Object[_0x53542c(0x1dd)](_0x137048,_0x14aa0e,{'enumerable':!0x0,'get':()=>_0x32db02[_0x14aa0e]});}),Object['defineProperty'](_0x137048,Symbol[_0x480329(0x161)],{'value':'Module'});}));function _0x42ee(){const _0x17b99c=['toRTreeItem','call','isForceCalculate','_isCyclicUtilMap','execute','START_DEPENDENCY','_executionInProgressListener$','removeFeatureFormulaDependency','startRow','_updateRangeFlatten','getRuntimeState','isSkip','clearOtherFormulaDependency','FormulaDependencyTree','toStringTag','requestImmediateMacroTask','_dependencyRTreeCacheForAddressFunction','108693eygrUE','bulkSearch','_allTreeMap','UniverCore','OTHER_FORMULA','_convertDirtyRangesToUnitRange','unshiftString','markedAsNoFunctionsExecuted','START_CALCULATION_ARRAY_FORMULA','_initializeWithOverride','_apply','setTotalArrayFormulasToCalculate','UniverEngineFormula','_otherFormulaData','clearFeatureFormulaDependency','endColumn','getConfig','_interpreter','FormulaExecuteStageType','START_CALCULATION','setCompletedFormulasCount','@univerjs/engine-formula','_createFDtree','setRuntimeFeatureCellData','realDeleteValue','removeFormulaDependencyByDefinedName','forEach','UniverProEngineFormula','_getTreeById','getClearDependencyTreeCache','_executionCompleteListener$','getOtherFormulaDependency','isCache','message','_otherFormulaDataMainData','11lqnauI','getFeatureFormulaDependency','CalculateFormulaService','_config','startColumn','IDependencyManagerService','UniverFormulaEnginePlugin','symbol','LS_CONFIG_KEY','add','min','push','hasOtherFormulaDataMainData','DEFAULT_INTERVAL_COUNT','_dependencyManagerService','max','Cerltaor\x202hlcfntaor(Galhrdh,\x20ne6Galihf)\x20{\x20\x20\x20\x20tcf\x20{\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20GalhrdhErCoVuctLccuf\x20=\x20Galhrdh.dnGat(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20ocaDarshdduDh\x20=\x207pNm.nucdh(uto6(GalhrdhErCoVuctLccuf[k]));\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!ocaDarshdduDh.e2)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocaDarshdduDh.e2\x20=\x20meK6hc(GalhrdhErCoVuctLccuf[F]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20adAocJhc\x20=\x20tfnhoC\x20AocJhcxGo6uGplonh\x20!==\x20\x27er2hCarh2\x27\x20&&\x20dhGC\x20ardturlhoC\x20AocJhcxGo6uGplonh;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20lorthWt\x20=\x20adAocJhc\x20?\x20dhGC\x20:\x20Har2oH;\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDhAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[k]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20KhdduDh\x20=\x20lorthWt.__1hW__.dtcarDaCf(KhdduDhAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutechAoc2\x20=\x20lorthWt.__TudhMF__.nucdh(GalhrdhErCoVuctLccuf[z]);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDrutech\x20=\x20lorthWt.__1hW__.dtcarDaCf(daDrutechAoc2);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20daDr4uGa2\x20=\x20lorthWt.__8hcaCf__(daDrutech,\x20KhdduDh,\x20ne6Galihf);\x20\x20\x20\x20\x20\x20\x20\x20lordt\x202oKuar\x20=\x20ocaDarshdduDh.2K;\x20\x20\x20\x20\x20\x20\x20\x20Cerltaor\x20adXoKuarsutl9arD(oVutthcr,\x20o1odt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcr\x20=\x20oVutthcr.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odt\x20=\x20o1odt.chnGulh(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrVuctd\x20=\x20nutthcr.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtVuctd\x20=\x209odt.dnGat(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(!nutthcr.arlGe2hd(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcr\x20===\x209odt;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(nutthcrVuctd.GhrDt9\x20<\x20k\x20||\x20nutthcrVuctd[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20CuGdh;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x20nutthcrpeCCaW\x20=\x20nutthcrVuctd.dGalh(w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lordt\x209odtpeCCaW\x20=\x209odtVuctd.dGalh(-nutthcrVuctd.GhrDt9\x20+\x20w).boar(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20nutthcrpeCCaW\x20===\x209odtpeCCaW;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Ght\x202oKuar4uGa2\x20=\x20(2oKuar\x20&&\x202oKuar.GhrDt9)\x20?\x202oKuar.doKh((2KEthK)\x20=>\x20adXoKuarsutl9arD(2KEthK,\x20Golutaor.9odtruKh))\x20:\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20aC\x20(Golutaor.9odtruKh\x20===\x20\x27GoluG9odt\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202oKuar4uGa2\x20=\x20tceh;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20lordt\x208uGa2\x20=\x20daDr4uGa2\x20&&\x202oKuar4uGa2;\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20ocaDarshdduDh,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20lutl9\x20(hccoc)\x20{\x20\x20\x20\x20\x20\x20\x20\x20chtecr\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208uGa2:\x20CuGdh,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20KhdduDh:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','has','FormulaDependencyTreeType','_dependencyTreeCache','18JklXaL','clearFormulaDependency','_initLicenseValid','getOwnPropertyDescriptor','_otherFormulaManagerService','dirtyRanges','set','_getFeatureFormulaTree','return\x20','addFormulaDependency','ICalculateFormulaService','UniverProLicense','_removeAllTreeMap','isStopExecution','_formulaData','@univerjs-pro/license','UniverProFormulaEnginePlugin','clear','executeAsync','CURRENTLY_CALCULATING_ARRAY_FORMULA','setRuntimeData','getValue','get','refOffsetY','notExecuteFormula','valid','isExcludeRange','pop','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','removeOtherFormulaDependency','resolve','refOffsetX','searchDependency','type','next','FormulaDependencyGenerator','setRuntimeFeatureRange','getFormulaData','isAdded','formula','featureDirtyRanges','getDirtyData','START_DEPENDENCY_ARRAY_FORMULA','setFormulaExecuteStage','getDirtyRanges','addOtherFormulaDependency','rowCount','_currentConfigService','34XEuGWY','generate','IFormulaDependencyGenerator','1318884BHuISY','refTree','DependencyManagerService','addFeatureFormulaDependency','generateRandomDependencyTreeId','_traverse','FormulaDependencyTreeVirtual','subUnitId','ObjectMatrix','endRow','UniverLicensePlugin','featureId','length','setSkip','markedAsSuccessfullyExecuted','defineProperty','openKdTree','setValue','parseInt','prototype','_featureFormulaData','472aZamnq','forValue','_removeDependencyRTreeCache','setTotalFormulasToCalculate','rangeList','1313862VlMvAk','getOtherFormulaData','default','_calculateRunList','column','addFormulaDependencyByDefinedName','unitId','_getTreeNode','enableCycleDependency','_lexer','size','treeId','markedAsStopFunctionsExecuted','_dependencyRTreeCache','ParentDependencyTree\x20object\x20is\x20null','bulkRemove','keys','FEATURE_FORMULA','_injector','1632028YabsQr','@univerjs/core','row','_checkIsCycleDependency','_getFirstCellOfRange','_astTreeBuilder','21323REyOtE','getAllRuntimeData','formulaId','_configService','2018650JAIUNn','closeKdTree','_createVirtualFDtree','delete','intervalCount','IDLE','_getUpdateTreeListAndMakeDependency','25140200GibfGn','_runtimeService','_restDependencyTreeId','removeFormulaDependency','object','_removeDependencyRTreeCacheById'];_0x42ee=function(){return _0x17b99c;};return _0x42ee();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.10.7-nightly.202509130618",
3
+ "version": "0.10.7-nightly.202509130640",
4
4
  "private": false,
5
5
  "description": "UniverSheet pro base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,9 +57,9 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/license": "0.10.7-nightly.202509130618",
61
- "@univerjs/core": "0.10.7-nightly.202509130618",
62
- "@univerjs/engine-formula": "0.10.7-nightly.202509130618"
60
+ "@univerjs/core": "0.10.7-nightly.202509130640",
61
+ "@univerjs/engine-formula": "0.10.7-nightly.202509130640",
62
+ "@univerjs-pro/license": "0.10.7-nightly.202509130640"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",