@univerjs-pro/engine-formula 0.6.8 → 0.6.9-experimental.20250406-d422c87
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 +42 -42
- 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';function _0xdbbe(){const _0x110fc5=['30835AxXqjz','1354704IdusRQ','4743140FlazQc','defineProperty','20216229nCvLGn','931123qTPZPf','@univerjs/engine-formula/facade','7259373bEwOkP','prototype','12gFTluD','2FMrwXz','63eTawEf','default','1285444MBINqM','3xlejUp','648uMGGdn','keys'];_0xdbbe=function(){return _0x110fc5;};return _0xdbbe();}function _0xe165(_0x2b2e6f,_0x367ced){const _0xdbbe40=_0xdbbe();return _0xe165=function(_0xe165c8,_0x240a26){_0xe165c8=_0xe165c8-0x137;let _0x3bd472=_0xdbbe40[_0xe165c8];return _0x3bd472;},_0xe165(_0x2b2e6f,_0x367ced);}const _0x558a83=_0xe165;(function(_0x19fd38,_0x1e5533){const _0x1715a7=_0xe165,_0x2018d1=_0x19fd38();while(!![]){try{const _0x43b514=-parseInt(_0x1715a7(0x13f))/0x1*(parseInt(_0x1715a7(0x144))/0x2)+parseInt(_0x1715a7(0x137))/0x3*(parseInt(_0x1715a7(0x147))/0x4)+-parseInt(_0x1715a7(0x13a))/0x5*(parseInt(_0x1715a7(0x138))/0x6)+parseInt(_0x1715a7(0x145))/0x7*(parseInt(_0x1715a7(0x13b))/0x8)+-parseInt(_0x1715a7(0x141))/0x9+-parseInt(_0x1715a7(0x13c))/0xa+parseInt(_0x1715a7(0x13e))/0xb*(parseInt(_0x1715a7(0x143))/0xc);if(_0x43b514===_0x1e5533)break;else _0x2018d1['push'](_0x2018d1['shift']());}catch(_0x56ee36){_0x2018d1['push'](_0x2018d1['shift']());}}}(_0xdbbe,0xc4934));Object[_0x558a83(0x13d)](exports,Symbol['toStringTag'],{'value':'Module'});const t=require(_0x558a83(0x140));Object[_0x558a83(0x139)](t)['forEach'](_0x1e33ba=>{const _0x5dff12=_0x558a83;_0x1e33ba!==_0x5dff12(0x146)&&!Object[_0x5dff12(0x142)]['hasOwnProperty']['call'](exports,_0x1e33ba)&&Object[_0x5dff12(0x13d)](exports,_0x1e33ba,{'enumerable':!0x0,'get':()=>t[_0x1e33ba]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function _0x4a62(_0x252b93,_0x5163bc){const _0x2a9835=_0x2a98();return _0x4a62=function(_0x4a623f,_0x18c164){_0x4a623f=_0x4a623f-0x170;let _0x176e97=_0x2a9835[_0x4a623f];return _0x176e97;},_0x4a62(_0x252b93,_0x5163bc);}const _0xb93bd3=_0x4a62;(function(_0x29f050,_0x1e2d20){const _0x46b642=_0x4a62,_0x2d14d8=_0x29f050();while(!![]){try{const _0x335d69=-parseInt(_0x46b642(0x18c))/0x1*(-parseInt(_0x46b642(0x1f8))/0x2)+parseInt(_0x46b642(0x216))/0x3*(-parseInt(_0x46b642(0x196))/0x4)+-parseInt(_0x46b642(0x1b8))/0x5*(-parseInt(_0x46b642(0x183))/0x6)+-parseInt(_0x46b642(0x1d7))/0x7*(-parseInt(_0x46b642(0x1ba))/0x8)+parseInt(_0x46b642(0x1d6))/0x9*(-parseInt(_0x46b642(0x1e4))/0xa)+parseInt(_0x46b642(0x1ac))/0xb*(parseInt(_0x46b642(0x1ee))/0xc)+-parseInt(_0x46b642(0x18a))/0xd*(parseInt(_0x46b642(0x179))/0xe);if(_0x335d69===_0x1e2d20)break;else _0x2d14d8['push'](_0x2d14d8['shift']());}catch(_0x348785){_0x2d14d8['push'](_0x2d14d8['shift']());}}}(_0x2a98,0xc7b3d));var N=Object[_0xb93bd3(0x1a3)],H=(_0x420c64,_0x5c291c,_0x4af729)=>_0x5c291c in _0x420c64?N(_0x420c64,_0x5c291c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4af729}):_0x420c64[_0x5c291c]=_0x4af729,C=(_0x101d21,_0xbad1d6,_0x5a7629)=>H(_0x101d21,typeof _0xbad1d6!=_0xb93bd3(0x18b)?_0xbad1d6+'':_0xbad1d6,_0x5a7629);Object[_0xb93bd3(0x1a3)](exports,Symbol['toStringTag'],{'value':_0xb93bd3(0x22b)});const T=require(_0xb93bd3(0x1cc)),F=require('@univerjs/core'),u=require(_0xb93bd3(0x225)),k={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},V=_0xb93bd3(0x1fa);class B extends u[_0xb93bd3(0x228)]{constructor(){super(...arguments),C(this,'_dependencyTreeCache',new Map());}['dispose'](){const _0x426677=_0xb93bd3;super[_0x426677(0x1eb)](),this[_0x426677(0x20d)][_0x426677(0x1e0)]();}async[_0xb93bd3(0x20f)](){const _0x452844=_0xb93bd3;this[_0x452844(0x1b5)]();const _0x56edce=this[_0x452844(0x1ad)]['getFormulaData'](),_0x485c5a=this[_0x452844(0x1c2)][_0x452844(0x189)](),_0x2b22f6=this[_0x452844(0x1ad)]['getClearDependencyTreeCache']();_0x2b22f6!=null&&Object[_0x452844(0x1e1)](_0x2b22f6)[_0x452844(0x188)](_0x6e02e=>{const _0x150434=_0x452844;_0x6e02e!=null&&Object[_0x150434(0x1e1)](_0x2b22f6[_0x6e02e])['forEach'](_0x776e53=>{const _0x377aaa=_0x150434;_0x776e53!=null&&(this[_0x377aaa(0x22d)][_0x377aaa(0x1a7)](_0x6e02e,_0x776e53),this[_0x377aaa(0x22d)][_0x377aaa(0x198)](_0x6e02e,_0x776e53),this[_0x377aaa(0x22d)][_0x377aaa(0x1a8)](_0x6e02e,_0x776e53));});});const _0xabb60e=this[_0x452844(0x1ad)][_0x452844(0x1df)]();await this[_0x452844(0x22c)](_0x56edce,_0x485c5a,_0xabb60e),this[_0x452844(0x22d)][_0x452844(0x1bc)]();const _0x2b8f54=this['_getUpdateTreeListAndMakeDependency'](),_0x4d55e2=this['_calculateRunList'](_0x2b8f54);return this[_0x452844(0x1ed)](_0x4d55e2)&&this[_0x452844(0x1a6)][_0x452844(0x212)](),this[_0x452844(0x20d)][_0x452844(0x1e0)](),this['_dependencyRTreeCacheForAddressFunction'][_0x452844(0x1e0)](),this['_dependencyManagerService'][_0x452844(0x17e)](),Promise[_0x452844(0x1a9)](_0x4d55e2);}[_0xb93bd3(0x1ce)](_0x290297,_0x196d74){const _0x5e9e2a=_0xb93bd3,_0x1dd45d=[_0x290297];for(;_0x1dd45d[_0x5e9e2a(0x204)]>0x0;){const _0x36f814=_0x1dd45d[_0x1dd45d[_0x5e9e2a(0x204)]-0x1];if((_0x196d74[_0x5e9e2a(0x1b4)](_0x36f814)||0x0)===0x0){_0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x1);const _0x28b5f7=this[_0x5e9e2a(0x20d)][_0x5e9e2a(0x1b4)](_0x36f814);if(_0x28b5f7==null){_0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x2),_0x1dd45d['pop']();continue;}const _0x3a4c5a=this[_0x5e9e2a(0x22d)][_0x5e9e2a(0x21b)](_0x28b5f7[_0x5e9e2a(0x186)]());for(const _0x46eae2 of _0x3a4c5a){const _0x5b7c29=_0x196d74[_0x5e9e2a(0x1b4)](_0x46eae2)||0x0;if(_0x5b7c29===0x1)return!0x0;_0x5b7c29===0x0&&_0x1dd45d[_0x5e9e2a(0x21e)](_0x46eae2);}}else _0x196d74[_0x5e9e2a(0x19a)](_0x36f814,0x2),_0x1dd45d[_0x5e9e2a(0x1fb)]();}return!0x1;}['_checkIsCycleDependency'](_0x2c702d){const _0x2e86d2=_0xb93bd3,_0xcb300c=new Map();for(const _0x435d26 of _0x2c702d)if(!_0xcb300c['has'](_0x435d26[_0x2e86d2(0x22e)])&&this[_0x2e86d2(0x1ce)](_0x435d26[_0x2e86d2(0x22e)],_0xcb300c))return!0x0;return _0xcb300c[_0x2e86d2(0x1e0)](),!0x1;}[_0xb93bd3(0x17a)](_0x56f7d0,_0x319f46,_0x48f5a6){const _0x364c60=_0xb93bd3,{unitId:_0xf5cca8,subUnitId:_0x258b00,dependencyRanges:_0xaf01c1,getDirtyData:_0x42e788}=_0x48f5a6,_0x144fca=_0x319f46||u[_0x364c60(0x1ea)](this[_0x364c60(0x22d)]),_0x5c0317=new u[(_0x364c60(0x173))](_0x144fca);_0x5c0317[_0x364c60(0x1db)]=_0xf5cca8,_0x5c0317[_0x364c60(0x1ff)]=_0x258b00,_0x5c0317[_0x364c60(0x1b2)]=_0xaf01c1,_0x5c0317['getDirtyData']=_0x42e788;const _0x341a5c=_0x42e788(this[_0x364c60(0x1ad)][_0x364c60(0x1dd)](),this[_0x364c60(0x1a6)][_0x364c60(0x21c)]()),_0x4768ae=this['_convertDirtyRangesToUnitRange'](_0x341a5c[_0x364c60(0x176)]);return _0x5c0317['featureDirtyRanges']=_0x4768ae,_0x5c0317[_0x364c60(0x1e2)]=_0x56f7d0,_0x5c0317[_0x364c60(0x1a2)]=u[_0x364c60(0x1f6)][_0x364c60(0x22a)],this[_0x364c60(0x22d)]['addFeatureFormulaDependency'](_0xf5cca8,_0x258b00,_0x56f7d0,_0x5c0317),this[_0x364c60(0x20d)][_0x364c60(0x19a)](_0x5c0317[_0x364c60(0x22e)],_0x5c0317),this[_0x364c60(0x22d)][_0x364c60(0x1d1)](_0x48f5a6[_0x364c60(0x1db)],_0x48f5a6[_0x364c60(0x1ff)],_0x56f7d0)&&(_0x5c0317[_0x364c60(0x193)]=!0x0),_0x5c0317;}[_0xb93bd3(0x1bd)](_0x169729,_0x505f89,_0x579c4f){const _0x265f14=_0xb93bd3;var _0x42ef9c;for(const _0x55d5a5 of _0x505f89){const _0xf7b1f=_0x169729[_0x55d5a5];if(_0xf7b1f==null)continue;const _0x4add53=Object[_0x265f14(0x1e1)](_0xf7b1f);for(const _0x1ee424 of _0x4add53){const _0x1a3c97=_0xf7b1f[_0x1ee424];if(_0x1a3c97==null)continue;const _0x3fa44f=Object[_0x265f14(0x1e1)](_0x1a3c97);for(const _0xeeb1d3 of _0x3fa44f){const _0x4fcea3=this[_0x265f14(0x22d)][_0x265f14(0x17f)](_0xeeb1d3),_0x575314=_0x1a3c97[_0xeeb1d3],{f:_0x314a56,ranges:_0x3e3a55}=_0x575314;let _0x232628=!0x1;_0x4fcea3&&(_0x232628=!0x0);const {firstRow:_0x50e315,firstColumn:_0x53e51b}=this[_0x265f14(0x192)](_0x3e3a55),_0x1354cb=this[_0x265f14(0x22d)]['getOtherFormulaDependency'](_0x55d5a5,_0x1ee424,_0xeeb1d3),_0x3abf2c=(_0x42ef9c=_0x1354cb==null?void 0x0:_0x1354cb[_0x265f14(0x1d8)](0x0,0x0))!=null?_0x42ef9c:u['generateRandomDependencyTreeId'](this[_0x265f14(0x22d)]),_0x3dcac4=new u[(_0x265f14(0x173))](_0x3abf2c);for(let _0xa96ca=0x0;_0xa96ca<_0x3e3a55[_0x265f14(0x204)];_0xa96ca++){const _0x3cc8f9=_0x3e3a55[_0xa96ca],{startRow:_0x4cdc7b,startColumn:_0xfc3654,endRow:_0x305c0d,endColumn:_0x39ceb2}=_0x3cc8f9;for(let _0x1a431d=_0x4cdc7b;_0x1a431d<=_0x305c0d;_0x1a431d++)for(let _0x2bfd9b=_0xfc3654;_0x2bfd9b<=_0x39ceb2;_0x2bfd9b++){const _0xcb1dcc=_0x2bfd9b-_0x53e51b,_0x24d8dc=_0x1a431d-_0x50e315;if(_0xcb1dcc===0x0&&_0x24d8dc===0x0){_0x3dcac4['formula']=_0x314a56,_0x3dcac4[_0x265f14(0x1db)]=_0x55d5a5,_0x3dcac4[_0x265f14(0x1ff)]=_0x1ee424,_0x3dcac4['formulaId']=_0xeeb1d3,_0x3dcac4[_0x265f14(0x1a2)]=u[_0x265f14(0x1f6)]['OTHER_FORMULA'],_0x3dcac4[_0x265f14(0x193)]=_0x232628,_0x579c4f['push'](_0x3dcac4),this[_0x265f14(0x20d)]['set'](_0x3dcac4[_0x265f14(0x22e)],_0x3dcac4),this[_0x265f14(0x22d)][_0x265f14(0x17c)](_0x55d5a5,_0x1ee424,_0xeeb1d3,_0x3dcac4),this['_dependencyManagerService'][_0x265f14(0x197)](_0x3dcac4);continue;}const _0x3e3343=new u[(_0x265f14(0x1dc))]();_0x3e3343[_0x265f14(0x22e)]=(_0x1354cb==null?void 0x0:_0x1354cb[_0x265f14(0x1d8)](_0xcb1dcc,_0x24d8dc))||u[_0x265f14(0x1ea)](this['_dependencyManagerService']),_0x3e3343[_0x265f14(0x223)]=_0x3dcac4,_0x3e3343['refOffsetX']=_0xcb1dcc,_0x3e3343[_0x265f14(0x229)]=_0x24d8dc,_0x3e3343[_0x265f14(0x193)]=_0x232628,this[_0x265f14(0x22d)][_0x265f14(0x17c)](_0x55d5a5,_0x1ee424,_0xeeb1d3,_0x3e3343),this[_0x265f14(0x22d)][_0x265f14(0x197)](_0x3e3343),_0x579c4f[_0x265f14(0x21e)](_0x3e3343),this[_0x265f14(0x20d)][_0x265f14(0x19a)](_0x3e3343[_0x265f14(0x22e)],_0x3e3343);}}this[_0x265f14(0x22d)][_0x265f14(0x1f2)](_0xeeb1d3);}}}}[_0xb93bd3(0x1c0)](_0x52800d,_0x54c50a,_0x108d5a,_0x120ed9){const _0x410b3a=_0xb93bd3;for(const _0x5844cf of _0x52800d){const _0x307fb8=_0x54c50a[_0x5844cf];if(_0x307fb8==null)continue;const _0x28eeb0=Object['keys'](_0x307fb8);for(const _0x322200 of _0x28eeb0){const _0x213bb3=new F[(_0x410b3a(0x1fe))](_0x307fb8[_0x322200]||{}),_0x4be2b0=new Map();_0x213bb3[_0x410b3a(0x1a4)]((_0xcaa670,_0x1b8e68,_0x1b9231)=>{const _0x25177e=_0x410b3a;if(_0x1b9231==null)return!0x0;const {x:_0x4911fe=0x0,y:_0x16248=0x0,si:_0x303455}=_0x1b9231;if(!(_0x4911fe===0x0&&_0x16248===0x0&&_0x303455!=null))return!0x0;const _0x411325=this['_createFDtree'](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68,_0x108d5a,_0x1b9231),_0x1de956=this[_0x25177e(0x22d)]['getFormulaDependency'](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68);_0x1de956!=null?_0x411325['treeId']=_0x1de956:(this['_dependencyManagerService'][_0x25177e(0x1cf)](_0x5844cf,_0x322200,_0xcaa670,_0x1b8e68,_0x411325),this['_dependencyManagerService'][_0x25177e(0x197)](_0x411325)),_0x4be2b0[_0x25177e(0x19a)](_0x303455,_0x411325),_0x120ed9[_0x25177e(0x21e)](_0x411325),this['_dependencyTreeCache']['set'](_0x411325[_0x25177e(0x22e)],_0x411325);}),_0x213bb3['forValue']((_0x3eba50,_0x43be72,_0x18ede7)=>{const _0x5d6827=_0x410b3a;if(_0x18ede7==null)return!0x0;const {x:_0x4b15d5=0x0,y:_0x138392=0x0,si:_0x5e7b07}=_0x18ede7;if(_0x4b15d5===0x0&&_0x138392===0x0&&_0x5e7b07!=null)return!0x0;let _0xaab182;if(_0x5e7b07&&_0x4be2b0[_0x5d6827(0x1bb)](_0x5e7b07)){const _0x251e29=_0x4be2b0[_0x5d6827(0x1b4)](_0x5e7b07);_0xaab182=this[_0x5d6827(0x174)](_0x251e29,_0x18ede7);}else _0xaab182=this[_0x5d6827(0x20a)](_0x5844cf,_0x322200,_0x3eba50,_0x43be72,_0x108d5a,_0x18ede7);const _0x38999e=this[_0x5d6827(0x22d)][_0x5d6827(0x1af)](_0x5844cf,_0x322200,_0x3eba50,_0x43be72);_0x38999e!=null?_0xaab182['treeId']=_0x38999e:(this[_0x5d6827(0x22d)]['addFormulaDependency'](_0x5844cf,_0x322200,_0x3eba50,_0x43be72,_0xaab182),this['_dependencyManagerService'][_0x5d6827(0x197)](_0xaab182)),_0x120ed9[_0x5d6827(0x21e)](_0xaab182),this[_0x5d6827(0x20d)][_0x5d6827(0x19a)](_0xaab182['treeId'],_0xaab182);}),_0x4be2b0[_0x410b3a(0x1e0)]();}}}[_0xb93bd3(0x20a)](_0x101367,_0x5b1e2f,_0x5b89d4,_0x1b05c8,_0x13c824,_0xb0dd10){const _0x5c5b47=_0xb93bd3,{f:_0x34d24b,x:_0x53205a=0x0,y:_0x4c16df=0x0}=_0xb0dd10,_0x38f1e3=new u[(_0x5c5b47(0x173))](u[_0x5c5b47(0x1ea)](this[_0x5c5b47(0x22d)])),_0x452b2b=_0x13c824[_0x101367][_0x5b1e2f];return _0x38f1e3[_0x5c5b47(0x218)]=_0x34d24b,_0x38f1e3[_0x5c5b47(0x1db)]=_0x101367,_0x38f1e3[_0x5c5b47(0x1ff)]=_0x5b1e2f,_0x38f1e3[_0x5c5b47(0x206)]=_0x5b89d4,_0x38f1e3[_0x5c5b47(0x178)]=_0x1b05c8,_0x38f1e3[_0x5c5b47(0x20c)]=_0x452b2b[_0x5c5b47(0x20c)],_0x38f1e3[_0x5c5b47(0x182)]=_0x452b2b[_0x5c5b47(0x182)],_0x38f1e3;}[_0xb93bd3(0x1ec)](){const _0x2c64ca=_0xb93bd3,_0x5aa7fb=[],_0x1ec3f5=new Set(),_0x389235=this[_0x2c64ca(0x1ad)][_0x2c64ca(0x1e3)](),_0x5b343c=this[_0x2c64ca(0x1ad)]['getDirtyRanges'](),_0x47b3ac=this[_0x2c64ca(0x22d)][_0x2c64ca(0x21b)](_0x5b343c),_0x53bd89=this[_0x2c64ca(0x20e)][_0x2c64ca(0x226)](_0x5b343c);for(const _0x10c44c of _0x53bd89)_0x47b3ac[_0x2c64ca(0x1d4)](_0x10c44c);for(const [_0x565aa5,_0x1b4fdd]of this['_dependencyTreeCache'])(_0x389235||_0x1b4fdd[_0x2c64ca(0x19c)]||_0x1b4fdd[_0x2c64ca(0x1ca)](this[_0x2c64ca(0x1ad)]['getDirtyNameMap']())||_0x47b3ac[_0x2c64ca(0x1bb)](_0x565aa5)&&!_0x1b4fdd[_0x2c64ca(0x1a0)](this[_0x2c64ca(0x1ad)]['getExcludedRange']()))&&!_0x1ec3f5[_0x2c64ca(0x1bb)](_0x565aa5)&&(_0x5aa7fb[_0x2c64ca(0x21e)](_0x1b4fdd),_0x1ec3f5[_0x2c64ca(0x1d4)](_0x565aa5));for(const [_0x227a35,_0x22d24d]of this[_0x2c64ca(0x20d)])_0x22d24d[_0x2c64ca(0x221)]||(_0x22d24d[_0x2c64ca(0x1b2)][_0x2c64ca(0x204)]=0x0);return _0x5aa7fb;}['_getTreeById'](_0x5acbdf){const _0x445ccf=_0xb93bd3;return this['_dependencyTreeCache'][_0x445ccf(0x1b4)](_0x5acbdf);}[_0xb93bd3(0x1c9)](_0x5e88ed){const _0x3ed3eb=_0xb93bd3;return u[_0x3ed3eb(0x191)](_0x5e88ed[_0x3ed3eb(0x1db)],_0x5e88ed[_0x3ed3eb(0x218)],this[_0x3ed3eb(0x1c8)],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0xb93bd3(0x1de)](_0x1b6fd9,_0x53dca5){const _0x5af70b=_0xb93bd3,_0xa6163d=_0x1b6fd9,_0x5f48b7=new Set();for(;_0xa6163d['length']>0x0;){const _0x4aa6e0=_0xa6163d[_0x5af70b(0x1fb)]();if(_0x5f48b7[_0x5af70b(0x1e0)](),_0x4aa6e0===void 0x0||_0x4aa6e0[_0x5af70b(0x21f)]())continue;if(_0x4aa6e0[_0x5af70b(0x18d)]()){yield _0x4aa6e0,_0x4aa6e0[_0x5af70b(0x18f)](),_0x53dca5[_0x5af70b(0x1d4)](_0x4aa6e0[_0x5af70b(0x22e)]);continue;}const _0x3fd03d=this[_0x5af70b(0x22d)]['searchDependency'](_0x4aa6e0[_0x5af70b(0x186)](),_0x53dca5),_0x19a8d6=this[_0x5af70b(0x20e)]['bulkSearch'](_0x4aa6e0[_0x5af70b(0x186)](),_0x53dca5);for(const _0x3a1759 of _0x19a8d6)_0x3fd03d[_0x5af70b(0x1d4)](_0x3a1759);for(const _0x184304 of _0x3fd03d){const _0x504ba7=this[_0x5af70b(0x20d)][_0x5af70b(0x1b4)](_0x184304);if(!_0x504ba7)throw new Error(_0x5af70b(0x1e8));_0x504ba7[_0x5af70b(0x18d)]()||_0x4aa6e0[_0x5af70b(0x21f)]()||_0x5f48b7[_0x5af70b(0x1d4)](_0x504ba7);}if(_0x3fd03d[_0x5af70b(0x1e0)](),_0x5f48b7[_0x5af70b(0x170)]===0x0)yield _0x4aa6e0,_0x4aa6e0[_0x5af70b(0x18f)](),_0x53dca5['add'](_0x4aa6e0[_0x5af70b(0x22e)]);else{_0x4aa6e0[_0x5af70b(0x18e)](),_0xa6163d[_0x5af70b(0x21e)](_0x4aa6e0);for(const _0x14d407 of _0x5f48b7)_0xa6163d[_0x5af70b(0x21e)](_0x14d407);}}_0xa6163d[_0x5af70b(0x204)]=0x0,_0x5f48b7['clear']();}['_calculateRunList'](_0x51e7b5){const _0x23b503=_0xb93bd3,_0x44bbaf=[],_0x3e477a=new Set();for(const _0x1dbf24 of this[_0x23b503(0x1de)](_0x51e7b5,_0x3e477a))_0x44bbaf[_0x23b503(0x21e)](_0x1dbf24);return _0x44bbaf;}}class j extends u[_0xb93bd3(0x180)]{async[_0xb93bd3(0x209)](_0x3b447a=!0x1){const _0x50939e=_0xb93bd3;_0x3b447a?this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x50939e(0x207)]):this[_0x50939e(0x1a6)][_0x50939e(0x175)](u[_0x50939e(0x194)][_0x50939e(0x1a5)]),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this[_0x50939e(0x1a6)]['getRuntimeState']());const _0x96c169=await this[_0x50939e(0x217)]['generate'](),_0x55f0f4=this[_0x50939e(0x21d)];_0x3b447a?(this['_runtimeService'][_0x50939e(0x175)](u[_0x50939e(0x194)][_0x50939e(0x19d)]),this[_0x50939e(0x1a6)][_0x50939e(0x213)](_0x96c169['length'])):(this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u[_0x50939e(0x194)]['START_CALCULATION']),this[_0x50939e(0x1a6)][_0x50939e(0x220)](_0x96c169[_0x50939e(0x204)])),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this[_0x50939e(0x1a6)]['getRuntimeState']());let _0x19256a=[];const _0x21b8eb=this[_0x50939e(0x1ae)]['getConfig'](u[_0x50939e(0x1bf)]),_0x3ce597=(_0x21b8eb==null?void 0x0:_0x21b8eb['intervalCount'])||u[_0x50939e(0x214)];let _0x151e0e=0x0;const _0x41f2d7=_0x96c169['length'];for(;_0x96c169[_0x50939e(0x204)]>0x0;){const _0x2adec5=_0x96c169[_0x50939e(0x1fb)](),_0xd4da1f={'node':u[_0x50939e(0x191)](_0x2adec5[_0x50939e(0x1db)],_0x2adec5['formula'],this[_0x50939e(0x1c8)],this['_astTreeBuilder'],this[_0x50939e(0x1ad)]),'refOffsetX':_0x2adec5[_0x50939e(0x1d2)],'refOffsetY':_0x2adec5[_0x50939e(0x229)]},_0x136729=_0x2adec5[_0x50939e(0x1dd)];if(_0x151e0e%_0x3ce597===0x0&&(await new Promise(_0x3dd0e5=>{const _0x26a822=_0x50939e,_0x2ca5dd=F[_0x26a822(0x205)](_0x3dd0e5);_0x19256a[_0x26a822(0x21e)](_0x2ca5dd);}),_0x3b447a?(this[_0x50939e(0x1a6)][_0x50939e(0x175)](u['FormulaExecuteStageType'][_0x50939e(0x1cd)]),this[_0x50939e(0x1a6)]['setCompletedArrayFormulasCount'](_0x151e0e+0x1)):(this[_0x50939e(0x1a6)]['setFormulaExecuteStage'](u[_0x50939e(0x194)]['CURRENTLY_CALCULATING']),this['_runtimeService'][_0x50939e(0x201)](_0x151e0e+0x1)),this[_0x50939e(0x1e5)][_0x50939e(0x222)](this['_runtimeService'][_0x50939e(0x203)]()),this[_0x50939e(0x1a6)][_0x50939e(0x1c6)]()||_0xd4da1f==null&&_0x136729==null)){this['_runtimeService']['setFormulaExecuteStage'](u[_0x50939e(0x194)][_0x50939e(0x1b1)]),this[_0x50939e(0x1a6)][_0x50939e(0x1a1)](),this[_0x50939e(0x202)][_0x50939e(0x222)](this['_runtimeService'][_0x50939e(0x21c)]());return;}this[_0x50939e(0x1a6)][_0x50939e(0x210)](_0x2adec5[_0x50939e(0x206)],_0x2adec5[_0x50939e(0x178)],_0x2adec5[_0x50939e(0x20c)],_0x2adec5['columnCount'],_0x2adec5[_0x50939e(0x1ff)],_0x2adec5[_0x50939e(0x1db)]);let _0x42872f;if(_0x136729!=null&&_0x2adec5['featureId']!=null){const {runtimeCellData:_0x39b31a,dirtyRanges:_0x4d65c3}=_0x136729(this['_currentConfigService']['getDirtyData'](),this[_0x50939e(0x1a6)][_0x50939e(0x21c)]());this['_runtimeService'][_0x50939e(0x1f7)](_0x2adec5[_0x50939e(0x1e2)],_0x39b31a),this[_0x50939e(0x1a6)][_0x50939e(0x1d3)](_0x2adec5[_0x50939e(0x1e2)],_0x4d65c3);}else _0xd4da1f!=null&&(_0x55f0f4['checkAsyncNode'](_0xd4da1f['node'])?_0x42872f=await _0x55f0f4[_0x50939e(0x1f4)](_0xd4da1f):_0x42872f=_0x55f0f4[_0x50939e(0x19f)](_0xd4da1f),_0x2adec5[_0x50939e(0x1aa)]!=null?this[_0x50939e(0x1a6)][_0x50939e(0x211)](_0x2adec5[_0x50939e(0x1aa)],_0x2adec5[_0x50939e(0x1d2)],_0x2adec5['refOffsetY'],_0x42872f):this[_0x50939e(0x1a6)][_0x50939e(0x172)](_0x42872f));_0x151e0e++;}return _0x19256a[_0x50939e(0x188)](_0x2400a0=>_0x2400a0()),_0x19256a=[],_0x41f2d7>0x0?this[_0x50939e(0x1a6)]['markedAsSuccessfullyExecuted']():_0x3b447a||this['_runtimeService']['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x50939e(0x21c)]();}}class Y extends u[_0xb93bd3(0x1b7)]{constructor(){const _0x518e9c=_0xb93bd3;super(...arguments),C(this,_0x518e9c(0x1b9),new Map()),C(this,_0x518e9c(0x1b3),new F[(_0x518e9c(0x195))](!0x0));}[_0xb93bd3(0x219)](){const _0x151903=_0xb93bd3;this[_0x151903(0x208)][_0x151903(0x1e0)](),this['_featureFormulaData'][_0x151903(0x1e0)](),this['_formulaData'][_0x151903(0x1e0)](),this[_0x151903(0x1b3)][_0x151903(0x1e0)](),this[_0x151903(0x1b9)][_0x151903(0x1e0)](),this[_0x151903(0x1f3)](),this[_0x151903(0x1c7)]['clear']();}[_0xb93bd3(0x17c)](_0x578664,_0x295bb5,_0x5899ff,_0x1740ea){const _0x516209=_0xb93bd3;this[_0x516209(0x208)][_0x516209(0x1bb)](_0x578664)||this['_otherFormulaData'][_0x516209(0x19a)](_0x578664,new Map());const _0x95e9da=this[_0x516209(0x208)][_0x516209(0x1b4)](_0x578664);_0x95e9da[_0x516209(0x1bb)](_0x295bb5)||_0x95e9da['set'](_0x295bb5,new Map());const _0x2e99d6=_0x95e9da[_0x516209(0x1b4)](_0x295bb5);_0x2e99d6[_0x516209(0x1bb)](_0x5899ff)||_0x2e99d6[_0x516209(0x19a)](_0x5899ff,new F[(_0x516209(0x1fe))]()),_0x2e99d6[_0x516209(0x1b4)](_0x5899ff)[_0x516209(0x1cb)](_0x1740ea['refOffsetX'],_0x1740ea[_0x516209(0x229)],_0x1740ea[_0x516209(0x22e)]);}['removeOtherFormulaDependency'](_0x3d356f,_0x4e9351,_0x49e0b3){const _0x1a3f33=_0xb93bd3,_0x3147ba=this['_otherFormulaData'][_0x1a3f33(0x1b4)](_0x3d356f);if(_0x3147ba&&_0x3147ba[_0x1a3f33(0x1bb)](_0x4e9351)){const _0x4e65d5=_0x3147ba['get'](_0x4e9351);_0x49e0b3[_0x1a3f33(0x188)](_0x1452c3=>{const _0x14e122=_0x1a3f33,_0x5db79e=_0x4e65d5['get'](_0x1452c3);_0x5db79e!=null&&(_0x5db79e[_0x14e122(0x1a4)]((_0x248a79,_0x270554,_0x417037)=>{const _0x5a7886=_0x14e122;this[_0x5a7886(0x185)](_0x417037),this[_0x5a7886(0x1d0)](_0x417037);}),_0x4e65d5[_0x14e122(0x181)](_0x1452c3),this[_0x14e122(0x1c7)][_0x14e122(0x181)](_0x1452c3));}),_0x4e65d5[_0x1a3f33(0x170)]===0x0&&_0x3147ba[_0x1a3f33(0x181)](_0x4e9351),_0x3147ba[_0x1a3f33(0x170)]===0x0&&this['_otherFormulaData'][_0x1a3f33(0x181)](_0x3d356f);}}['clearOtherFormulaDependency'](_0x4168f9,_0x16fc88){const _0x3afab0=_0xb93bd3,_0x5b1699=this[_0x3afab0(0x208)][_0x3afab0(0x1b4)](_0x4168f9);if(_0x16fc88&&_0x5b1699&&_0x5b1699[_0x3afab0(0x1bb)](_0x16fc88)){const _0x1a5ed7=_0x5b1699[_0x3afab0(0x1b4)](_0x16fc88);this[_0x3afab0(0x1e7)](_0x4168f9,_0x16fc88);for(const _0x5850ab of _0x1a5ed7['keys']()){const _0x3ed219=_0x1a5ed7['get'](_0x5850ab);_0x3ed219!=null&&(_0x3ed219[_0x3afab0(0x1a4)]((_0x14bebc,_0x495784,_0x33dfe4)=>{const _0x4651d6=_0x3afab0;this[_0x4651d6(0x1b9)][_0x4651d6(0x1b4)](_0x33dfe4)&&this['_removeAllTreeMap'](_0x33dfe4);}),this['_otherFormulaDataMainData'][_0x3afab0(0x181)](_0x5850ab));}_0x1a5ed7[_0x3afab0(0x1e0)]();}else{if(_0x5b1699){for(const _0x5639a9 of _0x5b1699[_0x3afab0(0x1e1)]()){const _0x1db199=_0x5b1699[_0x3afab0(0x1b4)](_0x5639a9);this[_0x3afab0(0x1e7)](_0x4168f9,_0x5639a9);for(const _0x5f05e5 of _0x1db199['keys']()){const _0xbe1170=_0x1db199[_0x3afab0(0x1b4)](_0x5f05e5);_0xbe1170!=null&&(_0xbe1170['forValue']((_0x2851c6,_0x341470,_0x3930f5)=>{const _0x2e151c=_0x3afab0;this[_0x2e151c(0x1b9)][_0x2e151c(0x1b4)](_0x3930f5)&&this[_0x2e151c(0x1d0)](_0x3930f5);}),this['_otherFormulaDataMainData'][_0x3afab0(0x181)](_0x5f05e5));}}this[_0x3afab0(0x208)][_0x3afab0(0x181)](_0x4168f9);}}}['addFeatureFormulaDependency'](_0x237ffb,_0x3d1c18,_0xd3ba8b,_0x5d3a09){const _0x3b6391=_0xb93bd3;this[_0x3b6391(0x1ef)][_0x3b6391(0x1bb)](_0x237ffb)||this[_0x3b6391(0x1ef)][_0x3b6391(0x19a)](_0x237ffb,new Map());const _0x5d27d4=this[_0x3b6391(0x1ef)]['get'](_0x237ffb);_0x5d27d4[_0x3b6391(0x1bb)](_0x3d1c18)||_0x5d27d4[_0x3b6391(0x19a)](_0x3d1c18,new Map()),_0x5d27d4[_0x3b6391(0x1b4)](_0x3d1c18)[_0x3b6391(0x19a)](_0xd3ba8b,_0x5d3a09[_0x3b6391(0x22e)]);}[_0xb93bd3(0x200)](_0x22a2ab,_0x220528,_0x4cd84c){const _0xe774f1=_0xb93bd3,_0x3b0d07=this['_featureFormulaData'][_0xe774f1(0x1b4)](_0x22a2ab);if(_0x3b0d07&&_0x3b0d07[_0xe774f1(0x1bb)](_0x220528)){const _0x5bc4e8=_0x3b0d07[_0xe774f1(0x1b4)](_0x220528);_0x4cd84c['forEach'](_0x52002d=>{const _0x640eed=_0xe774f1,_0x1c62b9=_0x5bc4e8['get'](_0x52002d);_0x1c62b9!=null&&(this[_0x640eed(0x185)](_0x1c62b9),_0x5bc4e8[_0x640eed(0x181)](_0x52002d),this['_removeAllTreeMap'](_0x1c62b9));});}}[_0xb93bd3(0x198)](_0x3b4c5c,_0x1e00c1){const _0x3a0f90=_0xb93bd3,_0x4e3548=this[_0x3a0f90(0x1ef)]['get'](_0x3b4c5c);if(_0x1e00c1&&_0x4e3548&&_0x4e3548[_0x3a0f90(0x1bb)](_0x1e00c1)){const _0x45142b=_0x4e3548[_0x3a0f90(0x1b4)](_0x1e00c1);this[_0x3a0f90(0x1e7)](_0x3b4c5c,_0x1e00c1),_0x45142b[_0x3a0f90(0x188)](_0x264ebe=>{const _0x9b88cc=_0x3a0f90;_0x264ebe!=null&&this[_0x9b88cc(0x1d0)](_0x264ebe);}),_0x45142b[_0x3a0f90(0x1e0)]();}else _0x4e3548&&(_0x4e3548[_0x3a0f90(0x188)]((_0x2b1ff7,_0x2701dc)=>{this['_removeDependencyRTreeCacheById'](_0x3b4c5c,_0x2701dc),_0x2b1ff7['forEach'](_0x33b161=>{const _0x98a42e=_0x4a62;_0x33b161!=null&&this[_0x98a42e(0x1d0)](_0x33b161);});}),this[_0x3a0f90(0x1ef)]['delete'](_0x3b4c5c));}[_0xb93bd3(0x1cf)](_0x38d9b0,_0x52ebd8,_0x1742ff,_0x491b6f,_0x517f43){const _0x122d6e=_0xb93bd3;this[_0x122d6e(0x190)]['has'](_0x38d9b0)||this[_0x122d6e(0x190)][_0x122d6e(0x19a)](_0x38d9b0,new Map());const _0x30da77=this['_formulaData'][_0x122d6e(0x1b4)](_0x38d9b0);_0x30da77[_0x122d6e(0x1bb)](_0x52ebd8)||_0x30da77[_0x122d6e(0x19a)](_0x52ebd8,new F[(_0x122d6e(0x1fe))]()),_0x30da77[_0x122d6e(0x1b4)](_0x52ebd8)[_0x122d6e(0x1cb)](_0x1742ff,_0x491b6f,_0x517f43[_0x122d6e(0x22e)]);}[_0xb93bd3(0x17b)](_0x5dca8a,_0x2da7b8,_0x30590d,_0x59f98a){const _0x465846=_0xb93bd3,_0x1a32d8=this[_0x465846(0x190)][_0x465846(0x1b4)](_0x5dca8a);if(_0x1a32d8&&_0x1a32d8[_0x465846(0x1bb)](_0x2da7b8)){const _0x2eb13b=_0x1a32d8['get'](_0x2da7b8),_0x10b869=_0x2eb13b[_0x465846(0x1d8)](_0x30590d,_0x59f98a);if(_0x10b869==null)return;this[_0x465846(0x185)](_0x10b869),_0x2eb13b[_0x465846(0x17d)](_0x30590d,_0x59f98a),this[_0x465846(0x1d0)](_0x10b869);}}[_0xb93bd3(0x1a8)](_0x15ce5b,_0x56a8e0){const _0x4323d2=_0xb93bd3,_0x5cfd07=this['_formulaData']['get'](_0x15ce5b);if(_0x56a8e0&&_0x5cfd07&&_0x5cfd07['has'](_0x56a8e0)){const _0x32dbd5=_0x5cfd07['get'](_0x56a8e0);this[_0x4323d2(0x1e7)](_0x15ce5b,_0x56a8e0),_0x32dbd5[_0x4323d2(0x1a4)]((_0x2875ec,_0x2b8693,_0x21d979)=>{const _0x422ba9=_0x4323d2;if(_0x21d979==null)return!0x0;this[_0x422ba9(0x1d0)](_0x21d979);}),_0x32dbd5[_0x4323d2(0x219)]();}else _0x5cfd07&&(_0x5cfd07[_0x4323d2(0x188)]((_0x2bcbfa,_0x333df4)=>{const _0x252b5c=_0x4323d2;this['_removeDependencyRTreeCacheById'](_0x15ce5b,_0x333df4),_0x2bcbfa[_0x252b5c(0x1a4)]((_0x3ee247,_0x2991a7,_0x3705d8)=>{const _0x195726=_0x252b5c;if(_0x3705d8==null)return!0x0;this[_0x195726(0x1d0)](_0x3705d8);});}),this['_formulaData'][_0x4323d2(0x181)](_0x15ce5b));}[_0xb93bd3(0x185)](_0x54b110){const _0x27c3e7=_0xb93bd3;if(_0x54b110==null)return;const _0x3a952b=this[_0x27c3e7(0x1b9)][_0x27c3e7(0x1b4)](_0x54b110);if(_0x3a952b){const _0x4d7d5e=[];for(const [_0x9a5aa6,_0x3ae29c]of _0x3a952b)for(const [_0x2dcec0,_0x5b9b6a]of _0x3ae29c)_0x4d7d5e['push']({'unitId':_0x9a5aa6,'sheetId':_0x2dcec0,'range':_0x5b9b6a,'id':_0x54b110});this[_0x27c3e7(0x1b3)]['bulkRemove'](_0x4d7d5e);}}[_0xb93bd3(0x1c1)](_0x330835,_0x41bd7a){const _0x16cb70=_0xb93bd3,_0xb87173=this['_definedNameMap'][_0x16cb70(0x1b4)](_0x330835);if(_0xb87173){const _0x5f01e3=_0xb87173['get'](_0x41bd7a);if(_0x5f01e3){for(const _0x1cf980 of _0x5f01e3)this[_0x16cb70(0x185)](_0x1cf980),this[_0x16cb70(0x1d0)](_0x1cf980);_0x5f01e3['clear']();}}}['openKdTree'](){const _0x23d586=_0xb93bd3;this[_0x23d586(0x1b3)]['openKdTree']();}[_0xb93bd3(0x17e)](){const _0x40dc2a=_0xb93bd3;this['_dependencyRTreeCache'][_0x40dc2a(0x17e)]();}['_removeAllTreeMap'](_0x2abeab){const _0x486c4f=_0xb93bd3;_0x2abeab!=null&&this['_allTreeMap'][_0x486c4f(0x181)](_0x2abeab);}[_0xb93bd3(0x1c5)](_0x236162){const _0x4a1450=_0xb93bd3;var _0x5c3a22,_0x22e7e3;const _0x1eacb2=_0x236162['rangeList'];let _0x534b23=this[_0x4a1450(0x1b9)][_0x4a1450(0x1b4)](_0x236162[_0x4a1450(0x22e)]);for(let _0xc248ef=0x0;_0xc248ef<_0x1eacb2[_0x4a1450(0x204)];_0xc248ef++){const _0x258a74=_0x1eacb2[_0xc248ef];let {unitId:_0x9acac7,sheetId:_0xb4d2a,range:_0x2222ef}=_0x258a74;_0x534b23||(_0x534b23=new Map(),this['_allTreeMap']['set'](_0x236162[_0x4a1450(0x22e)],_0x534b23)),_0x534b23[_0x4a1450(0x1bb)](_0x9acac7)||_0x534b23['set'](_0x9acac7,new Map());const _0x15c0e8=(_0x5c3a22=_0x534b23==null?void 0x0:_0x534b23['get'](_0x9acac7))==null?void 0x0:_0x5c3a22['get'](_0xb4d2a);_0x15c0e8&&(_0x2222ef={'startRow':Math[_0x4a1450(0x227)](_0x2222ef[_0x4a1450(0x1e6)],_0x15c0e8[_0x4a1450(0x1e6)]),'startColumn':Math[_0x4a1450(0x227)](_0x2222ef[_0x4a1450(0x1d9)],_0x15c0e8[_0x4a1450(0x1d9)]),'endRow':Math[_0x4a1450(0x19e)](_0x2222ef[_0x4a1450(0x171)],_0x15c0e8[_0x4a1450(0x171)]),'endColumn':Math[_0x4a1450(0x19e)](_0x2222ef['endColumn'],_0x15c0e8[_0x4a1450(0x20b)])}),(_0x22e7e3=_0x534b23[_0x4a1450(0x1b4)](_0x9acac7))==null||_0x22e7e3[_0x4a1450(0x19a)](_0xb4d2a,_0x2222ef);}}}var K=Object[_0xb93bd3(0x1e9)],J=(_0x53ac64,_0x4eda56,_0x1c35d1,_0x552f2a)=>{const _0x38ce4b=_0xb93bd3;for(var _0x47e79d=_0x552f2a>0x1?void 0x0:_0x552f2a?K(_0x4eda56,_0x1c35d1):_0x4eda56,_0x2a3d41=_0x53ac64[_0x38ce4b(0x204)]-0x1,_0x5d71c7;_0x2a3d41>=0x0;_0x2a3d41--)(_0x5d71c7=_0x53ac64[_0x2a3d41])&&(_0x47e79d=_0x5d71c7(_0x47e79d)||_0x47e79d);return _0x47e79d;};const z=Number[_0xb93bd3(0x1ab)](0x67ed1401);exports[_0xb93bd3(0x1f0)]=class extends u[_0xb93bd3(0x1da)]{[_0xb93bd3(0x1fc)](){const _0x36d97c=_0xb93bd3;var _0x595ade,_0x1309ec;this[_0x36d97c(0x215)]()?(_0x595ade=this[_0x36d97c(0x21a)])!=null&&_0x595ade[_0x36d97c(0x1b0)]||[[u[_0x36d97c(0x22f)],{'useClass':j}],[u[_0x36d97c(0x187)],{'useClass':Y}],[u[_0x36d97c(0x1c4)],{'useClass':B}]]['forEach'](_0x2607f6=>this['_injector'][_0x36d97c(0x1d4)](_0x2607f6)):(_0x1309ec=this['_config'])!=null&&_0x1309ec[_0x36d97c(0x1b0)]||[[u[_0x36d97c(0x22f)],{'useClass':u[_0x36d97c(0x180)]}],[u[_0x36d97c(0x187)],{'useClass':u[_0x36d97c(0x1f5)]}],[u[_0x36d97c(0x1c4)],{'useClass':u[_0x36d97c(0x228)]}]]['forEach'](_0x2f5516=>this[_0x36d97c(0x1d5)][_0x36d97c(0x1d4)](_0x2f5516));}[_0xb93bd3(0x215)](){const _0x3441d1=_0xb93bd3;var _0x4f7c18;const _0x5d1afb=(_0x4f7c18=this[_0x3441d1(0x1ae)][_0x3441d1(0x1b6)](T[_0x3441d1(0x1f1)]))!=null?_0x4f7c18:{},{ls:_0x5d4172,pbk:_0x2627ca}=_0x5d1afb;if(!_0x5d4172||!_0x2627ca)return!0x1;const _0x1e9b7a=T[_0x3441d1(0x1c3)](V,k),_0xa4afe5=new Function(_0x3441d1(0x184)+_0x1e9b7a)()(_0x5d4172,_0x2627ca),_0x17e624=_0xa4afe5['message'];return _0xa4afe5[_0x3441d1(0x1be)]&&T['isFeatureAuthorizedWithinTime'](_0x17e624,'sf',z)?T[_0x3441d1(0x19b)](_0x17e624,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0xb93bd3(0x1f0)]=J([F[_0xb93bd3(0x1f9)](T[_0xb93bd3(0x199)])],exports[_0xb93bd3(0x1f0)]),Object['keys'](u)[_0xb93bd3(0x188)](_0x3111e7=>{const _0x1d99e6=_0xb93bd3;_0x3111e7!=='default'&&!Object[_0x1d99e6(0x177)][_0x1d99e6(0x1fd)][_0x1d99e6(0x224)](exports,_0x3111e7)&&Object['defineProperty'](exports,_0x3111e7,{'enumerable':!0x0,'get':()=>u[_0x3111e7]});});function _0x2a98(){const _0x5887eb=['clearFormulaDependency','resolve','formulaId','parseInt','121Uqhegc','_currentConfigService','_configService','getFormulaDependency','notExecuteFormula','IDLE','rangeList','_dependencyRTreeCache','get','_updateRangeFlatten','getConfig','DependencyManagerBaseService','5308925MATPiS','_allTreeMap','416AbtJEP','has','openKdTree','_registerOtherFormulas','valid','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_registerFormulas','removeFormulaDependencyByDefinedName','_otherFormulaManagerService','unshiftString','IFormulaDependencyGenerator','_addAllTreeMap','isStopExecution','_otherFormulaDataMainData','_lexer','_getTreeNode','dependencySheetName','setValue','@univerjs-pro/license','CURRENTLY_CALCULATING_ARRAY_FORMULA','_isCyclicUtilMap','addFormulaDependency','_removeAllTreeMap','getFeatureFormulaDependency','refOffsetX','setRuntimeFeatureRange','add','_injector','9wUSxyD','127722sOWYql','getValue','startColumn','UniverFormulaEnginePlugin','unitId','FormulaDependencyTreeVirtual','getDirtyData','_traverse','getUnitData','clear','keys','featureId','isForceCalculate','673990BHGCCk','_executionInProgressListener$','startRow','_removeDependencyRTreeCacheById','ParentDependencyTree\x20object\x20is\x20null','getOwnPropertyDescriptor','generateRandomDependencyTreeId','dispose','_getUpdateTreeListAndMakeDependency','_checkIsCycleDependency','408792kfjJMG','_featureFormulaData','UniverProFormulaEnginePlugin','LS_CONFIG_KEY','addOtherFormulaDependencyMainData','_restDependencyTreeId','executeAsync','DependencyManagerService','FormulaDependencyTreeType','setRuntimeFeatureCellData','54862cSygRR','DependentOn','0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','pop','_initializeWithOverride','hasOwnProperty','ObjectMatrix','subUnitId','removeFeatureFormulaDependency','setCompletedFormulasCount','_executionCompleteListener$','getRuntimeState','length','requestImmediateMacroTask','row','START_DEPENDENCY_ARRAY_FORMULA','_otherFormulaData','_apply','_createFDtree','endColumn','rowCount','_dependencyTreeCache','_dependencyRTreeCacheForAddressFunction','generate','setCurrent','setRuntimeOtherData','enableCycleDependency','setTotalArrayFormulasToCalculate','DEFAULT_INTERVAL_COUNT','_initLicenseValid','3WmFXaV','_formulaDependencyGenerator','formula','reset','_config','searchDependency','getAllRuntimeData','_interpreter','push','isSkip','setTotalFormulasToCalculate','isVirtual','next','refTree','call','@univerjs/engine-formula','bulkSearch','min','FormulaDependencyGenerator','refOffsetY','FEATURE_FORMULA','Module','_generateTreeList','_dependencyManagerService','treeId','ICalculateFormulaService','size','endRow','setRuntimeData','FormulaDependencyTree','_createVirtualFDtree','setFormulaExecuteStage','dirtyRanges','prototype','column','14JCHFMA','_getFeatureFormulaTree','removeFormulaDependency','addOtherFormulaDependency','realDeleteValue','closeKdTree','hasOtherFormulaDataMainData','CalculateFormulaService','delete','columnCount','6IqwIbo','return\x20','_removeDependencyRTreeCache','toRTreeItem','IDependencyManagerService','forEach','getOtherFormulaData','27467414ThLFyo','symbol','34iIfgGw','isAdded','setAdded','setSkip','_formulaData','generateAstNode','_getFirstCellOfRange','isCache','FormulaExecuteStageType','RTree','1278796PsExDs','addFormulaDependencyByDefinedName','clearFeatureFormulaDependency','UniverLicensePlugin','set','getSheetFeatureLimit','isDirty','START_CALCULATION_ARRAY_FORMULA','max','execute','isExcludeRange','markedAsStopFunctionsExecuted','type','defineProperty','forValue','START_DEPENDENCY','_runtimeService','clearOtherFormulaDependency'];_0x2a98=function(){return _0x5887eb;};return _0x2a98();}
|
|
1
|
+
'use strict';const _0x1200e0=_0x4b07;(function(_0x4bd82a,_0x25154e){const _0x731ab1=_0x4b07,_0x15bba4=_0x4bd82a();while(!![]){try{const _0x5070bf=parseInt(_0x731ab1(0x121))/0x1*(parseInt(_0x731ab1(0x13f))/0x2)+-parseInt(_0x731ab1(0x116))/0x3*(-parseInt(_0x731ab1(0x105))/0x4)+parseInt(_0x731ab1(0xfe))/0x5*(parseInt(_0x731ab1(0x12a))/0x6)+-parseInt(_0x731ab1(0x11c))/0x7+parseInt(_0x731ab1(0xa2))/0x8*(parseInt(_0x731ab1(0xb6))/0x9)+parseInt(_0x731ab1(0x112))/0xa+-parseInt(_0x731ab1(0xaa))/0xb;if(_0x5070bf===_0x25154e)break;else _0x15bba4['push'](_0x15bba4['shift']());}catch(_0x4052cc){_0x15bba4['push'](_0x15bba4['shift']());}}}(_0x3a4d,0x78a6e));var b=Object[_0x1200e0(0xc3)],X=(_0x447011,_0x2d5770,_0x1f4928)=>_0x2d5770 in _0x447011?b(_0x447011,_0x2d5770,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4928}):_0x447011[_0x2d5770]=_0x1f4928,T=(_0x1739fb,_0x145912,_0x1c8391)=>X(_0x1739fb,typeof _0x145912!=_0x1200e0(0x14a)?_0x145912+'':_0x145912,_0x1c8391);Object[_0x1200e0(0xc3)](exports,Symbol[_0x1200e0(0xb9)],{'value':_0x1200e0(0xbd)});const M=require('@univerjs-pro/license'),C=require(_0x1200e0(0xc0)),u=require('@univerjs/engine-formula'),V={0x0:'i',0x1:'I',0x2:'x',0x3:'3',0x4:'o',0x5:'W',0x6:'O',0x7:'n',0x8:'v',0x9:'B','K':'0','b':'1','o':'2','c':'4','r':'5','B':'6','R':'7','O':'8','Z':'9','p':'a','u':'b','P':'c','N':'d','v':'e','D':'f','n':'g','S':'h','d':'j','W':'k','y':'l','M':'m','X':'p','l':'q','a':'r','t':'s','E':'t','i':'u','I':'w','k':'y','m':'z','g':'A','L':'C','F':'D','A':'E','U':'F','q':'G','j':'H','e':'J','h':'K','x':'L','V':'M','H':'N','C':'P','s':'Q','T':'R','J':'S','w':'T','Q':'U','Y':'V','G':'X','z':'Y','f':'Z'},Y=_0x1200e0(0xfa);function _0x4b07(_0x1ccb76,_0x2b2dac){const _0x3a4d08=_0x3a4d();return _0x4b07=function(_0x4b0730,_0x534322){_0x4b0730=_0x4b0730-0x96;let _0x272494=_0x3a4d08[_0x4b0730];return _0x272494;},_0x4b07(_0x1ccb76,_0x2b2dac);}class B extends u[_0x1200e0(0x155)]{constructor(){const _0x1f6a11=_0x1200e0;super(...arguments),T(this,_0x1f6a11(0x9d),new Map());}['dispose'](){const _0x1fda8b=_0x1200e0;super[_0x1fda8b(0xcb)](),this['_dependencyTreeCache']['clear']();}async[_0x1200e0(0x159)](){const _0x4432af=_0x1200e0;this[_0x4432af(0xab)]();const _0x4b2aa7=this['_currentConfigService'][_0x4432af(0xd4)](),_0x4ad3c6=this[_0x4432af(0x148)][_0x4432af(0x128)](),_0x5f5375=this['_currentConfigService'][_0x4432af(0xe7)]();_0x5f5375!=null&&Object[_0x4432af(0xf4)](_0x5f5375)['forEach'](_0x379ba7=>{const _0x1ebd56=_0x4432af;_0x379ba7!=null&&Object[_0x1ebd56(0xf4)](_0x5f5375[_0x379ba7])[_0x1ebd56(0xed)](_0x7521ac=>{const _0x1a4e73=_0x1ebd56;_0x7521ac!=null&&(this[_0x1a4e73(0xf7)]['clearOtherFormulaDependency'](_0x379ba7,_0x7521ac),this['_dependencyManagerService'][_0x1a4e73(0x10f)](_0x379ba7,_0x7521ac),this[_0x1a4e73(0xf7)][_0x1a4e73(0x11f)](_0x379ba7,_0x7521ac));});});const _0x230ae9=this['_currentConfigService'][_0x4432af(0x152)]();await this['_generateTreeList'](_0x4b2aa7,_0x4ad3c6,_0x230ae9),this[_0x4432af(0xf7)][_0x4432af(0xbe)]();const _0x43d3ba=this[_0x4432af(0x126)](),_0x189b3f=this['_calculateRunList'](_0x43d3ba);return this[_0x4432af(0x137)](_0x189b3f)&&this[_0x4432af(0x151)][_0x4432af(0x133)](),this[_0x4432af(0x9d)][_0x4432af(0x149)](),this[_0x4432af(0x9c)]['clear'](),this['_dependencyManagerService'][_0x4432af(0xb1)](),Promise['resolve'](_0x189b3f);}[_0x1200e0(0xc4)](_0x395195,_0x4a07fd){const _0x1c6837=_0x1200e0,_0x5a7d07=[_0x395195];for(;_0x5a7d07[_0x1c6837(0x9b)]>0x0;){const _0x1e8e90=_0x5a7d07[_0x5a7d07[_0x1c6837(0x9b)]-0x1];if((_0x4a07fd[_0x1c6837(0xc9)](_0x1e8e90)||0x0)===0x0){_0x4a07fd[_0x1c6837(0x118)](_0x1e8e90,0x1);const _0x17e9fe=this[_0x1c6837(0x9d)][_0x1c6837(0xc9)](_0x1e8e90);if(_0x17e9fe==null){_0x4a07fd[_0x1c6837(0x118)](_0x1e8e90,0x2),_0x5a7d07[_0x1c6837(0xf2)]();continue;}const _0x225c8f=this[_0x1c6837(0xf7)][_0x1c6837(0x117)](_0x17e9fe[_0x1c6837(0x129)]());for(const _0x409aff of _0x225c8f){const _0x32f0e9=_0x4a07fd[_0x1c6837(0xc9)](_0x409aff)||0x0;if(_0x32f0e9===0x1)return!0x0;_0x32f0e9===0x0&&_0x5a7d07[_0x1c6837(0x10e)](_0x409aff);}}else _0x4a07fd[_0x1c6837(0x118)](_0x1e8e90,0x2),_0x5a7d07['pop']();}return!0x1;}[_0x1200e0(0x137)](_0x17a9e8){const _0x52efbe=_0x1200e0,_0x5df987=new Map();for(const _0x140616 of _0x17a9e8)if(!_0x5df987['has'](_0x140616[_0x52efbe(0xe1)])&&this['_isCyclicUtilMap'](_0x140616['treeId'],_0x5df987))return!0x0;return _0x5df987[_0x52efbe(0x149)](),!0x1;}['_getFeatureFormulaTree'](_0x1215e6,_0xcd2f92,_0x3539c7){const _0x2d42c5=_0x1200e0,{unitId:_0x1d5222,subUnitId:_0x350025,dependencyRanges:_0x86583d,getDirtyData:_0xe0e09c}=_0x3539c7,_0x17a2fa=_0xcd2f92||u[_0x2d42c5(0x10d)](this['_dependencyManagerService']),_0x29cb74=new u['FormulaDependencyTree'](_0x17a2fa);_0x29cb74['unitId']=_0x1d5222,_0x29cb74[_0x2d42c5(0x13c)]=_0x350025,_0x29cb74[_0x2d42c5(0x11d)]=_0x86583d,_0x29cb74[_0x2d42c5(0xcd)]=_0xe0e09c;const _0x190e95=_0xe0e09c(this[_0x2d42c5(0xdb)]['getDirtyData'](),this['_runtimeService'][_0x2d42c5(0x100)]()),_0x1ead3f=this[_0x2d42c5(0x134)](_0x190e95[_0x2d42c5(0x142)]);return _0x29cb74[_0x2d42c5(0xde)]=_0x1ead3f,_0x29cb74['featureId']=_0x1215e6,_0x29cb74['type']=u[_0x2d42c5(0xf6)][_0x2d42c5(0xf1)],this['_dependencyManagerService'][_0x2d42c5(0x103)](_0x1d5222,_0x350025,_0x1215e6,_0x29cb74),this[_0x2d42c5(0x9d)][_0x2d42c5(0x118)](_0x29cb74['treeId'],_0x29cb74),this[_0x2d42c5(0xf7)][_0x2d42c5(0xea)](_0x3539c7[_0x2d42c5(0x107)],_0x3539c7[_0x2d42c5(0x13c)],_0x1215e6)&&(_0x29cb74[_0x2d42c5(0x123)]=!0x0),_0x29cb74;}[_0x1200e0(0x139)](_0x44054f,_0x2bcc16,_0x120629){const _0x5d9081=_0x1200e0;var _0x18ca84;for(const _0x1caa29 of _0x2bcc16){const _0x319f88=_0x44054f[_0x1caa29];if(_0x319f88==null)continue;const _0x3bd7d4=Object[_0x5d9081(0xf4)](_0x319f88);for(const _0x2c5036 of _0x3bd7d4){const _0x39acca=_0x319f88[_0x2c5036];if(_0x39acca==null)continue;const _0x40e447=Object[_0x5d9081(0xf4)](_0x39acca);for(const _0x18aff9 of _0x40e447){const _0x340431=this[_0x5d9081(0xf7)][_0x5d9081(0xa4)](_0x18aff9),_0x1577ca=_0x39acca[_0x18aff9],{f:_0x88bf4d,ranges:_0x43307a}=_0x1577ca;let _0x3dfa9c=!0x1;_0x340431&&(_0x3dfa9c=!0x0);const {firstRow:_0x1338c2,firstColumn:_0x2d1475}=this[_0x5d9081(0x96)](_0x43307a),_0x125a78=this['_dependencyManagerService'][_0x5d9081(0x12f)](_0x1caa29,_0x2c5036,_0x18aff9),_0xe8b0d5=(_0x18ca84=_0x125a78==null?void 0x0:_0x125a78[_0x5d9081(0x131)](0x0,0x0))!=null?_0x18ca84:u[_0x5d9081(0x10d)](this[_0x5d9081(0xf7)]),_0x4f2f29=new u['FormulaDependencyTree'](_0xe8b0d5);for(let _0x3bab3c=0x0;_0x3bab3c<_0x43307a[_0x5d9081(0x9b)];_0x3bab3c++){const _0x39f8bd=_0x43307a[_0x3bab3c],{startRow:_0x4d581a,startColumn:_0x59ad97,endRow:_0x5175f5,endColumn:_0x17a126}=_0x39f8bd;for(let _0x2af124=_0x4d581a;_0x2af124<=_0x5175f5;_0x2af124++)for(let _0x29a922=_0x59ad97;_0x29a922<=_0x17a126;_0x29a922++){const _0x395ae6=_0x29a922-_0x2d1475,_0x3ee0b8=_0x2af124-_0x1338c2;if(_0x395ae6===0x0&&_0x3ee0b8===0x0){_0x4f2f29[_0x5d9081(0xd7)]=_0x88bf4d,_0x4f2f29[_0x5d9081(0x107)]=_0x1caa29,_0x4f2f29[_0x5d9081(0x13c)]=_0x2c5036,_0x4f2f29[_0x5d9081(0x136)]=_0x18aff9,_0x4f2f29[_0x5d9081(0x98)]=u[_0x5d9081(0xf6)][_0x5d9081(0x153)],_0x4f2f29['isCache']=_0x3dfa9c,_0x120629[_0x5d9081(0x10e)](_0x4f2f29),this[_0x5d9081(0x9d)][_0x5d9081(0x118)](_0x4f2f29[_0x5d9081(0xe1)],_0x4f2f29),this[_0x5d9081(0xf7)]['addOtherFormulaDependency'](_0x1caa29,_0x2c5036,_0x18aff9,_0x4f2f29),this[_0x5d9081(0xf7)][_0x5d9081(0xe2)](_0x4f2f29);continue;}const _0x4fedc7=new u['FormulaDependencyTreeVirtual']();_0x4fedc7['treeId']=(_0x125a78==null?void 0x0:_0x125a78[_0x5d9081(0x131)](_0x395ae6,_0x3ee0b8))||u[_0x5d9081(0x10d)](this['_dependencyManagerService']),_0x4fedc7[_0x5d9081(0xbb)]=_0x4f2f29,_0x4fedc7[_0x5d9081(0xdc)]=_0x395ae6,_0x4fedc7[_0x5d9081(0x13d)]=_0x3ee0b8,_0x4fedc7[_0x5d9081(0x123)]=_0x3dfa9c,this[_0x5d9081(0xf7)][_0x5d9081(0xa0)](_0x1caa29,_0x2c5036,_0x18aff9,_0x4fedc7),this[_0x5d9081(0xf7)]['addFormulaDependencyByDefinedName'](_0x4fedc7),_0x120629['push'](_0x4fedc7),this[_0x5d9081(0x9d)][_0x5d9081(0x118)](_0x4fedc7[_0x5d9081(0xe1)],_0x4fedc7);}}this[_0x5d9081(0xf7)][_0x5d9081(0x10a)](_0x18aff9);}}}}[_0x1200e0(0x9e)](_0x1b0c3a,_0x25c849,_0x2af5da,_0x4047e6){const _0x115b0a=_0x1200e0;for(const _0x4ccc63 of _0x1b0c3a){const _0x19b48c=_0x25c849[_0x4ccc63];if(_0x19b48c==null)continue;const _0x3410b1=Object[_0x115b0a(0xf4)](_0x19b48c);for(const _0x125b5a of _0x3410b1){const _0x130a96=new C[(_0x115b0a(0xc8))](_0x19b48c[_0x125b5a]||{}),_0xf01006=new Map();_0x130a96[_0x115b0a(0x143)]((_0x1115be,_0x4d333c,_0x293bad)=>{const _0x3adc34=_0x115b0a;if(_0x293bad==null)return!0x0;const {x:_0x17d774=0x0,y:_0x1d5451=0x0,si:_0x3b5ddb}=_0x293bad;if(!(_0x17d774===0x0&&_0x1d5451===0x0&&_0x3b5ddb!=null))return!0x0;const _0x1234a0=this[_0x3adc34(0x141)](_0x4ccc63,_0x125b5a,_0x1115be,_0x4d333c,_0x2af5da,_0x293bad),_0x242398=this[_0x3adc34(0xf7)][_0x3adc34(0xc6)](_0x4ccc63,_0x125b5a,_0x1115be,_0x4d333c);_0x242398!=null?_0x1234a0[_0x3adc34(0xe1)]=_0x242398:(this[_0x3adc34(0xf7)][_0x3adc34(0xdf)](_0x4ccc63,_0x125b5a,_0x1115be,_0x4d333c,_0x1234a0),this[_0x3adc34(0xf7)]['addFormulaDependencyByDefinedName'](_0x1234a0)),_0xf01006[_0x3adc34(0x118)](_0x3b5ddb,_0x1234a0),_0x4047e6[_0x3adc34(0x10e)](_0x1234a0),this['_dependencyTreeCache'][_0x3adc34(0x118)](_0x1234a0[_0x3adc34(0xe1)],_0x1234a0);}),_0x130a96[_0x115b0a(0x143)]((_0x1d0e0f,_0x4e6b4b,_0x1e7129)=>{const _0xcff38=_0x115b0a;if(_0x1e7129==null)return!0x0;const {x:_0x425cd6=0x0,y:_0x486e96=0x0,si:_0x5a8559}=_0x1e7129;if(_0x425cd6===0x0&&_0x486e96===0x0&&_0x5a8559!=null)return!0x0;let _0x405c70;if(_0x5a8559&&_0xf01006[_0xcff38(0xd6)](_0x5a8559)){const _0xb6d3db=_0xf01006[_0xcff38(0xc9)](_0x5a8559);_0x405c70=this['_createVirtualFDtree'](_0xb6d3db,_0x1e7129);}else _0x405c70=this[_0xcff38(0x141)](_0x4ccc63,_0x125b5a,_0x1d0e0f,_0x4e6b4b,_0x2af5da,_0x1e7129);const _0x49bfc4=this[_0xcff38(0xf7)][_0xcff38(0xc6)](_0x4ccc63,_0x125b5a,_0x1d0e0f,_0x4e6b4b);_0x49bfc4!=null?_0x405c70[_0xcff38(0xe1)]=_0x49bfc4:(this[_0xcff38(0xf7)][_0xcff38(0xdf)](_0x4ccc63,_0x125b5a,_0x1d0e0f,_0x4e6b4b,_0x405c70),this['_dependencyManagerService'][_0xcff38(0xe2)](_0x405c70)),_0x4047e6[_0xcff38(0x10e)](_0x405c70),this[_0xcff38(0x9d)][_0xcff38(0x118)](_0x405c70[_0xcff38(0xe1)],_0x405c70);}),_0xf01006[_0x115b0a(0x149)]();}}}[_0x1200e0(0x141)](_0x33e3c0,_0x66cfb8,_0x3bb6ee,_0x2cb7a7,_0x4ec5db,_0xc663e9){const _0x21bb24=_0x1200e0,{f:_0x1aa6ce,x:_0xe1dd97=0x0,y:_0x28a64e=0x0}=_0xc663e9,_0x26eeb3=new u[(_0x21bb24(0x99))](u[_0x21bb24(0x10d)](this['_dependencyManagerService'])),_0x5c7629=_0x4ec5db[_0x33e3c0][_0x66cfb8];return _0x26eeb3[_0x21bb24(0xd7)]=_0x1aa6ce,_0x26eeb3[_0x21bb24(0x107)]=_0x33e3c0,_0x26eeb3[_0x21bb24(0x13c)]=_0x66cfb8,_0x26eeb3['row']=_0x3bb6ee,_0x26eeb3[_0x21bb24(0x132)]=_0x2cb7a7,_0x26eeb3[_0x21bb24(0x12b)]=_0x5c7629[_0x21bb24(0x12b)],_0x26eeb3[_0x21bb24(0xc1)]=_0x5c7629[_0x21bb24(0xc1)],_0x26eeb3;}[_0x1200e0(0x126)](){const _0x69824d=_0x1200e0,_0x5013f1=[],_0x5c6e61=new Set(),_0x4ffc2a=this[_0x69824d(0xdb)][_0x69824d(0xa7)](),_0x2ea3da=this['_currentConfigService'][_0x69824d(0xb2)](),_0x3d3056=this[_0x69824d(0xf7)]['searchDependency'](_0x2ea3da),_0x4021fd=this[_0x69824d(0x9c)][_0x69824d(0xb0)](_0x2ea3da);for(const _0x4c5882 of _0x4021fd)_0x3d3056['add'](_0x4c5882);for(const [_0x562510,_0x4b50be]of this[_0x69824d(0x9d)])(_0x4ffc2a||_0x4b50be[_0x69824d(0x97)]||_0x4b50be[_0x69824d(0xa3)](this[_0x69824d(0xdb)]['getDirtyNameMap']())||_0x3d3056[_0x69824d(0xd6)](_0x562510)&&!_0x4b50be[_0x69824d(0xb8)](this['_currentConfigService']['getExcludedRange']()))&&!_0x5c6e61[_0x69824d(0xd6)](_0x562510)&&(_0x5013f1[_0x69824d(0x10e)](_0x4b50be),_0x5c6e61[_0x69824d(0xe3)](_0x562510));for(const [_0xb5a48d,_0x27e786]of this['_dependencyTreeCache'])_0x27e786[_0x69824d(0x138)]||(_0x27e786[_0x69824d(0x11d)][_0x69824d(0x9b)]=0x0);return _0x5013f1;}[_0x1200e0(0x13b)](_0x3ff157){const _0x1b024d=_0x1200e0;return this[_0x1b024d(0x9d)][_0x1b024d(0xc9)](_0x3ff157);}[_0x1200e0(0xd2)](_0x2a5f4d){const _0x257eb0=_0x1200e0;return u[_0x257eb0(0xee)](_0x2a5f4d[_0x257eb0(0x107)],_0x2a5f4d[_0x257eb0(0xd7)],this['_lexer'],this[_0x257eb0(0xac)],this[_0x257eb0(0xdb)]);}*[_0x1200e0(0x12d)](_0x37f570,_0x234379){const _0x32b981=_0x1200e0,_0x54d8c3=_0x37f570,_0x10ea8d=new Set();for(;_0x54d8c3['length']>0x0;){const _0x1ffae5=_0x54d8c3[_0x32b981(0xf2)]();if(_0x10ea8d[_0x32b981(0x149)](),_0x1ffae5===void 0x0||_0x1ffae5[_0x32b981(0xe5)]())continue;if(_0x1ffae5['isAdded']()){yield _0x1ffae5,_0x1ffae5['setSkip'](),_0x234379[_0x32b981(0xe3)](_0x1ffae5['treeId']);continue;}const _0x1ca35d=this[_0x32b981(0xf7)][_0x32b981(0x117)](_0x1ffae5[_0x32b981(0x129)](),_0x234379),_0x541b69=this[_0x32b981(0x9c)]['bulkSearch'](_0x1ffae5[_0x32b981(0x129)](),_0x234379);for(const _0x57e8a1 of _0x541b69)_0x1ca35d[_0x32b981(0xe3)](_0x57e8a1);for(const _0x4b13be of _0x1ca35d){const _0x15de5c=this[_0x32b981(0x9d)][_0x32b981(0xc9)](_0x4b13be);if(!_0x15de5c)throw new Error(_0x32b981(0x106));_0x15de5c['isAdded']()||_0x1ffae5[_0x32b981(0xe5)]()||_0x10ea8d['add'](_0x15de5c);}if(_0x1ca35d[_0x32b981(0x149)](),_0x10ea8d[_0x32b981(0x12c)]===0x0)yield _0x1ffae5,_0x1ffae5[_0x32b981(0x135)](),_0x234379[_0x32b981(0xe3)](_0x1ffae5[_0x32b981(0xe1)]);else{_0x1ffae5[_0x32b981(0xad)](),_0x54d8c3[_0x32b981(0x10e)](_0x1ffae5);for(const _0x100f03 of _0x10ea8d)_0x54d8c3['push'](_0x100f03);}}_0x54d8c3[_0x32b981(0x9b)]=0x0,_0x10ea8d[_0x32b981(0x149)]();}[_0x1200e0(0xd5)](_0x12f20a){const _0x4dfa40=_0x1200e0,_0x5f2514=[],_0x1affb1=new Set();for(const _0x6b89b7 of this[_0x4dfa40(0x12d)](_0x12f20a,_0x1affb1))_0x5f2514['push'](_0x6b89b7);return _0x5f2514;}}function _0x3a4d(){const _0x152738=['next','getSheetFeatureLimit','IDLE','9wqQdaV','_injector','isExcludeRange','toStringTag','setRuntimeFeatureCellData','refTree','call','Module','openKdTree','setTotalFormulasToCalculate','@univerjs/core','columnCount','checkAsyncNode','defineProperty','_isCyclicUtilMap','endRow','getFormulaDependency','_config','ObjectMatrix','get','_definedNameMap','dispose','UniverProFormulaEnginePlugin','getDirtyData','setValue','unshiftString','setCompletedArrayFormulasCount','setTotalArrayFormulasToCalculate','_getTreeNode','startColumn','getFormulaData','_calculateRunList','has','formula','isStopExecution','LS_CONFIG_KEY','DependencyManagerService','_currentConfigService','refOffsetX','intervalCount','featureDirtyRanges','addFormulaDependency','return\x20','treeId','addFormulaDependencyByDefinedName','add','requestImmediateMacroTask','isSkip','_featureFormulaData','getClearDependencyTreeCache','_otherFormulaData','START_CALCULATION','getFeatureFormulaDependency','IDependencyManagerService','removeFormulaDependencyByDefinedName','forEach','generateAstNode','getOwnPropertyDescriptor','CalculateFormulaService','FEATURE_FORMULA','pop','_restDependencyTreeId','keys','setRuntimeOtherData','FormulaDependencyTreeType','_dependencyManagerService','setRuntimeData','markedAsNoFunctionsExecuted','Di7PE047\x20NvPakXE047(y0Pv7tv,\x20Xiuy0Phvk)\x20{\x20\x20\x20\x20Eak\x20{\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20y0Pv7tv17D4CpaEgaapk\x20=\x20y0Pv7tv.tXy0E(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x204a0n07Vvttpnv\x20=\x20eJ6H.Xpatv(pE4u(y0Pv7tv17D4CpaEgaapk[o]));\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!4a0n07Vvttpnv.iN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204a0n07Vvttpnv.iN\x20=\x20HiMuva(y0Pv7tv17D4CpaEgaapk[c]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x200t54aWva\x20=\x20EkXv4D\x2054aWvaqy4upyJP4Xv\x20!==\x20\x27i7NvD07vN\x27\x20&&\x20tvyD\x2007tEp7Pv4D\x2054aWvaqy4upyJP4Xv;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20P47Ev2E\x20=\x200t54aWva\x20?\x20tvyD\x20:\x20I07N4I;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[o]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(Mvttpnv54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[3]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(t0n7pEiav54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7Ypy0N\x20=\x20P47Ev2E.__8va0Dk__(t0n7pEiav,\x20Mvttpnv,\x20Xiuy0Phvk);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20N4Mp07\x20=\x204a0n07Vvttpnv.NM;\x20\x20\x20\x20\x20\x20\x20\x20Di7PE047\x200tF4Mp07VpEPS07n(4CpEEva7,\x204j4tE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7\x20=\x204CpEEva7.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tE\x20=\x204j4tE.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7CpaEt\x20=\x20XpEEva7.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tECpaEt\x20=\x20S4tE.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!XpEEva7.07PyiNvt(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7\x20===\x20S4tE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(XpEEva7CpaEt.yv7nES\x20<\x20o\x20||\x20XpEEva7CpaEt[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20Dpytv;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7JiDD02\x20=\x20XpEEva7CpaEt.ty0Pv(b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tEJiDD02\x20=\x20S4tECpaEt.ty0Pv(-XpEEva7CpaEt.yv7nES\x20+\x20b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7JiDD02\x20===\x20S4tEJiDD02;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yvE\x20N4Mp07Ypy0N\x20=\x20(N4Mp07\x20&&\x20N4Mp07.yv7nES)\x20?\x20N4Mp07.t4Mv((NM1EvM)\x20=>\x200tF4Mp07VpEPS07n(NM1EvM,\x20y4PpE047.S4tE7pMv))\x20:\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x200D\x20(y4PpE047.S4tE7pMv\x20===\x20\x27y4PpyS4tE\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N4Mp07Ypy0N\x20=\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x208py0N\x20=\x20t0n7Ypy0N\x20&&\x20N4Mp07Ypy0N;\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x204a0n07Vvttpnv,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20PpEPS\x20(vaa4a)\x20{\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N:\x20Dpytv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clearOtherFormulaDependency','_interpreter','_dependencyRTreeCache','10MvlOOE','_executionCompleteListener$','getAllRuntimeData','_configService','removeFormulaDependency','addFeatureFormulaDependency','_addAllTreeMap','16ZvSIJN','ParentDependencyTree\x20object\x20is\x20null','unitId','isFeatureAuthorizedWithinTime','delete','addOtherFormulaDependencyMainData','message','row','generateRandomDependencyTreeId','push','clearFeatureFormulaDependency','_removeDependencyRTreeCache','ICalculateFormulaService','219530lDNbSf','DependencyManagerBaseService','min','bulkRemove','19575yFblXg','searchDependency','set','FormulaExecuteStageType','removeFeatureFormulaDependency','node','6227011CTioBz','rangeList','_executionInProgressListener$','clearFormulaDependency','_formulaData','131aBcIWD','setFormulaExecuteStage','isCache','setCurrent','executeAsync','_getUpdateTreeListAndMakeDependency','realDeleteValue','getOtherFormulaData','toRTreeItem','1757010dWrPtp','rowCount','size','_traverse','START_DEPENDENCY_ARRAY_FORMULA','getOtherFormulaDependency','notExecuteFormula','getValue','column','enableCycleDependency','_convertDirtyRangesToUnitRange','setSkip','formulaId','_checkIsCycleDependency','isVirtual','_registerOtherFormulas','getConfig','_getTreeById','subUnitId','refOffsetY','_apply','3218doQskH','_otherFormulaDataMainData','_createFDtree','dirtyRanges','forValue','startRow','markedAsSuccessfullyExecuted','UniverFormulaEnginePlugin','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','_otherFormulaManagerService','clear','symbol','getRuntimeState','CURRENTLY_CALCULATING_ARRAY_FORMULA','RTree','IFormulaDependencyGenerator','hasOwnProperty','_removeDependencyRTreeCacheById','_runtimeService','getUnitData','OTHER_FORMULA','default','FormulaDependencyGenerator','endColumn','valid','max','generate','parseInt','markedAsStopFunctionsExecuted','_getFirstCellOfRange','isDirty','type','FormulaDependencyTree','START_DEPENDENCY','length','_dependencyRTreeCacheForAddressFunction','_dependencyTreeCache','_registerFormulas','_allTreeMap','addOtherFormulaDependency','removeOtherFormulaDependency','6186952rpwOzq','dependencySheetName','hasOtherFormulaDataMainData','featureId','reset','isForceCalculate','CURRENTLY_CALCULATING','_removeAllTreeMap','2575188QkUrCw','_updateRangeFlatten','_astTreeBuilder','setAdded','_lexer','START_CALCULATION_ARRAY_FORMULA','bulkSearch','closeKdTree','getDirtyRanges'];_0x3a4d=function(){return _0x152738;};return _0x3a4d();}class j extends u[_0x1200e0(0xf0)]{async[_0x1200e0(0x13e)](_0x51633a=!0x1){const _0x4d7b45=_0x1200e0;_0x51633a?this[_0x4d7b45(0x151)][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0x12e)]):this[_0x4d7b45(0x151)][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0x9a)]),this[_0x4d7b45(0x11e)][_0x4d7b45(0xb3)](this[_0x4d7b45(0x151)][_0x4d7b45(0x14b)]());const _0x32dd10=await this['_formulaDependencyGenerator'][_0x4d7b45(0x159)](),_0x13973e=this[_0x4d7b45(0xfc)];_0x51633a?(this[_0x4d7b45(0x151)]['setFormulaExecuteStage'](u[_0x4d7b45(0x119)][_0x4d7b45(0xaf)]),this['_runtimeService'][_0x4d7b45(0xd1)](_0x32dd10[_0x4d7b45(0x9b)])):(this[_0x4d7b45(0x151)][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0xe9)]),this[_0x4d7b45(0x151)][_0x4d7b45(0xbf)](_0x32dd10[_0x4d7b45(0x9b)])),this['_executionInProgressListener$'][_0x4d7b45(0xb3)](this[_0x4d7b45(0x151)][_0x4d7b45(0x14b)]());let _0x136828=[];const _0x18f1ac=this[_0x4d7b45(0x101)][_0x4d7b45(0x13a)](u[_0x4d7b45(0x147)]),_0x31e412=(_0x18f1ac==null?void 0x0:_0x18f1ac[_0x4d7b45(0xdd)])||u['DEFAULT_INTERVAL_COUNT'];let _0x25ffb=0x0;const _0x26dc7f=_0x32dd10[_0x4d7b45(0x9b)];for(;_0x32dd10[_0x4d7b45(0x9b)]>0x0;){const _0x461ce6=_0x32dd10['pop'](),_0x23b9ea={'node':u[_0x4d7b45(0xee)](_0x461ce6[_0x4d7b45(0x107)],_0x461ce6['formula'],this[_0x4d7b45(0xae)],this['_astTreeBuilder'],this[_0x4d7b45(0xdb)]),'refOffsetX':_0x461ce6[_0x4d7b45(0xdc)],'refOffsetY':_0x461ce6['refOffsetY']},_0xb979d3=_0x461ce6[_0x4d7b45(0xcd)];if(_0x25ffb%_0x31e412===0x0&&(await new Promise(_0x32d0d8=>{const _0x553abd=_0x4d7b45,_0x39f350=C[_0x553abd(0xe4)](_0x32d0d8);_0x136828[_0x553abd(0x10e)](_0x39f350);}),_0x51633a?(this['_runtimeService'][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0x14c)]),this[_0x4d7b45(0x151)][_0x4d7b45(0xd0)](_0x25ffb+0x1)):(this['_runtimeService'][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0xa8)]),this[_0x4d7b45(0x151)]['setCompletedFormulasCount'](_0x25ffb+0x1)),this[_0x4d7b45(0x11e)][_0x4d7b45(0xb3)](this[_0x4d7b45(0x151)][_0x4d7b45(0x14b)]()),this[_0x4d7b45(0x151)][_0x4d7b45(0xd8)]()||_0x23b9ea==null&&_0xb979d3==null)){this['_runtimeService'][_0x4d7b45(0x122)](u[_0x4d7b45(0x119)][_0x4d7b45(0xb5)]),this[_0x4d7b45(0x151)][_0x4d7b45(0x15b)](),this[_0x4d7b45(0xff)]['next'](this[_0x4d7b45(0x151)][_0x4d7b45(0x100)]());return;}this[_0x4d7b45(0x151)][_0x4d7b45(0x124)](_0x461ce6[_0x4d7b45(0x10c)],_0x461ce6['column'],_0x461ce6['rowCount'],_0x461ce6[_0x4d7b45(0xc1)],_0x461ce6[_0x4d7b45(0x13c)],_0x461ce6[_0x4d7b45(0x107)]);let _0x33d996;if(_0xb979d3!=null&&_0x461ce6[_0x4d7b45(0xa5)]!=null){const {runtimeCellData:_0x5b5710,dirtyRanges:_0x5ea19f}=_0xb979d3(this[_0x4d7b45(0xdb)][_0x4d7b45(0xcd)](),this[_0x4d7b45(0x151)][_0x4d7b45(0x100)]());this[_0x4d7b45(0x151)][_0x4d7b45(0xba)](_0x461ce6['featureId'],_0x5b5710),this[_0x4d7b45(0x151)]['setRuntimeFeatureRange'](_0x461ce6['featureId'],_0x5ea19f);}else _0x23b9ea!=null&&(_0x13973e[_0x4d7b45(0xc2)](_0x23b9ea[_0x4d7b45(0x11b)])?_0x33d996=await _0x13973e[_0x4d7b45(0x125)](_0x23b9ea):_0x33d996=_0x13973e['execute'](_0x23b9ea),_0x461ce6[_0x4d7b45(0x136)]!=null?this['_runtimeService'][_0x4d7b45(0xf5)](_0x461ce6[_0x4d7b45(0x136)],_0x461ce6[_0x4d7b45(0xdc)],_0x461ce6['refOffsetY'],_0x33d996):this[_0x4d7b45(0x151)][_0x4d7b45(0xf8)](_0x33d996));_0x25ffb++;}return _0x136828[_0x4d7b45(0xed)](_0x5d7bc3=>_0x5d7bc3()),_0x136828=[],_0x26dc7f>0x0?this[_0x4d7b45(0x151)][_0x4d7b45(0x145)]():_0x51633a||this[_0x4d7b45(0x151)][_0x4d7b45(0xf9)](),this[_0x4d7b45(0x151)]['getAllRuntimeData']();}}class G extends u[_0x1200e0(0x113)]{constructor(){const _0x347ddf=_0x1200e0;super(...arguments),T(this,_0x347ddf(0x9f),new Map()),T(this,_0x347ddf(0xfd),new C[(_0x347ddf(0x14d))](!0x0));}[_0x1200e0(0xa6)](){const _0x1b70f9=_0x1200e0;this[_0x1b70f9(0xe8)][_0x1b70f9(0x149)](),this[_0x1b70f9(0xe6)][_0x1b70f9(0x149)](),this['_formulaData'][_0x1b70f9(0x149)](),this['_dependencyRTreeCache'][_0x1b70f9(0x149)](),this[_0x1b70f9(0x9f)]['clear'](),this[_0x1b70f9(0xf3)](),this['_otherFormulaDataMainData']['clear']();}[_0x1200e0(0xa0)](_0x30ca7d,_0x95f8e0,_0x52a52f,_0x3625f5){const _0x484f85=_0x1200e0;this[_0x484f85(0xe8)][_0x484f85(0xd6)](_0x30ca7d)||this['_otherFormulaData']['set'](_0x30ca7d,new Map());const _0x435b78=this[_0x484f85(0xe8)][_0x484f85(0xc9)](_0x30ca7d);_0x435b78['has'](_0x95f8e0)||_0x435b78[_0x484f85(0x118)](_0x95f8e0,new Map());const _0xff9efb=_0x435b78[_0x484f85(0xc9)](_0x95f8e0);_0xff9efb[_0x484f85(0xd6)](_0x52a52f)||_0xff9efb[_0x484f85(0x118)](_0x52a52f,new C[(_0x484f85(0xc8))]()),_0xff9efb['get'](_0x52a52f)[_0x484f85(0xce)](_0x3625f5[_0x484f85(0xdc)],_0x3625f5['refOffsetY'],_0x3625f5[_0x484f85(0xe1)]);}[_0x1200e0(0xa1)](_0x55411e,_0x4a5ff9,_0x154e8e){const _0x510810=_0x1200e0,_0x126019=this['_otherFormulaData']['get'](_0x55411e);if(_0x126019&&_0x126019[_0x510810(0xd6)](_0x4a5ff9)){const _0x24ae0a=_0x126019[_0x510810(0xc9)](_0x4a5ff9);_0x154e8e[_0x510810(0xed)](_0x45d998=>{const _0x4f31c0=_0x510810,_0x51aa85=_0x24ae0a[_0x4f31c0(0xc9)](_0x45d998);_0x51aa85!=null&&(_0x51aa85['forValue']((_0x123198,_0x3200f0,_0x4e6a85)=>{const _0x471a3c=_0x4f31c0;this[_0x471a3c(0x110)](_0x4e6a85),this[_0x471a3c(0xa9)](_0x4e6a85);}),_0x24ae0a[_0x4f31c0(0x109)](_0x45d998),this['_otherFormulaDataMainData'][_0x4f31c0(0x109)](_0x45d998));}),_0x24ae0a['size']===0x0&&_0x126019['delete'](_0x4a5ff9),_0x126019['size']===0x0&&this[_0x510810(0xe8)][_0x510810(0x109)](_0x55411e);}}[_0x1200e0(0xfb)](_0x43629f,_0x389604){const _0x54d717=_0x1200e0,_0x569c80=this['_otherFormulaData']['get'](_0x43629f);if(_0x389604&&_0x569c80&&_0x569c80[_0x54d717(0xd6)](_0x389604)){const _0x12601a=_0x569c80[_0x54d717(0xc9)](_0x389604);this['_removeDependencyRTreeCacheById'](_0x43629f,_0x389604);for(const _0x3e2bba of _0x12601a[_0x54d717(0xf4)]()){const _0x58aa65=_0x12601a[_0x54d717(0xc9)](_0x3e2bba);_0x58aa65!=null&&(_0x58aa65[_0x54d717(0x143)]((_0xfaed8f,_0x263b80,_0x23f165)=>{const _0x19b05b=_0x54d717;this[_0x19b05b(0x9f)]['get'](_0x23f165)&&this[_0x19b05b(0xa9)](_0x23f165);}),this[_0x54d717(0x140)][_0x54d717(0x109)](_0x3e2bba));}_0x12601a[_0x54d717(0x149)]();}else{if(_0x569c80){for(const _0x20bf0b of _0x569c80[_0x54d717(0xf4)]()){const _0x2d3fe5=_0x569c80[_0x54d717(0xc9)](_0x20bf0b);this['_removeDependencyRTreeCacheById'](_0x43629f,_0x20bf0b);for(const _0x11a6aa of _0x2d3fe5['keys']()){const _0x347aa9=_0x2d3fe5[_0x54d717(0xc9)](_0x11a6aa);_0x347aa9!=null&&(_0x347aa9[_0x54d717(0x143)]((_0x2e5a47,_0x24813c,_0x95dd89)=>{const _0x251b8c=_0x54d717;this[_0x251b8c(0x9f)][_0x251b8c(0xc9)](_0x95dd89)&&this[_0x251b8c(0xa9)](_0x95dd89);}),this['_otherFormulaDataMainData']['delete'](_0x11a6aa));}}this[_0x54d717(0xe8)][_0x54d717(0x109)](_0x43629f);}}}[_0x1200e0(0x103)](_0x2c98eb,_0x46b395,_0x199e8e,_0x12875c){const _0x492200=_0x1200e0;this[_0x492200(0xe6)]['has'](_0x2c98eb)||this[_0x492200(0xe6)][_0x492200(0x118)](_0x2c98eb,new Map());const _0x11f7e9=this[_0x492200(0xe6)][_0x492200(0xc9)](_0x2c98eb);_0x11f7e9[_0x492200(0xd6)](_0x46b395)||_0x11f7e9[_0x492200(0x118)](_0x46b395,new Map()),_0x11f7e9['get'](_0x46b395)[_0x492200(0x118)](_0x199e8e,_0x12875c['treeId']);}[_0x1200e0(0x11a)](_0x3ed632,_0x5b7499,_0x58fa47){const _0x2fabae=_0x1200e0,_0x5a0ab0=this['_featureFormulaData']['get'](_0x3ed632);if(_0x5a0ab0&&_0x5a0ab0[_0x2fabae(0xd6)](_0x5b7499)){const _0x39bfbb=_0x5a0ab0[_0x2fabae(0xc9)](_0x5b7499);_0x58fa47[_0x2fabae(0xed)](_0x23c9c4=>{const _0x40770e=_0x2fabae,_0x1d576d=_0x39bfbb['get'](_0x23c9c4);_0x1d576d!=null&&(this[_0x40770e(0x110)](_0x1d576d),_0x39bfbb['delete'](_0x23c9c4),this[_0x40770e(0xa9)](_0x1d576d));});}}['clearFeatureFormulaDependency'](_0x5afc5f,_0x5cdc4a){const _0x4b91cc=_0x1200e0,_0x48ccca=this['_featureFormulaData'][_0x4b91cc(0xc9)](_0x5afc5f);if(_0x5cdc4a&&_0x48ccca&&_0x48ccca[_0x4b91cc(0xd6)](_0x5cdc4a)){const _0x344480=_0x48ccca[_0x4b91cc(0xc9)](_0x5cdc4a);this[_0x4b91cc(0x150)](_0x5afc5f,_0x5cdc4a),_0x344480['forEach'](_0x4a7fa5=>{const _0x267c12=_0x4b91cc;_0x4a7fa5!=null&&this[_0x267c12(0xa9)](_0x4a7fa5);}),_0x344480[_0x4b91cc(0x149)]();}else _0x48ccca&&(_0x48ccca[_0x4b91cc(0xed)]((_0x5c07d8,_0x17e7ca)=>{const _0x2af488=_0x4b91cc;this[_0x2af488(0x150)](_0x5afc5f,_0x17e7ca),_0x5c07d8[_0x2af488(0xed)](_0x3f04b2=>{const _0x46df74=_0x2af488;_0x3f04b2!=null&&this[_0x46df74(0xa9)](_0x3f04b2);});}),this['_featureFormulaData'][_0x4b91cc(0x109)](_0x5afc5f));}[_0x1200e0(0xdf)](_0x474069,_0x4fa8b6,_0x512936,_0x2e3685,_0x4bd377){const _0x46177e=_0x1200e0;this[_0x46177e(0x120)][_0x46177e(0xd6)](_0x474069)||this['_formulaData'][_0x46177e(0x118)](_0x474069,new Map());const _0x57f06f=this[_0x46177e(0x120)][_0x46177e(0xc9)](_0x474069);_0x57f06f[_0x46177e(0xd6)](_0x4fa8b6)||_0x57f06f['set'](_0x4fa8b6,new C['ObjectMatrix']()),_0x57f06f[_0x46177e(0xc9)](_0x4fa8b6)['setValue'](_0x512936,_0x2e3685,_0x4bd377[_0x46177e(0xe1)]);}[_0x1200e0(0x102)](_0x5b4ba2,_0x1523f9,_0x21f09b,_0x51d9d5){const _0x3ff215=_0x1200e0,_0x2ddb6b=this[_0x3ff215(0x120)][_0x3ff215(0xc9)](_0x5b4ba2);if(_0x2ddb6b&&_0x2ddb6b[_0x3ff215(0xd6)](_0x1523f9)){const _0x8b5276=_0x2ddb6b['get'](_0x1523f9),_0x20d007=_0x8b5276['getValue'](_0x21f09b,_0x51d9d5);if(_0x20d007==null)return;this[_0x3ff215(0x110)](_0x20d007),_0x8b5276[_0x3ff215(0x127)](_0x21f09b,_0x51d9d5),this['_removeAllTreeMap'](_0x20d007);}}[_0x1200e0(0x11f)](_0x22849c,_0x149f8c){const _0x55e668=_0x1200e0,_0x41ed89=this['_formulaData']['get'](_0x22849c);if(_0x149f8c&&_0x41ed89&&_0x41ed89[_0x55e668(0xd6)](_0x149f8c)){const _0x10aad4=_0x41ed89[_0x55e668(0xc9)](_0x149f8c);this[_0x55e668(0x150)](_0x22849c,_0x149f8c),_0x10aad4[_0x55e668(0x143)]((_0x3d8488,_0x3b7667,_0x32cc4a)=>{const _0x1a1f2d=_0x55e668;if(_0x32cc4a==null)return!0x0;this[_0x1a1f2d(0xa9)](_0x32cc4a);}),_0x10aad4[_0x55e668(0xa6)]();}else _0x41ed89&&(_0x41ed89[_0x55e668(0xed)]((_0x27d47c,_0x5e187a)=>{const _0x1fc4c7=_0x55e668;this[_0x1fc4c7(0x150)](_0x22849c,_0x5e187a),_0x27d47c[_0x1fc4c7(0x143)]((_0x1a992d,_0x5510b5,_0x49caba)=>{if(_0x49caba==null)return!0x0;this['_removeAllTreeMap'](_0x49caba);});}),this[_0x55e668(0x120)]['delete'](_0x22849c));}[_0x1200e0(0x110)](_0x43f5f3){const _0x57963a=_0x1200e0;if(_0x43f5f3==null)return;const _0x383960=this[_0x57963a(0x9f)][_0x57963a(0xc9)](_0x43f5f3);if(_0x383960){const _0x9b6d8e=[];for(const [_0x5d5990,_0x5d7851]of _0x383960)for(const [_0x1a1358,_0x303dd7]of _0x5d7851)_0x9b6d8e[_0x57963a(0x10e)]({'unitId':_0x5d5990,'sheetId':_0x1a1358,'range':_0x303dd7,'id':_0x43f5f3});this[_0x57963a(0xfd)][_0x57963a(0x115)](_0x9b6d8e);}}[_0x1200e0(0xec)](_0x2ba3a4,_0x6ed988){const _0x39afb3=_0x1200e0,_0x5e699c=this[_0x39afb3(0xca)][_0x39afb3(0xc9)](_0x2ba3a4);if(_0x5e699c){const _0x258e3e=_0x5e699c[_0x39afb3(0xc9)](_0x6ed988);if(_0x258e3e){for(const _0x9d83fc of _0x258e3e)this['_removeDependencyRTreeCache'](_0x9d83fc),this[_0x39afb3(0xa9)](_0x9d83fc);_0x258e3e['clear']();}}}[_0x1200e0(0xbe)](){const _0x5db5d5=_0x1200e0;this[_0x5db5d5(0xfd)][_0x5db5d5(0xbe)]();}[_0x1200e0(0xb1)](){const _0xb21bc0=_0x1200e0;this[_0xb21bc0(0xfd)][_0xb21bc0(0xb1)]();}[_0x1200e0(0xa9)](_0x304e97){const _0x48cb57=_0x1200e0;_0x304e97!=null&&this[_0x48cb57(0x9f)][_0x48cb57(0x109)](_0x304e97);}[_0x1200e0(0x104)](_0x6325bf){const _0x20365e=_0x1200e0;var _0x58f60f,_0x4d4474;const _0x8d7e97=_0x6325bf[_0x20365e(0x11d)];let _0x4ad8b6=this[_0x20365e(0x9f)][_0x20365e(0xc9)](_0x6325bf['treeId']);for(let _0x30d11f=0x0;_0x30d11f<_0x8d7e97[_0x20365e(0x9b)];_0x30d11f++){const _0x4e4955=_0x8d7e97[_0x30d11f];let {unitId:_0x2806e6,sheetId:_0x73243c,range:_0x7cf0f8}=_0x4e4955;_0x4ad8b6||(_0x4ad8b6=new Map(),this[_0x20365e(0x9f)][_0x20365e(0x118)](_0x6325bf[_0x20365e(0xe1)],_0x4ad8b6)),_0x4ad8b6['has'](_0x2806e6)||_0x4ad8b6[_0x20365e(0x118)](_0x2806e6,new Map());const _0x16b4a8=(_0x58f60f=_0x4ad8b6==null?void 0x0:_0x4ad8b6[_0x20365e(0xc9)](_0x2806e6))==null?void 0x0:_0x58f60f[_0x20365e(0xc9)](_0x73243c);_0x16b4a8&&(_0x7cf0f8={'startRow':Math[_0x20365e(0x114)](_0x7cf0f8[_0x20365e(0x144)],_0x16b4a8[_0x20365e(0x144)]),'startColumn':Math[_0x20365e(0x114)](_0x7cf0f8[_0x20365e(0xd3)],_0x16b4a8[_0x20365e(0xd3)]),'endRow':Math['max'](_0x7cf0f8['endRow'],_0x16b4a8[_0x20365e(0xc5)]),'endColumn':Math[_0x20365e(0x158)](_0x7cf0f8[_0x20365e(0x156)],_0x16b4a8[_0x20365e(0x156)])}),(_0x4d4474=_0x4ad8b6[_0x20365e(0xc9)](_0x2806e6))==null||_0x4d4474[_0x20365e(0x118)](_0x73243c,_0x7cf0f8);}}}var K=Object[_0x1200e0(0xef)],W=(_0x4015fb,_0x3b3833,_0x447bac,_0x31a927)=>{const _0x4da56f=_0x1200e0;for(var _0x4f953f=_0x31a927>0x1?void 0x0:_0x31a927?K(_0x3b3833,_0x447bac):_0x3b3833,_0x58ff4d=_0x4015fb[_0x4da56f(0x9b)]-0x1,_0x5b2c78;_0x58ff4d>=0x0;_0x58ff4d--)(_0x5b2c78=_0x4015fb[_0x58ff4d])&&(_0x4f953f=_0x5b2c78(_0x4f953f)||_0x4f953f);return _0x4f953f;};const H=Number[_0x1200e0(0x15a)](0x67f1fb3f);exports[_0x1200e0(0xcc)]=class extends u[_0x1200e0(0x146)]{['_initializeWithOverride'](){const _0x5e7fea=_0x1200e0;var _0x39a0b3,_0x54de8e;this['_initLicenseValid']()?(_0x39a0b3=this[_0x5e7fea(0xc7)])!=null&&_0x39a0b3[_0x5e7fea(0x130)]||[[u[_0x5e7fea(0x111)],{'useClass':j}],[u['IDependencyManagerService'],{'useClass':G}],[u['IFormulaDependencyGenerator'],{'useClass':B}]][_0x5e7fea(0xed)](_0x1e6374=>this[_0x5e7fea(0xb7)][_0x5e7fea(0xe3)](_0x1e6374)):(_0x54de8e=this[_0x5e7fea(0xc7)])!=null&&_0x54de8e[_0x5e7fea(0x130)]||[[u[_0x5e7fea(0x111)],{'useClass':u[_0x5e7fea(0xf0)]}],[u[_0x5e7fea(0xeb)],{'useClass':u[_0x5e7fea(0xda)]}],[u[_0x5e7fea(0x14e)],{'useClass':u[_0x5e7fea(0x155)]}]][_0x5e7fea(0xed)](_0x294a58=>this[_0x5e7fea(0xb7)]['add'](_0x294a58));}['_initLicenseValid'](){const _0x3cb6c9=_0x1200e0;var _0x4229e7;const _0xb5bf77=(_0x4229e7=this[_0x3cb6c9(0x101)][_0x3cb6c9(0x13a)](M[_0x3cb6c9(0xd9)]))!=null?_0x4229e7:{},{ls:_0x2ad18f,pbk:_0x5378ee}=_0xb5bf77;if(!_0x2ad18f||!_0x5378ee)return!0x1;const _0x114116=M[_0x3cb6c9(0xcf)](Y,V),_0x789753=new Function(_0x3cb6c9(0xe0)+_0x114116)()(_0x2ad18f,_0x5378ee),_0x21a33b=_0x789753[_0x3cb6c9(0x10b)];return _0x789753[_0x3cb6c9(0x157)]&&M[_0x3cb6c9(0x108)](_0x21a33b,'sf',H)?M[_0x3cb6c9(0xb4)](_0x21a33b,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=W([C['DependentOn'](M['UniverLicensePlugin'])],exports[_0x1200e0(0xcc)]),Object[_0x1200e0(0xf4)](u)[_0x1200e0(0xed)](_0x40254c=>{const _0x56deb0=_0x1200e0;_0x40254c!==_0x56deb0(0x154)&&!Object['prototype'][_0x56deb0(0x14f)][_0x56deb0(0xbc)](exports,_0x40254c)&&Object[_0x56deb0(0xc3)](exports,_0x40254c,{'enumerable':!0x0,'get':()=>u[_0x40254c]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1e8d(_0x43f84e,_0x428be1){var _0x5d8765=_0x5d87();return _0x1e8d=function(_0x1e8dd6,_0x2f9ced){_0x1e8dd6=_0x1e8dd6-0x123;var _0x5e9e85=_0x5d8765[_0x1e8dd6];return _0x5e9e85;},_0x1e8d(_0x43f84e,_0x428be1);}(function(_0x153a34,_0x5adce2){var _0x86d2d4=_0x1e8d,_0x2ef2b3=_0x153a34();while(!![]){try{var _0x3dc5f1=-parseInt(_0x86d2d4(0x123))/0x1+parseInt(_0x86d2d4(0x127))/0x2+parseInt(_0x86d2d4(0x124))/0x3*(parseInt(_0x86d2d4(0x126))/0x4)+-parseInt(_0x86d2d4(0x125))/0x5*(parseInt(_0x86d2d4(0x12c))/0x6)+parseInt(_0x86d2d4(0x129))/0x7+parseInt(_0x86d2d4(0x12b))/0x8+parseInt(_0x86d2d4(0x12a))/0x9*(-parseInt(_0x86d2d4(0x128))/0xa);if(_0x3dc5f1===_0x5adce2)break;else _0x2ef2b3['push'](_0x2ef2b3['shift']());}catch(_0x3ba7bc){_0x2ef2b3['push'](_0x2ef2b3['shift']());}}}(_0x5d87,0x41296));export*from'@univerjs/engine-formula/facade';function _0x5d87(){var _0x636782=['10tiKZJQ','1439270WgqEtp','4867209vYWBSk','2251648EBXWoW','24myqxWL','82840XflCAU','20472JErUpN','181870veGBXl','48JSOiJA','934170NjjbRc'];_0x5d87=function(){return _0x636782;};return _0x5d87();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f8138=_0x448f;function _0x448f(_0x3fb5f8,_0x372ec2){const _0x37f812=_0x37f8();return _0x448f=function(_0x448fc7,_0x1ab8da){_0x448fc7=_0x448fc7-0x1db;let _0x1e1dfa=_0x37f812[_0x448fc7];return _0x1e1dfa;},_0x448f(_0x3fb5f8,_0x372ec2);}(function(_0x475436,_0x384fcb){const _0x3c8a54=_0x448f,_0x2e500f=_0x475436();while(!![]){try{const _0x3727d8=-parseInt(_0x3c8a54(0x218))/0x1+-parseInt(_0x3c8a54(0x228))/0x2*(-parseInt(_0x3c8a54(0x25b))/0x3)+-parseInt(_0x3c8a54(0x25d))/0x4*(parseInt(_0x3c8a54(0x1eb))/0x5)+parseInt(_0x3c8a54(0x236))/0x6+-parseInt(_0x3c8a54(0x211))/0x7*(parseInt(_0x3c8a54(0x22a))/0x8)+parseInt(_0x3c8a54(0x1f9))/0x9+-parseInt(_0x3c8a54(0x269))/0xa;if(_0x3727d8===_0x384fcb)break;else _0x2e500f['push'](_0x2e500f['shift']());}catch(_0x1110ea){_0x2e500f['push'](_0x2e500f['shift']());}}}(_0x37f8,0x79c71));var z=Object[_0x1f8138(0x203)],W=(_0x4a747b,_0x41744d,_0x22cdca)=>_0x41744d in _0x4a747b?z(_0x4a747b,_0x41744d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22cdca}):_0x4a747b[_0x41744d]=_0x22cdca,T=(_0x56f9c8,_0x3c3db1,_0x5c66a8)=>W(_0x56f9c8,typeof _0x3c3db1!=_0x1f8138(0x21b)?_0x3c3db1+'':_0x3c3db1,_0x5c66a8);import{UniverLicensePlugin as _0x322e28,LS_CONFIG_KEY as _0x246301,unshiftString as _0x28e67d,isFeatureAuthorizedWithinTime as _0x47ac6d,getSheetFeatureLimit as _0xf3f376}from'@univerjs-pro/license';import{ObjectMatrix as _0x3a71c1,requestImmediateMacroTask as _0x3b5570,RTree as _0x42247f,DependentOn as _0x319459}from'@univerjs/core';import{FormulaDependencyGenerator as _0x32f891,generateRandomDependencyTreeId as _0x29f821,FormulaDependencyTree as _0x41a9e9,FormulaDependencyTreeType as _0x2d7cdf,FormulaDependencyTreeVirtual as _0x50fe90,generateAstNode as _0x11868c,CalculateFormulaService as _0x28f8f2,FormulaExecuteStageType as _0x1c1849,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xce3d7,DEFAULT_INTERVAL_COUNT as _0x4de222,DependencyManagerBaseService as _0x5c0b1c,UniverFormulaEnginePlugin as _0x20b52a,ICalculateFormulaService as _0x22c75f,IDependencyManagerService as _0x5135d4,IFormulaDependencyGenerator as _0x10a5ff,DependencyManagerService as _0x49ea93}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},ue='0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x32f891{constructor(){const _0x4e3fa9=_0x1f8138;super(...arguments),T(this,_0x4e3fa9(0x1e2),new Map());}[_0x1f8138(0x272)](){const _0x34e9a3=_0x1f8138;super['dispose'](),this[_0x34e9a3(0x1e2)][_0x34e9a3(0x201)]();}async[_0x1f8138(0x24f)](){const _0x2a03e5=_0x1f8138;this[_0x2a03e5(0x264)]();const _0x263cf7=this['_currentConfigService'][_0x2a03e5(0x1e8)](),_0x44354e=this[_0x2a03e5(0x256)][_0x2a03e5(0x261)](),_0x42b219=this[_0x2a03e5(0x246)][_0x2a03e5(0x26d)]();_0x42b219!=null&&Object[_0x2a03e5(0x202)](_0x42b219)[_0x2a03e5(0x24b)](_0x51f9b=>{const _0x354f93=_0x2a03e5;_0x51f9b!=null&&Object[_0x354f93(0x202)](_0x42b219[_0x51f9b])[_0x354f93(0x24b)](_0xeeb0d=>{const _0x3fe53d=_0x354f93;_0xeeb0d!=null&&(this[_0x3fe53d(0x1e6)][_0x3fe53d(0x226)](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFeatureFormulaDependency'](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFormulaDependency'](_0x51f9b,_0xeeb0d));});});const _0x45d2e8=this['_currentConfigService'][_0x2a03e5(0x270)]();await this[_0x2a03e5(0x26a)](_0x263cf7,_0x44354e,_0x45d2e8),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x1f5)]();const _0xeb414c=this['_getUpdateTreeListAndMakeDependency'](),_0x5a6d75=this[_0x2a03e5(0x229)](_0xeb414c);return this['_checkIsCycleDependency'](_0x5a6d75)&&this['_runtimeService'][_0x2a03e5(0x21f)](),this[_0x2a03e5(0x1e2)]['clear'](),this[_0x2a03e5(0x1df)][_0x2a03e5(0x201)](),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x214)](),Promise[_0x2a03e5(0x20c)](_0x5a6d75);}[_0x1f8138(0x23d)](_0x500ed3,_0x59b8bf){const _0x117d2a=_0x1f8138,_0x6bf0da=[_0x500ed3];for(;_0x6bf0da[_0x117d2a(0x238)]>0x0;){const _0x56bfd2=_0x6bf0da[_0x6bf0da[_0x117d2a(0x238)]-0x1];if((_0x59b8bf[_0x117d2a(0x24d)](_0x56bfd2)||0x0)===0x0){_0x59b8bf[_0x117d2a(0x220)](_0x56bfd2,0x1);const _0x565ea4=this['_dependencyTreeCache']['get'](_0x56bfd2);if(_0x565ea4==null){_0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da[_0x117d2a(0x1e7)]();continue;}const _0x349998=this[_0x117d2a(0x1e6)][_0x117d2a(0x1e1)](_0x565ea4[_0x117d2a(0x26f)]());for(const _0x5c06b0 of _0x349998){const _0x50fbde=_0x59b8bf[_0x117d2a(0x24d)](_0x5c06b0)||0x0;if(_0x50fbde===0x1)return!0x0;_0x50fbde===0x0&&_0x6bf0da[_0x117d2a(0x239)](_0x5c06b0);}}else _0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x103cc4){const _0x29482f=_0x1f8138,_0xa210e5=new Map();for(const _0x3f24bf of _0x103cc4)if(!_0xa210e5[_0x29482f(0x215)](_0x3f24bf[_0x29482f(0x23c)])&&this[_0x29482f(0x23d)](_0x3f24bf[_0x29482f(0x23c)],_0xa210e5))return!0x0;return _0xa210e5[_0x29482f(0x201)](),!0x1;}[_0x1f8138(0x210)](_0x56e20f,_0x22052b,_0x2e2354){const _0x54b467=_0x1f8138,{unitId:_0x30a6e7,subUnitId:_0x1add19,dependencyRanges:_0xc3e169,getDirtyData:_0x5803e2}=_0x2e2354,_0x20ce8b=_0x22052b||_0x29f821(this[_0x54b467(0x1e6)]),_0x58a4e1=new _0x41a9e9(_0x20ce8b);_0x58a4e1[_0x54b467(0x1fd)]=_0x30a6e7,_0x58a4e1['subUnitId']=_0x1add19,_0x58a4e1[_0x54b467(0x204)]=_0xc3e169,_0x58a4e1[_0x54b467(0x242)]=_0x5803e2;const _0x33b5e5=_0x5803e2(this[_0x54b467(0x246)][_0x54b467(0x242)](),this[_0x54b467(0x25f)][_0x54b467(0x265)]()),_0x84286f=this['_convertDirtyRangesToUnitRange'](_0x33b5e5[_0x54b467(0x217)]);return _0x58a4e1[_0x54b467(0x1ed)]=_0x84286f,_0x58a4e1['featureId']=_0x56e20f,_0x58a4e1[_0x54b467(0x255)]=_0x2d7cdf[_0x54b467(0x23f)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x30a6e7,_0x1add19,_0x56e20f,_0x58a4e1),this[_0x54b467(0x1e2)]['set'](_0x58a4e1[_0x54b467(0x23c)],_0x58a4e1),this[_0x54b467(0x1e6)][_0x54b467(0x1e9)](_0x2e2354['unitId'],_0x2e2354[_0x54b467(0x234)],_0x56e20f)&&(_0x58a4e1[_0x54b467(0x25c)]=!0x0),_0x58a4e1;}['_registerOtherFormulas'](_0x57833b,_0xb0fc9a,_0x398906){const _0x2cf310=_0x1f8138;var _0x37a16f;for(const _0x51d18b of _0xb0fc9a){const _0x430f80=_0x57833b[_0x51d18b];if(_0x430f80==null)continue;const _0x1053da=Object['keys'](_0x430f80);for(const _0x414171 of _0x1053da){const _0x19bd86=_0x430f80[_0x414171];if(_0x19bd86==null)continue;const _0x2385e9=Object['keys'](_0x19bd86);for(const _0x3fb0c2 of _0x2385e9){const _0xe468a4=this[_0x2cf310(0x1e6)]['hasOtherFormulaDataMainData'](_0x3fb0c2),_0x2e8e50=_0x19bd86[_0x3fb0c2],{f:_0x2bf927,ranges:_0x1ef4f3}=_0x2e8e50;let _0xfa55fd=!0x1;_0xe468a4&&(_0xfa55fd=!0x0);const {firstRow:_0x51121c,firstColumn:_0x2fcb9e}=this[_0x2cf310(0x1e3)](_0x1ef4f3),_0x30bf40=this[_0x2cf310(0x1e6)][_0x2cf310(0x247)](_0x51d18b,_0x414171,_0x3fb0c2),_0x4e2eb4=(_0x37a16f=_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](0x0,0x0))!=null?_0x37a16f:_0x29f821(this[_0x2cf310(0x1e6)]),_0x391e58=new _0x41a9e9(_0x4e2eb4);for(let _0x3dc938=0x0;_0x3dc938<_0x1ef4f3[_0x2cf310(0x238)];_0x3dc938++){const _0x48baaa=_0x1ef4f3[_0x3dc938],{startRow:_0xe6c45a,startColumn:_0x4456ae,endRow:_0x1001d3,endColumn:_0x429d6b}=_0x48baaa;for(let _0x31bd67=_0xe6c45a;_0x31bd67<=_0x1001d3;_0x31bd67++)for(let _0x571a0f=_0x4456ae;_0x571a0f<=_0x429d6b;_0x571a0f++){const _0xfed246=_0x571a0f-_0x2fcb9e,_0x3e9b02=_0x31bd67-_0x51121c;if(_0xfed246===0x0&&_0x3e9b02===0x0){_0x391e58[_0x2cf310(0x252)]=_0x2bf927,_0x391e58['unitId']=_0x51d18b,_0x391e58[_0x2cf310(0x234)]=_0x414171,_0x391e58[_0x2cf310(0x216)]=_0x3fb0c2,_0x391e58[_0x2cf310(0x255)]=_0x2d7cdf['OTHER_FORMULA'],_0x391e58[_0x2cf310(0x25c)]=_0xfa55fd,_0x398906['push'](_0x391e58),this['_dependencyTreeCache'][_0x2cf310(0x220)](_0x391e58[_0x2cf310(0x23c)],_0x391e58),this[_0x2cf310(0x1e6)]['addOtherFormulaDependency'](_0x51d18b,_0x414171,_0x3fb0c2,_0x391e58),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x391e58);continue;}const _0x1f1e24=new _0x50fe90();_0x1f1e24[_0x2cf310(0x23c)]=(_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](_0xfed246,_0x3e9b02))||_0x29f821(this['_dependencyManagerService']),_0x1f1e24['refTree']=_0x391e58,_0x1f1e24[_0x2cf310(0x205)]=_0xfed246,_0x1f1e24[_0x2cf310(0x24a)]=_0x3e9b02,_0x1f1e24['isCache']=_0xfa55fd,this['_dependencyManagerService'][_0x2cf310(0x22d)](_0x51d18b,_0x414171,_0x3fb0c2,_0x1f1e24),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x1f1e24),_0x398906[_0x2cf310(0x239)](_0x1f1e24),this[_0x2cf310(0x1e2)][_0x2cf310(0x220)](_0x1f1e24[_0x2cf310(0x23c)],_0x1f1e24);}}this[_0x2cf310(0x1e6)][_0x2cf310(0x24e)](_0x3fb0c2);}}}}[_0x1f8138(0x230)](_0x2afa8c,_0x42da86,_0x4c517d,_0x3c1c88){const _0x39c027=_0x1f8138;for(const _0x3ae8e1 of _0x2afa8c){const _0x4fb760=_0x42da86[_0x3ae8e1];if(_0x4fb760==null)continue;const _0x280f95=Object[_0x39c027(0x202)](_0x4fb760);for(const _0x2475c0 of _0x280f95){const _0x16b622=new _0x3a71c1(_0x4fb760[_0x2475c0]||{}),_0x10388b=new Map();_0x16b622[_0x39c027(0x223)]((_0x467b19,_0x5975e6,_0x4258e9)=>{const _0x5f3dd4=_0x39c027;if(_0x4258e9==null)return!0x0;const {x:_0x3907e3=0x0,y:_0x4b8ebf=0x0,si:_0xa8b22e}=_0x4258e9;if(!(_0x3907e3===0x0&&_0x4b8ebf===0x0&&_0xa8b22e!=null))return!0x0;const _0x36fd31=this[_0x5f3dd4(0x271)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x4c517d,_0x4258e9),_0x162f0c=this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x1e4)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6);_0x162f0c!=null?_0x36fd31[_0x5f3dd4(0x23c)]=_0x162f0c:(this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x22e)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x36fd31),this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x244)](_0x36fd31)),_0x10388b[_0x5f3dd4(0x220)](_0xa8b22e,_0x36fd31),_0x3c1c88[_0x5f3dd4(0x239)](_0x36fd31),this['_dependencyTreeCache'][_0x5f3dd4(0x220)](_0x36fd31[_0x5f3dd4(0x23c)],_0x36fd31);}),_0x16b622[_0x39c027(0x223)]((_0x415e4e,_0x2c2c8f,_0x1d0533)=>{const _0x5e3151=_0x39c027;if(_0x1d0533==null)return!0x0;const {x:_0x33f4b5=0x0,y:_0x55e4aa=0x0,si:_0x49304a}=_0x1d0533;if(_0x33f4b5===0x0&&_0x55e4aa===0x0&&_0x49304a!=null)return!0x0;let _0x3a54c9;if(_0x49304a&&_0x10388b[_0x5e3151(0x215)](_0x49304a)){const _0x2c8d56=_0x10388b['get'](_0x49304a);_0x3a54c9=this[_0x5e3151(0x24c)](_0x2c8d56,_0x1d0533);}else _0x3a54c9=this[_0x5e3151(0x271)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x4c517d,_0x1d0533);const _0x462f3d=this[_0x5e3151(0x1e6)][_0x5e3151(0x1e4)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f);_0x462f3d!=null?_0x3a54c9[_0x5e3151(0x23c)]=_0x462f3d:(this['_dependencyManagerService'][_0x5e3151(0x22e)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x3a54c9),this[_0x5e3151(0x1e6)][_0x5e3151(0x244)](_0x3a54c9)),_0x3c1c88['push'](_0x3a54c9),this['_dependencyTreeCache']['set'](_0x3a54c9[_0x5e3151(0x23c)],_0x3a54c9);}),_0x10388b[_0x39c027(0x201)]();}}}[_0x1f8138(0x271)](_0x5f0a3d,_0x2e032f,_0x1b19ef,_0x48c18c,_0x129f6d,_0x518d71){const _0x3c059f=_0x1f8138,{f:_0x5dbc5b,x:_0x469407=0x0,y:_0x36d548=0x0}=_0x518d71,_0x2d25a9=new _0x41a9e9(_0x29f821(this[_0x3c059f(0x1e6)])),_0x4dfddf=_0x129f6d[_0x5f0a3d][_0x2e032f];return _0x2d25a9['formula']=_0x5dbc5b,_0x2d25a9[_0x3c059f(0x1fd)]=_0x5f0a3d,_0x2d25a9[_0x3c059f(0x234)]=_0x2e032f,_0x2d25a9[_0x3c059f(0x249)]=_0x1b19ef,_0x2d25a9[_0x3c059f(0x1ee)]=_0x48c18c,_0x2d25a9[_0x3c059f(0x20b)]=_0x4dfddf[_0x3c059f(0x20b)],_0x2d25a9['columnCount']=_0x4dfddf[_0x3c059f(0x26b)],_0x2d25a9;}[_0x1f8138(0x254)](){const _0x18fa9d=_0x1f8138,_0x20b336=[],_0x366eb1=new Set(),_0xd3de73=this[_0x18fa9d(0x246)][_0x18fa9d(0x209)](),_0x4608ed=this[_0x18fa9d(0x246)][_0x18fa9d(0x20e)](),_0x3f55e9=this[_0x18fa9d(0x1e6)][_0x18fa9d(0x1e1)](_0x4608ed),_0x4db3b8=this[_0x18fa9d(0x1df)][_0x18fa9d(0x276)](_0x4608ed);for(const _0x14ee1c of _0x4db3b8)_0x3f55e9[_0x18fa9d(0x1fa)](_0x14ee1c);for(const [_0x445ed2,_0x52976e]of this['_dependencyTreeCache'])(_0xd3de73||_0x52976e[_0x18fa9d(0x1e0)]||_0x52976e[_0x18fa9d(0x241)](this[_0x18fa9d(0x246)]['getDirtyNameMap']())||_0x3f55e9[_0x18fa9d(0x215)](_0x445ed2)&&!_0x52976e[_0x18fa9d(0x1fb)](this[_0x18fa9d(0x246)][_0x18fa9d(0x262)]()))&&!_0x366eb1[_0x18fa9d(0x215)](_0x445ed2)&&(_0x20b336[_0x18fa9d(0x239)](_0x52976e),_0x366eb1['add'](_0x445ed2));for(const [_0x530e6c,_0x5acda5]of this['_dependencyTreeCache'])_0x5acda5[_0x18fa9d(0x213)]||(_0x5acda5[_0x18fa9d(0x204)]['length']=0x0);return _0x20b336;}[_0x1f8138(0x1ff)](_0x301f4e){const _0x259397=_0x1f8138;return this['_dependencyTreeCache'][_0x259397(0x24d)](_0x301f4e);}['_getTreeNode'](_0x56bdb2){const _0x2363e5=_0x1f8138;return _0x11868c(_0x56bdb2[_0x2363e5(0x1fd)],_0x56bdb2[_0x2363e5(0x252)],this[_0x2363e5(0x21e)],this[_0x2363e5(0x22c)],this[_0x2363e5(0x246)]);}*[_0x1f8138(0x20a)](_0x3fbb1c,_0x2cc5e5){const _0xfe030c=_0x1f8138,_0x3fad38=_0x3fbb1c,_0xeade30=new Set();for(;_0x3fad38[_0xfe030c(0x238)]>0x0;){const _0x57e846=_0x3fad38[_0xfe030c(0x1e7)]();if(_0xeade30[_0xfe030c(0x201)](),_0x57e846===void 0x0||_0x57e846[_0xfe030c(0x1f4)]())continue;if(_0x57e846[_0xfe030c(0x206)]()){yield _0x57e846,_0x57e846[_0xfe030c(0x243)](),_0x2cc5e5[_0xfe030c(0x1fa)](_0x57e846[_0xfe030c(0x23c)]);continue;}const _0x391d9e=this['_dependencyManagerService'][_0xfe030c(0x1e1)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5),_0xee63ee=this[_0xfe030c(0x1df)][_0xfe030c(0x276)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5);for(const _0x169934 of _0xee63ee)_0x391d9e['add'](_0x169934);for(const _0xd84a94 of _0x391d9e){const _0x104ad5=this[_0xfe030c(0x1e2)]['get'](_0xd84a94);if(!_0x104ad5)throw new Error(_0xfe030c(0x21a));_0x104ad5[_0xfe030c(0x206)]()||_0x57e846['isSkip']()||_0xeade30[_0xfe030c(0x1fa)](_0x104ad5);}if(_0x391d9e[_0xfe030c(0x201)](),_0xeade30[_0xfe030c(0x1db)]===0x0)yield _0x57e846,_0x57e846['setSkip'](),_0x2cc5e5['add'](_0x57e846['treeId']);else{_0x57e846[_0xfe030c(0x231)](),_0x3fad38[_0xfe030c(0x239)](_0x57e846);for(const _0x42f21a of _0xeade30)_0x3fad38[_0xfe030c(0x239)](_0x42f21a);}}_0x3fad38[_0xfe030c(0x238)]=0x0,_0xeade30[_0xfe030c(0x201)]();}[_0x1f8138(0x229)](_0x262b84){const _0x16d47f=_0x1f8138,_0x3acbc1=[],_0x3ee96e=new Set();for(const _0x2d6a43 of this['_traverse'](_0x262b84,_0x3ee96e))_0x3acbc1[_0x16d47f(0x239)](_0x2d6a43);return _0x3acbc1;}}class he extends _0x28f8f2{async['_apply'](_0x413e39=!0x1){const _0x3a3cd0=_0x1f8138;_0x413e39?this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x248)]),this['_executionInProgressListener$']['next'](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());const _0x43e0ad=await this[_0x3a3cd0(0x1f1)][_0x3a3cd0(0x24f)](),_0xb20f07=this['_interpreter'];_0x413e39?(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x235)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x266)](_0x43e0ad[_0x3a3cd0(0x238)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x1dc)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x225)](_0x43e0ad[_0x3a3cd0(0x238)])),this[_0x3a3cd0(0x1ec)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());let _0x37be27=[];const _0x2f1dcf=this[_0x3a3cd0(0x237)]['getConfig'](_0xce3d7),_0x362b8e=(_0x2f1dcf==null?void 0x0:_0x2f1dcf[_0x3a3cd0(0x253)])||_0x4de222;let _0x161a88=0x0;const _0x49bb10=_0x43e0ad[_0x3a3cd0(0x238)];for(;_0x43e0ad[_0x3a3cd0(0x238)]>0x0;){const _0x5cc1f2=_0x43e0ad['pop'](),_0x55d6bc={'node':_0x11868c(_0x5cc1f2[_0x3a3cd0(0x1fd)],_0x5cc1f2[_0x3a3cd0(0x252)],this[_0x3a3cd0(0x21e)],this[_0x3a3cd0(0x22c)],this[_0x3a3cd0(0x246)]),'refOffsetX':_0x5cc1f2[_0x3a3cd0(0x205)],'refOffsetY':_0x5cc1f2[_0x3a3cd0(0x24a)]},_0xd72c77=_0x5cc1f2['getDirtyData'];if(_0x161a88%_0x362b8e===0x0&&(await new Promise(_0x561fe7=>{const _0x38d812=_0x3a3cd0,_0x21458c=_0x3b5570(_0x561fe7);_0x37be27[_0x38d812(0x239)](_0x21458c);}),_0x413e39?(this['_runtimeService'][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x21d)]),this[_0x3a3cd0(0x25f)]['setCompletedArrayFormulasCount'](_0x161a88+0x1)):(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['CURRENTLY_CALCULATING']),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x245)](_0x161a88+0x1)),this['_executionInProgressListener$'][_0x3a3cd0(0x26e)](this['_runtimeService'][_0x3a3cd0(0x222)]()),this['_runtimeService'][_0x3a3cd0(0x1ea)]()||_0x55d6bc==null&&_0xd72c77==null)){this[_0x3a3cd0(0x25f)]['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x257)]),this[_0x3a3cd0(0x25f)]['markedAsStopFunctionsExecuted'](),this[_0x3a3cd0(0x25a)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());return;}this[_0x3a3cd0(0x25f)]['setCurrent'](_0x5cc1f2[_0x3a3cd0(0x249)],_0x5cc1f2[_0x3a3cd0(0x1ee)],_0x5cc1f2[_0x3a3cd0(0x20b)],_0x5cc1f2[_0x3a3cd0(0x26b)],_0x5cc1f2[_0x3a3cd0(0x234)],_0x5cc1f2[_0x3a3cd0(0x1fd)]);let _0x3e5ff3;if(_0xd72c77!=null&&_0x5cc1f2[_0x3a3cd0(0x1f0)]!=null){const {runtimeCellData:_0x3ae045,dirtyRanges:_0x42ba5b}=_0xd72c77(this[_0x3a3cd0(0x246)][_0x3a3cd0(0x242)](),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());this['_runtimeService'][_0x3a3cd0(0x219)](_0x5cc1f2[_0x3a3cd0(0x1f0)],_0x3ae045),this[_0x3a3cd0(0x25f)]['setRuntimeFeatureRange'](_0x5cc1f2['featureId'],_0x42ba5b);}else _0x55d6bc!=null&&(_0xb20f07[_0x3a3cd0(0x22b)](_0x55d6bc[_0x3a3cd0(0x240)])?_0x3e5ff3=await _0xb20f07[_0x3a3cd0(0x1f2)](_0x55d6bc):_0x3e5ff3=_0xb20f07['execute'](_0x55d6bc),_0x5cc1f2['formulaId']!=null?this[_0x3a3cd0(0x25f)]['setRuntimeOtherData'](_0x5cc1f2[_0x3a3cd0(0x216)],_0x5cc1f2[_0x3a3cd0(0x205)],_0x5cc1f2[_0x3a3cd0(0x24a)],_0x3e5ff3):this['_runtimeService'][_0x3a3cd0(0x233)](_0x3e5ff3));_0x161a88++;}return _0x37be27[_0x3a3cd0(0x24b)](_0x52201d=>_0x52201d()),_0x37be27=[],_0x49bb10>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x413e39||this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x23e)](),this['_runtimeService'][_0x3a3cd0(0x265)]();}}class ge extends _0x5c0b1c{constructor(){const _0x532ae3=_0x1f8138;super(...arguments),T(this,'_allTreeMap',new Map()),T(this,_0x532ae3(0x200),new _0x42247f(!0x0));}[_0x1f8138(0x20f)](){const _0x73ed58=_0x1f8138;this['_otherFormulaData'][_0x73ed58(0x201)](),this['_featureFormulaData'][_0x73ed58(0x201)](),this['_formulaData']['clear'](),this[_0x73ed58(0x200)][_0x73ed58(0x201)](),this[_0x73ed58(0x1f7)][_0x73ed58(0x201)](),this[_0x73ed58(0x258)](),this[_0x73ed58(0x232)][_0x73ed58(0x201)]();}['addOtherFormulaDependency'](_0x40793a,_0x35c360,_0x394139,_0x29f2ca){const _0x155c59=_0x1f8138;this[_0x155c59(0x1e5)][_0x155c59(0x215)](_0x40793a)||this[_0x155c59(0x1e5)][_0x155c59(0x220)](_0x40793a,new Map());const _0x47c437=this[_0x155c59(0x1e5)][_0x155c59(0x24d)](_0x40793a);_0x47c437['has'](_0x35c360)||_0x47c437[_0x155c59(0x220)](_0x35c360,new Map());const _0x153fd2=_0x47c437[_0x155c59(0x24d)](_0x35c360);_0x153fd2['has'](_0x394139)||_0x153fd2[_0x155c59(0x220)](_0x394139,new _0x3a71c1()),_0x153fd2[_0x155c59(0x24d)](_0x394139)[_0x155c59(0x275)](_0x29f2ca[_0x155c59(0x205)],_0x29f2ca['refOffsetY'],_0x29f2ca['treeId']);}['removeOtherFormulaDependency'](_0x516cb1,_0x2999e3,_0x41e5c9){const _0x1510e0=_0x1f8138,_0x15b789=this[_0x1510e0(0x1e5)][_0x1510e0(0x24d)](_0x516cb1);if(_0x15b789&&_0x15b789[_0x1510e0(0x215)](_0x2999e3)){const _0x55f6db=_0x15b789['get'](_0x2999e3);_0x41e5c9[_0x1510e0(0x24b)](_0x59b8e6=>{const _0x2757fe=_0x1510e0,_0x1d3d31=_0x55f6db[_0x2757fe(0x24d)](_0x59b8e6);_0x1d3d31!=null&&(_0x1d3d31[_0x2757fe(0x223)]((_0x1c2a83,_0x1a8e93,_0x5e75f2)=>{const _0x364ac7=_0x2757fe;this[_0x364ac7(0x212)](_0x5e75f2),this[_0x364ac7(0x224)](_0x5e75f2);}),_0x55f6db['delete'](_0x59b8e6),this[_0x2757fe(0x232)][_0x2757fe(0x1dd)](_0x59b8e6));}),_0x55f6db['size']===0x0&&_0x15b789[_0x1510e0(0x1dd)](_0x2999e3),_0x15b789[_0x1510e0(0x1db)]===0x0&&this['_otherFormulaData'][_0x1510e0(0x1dd)](_0x516cb1);}}[_0x1f8138(0x226)](_0xa8fe10,_0x515bb6){const _0x5d35b2=_0x1f8138,_0x47079f=this[_0x5d35b2(0x1e5)][_0x5d35b2(0x24d)](_0xa8fe10);if(_0x515bb6&&_0x47079f&&_0x47079f[_0x5d35b2(0x215)](_0x515bb6)){const _0x40d6c2=_0x47079f['get'](_0x515bb6);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x515bb6);for(const _0x54d24e of _0x40d6c2[_0x5d35b2(0x202)]()){const _0x5c9754=_0x40d6c2[_0x5d35b2(0x24d)](_0x54d24e);_0x5c9754!=null&&(_0x5c9754[_0x5d35b2(0x223)]((_0x264fe1,_0x57026b,_0x51aeea)=>{const _0xfa6860=_0x5d35b2;this[_0xfa6860(0x1f7)][_0xfa6860(0x24d)](_0x51aeea)&&this[_0xfa6860(0x224)](_0x51aeea);}),this[_0x5d35b2(0x232)]['delete'](_0x54d24e));}_0x40d6c2['clear']();}else{if(_0x47079f){for(const _0x184472 of _0x47079f[_0x5d35b2(0x202)]()){const _0x2452e6=_0x47079f[_0x5d35b2(0x24d)](_0x184472);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x184472);for(const _0xe12146 of _0x2452e6['keys']()){const _0xd3a09d=_0x2452e6[_0x5d35b2(0x24d)](_0xe12146);_0xd3a09d!=null&&(_0xd3a09d[_0x5d35b2(0x223)]((_0x14a121,_0x46718a,_0x441c1c)=>{const _0x29c69f=_0x5d35b2;this[_0x29c69f(0x1f7)]['get'](_0x441c1c)&&this['_removeAllTreeMap'](_0x441c1c);}),this['_otherFormulaDataMainData'][_0x5d35b2(0x1dd)](_0xe12146));}}this[_0x5d35b2(0x1e5)][_0x5d35b2(0x1dd)](_0xa8fe10);}}}[_0x1f8138(0x259)](_0x18ec97,_0x544d3d,_0x2e2056,_0x23a031){const _0x4bdbd4=_0x1f8138;this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x215)](_0x18ec97)||this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x220)](_0x18ec97,new Map());const _0x1d8f60=this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x24d)](_0x18ec97);_0x1d8f60[_0x4bdbd4(0x215)](_0x544d3d)||_0x1d8f60[_0x4bdbd4(0x220)](_0x544d3d,new Map()),_0x1d8f60['get'](_0x544d3d)[_0x4bdbd4(0x220)](_0x2e2056,_0x23a031[_0x4bdbd4(0x23c)]);}[_0x1f8138(0x26c)](_0x29aaf0,_0x5eca71,_0x4cc6e3){const _0x43adb6=_0x1f8138,_0x505896=this[_0x43adb6(0x23a)]['get'](_0x29aaf0);if(_0x505896&&_0x505896['has'](_0x5eca71)){const _0x14df0f=_0x505896[_0x43adb6(0x24d)](_0x5eca71);_0x4cc6e3['forEach'](_0x1c6c9f=>{const _0x27eba7=_0x43adb6,_0x1683da=_0x14df0f[_0x27eba7(0x24d)](_0x1c6c9f);_0x1683da!=null&&(this[_0x27eba7(0x212)](_0x1683da),_0x14df0f[_0x27eba7(0x1dd)](_0x1c6c9f),this[_0x27eba7(0x224)](_0x1683da));});}}['clearFeatureFormulaDependency'](_0x206331,_0x247028){const _0x2cc313=_0x1f8138,_0x4fc1b1=this[_0x2cc313(0x23a)][_0x2cc313(0x24d)](_0x206331);if(_0x247028&&_0x4fc1b1&&_0x4fc1b1['has'](_0x247028)){const _0x45a3cb=_0x4fc1b1[_0x2cc313(0x24d)](_0x247028);this['_removeDependencyRTreeCacheById'](_0x206331,_0x247028),_0x45a3cb[_0x2cc313(0x24b)](_0x2b9a4c=>{const _0x1d48a7=_0x2cc313;_0x2b9a4c!=null&&this[_0x1d48a7(0x224)](_0x2b9a4c);}),_0x45a3cb['clear']();}else _0x4fc1b1&&(_0x4fc1b1[_0x2cc313(0x24b)]((_0x4c346f,_0x3312b5)=>{const _0x2b98db=_0x2cc313;this[_0x2b98db(0x23b)](_0x206331,_0x3312b5),_0x4c346f['forEach'](_0x51cfe0=>{const _0x316c34=_0x2b98db;_0x51cfe0!=null&&this[_0x316c34(0x224)](_0x51cfe0);});}),this[_0x2cc313(0x23a)][_0x2cc313(0x1dd)](_0x206331));}[_0x1f8138(0x22e)](_0x136d0f,_0x1c435c,_0x31fec1,_0x4eb645,_0x442834){const _0x2ef781=_0x1f8138;this[_0x2ef781(0x22f)][_0x2ef781(0x215)](_0x136d0f)||this['_formulaData']['set'](_0x136d0f,new Map());const _0x1447c9=this['_formulaData']['get'](_0x136d0f);_0x1447c9[_0x2ef781(0x215)](_0x1c435c)||_0x1447c9[_0x2ef781(0x220)](_0x1c435c,new _0x3a71c1()),_0x1447c9[_0x2ef781(0x24d)](_0x1c435c)[_0x2ef781(0x275)](_0x31fec1,_0x4eb645,_0x442834[_0x2ef781(0x23c)]);}['removeFormulaDependency'](_0x340720,_0x181d3c,_0x3e5851,_0x232d4a){const _0x1517b8=_0x1f8138,_0x1ba2d2=this[_0x1517b8(0x22f)][_0x1517b8(0x24d)](_0x340720);if(_0x1ba2d2&&_0x1ba2d2[_0x1517b8(0x215)](_0x181d3c)){const _0x3fb197=_0x1ba2d2[_0x1517b8(0x24d)](_0x181d3c),_0xd46a6c=_0x3fb197['getValue'](_0x3e5851,_0x232d4a);if(_0xd46a6c==null)return;this[_0x1517b8(0x212)](_0xd46a6c),_0x3fb197[_0x1517b8(0x273)](_0x3e5851,_0x232d4a),this[_0x1517b8(0x224)](_0xd46a6c);}}[_0x1f8138(0x263)](_0x1c1499,_0x26d89d){const _0xf392a0=_0x1f8138,_0xb3afd1=this[_0xf392a0(0x22f)]['get'](_0x1c1499);if(_0x26d89d&&_0xb3afd1&&_0xb3afd1[_0xf392a0(0x215)](_0x26d89d)){const _0x5a6d84=_0xb3afd1[_0xf392a0(0x24d)](_0x26d89d);this[_0xf392a0(0x23b)](_0x1c1499,_0x26d89d),_0x5a6d84['forValue']((_0x3af5ca,_0x17de54,_0x5a6be4)=>{const _0x9cf121=_0xf392a0;if(_0x5a6be4==null)return!0x0;this[_0x9cf121(0x224)](_0x5a6be4);}),_0x5a6d84[_0xf392a0(0x20f)]();}else _0xb3afd1&&(_0xb3afd1[_0xf392a0(0x24b)]((_0x30dcfb,_0x3afb13)=>{const _0x1029f6=_0xf392a0;this[_0x1029f6(0x23b)](_0x1c1499,_0x3afb13),_0x30dcfb[_0x1029f6(0x223)]((_0x50918c,_0x242d8c,_0x46f946)=>{if(_0x46f946==null)return!0x0;this['_removeAllTreeMap'](_0x46f946);});}),this[_0xf392a0(0x22f)]['delete'](_0x1c1499));}['_removeDependencyRTreeCache'](_0x3b99fc){const _0x48ee31=_0x1f8138;if(_0x3b99fc==null)return;const _0x46bdd3=this[_0x48ee31(0x1f7)][_0x48ee31(0x24d)](_0x3b99fc);if(_0x46bdd3){const _0x512ed9=[];for(const [_0x218695,_0x56afde]of _0x46bdd3)for(const [_0x4db8d7,_0x33e2e7]of _0x56afde)_0x512ed9['push']({'unitId':_0x218695,'sheetId':_0x4db8d7,'range':_0x33e2e7,'id':_0x3b99fc});this['_dependencyRTreeCache']['bulkRemove'](_0x512ed9);}}['removeFormulaDependencyByDefinedName'](_0x5aca72,_0x412331){const _0x5b7d7a=_0x1f8138,_0x436833=this[_0x5b7d7a(0x251)][_0x5b7d7a(0x24d)](_0x5aca72);if(_0x436833){const _0x920cdd=_0x436833['get'](_0x412331);if(_0x920cdd){for(const _0x137d2c of _0x920cdd)this['_removeDependencyRTreeCache'](_0x137d2c),this[_0x5b7d7a(0x224)](_0x137d2c);_0x920cdd['clear']();}}}['openKdTree'](){const _0xac9c6=_0x1f8138;this[_0xac9c6(0x200)]['openKdTree']();}[_0x1f8138(0x214)](){const _0x1b53a3=_0x1f8138;this[_0x1b53a3(0x200)]['closeKdTree']();}[_0x1f8138(0x224)](_0x407c26){const _0x5367db=_0x1f8138;_0x407c26!=null&&this[_0x5367db(0x1f7)][_0x5367db(0x1dd)](_0x407c26);}[_0x1f8138(0x1ef)](_0x31b84e){const _0x3fd8d6=_0x1f8138;var _0x3ce634,_0x26ec97;const _0xb2055=_0x31b84e['rangeList'];let _0x4778a2=this['_allTreeMap'][_0x3fd8d6(0x24d)](_0x31b84e['treeId']);for(let _0x41849c=0x0;_0x41849c<_0xb2055[_0x3fd8d6(0x238)];_0x41849c++){const _0x51f9b9=_0xb2055[_0x41849c];let {unitId:_0x21e767,sheetId:_0x3e2378,range:_0x485e90}=_0x51f9b9;_0x4778a2||(_0x4778a2=new Map(),this[_0x3fd8d6(0x1f7)][_0x3fd8d6(0x220)](_0x31b84e[_0x3fd8d6(0x23c)],_0x4778a2)),_0x4778a2[_0x3fd8d6(0x215)](_0x21e767)||_0x4778a2[_0x3fd8d6(0x220)](_0x21e767,new Map());const _0x322f32=(_0x3ce634=_0x4778a2==null?void 0x0:_0x4778a2['get'](_0x21e767))==null?void 0x0:_0x3ce634[_0x3fd8d6(0x24d)](_0x3e2378);_0x322f32&&(_0x485e90={'startRow':Math[_0x3fd8d6(0x268)](_0x485e90['startRow'],_0x322f32['startRow']),'startColumn':Math[_0x3fd8d6(0x268)](_0x485e90[_0x3fd8d6(0x227)],_0x322f32[_0x3fd8d6(0x227)]),'endRow':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1fc)],_0x322f32[_0x3fd8d6(0x1fc)]),'endColumn':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1f8)],_0x322f32[_0x3fd8d6(0x1f8)])}),(_0x26ec97=_0x4778a2[_0x3fd8d6(0x24d)](_0x21e767))==null||_0x26ec97[_0x3fd8d6(0x220)](_0x3e2378,_0x485e90);}}}function _0x37f8(){const _0x138550=['length','push','_featureFormulaData','_removeDependencyRTreeCacheById','treeId','_isCyclicUtilMap','markedAsNoFunctionsExecuted','FEATURE_FORMULA','node','dependencySheetName','getDirtyData','setSkip','addFormulaDependencyByDefinedName','setCompletedFormulasCount','_currentConfigService','getOtherFormulaDependency','START_DEPENDENCY','row','refOffsetY','forEach','_createVirtualFDtree','get','addOtherFormulaDependencyMainData','generate','_config','_definedNameMap','formula','intervalCount','_getUpdateTreeListAndMakeDependency','type','_otherFormulaManagerService','IDLE','_restDependencyTreeId','addFeatureFormulaDependency','_executionCompleteListener$','9auCifF','isCache','43732mGBocg','getOwnPropertyDescriptor','_runtimeService','_initializeWithOverride','getOtherFormulaData','getExcludedRange','clearFormulaDependency','_updateRangeFlatten','getAllRuntimeData','setTotalArrayFormulasToCalculate','getConfig','min','295330ZIFFKH','_generateTreeList','columnCount','removeFeatureFormulaDependency','getClearDependencyTreeCache','next','toRTreeItem','getUnitData','_createFDtree','dispose','realDeleteValue','setFormulaExecuteStage','setValue','bulkSearch','size','START_CALCULATION','delete','valid','_dependencyRTreeCacheForAddressFunction','isDirty','searchDependency','_dependencyTreeCache','_getFirstCellOfRange','getFormulaDependency','_otherFormulaData','_dependencyManagerService','pop','getFormulaData','getFeatureFormulaDependency','isStopExecution','290CRBhkY','_executionInProgressListener$','featureDirtyRanges','column','_addAllTreeMap','featureId','_formulaDependencyGenerator','executeAsync','_injector','isSkip','openKdTree','getValue','_allTreeMap','endColumn','6097122pYGClo','add','isExcludeRange','endRow','unitId','notExecuteFormula','_getTreeById','_dependencyRTreeCache','clear','keys','defineProperty','rangeList','refOffsetX','isAdded','parseInt','message','isForceCalculate','_traverse','rowCount','resolve','_initLicenseValid','getDirtyRanges','reset','_getFeatureFormulaTree','502754xXPEVr','_removeDependencyRTreeCache','isVirtual','closeKdTree','has','formulaId','dirtyRanges','157389dZwvEY','setRuntimeFeatureCellData','ParentDependencyTree\x20object\x20is\x20null','symbol','return\x20','CURRENTLY_CALCULATING_ARRAY_FORMULA','_lexer','enableCycleDependency','set','max','getRuntimeState','forValue','_removeAllTreeMap','setTotalFormulasToCalculate','clearOtherFormulaDependency','startColumn','363162vvqSfo','_calculateRunList','32tGIIVG','checkAsyncNode','_astTreeBuilder','addOtherFormulaDependency','addFormulaDependency','_formulaData','_registerFormulas','setAdded','_otherFormulaDataMainData','setRuntimeData','subUnitId','START_CALCULATION_ARRAY_FORMULA','2309544tSLbof','_configService'];_0x37f8=function(){return _0x138550;};return _0x37f8();}var fe=Object[_0x1f8138(0x25e)],pe=(_0x1bea54,_0x137af9,_0x20e090,_0x181ca7)=>{const _0x13ee9e=_0x1f8138;for(var _0x47400f=_0x181ca7>0x1?void 0x0:_0x181ca7?fe(_0x137af9,_0x20e090):_0x137af9,_0x3baaa8=_0x1bea54[_0x13ee9e(0x238)]-0x1,_0x3f89f4;_0x3baaa8>=0x0;_0x3baaa8--)(_0x3f89f4=_0x1bea54[_0x3baaa8])&&(_0x47400f=_0x3f89f4(_0x47400f)||_0x47400f);return _0x47400f;};const _e=Number[_0x1f8138(0x207)](0x67ed1401);let N=class extends _0x20b52a{[_0x1f8138(0x260)](){const _0x5c1b1b=_0x1f8138;var _0x567533,_0x4dac7f;this[_0x5c1b1b(0x20d)]()?(_0x567533=this['_config'])!=null&&_0x567533['notExecuteFormula']||[[_0x22c75f,{'useClass':he}],[_0x5135d4,{'useClass':ge}],[_0x10a5ff,{'useClass':de}]]['forEach'](_0x214de0=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x214de0)):(_0x4dac7f=this[_0x5c1b1b(0x250)])!=null&&_0x4dac7f[_0x5c1b1b(0x1fe)]||[[_0x22c75f,{'useClass':_0x28f8f2}],[_0x5135d4,{'useClass':_0x49ea93}],[_0x10a5ff,{'useClass':_0x32f891}]][_0x5c1b1b(0x24b)](_0x2fdcb6=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x2fdcb6));}[_0x1f8138(0x20d)](){const _0x3b3d3d=_0x1f8138;var _0x3a6d46;const _0x5df9a8=(_0x3a6d46=this[_0x3b3d3d(0x237)][_0x3b3d3d(0x267)](_0x246301))!=null?_0x3a6d46:{},{ls:_0x2e743b,pbk:_0x26bab1}=_0x5df9a8;if(!_0x2e743b||!_0x26bab1)return!0x1;const _0x3490fa=_0x28e67d(ue,le),_0x313fa3=new Function(_0x3b3d3d(0x21c)+_0x3490fa)()(_0x2e743b,_0x26bab1),_0x25c2b2=_0x313fa3[_0x3b3d3d(0x208)];return _0x313fa3[_0x3b3d3d(0x1de)]&&_0x47ac6d(_0x25c2b2,'sf',_e)?_0xf3f376(_0x25c2b2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=pe([_0x319459(_0x322e28)],N);export{N as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5a1820=_0x3850;(function(_0x361750,_0xf2b446){const _0x345066=_0x3850,_0x2d144f=_0x361750();while(!![]){try{const _0x471962=-parseInt(_0x345066(0xe3))/0x1+-parseInt(_0x345066(0xb4))/0x2*(-parseInt(_0x345066(0xeb))/0x3)+-parseInt(_0x345066(0xc7))/0x4+parseInt(_0x345066(0x139))/0x5*(parseInt(_0x345066(0x11e))/0x6)+parseInt(_0x345066(0x12b))/0x7*(parseInt(_0x345066(0xdf))/0x8)+parseInt(_0x345066(0x122))/0x9*(parseInt(_0x345066(0xc3))/0xa)+parseInt(_0x345066(0x128))/0xb;if(_0x471962===_0xf2b446)break;else _0x2d144f['push'](_0x2d144f['shift']());}catch(_0x1012c8){_0x2d144f['push'](_0x2d144f['shift']());}}}(_0x17f4,0xdb54f));var H=Object[_0x5a1820(0xf7)],J=(_0x18c2f0,_0x3c86d9,_0x381b90)=>_0x3c86d9 in _0x18c2f0?H(_0x18c2f0,_0x3c86d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x381b90}):_0x18c2f0[_0x3c86d9]=_0x381b90,S=(_0xd69e53,_0xa2893e,_0x1c530a)=>J(_0xd69e53,typeof _0xa2893e!='symbol'?_0xa2893e+'':_0xa2893e,_0x1c530a);import{UniverLicensePlugin as _0x52715d,LS_CONFIG_KEY as _0x13c24e,unshiftString as _0x53af5b,isFeatureAuthorizedWithinTime as _0x1b7f00,getSheetFeatureLimit as _0x340c5e}from'@univerjs-pro/license';import{ObjectMatrix as _0x4d2a1c,requestImmediateMacroTask as _0x30a00f,RTree as _0x559ac5,DependentOn as _0x2414d6}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1b3812,generateRandomDependencyTreeId as _0x46b234,FormulaDependencyTree as _0x2a6606,FormulaDependencyTreeType as _0x42142f,FormulaDependencyTreeVirtual as _0x448fd2,generateAstNode as _0x27367e,CalculateFormulaService as _0x4e0053,FormulaExecuteStageType as _0x27fab8,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x38a299,DEFAULT_INTERVAL_COUNT as _0xc88fc4,DependencyManagerBaseService as _0x28fe35,UniverFormulaEnginePlugin as _0x1b2202,ICalculateFormulaService as _0x2ed258,IDependencyManagerService as _0x275882,IFormulaDependencyGenerator as _0x5b2cc5,DependencyManagerService as _0x2090b6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'i',0x1:'I',0x2:'x',0x3:'3',0x4:'o',0x5:'W',0x6:'O',0x7:'n',0x8:'v',0x9:'B','K':'0','b':'1','o':'2','c':'4','r':'5','B':'6','R':'7','O':'8','Z':'9','p':'a','u':'b','P':'c','N':'d','v':'e','D':'f','n':'g','S':'h','d':'j','W':'k','y':'l','M':'m','X':'p','l':'q','a':'r','t':'s','E':'t','i':'u','I':'w','k':'y','m':'z','g':'A','L':'C','F':'D','A':'E','U':'F','q':'G','j':'H','e':'J','h':'K','x':'L','V':'M','H':'N','C':'P','s':'Q','T':'R','J':'S','w':'T','Q':'U','Y':'V','G':'X','z':'Y','f':'Z'},ue='Di7PE047\x20NvPakXE047(y0Pv7tv,\x20Xiuy0Phvk)\x20{\x20\x20\x20\x20Eak\x20{\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20y0Pv7tv17D4CpaEgaapk\x20=\x20y0Pv7tv.tXy0E(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x204a0n07Vvttpnv\x20=\x20eJ6H.Xpatv(pE4u(y0Pv7tv17D4CpaEgaapk[o]));\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!4a0n07Vvttpnv.iN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204a0n07Vvttpnv.iN\x20=\x20HiMuva(y0Pv7tv17D4CpaEgaapk[c]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x200t54aWva\x20=\x20EkXv4D\x2054aWvaqy4upyJP4Xv\x20!==\x20\x27i7NvD07vN\x27\x20&&\x20tvyD\x2007tEp7Pv4D\x2054aWvaqy4upyJP4Xv;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20P47Ev2E\x20=\x200t54aWva\x20?\x20tvyD\x20:\x20I07N4I;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[o]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(Mvttpnv54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[3]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(t0n7pEiav54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7Ypy0N\x20=\x20P47Ev2E.__8va0Dk__(t0n7pEiav,\x20Mvttpnv,\x20Xiuy0Phvk);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20N4Mp07\x20=\x204a0n07Vvttpnv.NM;\x20\x20\x20\x20\x20\x20\x20\x20Di7PE047\x200tF4Mp07VpEPS07n(4CpEEva7,\x204j4tE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7\x20=\x204CpEEva7.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tE\x20=\x204j4tE.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7CpaEt\x20=\x20XpEEva7.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tECpaEt\x20=\x20S4tE.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!XpEEva7.07PyiNvt(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7\x20===\x20S4tE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(XpEEva7CpaEt.yv7nES\x20<\x20o\x20||\x20XpEEva7CpaEt[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20Dpytv;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7JiDD02\x20=\x20XpEEva7CpaEt.ty0Pv(b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tEJiDD02\x20=\x20S4tECpaEt.ty0Pv(-XpEEva7CpaEt.yv7nES\x20+\x20b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7JiDD02\x20===\x20S4tEJiDD02;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yvE\x20N4Mp07Ypy0N\x20=\x20(N4Mp07\x20&&\x20N4Mp07.yv7nES)\x20?\x20N4Mp07.t4Mv((NM1EvM)\x20=>\x200tF4Mp07VpEPS07n(NM1EvM,\x20y4PpE047.S4tE7pMv))\x20:\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x200D\x20(y4PpE047.S4tE7pMv\x20===\x20\x27y4PpyS4tE\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N4Mp07Ypy0N\x20=\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x208py0N\x20=\x20t0n7Ypy0N\x20&&\x20N4Mp07Ypy0N;\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x204a0n07Vvttpnv,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20PpEPS\x20(vaa4a)\x20{\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N:\x20Dpytv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1b3812{constructor(){const _0x21cc52=_0x5a1820;super(...arguments),S(this,_0x21cc52(0x136),new Map());}[_0x5a1820(0x10f)](){const _0x492795=_0x5a1820;super[_0x492795(0x10f)](),this[_0x492795(0x136)]['clear']();}async[_0x5a1820(0xf1)](){const _0x1a4c0a=_0x5a1820;this['_updateRangeFlatten']();const _0x10eab4=this['_currentConfigService']['getFormulaData'](),_0x3d657f=this[_0x1a4c0a(0x120)][_0x1a4c0a(0x142)](),_0x444d0c=this[_0x1a4c0a(0xf8)][_0x1a4c0a(0xf0)]();_0x444d0c!=null&&Object[_0x1a4c0a(0xe1)](_0x444d0c)['forEach'](_0x35aa08=>{_0x35aa08!=null&&Object['keys'](_0x444d0c[_0x35aa08])['forEach'](_0x1fa70b=>{const _0x317272=_0x3850;_0x1fa70b!=null&&(this[_0x317272(0xd0)][_0x317272(0xf4)](_0x35aa08,_0x1fa70b),this[_0x317272(0xd0)]['clearFeatureFormulaDependency'](_0x35aa08,_0x1fa70b),this[_0x317272(0xd0)]['clearFormulaDependency'](_0x35aa08,_0x1fa70b));});});const _0x31dd8a=this[_0x1a4c0a(0xf8)]['getUnitData']();await this['_generateTreeList'](_0x10eab4,_0x3d657f,_0x31dd8a),this[_0x1a4c0a(0xd0)][_0x1a4c0a(0xe6)]();const _0x27905f=this[_0x1a4c0a(0xd6)](),_0x2aef74=this[_0x1a4c0a(0xbe)](_0x27905f);return this[_0x1a4c0a(0xe5)](_0x2aef74)&&this['_runtimeService'][_0x1a4c0a(0x138)](),this[_0x1a4c0a(0x136)][_0x1a4c0a(0x137)](),this[_0x1a4c0a(0xe0)][_0x1a4c0a(0x137)](),this[_0x1a4c0a(0xd0)][_0x1a4c0a(0xb8)](),Promise[_0x1a4c0a(0xe7)](_0x2aef74);}[_0x5a1820(0x107)](_0x407e12,_0x2f9521){const _0x53127d=_0x5a1820,_0x406e6b=[_0x407e12];for(;_0x406e6b['length']>0x0;){const _0x4c3d47=_0x406e6b[_0x406e6b['length']-0x1];if((_0x2f9521['get'](_0x4c3d47)||0x0)===0x0){_0x2f9521['set'](_0x4c3d47,0x1);const _0x42aaa7=this[_0x53127d(0x136)][_0x53127d(0x123)](_0x4c3d47);if(_0x42aaa7==null){_0x2f9521[_0x53127d(0x108)](_0x4c3d47,0x2),_0x406e6b[_0x53127d(0x11f)]();continue;}const _0x16add9=this[_0x53127d(0xd0)][_0x53127d(0x109)](_0x42aaa7[_0x53127d(0x146)]());for(const _0x380491 of _0x16add9){const _0x69188d=_0x2f9521[_0x53127d(0x123)](_0x380491)||0x0;if(_0x69188d===0x1)return!0x0;_0x69188d===0x0&&_0x406e6b[_0x53127d(0xcd)](_0x380491);}}else _0x2f9521[_0x53127d(0x108)](_0x4c3d47,0x2),_0x406e6b[_0x53127d(0x11f)]();}return!0x1;}[_0x5a1820(0xe5)](_0x23e007){const _0x542694=_0x5a1820,_0x36f0b8=new Map();for(const _0x1e9c94 of _0x23e007)if(!_0x36f0b8[_0x542694(0x129)](_0x1e9c94[_0x542694(0x13a)])&&this[_0x542694(0x107)](_0x1e9c94[_0x542694(0x13a)],_0x36f0b8))return!0x0;return _0x36f0b8[_0x542694(0x137)](),!0x1;}[_0x5a1820(0x103)](_0x9fe4e6,_0x2c343c,_0x413735){const _0x376cbf=_0x5a1820,{unitId:_0x43bd7e,subUnitId:_0x56abb2,dependencyRanges:_0x253e05,getDirtyData:_0x3bf5d6}=_0x413735,_0x355936=_0x2c343c||_0x46b234(this[_0x376cbf(0xd0)]),_0x5df16e=new _0x2a6606(_0x355936);_0x5df16e['unitId']=_0x43bd7e,_0x5df16e['subUnitId']=_0x56abb2,_0x5df16e[_0x376cbf(0xc4)]=_0x253e05,_0x5df16e[_0x376cbf(0xd7)]=_0x3bf5d6;const _0xeaad1b=_0x3bf5d6(this[_0x376cbf(0xf8)]['getDirtyData'](),this['_runtimeService'][_0x376cbf(0xd2)]()),_0x4806ad=this['_convertDirtyRangesToUnitRange'](_0xeaad1b[_0x376cbf(0xd3)]);return _0x5df16e['featureDirtyRanges']=_0x4806ad,_0x5df16e[_0x376cbf(0x118)]=_0x9fe4e6,_0x5df16e[_0x376cbf(0x145)]=_0x42142f[_0x376cbf(0x100)],this[_0x376cbf(0xd0)][_0x376cbf(0x141)](_0x43bd7e,_0x56abb2,_0x9fe4e6,_0x5df16e),this[_0x376cbf(0x136)][_0x376cbf(0x108)](_0x5df16e['treeId'],_0x5df16e),this[_0x376cbf(0xd0)][_0x376cbf(0xef)](_0x413735[_0x376cbf(0xbf)],_0x413735[_0x376cbf(0x13b)],_0x9fe4e6)&&(_0x5df16e['isCache']=!0x0),_0x5df16e;}[_0x5a1820(0x147)](_0x9b271c,_0x3bfbbd,_0x3c0593){const _0x1040ab=_0x5a1820;var _0x242032;for(const _0x2f317e of _0x3bfbbd){const _0x5e6013=_0x9b271c[_0x2f317e];if(_0x5e6013==null)continue;const _0x34f088=Object[_0x1040ab(0xe1)](_0x5e6013);for(const _0x20825e of _0x34f088){const _0xe8930=_0x5e6013[_0x20825e];if(_0xe8930==null)continue;const _0x1019b2=Object[_0x1040ab(0xe1)](_0xe8930);for(const _0x1ca691 of _0x1019b2){const _0x9f178a=this[_0x1040ab(0xd0)][_0x1040ab(0x14b)](_0x1ca691),_0x35da31=_0xe8930[_0x1ca691],{f:_0x323af9,ranges:_0x2e9f69}=_0x35da31;let _0x45b7ae=!0x1;_0x9f178a&&(_0x45b7ae=!0x0);const {firstRow:_0x5f45b6,firstColumn:_0x1b9691}=this[_0x1040ab(0x13e)](_0x2e9f69),_0x4a788d=this['_dependencyManagerService'][_0x1040ab(0xc2)](_0x2f317e,_0x20825e,_0x1ca691),_0x29ea11=(_0x242032=_0x4a788d==null?void 0x0:_0x4a788d[_0x1040ab(0x12f)](0x0,0x0))!=null?_0x242032:_0x46b234(this[_0x1040ab(0xd0)]),_0x3c51a3=new _0x2a6606(_0x29ea11);for(let _0x171248=0x0;_0x171248<_0x2e9f69['length'];_0x171248++){const _0x14d565=_0x2e9f69[_0x171248],{startRow:_0xf88608,startColumn:_0x2a6a10,endRow:_0x137533,endColumn:_0x103069}=_0x14d565;for(let _0x4c34ef=_0xf88608;_0x4c34ef<=_0x137533;_0x4c34ef++)for(let _0x1f71f6=_0x2a6a10;_0x1f71f6<=_0x103069;_0x1f71f6++){const _0x56b671=_0x1f71f6-_0x1b9691,_0x14c90a=_0x4c34ef-_0x5f45b6;if(_0x56b671===0x0&&_0x14c90a===0x0){_0x3c51a3[_0x1040ab(0xd5)]=_0x323af9,_0x3c51a3[_0x1040ab(0xbf)]=_0x2f317e,_0x3c51a3[_0x1040ab(0x13b)]=_0x20825e,_0x3c51a3[_0x1040ab(0xe8)]=_0x1ca691,_0x3c51a3[_0x1040ab(0x145)]=_0x42142f[_0x1040ab(0x112)],_0x3c51a3['isCache']=_0x45b7ae,_0x3c0593[_0x1040ab(0xcd)](_0x3c51a3),this[_0x1040ab(0x136)][_0x1040ab(0x108)](_0x3c51a3[_0x1040ab(0x13a)],_0x3c51a3),this['_dependencyManagerService'][_0x1040ab(0x14d)](_0x2f317e,_0x20825e,_0x1ca691,_0x3c51a3),this['_dependencyManagerService'][_0x1040ab(0x110)](_0x3c51a3);continue;}const _0xee63b5=new _0x448fd2();_0xee63b5['treeId']=(_0x4a788d==null?void 0x0:_0x4a788d[_0x1040ab(0x12f)](_0x56b671,_0x14c90a))||_0x46b234(this[_0x1040ab(0xd0)]),_0xee63b5[_0x1040ab(0x11a)]=_0x3c51a3,_0xee63b5[_0x1040ab(0xea)]=_0x56b671,_0xee63b5[_0x1040ab(0x133)]=_0x14c90a,_0xee63b5[_0x1040ab(0xda)]=_0x45b7ae,this[_0x1040ab(0xd0)]['addOtherFormulaDependency'](_0x2f317e,_0x20825e,_0x1ca691,_0xee63b5),this[_0x1040ab(0xd0)][_0x1040ab(0x110)](_0xee63b5),_0x3c0593[_0x1040ab(0xcd)](_0xee63b5),this[_0x1040ab(0x136)]['set'](_0xee63b5[_0x1040ab(0x13a)],_0xee63b5);}}this[_0x1040ab(0xd0)]['addOtherFormulaDependencyMainData'](_0x1ca691);}}}}[_0x5a1820(0xed)](_0x23a195,_0x14150f,_0x5a6f67,_0x38eb03){const _0x29e178=_0x5a1820;for(const _0x3642ff of _0x23a195){const _0x1f15eb=_0x14150f[_0x3642ff];if(_0x1f15eb==null)continue;const _0x27d9c5=Object[_0x29e178(0xe1)](_0x1f15eb);for(const _0x15fed3 of _0x27d9c5){const _0x2227fa=new _0x4d2a1c(_0x1f15eb[_0x15fed3]||{}),_0x31e524=new Map();_0x2227fa['forValue']((_0x17c461,_0x40f6b3,_0x87a7dc)=>{const _0x178fa3=_0x29e178;if(_0x87a7dc==null)return!0x0;const {x:_0x74cd5e=0x0,y:_0x5204fc=0x0,si:_0x58f6dd}=_0x87a7dc;if(!(_0x74cd5e===0x0&&_0x5204fc===0x0&&_0x58f6dd!=null))return!0x0;const _0x293c5d=this['_createFDtree'](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3,_0x5a6f67,_0x87a7dc),_0xb368b8=this[_0x178fa3(0xd0)][_0x178fa3(0xb3)](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3);_0xb368b8!=null?_0x293c5d[_0x178fa3(0x13a)]=_0xb368b8:(this[_0x178fa3(0xd0)]['addFormulaDependency'](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3,_0x293c5d),this[_0x178fa3(0xd0)][_0x178fa3(0x110)](_0x293c5d)),_0x31e524[_0x178fa3(0x108)](_0x58f6dd,_0x293c5d),_0x38eb03[_0x178fa3(0xcd)](_0x293c5d),this[_0x178fa3(0x136)][_0x178fa3(0x108)](_0x293c5d[_0x178fa3(0x13a)],_0x293c5d);}),_0x2227fa[_0x29e178(0x132)]((_0x218f8d,_0x299b49,_0x3e3520)=>{const _0x5b6738=_0x29e178;if(_0x3e3520==null)return!0x0;const {x:_0x3b1cdb=0x0,y:_0x302543=0x0,si:_0x445d0b}=_0x3e3520;if(_0x3b1cdb===0x0&&_0x302543===0x0&&_0x445d0b!=null)return!0x0;let _0x197923;if(_0x445d0b&&_0x31e524[_0x5b6738(0x129)](_0x445d0b)){const _0x4e45c6=_0x31e524[_0x5b6738(0x123)](_0x445d0b);_0x197923=this[_0x5b6738(0x121)](_0x4e45c6,_0x3e3520);}else _0x197923=this[_0x5b6738(0xd9)](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49,_0x5a6f67,_0x3e3520);const _0x4ab1f3=this['_dependencyManagerService'][_0x5b6738(0xb3)](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49);_0x4ab1f3!=null?_0x197923[_0x5b6738(0x13a)]=_0x4ab1f3:(this[_0x5b6738(0xd0)]['addFormulaDependency'](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49,_0x197923),this[_0x5b6738(0xd0)][_0x5b6738(0x110)](_0x197923)),_0x38eb03['push'](_0x197923),this[_0x5b6738(0x136)]['set'](_0x197923[_0x5b6738(0x13a)],_0x197923);}),_0x31e524[_0x29e178(0x137)]();}}}[_0x5a1820(0xd9)](_0x464bd1,_0x5ee36f,_0x33e47d,_0x17adfe,_0x4ac878,_0xcdfd8a){const _0x58c3c8=_0x5a1820,{f:_0x5ab7ba,x:_0x2f8b27=0x0,y:_0x5ddd02=0x0}=_0xcdfd8a,_0x4d319f=new _0x2a6606(_0x46b234(this[_0x58c3c8(0xd0)])),_0x2ccb8a=_0x4ac878[_0x464bd1][_0x5ee36f];return _0x4d319f[_0x58c3c8(0xd5)]=_0x5ab7ba,_0x4d319f[_0x58c3c8(0xbf)]=_0x464bd1,_0x4d319f[_0x58c3c8(0x13b)]=_0x5ee36f,_0x4d319f[_0x58c3c8(0xdc)]=_0x33e47d,_0x4d319f[_0x58c3c8(0x119)]=_0x17adfe,_0x4d319f[_0x58c3c8(0xf2)]=_0x2ccb8a[_0x58c3c8(0xf2)],_0x4d319f['columnCount']=_0x2ccb8a[_0x58c3c8(0x14a)],_0x4d319f;}[_0x5a1820(0xd6)](){const _0x5e300e=_0x5a1820,_0x5263b1=[],_0x48eab3=new Set(),_0x426d41=this[_0x5e300e(0xf8)]['isForceCalculate'](),_0x5db51a=this[_0x5e300e(0xf8)][_0x5e300e(0xec)](),_0x36e6ef=this[_0x5e300e(0xd0)][_0x5e300e(0x109)](_0x5db51a),_0xab196d=this[_0x5e300e(0xe0)]['bulkSearch'](_0x5db51a);for(const _0x4414af of _0xab196d)_0x36e6ef[_0x5e300e(0x14c)](_0x4414af);for(const [_0x180631,_0x183aaf]of this['_dependencyTreeCache'])(_0x426d41||_0x183aaf[_0x5e300e(0xe2)]||_0x183aaf['dependencySheetName'](this[_0x5e300e(0xf8)][_0x5e300e(0xb9)]())||_0x36e6ef['has'](_0x180631)&&!_0x183aaf[_0x5e300e(0x12c)](this[_0x5e300e(0xf8)][_0x5e300e(0xf9)]()))&&!_0x48eab3[_0x5e300e(0x129)](_0x180631)&&(_0x5263b1['push'](_0x183aaf),_0x48eab3['add'](_0x180631));for(const [_0x5195ac,_0x960a2b]of this[_0x5e300e(0x136)])_0x960a2b[_0x5e300e(0x13d)]||(_0x960a2b[_0x5e300e(0xc4)][_0x5e300e(0xf5)]=0x0);return _0x5263b1;}[_0x5a1820(0x10a)](_0x16556c){const _0x136c93=_0x5a1820;return this[_0x136c93(0x136)]['get'](_0x16556c);}[_0x5a1820(0x143)](_0x25f889){const _0x62db1e=_0x5a1820;return _0x27367e(_0x25f889['unitId'],_0x25f889[_0x62db1e(0xd5)],this[_0x62db1e(0xbb)],this[_0x62db1e(0x140)],this[_0x62db1e(0xf8)]);}*[_0x5a1820(0xee)](_0xbf0d91,_0x4289ec){const _0xb28ae3=_0x5a1820,_0x2a18a0=_0xbf0d91,_0x59218f=new Set();for(;_0x2a18a0['length']>0x0;){const _0x3a63ce=_0x2a18a0[_0xb28ae3(0x11f)]();if(_0x59218f[_0xb28ae3(0x137)](),_0x3a63ce===void 0x0||_0x3a63ce['isSkip']())continue;if(_0x3a63ce[_0xb28ae3(0xe9)]()){yield _0x3a63ce,_0x3a63ce[_0xb28ae3(0xc0)](),_0x4289ec[_0xb28ae3(0x14c)](_0x3a63ce[_0xb28ae3(0x13a)]);continue;}const _0x457113=this[_0xb28ae3(0xd0)]['searchDependency'](_0x3a63ce[_0xb28ae3(0x146)](),_0x4289ec),_0xe6e3b3=this[_0xb28ae3(0xe0)]['bulkSearch'](_0x3a63ce[_0xb28ae3(0x146)](),_0x4289ec);for(const _0x1add05 of _0xe6e3b3)_0x457113[_0xb28ae3(0x14c)](_0x1add05);for(const _0x56fc35 of _0x457113){const _0xd6d30c=this[_0xb28ae3(0x136)]['get'](_0x56fc35);if(!_0xd6d30c)throw new Error(_0xb28ae3(0xfc));_0xd6d30c[_0xb28ae3(0xe9)]()||_0x3a63ce['isSkip']()||_0x59218f[_0xb28ae3(0x14c)](_0xd6d30c);}if(_0x457113[_0xb28ae3(0x137)](),_0x59218f[_0xb28ae3(0xb1)]===0x0)yield _0x3a63ce,_0x3a63ce[_0xb28ae3(0xc0)](),_0x4289ec['add'](_0x3a63ce[_0xb28ae3(0x13a)]);else{_0x3a63ce[_0xb28ae3(0xca)](),_0x2a18a0[_0xb28ae3(0xcd)](_0x3a63ce);for(const _0x4b5254 of _0x59218f)_0x2a18a0[_0xb28ae3(0xcd)](_0x4b5254);}}_0x2a18a0[_0xb28ae3(0xf5)]=0x0,_0x59218f[_0xb28ae3(0x137)]();}[_0x5a1820(0xbe)](_0x102711){const _0x301ff1=_0x5a1820,_0x1374aa=[],_0x39a426=new Set();for(const _0x50e168 of this['_traverse'](_0x102711,_0x39a426))_0x1374aa[_0x301ff1(0xcd)](_0x50e168);return _0x1374aa;}}class he extends _0x4e0053{async[_0x5a1820(0x117)](_0x2c91a4=!0x1){const _0x54f463=_0x5a1820;_0x2c91a4?this[_0x54f463(0xe4)]['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0x12a)]):this['_runtimeService']['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0x144)]),this[_0x54f463(0xde)][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xfb)]());const _0x65f373=await this[_0x54f463(0xcb)][_0x54f463(0xf1)](),_0x6d72e1=this['_interpreter'];_0x2c91a4?(this['_runtimeService'][_0x54f463(0xc5)](_0x27fab8[_0x54f463(0x11c)]),this[_0x54f463(0xe4)][_0x54f463(0xba)](_0x65f373[_0x54f463(0xf5)])):(this[_0x54f463(0xe4)][_0x54f463(0xc5)](_0x27fab8['START_CALCULATION']),this['_runtimeService'][_0x54f463(0x10d)](_0x65f373[_0x54f463(0xf5)])),this[_0x54f463(0xde)][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xfb)]());let _0x3b6860=[];const _0x5404b4=this[_0x54f463(0x101)]['getConfig'](_0x38a299),_0x53f1fe=(_0x5404b4==null?void 0x0:_0x5404b4['intervalCount'])||_0xc88fc4;let _0x54980b=0x0;const _0x5f464b=_0x65f373[_0x54f463(0xf5)];for(;_0x65f373[_0x54f463(0xf5)]>0x0;){const _0x1420f5=_0x65f373[_0x54f463(0x11f)](),_0x4872ee={'node':_0x27367e(_0x1420f5[_0x54f463(0xbf)],_0x1420f5['formula'],this[_0x54f463(0xbb)],this[_0x54f463(0x140)],this['_currentConfigService']),'refOffsetX':_0x1420f5[_0x54f463(0xea)],'refOffsetY':_0x1420f5[_0x54f463(0x133)]},_0x4e384e=_0x1420f5[_0x54f463(0xd7)];if(_0x54980b%_0x53f1fe===0x0&&(await new Promise(_0x59b792=>{const _0x1c9795=_0x54f463,_0xca779f=_0x30a00f(_0x59b792);_0x3b6860[_0x1c9795(0xcd)](_0xca779f);}),_0x2c91a4?(this[_0x54f463(0xe4)][_0x54f463(0xc5)](_0x27fab8['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x54980b+0x1)):(this[_0x54f463(0xe4)]['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0xd8)]),this[_0x54f463(0xe4)]['setCompletedFormulasCount'](_0x54980b+0x1)),this[_0x54f463(0xde)]['next'](this[_0x54f463(0xe4)]['getRuntimeState']()),this[_0x54f463(0xe4)][_0x54f463(0xcf)]()||_0x4872ee==null&&_0x4e384e==null)){this['_runtimeService'][_0x54f463(0xc5)](_0x27fab8[_0x54f463(0xc8)]),this[_0x54f463(0xe4)][_0x54f463(0x148)](),this['_executionCompleteListener$'][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xd2)]());return;}this[_0x54f463(0xe4)][_0x54f463(0xff)](_0x1420f5[_0x54f463(0xdc)],_0x1420f5[_0x54f463(0x119)],_0x1420f5[_0x54f463(0xf2)],_0x1420f5['columnCount'],_0x1420f5[_0x54f463(0x13b)],_0x1420f5[_0x54f463(0xbf)]);let _0x471f45;if(_0x4e384e!=null&&_0x1420f5[_0x54f463(0x118)]!=null){const {runtimeCellData:_0x940a1b,dirtyRanges:_0x57dfb7}=_0x4e384e(this[_0x54f463(0xf8)]['getDirtyData'](),this[_0x54f463(0xe4)][_0x54f463(0xd2)]());this[_0x54f463(0xe4)][_0x54f463(0x111)](_0x1420f5[_0x54f463(0x118)],_0x940a1b),this[_0x54f463(0xe4)][_0x54f463(0xb5)](_0x1420f5[_0x54f463(0x118)],_0x57dfb7);}else _0x4872ee!=null&&(_0x6d72e1[_0x54f463(0xb2)](_0x4872ee[_0x54f463(0x10b)])?_0x471f45=await _0x6d72e1[_0x54f463(0x124)](_0x4872ee):_0x471f45=_0x6d72e1['execute'](_0x4872ee),_0x1420f5[_0x54f463(0xe8)]!=null?this[_0x54f463(0xe4)][_0x54f463(0x10e)](_0x1420f5[_0x54f463(0xe8)],_0x1420f5[_0x54f463(0xea)],_0x1420f5['refOffsetY'],_0x471f45):this[_0x54f463(0xe4)][_0x54f463(0x14e)](_0x471f45));_0x54980b++;}return _0x3b6860[_0x54f463(0xd1)](_0x492800=>_0x492800()),_0x3b6860=[],_0x5f464b>0x0?this[_0x54f463(0xe4)][_0x54f463(0x11b)]():_0x2c91a4||this[_0x54f463(0xe4)][_0x54f463(0x115)](),this[_0x54f463(0xe4)][_0x54f463(0xd2)]();}}class pe extends _0x28fe35{constructor(){const _0x40f85a=_0x5a1820;super(...arguments),S(this,_0x40f85a(0x105),new Map()),S(this,_0x40f85a(0xfe),new _0x559ac5(!0x0));}['reset'](){const _0x4e685a=_0x5a1820;this[_0x4e685a(0x126)]['clear'](),this['_featureFormulaData'][_0x4e685a(0x137)](),this[_0x4e685a(0xdb)][_0x4e685a(0x137)](),this[_0x4e685a(0xfe)]['clear'](),this[_0x4e685a(0x105)][_0x4e685a(0x137)](),this[_0x4e685a(0xb7)](),this[_0x4e685a(0xf6)][_0x4e685a(0x137)]();}[_0x5a1820(0x14d)](_0xea3d06,_0x4a5dae,_0x1b38b4,_0x23f0e5){const _0x3972f9=_0x5a1820;this[_0x3972f9(0x126)][_0x3972f9(0x129)](_0xea3d06)||this[_0x3972f9(0x126)][_0x3972f9(0x108)](_0xea3d06,new Map());const _0x5bcdb2=this[_0x3972f9(0x126)][_0x3972f9(0x123)](_0xea3d06);_0x5bcdb2[_0x3972f9(0x129)](_0x4a5dae)||_0x5bcdb2[_0x3972f9(0x108)](_0x4a5dae,new Map());const _0x29446c=_0x5bcdb2[_0x3972f9(0x123)](_0x4a5dae);_0x29446c['has'](_0x1b38b4)||_0x29446c[_0x3972f9(0x108)](_0x1b38b4,new _0x4d2a1c()),_0x29446c[_0x3972f9(0x123)](_0x1b38b4)[_0x3972f9(0xfa)](_0x23f0e5[_0x3972f9(0xea)],_0x23f0e5[_0x3972f9(0x133)],_0x23f0e5[_0x3972f9(0x13a)]);}[_0x5a1820(0x149)](_0x1d6c82,_0x57189b,_0x41939c){const _0x2f2923=_0x5a1820,_0x2b69c4=this[_0x2f2923(0x126)][_0x2f2923(0x123)](_0x1d6c82);if(_0x2b69c4&&_0x2b69c4[_0x2f2923(0x129)](_0x57189b)){const _0xd64e65=_0x2b69c4['get'](_0x57189b);_0x41939c[_0x2f2923(0xd1)](_0x70b6c7=>{const _0x563b04=_0x2f2923,_0x37189a=_0xd64e65[_0x563b04(0x123)](_0x70b6c7);_0x37189a!=null&&(_0x37189a['forValue']((_0x3921dc,_0x187aa4,_0x166b27)=>{const _0x58aa28=_0x563b04;this[_0x58aa28(0x127)](_0x166b27),this[_0x58aa28(0x125)](_0x166b27);}),_0xd64e65[_0x563b04(0x106)](_0x70b6c7),this['_otherFormulaDataMainData'][_0x563b04(0x106)](_0x70b6c7));}),_0xd64e65[_0x2f2923(0xb1)]===0x0&&_0x2b69c4[_0x2f2923(0x106)](_0x57189b),_0x2b69c4[_0x2f2923(0xb1)]===0x0&&this[_0x2f2923(0x126)][_0x2f2923(0x106)](_0x1d6c82);}}[_0x5a1820(0xf4)](_0x57fad1,_0x5eb8a9){const _0x58ef9f=_0x5a1820,_0x36fad0=this[_0x58ef9f(0x126)][_0x58ef9f(0x123)](_0x57fad1);if(_0x5eb8a9&&_0x36fad0&&_0x36fad0['has'](_0x5eb8a9)){const _0x272ac5=_0x36fad0[_0x58ef9f(0x123)](_0x5eb8a9);this['_removeDependencyRTreeCacheById'](_0x57fad1,_0x5eb8a9);for(const _0x166715 of _0x272ac5[_0x58ef9f(0xe1)]()){const _0x5d5fe9=_0x272ac5['get'](_0x166715);_0x5d5fe9!=null&&(_0x5d5fe9[_0x58ef9f(0x132)]((_0x1257b3,_0x55e27f,_0x58fc9b)=>{const _0x4d10b3=_0x58ef9f;this[_0x4d10b3(0x105)][_0x4d10b3(0x123)](_0x58fc9b)&&this[_0x4d10b3(0x125)](_0x58fc9b);}),this[_0x58ef9f(0xf6)][_0x58ef9f(0x106)](_0x166715));}_0x272ac5[_0x58ef9f(0x137)]();}else{if(_0x36fad0){for(const _0x5693bb of _0x36fad0[_0x58ef9f(0xe1)]()){const _0x4dbde7=_0x36fad0[_0x58ef9f(0x123)](_0x5693bb);this['_removeDependencyRTreeCacheById'](_0x57fad1,_0x5693bb);for(const _0x1c88ba of _0x4dbde7['keys']()){const _0x526e43=_0x4dbde7[_0x58ef9f(0x123)](_0x1c88ba);_0x526e43!=null&&(_0x526e43[_0x58ef9f(0x132)]((_0x3d9031,_0x1a72e6,_0x2354be)=>{const _0x2cd8a5=_0x58ef9f;this[_0x2cd8a5(0x105)][_0x2cd8a5(0x123)](_0x2354be)&&this[_0x2cd8a5(0x125)](_0x2354be);}),this['_otherFormulaDataMainData']['delete'](_0x1c88ba));}}this[_0x58ef9f(0x126)][_0x58ef9f(0x106)](_0x57fad1);}}}[_0x5a1820(0x141)](_0x580a69,_0x25898a,_0x11b608,_0x5ba069){const _0x5e9c6b=_0x5a1820;this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x129)](_0x580a69)||this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x108)](_0x580a69,new Map());const _0x17ac57=this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x123)](_0x580a69);_0x17ac57[_0x5e9c6b(0x129)](_0x25898a)||_0x17ac57[_0x5e9c6b(0x108)](_0x25898a,new Map()),_0x17ac57[_0x5e9c6b(0x123)](_0x25898a)[_0x5e9c6b(0x108)](_0x11b608,_0x5ba069[_0x5e9c6b(0x13a)]);}[_0x5a1820(0x13c)](_0x252322,_0x3865ba,_0x58210f){const _0x2e098f=_0x5a1820,_0x509ad4=this[_0x2e098f(0xd4)][_0x2e098f(0x123)](_0x252322);if(_0x509ad4&&_0x509ad4[_0x2e098f(0x129)](_0x3865ba)){const _0x4f66be=_0x509ad4[_0x2e098f(0x123)](_0x3865ba);_0x58210f['forEach'](_0x2f814b=>{const _0xaf9b25=_0x2e098f,_0xa9aa59=_0x4f66be['get'](_0x2f814b);_0xa9aa59!=null&&(this[_0xaf9b25(0x127)](_0xa9aa59),_0x4f66be['delete'](_0x2f814b),this['_removeAllTreeMap'](_0xa9aa59));});}}[_0x5a1820(0xb6)](_0x557c75,_0x30379c){const _0x49982c=_0x5a1820,_0x29833f=this[_0x49982c(0xd4)][_0x49982c(0x123)](_0x557c75);if(_0x30379c&&_0x29833f&&_0x29833f[_0x49982c(0x129)](_0x30379c)){const _0xc0fb8c=_0x29833f[_0x49982c(0x123)](_0x30379c);this[_0x49982c(0x12d)](_0x557c75,_0x30379c),_0xc0fb8c['forEach'](_0x4376c3=>{const _0x1777ec=_0x49982c;_0x4376c3!=null&&this[_0x1777ec(0x125)](_0x4376c3);}),_0xc0fb8c[_0x49982c(0x137)]();}else _0x29833f&&(_0x29833f['forEach']((_0x413060,_0x1d56a1)=>{const _0x1407e4=_0x49982c;this[_0x1407e4(0x12d)](_0x557c75,_0x1d56a1),_0x413060[_0x1407e4(0xd1)](_0x2e8323=>{_0x2e8323!=null&&this['_removeAllTreeMap'](_0x2e8323);});}),this[_0x49982c(0xd4)][_0x49982c(0x106)](_0x557c75));}[_0x5a1820(0x10c)](_0x51fcf5,_0xadb011,_0x239862,_0x490049,_0x4d1a23){const _0x5a3e37=_0x5a1820;this['_formulaData'][_0x5a3e37(0x129)](_0x51fcf5)||this[_0x5a3e37(0xdb)][_0x5a3e37(0x108)](_0x51fcf5,new Map());const _0x32f50d=this['_formulaData']['get'](_0x51fcf5);_0x32f50d[_0x5a3e37(0x129)](_0xadb011)||_0x32f50d[_0x5a3e37(0x108)](_0xadb011,new _0x4d2a1c()),_0x32f50d[_0x5a3e37(0x123)](_0xadb011)['setValue'](_0x239862,_0x490049,_0x4d1a23[_0x5a3e37(0x13a)]);}[_0x5a1820(0xf3)](_0x3ee9b9,_0x103db0,_0x226a83,_0x4eb526){const _0x528281=_0x5a1820,_0x92c6bf=this['_formulaData'][_0x528281(0x123)](_0x3ee9b9);if(_0x92c6bf&&_0x92c6bf[_0x528281(0x129)](_0x103db0)){const _0x37f07e=_0x92c6bf['get'](_0x103db0),_0x3ca22c=_0x37f07e[_0x528281(0x12f)](_0x226a83,_0x4eb526);if(_0x3ca22c==null)return;this[_0x528281(0x127)](_0x3ca22c),_0x37f07e['realDeleteValue'](_0x226a83,_0x4eb526),this[_0x528281(0x125)](_0x3ca22c);}}[_0x5a1820(0xfd)](_0x33711b,_0x429be7){const _0x5ed7ce=_0x5a1820,_0x5925ac=this['_formulaData'][_0x5ed7ce(0x123)](_0x33711b);if(_0x429be7&&_0x5925ac&&_0x5925ac[_0x5ed7ce(0x129)](_0x429be7)){const _0x262434=_0x5925ac['get'](_0x429be7);this[_0x5ed7ce(0x12d)](_0x33711b,_0x429be7),_0x262434[_0x5ed7ce(0x132)]((_0xe09222,_0x2a6eec,_0x5fbcd2)=>{const _0x4a332a=_0x5ed7ce;if(_0x5fbcd2==null)return!0x0;this[_0x4a332a(0x125)](_0x5fbcd2);}),_0x262434['reset']();}else _0x5925ac&&(_0x5925ac[_0x5ed7ce(0xd1)]((_0x4abccf,_0x318415)=>{const _0x5be716=_0x5ed7ce;this[_0x5be716(0x12d)](_0x33711b,_0x318415),_0x4abccf[_0x5be716(0x132)]((_0x54c7c6,_0x11f766,_0x233071)=>{const _0x5f89ce=_0x5be716;if(_0x233071==null)return!0x0;this[_0x5f89ce(0x125)](_0x233071);});}),this[_0x5ed7ce(0xdb)][_0x5ed7ce(0x106)](_0x33711b));}[_0x5a1820(0x127)](_0x118a98){const _0x239e3c=_0x5a1820;if(_0x118a98==null)return;const _0x48cf57=this[_0x239e3c(0x105)][_0x239e3c(0x123)](_0x118a98);if(_0x48cf57){const _0x44e727=[];for(const [_0x505efb,_0x47ad3d]of _0x48cf57)for(const [_0xabd9e8,_0x3f3f3f]of _0x47ad3d)_0x44e727['push']({'unitId':_0x505efb,'sheetId':_0xabd9e8,'range':_0x3f3f3f,'id':_0x118a98});this[_0x239e3c(0xfe)][_0x239e3c(0x13f)](_0x44e727);}}[_0x5a1820(0xbd)](_0x54f6cd,_0x5459ba){const _0x242625=_0x5a1820,_0x2b738d=this[_0x242625(0xdd)][_0x242625(0x123)](_0x54f6cd);if(_0x2b738d){const _0x176423=_0x2b738d[_0x242625(0x123)](_0x5459ba);if(_0x176423){for(const _0x4f23c9 of _0x176423)this[_0x242625(0x127)](_0x4f23c9),this[_0x242625(0x125)](_0x4f23c9);_0x176423[_0x242625(0x137)]();}}}[_0x5a1820(0xe6)](){const _0x387d6e=_0x5a1820;this[_0x387d6e(0xfe)][_0x387d6e(0xe6)]();}[_0x5a1820(0xb8)](){const _0x38bb3b=_0x5a1820;this[_0x38bb3b(0xfe)][_0x38bb3b(0xb8)]();}[_0x5a1820(0x125)](_0x2e8930){const _0x2bb21e=_0x5a1820;_0x2e8930!=null&&this[_0x2bb21e(0x105)][_0x2bb21e(0x106)](_0x2e8930);}['_addAllTreeMap'](_0x47f19c){const _0x3ed105=_0x5a1820;var _0x2dbe00,_0x3d7bd3;const _0x22ba2f=_0x47f19c[_0x3ed105(0xc4)];let _0x1b2402=this[_0x3ed105(0x105)][_0x3ed105(0x123)](_0x47f19c[_0x3ed105(0x13a)]);for(let _0x3452c1=0x0;_0x3452c1<_0x22ba2f[_0x3ed105(0xf5)];_0x3452c1++){const _0x5f16f9=_0x22ba2f[_0x3452c1];let {unitId:_0x40d2d7,sheetId:_0x21dd76,range:_0x339038}=_0x5f16f9;_0x1b2402||(_0x1b2402=new Map(),this['_allTreeMap'][_0x3ed105(0x108)](_0x47f19c['treeId'],_0x1b2402)),_0x1b2402['has'](_0x40d2d7)||_0x1b2402[_0x3ed105(0x108)](_0x40d2d7,new Map());const _0xa9ed3=(_0x2dbe00=_0x1b2402==null?void 0x0:_0x1b2402[_0x3ed105(0x123)](_0x40d2d7))==null?void 0x0:_0x2dbe00[_0x3ed105(0x123)](_0x21dd76);_0xa9ed3&&(_0x339038={'startRow':Math[_0x3ed105(0x131)](_0x339038[_0x3ed105(0x12e)],_0xa9ed3[_0x3ed105(0x12e)]),'startColumn':Math['min'](_0x339038[_0x3ed105(0xc1)],_0xa9ed3[_0x3ed105(0xc1)]),'endRow':Math[_0x3ed105(0x113)](_0x339038['endRow'],_0xa9ed3[_0x3ed105(0x114)]),'endColumn':Math[_0x3ed105(0x113)](_0x339038[_0x3ed105(0x135)],_0xa9ed3['endColumn'])}),(_0x3d7bd3=_0x1b2402[_0x3ed105(0x123)](_0x40d2d7))==null||_0x3d7bd3[_0x3ed105(0x108)](_0x21dd76,_0x339038);}}}var fe=Object[_0x5a1820(0x104)],_e=(_0x210858,_0x585582,_0x3bdc8c,_0x274162)=>{const _0x3e554d=_0x5a1820;for(var _0x1b9b97=_0x274162>0x1?void 0x0:_0x274162?fe(_0x585582,_0x3bdc8c):_0x585582,_0x39274c=_0x210858[_0x3e554d(0xf5)]-0x1,_0x2a466a;_0x39274c>=0x0;_0x39274c--)(_0x2a466a=_0x210858[_0x39274c])&&(_0x1b9b97=_0x2a466a(_0x1b9b97)||_0x1b9b97);return _0x1b9b97;};function _0x17f4(){const _0x3e37c7=['length','_otherFormulaDataMainData','defineProperty','_currentConfigService','getExcludedRange','setValue','getRuntimeState','ParentDependencyTree\x20object\x20is\x20null','clearFormulaDependency','_dependencyRTreeCache','setCurrent','FEATURE_FORMULA','_configService','getConfig','_getFeatureFormulaTree','getOwnPropertyDescriptor','_allTreeMap','delete','_isCyclicUtilMap','set','searchDependency','_getTreeById','node','addFormulaDependency','setTotalFormulasToCalculate','setRuntimeOtherData','dispose','addFormulaDependencyByDefinedName','setRuntimeFeatureCellData','OTHER_FORMULA','max','endRow','markedAsNoFunctionsExecuted','_injector','_apply','featureId','column','refTree','markedAsSuccessfullyExecuted','START_CALCULATION_ARRAY_FORMULA','_initLicenseValid','2735268dsdjvS','pop','_otherFormulaManagerService','_createVirtualFDtree','375651axrHYs','get','executeAsync','_removeAllTreeMap','_otherFormulaData','_removeDependencyRTreeCache','2982067QomcHY','has','START_DEPENDENCY_ARRAY_FORMULA','4736333FMuCmG','isExcludeRange','_removeDependencyRTreeCacheById','startRow','getValue','_config','min','forValue','refOffsetY','return\x20','endColumn','_dependencyTreeCache','clear','enableCycleDependency','5UUXDzP','treeId','subUnitId','removeFeatureFormulaDependency','isVirtual','_getFirstCellOfRange','bulkRemove','_astTreeBuilder','addFeatureFormulaDependency','getOtherFormulaData','_getTreeNode','START_DEPENDENCY','type','toRTreeItem','_registerOtherFormulas','markedAsStopFunctionsExecuted','removeOtherFormulaDependency','columnCount','hasOtherFormulaDataMainData','add','addOtherFormulaDependency','setRuntimeData','size','checkAsyncNode','getFormulaDependency','1883942LnFyDw','setRuntimeFeatureRange','clearFeatureFormulaDependency','_restDependencyTreeId','closeKdTree','getDirtyNameMap','setTotalArrayFormulasToCalculate','_lexer','notExecuteFormula','removeFormulaDependencyByDefinedName','_calculateRunList','unitId','setSkip','startColumn','getOtherFormulaDependency','100tgkCNS','rangeList','setFormulaExecuteStage','valid','5093780oqmyhp','IDLE','message','setAdded','_formulaDependencyGenerator','next','push','_initializeWithOverride','isStopExecution','_dependencyManagerService','forEach','getAllRuntimeData','dirtyRanges','_featureFormulaData','formula','_getUpdateTreeListAndMakeDependency','getDirtyData','CURRENTLY_CALCULATING','_createFDtree','isCache','_formulaData','row','_definedNameMap','_executionInProgressListener$','16ldFpUq','_dependencyRTreeCacheForAddressFunction','keys','isDirty','1267746xZgDEi','_runtimeService','_checkIsCycleDependency','openKdTree','resolve','formulaId','isAdded','refOffsetX','3akWfYy','getDirtyRanges','_registerFormulas','_traverse','getFeatureFormulaDependency','getClearDependencyTreeCache','generate','rowCount','removeFormulaDependency','clearOtherFormulaDependency'];_0x17f4=function(){return _0x3e37c7;};return _0x17f4();}const ve=Number['parseInt'](0x67f1fb3f);function _0x3850(_0xb7a64,_0x31b804){const _0x17f483=_0x17f4();return _0x3850=function(_0x3850f8,_0x39ac93){_0x3850f8=_0x3850f8-0xb1;let _0x40d905=_0x17f483[_0x3850f8];return _0x40d905;},_0x3850(_0xb7a64,_0x31b804);}let U=class extends _0x1b2202{[_0x5a1820(0xce)](){const _0x2e4348=_0x5a1820;var _0x622fad,_0x3319e4;this[_0x2e4348(0x11d)]()?(_0x622fad=this['_config'])!=null&&_0x622fad[_0x2e4348(0xbc)]||[[_0x2ed258,{'useClass':he}],[_0x275882,{'useClass':pe}],[_0x5b2cc5,{'useClass':de}]][_0x2e4348(0xd1)](_0x59e546=>this['_injector'][_0x2e4348(0x14c)](_0x59e546)):(_0x3319e4=this[_0x2e4348(0x130)])!=null&&_0x3319e4['notExecuteFormula']||[[_0x2ed258,{'useClass':_0x4e0053}],[_0x275882,{'useClass':_0x2090b6}],[_0x5b2cc5,{'useClass':_0x1b3812}]][_0x2e4348(0xd1)](_0x11059f=>this[_0x2e4348(0x116)][_0x2e4348(0x14c)](_0x11059f));}['_initLicenseValid'](){const _0x3b09b4=_0x5a1820;var _0x35a9ca;const _0x405469=(_0x35a9ca=this[_0x3b09b4(0x101)][_0x3b09b4(0x102)](_0x13c24e))!=null?_0x35a9ca:{},{ls:_0x8e2483,pbk:_0x411624}=_0x405469;if(!_0x8e2483||!_0x411624)return!0x1;const _0x3876d1=_0x53af5b(ue,le),_0x40c497=new Function(_0x3b09b4(0x134)+_0x3876d1)()(_0x8e2483,_0x411624),_0x1c13c8=_0x40c497[_0x3b09b4(0xc9)];return _0x40c497[_0x3b09b4(0xc6)]&&_0x1b7f00(_0x1c13c8,'sf',ve)?_0x340c5e(_0x1c13c8,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};U=_e([_0x2414d6(_0x52715d)],U);export{U as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x1e8d(_0x43f84e,_0x428be1){var _0x5d8765=_0x5d87();return _0x1e8d=function(_0x1e8dd6,_0x2f9ced){_0x1e8dd6=_0x1e8dd6-0x123;var _0x5e9e85=_0x5d8765[_0x1e8dd6];return _0x5e9e85;},_0x1e8d(_0x43f84e,_0x428be1);}(function(_0x153a34,_0x5adce2){var _0x86d2d4=_0x1e8d,_0x2ef2b3=_0x153a34();while(!![]){try{var _0x3dc5f1=-parseInt(_0x86d2d4(0x123))/0x1+parseInt(_0x86d2d4(0x127))/0x2+parseInt(_0x86d2d4(0x124))/0x3*(parseInt(_0x86d2d4(0x126))/0x4)+-parseInt(_0x86d2d4(0x125))/0x5*(parseInt(_0x86d2d4(0x12c))/0x6)+parseInt(_0x86d2d4(0x129))/0x7+parseInt(_0x86d2d4(0x12b))/0x8+parseInt(_0x86d2d4(0x12a))/0x9*(-parseInt(_0x86d2d4(0x128))/0xa);if(_0x3dc5f1===_0x5adce2)break;else _0x2ef2b3['push'](_0x2ef2b3['shift']());}catch(_0x3ba7bc){_0x2ef2b3['push'](_0x2ef2b3['shift']());}}}(_0x5d87,0x41296));export*from'@univerjs/engine-formula/facade';function _0x5d87(){var _0x636782=['10tiKZJQ','1439270WgqEtp','4867209vYWBSk','2251648EBXWoW','24myqxWL','82840XflCAU','20472JErUpN','181870veGBXl','48JSOiJA','934170NjjbRc'];_0x5d87=function(){return _0x636782;};return _0x5d87();}
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f8138=_0x448f;function _0x448f(_0x3fb5f8,_0x372ec2){const _0x37f812=_0x37f8();return _0x448f=function(_0x448fc7,_0x1ab8da){_0x448fc7=_0x448fc7-0x1db;let _0x1e1dfa=_0x37f812[_0x448fc7];return _0x1e1dfa;},_0x448f(_0x3fb5f8,_0x372ec2);}(function(_0x475436,_0x384fcb){const _0x3c8a54=_0x448f,_0x2e500f=_0x475436();while(!![]){try{const _0x3727d8=-parseInt(_0x3c8a54(0x218))/0x1+-parseInt(_0x3c8a54(0x228))/0x2*(-parseInt(_0x3c8a54(0x25b))/0x3)+-parseInt(_0x3c8a54(0x25d))/0x4*(parseInt(_0x3c8a54(0x1eb))/0x5)+parseInt(_0x3c8a54(0x236))/0x6+-parseInt(_0x3c8a54(0x211))/0x7*(parseInt(_0x3c8a54(0x22a))/0x8)+parseInt(_0x3c8a54(0x1f9))/0x9+-parseInt(_0x3c8a54(0x269))/0xa;if(_0x3727d8===_0x384fcb)break;else _0x2e500f['push'](_0x2e500f['shift']());}catch(_0x1110ea){_0x2e500f['push'](_0x2e500f['shift']());}}}(_0x37f8,0x79c71));var z=Object[_0x1f8138(0x203)],W=(_0x4a747b,_0x41744d,_0x22cdca)=>_0x41744d in _0x4a747b?z(_0x4a747b,_0x41744d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22cdca}):_0x4a747b[_0x41744d]=_0x22cdca,T=(_0x56f9c8,_0x3c3db1,_0x5c66a8)=>W(_0x56f9c8,typeof _0x3c3db1!=_0x1f8138(0x21b)?_0x3c3db1+'':_0x3c3db1,_0x5c66a8);import{UniverLicensePlugin as _0x322e28,LS_CONFIG_KEY as _0x246301,unshiftString as _0x28e67d,isFeatureAuthorizedWithinTime as _0x47ac6d,getSheetFeatureLimit as _0xf3f376}from'@univerjs-pro/license';import{ObjectMatrix as _0x3a71c1,requestImmediateMacroTask as _0x3b5570,RTree as _0x42247f,DependentOn as _0x319459}from'@univerjs/core';import{FormulaDependencyGenerator as _0x32f891,generateRandomDependencyTreeId as _0x29f821,FormulaDependencyTree as _0x41a9e9,FormulaDependencyTreeType as _0x2d7cdf,FormulaDependencyTreeVirtual as _0x50fe90,generateAstNode as _0x11868c,CalculateFormulaService as _0x28f8f2,FormulaExecuteStageType as _0x1c1849,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0xce3d7,DEFAULT_INTERVAL_COUNT as _0x4de222,DependencyManagerBaseService as _0x5c0b1c,UniverFormulaEnginePlugin as _0x20b52a,ICalculateFormulaService as _0x22c75f,IDependencyManagerService as _0x5135d4,IFormulaDependencyGenerator as _0x10a5ff,DependencyManagerService as _0x49ea93}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},ue='0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x32f891{constructor(){const _0x4e3fa9=_0x1f8138;super(...arguments),T(this,_0x4e3fa9(0x1e2),new Map());}[_0x1f8138(0x272)](){const _0x34e9a3=_0x1f8138;super['dispose'](),this[_0x34e9a3(0x1e2)][_0x34e9a3(0x201)]();}async[_0x1f8138(0x24f)](){const _0x2a03e5=_0x1f8138;this[_0x2a03e5(0x264)]();const _0x263cf7=this['_currentConfigService'][_0x2a03e5(0x1e8)](),_0x44354e=this[_0x2a03e5(0x256)][_0x2a03e5(0x261)](),_0x42b219=this[_0x2a03e5(0x246)][_0x2a03e5(0x26d)]();_0x42b219!=null&&Object[_0x2a03e5(0x202)](_0x42b219)[_0x2a03e5(0x24b)](_0x51f9b=>{const _0x354f93=_0x2a03e5;_0x51f9b!=null&&Object[_0x354f93(0x202)](_0x42b219[_0x51f9b])[_0x354f93(0x24b)](_0xeeb0d=>{const _0x3fe53d=_0x354f93;_0xeeb0d!=null&&(this[_0x3fe53d(0x1e6)][_0x3fe53d(0x226)](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFeatureFormulaDependency'](_0x51f9b,_0xeeb0d),this[_0x3fe53d(0x1e6)]['clearFormulaDependency'](_0x51f9b,_0xeeb0d));});});const _0x45d2e8=this['_currentConfigService'][_0x2a03e5(0x270)]();await this[_0x2a03e5(0x26a)](_0x263cf7,_0x44354e,_0x45d2e8),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x1f5)]();const _0xeb414c=this['_getUpdateTreeListAndMakeDependency'](),_0x5a6d75=this[_0x2a03e5(0x229)](_0xeb414c);return this['_checkIsCycleDependency'](_0x5a6d75)&&this['_runtimeService'][_0x2a03e5(0x21f)](),this[_0x2a03e5(0x1e2)]['clear'](),this[_0x2a03e5(0x1df)][_0x2a03e5(0x201)](),this[_0x2a03e5(0x1e6)][_0x2a03e5(0x214)](),Promise[_0x2a03e5(0x20c)](_0x5a6d75);}[_0x1f8138(0x23d)](_0x500ed3,_0x59b8bf){const _0x117d2a=_0x1f8138,_0x6bf0da=[_0x500ed3];for(;_0x6bf0da[_0x117d2a(0x238)]>0x0;){const _0x56bfd2=_0x6bf0da[_0x6bf0da[_0x117d2a(0x238)]-0x1];if((_0x59b8bf[_0x117d2a(0x24d)](_0x56bfd2)||0x0)===0x0){_0x59b8bf[_0x117d2a(0x220)](_0x56bfd2,0x1);const _0x565ea4=this['_dependencyTreeCache']['get'](_0x56bfd2);if(_0x565ea4==null){_0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da[_0x117d2a(0x1e7)]();continue;}const _0x349998=this[_0x117d2a(0x1e6)][_0x117d2a(0x1e1)](_0x565ea4[_0x117d2a(0x26f)]());for(const _0x5c06b0 of _0x349998){const _0x50fbde=_0x59b8bf[_0x117d2a(0x24d)](_0x5c06b0)||0x0;if(_0x50fbde===0x1)return!0x0;_0x50fbde===0x0&&_0x6bf0da[_0x117d2a(0x239)](_0x5c06b0);}}else _0x59b8bf['set'](_0x56bfd2,0x2),_0x6bf0da['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x103cc4){const _0x29482f=_0x1f8138,_0xa210e5=new Map();for(const _0x3f24bf of _0x103cc4)if(!_0xa210e5[_0x29482f(0x215)](_0x3f24bf[_0x29482f(0x23c)])&&this[_0x29482f(0x23d)](_0x3f24bf[_0x29482f(0x23c)],_0xa210e5))return!0x0;return _0xa210e5[_0x29482f(0x201)](),!0x1;}[_0x1f8138(0x210)](_0x56e20f,_0x22052b,_0x2e2354){const _0x54b467=_0x1f8138,{unitId:_0x30a6e7,subUnitId:_0x1add19,dependencyRanges:_0xc3e169,getDirtyData:_0x5803e2}=_0x2e2354,_0x20ce8b=_0x22052b||_0x29f821(this[_0x54b467(0x1e6)]),_0x58a4e1=new _0x41a9e9(_0x20ce8b);_0x58a4e1[_0x54b467(0x1fd)]=_0x30a6e7,_0x58a4e1['subUnitId']=_0x1add19,_0x58a4e1[_0x54b467(0x204)]=_0xc3e169,_0x58a4e1[_0x54b467(0x242)]=_0x5803e2;const _0x33b5e5=_0x5803e2(this[_0x54b467(0x246)][_0x54b467(0x242)](),this[_0x54b467(0x25f)][_0x54b467(0x265)]()),_0x84286f=this['_convertDirtyRangesToUnitRange'](_0x33b5e5[_0x54b467(0x217)]);return _0x58a4e1[_0x54b467(0x1ed)]=_0x84286f,_0x58a4e1['featureId']=_0x56e20f,_0x58a4e1[_0x54b467(0x255)]=_0x2d7cdf[_0x54b467(0x23f)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x30a6e7,_0x1add19,_0x56e20f,_0x58a4e1),this[_0x54b467(0x1e2)]['set'](_0x58a4e1[_0x54b467(0x23c)],_0x58a4e1),this[_0x54b467(0x1e6)][_0x54b467(0x1e9)](_0x2e2354['unitId'],_0x2e2354[_0x54b467(0x234)],_0x56e20f)&&(_0x58a4e1[_0x54b467(0x25c)]=!0x0),_0x58a4e1;}['_registerOtherFormulas'](_0x57833b,_0xb0fc9a,_0x398906){const _0x2cf310=_0x1f8138;var _0x37a16f;for(const _0x51d18b of _0xb0fc9a){const _0x430f80=_0x57833b[_0x51d18b];if(_0x430f80==null)continue;const _0x1053da=Object['keys'](_0x430f80);for(const _0x414171 of _0x1053da){const _0x19bd86=_0x430f80[_0x414171];if(_0x19bd86==null)continue;const _0x2385e9=Object['keys'](_0x19bd86);for(const _0x3fb0c2 of _0x2385e9){const _0xe468a4=this[_0x2cf310(0x1e6)]['hasOtherFormulaDataMainData'](_0x3fb0c2),_0x2e8e50=_0x19bd86[_0x3fb0c2],{f:_0x2bf927,ranges:_0x1ef4f3}=_0x2e8e50;let _0xfa55fd=!0x1;_0xe468a4&&(_0xfa55fd=!0x0);const {firstRow:_0x51121c,firstColumn:_0x2fcb9e}=this[_0x2cf310(0x1e3)](_0x1ef4f3),_0x30bf40=this[_0x2cf310(0x1e6)][_0x2cf310(0x247)](_0x51d18b,_0x414171,_0x3fb0c2),_0x4e2eb4=(_0x37a16f=_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](0x0,0x0))!=null?_0x37a16f:_0x29f821(this[_0x2cf310(0x1e6)]),_0x391e58=new _0x41a9e9(_0x4e2eb4);for(let _0x3dc938=0x0;_0x3dc938<_0x1ef4f3[_0x2cf310(0x238)];_0x3dc938++){const _0x48baaa=_0x1ef4f3[_0x3dc938],{startRow:_0xe6c45a,startColumn:_0x4456ae,endRow:_0x1001d3,endColumn:_0x429d6b}=_0x48baaa;for(let _0x31bd67=_0xe6c45a;_0x31bd67<=_0x1001d3;_0x31bd67++)for(let _0x571a0f=_0x4456ae;_0x571a0f<=_0x429d6b;_0x571a0f++){const _0xfed246=_0x571a0f-_0x2fcb9e,_0x3e9b02=_0x31bd67-_0x51121c;if(_0xfed246===0x0&&_0x3e9b02===0x0){_0x391e58[_0x2cf310(0x252)]=_0x2bf927,_0x391e58['unitId']=_0x51d18b,_0x391e58[_0x2cf310(0x234)]=_0x414171,_0x391e58[_0x2cf310(0x216)]=_0x3fb0c2,_0x391e58[_0x2cf310(0x255)]=_0x2d7cdf['OTHER_FORMULA'],_0x391e58[_0x2cf310(0x25c)]=_0xfa55fd,_0x398906['push'](_0x391e58),this['_dependencyTreeCache'][_0x2cf310(0x220)](_0x391e58[_0x2cf310(0x23c)],_0x391e58),this[_0x2cf310(0x1e6)]['addOtherFormulaDependency'](_0x51d18b,_0x414171,_0x3fb0c2,_0x391e58),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x391e58);continue;}const _0x1f1e24=new _0x50fe90();_0x1f1e24[_0x2cf310(0x23c)]=(_0x30bf40==null?void 0x0:_0x30bf40[_0x2cf310(0x1f6)](_0xfed246,_0x3e9b02))||_0x29f821(this['_dependencyManagerService']),_0x1f1e24['refTree']=_0x391e58,_0x1f1e24[_0x2cf310(0x205)]=_0xfed246,_0x1f1e24[_0x2cf310(0x24a)]=_0x3e9b02,_0x1f1e24['isCache']=_0xfa55fd,this['_dependencyManagerService'][_0x2cf310(0x22d)](_0x51d18b,_0x414171,_0x3fb0c2,_0x1f1e24),this[_0x2cf310(0x1e6)][_0x2cf310(0x244)](_0x1f1e24),_0x398906[_0x2cf310(0x239)](_0x1f1e24),this[_0x2cf310(0x1e2)][_0x2cf310(0x220)](_0x1f1e24[_0x2cf310(0x23c)],_0x1f1e24);}}this[_0x2cf310(0x1e6)][_0x2cf310(0x24e)](_0x3fb0c2);}}}}[_0x1f8138(0x230)](_0x2afa8c,_0x42da86,_0x4c517d,_0x3c1c88){const _0x39c027=_0x1f8138;for(const _0x3ae8e1 of _0x2afa8c){const _0x4fb760=_0x42da86[_0x3ae8e1];if(_0x4fb760==null)continue;const _0x280f95=Object[_0x39c027(0x202)](_0x4fb760);for(const _0x2475c0 of _0x280f95){const _0x16b622=new _0x3a71c1(_0x4fb760[_0x2475c0]||{}),_0x10388b=new Map();_0x16b622[_0x39c027(0x223)]((_0x467b19,_0x5975e6,_0x4258e9)=>{const _0x5f3dd4=_0x39c027;if(_0x4258e9==null)return!0x0;const {x:_0x3907e3=0x0,y:_0x4b8ebf=0x0,si:_0xa8b22e}=_0x4258e9;if(!(_0x3907e3===0x0&&_0x4b8ebf===0x0&&_0xa8b22e!=null))return!0x0;const _0x36fd31=this[_0x5f3dd4(0x271)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x4c517d,_0x4258e9),_0x162f0c=this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x1e4)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6);_0x162f0c!=null?_0x36fd31[_0x5f3dd4(0x23c)]=_0x162f0c:(this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x22e)](_0x3ae8e1,_0x2475c0,_0x467b19,_0x5975e6,_0x36fd31),this[_0x5f3dd4(0x1e6)][_0x5f3dd4(0x244)](_0x36fd31)),_0x10388b[_0x5f3dd4(0x220)](_0xa8b22e,_0x36fd31),_0x3c1c88[_0x5f3dd4(0x239)](_0x36fd31),this['_dependencyTreeCache'][_0x5f3dd4(0x220)](_0x36fd31[_0x5f3dd4(0x23c)],_0x36fd31);}),_0x16b622[_0x39c027(0x223)]((_0x415e4e,_0x2c2c8f,_0x1d0533)=>{const _0x5e3151=_0x39c027;if(_0x1d0533==null)return!0x0;const {x:_0x33f4b5=0x0,y:_0x55e4aa=0x0,si:_0x49304a}=_0x1d0533;if(_0x33f4b5===0x0&&_0x55e4aa===0x0&&_0x49304a!=null)return!0x0;let _0x3a54c9;if(_0x49304a&&_0x10388b[_0x5e3151(0x215)](_0x49304a)){const _0x2c8d56=_0x10388b['get'](_0x49304a);_0x3a54c9=this[_0x5e3151(0x24c)](_0x2c8d56,_0x1d0533);}else _0x3a54c9=this[_0x5e3151(0x271)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x4c517d,_0x1d0533);const _0x462f3d=this[_0x5e3151(0x1e6)][_0x5e3151(0x1e4)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f);_0x462f3d!=null?_0x3a54c9[_0x5e3151(0x23c)]=_0x462f3d:(this['_dependencyManagerService'][_0x5e3151(0x22e)](_0x3ae8e1,_0x2475c0,_0x415e4e,_0x2c2c8f,_0x3a54c9),this[_0x5e3151(0x1e6)][_0x5e3151(0x244)](_0x3a54c9)),_0x3c1c88['push'](_0x3a54c9),this['_dependencyTreeCache']['set'](_0x3a54c9[_0x5e3151(0x23c)],_0x3a54c9);}),_0x10388b[_0x39c027(0x201)]();}}}[_0x1f8138(0x271)](_0x5f0a3d,_0x2e032f,_0x1b19ef,_0x48c18c,_0x129f6d,_0x518d71){const _0x3c059f=_0x1f8138,{f:_0x5dbc5b,x:_0x469407=0x0,y:_0x36d548=0x0}=_0x518d71,_0x2d25a9=new _0x41a9e9(_0x29f821(this[_0x3c059f(0x1e6)])),_0x4dfddf=_0x129f6d[_0x5f0a3d][_0x2e032f];return _0x2d25a9['formula']=_0x5dbc5b,_0x2d25a9[_0x3c059f(0x1fd)]=_0x5f0a3d,_0x2d25a9[_0x3c059f(0x234)]=_0x2e032f,_0x2d25a9[_0x3c059f(0x249)]=_0x1b19ef,_0x2d25a9[_0x3c059f(0x1ee)]=_0x48c18c,_0x2d25a9[_0x3c059f(0x20b)]=_0x4dfddf[_0x3c059f(0x20b)],_0x2d25a9['columnCount']=_0x4dfddf[_0x3c059f(0x26b)],_0x2d25a9;}[_0x1f8138(0x254)](){const _0x18fa9d=_0x1f8138,_0x20b336=[],_0x366eb1=new Set(),_0xd3de73=this[_0x18fa9d(0x246)][_0x18fa9d(0x209)](),_0x4608ed=this[_0x18fa9d(0x246)][_0x18fa9d(0x20e)](),_0x3f55e9=this[_0x18fa9d(0x1e6)][_0x18fa9d(0x1e1)](_0x4608ed),_0x4db3b8=this[_0x18fa9d(0x1df)][_0x18fa9d(0x276)](_0x4608ed);for(const _0x14ee1c of _0x4db3b8)_0x3f55e9[_0x18fa9d(0x1fa)](_0x14ee1c);for(const [_0x445ed2,_0x52976e]of this['_dependencyTreeCache'])(_0xd3de73||_0x52976e[_0x18fa9d(0x1e0)]||_0x52976e[_0x18fa9d(0x241)](this[_0x18fa9d(0x246)]['getDirtyNameMap']())||_0x3f55e9[_0x18fa9d(0x215)](_0x445ed2)&&!_0x52976e[_0x18fa9d(0x1fb)](this[_0x18fa9d(0x246)][_0x18fa9d(0x262)]()))&&!_0x366eb1[_0x18fa9d(0x215)](_0x445ed2)&&(_0x20b336[_0x18fa9d(0x239)](_0x52976e),_0x366eb1['add'](_0x445ed2));for(const [_0x530e6c,_0x5acda5]of this['_dependencyTreeCache'])_0x5acda5[_0x18fa9d(0x213)]||(_0x5acda5[_0x18fa9d(0x204)]['length']=0x0);return _0x20b336;}[_0x1f8138(0x1ff)](_0x301f4e){const _0x259397=_0x1f8138;return this['_dependencyTreeCache'][_0x259397(0x24d)](_0x301f4e);}['_getTreeNode'](_0x56bdb2){const _0x2363e5=_0x1f8138;return _0x11868c(_0x56bdb2[_0x2363e5(0x1fd)],_0x56bdb2[_0x2363e5(0x252)],this[_0x2363e5(0x21e)],this[_0x2363e5(0x22c)],this[_0x2363e5(0x246)]);}*[_0x1f8138(0x20a)](_0x3fbb1c,_0x2cc5e5){const _0xfe030c=_0x1f8138,_0x3fad38=_0x3fbb1c,_0xeade30=new Set();for(;_0x3fad38[_0xfe030c(0x238)]>0x0;){const _0x57e846=_0x3fad38[_0xfe030c(0x1e7)]();if(_0xeade30[_0xfe030c(0x201)](),_0x57e846===void 0x0||_0x57e846[_0xfe030c(0x1f4)]())continue;if(_0x57e846[_0xfe030c(0x206)]()){yield _0x57e846,_0x57e846[_0xfe030c(0x243)](),_0x2cc5e5[_0xfe030c(0x1fa)](_0x57e846[_0xfe030c(0x23c)]);continue;}const _0x391d9e=this['_dependencyManagerService'][_0xfe030c(0x1e1)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5),_0xee63ee=this[_0xfe030c(0x1df)][_0xfe030c(0x276)](_0x57e846[_0xfe030c(0x26f)](),_0x2cc5e5);for(const _0x169934 of _0xee63ee)_0x391d9e['add'](_0x169934);for(const _0xd84a94 of _0x391d9e){const _0x104ad5=this[_0xfe030c(0x1e2)]['get'](_0xd84a94);if(!_0x104ad5)throw new Error(_0xfe030c(0x21a));_0x104ad5[_0xfe030c(0x206)]()||_0x57e846['isSkip']()||_0xeade30[_0xfe030c(0x1fa)](_0x104ad5);}if(_0x391d9e[_0xfe030c(0x201)](),_0xeade30[_0xfe030c(0x1db)]===0x0)yield _0x57e846,_0x57e846['setSkip'](),_0x2cc5e5['add'](_0x57e846['treeId']);else{_0x57e846[_0xfe030c(0x231)](),_0x3fad38[_0xfe030c(0x239)](_0x57e846);for(const _0x42f21a of _0xeade30)_0x3fad38[_0xfe030c(0x239)](_0x42f21a);}}_0x3fad38[_0xfe030c(0x238)]=0x0,_0xeade30[_0xfe030c(0x201)]();}[_0x1f8138(0x229)](_0x262b84){const _0x16d47f=_0x1f8138,_0x3acbc1=[],_0x3ee96e=new Set();for(const _0x2d6a43 of this['_traverse'](_0x262b84,_0x3ee96e))_0x3acbc1[_0x16d47f(0x239)](_0x2d6a43);return _0x3acbc1;}}class he extends _0x28f8f2{async['_apply'](_0x413e39=!0x1){const _0x3a3cd0=_0x1f8138;_0x413e39?this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x248)]),this['_executionInProgressListener$']['next'](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());const _0x43e0ad=await this[_0x3a3cd0(0x1f1)][_0x3a3cd0(0x24f)](),_0xb20f07=this['_interpreter'];_0x413e39?(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x235)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x266)](_0x43e0ad[_0x3a3cd0(0x238)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x1dc)]),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x225)](_0x43e0ad[_0x3a3cd0(0x238)])),this[_0x3a3cd0(0x1ec)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x222)]());let _0x37be27=[];const _0x2f1dcf=this[_0x3a3cd0(0x237)]['getConfig'](_0xce3d7),_0x362b8e=(_0x2f1dcf==null?void 0x0:_0x2f1dcf[_0x3a3cd0(0x253)])||_0x4de222;let _0x161a88=0x0;const _0x49bb10=_0x43e0ad[_0x3a3cd0(0x238)];for(;_0x43e0ad[_0x3a3cd0(0x238)]>0x0;){const _0x5cc1f2=_0x43e0ad['pop'](),_0x55d6bc={'node':_0x11868c(_0x5cc1f2[_0x3a3cd0(0x1fd)],_0x5cc1f2[_0x3a3cd0(0x252)],this[_0x3a3cd0(0x21e)],this[_0x3a3cd0(0x22c)],this[_0x3a3cd0(0x246)]),'refOffsetX':_0x5cc1f2[_0x3a3cd0(0x205)],'refOffsetY':_0x5cc1f2[_0x3a3cd0(0x24a)]},_0xd72c77=_0x5cc1f2['getDirtyData'];if(_0x161a88%_0x362b8e===0x0&&(await new Promise(_0x561fe7=>{const _0x38d812=_0x3a3cd0,_0x21458c=_0x3b5570(_0x561fe7);_0x37be27[_0x38d812(0x239)](_0x21458c);}),_0x413e39?(this['_runtimeService'][_0x3a3cd0(0x274)](_0x1c1849[_0x3a3cd0(0x21d)]),this[_0x3a3cd0(0x25f)]['setCompletedArrayFormulasCount'](_0x161a88+0x1)):(this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x274)](_0x1c1849['CURRENTLY_CALCULATING']),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x245)](_0x161a88+0x1)),this['_executionInProgressListener$'][_0x3a3cd0(0x26e)](this['_runtimeService'][_0x3a3cd0(0x222)]()),this['_runtimeService'][_0x3a3cd0(0x1ea)]()||_0x55d6bc==null&&_0xd72c77==null)){this[_0x3a3cd0(0x25f)]['setFormulaExecuteStage'](_0x1c1849[_0x3a3cd0(0x257)]),this[_0x3a3cd0(0x25f)]['markedAsStopFunctionsExecuted'](),this[_0x3a3cd0(0x25a)][_0x3a3cd0(0x26e)](this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());return;}this[_0x3a3cd0(0x25f)]['setCurrent'](_0x5cc1f2[_0x3a3cd0(0x249)],_0x5cc1f2[_0x3a3cd0(0x1ee)],_0x5cc1f2[_0x3a3cd0(0x20b)],_0x5cc1f2[_0x3a3cd0(0x26b)],_0x5cc1f2[_0x3a3cd0(0x234)],_0x5cc1f2[_0x3a3cd0(0x1fd)]);let _0x3e5ff3;if(_0xd72c77!=null&&_0x5cc1f2[_0x3a3cd0(0x1f0)]!=null){const {runtimeCellData:_0x3ae045,dirtyRanges:_0x42ba5b}=_0xd72c77(this[_0x3a3cd0(0x246)][_0x3a3cd0(0x242)](),this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x265)]());this['_runtimeService'][_0x3a3cd0(0x219)](_0x5cc1f2[_0x3a3cd0(0x1f0)],_0x3ae045),this[_0x3a3cd0(0x25f)]['setRuntimeFeatureRange'](_0x5cc1f2['featureId'],_0x42ba5b);}else _0x55d6bc!=null&&(_0xb20f07[_0x3a3cd0(0x22b)](_0x55d6bc[_0x3a3cd0(0x240)])?_0x3e5ff3=await _0xb20f07[_0x3a3cd0(0x1f2)](_0x55d6bc):_0x3e5ff3=_0xb20f07['execute'](_0x55d6bc),_0x5cc1f2['formulaId']!=null?this[_0x3a3cd0(0x25f)]['setRuntimeOtherData'](_0x5cc1f2[_0x3a3cd0(0x216)],_0x5cc1f2[_0x3a3cd0(0x205)],_0x5cc1f2[_0x3a3cd0(0x24a)],_0x3e5ff3):this['_runtimeService'][_0x3a3cd0(0x233)](_0x3e5ff3));_0x161a88++;}return _0x37be27[_0x3a3cd0(0x24b)](_0x52201d=>_0x52201d()),_0x37be27=[],_0x49bb10>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x413e39||this[_0x3a3cd0(0x25f)][_0x3a3cd0(0x23e)](),this['_runtimeService'][_0x3a3cd0(0x265)]();}}class ge extends _0x5c0b1c{constructor(){const _0x532ae3=_0x1f8138;super(...arguments),T(this,'_allTreeMap',new Map()),T(this,_0x532ae3(0x200),new _0x42247f(!0x0));}[_0x1f8138(0x20f)](){const _0x73ed58=_0x1f8138;this['_otherFormulaData'][_0x73ed58(0x201)](),this['_featureFormulaData'][_0x73ed58(0x201)](),this['_formulaData']['clear'](),this[_0x73ed58(0x200)][_0x73ed58(0x201)](),this[_0x73ed58(0x1f7)][_0x73ed58(0x201)](),this[_0x73ed58(0x258)](),this[_0x73ed58(0x232)][_0x73ed58(0x201)]();}['addOtherFormulaDependency'](_0x40793a,_0x35c360,_0x394139,_0x29f2ca){const _0x155c59=_0x1f8138;this[_0x155c59(0x1e5)][_0x155c59(0x215)](_0x40793a)||this[_0x155c59(0x1e5)][_0x155c59(0x220)](_0x40793a,new Map());const _0x47c437=this[_0x155c59(0x1e5)][_0x155c59(0x24d)](_0x40793a);_0x47c437['has'](_0x35c360)||_0x47c437[_0x155c59(0x220)](_0x35c360,new Map());const _0x153fd2=_0x47c437[_0x155c59(0x24d)](_0x35c360);_0x153fd2['has'](_0x394139)||_0x153fd2[_0x155c59(0x220)](_0x394139,new _0x3a71c1()),_0x153fd2[_0x155c59(0x24d)](_0x394139)[_0x155c59(0x275)](_0x29f2ca[_0x155c59(0x205)],_0x29f2ca['refOffsetY'],_0x29f2ca['treeId']);}['removeOtherFormulaDependency'](_0x516cb1,_0x2999e3,_0x41e5c9){const _0x1510e0=_0x1f8138,_0x15b789=this[_0x1510e0(0x1e5)][_0x1510e0(0x24d)](_0x516cb1);if(_0x15b789&&_0x15b789[_0x1510e0(0x215)](_0x2999e3)){const _0x55f6db=_0x15b789['get'](_0x2999e3);_0x41e5c9[_0x1510e0(0x24b)](_0x59b8e6=>{const _0x2757fe=_0x1510e0,_0x1d3d31=_0x55f6db[_0x2757fe(0x24d)](_0x59b8e6);_0x1d3d31!=null&&(_0x1d3d31[_0x2757fe(0x223)]((_0x1c2a83,_0x1a8e93,_0x5e75f2)=>{const _0x364ac7=_0x2757fe;this[_0x364ac7(0x212)](_0x5e75f2),this[_0x364ac7(0x224)](_0x5e75f2);}),_0x55f6db['delete'](_0x59b8e6),this[_0x2757fe(0x232)][_0x2757fe(0x1dd)](_0x59b8e6));}),_0x55f6db['size']===0x0&&_0x15b789[_0x1510e0(0x1dd)](_0x2999e3),_0x15b789[_0x1510e0(0x1db)]===0x0&&this['_otherFormulaData'][_0x1510e0(0x1dd)](_0x516cb1);}}[_0x1f8138(0x226)](_0xa8fe10,_0x515bb6){const _0x5d35b2=_0x1f8138,_0x47079f=this[_0x5d35b2(0x1e5)][_0x5d35b2(0x24d)](_0xa8fe10);if(_0x515bb6&&_0x47079f&&_0x47079f[_0x5d35b2(0x215)](_0x515bb6)){const _0x40d6c2=_0x47079f['get'](_0x515bb6);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x515bb6);for(const _0x54d24e of _0x40d6c2[_0x5d35b2(0x202)]()){const _0x5c9754=_0x40d6c2[_0x5d35b2(0x24d)](_0x54d24e);_0x5c9754!=null&&(_0x5c9754[_0x5d35b2(0x223)]((_0x264fe1,_0x57026b,_0x51aeea)=>{const _0xfa6860=_0x5d35b2;this[_0xfa6860(0x1f7)][_0xfa6860(0x24d)](_0x51aeea)&&this[_0xfa6860(0x224)](_0x51aeea);}),this[_0x5d35b2(0x232)]['delete'](_0x54d24e));}_0x40d6c2['clear']();}else{if(_0x47079f){for(const _0x184472 of _0x47079f[_0x5d35b2(0x202)]()){const _0x2452e6=_0x47079f[_0x5d35b2(0x24d)](_0x184472);this[_0x5d35b2(0x23b)](_0xa8fe10,_0x184472);for(const _0xe12146 of _0x2452e6['keys']()){const _0xd3a09d=_0x2452e6[_0x5d35b2(0x24d)](_0xe12146);_0xd3a09d!=null&&(_0xd3a09d[_0x5d35b2(0x223)]((_0x14a121,_0x46718a,_0x441c1c)=>{const _0x29c69f=_0x5d35b2;this[_0x29c69f(0x1f7)]['get'](_0x441c1c)&&this['_removeAllTreeMap'](_0x441c1c);}),this['_otherFormulaDataMainData'][_0x5d35b2(0x1dd)](_0xe12146));}}this[_0x5d35b2(0x1e5)][_0x5d35b2(0x1dd)](_0xa8fe10);}}}[_0x1f8138(0x259)](_0x18ec97,_0x544d3d,_0x2e2056,_0x23a031){const _0x4bdbd4=_0x1f8138;this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x215)](_0x18ec97)||this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x220)](_0x18ec97,new Map());const _0x1d8f60=this[_0x4bdbd4(0x23a)][_0x4bdbd4(0x24d)](_0x18ec97);_0x1d8f60[_0x4bdbd4(0x215)](_0x544d3d)||_0x1d8f60[_0x4bdbd4(0x220)](_0x544d3d,new Map()),_0x1d8f60['get'](_0x544d3d)[_0x4bdbd4(0x220)](_0x2e2056,_0x23a031[_0x4bdbd4(0x23c)]);}[_0x1f8138(0x26c)](_0x29aaf0,_0x5eca71,_0x4cc6e3){const _0x43adb6=_0x1f8138,_0x505896=this[_0x43adb6(0x23a)]['get'](_0x29aaf0);if(_0x505896&&_0x505896['has'](_0x5eca71)){const _0x14df0f=_0x505896[_0x43adb6(0x24d)](_0x5eca71);_0x4cc6e3['forEach'](_0x1c6c9f=>{const _0x27eba7=_0x43adb6,_0x1683da=_0x14df0f[_0x27eba7(0x24d)](_0x1c6c9f);_0x1683da!=null&&(this[_0x27eba7(0x212)](_0x1683da),_0x14df0f[_0x27eba7(0x1dd)](_0x1c6c9f),this[_0x27eba7(0x224)](_0x1683da));});}}['clearFeatureFormulaDependency'](_0x206331,_0x247028){const _0x2cc313=_0x1f8138,_0x4fc1b1=this[_0x2cc313(0x23a)][_0x2cc313(0x24d)](_0x206331);if(_0x247028&&_0x4fc1b1&&_0x4fc1b1['has'](_0x247028)){const _0x45a3cb=_0x4fc1b1[_0x2cc313(0x24d)](_0x247028);this['_removeDependencyRTreeCacheById'](_0x206331,_0x247028),_0x45a3cb[_0x2cc313(0x24b)](_0x2b9a4c=>{const _0x1d48a7=_0x2cc313;_0x2b9a4c!=null&&this[_0x1d48a7(0x224)](_0x2b9a4c);}),_0x45a3cb['clear']();}else _0x4fc1b1&&(_0x4fc1b1[_0x2cc313(0x24b)]((_0x4c346f,_0x3312b5)=>{const _0x2b98db=_0x2cc313;this[_0x2b98db(0x23b)](_0x206331,_0x3312b5),_0x4c346f['forEach'](_0x51cfe0=>{const _0x316c34=_0x2b98db;_0x51cfe0!=null&&this[_0x316c34(0x224)](_0x51cfe0);});}),this[_0x2cc313(0x23a)][_0x2cc313(0x1dd)](_0x206331));}[_0x1f8138(0x22e)](_0x136d0f,_0x1c435c,_0x31fec1,_0x4eb645,_0x442834){const _0x2ef781=_0x1f8138;this[_0x2ef781(0x22f)][_0x2ef781(0x215)](_0x136d0f)||this['_formulaData']['set'](_0x136d0f,new Map());const _0x1447c9=this['_formulaData']['get'](_0x136d0f);_0x1447c9[_0x2ef781(0x215)](_0x1c435c)||_0x1447c9[_0x2ef781(0x220)](_0x1c435c,new _0x3a71c1()),_0x1447c9[_0x2ef781(0x24d)](_0x1c435c)[_0x2ef781(0x275)](_0x31fec1,_0x4eb645,_0x442834[_0x2ef781(0x23c)]);}['removeFormulaDependency'](_0x340720,_0x181d3c,_0x3e5851,_0x232d4a){const _0x1517b8=_0x1f8138,_0x1ba2d2=this[_0x1517b8(0x22f)][_0x1517b8(0x24d)](_0x340720);if(_0x1ba2d2&&_0x1ba2d2[_0x1517b8(0x215)](_0x181d3c)){const _0x3fb197=_0x1ba2d2[_0x1517b8(0x24d)](_0x181d3c),_0xd46a6c=_0x3fb197['getValue'](_0x3e5851,_0x232d4a);if(_0xd46a6c==null)return;this[_0x1517b8(0x212)](_0xd46a6c),_0x3fb197[_0x1517b8(0x273)](_0x3e5851,_0x232d4a),this[_0x1517b8(0x224)](_0xd46a6c);}}[_0x1f8138(0x263)](_0x1c1499,_0x26d89d){const _0xf392a0=_0x1f8138,_0xb3afd1=this[_0xf392a0(0x22f)]['get'](_0x1c1499);if(_0x26d89d&&_0xb3afd1&&_0xb3afd1[_0xf392a0(0x215)](_0x26d89d)){const _0x5a6d84=_0xb3afd1[_0xf392a0(0x24d)](_0x26d89d);this[_0xf392a0(0x23b)](_0x1c1499,_0x26d89d),_0x5a6d84['forValue']((_0x3af5ca,_0x17de54,_0x5a6be4)=>{const _0x9cf121=_0xf392a0;if(_0x5a6be4==null)return!0x0;this[_0x9cf121(0x224)](_0x5a6be4);}),_0x5a6d84[_0xf392a0(0x20f)]();}else _0xb3afd1&&(_0xb3afd1[_0xf392a0(0x24b)]((_0x30dcfb,_0x3afb13)=>{const _0x1029f6=_0xf392a0;this[_0x1029f6(0x23b)](_0x1c1499,_0x3afb13),_0x30dcfb[_0x1029f6(0x223)]((_0x50918c,_0x242d8c,_0x46f946)=>{if(_0x46f946==null)return!0x0;this['_removeAllTreeMap'](_0x46f946);});}),this[_0xf392a0(0x22f)]['delete'](_0x1c1499));}['_removeDependencyRTreeCache'](_0x3b99fc){const _0x48ee31=_0x1f8138;if(_0x3b99fc==null)return;const _0x46bdd3=this[_0x48ee31(0x1f7)][_0x48ee31(0x24d)](_0x3b99fc);if(_0x46bdd3){const _0x512ed9=[];for(const [_0x218695,_0x56afde]of _0x46bdd3)for(const [_0x4db8d7,_0x33e2e7]of _0x56afde)_0x512ed9['push']({'unitId':_0x218695,'sheetId':_0x4db8d7,'range':_0x33e2e7,'id':_0x3b99fc});this['_dependencyRTreeCache']['bulkRemove'](_0x512ed9);}}['removeFormulaDependencyByDefinedName'](_0x5aca72,_0x412331){const _0x5b7d7a=_0x1f8138,_0x436833=this[_0x5b7d7a(0x251)][_0x5b7d7a(0x24d)](_0x5aca72);if(_0x436833){const _0x920cdd=_0x436833['get'](_0x412331);if(_0x920cdd){for(const _0x137d2c of _0x920cdd)this['_removeDependencyRTreeCache'](_0x137d2c),this[_0x5b7d7a(0x224)](_0x137d2c);_0x920cdd['clear']();}}}['openKdTree'](){const _0xac9c6=_0x1f8138;this[_0xac9c6(0x200)]['openKdTree']();}[_0x1f8138(0x214)](){const _0x1b53a3=_0x1f8138;this[_0x1b53a3(0x200)]['closeKdTree']();}[_0x1f8138(0x224)](_0x407c26){const _0x5367db=_0x1f8138;_0x407c26!=null&&this[_0x5367db(0x1f7)][_0x5367db(0x1dd)](_0x407c26);}[_0x1f8138(0x1ef)](_0x31b84e){const _0x3fd8d6=_0x1f8138;var _0x3ce634,_0x26ec97;const _0xb2055=_0x31b84e['rangeList'];let _0x4778a2=this['_allTreeMap'][_0x3fd8d6(0x24d)](_0x31b84e['treeId']);for(let _0x41849c=0x0;_0x41849c<_0xb2055[_0x3fd8d6(0x238)];_0x41849c++){const _0x51f9b9=_0xb2055[_0x41849c];let {unitId:_0x21e767,sheetId:_0x3e2378,range:_0x485e90}=_0x51f9b9;_0x4778a2||(_0x4778a2=new Map(),this[_0x3fd8d6(0x1f7)][_0x3fd8d6(0x220)](_0x31b84e[_0x3fd8d6(0x23c)],_0x4778a2)),_0x4778a2[_0x3fd8d6(0x215)](_0x21e767)||_0x4778a2[_0x3fd8d6(0x220)](_0x21e767,new Map());const _0x322f32=(_0x3ce634=_0x4778a2==null?void 0x0:_0x4778a2['get'](_0x21e767))==null?void 0x0:_0x3ce634[_0x3fd8d6(0x24d)](_0x3e2378);_0x322f32&&(_0x485e90={'startRow':Math[_0x3fd8d6(0x268)](_0x485e90['startRow'],_0x322f32['startRow']),'startColumn':Math[_0x3fd8d6(0x268)](_0x485e90[_0x3fd8d6(0x227)],_0x322f32[_0x3fd8d6(0x227)]),'endRow':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1fc)],_0x322f32[_0x3fd8d6(0x1fc)]),'endColumn':Math[_0x3fd8d6(0x221)](_0x485e90[_0x3fd8d6(0x1f8)],_0x322f32[_0x3fd8d6(0x1f8)])}),(_0x26ec97=_0x4778a2[_0x3fd8d6(0x24d)](_0x21e767))==null||_0x26ec97[_0x3fd8d6(0x220)](_0x3e2378,_0x485e90);}}}function _0x37f8(){const _0x138550=['length','push','_featureFormulaData','_removeDependencyRTreeCacheById','treeId','_isCyclicUtilMap','markedAsNoFunctionsExecuted','FEATURE_FORMULA','node','dependencySheetName','getDirtyData','setSkip','addFormulaDependencyByDefinedName','setCompletedFormulasCount','_currentConfigService','getOtherFormulaDependency','START_DEPENDENCY','row','refOffsetY','forEach','_createVirtualFDtree','get','addOtherFormulaDependencyMainData','generate','_config','_definedNameMap','formula','intervalCount','_getUpdateTreeListAndMakeDependency','type','_otherFormulaManagerService','IDLE','_restDependencyTreeId','addFeatureFormulaDependency','_executionCompleteListener$','9auCifF','isCache','43732mGBocg','getOwnPropertyDescriptor','_runtimeService','_initializeWithOverride','getOtherFormulaData','getExcludedRange','clearFormulaDependency','_updateRangeFlatten','getAllRuntimeData','setTotalArrayFormulasToCalculate','getConfig','min','295330ZIFFKH','_generateTreeList','columnCount','removeFeatureFormulaDependency','getClearDependencyTreeCache','next','toRTreeItem','getUnitData','_createFDtree','dispose','realDeleteValue','setFormulaExecuteStage','setValue','bulkSearch','size','START_CALCULATION','delete','valid','_dependencyRTreeCacheForAddressFunction','isDirty','searchDependency','_dependencyTreeCache','_getFirstCellOfRange','getFormulaDependency','_otherFormulaData','_dependencyManagerService','pop','getFormulaData','getFeatureFormulaDependency','isStopExecution','290CRBhkY','_executionInProgressListener$','featureDirtyRanges','column','_addAllTreeMap','featureId','_formulaDependencyGenerator','executeAsync','_injector','isSkip','openKdTree','getValue','_allTreeMap','endColumn','6097122pYGClo','add','isExcludeRange','endRow','unitId','notExecuteFormula','_getTreeById','_dependencyRTreeCache','clear','keys','defineProperty','rangeList','refOffsetX','isAdded','parseInt','message','isForceCalculate','_traverse','rowCount','resolve','_initLicenseValid','getDirtyRanges','reset','_getFeatureFormulaTree','502754xXPEVr','_removeDependencyRTreeCache','isVirtual','closeKdTree','has','formulaId','dirtyRanges','157389dZwvEY','setRuntimeFeatureCellData','ParentDependencyTree\x20object\x20is\x20null','symbol','return\x20','CURRENTLY_CALCULATING_ARRAY_FORMULA','_lexer','enableCycleDependency','set','max','getRuntimeState','forValue','_removeAllTreeMap','setTotalFormulasToCalculate','clearOtherFormulaDependency','startColumn','363162vvqSfo','_calculateRunList','32tGIIVG','checkAsyncNode','_astTreeBuilder','addOtherFormulaDependency','addFormulaDependency','_formulaData','_registerFormulas','setAdded','_otherFormulaDataMainData','setRuntimeData','subUnitId','START_CALCULATION_ARRAY_FORMULA','2309544tSLbof','_configService'];_0x37f8=function(){return _0x138550;};return _0x37f8();}var fe=Object[_0x1f8138(0x25e)],pe=(_0x1bea54,_0x137af9,_0x20e090,_0x181ca7)=>{const _0x13ee9e=_0x1f8138;for(var _0x47400f=_0x181ca7>0x1?void 0x0:_0x181ca7?fe(_0x137af9,_0x20e090):_0x137af9,_0x3baaa8=_0x1bea54[_0x13ee9e(0x238)]-0x1,_0x3f89f4;_0x3baaa8>=0x0;_0x3baaa8--)(_0x3f89f4=_0x1bea54[_0x3baaa8])&&(_0x47400f=_0x3f89f4(_0x47400f)||_0x47400f);return _0x47400f;};const _e=Number[_0x1f8138(0x207)](0x67ed1401);let N=class extends _0x20b52a{[_0x1f8138(0x260)](){const _0x5c1b1b=_0x1f8138;var _0x567533,_0x4dac7f;this[_0x5c1b1b(0x20d)]()?(_0x567533=this['_config'])!=null&&_0x567533['notExecuteFormula']||[[_0x22c75f,{'useClass':he}],[_0x5135d4,{'useClass':ge}],[_0x10a5ff,{'useClass':de}]]['forEach'](_0x214de0=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x214de0)):(_0x4dac7f=this[_0x5c1b1b(0x250)])!=null&&_0x4dac7f[_0x5c1b1b(0x1fe)]||[[_0x22c75f,{'useClass':_0x28f8f2}],[_0x5135d4,{'useClass':_0x49ea93}],[_0x10a5ff,{'useClass':_0x32f891}]][_0x5c1b1b(0x24b)](_0x2fdcb6=>this[_0x5c1b1b(0x1f3)][_0x5c1b1b(0x1fa)](_0x2fdcb6));}[_0x1f8138(0x20d)](){const _0x3b3d3d=_0x1f8138;var _0x3a6d46;const _0x5df9a8=(_0x3a6d46=this[_0x3b3d3d(0x237)][_0x3b3d3d(0x267)](_0x246301))!=null?_0x3a6d46:{},{ls:_0x2e743b,pbk:_0x26bab1}=_0x5df9a8;if(!_0x2e743b||!_0x26bab1)return!0x1;const _0x3490fa=_0x28e67d(ue,le),_0x313fa3=new Function(_0x3b3d3d(0x21c)+_0x3490fa)()(_0x2e743b,_0x26bab1),_0x25c2b2=_0x313fa3[_0x3b3d3d(0x208)];return _0x313fa3[_0x3b3d3d(0x1de)]&&_0x47ac6d(_0x25c2b2,'sf',_e)?_0xf3f376(_0x25c2b2,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};N=pe([_0x319459(_0x322e28)],N);export{N as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x5a1820=_0x3850;(function(_0x361750,_0xf2b446){const _0x345066=_0x3850,_0x2d144f=_0x361750();while(!![]){try{const _0x471962=-parseInt(_0x345066(0xe3))/0x1+-parseInt(_0x345066(0xb4))/0x2*(-parseInt(_0x345066(0xeb))/0x3)+-parseInt(_0x345066(0xc7))/0x4+parseInt(_0x345066(0x139))/0x5*(parseInt(_0x345066(0x11e))/0x6)+parseInt(_0x345066(0x12b))/0x7*(parseInt(_0x345066(0xdf))/0x8)+parseInt(_0x345066(0x122))/0x9*(parseInt(_0x345066(0xc3))/0xa)+parseInt(_0x345066(0x128))/0xb;if(_0x471962===_0xf2b446)break;else _0x2d144f['push'](_0x2d144f['shift']());}catch(_0x1012c8){_0x2d144f['push'](_0x2d144f['shift']());}}}(_0x17f4,0xdb54f));var H=Object[_0x5a1820(0xf7)],J=(_0x18c2f0,_0x3c86d9,_0x381b90)=>_0x3c86d9 in _0x18c2f0?H(_0x18c2f0,_0x3c86d9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x381b90}):_0x18c2f0[_0x3c86d9]=_0x381b90,S=(_0xd69e53,_0xa2893e,_0x1c530a)=>J(_0xd69e53,typeof _0xa2893e!='symbol'?_0xa2893e+'':_0xa2893e,_0x1c530a);import{UniverLicensePlugin as _0x52715d,LS_CONFIG_KEY as _0x13c24e,unshiftString as _0x53af5b,isFeatureAuthorizedWithinTime as _0x1b7f00,getSheetFeatureLimit as _0x340c5e}from'@univerjs-pro/license';import{ObjectMatrix as _0x4d2a1c,requestImmediateMacroTask as _0x30a00f,RTree as _0x559ac5,DependentOn as _0x2414d6}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1b3812,generateRandomDependencyTreeId as _0x46b234,FormulaDependencyTree as _0x2a6606,FormulaDependencyTreeType as _0x42142f,FormulaDependencyTreeVirtual as _0x448fd2,generateAstNode as _0x27367e,CalculateFormulaService as _0x4e0053,FormulaExecuteStageType as _0x27fab8,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x38a299,DEFAULT_INTERVAL_COUNT as _0xc88fc4,DependencyManagerBaseService as _0x28fe35,UniverFormulaEnginePlugin as _0x1b2202,ICalculateFormulaService as _0x2ed258,IDependencyManagerService as _0x275882,IFormulaDependencyGenerator as _0x5b2cc5,DependencyManagerService as _0x2090b6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'i',0x1:'I',0x2:'x',0x3:'3',0x4:'o',0x5:'W',0x6:'O',0x7:'n',0x8:'v',0x9:'B','K':'0','b':'1','o':'2','c':'4','r':'5','B':'6','R':'7','O':'8','Z':'9','p':'a','u':'b','P':'c','N':'d','v':'e','D':'f','n':'g','S':'h','d':'j','W':'k','y':'l','M':'m','X':'p','l':'q','a':'r','t':'s','E':'t','i':'u','I':'w','k':'y','m':'z','g':'A','L':'C','F':'D','A':'E','U':'F','q':'G','j':'H','e':'J','h':'K','x':'L','V':'M','H':'N','C':'P','s':'Q','T':'R','J':'S','w':'T','Q':'U','Y':'V','G':'X','z':'Y','f':'Z'},ue='Di7PE047\x20NvPakXE047(y0Pv7tv,\x20Xiuy0Phvk)\x20{\x20\x20\x20\x20Eak\x20{\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20y0Pv7tv17D4CpaEgaapk\x20=\x20y0Pv7tv.tXy0E(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x204a0n07Vvttpnv\x20=\x20eJ6H.Xpatv(pE4u(y0Pv7tv17D4CpaEgaapk[o]));\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!4a0n07Vvttpnv.iN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204a0n07Vvttpnv.iN\x20=\x20HiMuva(y0Pv7tv17D4CpaEgaapk[c]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x200t54aWva\x20=\x20EkXv4D\x2054aWvaqy4upyJP4Xv\x20!==\x20\x27i7NvD07vN\x27\x20&&\x20tvyD\x2007tEp7Pv4D\x2054aWvaqy4upyJP4Xv;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20P47Ev2E\x20=\x200t54aWva\x20?\x20tvyD\x20:\x20I07N4I;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[o]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(Mvttpnv54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[3]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(t0n7pEiav54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7Ypy0N\x20=\x20P47Ev2E.__8va0Dk__(t0n7pEiav,\x20Mvttpnv,\x20Xiuy0Phvk);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20N4Mp07\x20=\x204a0n07Vvttpnv.NM;\x20\x20\x20\x20\x20\x20\x20\x20Di7PE047\x200tF4Mp07VpEPS07n(4CpEEva7,\x204j4tE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7\x20=\x204CpEEva7.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tE\x20=\x204j4tE.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7CpaEt\x20=\x20XpEEva7.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tECpaEt\x20=\x20S4tE.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!XpEEva7.07PyiNvt(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7\x20===\x20S4tE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(XpEEva7CpaEt.yv7nES\x20<\x20o\x20||\x20XpEEva7CpaEt[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20Dpytv;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7JiDD02\x20=\x20XpEEva7CpaEt.ty0Pv(b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tEJiDD02\x20=\x20S4tECpaEt.ty0Pv(-XpEEva7CpaEt.yv7nES\x20+\x20b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7JiDD02\x20===\x20S4tEJiDD02;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yvE\x20N4Mp07Ypy0N\x20=\x20(N4Mp07\x20&&\x20N4Mp07.yv7nES)\x20?\x20N4Mp07.t4Mv((NM1EvM)\x20=>\x200tF4Mp07VpEPS07n(NM1EvM,\x20y4PpE047.S4tE7pMv))\x20:\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x200D\x20(y4PpE047.S4tE7pMv\x20===\x20\x27y4PpyS4tE\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N4Mp07Ypy0N\x20=\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x208py0N\x20=\x20t0n7Ypy0N\x20&&\x20N4Mp07Ypy0N;\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x204a0n07Vvttpnv,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20PpEPS\x20(vaa4a)\x20{\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N:\x20Dpytv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1b3812{constructor(){const _0x21cc52=_0x5a1820;super(...arguments),S(this,_0x21cc52(0x136),new Map());}[_0x5a1820(0x10f)](){const _0x492795=_0x5a1820;super[_0x492795(0x10f)](),this[_0x492795(0x136)]['clear']();}async[_0x5a1820(0xf1)](){const _0x1a4c0a=_0x5a1820;this['_updateRangeFlatten']();const _0x10eab4=this['_currentConfigService']['getFormulaData'](),_0x3d657f=this[_0x1a4c0a(0x120)][_0x1a4c0a(0x142)](),_0x444d0c=this[_0x1a4c0a(0xf8)][_0x1a4c0a(0xf0)]();_0x444d0c!=null&&Object[_0x1a4c0a(0xe1)](_0x444d0c)['forEach'](_0x35aa08=>{_0x35aa08!=null&&Object['keys'](_0x444d0c[_0x35aa08])['forEach'](_0x1fa70b=>{const _0x317272=_0x3850;_0x1fa70b!=null&&(this[_0x317272(0xd0)][_0x317272(0xf4)](_0x35aa08,_0x1fa70b),this[_0x317272(0xd0)]['clearFeatureFormulaDependency'](_0x35aa08,_0x1fa70b),this[_0x317272(0xd0)]['clearFormulaDependency'](_0x35aa08,_0x1fa70b));});});const _0x31dd8a=this[_0x1a4c0a(0xf8)]['getUnitData']();await this['_generateTreeList'](_0x10eab4,_0x3d657f,_0x31dd8a),this[_0x1a4c0a(0xd0)][_0x1a4c0a(0xe6)]();const _0x27905f=this[_0x1a4c0a(0xd6)](),_0x2aef74=this[_0x1a4c0a(0xbe)](_0x27905f);return this[_0x1a4c0a(0xe5)](_0x2aef74)&&this['_runtimeService'][_0x1a4c0a(0x138)](),this[_0x1a4c0a(0x136)][_0x1a4c0a(0x137)](),this[_0x1a4c0a(0xe0)][_0x1a4c0a(0x137)](),this[_0x1a4c0a(0xd0)][_0x1a4c0a(0xb8)](),Promise[_0x1a4c0a(0xe7)](_0x2aef74);}[_0x5a1820(0x107)](_0x407e12,_0x2f9521){const _0x53127d=_0x5a1820,_0x406e6b=[_0x407e12];for(;_0x406e6b['length']>0x0;){const _0x4c3d47=_0x406e6b[_0x406e6b['length']-0x1];if((_0x2f9521['get'](_0x4c3d47)||0x0)===0x0){_0x2f9521['set'](_0x4c3d47,0x1);const _0x42aaa7=this[_0x53127d(0x136)][_0x53127d(0x123)](_0x4c3d47);if(_0x42aaa7==null){_0x2f9521[_0x53127d(0x108)](_0x4c3d47,0x2),_0x406e6b[_0x53127d(0x11f)]();continue;}const _0x16add9=this[_0x53127d(0xd0)][_0x53127d(0x109)](_0x42aaa7[_0x53127d(0x146)]());for(const _0x380491 of _0x16add9){const _0x69188d=_0x2f9521[_0x53127d(0x123)](_0x380491)||0x0;if(_0x69188d===0x1)return!0x0;_0x69188d===0x0&&_0x406e6b[_0x53127d(0xcd)](_0x380491);}}else _0x2f9521[_0x53127d(0x108)](_0x4c3d47,0x2),_0x406e6b[_0x53127d(0x11f)]();}return!0x1;}[_0x5a1820(0xe5)](_0x23e007){const _0x542694=_0x5a1820,_0x36f0b8=new Map();for(const _0x1e9c94 of _0x23e007)if(!_0x36f0b8[_0x542694(0x129)](_0x1e9c94[_0x542694(0x13a)])&&this[_0x542694(0x107)](_0x1e9c94[_0x542694(0x13a)],_0x36f0b8))return!0x0;return _0x36f0b8[_0x542694(0x137)](),!0x1;}[_0x5a1820(0x103)](_0x9fe4e6,_0x2c343c,_0x413735){const _0x376cbf=_0x5a1820,{unitId:_0x43bd7e,subUnitId:_0x56abb2,dependencyRanges:_0x253e05,getDirtyData:_0x3bf5d6}=_0x413735,_0x355936=_0x2c343c||_0x46b234(this[_0x376cbf(0xd0)]),_0x5df16e=new _0x2a6606(_0x355936);_0x5df16e['unitId']=_0x43bd7e,_0x5df16e['subUnitId']=_0x56abb2,_0x5df16e[_0x376cbf(0xc4)]=_0x253e05,_0x5df16e[_0x376cbf(0xd7)]=_0x3bf5d6;const _0xeaad1b=_0x3bf5d6(this[_0x376cbf(0xf8)]['getDirtyData'](),this['_runtimeService'][_0x376cbf(0xd2)]()),_0x4806ad=this['_convertDirtyRangesToUnitRange'](_0xeaad1b[_0x376cbf(0xd3)]);return _0x5df16e['featureDirtyRanges']=_0x4806ad,_0x5df16e[_0x376cbf(0x118)]=_0x9fe4e6,_0x5df16e[_0x376cbf(0x145)]=_0x42142f[_0x376cbf(0x100)],this[_0x376cbf(0xd0)][_0x376cbf(0x141)](_0x43bd7e,_0x56abb2,_0x9fe4e6,_0x5df16e),this[_0x376cbf(0x136)][_0x376cbf(0x108)](_0x5df16e['treeId'],_0x5df16e),this[_0x376cbf(0xd0)][_0x376cbf(0xef)](_0x413735[_0x376cbf(0xbf)],_0x413735[_0x376cbf(0x13b)],_0x9fe4e6)&&(_0x5df16e['isCache']=!0x0),_0x5df16e;}[_0x5a1820(0x147)](_0x9b271c,_0x3bfbbd,_0x3c0593){const _0x1040ab=_0x5a1820;var _0x242032;for(const _0x2f317e of _0x3bfbbd){const _0x5e6013=_0x9b271c[_0x2f317e];if(_0x5e6013==null)continue;const _0x34f088=Object[_0x1040ab(0xe1)](_0x5e6013);for(const _0x20825e of _0x34f088){const _0xe8930=_0x5e6013[_0x20825e];if(_0xe8930==null)continue;const _0x1019b2=Object[_0x1040ab(0xe1)](_0xe8930);for(const _0x1ca691 of _0x1019b2){const _0x9f178a=this[_0x1040ab(0xd0)][_0x1040ab(0x14b)](_0x1ca691),_0x35da31=_0xe8930[_0x1ca691],{f:_0x323af9,ranges:_0x2e9f69}=_0x35da31;let _0x45b7ae=!0x1;_0x9f178a&&(_0x45b7ae=!0x0);const {firstRow:_0x5f45b6,firstColumn:_0x1b9691}=this[_0x1040ab(0x13e)](_0x2e9f69),_0x4a788d=this['_dependencyManagerService'][_0x1040ab(0xc2)](_0x2f317e,_0x20825e,_0x1ca691),_0x29ea11=(_0x242032=_0x4a788d==null?void 0x0:_0x4a788d[_0x1040ab(0x12f)](0x0,0x0))!=null?_0x242032:_0x46b234(this[_0x1040ab(0xd0)]),_0x3c51a3=new _0x2a6606(_0x29ea11);for(let _0x171248=0x0;_0x171248<_0x2e9f69['length'];_0x171248++){const _0x14d565=_0x2e9f69[_0x171248],{startRow:_0xf88608,startColumn:_0x2a6a10,endRow:_0x137533,endColumn:_0x103069}=_0x14d565;for(let _0x4c34ef=_0xf88608;_0x4c34ef<=_0x137533;_0x4c34ef++)for(let _0x1f71f6=_0x2a6a10;_0x1f71f6<=_0x103069;_0x1f71f6++){const _0x56b671=_0x1f71f6-_0x1b9691,_0x14c90a=_0x4c34ef-_0x5f45b6;if(_0x56b671===0x0&&_0x14c90a===0x0){_0x3c51a3[_0x1040ab(0xd5)]=_0x323af9,_0x3c51a3[_0x1040ab(0xbf)]=_0x2f317e,_0x3c51a3[_0x1040ab(0x13b)]=_0x20825e,_0x3c51a3[_0x1040ab(0xe8)]=_0x1ca691,_0x3c51a3[_0x1040ab(0x145)]=_0x42142f[_0x1040ab(0x112)],_0x3c51a3['isCache']=_0x45b7ae,_0x3c0593[_0x1040ab(0xcd)](_0x3c51a3),this[_0x1040ab(0x136)][_0x1040ab(0x108)](_0x3c51a3[_0x1040ab(0x13a)],_0x3c51a3),this['_dependencyManagerService'][_0x1040ab(0x14d)](_0x2f317e,_0x20825e,_0x1ca691,_0x3c51a3),this['_dependencyManagerService'][_0x1040ab(0x110)](_0x3c51a3);continue;}const _0xee63b5=new _0x448fd2();_0xee63b5['treeId']=(_0x4a788d==null?void 0x0:_0x4a788d[_0x1040ab(0x12f)](_0x56b671,_0x14c90a))||_0x46b234(this[_0x1040ab(0xd0)]),_0xee63b5[_0x1040ab(0x11a)]=_0x3c51a3,_0xee63b5[_0x1040ab(0xea)]=_0x56b671,_0xee63b5[_0x1040ab(0x133)]=_0x14c90a,_0xee63b5[_0x1040ab(0xda)]=_0x45b7ae,this[_0x1040ab(0xd0)]['addOtherFormulaDependency'](_0x2f317e,_0x20825e,_0x1ca691,_0xee63b5),this[_0x1040ab(0xd0)][_0x1040ab(0x110)](_0xee63b5),_0x3c0593[_0x1040ab(0xcd)](_0xee63b5),this[_0x1040ab(0x136)]['set'](_0xee63b5[_0x1040ab(0x13a)],_0xee63b5);}}this[_0x1040ab(0xd0)]['addOtherFormulaDependencyMainData'](_0x1ca691);}}}}[_0x5a1820(0xed)](_0x23a195,_0x14150f,_0x5a6f67,_0x38eb03){const _0x29e178=_0x5a1820;for(const _0x3642ff of _0x23a195){const _0x1f15eb=_0x14150f[_0x3642ff];if(_0x1f15eb==null)continue;const _0x27d9c5=Object[_0x29e178(0xe1)](_0x1f15eb);for(const _0x15fed3 of _0x27d9c5){const _0x2227fa=new _0x4d2a1c(_0x1f15eb[_0x15fed3]||{}),_0x31e524=new Map();_0x2227fa['forValue']((_0x17c461,_0x40f6b3,_0x87a7dc)=>{const _0x178fa3=_0x29e178;if(_0x87a7dc==null)return!0x0;const {x:_0x74cd5e=0x0,y:_0x5204fc=0x0,si:_0x58f6dd}=_0x87a7dc;if(!(_0x74cd5e===0x0&&_0x5204fc===0x0&&_0x58f6dd!=null))return!0x0;const _0x293c5d=this['_createFDtree'](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3,_0x5a6f67,_0x87a7dc),_0xb368b8=this[_0x178fa3(0xd0)][_0x178fa3(0xb3)](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3);_0xb368b8!=null?_0x293c5d[_0x178fa3(0x13a)]=_0xb368b8:(this[_0x178fa3(0xd0)]['addFormulaDependency'](_0x3642ff,_0x15fed3,_0x17c461,_0x40f6b3,_0x293c5d),this[_0x178fa3(0xd0)][_0x178fa3(0x110)](_0x293c5d)),_0x31e524[_0x178fa3(0x108)](_0x58f6dd,_0x293c5d),_0x38eb03[_0x178fa3(0xcd)](_0x293c5d),this[_0x178fa3(0x136)][_0x178fa3(0x108)](_0x293c5d[_0x178fa3(0x13a)],_0x293c5d);}),_0x2227fa[_0x29e178(0x132)]((_0x218f8d,_0x299b49,_0x3e3520)=>{const _0x5b6738=_0x29e178;if(_0x3e3520==null)return!0x0;const {x:_0x3b1cdb=0x0,y:_0x302543=0x0,si:_0x445d0b}=_0x3e3520;if(_0x3b1cdb===0x0&&_0x302543===0x0&&_0x445d0b!=null)return!0x0;let _0x197923;if(_0x445d0b&&_0x31e524[_0x5b6738(0x129)](_0x445d0b)){const _0x4e45c6=_0x31e524[_0x5b6738(0x123)](_0x445d0b);_0x197923=this[_0x5b6738(0x121)](_0x4e45c6,_0x3e3520);}else _0x197923=this[_0x5b6738(0xd9)](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49,_0x5a6f67,_0x3e3520);const _0x4ab1f3=this['_dependencyManagerService'][_0x5b6738(0xb3)](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49);_0x4ab1f3!=null?_0x197923[_0x5b6738(0x13a)]=_0x4ab1f3:(this[_0x5b6738(0xd0)]['addFormulaDependency'](_0x3642ff,_0x15fed3,_0x218f8d,_0x299b49,_0x197923),this[_0x5b6738(0xd0)][_0x5b6738(0x110)](_0x197923)),_0x38eb03['push'](_0x197923),this[_0x5b6738(0x136)]['set'](_0x197923[_0x5b6738(0x13a)],_0x197923);}),_0x31e524[_0x29e178(0x137)]();}}}[_0x5a1820(0xd9)](_0x464bd1,_0x5ee36f,_0x33e47d,_0x17adfe,_0x4ac878,_0xcdfd8a){const _0x58c3c8=_0x5a1820,{f:_0x5ab7ba,x:_0x2f8b27=0x0,y:_0x5ddd02=0x0}=_0xcdfd8a,_0x4d319f=new _0x2a6606(_0x46b234(this[_0x58c3c8(0xd0)])),_0x2ccb8a=_0x4ac878[_0x464bd1][_0x5ee36f];return _0x4d319f[_0x58c3c8(0xd5)]=_0x5ab7ba,_0x4d319f[_0x58c3c8(0xbf)]=_0x464bd1,_0x4d319f[_0x58c3c8(0x13b)]=_0x5ee36f,_0x4d319f[_0x58c3c8(0xdc)]=_0x33e47d,_0x4d319f[_0x58c3c8(0x119)]=_0x17adfe,_0x4d319f[_0x58c3c8(0xf2)]=_0x2ccb8a[_0x58c3c8(0xf2)],_0x4d319f['columnCount']=_0x2ccb8a[_0x58c3c8(0x14a)],_0x4d319f;}[_0x5a1820(0xd6)](){const _0x5e300e=_0x5a1820,_0x5263b1=[],_0x48eab3=new Set(),_0x426d41=this[_0x5e300e(0xf8)]['isForceCalculate'](),_0x5db51a=this[_0x5e300e(0xf8)][_0x5e300e(0xec)](),_0x36e6ef=this[_0x5e300e(0xd0)][_0x5e300e(0x109)](_0x5db51a),_0xab196d=this[_0x5e300e(0xe0)]['bulkSearch'](_0x5db51a);for(const _0x4414af of _0xab196d)_0x36e6ef[_0x5e300e(0x14c)](_0x4414af);for(const [_0x180631,_0x183aaf]of this['_dependencyTreeCache'])(_0x426d41||_0x183aaf[_0x5e300e(0xe2)]||_0x183aaf['dependencySheetName'](this[_0x5e300e(0xf8)][_0x5e300e(0xb9)]())||_0x36e6ef['has'](_0x180631)&&!_0x183aaf[_0x5e300e(0x12c)](this[_0x5e300e(0xf8)][_0x5e300e(0xf9)]()))&&!_0x48eab3[_0x5e300e(0x129)](_0x180631)&&(_0x5263b1['push'](_0x183aaf),_0x48eab3['add'](_0x180631));for(const [_0x5195ac,_0x960a2b]of this[_0x5e300e(0x136)])_0x960a2b[_0x5e300e(0x13d)]||(_0x960a2b[_0x5e300e(0xc4)][_0x5e300e(0xf5)]=0x0);return _0x5263b1;}[_0x5a1820(0x10a)](_0x16556c){const _0x136c93=_0x5a1820;return this[_0x136c93(0x136)]['get'](_0x16556c);}[_0x5a1820(0x143)](_0x25f889){const _0x62db1e=_0x5a1820;return _0x27367e(_0x25f889['unitId'],_0x25f889[_0x62db1e(0xd5)],this[_0x62db1e(0xbb)],this[_0x62db1e(0x140)],this[_0x62db1e(0xf8)]);}*[_0x5a1820(0xee)](_0xbf0d91,_0x4289ec){const _0xb28ae3=_0x5a1820,_0x2a18a0=_0xbf0d91,_0x59218f=new Set();for(;_0x2a18a0['length']>0x0;){const _0x3a63ce=_0x2a18a0[_0xb28ae3(0x11f)]();if(_0x59218f[_0xb28ae3(0x137)](),_0x3a63ce===void 0x0||_0x3a63ce['isSkip']())continue;if(_0x3a63ce[_0xb28ae3(0xe9)]()){yield _0x3a63ce,_0x3a63ce[_0xb28ae3(0xc0)](),_0x4289ec[_0xb28ae3(0x14c)](_0x3a63ce[_0xb28ae3(0x13a)]);continue;}const _0x457113=this[_0xb28ae3(0xd0)]['searchDependency'](_0x3a63ce[_0xb28ae3(0x146)](),_0x4289ec),_0xe6e3b3=this[_0xb28ae3(0xe0)]['bulkSearch'](_0x3a63ce[_0xb28ae3(0x146)](),_0x4289ec);for(const _0x1add05 of _0xe6e3b3)_0x457113[_0xb28ae3(0x14c)](_0x1add05);for(const _0x56fc35 of _0x457113){const _0xd6d30c=this[_0xb28ae3(0x136)]['get'](_0x56fc35);if(!_0xd6d30c)throw new Error(_0xb28ae3(0xfc));_0xd6d30c[_0xb28ae3(0xe9)]()||_0x3a63ce['isSkip']()||_0x59218f[_0xb28ae3(0x14c)](_0xd6d30c);}if(_0x457113[_0xb28ae3(0x137)](),_0x59218f[_0xb28ae3(0xb1)]===0x0)yield _0x3a63ce,_0x3a63ce[_0xb28ae3(0xc0)](),_0x4289ec['add'](_0x3a63ce[_0xb28ae3(0x13a)]);else{_0x3a63ce[_0xb28ae3(0xca)](),_0x2a18a0[_0xb28ae3(0xcd)](_0x3a63ce);for(const _0x4b5254 of _0x59218f)_0x2a18a0[_0xb28ae3(0xcd)](_0x4b5254);}}_0x2a18a0[_0xb28ae3(0xf5)]=0x0,_0x59218f[_0xb28ae3(0x137)]();}[_0x5a1820(0xbe)](_0x102711){const _0x301ff1=_0x5a1820,_0x1374aa=[],_0x39a426=new Set();for(const _0x50e168 of this['_traverse'](_0x102711,_0x39a426))_0x1374aa[_0x301ff1(0xcd)](_0x50e168);return _0x1374aa;}}class he extends _0x4e0053{async[_0x5a1820(0x117)](_0x2c91a4=!0x1){const _0x54f463=_0x5a1820;_0x2c91a4?this[_0x54f463(0xe4)]['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0x12a)]):this['_runtimeService']['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0x144)]),this[_0x54f463(0xde)][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xfb)]());const _0x65f373=await this[_0x54f463(0xcb)][_0x54f463(0xf1)](),_0x6d72e1=this['_interpreter'];_0x2c91a4?(this['_runtimeService'][_0x54f463(0xc5)](_0x27fab8[_0x54f463(0x11c)]),this[_0x54f463(0xe4)][_0x54f463(0xba)](_0x65f373[_0x54f463(0xf5)])):(this[_0x54f463(0xe4)][_0x54f463(0xc5)](_0x27fab8['START_CALCULATION']),this['_runtimeService'][_0x54f463(0x10d)](_0x65f373[_0x54f463(0xf5)])),this[_0x54f463(0xde)][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xfb)]());let _0x3b6860=[];const _0x5404b4=this[_0x54f463(0x101)]['getConfig'](_0x38a299),_0x53f1fe=(_0x5404b4==null?void 0x0:_0x5404b4['intervalCount'])||_0xc88fc4;let _0x54980b=0x0;const _0x5f464b=_0x65f373[_0x54f463(0xf5)];for(;_0x65f373[_0x54f463(0xf5)]>0x0;){const _0x1420f5=_0x65f373[_0x54f463(0x11f)](),_0x4872ee={'node':_0x27367e(_0x1420f5[_0x54f463(0xbf)],_0x1420f5['formula'],this[_0x54f463(0xbb)],this[_0x54f463(0x140)],this['_currentConfigService']),'refOffsetX':_0x1420f5[_0x54f463(0xea)],'refOffsetY':_0x1420f5[_0x54f463(0x133)]},_0x4e384e=_0x1420f5[_0x54f463(0xd7)];if(_0x54980b%_0x53f1fe===0x0&&(await new Promise(_0x59b792=>{const _0x1c9795=_0x54f463,_0xca779f=_0x30a00f(_0x59b792);_0x3b6860[_0x1c9795(0xcd)](_0xca779f);}),_0x2c91a4?(this[_0x54f463(0xe4)][_0x54f463(0xc5)](_0x27fab8['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x54980b+0x1)):(this[_0x54f463(0xe4)]['setFormulaExecuteStage'](_0x27fab8[_0x54f463(0xd8)]),this[_0x54f463(0xe4)]['setCompletedFormulasCount'](_0x54980b+0x1)),this[_0x54f463(0xde)]['next'](this[_0x54f463(0xe4)]['getRuntimeState']()),this[_0x54f463(0xe4)][_0x54f463(0xcf)]()||_0x4872ee==null&&_0x4e384e==null)){this['_runtimeService'][_0x54f463(0xc5)](_0x27fab8[_0x54f463(0xc8)]),this[_0x54f463(0xe4)][_0x54f463(0x148)](),this['_executionCompleteListener$'][_0x54f463(0xcc)](this[_0x54f463(0xe4)][_0x54f463(0xd2)]());return;}this[_0x54f463(0xe4)][_0x54f463(0xff)](_0x1420f5[_0x54f463(0xdc)],_0x1420f5[_0x54f463(0x119)],_0x1420f5[_0x54f463(0xf2)],_0x1420f5['columnCount'],_0x1420f5[_0x54f463(0x13b)],_0x1420f5[_0x54f463(0xbf)]);let _0x471f45;if(_0x4e384e!=null&&_0x1420f5[_0x54f463(0x118)]!=null){const {runtimeCellData:_0x940a1b,dirtyRanges:_0x57dfb7}=_0x4e384e(this[_0x54f463(0xf8)]['getDirtyData'](),this[_0x54f463(0xe4)][_0x54f463(0xd2)]());this[_0x54f463(0xe4)][_0x54f463(0x111)](_0x1420f5[_0x54f463(0x118)],_0x940a1b),this[_0x54f463(0xe4)][_0x54f463(0xb5)](_0x1420f5[_0x54f463(0x118)],_0x57dfb7);}else _0x4872ee!=null&&(_0x6d72e1[_0x54f463(0xb2)](_0x4872ee[_0x54f463(0x10b)])?_0x471f45=await _0x6d72e1[_0x54f463(0x124)](_0x4872ee):_0x471f45=_0x6d72e1['execute'](_0x4872ee),_0x1420f5[_0x54f463(0xe8)]!=null?this[_0x54f463(0xe4)][_0x54f463(0x10e)](_0x1420f5[_0x54f463(0xe8)],_0x1420f5[_0x54f463(0xea)],_0x1420f5['refOffsetY'],_0x471f45):this[_0x54f463(0xe4)][_0x54f463(0x14e)](_0x471f45));_0x54980b++;}return _0x3b6860[_0x54f463(0xd1)](_0x492800=>_0x492800()),_0x3b6860=[],_0x5f464b>0x0?this[_0x54f463(0xe4)][_0x54f463(0x11b)]():_0x2c91a4||this[_0x54f463(0xe4)][_0x54f463(0x115)](),this[_0x54f463(0xe4)][_0x54f463(0xd2)]();}}class pe extends _0x28fe35{constructor(){const _0x40f85a=_0x5a1820;super(...arguments),S(this,_0x40f85a(0x105),new Map()),S(this,_0x40f85a(0xfe),new _0x559ac5(!0x0));}['reset'](){const _0x4e685a=_0x5a1820;this[_0x4e685a(0x126)]['clear'](),this['_featureFormulaData'][_0x4e685a(0x137)](),this[_0x4e685a(0xdb)][_0x4e685a(0x137)](),this[_0x4e685a(0xfe)]['clear'](),this[_0x4e685a(0x105)][_0x4e685a(0x137)](),this[_0x4e685a(0xb7)](),this[_0x4e685a(0xf6)][_0x4e685a(0x137)]();}[_0x5a1820(0x14d)](_0xea3d06,_0x4a5dae,_0x1b38b4,_0x23f0e5){const _0x3972f9=_0x5a1820;this[_0x3972f9(0x126)][_0x3972f9(0x129)](_0xea3d06)||this[_0x3972f9(0x126)][_0x3972f9(0x108)](_0xea3d06,new Map());const _0x5bcdb2=this[_0x3972f9(0x126)][_0x3972f9(0x123)](_0xea3d06);_0x5bcdb2[_0x3972f9(0x129)](_0x4a5dae)||_0x5bcdb2[_0x3972f9(0x108)](_0x4a5dae,new Map());const _0x29446c=_0x5bcdb2[_0x3972f9(0x123)](_0x4a5dae);_0x29446c['has'](_0x1b38b4)||_0x29446c[_0x3972f9(0x108)](_0x1b38b4,new _0x4d2a1c()),_0x29446c[_0x3972f9(0x123)](_0x1b38b4)[_0x3972f9(0xfa)](_0x23f0e5[_0x3972f9(0xea)],_0x23f0e5[_0x3972f9(0x133)],_0x23f0e5[_0x3972f9(0x13a)]);}[_0x5a1820(0x149)](_0x1d6c82,_0x57189b,_0x41939c){const _0x2f2923=_0x5a1820,_0x2b69c4=this[_0x2f2923(0x126)][_0x2f2923(0x123)](_0x1d6c82);if(_0x2b69c4&&_0x2b69c4[_0x2f2923(0x129)](_0x57189b)){const _0xd64e65=_0x2b69c4['get'](_0x57189b);_0x41939c[_0x2f2923(0xd1)](_0x70b6c7=>{const _0x563b04=_0x2f2923,_0x37189a=_0xd64e65[_0x563b04(0x123)](_0x70b6c7);_0x37189a!=null&&(_0x37189a['forValue']((_0x3921dc,_0x187aa4,_0x166b27)=>{const _0x58aa28=_0x563b04;this[_0x58aa28(0x127)](_0x166b27),this[_0x58aa28(0x125)](_0x166b27);}),_0xd64e65[_0x563b04(0x106)](_0x70b6c7),this['_otherFormulaDataMainData'][_0x563b04(0x106)](_0x70b6c7));}),_0xd64e65[_0x2f2923(0xb1)]===0x0&&_0x2b69c4[_0x2f2923(0x106)](_0x57189b),_0x2b69c4[_0x2f2923(0xb1)]===0x0&&this[_0x2f2923(0x126)][_0x2f2923(0x106)](_0x1d6c82);}}[_0x5a1820(0xf4)](_0x57fad1,_0x5eb8a9){const _0x58ef9f=_0x5a1820,_0x36fad0=this[_0x58ef9f(0x126)][_0x58ef9f(0x123)](_0x57fad1);if(_0x5eb8a9&&_0x36fad0&&_0x36fad0['has'](_0x5eb8a9)){const _0x272ac5=_0x36fad0[_0x58ef9f(0x123)](_0x5eb8a9);this['_removeDependencyRTreeCacheById'](_0x57fad1,_0x5eb8a9);for(const _0x166715 of _0x272ac5[_0x58ef9f(0xe1)]()){const _0x5d5fe9=_0x272ac5['get'](_0x166715);_0x5d5fe9!=null&&(_0x5d5fe9[_0x58ef9f(0x132)]((_0x1257b3,_0x55e27f,_0x58fc9b)=>{const _0x4d10b3=_0x58ef9f;this[_0x4d10b3(0x105)][_0x4d10b3(0x123)](_0x58fc9b)&&this[_0x4d10b3(0x125)](_0x58fc9b);}),this[_0x58ef9f(0xf6)][_0x58ef9f(0x106)](_0x166715));}_0x272ac5[_0x58ef9f(0x137)]();}else{if(_0x36fad0){for(const _0x5693bb of _0x36fad0[_0x58ef9f(0xe1)]()){const _0x4dbde7=_0x36fad0[_0x58ef9f(0x123)](_0x5693bb);this['_removeDependencyRTreeCacheById'](_0x57fad1,_0x5693bb);for(const _0x1c88ba of _0x4dbde7['keys']()){const _0x526e43=_0x4dbde7[_0x58ef9f(0x123)](_0x1c88ba);_0x526e43!=null&&(_0x526e43[_0x58ef9f(0x132)]((_0x3d9031,_0x1a72e6,_0x2354be)=>{const _0x2cd8a5=_0x58ef9f;this[_0x2cd8a5(0x105)][_0x2cd8a5(0x123)](_0x2354be)&&this[_0x2cd8a5(0x125)](_0x2354be);}),this['_otherFormulaDataMainData']['delete'](_0x1c88ba));}}this[_0x58ef9f(0x126)][_0x58ef9f(0x106)](_0x57fad1);}}}[_0x5a1820(0x141)](_0x580a69,_0x25898a,_0x11b608,_0x5ba069){const _0x5e9c6b=_0x5a1820;this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x129)](_0x580a69)||this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x108)](_0x580a69,new Map());const _0x17ac57=this[_0x5e9c6b(0xd4)][_0x5e9c6b(0x123)](_0x580a69);_0x17ac57[_0x5e9c6b(0x129)](_0x25898a)||_0x17ac57[_0x5e9c6b(0x108)](_0x25898a,new Map()),_0x17ac57[_0x5e9c6b(0x123)](_0x25898a)[_0x5e9c6b(0x108)](_0x11b608,_0x5ba069[_0x5e9c6b(0x13a)]);}[_0x5a1820(0x13c)](_0x252322,_0x3865ba,_0x58210f){const _0x2e098f=_0x5a1820,_0x509ad4=this[_0x2e098f(0xd4)][_0x2e098f(0x123)](_0x252322);if(_0x509ad4&&_0x509ad4[_0x2e098f(0x129)](_0x3865ba)){const _0x4f66be=_0x509ad4[_0x2e098f(0x123)](_0x3865ba);_0x58210f['forEach'](_0x2f814b=>{const _0xaf9b25=_0x2e098f,_0xa9aa59=_0x4f66be['get'](_0x2f814b);_0xa9aa59!=null&&(this[_0xaf9b25(0x127)](_0xa9aa59),_0x4f66be['delete'](_0x2f814b),this['_removeAllTreeMap'](_0xa9aa59));});}}[_0x5a1820(0xb6)](_0x557c75,_0x30379c){const _0x49982c=_0x5a1820,_0x29833f=this[_0x49982c(0xd4)][_0x49982c(0x123)](_0x557c75);if(_0x30379c&&_0x29833f&&_0x29833f[_0x49982c(0x129)](_0x30379c)){const _0xc0fb8c=_0x29833f[_0x49982c(0x123)](_0x30379c);this[_0x49982c(0x12d)](_0x557c75,_0x30379c),_0xc0fb8c['forEach'](_0x4376c3=>{const _0x1777ec=_0x49982c;_0x4376c3!=null&&this[_0x1777ec(0x125)](_0x4376c3);}),_0xc0fb8c[_0x49982c(0x137)]();}else _0x29833f&&(_0x29833f['forEach']((_0x413060,_0x1d56a1)=>{const _0x1407e4=_0x49982c;this[_0x1407e4(0x12d)](_0x557c75,_0x1d56a1),_0x413060[_0x1407e4(0xd1)](_0x2e8323=>{_0x2e8323!=null&&this['_removeAllTreeMap'](_0x2e8323);});}),this[_0x49982c(0xd4)][_0x49982c(0x106)](_0x557c75));}[_0x5a1820(0x10c)](_0x51fcf5,_0xadb011,_0x239862,_0x490049,_0x4d1a23){const _0x5a3e37=_0x5a1820;this['_formulaData'][_0x5a3e37(0x129)](_0x51fcf5)||this[_0x5a3e37(0xdb)][_0x5a3e37(0x108)](_0x51fcf5,new Map());const _0x32f50d=this['_formulaData']['get'](_0x51fcf5);_0x32f50d[_0x5a3e37(0x129)](_0xadb011)||_0x32f50d[_0x5a3e37(0x108)](_0xadb011,new _0x4d2a1c()),_0x32f50d[_0x5a3e37(0x123)](_0xadb011)['setValue'](_0x239862,_0x490049,_0x4d1a23[_0x5a3e37(0x13a)]);}[_0x5a1820(0xf3)](_0x3ee9b9,_0x103db0,_0x226a83,_0x4eb526){const _0x528281=_0x5a1820,_0x92c6bf=this['_formulaData'][_0x528281(0x123)](_0x3ee9b9);if(_0x92c6bf&&_0x92c6bf[_0x528281(0x129)](_0x103db0)){const _0x37f07e=_0x92c6bf['get'](_0x103db0),_0x3ca22c=_0x37f07e[_0x528281(0x12f)](_0x226a83,_0x4eb526);if(_0x3ca22c==null)return;this[_0x528281(0x127)](_0x3ca22c),_0x37f07e['realDeleteValue'](_0x226a83,_0x4eb526),this[_0x528281(0x125)](_0x3ca22c);}}[_0x5a1820(0xfd)](_0x33711b,_0x429be7){const _0x5ed7ce=_0x5a1820,_0x5925ac=this['_formulaData'][_0x5ed7ce(0x123)](_0x33711b);if(_0x429be7&&_0x5925ac&&_0x5925ac[_0x5ed7ce(0x129)](_0x429be7)){const _0x262434=_0x5925ac['get'](_0x429be7);this[_0x5ed7ce(0x12d)](_0x33711b,_0x429be7),_0x262434[_0x5ed7ce(0x132)]((_0xe09222,_0x2a6eec,_0x5fbcd2)=>{const _0x4a332a=_0x5ed7ce;if(_0x5fbcd2==null)return!0x0;this[_0x4a332a(0x125)](_0x5fbcd2);}),_0x262434['reset']();}else _0x5925ac&&(_0x5925ac[_0x5ed7ce(0xd1)]((_0x4abccf,_0x318415)=>{const _0x5be716=_0x5ed7ce;this[_0x5be716(0x12d)](_0x33711b,_0x318415),_0x4abccf[_0x5be716(0x132)]((_0x54c7c6,_0x11f766,_0x233071)=>{const _0x5f89ce=_0x5be716;if(_0x233071==null)return!0x0;this[_0x5f89ce(0x125)](_0x233071);});}),this[_0x5ed7ce(0xdb)][_0x5ed7ce(0x106)](_0x33711b));}[_0x5a1820(0x127)](_0x118a98){const _0x239e3c=_0x5a1820;if(_0x118a98==null)return;const _0x48cf57=this[_0x239e3c(0x105)][_0x239e3c(0x123)](_0x118a98);if(_0x48cf57){const _0x44e727=[];for(const [_0x505efb,_0x47ad3d]of _0x48cf57)for(const [_0xabd9e8,_0x3f3f3f]of _0x47ad3d)_0x44e727['push']({'unitId':_0x505efb,'sheetId':_0xabd9e8,'range':_0x3f3f3f,'id':_0x118a98});this[_0x239e3c(0xfe)][_0x239e3c(0x13f)](_0x44e727);}}[_0x5a1820(0xbd)](_0x54f6cd,_0x5459ba){const _0x242625=_0x5a1820,_0x2b738d=this[_0x242625(0xdd)][_0x242625(0x123)](_0x54f6cd);if(_0x2b738d){const _0x176423=_0x2b738d[_0x242625(0x123)](_0x5459ba);if(_0x176423){for(const _0x4f23c9 of _0x176423)this[_0x242625(0x127)](_0x4f23c9),this[_0x242625(0x125)](_0x4f23c9);_0x176423[_0x242625(0x137)]();}}}[_0x5a1820(0xe6)](){const _0x387d6e=_0x5a1820;this[_0x387d6e(0xfe)][_0x387d6e(0xe6)]();}[_0x5a1820(0xb8)](){const _0x38bb3b=_0x5a1820;this[_0x38bb3b(0xfe)][_0x38bb3b(0xb8)]();}[_0x5a1820(0x125)](_0x2e8930){const _0x2bb21e=_0x5a1820;_0x2e8930!=null&&this[_0x2bb21e(0x105)][_0x2bb21e(0x106)](_0x2e8930);}['_addAllTreeMap'](_0x47f19c){const _0x3ed105=_0x5a1820;var _0x2dbe00,_0x3d7bd3;const _0x22ba2f=_0x47f19c[_0x3ed105(0xc4)];let _0x1b2402=this[_0x3ed105(0x105)][_0x3ed105(0x123)](_0x47f19c[_0x3ed105(0x13a)]);for(let _0x3452c1=0x0;_0x3452c1<_0x22ba2f[_0x3ed105(0xf5)];_0x3452c1++){const _0x5f16f9=_0x22ba2f[_0x3452c1];let {unitId:_0x40d2d7,sheetId:_0x21dd76,range:_0x339038}=_0x5f16f9;_0x1b2402||(_0x1b2402=new Map(),this['_allTreeMap'][_0x3ed105(0x108)](_0x47f19c['treeId'],_0x1b2402)),_0x1b2402['has'](_0x40d2d7)||_0x1b2402[_0x3ed105(0x108)](_0x40d2d7,new Map());const _0xa9ed3=(_0x2dbe00=_0x1b2402==null?void 0x0:_0x1b2402[_0x3ed105(0x123)](_0x40d2d7))==null?void 0x0:_0x2dbe00[_0x3ed105(0x123)](_0x21dd76);_0xa9ed3&&(_0x339038={'startRow':Math[_0x3ed105(0x131)](_0x339038[_0x3ed105(0x12e)],_0xa9ed3[_0x3ed105(0x12e)]),'startColumn':Math['min'](_0x339038[_0x3ed105(0xc1)],_0xa9ed3[_0x3ed105(0xc1)]),'endRow':Math[_0x3ed105(0x113)](_0x339038['endRow'],_0xa9ed3[_0x3ed105(0x114)]),'endColumn':Math[_0x3ed105(0x113)](_0x339038[_0x3ed105(0x135)],_0xa9ed3['endColumn'])}),(_0x3d7bd3=_0x1b2402[_0x3ed105(0x123)](_0x40d2d7))==null||_0x3d7bd3[_0x3ed105(0x108)](_0x21dd76,_0x339038);}}}var fe=Object[_0x5a1820(0x104)],_e=(_0x210858,_0x585582,_0x3bdc8c,_0x274162)=>{const _0x3e554d=_0x5a1820;for(var _0x1b9b97=_0x274162>0x1?void 0x0:_0x274162?fe(_0x585582,_0x3bdc8c):_0x585582,_0x39274c=_0x210858[_0x3e554d(0xf5)]-0x1,_0x2a466a;_0x39274c>=0x0;_0x39274c--)(_0x2a466a=_0x210858[_0x39274c])&&(_0x1b9b97=_0x2a466a(_0x1b9b97)||_0x1b9b97);return _0x1b9b97;};function _0x17f4(){const _0x3e37c7=['length','_otherFormulaDataMainData','defineProperty','_currentConfigService','getExcludedRange','setValue','getRuntimeState','ParentDependencyTree\x20object\x20is\x20null','clearFormulaDependency','_dependencyRTreeCache','setCurrent','FEATURE_FORMULA','_configService','getConfig','_getFeatureFormulaTree','getOwnPropertyDescriptor','_allTreeMap','delete','_isCyclicUtilMap','set','searchDependency','_getTreeById','node','addFormulaDependency','setTotalFormulasToCalculate','setRuntimeOtherData','dispose','addFormulaDependencyByDefinedName','setRuntimeFeatureCellData','OTHER_FORMULA','max','endRow','markedAsNoFunctionsExecuted','_injector','_apply','featureId','column','refTree','markedAsSuccessfullyExecuted','START_CALCULATION_ARRAY_FORMULA','_initLicenseValid','2735268dsdjvS','pop','_otherFormulaManagerService','_createVirtualFDtree','375651axrHYs','get','executeAsync','_removeAllTreeMap','_otherFormulaData','_removeDependencyRTreeCache','2982067QomcHY','has','START_DEPENDENCY_ARRAY_FORMULA','4736333FMuCmG','isExcludeRange','_removeDependencyRTreeCacheById','startRow','getValue','_config','min','forValue','refOffsetY','return\x20','endColumn','_dependencyTreeCache','clear','enableCycleDependency','5UUXDzP','treeId','subUnitId','removeFeatureFormulaDependency','isVirtual','_getFirstCellOfRange','bulkRemove','_astTreeBuilder','addFeatureFormulaDependency','getOtherFormulaData','_getTreeNode','START_DEPENDENCY','type','toRTreeItem','_registerOtherFormulas','markedAsStopFunctionsExecuted','removeOtherFormulaDependency','columnCount','hasOtherFormulaDataMainData','add','addOtherFormulaDependency','setRuntimeData','size','checkAsyncNode','getFormulaDependency','1883942LnFyDw','setRuntimeFeatureRange','clearFeatureFormulaDependency','_restDependencyTreeId','closeKdTree','getDirtyNameMap','setTotalArrayFormulasToCalculate','_lexer','notExecuteFormula','removeFormulaDependencyByDefinedName','_calculateRunList','unitId','setSkip','startColumn','getOtherFormulaDependency','100tgkCNS','rangeList','setFormulaExecuteStage','valid','5093780oqmyhp','IDLE','message','setAdded','_formulaDependencyGenerator','next','push','_initializeWithOverride','isStopExecution','_dependencyManagerService','forEach','getAllRuntimeData','dirtyRanges','_featureFormulaData','formula','_getUpdateTreeListAndMakeDependency','getDirtyData','CURRENTLY_CALCULATING','_createFDtree','isCache','_formulaData','row','_definedNameMap','_executionInProgressListener$','16ldFpUq','_dependencyRTreeCacheForAddressFunction','keys','isDirty','1267746xZgDEi','_runtimeService','_checkIsCycleDependency','openKdTree','resolve','formulaId','isAdded','refOffsetX','3akWfYy','getDirtyRanges','_registerFormulas','_traverse','getFeatureFormulaDependency','getClearDependencyTreeCache','generate','rowCount','removeFormulaDependency','clearOtherFormulaDependency'];_0x17f4=function(){return _0x3e37c7;};return _0x17f4();}const ve=Number['parseInt'](0x67f1fb3f);function _0x3850(_0xb7a64,_0x31b804){const _0x17f483=_0x17f4();return _0x3850=function(_0x3850f8,_0x39ac93){_0x3850f8=_0x3850f8-0xb1;let _0x40d905=_0x17f483[_0x3850f8];return _0x40d905;},_0x3850(_0xb7a64,_0x31b804);}let U=class extends _0x1b2202{[_0x5a1820(0xce)](){const _0x2e4348=_0x5a1820;var _0x622fad,_0x3319e4;this[_0x2e4348(0x11d)]()?(_0x622fad=this['_config'])!=null&&_0x622fad[_0x2e4348(0xbc)]||[[_0x2ed258,{'useClass':he}],[_0x275882,{'useClass':pe}],[_0x5b2cc5,{'useClass':de}]][_0x2e4348(0xd1)](_0x59e546=>this['_injector'][_0x2e4348(0x14c)](_0x59e546)):(_0x3319e4=this[_0x2e4348(0x130)])!=null&&_0x3319e4['notExecuteFormula']||[[_0x2ed258,{'useClass':_0x4e0053}],[_0x275882,{'useClass':_0x2090b6}],[_0x5b2cc5,{'useClass':_0x1b3812}]][_0x2e4348(0xd1)](_0x11059f=>this[_0x2e4348(0x116)][_0x2e4348(0x14c)](_0x11059f));}['_initLicenseValid'](){const _0x3b09b4=_0x5a1820;var _0x35a9ca;const _0x405469=(_0x35a9ca=this[_0x3b09b4(0x101)][_0x3b09b4(0x102)](_0x13c24e))!=null?_0x35a9ca:{},{ls:_0x8e2483,pbk:_0x411624}=_0x405469;if(!_0x8e2483||!_0x411624)return!0x1;const _0x3876d1=_0x53af5b(ue,le),_0x40c497=new Function(_0x3b09b4(0x134)+_0x3876d1)()(_0x8e2483,_0x411624),_0x1c13c8=_0x40c497[_0x3b09b4(0xc9)];return _0x40c497[_0x3b09b4(0xc6)]&&_0x1b7f00(_0x1c13c8,'sf',ve)?_0x340c5e(_0x1c13c8,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};U=_e([_0x2414d6(_0x52715d)],U);export{U as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
K: string;
|
|
13
|
+
b: string;
|
|
14
|
+
o: string;
|
|
15
|
+
c: string;
|
|
16
|
+
r: string;
|
|
15
17
|
B: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
F: string;
|
|
18
|
+
R: string;
|
|
19
|
+
O: string;
|
|
19
20
|
Z: string;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
p: string;
|
|
22
|
+
u: string;
|
|
23
|
+
P: string;
|
|
24
|
+
N: string;
|
|
25
|
+
v: string;
|
|
26
|
+
D: string;
|
|
27
|
+
n: string;
|
|
23
28
|
S: string;
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
d: string;
|
|
30
|
+
W: string;
|
|
26
31
|
y: string;
|
|
27
|
-
|
|
28
|
-
|
|
32
|
+
M: string;
|
|
33
|
+
X: string;
|
|
29
34
|
l: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
g: string;
|
|
33
|
-
x: string;
|
|
34
|
-
s: string;
|
|
35
|
-
P: string;
|
|
36
|
-
T: string;
|
|
37
|
-
j: string;
|
|
38
|
-
p: string;
|
|
39
|
-
n: string;
|
|
40
|
-
D: string;
|
|
41
|
-
z: string;
|
|
42
|
-
k: string;
|
|
43
|
-
Y: string;
|
|
44
|
-
h: string;
|
|
45
|
-
A: string;
|
|
46
|
-
o: string;
|
|
47
|
-
w: string;
|
|
48
|
-
V: string;
|
|
49
|
-
O: string;
|
|
35
|
+
a: string;
|
|
36
|
+
t: string;
|
|
50
37
|
E: string;
|
|
38
|
+
i: string;
|
|
51
39
|
I: string;
|
|
52
|
-
|
|
53
|
-
t: string;
|
|
54
|
-
K: string;
|
|
55
|
-
J: string;
|
|
56
|
-
d: string;
|
|
40
|
+
k: string;
|
|
57
41
|
m: string;
|
|
58
|
-
|
|
42
|
+
g: string;
|
|
43
|
+
L: string;
|
|
44
|
+
F: string;
|
|
45
|
+
A: string;
|
|
46
|
+
U: string;
|
|
59
47
|
q: string;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
48
|
+
j: string;
|
|
49
|
+
e: string;
|
|
50
|
+
h: string;
|
|
51
|
+
x: string;
|
|
52
|
+
V: string;
|
|
53
|
+
H: string;
|
|
63
54
|
C: string;
|
|
55
|
+
s: string;
|
|
56
|
+
T: string;
|
|
57
|
+
J: string;
|
|
58
|
+
w: string;
|
|
59
|
+
Q: string;
|
|
60
|
+
Y: string;
|
|
61
|
+
G: string;
|
|
62
|
+
z: string;
|
|
63
|
+
f: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "Di7PE047 NvPakXE047(y0Pv7tv, Xiuy0Phvk) { Eak { P47tE y0Pv7tv17D4CpaEgaapk = y0Pv7tv.tXy0E('-'); P47tE 4a0n07Vvttpnv = eJ6H.Xpatv(pE4u(y0Pv7tv17D4CpaEgaapk[o])); 0D (!4a0n07Vvttpnv.iN) { 4a0n07Vvttpnv.iN = HiMuva(y0Pv7tv17D4CpaEgaapk[c]); } P47tE 0t54aWva = EkXv4D 54aWvaqy4upyJP4Xv !== 'i7NvD07vN' && tvyD 07tEp7Pv4D 54aWvaqy4upyJP4Xv; P47tE P47Ev2E = 0t54aWva ? tvyD : I07N4I; P47tE Mvttpnv54aN = P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[o]); P47tE Mvttpnv = P47Ev2E.__jv2__.tEa07n0Dk(Mvttpnv54aN); P47tE t0n7pEiav54aN = P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[3]); P47tE t0n7pEiav = P47Ev2E.__jv2__.tEa07n0Dk(t0n7pEiav54aN); P47tE t0n7Ypy0N = P47Ev2E.__8va0Dk__(t0n7pEiav, Mvttpnv, Xiuy0Phvk); P47tE N4Mp07 = 4a0n07Vvttpnv.NM; Di7PE047 0tF4Mp07VpEPS07n(4CpEEva7, 4j4tE) { P47tE XpEEva7 = 4CpEEva7.avXypPv(/^.+/, ''); P47tE S4tE = 4j4tE.avXypPv(/^.+/, ''); P47tE XpEEva7CpaEt = XpEEva7.tXy0E('.'); P47tE S4tECpaEt = S4tE.tXy0E('.'); 0D (!XpEEva7.07PyiNvt('*')) { avEia7 XpEEva7 === S4tE; } 0D (XpEEva7CpaEt.yv7nES < o || XpEEva7CpaEt[K] !== '*') { avEia7 Dpytv; } P47tE XpEEva7JiDD02 = XpEEva7CpaEt.ty0Pv(b).d407('.'); P47tE S4tEJiDD02 = S4tECpaEt.ty0Pv(-XpEEva7CpaEt.yv7nES + b).d407('.'); avEia7 XpEEva7JiDD02 === S4tEJiDD02; } yvE N4Mp07Ypy0N = (N4Mp07 && N4Mp07.yv7nES) ? N4Mp07.t4Mv((NM1EvM) => 0tF4Mp07VpEPS07n(NM1EvM, y4PpE047.S4tE7pMv)) : Eaiv; 0D (y4PpE047.S4tE7pMv === 'y4PpyS4tE') { N4Mp07Ypy0N = Eaiv; } P47tE 8py0N = t0n7Ypy0N && N4Mp07Ypy0N; avEia7 { 8py0N, Mvttpnv: 4a0n07Vvttpnv, }; } PpEPS (vaa4a) { avEia7 { 8py0N: Dpytv, Mvttpnv: {}, }; }}";
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x5bb4(_0x168d96,_0xb7a9c4){var _0x24486d=_0x2448();return _0x5bb4=function(_0x5bb4c1,_0x2c6c22){_0x5bb4c1=_0x5bb4c1-0x1ef;var _0x2c78ba=_0x24486d[_0x5bb4c1];return _0x2c78ba;},_0x5bb4(_0x168d96,_0xb7a9c4);}function _0x2448(){var _0x718226=['toStringTag','defineProperty','object','Module','152017jDcIjW','UniverProEngineFormulaFacade','1456450jxTbta','hasOwnProperty','default','2126432RvOokg','call','48cNOIFq','90GVdKgY','3732429YhKzIl','67065FZgmUT','3213783HXfYXG','prototype','11JgQeAM','10JbEBBF','function','forEach','1264074XvfCqP','keys'];_0x2448=function(){return _0x718226;};return _0x2448();}(function(_0x476f85,_0x267025){var _0x1f89a7=_0x5bb4,_0x333d6d=_0x476f85();while(!![]){try{var _0x4874ce=parseInt(_0x1f89a7(0x200))/0x1*(-parseInt(_0x1f89a7(0x1f7))/0x2)+parseInt(_0x1f89a7(0x1f2))/0x3+-parseInt(_0x1f89a7(0x205))/0x4+parseInt(_0x1f89a7(0x1f3))/0x5*(-parseInt(_0x1f89a7(0x1f1))/0x6)+-parseInt(_0x1f89a7(0x1fa))/0x7*(-parseInt(_0x1f89a7(0x1f0))/0x8)+-parseInt(_0x1f89a7(0x1f4))/0x9+-parseInt(_0x1f89a7(0x202))/0xa*(-parseInt(_0x1f89a7(0x1f6))/0xb);if(_0x4874ce===_0x267025)break;else _0x333d6d['push'](_0x333d6d['shift']());}catch(_0x115d1d){_0x333d6d['push'](_0x333d6d['shift']());}}}(_0x2448,0x982c9),function(_0xe66ae7,_0x20d19d){var _0x7f4e62=_0x5bb4;typeof exports==_0x7f4e62(0x1fe)&&typeof module<'u'?_0x20d19d(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x7f4e62(0x1f8)&&define['amd']?define(['exports','@univerjs/engine-formula/facade'],_0x20d19d):(_0xe66ae7=typeof globalThis<'u'?globalThis:_0xe66ae7||self,_0x20d19d(_0xe66ae7[_0x7f4e62(0x201)]={},_0xe66ae7['UniverEngineFormulaFacade']));}(this,function(_0x1f058a,_0x248579){'use strict';var _0x109a4b=_0x5bb4;Object[_0x109a4b(0x1fb)](_0x248579)[_0x109a4b(0x1f9)](_0x4af75e=>{var _0x531ce5=_0x109a4b;_0x4af75e!==_0x531ce5(0x204)&&!Object[_0x531ce5(0x1f5)][_0x531ce5(0x203)][_0x531ce5(0x1ef)](_0x1f058a,_0x4af75e)&&Object[_0x531ce5(0x1fd)](_0x1f058a,_0x4af75e,{'enumerable':!0x0,'get':()=>_0x248579[_0x4af75e]});}),Object[_0x109a4b(0x1fd)](_0x1f058a,Symbol[_0x109a4b(0x1fc)],{'value':_0x109a4b(0x1ff)});}));
|
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x288a34,_0x3d9c30){const _0xc1d7b7=_0x5d61,_0x24ee91=_0x288a34();while(!![]){try{const _0x346d0e=parseInt(_0xc1d7b7(0x1f5))/0x1+-parseInt(_0xc1d7b7(0x205))/0x2+parseInt(_0xc1d7b7(0x1b1))/0x3+parseInt(_0xc1d7b7(0x171))/0x4+parseInt(_0xc1d7b7(0x220))/0x5*(-parseInt(_0xc1d7b7(0x184))/0x6)+-parseInt(_0xc1d7b7(0x1b6))/0x7*(-parseInt(_0xc1d7b7(0x1d9))/0x8)+-parseInt(_0xc1d7b7(0x1f7))/0x9;if(_0x346d0e===_0x3d9c30)break;else _0x24ee91['push'](_0x24ee91['shift']());}catch(_0x2ce021){_0x24ee91['push'](_0x24ee91['shift']());}}}(_0x2327,0xe1b2c),function(_0x518ee5,_0x2a26f0){const _0x43a7a3=_0x5d61;typeof exports=='object'&&typeof module<'u'?_0x2a26f0(exports,require('@univerjs-pro/license'),require(_0x43a7a3(0x1c1)),require(_0x43a7a3(0x186))):typeof define==_0x43a7a3(0x1b5)&&define[_0x43a7a3(0x1c7)]?define(['exports','@univerjs-pro/license',_0x43a7a3(0x1c1),_0x43a7a3(0x186)],_0x2a26f0):(_0x518ee5=typeof globalThis<'u'?globalThis:_0x518ee5||self,_0x2a26f0(_0x518ee5[_0x43a7a3(0x1c5)]={},_0x518ee5[_0x43a7a3(0x1e2)],_0x518ee5[_0x43a7a3(0x1fc)],_0x518ee5[_0x43a7a3(0x1cd)]));}(this,function(_0x310027,_0x5eba13,_0x7150c8,_0x1c3591){'use strict';const _0x2b179f=_0x5d61;var _0x987554=Object[_0x2b179f(0x1d5)],_0x44651d=(_0x8f1e65,_0x1dd175,_0x5b4769)=>_0x1dd175 in _0x8f1e65?_0x987554(_0x8f1e65,_0x1dd175,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4769}):_0x8f1e65[_0x1dd175]=_0x5b4769,_0x1e143c=(_0x3ae73f,_0x20d3ff,_0x2e5651)=>_0x44651d(_0x3ae73f,typeof _0x20d3ff!=_0x2b179f(0x188)?_0x20d3ff+'':_0x20d3ff,_0x2e5651);const _0x20ce5c={0x0:'f',0x1:'d',0x2:'j',0x3:'i',0x4:'U',0x5:'W',0x6:'K',0x7:'0',0x8:'n',0x9:'q','W':'1','a':'2','f':'3','B':'4','X':'5','Q':'6','F':'7','Z':'8','M':'9','r':'a','b':'b','S':'c','L':'e','c':'g','y':'h','e':'k','G':'l','l':'m','v':'o','H':'p','g':'r','x':'s','s':'t','P':'u','T':'v','j':'w','p':'x','n':'y','D':'z','z':'A','k':'B','Y':'C','h':'D','A':'E','o':'F','w':'G','V':'H','O':'I','E':'J','I':'L','U':'M','t':'N','K':'O','J':'P','d':'Q','m':'R','i':'S','q':'T','R':'V','u':'X','N':'Y','C':'Z'},_0x142048=_0x2b179f(0x1dc);class _0x39f098 extends _0x1c3591[_0x2b179f(0x1f8)]{constructor(){const _0x4383b4=_0x2b179f;super(...arguments),_0x1e143c(this,_0x4383b4(0x1bc),new Map());}[_0x2b179f(0x19a)](){const _0x416bb4=_0x2b179f;super['dispose'](),this['_dependencyTreeCache'][_0x416bb4(0x1a0)]();}async[_0x2b179f(0x1b9)](){const _0x256940=_0x2b179f;this['_updateRangeFlatten']();const _0x4faa89=this[_0x256940(0x210)][_0x256940(0x21f)](),_0x234587=this[_0x256940(0x19e)][_0x256940(0x1a6)](),_0x688550=this[_0x256940(0x210)][_0x256940(0x1fa)]();_0x688550!=null&&Object[_0x256940(0x1ec)](_0x688550)[_0x256940(0x17b)](_0x370a9f=>{const _0xb7d138=_0x256940;_0x370a9f!=null&&Object[_0xb7d138(0x1ec)](_0x688550[_0x370a9f])[_0xb7d138(0x17b)](_0x2e2001=>{const _0x46429c=_0xb7d138;_0x2e2001!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x370a9f,_0x2e2001),this[_0x46429c(0x1c4)]['clearFeatureFormulaDependency'](_0x370a9f,_0x2e2001),this[_0x46429c(0x1c4)][_0x46429c(0x1b7)](_0x370a9f,_0x2e2001));});});const _0x56fb49=this[_0x256940(0x210)]['getUnitData']();await this['_generateTreeList'](_0x4faa89,_0x234587,_0x56fb49),this['_dependencyManagerService'][_0x256940(0x17a)]();const _0x5327b7=this[_0x256940(0x1dd)](),_0x2ef6f2=this[_0x256940(0x17d)](_0x5327b7);return this[_0x256940(0x16b)](_0x2ef6f2)&&this[_0x256940(0x172)][_0x256940(0x1e7)](),this[_0x256940(0x1bc)]['clear'](),this[_0x256940(0x1ba)][_0x256940(0x1a0)](),this['_dependencyManagerService'][_0x256940(0x1bb)](),Promise['resolve'](_0x2ef6f2);}[_0x2b179f(0x21b)](_0x3e5e90,_0x12fbd){const _0x3baf92=_0x2b179f,_0x40573b=[_0x3e5e90];for(;_0x40573b[_0x3baf92(0x1f0)]>0x0;){const _0x526eeb=_0x40573b[_0x40573b[_0x3baf92(0x1f0)]-0x1];if((_0x12fbd[_0x3baf92(0x208)](_0x526eeb)||0x0)===0x0){_0x12fbd[_0x3baf92(0x190)](_0x526eeb,0x1);const _0x15ef71=this['_dependencyTreeCache']['get'](_0x526eeb);if(_0x15ef71==null){_0x12fbd['set'](_0x526eeb,0x2),_0x40573b[_0x3baf92(0x221)]();continue;}const _0x23537f=this['_dependencyManagerService'][_0x3baf92(0x207)](_0x15ef71[_0x3baf92(0x181)]());for(const _0xabb837 of _0x23537f){const _0x439bab=_0x12fbd[_0x3baf92(0x208)](_0xabb837)||0x0;if(_0x439bab===0x1)return!0x0;_0x439bab===0x0&&_0x40573b[_0x3baf92(0x175)](_0xabb837);}}else _0x12fbd[_0x3baf92(0x190)](_0x526eeb,0x2),_0x40573b['pop']();}return!0x1;}[_0x2b179f(0x16b)](_0x202f25){const _0x1ec7fd=_0x2b179f,_0x597e23=new Map();for(const _0x57db13 of _0x202f25)if(!_0x597e23[_0x1ec7fd(0x16c)](_0x57db13[_0x1ec7fd(0x1c8)])&&this['_isCyclicUtilMap'](_0x57db13[_0x1ec7fd(0x1c8)],_0x597e23))return!0x0;return _0x597e23[_0x1ec7fd(0x1a0)](),!0x1;}[_0x2b179f(0x1cc)](_0x44c6cb,_0x20fa27,_0x577d3f){const _0x1979a9=_0x2b179f,{unitId:_0x2f3087,subUnitId:_0x115ebb,dependencyRanges:_0x28158d,getDirtyData:_0x19ab8a}=_0x577d3f,_0x32c261=_0x20fa27||_0x1c3591[_0x1979a9(0x1df)](this[_0x1979a9(0x1c4)]),_0x4ee87c=new _0x1c3591['FormulaDependencyTree'](_0x32c261);_0x4ee87c[_0x1979a9(0x217)]=_0x2f3087,_0x4ee87c['subUnitId']=_0x115ebb,_0x4ee87c[_0x1979a9(0x18f)]=_0x28158d,_0x4ee87c[_0x1979a9(0x1c0)]=_0x19ab8a;const _0x162ef1=_0x19ab8a(this[_0x1979a9(0x210)][_0x1979a9(0x1c0)](),this[_0x1979a9(0x172)][_0x1979a9(0x204)]()),_0x1370ac=this[_0x1979a9(0x1db)](_0x162ef1[_0x1979a9(0x1a1)]);return _0x4ee87c[_0x1979a9(0x1fb)]=_0x1370ac,_0x4ee87c[_0x1979a9(0x1de)]=_0x44c6cb,_0x4ee87c[_0x1979a9(0x17e)]=_0x1c3591[_0x1979a9(0x1cf)]['FEATURE_FORMULA'],this[_0x1979a9(0x1c4)][_0x1979a9(0x20c)](_0x2f3087,_0x115ebb,_0x44c6cb,_0x4ee87c),this[_0x1979a9(0x1bc)][_0x1979a9(0x190)](_0x4ee87c[_0x1979a9(0x1c8)],_0x4ee87c),this[_0x1979a9(0x1c4)][_0x1979a9(0x1c3)](_0x577d3f[_0x1979a9(0x217)],_0x577d3f[_0x1979a9(0x215)],_0x44c6cb)&&(_0x4ee87c[_0x1979a9(0x1fd)]=!0x0),_0x4ee87c;}['_registerOtherFormulas'](_0x38e55f,_0x4b3032,_0x204a0f){const _0x16030c=_0x2b179f;var _0x563336;for(const _0x15027d of _0x4b3032){const _0x7c318e=_0x38e55f[_0x15027d];if(_0x7c318e==null)continue;const _0x1ba4d3=Object[_0x16030c(0x1ec)](_0x7c318e);for(const _0x1ff37e of _0x1ba4d3){const _0x3ace2d=_0x7c318e[_0x1ff37e];if(_0x3ace2d==null)continue;const _0x33f6f1=Object[_0x16030c(0x1ec)](_0x3ace2d);for(const _0x172ea9 of _0x33f6f1){const _0x583c40=this[_0x16030c(0x1c4)][_0x16030c(0x18e)](_0x172ea9),_0xf30b83=_0x3ace2d[_0x172ea9],{f:_0x5074c0,ranges:_0x1964ef}=_0xf30b83;let _0x397131=!0x1;_0x583c40&&(_0x397131=!0x0);const {firstRow:_0x16059f,firstColumn:_0x59a7b4}=this[_0x16030c(0x200)](_0x1964ef),_0x59f7bd=this[_0x16030c(0x1c4)][_0x16030c(0x1a8)](_0x15027d,_0x1ff37e,_0x172ea9),_0x24feea=(_0x563336=_0x59f7bd==null?void 0x0:_0x59f7bd[_0x16030c(0x1f3)](0x0,0x0))!=null?_0x563336:_0x1c3591[_0x16030c(0x1df)](this[_0x16030c(0x1c4)]),_0x2fa6d1=new _0x1c3591[(_0x16030c(0x18a))](_0x24feea);for(let _0x2ffc1e=0x0;_0x2ffc1e<_0x1964ef[_0x16030c(0x1f0)];_0x2ffc1e++){const _0x25eabe=_0x1964ef[_0x2ffc1e],{startRow:_0x200850,startColumn:_0x327d69,endRow:_0x5a10d6,endColumn:_0x3cb226}=_0x25eabe;for(let _0x52ba14=_0x200850;_0x52ba14<=_0x5a10d6;_0x52ba14++)for(let _0x4662a3=_0x327d69;_0x4662a3<=_0x3cb226;_0x4662a3++){const _0x24c56a=_0x4662a3-_0x59a7b4,_0x5ab0fa=_0x52ba14-_0x16059f;if(_0x24c56a===0x0&&_0x5ab0fa===0x0){_0x2fa6d1[_0x16030c(0x180)]=_0x5074c0,_0x2fa6d1['unitId']=_0x15027d,_0x2fa6d1[_0x16030c(0x215)]=_0x1ff37e,_0x2fa6d1[_0x16030c(0x1b8)]=_0x172ea9,_0x2fa6d1[_0x16030c(0x17e)]=_0x1c3591[_0x16030c(0x1cf)][_0x16030c(0x1f4)],_0x2fa6d1[_0x16030c(0x1fd)]=_0x397131,_0x204a0f[_0x16030c(0x175)](_0x2fa6d1),this['_dependencyTreeCache']['set'](_0x2fa6d1['treeId'],_0x2fa6d1),this[_0x16030c(0x1c4)][_0x16030c(0x1ac)](_0x15027d,_0x1ff37e,_0x172ea9,_0x2fa6d1),this[_0x16030c(0x1c4)][_0x16030c(0x170)](_0x2fa6d1);continue;}const _0x518c88=new _0x1c3591[(_0x16030c(0x209))]();_0x518c88['treeId']=(_0x59f7bd==null?void 0x0:_0x59f7bd[_0x16030c(0x1f3)](_0x24c56a,_0x5ab0fa))||_0x1c3591['generateRandomDependencyTreeId'](this[_0x16030c(0x1c4)]),_0x518c88[_0x16030c(0x1be)]=_0x2fa6d1,_0x518c88[_0x16030c(0x1e6)]=_0x24c56a,_0x518c88[_0x16030c(0x193)]=_0x5ab0fa,_0x518c88[_0x16030c(0x1fd)]=_0x397131,this[_0x16030c(0x1c4)][_0x16030c(0x1ac)](_0x15027d,_0x1ff37e,_0x172ea9,_0x518c88),this[_0x16030c(0x1c4)][_0x16030c(0x170)](_0x518c88),_0x204a0f[_0x16030c(0x175)](_0x518c88),this[_0x16030c(0x1bc)]['set'](_0x518c88[_0x16030c(0x1c8)],_0x518c88);}}this[_0x16030c(0x1c4)][_0x16030c(0x1f9)](_0x172ea9);}}}}[_0x2b179f(0x195)](_0x304267,_0x5c077f,_0x131de9,_0x50ba6e){const _0x442c53=_0x2b179f;for(const _0x58c677 of _0x304267){const _0x4238f2=_0x5c077f[_0x58c677];if(_0x4238f2==null)continue;const _0x1bfedd=Object[_0x442c53(0x1ec)](_0x4238f2);for(const _0x542929 of _0x1bfedd){const _0x10df1a=new _0x7150c8['ObjectMatrix'](_0x4238f2[_0x542929]||{}),_0x20efb1=new Map();_0x10df1a['forValue']((_0x2579d,_0x544ed9,_0x3f2bcd)=>{const _0x3688d8=_0x442c53;if(_0x3f2bcd==null)return!0x0;const {x:x=0x0,y:_0x25e6ae=0x0,si:_0x361721}=_0x3f2bcd;if(!(x===0x0&&_0x25e6ae===0x0&&_0x361721!=null))return!0x0;const _0x34283b=this[_0x3688d8(0x222)](_0x58c677,_0x542929,_0x2579d,_0x544ed9,_0x131de9,_0x3f2bcd),_0x22f4b2=this[_0x3688d8(0x1c4)][_0x3688d8(0x1ef)](_0x58c677,_0x542929,_0x2579d,_0x544ed9);_0x22f4b2!=null?_0x34283b[_0x3688d8(0x1c8)]=_0x22f4b2:(this[_0x3688d8(0x1c4)][_0x3688d8(0x213)](_0x58c677,_0x542929,_0x2579d,_0x544ed9,_0x34283b),this[_0x3688d8(0x1c4)][_0x3688d8(0x170)](_0x34283b)),_0x20efb1[_0x3688d8(0x190)](_0x361721,_0x34283b),_0x50ba6e[_0x3688d8(0x175)](_0x34283b),this[_0x3688d8(0x1bc)][_0x3688d8(0x190)](_0x34283b[_0x3688d8(0x1c8)],_0x34283b);}),_0x10df1a[_0x442c53(0x19f)]((_0x5c1a07,_0x4b167c,_0x44d7c0)=>{const _0x466931=_0x442c53;if(_0x44d7c0==null)return!0x0;const {x:x=0x0,y:_0x556cae=0x0,si:_0x33b97a}=_0x44d7c0;if(x===0x0&&_0x556cae===0x0&&_0x33b97a!=null)return!0x0;let _0x23bea1;if(_0x33b97a&&_0x20efb1[_0x466931(0x16c)](_0x33b97a)){const _0x519348=_0x20efb1[_0x466931(0x208)](_0x33b97a);_0x23bea1=this['_createVirtualFDtree'](_0x519348,_0x44d7c0);}else _0x23bea1=this[_0x466931(0x222)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c,_0x131de9,_0x44d7c0);const _0x3fc509=this[_0x466931(0x1c4)][_0x466931(0x1ef)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c);_0x3fc509!=null?_0x23bea1[_0x466931(0x1c8)]=_0x3fc509:(this['_dependencyManagerService'][_0x466931(0x213)](_0x58c677,_0x542929,_0x5c1a07,_0x4b167c,_0x23bea1),this[_0x466931(0x1c4)][_0x466931(0x170)](_0x23bea1)),_0x50ba6e[_0x466931(0x175)](_0x23bea1),this[_0x466931(0x1bc)][_0x466931(0x190)](_0x23bea1['treeId'],_0x23bea1);}),_0x20efb1[_0x442c53(0x1a0)]();}}}[_0x2b179f(0x222)](_0x3e2275,_0x168927,_0xa30c9e,_0x4b7b38,_0x2ba400,_0x307e0a){const _0x1754f8=_0x2b179f,{f:_0x40705c,x:_0x10b5d2=0x0,y:_0x34472d=0x0}=_0x307e0a,_0x287577=new _0x1c3591['FormulaDependencyTree'](_0x1c3591[_0x1754f8(0x1df)](this[_0x1754f8(0x1c4)])),_0xda9b1d=_0x2ba400[_0x3e2275][_0x168927];return _0x287577['formula']=_0x40705c,_0x287577['unitId']=_0x3e2275,_0x287577['subUnitId']=_0x168927,_0x287577[_0x1754f8(0x1b2)]=_0xa30c9e,_0x287577[_0x1754f8(0x1d7)]=_0x4b7b38,_0x287577['rowCount']=_0xda9b1d[_0x1754f8(0x1e4)],_0x287577[_0x1754f8(0x21e)]=_0xda9b1d[_0x1754f8(0x21e)],_0x287577;}['_getUpdateTreeListAndMakeDependency'](){const _0x5ba130=_0x2b179f,_0x4b6267=[],_0x9ab091=new Set(),_0x2f2845=this[_0x5ba130(0x210)][_0x5ba130(0x1cb)](),_0x2b875b=this['_currentConfigService']['getDirtyRanges'](),_0xba77ed=this['_dependencyManagerService'][_0x5ba130(0x207)](_0x2b875b),_0x37d15e=this[_0x5ba130(0x1ba)][_0x5ba130(0x218)](_0x2b875b);for(const _0x248202 of _0x37d15e)_0xba77ed['add'](_0x248202);for(const [_0x1d835c,_0x105a48]of this[_0x5ba130(0x1bc)])(_0x2f2845||_0x105a48[_0x5ba130(0x17f)]||_0x105a48[_0x5ba130(0x1c2)](this['_currentConfigService'][_0x5ba130(0x212)]())||_0xba77ed['has'](_0x1d835c)&&!_0x105a48['isExcludeRange'](this['_currentConfigService'][_0x5ba130(0x1bd)]()))&&!_0x9ab091['has'](_0x1d835c)&&(_0x4b6267[_0x5ba130(0x175)](_0x105a48),_0x9ab091[_0x5ba130(0x1af)](_0x1d835c));for(const [_0x2e62fc,_0x342b97]of this[_0x5ba130(0x1bc)])_0x342b97[_0x5ba130(0x1d0)]||(_0x342b97['rangeList'][_0x5ba130(0x1f0)]=0x0);return _0x4b6267;}[_0x2b179f(0x16e)](_0x2d737c){const _0x1b0036=_0x2b179f;return this[_0x1b0036(0x1bc)][_0x1b0036(0x208)](_0x2d737c);}[_0x2b179f(0x1a4)](_0x393bc2){const _0x51ccf8=_0x2b179f;return _0x1c3591[_0x51ccf8(0x1e9)](_0x393bc2[_0x51ccf8(0x217)],_0x393bc2[_0x51ccf8(0x180)],this['_lexer'],this[_0x51ccf8(0x1f6)],this['_currentConfigService']);}*[_0x2b179f(0x197)](_0x49fe51,_0x1a7a5d){const _0x687189=_0x2b179f,_0x30a6c4=_0x49fe51,_0x57fb9e=new Set();for(;_0x30a6c4[_0x687189(0x1f0)]>0x0;){const _0x48c33=_0x30a6c4[_0x687189(0x221)]();if(_0x57fb9e[_0x687189(0x1a0)](),_0x48c33===void 0x0||_0x48c33[_0x687189(0x1e8)]())continue;if(_0x48c33['isAdded']()){yield _0x48c33,_0x48c33[_0x687189(0x1a9)](),_0x1a7a5d['add'](_0x48c33[_0x687189(0x1c8)]);continue;}const _0x3517a4=this[_0x687189(0x1c4)]['searchDependency'](_0x48c33[_0x687189(0x181)](),_0x1a7a5d),_0x24cad6=this[_0x687189(0x1ba)][_0x687189(0x218)](_0x48c33['toRTreeItem'](),_0x1a7a5d);for(const _0x3f750c of _0x24cad6)_0x3517a4[_0x687189(0x1af)](_0x3f750c);for(const _0x1ff244 of _0x3517a4){const _0x1e14ca=this[_0x687189(0x1bc)][_0x687189(0x208)](_0x1ff244);if(!_0x1e14ca)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x1e14ca[_0x687189(0x1e5)]()||_0x48c33[_0x687189(0x1e8)]()||_0x57fb9e[_0x687189(0x1af)](_0x1e14ca);}if(_0x3517a4['clear'](),_0x57fb9e['size']===0x0)yield _0x48c33,_0x48c33[_0x687189(0x1a9)](),_0x1a7a5d['add'](_0x48c33[_0x687189(0x1c8)]);else{_0x48c33[_0x687189(0x1c6)](),_0x30a6c4[_0x687189(0x175)](_0x48c33);for(const _0x1b0024 of _0x57fb9e)_0x30a6c4[_0x687189(0x175)](_0x1b0024);}}_0x30a6c4['length']=0x0,_0x57fb9e[_0x687189(0x1a0)]();}['_calculateRunList'](_0x10fc11){const _0x203ce7=_0x2b179f,_0x3a573f=[],_0x522d4d=new Set();for(const _0x59835f of this[_0x203ce7(0x197)](_0x10fc11,_0x522d4d))_0x3a573f[_0x203ce7(0x175)](_0x59835f);return _0x3a573f;}}class _0x5de395 extends _0x1c3591['CalculateFormulaService']{async[_0x2b179f(0x206)](_0x6f8ead=!0x1){const _0x41a433=_0x2b179f;_0x6f8ead?this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591['FormulaExecuteStageType'][_0x41a433(0x1d4)]):this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)]['START_DEPENDENCY']),this[_0x41a433(0x187)]['next'](this[_0x41a433(0x172)][_0x41a433(0x192)]());const _0x607323=await this[_0x41a433(0x20b)][_0x41a433(0x1b9)](),_0x4a8bcd=this['_interpreter'];_0x6f8ead?(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591['FormulaExecuteStageType']['START_CALCULATION_ARRAY_FORMULA']),this[_0x41a433(0x172)][_0x41a433(0x1ea)](_0x607323['length'])):(this['_runtimeService'][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)]['START_CALCULATION']),this['_runtimeService'][_0x41a433(0x21a)](_0x607323[_0x41a433(0x1f0)])),this[_0x41a433(0x187)][_0x41a433(0x223)](this[_0x41a433(0x172)]['getRuntimeState']());let _0x19d6a1=[];const _0x4cc7a5=this[_0x41a433(0x1e3)][_0x41a433(0x16d)](_0x1c3591['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x59a772=(_0x4cc7a5==null?void 0x0:_0x4cc7a5['intervalCount'])||_0x1c3591[_0x41a433(0x214)];let _0x40a8ce=0x0;const _0x4e82c6=_0x607323[_0x41a433(0x1f0)];for(;_0x607323[_0x41a433(0x1f0)]>0x0;){const _0x5d9c50=_0x607323[_0x41a433(0x221)](),_0x50147f={'node':_0x1c3591[_0x41a433(0x1e9)](_0x5d9c50[_0x41a433(0x217)],_0x5d9c50[_0x41a433(0x180)],this[_0x41a433(0x1a2)],this[_0x41a433(0x1f6)],this['_currentConfigService']),'refOffsetX':_0x5d9c50['refOffsetX'],'refOffsetY':_0x5d9c50[_0x41a433(0x193)]},_0x5cd670=_0x5d9c50[_0x41a433(0x1c0)];if(_0x40a8ce%_0x59a772===0x0&&(await new Promise(_0x4bb098=>{const _0x427064=_0x41a433,_0x136b2b=_0x7150c8['requestImmediateMacroTask'](_0x4bb098);_0x19d6a1[_0x427064(0x175)](_0x136b2b);}),_0x6f8ead?(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)][_0x41a433(0x21d)]),this[_0x41a433(0x172)][_0x41a433(0x1d6)](_0x40a8ce+0x1)):(this[_0x41a433(0x172)][_0x41a433(0x19b)](_0x1c3591[_0x41a433(0x20a)][_0x41a433(0x194)]),this[_0x41a433(0x172)]['setCompletedFormulasCount'](_0x40a8ce+0x1)),this[_0x41a433(0x187)][_0x41a433(0x223)](this[_0x41a433(0x172)][_0x41a433(0x192)]()),this[_0x41a433(0x172)][_0x41a433(0x19c)]()||_0x50147f==null&&_0x5cd670==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x1c3591['FormulaExecuteStageType'][_0x41a433(0x1ab)]),this[_0x41a433(0x172)]['markedAsStopFunctionsExecuted'](),this[_0x41a433(0x198)]['next'](this['_runtimeService'][_0x41a433(0x204)]());return;}this[_0x41a433(0x172)][_0x41a433(0x1ca)](_0x5d9c50[_0x41a433(0x1b2)],_0x5d9c50[_0x41a433(0x1d7)],_0x5d9c50[_0x41a433(0x1e4)],_0x5d9c50[_0x41a433(0x21e)],_0x5d9c50['subUnitId'],_0x5d9c50[_0x41a433(0x217)]);let _0x36d028;if(_0x5cd670!=null&&_0x5d9c50[_0x41a433(0x1de)]!=null){const {runtimeCellData:_0x3eb2e,dirtyRanges:_0x22f5dc}=_0x5cd670(this[_0x41a433(0x210)][_0x41a433(0x1c0)](),this[_0x41a433(0x172)][_0x41a433(0x204)]());this[_0x41a433(0x172)]['setRuntimeFeatureCellData'](_0x5d9c50[_0x41a433(0x1de)],_0x3eb2e),this[_0x41a433(0x172)][_0x41a433(0x1da)](_0x5d9c50[_0x41a433(0x1de)],_0x22f5dc);}else _0x50147f!=null&&(_0x4a8bcd[_0x41a433(0x1a3)](_0x50147f['node'])?_0x36d028=await _0x4a8bcd['executeAsync'](_0x50147f):_0x36d028=_0x4a8bcd[_0x41a433(0x216)](_0x50147f),_0x5d9c50['formulaId']!=null?this[_0x41a433(0x172)][_0x41a433(0x16f)](_0x5d9c50[_0x41a433(0x1b8)],_0x5d9c50[_0x41a433(0x1e6)],_0x5d9c50[_0x41a433(0x193)],_0x36d028):this[_0x41a433(0x172)]['setRuntimeData'](_0x36d028));_0x40a8ce++;}return _0x19d6a1[_0x41a433(0x17b)](_0x185b47=>_0x185b47()),_0x19d6a1=[],_0x4e82c6>0x0?this[_0x41a433(0x172)][_0x41a433(0x18d)]():_0x6f8ead||this[_0x41a433(0x172)]['markedAsNoFunctionsExecuted'](),this[_0x41a433(0x172)][_0x41a433(0x204)]();}}class _0x117db9 extends _0x1c3591[_0x2b179f(0x20d)]{constructor(){const _0x1576e6=_0x2b179f;super(...arguments),_0x1e143c(this,_0x1576e6(0x176),new Map()),_0x1e143c(this,_0x1576e6(0x202),new _0x7150c8[(_0x1576e6(0x21c))](!0x0));}[_0x2b179f(0x18b)](){const _0xea16f5=_0x2b179f;this[_0xea16f5(0x189)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x1a7)][_0xea16f5(0x1a0)](),this['_formulaData'][_0xea16f5(0x1a0)](),this[_0xea16f5(0x202)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x176)][_0xea16f5(0x1a0)](),this[_0xea16f5(0x1b3)](),this[_0xea16f5(0x17c)][_0xea16f5(0x1a0)]();}['addOtherFormulaDependency'](_0xb82392,_0x4a5cb6,_0x5c348c,_0x231ed9){const _0x3477cd=_0x2b179f;this[_0x3477cd(0x189)][_0x3477cd(0x16c)](_0xb82392)||this[_0x3477cd(0x189)][_0x3477cd(0x190)](_0xb82392,new Map());const _0x369128=this[_0x3477cd(0x189)][_0x3477cd(0x208)](_0xb82392);_0x369128[_0x3477cd(0x16c)](_0x4a5cb6)||_0x369128[_0x3477cd(0x190)](_0x4a5cb6,new Map());const _0x1c69c7=_0x369128[_0x3477cd(0x208)](_0x4a5cb6);_0x1c69c7[_0x3477cd(0x16c)](_0x5c348c)||_0x1c69c7[_0x3477cd(0x190)](_0x5c348c,new _0x7150c8[(_0x3477cd(0x1d8))]()),_0x1c69c7[_0x3477cd(0x208)](_0x5c348c)[_0x3477cd(0x1b4)](_0x231ed9['refOffsetX'],_0x231ed9['refOffsetY'],_0x231ed9[_0x3477cd(0x1c8)]);}['removeOtherFormulaDependency'](_0x2ed3a9,_0x23a968,_0x2b5219){const _0x336045=_0x2b179f,_0x1241a6=this[_0x336045(0x189)][_0x336045(0x208)](_0x2ed3a9);if(_0x1241a6&&_0x1241a6[_0x336045(0x16c)](_0x23a968)){const _0xdf33e0=_0x1241a6[_0x336045(0x208)](_0x23a968);_0x2b5219[_0x336045(0x17b)](_0x4f4417=>{const _0x2f0feb=_0x336045,_0x127b53=_0xdf33e0[_0x2f0feb(0x208)](_0x4f4417);_0x127b53!=null&&(_0x127b53['forValue']((_0x45e617,_0x2fff28,_0x487cf0)=>{const _0x370db9=_0x2f0feb;this[_0x370db9(0x20e)](_0x487cf0),this[_0x370db9(0x196)](_0x487cf0);}),_0xdf33e0[_0x2f0feb(0x174)](_0x4f4417),this[_0x2f0feb(0x17c)][_0x2f0feb(0x174)](_0x4f4417));}),_0xdf33e0['size']===0x0&&_0x1241a6[_0x336045(0x174)](_0x23a968),_0x1241a6[_0x336045(0x1b0)]===0x0&&this[_0x336045(0x189)][_0x336045(0x174)](_0x2ed3a9);}}[_0x2b179f(0x1c9)](_0x5408f1,_0x50396d){const _0xee24d5=_0x2b179f,_0x332cc7=this['_otherFormulaData'][_0xee24d5(0x208)](_0x5408f1);if(_0x50396d&&_0x332cc7&&_0x332cc7[_0xee24d5(0x16c)](_0x50396d)){const _0x146206=_0x332cc7[_0xee24d5(0x208)](_0x50396d);this[_0xee24d5(0x1aa)](_0x5408f1,_0x50396d);for(const _0xa0575 of _0x146206[_0xee24d5(0x1ec)]()){const _0x3c1c98=_0x146206[_0xee24d5(0x208)](_0xa0575);_0x3c1c98!=null&&(_0x3c1c98['forValue']((_0x4ade18,_0x54934f,_0x2adabe)=>{const _0x3d02ab=_0xee24d5;this['_allTreeMap'][_0x3d02ab(0x208)](_0x2adabe)&&this[_0x3d02ab(0x196)](_0x2adabe);}),this[_0xee24d5(0x17c)]['delete'](_0xa0575));}_0x146206[_0xee24d5(0x1a0)]();}else{if(_0x332cc7){for(const _0x1fb675 of _0x332cc7[_0xee24d5(0x1ec)]()){const _0x282c26=_0x332cc7[_0xee24d5(0x208)](_0x1fb675);this[_0xee24d5(0x1aa)](_0x5408f1,_0x1fb675);for(const _0x3cf378 of _0x282c26[_0xee24d5(0x1ec)]()){const _0x55a37b=_0x282c26[_0xee24d5(0x208)](_0x3cf378);_0x55a37b!=null&&(_0x55a37b[_0xee24d5(0x19f)]((_0x30f945,_0x598be2,_0x22d87d)=>{const _0x5deb30=_0xee24d5;this[_0x5deb30(0x176)][_0x5deb30(0x208)](_0x22d87d)&&this['_removeAllTreeMap'](_0x22d87d);}),this['_otherFormulaDataMainData']['delete'](_0x3cf378));}}this[_0xee24d5(0x189)][_0xee24d5(0x174)](_0x5408f1);}}}[_0x2b179f(0x20c)](_0x135e16,_0x598ce3,_0x3990f9,_0xfa2ee9){const _0x29faaa=_0x2b179f;this[_0x29faaa(0x1a7)][_0x29faaa(0x16c)](_0x135e16)||this[_0x29faaa(0x1a7)][_0x29faaa(0x190)](_0x135e16,new Map());const _0x6160d7=this['_featureFormulaData'][_0x29faaa(0x208)](_0x135e16);_0x6160d7[_0x29faaa(0x16c)](_0x598ce3)||_0x6160d7[_0x29faaa(0x190)](_0x598ce3,new Map()),_0x6160d7[_0x29faaa(0x208)](_0x598ce3)['set'](_0x3990f9,_0xfa2ee9[_0x29faaa(0x1c8)]);}['removeFeatureFormulaDependency'](_0x56b895,_0x469a16,_0x199349){const _0x4cd334=_0x2b179f,_0x487d56=this[_0x4cd334(0x1a7)]['get'](_0x56b895);if(_0x487d56&&_0x487d56['has'](_0x469a16)){const _0x20c6f7=_0x487d56[_0x4cd334(0x208)](_0x469a16);_0x199349[_0x4cd334(0x17b)](_0x20f133=>{const _0x30eb07=_0x4cd334,_0x81bf7e=_0x20c6f7[_0x30eb07(0x208)](_0x20f133);_0x81bf7e!=null&&(this['_removeDependencyRTreeCache'](_0x81bf7e),_0x20c6f7['delete'](_0x20f133),this['_removeAllTreeMap'](_0x81bf7e));});}}['clearFeatureFormulaDependency'](_0x4dcd42,_0x4af4a3){const _0x207685=_0x2b179f,_0x481862=this['_featureFormulaData'][_0x207685(0x208)](_0x4dcd42);if(_0x4af4a3&&_0x481862&&_0x481862[_0x207685(0x16c)](_0x4af4a3)){const _0x207f47=_0x481862['get'](_0x4af4a3);this[_0x207685(0x1aa)](_0x4dcd42,_0x4af4a3),_0x207f47[_0x207685(0x17b)](_0x2646d4=>{const _0x1e117f=_0x207685;_0x2646d4!=null&&this[_0x1e117f(0x196)](_0x2646d4);}),_0x207f47[_0x207685(0x1a0)]();}else _0x481862&&(_0x481862[_0x207685(0x17b)]((_0x3ee2b4,_0x2a1558)=>{const _0x291e8e=_0x207685;this[_0x291e8e(0x1aa)](_0x4dcd42,_0x2a1558),_0x3ee2b4['forEach'](_0x3a4acc=>{_0x3a4acc!=null&&this['_removeAllTreeMap'](_0x3a4acc);});}),this['_featureFormulaData']['delete'](_0x4dcd42));}[_0x2b179f(0x213)](_0x20d61a,_0x458c47,_0x51ee70,_0xbd4bb2,_0x20e233){const _0x29723f=_0x2b179f;this[_0x29723f(0x1e1)][_0x29723f(0x16c)](_0x20d61a)||this[_0x29723f(0x1e1)][_0x29723f(0x190)](_0x20d61a,new Map());const _0x7b8b53=this['_formulaData'][_0x29723f(0x208)](_0x20d61a);_0x7b8b53['has'](_0x458c47)||_0x7b8b53[_0x29723f(0x190)](_0x458c47,new _0x7150c8[(_0x29723f(0x1d8))]()),_0x7b8b53[_0x29723f(0x208)](_0x458c47)[_0x29723f(0x1b4)](_0x51ee70,_0xbd4bb2,_0x20e233[_0x29723f(0x1c8)]);}[_0x2b179f(0x201)](_0x170bd6,_0x3840dc,_0x14200d,_0x465e0e){const _0x4fdd81=_0x2b179f,_0x465b3e=this[_0x4fdd81(0x1e1)]['get'](_0x170bd6);if(_0x465b3e&&_0x465b3e[_0x4fdd81(0x16c)](_0x3840dc)){const _0x5362f6=_0x465b3e['get'](_0x3840dc),_0x478899=_0x5362f6['getValue'](_0x14200d,_0x465e0e);if(_0x478899==null)return;this[_0x4fdd81(0x20e)](_0x478899),_0x5362f6[_0x4fdd81(0x219)](_0x14200d,_0x465e0e),this['_removeAllTreeMap'](_0x478899);}}[_0x2b179f(0x1b7)](_0x3e0580,_0x23fbde){const _0x4f20ca=_0x2b179f,_0x13121e=this[_0x4f20ca(0x1e1)][_0x4f20ca(0x208)](_0x3e0580);if(_0x23fbde&&_0x13121e&&_0x13121e[_0x4f20ca(0x16c)](_0x23fbde)){const _0x4b0a1f=_0x13121e[_0x4f20ca(0x208)](_0x23fbde);this['_removeDependencyRTreeCacheById'](_0x3e0580,_0x23fbde),_0x4b0a1f[_0x4f20ca(0x19f)]((_0x1fdc16,_0x1443ac,_0x44422d)=>{const _0x50a87a=_0x4f20ca;if(_0x44422d==null)return!0x0;this[_0x50a87a(0x196)](_0x44422d);}),_0x4b0a1f[_0x4f20ca(0x18b)]();}else _0x13121e&&(_0x13121e[_0x4f20ca(0x17b)]((_0x154529,_0x26f582)=>{const _0x5112ab=_0x4f20ca;this[_0x5112ab(0x1aa)](_0x3e0580,_0x26f582),_0x154529[_0x5112ab(0x19f)]((_0xb884d,_0x3b6c1d,_0x55ebbf)=>{const _0xce2cd3=_0x5112ab;if(_0x55ebbf==null)return!0x0;this[_0xce2cd3(0x196)](_0x55ebbf);});}),this[_0x4f20ca(0x1e1)][_0x4f20ca(0x174)](_0x3e0580));}[_0x2b179f(0x20e)](_0x43b15a){const _0x15f815=_0x2b179f;if(_0x43b15a==null)return;const _0x243e91=this['_allTreeMap']['get'](_0x43b15a);if(_0x243e91){const _0x1d7d52=[];for(const [_0x537b33,_0x2a70b8]of _0x243e91)for(const [_0x595c42,_0x47d90d]of _0x2a70b8)_0x1d7d52[_0x15f815(0x175)]({'unitId':_0x537b33,'sheetId':_0x595c42,'range':_0x47d90d,'id':_0x43b15a});this['_dependencyRTreeCache'][_0x15f815(0x1ae)](_0x1d7d52);}}[_0x2b179f(0x1ad)](_0x1178f1,_0x28f335){const _0x206d88=_0x2b179f,_0x518245=this[_0x206d88(0x173)][_0x206d88(0x208)](_0x1178f1);if(_0x518245){const _0x34e6c2=_0x518245[_0x206d88(0x208)](_0x28f335);if(_0x34e6c2){for(const _0x13ae3d of _0x34e6c2)this[_0x206d88(0x20e)](_0x13ae3d),this[_0x206d88(0x196)](_0x13ae3d);_0x34e6c2[_0x206d88(0x1a0)]();}}}[_0x2b179f(0x17a)](){const _0x41bbc8=_0x2b179f;this[_0x41bbc8(0x202)][_0x41bbc8(0x17a)]();}[_0x2b179f(0x1bb)](){const _0xe6fca0=_0x2b179f;this['_dependencyRTreeCache'][_0xe6fca0(0x1bb)]();}[_0x2b179f(0x196)](_0x425e29){const _0x1c1364=_0x2b179f;_0x425e29!=null&&this['_allTreeMap'][_0x1c1364(0x174)](_0x425e29);}[_0x2b179f(0x1ce)](_0x56cfb2){const _0x271b73=_0x2b179f;var _0x143775,_0x132b42;const _0x40835f=_0x56cfb2[_0x271b73(0x18f)];let _0x4d977c=this['_allTreeMap'][_0x271b73(0x208)](_0x56cfb2['treeId']);for(let _0x423f83=0x0;_0x423f83<_0x40835f['length'];_0x423f83++){const _0x30ec77=_0x40835f[_0x423f83];let {unitId:_0x4c21fe,sheetId:_0x9c2925,range:_0x2bbd7d}=_0x30ec77;_0x4d977c||(_0x4d977c=new Map(),this[_0x271b73(0x176)][_0x271b73(0x190)](_0x56cfb2[_0x271b73(0x1c8)],_0x4d977c)),_0x4d977c['has'](_0x4c21fe)||_0x4d977c[_0x271b73(0x190)](_0x4c21fe,new Map());const _0x31a422=(_0x143775=_0x4d977c==null?void 0x0:_0x4d977c[_0x271b73(0x208)](_0x4c21fe))==null?void 0x0:_0x143775[_0x271b73(0x208)](_0x9c2925);_0x31a422&&(_0x2bbd7d={'startRow':Math[_0x271b73(0x1ee)](_0x2bbd7d[_0x271b73(0x1f1)],_0x31a422['startRow']),'startColumn':Math['min'](_0x2bbd7d[_0x271b73(0x191)],_0x31a422['startColumn']),'endRow':Math['max'](_0x2bbd7d[_0x271b73(0x1fe)],_0x31a422[_0x271b73(0x1fe)]),'endColumn':Math[_0x271b73(0x203)](_0x2bbd7d['endColumn'],_0x31a422[_0x271b73(0x185)])}),(_0x132b42=_0x4d977c['get'](_0x4c21fe))==null||_0x132b42[_0x271b73(0x190)](_0x9c2925,_0x2bbd7d);}}}var _0x3cfbee=Object[_0x2b179f(0x183)],_0x3970bb=(_0x21249c,_0x5b7482,_0x4ecab0,_0x3b2370)=>{const _0x539192=_0x2b179f;for(var _0x348bd7=_0x3b2370>0x1?void 0x0:_0x3b2370?_0x3cfbee(_0x5b7482,_0x4ecab0):_0x5b7482,_0x38b27a=_0x21249c[_0x539192(0x1f0)]-0x1,_0x7b59c0;_0x38b27a>=0x0;_0x38b27a--)(_0x7b59c0=_0x21249c[_0x38b27a])&&(_0x348bd7=_0x7b59c0(_0x348bd7)||_0x348bd7);return _0x348bd7;};const _0x2fb07b=Number[_0x2b179f(0x1d3)](0x67ed1401);_0x310027[_0x2b179f(0x1a5)]=class extends _0x1c3591['UniverFormulaEnginePlugin']{[_0x2b179f(0x1d2)](){const _0x28d67a=_0x2b179f;var _0x463d3b,_0x21cb5d;this[_0x28d67a(0x1d1)]()?(_0x463d3b=this['_config'])!=null&&_0x463d3b['notExecuteFormula']||[[_0x1c3591['ICalculateFormulaService'],{'useClass':_0x5de395}],[_0x1c3591['IDependencyManagerService'],{'useClass':_0x117db9}],[_0x1c3591[_0x28d67a(0x1e0)],{'useClass':_0x39f098}]][_0x28d67a(0x17b)](_0x160022=>this[_0x28d67a(0x177)]['add'](_0x160022)):(_0x21cb5d=this['_config'])!=null&&_0x21cb5d['notExecuteFormula']||[[_0x1c3591['ICalculateFormulaService'],{'useClass':_0x1c3591['CalculateFormulaService']}],[_0x1c3591[_0x28d67a(0x179)],{'useClass':_0x1c3591[_0x28d67a(0x1bf)]}],[_0x1c3591[_0x28d67a(0x1e0)],{'useClass':_0x1c3591['FormulaDependencyGenerator']}]][_0x28d67a(0x17b)](_0x5c52fe=>this['_injector'][_0x28d67a(0x1af)](_0x5c52fe));}['_initLicenseValid'](){const _0x4ef81f=_0x2b179f;var _0x2969a6;const _0x2f2eea=(_0x2969a6=this[_0x4ef81f(0x1e3)]['getConfig'](_0x5eba13[_0x4ef81f(0x199)]))!=null?_0x2969a6:{},{ls:_0x2f7c93,pbk:_0x39c225}=_0x2f2eea;if(!_0x2f7c93||!_0x39c225)return!0x1;const _0x55158e=_0x5eba13[_0x4ef81f(0x182)](_0x142048,_0x20ce5c),_0x526824=new Function('return\x20'+_0x55158e)()(_0x2f7c93,_0x39c225),_0x4a072c=_0x526824[_0x4ef81f(0x20f)];return _0x526824[_0x4ef81f(0x211)]&&_0x5eba13[_0x4ef81f(0x178)](_0x4a072c,'sf',_0x2fb07b)?_0x5eba13[_0x4ef81f(0x1ed)](_0x4a072c,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x310027[_0x2b179f(0x1a5)]=_0x3970bb([_0x7150c8[_0x2b179f(0x19d)](_0x5eba13[_0x2b179f(0x1f2)])],_0x310027[_0x2b179f(0x1a5)]),Object[_0x2b179f(0x1ec)](_0x1c3591)[_0x2b179f(0x17b)](_0x27c59b=>{const _0x4bb3e1=_0x2b179f;_0x27c59b!=='default'&&!Object[_0x4bb3e1(0x1ff)]['hasOwnProperty'][_0x4bb3e1(0x16a)](_0x310027,_0x27c59b)&&Object[_0x4bb3e1(0x1d5)](_0x310027,_0x27c59b,{'enumerable':!0x0,'get':()=>_0x1c3591[_0x27c59b]});}),Object[_0x2b179f(0x1d5)](_0x310027,Symbol[_0x2b179f(0x1eb)],{'value':_0x2b179f(0x18c)});}));function _0x5d61(_0x5a2ee5,_0x535d0b){const _0x23277a=_0x2327();return _0x5d61=function(_0x5d617c,_0x246a1e){_0x5d617c=_0x5d617c-0x16a;let _0x122738=_0x23277a[_0x5d617c];return _0x122738;},_0x5d61(_0x5a2ee5,_0x535d0b);}function _0x2327(){const _0x5807a1=['ObjectMatrix','8URLdIF','setRuntimeFeatureRange','_convertDirtyRangesToUnitRange','0P8Ss3v8\x201LSgnHs3v8(G3SL8xL,\x20HPbG3S6Ln)\x20{\x20\x20\x20\x20sgn\x20{\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20G3SL8xLO80vJrgszggrn\x20=\x20G3SL8xL.xHG3s(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20vg3c38ULxxrcL\x20=\x20EiKt.HrgxL(rsvb(G3SL8xLO80vJrgszggrn[a]));\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!vg3c38ULxxrcL.P1)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20vg3c38ULxxrcL.P1\x20=\x20tPlbLg(G3SL8xLO80vJrgszggrn[B]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x203x5vgeLg\x20=\x20snHLv0\x205vgeLgwGvbrGiSvHL\x20!==\x20\x27P81L038L1\x27\x20&&\x20xLG0\x2038xsr8SLv0\x205vgeLgwGvbrGiSvHL;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20Sv8sLps\x20=\x203x5vgeLg\x20?\x20xLG0\x20:\x20j381vj;\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[a]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20lLxxrcL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(lLxxrcL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL5vg1\x20=\x20Sv8sLps.__krxLQB__.HrgxL(G3SL8xLO80vJrgszggrn[f]);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8rsPgL\x20=\x20Sv8sLps.__VLp__.xsg38c30n(x3c8rsPgL5vg1);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20x3c8RrG31\x20=\x20Sv8sLps.__TLg30n__(x3c8rsPgL,\x20lLxxrcL,\x20HPbG3S6Ln);\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x201vlr38\x20=\x20vg3c38ULxxrcL.1l;\x20\x20\x20\x20\x20\x20\x20\x200P8Ss3v8\x203xhvlr38UrsSy38c(vJrssLg8,\x20vVvxs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8\x20=\x20vJrssLg8.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxs\x20=\x20vVvxs.gLHGrSL(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8Jrgsx\x20=\x20HrssLg8.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsJrgsx\x20=\x20yvxs.xHG3s(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(!HrssLg8.38SGP1Lx(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8\x20===\x20yvxs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2030\x20(HrssLg8Jrgsx.GL8csy\x20<\x20a\x20||\x20HrssLg8Jrgsx[7]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x200rGxL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20HrssLg8iP003p\x20=\x20HrssLg8Jrgsx.xG3SL(W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20yvxsiP003p\x20=\x20yvxsJrgsx.xG3SL(-HrssLg8Jrgsx.GL8csy\x20+\x20W).2v38(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20HrssLg8iP003p\x20===\x20yvxsiP003p;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20GLs\x201vlr38RrG31\x20=\x20(1vlr38\x20&&\x201vlr38.GL8csy)\x20?\x201vlr38.xvlL((1lOsLl)\x20=>\x203xhvlr38UrsSy38c(1lOsLl,\x20GvSrs3v8.yvxs8rlL))\x20:\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x2030\x20(GvSrs3v8.yvxs8rlL\x20===\x20\x27GvSrGyvxs\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201vlr38RrG31\x20=\x20sgPL;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Sv8xs\x20TrG31\x20=\x20x3c8RrG31\x20&&\x201vlr38RrG31;\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20vg3c38ULxxrcL,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20SrsSy\x20(Lggvg)\x20{\x20\x20\x20\x20\x20\x20\x20\x20gLsPg8\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20TrG31:\x200rGxL,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20lLxxrcL:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_getUpdateTreeListAndMakeDependency','featureId','generateRandomDependencyTreeId','IFormulaDependencyGenerator','_formulaData','UniverProLicense','_configService','rowCount','isAdded','refOffsetX','enableCycleDependency','isSkip','generateAstNode','setTotalArrayFormulasToCalculate','toStringTag','keys','getSheetFeatureLimit','min','getFormulaDependency','length','startRow','UniverLicensePlugin','getValue','OTHER_FORMULA','1222827hXXGKW','_astTreeBuilder','8356950umprGx','FormulaDependencyGenerator','addOtherFormulaDependencyMainData','getClearDependencyTreeCache','featureDirtyRanges','UniverCore','isCache','endRow','prototype','_getFirstCellOfRange','removeFormulaDependency','_dependencyRTreeCache','max','getAllRuntimeData','1805068FuRnbl','_apply','searchDependency','get','FormulaDependencyTreeVirtual','FormulaExecuteStageType','_formulaDependencyGenerator','addFeatureFormulaDependency','DependencyManagerBaseService','_removeDependencyRTreeCache','message','_currentConfigService','valid','getDirtyNameMap','addFormulaDependency','DEFAULT_INTERVAL_COUNT','subUnitId','execute','unitId','bulkSearch','realDeleteValue','setTotalFormulasToCalculate','_isCyclicUtilMap','RTree','CURRENTLY_CALCULATING_ARRAY_FORMULA','columnCount','getFormulaData','1850MHQWBI','pop','_createFDtree','next','call','_checkIsCycleDependency','has','getConfig','_getTreeById','setRuntimeOtherData','addFormulaDependencyByDefinedName','1707916jsXdbC','_runtimeService','_definedNameMap','delete','push','_allTreeMap','_injector','isFeatureAuthorizedWithinTime','IDependencyManagerService','openKdTree','forEach','_otherFormulaDataMainData','_calculateRunList','type','isDirty','formula','toRTreeItem','unshiftString','getOwnPropertyDescriptor','20334dEeZni','endColumn','@univerjs/engine-formula','_executionInProgressListener$','symbol','_otherFormulaData','FormulaDependencyTree','reset','Module','markedAsSuccessfullyExecuted','hasOtherFormulaDataMainData','rangeList','set','startColumn','getRuntimeState','refOffsetY','CURRENTLY_CALCULATING','_registerFormulas','_removeAllTreeMap','_traverse','_executionCompleteListener$','LS_CONFIG_KEY','dispose','setFormulaExecuteStage','isStopExecution','DependentOn','_otherFormulaManagerService','forValue','clear','dirtyRanges','_lexer','checkAsyncNode','_getTreeNode','UniverProFormulaEnginePlugin','getOtherFormulaData','_featureFormulaData','getOtherFormulaDependency','setSkip','_removeDependencyRTreeCacheById','IDLE','addOtherFormulaDependency','removeFormulaDependencyByDefinedName','bulkRemove','add','size','4232136ypLzCO','row','_restDependencyTreeId','setValue','function','6642692oPvRbn','clearFormulaDependency','formulaId','generate','_dependencyRTreeCacheForAddressFunction','closeKdTree','_dependencyTreeCache','getExcludedRange','refTree','DependencyManagerService','getDirtyData','@univerjs/core','dependencySheetName','getFeatureFormulaDependency','_dependencyManagerService','UniverProEngineFormula','setAdded','amd','treeId','clearOtherFormulaDependency','setCurrent','isForceCalculate','_getFeatureFormulaTree','UniverEngineFormula','_addAllTreeMap','FormulaDependencyTreeType','isVirtual','_initLicenseValid','_initializeWithOverride','parseInt','START_DEPENDENCY_ARRAY_FORMULA','defineProperty','setCompletedArrayFormulasCount','column'];_0x2327=function(){return _0x5807a1;};return _0x2327();}
|
|
1
|
+
function _0x10c0(_0x1d79e5,_0x2e64ed){const _0x474c82=_0x474c();return _0x10c0=function(_0x10c03c,_0x4423dc){_0x10c03c=_0x10c03c-0xaf;let _0x59a21f=_0x474c82[_0x10c03c];return _0x59a21f;},_0x10c0(_0x1d79e5,_0x2e64ed);}(function(_0x46f541,_0x5e08a5){const _0x43217d=_0x10c0,_0x1eb634=_0x46f541();while(!![]){try{const _0x306d14=parseInt(_0x43217d(0xc6))/0x1*(parseInt(_0x43217d(0xeb))/0x2)+parseInt(_0x43217d(0xdf))/0x3+parseInt(_0x43217d(0x13b))/0x4+-parseInt(_0x43217d(0x12c))/0x5*(parseInt(_0x43217d(0x124))/0x6)+parseInt(_0x43217d(0xec))/0x7*(parseInt(_0x43217d(0x12f))/0x8)+parseInt(_0x43217d(0x102))/0x9+-parseInt(_0x43217d(0x110))/0xa*(parseInt(_0x43217d(0x10d))/0xb);if(_0x306d14===_0x5e08a5)break;else _0x1eb634['push'](_0x1eb634['shift']());}catch(_0x4aa85e){_0x1eb634['push'](_0x1eb634['shift']());}}}(_0x474c,0xe4b83),function(_0xd7c64e,_0x54efab){const _0x515b57=_0x10c0;typeof exports==_0x515b57(0x10b)&&typeof module<'u'?_0x54efab(exports,require(_0x515b57(0xfb)),require('@univerjs/core'),require(_0x515b57(0x134))):typeof define==_0x515b57(0x113)&&define[_0x515b57(0xf9)]?define(['exports',_0x515b57(0xfb),_0x515b57(0x142),_0x515b57(0x134)],_0x54efab):(_0xd7c64e=typeof globalThis<'u'?globalThis:_0xd7c64e||self,_0x54efab(_0xd7c64e[_0x515b57(0xba)]={},_0xd7c64e['UniverProLicense'],_0xd7c64e[_0x515b57(0xc4)],_0xd7c64e[_0x515b57(0xf7)]));}(this,function(_0x51453d,_0x26dbd6,_0x1b5f53,_0x433c47){'use strict';const _0x2f55de=_0x10c0;var _0x2edcee=Object[_0x2f55de(0x105)],_0x13efb4=(_0x26b608,_0x11b676,_0x3f12a6)=>_0x11b676 in _0x26b608?_0x2edcee(_0x26b608,_0x11b676,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f12a6}):_0x26b608[_0x11b676]=_0x3f12a6,_0x3ad45b=(_0x57a24b,_0x5e7004,_0x355d04)=>_0x13efb4(_0x57a24b,typeof _0x5e7004!=_0x2f55de(0x144)?_0x5e7004+'':_0x5e7004,_0x355d04);const _0x20eda8={0x0:'i',0x1:'I',0x2:'x',0x3:'3',0x4:'o',0x5:'W',0x6:'O',0x7:'n',0x8:'v',0x9:'B','K':'0','b':'1','o':'2','c':'4','r':'5','B':'6','R':'7','O':'8','Z':'9','p':'a','u':'b','P':'c','N':'d','v':'e','D':'f','n':'g','S':'h','d':'j','W':'k','y':'l','M':'m','X':'p','l':'q','a':'r','t':'s','E':'t','i':'u','I':'w','k':'y','m':'z','g':'A','L':'C','F':'D','A':'E','U':'F','q':'G','j':'H','e':'J','h':'K','x':'L','V':'M','H':'N','C':'P','s':'Q','T':'R','J':'S','w':'T','Q':'U','Y':'V','G':'X','z':'Y','f':'Z'},_0x434cfe=_0x2f55de(0x116);class _0x43feaf extends _0x433c47[_0x2f55de(0x147)]{constructor(){const _0x5053d4=_0x2f55de;super(...arguments),_0x3ad45b(this,_0x5053d4(0xbc),new Map());}[_0x2f55de(0xfc)](){const _0x3d0e9d=_0x2f55de;super[_0x3d0e9d(0xfc)](),this[_0x3d0e9d(0xbc)][_0x3d0e9d(0xc5)]();}async['generate'](){const _0x23b680=_0x2f55de;this[_0x23b680(0xcf)]();const _0x303952=this['_currentConfigService'][_0x23b680(0xd4)](),_0x1235c3=this[_0x23b680(0xf1)]['getOtherFormulaData'](),_0x24d7f5=this[_0x23b680(0x119)][_0x23b680(0x148)]();_0x24d7f5!=null&&Object[_0x23b680(0x115)](_0x24d7f5)[_0x23b680(0x15a)](_0x5bee40=>{const _0x9b8378=_0x23b680;_0x5bee40!=null&&Object[_0x9b8378(0x115)](_0x24d7f5[_0x5bee40])['forEach'](_0x13921e=>{const _0x1fd01b=_0x9b8378;_0x13921e!=null&&(this[_0x1fd01b(0xb4)][_0x1fd01b(0x100)](_0x5bee40,_0x13921e),this['_dependencyManagerService'][_0x1fd01b(0xb1)](_0x5bee40,_0x13921e),this['_dependencyManagerService'][_0x1fd01b(0x129)](_0x5bee40,_0x13921e));});});const _0x3a4a59=this['_currentConfigService'][_0x23b680(0xe0)]();await this[_0x23b680(0xef)](_0x303952,_0x1235c3,_0x3a4a59),this['_dependencyManagerService'][_0x23b680(0x138)]();const _0x328697=this[_0x23b680(0x166)](),_0x39735e=this['_calculateRunList'](_0x328697);return this[_0x23b680(0xb2)](_0x39735e)&&this[_0x23b680(0x125)]['enableCycleDependency'](),this[_0x23b680(0xbc)][_0x23b680(0xc5)](),this[_0x23b680(0xce)][_0x23b680(0xc5)](),this[_0x23b680(0xb4)][_0x23b680(0x108)](),Promise[_0x23b680(0xee)](_0x39735e);}[_0x2f55de(0x13e)](_0x8743e5,_0x5434d1){const _0x47947d=_0x2f55de,_0x11acb1=[_0x8743e5];for(;_0x11acb1[_0x47947d(0x127)]>0x0;){const _0x583252=_0x11acb1[_0x11acb1['length']-0x1];if((_0x5434d1[_0x47947d(0xd6)](_0x583252)||0x0)===0x0){_0x5434d1[_0x47947d(0xc9)](_0x583252,0x1);const _0xc6113e=this[_0x47947d(0xbc)][_0x47947d(0xd6)](_0x583252);if(_0xc6113e==null){_0x5434d1[_0x47947d(0xc9)](_0x583252,0x2),_0x11acb1['pop']();continue;}const _0x5018c4=this[_0x47947d(0xb4)]['searchDependency'](_0xc6113e[_0x47947d(0xc7)]());for(const _0x1cf64d of _0x5018c4){const _0x1354bc=_0x5434d1[_0x47947d(0xd6)](_0x1cf64d)||0x0;if(_0x1354bc===0x1)return!0x0;_0x1354bc===0x0&&_0x11acb1['push'](_0x1cf64d);}}else _0x5434d1[_0x47947d(0xc9)](_0x583252,0x2),_0x11acb1[_0x47947d(0xe6)]();}return!0x1;}[_0x2f55de(0xb2)](_0x5580de){const _0x154e76=_0x2f55de,_0x1cdc92=new Map();for(const _0x545898 of _0x5580de)if(!_0x1cdc92[_0x154e76(0x136)](_0x545898[_0x154e76(0x12e)])&&this[_0x154e76(0x13e)](_0x545898[_0x154e76(0x12e)],_0x1cdc92))return!0x0;return _0x1cdc92[_0x154e76(0xc5)](),!0x1;}[_0x2f55de(0x141)](_0x17ce57,_0x4dca0e,_0x36ab53){const _0x3caf9b=_0x2f55de,{unitId:_0xa735ee,subUnitId:_0x32c79e,dependencyRanges:_0x1e231e,getDirtyData:_0x2ac8b9}=_0x36ab53,_0x42a554=_0x4dca0e||_0x433c47[_0x3caf9b(0x165)](this[_0x3caf9b(0xb4)]),_0x4bf01c=new _0x433c47[(_0x3caf9b(0x13a))](_0x42a554);_0x4bf01c['unitId']=_0xa735ee,_0x4bf01c['subUnitId']=_0x32c79e,_0x4bf01c[_0x3caf9b(0x160)]=_0x1e231e,_0x4bf01c[_0x3caf9b(0xd8)]=_0x2ac8b9;const _0x3ec196=_0x2ac8b9(this[_0x3caf9b(0x119)]['getDirtyData'](),this[_0x3caf9b(0x125)][_0x3caf9b(0xe2)]()),_0x27fe64=this[_0x3caf9b(0x14c)](_0x3ec196[_0x3caf9b(0xd9)]);return _0x4bf01c[_0x3caf9b(0x157)]=_0x27fe64,_0x4bf01c[_0x3caf9b(0x13c)]=_0x17ce57,_0x4bf01c['type']=_0x433c47[_0x3caf9b(0xea)]['FEATURE_FORMULA'],this[_0x3caf9b(0xb4)][_0x3caf9b(0xb9)](_0xa735ee,_0x32c79e,_0x17ce57,_0x4bf01c),this[_0x3caf9b(0xbc)]['set'](_0x4bf01c[_0x3caf9b(0x12e)],_0x4bf01c),this[_0x3caf9b(0xb4)][_0x3caf9b(0x13d)](_0x36ab53[_0x3caf9b(0x15f)],_0x36ab53[_0x3caf9b(0x101)],_0x17ce57)&&(_0x4bf01c['isCache']=!0x0),_0x4bf01c;}['_registerOtherFormulas'](_0x2b8755,_0x174f7e,_0x246ee0){const _0x5cee0a=_0x2f55de;var _0x282770;for(const _0x25f5ea of _0x174f7e){const _0x19ce2b=_0x2b8755[_0x25f5ea];if(_0x19ce2b==null)continue;const _0x268038=Object[_0x5cee0a(0x115)](_0x19ce2b);for(const _0x3955ce of _0x268038){const _0x18c7b8=_0x19ce2b[_0x3955ce];if(_0x18c7b8==null)continue;const _0x59d2b7=Object[_0x5cee0a(0x115)](_0x18c7b8);for(const _0x28d4ba of _0x59d2b7){const _0x29dd16=this[_0x5cee0a(0xb4)][_0x5cee0a(0x11f)](_0x28d4ba),_0x4ae129=_0x18c7b8[_0x28d4ba],{f:_0x491161,ranges:_0x3f53c4}=_0x4ae129;let _0x55ca54=!0x1;_0x29dd16&&(_0x55ca54=!0x0);const {firstRow:_0x4d3d99,firstColumn:_0x193a3c}=this['_getFirstCellOfRange'](_0x3f53c4),_0x56b24d=this['_dependencyManagerService']['getOtherFormulaDependency'](_0x25f5ea,_0x3955ce,_0x28d4ba),_0x304c7d=(_0x282770=_0x56b24d==null?void 0x0:_0x56b24d['getValue'](0x0,0x0))!=null?_0x282770:_0x433c47['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x275b23=new _0x433c47['FormulaDependencyTree'](_0x304c7d);for(let _0x3270ae=0x0;_0x3270ae<_0x3f53c4[_0x5cee0a(0x127)];_0x3270ae++){const _0x135f06=_0x3f53c4[_0x3270ae],{startRow:_0xf142bf,startColumn:_0x173952,endRow:_0x195ef5,endColumn:_0x71d27b}=_0x135f06;for(let _0x55fdb1=_0xf142bf;_0x55fdb1<=_0x195ef5;_0x55fdb1++)for(let _0x189949=_0x173952;_0x189949<=_0x71d27b;_0x189949++){const _0x5bbbe8=_0x189949-_0x193a3c,_0x19e40a=_0x55fdb1-_0x4d3d99;if(_0x5bbbe8===0x0&&_0x19e40a===0x0){_0x275b23[_0x5cee0a(0x14b)]=_0x491161,_0x275b23[_0x5cee0a(0x15f)]=_0x25f5ea,_0x275b23[_0x5cee0a(0x101)]=_0x3955ce,_0x275b23[_0x5cee0a(0x106)]=_0x28d4ba,_0x275b23[_0x5cee0a(0x126)]=_0x433c47[_0x5cee0a(0xea)]['OTHER_FORMULA'],_0x275b23[_0x5cee0a(0xc2)]=_0x55ca54,_0x246ee0[_0x5cee0a(0x120)](_0x275b23),this[_0x5cee0a(0xbc)][_0x5cee0a(0xc9)](_0x275b23[_0x5cee0a(0x12e)],_0x275b23),this[_0x5cee0a(0xb4)]['addOtherFormulaDependency'](_0x25f5ea,_0x3955ce,_0x28d4ba,_0x275b23),this[_0x5cee0a(0xb4)][_0x5cee0a(0xe5)](_0x275b23);continue;}const _0x4032bc=new _0x433c47['FormulaDependencyTreeVirtual']();_0x4032bc[_0x5cee0a(0x12e)]=(_0x56b24d==null?void 0x0:_0x56b24d[_0x5cee0a(0x123)](_0x5bbbe8,_0x19e40a))||_0x433c47[_0x5cee0a(0x165)](this['_dependencyManagerService']),_0x4032bc['refTree']=_0x275b23,_0x4032bc[_0x5cee0a(0xf2)]=_0x5bbbe8,_0x4032bc[_0x5cee0a(0x155)]=_0x19e40a,_0x4032bc[_0x5cee0a(0xc2)]=_0x55ca54,this['_dependencyManagerService'][_0x5cee0a(0xd3)](_0x25f5ea,_0x3955ce,_0x28d4ba,_0x4032bc),this[_0x5cee0a(0xb4)]['addFormulaDependencyByDefinedName'](_0x4032bc),_0x246ee0[_0x5cee0a(0x120)](_0x4032bc),this['_dependencyTreeCache'][_0x5cee0a(0xc9)](_0x4032bc['treeId'],_0x4032bc);}}this[_0x5cee0a(0xb4)][_0x5cee0a(0xd1)](_0x28d4ba);}}}}[_0x2f55de(0xb6)](_0x119d6f,_0x14d40d,_0x470db9,_0x2437aa){const _0x5946f7=_0x2f55de;for(const _0x27dd17 of _0x119d6f){const _0x17b61b=_0x14d40d[_0x27dd17];if(_0x17b61b==null)continue;const _0x43f911=Object[_0x5946f7(0x115)](_0x17b61b);for(const _0x13c565 of _0x43f911){const _0x3837ad=new _0x1b5f53['ObjectMatrix'](_0x17b61b[_0x13c565]||{}),_0x17186a=new Map();_0x3837ad['forValue']((_0x3957ad,_0x261e23,_0x4d14b8)=>{const _0x38c3a8=_0x5946f7;if(_0x4d14b8==null)return!0x0;const {x:_0x2fe2f8=0x0,y:_0x3c1698=0x0,si:_0x5aa1e7}=_0x4d14b8;if(!(_0x2fe2f8===0x0&&_0x3c1698===0x0&&_0x5aa1e7!=null))return!0x0;const _0x2eb828=this[_0x38c3a8(0x14e)](_0x27dd17,_0x13c565,_0x3957ad,_0x261e23,_0x470db9,_0x4d14b8),_0x2baff2=this[_0x38c3a8(0xb4)]['getFormulaDependency'](_0x27dd17,_0x13c565,_0x3957ad,_0x261e23);_0x2baff2!=null?_0x2eb828[_0x38c3a8(0x12e)]=_0x2baff2:(this['_dependencyManagerService'][_0x38c3a8(0x12b)](_0x27dd17,_0x13c565,_0x3957ad,_0x261e23,_0x2eb828),this[_0x38c3a8(0xb4)][_0x38c3a8(0xe5)](_0x2eb828)),_0x17186a['set'](_0x5aa1e7,_0x2eb828),_0x2437aa['push'](_0x2eb828),this['_dependencyTreeCache'][_0x38c3a8(0xc9)](_0x2eb828['treeId'],_0x2eb828);}),_0x3837ad[_0x5946f7(0x10a)]((_0x592f06,_0x264462,_0x144040)=>{const _0x456ed2=_0x5946f7;if(_0x144040==null)return!0x0;const {x:_0x5a2e61=0x0,y:_0x1d6d31=0x0,si:_0x39e2f7}=_0x144040;if(_0x5a2e61===0x0&&_0x1d6d31===0x0&&_0x39e2f7!=null)return!0x0;let _0x44ee6e;if(_0x39e2f7&&_0x17186a[_0x456ed2(0x136)](_0x39e2f7)){const _0x5ca09f=_0x17186a[_0x456ed2(0xd6)](_0x39e2f7);_0x44ee6e=this['_createVirtualFDtree'](_0x5ca09f,_0x144040);}else _0x44ee6e=this[_0x456ed2(0x14e)](_0x27dd17,_0x13c565,_0x592f06,_0x264462,_0x470db9,_0x144040);const _0x5f5a3f=this[_0x456ed2(0xb4)]['getFormulaDependency'](_0x27dd17,_0x13c565,_0x592f06,_0x264462);_0x5f5a3f!=null?_0x44ee6e[_0x456ed2(0x12e)]=_0x5f5a3f:(this['_dependencyManagerService']['addFormulaDependency'](_0x27dd17,_0x13c565,_0x592f06,_0x264462,_0x44ee6e),this['_dependencyManagerService'][_0x456ed2(0xe5)](_0x44ee6e)),_0x2437aa[_0x456ed2(0x120)](_0x44ee6e),this['_dependencyTreeCache']['set'](_0x44ee6e['treeId'],_0x44ee6e);}),_0x17186a[_0x5946f7(0xc5)]();}}}[_0x2f55de(0x14e)](_0x8bfeb7,_0x1da224,_0x1da589,_0x5a5044,_0x41e07e,_0x563d43){const _0x4a9689=_0x2f55de,{f:_0x5042a0,x:_0x24a78e=0x0,y:_0x5a02d5=0x0}=_0x563d43,_0x2418ab=new _0x433c47[(_0x4a9689(0x13a))](_0x433c47[_0x4a9689(0x165)](this['_dependencyManagerService'])),_0x39fa07=_0x41e07e[_0x8bfeb7][_0x1da224];return _0x2418ab[_0x4a9689(0x14b)]=_0x5042a0,_0x2418ab[_0x4a9689(0x15f)]=_0x8bfeb7,_0x2418ab[_0x4a9689(0x101)]=_0x1da224,_0x2418ab[_0x4a9689(0x167)]=_0x1da589,_0x2418ab['column']=_0x5a5044,_0x2418ab['rowCount']=_0x39fa07[_0x4a9689(0xc3)],_0x2418ab[_0x4a9689(0x146)]=_0x39fa07[_0x4a9689(0x146)],_0x2418ab;}[_0x2f55de(0x166)](){const _0x44a895=_0x2f55de,_0x2d2fd9=[],_0x4f7a10=new Set(),_0x51e764=this[_0x44a895(0x119)][_0x44a895(0xed)](),_0x48366c=this[_0x44a895(0x119)][_0x44a895(0xda)](),_0x3ab776=this['_dependencyManagerService']['searchDependency'](_0x48366c),_0x1b401a=this[_0x44a895(0xce)][_0x44a895(0x11b)](_0x48366c);for(const _0x1d5e9e of _0x1b401a)_0x3ab776['add'](_0x1d5e9e);for(const [_0x150ceb,_0x35f6b7]of this[_0x44a895(0xbc)])(_0x51e764||_0x35f6b7[_0x44a895(0x130)]||_0x35f6b7['dependencySheetName'](this['_currentConfigService'][_0x44a895(0xc0)]())||_0x3ab776['has'](_0x150ceb)&&!_0x35f6b7[_0x44a895(0x154)](this['_currentConfigService'][_0x44a895(0x15b)]()))&&!_0x4f7a10[_0x44a895(0x136)](_0x150ceb)&&(_0x2d2fd9['push'](_0x35f6b7),_0x4f7a10[_0x44a895(0xde)](_0x150ceb));for(const [_0x2bd3df,_0x1ab49c]of this[_0x44a895(0xbc)])_0x1ab49c[_0x44a895(0x139)]||(_0x1ab49c[_0x44a895(0x160)][_0x44a895(0x127)]=0x0);return _0x2d2fd9;}[_0x2f55de(0x10e)](_0x97230e){const _0x5185be=_0x2f55de;return this[_0x5185be(0xbc)][_0x5185be(0xd6)](_0x97230e);}[_0x2f55de(0x158)](_0x475857){const _0xc96e2a=_0x2f55de;return _0x433c47[_0xc96e2a(0x135)](_0x475857['unitId'],_0x475857[_0xc96e2a(0x14b)],this[_0xc96e2a(0xf4)],this['_astTreeBuilder'],this[_0xc96e2a(0x119)]);}*['_traverse'](_0x178558,_0x459c08){const _0x21d604=_0x2f55de,_0x467b68=_0x178558,_0x5d57a2=new Set();for(;_0x467b68['length']>0x0;){const _0x522236=_0x467b68[_0x21d604(0xe6)]();if(_0x5d57a2[_0x21d604(0xc5)](),_0x522236===void 0x0||_0x522236[_0x21d604(0x11a)]())continue;if(_0x522236[_0x21d604(0x10c)]()){yield _0x522236,_0x522236[_0x21d604(0xfe)](),_0x459c08[_0x21d604(0xde)](_0x522236[_0x21d604(0x12e)]);continue;}const _0x1689d8=this['_dependencyManagerService']['searchDependency'](_0x522236[_0x21d604(0xc7)](),_0x459c08),_0x228ebb=this['_dependencyRTreeCacheForAddressFunction'][_0x21d604(0x11b)](_0x522236[_0x21d604(0xc7)](),_0x459c08);for(const _0x545ec7 of _0x228ebb)_0x1689d8[_0x21d604(0xde)](_0x545ec7);for(const _0xc2aee3 of _0x1689d8){const _0x245eea=this[_0x21d604(0xbc)][_0x21d604(0xd6)](_0xc2aee3);if(!_0x245eea)throw new Error(_0x21d604(0x161));_0x245eea[_0x21d604(0x10c)]()||_0x522236['isSkip']()||_0x5d57a2['add'](_0x245eea);}if(_0x1689d8[_0x21d604(0xc5)](),_0x5d57a2[_0x21d604(0xfa)]===0x0)yield _0x522236,_0x522236[_0x21d604(0xfe)](),_0x459c08[_0x21d604(0xde)](_0x522236[_0x21d604(0x12e)]);else{_0x522236[_0x21d604(0x11c)](),_0x467b68[_0x21d604(0x120)](_0x522236);for(const _0x43f6cc of _0x5d57a2)_0x467b68[_0x21d604(0x120)](_0x43f6cc);}}_0x467b68[_0x21d604(0x127)]=0x0,_0x5d57a2[_0x21d604(0xc5)]();}['_calculateRunList'](_0x52b90c){const _0x5519e8=_0x2f55de,_0x952ef2=[],_0x5defb2=new Set();for(const _0x5d04b6 of this['_traverse'](_0x52b90c,_0x5defb2))_0x952ef2[_0x5519e8(0x120)](_0x5d04b6);return _0x952ef2;}}class _0x4297c8 extends _0x433c47[_0x2f55de(0xd5)]{async[_0x2f55de(0x169)](_0xe615be=!0x1){const _0x59ffd4=_0x2f55de;_0xe615be?this['_runtimeService'][_0x59ffd4(0xb3)](_0x433c47[_0x59ffd4(0x12d)][_0x59ffd4(0xcd)]):this[_0x59ffd4(0x125)][_0x59ffd4(0xb3)](_0x433c47['FormulaExecuteStageType'][_0x59ffd4(0x132)]),this[_0x59ffd4(0x117)][_0x59ffd4(0xcc)](this[_0x59ffd4(0x125)][_0x59ffd4(0x14a)]());const _0x5b0a3d=await this[_0x59ffd4(0xdd)]['generate'](),_0x357076=this[_0x59ffd4(0x111)];_0xe615be?(this[_0x59ffd4(0x125)][_0x59ffd4(0xb3)](_0x433c47[_0x59ffd4(0x12d)][_0x59ffd4(0xe9)]),this['_runtimeService'][_0x59ffd4(0xcb)](_0x5b0a3d[_0x59ffd4(0x127)])):(this['_runtimeService']['setFormulaExecuteStage'](_0x433c47['FormulaExecuteStageType']['START_CALCULATION']),this[_0x59ffd4(0x125)][_0x59ffd4(0xf6)](_0x5b0a3d[_0x59ffd4(0x127)])),this[_0x59ffd4(0x117)][_0x59ffd4(0xcc)](this[_0x59ffd4(0x125)][_0x59ffd4(0x14a)]());let _0x3c239b=[];const _0x28b717=this[_0x59ffd4(0xb7)][_0x59ffd4(0xc1)](_0x433c47[_0x59ffd4(0x164)]),_0x3b07c6=(_0x28b717==null?void 0x0:_0x28b717[_0x59ffd4(0xc8)])||_0x433c47[_0x59ffd4(0xf0)];let _0x51e63e=0x0;const _0x436c7b=_0x5b0a3d[_0x59ffd4(0x127)];for(;_0x5b0a3d[_0x59ffd4(0x127)]>0x0;){const _0x246b45=_0x5b0a3d[_0x59ffd4(0xe6)](),_0x2ef041={'node':_0x433c47[_0x59ffd4(0x135)](_0x246b45[_0x59ffd4(0x15f)],_0x246b45['formula'],this[_0x59ffd4(0xf4)],this['_astTreeBuilder'],this[_0x59ffd4(0x119)]),'refOffsetX':_0x246b45['refOffsetX'],'refOffsetY':_0x246b45['refOffsetY']},_0x5d26d4=_0x246b45[_0x59ffd4(0xd8)];if(_0x51e63e%_0x3b07c6===0x0&&(await new Promise(_0x5e80f7=>{const _0x24781e=_0x59ffd4,_0x28a3f=_0x1b5f53[_0x24781e(0x149)](_0x5e80f7);_0x3c239b[_0x24781e(0x120)](_0x28a3f);}),_0xe615be?(this[_0x59ffd4(0x125)][_0x59ffd4(0xb3)](_0x433c47['FormulaExecuteStageType']['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x59ffd4(0x128)](_0x51e63e+0x1)):(this[_0x59ffd4(0x125)][_0x59ffd4(0xb3)](_0x433c47[_0x59ffd4(0x12d)][_0x59ffd4(0x15d)]),this['_runtimeService']['setCompletedFormulasCount'](_0x51e63e+0x1)),this[_0x59ffd4(0x117)]['next'](this[_0x59ffd4(0x125)]['getRuntimeState']()),this['_runtimeService'][_0x59ffd4(0xbf)]()||_0x2ef041==null&&_0x5d26d4==null)){this[_0x59ffd4(0x125)][_0x59ffd4(0xb3)](_0x433c47['FormulaExecuteStageType']['IDLE']),this['_runtimeService'][_0x59ffd4(0x122)](),this[_0x59ffd4(0xb5)][_0x59ffd4(0xcc)](this[_0x59ffd4(0x125)]['getAllRuntimeData']());return;}this[_0x59ffd4(0x125)][_0x59ffd4(0xf5)](_0x246b45[_0x59ffd4(0x167)],_0x246b45['column'],_0x246b45['rowCount'],_0x246b45[_0x59ffd4(0x146)],_0x246b45[_0x59ffd4(0x101)],_0x246b45['unitId']);let _0x1c7835;if(_0x5d26d4!=null&&_0x246b45[_0x59ffd4(0x13c)]!=null){const {runtimeCellData:_0x6a73c9,dirtyRanges:_0x573305}=_0x5d26d4(this[_0x59ffd4(0x119)][_0x59ffd4(0xd8)](),this[_0x59ffd4(0x125)][_0x59ffd4(0xe2)]());this['_runtimeService'][_0x59ffd4(0x151)](_0x246b45['featureId'],_0x6a73c9),this[_0x59ffd4(0x125)][_0x59ffd4(0xe1)](_0x246b45[_0x59ffd4(0x13c)],_0x573305);}else _0x2ef041!=null&&(_0x357076[_0x59ffd4(0xdc)](_0x2ef041['node'])?_0x1c7835=await _0x357076['executeAsync'](_0x2ef041):_0x1c7835=_0x357076[_0x59ffd4(0x121)](_0x2ef041),_0x246b45[_0x59ffd4(0x106)]!=null?this['_runtimeService'][_0x59ffd4(0x104)](_0x246b45[_0x59ffd4(0x106)],_0x246b45[_0x59ffd4(0xf2)],_0x246b45[_0x59ffd4(0x155)],_0x1c7835):this[_0x59ffd4(0x125)][_0x59ffd4(0x156)](_0x1c7835));_0x51e63e++;}return _0x3c239b['forEach'](_0x18bab7=>_0x18bab7()),_0x3c239b=[],_0x436c7b>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0xe615be||this[_0x59ffd4(0x125)][_0x59ffd4(0xf3)](),this[_0x59ffd4(0x125)][_0x59ffd4(0xe2)]();}}class _0x35fe94 extends _0x433c47[_0x2f55de(0x107)]{constructor(){const _0x58276c=_0x2f55de;super(...arguments),_0x3ad45b(this,'_allTreeMap',new Map()),_0x3ad45b(this,_0x58276c(0x133),new _0x1b5f53[(_0x58276c(0x118))](!0x0));}[_0x2f55de(0xb0)](){const _0x43b366=_0x2f55de;this[_0x43b366(0xaf)][_0x43b366(0xc5)](),this['_featureFormulaData'][_0x43b366(0xc5)](),this[_0x43b366(0xd2)][_0x43b366(0xc5)](),this[_0x43b366(0x133)][_0x43b366(0xc5)](),this[_0x43b366(0x14f)][_0x43b366(0xc5)](),this[_0x43b366(0x114)](),this[_0x43b366(0x137)]['clear']();}[_0x2f55de(0xd3)](_0x2a08f3,_0x1840a4,_0x2c524a,_0x899547){const _0x3b0ca9=_0x2f55de;this['_otherFormulaData'][_0x3b0ca9(0x136)](_0x2a08f3)||this[_0x3b0ca9(0xaf)]['set'](_0x2a08f3,new Map());const _0x3741a1=this[_0x3b0ca9(0xaf)][_0x3b0ca9(0xd6)](_0x2a08f3);_0x3741a1[_0x3b0ca9(0x136)](_0x1840a4)||_0x3741a1['set'](_0x1840a4,new Map());const _0x3d9e5e=_0x3741a1[_0x3b0ca9(0xd6)](_0x1840a4);_0x3d9e5e[_0x3b0ca9(0x136)](_0x2c524a)||_0x3d9e5e[_0x3b0ca9(0xc9)](_0x2c524a,new _0x1b5f53[(_0x3b0ca9(0x152))]()),_0x3d9e5e[_0x3b0ca9(0xd6)](_0x2c524a)[_0x3b0ca9(0x11e)](_0x899547[_0x3b0ca9(0xf2)],_0x899547['refOffsetY'],_0x899547[_0x3b0ca9(0x12e)]);}[_0x2f55de(0xfd)](_0x38cc61,_0x59df82,_0x1868e3){const _0x163641=_0x2f55de,_0x2a5b2b=this['_otherFormulaData'][_0x163641(0xd6)](_0x38cc61);if(_0x2a5b2b&&_0x2a5b2b[_0x163641(0x136)](_0x59df82)){const _0x5c0470=_0x2a5b2b[_0x163641(0xd6)](_0x59df82);_0x1868e3[_0x163641(0x15a)](_0x4d33ad=>{const _0x447668=_0x163641,_0x473ee3=_0x5c0470[_0x447668(0xd6)](_0x4d33ad);_0x473ee3!=null&&(_0x473ee3[_0x447668(0x10a)]((_0x3d67ed,_0x380379,_0x246de5)=>{const _0xc797b6=_0x447668;this['_removeDependencyRTreeCache'](_0x246de5),this[_0xc797b6(0x14d)](_0x246de5);}),_0x5c0470['delete'](_0x4d33ad),this['_otherFormulaDataMainData']['delete'](_0x4d33ad));}),_0x5c0470['size']===0x0&&_0x2a5b2b[_0x163641(0xd0)](_0x59df82),_0x2a5b2b['size']===0x0&&this[_0x163641(0xaf)][_0x163641(0xd0)](_0x38cc61);}}[_0x2f55de(0x100)](_0x20a72c,_0xae56e5){const _0x4fdba0=_0x2f55de,_0x55c773=this['_otherFormulaData'][_0x4fdba0(0xd6)](_0x20a72c);if(_0xae56e5&&_0x55c773&&_0x55c773[_0x4fdba0(0x136)](_0xae56e5)){const _0x1438fa=_0x55c773[_0x4fdba0(0xd6)](_0xae56e5);this['_removeDependencyRTreeCacheById'](_0x20a72c,_0xae56e5);for(const _0x21758e of _0x1438fa[_0x4fdba0(0x115)]()){const _0x5ae2fe=_0x1438fa[_0x4fdba0(0xd6)](_0x21758e);_0x5ae2fe!=null&&(_0x5ae2fe[_0x4fdba0(0x10a)]((_0x3a0e76,_0x510968,_0x13a451)=>{const _0x41421f=_0x4fdba0;this[_0x41421f(0x14f)][_0x41421f(0xd6)](_0x13a451)&&this[_0x41421f(0x14d)](_0x13a451);}),this['_otherFormulaDataMainData']['delete'](_0x21758e));}_0x1438fa[_0x4fdba0(0xc5)]();}else{if(_0x55c773){for(const _0x189b3f of _0x55c773[_0x4fdba0(0x115)]()){const _0x29a2cc=_0x55c773[_0x4fdba0(0xd6)](_0x189b3f);this[_0x4fdba0(0xb8)](_0x20a72c,_0x189b3f);for(const _0x1f261f of _0x29a2cc['keys']()){const _0x4f3142=_0x29a2cc[_0x4fdba0(0xd6)](_0x1f261f);_0x4f3142!=null&&(_0x4f3142[_0x4fdba0(0x10a)]((_0x4d7c2d,_0x6d0755,_0x339ab0)=>{const _0x1ae6ed=_0x4fdba0;this[_0x1ae6ed(0x14f)][_0x1ae6ed(0xd6)](_0x339ab0)&&this[_0x1ae6ed(0x14d)](_0x339ab0);}),this[_0x4fdba0(0x137)][_0x4fdba0(0xd0)](_0x1f261f));}}this[_0x4fdba0(0xaf)][_0x4fdba0(0xd0)](_0x20a72c);}}}['addFeatureFormulaDependency'](_0x6d2698,_0x4dc62e,_0x21792b,_0x32a38c){const _0x297f85=_0x2f55de;this['_featureFormulaData'][_0x297f85(0x136)](_0x6d2698)||this[_0x297f85(0x15e)][_0x297f85(0xc9)](_0x6d2698,new Map());const _0x7914f5=this[_0x297f85(0x15e)][_0x297f85(0xd6)](_0x6d2698);_0x7914f5[_0x297f85(0x136)](_0x4dc62e)||_0x7914f5[_0x297f85(0xc9)](_0x4dc62e,new Map()),_0x7914f5[_0x297f85(0xd6)](_0x4dc62e)['set'](_0x21792b,_0x32a38c[_0x297f85(0x12e)]);}[_0x2f55de(0xe7)](_0x55fa44,_0x3b5a5c,_0x2a8317){const _0xb0fde7=_0x2f55de,_0x4b9a01=this['_featureFormulaData'][_0xb0fde7(0xd6)](_0x55fa44);if(_0x4b9a01&&_0x4b9a01[_0xb0fde7(0x136)](_0x3b5a5c)){const _0x4e7439=_0x4b9a01[_0xb0fde7(0xd6)](_0x3b5a5c);_0x2a8317[_0xb0fde7(0x15a)](_0x5e2928=>{const _0x1e54c5=_0xb0fde7,_0x1eaf14=_0x4e7439[_0x1e54c5(0xd6)](_0x5e2928);_0x1eaf14!=null&&(this[_0x1e54c5(0xe8)](_0x1eaf14),_0x4e7439[_0x1e54c5(0xd0)](_0x5e2928),this[_0x1e54c5(0x14d)](_0x1eaf14));});}}[_0x2f55de(0xb1)](_0x2c2c63,_0x23d9de){const _0x1f0fd8=_0x2f55de,_0x4751f4=this['_featureFormulaData'][_0x1f0fd8(0xd6)](_0x2c2c63);if(_0x23d9de&&_0x4751f4&&_0x4751f4[_0x1f0fd8(0x136)](_0x23d9de)){const _0x14d858=_0x4751f4['get'](_0x23d9de);this['_removeDependencyRTreeCacheById'](_0x2c2c63,_0x23d9de),_0x14d858[_0x1f0fd8(0x15a)](_0x28cce4=>{_0x28cce4!=null&&this['_removeAllTreeMap'](_0x28cce4);}),_0x14d858[_0x1f0fd8(0xc5)]();}else _0x4751f4&&(_0x4751f4[_0x1f0fd8(0x15a)]((_0x44dc08,_0x85d0c6)=>{const _0x49182b=_0x1f0fd8;this[_0x49182b(0xb8)](_0x2c2c63,_0x85d0c6),_0x44dc08[_0x49182b(0x15a)](_0x3cdf76=>{const _0x5eeb0b=_0x49182b;_0x3cdf76!=null&&this[_0x5eeb0b(0x14d)](_0x3cdf76);});}),this[_0x1f0fd8(0x15e)][_0x1f0fd8(0xd0)](_0x2c2c63));}[_0x2f55de(0x12b)](_0x49fb22,_0x20a08f,_0x5f4908,_0x262f15,_0x1fd9e6){const _0x144c3a=_0x2f55de;this[_0x144c3a(0xd2)][_0x144c3a(0x136)](_0x49fb22)||this[_0x144c3a(0xd2)]['set'](_0x49fb22,new Map());const _0x30e99d=this[_0x144c3a(0xd2)][_0x144c3a(0xd6)](_0x49fb22);_0x30e99d[_0x144c3a(0x136)](_0x20a08f)||_0x30e99d['set'](_0x20a08f,new _0x1b5f53['ObjectMatrix']()),_0x30e99d['get'](_0x20a08f)[_0x144c3a(0x11e)](_0x5f4908,_0x262f15,_0x1fd9e6[_0x144c3a(0x12e)]);}[_0x2f55de(0x150)](_0x352382,_0x383e87,_0x19ac07,_0x24a4a6){const _0x9cfc3c=_0x2f55de,_0x273102=this[_0x9cfc3c(0xd2)]['get'](_0x352382);if(_0x273102&&_0x273102['has'](_0x383e87)){const _0x127360=_0x273102[_0x9cfc3c(0xd6)](_0x383e87),_0x29857e=_0x127360[_0x9cfc3c(0x123)](_0x19ac07,_0x24a4a6);if(_0x29857e==null)return;this['_removeDependencyRTreeCache'](_0x29857e),_0x127360[_0x9cfc3c(0x112)](_0x19ac07,_0x24a4a6),this[_0x9cfc3c(0x14d)](_0x29857e);}}['clearFormulaDependency'](_0x384f93,_0xe2f77f){const _0x126ed0=_0x2f55de,_0x388855=this[_0x126ed0(0xd2)][_0x126ed0(0xd6)](_0x384f93);if(_0xe2f77f&&_0x388855&&_0x388855[_0x126ed0(0x136)](_0xe2f77f)){const _0x2f1aa3=_0x388855[_0x126ed0(0xd6)](_0xe2f77f);this[_0x126ed0(0xb8)](_0x384f93,_0xe2f77f),_0x2f1aa3[_0x126ed0(0x10a)]((_0x13cf3a,_0xc04153,_0x3f86aa)=>{if(_0x3f86aa==null)return!0x0;this['_removeAllTreeMap'](_0x3f86aa);}),_0x2f1aa3[_0x126ed0(0xb0)]();}else _0x388855&&(_0x388855[_0x126ed0(0x15a)]((_0x412cf5,_0x24a647)=>{const _0x4141e1=_0x126ed0;this[_0x4141e1(0xb8)](_0x384f93,_0x24a647),_0x412cf5[_0x4141e1(0x10a)]((_0x2b1a70,_0x2ff3e5,_0xfd3b05)=>{const _0x916d3f=_0x4141e1;if(_0xfd3b05==null)return!0x0;this[_0x916d3f(0x14d)](_0xfd3b05);});}),this['_formulaData'][_0x126ed0(0xd0)](_0x384f93));}['_removeDependencyRTreeCache'](_0x4778ac){const _0x27f546=_0x2f55de;if(_0x4778ac==null)return;const _0x1da0f3=this[_0x27f546(0x14f)][_0x27f546(0xd6)](_0x4778ac);if(_0x1da0f3){const _0x5f04ea=[];for(const [_0x210da9,_0x52183d]of _0x1da0f3)for(const [_0x560ef9,_0x44c09b]of _0x52183d)_0x5f04ea[_0x27f546(0x120)]({'unitId':_0x210da9,'sheetId':_0x560ef9,'range':_0x44c09b,'id':_0x4778ac});this['_dependencyRTreeCache']['bulkRemove'](_0x5f04ea);}}['removeFormulaDependencyByDefinedName'](_0x9afdeb,_0x128dcc){const _0xacb86b=_0x2f55de,_0x2e59f8=this[_0xacb86b(0xd7)]['get'](_0x9afdeb);if(_0x2e59f8){const _0x87e3de=_0x2e59f8[_0xacb86b(0xd6)](_0x128dcc);if(_0x87e3de){for(const _0x5a4697 of _0x87e3de)this['_removeDependencyRTreeCache'](_0x5a4697),this[_0xacb86b(0x14d)](_0x5a4697);_0x87e3de[_0xacb86b(0xc5)]();}}}[_0x2f55de(0x138)](){const _0x4036e3=_0x2f55de;this[_0x4036e3(0x133)][_0x4036e3(0x138)]();}[_0x2f55de(0x108)](){const _0xad084c=_0x2f55de;this[_0xad084c(0x133)][_0xad084c(0x108)]();}[_0x2f55de(0x14d)](_0xae774f){_0xae774f!=null&&this['_allTreeMap']['delete'](_0xae774f);}[_0x2f55de(0x140)](_0x2312f7){const _0x450229=_0x2f55de;var _0x791480,_0x1b4c10;const _0x5dd154=_0x2312f7['rangeList'];let _0x5615b7=this[_0x450229(0x14f)][_0x450229(0xd6)](_0x2312f7[_0x450229(0x12e)]);for(let _0x1197ff=0x0;_0x1197ff<_0x5dd154[_0x450229(0x127)];_0x1197ff++){const _0x5d7df6=_0x5dd154[_0x1197ff];let {unitId:_0x41c38e,sheetId:_0x2303c2,range:_0x2c3cfa}=_0x5d7df6;_0x5615b7||(_0x5615b7=new Map(),this[_0x450229(0x14f)][_0x450229(0xc9)](_0x2312f7['treeId'],_0x5615b7)),_0x5615b7[_0x450229(0x136)](_0x41c38e)||_0x5615b7['set'](_0x41c38e,new Map());const _0x75e4b9=(_0x791480=_0x5615b7==null?void 0x0:_0x5615b7[_0x450229(0xd6)](_0x41c38e))==null?void 0x0:_0x791480[_0x450229(0xd6)](_0x2303c2);_0x75e4b9&&(_0x2c3cfa={'startRow':Math['min'](_0x2c3cfa['startRow'],_0x75e4b9['startRow']),'startColumn':Math[_0x450229(0x15c)](_0x2c3cfa[_0x450229(0x16a)],_0x75e4b9['startColumn']),'endRow':Math['max'](_0x2c3cfa[_0x450229(0x11d)],_0x75e4b9[_0x450229(0x11d)]),'endColumn':Math['max'](_0x2c3cfa[_0x450229(0xdb)],_0x75e4b9['endColumn'])}),(_0x1b4c10=_0x5615b7['get'](_0x41c38e))==null||_0x1b4c10[_0x450229(0xc9)](_0x2303c2,_0x2c3cfa);}}}var _0x1b3d56=Object['getOwnPropertyDescriptor'],_0x5a4440=(_0x1b9ef3,_0x67c22a,_0x24ba03,_0x150b0c)=>{for(var _0x2dfb6d=_0x150b0c>0x1?void 0x0:_0x150b0c?_0x1b3d56(_0x67c22a,_0x24ba03):_0x67c22a,_0x227ff0=_0x1b9ef3['length']-0x1,_0x5aa207;_0x227ff0>=0x0;_0x227ff0--)(_0x5aa207=_0x1b9ef3[_0x227ff0])&&(_0x2dfb6d=_0x5aa207(_0x2dfb6d)||_0x2dfb6d);return _0x2dfb6d;};const _0x3db9bb=Number[_0x2f55de(0x143)](0x67f1fb3f);_0x51453d['UniverProFormulaEnginePlugin']=class extends _0x433c47['UniverFormulaEnginePlugin']{[_0x2f55de(0x168)](){const _0x5ce08b=_0x2f55de;var _0x4574d7,_0x2b31e3;this['_initLicenseValid']()?(_0x4574d7=this[_0x5ce08b(0xf8)])!=null&&_0x4574d7[_0x5ce08b(0x145)]||[[_0x433c47['ICalculateFormulaService'],{'useClass':_0x4297c8}],[_0x433c47['IDependencyManagerService'],{'useClass':_0x35fe94}],[_0x433c47[_0x5ce08b(0x159)],{'useClass':_0x43feaf}]][_0x5ce08b(0x15a)](_0x4fcf39=>this[_0x5ce08b(0xbe)]['add'](_0x4fcf39)):(_0x2b31e3=this[_0x5ce08b(0xf8)])!=null&&_0x2b31e3[_0x5ce08b(0x145)]||[[_0x433c47[_0x5ce08b(0xbd)],{'useClass':_0x433c47[_0x5ce08b(0xd5)]}],[_0x433c47[_0x5ce08b(0x163)],{'useClass':_0x433c47[_0x5ce08b(0xe3)]}],[_0x433c47['IFormulaDependencyGenerator'],{'useClass':_0x433c47[_0x5ce08b(0x147)]}]][_0x5ce08b(0x15a)](_0x8976d4=>this['_injector'][_0x5ce08b(0xde)](_0x8976d4));}['_initLicenseValid'](){const _0x8d2b60=_0x2f55de;var _0x27b8d4;const _0x441b49=(_0x27b8d4=this['_configService'][_0x8d2b60(0xc1)](_0x26dbd6[_0x8d2b60(0xe4)]))!=null?_0x27b8d4:{},{ls:_0x4c34f,pbk:_0x3a514f}=_0x441b49;if(!_0x4c34f||!_0x3a514f)return!0x1;const _0x19120b=_0x26dbd6[_0x8d2b60(0x12a)](_0x434cfe,_0x20eda8),_0x32ba87=new Function(_0x8d2b60(0x153)+_0x19120b)()(_0x4c34f,_0x3a514f),_0x195f8e=_0x32ba87[_0x8d2b60(0x13f)];return _0x32ba87[_0x8d2b60(0xff)]&&_0x26dbd6[_0x8d2b60(0xbb)](_0x195f8e,'sf',_0x3db9bb)?_0x26dbd6['getSheetFeatureLimit'](_0x195f8e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x51453d[_0x2f55de(0x109)]=_0x5a4440([_0x1b5f53[_0x2f55de(0x131)](_0x26dbd6['UniverLicensePlugin'])],_0x51453d[_0x2f55de(0x109)]),Object[_0x2f55de(0x115)](_0x433c47)[_0x2f55de(0x15a)](_0x41cbac=>{const _0x90979c=_0x2f55de;_0x41cbac!=='default'&&!Object[_0x90979c(0x103)][_0x90979c(0xca)]['call'](_0x51453d,_0x41cbac)&&Object[_0x90979c(0x105)](_0x51453d,_0x41cbac,{'enumerable':!0x0,'get':()=>_0x433c47[_0x41cbac]});}),Object[_0x2f55de(0x105)](_0x51453d,Symbol[_0x2f55de(0x162)],{'value':_0x2f55de(0x10f)});}));function _0x474c(){const _0x4b249b=['endRow','setValue','hasOtherFormulaDataMainData','push','execute','markedAsStopFunctionsExecuted','getValue','773484jgLOiM','_runtimeService','type','length','setCompletedArrayFormulasCount','clearFormulaDependency','unshiftString','addFormulaDependency','20JQitbE','FormulaExecuteStageType','treeId','744HNSqcf','isDirty','DependentOn','START_DEPENDENCY','_dependencyRTreeCache','@univerjs/engine-formula','generateAstNode','has','_otherFormulaDataMainData','openKdTree','isVirtual','FormulaDependencyTree','6861152VxfCYn','featureId','getFeatureFormulaDependency','_isCyclicUtilMap','message','_addAllTreeMap','_getFeatureFormulaTree','@univerjs/core','parseInt','symbol','notExecuteFormula','columnCount','FormulaDependencyGenerator','getClearDependencyTreeCache','requestImmediateMacroTask','getRuntimeState','formula','_convertDirtyRangesToUnitRange','_removeAllTreeMap','_createFDtree','_allTreeMap','removeFormulaDependency','setRuntimeFeatureCellData','ObjectMatrix','return\x20','isExcludeRange','refOffsetY','setRuntimeData','featureDirtyRanges','_getTreeNode','IFormulaDependencyGenerator','forEach','getExcludedRange','min','CURRENTLY_CALCULATING','_featureFormulaData','unitId','rangeList','ParentDependencyTree\x20object\x20is\x20null','toStringTag','IDependencyManagerService','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','generateRandomDependencyTreeId','_getUpdateTreeListAndMakeDependency','row','_initializeWithOverride','_apply','startColumn','_otherFormulaData','reset','clearFeatureFormulaDependency','_checkIsCycleDependency','setFormulaExecuteStage','_dependencyManagerService','_executionCompleteListener$','_registerFormulas','_configService','_removeDependencyRTreeCacheById','addFeatureFormulaDependency','UniverProEngineFormula','isFeatureAuthorizedWithinTime','_dependencyTreeCache','ICalculateFormulaService','_injector','isStopExecution','getDirtyNameMap','getConfig','isCache','rowCount','UniverCore','clear','2bYyYmU','toRTreeItem','intervalCount','set','hasOwnProperty','setTotalArrayFormulasToCalculate','next','START_DEPENDENCY_ARRAY_FORMULA','_dependencyRTreeCacheForAddressFunction','_updateRangeFlatten','delete','addOtherFormulaDependencyMainData','_formulaData','addOtherFormulaDependency','getFormulaData','CalculateFormulaService','get','_definedNameMap','getDirtyData','dirtyRanges','getDirtyRanges','endColumn','checkAsyncNode','_formulaDependencyGenerator','add','536157czMdsH','getUnitData','setRuntimeFeatureRange','getAllRuntimeData','DependencyManagerService','LS_CONFIG_KEY','addFormulaDependencyByDefinedName','pop','removeFeatureFormulaDependency','_removeDependencyRTreeCache','START_CALCULATION_ARRAY_FORMULA','FormulaDependencyTreeType','1015906fzHAkF','65191nAirSf','isForceCalculate','resolve','_generateTreeList','DEFAULT_INTERVAL_COUNT','_otherFormulaManagerService','refOffsetX','markedAsNoFunctionsExecuted','_lexer','setCurrent','setTotalFormulasToCalculate','UniverEngineFormula','_config','amd','size','@univerjs-pro/license','dispose','removeOtherFormulaDependency','setSkip','valid','clearOtherFormulaDependency','subUnitId','6952419NuAzdg','prototype','setRuntimeOtherData','defineProperty','formulaId','DependencyManagerBaseService','closeKdTree','UniverProFormulaEnginePlugin','forValue','object','isAdded','34056242bkLCAr','_getTreeById','Module','10pffsiC','_interpreter','realDeleteValue','function','_restDependencyTreeId','keys','Di7PE047\x20NvPakXE047(y0Pv7tv,\x20Xiuy0Phvk)\x20{\x20\x20\x20\x20Eak\x20{\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20y0Pv7tv17D4CpaEgaapk\x20=\x20y0Pv7tv.tXy0E(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x204a0n07Vvttpnv\x20=\x20eJ6H.Xpatv(pE4u(y0Pv7tv17D4CpaEgaapk[o]));\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!4a0n07Vvttpnv.iN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204a0n07Vvttpnv.iN\x20=\x20HiMuva(y0Pv7tv17D4CpaEgaapk[c]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x200t54aWva\x20=\x20EkXv4D\x2054aWvaqy4upyJP4Xv\x20!==\x20\x27i7NvD07vN\x27\x20&&\x20tvyD\x2007tEp7Pv4D\x2054aWvaqy4upyJP4Xv;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20P47Ev2E\x20=\x200t54aWva\x20?\x20tvyD\x20:\x20I07N4I;\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[o]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20Mvttpnv\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(Mvttpnv54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav54aN\x20=\x20P47Ev2E.__9ptvBc__.Xpatv(y0Pv7tv17D4CpaEgaapk[3]);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7pEiav\x20=\x20P47Ev2E.__jv2__.tEa07n0Dk(t0n7pEiav54aN);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20t0n7Ypy0N\x20=\x20P47Ev2E.__8va0Dk__(t0n7pEiav,\x20Mvttpnv,\x20Xiuy0Phvk);\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20N4Mp07\x20=\x204a0n07Vvttpnv.NM;\x20\x20\x20\x20\x20\x20\x20\x20Di7PE047\x200tF4Mp07VpEPS07n(4CpEEva7,\x204j4tE)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7\x20=\x204CpEEva7.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tE\x20=\x204j4tE.avXypPv(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7CpaEt\x20=\x20XpEEva7.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tECpaEt\x20=\x20S4tE.tXy0E(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(!XpEEva7.07PyiNvt(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7\x20===\x20S4tE;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200D\x20(XpEEva7CpaEt.yv7nES\x20<\x20o\x20||\x20XpEEva7CpaEt[K]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20Dpytv;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20XpEEva7JiDD02\x20=\x20XpEEva7CpaEt.ty0Pv(b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x20S4tEJiDD02\x20=\x20S4tECpaEt.ty0Pv(-XpEEva7CpaEt.yv7nES\x20+\x20b).d407(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20XpEEva7JiDD02\x20===\x20S4tEJiDD02;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20yvE\x20N4Mp07Ypy0N\x20=\x20(N4Mp07\x20&&\x20N4Mp07.yv7nES)\x20?\x20N4Mp07.t4Mv((NM1EvM)\x20=>\x200tF4Mp07VpEPS07n(NM1EvM,\x20y4PpE047.S4tE7pMv))\x20:\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x200D\x20(y4PpE047.S4tE7pMv\x20===\x20\x27y4PpyS4tE\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20N4Mp07Ypy0N\x20=\x20Eaiv;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20P47tE\x208py0N\x20=\x20t0n7Ypy0N\x20&&\x20N4Mp07Ypy0N;\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x204a0n07Vvttpnv,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20PpEPS\x20(vaa4a)\x20{\x20\x20\x20\x20\x20\x20\x20\x20avEia7\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208py0N:\x20Dpytv,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Mvttpnv:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_executionInProgressListener$','RTree','_currentConfigService','isSkip','bulkSearch','setAdded'];_0x474c=function(){return _0x4b249b;};return _0x474c();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@univerjs-pro/engine-formula",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.9-experimental.20250406-d422c87",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "UniverSheet pro base-formula-engine",
|
|
6
6
|
"author": "DreamNum <developer@univer.ai>",
|
|
@@ -52,16 +52,16 @@
|
|
|
52
52
|
"rxjs": ">=7.0.0"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@univerjs
|
|
56
|
-
"@univerjs/
|
|
57
|
-
"@univerjs/
|
|
55
|
+
"@univerjs/core": "0.6.9-experimental.20250406-d422c87",
|
|
56
|
+
"@univerjs/engine-formula": "0.6.9-experimental.20250406-d422c87",
|
|
57
|
+
"@univerjs-pro/license": "0.6.9-experimental.20250406-d422c87"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"rxjs": "^7.8.1",
|
|
61
61
|
"typescript": "^5.8.2",
|
|
62
62
|
"vite": "^6.2.2",
|
|
63
63
|
"vitest": "^3.0.9",
|
|
64
|
-
"@univerjs-infra/shared": "0.6.
|
|
64
|
+
"@univerjs-infra/shared": "0.6.9"
|
|
65
65
|
},
|
|
66
66
|
"scripts": {
|
|
67
67
|
"test": "vitest run",
|