@univerjs-pro/engine-formula 0.12.1-nightly.202511221011 → 0.12.2-nightly.202511241159
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +39 -39
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +5 -5
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';const _0x2bc6f=_0x4758;function _0x329f(){const _0x35d6ee=['9922168yzCTdD','4626094MToUDQ','default','318206ajgicM','forEach','defineProperty','call','13123fuTPiv','2869690xDMoDQ','21bABXYl','688804SAwRzL','40116xrCqtO','Module','50ONWQRp','9VEHVxh','prototype','1239clRhVe'];_0x329f=function(){return _0x35d6ee;};return _0x329f();}(function(_0x35284b,_0x1c0761){const _0x2d9db0=_0x4758,_0x2d94ae=_0x35284b();while(!![]){try{const _0x2d7663=-parseInt(_0x2d9db0(0x13e))/0x1+-parseInt(_0x2d9db0(0x13a))/0x2*(parseInt(_0x2d9db0(0x140))/0x3)+parseInt(_0x2d9db0(0x141))/0x4+-parseInt(_0x2d9db0(0x13f))/0x5+parseInt(_0x2d9db0(0x142))/0x6*(-parseInt(_0x2d9db0(0x136))/0x7)+parseInt(_0x2d9db0(0x137))/0x8*(parseInt(_0x2d9db0(0x145))/0x9)+parseInt(_0x2d9db0(0x144))/0xa*(parseInt(_0x2d9db0(0x138))/0xb);if(_0x2d7663===_0x1c0761)break;else _0x2d94ae['push'](_0x2d94ae['shift']());}catch(_0x5dbb58){_0x2d94ae['push'](_0x2d94ae['shift']());}}}(_0x329f,0x9a0fe));function _0x4758(_0xf366c,_0x4af6e6){const _0x329f36=_0x329f();return _0x4758=function(_0x4758ba,_0x405b3e){_0x4758ba=_0x4758ba-0x135;let _0x55619d=_0x329f36[_0x4758ba];return _0x55619d;},_0x4758(_0xf366c,_0x4af6e6);}Object[_0x2bc6f(0x13c)](exports,Symbol['toStringTag'],{'value':_0x2bc6f(0x143)});const t=require('@univerjs/engine-formula/facade');Object['keys'](t)[_0x2bc6f(0x13b)](_0x8cf4e2=>{const _0x263bbb=_0x2bc6f;_0x8cf4e2!==_0x263bbb(0x139)&&!Object[_0x263bbb(0x135)]['hasOwnProperty'][_0x263bbb(0x13d)](exports,_0x8cf4e2)&&Object[_0x263bbb(0x13c)](exports,_0x8cf4e2,{'enumerable':!0x0,'get':()=>t[_0x8cf4e2]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x209261=_0x39c0;(function(_0x409ef9,_0x22688f){const _0x127454=_0x39c0,_0x32d045=_0x409ef9();while(!![]){try{const _0x230dab=parseInt(_0x127454(0x159))/0x1*(-parseInt(_0x127454(0x1ae))/0x2)+-parseInt(_0x127454(0x1d3))/0x3+parseInt(_0x127454(0x212))/0x4*(parseInt(_0x127454(0x1c5))/0x5)+parseInt(_0x127454(0x1cc))/0x6*(parseInt(_0x127454(0x1dc))/0x7)+-parseInt(_0x127454(0x165))/0x8*(parseInt(_0x127454(0x200))/0x9)+-parseInt(_0x127454(0x195))/0xa+parseInt(_0x127454(0x204))/0xb;if(_0x230dab===_0x22688f)break;else _0x32d045['push'](_0x32d045['shift']());}catch(_0x3a788c){_0x32d045['push'](_0x32d045['shift']());}}}(_0x4b2d,0xc6ec7));var I=Object[_0x209261(0x1fb)],X=(_0x148f84,_0x2f7c57,_0x798e9d)=>_0x2f7c57 in _0x148f84?I(_0x148f84,_0x2f7c57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x798e9d}):_0x148f84[_0x2f7c57]=_0x798e9d,P=(_0x15b6ee,_0x4bc5d1,_0x4e969a)=>X(_0x15b6ee,typeof _0x4bc5d1!=_0x209261(0x1e8)?_0x4bc5d1+'':_0x4bc5d1,_0x4e969a);Object[_0x209261(0x1fb)](exports,Symbol[_0x209261(0x1ef)],{'value':_0x209261(0x181)});const U=require('@univerjs-pro/license'),v=require('@univerjs/core'),i=require('@univerjs/engine-formula'),J={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},V=_0x209261(0x17f);class B extends i[_0x209261(0x1eb)]{constructor(){super(...arguments),P(this,'_dependencyTreeCache',new Map());}[_0x209261(0x17e)](){const _0x2f999e=_0x209261;super[_0x2f999e(0x17e)](),this['_dependencyTreeCache'][_0x2f999e(0x1ec)]();}async[_0x209261(0x197)](){const _0xc57900=_0x209261;this[_0xc57900(0x16d)]();const _0x243141=this[_0xc57900(0x1da)][_0xc57900(0x21e)](),_0x1f570f=this[_0xc57900(0x160)][_0xc57900(0x16e)](),_0xc88171=this[_0xc57900(0x1da)]['getClearDependencyTreeCache']();_0xc88171!=null&&Object[_0xc57900(0x176)](_0xc88171)[_0xc57900(0x1e9)](_0x443139=>{const _0x16ab72=_0xc57900;_0x443139!=null&&Object[_0x16ab72(0x176)](_0xc88171[_0x443139])[_0x16ab72(0x1e9)](_0x4bbefc=>{const _0x19cb49=_0x16ab72;_0x4bbefc!=null&&(this[_0x19cb49(0x19f)]['clearOtherFormulaDependency'](_0x443139,_0x4bbefc),this[_0x19cb49(0x19f)][_0x19cb49(0x1db)](_0x443139,_0x4bbefc),this[_0x19cb49(0x19f)]['clearFormulaDependency'](_0x443139,_0x4bbefc));});});const _0x519dc7=this['_currentConfigService']['getUnitData']();await this[_0xc57900(0x221)](_0x243141,_0x1f570f,_0x519dc7),this['_dependencyManagerService']['openKdTree']();const _0x21d546=this[_0xc57900(0x1f8)](),_0xe36af1=this['_calculateRunList'](_0x21d546);return this[_0xc57900(0x1bb)](_0xe36af1)&&this[_0xc57900(0x182)]['enableCycleDependency'](),this[_0xc57900(0x1e2)][_0xc57900(0x1ec)](),this[_0xc57900(0x1f7)][_0xc57900(0x1ec)](),this[_0xc57900(0x19f)][_0xc57900(0x18c)](),this['_runtimeService'][_0xc57900(0x1b5)](),Promise['resolve'](_0xe36af1);}[_0x209261(0x211)](_0x42c5fe,_0xce7efb){const _0x1b015f=_0x209261,_0x158fe7=[_0x42c5fe];for(;_0x158fe7['length']>0x0;){const _0x8d84fe=_0x158fe7[_0x158fe7[_0x1b015f(0x1b8)]-0x1];if((_0xce7efb[_0x1b015f(0x20b)](_0x8d84fe)||0x0)===0x0){_0xce7efb[_0x1b015f(0x1a8)](_0x8d84fe,0x1);const _0x43b75b=this[_0x1b015f(0x1e2)][_0x1b015f(0x20b)](_0x8d84fe);if(_0x43b75b==null){_0xce7efb['set'](_0x8d84fe,0x2),_0x158fe7[_0x1b015f(0x1df)]();continue;}const _0x2e7c7a=this[_0x1b015f(0x19f)][_0x1b015f(0x229)](_0x43b75b['toRTreeItem']());for(const _0x5c4eb2 of _0x2e7c7a){const _0x4cca0d=_0xce7efb[_0x1b015f(0x20b)](_0x5c4eb2)||0x0;if(_0x4cca0d===0x1)return!0x0;_0x4cca0d===0x0&&_0x158fe7[_0x1b015f(0x18d)](_0x5c4eb2);}}else _0xce7efb[_0x1b015f(0x1a8)](_0x8d84fe,0x2),_0x158fe7[_0x1b015f(0x1df)]();}return!0x1;}[_0x209261(0x1bb)](_0x316c69){const _0x108c43=_0x209261,_0x350bc2=new Map();for(const _0x2c63f7 of _0x316c69)if(!_0x350bc2[_0x108c43(0x1a9)](_0x2c63f7['treeId'])&&this[_0x108c43(0x211)](_0x2c63f7[_0x108c43(0x1b2)],_0x350bc2))return!0x0;return _0x350bc2['clear'](),!0x1;}[_0x209261(0x227)](_0x45bd84,_0x316676,_0x5208f4){const _0x171246=_0x209261,{unitId:_0x5efe92,subUnitId:_0x2f11b7,dependencyRanges:_0x4e2ca5,getDirtyData:_0x4c1077}=_0x5208f4,_0x1a8913=_0x316676||i[_0x171246(0x1c9)](this[_0x171246(0x19f)]),_0x34f318=new i[(_0x171246(0x199))](_0x1a8913);_0x34f318['unitId']=_0x5efe92,_0x34f318[_0x171246(0x19a)]=_0x2f11b7,_0x34f318[_0x171246(0x16f)]=_0x4e2ca5,_0x34f318[_0x171246(0x1a5)]=_0x4c1077;const _0x2d0008=_0x4c1077(this[_0x171246(0x1da)]['getDirtyData'](),this[_0x171246(0x182)]['getAllRuntimeData']()),_0x25ea91=this[_0x171246(0x1b0)](_0x2d0008['dirtyRanges']);return _0x34f318[_0x171246(0x1de)]=_0x25ea91,_0x34f318[_0x171246(0x217)]=_0x45bd84,_0x34f318[_0x171246(0x187)]=i[_0x171246(0x1d7)]['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x171246(0x1aa)](_0x5efe92,_0x2f11b7,_0x45bd84,_0x34f318),this[_0x171246(0x1e2)][_0x171246(0x1a8)](_0x34f318[_0x171246(0x1b2)],_0x34f318),this[_0x171246(0x19f)][_0x171246(0x190)](_0x5208f4['unitId'],_0x5208f4['subUnitId'],_0x45bd84)&&(_0x34f318[_0x171246(0x1a6)]=!0x0),_0x34f318;}['_registerOtherFormulas'](_0x21e70b,_0x5f2ae5,_0x1356f4){const _0x218115=_0x209261;var _0x442645;for(const _0x2752f6 of _0x5f2ae5){const _0x378b87=_0x21e70b[_0x2752f6];if(_0x378b87==null)continue;const _0x2764bb=Object[_0x218115(0x176)](_0x378b87);for(const _0x3234c5 of _0x2764bb){const _0x2f1db0=_0x378b87[_0x3234c5];if(_0x2f1db0==null)continue;const _0x380acd=Object[_0x218115(0x176)](_0x2f1db0);for(const _0x31ebec of _0x380acd){const _0x344e39=this['_dependencyManagerService'][_0x218115(0x178)](_0x31ebec),_0x43611=_0x2f1db0[_0x31ebec],{f:_0x279183,ranges:_0x4f394b}=_0x43611;let _0x170f37=!0x1;_0x344e39&&(_0x170f37=!0x0);const {firstRow:_0x2ae3ed,firstColumn:_0x4a148e}=this[_0x218115(0x1a0)](_0x4f394b),_0x44c21d=this[_0x218115(0x19f)][_0x218115(0x1a2)](_0x2752f6,_0x3234c5,_0x31ebec),_0x1b8506=(_0x442645=_0x44c21d==null?void 0x0:_0x44c21d[_0x218115(0x228)](0x0,0x0))!=null?_0x442645:i['generateRandomDependencyTreeId'](this[_0x218115(0x19f)]),_0x16964c=new i[(_0x218115(0x199))](_0x1b8506);for(let _0x55fd35=0x0;_0x55fd35<_0x4f394b['length'];_0x55fd35++){const _0xa2e8b3=_0x4f394b[_0x55fd35],{startRow:_0x2585e4,startColumn:_0x4f215a,endRow:_0x2afc02,endColumn:_0x24b72e}=_0xa2e8b3;for(let _0x1da770=_0x2585e4;_0x1da770<=_0x2afc02;_0x1da770++)for(let _0x54480e=_0x4f215a;_0x54480e<=_0x24b72e;_0x54480e++){const _0x29e486=_0x54480e-_0x4a148e,_0xb2950a=_0x1da770-_0x2ae3ed;if(_0x29e486===0x0&&_0xb2950a===0x0){_0x16964c[_0x218115(0x201)]=_0x279183,_0x16964c['unitId']=_0x2752f6,_0x16964c[_0x218115(0x19a)]=_0x3234c5,_0x16964c[_0x218115(0x207)]=_0x31ebec,_0x16964c['type']=i[_0x218115(0x1d7)][_0x218115(0x16b)],_0x16964c[_0x218115(0x1a6)]=_0x170f37,_0x1356f4[_0x218115(0x18d)](_0x16964c),this[_0x218115(0x1e2)]['set'](_0x16964c[_0x218115(0x1b2)],_0x16964c),this[_0x218115(0x19f)][_0x218115(0x194)](_0x2752f6,_0x3234c5,_0x31ebec,_0x16964c),this[_0x218115(0x19f)][_0x218115(0x1c8)](_0x16964c);continue;}const _0x947ed5=new i['FormulaDependencyTreeVirtual']();_0x947ed5[_0x218115(0x1b2)]=(_0x44c21d==null?void 0x0:_0x44c21d['getValue'](_0x29e486,_0xb2950a))||i['generateRandomDependencyTreeId'](this[_0x218115(0x19f)]),_0x947ed5[_0x218115(0x223)]=_0x16964c,_0x947ed5[_0x218115(0x1be)]=_0x29e486,_0x947ed5['refOffsetY']=_0xb2950a,_0x947ed5[_0x218115(0x1a6)]=_0x170f37,this[_0x218115(0x19f)]['addOtherFormulaDependency'](_0x2752f6,_0x3234c5,_0x31ebec,_0x947ed5),this[_0x218115(0x19f)][_0x218115(0x1c8)](_0x947ed5),_0x1356f4['push'](_0x947ed5),this[_0x218115(0x1e2)]['set'](_0x947ed5[_0x218115(0x1b2)],_0x947ed5);}}this[_0x218115(0x19f)][_0x218115(0x18e)](_0x31ebec);}}}}[_0x209261(0x184)](_0xae7b74,_0x44e76a,_0x3d643c,_0x4ef67b){const _0x5c6e53=_0x209261;for(const _0x1d589e of _0xae7b74){const _0x2c3460=_0x44e76a[_0x1d589e];if(_0x2c3460==null)continue;const _0x3dad10=Object[_0x5c6e53(0x176)](_0x2c3460);for(const _0x31e482 of _0x3dad10){const _0x17f186=new v[(_0x5c6e53(0x175))](_0x2c3460[_0x31e482]||{}),_0x561c24=new Map();_0x17f186[_0x5c6e53(0x18f)]((_0x54c3dd,_0x14a240,_0x3e891d)=>{const _0x46f8be=_0x5c6e53;if(_0x3e891d==null)return!0x0;const {x:_0x10245f=0x0,y:_0x54aca2=0x0,si:_0x43ee7f}=_0x3e891d;if(!(_0x10245f===0x0&&_0x54aca2===0x0&&_0x43ee7f!=null))return!0x0;const _0x4bd2f6=this['_createFDtree'](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240,_0x3d643c,_0x3e891d),_0x2d31e0=this[_0x46f8be(0x19f)][_0x46f8be(0x20e)](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240);_0x2d31e0!=null?_0x4bd2f6[_0x46f8be(0x1b2)]=_0x2d31e0:(this[_0x46f8be(0x19f)][_0x46f8be(0x162)](_0x1d589e,_0x31e482,_0x54c3dd,_0x14a240,_0x4bd2f6),this['_dependencyManagerService'][_0x46f8be(0x1c8)](_0x4bd2f6)),_0x561c24[_0x46f8be(0x1a8)](_0x43ee7f,_0x4bd2f6),_0x4ef67b[_0x46f8be(0x18d)](_0x4bd2f6),this[_0x46f8be(0x1e2)][_0x46f8be(0x1a8)](_0x4bd2f6[_0x46f8be(0x1b2)],_0x4bd2f6);}),_0x17f186[_0x5c6e53(0x18f)]((_0x18673c,_0x4d68c8,_0x21c471)=>{const _0x16d52e=_0x5c6e53;if(_0x21c471==null)return!0x0;const {x:_0x40324c=0x0,y:_0x57907e=0x0,si:_0x1d5697}=_0x21c471;if(_0x40324c===0x0&&_0x57907e===0x0&&_0x1d5697!=null)return!0x0;let _0x4be3d9;if(_0x1d5697&&_0x561c24[_0x16d52e(0x1a9)](_0x1d5697)){const _0x5a0524=_0x561c24[_0x16d52e(0x20b)](_0x1d5697);_0x4be3d9=this['_createVirtualFDtree'](_0x5a0524,_0x21c471);}else _0x4be3d9=this[_0x16d52e(0x18b)](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8,_0x3d643c,_0x21c471);const _0x2a89e2=this[_0x16d52e(0x19f)]['getFormulaDependency'](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8);_0x2a89e2!=null?_0x4be3d9[_0x16d52e(0x1b2)]=_0x2a89e2:(this[_0x16d52e(0x19f)]['addFormulaDependency'](_0x1d589e,_0x31e482,_0x18673c,_0x4d68c8,_0x4be3d9),this[_0x16d52e(0x19f)][_0x16d52e(0x1c8)](_0x4be3d9)),_0x4ef67b['push'](_0x4be3d9),this[_0x16d52e(0x1e2)][_0x16d52e(0x1a8)](_0x4be3d9[_0x16d52e(0x1b2)],_0x4be3d9);}),_0x561c24[_0x5c6e53(0x1ec)]();}}}[_0x209261(0x18b)](_0x327c04,_0x268760,_0x186ec3,_0x14846b,_0x12c740,_0xc65069){const _0x558d41=_0x209261,{f:_0x5910b6,x:_0x3d51de=0x0,y:_0x32f72f=0x0}=_0xc65069,_0x146835=new i[(_0x558d41(0x199))](i[_0x558d41(0x1c9)](this[_0x558d41(0x19f)])),_0x415add=_0x12c740[_0x327c04][_0x268760];return _0x146835['formula']=_0x5910b6,_0x146835[_0x558d41(0x1dd)]=_0x327c04,_0x146835['subUnitId']=_0x268760,_0x146835[_0x558d41(0x163)]=_0x186ec3,_0x146835[_0x558d41(0x17c)]=_0x14846b,_0x146835[_0x558d41(0x196)]=_0x415add[_0x558d41(0x196)],_0x146835['columnCount']=_0x415add['columnCount'],_0x146835;}[_0x209261(0x1f8)](){const _0x5bf2f5=_0x209261,_0x108940=[],_0x33894c=new Set(),_0x354ab2=this['_currentConfigService'][_0x5bf2f5(0x1f3)](),_0x4fcf47=this[_0x5bf2f5(0x1da)]['getDirtyRanges'](),_0x4d8dcf=this[_0x5bf2f5(0x19f)][_0x5bf2f5(0x229)](_0x4fcf47),_0x5a14f1=this[_0x5bf2f5(0x1f7)][_0x5bf2f5(0x19c)](_0x4fcf47);for(const _0x3f7a9d of _0x5a14f1)_0x4d8dcf[_0x5bf2f5(0x15e)](_0x3f7a9d);for(const [_0x56d22b,_0x28650c]of this[_0x5bf2f5(0x1e2)])(_0x354ab2||_0x28650c[_0x5bf2f5(0x169)]||_0x28650c['dependencySheetName'](this[_0x5bf2f5(0x1da)][_0x5bf2f5(0x17a)]())||_0x4d8dcf[_0x5bf2f5(0x1a9)](_0x56d22b)&&!_0x28650c[_0x5bf2f5(0x1ba)](this['_currentConfigService'][_0x5bf2f5(0x215)]()))&&!_0x33894c[_0x5bf2f5(0x1a9)](_0x56d22b)&&(_0x108940['push'](_0x28650c),_0x33894c[_0x5bf2f5(0x15e)](_0x56d22b));for(const [_0x15f232,_0xd2690d]of this[_0x5bf2f5(0x1e2)])_0xd2690d[_0x5bf2f5(0x15f)]||(_0xd2690d[_0x5bf2f5(0x16f)][_0x5bf2f5(0x1b8)]=0x0);return _0x108940;}['_getTreeById'](_0x32f72e){const _0x597eeb=_0x209261;return this[_0x597eeb(0x1e2)][_0x597eeb(0x20b)](_0x32f72e);}['_getTreeNode'](_0x28eee7){const _0x174e09=_0x209261;return i[_0x174e09(0x1d4)](_0x28eee7[_0x174e09(0x1dd)],_0x28eee7['formula'],this[_0x174e09(0x171)],this[_0x174e09(0x203)],this[_0x174e09(0x1da)]);}*[_0x209261(0x1e3)](_0x94b0b6,_0x11a1f5){const _0x246db8=_0x209261,_0x295c93=_0x94b0b6,_0x3043f1=new Set();for(;_0x295c93[_0x246db8(0x1b8)]>0x0;){const _0x220289=_0x295c93[_0x246db8(0x1df)]();if(_0x3043f1[_0x246db8(0x1ec)](),_0x220289===void 0x0||_0x220289['isSkip']())continue;if(_0x220289[_0x246db8(0x179)]()){yield _0x220289,_0x220289[_0x246db8(0x18a)](),_0x11a1f5[_0x246db8(0x15e)](_0x220289[_0x246db8(0x1b2)]);continue;}const _0x3f3387=this['_dependencyManagerService']['searchDependency'](_0x220289['toRTreeItem'](),_0x11a1f5),_0x227a25=this[_0x246db8(0x1f7)]['bulkSearch'](_0x220289[_0x246db8(0x1e0)](),_0x11a1f5);for(const _0x2d5f4e of _0x227a25)_0x3f3387[_0x246db8(0x15e)](_0x2d5f4e);for(const _0x124061 of _0x3f3387){const _0x30d033=this[_0x246db8(0x1e2)][_0x246db8(0x20b)](_0x124061);if(!_0x30d033)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x30d033[_0x246db8(0x179)]()||_0x220289[_0x246db8(0x1f2)]()||_0x3043f1[_0x246db8(0x15e)](_0x30d033);}if(_0x3f3387[_0x246db8(0x1ec)](),_0x3043f1[_0x246db8(0x157)]===0x0)yield _0x220289,_0x220289[_0x246db8(0x18a)](),_0x11a1f5['add'](_0x220289['treeId']);else{_0x220289[_0x246db8(0x15c)](),_0x295c93[_0x246db8(0x18d)](_0x220289);for(const _0x3f2007 of _0x3043f1)_0x295c93[_0x246db8(0x18d)](_0x3f2007);}}_0x295c93[_0x246db8(0x1b8)]=0x0,_0x3043f1[_0x246db8(0x1ec)]();}[_0x209261(0x1d0)](_0x4cbe46){const _0x2204dc=_0x209261,_0x621730=[],_0x1c3f94=new Set();for(const _0x4e5413 of this[_0x2204dc(0x1e3)](_0x4cbe46,_0x1c3f94))_0x621730['push'](_0x4e5413);return _0x621730;}}class K extends i['LexerTreeBuilder']{constructor(){const _0x26bbfb=_0x209261;super(...arguments),P(this,_0x26bbfb(0x177),!0x1),P(this,'_lambdaFunctionParameterSet',new Set());}['getNewFormulaWithPrefix'](_0xaee2a9,_0x44bea3){const _0x3f348e=_0x209261,_0x44e27c=this['treeBuilder'](_0xaee2a9,!0x1);if(!_0x44e27c||_0x44e27c===i['ErrorType']['VALUE']||Array[_0x3f348e(0x1e1)](_0x44e27c))return null;const _0x38ac93=[];return this[_0x3f348e(0x177)]=!0x1,this[_0x3f348e(0x1a3)](_0x44e27c,_0x38ac93,_0x44bea3),this[_0x3f348e(0x177)]?'='+_0x38ac93[_0x3f348e(0x173)](''):null;}[_0x209261(0x1a3)](_0x27dd3f,_0x22ab5f,_0x372ba8){const _0x183fb6=_0x209261,_0x57cbb1=_0x27dd3f['getToken'](),_0x1df21c=_0x57cbb1[_0x183fb6(0x198)](),_0x5c008f=_0x1df21c[_0x183fb6(0x208)](),_0x4aab28=this['_clearFunctionString'](_0x5c008f),_0x500535=_0x372ba8(_0x4aab28);let _0x3b53fd=0x0;_0x57cbb1===i[_0x183fb6(0x202)]?_0x3b53fd=0x3:_0x57cbb1===i[_0x183fb6(0x210)]?_0x3b53fd=0x4:_0x57cbb1===i['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER']?_0x3b53fd=0x5:i[_0x183fb6(0x20a)][_0x183fb6(0x1a9)](_0x4aab28)?(_0x22ab5f['push']('_xlfn.'+_0x1df21c),this[_0x183fb6(0x177)]=!0x0):_0x5c008f===i['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x22ab5f['push'](_0x183fb6(0x1a1)+_0x1df21c),this[_0x183fb6(0x177)]=!0x0,_0x3b53fd=0x2):_0x5c008f===i['DEFAULT_TOKEN_LET_FUNCTION_NAME']?(_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1a1)+_0x1df21c),this[_0x183fb6(0x177)]=!0x0,_0x3b53fd=0x1):_0x5c008f===i['matchToken'][_0x183fb6(0x225)]?_0x3b53fd=0x8:i[_0x183fb6(0x1f9)][_0x183fb6(0x1a9)](_0x5c008f)?_0x3b53fd=0x7:_0x5c008f===i['prefixToken'][_0x183fb6(0x1ee)]?(this['_checkAddBracketForMinus'](_0x27dd3f)&&(_0x3b53fd=0x9),_0x22ab5f['push'](_0x57cbb1)):(_0x22ab5f[_0x183fb6(0x18d)](_0x57cbb1),_0x3b53fd=0xa),_0x500535?(_0x3b53fd!==0x2&&_0x3b53fd!==0x1&&(_0x3b53fd=0x6),_0x22ab5f[_0x183fb6(0x18d)]('(')):_0x3b53fd===0x9&&_0x22ab5f[_0x183fb6(0x18d)]('(');const _0x1d37f8=_0x27dd3f['getChildren'](),_0xe208af=_0x1d37f8[_0x183fb6(0x1b8)];if(_0x3b53fd===0x2){const _0x277c04=_0x1d37f8[0x0];let _0x2e1a0d=0x0;_0x277c04 instanceof i[_0x183fb6(0x15a)]&&_0x277c04[_0x183fb6(0x220)]()===i[_0x183fb6(0x156)]&&(_0x2e1a0d=0x1);for(let _0x387c94=_0x2e1a0d;_0x387c94<_0xe208af-0x1;_0x387c94++){const _0x236f1d=_0x1d37f8[_0x387c94];if(_0x236f1d instanceof i['LexerNode']){const _0x2f6c6f=_0x236f1d[_0x183fb6(0x172)]()[0x0];typeof _0x2f6c6f==_0x183fb6(0x191)&&(this[_0x183fb6(0x1f5)][_0x183fb6(0x1a9)](_0x2f6c6f)&&console[_0x183fb6(0x1ea)](_0x183fb6(0x21d)+_0x2f6c6f+'\x22\x20is\x20duplicated.'),this[_0x183fb6(0x1f5)][_0x183fb6(0x15e)](_0x2f6c6f),_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1ac)+_0x2f6c6f),this[_0x183fb6(0x177)]=!0x0);}_0x22ab5f[_0x183fb6(0x18d)](',');}this[_0x183fb6(0x1e7)](_0x1d37f8[_0xe208af-0x1],_0x22ab5f,_0x372ba8),_0x2e1a0d===0x1&&(_0x22ab5f[_0x183fb6(0x18d)](')'),_0x22ab5f[_0x183fb6(0x18d)]('('),this[_0x183fb6(0x1a3)](_0x277c04,_0x22ab5f,_0x372ba8)),_0x22ab5f[_0x183fb6(0x18d)](')');return;}else{if(_0x3b53fd===0x1){for(let _0x35f226=0x0;_0x35f226<_0xe208af-0x1;_0x35f226++){const _0x401f35=_0x1d37f8[_0x35f226];if(_0x401f35 instanceof i[_0x183fb6(0x15a)]&&_0x35f226%0x2===0x0){const _0x51ed9f=_0x401f35[_0x183fb6(0x172)]()[0x0];if(typeof _0x51ed9f==_0x183fb6(0x191)){this[_0x183fb6(0x1f5)][_0x183fb6(0x1a9)](_0x51ed9f)&&console['error'](_0x183fb6(0x19d)+_0x51ed9f+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x183fb6(0x15e)](_0x51ed9f),_0x22ab5f[_0x183fb6(0x18d)](_0x183fb6(0x1ac)+_0x51ed9f),this[_0x183fb6(0x177)]=!0x0,_0x22ab5f[_0x183fb6(0x18d)](',');continue;}}if(this[_0x183fb6(0x1e7)](_0x401f35,_0x22ab5f,_0x372ba8),_0x401f35 instanceof i[_0x183fb6(0x15a)]){const _0x401620=_0x1d37f8[_0x35f226+0x1];_0x401620&&_0x401620 instanceof i[_0x183fb6(0x15a)]&&_0x22ab5f[_0x183fb6(0x18d)](',');}}this[_0x183fb6(0x1e7)](_0x1d37f8[_0xe208af-0x1],_0x22ab5f,_0x372ba8),_0x22ab5f[_0x183fb6(0x18d)](')');return;}else{if(_0x3b53fd===0x8){const _0x56b339=_0x1d37f8[0x0],_0x4d79f4=_0x1d37f8[0x1];this['_handleNewFunctionChild'](_0x56b339,_0x22ab5f,_0x372ba8),_0x22ab5f['push'](_0x57cbb1),this[_0x183fb6(0x1e7)](_0x4d79f4,_0x22ab5f,_0x372ba8);return;}}}for(let _0x570782=0x0;_0x570782<_0xe208af;_0x570782++){const _0x5f0470=_0x1d37f8[_0x570782];if(this[_0x183fb6(0x1e7)](_0x5f0470,_0x22ab5f,_0x372ba8),_0x5f0470 instanceof i[_0x183fb6(0x15a)]){const _0x140432=_0x1d37f8[_0x570782+0x1];_0x140432&&_0x140432 instanceof i['LexerNode']&&_0x22ab5f[_0x183fb6(0x18d)](',');}}_0x3b53fd===0x7&&_0x22ab5f['push'](_0x57cbb1),(_0x500535||_0x3b53fd===0x9)&&_0x22ab5f['push'](')');}[_0x209261(0x1e7)](_0x5b75f0,_0x3e3507,_0x322792){const _0xb561c2=_0x209261;_0x5b75f0 instanceof i[_0xb561c2(0x15a)]?this['_generateNewFunctionString'](_0x5b75f0,_0x3e3507,_0x322792):this[_0xb561c2(0x1f5)][_0xb561c2(0x1a9)](_0x5b75f0)?(_0x3e3507['push'](_0xb561c2(0x1ac)+_0x5b75f0),this[_0xb561c2(0x177)]=!0x0):_0x3e3507[_0xb561c2(0x18d)](_0x5b75f0);}[_0x209261(0x183)](_0xbc96af){const _0x3b5992=_0x209261;let _0x2ffe93=_0xbc96af['trim']();if(!_0x2ffe93)return _0x2ffe93;const _0x50c777=_0x2ffe93[0x0];if((_0x50c777===i[_0x3b5992(0x1f1)]['AT']||_0x50c777===i[_0x3b5992(0x1f1)][_0x3b5992(0x1ee)]||_0x50c777===i['prefixToken'][_0x3b5992(0x1c0)])&&(_0x2ffe93=_0x2ffe93[_0x3b5992(0x1c6)](0x1)),!_0x2ffe93)return _0x2ffe93;const _0x29e467=_0x2ffe93[_0x2ffe93['length']-0x1];return i[_0x3b5992(0x1f9)][_0x3b5992(0x1a9)](_0x29e467)&&(_0x2ffe93=_0x2ffe93[_0x3b5992(0x1c6)](0x0,-0x1)),_0x2ffe93;}[_0x209261(0x216)](_0x20dbdf){const _0x2409d9=_0x209261,_0x2db6c2=_0x20dbdf[_0x2409d9(0x172)]()[0x0];if(!_0x2db6c2||!(_0x2db6c2 instanceof i[_0x2409d9(0x15a)])||_0x20dbdf['getChildren']()['length']>0x1)return!0x1;const _0x5b3848=_0x2db6c2[_0x2409d9(0x172)](),_0x5f4418=_0x5b3848[_0x2409d9(0x1b8)];if(_0x5f4418===0x1)return!0x1;for(let _0x59a7b0=0x0;_0x59a7b0<_0x5f4418;_0x59a7b0++){const _0x4e38bd=_0x5b3848[_0x59a7b0];if(!(_0x4e38bd instanceof i[_0x2409d9(0x15a)])&&i['OPERATOR_TOKEN_SET'][_0x2409d9(0x1a9)](_0x4e38bd))return!0x0;}return!0x1;}}function _0x39c0(_0x3f87b9,_0x490718){const _0x4b2d81=_0x4b2d();return _0x39c0=function(_0x39c029,_0x5ebffb){_0x39c029=_0x39c029-0x156;let _0x9208ba=_0x4b2d81[_0x39c029];return _0x9208ba;},_0x39c0(_0x3f87b9,_0x490718);}class W extends i[_0x209261(0x1f4)]{async['_apply'](_0x1d2bac=!0x1){const _0x4c9c2d=_0x209261;_0x1d2bac?this['_runtimeService'][_0x4c9c2d(0x1cb)](i['FormulaExecuteStageType'][_0x4c9c2d(0x1f0)]):this['_runtimeService'][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1b7)]),this[_0x4c9c2d(0x1b4)][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1c2)]());const _0x5b1a74=await this[_0x4c9c2d(0x1bf)]['generate'](),_0x2d388f=this[_0x4c9c2d(0x1ad)];_0x1d2bac?(this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)]['START_CALCULATION_ARRAY_FORMULA']),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1b6)](_0x5b1a74['length'])):(this[_0x4c9c2d(0x182)]['setFormulaExecuteStage'](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1fe)]),this['_runtimeService'][_0x4c9c2d(0x189)](_0x5b1a74[_0x4c9c2d(0x1b8)])),this[_0x4c9c2d(0x1b4)][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1c2)]());let _0x31cc0e=[];const _0x33ad44=this['_configService'][_0x4c9c2d(0x19b)](i['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x246fc6=(_0x33ad44==null?void 0x0:_0x33ad44[_0x4c9c2d(0x15d)])||i['DEFAULT_INTERVAL_COUNT'];let _0x300dd3=0x0;const _0x14b08a=_0x5b1a74[_0x4c9c2d(0x1b8)];for(;_0x5b1a74['length']>0x0;){const _0x2ac17f=_0x5b1a74[_0x4c9c2d(0x1df)](),_0x341601=i['generateAstNode'](_0x2ac17f[_0x4c9c2d(0x1dd)],_0x2ac17f[_0x4c9c2d(0x201)],this[_0x4c9c2d(0x171)],this[_0x4c9c2d(0x203)],this[_0x4c9c2d(0x1da)]),_0x8345b9={'node':_0x341601,'refOffsetX':_0x2ac17f[_0x4c9c2d(0x1be)],'refOffsetY':_0x2ac17f[_0x4c9c2d(0x1b3)]},_0x4adb50=_0x2ac17f[_0x4c9c2d(0x1a5)];if(_0x300dd3%_0x246fc6===0x0&&(await new Promise(_0x43b944=>{const _0x456c05=_0x4c9c2d,_0x354a3b=v['requestImmediateMacroTask'](_0x43b944);_0x31cc0e[_0x456c05(0x18d)](_0x354a3b);}),_0x1d2bac?(this['_runtimeService'][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x224)]),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x186)](_0x300dd3+0x1)):(this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i['FormulaExecuteStageType'][_0x4c9c2d(0x1d1)]),this[_0x4c9c2d(0x182)]['setCompletedFormulasCount'](_0x300dd3+0x1)),this['_executionInProgressListener$'][_0x4c9c2d(0x174)](this[_0x4c9c2d(0x182)]['getRuntimeState']()),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x19e)]()||_0x8345b9==null&&_0x4adb50==null)){this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1cb)](i[_0x4c9c2d(0x209)][_0x4c9c2d(0x1ff)]),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x21c)](),this[_0x4c9c2d(0x1bc)][_0x4c9c2d(0x174)](this['_runtimeService']['getAllRuntimeData']());return;}this['_runtimeService'][_0x4c9c2d(0x213)](_0x2ac17f[_0x4c9c2d(0x163)],_0x2ac17f['column'],_0x2ac17f[_0x4c9c2d(0x196)],_0x2ac17f['columnCount'],_0x2ac17f[_0x4c9c2d(0x19a)],_0x2ac17f[_0x4c9c2d(0x1dd)]);let _0x5ecbe4;if(_0x4adb50!=null&&_0x2ac17f[_0x4c9c2d(0x217)]!=null){const {runtimeCellData:_0x31b1ca,dirtyRanges:_0x5a7963}=_0x4adb50(this[_0x4c9c2d(0x1da)]['getDirtyData'](),this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1af)]());this[_0x4c9c2d(0x182)]['setRuntimeFeatureCellData'](_0x2ac17f['featureId'],_0x31b1ca),this['_runtimeService'][_0x4c9c2d(0x1e6)](_0x2ac17f[_0x4c9c2d(0x217)],_0x5a7963);}else _0x8345b9!=null&&(_0x2d388f[_0x4c9c2d(0x161)](_0x8345b9['node'])?_0x5ecbe4=await _0x2d388f['executeAsync'](_0x8345b9):_0x5ecbe4=_0x2d388f[_0x4c9c2d(0x17b)](_0x8345b9),_0x2ac17f[_0x4c9c2d(0x207)]!=null?this[_0x4c9c2d(0x182)][_0x4c9c2d(0x214)](_0x2ac17f[_0x4c9c2d(0x207)],_0x2ac17f['refOffsetX'],_0x2ac17f[_0x4c9c2d(0x1b3)],_0x5ecbe4):this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1ab)](_0x5ecbe4));_0x341601[_0x4c9c2d(0x1cf)](),_0x300dd3++;}return _0x31cc0e[_0x4c9c2d(0x1e9)](_0x385f04=>_0x385f04()),_0x31cc0e=[],_0x14b08a>0x0?this[_0x4c9c2d(0x182)]['markedAsSuccessfullyExecuted']():_0x1d2bac||this[_0x4c9c2d(0x182)][_0x4c9c2d(0x1f6)](),this['_runtimeService'][_0x4c9c2d(0x1af)]();}}class G extends i[_0x209261(0x20f)]{constructor(){const _0x4c6924=_0x209261;super(...arguments),P(this,_0x4c6924(0x1c7),new Map()),P(this,_0x4c6924(0x1c1),new v[(_0x4c6924(0x1e4))](!0x0));}['reset'](){const _0x3c5d95=_0x209261;this[_0x3c5d95(0x1a4)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x1c4)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x218)][_0x3c5d95(0x1ec)](),this[_0x3c5d95(0x1c1)][_0x3c5d95(0x1ec)](),this['_allTreeMap'][_0x3c5d95(0x1ec)](),this['_restDependencyTreeId'](),this['_otherFormulaDataMainData'][_0x3c5d95(0x1ec)]();}[_0x209261(0x194)](_0x3d0e22,_0x1c70a1,_0x5136f1,_0xb5788a){const _0x619631=_0x209261;this[_0x619631(0x1a4)][_0x619631(0x1a9)](_0x3d0e22)||this['_otherFormulaData'][_0x619631(0x1a8)](_0x3d0e22,new Map());const _0xd91119=this[_0x619631(0x1a4)][_0x619631(0x20b)](_0x3d0e22);_0xd91119['has'](_0x1c70a1)||_0xd91119[_0x619631(0x1a8)](_0x1c70a1,new Map());const _0x3d5b2b=_0xd91119[_0x619631(0x20b)](_0x1c70a1);_0x3d5b2b[_0x619631(0x1a9)](_0x5136f1)||_0x3d5b2b[_0x619631(0x1a8)](_0x5136f1,new v['ObjectMatrix']()),_0x3d5b2b[_0x619631(0x20b)](_0x5136f1)[_0x619631(0x17d)](_0xb5788a[_0x619631(0x1be)],_0xb5788a[_0x619631(0x1b3)],_0xb5788a[_0x619631(0x1b2)]);}[_0x209261(0x1c3)](_0xa472d3,_0x59f52c,_0x5932a8){const _0x4a6daa=_0x209261,_0x34d5dc=this[_0x4a6daa(0x1a4)][_0x4a6daa(0x20b)](_0xa472d3);if(_0x34d5dc&&_0x34d5dc['has'](_0x59f52c)){const _0x2198f3=_0x34d5dc[_0x4a6daa(0x20b)](_0x59f52c);_0x5932a8[_0x4a6daa(0x1e9)](_0x321970=>{const _0x551c90=_0x4a6daa,_0x5995a7=_0x2198f3[_0x551c90(0x20b)](_0x321970);_0x5995a7!=null&&(_0x5995a7[_0x551c90(0x18f)]((_0x439e95,_0x3b2159,_0x39314a)=>{const _0xe2627b=_0x551c90;this[_0xe2627b(0x1b9)](_0x39314a),this[_0xe2627b(0x1ed)](_0x39314a);}),_0x2198f3[_0x551c90(0x21f)](_0x321970),this['_otherFormulaDataMainData'][_0x551c90(0x21f)](_0x321970));}),_0x2198f3[_0x4a6daa(0x157)]===0x0&&_0x34d5dc[_0x4a6daa(0x21f)](_0x59f52c),_0x34d5dc[_0x4a6daa(0x157)]===0x0&&this[_0x4a6daa(0x1a4)][_0x4a6daa(0x21f)](_0xa472d3);}}['clearOtherFormulaDependency'](_0x13db93,_0x103f59){const _0x1646f0=_0x209261,_0x2a7ea6=this['_otherFormulaData'][_0x1646f0(0x20b)](_0x13db93);if(_0x103f59&&_0x2a7ea6&&_0x2a7ea6[_0x1646f0(0x1a9)](_0x103f59)){const _0x391d3c=_0x2a7ea6[_0x1646f0(0x20b)](_0x103f59);this[_0x1646f0(0x167)](_0x13db93,_0x103f59);for(const _0x255785 of _0x391d3c[_0x1646f0(0x176)]()){const _0x52221a=_0x391d3c[_0x1646f0(0x20b)](_0x255785);_0x52221a!=null&&(_0x52221a[_0x1646f0(0x18f)]((_0x56033,_0xdf25ff,_0x264696)=>{const _0x79ad4=_0x1646f0;this[_0x79ad4(0x1c7)]['get'](_0x264696)&&this['_removeAllTreeMap'](_0x264696);}),this[_0x1646f0(0x16c)]['delete'](_0x255785));}_0x391d3c[_0x1646f0(0x1ec)]();}else{if(_0x2a7ea6){for(const _0x36d9b1 of _0x2a7ea6['keys']()){const _0x3fcdbd=_0x2a7ea6[_0x1646f0(0x20b)](_0x36d9b1);this[_0x1646f0(0x167)](_0x13db93,_0x36d9b1);for(const _0x34beac of _0x3fcdbd['keys']()){const _0x478298=_0x3fcdbd[_0x1646f0(0x20b)](_0x34beac);_0x478298!=null&&(_0x478298['forValue']((_0x3bea7b,_0x3b371d,_0x540675)=>{const _0x3e5619=_0x1646f0;this[_0x3e5619(0x1c7)][_0x3e5619(0x20b)](_0x540675)&&this['_removeAllTreeMap'](_0x540675);}),this[_0x1646f0(0x16c)][_0x1646f0(0x21f)](_0x34beac));}}this[_0x1646f0(0x1a4)][_0x1646f0(0x21f)](_0x13db93);}}}[_0x209261(0x1aa)](_0xdca0de,_0x39b0c2,_0x5eb61a,_0x3c92a1){const _0xd067d2=_0x209261;this[_0xd067d2(0x1c4)][_0xd067d2(0x1a9)](_0xdca0de)||this[_0xd067d2(0x1c4)][_0xd067d2(0x1a8)](_0xdca0de,new Map());const _0x271675=this['_featureFormulaData']['get'](_0xdca0de);_0x271675[_0xd067d2(0x1a9)](_0x39b0c2)||_0x271675[_0xd067d2(0x1a8)](_0x39b0c2,new Map()),_0x271675[_0xd067d2(0x20b)](_0x39b0c2)[_0xd067d2(0x1a8)](_0x5eb61a,_0x3c92a1[_0xd067d2(0x1b2)]);}['removeFeatureFormulaDependency'](_0x38a661,_0x2dea5b,_0x153db9){const _0xc80751=_0x209261,_0x151306=this['_featureFormulaData']['get'](_0x38a661);if(_0x151306&&_0x151306[_0xc80751(0x1a9)](_0x2dea5b)){const _0x1ea4e9=_0x151306['get'](_0x2dea5b);_0x153db9[_0xc80751(0x1e9)](_0x1d9317=>{const _0x54695b=_0xc80751,_0x2e205c=_0x1ea4e9[_0x54695b(0x20b)](_0x1d9317);_0x2e205c!=null&&(this['_removeDependencyRTreeCache'](_0x2e205c),_0x1ea4e9['delete'](_0x1d9317),this['_removeAllTreeMap'](_0x2e205c));});}}['clearFeatureFormulaDependency'](_0x4d04d1,_0x272562){const _0x31f94f=_0x209261,_0x3c263a=this['_featureFormulaData'][_0x31f94f(0x20b)](_0x4d04d1);if(_0x272562&&_0x3c263a&&_0x3c263a[_0x31f94f(0x1a9)](_0x272562)){const _0x4587b6=_0x3c263a[_0x31f94f(0x20b)](_0x272562);this[_0x31f94f(0x167)](_0x4d04d1,_0x272562),_0x4587b6[_0x31f94f(0x1e9)](_0x2bf687=>{_0x2bf687!=null&&this['_removeAllTreeMap'](_0x2bf687);}),_0x4587b6[_0x31f94f(0x1ec)]();}else _0x3c263a&&(_0x3c263a['forEach']((_0x31b267,_0x313b59)=>{const _0x2824c3=_0x31f94f;this[_0x2824c3(0x167)](_0x4d04d1,_0x313b59),_0x31b267[_0x2824c3(0x1e9)](_0x1647a9=>{const _0x2ebe87=_0x2824c3;_0x1647a9!=null&&this[_0x2ebe87(0x1ed)](_0x1647a9);});}),this[_0x31f94f(0x1c4)]['delete'](_0x4d04d1));}['addFormulaDependency'](_0x1fc9ea,_0x52556e,_0x20616c,_0x353e73,_0x3e84d6){const _0x4d5765=_0x209261;this[_0x4d5765(0x218)][_0x4d5765(0x1a9)](_0x1fc9ea)||this[_0x4d5765(0x218)][_0x4d5765(0x1a8)](_0x1fc9ea,new Map());const _0x4b7973=this[_0x4d5765(0x218)]['get'](_0x1fc9ea);_0x4b7973[_0x4d5765(0x1a9)](_0x52556e)||_0x4b7973[_0x4d5765(0x1a8)](_0x52556e,new v[(_0x4d5765(0x175))]()),_0x4b7973[_0x4d5765(0x20b)](_0x52556e)['setValue'](_0x20616c,_0x353e73,_0x3e84d6[_0x4d5765(0x1b2)]);}[_0x209261(0x192)](_0x206acb,_0x5e5498,_0x1ab50c,_0x1df465){const _0x5e805b=_0x209261,_0x480532=this[_0x5e805b(0x218)]['get'](_0x206acb);if(_0x480532&&_0x480532[_0x5e805b(0x1a9)](_0x5e5498)){const _0x3f2e44=_0x480532['get'](_0x5e5498),_0x5068c0=_0x3f2e44['getValue'](_0x1ab50c,_0x1df465);if(_0x5068c0==null)return;this[_0x5e805b(0x1b9)](_0x5068c0),_0x3f2e44['realDeleteValue'](_0x1ab50c,_0x1df465),this[_0x5e805b(0x1ed)](_0x5068c0);}}[_0x209261(0x193)](_0x3a2b70,_0x4dab3e){const _0x1f4c5f=_0x209261,_0x4b5b85=this[_0x1f4c5f(0x218)][_0x1f4c5f(0x20b)](_0x3a2b70);if(_0x4dab3e&&_0x4b5b85&&_0x4b5b85[_0x1f4c5f(0x1a9)](_0x4dab3e)){const _0x22db41=_0x4b5b85[_0x1f4c5f(0x20b)](_0x4dab3e);this[_0x1f4c5f(0x167)](_0x3a2b70,_0x4dab3e),_0x22db41[_0x1f4c5f(0x18f)]((_0x2a368e,_0x1f0d7e,_0x5129bc)=>{if(_0x5129bc==null)return!0x0;this['_removeAllTreeMap'](_0x5129bc);}),_0x22db41[_0x1f4c5f(0x1d2)]();}else _0x4b5b85&&(_0x4b5b85[_0x1f4c5f(0x1e9)]((_0x1c56a5,_0x3e8445)=>{const _0x314a1f=_0x1f4c5f;this['_removeDependencyRTreeCacheById'](_0x3a2b70,_0x3e8445),_0x1c56a5[_0x314a1f(0x18f)]((_0x250c39,_0x3a1f9f,_0x5a8587)=>{const _0x3097b8=_0x314a1f;if(_0x5a8587==null)return!0x0;this[_0x3097b8(0x1ed)](_0x5a8587);});}),this['_formulaData'][_0x1f4c5f(0x21f)](_0x3a2b70));}['_removeDependencyRTreeCache'](_0x31c874){const _0x315953=_0x209261;if(_0x31c874==null)return;const _0x14cf91=this[_0x315953(0x1c7)]['get'](_0x31c874);if(_0x14cf91){const _0xea689=[];for(const [_0x11993e,_0x1c2d24]of _0x14cf91)for(const [_0x1f5894,_0x33c184]of _0x1c2d24)_0xea689[_0x315953(0x18d)]({'unitId':_0x11993e,'sheetId':_0x1f5894,'range':_0x33c184,'id':_0x31c874});this['_dependencyRTreeCache'][_0x315953(0x206)](_0xea689);}}[_0x209261(0x168)](_0x255634,_0x217ce8){const _0x1c2219=_0x209261,_0x249b7f=this['_definedNameMap'][_0x1c2219(0x20b)](_0x255634);if(_0x249b7f){const _0x5f18e0=_0x249b7f[_0x1c2219(0x20b)](_0x217ce8);if(_0x5f18e0){for(const _0x19d083 of _0x5f18e0)this[_0x1c2219(0x1b9)](_0x19d083),this[_0x1c2219(0x1ed)](_0x19d083);_0x5f18e0[_0x1c2219(0x1ec)]();}}}[_0x209261(0x226)](){const _0x485c6a=_0x209261;this[_0x485c6a(0x1c1)][_0x485c6a(0x226)]();}[_0x209261(0x18c)](){const _0x59e059=_0x209261;this['_dependencyRTreeCache'][_0x59e059(0x18c)]();}[_0x209261(0x1ed)](_0x5970c0){const _0x526e58=_0x209261;_0x5970c0!=null&&this['_allTreeMap'][_0x526e58(0x21f)](_0x5970c0);}[_0x209261(0x20d)](_0x2eb55f){const _0x4ac79e=_0x209261;var _0x54701a,_0x30aa42;const _0x3d7471=_0x2eb55f[_0x4ac79e(0x16f)];let _0x220fe2=this[_0x4ac79e(0x1c7)][_0x4ac79e(0x20b)](_0x2eb55f['treeId']);for(let _0xbac7f8=0x0;_0xbac7f8<_0x3d7471[_0x4ac79e(0x1b8)];_0xbac7f8++){const _0x2e6798=_0x3d7471[_0xbac7f8];let {unitId:_0x21ca77,sheetId:_0x454dbc,range:_0x2ce574}=_0x2e6798;_0x220fe2||(_0x220fe2=new Map(),this[_0x4ac79e(0x1c7)][_0x4ac79e(0x1a8)](_0x2eb55f[_0x4ac79e(0x1b2)],_0x220fe2)),_0x220fe2[_0x4ac79e(0x1a9)](_0x21ca77)||_0x220fe2[_0x4ac79e(0x1a8)](_0x21ca77,new Map());const _0x4fa0f8=(_0x54701a=_0x220fe2==null?void 0x0:_0x220fe2[_0x4ac79e(0x20b)](_0x21ca77))==null?void 0x0:_0x54701a['get'](_0x454dbc);_0x4fa0f8&&(_0x2ce574={'startRow':Math[_0x4ac79e(0x1d5)](_0x2ce574['startRow'],_0x4fa0f8['startRow']),'startColumn':Math[_0x4ac79e(0x1d5)](_0x2ce574['startColumn'],_0x4fa0f8[_0x4ac79e(0x20c)]),'endRow':Math[_0x4ac79e(0x22a)](_0x2ce574[_0x4ac79e(0x164)],_0x4fa0f8[_0x4ac79e(0x164)]),'endColumn':Math[_0x4ac79e(0x22a)](_0x2ce574[_0x4ac79e(0x170)],_0x4fa0f8[_0x4ac79e(0x170)])}),(_0x30aa42=_0x220fe2[_0x4ac79e(0x20b)](_0x21ca77))==null||_0x30aa42[_0x4ac79e(0x1a8)](_0x454dbc,_0x2ce574);}}}var Y=Object[_0x209261(0x16a)],j=(_0x272fef,_0x2906a3,_0x19ac12,_0x2addb0)=>{const _0xc6c5fe=_0x209261;for(var _0x7a123=_0x2addb0>0x1?void 0x0:_0x2addb0?Y(_0x2906a3,_0x19ac12):_0x2906a3,_0x11aaea=_0x272fef[_0xc6c5fe(0x1b8)]-0x1,_0x3b230d;_0x11aaea>=0x0;_0x11aaea--)(_0x3b230d=_0x272fef[_0x11aaea])&&(_0x7a123=_0x3b230d(_0x7a123)||_0x7a123);return _0x7a123;};const $=Number[_0x209261(0x1d8)](0x69218da5);function _0x4b2d(){const _0x37b8c0=['DependentOn','setFormulaExecuteStage','136842mKkhTe','isFeatureAuthorizedWithinTime','valid','resetCalculationState','_calculateRunList','CURRENTLY_CALCULATING','reset','85350ztIhaq','generateAstNode','min','notExecuteFormula','FormulaDependencyTreeType','parseInt','DependencyManagerService','_currentConfigService','clearFeatureFormulaDependency','329BHJIEk','unitId','featureDirtyRanges','pop','toRTreeItem','isArray','_dependencyTreeCache','_traverse','RTree','_injector','setRuntimeFeatureRange','_handleNewFunctionChild','symbol','forEach','error','FormulaDependencyGenerator','clear','_removeAllTreeMap','MINUS','toStringTag','START_DEPENDENCY_ARRAY_FORMULA','prefixToken','isSkip','isForceCalculate','CalculateFormulaService','_lambdaFunctionParameterSet','markedAsNoFunctionsExecuted','_dependencyRTreeCacheForAddressFunction','_getUpdateTreeListAndMakeDependency','SUFFIX_TOKEN_SET','_initializeWithOverride','defineProperty','UniverProFormulaEnginePlugin','IDependencyManagerService','START_CALCULATION','IDLE','45IGjOZR','formula','DEFAULT_TOKEN_TYPE_ROOT','_astTreeBuilder','14361655EzJnvE','ICalculateFormulaService','bulkRemove','formulaId','toUpperCase','FormulaExecuteStageType','NEW_EXCEL_FUNCTIONS','get','startColumn','_addAllTreeMap','getFormulaDependency','DependencyManagerBaseService','DEFAULT_TOKEN_TYPE_PARAMETER','_isCyclicUtilMap','6320348CfkkUK','setCurrent','setRuntimeOtherData','getExcludedRange','_checkAddBracketForMinus','featureId','_formulaData','_configService','LS_CONFIG_KEY','message','markedAsStopFunctionsExecuted','Lambda\x20parameter\x20name\x20\x22','getFormulaData','delete','getToken','_generateTreeList','call','refTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','COLON','openKdTree','_getFeatureFormulaTree','getValue','searchDependency','max','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','size','_config','3vpsHOx','LexerNode','UniverFormulaEnginePlugin','setAdded','intervalCount','add','isVirtual','_otherFormulaManagerService','checkAsyncNode','addFormulaDependency','row','endRow','2338528RDzQqC','prototype','_removeDependencyRTreeCacheById','removeFormulaDependencyByDefinedName','isDirty','getOwnPropertyDescriptor','OTHER_FORMULA','_otherFormulaDataMainData','_updateRangeFlatten','getOtherFormulaData','rangeList','endColumn','_lexer','getChildren','join','next','ObjectMatrix','keys','_hasNewExcelFunction','hasOtherFormulaDataMainData','isAdded','getDirtyNameMap','execute','column','setValue','dispose','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','LexerTreeBuilder','Module','_runtimeService','_clearFunctionString','_registerFormulas','_initLicenseValid','setCompletedArrayFormulasCount','type','UniverLicensePlugin','setTotalFormulasToCalculate','setSkip','_createFDtree','closeKdTree','push','addOtherFormulaDependencyMainData','forValue','getFeatureFormulaDependency','string','removeFormulaDependency','clearFormulaDependency','addOtherFormulaDependency','10289860YXChzq','rowCount','generate','trim','FormulaDependencyTree','subUnitId','getConfig','bulkSearch','Let\x20variable\x20name\x20\x22','isStopExecution','_dependencyManagerService','_getFirstCellOfRange','_xlfn.','getOtherFormulaDependency','_generateNewFunctionString','_otherFormulaData','getDirtyData','isCache','IFormulaDependencyGenerator','set','has','addFeatureFormulaDependency','setRuntimeData','_xlpm.','_interpreter','415876SMmmTn','getAllRuntimeData','_convertDirtyRangesToUnitRange','getSheetFeatureLimit','treeId','refOffsetY','_executionInProgressListener$','clearArrayObjectCache','setTotalArrayFormulasToCalculate','START_DEPENDENCY','length','_removeDependencyRTreeCache','isExcludeRange','_checkIsCycleDependency','_executionCompleteListener$','hasOwnProperty','refOffsetX','_formulaDependencyGenerator','PLUS','_dependencyRTreeCache','getRuntimeState','removeOtherFormulaDependency','_featureFormulaData','5ASnaCl','slice','_allTreeMap','addFormulaDependencyByDefinedName','generateRandomDependencyTreeId'];_0x4b2d=function(){return _0x37b8c0;};return _0x4b2d();}exports[_0x209261(0x1fc)]=class extends i[_0x209261(0x15b)]{[_0x209261(0x1fa)](){const _0x1653ff=_0x209261;var _0x1c10d4,_0x113b27;this[_0x1653ff(0x185)]()?(this[_0x1653ff(0x1e5)][_0x1653ff(0x15e)]([i[_0x1653ff(0x180)],{'useClass':K}]),(_0x1c10d4=this[_0x1653ff(0x158)])!=null&&_0x1c10d4[_0x1653ff(0x1d6)]||[[i[_0x1653ff(0x205)],{'useClass':W}],[i[_0x1653ff(0x1fd)],{'useClass':G}],[i[_0x1653ff(0x1a7)],{'useClass':B}]][_0x1653ff(0x1e9)](_0x3df318=>this['_injector'][_0x1653ff(0x15e)](_0x3df318))):(this[_0x1653ff(0x1e5)]['add']([i['LexerTreeBuilder'],{'useClass':i[_0x1653ff(0x180)]}]),(_0x113b27=this['_config'])!=null&&_0x113b27[_0x1653ff(0x1d6)]||[[i[_0x1653ff(0x205)],{'useClass':i[_0x1653ff(0x1f4)]}],[i[_0x1653ff(0x1fd)],{'useClass':i[_0x1653ff(0x1d9)]}],[i[_0x1653ff(0x1a7)],{'useClass':i['FormulaDependencyGenerator']}]]['forEach'](_0x109c3b=>this[_0x1653ff(0x1e5)][_0x1653ff(0x15e)](_0x109c3b)));}[_0x209261(0x185)](){const _0x46a72f=_0x209261;var _0x2318a9;const _0x536b15=(_0x2318a9=this[_0x46a72f(0x219)]['getConfig'](U[_0x46a72f(0x21a)]))!=null?_0x2318a9:{},{ls:_0x59e140,pbk:_0x5384bb}=_0x536b15;if(!_0x59e140||!_0x5384bb)return!0x1;const _0x387a49=U['unshiftString'](V,J),_0x2b4ec2=new Function('return\x20'+_0x387a49)()(_0x59e140,_0x5384bb),_0x5a3942=_0x2b4ec2[_0x46a72f(0x21b)];return _0x2b4ec2[_0x46a72f(0x1ce)]&&U[_0x46a72f(0x1cd)](_0x5a3942,'sf',$)?U[_0x46a72f(0x1b1)](_0x5a3942,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x209261(0x1fc)]=j([v[_0x209261(0x1ca)](U[_0x209261(0x188)])],exports[_0x209261(0x1fc)]),Object[_0x209261(0x176)](i)[_0x209261(0x1e9)](_0x33c5d4=>{const _0x2110a4=_0x209261;_0x33c5d4!=='default'&&!Object[_0x2110a4(0x166)][_0x2110a4(0x1bd)][_0x2110a4(0x222)](exports,_0x33c5d4)&&Object[_0x2110a4(0x1fb)](exports,_0x33c5d4,{'enumerable':!0x0,'get':()=>i[_0x33c5d4]});});
|
|
1
|
+
'use strict';const _0x398b88=_0x1479;(function(_0x415200,_0x324c9a){const _0x12b1cf=_0x1479,_0x33ace9=_0x415200();while(!![]){try{const _0xc35426=parseInt(_0x12b1cf(0x1f4))/0x1*(parseInt(_0x12b1cf(0x192))/0x2)+-parseInt(_0x12b1cf(0x165))/0x3+parseInt(_0x12b1cf(0x1c3))/0x4+parseInt(_0x12b1cf(0x20a))/0x5+-parseInt(_0x12b1cf(0x213))/0x6*(parseInt(_0x12b1cf(0x17c))/0x7)+-parseInt(_0x12b1cf(0x181))/0x8*(-parseInt(_0x12b1cf(0x1c9))/0x9)+-parseInt(_0x12b1cf(0x141))/0xa*(parseInt(_0x12b1cf(0x196))/0xb);if(_0xc35426===_0x324c9a)break;else _0x33ace9['push'](_0x33ace9['shift']());}catch(_0x5ecce6){_0x33ace9['push'](_0x33ace9['shift']());}}}(_0x3a71,0xa761d));var k=Object[_0x398b88(0x1b9)],G=(_0x30f59d,_0x43fd05,_0x33f6ea)=>_0x43fd05 in _0x30f59d?k(_0x30f59d,_0x43fd05,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f6ea}):_0x30f59d[_0x43fd05]=_0x33f6ea,L=(_0x5a9087,_0x1d7377,_0x4754ec)=>G(_0x5a9087,typeof _0x1d7377!=_0x398b88(0x1d1)?_0x1d7377+'':_0x1d7377,_0x4754ec);Object[_0x398b88(0x1b9)](exports,Symbol[_0x398b88(0x14d)],{'value':'Module'});const R=require('@univerjs-pro/license'),D=require('@univerjs/core'),c=require('@univerjs/engine-formula'),b={0x0:'z',0x1:'6',0x2:'i',0x3:'L',0x4:'h',0x5:'R',0x6:'j',0x7:'o',0x8:'l',0x9:'D','H':'0','l':'1','Q':'2','a':'3','Y':'4','z':'5','k':'7','w':'8','O':'9','g':'a','e':'b','I':'c','C':'d','E':'e','R':'f','s':'g','x':'k','F':'m','L':'n','G':'p','o':'q','t':'r','A':'s','i':'t','B':'u','Z':'v','p':'w','h':'x','d':'y','D':'A','r':'B','u':'C','f':'E','m':'F','q':'G','W':'H','c':'I','N':'J','J':'K','V':'M','v':'N','K':'O','T':'P','n':'Q','S':'S','U':'T','b':'U','X':'V','y':'W','j':'X','M':'Y','P':'Z'},V=_0x398b88(0x152);class K extends c[_0x398b88(0x137)]{constructor(){const _0x1a7539=_0x398b88;super(...arguments),L(this,_0x1a7539(0x134),new Map());}[_0x398b88(0x189)](){const _0x49302a=_0x398b88;super[_0x49302a(0x189)](),this[_0x49302a(0x134)]['clear']();}async[_0x398b88(0x1fb)](){const _0x416fdd=_0x398b88;this[_0x416fdd(0x159)]();const _0x3f43fa=this['_currentConfigService']['getFormulaData'](),_0x58d460=this[_0x416fdd(0x212)][_0x416fdd(0x1b0)](),_0x265fe0=this[_0x416fdd(0x20c)]['getClearDependencyTreeCache']();_0x265fe0!=null&&Object['keys'](_0x265fe0)['forEach'](_0x457b5b=>{const _0x1b10cb=_0x416fdd;_0x457b5b!=null&&Object[_0x1b10cb(0x1a9)](_0x265fe0[_0x457b5b])[_0x1b10cb(0x172)](_0x56ce06=>{const _0x4c5bc2=_0x1b10cb;_0x56ce06!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x457b5b,_0x56ce06),this[_0x4c5bc2(0x14e)][_0x4c5bc2(0x162)](_0x457b5b,_0x56ce06),this[_0x4c5bc2(0x14e)][_0x4c5bc2(0x19f)](_0x457b5b,_0x56ce06));});});const _0x3b518f=this[_0x416fdd(0x20c)]['getUnitData']();await this['_generateTreeList'](_0x3f43fa,_0x58d460,_0x3b518f),this['_dependencyManagerService'][_0x416fdd(0x1e6)]();const _0x1f6935=this['_getUpdateTreeListAndMakeDependency'](),_0x2840e9=this[_0x416fdd(0x197)](_0x1f6935);return this['_checkIsCycleDependency'](_0x2840e9)&&this[_0x416fdd(0x1c0)][_0x416fdd(0x1ef)](),this['_dependencyTreeCache'][_0x416fdd(0x18e)](),this[_0x416fdd(0x1cb)]['clear'](),this[_0x416fdd(0x14e)][_0x416fdd(0x1b7)](),this[_0x416fdd(0x1c0)][_0x416fdd(0x176)](),Promise[_0x416fdd(0x1f7)](_0x2840e9);}[_0x398b88(0x1c1)](_0x37ccb9,_0x3fc2e3){const _0x2a4156=_0x398b88,_0x2a05ae=[_0x37ccb9];for(;_0x2a05ae[_0x2a4156(0x1d3)]>0x0;){const _0x488b6b=_0x2a05ae[_0x2a05ae[_0x2a4156(0x1d3)]-0x1];if((_0x3fc2e3[_0x2a4156(0x164)](_0x488b6b)||0x0)===0x0){_0x3fc2e3[_0x2a4156(0x150)](_0x488b6b,0x1);const _0x353082=this[_0x2a4156(0x134)]['get'](_0x488b6b);if(_0x353082==null){_0x3fc2e3[_0x2a4156(0x150)](_0x488b6b,0x2),_0x2a05ae[_0x2a4156(0x1f5)]();continue;}const _0x2be5dc=this['_dependencyManagerService']['searchDependency'](_0x353082['toRTreeItem']());for(const _0x2347d6 of _0x2be5dc){const _0x5eaca6=_0x3fc2e3[_0x2a4156(0x164)](_0x2347d6)||0x0;if(_0x5eaca6===0x1)return!0x0;_0x5eaca6===0x0&&_0x2a05ae['push'](_0x2347d6);}}else _0x3fc2e3['set'](_0x488b6b,0x2),_0x2a05ae[_0x2a4156(0x1f5)]();}return!0x1;}[_0x398b88(0x14b)](_0x57aa8e){const _0x5c94fb=_0x398b88,_0x414aca=new Map();for(const _0xdf5287 of _0x57aa8e)if(!_0x414aca['has'](_0xdf5287[_0x5c94fb(0x146)])&&this['_isCyclicUtilMap'](_0xdf5287[_0x5c94fb(0x146)],_0x414aca))return!0x0;return _0x414aca['clear'](),!0x1;}[_0x398b88(0x18b)](_0x4895b2,_0x5e296e,_0x5a94f8){const _0x5eeb44=_0x398b88,{unitId:_0x1e766e,subUnitId:_0x445399,dependencyRanges:_0x59c19c,getDirtyData:_0x1cd2cd}=_0x5a94f8,_0x10ad88=_0x5e296e||c['generateRandomDependencyTreeId'](this[_0x5eeb44(0x14e)]),_0x4f51a5=new c['FormulaDependencyTree'](_0x10ad88);_0x4f51a5['unitId']=_0x1e766e,_0x4f51a5['subUnitId']=_0x445399,_0x4f51a5[_0x5eeb44(0x1e8)]=_0x59c19c,_0x4f51a5[_0x5eeb44(0x1de)]=_0x1cd2cd;const _0x3827bb=_0x1cd2cd(this['_currentConfigService'][_0x5eeb44(0x1de)](),this['_runtimeService'][_0x5eeb44(0x158)]()),_0x2d4826=this[_0x5eeb44(0x1db)](_0x3827bb[_0x5eeb44(0x143)]);return _0x4f51a5[_0x5eeb44(0x20e)]=_0x2d4826,_0x4f51a5['featureId']=_0x4895b2,_0x4f51a5['type']=c['FormulaDependencyTreeType'][_0x5eeb44(0x13a)],this['_dependencyManagerService'][_0x5eeb44(0x1d9)](_0x1e766e,_0x445399,_0x4895b2,_0x4f51a5),this['_dependencyTreeCache']['set'](_0x4f51a5['treeId'],_0x4f51a5),this['_dependencyManagerService'][_0x5eeb44(0x145)](_0x5a94f8[_0x5eeb44(0x1b1)],_0x5a94f8[_0x5eeb44(0x1b5)],_0x4895b2)&&(_0x4f51a5[_0x5eeb44(0x154)]=!0x0),_0x4f51a5;}[_0x398b88(0x191)](_0x3b64e4,_0x49c9fe,_0x4748b){const _0x1ee155=_0x398b88;var _0x47e0c7;for(const _0x3c0091 of _0x49c9fe){const _0x27b043=_0x3b64e4[_0x3c0091];if(_0x27b043==null)continue;const _0x499183=Object[_0x1ee155(0x1a9)](_0x27b043);for(const _0x31691d of _0x499183){const _0x5ac03d=_0x27b043[_0x31691d];if(_0x5ac03d==null)continue;const _0x52ce14=Object[_0x1ee155(0x1a9)](_0x5ac03d);for(const _0x47badd of _0x52ce14){const _0x3faf6=this['_dependencyManagerService'][_0x1ee155(0x1cc)](_0x47badd),_0x55278c=_0x5ac03d[_0x47badd],{f:_0x236312,ranges:_0x11de70}=_0x55278c;let _0x4801ab=!0x1;_0x3faf6&&(_0x4801ab=!0x0);const {firstRow:_0xdf972b,firstColumn:_0x208e35}=this[_0x1ee155(0x1fa)](_0x11de70),_0x4cf74f=this['_dependencyManagerService'][_0x1ee155(0x13b)](_0x3c0091,_0x31691d,_0x47badd),_0x3eb584=(_0x47e0c7=_0x4cf74f==null?void 0x0:_0x4cf74f[_0x1ee155(0x180)](0x0,0x0))!=null?_0x47e0c7:c[_0x1ee155(0x1c7)](this['_dependencyManagerService']),_0x27a0e5=new c['FormulaDependencyTree'](_0x3eb584);for(let _0x1e8d7f=0x0;_0x1e8d7f<_0x11de70['length'];_0x1e8d7f++){const _0x160794=_0x11de70[_0x1e8d7f],{startRow:_0x433e17,startColumn:_0x4d1537,endRow:_0x2cb6d0,endColumn:_0x26ee73}=_0x160794;for(let _0x56bdd4=_0x433e17;_0x56bdd4<=_0x2cb6d0;_0x56bdd4++)for(let _0x4d93c6=_0x4d1537;_0x4d93c6<=_0x26ee73;_0x4d93c6++){const _0x19c8a0=_0x4d93c6-_0x208e35,_0x294429=_0x56bdd4-_0xdf972b;if(_0x19c8a0===0x0&&_0x294429===0x0){_0x27a0e5[_0x1ee155(0x203)]=_0x236312,_0x27a0e5[_0x1ee155(0x1b1)]=_0x3c0091,_0x27a0e5[_0x1ee155(0x1b5)]=_0x31691d,_0x27a0e5[_0x1ee155(0x1cf)]=_0x47badd,_0x27a0e5[_0x1ee155(0x184)]=c['FormulaDependencyTreeType'][_0x1ee155(0x15f)],_0x27a0e5[_0x1ee155(0x154)]=_0x4801ab,_0x4748b[_0x1ee155(0x15e)](_0x27a0e5),this['_dependencyTreeCache'][_0x1ee155(0x150)](_0x27a0e5[_0x1ee155(0x146)],_0x27a0e5),this[_0x1ee155(0x14e)]['addOtherFormulaDependency'](_0x3c0091,_0x31691d,_0x47badd,_0x27a0e5),this[_0x1ee155(0x14e)][_0x1ee155(0x18a)](_0x27a0e5);continue;}const _0x5caa52=new c['FormulaDependencyTreeVirtual']();_0x5caa52[_0x1ee155(0x146)]=(_0x4cf74f==null?void 0x0:_0x4cf74f[_0x1ee155(0x180)](_0x19c8a0,_0x294429))||c[_0x1ee155(0x1c7)](this[_0x1ee155(0x14e)]),_0x5caa52[_0x1ee155(0x1b8)]=_0x27a0e5,_0x5caa52['refOffsetX']=_0x19c8a0,_0x5caa52[_0x1ee155(0x1d6)]=_0x294429,_0x5caa52[_0x1ee155(0x154)]=_0x4801ab,this[_0x1ee155(0x14e)][_0x1ee155(0x1e4)](_0x3c0091,_0x31691d,_0x47badd,_0x5caa52),this[_0x1ee155(0x14e)]['addFormulaDependencyByDefinedName'](_0x5caa52),_0x4748b[_0x1ee155(0x15e)](_0x5caa52),this['_dependencyTreeCache'][_0x1ee155(0x150)](_0x5caa52['treeId'],_0x5caa52);}}this[_0x1ee155(0x14e)]['addOtherFormulaDependencyMainData'](_0x47badd);}}}}['_registerFormulas'](_0x23e17d,_0x450ed6,_0x2baa4b,_0x1b5c85){const _0x5711b1=_0x398b88;for(const _0x30d0a4 of _0x23e17d){const _0xa37962=_0x450ed6[_0x30d0a4];if(_0xa37962==null)continue;const _0xa724da=Object[_0x5711b1(0x1a9)](_0xa37962);for(const _0x21b546 of _0xa724da){const _0x5a2672=new D[(_0x5711b1(0x1b3))](_0xa37962[_0x21b546]||{}),_0x52da6d=new Map();_0x5a2672['forValue']((_0x134907,_0x32c842,_0x52e260)=>{const _0x318854=_0x5711b1;if(_0x52e260==null)return!0x0;const {x:_0x543bf8=0x0,y:_0x1c230a=0x0,si:_0x19ed72}=_0x52e260;if(!(_0x543bf8===0x0&&_0x1c230a===0x0&&_0x19ed72!=null))return!0x0;const _0x14996c=this[_0x318854(0x1bb)](_0x30d0a4,_0x21b546,_0x134907,_0x32c842,_0x2baa4b,_0x52e260),_0x4671a9=this[_0x318854(0x14e)][_0x318854(0x17b)](_0x30d0a4,_0x21b546,_0x134907,_0x32c842);_0x4671a9!=null?_0x14996c[_0x318854(0x146)]=_0x4671a9:(this[_0x318854(0x14e)]['addFormulaDependency'](_0x30d0a4,_0x21b546,_0x134907,_0x32c842,_0x14996c),this[_0x318854(0x14e)][_0x318854(0x18a)](_0x14996c)),_0x52da6d[_0x318854(0x150)](_0x19ed72,_0x14996c),_0x1b5c85[_0x318854(0x15e)](_0x14996c),this[_0x318854(0x134)][_0x318854(0x150)](_0x14996c[_0x318854(0x146)],_0x14996c);}),_0x5a2672[_0x5711b1(0x1e0)]((_0x175c39,_0x13481c,_0x28b9ab)=>{const _0x2db9ab=_0x5711b1;if(_0x28b9ab==null)return!0x0;const {x:_0x2a7e7d=0x0,y:_0x3c158a=0x0,si:_0x6f2ef}=_0x28b9ab;if(_0x2a7e7d===0x0&&_0x3c158a===0x0&&_0x6f2ef!=null)return!0x0;let _0x263a38;if(_0x6f2ef&&_0x52da6d[_0x2db9ab(0x1bc)](_0x6f2ef)){const _0x476fc3=_0x52da6d[_0x2db9ab(0x164)](_0x6f2ef);_0x263a38=this[_0x2db9ab(0x1d4)](_0x476fc3,_0x28b9ab);}else _0x263a38=this[_0x2db9ab(0x1bb)](_0x30d0a4,_0x21b546,_0x175c39,_0x13481c,_0x2baa4b,_0x28b9ab);const _0x22d280=this[_0x2db9ab(0x14e)][_0x2db9ab(0x17b)](_0x30d0a4,_0x21b546,_0x175c39,_0x13481c);_0x22d280!=null?_0x263a38['treeId']=_0x22d280:(this['_dependencyManagerService'][_0x2db9ab(0x140)](_0x30d0a4,_0x21b546,_0x175c39,_0x13481c,_0x263a38),this[_0x2db9ab(0x14e)]['addFormulaDependencyByDefinedName'](_0x263a38)),_0x1b5c85[_0x2db9ab(0x15e)](_0x263a38),this[_0x2db9ab(0x134)]['set'](_0x263a38[_0x2db9ab(0x146)],_0x263a38);}),_0x52da6d[_0x5711b1(0x18e)]();}}}[_0x398b88(0x1bb)](_0x3d885f,_0x20c181,_0x24ec36,_0x2567e8,_0x19c583,_0x49ee9c){const _0x1ec553=_0x398b88,{f:_0x427326,x:_0x3dbe0e=0x0,y:_0x388681=0x0}=_0x49ee9c,_0x313d84=new c[(_0x1ec553(0x1af))](c['generateRandomDependencyTreeId'](this[_0x1ec553(0x14e)])),_0xd8e160=_0x19c583[_0x3d885f][_0x20c181];return _0x313d84['formula']=_0x427326,_0x313d84[_0x1ec553(0x1b1)]=_0x3d885f,_0x313d84[_0x1ec553(0x1b5)]=_0x20c181,_0x313d84[_0x1ec553(0x200)]=_0x24ec36,_0x313d84[_0x1ec553(0x16f)]=_0x2567e8,_0x313d84[_0x1ec553(0x1a3)]=_0xd8e160['rowCount'],_0x313d84[_0x1ec553(0x1a0)]=_0xd8e160[_0x1ec553(0x1a0)],_0x313d84;}[_0x398b88(0x214)](){const _0x4b58a9=_0x398b88,_0x38a867=[],_0x138d6c=new Set(),_0x45151b=this[_0x4b58a9(0x20c)][_0x4b58a9(0x13c)](),_0x2dee25=this[_0x4b58a9(0x20c)][_0x4b58a9(0x1f0)](),_0x124352=this['_dependencyManagerService']['searchDependency'](_0x2dee25),_0x4a58d9=this[_0x4b58a9(0x1cb)][_0x4b58a9(0x156)](_0x2dee25);for(const _0x1bf401 of _0x4a58d9)_0x124352[_0x4b58a9(0x178)](_0x1bf401);for(const [_0x552da8,_0x2c3a6c]of this[_0x4b58a9(0x134)])(_0x45151b||_0x2c3a6c[_0x4b58a9(0x1d7)]||_0x2c3a6c['dependencySheetName'](this[_0x4b58a9(0x20c)]['getDirtyNameMap']())||_0x124352[_0x4b58a9(0x1bc)](_0x552da8)&&!_0x2c3a6c[_0x4b58a9(0x1da)](this[_0x4b58a9(0x20c)][_0x4b58a9(0x208)]()))&&!_0x138d6c['has'](_0x552da8)&&(_0x38a867[_0x4b58a9(0x15e)](_0x2c3a6c),_0x138d6c['add'](_0x552da8));for(const [_0x251042,_0x5f1717]of this[_0x4b58a9(0x134)])_0x5f1717[_0x4b58a9(0x177)]||(_0x5f1717[_0x4b58a9(0x1e8)]['length']=0x0);return _0x38a867;}[_0x398b88(0x16a)](_0x421665){const _0xbfc4b3=_0x398b88;return this[_0xbfc4b3(0x134)][_0xbfc4b3(0x164)](_0x421665);}['_getTreeNode'](_0x39a28b){const _0x25caf1=_0x398b88;return c['generateAstNode'](_0x39a28b[_0x25caf1(0x1b1)],_0x39a28b[_0x25caf1(0x203)],this[_0x25caf1(0x1c2)],this[_0x25caf1(0x175)],this['_currentConfigService']);}*['_traverse'](_0x3a74ae,_0x5e17e9){const _0x55033d=_0x398b88,_0x47404f=_0x3a74ae,_0x53cfe4=new Set();for(;_0x47404f[_0x55033d(0x1d3)]>0x0;){const _0x587c65=_0x47404f[_0x55033d(0x1f5)]();if(_0x53cfe4[_0x55033d(0x18e)](),_0x587c65===void 0x0||_0x587c65['isSkip']())continue;if(_0x587c65[_0x55033d(0x1e9)]()){yield _0x587c65,_0x587c65[_0x55033d(0x1fe)](),_0x5e17e9[_0x55033d(0x178)](_0x587c65[_0x55033d(0x146)]);continue;}const _0xf83faf=this['_dependencyManagerService'][_0x55033d(0x193)](_0x587c65[_0x55033d(0x1aa)](),_0x5e17e9),_0xe9c260=this['_dependencyRTreeCacheForAddressFunction'][_0x55033d(0x156)](_0x587c65[_0x55033d(0x1aa)](),_0x5e17e9);for(const _0x227364 of _0xe9c260)_0xf83faf['add'](_0x227364);for(const _0x31494a of _0xf83faf){const _0x3e05c0=this[_0x55033d(0x134)][_0x55033d(0x164)](_0x31494a);if(!_0x3e05c0)throw new Error(_0x55033d(0x1f2));_0x3e05c0['isAdded']()||_0x587c65[_0x55033d(0x210)]()||_0x53cfe4[_0x55033d(0x178)](_0x3e05c0);}if(_0xf83faf[_0x55033d(0x18e)](),_0x53cfe4[_0x55033d(0x147)]===0x0)yield _0x587c65,_0x587c65[_0x55033d(0x1fe)](),_0x5e17e9[_0x55033d(0x178)](_0x587c65[_0x55033d(0x146)]);else{_0x587c65[_0x55033d(0x1a4)](),_0x47404f['push'](_0x587c65);for(const _0x2496ee of _0x53cfe4)_0x47404f[_0x55033d(0x15e)](_0x2496ee);}}_0x47404f['length']=0x0,_0x53cfe4[_0x55033d(0x18e)]();}['_calculateRunList'](_0x1c66c2){const _0x2b461=_0x398b88,_0x4f166f=[],_0x49fd41=new Set();for(const _0x3aa261 of this[_0x2b461(0x19a)](_0x1c66c2,_0x49fd41))_0x4f166f[_0x2b461(0x15e)](_0x3aa261);return _0x4f166f;}}class Y extends c['LexerTreeBuilder']{constructor(){const _0x294dbf=_0x398b88;super(...arguments),L(this,_0x294dbf(0x18f),!0x1),L(this,_0x294dbf(0x15b),new Set());}[_0x398b88(0x206)](_0x491d8d,_0x4f54a1){const _0x14df10=_0x398b88,_0x3eaf13=this[_0x14df10(0x215)](_0x491d8d,!0x1);if(!_0x3eaf13||_0x3eaf13===c[_0x14df10(0x1e7)][_0x14df10(0x16b)]||Array[_0x14df10(0x17d)](_0x3eaf13))return null;const _0x123bcc=[];return this[_0x14df10(0x18f)]=!0x1,this['_generateNewFunctionString'](_0x3eaf13,_0x123bcc,_0x4f54a1),this['_hasNewExcelFunction']?'='+_0x123bcc[_0x14df10(0x1c8)](''):null;}[_0x398b88(0x1d8)](_0x1f6e56,_0x35fafc,_0x1ac7b1){const _0x6839fd=_0x398b88,_0xedf00a=_0x1f6e56[_0x6839fd(0x179)](),_0x5be695=_0xedf00a[_0x6839fd(0x1f1)](),_0x211b7a=_0x5be695[_0x6839fd(0x17e)](),_0x363429=this[_0x6839fd(0x1fc)](_0x211b7a),_0x3e1f60=_0x1ac7b1(_0x363429);let _0x2a2b8f=0x0;_0xedf00a===c[_0x6839fd(0x1a7)]?_0x2a2b8f=0x3:_0xedf00a===c[_0x6839fd(0x183)]?_0x2a2b8f=0x4:_0xedf00a===c[_0x6839fd(0x1c5)]?_0x2a2b8f=0x5:c[_0x6839fd(0x201)][_0x6839fd(0x1bc)](_0x363429)?(_0x35fafc[_0x6839fd(0x15e)](_0x6839fd(0x1ce)+_0x5be695),this[_0x6839fd(0x18f)]=!0x0):_0x211b7a===c[_0x6839fd(0x14a)]?(_0x35fafc[_0x6839fd(0x15e)](_0x6839fd(0x1ce)+_0x5be695),this[_0x6839fd(0x18f)]=!0x0,_0x2a2b8f=0x2):_0x211b7a===c[_0x6839fd(0x15a)]?(_0x35fafc['push'](_0x6839fd(0x1ce)+_0x5be695),this[_0x6839fd(0x18f)]=!0x0,_0x2a2b8f=0x1):_0x211b7a===c[_0x6839fd(0x17f)][_0x6839fd(0x173)]?_0x2a2b8f=0x8:c[_0x6839fd(0x19e)][_0x6839fd(0x1bc)](_0x211b7a)?_0x2a2b8f=0x7:_0x211b7a===c['prefixToken'][_0x6839fd(0x1ea)]?(this['_checkAddBracketForMinus'](_0x1f6e56)&&(_0x2a2b8f=0x9),_0x35fafc[_0x6839fd(0x15e)](_0xedf00a)):(_0x35fafc['push'](_0xedf00a),_0x2a2b8f=0xa),_0x3e1f60?(_0x2a2b8f!==0x2&&_0x2a2b8f!==0x1&&(_0x2a2b8f=0x6),_0x35fafc[_0x6839fd(0x15e)]('(')):_0x2a2b8f===0x9&&_0x35fafc[_0x6839fd(0x15e)]('(');const _0x28265e=_0x1f6e56['getChildren'](),_0x30a061=_0x28265e['length'];if(_0x2a2b8f===0x2){const _0x5ba09b=_0x28265e[0x0];let _0x335a17=0x0;_0x5ba09b instanceof c[_0x6839fd(0x190)]&&_0x5ba09b[_0x6839fd(0x179)]()===c[_0x6839fd(0x1c5)]&&(_0x335a17=0x1);for(let _0x120619=_0x335a17;_0x120619<_0x30a061-0x1;_0x120619++){const _0x382e46=_0x28265e[_0x120619];if(_0x382e46 instanceof c[_0x6839fd(0x190)]){const _0x5e7f02=_0x382e46[_0x6839fd(0x209)]()[0x0];typeof _0x5e7f02=='string'&&(this[_0x6839fd(0x15b)][_0x6839fd(0x1bc)](_0x5e7f02)&&console[_0x6839fd(0x1cd)](_0x6839fd(0x142)+_0x5e7f02+_0x6839fd(0x188)),this['_lambdaFunctionParameterSet'][_0x6839fd(0x178)](_0x5e7f02),_0x35fafc[_0x6839fd(0x15e)]('_xlpm.'+_0x5e7f02),this[_0x6839fd(0x18f)]=!0x0);}_0x35fafc[_0x6839fd(0x15e)](',');}this['_handleNewFunctionChild'](_0x28265e[_0x30a061-0x1],_0x35fafc,_0x1ac7b1),_0x335a17===0x1&&(_0x35fafc[_0x6839fd(0x15e)](')'),_0x35fafc['push']('('),this[_0x6839fd(0x1d8)](_0x5ba09b,_0x35fafc,_0x1ac7b1)),_0x35fafc[_0x6839fd(0x15e)](')');return;}else{if(_0x2a2b8f===0x1){for(let _0x5d8fd3=0x0;_0x5d8fd3<_0x30a061-0x1;_0x5d8fd3++){const _0x58f367=_0x28265e[_0x5d8fd3];if(_0x58f367 instanceof c['LexerNode']&&_0x5d8fd3%0x2===0x0){const _0x5e7359=_0x58f367[_0x6839fd(0x209)]()[0x0];if(typeof _0x5e7359=='string'){this[_0x6839fd(0x15b)][_0x6839fd(0x1bc)](_0x5e7359)&&console[_0x6839fd(0x1cd)](_0x6839fd(0x1d2)+_0x5e7359+'\x22\x20is\x20duplicated.'),this[_0x6839fd(0x15b)][_0x6839fd(0x178)](_0x5e7359),_0x35fafc[_0x6839fd(0x15e)](_0x6839fd(0x19b)+_0x5e7359),this['_hasNewExcelFunction']=!0x0,_0x35fafc[_0x6839fd(0x15e)](',');continue;}}if(this['_handleNewFunctionChild'](_0x58f367,_0x35fafc,_0x1ac7b1),_0x58f367 instanceof c[_0x6839fd(0x190)]){const _0xf273c6=_0x28265e[_0x5d8fd3+0x1];_0xf273c6&&_0xf273c6 instanceof c[_0x6839fd(0x190)]&&_0x35fafc[_0x6839fd(0x15e)](',');}}this[_0x6839fd(0x161)](_0x28265e[_0x30a061-0x1],_0x35fafc,_0x1ac7b1),_0x35fafc[_0x6839fd(0x15e)](')');return;}else{if(_0x2a2b8f===0x8){const _0x3cea8b=_0x28265e[0x0],_0x51f3f2=_0x28265e[0x1];this[_0x6839fd(0x161)](_0x3cea8b,_0x35fafc,_0x1ac7b1),_0x35fafc[_0x6839fd(0x15e)](_0xedf00a),this[_0x6839fd(0x161)](_0x51f3f2,_0x35fafc,_0x1ac7b1);return;}}}for(let _0x23f513=0x0;_0x23f513<_0x30a061;_0x23f513++){const _0x2b6efc=_0x28265e[_0x23f513];if(this['_handleNewFunctionChild'](_0x2b6efc,_0x35fafc,_0x1ac7b1),_0x2b6efc instanceof c['LexerNode']){const _0x5ada4c=_0x28265e[_0x23f513+0x1];_0x5ada4c&&_0x5ada4c instanceof c[_0x6839fd(0x190)]&&_0x35fafc['push'](',');}}_0x2a2b8f===0x7&&_0x35fafc[_0x6839fd(0x15e)](_0xedf00a),(_0x3e1f60||_0x2a2b8f===0x9)&&_0x35fafc[_0x6839fd(0x15e)](')');}[_0x398b88(0x161)](_0x2796c5,_0x43d145,_0x3968cb){const _0x590cbc=_0x398b88;_0x2796c5 instanceof c[_0x590cbc(0x190)]?this[_0x590cbc(0x1d8)](_0x2796c5,_0x43d145,_0x3968cb):this[_0x590cbc(0x15b)]['has'](_0x2796c5)?(_0x43d145[_0x590cbc(0x15e)](_0x590cbc(0x19b)+_0x2796c5),this[_0x590cbc(0x18f)]=!0x0):_0x43d145[_0x590cbc(0x15e)](_0x2796c5);}['_clearFunctionString'](_0x2736fb){const _0x18e7dc=_0x398b88;let _0x142530=_0x2736fb[_0x18e7dc(0x1f1)]();if(!_0x142530)return _0x142530;const _0x1edaec=_0x142530[0x0];if((_0x1edaec===c[_0x18e7dc(0x1e2)]['AT']||_0x1edaec===c[_0x18e7dc(0x1e2)][_0x18e7dc(0x1ea)]||_0x1edaec===c[_0x18e7dc(0x1e2)]['PLUS'])&&(_0x142530=_0x142530['slice'](0x1)),!_0x142530)return _0x142530;const _0x280a68=_0x142530[_0x142530[_0x18e7dc(0x1d3)]-0x1];return c[_0x18e7dc(0x19e)]['has'](_0x280a68)&&(_0x142530=_0x142530[_0x18e7dc(0x207)](0x0,-0x1)),_0x142530;}[_0x398b88(0x149)](_0x2331d2){const _0x295afe=_0x398b88,_0x2adb7c=_0x2331d2[_0x295afe(0x209)]()[0x0];if(!_0x2adb7c||!(_0x2adb7c instanceof c[_0x295afe(0x190)])||_0x2331d2[_0x295afe(0x209)]()[_0x295afe(0x1d3)]>0x1)return!0x1;const _0x197438=_0x2adb7c[_0x295afe(0x209)](),_0x15d530=_0x197438[_0x295afe(0x1d3)];if(_0x15d530===0x1)return!0x1;for(let _0x194765=0x0;_0x194765<_0x15d530;_0x194765++){const _0x1c9d55=_0x197438[_0x194765];if(!(_0x1c9d55 instanceof c[_0x295afe(0x190)])&&c[_0x295afe(0x18c)][_0x295afe(0x1bc)](_0x1c9d55))return!0x0;}return!0x1;}}class j extends c[_0x398b88(0x199)]{async[_0x398b88(0x1b2)](_0xdb9957=!0x1){const _0xca49c7=_0x398b88;_0xdb9957?this[_0xca49c7(0x1c0)][_0xca49c7(0x151)](c[_0xca49c7(0x148)][_0xca49c7(0x171)]):this[_0xca49c7(0x1c0)][_0xca49c7(0x151)](c['FormulaExecuteStageType'][_0xca49c7(0x1bd)]),this[_0xca49c7(0x1f8)][_0xca49c7(0x1d5)](this[_0xca49c7(0x1c0)][_0xca49c7(0x174)]());const _0x536047=await this[_0xca49c7(0x1ab)][_0xca49c7(0x1fb)](),_0x5361a0=this['_interpreter'];_0xdb9957?(this['_runtimeService'][_0xca49c7(0x151)](c['FormulaExecuteStageType'][_0xca49c7(0x1ed)]),this[_0xca49c7(0x1c0)][_0xca49c7(0x1ca)](_0x536047[_0xca49c7(0x1d3)])):(this['_runtimeService'][_0xca49c7(0x151)](c[_0xca49c7(0x148)][_0xca49c7(0x15d)]),this['_runtimeService'][_0xca49c7(0x19d)](_0x536047['length'])),this[_0xca49c7(0x1f8)]['next'](this[_0xca49c7(0x1c0)][_0xca49c7(0x174)]());let _0xe67ef2=[];const _0x402d2e=this[_0xca49c7(0x1ad)]['getConfig'](c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x2f4dfe=(_0x402d2e==null?void 0x0:_0x402d2e['intervalCount'])||c[_0xca49c7(0x1ee)];let _0x207e84=0x0;const _0x42b540=_0x536047[_0xca49c7(0x1d3)];for(;_0x536047['length']>0x0;){const _0x186d60=_0x536047[_0xca49c7(0x1f5)](),_0x5a558e=c[_0xca49c7(0x16c)](_0x186d60[_0xca49c7(0x1b1)],_0x186d60['formula'],this[_0xca49c7(0x1c2)],this[_0xca49c7(0x175)],this[_0xca49c7(0x20c)]),_0x2a3dda={'node':_0x5a558e,'refOffsetX':_0x186d60[_0xca49c7(0x1eb)],'refOffsetY':_0x186d60[_0xca49c7(0x1d6)]},_0x41a5a3=_0x186d60[_0xca49c7(0x1de)];if(_0x207e84%_0x2f4dfe===0x0&&(await new Promise(_0x4f4ba6=>{const _0x4e5af9=_0xca49c7,_0x48dee2=D['requestImmediateMacroTask'](_0x4f4ba6);_0xe67ef2[_0x4e5af9(0x15e)](_0x48dee2);}),_0xdb9957?(this['_runtimeService']['setFormulaExecuteStage'](c['FormulaExecuteStageType'][_0xca49c7(0x1ff)]),this['_runtimeService'][_0xca49c7(0x1fd)](_0x207e84+0x1)):(this[_0xca49c7(0x1c0)]['setFormulaExecuteStage'](c[_0xca49c7(0x148)]['CURRENTLY_CALCULATING']),this['_runtimeService'][_0xca49c7(0x133)](_0x207e84+0x1)),this[_0xca49c7(0x1f8)]['next'](this[_0xca49c7(0x1c0)][_0xca49c7(0x174)]()),this['_runtimeService'][_0xca49c7(0x186)]()||_0x2a3dda==null&&_0x41a5a3==null)){this[_0xca49c7(0x1c0)][_0xca49c7(0x151)](c['FormulaExecuteStageType'][_0xca49c7(0x14c)]),this[_0xca49c7(0x1c0)][_0xca49c7(0x1ba)](),this[_0xca49c7(0x1bf)]['next'](this[_0xca49c7(0x1c0)][_0xca49c7(0x158)]());return;}this[_0xca49c7(0x1c0)][_0xca49c7(0x13e)](_0x186d60[_0xca49c7(0x200)],_0x186d60[_0xca49c7(0x16f)],_0x186d60[_0xca49c7(0x1a3)],_0x186d60[_0xca49c7(0x1a0)],_0x186d60[_0xca49c7(0x1b5)],_0x186d60[_0xca49c7(0x1b1)]);let _0x4171c4;if(_0x41a5a3!=null&&_0x186d60[_0xca49c7(0x167)]!=null){const {runtimeCellData:_0x4627a8,dirtyRanges:_0x5a7f09}=_0x41a5a3(this[_0xca49c7(0x20c)]['getDirtyData'](),this[_0xca49c7(0x1c0)][_0xca49c7(0x158)]());this[_0xca49c7(0x1c0)][_0xca49c7(0x1ec)](_0x186d60['featureId'],_0x4627a8),this[_0xca49c7(0x1c0)][_0xca49c7(0x1dc)](_0x186d60[_0xca49c7(0x167)],_0x5a7f09);}else _0x2a3dda!=null&&(_0x5361a0[_0xca49c7(0x211)](_0x2a3dda[_0xca49c7(0x195)])?_0x4171c4=await _0x5361a0[_0xca49c7(0x168)](_0x2a3dda):_0x4171c4=_0x5361a0['execute'](_0x2a3dda),_0x186d60['formulaId']!=null?this[_0xca49c7(0x1c0)][_0xca49c7(0x1ac)](_0x186d60[_0xca49c7(0x1cf)],_0x186d60[_0xca49c7(0x1eb)],_0x186d60['refOffsetY'],_0x4171c4):this[_0xca49c7(0x1c0)][_0xca49c7(0x16e)](_0x4171c4));_0x5a558e[_0xca49c7(0x160)](),_0x207e84++;}return _0xe67ef2[_0xca49c7(0x172)](_0x20916f=>_0x20916f()),_0xe67ef2=[],_0x42b540>0x0?this[_0xca49c7(0x1c0)][_0xca49c7(0x166)]():_0xdb9957||this['_runtimeService'][_0xca49c7(0x1a8)](),this['_runtimeService']['getAllRuntimeData']();}}class X extends c['DependencyManagerBaseService']{constructor(){const _0x1d8f95=_0x398b88;super(...arguments),L(this,_0x1d8f95(0x1f6),new Map()),L(this,'_dependencyRTreeCache',new D[(_0x1d8f95(0x185))](!0x0));}['reset'](){const _0x14a62d=_0x398b88;this[_0x14a62d(0x1a5)][_0x14a62d(0x18e)](),this['_featureFormulaData']['clear'](),this[_0x14a62d(0x198)][_0x14a62d(0x18e)](),this[_0x14a62d(0x204)][_0x14a62d(0x18e)](),this[_0x14a62d(0x1f6)][_0x14a62d(0x18e)](),this[_0x14a62d(0x1a1)](),this[_0x14a62d(0x1d0)]['clear']();}[_0x398b88(0x1e4)](_0x105a72,_0x3af13f,_0x385852,_0x340686){const _0x2b102c=_0x398b88;this[_0x2b102c(0x1a5)][_0x2b102c(0x1bc)](_0x105a72)||this[_0x2b102c(0x1a5)][_0x2b102c(0x150)](_0x105a72,new Map());const _0x4f07fd=this['_otherFormulaData'][_0x2b102c(0x164)](_0x105a72);_0x4f07fd[_0x2b102c(0x1bc)](_0x3af13f)||_0x4f07fd[_0x2b102c(0x150)](_0x3af13f,new Map());const _0x2af9ef=_0x4f07fd[_0x2b102c(0x164)](_0x3af13f);_0x2af9ef[_0x2b102c(0x1bc)](_0x385852)||_0x2af9ef[_0x2b102c(0x150)](_0x385852,new D['ObjectMatrix']()),_0x2af9ef[_0x2b102c(0x164)](_0x385852)[_0x2b102c(0x1dd)](_0x340686[_0x2b102c(0x1eb)],_0x340686[_0x2b102c(0x1d6)],_0x340686[_0x2b102c(0x146)]);}[_0x398b88(0x153)](_0x4133b4,_0x5af48d,_0x1b74cb){const _0x103895=_0x398b88,_0x403d55=this[_0x103895(0x1a5)]['get'](_0x4133b4);if(_0x403d55&&_0x403d55[_0x103895(0x1bc)](_0x5af48d)){const _0x508b1c=_0x403d55[_0x103895(0x164)](_0x5af48d);_0x1b74cb[_0x103895(0x172)](_0xee798d=>{const _0x5b8114=_0x103895,_0x3fcff3=_0x508b1c[_0x5b8114(0x164)](_0xee798d);_0x3fcff3!=null&&(_0x3fcff3[_0x5b8114(0x1e0)]((_0x3d2590,_0x27d5c4,_0x7d455b)=>{const _0x68eb5c=_0x5b8114;this[_0x68eb5c(0x194)](_0x7d455b),this['_removeAllTreeMap'](_0x7d455b);}),_0x508b1c[_0x5b8114(0x18d)](_0xee798d),this['_otherFormulaDataMainData'][_0x5b8114(0x18d)](_0xee798d));}),_0x508b1c[_0x103895(0x147)]===0x0&&_0x403d55[_0x103895(0x18d)](_0x5af48d),_0x403d55[_0x103895(0x147)]===0x0&&this['_otherFormulaData']['delete'](_0x4133b4);}}['clearOtherFormulaDependency'](_0x2d163f,_0x144ad6){const _0x4b2ecb=_0x398b88,_0x5d86cc=this[_0x4b2ecb(0x1a5)][_0x4b2ecb(0x164)](_0x2d163f);if(_0x144ad6&&_0x5d86cc&&_0x5d86cc[_0x4b2ecb(0x1bc)](_0x144ad6)){const _0x2c5b34=_0x5d86cc[_0x4b2ecb(0x164)](_0x144ad6);this['_removeDependencyRTreeCacheById'](_0x2d163f,_0x144ad6);for(const _0x4b2841 of _0x2c5b34[_0x4b2ecb(0x1a9)]()){const _0x57f1ed=_0x2c5b34[_0x4b2ecb(0x164)](_0x4b2841);_0x57f1ed!=null&&(_0x57f1ed[_0x4b2ecb(0x1e0)]((_0x5c8ff7,_0x3e62d4,_0x5b852c)=>{const _0x2d1b80=_0x4b2ecb;this[_0x2d1b80(0x1f6)][_0x2d1b80(0x164)](_0x5b852c)&&this[_0x2d1b80(0x155)](_0x5b852c);}),this[_0x4b2ecb(0x1d0)]['delete'](_0x4b2841));}_0x2c5b34[_0x4b2ecb(0x18e)]();}else{if(_0x5d86cc){for(const _0x4eb9ad of _0x5d86cc[_0x4b2ecb(0x1a9)]()){const _0x3bbeca=_0x5d86cc[_0x4b2ecb(0x164)](_0x4eb9ad);this[_0x4b2ecb(0x1e3)](_0x2d163f,_0x4eb9ad);for(const _0x453982 of _0x3bbeca[_0x4b2ecb(0x1a9)]()){const _0x1bedcc=_0x3bbeca[_0x4b2ecb(0x164)](_0x453982);_0x1bedcc!=null&&(_0x1bedcc[_0x4b2ecb(0x1e0)]((_0x3f0525,_0x4061f4,_0x3ede51)=>{const _0x6d5d5e=_0x4b2ecb;this[_0x6d5d5e(0x1f6)]['get'](_0x3ede51)&&this[_0x6d5d5e(0x155)](_0x3ede51);}),this['_otherFormulaDataMainData'][_0x4b2ecb(0x18d)](_0x453982));}}this[_0x4b2ecb(0x1a5)][_0x4b2ecb(0x18d)](_0x2d163f);}}}[_0x398b88(0x1d9)](_0x29fa39,_0x1bd6c0,_0x1baa50,_0x3e8a0a){const _0x42d199=_0x398b88;this[_0x42d199(0x202)]['has'](_0x29fa39)||this['_featureFormulaData'][_0x42d199(0x150)](_0x29fa39,new Map());const _0x45bee0=this['_featureFormulaData'][_0x42d199(0x164)](_0x29fa39);_0x45bee0[_0x42d199(0x1bc)](_0x1bd6c0)||_0x45bee0[_0x42d199(0x150)](_0x1bd6c0,new Map()),_0x45bee0[_0x42d199(0x164)](_0x1bd6c0)[_0x42d199(0x150)](_0x1baa50,_0x3e8a0a[_0x42d199(0x146)]);}[_0x398b88(0x1c4)](_0x4ba123,_0x2ea7bd,_0x51af05){const _0x4f2249=_0x398b88,_0x5bc233=this[_0x4f2249(0x202)]['get'](_0x4ba123);if(_0x5bc233&&_0x5bc233[_0x4f2249(0x1bc)](_0x2ea7bd)){const _0x3a617d=_0x5bc233[_0x4f2249(0x164)](_0x2ea7bd);_0x51af05[_0x4f2249(0x172)](_0xc55b17=>{const _0x133663=_0x4f2249,_0x22e5d7=_0x3a617d['get'](_0xc55b17);_0x22e5d7!=null&&(this['_removeDependencyRTreeCache'](_0x22e5d7),_0x3a617d[_0x133663(0x18d)](_0xc55b17),this[_0x133663(0x155)](_0x22e5d7));});}}['clearFeatureFormulaDependency'](_0x34b9dd,_0x414d40){const _0x441c5b=_0x398b88,_0x3859a3=this[_0x441c5b(0x202)][_0x441c5b(0x164)](_0x34b9dd);if(_0x414d40&&_0x3859a3&&_0x3859a3['has'](_0x414d40)){const _0x54a7a6=_0x3859a3[_0x441c5b(0x164)](_0x414d40);this[_0x441c5b(0x1e3)](_0x34b9dd,_0x414d40),_0x54a7a6['forEach'](_0x2f2f70=>{_0x2f2f70!=null&&this['_removeAllTreeMap'](_0x2f2f70);}),_0x54a7a6['clear']();}else _0x3859a3&&(_0x3859a3[_0x441c5b(0x172)]((_0x5842ce,_0x205eaa)=>{const _0x1c1174=_0x441c5b;this[_0x1c1174(0x1e3)](_0x34b9dd,_0x205eaa),_0x5842ce['forEach'](_0x2393f6=>{const _0x5a49e7=_0x1c1174;_0x2393f6!=null&&this[_0x5a49e7(0x155)](_0x2393f6);});}),this['_featureFormulaData'][_0x441c5b(0x18d)](_0x34b9dd));}[_0x398b88(0x140)](_0x29759c,_0x5cb55b,_0x234d75,_0x3ee1e5,_0x2c3a4f){const _0x36f12c=_0x398b88;this[_0x36f12c(0x198)][_0x36f12c(0x1bc)](_0x29759c)||this['_formulaData']['set'](_0x29759c,new Map());const _0x399a22=this[_0x36f12c(0x198)][_0x36f12c(0x164)](_0x29759c);_0x399a22[_0x36f12c(0x1bc)](_0x5cb55b)||_0x399a22[_0x36f12c(0x150)](_0x5cb55b,new D[(_0x36f12c(0x1b3))]()),_0x399a22[_0x36f12c(0x164)](_0x5cb55b)[_0x36f12c(0x1dd)](_0x234d75,_0x3ee1e5,_0x2c3a4f[_0x36f12c(0x146)]);}[_0x398b88(0x19c)](_0x474731,_0x4a176f,_0x2d5c9f,_0x5878c9){const _0x21833a=_0x398b88,_0x1d9a02=this[_0x21833a(0x198)][_0x21833a(0x164)](_0x474731);if(_0x1d9a02&&_0x1d9a02[_0x21833a(0x1bc)](_0x4a176f)){const _0x2c5fcf=_0x1d9a02[_0x21833a(0x164)](_0x4a176f),_0x4e9b28=_0x2c5fcf[_0x21833a(0x180)](_0x2d5c9f,_0x5878c9);if(_0x4e9b28==null)return;this[_0x21833a(0x194)](_0x4e9b28),_0x2c5fcf['realDeleteValue'](_0x2d5c9f,_0x5878c9),this[_0x21833a(0x155)](_0x4e9b28);}}[_0x398b88(0x19f)](_0x148cb3,_0x4ac26b){const _0x4e0a32=_0x398b88,_0x107541=this[_0x4e0a32(0x198)][_0x4e0a32(0x164)](_0x148cb3);if(_0x4ac26b&&_0x107541&&_0x107541['has'](_0x4ac26b)){const _0x118c69=_0x107541[_0x4e0a32(0x164)](_0x4ac26b);this[_0x4e0a32(0x1e3)](_0x148cb3,_0x4ac26b),_0x118c69['forValue']((_0x185c8d,_0x18c671,_0xdfa7b2)=>{if(_0xdfa7b2==null)return!0x0;this['_removeAllTreeMap'](_0xdfa7b2);}),_0x118c69[_0x4e0a32(0x138)]();}else _0x107541&&(_0x107541[_0x4e0a32(0x172)]((_0x2ac8d1,_0x1183cc)=>{const _0x17d1ad=_0x4e0a32;this[_0x17d1ad(0x1e3)](_0x148cb3,_0x1183cc),_0x2ac8d1['forValue']((_0x23b632,_0x4a2a3d,_0x4123c8)=>{if(_0x4123c8==null)return!0x0;this['_removeAllTreeMap'](_0x4123c8);});}),this[_0x4e0a32(0x198)][_0x4e0a32(0x18d)](_0x148cb3));}[_0x398b88(0x194)](_0x3a6e64){const _0xb6f3e9=_0x398b88;if(_0x3a6e64==null)return;const _0x49e152=this[_0xb6f3e9(0x1f6)][_0xb6f3e9(0x164)](_0x3a6e64);if(_0x49e152){const _0x2a7d6b=[];for(const [_0x2c380e,_0x4f1e8b]of _0x49e152)for(const [_0x4ec021,_0x40c65a]of _0x4f1e8b)_0x2a7d6b[_0xb6f3e9(0x15e)]({'unitId':_0x2c380e,'sheetId':_0x4ec021,'range':_0x40c65a,'id':_0x3a6e64});this['_dependencyRTreeCache'][_0xb6f3e9(0x14f)](_0x2a7d6b);}}[_0x398b88(0x17a)](_0x13138d,_0xd0b6be){const _0x57c8a4=_0x398b88,_0x46481c=this[_0x57c8a4(0x169)][_0x57c8a4(0x164)](_0x13138d);if(_0x46481c){const _0x221c73=_0x46481c[_0x57c8a4(0x164)](_0xd0b6be);if(_0x221c73){for(const _0x1d2e0d of _0x221c73)this[_0x57c8a4(0x194)](_0x1d2e0d),this[_0x57c8a4(0x155)](_0x1d2e0d);_0x221c73[_0x57c8a4(0x18e)]();}}}['openKdTree'](){const _0x27fb95=_0x398b88;this[_0x27fb95(0x204)][_0x27fb95(0x1e6)]();}[_0x398b88(0x1b7)](){const _0x4e14e6=_0x398b88;this[_0x4e14e6(0x204)][_0x4e14e6(0x1b7)]();}[_0x398b88(0x155)](_0x581787){const _0x5ba86e=_0x398b88;_0x581787!=null&&this[_0x5ba86e(0x1f6)][_0x5ba86e(0x18d)](_0x581787);}[_0x398b88(0x139)](_0x4c04eb){const _0x25780c=_0x398b88;var _0x3c0a26,_0x5cc148;const _0x1a4dc2=_0x4c04eb[_0x25780c(0x1e8)];let _0xdb015a=this['_allTreeMap']['get'](_0x4c04eb['treeId']);for(let _0x3aae40=0x0;_0x3aae40<_0x1a4dc2[_0x25780c(0x1d3)];_0x3aae40++){const _0x2e68c5=_0x1a4dc2[_0x3aae40];let {unitId:_0x1dcb06,sheetId:_0x47e250,range:_0x493224}=_0x2e68c5;_0xdb015a||(_0xdb015a=new Map(),this[_0x25780c(0x1f6)][_0x25780c(0x150)](_0x4c04eb['treeId'],_0xdb015a)),_0xdb015a['has'](_0x1dcb06)||_0xdb015a[_0x25780c(0x150)](_0x1dcb06,new Map());const _0x644c57=(_0x3c0a26=_0xdb015a==null?void 0x0:_0xdb015a['get'](_0x1dcb06))==null?void 0x0:_0x3c0a26[_0x25780c(0x164)](_0x47e250);_0x644c57&&(_0x493224={'startRow':Math[_0x25780c(0x1ae)](_0x493224[_0x25780c(0x20d)],_0x644c57[_0x25780c(0x20d)]),'startColumn':Math[_0x25780c(0x1ae)](_0x493224['startColumn'],_0x644c57['startColumn']),'endRow':Math[_0x25780c(0x163)](_0x493224[_0x25780c(0x187)],_0x644c57[_0x25780c(0x187)]),'endColumn':Math[_0x25780c(0x163)](_0x493224[_0x25780c(0x1be)],_0x644c57[_0x25780c(0x1be)])}),(_0x5cc148=_0xdb015a[_0x25780c(0x164)](_0x1dcb06))==null||_0x5cc148[_0x25780c(0x150)](_0x47e250,_0x493224);}}}function _0x1479(_0x4cf893,_0x55df6d){const _0x3a7144=_0x3a71();return _0x1479=function(_0x147988,_0x45e1ab){_0x147988=_0x147988-0x133;let _0x2d80c7=_0x3a7144[_0x147988];return _0x2d80c7;},_0x1479(_0x4cf893,_0x55df6d);}var W=Object[_0x398b88(0x20f)],$=(_0x1f74f5,_0x741048,_0x26cc6e,_0x2bff0b)=>{const _0x18e169=_0x398b88;for(var _0x4b8771=_0x2bff0b>0x1?void 0x0:_0x2bff0b?W(_0x741048,_0x26cc6e):_0x741048,_0x25ad68=_0x1f74f5[_0x18e169(0x1d3)]-0x1,_0x1e4057;_0x25ad68>=0x0;_0x25ad68--)(_0x1e4057=_0x1f74f5[_0x25ad68])&&(_0x4b8771=_0x1e4057(_0x4b8771)||_0x4b8771);return _0x4b8771;};function _0x3a71(){const _0x1a97c2=['isFeatureAuthorizedWithinTime','setCurrent','IFormulaDependencyGenerator','addFormulaDependency','2512010JWFQuu','Lambda\x20parameter\x20name\x20\x22','dirtyRanges','getSheetFeatureLimit','getFeatureFormulaDependency','treeId','size','FormulaExecuteStageType','_checkAddBracketForMinus','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_checkIsCycleDependency','IDLE','toStringTag','_dependencyManagerService','bulkRemove','set','setFormulaExecuteStage','RBLIi27L\x20CEItdGi27L(82IELAE,\x20GBe82IJEd)\x20{\x20\x20\x20\x20itd\x20{\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2082IELAEcLR7TgtiDttgd\x20=\x2082IELAE.AG82i(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x207t2s2LVEAAgsE\x20=\x20NSKv.GgtAE(gi7e(82IELAEcLR7TgtiDttgd[Q]));\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!7t2s2LVEAAgsE.BC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207t2s2LVEAAgsE.BC\x20=\x20vBFeEt(82IELAEcLR7TgtiDttgd[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Ay7txEt\x20=\x20idGE7R\x20y7txEtq87eg8SI7GE\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20AE8R\x202LAigLIE7R\x20y7txEtq87eg8SI7GE;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Art7pAEt\x20=\x20idGE7R\x20p2LC7p\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20idGE7R\x20p2LC7p.87Igi27L\x20!==\x20\x27BLCER2LEC\x27;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20I7LiEhi\x20=\x202Ay7txEt\x20?\x20AE8R\x20:\x20(2Art7pAEt\x20?\x20p2LC7p\x20:\x20s87eg8U42A);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(FEAAgsEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[a]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(A2sLgiBtEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLXg82C\x20=\x20I7LiEhi.__ZEt2Rd__(A2sLgiBtE,\x20FEAAgsE,\x20GBe82IJEd);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20C7Fg2L\x20=\x207t2s2LVEAAgsE.CF;\x20\x20\x20\x20\x20\x20\x20\x20RBLIi27L\x202A97Fg2LVgiI42Ls(7TgiiEtL,\x207W7Ai)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtL\x20=\x207TgiiEtL.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047Ai\x20=\x207W7Ai.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLTgtiA\x20=\x20GgiiEtL.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiTgtiA\x20=\x2047Ai.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!GgiiEtL.2LI8BCEA(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtL\x20===\x2047Ai;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(GgiiEtLTgtiA.8ELsi4\x20<\x20Q\x20||\x20GgiiEtLTgtiA[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLSBRR2h\x20=\x20GgiiEtLTgtiA.A82IE(l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiSBRR2h\x20=\x2047AiTgtiA.A82IE(-GgiiEtLTgtiA.8ELsi4\x20+\x20l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtLSBRR2h\x20===\x2047AiSBRR2h;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208Ei\x20C7Fg2LXg82C\x20=\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x202R\x20(2Art7pAEt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20(C7Fg2L\x20&&\x20C7Fg2L.8ELsi4)\x20?\x20C7Fg2L.A7FE((CFciEF)\x20=>\x202A97Fg2LVgiI42Ls(CFciEF,\x2087Igi27L.47AiLgFE))\x20:\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(87Igi27L.47AiLgFE\x20===\x20\x2787Ig847Ai\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20E8AE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20Zg82C\x20=\x20A2sLXg82C\x20&&\x20C7Fg2LXg82C;\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x207t2s2LVEAAgsE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IgiI4\x20(Ett7t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C:\x20Rg8AE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','removeOtherFormulaDependency','isCache','_removeAllTreeMap','bulkSearch','ICalculateFormulaService','getAllRuntimeData','_updateRangeFlatten','DEFAULT_TOKEN_LET_FUNCTION_NAME','_lambdaFunctionParameterSet','return\x20','START_CALCULATION','push','OTHER_FORMULA','resetCalculationState','_handleNewFunctionChild','clearFeatureFormulaDependency','max','get','2346696nDBQJF','markedAsSuccessfullyExecuted','featureId','executeAsync','_definedNameMap','_getTreeById','VALUE','generateAstNode','parseInt','setRuntimeData','column','UniverFormulaEnginePlugin','START_DEPENDENCY_ARRAY_FORMULA','forEach','COLON','getRuntimeState','_astTreeBuilder','clearArrayObjectCache','isVirtual','add','getToken','removeFormulaDependencyByDefinedName','getFormulaDependency','5956811fiPpAn','isArray','toUpperCase','matchToken','getValue','5605576HDpVnJ','LexerTreeBuilder','DEFAULT_TOKEN_TYPE_PARAMETER','type','RTree','isStopExecution','endRow','\x22\x20is\x20duplicated.','dispose','addFormulaDependencyByDefinedName','_getFeatureFormulaTree','OPERATOR_TOKEN_SET','delete','clear','_hasNewExcelFunction','LexerNode','_registerOtherFormulas','18kcdgsy','searchDependency','_removeDependencyRTreeCache','node','11DZUYfi','_calculateRunList','_formulaData','CalculateFormulaService','_traverse','_xlpm.','removeFormulaDependency','setTotalFormulasToCalculate','SUFFIX_TOKEN_SET','clearFormulaDependency','columnCount','_restDependencyTreeId','_config','rowCount','setAdded','_otherFormulaData','_initializeWithOverride','DEFAULT_TOKEN_TYPE_ROOT','markedAsNoFunctionsExecuted','keys','toRTreeItem','_formulaDependencyGenerator','setRuntimeOtherData','_configService','min','FormulaDependencyTree','getOtherFormulaData','unitId','_apply','ObjectMatrix','unshiftString','subUnitId','LS_CONFIG_KEY','closeKdTree','refTree','defineProperty','markedAsStopFunctionsExecuted','_createFDtree','has','START_DEPENDENCY','endColumn','_executionCompleteListener$','_runtimeService','_isCyclicUtilMap','_lexer','1267608HQrwgY','removeFeatureFormulaDependency','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','call','generateRandomDependencyTreeId','join','9BijGyX','setTotalArrayFormulasToCalculate','_dependencyRTreeCacheForAddressFunction','hasOtherFormulaDataMainData','error','_xlfn.','formulaId','_otherFormulaDataMainData','symbol','Let\x20variable\x20name\x20\x22','length','_createVirtualFDtree','next','refOffsetY','isDirty','_generateNewFunctionString','addFeatureFormulaDependency','isExcludeRange','_convertDirtyRangesToUnitRange','setRuntimeFeatureRange','setValue','getDirtyData','UniverProFormulaEnginePlugin','forValue','_initLicenseValid','prefixToken','_removeDependencyRTreeCacheById','addOtherFormulaDependency','DependencyManagerService','openKdTree','ErrorType','rangeList','isAdded','MINUS','refOffsetX','setRuntimeFeatureCellData','START_CALCULATION_ARRAY_FORMULA','DEFAULT_INTERVAL_COUNT','enableCycleDependency','getDirtyRanges','trim','ParentDependencyTree\x20object\x20is\x20null','_injector','41585MsdoVi','pop','_allTreeMap','resolve','_executionInProgressListener$','message','_getFirstCellOfRange','generate','_clearFunctionString','setCompletedArrayFormulasCount','setSkip','CURRENTLY_CALCULATING_ARRAY_FORMULA','row','NEW_EXCEL_FUNCTIONS','_featureFormulaData','formula','_dependencyRTreeCache','prototype','getNewFormulaWithPrefix','slice','getExcludedRange','getChildren','5890695qndeTX','IDependencyManagerService','_currentConfigService','startRow','featureDirtyRanges','getOwnPropertyDescriptor','isSkip','checkAsyncNode','_otherFormulaManagerService','6viVUqL','_getUpdateTreeListAndMakeDependency','treeBuilder','setCompletedFormulasCount','_dependencyTreeCache','notExecuteFormula','default','FormulaDependencyGenerator','reset','_addAllTreeMap','FEATURE_FORMULA','getOtherFormulaDependency','isForceCalculate'];_0x3a71=function(){return _0x1a97c2;};return _0x3a71();}const H=Number[_0x398b88(0x16d)](0x69244942);exports[_0x398b88(0x1df)]=class extends c[_0x398b88(0x170)]{[_0x398b88(0x1a6)](){const _0x14be7a=_0x398b88;var _0x5c2efb,_0x3c7416;this[_0x14be7a(0x1e1)]()?(this[_0x14be7a(0x1f3)][_0x14be7a(0x178)]([c[_0x14be7a(0x182)],{'useClass':Y}]),(_0x5c2efb=this[_0x14be7a(0x1a2)])!=null&&_0x5c2efb[_0x14be7a(0x135)]||[[c[_0x14be7a(0x157)],{'useClass':j}],[c['IDependencyManagerService'],{'useClass':X}],[c[_0x14be7a(0x13f)],{'useClass':K}]][_0x14be7a(0x172)](_0x2e8159=>this[_0x14be7a(0x1f3)][_0x14be7a(0x178)](_0x2e8159))):(this['_injector'][_0x14be7a(0x178)]([c['LexerTreeBuilder'],{'useClass':c[_0x14be7a(0x182)]}]),(_0x3c7416=this[_0x14be7a(0x1a2)])!=null&&_0x3c7416[_0x14be7a(0x135)]||[[c[_0x14be7a(0x157)],{'useClass':c[_0x14be7a(0x199)]}],[c[_0x14be7a(0x20b)],{'useClass':c[_0x14be7a(0x1e5)]}],[c[_0x14be7a(0x13f)],{'useClass':c['FormulaDependencyGenerator']}]][_0x14be7a(0x172)](_0xa421c2=>this[_0x14be7a(0x1f3)]['add'](_0xa421c2)));}[_0x398b88(0x1e1)](){const _0x26f9cb=_0x398b88;var _0x231bb3;const _0x595582=(_0x231bb3=this[_0x26f9cb(0x1ad)]['getConfig'](R[_0x26f9cb(0x1b6)]))!=null?_0x231bb3:{},{ls:_0x21d766,pbk:_0x2fd464}=_0x595582;if(!_0x21d766||!_0x2fd464)return!0x1;const _0x5c3cb1=R[_0x26f9cb(0x1b4)](V,b),_0x1fd02c=new Function(_0x26f9cb(0x15c)+_0x5c3cb1)()(_0x21d766,_0x2fd464),_0x5c51d9=_0x1fd02c[_0x26f9cb(0x1f9)];return _0x1fd02c['valid']&&R[_0x26f9cb(0x13d)](_0x5c51d9,'sf',H)?R[_0x26f9cb(0x144)](_0x5c51d9,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x398b88(0x1df)]=$([D['DependentOn'](R['UniverLicensePlugin'])],exports[_0x398b88(0x1df)]),Object['keys'](c)[_0x398b88(0x172)](_0x58886d=>{const _0x17e8c4=_0x398b88;_0x58886d!==_0x17e8c4(0x136)&&!Object[_0x17e8c4(0x205)]['hasOwnProperty'][_0x17e8c4(0x1c6)](exports,_0x58886d)&&Object[_0x17e8c4(0x1b9)](exports,_0x58886d,{'enumerable':!0x0,'get':()=>c[_0x58886d]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5edb68,_0x2d5e9c){var _0x4ff75e=_0x74a9,_0x3318be=_0x5edb68();while(!![]){try{var _0x36d468=parseInt(_0x4ff75e(0x6e))/0x1+parseInt(_0x4ff75e(0x67))/0x2*(parseInt(_0x4ff75e(0x68))/0x3)+-parseInt(_0x4ff75e(0x6f))/0x4+-parseInt(_0x4ff75e(0x6a))/0x5*(parseInt(_0x4ff75e(0x66))/0x6)+-parseInt(_0x4ff75e(0x6c))/0x7+-parseInt(_0x4ff75e(0x6d))/0x8*(-parseInt(_0x4ff75e(0x69))/0x9)+-parseInt(_0x4ff75e(0x6b))/0xa;if(_0x36d468===_0x2d5e9c)break;else _0x3318be['push'](_0x3318be['shift']());}catch(_0x32b92b){_0x3318be['push'](_0x3318be['shift']());}}}(_0x37e7,0xe6b79));function _0x37e7(){var _0x8a9723=['213174XckIOE','5168965IDcCoI','2540950Umiuez','662830eypZLO','88NZIboB','1739101CakHHu','3665592ADvecG','6znhobi','3266EDGGxy','2286GTeJhd'];_0x37e7=function(){return _0x8a9723;};return _0x37e7();}function _0x74a9(_0x1536aa,_0x5caea4){var _0x37e7b3=_0x37e7();return _0x74a9=function(_0x74a941,_0x294f61){_0x74a941=_0x74a941-0x66;var _0x285a1d=_0x37e7b3[_0x74a941];return _0x285a1d;},_0x74a9(_0x1536aa,_0x5caea4);}export*from'@univerjs/engine-formula/facade';
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x573964=_0xdec2;(function(_0x11cc79,_0xa53e58){const _0x5d8cc5=_0xdec2,_0x5e9a93=_0x11cc79();while(!![]){try{const _0x5935c9=-parseInt(_0x5d8cc5(0x23c))/0x1+parseInt(_0x5d8cc5(0x1a6))/0x2*(parseInt(_0x5d8cc5(0x257))/0x3)+parseInt(_0x5d8cc5(0x1f3))/0x4+-parseInt(_0x5d8cc5(0x215))/0x5+-parseInt(_0x5d8cc5(0x220))/0x6+-parseInt(_0x5d8cc5(0x202))/0x7*(parseInt(_0x5d8cc5(0x22e))/0x8)+parseInt(_0x5d8cc5(0x1be))/0x9;if(_0x5935c9===_0xa53e58)break;else _0x5e9a93['push'](_0x5e9a93['shift']());}catch(_0x581ee5){_0x5e9a93['push'](_0x5e9a93['shift']());}}}(_0x1b92,0xdc6e3));var Q=Object['defineProperty'],Z=(_0x486833,_0x596c02,_0x594078)=>_0x596c02 in _0x486833?Q(_0x486833,_0x596c02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594078}):_0x486833[_0x596c02]=_0x594078,U=(_0x32577e,_0xceb5ee,_0x150e0d)=>Z(_0x32577e,typeof _0xceb5ee!=_0x573964(0x1b4)?_0xceb5ee+'':_0xceb5ee,_0x150e0d);import{UniverLicensePlugin as _0x2cd21f,LS_CONFIG_KEY as _0x2af99a,unshiftString as _0x2d427c,isFeatureAuthorizedWithinTime as _0x38ee9b,getSheetFeatureLimit as _0x456be1}from'@univerjs-pro/license';import{ObjectMatrix as _0x5ac77f,requestImmediateMacroTask as _0x89b5b9,RTree as _0xb5d364,DependentOn as _0x3cc641}from'@univerjs/core';import{FormulaDependencyGenerator as _0x255910,generateRandomDependencyTreeId as _0x3cc5c5,FormulaDependencyTree as _0x4be2a4,FormulaDependencyTreeType as _0x3e40fc,FormulaDependencyTreeVirtual as _0x24ba35,generateAstNode as _0x2df1a6,LexerTreeBuilder as _0x2e2257,ErrorType as _0x1a8afa,DEFAULT_TOKEN_TYPE_ROOT as _0xb16712,DEFAULT_TOKEN_TYPE_PARAMETER as _0xbd1cbf,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x10ce6a,NEW_EXCEL_FUNCTIONS as _0x39446b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13976a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x12300a,matchToken as _0x9d5387,SUFFIX_TOKEN_SET as _0x5d1a12,prefixToken as _0x1cb147,LexerNode as _0x23cfaa,OPERATOR_TOKEN_SET as _0x19d9d1,CalculateFormulaService as _0x36e8da,FormulaExecuteStageType as _0x7e20d4,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x584a32,DEFAULT_INTERVAL_COUNT as _0x143eb6,DependencyManagerBaseService as _0x3514fc,UniverFormulaEnginePlugin as _0x16eec9,ICalculateFormulaService as _0x19f4ab,IDependencyManagerService as _0x345d5c,IFormulaDependencyGenerator as _0x1e8dfb,DependencyManagerService as _0x5f330d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x1b92(){const _0x104f99=['setFormulaExecuteStage','_otherFormulaData','_otherFormulaManagerService','ParentDependencyTree\x20object\x20is\x20null','error','max','_hasNewExcelFunction','featureId','START_CALCULATION','getDirtyNameMap','valid','_lexer','_allTreeMap','dispose','delete','addFormulaDependency','getAllRuntimeData','getOtherFormulaData','addOtherFormulaDependency','3tlYCPp','join','209942AfPBTb','getValue','bulkRemove','set','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','closeKdTree','subUnitId','refOffsetX','getDirtyRanges','isSkip','_generateNewFunctionString','_isCyclicUtilMap','markedAsSuccessfullyExecuted','_generateTreeList','symbol','IDLE','getToken','isForceCalculate','treeId','markedAsNoFunctionsExecuted','addFeatureFormulaDependency','_xlpm.','isCache','setSkip','38847150oOdwUV','realDeleteValue','_initLicenseValid','parseInt','resetCalculationState','endRow','_handleNewFunctionChild','clearOtherFormulaDependency','_otherFormulaDataMainData','keys','execute','setTotalArrayFormulasToCalculate','getChildren','isArray','isDirty','MINUS','getNewFormulaWithPrefix','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','_config','_registerOtherFormulas','push','openKdTree','_getTreeNode','START_CALCULATION_ARRAY_FORMULA','_dependencyTreeCache','_convertDirtyRangesToUnitRange','OTHER_FORMULA','bulkSearch','_configService','getExcludedRange','string','get','endColumn','_injector','_getFeatureFormulaTree','addFormulaDependencyByDefinedName','COLON','_removeDependencyRTreeCacheById','size','pop','removeFeatureFormulaDependency','_executionInProgressListener$','getClearDependencyTreeCache','formula','clearFeatureFormulaDependency','has','executeAsync','_featureFormulaData','addOtherFormulaDependencyMainData','clear','_getTreeById','_dependencyManagerService','663700hYitDg','_runtimeService','formulaId','setValue','getConfig','min','_createVirtualFDtree','_xlfn.','toRTreeItem','removeFormulaDependency','_formulaDependencyGenerator','_updateRangeFlatten','_traverse','setRuntimeData','_dependencyRTreeCache','11972821DedAQM','removeFormulaDependencyByDefinedName','_dependencyRTreeCacheForAddressFunction','searchDependency','return\x20','rowCount','refOffsetY','setRuntimeFeatureRange','getFormulaData','PLUS','setCurrent','_removeDependencyRTreeCache','dirtyRanges','slice','_calculateRunList','treeBuilder','getFormulaDependency','setCompletedFormulasCount','_formulaData','6750640cJHINv','_restDependencyTreeId','markedAsStopFunctionsExecuted','getUnitData','hasOtherFormulaDataMainData','_getFirstCellOfRange','getRuntimeState','row','_checkIsCycleDependency','isAdded','add','3706590aTbNyh','columnCount','removeOtherFormulaDependency','_interpreter','forEach','CURRENTLY_CALCULATING','setAdded','reset','startRow','_currentConfigService','type','_createFDtree','generate','length','8remAet','_apply','startColumn','Let\x20variable\x20name\x20\x22','notExecuteFormula','VALUE','node','getDirtyData','CURRENTLY_CALCULATING_ARRAY_FORMULA','next','forValue','_checkAddBracketForMinus','_initializeWithOverride','_clearFunctionString','6067CweXqa','rangeList','isVirtual','_astTreeBuilder','clearFormulaDependency','column','unitId','_lambdaFunctionParameterSet'];_0x1b92=function(){return _0x104f99;};return _0x1b92();}function _0xdec2(_0x2cb59f,_0x2373ae){const _0x1b9212=_0x1b92();return _0xdec2=function(_0xdec25f,_0x2eacbe){_0xdec25f=_0xdec25f-0x1a6;let _0x338fbc=_0x1b9212[_0xdec25f];return _0x338fbc;},_0xdec2(_0x2cb59f,_0x2373ae);}const Ce={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},Oe=_0x573964(0x1aa);class Pe extends _0x255910{constructor(){const _0x5d40bc=_0x573964;super(...arguments),U(this,_0x5d40bc(0x1d7),new Map());}[_0x573964(0x251)](){const _0x68f2f9=_0x573964;super[_0x68f2f9(0x251)](),this[_0x68f2f9(0x1d7)][_0x68f2f9(0x1f0)]();}async[_0x573964(0x22c)](){const _0x54a827=_0x573964;this[_0x54a827(0x1fe)]();const _0x4db9ed=this[_0x54a827(0x229)][_0x54a827(0x20a)](),_0x17fb1b=this[_0x54a827(0x246)][_0x54a827(0x255)](),_0x4b553a=this['_currentConfigService'][_0x54a827(0x1e9)]();_0x4b553a!=null&&Object[_0x54a827(0x1c7)](_0x4b553a)[_0x54a827(0x224)](_0xf2de57=>{const _0x1997a9=_0x54a827;_0xf2de57!=null&&Object['keys'](_0x4b553a[_0xf2de57])[_0x1997a9(0x224)](_0x2d2e93=>{const _0x1aaa6e=_0x1997a9;_0x2d2e93!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x1eb)](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x240)](_0xf2de57,_0x2d2e93));});});const _0x37d60e=this['_currentConfigService'][_0x54a827(0x218)]();await this[_0x54a827(0x1b3)](_0x4db9ed,_0x17fb1b,_0x37d60e),this[_0x54a827(0x1f2)]['openKdTree']();const _0x18d700=this[_0x54a827(0x1d0)](),_0x5ba848=this[_0x54a827(0x210)](_0x18d700);return this[_0x54a827(0x21d)](_0x5ba848)&&this['_runtimeService']['enableCycleDependency'](),this[_0x54a827(0x1d7)][_0x54a827(0x1f0)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x54a827(0x1f2)][_0x54a827(0x1ab)](),this[_0x54a827(0x1f4)]['clearArrayObjectCache'](),Promise['resolve'](_0x5ba848);}[_0x573964(0x1b1)](_0x9f2d08,_0x54ff9b){const _0x343479=_0x573964,_0x1ab94e=[_0x9f2d08];for(;_0x1ab94e['length']>0x0;){const _0x4213ae=_0x1ab94e[_0x1ab94e[_0x343479(0x22d)]-0x1];if((_0x54ff9b[_0x343479(0x1de)](_0x4213ae)||0x0)===0x0){_0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x1);const _0x3d8580=this['_dependencyTreeCache']['get'](_0x4213ae);if(_0x3d8580==null){_0x54ff9b['set'](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();continue;}const _0x76a0=this[_0x343479(0x1f2)]['searchDependency'](_0x3d8580[_0x343479(0x1fb)]());for(const _0x17691f of _0x76a0){const _0x37bf87=_0x54ff9b['get'](_0x17691f)||0x0;if(_0x37bf87===0x1)return!0x0;_0x37bf87===0x0&&_0x1ab94e[_0x343479(0x1d3)](_0x17691f);}}else _0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();}return!0x1;}[_0x573964(0x21d)](_0x42621a){const _0x42e45e=_0x573964,_0x5a25d2=new Map();for(const _0x21d8a7 of _0x42621a)if(!_0x5a25d2['has'](_0x21d8a7[_0x42e45e(0x1b8)])&&this[_0x42e45e(0x1b1)](_0x21d8a7[_0x42e45e(0x1b8)],_0x5a25d2))return!0x0;return _0x5a25d2[_0x42e45e(0x1f0)](),!0x1;}[_0x573964(0x1e1)](_0x140883,_0x389e85,_0x1a9118){const _0x380d80=_0x573964,{unitId:_0x55f45c,subUnitId:_0x185ab9,dependencyRanges:_0x3cc1fc,getDirtyData:_0x847009}=_0x1a9118,_0x2f5075=_0x389e85||_0x3cc5c5(this[_0x380d80(0x1f2)]),_0x3788ab=new _0x4be2a4(_0x2f5075);_0x3788ab[_0x380d80(0x242)]=_0x55f45c,_0x3788ab[_0x380d80(0x1ac)]=_0x185ab9,_0x3788ab['rangeList']=_0x3cc1fc,_0x3788ab['getDirtyData']=_0x847009;const _0x2a4b60=_0x847009(this[_0x380d80(0x229)][_0x380d80(0x235)](),this[_0x380d80(0x1f4)]['getAllRuntimeData']()),_0x7ae88=this[_0x380d80(0x1d8)](_0x2a4b60[_0x380d80(0x20e)]);return _0x3788ab['featureDirtyRanges']=_0x7ae88,_0x3788ab[_0x380d80(0x24b)]=_0x140883,_0x3788ab[_0x380d80(0x22a)]=_0x3e40fc['FEATURE_FORMULA'],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x55f45c,_0x185ab9,_0x140883,_0x3788ab),this['_dependencyTreeCache']['set'](_0x3788ab[_0x380d80(0x1b8)],_0x3788ab),this[_0x380d80(0x1f2)]['getFeatureFormulaDependency'](_0x1a9118[_0x380d80(0x242)],_0x1a9118[_0x380d80(0x1ac)],_0x140883)&&(_0x3788ab['isCache']=!0x0),_0x3788ab;}[_0x573964(0x1d2)](_0xfa9a7e,_0x1e2f05,_0x29b769){const _0x192a23=_0x573964;var _0x5a1d7b;for(const _0x4d2917 of _0x1e2f05){const _0x5dbda8=_0xfa9a7e[_0x4d2917];if(_0x5dbda8==null)continue;const _0x1e32d7=Object[_0x192a23(0x1c7)](_0x5dbda8);for(const _0x242f09 of _0x1e32d7){const _0xdb21e=_0x5dbda8[_0x242f09];if(_0xdb21e==null)continue;const _0x30709d=Object[_0x192a23(0x1c7)](_0xdb21e);for(const _0x114ba1 of _0x30709d){const _0x56f161=this['_dependencyManagerService'][_0x192a23(0x219)](_0x114ba1),_0x202af5=_0xdb21e[_0x114ba1],{f:_0x346451,ranges:_0x5e183c}=_0x202af5;let _0x5a6b52=!0x1;_0x56f161&&(_0x5a6b52=!0x0);const {firstRow:_0x1b9a17,firstColumn:_0x580518}=this[_0x192a23(0x21a)](_0x5e183c),_0x121454=this[_0x192a23(0x1f2)]['getOtherFormulaDependency'](_0x4d2917,_0x242f09,_0x114ba1),_0x1ff71e=(_0x5a1d7b=_0x121454==null?void 0x0:_0x121454['getValue'](0x0,0x0))!=null?_0x5a1d7b:_0x3cc5c5(this['_dependencyManagerService']),_0x408d6e=new _0x4be2a4(_0x1ff71e);for(let _0x2aa1e5=0x0;_0x2aa1e5<_0x5e183c['length'];_0x2aa1e5++){const _0x405e3d=_0x5e183c[_0x2aa1e5],{startRow:_0x5c7849,startColumn:_0x1bc072,endRow:_0x367b71,endColumn:_0x328112}=_0x405e3d;for(let _0x3be458=_0x5c7849;_0x3be458<=_0x367b71;_0x3be458++)for(let _0x377cd2=_0x1bc072;_0x377cd2<=_0x328112;_0x377cd2++){const _0x32d2ab=_0x377cd2-_0x580518,_0x19b72d=_0x3be458-_0x1b9a17;if(_0x32d2ab===0x0&&_0x19b72d===0x0){_0x408d6e[_0x192a23(0x1ea)]=_0x346451,_0x408d6e[_0x192a23(0x242)]=_0x4d2917,_0x408d6e[_0x192a23(0x1ac)]=_0x242f09,_0x408d6e[_0x192a23(0x1f5)]=_0x114ba1,_0x408d6e[_0x192a23(0x22a)]=_0x3e40fc[_0x192a23(0x1d9)],_0x408d6e[_0x192a23(0x1bc)]=_0x5a6b52,_0x29b769[_0x192a23(0x1d3)](_0x408d6e),this[_0x192a23(0x1d7)]['set'](_0x408d6e['treeId'],_0x408d6e),this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x408d6e),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x408d6e);continue;}const _0x10f2b0=new _0x24ba35();_0x10f2b0[_0x192a23(0x1b8)]=(_0x121454==null?void 0x0:_0x121454[_0x192a23(0x1a7)](_0x32d2ab,_0x19b72d))||_0x3cc5c5(this[_0x192a23(0x1f2)]),_0x10f2b0['refTree']=_0x408d6e,_0x10f2b0[_0x192a23(0x1ad)]=_0x32d2ab,_0x10f2b0[_0x192a23(0x208)]=_0x19b72d,_0x10f2b0[_0x192a23(0x1bc)]=_0x5a6b52,this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x10f2b0),this[_0x192a23(0x1f2)]['addFormulaDependencyByDefinedName'](_0x10f2b0),_0x29b769[_0x192a23(0x1d3)](_0x10f2b0),this[_0x192a23(0x1d7)][_0x192a23(0x1a9)](_0x10f2b0[_0x192a23(0x1b8)],_0x10f2b0);}}this['_dependencyManagerService'][_0x192a23(0x1ef)](_0x114ba1);}}}}['_registerFormulas'](_0x1fec30,_0x2daaff,_0xdb84fa,_0x4ff9bb){const _0x36577d=_0x573964;for(const _0x5bcbdf of _0x1fec30){const _0x24b38a=_0x2daaff[_0x5bcbdf];if(_0x24b38a==null)continue;const _0x14fcb4=Object['keys'](_0x24b38a);for(const _0x5f405c of _0x14fcb4){const _0x5a9616=new _0x5ac77f(_0x24b38a[_0x5f405c]||{}),_0x4be4ee=new Map();_0x5a9616['forValue']((_0x37d1a4,_0x1c1cf3,_0x173a98)=>{const _0x2aa89b=_0xdec2;if(_0x173a98==null)return!0x0;const {x:_0x416e46=0x0,y:_0x5abb17=0x0,si:_0x20588d}=_0x173a98;if(!(_0x416e46===0x0&&_0x5abb17===0x0&&_0x20588d!=null))return!0x0;const _0x3674e4=this[_0x2aa89b(0x22b)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0xdb84fa,_0x173a98),_0x5a6e90=this[_0x2aa89b(0x1f2)][_0x2aa89b(0x212)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3);_0x5a6e90!=null?_0x3674e4['treeId']=_0x5a6e90:(this[_0x2aa89b(0x1f2)][_0x2aa89b(0x253)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0x3674e4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x3674e4)),_0x4be4ee[_0x2aa89b(0x1a9)](_0x20588d,_0x3674e4),_0x4ff9bb['push'](_0x3674e4),this[_0x2aa89b(0x1d7)][_0x2aa89b(0x1a9)](_0x3674e4[_0x2aa89b(0x1b8)],_0x3674e4);}),_0x5a9616[_0x36577d(0x238)]((_0x41fba4,_0x403e18,_0x3604aa)=>{const _0x3e3253=_0x36577d;if(_0x3604aa==null)return!0x0;const {x:_0x47d746=0x0,y:_0x916d83=0x0,si:_0x4c6ac8}=_0x3604aa;if(_0x47d746===0x0&&_0x916d83===0x0&&_0x4c6ac8!=null)return!0x0;let _0x274d26;if(_0x4c6ac8&&_0x4be4ee['has'](_0x4c6ac8)){const _0x301e80=_0x4be4ee[_0x3e3253(0x1de)](_0x4c6ac8);_0x274d26=this[_0x3e3253(0x1f9)](_0x301e80,_0x3604aa);}else _0x274d26=this[_0x3e3253(0x22b)](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0xdb84fa,_0x3604aa);const _0xfa3126=this[_0x3e3253(0x1f2)]['getFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18);_0xfa3126!=null?_0x274d26[_0x3e3253(0x1b8)]=_0xfa3126:(this[_0x3e3253(0x1f2)]['addFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0x274d26),this[_0x3e3253(0x1f2)][_0x3e3253(0x1e2)](_0x274d26)),_0x4ff9bb[_0x3e3253(0x1d3)](_0x274d26),this['_dependencyTreeCache'][_0x3e3253(0x1a9)](_0x274d26[_0x3e3253(0x1b8)],_0x274d26);}),_0x4be4ee[_0x36577d(0x1f0)]();}}}[_0x573964(0x22b)](_0x35d2f9,_0x52d3f5,_0x18458d,_0x5befd8,_0x876e56,_0x163d16){const _0x4cb018=_0x573964,{f:_0x50888c,x:_0x1c13fc=0x0,y:_0xd3ae70=0x0}=_0x163d16,_0x2e415c=new _0x4be2a4(_0x3cc5c5(this[_0x4cb018(0x1f2)])),_0x4f64f4=_0x876e56[_0x35d2f9][_0x52d3f5];return _0x2e415c[_0x4cb018(0x1ea)]=_0x50888c,_0x2e415c[_0x4cb018(0x242)]=_0x35d2f9,_0x2e415c[_0x4cb018(0x1ac)]=_0x52d3f5,_0x2e415c[_0x4cb018(0x21c)]=_0x18458d,_0x2e415c[_0x4cb018(0x241)]=_0x5befd8,_0x2e415c['rowCount']=_0x4f64f4[_0x4cb018(0x207)],_0x2e415c[_0x4cb018(0x221)]=_0x4f64f4[_0x4cb018(0x221)],_0x2e415c;}[_0x573964(0x1d0)](){const _0x198d50=_0x573964,_0x4daea4=[],_0x631f05=new Set(),_0x33a245=this['_currentConfigService'][_0x198d50(0x1b7)](),_0x1f5ac4=this[_0x198d50(0x229)][_0x198d50(0x1ae)](),_0x4d725a=this[_0x198d50(0x1f2)][_0x198d50(0x205)](_0x1f5ac4),_0x537f65=this[_0x198d50(0x204)][_0x198d50(0x1da)](_0x1f5ac4);for(const _0x3c5b83 of _0x537f65)_0x4d725a[_0x198d50(0x21f)](_0x3c5b83);for(const [_0x5ee843,_0x31d2cf]of this[_0x198d50(0x1d7)])(_0x33a245||_0x31d2cf[_0x198d50(0x1cc)]||_0x31d2cf['dependencySheetName'](this[_0x198d50(0x229)][_0x198d50(0x24d)]())||_0x4d725a[_0x198d50(0x1ec)](_0x5ee843)&&!_0x31d2cf['isExcludeRange'](this[_0x198d50(0x229)][_0x198d50(0x1dc)]()))&&!_0x631f05['has'](_0x5ee843)&&(_0x4daea4[_0x198d50(0x1d3)](_0x31d2cf),_0x631f05['add'](_0x5ee843));for(const [_0x5bcf6a,_0x3f4bfd]of this[_0x198d50(0x1d7)])_0x3f4bfd[_0x198d50(0x23e)]||(_0x3f4bfd[_0x198d50(0x23d)]['length']=0x0);return _0x4daea4;}[_0x573964(0x1f1)](_0x20f5a4){const _0x42a457=_0x573964;return this[_0x42a457(0x1d7)][_0x42a457(0x1de)](_0x20f5a4);}[_0x573964(0x1d5)](_0x289cbe){const _0x56c7bb=_0x573964;return _0x2df1a6(_0x289cbe[_0x56c7bb(0x242)],_0x289cbe[_0x56c7bb(0x1ea)],this[_0x56c7bb(0x24f)],this['_astTreeBuilder'],this[_0x56c7bb(0x229)]);}*[_0x573964(0x1ff)](_0x52867e,_0x5b0b4a){const _0x32bee4=_0x573964,_0x131aff=_0x52867e,_0x2ed826=new Set();for(;_0x131aff[_0x32bee4(0x22d)]>0x0;){const _0x7d586d=_0x131aff[_0x32bee4(0x1e6)]();if(_0x2ed826[_0x32bee4(0x1f0)](),_0x7d586d===void 0x0||_0x7d586d[_0x32bee4(0x1af)]())continue;if(_0x7d586d[_0x32bee4(0x21e)]()){yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a[_0x32bee4(0x21f)](_0x7d586d[_0x32bee4(0x1b8)]);continue;}const _0xa0267e=this['_dependencyManagerService'][_0x32bee4(0x205)](_0x7d586d['toRTreeItem'](),_0x5b0b4a),_0x338a34=this[_0x32bee4(0x204)][_0x32bee4(0x1da)](_0x7d586d[_0x32bee4(0x1fb)](),_0x5b0b4a);for(const _0x4daf06 of _0x338a34)_0xa0267e[_0x32bee4(0x21f)](_0x4daf06);for(const _0x1df8df of _0xa0267e){const _0x678f46=this[_0x32bee4(0x1d7)][_0x32bee4(0x1de)](_0x1df8df);if(!_0x678f46)throw new Error(_0x32bee4(0x247));_0x678f46['isAdded']()||_0x7d586d[_0x32bee4(0x1af)]()||_0x2ed826[_0x32bee4(0x21f)](_0x678f46);}if(_0xa0267e[_0x32bee4(0x1f0)](),_0x2ed826[_0x32bee4(0x1e5)]===0x0)yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a['add'](_0x7d586d['treeId']);else{_0x7d586d[_0x32bee4(0x226)](),_0x131aff[_0x32bee4(0x1d3)](_0x7d586d);for(const _0x220093 of _0x2ed826)_0x131aff['push'](_0x220093);}}_0x131aff[_0x32bee4(0x22d)]=0x0,_0x2ed826[_0x32bee4(0x1f0)]();}['_calculateRunList'](_0x5d770d){const _0x30afa2=_0x573964,_0x325e8b=[],_0x48d382=new Set();for(const _0x441ba0 of this[_0x30afa2(0x1ff)](_0x5d770d,_0x48d382))_0x325e8b['push'](_0x441ba0);return _0x325e8b;}}class Ue extends _0x2e2257{constructor(){const _0x4f3767=_0x573964;super(...arguments),U(this,_0x4f3767(0x24a),!0x1),U(this,'_lambdaFunctionParameterSet',new Set());}[_0x573964(0x1ce)](_0x169dd7,_0xe5e1f1){const _0xa78c9=_0x573964,_0x17d5b7=this[_0xa78c9(0x211)](_0x169dd7,!0x1);if(!_0x17d5b7||_0x17d5b7===_0x1a8afa[_0xa78c9(0x233)]||Array[_0xa78c9(0x1cb)](_0x17d5b7))return null;const _0x20e245=[];return this[_0xa78c9(0x24a)]=!0x1,this[_0xa78c9(0x1b0)](_0x17d5b7,_0x20e245,_0xe5e1f1),this[_0xa78c9(0x24a)]?'='+_0x20e245[_0xa78c9(0x258)](''):null;}[_0x573964(0x1b0)](_0x33db93,_0x1ee4d6,_0x331d42){const _0x51cf4f=_0x573964,_0x3b98c9=_0x33db93[_0x51cf4f(0x1b6)](),_0x58aa21=_0x3b98c9['trim'](),_0x4f35f4=_0x58aa21['toUpperCase'](),_0x521670=this['_clearFunctionString'](_0x4f35f4),_0x5182a6=_0x331d42(_0x521670);let _0x166538=0x0;_0x3b98c9===_0xb16712?_0x166538=0x3:_0x3b98c9===_0xbd1cbf?_0x166538=0x4:_0x3b98c9===_0x10ce6a?_0x166538=0x5:_0x39446b[_0x51cf4f(0x1ec)](_0x521670)?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0):_0x4f35f4===_0x13976a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x2):_0x4f35f4===_0x12300a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x1):_0x4f35f4===_0x9d5387[_0x51cf4f(0x1e3)]?_0x166538=0x8:_0x5d1a12['has'](_0x4f35f4)?_0x166538=0x7:_0x4f35f4===_0x1cb147[_0x51cf4f(0x1cd)]?(this[_0x51cf4f(0x239)](_0x33db93)&&(_0x166538=0x9),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9)):(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),_0x166538=0xa),_0x5182a6?(_0x166538!==0x2&&_0x166538!==0x1&&(_0x166538=0x6),_0x1ee4d6[_0x51cf4f(0x1d3)]('(')):_0x166538===0x9&&_0x1ee4d6[_0x51cf4f(0x1d3)]('(');const _0x3d5688=_0x33db93['getChildren'](),_0x1bbd43=_0x3d5688[_0x51cf4f(0x22d)];if(_0x166538===0x2){const _0x217afc=_0x3d5688[0x0];let _0x75e0d4=0x0;_0x217afc instanceof _0x23cfaa&&_0x217afc[_0x51cf4f(0x1b6)]()===_0x10ce6a&&(_0x75e0d4=0x1);for(let _0x3ad051=_0x75e0d4;_0x3ad051<_0x1bbd43-0x1;_0x3ad051++){const _0x574db7=_0x3d5688[_0x3ad051];if(_0x574db7 instanceof _0x23cfaa){const _0x25d965=_0x574db7[_0x51cf4f(0x1ca)]()[0x0];typeof _0x25d965==_0x51cf4f(0x1dd)&&(this['_lambdaFunctionParameterSet'][_0x51cf4f(0x1ec)](_0x25d965)&&console[_0x51cf4f(0x248)]('Lambda\x20parameter\x20name\x20\x22'+_0x25d965+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x25d965),_0x1ee4d6[_0x51cf4f(0x1d3)]('_xlpm.'+_0x25d965),this[_0x51cf4f(0x24a)]=!0x0);}_0x1ee4d6['push'](',');}this['_handleNewFunctionChild'](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x75e0d4===0x1&&(_0x1ee4d6[_0x51cf4f(0x1d3)](')'),_0x1ee4d6['push']('('),this[_0x51cf4f(0x1b0)](_0x217afc,_0x1ee4d6,_0x331d42)),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x1){for(let _0x582546=0x0;_0x582546<_0x1bbd43-0x1;_0x582546++){const _0x2c9e50=_0x3d5688[_0x582546];if(_0x2c9e50 instanceof _0x23cfaa&&_0x582546%0x2===0x0){const _0x5f17cb=_0x2c9e50['getChildren']()[0x0];if(typeof _0x5f17cb==_0x51cf4f(0x1dd)){this[_0x51cf4f(0x243)][_0x51cf4f(0x1ec)](_0x5f17cb)&&console[_0x51cf4f(0x248)](_0x51cf4f(0x231)+_0x5f17cb+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x5f17cb),_0x1ee4d6['push'](_0x51cf4f(0x1bb)+_0x5f17cb),this['_hasNewExcelFunction']=!0x0,_0x1ee4d6[_0x51cf4f(0x1d3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2c9e50,_0x1ee4d6,_0x331d42),_0x2c9e50 instanceof _0x23cfaa){const _0x252cb8=_0x3d5688[_0x582546+0x1];_0x252cb8&&_0x252cb8 instanceof _0x23cfaa&&_0x1ee4d6[_0x51cf4f(0x1d3)](',');}}this[_0x51cf4f(0x1c4)](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x8){const _0x2ca367=_0x3d5688[0x0],_0x64a63=_0x3d5688[0x1];this[_0x51cf4f(0x1c4)](_0x2ca367,_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),this[_0x51cf4f(0x1c4)](_0x64a63,_0x1ee4d6,_0x331d42);return;}}}for(let _0x21591e=0x0;_0x21591e<_0x1bbd43;_0x21591e++){const _0x3c1c98=_0x3d5688[_0x21591e];if(this[_0x51cf4f(0x1c4)](_0x3c1c98,_0x1ee4d6,_0x331d42),_0x3c1c98 instanceof _0x23cfaa){const _0x303017=_0x3d5688[_0x21591e+0x1];_0x303017&&_0x303017 instanceof _0x23cfaa&&_0x1ee4d6['push'](',');}}_0x166538===0x7&&_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),(_0x5182a6||_0x166538===0x9)&&_0x1ee4d6[_0x51cf4f(0x1d3)](')');}[_0x573964(0x1c4)](_0xca0f6f,_0x5ebe9a,_0x19e32c){const _0x2443ea=_0x573964;_0xca0f6f instanceof _0x23cfaa?this[_0x2443ea(0x1b0)](_0xca0f6f,_0x5ebe9a,_0x19e32c):this['_lambdaFunctionParameterSet'][_0x2443ea(0x1ec)](_0xca0f6f)?(_0x5ebe9a[_0x2443ea(0x1d3)]('_xlpm.'+_0xca0f6f),this[_0x2443ea(0x24a)]=!0x0):_0x5ebe9a[_0x2443ea(0x1d3)](_0xca0f6f);}[_0x573964(0x23b)](_0x47adf6){const _0xe51e86=_0x573964;let _0x4b85a1=_0x47adf6['trim']();if(!_0x4b85a1)return _0x4b85a1;const _0x9187d5=_0x4b85a1[0x0];if((_0x9187d5===_0x1cb147['AT']||_0x9187d5===_0x1cb147[_0xe51e86(0x1cd)]||_0x9187d5===_0x1cb147[_0xe51e86(0x20b)])&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x1)),!_0x4b85a1)return _0x4b85a1;const _0xaf532e=_0x4b85a1[_0x4b85a1[_0xe51e86(0x22d)]-0x1];return _0x5d1a12[_0xe51e86(0x1ec)](_0xaf532e)&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x0,-0x1)),_0x4b85a1;}[_0x573964(0x239)](_0x36877d){const _0x136346=_0x573964,_0x4a073f=_0x36877d['getChildren']()[0x0];if(!_0x4a073f||!(_0x4a073f instanceof _0x23cfaa)||_0x36877d[_0x136346(0x1ca)]()[_0x136346(0x22d)]>0x1)return!0x1;const _0x28f459=_0x4a073f[_0x136346(0x1ca)](),_0x1fe506=_0x28f459['length'];if(_0x1fe506===0x1)return!0x1;for(let _0x437ba3=0x0;_0x437ba3<_0x1fe506;_0x437ba3++){const _0x4efad5=_0x28f459[_0x437ba3];if(!(_0x4efad5 instanceof _0x23cfaa)&&_0x19d9d1['has'](_0x4efad5))return!0x0;}return!0x1;}}class ve extends _0x36e8da{async[_0x573964(0x22f)](_0x49f77a=!0x1){const _0x5086d8=_0x573964;_0x49f77a?this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY']),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());const _0x2a0846=await this[_0x5086d8(0x1fd)][_0x5086d8(0x22c)](),_0x53adc8=this[_0x5086d8(0x223)];_0x49f77a?(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x1d6)]),this['_runtimeService'][_0x5086d8(0x1c9)](_0x2a0846[_0x5086d8(0x22d)])):(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x24c)]),this[_0x5086d8(0x1f4)]['setTotalFormulasToCalculate'](_0x2a0846[_0x5086d8(0x22d)])),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());let _0x478b8c=[];const _0x4c36ee=this[_0x5086d8(0x1db)][_0x5086d8(0x1f7)](_0x584a32),_0x38a6f2=(_0x4c36ee==null?void 0x0:_0x4c36ee['intervalCount'])||_0x143eb6;let _0x363438=0x0;const _0x185b05=_0x2a0846[_0x5086d8(0x22d)];for(;_0x2a0846[_0x5086d8(0x22d)]>0x0;){const _0x35f5b5=_0x2a0846[_0x5086d8(0x1e6)](),_0x5f4662=_0x2df1a6(_0x35f5b5[_0x5086d8(0x242)],_0x35f5b5[_0x5086d8(0x1ea)],this[_0x5086d8(0x24f)],this[_0x5086d8(0x23f)],this[_0x5086d8(0x229)]),_0x5429fa={'node':_0x5f4662,'refOffsetX':_0x35f5b5['refOffsetX'],'refOffsetY':_0x35f5b5[_0x5086d8(0x208)]},_0x2c5d04=_0x35f5b5['getDirtyData'];if(_0x363438%_0x38a6f2===0x0&&(await new Promise(_0x13a954=>{const _0x176115=_0x89b5b9(_0x13a954);_0x478b8c['push'](_0x176115);}),_0x49f77a?(this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x236)]),this[_0x5086d8(0x1f4)]['setCompletedArrayFormulasCount'](_0x363438+0x1)):(this['_runtimeService'][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x225)]),this[_0x5086d8(0x1f4)][_0x5086d8(0x213)](_0x363438+0x1)),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)]['getRuntimeState']()),this['_runtimeService']['isStopExecution']()||_0x5429fa==null&&_0x2c5d04==null)){this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x1b5)]),this['_runtimeService'][_0x5086d8(0x217)](),this['_executionCompleteListener$'][_0x5086d8(0x237)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x5086d8(0x1f4)][_0x5086d8(0x20c)](_0x35f5b5['row'],_0x35f5b5[_0x5086d8(0x241)],_0x35f5b5['rowCount'],_0x35f5b5[_0x5086d8(0x221)],_0x35f5b5['subUnitId'],_0x35f5b5[_0x5086d8(0x242)]);let _0xe73bd5;if(_0x2c5d04!=null&&_0x35f5b5[_0x5086d8(0x24b)]!=null){const {runtimeCellData:_0x8e4660,dirtyRanges:_0x1bc327}=_0x2c5d04(this[_0x5086d8(0x229)][_0x5086d8(0x235)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]());this[_0x5086d8(0x1f4)]['setRuntimeFeatureCellData'](_0x35f5b5[_0x5086d8(0x24b)],_0x8e4660),this[_0x5086d8(0x1f4)][_0x5086d8(0x209)](_0x35f5b5['featureId'],_0x1bc327);}else _0x5429fa!=null&&(_0x53adc8['checkAsyncNode'](_0x5429fa[_0x5086d8(0x234)])?_0xe73bd5=await _0x53adc8[_0x5086d8(0x1ed)](_0x5429fa):_0xe73bd5=_0x53adc8[_0x5086d8(0x1c8)](_0x5429fa),_0x35f5b5[_0x5086d8(0x1f5)]!=null?this[_0x5086d8(0x1f4)]['setRuntimeOtherData'](_0x35f5b5['formulaId'],_0x35f5b5[_0x5086d8(0x1ad)],_0x35f5b5[_0x5086d8(0x208)],_0xe73bd5):this['_runtimeService'][_0x5086d8(0x200)](_0xe73bd5));_0x5f4662[_0x5086d8(0x1c2)](),_0x363438++;}return _0x478b8c['forEach'](_0x52a1f5=>_0x52a1f5()),_0x478b8c=[],_0x185b05>0x0?this[_0x5086d8(0x1f4)][_0x5086d8(0x1b2)]():_0x49f77a||this['_runtimeService'][_0x5086d8(0x1b9)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]();}}class we extends _0x3514fc{constructor(){const _0x295d5e=_0x573964;super(...arguments),U(this,_0x295d5e(0x250),new Map()),U(this,_0x295d5e(0x201),new _0xb5d364(!0x0));}[_0x573964(0x227)](){const _0x1552c5=_0x573964;this[_0x1552c5(0x245)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x1ee)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x214)][_0x1552c5(0x1f0)](),this['_dependencyRTreeCache'][_0x1552c5(0x1f0)](),this[_0x1552c5(0x250)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x216)](),this[_0x1552c5(0x1c6)]['clear']();}['addOtherFormulaDependency'](_0x393259,_0x27c53d,_0x2c1ae9,_0x4d1d7d){const _0x4724f2=_0x573964;this[_0x4724f2(0x245)][_0x4724f2(0x1ec)](_0x393259)||this[_0x4724f2(0x245)]['set'](_0x393259,new Map());const _0xc59ded=this['_otherFormulaData'][_0x4724f2(0x1de)](_0x393259);_0xc59ded[_0x4724f2(0x1ec)](_0x27c53d)||_0xc59ded[_0x4724f2(0x1a9)](_0x27c53d,new Map());const _0x5d8f7a=_0xc59ded[_0x4724f2(0x1de)](_0x27c53d);_0x5d8f7a['has'](_0x2c1ae9)||_0x5d8f7a[_0x4724f2(0x1a9)](_0x2c1ae9,new _0x5ac77f()),_0x5d8f7a[_0x4724f2(0x1de)](_0x2c1ae9)[_0x4724f2(0x1f6)](_0x4d1d7d[_0x4724f2(0x1ad)],_0x4d1d7d[_0x4724f2(0x208)],_0x4d1d7d[_0x4724f2(0x1b8)]);}[_0x573964(0x222)](_0x2fab56,_0x44b7e3,_0x247895){const _0x206db3=_0x573964,_0x5b54f2=this['_otherFormulaData'][_0x206db3(0x1de)](_0x2fab56);if(_0x5b54f2&&_0x5b54f2[_0x206db3(0x1ec)](_0x44b7e3)){const _0x33616c=_0x5b54f2[_0x206db3(0x1de)](_0x44b7e3);_0x247895['forEach'](_0x44269f=>{const _0x26705f=_0x206db3,_0x47c5e1=_0x33616c['get'](_0x44269f);_0x47c5e1!=null&&(_0x47c5e1['forValue']((_0xa5b42b,_0x66e3fd,_0x1c631a)=>{const _0x424623=_0xdec2;this[_0x424623(0x20d)](_0x1c631a),this['_removeAllTreeMap'](_0x1c631a);}),_0x33616c[_0x26705f(0x252)](_0x44269f),this[_0x26705f(0x1c6)][_0x26705f(0x252)](_0x44269f));}),_0x33616c[_0x206db3(0x1e5)]===0x0&&_0x5b54f2[_0x206db3(0x252)](_0x44b7e3),_0x5b54f2[_0x206db3(0x1e5)]===0x0&&this['_otherFormulaData'][_0x206db3(0x252)](_0x2fab56);}}[_0x573964(0x1c5)](_0x34ecf4,_0x9ac1c2){const _0x4cb7d0=_0x573964,_0x4d8e87=this[_0x4cb7d0(0x245)][_0x4cb7d0(0x1de)](_0x34ecf4);if(_0x9ac1c2&&_0x4d8e87&&_0x4d8e87[_0x4cb7d0(0x1ec)](_0x9ac1c2)){const _0x34d9fb=_0x4d8e87['get'](_0x9ac1c2);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0x9ac1c2);for(const _0x427b8a of _0x34d9fb[_0x4cb7d0(0x1c7)]()){const _0x565d3c=_0x34d9fb['get'](_0x427b8a);_0x565d3c!=null&&(_0x565d3c[_0x4cb7d0(0x238)]((_0x16fc62,_0x14e68e,_0xa7d9a)=>{const _0x94973a=_0x4cb7d0;this[_0x94973a(0x250)][_0x94973a(0x1de)](_0xa7d9a)&&this['_removeAllTreeMap'](_0xa7d9a);}),this['_otherFormulaDataMainData'][_0x4cb7d0(0x252)](_0x427b8a));}_0x34d9fb['clear']();}else{if(_0x4d8e87){for(const _0xe41ff5 of _0x4d8e87['keys']()){const _0x2f2843=_0x4d8e87[_0x4cb7d0(0x1de)](_0xe41ff5);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0xe41ff5);for(const _0x1be7fe of _0x2f2843[_0x4cb7d0(0x1c7)]()){const _0xb930d7=_0x2f2843[_0x4cb7d0(0x1de)](_0x1be7fe);_0xb930d7!=null&&(_0xb930d7['forValue']((_0x8bf310,_0x25f292,_0x45f102)=>{const _0x3cccfc=_0x4cb7d0;this[_0x3cccfc(0x250)][_0x3cccfc(0x1de)](_0x45f102)&&this[_0x3cccfc(0x1cf)](_0x45f102);}),this[_0x4cb7d0(0x1c6)][_0x4cb7d0(0x252)](_0x1be7fe));}}this['_otherFormulaData'][_0x4cb7d0(0x252)](_0x34ecf4);}}}[_0x573964(0x1ba)](_0x5121ef,_0x30bde5,_0x4c4034,_0x18c808){const _0x180054=_0x573964;this[_0x180054(0x1ee)][_0x180054(0x1ec)](_0x5121ef)||this[_0x180054(0x1ee)][_0x180054(0x1a9)](_0x5121ef,new Map());const _0x391148=this[_0x180054(0x1ee)]['get'](_0x5121ef);_0x391148['has'](_0x30bde5)||_0x391148[_0x180054(0x1a9)](_0x30bde5,new Map()),_0x391148['get'](_0x30bde5)[_0x180054(0x1a9)](_0x4c4034,_0x18c808[_0x180054(0x1b8)]);}[_0x573964(0x1e7)](_0x26c6f9,_0xe47f96,_0x2c3497){const _0x396520=_0x573964,_0xd376ef=this[_0x396520(0x1ee)][_0x396520(0x1de)](_0x26c6f9);if(_0xd376ef&&_0xd376ef[_0x396520(0x1ec)](_0xe47f96)){const _0x3d9fe4=_0xd376ef[_0x396520(0x1de)](_0xe47f96);_0x2c3497[_0x396520(0x224)](_0x43f7d0=>{const _0x65fa37=_0x396520,_0x21e7e5=_0x3d9fe4[_0x65fa37(0x1de)](_0x43f7d0);_0x21e7e5!=null&&(this[_0x65fa37(0x20d)](_0x21e7e5),_0x3d9fe4[_0x65fa37(0x252)](_0x43f7d0),this[_0x65fa37(0x1cf)](_0x21e7e5));});}}[_0x573964(0x1eb)](_0x523b57,_0x41e5b5){const _0x4bd84f=_0x573964,_0x308d35=this[_0x4bd84f(0x1ee)][_0x4bd84f(0x1de)](_0x523b57);if(_0x41e5b5&&_0x308d35&&_0x308d35[_0x4bd84f(0x1ec)](_0x41e5b5)){const _0x1349b5=_0x308d35[_0x4bd84f(0x1de)](_0x41e5b5);this[_0x4bd84f(0x1e4)](_0x523b57,_0x41e5b5),_0x1349b5[_0x4bd84f(0x224)](_0x28df37=>{const _0x4ae3ca=_0x4bd84f;_0x28df37!=null&&this[_0x4ae3ca(0x1cf)](_0x28df37);}),_0x1349b5[_0x4bd84f(0x1f0)]();}else _0x308d35&&(_0x308d35['forEach']((_0x2cc08b,_0x19d9e3)=>{const _0x5e4f3b=_0x4bd84f;this[_0x5e4f3b(0x1e4)](_0x523b57,_0x19d9e3),_0x2cc08b[_0x5e4f3b(0x224)](_0xdbb06=>{_0xdbb06!=null&&this['_removeAllTreeMap'](_0xdbb06);});}),this[_0x4bd84f(0x1ee)]['delete'](_0x523b57));}['addFormulaDependency'](_0x318f3f,_0x4387a7,_0xf42f60,_0x5b8fbf,_0x5db769){const _0x54d585=_0x573964;this[_0x54d585(0x214)][_0x54d585(0x1ec)](_0x318f3f)||this['_formulaData']['set'](_0x318f3f,new Map());const _0x177267=this[_0x54d585(0x214)]['get'](_0x318f3f);_0x177267[_0x54d585(0x1ec)](_0x4387a7)||_0x177267[_0x54d585(0x1a9)](_0x4387a7,new _0x5ac77f()),_0x177267['get'](_0x4387a7)['setValue'](_0xf42f60,_0x5b8fbf,_0x5db769[_0x54d585(0x1b8)]);}[_0x573964(0x1fc)](_0x276225,_0x465c40,_0x424aa5,_0x469417){const _0x4c81f1=_0x573964,_0x2a3f61=this[_0x4c81f1(0x214)]['get'](_0x276225);if(_0x2a3f61&&_0x2a3f61[_0x4c81f1(0x1ec)](_0x465c40)){const _0x2b78a1=_0x2a3f61[_0x4c81f1(0x1de)](_0x465c40),_0x33d3bc=_0x2b78a1[_0x4c81f1(0x1a7)](_0x424aa5,_0x469417);if(_0x33d3bc==null)return;this[_0x4c81f1(0x20d)](_0x33d3bc),_0x2b78a1[_0x4c81f1(0x1bf)](_0x424aa5,_0x469417),this['_removeAllTreeMap'](_0x33d3bc);}}[_0x573964(0x240)](_0xb91544,_0x25d15e){const _0x1349ec=_0x573964,_0x461702=this[_0x1349ec(0x214)][_0x1349ec(0x1de)](_0xb91544);if(_0x25d15e&&_0x461702&&_0x461702[_0x1349ec(0x1ec)](_0x25d15e)){const _0x308395=_0x461702['get'](_0x25d15e);this[_0x1349ec(0x1e4)](_0xb91544,_0x25d15e),_0x308395[_0x1349ec(0x238)]((_0x31e7a5,_0x3e4109,_0x295834)=>{const _0xb327e2=_0x1349ec;if(_0x295834==null)return!0x0;this[_0xb327e2(0x1cf)](_0x295834);}),_0x308395[_0x1349ec(0x227)]();}else _0x461702&&(_0x461702[_0x1349ec(0x224)]((_0x339d2a,_0x46d02c)=>{const _0x1bb173=_0x1349ec;this['_removeDependencyRTreeCacheById'](_0xb91544,_0x46d02c),_0x339d2a[_0x1bb173(0x238)]((_0xc4f6b8,_0x48b034,_0x89ce40)=>{if(_0x89ce40==null)return!0x0;this['_removeAllTreeMap'](_0x89ce40);});}),this[_0x1349ec(0x214)][_0x1349ec(0x252)](_0xb91544));}['_removeDependencyRTreeCache'](_0x4b1fa4){const _0x2675d3=_0x573964;if(_0x4b1fa4==null)return;const _0x49d62a=this[_0x2675d3(0x250)][_0x2675d3(0x1de)](_0x4b1fa4);if(_0x49d62a){const _0x35ad35=[];for(const [_0x346148,_0x4e39e9]of _0x49d62a)for(const [_0x113283,_0x1e0b67]of _0x4e39e9)_0x35ad35[_0x2675d3(0x1d3)]({'unitId':_0x346148,'sheetId':_0x113283,'range':_0x1e0b67,'id':_0x4b1fa4});this['_dependencyRTreeCache'][_0x2675d3(0x1a8)](_0x35ad35);}}[_0x573964(0x203)](_0x5ad3d3,_0x4a6959){const _0x41c875=_0x573964,_0xafbf1a=this['_definedNameMap'][_0x41c875(0x1de)](_0x5ad3d3);if(_0xafbf1a){const _0x5dac1c=_0xafbf1a[_0x41c875(0x1de)](_0x4a6959);if(_0x5dac1c){for(const _0x70bdc of _0x5dac1c)this[_0x41c875(0x20d)](_0x70bdc),this[_0x41c875(0x1cf)](_0x70bdc);_0x5dac1c[_0x41c875(0x1f0)]();}}}[_0x573964(0x1d4)](){const _0x308219=_0x573964;this[_0x308219(0x201)][_0x308219(0x1d4)]();}[_0x573964(0x1ab)](){const _0x3ad32f=_0x573964;this[_0x3ad32f(0x201)][_0x3ad32f(0x1ab)]();}['_removeAllTreeMap'](_0x3b0872){const _0x4c43f8=_0x573964;_0x3b0872!=null&&this[_0x4c43f8(0x250)][_0x4c43f8(0x252)](_0x3b0872);}['_addAllTreeMap'](_0x398d57){const _0x4d4ad4=_0x573964;var _0xb6bdaf,_0x480abb;const _0x4997de=_0x398d57[_0x4d4ad4(0x23d)];let _0x544060=this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1de)](_0x398d57[_0x4d4ad4(0x1b8)]);for(let _0x4b959d=0x0;_0x4b959d<_0x4997de['length'];_0x4b959d++){const _0x210e31=_0x4997de[_0x4b959d];let {unitId:_0x3bdc35,sheetId:_0x5c1d2c,range:_0x25dfb5}=_0x210e31;_0x544060||(_0x544060=new Map(),this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1a9)](_0x398d57['treeId'],_0x544060)),_0x544060['has'](_0x3bdc35)||_0x544060[_0x4d4ad4(0x1a9)](_0x3bdc35,new Map());const _0x23eccc=(_0xb6bdaf=_0x544060==null?void 0x0:_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null?void 0x0:_0xb6bdaf['get'](_0x5c1d2c);_0x23eccc&&(_0x25dfb5={'startRow':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x228)],_0x23eccc[_0x4d4ad4(0x228)]),'startColumn':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x230)],_0x23eccc['startColumn']),'endRow':Math[_0x4d4ad4(0x249)](_0x25dfb5['endRow'],_0x23eccc[_0x4d4ad4(0x1c3)]),'endColumn':Math[_0x4d4ad4(0x249)](_0x25dfb5[_0x4d4ad4(0x1df)],_0x23eccc['endColumn'])}),(_0x480abb=_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null||_0x480abb['set'](_0x5c1d2c,_0x25dfb5);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x509aa9,_0x71470c,_0x322a65,_0x47dc97)=>{const _0x32f391=_0x573964;for(var _0x1afd9c=_0x47dc97>0x1?void 0x0:_0x47dc97?Me(_0x71470c,_0x322a65):_0x71470c,_0x1290c0=_0x509aa9[_0x32f391(0x22d)]-0x1,_0x583d23;_0x1290c0>=0x0;_0x1290c0--)(_0x583d23=_0x509aa9[_0x1290c0])&&(_0x1afd9c=_0x583d23(_0x1afd9c)||_0x1afd9c);return _0x1afd9c;};const Re=Number[_0x573964(0x1c1)](0x69218da5);let B=class extends _0x16eec9{[_0x573964(0x23a)](){const _0x1d0137=_0x573964;var _0x100686,_0x399100;this[_0x1d0137(0x1c0)]()?(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':Ue}]),(_0x100686=this[_0x1d0137(0x1d1)])!=null&&_0x100686[_0x1d0137(0x232)]||[[_0x19f4ab,{'useClass':ve}],[_0x345d5c,{'useClass':we}],[_0x1e8dfb,{'useClass':Pe}]][_0x1d0137(0x224)](_0x30ac47=>this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)](_0x30ac47))):(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':_0x2e2257}]),(_0x399100=this[_0x1d0137(0x1d1)])!=null&&_0x399100['notExecuteFormula']||[[_0x19f4ab,{'useClass':_0x36e8da}],[_0x345d5c,{'useClass':_0x5f330d}],[_0x1e8dfb,{'useClass':_0x255910}]]['forEach'](_0x591f48=>this[_0x1d0137(0x1e0)]['add'](_0x591f48)));}[_0x573964(0x1c0)](){const _0x160f77=_0x573964;var _0x3e82fb;const _0x40ffd2=(_0x3e82fb=this[_0x160f77(0x1db)][_0x160f77(0x1f7)](_0x2af99a))!=null?_0x3e82fb:{},{ls:_0x32b9a9,pbk:_0x169d09}=_0x40ffd2;if(!_0x32b9a9||!_0x169d09)return!0x1;const _0xa3bba8=_0x2d427c(Oe,Ce),_0x1d8837=new Function(_0x160f77(0x206)+_0xa3bba8)()(_0x32b9a9,_0x169d09),_0x1baff1=_0x1d8837['message'];return _0x1d8837[_0x160f77(0x24e)]&&_0x38ee9b(_0x1baff1,'sf',Re)?_0x456be1(_0x1baff1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};B=Se([_0x3cc641(_0x2cd21f)],B);export{B as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x4d55e3=_0x5ec6;(function(_0x160a22,_0x514497){const _0x2faea0=_0x5ec6,_0x4c4908=_0x160a22();while(!![]){try{const _0x12a9d9=-parseInt(_0x2faea0(0x147))/0x1+parseInt(_0x2faea0(0x1c6))/0x2+-parseInt(_0x2faea0(0x13f))/0x3+parseInt(_0x2faea0(0x137))/0x4+parseInt(_0x2faea0(0x1cd))/0x5+-parseInt(_0x2faea0(0x1b1))/0x6*(-parseInt(_0x2faea0(0x1c1))/0x7)+-parseInt(_0x2faea0(0x161))/0x8*(parseInt(_0x2faea0(0x154))/0x9);if(_0x12a9d9===_0x514497)break;else _0x4c4908['push'](_0x4c4908['shift']());}catch(_0x3a225a){_0x4c4908['push'](_0x4c4908['shift']());}}}(_0x5869,0x7cab5));var Q=Object[_0x4d55e3(0x17c)],J=(_0xbf192c,_0x838cfd,_0x59c6c4)=>_0x838cfd in _0xbf192c?Q(_0xbf192c,_0x838cfd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59c6c4}):_0xbf192c[_0x838cfd]=_0x59c6c4,D=(_0xdab520,_0x172a5a,_0x2be5ff)=>J(_0xdab520,typeof _0x172a5a!=_0x4d55e3(0x185)?_0x172a5a+'':_0x172a5a,_0x2be5ff);function _0x5ec6(_0x4b649c,_0x1e4556){const _0x58690a=_0x5869();return _0x5ec6=function(_0x5ec673,_0x5b39e5){_0x5ec673=_0x5ec673-0x133;let _0x18ebae=_0x58690a[_0x5ec673];return _0x18ebae;},_0x5ec6(_0x4b649c,_0x1e4556);}import{UniverLicensePlugin as _0x1f6f5f,LS_CONFIG_KEY as _0x8124e0,unshiftString as _0x1dae6a,isFeatureAuthorizedWithinTime as _0x28bf94,getSheetFeatureLimit as _0x23563d}from'@univerjs-pro/license';import{ObjectMatrix as _0x5c9f49,requestImmediateMacroTask as _0x52c7d8,RTree as _0x314f50,DependentOn as _0x24c4c8}from'@univerjs/core';import{FormulaDependencyGenerator as _0xc17508,generateRandomDependencyTreeId as _0x14e144,FormulaDependencyTree as _0x8e1ed2,FormulaDependencyTreeType as _0x1c6c97,FormulaDependencyTreeVirtual as _0x11e87e,generateAstNode as _0x4a26c9,LexerTreeBuilder as _0x1b6e06,ErrorType as _0xd1a729,DEFAULT_TOKEN_TYPE_ROOT as _0x4acf12,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3d30fc,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5ebae3,NEW_EXCEL_FUNCTIONS as _0x4341f5,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x2f2b4e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1d7ccb,matchToken as _0x2570b2,SUFFIX_TOKEN_SET as _0x2a8354,prefixToken as _0x39a207,LexerNode as _0x4526bb,OPERATOR_TOKEN_SET as _0x32c401,CalculateFormulaService as _0x9779c4,FormulaExecuteStageType as _0x1aa144,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x55cd6f,DEFAULT_INTERVAL_COUNT as _0x292441,DependencyManagerBaseService as _0x557673,UniverFormulaEnginePlugin as _0x2efe07,ICalculateFormulaService as _0x440fd5,IDependencyManagerService as _0x24282c,IFormulaDependencyGenerator as _0x5006da,DependencyManagerService as _0x3f9204}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Fe={0x0:'z',0x1:'6',0x2:'i',0x3:'L',0x4:'h',0x5:'R',0x6:'j',0x7:'o',0x8:'l',0x9:'D','H':'0','l':'1','Q':'2','a':'3','Y':'4','z':'5','k':'7','w':'8','O':'9','g':'a','e':'b','I':'c','C':'d','E':'e','R':'f','s':'g','x':'k','F':'m','L':'n','G':'p','o':'q','t':'r','A':'s','i':'t','B':'u','Z':'v','p':'w','h':'x','d':'y','D':'A','r':'B','u':'C','f':'E','m':'F','q':'G','W':'H','c':'I','N':'J','J':'K','V':'M','v':'N','K':'O','T':'P','n':'Q','S':'S','U':'T','b':'U','X':'V','y':'W','j':'X','M':'Y','P':'Z'},Te=_0x4d55e3(0x1cc);class Le extends _0xc17508{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x34c8d4=_0x4d55e3;super[_0x34c8d4(0x139)](),this['_dependencyTreeCache'][_0x34c8d4(0x19f)]();}async[_0x4d55e3(0x1ab)](){const _0x402655=_0x4d55e3;this[_0x402655(0x1e0)]();const _0x59b8af=this['_currentConfigService'][_0x402655(0x17d)](),_0x34acab=this['_otherFormulaManagerService'][_0x402655(0x1d6)](),_0xcbde3f=this['_currentConfigService'][_0x402655(0x13d)]();_0xcbde3f!=null&&Object[_0x402655(0x172)](_0xcbde3f)['forEach'](_0x57a67b=>{const _0x4766eb=_0x402655;_0x57a67b!=null&&Object[_0x4766eb(0x172)](_0xcbde3f[_0x57a67b])[_0x4766eb(0x1a3)](_0x1f0ee0=>{const _0x44a610=_0x4766eb;_0x1f0ee0!=null&&(this[_0x44a610(0x1e4)][_0x44a610(0x1b8)](_0x57a67b,_0x1f0ee0),this[_0x44a610(0x1e4)][_0x44a610(0x13a)](_0x57a67b,_0x1f0ee0),this[_0x44a610(0x1e4)][_0x44a610(0x1aa)](_0x57a67b,_0x1f0ee0));});});const _0x58f473=this[_0x402655(0x17b)][_0x402655(0x138)]();await this[_0x402655(0x174)](_0x59b8af,_0x34acab,_0x58f473),this[_0x402655(0x1e4)][_0x402655(0x1e5)]();const _0x50f461=this[_0x402655(0x1c3)](),_0x37f224=this['_calculateRunList'](_0x50f461);return this[_0x402655(0x186)](_0x37f224)&&this[_0x402655(0x1be)][_0x402655(0x198)](),this[_0x402655(0x1d3)]['clear'](),this[_0x402655(0x1db)][_0x402655(0x19f)](),this['_dependencyManagerService'][_0x402655(0x14c)](),this[_0x402655(0x1be)][_0x402655(0x19b)](),Promise[_0x402655(0x18c)](_0x37f224);}[_0x4d55e3(0x16e)](_0x4d0f86,_0x1ba949){const _0x595a21=_0x4d55e3,_0x55208d=[_0x4d0f86];for(;_0x55208d[_0x595a21(0x164)]>0x0;){const _0x5e5451=_0x55208d[_0x55208d[_0x595a21(0x164)]-0x1];if((_0x1ba949[_0x595a21(0x1ca)](_0x5e5451)||0x0)===0x0){_0x1ba949[_0x595a21(0x199)](_0x5e5451,0x1);const _0x1ef347=this[_0x595a21(0x1d3)]['get'](_0x5e5451);if(_0x1ef347==null){_0x1ba949[_0x595a21(0x199)](_0x5e5451,0x2),_0x55208d[_0x595a21(0x184)]();continue;}const _0x174468=this[_0x595a21(0x1e4)][_0x595a21(0x143)](_0x1ef347['toRTreeItem']());for(const _0x4295e0 of _0x174468){const _0x5d3b4a=_0x1ba949[_0x595a21(0x1ca)](_0x4295e0)||0x0;if(_0x5d3b4a===0x1)return!0x0;_0x5d3b4a===0x0&&_0x55208d[_0x595a21(0x149)](_0x4295e0);}}else _0x1ba949['set'](_0x5e5451,0x2),_0x55208d[_0x595a21(0x184)]();}return!0x1;}[_0x4d55e3(0x186)](_0x1993e1){const _0x327fe9=_0x4d55e3,_0x141c8e=new Map();for(const _0x17bddd of _0x1993e1)if(!_0x141c8e[_0x327fe9(0x15e)](_0x17bddd['treeId'])&&this['_isCyclicUtilMap'](_0x17bddd[_0x327fe9(0x13c)],_0x141c8e))return!0x0;return _0x141c8e[_0x327fe9(0x19f)](),!0x1;}[_0x4d55e3(0x180)](_0x1435ff,_0x3c7ef5,_0xa94241){const _0x232542=_0x4d55e3,{unitId:_0x433d76,subUnitId:_0x10e39c,dependencyRanges:_0x858732,getDirtyData:_0x6516d4}=_0xa94241,_0x358808=_0x3c7ef5||_0x14e144(this[_0x232542(0x1e4)]),_0x24eb54=new _0x8e1ed2(_0x358808);_0x24eb54[_0x232542(0x179)]=_0x433d76,_0x24eb54[_0x232542(0x18b)]=_0x10e39c,_0x24eb54['rangeList']=_0x858732,_0x24eb54[_0x232542(0x176)]=_0x6516d4;const _0x3811f8=_0x6516d4(this['_currentConfigService'][_0x232542(0x176)](),this[_0x232542(0x1be)][_0x232542(0x1d7)]()),_0x3342ea=this[_0x232542(0x1ae)](_0x3811f8[_0x232542(0x136)]);return _0x24eb54['featureDirtyRanges']=_0x3342ea,_0x24eb54['featureId']=_0x1435ff,_0x24eb54[_0x232542(0x196)]=_0x1c6c97['FEATURE_FORMULA'],this[_0x232542(0x1e4)]['addFeatureFormulaDependency'](_0x433d76,_0x10e39c,_0x1435ff,_0x24eb54),this[_0x232542(0x1d3)][_0x232542(0x199)](_0x24eb54[_0x232542(0x13c)],_0x24eb54),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0xa94241[_0x232542(0x179)],_0xa94241['subUnitId'],_0x1435ff)&&(_0x24eb54[_0x232542(0x165)]=!0x0),_0x24eb54;}[_0x4d55e3(0x13b)](_0x50b431,_0x348f37,_0x3495b5){const _0x50c22c=_0x4d55e3;var _0x241374;for(const _0x237ca3 of _0x348f37){const _0x11ecc9=_0x50b431[_0x237ca3];if(_0x11ecc9==null)continue;const _0x2003f7=Object[_0x50c22c(0x172)](_0x11ecc9);for(const _0x119981 of _0x2003f7){const _0x314804=_0x11ecc9[_0x119981];if(_0x314804==null)continue;const _0xb76b95=Object['keys'](_0x314804);for(const _0x184f41 of _0xb76b95){const _0x55942f=this[_0x50c22c(0x1e4)][_0x50c22c(0x181)](_0x184f41),_0x45c971=_0x314804[_0x184f41],{f:_0x260cab,ranges:_0x57511d}=_0x45c971;let _0x1f77c5=!0x1;_0x55942f&&(_0x1f77c5=!0x0);const {firstRow:_0x518698,firstColumn:_0x295116}=this[_0x50c22c(0x1a7)](_0x57511d),_0x358cf1=this[_0x50c22c(0x1e4)][_0x50c22c(0x15a)](_0x237ca3,_0x119981,_0x184f41),_0x2f2446=(_0x241374=_0x358cf1==null?void 0x0:_0x358cf1[_0x50c22c(0x1d9)](0x0,0x0))!=null?_0x241374:_0x14e144(this[_0x50c22c(0x1e4)]),_0x31d388=new _0x8e1ed2(_0x2f2446);for(let _0x3fd1b5=0x0;_0x3fd1b5<_0x57511d['length'];_0x3fd1b5++){const _0x49fe0b=_0x57511d[_0x3fd1b5],{startRow:_0x5aca50,startColumn:_0x5b64cc,endRow:_0x569944,endColumn:_0x206ea1}=_0x49fe0b;for(let _0x55e201=_0x5aca50;_0x55e201<=_0x569944;_0x55e201++)for(let _0x5bd0c3=_0x5b64cc;_0x5bd0c3<=_0x206ea1;_0x5bd0c3++){const _0x41e7f5=_0x5bd0c3-_0x295116,_0x2112e8=_0x55e201-_0x518698;if(_0x41e7f5===0x0&&_0x2112e8===0x0){_0x31d388[_0x50c22c(0x1ce)]=_0x260cab,_0x31d388[_0x50c22c(0x179)]=_0x237ca3,_0x31d388[_0x50c22c(0x18b)]=_0x119981,_0x31d388[_0x50c22c(0x1c8)]=_0x184f41,_0x31d388[_0x50c22c(0x196)]=_0x1c6c97['OTHER_FORMULA'],_0x31d388[_0x50c22c(0x165)]=_0x1f77c5,_0x3495b5[_0x50c22c(0x149)](_0x31d388),this[_0x50c22c(0x1d3)]['set'](_0x31d388[_0x50c22c(0x13c)],_0x31d388),this[_0x50c22c(0x1e4)][_0x50c22c(0x1a2)](_0x237ca3,_0x119981,_0x184f41,_0x31d388),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x31d388);continue;}const _0x43915a=new _0x11e87e();_0x43915a[_0x50c22c(0x13c)]=(_0x358cf1==null?void 0x0:_0x358cf1['getValue'](_0x41e7f5,_0x2112e8))||_0x14e144(this['_dependencyManagerService']),_0x43915a[_0x50c22c(0x193)]=_0x31d388,_0x43915a['refOffsetX']=_0x41e7f5,_0x43915a[_0x50c22c(0x1c0)]=_0x2112e8,_0x43915a[_0x50c22c(0x165)]=_0x1f77c5,this[_0x50c22c(0x1e4)][_0x50c22c(0x1a2)](_0x237ca3,_0x119981,_0x184f41,_0x43915a),this[_0x50c22c(0x1e4)][_0x50c22c(0x16a)](_0x43915a),_0x3495b5[_0x50c22c(0x149)](_0x43915a),this[_0x50c22c(0x1d3)]['set'](_0x43915a['treeId'],_0x43915a);}}this[_0x50c22c(0x1e4)][_0x50c22c(0x171)](_0x184f41);}}}}['_registerFormulas'](_0x44ccd8,_0x35e2bf,_0x75162f,_0x5f03f4){const _0x362e0b=_0x4d55e3;for(const _0x54c085 of _0x44ccd8){const _0x1f4aec=_0x35e2bf[_0x54c085];if(_0x1f4aec==null)continue;const _0x301bc0=Object[_0x362e0b(0x172)](_0x1f4aec);for(const _0x3ca053 of _0x301bc0){const _0x3f354b=new _0x5c9f49(_0x1f4aec[_0x3ca053]||{}),_0xd3b1d8=new Map();_0x3f354b['forValue']((_0x1fcaf3,_0xb10d0,_0x421f85)=>{const _0x25432a=_0x362e0b;if(_0x421f85==null)return!0x0;const {x:_0x27d503=0x0,y:_0x56558d=0x0,si:_0x2f31e9}=_0x421f85;if(!(_0x27d503===0x0&&_0x56558d===0x0&&_0x2f31e9!=null))return!0x0;const _0x86440b=this[_0x25432a(0x17a)](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0,_0x75162f,_0x421f85),_0x42d95c=this['_dependencyManagerService']['getFormulaDependency'](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0);_0x42d95c!=null?_0x86440b[_0x25432a(0x13c)]=_0x42d95c:(this[_0x25432a(0x1e4)][_0x25432a(0x1b3)](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0,_0x86440b),this['_dependencyManagerService'][_0x25432a(0x16a)](_0x86440b)),_0xd3b1d8[_0x25432a(0x199)](_0x2f31e9,_0x86440b),_0x5f03f4['push'](_0x86440b),this[_0x25432a(0x1d3)]['set'](_0x86440b['treeId'],_0x86440b);}),_0x3f354b['forValue']((_0x19a97f,_0x10ce53,_0x49d96)=>{const _0x283696=_0x362e0b;if(_0x49d96==null)return!0x0;const {x:_0x2cb4c3=0x0,y:_0x4bdb31=0x0,si:_0x58b213}=_0x49d96;if(_0x2cb4c3===0x0&&_0x4bdb31===0x0&&_0x58b213!=null)return!0x0;let _0x28b4f6;if(_0x58b213&&_0xd3b1d8[_0x283696(0x15e)](_0x58b213)){const _0xa5e67d=_0xd3b1d8[_0x283696(0x1ca)](_0x58b213);_0x28b4f6=this['_createVirtualFDtree'](_0xa5e67d,_0x49d96);}else _0x28b4f6=this[_0x283696(0x17a)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53,_0x75162f,_0x49d96);const _0x216e84=this['_dependencyManagerService'][_0x283696(0x1a1)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53);_0x216e84!=null?_0x28b4f6[_0x283696(0x13c)]=_0x216e84:(this[_0x283696(0x1e4)][_0x283696(0x1b3)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53,_0x28b4f6),this['_dependencyManagerService'][_0x283696(0x16a)](_0x28b4f6)),_0x5f03f4['push'](_0x28b4f6),this['_dependencyTreeCache'][_0x283696(0x199)](_0x28b4f6[_0x283696(0x13c)],_0x28b4f6);}),_0xd3b1d8[_0x362e0b(0x19f)]();}}}[_0x4d55e3(0x17a)](_0xa26134,_0x35eae5,_0x491793,_0x131755,_0x2972dc,_0x311502){const _0x152992=_0x4d55e3,{f:_0x3a1703,x:_0x11711e=0x0,y:_0x53910a=0x0}=_0x311502,_0x265c51=new _0x8e1ed2(_0x14e144(this['_dependencyManagerService'])),_0x5571f8=_0x2972dc[_0xa26134][_0x35eae5];return _0x265c51['formula']=_0x3a1703,_0x265c51['unitId']=_0xa26134,_0x265c51[_0x152992(0x18b)]=_0x35eae5,_0x265c51['row']=_0x491793,_0x265c51[_0x152992(0x15f)]=_0x131755,_0x265c51[_0x152992(0x140)]=_0x5571f8['rowCount'],_0x265c51['columnCount']=_0x5571f8[_0x152992(0x18e)],_0x265c51;}[_0x4d55e3(0x1c3)](){const _0x2f2018=_0x4d55e3,_0x325909=[],_0x5227f6=new Set(),_0x57fefe=this[_0x2f2018(0x17b)][_0x2f2018(0x16d)](),_0x533da2=this[_0x2f2018(0x17b)][_0x2f2018(0x1d5)](),_0x34e037=this[_0x2f2018(0x1e4)][_0x2f2018(0x143)](_0x533da2),_0x477284=this[_0x2f2018(0x1db)][_0x2f2018(0x1b4)](_0x533da2);for(const _0x57ee79 of _0x477284)_0x34e037[_0x2f2018(0x1bb)](_0x57ee79);for(const [_0x557d4b,_0x9957ff]of this[_0x2f2018(0x1d3)])(_0x57fefe||_0x9957ff[_0x2f2018(0x156)]||_0x9957ff[_0x2f2018(0x1af)](this[_0x2f2018(0x17b)][_0x2f2018(0x178)]())||_0x34e037['has'](_0x557d4b)&&!_0x9957ff[_0x2f2018(0x173)](this[_0x2f2018(0x17b)]['getExcludedRange']()))&&!_0x5227f6[_0x2f2018(0x15e)](_0x557d4b)&&(_0x325909[_0x2f2018(0x149)](_0x9957ff),_0x5227f6[_0x2f2018(0x1bb)](_0x557d4b));for(const [_0x354425,_0x48e139]of this[_0x2f2018(0x1d3)])_0x48e139['isVirtual']||(_0x48e139[_0x2f2018(0x158)][_0x2f2018(0x164)]=0x0);return _0x325909;}[_0x4d55e3(0x1e9)](_0x3fcf5a){const _0x5572ae=_0x4d55e3;return this[_0x5572ae(0x1d3)][_0x5572ae(0x1ca)](_0x3fcf5a);}[_0x4d55e3(0x14b)](_0x1dfe95){const _0x481901=_0x4d55e3;return _0x4a26c9(_0x1dfe95[_0x481901(0x179)],_0x1dfe95[_0x481901(0x1ce)],this[_0x481901(0x1a6)],this[_0x481901(0x1a8)],this[_0x481901(0x17b)]);}*[_0x4d55e3(0x1c4)](_0x1b3c15,_0x56730d){const _0x46dfd3=_0x4d55e3,_0x1b7fe4=_0x1b3c15,_0x222067=new Set();for(;_0x1b7fe4[_0x46dfd3(0x164)]>0x0;){const _0x3bed03=_0x1b7fe4[_0x46dfd3(0x184)]();if(_0x222067[_0x46dfd3(0x19f)](),_0x3bed03===void 0x0||_0x3bed03[_0x46dfd3(0x1de)]())continue;if(_0x3bed03[_0x46dfd3(0x182)]()){yield _0x3bed03,_0x3bed03[_0x46dfd3(0x195)](),_0x56730d[_0x46dfd3(0x1bb)](_0x3bed03[_0x46dfd3(0x13c)]);continue;}const _0x5aa69c=this['_dependencyManagerService'][_0x46dfd3(0x143)](_0x3bed03[_0x46dfd3(0x192)](),_0x56730d),_0x41549c=this['_dependencyRTreeCacheForAddressFunction'][_0x46dfd3(0x1b4)](_0x3bed03[_0x46dfd3(0x192)](),_0x56730d);for(const _0x154275 of _0x41549c)_0x5aa69c[_0x46dfd3(0x1bb)](_0x154275);for(const _0x345825 of _0x5aa69c){const _0x58948f=this[_0x46dfd3(0x1d3)]['get'](_0x345825);if(!_0x58948f)throw new Error(_0x46dfd3(0x169));_0x58948f[_0x46dfd3(0x182)]()||_0x3bed03[_0x46dfd3(0x1de)]()||_0x222067[_0x46dfd3(0x1bb)](_0x58948f);}if(_0x5aa69c['clear'](),_0x222067[_0x46dfd3(0x1dd)]===0x0)yield _0x3bed03,_0x3bed03[_0x46dfd3(0x195)](),_0x56730d['add'](_0x3bed03[_0x46dfd3(0x13c)]);else{_0x3bed03[_0x46dfd3(0x1b9)](),_0x1b7fe4[_0x46dfd3(0x149)](_0x3bed03);for(const _0x5b06b8 of _0x222067)_0x1b7fe4['push'](_0x5b06b8);}}_0x1b7fe4[_0x46dfd3(0x164)]=0x0,_0x222067[_0x46dfd3(0x19f)]();}[_0x4d55e3(0x1bc)](_0x488657){const _0xec3e5=_0x4d55e3,_0xabde77=[],_0x43e5f9=new Set();for(const _0x144358 of this[_0xec3e5(0x1c4)](_0x488657,_0x43e5f9))_0xabde77['push'](_0x144358);return _0xabde77;}}function _0x5869(){const _0x1a02ba=['refOffsetX','push','_formulaDependencyGenerator','_getTreeNode','closeKdTree','removeFormulaDependency','START_CALCULATION_ARRAY_FORMULA','PLUS','trim','_handleNewFunctionChild','treeBuilder','setRuntimeData','9hVzkpr','getToken','isDirty','markedAsNoFunctionsExecuted','rangeList','_removeDependencyRTreeCache','getOtherFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','isStopExecution','_config','has','column','Lambda\x20parameter\x20name\x20\x22','4145528njwmkc','_injector','bulkRemove','length','isCache','markedAsStopFunctionsExecuted','_featureFormulaData','_lambdaFunctionParameterSet','ParentDependencyTree\x20object\x20is\x20null','addFormulaDependencyByDefinedName','_interpreter','endRow','isForceCalculate','_isCyclicUtilMap','_otherFormulaDataMainData','setTotalFormulasToCalculate','addOtherFormulaDependencyMainData','keys','isExcludeRange','_generateTreeList','endColumn','getDirtyData','_xlpm.','getDirtyNameMap','unitId','_createFDtree','_currentConfigService','defineProperty','getFormulaData','delete','_generateNewFunctionString','_getFeatureFormulaTree','hasOtherFormulaDataMainData','isAdded','_apply','pop','symbol','_checkIsCycleDependency','IDLE','forValue','return\x20','START_DEPENDENCY_ARRAY_FORMULA','subUnitId','resolve','START_DEPENDENCY','columnCount','_removeDependencyRTreeCacheById','notExecuteFormula','setCompletedFormulasCount','toRTreeItem','refTree','setTotalArrayFormulasToCalculate','setSkip','type','node','enableCycleDependency','set','_removeAllTreeMap','clearArrayObjectCache','error','reset','execute','clear','valid','getFormulaDependency','addOtherFormulaDependency','forEach','resetCalculationState','_formulaData','_lexer','_getFirstCellOfRange','_astTreeBuilder','intervalCount','clearFormulaDependency','generate','min','startColumn','_convertDirtyRangesToUnitRange','dependencySheetName','_hasNewExcelFunction','6BprCkG','_initLicenseValid','addFormulaDependency','bulkSearch','_restDependencyTreeId','_allTreeMap','_xlfn.','clearOtherFormulaDependency','setAdded','isArray','add','_calculateRunList','next','_runtimeService','max','refOffsetY','4308892gwVnES','setCurrent','_getUpdateTreeListAndMakeDependency','_traverse','_checkAddBracketForMinus','1229646YgLunC','getConfig','formulaId','getOwnPropertyDescriptor','get','_executionInProgressListener$','RBLIi27L\x20CEItdGi27L(82IELAE,\x20GBe82IJEd)\x20{\x20\x20\x20\x20itd\x20{\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2082IELAEcLR7TgtiDttgd\x20=\x2082IELAE.AG82i(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x207t2s2LVEAAgsE\x20=\x20NSKv.GgtAE(gi7e(82IELAEcLR7TgtiDttgd[Q]));\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!7t2s2LVEAAgsE.BC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207t2s2LVEAAgsE.BC\x20=\x20vBFeEt(82IELAEcLR7TgtiDttgd[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Ay7txEt\x20=\x20idGE7R\x20y7txEtq87eg8SI7GE\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20AE8R\x202LAigLIE7R\x20y7txEtq87eg8SI7GE;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Art7pAEt\x20=\x20idGE7R\x20p2LC7p\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20idGE7R\x20p2LC7p.87Igi27L\x20!==\x20\x27BLCER2LEC\x27;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20I7LiEhi\x20=\x202Ay7txEt\x20?\x20AE8R\x20:\x20(2Art7pAEt\x20?\x20p2LC7p\x20:\x20s87eg8U42A);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(FEAAgsEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[a]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(A2sLgiBtEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLXg82C\x20=\x20I7LiEhi.__ZEt2Rd__(A2sLgiBtE,\x20FEAAgsE,\x20GBe82IJEd);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20C7Fg2L\x20=\x207t2s2LVEAAgsE.CF;\x20\x20\x20\x20\x20\x20\x20\x20RBLIi27L\x202A97Fg2LVgiI42Ls(7TgiiEtL,\x207W7Ai)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtL\x20=\x207TgiiEtL.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047Ai\x20=\x207W7Ai.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLTgtiA\x20=\x20GgiiEtL.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiTgtiA\x20=\x2047Ai.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!GgiiEtL.2LI8BCEA(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtL\x20===\x2047Ai;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(GgiiEtLTgtiA.8ELsi4\x20<\x20Q\x20||\x20GgiiEtLTgtiA[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLSBRR2h\x20=\x20GgiiEtLTgtiA.A82IE(l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiSBRR2h\x20=\x2047AiTgtiA.A82IE(-GgiiEtLTgtiA.8ELsi4\x20+\x20l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtLSBRR2h\x20===\x2047AiSBRR2h;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208Ei\x20C7Fg2LXg82C\x20=\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x202R\x20(2Art7pAEt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20(C7Fg2L\x20&&\x20C7Fg2L.8ELsi4)\x20?\x20C7Fg2L.A7FE((CFciEF)\x20=>\x202A97Fg2LVgiI42Ls(CFciEF,\x2087Igi27L.47AiLgFE))\x20:\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(87Igi27L.47AiLgFE\x20===\x20\x2787Ig847Ai\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20E8AE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20Zg82C\x20=\x20A2sLXg82C\x20&&\x20C7Fg2LXg82C;\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x207t2s2LVEAAgsE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IgiI4\x20(Ett7t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C:\x20Rg8AE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','2880910wLJKDk','formula','Let\x20variable\x20name\x20\x22','getRuntimeState','getNewFormulaWithPrefix','_otherFormulaData','_dependencyTreeCache','VALUE','getDirtyRanges','getOtherFormulaData','getAllRuntimeData','toUpperCase','getValue','row','_dependencyRTreeCacheForAddressFunction','getChildren','size','isSkip','_executionCompleteListener$','_updateRangeFlatten','parseInt','_clearFunctionString','featureId','_dependencyManagerService','openKdTree','join','slice','string','_getTreeById','setFormulaExecuteStage','markedAsSuccessfullyExecuted','setRuntimeOtherData','dirtyRanges','1894892IFOqWF','getUnitData','dispose','clearFeatureFormulaDependency','_registerOtherFormulas','treeId','getClearDependencyTreeCache','setRuntimeFeatureCellData','940317uoFfch','rowCount','\x22\x20is\x20duplicated.','startRow','searchDependency','message','setValue','_dependencyRTreeCache','938009aVIjpu'];_0x5869=function(){return _0x1a02ba;};return _0x5869();}class De extends _0x1b6e06{constructor(){const _0x206b4b=_0x4d55e3;super(...arguments),D(this,_0x206b4b(0x1b0),!0x1),D(this,_0x206b4b(0x168),new Set());}[_0x4d55e3(0x1d1)](_0x5bdec1,_0x4c51cd){const _0x3a062e=_0x4d55e3,_0x145c9a=this[_0x3a062e(0x152)](_0x5bdec1,!0x1);if(!_0x145c9a||_0x145c9a===_0xd1a729[_0x3a062e(0x1d4)]||Array[_0x3a062e(0x1ba)](_0x145c9a))return null;const _0xeb0592=[];return this[_0x3a062e(0x1b0)]=!0x1,this['_generateNewFunctionString'](_0x145c9a,_0xeb0592,_0x4c51cd),this[_0x3a062e(0x1b0)]?'='+_0xeb0592[_0x3a062e(0x1e6)](''):null;}[_0x4d55e3(0x17f)](_0x560784,_0x155469,_0x298115){const _0x343c15=_0x4d55e3,_0x3ae1e2=_0x560784[_0x343c15(0x155)](),_0x324c14=_0x3ae1e2[_0x343c15(0x150)](),_0x182633=_0x324c14[_0x343c15(0x1d8)](),_0x107723=this[_0x343c15(0x1e2)](_0x182633),_0x405c02=_0x298115(_0x107723);let _0x53d5dc=0x0;_0x3ae1e2===_0x4acf12?_0x53d5dc=0x3:_0x3ae1e2===_0x3d30fc?_0x53d5dc=0x4:_0x3ae1e2===_0x5ebae3?_0x53d5dc=0x5:_0x4341f5[_0x343c15(0x15e)](_0x107723)?(_0x155469[_0x343c15(0x149)](_0x343c15(0x1b7)+_0x324c14),this[_0x343c15(0x1b0)]=!0x0):_0x182633===_0x2f2b4e?(_0x155469[_0x343c15(0x149)]('_xlfn.'+_0x324c14),this[_0x343c15(0x1b0)]=!0x0,_0x53d5dc=0x2):_0x182633===_0x1d7ccb?(_0x155469[_0x343c15(0x149)](_0x343c15(0x1b7)+_0x324c14),this['_hasNewExcelFunction']=!0x0,_0x53d5dc=0x1):_0x182633===_0x2570b2['COLON']?_0x53d5dc=0x8:_0x2a8354[_0x343c15(0x15e)](_0x182633)?_0x53d5dc=0x7:_0x182633===_0x39a207['MINUS']?(this[_0x343c15(0x1c5)](_0x560784)&&(_0x53d5dc=0x9),_0x155469['push'](_0x3ae1e2)):(_0x155469[_0x343c15(0x149)](_0x3ae1e2),_0x53d5dc=0xa),_0x405c02?(_0x53d5dc!==0x2&&_0x53d5dc!==0x1&&(_0x53d5dc=0x6),_0x155469[_0x343c15(0x149)]('(')):_0x53d5dc===0x9&&_0x155469[_0x343c15(0x149)]('(');const _0x3d5156=_0x560784[_0x343c15(0x1dc)](),_0x2220c7=_0x3d5156[_0x343c15(0x164)];if(_0x53d5dc===0x2){const _0x58e13f=_0x3d5156[0x0];let _0x22cd08=0x0;_0x58e13f instanceof _0x4526bb&&_0x58e13f[_0x343c15(0x155)]()===_0x5ebae3&&(_0x22cd08=0x1);for(let _0x68b51d=_0x22cd08;_0x68b51d<_0x2220c7-0x1;_0x68b51d++){const _0x158800=_0x3d5156[_0x68b51d];if(_0x158800 instanceof _0x4526bb){const _0x5aa192=_0x158800['getChildren']()[0x0];typeof _0x5aa192==_0x343c15(0x1e8)&&(this[_0x343c15(0x168)][_0x343c15(0x15e)](_0x5aa192)&&console['error'](_0x343c15(0x160)+_0x5aa192+_0x343c15(0x141)),this[_0x343c15(0x168)]['add'](_0x5aa192),_0x155469[_0x343c15(0x149)](_0x343c15(0x177)+_0x5aa192),this[_0x343c15(0x1b0)]=!0x0);}_0x155469[_0x343c15(0x149)](',');}this[_0x343c15(0x151)](_0x3d5156[_0x2220c7-0x1],_0x155469,_0x298115),_0x22cd08===0x1&&(_0x155469[_0x343c15(0x149)](')'),_0x155469[_0x343c15(0x149)]('('),this['_generateNewFunctionString'](_0x58e13f,_0x155469,_0x298115)),_0x155469[_0x343c15(0x149)](')');return;}else{if(_0x53d5dc===0x1){for(let _0x477b0f=0x0;_0x477b0f<_0x2220c7-0x1;_0x477b0f++){const _0x5be02a=_0x3d5156[_0x477b0f];if(_0x5be02a instanceof _0x4526bb&&_0x477b0f%0x2===0x0){const _0x51b44f=_0x5be02a[_0x343c15(0x1dc)]()[0x0];if(typeof _0x51b44f==_0x343c15(0x1e8)){this['_lambdaFunctionParameterSet'][_0x343c15(0x15e)](_0x51b44f)&&console[_0x343c15(0x19c)](_0x343c15(0x1cf)+_0x51b44f+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x343c15(0x1bb)](_0x51b44f),_0x155469[_0x343c15(0x149)](_0x343c15(0x177)+_0x51b44f),this[_0x343c15(0x1b0)]=!0x0,_0x155469['push'](',');continue;}}if(this[_0x343c15(0x151)](_0x5be02a,_0x155469,_0x298115),_0x5be02a instanceof _0x4526bb){const _0x3dcdfc=_0x3d5156[_0x477b0f+0x1];_0x3dcdfc&&_0x3dcdfc instanceof _0x4526bb&&_0x155469[_0x343c15(0x149)](',');}}this[_0x343c15(0x151)](_0x3d5156[_0x2220c7-0x1],_0x155469,_0x298115),_0x155469['push'](')');return;}else{if(_0x53d5dc===0x8){const _0xcd5b3f=_0x3d5156[0x0],_0x3e5816=_0x3d5156[0x1];this['_handleNewFunctionChild'](_0xcd5b3f,_0x155469,_0x298115),_0x155469['push'](_0x3ae1e2),this['_handleNewFunctionChild'](_0x3e5816,_0x155469,_0x298115);return;}}}for(let _0x214018=0x0;_0x214018<_0x2220c7;_0x214018++){const _0x23bec6=_0x3d5156[_0x214018];if(this[_0x343c15(0x151)](_0x23bec6,_0x155469,_0x298115),_0x23bec6 instanceof _0x4526bb){const _0x1cb5c9=_0x3d5156[_0x214018+0x1];_0x1cb5c9&&_0x1cb5c9 instanceof _0x4526bb&&_0x155469[_0x343c15(0x149)](',');}}_0x53d5dc===0x7&&_0x155469[_0x343c15(0x149)](_0x3ae1e2),(_0x405c02||_0x53d5dc===0x9)&&_0x155469[_0x343c15(0x149)](')');}[_0x4d55e3(0x151)](_0xfbcc26,_0x56bc46,_0x31001c){const _0x3e02a6=_0x4d55e3;_0xfbcc26 instanceof _0x4526bb?this[_0x3e02a6(0x17f)](_0xfbcc26,_0x56bc46,_0x31001c):this['_lambdaFunctionParameterSet'][_0x3e02a6(0x15e)](_0xfbcc26)?(_0x56bc46[_0x3e02a6(0x149)]('_xlpm.'+_0xfbcc26),this['_hasNewExcelFunction']=!0x0):_0x56bc46[_0x3e02a6(0x149)](_0xfbcc26);}[_0x4d55e3(0x1e2)](_0x271df5){const _0x23a0eb=_0x4d55e3;let _0x47bedd=_0x271df5[_0x23a0eb(0x150)]();if(!_0x47bedd)return _0x47bedd;const _0x21a89c=_0x47bedd[0x0];if((_0x21a89c===_0x39a207['AT']||_0x21a89c===_0x39a207['MINUS']||_0x21a89c===_0x39a207[_0x23a0eb(0x14f)])&&(_0x47bedd=_0x47bedd['slice'](0x1)),!_0x47bedd)return _0x47bedd;const _0x247b01=_0x47bedd[_0x47bedd[_0x23a0eb(0x164)]-0x1];return _0x2a8354['has'](_0x247b01)&&(_0x47bedd=_0x47bedd[_0x23a0eb(0x1e7)](0x0,-0x1)),_0x47bedd;}[_0x4d55e3(0x1c5)](_0x31c872){const _0x23e145=_0x4d55e3,_0x43f006=_0x31c872['getChildren']()[0x0];if(!_0x43f006||!(_0x43f006 instanceof _0x4526bb)||_0x31c872[_0x23e145(0x1dc)]()[_0x23e145(0x164)]>0x1)return!0x1;const _0x2cf96d=_0x43f006['getChildren'](),_0x4d18b1=_0x2cf96d['length'];if(_0x4d18b1===0x1)return!0x1;for(let _0x2c2b80=0x0;_0x2c2b80<_0x4d18b1;_0x2c2b80++){const _0x3228e2=_0x2cf96d[_0x2c2b80];if(!(_0x3228e2 instanceof _0x4526bb)&&_0x32c401[_0x23e145(0x15e)](_0x3228e2))return!0x0;}return!0x1;}}class Re extends _0x9779c4{async[_0x4d55e3(0x183)](_0x17eb41=!0x1){const _0x60aed5=_0x4d55e3;_0x17eb41?this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x18a)]):this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x18d)]),this[_0x60aed5(0x1cb)][_0x60aed5(0x1bd)](this['_runtimeService'][_0x60aed5(0x1d0)]());const _0x4b6677=await this[_0x60aed5(0x14a)][_0x60aed5(0x1ab)](),_0x459d11=this[_0x60aed5(0x16b)];_0x17eb41?(this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x14e)]),this[_0x60aed5(0x1be)][_0x60aed5(0x194)](_0x4b6677[_0x60aed5(0x164)])):(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144['START_CALCULATION']),this['_runtimeService'][_0x60aed5(0x170)](_0x4b6677[_0x60aed5(0x164)])),this[_0x60aed5(0x1cb)]['next'](this[_0x60aed5(0x1be)][_0x60aed5(0x1d0)]());let _0x3dfed3=[];const _0x373d3a=this['_configService']['getConfig'](_0x55cd6f),_0x403d82=(_0x373d3a==null?void 0x0:_0x373d3a[_0x60aed5(0x1a9)])||_0x292441;let _0x1df50f=0x0;const _0x37166e=_0x4b6677[_0x60aed5(0x164)];for(;_0x4b6677[_0x60aed5(0x164)]>0x0;){const _0x344a00=_0x4b6677['pop'](),_0x47d013=_0x4a26c9(_0x344a00[_0x60aed5(0x179)],_0x344a00[_0x60aed5(0x1ce)],this[_0x60aed5(0x1a6)],this[_0x60aed5(0x1a8)],this[_0x60aed5(0x17b)]),_0x13748a={'node':_0x47d013,'refOffsetX':_0x344a00[_0x60aed5(0x148)],'refOffsetY':_0x344a00[_0x60aed5(0x1c0)]},_0x3a37a9=_0x344a00['getDirtyData'];if(_0x1df50f%_0x403d82===0x0&&(await new Promise(_0x2aba01=>{const _0x82d52=_0x60aed5,_0x10a196=_0x52c7d8(_0x2aba01);_0x3dfed3[_0x82d52(0x149)](_0x10a196);}),_0x17eb41?(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144[_0x60aed5(0x15b)]),this[_0x60aed5(0x1be)]['setCompletedArrayFormulasCount'](_0x1df50f+0x1)):(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144['CURRENTLY_CALCULATING']),this[_0x60aed5(0x1be)][_0x60aed5(0x191)](_0x1df50f+0x1)),this['_executionInProgressListener$'][_0x60aed5(0x1bd)](this[_0x60aed5(0x1be)]['getRuntimeState']()),this['_runtimeService'][_0x60aed5(0x15c)]()||_0x13748a==null&&_0x3a37a9==null)){this[_0x60aed5(0x1be)][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x187)]),this[_0x60aed5(0x1be)][_0x60aed5(0x166)](),this[_0x60aed5(0x1df)][_0x60aed5(0x1bd)](this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]());return;}this[_0x60aed5(0x1be)][_0x60aed5(0x1c2)](_0x344a00[_0x60aed5(0x1da)],_0x344a00[_0x60aed5(0x15f)],_0x344a00[_0x60aed5(0x140)],_0x344a00['columnCount'],_0x344a00[_0x60aed5(0x18b)],_0x344a00['unitId']);let _0x3917f3;if(_0x3a37a9!=null&&_0x344a00[_0x60aed5(0x1e3)]!=null){const {runtimeCellData:_0x5bd2aa,dirtyRanges:_0x489861}=_0x3a37a9(this['_currentConfigService']['getDirtyData'](),this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]());this[_0x60aed5(0x1be)][_0x60aed5(0x13e)](_0x344a00[_0x60aed5(0x1e3)],_0x5bd2aa),this[_0x60aed5(0x1be)]['setRuntimeFeatureRange'](_0x344a00[_0x60aed5(0x1e3)],_0x489861);}else _0x13748a!=null&&(_0x459d11['checkAsyncNode'](_0x13748a[_0x60aed5(0x197)])?_0x3917f3=await _0x459d11['executeAsync'](_0x13748a):_0x3917f3=_0x459d11[_0x60aed5(0x19e)](_0x13748a),_0x344a00['formulaId']!=null?this[_0x60aed5(0x1be)][_0x60aed5(0x135)](_0x344a00[_0x60aed5(0x1c8)],_0x344a00[_0x60aed5(0x148)],_0x344a00[_0x60aed5(0x1c0)],_0x3917f3):this['_runtimeService'][_0x60aed5(0x153)](_0x3917f3));_0x47d013[_0x60aed5(0x1a4)](),_0x1df50f++;}return _0x3dfed3[_0x60aed5(0x1a3)](_0x1401f4=>_0x1401f4()),_0x3dfed3=[],_0x37166e>0x0?this[_0x60aed5(0x1be)][_0x60aed5(0x134)]():_0x17eb41||this['_runtimeService'][_0x60aed5(0x157)](),this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]();}}class ve extends _0x557673{constructor(){const _0x3d8a6c=_0x4d55e3;super(...arguments),D(this,_0x3d8a6c(0x1b6),new Map()),D(this,'_dependencyRTreeCache',new _0x314f50(!0x0));}[_0x4d55e3(0x19d)](){const _0x21279a=_0x4d55e3;this[_0x21279a(0x1d2)][_0x21279a(0x19f)](),this[_0x21279a(0x167)]['clear'](),this['_formulaData'][_0x21279a(0x19f)](),this['_dependencyRTreeCache']['clear'](),this[_0x21279a(0x1b6)][_0x21279a(0x19f)](),this[_0x21279a(0x1b5)](),this[_0x21279a(0x16f)]['clear']();}[_0x4d55e3(0x1a2)](_0x55f7a5,_0x65e8f1,_0x43adeb,_0x144983){const _0xa493c6=_0x4d55e3;this[_0xa493c6(0x1d2)][_0xa493c6(0x15e)](_0x55f7a5)||this[_0xa493c6(0x1d2)]['set'](_0x55f7a5,new Map());const _0x25462e=this[_0xa493c6(0x1d2)][_0xa493c6(0x1ca)](_0x55f7a5);_0x25462e[_0xa493c6(0x15e)](_0x65e8f1)||_0x25462e[_0xa493c6(0x199)](_0x65e8f1,new Map());const _0x2a702b=_0x25462e[_0xa493c6(0x1ca)](_0x65e8f1);_0x2a702b[_0xa493c6(0x15e)](_0x43adeb)||_0x2a702b[_0xa493c6(0x199)](_0x43adeb,new _0x5c9f49()),_0x2a702b['get'](_0x43adeb)[_0xa493c6(0x145)](_0x144983['refOffsetX'],_0x144983[_0xa493c6(0x1c0)],_0x144983[_0xa493c6(0x13c)]);}['removeOtherFormulaDependency'](_0x32ca6d,_0xb19f31,_0x49ca8c){const _0x3ecd4d=_0x4d55e3,_0x556e34=this[_0x3ecd4d(0x1d2)][_0x3ecd4d(0x1ca)](_0x32ca6d);if(_0x556e34&&_0x556e34['has'](_0xb19f31)){const _0x4ee39d=_0x556e34[_0x3ecd4d(0x1ca)](_0xb19f31);_0x49ca8c['forEach'](_0x3c0085=>{const _0x228bde=_0x3ecd4d,_0x3e5abb=_0x4ee39d[_0x228bde(0x1ca)](_0x3c0085);_0x3e5abb!=null&&(_0x3e5abb[_0x228bde(0x188)]((_0x4f250e,_0x2414d5,_0x5295cb)=>{const _0x19e6a8=_0x228bde;this[_0x19e6a8(0x159)](_0x5295cb),this[_0x19e6a8(0x19a)](_0x5295cb);}),_0x4ee39d['delete'](_0x3c0085),this[_0x228bde(0x16f)][_0x228bde(0x17e)](_0x3c0085));}),_0x4ee39d[_0x3ecd4d(0x1dd)]===0x0&&_0x556e34['delete'](_0xb19f31),_0x556e34['size']===0x0&&this[_0x3ecd4d(0x1d2)]['delete'](_0x32ca6d);}}['clearOtherFormulaDependency'](_0x2283c7,_0x13e9a6){const _0x50ce29=_0x4d55e3,_0x5d1580=this[_0x50ce29(0x1d2)]['get'](_0x2283c7);if(_0x13e9a6&&_0x5d1580&&_0x5d1580[_0x50ce29(0x15e)](_0x13e9a6)){const _0x293873=_0x5d1580[_0x50ce29(0x1ca)](_0x13e9a6);this[_0x50ce29(0x18f)](_0x2283c7,_0x13e9a6);for(const _0x599339 of _0x293873[_0x50ce29(0x172)]()){const _0x1826c6=_0x293873['get'](_0x599339);_0x1826c6!=null&&(_0x1826c6[_0x50ce29(0x188)]((_0xc57d89,_0x1e5250,_0xe42217)=>{const _0x371acb=_0x50ce29;this['_allTreeMap'][_0x371acb(0x1ca)](_0xe42217)&&this[_0x371acb(0x19a)](_0xe42217);}),this['_otherFormulaDataMainData'][_0x50ce29(0x17e)](_0x599339));}_0x293873[_0x50ce29(0x19f)]();}else{if(_0x5d1580){for(const _0x38f1f1 of _0x5d1580[_0x50ce29(0x172)]()){const _0x1cbe35=_0x5d1580[_0x50ce29(0x1ca)](_0x38f1f1);this[_0x50ce29(0x18f)](_0x2283c7,_0x38f1f1);for(const _0x450e52 of _0x1cbe35[_0x50ce29(0x172)]()){const _0x7ff551=_0x1cbe35[_0x50ce29(0x1ca)](_0x450e52);_0x7ff551!=null&&(_0x7ff551[_0x50ce29(0x188)]((_0x142253,_0x2b477a,_0x136ba2)=>{const _0x2454ea=_0x50ce29;this[_0x2454ea(0x1b6)][_0x2454ea(0x1ca)](_0x136ba2)&&this[_0x2454ea(0x19a)](_0x136ba2);}),this['_otherFormulaDataMainData']['delete'](_0x450e52));}}this[_0x50ce29(0x1d2)]['delete'](_0x2283c7);}}}['addFeatureFormulaDependency'](_0x1c192d,_0x5cd9cb,_0x2d3613,_0x262ca8){const _0x2d2b23=_0x4d55e3;this[_0x2d2b23(0x167)][_0x2d2b23(0x15e)](_0x1c192d)||this['_featureFormulaData'][_0x2d2b23(0x199)](_0x1c192d,new Map());const _0x4e44fa=this[_0x2d2b23(0x167)]['get'](_0x1c192d);_0x4e44fa[_0x2d2b23(0x15e)](_0x5cd9cb)||_0x4e44fa[_0x2d2b23(0x199)](_0x5cd9cb,new Map()),_0x4e44fa['get'](_0x5cd9cb)[_0x2d2b23(0x199)](_0x2d3613,_0x262ca8[_0x2d2b23(0x13c)]);}['removeFeatureFormulaDependency'](_0x1ff793,_0x3dda02,_0x27e7b5){const _0xab24d0=_0x4d55e3,_0x17c61e=this[_0xab24d0(0x167)][_0xab24d0(0x1ca)](_0x1ff793);if(_0x17c61e&&_0x17c61e[_0xab24d0(0x15e)](_0x3dda02)){const _0x31fae7=_0x17c61e[_0xab24d0(0x1ca)](_0x3dda02);_0x27e7b5['forEach'](_0x242eb=>{const _0x55df29=_0xab24d0,_0x11d81f=_0x31fae7[_0x55df29(0x1ca)](_0x242eb);_0x11d81f!=null&&(this['_removeDependencyRTreeCache'](_0x11d81f),_0x31fae7[_0x55df29(0x17e)](_0x242eb),this[_0x55df29(0x19a)](_0x11d81f));});}}[_0x4d55e3(0x13a)](_0x170643,_0x4b1ef3){const _0x24f2f8=_0x4d55e3,_0x2ee3a7=this[_0x24f2f8(0x167)][_0x24f2f8(0x1ca)](_0x170643);if(_0x4b1ef3&&_0x2ee3a7&&_0x2ee3a7['has'](_0x4b1ef3)){const _0x17d90f=_0x2ee3a7[_0x24f2f8(0x1ca)](_0x4b1ef3);this[_0x24f2f8(0x18f)](_0x170643,_0x4b1ef3),_0x17d90f[_0x24f2f8(0x1a3)](_0x30ecaa=>{const _0x3d9ae2=_0x24f2f8;_0x30ecaa!=null&&this[_0x3d9ae2(0x19a)](_0x30ecaa);}),_0x17d90f[_0x24f2f8(0x19f)]();}else _0x2ee3a7&&(_0x2ee3a7['forEach']((_0x250bc2,_0x12b9c9)=>{const _0x2dd445=_0x24f2f8;this[_0x2dd445(0x18f)](_0x170643,_0x12b9c9),_0x250bc2['forEach'](_0x4c8ac5=>{const _0x2530cb=_0x2dd445;_0x4c8ac5!=null&&this[_0x2530cb(0x19a)](_0x4c8ac5);});}),this[_0x24f2f8(0x167)][_0x24f2f8(0x17e)](_0x170643));}[_0x4d55e3(0x1b3)](_0x1f1ae0,_0x26f3ff,_0x5a262a,_0x1d06b0,_0x567eba){const _0x214b42=_0x4d55e3;this[_0x214b42(0x1a5)]['has'](_0x1f1ae0)||this[_0x214b42(0x1a5)]['set'](_0x1f1ae0,new Map());const _0x6d1dd6=this[_0x214b42(0x1a5)][_0x214b42(0x1ca)](_0x1f1ae0);_0x6d1dd6[_0x214b42(0x15e)](_0x26f3ff)||_0x6d1dd6['set'](_0x26f3ff,new _0x5c9f49()),_0x6d1dd6[_0x214b42(0x1ca)](_0x26f3ff)['setValue'](_0x5a262a,_0x1d06b0,_0x567eba['treeId']);}[_0x4d55e3(0x14d)](_0x4170a8,_0x3adf55,_0x42aa1e,_0x22445f){const _0x2fca7e=_0x4d55e3,_0x5638d2=this[_0x2fca7e(0x1a5)][_0x2fca7e(0x1ca)](_0x4170a8);if(_0x5638d2&&_0x5638d2['has'](_0x3adf55)){const _0x421e9a=_0x5638d2[_0x2fca7e(0x1ca)](_0x3adf55),_0x57cf45=_0x421e9a[_0x2fca7e(0x1d9)](_0x42aa1e,_0x22445f);if(_0x57cf45==null)return;this['_removeDependencyRTreeCache'](_0x57cf45),_0x421e9a['realDeleteValue'](_0x42aa1e,_0x22445f),this[_0x2fca7e(0x19a)](_0x57cf45);}}[_0x4d55e3(0x1aa)](_0x3d41d3,_0x2454cf){const _0x269083=_0x4d55e3,_0x2613c5=this[_0x269083(0x1a5)][_0x269083(0x1ca)](_0x3d41d3);if(_0x2454cf&&_0x2613c5&&_0x2613c5[_0x269083(0x15e)](_0x2454cf)){const _0x2cd63f=_0x2613c5['get'](_0x2454cf);this[_0x269083(0x18f)](_0x3d41d3,_0x2454cf),_0x2cd63f[_0x269083(0x188)]((_0x2a758d,_0x5c0ec0,_0x259146)=>{if(_0x259146==null)return!0x0;this['_removeAllTreeMap'](_0x259146);}),_0x2cd63f[_0x269083(0x19d)]();}else _0x2613c5&&(_0x2613c5[_0x269083(0x1a3)]((_0x48dbf1,_0x7857fa)=>{const _0x336a04=_0x269083;this[_0x336a04(0x18f)](_0x3d41d3,_0x7857fa),_0x48dbf1['forValue']((_0x1f0cec,_0x428912,_0x3f15a7)=>{const _0x461ae9=_0x336a04;if(_0x3f15a7==null)return!0x0;this[_0x461ae9(0x19a)](_0x3f15a7);});}),this['_formulaData'][_0x269083(0x17e)](_0x3d41d3));}[_0x4d55e3(0x159)](_0x43898e){const _0x5450b9=_0x4d55e3;if(_0x43898e==null)return;const _0x598ab5=this['_allTreeMap'][_0x5450b9(0x1ca)](_0x43898e);if(_0x598ab5){const _0x24c3c1=[];for(const [_0x1405d2,_0x111c06]of _0x598ab5)for(const [_0x48236f,_0xda9209]of _0x111c06)_0x24c3c1[_0x5450b9(0x149)]({'unitId':_0x1405d2,'sheetId':_0x48236f,'range':_0xda9209,'id':_0x43898e});this[_0x5450b9(0x146)][_0x5450b9(0x163)](_0x24c3c1);}}['removeFormulaDependencyByDefinedName'](_0x5533d9,_0x1a4803){const _0x1e6754=_0x4d55e3,_0x372c0c=this['_definedNameMap'][_0x1e6754(0x1ca)](_0x5533d9);if(_0x372c0c){const _0x2fe362=_0x372c0c[_0x1e6754(0x1ca)](_0x1a4803);if(_0x2fe362){for(const _0x2dcef8 of _0x2fe362)this['_removeDependencyRTreeCache'](_0x2dcef8),this[_0x1e6754(0x19a)](_0x2dcef8);_0x2fe362[_0x1e6754(0x19f)]();}}}[_0x4d55e3(0x1e5)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x4d55e3(0x14c)](){const _0x5abb45=_0x4d55e3;this[_0x5abb45(0x146)]['closeKdTree']();}[_0x4d55e3(0x19a)](_0x1794f7){const _0x367bdc=_0x4d55e3;_0x1794f7!=null&&this[_0x367bdc(0x1b6)][_0x367bdc(0x17e)](_0x1794f7);}['_addAllTreeMap'](_0x3eb63f){const _0xb30442=_0x4d55e3;var _0x9f5315,_0x20a6c6;const _0x3e2b41=_0x3eb63f[_0xb30442(0x158)];let _0x1e597f=this[_0xb30442(0x1b6)][_0xb30442(0x1ca)](_0x3eb63f[_0xb30442(0x13c)]);for(let _0x4fa547=0x0;_0x4fa547<_0x3e2b41['length'];_0x4fa547++){const _0x1b13d5=_0x3e2b41[_0x4fa547];let {unitId:_0x246b17,sheetId:_0x1b7c4a,range:_0x1607a8}=_0x1b13d5;_0x1e597f||(_0x1e597f=new Map(),this[_0xb30442(0x1b6)][_0xb30442(0x199)](_0x3eb63f[_0xb30442(0x13c)],_0x1e597f)),_0x1e597f[_0xb30442(0x15e)](_0x246b17)||_0x1e597f[_0xb30442(0x199)](_0x246b17,new Map());const _0xa09795=(_0x9f5315=_0x1e597f==null?void 0x0:_0x1e597f[_0xb30442(0x1ca)](_0x246b17))==null?void 0x0:_0x9f5315[_0xb30442(0x1ca)](_0x1b7c4a);_0xa09795&&(_0x1607a8={'startRow':Math[_0xb30442(0x1ac)](_0x1607a8[_0xb30442(0x142)],_0xa09795[_0xb30442(0x142)]),'startColumn':Math[_0xb30442(0x1ac)](_0x1607a8[_0xb30442(0x1ad)],_0xa09795['startColumn']),'endRow':Math['max'](_0x1607a8[_0xb30442(0x16c)],_0xa09795[_0xb30442(0x16c)]),'endColumn':Math[_0xb30442(0x1bf)](_0x1607a8[_0xb30442(0x175)],_0xa09795[_0xb30442(0x175)])}),(_0x20a6c6=_0x1e597f['get'](_0x246b17))==null||_0x20a6c6['set'](_0x1b7c4a,_0x1607a8);}}}var Me=Object[_0x4d55e3(0x1c9)],Se=(_0x5ebfdc,_0x38206e,_0x727ee6,_0x235cbe)=>{const _0xa8eb44=_0x4d55e3;for(var _0x397ee3=_0x235cbe>0x1?void 0x0:_0x235cbe?Me(_0x38206e,_0x727ee6):_0x38206e,_0x1c4714=_0x5ebfdc[_0xa8eb44(0x164)]-0x1,_0x4b432a;_0x1c4714>=0x0;_0x1c4714--)(_0x4b432a=_0x5ebfdc[_0x1c4714])&&(_0x397ee3=_0x4b432a(_0x397ee3)||_0x397ee3);return _0x397ee3;};const Ie=Number[_0x4d55e3(0x1e1)](0x69244942);let Y=class extends _0x2efe07{['_initializeWithOverride'](){const _0x394c66=_0x4d55e3;var _0x49240b,_0x4ce490;this[_0x394c66(0x1b2)]()?(this[_0x394c66(0x162)]['add']([_0x1b6e06,{'useClass':De}]),(_0x49240b=this['_config'])!=null&&_0x49240b['notExecuteFormula']||[[_0x440fd5,{'useClass':Re}],[_0x24282c,{'useClass':ve}],[_0x5006da,{'useClass':Le}]][_0x394c66(0x1a3)](_0x29696c=>this['_injector'][_0x394c66(0x1bb)](_0x29696c))):(this[_0x394c66(0x162)]['add']([_0x1b6e06,{'useClass':_0x1b6e06}]),(_0x4ce490=this[_0x394c66(0x15d)])!=null&&_0x4ce490[_0x394c66(0x190)]||[[_0x440fd5,{'useClass':_0x9779c4}],[_0x24282c,{'useClass':_0x3f9204}],[_0x5006da,{'useClass':_0xc17508}]][_0x394c66(0x1a3)](_0x2ff4e3=>this[_0x394c66(0x162)][_0x394c66(0x1bb)](_0x2ff4e3)));}[_0x4d55e3(0x1b2)](){const _0x48df50=_0x4d55e3;var _0x58cde8;const _0x392ec9=(_0x58cde8=this['_configService'][_0x48df50(0x1c7)](_0x8124e0))!=null?_0x58cde8:{},{ls:_0x2c14d0,pbk:_0x29cde2}=_0x392ec9;if(!_0x2c14d0||!_0x29cde2)return!0x1;const _0x27a919=_0x1dae6a(Te,Fe),_0x12e404=new Function(_0x48df50(0x189)+_0x27a919)()(_0x2c14d0,_0x29cde2),_0x5c8bc0=_0x12e404[_0x48df50(0x144)];return _0x12e404[_0x48df50(0x1a0)]&&_0x28bf94(_0x5c8bc0,'sf',Ie)?_0x23563d(_0x5c8bc0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};Y=Se([_0x24c4c8(_0x1f6f5f)],Y);export{Y as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x5edb68,_0x2d5e9c){var _0x4ff75e=_0x74a9,_0x3318be=_0x5edb68();while(!![]){try{var _0x36d468=parseInt(_0x4ff75e(0x6e))/0x1+parseInt(_0x4ff75e(0x67))/0x2*(parseInt(_0x4ff75e(0x68))/0x3)+-parseInt(_0x4ff75e(0x6f))/0x4+-parseInt(_0x4ff75e(0x6a))/0x5*(parseInt(_0x4ff75e(0x66))/0x6)+-parseInt(_0x4ff75e(0x6c))/0x7+-parseInt(_0x4ff75e(0x6d))/0x8*(-parseInt(_0x4ff75e(0x69))/0x9)+-parseInt(_0x4ff75e(0x6b))/0xa;if(_0x36d468===_0x2d5e9c)break;else _0x3318be['push'](_0x3318be['shift']());}catch(_0x32b92b){_0x3318be['push'](_0x3318be['shift']());}}}(_0x37e7,0xe6b79));function _0x37e7(){var _0x8a9723=['213174XckIOE','5168965IDcCoI','2540950Umiuez','662830eypZLO','88NZIboB','1739101CakHHu','3665592ADvecG','6znhobi','3266EDGGxy','2286GTeJhd'];_0x37e7=function(){return _0x8a9723;};return _0x37e7();}function _0x74a9(_0x1536aa,_0x5caea4){var _0x37e7b3=_0x37e7();return _0x74a9=function(_0x74a941,_0x294f61){_0x74a941=_0x74a941-0x66;var _0x285a1d=_0x37e7b3[_0x74a941];return _0x285a1d;},_0x74a9(_0x1536aa,_0x5caea4);}export*from'@univerjs/engine-formula/facade';
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x573964=_0xdec2;(function(_0x11cc79,_0xa53e58){const _0x5d8cc5=_0xdec2,_0x5e9a93=_0x11cc79();while(!![]){try{const _0x5935c9=-parseInt(_0x5d8cc5(0x23c))/0x1+parseInt(_0x5d8cc5(0x1a6))/0x2*(parseInt(_0x5d8cc5(0x257))/0x3)+parseInt(_0x5d8cc5(0x1f3))/0x4+-parseInt(_0x5d8cc5(0x215))/0x5+-parseInt(_0x5d8cc5(0x220))/0x6+-parseInt(_0x5d8cc5(0x202))/0x7*(parseInt(_0x5d8cc5(0x22e))/0x8)+parseInt(_0x5d8cc5(0x1be))/0x9;if(_0x5935c9===_0xa53e58)break;else _0x5e9a93['push'](_0x5e9a93['shift']());}catch(_0x581ee5){_0x5e9a93['push'](_0x5e9a93['shift']());}}}(_0x1b92,0xdc6e3));var Q=Object['defineProperty'],Z=(_0x486833,_0x596c02,_0x594078)=>_0x596c02 in _0x486833?Q(_0x486833,_0x596c02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594078}):_0x486833[_0x596c02]=_0x594078,U=(_0x32577e,_0xceb5ee,_0x150e0d)=>Z(_0x32577e,typeof _0xceb5ee!=_0x573964(0x1b4)?_0xceb5ee+'':_0xceb5ee,_0x150e0d);import{UniverLicensePlugin as _0x2cd21f,LS_CONFIG_KEY as _0x2af99a,unshiftString as _0x2d427c,isFeatureAuthorizedWithinTime as _0x38ee9b,getSheetFeatureLimit as _0x456be1}from'@univerjs-pro/license';import{ObjectMatrix as _0x5ac77f,requestImmediateMacroTask as _0x89b5b9,RTree as _0xb5d364,DependentOn as _0x3cc641}from'@univerjs/core';import{FormulaDependencyGenerator as _0x255910,generateRandomDependencyTreeId as _0x3cc5c5,FormulaDependencyTree as _0x4be2a4,FormulaDependencyTreeType as _0x3e40fc,FormulaDependencyTreeVirtual as _0x24ba35,generateAstNode as _0x2df1a6,LexerTreeBuilder as _0x2e2257,ErrorType as _0x1a8afa,DEFAULT_TOKEN_TYPE_ROOT as _0xb16712,DEFAULT_TOKEN_TYPE_PARAMETER as _0xbd1cbf,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x10ce6a,NEW_EXCEL_FUNCTIONS as _0x39446b,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x13976a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x12300a,matchToken as _0x9d5387,SUFFIX_TOKEN_SET as _0x5d1a12,prefixToken as _0x1cb147,LexerNode as _0x23cfaa,OPERATOR_TOKEN_SET as _0x19d9d1,CalculateFormulaService as _0x36e8da,FormulaExecuteStageType as _0x7e20d4,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x584a32,DEFAULT_INTERVAL_COUNT as _0x143eb6,DependencyManagerBaseService as _0x3514fc,UniverFormulaEnginePlugin as _0x16eec9,ICalculateFormulaService as _0x19f4ab,IDependencyManagerService as _0x345d5c,IFormulaDependencyGenerator as _0x1e8dfb,DependencyManagerService as _0x5f330d}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';function _0x1b92(){const _0x104f99=['setFormulaExecuteStage','_otherFormulaData','_otherFormulaManagerService','ParentDependencyTree\x20object\x20is\x20null','error','max','_hasNewExcelFunction','featureId','START_CALCULATION','getDirtyNameMap','valid','_lexer','_allTreeMap','dispose','delete','addFormulaDependency','getAllRuntimeData','getOtherFormulaData','addOtherFormulaDependency','3tlYCPp','join','209942AfPBTb','getValue','bulkRemove','set','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','closeKdTree','subUnitId','refOffsetX','getDirtyRanges','isSkip','_generateNewFunctionString','_isCyclicUtilMap','markedAsSuccessfullyExecuted','_generateTreeList','symbol','IDLE','getToken','isForceCalculate','treeId','markedAsNoFunctionsExecuted','addFeatureFormulaDependency','_xlpm.','isCache','setSkip','38847150oOdwUV','realDeleteValue','_initLicenseValid','parseInt','resetCalculationState','endRow','_handleNewFunctionChild','clearOtherFormulaDependency','_otherFormulaDataMainData','keys','execute','setTotalArrayFormulasToCalculate','getChildren','isArray','isDirty','MINUS','getNewFormulaWithPrefix','_removeAllTreeMap','_getUpdateTreeListAndMakeDependency','_config','_registerOtherFormulas','push','openKdTree','_getTreeNode','START_CALCULATION_ARRAY_FORMULA','_dependencyTreeCache','_convertDirtyRangesToUnitRange','OTHER_FORMULA','bulkSearch','_configService','getExcludedRange','string','get','endColumn','_injector','_getFeatureFormulaTree','addFormulaDependencyByDefinedName','COLON','_removeDependencyRTreeCacheById','size','pop','removeFeatureFormulaDependency','_executionInProgressListener$','getClearDependencyTreeCache','formula','clearFeatureFormulaDependency','has','executeAsync','_featureFormulaData','addOtherFormulaDependencyMainData','clear','_getTreeById','_dependencyManagerService','663700hYitDg','_runtimeService','formulaId','setValue','getConfig','min','_createVirtualFDtree','_xlfn.','toRTreeItem','removeFormulaDependency','_formulaDependencyGenerator','_updateRangeFlatten','_traverse','setRuntimeData','_dependencyRTreeCache','11972821DedAQM','removeFormulaDependencyByDefinedName','_dependencyRTreeCacheForAddressFunction','searchDependency','return\x20','rowCount','refOffsetY','setRuntimeFeatureRange','getFormulaData','PLUS','setCurrent','_removeDependencyRTreeCache','dirtyRanges','slice','_calculateRunList','treeBuilder','getFormulaDependency','setCompletedFormulasCount','_formulaData','6750640cJHINv','_restDependencyTreeId','markedAsStopFunctionsExecuted','getUnitData','hasOtherFormulaDataMainData','_getFirstCellOfRange','getRuntimeState','row','_checkIsCycleDependency','isAdded','add','3706590aTbNyh','columnCount','removeOtherFormulaDependency','_interpreter','forEach','CURRENTLY_CALCULATING','setAdded','reset','startRow','_currentConfigService','type','_createFDtree','generate','length','8remAet','_apply','startColumn','Let\x20variable\x20name\x20\x22','notExecuteFormula','VALUE','node','getDirtyData','CURRENTLY_CALCULATING_ARRAY_FORMULA','next','forValue','_checkAddBracketForMinus','_initializeWithOverride','_clearFunctionString','6067CweXqa','rangeList','isVirtual','_astTreeBuilder','clearFormulaDependency','column','unitId','_lambdaFunctionParameterSet'];_0x1b92=function(){return _0x104f99;};return _0x1b92();}function _0xdec2(_0x2cb59f,_0x2373ae){const _0x1b9212=_0x1b92();return _0xdec2=function(_0xdec25f,_0x2eacbe){_0xdec25f=_0xdec25f-0x1a6;let _0x338fbc=_0x1b9212[_0xdec25f];return _0x338fbc;},_0xdec2(_0x2cb59f,_0x2373ae);}const Ce={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},Oe=_0x573964(0x1aa);class Pe extends _0x255910{constructor(){const _0x5d40bc=_0x573964;super(...arguments),U(this,_0x5d40bc(0x1d7),new Map());}[_0x573964(0x251)](){const _0x68f2f9=_0x573964;super[_0x68f2f9(0x251)](),this[_0x68f2f9(0x1d7)][_0x68f2f9(0x1f0)]();}async[_0x573964(0x22c)](){const _0x54a827=_0x573964;this[_0x54a827(0x1fe)]();const _0x4db9ed=this[_0x54a827(0x229)][_0x54a827(0x20a)](),_0x17fb1b=this[_0x54a827(0x246)][_0x54a827(0x255)](),_0x4b553a=this['_currentConfigService'][_0x54a827(0x1e9)]();_0x4b553a!=null&&Object[_0x54a827(0x1c7)](_0x4b553a)[_0x54a827(0x224)](_0xf2de57=>{const _0x1997a9=_0x54a827;_0xf2de57!=null&&Object['keys'](_0x4b553a[_0xf2de57])[_0x1997a9(0x224)](_0x2d2e93=>{const _0x1aaa6e=_0x1997a9;_0x2d2e93!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x1eb)](_0xf2de57,_0x2d2e93),this[_0x1aaa6e(0x1f2)][_0x1aaa6e(0x240)](_0xf2de57,_0x2d2e93));});});const _0x37d60e=this['_currentConfigService'][_0x54a827(0x218)]();await this[_0x54a827(0x1b3)](_0x4db9ed,_0x17fb1b,_0x37d60e),this[_0x54a827(0x1f2)]['openKdTree']();const _0x18d700=this[_0x54a827(0x1d0)](),_0x5ba848=this[_0x54a827(0x210)](_0x18d700);return this[_0x54a827(0x21d)](_0x5ba848)&&this['_runtimeService']['enableCycleDependency'](),this[_0x54a827(0x1d7)][_0x54a827(0x1f0)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x54a827(0x1f2)][_0x54a827(0x1ab)](),this[_0x54a827(0x1f4)]['clearArrayObjectCache'](),Promise['resolve'](_0x5ba848);}[_0x573964(0x1b1)](_0x9f2d08,_0x54ff9b){const _0x343479=_0x573964,_0x1ab94e=[_0x9f2d08];for(;_0x1ab94e['length']>0x0;){const _0x4213ae=_0x1ab94e[_0x1ab94e[_0x343479(0x22d)]-0x1];if((_0x54ff9b[_0x343479(0x1de)](_0x4213ae)||0x0)===0x0){_0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x1);const _0x3d8580=this['_dependencyTreeCache']['get'](_0x4213ae);if(_0x3d8580==null){_0x54ff9b['set'](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();continue;}const _0x76a0=this[_0x343479(0x1f2)]['searchDependency'](_0x3d8580[_0x343479(0x1fb)]());for(const _0x17691f of _0x76a0){const _0x37bf87=_0x54ff9b['get'](_0x17691f)||0x0;if(_0x37bf87===0x1)return!0x0;_0x37bf87===0x0&&_0x1ab94e[_0x343479(0x1d3)](_0x17691f);}}else _0x54ff9b[_0x343479(0x1a9)](_0x4213ae,0x2),_0x1ab94e[_0x343479(0x1e6)]();}return!0x1;}[_0x573964(0x21d)](_0x42621a){const _0x42e45e=_0x573964,_0x5a25d2=new Map();for(const _0x21d8a7 of _0x42621a)if(!_0x5a25d2['has'](_0x21d8a7[_0x42e45e(0x1b8)])&&this[_0x42e45e(0x1b1)](_0x21d8a7[_0x42e45e(0x1b8)],_0x5a25d2))return!0x0;return _0x5a25d2[_0x42e45e(0x1f0)](),!0x1;}[_0x573964(0x1e1)](_0x140883,_0x389e85,_0x1a9118){const _0x380d80=_0x573964,{unitId:_0x55f45c,subUnitId:_0x185ab9,dependencyRanges:_0x3cc1fc,getDirtyData:_0x847009}=_0x1a9118,_0x2f5075=_0x389e85||_0x3cc5c5(this[_0x380d80(0x1f2)]),_0x3788ab=new _0x4be2a4(_0x2f5075);_0x3788ab[_0x380d80(0x242)]=_0x55f45c,_0x3788ab[_0x380d80(0x1ac)]=_0x185ab9,_0x3788ab['rangeList']=_0x3cc1fc,_0x3788ab['getDirtyData']=_0x847009;const _0x2a4b60=_0x847009(this[_0x380d80(0x229)][_0x380d80(0x235)](),this[_0x380d80(0x1f4)]['getAllRuntimeData']()),_0x7ae88=this[_0x380d80(0x1d8)](_0x2a4b60[_0x380d80(0x20e)]);return _0x3788ab['featureDirtyRanges']=_0x7ae88,_0x3788ab[_0x380d80(0x24b)]=_0x140883,_0x3788ab[_0x380d80(0x22a)]=_0x3e40fc['FEATURE_FORMULA'],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x55f45c,_0x185ab9,_0x140883,_0x3788ab),this['_dependencyTreeCache']['set'](_0x3788ab[_0x380d80(0x1b8)],_0x3788ab),this[_0x380d80(0x1f2)]['getFeatureFormulaDependency'](_0x1a9118[_0x380d80(0x242)],_0x1a9118[_0x380d80(0x1ac)],_0x140883)&&(_0x3788ab['isCache']=!0x0),_0x3788ab;}[_0x573964(0x1d2)](_0xfa9a7e,_0x1e2f05,_0x29b769){const _0x192a23=_0x573964;var _0x5a1d7b;for(const _0x4d2917 of _0x1e2f05){const _0x5dbda8=_0xfa9a7e[_0x4d2917];if(_0x5dbda8==null)continue;const _0x1e32d7=Object[_0x192a23(0x1c7)](_0x5dbda8);for(const _0x242f09 of _0x1e32d7){const _0xdb21e=_0x5dbda8[_0x242f09];if(_0xdb21e==null)continue;const _0x30709d=Object[_0x192a23(0x1c7)](_0xdb21e);for(const _0x114ba1 of _0x30709d){const _0x56f161=this['_dependencyManagerService'][_0x192a23(0x219)](_0x114ba1),_0x202af5=_0xdb21e[_0x114ba1],{f:_0x346451,ranges:_0x5e183c}=_0x202af5;let _0x5a6b52=!0x1;_0x56f161&&(_0x5a6b52=!0x0);const {firstRow:_0x1b9a17,firstColumn:_0x580518}=this[_0x192a23(0x21a)](_0x5e183c),_0x121454=this[_0x192a23(0x1f2)]['getOtherFormulaDependency'](_0x4d2917,_0x242f09,_0x114ba1),_0x1ff71e=(_0x5a1d7b=_0x121454==null?void 0x0:_0x121454['getValue'](0x0,0x0))!=null?_0x5a1d7b:_0x3cc5c5(this['_dependencyManagerService']),_0x408d6e=new _0x4be2a4(_0x1ff71e);for(let _0x2aa1e5=0x0;_0x2aa1e5<_0x5e183c['length'];_0x2aa1e5++){const _0x405e3d=_0x5e183c[_0x2aa1e5],{startRow:_0x5c7849,startColumn:_0x1bc072,endRow:_0x367b71,endColumn:_0x328112}=_0x405e3d;for(let _0x3be458=_0x5c7849;_0x3be458<=_0x367b71;_0x3be458++)for(let _0x377cd2=_0x1bc072;_0x377cd2<=_0x328112;_0x377cd2++){const _0x32d2ab=_0x377cd2-_0x580518,_0x19b72d=_0x3be458-_0x1b9a17;if(_0x32d2ab===0x0&&_0x19b72d===0x0){_0x408d6e[_0x192a23(0x1ea)]=_0x346451,_0x408d6e[_0x192a23(0x242)]=_0x4d2917,_0x408d6e[_0x192a23(0x1ac)]=_0x242f09,_0x408d6e[_0x192a23(0x1f5)]=_0x114ba1,_0x408d6e[_0x192a23(0x22a)]=_0x3e40fc[_0x192a23(0x1d9)],_0x408d6e[_0x192a23(0x1bc)]=_0x5a6b52,_0x29b769[_0x192a23(0x1d3)](_0x408d6e),this[_0x192a23(0x1d7)]['set'](_0x408d6e['treeId'],_0x408d6e),this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x408d6e),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x408d6e);continue;}const _0x10f2b0=new _0x24ba35();_0x10f2b0[_0x192a23(0x1b8)]=(_0x121454==null?void 0x0:_0x121454[_0x192a23(0x1a7)](_0x32d2ab,_0x19b72d))||_0x3cc5c5(this[_0x192a23(0x1f2)]),_0x10f2b0['refTree']=_0x408d6e,_0x10f2b0[_0x192a23(0x1ad)]=_0x32d2ab,_0x10f2b0[_0x192a23(0x208)]=_0x19b72d,_0x10f2b0[_0x192a23(0x1bc)]=_0x5a6b52,this[_0x192a23(0x1f2)][_0x192a23(0x256)](_0x4d2917,_0x242f09,_0x114ba1,_0x10f2b0),this[_0x192a23(0x1f2)]['addFormulaDependencyByDefinedName'](_0x10f2b0),_0x29b769[_0x192a23(0x1d3)](_0x10f2b0),this[_0x192a23(0x1d7)][_0x192a23(0x1a9)](_0x10f2b0[_0x192a23(0x1b8)],_0x10f2b0);}}this['_dependencyManagerService'][_0x192a23(0x1ef)](_0x114ba1);}}}}['_registerFormulas'](_0x1fec30,_0x2daaff,_0xdb84fa,_0x4ff9bb){const _0x36577d=_0x573964;for(const _0x5bcbdf of _0x1fec30){const _0x24b38a=_0x2daaff[_0x5bcbdf];if(_0x24b38a==null)continue;const _0x14fcb4=Object['keys'](_0x24b38a);for(const _0x5f405c of _0x14fcb4){const _0x5a9616=new _0x5ac77f(_0x24b38a[_0x5f405c]||{}),_0x4be4ee=new Map();_0x5a9616['forValue']((_0x37d1a4,_0x1c1cf3,_0x173a98)=>{const _0x2aa89b=_0xdec2;if(_0x173a98==null)return!0x0;const {x:_0x416e46=0x0,y:_0x5abb17=0x0,si:_0x20588d}=_0x173a98;if(!(_0x416e46===0x0&&_0x5abb17===0x0&&_0x20588d!=null))return!0x0;const _0x3674e4=this[_0x2aa89b(0x22b)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0xdb84fa,_0x173a98),_0x5a6e90=this[_0x2aa89b(0x1f2)][_0x2aa89b(0x212)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3);_0x5a6e90!=null?_0x3674e4['treeId']=_0x5a6e90:(this[_0x2aa89b(0x1f2)][_0x2aa89b(0x253)](_0x5bcbdf,_0x5f405c,_0x37d1a4,_0x1c1cf3,_0x3674e4),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x3674e4)),_0x4be4ee[_0x2aa89b(0x1a9)](_0x20588d,_0x3674e4),_0x4ff9bb['push'](_0x3674e4),this[_0x2aa89b(0x1d7)][_0x2aa89b(0x1a9)](_0x3674e4[_0x2aa89b(0x1b8)],_0x3674e4);}),_0x5a9616[_0x36577d(0x238)]((_0x41fba4,_0x403e18,_0x3604aa)=>{const _0x3e3253=_0x36577d;if(_0x3604aa==null)return!0x0;const {x:_0x47d746=0x0,y:_0x916d83=0x0,si:_0x4c6ac8}=_0x3604aa;if(_0x47d746===0x0&&_0x916d83===0x0&&_0x4c6ac8!=null)return!0x0;let _0x274d26;if(_0x4c6ac8&&_0x4be4ee['has'](_0x4c6ac8)){const _0x301e80=_0x4be4ee[_0x3e3253(0x1de)](_0x4c6ac8);_0x274d26=this[_0x3e3253(0x1f9)](_0x301e80,_0x3604aa);}else _0x274d26=this[_0x3e3253(0x22b)](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0xdb84fa,_0x3604aa);const _0xfa3126=this[_0x3e3253(0x1f2)]['getFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18);_0xfa3126!=null?_0x274d26[_0x3e3253(0x1b8)]=_0xfa3126:(this[_0x3e3253(0x1f2)]['addFormulaDependency'](_0x5bcbdf,_0x5f405c,_0x41fba4,_0x403e18,_0x274d26),this[_0x3e3253(0x1f2)][_0x3e3253(0x1e2)](_0x274d26)),_0x4ff9bb[_0x3e3253(0x1d3)](_0x274d26),this['_dependencyTreeCache'][_0x3e3253(0x1a9)](_0x274d26[_0x3e3253(0x1b8)],_0x274d26);}),_0x4be4ee[_0x36577d(0x1f0)]();}}}[_0x573964(0x22b)](_0x35d2f9,_0x52d3f5,_0x18458d,_0x5befd8,_0x876e56,_0x163d16){const _0x4cb018=_0x573964,{f:_0x50888c,x:_0x1c13fc=0x0,y:_0xd3ae70=0x0}=_0x163d16,_0x2e415c=new _0x4be2a4(_0x3cc5c5(this[_0x4cb018(0x1f2)])),_0x4f64f4=_0x876e56[_0x35d2f9][_0x52d3f5];return _0x2e415c[_0x4cb018(0x1ea)]=_0x50888c,_0x2e415c[_0x4cb018(0x242)]=_0x35d2f9,_0x2e415c[_0x4cb018(0x1ac)]=_0x52d3f5,_0x2e415c[_0x4cb018(0x21c)]=_0x18458d,_0x2e415c[_0x4cb018(0x241)]=_0x5befd8,_0x2e415c['rowCount']=_0x4f64f4[_0x4cb018(0x207)],_0x2e415c[_0x4cb018(0x221)]=_0x4f64f4[_0x4cb018(0x221)],_0x2e415c;}[_0x573964(0x1d0)](){const _0x198d50=_0x573964,_0x4daea4=[],_0x631f05=new Set(),_0x33a245=this['_currentConfigService'][_0x198d50(0x1b7)](),_0x1f5ac4=this[_0x198d50(0x229)][_0x198d50(0x1ae)](),_0x4d725a=this[_0x198d50(0x1f2)][_0x198d50(0x205)](_0x1f5ac4),_0x537f65=this[_0x198d50(0x204)][_0x198d50(0x1da)](_0x1f5ac4);for(const _0x3c5b83 of _0x537f65)_0x4d725a[_0x198d50(0x21f)](_0x3c5b83);for(const [_0x5ee843,_0x31d2cf]of this[_0x198d50(0x1d7)])(_0x33a245||_0x31d2cf[_0x198d50(0x1cc)]||_0x31d2cf['dependencySheetName'](this[_0x198d50(0x229)][_0x198d50(0x24d)]())||_0x4d725a[_0x198d50(0x1ec)](_0x5ee843)&&!_0x31d2cf['isExcludeRange'](this[_0x198d50(0x229)][_0x198d50(0x1dc)]()))&&!_0x631f05['has'](_0x5ee843)&&(_0x4daea4[_0x198d50(0x1d3)](_0x31d2cf),_0x631f05['add'](_0x5ee843));for(const [_0x5bcf6a,_0x3f4bfd]of this[_0x198d50(0x1d7)])_0x3f4bfd[_0x198d50(0x23e)]||(_0x3f4bfd[_0x198d50(0x23d)]['length']=0x0);return _0x4daea4;}[_0x573964(0x1f1)](_0x20f5a4){const _0x42a457=_0x573964;return this[_0x42a457(0x1d7)][_0x42a457(0x1de)](_0x20f5a4);}[_0x573964(0x1d5)](_0x289cbe){const _0x56c7bb=_0x573964;return _0x2df1a6(_0x289cbe[_0x56c7bb(0x242)],_0x289cbe[_0x56c7bb(0x1ea)],this[_0x56c7bb(0x24f)],this['_astTreeBuilder'],this[_0x56c7bb(0x229)]);}*[_0x573964(0x1ff)](_0x52867e,_0x5b0b4a){const _0x32bee4=_0x573964,_0x131aff=_0x52867e,_0x2ed826=new Set();for(;_0x131aff[_0x32bee4(0x22d)]>0x0;){const _0x7d586d=_0x131aff[_0x32bee4(0x1e6)]();if(_0x2ed826[_0x32bee4(0x1f0)](),_0x7d586d===void 0x0||_0x7d586d[_0x32bee4(0x1af)]())continue;if(_0x7d586d[_0x32bee4(0x21e)]()){yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a[_0x32bee4(0x21f)](_0x7d586d[_0x32bee4(0x1b8)]);continue;}const _0xa0267e=this['_dependencyManagerService'][_0x32bee4(0x205)](_0x7d586d['toRTreeItem'](),_0x5b0b4a),_0x338a34=this[_0x32bee4(0x204)][_0x32bee4(0x1da)](_0x7d586d[_0x32bee4(0x1fb)](),_0x5b0b4a);for(const _0x4daf06 of _0x338a34)_0xa0267e[_0x32bee4(0x21f)](_0x4daf06);for(const _0x1df8df of _0xa0267e){const _0x678f46=this[_0x32bee4(0x1d7)][_0x32bee4(0x1de)](_0x1df8df);if(!_0x678f46)throw new Error(_0x32bee4(0x247));_0x678f46['isAdded']()||_0x7d586d[_0x32bee4(0x1af)]()||_0x2ed826[_0x32bee4(0x21f)](_0x678f46);}if(_0xa0267e[_0x32bee4(0x1f0)](),_0x2ed826[_0x32bee4(0x1e5)]===0x0)yield _0x7d586d,_0x7d586d[_0x32bee4(0x1bd)](),_0x5b0b4a['add'](_0x7d586d['treeId']);else{_0x7d586d[_0x32bee4(0x226)](),_0x131aff[_0x32bee4(0x1d3)](_0x7d586d);for(const _0x220093 of _0x2ed826)_0x131aff['push'](_0x220093);}}_0x131aff[_0x32bee4(0x22d)]=0x0,_0x2ed826[_0x32bee4(0x1f0)]();}['_calculateRunList'](_0x5d770d){const _0x30afa2=_0x573964,_0x325e8b=[],_0x48d382=new Set();for(const _0x441ba0 of this[_0x30afa2(0x1ff)](_0x5d770d,_0x48d382))_0x325e8b['push'](_0x441ba0);return _0x325e8b;}}class Ue extends _0x2e2257{constructor(){const _0x4f3767=_0x573964;super(...arguments),U(this,_0x4f3767(0x24a),!0x1),U(this,'_lambdaFunctionParameterSet',new Set());}[_0x573964(0x1ce)](_0x169dd7,_0xe5e1f1){const _0xa78c9=_0x573964,_0x17d5b7=this[_0xa78c9(0x211)](_0x169dd7,!0x1);if(!_0x17d5b7||_0x17d5b7===_0x1a8afa[_0xa78c9(0x233)]||Array[_0xa78c9(0x1cb)](_0x17d5b7))return null;const _0x20e245=[];return this[_0xa78c9(0x24a)]=!0x1,this[_0xa78c9(0x1b0)](_0x17d5b7,_0x20e245,_0xe5e1f1),this[_0xa78c9(0x24a)]?'='+_0x20e245[_0xa78c9(0x258)](''):null;}[_0x573964(0x1b0)](_0x33db93,_0x1ee4d6,_0x331d42){const _0x51cf4f=_0x573964,_0x3b98c9=_0x33db93[_0x51cf4f(0x1b6)](),_0x58aa21=_0x3b98c9['trim'](),_0x4f35f4=_0x58aa21['toUpperCase'](),_0x521670=this['_clearFunctionString'](_0x4f35f4),_0x5182a6=_0x331d42(_0x521670);let _0x166538=0x0;_0x3b98c9===_0xb16712?_0x166538=0x3:_0x3b98c9===_0xbd1cbf?_0x166538=0x4:_0x3b98c9===_0x10ce6a?_0x166538=0x5:_0x39446b[_0x51cf4f(0x1ec)](_0x521670)?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0):_0x4f35f4===_0x13976a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x2):_0x4f35f4===_0x12300a?(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x51cf4f(0x1fa)+_0x58aa21),this[_0x51cf4f(0x24a)]=!0x0,_0x166538=0x1):_0x4f35f4===_0x9d5387[_0x51cf4f(0x1e3)]?_0x166538=0x8:_0x5d1a12['has'](_0x4f35f4)?_0x166538=0x7:_0x4f35f4===_0x1cb147[_0x51cf4f(0x1cd)]?(this[_0x51cf4f(0x239)](_0x33db93)&&(_0x166538=0x9),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9)):(_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),_0x166538=0xa),_0x5182a6?(_0x166538!==0x2&&_0x166538!==0x1&&(_0x166538=0x6),_0x1ee4d6[_0x51cf4f(0x1d3)]('(')):_0x166538===0x9&&_0x1ee4d6[_0x51cf4f(0x1d3)]('(');const _0x3d5688=_0x33db93['getChildren'](),_0x1bbd43=_0x3d5688[_0x51cf4f(0x22d)];if(_0x166538===0x2){const _0x217afc=_0x3d5688[0x0];let _0x75e0d4=0x0;_0x217afc instanceof _0x23cfaa&&_0x217afc[_0x51cf4f(0x1b6)]()===_0x10ce6a&&(_0x75e0d4=0x1);for(let _0x3ad051=_0x75e0d4;_0x3ad051<_0x1bbd43-0x1;_0x3ad051++){const _0x574db7=_0x3d5688[_0x3ad051];if(_0x574db7 instanceof _0x23cfaa){const _0x25d965=_0x574db7[_0x51cf4f(0x1ca)]()[0x0];typeof _0x25d965==_0x51cf4f(0x1dd)&&(this['_lambdaFunctionParameterSet'][_0x51cf4f(0x1ec)](_0x25d965)&&console[_0x51cf4f(0x248)]('Lambda\x20parameter\x20name\x20\x22'+_0x25d965+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x25d965),_0x1ee4d6[_0x51cf4f(0x1d3)]('_xlpm.'+_0x25d965),this[_0x51cf4f(0x24a)]=!0x0);}_0x1ee4d6['push'](',');}this['_handleNewFunctionChild'](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x75e0d4===0x1&&(_0x1ee4d6[_0x51cf4f(0x1d3)](')'),_0x1ee4d6['push']('('),this[_0x51cf4f(0x1b0)](_0x217afc,_0x1ee4d6,_0x331d42)),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x1){for(let _0x582546=0x0;_0x582546<_0x1bbd43-0x1;_0x582546++){const _0x2c9e50=_0x3d5688[_0x582546];if(_0x2c9e50 instanceof _0x23cfaa&&_0x582546%0x2===0x0){const _0x5f17cb=_0x2c9e50['getChildren']()[0x0];if(typeof _0x5f17cb==_0x51cf4f(0x1dd)){this[_0x51cf4f(0x243)][_0x51cf4f(0x1ec)](_0x5f17cb)&&console[_0x51cf4f(0x248)](_0x51cf4f(0x231)+_0x5f17cb+'\x22\x20is\x20duplicated.'),this[_0x51cf4f(0x243)][_0x51cf4f(0x21f)](_0x5f17cb),_0x1ee4d6['push'](_0x51cf4f(0x1bb)+_0x5f17cb),this['_hasNewExcelFunction']=!0x0,_0x1ee4d6[_0x51cf4f(0x1d3)](',');continue;}}if(this['_handleNewFunctionChild'](_0x2c9e50,_0x1ee4d6,_0x331d42),_0x2c9e50 instanceof _0x23cfaa){const _0x252cb8=_0x3d5688[_0x582546+0x1];_0x252cb8&&_0x252cb8 instanceof _0x23cfaa&&_0x1ee4d6[_0x51cf4f(0x1d3)](',');}}this[_0x51cf4f(0x1c4)](_0x3d5688[_0x1bbd43-0x1],_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](')');return;}else{if(_0x166538===0x8){const _0x2ca367=_0x3d5688[0x0],_0x64a63=_0x3d5688[0x1];this[_0x51cf4f(0x1c4)](_0x2ca367,_0x1ee4d6,_0x331d42),_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),this[_0x51cf4f(0x1c4)](_0x64a63,_0x1ee4d6,_0x331d42);return;}}}for(let _0x21591e=0x0;_0x21591e<_0x1bbd43;_0x21591e++){const _0x3c1c98=_0x3d5688[_0x21591e];if(this[_0x51cf4f(0x1c4)](_0x3c1c98,_0x1ee4d6,_0x331d42),_0x3c1c98 instanceof _0x23cfaa){const _0x303017=_0x3d5688[_0x21591e+0x1];_0x303017&&_0x303017 instanceof _0x23cfaa&&_0x1ee4d6['push'](',');}}_0x166538===0x7&&_0x1ee4d6[_0x51cf4f(0x1d3)](_0x3b98c9),(_0x5182a6||_0x166538===0x9)&&_0x1ee4d6[_0x51cf4f(0x1d3)](')');}[_0x573964(0x1c4)](_0xca0f6f,_0x5ebe9a,_0x19e32c){const _0x2443ea=_0x573964;_0xca0f6f instanceof _0x23cfaa?this[_0x2443ea(0x1b0)](_0xca0f6f,_0x5ebe9a,_0x19e32c):this['_lambdaFunctionParameterSet'][_0x2443ea(0x1ec)](_0xca0f6f)?(_0x5ebe9a[_0x2443ea(0x1d3)]('_xlpm.'+_0xca0f6f),this[_0x2443ea(0x24a)]=!0x0):_0x5ebe9a[_0x2443ea(0x1d3)](_0xca0f6f);}[_0x573964(0x23b)](_0x47adf6){const _0xe51e86=_0x573964;let _0x4b85a1=_0x47adf6['trim']();if(!_0x4b85a1)return _0x4b85a1;const _0x9187d5=_0x4b85a1[0x0];if((_0x9187d5===_0x1cb147['AT']||_0x9187d5===_0x1cb147[_0xe51e86(0x1cd)]||_0x9187d5===_0x1cb147[_0xe51e86(0x20b)])&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x1)),!_0x4b85a1)return _0x4b85a1;const _0xaf532e=_0x4b85a1[_0x4b85a1[_0xe51e86(0x22d)]-0x1];return _0x5d1a12[_0xe51e86(0x1ec)](_0xaf532e)&&(_0x4b85a1=_0x4b85a1[_0xe51e86(0x20f)](0x0,-0x1)),_0x4b85a1;}[_0x573964(0x239)](_0x36877d){const _0x136346=_0x573964,_0x4a073f=_0x36877d['getChildren']()[0x0];if(!_0x4a073f||!(_0x4a073f instanceof _0x23cfaa)||_0x36877d[_0x136346(0x1ca)]()[_0x136346(0x22d)]>0x1)return!0x1;const _0x28f459=_0x4a073f[_0x136346(0x1ca)](),_0x1fe506=_0x28f459['length'];if(_0x1fe506===0x1)return!0x1;for(let _0x437ba3=0x0;_0x437ba3<_0x1fe506;_0x437ba3++){const _0x4efad5=_0x28f459[_0x437ba3];if(!(_0x4efad5 instanceof _0x23cfaa)&&_0x19d9d1['has'](_0x4efad5))return!0x0;}return!0x1;}}class ve extends _0x36e8da{async[_0x573964(0x22f)](_0x49f77a=!0x1){const _0x5086d8=_0x573964;_0x49f77a?this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4['START_DEPENDENCY']),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());const _0x2a0846=await this[_0x5086d8(0x1fd)][_0x5086d8(0x22c)](),_0x53adc8=this[_0x5086d8(0x223)];_0x49f77a?(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x1d6)]),this['_runtimeService'][_0x5086d8(0x1c9)](_0x2a0846[_0x5086d8(0x22d)])):(this[_0x5086d8(0x1f4)]['setFormulaExecuteStage'](_0x7e20d4[_0x5086d8(0x24c)]),this[_0x5086d8(0x1f4)]['setTotalFormulasToCalculate'](_0x2a0846[_0x5086d8(0x22d)])),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)][_0x5086d8(0x21b)]());let _0x478b8c=[];const _0x4c36ee=this[_0x5086d8(0x1db)][_0x5086d8(0x1f7)](_0x584a32),_0x38a6f2=(_0x4c36ee==null?void 0x0:_0x4c36ee['intervalCount'])||_0x143eb6;let _0x363438=0x0;const _0x185b05=_0x2a0846[_0x5086d8(0x22d)];for(;_0x2a0846[_0x5086d8(0x22d)]>0x0;){const _0x35f5b5=_0x2a0846[_0x5086d8(0x1e6)](),_0x5f4662=_0x2df1a6(_0x35f5b5[_0x5086d8(0x242)],_0x35f5b5[_0x5086d8(0x1ea)],this[_0x5086d8(0x24f)],this[_0x5086d8(0x23f)],this[_0x5086d8(0x229)]),_0x5429fa={'node':_0x5f4662,'refOffsetX':_0x35f5b5['refOffsetX'],'refOffsetY':_0x35f5b5[_0x5086d8(0x208)]},_0x2c5d04=_0x35f5b5['getDirtyData'];if(_0x363438%_0x38a6f2===0x0&&(await new Promise(_0x13a954=>{const _0x176115=_0x89b5b9(_0x13a954);_0x478b8c['push'](_0x176115);}),_0x49f77a?(this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x236)]),this[_0x5086d8(0x1f4)]['setCompletedArrayFormulasCount'](_0x363438+0x1)):(this['_runtimeService'][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x225)]),this[_0x5086d8(0x1f4)][_0x5086d8(0x213)](_0x363438+0x1)),this[_0x5086d8(0x1e8)][_0x5086d8(0x237)](this[_0x5086d8(0x1f4)]['getRuntimeState']()),this['_runtimeService']['isStopExecution']()||_0x5429fa==null&&_0x2c5d04==null)){this[_0x5086d8(0x1f4)][_0x5086d8(0x244)](_0x7e20d4[_0x5086d8(0x1b5)]),this['_runtimeService'][_0x5086d8(0x217)](),this['_executionCompleteListener$'][_0x5086d8(0x237)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x5086d8(0x1f4)][_0x5086d8(0x20c)](_0x35f5b5['row'],_0x35f5b5[_0x5086d8(0x241)],_0x35f5b5['rowCount'],_0x35f5b5[_0x5086d8(0x221)],_0x35f5b5['subUnitId'],_0x35f5b5[_0x5086d8(0x242)]);let _0xe73bd5;if(_0x2c5d04!=null&&_0x35f5b5[_0x5086d8(0x24b)]!=null){const {runtimeCellData:_0x8e4660,dirtyRanges:_0x1bc327}=_0x2c5d04(this[_0x5086d8(0x229)][_0x5086d8(0x235)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]());this[_0x5086d8(0x1f4)]['setRuntimeFeatureCellData'](_0x35f5b5[_0x5086d8(0x24b)],_0x8e4660),this[_0x5086d8(0x1f4)][_0x5086d8(0x209)](_0x35f5b5['featureId'],_0x1bc327);}else _0x5429fa!=null&&(_0x53adc8['checkAsyncNode'](_0x5429fa[_0x5086d8(0x234)])?_0xe73bd5=await _0x53adc8[_0x5086d8(0x1ed)](_0x5429fa):_0xe73bd5=_0x53adc8[_0x5086d8(0x1c8)](_0x5429fa),_0x35f5b5[_0x5086d8(0x1f5)]!=null?this[_0x5086d8(0x1f4)]['setRuntimeOtherData'](_0x35f5b5['formulaId'],_0x35f5b5[_0x5086d8(0x1ad)],_0x35f5b5[_0x5086d8(0x208)],_0xe73bd5):this['_runtimeService'][_0x5086d8(0x200)](_0xe73bd5));_0x5f4662[_0x5086d8(0x1c2)](),_0x363438++;}return _0x478b8c['forEach'](_0x52a1f5=>_0x52a1f5()),_0x478b8c=[],_0x185b05>0x0?this[_0x5086d8(0x1f4)][_0x5086d8(0x1b2)]():_0x49f77a||this['_runtimeService'][_0x5086d8(0x1b9)](),this[_0x5086d8(0x1f4)][_0x5086d8(0x254)]();}}class we extends _0x3514fc{constructor(){const _0x295d5e=_0x573964;super(...arguments),U(this,_0x295d5e(0x250),new Map()),U(this,_0x295d5e(0x201),new _0xb5d364(!0x0));}[_0x573964(0x227)](){const _0x1552c5=_0x573964;this[_0x1552c5(0x245)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x1ee)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x214)][_0x1552c5(0x1f0)](),this['_dependencyRTreeCache'][_0x1552c5(0x1f0)](),this[_0x1552c5(0x250)][_0x1552c5(0x1f0)](),this[_0x1552c5(0x216)](),this[_0x1552c5(0x1c6)]['clear']();}['addOtherFormulaDependency'](_0x393259,_0x27c53d,_0x2c1ae9,_0x4d1d7d){const _0x4724f2=_0x573964;this[_0x4724f2(0x245)][_0x4724f2(0x1ec)](_0x393259)||this[_0x4724f2(0x245)]['set'](_0x393259,new Map());const _0xc59ded=this['_otherFormulaData'][_0x4724f2(0x1de)](_0x393259);_0xc59ded[_0x4724f2(0x1ec)](_0x27c53d)||_0xc59ded[_0x4724f2(0x1a9)](_0x27c53d,new Map());const _0x5d8f7a=_0xc59ded[_0x4724f2(0x1de)](_0x27c53d);_0x5d8f7a['has'](_0x2c1ae9)||_0x5d8f7a[_0x4724f2(0x1a9)](_0x2c1ae9,new _0x5ac77f()),_0x5d8f7a[_0x4724f2(0x1de)](_0x2c1ae9)[_0x4724f2(0x1f6)](_0x4d1d7d[_0x4724f2(0x1ad)],_0x4d1d7d[_0x4724f2(0x208)],_0x4d1d7d[_0x4724f2(0x1b8)]);}[_0x573964(0x222)](_0x2fab56,_0x44b7e3,_0x247895){const _0x206db3=_0x573964,_0x5b54f2=this['_otherFormulaData'][_0x206db3(0x1de)](_0x2fab56);if(_0x5b54f2&&_0x5b54f2[_0x206db3(0x1ec)](_0x44b7e3)){const _0x33616c=_0x5b54f2[_0x206db3(0x1de)](_0x44b7e3);_0x247895['forEach'](_0x44269f=>{const _0x26705f=_0x206db3,_0x47c5e1=_0x33616c['get'](_0x44269f);_0x47c5e1!=null&&(_0x47c5e1['forValue']((_0xa5b42b,_0x66e3fd,_0x1c631a)=>{const _0x424623=_0xdec2;this[_0x424623(0x20d)](_0x1c631a),this['_removeAllTreeMap'](_0x1c631a);}),_0x33616c[_0x26705f(0x252)](_0x44269f),this[_0x26705f(0x1c6)][_0x26705f(0x252)](_0x44269f));}),_0x33616c[_0x206db3(0x1e5)]===0x0&&_0x5b54f2[_0x206db3(0x252)](_0x44b7e3),_0x5b54f2[_0x206db3(0x1e5)]===0x0&&this['_otherFormulaData'][_0x206db3(0x252)](_0x2fab56);}}[_0x573964(0x1c5)](_0x34ecf4,_0x9ac1c2){const _0x4cb7d0=_0x573964,_0x4d8e87=this[_0x4cb7d0(0x245)][_0x4cb7d0(0x1de)](_0x34ecf4);if(_0x9ac1c2&&_0x4d8e87&&_0x4d8e87[_0x4cb7d0(0x1ec)](_0x9ac1c2)){const _0x34d9fb=_0x4d8e87['get'](_0x9ac1c2);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0x9ac1c2);for(const _0x427b8a of _0x34d9fb[_0x4cb7d0(0x1c7)]()){const _0x565d3c=_0x34d9fb['get'](_0x427b8a);_0x565d3c!=null&&(_0x565d3c[_0x4cb7d0(0x238)]((_0x16fc62,_0x14e68e,_0xa7d9a)=>{const _0x94973a=_0x4cb7d0;this[_0x94973a(0x250)][_0x94973a(0x1de)](_0xa7d9a)&&this['_removeAllTreeMap'](_0xa7d9a);}),this['_otherFormulaDataMainData'][_0x4cb7d0(0x252)](_0x427b8a));}_0x34d9fb['clear']();}else{if(_0x4d8e87){for(const _0xe41ff5 of _0x4d8e87['keys']()){const _0x2f2843=_0x4d8e87[_0x4cb7d0(0x1de)](_0xe41ff5);this[_0x4cb7d0(0x1e4)](_0x34ecf4,_0xe41ff5);for(const _0x1be7fe of _0x2f2843[_0x4cb7d0(0x1c7)]()){const _0xb930d7=_0x2f2843[_0x4cb7d0(0x1de)](_0x1be7fe);_0xb930d7!=null&&(_0xb930d7['forValue']((_0x8bf310,_0x25f292,_0x45f102)=>{const _0x3cccfc=_0x4cb7d0;this[_0x3cccfc(0x250)][_0x3cccfc(0x1de)](_0x45f102)&&this[_0x3cccfc(0x1cf)](_0x45f102);}),this[_0x4cb7d0(0x1c6)][_0x4cb7d0(0x252)](_0x1be7fe));}}this['_otherFormulaData'][_0x4cb7d0(0x252)](_0x34ecf4);}}}[_0x573964(0x1ba)](_0x5121ef,_0x30bde5,_0x4c4034,_0x18c808){const _0x180054=_0x573964;this[_0x180054(0x1ee)][_0x180054(0x1ec)](_0x5121ef)||this[_0x180054(0x1ee)][_0x180054(0x1a9)](_0x5121ef,new Map());const _0x391148=this[_0x180054(0x1ee)]['get'](_0x5121ef);_0x391148['has'](_0x30bde5)||_0x391148[_0x180054(0x1a9)](_0x30bde5,new Map()),_0x391148['get'](_0x30bde5)[_0x180054(0x1a9)](_0x4c4034,_0x18c808[_0x180054(0x1b8)]);}[_0x573964(0x1e7)](_0x26c6f9,_0xe47f96,_0x2c3497){const _0x396520=_0x573964,_0xd376ef=this[_0x396520(0x1ee)][_0x396520(0x1de)](_0x26c6f9);if(_0xd376ef&&_0xd376ef[_0x396520(0x1ec)](_0xe47f96)){const _0x3d9fe4=_0xd376ef[_0x396520(0x1de)](_0xe47f96);_0x2c3497[_0x396520(0x224)](_0x43f7d0=>{const _0x65fa37=_0x396520,_0x21e7e5=_0x3d9fe4[_0x65fa37(0x1de)](_0x43f7d0);_0x21e7e5!=null&&(this[_0x65fa37(0x20d)](_0x21e7e5),_0x3d9fe4[_0x65fa37(0x252)](_0x43f7d0),this[_0x65fa37(0x1cf)](_0x21e7e5));});}}[_0x573964(0x1eb)](_0x523b57,_0x41e5b5){const _0x4bd84f=_0x573964,_0x308d35=this[_0x4bd84f(0x1ee)][_0x4bd84f(0x1de)](_0x523b57);if(_0x41e5b5&&_0x308d35&&_0x308d35[_0x4bd84f(0x1ec)](_0x41e5b5)){const _0x1349b5=_0x308d35[_0x4bd84f(0x1de)](_0x41e5b5);this[_0x4bd84f(0x1e4)](_0x523b57,_0x41e5b5),_0x1349b5[_0x4bd84f(0x224)](_0x28df37=>{const _0x4ae3ca=_0x4bd84f;_0x28df37!=null&&this[_0x4ae3ca(0x1cf)](_0x28df37);}),_0x1349b5[_0x4bd84f(0x1f0)]();}else _0x308d35&&(_0x308d35['forEach']((_0x2cc08b,_0x19d9e3)=>{const _0x5e4f3b=_0x4bd84f;this[_0x5e4f3b(0x1e4)](_0x523b57,_0x19d9e3),_0x2cc08b[_0x5e4f3b(0x224)](_0xdbb06=>{_0xdbb06!=null&&this['_removeAllTreeMap'](_0xdbb06);});}),this[_0x4bd84f(0x1ee)]['delete'](_0x523b57));}['addFormulaDependency'](_0x318f3f,_0x4387a7,_0xf42f60,_0x5b8fbf,_0x5db769){const _0x54d585=_0x573964;this[_0x54d585(0x214)][_0x54d585(0x1ec)](_0x318f3f)||this['_formulaData']['set'](_0x318f3f,new Map());const _0x177267=this[_0x54d585(0x214)]['get'](_0x318f3f);_0x177267[_0x54d585(0x1ec)](_0x4387a7)||_0x177267[_0x54d585(0x1a9)](_0x4387a7,new _0x5ac77f()),_0x177267['get'](_0x4387a7)['setValue'](_0xf42f60,_0x5b8fbf,_0x5db769[_0x54d585(0x1b8)]);}[_0x573964(0x1fc)](_0x276225,_0x465c40,_0x424aa5,_0x469417){const _0x4c81f1=_0x573964,_0x2a3f61=this[_0x4c81f1(0x214)]['get'](_0x276225);if(_0x2a3f61&&_0x2a3f61[_0x4c81f1(0x1ec)](_0x465c40)){const _0x2b78a1=_0x2a3f61[_0x4c81f1(0x1de)](_0x465c40),_0x33d3bc=_0x2b78a1[_0x4c81f1(0x1a7)](_0x424aa5,_0x469417);if(_0x33d3bc==null)return;this[_0x4c81f1(0x20d)](_0x33d3bc),_0x2b78a1[_0x4c81f1(0x1bf)](_0x424aa5,_0x469417),this['_removeAllTreeMap'](_0x33d3bc);}}[_0x573964(0x240)](_0xb91544,_0x25d15e){const _0x1349ec=_0x573964,_0x461702=this[_0x1349ec(0x214)][_0x1349ec(0x1de)](_0xb91544);if(_0x25d15e&&_0x461702&&_0x461702[_0x1349ec(0x1ec)](_0x25d15e)){const _0x308395=_0x461702['get'](_0x25d15e);this[_0x1349ec(0x1e4)](_0xb91544,_0x25d15e),_0x308395[_0x1349ec(0x238)]((_0x31e7a5,_0x3e4109,_0x295834)=>{const _0xb327e2=_0x1349ec;if(_0x295834==null)return!0x0;this[_0xb327e2(0x1cf)](_0x295834);}),_0x308395[_0x1349ec(0x227)]();}else _0x461702&&(_0x461702[_0x1349ec(0x224)]((_0x339d2a,_0x46d02c)=>{const _0x1bb173=_0x1349ec;this['_removeDependencyRTreeCacheById'](_0xb91544,_0x46d02c),_0x339d2a[_0x1bb173(0x238)]((_0xc4f6b8,_0x48b034,_0x89ce40)=>{if(_0x89ce40==null)return!0x0;this['_removeAllTreeMap'](_0x89ce40);});}),this[_0x1349ec(0x214)][_0x1349ec(0x252)](_0xb91544));}['_removeDependencyRTreeCache'](_0x4b1fa4){const _0x2675d3=_0x573964;if(_0x4b1fa4==null)return;const _0x49d62a=this[_0x2675d3(0x250)][_0x2675d3(0x1de)](_0x4b1fa4);if(_0x49d62a){const _0x35ad35=[];for(const [_0x346148,_0x4e39e9]of _0x49d62a)for(const [_0x113283,_0x1e0b67]of _0x4e39e9)_0x35ad35[_0x2675d3(0x1d3)]({'unitId':_0x346148,'sheetId':_0x113283,'range':_0x1e0b67,'id':_0x4b1fa4});this['_dependencyRTreeCache'][_0x2675d3(0x1a8)](_0x35ad35);}}[_0x573964(0x203)](_0x5ad3d3,_0x4a6959){const _0x41c875=_0x573964,_0xafbf1a=this['_definedNameMap'][_0x41c875(0x1de)](_0x5ad3d3);if(_0xafbf1a){const _0x5dac1c=_0xafbf1a[_0x41c875(0x1de)](_0x4a6959);if(_0x5dac1c){for(const _0x70bdc of _0x5dac1c)this[_0x41c875(0x20d)](_0x70bdc),this[_0x41c875(0x1cf)](_0x70bdc);_0x5dac1c[_0x41c875(0x1f0)]();}}}[_0x573964(0x1d4)](){const _0x308219=_0x573964;this[_0x308219(0x201)][_0x308219(0x1d4)]();}[_0x573964(0x1ab)](){const _0x3ad32f=_0x573964;this[_0x3ad32f(0x201)][_0x3ad32f(0x1ab)]();}['_removeAllTreeMap'](_0x3b0872){const _0x4c43f8=_0x573964;_0x3b0872!=null&&this[_0x4c43f8(0x250)][_0x4c43f8(0x252)](_0x3b0872);}['_addAllTreeMap'](_0x398d57){const _0x4d4ad4=_0x573964;var _0xb6bdaf,_0x480abb;const _0x4997de=_0x398d57[_0x4d4ad4(0x23d)];let _0x544060=this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1de)](_0x398d57[_0x4d4ad4(0x1b8)]);for(let _0x4b959d=0x0;_0x4b959d<_0x4997de['length'];_0x4b959d++){const _0x210e31=_0x4997de[_0x4b959d];let {unitId:_0x3bdc35,sheetId:_0x5c1d2c,range:_0x25dfb5}=_0x210e31;_0x544060||(_0x544060=new Map(),this[_0x4d4ad4(0x250)][_0x4d4ad4(0x1a9)](_0x398d57['treeId'],_0x544060)),_0x544060['has'](_0x3bdc35)||_0x544060[_0x4d4ad4(0x1a9)](_0x3bdc35,new Map());const _0x23eccc=(_0xb6bdaf=_0x544060==null?void 0x0:_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null?void 0x0:_0xb6bdaf['get'](_0x5c1d2c);_0x23eccc&&(_0x25dfb5={'startRow':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x228)],_0x23eccc[_0x4d4ad4(0x228)]),'startColumn':Math[_0x4d4ad4(0x1f8)](_0x25dfb5[_0x4d4ad4(0x230)],_0x23eccc['startColumn']),'endRow':Math[_0x4d4ad4(0x249)](_0x25dfb5['endRow'],_0x23eccc[_0x4d4ad4(0x1c3)]),'endColumn':Math[_0x4d4ad4(0x249)](_0x25dfb5[_0x4d4ad4(0x1df)],_0x23eccc['endColumn'])}),(_0x480abb=_0x544060[_0x4d4ad4(0x1de)](_0x3bdc35))==null||_0x480abb['set'](_0x5c1d2c,_0x25dfb5);}}}var Me=Object['getOwnPropertyDescriptor'],Se=(_0x509aa9,_0x71470c,_0x322a65,_0x47dc97)=>{const _0x32f391=_0x573964;for(var _0x1afd9c=_0x47dc97>0x1?void 0x0:_0x47dc97?Me(_0x71470c,_0x322a65):_0x71470c,_0x1290c0=_0x509aa9[_0x32f391(0x22d)]-0x1,_0x583d23;_0x1290c0>=0x0;_0x1290c0--)(_0x583d23=_0x509aa9[_0x1290c0])&&(_0x1afd9c=_0x583d23(_0x1afd9c)||_0x1afd9c);return _0x1afd9c;};const Re=Number[_0x573964(0x1c1)](0x69218da5);let B=class extends _0x16eec9{[_0x573964(0x23a)](){const _0x1d0137=_0x573964;var _0x100686,_0x399100;this[_0x1d0137(0x1c0)]()?(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':Ue}]),(_0x100686=this[_0x1d0137(0x1d1)])!=null&&_0x100686[_0x1d0137(0x232)]||[[_0x19f4ab,{'useClass':ve}],[_0x345d5c,{'useClass':we}],[_0x1e8dfb,{'useClass':Pe}]][_0x1d0137(0x224)](_0x30ac47=>this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)](_0x30ac47))):(this[_0x1d0137(0x1e0)][_0x1d0137(0x21f)]([_0x2e2257,{'useClass':_0x2e2257}]),(_0x399100=this[_0x1d0137(0x1d1)])!=null&&_0x399100['notExecuteFormula']||[[_0x19f4ab,{'useClass':_0x36e8da}],[_0x345d5c,{'useClass':_0x5f330d}],[_0x1e8dfb,{'useClass':_0x255910}]]['forEach'](_0x591f48=>this[_0x1d0137(0x1e0)]['add'](_0x591f48)));}[_0x573964(0x1c0)](){const _0x160f77=_0x573964;var _0x3e82fb;const _0x40ffd2=(_0x3e82fb=this[_0x160f77(0x1db)][_0x160f77(0x1f7)](_0x2af99a))!=null?_0x3e82fb:{},{ls:_0x32b9a9,pbk:_0x169d09}=_0x40ffd2;if(!_0x32b9a9||!_0x169d09)return!0x1;const _0xa3bba8=_0x2d427c(Oe,Ce),_0x1d8837=new Function(_0x160f77(0x206)+_0xa3bba8)()(_0x32b9a9,_0x169d09),_0x1baff1=_0x1d8837['message'];return _0x1d8837[_0x160f77(0x24e)]&&_0x38ee9b(_0x1baff1,'sf',Re)?_0x456be1(_0x1baff1,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};B=Se([_0x3cc641(_0x2cd21f)],B);export{B as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x4d55e3=_0x5ec6;(function(_0x160a22,_0x514497){const _0x2faea0=_0x5ec6,_0x4c4908=_0x160a22();while(!![]){try{const _0x12a9d9=-parseInt(_0x2faea0(0x147))/0x1+parseInt(_0x2faea0(0x1c6))/0x2+-parseInt(_0x2faea0(0x13f))/0x3+parseInt(_0x2faea0(0x137))/0x4+parseInt(_0x2faea0(0x1cd))/0x5+-parseInt(_0x2faea0(0x1b1))/0x6*(-parseInt(_0x2faea0(0x1c1))/0x7)+-parseInt(_0x2faea0(0x161))/0x8*(parseInt(_0x2faea0(0x154))/0x9);if(_0x12a9d9===_0x514497)break;else _0x4c4908['push'](_0x4c4908['shift']());}catch(_0x3a225a){_0x4c4908['push'](_0x4c4908['shift']());}}}(_0x5869,0x7cab5));var Q=Object[_0x4d55e3(0x17c)],J=(_0xbf192c,_0x838cfd,_0x59c6c4)=>_0x838cfd in _0xbf192c?Q(_0xbf192c,_0x838cfd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59c6c4}):_0xbf192c[_0x838cfd]=_0x59c6c4,D=(_0xdab520,_0x172a5a,_0x2be5ff)=>J(_0xdab520,typeof _0x172a5a!=_0x4d55e3(0x185)?_0x172a5a+'':_0x172a5a,_0x2be5ff);function _0x5ec6(_0x4b649c,_0x1e4556){const _0x58690a=_0x5869();return _0x5ec6=function(_0x5ec673,_0x5b39e5){_0x5ec673=_0x5ec673-0x133;let _0x18ebae=_0x58690a[_0x5ec673];return _0x18ebae;},_0x5ec6(_0x4b649c,_0x1e4556);}import{UniverLicensePlugin as _0x1f6f5f,LS_CONFIG_KEY as _0x8124e0,unshiftString as _0x1dae6a,isFeatureAuthorizedWithinTime as _0x28bf94,getSheetFeatureLimit as _0x23563d}from'@univerjs-pro/license';import{ObjectMatrix as _0x5c9f49,requestImmediateMacroTask as _0x52c7d8,RTree as _0x314f50,DependentOn as _0x24c4c8}from'@univerjs/core';import{FormulaDependencyGenerator as _0xc17508,generateRandomDependencyTreeId as _0x14e144,FormulaDependencyTree as _0x8e1ed2,FormulaDependencyTreeType as _0x1c6c97,FormulaDependencyTreeVirtual as _0x11e87e,generateAstNode as _0x4a26c9,LexerTreeBuilder as _0x1b6e06,ErrorType as _0xd1a729,DEFAULT_TOKEN_TYPE_ROOT as _0x4acf12,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3d30fc,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x5ebae3,NEW_EXCEL_FUNCTIONS as _0x4341f5,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x2f2b4e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x1d7ccb,matchToken as _0x2570b2,SUFFIX_TOKEN_SET as _0x2a8354,prefixToken as _0x39a207,LexerNode as _0x4526bb,OPERATOR_TOKEN_SET as _0x32c401,CalculateFormulaService as _0x9779c4,FormulaExecuteStageType as _0x1aa144,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x55cd6f,DEFAULT_INTERVAL_COUNT as _0x292441,DependencyManagerBaseService as _0x557673,UniverFormulaEnginePlugin as _0x2efe07,ICalculateFormulaService as _0x440fd5,IDependencyManagerService as _0x24282c,IFormulaDependencyGenerator as _0x5006da,DependencyManagerService as _0x3f9204}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Fe={0x0:'z',0x1:'6',0x2:'i',0x3:'L',0x4:'h',0x5:'R',0x6:'j',0x7:'o',0x8:'l',0x9:'D','H':'0','l':'1','Q':'2','a':'3','Y':'4','z':'5','k':'7','w':'8','O':'9','g':'a','e':'b','I':'c','C':'d','E':'e','R':'f','s':'g','x':'k','F':'m','L':'n','G':'p','o':'q','t':'r','A':'s','i':'t','B':'u','Z':'v','p':'w','h':'x','d':'y','D':'A','r':'B','u':'C','f':'E','m':'F','q':'G','W':'H','c':'I','N':'J','J':'K','V':'M','v':'N','K':'O','T':'P','n':'Q','S':'S','U':'T','b':'U','X':'V','y':'W','j':'X','M':'Y','P':'Z'},Te=_0x4d55e3(0x1cc);class Le extends _0xc17508{constructor(){super(...arguments),D(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x34c8d4=_0x4d55e3;super[_0x34c8d4(0x139)](),this['_dependencyTreeCache'][_0x34c8d4(0x19f)]();}async[_0x4d55e3(0x1ab)](){const _0x402655=_0x4d55e3;this[_0x402655(0x1e0)]();const _0x59b8af=this['_currentConfigService'][_0x402655(0x17d)](),_0x34acab=this['_otherFormulaManagerService'][_0x402655(0x1d6)](),_0xcbde3f=this['_currentConfigService'][_0x402655(0x13d)]();_0xcbde3f!=null&&Object[_0x402655(0x172)](_0xcbde3f)['forEach'](_0x57a67b=>{const _0x4766eb=_0x402655;_0x57a67b!=null&&Object[_0x4766eb(0x172)](_0xcbde3f[_0x57a67b])[_0x4766eb(0x1a3)](_0x1f0ee0=>{const _0x44a610=_0x4766eb;_0x1f0ee0!=null&&(this[_0x44a610(0x1e4)][_0x44a610(0x1b8)](_0x57a67b,_0x1f0ee0),this[_0x44a610(0x1e4)][_0x44a610(0x13a)](_0x57a67b,_0x1f0ee0),this[_0x44a610(0x1e4)][_0x44a610(0x1aa)](_0x57a67b,_0x1f0ee0));});});const _0x58f473=this[_0x402655(0x17b)][_0x402655(0x138)]();await this[_0x402655(0x174)](_0x59b8af,_0x34acab,_0x58f473),this[_0x402655(0x1e4)][_0x402655(0x1e5)]();const _0x50f461=this[_0x402655(0x1c3)](),_0x37f224=this['_calculateRunList'](_0x50f461);return this[_0x402655(0x186)](_0x37f224)&&this[_0x402655(0x1be)][_0x402655(0x198)](),this[_0x402655(0x1d3)]['clear'](),this[_0x402655(0x1db)][_0x402655(0x19f)](),this['_dependencyManagerService'][_0x402655(0x14c)](),this[_0x402655(0x1be)][_0x402655(0x19b)](),Promise[_0x402655(0x18c)](_0x37f224);}[_0x4d55e3(0x16e)](_0x4d0f86,_0x1ba949){const _0x595a21=_0x4d55e3,_0x55208d=[_0x4d0f86];for(;_0x55208d[_0x595a21(0x164)]>0x0;){const _0x5e5451=_0x55208d[_0x55208d[_0x595a21(0x164)]-0x1];if((_0x1ba949[_0x595a21(0x1ca)](_0x5e5451)||0x0)===0x0){_0x1ba949[_0x595a21(0x199)](_0x5e5451,0x1);const _0x1ef347=this[_0x595a21(0x1d3)]['get'](_0x5e5451);if(_0x1ef347==null){_0x1ba949[_0x595a21(0x199)](_0x5e5451,0x2),_0x55208d[_0x595a21(0x184)]();continue;}const _0x174468=this[_0x595a21(0x1e4)][_0x595a21(0x143)](_0x1ef347['toRTreeItem']());for(const _0x4295e0 of _0x174468){const _0x5d3b4a=_0x1ba949[_0x595a21(0x1ca)](_0x4295e0)||0x0;if(_0x5d3b4a===0x1)return!0x0;_0x5d3b4a===0x0&&_0x55208d[_0x595a21(0x149)](_0x4295e0);}}else _0x1ba949['set'](_0x5e5451,0x2),_0x55208d[_0x595a21(0x184)]();}return!0x1;}[_0x4d55e3(0x186)](_0x1993e1){const _0x327fe9=_0x4d55e3,_0x141c8e=new Map();for(const _0x17bddd of _0x1993e1)if(!_0x141c8e[_0x327fe9(0x15e)](_0x17bddd['treeId'])&&this['_isCyclicUtilMap'](_0x17bddd[_0x327fe9(0x13c)],_0x141c8e))return!0x0;return _0x141c8e[_0x327fe9(0x19f)](),!0x1;}[_0x4d55e3(0x180)](_0x1435ff,_0x3c7ef5,_0xa94241){const _0x232542=_0x4d55e3,{unitId:_0x433d76,subUnitId:_0x10e39c,dependencyRanges:_0x858732,getDirtyData:_0x6516d4}=_0xa94241,_0x358808=_0x3c7ef5||_0x14e144(this[_0x232542(0x1e4)]),_0x24eb54=new _0x8e1ed2(_0x358808);_0x24eb54[_0x232542(0x179)]=_0x433d76,_0x24eb54[_0x232542(0x18b)]=_0x10e39c,_0x24eb54['rangeList']=_0x858732,_0x24eb54[_0x232542(0x176)]=_0x6516d4;const _0x3811f8=_0x6516d4(this['_currentConfigService'][_0x232542(0x176)](),this[_0x232542(0x1be)][_0x232542(0x1d7)]()),_0x3342ea=this[_0x232542(0x1ae)](_0x3811f8[_0x232542(0x136)]);return _0x24eb54['featureDirtyRanges']=_0x3342ea,_0x24eb54['featureId']=_0x1435ff,_0x24eb54[_0x232542(0x196)]=_0x1c6c97['FEATURE_FORMULA'],this[_0x232542(0x1e4)]['addFeatureFormulaDependency'](_0x433d76,_0x10e39c,_0x1435ff,_0x24eb54),this[_0x232542(0x1d3)][_0x232542(0x199)](_0x24eb54[_0x232542(0x13c)],_0x24eb54),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0xa94241[_0x232542(0x179)],_0xa94241['subUnitId'],_0x1435ff)&&(_0x24eb54[_0x232542(0x165)]=!0x0),_0x24eb54;}[_0x4d55e3(0x13b)](_0x50b431,_0x348f37,_0x3495b5){const _0x50c22c=_0x4d55e3;var _0x241374;for(const _0x237ca3 of _0x348f37){const _0x11ecc9=_0x50b431[_0x237ca3];if(_0x11ecc9==null)continue;const _0x2003f7=Object[_0x50c22c(0x172)](_0x11ecc9);for(const _0x119981 of _0x2003f7){const _0x314804=_0x11ecc9[_0x119981];if(_0x314804==null)continue;const _0xb76b95=Object['keys'](_0x314804);for(const _0x184f41 of _0xb76b95){const _0x55942f=this[_0x50c22c(0x1e4)][_0x50c22c(0x181)](_0x184f41),_0x45c971=_0x314804[_0x184f41],{f:_0x260cab,ranges:_0x57511d}=_0x45c971;let _0x1f77c5=!0x1;_0x55942f&&(_0x1f77c5=!0x0);const {firstRow:_0x518698,firstColumn:_0x295116}=this[_0x50c22c(0x1a7)](_0x57511d),_0x358cf1=this[_0x50c22c(0x1e4)][_0x50c22c(0x15a)](_0x237ca3,_0x119981,_0x184f41),_0x2f2446=(_0x241374=_0x358cf1==null?void 0x0:_0x358cf1[_0x50c22c(0x1d9)](0x0,0x0))!=null?_0x241374:_0x14e144(this[_0x50c22c(0x1e4)]),_0x31d388=new _0x8e1ed2(_0x2f2446);for(let _0x3fd1b5=0x0;_0x3fd1b5<_0x57511d['length'];_0x3fd1b5++){const _0x49fe0b=_0x57511d[_0x3fd1b5],{startRow:_0x5aca50,startColumn:_0x5b64cc,endRow:_0x569944,endColumn:_0x206ea1}=_0x49fe0b;for(let _0x55e201=_0x5aca50;_0x55e201<=_0x569944;_0x55e201++)for(let _0x5bd0c3=_0x5b64cc;_0x5bd0c3<=_0x206ea1;_0x5bd0c3++){const _0x41e7f5=_0x5bd0c3-_0x295116,_0x2112e8=_0x55e201-_0x518698;if(_0x41e7f5===0x0&&_0x2112e8===0x0){_0x31d388[_0x50c22c(0x1ce)]=_0x260cab,_0x31d388[_0x50c22c(0x179)]=_0x237ca3,_0x31d388[_0x50c22c(0x18b)]=_0x119981,_0x31d388[_0x50c22c(0x1c8)]=_0x184f41,_0x31d388[_0x50c22c(0x196)]=_0x1c6c97['OTHER_FORMULA'],_0x31d388[_0x50c22c(0x165)]=_0x1f77c5,_0x3495b5[_0x50c22c(0x149)](_0x31d388),this[_0x50c22c(0x1d3)]['set'](_0x31d388[_0x50c22c(0x13c)],_0x31d388),this[_0x50c22c(0x1e4)][_0x50c22c(0x1a2)](_0x237ca3,_0x119981,_0x184f41,_0x31d388),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x31d388);continue;}const _0x43915a=new _0x11e87e();_0x43915a[_0x50c22c(0x13c)]=(_0x358cf1==null?void 0x0:_0x358cf1['getValue'](_0x41e7f5,_0x2112e8))||_0x14e144(this['_dependencyManagerService']),_0x43915a[_0x50c22c(0x193)]=_0x31d388,_0x43915a['refOffsetX']=_0x41e7f5,_0x43915a[_0x50c22c(0x1c0)]=_0x2112e8,_0x43915a[_0x50c22c(0x165)]=_0x1f77c5,this[_0x50c22c(0x1e4)][_0x50c22c(0x1a2)](_0x237ca3,_0x119981,_0x184f41,_0x43915a),this[_0x50c22c(0x1e4)][_0x50c22c(0x16a)](_0x43915a),_0x3495b5[_0x50c22c(0x149)](_0x43915a),this[_0x50c22c(0x1d3)]['set'](_0x43915a['treeId'],_0x43915a);}}this[_0x50c22c(0x1e4)][_0x50c22c(0x171)](_0x184f41);}}}}['_registerFormulas'](_0x44ccd8,_0x35e2bf,_0x75162f,_0x5f03f4){const _0x362e0b=_0x4d55e3;for(const _0x54c085 of _0x44ccd8){const _0x1f4aec=_0x35e2bf[_0x54c085];if(_0x1f4aec==null)continue;const _0x301bc0=Object[_0x362e0b(0x172)](_0x1f4aec);for(const _0x3ca053 of _0x301bc0){const _0x3f354b=new _0x5c9f49(_0x1f4aec[_0x3ca053]||{}),_0xd3b1d8=new Map();_0x3f354b['forValue']((_0x1fcaf3,_0xb10d0,_0x421f85)=>{const _0x25432a=_0x362e0b;if(_0x421f85==null)return!0x0;const {x:_0x27d503=0x0,y:_0x56558d=0x0,si:_0x2f31e9}=_0x421f85;if(!(_0x27d503===0x0&&_0x56558d===0x0&&_0x2f31e9!=null))return!0x0;const _0x86440b=this[_0x25432a(0x17a)](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0,_0x75162f,_0x421f85),_0x42d95c=this['_dependencyManagerService']['getFormulaDependency'](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0);_0x42d95c!=null?_0x86440b[_0x25432a(0x13c)]=_0x42d95c:(this[_0x25432a(0x1e4)][_0x25432a(0x1b3)](_0x54c085,_0x3ca053,_0x1fcaf3,_0xb10d0,_0x86440b),this['_dependencyManagerService'][_0x25432a(0x16a)](_0x86440b)),_0xd3b1d8[_0x25432a(0x199)](_0x2f31e9,_0x86440b),_0x5f03f4['push'](_0x86440b),this[_0x25432a(0x1d3)]['set'](_0x86440b['treeId'],_0x86440b);}),_0x3f354b['forValue']((_0x19a97f,_0x10ce53,_0x49d96)=>{const _0x283696=_0x362e0b;if(_0x49d96==null)return!0x0;const {x:_0x2cb4c3=0x0,y:_0x4bdb31=0x0,si:_0x58b213}=_0x49d96;if(_0x2cb4c3===0x0&&_0x4bdb31===0x0&&_0x58b213!=null)return!0x0;let _0x28b4f6;if(_0x58b213&&_0xd3b1d8[_0x283696(0x15e)](_0x58b213)){const _0xa5e67d=_0xd3b1d8[_0x283696(0x1ca)](_0x58b213);_0x28b4f6=this['_createVirtualFDtree'](_0xa5e67d,_0x49d96);}else _0x28b4f6=this[_0x283696(0x17a)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53,_0x75162f,_0x49d96);const _0x216e84=this['_dependencyManagerService'][_0x283696(0x1a1)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53);_0x216e84!=null?_0x28b4f6[_0x283696(0x13c)]=_0x216e84:(this[_0x283696(0x1e4)][_0x283696(0x1b3)](_0x54c085,_0x3ca053,_0x19a97f,_0x10ce53,_0x28b4f6),this['_dependencyManagerService'][_0x283696(0x16a)](_0x28b4f6)),_0x5f03f4['push'](_0x28b4f6),this['_dependencyTreeCache'][_0x283696(0x199)](_0x28b4f6[_0x283696(0x13c)],_0x28b4f6);}),_0xd3b1d8[_0x362e0b(0x19f)]();}}}[_0x4d55e3(0x17a)](_0xa26134,_0x35eae5,_0x491793,_0x131755,_0x2972dc,_0x311502){const _0x152992=_0x4d55e3,{f:_0x3a1703,x:_0x11711e=0x0,y:_0x53910a=0x0}=_0x311502,_0x265c51=new _0x8e1ed2(_0x14e144(this['_dependencyManagerService'])),_0x5571f8=_0x2972dc[_0xa26134][_0x35eae5];return _0x265c51['formula']=_0x3a1703,_0x265c51['unitId']=_0xa26134,_0x265c51[_0x152992(0x18b)]=_0x35eae5,_0x265c51['row']=_0x491793,_0x265c51[_0x152992(0x15f)]=_0x131755,_0x265c51[_0x152992(0x140)]=_0x5571f8['rowCount'],_0x265c51['columnCount']=_0x5571f8[_0x152992(0x18e)],_0x265c51;}[_0x4d55e3(0x1c3)](){const _0x2f2018=_0x4d55e3,_0x325909=[],_0x5227f6=new Set(),_0x57fefe=this[_0x2f2018(0x17b)][_0x2f2018(0x16d)](),_0x533da2=this[_0x2f2018(0x17b)][_0x2f2018(0x1d5)](),_0x34e037=this[_0x2f2018(0x1e4)][_0x2f2018(0x143)](_0x533da2),_0x477284=this[_0x2f2018(0x1db)][_0x2f2018(0x1b4)](_0x533da2);for(const _0x57ee79 of _0x477284)_0x34e037[_0x2f2018(0x1bb)](_0x57ee79);for(const [_0x557d4b,_0x9957ff]of this[_0x2f2018(0x1d3)])(_0x57fefe||_0x9957ff[_0x2f2018(0x156)]||_0x9957ff[_0x2f2018(0x1af)](this[_0x2f2018(0x17b)][_0x2f2018(0x178)]())||_0x34e037['has'](_0x557d4b)&&!_0x9957ff[_0x2f2018(0x173)](this[_0x2f2018(0x17b)]['getExcludedRange']()))&&!_0x5227f6[_0x2f2018(0x15e)](_0x557d4b)&&(_0x325909[_0x2f2018(0x149)](_0x9957ff),_0x5227f6[_0x2f2018(0x1bb)](_0x557d4b));for(const [_0x354425,_0x48e139]of this[_0x2f2018(0x1d3)])_0x48e139['isVirtual']||(_0x48e139[_0x2f2018(0x158)][_0x2f2018(0x164)]=0x0);return _0x325909;}[_0x4d55e3(0x1e9)](_0x3fcf5a){const _0x5572ae=_0x4d55e3;return this[_0x5572ae(0x1d3)][_0x5572ae(0x1ca)](_0x3fcf5a);}[_0x4d55e3(0x14b)](_0x1dfe95){const _0x481901=_0x4d55e3;return _0x4a26c9(_0x1dfe95[_0x481901(0x179)],_0x1dfe95[_0x481901(0x1ce)],this[_0x481901(0x1a6)],this[_0x481901(0x1a8)],this[_0x481901(0x17b)]);}*[_0x4d55e3(0x1c4)](_0x1b3c15,_0x56730d){const _0x46dfd3=_0x4d55e3,_0x1b7fe4=_0x1b3c15,_0x222067=new Set();for(;_0x1b7fe4[_0x46dfd3(0x164)]>0x0;){const _0x3bed03=_0x1b7fe4[_0x46dfd3(0x184)]();if(_0x222067[_0x46dfd3(0x19f)](),_0x3bed03===void 0x0||_0x3bed03[_0x46dfd3(0x1de)]())continue;if(_0x3bed03[_0x46dfd3(0x182)]()){yield _0x3bed03,_0x3bed03[_0x46dfd3(0x195)](),_0x56730d[_0x46dfd3(0x1bb)](_0x3bed03[_0x46dfd3(0x13c)]);continue;}const _0x5aa69c=this['_dependencyManagerService'][_0x46dfd3(0x143)](_0x3bed03[_0x46dfd3(0x192)](),_0x56730d),_0x41549c=this['_dependencyRTreeCacheForAddressFunction'][_0x46dfd3(0x1b4)](_0x3bed03[_0x46dfd3(0x192)](),_0x56730d);for(const _0x154275 of _0x41549c)_0x5aa69c[_0x46dfd3(0x1bb)](_0x154275);for(const _0x345825 of _0x5aa69c){const _0x58948f=this[_0x46dfd3(0x1d3)]['get'](_0x345825);if(!_0x58948f)throw new Error(_0x46dfd3(0x169));_0x58948f[_0x46dfd3(0x182)]()||_0x3bed03[_0x46dfd3(0x1de)]()||_0x222067[_0x46dfd3(0x1bb)](_0x58948f);}if(_0x5aa69c['clear'](),_0x222067[_0x46dfd3(0x1dd)]===0x0)yield _0x3bed03,_0x3bed03[_0x46dfd3(0x195)](),_0x56730d['add'](_0x3bed03[_0x46dfd3(0x13c)]);else{_0x3bed03[_0x46dfd3(0x1b9)](),_0x1b7fe4[_0x46dfd3(0x149)](_0x3bed03);for(const _0x5b06b8 of _0x222067)_0x1b7fe4['push'](_0x5b06b8);}}_0x1b7fe4[_0x46dfd3(0x164)]=0x0,_0x222067[_0x46dfd3(0x19f)]();}[_0x4d55e3(0x1bc)](_0x488657){const _0xec3e5=_0x4d55e3,_0xabde77=[],_0x43e5f9=new Set();for(const _0x144358 of this[_0xec3e5(0x1c4)](_0x488657,_0x43e5f9))_0xabde77['push'](_0x144358);return _0xabde77;}}function _0x5869(){const _0x1a02ba=['refOffsetX','push','_formulaDependencyGenerator','_getTreeNode','closeKdTree','removeFormulaDependency','START_CALCULATION_ARRAY_FORMULA','PLUS','trim','_handleNewFunctionChild','treeBuilder','setRuntimeData','9hVzkpr','getToken','isDirty','markedAsNoFunctionsExecuted','rangeList','_removeDependencyRTreeCache','getOtherFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','isStopExecution','_config','has','column','Lambda\x20parameter\x20name\x20\x22','4145528njwmkc','_injector','bulkRemove','length','isCache','markedAsStopFunctionsExecuted','_featureFormulaData','_lambdaFunctionParameterSet','ParentDependencyTree\x20object\x20is\x20null','addFormulaDependencyByDefinedName','_interpreter','endRow','isForceCalculate','_isCyclicUtilMap','_otherFormulaDataMainData','setTotalFormulasToCalculate','addOtherFormulaDependencyMainData','keys','isExcludeRange','_generateTreeList','endColumn','getDirtyData','_xlpm.','getDirtyNameMap','unitId','_createFDtree','_currentConfigService','defineProperty','getFormulaData','delete','_generateNewFunctionString','_getFeatureFormulaTree','hasOtherFormulaDataMainData','isAdded','_apply','pop','symbol','_checkIsCycleDependency','IDLE','forValue','return\x20','START_DEPENDENCY_ARRAY_FORMULA','subUnitId','resolve','START_DEPENDENCY','columnCount','_removeDependencyRTreeCacheById','notExecuteFormula','setCompletedFormulasCount','toRTreeItem','refTree','setTotalArrayFormulasToCalculate','setSkip','type','node','enableCycleDependency','set','_removeAllTreeMap','clearArrayObjectCache','error','reset','execute','clear','valid','getFormulaDependency','addOtherFormulaDependency','forEach','resetCalculationState','_formulaData','_lexer','_getFirstCellOfRange','_astTreeBuilder','intervalCount','clearFormulaDependency','generate','min','startColumn','_convertDirtyRangesToUnitRange','dependencySheetName','_hasNewExcelFunction','6BprCkG','_initLicenseValid','addFormulaDependency','bulkSearch','_restDependencyTreeId','_allTreeMap','_xlfn.','clearOtherFormulaDependency','setAdded','isArray','add','_calculateRunList','next','_runtimeService','max','refOffsetY','4308892gwVnES','setCurrent','_getUpdateTreeListAndMakeDependency','_traverse','_checkAddBracketForMinus','1229646YgLunC','getConfig','formulaId','getOwnPropertyDescriptor','get','_executionInProgressListener$','RBLIi27L\x20CEItdGi27L(82IELAE,\x20GBe82IJEd)\x20{\x20\x20\x20\x20itd\x20{\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2082IELAEcLR7TgtiDttgd\x20=\x2082IELAE.AG82i(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x207t2s2LVEAAgsE\x20=\x20NSKv.GgtAE(gi7e(82IELAEcLR7TgtiDttgd[Q]));\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!7t2s2LVEAAgsE.BC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207t2s2LVEAAgsE.BC\x20=\x20vBFeEt(82IELAEcLR7TgtiDttgd[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Ay7txEt\x20=\x20idGE7R\x20y7txEtq87eg8SI7GE\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20AE8R\x202LAigLIE7R\x20y7txEtq87eg8SI7GE;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Art7pAEt\x20=\x20idGE7R\x20p2LC7p\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20idGE7R\x20p2LC7p.87Igi27L\x20!==\x20\x27BLCER2LEC\x27;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20I7LiEhi\x20=\x202Ay7txEt\x20?\x20AE8R\x20:\x20(2Art7pAEt\x20?\x20p2LC7p\x20:\x20s87eg8U42A);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(FEAAgsEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[a]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(A2sLgiBtEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLXg82C\x20=\x20I7LiEhi.__ZEt2Rd__(A2sLgiBtE,\x20FEAAgsE,\x20GBe82IJEd);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20C7Fg2L\x20=\x207t2s2LVEAAgsE.CF;\x20\x20\x20\x20\x20\x20\x20\x20RBLIi27L\x202A97Fg2LVgiI42Ls(7TgiiEtL,\x207W7Ai)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtL\x20=\x207TgiiEtL.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047Ai\x20=\x207W7Ai.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLTgtiA\x20=\x20GgiiEtL.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiTgtiA\x20=\x2047Ai.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!GgiiEtL.2LI8BCEA(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtL\x20===\x2047Ai;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(GgiiEtLTgtiA.8ELsi4\x20<\x20Q\x20||\x20GgiiEtLTgtiA[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLSBRR2h\x20=\x20GgiiEtLTgtiA.A82IE(l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiSBRR2h\x20=\x2047AiTgtiA.A82IE(-GgiiEtLTgtiA.8ELsi4\x20+\x20l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtLSBRR2h\x20===\x2047AiSBRR2h;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208Ei\x20C7Fg2LXg82C\x20=\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x202R\x20(2Art7pAEt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20(C7Fg2L\x20&&\x20C7Fg2L.8ELsi4)\x20?\x20C7Fg2L.A7FE((CFciEF)\x20=>\x202A97Fg2LVgiI42Ls(CFciEF,\x2087Igi27L.47AiLgFE))\x20:\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(87Igi27L.47AiLgFE\x20===\x20\x2787Ig847Ai\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20E8AE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20Zg82C\x20=\x20A2sLXg82C\x20&&\x20C7Fg2LXg82C;\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x207t2s2LVEAAgsE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IgiI4\x20(Ett7t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C:\x20Rg8AE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','2880910wLJKDk','formula','Let\x20variable\x20name\x20\x22','getRuntimeState','getNewFormulaWithPrefix','_otherFormulaData','_dependencyTreeCache','VALUE','getDirtyRanges','getOtherFormulaData','getAllRuntimeData','toUpperCase','getValue','row','_dependencyRTreeCacheForAddressFunction','getChildren','size','isSkip','_executionCompleteListener$','_updateRangeFlatten','parseInt','_clearFunctionString','featureId','_dependencyManagerService','openKdTree','join','slice','string','_getTreeById','setFormulaExecuteStage','markedAsSuccessfullyExecuted','setRuntimeOtherData','dirtyRanges','1894892IFOqWF','getUnitData','dispose','clearFeatureFormulaDependency','_registerOtherFormulas','treeId','getClearDependencyTreeCache','setRuntimeFeatureCellData','940317uoFfch','rowCount','\x22\x20is\x20duplicated.','startRow','searchDependency','message','setValue','_dependencyRTreeCache','938009aVIjpu'];_0x5869=function(){return _0x1a02ba;};return _0x5869();}class De extends _0x1b6e06{constructor(){const _0x206b4b=_0x4d55e3;super(...arguments),D(this,_0x206b4b(0x1b0),!0x1),D(this,_0x206b4b(0x168),new Set());}[_0x4d55e3(0x1d1)](_0x5bdec1,_0x4c51cd){const _0x3a062e=_0x4d55e3,_0x145c9a=this[_0x3a062e(0x152)](_0x5bdec1,!0x1);if(!_0x145c9a||_0x145c9a===_0xd1a729[_0x3a062e(0x1d4)]||Array[_0x3a062e(0x1ba)](_0x145c9a))return null;const _0xeb0592=[];return this[_0x3a062e(0x1b0)]=!0x1,this['_generateNewFunctionString'](_0x145c9a,_0xeb0592,_0x4c51cd),this[_0x3a062e(0x1b0)]?'='+_0xeb0592[_0x3a062e(0x1e6)](''):null;}[_0x4d55e3(0x17f)](_0x560784,_0x155469,_0x298115){const _0x343c15=_0x4d55e3,_0x3ae1e2=_0x560784[_0x343c15(0x155)](),_0x324c14=_0x3ae1e2[_0x343c15(0x150)](),_0x182633=_0x324c14[_0x343c15(0x1d8)](),_0x107723=this[_0x343c15(0x1e2)](_0x182633),_0x405c02=_0x298115(_0x107723);let _0x53d5dc=0x0;_0x3ae1e2===_0x4acf12?_0x53d5dc=0x3:_0x3ae1e2===_0x3d30fc?_0x53d5dc=0x4:_0x3ae1e2===_0x5ebae3?_0x53d5dc=0x5:_0x4341f5[_0x343c15(0x15e)](_0x107723)?(_0x155469[_0x343c15(0x149)](_0x343c15(0x1b7)+_0x324c14),this[_0x343c15(0x1b0)]=!0x0):_0x182633===_0x2f2b4e?(_0x155469[_0x343c15(0x149)]('_xlfn.'+_0x324c14),this[_0x343c15(0x1b0)]=!0x0,_0x53d5dc=0x2):_0x182633===_0x1d7ccb?(_0x155469[_0x343c15(0x149)](_0x343c15(0x1b7)+_0x324c14),this['_hasNewExcelFunction']=!0x0,_0x53d5dc=0x1):_0x182633===_0x2570b2['COLON']?_0x53d5dc=0x8:_0x2a8354[_0x343c15(0x15e)](_0x182633)?_0x53d5dc=0x7:_0x182633===_0x39a207['MINUS']?(this[_0x343c15(0x1c5)](_0x560784)&&(_0x53d5dc=0x9),_0x155469['push'](_0x3ae1e2)):(_0x155469[_0x343c15(0x149)](_0x3ae1e2),_0x53d5dc=0xa),_0x405c02?(_0x53d5dc!==0x2&&_0x53d5dc!==0x1&&(_0x53d5dc=0x6),_0x155469[_0x343c15(0x149)]('(')):_0x53d5dc===0x9&&_0x155469[_0x343c15(0x149)]('(');const _0x3d5156=_0x560784[_0x343c15(0x1dc)](),_0x2220c7=_0x3d5156[_0x343c15(0x164)];if(_0x53d5dc===0x2){const _0x58e13f=_0x3d5156[0x0];let _0x22cd08=0x0;_0x58e13f instanceof _0x4526bb&&_0x58e13f[_0x343c15(0x155)]()===_0x5ebae3&&(_0x22cd08=0x1);for(let _0x68b51d=_0x22cd08;_0x68b51d<_0x2220c7-0x1;_0x68b51d++){const _0x158800=_0x3d5156[_0x68b51d];if(_0x158800 instanceof _0x4526bb){const _0x5aa192=_0x158800['getChildren']()[0x0];typeof _0x5aa192==_0x343c15(0x1e8)&&(this[_0x343c15(0x168)][_0x343c15(0x15e)](_0x5aa192)&&console['error'](_0x343c15(0x160)+_0x5aa192+_0x343c15(0x141)),this[_0x343c15(0x168)]['add'](_0x5aa192),_0x155469[_0x343c15(0x149)](_0x343c15(0x177)+_0x5aa192),this[_0x343c15(0x1b0)]=!0x0);}_0x155469[_0x343c15(0x149)](',');}this[_0x343c15(0x151)](_0x3d5156[_0x2220c7-0x1],_0x155469,_0x298115),_0x22cd08===0x1&&(_0x155469[_0x343c15(0x149)](')'),_0x155469[_0x343c15(0x149)]('('),this['_generateNewFunctionString'](_0x58e13f,_0x155469,_0x298115)),_0x155469[_0x343c15(0x149)](')');return;}else{if(_0x53d5dc===0x1){for(let _0x477b0f=0x0;_0x477b0f<_0x2220c7-0x1;_0x477b0f++){const _0x5be02a=_0x3d5156[_0x477b0f];if(_0x5be02a instanceof _0x4526bb&&_0x477b0f%0x2===0x0){const _0x51b44f=_0x5be02a[_0x343c15(0x1dc)]()[0x0];if(typeof _0x51b44f==_0x343c15(0x1e8)){this['_lambdaFunctionParameterSet'][_0x343c15(0x15e)](_0x51b44f)&&console[_0x343c15(0x19c)](_0x343c15(0x1cf)+_0x51b44f+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0x343c15(0x1bb)](_0x51b44f),_0x155469[_0x343c15(0x149)](_0x343c15(0x177)+_0x51b44f),this[_0x343c15(0x1b0)]=!0x0,_0x155469['push'](',');continue;}}if(this[_0x343c15(0x151)](_0x5be02a,_0x155469,_0x298115),_0x5be02a instanceof _0x4526bb){const _0x3dcdfc=_0x3d5156[_0x477b0f+0x1];_0x3dcdfc&&_0x3dcdfc instanceof _0x4526bb&&_0x155469[_0x343c15(0x149)](',');}}this[_0x343c15(0x151)](_0x3d5156[_0x2220c7-0x1],_0x155469,_0x298115),_0x155469['push'](')');return;}else{if(_0x53d5dc===0x8){const _0xcd5b3f=_0x3d5156[0x0],_0x3e5816=_0x3d5156[0x1];this['_handleNewFunctionChild'](_0xcd5b3f,_0x155469,_0x298115),_0x155469['push'](_0x3ae1e2),this['_handleNewFunctionChild'](_0x3e5816,_0x155469,_0x298115);return;}}}for(let _0x214018=0x0;_0x214018<_0x2220c7;_0x214018++){const _0x23bec6=_0x3d5156[_0x214018];if(this[_0x343c15(0x151)](_0x23bec6,_0x155469,_0x298115),_0x23bec6 instanceof _0x4526bb){const _0x1cb5c9=_0x3d5156[_0x214018+0x1];_0x1cb5c9&&_0x1cb5c9 instanceof _0x4526bb&&_0x155469[_0x343c15(0x149)](',');}}_0x53d5dc===0x7&&_0x155469[_0x343c15(0x149)](_0x3ae1e2),(_0x405c02||_0x53d5dc===0x9)&&_0x155469[_0x343c15(0x149)](')');}[_0x4d55e3(0x151)](_0xfbcc26,_0x56bc46,_0x31001c){const _0x3e02a6=_0x4d55e3;_0xfbcc26 instanceof _0x4526bb?this[_0x3e02a6(0x17f)](_0xfbcc26,_0x56bc46,_0x31001c):this['_lambdaFunctionParameterSet'][_0x3e02a6(0x15e)](_0xfbcc26)?(_0x56bc46[_0x3e02a6(0x149)]('_xlpm.'+_0xfbcc26),this['_hasNewExcelFunction']=!0x0):_0x56bc46[_0x3e02a6(0x149)](_0xfbcc26);}[_0x4d55e3(0x1e2)](_0x271df5){const _0x23a0eb=_0x4d55e3;let _0x47bedd=_0x271df5[_0x23a0eb(0x150)]();if(!_0x47bedd)return _0x47bedd;const _0x21a89c=_0x47bedd[0x0];if((_0x21a89c===_0x39a207['AT']||_0x21a89c===_0x39a207['MINUS']||_0x21a89c===_0x39a207[_0x23a0eb(0x14f)])&&(_0x47bedd=_0x47bedd['slice'](0x1)),!_0x47bedd)return _0x47bedd;const _0x247b01=_0x47bedd[_0x47bedd[_0x23a0eb(0x164)]-0x1];return _0x2a8354['has'](_0x247b01)&&(_0x47bedd=_0x47bedd[_0x23a0eb(0x1e7)](0x0,-0x1)),_0x47bedd;}[_0x4d55e3(0x1c5)](_0x31c872){const _0x23e145=_0x4d55e3,_0x43f006=_0x31c872['getChildren']()[0x0];if(!_0x43f006||!(_0x43f006 instanceof _0x4526bb)||_0x31c872[_0x23e145(0x1dc)]()[_0x23e145(0x164)]>0x1)return!0x1;const _0x2cf96d=_0x43f006['getChildren'](),_0x4d18b1=_0x2cf96d['length'];if(_0x4d18b1===0x1)return!0x1;for(let _0x2c2b80=0x0;_0x2c2b80<_0x4d18b1;_0x2c2b80++){const _0x3228e2=_0x2cf96d[_0x2c2b80];if(!(_0x3228e2 instanceof _0x4526bb)&&_0x32c401[_0x23e145(0x15e)](_0x3228e2))return!0x0;}return!0x1;}}class Re extends _0x9779c4{async[_0x4d55e3(0x183)](_0x17eb41=!0x1){const _0x60aed5=_0x4d55e3;_0x17eb41?this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x18a)]):this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x18d)]),this[_0x60aed5(0x1cb)][_0x60aed5(0x1bd)](this['_runtimeService'][_0x60aed5(0x1d0)]());const _0x4b6677=await this[_0x60aed5(0x14a)][_0x60aed5(0x1ab)](),_0x459d11=this[_0x60aed5(0x16b)];_0x17eb41?(this['_runtimeService'][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x14e)]),this[_0x60aed5(0x1be)][_0x60aed5(0x194)](_0x4b6677[_0x60aed5(0x164)])):(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144['START_CALCULATION']),this['_runtimeService'][_0x60aed5(0x170)](_0x4b6677[_0x60aed5(0x164)])),this[_0x60aed5(0x1cb)]['next'](this[_0x60aed5(0x1be)][_0x60aed5(0x1d0)]());let _0x3dfed3=[];const _0x373d3a=this['_configService']['getConfig'](_0x55cd6f),_0x403d82=(_0x373d3a==null?void 0x0:_0x373d3a[_0x60aed5(0x1a9)])||_0x292441;let _0x1df50f=0x0;const _0x37166e=_0x4b6677[_0x60aed5(0x164)];for(;_0x4b6677[_0x60aed5(0x164)]>0x0;){const _0x344a00=_0x4b6677['pop'](),_0x47d013=_0x4a26c9(_0x344a00[_0x60aed5(0x179)],_0x344a00[_0x60aed5(0x1ce)],this[_0x60aed5(0x1a6)],this[_0x60aed5(0x1a8)],this[_0x60aed5(0x17b)]),_0x13748a={'node':_0x47d013,'refOffsetX':_0x344a00[_0x60aed5(0x148)],'refOffsetY':_0x344a00[_0x60aed5(0x1c0)]},_0x3a37a9=_0x344a00['getDirtyData'];if(_0x1df50f%_0x403d82===0x0&&(await new Promise(_0x2aba01=>{const _0x82d52=_0x60aed5,_0x10a196=_0x52c7d8(_0x2aba01);_0x3dfed3[_0x82d52(0x149)](_0x10a196);}),_0x17eb41?(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144[_0x60aed5(0x15b)]),this[_0x60aed5(0x1be)]['setCompletedArrayFormulasCount'](_0x1df50f+0x1)):(this[_0x60aed5(0x1be)]['setFormulaExecuteStage'](_0x1aa144['CURRENTLY_CALCULATING']),this[_0x60aed5(0x1be)][_0x60aed5(0x191)](_0x1df50f+0x1)),this['_executionInProgressListener$'][_0x60aed5(0x1bd)](this[_0x60aed5(0x1be)]['getRuntimeState']()),this['_runtimeService'][_0x60aed5(0x15c)]()||_0x13748a==null&&_0x3a37a9==null)){this[_0x60aed5(0x1be)][_0x60aed5(0x133)](_0x1aa144[_0x60aed5(0x187)]),this[_0x60aed5(0x1be)][_0x60aed5(0x166)](),this[_0x60aed5(0x1df)][_0x60aed5(0x1bd)](this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]());return;}this[_0x60aed5(0x1be)][_0x60aed5(0x1c2)](_0x344a00[_0x60aed5(0x1da)],_0x344a00[_0x60aed5(0x15f)],_0x344a00[_0x60aed5(0x140)],_0x344a00['columnCount'],_0x344a00[_0x60aed5(0x18b)],_0x344a00['unitId']);let _0x3917f3;if(_0x3a37a9!=null&&_0x344a00[_0x60aed5(0x1e3)]!=null){const {runtimeCellData:_0x5bd2aa,dirtyRanges:_0x489861}=_0x3a37a9(this['_currentConfigService']['getDirtyData'](),this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]());this[_0x60aed5(0x1be)][_0x60aed5(0x13e)](_0x344a00[_0x60aed5(0x1e3)],_0x5bd2aa),this[_0x60aed5(0x1be)]['setRuntimeFeatureRange'](_0x344a00[_0x60aed5(0x1e3)],_0x489861);}else _0x13748a!=null&&(_0x459d11['checkAsyncNode'](_0x13748a[_0x60aed5(0x197)])?_0x3917f3=await _0x459d11['executeAsync'](_0x13748a):_0x3917f3=_0x459d11[_0x60aed5(0x19e)](_0x13748a),_0x344a00['formulaId']!=null?this[_0x60aed5(0x1be)][_0x60aed5(0x135)](_0x344a00[_0x60aed5(0x1c8)],_0x344a00[_0x60aed5(0x148)],_0x344a00[_0x60aed5(0x1c0)],_0x3917f3):this['_runtimeService'][_0x60aed5(0x153)](_0x3917f3));_0x47d013[_0x60aed5(0x1a4)](),_0x1df50f++;}return _0x3dfed3[_0x60aed5(0x1a3)](_0x1401f4=>_0x1401f4()),_0x3dfed3=[],_0x37166e>0x0?this[_0x60aed5(0x1be)][_0x60aed5(0x134)]():_0x17eb41||this['_runtimeService'][_0x60aed5(0x157)](),this[_0x60aed5(0x1be)][_0x60aed5(0x1d7)]();}}class ve extends _0x557673{constructor(){const _0x3d8a6c=_0x4d55e3;super(...arguments),D(this,_0x3d8a6c(0x1b6),new Map()),D(this,'_dependencyRTreeCache',new _0x314f50(!0x0));}[_0x4d55e3(0x19d)](){const _0x21279a=_0x4d55e3;this[_0x21279a(0x1d2)][_0x21279a(0x19f)](),this[_0x21279a(0x167)]['clear'](),this['_formulaData'][_0x21279a(0x19f)](),this['_dependencyRTreeCache']['clear'](),this[_0x21279a(0x1b6)][_0x21279a(0x19f)](),this[_0x21279a(0x1b5)](),this[_0x21279a(0x16f)]['clear']();}[_0x4d55e3(0x1a2)](_0x55f7a5,_0x65e8f1,_0x43adeb,_0x144983){const _0xa493c6=_0x4d55e3;this[_0xa493c6(0x1d2)][_0xa493c6(0x15e)](_0x55f7a5)||this[_0xa493c6(0x1d2)]['set'](_0x55f7a5,new Map());const _0x25462e=this[_0xa493c6(0x1d2)][_0xa493c6(0x1ca)](_0x55f7a5);_0x25462e[_0xa493c6(0x15e)](_0x65e8f1)||_0x25462e[_0xa493c6(0x199)](_0x65e8f1,new Map());const _0x2a702b=_0x25462e[_0xa493c6(0x1ca)](_0x65e8f1);_0x2a702b[_0xa493c6(0x15e)](_0x43adeb)||_0x2a702b[_0xa493c6(0x199)](_0x43adeb,new _0x5c9f49()),_0x2a702b['get'](_0x43adeb)[_0xa493c6(0x145)](_0x144983['refOffsetX'],_0x144983[_0xa493c6(0x1c0)],_0x144983[_0xa493c6(0x13c)]);}['removeOtherFormulaDependency'](_0x32ca6d,_0xb19f31,_0x49ca8c){const _0x3ecd4d=_0x4d55e3,_0x556e34=this[_0x3ecd4d(0x1d2)][_0x3ecd4d(0x1ca)](_0x32ca6d);if(_0x556e34&&_0x556e34['has'](_0xb19f31)){const _0x4ee39d=_0x556e34[_0x3ecd4d(0x1ca)](_0xb19f31);_0x49ca8c['forEach'](_0x3c0085=>{const _0x228bde=_0x3ecd4d,_0x3e5abb=_0x4ee39d[_0x228bde(0x1ca)](_0x3c0085);_0x3e5abb!=null&&(_0x3e5abb[_0x228bde(0x188)]((_0x4f250e,_0x2414d5,_0x5295cb)=>{const _0x19e6a8=_0x228bde;this[_0x19e6a8(0x159)](_0x5295cb),this[_0x19e6a8(0x19a)](_0x5295cb);}),_0x4ee39d['delete'](_0x3c0085),this[_0x228bde(0x16f)][_0x228bde(0x17e)](_0x3c0085));}),_0x4ee39d[_0x3ecd4d(0x1dd)]===0x0&&_0x556e34['delete'](_0xb19f31),_0x556e34['size']===0x0&&this[_0x3ecd4d(0x1d2)]['delete'](_0x32ca6d);}}['clearOtherFormulaDependency'](_0x2283c7,_0x13e9a6){const _0x50ce29=_0x4d55e3,_0x5d1580=this[_0x50ce29(0x1d2)]['get'](_0x2283c7);if(_0x13e9a6&&_0x5d1580&&_0x5d1580[_0x50ce29(0x15e)](_0x13e9a6)){const _0x293873=_0x5d1580[_0x50ce29(0x1ca)](_0x13e9a6);this[_0x50ce29(0x18f)](_0x2283c7,_0x13e9a6);for(const _0x599339 of _0x293873[_0x50ce29(0x172)]()){const _0x1826c6=_0x293873['get'](_0x599339);_0x1826c6!=null&&(_0x1826c6[_0x50ce29(0x188)]((_0xc57d89,_0x1e5250,_0xe42217)=>{const _0x371acb=_0x50ce29;this['_allTreeMap'][_0x371acb(0x1ca)](_0xe42217)&&this[_0x371acb(0x19a)](_0xe42217);}),this['_otherFormulaDataMainData'][_0x50ce29(0x17e)](_0x599339));}_0x293873[_0x50ce29(0x19f)]();}else{if(_0x5d1580){for(const _0x38f1f1 of _0x5d1580[_0x50ce29(0x172)]()){const _0x1cbe35=_0x5d1580[_0x50ce29(0x1ca)](_0x38f1f1);this[_0x50ce29(0x18f)](_0x2283c7,_0x38f1f1);for(const _0x450e52 of _0x1cbe35[_0x50ce29(0x172)]()){const _0x7ff551=_0x1cbe35[_0x50ce29(0x1ca)](_0x450e52);_0x7ff551!=null&&(_0x7ff551[_0x50ce29(0x188)]((_0x142253,_0x2b477a,_0x136ba2)=>{const _0x2454ea=_0x50ce29;this[_0x2454ea(0x1b6)][_0x2454ea(0x1ca)](_0x136ba2)&&this[_0x2454ea(0x19a)](_0x136ba2);}),this['_otherFormulaDataMainData']['delete'](_0x450e52));}}this[_0x50ce29(0x1d2)]['delete'](_0x2283c7);}}}['addFeatureFormulaDependency'](_0x1c192d,_0x5cd9cb,_0x2d3613,_0x262ca8){const _0x2d2b23=_0x4d55e3;this[_0x2d2b23(0x167)][_0x2d2b23(0x15e)](_0x1c192d)||this['_featureFormulaData'][_0x2d2b23(0x199)](_0x1c192d,new Map());const _0x4e44fa=this[_0x2d2b23(0x167)]['get'](_0x1c192d);_0x4e44fa[_0x2d2b23(0x15e)](_0x5cd9cb)||_0x4e44fa[_0x2d2b23(0x199)](_0x5cd9cb,new Map()),_0x4e44fa['get'](_0x5cd9cb)[_0x2d2b23(0x199)](_0x2d3613,_0x262ca8[_0x2d2b23(0x13c)]);}['removeFeatureFormulaDependency'](_0x1ff793,_0x3dda02,_0x27e7b5){const _0xab24d0=_0x4d55e3,_0x17c61e=this[_0xab24d0(0x167)][_0xab24d0(0x1ca)](_0x1ff793);if(_0x17c61e&&_0x17c61e[_0xab24d0(0x15e)](_0x3dda02)){const _0x31fae7=_0x17c61e[_0xab24d0(0x1ca)](_0x3dda02);_0x27e7b5['forEach'](_0x242eb=>{const _0x55df29=_0xab24d0,_0x11d81f=_0x31fae7[_0x55df29(0x1ca)](_0x242eb);_0x11d81f!=null&&(this['_removeDependencyRTreeCache'](_0x11d81f),_0x31fae7[_0x55df29(0x17e)](_0x242eb),this[_0x55df29(0x19a)](_0x11d81f));});}}[_0x4d55e3(0x13a)](_0x170643,_0x4b1ef3){const _0x24f2f8=_0x4d55e3,_0x2ee3a7=this[_0x24f2f8(0x167)][_0x24f2f8(0x1ca)](_0x170643);if(_0x4b1ef3&&_0x2ee3a7&&_0x2ee3a7['has'](_0x4b1ef3)){const _0x17d90f=_0x2ee3a7[_0x24f2f8(0x1ca)](_0x4b1ef3);this[_0x24f2f8(0x18f)](_0x170643,_0x4b1ef3),_0x17d90f[_0x24f2f8(0x1a3)](_0x30ecaa=>{const _0x3d9ae2=_0x24f2f8;_0x30ecaa!=null&&this[_0x3d9ae2(0x19a)](_0x30ecaa);}),_0x17d90f[_0x24f2f8(0x19f)]();}else _0x2ee3a7&&(_0x2ee3a7['forEach']((_0x250bc2,_0x12b9c9)=>{const _0x2dd445=_0x24f2f8;this[_0x2dd445(0x18f)](_0x170643,_0x12b9c9),_0x250bc2['forEach'](_0x4c8ac5=>{const _0x2530cb=_0x2dd445;_0x4c8ac5!=null&&this[_0x2530cb(0x19a)](_0x4c8ac5);});}),this[_0x24f2f8(0x167)][_0x24f2f8(0x17e)](_0x170643));}[_0x4d55e3(0x1b3)](_0x1f1ae0,_0x26f3ff,_0x5a262a,_0x1d06b0,_0x567eba){const _0x214b42=_0x4d55e3;this[_0x214b42(0x1a5)]['has'](_0x1f1ae0)||this[_0x214b42(0x1a5)]['set'](_0x1f1ae0,new Map());const _0x6d1dd6=this[_0x214b42(0x1a5)][_0x214b42(0x1ca)](_0x1f1ae0);_0x6d1dd6[_0x214b42(0x15e)](_0x26f3ff)||_0x6d1dd6['set'](_0x26f3ff,new _0x5c9f49()),_0x6d1dd6[_0x214b42(0x1ca)](_0x26f3ff)['setValue'](_0x5a262a,_0x1d06b0,_0x567eba['treeId']);}[_0x4d55e3(0x14d)](_0x4170a8,_0x3adf55,_0x42aa1e,_0x22445f){const _0x2fca7e=_0x4d55e3,_0x5638d2=this[_0x2fca7e(0x1a5)][_0x2fca7e(0x1ca)](_0x4170a8);if(_0x5638d2&&_0x5638d2['has'](_0x3adf55)){const _0x421e9a=_0x5638d2[_0x2fca7e(0x1ca)](_0x3adf55),_0x57cf45=_0x421e9a[_0x2fca7e(0x1d9)](_0x42aa1e,_0x22445f);if(_0x57cf45==null)return;this['_removeDependencyRTreeCache'](_0x57cf45),_0x421e9a['realDeleteValue'](_0x42aa1e,_0x22445f),this[_0x2fca7e(0x19a)](_0x57cf45);}}[_0x4d55e3(0x1aa)](_0x3d41d3,_0x2454cf){const _0x269083=_0x4d55e3,_0x2613c5=this[_0x269083(0x1a5)][_0x269083(0x1ca)](_0x3d41d3);if(_0x2454cf&&_0x2613c5&&_0x2613c5[_0x269083(0x15e)](_0x2454cf)){const _0x2cd63f=_0x2613c5['get'](_0x2454cf);this[_0x269083(0x18f)](_0x3d41d3,_0x2454cf),_0x2cd63f[_0x269083(0x188)]((_0x2a758d,_0x5c0ec0,_0x259146)=>{if(_0x259146==null)return!0x0;this['_removeAllTreeMap'](_0x259146);}),_0x2cd63f[_0x269083(0x19d)]();}else _0x2613c5&&(_0x2613c5[_0x269083(0x1a3)]((_0x48dbf1,_0x7857fa)=>{const _0x336a04=_0x269083;this[_0x336a04(0x18f)](_0x3d41d3,_0x7857fa),_0x48dbf1['forValue']((_0x1f0cec,_0x428912,_0x3f15a7)=>{const _0x461ae9=_0x336a04;if(_0x3f15a7==null)return!0x0;this[_0x461ae9(0x19a)](_0x3f15a7);});}),this['_formulaData'][_0x269083(0x17e)](_0x3d41d3));}[_0x4d55e3(0x159)](_0x43898e){const _0x5450b9=_0x4d55e3;if(_0x43898e==null)return;const _0x598ab5=this['_allTreeMap'][_0x5450b9(0x1ca)](_0x43898e);if(_0x598ab5){const _0x24c3c1=[];for(const [_0x1405d2,_0x111c06]of _0x598ab5)for(const [_0x48236f,_0xda9209]of _0x111c06)_0x24c3c1[_0x5450b9(0x149)]({'unitId':_0x1405d2,'sheetId':_0x48236f,'range':_0xda9209,'id':_0x43898e});this[_0x5450b9(0x146)][_0x5450b9(0x163)](_0x24c3c1);}}['removeFormulaDependencyByDefinedName'](_0x5533d9,_0x1a4803){const _0x1e6754=_0x4d55e3,_0x372c0c=this['_definedNameMap'][_0x1e6754(0x1ca)](_0x5533d9);if(_0x372c0c){const _0x2fe362=_0x372c0c[_0x1e6754(0x1ca)](_0x1a4803);if(_0x2fe362){for(const _0x2dcef8 of _0x2fe362)this['_removeDependencyRTreeCache'](_0x2dcef8),this[_0x1e6754(0x19a)](_0x2dcef8);_0x2fe362[_0x1e6754(0x19f)]();}}}[_0x4d55e3(0x1e5)](){this['_dependencyRTreeCache']['openKdTree']();}[_0x4d55e3(0x14c)](){const _0x5abb45=_0x4d55e3;this[_0x5abb45(0x146)]['closeKdTree']();}[_0x4d55e3(0x19a)](_0x1794f7){const _0x367bdc=_0x4d55e3;_0x1794f7!=null&&this[_0x367bdc(0x1b6)][_0x367bdc(0x17e)](_0x1794f7);}['_addAllTreeMap'](_0x3eb63f){const _0xb30442=_0x4d55e3;var _0x9f5315,_0x20a6c6;const _0x3e2b41=_0x3eb63f[_0xb30442(0x158)];let _0x1e597f=this[_0xb30442(0x1b6)][_0xb30442(0x1ca)](_0x3eb63f[_0xb30442(0x13c)]);for(let _0x4fa547=0x0;_0x4fa547<_0x3e2b41['length'];_0x4fa547++){const _0x1b13d5=_0x3e2b41[_0x4fa547];let {unitId:_0x246b17,sheetId:_0x1b7c4a,range:_0x1607a8}=_0x1b13d5;_0x1e597f||(_0x1e597f=new Map(),this[_0xb30442(0x1b6)][_0xb30442(0x199)](_0x3eb63f[_0xb30442(0x13c)],_0x1e597f)),_0x1e597f[_0xb30442(0x15e)](_0x246b17)||_0x1e597f[_0xb30442(0x199)](_0x246b17,new Map());const _0xa09795=(_0x9f5315=_0x1e597f==null?void 0x0:_0x1e597f[_0xb30442(0x1ca)](_0x246b17))==null?void 0x0:_0x9f5315[_0xb30442(0x1ca)](_0x1b7c4a);_0xa09795&&(_0x1607a8={'startRow':Math[_0xb30442(0x1ac)](_0x1607a8[_0xb30442(0x142)],_0xa09795[_0xb30442(0x142)]),'startColumn':Math[_0xb30442(0x1ac)](_0x1607a8[_0xb30442(0x1ad)],_0xa09795['startColumn']),'endRow':Math['max'](_0x1607a8[_0xb30442(0x16c)],_0xa09795[_0xb30442(0x16c)]),'endColumn':Math[_0xb30442(0x1bf)](_0x1607a8[_0xb30442(0x175)],_0xa09795[_0xb30442(0x175)])}),(_0x20a6c6=_0x1e597f['get'](_0x246b17))==null||_0x20a6c6['set'](_0x1b7c4a,_0x1607a8);}}}var Me=Object[_0x4d55e3(0x1c9)],Se=(_0x5ebfdc,_0x38206e,_0x727ee6,_0x235cbe)=>{const _0xa8eb44=_0x4d55e3;for(var _0x397ee3=_0x235cbe>0x1?void 0x0:_0x235cbe?Me(_0x38206e,_0x727ee6):_0x38206e,_0x1c4714=_0x5ebfdc[_0xa8eb44(0x164)]-0x1,_0x4b432a;_0x1c4714>=0x0;_0x1c4714--)(_0x4b432a=_0x5ebfdc[_0x1c4714])&&(_0x397ee3=_0x4b432a(_0x397ee3)||_0x397ee3);return _0x397ee3;};const Ie=Number[_0x4d55e3(0x1e1)](0x69244942);let Y=class extends _0x2efe07{['_initializeWithOverride'](){const _0x394c66=_0x4d55e3;var _0x49240b,_0x4ce490;this[_0x394c66(0x1b2)]()?(this[_0x394c66(0x162)]['add']([_0x1b6e06,{'useClass':De}]),(_0x49240b=this['_config'])!=null&&_0x49240b['notExecuteFormula']||[[_0x440fd5,{'useClass':Re}],[_0x24282c,{'useClass':ve}],[_0x5006da,{'useClass':Le}]][_0x394c66(0x1a3)](_0x29696c=>this['_injector'][_0x394c66(0x1bb)](_0x29696c))):(this[_0x394c66(0x162)]['add']([_0x1b6e06,{'useClass':_0x1b6e06}]),(_0x4ce490=this[_0x394c66(0x15d)])!=null&&_0x4ce490[_0x394c66(0x190)]||[[_0x440fd5,{'useClass':_0x9779c4}],[_0x24282c,{'useClass':_0x3f9204}],[_0x5006da,{'useClass':_0xc17508}]][_0x394c66(0x1a3)](_0x2ff4e3=>this[_0x394c66(0x162)][_0x394c66(0x1bb)](_0x2ff4e3)));}[_0x4d55e3(0x1b2)](){const _0x48df50=_0x4d55e3;var _0x58cde8;const _0x392ec9=(_0x58cde8=this['_configService'][_0x48df50(0x1c7)](_0x8124e0))!=null?_0x58cde8:{},{ls:_0x2c14d0,pbk:_0x29cde2}=_0x392ec9;if(!_0x2c14d0||!_0x29cde2)return!0x1;const _0x27a919=_0x1dae6a(Te,Fe),_0x12e404=new Function(_0x48df50(0x189)+_0x27a919)()(_0x2c14d0,_0x29cde2),_0x5c8bc0=_0x12e404[_0x48df50(0x144)];return _0x12e404[_0x48df50(0x1a0)]&&_0x28bf94(_0x5c8bc0,'sf',Ie)?_0x23563d(_0x5c8bc0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};Y=Se([_0x24c4c8(_0x1f6f5f)],Y);export{Y as UniverProFormulaEnginePlugin};
|
|
@@ -10,55 +10,55 @@ export declare const ReverseMap: {
|
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
12
|
H: string;
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
l: string;
|
|
14
|
+
Q: string;
|
|
15
|
+
a: string;
|
|
15
16
|
Y: string;
|
|
16
|
-
r: string;
|
|
17
17
|
z: string;
|
|
18
|
+
k: string;
|
|
19
|
+
w: string;
|
|
20
|
+
O: string;
|
|
21
|
+
g: string;
|
|
22
|
+
e: string;
|
|
23
|
+
I: string;
|
|
24
|
+
C: string;
|
|
25
|
+
E: string;
|
|
26
|
+
R: string;
|
|
27
|
+
s: string;
|
|
18
28
|
x: string;
|
|
19
|
-
S: string;
|
|
20
29
|
F: string;
|
|
21
|
-
|
|
30
|
+
L: string;
|
|
31
|
+
G: string;
|
|
32
|
+
o: string;
|
|
22
33
|
t: string;
|
|
23
|
-
|
|
24
|
-
J: string;
|
|
25
|
-
d: string;
|
|
26
|
-
a: string;
|
|
27
|
-
O: string;
|
|
28
|
-
N: string;
|
|
29
|
-
T: string;
|
|
30
|
-
w: string;
|
|
31
|
-
k: string;
|
|
32
|
-
l: string;
|
|
33
|
-
P: string;
|
|
34
|
-
b: string;
|
|
35
|
-
f: string;
|
|
36
|
-
U: string;
|
|
37
|
-
u: string;
|
|
34
|
+
A: string;
|
|
38
35
|
i: string;
|
|
39
|
-
V: string;
|
|
40
|
-
s: string;
|
|
41
|
-
h: string;
|
|
42
36
|
B: string;
|
|
43
|
-
|
|
37
|
+
Z: string;
|
|
38
|
+
p: string;
|
|
39
|
+
h: string;
|
|
40
|
+
d: string;
|
|
44
41
|
D: string;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
r: string;
|
|
43
|
+
u: string;
|
|
44
|
+
f: string;
|
|
45
|
+
m: string;
|
|
46
|
+
q: string;
|
|
47
|
+
W: string;
|
|
48
|
+
c: string;
|
|
49
|
+
N: string;
|
|
50
|
+
J: string;
|
|
51
|
+
V: string;
|
|
52
|
+
v: string;
|
|
50
53
|
K: string;
|
|
54
|
+
T: string;
|
|
55
|
+
n: string;
|
|
56
|
+
S: string;
|
|
57
|
+
U: string;
|
|
58
|
+
b: string;
|
|
59
|
+
X: string;
|
|
51
60
|
y: string;
|
|
52
|
-
e: string;
|
|
53
|
-
o: string;
|
|
54
61
|
j: string;
|
|
55
|
-
W: string;
|
|
56
|
-
R: string;
|
|
57
|
-
n: string;
|
|
58
|
-
E: string;
|
|
59
|
-
A: string;
|
|
60
|
-
v: string;
|
|
61
|
-
m: string;
|
|
62
|
-
p: string;
|
|
63
62
|
M: string;
|
|
63
|
+
P: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "RBLIi27L CEItdGi27L(82IELAE, GBe82IJEd) { itd { I7LAi 82IELAEcLR7TgtiDttgd = 82IELAE.AG82i('-'); I7LAi 7t2s2LVEAAgsE = NSKv.GgtAE(gi7e(82IELAEcLR7TgtiDttgd[Q])); 2R (!7t2s2LVEAAgsE.BC) { 7t2s2LVEAAgsE.BC = vBFeEt(82IELAEcLR7TgtiDttgd[Y]); } I7LAi 2Ay7txEt = idGE7R y7txEtq87eg8SI7GE !== 'BLCER2LEC' && AE8R 2LAigLIE7R y7txEtq87eg8SI7GE; I7LAi 2Art7pAEt = idGE7R p2LC7p !== 'BLCER2LEC' && idGE7R p2LC7p.87Igi27L !== 'BLCER2LEC'; I7LAi I7LiEhi = 2Ay7txEt ? AE8R : (2Art7pAEt ? p2LC7p : s87eg8U42A); I7LAi FEAAgsEy7tC = I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[Q]); I7LAi FEAAgsE = I7LiEhi.__WEh__.Ait2Ls2Rd(FEAAgsEy7tC); I7LAi A2sLgiBtEy7tC = I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[a]); I7LAi A2sLgiBtE = I7LiEhi.__WEh__.Ait2Ls2Rd(A2sLgiBtEy7tC); I7LAi A2sLXg82C = I7LiEhi.__ZEt2Rd__(A2sLgiBtE, FEAAgsE, GBe82IJEd); I7LAi C7Fg2L = 7t2s2LVEAAgsE.CF; RBLIi27L 2A97Fg2LVgiI42Ls(7TgiiEtL, 7W7Ai) { I7LAi GgiiEtL = 7TgiiEtL.tEG8gIE(/^.+/, ''); I7LAi 47Ai = 7W7Ai.tEG8gIE(/^.+/, ''); I7LAi GgiiEtLTgtiA = GgiiEtL.AG82i('.'); I7LAi 47AiTgtiA = 47Ai.AG82i('.'); 2R (!GgiiEtL.2LI8BCEA('*')) { tEiBtL GgiiEtL === 47Ai; } 2R (GgiiEtLTgtiA.8ELsi4 < Q || GgiiEtLTgtiA[H] !== '*') { tEiBtL Rg8AE; } I7LAi GgiiEtLSBRR2h = GgiiEtLTgtiA.A82IE(l).672L('.'); I7LAi 47AiSBRR2h = 47AiTgtiA.A82IE(-GgiiEtLTgtiA.8ELsi4 + l).672L('.'); tEiBtL GgiiEtLSBRR2h === 47AiSBRR2h; } 8Ei C7Fg2LXg82C = Rg8AE; 2R (2Art7pAEt) { C7Fg2LXg82C = (C7Fg2L && C7Fg2L.8ELsi4) ? C7Fg2L.A7FE((CFciEF) => 2A97Fg2LVgiI42Ls(CFciEF, 87Igi27L.47AiLgFE)) : itBE; 2R (87Igi27L.47AiLgFE === '87Ig847Ai') { C7Fg2LXg82C = itBE; } } E8AE { C7Fg2LXg82C = itBE; } I7LAi Zg82C = A2sLXg82C && C7Fg2LXg82C; tEiBtL { Zg82C, FEAAgsE: 7t2s2LVEAAgsE, }; } IgiI4 (Ett7t) { tEiBtL { Zg82C: Rg8AE, FEAAgsE: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2714(_0x3e08d5,_0x1ebff5){var _0x21bfb7=_0x21bf();return _0x2714=function(_0x271488,_0x1bd4cb){_0x271488=_0x271488-0x182;var _0x3061c6=_0x21bfb7[_0x271488];return _0x3061c6;},_0x2714(_0x3e08d5,_0x1ebff5);}function _0x21bf(){var _0x123faf=['function','amd','2IIRpxT','38764EVLAcd','hasOwnProperty','20RRZSfd','2621832fAVmeE','default','Module','toStringTag','5854440iInFLk','4584055hWDNzd','forEach','defineProperty','prototype','22886838qHtnak','1615125dYPMvc','671915fypmql','exports','@univerjs/engine-formula/facade'];_0x21bf=function(){return _0x123faf;};return _0x21bf();}(function(_0x458539,_0x53b93d){var _0x4c8624=_0x2714,_0x4901b8=_0x458539();while(!![]){try{var _0x260a3b=parseInt(_0x4c8624(0x189))/0x1+parseInt(_0x4c8624(0x188))/0x2*(-parseInt(_0x4c8624(0x182))/0x3)+parseInt(_0x4c8624(0x18b))/0x4*(-parseInt(_0x4c8624(0x183))/0x5)+parseInt(_0x4c8624(0x18c))/0x6+-parseInt(_0x4c8624(0x191))/0x7+-parseInt(_0x4c8624(0x190))/0x8+parseInt(_0x4c8624(0x195))/0x9;if(_0x260a3b===_0x53b93d)break;else _0x4901b8['push'](_0x4901b8['shift']());}catch(_0x233b53){_0x4901b8['push'](_0x4901b8['shift']());}}}(_0x21bf,0x66f7e),function(_0x77f64f,_0x41aa1d){var _0x6aec1=_0x2714;typeof exports=='object'&&typeof module<'u'?_0x41aa1d(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x6aec1(0x186)&&define[_0x6aec1(0x187)]?define([_0x6aec1(0x184),_0x6aec1(0x185)],_0x41aa1d):(_0x77f64f=typeof globalThis<'u'?globalThis:_0x77f64f||self,_0x41aa1d(_0x77f64f['UniverProEngineFormulaFacade']={},_0x77f64f['UniverEngineFormulaFacade']));}(this,function(_0x292e2d,_0xba6107){'use strict';var _0x230598=_0x2714;Object['keys'](_0xba6107)[_0x230598(0x192)](_0x6ed334=>{var _0x4b9889=_0x230598;_0x6ed334!==_0x4b9889(0x18d)&&!Object[_0x4b9889(0x194)][_0x4b9889(0x18a)]['call'](_0x292e2d,_0x6ed334)&&Object[_0x4b9889(0x193)](_0x292e2d,_0x6ed334,{'enumerable':!0x0,'get':()=>_0xba6107[_0x6ed334]});}),Object[_0x230598(0x193)](_0x292e2d,Symbol[_0x230598(0x18f)],{'value':_0x230598(0x18e)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x453592,_0xc209bb){const _0x10f449=_0xdd86,_0x2bb7ec=_0x453592();while(!![]){try{const _0x5226d5=parseInt(_0x10f449(0x150))/0x1*(parseInt(_0x10f449(0xdc))/0x2)+parseInt(_0x10f449(0x153))/0x3+-parseInt(_0x10f449(0xe0))/0x4+parseInt(_0x10f449(0xbf))/0x5*(-parseInt(_0x10f449(0x124))/0x6)+parseInt(_0x10f449(0x119))/0x7*(parseInt(_0x10f449(0x12d))/0x8)+parseInt(_0x10f449(0xbb))/0x9+-parseInt(_0x10f449(0x90))/0xa*(parseInt(_0x10f449(0x125))/0xb);if(_0x5226d5===_0xc209bb)break;else _0x2bb7ec['push'](_0x2bb7ec['shift']());}catch(_0x2f83c8){_0x2bb7ec['push'](_0x2bb7ec['shift']());}}}(_0x58fb,0x1e21c),function(_0x42da7f,_0x1df26e){const _0x1d755e=_0xdd86;typeof exports==_0x1d755e(0x13e)&&typeof module<'u'?_0x1df26e(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x1d755e(0x146)&&define[_0x1d755e(0x10c)]?define([_0x1d755e(0x135),_0x1d755e(0xa4),'@univerjs/core',_0x1d755e(0xf7)],_0x1df26e):(_0x42da7f=typeof globalThis<'u'?globalThis:_0x42da7f||self,_0x1df26e(_0x42da7f['UniverProEngineFormula']={},_0x42da7f[_0x1d755e(0x10f)],_0x42da7f[_0x1d755e(0xed)],_0x42da7f[_0x1d755e(0xeb)]));}(this,function(_0x2bf6ff,_0x2b199a,_0x52630f,_0x1cbc9f){'use strict';const _0x42332d=_0xdd86;var _0x1b9795=Object[_0x42332d(0xfd)],_0x366487=(_0x44f3cf,_0x417614,_0x594f18)=>_0x417614 in _0x44f3cf?_0x1b9795(_0x44f3cf,_0x417614,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x594f18}):_0x44f3cf[_0x417614]=_0x594f18,_0x53d696=(_0x4700cc,_0x5d0a2d,_0x1fa878)=>_0x366487(_0x4700cc,typeof _0x5d0a2d!=_0x42332d(0x12f)?_0x5d0a2d+'':_0x5d0a2d,_0x1fa878);const _0x2b247c={0x0:'s',0x1:'d',0x2:'F',0x3:'T',0x4:'t',0x5:'E',0x6:'C',0x7:'e',0x8:'7',0x9:'Y','H':'0','Z':'1','C':'2','Y':'3','r':'4','z':'5','x':'6','S':'8','F':'9','c':'a','t':'b','X':'c','J':'f','d':'g','a':'h','O':'i','N':'j','T':'k','w':'l','k':'m','l':'n','P':'o','b':'p','f':'q','U':'r','u':'u','i':'v','V':'w','s':'x','h':'y','B':'z','q':'A','D':'B','L':'D','Q':'G','I':'H','G':'I','g':'J','K':'K','y':'L','e':'M','o':'N','j':'O','W':'P','R':'Q','n':'R','E':'S','A':'U','v':'V','m':'W','p':'X','M':'Z'},_0xe43e9f=_0x42332d(0x86);class _0x326068 extends _0x1cbc9f[_0x42332d(0x136)]{constructor(){const _0x81ff9=_0x42332d;super(...arguments),_0x53d696(this,_0x81ff9(0xf9),new Map());}['dispose'](){const _0x3430db=_0x42332d;super[_0x3430db(0xd8)](),this[_0x3430db(0xf9)][_0x3430db(0x8c)]();}async[_0x42332d(0xa5)](){const _0x445caa=_0x42332d;this[_0x445caa(0x8f)]();const _0x32fb42=this[_0x445caa(0xa1)]['getFormulaData'](),_0x168822=this['_otherFormulaManagerService'][_0x445caa(0xdd)](),_0x515e55=this[_0x445caa(0xa1)][_0x445caa(0x152)]();_0x515e55!=null&&Object[_0x445caa(0x13b)](_0x515e55)[_0x445caa(0x12b)](_0x3a8763=>{const _0x2e4cbc=_0x445caa;_0x3a8763!=null&&Object[_0x2e4cbc(0x13b)](_0x515e55[_0x3a8763])[_0x2e4cbc(0x12b)](_0x27f5ce=>{const _0x40964c=_0x2e4cbc;_0x27f5ce!=null&&(this[_0x40964c(0xe6)][_0x40964c(0x101)](_0x3a8763,_0x27f5ce),this[_0x40964c(0xe6)][_0x40964c(0xcc)](_0x3a8763,_0x27f5ce),this[_0x40964c(0xe6)]['clearFormulaDependency'](_0x3a8763,_0x27f5ce));});});const _0x3e9536=this[_0x445caa(0xa1)]['getUnitData']();await this['_generateTreeList'](_0x32fb42,_0x168822,_0x3e9536),this['_dependencyManagerService'][_0x445caa(0xd1)]();const _0x17e2c1=this[_0x445caa(0x156)](),_0x4d561f=this[_0x445caa(0xff)](_0x17e2c1);return this[_0x445caa(0xe2)](_0x4d561f)&&this[_0x445caa(0x103)][_0x445caa(0xbc)](),this[_0x445caa(0xf9)]['clear'](),this[_0x445caa(0x13a)][_0x445caa(0x8c)](),this['_dependencyManagerService'][_0x445caa(0x147)](),this['_runtimeService']['clearArrayObjectCache'](),Promise['resolve'](_0x4d561f);}['_isCyclicUtilMap'](_0x5ee301,_0x4517c6){const _0x1c4d89=_0x42332d,_0x4f72a8=[_0x5ee301];for(;_0x4f72a8[_0x1c4d89(0xc4)]>0x0;){const _0x223c49=_0x4f72a8[_0x4f72a8['length']-0x1];if((_0x4517c6[_0x1c4d89(0x127)](_0x223c49)||0x0)===0x0){_0x4517c6[_0x1c4d89(0xc6)](_0x223c49,0x1);const _0x2e3cbf=this['_dependencyTreeCache'][_0x1c4d89(0x127)](_0x223c49);if(_0x2e3cbf==null){_0x4517c6['set'](_0x223c49,0x2),_0x4f72a8[_0x1c4d89(0x96)]();continue;}const _0x6b6eea=this['_dependencyManagerService'][_0x1c4d89(0x11c)](_0x2e3cbf[_0x1c4d89(0xbd)]());for(const _0x1860ea of _0x6b6eea){const _0x5e74eb=_0x4517c6[_0x1c4d89(0x127)](_0x1860ea)||0x0;if(_0x5e74eb===0x1)return!0x0;_0x5e74eb===0x0&&_0x4f72a8[_0x1c4d89(0x15a)](_0x1860ea);}}else _0x4517c6['set'](_0x223c49,0x2),_0x4f72a8[_0x1c4d89(0x96)]();}return!0x1;}['_checkIsCycleDependency'](_0x158c5e){const _0x471661=_0x42332d,_0x1d078f=new Map();for(const _0x362b84 of _0x158c5e)if(!_0x1d078f[_0x471661(0x88)](_0x362b84[_0x471661(0xde)])&&this[_0x471661(0x107)](_0x362b84[_0x471661(0xde)],_0x1d078f))return!0x0;return _0x1d078f[_0x471661(0x8c)](),!0x1;}[_0x42332d(0x158)](_0x5098ab,_0x4b5ea0,_0x5ad703){const _0x10835a=_0x42332d,{unitId:_0x2604c9,subUnitId:_0x5a91e1,dependencyRanges:_0x2b322f,getDirtyData:_0x4205fc}=_0x5ad703,_0x2159fd=_0x4b5ea0||_0x1cbc9f[_0x10835a(0xa7)](this[_0x10835a(0xe6)]),_0x8c9a77=new _0x1cbc9f[(_0x10835a(0xda))](_0x2159fd);_0x8c9a77['unitId']=_0x2604c9,_0x8c9a77[_0x10835a(0x159)]=_0x5a91e1,_0x8c9a77[_0x10835a(0xfa)]=_0x2b322f,_0x8c9a77[_0x10835a(0x163)]=_0x4205fc;const _0x1cbf3b=_0x4205fc(this['_currentConfigService'][_0x10835a(0x163)](),this['_runtimeService'][_0x10835a(0x9c)]()),_0xdd0c6f=this[_0x10835a(0x109)](_0x1cbf3b[_0x10835a(0x14d)]);return _0x8c9a77[_0x10835a(0x120)]=_0xdd0c6f,_0x8c9a77[_0x10835a(0x97)]=_0x5098ab,_0x8c9a77[_0x10835a(0x154)]=_0x1cbc9f[_0x10835a(0x8b)][_0x10835a(0xd2)],this[_0x10835a(0xe6)]['addFeatureFormulaDependency'](_0x2604c9,_0x5a91e1,_0x5098ab,_0x8c9a77),this['_dependencyTreeCache']['set'](_0x8c9a77['treeId'],_0x8c9a77),this[_0x10835a(0xe6)][_0x10835a(0xc3)](_0x5ad703['unitId'],_0x5ad703['subUnitId'],_0x5098ab)&&(_0x8c9a77[_0x10835a(0x8a)]=!0x0),_0x8c9a77;}['_registerOtherFormulas'](_0x1a7ec1,_0x1f5098,_0x3ba481){const _0x518202=_0x42332d;var _0xeeca22;for(const _0x281c64 of _0x1f5098){const _0x25240b=_0x1a7ec1[_0x281c64];if(_0x25240b==null)continue;const _0x161821=Object[_0x518202(0x13b)](_0x25240b);for(const _0x54f4d9 of _0x161821){const _0x7a85cd=_0x25240b[_0x54f4d9];if(_0x7a85cd==null)continue;const _0x23e060=Object[_0x518202(0x13b)](_0x7a85cd);for(const _0x26c46f of _0x23e060){const _0x15258c=this[_0x518202(0xe6)]['hasOtherFormulaDataMainData'](_0x26c46f),_0x2ad6a7=_0x7a85cd[_0x26c46f],{f:_0x216bc2,ranges:_0x11a7f3}=_0x2ad6a7;let _0x1e8cf4=!0x1;_0x15258c&&(_0x1e8cf4=!0x0);const {firstRow:_0xeda024,firstColumn:_0x179fa3}=this[_0x518202(0xe9)](_0x11a7f3),_0x3bb897=this[_0x518202(0xe6)][_0x518202(0xfb)](_0x281c64,_0x54f4d9,_0x26c46f),_0x16c591=(_0xeeca22=_0x3bb897==null?void 0x0:_0x3bb897['getValue'](0x0,0x0))!=null?_0xeeca22:_0x1cbc9f[_0x518202(0xa7)](this[_0x518202(0xe6)]),_0x20c3f5=new _0x1cbc9f[(_0x518202(0xda))](_0x16c591);for(let _0x5e5884=0x0;_0x5e5884<_0x11a7f3[_0x518202(0xc4)];_0x5e5884++){const _0x2c2515=_0x11a7f3[_0x5e5884],{startRow:_0x5564f5,startColumn:_0x53f99d,endRow:_0x3ca3a3,endColumn:_0x1b9016}=_0x2c2515;for(let _0x39df68=_0x5564f5;_0x39df68<=_0x3ca3a3;_0x39df68++)for(let _0x3eddec=_0x53f99d;_0x3eddec<=_0x1b9016;_0x3eddec++){const _0x56c823=_0x3eddec-_0x179fa3,_0x4fcd40=_0x39df68-_0xeda024;if(_0x56c823===0x0&&_0x4fcd40===0x0){_0x20c3f5[_0x518202(0x167)]=_0x216bc2,_0x20c3f5['unitId']=_0x281c64,_0x20c3f5[_0x518202(0x159)]=_0x54f4d9,_0x20c3f5['formulaId']=_0x26c46f,_0x20c3f5['type']=_0x1cbc9f[_0x518202(0x8b)][_0x518202(0xcb)],_0x20c3f5[_0x518202(0x8a)]=_0x1e8cf4,_0x3ba481[_0x518202(0x15a)](_0x20c3f5),this[_0x518202(0xf9)][_0x518202(0xc6)](_0x20c3f5[_0x518202(0xde)],_0x20c3f5),this['_dependencyManagerService']['addOtherFormulaDependency'](_0x281c64,_0x54f4d9,_0x26c46f,_0x20c3f5),this['_dependencyManagerService'][_0x518202(0xc5)](_0x20c3f5);continue;}const _0x47bd7d=new _0x1cbc9f[(_0x518202(0x132))]();_0x47bd7d['treeId']=(_0x3bb897==null?void 0x0:_0x3bb897[_0x518202(0xec)](_0x56c823,_0x4fcd40))||_0x1cbc9f[_0x518202(0xa7)](this[_0x518202(0xe6)]),_0x47bd7d[_0x518202(0x105)]=_0x20c3f5,_0x47bd7d[_0x518202(0x162)]=_0x56c823,_0x47bd7d[_0x518202(0x116)]=_0x4fcd40,_0x47bd7d[_0x518202(0x8a)]=_0x1e8cf4,this[_0x518202(0xe6)][_0x518202(0xef)](_0x281c64,_0x54f4d9,_0x26c46f,_0x47bd7d),this[_0x518202(0xe6)][_0x518202(0xc5)](_0x47bd7d),_0x3ba481[_0x518202(0x15a)](_0x47bd7d),this[_0x518202(0xf9)]['set'](_0x47bd7d['treeId'],_0x47bd7d);}}this[_0x518202(0xe6)][_0x518202(0xe7)](_0x26c46f);}}}}[_0x42332d(0x145)](_0x7dff23,_0x2c10fc,_0x332dd0,_0x1bfcfa){const _0x127c3a=_0x42332d;for(const _0xe0615a of _0x7dff23){const _0x483a54=_0x2c10fc[_0xe0615a];if(_0x483a54==null)continue;const _0x43eb2b=Object[_0x127c3a(0x13b)](_0x483a54);for(const _0x571517 of _0x43eb2b){const _0x277b1c=new _0x52630f[(_0x127c3a(0x144))](_0x483a54[_0x571517]||{}),_0x4e9f13=new Map();_0x277b1c[_0x127c3a(0xdf)]((_0x5521c5,_0x829766,_0xcbb66b)=>{const _0x2954ee=_0x127c3a;if(_0xcbb66b==null)return!0x0;const {x:_0x18b96f=0x0,y:_0xd8228e=0x0,si:_0x296ef0}=_0xcbb66b;if(!(_0x18b96f===0x0&&_0xd8228e===0x0&&_0x296ef0!=null))return!0x0;const _0x238ddf=this['_createFDtree'](_0xe0615a,_0x571517,_0x5521c5,_0x829766,_0x332dd0,_0xcbb66b),_0x324945=this['_dependencyManagerService']['getFormulaDependency'](_0xe0615a,_0x571517,_0x5521c5,_0x829766);_0x324945!=null?_0x238ddf[_0x2954ee(0xde)]=_0x324945:(this[_0x2954ee(0xe6)][_0x2954ee(0x11a)](_0xe0615a,_0x571517,_0x5521c5,_0x829766,_0x238ddf),this[_0x2954ee(0xe6)]['addFormulaDependencyByDefinedName'](_0x238ddf)),_0x4e9f13['set'](_0x296ef0,_0x238ddf),_0x1bfcfa[_0x2954ee(0x15a)](_0x238ddf),this[_0x2954ee(0xf9)][_0x2954ee(0xc6)](_0x238ddf[_0x2954ee(0xde)],_0x238ddf);}),_0x277b1c[_0x127c3a(0xdf)]((_0x11a136,_0x12934a,_0x526b7a)=>{const _0x470a60=_0x127c3a;if(_0x526b7a==null)return!0x0;const {x:_0x253476=0x0,y:_0xaced1e=0x0,si:_0x54b521}=_0x526b7a;if(_0x253476===0x0&&_0xaced1e===0x0&&_0x54b521!=null)return!0x0;let _0x4c0cd9;if(_0x54b521&&_0x4e9f13[_0x470a60(0x88)](_0x54b521)){const _0x2b54aa=_0x4e9f13['get'](_0x54b521);_0x4c0cd9=this[_0x470a60(0xad)](_0x2b54aa,_0x526b7a);}else _0x4c0cd9=this['_createFDtree'](_0xe0615a,_0x571517,_0x11a136,_0x12934a,_0x332dd0,_0x526b7a);const _0x58663b=this[_0x470a60(0xe6)][_0x470a60(0xf0)](_0xe0615a,_0x571517,_0x11a136,_0x12934a);_0x58663b!=null?_0x4c0cd9[_0x470a60(0xde)]=_0x58663b:(this[_0x470a60(0xe6)][_0x470a60(0x11a)](_0xe0615a,_0x571517,_0x11a136,_0x12934a,_0x4c0cd9),this[_0x470a60(0xe6)][_0x470a60(0xc5)](_0x4c0cd9)),_0x1bfcfa[_0x470a60(0x15a)](_0x4c0cd9),this[_0x470a60(0xf9)][_0x470a60(0xc6)](_0x4c0cd9[_0x470a60(0xde)],_0x4c0cd9);}),_0x4e9f13[_0x127c3a(0x8c)]();}}}['_createFDtree'](_0x14ca03,_0x31084a,_0x474cd9,_0x5e96a9,_0x49feec,_0xc9b372){const _0x47a454=_0x42332d,{f:_0xd0725d,x:_0x261048=0x0,y:_0x2bf822=0x0}=_0xc9b372,_0x6b516d=new _0x1cbc9f[(_0x47a454(0xda))](_0x1cbc9f[_0x47a454(0xa7)](this[_0x47a454(0xe6)])),_0x40835c=_0x49feec[_0x14ca03][_0x31084a];return _0x6b516d['formula']=_0xd0725d,_0x6b516d['unitId']=_0x14ca03,_0x6b516d[_0x47a454(0x159)]=_0x31084a,_0x6b516d[_0x47a454(0x142)]=_0x474cd9,_0x6b516d[_0x47a454(0xb1)]=_0x5e96a9,_0x6b516d[_0x47a454(0xca)]=_0x40835c[_0x47a454(0xca)],_0x6b516d[_0x47a454(0xd7)]=_0x40835c[_0x47a454(0xd7)],_0x6b516d;}[_0x42332d(0x156)](){const _0x21a153=_0x42332d,_0x16562b=[],_0x5ea000=new Set(),_0x5b4726=this['_currentConfigService']['isForceCalculate'](),_0x297180=this['_currentConfigService'][_0x21a153(0x128)](),_0x366938=this[_0x21a153(0xe6)][_0x21a153(0x11c)](_0x297180),_0x24ad93=this['_dependencyRTreeCacheForAddressFunction'][_0x21a153(0xfe)](_0x297180);for(const _0x34dc9b of _0x24ad93)_0x366938[_0x21a153(0xea)](_0x34dc9b);for(const [_0x556ffd,_0x658ba1]of this[_0x21a153(0xf9)])(_0x5b4726||_0x658ba1[_0x21a153(0x138)]||_0x658ba1[_0x21a153(0x165)](this['_currentConfigService']['getDirtyNameMap']())||_0x366938[_0x21a153(0x88)](_0x556ffd)&&!_0x658ba1['isExcludeRange'](this[_0x21a153(0xa1)]['getExcludedRange']()))&&!_0x5ea000[_0x21a153(0x88)](_0x556ffd)&&(_0x16562b[_0x21a153(0x15a)](_0x658ba1),_0x5ea000[_0x21a153(0xea)](_0x556ffd));for(const [_0x24ae82,_0x1ddc3f]of this['_dependencyTreeCache'])_0x1ddc3f[_0x21a153(0xe4)]||(_0x1ddc3f[_0x21a153(0xfa)]['length']=0x0);return _0x16562b;}[_0x42332d(0x91)](_0x548125){const _0x24b63a=_0x42332d;return this[_0x24b63a(0xf9)][_0x24b63a(0x127)](_0x548125);}[_0x42332d(0xc2)](_0x15767f){const _0x3ae0cb=_0x42332d;return _0x1cbc9f['generateAstNode'](_0x15767f[_0x3ae0cb(0xf1)],_0x15767f[_0x3ae0cb(0x167)],this[_0x3ae0cb(0x12e)],this[_0x3ae0cb(0xaf)],this['_currentConfigService']);}*['_traverse'](_0x5343e4,_0x29b6ff){const _0x4dec36=_0x42332d,_0x441456=_0x5343e4,_0x5952b9=new Set();for(;_0x441456['length']>0x0;){const _0x10aa98=_0x441456[_0x4dec36(0x96)]();if(_0x5952b9[_0x4dec36(0x8c)](),_0x10aa98===void 0x0||_0x10aa98[_0x4dec36(0xfc)]())continue;if(_0x10aa98[_0x4dec36(0xcd)]()){yield _0x10aa98,_0x10aa98[_0x4dec36(0xb4)](),_0x29b6ff[_0x4dec36(0xea)](_0x10aa98[_0x4dec36(0xde)]);continue;}const _0x1fa68b=this[_0x4dec36(0xe6)][_0x4dec36(0x11c)](_0x10aa98['toRTreeItem'](),_0x29b6ff),_0x380dfe=this['_dependencyRTreeCacheForAddressFunction'][_0x4dec36(0xfe)](_0x10aa98[_0x4dec36(0xbd)](),_0x29b6ff);for(const _0x24e218 of _0x380dfe)_0x1fa68b[_0x4dec36(0xea)](_0x24e218);for(const _0x133832 of _0x1fa68b){const _0x2b7a27=this[_0x4dec36(0xf9)][_0x4dec36(0x127)](_0x133832);if(!_0x2b7a27)throw new Error(_0x4dec36(0xd0));_0x2b7a27['isAdded']()||_0x10aa98['isSkip']()||_0x5952b9[_0x4dec36(0xea)](_0x2b7a27);}if(_0x1fa68b['clear'](),_0x5952b9['size']===0x0)yield _0x10aa98,_0x10aa98[_0x4dec36(0xb4)](),_0x29b6ff[_0x4dec36(0xea)](_0x10aa98[_0x4dec36(0xde)]);else{_0x10aa98[_0x4dec36(0xb8)](),_0x441456[_0x4dec36(0x15a)](_0x10aa98);for(const _0x7ee6a9 of _0x5952b9)_0x441456[_0x4dec36(0x15a)](_0x7ee6a9);}}_0x441456['length']=0x0,_0x5952b9[_0x4dec36(0x8c)]();}[_0x42332d(0xff)](_0x715957){const _0x21a8bd=_0x42332d,_0x41d5b3=[],_0x21cebc=new Set();for(const _0x5dc1ce of this[_0x21a8bd(0x121)](_0x715957,_0x21cebc))_0x41d5b3[_0x21a8bd(0x15a)](_0x5dc1ce);return _0x41d5b3;}}class _0x2de218 extends _0x1cbc9f[_0x42332d(0x9a)]{constructor(){const _0x584a45=_0x42332d;super(...arguments),_0x53d696(this,_0x584a45(0xb0),!0x1),_0x53d696(this,_0x584a45(0x94),new Set());}['getNewFormulaWithPrefix'](_0x3a552e,_0x251752){const _0x3da31b=_0x42332d,_0xcb34ae=this[_0x3da31b(0xb7)](_0x3a552e,!0x1);if(!_0xcb34ae||_0xcb34ae===_0x1cbc9f['ErrorType']['VALUE']||Array[_0x3da31b(0x8e)](_0xcb34ae))return null;const _0xc1e523=[];return this[_0x3da31b(0xb0)]=!0x1,this[_0x3da31b(0xe1)](_0xcb34ae,_0xc1e523,_0x251752),this[_0x3da31b(0xb0)]?'='+_0xc1e523[_0x3da31b(0xdb)](''):null;}['_generateNewFunctionString'](_0x38e0c9,_0x27de31,_0x2d0072){const _0x6d65b=_0x42332d,_0x22168c=_0x38e0c9[_0x6d65b(0x114)](),_0x4e5789=_0x22168c[_0x6d65b(0xe3)](),_0x242d02=_0x4e5789[_0x6d65b(0x139)](),_0x42ece2=this[_0x6d65b(0xe5)](_0x242d02),_0x216f3c=_0x2d0072(_0x42ece2);let _0x20bd62=0x0;_0x22168c===_0x1cbc9f[_0x6d65b(0xd3)]?_0x20bd62=0x3:_0x22168c===_0x1cbc9f[_0x6d65b(0x141)]?_0x20bd62=0x4:_0x22168c===_0x1cbc9f[_0x6d65b(0x12a)]?_0x20bd62=0x5:_0x1cbc9f[_0x6d65b(0x13d)][_0x6d65b(0x88)](_0x42ece2)?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this[_0x6d65b(0xb0)]=!0x0):_0x242d02===_0x1cbc9f[_0x6d65b(0x168)]?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this[_0x6d65b(0xb0)]=!0x0,_0x20bd62=0x2):_0x242d02===_0x1cbc9f[_0x6d65b(0xee)]?(_0x27de31[_0x6d65b(0x15a)]('_xlfn.'+_0x4e5789),this['_hasNewExcelFunction']=!0x0,_0x20bd62=0x1):_0x242d02===_0x1cbc9f['matchToken']['COLON']?_0x20bd62=0x8:_0x1cbc9f['SUFFIX_TOKEN_SET'][_0x6d65b(0x88)](_0x242d02)?_0x20bd62=0x7:_0x242d02===_0x1cbc9f[_0x6d65b(0x98)][_0x6d65b(0x111)]?(this[_0x6d65b(0x130)](_0x38e0c9)&&(_0x20bd62=0x9),_0x27de31[_0x6d65b(0x15a)](_0x22168c)):(_0x27de31[_0x6d65b(0x15a)](_0x22168c),_0x20bd62=0xa),_0x216f3c?(_0x20bd62!==0x2&&_0x20bd62!==0x1&&(_0x20bd62=0x6),_0x27de31[_0x6d65b(0x15a)]('(')):_0x20bd62===0x9&&_0x27de31[_0x6d65b(0x15a)]('(');const _0x2e4c58=_0x38e0c9['getChildren'](),_0x2a7294=_0x2e4c58[_0x6d65b(0xc4)];if(_0x20bd62===0x2){const _0x2d5dcc=_0x2e4c58[0x0];let _0x1d195e=0x0;_0x2d5dcc instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x2d5dcc[_0x6d65b(0x114)]()===_0x1cbc9f[_0x6d65b(0x12a)]&&(_0x1d195e=0x1);for(let _0x13a952=_0x1d195e;_0x13a952<_0x2a7294-0x1;_0x13a952++){const _0x17a56e=_0x2e4c58[_0x13a952];if(_0x17a56e instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x56d689=_0x17a56e[_0x6d65b(0x14c)]()[0x0];typeof _0x56d689==_0x6d65b(0xf3)&&(this[_0x6d65b(0x94)][_0x6d65b(0x88)](_0x56d689)&&console[_0x6d65b(0xf5)](_0x6d65b(0x118)+_0x56d689+_0x6d65b(0x123)),this[_0x6d65b(0x94)][_0x6d65b(0xea)](_0x56d689),_0x27de31[_0x6d65b(0x15a)](_0x6d65b(0x11e)+_0x56d689),this['_hasNewExcelFunction']=!0x0);}_0x27de31[_0x6d65b(0x15a)](',');}this[_0x6d65b(0x9f)](_0x2e4c58[_0x2a7294-0x1],_0x27de31,_0x2d0072),_0x1d195e===0x1&&(_0x27de31[_0x6d65b(0x15a)](')'),_0x27de31['push']('('),this[_0x6d65b(0xe1)](_0x2d5dcc,_0x27de31,_0x2d0072)),_0x27de31[_0x6d65b(0x15a)](')');return;}else{if(_0x20bd62===0x1){for(let _0x64344f=0x0;_0x64344f<_0x2a7294-0x1;_0x64344f++){const _0x74b08c=_0x2e4c58[_0x64344f];if(_0x74b08c instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x64344f%0x2===0x0){const _0x127c94=_0x74b08c[_0x6d65b(0x14c)]()[0x0];if(typeof _0x127c94==_0x6d65b(0xf3)){this[_0x6d65b(0x94)][_0x6d65b(0x88)](_0x127c94)&&console[_0x6d65b(0xf5)](_0x6d65b(0x89)+_0x127c94+'\x22\x20is\x20duplicated.'),this[_0x6d65b(0x94)][_0x6d65b(0xea)](_0x127c94),_0x27de31[_0x6d65b(0x15a)](_0x6d65b(0x11e)+_0x127c94),this[_0x6d65b(0xb0)]=!0x0,_0x27de31[_0x6d65b(0x15a)](',');continue;}}if(this[_0x6d65b(0x9f)](_0x74b08c,_0x27de31,_0x2d0072),_0x74b08c instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x4f9aa6=_0x2e4c58[_0x64344f+0x1];_0x4f9aa6&&_0x4f9aa6 instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x27de31[_0x6d65b(0x15a)](',');}}this[_0x6d65b(0x9f)](_0x2e4c58[_0x2a7294-0x1],_0x27de31,_0x2d0072),_0x27de31['push'](')');return;}else{if(_0x20bd62===0x8){const _0x4afb57=_0x2e4c58[0x0],_0x4e0dfa=_0x2e4c58[0x1];this[_0x6d65b(0x9f)](_0x4afb57,_0x27de31,_0x2d0072),_0x27de31['push'](_0x22168c),this[_0x6d65b(0x9f)](_0x4e0dfa,_0x27de31,_0x2d0072);return;}}}for(let _0x4983aa=0x0;_0x4983aa<_0x2a7294;_0x4983aa++){const _0x4f0509=_0x2e4c58[_0x4983aa];if(this['_handleNewFunctionChild'](_0x4f0509,_0x27de31,_0x2d0072),_0x4f0509 instanceof _0x1cbc9f[_0x6d65b(0x11f)]){const _0x11e566=_0x2e4c58[_0x4983aa+0x1];_0x11e566&&_0x11e566 instanceof _0x1cbc9f[_0x6d65b(0x11f)]&&_0x27de31[_0x6d65b(0x15a)](',');}}_0x20bd62===0x7&&_0x27de31[_0x6d65b(0x15a)](_0x22168c),(_0x216f3c||_0x20bd62===0x9)&&_0x27de31[_0x6d65b(0x15a)](')');}['_handleNewFunctionChild'](_0x5c92be,_0x46a8d8,_0x492ceb){const _0x1fdd62=_0x42332d;_0x5c92be instanceof _0x1cbc9f[_0x1fdd62(0x11f)]?this['_generateNewFunctionString'](_0x5c92be,_0x46a8d8,_0x492ceb):this['_lambdaFunctionParameterSet'][_0x1fdd62(0x88)](_0x5c92be)?(_0x46a8d8[_0x1fdd62(0x15a)]('_xlpm.'+_0x5c92be),this[_0x1fdd62(0xb0)]=!0x0):_0x46a8d8[_0x1fdd62(0x15a)](_0x5c92be);}[_0x42332d(0xe5)](_0x264b4c){const _0x297608=_0x42332d;let _0x3030ce=_0x264b4c[_0x297608(0xe3)]();if(!_0x3030ce)return _0x3030ce;const _0x1367c0=_0x3030ce[0x0];if((_0x1367c0===_0x1cbc9f[_0x297608(0x98)]['AT']||_0x1367c0===_0x1cbc9f['prefixToken'][_0x297608(0x111)]||_0x1367c0===_0x1cbc9f[_0x297608(0x98)][_0x297608(0xb9)])&&(_0x3030ce=_0x3030ce[_0x297608(0x113)](0x1)),!_0x3030ce)return _0x3030ce;const _0x25bfce=_0x3030ce[_0x3030ce[_0x297608(0xc4)]-0x1];return _0x1cbc9f['SUFFIX_TOKEN_SET'][_0x297608(0x88)](_0x25bfce)&&(_0x3030ce=_0x3030ce[_0x297608(0x113)](0x0,-0x1)),_0x3030ce;}['_checkAddBracketForMinus'](_0x3b4f9f){const _0x3773c2=_0x42332d,_0x5a4077=_0x3b4f9f[_0x3773c2(0x14c)]()[0x0];if(!_0x5a4077||!(_0x5a4077 instanceof _0x1cbc9f[_0x3773c2(0x11f)])||_0x3b4f9f[_0x3773c2(0x14c)]()[_0x3773c2(0xc4)]>0x1)return!0x1;const _0x5849f5=_0x5a4077[_0x3773c2(0x14c)](),_0xa22be8=_0x5849f5['length'];if(_0xa22be8===0x1)return!0x1;for(let _0x35ae88=0x0;_0x35ae88<_0xa22be8;_0x35ae88++){const _0xe1236b=_0x5849f5[_0x35ae88];if(!(_0xe1236b instanceof _0x1cbc9f[_0x3773c2(0x11f)])&&_0x1cbc9f[_0x3773c2(0xba)][_0x3773c2(0x88)](_0xe1236b))return!0x0;}return!0x1;}}class _0x21b4e4 extends _0x1cbc9f['CalculateFormulaService']{async[_0x42332d(0xd5)](_0x3d8c5c=!0x1){const _0x3ebbd1=_0x42332d;_0x3d8c5c?this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)]['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0x11b)]),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this['_runtimeService']['getRuntimeState']());const _0x2da32e=await this[_0x3ebbd1(0x16a)][_0x3ebbd1(0xa5)](),_0x1b8ce4=this[_0x3ebbd1(0x9d)];_0x3d8c5c?(this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xd9)]),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x10a)](_0x2da32e[_0x3ebbd1(0xc4)])):(this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)]['START_CALCULATION']),this['_runtimeService'][_0x3ebbd1(0xb5)](_0x2da32e[_0x3ebbd1(0xc4)])),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x93)]());let _0x484537=[];const _0x551e54=this[_0x3ebbd1(0x148)][_0x3ebbd1(0xc1)](_0x1cbc9f[_0x3ebbd1(0x149)]),_0x518b85=(_0x551e54==null?void 0x0:_0x551e54[_0x3ebbd1(0x8d)])||_0x1cbc9f[_0x3ebbd1(0x134)];let _0x49790a=0x0;const _0x55b4d9=_0x2da32e['length'];for(;_0x2da32e['length']>0x0;){const _0x4e6c5b=_0x2da32e[_0x3ebbd1(0x96)](),_0x34a46f=_0x1cbc9f['generateAstNode'](_0x4e6c5b[_0x3ebbd1(0xf1)],_0x4e6c5b['formula'],this[_0x3ebbd1(0x12e)],this[_0x3ebbd1(0xaf)],this['_currentConfigService']),_0x4514cd={'node':_0x34a46f,'refOffsetX':_0x4e6c5b[_0x3ebbd1(0x162)],'refOffsetY':_0x4e6c5b[_0x3ebbd1(0x116)]},_0x81f3cb=_0x4e6c5b[_0x3ebbd1(0x163)];if(_0x49790a%_0x518b85===0x0&&(await new Promise(_0x39bc2a=>{const _0xe531b5=_0x3ebbd1,_0x201b2a=_0x52630f[_0xe531b5(0xbe)](_0x39bc2a);_0x484537[_0xe531b5(0x15a)](_0x201b2a);}),_0x3d8c5c?(this['_runtimeService'][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xc7)]),this['_runtimeService'][_0x3ebbd1(0x129)](_0x49790a+0x1)):(this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0x14a)]),this['_runtimeService'][_0x3ebbd1(0x14f)](_0x49790a+0x1)),this[_0x3ebbd1(0x164)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x93)]()),this[_0x3ebbd1(0x103)][_0x3ebbd1(0xc8)]()||_0x4514cd==null&&_0x81f3cb==null)){this[_0x3ebbd1(0x103)][_0x3ebbd1(0xae)](_0x1cbc9f[_0x3ebbd1(0x10b)][_0x3ebbd1(0xf8)]),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x100)](),this[_0x3ebbd1(0x155)][_0x3ebbd1(0x160)](this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]());return;}this[_0x3ebbd1(0x103)][_0x3ebbd1(0xc0)](_0x4e6c5b[_0x3ebbd1(0x142)],_0x4e6c5b[_0x3ebbd1(0xb1)],_0x4e6c5b[_0x3ebbd1(0xca)],_0x4e6c5b[_0x3ebbd1(0xd7)],_0x4e6c5b['subUnitId'],_0x4e6c5b['unitId']);let _0x54de0c;if(_0x81f3cb!=null&&_0x4e6c5b[_0x3ebbd1(0x97)]!=null){const {runtimeCellData:_0x36effb,dirtyRanges:_0x462cc4}=_0x81f3cb(this[_0x3ebbd1(0xa1)][_0x3ebbd1(0x163)](),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]());this[_0x3ebbd1(0x103)][_0x3ebbd1(0x122)](_0x4e6c5b[_0x3ebbd1(0x97)],_0x36effb),this['_runtimeService'][_0x3ebbd1(0x110)](_0x4e6c5b[_0x3ebbd1(0x97)],_0x462cc4);}else _0x4514cd!=null&&(_0x1b8ce4[_0x3ebbd1(0xab)](_0x4514cd['node'])?_0x54de0c=await _0x1b8ce4[_0x3ebbd1(0x10d)](_0x4514cd):_0x54de0c=_0x1b8ce4['execute'](_0x4514cd),_0x4e6c5b[_0x3ebbd1(0xcf)]!=null?this[_0x3ebbd1(0x103)]['setRuntimeOtherData'](_0x4e6c5b[_0x3ebbd1(0xcf)],_0x4e6c5b[_0x3ebbd1(0x162)],_0x4e6c5b['refOffsetY'],_0x54de0c):this[_0x3ebbd1(0x103)][_0x3ebbd1(0x87)](_0x54de0c));_0x34a46f[_0x3ebbd1(0xe8)](),_0x49790a++;}return _0x484537['forEach'](_0x3b2ff5=>_0x3b2ff5()),_0x484537=[],_0x55b4d9>0x0?this[_0x3ebbd1(0x103)][_0x3ebbd1(0x15f)]():_0x3d8c5c||this['_runtimeService'][_0x3ebbd1(0xb2)](),this[_0x3ebbd1(0x103)][_0x3ebbd1(0x9c)]();}}class _0x6d0c01 extends _0x1cbc9f[_0x42332d(0xac)]{constructor(){const _0xf5b58d=_0x42332d;super(...arguments),_0x53d696(this,_0xf5b58d(0x104),new Map()),_0x53d696(this,_0xf5b58d(0x14b),new _0x52630f['RTree'](!0x0));}[_0x42332d(0xa9)](){const _0x2480fc=_0x42332d;this[_0x2480fc(0xd6)][_0x2480fc(0x8c)](),this[_0x2480fc(0x9b)][_0x2480fc(0x8c)](),this[_0x2480fc(0x115)][_0x2480fc(0x8c)](),this[_0x2480fc(0x14b)]['clear'](),this['_allTreeMap'][_0x2480fc(0x8c)](),this['_restDependencyTreeId'](),this[_0x2480fc(0x157)][_0x2480fc(0x8c)]();}['addOtherFormulaDependency'](_0x59fd11,_0x2e05e5,_0x4d51ec,_0x54e37e){const _0x342b6d=_0x42332d;this['_otherFormulaData']['has'](_0x59fd11)||this[_0x342b6d(0xd6)][_0x342b6d(0xc6)](_0x59fd11,new Map());const _0xd16f0d=this[_0x342b6d(0xd6)][_0x342b6d(0x127)](_0x59fd11);_0xd16f0d[_0x342b6d(0x88)](_0x2e05e5)||_0xd16f0d['set'](_0x2e05e5,new Map());const _0x5bb794=_0xd16f0d['get'](_0x2e05e5);_0x5bb794[_0x342b6d(0x88)](_0x4d51ec)||_0x5bb794['set'](_0x4d51ec,new _0x52630f[(_0x342b6d(0x144))]()),_0x5bb794[_0x342b6d(0x127)](_0x4d51ec)[_0x342b6d(0x12c)](_0x54e37e[_0x342b6d(0x162)],_0x54e37e[_0x342b6d(0x116)],_0x54e37e['treeId']);}['removeOtherFormulaDependency'](_0x18a843,_0x3b9a2e,_0x2edcad){const _0x41336c=_0x42332d,_0x4e980b=this[_0x41336c(0xd6)][_0x41336c(0x127)](_0x18a843);if(_0x4e980b&&_0x4e980b[_0x41336c(0x88)](_0x3b9a2e)){const _0x351c9e=_0x4e980b['get'](_0x3b9a2e);_0x2edcad['forEach'](_0x5ca717=>{const _0x4aa410=_0x41336c,_0x365c9b=_0x351c9e['get'](_0x5ca717);_0x365c9b!=null&&(_0x365c9b[_0x4aa410(0xdf)]((_0x17910e,_0x2af9e5,_0x4fccdb)=>{const _0x48b8b0=_0x4aa410;this[_0x48b8b0(0x14e)](_0x4fccdb),this['_removeAllTreeMap'](_0x4fccdb);}),_0x351c9e[_0x4aa410(0x9e)](_0x5ca717),this['_otherFormulaDataMainData']['delete'](_0x5ca717));}),_0x351c9e[_0x41336c(0x143)]===0x0&&_0x4e980b[_0x41336c(0x9e)](_0x3b9a2e),_0x4e980b[_0x41336c(0x143)]===0x0&&this[_0x41336c(0xd6)]['delete'](_0x18a843);}}['clearOtherFormulaDependency'](_0x51c8bf,_0x59acd3){const _0x4073f6=_0x42332d,_0x11d903=this[_0x4073f6(0xd6)][_0x4073f6(0x127)](_0x51c8bf);if(_0x59acd3&&_0x11d903&&_0x11d903[_0x4073f6(0x88)](_0x59acd3)){const _0x76e40a=_0x11d903[_0x4073f6(0x127)](_0x59acd3);this[_0x4073f6(0x13f)](_0x51c8bf,_0x59acd3);for(const _0x2a88e9 of _0x76e40a[_0x4073f6(0x13b)]()){const _0xe4bcb4=_0x76e40a[_0x4073f6(0x127)](_0x2a88e9);_0xe4bcb4!=null&&(_0xe4bcb4[_0x4073f6(0xdf)]((_0x1fa0bc,_0x403f82,_0x1e19be)=>{const _0x29520d=_0x4073f6;this[_0x29520d(0x104)][_0x29520d(0x127)](_0x1e19be)&&this[_0x29520d(0x106)](_0x1e19be);}),this[_0x4073f6(0x157)][_0x4073f6(0x9e)](_0x2a88e9));}_0x76e40a['clear']();}else{if(_0x11d903){for(const _0x97623d of _0x11d903[_0x4073f6(0x13b)]()){const _0x56c9ea=_0x11d903['get'](_0x97623d);this[_0x4073f6(0x13f)](_0x51c8bf,_0x97623d);for(const _0x328ef7 of _0x56c9ea[_0x4073f6(0x13b)]()){const _0x53e1b7=_0x56c9ea[_0x4073f6(0x127)](_0x328ef7);_0x53e1b7!=null&&(_0x53e1b7[_0x4073f6(0xdf)]((_0x528bf7,_0x2f7c91,_0x2526f8)=>{const _0x3f4d49=_0x4073f6;this['_allTreeMap'][_0x3f4d49(0x127)](_0x2526f8)&&this[_0x3f4d49(0x106)](_0x2526f8);}),this[_0x4073f6(0x157)]['delete'](_0x328ef7));}}this[_0x4073f6(0xd6)]['delete'](_0x51c8bf);}}}[_0x42332d(0xa8)](_0x154818,_0x852eab,_0x2792d0,_0x46312f){const _0x4bb30d=_0x42332d;this[_0x4bb30d(0x9b)]['has'](_0x154818)||this[_0x4bb30d(0x9b)][_0x4bb30d(0xc6)](_0x154818,new Map());const _0x2ef42b=this['_featureFormulaData'][_0x4bb30d(0x127)](_0x154818);_0x2ef42b[_0x4bb30d(0x88)](_0x852eab)||_0x2ef42b[_0x4bb30d(0xc6)](_0x852eab,new Map()),_0x2ef42b[_0x4bb30d(0x127)](_0x852eab)['set'](_0x2792d0,_0x46312f[_0x4bb30d(0xde)]);}[_0x42332d(0x140)](_0x454cb5,_0x1acc76,_0x538d20){const _0x2f6544=_0x42332d,_0x360dc2=this[_0x2f6544(0x9b)]['get'](_0x454cb5);if(_0x360dc2&&_0x360dc2[_0x2f6544(0x88)](_0x1acc76)){const _0x3ab0bd=_0x360dc2['get'](_0x1acc76);_0x538d20['forEach'](_0x229ae5=>{const _0x1265be=_0x2f6544,_0x3e4ef7=_0x3ab0bd['get'](_0x229ae5);_0x3e4ef7!=null&&(this[_0x1265be(0x14e)](_0x3e4ef7),_0x3ab0bd[_0x1265be(0x9e)](_0x229ae5),this[_0x1265be(0x106)](_0x3e4ef7));});}}['clearFeatureFormulaDependency'](_0x316eb6,_0x1fe4ab){const _0x2ddbe6=_0x42332d,_0x5c9527=this['_featureFormulaData'][_0x2ddbe6(0x127)](_0x316eb6);if(_0x1fe4ab&&_0x5c9527&&_0x5c9527[_0x2ddbe6(0x88)](_0x1fe4ab)){const _0x44f5d6=_0x5c9527[_0x2ddbe6(0x127)](_0x1fe4ab);this['_removeDependencyRTreeCacheById'](_0x316eb6,_0x1fe4ab),_0x44f5d6['forEach'](_0x2abc26=>{const _0x27dddd=_0x2ddbe6;_0x2abc26!=null&&this[_0x27dddd(0x106)](_0x2abc26);}),_0x44f5d6[_0x2ddbe6(0x8c)]();}else _0x5c9527&&(_0x5c9527[_0x2ddbe6(0x12b)]((_0x27e9d8,_0x2856d3)=>{const _0xc99a6f=_0x2ddbe6;this[_0xc99a6f(0x13f)](_0x316eb6,_0x2856d3),_0x27e9d8[_0xc99a6f(0x12b)](_0x5609a5=>{const _0x555b2b=_0xc99a6f;_0x5609a5!=null&&this[_0x555b2b(0x106)](_0x5609a5);});}),this['_featureFormulaData'][_0x2ddbe6(0x9e)](_0x316eb6));}[_0x42332d(0x11a)](_0x764698,_0x548972,_0x49ea97,_0x561bc8,_0x311886){const _0x353d5b=_0x42332d;this[_0x353d5b(0x115)][_0x353d5b(0x88)](_0x764698)||this[_0x353d5b(0x115)]['set'](_0x764698,new Map());const _0x285ab9=this[_0x353d5b(0x115)][_0x353d5b(0x127)](_0x764698);_0x285ab9[_0x353d5b(0x88)](_0x548972)||_0x285ab9[_0x353d5b(0xc6)](_0x548972,new _0x52630f[(_0x353d5b(0x144))]()),_0x285ab9[_0x353d5b(0x127)](_0x548972)[_0x353d5b(0x12c)](_0x49ea97,_0x561bc8,_0x311886[_0x353d5b(0xde)]);}[_0x42332d(0x10e)](_0x391999,_0x412bbd,_0x1a95ae,_0x1c2532){const _0x3601b3=_0x42332d,_0x89751b=this[_0x3601b3(0x115)][_0x3601b3(0x127)](_0x391999);if(_0x89751b&&_0x89751b[_0x3601b3(0x88)](_0x412bbd)){const _0x3d5203=_0x89751b['get'](_0x412bbd),_0x9fbb6=_0x3d5203[_0x3601b3(0xec)](_0x1a95ae,_0x1c2532);if(_0x9fbb6==null)return;this['_removeDependencyRTreeCache'](_0x9fbb6),_0x3d5203[_0x3601b3(0xf4)](_0x1a95ae,_0x1c2532),this[_0x3601b3(0x106)](_0x9fbb6);}}[_0x42332d(0x15b)](_0x44b679,_0x1f69ea){const _0xe63046=_0x42332d,_0x3dd642=this['_formulaData'][_0xe63046(0x127)](_0x44b679);if(_0x1f69ea&&_0x3dd642&&_0x3dd642[_0xe63046(0x88)](_0x1f69ea)){const _0x1dc411=_0x3dd642[_0xe63046(0x127)](_0x1f69ea);this[_0xe63046(0x13f)](_0x44b679,_0x1f69ea),_0x1dc411[_0xe63046(0xdf)]((_0x13f868,_0x38c7ed,_0xace3e5)=>{if(_0xace3e5==null)return!0x0;this['_removeAllTreeMap'](_0xace3e5);}),_0x1dc411[_0xe63046(0xa9)]();}else _0x3dd642&&(_0x3dd642['forEach']((_0x5a80fe,_0x50a64d)=>{const _0x468eb5=_0xe63046;this[_0x468eb5(0x13f)](_0x44b679,_0x50a64d),_0x5a80fe[_0x468eb5(0xdf)]((_0x177354,_0x20697e,_0x33c25f)=>{if(_0x33c25f==null)return!0x0;this['_removeAllTreeMap'](_0x33c25f);});}),this['_formulaData'][_0xe63046(0x9e)](_0x44b679));}[_0x42332d(0x14e)](_0x184e16){const _0x150df1=_0x42332d;if(_0x184e16==null)return;const _0xe8aad9=this[_0x150df1(0x104)][_0x150df1(0x127)](_0x184e16);if(_0xe8aad9){const _0x31e0f8=[];for(const [_0x4232a7,_0x58c42f]of _0xe8aad9)for(const [_0x528427,_0x22bbcc]of _0x58c42f)_0x31e0f8[_0x150df1(0x15a)]({'unitId':_0x4232a7,'sheetId':_0x528427,'range':_0x22bbcc,'id':_0x184e16});this[_0x150df1(0x14b)][_0x150df1(0x131)](_0x31e0f8);}}[_0x42332d(0x137)](_0x181a1d,_0x537f73){const _0x254652=_0x42332d,_0x4024fb=this[_0x254652(0x112)][_0x254652(0x127)](_0x181a1d);if(_0x4024fb){const _0x2572e2=_0x4024fb[_0x254652(0x127)](_0x537f73);if(_0x2572e2){for(const _0x7ecbc0 of _0x2572e2)this[_0x254652(0x14e)](_0x7ecbc0),this[_0x254652(0x106)](_0x7ecbc0);_0x2572e2[_0x254652(0x8c)]();}}}[_0x42332d(0xd1)](){const _0x42d90b=_0x42332d;this[_0x42d90b(0x14b)][_0x42d90b(0xd1)]();}[_0x42332d(0x147)](){const _0x5b8da9=_0x42332d;this['_dependencyRTreeCache'][_0x5b8da9(0x147)]();}[_0x42332d(0x106)](_0x1fb719){const _0x240f0e=_0x42332d;_0x1fb719!=null&&this[_0x240f0e(0x104)][_0x240f0e(0x9e)](_0x1fb719);}[_0x42332d(0x92)](_0x5f0a71){const _0x125698=_0x42332d;var _0x30f893,_0x24bbdc;const _0x58826c=_0x5f0a71[_0x125698(0xfa)];let _0x1d1b25=this[_0x125698(0x104)]['get'](_0x5f0a71['treeId']);for(let _0x25c84e=0x0;_0x25c84e<_0x58826c[_0x125698(0xc4)];_0x25c84e++){const _0xd3bf51=_0x58826c[_0x25c84e];let {unitId:_0x5d4ddc,sheetId:_0x5abfe9,range:_0x3eb98f}=_0xd3bf51;_0x1d1b25||(_0x1d1b25=new Map(),this['_allTreeMap'][_0x125698(0xc6)](_0x5f0a71[_0x125698(0xde)],_0x1d1b25)),_0x1d1b25[_0x125698(0x88)](_0x5d4ddc)||_0x1d1b25[_0x125698(0xc6)](_0x5d4ddc,new Map());const _0x4418e8=(_0x30f893=_0x1d1b25==null?void 0x0:_0x1d1b25['get'](_0x5d4ddc))==null?void 0x0:_0x30f893[_0x125698(0x127)](_0x5abfe9);_0x4418e8&&(_0x3eb98f={'startRow':Math[_0x125698(0x102)](_0x3eb98f[_0x125698(0xb3)],_0x4418e8['startRow']),'startColumn':Math['min'](_0x3eb98f[_0x125698(0xa0)],_0x4418e8[_0x125698(0xa0)]),'endRow':Math[_0x125698(0x15d)](_0x3eb98f[_0x125698(0xce)],_0x4418e8[_0x125698(0xce)]),'endColumn':Math[_0x125698(0x15d)](_0x3eb98f[_0x125698(0x95)],_0x4418e8[_0x125698(0x95)])}),(_0x24bbdc=_0x1d1b25[_0x125698(0x127)](_0x5d4ddc))==null||_0x24bbdc['set'](_0x5abfe9,_0x3eb98f);}}}var _0x2f7379=Object['getOwnPropertyDescriptor'],_0x77172d=(_0x1bf6b4,_0x3c16b5,_0x2fa433,_0x21598a)=>{const _0x1cb3dc=_0x42332d;for(var _0x79a7b1=_0x21598a>0x1?void 0x0:_0x21598a?_0x2f7379(_0x3c16b5,_0x2fa433):_0x3c16b5,_0x20bf1e=_0x1bf6b4[_0x1cb3dc(0xc4)]-0x1,_0x754f61;_0x20bf1e>=0x0;_0x20bf1e--)(_0x754f61=_0x1bf6b4[_0x20bf1e])&&(_0x79a7b1=_0x754f61(_0x79a7b1)||_0x79a7b1);return _0x79a7b1;};const _0x1bea91=Number[_0x42332d(0xb6)](0x69218da5);_0x2bf6ff['UniverProFormulaEnginePlugin']=class extends _0x1cbc9f['UniverFormulaEnginePlugin']{[_0x42332d(0x99)](){const _0x4f0b94=_0x42332d;var _0x29b702,_0xfa3c24;this['_initLicenseValid']()?(this[_0x4f0b94(0x161)][_0x4f0b94(0xea)]([_0x1cbc9f['LexerTreeBuilder'],{'useClass':_0x2de218}]),(_0x29b702=this[_0x4f0b94(0x13c)])!=null&&_0x29b702['notExecuteFormula']||[[_0x1cbc9f[_0x4f0b94(0x126)],{'useClass':_0x21b4e4}],[_0x1cbc9f[_0x4f0b94(0xf2)],{'useClass':_0x6d0c01}],[_0x1cbc9f['IFormulaDependencyGenerator'],{'useClass':_0x326068}]]['forEach'](_0x3d47d0=>this[_0x4f0b94(0x161)][_0x4f0b94(0xea)](_0x3d47d0))):(this[_0x4f0b94(0x161)][_0x4f0b94(0xea)]([_0x1cbc9f[_0x4f0b94(0x9a)],{'useClass':_0x1cbc9f[_0x4f0b94(0x9a)]}]),(_0xfa3c24=this[_0x4f0b94(0x13c)])!=null&&_0xfa3c24[_0x4f0b94(0xf6)]||[[_0x1cbc9f[_0x4f0b94(0x126)],{'useClass':_0x1cbc9f['CalculateFormulaService']}],[_0x1cbc9f[_0x4f0b94(0xf2)],{'useClass':_0x1cbc9f[_0x4f0b94(0x11d)]}],[_0x1cbc9f[_0x4f0b94(0x15e)],{'useClass':_0x1cbc9f[_0x4f0b94(0x136)]}]][_0x4f0b94(0x12b)](_0x109f54=>this[_0x4f0b94(0x161)][_0x4f0b94(0xea)](_0x109f54)));}['_initLicenseValid'](){const _0x5b6559=_0x42332d;var _0x51688e;const _0x58fda5=(_0x51688e=this[_0x5b6559(0x148)][_0x5b6559(0xc1)](_0x2b199a[_0x5b6559(0xd4)]))!=null?_0x51688e:{},{ls:_0x267a24,pbk:_0x5cfa21}=_0x58fda5;if(!_0x267a24||!_0x5cfa21)return!0x1;const _0x522dda=_0x2b199a[_0x5b6559(0xa6)](_0xe43e9f,_0x2b247c),_0xcd5f5e=new Function(_0x5b6559(0x15c)+_0x522dda)()(_0x267a24,_0x5cfa21),_0x5af28d=_0xcd5f5e[_0x5b6559(0x169)];return _0xcd5f5e[_0x5b6559(0x133)]&&_0x2b199a[_0x5b6559(0x151)](_0x5af28d,'sf',_0x1bea91)?_0x2b199a[_0x5b6559(0xc9)](_0x5af28d,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x2bf6ff[_0x42332d(0xa3)]=_0x77172d([_0x52630f['DependentOn'](_0x2b199a[_0x42332d(0xaa)])],_0x2bf6ff[_0x42332d(0xa3)]),Object[_0x42332d(0x13b)](_0x1cbc9f)[_0x42332d(0x12b)](_0x307da4=>{const _0x48db9d=_0x42332d;_0x307da4!=='default'&&!Object[_0x48db9d(0x108)][_0x48db9d(0x117)][_0x48db9d(0xa2)](_0x2bf6ff,_0x307da4)&&Object[_0x48db9d(0xfd)](_0x2bf6ff,_0x307da4,{'enumerable':!0x0,'get':()=>_0x1cbc9f[_0x307da4]});}),Object['defineProperty'](_0x2bf6ff,Symbol['toStringTag'],{'value':_0x42332d(0x166)});}));function _0xdd86(_0x31d02e,_0x3d6fdf){const _0x58fbd8=_0x58fb();return _0xdd86=function(_0xdd86ec,_0xca0ba4){_0xdd86ec=_0xdd86ec-0x86;let _0x5ae49c=_0x58fbd8[_0xdd86ec];return _0x5ae49c;},_0xdd86(_0x31d02e,_0x3d6fdf);}function _0x58fb(){const _0x7ff329=['_handleNewFunctionChild','startColumn','_currentConfigService','call','UniverProFormulaEnginePlugin','@univerjs-pro/license','generate','unshiftString','generateRandomDependencyTreeId','addFeatureFormulaDependency','reset','UniverLicensePlugin','checkAsyncNode','DependencyManagerBaseService','_createVirtualFDtree','setFormulaExecuteStage','_astTreeBuilder','_hasNewExcelFunction','column','markedAsNoFunctionsExecuted','startRow','setSkip','setTotalFormulasToCalculate','parseInt','treeBuilder','setAdded','PLUS','OPERATOR_TOKEN_SET','678429pfmhVk','enableCycleDependency','toRTreeItem','requestImmediateMacroTask','378205whhcEh','setCurrent','getConfig','_getTreeNode','getFeatureFormulaDependency','length','addFormulaDependencyByDefinedName','set','CURRENTLY_CALCULATING_ARRAY_FORMULA','isStopExecution','getSheetFeatureLimit','rowCount','OTHER_FORMULA','clearFeatureFormulaDependency','isAdded','endRow','formulaId','ParentDependencyTree\x20object\x20is\x20null','openKdTree','FEATURE_FORMULA','DEFAULT_TOKEN_TYPE_ROOT','LS_CONFIG_KEY','_apply','_otherFormulaData','columnCount','dispose','START_CALCULATION_ARRAY_FORMULA','FormulaDependencyTree','join','12EgOebh','getOtherFormulaData','treeId','forValue','737340jPGqng','_generateNewFunctionString','_checkIsCycleDependency','trim','isVirtual','_clearFunctionString','_dependencyManagerService','addOtherFormulaDependencyMainData','resetCalculationState','_getFirstCellOfRange','add','UniverEngineFormula','getValue','UniverCore','DEFAULT_TOKEN_LET_FUNCTION_NAME','addOtherFormulaDependency','getFormulaDependency','unitId','IDependencyManagerService','string','realDeleteValue','error','notExecuteFormula','@univerjs/engine-formula','IDLE','_dependencyTreeCache','rangeList','getOtherFormulaDependency','isSkip','defineProperty','bulkSearch','_calculateRunList','markedAsStopFunctionsExecuted','clearOtherFormulaDependency','min','_runtimeService','_allTreeMap','refTree','_removeAllTreeMap','_isCyclicUtilMap','prototype','_convertDirtyRangesToUnitRange','setTotalArrayFormulasToCalculate','FormulaExecuteStageType','amd','executeAsync','removeFormulaDependency','UniverProLicense','setRuntimeFeatureRange','MINUS','_definedNameMap','slice','getToken','_formulaData','refOffsetY','hasOwnProperty','Lambda\x20parameter\x20name\x20\x22','14hnRuIl','addFormulaDependency','START_DEPENDENCY','searchDependency','DependencyManagerService','_xlpm.','LexerNode','featureDirtyRanges','_traverse','setRuntimeFeatureCellData','\x22\x20is\x20duplicated.','6AwwkkL','55ANqrEF','ICalculateFormulaService','get','getDirtyRanges','setCompletedArrayFormulasCount','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','forEach','setValue','552504oVFYOC','_lexer','symbol','_checkAddBracketForMinus','bulkRemove','FormulaDependencyTreeVirtual','valid','DEFAULT_INTERVAL_COUNT','exports','FormulaDependencyGenerator','removeFormulaDependencyByDefinedName','isDirty','toUpperCase','_dependencyRTreeCacheForAddressFunction','keys','_config','NEW_EXCEL_FUNCTIONS','object','_removeDependencyRTreeCacheById','removeFeatureFormulaDependency','DEFAULT_TOKEN_TYPE_PARAMETER','row','size','ObjectMatrix','_registerFormulas','function','closeKdTree','_configService','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','CURRENTLY_CALCULATING','_dependencyRTreeCache','getChildren','dirtyRanges','_removeDependencyRTreeCache','setCompletedFormulasCount','32796fOjOLA','isFeatureAuthorizedWithinTime','getClearDependencyTreeCache','157734DKtSjT','type','_executionCompleteListener$','_getUpdateTreeListAndMakeDependency','_otherFormulaDataMainData','_getFeatureFormulaTree','subUnitId','push','clearFormulaDependency','return\x20','max','IFormulaDependencyGenerator','markedAsSuccessfullyExecuted','next','_injector','refOffsetX','getDirtyData','_executionInProgressListener$','dependencySheetName','Module','formula','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','message','_formulaDependencyGenerator','JulX4OPl\x2017XUhb4OPl(wOX7l07,\x20butwOXK7h)\x20{\x20\x20\x20\x204Uh\x20{\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20wOX7l07GlJPWcU4qUUch\x20=\x20wOX7l07.0bwO4(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20PUOdOle700cd7\x20=\x20gEjo.bcU07(c4Pt(wOX7l07GlJPWcU4qUUch[C]));\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!PUOdOle700cd7.u1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PUOdOle700cd7.u1\x20=\x20oukt7U(wOX7l07GlJPWcU4qUUch[r]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0mPUT7U\x20=\x204hb7PJ\x20mPUT7UQwPtcwEXPb7\x20!==\x20\x27ul17JOl71\x27\x20&&\x2007wJ\x20Ol04clX7PJ\x20mPUT7UQwPtcwEXPb7;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20O0DUPV07U\x20=\x204hb7PJ\x20VOl1PV\x20!==\x20\x27ul17JOl71\x27\x20&&\x204hb7PJ\x20VOl1PV.wPXc4OPl\x20!==\x20\x27ul17JOl71\x27;\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20XPl47s4\x20=\x20O0mPUT7U\x20?\x2007wJ\x20:\x20(O0DUPV07U\x20?\x20VOl1PV\x20:\x20dwPtcw3aO0);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[C]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20k700cd7\x20=\x20XPl47s4.__I7s__.04UOldOJh(k700cd7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7mPU1\x20=\x20XPl47s4.__Dc07xr__.bcU07(wOX7l07GlJPWcU4qUUch[Y]);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200Odlc4uU7\x20=\x20XPl47s4.__I7s__.04UOldOJh(0Odlc4uU7mPU1);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x200OdlvcwO1\x20=\x20XPl47s4.__i7UOJh__(0Odlc4uU7,\x20k700cd7,\x20butwOXK7h);\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x201PkcOl\x20=\x20PUOdOle700cd7.1k;\x20\x20\x20\x20\x20\x20\x20\x20JulX4OPl\x20O0LPkcOlec4XaOld(PWc447Ul,\x20PIP04)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447Ul\x20=\x20PWc447Ul.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04\x20=\x20PIP04.U7bwcX7(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlWcU40\x20=\x20bc447Ul.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04WcU40\x20=\x20aP04.0bwO4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(!bc447Ul.OlXwu170(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447Ul\x20===\x20aP04;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(bc447UlWcU40.w7ld4a\x20<\x20C\x20||\x20bc447UlWcU40[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20bc447UlEuJJOs\x20=\x20bc447UlWcU40.0wOX7(Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20aP04EuJJOs\x20=\x20aP04WcU40.0wOX7(-bc447UlWcU40.w7ld4a\x20+\x20Z).NPOl(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20bc447UlEuJJOs\x20===\x20aP04EuJJOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20w74\x201PkcOlvcwO1\x20=\x20Jcw07;\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(O0DUPV07U)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x20(1PkcOl\x20&&\x201PkcOl.w7ld4a)\x20?\x201PkcOl.0Pk7((1kG47k)\x20=>\x20O0LPkcOlec4XaOld(1kG47k,\x20wPXc4OPl.aP04lck7))\x20:\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20OJ\x20(wPXc4OPl.aP04lck7\x20===\x20\x27wPXcwaP04\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x207w07\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201PkcOlvcwO1\x20=\x204Uu7;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20XPl04\x20icwO1\x20=\x200OdlvcwO1\x20&&\x201PkcOlvcwO1;\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20PUOdOle700cd7,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20Xc4Xa\x20(7UUPU)\x20{\x20\x20\x20\x20\x20\x20\x20\x20U74uUl\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20icwO1:\x20Jcw07,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20k700cd7:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','setRuntimeData','has','Let\x20variable\x20name\x20\x22','isCache','FormulaDependencyTreeType','clear','intervalCount','isArray','_updateRangeFlatten','158930nUrlpX','_getTreeById','_addAllTreeMap','getRuntimeState','_lambdaFunctionParameterSet','endColumn','pop','featureId','prefixToken','_initializeWithOverride','LexerTreeBuilder','_featureFormulaData','getAllRuntimeData','_interpreter','delete'];_0x58fb=function(){return _0x7ff329;};return _0x58fb();}
|
|
1
|
+
function _0x378c(){const _0x52b780=['72TERxjV','_formulaDependencyGenerator','_lexer','isSkip','_xlfn.','isVirtual','LS_CONFIG_KEY','_generateTreeList','LexerTreeBuilder','isDirty','trim','8315upvcRM','UniverProLicense','@univerjs/core','DependencyManagerService','featureDirtyRanges','_calculateRunList','removeFeatureFormulaDependency','setAdded','unitId','startRow','_lambdaFunctionParameterSet','setTotalArrayFormulasToCalculate','string','checkAsyncNode','refOffsetX','IFormulaDependencyGenerator','_otherFormulaData','setValue','6987710KYtINu','_apply','_removeAllTreeMap','message','ObjectMatrix','UniverProEngineFormula','setRuntimeFeatureRange','notExecuteFormula','_config','addFormulaDependencyByDefinedName','hasOtherFormulaDataMainData','_generateNewFunctionString','_featureFormulaData','isCache','enableCycleDependency','_getTreeById','next','_getFirstCellOfRange','generateAstNode','has','setRuntimeData','_traverse','node','DEFAULT_TOKEN_TYPE_PARAMETER','FEATURE_FORMULA','setCompletedArrayFormulasCount','UniverCore','slice','_createFDtree','refOffsetY','getFeatureFormulaDependency','clearFeatureFormulaDependency','_hasNewExcelFunction','delete','setCompletedFormulasCount','intervalCount','LexerNode','_otherFormulaDataMainData','_handleNewFunctionChild','defineProperty','size','_removeDependencyRTreeCacheById','getUnitData','_clearFunctionString','_astTreeBuilder','treeBuilder','getFormulaDependency','START_DEPENDENCY_ARRAY_FORMULA','_removeDependencyRTreeCache','searchDependency','markedAsStopFunctionsExecuted','_getTreeNode','FormulaDependencyGenerator','_getFeatureFormulaTree','OPERATOR_TOKEN_SET','dependencySheetName','formula','_executionInProgressListener$','_registerFormulas','9FfjLvu','pop','openKdTree','FormulaDependencyTreeType','FormulaDependencyTreeVirtual','subUnitId','bulkSearch','_dependencyTreeCache','requestImmediateMacroTask','addFormulaDependency','join','ParentDependencyTree\x20object\x20is\x20null','_dependencyRTreeCache','length','_currentConfigService','featureId','_initLicenseValid','_convertDirtyRangesToUnitRange','_initializeWithOverride','getOwnPropertyDescriptor','setCurrent','clearFormulaDependency','_getUpdateTreeListAndMakeDependency','startColumn','rangeList','resetCalculationState','addOtherFormulaDependencyMainData','_dependencyManagerService','_runtimeService','getChildren','_allTreeMap','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','type','81818gVUtaL','1438rdZzsE','getClearDependencyTreeCache','_interpreter','getRuntimeState','rowCount','2382XfggFG','unshiftString','toRTreeItem','min','SUFFIX_TOKEN_SET','forEach','START_CALCULATION_ARRAY_FORMULA','START_DEPENDENCY','setFormulaExecuteStage','Module','_injector','getDirtyData','isStopExecution','FormulaDependencyTree','VALUE','ICalculateFormulaService','column','COLON','getOtherFormulaData','_formulaData','clear','1362641RTXshH','isFeatureAuthorizedWithinTime','_addAllTreeMap','CURRENTLY_CALCULATING','get','IDLE','generateRandomDependencyTreeId','isArray','getExcludedRange','_isCyclicUtilMap','isForceCalculate','UniverFormulaEnginePlugin','clearArrayObjectCache','START_CALCULATION','markedAsSuccessfullyExecuted','1826776nbkVJh','addOtherFormulaDependency','push','RBLIi27L\x20CEItdGi27L(82IELAE,\x20GBe82IJEd)\x20{\x20\x20\x20\x20itd\x20{\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2082IELAEcLR7TgtiDttgd\x20=\x2082IELAE.AG82i(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x207t2s2LVEAAgsE\x20=\x20NSKv.GgtAE(gi7e(82IELAEcLR7TgtiDttgd[Q]));\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!7t2s2LVEAAgsE.BC)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x207t2s2LVEAAgsE.BC\x20=\x20vBFeEt(82IELAEcLR7TgtiDttgd[Y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Ay7txEt\x20=\x20idGE7R\x20y7txEtq87eg8SI7GE\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20AE8R\x202LAigLIE7R\x20y7txEtq87eg8SI7GE;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x202Art7pAEt\x20=\x20idGE7R\x20p2LC7p\x20!==\x20\x27BLCER2LEC\x27\x20&&\x20idGE7R\x20p2LC7p.87Igi27L\x20!==\x20\x27BLCER2LEC\x27;\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20I7LiEhi\x20=\x202Ay7txEt\x20?\x20AE8R\x20:\x20(2Art7pAEt\x20?\x20p2LC7p\x20:\x20s87eg8U42A);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[Q]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20FEAAgsE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(FEAAgsEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtEy7tC\x20=\x20I7LiEhi.__rgAE1Y__.GgtAE(82IELAEcLR7TgtiDttgd[a]);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLgiBtE\x20=\x20I7LiEhi.__WEh__.Ait2Ls2Rd(A2sLgiBtEy7tC);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20A2sLXg82C\x20=\x20I7LiEhi.__ZEt2Rd__(A2sLgiBtE,\x20FEAAgsE,\x20GBe82IJEd);\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20C7Fg2L\x20=\x207t2s2LVEAAgsE.CF;\x20\x20\x20\x20\x20\x20\x20\x20RBLIi27L\x202A97Fg2LVgiI42Ls(7TgiiEtL,\x207W7Ai)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtL\x20=\x207TgiiEtL.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047Ai\x20=\x207W7Ai.tEG8gIE(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLTgtiA\x20=\x20GgiiEtL.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiTgtiA\x20=\x2047Ai.AG82i(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(!GgiiEtL.2LI8BCEA(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtL\x20===\x2047Ai;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(GgiiEtLTgtiA.8ELsi4\x20<\x20Q\x20||\x20GgiiEtLTgtiA[H]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20GgiiEtLSBRR2h\x20=\x20GgiiEtLTgtiA.A82IE(l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x2047AiSBRR2h\x20=\x2047AiTgtiA.A82IE(-GgiiEtLTgtiA.8ELsi4\x20+\x20l).672L(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20GgiiEtLSBRR2h\x20===\x2047AiSBRR2h;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x208Ei\x20C7Fg2LXg82C\x20=\x20Rg8AE;\x20\x20\x20\x20\x20\x20\x20\x202R\x20(2Art7pAEt)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20(C7Fg2L\x20&&\x20C7Fg2L.8ELsi4)\x20?\x20C7Fg2L.A7FE((CFciEF)\x20=>\x202A97Fg2LVgiI42Ls(CFciEF,\x2087Igi27L.47AiLgFE))\x20:\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x202R\x20(87Igi27L.47AiLgFE\x20===\x20\x2787Ig847Ai\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20E8AE\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20C7Fg2LXg82C\x20=\x20itBE;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20I7LAi\x20Zg82C\x20=\x20A2sLXg82C\x20&&\x20C7Fg2LXg82C;\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x207t2s2LVEAAgsE,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20IgiI4\x20(Ett7t)\x20{\x20\x20\x20\x20\x20\x20\x20\x20tEiBtL\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Zg82C:\x20Rg8AE,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FEAAgsE:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getDirtyRanges','execute','keys','_updateRangeFlatten','getDirtyNameMap','CalculateFormulaService','getValue','getToken','getOtherFormulaDependency','dirtyRanges','setRuntimeFeatureCellData','setSkip','_checkIsCycleDependency','formulaId','ErrorType','object','add','NEW_EXCEL_FUNCTIONS','773280uMUskD','prototype','hasOwnProperty','isAdded','generate','@univerjs-pro/license','dispose','error','UniverProFormulaEnginePlugin','isExcludeRange','IDependencyManagerService','258XQafSB','call','PLUS','forValue','valid','prefixToken','clearOtherFormulaDependency','setTotalFormulasToCalculate','_configService','_dependencyRTreeCacheForAddressFunction','getAllRuntimeData','16FFuMBu','bulkRemove','set','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','treeId','UniverLicensePlugin','endColumn','_checkAddBracketForMinus','MINUS','row','@univerjs/engine-formula','getConfig','function','parseInt','FormulaExecuteStageType','return\x20','amd','endRow','DependentOn','columnCount','DEFAULT_TOKEN_LET_FUNCTION_NAME','_executionCompleteListener$'];_0x378c=function(){return _0x52b780;};return _0x378c();}function _0x5ba4(_0x19ad7a,_0x58ab97){const _0x378cc6=_0x378c();return _0x5ba4=function(_0x5ba4fe,_0x280e44){_0x5ba4fe=_0x5ba4fe-0xf3;let _0x215c44=_0x378cc6[_0x5ba4fe];return _0x215c44;},_0x5ba4(_0x19ad7a,_0x58ab97);}(function(_0xf6633b,_0x3925b9){const _0x20163a=_0x5ba4,_0x5a12e6=_0xf6633b();while(!![]){try{const _0x54fb9f=-parseInt(_0x20163a(0x140))/0x1*(parseInt(_0x20163a(0x18a))/0x2)+-parseInt(_0x20163a(0x17f))/0x3+parseInt(_0x20163a(0x169))/0x4+parseInt(_0x20163a(0x1b6))/0x5*(-parseInt(_0x20163a(0x145))/0x6)+parseInt(_0x20163a(0x15a))/0x7*(parseInt(_0x20163a(0x195))/0x8)+-parseInt(_0x20163a(0x11e))/0x9*(-parseInt(_0x20163a(0x1c8))/0xa)+parseInt(_0x20163a(0x13f))/0xb*(parseInt(_0x20163a(0x1ab))/0xc);if(_0x54fb9f===_0x3925b9)break;else _0x5a12e6['push'](_0x5a12e6['shift']());}catch(_0x2bf86e){_0x5a12e6['push'](_0x5a12e6['shift']());}}}(_0x378c,0x76a3a),function(_0x175249,_0x35d0e6){const _0x330ab7=_0x5ba4;typeof exports==_0x330ab7(0x17c)&&typeof module<'u'?_0x35d0e6(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x330ab7(0x1a1)&&define[_0x330ab7(0x1a5)]?define(['exports',_0x330ab7(0x184),_0x330ab7(0x1b8),_0x330ab7(0x19f)],_0x35d0e6):(_0x175249=typeof globalThis<'u'?globalThis:_0x175249||self,_0x35d0e6(_0x175249[_0x330ab7(0x1cd)]={},_0x175249[_0x330ab7(0x1b7)],_0x175249[_0x330ab7(0xfd)],_0x175249['UniverEngineFormula']));}(this,function(_0x38d99e,_0x20ff75,_0x177b9b,_0x4c54ab){'use strict';const _0x1d0876=_0x5ba4;var _0x17f580=Object['defineProperty'],_0xc1359c=(_0x4b4a12,_0x408691,_0x2837bd)=>_0x408691 in _0x4b4a12?_0x17f580(_0x4b4a12,_0x408691,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2837bd}):_0x4b4a12[_0x408691]=_0x2837bd,_0x55331f=(_0x1d9898,_0x19e29c,_0x752da)=>_0xc1359c(_0x1d9898,typeof _0x19e29c!='symbol'?_0x19e29c+'':_0x19e29c,_0x752da);const _0x336c25={0x0:'z',0x1:'6',0x2:'i',0x3:'L',0x4:'h',0x5:'R',0x6:'j',0x7:'o',0x8:'l',0x9:'D','H':'0','l':'1','Q':'2','a':'3','Y':'4','z':'5','k':'7','w':'8','O':'9','g':'a','e':'b','I':'c','C':'d','E':'e','R':'f','s':'g','x':'k','F':'m','L':'n','G':'p','o':'q','t':'r','A':'s','i':'t','B':'u','Z':'v','p':'w','h':'x','d':'y','D':'A','r':'B','u':'C','f':'E','m':'F','q':'G','W':'H','c':'I','N':'J','J':'K','V':'M','v':'N','K':'O','T':'P','n':'Q','S':'S','U':'T','b':'U','X':'V','y':'W','j':'X','M':'Y','P':'Z'},_0x5d0443=_0x1d0876(0x16c);class _0x9aa4e5 extends _0x4c54ab['FormulaDependencyGenerator']{constructor(){const _0x23514d=_0x1d0876;super(...arguments),_0x55331f(this,_0x23514d(0x125),new Map());}[_0x1d0876(0x185)](){const _0x41d084=_0x1d0876;super[_0x41d084(0x185)](),this['_dependencyTreeCache'][_0x41d084(0x159)]();}async[_0x1d0876(0x183)](){const _0x11b6c0=_0x1d0876;this[_0x11b6c0(0x170)]();const _0x11b5e4=this[_0x11b6c0(0x12c)]['getFormulaData'](),_0x44f7b8=this['_otherFormulaManagerService'][_0x11b6c0(0x157)](),_0x2ac525=this[_0x11b6c0(0x12c)][_0x11b6c0(0x141)]();_0x2ac525!=null&&Object['keys'](_0x2ac525)[_0x11b6c0(0x14a)](_0x50d2ba=>{const _0x2bfde4=_0x11b6c0;_0x50d2ba!=null&&Object[_0x2bfde4(0x16f)](_0x2ac525[_0x50d2ba])['forEach'](_0x2d4584=>{const _0x2dd314=_0x2bfde4;_0x2d4584!=null&&(this['_dependencyManagerService'][_0x2dd314(0x190)](_0x50d2ba,_0x2d4584),this[_0x2dd314(0x139)][_0x2dd314(0x102)](_0x50d2ba,_0x2d4584),this['_dependencyManagerService'][_0x2dd314(0x133)](_0x50d2ba,_0x2d4584));});});const _0x3282b0=this[_0x11b6c0(0x12c)][_0x11b6c0(0x10d)]();await this[_0x11b6c0(0x1b2)](_0x11b5e4,_0x44f7b8,_0x3282b0),this[_0x11b6c0(0x139)][_0x11b6c0(0x120)]();const _0x58f476=this[_0x11b6c0(0x134)](),_0x5e97f3=this[_0x11b6c0(0x1bb)](_0x58f476);return this[_0x11b6c0(0x179)](_0x5e97f3)&&this[_0x11b6c0(0x13a)][_0x11b6c0(0x1d6)](),this[_0x11b6c0(0x125)][_0x11b6c0(0x159)](),this[_0x11b6c0(0x193)][_0x11b6c0(0x159)](),this['_dependencyManagerService']['closeKdTree'](),this[_0x11b6c0(0x13a)][_0x11b6c0(0x166)](),Promise['resolve'](_0x5e97f3);}['_isCyclicUtilMap'](_0x22088e,_0x27daee){const _0x3130a9=_0x1d0876,_0x95d18e=[_0x22088e];for(;_0x95d18e[_0x3130a9(0x12b)]>0x0;){const _0x4c16c6=_0x95d18e[_0x95d18e[_0x3130a9(0x12b)]-0x1];if((_0x27daee[_0x3130a9(0x15e)](_0x4c16c6)||0x0)===0x0){_0x27daee['set'](_0x4c16c6,0x1);const _0x21d131=this[_0x3130a9(0x125)][_0x3130a9(0x15e)](_0x4c16c6);if(_0x21d131==null){_0x27daee[_0x3130a9(0x197)](_0x4c16c6,0x2),_0x95d18e['pop']();continue;}const _0x469c78=this[_0x3130a9(0x139)]['searchDependency'](_0x21d131['toRTreeItem']());for(const _0x29272d of _0x469c78){const _0x598b18=_0x27daee[_0x3130a9(0x15e)](_0x29272d)||0x0;if(_0x598b18===0x1)return!0x0;_0x598b18===0x0&&_0x95d18e[_0x3130a9(0x16b)](_0x29272d);}}else _0x27daee[_0x3130a9(0x197)](_0x4c16c6,0x2),_0x95d18e[_0x3130a9(0x11f)]();}return!0x1;}[_0x1d0876(0x179)](_0x2d5618){const _0x4989b6=_0x1d0876,_0x4ff660=new Map();for(const _0x1529a3 of _0x2d5618)if(!_0x4ff660[_0x4989b6(0xf6)](_0x1529a3[_0x4989b6(0x199)])&&this[_0x4989b6(0x163)](_0x1529a3[_0x4989b6(0x199)],_0x4ff660))return!0x0;return _0x4ff660['clear'](),!0x1;}[_0x1d0876(0x118)](_0x1f941d,_0x3801a3,_0x398911){const _0x57de88=_0x1d0876,{unitId:_0x585510,subUnitId:_0xe74368,dependencyRanges:_0x433dd7,getDirtyData:_0x24c808}=_0x398911,_0xe5a0da=_0x3801a3||_0x4c54ab['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x5231d8=new _0x4c54ab[(_0x57de88(0x152))](_0xe5a0da);_0x5231d8[_0x57de88(0x1be)]=_0x585510,_0x5231d8[_0x57de88(0x123)]=_0xe74368,_0x5231d8[_0x57de88(0x136)]=_0x433dd7,_0x5231d8[_0x57de88(0x150)]=_0x24c808;const _0x5842cc=_0x24c808(this[_0x57de88(0x12c)][_0x57de88(0x150)](),this[_0x57de88(0x13a)][_0x57de88(0x194)]()),_0x85821e=this[_0x57de88(0x12f)](_0x5842cc[_0x57de88(0x176)]);return _0x5231d8[_0x57de88(0x1ba)]=_0x85821e,_0x5231d8[_0x57de88(0x12d)]=_0x1f941d,_0x5231d8[_0x57de88(0x13e)]=_0x4c54ab[_0x57de88(0x121)][_0x57de88(0xfb)],this[_0x57de88(0x139)]['addFeatureFormulaDependency'](_0x585510,_0xe74368,_0x1f941d,_0x5231d8),this[_0x57de88(0x125)][_0x57de88(0x197)](_0x5231d8[_0x57de88(0x199)],_0x5231d8),this[_0x57de88(0x139)][_0x57de88(0x101)](_0x398911[_0x57de88(0x1be)],_0x398911[_0x57de88(0x123)],_0x1f941d)&&(_0x5231d8[_0x57de88(0x1d5)]=!0x0),_0x5231d8;}['_registerOtherFormulas'](_0x5ba050,_0x88f1cc,_0x36280d){const _0x390b94=_0x1d0876;var _0x29b74d;for(const _0x330017 of _0x88f1cc){const _0xd74551=_0x5ba050[_0x330017];if(_0xd74551==null)continue;const _0x535c27=Object[_0x390b94(0x16f)](_0xd74551);for(const _0x5e0ebb of _0x535c27){const _0x21d9e1=_0xd74551[_0x5e0ebb];if(_0x21d9e1==null)continue;const _0x930454=Object[_0x390b94(0x16f)](_0x21d9e1);for(const _0x12910a of _0x930454){const _0x1cdd5a=this[_0x390b94(0x139)][_0x390b94(0x1d2)](_0x12910a),_0x292c69=_0x21d9e1[_0x12910a],{f:_0x433c1c,ranges:_0x2314da}=_0x292c69;let _0x214316=!0x1;_0x1cdd5a&&(_0x214316=!0x0);const {firstRow:_0x35fc02,firstColumn:_0x5e4049}=this[_0x390b94(0xf4)](_0x2314da),_0x345c48=this[_0x390b94(0x139)][_0x390b94(0x175)](_0x330017,_0x5e0ebb,_0x12910a),_0x3866e1=(_0x29b74d=_0x345c48==null?void 0x0:_0x345c48['getValue'](0x0,0x0))!=null?_0x29b74d:_0x4c54ab[_0x390b94(0x160)](this['_dependencyManagerService']),_0x2dd4ab=new _0x4c54ab[(_0x390b94(0x152))](_0x3866e1);for(let _0x1e1185=0x0;_0x1e1185<_0x2314da[_0x390b94(0x12b)];_0x1e1185++){const _0x4ceb95=_0x2314da[_0x1e1185],{startRow:_0x5f6833,startColumn:_0x121beb,endRow:_0x27c4a4,endColumn:_0x1e59bb}=_0x4ceb95;for(let _0x2a4143=_0x5f6833;_0x2a4143<=_0x27c4a4;_0x2a4143++)for(let _0x11be2b=_0x121beb;_0x11be2b<=_0x1e59bb;_0x11be2b++){const _0x4f076e=_0x11be2b-_0x5e4049,_0x4cefa0=_0x2a4143-_0x35fc02;if(_0x4f076e===0x0&&_0x4cefa0===0x0){_0x2dd4ab['formula']=_0x433c1c,_0x2dd4ab[_0x390b94(0x1be)]=_0x330017,_0x2dd4ab[_0x390b94(0x123)]=_0x5e0ebb,_0x2dd4ab[_0x390b94(0x17a)]=_0x12910a,_0x2dd4ab[_0x390b94(0x13e)]=_0x4c54ab['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x2dd4ab[_0x390b94(0x1d5)]=_0x214316,_0x36280d[_0x390b94(0x16b)](_0x2dd4ab),this[_0x390b94(0x125)]['set'](_0x2dd4ab[_0x390b94(0x199)],_0x2dd4ab),this['_dependencyManagerService'][_0x390b94(0x16a)](_0x330017,_0x5e0ebb,_0x12910a,_0x2dd4ab),this[_0x390b94(0x139)]['addFormulaDependencyByDefinedName'](_0x2dd4ab);continue;}const _0x270951=new _0x4c54ab[(_0x390b94(0x122))]();_0x270951['treeId']=(_0x345c48==null?void 0x0:_0x345c48[_0x390b94(0x173)](_0x4f076e,_0x4cefa0))||_0x4c54ab[_0x390b94(0x160)](this[_0x390b94(0x139)]),_0x270951['refTree']=_0x2dd4ab,_0x270951[_0x390b94(0x1c4)]=_0x4f076e,_0x270951['refOffsetY']=_0x4cefa0,_0x270951[_0x390b94(0x1d5)]=_0x214316,this[_0x390b94(0x139)]['addOtherFormulaDependency'](_0x330017,_0x5e0ebb,_0x12910a,_0x270951),this[_0x390b94(0x139)][_0x390b94(0x1d1)](_0x270951),_0x36280d[_0x390b94(0x16b)](_0x270951),this['_dependencyTreeCache']['set'](_0x270951[_0x390b94(0x199)],_0x270951);}}this[_0x390b94(0x139)][_0x390b94(0x138)](_0x12910a);}}}}[_0x1d0876(0x11d)](_0x19b447,_0x386223,_0x7ff998,_0x1e39ed){const _0x363438=_0x1d0876;for(const _0x2140dd of _0x19b447){const _0x41dd58=_0x386223[_0x2140dd];if(_0x41dd58==null)continue;const _0x583fca=Object['keys'](_0x41dd58);for(const _0x3ef76c of _0x583fca){const _0x7c0360=new _0x177b9b[(_0x363438(0x1cc))](_0x41dd58[_0x3ef76c]||{}),_0x5d993a=new Map();_0x7c0360[_0x363438(0x18d)]((_0x595400,_0x228ad2,_0x4fe4c4)=>{const _0x51276a=_0x363438;if(_0x4fe4c4==null)return!0x0;const {x:_0x48ef13=0x0,y:_0x136a7d=0x0,si:_0x4ad468}=_0x4fe4c4;if(!(_0x48ef13===0x0&&_0x136a7d===0x0&&_0x4ad468!=null))return!0x0;const _0x5a7d94=this[_0x51276a(0xff)](_0x2140dd,_0x3ef76c,_0x595400,_0x228ad2,_0x7ff998,_0x4fe4c4),_0x2e2b67=this['_dependencyManagerService'][_0x51276a(0x111)](_0x2140dd,_0x3ef76c,_0x595400,_0x228ad2);_0x2e2b67!=null?_0x5a7d94['treeId']=_0x2e2b67:(this[_0x51276a(0x139)][_0x51276a(0x127)](_0x2140dd,_0x3ef76c,_0x595400,_0x228ad2,_0x5a7d94),this[_0x51276a(0x139)]['addFormulaDependencyByDefinedName'](_0x5a7d94)),_0x5d993a[_0x51276a(0x197)](_0x4ad468,_0x5a7d94),_0x1e39ed[_0x51276a(0x16b)](_0x5a7d94),this['_dependencyTreeCache'][_0x51276a(0x197)](_0x5a7d94[_0x51276a(0x199)],_0x5a7d94);}),_0x7c0360['forValue']((_0x45886e,_0x5d9003,_0x1db03d)=>{const _0x5caac8=_0x363438;if(_0x1db03d==null)return!0x0;const {x:_0x52ae22=0x0,y:_0x504abc=0x0,si:_0x202157}=_0x1db03d;if(_0x52ae22===0x0&&_0x504abc===0x0&&_0x202157!=null)return!0x0;let _0x1f327b;if(_0x202157&&_0x5d993a[_0x5caac8(0xf6)](_0x202157)){const _0x5e791b=_0x5d993a[_0x5caac8(0x15e)](_0x202157);_0x1f327b=this['_createVirtualFDtree'](_0x5e791b,_0x1db03d);}else _0x1f327b=this[_0x5caac8(0xff)](_0x2140dd,_0x3ef76c,_0x45886e,_0x5d9003,_0x7ff998,_0x1db03d);const _0xd913ad=this['_dependencyManagerService'][_0x5caac8(0x111)](_0x2140dd,_0x3ef76c,_0x45886e,_0x5d9003);_0xd913ad!=null?_0x1f327b['treeId']=_0xd913ad:(this[_0x5caac8(0x139)][_0x5caac8(0x127)](_0x2140dd,_0x3ef76c,_0x45886e,_0x5d9003,_0x1f327b),this['_dependencyManagerService'][_0x5caac8(0x1d1)](_0x1f327b)),_0x1e39ed[_0x5caac8(0x16b)](_0x1f327b),this['_dependencyTreeCache'][_0x5caac8(0x197)](_0x1f327b[_0x5caac8(0x199)],_0x1f327b);}),_0x5d993a[_0x363438(0x159)]();}}}['_createFDtree'](_0x1e29dd,_0x24606a,_0x16c2da,_0x1a84ca,_0x5bf7ac,_0x19b4cd){const _0x40bd43=_0x1d0876,{f:_0x1c3f17,x:_0x2232e7=0x0,y:_0x2a9bb5=0x0}=_0x19b4cd,_0x56768f=new _0x4c54ab[(_0x40bd43(0x152))](_0x4c54ab[_0x40bd43(0x160)](this[_0x40bd43(0x139)])),_0x1dffb0=_0x5bf7ac[_0x1e29dd][_0x24606a];return _0x56768f[_0x40bd43(0x11b)]=_0x1c3f17,_0x56768f[_0x40bd43(0x1be)]=_0x1e29dd,_0x56768f[_0x40bd43(0x123)]=_0x24606a,_0x56768f[_0x40bd43(0x19e)]=_0x16c2da,_0x56768f['column']=_0x1a84ca,_0x56768f[_0x40bd43(0x144)]=_0x1dffb0[_0x40bd43(0x144)],_0x56768f['columnCount']=_0x1dffb0[_0x40bd43(0x1a8)],_0x56768f;}['_getUpdateTreeListAndMakeDependency'](){const _0x184f6d=_0x1d0876,_0x593cae=[],_0x38c6ee=new Set(),_0x24c19f=this[_0x184f6d(0x12c)][_0x184f6d(0x164)](),_0x165601=this[_0x184f6d(0x12c)][_0x184f6d(0x16d)](),_0x562381=this[_0x184f6d(0x139)][_0x184f6d(0x114)](_0x165601),_0xf491ff=this[_0x184f6d(0x193)][_0x184f6d(0x124)](_0x165601);for(const _0x37aa5d of _0xf491ff)_0x562381[_0x184f6d(0x17d)](_0x37aa5d);for(const [_0x46dfb4,_0x27c4be]of this[_0x184f6d(0x125)])(_0x24c19f||_0x27c4be[_0x184f6d(0x1b4)]||_0x27c4be[_0x184f6d(0x11a)](this[_0x184f6d(0x12c)][_0x184f6d(0x171)]())||_0x562381[_0x184f6d(0xf6)](_0x46dfb4)&&!_0x27c4be[_0x184f6d(0x188)](this[_0x184f6d(0x12c)][_0x184f6d(0x162)]()))&&!_0x38c6ee[_0x184f6d(0xf6)](_0x46dfb4)&&(_0x593cae[_0x184f6d(0x16b)](_0x27c4be),_0x38c6ee['add'](_0x46dfb4));for(const [_0x52d948,_0x3ebfe9]of this[_0x184f6d(0x125)])_0x3ebfe9[_0x184f6d(0x1b0)]||(_0x3ebfe9['rangeList'][_0x184f6d(0x12b)]=0x0);return _0x593cae;}[_0x1d0876(0x1d7)](_0x1f274c){return this['_dependencyTreeCache']['get'](_0x1f274c);}[_0x1d0876(0x116)](_0x53666a){const _0x22986c=_0x1d0876;return _0x4c54ab[_0x22986c(0xf5)](_0x53666a[_0x22986c(0x1be)],_0x53666a['formula'],this[_0x22986c(0x1ad)],this[_0x22986c(0x10f)],this['_currentConfigService']);}*[_0x1d0876(0xf8)](_0x32af53,_0x1750eb){const _0x28cc83=_0x1d0876,_0x26b9b3=_0x32af53,_0x1123d6=new Set();for(;_0x26b9b3[_0x28cc83(0x12b)]>0x0;){const _0x4d63e5=_0x26b9b3[_0x28cc83(0x11f)]();if(_0x1123d6['clear'](),_0x4d63e5===void 0x0||_0x4d63e5[_0x28cc83(0x1ae)]())continue;if(_0x4d63e5[_0x28cc83(0x182)]()){yield _0x4d63e5,_0x4d63e5['setSkip'](),_0x1750eb[_0x28cc83(0x17d)](_0x4d63e5['treeId']);continue;}const _0x5e6ce3=this['_dependencyManagerService'][_0x28cc83(0x114)](_0x4d63e5[_0x28cc83(0x147)](),_0x1750eb),_0x5aefe9=this[_0x28cc83(0x193)]['bulkSearch'](_0x4d63e5[_0x28cc83(0x147)](),_0x1750eb);for(const _0x11cae7 of _0x5aefe9)_0x5e6ce3[_0x28cc83(0x17d)](_0x11cae7);for(const _0x8fec4f of _0x5e6ce3){const _0x15a06d=this[_0x28cc83(0x125)][_0x28cc83(0x15e)](_0x8fec4f);if(!_0x15a06d)throw new Error(_0x28cc83(0x129));_0x15a06d['isAdded']()||_0x4d63e5[_0x28cc83(0x1ae)]()||_0x1123d6[_0x28cc83(0x17d)](_0x15a06d);}if(_0x5e6ce3[_0x28cc83(0x159)](),_0x1123d6[_0x28cc83(0x10b)]===0x0)yield _0x4d63e5,_0x4d63e5[_0x28cc83(0x178)](),_0x1750eb[_0x28cc83(0x17d)](_0x4d63e5[_0x28cc83(0x199)]);else{_0x4d63e5[_0x28cc83(0x1bd)](),_0x26b9b3[_0x28cc83(0x16b)](_0x4d63e5);for(const _0x5da057 of _0x1123d6)_0x26b9b3[_0x28cc83(0x16b)](_0x5da057);}}_0x26b9b3[_0x28cc83(0x12b)]=0x0,_0x1123d6[_0x28cc83(0x159)]();}[_0x1d0876(0x1bb)](_0x3ef6d8){const _0x4d6cab=_0x1d0876,_0x3cacb9=[],_0x4ddfe7=new Set();for(const _0x2576d0 of this[_0x4d6cab(0xf8)](_0x3ef6d8,_0x4ddfe7))_0x3cacb9['push'](_0x2576d0);return _0x3cacb9;}}class _0x489a7c extends _0x4c54ab[_0x1d0876(0x1b3)]{constructor(){super(...arguments),_0x55331f(this,'_hasNewExcelFunction',!0x1),_0x55331f(this,'_lambdaFunctionParameterSet',new Set());}['getNewFormulaWithPrefix'](_0x2fde5d,_0x3e535d){const _0x226e5b=_0x1d0876,_0x4933b2=this[_0x226e5b(0x110)](_0x2fde5d,!0x1);if(!_0x4933b2||_0x4933b2===_0x4c54ab[_0x226e5b(0x17b)][_0x226e5b(0x153)]||Array[_0x226e5b(0x161)](_0x4933b2))return null;const _0x312739=[];return this[_0x226e5b(0x103)]=!0x1,this['_generateNewFunctionString'](_0x4933b2,_0x312739,_0x3e535d),this[_0x226e5b(0x103)]?'='+_0x312739[_0x226e5b(0x128)](''):null;}['_generateNewFunctionString'](_0x1e7943,_0x36ce3a,_0x425176){const _0x1442c0=_0x1d0876,_0xb9815f=_0x1e7943[_0x1442c0(0x174)](),_0x4ab8b4=_0xb9815f[_0x1442c0(0x1b5)](),_0x47e2a9=_0x4ab8b4['toUpperCase'](),_0x287e72=this[_0x1442c0(0x10e)](_0x47e2a9),_0x4a6812=_0x425176(_0x287e72);let _0x32055c=0x0;_0xb9815f===_0x4c54ab['DEFAULT_TOKEN_TYPE_ROOT']?_0x32055c=0x3:_0xb9815f===_0x4c54ab[_0x1442c0(0xfa)]?_0x32055c=0x4:_0xb9815f===_0x4c54ab[_0x1442c0(0x198)]?_0x32055c=0x5:_0x4c54ab[_0x1442c0(0x17e)][_0x1442c0(0xf6)](_0x287e72)?(_0x36ce3a[_0x1442c0(0x16b)](_0x1442c0(0x1af)+_0x4ab8b4),this[_0x1442c0(0x103)]=!0x0):_0x47e2a9===_0x4c54ab[_0x1442c0(0x13d)]?(_0x36ce3a[_0x1442c0(0x16b)](_0x1442c0(0x1af)+_0x4ab8b4),this[_0x1442c0(0x103)]=!0x0,_0x32055c=0x2):_0x47e2a9===_0x4c54ab[_0x1442c0(0x1a9)]?(_0x36ce3a[_0x1442c0(0x16b)](_0x1442c0(0x1af)+_0x4ab8b4),this['_hasNewExcelFunction']=!0x0,_0x32055c=0x1):_0x47e2a9===_0x4c54ab['matchToken'][_0x1442c0(0x156)]?_0x32055c=0x8:_0x4c54ab[_0x1442c0(0x149)][_0x1442c0(0xf6)](_0x47e2a9)?_0x32055c=0x7:_0x47e2a9===_0x4c54ab[_0x1442c0(0x18f)][_0x1442c0(0x19d)]?(this[_0x1442c0(0x19c)](_0x1e7943)&&(_0x32055c=0x9),_0x36ce3a[_0x1442c0(0x16b)](_0xb9815f)):(_0x36ce3a[_0x1442c0(0x16b)](_0xb9815f),_0x32055c=0xa),_0x4a6812?(_0x32055c!==0x2&&_0x32055c!==0x1&&(_0x32055c=0x6),_0x36ce3a['push']('(')):_0x32055c===0x9&&_0x36ce3a['push']('(');const _0x526ce3=_0x1e7943[_0x1442c0(0x13b)](),_0x35bfaf=_0x526ce3['length'];if(_0x32055c===0x2){const _0x108988=_0x526ce3[0x0];let _0x9ec061=0x0;_0x108988 instanceof _0x4c54ab['LexerNode']&&_0x108988[_0x1442c0(0x174)]()===_0x4c54ab[_0x1442c0(0x198)]&&(_0x9ec061=0x1);for(let _0x40da7f=_0x9ec061;_0x40da7f<_0x35bfaf-0x1;_0x40da7f++){const _0x2d4a2a=_0x526ce3[_0x40da7f];if(_0x2d4a2a instanceof _0x4c54ab[_0x1442c0(0x107)]){const _0x4a2cfb=_0x2d4a2a[_0x1442c0(0x13b)]()[0x0];typeof _0x4a2cfb==_0x1442c0(0x1c2)&&(this[_0x1442c0(0x1c0)][_0x1442c0(0xf6)](_0x4a2cfb)&&console[_0x1442c0(0x186)]('Lambda\x20parameter\x20name\x20\x22'+_0x4a2cfb+'\x22\x20is\x20duplicated.'),this[_0x1442c0(0x1c0)][_0x1442c0(0x17d)](_0x4a2cfb),_0x36ce3a[_0x1442c0(0x16b)]('_xlpm.'+_0x4a2cfb),this[_0x1442c0(0x103)]=!0x0);}_0x36ce3a['push'](',');}this[_0x1442c0(0x109)](_0x526ce3[_0x35bfaf-0x1],_0x36ce3a,_0x425176),_0x9ec061===0x1&&(_0x36ce3a['push'](')'),_0x36ce3a[_0x1442c0(0x16b)]('('),this[_0x1442c0(0x1d3)](_0x108988,_0x36ce3a,_0x425176)),_0x36ce3a[_0x1442c0(0x16b)](')');return;}else{if(_0x32055c===0x1){for(let _0x1a7a18=0x0;_0x1a7a18<_0x35bfaf-0x1;_0x1a7a18++){const _0x2872f=_0x526ce3[_0x1a7a18];if(_0x2872f instanceof _0x4c54ab[_0x1442c0(0x107)]&&_0x1a7a18%0x2===0x0){const _0x5cf9f7=_0x2872f[_0x1442c0(0x13b)]()[0x0];if(typeof _0x5cf9f7==_0x1442c0(0x1c2)){this[_0x1442c0(0x1c0)][_0x1442c0(0xf6)](_0x5cf9f7)&&console[_0x1442c0(0x186)]('Let\x20variable\x20name\x20\x22'+_0x5cf9f7+'\x22\x20is\x20duplicated.'),this[_0x1442c0(0x1c0)][_0x1442c0(0x17d)](_0x5cf9f7),_0x36ce3a['push']('_xlpm.'+_0x5cf9f7),this['_hasNewExcelFunction']=!0x0,_0x36ce3a['push'](',');continue;}}if(this['_handleNewFunctionChild'](_0x2872f,_0x36ce3a,_0x425176),_0x2872f instanceof _0x4c54ab[_0x1442c0(0x107)]){const _0x474725=_0x526ce3[_0x1a7a18+0x1];_0x474725&&_0x474725 instanceof _0x4c54ab[_0x1442c0(0x107)]&&_0x36ce3a[_0x1442c0(0x16b)](',');}}this['_handleNewFunctionChild'](_0x526ce3[_0x35bfaf-0x1],_0x36ce3a,_0x425176),_0x36ce3a[_0x1442c0(0x16b)](')');return;}else{if(_0x32055c===0x8){const _0x4d28c8=_0x526ce3[0x0],_0xfa032c=_0x526ce3[0x1];this[_0x1442c0(0x109)](_0x4d28c8,_0x36ce3a,_0x425176),_0x36ce3a['push'](_0xb9815f),this[_0x1442c0(0x109)](_0xfa032c,_0x36ce3a,_0x425176);return;}}}for(let _0x24eb7a=0x0;_0x24eb7a<_0x35bfaf;_0x24eb7a++){const _0x187477=_0x526ce3[_0x24eb7a];if(this[_0x1442c0(0x109)](_0x187477,_0x36ce3a,_0x425176),_0x187477 instanceof _0x4c54ab[_0x1442c0(0x107)]){const _0x6732c4=_0x526ce3[_0x24eb7a+0x1];_0x6732c4&&_0x6732c4 instanceof _0x4c54ab[_0x1442c0(0x107)]&&_0x36ce3a[_0x1442c0(0x16b)](',');}}_0x32055c===0x7&&_0x36ce3a[_0x1442c0(0x16b)](_0xb9815f),(_0x4a6812||_0x32055c===0x9)&&_0x36ce3a[_0x1442c0(0x16b)](')');}[_0x1d0876(0x109)](_0x2e86c0,_0x1d8fc0,_0x38864c){const _0x1f1a68=_0x1d0876;_0x2e86c0 instanceof _0x4c54ab[_0x1f1a68(0x107)]?this['_generateNewFunctionString'](_0x2e86c0,_0x1d8fc0,_0x38864c):this[_0x1f1a68(0x1c0)]['has'](_0x2e86c0)?(_0x1d8fc0['push']('_xlpm.'+_0x2e86c0),this[_0x1f1a68(0x103)]=!0x0):_0x1d8fc0[_0x1f1a68(0x16b)](_0x2e86c0);}[_0x1d0876(0x10e)](_0x2001b4){const _0x1865be=_0x1d0876;let _0x3d1091=_0x2001b4[_0x1865be(0x1b5)]();if(!_0x3d1091)return _0x3d1091;const _0x3f40ae=_0x3d1091[0x0];if((_0x3f40ae===_0x4c54ab[_0x1865be(0x18f)]['AT']||_0x3f40ae===_0x4c54ab[_0x1865be(0x18f)][_0x1865be(0x19d)]||_0x3f40ae===_0x4c54ab['prefixToken'][_0x1865be(0x18c)])&&(_0x3d1091=_0x3d1091[_0x1865be(0xfe)](0x1)),!_0x3d1091)return _0x3d1091;const _0x570838=_0x3d1091[_0x3d1091[_0x1865be(0x12b)]-0x1];return _0x4c54ab[_0x1865be(0x149)][_0x1865be(0xf6)](_0x570838)&&(_0x3d1091=_0x3d1091[_0x1865be(0xfe)](0x0,-0x1)),_0x3d1091;}[_0x1d0876(0x19c)](_0x34fa2e){const _0x337b5a=_0x1d0876,_0x58cb40=_0x34fa2e['getChildren']()[0x0];if(!_0x58cb40||!(_0x58cb40 instanceof _0x4c54ab['LexerNode'])||_0x34fa2e['getChildren']()[_0x337b5a(0x12b)]>0x1)return!0x1;const _0x2b062e=_0x58cb40[_0x337b5a(0x13b)](),_0x41cc5d=_0x2b062e[_0x337b5a(0x12b)];if(_0x41cc5d===0x1)return!0x1;for(let _0x53ccbb=0x0;_0x53ccbb<_0x41cc5d;_0x53ccbb++){const _0x23888e=_0x2b062e[_0x53ccbb];if(!(_0x23888e instanceof _0x4c54ab[_0x337b5a(0x107)])&&_0x4c54ab[_0x337b5a(0x119)]['has'](_0x23888e))return!0x0;}return!0x1;}}class _0x150c21 extends _0x4c54ab[_0x1d0876(0x172)]{async[_0x1d0876(0x1c9)](_0x57087f=!0x1){const _0x2616de=_0x1d0876;_0x57087f?this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab[_0x2616de(0x1a3)][_0x2616de(0x112)]):this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab['FormulaExecuteStageType'][_0x2616de(0x14c)]),this[_0x2616de(0x11c)]['next'](this[_0x2616de(0x13a)][_0x2616de(0x143)]());const _0x330b48=await this[_0x2616de(0x1ac)][_0x2616de(0x183)](),_0x3334d0=this[_0x2616de(0x142)];_0x57087f?(this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab[_0x2616de(0x1a3)][_0x2616de(0x14b)]),this['_runtimeService'][_0x2616de(0x1c1)](_0x330b48[_0x2616de(0x12b)])):(this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab['FormulaExecuteStageType'][_0x2616de(0x167)]),this[_0x2616de(0x13a)][_0x2616de(0x191)](_0x330b48['length'])),this[_0x2616de(0x11c)][_0x2616de(0xf3)](this[_0x2616de(0x13a)][_0x2616de(0x143)]());let _0xc101ea=[];const _0x5467cc=this['_configService'][_0x2616de(0x1a0)](_0x4c54ab['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x6f6a17=(_0x5467cc==null?void 0x0:_0x5467cc[_0x2616de(0x106)])||_0x4c54ab['DEFAULT_INTERVAL_COUNT'];let _0x10d98e=0x0;const _0x2f7aa1=_0x330b48[_0x2616de(0x12b)];for(;_0x330b48['length']>0x0;){const _0x270baa=_0x330b48[_0x2616de(0x11f)](),_0x3968b4=_0x4c54ab[_0x2616de(0xf5)](_0x270baa['unitId'],_0x270baa['formula'],this[_0x2616de(0x1ad)],this[_0x2616de(0x10f)],this[_0x2616de(0x12c)]),_0x10dceb={'node':_0x3968b4,'refOffsetX':_0x270baa[_0x2616de(0x1c4)],'refOffsetY':_0x270baa['refOffsetY']},_0x764052=_0x270baa[_0x2616de(0x150)];if(_0x10d98e%_0x6f6a17===0x0&&(await new Promise(_0x588935=>{const _0x2c13bf=_0x2616de,_0x154dc0=_0x177b9b[_0x2c13bf(0x126)](_0x588935);_0xc101ea['push'](_0x154dc0);}),_0x57087f?(this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab[_0x2616de(0x1a3)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x2616de(0x13a)][_0x2616de(0xfc)](_0x10d98e+0x1)):(this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab[_0x2616de(0x1a3)][_0x2616de(0x15d)]),this[_0x2616de(0x13a)][_0x2616de(0x105)](_0x10d98e+0x1)),this['_executionInProgressListener$'][_0x2616de(0xf3)](this[_0x2616de(0x13a)][_0x2616de(0x143)]()),this[_0x2616de(0x13a)][_0x2616de(0x151)]()||_0x10dceb==null&&_0x764052==null)){this[_0x2616de(0x13a)][_0x2616de(0x14d)](_0x4c54ab[_0x2616de(0x1a3)][_0x2616de(0x15f)]),this['_runtimeService'][_0x2616de(0x115)](),this[_0x2616de(0x1aa)]['next'](this['_runtimeService'][_0x2616de(0x194)]());return;}this[_0x2616de(0x13a)][_0x2616de(0x132)](_0x270baa[_0x2616de(0x19e)],_0x270baa[_0x2616de(0x155)],_0x270baa[_0x2616de(0x144)],_0x270baa[_0x2616de(0x1a8)],_0x270baa[_0x2616de(0x123)],_0x270baa[_0x2616de(0x1be)]);let _0x4c9f67;if(_0x764052!=null&&_0x270baa[_0x2616de(0x12d)]!=null){const {runtimeCellData:_0x2ac548,dirtyRanges:_0x5c59cc}=_0x764052(this[_0x2616de(0x12c)][_0x2616de(0x150)](),this[_0x2616de(0x13a)][_0x2616de(0x194)]());this[_0x2616de(0x13a)][_0x2616de(0x177)](_0x270baa['featureId'],_0x2ac548),this[_0x2616de(0x13a)][_0x2616de(0x1ce)](_0x270baa[_0x2616de(0x12d)],_0x5c59cc);}else _0x10dceb!=null&&(_0x3334d0[_0x2616de(0x1c3)](_0x10dceb[_0x2616de(0xf9)])?_0x4c9f67=await _0x3334d0['executeAsync'](_0x10dceb):_0x4c9f67=_0x3334d0[_0x2616de(0x16e)](_0x10dceb),_0x270baa[_0x2616de(0x17a)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x270baa['formulaId'],_0x270baa[_0x2616de(0x1c4)],_0x270baa[_0x2616de(0x100)],_0x4c9f67):this[_0x2616de(0x13a)][_0x2616de(0xf7)](_0x4c9f67));_0x3968b4[_0x2616de(0x137)](),_0x10d98e++;}return _0xc101ea[_0x2616de(0x14a)](_0x5a4732=>_0x5a4732()),_0xc101ea=[],_0x2f7aa1>0x0?this[_0x2616de(0x13a)][_0x2616de(0x168)]():_0x57087f||this[_0x2616de(0x13a)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x2616de(0x194)]();}}class _0x3db2d4 extends _0x4c54ab['DependencyManagerBaseService']{constructor(){const _0x3bdc70=_0x1d0876;super(...arguments),_0x55331f(this,'_allTreeMap',new Map()),_0x55331f(this,_0x3bdc70(0x12a),new _0x177b9b['RTree'](!0x0));}['reset'](){const _0x5d55ce=_0x1d0876;this[_0x5d55ce(0x1c6)][_0x5d55ce(0x159)](),this[_0x5d55ce(0x1d4)][_0x5d55ce(0x159)](),this[_0x5d55ce(0x158)][_0x5d55ce(0x159)](),this['_dependencyRTreeCache']['clear'](),this['_allTreeMap'][_0x5d55ce(0x159)](),this['_restDependencyTreeId'](),this['_otherFormulaDataMainData'][_0x5d55ce(0x159)]();}[_0x1d0876(0x16a)](_0x54df60,_0x2aa23b,_0x296255,_0x5a066f){const _0x299bee=_0x1d0876;this[_0x299bee(0x1c6)][_0x299bee(0xf6)](_0x54df60)||this[_0x299bee(0x1c6)][_0x299bee(0x197)](_0x54df60,new Map());const _0x56af4d=this[_0x299bee(0x1c6)][_0x299bee(0x15e)](_0x54df60);_0x56af4d[_0x299bee(0xf6)](_0x2aa23b)||_0x56af4d['set'](_0x2aa23b,new Map());const _0x2b5fd0=_0x56af4d[_0x299bee(0x15e)](_0x2aa23b);_0x2b5fd0[_0x299bee(0xf6)](_0x296255)||_0x2b5fd0['set'](_0x296255,new _0x177b9b['ObjectMatrix']()),_0x2b5fd0[_0x299bee(0x15e)](_0x296255)[_0x299bee(0x1c7)](_0x5a066f[_0x299bee(0x1c4)],_0x5a066f['refOffsetY'],_0x5a066f[_0x299bee(0x199)]);}['removeOtherFormulaDependency'](_0x449290,_0x13576f,_0x20d9a5){const _0x8c4597=_0x1d0876,_0x5acdef=this['_otherFormulaData']['get'](_0x449290);if(_0x5acdef&&_0x5acdef[_0x8c4597(0xf6)](_0x13576f)){const _0x2147f8=_0x5acdef[_0x8c4597(0x15e)](_0x13576f);_0x20d9a5[_0x8c4597(0x14a)](_0x2eeba1=>{const _0x16bc73=_0x8c4597,_0x43151d=_0x2147f8[_0x16bc73(0x15e)](_0x2eeba1);_0x43151d!=null&&(_0x43151d[_0x16bc73(0x18d)]((_0x497721,_0x2ac21c,_0x2a0086)=>{const _0x3751f3=_0x16bc73;this[_0x3751f3(0x113)](_0x2a0086),this[_0x3751f3(0x1ca)](_0x2a0086);}),_0x2147f8['delete'](_0x2eeba1),this[_0x16bc73(0x108)][_0x16bc73(0x104)](_0x2eeba1));}),_0x2147f8['size']===0x0&&_0x5acdef[_0x8c4597(0x104)](_0x13576f),_0x5acdef[_0x8c4597(0x10b)]===0x0&&this[_0x8c4597(0x1c6)][_0x8c4597(0x104)](_0x449290);}}[_0x1d0876(0x190)](_0x385be2,_0x430f8f){const _0x5a96e1=_0x1d0876,_0x457f83=this[_0x5a96e1(0x1c6)][_0x5a96e1(0x15e)](_0x385be2);if(_0x430f8f&&_0x457f83&&_0x457f83[_0x5a96e1(0xf6)](_0x430f8f)){const _0x1d19c8=_0x457f83[_0x5a96e1(0x15e)](_0x430f8f);this[_0x5a96e1(0x10c)](_0x385be2,_0x430f8f);for(const _0x137e16 of _0x1d19c8[_0x5a96e1(0x16f)]()){const _0x390646=_0x1d19c8[_0x5a96e1(0x15e)](_0x137e16);_0x390646!=null&&(_0x390646[_0x5a96e1(0x18d)]((_0xeb06d8,_0x25ac69,_0x54771e)=>{const _0x27217b=_0x5a96e1;this[_0x27217b(0x13c)]['get'](_0x54771e)&&this[_0x27217b(0x1ca)](_0x54771e);}),this['_otherFormulaDataMainData']['delete'](_0x137e16));}_0x1d19c8[_0x5a96e1(0x159)]();}else{if(_0x457f83){for(const _0x187e13 of _0x457f83['keys']()){const _0x1ce3a6=_0x457f83['get'](_0x187e13);this[_0x5a96e1(0x10c)](_0x385be2,_0x187e13);for(const _0x5c7417 of _0x1ce3a6[_0x5a96e1(0x16f)]()){const _0x326506=_0x1ce3a6[_0x5a96e1(0x15e)](_0x5c7417);_0x326506!=null&&(_0x326506[_0x5a96e1(0x18d)]((_0x11977a,_0x57134d,_0x1643c0)=>{const _0x194564=_0x5a96e1;this[_0x194564(0x13c)][_0x194564(0x15e)](_0x1643c0)&&this[_0x194564(0x1ca)](_0x1643c0);}),this[_0x5a96e1(0x108)][_0x5a96e1(0x104)](_0x5c7417));}}this[_0x5a96e1(0x1c6)][_0x5a96e1(0x104)](_0x385be2);}}}['addFeatureFormulaDependency'](_0x4bfce5,_0x45597c,_0x104685,_0x342193){const _0xcd90c=_0x1d0876;this['_featureFormulaData'][_0xcd90c(0xf6)](_0x4bfce5)||this['_featureFormulaData'][_0xcd90c(0x197)](_0x4bfce5,new Map());const _0x4899e8=this[_0xcd90c(0x1d4)]['get'](_0x4bfce5);_0x4899e8['has'](_0x45597c)||_0x4899e8[_0xcd90c(0x197)](_0x45597c,new Map()),_0x4899e8[_0xcd90c(0x15e)](_0x45597c)[_0xcd90c(0x197)](_0x104685,_0x342193['treeId']);}[_0x1d0876(0x1bc)](_0x5e1eeb,_0x158545,_0xdd51d1){const _0x5cac14=_0x1d0876,_0x3ea54d=this[_0x5cac14(0x1d4)]['get'](_0x5e1eeb);if(_0x3ea54d&&_0x3ea54d['has'](_0x158545)){const _0x39cb6c=_0x3ea54d[_0x5cac14(0x15e)](_0x158545);_0xdd51d1[_0x5cac14(0x14a)](_0x24463a=>{const _0x1450cd=_0x5cac14,_0x5cc86a=_0x39cb6c[_0x1450cd(0x15e)](_0x24463a);_0x5cc86a!=null&&(this[_0x1450cd(0x113)](_0x5cc86a),_0x39cb6c[_0x1450cd(0x104)](_0x24463a),this[_0x1450cd(0x1ca)](_0x5cc86a));});}}[_0x1d0876(0x102)](_0x11e764,_0x578e86){const _0x4323fc=_0x1d0876,_0x3271b5=this['_featureFormulaData'][_0x4323fc(0x15e)](_0x11e764);if(_0x578e86&&_0x3271b5&&_0x3271b5['has'](_0x578e86)){const _0xcff122=_0x3271b5['get'](_0x578e86);this['_removeDependencyRTreeCacheById'](_0x11e764,_0x578e86),_0xcff122[_0x4323fc(0x14a)](_0x3d771b=>{_0x3d771b!=null&&this['_removeAllTreeMap'](_0x3d771b);}),_0xcff122[_0x4323fc(0x159)]();}else _0x3271b5&&(_0x3271b5[_0x4323fc(0x14a)]((_0x314641,_0x3a3668)=>{const _0x251258=_0x4323fc;this['_removeDependencyRTreeCacheById'](_0x11e764,_0x3a3668),_0x314641[_0x251258(0x14a)](_0x5225ca=>{const _0x2202fd=_0x251258;_0x5225ca!=null&&this[_0x2202fd(0x1ca)](_0x5225ca);});}),this['_featureFormulaData'][_0x4323fc(0x104)](_0x11e764));}[_0x1d0876(0x127)](_0x4fa8f0,_0x1b6dfc,_0x1d8cd5,_0x139ea9,_0x356254){const _0x1b031f=_0x1d0876;this['_formulaData'][_0x1b031f(0xf6)](_0x4fa8f0)||this[_0x1b031f(0x158)][_0x1b031f(0x197)](_0x4fa8f0,new Map());const _0x5b3203=this[_0x1b031f(0x158)][_0x1b031f(0x15e)](_0x4fa8f0);_0x5b3203[_0x1b031f(0xf6)](_0x1b6dfc)||_0x5b3203[_0x1b031f(0x197)](_0x1b6dfc,new _0x177b9b['ObjectMatrix']()),_0x5b3203[_0x1b031f(0x15e)](_0x1b6dfc)[_0x1b031f(0x1c7)](_0x1d8cd5,_0x139ea9,_0x356254[_0x1b031f(0x199)]);}['removeFormulaDependency'](_0x3d71df,_0xcb2684,_0x299255,_0x28ca69){const _0x20d746=_0x1d0876,_0x4a43a3=this[_0x20d746(0x158)][_0x20d746(0x15e)](_0x3d71df);if(_0x4a43a3&&_0x4a43a3[_0x20d746(0xf6)](_0xcb2684)){const _0x36313b=_0x4a43a3[_0x20d746(0x15e)](_0xcb2684),_0x499534=_0x36313b[_0x20d746(0x173)](_0x299255,_0x28ca69);if(_0x499534==null)return;this[_0x20d746(0x113)](_0x499534),_0x36313b['realDeleteValue'](_0x299255,_0x28ca69),this[_0x20d746(0x1ca)](_0x499534);}}[_0x1d0876(0x133)](_0x23305f,_0x25dbfc){const _0x235c85=_0x1d0876,_0x69fa3=this[_0x235c85(0x158)]['get'](_0x23305f);if(_0x25dbfc&&_0x69fa3&&_0x69fa3[_0x235c85(0xf6)](_0x25dbfc)){const _0x290cf5=_0x69fa3[_0x235c85(0x15e)](_0x25dbfc);this[_0x235c85(0x10c)](_0x23305f,_0x25dbfc),_0x290cf5[_0x235c85(0x18d)]((_0xd68b37,_0x2c97bb,_0x427ba1)=>{const _0x557d2f=_0x235c85;if(_0x427ba1==null)return!0x0;this[_0x557d2f(0x1ca)](_0x427ba1);}),_0x290cf5['reset']();}else _0x69fa3&&(_0x69fa3[_0x235c85(0x14a)]((_0xfda536,_0x3528b5)=>{const _0x4d2416=_0x235c85;this[_0x4d2416(0x10c)](_0x23305f,_0x3528b5),_0xfda536[_0x4d2416(0x18d)]((_0xb4bd5a,_0x51e0a5,_0x391615)=>{const _0x19dcf9=_0x4d2416;if(_0x391615==null)return!0x0;this[_0x19dcf9(0x1ca)](_0x391615);});}),this[_0x235c85(0x158)][_0x235c85(0x104)](_0x23305f));}[_0x1d0876(0x113)](_0x238017){const _0x25eae4=_0x1d0876;if(_0x238017==null)return;const _0x5eee0f=this[_0x25eae4(0x13c)][_0x25eae4(0x15e)](_0x238017);if(_0x5eee0f){const _0x5b53eb=[];for(const [_0x43bdde,_0x46934d]of _0x5eee0f)for(const [_0x15a255,_0x59d7b3]of _0x46934d)_0x5b53eb['push']({'unitId':_0x43bdde,'sheetId':_0x15a255,'range':_0x59d7b3,'id':_0x238017});this[_0x25eae4(0x12a)][_0x25eae4(0x196)](_0x5b53eb);}}['removeFormulaDependencyByDefinedName'](_0x348508,_0x1fd99f){const _0x24caf4=_0x1d0876,_0x4d7f97=this['_definedNameMap'][_0x24caf4(0x15e)](_0x348508);if(_0x4d7f97){const _0x457951=_0x4d7f97[_0x24caf4(0x15e)](_0x1fd99f);if(_0x457951){for(const _0x32bcf0 of _0x457951)this[_0x24caf4(0x113)](_0x32bcf0),this['_removeAllTreeMap'](_0x32bcf0);_0x457951['clear']();}}}[_0x1d0876(0x120)](){const _0x166795=_0x1d0876;this[_0x166795(0x12a)][_0x166795(0x120)]();}['closeKdTree'](){const _0x150405=_0x1d0876;this[_0x150405(0x12a)]['closeKdTree']();}[_0x1d0876(0x1ca)](_0x16b05f){const _0x1909d4=_0x1d0876;_0x16b05f!=null&&this['_allTreeMap'][_0x1909d4(0x104)](_0x16b05f);}[_0x1d0876(0x15c)](_0x509443){const _0x18024c=_0x1d0876;var _0x371c2d,_0xd42c26;const _0x45f4d6=_0x509443[_0x18024c(0x136)];let _0x116da6=this[_0x18024c(0x13c)][_0x18024c(0x15e)](_0x509443[_0x18024c(0x199)]);for(let _0x3f7405=0x0;_0x3f7405<_0x45f4d6[_0x18024c(0x12b)];_0x3f7405++){const _0x40e7ca=_0x45f4d6[_0x3f7405];let {unitId:_0x32783b,sheetId:_0x334530,range:_0x1d8c56}=_0x40e7ca;_0x116da6||(_0x116da6=new Map(),this['_allTreeMap']['set'](_0x509443[_0x18024c(0x199)],_0x116da6)),_0x116da6[_0x18024c(0xf6)](_0x32783b)||_0x116da6[_0x18024c(0x197)](_0x32783b,new Map());const _0x3c7ff1=(_0x371c2d=_0x116da6==null?void 0x0:_0x116da6['get'](_0x32783b))==null?void 0x0:_0x371c2d[_0x18024c(0x15e)](_0x334530);_0x3c7ff1&&(_0x1d8c56={'startRow':Math[_0x18024c(0x148)](_0x1d8c56[_0x18024c(0x1bf)],_0x3c7ff1[_0x18024c(0x1bf)]),'startColumn':Math['min'](_0x1d8c56[_0x18024c(0x135)],_0x3c7ff1['startColumn']),'endRow':Math['max'](_0x1d8c56[_0x18024c(0x1a6)],_0x3c7ff1[_0x18024c(0x1a6)]),'endColumn':Math['max'](_0x1d8c56[_0x18024c(0x19b)],_0x3c7ff1[_0x18024c(0x19b)])}),(_0xd42c26=_0x116da6[_0x18024c(0x15e)](_0x32783b))==null||_0xd42c26[_0x18024c(0x197)](_0x334530,_0x1d8c56);}}}var _0x26118d=Object[_0x1d0876(0x131)],_0x46da47=(_0x4711b4,_0x47601d,_0x306276,_0x15e8d7)=>{const _0x2f746c=_0x1d0876;for(var _0x45a898=_0x15e8d7>0x1?void 0x0:_0x15e8d7?_0x26118d(_0x47601d,_0x306276):_0x47601d,_0x1c0dc3=_0x4711b4[_0x2f746c(0x12b)]-0x1,_0x1918a2;_0x1c0dc3>=0x0;_0x1c0dc3--)(_0x1918a2=_0x4711b4[_0x1c0dc3])&&(_0x45a898=_0x1918a2(_0x45a898)||_0x45a898);return _0x45a898;};const _0x317048=Number[_0x1d0876(0x1a2)](0x69244942);_0x38d99e[_0x1d0876(0x187)]=class extends _0x4c54ab[_0x1d0876(0x165)]{[_0x1d0876(0x130)](){const _0x2a3ae9=_0x1d0876;var _0x2019f1,_0xd82348;this[_0x2a3ae9(0x12e)]()?(this[_0x2a3ae9(0x14f)][_0x2a3ae9(0x17d)]([_0x4c54ab[_0x2a3ae9(0x1b3)],{'useClass':_0x489a7c}]),(_0x2019f1=this[_0x2a3ae9(0x1d0)])!=null&&_0x2019f1['notExecuteFormula']||[[_0x4c54ab['ICalculateFormulaService'],{'useClass':_0x150c21}],[_0x4c54ab[_0x2a3ae9(0x189)],{'useClass':_0x3db2d4}],[_0x4c54ab[_0x2a3ae9(0x1c5)],{'useClass':_0x9aa4e5}]]['forEach'](_0x1740da=>this['_injector'][_0x2a3ae9(0x17d)](_0x1740da))):(this[_0x2a3ae9(0x14f)][_0x2a3ae9(0x17d)]([_0x4c54ab[_0x2a3ae9(0x1b3)],{'useClass':_0x4c54ab[_0x2a3ae9(0x1b3)]}]),(_0xd82348=this[_0x2a3ae9(0x1d0)])!=null&&_0xd82348[_0x2a3ae9(0x1cf)]||[[_0x4c54ab[_0x2a3ae9(0x154)],{'useClass':_0x4c54ab[_0x2a3ae9(0x172)]}],[_0x4c54ab['IDependencyManagerService'],{'useClass':_0x4c54ab[_0x2a3ae9(0x1b9)]}],[_0x4c54ab['IFormulaDependencyGenerator'],{'useClass':_0x4c54ab[_0x2a3ae9(0x117)]}]]['forEach'](_0x4c5cee=>this[_0x2a3ae9(0x14f)][_0x2a3ae9(0x17d)](_0x4c5cee)));}[_0x1d0876(0x12e)](){const _0x492cc3=_0x1d0876;var _0x1dd13b;const _0x51a6b1=(_0x1dd13b=this[_0x492cc3(0x192)]['getConfig'](_0x20ff75[_0x492cc3(0x1b1)]))!=null?_0x1dd13b:{},{ls:_0xd42c28,pbk:_0x51fc73}=_0x51a6b1;if(!_0xd42c28||!_0x51fc73)return!0x1;const _0x26f460=_0x20ff75[_0x492cc3(0x146)](_0x5d0443,_0x336c25),_0x526cef=new Function(_0x492cc3(0x1a4)+_0x26f460)()(_0xd42c28,_0x51fc73),_0x317618=_0x526cef[_0x492cc3(0x1cb)];return _0x526cef[_0x492cc3(0x18e)]&&_0x20ff75[_0x492cc3(0x15b)](_0x317618,'sf',_0x317048)?_0x20ff75['getSheetFeatureLimit'](_0x317618,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x38d99e[_0x1d0876(0x187)]=_0x46da47([_0x177b9b[_0x1d0876(0x1a7)](_0x20ff75[_0x1d0876(0x19a)])],_0x38d99e[_0x1d0876(0x187)]),Object['keys'](_0x4c54ab)[_0x1d0876(0x14a)](_0x13d5d5=>{const _0x1c1710=_0x1d0876;_0x13d5d5!=='default'&&!Object[_0x1c1710(0x180)][_0x1c1710(0x181)][_0x1c1710(0x18b)](_0x38d99e,_0x13d5d5)&&Object[_0x1c1710(0x10a)](_0x38d99e,_0x13d5d5,{'enumerable':!0x0,'get':()=>_0x4c54ab[_0x13d5d5]});}),Object[_0x1d0876(0x10a)](_0x38d99e,Symbol['toStringTag'],{'value':_0x1d0876(0x14e)});}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2-nightly.202511241159",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -57,16 +57,16 @@
|
|
|
57
57
|
"rxjs": ">=7.0.0"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@univerjs-pro/license": "0.12.
|
|
61
|
-
"@univerjs/
|
|
62
|
-
"@univerjs/
|
|
60
|
+
"@univerjs-pro/license": "0.12.2-nightly.202511241159",
|
|
61
|
+
"@univerjs/engine-formula": "0.12.2-nightly.202511241159",
|
|
62
|
+
"@univerjs/core": "0.12.2-nightly.202511241159"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
65
|
"rxjs": "7.8.2",
|
|
66
66
|
"typescript": "^5.9.3",
|
|
67
67
|
"vite": "^7.2.2",
|
|
68
68
|
"vitest": "^3.2.4",
|
|
69
|
-
"@univerjs-infra/shared": "0.12.
|
|
69
|
+
"@univerjs-infra/shared": "0.12.2"
|
|
70
70
|
},
|
|
71
71
|
"scripts": {
|
|
72
72
|
"test": "vitest run",
|