@univerjs-pro/engine-formula 0.12.4 → 0.13.0-insiders.20251215-64041bb

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x429d(_0x55b855,_0x3e5073){_0x55b855=_0x55b855-0xe3;const _0x26713d=_0x2671();let _0x429dee=_0x26713d[_0x55b855];return _0x429dee;}(function(_0x959fab,_0x3c5fc2){const _0x286fc1=_0x429d,_0x300651=_0x959fab();while(!![]){try{const _0x4f7a0f=-parseInt(_0x286fc1(0x1b4))/0x1*(parseInt(_0x286fc1(0x1a4))/0x2)+parseInt(_0x286fc1(0x122))/0x3*(parseInt(_0x286fc1(0x154))/0x4)+parseInt(_0x286fc1(0xe6))/0x5*(-parseInt(_0x286fc1(0x14a))/0x6)+-parseInt(_0x286fc1(0x111))/0x7*(-parseInt(_0x286fc1(0xf2))/0x8)+parseInt(_0x286fc1(0x110))/0x9*(-parseInt(_0x286fc1(0x152))/0xa)+parseInt(_0x286fc1(0x1b2))/0xb*(parseInt(_0x286fc1(0x106))/0xc)+parseInt(_0x286fc1(0x17d))/0xd*(parseInt(_0x286fc1(0x17a))/0xe);if(_0x4f7a0f===_0x3c5fc2)break;else _0x300651['push'](_0x300651['shift']());}catch(_0x39642f){_0x300651['push'](_0x300651['shift']());}}}(_0x2671,0xc8dfa),function(_0xa06e30,_0x3acec0){const _0x589f91=_0x429d;typeof exports=='object'&&typeof module<'u'?_0x3acec0(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x589f91(0x1ca)&&define['amd']?define([_0x589f91(0x1cd),_0x589f91(0x156),_0x589f91(0xe3),'@univerjs/engine-formula'],_0x3acec0):(_0xa06e30=typeof globalThis<'u'?globalThis:_0xa06e30||self,_0x3acec0(_0xa06e30[_0x589f91(0x142)]={},_0xa06e30['UniverProLicense'],_0xa06e30['UniverCore'],_0xa06e30['UniverEngineFormula']));}(this,function(_0x3ccb8f,_0x4e41e9,_0x422931,_0x2ad67f){'use strict';const _0x360d08=_0x429d;var _0x36ca91=Object[_0x360d08(0x19a)],_0x51b72d=(_0x685d03,_0x441272,_0x8be284)=>_0x441272 in _0x685d03?_0x36ca91(_0x685d03,_0x441272,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8be284}):_0x685d03[_0x441272]=_0x8be284,_0x53518e=(_0x1602ed,_0x2157ba,_0x590ef2)=>_0x51b72d(_0x1602ed,typeof _0x2157ba!=_0x360d08(0x11d)?_0x2157ba+'':_0x2157ba,_0x590ef2);const _0x34a90e={0x0:'H',0x1:'K',0x2:'h',0x3:'E',0x4:'y',0x5:'5',0x6:'e',0x7:'Z',0x8:'X',0x9:'C','v':'0','H':'1','X':'2','o':'3','W':'4','t':'6','h':'7','d':'8','s':'9','R':'a','V':'b','r':'c','Q':'d','T':'f','p':'g','w':'i','Z':'j','J':'k','M':'l','a':'m','S':'n','A':'o','b':'p','z':'q','L':'r','N':'s','F':'t','K':'u','u':'v','U':'w','n':'x','G':'z','e':'A','i':'B','O':'D','y':'F','j':'G','B':'I','k':'J','D':'L','Y':'M','m':'N','c':'O','I':'P','l':'Q','g':'R','C':'S','x':'T','f':'U','q':'V','E':'W','P':'Y'},_0x1d4452=_0x360d08(0x194);class _0x9e4100 extends _0x2ad67f['FormulaDependencyGenerator']{constructor(){const _0x6287fd=_0x360d08;super(...arguments),_0x53518e(this,_0x6287fd(0x16c),new Map());}[_0x360d08(0xe9)](){const _0x4328d1=_0x360d08;super[_0x4328d1(0xe9)](),this[_0x4328d1(0x16c)][_0x4328d1(0x13e)]();}async['generate'](){const _0x4309db=_0x360d08;this[_0x4309db(0x12d)]();const _0x40caa2=this['_currentConfigService'][_0x4309db(0x146)](),_0x5b121=this[_0x4309db(0x172)][_0x4309db(0xf8)](),_0x56d4d5=this[_0x4309db(0x100)][_0x4309db(0x1be)]();_0x56d4d5!=null&&Object[_0x4309db(0x131)](_0x56d4d5)['forEach'](_0x487feb=>{_0x487feb!=null&&Object['keys'](_0x56d4d5[_0x487feb])['forEach'](_0x49f5df=>{const _0x364ece=_0x429d;_0x49f5df!=null&&(this['_dependencyManagerService'][_0x364ece(0x1cc)](_0x487feb,_0x49f5df),this[_0x364ece(0x1aa)][_0x364ece(0x195)](_0x487feb,_0x49f5df),this[_0x364ece(0x1aa)]['clearFormulaDependency'](_0x487feb,_0x49f5df));});});const _0x16d1db=this['_currentConfigService'][_0x4309db(0xea)]();await this[_0x4309db(0x108)](_0x40caa2,_0x5b121,_0x16d1db),this['_dependencyManagerService'][_0x4309db(0x1cb)]();const _0x4f607d=this[_0x4309db(0x174)](),_0x1bfec5=this[_0x4309db(0x190)](_0x4f607d);return this[_0x4309db(0x158)](_0x1bfec5)&&this[_0x4309db(0x139)][_0x4309db(0x12e)](),this[_0x4309db(0x16c)]['clear'](),this[_0x4309db(0x168)][_0x4309db(0x13e)](),this[_0x4309db(0x1aa)][_0x4309db(0x1ac)](),this[_0x4309db(0x139)][_0x4309db(0x197)](),Promise[_0x4309db(0x147)](_0x1bfec5);}['_isCyclicUtilMap'](_0x50a8a1,_0x2f0431){const _0x626f87=_0x360d08,_0x371f27=[_0x50a8a1];for(;_0x371f27['length']>0x0;){const _0xe32e8f=_0x371f27[_0x371f27['length']-0x1];if((_0x2f0431[_0x626f87(0x173)](_0xe32e8f)||0x0)===0x0){_0x2f0431[_0x626f87(0x18a)](_0xe32e8f,0x1);const _0x5126ba=this[_0x626f87(0x16c)][_0x626f87(0x173)](_0xe32e8f);if(_0x5126ba==null){_0x2f0431[_0x626f87(0x18a)](_0xe32e8f,0x2),_0x371f27['pop']();continue;}const _0x45186b=this['_dependencyManagerService'][_0x626f87(0x10e)](_0x5126ba[_0x626f87(0x179)]());for(const _0x12765b of _0x45186b){const _0x3689fc=_0x2f0431[_0x626f87(0x173)](_0x12765b)||0x0;if(_0x3689fc===0x1)return!0x0;_0x3689fc===0x0&&_0x371f27[_0x626f87(0x11c)](_0x12765b);}}else _0x2f0431[_0x626f87(0x18a)](_0xe32e8f,0x2),_0x371f27[_0x626f87(0x123)]();}return!0x1;}[_0x360d08(0x158)](_0xa22428){const _0x59ce09=_0x360d08,_0x68d14d=new Map();for(const _0x1cd56b of _0xa22428)if(!_0x68d14d[_0x59ce09(0x1ab)](_0x1cd56b[_0x59ce09(0x121)])&&this[_0x59ce09(0x15d)](_0x1cd56b[_0x59ce09(0x121)],_0x68d14d))return!0x0;return _0x68d14d['clear'](),!0x1;}[_0x360d08(0x167)](_0x24613e,_0x24097c,_0xaf20cf){const _0x2eaa8e=_0x360d08,{unitId:_0x584ce4,subUnitId:_0x4328c0,dependencyRanges:_0x3b0792,getDirtyData:_0x3aa05f}=_0xaf20cf,_0x1be9ad=_0x24097c||_0x2ad67f[_0x2eaa8e(0x116)](this[_0x2eaa8e(0x1aa)]),_0x305c88=new _0x2ad67f['FormulaDependencyTree'](_0x1be9ad);_0x305c88[_0x2eaa8e(0x19f)]=_0x584ce4,_0x305c88[_0x2eaa8e(0x10d)]=_0x4328c0,_0x305c88[_0x2eaa8e(0x15e)]=_0x3b0792,_0x305c88[_0x2eaa8e(0x1a3)]=_0x3aa05f;const _0x150b0c=_0x3aa05f(this[_0x2eaa8e(0x100)][_0x2eaa8e(0x1a3)](),this[_0x2eaa8e(0x139)][_0x2eaa8e(0x16e)]()),_0x1f7958=this[_0x2eaa8e(0x16f)](_0x150b0c['dirtyRanges']);return _0x305c88[_0x2eaa8e(0xeb)]=_0x1f7958,_0x305c88[_0x2eaa8e(0x11b)]=_0x24613e,_0x305c88[_0x2eaa8e(0x150)]=_0x2ad67f['FormulaDependencyTreeType']['FEATURE_FORMULA'],this[_0x2eaa8e(0x1aa)][_0x2eaa8e(0x10b)](_0x584ce4,_0x4328c0,_0x24613e,_0x305c88),this[_0x2eaa8e(0x16c)][_0x2eaa8e(0x18a)](_0x305c88[_0x2eaa8e(0x121)],_0x305c88),this[_0x2eaa8e(0x1aa)][_0x2eaa8e(0x14c)](_0xaf20cf[_0x2eaa8e(0x19f)],_0xaf20cf[_0x2eaa8e(0x10d)],_0x24613e)&&(_0x305c88['isCache']=!0x0),_0x305c88;}[_0x360d08(0x1a2)](_0x322bc9,_0x47ae72,_0x3b5ff8){const _0x4aa868=_0x360d08;var _0x58f569;for(const _0x71021d of _0x47ae72){const _0x266b1c=_0x322bc9[_0x71021d];if(_0x266b1c==null)continue;const _0x1eb9e4=Object[_0x4aa868(0x131)](_0x266b1c);for(const _0x39d1b9 of _0x1eb9e4){const _0x3f38ce=_0x266b1c[_0x39d1b9];if(_0x3f38ce==null)continue;const _0x3cd724=Object[_0x4aa868(0x131)](_0x3f38ce);for(const _0x3a6b99 of _0x3cd724){const _0x5a4554=this['_dependencyManagerService'][_0x4aa868(0x1a9)](_0x3a6b99),_0x2b34aa=_0x3f38ce[_0x3a6b99],{f:_0xc2cf45,ranges:_0x240073}=_0x2b34aa;let _0xbc578f=!0x1;_0x5a4554&&(_0xbc578f=!0x0);const {firstRow:_0x18d268,firstColumn:_0x224bbb}=this[_0x4aa868(0x124)](_0x240073),_0x282c87=this[_0x4aa868(0x1aa)][_0x4aa868(0x132)](_0x71021d,_0x39d1b9,_0x3a6b99),_0x34177b=(_0x58f569=_0x282c87==null?void 0x0:_0x282c87[_0x4aa868(0x143)](0x0,0x0))!=null?_0x58f569:_0x2ad67f['generateRandomDependencyTreeId'](this[_0x4aa868(0x1aa)]),_0x3efae6=new _0x2ad67f['FormulaDependencyTree'](_0x34177b);for(let _0x5539c9=0x0;_0x5539c9<_0x240073[_0x4aa868(0x133)];_0x5539c9++){const _0xc4da5=_0x240073[_0x5539c9],{startRow:_0x5e265f,startColumn:_0x37438d,endRow:_0x4e88c4,endColumn:_0x252022}=_0xc4da5;for(let _0x4fa416=_0x5e265f;_0x4fa416<=_0x4e88c4;_0x4fa416++)for(let _0x3b3bcc=_0x37438d;_0x3b3bcc<=_0x252022;_0x3b3bcc++){const _0x195726=_0x3b3bcc-_0x224bbb,_0x2a61e3=_0x4fa416-_0x18d268;if(_0x195726===0x0&&_0x2a61e3===0x0){_0x3efae6['formula']=_0xc2cf45,_0x3efae6[_0x4aa868(0x19f)]=_0x71021d,_0x3efae6['subUnitId']=_0x39d1b9,_0x3efae6[_0x4aa868(0x118)]=_0x3a6b99,_0x3efae6[_0x4aa868(0x150)]=_0x2ad67f['FormulaDependencyTreeType'][_0x4aa868(0x18f)],_0x3efae6[_0x4aa868(0x135)]=_0xbc578f,_0x3b5ff8[_0x4aa868(0x11c)](_0x3efae6),this[_0x4aa868(0x16c)][_0x4aa868(0x18a)](_0x3efae6['treeId'],_0x3efae6),this[_0x4aa868(0x1aa)][_0x4aa868(0x183)](_0x71021d,_0x39d1b9,_0x3a6b99,_0x3efae6),this[_0x4aa868(0x1aa)][_0x4aa868(0x141)](_0x3efae6);continue;}const _0x471d26=new _0x2ad67f[(_0x4aa868(0xfa))]();_0x471d26['treeId']=(_0x282c87==null?void 0x0:_0x282c87[_0x4aa868(0x143)](_0x195726,_0x2a61e3))||_0x2ad67f['generateRandomDependencyTreeId'](this[_0x4aa868(0x1aa)]),_0x471d26['refTree']=_0x3efae6,_0x471d26[_0x4aa868(0x105)]=_0x195726,_0x471d26['refOffsetY']=_0x2a61e3,_0x471d26[_0x4aa868(0x135)]=_0xbc578f,this['_dependencyManagerService'][_0x4aa868(0x183)](_0x71021d,_0x39d1b9,_0x3a6b99,_0x471d26),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x471d26),_0x3b5ff8[_0x4aa868(0x11c)](_0x471d26),this[_0x4aa868(0x16c)][_0x4aa868(0x18a)](_0x471d26[_0x4aa868(0x121)],_0x471d26);}}this[_0x4aa868(0x1aa)][_0x4aa868(0x12b)](_0x3a6b99);}}}}['_registerFormulas'](_0x2fe709,_0x4f97d9,_0x1cda67,_0x28c4aa){const _0x354b2e=_0x360d08;for(const _0x48d80f of _0x2fe709){const _0x55ffaa=_0x4f97d9[_0x48d80f];if(_0x55ffaa==null)continue;const _0x2083e7=Object['keys'](_0x55ffaa);for(const _0x25ad52 of _0x2083e7){const _0x2e756e=new _0x422931[(_0x354b2e(0x1c3))](_0x55ffaa[_0x25ad52]||{}),_0x5a010d=new Map();_0x2e756e[_0x354b2e(0x107)]((_0x1eb31b,_0x136bd7,_0x5be9f7)=>{const _0x3375b5=_0x354b2e;if(_0x5be9f7==null)return!0x0;const {x:_0x31e21b=0x0,y:_0x26ba23=0x0,si:_0x36e54a}=_0x5be9f7;if(!(_0x31e21b===0x0&&_0x26ba23===0x0&&_0x36e54a!=null))return!0x0;const _0x3e3898=this[_0x3375b5(0x14f)](_0x48d80f,_0x25ad52,_0x1eb31b,_0x136bd7,_0x1cda67,_0x5be9f7),_0x1a72e8=this['_dependencyManagerService'][_0x3375b5(0x161)](_0x48d80f,_0x25ad52,_0x1eb31b,_0x136bd7);_0x1a72e8!=null?_0x3e3898[_0x3375b5(0x121)]=_0x1a72e8:(this[_0x3375b5(0x1aa)]['addFormulaDependency'](_0x48d80f,_0x25ad52,_0x1eb31b,_0x136bd7,_0x3e3898),this[_0x3375b5(0x1aa)]['addFormulaDependencyByDefinedName'](_0x3e3898)),_0x5a010d[_0x3375b5(0x18a)](_0x36e54a,_0x3e3898),_0x28c4aa[_0x3375b5(0x11c)](_0x3e3898),this[_0x3375b5(0x16c)][_0x3375b5(0x18a)](_0x3e3898[_0x3375b5(0x121)],_0x3e3898);}),_0x2e756e[_0x354b2e(0x107)]((_0x1e6853,_0xa77672,_0x3ee485)=>{const _0x4a2b5a=_0x354b2e;if(_0x3ee485==null)return!0x0;const {x:_0x14468d=0x0,y:_0x439d7b=0x0,si:_0x167cd3}=_0x3ee485;if(_0x14468d===0x0&&_0x439d7b===0x0&&_0x167cd3!=null)return!0x0;let _0x346df8;if(_0x167cd3&&_0x5a010d[_0x4a2b5a(0x1ab)](_0x167cd3)){const _0x444af5=_0x5a010d[_0x4a2b5a(0x173)](_0x167cd3);_0x346df8=this[_0x4a2b5a(0x1a6)](_0x444af5,_0x3ee485);}else _0x346df8=this['_createFDtree'](_0x48d80f,_0x25ad52,_0x1e6853,_0xa77672,_0x1cda67,_0x3ee485);const _0x41dcd0=this[_0x4a2b5a(0x1aa)][_0x4a2b5a(0x161)](_0x48d80f,_0x25ad52,_0x1e6853,_0xa77672);_0x41dcd0!=null?_0x346df8[_0x4a2b5a(0x121)]=_0x41dcd0:(this[_0x4a2b5a(0x1aa)][_0x4a2b5a(0x13c)](_0x48d80f,_0x25ad52,_0x1e6853,_0xa77672,_0x346df8),this[_0x4a2b5a(0x1aa)][_0x4a2b5a(0x141)](_0x346df8)),_0x28c4aa['push'](_0x346df8),this[_0x4a2b5a(0x16c)][_0x4a2b5a(0x18a)](_0x346df8['treeId'],_0x346df8);}),_0x5a010d[_0x354b2e(0x13e)]();}}}[_0x360d08(0x14f)](_0x2b2e37,_0x574b43,_0x5b4766,_0x27b767,_0x140962,_0xc3181d){const _0x282510=_0x360d08,{f:_0x41e453,x:_0x5a274e=0x0,y:_0x5e393c=0x0}=_0xc3181d,_0x4365f2=new _0x2ad67f['FormulaDependencyTree'](_0x2ad67f['generateRandomDependencyTreeId'](this[_0x282510(0x1aa)])),_0x10b3fb=_0x140962[_0x2b2e37][_0x574b43];return _0x4365f2['formula']=_0x41e453,_0x4365f2['unitId']=_0x2b2e37,_0x4365f2[_0x282510(0x10d)]=_0x574b43,_0x4365f2[_0x282510(0x153)]=_0x5b4766,_0x4365f2['column']=_0x27b767,_0x4365f2[_0x282510(0x130)]=_0x10b3fb[_0x282510(0x130)],_0x4365f2[_0x282510(0x1b9)]=_0x10b3fb[_0x282510(0x1b9)],_0x4365f2;}[_0x360d08(0x174)](){const _0x42f0d0=_0x360d08,_0x5d1279=[],_0x290832=new Set(),_0x3c56f3=this[_0x42f0d0(0x100)][_0x42f0d0(0x15b)](),_0x174040=this[_0x42f0d0(0x100)][_0x42f0d0(0x1c8)](),_0x26624a=this[_0x42f0d0(0x1aa)][_0x42f0d0(0x10e)](_0x174040),_0x8035a6=this[_0x42f0d0(0x168)][_0x42f0d0(0x1b3)](_0x174040);for(const _0x14ef22 of _0x8035a6)_0x26624a[_0x42f0d0(0xff)](_0x14ef22);for(const [_0xdf2734,_0xbc0ff6]of this[_0x42f0d0(0x16c)])(_0x3c56f3||_0xbc0ff6['isDirty']||_0xbc0ff6[_0x42f0d0(0x164)](this[_0x42f0d0(0x100)][_0x42f0d0(0x17f)]())||_0x26624a[_0x42f0d0(0x1ab)](_0xdf2734)&&!_0xbc0ff6[_0x42f0d0(0x1b6)](this[_0x42f0d0(0x100)][_0x42f0d0(0x166)]()))&&!_0x290832[_0x42f0d0(0x1ab)](_0xdf2734)&&(_0x5d1279['push'](_0xbc0ff6),_0x290832[_0x42f0d0(0xff)](_0xdf2734));for(const [_0x41cf0d,_0x5d6cc3]of this['_dependencyTreeCache'])_0x5d6cc3['isVirtual']||(_0x5d6cc3['rangeList'][_0x42f0d0(0x133)]=0x0);return _0x5d1279;}[_0x360d08(0x1b5)](_0x2fc3cc){const _0x2d0ee5=_0x360d08;return this[_0x2d0ee5(0x16c)][_0x2d0ee5(0x173)](_0x2fc3cc);}[_0x360d08(0x18e)](_0x24fb8a){const _0x2034cb=_0x360d08;return _0x2ad67f[_0x2034cb(0x13d)](_0x24fb8a['unitId'],_0x24fb8a[_0x2034cb(0x13f)],this[_0x2034cb(0x15c)],this[_0x2034cb(0x1bc)],this[_0x2034cb(0x100)]);}*[_0x360d08(0x198)](_0xb84a5f,_0x215ae6){const _0x5d94b8=_0x360d08,_0x5c74ce=_0xb84a5f,_0x92cc5a=new Set();for(;_0x5c74ce[_0x5d94b8(0x133)]>0x0;){const _0x5754be=_0x5c74ce[_0x5d94b8(0x123)]();if(_0x92cc5a[_0x5d94b8(0x13e)](),_0x5754be===void 0x0||_0x5754be[_0x5d94b8(0x10c)]())continue;if(_0x5754be[_0x5d94b8(0x191)]()){yield _0x5754be,_0x5754be['setSkip'](),_0x215ae6[_0x5d94b8(0xff)](_0x5754be[_0x5d94b8(0x121)]);continue;}const _0x2af62c=this['_dependencyManagerService'][_0x5d94b8(0x10e)](_0x5754be[_0x5d94b8(0x179)](),_0x215ae6),_0x29b956=this[_0x5d94b8(0x168)][_0x5d94b8(0x1b3)](_0x5754be[_0x5d94b8(0x179)](),_0x215ae6);for(const _0x6f6a19 of _0x29b956)_0x2af62c[_0x5d94b8(0xff)](_0x6f6a19);for(const _0x169ace of _0x2af62c){const _0x2b1784=this[_0x5d94b8(0x16c)][_0x5d94b8(0x173)](_0x169ace);if(!_0x2b1784)throw new Error(_0x5d94b8(0x1bf));_0x2b1784[_0x5d94b8(0x191)]()||_0x5754be['isSkip']()||_0x92cc5a[_0x5d94b8(0xff)](_0x2b1784);}if(_0x2af62c[_0x5d94b8(0x13e)](),_0x92cc5a[_0x5d94b8(0x1b0)]===0x0)yield _0x5754be,_0x5754be[_0x5d94b8(0xf1)](),_0x215ae6['add'](_0x5754be[_0x5d94b8(0x121)]);else{_0x5754be[_0x5d94b8(0x1b1)](),_0x5c74ce[_0x5d94b8(0x11c)](_0x5754be);for(const _0x4ea391 of _0x92cc5a)_0x5c74ce[_0x5d94b8(0x11c)](_0x4ea391);}}_0x5c74ce[_0x5d94b8(0x133)]=0x0,_0x92cc5a[_0x5d94b8(0x13e)]();}['_calculateRunList'](_0x15c97c){const _0x2ea57c=[],_0x10a229=new Set();for(const _0x3405fb of this['_traverse'](_0x15c97c,_0x10a229))_0x2ea57c['push'](_0x3405fb);return _0x2ea57c;}}class _0x47ef93 extends _0x2ad67f[_0x360d08(0xe7)]{constructor(){const _0x37f33e=_0x360d08;super(...arguments),_0x53518e(this,_0x37f33e(0x1a7),!0x1),_0x53518e(this,_0x37f33e(0x182),new Set());}[_0x360d08(0x10f)](_0x218b59,_0x2ed8ee){const _0x28ee8c=_0x360d08,_0xdde210=this['treeBuilder'](_0x218b59,!0x1);if(!_0xdde210||_0xdde210===_0x2ad67f[_0x28ee8c(0x188)]['VALUE']||Array['isArray'](_0xdde210))return null;const _0x22a474=[];return this[_0x28ee8c(0x1a7)]=!0x1,this['_generateNewFunctionString'](_0xdde210,_0x22a474,_0x2ed8ee),this['_hasNewExcelFunction']?'='+_0x22a474[_0x28ee8c(0x16b)](''):null;}[_0x360d08(0x159)](_0x58a7b4,_0x32db6b,_0x5885db){const _0x55f1c2=_0x360d08,_0x123fd8=_0x58a7b4[_0x55f1c2(0xee)](),_0x556d1d=_0x123fd8['trim'](),_0x95c34c=_0x556d1d[_0x55f1c2(0x196)](),_0x371161=this[_0x55f1c2(0xfe)](_0x95c34c),_0x28009d=_0x5885db(_0x371161);let _0x5b6df2=0x0;_0x123fd8===_0x2ad67f[_0x55f1c2(0x126)]?_0x5b6df2=0x3:_0x123fd8===_0x2ad67f[_0x55f1c2(0x10a)]?_0x5b6df2=0x4:_0x123fd8===_0x2ad67f[_0x55f1c2(0x192)]?_0x5b6df2=0x5:_0x2ad67f[_0x55f1c2(0x19e)]['has'](_0x371161)?(_0x32db6b[_0x55f1c2(0x11c)](_0x55f1c2(0x193)+_0x556d1d),this[_0x55f1c2(0x1a7)]=!0x0):_0x95c34c===_0x2ad67f[_0x55f1c2(0x138)]?(_0x32db6b[_0x55f1c2(0x11c)]('_xlfn.'+_0x556d1d),this[_0x55f1c2(0x1a7)]=!0x0,_0x5b6df2=0x2):_0x95c34c===_0x2ad67f[_0x55f1c2(0x14e)]?(_0x32db6b[_0x55f1c2(0x11c)](_0x55f1c2(0x193)+_0x556d1d),this[_0x55f1c2(0x1a7)]=!0x0,_0x5b6df2=0x1):_0x95c34c===_0x2ad67f['matchToken'][_0x55f1c2(0x1c0)]?_0x5b6df2=0x8:_0x2ad67f[_0x55f1c2(0x1c1)][_0x55f1c2(0x1ab)](_0x95c34c)?_0x5b6df2=0x7:_0x95c34c===_0x2ad67f[_0x55f1c2(0x120)]['MINUS']?(this[_0x55f1c2(0xfb)](_0x58a7b4)&&(_0x5b6df2=0x9),_0x32db6b[_0x55f1c2(0x11c)](_0x123fd8)):(_0x32db6b[_0x55f1c2(0x11c)](_0x123fd8),_0x5b6df2=0xa),_0x28009d?(_0x5b6df2!==0x2&&_0x5b6df2!==0x1&&(_0x5b6df2=0x6),_0x32db6b['push']('(')):_0x5b6df2===0x9&&_0x32db6b['push']('(');const _0x23f460=_0x58a7b4['getChildren'](),_0x44fbdd=_0x23f460[_0x55f1c2(0x133)];if(_0x5b6df2===0x2){const _0x19489a=_0x23f460[0x0];let _0x3402b=0x0;_0x19489a instanceof _0x2ad67f[_0x55f1c2(0x13a)]&&_0x19489a[_0x55f1c2(0xee)]()===_0x2ad67f[_0x55f1c2(0x192)]&&(_0x3402b=0x1);for(let _0x32dd6b=_0x3402b;_0x32dd6b<_0x44fbdd-0x1;_0x32dd6b++){const _0x2d4350=_0x23f460[_0x32dd6b];if(_0x2d4350 instanceof _0x2ad67f[_0x55f1c2(0x13a)]){const _0x3feb0d=_0x2d4350[_0x55f1c2(0x1c4)]()[0x0];typeof _0x3feb0d==_0x55f1c2(0x163)&&(this['_lambdaFunctionParameterSet']['has'](_0x3feb0d)&&console[_0x55f1c2(0x18b)](_0x55f1c2(0x15a)+_0x3feb0d+_0x55f1c2(0x119)),this[_0x55f1c2(0x182)][_0x55f1c2(0xff)](_0x3feb0d),_0x32db6b[_0x55f1c2(0x11c)](_0x55f1c2(0x169)+_0x3feb0d),this['_hasNewExcelFunction']=!0x0);}_0x32db6b[_0x55f1c2(0x11c)](',');}this[_0x55f1c2(0x13b)](_0x23f460[_0x44fbdd-0x1],_0x32db6b,_0x5885db),_0x3402b===0x1&&(_0x32db6b[_0x55f1c2(0x11c)](')'),_0x32db6b[_0x55f1c2(0x11c)]('('),this[_0x55f1c2(0x159)](_0x19489a,_0x32db6b,_0x5885db)),_0x32db6b[_0x55f1c2(0x11c)](')');return;}else{if(_0x5b6df2===0x1){for(let _0x555eb7=0x0;_0x555eb7<_0x44fbdd-0x1;_0x555eb7++){const _0x11da1d=_0x23f460[_0x555eb7];if(_0x11da1d instanceof _0x2ad67f['LexerNode']&&_0x555eb7%0x2===0x0){const _0x2e8920=_0x11da1d[_0x55f1c2(0x1c4)]()[0x0];if(typeof _0x2e8920=='string'){this[_0x55f1c2(0x182)][_0x55f1c2(0x1ab)](_0x2e8920)&&console[_0x55f1c2(0x18b)]('Let\x20variable\x20name\x20\x22'+_0x2e8920+'\x22\x20is\x20duplicated.'),this[_0x55f1c2(0x182)][_0x55f1c2(0xff)](_0x2e8920),_0x32db6b[_0x55f1c2(0x11c)](_0x55f1c2(0x169)+_0x2e8920),this[_0x55f1c2(0x1a7)]=!0x0,_0x32db6b[_0x55f1c2(0x11c)](',');continue;}}if(this[_0x55f1c2(0x13b)](_0x11da1d,_0x32db6b,_0x5885db),_0x11da1d instanceof _0x2ad67f[_0x55f1c2(0x13a)]){const _0x31c816=_0x23f460[_0x555eb7+0x1];_0x31c816&&_0x31c816 instanceof _0x2ad67f[_0x55f1c2(0x13a)]&&_0x32db6b[_0x55f1c2(0x11c)](',');}}this['_handleNewFunctionChild'](_0x23f460[_0x44fbdd-0x1],_0x32db6b,_0x5885db),_0x32db6b[_0x55f1c2(0x11c)](')');return;}else{if(_0x5b6df2===0x8){const _0x2c5ca0=_0x23f460[0x0],_0x44a3eb=_0x23f460[0x1];this['_handleNewFunctionChild'](_0x2c5ca0,_0x32db6b,_0x5885db),_0x32db6b[_0x55f1c2(0x11c)](_0x123fd8),this[_0x55f1c2(0x13b)](_0x44a3eb,_0x32db6b,_0x5885db);return;}}}for(let _0x2a962d=0x0;_0x2a962d<_0x44fbdd;_0x2a962d++){const _0x4b78dd=_0x23f460[_0x2a962d];if(this[_0x55f1c2(0x13b)](_0x4b78dd,_0x32db6b,_0x5885db),_0x4b78dd instanceof _0x2ad67f[_0x55f1c2(0x13a)]){const _0x404bba=_0x23f460[_0x2a962d+0x1];_0x404bba&&_0x404bba instanceof _0x2ad67f[_0x55f1c2(0x13a)]&&_0x32db6b[_0x55f1c2(0x11c)](',');}}_0x5b6df2===0x7&&_0x32db6b['push'](_0x123fd8),(_0x28009d||_0x5b6df2===0x9)&&_0x32db6b[_0x55f1c2(0x11c)](')');}[_0x360d08(0x13b)](_0x5dc872,_0x2629d4,_0xc8c778){const _0x5bb68c=_0x360d08;_0x5dc872 instanceof _0x2ad67f['LexerNode']?this['_generateNewFunctionString'](_0x5dc872,_0x2629d4,_0xc8c778):this[_0x5bb68c(0x182)]['has'](_0x5dc872)?(_0x2629d4[_0x5bb68c(0x11c)](_0x5bb68c(0x169)+_0x5dc872),this[_0x5bb68c(0x1a7)]=!0x0):_0x2629d4[_0x5bb68c(0x11c)](_0x5dc872);}[_0x360d08(0xfe)](_0x1f21d2){const _0x2285ba=_0x360d08;let _0x3e4c36=_0x1f21d2[_0x2285ba(0x103)]();if(!_0x3e4c36)return _0x3e4c36;const _0x18d302=_0x3e4c36[0x0];if((_0x18d302===_0x2ad67f['prefixToken']['AT']||_0x18d302===_0x2ad67f[_0x2285ba(0x120)][_0x2285ba(0x14b)]||_0x18d302===_0x2ad67f[_0x2285ba(0x120)][_0x2285ba(0x162)])&&(_0x3e4c36=_0x3e4c36[_0x2285ba(0x12c)](0x1)),!_0x3e4c36)return _0x3e4c36;const _0x4889ec=_0x3e4c36[_0x3e4c36[_0x2285ba(0x133)]-0x1];return _0x2ad67f[_0x2285ba(0x1c1)]['has'](_0x4889ec)&&(_0x3e4c36=_0x3e4c36['slice'](0x0,-0x1)),_0x3e4c36;}['_checkAddBracketForMinus'](_0x18d9c4){const _0x2505fc=_0x360d08,_0x2e2a64=_0x18d9c4[_0x2505fc(0x1c4)]()[0x0];if(!_0x2e2a64||!(_0x2e2a64 instanceof _0x2ad67f[_0x2505fc(0x13a)])||_0x18d9c4[_0x2505fc(0x1c4)]()['length']>0x1)return!0x1;const _0x2da103=_0x2e2a64[_0x2505fc(0x1c4)](),_0x596684=_0x2da103[_0x2505fc(0x133)];if(_0x596684===0x1)return!0x1;for(let _0x5db434=0x0;_0x5db434<_0x596684;_0x5db434++){const _0x5d4219=_0x2da103[_0x5db434];if(!(_0x5d4219 instanceof _0x2ad67f[_0x2505fc(0x13a)])&&_0x2ad67f[_0x2505fc(0x102)]['has'](_0x5d4219))return!0x0;}return!0x1;}}class _0x4fe5ba extends _0x2ad67f[_0x360d08(0x113)]{async['_apply'](_0x3cbcfd=!0x1){const _0x4a7a8c=_0x360d08;_0x3cbcfd?this[_0x4a7a8c(0x139)][_0x4a7a8c(0x19d)](_0x2ad67f[_0x4a7a8c(0x1a5)][_0x4a7a8c(0xf9)]):this['_runtimeService']['setFormulaExecuteStage'](_0x2ad67f[_0x4a7a8c(0x1a5)][_0x4a7a8c(0x185)]),this[_0x4a7a8c(0x1bd)][_0x4a7a8c(0x155)](this['_runtimeService'][_0x4a7a8c(0x1ae)]());const _0x38689d=await this[_0x4a7a8c(0x1c6)][_0x4a7a8c(0x181)](),_0x45097e=this[_0x4a7a8c(0x18c)];_0x3cbcfd?(this[_0x4a7a8c(0x139)]['setFormulaExecuteStage'](_0x2ad67f[_0x4a7a8c(0x1a5)][_0x4a7a8c(0x1a1)]),this[_0x4a7a8c(0x139)]['setTotalArrayFormulasToCalculate'](_0x38689d['length'])):(this['_runtimeService'][_0x4a7a8c(0x19d)](_0x2ad67f[_0x4a7a8c(0x1a5)]['START_CALCULATION']),this['_runtimeService'][_0x4a7a8c(0x17b)](_0x38689d[_0x4a7a8c(0x133)])),this['_executionInProgressListener$'][_0x4a7a8c(0x155)](this[_0x4a7a8c(0x139)][_0x4a7a8c(0x1ae)]());let _0x319540=[];const _0x51b1b4=this['_configService'][_0x4a7a8c(0x125)](_0x2ad67f[_0x4a7a8c(0x136)]),_0x42ab8f=(_0x51b1b4==null?void 0x0:_0x51b1b4[_0x4a7a8c(0x11e)])||_0x2ad67f[_0x4a7a8c(0x1b7)];let _0x268c56=0x0;const _0x45e129=_0x38689d[_0x4a7a8c(0x133)];for(;_0x38689d[_0x4a7a8c(0x133)]>0x0;){const _0x4d0ac5=_0x38689d['pop'](),_0x5e8442=_0x2ad67f[_0x4a7a8c(0x13d)](_0x4d0ac5[_0x4a7a8c(0x19f)],_0x4d0ac5[_0x4a7a8c(0x13f)],this[_0x4a7a8c(0x15c)],this[_0x4a7a8c(0x1bc)],this[_0x4a7a8c(0x100)]),_0xac04e9={'node':_0x5e8442,'refOffsetX':_0x4d0ac5[_0x4a7a8c(0x105)],'refOffsetY':_0x4d0ac5[_0x4a7a8c(0xf5)]},_0x48f466=_0x4d0ac5[_0x4a7a8c(0x1a3)];if(_0x268c56%_0x42ab8f===0x0&&(await new Promise(_0x5cfacc=>{const _0x2ede48=_0x4a7a8c,_0x3d501c=_0x422931[_0x2ede48(0x178)](_0x5cfacc);_0x319540[_0x2ede48(0x11c)](_0x3d501c);}),_0x3cbcfd?(this['_runtimeService']['setFormulaExecuteStage'](_0x2ad67f[_0x4a7a8c(0x1a5)][_0x4a7a8c(0x127)]),this[_0x4a7a8c(0x139)][_0x4a7a8c(0x104)](_0x268c56+0x1)):(this[_0x4a7a8c(0x139)][_0x4a7a8c(0x19d)](_0x2ad67f[_0x4a7a8c(0x1a5)]['CURRENTLY_CALCULATING']),this[_0x4a7a8c(0x139)][_0x4a7a8c(0x1b8)](_0x268c56+0x1)),this[_0x4a7a8c(0x1bd)][_0x4a7a8c(0x155)](this[_0x4a7a8c(0x139)][_0x4a7a8c(0x1ae)]()),this['_runtimeService'][_0x4a7a8c(0x144)]()||_0xac04e9==null&&_0x48f466==null)){this['_runtimeService'][_0x4a7a8c(0x19d)](_0x2ad67f['FormulaExecuteStageType'][_0x4a7a8c(0xf4)]),this[_0x4a7a8c(0x139)][_0x4a7a8c(0x18d)](),this[_0x4a7a8c(0x12f)]['next'](this[_0x4a7a8c(0x139)][_0x4a7a8c(0x16e)]());return;}this['_runtimeService'][_0x4a7a8c(0x180)](_0x4d0ac5[_0x4a7a8c(0x153)],_0x4d0ac5[_0x4a7a8c(0x11f)],_0x4d0ac5[_0x4a7a8c(0x130)],_0x4d0ac5[_0x4a7a8c(0x1b9)],_0x4d0ac5[_0x4a7a8c(0x10d)],_0x4d0ac5[_0x4a7a8c(0x19f)]);let _0x18a209;if(_0x48f466!=null&&_0x4d0ac5[_0x4a7a8c(0x11b)]!=null){const {runtimeCellData:_0x1d976b,dirtyRanges:_0x4b47bf}=_0x48f466(this[_0x4a7a8c(0x100)][_0x4a7a8c(0x1a3)](),this[_0x4a7a8c(0x139)][_0x4a7a8c(0x16e)]());this[_0x4a7a8c(0x139)][_0x4a7a8c(0xe5)](_0x4d0ac5[_0x4a7a8c(0x11b)],_0x1d976b),this[_0x4a7a8c(0x139)]['setRuntimeFeatureRange'](_0x4d0ac5['featureId'],_0x4b47bf);}else _0xac04e9!=null&&(_0x45097e[_0x4a7a8c(0xf7)](_0xac04e9[_0x4a7a8c(0x1bb)])?_0x18a209=await _0x45097e['executeAsync'](_0xac04e9):_0x18a209=_0x45097e['execute'](_0xac04e9),_0x4d0ac5['formulaId']!=null?this['_runtimeService'][_0x4a7a8c(0x19b)](_0x4d0ac5['formulaId'],_0x4d0ac5['refOffsetX'],_0x4d0ac5[_0x4a7a8c(0xf5)],_0x18a209):this[_0x4a7a8c(0x139)][_0x4a7a8c(0xf3)](_0x18a209));_0x5e8442[_0x4a7a8c(0x187)](),_0x268c56++;}return _0x319540[_0x4a7a8c(0x114)](_0x547364=>_0x547364()),_0x319540=[],_0x45e129>0x0?this['_runtimeService']['markedAsSuccessfullyExecuted']():_0x3cbcfd||this[_0x4a7a8c(0x139)][_0x4a7a8c(0x16d)](),this[_0x4a7a8c(0x139)][_0x4a7a8c(0x16e)]();}}class _0x1523e7 extends _0x2ad67f['DependencyManagerBaseService']{constructor(){const _0x358952=_0x360d08;super(...arguments),_0x53518e(this,_0x358952(0x189),new Map()),_0x53518e(this,_0x358952(0x186),new _0x422931['RTree'](!0x0));}[_0x360d08(0x19c)](){const _0x4a6ddc=_0x360d08;this[_0x4a6ddc(0x157)][_0x4a6ddc(0x13e)](),this[_0x4a6ddc(0x15f)]['clear'](),this[_0x4a6ddc(0x149)][_0x4a6ddc(0x13e)](),this['_dependencyRTreeCache'][_0x4a6ddc(0x13e)](),this[_0x4a6ddc(0x189)][_0x4a6ddc(0x13e)](),this[_0x4a6ddc(0x129)](),this[_0x4a6ddc(0x1c5)][_0x4a6ddc(0x13e)]();}[_0x360d08(0x183)](_0x1d7351,_0x586a54,_0x5d6c88,_0x12f598){const _0x1a58bf=_0x360d08;this[_0x1a58bf(0x157)][_0x1a58bf(0x1ab)](_0x1d7351)||this[_0x1a58bf(0x157)][_0x1a58bf(0x18a)](_0x1d7351,new Map());const _0x46bd57=this[_0x1a58bf(0x157)][_0x1a58bf(0x173)](_0x1d7351);_0x46bd57[_0x1a58bf(0x1ab)](_0x586a54)||_0x46bd57[_0x1a58bf(0x18a)](_0x586a54,new Map());const _0x79c8bd=_0x46bd57['get'](_0x586a54);_0x79c8bd[_0x1a58bf(0x1ab)](_0x5d6c88)||_0x79c8bd[_0x1a58bf(0x18a)](_0x5d6c88,new _0x422931[(_0x1a58bf(0x1c3))]()),_0x79c8bd[_0x1a58bf(0x173)](_0x5d6c88)[_0x1a58bf(0xfc)](_0x12f598[_0x1a58bf(0x105)],_0x12f598[_0x1a58bf(0xf5)],_0x12f598[_0x1a58bf(0x121)]);}[_0x360d08(0xe8)](_0x200b8b,_0x1610f2,_0x13095f){const _0x4c22b2=_0x360d08,_0x4ff468=this[_0x4c22b2(0x157)][_0x4c22b2(0x173)](_0x200b8b);if(_0x4ff468&&_0x4ff468[_0x4c22b2(0x1ab)](_0x1610f2)){const _0x5702a0=_0x4ff468[_0x4c22b2(0x173)](_0x1610f2);_0x13095f[_0x4c22b2(0x114)](_0x50f247=>{const _0x173e3e=_0x4c22b2,_0x40a35e=_0x5702a0[_0x173e3e(0x173)](_0x50f247);_0x40a35e!=null&&(_0x40a35e[_0x173e3e(0x107)]((_0x19d21f,_0x49bcd3,_0x12077e)=>{const _0x4a4044=_0x173e3e;this['_removeDependencyRTreeCache'](_0x12077e),this[_0x4a4044(0x171)](_0x12077e);}),_0x5702a0['delete'](_0x50f247),this[_0x173e3e(0x1c5)][_0x173e3e(0xf0)](_0x50f247));}),_0x5702a0[_0x4c22b2(0x1b0)]===0x0&&_0x4ff468[_0x4c22b2(0xf0)](_0x1610f2),_0x4ff468['size']===0x0&&this['_otherFormulaData'][_0x4c22b2(0xf0)](_0x200b8b);}}[_0x360d08(0x1cc)](_0x12ed65,_0x279b6d){const _0x397e24=_0x360d08,_0x671c15=this[_0x397e24(0x157)][_0x397e24(0x173)](_0x12ed65);if(_0x279b6d&&_0x671c15&&_0x671c15['has'](_0x279b6d)){const _0x590ddd=_0x671c15[_0x397e24(0x173)](_0x279b6d);this['_removeDependencyRTreeCacheById'](_0x12ed65,_0x279b6d);for(const _0x57ac65 of _0x590ddd['keys']()){const _0x4ff3bc=_0x590ddd[_0x397e24(0x173)](_0x57ac65);_0x4ff3bc!=null&&(_0x4ff3bc[_0x397e24(0x107)]((_0x239608,_0x45d4ce,_0x52a187)=>{const _0x1ee3d0=_0x397e24;this[_0x1ee3d0(0x189)][_0x1ee3d0(0x173)](_0x52a187)&&this[_0x1ee3d0(0x171)](_0x52a187);}),this[_0x397e24(0x1c5)]['delete'](_0x57ac65));}_0x590ddd[_0x397e24(0x13e)]();}else{if(_0x671c15){for(const _0x2aa8e7 of _0x671c15[_0x397e24(0x131)]()){const _0x53d826=_0x671c15['get'](_0x2aa8e7);this[_0x397e24(0x1a0)](_0x12ed65,_0x2aa8e7);for(const _0x1f450e of _0x53d826['keys']()){const _0x3f6ac8=_0x53d826[_0x397e24(0x173)](_0x1f450e);_0x3f6ac8!=null&&(_0x3f6ac8[_0x397e24(0x107)]((_0x46d474,_0x1f7792,_0x4c8838)=>{const _0x1ade1f=_0x397e24;this[_0x1ade1f(0x189)][_0x1ade1f(0x173)](_0x4c8838)&&this['_removeAllTreeMap'](_0x4c8838);}),this['_otherFormulaDataMainData']['delete'](_0x1f450e));}}this[_0x397e24(0x157)]['delete'](_0x12ed65);}}}['addFeatureFormulaDependency'](_0x26408c,_0xa81453,_0x210779,_0x199c7a){const _0x200e5c=_0x360d08;this['_featureFormulaData'][_0x200e5c(0x1ab)](_0x26408c)||this[_0x200e5c(0x15f)][_0x200e5c(0x18a)](_0x26408c,new Map());const _0x33dd3b=this[_0x200e5c(0x15f)][_0x200e5c(0x173)](_0x26408c);_0x33dd3b['has'](_0xa81453)||_0x33dd3b['set'](_0xa81453,new Map()),_0x33dd3b[_0x200e5c(0x173)](_0xa81453)[_0x200e5c(0x18a)](_0x210779,_0x199c7a[_0x200e5c(0x121)]);}[_0x360d08(0x177)](_0x5d7668,_0xbbc058,_0x1a4520){const _0x250e66=_0x360d08,_0x15a46e=this[_0x250e66(0x15f)]['get'](_0x5d7668);if(_0x15a46e&&_0x15a46e[_0x250e66(0x1ab)](_0xbbc058)){const _0x4098ed=_0x15a46e[_0x250e66(0x173)](_0xbbc058);_0x1a4520[_0x250e66(0x114)](_0x13c1a8=>{const _0x410832=_0x250e66,_0x305e1e=_0x4098ed[_0x410832(0x173)](_0x13c1a8);_0x305e1e!=null&&(this[_0x410832(0x199)](_0x305e1e),_0x4098ed[_0x410832(0xf0)](_0x13c1a8),this['_removeAllTreeMap'](_0x305e1e));});}}['clearFeatureFormulaDependency'](_0x1f3f47,_0x50f477){const _0x279ee1=_0x360d08,_0x1c0ae1=this[_0x279ee1(0x15f)]['get'](_0x1f3f47);if(_0x50f477&&_0x1c0ae1&&_0x1c0ae1[_0x279ee1(0x1ab)](_0x50f477)){const _0x5019aa=_0x1c0ae1[_0x279ee1(0x173)](_0x50f477);this['_removeDependencyRTreeCacheById'](_0x1f3f47,_0x50f477),_0x5019aa[_0x279ee1(0x114)](_0x37c726=>{const _0x369cb8=_0x279ee1;_0x37c726!=null&&this[_0x369cb8(0x171)](_0x37c726);}),_0x5019aa[_0x279ee1(0x13e)]();}else _0x1c0ae1&&(_0x1c0ae1[_0x279ee1(0x114)]((_0x319b26,_0x1b0652)=>{const _0x4be1e3=_0x279ee1;this[_0x4be1e3(0x1a0)](_0x1f3f47,_0x1b0652),_0x319b26[_0x4be1e3(0x114)](_0x1d3c1e=>{const _0x17912f=_0x4be1e3;_0x1d3c1e!=null&&this[_0x17912f(0x171)](_0x1d3c1e);});}),this['_featureFormulaData'][_0x279ee1(0xf0)](_0x1f3f47));}[_0x360d08(0x13c)](_0x93e326,_0xaf880f,_0x2d3344,_0x40a62a,_0x54f3a1){const _0x5afd12=_0x360d08;this['_formulaData'][_0x5afd12(0x1ab)](_0x93e326)||this['_formulaData'][_0x5afd12(0x18a)](_0x93e326,new Map());const _0x3f3f47=this[_0x5afd12(0x149)][_0x5afd12(0x173)](_0x93e326);_0x3f3f47['has'](_0xaf880f)||_0x3f3f47[_0x5afd12(0x18a)](_0xaf880f,new _0x422931[(_0x5afd12(0x1c3))]()),_0x3f3f47[_0x5afd12(0x173)](_0xaf880f)[_0x5afd12(0xfc)](_0x2d3344,_0x40a62a,_0x54f3a1[_0x5afd12(0x121)]);}[_0x360d08(0xf6)](_0xa658d5,_0x418e97,_0xbe9cb7,_0x298a2b){const _0xa7a41b=_0x360d08,_0x2e24c7=this[_0xa7a41b(0x149)][_0xa7a41b(0x173)](_0xa658d5);if(_0x2e24c7&&_0x2e24c7[_0xa7a41b(0x1ab)](_0x418e97)){const _0x212657=_0x2e24c7[_0xa7a41b(0x173)](_0x418e97),_0x43528c=_0x212657['getValue'](_0xbe9cb7,_0x298a2b);if(_0x43528c==null)return;this[_0xa7a41b(0x199)](_0x43528c),_0x212657[_0xa7a41b(0xfd)](_0xbe9cb7,_0x298a2b),this[_0xa7a41b(0x171)](_0x43528c);}}[_0x360d08(0x151)](_0x47f1ae,_0x475cad){const _0x1a2f61=_0x360d08,_0x567798=this[_0x1a2f61(0x149)][_0x1a2f61(0x173)](_0x47f1ae);if(_0x475cad&&_0x567798&&_0x567798['has'](_0x475cad)){const _0x32050c=_0x567798[_0x1a2f61(0x173)](_0x475cad);this[_0x1a2f61(0x1a0)](_0x47f1ae,_0x475cad),_0x32050c[_0x1a2f61(0x107)]((_0x1dfd01,_0x5cd673,_0x18a6dd)=>{if(_0x18a6dd==null)return!0x0;this['_removeAllTreeMap'](_0x18a6dd);}),_0x32050c[_0x1a2f61(0x19c)]();}else _0x567798&&(_0x567798[_0x1a2f61(0x114)]((_0x37f8f3,_0x2b5e48)=>{const _0x2595e2=_0x1a2f61;this[_0x2595e2(0x1a0)](_0x47f1ae,_0x2b5e48),_0x37f8f3['forValue']((_0x2dd3b6,_0x4ce81f,_0x3528ed)=>{const _0x311f46=_0x2595e2;if(_0x3528ed==null)return!0x0;this[_0x311f46(0x171)](_0x3528ed);});}),this[_0x1a2f61(0x149)][_0x1a2f61(0xf0)](_0x47f1ae));}['_removeDependencyRTreeCache'](_0x263db7){const _0x2ed979=_0x360d08;if(_0x263db7==null)return;const _0x1a8c32=this['_allTreeMap'][_0x2ed979(0x173)](_0x263db7);if(_0x1a8c32){const _0x264dd0=[];for(const [_0x5d099a,_0x43e526]of _0x1a8c32)for(const [_0x43a5da,_0x44cfcb]of _0x43e526)_0x264dd0[_0x2ed979(0x11c)]({'unitId':_0x5d099a,'sheetId':_0x43a5da,'range':_0x44cfcb,'id':_0x263db7});this[_0x2ed979(0x186)][_0x2ed979(0xec)](_0x264dd0);}}[_0x360d08(0x1c2)](_0x1d3b0c,_0x4c053e){const _0x279bd3=_0x360d08,_0xefe26b=this['_definedNameMap'][_0x279bd3(0x173)](_0x1d3b0c);if(_0xefe26b){const _0x3b69cf=_0xefe26b[_0x279bd3(0x173)](_0x4c053e);if(_0x3b69cf){for(const _0x4f6c3d of _0x3b69cf)this['_removeDependencyRTreeCache'](_0x4f6c3d),this[_0x279bd3(0x171)](_0x4f6c3d);_0x3b69cf['clear']();}}}[_0x360d08(0x1cb)](){const _0x2385d0=_0x360d08;this[_0x2385d0(0x186)][_0x2385d0(0x1cb)]();}[_0x360d08(0x1ac)](){const _0x5b1b2a=_0x360d08;this[_0x5b1b2a(0x186)][_0x5b1b2a(0x1ac)]();}[_0x360d08(0x171)](_0x1987df){const _0x3011ce=_0x360d08;_0x1987df!=null&&this[_0x3011ce(0x189)][_0x3011ce(0xf0)](_0x1987df);}[_0x360d08(0x109)](_0x89432d){const _0x5bd89f=_0x360d08;var _0x8ca9d5,_0x32df7a;const _0x38c8c0=_0x89432d[_0x5bd89f(0x15e)];let _0x34fff0=this['_allTreeMap'][_0x5bd89f(0x173)](_0x89432d[_0x5bd89f(0x121)]);for(let _0xf9f618=0x0;_0xf9f618<_0x38c8c0[_0x5bd89f(0x133)];_0xf9f618++){const _0x145225=_0x38c8c0[_0xf9f618];let {unitId:_0x1243e3,sheetId:_0x577e34,range:_0x23096c}=_0x145225;_0x34fff0||(_0x34fff0=new Map(),this[_0x5bd89f(0x189)]['set'](_0x89432d[_0x5bd89f(0x121)],_0x34fff0)),_0x34fff0[_0x5bd89f(0x1ab)](_0x1243e3)||_0x34fff0[_0x5bd89f(0x18a)](_0x1243e3,new Map());const _0x31df9c=(_0x8ca9d5=_0x34fff0==null?void 0x0:_0x34fff0[_0x5bd89f(0x173)](_0x1243e3))==null?void 0x0:_0x8ca9d5['get'](_0x577e34);_0x31df9c&&(_0x23096c={'startRow':Math[_0x5bd89f(0x140)](_0x23096c['startRow'],_0x31df9c[_0x5bd89f(0x175)]),'startColumn':Math[_0x5bd89f(0x140)](_0x23096c[_0x5bd89f(0x112)],_0x31df9c[_0x5bd89f(0x112)]),'endRow':Math[_0x5bd89f(0x117)](_0x23096c[_0x5bd89f(0x145)],_0x31df9c[_0x5bd89f(0x145)]),'endColumn':Math[_0x5bd89f(0x117)](_0x23096c[_0x5bd89f(0x184)],_0x31df9c[_0x5bd89f(0x184)])}),(_0x32df7a=_0x34fff0[_0x5bd89f(0x173)](_0x1243e3))==null||_0x32df7a[_0x5bd89f(0x18a)](_0x577e34,_0x23096c);}}}var _0x1653c0=Object[_0x360d08(0x170)],_0x7563e3=(_0x263c86,_0x3d9f06,_0x203bcd,_0xf8d9fd)=>{const _0xef113=_0x360d08;for(var _0x133019=_0xf8d9fd>0x1?void 0x0:_0xf8d9fd?_0x1653c0(_0x3d9f06,_0x203bcd):_0x3d9f06,_0xada2bb=_0x263c86[_0xef113(0x133)]-0x1,_0x1032af;_0xada2bb>=0x0;_0xada2bb--)(_0x1032af=_0x263c86[_0xada2bb])&&(_0x133019=_0x1032af(_0x133019)||_0x133019);return _0x133019;};const _0x54d420=Number[_0x360d08(0x1af)](0x6933d6d1);_0x3ccb8f['UniverProFormulaEnginePlugin']=class extends _0x2ad67f[_0x360d08(0x1ad)]{['_initializeWithOverride'](){const _0xd3c7f=_0x360d08;var _0x5b7968,_0x2ea0cc;this[_0xd3c7f(0x11a)]()?(this[_0xd3c7f(0x101)][_0xd3c7f(0xff)]([_0x2ad67f['LexerTreeBuilder'],{'useClass':_0x47ef93}]),(_0x5b7968=this['_config'])!=null&&_0x5b7968[_0xd3c7f(0x128)]||[[_0x2ad67f[_0xd3c7f(0xe4)],{'useClass':_0x4fe5ba}],[_0x2ad67f[_0xd3c7f(0x1ba)],{'useClass':_0x1523e7}],[_0x2ad67f[_0xd3c7f(0x1a8)],{'useClass':_0x9e4100}]][_0xd3c7f(0x114)](_0x5e6536=>this[_0xd3c7f(0x101)][_0xd3c7f(0xff)](_0x5e6536))):(this[_0xd3c7f(0x101)][_0xd3c7f(0xff)]([_0x2ad67f[_0xd3c7f(0xe7)],{'useClass':_0x2ad67f[_0xd3c7f(0xe7)]}]),(_0x2ea0cc=this[_0xd3c7f(0x14d)])!=null&&_0x2ea0cc[_0xd3c7f(0x128)]||[[_0x2ad67f[_0xd3c7f(0xe4)],{'useClass':_0x2ad67f['CalculateFormulaService']}],[_0x2ad67f[_0xd3c7f(0x1ba)],{'useClass':_0x2ad67f[_0xd3c7f(0x160)]}],[_0x2ad67f[_0xd3c7f(0x1a8)],{'useClass':_0x2ad67f[_0xd3c7f(0x134)]}]][_0xd3c7f(0x114)](_0x1a79db=>this['_injector'][_0xd3c7f(0xff)](_0x1a79db)));}[_0x360d08(0x11a)](){const _0x4e86e4=_0x360d08;var _0x143ab5;const _0x13b3e0=(_0x143ab5=this['_configService'][_0x4e86e4(0x125)](_0x4e41e9[_0x4e86e4(0x176)]))!=null?_0x143ab5:{},{ls:_0x574938,pbk:_0x599b12}=_0x13b3e0;if(!_0x574938||!_0x599b12)return!0x1;const _0x5ca3ab=_0x4e41e9['unshiftString'](_0x1d4452,_0x34a90e),_0x20948c=new Function(_0x4e86e4(0x148)+_0x5ca3ab)()(_0x574938,_0x599b12),_0x550ad7=_0x20948c[_0x4e86e4(0x137)];return _0x20948c[_0x4e86e4(0x12a)]&&_0x4e41e9[_0x4e86e4(0x165)](_0x550ad7,'sf',_0x54d420)?_0x4e41e9[_0x4e86e4(0xef)](_0x550ad7,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x3ccb8f[_0x360d08(0x17e)]=_0x7563e3([_0x422931[_0x360d08(0x17c)](_0x4e41e9['UniverLicensePlugin'])],_0x3ccb8f[_0x360d08(0x17e)]),Object['keys'](_0x2ad67f)[_0x360d08(0x114)](_0x5a94d3=>{const _0x5e7169=_0x360d08;_0x5a94d3!==_0x5e7169(0x1c7)&&!Object['prototype'][_0x5e7169(0x16a)][_0x5e7169(0xed)](_0x3ccb8f,_0x5a94d3)&&Object['defineProperty'](_0x3ccb8f,_0x5a94d3,{'enumerable':!0x0,'get':()=>_0x2ad67f[_0x5a94d3]});}),Object['defineProperty'](_0x3ccb8f,Symbol[_0x360d08(0x1c9)],{'value':_0x360d08(0x115)});}));function _0x2671(){const _0x40859b=['removeFormulaDependency','checkAsyncNode','getOtherFormulaData','START_DEPENDENCY_ARRAY_FORMULA','FormulaDependencyTreeVirtual','_checkAddBracketForMinus','setValue','realDeleteValue','_clearFunctionString','add','_currentConfigService','_injector','OPERATOR_TOKEN_SET','trim','setCompletedArrayFormulasCount','refOffsetX','278844MMZCmj','forValue','_generateTreeList','_addAllTreeMap','DEFAULT_TOKEN_TYPE_PARAMETER','addFeatureFormulaDependency','isSkip','subUnitId','searchDependency','getNewFormulaWithPrefix','3231HkRHKE','7fNeGFF','startColumn','CalculateFormulaService','forEach','Module','generateRandomDependencyTreeId','max','formulaId','\x22\x20is\x20duplicated.','_initLicenseValid','featureId','push','symbol','intervalCount','column','prefixToken','treeId','3nMTxuO','pop','_getFirstCellOfRange','getConfig','DEFAULT_TOKEN_TYPE_ROOT','CURRENTLY_CALCULATING_ARRAY_FORMULA','notExecuteFormula','_restDependencyTreeId','valid','addOtherFormulaDependencyMainData','slice','_updateRangeFlatten','enableCycleDependency','_executionCompleteListener$','rowCount','keys','getOtherFormulaDependency','length','FormulaDependencyGenerator','isCache','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','message','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_runtimeService','LexerNode','_handleNewFunctionChild','addFormulaDependency','generateAstNode','clear','formula','min','addFormulaDependencyByDefinedName','UniverProEngineFormula','getValue','isStopExecution','endRow','getFormulaData','resolve','return\x20','_formulaData','8162046oklBas','MINUS','getFeatureFormulaDependency','_config','DEFAULT_TOKEN_LET_FUNCTION_NAME','_createFDtree','type','clearFormulaDependency','28150YnqxaU','row','3797300VNxWTf','next','@univerjs-pro/license','_otherFormulaData','_checkIsCycleDependency','_generateNewFunctionString','Lambda\x20parameter\x20name\x20\x22','isForceCalculate','_lexer','_isCyclicUtilMap','rangeList','_featureFormulaData','DependencyManagerService','getFormulaDependency','PLUS','string','dependencySheetName','isFeatureAuthorizedWithinTime','getExcludedRange','_getFeatureFormulaTree','_dependencyRTreeCacheForAddressFunction','_xlpm.','hasOwnProperty','join','_dependencyTreeCache','markedAsNoFunctionsExecuted','getAllRuntimeData','_convertDirtyRangesToUnitRange','getOwnPropertyDescriptor','_removeAllTreeMap','_otherFormulaManagerService','get','_getUpdateTreeListAndMakeDependency','startRow','LS_CONFIG_KEY','removeFeatureFormulaDependency','requestImmediateMacroTask','toRTreeItem','14BRabCy','setTotalFormulasToCalculate','DependentOn','22690694lCHNZm','UniverProFormulaEnginePlugin','getDirtyNameMap','setCurrent','generate','_lambdaFunctionParameterSet','addOtherFormulaDependency','endColumn','START_DEPENDENCY','_dependencyRTreeCache','resetCalculationState','ErrorType','_allTreeMap','set','error','_interpreter','markedAsStopFunctionsExecuted','_getTreeNode','OTHER_FORMULA','_calculateRunList','isAdded','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_xlfn.','TKSrFwAS\x20Q6rL4bFwAS(Mwr6SN6,\x20bKVMwr164)\x20{\x20\x20\x20\x20FL4\x20{\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20Mwr6SN6BSTAIRLFeLLR4\x20=\x20Mwr6SN6.NbMwF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20ALwpwSY6NNRp6\x20=\x20kCcm.bRLN6(RFAV(Mwr6SN6BSTAIRLFeLLR4[X]));\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!ALwpwSY6NNRp6.KQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ALwpwSY6NNRp6.KQ\x20=\x20mKaV6L(Mwr6SN6BSTAIRLFeLLR4[W]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNEALJ6L\x20=\x20F4b6AT\x20EALJ6LjMAVRMCrAb6\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20N6MT\x20wSNFRSr6AT\x20EALJ6LjMAVRMCrAb6;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNiLAUN6L\x20=\x20F4b6AT\x20UwSQAU\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20F4b6AT\x20UwSQAU.MArRFwAS\x20!==\x20\x27KSQ6TwS6Q\x27;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20rASF6nF\x20=\x20wNEALJ6L\x20?\x20N6MT\x20:\x20(wNiLAUN6L\x20?\x20UwSQAU\x20:\x20pMAVRMx2wN);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[X]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(a6NNRp6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[o]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(NwpSRFKL6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSqRMwQ\x20=\x20rASF6nF.__u6LwT4__(NwpSRFKL6,\x20a6NNRp6,\x20bKVMwr164);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20QAaRwS\x20=\x20ALwpwSY6NNRp6.Qa;\x20\x20\x20\x20\x20\x20\x20\x20TKSrFwAS\x20wNOAaRwSYRFr2wSp(AIRFF6LS,\x20A0ANF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LS\x20=\x20AIRFF6LS.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANF\x20=\x20A0ANF.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSIRLFN\x20=\x20bRFF6LS.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFIRLFN\x20=\x202ANF.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!bRFF6LS.wSrMKQ6N(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LS\x20===\x202ANF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(bRFF6LSIRLFN.M6SpF2\x20<\x20X\x20||\x20bRFF6LSIRLFN[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSCKTTwn\x20=\x20bRFF6LSIRLFN.NMwr6(H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFCKTTwn\x20=\x202ANFIRLFN.NMwr6(-bRFF6LSIRLFN.M6SpF2\x20+\x20H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LSCKTTwn\x20===\x202ANFCKTTwn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20M6F\x20QAaRwSqRMwQ\x20=\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(wNiLAUN6L)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20(QAaRwS\x20&&\x20QAaRwS.M6SpF2)\x20?\x20QAaRwS.NAa6((QaBF6a)\x20=>\x20wNOAaRwSYRFr2wSp(QaBF6a,\x20MArRFwAS.2ANFSRa6))\x20:\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(MArRFwAS.2ANFSRa6\x20===\x20\x27MArRM2ANF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x206MN6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20uRMwQ\x20=\x20NwpSqRMwQ\x20&&\x20QAaRwSqRMwQ;\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20ALwpwSY6NNRp6,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20rRFr2\x20(6LLAL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ:\x20TRMN6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','clearFeatureFormulaDependency','toUpperCase','clearArrayObjectCache','_traverse','_removeDependencyRTreeCache','defineProperty','setRuntimeOtherData','reset','setFormulaExecuteStage','NEW_EXCEL_FUNCTIONS','unitId','_removeDependencyRTreeCacheById','START_CALCULATION_ARRAY_FORMULA','_registerOtherFormulas','getDirtyData','914038lyXKtx','FormulaExecuteStageType','_createVirtualFDtree','_hasNewExcelFunction','IFormulaDependencyGenerator','hasOtherFormulaDataMainData','_dependencyManagerService','has','closeKdTree','UniverFormulaEnginePlugin','getRuntimeState','parseInt','size','setAdded','44XUEnpd','bulkSearch','2ADnTHh','_getTreeById','isExcludeRange','DEFAULT_INTERVAL_COUNT','setCompletedFormulasCount','columnCount','IDependencyManagerService','node','_astTreeBuilder','_executionInProgressListener$','getClearDependencyTreeCache','ParentDependencyTree\x20object\x20is\x20null','COLON','SUFFIX_TOKEN_SET','removeFormulaDependencyByDefinedName','ObjectMatrix','getChildren','_otherFormulaDataMainData','_formulaDependencyGenerator','default','getDirtyRanges','toStringTag','function','openKdTree','clearOtherFormulaDependency','exports','@univerjs/core','ICalculateFormulaService','setRuntimeFeatureCellData','5loPpjc','LexerTreeBuilder','removeOtherFormulaDependency','dispose','getUnitData','featureDirtyRanges','bulkRemove','call','getToken','getSheetFeatureLimit','delete','setSkip','10560248EEPXEU','setRuntimeData','IDLE','refOffsetY'];_0x2671=function(){return _0x40859b;};return _0x2671();}
1
+ function _0x2054(_0x4ece51,_0x58d49f){_0x4ece51=_0x4ece51-0x1d0;const _0xbdb58a=_0xbdb5();let _0x205464=_0xbdb58a[_0x4ece51];return _0x205464;}function _0xbdb5(){const _0x36ce18=['_dependencyTreeCache','clearFeatureFormulaDependency','_injector','4477167tPcwAu','Lambda\x20parameter\x20name\x20\x22','ObjectMatrix','add','ParentDependencyTree\x20object\x20is\x20null','clear','_removeDependencyRTreeCacheById','reset','_initLicenseValid','endsWith','_dependencyRTreeCache','UniverCore','_currentConfigService','default','FormulaDependencyGenerator','_checkIsCycleDependency','searchDependency','defineProperty','_featureFormulaData','DependentOn','generateAstNode','_createFDtree','length','_lexer','setAdded','2928IiAAWN','addFormulaDependencyByDefinedName','_getTreeById','get','removeFormulaDependencyByDefinedName','setSkip','openKdTree','_lambdaFunctionParameterSet','slice','SUFFIX_TOKEN_SET','_getFeatureFormulaTree','_calculateRunList','DEFAULT_INTERVAL_COUNT','_runtimeService','_otherFormulaManagerService','type','isAdded','setRuntimeFeatureCellData','notExecuteFormula','_initializeWithOverride','range','max','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','closeKdTree','@univerjs/core','_resetPrefix','IDLE','requestImmediateMacroTask','function','call','columnCount','isDirty','matchToken','_getUpdateTreeListAndMakeDependency','clearOtherFormulaDependency','column','delete','FormulaExecuteStageType','_definedNameMap','_formulaDependencyTreeModel','371007gSxPTC','_xlfnPrefix','_otherFormulaDataMainData','_isCyclicUtilMap','_getDependencyTreeChildrenIds','setRuntimeFeatureRange','isFeatureAuthorizedWithinTime','isForceCalculate','endRow','getFormulaDependency','getOwnPropertyDescriptor','prefixToken','_executionCompleteListener$','START_CALCULATION','checkAsyncNode','24LswSWb','2106284DGchhd','_handleNewFunctionChild','FormulaDependencyTree','getOtherFormulaDependency','RTree','featureId','featureDirtyRanges','endColumn','values','MINUS','_initializeGenerateTreeList','_otherFormulaData','inRangeData','exports','push','getChildren','forEach','execute','node','_getAllDependencyJson','pop','_interpreter','_isCalculateTreeModel','_startFormulaDependencyTreeModel','_hasNewExcelFunction','592692QrHRst','prototype','bulkRemove','254542JBedVV','ICalculateFormulaService','_getAllTreeList','addOtherFormulaDependencyMainData','getFormulaExprTree','startsWith','_formulaDependencyGenerator','setTotalFormulasToCalculate','OTHER_FORMULA','_dependencyManagerService','_createVirtualFDtree','COLON','setDependencyTreeModelData','formula','\x22\x20is\x20duplicated.','qW4DciF4\x20QJDjOdciF4(wiDJ4eJ,\x20dW5wiDCJO)\x20{\x20\x20\x20\x20cjO\x20{\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20wiDJ4eJM4qFkIjcujjIO\x20=\x20wiDJ4eJ.edwic(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20Fjipi4oJeeIpJ\x20=\x20lR1v.dIjeJ(IcF5(wiDJ4eJM4qFkIjcujjIO[r]));\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!Fjipi4oJeeIpJ.WQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fjipi4oJeeIpJ.WQ\x20=\x20vWP5Jj(wiDJ4eJM4qFkIjcujjIO[t]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iezFjSJj\x20=\x20cOdJFq\x20zFjSJjVwF5IwRDFdJ\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20eJwq\x20i4ecI4DJFq\x20zFjSJjVwF5IwRDFdJ;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iegjFYeJj\x20=\x20cOdJFq\x20Yi4QFY\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20cOdJFq\x20Yi4QFY.wFDIciF4\x20!==\x20\x27W4QJqi4JQ\x27;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20DF4cJHc\x20=\x20iezFjSJj\x20?\x20eJwq\x20:\x20(iegjFYeJj\x20?\x20Yi4QFY\x20:\x20pwF5IwB9ie);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[r]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(PJeeIpJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[y]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(eip4IcWjJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4TIwiQ\x20=\x20DF4cJHc.__XJjiqO__(eip4IcWjJ,\x20PJeeIpJ,\x20dW5wiDCJO);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20QFPIi4\x20=\x20Fjipi4oJeeIpJ.QP;\x20\x20\x20\x20\x20\x20\x20\x20qW4DciF4\x20ieLFPIi4oIcD9i4p(FkIccJj4,\x20F2Fec)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4\x20=\x20FkIccJj4.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209Fec\x20=\x20F2Fec.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4kIjce\x20=\x20dIccJj4.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FeckIjce\x20=\x209Fec.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!dIccJj4.i4DwWQJe(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4\x20===\x209Fec;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(dIccJj4kIjce.wJ4pc9\x20<\x20r\x20||\x20dIccJj4kIjce[8]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4RWqqiH\x20=\x20dIccJj4kIjce.ewiDJ(N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FecRWqqiH\x20=\x209FeckIjce.ewiDJ(-dIccJj4kIjce.wJ4pc9\x20+\x20N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4RWqqiH\x20===\x209FecRWqqiH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wJc\x20QFPIi4TIwiQ\x20=\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(iegjFYeJj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20(QFPIi4\x20&&\x20QFPIi4.wJ4pc9)\x20?\x20QFPIi4.eFPJ((QPMcJP)\x20=>\x20ieLFPIi4oIcD9i4p(QPMcJP,\x20wFDIciF4.9Fec4IPJ))\x20:\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(wFDIciF4.9Fec4IPJ\x20===\x20\x27wFDIw9Fec\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JweJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20XIwiQ\x20=\x20eip4TIwiQ\x20&&\x20QFPIi4TIwiQ;\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20Fjipi4oJeeIpJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20DIcD9\x20(JjjFj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ:\x20qIweJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','getDirtyData','min','removeFormulaDependency','_formulaData','getNewFormulaWithPrefix','_xlfn.','_apply','treeId','symbol','_removeAllTreeMap','START_CALCULATION_ARRAY_FORMULA','trim','_convertDirtyRangesToUnitRange','275eNpSxJ','setTotalArrayFormulasToCalculate','_dependencyRTreeCacheForAddressFunction','size','3dGUWqH','UniverLicensePlugin','1090NTcOMV','join','setCompletedArrayFormulasCount','5930550Kzzljg','toRTreeItem','OPERATOR_TOKEN_SET','isSkip','markedAsSuccessfullyExecuted','hasOwnProperty','refOffsetX','valid','LexerTreeBuilder','_configService','DependencyManagerBaseService','parseInt','LexerNode','1KSavFh','generate','getFeatureFormulaDependency','getToken','UniverProLicense','IDependencyManagerService','UniverProFormulaEnginePlugin','CURRENTLY_CALCULATING_ARRAY_FORMULA','_generateExprTree','rangeList','_clearPrefix','_removeDependencyRTreeCache','startColumn','addFormulaDependency','formulaId','isArray','getConfig','_updateRangeFlatten','IFormulaDependencyGenerator','CalculateFormulaService','_getFirstCellOfRange','START_DEPENDENCY_ARRAY_FORMULA','children','isCache','PLUS','next','getRuntimeState','from','_getTableNameFromStructuredRef','setRuntimeData','_getCurNodeTypeForExprTree','getAllRuntimeData','toStringTag','_getTreeNode','enableCycleDependency','clearFormulaDependency','getDirtyRanges','startRow','LexerTreeProBuilder','getExcludedRange','isStopExecution','generateRandomDependencyTreeId','setRuntimeOtherData','NEW_EXCEL_FUNCTIONS','return\x20','START_DEPENDENCY','getDirtyNameMap','_clearFunctionString','_handleLambdaForExprTree','FormulaDependencyTreeVirtual','DEFAULT_TOKEN_TYPE_ROOT','amd','_config','refTree','setValue','setCompletedFormulasCount','splitTableStructuredRef','isVirtual','intervalCount','_handleChildrenForExprTree','subUnitId','row','DEFAULT_TOKEN_TYPE_PARAMETER','_currentUnitId','_generateNewFunctionString','VALUE','treeBuilder','sheetId','forValue','setCurrent','_handleTextNodeForExprTree','toUpperCase','FEATURE_FORMULA','_allTreeMap','DEFAULT_TOKEN_LET_FUNCTION_NAME','bulkSearch','_traverse','unitId','error','string','_checkAddBracketForMinus','dispose','@univerjs-pro/license','getFormulaData','setFormulaExecuteStage','refOffsetY','markedAsStopFunctionsExecuted','_executionInProgressListener$','markedAsNoFunctionsExecuted','CURRENTLY_CALCULATING','isReferenceString','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','_endFormulaDependencyTreeModel','_xlpmPrefix','has','_xlpm.','keys','addOtherFormulaDependency','set','getValue','dependencySheetName','getOtherFormulaData','FormulaDependencyTreeType','getClearDependencyTreeCache','addFeatureFormulaDependency','_generateTreeList'];_0xbdb5=function(){return _0x36ce18;};return _0xbdb5();}(function(_0x372505,_0x95c45b){const _0x5e16d7=_0x2054,_0x219470=_0x372505();while(!![]){try{const _0x15c901=parseInt(_0x5e16d7(0x2c7))/0x1*(-parseInt(_0x5e16d7(0x294))/0x2)+parseInt(_0x5e16d7(0x2b5))/0x3*(parseInt(_0x5e16d7(0x278))/0x4)+-parseInt(_0x5e16d7(0x2b7))/0x5*(parseInt(_0x5e16d7(0x240))/0x6)+parseInt(_0x5e16d7(0x268))/0x7*(parseInt(_0x5e16d7(0x277))/0x8)+parseInt(_0x5e16d7(0x227))/0x9+parseInt(_0x5e16d7(0x2ba))/0xa+parseInt(_0x5e16d7(0x2b1))/0xb*(-parseInt(_0x5e16d7(0x291))/0xc);if(_0x15c901===_0x95c45b)break;else _0x219470['push'](_0x219470['shift']());}catch(_0x3d5576){_0x219470['push'](_0x219470['shift']());}}}(_0xbdb5,0x4b1ce),function(_0x20eff5,_0x4d5d32){const _0x45b838=_0x2054;typeof exports=='object'&&typeof module<'u'?_0x4d5d32(exports,require('@univerjs/engine-formula'),require('@univerjs-pro/license'),require('@univerjs/core')):typeof define==_0x45b838(0x25c)&&define[_0x45b838(0x1ed)]?define([_0x45b838(0x285),'@univerjs/engine-formula',_0x45b838(0x20c),_0x45b838(0x258)],_0x4d5d32):(_0x20eff5=typeof globalThis<'u'?globalThis:_0x20eff5||self,_0x4d5d32(_0x20eff5['UniverProEngineFormula']={},_0x20eff5['UniverEngineFormula'],_0x20eff5[_0x45b838(0x2cb)],_0x20eff5[_0x45b838(0x232)]));}(this,function(_0x17634a,_0x4c60e2,_0x2c592a,_0x1f95f9){'use strict';const _0x67f8f5=_0x2054;var _0x40ca1c=Object[_0x67f8f5(0x238)],_0x4e717d=(_0x4d4f09,_0x4b3727,_0x370bc3)=>_0x4b3727 in _0x4d4f09?_0x40ca1c(_0x4d4f09,_0x4b3727,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370bc3}):_0x4d4f09[_0x4b3727]=_0x370bc3,_0x2b02c8=(_0xf363a0,_0x24578a,_0x584734)=>_0x4e717d(_0xf363a0,typeof _0x24578a!=_0x67f8f5(0x2ac)?_0x24578a+'':_0x24578a,_0x584734);class _0x420ed6 extends _0x4c60e2['LexerTreeBuilder']{constructor(){const _0x3f268e=_0x67f8f5;super(...arguments),_0x2b02c8(this,_0x3f268e(0x290),!0x1),_0x2b02c8(this,_0x3f268e(0x247),new Set()),_0x2b02c8(this,_0x3f268e(0x217),_0x3f268e(0x219)),_0x2b02c8(this,'_xlfnPrefix',_0x3f268e(0x2a9)),_0x2b02c8(this,_0x3f268e(0x1f9),'');}[_0x67f8f5(0x259)](){const _0x3c10b1=_0x67f8f5;this['_xlpmPrefix']=_0x3c10b1(0x219),this[_0x3c10b1(0x269)]=_0x3c10b1(0x2a9);}[_0x67f8f5(0x2d1)](){const _0x3a7116=_0x67f8f5;this['_xlpmPrefix']='',this[_0x3a7116(0x269)]='';}[_0x67f8f5(0x2a8)](_0xf11ea1,_0x51db1e){const _0x529211=_0x67f8f5,_0x2399c5=this[_0x529211(0x1fc)](_0xf11ea1,!0x1);if(!_0x2399c5||_0x2399c5===_0x4c60e2['ErrorType'][_0x529211(0x1fb)]||Array[_0x529211(0x2d6)](_0x2399c5))return null;const _0x2e9018=[];return this[_0x529211(0x290)]=!0x1,this[_0x529211(0x1fa)](_0x2399c5,_0x2e9018,_0x51db1e),this['_hasNewExcelFunction']?'='+_0x2e9018['join'](''):null;}['_generateNewFunctionString'](_0x4049e3,_0x4e58ec,_0x83e4b7){const _0x453155=_0x67f8f5,_0x22c96e=_0x4049e3['getToken'](),_0x2aeaba=_0x22c96e['trim'](),_0x1144bc=_0x2aeaba[_0x453155(0x201)](),_0x3384c0=this['_clearFunctionString'](_0x1144bc),_0x35dc9e=_0x83e4b7(_0x3384c0);let _0x2e01d5=0x0;_0x22c96e===_0x4c60e2[_0x453155(0x1ec)]?_0x2e01d5=0x3:_0x22c96e===_0x4c60e2[_0x453155(0x1f8)]?_0x2e01d5=0x4:_0x22c96e===_0x4c60e2[_0x453155(0x256)]?_0x2e01d5=0x5:_0x4c60e2[_0x453155(0x1e5)][_0x453155(0x218)](_0x3384c0)?(_0x4e58ec[_0x453155(0x286)](''+this[_0x453155(0x269)]+_0x2aeaba),this[_0x453155(0x290)]=!0x0):_0x1144bc===_0x4c60e2[_0x453155(0x215)]?(_0x4e58ec[_0x453155(0x286)](''+this[_0x453155(0x269)]+_0x2aeaba),this['_hasNewExcelFunction']=!0x0,_0x2e01d5=0x2):_0x1144bc===_0x4c60e2[_0x453155(0x204)]?(_0x4e58ec[_0x453155(0x286)](''+this[_0x453155(0x269)]+_0x2aeaba),this[_0x453155(0x290)]=!0x0,_0x2e01d5=0x1):_0x1144bc===_0x4c60e2[_0x453155(0x260)]['COLON']?_0x2e01d5=0x8:_0x4c60e2[_0x453155(0x249)]['has'](_0x1144bc)?_0x2e01d5=0x7:_0x1144bc===_0x4c60e2['prefixToken'][_0x453155(0x281)]?(this[_0x453155(0x20a)](_0x4049e3)&&(_0x2e01d5=0x9),_0x4e58ec['push'](_0x22c96e)):(_0x4e58ec['push'](_0x22c96e),_0x2e01d5=0xa),_0x35dc9e?(_0x2e01d5!==0x2&&_0x2e01d5!==0x1&&(_0x2e01d5=0x6),_0x4e58ec[_0x453155(0x286)]('(')):_0x2e01d5===0x9&&_0x4e58ec['push']('(');const _0x5a934a=_0x4049e3['getChildren'](),_0x6e7176=_0x5a934a[_0x453155(0x23d)];if(_0x2e01d5===0x2){const _0x1fab2c=_0x5a934a[0x0];let _0x51d60a=0x0;_0x1fab2c instanceof _0x4c60e2[_0x453155(0x2c6)]&&_0x1fab2c[_0x453155(0x2ca)]()===_0x4c60e2[_0x453155(0x256)]&&(_0x51d60a=0x1);for(let _0x5f24c3=_0x51d60a;_0x5f24c3<_0x6e7176-0x1;_0x5f24c3++){const _0x293208=_0x5a934a[_0x5f24c3];if(_0x293208 instanceof _0x4c60e2['LexerNode']){const _0x2391b3=_0x293208[_0x453155(0x287)]()[0x0];typeof _0x2391b3==_0x453155(0x209)&&(this['_lambdaFunctionParameterSet'][_0x453155(0x218)](_0x2391b3)&&console[_0x453155(0x208)](_0x453155(0x228)+_0x2391b3+_0x453155(0x2a2)),this['_lambdaFunctionParameterSet'][_0x453155(0x22a)](_0x2391b3),_0x4e58ec[_0x453155(0x286)](''+this[_0x453155(0x217)]+_0x2391b3),this[_0x453155(0x290)]=!0x0);}_0x4e58ec[_0x453155(0x286)](',');}this[_0x453155(0x279)](_0x5a934a[_0x6e7176-0x1],_0x4e58ec,_0x83e4b7),_0x51d60a===0x1&&(_0x4e58ec[_0x453155(0x286)](')'),_0x4e58ec[_0x453155(0x286)]('('),this[_0x453155(0x1fa)](_0x1fab2c,_0x4e58ec,_0x83e4b7)),_0x4e58ec['push'](')');return;}else{if(_0x2e01d5===0x1){for(let _0x178a59=0x0;_0x178a59<_0x6e7176-0x1;_0x178a59++){const _0x195cae=_0x5a934a[_0x178a59];if(_0x195cae instanceof _0x4c60e2[_0x453155(0x2c6)]&&_0x178a59%0x2===0x0){const _0x4e9b9e=_0x195cae[_0x453155(0x287)]()[0x0];if(typeof _0x4e9b9e==_0x453155(0x209)){this[_0x453155(0x247)][_0x453155(0x218)](_0x4e9b9e)&&console[_0x453155(0x208)]('Let\x20variable\x20name\x20\x22'+_0x4e9b9e+_0x453155(0x2a2)),this[_0x453155(0x247)][_0x453155(0x22a)](_0x4e9b9e),_0x4e58ec['push'](''+this['_xlpmPrefix']+_0x4e9b9e),this[_0x453155(0x290)]=!0x0,_0x4e58ec[_0x453155(0x286)](',');continue;}}if(this['_handleNewFunctionChild'](_0x195cae,_0x4e58ec,_0x83e4b7),_0x195cae instanceof _0x4c60e2[_0x453155(0x2c6)]){const _0x2cac13=_0x5a934a[_0x178a59+0x1];_0x2cac13&&_0x2cac13 instanceof _0x4c60e2[_0x453155(0x2c6)]&&_0x4e58ec[_0x453155(0x286)](',');}}this[_0x453155(0x279)](_0x5a934a[_0x6e7176-0x1],_0x4e58ec,_0x83e4b7),_0x4e58ec['push'](')');return;}else{if(_0x2e01d5===0x8){const _0x953f72=_0x5a934a[0x0],_0x4f96bc=_0x5a934a[0x1];this[_0x453155(0x279)](_0x953f72,_0x4e58ec,_0x83e4b7),_0x4e58ec[_0x453155(0x286)](_0x22c96e),this[_0x453155(0x279)](_0x4f96bc,_0x4e58ec,_0x83e4b7);return;}}}for(let _0x56d69b=0x0;_0x56d69b<_0x6e7176;_0x56d69b++){const _0x3f6d1d=_0x5a934a[_0x56d69b];if(this['_handleNewFunctionChild'](_0x3f6d1d,_0x4e58ec,_0x83e4b7),_0x3f6d1d instanceof _0x4c60e2[_0x453155(0x2c6)]){const _0x35912f=_0x5a934a[_0x56d69b+0x1];_0x35912f&&_0x35912f instanceof _0x4c60e2[_0x453155(0x2c6)]&&_0x4e58ec[_0x453155(0x286)](',');}}_0x2e01d5===0x7&&_0x4e58ec[_0x453155(0x286)](_0x22c96e),(_0x35dc9e||_0x2e01d5===0x9)&&_0x4e58ec[_0x453155(0x286)](')');}[_0x67f8f5(0x279)](_0x450aaa,_0x595581,_0xa2c1b7){const _0x4ed0e8=_0x67f8f5;_0x450aaa instanceof _0x4c60e2[_0x4ed0e8(0x2c6)]?this[_0x4ed0e8(0x1fa)](_0x450aaa,_0x595581,_0xa2c1b7):this['_lambdaFunctionParameterSet'][_0x4ed0e8(0x218)](_0x450aaa)?(_0x595581[_0x4ed0e8(0x286)](''+this['_xlpmPrefix']+_0x450aaa),this[_0x4ed0e8(0x290)]=!0x0):_0x595581[_0x4ed0e8(0x286)](_0x450aaa);}[_0x67f8f5(0x1e9)](_0x5c4003){const _0x2c1735=_0x67f8f5;let _0x5960db=_0x5c4003[_0x2c1735(0x2af)]();if(!_0x5960db)return _0x5960db;const _0x5b61a0=_0x5960db[0x0];if((_0x5b61a0===_0x4c60e2[_0x2c1735(0x273)]['AT']||_0x5b61a0===_0x4c60e2['prefixToken']['MINUS']||_0x5b61a0===_0x4c60e2[_0x2c1735(0x273)][_0x2c1735(0x1d2)])&&(_0x5960db=_0x5960db[_0x2c1735(0x248)](0x1)),!_0x5960db)return _0x5960db;const _0x184173=_0x5960db[_0x5960db[_0x2c1735(0x23d)]-0x1];return _0x4c60e2['SUFFIX_TOKEN_SET']['has'](_0x184173)&&(_0x5960db=_0x5960db['slice'](0x0,-0x1)),_0x5960db;}[_0x67f8f5(0x20a)](_0x44b609){const _0x5651d2=_0x67f8f5,_0x33e503=_0x44b609[_0x5651d2(0x287)]()[0x0];if(!_0x33e503||!(_0x33e503 instanceof _0x4c60e2[_0x5651d2(0x2c6)])||_0x44b609['getChildren']()[_0x5651d2(0x23d)]>0x1)return!0x1;const _0x6fba21=_0x33e503[_0x5651d2(0x287)](),_0xee8127=_0x6fba21[_0x5651d2(0x23d)];if(_0xee8127===0x1)return!0x1;for(let _0x382df9=0x0;_0x382df9<_0xee8127;_0x382df9++){const _0x58a5f2=_0x6fba21[_0x382df9];if(!(_0x58a5f2 instanceof _0x4c60e2['LexerNode'])&&_0x4c60e2[_0x5651d2(0x2bc)][_0x5651d2(0x218)](_0x58a5f2))return!0x0;}return!0x1;}[_0x67f8f5(0x298)](_0x564090,_0x315918,_0x4eefee,_0x4f351f,_0x452b71){const _0x1c2f88=_0x67f8f5,_0x221cd7=this[_0x1c2f88(0x1fc)](_0x564090,!0x1);if(!_0x221cd7||_0x221cd7===_0x4c60e2['ErrorType'][_0x1c2f88(0x1fb)]||Array[_0x1c2f88(0x2d6)](_0x221cd7))return null;this[_0x1c2f88(0x2d1)](),this[_0x1c2f88(0x1f9)]=_0x315918;const _0x211e5c=this[_0x1c2f88(0x2cf)](_0x221cd7,_0x4eefee,_0x4f351f,_0x452b71);return this[_0x1c2f88(0x1f9)]='',this[_0x1c2f88(0x259)](),_0x211e5c;}['_generateExprTree'](_0x9e64e1,_0x4aca5e,_0x33f8e2,_0x103f86){const _0x543be5=_0x67f8f5,_0x211ce0={'value':'','children':[]};let _0x39455d=_0x9e64e1;if(_0x39455d instanceof _0x4c60e2['LexerNode']&&(_0x39455d['getToken']()===_0x4c60e2[_0x543be5(0x1ec)]||_0x39455d[_0x543be5(0x2ca)]()===_0x4c60e2[_0x543be5(0x1f8)])&&_0x39455d['getChildren']()[_0x543be5(0x23d)]===0x1&&(_0x39455d=_0x39455d[_0x543be5(0x287)]()[0x0]),!(_0x39455d instanceof _0x4c60e2['LexerNode']))return this[_0x543be5(0x200)](_0x39455d,_0x33f8e2,_0x103f86);const _0x4f2a7f=_0x39455d['getChildren'](),_0x4fc4fa=_0x4f2a7f[_0x543be5(0x23d)],_0x2e3088=[];this[_0x543be5(0x1fa)](_0x39455d,_0x2e3088,_0x4aca5e),_0x211ce0['value']=_0x2e3088[_0x543be5(0x2b8)]('');const _0x1cbeb9=this[_0x543be5(0x1d8)](_0x39455d);if(_0x1cbeb9===0x2){const _0x2a0ea0=_0x4f2a7f[0x0];if(_0x2a0ea0 instanceof _0x4c60e2['LexerNode']){if(_0x2a0ea0['getToken']()[_0x543be5(0x2af)]()!==_0x4c60e2['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x211ce0;this['_handleLambdaForExprTree'](_0x2a0ea0,_0x211ce0,_0x4aca5e,_0x33f8e2,_0x103f86);}return _0x211ce0;}else{if(_0x1cbeb9===0x1){for(let _0x3e3eb1=0x0;_0x3e3eb1<_0x4fc4fa-0x1;_0x3e3eb1++){const _0x191cca=_0x4f2a7f[_0x3e3eb1];if(_0x191cca instanceof _0x4c60e2[_0x543be5(0x2c6)]&&_0x3e3eb1%0x2===0x1){const _0x591a68=_0x191cca[_0x543be5(0x287)]();if(_0x591a68[_0x543be5(0x23d)]===0x1&&!(_0x591a68[0x0]instanceof _0x4c60e2[_0x543be5(0x2c6)]))continue;const _0x592769=this[_0x543be5(0x2cf)](_0x191cca,_0x4aca5e,_0x33f8e2,_0x103f86);_0x592769&&_0x211ce0[_0x543be5(0x1d0)]['push'](_0x592769);}}return _0x211ce0;}}return this[_0x543be5(0x1f5)](_0x4f2a7f,_0x1cbeb9,_0x211ce0,_0x4aca5e,_0x33f8e2,_0x103f86),_0x211ce0;}[_0x67f8f5(0x1f5)](_0x28f8fd,_0x534c5d,_0xea679e,_0x5c0058,_0x5940fd,_0x5400f1){const _0x1ec9bb=_0x67f8f5;for(let _0x7864bb=0x0;_0x7864bb<_0x28f8fd[_0x1ec9bb(0x23d)];_0x7864bb++){let _0x5d6c0d=_0x28f8fd[_0x7864bb];if(!(_0x5d6c0d instanceof _0x4c60e2[_0x1ec9bb(0x2c6)])){const _0x47aeec=this[_0x1ec9bb(0x200)](_0x5d6c0d,_0x5940fd,_0x5400f1);_0x47aeec&&_0xea679e[_0x1ec9bb(0x1d0)][_0x1ec9bb(0x286)](_0x47aeec);continue;}const _0x4127eb=_0x5d6c0d[_0x1ec9bb(0x287)]();if(_0x4127eb[_0x1ec9bb(0x23d)]===0x1&&!(_0x4127eb[0x0]instanceof _0x4c60e2['LexerNode'])){const _0x42366c=_0x4127eb[0x0];if(!_0x5940fd(this[_0x1ec9bb(0x1f9)],_0x42366c)&&!this[_0x1ec9bb(0x1d6)](_0x42366c,_0x5400f1)&&!_0x4c60e2[_0x1ec9bb(0x214)](_0x42366c))continue;}if(_0x534c5d===0x8){const _0x1dba05=_0x4127eb[0x0];if(_0x1dba05 instanceof _0x4c60e2[_0x1ec9bb(0x2c6)]){const _0x32f169=_0x1dba05[_0x1ec9bb(0x2ca)]()[_0x1ec9bb(0x2af)]();if(_0x4c60e2[_0x1ec9bb(0x214)](_0x32f169))continue;_0x5d6c0d=_0x1dba05;}}const _0x12bc91=this[_0x1ec9bb(0x2cf)](_0x5d6c0d,_0x5c0058,_0x5940fd,_0x5400f1);_0x12bc91&&_0xea679e[_0x1ec9bb(0x1d0)][_0x1ec9bb(0x286)](_0x12bc91);}}[_0x67f8f5(0x200)](_0xfc7ff9,_0x2a84fc,_0x43f6c2){const _0x534636=_0x67f8f5,_0x2686da=_0xfc7ff9['trim']();return _0x2686da[_0x534636(0x299)]('{')&&_0x2686da[_0x534636(0x230)]('}')||_0x2a84fc(this[_0x534636(0x1f9)],_0x2686da)||this[_0x534636(0x1d6)](_0x2686da,_0x43f6c2)||_0x4c60e2[_0x534636(0x214)](_0x2686da)?{'value':_0x2686da,'children':[]}:null;}[_0x67f8f5(0x1d6)](_0x4d9de9,_0x379b17){const _0x369727=_0x67f8f5,{tableName:_0x28b2f0}=_0x4c60e2[_0x369727(0x1f2)](_0x4d9de9);return _0x379b17(this[_0x369727(0x1f9)],_0x28b2f0)?_0x28b2f0:null;}[_0x67f8f5(0x1ea)](_0x2713c1,_0x1b3dfd,_0xe86c11,_0x4416e1,_0x22113e){const _0x596fde=_0x67f8f5,_0x48f5a6=_0x2713c1[_0x596fde(0x287)]();for(let _0x3ef9f6=0x0;_0x3ef9f6<_0x48f5a6[_0x596fde(0x23d)];_0x3ef9f6++){const _0x44e349=_0x48f5a6[_0x3ef9f6];if(!(_0x44e349 instanceof _0x4c60e2[_0x596fde(0x2c6)]))continue;const _0x1c290a=_0x44e349[_0x596fde(0x287)]();if(_0x1c290a[_0x596fde(0x23d)]===0x1&&!(_0x1c290a[0x0]instanceof _0x4c60e2['LexerNode']))continue;const _0x3f4595=this[_0x596fde(0x2cf)](_0x44e349,_0xe86c11,_0x4416e1,_0x22113e);_0x3f4595&&_0x1b3dfd[_0x596fde(0x1d0)][_0x596fde(0x286)](_0x3f4595);}}[_0x67f8f5(0x1d8)](_0x423955){const _0x465928=_0x67f8f5,_0xc7d2dd=_0x423955['getToken'](),_0x2e403a=_0xc7d2dd[_0x465928(0x2af)]()[_0x465928(0x201)]();let _0x580bf8=0x0;return _0xc7d2dd===_0x4c60e2[_0x465928(0x1ec)]?_0x580bf8=0x3:_0xc7d2dd===_0x4c60e2[_0x465928(0x1f8)]?_0x580bf8=0x4:_0xc7d2dd===_0x4c60e2[_0x465928(0x256)]?_0x580bf8=0x5:_0x2e403a===_0x4c60e2['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?_0x580bf8=0x2:_0x2e403a===_0x4c60e2[_0x465928(0x204)]?_0x580bf8=0x1:_0x2e403a===_0x4c60e2[_0x465928(0x260)][_0x465928(0x29f)]?_0x580bf8=0x8:_0x4c60e2[_0x465928(0x249)][_0x465928(0x218)](_0x2e403a)?_0x580bf8=0x7:_0x2e403a===_0x4c60e2['prefixToken'][_0x465928(0x281)]?this[_0x465928(0x20a)](_0x423955)&&(_0x580bf8=0x9):_0x580bf8=0xa,_0x580bf8;}}const _0x47b3ad={0x0:'Y',0x1:'O',0x2:'H',0x3:'9',0x4:'n',0x5:'b',0x6:'E',0x7:'C',0x8:'0',0x9:'h','N':'1','r':'2','y':'3','t':'4','G':'5','n':'6','E':'7','K':'8','I':'a','D':'c','Q':'d','J':'e','q':'f','p':'g','i':'i','b':'j','S':'k','w':'l','P':'m','F':'o','d':'p','h':'q','j':'r','e':'s','c':'t','W':'u','X':'v','Y':'w','H':'x','O':'y','A':'z','u':'A','g':'B','L':'D','Z':'F','V':'G','M':'I','l':'J','C':'K','m':'L','o':'M','v':'N','k':'P','U':'Q','x':'R','R':'S','B':'T','a':'U','T':'V','z':'W','s':'X','f':'Z'},_0x661189=_0x67f8f5(0x2a3);class _0x477742 extends _0x4c60e2[_0x67f8f5(0x235)]{constructor(){const _0xf2cfad=_0x67f8f5;super(...arguments),_0x2b02c8(this,_0xf2cfad(0x224),new Map());}['dispose'](){const _0x201db1=_0x67f8f5;super[_0x201db1(0x20b)](),this[_0x201db1(0x224)][_0x201db1(0x22c)]();}async[_0x67f8f5(0x2c8)](_0x323b05=!0x1){const _0xd3ceb3=_0x67f8f5;this[_0xd3ceb3(0x2d8)]();const _0x3cb27e=this['_currentConfigService'][_0xd3ceb3(0x20d)](),_0x1fafba=this[_0xd3ceb3(0x24e)][_0xd3ceb3(0x21f)](),_0x58b01d=this[_0xd3ceb3(0x233)][_0xd3ceb3(0x221)]();_0x58b01d!=null&&Object[_0xd3ceb3(0x21a)](_0x58b01d)[_0xd3ceb3(0x288)](_0x353ec5=>{const _0x27490a=_0xd3ceb3;_0x353ec5!=null&&Object[_0x27490a(0x21a)](_0x58b01d[_0x353ec5])[_0x27490a(0x288)](_0x16d4ee=>{const _0x57e712=_0x27490a;_0x16d4ee!=null&&(this['_dependencyManagerService'][_0x57e712(0x262)](_0x353ec5,_0x16d4ee),this['_dependencyManagerService'][_0x57e712(0x225)](_0x353ec5,_0x16d4ee),this[_0x57e712(0x29d)][_0x57e712(0x1dd)](_0x353ec5,_0x16d4ee));});});const _0x34721e=this[_0xd3ceb3(0x233)]['getUnitData']();await this[_0xd3ceb3(0x223)](_0x3cb27e,_0x1fafba,_0x34721e),this['_dependencyManagerService'][_0xd3ceb3(0x246)]();const _0x38d149=this[_0xd3ceb3(0x261)](),_0x3154ef=this['_calculateRunList'](_0x38d149);return this[_0xd3ceb3(0x236)](_0x3154ef)&&this['_runtimeService'][_0xd3ceb3(0x1dc)](),_0x323b05&&this[_0xd3ceb3(0x24d)][_0xd3ceb3(0x2a0)](this[_0xd3ceb3(0x28b)](Array[_0xd3ceb3(0x1d5)](this[_0xd3ceb3(0x224)][_0xd3ceb3(0x280)]()))),this[_0xd3ceb3(0x224)][_0xd3ceb3(0x22c)](),this[_0xd3ceb3(0x2b3)][_0xd3ceb3(0x22c)](),this[_0xd3ceb3(0x29d)][_0xd3ceb3(0x257)](),this[_0xd3ceb3(0x24d)]['clearArrayObjectCache'](),Promise['resolve'](_0x3154ef);}[_0x67f8f5(0x26b)](_0x35ddbd,_0x3a36a5){const _0x18b070=_0x67f8f5,_0x2b6023=[_0x35ddbd];for(;_0x2b6023[_0x18b070(0x23d)]>0x0;){const _0x14bec5=_0x2b6023[_0x2b6023[_0x18b070(0x23d)]-0x1];if((_0x3a36a5[_0x18b070(0x243)](_0x14bec5)||0x0)===0x0){_0x3a36a5[_0x18b070(0x21c)](_0x14bec5,0x1);const _0x4c590c=this[_0x18b070(0x224)][_0x18b070(0x243)](_0x14bec5);if(_0x4c590c==null){_0x3a36a5[_0x18b070(0x21c)](_0x14bec5,0x2),_0x2b6023[_0x18b070(0x28c)]();continue;}const _0x5c448b=this[_0x18b070(0x29d)][_0x18b070(0x237)](_0x4c590c[_0x18b070(0x2bb)]());for(const _0x1d685b of _0x5c448b){const _0x11a807=_0x3a36a5['get'](_0x1d685b)||0x0;if(_0x11a807===0x1)return!0x0;_0x11a807===0x0&&_0x2b6023['push'](_0x1d685b);}}else _0x3a36a5[_0x18b070(0x21c)](_0x14bec5,0x2),_0x2b6023[_0x18b070(0x28c)]();}return!0x1;}['_checkIsCycleDependency'](_0x4a92a1){const _0x2d5800=_0x67f8f5,_0x5af841=new Map();for(const _0x417b66 of _0x4a92a1)if(!_0x5af841[_0x2d5800(0x218)](_0x417b66[_0x2d5800(0x2ab)])&&this[_0x2d5800(0x26b)](_0x417b66[_0x2d5800(0x2ab)],_0x5af841))return!0x0;return _0x5af841[_0x2d5800(0x22c)](),!0x1;}[_0x67f8f5(0x24a)](_0x20d948,_0x3f2aa4,_0x21dce7){const _0x3f5a6e=_0x67f8f5,{unitId:_0x566987,subUnitId:_0x11d6c9,dependencyRanges:_0x46b8cc,getDirtyData:_0x50f9e1}=_0x21dce7,_0x58dfdc=_0x3f2aa4||_0x4c60e2[_0x3f5a6e(0x1e3)](this['_dependencyManagerService']),_0x317cb7=new _0x4c60e2[(_0x3f5a6e(0x27a))](_0x58dfdc);_0x317cb7['unitId']=_0x566987,_0x317cb7[_0x3f5a6e(0x1f6)]=_0x11d6c9,_0x317cb7['rangeList']=_0x46b8cc,_0x317cb7[_0x3f5a6e(0x2a4)]=_0x50f9e1;const _0xcbec2d=_0x50f9e1(this[_0x3f5a6e(0x233)][_0x3f5a6e(0x2a4)](),this['_runtimeService'][_0x3f5a6e(0x1d9)]()),_0x2dd2c2=this[_0x3f5a6e(0x2b0)](_0xcbec2d['dirtyRanges']);return _0x317cb7[_0x3f5a6e(0x27e)]=_0x2dd2c2,_0x317cb7[_0x3f5a6e(0x27d)]=_0x20d948,_0x317cb7[_0x3f5a6e(0x24f)]=_0x4c60e2[_0x3f5a6e(0x220)][_0x3f5a6e(0x202)],this['_dependencyManagerService'][_0x3f5a6e(0x222)](_0x566987,_0x11d6c9,_0x20d948,_0x317cb7),this['_dependencyTreeCache']['set'](_0x317cb7[_0x3f5a6e(0x2ab)],_0x317cb7),this[_0x3f5a6e(0x29d)][_0x3f5a6e(0x2c9)](_0x21dce7['unitId'],_0x21dce7[_0x3f5a6e(0x1f6)],_0x20d948)&&(_0x317cb7[_0x3f5a6e(0x1d1)]=!0x0),_0x317cb7;}['_registerOtherFormulas'](_0x4c5b96,_0x48f2df,_0x17719f){const _0x3c5192=_0x67f8f5;var _0x3ac30f;for(const _0x444e57 of _0x48f2df){const _0x40c38b=_0x4c5b96[_0x444e57];if(_0x40c38b==null)continue;const _0x3bd723=Object[_0x3c5192(0x21a)](_0x40c38b);for(const _0xe483e8 of _0x3bd723){const _0x2a1670=_0x40c38b[_0xe483e8];if(_0x2a1670==null)continue;const _0x42b619=Object['keys'](_0x2a1670);for(const _0x71daf2 of _0x42b619){const _0x495b49=this['_dependencyManagerService']['hasOtherFormulaDataMainData'](_0x71daf2),_0x4b697f=_0x2a1670[_0x71daf2],{f:_0x3871ef,ranges:_0xb26f30}=_0x4b697f;let _0x14b941=!0x1;_0x495b49&&(_0x14b941=!0x0);const {firstRow:_0x251df4,firstColumn:_0x4ad065}=this[_0x3c5192(0x2db)](_0xb26f30),_0x12a07f=this['_dependencyManagerService'][_0x3c5192(0x27b)](_0x444e57,_0xe483e8,_0x71daf2),_0x39a2c0=(_0x3ac30f=_0x12a07f==null?void 0x0:_0x12a07f[_0x3c5192(0x21d)](0x0,0x0))!=null?_0x3ac30f:_0x4c60e2[_0x3c5192(0x1e3)](this['_dependencyManagerService']),_0x16a54c=new _0x4c60e2['FormulaDependencyTree'](_0x39a2c0);for(let _0x510937=0x0;_0x510937<_0xb26f30[_0x3c5192(0x23d)];_0x510937++){const _0x314d41=_0xb26f30[_0x510937],{startRow:_0x5babd1,startColumn:_0x14441b,endRow:_0x2a87a7,endColumn:_0xf34a8a}=_0x314d41;for(let _0x19743f=_0x5babd1;_0x19743f<=_0x2a87a7;_0x19743f++)for(let _0x2e036d=_0x14441b;_0x2e036d<=_0xf34a8a;_0x2e036d++){const _0x186ebe=_0x2e036d-_0x4ad065,_0x27c9e3=_0x19743f-_0x251df4;if(_0x186ebe===0x0&&_0x27c9e3===0x0){_0x16a54c[_0x3c5192(0x2a1)]=_0x3871ef,_0x16a54c[_0x3c5192(0x207)]=_0x444e57,_0x16a54c['subUnitId']=_0xe483e8,_0x16a54c[_0x3c5192(0x2d5)]=_0x71daf2,_0x16a54c['type']=_0x4c60e2[_0x3c5192(0x220)][_0x3c5192(0x29c)],_0x16a54c[_0x3c5192(0x1d1)]=_0x14b941,_0x17719f['push'](_0x16a54c),this[_0x3c5192(0x224)][_0x3c5192(0x21c)](_0x16a54c[_0x3c5192(0x2ab)],_0x16a54c),this['_dependencyManagerService'][_0x3c5192(0x21b)](_0x444e57,_0xe483e8,_0x71daf2,_0x16a54c),this[_0x3c5192(0x29d)][_0x3c5192(0x241)](_0x16a54c);continue;}const _0x4d44ac=new _0x4c60e2[(_0x3c5192(0x1eb))]();_0x4d44ac[_0x3c5192(0x2ab)]=(_0x12a07f==null?void 0x0:_0x12a07f[_0x3c5192(0x21d)](_0x186ebe,_0x27c9e3))||_0x4c60e2[_0x3c5192(0x1e3)](this['_dependencyManagerService']),_0x4d44ac[_0x3c5192(0x1ef)]=_0x16a54c,_0x4d44ac[_0x3c5192(0x2c0)]=_0x186ebe,_0x4d44ac['refOffsetY']=_0x27c9e3,_0x4d44ac[_0x3c5192(0x1d1)]=_0x14b941,this['_dependencyManagerService']['addOtherFormulaDependency'](_0x444e57,_0xe483e8,_0x71daf2,_0x4d44ac),this['_dependencyManagerService'][_0x3c5192(0x241)](_0x4d44ac),_0x17719f[_0x3c5192(0x286)](_0x4d44ac),this[_0x3c5192(0x224)][_0x3c5192(0x21c)](_0x4d44ac['treeId'],_0x4d44ac);}}this['_dependencyManagerService'][_0x3c5192(0x297)](_0x71daf2);}}}}['_registerFormulas'](_0x3ccbf9,_0x198c30,_0x5ba11a,_0x19a2ed){const _0x314128=_0x67f8f5;for(const _0x1949c7 of _0x3ccbf9){const _0x1f00a8=_0x198c30[_0x1949c7];if(_0x1f00a8==null)continue;const _0x4c10fd=Object['keys'](_0x1f00a8);for(const _0xbb9c75 of _0x4c10fd){const _0x5578c8=new _0x1f95f9['ObjectMatrix'](_0x1f00a8[_0xbb9c75]||{}),_0x22d0e9=new Map();_0x5578c8[_0x314128(0x1fe)]((_0x423b31,_0x4b781e,_0x52afc6)=>{const _0x11daf8=_0x314128;if(_0x52afc6==null)return!0x0;const {x:_0x47fc3f=0x0,y:_0x5814d0=0x0,si:_0x5bb312}=_0x52afc6;if(!(_0x47fc3f===0x0&&_0x5814d0===0x0&&_0x5bb312!=null))return!0x0;const _0x136b3b=this[_0x11daf8(0x23c)](_0x1949c7,_0xbb9c75,_0x423b31,_0x4b781e,_0x5ba11a,_0x52afc6),_0x4fe6b5=this[_0x11daf8(0x29d)][_0x11daf8(0x271)](_0x1949c7,_0xbb9c75,_0x423b31,_0x4b781e);_0x4fe6b5!=null?_0x136b3b['treeId']=_0x4fe6b5:(this[_0x11daf8(0x29d)]['addFormulaDependency'](_0x1949c7,_0xbb9c75,_0x423b31,_0x4b781e,_0x136b3b),this[_0x11daf8(0x29d)][_0x11daf8(0x241)](_0x136b3b)),_0x22d0e9['set'](_0x5bb312,_0x136b3b),_0x19a2ed[_0x11daf8(0x286)](_0x136b3b),this[_0x11daf8(0x224)][_0x11daf8(0x21c)](_0x136b3b[_0x11daf8(0x2ab)],_0x136b3b);}),_0x5578c8[_0x314128(0x1fe)]((_0x474686,_0x3e8594,_0x5dd133)=>{const _0x2e9f9d=_0x314128;if(_0x5dd133==null)return!0x0;const {x:_0x2c3588=0x0,y:_0x16c709=0x0,si:_0xe09b68}=_0x5dd133;if(_0x2c3588===0x0&&_0x16c709===0x0&&_0xe09b68!=null)return!0x0;let _0x5e440f;if(_0xe09b68&&_0x22d0e9[_0x2e9f9d(0x218)](_0xe09b68)){const _0x3faf94=_0x22d0e9[_0x2e9f9d(0x243)](_0xe09b68);_0x5e440f=this[_0x2e9f9d(0x29e)](_0x3faf94,_0x5dd133);}else _0x5e440f=this['_createFDtree'](_0x1949c7,_0xbb9c75,_0x474686,_0x3e8594,_0x5ba11a,_0x5dd133);const _0x275910=this['_dependencyManagerService'][_0x2e9f9d(0x271)](_0x1949c7,_0xbb9c75,_0x474686,_0x3e8594);_0x275910!=null?_0x5e440f[_0x2e9f9d(0x2ab)]=_0x275910:(this[_0x2e9f9d(0x29d)][_0x2e9f9d(0x2d4)](_0x1949c7,_0xbb9c75,_0x474686,_0x3e8594,_0x5e440f),this[_0x2e9f9d(0x29d)]['addFormulaDependencyByDefinedName'](_0x5e440f)),_0x19a2ed[_0x2e9f9d(0x286)](_0x5e440f),this[_0x2e9f9d(0x224)][_0x2e9f9d(0x21c)](_0x5e440f[_0x2e9f9d(0x2ab)],_0x5e440f);}),_0x22d0e9['clear']();}}}[_0x67f8f5(0x23c)](_0x2bf451,_0x335184,_0x358175,_0x527c81,_0x379d66,_0x46ba60){const _0x18373a=_0x67f8f5,{f:_0x384e44,x:_0x47cf4d=0x0,y:_0x555edd=0x0}=_0x46ba60,_0x6d65b6=new _0x4c60e2['FormulaDependencyTree'](_0x4c60e2[_0x18373a(0x1e3)](this[_0x18373a(0x29d)])),_0xa48931=_0x379d66[_0x2bf451][_0x335184];return _0x6d65b6[_0x18373a(0x2a1)]=_0x384e44,_0x6d65b6['unitId']=_0x2bf451,_0x6d65b6[_0x18373a(0x1f6)]=_0x335184,_0x6d65b6[_0x18373a(0x1f7)]=_0x358175,_0x6d65b6[_0x18373a(0x263)]=_0x527c81,_0x6d65b6['rowCount']=_0xa48931['rowCount'],_0x6d65b6[_0x18373a(0x25e)]=_0xa48931[_0x18373a(0x25e)],_0x6d65b6;}[_0x67f8f5(0x261)](){const _0x3c21ba=_0x67f8f5,_0x2b40a3=[],_0x26f845=new Set(),_0x31609f=this[_0x3c21ba(0x233)][_0x3c21ba(0x26f)](),_0x435ae9=this[_0x3c21ba(0x233)][_0x3c21ba(0x1de)](),_0x339524=this[_0x3c21ba(0x29d)]['searchDependency'](_0x435ae9),_0x40bda8=this[_0x3c21ba(0x2b3)]['bulkSearch'](_0x435ae9);for(const _0x1909bb of _0x40bda8)_0x339524[_0x3c21ba(0x22a)](_0x1909bb);for(const [_0x36b17e,_0x402e56]of this[_0x3c21ba(0x224)])(_0x31609f||_0x402e56[_0x3c21ba(0x25f)]||_0x402e56[_0x3c21ba(0x21e)](this[_0x3c21ba(0x233)][_0x3c21ba(0x1e8)]())||_0x339524[_0x3c21ba(0x218)](_0x36b17e)&&!_0x402e56['isExcludeRange'](this[_0x3c21ba(0x233)][_0x3c21ba(0x1e1)]()))&&!_0x26f845[_0x3c21ba(0x218)](_0x36b17e)&&(_0x2b40a3['push'](_0x402e56),_0x26f845[_0x3c21ba(0x22a)](_0x36b17e));for(const [_0xd9934,_0xb5fda8]of this[_0x3c21ba(0x224)])_0xb5fda8[_0x3c21ba(0x1f3)]||(_0xb5fda8[_0x3c21ba(0x2d0)]['length']=0x0);return _0x2b40a3;}[_0x67f8f5(0x242)](_0x14c1c5){const _0x4a31c6=_0x67f8f5;return this['_dependencyTreeCache'][_0x4a31c6(0x243)](_0x14c1c5);}[_0x67f8f5(0x1db)](_0x5d0eb0){const _0x6e007e=_0x67f8f5;return _0x4c60e2[_0x6e007e(0x23b)](_0x5d0eb0[_0x6e007e(0x207)],_0x5d0eb0['formula'],this[_0x6e007e(0x23e)],this['_astTreeBuilder'],this[_0x6e007e(0x233)]);}*[_0x67f8f5(0x206)](_0x1be5d4,_0x4a58b0){const _0x33347b=_0x67f8f5,_0x2bea79=_0x1be5d4,_0x35fc93=new Set();for(;_0x2bea79[_0x33347b(0x23d)]>0x0;){const _0x3b5f5e=_0x2bea79[_0x33347b(0x28c)]();if(_0x35fc93[_0x33347b(0x22c)](),_0x3b5f5e===void 0x0||_0x3b5f5e[_0x33347b(0x2bd)]())continue;if(_0x3b5f5e[_0x33347b(0x250)]()){yield _0x3b5f5e,_0x3b5f5e[_0x33347b(0x245)](),_0x4a58b0['add'](_0x3b5f5e[_0x33347b(0x2ab)]);continue;}const _0x4ebab5=this[_0x33347b(0x29d)][_0x33347b(0x237)](_0x3b5f5e['toRTreeItem'](),_0x4a58b0),_0x2e77f1=this[_0x33347b(0x2b3)][_0x33347b(0x205)](_0x3b5f5e['toRTreeItem'](),_0x4a58b0);for(const _0x5e7b48 of _0x2e77f1)_0x4ebab5[_0x33347b(0x22a)](_0x5e7b48);for(const _0x5f4ee3 of _0x4ebab5){const _0x3a41e7=this[_0x33347b(0x224)][_0x33347b(0x243)](_0x5f4ee3);if(!_0x3a41e7)throw new Error(_0x33347b(0x22b));_0x3a41e7[_0x33347b(0x250)]()||_0x3b5f5e[_0x33347b(0x2bd)]()||_0x35fc93[_0x33347b(0x22a)](_0x3a41e7);}if(_0x4ebab5[_0x33347b(0x22c)](),_0x35fc93[_0x33347b(0x2b4)]===0x0)yield _0x3b5f5e,_0x3b5f5e['setSkip'](),_0x4a58b0[_0x33347b(0x22a)](_0x3b5f5e['treeId']);else{_0x3b5f5e[_0x33347b(0x23f)](),_0x2bea79[_0x33347b(0x286)](_0x3b5f5e);for(const _0x213474 of _0x35fc93)_0x2bea79[_0x33347b(0x286)](_0x213474);}}_0x2bea79[_0x33347b(0x23d)]=0x0,_0x35fc93[_0x33347b(0x22c)]();}[_0x67f8f5(0x24b)](_0x4a0ff7){const _0x1347d1=_0x67f8f5,_0x39c490=[],_0x474eb5=new Set();for(const _0x334045 of this['_traverse'](_0x4a0ff7,_0x474eb5))_0x39c490[_0x1347d1(0x286)](_0x334045);return _0x39c490;}async[_0x67f8f5(0x296)](){const _0x27cc2b=_0x67f8f5;return await this[_0x27cc2b(0x282)](),Array[_0x27cc2b(0x1d5)](this[_0x27cc2b(0x224)][_0x27cc2b(0x280)]());}['_getDependencyTreeParenIds'](_0x5539b4){const _0x9f0453=_0x67f8f5;return this[_0x9f0453(0x29d)][_0x9f0453(0x237)](_0x5539b4[_0x9f0453(0x2bb)]());}[_0x67f8f5(0x26c)](_0x5600ce){const _0x1fc5fd=_0x67f8f5,_0x5a32ef=new Set(),_0x18017b=_0x5600ce[_0x1fc5fd(0x2d0)];for(const [_0x3344df,_0x14771e]of this[_0x1fc5fd(0x224)])for(const _0x27565c of _0x18017b){const _0x20f0be=_0x27565c[_0x1fc5fd(0x207)],_0x4f410b=_0x27565c[_0x1fc5fd(0x1fd)];if(_0x14771e[_0x1fc5fd(0x207)]!==_0x20f0be||_0x14771e[_0x1fc5fd(0x1f6)]!==_0x4f410b)continue;const _0x290fad=_0x27565c[_0x1fc5fd(0x254)];if(_0x14771e[_0x1fc5fd(0x284)](_0x290fad)){_0x5a32ef[_0x1fc5fd(0x22a)](_0x3344df);break;}}return _0x5a32ef;}[_0x67f8f5(0x28f)](){const _0x16b61a=_0x67f8f5;this[_0x16b61a(0x29d)]['openKdTree']();}[_0x67f8f5(0x216)](){const _0x59a484=_0x67f8f5;this[_0x59a484(0x267)][_0x59a484(0x22c)](),this[_0x59a484(0x224)][_0x59a484(0x22c)](),this['_dependencyManagerService'][_0x59a484(0x257)]();}}class _0x1c5623 extends _0x4c60e2[_0x67f8f5(0x2da)]{async[_0x67f8f5(0x2aa)](_0x2b3cee=!0x1){const _0x3fd55e=_0x67f8f5;_0x2b3cee?this[_0x3fd55e(0x24d)][_0x3fd55e(0x20e)](_0x4c60e2['FormulaExecuteStageType'][_0x3fd55e(0x2dc)]):this[_0x3fd55e(0x24d)][_0x3fd55e(0x20e)](_0x4c60e2[_0x3fd55e(0x265)][_0x3fd55e(0x1e7)]),this[_0x3fd55e(0x211)][_0x3fd55e(0x1d3)](this['_runtimeService'][_0x3fd55e(0x1d4)]());const _0x54d3b9=await this[_0x3fd55e(0x29a)][_0x3fd55e(0x2c8)](this[_0x3fd55e(0x28e)]),_0x5351f9=this[_0x3fd55e(0x28d)];_0x2b3cee?(this[_0x3fd55e(0x24d)]['setFormulaExecuteStage'](_0x4c60e2['FormulaExecuteStageType'][_0x3fd55e(0x2ae)]),this['_runtimeService'][_0x3fd55e(0x2b2)](_0x54d3b9[_0x3fd55e(0x23d)])):(this[_0x3fd55e(0x24d)]['setFormulaExecuteStage'](_0x4c60e2[_0x3fd55e(0x265)][_0x3fd55e(0x275)]),this[_0x3fd55e(0x24d)][_0x3fd55e(0x29b)](_0x54d3b9[_0x3fd55e(0x23d)])),this[_0x3fd55e(0x211)][_0x3fd55e(0x1d3)](this[_0x3fd55e(0x24d)]['getRuntimeState']());let _0x29a807=[];const _0x3e854f=this[_0x3fd55e(0x2c3)][_0x3fd55e(0x2d7)](_0x4c60e2['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x5ea0a9=(_0x3e854f==null?void 0x0:_0x3e854f[_0x3fd55e(0x1f4)])||_0x4c60e2[_0x3fd55e(0x24c)];let _0x4e8a21=0x0;const _0x494e5a=_0x54d3b9[_0x3fd55e(0x23d)];for(;_0x54d3b9[_0x3fd55e(0x23d)]>0x0;){const _0x26c2b1=_0x54d3b9[_0x3fd55e(0x28c)](),_0x4c2ecf=_0x4c60e2['generateAstNode'](_0x26c2b1[_0x3fd55e(0x207)],_0x26c2b1['formula'],this[_0x3fd55e(0x23e)],this['_astTreeBuilder'],this[_0x3fd55e(0x233)]),_0x19ef23={'node':_0x4c2ecf,'refOffsetX':_0x26c2b1[_0x3fd55e(0x2c0)],'refOffsetY':_0x26c2b1[_0x3fd55e(0x20f)]},_0x1fe8f9=_0x26c2b1[_0x3fd55e(0x2a4)];if(_0x4e8a21%_0x5ea0a9===0x0&&(await new Promise(_0x21d8d7=>{const _0x5b25b3=_0x3fd55e,_0x1071ed=_0x1f95f9[_0x5b25b3(0x25b)](_0x21d8d7);_0x29a807[_0x5b25b3(0x286)](_0x1071ed);}),_0x2b3cee?(this[_0x3fd55e(0x24d)]['setFormulaExecuteStage'](_0x4c60e2[_0x3fd55e(0x265)][_0x3fd55e(0x2ce)]),this[_0x3fd55e(0x24d)][_0x3fd55e(0x2b9)](_0x4e8a21+0x1)):(this[_0x3fd55e(0x24d)][_0x3fd55e(0x20e)](_0x4c60e2[_0x3fd55e(0x265)][_0x3fd55e(0x213)]),this[_0x3fd55e(0x24d)][_0x3fd55e(0x1f1)](_0x4e8a21+0x1)),this[_0x3fd55e(0x211)]['next'](this[_0x3fd55e(0x24d)][_0x3fd55e(0x1d4)]()),this['_runtimeService'][_0x3fd55e(0x1e2)]()||_0x19ef23==null&&_0x1fe8f9==null)){this[_0x3fd55e(0x24d)][_0x3fd55e(0x20e)](_0x4c60e2[_0x3fd55e(0x265)][_0x3fd55e(0x25a)]),this[_0x3fd55e(0x24d)][_0x3fd55e(0x210)](),this[_0x3fd55e(0x274)][_0x3fd55e(0x1d3)](this[_0x3fd55e(0x24d)]['getAllRuntimeData']());return;}this[_0x3fd55e(0x24d)][_0x3fd55e(0x1ff)](_0x26c2b1['row'],_0x26c2b1[_0x3fd55e(0x263)],_0x26c2b1['rowCount'],_0x26c2b1[_0x3fd55e(0x25e)],_0x26c2b1[_0x3fd55e(0x1f6)],_0x26c2b1[_0x3fd55e(0x207)]);let _0x24d0ec;if(_0x1fe8f9!=null&&_0x26c2b1['featureId']!=null){const {runtimeCellData:_0x5506ab,dirtyRanges:_0x4c21d7}=_0x1fe8f9(this[_0x3fd55e(0x233)][_0x3fd55e(0x2a4)](),this[_0x3fd55e(0x24d)][_0x3fd55e(0x1d9)]());this[_0x3fd55e(0x24d)][_0x3fd55e(0x251)](_0x26c2b1['featureId'],_0x5506ab),this[_0x3fd55e(0x24d)][_0x3fd55e(0x26d)](_0x26c2b1[_0x3fd55e(0x27d)],_0x4c21d7);}else _0x19ef23!=null&&(_0x5351f9[_0x3fd55e(0x276)](_0x19ef23[_0x3fd55e(0x28a)])?_0x24d0ec=await _0x5351f9['executeAsync'](_0x19ef23):_0x24d0ec=_0x5351f9[_0x3fd55e(0x289)](_0x19ef23),_0x26c2b1[_0x3fd55e(0x2d5)]!=null?this[_0x3fd55e(0x24d)][_0x3fd55e(0x1e4)](_0x26c2b1['formulaId'],_0x26c2b1[_0x3fd55e(0x2c0)],_0x26c2b1['refOffsetY'],_0x24d0ec):this[_0x3fd55e(0x24d)][_0x3fd55e(0x1d7)](_0x24d0ec));_0x4c2ecf['resetCalculationState'](),_0x4e8a21++;}return _0x29a807['forEach'](_0x526025=>_0x526025()),_0x29a807=[],_0x494e5a>0x0?this[_0x3fd55e(0x24d)][_0x3fd55e(0x2be)]():_0x2b3cee||this[_0x3fd55e(0x24d)][_0x3fd55e(0x212)](),this[_0x3fd55e(0x24d)][_0x3fd55e(0x1d9)]();}}class _0x13e1f4 extends _0x4c60e2[_0x67f8f5(0x2c4)]{constructor(){const _0x48c96a=_0x67f8f5;super(...arguments),_0x2b02c8(this,'_allTreeMap',new Map()),_0x2b02c8(this,_0x48c96a(0x231),new _0x1f95f9[(_0x48c96a(0x27c))](!0x0));}[_0x67f8f5(0x22e)](){const _0x4d5294=_0x67f8f5;this['_otherFormulaData'][_0x4d5294(0x22c)](),this[_0x4d5294(0x239)][_0x4d5294(0x22c)](),this[_0x4d5294(0x2a7)][_0x4d5294(0x22c)](),this[_0x4d5294(0x231)][_0x4d5294(0x22c)](),this[_0x4d5294(0x203)]['clear'](),this['_restDependencyTreeId'](),this[_0x4d5294(0x26a)][_0x4d5294(0x22c)]();}['addOtherFormulaDependency'](_0x5cef7a,_0x254f2f,_0x3b7463,_0x456895){const _0x3a6058=_0x67f8f5;this['_otherFormulaData']['has'](_0x5cef7a)||this[_0x3a6058(0x283)][_0x3a6058(0x21c)](_0x5cef7a,new Map());const _0x404383=this[_0x3a6058(0x283)][_0x3a6058(0x243)](_0x5cef7a);_0x404383[_0x3a6058(0x218)](_0x254f2f)||_0x404383['set'](_0x254f2f,new Map());const _0x284eb8=_0x404383[_0x3a6058(0x243)](_0x254f2f);_0x284eb8[_0x3a6058(0x218)](_0x3b7463)||_0x284eb8[_0x3a6058(0x21c)](_0x3b7463,new _0x1f95f9['ObjectMatrix']()),_0x284eb8['get'](_0x3b7463)[_0x3a6058(0x1f0)](_0x456895[_0x3a6058(0x2c0)],_0x456895['refOffsetY'],_0x456895[_0x3a6058(0x2ab)]);}['removeOtherFormulaDependency'](_0x3a005e,_0x31fb89,_0x345861){const _0x1543f2=_0x67f8f5,_0x258cf2=this[_0x1543f2(0x283)][_0x1543f2(0x243)](_0x3a005e);if(_0x258cf2&&_0x258cf2['has'](_0x31fb89)){const _0x3578fe=_0x258cf2['get'](_0x31fb89);_0x345861['forEach'](_0x2f32d8=>{const _0x3ee303=_0x1543f2,_0x2f732b=_0x3578fe['get'](_0x2f32d8);_0x2f732b!=null&&(_0x2f732b['forValue']((_0x9fa4ac,_0x4a4d3f,_0x388973)=>{const _0x46da39=_0x2054;this['_removeDependencyRTreeCache'](_0x388973),this[_0x46da39(0x2ad)](_0x388973);}),_0x3578fe[_0x3ee303(0x264)](_0x2f32d8),this[_0x3ee303(0x26a)][_0x3ee303(0x264)](_0x2f32d8));}),_0x3578fe['size']===0x0&&_0x258cf2[_0x1543f2(0x264)](_0x31fb89),_0x258cf2[_0x1543f2(0x2b4)]===0x0&&this[_0x1543f2(0x283)][_0x1543f2(0x264)](_0x3a005e);}}[_0x67f8f5(0x262)](_0x5a415a,_0x5a1ae3){const _0xcc6d44=_0x67f8f5,_0x637bcf=this['_otherFormulaData'][_0xcc6d44(0x243)](_0x5a415a);if(_0x5a1ae3&&_0x637bcf&&_0x637bcf['has'](_0x5a1ae3)){const _0x29518d=_0x637bcf[_0xcc6d44(0x243)](_0x5a1ae3);this[_0xcc6d44(0x22d)](_0x5a415a,_0x5a1ae3);for(const _0x2eb370 of _0x29518d[_0xcc6d44(0x21a)]()){const _0x464711=_0x29518d[_0xcc6d44(0x243)](_0x2eb370);_0x464711!=null&&(_0x464711[_0xcc6d44(0x1fe)]((_0x3315dc,_0x29c3f6,_0xcdd1d7)=>{const _0x4efd2e=_0xcc6d44;this[_0x4efd2e(0x203)]['get'](_0xcdd1d7)&&this['_removeAllTreeMap'](_0xcdd1d7);}),this[_0xcc6d44(0x26a)]['delete'](_0x2eb370));}_0x29518d[_0xcc6d44(0x22c)]();}else{if(_0x637bcf){for(const _0x1dd6d7 of _0x637bcf['keys']()){const _0x1aa9cb=_0x637bcf[_0xcc6d44(0x243)](_0x1dd6d7);this[_0xcc6d44(0x22d)](_0x5a415a,_0x1dd6d7);for(const _0x3839b5 of _0x1aa9cb['keys']()){const _0x29383b=_0x1aa9cb[_0xcc6d44(0x243)](_0x3839b5);_0x29383b!=null&&(_0x29383b[_0xcc6d44(0x1fe)]((_0x4b3e24,_0x3c24db,_0x3eacb5)=>{const _0x1ba330=_0xcc6d44;this[_0x1ba330(0x203)][_0x1ba330(0x243)](_0x3eacb5)&&this['_removeAllTreeMap'](_0x3eacb5);}),this['_otherFormulaDataMainData'][_0xcc6d44(0x264)](_0x3839b5));}}this[_0xcc6d44(0x283)][_0xcc6d44(0x264)](_0x5a415a);}}}[_0x67f8f5(0x222)](_0x4a9f2f,_0x550c40,_0x2d668c,_0x243a41){const _0x28765a=_0x67f8f5;this[_0x28765a(0x239)][_0x28765a(0x218)](_0x4a9f2f)||this[_0x28765a(0x239)][_0x28765a(0x21c)](_0x4a9f2f,new Map());const _0x5d7f7c=this[_0x28765a(0x239)][_0x28765a(0x243)](_0x4a9f2f);_0x5d7f7c[_0x28765a(0x218)](_0x550c40)||_0x5d7f7c['set'](_0x550c40,new Map()),_0x5d7f7c[_0x28765a(0x243)](_0x550c40)[_0x28765a(0x21c)](_0x2d668c,_0x243a41[_0x28765a(0x2ab)]);}['removeFeatureFormulaDependency'](_0x41ea06,_0x4a3872,_0x1068b1){const _0x53ddc0=_0x67f8f5,_0x30e0fe=this['_featureFormulaData'][_0x53ddc0(0x243)](_0x41ea06);if(_0x30e0fe&&_0x30e0fe[_0x53ddc0(0x218)](_0x4a3872)){const _0xb3467d=_0x30e0fe[_0x53ddc0(0x243)](_0x4a3872);_0x1068b1[_0x53ddc0(0x288)](_0x454140=>{const _0xc85acf=_0x53ddc0,_0x1198c9=_0xb3467d[_0xc85acf(0x243)](_0x454140);_0x1198c9!=null&&(this['_removeDependencyRTreeCache'](_0x1198c9),_0xb3467d[_0xc85acf(0x264)](_0x454140),this[_0xc85acf(0x2ad)](_0x1198c9));});}}[_0x67f8f5(0x225)](_0x53eb27,_0x507907){const _0x204adf=_0x67f8f5,_0x2be74d=this[_0x204adf(0x239)][_0x204adf(0x243)](_0x53eb27);if(_0x507907&&_0x2be74d&&_0x2be74d[_0x204adf(0x218)](_0x507907)){const _0x43814c=_0x2be74d[_0x204adf(0x243)](_0x507907);this[_0x204adf(0x22d)](_0x53eb27,_0x507907),_0x43814c[_0x204adf(0x288)](_0x47c7b4=>{const _0x22fa60=_0x204adf;_0x47c7b4!=null&&this[_0x22fa60(0x2ad)](_0x47c7b4);}),_0x43814c[_0x204adf(0x22c)]();}else _0x2be74d&&(_0x2be74d[_0x204adf(0x288)]((_0x14a525,_0x40fad1)=>{const _0x2ec7f6=_0x204adf;this[_0x2ec7f6(0x22d)](_0x53eb27,_0x40fad1),_0x14a525[_0x2ec7f6(0x288)](_0x2c6b74=>{const _0x4b3992=_0x2ec7f6;_0x2c6b74!=null&&this[_0x4b3992(0x2ad)](_0x2c6b74);});}),this['_featureFormulaData'][_0x204adf(0x264)](_0x53eb27));}[_0x67f8f5(0x2d4)](_0x399826,_0x10166a,_0x4b5f7c,_0x7722a3,_0x310392){const _0x4d880c=_0x67f8f5;this[_0x4d880c(0x2a7)]['has'](_0x399826)||this['_formulaData']['set'](_0x399826,new Map());const _0x1d0d76=this[_0x4d880c(0x2a7)][_0x4d880c(0x243)](_0x399826);_0x1d0d76[_0x4d880c(0x218)](_0x10166a)||_0x1d0d76[_0x4d880c(0x21c)](_0x10166a,new _0x1f95f9[(_0x4d880c(0x229))]()),_0x1d0d76[_0x4d880c(0x243)](_0x10166a)['setValue'](_0x4b5f7c,_0x7722a3,_0x310392[_0x4d880c(0x2ab)]);}[_0x67f8f5(0x2a6)](_0x2ad581,_0x5d5c0c,_0x1346e0,_0x2e8613){const _0x2d676a=_0x67f8f5,_0x231c08=this[_0x2d676a(0x2a7)]['get'](_0x2ad581);if(_0x231c08&&_0x231c08[_0x2d676a(0x218)](_0x5d5c0c)){const _0x451b77=_0x231c08[_0x2d676a(0x243)](_0x5d5c0c),_0x7c9bf3=_0x451b77[_0x2d676a(0x21d)](_0x1346e0,_0x2e8613);if(_0x7c9bf3==null)return;this[_0x2d676a(0x2d2)](_0x7c9bf3),_0x451b77['realDeleteValue'](_0x1346e0,_0x2e8613),this[_0x2d676a(0x2ad)](_0x7c9bf3);}}['clearFormulaDependency'](_0xa143d5,_0x497c84){const _0x1cc134=_0x67f8f5,_0x5ea797=this[_0x1cc134(0x2a7)]['get'](_0xa143d5);if(_0x497c84&&_0x5ea797&&_0x5ea797[_0x1cc134(0x218)](_0x497c84)){const _0x3f41f1=_0x5ea797[_0x1cc134(0x243)](_0x497c84);this[_0x1cc134(0x22d)](_0xa143d5,_0x497c84),_0x3f41f1[_0x1cc134(0x1fe)]((_0x3f3a0a,_0x1b0de8,_0x4893a6)=>{const _0x416162=_0x1cc134;if(_0x4893a6==null)return!0x0;this[_0x416162(0x2ad)](_0x4893a6);}),_0x3f41f1[_0x1cc134(0x22e)]();}else _0x5ea797&&(_0x5ea797[_0x1cc134(0x288)]((_0x4cc099,_0x2113b8)=>{const _0x252664=_0x1cc134;this[_0x252664(0x22d)](_0xa143d5,_0x2113b8),_0x4cc099[_0x252664(0x1fe)]((_0xe996a0,_0xf1a2f9,_0xcecfc2)=>{if(_0xcecfc2==null)return!0x0;this['_removeAllTreeMap'](_0xcecfc2);});}),this['_formulaData'][_0x1cc134(0x264)](_0xa143d5));}[_0x67f8f5(0x2d2)](_0x30f967){const _0x153955=_0x67f8f5;if(_0x30f967==null)return;const _0x3de53b=this[_0x153955(0x203)]['get'](_0x30f967);if(_0x3de53b){const _0xaf4740=[];for(const [_0x1c3b69,_0x2e2c15]of _0x3de53b)for(const [_0x5ebec2,_0x3e891f]of _0x2e2c15)_0xaf4740[_0x153955(0x286)]({'unitId':_0x1c3b69,'sheetId':_0x5ebec2,'range':_0x3e891f,'id':_0x30f967});this[_0x153955(0x231)][_0x153955(0x293)](_0xaf4740);}}[_0x67f8f5(0x244)](_0x2fb72e,_0x5ae512){const _0x23f541=_0x67f8f5,_0x12c804=this[_0x23f541(0x266)]['get'](_0x2fb72e);if(_0x12c804){const _0x169839=_0x12c804[_0x23f541(0x243)](_0x5ae512);if(_0x169839){for(const _0x20ec32 of _0x169839)this['_removeDependencyRTreeCache'](_0x20ec32),this['_removeAllTreeMap'](_0x20ec32);_0x169839[_0x23f541(0x22c)]();}}}[_0x67f8f5(0x246)](){const _0x1b499d=_0x67f8f5;this[_0x1b499d(0x231)][_0x1b499d(0x246)]();}[_0x67f8f5(0x257)](){const _0x531c47=_0x67f8f5;this[_0x531c47(0x231)][_0x531c47(0x257)]();}[_0x67f8f5(0x2ad)](_0x3a83fd){const _0x33fac8=_0x67f8f5;_0x3a83fd!=null&&this[_0x33fac8(0x203)][_0x33fac8(0x264)](_0x3a83fd);}['_addAllTreeMap'](_0x36724d){const _0xfa669=_0x67f8f5;var _0x395169,_0x53914b;const _0x14a599=_0x36724d['rangeList'];let _0x2b0e39=this[_0xfa669(0x203)]['get'](_0x36724d[_0xfa669(0x2ab)]);for(let _0x1d98bc=0x0;_0x1d98bc<_0x14a599[_0xfa669(0x23d)];_0x1d98bc++){const _0x544578=_0x14a599[_0x1d98bc];let {unitId:_0xb354af,sheetId:_0x2a6bd2,range:_0x44cf47}=_0x544578;_0x2b0e39||(_0x2b0e39=new Map(),this['_allTreeMap']['set'](_0x36724d[_0xfa669(0x2ab)],_0x2b0e39)),_0x2b0e39[_0xfa669(0x218)](_0xb354af)||_0x2b0e39[_0xfa669(0x21c)](_0xb354af,new Map());const _0x533344=(_0x395169=_0x2b0e39==null?void 0x0:_0x2b0e39['get'](_0xb354af))==null?void 0x0:_0x395169[_0xfa669(0x243)](_0x2a6bd2);_0x533344&&(_0x44cf47={'startRow':Math[_0xfa669(0x2a5)](_0x44cf47[_0xfa669(0x1df)],_0x533344['startRow']),'startColumn':Math[_0xfa669(0x2a5)](_0x44cf47[_0xfa669(0x2d3)],_0x533344[_0xfa669(0x2d3)]),'endRow':Math[_0xfa669(0x255)](_0x44cf47['endRow'],_0x533344[_0xfa669(0x270)]),'endColumn':Math[_0xfa669(0x255)](_0x44cf47[_0xfa669(0x27f)],_0x533344['endColumn'])}),(_0x53914b=_0x2b0e39[_0xfa669(0x243)](_0xb354af))==null||_0x53914b[_0xfa669(0x21c)](_0x2a6bd2,_0x44cf47);}}}var _0x433f49=Object[_0x67f8f5(0x272)],_0x456ae3=(_0x676364,_0x586bec,_0x5f10d0,_0x51af3f)=>{const _0x4d477b=_0x67f8f5;for(var _0x42ad11=_0x51af3f>0x1?void 0x0:_0x51af3f?_0x433f49(_0x586bec,_0x5f10d0):_0x586bec,_0x500128=_0x676364[_0x4d477b(0x23d)]-0x1,_0x3b7578;_0x500128>=0x0;_0x500128--)(_0x3b7578=_0x676364[_0x500128])&&(_0x42ad11=_0x3b7578(_0x42ad11)||_0x42ad11);return _0x42ad11;};const _0x33ad58=Number[_0x67f8f5(0x2c5)](0x69400444);_0x17634a[_0x67f8f5(0x2cd)]=class extends _0x4c60e2['UniverFormulaEnginePlugin']{[_0x67f8f5(0x253)](){const _0x1f3cef=_0x67f8f5;var _0x3aee7c,_0x250570;this[_0x1f3cef(0x22f)]()?(this[_0x1f3cef(0x226)]['add']([_0x4c60e2[_0x1f3cef(0x2c2)],{'useClass':_0x420ed6}]),(_0x3aee7c=this[_0x1f3cef(0x1ee)])!=null&&_0x3aee7c[_0x1f3cef(0x252)]||[[_0x4c60e2[_0x1f3cef(0x295)],{'useClass':_0x1c5623}],[_0x4c60e2[_0x1f3cef(0x2cc)],{'useClass':_0x13e1f4}],[_0x4c60e2[_0x1f3cef(0x2d9)],{'useClass':_0x477742}]][_0x1f3cef(0x288)](_0x4b5099=>this['_injector']['add'](_0x4b5099))):(this['_injector'][_0x1f3cef(0x22a)]([_0x4c60e2[_0x1f3cef(0x2c2)],{'useClass':_0x4c60e2[_0x1f3cef(0x2c2)]}]),(_0x250570=this['_config'])!=null&&_0x250570[_0x1f3cef(0x252)]||[[_0x4c60e2['ICalculateFormulaService'],{'useClass':_0x4c60e2[_0x1f3cef(0x2da)]}],[_0x4c60e2[_0x1f3cef(0x2cc)],{'useClass':_0x4c60e2['DependencyManagerService']}],[_0x4c60e2[_0x1f3cef(0x2d9)],{'useClass':_0x4c60e2['FormulaDependencyGenerator']}]]['forEach'](_0x4c8c4b=>this[_0x1f3cef(0x226)][_0x1f3cef(0x22a)](_0x4c8c4b)));}[_0x67f8f5(0x22f)](){const _0x31385c=_0x67f8f5;var _0x5d209e;const _0x5eba98=(_0x5d209e=this[_0x31385c(0x2c3)][_0x31385c(0x2d7)](_0x2c592a['LS_CONFIG_KEY']))!=null?_0x5d209e:{},{ls:_0x1f6bc4,pbk:_0x2ef06d}=_0x5eba98;if(!_0x1f6bc4||!_0x2ef06d)return!0x1;const _0x2d72e0=_0x2c592a['unshiftString'](_0x661189,_0x47b3ad),_0x72746c=new Function(_0x31385c(0x1e6)+_0x2d72e0)()(_0x1f6bc4,_0x2ef06d),_0x5a1efd=_0x72746c['message'];return _0x72746c[_0x31385c(0x2c1)]&&_0x2c592a[_0x31385c(0x26e)](_0x5a1efd,'sf',_0x33ad58)?_0x2c592a['getSheetFeatureLimit'](_0x5a1efd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x17634a['UniverProFormulaEnginePlugin']=_0x456ae3([_0x1f95f9[_0x67f8f5(0x23a)](_0x2c592a[_0x67f8f5(0x2b6)])],_0x17634a[_0x67f8f5(0x2cd)]),_0x17634a[_0x67f8f5(0x1e0)]=_0x420ed6,Object[_0x67f8f5(0x21a)](_0x4c60e2)[_0x67f8f5(0x288)](_0x284efc=>{const _0x31ea75=_0x67f8f5;_0x284efc!==_0x31ea75(0x234)&&!Object[_0x31ea75(0x292)][_0x31ea75(0x2bf)][_0x31ea75(0x25d)](_0x17634a,_0x284efc)&&Object[_0x31ea75(0x238)](_0x17634a,_0x284efc,{'enumerable':!0x0,'get':()=>_0x4c60e2[_0x284efc]});}),Object[_0x67f8f5(0x238)](_0x17634a,Symbol[_0x67f8f5(0x1da)],{'value':'Module'});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.12.4",
3
+ "version": "0.13.0-insiders.20251215-64041bb",
4
4
  "private": false,
5
5
  "description": "UniverSheet pro base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,16 +57,16 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs-pro/license": "0.12.4",
61
- "@univerjs/core": "0.12.4",
62
- "@univerjs/engine-formula": "0.12.4"
60
+ "@univerjs/core": "0.13.0-insiders.20251215-64041bb",
61
+ "@univerjs-pro/license": "0.13.0-insiders.20251215-64041bb",
62
+ "@univerjs/engine-formula": "0.13.0-insiders.20251215-64041bb"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "^5.9.3",
67
- "vite": "^7.2.6",
67
+ "vite": "^7.2.7",
68
68
  "vitest": "^4.0.15",
69
- "@univerjs-infra/shared": "0.12.4"
69
+ "@univerjs-infra/shared": "0.13.0"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",