@univerjs-pro/engine-formula 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511080715

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 _0xcc8bd=_0x12aa;(function(_0x21e6c8,_0x255dd9){const _0x193682=_0x12aa,_0xcdce47=_0x21e6c8();while(!![]){try{const _0x370f32=parseInt(_0x193682(0x8c))/0x1+-parseInt(_0x193682(0x89))/0x2+parseInt(_0x193682(0x8d))/0x3*(parseInt(_0x193682(0x93))/0x4)+parseInt(_0x193682(0x92))/0x5*(-parseInt(_0x193682(0x8f))/0x6)+-parseInt(_0x193682(0x84))/0x7+parseInt(_0x193682(0x8b))/0x8+parseInt(_0x193682(0x91))/0x9*(-parseInt(_0x193682(0x85))/0xa);if(_0x370f32===_0x255dd9)break;else _0xcdce47['push'](_0xcdce47['shift']());}catch(_0x576b1b){_0xcdce47['push'](_0xcdce47['shift']());}}}(_0x37c4,0x9be2b));function _0x37c4(){const _0x1bd324=['45511HyDhnP','292254kNaflr','default','6DqdmtW','call','637434HUFEZU','199375sqJLPC','40KlNkrR','hasOwnProperty','defineProperty','3040583MWEciU','20VOPTrt','keys','forEach','prototype','1502944ZDzHDQ','Module','7889472qQzQym'];_0x37c4=function(){return _0x1bd324;};return _0x37c4();}Object[_0xcc8bd(0x95)](exports,Symbol['toStringTag'],{'value':_0xcc8bd(0x8a)});const t=require('@univerjs/engine-formula/facade');function _0x12aa(_0xf0f75e,_0x158fa5){const _0x37c4e9=_0x37c4();return _0x12aa=function(_0x12aad2,_0x26079a){_0x12aad2=_0x12aad2-0x84;let _0x1aa5dc=_0x37c4e9[_0x12aad2];return _0x1aa5dc;},_0x12aa(_0xf0f75e,_0x158fa5);}Object[_0xcc8bd(0x86)](t)[_0xcc8bd(0x87)](_0x190f9b=>{const _0x4c92f5=_0xcc8bd;_0x190f9b!==_0x4c92f5(0x8e)&&!Object[_0x4c92f5(0x88)][_0x4c92f5(0x94)][_0x4c92f5(0x90)](exports,_0x190f9b)&&Object[_0x4c92f5(0x95)](exports,_0x190f9b,{'enumerable':!0x0,'get':()=>t[_0x190f9b]});});
1
+ 'use strict';const _0x118058=_0x4efa;function _0x4efa(_0x3c307a,_0x3d27d3){const _0x2eee1e=_0x2eee();return _0x4efa=function(_0x4efa29,_0xaaaeff){_0x4efa29=_0x4efa29-0x6f;let _0x493080=_0x2eee1e[_0x4efa29];return _0x493080;},_0x4efa(_0x3c307a,_0x3d27d3);}(function(_0x47031f,_0x6ec4ad){const _0x5c3992=_0x4efa,_0x327b5c=_0x47031f();while(!![]){try{const _0x2bf3c9=parseInt(_0x5c3992(0x7e))/0x1+parseInt(_0x5c3992(0x75))/0x2*(-parseInt(_0x5c3992(0x7d))/0x3)+parseInt(_0x5c3992(0x7f))/0x4+parseInt(_0x5c3992(0x7a))/0x5*(-parseInt(_0x5c3992(0x7c))/0x6)+parseInt(_0x5c3992(0x6f))/0x7*(parseInt(_0x5c3992(0x7b))/0x8)+parseInt(_0x5c3992(0x76))/0x9+-parseInt(_0x5c3992(0x77))/0xa;if(_0x2bf3c9===_0x6ec4ad)break;else _0x327b5c['push'](_0x327b5c['shift']());}catch(_0x1ff56d){_0x327b5c['push'](_0x327b5c['shift']());}}}(_0x2eee,0xb683d));function _0x2eee(){const _0x5adc98=['4301640YBfcZa','7alXfZj','hasOwnProperty','Module','forEach','keys','prototype','2fPJSDr','785799oiOOja','9969340WasBzQ','default','defineProperty','458540cfeuGh','881224PumVIM','12azeRlu','1429053zzwXuw','1131408uaohhr'];_0x2eee=function(){return _0x5adc98;};return _0x2eee();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x118058(0x71)});const t=require('@univerjs/engine-formula/facade');Object[_0x118058(0x73)](t)[_0x118058(0x72)](_0x46a48e=>{const _0x23609c=_0x118058;_0x46a48e!==_0x23609c(0x78)&&!Object[_0x23609c(0x74)][_0x23609c(0x70)]['call'](exports,_0x46a48e)&&Object[_0x23609c(0x79)](exports,_0x46a48e,{'enumerable':!0x0,'get':()=>t[_0x46a48e]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x389298=_0x32f0;(function(_0x2f46bb,_0xcb39f9){const _0x37226f=_0x32f0,_0x9f339d=_0x2f46bb();while(!![]){try{const _0x5dbc34=-parseInt(_0x37226f(0x100))/0x1*(parseInt(_0x37226f(0x114))/0x2)+-parseInt(_0x37226f(0x133))/0x3+-parseInt(_0x37226f(0x118))/0x4+-parseInt(_0x37226f(0xf6))/0x5+parseInt(_0x37226f(0x19a))/0x6*(parseInt(_0x37226f(0x132))/0x7)+-parseInt(_0x37226f(0x16c))/0x8*(parseInt(_0x37226f(0x18b))/0x9)+-parseInt(_0x37226f(0x196))/0xa*(-parseInt(_0x37226f(0x17a))/0xb);if(_0x5dbc34===_0xcb39f9)break;else _0x9f339d['push'](_0x9f339d['shift']());}catch(_0x529c94){_0x9f339d['push'](_0x9f339d['shift']());}}}(_0x1d8f,0xe583c));var N=Object[_0x389298(0x110)],z=(_0x4f3597,_0x23c465,_0x13fa40)=>_0x23c465 in _0x4f3597?N(_0x4f3597,_0x23c465,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13fa40}):_0x4f3597[_0x23c465]=_0x13fa40,S=(_0x10191a,_0x3ec1d1,_0x1b37af)=>z(_0x10191a,typeof _0x3ec1d1!=_0x389298(0x13b)?_0x3ec1d1+'':_0x3ec1d1,_0x1b37af);function _0x1d8f(){const _0x3f74df=['isForceCalculate','_getFirstCellOfRange','unshiftString','addFeatureFormulaDependency','bulkSearch','addFormulaDependency','DependencyManagerBaseService','closeKdTree','refTree','openKdTree','setSkip','setCompletedFormulasCount','isVirtual','has','_getTreeById','_executionInProgressListener$','Module','set','endColumn','setValue','getRuntimeState','min','featureId','subUnitId','ParentDependencyTree\x20object\x20is\x20null','startRow','START_DEPENDENCY','_removeDependencyRTreeCache','length','removeFeatureFormulaDependency','treeId','FormulaDependencyTree','reset','_calculateRunList','isFeatureAuthorizedWithinTime','_createVirtualFDtree','getDirtyData','getFeatureFormulaDependency','execute','add','toStringTag','parseInt','ObjectMatrix','1408AQbXJQ','markedAsSuccessfullyExecuted','next','setTotalArrayFormulasToCalculate','getSheetFeatureLimit','DependentOn','keys','FormulaDependencyTreeVirtual','_featureFormulaData','_astTreeBuilder','getOwnPropertyDescriptor','_otherFormulaDataMainData','FEATURE_FORMULA','_registerFormulas','1331xaCLmv','_initializeWithOverride','executeAsync','push','_executionCompleteListener$','CalculateFormulaService','isSkip','setTotalFormulasToCalculate','toRTreeItem','IDependencyManagerService','getExcludedRange','addOtherFormulaDependencyMainData','_convertDirtyRangesToUnitRange','isAdded','_generateTreeList','_otherFormulaManagerService','rowCount','49482gNttgu','ICalculateFormulaService','_otherFormulaData','_dependencyTreeCache','getUnitData','addOtherFormulaDependency','FormulaDependencyGenerator','refOffsetX','getValue','prototype','setRuntimeData','405730CfSwyb','getAllRuntimeData','_definedNameMap','delete','6vVhIKi','unitId','generate','_allTreeMap','_restDependencyTreeId','FormulaExecuteStageType','clear','return\x20','markedAsStopFunctionsExecuted','default','FormulaDependencyTreeType','setRuntimeFeatureRange','size','realDeleteValue','IFormulaDependencyGenerator','clearFormulaDependency','_apply','isStopExecution','getOtherFormulaData','enableCycleDependency','_formulaData','removeOtherFormulaDependency','941875eQcPVi','_checkIsCycleDependency','startColumn','getFormulaDependency','formula','get','UniverFormulaEnginePlugin','row','_getTreeNode','_currentConfigService','4dxrMbj','_interpreter','rangeList','column','_initLicenseValid','5EuWUopu\x206gWIDPUopu(CoWgubg,\x20PEKCoWlgD)\x20{\x20\x20\x20\x20UID\x20{\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20CoWgubgnu5p42IUsII2D\x20=\x20CoWgubg.bPCoU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20pIozoutgbb2zg\x20=\x20q9Xf.P2Ibg(2UpK(CoWgubgnu5p42IUsII2D[A]));\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!pIozoutgbb2zg.E6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pIozoutgbb2zg.E6\x20=\x20fE7KgI(CoWgubgnu5p42IUsII2D[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20obLpIagI\x20=\x20UDPgp5\x20LpIagIGCpK2C9WpPg\x20!==\x20\x27Eu6g5oug6\x27\x20&&\x20bgC5\x20oubU2uWgp5\x20LpIagIGCpK2C9WpPg;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20WpuUgyU\x20=\x20obLpIagI\x20?\x20bgC5\x20:\x20kou6pk;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[A]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(7gbb2zgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[x]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(bozu2UEIgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozur2Co6\x20=\x20WpuUgyU.__NgIo5D__(bozu2UEIg,\x207gbb2zg,\x20PEKCoWlgD);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x206p72ou\x20=\x20pIozoutgbb2zg.67;\x20\x20\x20\x20\x20\x20\x20\x205EuWUopu\x20obBp72out2UWJouz(p42UUgIu,\x20pcpbU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu\x20=\x20p42UUgIu.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU\x20=\x20pcpbU.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu42IUb\x20=\x20P2UUgIu.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU42IUb\x20=\x20JpbU.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!P2UUgIu.ouWCE6gb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu\x20===\x20JpbU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(P2UUgIu42IUb.CguzUJ\x20<\x20A\x20||\x20P2UUgIu42IUb[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x2052Cbg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu9E55oy\x20=\x20P2UUgIu42IUb.bCoWg(T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU9E55oy\x20=\x20JpbU42IUb.bCoWg(-P2UUgIu42IUb.CguzUJ\x20+\x20T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu9E55oy\x20===\x20JpbU9E55oy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20CgU\x206p72our2Co6\x20=\x20(6p72ou\x20&&\x206p72ou.CguzUJ)\x20?\x206p72ou.bp7g((67nUg7)\x20=>\x20obBp72out2UWJouz(67nUg7,\x20CpW2Uopu.JpbUu27g))\x20:\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(CpW2Uopu.JpbUu27g\x20===\x20\x27CpW2CJpbU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206p72our2Co6\x20=\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20N2Co6\x20=\x20bozur2Co6\x20&&\x206p72our2Co6;\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20pIozoutgbb2zg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20W2UWJ\x20(gIIpI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6:\x2052Cbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_dependencyManagerService','setAdded','_injector','forValue','max','formulaId','_dependencyRTreeCacheForAddressFunction','getDirtyRanges','setFormulaExecuteStage','hasOwnProperty','defineProperty','getFormulaData','generateAstNode','_dependencyRTreeCache','747892FhEjBM','_registerOtherFormulas','_traverse','dirtyRanges','2899164wBfNLT','getClearDependencyTreeCache','_getUpdateTreeListAndMakeDependency','CURRENTLY_CALCULATING','getOtherFormulaDependency','_createFDtree','_config','_removeAllTreeMap','_runtimeService','generateRandomDependencyTreeId','removeFormulaDependency','_removeDependencyRTreeCacheById','_lexer','getConfig','START_DEPENDENCY_ARRAY_FORMULA','refOffsetY','clearOtherFormulaDependency','hasOtherFormulaDataMainData','isDirty','IDLE','notExecuteFormula','UniverProFormulaEnginePlugin','forEach','OTHER_FORMULA','_configService','endRow','6784295SKcuRP','4685484hqrEfm','searchDependency','clearFeatureFormulaDependency','isExcludeRange','intervalCount','pop','DependencyManagerService','isCache','symbol','dispose','setCompletedArrayFormulasCount','addFormulaDependencyByDefinedName','type','columnCount'];_0x1d8f=function(){return _0x3f74df;};return _0x1d8f();}Object['defineProperty'](exports,Symbol[_0x389298(0x169)],{'value':_0x389298(0x151)});const I=require('@univerjs-pro/license'),v=require('@univerjs/core'),l=require('@univerjs/engine-formula'),k={0x0:'Z',0x1:'z',0x2:'a',0x3:'Y',0x4:'P',0x5:'f',0x6:'d',0x7:'m',0x8:'U',0x9:'S','h':'0','T':'1','A':'2','x':'3','i':'4','v':'5','M':'6','w':'7','H':'8','Y':'9','K':'b','W':'c','g':'e','z':'g','J':'h','o':'i','e':'j','a':'k','C':'l','u':'n','p':'o','P':'p','O':'q','I':'r','b':'s','U':'t','E':'u','N':'v','k':'w','y':'x','D':'y','s':'A','m':'B','Z':'C','B':'D','S':'E','V':'F','G':'G','c':'H','n':'I','q':'J','l':'K','R':'L','t':'M','f':'N','X':'O','j':'Q','Q':'R','F':'T','r':'V','L':'W','d':'X'},B=_0x389298(0x105);class V extends l[_0x389298(0x191)]{constructor(){const _0x322711=_0x389298;super(...arguments),S(this,_0x322711(0x18e),new Map());}['dispose'](){const _0x2a35a7=_0x389298;super[_0x2a35a7(0x13c)](),this[_0x2a35a7(0x18e)]['clear']();}async[_0x389298(0x19c)](){const _0x420125=_0x389298;this['_updateRangeFlatten']();const _0x42eeb2=this[_0x420125(0xff)][_0x420125(0x111)](),_0x55729e=this[_0x420125(0x189)][_0x420125(0xf2)](),_0x464e87=this[_0x420125(0xff)][_0x420125(0x119)]();_0x464e87!=null&&Object[_0x420125(0x172)](_0x464e87)[_0x420125(0x12e)](_0x1ba157=>{const _0x3f5299=_0x420125;_0x1ba157!=null&&Object['keys'](_0x464e87[_0x1ba157])[_0x3f5299(0x12e)](_0x1c13d7=>{const _0xcee984=_0x3f5299;_0x1c13d7!=null&&(this[_0xcee984(0x106)]['clearOtherFormulaDependency'](_0x1ba157,_0x1c13d7),this[_0xcee984(0x106)][_0xcee984(0x135)](_0x1ba157,_0x1c13d7),this[_0xcee984(0x106)][_0xcee984(0xef)](_0x1ba157,_0x1c13d7));});});const _0x5909a3=this[_0x420125(0xff)][_0x420125(0x18f)]();await this[_0x420125(0x188)](_0x42eeb2,_0x55729e,_0x5909a3),this[_0x420125(0x106)][_0x420125(0x14a)]();const _0x590cbf=this[_0x420125(0x11a)](),_0x58931d=this[_0x420125(0x162)](_0x590cbf);return this[_0x420125(0xf7)](_0x58931d)&&this[_0x420125(0x120)][_0x420125(0xf3)](),this[_0x420125(0x18e)][_0x420125(0x1a0)](),this[_0x420125(0x10c)]['clear'](),this[_0x420125(0x106)][_0x420125(0x148)](),Promise['resolve'](_0x58931d);}['_isCyclicUtilMap'](_0x2b2f2c,_0x3aa4f2){const _0xf5afb=_0x389298,_0x181564=[_0x2b2f2c];for(;_0x181564[_0xf5afb(0x15d)]>0x0;){const _0x385ae2=_0x181564[_0x181564[_0xf5afb(0x15d)]-0x1];if((_0x3aa4f2[_0xf5afb(0xfb)](_0x385ae2)||0x0)===0x0){_0x3aa4f2[_0xf5afb(0x152)](_0x385ae2,0x1);const _0x5cf9f2=this['_dependencyTreeCache'][_0xf5afb(0xfb)](_0x385ae2);if(_0x5cf9f2==null){_0x3aa4f2[_0xf5afb(0x152)](_0x385ae2,0x2),_0x181564[_0xf5afb(0x138)]();continue;}const _0x2b2727=this[_0xf5afb(0x106)]['searchDependency'](_0x5cf9f2[_0xf5afb(0x182)]());for(const _0x27d232 of _0x2b2727){const _0x5aff4d=_0x3aa4f2[_0xf5afb(0xfb)](_0x27d232)||0x0;if(_0x5aff4d===0x1)return!0x0;_0x5aff4d===0x0&&_0x181564[_0xf5afb(0x17d)](_0x27d232);}}else _0x3aa4f2[_0xf5afb(0x152)](_0x385ae2,0x2),_0x181564[_0xf5afb(0x138)]();}return!0x1;}[_0x389298(0xf7)](_0x5eed3e){const _0x263ac7=_0x389298,_0x3739a7=new Map();for(const _0x3e972a of _0x5eed3e)if(!_0x3739a7[_0x263ac7(0x14e)](_0x3e972a['treeId'])&&this['_isCyclicUtilMap'](_0x3e972a[_0x263ac7(0x15f)],_0x3739a7))return!0x0;return _0x3739a7[_0x263ac7(0x1a0)](),!0x1;}['_getFeatureFormulaTree'](_0x5b9623,_0x2197d1,_0x55ec57){const _0x25f441=_0x389298,{unitId:_0x1e59fb,subUnitId:_0x14c2fa,dependencyRanges:_0x1aaa52,getDirtyData:_0x5ce609}=_0x55ec57,_0x27716d=_0x2197d1||l[_0x25f441(0x121)](this[_0x25f441(0x106)]),_0x5aff9c=new l['FormulaDependencyTree'](_0x27716d);_0x5aff9c[_0x25f441(0x19b)]=_0x1e59fb,_0x5aff9c['subUnitId']=_0x14c2fa,_0x5aff9c[_0x25f441(0x102)]=_0x1aaa52,_0x5aff9c[_0x25f441(0x165)]=_0x5ce609;const _0xeda51c=_0x5ce609(this[_0x25f441(0xff)][_0x25f441(0x165)](),this[_0x25f441(0x120)]['getAllRuntimeData']()),_0x104224=this[_0x25f441(0x186)](_0xeda51c[_0x25f441(0x117)]);return _0x5aff9c['featureDirtyRanges']=_0x104224,_0x5aff9c[_0x25f441(0x157)]=_0x5b9623,_0x5aff9c[_0x25f441(0x13f)]=l[_0x25f441(0x1a4)][_0x25f441(0x178)],this['_dependencyManagerService'][_0x25f441(0x144)](_0x1e59fb,_0x14c2fa,_0x5b9623,_0x5aff9c),this['_dependencyTreeCache'][_0x25f441(0x152)](_0x5aff9c['treeId'],_0x5aff9c),this[_0x25f441(0x106)][_0x25f441(0x166)](_0x55ec57['unitId'],_0x55ec57['subUnitId'],_0x5b9623)&&(_0x5aff9c[_0x25f441(0x13a)]=!0x0),_0x5aff9c;}[_0x389298(0x115)](_0x34a2e2,_0x400a76,_0x5f27ed){const _0x349ce8=_0x389298;var _0xf43d89;for(const _0x1acf53 of _0x400a76){const _0x36c959=_0x34a2e2[_0x1acf53];if(_0x36c959==null)continue;const _0x108dea=Object[_0x349ce8(0x172)](_0x36c959);for(const _0x545a10 of _0x108dea){const _0xcdbb48=_0x36c959[_0x545a10];if(_0xcdbb48==null)continue;const _0x35d31f=Object['keys'](_0xcdbb48);for(const _0xe8b24b of _0x35d31f){const _0x58d7a9=this[_0x349ce8(0x106)][_0x349ce8(0x129)](_0xe8b24b),_0x426aef=_0xcdbb48[_0xe8b24b],{f:_0x54ca07,ranges:_0x63d2b5}=_0x426aef;let _0x35cffe=!0x1;_0x58d7a9&&(_0x35cffe=!0x0);const {firstRow:_0x3e9387,firstColumn:_0x1a28e6}=this[_0x349ce8(0x142)](_0x63d2b5),_0x1fe3f0=this['_dependencyManagerService'][_0x349ce8(0x11c)](_0x1acf53,_0x545a10,_0xe8b24b),_0x3e673e=(_0xf43d89=_0x1fe3f0==null?void 0x0:_0x1fe3f0[_0x349ce8(0x193)](0x0,0x0))!=null?_0xf43d89:l[_0x349ce8(0x121)](this[_0x349ce8(0x106)]),_0x2102d2=new l[(_0x349ce8(0x160))](_0x3e673e);for(let _0x57754d=0x0;_0x57754d<_0x63d2b5['length'];_0x57754d++){const _0x2103cc=_0x63d2b5[_0x57754d],{startRow:_0x561206,startColumn:_0x2953b1,endRow:_0x49ca99,endColumn:_0xf89021}=_0x2103cc;for(let _0x472e05=_0x561206;_0x472e05<=_0x49ca99;_0x472e05++)for(let _0x261d67=_0x2953b1;_0x261d67<=_0xf89021;_0x261d67++){const _0x3077a6=_0x261d67-_0x1a28e6,_0x44951c=_0x472e05-_0x3e9387;if(_0x3077a6===0x0&&_0x44951c===0x0){_0x2102d2[_0x349ce8(0xfa)]=_0x54ca07,_0x2102d2[_0x349ce8(0x19b)]=_0x1acf53,_0x2102d2[_0x349ce8(0x158)]=_0x545a10,_0x2102d2[_0x349ce8(0x10b)]=_0xe8b24b,_0x2102d2[_0x349ce8(0x13f)]=l[_0x349ce8(0x1a4)][_0x349ce8(0x12f)],_0x2102d2['isCache']=_0x35cffe,_0x5f27ed['push'](_0x2102d2),this[_0x349ce8(0x18e)]['set'](_0x2102d2[_0x349ce8(0x15f)],_0x2102d2),this[_0x349ce8(0x106)][_0x349ce8(0x190)](_0x1acf53,_0x545a10,_0xe8b24b,_0x2102d2),this[_0x349ce8(0x106)][_0x349ce8(0x13e)](_0x2102d2);continue;}const _0x444855=new l[(_0x349ce8(0x173))]();_0x444855[_0x349ce8(0x15f)]=(_0x1fe3f0==null?void 0x0:_0x1fe3f0['getValue'](_0x3077a6,_0x44951c))||l[_0x349ce8(0x121)](this[_0x349ce8(0x106)]),_0x444855[_0x349ce8(0x149)]=_0x2102d2,_0x444855[_0x349ce8(0x192)]=_0x3077a6,_0x444855[_0x349ce8(0x127)]=_0x44951c,_0x444855[_0x349ce8(0x13a)]=_0x35cffe,this[_0x349ce8(0x106)]['addOtherFormulaDependency'](_0x1acf53,_0x545a10,_0xe8b24b,_0x444855),this[_0x349ce8(0x106)][_0x349ce8(0x13e)](_0x444855),_0x5f27ed[_0x349ce8(0x17d)](_0x444855),this[_0x349ce8(0x18e)]['set'](_0x444855[_0x349ce8(0x15f)],_0x444855);}}this[_0x349ce8(0x106)][_0x349ce8(0x185)](_0xe8b24b);}}}}[_0x389298(0x179)](_0x31db18,_0x4bdb72,_0x578bcd,_0x471fb5){const _0x586636=_0x389298;for(const _0x4ee301 of _0x31db18){const _0xc492dc=_0x4bdb72[_0x4ee301];if(_0xc492dc==null)continue;const _0x4d6131=Object['keys'](_0xc492dc);for(const _0x26948a of _0x4d6131){const _0x41aebe=new v[(_0x586636(0x16b))](_0xc492dc[_0x26948a]||{}),_0x1ecb1d=new Map();_0x41aebe[_0x586636(0x109)]((_0x53d604,_0x477cd2,_0x21f115)=>{const _0x1f5b92=_0x586636;if(_0x21f115==null)return!0x0;const {x:_0x56b61e=0x0,y:_0x4aea13=0x0,si:_0xf024c9}=_0x21f115;if(!(_0x56b61e===0x0&&_0x4aea13===0x0&&_0xf024c9!=null))return!0x0;const _0xd48966=this['_createFDtree'](_0x4ee301,_0x26948a,_0x53d604,_0x477cd2,_0x578bcd,_0x21f115),_0x5bfb03=this[_0x1f5b92(0x106)]['getFormulaDependency'](_0x4ee301,_0x26948a,_0x53d604,_0x477cd2);_0x5bfb03!=null?_0xd48966[_0x1f5b92(0x15f)]=_0x5bfb03:(this[_0x1f5b92(0x106)][_0x1f5b92(0x146)](_0x4ee301,_0x26948a,_0x53d604,_0x477cd2,_0xd48966),this['_dependencyManagerService'][_0x1f5b92(0x13e)](_0xd48966)),_0x1ecb1d[_0x1f5b92(0x152)](_0xf024c9,_0xd48966),_0x471fb5[_0x1f5b92(0x17d)](_0xd48966),this['_dependencyTreeCache'][_0x1f5b92(0x152)](_0xd48966[_0x1f5b92(0x15f)],_0xd48966);}),_0x41aebe['forValue']((_0x5ed12c,_0x55bbf5,_0x97ea5e)=>{const _0x4163d6=_0x586636;if(_0x97ea5e==null)return!0x0;const {x:_0xd19101=0x0,y:_0x2c2010=0x0,si:_0x57a282}=_0x97ea5e;if(_0xd19101===0x0&&_0x2c2010===0x0&&_0x57a282!=null)return!0x0;let _0x3268c5;if(_0x57a282&&_0x1ecb1d[_0x4163d6(0x14e)](_0x57a282)){const _0x5216d5=_0x1ecb1d['get'](_0x57a282);_0x3268c5=this[_0x4163d6(0x164)](_0x5216d5,_0x97ea5e);}else _0x3268c5=this['_createFDtree'](_0x4ee301,_0x26948a,_0x5ed12c,_0x55bbf5,_0x578bcd,_0x97ea5e);const _0x3391b4=this[_0x4163d6(0x106)][_0x4163d6(0xf9)](_0x4ee301,_0x26948a,_0x5ed12c,_0x55bbf5);_0x3391b4!=null?_0x3268c5[_0x4163d6(0x15f)]=_0x3391b4:(this[_0x4163d6(0x106)][_0x4163d6(0x146)](_0x4ee301,_0x26948a,_0x5ed12c,_0x55bbf5,_0x3268c5),this[_0x4163d6(0x106)][_0x4163d6(0x13e)](_0x3268c5)),_0x471fb5[_0x4163d6(0x17d)](_0x3268c5),this[_0x4163d6(0x18e)][_0x4163d6(0x152)](_0x3268c5['treeId'],_0x3268c5);}),_0x1ecb1d[_0x586636(0x1a0)]();}}}[_0x389298(0x11d)](_0x525dd0,_0xcab1ed,_0x181651,_0x4364a2,_0x1b7236,_0x114e66){const _0xbff7bd=_0x389298,{f:_0x357a3,x:_0x322aa0=0x0,y:_0x16d9e2=0x0}=_0x114e66,_0x11fdb6=new l[(_0xbff7bd(0x160))](l[_0xbff7bd(0x121)](this[_0xbff7bd(0x106)])),_0xccafda=_0x1b7236[_0x525dd0][_0xcab1ed];return _0x11fdb6[_0xbff7bd(0xfa)]=_0x357a3,_0x11fdb6[_0xbff7bd(0x19b)]=_0x525dd0,_0x11fdb6[_0xbff7bd(0x158)]=_0xcab1ed,_0x11fdb6[_0xbff7bd(0xfd)]=_0x181651,_0x11fdb6['column']=_0x4364a2,_0x11fdb6[_0xbff7bd(0x18a)]=_0xccafda[_0xbff7bd(0x18a)],_0x11fdb6[_0xbff7bd(0x140)]=_0xccafda['columnCount'],_0x11fdb6;}[_0x389298(0x11a)](){const _0x4f1c7b=_0x389298,_0x378f09=[],_0x4978ea=new Set(),_0x167bf4=this[_0x4f1c7b(0xff)][_0x4f1c7b(0x141)](),_0x4d15b1=this[_0x4f1c7b(0xff)][_0x4f1c7b(0x10d)](),_0x79ace4=this[_0x4f1c7b(0x106)][_0x4f1c7b(0x134)](_0x4d15b1),_0x2cc1d4=this[_0x4f1c7b(0x10c)][_0x4f1c7b(0x145)](_0x4d15b1);for(const _0x11c49d of _0x2cc1d4)_0x79ace4[_0x4f1c7b(0x168)](_0x11c49d);for(const [_0x25b03d,_0x51ad71]of this[_0x4f1c7b(0x18e)])(_0x167bf4||_0x51ad71[_0x4f1c7b(0x12a)]||_0x51ad71['dependencySheetName'](this[_0x4f1c7b(0xff)]['getDirtyNameMap']())||_0x79ace4[_0x4f1c7b(0x14e)](_0x25b03d)&&!_0x51ad71[_0x4f1c7b(0x136)](this['_currentConfigService'][_0x4f1c7b(0x184)]()))&&!_0x4978ea[_0x4f1c7b(0x14e)](_0x25b03d)&&(_0x378f09[_0x4f1c7b(0x17d)](_0x51ad71),_0x4978ea[_0x4f1c7b(0x168)](_0x25b03d));for(const [_0x1cc29c,_0x34246d]of this[_0x4f1c7b(0x18e)])_0x34246d[_0x4f1c7b(0x14d)]||(_0x34246d['rangeList'][_0x4f1c7b(0x15d)]=0x0);return _0x378f09;}[_0x389298(0x14f)](_0x3d3cdc){const _0x4fa542=_0x389298;return this[_0x4fa542(0x18e)][_0x4fa542(0xfb)](_0x3d3cdc);}[_0x389298(0xfe)](_0x21404d){const _0x3d94fe=_0x389298;return l[_0x3d94fe(0x112)](_0x21404d[_0x3d94fe(0x19b)],_0x21404d[_0x3d94fe(0xfa)],this['_lexer'],this[_0x3d94fe(0x175)],this['_currentConfigService']);}*['_traverse'](_0x1563a3,_0x224543){const _0x5d6516=_0x389298,_0x146cdf=_0x1563a3,_0x3a5e17=new Set();for(;_0x146cdf[_0x5d6516(0x15d)]>0x0;){const _0x3d71d6=_0x146cdf[_0x5d6516(0x138)]();if(_0x3a5e17[_0x5d6516(0x1a0)](),_0x3d71d6===void 0x0||_0x3d71d6['isSkip']())continue;if(_0x3d71d6[_0x5d6516(0x187)]()){yield _0x3d71d6,_0x3d71d6['setSkip'](),_0x224543['add'](_0x3d71d6[_0x5d6516(0x15f)]);continue;}const _0x4d6ae0=this[_0x5d6516(0x106)][_0x5d6516(0x134)](_0x3d71d6[_0x5d6516(0x182)](),_0x224543),_0x49fbae=this[_0x5d6516(0x10c)][_0x5d6516(0x145)](_0x3d71d6[_0x5d6516(0x182)](),_0x224543);for(const _0x172d6c of _0x49fbae)_0x4d6ae0[_0x5d6516(0x168)](_0x172d6c);for(const _0x46531a of _0x4d6ae0){const _0x57686b=this[_0x5d6516(0x18e)][_0x5d6516(0xfb)](_0x46531a);if(!_0x57686b)throw new Error(_0x5d6516(0x159));_0x57686b['isAdded']()||_0x3d71d6[_0x5d6516(0x180)]()||_0x3a5e17[_0x5d6516(0x168)](_0x57686b);}if(_0x4d6ae0[_0x5d6516(0x1a0)](),_0x3a5e17[_0x5d6516(0xec)]===0x0)yield _0x3d71d6,_0x3d71d6[_0x5d6516(0x14b)](),_0x224543[_0x5d6516(0x168)](_0x3d71d6[_0x5d6516(0x15f)]);else{_0x3d71d6[_0x5d6516(0x107)](),_0x146cdf[_0x5d6516(0x17d)](_0x3d71d6);for(const _0x15990f of _0x3a5e17)_0x146cdf['push'](_0x15990f);}}_0x146cdf[_0x5d6516(0x15d)]=0x0,_0x3a5e17[_0x5d6516(0x1a0)]();}[_0x389298(0x162)](_0x1c3816){const _0x5db69e=_0x389298,_0x2e6eb3=[],_0x1e682c=new Set();for(const _0x1d2359 of this[_0x5db69e(0x116)](_0x1c3816,_0x1e682c))_0x2e6eb3[_0x5db69e(0x17d)](_0x1d2359);return _0x2e6eb3;}}class K extends l[_0x389298(0x17f)]{async[_0x389298(0xf0)](_0x4b0cc4=!0x1){const _0x342d9c=_0x389298;_0x4b0cc4?this[_0x342d9c(0x120)][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)][_0x342d9c(0x126)]):this[_0x342d9c(0x120)][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)][_0x342d9c(0x15b)]),this[_0x342d9c(0x150)][_0x342d9c(0x16e)](this[_0x342d9c(0x120)][_0x342d9c(0x155)]());const _0x3f7510=await this['_formulaDependencyGenerator'][_0x342d9c(0x19c)](),_0x4775b4=this[_0x342d9c(0x101)];_0x4b0cc4?(this['_runtimeService'][_0x342d9c(0x10e)](l['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x342d9c(0x16f)](_0x3f7510['length'])):(this[_0x342d9c(0x120)][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)]['START_CALCULATION']),this[_0x342d9c(0x120)][_0x342d9c(0x181)](_0x3f7510[_0x342d9c(0x15d)])),this[_0x342d9c(0x150)][_0x342d9c(0x16e)](this[_0x342d9c(0x120)]['getRuntimeState']());let _0x5b71c7=[];const _0xe35990=this[_0x342d9c(0x130)][_0x342d9c(0x125)](l['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x4026b7=(_0xe35990==null?void 0x0:_0xe35990[_0x342d9c(0x137)])||l['DEFAULT_INTERVAL_COUNT'];let _0x22f740=0x0;const _0x1600a9=_0x3f7510[_0x342d9c(0x15d)];for(;_0x3f7510[_0x342d9c(0x15d)]>0x0;){const _0x20a669=_0x3f7510['pop'](),_0x1bb474={'node':l[_0x342d9c(0x112)](_0x20a669[_0x342d9c(0x19b)],_0x20a669[_0x342d9c(0xfa)],this[_0x342d9c(0x124)],this[_0x342d9c(0x175)],this['_currentConfigService']),'refOffsetX':_0x20a669[_0x342d9c(0x192)],'refOffsetY':_0x20a669[_0x342d9c(0x127)]},_0x1344b9=_0x20a669[_0x342d9c(0x165)];if(_0x22f740%_0x4026b7===0x0&&(await new Promise(_0x79ba3b=>{const _0x4f6684=v['requestImmediateMacroTask'](_0x79ba3b);_0x5b71c7['push'](_0x4f6684);}),_0x4b0cc4?(this[_0x342d9c(0x120)][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x342d9c(0x13d)](_0x22f740+0x1)):(this['_runtimeService'][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)][_0x342d9c(0x11b)]),this['_runtimeService'][_0x342d9c(0x14c)](_0x22f740+0x1)),this['_executionInProgressListener$'][_0x342d9c(0x16e)](this[_0x342d9c(0x120)][_0x342d9c(0x155)]()),this[_0x342d9c(0x120)][_0x342d9c(0xf1)]()||_0x1bb474==null&&_0x1344b9==null)){this['_runtimeService'][_0x342d9c(0x10e)](l[_0x342d9c(0x19f)][_0x342d9c(0x12b)]),this[_0x342d9c(0x120)][_0x342d9c(0x1a2)](),this[_0x342d9c(0x17e)][_0x342d9c(0x16e)](this['_runtimeService'][_0x342d9c(0x197)]());return;}this['_runtimeService']['setCurrent'](_0x20a669['row'],_0x20a669[_0x342d9c(0x103)],_0x20a669[_0x342d9c(0x18a)],_0x20a669[_0x342d9c(0x140)],_0x20a669[_0x342d9c(0x158)],_0x20a669['unitId']);let _0x3c517c;if(_0x1344b9!=null&&_0x20a669[_0x342d9c(0x157)]!=null){const {runtimeCellData:_0xc89ae9,dirtyRanges:_0x76de6d}=_0x1344b9(this[_0x342d9c(0xff)][_0x342d9c(0x165)](),this[_0x342d9c(0x120)]['getAllRuntimeData']());this['_runtimeService']['setRuntimeFeatureCellData'](_0x20a669[_0x342d9c(0x157)],_0xc89ae9),this['_runtimeService'][_0x342d9c(0x1a5)](_0x20a669[_0x342d9c(0x157)],_0x76de6d);}else _0x1bb474!=null&&(_0x4775b4['checkAsyncNode'](_0x1bb474['node'])?_0x3c517c=await _0x4775b4[_0x342d9c(0x17c)](_0x1bb474):_0x3c517c=_0x4775b4[_0x342d9c(0x167)](_0x1bb474),_0x20a669[_0x342d9c(0x10b)]!=null?this[_0x342d9c(0x120)]['setRuntimeOtherData'](_0x20a669['formulaId'],_0x20a669['refOffsetX'],_0x20a669[_0x342d9c(0x127)],_0x3c517c):this[_0x342d9c(0x120)][_0x342d9c(0x195)](_0x3c517c));_0x22f740++;}return _0x5b71c7['forEach'](_0x2aa5a5=>_0x2aa5a5()),_0x5b71c7=[],_0x1600a9>0x0?this['_runtimeService'][_0x342d9c(0x16d)]():_0x4b0cc4||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this[_0x342d9c(0x120)][_0x342d9c(0x197)]();}}class G extends l[_0x389298(0x147)]{constructor(){const _0x29662d=_0x389298;super(...arguments),S(this,_0x29662d(0x19d),new Map()),S(this,_0x29662d(0x113),new v['RTree'](!0x0));}[_0x389298(0x161)](){const _0x5b65ea=_0x389298;this['_otherFormulaData'][_0x5b65ea(0x1a0)](),this[_0x5b65ea(0x174)][_0x5b65ea(0x1a0)](),this[_0x5b65ea(0xf4)]['clear'](),this[_0x5b65ea(0x113)][_0x5b65ea(0x1a0)](),this[_0x5b65ea(0x19d)]['clear'](),this[_0x5b65ea(0x19e)](),this[_0x5b65ea(0x177)][_0x5b65ea(0x1a0)]();}[_0x389298(0x190)](_0x31a5c1,_0x4294d9,_0x215f82,_0x55d13b){const _0x1c808d=_0x389298;this[_0x1c808d(0x18d)][_0x1c808d(0x14e)](_0x31a5c1)||this['_otherFormulaData']['set'](_0x31a5c1,new Map());const _0x12afbb=this[_0x1c808d(0x18d)][_0x1c808d(0xfb)](_0x31a5c1);_0x12afbb['has'](_0x4294d9)||_0x12afbb[_0x1c808d(0x152)](_0x4294d9,new Map());const _0x1ff099=_0x12afbb[_0x1c808d(0xfb)](_0x4294d9);_0x1ff099[_0x1c808d(0x14e)](_0x215f82)||_0x1ff099[_0x1c808d(0x152)](_0x215f82,new v[(_0x1c808d(0x16b))]()),_0x1ff099[_0x1c808d(0xfb)](_0x215f82)['setValue'](_0x55d13b[_0x1c808d(0x192)],_0x55d13b[_0x1c808d(0x127)],_0x55d13b['treeId']);}[_0x389298(0xf5)](_0x4d9ba4,_0x36074d,_0x41f37b){const _0x50bdf0=_0x389298,_0x20e706=this[_0x50bdf0(0x18d)]['get'](_0x4d9ba4);if(_0x20e706&&_0x20e706[_0x50bdf0(0x14e)](_0x36074d)){const _0x57e5bc=_0x20e706[_0x50bdf0(0xfb)](_0x36074d);_0x41f37b[_0x50bdf0(0x12e)](_0x3156fb=>{const _0x48dffd=_0x50bdf0,_0x581228=_0x57e5bc[_0x48dffd(0xfb)](_0x3156fb);_0x581228!=null&&(_0x581228[_0x48dffd(0x109)]((_0x3bcd1f,_0x4ea3f7,_0x2a7afc)=>{const _0x2abdc9=_0x48dffd;this[_0x2abdc9(0x15c)](_0x2a7afc),this[_0x2abdc9(0x11f)](_0x2a7afc);}),_0x57e5bc[_0x48dffd(0x199)](_0x3156fb),this['_otherFormulaDataMainData'][_0x48dffd(0x199)](_0x3156fb));}),_0x57e5bc[_0x50bdf0(0xec)]===0x0&&_0x20e706[_0x50bdf0(0x199)](_0x36074d),_0x20e706[_0x50bdf0(0xec)]===0x0&&this[_0x50bdf0(0x18d)][_0x50bdf0(0x199)](_0x4d9ba4);}}[_0x389298(0x128)](_0x45774f,_0x32bd52){const _0x2e2a7d=_0x389298,_0x3a1e30=this[_0x2e2a7d(0x18d)][_0x2e2a7d(0xfb)](_0x45774f);if(_0x32bd52&&_0x3a1e30&&_0x3a1e30[_0x2e2a7d(0x14e)](_0x32bd52)){const _0x68c6b6=_0x3a1e30[_0x2e2a7d(0xfb)](_0x32bd52);this['_removeDependencyRTreeCacheById'](_0x45774f,_0x32bd52);for(const _0xfb32c of _0x68c6b6[_0x2e2a7d(0x172)]()){const _0x58e789=_0x68c6b6[_0x2e2a7d(0xfb)](_0xfb32c);_0x58e789!=null&&(_0x58e789[_0x2e2a7d(0x109)]((_0x32edd3,_0x4ef735,_0x1c5ce2)=>{const _0x45107e=_0x2e2a7d;this[_0x45107e(0x19d)][_0x45107e(0xfb)](_0x1c5ce2)&&this[_0x45107e(0x11f)](_0x1c5ce2);}),this[_0x2e2a7d(0x177)][_0x2e2a7d(0x199)](_0xfb32c));}_0x68c6b6[_0x2e2a7d(0x1a0)]();}else{if(_0x3a1e30){for(const _0x56ed62 of _0x3a1e30[_0x2e2a7d(0x172)]()){const _0x153992=_0x3a1e30[_0x2e2a7d(0xfb)](_0x56ed62);this[_0x2e2a7d(0x123)](_0x45774f,_0x56ed62);for(const _0xd378cf of _0x153992[_0x2e2a7d(0x172)]()){const _0x1929d5=_0x153992[_0x2e2a7d(0xfb)](_0xd378cf);_0x1929d5!=null&&(_0x1929d5[_0x2e2a7d(0x109)]((_0x465571,_0x394c5f,_0x513189)=>{const _0x531b42=_0x2e2a7d;this['_allTreeMap'][_0x531b42(0xfb)](_0x513189)&&this[_0x531b42(0x11f)](_0x513189);}),this[_0x2e2a7d(0x177)][_0x2e2a7d(0x199)](_0xd378cf));}}this[_0x2e2a7d(0x18d)][_0x2e2a7d(0x199)](_0x45774f);}}}['addFeatureFormulaDependency'](_0x118375,_0x280a4a,_0x4f3af3,_0x570a44){const _0x111da1=_0x389298;this[_0x111da1(0x174)][_0x111da1(0x14e)](_0x118375)||this[_0x111da1(0x174)][_0x111da1(0x152)](_0x118375,new Map());const _0x13fd39=this[_0x111da1(0x174)][_0x111da1(0xfb)](_0x118375);_0x13fd39[_0x111da1(0x14e)](_0x280a4a)||_0x13fd39[_0x111da1(0x152)](_0x280a4a,new Map()),_0x13fd39[_0x111da1(0xfb)](_0x280a4a)['set'](_0x4f3af3,_0x570a44[_0x111da1(0x15f)]);}[_0x389298(0x15e)](_0x237bc1,_0xd4d9ad,_0x29f5bf){const _0xa7ddd2=_0x389298,_0x10f73b=this[_0xa7ddd2(0x174)][_0xa7ddd2(0xfb)](_0x237bc1);if(_0x10f73b&&_0x10f73b[_0xa7ddd2(0x14e)](_0xd4d9ad)){const _0x2e9679=_0x10f73b[_0xa7ddd2(0xfb)](_0xd4d9ad);_0x29f5bf[_0xa7ddd2(0x12e)](_0x3b5e64=>{const _0x5aa074=_0xa7ddd2,_0x5001b9=_0x2e9679[_0x5aa074(0xfb)](_0x3b5e64);_0x5001b9!=null&&(this[_0x5aa074(0x15c)](_0x5001b9),_0x2e9679[_0x5aa074(0x199)](_0x3b5e64),this['_removeAllTreeMap'](_0x5001b9));});}}[_0x389298(0x135)](_0x58e0a5,_0x1f202f){const _0xf4379c=_0x389298,_0x59a65e=this[_0xf4379c(0x174)][_0xf4379c(0xfb)](_0x58e0a5);if(_0x1f202f&&_0x59a65e&&_0x59a65e['has'](_0x1f202f)){const _0x3e6b36=_0x59a65e['get'](_0x1f202f);this[_0xf4379c(0x123)](_0x58e0a5,_0x1f202f),_0x3e6b36[_0xf4379c(0x12e)](_0x1a6b08=>{const _0x119f4a=_0xf4379c;_0x1a6b08!=null&&this[_0x119f4a(0x11f)](_0x1a6b08);}),_0x3e6b36[_0xf4379c(0x1a0)]();}else _0x59a65e&&(_0x59a65e[_0xf4379c(0x12e)]((_0x5e23e3,_0x5c7cfd)=>{const _0x26383c=_0xf4379c;this[_0x26383c(0x123)](_0x58e0a5,_0x5c7cfd),_0x5e23e3[_0x26383c(0x12e)](_0x47aef9=>{_0x47aef9!=null&&this['_removeAllTreeMap'](_0x47aef9);});}),this[_0xf4379c(0x174)][_0xf4379c(0x199)](_0x58e0a5));}['addFormulaDependency'](_0x33dc62,_0x3cade5,_0xd8e8d3,_0x4d691f,_0x14c8e0){const _0x27b80e=_0x389298;this[_0x27b80e(0xf4)][_0x27b80e(0x14e)](_0x33dc62)||this[_0x27b80e(0xf4)][_0x27b80e(0x152)](_0x33dc62,new Map());const _0x2e4c76=this[_0x27b80e(0xf4)][_0x27b80e(0xfb)](_0x33dc62);_0x2e4c76[_0x27b80e(0x14e)](_0x3cade5)||_0x2e4c76['set'](_0x3cade5,new v['ObjectMatrix']()),_0x2e4c76[_0x27b80e(0xfb)](_0x3cade5)[_0x27b80e(0x154)](_0xd8e8d3,_0x4d691f,_0x14c8e0['treeId']);}[_0x389298(0x122)](_0x1c6a5d,_0x173dbf,_0x34d345,_0x3009b8){const _0x42ea14=_0x389298,_0x5038fe=this[_0x42ea14(0xf4)][_0x42ea14(0xfb)](_0x1c6a5d);if(_0x5038fe&&_0x5038fe[_0x42ea14(0x14e)](_0x173dbf)){const _0x4140d1=_0x5038fe[_0x42ea14(0xfb)](_0x173dbf),_0x311b59=_0x4140d1[_0x42ea14(0x193)](_0x34d345,_0x3009b8);if(_0x311b59==null)return;this[_0x42ea14(0x15c)](_0x311b59),_0x4140d1[_0x42ea14(0xed)](_0x34d345,_0x3009b8),this['_removeAllTreeMap'](_0x311b59);}}[_0x389298(0xef)](_0x1adfd5,_0x113344){const _0x5a3163=_0x389298,_0x51db12=this['_formulaData'][_0x5a3163(0xfb)](_0x1adfd5);if(_0x113344&&_0x51db12&&_0x51db12['has'](_0x113344)){const _0x4bc845=_0x51db12[_0x5a3163(0xfb)](_0x113344);this['_removeDependencyRTreeCacheById'](_0x1adfd5,_0x113344),_0x4bc845[_0x5a3163(0x109)]((_0x15696e,_0x3d2d32,_0x518a58)=>{if(_0x518a58==null)return!0x0;this['_removeAllTreeMap'](_0x518a58);}),_0x4bc845[_0x5a3163(0x161)]();}else _0x51db12&&(_0x51db12[_0x5a3163(0x12e)]((_0x52199a,_0x1e54c0)=>{const _0x5650de=_0x5a3163;this[_0x5650de(0x123)](_0x1adfd5,_0x1e54c0),_0x52199a[_0x5650de(0x109)]((_0x582b75,_0x3faab1,_0x3fe126)=>{if(_0x3fe126==null)return!0x0;this['_removeAllTreeMap'](_0x3fe126);});}),this['_formulaData']['delete'](_0x1adfd5));}[_0x389298(0x15c)](_0x5a2b54){const _0x1135ee=_0x389298;if(_0x5a2b54==null)return;const _0x2bfe73=this[_0x1135ee(0x19d)]['get'](_0x5a2b54);if(_0x2bfe73){const _0x2cceb1=[];for(const [_0x4c1066,_0x26b7fe]of _0x2bfe73)for(const [_0x2475e5,_0x7f2e22]of _0x26b7fe)_0x2cceb1['push']({'unitId':_0x4c1066,'sheetId':_0x2475e5,'range':_0x7f2e22,'id':_0x5a2b54});this['_dependencyRTreeCache']['bulkRemove'](_0x2cceb1);}}['removeFormulaDependencyByDefinedName'](_0x27165b,_0x3bd158){const _0x5ed21f=_0x389298,_0xe45c48=this[_0x5ed21f(0x198)]['get'](_0x27165b);if(_0xe45c48){const _0x209764=_0xe45c48['get'](_0x3bd158);if(_0x209764){for(const _0x232a03 of _0x209764)this[_0x5ed21f(0x15c)](_0x232a03),this[_0x5ed21f(0x11f)](_0x232a03);_0x209764[_0x5ed21f(0x1a0)]();}}}[_0x389298(0x14a)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x389298(0x148)](){const _0x2369ce=_0x389298;this[_0x2369ce(0x113)][_0x2369ce(0x148)]();}[_0x389298(0x11f)](_0x51b73a){const _0x109fb5=_0x389298;_0x51b73a!=null&&this[_0x109fb5(0x19d)][_0x109fb5(0x199)](_0x51b73a);}['_addAllTreeMap'](_0x22364f){const _0x894f12=_0x389298;var _0x2ea6ff,_0x251788;const _0x54eb95=_0x22364f[_0x894f12(0x102)];let _0x552076=this[_0x894f12(0x19d)][_0x894f12(0xfb)](_0x22364f['treeId']);for(let _0x180287=0x0;_0x180287<_0x54eb95[_0x894f12(0x15d)];_0x180287++){const _0x5710a2=_0x54eb95[_0x180287];let {unitId:_0x324104,sheetId:_0x5ccfe5,range:_0x42af09}=_0x5710a2;_0x552076||(_0x552076=new Map(),this['_allTreeMap']['set'](_0x22364f[_0x894f12(0x15f)],_0x552076)),_0x552076[_0x894f12(0x14e)](_0x324104)||_0x552076[_0x894f12(0x152)](_0x324104,new Map());const _0x50d223=(_0x2ea6ff=_0x552076==null?void 0x0:_0x552076[_0x894f12(0xfb)](_0x324104))==null?void 0x0:_0x2ea6ff[_0x894f12(0xfb)](_0x5ccfe5);_0x50d223&&(_0x42af09={'startRow':Math[_0x894f12(0x156)](_0x42af09[_0x894f12(0x15a)],_0x50d223[_0x894f12(0x15a)]),'startColumn':Math['min'](_0x42af09[_0x894f12(0xf8)],_0x50d223['startColumn']),'endRow':Math[_0x894f12(0x10a)](_0x42af09[_0x894f12(0x131)],_0x50d223[_0x894f12(0x131)]),'endColumn':Math[_0x894f12(0x10a)](_0x42af09[_0x894f12(0x153)],_0x50d223[_0x894f12(0x153)])}),(_0x251788=_0x552076[_0x894f12(0xfb)](_0x324104))==null||_0x251788['set'](_0x5ccfe5,_0x42af09);}}}function _0x32f0(_0x19044f,_0x78c946){const _0x1d8ff8=_0x1d8f();return _0x32f0=function(_0x32f03d,_0x10ca87){_0x32f03d=_0x32f03d-0xec;let _0x33b565=_0x1d8ff8[_0x32f03d];return _0x33b565;},_0x32f0(_0x19044f,_0x78c946);}var Y=Object[_0x389298(0x176)],j=(_0x148baf,_0x333a0b,_0x1b991f,_0x3bc7ff)=>{const _0x3c14c3=_0x389298;for(var _0x133f0e=_0x3bc7ff>0x1?void 0x0:_0x3bc7ff?Y(_0x333a0b,_0x1b991f):_0x333a0b,_0x4b38ec=_0x148baf[_0x3c14c3(0x15d)]-0x1,_0xcf7b8f;_0x4b38ec>=0x0;_0x4b38ec--)(_0xcf7b8f=_0x148baf[_0x4b38ec])&&(_0x133f0e=_0xcf7b8f(_0x133f0e)||_0x133f0e);return _0x133f0e;};const J=Number[_0x389298(0x16a)](0x690d953d);exports['UniverProFormulaEnginePlugin']=class extends l[_0x389298(0xfc)]{[_0x389298(0x17b)](){const _0x5dccc3=_0x389298;var _0x209ddd,_0x5a94f3;this['_initLicenseValid']()?(_0x209ddd=this[_0x5dccc3(0x11e)])!=null&&_0x209ddd[_0x5dccc3(0x12c)]||[[l[_0x5dccc3(0x18c)],{'useClass':K}],[l[_0x5dccc3(0x183)],{'useClass':G}],[l[_0x5dccc3(0xee)],{'useClass':V}]][_0x5dccc3(0x12e)](_0x13ead4=>this[_0x5dccc3(0x108)]['add'](_0x13ead4)):(_0x5a94f3=this['_config'])!=null&&_0x5a94f3[_0x5dccc3(0x12c)]||[[l['ICalculateFormulaService'],{'useClass':l[_0x5dccc3(0x17f)]}],[l[_0x5dccc3(0x183)],{'useClass':l[_0x5dccc3(0x139)]}],[l[_0x5dccc3(0xee)],{'useClass':l[_0x5dccc3(0x191)]}]][_0x5dccc3(0x12e)](_0x3e94f3=>this[_0x5dccc3(0x108)][_0x5dccc3(0x168)](_0x3e94f3));}[_0x389298(0x104)](){const _0x261d14=_0x389298;var _0x1a2952;const _0x4b5a98=(_0x1a2952=this[_0x261d14(0x130)]['getConfig'](I['LS_CONFIG_KEY']))!=null?_0x1a2952:{},{ls:_0x5c0ea5,pbk:_0x26b3c6}=_0x4b5a98;if(!_0x5c0ea5||!_0x26b3c6)return!0x1;const _0x1ef34b=I[_0x261d14(0x143)](B,k),_0x1d92b9=new Function(_0x261d14(0x1a1)+_0x1ef34b)()(_0x5c0ea5,_0x26b3c6),_0x16c1c7=_0x1d92b9['message'];return _0x1d92b9['valid']&&I[_0x261d14(0x163)](_0x16c1c7,'sf',J)?I[_0x261d14(0x170)](_0x16c1c7,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x389298(0x12d)]=j([v[_0x389298(0x171)](I['UniverLicensePlugin'])],exports[_0x389298(0x12d)]),Object['keys'](l)[_0x389298(0x12e)](_0x261f44=>{const _0x20671a=_0x389298;_0x261f44!==_0x20671a(0x1a3)&&!Object[_0x20671a(0x194)][_0x20671a(0x10f)]['call'](exports,_0x261f44)&&Object[_0x20671a(0x110)](exports,_0x261f44,{'enumerable':!0x0,'get':()=>l[_0x261f44]});});
1
+ 'use strict';const _0x2c560b=_0x4a1a;(function(_0x23773e,_0x443fd6){const _0x3ddb25=_0x4a1a,_0x13aa4b=_0x23773e();while(!![]){try{const _0x564cb3=parseInt(_0x3ddb25(0xd6))/0x1*(parseInt(_0x3ddb25(0xf3))/0x2)+parseInt(_0x3ddb25(0x142))/0x3*(-parseInt(_0x3ddb25(0x14c))/0x4)+parseInt(_0x3ddb25(0x12c))/0x5+-parseInt(_0x3ddb25(0x105))/0x6*(parseInt(_0x3ddb25(0xeb))/0x7)+-parseInt(_0x3ddb25(0x120))/0x8*(parseInt(_0x3ddb25(0x110))/0x9)+parseInt(_0x3ddb25(0x109))/0xa*(parseInt(_0x3ddb25(0xd0))/0xb)+parseInt(_0x3ddb25(0x125))/0xc*(parseInt(_0x3ddb25(0xf8))/0xd);if(_0x564cb3===_0x443fd6)break;else _0x13aa4b['push'](_0x13aa4b['shift']());}catch(_0x2f6dad){_0x13aa4b['push'](_0x13aa4b['shift']());}}}(_0x52ea,0xb5525));var I=Object[_0x2c560b(0x165)],w=(_0x5ff29a,_0x21f425,_0x18fe23)=>_0x21f425 in _0x5ff29a?I(_0x5ff29a,_0x21f425,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18fe23}):_0x5ff29a[_0x21f425]=_0x18fe23,v=(_0x18f1e4,_0x37ddc9,_0x3f9ee0)=>w(_0x18f1e4,typeof _0x37ddc9!='symbol'?_0x37ddc9+'':_0x37ddc9,_0x3f9ee0);Object[_0x2c560b(0x165)](exports,Symbol[_0x2c560b(0x12e)],{'value':_0x2c560b(0xe9)});const C=require('@univerjs-pro/license'),T=require('@univerjs/core'),u=require('@univerjs/engine-formula'),z={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},U='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';function _0x4a1a(_0x2a3dd1,_0x35a1e3){const _0x52eaf0=_0x52ea();return _0x4a1a=function(_0x4a1a97,_0x2020c1){_0x4a1a97=_0x4a1a97-0xcd;let _0x593096=_0x52eaf0[_0x4a1a97];return _0x593096;},_0x4a1a(_0x2a3dd1,_0x35a1e3);}class K extends u['FormulaDependencyGenerator']{constructor(){super(...arguments),v(this,'_dependencyTreeCache',new Map());}[_0x2c560b(0xd3)](){const _0x37274e=_0x2c560b;super[_0x37274e(0xd3)](),this['_dependencyTreeCache']['clear']();}async[_0x2c560b(0xee)](){const _0x983921=_0x2c560b;this['_updateRangeFlatten']();const _0x3de132=this[_0x983921(0x117)]['getFormulaData'](),_0x468d5d=this[_0x983921(0x11c)][_0x983921(0xf2)](),_0x272890=this['_currentConfigService'][_0x983921(0x153)]();_0x272890!=null&&Object[_0x983921(0xf7)](_0x272890)[_0x983921(0x101)](_0x19439e=>{const _0x3cb056=_0x983921;_0x19439e!=null&&Object[_0x3cb056(0xf7)](_0x272890[_0x19439e])[_0x3cb056(0x101)](_0x1b096d=>{const _0x5d54d9=_0x3cb056;_0x1b096d!=null&&(this[_0x5d54d9(0xfd)][_0x5d54d9(0x170)](_0x19439e,_0x1b096d),this[_0x5d54d9(0xfd)][_0x5d54d9(0x15d)](_0x19439e,_0x1b096d),this[_0x5d54d9(0xfd)]['clearFormulaDependency'](_0x19439e,_0x1b096d));});});const _0x3daecb=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x3de132,_0x468d5d,_0x3daecb),this['_dependencyManagerService'][_0x983921(0xd7)]();const _0x4b308e=this[_0x983921(0x14b)](),_0x4506d6=this[_0x983921(0x163)](_0x4b308e);return this[_0x983921(0x16d)](_0x4506d6)&&this[_0x983921(0xe8)][_0x983921(0x15e)](),this[_0x983921(0x148)][_0x983921(0x102)](),this['_dependencyRTreeCacheForAddressFunction'][_0x983921(0x102)](),this['_dependencyManagerService']['closeKdTree'](),Promise['resolve'](_0x4506d6);}[_0x2c560b(0x161)](_0x46c023,_0x353889){const _0x5391a7=_0x2c560b,_0x26225a=[_0x46c023];for(;_0x26225a[_0x5391a7(0xf0)]>0x0;){const _0x2eb223=_0x26225a[_0x26225a[_0x5391a7(0xf0)]-0x1];if((_0x353889[_0x5391a7(0xef)](_0x2eb223)||0x0)===0x0){_0x353889[_0x5391a7(0x12d)](_0x2eb223,0x1);const _0x12d723=this[_0x5391a7(0x148)][_0x5391a7(0xef)](_0x2eb223);if(_0x12d723==null){_0x353889[_0x5391a7(0x12d)](_0x2eb223,0x2),_0x26225a[_0x5391a7(0x13d)]();continue;}const _0x464f26=this['_dependencyManagerService'][_0x5391a7(0x178)](_0x12d723[_0x5391a7(0x183)]());for(const _0xcd9db5 of _0x464f26){const _0x2932a5=_0x353889[_0x5391a7(0xef)](_0xcd9db5)||0x0;if(_0x2932a5===0x1)return!0x0;_0x2932a5===0x0&&_0x26225a['push'](_0xcd9db5);}}else _0x353889[_0x5391a7(0x12d)](_0x2eb223,0x2),_0x26225a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x63683f){const _0x18fc6f=_0x2c560b,_0x497a46=new Map();for(const _0x112522 of _0x63683f)if(!_0x497a46[_0x18fc6f(0x145)](_0x112522['treeId'])&&this[_0x18fc6f(0x161)](_0x112522[_0x18fc6f(0x159)],_0x497a46))return!0x0;return _0x497a46[_0x18fc6f(0x102)](),!0x1;}[_0x2c560b(0xe3)](_0x33b4a1,_0x1f6bbf,_0x5365fc){const _0x472260=_0x2c560b,{unitId:_0x4c3ee1,subUnitId:_0x2aff7b,dependencyRanges:_0x1c0b6d,getDirtyData:_0x15a17b}=_0x5365fc,_0x27c06b=_0x1f6bbf||u[_0x472260(0xf4)](this[_0x472260(0xfd)]),_0x8ac761=new u['FormulaDependencyTree'](_0x27c06b);_0x8ac761[_0x472260(0xe5)]=_0x4c3ee1,_0x8ac761[_0x472260(0x118)]=_0x2aff7b,_0x8ac761[_0x472260(0x14d)]=_0x1c0b6d,_0x8ac761[_0x472260(0x13c)]=_0x15a17b;const _0x4487b3=_0x15a17b(this[_0x472260(0x117)][_0x472260(0x13c)](),this[_0x472260(0xe8)][_0x472260(0x137)]()),_0xa0df2a=this['_convertDirtyRangesToUnitRange'](_0x4487b3[_0x472260(0x152)]);return _0x8ac761[_0x472260(0x172)]=_0xa0df2a,_0x8ac761[_0x472260(0x16e)]=_0x33b4a1,_0x8ac761[_0x472260(0xf5)]=u[_0x472260(0x136)][_0x472260(0xff)],this[_0x472260(0xfd)][_0x472260(0x17d)](_0x4c3ee1,_0x2aff7b,_0x33b4a1,_0x8ac761),this['_dependencyTreeCache'][_0x472260(0x12d)](_0x8ac761[_0x472260(0x159)],_0x8ac761),this[_0x472260(0xfd)]['getFeatureFormulaDependency'](_0x5365fc[_0x472260(0xe5)],_0x5365fc[_0x472260(0x118)],_0x33b4a1)&&(_0x8ac761[_0x472260(0xec)]=!0x0),_0x8ac761;}[_0x2c560b(0xfc)](_0x2e20fa,_0x11be0e,_0x2d7e3b){const _0x3d027d=_0x2c560b;var _0x58f665;for(const _0x3e7cc6 of _0x11be0e){const _0x125103=_0x2e20fa[_0x3e7cc6];if(_0x125103==null)continue;const _0x5385aa=Object[_0x3d027d(0xf7)](_0x125103);for(const _0x4cd355 of _0x5385aa){const _0x1adba0=_0x125103[_0x4cd355];if(_0x1adba0==null)continue;const _0x43ae9c=Object[_0x3d027d(0xf7)](_0x1adba0);for(const _0x289801 of _0x43ae9c){const _0x347ed5=this[_0x3d027d(0xfd)]['hasOtherFormulaDataMainData'](_0x289801),_0x102df9=_0x1adba0[_0x289801],{f:_0x2f66b2,ranges:_0x4cf58d}=_0x102df9;let _0x4cdcca=!0x1;_0x347ed5&&(_0x4cdcca=!0x0);const {firstRow:_0x215aad,firstColumn:_0x72511e}=this[_0x3d027d(0xde)](_0x4cf58d),_0x304c4b=this[_0x3d027d(0xfd)][_0x3d027d(0x171)](_0x3e7cc6,_0x4cd355,_0x289801),_0x1421f6=(_0x58f665=_0x304c4b==null?void 0x0:_0x304c4b[_0x3d027d(0x177)](0x0,0x0))!=null?_0x58f665:u[_0x3d027d(0xf4)](this[_0x3d027d(0xfd)]),_0x4153b7=new u['FormulaDependencyTree'](_0x1421f6);for(let _0x305f6e=0x0;_0x305f6e<_0x4cf58d['length'];_0x305f6e++){const _0x12c0b3=_0x4cf58d[_0x305f6e],{startRow:_0x407b92,startColumn:_0x6efc95,endRow:_0xce1f57,endColumn:_0x39cb27}=_0x12c0b3;for(let _0x1d1563=_0x407b92;_0x1d1563<=_0xce1f57;_0x1d1563++)for(let _0x5e2bd0=_0x6efc95;_0x5e2bd0<=_0x39cb27;_0x5e2bd0++){const _0x58bdf3=_0x5e2bd0-_0x72511e,_0x2a9850=_0x1d1563-_0x215aad;if(_0x58bdf3===0x0&&_0x2a9850===0x0){_0x4153b7[_0x3d027d(0x121)]=_0x2f66b2,_0x4153b7[_0x3d027d(0xe5)]=_0x3e7cc6,_0x4153b7[_0x3d027d(0x118)]=_0x4cd355,_0x4153b7[_0x3d027d(0x17c)]=_0x289801,_0x4153b7[_0x3d027d(0xf5)]=u[_0x3d027d(0x136)][_0x3d027d(0x173)],_0x4153b7[_0x3d027d(0xec)]=_0x4cdcca,_0x2d7e3b[_0x3d027d(0x11a)](_0x4153b7),this[_0x3d027d(0x148)][_0x3d027d(0x12d)](_0x4153b7['treeId'],_0x4153b7),this[_0x3d027d(0xfd)][_0x3d027d(0xe6)](_0x3e7cc6,_0x4cd355,_0x289801,_0x4153b7),this['_dependencyManagerService'][_0x3d027d(0x141)](_0x4153b7);continue;}const _0x2002eb=new u[(_0x3d027d(0x12b))]();_0x2002eb[_0x3d027d(0x159)]=(_0x304c4b==null?void 0x0:_0x304c4b['getValue'](_0x58bdf3,_0x2a9850))||u[_0x3d027d(0xf4)](this[_0x3d027d(0xfd)]),_0x2002eb[_0x3d027d(0x138)]=_0x4153b7,_0x2002eb[_0x3d027d(0x16b)]=_0x58bdf3,_0x2002eb[_0x3d027d(0xcf)]=_0x2a9850,_0x2002eb[_0x3d027d(0xec)]=_0x4cdcca,this['_dependencyManagerService'][_0x3d027d(0xe6)](_0x3e7cc6,_0x4cd355,_0x289801,_0x2002eb),this[_0x3d027d(0xfd)]['addFormulaDependencyByDefinedName'](_0x2002eb),_0x2d7e3b[_0x3d027d(0x11a)](_0x2002eb),this[_0x3d027d(0x148)][_0x3d027d(0x12d)](_0x2002eb[_0x3d027d(0x159)],_0x2002eb);}}this['_dependencyManagerService'][_0x3d027d(0xdf)](_0x289801);}}}}[_0x2c560b(0x16c)](_0x21ec18,_0x828702,_0x1dc935,_0x1c34a0){const _0x4de2da=_0x2c560b;for(const _0x475c62 of _0x21ec18){const _0x1a3751=_0x828702[_0x475c62];if(_0x1a3751==null)continue;const _0x1759a=Object[_0x4de2da(0xf7)](_0x1a3751);for(const _0x427de5 of _0x1759a){const _0x4956db=new T[(_0x4de2da(0x12a))](_0x1a3751[_0x427de5]||{}),_0x3150da=new Map();_0x4956db[_0x4de2da(0x135)]((_0x1b12e5,_0x32f226,_0x2215f5)=>{const _0x39b418=_0x4de2da;if(_0x2215f5==null)return!0x0;const {x:_0x511c24=0x0,y:_0x1ad1e8=0x0,si:_0x5b9b92}=_0x2215f5;if(!(_0x511c24===0x0&&_0x1ad1e8===0x0&&_0x5b9b92!=null))return!0x0;const _0x33e09f=this['_createFDtree'](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226,_0x1dc935,_0x2215f5),_0x4014fd=this['_dependencyManagerService'][_0x39b418(0x16a)](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226);_0x4014fd!=null?_0x33e09f[_0x39b418(0x159)]=_0x4014fd:(this['_dependencyManagerService'][_0x39b418(0x14f)](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226,_0x33e09f),this[_0x39b418(0xfd)][_0x39b418(0x141)](_0x33e09f)),_0x3150da['set'](_0x5b9b92,_0x33e09f),_0x1c34a0[_0x39b418(0x11a)](_0x33e09f),this[_0x39b418(0x148)]['set'](_0x33e09f['treeId'],_0x33e09f);}),_0x4956db[_0x4de2da(0x135)]((_0x52ed5a,_0x51cfdf,_0x4ce172)=>{const _0x12cbe3=_0x4de2da;if(_0x4ce172==null)return!0x0;const {x:_0x174039=0x0,y:_0x9e6de6=0x0,si:_0x262207}=_0x4ce172;if(_0x174039===0x0&&_0x9e6de6===0x0&&_0x262207!=null)return!0x0;let _0x1af2d4;if(_0x262207&&_0x3150da[_0x12cbe3(0x145)](_0x262207)){const _0xffc820=_0x3150da[_0x12cbe3(0xef)](_0x262207);_0x1af2d4=this['_createVirtualFDtree'](_0xffc820,_0x4ce172);}else _0x1af2d4=this[_0x12cbe3(0x15c)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf,_0x1dc935,_0x4ce172);const _0xa9225d=this['_dependencyManagerService'][_0x12cbe3(0x16a)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf);_0xa9225d!=null?_0x1af2d4[_0x12cbe3(0x159)]=_0xa9225d:(this['_dependencyManagerService'][_0x12cbe3(0x14f)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf,_0x1af2d4),this[_0x12cbe3(0xfd)][_0x12cbe3(0x141)](_0x1af2d4)),_0x1c34a0['push'](_0x1af2d4),this[_0x12cbe3(0x148)][_0x12cbe3(0x12d)](_0x1af2d4[_0x12cbe3(0x159)],_0x1af2d4);}),_0x3150da['clear']();}}}[_0x2c560b(0x15c)](_0x4ba415,_0x28e661,_0x402c0c,_0x5d0104,_0x53a51b,_0x423ad0){const _0x139500=_0x2c560b,{f:_0x59a15d,x:_0x213eaf=0x0,y:_0x4175be=0x0}=_0x423ad0,_0x377945=new u['FormulaDependencyTree'](u['generateRandomDependencyTreeId'](this[_0x139500(0xfd)])),_0x4d96aa=_0x53a51b[_0x4ba415][_0x28e661];return _0x377945['formula']=_0x59a15d,_0x377945[_0x139500(0xe5)]=_0x4ba415,_0x377945[_0x139500(0x118)]=_0x28e661,_0x377945[_0x139500(0xfb)]=_0x402c0c,_0x377945[_0x139500(0xf9)]=_0x5d0104,_0x377945[_0x139500(0x143)]=_0x4d96aa[_0x139500(0x143)],_0x377945['columnCount']=_0x4d96aa[_0x139500(0xf1)],_0x377945;}['_getUpdateTreeListAndMakeDependency'](){const _0x158467=_0x2c560b,_0x3ee027=[],_0x38ce34=new Set(),_0x26b585=this[_0x158467(0x117)][_0x158467(0x180)](),_0x23b5b2=this[_0x158467(0x117)][_0x158467(0x15a)](),_0x5b8f6d=this['_dependencyManagerService']['searchDependency'](_0x23b5b2),_0x6659c9=this[_0x158467(0x127)][_0x158467(0x169)](_0x23b5b2);for(const _0x24fc15 of _0x6659c9)_0x5b8f6d[_0x158467(0x174)](_0x24fc15);for(const [_0x5de9ae,_0x3ddc5b]of this[_0x158467(0x148)])(_0x26b585||_0x3ddc5b[_0x158467(0xce)]||_0x3ddc5b[_0x158467(0x113)](this['_currentConfigService']['getDirtyNameMap']())||_0x5b8f6d[_0x158467(0x145)](_0x5de9ae)&&!_0x3ddc5b['isExcludeRange'](this['_currentConfigService'][_0x158467(0xea)]()))&&!_0x38ce34[_0x158467(0x145)](_0x5de9ae)&&(_0x3ee027[_0x158467(0x11a)](_0x3ddc5b),_0x38ce34['add'](_0x5de9ae));for(const [_0x16547e,_0x701530]of this['_dependencyTreeCache'])_0x701530['isVirtual']||(_0x701530[_0x158467(0x14d)][_0x158467(0xf0)]=0x0);return _0x3ee027;}[_0x2c560b(0x104)](_0x41ade5){const _0x309e92=_0x2c560b;return this['_dependencyTreeCache'][_0x309e92(0xef)](_0x41ade5);}[_0x2c560b(0x17f)](_0x559c71){const _0x4ce753=_0x2c560b;return u['generateAstNode'](_0x559c71[_0x4ce753(0xe5)],_0x559c71['formula'],this[_0x4ce753(0xcd)],this[_0x4ce753(0x17e)],this[_0x4ce753(0x117)]);}*[_0x2c560b(0xe7)](_0x117f45,_0x5ce12f){const _0x5b6f12=_0x2c560b,_0x5af8db=_0x117f45,_0x87c3d6=new Set();for(;_0x5af8db[_0x5b6f12(0xf0)]>0x0;){const _0x59e59c=_0x5af8db['pop']();if(_0x87c3d6[_0x5b6f12(0x102)](),_0x59e59c===void 0x0||_0x59e59c[_0x5b6f12(0xd2)]())continue;if(_0x59e59c['isAdded']()){yield _0x59e59c,_0x59e59c[_0x5b6f12(0x122)](),_0x5ce12f['add'](_0x59e59c[_0x5b6f12(0x159)]);continue;}const _0x609ee7=this[_0x5b6f12(0xfd)][_0x5b6f12(0x178)](_0x59e59c[_0x5b6f12(0x183)](),_0x5ce12f),_0x527c34=this[_0x5b6f12(0x127)][_0x5b6f12(0x169)](_0x59e59c[_0x5b6f12(0x183)](),_0x5ce12f);for(const _0x53d9b7 of _0x527c34)_0x609ee7[_0x5b6f12(0x174)](_0x53d9b7);for(const _0x5bf540 of _0x609ee7){const _0x55fdf5=this['_dependencyTreeCache']['get'](_0x5bf540);if(!_0x55fdf5)throw new Error(_0x5b6f12(0xdd));_0x55fdf5[_0x5b6f12(0x154)]()||_0x59e59c[_0x5b6f12(0xd2)]()||_0x87c3d6[_0x5b6f12(0x174)](_0x55fdf5);}if(_0x609ee7[_0x5b6f12(0x102)](),_0x87c3d6[_0x5b6f12(0x14e)]===0x0)yield _0x59e59c,_0x59e59c[_0x5b6f12(0x122)](),_0x5ce12f[_0x5b6f12(0x174)](_0x59e59c[_0x5b6f12(0x159)]);else{_0x59e59c[_0x5b6f12(0xdc)](),_0x5af8db[_0x5b6f12(0x11a)](_0x59e59c);for(const _0x533501 of _0x87c3d6)_0x5af8db[_0x5b6f12(0x11a)](_0x533501);}}_0x5af8db[_0x5b6f12(0xf0)]=0x0,_0x87c3d6[_0x5b6f12(0x102)]();}['_calculateRunList'](_0x538fa4){const _0x17799d=_0x2c560b,_0x3f65a2=[],_0x50bc16=new Set();for(const _0x5a8f42 of this[_0x17799d(0xe7)](_0x538fa4,_0x50bc16))_0x3f65a2[_0x17799d(0x11a)](_0x5a8f42);return _0x3f65a2;}}class k extends u[_0x2c560b(0xf6)]{async['_apply'](_0xdee140=!0x1){const _0x132369=_0x2c560b;_0xdee140?this['_runtimeService'][_0x132369(0x123)](u[_0x132369(0x156)]['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService']['setFormulaExecuteStage'](u[_0x132369(0x156)][_0x132369(0x160)]),this[_0x132369(0x103)]['next'](this[_0x132369(0xe8)][_0x132369(0x15b)]());const _0x22ba83=await this[_0x132369(0x112)]['generate'](),_0x14bd28=this[_0x132369(0xfa)];_0xdee140?(this[_0x132369(0xe8)][_0x132369(0x123)](u['FormulaExecuteStageType'][_0x132369(0x131)]),this[_0x132369(0xe8)][_0x132369(0xfe)](_0x22ba83[_0x132369(0xf0)])):(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)]['START_CALCULATION']),this['_runtimeService'][_0x132369(0x147)](_0x22ba83[_0x132369(0xf0)])),this[_0x132369(0x103)][_0x132369(0x181)](this['_runtimeService'][_0x132369(0x15b)]());let _0x180386=[];const _0x45aaa8=this[_0x132369(0x11b)]['getConfig'](u[_0x132369(0x16f)]),_0xe02fe2=(_0x45aaa8==null?void 0x0:_0x45aaa8[_0x132369(0xe1)])||u[_0x132369(0x108)];let _0xc369b=0x0;const _0xb2afb2=_0x22ba83[_0x132369(0xf0)];for(;_0x22ba83['length']>0x0;){const _0x4d9b8f=_0x22ba83[_0x132369(0x13d)](),_0x2af9b1={'node':u[_0x132369(0x106)](_0x4d9b8f[_0x132369(0xe5)],_0x4d9b8f[_0x132369(0x121)],this[_0x132369(0xcd)],this['_astTreeBuilder'],this[_0x132369(0x117)]),'refOffsetX':_0x4d9b8f[_0x132369(0x16b)],'refOffsetY':_0x4d9b8f[_0x132369(0xcf)]},_0x556337=_0x4d9b8f[_0x132369(0x13c)];if(_0xc369b%_0xe02fe2===0x0&&(await new Promise(_0x43d86a=>{const _0x11c34b=_0x132369,_0x2df04c=T[_0x11c34b(0x12f)](_0x43d86a);_0x180386['push'](_0x2df04c);}),_0xdee140?(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)][_0x132369(0x13a)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0xc369b+0x1)):(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)][_0x132369(0x14a)]),this['_runtimeService'][_0x132369(0xda)](_0xc369b+0x1)),this[_0x132369(0x103)]['next'](this[_0x132369(0xe8)]['getRuntimeState']()),this[_0x132369(0xe8)][_0x132369(0x107)]()||_0x2af9b1==null&&_0x556337==null)){this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)]['IDLE']),this[_0x132369(0xe8)][_0x132369(0x15f)](),this[_0x132369(0x10e)][_0x132369(0x181)](this['_runtimeService'][_0x132369(0x137)]());return;}this[_0x132369(0xe8)][_0x132369(0x10f)](_0x4d9b8f[_0x132369(0xfb)],_0x4d9b8f['column'],_0x4d9b8f[_0x132369(0x143)],_0x4d9b8f[_0x132369(0xf1)],_0x4d9b8f[_0x132369(0x118)],_0x4d9b8f[_0x132369(0xe5)]);let _0x4cd913;if(_0x556337!=null&&_0x4d9b8f['featureId']!=null){const {runtimeCellData:_0xb2eb0d,dirtyRanges:_0xe87d}=_0x556337(this[_0x132369(0x117)][_0x132369(0x13c)](),this[_0x132369(0xe8)][_0x132369(0x137)]());this[_0x132369(0xe8)][_0x132369(0x129)](_0x4d9b8f[_0x132369(0x16e)],_0xb2eb0d),this[_0x132369(0xe8)][_0x132369(0x17a)](_0x4d9b8f[_0x132369(0x16e)],_0xe87d);}else _0x2af9b1!=null&&(_0x14bd28['checkAsyncNode'](_0x2af9b1[_0x132369(0x150)])?_0x4cd913=await _0x14bd28[_0x132369(0x162)](_0x2af9b1):_0x4cd913=_0x14bd28[_0x132369(0x130)](_0x2af9b1),_0x4d9b8f[_0x132369(0x17c)]!=null?this[_0x132369(0xe8)]['setRuntimeOtherData'](_0x4d9b8f[_0x132369(0x17c)],_0x4d9b8f['refOffsetX'],_0x4d9b8f[_0x132369(0xcf)],_0x4cd913):this['_runtimeService'][_0x132369(0x179)](_0x4cd913));_0xc369b++;}return _0x180386[_0x132369(0x101)](_0x644c88=>_0x644c88()),_0x180386=[],_0xb2afb2>0x0?this[_0x132369(0xe8)][_0x132369(0x132)]():_0xdee140||this[_0x132369(0xe8)][_0x132369(0x10c)](),this['_runtimeService'][_0x132369(0x137)]();}}class B extends u[_0x2c560b(0x140)]{constructor(){const _0x5e712f=_0x2c560b;super(...arguments),v(this,_0x5e712f(0x10d),new Map()),v(this,_0x5e712f(0xed),new T['RTree'](!0x0));}['reset'](){const _0x223be6=_0x2c560b;this['_otherFormulaData'][_0x223be6(0x102)](),this['_featureFormulaData'][_0x223be6(0x102)](),this[_0x223be6(0x13b)][_0x223be6(0x102)](),this['_dependencyRTreeCache'][_0x223be6(0x102)](),this[_0x223be6(0x10d)][_0x223be6(0x102)](),this[_0x223be6(0x133)](),this['_otherFormulaDataMainData']['clear']();}[_0x2c560b(0xe6)](_0xe349c4,_0x7eca63,_0x227b58,_0x9b7fa4){const _0x4ee0db=_0x2c560b;this[_0x4ee0db(0xe2)][_0x4ee0db(0x145)](_0xe349c4)||this['_otherFormulaData']['set'](_0xe349c4,new Map());const _0x1dfcb7=this[_0x4ee0db(0xe2)][_0x4ee0db(0xef)](_0xe349c4);_0x1dfcb7[_0x4ee0db(0x145)](_0x7eca63)||_0x1dfcb7['set'](_0x7eca63,new Map());const _0x1dba17=_0x1dfcb7[_0x4ee0db(0xef)](_0x7eca63);_0x1dba17[_0x4ee0db(0x145)](_0x227b58)||_0x1dba17[_0x4ee0db(0x12d)](_0x227b58,new T[(_0x4ee0db(0x12a))]()),_0x1dba17['get'](_0x227b58)[_0x4ee0db(0x114)](_0x9b7fa4[_0x4ee0db(0x16b)],_0x9b7fa4[_0x4ee0db(0xcf)],_0x9b7fa4[_0x4ee0db(0x159)]);}['removeOtherFormulaDependency'](_0x4542dd,_0x2b8d8f,_0x4a87e0){const _0x2cdaeb=_0x2c560b,_0x451b1c=this[_0x2cdaeb(0xe2)][_0x2cdaeb(0xef)](_0x4542dd);if(_0x451b1c&&_0x451b1c['has'](_0x2b8d8f)){const _0x50427d=_0x451b1c[_0x2cdaeb(0xef)](_0x2b8d8f);_0x4a87e0[_0x2cdaeb(0x101)](_0x1f7e83=>{const _0x51ac1d=_0x2cdaeb,_0x46368e=_0x50427d[_0x51ac1d(0xef)](_0x1f7e83);_0x46368e!=null&&(_0x46368e[_0x51ac1d(0x135)]((_0x210768,_0x3f1f65,_0x39ece8)=>{const _0x42de7d=_0x51ac1d;this['_removeDependencyRTreeCache'](_0x39ece8),this[_0x42de7d(0x151)](_0x39ece8);}),_0x50427d[_0x51ac1d(0x10a)](_0x1f7e83),this[_0x51ac1d(0x175)][_0x51ac1d(0x10a)](_0x1f7e83));}),_0x50427d[_0x2cdaeb(0x14e)]===0x0&&_0x451b1c[_0x2cdaeb(0x10a)](_0x2b8d8f),_0x451b1c[_0x2cdaeb(0x14e)]===0x0&&this['_otherFormulaData']['delete'](_0x4542dd);}}[_0x2c560b(0x170)](_0x5ee908,_0x505bf2){const _0x306256=_0x2c560b,_0x14db72=this[_0x306256(0xe2)][_0x306256(0xef)](_0x5ee908);if(_0x505bf2&&_0x14db72&&_0x14db72[_0x306256(0x145)](_0x505bf2)){const _0x1d6972=_0x14db72[_0x306256(0xef)](_0x505bf2);this[_0x306256(0x134)](_0x5ee908,_0x505bf2);for(const _0xdd81a2 of _0x1d6972[_0x306256(0xf7)]()){const _0x44f140=_0x1d6972[_0x306256(0xef)](_0xdd81a2);_0x44f140!=null&&(_0x44f140[_0x306256(0x135)]((_0x5d4bd0,_0x24b62e,_0x13929d)=>{const _0x511aa2=_0x306256;this[_0x511aa2(0x10d)]['get'](_0x13929d)&&this['_removeAllTreeMap'](_0x13929d);}),this['_otherFormulaDataMainData'][_0x306256(0x10a)](_0xdd81a2));}_0x1d6972[_0x306256(0x102)]();}else{if(_0x14db72){for(const _0x520547 of _0x14db72['keys']()){const _0x31dfd1=_0x14db72[_0x306256(0xef)](_0x520547);this[_0x306256(0x134)](_0x5ee908,_0x520547);for(const _0x1a7441 of _0x31dfd1[_0x306256(0xf7)]()){const _0x1d29d9=_0x31dfd1['get'](_0x1a7441);_0x1d29d9!=null&&(_0x1d29d9[_0x306256(0x135)]((_0x5b1304,_0x43098d,_0x444da9)=>{const _0x4db2ff=_0x306256;this[_0x4db2ff(0x10d)][_0x4db2ff(0xef)](_0x444da9)&&this[_0x4db2ff(0x151)](_0x444da9);}),this[_0x306256(0x175)][_0x306256(0x10a)](_0x1a7441));}}this[_0x306256(0xe2)]['delete'](_0x5ee908);}}}[_0x2c560b(0x17d)](_0x3f498f,_0x416bc5,_0x26e742,_0x417267){const _0x5d03f2=_0x2c560b;this[_0x5d03f2(0xd1)][_0x5d03f2(0x145)](_0x3f498f)||this[_0x5d03f2(0xd1)][_0x5d03f2(0x12d)](_0x3f498f,new Map());const _0x31f45e=this[_0x5d03f2(0xd1)][_0x5d03f2(0xef)](_0x3f498f);_0x31f45e['has'](_0x416bc5)||_0x31f45e[_0x5d03f2(0x12d)](_0x416bc5,new Map()),_0x31f45e[_0x5d03f2(0xef)](_0x416bc5)['set'](_0x26e742,_0x417267[_0x5d03f2(0x159)]);}[_0x2c560b(0x11f)](_0x24e1af,_0x5502d8,_0x59d2de){const _0x322bb4=_0x2c560b,_0x44a5ec=this[_0x322bb4(0xd1)][_0x322bb4(0xef)](_0x24e1af);if(_0x44a5ec&&_0x44a5ec[_0x322bb4(0x145)](_0x5502d8)){const _0x1c55da=_0x44a5ec[_0x322bb4(0xef)](_0x5502d8);_0x59d2de['forEach'](_0x60de88=>{const _0x5e49c9=_0x322bb4,_0x4537f2=_0x1c55da[_0x5e49c9(0xef)](_0x60de88);_0x4537f2!=null&&(this['_removeDependencyRTreeCache'](_0x4537f2),_0x1c55da[_0x5e49c9(0x10a)](_0x60de88),this['_removeAllTreeMap'](_0x4537f2));});}}['clearFeatureFormulaDependency'](_0x3d59cb,_0xdb1629){const _0x40ecc9=_0x2c560b,_0x131965=this['_featureFormulaData'][_0x40ecc9(0xef)](_0x3d59cb);if(_0xdb1629&&_0x131965&&_0x131965[_0x40ecc9(0x145)](_0xdb1629)){const _0x47015c=_0x131965[_0x40ecc9(0xef)](_0xdb1629);this['_removeDependencyRTreeCacheById'](_0x3d59cb,_0xdb1629),_0x47015c[_0x40ecc9(0x101)](_0x2eba35=>{const _0x110f04=_0x40ecc9;_0x2eba35!=null&&this[_0x110f04(0x151)](_0x2eba35);}),_0x47015c[_0x40ecc9(0x102)]();}else _0x131965&&(_0x131965[_0x40ecc9(0x101)]((_0x2889c3,_0x22bd09)=>{const _0x4a3f80=_0x40ecc9;this[_0x4a3f80(0x134)](_0x3d59cb,_0x22bd09),_0x2889c3['forEach'](_0x30b4f1=>{const _0x1b43df=_0x4a3f80;_0x30b4f1!=null&&this[_0x1b43df(0x151)](_0x30b4f1);});}),this['_featureFormulaData']['delete'](_0x3d59cb));}['addFormulaDependency'](_0xf736ff,_0x4595d2,_0x4a328b,_0x48775a,_0x1ca936){const _0x405abf=_0x2c560b;this['_formulaData'][_0x405abf(0x145)](_0xf736ff)||this['_formulaData'][_0x405abf(0x12d)](_0xf736ff,new Map());const _0x329321=this[_0x405abf(0x13b)][_0x405abf(0xef)](_0xf736ff);_0x329321[_0x405abf(0x145)](_0x4595d2)||_0x329321[_0x405abf(0x12d)](_0x4595d2,new T[(_0x405abf(0x12a))]()),_0x329321[_0x405abf(0xef)](_0x4595d2)[_0x405abf(0x114)](_0x4a328b,_0x48775a,_0x1ca936[_0x405abf(0x159)]);}[_0x2c560b(0x128)](_0x1f7b13,_0x212e0d,_0x2015f5,_0x50b720){const _0x12170b=_0x2c560b,_0x1a061a=this[_0x12170b(0x13b)][_0x12170b(0xef)](_0x1f7b13);if(_0x1a061a&&_0x1a061a['has'](_0x212e0d)){const _0x428aaa=_0x1a061a[_0x12170b(0xef)](_0x212e0d),_0x33b369=_0x428aaa[_0x12170b(0x177)](_0x2015f5,_0x50b720);if(_0x33b369==null)return;this[_0x12170b(0x100)](_0x33b369),_0x428aaa[_0x12170b(0x166)](_0x2015f5,_0x50b720),this[_0x12170b(0x151)](_0x33b369);}}['clearFormulaDependency'](_0x44d815,_0x1b756d){const _0x45b98a=_0x2c560b,_0x58d50f=this[_0x45b98a(0x13b)][_0x45b98a(0xef)](_0x44d815);if(_0x1b756d&&_0x58d50f&&_0x58d50f[_0x45b98a(0x145)](_0x1b756d)){const _0x370ab0=_0x58d50f['get'](_0x1b756d);this[_0x45b98a(0x134)](_0x44d815,_0x1b756d),_0x370ab0['forValue']((_0x3bae3e,_0x4404ec,_0x13a817)=>{const _0x309092=_0x45b98a;if(_0x13a817==null)return!0x0;this[_0x309092(0x151)](_0x13a817);}),_0x370ab0[_0x45b98a(0x164)]();}else _0x58d50f&&(_0x58d50f[_0x45b98a(0x101)]((_0x1fac8e,_0x3884e2)=>{const _0x2413ad=_0x45b98a;this[_0x2413ad(0x134)](_0x44d815,_0x3884e2),_0x1fac8e[_0x2413ad(0x135)]((_0x3bcd05,_0x4d9c0e,_0x24aaa6)=>{const _0x4cf691=_0x2413ad;if(_0x24aaa6==null)return!0x0;this[_0x4cf691(0x151)](_0x24aaa6);});}),this[_0x45b98a(0x13b)][_0x45b98a(0x10a)](_0x44d815));}['_removeDependencyRTreeCache'](_0x916bac){const _0x36621e=_0x2c560b;if(_0x916bac==null)return;const _0x489c28=this['_allTreeMap'][_0x36621e(0xef)](_0x916bac);if(_0x489c28){const _0x22a92f=[];for(const [_0x32f839,_0x26de71]of _0x489c28)for(const [_0x4691aa,_0x2f8378]of _0x26de71)_0x22a92f['push']({'unitId':_0x32f839,'sheetId':_0x4691aa,'range':_0x2f8378,'id':_0x916bac});this[_0x36621e(0xed)][_0x36621e(0x119)](_0x22a92f);}}['removeFormulaDependencyByDefinedName'](_0xeab3c0,_0x573175){const _0x272180=_0x2c560b,_0x468bbc=this[_0x272180(0xd8)][_0x272180(0xef)](_0xeab3c0);if(_0x468bbc){const _0xf2bfd4=_0x468bbc['get'](_0x573175);if(_0xf2bfd4){for(const _0x2729e3 of _0xf2bfd4)this[_0x272180(0x100)](_0x2729e3),this[_0x272180(0x151)](_0x2729e3);_0xf2bfd4[_0x272180(0x102)]();}}}[_0x2c560b(0xd7)](){const _0x2b166a=_0x2c560b;this[_0x2b166a(0xed)][_0x2b166a(0xd7)]();}[_0x2c560b(0x155)](){const _0x52fa45=_0x2c560b;this[_0x52fa45(0xed)][_0x52fa45(0x155)]();}[_0x2c560b(0x151)](_0x28fc37){const _0x545d87=_0x2c560b;_0x28fc37!=null&&this[_0x545d87(0x10d)][_0x545d87(0x10a)](_0x28fc37);}['_addAllTreeMap'](_0x31462e){const _0x1d474e=_0x2c560b;var _0x169740,_0x2ce41f;const _0xc8d98f=_0x31462e[_0x1d474e(0x14d)];let _0x47eccd=this[_0x1d474e(0x10d)][_0x1d474e(0xef)](_0x31462e[_0x1d474e(0x159)]);for(let _0x2ea88c=0x0;_0x2ea88c<_0xc8d98f[_0x1d474e(0xf0)];_0x2ea88c++){const _0x980ae3=_0xc8d98f[_0x2ea88c];let {unitId:_0x259439,sheetId:_0x2b5209,range:_0x196df5}=_0x980ae3;_0x47eccd||(_0x47eccd=new Map(),this[_0x1d474e(0x10d)][_0x1d474e(0x12d)](_0x31462e[_0x1d474e(0x159)],_0x47eccd)),_0x47eccd[_0x1d474e(0x145)](_0x259439)||_0x47eccd[_0x1d474e(0x12d)](_0x259439,new Map());const _0x45cad4=(_0x169740=_0x47eccd==null?void 0x0:_0x47eccd[_0x1d474e(0xef)](_0x259439))==null?void 0x0:_0x169740[_0x1d474e(0xef)](_0x2b5209);_0x45cad4&&(_0x196df5={'startRow':Math['min'](_0x196df5[_0x1d474e(0x13f)],_0x45cad4['startRow']),'startColumn':Math[_0x1d474e(0x124)](_0x196df5['startColumn'],_0x45cad4[_0x1d474e(0x149)]),'endRow':Math[_0x1d474e(0x139)](_0x196df5[_0x1d474e(0xe4)],_0x45cad4['endRow']),'endColumn':Math[_0x1d474e(0x139)](_0x196df5['endColumn'],_0x45cad4['endColumn'])}),(_0x2ce41f=_0x47eccd[_0x1d474e(0xef)](_0x259439))==null||_0x2ce41f[_0x1d474e(0x12d)](_0x2b5209,_0x196df5);}}}var j=Object[_0x2c560b(0x167)],X=(_0x5550d0,_0x18ebc3,_0x4942bd,_0xc1d5ab)=>{const _0x5b6716=_0x2c560b;for(var _0x88e31a=_0xc1d5ab>0x1?void 0x0:_0xc1d5ab?j(_0x18ebc3,_0x4942bd):_0x18ebc3,_0x42451c=_0x5550d0[_0x5b6716(0xf0)]-0x1,_0xd9c2d5;_0x42451c>=0x0;_0x42451c--)(_0xd9c2d5=_0x5550d0[_0x42451c])&&(_0x88e31a=_0xd9c2d5(_0x88e31a)||_0x88e31a);return _0x88e31a;};const Y=Number[_0x2c560b(0x13e)](0x690eeeff);function _0x52ea(){const _0x44994a=['execute','START_CALCULATION_ARRAY_FORMULA','markedAsSuccessfullyExecuted','_restDependencyTreeId','_removeDependencyRTreeCacheById','forValue','FormulaDependencyTreeType','getAllRuntimeData','refTree','max','CURRENTLY_CALCULATING_ARRAY_FORMULA','_formulaData','getDirtyData','pop','parseInt','startRow','DependencyManagerBaseService','addFormulaDependencyByDefinedName','3MWVPPA','rowCount','_initLicenseValid','has','message','setTotalFormulasToCalculate','_dependencyTreeCache','startColumn','CURRENTLY_CALCULATING','_getUpdateTreeListAndMakeDependency','3222224OWphvL','rangeList','size','addFormulaDependency','node','_removeAllTreeMap','dirtyRanges','getClearDependencyTreeCache','isAdded','closeKdTree','FormulaExecuteStageType','IDependencyManagerService','getConfig','treeId','getDirtyRanges','getRuntimeState','_createFDtree','clearFeatureFormulaDependency','enableCycleDependency','markedAsStopFunctionsExecuted','START_DEPENDENCY','_isCyclicUtilMap','executeAsync','_calculateRunList','reset','defineProperty','realDeleteValue','getOwnPropertyDescriptor','_config','bulkSearch','getFormulaDependency','refOffsetX','_registerFormulas','_checkIsCycleDependency','featureId','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','clearOtherFormulaDependency','getOtherFormulaDependency','featureDirtyRanges','OTHER_FORMULA','add','_otherFormulaDataMainData','return\x20','getValue','searchDependency','setRuntimeData','setRuntimeFeatureRange','DependentOn','formulaId','addFeatureFormulaDependency','_astTreeBuilder','_getTreeNode','isForceCalculate','next','unshiftString','toRTreeItem','_lexer','isDirty','refOffsetY','1166yVMYij','_featureFormulaData','isSkip','dispose','prototype','ICalculateFormulaService','670225cuENVu','openKdTree','_definedNameMap','default','setCompletedFormulasCount','notExecuteFormula','setAdded','ParentDependencyTree\x20object\x20is\x20null','_getFirstCellOfRange','addOtherFormulaDependencyMainData','hasOwnProperty','intervalCount','_otherFormulaData','_getFeatureFormulaTree','endRow','unitId','addOtherFormulaDependency','_traverse','_runtimeService','Module','getExcludedRange','2366hdLJqr','isCache','_dependencyRTreeCache','generate','get','length','columnCount','getOtherFormulaData','2DEatQP','generateRandomDependencyTreeId','type','CalculateFormulaService','keys','81731BHwUdA','column','_interpreter','row','_registerOtherFormulas','_dependencyManagerService','setTotalArrayFormulasToCalculate','FEATURE_FORMULA','_removeDependencyRTreeCache','forEach','clear','_executionInProgressListener$','_getTreeById','24882syggLe','generateAstNode','isStopExecution','DEFAULT_INTERVAL_COUNT','5660wiJZlD','delete','_injector','markedAsNoFunctionsExecuted','_allTreeMap','_executionCompleteListener$','setCurrent','416628dHlXwU','UniverLicensePlugin','_formulaDependencyGenerator','dependencySheetName','setValue','getSheetFeatureLimit','isFeatureAuthorizedWithinTime','_currentConfigService','subUnitId','bulkRemove','push','_configService','_otherFormulaManagerService','UniverProFormulaEnginePlugin','DependencyManagerService','removeFeatureFormulaDependency','16SFjnLw','formula','setSkip','setFormulaExecuteStage','min','2748vdeoEn','IFormulaDependencyGenerator','_dependencyRTreeCacheForAddressFunction','removeFormulaDependency','setRuntimeFeatureCellData','ObjectMatrix','FormulaDependencyTreeVirtual','4362875OSwRQe','set','toStringTag','requestImmediateMacroTask'];_0x52ea=function(){return _0x44994a;};return _0x52ea();}exports[_0x2c560b(0x11d)]=class extends u['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0x1024b7=_0x2c560b;var _0x55703c,_0x1956f4;this[_0x1024b7(0x144)]()?(_0x55703c=this[_0x1024b7(0x168)])!=null&&_0x55703c[_0x1024b7(0xdb)]||[[u[_0x1024b7(0xd5)],{'useClass':k}],[u[_0x1024b7(0x157)],{'useClass':B}],[u[_0x1024b7(0x126)],{'useClass':K}]][_0x1024b7(0x101)](_0x1a2977=>this[_0x1024b7(0x10b)][_0x1024b7(0x174)](_0x1a2977)):(_0x1956f4=this[_0x1024b7(0x168)])!=null&&_0x1956f4[_0x1024b7(0xdb)]||[[u['ICalculateFormulaService'],{'useClass':u[_0x1024b7(0xf6)]}],[u['IDependencyManagerService'],{'useClass':u[_0x1024b7(0x11e)]}],[u[_0x1024b7(0x126)],{'useClass':u['FormulaDependencyGenerator']}]]['forEach'](_0x562bf3=>this['_injector']['add'](_0x562bf3));}[_0x2c560b(0x144)](){const _0xe4121c=_0x2c560b;var _0x155c94;const _0x3314a7=(_0x155c94=this[_0xe4121c(0x11b)][_0xe4121c(0x158)](C['LS_CONFIG_KEY']))!=null?_0x155c94:{},{ls:_0x3f4219,pbk:_0x536aac}=_0x3314a7;if(!_0x3f4219||!_0x536aac)return!0x1;const _0x29b649=C[_0xe4121c(0x182)](U,z),_0x34f673=new Function(_0xe4121c(0x176)+_0x29b649)()(_0x3f4219,_0x536aac),_0x29b3c5=_0x34f673[_0xe4121c(0x146)];return _0x34f673['valid']&&C[_0xe4121c(0x116)](_0x29b3c5,'sf',Y)?C[_0xe4121c(0x115)](_0x29b3c5,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x2c560b(0x11d)]=X([T[_0x2c560b(0x17b)](C[_0x2c560b(0x111)])],exports[_0x2c560b(0x11d)]),Object[_0x2c560b(0xf7)](u)[_0x2c560b(0x101)](_0x57fa51=>{const _0x10be30=_0x2c560b;_0x57fa51!==_0x10be30(0xd9)&&!Object[_0x10be30(0xd4)][_0x10be30(0xe0)]['call'](exports,_0x57fa51)&&Object['defineProperty'](exports,_0x57fa51,{'enumerable':!0x0,'get':()=>u[_0x57fa51]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x453e2b,_0x6ef216){var _0xf81bfa=_0x1851,_0x5d7f19=_0x453e2b();while(!![]){try{var _0x2ff3fa=-parseInt(_0xf81bfa(0x106))/0x1*(parseInt(_0xf81bfa(0x10a))/0x2)+parseInt(_0xf81bfa(0x10e))/0x3+parseInt(_0xf81bfa(0x104))/0x4*(-parseInt(_0xf81bfa(0x108))/0x5)+parseInt(_0xf81bfa(0x109))/0x6*(parseInt(_0xf81bfa(0x107))/0x7)+parseInt(_0xf81bfa(0x10b))/0x8+-parseInt(_0xf81bfa(0x10d))/0x9*(-parseInt(_0xf81bfa(0x105))/0xa)+parseInt(_0xf81bfa(0x10c))/0xb;if(_0x2ff3fa===_0x6ef216)break;else _0x5d7f19['push'](_0x5d7f19['shift']());}catch(_0xd27548){_0x5d7f19['push'](_0x5d7f19['shift']());}}}(_0xb898,0x18ee8));function _0x1851(_0x4bb637,_0x514782){var _0xb898b2=_0xb898();return _0x1851=function(_0x1851a7,_0x33f47e){_0x1851a7=_0x1851a7-0x104;var _0x1542a0=_0xb898b2[_0x1851a7];return _0x1542a0;},_0x1851(_0x4bb637,_0x514782);}export*from'@univerjs/engine-formula/facade';function _0xb898(){var _0x3aeec7=['114581LsHJot','622699lUEDWw','510340sdYaTo','6dMyspT','2tcsEEy','859960pnCOKp','62667FvLNoG','10107mBWxHv','339753oLEeNU','4VGsfak','30LFepTC'];_0xb898=function(){return _0x3aeec7;};return _0xb898();}
1
+ (function(_0x465327,_0x2e8aad){var _0x102332=_0x2125,_0x3d5033=_0x465327();while(!![]){try{var _0x592649=-parseInt(_0x102332(0x1fe))/0x1*(parseInt(_0x102332(0x1f7))/0x2)+-parseInt(_0x102332(0x1fc))/0x3*(-parseInt(_0x102332(0x1fa))/0x4)+parseInt(_0x102332(0x1f8))/0x5+parseInt(_0x102332(0x1fd))/0x6*(-parseInt(_0x102332(0x1f5))/0x7)+parseInt(_0x102332(0x1f6))/0x8+-parseInt(_0x102332(0x1f9))/0x9*(parseInt(_0x102332(0x1f4))/0xa)+parseInt(_0x102332(0x1fb))/0xb;if(_0x592649===_0x2e8aad)break;else _0x3d5033['push'](_0x3d5033['shift']());}catch(_0x31b180){_0x3d5033['push'](_0x3d5033['shift']());}}}(_0x39a2,0x7396f));function _0x39a2(){var _0x20ef49=['3rLOzsN','1186302VnxHdI','152QOZrwE','170PIjBRt','7mEbeYa','1870840iQfNzf','1464VjwHJP','2634565PsiYvy','345312PkqFdS','437432UdMorH','6210226pSGsSH'];_0x39a2=function(){return _0x20ef49;};return _0x39a2();}function _0x2125(_0x43b612,_0x500ff9){var _0x39a213=_0x39a2();return _0x2125=function(_0x21256a,_0x5c42fc){_0x21256a=_0x21256a-0x1f4;var _0x1baf4b=_0x39a213[_0x21256a];return _0x1baf4b;},_0x2125(_0x43b612,_0x500ff9);}export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x303e(_0x539529,_0x5414cf){const _0x48bbc4=_0x48bb();return _0x303e=function(_0x303e1b,_0x3bac6b){_0x303e1b=_0x303e1b-0x14f;let _0x131fb5=_0x48bbc4[_0x303e1b];return _0x131fb5;},_0x303e(_0x539529,_0x5414cf);}function _0x48bb(){const _0x34578f=['columnCount','type','getOtherFormulaData','setRuntimeFeatureRange','getDirtyRanges','_allTreeMap','refOffsetY','getOtherFormulaDependency','106161huNafW','forEach','_getTreeNode','notExecuteFormula','set','get','message','_config','setRuntimeFeatureCellData','bulkSearch','_formulaDependencyGenerator','markedAsSuccessfullyExecuted','forValue','getRuntimeState','7264ekQmLq','180sOjJpU','execute','_definedNameMap','_isCyclicUtilMap','setTotalArrayFormulasToCalculate','_astTreeBuilder','getClearDependencyTreeCache','parseInt','IDLE','25498VyDqOx','endColumn','addOtherFormulaDependencyMainData','formulaId','_formulaData','subUnitId','add','_getUpdateTreeListAndMakeDependency','ParentDependencyTree\x20object\x20is\x20null','4KJbALF','size','_dependencyTreeCache','_removeDependencyRTreeCache','addOtherFormulaDependency','_injector','isSkip','clear','row','enableCycleDependency','_otherFormulaData','dispose','setFormulaExecuteStage','_dependencyRTreeCache','START_CALCULATION','rangeList','setSkip','START_DEPENDENCY_ARRAY_FORMULA','markedAsNoFunctionsExecuted','_dependencyManagerService','getDirtyData','23688OCfaHo','isCache','dirtyRanges','max','FEATURE_FORMULA','removeFeatureFormulaDependency','addFormulaDependency','searchDependency','min','delete','_calculateRunList','clearFormulaDependency','3104gWkjMR','5EuWUopu\x206gWIDPUopu(CoWgubg,\x20PEKCoWlgD)\x20{\x20\x20\x20\x20UID\x20{\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20CoWgubgnu5p42IUsII2D\x20=\x20CoWgubg.bPCoU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20pIozoutgbb2zg\x20=\x20q9Xf.P2Ibg(2UpK(CoWgubgnu5p42IUsII2D[A]));\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!pIozoutgbb2zg.E6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pIozoutgbb2zg.E6\x20=\x20fE7KgI(CoWgubgnu5p42IUsII2D[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20obLpIagI\x20=\x20UDPgp5\x20LpIagIGCpK2C9WpPg\x20!==\x20\x27Eu6g5oug6\x27\x20&&\x20bgC5\x20oubU2uWgp5\x20LpIagIGCpK2C9WpPg;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20WpuUgyU\x20=\x20obLpIagI\x20?\x20bgC5\x20:\x20kou6pk;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[A]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(7gbb2zgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[x]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(bozu2UEIgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozur2Co6\x20=\x20WpuUgyU.__NgIo5D__(bozu2UEIg,\x207gbb2zg,\x20PEKCoWlgD);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x206p72ou\x20=\x20pIozoutgbb2zg.67;\x20\x20\x20\x20\x20\x20\x20\x205EuWUopu\x20obBp72out2UWJouz(p42UUgIu,\x20pcpbU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu\x20=\x20p42UUgIu.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU\x20=\x20pcpbU.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu42IUb\x20=\x20P2UUgIu.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU42IUb\x20=\x20JpbU.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!P2UUgIu.ouWCE6gb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu\x20===\x20JpbU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(P2UUgIu42IUb.CguzUJ\x20<\x20A\x20||\x20P2UUgIu42IUb[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x2052Cbg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu9E55oy\x20=\x20P2UUgIu42IUb.bCoWg(T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU9E55oy\x20=\x20JpbU42IUb.bCoWg(-P2UUgIu42IUb.CguzUJ\x20+\x20T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu9E55oy\x20===\x20JpbU9E55oy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20CgU\x206p72our2Co6\x20=\x20(6p72ou\x20&&\x206p72ou.CguzUJ)\x20?\x206p72ou.bp7g((67nUg7)\x20=>\x20obBp72out2UWJouz(67nUg7,\x20CpW2Uopu.JpbUu27g))\x20:\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(CpW2Uopu.JpbUu27g\x20===\x20\x27CpW2CJpbU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206p72our2Co6\x20=\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20N2Co6\x20=\x20bozur2Co6\x20&&\x206p72our2Co6;\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20pIozoutgbb2zg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20W2UWJ\x20(gIIpI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6:\x2052Cbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_currentConfigService','openKdTree','reset','resolve','keys','getDirtyNameMap','node','length','rowCount','setValue','startColumn','getFormulaData','_otherFormulaDataMainData','has','getUnitData','setRuntimeOtherData','setCompletedArrayFormulasCount','_configService','isVirtual','next','_generateTreeList','getFormulaDependency','unitId','10dGwVzo','removeFormulaDependencyByDefinedName','getValue','featureId','executeAsync','_featureFormulaData','_traverse','2382240jnqKIo','getOwnPropertyDescriptor','_otherFormulaManagerService','pop','generate','defineProperty','formula','145oBxoOC','checkAsyncNode','_getFirstCellOfRange','removeOtherFormulaDependency','setCurrent','treeId','addFeatureFormulaDependency','_checkIsCycleDependency','toRTreeItem','column','_runtimeService','setTotalFormulasToCalculate','START_DEPENDENCY','clearOtherFormulaDependency','_initLicenseValid','_executionCompleteListener$','_convertDirtyRangesToUnitRange','_executionInProgressListener$','symbol','180887ZNTlFT','clearFeatureFormulaDependency','_dependencyRTreeCacheForAddressFunction','refOffsetX','_createFDtree','_registerFormulas','hasOtherFormulaDataMainData','_restDependencyTreeId','closeKdTree','markedAsStopFunctionsExecuted','_lexer','_apply','_removeAllTreeMap','getAllRuntimeData','START_CALCULATION_ARRAY_FORMULA','_removeDependencyRTreeCacheById','getConfig','isAdded','featureDirtyRanges','isDirty','push','1602QstvnM','addFormulaDependencyByDefinedName'];_0x48bb=function(){return _0x34578f;};return _0x48bb();}const _0x18bbbb=_0x303e;(function(_0x2c256d,_0x12be1d){const _0x19b02f=_0x303e,_0x58b118=_0x2c256d();while(!![]){try{const _0x20e915=-parseInt(_0x19b02f(0x17c))/0x1+-parseInt(_0x19b02f(0x1bc))/0x2*(-parseInt(_0x19b02f(0x19b))/0x3)+parseInt(_0x19b02f(0x1dd))/0x4*(-parseInt(_0x19b02f(0x169))/0x5)+parseInt(_0x19b02f(0x1aa))/0x6*(-parseInt(_0x19b02f(0x1d1))/0x7)+parseInt(_0x19b02f(0x1a9))/0x8*(parseInt(_0x19b02f(0x191))/0x9)+-parseInt(_0x19b02f(0x15b))/0xa*(parseInt(_0x19b02f(0x1b3))/0xb)+parseInt(_0x19b02f(0x162))/0xc;if(_0x20e915===_0x12be1d)break;else _0x58b118['push'](_0x58b118['shift']());}catch(_0xf57a01){_0x58b118['push'](_0x58b118['shift']());}}}(_0x48bb,0x1e329));var j=Object[_0x18bbbb(0x167)],H=(_0x355acc,_0x5cec8b,_0x54821d)=>_0x5cec8b in _0x355acc?j(_0x355acc,_0x5cec8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54821d}):_0x355acc[_0x5cec8b]=_0x54821d,v=(_0x510aa0,_0x1341ea,_0x95c306)=>H(_0x510aa0,typeof _0x1341ea!=_0x18bbbb(0x17b)?_0x1341ea+'':_0x1341ea,_0x95c306);import{UniverLicensePlugin as _0x2853a9,LS_CONFIG_KEY as _0x3a9d8c,unshiftString as _0x488667,isFeatureAuthorizedWithinTime as _0x5e7505,getSheetFeatureLimit as _0x3aecaa}from'@univerjs-pro/license';import{ObjectMatrix as _0x3660a3,requestImmediateMacroTask as _0x2e50d1,RTree as _0x33bb53,DependentOn as _0x3bb8b9}from'@univerjs/core';import{FormulaDependencyGenerator as _0x554f84,generateRandomDependencyTreeId as _0x53adff,FormulaDependencyTree as _0x1e5b1c,FormulaDependencyTreeType as _0x325632,FormulaDependencyTreeVirtual as _0xc4fe78,generateAstNode as _0x9a6b2,CalculateFormulaService as _0x6ddc63,FormulaExecuteStageType as _0x5692a7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x288494,DEFAULT_INTERVAL_COUNT as _0xb10f38,DependencyManagerBaseService as _0x243c29,UniverFormulaEnginePlugin as _0x4cc211,ICalculateFormulaService as _0x45ab7e,IDependencyManagerService as _0x5853ce,IFormulaDependencyGenerator as _0x5e4e24,DependencyManagerService as _0x40604e}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'Z',0x1:'z',0x2:'a',0x3:'Y',0x4:'P',0x5:'f',0x6:'d',0x7:'m',0x8:'U',0x9:'S','h':'0','T':'1','A':'2','x':'3','i':'4','v':'5','M':'6','w':'7','H':'8','Y':'9','K':'b','W':'c','g':'e','z':'g','J':'h','o':'i','e':'j','a':'k','C':'l','u':'n','p':'o','P':'p','O':'q','I':'r','b':'s','U':'t','E':'u','N':'v','k':'w','y':'x','D':'y','s':'A','m':'B','Z':'C','B':'D','S':'E','V':'F','G':'G','c':'H','n':'I','q':'J','l':'K','R':'L','t':'M','f':'N','X':'O','j':'Q','Q':'R','F':'T','r':'V','L':'W','d':'X'},le=_0x18bbbb(0x1de);class de extends _0x554f84{constructor(){const _0x2639c4=_0x18bbbb;super(...arguments),v(this,_0x2639c4(0x1be),new Map());}['dispose'](){const _0x5ed78f=_0x18bbbb;super[_0x5ed78f(0x1c7)](),this[_0x5ed78f(0x1be)][_0x5ed78f(0x1c3)]();}async[_0x18bbbb(0x166)](){const _0x39eb59=_0x18bbbb;this['_updateRangeFlatten']();const _0x4c669d=this[_0x39eb59(0x1df)][_0x39eb59(0x14f)](),_0x24647a=this[_0x39eb59(0x164)][_0x39eb59(0x195)](),_0xf2edce=this['_currentConfigService'][_0x39eb59(0x1b0)]();_0xf2edce!=null&&Object['keys'](_0xf2edce)['forEach'](_0x5a093c=>{_0x5a093c!=null&&Object['keys'](_0xf2edce[_0x5a093c])['forEach'](_0x288a1e=>{const _0x128eca=_0x303e;_0x288a1e!=null&&(this[_0x128eca(0x1cf)][_0x128eca(0x176)](_0x5a093c,_0x288a1e),this[_0x128eca(0x1cf)][_0x128eca(0x17d)](_0x5a093c,_0x288a1e),this[_0x128eca(0x1cf)]['clearFormulaDependency'](_0x5a093c,_0x288a1e));});});const _0x1d3576=this[_0x39eb59(0x1df)][_0x39eb59(0x152)]();await this[_0x39eb59(0x158)](_0x4c669d,_0x24647a,_0x1d3576),this[_0x39eb59(0x1cf)][_0x39eb59(0x1e0)]();const _0x4b9b51=this[_0x39eb59(0x1ba)](),_0x268a63=this[_0x39eb59(0x1db)](_0x4b9b51);return this['_checkIsCycleDependency'](_0x268a63)&&this[_0x39eb59(0x173)][_0x39eb59(0x1c5)](),this['_dependencyTreeCache']['clear'](),this[_0x39eb59(0x17e)][_0x39eb59(0x1c3)](),this[_0x39eb59(0x1cf)]['closeKdTree'](),Promise[_0x39eb59(0x1e2)](_0x268a63);}['_isCyclicUtilMap'](_0x19c07d,_0x116cb8){const _0x5f1c1e=_0x18bbbb,_0x318bc0=[_0x19c07d];for(;_0x318bc0['length']>0x0;){const _0x102e68=_0x318bc0[_0x318bc0[_0x5f1c1e(0x1e6)]-0x1];if((_0x116cb8[_0x5f1c1e(0x1a0)](_0x102e68)||0x0)===0x0){_0x116cb8['set'](_0x102e68,0x1);const _0x40b68e=this[_0x5f1c1e(0x1be)][_0x5f1c1e(0x1a0)](_0x102e68);if(_0x40b68e==null){_0x116cb8[_0x5f1c1e(0x19f)](_0x102e68,0x2),_0x318bc0['pop']();continue;}const _0x1da6d6=this[_0x5f1c1e(0x1cf)][_0x5f1c1e(0x1d8)](_0x40b68e[_0x5f1c1e(0x171)]());for(const _0x4081a7 of _0x1da6d6){const _0xe8cf02=_0x116cb8[_0x5f1c1e(0x1a0)](_0x4081a7)||0x0;if(_0xe8cf02===0x1)return!0x0;_0xe8cf02===0x0&&_0x318bc0[_0x5f1c1e(0x190)](_0x4081a7);}}else _0x116cb8['set'](_0x102e68,0x2),_0x318bc0['pop']();}return!0x1;}[_0x18bbbb(0x170)](_0x789aff){const _0xa70d25=_0x18bbbb,_0x3cf374=new Map();for(const _0x5cf796 of _0x789aff)if(!_0x3cf374[_0xa70d25(0x151)](_0x5cf796[_0xa70d25(0x16e)])&&this[_0xa70d25(0x1ad)](_0x5cf796[_0xa70d25(0x16e)],_0x3cf374))return!0x0;return _0x3cf374['clear'](),!0x1;}['_getFeatureFormulaTree'](_0xb8bee7,_0x1fc6d2,_0x44df33){const _0xd3a0c5=_0x18bbbb,{unitId:_0x3a003b,subUnitId:_0x3e8e27,dependencyRanges:_0x52ccda,getDirtyData:_0x5a1e60}=_0x44df33,_0x5202f3=_0x1fc6d2||_0x53adff(this['_dependencyManagerService']),_0x2cfd1a=new _0x1e5b1c(_0x5202f3);_0x2cfd1a[_0xd3a0c5(0x15a)]=_0x3a003b,_0x2cfd1a[_0xd3a0c5(0x1b8)]=_0x3e8e27,_0x2cfd1a[_0xd3a0c5(0x1cb)]=_0x52ccda,_0x2cfd1a[_0xd3a0c5(0x1d0)]=_0x5a1e60;const _0x863fce=_0x5a1e60(this[_0xd3a0c5(0x1df)][_0xd3a0c5(0x1d0)](),this[_0xd3a0c5(0x173)][_0xd3a0c5(0x189)]()),_0x43571e=this[_0xd3a0c5(0x179)](_0x863fce[_0xd3a0c5(0x1d3)]);return _0x2cfd1a[_0xd3a0c5(0x18e)]=_0x43571e,_0x2cfd1a[_0xd3a0c5(0x15e)]=_0xb8bee7,_0x2cfd1a[_0xd3a0c5(0x194)]=_0x325632[_0xd3a0c5(0x1d5)],this[_0xd3a0c5(0x1cf)][_0xd3a0c5(0x16f)](_0x3a003b,_0x3e8e27,_0xb8bee7,_0x2cfd1a),this[_0xd3a0c5(0x1be)][_0xd3a0c5(0x19f)](_0x2cfd1a['treeId'],_0x2cfd1a),this[_0xd3a0c5(0x1cf)]['getFeatureFormulaDependency'](_0x44df33['unitId'],_0x44df33[_0xd3a0c5(0x1b8)],_0xb8bee7)&&(_0x2cfd1a[_0xd3a0c5(0x1d2)]=!0x0),_0x2cfd1a;}['_registerOtherFormulas'](_0x59f297,_0x55b8b0,_0x37808c){const _0x10be7d=_0x18bbbb;var _0xa7a8ef;for(const _0x54512f of _0x55b8b0){const _0x526637=_0x59f297[_0x54512f];if(_0x526637==null)continue;const _0x202c75=Object[_0x10be7d(0x1e3)](_0x526637);for(const _0x208a69 of _0x202c75){const _0x5ff5e9=_0x526637[_0x208a69];if(_0x5ff5e9==null)continue;const _0x23420f=Object['keys'](_0x5ff5e9);for(const _0x44376c of _0x23420f){const _0x446cbd=this['_dependencyManagerService'][_0x10be7d(0x182)](_0x44376c),_0x4acb84=_0x5ff5e9[_0x44376c],{f:_0x4f1eac,ranges:_0x52c333}=_0x4acb84;let _0x24ebb3=!0x1;_0x446cbd&&(_0x24ebb3=!0x0);const {firstRow:_0x4bd893,firstColumn:_0x53cc3c}=this[_0x10be7d(0x16b)](_0x52c333),_0x477c95=this[_0x10be7d(0x1cf)][_0x10be7d(0x19a)](_0x54512f,_0x208a69,_0x44376c),_0x50dd19=(_0xa7a8ef=_0x477c95==null?void 0x0:_0x477c95[_0x10be7d(0x15d)](0x0,0x0))!=null?_0xa7a8ef:_0x53adff(this['_dependencyManagerService']),_0x2fca69=new _0x1e5b1c(_0x50dd19);for(let _0x26a6a1=0x0;_0x26a6a1<_0x52c333[_0x10be7d(0x1e6)];_0x26a6a1++){const _0x327eec=_0x52c333[_0x26a6a1],{startRow:_0xc6ee09,startColumn:_0x3a0728,endRow:_0x4ad1b4,endColumn:_0x1b523f}=_0x327eec;for(let _0x10a671=_0xc6ee09;_0x10a671<=_0x4ad1b4;_0x10a671++)for(let _0xaeb726=_0x3a0728;_0xaeb726<=_0x1b523f;_0xaeb726++){const _0x19a844=_0xaeb726-_0x53cc3c,_0x3ecff4=_0x10a671-_0x4bd893;if(_0x19a844===0x0&&_0x3ecff4===0x0){_0x2fca69[_0x10be7d(0x168)]=_0x4f1eac,_0x2fca69[_0x10be7d(0x15a)]=_0x54512f,_0x2fca69[_0x10be7d(0x1b8)]=_0x208a69,_0x2fca69['formulaId']=_0x44376c,_0x2fca69[_0x10be7d(0x194)]=_0x325632['OTHER_FORMULA'],_0x2fca69[_0x10be7d(0x1d2)]=_0x24ebb3,_0x37808c[_0x10be7d(0x190)](_0x2fca69),this['_dependencyTreeCache']['set'](_0x2fca69[_0x10be7d(0x16e)],_0x2fca69),this['_dependencyManagerService'][_0x10be7d(0x1c0)](_0x54512f,_0x208a69,_0x44376c,_0x2fca69),this[_0x10be7d(0x1cf)]['addFormulaDependencyByDefinedName'](_0x2fca69);continue;}const _0xbe20ce=new _0xc4fe78();_0xbe20ce[_0x10be7d(0x16e)]=(_0x477c95==null?void 0x0:_0x477c95[_0x10be7d(0x15d)](_0x19a844,_0x3ecff4))||_0x53adff(this['_dependencyManagerService']),_0xbe20ce['refTree']=_0x2fca69,_0xbe20ce[_0x10be7d(0x17f)]=_0x19a844,_0xbe20ce[_0x10be7d(0x199)]=_0x3ecff4,_0xbe20ce[_0x10be7d(0x1d2)]=_0x24ebb3,this[_0x10be7d(0x1cf)][_0x10be7d(0x1c0)](_0x54512f,_0x208a69,_0x44376c,_0xbe20ce),this[_0x10be7d(0x1cf)][_0x10be7d(0x192)](_0xbe20ce),_0x37808c['push'](_0xbe20ce),this[_0x10be7d(0x1be)][_0x10be7d(0x19f)](_0xbe20ce[_0x10be7d(0x16e)],_0xbe20ce);}}this['_dependencyManagerService'][_0x10be7d(0x1b5)](_0x44376c);}}}}[_0x18bbbb(0x181)](_0x3f279f,_0x406c92,_0x2663a6,_0x3db9b1){const _0x564e75=_0x18bbbb;for(const _0x1ff432 of _0x3f279f){const _0x48a5ef=_0x406c92[_0x1ff432];if(_0x48a5ef==null)continue;const _0x1e42f3=Object[_0x564e75(0x1e3)](_0x48a5ef);for(const _0x132379 of _0x1e42f3){const _0x13f013=new _0x3660a3(_0x48a5ef[_0x132379]||{}),_0x2e37f6=new Map();_0x13f013[_0x564e75(0x1a7)]((_0x26cf60,_0x2b8f2b,_0x1acd72)=>{const _0x2f283a=_0x564e75;if(_0x1acd72==null)return!0x0;const {x:_0x2c8f6b=0x0,y:_0x5ed56a=0x0,si:_0x4d9909}=_0x1acd72;if(!(_0x2c8f6b===0x0&&_0x5ed56a===0x0&&_0x4d9909!=null))return!0x0;const _0x2e9743=this[_0x2f283a(0x180)](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b,_0x2663a6,_0x1acd72),_0x15609c=this['_dependencyManagerService']['getFormulaDependency'](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b);_0x15609c!=null?_0x2e9743[_0x2f283a(0x16e)]=_0x15609c:(this[_0x2f283a(0x1cf)][_0x2f283a(0x1d7)](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b,_0x2e9743),this[_0x2f283a(0x1cf)][_0x2f283a(0x192)](_0x2e9743)),_0x2e37f6[_0x2f283a(0x19f)](_0x4d9909,_0x2e9743),_0x3db9b1[_0x2f283a(0x190)](_0x2e9743),this[_0x2f283a(0x1be)][_0x2f283a(0x19f)](_0x2e9743[_0x2f283a(0x16e)],_0x2e9743);}),_0x13f013[_0x564e75(0x1a7)]((_0x874209,_0x52620d,_0x22a9e6)=>{const _0x4f2e5b=_0x564e75;if(_0x22a9e6==null)return!0x0;const {x:_0x433a1d=0x0,y:_0x124d5f=0x0,si:_0x2d2bf8}=_0x22a9e6;if(_0x433a1d===0x0&&_0x124d5f===0x0&&_0x2d2bf8!=null)return!0x0;let _0x3e4c40;if(_0x2d2bf8&&_0x2e37f6['has'](_0x2d2bf8)){const _0x1b6a0d=_0x2e37f6['get'](_0x2d2bf8);_0x3e4c40=this['_createVirtualFDtree'](_0x1b6a0d,_0x22a9e6);}else _0x3e4c40=this[_0x4f2e5b(0x180)](_0x1ff432,_0x132379,_0x874209,_0x52620d,_0x2663a6,_0x22a9e6);const _0x225788=this[_0x4f2e5b(0x1cf)][_0x4f2e5b(0x159)](_0x1ff432,_0x132379,_0x874209,_0x52620d);_0x225788!=null?_0x3e4c40[_0x4f2e5b(0x16e)]=_0x225788:(this[_0x4f2e5b(0x1cf)]['addFormulaDependency'](_0x1ff432,_0x132379,_0x874209,_0x52620d,_0x3e4c40),this[_0x4f2e5b(0x1cf)]['addFormulaDependencyByDefinedName'](_0x3e4c40)),_0x3db9b1['push'](_0x3e4c40),this[_0x4f2e5b(0x1be)][_0x4f2e5b(0x19f)](_0x3e4c40[_0x4f2e5b(0x16e)],_0x3e4c40);}),_0x2e37f6[_0x564e75(0x1c3)]();}}}[_0x18bbbb(0x180)](_0x34691f,_0x19aa63,_0x341564,_0x24106e,_0x2e4883,_0xbe7e4){const _0x4f9343=_0x18bbbb,{f:_0x154bd8,x:_0x44987e=0x0,y:_0x344e3d=0x0}=_0xbe7e4,_0x5cc57f=new _0x1e5b1c(_0x53adff(this['_dependencyManagerService'])),_0x237b40=_0x2e4883[_0x34691f][_0x19aa63];return _0x5cc57f[_0x4f9343(0x168)]=_0x154bd8,_0x5cc57f[_0x4f9343(0x15a)]=_0x34691f,_0x5cc57f['subUnitId']=_0x19aa63,_0x5cc57f[_0x4f9343(0x1c4)]=_0x341564,_0x5cc57f[_0x4f9343(0x172)]=_0x24106e,_0x5cc57f['rowCount']=_0x237b40[_0x4f9343(0x1e7)],_0x5cc57f['columnCount']=_0x237b40[_0x4f9343(0x193)],_0x5cc57f;}[_0x18bbbb(0x1ba)](){const _0x128e33=_0x18bbbb,_0x1d7ec8=[],_0xecf3b3=new Set(),_0x56496f=this[_0x128e33(0x1df)]['isForceCalculate'](),_0x1cb308=this[_0x128e33(0x1df)][_0x128e33(0x197)](),_0x7fae17=this['_dependencyManagerService'][_0x128e33(0x1d8)](_0x1cb308),_0x140912=this[_0x128e33(0x17e)][_0x128e33(0x1a4)](_0x1cb308);for(const _0x4a2fc4 of _0x140912)_0x7fae17[_0x128e33(0x1b9)](_0x4a2fc4);for(const [_0xd80732,_0x2e81e8]of this[_0x128e33(0x1be)])(_0x56496f||_0x2e81e8[_0x128e33(0x18f)]||_0x2e81e8['dependencySheetName'](this[_0x128e33(0x1df)][_0x128e33(0x1e4)]())||_0x7fae17[_0x128e33(0x151)](_0xd80732)&&!_0x2e81e8['isExcludeRange'](this[_0x128e33(0x1df)]['getExcludedRange']()))&&!_0xecf3b3[_0x128e33(0x151)](_0xd80732)&&(_0x1d7ec8[_0x128e33(0x190)](_0x2e81e8),_0xecf3b3[_0x128e33(0x1b9)](_0xd80732));for(const [_0xbd4fd4,_0x5190cc]of this['_dependencyTreeCache'])_0x5190cc[_0x128e33(0x156)]||(_0x5190cc['rangeList'][_0x128e33(0x1e6)]=0x0);return _0x1d7ec8;}['_getTreeById'](_0x115910){const _0x2f91df=_0x18bbbb;return this[_0x2f91df(0x1be)][_0x2f91df(0x1a0)](_0x115910);}[_0x18bbbb(0x19d)](_0x503709){const _0x1b98df=_0x18bbbb;return _0x9a6b2(_0x503709[_0x1b98df(0x15a)],_0x503709['formula'],this[_0x1b98df(0x186)],this['_astTreeBuilder'],this[_0x1b98df(0x1df)]);}*[_0x18bbbb(0x161)](_0x528c88,_0x3a581d){const _0x5a6cd8=_0x18bbbb,_0x36bc7b=_0x528c88,_0x4367c4=new Set();for(;_0x36bc7b['length']>0x0;){const _0x767165=_0x36bc7b[_0x5a6cd8(0x165)]();if(_0x4367c4[_0x5a6cd8(0x1c3)](),_0x767165===void 0x0||_0x767165[_0x5a6cd8(0x1c2)]())continue;if(_0x767165[_0x5a6cd8(0x18d)]()){yield _0x767165,_0x767165[_0x5a6cd8(0x1cc)](),_0x3a581d[_0x5a6cd8(0x1b9)](_0x767165[_0x5a6cd8(0x16e)]);continue;}const _0x3b68a9=this[_0x5a6cd8(0x1cf)][_0x5a6cd8(0x1d8)](_0x767165[_0x5a6cd8(0x171)](),_0x3a581d),_0x5358d9=this[_0x5a6cd8(0x17e)][_0x5a6cd8(0x1a4)](_0x767165[_0x5a6cd8(0x171)](),_0x3a581d);for(const _0x55c134 of _0x5358d9)_0x3b68a9['add'](_0x55c134);for(const _0x5c01fa of _0x3b68a9){const _0x3034e8=this[_0x5a6cd8(0x1be)]['get'](_0x5c01fa);if(!_0x3034e8)throw new Error(_0x5a6cd8(0x1bb));_0x3034e8['isAdded']()||_0x767165[_0x5a6cd8(0x1c2)]()||_0x4367c4[_0x5a6cd8(0x1b9)](_0x3034e8);}if(_0x3b68a9[_0x5a6cd8(0x1c3)](),_0x4367c4[_0x5a6cd8(0x1bd)]===0x0)yield _0x767165,_0x767165[_0x5a6cd8(0x1cc)](),_0x3a581d['add'](_0x767165[_0x5a6cd8(0x16e)]);else{_0x767165['setAdded'](),_0x36bc7b['push'](_0x767165);for(const _0x11b163 of _0x4367c4)_0x36bc7b[_0x5a6cd8(0x190)](_0x11b163);}}_0x36bc7b[_0x5a6cd8(0x1e6)]=0x0,_0x4367c4['clear']();}[_0x18bbbb(0x1db)](_0xdae63a){const _0x101af4=[],_0x29e012=new Set();for(const _0x30619e of this['_traverse'](_0xdae63a,_0x29e012))_0x101af4['push'](_0x30619e);return _0x101af4;}}class he extends _0x6ddc63{async[_0x18bbbb(0x187)](_0xb28072=!0x1){const _0x36ad09=_0x18bbbb;_0xb28072?this['_runtimeService'][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1cd)]):this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x175)]),this[_0x36ad09(0x17a)]['next'](this['_runtimeService'][_0x36ad09(0x1a8)]());const _0x27222c=await this[_0x36ad09(0x1a5)][_0x36ad09(0x166)](),_0x1dac03=this['_interpreter'];_0xb28072?(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x18a)]),this['_runtimeService'][_0x36ad09(0x1ae)](_0x27222c[_0x36ad09(0x1e6)])):(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1ca)]),this[_0x36ad09(0x173)][_0x36ad09(0x174)](_0x27222c[_0x36ad09(0x1e6)])),this[_0x36ad09(0x17a)][_0x36ad09(0x157)](this[_0x36ad09(0x173)]['getRuntimeState']());let _0x583574=[];const _0x338027=this[_0x36ad09(0x155)][_0x36ad09(0x18c)](_0x288494),_0x4439c4=(_0x338027==null?void 0x0:_0x338027['intervalCount'])||_0xb10f38;let _0x5b7449=0x0;const _0x3c402e=_0x27222c['length'];for(;_0x27222c['length']>0x0;){const _0x5e5463=_0x27222c[_0x36ad09(0x165)](),_0x42c770={'node':_0x9a6b2(_0x5e5463[_0x36ad09(0x15a)],_0x5e5463[_0x36ad09(0x168)],this[_0x36ad09(0x186)],this[_0x36ad09(0x1af)],this[_0x36ad09(0x1df)]),'refOffsetX':_0x5e5463[_0x36ad09(0x17f)],'refOffsetY':_0x5e5463['refOffsetY']},_0x142a6f=_0x5e5463[_0x36ad09(0x1d0)];if(_0x5b7449%_0x4439c4===0x0&&(await new Promise(_0x15f347=>{const _0x31fa28=_0x2e50d1(_0x15f347);_0x583574['push'](_0x31fa28);}),_0xb28072?(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x36ad09(0x173)][_0x36ad09(0x154)](_0x5b7449+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x5692a7['CURRENTLY_CALCULATING']),this['_runtimeService']['setCompletedFormulasCount'](_0x5b7449+0x1)),this[_0x36ad09(0x17a)][_0x36ad09(0x157)](this[_0x36ad09(0x173)][_0x36ad09(0x1a8)]()),this['_runtimeService']['isStopExecution']()||_0x42c770==null&&_0x142a6f==null)){this['_runtimeService'][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1b2)]),this[_0x36ad09(0x173)][_0x36ad09(0x185)](),this[_0x36ad09(0x178)][_0x36ad09(0x157)](this[_0x36ad09(0x173)][_0x36ad09(0x189)]());return;}this[_0x36ad09(0x173)][_0x36ad09(0x16d)](_0x5e5463[_0x36ad09(0x1c4)],_0x5e5463[_0x36ad09(0x172)],_0x5e5463['rowCount'],_0x5e5463[_0x36ad09(0x193)],_0x5e5463[_0x36ad09(0x1b8)],_0x5e5463[_0x36ad09(0x15a)]);let _0x9cb63f;if(_0x142a6f!=null&&_0x5e5463[_0x36ad09(0x15e)]!=null){const {runtimeCellData:_0x1f8444,dirtyRanges:_0x3d0669}=_0x142a6f(this['_currentConfigService'][_0x36ad09(0x1d0)](),this[_0x36ad09(0x173)][_0x36ad09(0x189)]());this['_runtimeService'][_0x36ad09(0x1a3)](_0x5e5463['featureId'],_0x1f8444),this['_runtimeService'][_0x36ad09(0x196)](_0x5e5463[_0x36ad09(0x15e)],_0x3d0669);}else _0x42c770!=null&&(_0x1dac03[_0x36ad09(0x16a)](_0x42c770[_0x36ad09(0x1e5)])?_0x9cb63f=await _0x1dac03[_0x36ad09(0x15f)](_0x42c770):_0x9cb63f=_0x1dac03[_0x36ad09(0x1ab)](_0x42c770),_0x5e5463[_0x36ad09(0x1b6)]!=null?this[_0x36ad09(0x173)][_0x36ad09(0x153)](_0x5e5463[_0x36ad09(0x1b6)],_0x5e5463[_0x36ad09(0x17f)],_0x5e5463[_0x36ad09(0x199)],_0x9cb63f):this[_0x36ad09(0x173)]['setRuntimeData'](_0x9cb63f));_0x5b7449++;}return _0x583574['forEach'](_0x110af1=>_0x110af1()),_0x583574=[],_0x3c402e>0x0?this[_0x36ad09(0x173)][_0x36ad09(0x1a6)]():_0xb28072||this[_0x36ad09(0x173)][_0x36ad09(0x1ce)](),this[_0x36ad09(0x173)]['getAllRuntimeData']();}}class pe extends _0x243c29{constructor(){const _0x10461a=_0x18bbbb;super(...arguments),v(this,_0x10461a(0x198),new Map()),v(this,_0x10461a(0x1c9),new _0x33bb53(!0x0));}[_0x18bbbb(0x1e1)](){const _0x18021b=_0x18bbbb;this[_0x18021b(0x1c6)][_0x18021b(0x1c3)](),this[_0x18021b(0x160)]['clear'](),this[_0x18021b(0x1b7)][_0x18021b(0x1c3)](),this['_dependencyRTreeCache']['clear'](),this[_0x18021b(0x198)][_0x18021b(0x1c3)](),this[_0x18021b(0x183)](),this['_otherFormulaDataMainData']['clear']();}[_0x18bbbb(0x1c0)](_0x71e0cc,_0x1e2bae,_0x51a44a,_0xee68e6){const _0x2ba626=_0x18bbbb;this[_0x2ba626(0x1c6)][_0x2ba626(0x151)](_0x71e0cc)||this[_0x2ba626(0x1c6)][_0x2ba626(0x19f)](_0x71e0cc,new Map());const _0x5ab4d0=this[_0x2ba626(0x1c6)]['get'](_0x71e0cc);_0x5ab4d0[_0x2ba626(0x151)](_0x1e2bae)||_0x5ab4d0[_0x2ba626(0x19f)](_0x1e2bae,new Map());const _0x423708=_0x5ab4d0[_0x2ba626(0x1a0)](_0x1e2bae);_0x423708[_0x2ba626(0x151)](_0x51a44a)||_0x423708['set'](_0x51a44a,new _0x3660a3()),_0x423708['get'](_0x51a44a)[_0x2ba626(0x1e8)](_0xee68e6['refOffsetX'],_0xee68e6[_0x2ba626(0x199)],_0xee68e6['treeId']);}[_0x18bbbb(0x16c)](_0x5501e2,_0x45e38d,_0x450644){const _0x2fd89f=_0x18bbbb,_0x4db590=this[_0x2fd89f(0x1c6)]['get'](_0x5501e2);if(_0x4db590&&_0x4db590[_0x2fd89f(0x151)](_0x45e38d)){const _0x161002=_0x4db590[_0x2fd89f(0x1a0)](_0x45e38d);_0x450644[_0x2fd89f(0x19c)](_0x639c91=>{const _0x1a3147=_0x2fd89f,_0x2d7d30=_0x161002[_0x1a3147(0x1a0)](_0x639c91);_0x2d7d30!=null&&(_0x2d7d30[_0x1a3147(0x1a7)]((_0x4349df,_0x417fbb,_0x12d32d)=>{const _0x3a2180=_0x1a3147;this['_removeDependencyRTreeCache'](_0x12d32d),this[_0x3a2180(0x188)](_0x12d32d);}),_0x161002[_0x1a3147(0x1da)](_0x639c91),this[_0x1a3147(0x150)][_0x1a3147(0x1da)](_0x639c91));}),_0x161002[_0x2fd89f(0x1bd)]===0x0&&_0x4db590[_0x2fd89f(0x1da)](_0x45e38d),_0x4db590['size']===0x0&&this[_0x2fd89f(0x1c6)][_0x2fd89f(0x1da)](_0x5501e2);}}[_0x18bbbb(0x176)](_0x3b5ad5,_0x34d52d){const _0x5f010e=_0x18bbbb,_0x17753b=this['_otherFormulaData'][_0x5f010e(0x1a0)](_0x3b5ad5);if(_0x34d52d&&_0x17753b&&_0x17753b['has'](_0x34d52d)){const _0x80ca71=_0x17753b['get'](_0x34d52d);this[_0x5f010e(0x18b)](_0x3b5ad5,_0x34d52d);for(const _0x39fe4b of _0x80ca71[_0x5f010e(0x1e3)]()){const _0x4aa42e=_0x80ca71['get'](_0x39fe4b);_0x4aa42e!=null&&(_0x4aa42e[_0x5f010e(0x1a7)]((_0x369c8c,_0x19954a,_0x110bfc)=>{const _0x5d77cb=_0x5f010e;this[_0x5d77cb(0x198)]['get'](_0x110bfc)&&this[_0x5d77cb(0x188)](_0x110bfc);}),this[_0x5f010e(0x150)][_0x5f010e(0x1da)](_0x39fe4b));}_0x80ca71[_0x5f010e(0x1c3)]();}else{if(_0x17753b){for(const _0x4638c9 of _0x17753b[_0x5f010e(0x1e3)]()){const _0x17d06b=_0x17753b['get'](_0x4638c9);this[_0x5f010e(0x18b)](_0x3b5ad5,_0x4638c9);for(const _0x4a666d of _0x17d06b[_0x5f010e(0x1e3)]()){const _0x265390=_0x17d06b['get'](_0x4a666d);_0x265390!=null&&(_0x265390[_0x5f010e(0x1a7)]((_0x500738,_0x59c5bc,_0x581d01)=>{const _0x6077a7=_0x5f010e;this[_0x6077a7(0x198)][_0x6077a7(0x1a0)](_0x581d01)&&this[_0x6077a7(0x188)](_0x581d01);}),this[_0x5f010e(0x150)][_0x5f010e(0x1da)](_0x4a666d));}}this[_0x5f010e(0x1c6)][_0x5f010e(0x1da)](_0x3b5ad5);}}}[_0x18bbbb(0x16f)](_0x245b49,_0x435468,_0x54805a,_0x793155){const _0x8bb54a=_0x18bbbb;this['_featureFormulaData']['has'](_0x245b49)||this[_0x8bb54a(0x160)][_0x8bb54a(0x19f)](_0x245b49,new Map());const _0x4ac3dc=this[_0x8bb54a(0x160)][_0x8bb54a(0x1a0)](_0x245b49);_0x4ac3dc[_0x8bb54a(0x151)](_0x435468)||_0x4ac3dc[_0x8bb54a(0x19f)](_0x435468,new Map()),_0x4ac3dc['get'](_0x435468)[_0x8bb54a(0x19f)](_0x54805a,_0x793155[_0x8bb54a(0x16e)]);}[_0x18bbbb(0x1d6)](_0x48080e,_0x47962b,_0x5c0f3a){const _0x2cd4ff=_0x18bbbb,_0x3de43c=this[_0x2cd4ff(0x160)][_0x2cd4ff(0x1a0)](_0x48080e);if(_0x3de43c&&_0x3de43c['has'](_0x47962b)){const _0x50066c=_0x3de43c[_0x2cd4ff(0x1a0)](_0x47962b);_0x5c0f3a[_0x2cd4ff(0x19c)](_0x5c0f66=>{const _0x1e5489=_0x2cd4ff,_0x23ecd4=_0x50066c[_0x1e5489(0x1a0)](_0x5c0f66);_0x23ecd4!=null&&(this['_removeDependencyRTreeCache'](_0x23ecd4),_0x50066c['delete'](_0x5c0f66),this[_0x1e5489(0x188)](_0x23ecd4));});}}[_0x18bbbb(0x17d)](_0x4ddaa7,_0x2f63fb){const _0x449ee2=_0x18bbbb,_0x4cbbbd=this[_0x449ee2(0x160)][_0x449ee2(0x1a0)](_0x4ddaa7);if(_0x2f63fb&&_0x4cbbbd&&_0x4cbbbd[_0x449ee2(0x151)](_0x2f63fb)){const _0x306b66=_0x4cbbbd[_0x449ee2(0x1a0)](_0x2f63fb);this[_0x449ee2(0x18b)](_0x4ddaa7,_0x2f63fb),_0x306b66[_0x449ee2(0x19c)](_0x5a9b1c=>{const _0x2f0015=_0x449ee2;_0x5a9b1c!=null&&this[_0x2f0015(0x188)](_0x5a9b1c);}),_0x306b66[_0x449ee2(0x1c3)]();}else _0x4cbbbd&&(_0x4cbbbd[_0x449ee2(0x19c)]((_0x51782c,_0xcfa5c8)=>{const _0x3fe49e=_0x449ee2;this[_0x3fe49e(0x18b)](_0x4ddaa7,_0xcfa5c8),_0x51782c[_0x3fe49e(0x19c)](_0x25b5fa=>{const _0x4ac807=_0x3fe49e;_0x25b5fa!=null&&this[_0x4ac807(0x188)](_0x25b5fa);});}),this[_0x449ee2(0x160)][_0x449ee2(0x1da)](_0x4ddaa7));}[_0x18bbbb(0x1d7)](_0x51116f,_0x129d3e,_0x4aee9f,_0x3bd691,_0x3d9830){const _0x4d2d4d=_0x18bbbb;this['_formulaData'][_0x4d2d4d(0x151)](_0x51116f)||this[_0x4d2d4d(0x1b7)][_0x4d2d4d(0x19f)](_0x51116f,new Map());const _0x4ee016=this['_formulaData'][_0x4d2d4d(0x1a0)](_0x51116f);_0x4ee016[_0x4d2d4d(0x151)](_0x129d3e)||_0x4ee016[_0x4d2d4d(0x19f)](_0x129d3e,new _0x3660a3()),_0x4ee016['get'](_0x129d3e)[_0x4d2d4d(0x1e8)](_0x4aee9f,_0x3bd691,_0x3d9830[_0x4d2d4d(0x16e)]);}['removeFormulaDependency'](_0x3cf141,_0x4ddd60,_0x7354b5,_0x195520){const _0x529b86=_0x18bbbb,_0x1f3584=this[_0x529b86(0x1b7)][_0x529b86(0x1a0)](_0x3cf141);if(_0x1f3584&&_0x1f3584['has'](_0x4ddd60)){const _0x3e9977=_0x1f3584[_0x529b86(0x1a0)](_0x4ddd60),_0x1b439d=_0x3e9977[_0x529b86(0x15d)](_0x7354b5,_0x195520);if(_0x1b439d==null)return;this[_0x529b86(0x1bf)](_0x1b439d),_0x3e9977['realDeleteValue'](_0x7354b5,_0x195520),this[_0x529b86(0x188)](_0x1b439d);}}[_0x18bbbb(0x1dc)](_0x203c92,_0x464596){const _0xe4b993=_0x18bbbb,_0x3f4760=this[_0xe4b993(0x1b7)][_0xe4b993(0x1a0)](_0x203c92);if(_0x464596&&_0x3f4760&&_0x3f4760[_0xe4b993(0x151)](_0x464596)){const _0x11cc2b=_0x3f4760['get'](_0x464596);this[_0xe4b993(0x18b)](_0x203c92,_0x464596),_0x11cc2b[_0xe4b993(0x1a7)]((_0x2583ee,_0x5bfacb,_0x149e71)=>{if(_0x149e71==null)return!0x0;this['_removeAllTreeMap'](_0x149e71);}),_0x11cc2b['reset']();}else _0x3f4760&&(_0x3f4760[_0xe4b993(0x19c)]((_0xcd34a6,_0x245b2b)=>{const _0x435fd4=_0xe4b993;this[_0x435fd4(0x18b)](_0x203c92,_0x245b2b),_0xcd34a6[_0x435fd4(0x1a7)]((_0x40bfec,_0x55fde5,_0x54d41c)=>{const _0xd29916=_0x435fd4;if(_0x54d41c==null)return!0x0;this[_0xd29916(0x188)](_0x54d41c);});}),this[_0xe4b993(0x1b7)]['delete'](_0x203c92));}[_0x18bbbb(0x1bf)](_0x7eaa70){const _0x9ccb16=_0x18bbbb;if(_0x7eaa70==null)return;const _0x17e131=this[_0x9ccb16(0x198)][_0x9ccb16(0x1a0)](_0x7eaa70);if(_0x17e131){const _0x4b7f28=[];for(const [_0x26b424,_0x3f6509]of _0x17e131)for(const [_0x4dedf2,_0x92ebb7]of _0x3f6509)_0x4b7f28[_0x9ccb16(0x190)]({'unitId':_0x26b424,'sheetId':_0x4dedf2,'range':_0x92ebb7,'id':_0x7eaa70});this[_0x9ccb16(0x1c9)]['bulkRemove'](_0x4b7f28);}}[_0x18bbbb(0x15c)](_0xf63594,_0x14991a){const _0x3c5bcc=_0x18bbbb,_0x2119ca=this[_0x3c5bcc(0x1ac)][_0x3c5bcc(0x1a0)](_0xf63594);if(_0x2119ca){const _0x2fe339=_0x2119ca[_0x3c5bcc(0x1a0)](_0x14991a);if(_0x2fe339){for(const _0x1756d7 of _0x2fe339)this[_0x3c5bcc(0x1bf)](_0x1756d7),this[_0x3c5bcc(0x188)](_0x1756d7);_0x2fe339['clear']();}}}['openKdTree'](){this['_dependencyRTreeCache']['openKdTree']();}[_0x18bbbb(0x184)](){const _0x38bd7e=_0x18bbbb;this[_0x38bd7e(0x1c9)][_0x38bd7e(0x184)]();}['_removeAllTreeMap'](_0x2352a5){const _0xd13228=_0x18bbbb;_0x2352a5!=null&&this['_allTreeMap'][_0xd13228(0x1da)](_0x2352a5);}['_addAllTreeMap'](_0x523b3b){const _0x1f67b9=_0x18bbbb;var _0x3b547b,_0x1795f5;const _0x4c947c=_0x523b3b[_0x1f67b9(0x1cb)];let _0x48e27c=this[_0x1f67b9(0x198)][_0x1f67b9(0x1a0)](_0x523b3b[_0x1f67b9(0x16e)]);for(let _0x52aa9d=0x0;_0x52aa9d<_0x4c947c[_0x1f67b9(0x1e6)];_0x52aa9d++){const _0x4abf14=_0x4c947c[_0x52aa9d];let {unitId:_0x57c820,sheetId:_0x2c52d3,range:_0x233809}=_0x4abf14;_0x48e27c||(_0x48e27c=new Map(),this[_0x1f67b9(0x198)][_0x1f67b9(0x19f)](_0x523b3b[_0x1f67b9(0x16e)],_0x48e27c)),_0x48e27c[_0x1f67b9(0x151)](_0x57c820)||_0x48e27c['set'](_0x57c820,new Map());const _0x2fa4ca=(_0x3b547b=_0x48e27c==null?void 0x0:_0x48e27c[_0x1f67b9(0x1a0)](_0x57c820))==null?void 0x0:_0x3b547b[_0x1f67b9(0x1a0)](_0x2c52d3);_0x2fa4ca&&(_0x233809={'startRow':Math[_0x1f67b9(0x1d9)](_0x233809['startRow'],_0x2fa4ca['startRow']),'startColumn':Math[_0x1f67b9(0x1d9)](_0x233809[_0x1f67b9(0x1e9)],_0x2fa4ca['startColumn']),'endRow':Math[_0x1f67b9(0x1d4)](_0x233809['endRow'],_0x2fa4ca['endRow']),'endColumn':Math['max'](_0x233809[_0x1f67b9(0x1b4)],_0x2fa4ca['endColumn'])}),(_0x1795f5=_0x48e27c[_0x1f67b9(0x1a0)](_0x57c820))==null||_0x1795f5[_0x1f67b9(0x19f)](_0x2c52d3,_0x233809);}}}var ge=Object[_0x18bbbb(0x163)],fe=(_0x430fb1,_0x3ef4e6,_0x4e9ed0,_0x22603d)=>{const _0x55fe85=_0x18bbbb;for(var _0x5938ff=_0x22603d>0x1?void 0x0:_0x22603d?ge(_0x3ef4e6,_0x4e9ed0):_0x3ef4e6,_0x1539d0=_0x430fb1[_0x55fe85(0x1e6)]-0x1,_0x20fc09;_0x1539d0>=0x0;_0x1539d0--)(_0x20fc09=_0x430fb1[_0x1539d0])&&(_0x5938ff=_0x20fc09(_0x5938ff)||_0x5938ff);return _0x5938ff;};const _e=Number[_0x18bbbb(0x1b1)](0x690d953d);let P=class extends _0x4cc211{['_initializeWithOverride'](){const _0x32187a=_0x18bbbb;var _0x4339d1,_0x353bc6;this['_initLicenseValid']()?(_0x4339d1=this['_config'])!=null&&_0x4339d1[_0x32187a(0x19e)]||[[_0x45ab7e,{'useClass':he}],[_0x5853ce,{'useClass':pe}],[_0x5e4e24,{'useClass':de}]][_0x32187a(0x19c)](_0x4f2149=>this[_0x32187a(0x1c1)]['add'](_0x4f2149)):(_0x353bc6=this[_0x32187a(0x1a2)])!=null&&_0x353bc6[_0x32187a(0x19e)]||[[_0x45ab7e,{'useClass':_0x6ddc63}],[_0x5853ce,{'useClass':_0x40604e}],[_0x5e4e24,{'useClass':_0x554f84}]]['forEach'](_0x45176d=>this[_0x32187a(0x1c1)][_0x32187a(0x1b9)](_0x45176d));}[_0x18bbbb(0x177)](){const _0x4011fe=_0x18bbbb;var _0x257a9f;const _0x2fd442=(_0x257a9f=this[_0x4011fe(0x155)][_0x4011fe(0x18c)](_0x3a9d8c))!=null?_0x257a9f:{},{ls:_0x55cab1,pbk:_0x4bc2df}=_0x2fd442;if(!_0x55cab1||!_0x4bc2df)return!0x1;const _0x373a09=_0x488667(le,ue),_0x381953=new Function('return\x20'+_0x373a09)()(_0x55cab1,_0x4bc2df),_0x4f992c=_0x381953[_0x4011fe(0x1a1)];return _0x381953['valid']&&_0x5e7505(_0x4f992c,'sf',_e)?_0x3aecaa(_0x4f992c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=fe([_0x3bb8b9(_0x2853a9)],P);export{P as UniverProFormulaEnginePlugin};
1
+ function _0x5229(_0x1378be,_0xbe05f4){const _0x505539=_0x5055();return _0x5229=function(_0x522971,_0x219fd2){_0x522971=_0x522971-0xb0;let _0x721c33=_0x505539[_0x522971];return _0x721c33;},_0x5229(_0x1378be,_0xbe05f4);}const _0x239cfc=_0x5229;(function(_0x302b96,_0x5e872f){const _0x48fa9f=_0x5229,_0x1f5e8d=_0x302b96();while(!![]){try{const _0x58b25e=-parseInt(_0x48fa9f(0x11b))/0x1+-parseInt(_0x48fa9f(0xb2))/0x2+parseInt(_0x48fa9f(0xcf))/0x3+parseInt(_0x48fa9f(0xbe))/0x4+-parseInt(_0x48fa9f(0x109))/0x5+-parseInt(_0x48fa9f(0x134))/0x6*(parseInt(_0x48fa9f(0x103))/0x7)+parseInt(_0x48fa9f(0xfb))/0x8;if(_0x58b25e===_0x5e872f)break;else _0x1f5e8d['push'](_0x1f5e8d['shift']());}catch(_0xa0504){_0x1f5e8d['push'](_0x1f5e8d['shift']());}}}(_0x5055,0x6e962));var G=Object['defineProperty'],W=(_0x579bb2,_0x393800,_0x333adf)=>_0x393800 in _0x579bb2?G(_0x579bb2,_0x393800,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333adf}):_0x579bb2[_0x393800]=_0x333adf,S=(_0x19eb00,_0x1345f0,_0x1ed2c9)=>W(_0x19eb00,typeof _0x1345f0!=_0x239cfc(0x102)?_0x1345f0+'':_0x1345f0,_0x1ed2c9);import{UniverLicensePlugin as _0x3c157e,LS_CONFIG_KEY as _0x2a3ae7,unshiftString as _0x51ce0b,isFeatureAuthorizedWithinTime as _0x8ee774,getSheetFeatureLimit as _0x505f7c}from'@univerjs-pro/license';import{ObjectMatrix as _0x4b1243,requestImmediateMacroTask as _0x4c0bf1,RTree as _0x47d3e1,DependentOn as _0x2b746c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1728bb,generateRandomDependencyTreeId as _0x1cae6e,FormulaDependencyTree as _0x521019,FormulaDependencyTreeType as _0x2cc8cb,FormulaDependencyTreeVirtual as _0x2d8fb5,generateAstNode as _0x363971,CalculateFormulaService as _0x1526de,FormulaExecuteStageType as _0x2a96bf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1e39eb,DEFAULT_INTERVAL_COUNT as _0x319cc7,DependencyManagerBaseService as _0x51d43b,UniverFormulaEnginePlugin as _0x1dbb56,ICalculateFormulaService as _0x21eb5a,IDependencyManagerService as _0x51bc1e,IFormulaDependencyGenerator as _0x900956,DependencyManagerService as _0x2fc196}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},ue='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1728bb{constructor(){const _0xabef52=_0x239cfc;super(...arguments),S(this,_0xabef52(0xf8),new Map());}[_0x239cfc(0x124)](){const _0x2a0491=_0x239cfc;super[_0x2a0491(0x124)](),this[_0x2a0491(0xf8)][_0x2a0491(0x11c)]();}async[_0x239cfc(0x149)](){const _0x2cac5e=_0x239cfc;this[_0x2cac5e(0x137)]();const _0x2e57ac=this[_0x2cac5e(0xe9)][_0x2cac5e(0x107)](),_0xbac36e=this[_0x2cac5e(0xeb)][_0x2cac5e(0x14e)](),_0x197a92=this[_0x2cac5e(0xe9)][_0x2cac5e(0xb0)]();_0x197a92!=null&&Object['keys'](_0x197a92)[_0x2cac5e(0xd5)](_0xcb4ab4=>{_0xcb4ab4!=null&&Object['keys'](_0x197a92[_0xcb4ab4])['forEach'](_0x4f3d4d=>{const _0x32e3bb=_0x5229;_0x4f3d4d!=null&&(this[_0x32e3bb(0x14a)][_0x32e3bb(0x10e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x12e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x13a)](_0xcb4ab4,_0x4f3d4d));});});const _0x593019=this[_0x2cac5e(0xe9)]['getUnitData']();await this[_0x2cac5e(0x119)](_0x2e57ac,_0xbac36e,_0x593019),this['_dependencyManagerService']['openKdTree']();const _0x4d1c2a=this['_getUpdateTreeListAndMakeDependency'](),_0x2a55ac=this[_0x2cac5e(0xf1)](_0x4d1c2a);return this[_0x2cac5e(0xf5)](_0x2a55ac)&&this[_0x2cac5e(0xe8)][_0x2cac5e(0x136)](),this[_0x2cac5e(0xf8)][_0x2cac5e(0x11c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2cac5e(0x11c)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x2cac5e(0xdf)](_0x2a55ac);}[_0x239cfc(0xbd)](_0xdfa984,_0x304f0f){const _0x35c877=_0x239cfc,_0x42c65a=[_0xdfa984];for(;_0x42c65a['length']>0x0;){const _0x4dee43=_0x42c65a[_0x42c65a[_0x35c877(0xba)]-0x1];if((_0x304f0f['get'](_0x4dee43)||0x0)===0x0){_0x304f0f[_0x35c877(0x152)](_0x4dee43,0x1);const _0x13be6=this[_0x35c877(0xf8)]['get'](_0x4dee43);if(_0x13be6==null){_0x304f0f['set'](_0x4dee43,0x2),_0x42c65a[_0x35c877(0x12b)]();continue;}const _0x18b7b0=this[_0x35c877(0x14a)][_0x35c877(0x130)](_0x13be6['toRTreeItem']());for(const _0x4a0df4 of _0x18b7b0){const _0x5cd4d0=_0x304f0f['get'](_0x4a0df4)||0x0;if(_0x5cd4d0===0x1)return!0x0;_0x5cd4d0===0x0&&_0x42c65a[_0x35c877(0xe3)](_0x4a0df4);}}else _0x304f0f[_0x35c877(0x152)](_0x4dee43,0x2),_0x42c65a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x34a9f8){const _0x8bf60b=_0x239cfc,_0x2dd349=new Map();for(const _0x2c3390 of _0x34a9f8)if(!_0x2dd349[_0x8bf60b(0xd3)](_0x2c3390[_0x8bf60b(0x13c)])&&this['_isCyclicUtilMap'](_0x2c3390[_0x8bf60b(0x13c)],_0x2dd349))return!0x0;return _0x2dd349[_0x8bf60b(0x11c)](),!0x1;}['_getFeatureFormulaTree'](_0x1261f8,_0x4f40e9,_0xa5067a){const _0x5bab28=_0x239cfc,{unitId:_0x45d5b4,subUnitId:_0x227707,dependencyRanges:_0x1f120a,getDirtyData:_0x32d246}=_0xa5067a,_0x3aab95=_0x4f40e9||_0x1cae6e(this[_0x5bab28(0x14a)]),_0x16d749=new _0x521019(_0x3aab95);_0x16d749[_0x5bab28(0x114)]=_0x45d5b4,_0x16d749[_0x5bab28(0xb1)]=_0x227707,_0x16d749[_0x5bab28(0xe5)]=_0x1f120a,_0x16d749[_0x5bab28(0xfd)]=_0x32d246;const _0x33a9f1=_0x32d246(this[_0x5bab28(0xe9)]['getDirtyData'](),this['_runtimeService'][_0x5bab28(0x11a)]()),_0x3ba764=this['_convertDirtyRangesToUnitRange'](_0x33a9f1[_0x5bab28(0x14c)]);return _0x16d749[_0x5bab28(0xca)]=_0x3ba764,_0x16d749['featureId']=_0x1261f8,_0x16d749[_0x5bab28(0x10a)]=_0x2cc8cb[_0x5bab28(0xb4)],this[_0x5bab28(0x14a)]['addFeatureFormulaDependency'](_0x45d5b4,_0x227707,_0x1261f8,_0x16d749),this['_dependencyTreeCache']['set'](_0x16d749['treeId'],_0x16d749),this['_dependencyManagerService'][_0x5bab28(0xd8)](_0xa5067a[_0x5bab28(0x114)],_0xa5067a[_0x5bab28(0xb1)],_0x1261f8)&&(_0x16d749[_0x5bab28(0x123)]=!0x0),_0x16d749;}[_0x239cfc(0x10b)](_0xe3aa1b,_0x296d0b,_0x4b9f0e){const _0x598abe=_0x239cfc;var _0xecc3d;for(const _0x25b792 of _0x296d0b){const _0x26b2ca=_0xe3aa1b[_0x25b792];if(_0x26b2ca==null)continue;const _0x52126c=Object[_0x598abe(0x132)](_0x26b2ca);for(const _0x105477 of _0x52126c){const _0x4dc2cf=_0x26b2ca[_0x105477];if(_0x4dc2cf==null)continue;const _0x349a7d=Object['keys'](_0x4dc2cf);for(const _0x2df35d of _0x349a7d){const _0x3dc07b=this[_0x598abe(0x14a)][_0x598abe(0x150)](_0x2df35d),_0x3ac866=_0x4dc2cf[_0x2df35d],{f:_0x58c262,ranges:_0x5a5899}=_0x3ac866;let _0x238235=!0x1;_0x3dc07b&&(_0x238235=!0x0);const {firstRow:_0x1d0305,firstColumn:_0x528517}=this[_0x598abe(0xdc)](_0x5a5899),_0x2d0f7c=this[_0x598abe(0x14a)][_0x598abe(0x111)](_0x25b792,_0x105477,_0x2df35d),_0x313bc4=(_0xecc3d=_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](0x0,0x0))!=null?_0xecc3d:_0x1cae6e(this[_0x598abe(0x14a)]),_0x308504=new _0x521019(_0x313bc4);for(let _0x160cab=0x0;_0x160cab<_0x5a5899[_0x598abe(0xba)];_0x160cab++){const _0x1421c1=_0x5a5899[_0x160cab],{startRow:_0x24b138,startColumn:_0x178f50,endRow:_0x4809b9,endColumn:_0x2af087}=_0x1421c1;for(let _0x4637b6=_0x24b138;_0x4637b6<=_0x4809b9;_0x4637b6++)for(let _0x39030f=_0x178f50;_0x39030f<=_0x2af087;_0x39030f++){const _0x4be3ce=_0x39030f-_0x528517,_0x160393=_0x4637b6-_0x1d0305;if(_0x4be3ce===0x0&&_0x160393===0x0){_0x308504[_0x598abe(0xd0)]=_0x58c262,_0x308504[_0x598abe(0x114)]=_0x25b792,_0x308504[_0x598abe(0xb1)]=_0x105477,_0x308504[_0x598abe(0xec)]=_0x2df35d,_0x308504[_0x598abe(0x10a)]=_0x2cc8cb[_0x598abe(0xb3)],_0x308504['isCache']=_0x238235,_0x4b9f0e[_0x598abe(0xe3)](_0x308504),this[_0x598abe(0xf8)][_0x598abe(0x152)](_0x308504['treeId'],_0x308504),this[_0x598abe(0x14a)]['addOtherFormulaDependency'](_0x25b792,_0x105477,_0x2df35d,_0x308504),this[_0x598abe(0x14a)]['addFormulaDependencyByDefinedName'](_0x308504);continue;}const _0x2b037c=new _0x2d8fb5();_0x2b037c['treeId']=(_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](_0x4be3ce,_0x160393))||_0x1cae6e(this['_dependencyManagerService']),_0x2b037c['refTree']=_0x308504,_0x2b037c[_0x598abe(0x10c)]=_0x4be3ce,_0x2b037c[_0x598abe(0x11d)]=_0x160393,_0x2b037c[_0x598abe(0x123)]=_0x238235,this['_dependencyManagerService'][_0x598abe(0x144)](_0x25b792,_0x105477,_0x2df35d,_0x2b037c),this['_dependencyManagerService'][_0x598abe(0xf2)](_0x2b037c),_0x4b9f0e['push'](_0x2b037c),this['_dependencyTreeCache'][_0x598abe(0x152)](_0x2b037c[_0x598abe(0x13c)],_0x2b037c);}}this[_0x598abe(0x14a)][_0x598abe(0xfa)](_0x2df35d);}}}}[_0x239cfc(0x146)](_0x408352,_0x2a6c6b,_0x24d9c6,_0x250857){const _0x2234a1=_0x239cfc;for(const _0x1ac1b3 of _0x408352){const _0x10c77c=_0x2a6c6b[_0x1ac1b3];if(_0x10c77c==null)continue;const _0x2809c3=Object[_0x2234a1(0x132)](_0x10c77c);for(const _0x341cf2 of _0x2809c3){const _0x2edd54=new _0x4b1243(_0x10c77c[_0x341cf2]||{}),_0x3cbf58=new Map();_0x2edd54[_0x2234a1(0xe2)]((_0x5a44c1,_0x298b9c,_0x4edb15)=>{const _0x2f45bb=_0x2234a1;if(_0x4edb15==null)return!0x0;const {x:_0x1c3fc7=0x0,y:_0x1518d8=0x0,si:_0x3229c7}=_0x4edb15;if(!(_0x1c3fc7===0x0&&_0x1518d8===0x0&&_0x3229c7!=null))return!0x0;const _0x39464d=this[_0x2f45bb(0x113)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x24d9c6,_0x4edb15),_0x428bce=this[_0x2f45bb(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c);_0x428bce!=null?_0x39464d[_0x2f45bb(0x13c)]=_0x428bce:(this[_0x2f45bb(0x14a)][_0x2f45bb(0x148)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x39464d),this[_0x2f45bb(0x14a)][_0x2f45bb(0xf2)](_0x39464d)),_0x3cbf58['set'](_0x3229c7,_0x39464d),_0x250857[_0x2f45bb(0xe3)](_0x39464d),this[_0x2f45bb(0xf8)][_0x2f45bb(0x152)](_0x39464d[_0x2f45bb(0x13c)],_0x39464d);}),_0x2edd54[_0x2234a1(0xe2)]((_0x1023ca,_0x5b40d9,_0x3859f1)=>{const _0x58887b=_0x2234a1;if(_0x3859f1==null)return!0x0;const {x:_0x12f66e=0x0,y:_0xa44433=0x0,si:_0x412877}=_0x3859f1;if(_0x12f66e===0x0&&_0xa44433===0x0&&_0x412877!=null)return!0x0;let _0x3a9fce;if(_0x412877&&_0x3cbf58['has'](_0x412877)){const _0xd5f618=_0x3cbf58[_0x58887b(0x12f)](_0x412877);_0x3a9fce=this[_0x58887b(0x110)](_0xd5f618,_0x3859f1);}else _0x3a9fce=this[_0x58887b(0x113)](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x24d9c6,_0x3859f1);const _0x3d460a=this[_0x58887b(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9);_0x3d460a!=null?_0x3a9fce[_0x58887b(0x13c)]=_0x3d460a:(this[_0x58887b(0x14a)]['addFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x3a9fce),this[_0x58887b(0x14a)][_0x58887b(0xf2)](_0x3a9fce)),_0x250857[_0x58887b(0xe3)](_0x3a9fce),this[_0x58887b(0xf8)][_0x58887b(0x152)](_0x3a9fce[_0x58887b(0x13c)],_0x3a9fce);}),_0x3cbf58['clear']();}}}['_createFDtree'](_0x3d41af,_0x31b192,_0x5aa918,_0x1b9438,_0x137dfa,_0x3a40dc){const _0x33bfbb=_0x239cfc,{f:_0x153608,x:_0x2be7a7=0x0,y:_0x5990d0=0x0}=_0x3a40dc,_0x48ed48=new _0x521019(_0x1cae6e(this['_dependencyManagerService'])),_0x33e0ba=_0x137dfa[_0x3d41af][_0x31b192];return _0x48ed48[_0x33bfbb(0xd0)]=_0x153608,_0x48ed48['unitId']=_0x3d41af,_0x48ed48[_0x33bfbb(0xb1)]=_0x31b192,_0x48ed48[_0x33bfbb(0x11e)]=_0x5aa918,_0x48ed48[_0x33bfbb(0x117)]=_0x1b9438,_0x48ed48[_0x33bfbb(0x122)]=_0x33e0ba[_0x33bfbb(0x122)],_0x48ed48[_0x33bfbb(0xcd)]=_0x33e0ba[_0x33bfbb(0xcd)],_0x48ed48;}[_0x239cfc(0x133)](){const _0xdc111=_0x239cfc,_0x1ef472=[],_0x1a376c=new Set(),_0x119769=this['_currentConfigService'][_0xdc111(0x125)](),_0x4f8e45=this[_0xdc111(0xe9)][_0xdc111(0x13e)](),_0x11c6d9=this[_0xdc111(0x14a)][_0xdc111(0x130)](_0x4f8e45),_0x3fd74e=this[_0xdc111(0x108)][_0xdc111(0x127)](_0x4f8e45);for(const _0x2378c3 of _0x3fd74e)_0x11c6d9[_0xdc111(0x14b)](_0x2378c3);for(const [_0x5b98a8,_0x1bda32]of this[_0xdc111(0xf8)])(_0x119769||_0x1bda32['isDirty']||_0x1bda32[_0xdc111(0xdb)](this[_0xdc111(0xe9)]['getDirtyNameMap']())||_0x11c6d9[_0xdc111(0xd3)](_0x5b98a8)&&!_0x1bda32[_0xdc111(0xf9)](this[_0xdc111(0xe9)][_0xdc111(0x14d)]()))&&!_0x1a376c[_0xdc111(0xd3)](_0x5b98a8)&&(_0x1ef472[_0xdc111(0xe3)](_0x1bda32),_0x1a376c[_0xdc111(0x14b)](_0x5b98a8));for(const [_0x4bea4d,_0x405c91]of this[_0xdc111(0xf8)])_0x405c91[_0xdc111(0xe1)]||(_0x405c91[_0xdc111(0xe5)][_0xdc111(0xba)]=0x0);return _0x1ef472;}[_0x239cfc(0x126)](_0x5225ce){const _0x3c5669=_0x239cfc;return this[_0x3c5669(0xf8)][_0x3c5669(0x12f)](_0x5225ce);}[_0x239cfc(0x112)](_0x1ee656){const _0x23b734=_0x239cfc;return _0x363971(_0x1ee656['unitId'],_0x1ee656[_0x23b734(0xd0)],this[_0x23b734(0xfe)],this[_0x23b734(0xb7)],this[_0x23b734(0xe9)]);}*[_0x239cfc(0xe0)](_0x5ead6a,_0x2428df){const _0x49b165=_0x239cfc,_0x4433ef=_0x5ead6a,_0x193683=new Set();for(;_0x4433ef['length']>0x0;){const _0xe06db9=_0x4433ef['pop']();if(_0x193683[_0x49b165(0x11c)](),_0xe06db9===void 0x0||_0xe06db9[_0x49b165(0x13f)]())continue;if(_0xe06db9[_0x49b165(0x101)]()){yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);continue;}const _0x49171e=this[_0x49b165(0x14a)][_0x49b165(0x130)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df),_0x47413f=this[_0x49b165(0x108)][_0x49b165(0x127)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df);for(const _0x38f671 of _0x47413f)_0x49171e[_0x49b165(0x14b)](_0x38f671);for(const _0xf34c68 of _0x49171e){const _0x48e34f=this['_dependencyTreeCache'][_0x49b165(0x12f)](_0xf34c68);if(!_0x48e34f)throw new Error(_0x49b165(0xf0));_0x48e34f[_0x49b165(0x101)]()||_0xe06db9['isSkip']()||_0x193683[_0x49b165(0x14b)](_0x48e34f);}if(_0x49171e['clear'](),_0x193683[_0x49b165(0x138)]===0x0)yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);else{_0xe06db9['setAdded'](),_0x4433ef[_0x49b165(0xe3)](_0xe06db9);for(const _0xee9dd0 of _0x193683)_0x4433ef[_0x49b165(0xe3)](_0xee9dd0);}}_0x4433ef[_0x49b165(0xba)]=0x0,_0x193683[_0x49b165(0x11c)]();}[_0x239cfc(0xf1)](_0x52197f){const _0x1c3539=_0x239cfc,_0x356679=[],_0xe23666=new Set();for(const _0x2f3ea9 of this[_0x1c3539(0xe0)](_0x52197f,_0xe23666))_0x356679['push'](_0x2f3ea9);return _0x356679;}}class he extends _0x1526de{async['_apply'](_0x401ec2=!0x1){const _0x139db7=_0x239cfc;_0x401ec2?this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc5)]):this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf['START_DEPENDENCY']),this[_0x139db7(0xbc)]['next'](this[_0x139db7(0xe8)][_0x139db7(0x147)]());const _0x2572c5=await this[_0x139db7(0xd1)][_0x139db7(0x149)](),_0x41183d=this[_0x139db7(0xde)];_0x401ec2?(this[_0x139db7(0xe8)]['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x115)]),this[_0x139db7(0xe8)][_0x139db7(0xff)](_0x2572c5['length'])):(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xdd)]),this[_0x139db7(0xe8)][_0x139db7(0xc4)](_0x2572c5[_0x139db7(0xba)])),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this['_runtimeService']['getRuntimeState']());let _0x4257e0=[];const _0x32607c=this[_0x139db7(0xef)]['getConfig'](_0x1e39eb),_0x4a32b0=(_0x32607c==null?void 0x0:_0x32607c[_0x139db7(0xb9)])||_0x319cc7;let _0x45e8c8=0x0;const _0x4631cf=_0x2572c5[_0x139db7(0xba)];for(;_0x2572c5[_0x139db7(0xba)]>0x0;){const _0x4629a5=_0x2572c5['pop'](),_0x285f8d={'node':_0x363971(_0x4629a5[_0x139db7(0x114)],_0x4629a5['formula'],this['_lexer'],this[_0x139db7(0xb7)],this[_0x139db7(0xe9)]),'refOffsetX':_0x4629a5[_0x139db7(0x10c)],'refOffsetY':_0x4629a5[_0x139db7(0x11d)]},_0x4a56eb=_0x4629a5[_0x139db7(0xfd)];if(_0x45e8c8%_0x4a32b0===0x0&&(await new Promise(_0x3dcc7a=>{const _0x2d9f1d=_0x139db7,_0x15ae01=_0x4c0bf1(_0x3dcc7a);_0x4257e0[_0x2d9f1d(0xe3)](_0x15ae01);}),_0x401ec2?(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x139db7(0xe8)][_0x139db7(0x128)](_0x45e8c8+0x1)):(this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc8)]),this[_0x139db7(0xe8)]['setCompletedFormulasCount'](_0x45e8c8+0x1)),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x147)]()),this[_0x139db7(0xe8)][_0x139db7(0x106)]()||_0x285f8d==null&&_0x4a56eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x121)]),this['_runtimeService'][_0x139db7(0x116)](),this[_0x139db7(0xc0)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x11a)]());return;}this[_0x139db7(0xe8)][_0x139db7(0xd9)](_0x4629a5[_0x139db7(0x11e)],_0x4629a5['column'],_0x4629a5[_0x139db7(0x122)],_0x4629a5[_0x139db7(0xcd)],_0x4629a5[_0x139db7(0xb1)],_0x4629a5[_0x139db7(0x114)]);let _0x26941f;if(_0x4a56eb!=null&&_0x4629a5[_0x139db7(0xf6)]!=null){const {runtimeCellData:_0x1bb05e,dirtyRanges:_0x1300cc}=_0x4a56eb(this[_0x139db7(0xe9)][_0x139db7(0xfd)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]());this[_0x139db7(0xe8)][_0x139db7(0x10f)](_0x4629a5[_0x139db7(0xf6)],_0x1bb05e),this[_0x139db7(0xe8)][_0x139db7(0xc7)](_0x4629a5[_0x139db7(0xf6)],_0x1300cc);}else _0x285f8d!=null&&(_0x41183d[_0x139db7(0xe6)](_0x285f8d[_0x139db7(0x140)])?_0x26941f=await _0x41183d[_0x139db7(0xc6)](_0x285f8d):_0x26941f=_0x41183d[_0x139db7(0x100)](_0x285f8d),_0x4629a5[_0x139db7(0xec)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4629a5[_0x139db7(0xec)],_0x4629a5['refOffsetX'],_0x4629a5[_0x139db7(0x11d)],_0x26941f):this[_0x139db7(0xe8)][_0x139db7(0xc2)](_0x26941f));_0x45e8c8++;}return _0x4257e0[_0x139db7(0xd5)](_0x2e69b5=>_0x2e69b5()),_0x4257e0=[],_0x4631cf>0x0?this[_0x139db7(0xe8)][_0x139db7(0x13d)]():_0x401ec2||this[_0x139db7(0xe8)][_0x139db7(0xea)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]();}}class pe extends _0x51d43b{constructor(){const _0x2b4b17=_0x239cfc;super(...arguments),S(this,_0x2b4b17(0xb6),new Map()),S(this,_0x2b4b17(0x12d),new _0x47d3e1(!0x0));}[_0x239cfc(0xc9)](){const _0x151c91=_0x239cfc;this[_0x151c91(0xda)][_0x151c91(0x11c)](),this[_0x151c91(0xd6)][_0x151c91(0x11c)](),this[_0x151c91(0xb5)][_0x151c91(0x11c)](),this[_0x151c91(0x12d)][_0x151c91(0x11c)](),this[_0x151c91(0xb6)][_0x151c91(0x11c)](),this[_0x151c91(0x105)](),this['_otherFormulaDataMainData'][_0x151c91(0x11c)]();}[_0x239cfc(0x144)](_0x9e52f2,_0x52b21a,_0x4a2b5e,_0x42cc27){const _0x361196=_0x239cfc;this[_0x361196(0xda)]['has'](_0x9e52f2)||this[_0x361196(0xda)]['set'](_0x9e52f2,new Map());const _0x42517b=this[_0x361196(0xda)][_0x361196(0x12f)](_0x9e52f2);_0x42517b[_0x361196(0xd3)](_0x52b21a)||_0x42517b[_0x361196(0x152)](_0x52b21a,new Map());const _0x4f3316=_0x42517b[_0x361196(0x12f)](_0x52b21a);_0x4f3316[_0x361196(0xd3)](_0x4a2b5e)||_0x4f3316['set'](_0x4a2b5e,new _0x4b1243()),_0x4f3316['get'](_0x4a2b5e)[_0x361196(0xfc)](_0x42cc27['refOffsetX'],_0x42cc27[_0x361196(0x11d)],_0x42cc27[_0x361196(0x13c)]);}[_0x239cfc(0xc1)](_0x2649b9,_0x42ff46,_0x126848){const _0x3edeae=_0x239cfc,_0x5310cf=this[_0x3edeae(0xda)][_0x3edeae(0x12f)](_0x2649b9);if(_0x5310cf&&_0x5310cf[_0x3edeae(0xd3)](_0x42ff46)){const _0x1089fe=_0x5310cf['get'](_0x42ff46);_0x126848['forEach'](_0x540e06=>{const _0x27cbff=_0x3edeae,_0x3c6e74=_0x1089fe[_0x27cbff(0x12f)](_0x540e06);_0x3c6e74!=null&&(_0x3c6e74[_0x27cbff(0xe2)]((_0x571844,_0x4be512,_0x548ff3)=>{const _0x28846=_0x27cbff;this['_removeDependencyRTreeCache'](_0x548ff3),this[_0x28846(0x129)](_0x548ff3);}),_0x1089fe[_0x27cbff(0xed)](_0x540e06),this[_0x27cbff(0x145)][_0x27cbff(0xed)](_0x540e06));}),_0x1089fe[_0x3edeae(0x138)]===0x0&&_0x5310cf['delete'](_0x42ff46),_0x5310cf['size']===0x0&&this[_0x3edeae(0xda)][_0x3edeae(0xed)](_0x2649b9);}}[_0x239cfc(0x10e)](_0x4d489b,_0x3e6e68){const _0x1c3b56=_0x239cfc,_0x468ab4=this['_otherFormulaData'][_0x1c3b56(0x12f)](_0x4d489b);if(_0x3e6e68&&_0x468ab4&&_0x468ab4['has'](_0x3e6e68)){const _0x509537=_0x468ab4['get'](_0x3e6e68);this[_0x1c3b56(0x12a)](_0x4d489b,_0x3e6e68);for(const _0x3d19d6 of _0x509537[_0x1c3b56(0x132)]()){const _0x14309e=_0x509537[_0x1c3b56(0x12f)](_0x3d19d6);_0x14309e!=null&&(_0x14309e[_0x1c3b56(0xe2)]((_0x31994a,_0x43e5ec,_0x351e38)=>{const _0x4b4277=_0x1c3b56;this[_0x4b4277(0xb6)]['get'](_0x351e38)&&this[_0x4b4277(0x129)](_0x351e38);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x3d19d6));}_0x509537[_0x1c3b56(0x11c)]();}else{if(_0x468ab4){for(const _0x1b4cb1 of _0x468ab4['keys']()){const _0x3a1d0d=_0x468ab4[_0x1c3b56(0x12f)](_0x1b4cb1);this[_0x1c3b56(0x12a)](_0x4d489b,_0x1b4cb1);for(const _0x1338be of _0x3a1d0d['keys']()){const _0x48cc9a=_0x3a1d0d[_0x1c3b56(0x12f)](_0x1338be);_0x48cc9a!=null&&(_0x48cc9a[_0x1c3b56(0xe2)]((_0x177dcd,_0x5a8773,_0x50cccf)=>{const _0x46ec7d=_0x1c3b56;this[_0x46ec7d(0xb6)][_0x46ec7d(0x12f)](_0x50cccf)&&this[_0x46ec7d(0x129)](_0x50cccf);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x1338be));}}this['_otherFormulaData'][_0x1c3b56(0xed)](_0x4d489b);}}}[_0x239cfc(0xd4)](_0x1e5eca,_0x212d32,_0x3f1323,_0x24a299){const _0x51b616=_0x239cfc;this['_featureFormulaData'][_0x51b616(0xd3)](_0x1e5eca)||this[_0x51b616(0xd6)][_0x51b616(0x152)](_0x1e5eca,new Map());const _0x2d25bd=this['_featureFormulaData']['get'](_0x1e5eca);_0x2d25bd[_0x51b616(0xd3)](_0x212d32)||_0x2d25bd['set'](_0x212d32,new Map()),_0x2d25bd[_0x51b616(0x12f)](_0x212d32)['set'](_0x3f1323,_0x24a299[_0x51b616(0x13c)]);}[_0x239cfc(0xb8)](_0x12bc4b,_0x2b01af,_0x4db8ff){const _0x40aefa=_0x239cfc,_0x22dcb6=this[_0x40aefa(0xd6)][_0x40aefa(0x12f)](_0x12bc4b);if(_0x22dcb6&&_0x22dcb6[_0x40aefa(0xd3)](_0x2b01af)){const _0x10c89a=_0x22dcb6[_0x40aefa(0x12f)](_0x2b01af);_0x4db8ff[_0x40aefa(0xd5)](_0x14731a=>{const _0x332bf4=_0x40aefa,_0x22e40d=_0x10c89a[_0x332bf4(0x12f)](_0x14731a);_0x22e40d!=null&&(this[_0x332bf4(0x11f)](_0x22e40d),_0x10c89a['delete'](_0x14731a),this[_0x332bf4(0x129)](_0x22e40d));});}}['clearFeatureFormulaDependency'](_0x51fcf4,_0x1e0318){const _0x3b4c3e=_0x239cfc,_0x106de7=this[_0x3b4c3e(0xd6)][_0x3b4c3e(0x12f)](_0x51fcf4);if(_0x1e0318&&_0x106de7&&_0x106de7['has'](_0x1e0318)){const _0x53ea9e=_0x106de7['get'](_0x1e0318);this['_removeDependencyRTreeCacheById'](_0x51fcf4,_0x1e0318),_0x53ea9e['forEach'](_0x64f9db=>{_0x64f9db!=null&&this['_removeAllTreeMap'](_0x64f9db);}),_0x53ea9e['clear']();}else _0x106de7&&(_0x106de7[_0x3b4c3e(0xd5)]((_0x316450,_0x5c7364)=>{const _0xf7e6e0=_0x3b4c3e;this[_0xf7e6e0(0x12a)](_0x51fcf4,_0x5c7364),_0x316450['forEach'](_0x156d91=>{const _0x424343=_0xf7e6e0;_0x156d91!=null&&this[_0x424343(0x129)](_0x156d91);});}),this[_0x3b4c3e(0xd6)][_0x3b4c3e(0xed)](_0x51fcf4));}['addFormulaDependency'](_0x825a97,_0x1cc4a2,_0x7afc23,_0x24392c,_0x665151){const _0x491000=_0x239cfc;this[_0x491000(0xb5)]['has'](_0x825a97)||this['_formulaData'][_0x491000(0x152)](_0x825a97,new Map());const _0x3383af=this[_0x491000(0xb5)][_0x491000(0x12f)](_0x825a97);_0x3383af['has'](_0x1cc4a2)||_0x3383af[_0x491000(0x152)](_0x1cc4a2,new _0x4b1243()),_0x3383af[_0x491000(0x12f)](_0x1cc4a2)['setValue'](_0x7afc23,_0x24392c,_0x665151[_0x491000(0x13c)]);}[_0x239cfc(0x14f)](_0x55a2a8,_0x3729a1,_0xd4d6c7,_0x53c6e4){const _0x1cdc39=_0x239cfc,_0x4ca92f=this[_0x1cdc39(0xb5)][_0x1cdc39(0x12f)](_0x55a2a8);if(_0x4ca92f&&_0x4ca92f[_0x1cdc39(0xd3)](_0x3729a1)){const _0x1cd9d9=_0x4ca92f[_0x1cdc39(0x12f)](_0x3729a1),_0x5110bc=_0x1cd9d9[_0x1cdc39(0x141)](_0xd4d6c7,_0x53c6e4);if(_0x5110bc==null)return;this[_0x1cdc39(0x11f)](_0x5110bc),_0x1cd9d9[_0x1cdc39(0xe4)](_0xd4d6c7,_0x53c6e4),this[_0x1cdc39(0x129)](_0x5110bc);}}['clearFormulaDependency'](_0x496262,_0x3beaf4){const _0x2f6fb8=_0x239cfc,_0x20dc5e=this[_0x2f6fb8(0xb5)][_0x2f6fb8(0x12f)](_0x496262);if(_0x3beaf4&&_0x20dc5e&&_0x20dc5e['has'](_0x3beaf4)){const _0x14f120=_0x20dc5e['get'](_0x3beaf4);this['_removeDependencyRTreeCacheById'](_0x496262,_0x3beaf4),_0x14f120['forValue']((_0x3485b2,_0x1a494a,_0x108bb3)=>{const _0x11e65d=_0x2f6fb8;if(_0x108bb3==null)return!0x0;this[_0x11e65d(0x129)](_0x108bb3);}),_0x14f120[_0x2f6fb8(0xc9)]();}else _0x20dc5e&&(_0x20dc5e[_0x2f6fb8(0xd5)]((_0x27c575,_0x267161)=>{const _0x117b33=_0x2f6fb8;this[_0x117b33(0x12a)](_0x496262,_0x267161),_0x27c575[_0x117b33(0xe2)]((_0x154c33,_0x389fef,_0x49bc5a)=>{if(_0x49bc5a==null)return!0x0;this['_removeAllTreeMap'](_0x49bc5a);});}),this[_0x2f6fb8(0xb5)][_0x2f6fb8(0xed)](_0x496262));}[_0x239cfc(0x11f)](_0x539df3){const _0x159759=_0x239cfc;if(_0x539df3==null)return;const _0x4a02fd=this['_allTreeMap'][_0x159759(0x12f)](_0x539df3);if(_0x4a02fd){const _0x3b3e33=[];for(const [_0x4ec6f7,_0x1636e3]of _0x4a02fd)for(const [_0x53789b,_0xae67eb]of _0x1636e3)_0x3b3e33['push']({'unitId':_0x4ec6f7,'sheetId':_0x53789b,'range':_0xae67eb,'id':_0x539df3});this[_0x159759(0x12d)][_0x159759(0x12c)](_0x3b3e33);}}[_0x239cfc(0xcb)](_0x1e2bc2,_0x3b9b5f){const _0x66f79f=_0x239cfc,_0x76c34c=this['_definedNameMap'][_0x66f79f(0x12f)](_0x1e2bc2);if(_0x76c34c){const _0x2771e1=_0x76c34c[_0x66f79f(0x12f)](_0x3b9b5f);if(_0x2771e1){for(const _0x3176ba of _0x2771e1)this[_0x66f79f(0x11f)](_0x3176ba),this[_0x66f79f(0x129)](_0x3176ba);_0x2771e1[_0x66f79f(0x11c)]();}}}[_0x239cfc(0x139)](){const _0x49bbd1=_0x239cfc;this['_dependencyRTreeCache'][_0x49bbd1(0x139)]();}[_0x239cfc(0x120)](){const _0x37b0f9=_0x239cfc;this[_0x37b0f9(0x12d)][_0x37b0f9(0x120)]();}[_0x239cfc(0x129)](_0x9e5dfc){const _0x3deef9=_0x239cfc;_0x9e5dfc!=null&&this[_0x3deef9(0xb6)][_0x3deef9(0xed)](_0x9e5dfc);}[_0x239cfc(0x104)](_0x2a3985){const _0xe34799=_0x239cfc;var _0xc1121d,_0x45f4cb;const _0xa57c2a=_0x2a3985['rangeList'];let _0x5d1b2b=this[_0xe34799(0xb6)]['get'](_0x2a3985[_0xe34799(0x13c)]);for(let _0x506ada=0x0;_0x506ada<_0xa57c2a[_0xe34799(0xba)];_0x506ada++){const _0xd71735=_0xa57c2a[_0x506ada];let {unitId:_0x1c304a,sheetId:_0x26c6e5,range:_0x4d7568}=_0xd71735;_0x5d1b2b||(_0x5d1b2b=new Map(),this['_allTreeMap'][_0xe34799(0x152)](_0x2a3985[_0xe34799(0x13c)],_0x5d1b2b)),_0x5d1b2b['has'](_0x1c304a)||_0x5d1b2b['set'](_0x1c304a,new Map());const _0x14a6b9=(_0xc1121d=_0x5d1b2b==null?void 0x0:_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null?void 0x0:_0xc1121d[_0xe34799(0x12f)](_0x26c6e5);_0x14a6b9&&(_0x4d7568={'startRow':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0xe7)],_0x14a6b9[_0xe34799(0xe7)]),'startColumn':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0x118)],_0x14a6b9[_0xe34799(0x118)]),'endRow':Math[_0xe34799(0x143)](_0x4d7568['endRow'],_0x14a6b9[_0xe34799(0xee)]),'endColumn':Math[_0xe34799(0x143)](_0x4d7568[_0xe34799(0xbb)],_0x14a6b9['endColumn'])}),(_0x45f4cb=_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null||_0x45f4cb[_0xe34799(0x152)](_0x26c6e5,_0x4d7568);}}}var fe=Object[_0x239cfc(0xf3)],_e=(_0x54e9db,_0x2a925f,_0x3dae81,_0x35c974)=>{const _0x334732=_0x239cfc;for(var _0x1c0daa=_0x35c974>0x1?void 0x0:_0x35c974?fe(_0x2a925f,_0x3dae81):_0x2a925f,_0xff4c06=_0x54e9db[_0x334732(0xba)]-0x1,_0x5295d8;_0xff4c06>=0x0;_0xff4c06--)(_0x5295d8=_0x54e9db[_0xff4c06])&&(_0x1c0daa=_0x5295d8(_0x1c0daa)||_0x1c0daa);return _0x1c0daa;};const me=Number[_0x239cfc(0xbf)](0x690eeeff);let x=class extends _0x1dbb56{[_0x239cfc(0x10d)](){const _0x4c6356=_0x239cfc;var _0x3b8102,_0x357854;this[_0x4c6356(0xd2)]()?(_0x3b8102=this[_0x4c6356(0x13b)])!=null&&_0x3b8102['notExecuteFormula']||[[_0x21eb5a,{'useClass':he}],[_0x51bc1e,{'useClass':pe}],[_0x900956,{'useClass':de}]][_0x4c6356(0xd5)](_0x219f8e=>this[_0x4c6356(0xd7)]['add'](_0x219f8e)):(_0x357854=this[_0x4c6356(0x13b)])!=null&&_0x357854[_0x4c6356(0xc3)]||[[_0x21eb5a,{'useClass':_0x1526de}],[_0x51bc1e,{'useClass':_0x2fc196}],[_0x900956,{'useClass':_0x1728bb}]]['forEach'](_0x197030=>this['_injector']['add'](_0x197030));}[_0x239cfc(0xd2)](){const _0x361181=_0x239cfc;var _0x498b31;const _0x702bc7=(_0x498b31=this['_configService'][_0x361181(0x135)](_0x2a3ae7))!=null?_0x498b31:{},{ls:_0x1ccc32,pbk:_0x40a03e}=_0x702bc7;if(!_0x1ccc32||!_0x40a03e)return!0x1;const _0x2308b6=_0x51ce0b(ue,le),_0xfc69f6=new Function('return\x20'+_0x2308b6)()(_0x1ccc32,_0x40a03e),_0xb3bbdd=_0xfc69f6[_0x361181(0xce)];return _0xfc69f6[_0x361181(0x131)]&&_0x8ee774(_0xb3bbdd,'sf',me)?_0x505f7c(_0xb3bbdd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x2b746c(_0x3c157e)],x);function _0x5055(){const _0xa5f2ca=['resolve','_traverse','isVirtual','forValue','push','realDeleteValue','rangeList','checkAsyncNode','startRow','_runtimeService','_currentConfigService','markedAsNoFunctionsExecuted','_otherFormulaManagerService','formulaId','delete','endRow','_configService','ParentDependencyTree\x20object\x20is\x20null','_calculateRunList','addFormulaDependencyByDefinedName','getOwnPropertyDescriptor','setFormulaExecuteStage','_checkIsCycleDependency','featureId','next','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependencyMainData','140016WfGogU','setValue','getDirtyData','_lexer','setTotalArrayFormulasToCalculate','execute','isAdded','symbol','767795BcQpnA','_addAllTreeMap','_restDependencyTreeId','isStopExecution','getFormulaData','_dependencyRTreeCacheForAddressFunction','175220pLpOYQ','type','_registerOtherFormulas','refOffsetX','_initializeWithOverride','clearOtherFormulaDependency','setRuntimeFeatureCellData','_createVirtualFDtree','getOtherFormulaDependency','_getTreeNode','_createFDtree','unitId','START_CALCULATION_ARRAY_FORMULA','markedAsStopFunctionsExecuted','column','startColumn','_generateTreeList','getAllRuntimeData','98962CCtdxe','clear','refOffsetY','row','_removeDependencyRTreeCache','closeKdTree','IDLE','rowCount','isCache','dispose','isForceCalculate','_getTreeById','bulkSearch','setCompletedArrayFormulasCount','_removeAllTreeMap','_removeDependencyRTreeCacheById','pop','bulkRemove','_dependencyRTreeCache','clearFeatureFormulaDependency','get','searchDependency','valid','keys','_getUpdateTreeListAndMakeDependency','18TAlryu','getConfig','enableCycleDependency','_updateRangeFlatten','size','openKdTree','clearFormulaDependency','_config','treeId','markedAsSuccessfullyExecuted','getDirtyRanges','isSkip','node','getValue','setSkip','max','addOtherFormulaDependency','_otherFormulaDataMainData','_registerFormulas','getRuntimeState','addFormulaDependency','generate','_dependencyManagerService','add','dirtyRanges','getExcludedRange','getOtherFormulaData','removeFormulaDependency','hasOtherFormulaDataMainData','min','set','getClearDependencyTreeCache','subUnitId','1421192aoGJxs','OTHER_FORMULA','FEATURE_FORMULA','_formulaData','_allTreeMap','_astTreeBuilder','removeFeatureFormulaDependency','intervalCount','length','endColumn','_executionInProgressListener$','_isCyclicUtilMap','3473912OnZdKt','parseInt','_executionCompleteListener$','removeOtherFormulaDependency','setRuntimeData','notExecuteFormula','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','executeAsync','setRuntimeFeatureRange','CURRENTLY_CALCULATING','reset','featureDirtyRanges','removeFormulaDependencyByDefinedName','toRTreeItem','columnCount','message','2221917nkuvvG','formula','_formulaDependencyGenerator','_initLicenseValid','has','addFeatureFormulaDependency','forEach','_featureFormulaData','_injector','getFeatureFormulaDependency','setCurrent','_otherFormulaData','dependencySheetName','_getFirstCellOfRange','START_CALCULATION','_interpreter'];_0x5055=function(){return _0xa5f2ca;};return _0x5055();}export{x as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x453e2b,_0x6ef216){var _0xf81bfa=_0x1851,_0x5d7f19=_0x453e2b();while(!![]){try{var _0x2ff3fa=-parseInt(_0xf81bfa(0x106))/0x1*(parseInt(_0xf81bfa(0x10a))/0x2)+parseInt(_0xf81bfa(0x10e))/0x3+parseInt(_0xf81bfa(0x104))/0x4*(-parseInt(_0xf81bfa(0x108))/0x5)+parseInt(_0xf81bfa(0x109))/0x6*(parseInt(_0xf81bfa(0x107))/0x7)+parseInt(_0xf81bfa(0x10b))/0x8+-parseInt(_0xf81bfa(0x10d))/0x9*(-parseInt(_0xf81bfa(0x105))/0xa)+parseInt(_0xf81bfa(0x10c))/0xb;if(_0x2ff3fa===_0x6ef216)break;else _0x5d7f19['push'](_0x5d7f19['shift']());}catch(_0xd27548){_0x5d7f19['push'](_0x5d7f19['shift']());}}}(_0xb898,0x18ee8));function _0x1851(_0x4bb637,_0x514782){var _0xb898b2=_0xb898();return _0x1851=function(_0x1851a7,_0x33f47e){_0x1851a7=_0x1851a7-0x104;var _0x1542a0=_0xb898b2[_0x1851a7];return _0x1542a0;},_0x1851(_0x4bb637,_0x514782);}export*from'@univerjs/engine-formula/facade';function _0xb898(){var _0x3aeec7=['114581LsHJot','622699lUEDWw','510340sdYaTo','6dMyspT','2tcsEEy','859960pnCOKp','62667FvLNoG','10107mBWxHv','339753oLEeNU','4VGsfak','30LFepTC'];_0xb898=function(){return _0x3aeec7;};return _0xb898();}
1
+ (function(_0x465327,_0x2e8aad){var _0x102332=_0x2125,_0x3d5033=_0x465327();while(!![]){try{var _0x592649=-parseInt(_0x102332(0x1fe))/0x1*(parseInt(_0x102332(0x1f7))/0x2)+-parseInt(_0x102332(0x1fc))/0x3*(-parseInt(_0x102332(0x1fa))/0x4)+parseInt(_0x102332(0x1f8))/0x5+parseInt(_0x102332(0x1fd))/0x6*(-parseInt(_0x102332(0x1f5))/0x7)+parseInt(_0x102332(0x1f6))/0x8+-parseInt(_0x102332(0x1f9))/0x9*(parseInt(_0x102332(0x1f4))/0xa)+parseInt(_0x102332(0x1fb))/0xb;if(_0x592649===_0x2e8aad)break;else _0x3d5033['push'](_0x3d5033['shift']());}catch(_0x31b180){_0x3d5033['push'](_0x3d5033['shift']());}}}(_0x39a2,0x7396f));function _0x39a2(){var _0x20ef49=['3rLOzsN','1186302VnxHdI','152QOZrwE','170PIjBRt','7mEbeYa','1870840iQfNzf','1464VjwHJP','2634565PsiYvy','345312PkqFdS','437432UdMorH','6210226pSGsSH'];_0x39a2=function(){return _0x20ef49;};return _0x39a2();}function _0x2125(_0x43b612,_0x500ff9){var _0x39a213=_0x39a2();return _0x2125=function(_0x21256a,_0x5c42fc){_0x21256a=_0x21256a-0x1f4;var _0x1baf4b=_0x39a213[_0x21256a];return _0x1baf4b;},_0x2125(_0x43b612,_0x500ff9);}export*from'@univerjs/engine-formula/facade';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- function _0x303e(_0x539529,_0x5414cf){const _0x48bbc4=_0x48bb();return _0x303e=function(_0x303e1b,_0x3bac6b){_0x303e1b=_0x303e1b-0x14f;let _0x131fb5=_0x48bbc4[_0x303e1b];return _0x131fb5;},_0x303e(_0x539529,_0x5414cf);}function _0x48bb(){const _0x34578f=['columnCount','type','getOtherFormulaData','setRuntimeFeatureRange','getDirtyRanges','_allTreeMap','refOffsetY','getOtherFormulaDependency','106161huNafW','forEach','_getTreeNode','notExecuteFormula','set','get','message','_config','setRuntimeFeatureCellData','bulkSearch','_formulaDependencyGenerator','markedAsSuccessfullyExecuted','forValue','getRuntimeState','7264ekQmLq','180sOjJpU','execute','_definedNameMap','_isCyclicUtilMap','setTotalArrayFormulasToCalculate','_astTreeBuilder','getClearDependencyTreeCache','parseInt','IDLE','25498VyDqOx','endColumn','addOtherFormulaDependencyMainData','formulaId','_formulaData','subUnitId','add','_getUpdateTreeListAndMakeDependency','ParentDependencyTree\x20object\x20is\x20null','4KJbALF','size','_dependencyTreeCache','_removeDependencyRTreeCache','addOtherFormulaDependency','_injector','isSkip','clear','row','enableCycleDependency','_otherFormulaData','dispose','setFormulaExecuteStage','_dependencyRTreeCache','START_CALCULATION','rangeList','setSkip','START_DEPENDENCY_ARRAY_FORMULA','markedAsNoFunctionsExecuted','_dependencyManagerService','getDirtyData','23688OCfaHo','isCache','dirtyRanges','max','FEATURE_FORMULA','removeFeatureFormulaDependency','addFormulaDependency','searchDependency','min','delete','_calculateRunList','clearFormulaDependency','3104gWkjMR','5EuWUopu\x206gWIDPUopu(CoWgubg,\x20PEKCoWlgD)\x20{\x20\x20\x20\x20UID\x20{\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20CoWgubgnu5p42IUsII2D\x20=\x20CoWgubg.bPCoU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20pIozoutgbb2zg\x20=\x20q9Xf.P2Ibg(2UpK(CoWgubgnu5p42IUsII2D[A]));\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!pIozoutgbb2zg.E6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pIozoutgbb2zg.E6\x20=\x20fE7KgI(CoWgubgnu5p42IUsII2D[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20obLpIagI\x20=\x20UDPgp5\x20LpIagIGCpK2C9WpPg\x20!==\x20\x27Eu6g5oug6\x27\x20&&\x20bgC5\x20oubU2uWgp5\x20LpIagIGCpK2C9WpPg;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20WpuUgyU\x20=\x20obLpIagI\x20?\x20bgC5\x20:\x20kou6pk;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[A]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(7gbb2zgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[x]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(bozu2UEIgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozur2Co6\x20=\x20WpuUgyU.__NgIo5D__(bozu2UEIg,\x207gbb2zg,\x20PEKCoWlgD);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x206p72ou\x20=\x20pIozoutgbb2zg.67;\x20\x20\x20\x20\x20\x20\x20\x205EuWUopu\x20obBp72out2UWJouz(p42UUgIu,\x20pcpbU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu\x20=\x20p42UUgIu.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU\x20=\x20pcpbU.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu42IUb\x20=\x20P2UUgIu.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU42IUb\x20=\x20JpbU.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!P2UUgIu.ouWCE6gb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu\x20===\x20JpbU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(P2UUgIu42IUb.CguzUJ\x20<\x20A\x20||\x20P2UUgIu42IUb[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x2052Cbg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu9E55oy\x20=\x20P2UUgIu42IUb.bCoWg(T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU9E55oy\x20=\x20JpbU42IUb.bCoWg(-P2UUgIu42IUb.CguzUJ\x20+\x20T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu9E55oy\x20===\x20JpbU9E55oy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20CgU\x206p72our2Co6\x20=\x20(6p72ou\x20&&\x206p72ou.CguzUJ)\x20?\x206p72ou.bp7g((67nUg7)\x20=>\x20obBp72out2UWJouz(67nUg7,\x20CpW2Uopu.JpbUu27g))\x20:\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(CpW2Uopu.JpbUu27g\x20===\x20\x27CpW2CJpbU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206p72our2Co6\x20=\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20N2Co6\x20=\x20bozur2Co6\x20&&\x206p72our2Co6;\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20pIozoutgbb2zg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20W2UWJ\x20(gIIpI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6:\x2052Cbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_currentConfigService','openKdTree','reset','resolve','keys','getDirtyNameMap','node','length','rowCount','setValue','startColumn','getFormulaData','_otherFormulaDataMainData','has','getUnitData','setRuntimeOtherData','setCompletedArrayFormulasCount','_configService','isVirtual','next','_generateTreeList','getFormulaDependency','unitId','10dGwVzo','removeFormulaDependencyByDefinedName','getValue','featureId','executeAsync','_featureFormulaData','_traverse','2382240jnqKIo','getOwnPropertyDescriptor','_otherFormulaManagerService','pop','generate','defineProperty','formula','145oBxoOC','checkAsyncNode','_getFirstCellOfRange','removeOtherFormulaDependency','setCurrent','treeId','addFeatureFormulaDependency','_checkIsCycleDependency','toRTreeItem','column','_runtimeService','setTotalFormulasToCalculate','START_DEPENDENCY','clearOtherFormulaDependency','_initLicenseValid','_executionCompleteListener$','_convertDirtyRangesToUnitRange','_executionInProgressListener$','symbol','180887ZNTlFT','clearFeatureFormulaDependency','_dependencyRTreeCacheForAddressFunction','refOffsetX','_createFDtree','_registerFormulas','hasOtherFormulaDataMainData','_restDependencyTreeId','closeKdTree','markedAsStopFunctionsExecuted','_lexer','_apply','_removeAllTreeMap','getAllRuntimeData','START_CALCULATION_ARRAY_FORMULA','_removeDependencyRTreeCacheById','getConfig','isAdded','featureDirtyRanges','isDirty','push','1602QstvnM','addFormulaDependencyByDefinedName'];_0x48bb=function(){return _0x34578f;};return _0x48bb();}const _0x18bbbb=_0x303e;(function(_0x2c256d,_0x12be1d){const _0x19b02f=_0x303e,_0x58b118=_0x2c256d();while(!![]){try{const _0x20e915=-parseInt(_0x19b02f(0x17c))/0x1+-parseInt(_0x19b02f(0x1bc))/0x2*(-parseInt(_0x19b02f(0x19b))/0x3)+parseInt(_0x19b02f(0x1dd))/0x4*(-parseInt(_0x19b02f(0x169))/0x5)+parseInt(_0x19b02f(0x1aa))/0x6*(-parseInt(_0x19b02f(0x1d1))/0x7)+parseInt(_0x19b02f(0x1a9))/0x8*(parseInt(_0x19b02f(0x191))/0x9)+-parseInt(_0x19b02f(0x15b))/0xa*(parseInt(_0x19b02f(0x1b3))/0xb)+parseInt(_0x19b02f(0x162))/0xc;if(_0x20e915===_0x12be1d)break;else _0x58b118['push'](_0x58b118['shift']());}catch(_0xf57a01){_0x58b118['push'](_0x58b118['shift']());}}}(_0x48bb,0x1e329));var j=Object[_0x18bbbb(0x167)],H=(_0x355acc,_0x5cec8b,_0x54821d)=>_0x5cec8b in _0x355acc?j(_0x355acc,_0x5cec8b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54821d}):_0x355acc[_0x5cec8b]=_0x54821d,v=(_0x510aa0,_0x1341ea,_0x95c306)=>H(_0x510aa0,typeof _0x1341ea!=_0x18bbbb(0x17b)?_0x1341ea+'':_0x1341ea,_0x95c306);import{UniverLicensePlugin as _0x2853a9,LS_CONFIG_KEY as _0x3a9d8c,unshiftString as _0x488667,isFeatureAuthorizedWithinTime as _0x5e7505,getSheetFeatureLimit as _0x3aecaa}from'@univerjs-pro/license';import{ObjectMatrix as _0x3660a3,requestImmediateMacroTask as _0x2e50d1,RTree as _0x33bb53,DependentOn as _0x3bb8b9}from'@univerjs/core';import{FormulaDependencyGenerator as _0x554f84,generateRandomDependencyTreeId as _0x53adff,FormulaDependencyTree as _0x1e5b1c,FormulaDependencyTreeType as _0x325632,FormulaDependencyTreeVirtual as _0xc4fe78,generateAstNode as _0x9a6b2,CalculateFormulaService as _0x6ddc63,FormulaExecuteStageType as _0x5692a7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x288494,DEFAULT_INTERVAL_COUNT as _0xb10f38,DependencyManagerBaseService as _0x243c29,UniverFormulaEnginePlugin as _0x4cc211,ICalculateFormulaService as _0x45ab7e,IDependencyManagerService as _0x5853ce,IFormulaDependencyGenerator as _0x5e4e24,DependencyManagerService as _0x40604e}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const ue={0x0:'Z',0x1:'z',0x2:'a',0x3:'Y',0x4:'P',0x5:'f',0x6:'d',0x7:'m',0x8:'U',0x9:'S','h':'0','T':'1','A':'2','x':'3','i':'4','v':'5','M':'6','w':'7','H':'8','Y':'9','K':'b','W':'c','g':'e','z':'g','J':'h','o':'i','e':'j','a':'k','C':'l','u':'n','p':'o','P':'p','O':'q','I':'r','b':'s','U':'t','E':'u','N':'v','k':'w','y':'x','D':'y','s':'A','m':'B','Z':'C','B':'D','S':'E','V':'F','G':'G','c':'H','n':'I','q':'J','l':'K','R':'L','t':'M','f':'N','X':'O','j':'Q','Q':'R','F':'T','r':'V','L':'W','d':'X'},le=_0x18bbbb(0x1de);class de extends _0x554f84{constructor(){const _0x2639c4=_0x18bbbb;super(...arguments),v(this,_0x2639c4(0x1be),new Map());}['dispose'](){const _0x5ed78f=_0x18bbbb;super[_0x5ed78f(0x1c7)](),this[_0x5ed78f(0x1be)][_0x5ed78f(0x1c3)]();}async[_0x18bbbb(0x166)](){const _0x39eb59=_0x18bbbb;this['_updateRangeFlatten']();const _0x4c669d=this[_0x39eb59(0x1df)][_0x39eb59(0x14f)](),_0x24647a=this[_0x39eb59(0x164)][_0x39eb59(0x195)](),_0xf2edce=this['_currentConfigService'][_0x39eb59(0x1b0)]();_0xf2edce!=null&&Object['keys'](_0xf2edce)['forEach'](_0x5a093c=>{_0x5a093c!=null&&Object['keys'](_0xf2edce[_0x5a093c])['forEach'](_0x288a1e=>{const _0x128eca=_0x303e;_0x288a1e!=null&&(this[_0x128eca(0x1cf)][_0x128eca(0x176)](_0x5a093c,_0x288a1e),this[_0x128eca(0x1cf)][_0x128eca(0x17d)](_0x5a093c,_0x288a1e),this[_0x128eca(0x1cf)]['clearFormulaDependency'](_0x5a093c,_0x288a1e));});});const _0x1d3576=this[_0x39eb59(0x1df)][_0x39eb59(0x152)]();await this[_0x39eb59(0x158)](_0x4c669d,_0x24647a,_0x1d3576),this[_0x39eb59(0x1cf)][_0x39eb59(0x1e0)]();const _0x4b9b51=this[_0x39eb59(0x1ba)](),_0x268a63=this[_0x39eb59(0x1db)](_0x4b9b51);return this['_checkIsCycleDependency'](_0x268a63)&&this[_0x39eb59(0x173)][_0x39eb59(0x1c5)](),this['_dependencyTreeCache']['clear'](),this[_0x39eb59(0x17e)][_0x39eb59(0x1c3)](),this[_0x39eb59(0x1cf)]['closeKdTree'](),Promise[_0x39eb59(0x1e2)](_0x268a63);}['_isCyclicUtilMap'](_0x19c07d,_0x116cb8){const _0x5f1c1e=_0x18bbbb,_0x318bc0=[_0x19c07d];for(;_0x318bc0['length']>0x0;){const _0x102e68=_0x318bc0[_0x318bc0[_0x5f1c1e(0x1e6)]-0x1];if((_0x116cb8[_0x5f1c1e(0x1a0)](_0x102e68)||0x0)===0x0){_0x116cb8['set'](_0x102e68,0x1);const _0x40b68e=this[_0x5f1c1e(0x1be)][_0x5f1c1e(0x1a0)](_0x102e68);if(_0x40b68e==null){_0x116cb8[_0x5f1c1e(0x19f)](_0x102e68,0x2),_0x318bc0['pop']();continue;}const _0x1da6d6=this[_0x5f1c1e(0x1cf)][_0x5f1c1e(0x1d8)](_0x40b68e[_0x5f1c1e(0x171)]());for(const _0x4081a7 of _0x1da6d6){const _0xe8cf02=_0x116cb8[_0x5f1c1e(0x1a0)](_0x4081a7)||0x0;if(_0xe8cf02===0x1)return!0x0;_0xe8cf02===0x0&&_0x318bc0[_0x5f1c1e(0x190)](_0x4081a7);}}else _0x116cb8['set'](_0x102e68,0x2),_0x318bc0['pop']();}return!0x1;}[_0x18bbbb(0x170)](_0x789aff){const _0xa70d25=_0x18bbbb,_0x3cf374=new Map();for(const _0x5cf796 of _0x789aff)if(!_0x3cf374[_0xa70d25(0x151)](_0x5cf796[_0xa70d25(0x16e)])&&this[_0xa70d25(0x1ad)](_0x5cf796[_0xa70d25(0x16e)],_0x3cf374))return!0x0;return _0x3cf374['clear'](),!0x1;}['_getFeatureFormulaTree'](_0xb8bee7,_0x1fc6d2,_0x44df33){const _0xd3a0c5=_0x18bbbb,{unitId:_0x3a003b,subUnitId:_0x3e8e27,dependencyRanges:_0x52ccda,getDirtyData:_0x5a1e60}=_0x44df33,_0x5202f3=_0x1fc6d2||_0x53adff(this['_dependencyManagerService']),_0x2cfd1a=new _0x1e5b1c(_0x5202f3);_0x2cfd1a[_0xd3a0c5(0x15a)]=_0x3a003b,_0x2cfd1a[_0xd3a0c5(0x1b8)]=_0x3e8e27,_0x2cfd1a[_0xd3a0c5(0x1cb)]=_0x52ccda,_0x2cfd1a[_0xd3a0c5(0x1d0)]=_0x5a1e60;const _0x863fce=_0x5a1e60(this[_0xd3a0c5(0x1df)][_0xd3a0c5(0x1d0)](),this[_0xd3a0c5(0x173)][_0xd3a0c5(0x189)]()),_0x43571e=this[_0xd3a0c5(0x179)](_0x863fce[_0xd3a0c5(0x1d3)]);return _0x2cfd1a[_0xd3a0c5(0x18e)]=_0x43571e,_0x2cfd1a[_0xd3a0c5(0x15e)]=_0xb8bee7,_0x2cfd1a[_0xd3a0c5(0x194)]=_0x325632[_0xd3a0c5(0x1d5)],this[_0xd3a0c5(0x1cf)][_0xd3a0c5(0x16f)](_0x3a003b,_0x3e8e27,_0xb8bee7,_0x2cfd1a),this[_0xd3a0c5(0x1be)][_0xd3a0c5(0x19f)](_0x2cfd1a['treeId'],_0x2cfd1a),this[_0xd3a0c5(0x1cf)]['getFeatureFormulaDependency'](_0x44df33['unitId'],_0x44df33[_0xd3a0c5(0x1b8)],_0xb8bee7)&&(_0x2cfd1a[_0xd3a0c5(0x1d2)]=!0x0),_0x2cfd1a;}['_registerOtherFormulas'](_0x59f297,_0x55b8b0,_0x37808c){const _0x10be7d=_0x18bbbb;var _0xa7a8ef;for(const _0x54512f of _0x55b8b0){const _0x526637=_0x59f297[_0x54512f];if(_0x526637==null)continue;const _0x202c75=Object[_0x10be7d(0x1e3)](_0x526637);for(const _0x208a69 of _0x202c75){const _0x5ff5e9=_0x526637[_0x208a69];if(_0x5ff5e9==null)continue;const _0x23420f=Object['keys'](_0x5ff5e9);for(const _0x44376c of _0x23420f){const _0x446cbd=this['_dependencyManagerService'][_0x10be7d(0x182)](_0x44376c),_0x4acb84=_0x5ff5e9[_0x44376c],{f:_0x4f1eac,ranges:_0x52c333}=_0x4acb84;let _0x24ebb3=!0x1;_0x446cbd&&(_0x24ebb3=!0x0);const {firstRow:_0x4bd893,firstColumn:_0x53cc3c}=this[_0x10be7d(0x16b)](_0x52c333),_0x477c95=this[_0x10be7d(0x1cf)][_0x10be7d(0x19a)](_0x54512f,_0x208a69,_0x44376c),_0x50dd19=(_0xa7a8ef=_0x477c95==null?void 0x0:_0x477c95[_0x10be7d(0x15d)](0x0,0x0))!=null?_0xa7a8ef:_0x53adff(this['_dependencyManagerService']),_0x2fca69=new _0x1e5b1c(_0x50dd19);for(let _0x26a6a1=0x0;_0x26a6a1<_0x52c333[_0x10be7d(0x1e6)];_0x26a6a1++){const _0x327eec=_0x52c333[_0x26a6a1],{startRow:_0xc6ee09,startColumn:_0x3a0728,endRow:_0x4ad1b4,endColumn:_0x1b523f}=_0x327eec;for(let _0x10a671=_0xc6ee09;_0x10a671<=_0x4ad1b4;_0x10a671++)for(let _0xaeb726=_0x3a0728;_0xaeb726<=_0x1b523f;_0xaeb726++){const _0x19a844=_0xaeb726-_0x53cc3c,_0x3ecff4=_0x10a671-_0x4bd893;if(_0x19a844===0x0&&_0x3ecff4===0x0){_0x2fca69[_0x10be7d(0x168)]=_0x4f1eac,_0x2fca69[_0x10be7d(0x15a)]=_0x54512f,_0x2fca69[_0x10be7d(0x1b8)]=_0x208a69,_0x2fca69['formulaId']=_0x44376c,_0x2fca69[_0x10be7d(0x194)]=_0x325632['OTHER_FORMULA'],_0x2fca69[_0x10be7d(0x1d2)]=_0x24ebb3,_0x37808c[_0x10be7d(0x190)](_0x2fca69),this['_dependencyTreeCache']['set'](_0x2fca69[_0x10be7d(0x16e)],_0x2fca69),this['_dependencyManagerService'][_0x10be7d(0x1c0)](_0x54512f,_0x208a69,_0x44376c,_0x2fca69),this[_0x10be7d(0x1cf)]['addFormulaDependencyByDefinedName'](_0x2fca69);continue;}const _0xbe20ce=new _0xc4fe78();_0xbe20ce[_0x10be7d(0x16e)]=(_0x477c95==null?void 0x0:_0x477c95[_0x10be7d(0x15d)](_0x19a844,_0x3ecff4))||_0x53adff(this['_dependencyManagerService']),_0xbe20ce['refTree']=_0x2fca69,_0xbe20ce[_0x10be7d(0x17f)]=_0x19a844,_0xbe20ce[_0x10be7d(0x199)]=_0x3ecff4,_0xbe20ce[_0x10be7d(0x1d2)]=_0x24ebb3,this[_0x10be7d(0x1cf)][_0x10be7d(0x1c0)](_0x54512f,_0x208a69,_0x44376c,_0xbe20ce),this[_0x10be7d(0x1cf)][_0x10be7d(0x192)](_0xbe20ce),_0x37808c['push'](_0xbe20ce),this[_0x10be7d(0x1be)][_0x10be7d(0x19f)](_0xbe20ce[_0x10be7d(0x16e)],_0xbe20ce);}}this['_dependencyManagerService'][_0x10be7d(0x1b5)](_0x44376c);}}}}[_0x18bbbb(0x181)](_0x3f279f,_0x406c92,_0x2663a6,_0x3db9b1){const _0x564e75=_0x18bbbb;for(const _0x1ff432 of _0x3f279f){const _0x48a5ef=_0x406c92[_0x1ff432];if(_0x48a5ef==null)continue;const _0x1e42f3=Object[_0x564e75(0x1e3)](_0x48a5ef);for(const _0x132379 of _0x1e42f3){const _0x13f013=new _0x3660a3(_0x48a5ef[_0x132379]||{}),_0x2e37f6=new Map();_0x13f013[_0x564e75(0x1a7)]((_0x26cf60,_0x2b8f2b,_0x1acd72)=>{const _0x2f283a=_0x564e75;if(_0x1acd72==null)return!0x0;const {x:_0x2c8f6b=0x0,y:_0x5ed56a=0x0,si:_0x4d9909}=_0x1acd72;if(!(_0x2c8f6b===0x0&&_0x5ed56a===0x0&&_0x4d9909!=null))return!0x0;const _0x2e9743=this[_0x2f283a(0x180)](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b,_0x2663a6,_0x1acd72),_0x15609c=this['_dependencyManagerService']['getFormulaDependency'](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b);_0x15609c!=null?_0x2e9743[_0x2f283a(0x16e)]=_0x15609c:(this[_0x2f283a(0x1cf)][_0x2f283a(0x1d7)](_0x1ff432,_0x132379,_0x26cf60,_0x2b8f2b,_0x2e9743),this[_0x2f283a(0x1cf)][_0x2f283a(0x192)](_0x2e9743)),_0x2e37f6[_0x2f283a(0x19f)](_0x4d9909,_0x2e9743),_0x3db9b1[_0x2f283a(0x190)](_0x2e9743),this[_0x2f283a(0x1be)][_0x2f283a(0x19f)](_0x2e9743[_0x2f283a(0x16e)],_0x2e9743);}),_0x13f013[_0x564e75(0x1a7)]((_0x874209,_0x52620d,_0x22a9e6)=>{const _0x4f2e5b=_0x564e75;if(_0x22a9e6==null)return!0x0;const {x:_0x433a1d=0x0,y:_0x124d5f=0x0,si:_0x2d2bf8}=_0x22a9e6;if(_0x433a1d===0x0&&_0x124d5f===0x0&&_0x2d2bf8!=null)return!0x0;let _0x3e4c40;if(_0x2d2bf8&&_0x2e37f6['has'](_0x2d2bf8)){const _0x1b6a0d=_0x2e37f6['get'](_0x2d2bf8);_0x3e4c40=this['_createVirtualFDtree'](_0x1b6a0d,_0x22a9e6);}else _0x3e4c40=this[_0x4f2e5b(0x180)](_0x1ff432,_0x132379,_0x874209,_0x52620d,_0x2663a6,_0x22a9e6);const _0x225788=this[_0x4f2e5b(0x1cf)][_0x4f2e5b(0x159)](_0x1ff432,_0x132379,_0x874209,_0x52620d);_0x225788!=null?_0x3e4c40[_0x4f2e5b(0x16e)]=_0x225788:(this[_0x4f2e5b(0x1cf)]['addFormulaDependency'](_0x1ff432,_0x132379,_0x874209,_0x52620d,_0x3e4c40),this[_0x4f2e5b(0x1cf)]['addFormulaDependencyByDefinedName'](_0x3e4c40)),_0x3db9b1['push'](_0x3e4c40),this[_0x4f2e5b(0x1be)][_0x4f2e5b(0x19f)](_0x3e4c40[_0x4f2e5b(0x16e)],_0x3e4c40);}),_0x2e37f6[_0x564e75(0x1c3)]();}}}[_0x18bbbb(0x180)](_0x34691f,_0x19aa63,_0x341564,_0x24106e,_0x2e4883,_0xbe7e4){const _0x4f9343=_0x18bbbb,{f:_0x154bd8,x:_0x44987e=0x0,y:_0x344e3d=0x0}=_0xbe7e4,_0x5cc57f=new _0x1e5b1c(_0x53adff(this['_dependencyManagerService'])),_0x237b40=_0x2e4883[_0x34691f][_0x19aa63];return _0x5cc57f[_0x4f9343(0x168)]=_0x154bd8,_0x5cc57f[_0x4f9343(0x15a)]=_0x34691f,_0x5cc57f['subUnitId']=_0x19aa63,_0x5cc57f[_0x4f9343(0x1c4)]=_0x341564,_0x5cc57f[_0x4f9343(0x172)]=_0x24106e,_0x5cc57f['rowCount']=_0x237b40[_0x4f9343(0x1e7)],_0x5cc57f['columnCount']=_0x237b40[_0x4f9343(0x193)],_0x5cc57f;}[_0x18bbbb(0x1ba)](){const _0x128e33=_0x18bbbb,_0x1d7ec8=[],_0xecf3b3=new Set(),_0x56496f=this[_0x128e33(0x1df)]['isForceCalculate'](),_0x1cb308=this[_0x128e33(0x1df)][_0x128e33(0x197)](),_0x7fae17=this['_dependencyManagerService'][_0x128e33(0x1d8)](_0x1cb308),_0x140912=this[_0x128e33(0x17e)][_0x128e33(0x1a4)](_0x1cb308);for(const _0x4a2fc4 of _0x140912)_0x7fae17[_0x128e33(0x1b9)](_0x4a2fc4);for(const [_0xd80732,_0x2e81e8]of this[_0x128e33(0x1be)])(_0x56496f||_0x2e81e8[_0x128e33(0x18f)]||_0x2e81e8['dependencySheetName'](this[_0x128e33(0x1df)][_0x128e33(0x1e4)]())||_0x7fae17[_0x128e33(0x151)](_0xd80732)&&!_0x2e81e8['isExcludeRange'](this[_0x128e33(0x1df)]['getExcludedRange']()))&&!_0xecf3b3[_0x128e33(0x151)](_0xd80732)&&(_0x1d7ec8[_0x128e33(0x190)](_0x2e81e8),_0xecf3b3[_0x128e33(0x1b9)](_0xd80732));for(const [_0xbd4fd4,_0x5190cc]of this['_dependencyTreeCache'])_0x5190cc[_0x128e33(0x156)]||(_0x5190cc['rangeList'][_0x128e33(0x1e6)]=0x0);return _0x1d7ec8;}['_getTreeById'](_0x115910){const _0x2f91df=_0x18bbbb;return this[_0x2f91df(0x1be)][_0x2f91df(0x1a0)](_0x115910);}[_0x18bbbb(0x19d)](_0x503709){const _0x1b98df=_0x18bbbb;return _0x9a6b2(_0x503709[_0x1b98df(0x15a)],_0x503709['formula'],this[_0x1b98df(0x186)],this['_astTreeBuilder'],this[_0x1b98df(0x1df)]);}*[_0x18bbbb(0x161)](_0x528c88,_0x3a581d){const _0x5a6cd8=_0x18bbbb,_0x36bc7b=_0x528c88,_0x4367c4=new Set();for(;_0x36bc7b['length']>0x0;){const _0x767165=_0x36bc7b[_0x5a6cd8(0x165)]();if(_0x4367c4[_0x5a6cd8(0x1c3)](),_0x767165===void 0x0||_0x767165[_0x5a6cd8(0x1c2)]())continue;if(_0x767165[_0x5a6cd8(0x18d)]()){yield _0x767165,_0x767165[_0x5a6cd8(0x1cc)](),_0x3a581d[_0x5a6cd8(0x1b9)](_0x767165[_0x5a6cd8(0x16e)]);continue;}const _0x3b68a9=this[_0x5a6cd8(0x1cf)][_0x5a6cd8(0x1d8)](_0x767165[_0x5a6cd8(0x171)](),_0x3a581d),_0x5358d9=this[_0x5a6cd8(0x17e)][_0x5a6cd8(0x1a4)](_0x767165[_0x5a6cd8(0x171)](),_0x3a581d);for(const _0x55c134 of _0x5358d9)_0x3b68a9['add'](_0x55c134);for(const _0x5c01fa of _0x3b68a9){const _0x3034e8=this[_0x5a6cd8(0x1be)]['get'](_0x5c01fa);if(!_0x3034e8)throw new Error(_0x5a6cd8(0x1bb));_0x3034e8['isAdded']()||_0x767165[_0x5a6cd8(0x1c2)]()||_0x4367c4[_0x5a6cd8(0x1b9)](_0x3034e8);}if(_0x3b68a9[_0x5a6cd8(0x1c3)](),_0x4367c4[_0x5a6cd8(0x1bd)]===0x0)yield _0x767165,_0x767165[_0x5a6cd8(0x1cc)](),_0x3a581d['add'](_0x767165[_0x5a6cd8(0x16e)]);else{_0x767165['setAdded'](),_0x36bc7b['push'](_0x767165);for(const _0x11b163 of _0x4367c4)_0x36bc7b[_0x5a6cd8(0x190)](_0x11b163);}}_0x36bc7b[_0x5a6cd8(0x1e6)]=0x0,_0x4367c4['clear']();}[_0x18bbbb(0x1db)](_0xdae63a){const _0x101af4=[],_0x29e012=new Set();for(const _0x30619e of this['_traverse'](_0xdae63a,_0x29e012))_0x101af4['push'](_0x30619e);return _0x101af4;}}class he extends _0x6ddc63{async[_0x18bbbb(0x187)](_0xb28072=!0x1){const _0x36ad09=_0x18bbbb;_0xb28072?this['_runtimeService'][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1cd)]):this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x175)]),this[_0x36ad09(0x17a)]['next'](this['_runtimeService'][_0x36ad09(0x1a8)]());const _0x27222c=await this[_0x36ad09(0x1a5)][_0x36ad09(0x166)](),_0x1dac03=this['_interpreter'];_0xb28072?(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x18a)]),this['_runtimeService'][_0x36ad09(0x1ae)](_0x27222c[_0x36ad09(0x1e6)])):(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1ca)]),this[_0x36ad09(0x173)][_0x36ad09(0x174)](_0x27222c[_0x36ad09(0x1e6)])),this[_0x36ad09(0x17a)][_0x36ad09(0x157)](this[_0x36ad09(0x173)]['getRuntimeState']());let _0x583574=[];const _0x338027=this[_0x36ad09(0x155)][_0x36ad09(0x18c)](_0x288494),_0x4439c4=(_0x338027==null?void 0x0:_0x338027['intervalCount'])||_0xb10f38;let _0x5b7449=0x0;const _0x3c402e=_0x27222c['length'];for(;_0x27222c['length']>0x0;){const _0x5e5463=_0x27222c[_0x36ad09(0x165)](),_0x42c770={'node':_0x9a6b2(_0x5e5463[_0x36ad09(0x15a)],_0x5e5463[_0x36ad09(0x168)],this[_0x36ad09(0x186)],this[_0x36ad09(0x1af)],this[_0x36ad09(0x1df)]),'refOffsetX':_0x5e5463[_0x36ad09(0x17f)],'refOffsetY':_0x5e5463['refOffsetY']},_0x142a6f=_0x5e5463[_0x36ad09(0x1d0)];if(_0x5b7449%_0x4439c4===0x0&&(await new Promise(_0x15f347=>{const _0x31fa28=_0x2e50d1(_0x15f347);_0x583574['push'](_0x31fa28);}),_0xb28072?(this[_0x36ad09(0x173)][_0x36ad09(0x1c8)](_0x5692a7['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x36ad09(0x173)][_0x36ad09(0x154)](_0x5b7449+0x1)):(this['_runtimeService']['setFormulaExecuteStage'](_0x5692a7['CURRENTLY_CALCULATING']),this['_runtimeService']['setCompletedFormulasCount'](_0x5b7449+0x1)),this[_0x36ad09(0x17a)][_0x36ad09(0x157)](this[_0x36ad09(0x173)][_0x36ad09(0x1a8)]()),this['_runtimeService']['isStopExecution']()||_0x42c770==null&&_0x142a6f==null)){this['_runtimeService'][_0x36ad09(0x1c8)](_0x5692a7[_0x36ad09(0x1b2)]),this[_0x36ad09(0x173)][_0x36ad09(0x185)](),this[_0x36ad09(0x178)][_0x36ad09(0x157)](this[_0x36ad09(0x173)][_0x36ad09(0x189)]());return;}this[_0x36ad09(0x173)][_0x36ad09(0x16d)](_0x5e5463[_0x36ad09(0x1c4)],_0x5e5463[_0x36ad09(0x172)],_0x5e5463['rowCount'],_0x5e5463[_0x36ad09(0x193)],_0x5e5463[_0x36ad09(0x1b8)],_0x5e5463[_0x36ad09(0x15a)]);let _0x9cb63f;if(_0x142a6f!=null&&_0x5e5463[_0x36ad09(0x15e)]!=null){const {runtimeCellData:_0x1f8444,dirtyRanges:_0x3d0669}=_0x142a6f(this['_currentConfigService'][_0x36ad09(0x1d0)](),this[_0x36ad09(0x173)][_0x36ad09(0x189)]());this['_runtimeService'][_0x36ad09(0x1a3)](_0x5e5463['featureId'],_0x1f8444),this['_runtimeService'][_0x36ad09(0x196)](_0x5e5463[_0x36ad09(0x15e)],_0x3d0669);}else _0x42c770!=null&&(_0x1dac03[_0x36ad09(0x16a)](_0x42c770[_0x36ad09(0x1e5)])?_0x9cb63f=await _0x1dac03[_0x36ad09(0x15f)](_0x42c770):_0x9cb63f=_0x1dac03[_0x36ad09(0x1ab)](_0x42c770),_0x5e5463[_0x36ad09(0x1b6)]!=null?this[_0x36ad09(0x173)][_0x36ad09(0x153)](_0x5e5463[_0x36ad09(0x1b6)],_0x5e5463[_0x36ad09(0x17f)],_0x5e5463[_0x36ad09(0x199)],_0x9cb63f):this[_0x36ad09(0x173)]['setRuntimeData'](_0x9cb63f));_0x5b7449++;}return _0x583574['forEach'](_0x110af1=>_0x110af1()),_0x583574=[],_0x3c402e>0x0?this[_0x36ad09(0x173)][_0x36ad09(0x1a6)]():_0xb28072||this[_0x36ad09(0x173)][_0x36ad09(0x1ce)](),this[_0x36ad09(0x173)]['getAllRuntimeData']();}}class pe extends _0x243c29{constructor(){const _0x10461a=_0x18bbbb;super(...arguments),v(this,_0x10461a(0x198),new Map()),v(this,_0x10461a(0x1c9),new _0x33bb53(!0x0));}[_0x18bbbb(0x1e1)](){const _0x18021b=_0x18bbbb;this[_0x18021b(0x1c6)][_0x18021b(0x1c3)](),this[_0x18021b(0x160)]['clear'](),this[_0x18021b(0x1b7)][_0x18021b(0x1c3)](),this['_dependencyRTreeCache']['clear'](),this[_0x18021b(0x198)][_0x18021b(0x1c3)](),this[_0x18021b(0x183)](),this['_otherFormulaDataMainData']['clear']();}[_0x18bbbb(0x1c0)](_0x71e0cc,_0x1e2bae,_0x51a44a,_0xee68e6){const _0x2ba626=_0x18bbbb;this[_0x2ba626(0x1c6)][_0x2ba626(0x151)](_0x71e0cc)||this[_0x2ba626(0x1c6)][_0x2ba626(0x19f)](_0x71e0cc,new Map());const _0x5ab4d0=this[_0x2ba626(0x1c6)]['get'](_0x71e0cc);_0x5ab4d0[_0x2ba626(0x151)](_0x1e2bae)||_0x5ab4d0[_0x2ba626(0x19f)](_0x1e2bae,new Map());const _0x423708=_0x5ab4d0[_0x2ba626(0x1a0)](_0x1e2bae);_0x423708[_0x2ba626(0x151)](_0x51a44a)||_0x423708['set'](_0x51a44a,new _0x3660a3()),_0x423708['get'](_0x51a44a)[_0x2ba626(0x1e8)](_0xee68e6['refOffsetX'],_0xee68e6[_0x2ba626(0x199)],_0xee68e6['treeId']);}[_0x18bbbb(0x16c)](_0x5501e2,_0x45e38d,_0x450644){const _0x2fd89f=_0x18bbbb,_0x4db590=this[_0x2fd89f(0x1c6)]['get'](_0x5501e2);if(_0x4db590&&_0x4db590[_0x2fd89f(0x151)](_0x45e38d)){const _0x161002=_0x4db590[_0x2fd89f(0x1a0)](_0x45e38d);_0x450644[_0x2fd89f(0x19c)](_0x639c91=>{const _0x1a3147=_0x2fd89f,_0x2d7d30=_0x161002[_0x1a3147(0x1a0)](_0x639c91);_0x2d7d30!=null&&(_0x2d7d30[_0x1a3147(0x1a7)]((_0x4349df,_0x417fbb,_0x12d32d)=>{const _0x3a2180=_0x1a3147;this['_removeDependencyRTreeCache'](_0x12d32d),this[_0x3a2180(0x188)](_0x12d32d);}),_0x161002[_0x1a3147(0x1da)](_0x639c91),this[_0x1a3147(0x150)][_0x1a3147(0x1da)](_0x639c91));}),_0x161002[_0x2fd89f(0x1bd)]===0x0&&_0x4db590[_0x2fd89f(0x1da)](_0x45e38d),_0x4db590['size']===0x0&&this[_0x2fd89f(0x1c6)][_0x2fd89f(0x1da)](_0x5501e2);}}[_0x18bbbb(0x176)](_0x3b5ad5,_0x34d52d){const _0x5f010e=_0x18bbbb,_0x17753b=this['_otherFormulaData'][_0x5f010e(0x1a0)](_0x3b5ad5);if(_0x34d52d&&_0x17753b&&_0x17753b['has'](_0x34d52d)){const _0x80ca71=_0x17753b['get'](_0x34d52d);this[_0x5f010e(0x18b)](_0x3b5ad5,_0x34d52d);for(const _0x39fe4b of _0x80ca71[_0x5f010e(0x1e3)]()){const _0x4aa42e=_0x80ca71['get'](_0x39fe4b);_0x4aa42e!=null&&(_0x4aa42e[_0x5f010e(0x1a7)]((_0x369c8c,_0x19954a,_0x110bfc)=>{const _0x5d77cb=_0x5f010e;this[_0x5d77cb(0x198)]['get'](_0x110bfc)&&this[_0x5d77cb(0x188)](_0x110bfc);}),this[_0x5f010e(0x150)][_0x5f010e(0x1da)](_0x39fe4b));}_0x80ca71[_0x5f010e(0x1c3)]();}else{if(_0x17753b){for(const _0x4638c9 of _0x17753b[_0x5f010e(0x1e3)]()){const _0x17d06b=_0x17753b['get'](_0x4638c9);this[_0x5f010e(0x18b)](_0x3b5ad5,_0x4638c9);for(const _0x4a666d of _0x17d06b[_0x5f010e(0x1e3)]()){const _0x265390=_0x17d06b['get'](_0x4a666d);_0x265390!=null&&(_0x265390[_0x5f010e(0x1a7)]((_0x500738,_0x59c5bc,_0x581d01)=>{const _0x6077a7=_0x5f010e;this[_0x6077a7(0x198)][_0x6077a7(0x1a0)](_0x581d01)&&this[_0x6077a7(0x188)](_0x581d01);}),this[_0x5f010e(0x150)][_0x5f010e(0x1da)](_0x4a666d));}}this[_0x5f010e(0x1c6)][_0x5f010e(0x1da)](_0x3b5ad5);}}}[_0x18bbbb(0x16f)](_0x245b49,_0x435468,_0x54805a,_0x793155){const _0x8bb54a=_0x18bbbb;this['_featureFormulaData']['has'](_0x245b49)||this[_0x8bb54a(0x160)][_0x8bb54a(0x19f)](_0x245b49,new Map());const _0x4ac3dc=this[_0x8bb54a(0x160)][_0x8bb54a(0x1a0)](_0x245b49);_0x4ac3dc[_0x8bb54a(0x151)](_0x435468)||_0x4ac3dc[_0x8bb54a(0x19f)](_0x435468,new Map()),_0x4ac3dc['get'](_0x435468)[_0x8bb54a(0x19f)](_0x54805a,_0x793155[_0x8bb54a(0x16e)]);}[_0x18bbbb(0x1d6)](_0x48080e,_0x47962b,_0x5c0f3a){const _0x2cd4ff=_0x18bbbb,_0x3de43c=this[_0x2cd4ff(0x160)][_0x2cd4ff(0x1a0)](_0x48080e);if(_0x3de43c&&_0x3de43c['has'](_0x47962b)){const _0x50066c=_0x3de43c[_0x2cd4ff(0x1a0)](_0x47962b);_0x5c0f3a[_0x2cd4ff(0x19c)](_0x5c0f66=>{const _0x1e5489=_0x2cd4ff,_0x23ecd4=_0x50066c[_0x1e5489(0x1a0)](_0x5c0f66);_0x23ecd4!=null&&(this['_removeDependencyRTreeCache'](_0x23ecd4),_0x50066c['delete'](_0x5c0f66),this[_0x1e5489(0x188)](_0x23ecd4));});}}[_0x18bbbb(0x17d)](_0x4ddaa7,_0x2f63fb){const _0x449ee2=_0x18bbbb,_0x4cbbbd=this[_0x449ee2(0x160)][_0x449ee2(0x1a0)](_0x4ddaa7);if(_0x2f63fb&&_0x4cbbbd&&_0x4cbbbd[_0x449ee2(0x151)](_0x2f63fb)){const _0x306b66=_0x4cbbbd[_0x449ee2(0x1a0)](_0x2f63fb);this[_0x449ee2(0x18b)](_0x4ddaa7,_0x2f63fb),_0x306b66[_0x449ee2(0x19c)](_0x5a9b1c=>{const _0x2f0015=_0x449ee2;_0x5a9b1c!=null&&this[_0x2f0015(0x188)](_0x5a9b1c);}),_0x306b66[_0x449ee2(0x1c3)]();}else _0x4cbbbd&&(_0x4cbbbd[_0x449ee2(0x19c)]((_0x51782c,_0xcfa5c8)=>{const _0x3fe49e=_0x449ee2;this[_0x3fe49e(0x18b)](_0x4ddaa7,_0xcfa5c8),_0x51782c[_0x3fe49e(0x19c)](_0x25b5fa=>{const _0x4ac807=_0x3fe49e;_0x25b5fa!=null&&this[_0x4ac807(0x188)](_0x25b5fa);});}),this[_0x449ee2(0x160)][_0x449ee2(0x1da)](_0x4ddaa7));}[_0x18bbbb(0x1d7)](_0x51116f,_0x129d3e,_0x4aee9f,_0x3bd691,_0x3d9830){const _0x4d2d4d=_0x18bbbb;this['_formulaData'][_0x4d2d4d(0x151)](_0x51116f)||this[_0x4d2d4d(0x1b7)][_0x4d2d4d(0x19f)](_0x51116f,new Map());const _0x4ee016=this['_formulaData'][_0x4d2d4d(0x1a0)](_0x51116f);_0x4ee016[_0x4d2d4d(0x151)](_0x129d3e)||_0x4ee016[_0x4d2d4d(0x19f)](_0x129d3e,new _0x3660a3()),_0x4ee016['get'](_0x129d3e)[_0x4d2d4d(0x1e8)](_0x4aee9f,_0x3bd691,_0x3d9830[_0x4d2d4d(0x16e)]);}['removeFormulaDependency'](_0x3cf141,_0x4ddd60,_0x7354b5,_0x195520){const _0x529b86=_0x18bbbb,_0x1f3584=this[_0x529b86(0x1b7)][_0x529b86(0x1a0)](_0x3cf141);if(_0x1f3584&&_0x1f3584['has'](_0x4ddd60)){const _0x3e9977=_0x1f3584[_0x529b86(0x1a0)](_0x4ddd60),_0x1b439d=_0x3e9977[_0x529b86(0x15d)](_0x7354b5,_0x195520);if(_0x1b439d==null)return;this[_0x529b86(0x1bf)](_0x1b439d),_0x3e9977['realDeleteValue'](_0x7354b5,_0x195520),this[_0x529b86(0x188)](_0x1b439d);}}[_0x18bbbb(0x1dc)](_0x203c92,_0x464596){const _0xe4b993=_0x18bbbb,_0x3f4760=this[_0xe4b993(0x1b7)][_0xe4b993(0x1a0)](_0x203c92);if(_0x464596&&_0x3f4760&&_0x3f4760[_0xe4b993(0x151)](_0x464596)){const _0x11cc2b=_0x3f4760['get'](_0x464596);this[_0xe4b993(0x18b)](_0x203c92,_0x464596),_0x11cc2b[_0xe4b993(0x1a7)]((_0x2583ee,_0x5bfacb,_0x149e71)=>{if(_0x149e71==null)return!0x0;this['_removeAllTreeMap'](_0x149e71);}),_0x11cc2b['reset']();}else _0x3f4760&&(_0x3f4760[_0xe4b993(0x19c)]((_0xcd34a6,_0x245b2b)=>{const _0x435fd4=_0xe4b993;this[_0x435fd4(0x18b)](_0x203c92,_0x245b2b),_0xcd34a6[_0x435fd4(0x1a7)]((_0x40bfec,_0x55fde5,_0x54d41c)=>{const _0xd29916=_0x435fd4;if(_0x54d41c==null)return!0x0;this[_0xd29916(0x188)](_0x54d41c);});}),this[_0xe4b993(0x1b7)]['delete'](_0x203c92));}[_0x18bbbb(0x1bf)](_0x7eaa70){const _0x9ccb16=_0x18bbbb;if(_0x7eaa70==null)return;const _0x17e131=this[_0x9ccb16(0x198)][_0x9ccb16(0x1a0)](_0x7eaa70);if(_0x17e131){const _0x4b7f28=[];for(const [_0x26b424,_0x3f6509]of _0x17e131)for(const [_0x4dedf2,_0x92ebb7]of _0x3f6509)_0x4b7f28[_0x9ccb16(0x190)]({'unitId':_0x26b424,'sheetId':_0x4dedf2,'range':_0x92ebb7,'id':_0x7eaa70});this[_0x9ccb16(0x1c9)]['bulkRemove'](_0x4b7f28);}}[_0x18bbbb(0x15c)](_0xf63594,_0x14991a){const _0x3c5bcc=_0x18bbbb,_0x2119ca=this[_0x3c5bcc(0x1ac)][_0x3c5bcc(0x1a0)](_0xf63594);if(_0x2119ca){const _0x2fe339=_0x2119ca[_0x3c5bcc(0x1a0)](_0x14991a);if(_0x2fe339){for(const _0x1756d7 of _0x2fe339)this[_0x3c5bcc(0x1bf)](_0x1756d7),this[_0x3c5bcc(0x188)](_0x1756d7);_0x2fe339['clear']();}}}['openKdTree'](){this['_dependencyRTreeCache']['openKdTree']();}[_0x18bbbb(0x184)](){const _0x38bd7e=_0x18bbbb;this[_0x38bd7e(0x1c9)][_0x38bd7e(0x184)]();}['_removeAllTreeMap'](_0x2352a5){const _0xd13228=_0x18bbbb;_0x2352a5!=null&&this['_allTreeMap'][_0xd13228(0x1da)](_0x2352a5);}['_addAllTreeMap'](_0x523b3b){const _0x1f67b9=_0x18bbbb;var _0x3b547b,_0x1795f5;const _0x4c947c=_0x523b3b[_0x1f67b9(0x1cb)];let _0x48e27c=this[_0x1f67b9(0x198)][_0x1f67b9(0x1a0)](_0x523b3b[_0x1f67b9(0x16e)]);for(let _0x52aa9d=0x0;_0x52aa9d<_0x4c947c[_0x1f67b9(0x1e6)];_0x52aa9d++){const _0x4abf14=_0x4c947c[_0x52aa9d];let {unitId:_0x57c820,sheetId:_0x2c52d3,range:_0x233809}=_0x4abf14;_0x48e27c||(_0x48e27c=new Map(),this[_0x1f67b9(0x198)][_0x1f67b9(0x19f)](_0x523b3b[_0x1f67b9(0x16e)],_0x48e27c)),_0x48e27c[_0x1f67b9(0x151)](_0x57c820)||_0x48e27c['set'](_0x57c820,new Map());const _0x2fa4ca=(_0x3b547b=_0x48e27c==null?void 0x0:_0x48e27c[_0x1f67b9(0x1a0)](_0x57c820))==null?void 0x0:_0x3b547b[_0x1f67b9(0x1a0)](_0x2c52d3);_0x2fa4ca&&(_0x233809={'startRow':Math[_0x1f67b9(0x1d9)](_0x233809['startRow'],_0x2fa4ca['startRow']),'startColumn':Math[_0x1f67b9(0x1d9)](_0x233809[_0x1f67b9(0x1e9)],_0x2fa4ca['startColumn']),'endRow':Math[_0x1f67b9(0x1d4)](_0x233809['endRow'],_0x2fa4ca['endRow']),'endColumn':Math['max'](_0x233809[_0x1f67b9(0x1b4)],_0x2fa4ca['endColumn'])}),(_0x1795f5=_0x48e27c[_0x1f67b9(0x1a0)](_0x57c820))==null||_0x1795f5[_0x1f67b9(0x19f)](_0x2c52d3,_0x233809);}}}var ge=Object[_0x18bbbb(0x163)],fe=(_0x430fb1,_0x3ef4e6,_0x4e9ed0,_0x22603d)=>{const _0x55fe85=_0x18bbbb;for(var _0x5938ff=_0x22603d>0x1?void 0x0:_0x22603d?ge(_0x3ef4e6,_0x4e9ed0):_0x3ef4e6,_0x1539d0=_0x430fb1[_0x55fe85(0x1e6)]-0x1,_0x20fc09;_0x1539d0>=0x0;_0x1539d0--)(_0x20fc09=_0x430fb1[_0x1539d0])&&(_0x5938ff=_0x20fc09(_0x5938ff)||_0x5938ff);return _0x5938ff;};const _e=Number[_0x18bbbb(0x1b1)](0x690d953d);let P=class extends _0x4cc211{['_initializeWithOverride'](){const _0x32187a=_0x18bbbb;var _0x4339d1,_0x353bc6;this['_initLicenseValid']()?(_0x4339d1=this['_config'])!=null&&_0x4339d1[_0x32187a(0x19e)]||[[_0x45ab7e,{'useClass':he}],[_0x5853ce,{'useClass':pe}],[_0x5e4e24,{'useClass':de}]][_0x32187a(0x19c)](_0x4f2149=>this[_0x32187a(0x1c1)]['add'](_0x4f2149)):(_0x353bc6=this[_0x32187a(0x1a2)])!=null&&_0x353bc6[_0x32187a(0x19e)]||[[_0x45ab7e,{'useClass':_0x6ddc63}],[_0x5853ce,{'useClass':_0x40604e}],[_0x5e4e24,{'useClass':_0x554f84}]]['forEach'](_0x45176d=>this[_0x32187a(0x1c1)][_0x32187a(0x1b9)](_0x45176d));}[_0x18bbbb(0x177)](){const _0x4011fe=_0x18bbbb;var _0x257a9f;const _0x2fd442=(_0x257a9f=this[_0x4011fe(0x155)][_0x4011fe(0x18c)](_0x3a9d8c))!=null?_0x257a9f:{},{ls:_0x55cab1,pbk:_0x4bc2df}=_0x2fd442;if(!_0x55cab1||!_0x4bc2df)return!0x1;const _0x373a09=_0x488667(le,ue),_0x381953=new Function('return\x20'+_0x373a09)()(_0x55cab1,_0x4bc2df),_0x4f992c=_0x381953[_0x4011fe(0x1a1)];return _0x381953['valid']&&_0x5e7505(_0x4f992c,'sf',_e)?_0x3aecaa(_0x4f992c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};P=fe([_0x3bb8b9(_0x2853a9)],P);export{P as UniverProFormulaEnginePlugin};
1
+ function _0x5229(_0x1378be,_0xbe05f4){const _0x505539=_0x5055();return _0x5229=function(_0x522971,_0x219fd2){_0x522971=_0x522971-0xb0;let _0x721c33=_0x505539[_0x522971];return _0x721c33;},_0x5229(_0x1378be,_0xbe05f4);}const _0x239cfc=_0x5229;(function(_0x302b96,_0x5e872f){const _0x48fa9f=_0x5229,_0x1f5e8d=_0x302b96();while(!![]){try{const _0x58b25e=-parseInt(_0x48fa9f(0x11b))/0x1+-parseInt(_0x48fa9f(0xb2))/0x2+parseInt(_0x48fa9f(0xcf))/0x3+parseInt(_0x48fa9f(0xbe))/0x4+-parseInt(_0x48fa9f(0x109))/0x5+-parseInt(_0x48fa9f(0x134))/0x6*(parseInt(_0x48fa9f(0x103))/0x7)+parseInt(_0x48fa9f(0xfb))/0x8;if(_0x58b25e===_0x5e872f)break;else _0x1f5e8d['push'](_0x1f5e8d['shift']());}catch(_0xa0504){_0x1f5e8d['push'](_0x1f5e8d['shift']());}}}(_0x5055,0x6e962));var G=Object['defineProperty'],W=(_0x579bb2,_0x393800,_0x333adf)=>_0x393800 in _0x579bb2?G(_0x579bb2,_0x393800,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333adf}):_0x579bb2[_0x393800]=_0x333adf,S=(_0x19eb00,_0x1345f0,_0x1ed2c9)=>W(_0x19eb00,typeof _0x1345f0!=_0x239cfc(0x102)?_0x1345f0+'':_0x1345f0,_0x1ed2c9);import{UniverLicensePlugin as _0x3c157e,LS_CONFIG_KEY as _0x2a3ae7,unshiftString as _0x51ce0b,isFeatureAuthorizedWithinTime as _0x8ee774,getSheetFeatureLimit as _0x505f7c}from'@univerjs-pro/license';import{ObjectMatrix as _0x4b1243,requestImmediateMacroTask as _0x4c0bf1,RTree as _0x47d3e1,DependentOn as _0x2b746c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1728bb,generateRandomDependencyTreeId as _0x1cae6e,FormulaDependencyTree as _0x521019,FormulaDependencyTreeType as _0x2cc8cb,FormulaDependencyTreeVirtual as _0x2d8fb5,generateAstNode as _0x363971,CalculateFormulaService as _0x1526de,FormulaExecuteStageType as _0x2a96bf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1e39eb,DEFAULT_INTERVAL_COUNT as _0x319cc7,DependencyManagerBaseService as _0x51d43b,UniverFormulaEnginePlugin as _0x1dbb56,ICalculateFormulaService as _0x21eb5a,IDependencyManagerService as _0x51bc1e,IFormulaDependencyGenerator as _0x900956,DependencyManagerService as _0x2fc196}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},ue='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1728bb{constructor(){const _0xabef52=_0x239cfc;super(...arguments),S(this,_0xabef52(0xf8),new Map());}[_0x239cfc(0x124)](){const _0x2a0491=_0x239cfc;super[_0x2a0491(0x124)](),this[_0x2a0491(0xf8)][_0x2a0491(0x11c)]();}async[_0x239cfc(0x149)](){const _0x2cac5e=_0x239cfc;this[_0x2cac5e(0x137)]();const _0x2e57ac=this[_0x2cac5e(0xe9)][_0x2cac5e(0x107)](),_0xbac36e=this[_0x2cac5e(0xeb)][_0x2cac5e(0x14e)](),_0x197a92=this[_0x2cac5e(0xe9)][_0x2cac5e(0xb0)]();_0x197a92!=null&&Object['keys'](_0x197a92)[_0x2cac5e(0xd5)](_0xcb4ab4=>{_0xcb4ab4!=null&&Object['keys'](_0x197a92[_0xcb4ab4])['forEach'](_0x4f3d4d=>{const _0x32e3bb=_0x5229;_0x4f3d4d!=null&&(this[_0x32e3bb(0x14a)][_0x32e3bb(0x10e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x12e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x13a)](_0xcb4ab4,_0x4f3d4d));});});const _0x593019=this[_0x2cac5e(0xe9)]['getUnitData']();await this[_0x2cac5e(0x119)](_0x2e57ac,_0xbac36e,_0x593019),this['_dependencyManagerService']['openKdTree']();const _0x4d1c2a=this['_getUpdateTreeListAndMakeDependency'](),_0x2a55ac=this[_0x2cac5e(0xf1)](_0x4d1c2a);return this[_0x2cac5e(0xf5)](_0x2a55ac)&&this[_0x2cac5e(0xe8)][_0x2cac5e(0x136)](),this[_0x2cac5e(0xf8)][_0x2cac5e(0x11c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2cac5e(0x11c)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x2cac5e(0xdf)](_0x2a55ac);}[_0x239cfc(0xbd)](_0xdfa984,_0x304f0f){const _0x35c877=_0x239cfc,_0x42c65a=[_0xdfa984];for(;_0x42c65a['length']>0x0;){const _0x4dee43=_0x42c65a[_0x42c65a[_0x35c877(0xba)]-0x1];if((_0x304f0f['get'](_0x4dee43)||0x0)===0x0){_0x304f0f[_0x35c877(0x152)](_0x4dee43,0x1);const _0x13be6=this[_0x35c877(0xf8)]['get'](_0x4dee43);if(_0x13be6==null){_0x304f0f['set'](_0x4dee43,0x2),_0x42c65a[_0x35c877(0x12b)]();continue;}const _0x18b7b0=this[_0x35c877(0x14a)][_0x35c877(0x130)](_0x13be6['toRTreeItem']());for(const _0x4a0df4 of _0x18b7b0){const _0x5cd4d0=_0x304f0f['get'](_0x4a0df4)||0x0;if(_0x5cd4d0===0x1)return!0x0;_0x5cd4d0===0x0&&_0x42c65a[_0x35c877(0xe3)](_0x4a0df4);}}else _0x304f0f[_0x35c877(0x152)](_0x4dee43,0x2),_0x42c65a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x34a9f8){const _0x8bf60b=_0x239cfc,_0x2dd349=new Map();for(const _0x2c3390 of _0x34a9f8)if(!_0x2dd349[_0x8bf60b(0xd3)](_0x2c3390[_0x8bf60b(0x13c)])&&this['_isCyclicUtilMap'](_0x2c3390[_0x8bf60b(0x13c)],_0x2dd349))return!0x0;return _0x2dd349[_0x8bf60b(0x11c)](),!0x1;}['_getFeatureFormulaTree'](_0x1261f8,_0x4f40e9,_0xa5067a){const _0x5bab28=_0x239cfc,{unitId:_0x45d5b4,subUnitId:_0x227707,dependencyRanges:_0x1f120a,getDirtyData:_0x32d246}=_0xa5067a,_0x3aab95=_0x4f40e9||_0x1cae6e(this[_0x5bab28(0x14a)]),_0x16d749=new _0x521019(_0x3aab95);_0x16d749[_0x5bab28(0x114)]=_0x45d5b4,_0x16d749[_0x5bab28(0xb1)]=_0x227707,_0x16d749[_0x5bab28(0xe5)]=_0x1f120a,_0x16d749[_0x5bab28(0xfd)]=_0x32d246;const _0x33a9f1=_0x32d246(this[_0x5bab28(0xe9)]['getDirtyData'](),this['_runtimeService'][_0x5bab28(0x11a)]()),_0x3ba764=this['_convertDirtyRangesToUnitRange'](_0x33a9f1[_0x5bab28(0x14c)]);return _0x16d749[_0x5bab28(0xca)]=_0x3ba764,_0x16d749['featureId']=_0x1261f8,_0x16d749[_0x5bab28(0x10a)]=_0x2cc8cb[_0x5bab28(0xb4)],this[_0x5bab28(0x14a)]['addFeatureFormulaDependency'](_0x45d5b4,_0x227707,_0x1261f8,_0x16d749),this['_dependencyTreeCache']['set'](_0x16d749['treeId'],_0x16d749),this['_dependencyManagerService'][_0x5bab28(0xd8)](_0xa5067a[_0x5bab28(0x114)],_0xa5067a[_0x5bab28(0xb1)],_0x1261f8)&&(_0x16d749[_0x5bab28(0x123)]=!0x0),_0x16d749;}[_0x239cfc(0x10b)](_0xe3aa1b,_0x296d0b,_0x4b9f0e){const _0x598abe=_0x239cfc;var _0xecc3d;for(const _0x25b792 of _0x296d0b){const _0x26b2ca=_0xe3aa1b[_0x25b792];if(_0x26b2ca==null)continue;const _0x52126c=Object[_0x598abe(0x132)](_0x26b2ca);for(const _0x105477 of _0x52126c){const _0x4dc2cf=_0x26b2ca[_0x105477];if(_0x4dc2cf==null)continue;const _0x349a7d=Object['keys'](_0x4dc2cf);for(const _0x2df35d of _0x349a7d){const _0x3dc07b=this[_0x598abe(0x14a)][_0x598abe(0x150)](_0x2df35d),_0x3ac866=_0x4dc2cf[_0x2df35d],{f:_0x58c262,ranges:_0x5a5899}=_0x3ac866;let _0x238235=!0x1;_0x3dc07b&&(_0x238235=!0x0);const {firstRow:_0x1d0305,firstColumn:_0x528517}=this[_0x598abe(0xdc)](_0x5a5899),_0x2d0f7c=this[_0x598abe(0x14a)][_0x598abe(0x111)](_0x25b792,_0x105477,_0x2df35d),_0x313bc4=(_0xecc3d=_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](0x0,0x0))!=null?_0xecc3d:_0x1cae6e(this[_0x598abe(0x14a)]),_0x308504=new _0x521019(_0x313bc4);for(let _0x160cab=0x0;_0x160cab<_0x5a5899[_0x598abe(0xba)];_0x160cab++){const _0x1421c1=_0x5a5899[_0x160cab],{startRow:_0x24b138,startColumn:_0x178f50,endRow:_0x4809b9,endColumn:_0x2af087}=_0x1421c1;for(let _0x4637b6=_0x24b138;_0x4637b6<=_0x4809b9;_0x4637b6++)for(let _0x39030f=_0x178f50;_0x39030f<=_0x2af087;_0x39030f++){const _0x4be3ce=_0x39030f-_0x528517,_0x160393=_0x4637b6-_0x1d0305;if(_0x4be3ce===0x0&&_0x160393===0x0){_0x308504[_0x598abe(0xd0)]=_0x58c262,_0x308504[_0x598abe(0x114)]=_0x25b792,_0x308504[_0x598abe(0xb1)]=_0x105477,_0x308504[_0x598abe(0xec)]=_0x2df35d,_0x308504[_0x598abe(0x10a)]=_0x2cc8cb[_0x598abe(0xb3)],_0x308504['isCache']=_0x238235,_0x4b9f0e[_0x598abe(0xe3)](_0x308504),this[_0x598abe(0xf8)][_0x598abe(0x152)](_0x308504['treeId'],_0x308504),this[_0x598abe(0x14a)]['addOtherFormulaDependency'](_0x25b792,_0x105477,_0x2df35d,_0x308504),this[_0x598abe(0x14a)]['addFormulaDependencyByDefinedName'](_0x308504);continue;}const _0x2b037c=new _0x2d8fb5();_0x2b037c['treeId']=(_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](_0x4be3ce,_0x160393))||_0x1cae6e(this['_dependencyManagerService']),_0x2b037c['refTree']=_0x308504,_0x2b037c[_0x598abe(0x10c)]=_0x4be3ce,_0x2b037c[_0x598abe(0x11d)]=_0x160393,_0x2b037c[_0x598abe(0x123)]=_0x238235,this['_dependencyManagerService'][_0x598abe(0x144)](_0x25b792,_0x105477,_0x2df35d,_0x2b037c),this['_dependencyManagerService'][_0x598abe(0xf2)](_0x2b037c),_0x4b9f0e['push'](_0x2b037c),this['_dependencyTreeCache'][_0x598abe(0x152)](_0x2b037c[_0x598abe(0x13c)],_0x2b037c);}}this[_0x598abe(0x14a)][_0x598abe(0xfa)](_0x2df35d);}}}}[_0x239cfc(0x146)](_0x408352,_0x2a6c6b,_0x24d9c6,_0x250857){const _0x2234a1=_0x239cfc;for(const _0x1ac1b3 of _0x408352){const _0x10c77c=_0x2a6c6b[_0x1ac1b3];if(_0x10c77c==null)continue;const _0x2809c3=Object[_0x2234a1(0x132)](_0x10c77c);for(const _0x341cf2 of _0x2809c3){const _0x2edd54=new _0x4b1243(_0x10c77c[_0x341cf2]||{}),_0x3cbf58=new Map();_0x2edd54[_0x2234a1(0xe2)]((_0x5a44c1,_0x298b9c,_0x4edb15)=>{const _0x2f45bb=_0x2234a1;if(_0x4edb15==null)return!0x0;const {x:_0x1c3fc7=0x0,y:_0x1518d8=0x0,si:_0x3229c7}=_0x4edb15;if(!(_0x1c3fc7===0x0&&_0x1518d8===0x0&&_0x3229c7!=null))return!0x0;const _0x39464d=this[_0x2f45bb(0x113)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x24d9c6,_0x4edb15),_0x428bce=this[_0x2f45bb(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c);_0x428bce!=null?_0x39464d[_0x2f45bb(0x13c)]=_0x428bce:(this[_0x2f45bb(0x14a)][_0x2f45bb(0x148)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x39464d),this[_0x2f45bb(0x14a)][_0x2f45bb(0xf2)](_0x39464d)),_0x3cbf58['set'](_0x3229c7,_0x39464d),_0x250857[_0x2f45bb(0xe3)](_0x39464d),this[_0x2f45bb(0xf8)][_0x2f45bb(0x152)](_0x39464d[_0x2f45bb(0x13c)],_0x39464d);}),_0x2edd54[_0x2234a1(0xe2)]((_0x1023ca,_0x5b40d9,_0x3859f1)=>{const _0x58887b=_0x2234a1;if(_0x3859f1==null)return!0x0;const {x:_0x12f66e=0x0,y:_0xa44433=0x0,si:_0x412877}=_0x3859f1;if(_0x12f66e===0x0&&_0xa44433===0x0&&_0x412877!=null)return!0x0;let _0x3a9fce;if(_0x412877&&_0x3cbf58['has'](_0x412877)){const _0xd5f618=_0x3cbf58[_0x58887b(0x12f)](_0x412877);_0x3a9fce=this[_0x58887b(0x110)](_0xd5f618,_0x3859f1);}else _0x3a9fce=this[_0x58887b(0x113)](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x24d9c6,_0x3859f1);const _0x3d460a=this[_0x58887b(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9);_0x3d460a!=null?_0x3a9fce[_0x58887b(0x13c)]=_0x3d460a:(this[_0x58887b(0x14a)]['addFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x3a9fce),this[_0x58887b(0x14a)][_0x58887b(0xf2)](_0x3a9fce)),_0x250857[_0x58887b(0xe3)](_0x3a9fce),this[_0x58887b(0xf8)][_0x58887b(0x152)](_0x3a9fce[_0x58887b(0x13c)],_0x3a9fce);}),_0x3cbf58['clear']();}}}['_createFDtree'](_0x3d41af,_0x31b192,_0x5aa918,_0x1b9438,_0x137dfa,_0x3a40dc){const _0x33bfbb=_0x239cfc,{f:_0x153608,x:_0x2be7a7=0x0,y:_0x5990d0=0x0}=_0x3a40dc,_0x48ed48=new _0x521019(_0x1cae6e(this['_dependencyManagerService'])),_0x33e0ba=_0x137dfa[_0x3d41af][_0x31b192];return _0x48ed48[_0x33bfbb(0xd0)]=_0x153608,_0x48ed48['unitId']=_0x3d41af,_0x48ed48[_0x33bfbb(0xb1)]=_0x31b192,_0x48ed48[_0x33bfbb(0x11e)]=_0x5aa918,_0x48ed48[_0x33bfbb(0x117)]=_0x1b9438,_0x48ed48[_0x33bfbb(0x122)]=_0x33e0ba[_0x33bfbb(0x122)],_0x48ed48[_0x33bfbb(0xcd)]=_0x33e0ba[_0x33bfbb(0xcd)],_0x48ed48;}[_0x239cfc(0x133)](){const _0xdc111=_0x239cfc,_0x1ef472=[],_0x1a376c=new Set(),_0x119769=this['_currentConfigService'][_0xdc111(0x125)](),_0x4f8e45=this[_0xdc111(0xe9)][_0xdc111(0x13e)](),_0x11c6d9=this[_0xdc111(0x14a)][_0xdc111(0x130)](_0x4f8e45),_0x3fd74e=this[_0xdc111(0x108)][_0xdc111(0x127)](_0x4f8e45);for(const _0x2378c3 of _0x3fd74e)_0x11c6d9[_0xdc111(0x14b)](_0x2378c3);for(const [_0x5b98a8,_0x1bda32]of this[_0xdc111(0xf8)])(_0x119769||_0x1bda32['isDirty']||_0x1bda32[_0xdc111(0xdb)](this[_0xdc111(0xe9)]['getDirtyNameMap']())||_0x11c6d9[_0xdc111(0xd3)](_0x5b98a8)&&!_0x1bda32[_0xdc111(0xf9)](this[_0xdc111(0xe9)][_0xdc111(0x14d)]()))&&!_0x1a376c[_0xdc111(0xd3)](_0x5b98a8)&&(_0x1ef472[_0xdc111(0xe3)](_0x1bda32),_0x1a376c[_0xdc111(0x14b)](_0x5b98a8));for(const [_0x4bea4d,_0x405c91]of this[_0xdc111(0xf8)])_0x405c91[_0xdc111(0xe1)]||(_0x405c91[_0xdc111(0xe5)][_0xdc111(0xba)]=0x0);return _0x1ef472;}[_0x239cfc(0x126)](_0x5225ce){const _0x3c5669=_0x239cfc;return this[_0x3c5669(0xf8)][_0x3c5669(0x12f)](_0x5225ce);}[_0x239cfc(0x112)](_0x1ee656){const _0x23b734=_0x239cfc;return _0x363971(_0x1ee656['unitId'],_0x1ee656[_0x23b734(0xd0)],this[_0x23b734(0xfe)],this[_0x23b734(0xb7)],this[_0x23b734(0xe9)]);}*[_0x239cfc(0xe0)](_0x5ead6a,_0x2428df){const _0x49b165=_0x239cfc,_0x4433ef=_0x5ead6a,_0x193683=new Set();for(;_0x4433ef['length']>0x0;){const _0xe06db9=_0x4433ef['pop']();if(_0x193683[_0x49b165(0x11c)](),_0xe06db9===void 0x0||_0xe06db9[_0x49b165(0x13f)]())continue;if(_0xe06db9[_0x49b165(0x101)]()){yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);continue;}const _0x49171e=this[_0x49b165(0x14a)][_0x49b165(0x130)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df),_0x47413f=this[_0x49b165(0x108)][_0x49b165(0x127)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df);for(const _0x38f671 of _0x47413f)_0x49171e[_0x49b165(0x14b)](_0x38f671);for(const _0xf34c68 of _0x49171e){const _0x48e34f=this['_dependencyTreeCache'][_0x49b165(0x12f)](_0xf34c68);if(!_0x48e34f)throw new Error(_0x49b165(0xf0));_0x48e34f[_0x49b165(0x101)]()||_0xe06db9['isSkip']()||_0x193683[_0x49b165(0x14b)](_0x48e34f);}if(_0x49171e['clear'](),_0x193683[_0x49b165(0x138)]===0x0)yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);else{_0xe06db9['setAdded'](),_0x4433ef[_0x49b165(0xe3)](_0xe06db9);for(const _0xee9dd0 of _0x193683)_0x4433ef[_0x49b165(0xe3)](_0xee9dd0);}}_0x4433ef[_0x49b165(0xba)]=0x0,_0x193683[_0x49b165(0x11c)]();}[_0x239cfc(0xf1)](_0x52197f){const _0x1c3539=_0x239cfc,_0x356679=[],_0xe23666=new Set();for(const _0x2f3ea9 of this[_0x1c3539(0xe0)](_0x52197f,_0xe23666))_0x356679['push'](_0x2f3ea9);return _0x356679;}}class he extends _0x1526de{async['_apply'](_0x401ec2=!0x1){const _0x139db7=_0x239cfc;_0x401ec2?this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc5)]):this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf['START_DEPENDENCY']),this[_0x139db7(0xbc)]['next'](this[_0x139db7(0xe8)][_0x139db7(0x147)]());const _0x2572c5=await this[_0x139db7(0xd1)][_0x139db7(0x149)](),_0x41183d=this[_0x139db7(0xde)];_0x401ec2?(this[_0x139db7(0xe8)]['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x115)]),this[_0x139db7(0xe8)][_0x139db7(0xff)](_0x2572c5['length'])):(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xdd)]),this[_0x139db7(0xe8)][_0x139db7(0xc4)](_0x2572c5[_0x139db7(0xba)])),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this['_runtimeService']['getRuntimeState']());let _0x4257e0=[];const _0x32607c=this[_0x139db7(0xef)]['getConfig'](_0x1e39eb),_0x4a32b0=(_0x32607c==null?void 0x0:_0x32607c[_0x139db7(0xb9)])||_0x319cc7;let _0x45e8c8=0x0;const _0x4631cf=_0x2572c5[_0x139db7(0xba)];for(;_0x2572c5[_0x139db7(0xba)]>0x0;){const _0x4629a5=_0x2572c5['pop'](),_0x285f8d={'node':_0x363971(_0x4629a5[_0x139db7(0x114)],_0x4629a5['formula'],this['_lexer'],this[_0x139db7(0xb7)],this[_0x139db7(0xe9)]),'refOffsetX':_0x4629a5[_0x139db7(0x10c)],'refOffsetY':_0x4629a5[_0x139db7(0x11d)]},_0x4a56eb=_0x4629a5[_0x139db7(0xfd)];if(_0x45e8c8%_0x4a32b0===0x0&&(await new Promise(_0x3dcc7a=>{const _0x2d9f1d=_0x139db7,_0x15ae01=_0x4c0bf1(_0x3dcc7a);_0x4257e0[_0x2d9f1d(0xe3)](_0x15ae01);}),_0x401ec2?(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x139db7(0xe8)][_0x139db7(0x128)](_0x45e8c8+0x1)):(this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc8)]),this[_0x139db7(0xe8)]['setCompletedFormulasCount'](_0x45e8c8+0x1)),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x147)]()),this[_0x139db7(0xe8)][_0x139db7(0x106)]()||_0x285f8d==null&&_0x4a56eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x121)]),this['_runtimeService'][_0x139db7(0x116)](),this[_0x139db7(0xc0)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x11a)]());return;}this[_0x139db7(0xe8)][_0x139db7(0xd9)](_0x4629a5[_0x139db7(0x11e)],_0x4629a5['column'],_0x4629a5[_0x139db7(0x122)],_0x4629a5[_0x139db7(0xcd)],_0x4629a5[_0x139db7(0xb1)],_0x4629a5[_0x139db7(0x114)]);let _0x26941f;if(_0x4a56eb!=null&&_0x4629a5[_0x139db7(0xf6)]!=null){const {runtimeCellData:_0x1bb05e,dirtyRanges:_0x1300cc}=_0x4a56eb(this[_0x139db7(0xe9)][_0x139db7(0xfd)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]());this[_0x139db7(0xe8)][_0x139db7(0x10f)](_0x4629a5[_0x139db7(0xf6)],_0x1bb05e),this[_0x139db7(0xe8)][_0x139db7(0xc7)](_0x4629a5[_0x139db7(0xf6)],_0x1300cc);}else _0x285f8d!=null&&(_0x41183d[_0x139db7(0xe6)](_0x285f8d[_0x139db7(0x140)])?_0x26941f=await _0x41183d[_0x139db7(0xc6)](_0x285f8d):_0x26941f=_0x41183d[_0x139db7(0x100)](_0x285f8d),_0x4629a5[_0x139db7(0xec)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4629a5[_0x139db7(0xec)],_0x4629a5['refOffsetX'],_0x4629a5[_0x139db7(0x11d)],_0x26941f):this[_0x139db7(0xe8)][_0x139db7(0xc2)](_0x26941f));_0x45e8c8++;}return _0x4257e0[_0x139db7(0xd5)](_0x2e69b5=>_0x2e69b5()),_0x4257e0=[],_0x4631cf>0x0?this[_0x139db7(0xe8)][_0x139db7(0x13d)]():_0x401ec2||this[_0x139db7(0xe8)][_0x139db7(0xea)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]();}}class pe extends _0x51d43b{constructor(){const _0x2b4b17=_0x239cfc;super(...arguments),S(this,_0x2b4b17(0xb6),new Map()),S(this,_0x2b4b17(0x12d),new _0x47d3e1(!0x0));}[_0x239cfc(0xc9)](){const _0x151c91=_0x239cfc;this[_0x151c91(0xda)][_0x151c91(0x11c)](),this[_0x151c91(0xd6)][_0x151c91(0x11c)](),this[_0x151c91(0xb5)][_0x151c91(0x11c)](),this[_0x151c91(0x12d)][_0x151c91(0x11c)](),this[_0x151c91(0xb6)][_0x151c91(0x11c)](),this[_0x151c91(0x105)](),this['_otherFormulaDataMainData'][_0x151c91(0x11c)]();}[_0x239cfc(0x144)](_0x9e52f2,_0x52b21a,_0x4a2b5e,_0x42cc27){const _0x361196=_0x239cfc;this[_0x361196(0xda)]['has'](_0x9e52f2)||this[_0x361196(0xda)]['set'](_0x9e52f2,new Map());const _0x42517b=this[_0x361196(0xda)][_0x361196(0x12f)](_0x9e52f2);_0x42517b[_0x361196(0xd3)](_0x52b21a)||_0x42517b[_0x361196(0x152)](_0x52b21a,new Map());const _0x4f3316=_0x42517b[_0x361196(0x12f)](_0x52b21a);_0x4f3316[_0x361196(0xd3)](_0x4a2b5e)||_0x4f3316['set'](_0x4a2b5e,new _0x4b1243()),_0x4f3316['get'](_0x4a2b5e)[_0x361196(0xfc)](_0x42cc27['refOffsetX'],_0x42cc27[_0x361196(0x11d)],_0x42cc27[_0x361196(0x13c)]);}[_0x239cfc(0xc1)](_0x2649b9,_0x42ff46,_0x126848){const _0x3edeae=_0x239cfc,_0x5310cf=this[_0x3edeae(0xda)][_0x3edeae(0x12f)](_0x2649b9);if(_0x5310cf&&_0x5310cf[_0x3edeae(0xd3)](_0x42ff46)){const _0x1089fe=_0x5310cf['get'](_0x42ff46);_0x126848['forEach'](_0x540e06=>{const _0x27cbff=_0x3edeae,_0x3c6e74=_0x1089fe[_0x27cbff(0x12f)](_0x540e06);_0x3c6e74!=null&&(_0x3c6e74[_0x27cbff(0xe2)]((_0x571844,_0x4be512,_0x548ff3)=>{const _0x28846=_0x27cbff;this['_removeDependencyRTreeCache'](_0x548ff3),this[_0x28846(0x129)](_0x548ff3);}),_0x1089fe[_0x27cbff(0xed)](_0x540e06),this[_0x27cbff(0x145)][_0x27cbff(0xed)](_0x540e06));}),_0x1089fe[_0x3edeae(0x138)]===0x0&&_0x5310cf['delete'](_0x42ff46),_0x5310cf['size']===0x0&&this[_0x3edeae(0xda)][_0x3edeae(0xed)](_0x2649b9);}}[_0x239cfc(0x10e)](_0x4d489b,_0x3e6e68){const _0x1c3b56=_0x239cfc,_0x468ab4=this['_otherFormulaData'][_0x1c3b56(0x12f)](_0x4d489b);if(_0x3e6e68&&_0x468ab4&&_0x468ab4['has'](_0x3e6e68)){const _0x509537=_0x468ab4['get'](_0x3e6e68);this[_0x1c3b56(0x12a)](_0x4d489b,_0x3e6e68);for(const _0x3d19d6 of _0x509537[_0x1c3b56(0x132)]()){const _0x14309e=_0x509537[_0x1c3b56(0x12f)](_0x3d19d6);_0x14309e!=null&&(_0x14309e[_0x1c3b56(0xe2)]((_0x31994a,_0x43e5ec,_0x351e38)=>{const _0x4b4277=_0x1c3b56;this[_0x4b4277(0xb6)]['get'](_0x351e38)&&this[_0x4b4277(0x129)](_0x351e38);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x3d19d6));}_0x509537[_0x1c3b56(0x11c)]();}else{if(_0x468ab4){for(const _0x1b4cb1 of _0x468ab4['keys']()){const _0x3a1d0d=_0x468ab4[_0x1c3b56(0x12f)](_0x1b4cb1);this[_0x1c3b56(0x12a)](_0x4d489b,_0x1b4cb1);for(const _0x1338be of _0x3a1d0d['keys']()){const _0x48cc9a=_0x3a1d0d[_0x1c3b56(0x12f)](_0x1338be);_0x48cc9a!=null&&(_0x48cc9a[_0x1c3b56(0xe2)]((_0x177dcd,_0x5a8773,_0x50cccf)=>{const _0x46ec7d=_0x1c3b56;this[_0x46ec7d(0xb6)][_0x46ec7d(0x12f)](_0x50cccf)&&this[_0x46ec7d(0x129)](_0x50cccf);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x1338be));}}this['_otherFormulaData'][_0x1c3b56(0xed)](_0x4d489b);}}}[_0x239cfc(0xd4)](_0x1e5eca,_0x212d32,_0x3f1323,_0x24a299){const _0x51b616=_0x239cfc;this['_featureFormulaData'][_0x51b616(0xd3)](_0x1e5eca)||this[_0x51b616(0xd6)][_0x51b616(0x152)](_0x1e5eca,new Map());const _0x2d25bd=this['_featureFormulaData']['get'](_0x1e5eca);_0x2d25bd[_0x51b616(0xd3)](_0x212d32)||_0x2d25bd['set'](_0x212d32,new Map()),_0x2d25bd[_0x51b616(0x12f)](_0x212d32)['set'](_0x3f1323,_0x24a299[_0x51b616(0x13c)]);}[_0x239cfc(0xb8)](_0x12bc4b,_0x2b01af,_0x4db8ff){const _0x40aefa=_0x239cfc,_0x22dcb6=this[_0x40aefa(0xd6)][_0x40aefa(0x12f)](_0x12bc4b);if(_0x22dcb6&&_0x22dcb6[_0x40aefa(0xd3)](_0x2b01af)){const _0x10c89a=_0x22dcb6[_0x40aefa(0x12f)](_0x2b01af);_0x4db8ff[_0x40aefa(0xd5)](_0x14731a=>{const _0x332bf4=_0x40aefa,_0x22e40d=_0x10c89a[_0x332bf4(0x12f)](_0x14731a);_0x22e40d!=null&&(this[_0x332bf4(0x11f)](_0x22e40d),_0x10c89a['delete'](_0x14731a),this[_0x332bf4(0x129)](_0x22e40d));});}}['clearFeatureFormulaDependency'](_0x51fcf4,_0x1e0318){const _0x3b4c3e=_0x239cfc,_0x106de7=this[_0x3b4c3e(0xd6)][_0x3b4c3e(0x12f)](_0x51fcf4);if(_0x1e0318&&_0x106de7&&_0x106de7['has'](_0x1e0318)){const _0x53ea9e=_0x106de7['get'](_0x1e0318);this['_removeDependencyRTreeCacheById'](_0x51fcf4,_0x1e0318),_0x53ea9e['forEach'](_0x64f9db=>{_0x64f9db!=null&&this['_removeAllTreeMap'](_0x64f9db);}),_0x53ea9e['clear']();}else _0x106de7&&(_0x106de7[_0x3b4c3e(0xd5)]((_0x316450,_0x5c7364)=>{const _0xf7e6e0=_0x3b4c3e;this[_0xf7e6e0(0x12a)](_0x51fcf4,_0x5c7364),_0x316450['forEach'](_0x156d91=>{const _0x424343=_0xf7e6e0;_0x156d91!=null&&this[_0x424343(0x129)](_0x156d91);});}),this[_0x3b4c3e(0xd6)][_0x3b4c3e(0xed)](_0x51fcf4));}['addFormulaDependency'](_0x825a97,_0x1cc4a2,_0x7afc23,_0x24392c,_0x665151){const _0x491000=_0x239cfc;this[_0x491000(0xb5)]['has'](_0x825a97)||this['_formulaData'][_0x491000(0x152)](_0x825a97,new Map());const _0x3383af=this[_0x491000(0xb5)][_0x491000(0x12f)](_0x825a97);_0x3383af['has'](_0x1cc4a2)||_0x3383af[_0x491000(0x152)](_0x1cc4a2,new _0x4b1243()),_0x3383af[_0x491000(0x12f)](_0x1cc4a2)['setValue'](_0x7afc23,_0x24392c,_0x665151[_0x491000(0x13c)]);}[_0x239cfc(0x14f)](_0x55a2a8,_0x3729a1,_0xd4d6c7,_0x53c6e4){const _0x1cdc39=_0x239cfc,_0x4ca92f=this[_0x1cdc39(0xb5)][_0x1cdc39(0x12f)](_0x55a2a8);if(_0x4ca92f&&_0x4ca92f[_0x1cdc39(0xd3)](_0x3729a1)){const _0x1cd9d9=_0x4ca92f[_0x1cdc39(0x12f)](_0x3729a1),_0x5110bc=_0x1cd9d9[_0x1cdc39(0x141)](_0xd4d6c7,_0x53c6e4);if(_0x5110bc==null)return;this[_0x1cdc39(0x11f)](_0x5110bc),_0x1cd9d9[_0x1cdc39(0xe4)](_0xd4d6c7,_0x53c6e4),this[_0x1cdc39(0x129)](_0x5110bc);}}['clearFormulaDependency'](_0x496262,_0x3beaf4){const _0x2f6fb8=_0x239cfc,_0x20dc5e=this[_0x2f6fb8(0xb5)][_0x2f6fb8(0x12f)](_0x496262);if(_0x3beaf4&&_0x20dc5e&&_0x20dc5e['has'](_0x3beaf4)){const _0x14f120=_0x20dc5e['get'](_0x3beaf4);this['_removeDependencyRTreeCacheById'](_0x496262,_0x3beaf4),_0x14f120['forValue']((_0x3485b2,_0x1a494a,_0x108bb3)=>{const _0x11e65d=_0x2f6fb8;if(_0x108bb3==null)return!0x0;this[_0x11e65d(0x129)](_0x108bb3);}),_0x14f120[_0x2f6fb8(0xc9)]();}else _0x20dc5e&&(_0x20dc5e[_0x2f6fb8(0xd5)]((_0x27c575,_0x267161)=>{const _0x117b33=_0x2f6fb8;this[_0x117b33(0x12a)](_0x496262,_0x267161),_0x27c575[_0x117b33(0xe2)]((_0x154c33,_0x389fef,_0x49bc5a)=>{if(_0x49bc5a==null)return!0x0;this['_removeAllTreeMap'](_0x49bc5a);});}),this[_0x2f6fb8(0xb5)][_0x2f6fb8(0xed)](_0x496262));}[_0x239cfc(0x11f)](_0x539df3){const _0x159759=_0x239cfc;if(_0x539df3==null)return;const _0x4a02fd=this['_allTreeMap'][_0x159759(0x12f)](_0x539df3);if(_0x4a02fd){const _0x3b3e33=[];for(const [_0x4ec6f7,_0x1636e3]of _0x4a02fd)for(const [_0x53789b,_0xae67eb]of _0x1636e3)_0x3b3e33['push']({'unitId':_0x4ec6f7,'sheetId':_0x53789b,'range':_0xae67eb,'id':_0x539df3});this[_0x159759(0x12d)][_0x159759(0x12c)](_0x3b3e33);}}[_0x239cfc(0xcb)](_0x1e2bc2,_0x3b9b5f){const _0x66f79f=_0x239cfc,_0x76c34c=this['_definedNameMap'][_0x66f79f(0x12f)](_0x1e2bc2);if(_0x76c34c){const _0x2771e1=_0x76c34c[_0x66f79f(0x12f)](_0x3b9b5f);if(_0x2771e1){for(const _0x3176ba of _0x2771e1)this[_0x66f79f(0x11f)](_0x3176ba),this[_0x66f79f(0x129)](_0x3176ba);_0x2771e1[_0x66f79f(0x11c)]();}}}[_0x239cfc(0x139)](){const _0x49bbd1=_0x239cfc;this['_dependencyRTreeCache'][_0x49bbd1(0x139)]();}[_0x239cfc(0x120)](){const _0x37b0f9=_0x239cfc;this[_0x37b0f9(0x12d)][_0x37b0f9(0x120)]();}[_0x239cfc(0x129)](_0x9e5dfc){const _0x3deef9=_0x239cfc;_0x9e5dfc!=null&&this[_0x3deef9(0xb6)][_0x3deef9(0xed)](_0x9e5dfc);}[_0x239cfc(0x104)](_0x2a3985){const _0xe34799=_0x239cfc;var _0xc1121d,_0x45f4cb;const _0xa57c2a=_0x2a3985['rangeList'];let _0x5d1b2b=this[_0xe34799(0xb6)]['get'](_0x2a3985[_0xe34799(0x13c)]);for(let _0x506ada=0x0;_0x506ada<_0xa57c2a[_0xe34799(0xba)];_0x506ada++){const _0xd71735=_0xa57c2a[_0x506ada];let {unitId:_0x1c304a,sheetId:_0x26c6e5,range:_0x4d7568}=_0xd71735;_0x5d1b2b||(_0x5d1b2b=new Map(),this['_allTreeMap'][_0xe34799(0x152)](_0x2a3985[_0xe34799(0x13c)],_0x5d1b2b)),_0x5d1b2b['has'](_0x1c304a)||_0x5d1b2b['set'](_0x1c304a,new Map());const _0x14a6b9=(_0xc1121d=_0x5d1b2b==null?void 0x0:_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null?void 0x0:_0xc1121d[_0xe34799(0x12f)](_0x26c6e5);_0x14a6b9&&(_0x4d7568={'startRow':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0xe7)],_0x14a6b9[_0xe34799(0xe7)]),'startColumn':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0x118)],_0x14a6b9[_0xe34799(0x118)]),'endRow':Math[_0xe34799(0x143)](_0x4d7568['endRow'],_0x14a6b9[_0xe34799(0xee)]),'endColumn':Math[_0xe34799(0x143)](_0x4d7568[_0xe34799(0xbb)],_0x14a6b9['endColumn'])}),(_0x45f4cb=_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null||_0x45f4cb[_0xe34799(0x152)](_0x26c6e5,_0x4d7568);}}}var fe=Object[_0x239cfc(0xf3)],_e=(_0x54e9db,_0x2a925f,_0x3dae81,_0x35c974)=>{const _0x334732=_0x239cfc;for(var _0x1c0daa=_0x35c974>0x1?void 0x0:_0x35c974?fe(_0x2a925f,_0x3dae81):_0x2a925f,_0xff4c06=_0x54e9db[_0x334732(0xba)]-0x1,_0x5295d8;_0xff4c06>=0x0;_0xff4c06--)(_0x5295d8=_0x54e9db[_0xff4c06])&&(_0x1c0daa=_0x5295d8(_0x1c0daa)||_0x1c0daa);return _0x1c0daa;};const me=Number[_0x239cfc(0xbf)](0x690eeeff);let x=class extends _0x1dbb56{[_0x239cfc(0x10d)](){const _0x4c6356=_0x239cfc;var _0x3b8102,_0x357854;this[_0x4c6356(0xd2)]()?(_0x3b8102=this[_0x4c6356(0x13b)])!=null&&_0x3b8102['notExecuteFormula']||[[_0x21eb5a,{'useClass':he}],[_0x51bc1e,{'useClass':pe}],[_0x900956,{'useClass':de}]][_0x4c6356(0xd5)](_0x219f8e=>this[_0x4c6356(0xd7)]['add'](_0x219f8e)):(_0x357854=this[_0x4c6356(0x13b)])!=null&&_0x357854[_0x4c6356(0xc3)]||[[_0x21eb5a,{'useClass':_0x1526de}],[_0x51bc1e,{'useClass':_0x2fc196}],[_0x900956,{'useClass':_0x1728bb}]]['forEach'](_0x197030=>this['_injector']['add'](_0x197030));}[_0x239cfc(0xd2)](){const _0x361181=_0x239cfc;var _0x498b31;const _0x702bc7=(_0x498b31=this['_configService'][_0x361181(0x135)](_0x2a3ae7))!=null?_0x498b31:{},{ls:_0x1ccc32,pbk:_0x40a03e}=_0x702bc7;if(!_0x1ccc32||!_0x40a03e)return!0x1;const _0x2308b6=_0x51ce0b(ue,le),_0xfc69f6=new Function('return\x20'+_0x2308b6)()(_0x1ccc32,_0x40a03e),_0xb3bbdd=_0xfc69f6[_0x361181(0xce)];return _0xfc69f6[_0x361181(0x131)]&&_0x8ee774(_0xb3bbdd,'sf',me)?_0x505f7c(_0xb3bbdd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x2b746c(_0x3c157e)],x);function _0x5055(){const _0xa5f2ca=['resolve','_traverse','isVirtual','forValue','push','realDeleteValue','rangeList','checkAsyncNode','startRow','_runtimeService','_currentConfigService','markedAsNoFunctionsExecuted','_otherFormulaManagerService','formulaId','delete','endRow','_configService','ParentDependencyTree\x20object\x20is\x20null','_calculateRunList','addFormulaDependencyByDefinedName','getOwnPropertyDescriptor','setFormulaExecuteStage','_checkIsCycleDependency','featureId','next','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependencyMainData','140016WfGogU','setValue','getDirtyData','_lexer','setTotalArrayFormulasToCalculate','execute','isAdded','symbol','767795BcQpnA','_addAllTreeMap','_restDependencyTreeId','isStopExecution','getFormulaData','_dependencyRTreeCacheForAddressFunction','175220pLpOYQ','type','_registerOtherFormulas','refOffsetX','_initializeWithOverride','clearOtherFormulaDependency','setRuntimeFeatureCellData','_createVirtualFDtree','getOtherFormulaDependency','_getTreeNode','_createFDtree','unitId','START_CALCULATION_ARRAY_FORMULA','markedAsStopFunctionsExecuted','column','startColumn','_generateTreeList','getAllRuntimeData','98962CCtdxe','clear','refOffsetY','row','_removeDependencyRTreeCache','closeKdTree','IDLE','rowCount','isCache','dispose','isForceCalculate','_getTreeById','bulkSearch','setCompletedArrayFormulasCount','_removeAllTreeMap','_removeDependencyRTreeCacheById','pop','bulkRemove','_dependencyRTreeCache','clearFeatureFormulaDependency','get','searchDependency','valid','keys','_getUpdateTreeListAndMakeDependency','18TAlryu','getConfig','enableCycleDependency','_updateRangeFlatten','size','openKdTree','clearFormulaDependency','_config','treeId','markedAsSuccessfullyExecuted','getDirtyRanges','isSkip','node','getValue','setSkip','max','addOtherFormulaDependency','_otherFormulaDataMainData','_registerFormulas','getRuntimeState','addFormulaDependency','generate','_dependencyManagerService','add','dirtyRanges','getExcludedRange','getOtherFormulaData','removeFormulaDependency','hasOtherFormulaDataMainData','min','set','getClearDependencyTreeCache','subUnitId','1421192aoGJxs','OTHER_FORMULA','FEATURE_FORMULA','_formulaData','_allTreeMap','_astTreeBuilder','removeFeatureFormulaDependency','intervalCount','length','endColumn','_executionInProgressListener$','_isCyclicUtilMap','3473912OnZdKt','parseInt','_executionCompleteListener$','removeOtherFormulaDependency','setRuntimeData','notExecuteFormula','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','executeAsync','setRuntimeFeatureRange','CURRENTLY_CALCULATING','reset','featureDirtyRanges','removeFormulaDependencyByDefinedName','toRTreeItem','columnCount','message','2221917nkuvvG','formula','_formulaDependencyGenerator','_initLicenseValid','has','addFeatureFormulaDependency','forEach','_featureFormulaData','_injector','getFeatureFormulaDependency','setCurrent','_otherFormulaData','dependencySheetName','_getFirstCellOfRange','START_CALCULATION','_interpreter'];_0x5055=function(){return _0xa5f2ca;};return _0x5055();}export{x as UniverProFormulaEnginePlugin};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- h: string;
13
- T: string;
14
- A: string;
12
+ Y: string;
13
+ E: string;
15
14
  x: string;
16
- i: string;
17
- v: string;
18
- M: string;
19
- w: string;
15
+ U: string;
16
+ R: string;
17
+ T: string;
18
+ O: string;
20
19
  H: string;
21
- Y: string;
22
- K: string;
23
- W: string;
24
- g: string;
25
- z: string;
26
- J: string;
27
- o: string;
20
+ L: string;
21
+ d: string;
28
22
  e: string;
29
- a: string;
30
- C: string;
31
- u: string;
32
23
  p: string;
33
- P: string;
34
- O: string;
35
- I: string;
36
- b: string;
37
- U: string;
38
- E: string;
39
- N: string;
40
- k: string;
41
- y: string;
42
- D: string;
24
+ h: string;
43
25
  s: string;
44
- m: string;
45
- Z: string;
46
- B: string;
47
- S: string;
26
+ K: string;
48
27
  V: string;
49
- G: string;
50
- c: string;
51
- n: string;
28
+ r: string;
29
+ z: string;
30
+ A: string;
31
+ b: string;
32
+ N: string;
52
33
  q: string;
53
- l: string;
54
- R: string;
34
+ P: string;
35
+ F: string;
55
36
  t: string;
56
- f: string;
37
+ Q: string;
38
+ S: string;
57
39
  X: string;
40
+ i: string;
41
+ W: string;
42
+ l: string;
58
43
  j: string;
59
- Q: string;
60
- F: string;
61
- r: string;
62
- L: string;
63
- d: string;
44
+ G: string;
45
+ y: string;
46
+ o: string;
47
+ C: string;
48
+ M: string;
49
+ v: string;
50
+ g: string;
51
+ Z: string;
52
+ a: string;
53
+ m: string;
54
+ k: string;
55
+ n: string;
56
+ J: string;
57
+ u: string;
58
+ f: string;
59
+ I: string;
60
+ c: string;
61
+ D: string;
62
+ B: string;
63
+ w: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "5EuWUopu 6gWIDPUopu(CoWgubg, PEKCoWlgD) { UID { WpubU CoWgubgnu5p42IUsII2D = CoWgubg.bPCoU('-'); WpubU pIozoutgbb2zg = q9Xf.P2Ibg(2UpK(CoWgubgnu5p42IUsII2D[A])); o5 (!pIozoutgbb2zg.E6) { pIozoutgbb2zg.E6 = fE7KgI(CoWgubgnu5p42IUsII2D[i]); } WpubU obLpIagI = UDPgp5 LpIagIGCpK2C9WpPg !== 'Eu6g5oug6' && bgC5 oubU2uWgp5 LpIagIGCpK2C9WpPg; WpubU WpuUgyU = obLpIagI ? bgC5 : kou6pk; WpubU 7gbb2zgLpI6 = WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[A]); WpubU 7gbb2zg = WpuUgyU.__cgy__.bUIouzo5D(7gbb2zgLpI6); WpubU bozu2UEIgLpI6 = WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[x]); WpubU bozu2UEIg = WpuUgyU.__cgy__.bUIouzo5D(bozu2UEIgLpI6); WpubU bozur2Co6 = WpuUgyU.__NgIo5D__(bozu2UEIg, 7gbb2zg, PEKCoWlgD); WpubU 6p72ou = pIozoutgbb2zg.67; 5EuWUopu obBp72out2UWJouz(p42UUgIu, pcpbU) { WpubU P2UUgIu = p42UUgIu.IgPC2Wg(/^.+/, ''); WpubU JpbU = pcpbU.IgPC2Wg(/^.+/, ''); WpubU P2UUgIu42IUb = P2UUgIu.bPCoU('.'); WpubU JpbU42IUb = JpbU.bPCoU('.'); o5 (!P2UUgIu.ouWCE6gb('*')) { IgUEIu P2UUgIu === JpbU; } o5 (P2UUgIu42IUb.CguzUJ < A || P2UUgIu42IUb[h] !== '*') { IgUEIu 52Cbg; } WpubU P2UUgIu9E55oy = P2UUgIu42IUb.bCoWg(T).epou('.'); WpubU JpbU9E55oy = JpbU42IUb.bCoWg(-P2UUgIu42IUb.CguzUJ + T).epou('.'); IgUEIu P2UUgIu9E55oy === JpbU9E55oy; } CgU 6p72our2Co6 = (6p72ou && 6p72ou.CguzUJ) ? 6p72ou.bp7g((67nUg7) => obBp72out2UWJouz(67nUg7, CpW2Uopu.JpbUu27g)) : UIEg; o5 (CpW2Uopu.JpbUu27g === 'CpW2CJpbU') { 6p72our2Co6 = UIEg; } WpubU N2Co6 = bozur2Co6 && 6p72our2Co6; IgUEIu { N2Co6, 7gbb2zg: pIozoutgbb2zg, }; } W2UWJ (gIIpI) { IgUEIu { N2Co6: 52Cbg, 7gbb2zg: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "hFAdPVbA epdNX6PVbA(zVdpAqp, 6FLzVdvpX) { PNX { dbAqP zVdpAqpCAhbmHNPWNNHX = zVdpAqp.q6zVP('-'); dbAqP bNVsVA2pqqHsp = MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E])); Vh (!bNVsVA2pqqHsp.Fe) { bNVsVA2pqqHsp.Fe = ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]); } dbAqP VqcbN9pN = PX6pbh cbN9pNozbLHzJdb6p !== 'FAephVApe' && qpzh VAqPHAdpbh cbN9pNozbLHzJdb6p; dbAqP dbAPpSP = VqcbN9pN ? qpzh : QVAebQ; dbAqP 0pqqHspcbNe = dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]); dbAqP 0pqqHsp = dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe); dbAqP qVsAHPFNpcbNe = dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]); dbAqP qVsAHPFNp = dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe); dbAqP qVsAIHzVe = dbAPpSP.__tpNVhX__(qVsAHPFNp, 0pqqHsp, 6FLzVdvpX); dbAqP eb0HVA = bNVsVA2pqqHsp.e0; hFAdPVbA Vqjb0HVA2HPdKVAs(bmHPPpNA, b1bqP) { dbAqP 6HPPpNA = bmHPPpNA.Np6zHdp(/^.+/, ''); dbAqP KbqP = b1bqP.Np6zHdp(/^.+/, ''); dbAqP 6HPPpNAmHNPq = 6HPPpNA.q6zVP('.'); dbAqP KbqPmHNPq = KbqP.q6zVP('.'); Vh (!6HPPpNA.VAdzFepq('*')) { NpPFNA 6HPPpNA === KbqP; } Vh (6HPPpNAmHNPq.zpAsPK < E || 6HPPpNAmHNPq[Y] !== '*') { NpPFNA hHzqp; } dbAqP 6HPPpNAJFhhVS = 6HPPpNAmHNPq.qzVdp(3).rbVA('.'); dbAqP KbqPJFhhVS = KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK + 3).rbVA('.'); NpPFNA 6HPPpNAJFhhVS === KbqPJFhhVS; } zpP eb0HVAIHzVe = (eb0HVA && eb0HVA.zpAsPK) ? eb0HVA.qb0p((e0CPp0) => Vqjb0HVA2HPdKVAs(e0CPp0, zbdHPVbA.KbqPAH0p)) : PNFp; Vh (zbdHPVbA.KbqPAH0p === 'zbdHzKbqP') { eb0HVAIHzVe = PNFp; } dbAqP tHzVe = qVsAIHzVe && eb0HVAIHzVe; NpPFNA { tHzVe, 0pqqHsp: bNVsVA2pqqHsp, }; } dHPdK (pNNbN) { NpPFNA { tHzVe: hHzqp, 0pqqHsp: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0xfddb(_0x258c65,_0x2a419f){var _0x173503=_0x1735();return _0xfddb=function(_0xfddb56,_0x236238){_0xfddb56=_0xfddb56-0x7f;var _0x825c74=_0x173503[_0xfddb56];return _0x825c74;},_0xfddb(_0x258c65,_0x2a419f);}function _0x1735(){var _0x10b263=['toStringTag','call','keys','2917656RVTGwD','9tUkhRy','2473229ItVfOy','amd','5652104nGerWg','100JUEZIX','30174ThcTFN','1363733iXHesz','hasOwnProperty','defineProperty','object','Module','6RZXiEs','@univerjs/engine-formula/facade','1046481WnitAd','prototype','584750ekIZTh','1246ckYCPY','exports'];_0x1735=function(){return _0x10b263;};return _0x1735();}(function(_0x4991d1,_0x3ea339){var _0x428b07=_0xfddb,_0x4af92c=_0x4991d1();while(!![]){try{var _0x454ea7=parseInt(_0x428b07(0x92))/0x1+parseInt(_0x428b07(0x81))/0x2*(parseInt(_0x428b07(0x83))/0x3)+parseInt(_0x428b07(0x8b))/0x4+-parseInt(_0x428b07(0x85))/0x5+parseInt(_0x428b07(0x91))/0x6*(parseInt(_0x428b07(0x86))/0x7)+-parseInt(_0x428b07(0x8f))/0x8*(parseInt(_0x428b07(0x8c))/0x9)+parseInt(_0x428b07(0x90))/0xa*(-parseInt(_0x428b07(0x8d))/0xb);if(_0x454ea7===_0x3ea339)break;else _0x4af92c['push'](_0x4af92c['shift']());}catch(_0xe6a225){_0x4af92c['push'](_0x4af92c['shift']());}}}(_0x1735,0xeb179),function(_0x19d612,_0x28cc7c){var _0x249f68=_0xfddb;typeof exports==_0x249f68(0x7f)&&typeof module<'u'?_0x28cc7c(exports,require('@univerjs/engine-formula/facade')):typeof define=='function'&&define[_0x249f68(0x8e)]?define([_0x249f68(0x87),_0x249f68(0x82)],_0x28cc7c):(_0x19d612=typeof globalThis<'u'?globalThis:_0x19d612||self,_0x28cc7c(_0x19d612['UniverProEngineFormulaFacade']={},_0x19d612['UniverEngineFormulaFacade']));}(this,function(_0xdd711e,_0xe95a65){'use strict';var _0x49f4c3=_0xfddb;Object[_0x49f4c3(0x8a)](_0xe95a65)['forEach'](_0x1fd3c6=>{var _0x22e513=_0x49f4c3;_0x1fd3c6!=='default'&&!Object[_0x22e513(0x84)][_0x22e513(0x93)][_0x22e513(0x89)](_0xdd711e,_0x1fd3c6)&&Object[_0x22e513(0x94)](_0xdd711e,_0x1fd3c6,{'enumerable':!0x0,'get':()=>_0xe95a65[_0x1fd3c6]});}),Object[_0x49f4c3(0x94)](_0xdd711e,Symbol[_0x49f4c3(0x88)],{'value':_0x49f4c3(0x80)});}));
1
+ (function(_0x55a648,_0x4a8a31){var _0x43ddb7=_0x3274,_0x32c603=_0x55a648();while(!![]){try{var _0x5c0113=-parseInt(_0x43ddb7(0x17d))/0x1*(-parseInt(_0x43ddb7(0x17a))/0x2)+parseInt(_0x43ddb7(0x176))/0x3*(parseInt(_0x43ddb7(0x178))/0x4)+parseInt(_0x43ddb7(0x170))/0x5*(parseInt(_0x43ddb7(0x181))/0x6)+-parseInt(_0x43ddb7(0x175))/0x7+parseInt(_0x43ddb7(0x17e))/0x8*(-parseInt(_0x43ddb7(0x16f))/0x9)+parseInt(_0x43ddb7(0x17f))/0xa*(parseInt(_0x43ddb7(0x180))/0xb)+-parseInt(_0x43ddb7(0x16b))/0xc;if(_0x5c0113===_0x4a8a31)break;else _0x32c603['push'](_0x32c603['shift']());}catch(_0x4db37b){_0x32c603['push'](_0x32c603['shift']());}}}(_0x5d56,0x29340),function(_0x559d98,_0x495aab){var _0x18fa4d=_0x3274;typeof exports=='object'&&typeof module<'u'?_0x495aab(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x18fa4d(0x173)&&define[_0x18fa4d(0x16d)]?define([_0x18fa4d(0x177),'@univerjs/engine-formula/facade'],_0x495aab):(_0x559d98=typeof globalThis<'u'?globalThis:_0x559d98||self,_0x495aab(_0x559d98[_0x18fa4d(0x17b)]={},_0x559d98['UniverEngineFormulaFacade']));}(this,function(_0xdb259f,_0x290a64){'use strict';var _0x1bb338=_0x3274;Object[_0x1bb338(0x172)](_0x290a64)[_0x1bb338(0x16e)](_0x18e71e=>{var _0xc48c27=_0x1bb338;_0x18e71e!=='default'&&!Object['prototype'][_0xc48c27(0x16c)][_0xc48c27(0x17c)](_0xdb259f,_0x18e71e)&&Object[_0xc48c27(0x174)](_0xdb259f,_0x18e71e,{'enumerable':!0x0,'get':()=>_0x290a64[_0x18e71e]});}),Object[_0x1bb338(0x174)](_0xdb259f,Symbol[_0x1bb338(0x171)],{'value':_0x1bb338(0x179)});}));function _0x3274(_0x25f0fa,_0x256167){var _0x5d5602=_0x5d56();return _0x3274=function(_0x327471,_0x249bbd){_0x327471=_0x327471-0x16b;var _0x83735d=_0x5d5602[_0x327471];return _0x83735d;},_0x3274(_0x25f0fa,_0x256167);}function _0x5d56(){var _0x5d5811=['forEach','66924YXGCkO','345mifMEU','toStringTag','keys','function','defineProperty','2324126Jlheej','31704cwicBr','exports','48Zbexuf','Module','68NNYOCr','UniverProEngineFormulaFacade','call','5021QSVdqK','136XCcIhi','580oIANgO','15829GlQyEg','21558bNjovh','20532IOYDur','hasOwnProperty','amd'];_0x5d56=function(){return _0x5d5811;};return _0x5d56();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4b9f(_0xcfc19d,_0x439eea){const _0x4d08b2=_0x4d08();return _0x4b9f=function(_0x4b9f1c,_0x967f31){_0x4b9f1c=_0x4b9f1c-0x1d3;let _0x48c6bf=_0x4d08b2[_0x4b9f1c];return _0x48c6bf;},_0x4b9f(_0xcfc19d,_0x439eea);}(function(_0x48ce90,_0x3965d7){const _0x391b28=_0x4b9f,_0x185488=_0x48ce90();while(!![]){try{const _0x302d88=-parseInt(_0x391b28(0x283))/0x1+parseInt(_0x391b28(0x27e))/0x2*(-parseInt(_0x391b28(0x23e))/0x3)+-parseInt(_0x391b28(0x218))/0x4+-parseInt(_0x391b28(0x210))/0x5*(parseInt(_0x391b28(0x20c))/0x6)+parseInt(_0x391b28(0x206))/0x7*(-parseInt(_0x391b28(0x224))/0x8)+parseInt(_0x391b28(0x25b))/0x9+parseInt(_0x391b28(0x233))/0xa;if(_0x302d88===_0x3965d7)break;else _0x185488['push'](_0x185488['shift']());}catch(_0xc6812c){_0x185488['push'](_0x185488['shift']());}}}(_0x4d08,0x856b9),function(_0x3a59b7,_0x3ae706){const _0x22c591=_0x4b9f;typeof exports==_0x22c591(0x1f4)&&typeof module<'u'?_0x3ae706(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x22c591(0x232)&&define[_0x22c591(0x24f)]?define([_0x22c591(0x212),_0x22c591(0x207),_0x22c591(0x276),_0x22c591(0x252)],_0x3ae706):(_0x3a59b7=typeof globalThis<'u'?globalThis:_0x3a59b7||self,_0x3ae706(_0x3a59b7[_0x22c591(0x1fc)]={},_0x3a59b7[_0x22c591(0x238)],_0x3a59b7['UniverCore'],_0x3a59b7[_0x22c591(0x27f)]));}(this,function(_0xd21c3c,_0x525876,_0x4160c0,_0xf5324){'use strict';const _0x5ee326=_0x4b9f;var _0x168bc1=Object[_0x5ee326(0x21b)],_0x3c5e0f=(_0x10c96b,_0x29c5db,_0x4ece9a)=>_0x29c5db in _0x10c96b?_0x168bc1(_0x10c96b,_0x29c5db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ece9a}):_0x10c96b[_0x29c5db]=_0x4ece9a,_0x3f4fa0=(_0xfa0e3a,_0x7393c6,_0xdbc9a8)=>_0x3c5e0f(_0xfa0e3a,typeof _0x7393c6!=_0x5ee326(0x1dd)?_0x7393c6+'':_0x7393c6,_0xdbc9a8);const _0x2c321d={0x0:'Z',0x1:'z',0x2:'a',0x3:'Y',0x4:'P',0x5:'f',0x6:'d',0x7:'m',0x8:'U',0x9:'S','h':'0','T':'1','A':'2','x':'3','i':'4','v':'5','M':'6','w':'7','H':'8','Y':'9','K':'b','W':'c','g':'e','z':'g','J':'h','o':'i','e':'j','a':'k','C':'l','u':'n','p':'o','P':'p','O':'q','I':'r','b':'s','U':'t','E':'u','N':'v','k':'w','y':'x','D':'y','s':'A','m':'B','Z':'C','B':'D','S':'E','V':'F','G':'G','c':'H','n':'I','q':'J','l':'K','R':'L','t':'M','f':'N','X':'O','j':'Q','Q':'R','F':'T','r':'V','L':'W','d':'X'},_0x5bbf6b='5EuWUopu\x206gWIDPUopu(CoWgubg,\x20PEKCoWlgD)\x20{\x20\x20\x20\x20UID\x20{\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20CoWgubgnu5p42IUsII2D\x20=\x20CoWgubg.bPCoU(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20pIozoutgbb2zg\x20=\x20q9Xf.P2Ibg(2UpK(CoWgubgnu5p42IUsII2D[A]));\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!pIozoutgbb2zg.E6)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20pIozoutgbb2zg.E6\x20=\x20fE7KgI(CoWgubgnu5p42IUsII2D[i]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20obLpIagI\x20=\x20UDPgp5\x20LpIagIGCpK2C9WpPg\x20!==\x20\x27Eu6g5oug6\x27\x20&&\x20bgC5\x20oubU2uWgp5\x20LpIagIGCpK2C9WpPg;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20WpuUgyU\x20=\x20obLpIagI\x20?\x20bgC5\x20:\x20kou6pk;\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[A]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x207gbb2zg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(7gbb2zgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIgLpI6\x20=\x20WpuUgyU.__m2bgMi__.P2Ibg(CoWgubgnu5p42IUsII2D[x]);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozu2UEIg\x20=\x20WpuUgyU.__cgy__.bUIouzo5D(bozu2UEIgLpI6);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20bozur2Co6\x20=\x20WpuUgyU.__NgIo5D__(bozu2UEIg,\x207gbb2zg,\x20PEKCoWlgD);\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x206p72ou\x20=\x20pIozoutgbb2zg.67;\x20\x20\x20\x20\x20\x20\x20\x205EuWUopu\x20obBp72out2UWJouz(p42UUgIu,\x20pcpbU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu\x20=\x20p42UUgIu.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU\x20=\x20pcpbU.IgPC2Wg(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu42IUb\x20=\x20P2UUgIu.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU42IUb\x20=\x20JpbU.bPCoU(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(!P2UUgIu.ouWCE6gb(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu\x20===\x20JpbU;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(P2UUgIu42IUb.CguzUJ\x20<\x20A\x20||\x20P2UUgIu42IUb[h]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x2052Cbg;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20P2UUgIu9E55oy\x20=\x20P2UUgIu42IUb.bCoWg(T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20JpbU9E55oy\x20=\x20JpbU42IUb.bCoWg(-P2UUgIu42IUb.CguzUJ\x20+\x20T).epou(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20P2UUgIu9E55oy\x20===\x20JpbU9E55oy;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20CgU\x206p72our2Co6\x20=\x20(6p72ou\x20&&\x206p72ou.CguzUJ)\x20?\x206p72ou.bp7g((67nUg7)\x20=>\x20obBp72out2UWJouz(67nUg7,\x20CpW2Uopu.JpbUu27g))\x20:\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20o5\x20(CpW2Uopu.JpbUu27g\x20===\x20\x27CpW2CJpbU\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206p72our2Co6\x20=\x20UIEg;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20WpubU\x20N2Co6\x20=\x20bozur2Co6\x20&&\x206p72our2Co6;\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20pIozoutgbb2zg,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20W2UWJ\x20(gIIpI)\x20{\x20\x20\x20\x20\x20\x20\x20\x20IgUEIu\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N2Co6:\x2052Cbg,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207gbb2zg:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class _0x5512dd extends _0xf5324[_0x5ee326(0x22b)]{constructor(){const _0x3755a4=_0x5ee326;super(...arguments),_0x3f4fa0(this,_0x3755a4(0x1f2),new Map());}[_0x5ee326(0x289)](){const _0x5b5750=_0x5ee326;super[_0x5b5750(0x289)](),this[_0x5b5750(0x1f2)][_0x5b5750(0x253)]();}async[_0x5ee326(0x1d8)](){const _0x36099e=_0x5ee326;this[_0x36099e(0x27a)]();const _0x26b4cc=this[_0x36099e(0x1e6)][_0x36099e(0x264)](),_0x4a03f5=this[_0x36099e(0x217)][_0x36099e(0x1e7)](),_0x64c1b9=this['_currentConfigService'][_0x36099e(0x21c)]();_0x64c1b9!=null&&Object[_0x36099e(0x263)](_0x64c1b9)['forEach'](_0x4d5368=>{const _0x1b1aef=_0x36099e;_0x4d5368!=null&&Object[_0x1b1aef(0x263)](_0x64c1b9[_0x4d5368])[_0x1b1aef(0x1f6)](_0x3d2527=>{const _0x5de107=_0x1b1aef;_0x3d2527!=null&&(this['_dependencyManagerService'][_0x5de107(0x25a)](_0x4d5368,_0x3d2527),this[_0x5de107(0x222)][_0x5de107(0x1fe)](_0x4d5368,_0x3d2527),this[_0x5de107(0x222)]['clearFormulaDependency'](_0x4d5368,_0x3d2527));});});const _0x2783f3=this[_0x36099e(0x1e6)][_0x36099e(0x288)]();await this[_0x36099e(0x28d)](_0x26b4cc,_0x4a03f5,_0x2783f3),this[_0x36099e(0x222)][_0x36099e(0x1d7)]();const _0x23aa63=this[_0x36099e(0x25c)](),_0x4024ff=this[_0x36099e(0x1d6)](_0x23aa63);return this[_0x36099e(0x24c)](_0x4024ff)&&this['_runtimeService'][_0x36099e(0x277)](),this[_0x36099e(0x1f2)][_0x36099e(0x253)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x36099e(0x222)][_0x36099e(0x223)](),Promise['resolve'](_0x4024ff);}[_0x5ee326(0x270)](_0x5ccefa,_0x1fb7b2){const _0x3e089b=_0x5ee326,_0x37304f=[_0x5ccefa];for(;_0x37304f[_0x3e089b(0x22c)]>0x0;){const _0x1d5b2b=_0x37304f[_0x37304f[_0x3e089b(0x22c)]-0x1];if((_0x1fb7b2['get'](_0x1d5b2b)||0x0)===0x0){_0x1fb7b2[_0x3e089b(0x292)](_0x1d5b2b,0x1);const _0x37957c=this[_0x3e089b(0x1f2)][_0x3e089b(0x275)](_0x1d5b2b);if(_0x37957c==null){_0x1fb7b2[_0x3e089b(0x292)](_0x1d5b2b,0x2),_0x37304f[_0x3e089b(0x20f)]();continue;}const _0x42c848=this['_dependencyManagerService'][_0x3e089b(0x1ea)](_0x37957c[_0x3e089b(0x26e)]());for(const _0x501543 of _0x42c848){const _0x2f803b=_0x1fb7b2[_0x3e089b(0x275)](_0x501543)||0x0;if(_0x2f803b===0x1)return!0x0;_0x2f803b===0x0&&_0x37304f['push'](_0x501543);}}else _0x1fb7b2[_0x3e089b(0x292)](_0x1d5b2b,0x2),_0x37304f[_0x3e089b(0x20f)]();}return!0x1;}['_checkIsCycleDependency'](_0x1e7773){const _0x19474e=_0x5ee326,_0x582fb5=new Map();for(const _0x407327 of _0x1e7773)if(!_0x582fb5['has'](_0x407327[_0x19474e(0x245)])&&this['_isCyclicUtilMap'](_0x407327[_0x19474e(0x245)],_0x582fb5))return!0x0;return _0x582fb5[_0x19474e(0x253)](),!0x1;}[_0x5ee326(0x256)](_0x5711eb,_0x4a65ff,_0x109c6a){const _0x10129f=_0x5ee326,{unitId:_0x4e2e3e,subUnitId:_0x1cafcf,dependencyRanges:_0x5281be,getDirtyData:_0x9c5bb0}=_0x109c6a,_0x5b1b50=_0x4a65ff||_0xf5324[_0x10129f(0x20b)](this[_0x10129f(0x222)]),_0x178adb=new _0xf5324['FormulaDependencyTree'](_0x5b1b50);_0x178adb[_0x10129f(0x278)]=_0x4e2e3e,_0x178adb['subUnitId']=_0x1cafcf,_0x178adb['rangeList']=_0x5281be,_0x178adb[_0x10129f(0x243)]=_0x9c5bb0;const _0x567c4d=_0x9c5bb0(this[_0x10129f(0x1e6)][_0x10129f(0x243)](),this[_0x10129f(0x1d4)]['getAllRuntimeData']()),_0x2655cd=this['_convertDirtyRangesToUnitRange'](_0x567c4d[_0x10129f(0x25e)]);return _0x178adb[_0x10129f(0x28e)]=_0x2655cd,_0x178adb['featureId']=_0x5711eb,_0x178adb['type']=_0xf5324[_0x10129f(0x286)][_0x10129f(0x26c)],this[_0x10129f(0x222)][_0x10129f(0x25d)](_0x4e2e3e,_0x1cafcf,_0x5711eb,_0x178adb),this[_0x10129f(0x1f2)][_0x10129f(0x292)](_0x178adb[_0x10129f(0x245)],_0x178adb),this[_0x10129f(0x222)]['getFeatureFormulaDependency'](_0x109c6a['unitId'],_0x109c6a[_0x10129f(0x279)],_0x5711eb)&&(_0x178adb[_0x10129f(0x269)]=!0x0),_0x178adb;}[_0x5ee326(0x251)](_0x16fc7f,_0x39dec2,_0x3fe7c6){const _0x228cd8=_0x5ee326;var _0x22f4e6;for(const _0x3af72a of _0x39dec2){const _0x1fadc5=_0x16fc7f[_0x3af72a];if(_0x1fadc5==null)continue;const _0x29ebe2=Object[_0x228cd8(0x263)](_0x1fadc5);for(const _0x2d85bf of _0x29ebe2){const _0x2b8c06=_0x1fadc5[_0x2d85bf];if(_0x2b8c06==null)continue;const _0x4915a6=Object['keys'](_0x2b8c06);for(const _0x362a6f of _0x4915a6){const _0x3b2292=this[_0x228cd8(0x222)][_0x228cd8(0x215)](_0x362a6f),_0x65ddf=_0x2b8c06[_0x362a6f],{f:_0x2e831b,ranges:_0x43931d}=_0x65ddf;let _0x3a2372=!0x1;_0x3b2292&&(_0x3a2372=!0x0);const {firstRow:_0x2043ea,firstColumn:_0x125187}=this[_0x228cd8(0x26b)](_0x43931d),_0x2caeb4=this['_dependencyManagerService'][_0x228cd8(0x27b)](_0x3af72a,_0x2d85bf,_0x362a6f),_0xdc18cc=(_0x22f4e6=_0x2caeb4==null?void 0x0:_0x2caeb4[_0x228cd8(0x1d5)](0x0,0x0))!=null?_0x22f4e6:_0xf5324[_0x228cd8(0x20b)](this[_0x228cd8(0x222)]),_0x2c2ac8=new _0xf5324[(_0x228cd8(0x248))](_0xdc18cc);for(let _0xc41c65=0x0;_0xc41c65<_0x43931d[_0x228cd8(0x22c)];_0xc41c65++){const _0x326c7e=_0x43931d[_0xc41c65],{startRow:_0x471519,startColumn:_0x1396dc,endRow:_0x479624,endColumn:_0x244ded}=_0x326c7e;for(let _0x357e43=_0x471519;_0x357e43<=_0x479624;_0x357e43++)for(let _0x435467=_0x1396dc;_0x435467<=_0x244ded;_0x435467++){const _0x548774=_0x435467-_0x125187,_0x1e428f=_0x357e43-_0x2043ea;if(_0x548774===0x0&&_0x1e428f===0x0){_0x2c2ac8['formula']=_0x2e831b,_0x2c2ac8['unitId']=_0x3af72a,_0x2c2ac8[_0x228cd8(0x279)]=_0x2d85bf,_0x2c2ac8[_0x228cd8(0x230)]=_0x362a6f,_0x2c2ac8[_0x228cd8(0x229)]=_0xf5324[_0x228cd8(0x286)][_0x228cd8(0x246)],_0x2c2ac8[_0x228cd8(0x269)]=_0x3a2372,_0x3fe7c6['push'](_0x2c2ac8),this[_0x228cd8(0x1f2)][_0x228cd8(0x292)](_0x2c2ac8[_0x228cd8(0x245)],_0x2c2ac8),this['_dependencyManagerService'][_0x228cd8(0x1f3)](_0x3af72a,_0x2d85bf,_0x362a6f,_0x2c2ac8),this[_0x228cd8(0x222)]['addFormulaDependencyByDefinedName'](_0x2c2ac8);continue;}const _0x3c361a=new _0xf5324['FormulaDependencyTreeVirtual']();_0x3c361a['treeId']=(_0x2caeb4==null?void 0x0:_0x2caeb4[_0x228cd8(0x1d5)](_0x548774,_0x1e428f))||_0xf5324['generateRandomDependencyTreeId'](this[_0x228cd8(0x222)]),_0x3c361a[_0x228cd8(0x262)]=_0x2c2ac8,_0x3c361a[_0x228cd8(0x24d)]=_0x548774,_0x3c361a[_0x228cd8(0x285)]=_0x1e428f,_0x3c361a['isCache']=_0x3a2372,this[_0x228cd8(0x222)][_0x228cd8(0x1f3)](_0x3af72a,_0x2d85bf,_0x362a6f,_0x3c361a),this['_dependencyManagerService'][_0x228cd8(0x293)](_0x3c361a),_0x3fe7c6[_0x228cd8(0x28f)](_0x3c361a),this[_0x228cd8(0x1f2)][_0x228cd8(0x292)](_0x3c361a[_0x228cd8(0x245)],_0x3c361a);}}this['_dependencyManagerService'][_0x228cd8(0x235)](_0x362a6f);}}}}[_0x5ee326(0x24b)](_0x2c91a8,_0x1007d7,_0x5ccb68,_0x363dee){const _0x3839ba=_0x5ee326;for(const _0x20af96 of _0x2c91a8){const _0x4a7f98=_0x1007d7[_0x20af96];if(_0x4a7f98==null)continue;const _0x1ad57b=Object['keys'](_0x4a7f98);for(const _0x4f5d80 of _0x1ad57b){const _0x4f8113=new _0x4160c0[(_0x3839ba(0x21f))](_0x4a7f98[_0x4f5d80]||{}),_0x5377a5=new Map();_0x4f8113[_0x3839ba(0x1fb)]((_0x568afe,_0x30ed78,_0x2e9940)=>{const _0x517b00=_0x3839ba;if(_0x2e9940==null)return!0x0;const {x:_0x1cc123=0x0,y:_0x588b3=0x0,si:_0x587e84}=_0x2e9940;if(!(_0x1cc123===0x0&&_0x588b3===0x0&&_0x587e84!=null))return!0x0;const _0x375a2d=this[_0x517b00(0x1e5)](_0x20af96,_0x4f5d80,_0x568afe,_0x30ed78,_0x5ccb68,_0x2e9940),_0x1c7c93=this['_dependencyManagerService'][_0x517b00(0x1fa)](_0x20af96,_0x4f5d80,_0x568afe,_0x30ed78);_0x1c7c93!=null?_0x375a2d[_0x517b00(0x245)]=_0x1c7c93:(this[_0x517b00(0x222)][_0x517b00(0x242)](_0x20af96,_0x4f5d80,_0x568afe,_0x30ed78,_0x375a2d),this[_0x517b00(0x222)][_0x517b00(0x293)](_0x375a2d)),_0x5377a5[_0x517b00(0x292)](_0x587e84,_0x375a2d),_0x363dee[_0x517b00(0x28f)](_0x375a2d),this[_0x517b00(0x1f2)]['set'](_0x375a2d['treeId'],_0x375a2d);}),_0x4f8113[_0x3839ba(0x1fb)]((_0x185a71,_0x37f3d2,_0x2ae63e)=>{const _0x131d7f=_0x3839ba;if(_0x2ae63e==null)return!0x0;const {x:_0x29d0a5=0x0,y:_0x4c9667=0x0,si:_0x229e39}=_0x2ae63e;if(_0x29d0a5===0x0&&_0x4c9667===0x0&&_0x229e39!=null)return!0x0;let _0x44a846;if(_0x229e39&&_0x5377a5[_0x131d7f(0x273)](_0x229e39)){const _0x3371c2=_0x5377a5[_0x131d7f(0x275)](_0x229e39);_0x44a846=this[_0x131d7f(0x237)](_0x3371c2,_0x2ae63e);}else _0x44a846=this[_0x131d7f(0x1e5)](_0x20af96,_0x4f5d80,_0x185a71,_0x37f3d2,_0x5ccb68,_0x2ae63e);const _0x5aaf6f=this[_0x131d7f(0x222)][_0x131d7f(0x1fa)](_0x20af96,_0x4f5d80,_0x185a71,_0x37f3d2);_0x5aaf6f!=null?_0x44a846['treeId']=_0x5aaf6f:(this[_0x131d7f(0x222)]['addFormulaDependency'](_0x20af96,_0x4f5d80,_0x185a71,_0x37f3d2,_0x44a846),this['_dependencyManagerService'][_0x131d7f(0x293)](_0x44a846)),_0x363dee['push'](_0x44a846),this['_dependencyTreeCache'][_0x131d7f(0x292)](_0x44a846[_0x131d7f(0x245)],_0x44a846);}),_0x5377a5[_0x3839ba(0x253)]();}}}['_createFDtree'](_0x36a0ea,_0x1db6e2,_0x2599fa,_0x5d35ee,_0x51a003,_0x5adecb){const _0x46e189=_0x5ee326,{f:_0x7a259d,x:_0x57ca5b=0x0,y:_0x3dda06=0x0}=_0x5adecb,_0x1a1c49=new _0xf5324['FormulaDependencyTree'](_0xf5324[_0x46e189(0x20b)](this[_0x46e189(0x222)])),_0x2ef034=_0x51a003[_0x36a0ea][_0x1db6e2];return _0x1a1c49[_0x46e189(0x261)]=_0x7a259d,_0x1a1c49[_0x46e189(0x278)]=_0x36a0ea,_0x1a1c49[_0x46e189(0x279)]=_0x1db6e2,_0x1a1c49[_0x46e189(0x266)]=_0x2599fa,_0x1a1c49[_0x46e189(0x225)]=_0x5d35ee,_0x1a1c49[_0x46e189(0x23f)]=_0x2ef034[_0x46e189(0x23f)],_0x1a1c49['columnCount']=_0x2ef034['columnCount'],_0x1a1c49;}[_0x5ee326(0x25c)](){const _0x51a81f=_0x5ee326,_0x202712=[],_0x4b19dc=new Set(),_0x3dc1f9=this['_currentConfigService'][_0x51a81f(0x236)](),_0xca6bba=this[_0x51a81f(0x1e6)]['getDirtyRanges'](),_0x5c245e=this['_dependencyManagerService'][_0x51a81f(0x1ea)](_0xca6bba),_0x2e08a1=this[_0x51a81f(0x254)][_0x51a81f(0x268)](_0xca6bba);for(const _0x446012 of _0x2e08a1)_0x5c245e[_0x51a81f(0x250)](_0x446012);for(const [_0x549594,_0x5ed401]of this[_0x51a81f(0x1f2)])(_0x3dc1f9||_0x5ed401[_0x51a81f(0x1e2)]||_0x5ed401['dependencySheetName'](this[_0x51a81f(0x1e6)]['getDirtyNameMap']())||_0x5c245e[_0x51a81f(0x273)](_0x549594)&&!_0x5ed401[_0x51a81f(0x1f5)](this[_0x51a81f(0x1e6)][_0x51a81f(0x259)]()))&&!_0x4b19dc[_0x51a81f(0x273)](_0x549594)&&(_0x202712['push'](_0x5ed401),_0x4b19dc[_0x51a81f(0x250)](_0x549594));for(const [_0x44ea24,_0x37272e]of this[_0x51a81f(0x1f2)])_0x37272e[_0x51a81f(0x249)]||(_0x37272e[_0x51a81f(0x20e)][_0x51a81f(0x22c)]=0x0);return _0x202712;}[_0x5ee326(0x201)](_0x222980){const _0x5be0de=_0x5ee326;return this[_0x5be0de(0x1f2)]['get'](_0x222980);}[_0x5ee326(0x216)](_0x39f6bc){const _0x51b7ef=_0x5ee326;return _0xf5324[_0x51b7ef(0x260)](_0x39f6bc['unitId'],_0x39f6bc['formula'],this[_0x51b7ef(0x1f9)],this[_0x51b7ef(0x1d3)],this[_0x51b7ef(0x1e6)]);}*[_0x5ee326(0x274)](_0x20ffbc,_0x34ebff){const _0x377049=_0x5ee326,_0x641068=_0x20ffbc,_0x5a203e=new Set();for(;_0x641068[_0x377049(0x22c)]>0x0;){const _0x41c79a=_0x641068[_0x377049(0x20f)]();if(_0x5a203e[_0x377049(0x253)](),_0x41c79a===void 0x0||_0x41c79a['isSkip']())continue;if(_0x41c79a[_0x377049(0x22a)]()){yield _0x41c79a,_0x41c79a['setSkip'](),_0x34ebff[_0x377049(0x250)](_0x41c79a[_0x377049(0x245)]);continue;}const _0x5cdb19=this[_0x377049(0x222)][_0x377049(0x1ea)](_0x41c79a[_0x377049(0x26e)](),_0x34ebff),_0xce7029=this[_0x377049(0x254)]['bulkSearch'](_0x41c79a[_0x377049(0x26e)](),_0x34ebff);for(const _0xad9c2d of _0xce7029)_0x5cdb19[_0x377049(0x250)](_0xad9c2d);for(const _0x1bec35 of _0x5cdb19){const _0x5999fa=this[_0x377049(0x1f2)][_0x377049(0x275)](_0x1bec35);if(!_0x5999fa)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5999fa['isAdded']()||_0x41c79a[_0x377049(0x1fd)]()||_0x5a203e[_0x377049(0x250)](_0x5999fa);}if(_0x5cdb19[_0x377049(0x253)](),_0x5a203e[_0x377049(0x23a)]===0x0)yield _0x41c79a,_0x41c79a[_0x377049(0x221)](),_0x34ebff[_0x377049(0x250)](_0x41c79a[_0x377049(0x245)]);else{_0x41c79a[_0x377049(0x1f1)](),_0x641068['push'](_0x41c79a);for(const _0x36365f of _0x5a203e)_0x641068['push'](_0x36365f);}}_0x641068[_0x377049(0x22c)]=0x0,_0x5a203e[_0x377049(0x253)]();}[_0x5ee326(0x1d6)](_0x2d3674){const _0x24ccbb=_0x5ee326,_0xd01d63=[],_0x3ffcd3=new Set();for(const _0x3a829a of this[_0x24ccbb(0x274)](_0x2d3674,_0x3ffcd3))_0xd01d63[_0x24ccbb(0x28f)](_0x3a829a);return _0xd01d63;}}class _0x98d614 extends _0xf5324[_0x5ee326(0x24e)]{async[_0x5ee326(0x209)](_0x187e7b=!0x1){const _0x45c494=_0x5ee326;_0x187e7b?this['_runtimeService'][_0x45c494(0x290)](_0xf5324['FormulaExecuteStageType'][_0x45c494(0x1e0)]):this[_0x45c494(0x1d4)]['setFormulaExecuteStage'](_0xf5324[_0x45c494(0x284)][_0x45c494(0x23c)]),this['_executionInProgressListener$']['next'](this[_0x45c494(0x1d4)][_0x45c494(0x265)]());const _0x2f4d85=await this[_0x45c494(0x22e)]['generate'](),_0x167bc9=this['_interpreter'];_0x187e7b?(this[_0x45c494(0x1d4)][_0x45c494(0x290)](_0xf5324[_0x45c494(0x284)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x45c494(0x1d4)][_0x45c494(0x228)](_0x2f4d85[_0x45c494(0x22c)])):(this[_0x45c494(0x1d4)][_0x45c494(0x290)](_0xf5324[_0x45c494(0x284)][_0x45c494(0x20d)]),this[_0x45c494(0x1d4)][_0x45c494(0x1e9)](_0x2f4d85[_0x45c494(0x22c)])),this[_0x45c494(0x23b)][_0x45c494(0x27c)](this[_0x45c494(0x1d4)][_0x45c494(0x265)]());let _0x19ca45=[];const _0x2ef777=this[_0x45c494(0x255)][_0x45c494(0x1f8)](_0xf5324[_0x45c494(0x271)]),_0x203d70=(_0x2ef777==null?void 0x0:_0x2ef777['intervalCount'])||_0xf5324[_0x45c494(0x22f)];let _0x22877d=0x0;const _0x243a09=_0x2f4d85[_0x45c494(0x22c)];for(;_0x2f4d85[_0x45c494(0x22c)]>0x0;){const _0x54f4af=_0x2f4d85['pop'](),_0x3e2df3={'node':_0xf5324[_0x45c494(0x260)](_0x54f4af[_0x45c494(0x278)],_0x54f4af['formula'],this[_0x45c494(0x1f9)],this[_0x45c494(0x1d3)],this[_0x45c494(0x1e6)]),'refOffsetX':_0x54f4af[_0x45c494(0x24d)],'refOffsetY':_0x54f4af[_0x45c494(0x285)]},_0x1de832=_0x54f4af[_0x45c494(0x243)];if(_0x22877d%_0x203d70===0x0&&(await new Promise(_0x501beb=>{const _0x208b4c=_0x45c494,_0x59af2c=_0x4160c0['requestImmediateMacroTask'](_0x501beb);_0x19ca45[_0x208b4c(0x28f)](_0x59af2c);}),_0x187e7b?(this[_0x45c494(0x1d4)]['setFormulaExecuteStage'](_0xf5324['FormulaExecuteStageType'][_0x45c494(0x239)]),this[_0x45c494(0x1d4)][_0x45c494(0x287)](_0x22877d+0x1)):(this[_0x45c494(0x1d4)][_0x45c494(0x290)](_0xf5324[_0x45c494(0x284)]['CURRENTLY_CALCULATING']),this[_0x45c494(0x1d4)][_0x45c494(0x25f)](_0x22877d+0x1)),this[_0x45c494(0x23b)][_0x45c494(0x27c)](this['_runtimeService'][_0x45c494(0x265)]()),this[_0x45c494(0x1d4)][_0x45c494(0x21d)]()||_0x3e2df3==null&&_0x1de832==null)){this[_0x45c494(0x1d4)][_0x45c494(0x290)](_0xf5324[_0x45c494(0x284)][_0x45c494(0x227)]),this[_0x45c494(0x1d4)][_0x45c494(0x1df)](),this[_0x45c494(0x282)][_0x45c494(0x27c)](this[_0x45c494(0x1d4)]['getAllRuntimeData']());return;}this[_0x45c494(0x1d4)][_0x45c494(0x291)](_0x54f4af['row'],_0x54f4af[_0x45c494(0x225)],_0x54f4af[_0x45c494(0x23f)],_0x54f4af['columnCount'],_0x54f4af[_0x45c494(0x279)],_0x54f4af[_0x45c494(0x278)]);let _0x454c27;if(_0x1de832!=null&&_0x54f4af[_0x45c494(0x1e3)]!=null){const {runtimeCellData:_0xd7e807,dirtyRanges:_0x31163d}=_0x1de832(this['_currentConfigService'][_0x45c494(0x243)](),this[_0x45c494(0x1d4)][_0x45c494(0x294)]());this[_0x45c494(0x1d4)][_0x45c494(0x21a)](_0x54f4af[_0x45c494(0x1e3)],_0xd7e807),this['_runtimeService'][_0x45c494(0x1d9)](_0x54f4af[_0x45c494(0x1e3)],_0x31163d);}else _0x3e2df3!=null&&(_0x167bc9[_0x45c494(0x203)](_0x3e2df3[_0x45c494(0x247)])?_0x454c27=await _0x167bc9[_0x45c494(0x202)](_0x3e2df3):_0x454c27=_0x167bc9['execute'](_0x3e2df3),_0x54f4af[_0x45c494(0x230)]!=null?this[_0x45c494(0x1d4)][_0x45c494(0x213)](_0x54f4af['formulaId'],_0x54f4af['refOffsetX'],_0x54f4af[_0x45c494(0x285)],_0x454c27):this['_runtimeService']['setRuntimeData'](_0x454c27));_0x22877d++;}return _0x19ca45[_0x45c494(0x1f6)](_0x32f65b=>_0x32f65b()),_0x19ca45=[],_0x243a09>0x0?this[_0x45c494(0x1d4)][_0x45c494(0x258)]():_0x187e7b||this[_0x45c494(0x1d4)][_0x45c494(0x28a)](),this[_0x45c494(0x1d4)][_0x45c494(0x294)]();}}class _0x923af7 extends _0xf5324[_0x5ee326(0x1ef)]{constructor(){const _0x5b32cd=_0x5ee326;super(...arguments),_0x3f4fa0(this,'_allTreeMap',new Map()),_0x3f4fa0(this,_0x5b32cd(0x208),new _0x4160c0[(_0x5b32cd(0x26f))](!0x0));}[_0x5ee326(0x1dc)](){const _0x430c4b=_0x5ee326;this[_0x430c4b(0x280)][_0x430c4b(0x253)](),this[_0x430c4b(0x200)][_0x430c4b(0x253)](),this['_formulaData']['clear'](),this['_dependencyRTreeCache'][_0x430c4b(0x253)](),this[_0x430c4b(0x1ff)][_0x430c4b(0x253)](),this[_0x430c4b(0x257)](),this[_0x430c4b(0x220)][_0x430c4b(0x253)]();}[_0x5ee326(0x1f3)](_0x4fd2e8,_0xc5077f,_0x5d2cc3,_0x6f7a1b){const _0x3a3ce=_0x5ee326;this[_0x3a3ce(0x280)][_0x3a3ce(0x273)](_0x4fd2e8)||this['_otherFormulaData']['set'](_0x4fd2e8,new Map());const _0x429d76=this[_0x3a3ce(0x280)]['get'](_0x4fd2e8);_0x429d76['has'](_0xc5077f)||_0x429d76[_0x3a3ce(0x292)](_0xc5077f,new Map());const _0x58e444=_0x429d76[_0x3a3ce(0x275)](_0xc5077f);_0x58e444[_0x3a3ce(0x273)](_0x5d2cc3)||_0x58e444[_0x3a3ce(0x292)](_0x5d2cc3,new _0x4160c0['ObjectMatrix']()),_0x58e444['get'](_0x5d2cc3)['setValue'](_0x6f7a1b[_0x3a3ce(0x24d)],_0x6f7a1b[_0x3a3ce(0x285)],_0x6f7a1b[_0x3a3ce(0x245)]);}[_0x5ee326(0x26d)](_0x7c7d5c,_0x58363f,_0x56fec8){const _0x4b4984=_0x5ee326,_0x2ad54d=this['_otherFormulaData'][_0x4b4984(0x275)](_0x7c7d5c);if(_0x2ad54d&&_0x2ad54d[_0x4b4984(0x273)](_0x58363f)){const _0x275e00=_0x2ad54d[_0x4b4984(0x275)](_0x58363f);_0x56fec8[_0x4b4984(0x1f6)](_0x34fcb0=>{const _0xd79740=_0x4b4984,_0x43aa98=_0x275e00['get'](_0x34fcb0);_0x43aa98!=null&&(_0x43aa98['forValue']((_0x300566,_0x38e49a,_0x38d61a)=>{const _0x2c966f=_0x4b9f;this[_0x2c966f(0x244)](_0x38d61a),this[_0x2c966f(0x1de)](_0x38d61a);}),_0x275e00[_0xd79740(0x281)](_0x34fcb0),this[_0xd79740(0x220)][_0xd79740(0x281)](_0x34fcb0));}),_0x275e00['size']===0x0&&_0x2ad54d['delete'](_0x58363f),_0x2ad54d[_0x4b4984(0x23a)]===0x0&&this[_0x4b4984(0x280)]['delete'](_0x7c7d5c);}}[_0x5ee326(0x25a)](_0x9585fd,_0x31f36a){const _0x506349=_0x5ee326,_0x5eaa70=this[_0x506349(0x280)][_0x506349(0x275)](_0x9585fd);if(_0x31f36a&&_0x5eaa70&&_0x5eaa70['has'](_0x31f36a)){const _0x14d874=_0x5eaa70['get'](_0x31f36a);this[_0x506349(0x214)](_0x9585fd,_0x31f36a);for(const _0x39140e of _0x14d874[_0x506349(0x263)]()){const _0x1dc2af=_0x14d874[_0x506349(0x275)](_0x39140e);_0x1dc2af!=null&&(_0x1dc2af[_0x506349(0x1fb)]((_0x5aab73,_0xfe6aac,_0x312a76)=>{const _0x450268=_0x506349;this['_allTreeMap'][_0x450268(0x275)](_0x312a76)&&this[_0x450268(0x1de)](_0x312a76);}),this['_otherFormulaDataMainData'][_0x506349(0x281)](_0x39140e));}_0x14d874[_0x506349(0x253)]();}else{if(_0x5eaa70){for(const _0x500ef3 of _0x5eaa70[_0x506349(0x263)]()){const _0x217288=_0x5eaa70[_0x506349(0x275)](_0x500ef3);this[_0x506349(0x214)](_0x9585fd,_0x500ef3);for(const _0xf26f9c of _0x217288[_0x506349(0x263)]()){const _0x5e4307=_0x217288[_0x506349(0x275)](_0xf26f9c);_0x5e4307!=null&&(_0x5e4307[_0x506349(0x1fb)]((_0x3fe1d8,_0x4c68a3,_0x47f0ad)=>{const _0x450dd4=_0x506349;this['_allTreeMap']['get'](_0x47f0ad)&&this[_0x450dd4(0x1de)](_0x47f0ad);}),this['_otherFormulaDataMainData'][_0x506349(0x281)](_0xf26f9c));}}this[_0x506349(0x280)][_0x506349(0x281)](_0x9585fd);}}}['addFeatureFormulaDependency'](_0x32538e,_0x476786,_0x5b52ab,_0x56eec5){const _0x6a878b=_0x5ee326;this[_0x6a878b(0x200)][_0x6a878b(0x273)](_0x32538e)||this[_0x6a878b(0x200)][_0x6a878b(0x292)](_0x32538e,new Map());const _0x5b313f=this[_0x6a878b(0x200)][_0x6a878b(0x275)](_0x32538e);_0x5b313f[_0x6a878b(0x273)](_0x476786)||_0x5b313f[_0x6a878b(0x292)](_0x476786,new Map()),_0x5b313f[_0x6a878b(0x275)](_0x476786)[_0x6a878b(0x292)](_0x5b52ab,_0x56eec5[_0x6a878b(0x245)]);}['removeFeatureFormulaDependency'](_0x16f40e,_0x49b402,_0x34197c){const _0x3a039c=_0x5ee326,_0x130f29=this[_0x3a039c(0x200)][_0x3a039c(0x275)](_0x16f40e);if(_0x130f29&&_0x130f29['has'](_0x49b402)){const _0x4216ef=_0x130f29['get'](_0x49b402);_0x34197c[_0x3a039c(0x1f6)](_0x47344a=>{const _0x2f7033=_0x3a039c,_0x3f25c2=_0x4216ef[_0x2f7033(0x275)](_0x47344a);_0x3f25c2!=null&&(this[_0x2f7033(0x244)](_0x3f25c2),_0x4216ef[_0x2f7033(0x281)](_0x47344a),this[_0x2f7033(0x1de)](_0x3f25c2));});}}[_0x5ee326(0x1fe)](_0x22c9b3,_0x4fd16d){const _0x506fc4=_0x5ee326,_0x3c476d=this[_0x506fc4(0x200)]['get'](_0x22c9b3);if(_0x4fd16d&&_0x3c476d&&_0x3c476d[_0x506fc4(0x273)](_0x4fd16d)){const _0x34ddfc=_0x3c476d['get'](_0x4fd16d);this[_0x506fc4(0x214)](_0x22c9b3,_0x4fd16d),_0x34ddfc[_0x506fc4(0x1f6)](_0x4345fb=>{const _0x123c62=_0x506fc4;_0x4345fb!=null&&this[_0x123c62(0x1de)](_0x4345fb);}),_0x34ddfc[_0x506fc4(0x253)]();}else _0x3c476d&&(_0x3c476d[_0x506fc4(0x1f6)]((_0x13532c,_0x1d8f95)=>{const _0x169958=_0x506fc4;this[_0x169958(0x214)](_0x22c9b3,_0x1d8f95),_0x13532c[_0x169958(0x1f6)](_0x3087ea=>{_0x3087ea!=null&&this['_removeAllTreeMap'](_0x3087ea);});}),this['_featureFormulaData']['delete'](_0x22c9b3));}[_0x5ee326(0x242)](_0x5a809c,_0x29ad4c,_0xe05a20,_0x46364f,_0x30aa60){const _0x4d05b6=_0x5ee326;this[_0x4d05b6(0x272)][_0x4d05b6(0x273)](_0x5a809c)||this['_formulaData']['set'](_0x5a809c,new Map());const _0x4b046e=this['_formulaData']['get'](_0x5a809c);_0x4b046e[_0x4d05b6(0x273)](_0x29ad4c)||_0x4b046e[_0x4d05b6(0x292)](_0x29ad4c,new _0x4160c0[(_0x4d05b6(0x21f))]()),_0x4b046e[_0x4d05b6(0x275)](_0x29ad4c)[_0x4d05b6(0x27d)](_0xe05a20,_0x46364f,_0x30aa60[_0x4d05b6(0x245)]);}[_0x5ee326(0x24a)](_0x3db0e0,_0x1aabd6,_0x187cc8,_0x3cd794){const _0x4a7e02=_0x5ee326,_0x409de4=this[_0x4a7e02(0x272)][_0x4a7e02(0x275)](_0x3db0e0);if(_0x409de4&&_0x409de4[_0x4a7e02(0x273)](_0x1aabd6)){const _0x30cd9c=_0x409de4[_0x4a7e02(0x275)](_0x1aabd6),_0xb3c214=_0x30cd9c[_0x4a7e02(0x1d5)](_0x187cc8,_0x3cd794);if(_0xb3c214==null)return;this['_removeDependencyRTreeCache'](_0xb3c214),_0x30cd9c[_0x4a7e02(0x23d)](_0x187cc8,_0x3cd794),this[_0x4a7e02(0x1de)](_0xb3c214);}}['clearFormulaDependency'](_0x12e865,_0x2c961d){const _0x28e46c=_0x5ee326,_0x440fce=this[_0x28e46c(0x272)][_0x28e46c(0x275)](_0x12e865);if(_0x2c961d&&_0x440fce&&_0x440fce[_0x28e46c(0x273)](_0x2c961d)){const _0x3a9241=_0x440fce[_0x28e46c(0x275)](_0x2c961d);this[_0x28e46c(0x214)](_0x12e865,_0x2c961d),_0x3a9241[_0x28e46c(0x1fb)]((_0x43c551,_0x32e5cd,_0x3d8a99)=>{const _0x250d96=_0x28e46c;if(_0x3d8a99==null)return!0x0;this[_0x250d96(0x1de)](_0x3d8a99);}),_0x3a9241[_0x28e46c(0x1dc)]();}else _0x440fce&&(_0x440fce[_0x28e46c(0x1f6)]((_0x92f595,_0x201caa)=>{this['_removeDependencyRTreeCacheById'](_0x12e865,_0x201caa),_0x92f595['forValue']((_0x499c29,_0x1c4356,_0x15c9d4)=>{const _0x190b99=_0x4b9f;if(_0x15c9d4==null)return!0x0;this[_0x190b99(0x1de)](_0x15c9d4);});}),this[_0x28e46c(0x272)][_0x28e46c(0x281)](_0x12e865));}[_0x5ee326(0x244)](_0x5c4d73){const _0x42f0bb=_0x5ee326;if(_0x5c4d73==null)return;const _0x3c38ec=this['_allTreeMap'][_0x42f0bb(0x275)](_0x5c4d73);if(_0x3c38ec){const _0x303d55=[];for(const [_0x2cd309,_0x264928]of _0x3c38ec)for(const [_0x1b2f2a,_0x4a09e6]of _0x264928)_0x303d55['push']({'unitId':_0x2cd309,'sheetId':_0x1b2f2a,'range':_0x4a09e6,'id':_0x5c4d73});this[_0x42f0bb(0x208)][_0x42f0bb(0x22d)](_0x303d55);}}[_0x5ee326(0x26a)](_0x1b89ab,_0x2ec7c4){const _0x44afbd=_0x5ee326,_0x315563=this[_0x44afbd(0x231)][_0x44afbd(0x275)](_0x1b89ab);if(_0x315563){const _0x531a29=_0x315563[_0x44afbd(0x275)](_0x2ec7c4);if(_0x531a29){for(const _0x333ae8 of _0x531a29)this[_0x44afbd(0x244)](_0x333ae8),this[_0x44afbd(0x1de)](_0x333ae8);_0x531a29[_0x44afbd(0x253)]();}}}[_0x5ee326(0x1d7)](){const _0x2c0173=_0x5ee326;this[_0x2c0173(0x208)][_0x2c0173(0x1d7)]();}['closeKdTree'](){const _0x9ab60c=_0x5ee326;this[_0x9ab60c(0x208)][_0x9ab60c(0x223)]();}[_0x5ee326(0x1de)](_0x5b4113){const _0xe0c462=_0x5ee326;_0x5b4113!=null&&this[_0xe0c462(0x1ff)][_0xe0c462(0x281)](_0x5b4113);}['_addAllTreeMap'](_0x486169){const _0x2401ef=_0x5ee326;var _0x2725d6,_0xa7ea3d;const _0x5e5672=_0x486169[_0x2401ef(0x20e)];let _0x5f5037=this[_0x2401ef(0x1ff)]['get'](_0x486169[_0x2401ef(0x245)]);for(let _0x1db0e4=0x0;_0x1db0e4<_0x5e5672[_0x2401ef(0x22c)];_0x1db0e4++){const _0x5ba502=_0x5e5672[_0x1db0e4];let {unitId:_0x3de622,sheetId:_0x5be6b4,range:_0xafea30}=_0x5ba502;_0x5f5037||(_0x5f5037=new Map(),this[_0x2401ef(0x1ff)][_0x2401ef(0x292)](_0x486169[_0x2401ef(0x245)],_0x5f5037)),_0x5f5037[_0x2401ef(0x273)](_0x3de622)||_0x5f5037[_0x2401ef(0x292)](_0x3de622,new Map());const _0x159f67=(_0x2725d6=_0x5f5037==null?void 0x0:_0x5f5037[_0x2401ef(0x275)](_0x3de622))==null?void 0x0:_0x2725d6[_0x2401ef(0x275)](_0x5be6b4);_0x159f67&&(_0xafea30={'startRow':Math[_0x2401ef(0x1db)](_0xafea30[_0x2401ef(0x1e4)],_0x159f67[_0x2401ef(0x1e4)]),'startColumn':Math['min'](_0xafea30[_0x2401ef(0x219)],_0x159f67[_0x2401ef(0x219)]),'endRow':Math[_0x2401ef(0x211)](_0xafea30['endRow'],_0x159f67['endRow']),'endColumn':Math['max'](_0xafea30[_0x2401ef(0x240)],_0x159f67[_0x2401ef(0x240)])}),(_0xa7ea3d=_0x5f5037[_0x2401ef(0x275)](_0x3de622))==null||_0xa7ea3d[_0x2401ef(0x292)](_0x5be6b4,_0xafea30);}}}var _0x570e5b=Object['getOwnPropertyDescriptor'],_0x83a0c6=(_0x509c8a,_0x37a31e,_0x962844,_0x140e28)=>{for(var _0x540144=_0x140e28>0x1?void 0x0:_0x140e28?_0x570e5b(_0x37a31e,_0x962844):_0x37a31e,_0x2065ac=_0x509c8a['length']-0x1,_0x1128e5;_0x2065ac>=0x0;_0x2065ac--)(_0x1128e5=_0x509c8a[_0x2065ac])&&(_0x540144=_0x1128e5(_0x540144)||_0x540144);return _0x540144;};const _0x4bca7b=Number[_0x5ee326(0x1f7)](0x690d953d);_0xd21c3c['UniverProFormulaEnginePlugin']=class extends _0xf5324['UniverFormulaEnginePlugin']{[_0x5ee326(0x267)](){const _0x43a70e=_0x5ee326;var _0x288e68,_0x106efc;this[_0x43a70e(0x205)]()?(_0x288e68=this[_0x43a70e(0x226)])!=null&&_0x288e68[_0x43a70e(0x1ed)]||[[_0xf5324[_0x43a70e(0x204)],{'useClass':_0x98d614}],[_0xf5324['IDependencyManagerService'],{'useClass':_0x923af7}],[_0xf5324[_0x43a70e(0x234)],{'useClass':_0x5512dd}]]['forEach'](_0x189d1e=>this['_injector'][_0x43a70e(0x250)](_0x189d1e)):(_0x106efc=this['_config'])!=null&&_0x106efc[_0x43a70e(0x1ed)]||[[_0xf5324[_0x43a70e(0x204)],{'useClass':_0xf5324[_0x43a70e(0x24e)]}],[_0xf5324[_0x43a70e(0x1eb)],{'useClass':_0xf5324[_0x43a70e(0x1e1)]}],[_0xf5324['IFormulaDependencyGenerator'],{'useClass':_0xf5324[_0x43a70e(0x22b)]}]]['forEach'](_0x3c3c27=>this['_injector'][_0x43a70e(0x250)](_0x3c3c27));}[_0x5ee326(0x205)](){const _0x3d216f=_0x5ee326;var _0x50a45f;const _0x343f57=(_0x50a45f=this[_0x3d216f(0x255)]['getConfig'](_0x525876[_0x3d216f(0x1f0)]))!=null?_0x50a45f:{},{ls:_0x357c6f,pbk:_0x403efe}=_0x343f57;if(!_0x357c6f||!_0x403efe)return!0x1;const _0x2d3623=_0x525876[_0x3d216f(0x1ec)](_0x5bbf6b,_0x2c321d),_0x37dd54=new Function('return\x20'+_0x2d3623)()(_0x357c6f,_0x403efe),_0x1b0a27=_0x37dd54[_0x3d216f(0x1da)];return _0x37dd54['valid']&&_0x525876[_0x3d216f(0x21e)](_0x1b0a27,'sf',_0x4bca7b)?_0x525876[_0x3d216f(0x28c)](_0x1b0a27,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0xd21c3c[_0x5ee326(0x1e8)]=_0x83a0c6([_0x4160c0[_0x5ee326(0x241)](_0x525876['UniverLicensePlugin'])],_0xd21c3c[_0x5ee326(0x1e8)]),Object[_0x5ee326(0x263)](_0xf5324)['forEach'](_0x3f6274=>{const _0x5b400f=_0x5ee326;_0x3f6274!=='default'&&!Object[_0x5b400f(0x1ee)]['hasOwnProperty'][_0x5b400f(0x20a)](_0xd21c3c,_0x3f6274)&&Object[_0x5b400f(0x21b)](_0xd21c3c,_0x3f6274,{'enumerable':!0x0,'get':()=>_0xf5324[_0x3f6274]});}),Object['defineProperty'](_0xd21c3c,Symbol['toStringTag'],{'value':_0x5ee326(0x28b)});}));function _0x4d08(){const _0x466ac8=['RTree','_isCyclicUtilMap','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_formulaData','has','_traverse','get','@univerjs/core','enableCycleDependency','unitId','subUnitId','_updateRangeFlatten','getOtherFormulaDependency','next','setValue','23730snLqqq','UniverEngineFormula','_otherFormulaData','delete','_executionCompleteListener$','786689kqQTUC','FormulaExecuteStageType','refOffsetY','FormulaDependencyTreeType','setCompletedArrayFormulasCount','getUnitData','dispose','markedAsNoFunctionsExecuted','Module','getSheetFeatureLimit','_generateTreeList','featureDirtyRanges','push','setFormulaExecuteStage','setCurrent','set','addFormulaDependencyByDefinedName','getAllRuntimeData','_astTreeBuilder','_runtimeService','getValue','_calculateRunList','openKdTree','generate','setRuntimeFeatureRange','message','min','reset','symbol','_removeAllTreeMap','markedAsStopFunctionsExecuted','START_DEPENDENCY_ARRAY_FORMULA','DependencyManagerService','isDirty','featureId','startRow','_createFDtree','_currentConfigService','getOtherFormulaData','UniverProFormulaEnginePlugin','setTotalFormulasToCalculate','searchDependency','IDependencyManagerService','unshiftString','notExecuteFormula','prototype','DependencyManagerBaseService','LS_CONFIG_KEY','setAdded','_dependencyTreeCache','addOtherFormulaDependency','object','isExcludeRange','forEach','parseInt','getConfig','_lexer','getFormulaDependency','forValue','UniverProEngineFormula','isSkip','clearFeatureFormulaDependency','_allTreeMap','_featureFormulaData','_getTreeById','executeAsync','checkAsyncNode','ICalculateFormulaService','_initLicenseValid','7497371fwmYyD','@univerjs-pro/license','_dependencyRTreeCache','_apply','call','generateRandomDependencyTreeId','2184EjBjpT','START_CALCULATION','rangeList','pop','685fKyemc','max','exports','setRuntimeOtherData','_removeDependencyRTreeCacheById','hasOtherFormulaDataMainData','_getTreeNode','_otherFormulaManagerService','905816NVmVMK','startColumn','setRuntimeFeatureCellData','defineProperty','getClearDependencyTreeCache','isStopExecution','isFeatureAuthorizedWithinTime','ObjectMatrix','_otherFormulaDataMainData','setSkip','_dependencyManagerService','closeKdTree','8fGxnjI','column','_config','IDLE','setTotalArrayFormulasToCalculate','type','isAdded','FormulaDependencyGenerator','length','bulkRemove','_formulaDependencyGenerator','DEFAULT_INTERVAL_COUNT','formulaId','_definedNameMap','function','30537280qViemE','IFormulaDependencyGenerator','addOtherFormulaDependencyMainData','isForceCalculate','_createVirtualFDtree','UniverProLicense','CURRENTLY_CALCULATING_ARRAY_FORMULA','size','_executionInProgressListener$','START_DEPENDENCY','realDeleteValue','231CBCaso','rowCount','endColumn','DependentOn','addFormulaDependency','getDirtyData','_removeDependencyRTreeCache','treeId','OTHER_FORMULA','node','FormulaDependencyTree','isVirtual','removeFormulaDependency','_registerFormulas','_checkIsCycleDependency','refOffsetX','CalculateFormulaService','amd','add','_registerOtherFormulas','@univerjs/engine-formula','clear','_dependencyRTreeCacheForAddressFunction','_configService','_getFeatureFormulaTree','_restDependencyTreeId','markedAsSuccessfullyExecuted','getExcludedRange','clearOtherFormulaDependency','4863870wrvgHE','_getUpdateTreeListAndMakeDependency','addFeatureFormulaDependency','dirtyRanges','setCompletedFormulasCount','generateAstNode','formula','refTree','keys','getFormulaData','getRuntimeState','row','_initializeWithOverride','bulkSearch','isCache','removeFormulaDependencyByDefinedName','_getFirstCellOfRange','FEATURE_FORMULA','removeOtherFormulaDependency','toRTreeItem'];_0x4d08=function(){return _0x466ac8;};return _0x4d08();}
1
+ (function(_0x27470b,_0x5a6ef3){const _0x41ed88=_0x424e,_0x5813a0=_0x27470b();while(!![]){try{const _0x2c708a=-parseInt(_0x41ed88(0x1b7))/0x1+parseInt(_0x41ed88(0x17d))/0x2+-parseInt(_0x41ed88(0x1d2))/0x3+-parseInt(_0x41ed88(0x148))/0x4*(-parseInt(_0x41ed88(0x1ee))/0x5)+-parseInt(_0x41ed88(0x174))/0x6*(parseInt(_0x41ed88(0x189))/0x7)+parseInt(_0x41ed88(0x1ab))/0x8*(parseInt(_0x41ed88(0x141))/0x9)+parseInt(_0x41ed88(0x172))/0xa;if(_0x2c708a===_0x5a6ef3)break;else _0x5813a0['push'](_0x5813a0['shift']());}catch(_0x47e1ce){_0x5813a0['push'](_0x5813a0['shift']());}}}(_0x57c3,0x72739),function(_0x52765f,_0x3016ff){const _0x553e26=_0x424e;typeof exports==_0x553e26(0x197)&&typeof module<'u'?_0x3016ff(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x553e26(0x177)&&define[_0x553e26(0x143)]?define([_0x553e26(0x13e),_0x553e26(0x18c),_0x553e26(0x138),_0x553e26(0x15b)],_0x3016ff):(_0x52765f=typeof globalThis<'u'?globalThis:_0x52765f||self,_0x3016ff(_0x52765f['UniverProEngineFormula']={},_0x52765f[_0x553e26(0x199)],_0x52765f[_0x553e26(0x1db)],_0x52765f[_0x553e26(0x1e2)]));}(this,function(_0x12006a,_0x197612,_0x5341c9,_0x4f9302){'use strict';const _0x16fab8=_0x424e;var _0x114add=Object['defineProperty'],_0x5dcf29=(_0x1f9794,_0x3d2545,_0x30f8dc)=>_0x3d2545 in _0x1f9794?_0x114add(_0x1f9794,_0x3d2545,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30f8dc}):_0x1f9794[_0x3d2545]=_0x30f8dc,_0x4bf2f8=(_0x536f05,_0x900ff7,_0x1c5c2a)=>_0x5dcf29(_0x536f05,typeof _0x900ff7!=_0x16fab8(0x1d0)?_0x900ff7+'':_0x900ff7,_0x1c5c2a);const _0x2d121f={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},_0x149966=_0x16fab8(0x179);class _0x3b0565 extends _0x4f9302[_0x16fab8(0x178)]{constructor(){super(...arguments),_0x4bf2f8(this,'_dependencyTreeCache',new Map());}[_0x16fab8(0x1b3)](){const _0x576c82=_0x16fab8;super['dispose'](),this[_0x576c82(0x13a)][_0x576c82(0x16e)]();}async[_0x16fab8(0x1b8)](){const _0xa4ece4=_0x16fab8;this['_updateRangeFlatten']();const _0x1f9cab=this['_currentConfigService'][_0xa4ece4(0x13f)](),_0x51a8ea=this[_0xa4ece4(0x187)][_0xa4ece4(0x153)](),_0x23150d=this[_0xa4ece4(0x183)][_0xa4ece4(0x157)]();_0x23150d!=null&&Object[_0xa4ece4(0x191)](_0x23150d)[_0xa4ece4(0x185)](_0x3eab04=>{const _0x438590=_0xa4ece4;_0x3eab04!=null&&Object[_0x438590(0x191)](_0x23150d[_0x3eab04])[_0x438590(0x185)](_0x445edf=>{const _0x58287e=_0x438590;_0x445edf!=null&&(this['_dependencyManagerService'][_0x58287e(0x15a)](_0x3eab04,_0x445edf),this[_0x58287e(0x1f5)]['clearFeatureFormulaDependency'](_0x3eab04,_0x445edf),this['_dependencyManagerService']['clearFormulaDependency'](_0x3eab04,_0x445edf));});});const _0x4a997a=this[_0xa4ece4(0x183)][_0xa4ece4(0x18f)]();await this['_generateTreeList'](_0x1f9cab,_0x51a8ea,_0x4a997a),this[_0xa4ece4(0x1f5)][_0xa4ece4(0x1f9)]();const _0x12ea23=this[_0xa4ece4(0x198)](),_0x62e975=this['_calculateRunList'](_0x12ea23);return this[_0xa4ece4(0x145)](_0x62e975)&&this[_0xa4ece4(0x181)][_0xa4ece4(0x1da)](),this[_0xa4ece4(0x13a)][_0xa4ece4(0x16e)](),this[_0xa4ece4(0x1d3)][_0xa4ece4(0x16e)](),this['_dependencyManagerService'][_0xa4ece4(0x1d5)](),Promise['resolve'](_0x62e975);}[_0x16fab8(0x1e3)](_0x437c85,_0x3ec218){const _0x56a6f3=_0x16fab8,_0x29da21=[_0x437c85];for(;_0x29da21[_0x56a6f3(0x14c)]>0x0;){const _0x1e41c3=_0x29da21[_0x29da21[_0x56a6f3(0x14c)]-0x1];if((_0x3ec218['get'](_0x1e41c3)||0x0)===0x0){_0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x1);const _0x576651=this[_0x56a6f3(0x13a)][_0x56a6f3(0x155)](_0x1e41c3);if(_0x576651==null){_0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x2),_0x29da21[_0x56a6f3(0x14a)]();continue;}const _0x55e991=this[_0x56a6f3(0x1f5)][_0x56a6f3(0x151)](_0x576651[_0x56a6f3(0x142)]());for(const _0x284d78 of _0x55e991){const _0x1e0164=_0x3ec218[_0x56a6f3(0x155)](_0x284d78)||0x0;if(_0x1e0164===0x1)return!0x0;_0x1e0164===0x0&&_0x29da21[_0x56a6f3(0x1ba)](_0x284d78);}}else _0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x2),_0x29da21[_0x56a6f3(0x14a)]();}return!0x1;}['_checkIsCycleDependency'](_0x2f76ed){const _0x5a4fc9=_0x16fab8,_0x31a46c=new Map();for(const _0x471811 of _0x2f76ed)if(!_0x31a46c[_0x5a4fc9(0x1b4)](_0x471811[_0x5a4fc9(0x1ed)])&&this[_0x5a4fc9(0x1e3)](_0x471811[_0x5a4fc9(0x1ed)],_0x31a46c))return!0x0;return _0x31a46c[_0x5a4fc9(0x16e)](),!0x1;}['_getFeatureFormulaTree'](_0x3e35ab,_0x592b96,_0x5848f1){const _0x5ec5a3=_0x16fab8,{unitId:_0x4b1336,subUnitId:_0x506261,dependencyRanges:_0x4bc297,getDirtyData:_0xfabf25}=_0x5848f1,_0x21ff7f=_0x592b96||_0x4f9302[_0x5ec5a3(0x14d)](this[_0x5ec5a3(0x1f5)]),_0x37bd75=new _0x4f9302['FormulaDependencyTree'](_0x21ff7f);_0x37bd75[_0x5ec5a3(0x14b)]=_0x4b1336,_0x37bd75['subUnitId']=_0x506261,_0x37bd75['rangeList']=_0x4bc297,_0x37bd75[_0x5ec5a3(0x166)]=_0xfabf25;const _0xce0955=_0xfabf25(this[_0x5ec5a3(0x183)][_0x5ec5a3(0x166)](),this['_runtimeService']['getAllRuntimeData']()),_0x23ad38=this['_convertDirtyRangesToUnitRange'](_0xce0955[_0x5ec5a3(0x16f)]);return _0x37bd75[_0x5ec5a3(0x154)]=_0x23ad38,_0x37bd75['featureId']=_0x3e35ab,_0x37bd75[_0x5ec5a3(0x1de)]=_0x4f9302[_0x5ec5a3(0x16d)][_0x5ec5a3(0x16a)],this['_dependencyManagerService'][_0x5ec5a3(0x1ef)](_0x4b1336,_0x506261,_0x3e35ab,_0x37bd75),this[_0x5ec5a3(0x13a)][_0x5ec5a3(0x1e9)](_0x37bd75[_0x5ec5a3(0x1ed)],_0x37bd75),this[_0x5ec5a3(0x1f5)][_0x5ec5a3(0x1a0)](_0x5848f1[_0x5ec5a3(0x14b)],_0x5848f1['subUnitId'],_0x3e35ab)&&(_0x37bd75[_0x5ec5a3(0x1c4)]=!0x0),_0x37bd75;}[_0x16fab8(0x1ae)](_0x2b5d76,_0x4af341,_0x137133){const _0x36cfc9=_0x16fab8;var _0x146d8f;for(const _0x328a48 of _0x4af341){const _0x37a8b7=_0x2b5d76[_0x328a48];if(_0x37a8b7==null)continue;const _0x224de9=Object[_0x36cfc9(0x191)](_0x37a8b7);for(const _0x2ff8b1 of _0x224de9){const _0x159b9a=_0x37a8b7[_0x2ff8b1];if(_0x159b9a==null)continue;const _0x1168aa=Object[_0x36cfc9(0x191)](_0x159b9a);for(const _0x4e4f03 of _0x1168aa){const _0x14a79f=this[_0x36cfc9(0x1f5)][_0x36cfc9(0x1a7)](_0x4e4f03),_0x3911d8=_0x159b9a[_0x4e4f03],{f:_0x250f7d,ranges:_0x413b86}=_0x3911d8;let _0x567957=!0x1;_0x14a79f&&(_0x567957=!0x0);const {firstRow:_0x2f773c,firstColumn:_0x4975d7}=this[_0x36cfc9(0x1cd)](_0x413b86),_0x1a16f5=this['_dependencyManagerService'][_0x36cfc9(0x15c)](_0x328a48,_0x2ff8b1,_0x4e4f03),_0xf25203=(_0x146d8f=_0x1a16f5==null?void 0x0:_0x1a16f5[_0x36cfc9(0x1e8)](0x0,0x0))!=null?_0x146d8f:_0x4f9302[_0x36cfc9(0x14d)](this[_0x36cfc9(0x1f5)]),_0x16edab=new _0x4f9302[(_0x36cfc9(0x188))](_0xf25203);for(let _0x4ad84f=0x0;_0x4ad84f<_0x413b86[_0x36cfc9(0x14c)];_0x4ad84f++){const _0x4b7f00=_0x413b86[_0x4ad84f],{startRow:_0x5e082f,startColumn:_0x582fc7,endRow:_0xbc5e2f,endColumn:_0x2bb73b}=_0x4b7f00;for(let _0x2c4992=_0x5e082f;_0x2c4992<=_0xbc5e2f;_0x2c4992++)for(let _0xda1b6e=_0x582fc7;_0xda1b6e<=_0x2bb73b;_0xda1b6e++){const _0x13071f=_0xda1b6e-_0x4975d7,_0x45c51a=_0x2c4992-_0x2f773c;if(_0x13071f===0x0&&_0x45c51a===0x0){_0x16edab[_0x36cfc9(0x1f0)]=_0x250f7d,_0x16edab[_0x36cfc9(0x14b)]=_0x328a48,_0x16edab[_0x36cfc9(0x1bd)]=_0x2ff8b1,_0x16edab[_0x36cfc9(0x1b9)]=_0x4e4f03,_0x16edab[_0x36cfc9(0x1de)]=_0x4f9302[_0x36cfc9(0x16d)][_0x36cfc9(0x1a5)],_0x16edab[_0x36cfc9(0x1c4)]=_0x567957,_0x137133[_0x36cfc9(0x1ba)](_0x16edab),this['_dependencyTreeCache']['set'](_0x16edab['treeId'],_0x16edab),this[_0x36cfc9(0x1f5)]['addOtherFormulaDependency'](_0x328a48,_0x2ff8b1,_0x4e4f03,_0x16edab),this[_0x36cfc9(0x1f5)]['addFormulaDependencyByDefinedName'](_0x16edab);continue;}const _0x221f0f=new _0x4f9302['FormulaDependencyTreeVirtual']();_0x221f0f[_0x36cfc9(0x1ed)]=(_0x1a16f5==null?void 0x0:_0x1a16f5[_0x36cfc9(0x1e8)](_0x13071f,_0x45c51a))||_0x4f9302[_0x36cfc9(0x14d)](this[_0x36cfc9(0x1f5)]),_0x221f0f[_0x36cfc9(0x1e6)]=_0x16edab,_0x221f0f['refOffsetX']=_0x13071f,_0x221f0f[_0x36cfc9(0x1f7)]=_0x45c51a,_0x221f0f['isCache']=_0x567957,this[_0x36cfc9(0x1f5)][_0x36cfc9(0x17e)](_0x328a48,_0x2ff8b1,_0x4e4f03,_0x221f0f),this[_0x36cfc9(0x1f5)][_0x36cfc9(0x19e)](_0x221f0f),_0x137133['push'](_0x221f0f),this['_dependencyTreeCache'][_0x36cfc9(0x1e9)](_0x221f0f[_0x36cfc9(0x1ed)],_0x221f0f);}}this['_dependencyManagerService'][_0x36cfc9(0x1f1)](_0x4e4f03);}}}}['_registerFormulas'](_0x5eeb43,_0x22cecf,_0x298517,_0x1ffa00){const _0x250986=_0x16fab8;for(const _0x2bb054 of _0x5eeb43){const _0x4bd5de=_0x22cecf[_0x2bb054];if(_0x4bd5de==null)continue;const _0x24c73c=Object[_0x250986(0x191)](_0x4bd5de);for(const _0x12138b of _0x24c73c){const _0x35ff29=new _0x5341c9[(_0x250986(0x1df))](_0x4bd5de[_0x12138b]||{}),_0x414819=new Map();_0x35ff29[_0x250986(0x165)]((_0x66666f,_0x31ce3b,_0x1953ff)=>{const _0x2a880f=_0x250986;if(_0x1953ff==null)return!0x0;const {x:_0x5577ea=0x0,y:_0x483237=0x0,si:_0x2ba1d0}=_0x1953ff;if(!(_0x5577ea===0x0&&_0x483237===0x0&&_0x2ba1d0!=null))return!0x0;const _0x1481e8=this['_createFDtree'](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b,_0x298517,_0x1953ff),_0x4a6a37=this[_0x2a880f(0x1f5)][_0x2a880f(0x15d)](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b);_0x4a6a37!=null?_0x1481e8[_0x2a880f(0x1ed)]=_0x4a6a37:(this[_0x2a880f(0x1f5)]['addFormulaDependency'](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b,_0x1481e8),this[_0x2a880f(0x1f5)][_0x2a880f(0x19e)](_0x1481e8)),_0x414819[_0x2a880f(0x1e9)](_0x2ba1d0,_0x1481e8),_0x1ffa00[_0x2a880f(0x1ba)](_0x1481e8),this[_0x2a880f(0x13a)][_0x2a880f(0x1e9)](_0x1481e8[_0x2a880f(0x1ed)],_0x1481e8);}),_0x35ff29[_0x250986(0x165)]((_0x22b94f,_0x2c568f,_0x187fc8)=>{const _0x4caec2=_0x250986;if(_0x187fc8==null)return!0x0;const {x:_0xfbd796=0x0,y:_0x64806=0x0,si:_0x4c4468}=_0x187fc8;if(_0xfbd796===0x0&&_0x64806===0x0&&_0x4c4468!=null)return!0x0;let _0x32383a;if(_0x4c4468&&_0x414819[_0x4caec2(0x1b4)](_0x4c4468)){const _0x228dfc=_0x414819[_0x4caec2(0x155)](_0x4c4468);_0x32383a=this[_0x4caec2(0x1dc)](_0x228dfc,_0x187fc8);}else _0x32383a=this[_0x4caec2(0x170)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f,_0x298517,_0x187fc8);const _0x1800da=this[_0x4caec2(0x1f5)][_0x4caec2(0x15d)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f);_0x1800da!=null?_0x32383a['treeId']=_0x1800da:(this[_0x4caec2(0x1f5)][_0x4caec2(0x150)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f,_0x32383a),this[_0x4caec2(0x1f5)]['addFormulaDependencyByDefinedName'](_0x32383a)),_0x1ffa00['push'](_0x32383a),this['_dependencyTreeCache'][_0x4caec2(0x1e9)](_0x32383a[_0x4caec2(0x1ed)],_0x32383a);}),_0x414819['clear']();}}}[_0x16fab8(0x170)](_0x3cb222,_0x58b567,_0x20945f,_0x1e260f,_0x1e1323,_0x20cadb){const _0x35eab0=_0x16fab8,{f:_0x26d05e,x:_0x157e03=0x0,y:_0x111ee5=0x0}=_0x20cadb,_0x3ec32c=new _0x4f9302[(_0x35eab0(0x188))](_0x4f9302[_0x35eab0(0x14d)](this[_0x35eab0(0x1f5)])),_0x1f643a=_0x1e1323[_0x3cb222][_0x58b567];return _0x3ec32c[_0x35eab0(0x1f0)]=_0x26d05e,_0x3ec32c[_0x35eab0(0x14b)]=_0x3cb222,_0x3ec32c[_0x35eab0(0x1bd)]=_0x58b567,_0x3ec32c[_0x35eab0(0x173)]=_0x20945f,_0x3ec32c['column']=_0x1e260f,_0x3ec32c[_0x35eab0(0x15e)]=_0x1f643a['rowCount'],_0x3ec32c[_0x35eab0(0x1b6)]=_0x1f643a[_0x35eab0(0x1b6)],_0x3ec32c;}[_0x16fab8(0x198)](){const _0x4e4a3=_0x16fab8,_0x3802c7=[],_0x55bb03=new Set(),_0x4cfe58=this[_0x4e4a3(0x183)][_0x4e4a3(0x186)](),_0xe0c7da=this['_currentConfigService'][_0x4e4a3(0x18e)](),_0x4d795=this[_0x4e4a3(0x1f5)][_0x4e4a3(0x151)](_0xe0c7da),_0xcb50ed=this[_0x4e4a3(0x1d3)][_0x4e4a3(0x1c8)](_0xe0c7da);for(const _0x58dfd2 of _0xcb50ed)_0x4d795[_0x4e4a3(0x1ec)](_0x58dfd2);for(const [_0x41c780,_0x43f647]of this[_0x4e4a3(0x13a)])(_0x4cfe58||_0x43f647[_0x4e4a3(0x1bb)]||_0x43f647['dependencySheetName'](this[_0x4e4a3(0x183)][_0x4e4a3(0x192)]())||_0x4d795[_0x4e4a3(0x1b4)](_0x41c780)&&!_0x43f647[_0x4e4a3(0x1fe)](this['_currentConfigService'][_0x4e4a3(0x1a2)]()))&&!_0x55bb03[_0x4e4a3(0x1b4)](_0x41c780)&&(_0x3802c7['push'](_0x43f647),_0x55bb03[_0x4e4a3(0x1ec)](_0x41c780));for(const [_0x4447ff,_0x319555]of this[_0x4e4a3(0x13a)])_0x319555[_0x4e4a3(0x1c7)]||(_0x319555[_0x4e4a3(0x1fb)][_0x4e4a3(0x14c)]=0x0);return _0x3802c7;}[_0x16fab8(0x158)](_0x37fccb){const _0x25bfaa=_0x16fab8;return this[_0x25bfaa(0x13a)][_0x25bfaa(0x155)](_0x37fccb);}[_0x16fab8(0x13c)](_0x558169){const _0x576aaa=_0x16fab8;return _0x4f9302[_0x576aaa(0x15f)](_0x558169[_0x576aaa(0x14b)],_0x558169[_0x576aaa(0x1f0)],this[_0x576aaa(0x13b)],this[_0x576aaa(0x1d8)],this['_currentConfigService']);}*[_0x16fab8(0x1ce)](_0x1eceea,_0x2794af){const _0x3cf416=_0x16fab8,_0x4791a9=_0x1eceea,_0x18215f=new Set();for(;_0x4791a9[_0x3cf416(0x14c)]>0x0;){const _0x1149ae=_0x4791a9['pop']();if(_0x18215f[_0x3cf416(0x16e)](),_0x1149ae===void 0x0||_0x1149ae[_0x3cf416(0x1fc)]())continue;if(_0x1149ae[_0x3cf416(0x160)]()){yield _0x1149ae,_0x1149ae[_0x3cf416(0x19c)](),_0x2794af[_0x3cf416(0x1ec)](_0x1149ae[_0x3cf416(0x1ed)]);continue;}const _0x1e3876=this[_0x3cf416(0x1f5)]['searchDependency'](_0x1149ae[_0x3cf416(0x142)](),_0x2794af),_0xa5d9f=this[_0x3cf416(0x1d3)][_0x3cf416(0x1c8)](_0x1149ae[_0x3cf416(0x142)](),_0x2794af);for(const _0x3618e6 of _0xa5d9f)_0x1e3876[_0x3cf416(0x1ec)](_0x3618e6);for(const _0xaa3bc6 of _0x1e3876){const _0x364865=this[_0x3cf416(0x13a)][_0x3cf416(0x155)](_0xaa3bc6);if(!_0x364865)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x364865[_0x3cf416(0x160)]()||_0x1149ae[_0x3cf416(0x1fc)]()||_0x18215f[_0x3cf416(0x1ec)](_0x364865);}if(_0x1e3876[_0x3cf416(0x16e)](),_0x18215f[_0x3cf416(0x1a4)]===0x0)yield _0x1149ae,_0x1149ae['setSkip'](),_0x2794af['add'](_0x1149ae[_0x3cf416(0x1ed)]);else{_0x1149ae[_0x3cf416(0x190)](),_0x4791a9[_0x3cf416(0x1ba)](_0x1149ae);for(const _0x1abaae of _0x18215f)_0x4791a9[_0x3cf416(0x1ba)](_0x1abaae);}}_0x4791a9['length']=0x0,_0x18215f[_0x3cf416(0x16e)]();}[_0x16fab8(0x147)](_0x528639){const _0x192e6d=_0x16fab8,_0x4f4ce6=[],_0x4d27f9=new Set();for(const _0x236114 of this[_0x192e6d(0x1ce)](_0x528639,_0x4d27f9))_0x4f4ce6['push'](_0x236114);return _0x4f4ce6;}}class _0x17861d extends _0x4f9302[_0x16fab8(0x195)]{async[_0x16fab8(0x1dd)](_0x1a0c12=!0x1){const _0x4d3bb5=_0x16fab8;_0x1a0c12?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x1d1)]):this['_runtimeService']['setFormulaExecuteStage'](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x17f)]),this['_executionInProgressListener$'][_0x4d3bb5(0x1f4)](this[_0x4d3bb5(0x181)]['getRuntimeState']());const _0x331fcf=await this['_formulaDependencyGenerator'][_0x4d3bb5(0x1b8)](),_0x3fb6af=this['_interpreter'];_0x1a0c12?(this['_runtimeService']['setFormulaExecuteStage'](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x156)]),this['_runtimeService'][_0x4d3bb5(0x144)](_0x331fcf[_0x4d3bb5(0x14c)])):(this['_runtimeService'][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x1bf)]),this['_runtimeService'][_0x4d3bb5(0x1a1)](_0x331fcf[_0x4d3bb5(0x14c)])),this['_executionInProgressListener$'][_0x4d3bb5(0x1f4)](this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1bc)]());let _0x8ba52a=[];const _0x48ff1a=this['_configService'][_0x4d3bb5(0x146)](_0x4f9302[_0x4d3bb5(0x1c6)]),_0x1e72e6=(_0x48ff1a==null?void 0x0:_0x48ff1a[_0x4d3bb5(0x169)])||_0x4f9302[_0x4d3bb5(0x1f8)];let _0x77ba7d=0x0;const _0x5af489=_0x331fcf[_0x4d3bb5(0x14c)];for(;_0x331fcf[_0x4d3bb5(0x14c)]>0x0;){const _0x3cef18=_0x331fcf['pop'](),_0x2514cf={'node':_0x4f9302[_0x4d3bb5(0x15f)](_0x3cef18['unitId'],_0x3cef18['formula'],this[_0x4d3bb5(0x13b)],this[_0x4d3bb5(0x1d8)],this['_currentConfigService']),'refOffsetX':_0x3cef18[_0x4d3bb5(0x17a)],'refOffsetY':_0x3cef18[_0x4d3bb5(0x1f7)]},_0x272429=_0x3cef18[_0x4d3bb5(0x166)];if(_0x77ba7d%_0x1e72e6===0x0&&(await new Promise(_0x258618=>{const _0x19dd94=_0x4d3bb5,_0x1b8226=_0x5341c9[_0x19dd94(0x13d)](_0x258618);_0x8ba52a[_0x19dd94(0x1ba)](_0x1b8226);}),_0x1a0c12?(this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x1c5)]),this[_0x4d3bb5(0x181)]['setCompletedArrayFormulasCount'](_0x77ba7d+0x1)):(this[_0x4d3bb5(0x181)]['setFormulaExecuteStage'](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x1be)]),this['_runtimeService']['setCompletedFormulasCount'](_0x77ba7d+0x1)),this[_0x4d3bb5(0x19d)][_0x4d3bb5(0x1f4)](this['_runtimeService'][_0x4d3bb5(0x1bc)]()),this[_0x4d3bb5(0x181)][_0x4d3bb5(0x18a)]()||_0x2514cf==null&&_0x272429==null)){this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)]['IDLE']),this['_runtimeService'][_0x4d3bb5(0x164)](),this[_0x4d3bb5(0x162)]['next'](this[_0x4d3bb5(0x181)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4d3bb5(0x139)](_0x3cef18[_0x4d3bb5(0x173)],_0x3cef18[_0x4d3bb5(0x161)],_0x3cef18['rowCount'],_0x3cef18[_0x4d3bb5(0x1b6)],_0x3cef18[_0x4d3bb5(0x1bd)],_0x3cef18[_0x4d3bb5(0x14b)]);let _0x11183a;if(_0x272429!=null&&_0x3cef18[_0x4d3bb5(0x1ac)]!=null){const {runtimeCellData:_0x38892e,dirtyRanges:_0xaf6722}=_0x272429(this['_currentConfigService'][_0x4d3bb5(0x166)](),this['_runtimeService'][_0x4d3bb5(0x1f6)]());this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1e5)](_0x3cef18[_0x4d3bb5(0x1ac)],_0x38892e),this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1cf)](_0x3cef18[_0x4d3bb5(0x1ac)],_0xaf6722);}else _0x2514cf!=null&&(_0x3fb6af[_0x4d3bb5(0x1c1)](_0x2514cf['node'])?_0x11183a=await _0x3fb6af[_0x4d3bb5(0x1e7)](_0x2514cf):_0x11183a=_0x3fb6af[_0x4d3bb5(0x1a6)](_0x2514cf),_0x3cef18[_0x4d3bb5(0x1b9)]!=null?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1af)](_0x3cef18[_0x4d3bb5(0x1b9)],_0x3cef18[_0x4d3bb5(0x17a)],_0x3cef18['refOffsetY'],_0x11183a):this[_0x4d3bb5(0x181)][_0x4d3bb5(0x193)](_0x11183a));_0x77ba7d++;}return _0x8ba52a[_0x4d3bb5(0x185)](_0x2207b1=>_0x2207b1()),_0x8ba52a=[],_0x5af489>0x0?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1aa)]():_0x1a0c12||this[_0x4d3bb5(0x181)]['markedAsNoFunctionsExecuted'](),this['_runtimeService']['getAllRuntimeData']();}}class _0x4c6402 extends _0x4f9302['DependencyManagerBaseService']{constructor(){const _0x1a09c8=_0x16fab8;super(...arguments),_0x4bf2f8(this,_0x1a09c8(0x1b1),new Map()),_0x4bf2f8(this,_0x1a09c8(0x1ea),new _0x5341c9[(_0x1a09c8(0x1d7))](!0x0));}[_0x16fab8(0x1c3)](){const _0xf98c43=_0x16fab8;this[_0xf98c43(0x1b2)]['clear'](),this[_0xf98c43(0x1c9)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1cb)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1ea)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1b1)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1ca)](),this[_0xf98c43(0x1c0)]['clear']();}[_0x16fab8(0x17e)](_0x106e5f,_0x30670c,_0x79b4aa,_0xb1686d){const _0x51e620=_0x16fab8;this[_0x51e620(0x1b2)]['has'](_0x106e5f)||this[_0x51e620(0x1b2)][_0x51e620(0x1e9)](_0x106e5f,new Map());const _0xd0ee0a=this[_0x51e620(0x1b2)][_0x51e620(0x155)](_0x106e5f);_0xd0ee0a[_0x51e620(0x1b4)](_0x30670c)||_0xd0ee0a[_0x51e620(0x1e9)](_0x30670c,new Map());const _0x3caf6a=_0xd0ee0a[_0x51e620(0x155)](_0x30670c);_0x3caf6a['has'](_0x79b4aa)||_0x3caf6a[_0x51e620(0x1e9)](_0x79b4aa,new _0x5341c9[(_0x51e620(0x1df))]()),_0x3caf6a[_0x51e620(0x155)](_0x79b4aa)['setValue'](_0xb1686d[_0x51e620(0x17a)],_0xb1686d[_0x51e620(0x1f7)],_0xb1686d[_0x51e620(0x1ed)]);}['removeOtherFormulaDependency'](_0x27ae18,_0x52eda9,_0x56461d){const _0x7d23e0=_0x16fab8,_0x1fb603=this[_0x7d23e0(0x1b2)][_0x7d23e0(0x155)](_0x27ae18);if(_0x1fb603&&_0x1fb603[_0x7d23e0(0x1b4)](_0x52eda9)){const _0x2cd231=_0x1fb603[_0x7d23e0(0x155)](_0x52eda9);_0x56461d[_0x7d23e0(0x185)](_0x52e3b9=>{const _0x18e939=_0x7d23e0,_0x55bea7=_0x2cd231[_0x18e939(0x155)](_0x52e3b9);_0x55bea7!=null&&(_0x55bea7[_0x18e939(0x165)]((_0x39758f,_0x41f8b5,_0x2c3c93)=>{const _0x2a041d=_0x18e939;this[_0x2a041d(0x1d4)](_0x2c3c93),this[_0x2a041d(0x1c2)](_0x2c3c93);}),_0x2cd231[_0x18e939(0x19b)](_0x52e3b9),this[_0x18e939(0x1c0)]['delete'](_0x52e3b9));}),_0x2cd231[_0x7d23e0(0x1a4)]===0x0&&_0x1fb603['delete'](_0x52eda9),_0x1fb603[_0x7d23e0(0x1a4)]===0x0&&this['_otherFormulaData'][_0x7d23e0(0x19b)](_0x27ae18);}}[_0x16fab8(0x15a)](_0x1b63a2,_0x36796f){const _0x3965b9=_0x16fab8,_0x189f4b=this[_0x3965b9(0x1b2)][_0x3965b9(0x155)](_0x1b63a2);if(_0x36796f&&_0x189f4b&&_0x189f4b[_0x3965b9(0x1b4)](_0x36796f)){const _0x3fbd12=_0x189f4b[_0x3965b9(0x155)](_0x36796f);this['_removeDependencyRTreeCacheById'](_0x1b63a2,_0x36796f);for(const _0xc9d388 of _0x3fbd12[_0x3965b9(0x191)]()){const _0x40849d=_0x3fbd12[_0x3965b9(0x155)](_0xc9d388);_0x40849d!=null&&(_0x40849d['forValue']((_0x46e0f7,_0x52e303,_0x39bb70)=>{const _0x4b869a=_0x3965b9;this[_0x4b869a(0x1b1)][_0x4b869a(0x155)](_0x39bb70)&&this['_removeAllTreeMap'](_0x39bb70);}),this[_0x3965b9(0x1c0)][_0x3965b9(0x19b)](_0xc9d388));}_0x3fbd12[_0x3965b9(0x16e)]();}else{if(_0x189f4b){for(const _0x278e0a of _0x189f4b[_0x3965b9(0x191)]()){const _0x4593c2=_0x189f4b[_0x3965b9(0x155)](_0x278e0a);this[_0x3965b9(0x171)](_0x1b63a2,_0x278e0a);for(const _0x46380e of _0x4593c2[_0x3965b9(0x191)]()){const _0x4d33fc=_0x4593c2['get'](_0x46380e);_0x4d33fc!=null&&(_0x4d33fc[_0x3965b9(0x165)]((_0x1fdfd8,_0x570748,_0x3648f5)=>{const _0x50e08f=_0x3965b9;this[_0x50e08f(0x1b1)][_0x50e08f(0x155)](_0x3648f5)&&this[_0x50e08f(0x1c2)](_0x3648f5);}),this['_otherFormulaDataMainData'][_0x3965b9(0x19b)](_0x46380e));}}this[_0x3965b9(0x1b2)]['delete'](_0x1b63a2);}}}['addFeatureFormulaDependency'](_0x23e840,_0x3bdc4c,_0x1a7304,_0x4d69ad){const _0x447957=_0x16fab8;this[_0x447957(0x1c9)]['has'](_0x23e840)||this[_0x447957(0x1c9)]['set'](_0x23e840,new Map());const _0x2b1cd0=this[_0x447957(0x1c9)][_0x447957(0x155)](_0x23e840);_0x2b1cd0[_0x447957(0x1b4)](_0x3bdc4c)||_0x2b1cd0[_0x447957(0x1e9)](_0x3bdc4c,new Map()),_0x2b1cd0[_0x447957(0x155)](_0x3bdc4c)[_0x447957(0x1e9)](_0x1a7304,_0x4d69ad[_0x447957(0x1ed)]);}[_0x16fab8(0x1d9)](_0xe066f9,_0x15055b,_0x549a3b){const _0x495bac=_0x16fab8,_0x5dbae4=this[_0x495bac(0x1c9)]['get'](_0xe066f9);if(_0x5dbae4&&_0x5dbae4[_0x495bac(0x1b4)](_0x15055b)){const _0x244898=_0x5dbae4[_0x495bac(0x155)](_0x15055b);_0x549a3b[_0x495bac(0x185)](_0x4ad412=>{const _0x5505a3=_0x495bac,_0x3ae8d3=_0x244898[_0x5505a3(0x155)](_0x4ad412);_0x3ae8d3!=null&&(this[_0x5505a3(0x1d4)](_0x3ae8d3),_0x244898[_0x5505a3(0x19b)](_0x4ad412),this[_0x5505a3(0x1c2)](_0x3ae8d3));});}}[_0x16fab8(0x180)](_0x22bc9a,_0x4e6f28){const _0x316175=_0x16fab8,_0x35bea1=this['_featureFormulaData'][_0x316175(0x155)](_0x22bc9a);if(_0x4e6f28&&_0x35bea1&&_0x35bea1[_0x316175(0x1b4)](_0x4e6f28)){const _0xef7339=_0x35bea1[_0x316175(0x155)](_0x4e6f28);this[_0x316175(0x171)](_0x22bc9a,_0x4e6f28),_0xef7339[_0x316175(0x185)](_0x349797=>{const _0x587245=_0x316175;_0x349797!=null&&this[_0x587245(0x1c2)](_0x349797);}),_0xef7339['clear']();}else _0x35bea1&&(_0x35bea1['forEach']((_0x5f32df,_0x144cb8)=>{const _0x516283=_0x316175;this[_0x516283(0x171)](_0x22bc9a,_0x144cb8),_0x5f32df[_0x516283(0x185)](_0x50d831=>{const _0x462dbe=_0x516283;_0x50d831!=null&&this[_0x462dbe(0x1c2)](_0x50d831);});}),this[_0x316175(0x1c9)][_0x316175(0x19b)](_0x22bc9a));}[_0x16fab8(0x150)](_0x33f623,_0x1c64ff,_0x895d97,_0x1456fd,_0x1df22a){const _0x9a3043=_0x16fab8;this[_0x9a3043(0x1cb)][_0x9a3043(0x1b4)](_0x33f623)||this[_0x9a3043(0x1cb)][_0x9a3043(0x1e9)](_0x33f623,new Map());const _0x24bc22=this[_0x9a3043(0x1cb)][_0x9a3043(0x155)](_0x33f623);_0x24bc22[_0x9a3043(0x1b4)](_0x1c64ff)||_0x24bc22['set'](_0x1c64ff,new _0x5341c9[(_0x9a3043(0x1df))]()),_0x24bc22[_0x9a3043(0x155)](_0x1c64ff)[_0x9a3043(0x1cc)](_0x895d97,_0x1456fd,_0x1df22a[_0x9a3043(0x1ed)]);}['removeFormulaDependency'](_0x1d0520,_0x14a326,_0x188dd2,_0x2969d1){const _0x26e2c1=_0x16fab8,_0x42e220=this['_formulaData'][_0x26e2c1(0x155)](_0x1d0520);if(_0x42e220&&_0x42e220[_0x26e2c1(0x1b4)](_0x14a326)){const _0x364e73=_0x42e220['get'](_0x14a326),_0x2cc7ab=_0x364e73['getValue'](_0x188dd2,_0x2969d1);if(_0x2cc7ab==null)return;this[_0x26e2c1(0x1d4)](_0x2cc7ab),_0x364e73[_0x26e2c1(0x1e1)](_0x188dd2,_0x2969d1),this[_0x26e2c1(0x1c2)](_0x2cc7ab);}}['clearFormulaDependency'](_0x32abf6,_0x37e553){const _0x41de24=_0x16fab8,_0xdbc624=this[_0x41de24(0x1cb)][_0x41de24(0x155)](_0x32abf6);if(_0x37e553&&_0xdbc624&&_0xdbc624[_0x41de24(0x1b4)](_0x37e553)){const _0x18977e=_0xdbc624[_0x41de24(0x155)](_0x37e553);this[_0x41de24(0x171)](_0x32abf6,_0x37e553),_0x18977e['forValue']((_0x167276,_0x51ba87,_0x39ddb)=>{const _0x7e70c8=_0x41de24;if(_0x39ddb==null)return!0x0;this[_0x7e70c8(0x1c2)](_0x39ddb);}),_0x18977e['reset']();}else _0xdbc624&&(_0xdbc624[_0x41de24(0x185)]((_0x4b740b,_0x472ad2)=>{const _0x2d5152=_0x41de24;this[_0x2d5152(0x171)](_0x32abf6,_0x472ad2),_0x4b740b[_0x2d5152(0x165)]((_0x24e08a,_0x18b529,_0x462f68)=>{const _0x5c8367=_0x2d5152;if(_0x462f68==null)return!0x0;this[_0x5c8367(0x1c2)](_0x462f68);});}),this[_0x41de24(0x1cb)]['delete'](_0x32abf6));}[_0x16fab8(0x1d4)](_0x34de4c){const _0x13fe34=_0x16fab8;if(_0x34de4c==null)return;const _0x3aeee6=this[_0x13fe34(0x1b1)]['get'](_0x34de4c);if(_0x3aeee6){const _0x4538ee=[];for(const [_0x74ea4d,_0xf69447]of _0x3aeee6)for(const [_0x3694b7,_0xe4f9e3]of _0xf69447)_0x4538ee[_0x13fe34(0x1ba)]({'unitId':_0x74ea4d,'sheetId':_0x3694b7,'range':_0xe4f9e3,'id':_0x34de4c});this[_0x13fe34(0x1ea)]['bulkRemove'](_0x4538ee);}}[_0x16fab8(0x17c)](_0x587626,_0x26e7b4){const _0x3faa60=_0x16fab8,_0xf2d82b=this['_definedNameMap'][_0x3faa60(0x155)](_0x587626);if(_0xf2d82b){const _0x33c492=_0xf2d82b[_0x3faa60(0x155)](_0x26e7b4);if(_0x33c492){for(const _0x2ae854 of _0x33c492)this[_0x3faa60(0x1d4)](_0x2ae854),this['_removeAllTreeMap'](_0x2ae854);_0x33c492['clear']();}}}[_0x16fab8(0x1f9)](){const _0x233cd6=_0x16fab8;this[_0x233cd6(0x1ea)][_0x233cd6(0x1f9)]();}[_0x16fab8(0x1d5)](){const _0x1c094a=_0x16fab8;this[_0x1c094a(0x1ea)][_0x1c094a(0x1d5)]();}['_removeAllTreeMap'](_0x52e698){const _0x58c079=_0x16fab8;_0x52e698!=null&&this[_0x58c079(0x1b1)][_0x58c079(0x19b)](_0x52e698);}[_0x16fab8(0x1ad)](_0x402cf6){const _0x1dc310=_0x16fab8;var _0x2a237e,_0x36511e;const _0x244f5e=_0x402cf6[_0x1dc310(0x1fb)];let _0x4c7ce8=this[_0x1dc310(0x1b1)][_0x1dc310(0x155)](_0x402cf6['treeId']);for(let _0x20cc33=0x0;_0x20cc33<_0x244f5e[_0x1dc310(0x14c)];_0x20cc33++){const _0x50d2b9=_0x244f5e[_0x20cc33];let {unitId:_0xe195a7,sheetId:_0x30156b,range:_0x3a4812}=_0x50d2b9;_0x4c7ce8||(_0x4c7ce8=new Map(),this['_allTreeMap']['set'](_0x402cf6['treeId'],_0x4c7ce8)),_0x4c7ce8[_0x1dc310(0x1b4)](_0xe195a7)||_0x4c7ce8['set'](_0xe195a7,new Map());const _0x47ba5d=(_0x2a237e=_0x4c7ce8==null?void 0x0:_0x4c7ce8[_0x1dc310(0x155)](_0xe195a7))==null?void 0x0:_0x2a237e[_0x1dc310(0x155)](_0x30156b);_0x47ba5d&&(_0x3a4812={'startRow':Math[_0x1dc310(0x1f3)](_0x3a4812[_0x1dc310(0x1e4)],_0x47ba5d[_0x1dc310(0x1e4)]),'startColumn':Math['min'](_0x3a4812['startColumn'],_0x47ba5d[_0x1dc310(0x175)]),'endRow':Math[_0x1dc310(0x167)](_0x3a4812['endRow'],_0x47ba5d[_0x1dc310(0x163)]),'endColumn':Math[_0x1dc310(0x167)](_0x3a4812['endColumn'],_0x47ba5d[_0x1dc310(0x152)])}),(_0x36511e=_0x4c7ce8[_0x1dc310(0x155)](_0xe195a7))==null||_0x36511e[_0x1dc310(0x1e9)](_0x30156b,_0x3a4812);}}}var _0x35f809=Object[_0x16fab8(0x196)],_0x34f8b1=(_0x37dd9d,_0x2515df,_0x2b864f,_0x31e24f)=>{for(var _0x460038=_0x31e24f>0x1?void 0x0:_0x31e24f?_0x35f809(_0x2515df,_0x2b864f):_0x2515df,_0x153303=_0x37dd9d['length']-0x1,_0x732909;_0x153303>=0x0;_0x153303--)(_0x732909=_0x37dd9d[_0x153303])&&(_0x460038=_0x732909(_0x460038)||_0x460038);return _0x460038;};const _0x5a19d5=Number[_0x16fab8(0x14f)](0x690eeeff);_0x12006a[_0x16fab8(0x159)]=class extends _0x4f9302[_0x16fab8(0x17b)]{[_0x16fab8(0x1eb)](){const _0x5f2c3a=_0x16fab8;var _0xac5409,_0xe4574c;this[_0x5f2c3a(0x184)]()?(_0xac5409=this[_0x5f2c3a(0x1e0)])!=null&&_0xac5409[_0x5f2c3a(0x1a8)]||[[_0x4f9302[_0x5f2c3a(0x1fa)],{'useClass':_0x17861d}],[_0x4f9302[_0x5f2c3a(0x194)],{'useClass':_0x4c6402}],[_0x4f9302[_0x5f2c3a(0x168)],{'useClass':_0x3b0565}]][_0x5f2c3a(0x185)](_0x4da5f4=>this[_0x5f2c3a(0x19f)][_0x5f2c3a(0x1ec)](_0x4da5f4)):(_0xe4574c=this[_0x5f2c3a(0x1e0)])!=null&&_0xe4574c[_0x5f2c3a(0x1a8)]||[[_0x4f9302[_0x5f2c3a(0x1fa)],{'useClass':_0x4f9302[_0x5f2c3a(0x195)]}],[_0x4f9302[_0x5f2c3a(0x194)],{'useClass':_0x4f9302[_0x5f2c3a(0x14e)]}],[_0x4f9302[_0x5f2c3a(0x168)],{'useClass':_0x4f9302[_0x5f2c3a(0x178)]}]][_0x5f2c3a(0x185)](_0x4e1c1d=>this[_0x5f2c3a(0x19f)][_0x5f2c3a(0x1ec)](_0x4e1c1d));}[_0x16fab8(0x184)](){const _0x441eaa=_0x16fab8;var _0x1c139e;const _0x291fc7=(_0x1c139e=this[_0x441eaa(0x182)][_0x441eaa(0x146)](_0x197612[_0x441eaa(0x16c)]))!=null?_0x1c139e:{},{ls:_0x2f14e5,pbk:_0x49a2bc}=_0x291fc7;if(!_0x2f14e5||!_0x49a2bc)return!0x1;const _0x541046=_0x197612['unshiftString'](_0x149966,_0x2d121f),_0x437324=new Function(_0x441eaa(0x18b)+_0x541046)()(_0x2f14e5,_0x49a2bc),_0x1689c0=_0x437324['message'];return _0x437324[_0x441eaa(0x1b5)]&&_0x197612[_0x441eaa(0x16b)](_0x1689c0,'sf',_0x5a19d5)?_0x197612[_0x441eaa(0x1b0)](_0x1689c0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x12006a[_0x16fab8(0x159)]=_0x34f8b1([_0x5341c9[_0x16fab8(0x1d6)](_0x197612[_0x16fab8(0x1a9)])],_0x12006a[_0x16fab8(0x159)]),Object[_0x16fab8(0x191)](_0x4f9302)[_0x16fab8(0x185)](_0x4819f0=>{const _0x126473=_0x16fab8;_0x4819f0!==_0x126473(0x1fd)&&!Object[_0x126473(0x1a3)][_0x126473(0x19a)][_0x126473(0x149)](_0x12006a,_0x4819f0)&&Object[_0x126473(0x140)](_0x12006a,_0x4819f0,{'enumerable':!0x0,'get':()=>_0x4f9302[_0x4819f0]});}),Object[_0x16fab8(0x140)](_0x12006a,Symbol['toStringTag'],{'value':_0x16fab8(0x176)});}));function _0x424e(_0x1601b4,_0x8f5a03){const _0x57c367=_0x57c3();return _0x424e=function(_0x424ebd,_0x2e0619){_0x424ebd=_0x424ebd-0x138;let _0x3e6ee8=_0x57c367[_0x424ebd];return _0x3e6ee8;},_0x424e(_0x1601b4,_0x8f5a03);}function _0x57c3(){const _0xfb1275=['UniverLicensePlugin','markedAsSuccessfullyExecuted','8eFPwuK','featureId','_addAllTreeMap','_registerOtherFormulas','setRuntimeOtherData','getSheetFeatureLimit','_allTreeMap','_otherFormulaData','dispose','has','valid','columnCount','876335rNjRBp','generate','formulaId','push','isDirty','getRuntimeState','subUnitId','CURRENTLY_CALCULATING','START_CALCULATION','_otherFormulaDataMainData','checkAsyncNode','_removeAllTreeMap','reset','isCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','isVirtual','bulkSearch','_featureFormulaData','_restDependencyTreeId','_formulaData','setValue','_getFirstCellOfRange','_traverse','setRuntimeFeatureRange','symbol','START_DEPENDENCY_ARRAY_FORMULA','302868BlcmOR','_dependencyRTreeCacheForAddressFunction','_removeDependencyRTreeCache','closeKdTree','DependentOn','RTree','_astTreeBuilder','removeFeatureFormulaDependency','enableCycleDependency','UniverCore','_createVirtualFDtree','_apply','type','ObjectMatrix','_config','realDeleteValue','UniverEngineFormula','_isCyclicUtilMap','startRow','setRuntimeFeatureCellData','refTree','executeAsync','getValue','set','_dependencyRTreeCache','_initializeWithOverride','add','treeId','2753075xyxxXK','addFeatureFormulaDependency','formula','addOtherFormulaDependencyMainData','setFormulaExecuteStage','min','next','_dependencyManagerService','getAllRuntimeData','refOffsetY','DEFAULT_INTERVAL_COUNT','openKdTree','ICalculateFormulaService','rangeList','isSkip','default','isExcludeRange','@univerjs/core','setCurrent','_dependencyTreeCache','_lexer','_getTreeNode','requestImmediateMacroTask','exports','getFormulaData','defineProperty','2435634JpXRRi','toRTreeItem','amd','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','getConfig','_calculateRunList','4qkfazl','call','pop','unitId','length','generateRandomDependencyTreeId','DependencyManagerService','parseInt','addFormulaDependency','searchDependency','endColumn','getOtherFormulaData','featureDirtyRanges','get','START_CALCULATION_ARRAY_FORMULA','getClearDependencyTreeCache','_getTreeById','UniverProFormulaEnginePlugin','clearOtherFormulaDependency','@univerjs/engine-formula','getOtherFormulaDependency','getFormulaDependency','rowCount','generateAstNode','isAdded','column','_executionCompleteListener$','endRow','markedAsStopFunctionsExecuted','forValue','getDirtyData','max','IFormulaDependencyGenerator','intervalCount','FEATURE_FORMULA','isFeatureAuthorizedWithinTime','LS_CONFIG_KEY','FormulaDependencyTreeType','clear','dirtyRanges','_createFDtree','_removeDependencyRTreeCacheById','4323610CKpRtM','row','3378wWgTvR','startColumn','Module','function','FormulaDependencyGenerator','hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','refOffsetX','UniverFormulaEnginePlugin','removeFormulaDependencyByDefinedName','1442278UnWiyt','addOtherFormulaDependency','START_DEPENDENCY','clearFeatureFormulaDependency','_runtimeService','_configService','_currentConfigService','_initLicenseValid','forEach','isForceCalculate','_otherFormulaManagerService','FormulaDependencyTree','6573CgGzZw','isStopExecution','return\x20','@univerjs-pro/license','FormulaExecuteStageType','getDirtyRanges','getUnitData','setAdded','keys','getDirtyNameMap','setRuntimeData','IDependencyManagerService','CalculateFormulaService','getOwnPropertyDescriptor','object','_getUpdateTreeListAndMakeDependency','UniverProLicense','hasOwnProperty','delete','setSkip','_executionInProgressListener$','addFormulaDependencyByDefinedName','_injector','getFeatureFormulaDependency','setTotalFormulasToCalculate','getExcludedRange','prototype','size','OTHER_FORMULA','execute','hasOtherFormulaDataMainData','notExecuteFormula'];_0x57c3=function(){return _0xfb1275;};return _0x57c3();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.10.14-nightly.202511070640",
3
+ "version": "0.10.14-nightly.202511080715",
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.14-nightly.202511070640",
61
- "@univerjs/core": "0.10.14-nightly.202511070640",
62
- "@univerjs/engine-formula": "0.10.14-nightly.202511070640"
60
+ "@univerjs/engine-formula": "0.10.14-nightly.202511080715",
61
+ "@univerjs-pro/license": "0.10.14-nightly.202511080715",
62
+ "@univerjs/core": "0.10.14-nightly.202511080715"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",