@univerjs-pro/engine-formula 0.14.0-insiders.20251222-4efcfbb → 0.14.0-insiders.20251227-b250a8d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x3002b5=_0x14eb;function _0x1a7a(){const _0x425b61=['6371248QCZMEM','1259062RidGgQ','prototype','24STbqRW','60tuAPJS','2ByyXzo','call','5066346TsDFgI','1268406uaSCnE','55492zafAXz','2308KcFkbP','7685FimeNL','3229820XPKzEM','default','keys','toStringTag'];_0x1a7a=function(){return _0x425b61;};return _0x1a7a();}function _0x14eb(_0x22b8d7,_0x3760bb){_0x22b8d7=_0x22b8d7-0x83;const _0x1a7a4f=_0x1a7a();let _0x14eb7d=_0x1a7a4f[_0x22b8d7];return _0x14eb7d;}(function(_0x53ed9d,_0x507acf){const _0x1e95da=_0x14eb,_0x49d046=_0x53ed9d();while(!![]){try{const _0x2be8e6=parseInt(_0x1e95da(0x87))/0x1*(-parseInt(_0x1e95da(0x8b))/0x2)+-parseInt(_0x1e95da(0x89))/0x3+parseInt(_0x1e95da(0x8c))/0x4*(parseInt(_0x1e95da(0x8d))/0x5)+parseInt(_0x1e95da(0x85))/0x6*(parseInt(_0x1e95da(0x83))/0x7)+-parseInt(_0x1e95da(0x92))/0x8+parseInt(_0x1e95da(0x8a))/0x9+parseInt(_0x1e95da(0x86))/0xa*(parseInt(_0x1e95da(0x8e))/0xb);if(_0x2be8e6===_0x507acf)break;else _0x49d046['push'](_0x49d046['shift']());}catch(_0x47c2dd){_0x49d046['push'](_0x49d046['shift']());}}}(_0x1a7a,0xec65f));Object['defineProperty'](exports,Symbol[_0x3002b5(0x91)],{'value':'Module'});const t=require('@univerjs/engine-formula/facade');Object[_0x3002b5(0x90)](t)['forEach'](_0x2801d5=>{const _0x4753a3=_0x3002b5;_0x2801d5!==_0x4753a3(0x8f)&&!Object[_0x4753a3(0x84)]['hasOwnProperty'][_0x4753a3(0x88)](exports,_0x2801d5)&&Object['defineProperty'](exports,_0x2801d5,{'enumerable':!0x0,'get':()=>t[_0x2801d5]});});
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x176749=_0x43e7;function _0x43e7(_0x1aa694,_0x5c8f1d){_0x1aa694=_0x1aa694-0xe6;const _0x477537=_0x4775();let _0x43e778=_0x477537[_0x1aa694];return _0x43e778;}(function(_0x1fab25,_0x222ec7){const _0x1068f9=_0x43e7,_0x3d5257=_0x1fab25();while(!![]){try{const _0x2adef3=-parseInt(_0x1068f9(0x1d3))/0x1*(-parseInt(_0x1068f9(0x141))/0x2)+-parseInt(_0x1068f9(0x14d))/0x3*(-parseInt(_0x1068f9(0x1e8))/0x4)+-parseInt(_0x1068f9(0x186))/0x5*(-parseInt(_0x1068f9(0x189))/0x6)+-parseInt(_0x1068f9(0x144))/0x7+parseInt(_0x1068f9(0x145))/0x8+-parseInt(_0x1068f9(0x16c))/0x9*(parseInt(_0x1068f9(0x192))/0xa)+-parseInt(_0x1068f9(0x1a7))/0xb;if(_0x2adef3===_0x222ec7)break;else _0x3d5257['push'](_0x3d5257['shift']());}catch(_0x4895cc){_0x3d5257['push'](_0x3d5257['shift']());}}}(_0x4775,0x39c1d));var k=Object[_0x176749(0x129)],K=(_0x317c87,_0x5d60f2,_0x1abe27)=>_0x5d60f2 in _0x317c87?k(_0x317c87,_0x5d60f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1abe27}):_0x317c87[_0x5d60f2]=_0x1abe27,F=(_0x491147,_0xda1b53,_0x1ac1d7)=>K(_0x491147,typeof _0xda1b53!=_0x176749(0xfd)?_0xda1b53+'':_0xda1b53,_0x1ac1d7);Object[_0x176749(0x129)](exports,Symbol['toStringTag'],{'value':_0x176749(0x1d2)});const a=require('@univerjs/engine-formula'),E=require('@univerjs-pro/license'),R=require('@univerjs/core');class L extends a['LexerTreeBuilder']{constructor(){const _0x4e541e=_0x176749;super(...arguments),F(this,_0x4e541e(0xf3),!0x1),F(this,'_lambdaFunctionParameterSet',new Set()),F(this,_0x4e541e(0x188),_0x4e541e(0x155)),F(this,_0x4e541e(0x148),_0x4e541e(0x1df)),F(this,_0x4e541e(0xf8),'');}[_0x176749(0x1b9)](){const _0x51a351=_0x176749;this[_0x51a351(0x188)]=_0x51a351(0x155),this[_0x51a351(0x148)]=_0x51a351(0x1df);}[_0x176749(0x150)](){const _0x54d7cc=_0x176749;this[_0x54d7cc(0x188)]='',this['_xlfnPrefix']='';}['getNewFormulaWithPrefix'](_0x5ced78,_0x4103d1){const _0x2271cb=_0x176749,_0x4624b3=this[_0x2271cb(0x1a4)](_0x5ced78,!0x1);if(!_0x4624b3||_0x4624b3===a['ErrorType']['VALUE']||Array[_0x2271cb(0x187)](_0x4624b3))return null;const _0x2d53a=[];return this[_0x2271cb(0xf3)]=!0x1,this[_0x2271cb(0x153)](_0x4624b3,_0x2d53a,_0x4103d1),this[_0x2271cb(0xf3)]?'='+_0x2d53a['join'](''):null;}[_0x176749(0x153)](_0x209331,_0x2a4b34,_0x182bd9){const _0x57e2f9=_0x176749,_0x3961c7=_0x209331['getToken'](),_0x180a13=_0x3961c7[_0x57e2f9(0x1c0)](),_0x4a4f43=_0x180a13[_0x57e2f9(0x135)](),_0x365f95=this['_clearFunctionString'](_0x4a4f43),_0x3b6abf=_0x182bd9(_0x365f95);let _0x5e0289=0x0;_0x3961c7===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x5e0289=0x3:_0x3961c7===a[_0x57e2f9(0x18d)]?_0x5e0289=0x4:_0x3961c7===a[_0x57e2f9(0x14b)]?_0x5e0289=0x5:a[_0x57e2f9(0x111)][_0x57e2f9(0x1d4)](_0x365f95)?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0):_0x4a4f43===a[_0x57e2f9(0x110)]?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0,_0x5e0289=0x2):_0x4a4f43===a[_0x57e2f9(0x1ce)]?(_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x148)]+_0x180a13),this[_0x57e2f9(0xf3)]=!0x0,_0x5e0289=0x1):_0x4a4f43===a[_0x57e2f9(0x198)]['COLON']?_0x5e0289=0x8:a[_0x57e2f9(0x1e7)]['has'](_0x4a4f43)?_0x5e0289=0x7:_0x4a4f43===a[_0x57e2f9(0x12f)][_0x57e2f9(0x114)]?(this[_0x57e2f9(0x195)](_0x209331)&&(_0x5e0289=0x9),_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7)):(_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7),_0x5e0289=0xa),_0x3b6abf?(_0x5e0289!==0x2&&_0x5e0289!==0x1&&(_0x5e0289=0x6),_0x2a4b34[_0x57e2f9(0x136)]('(')):_0x5e0289===0x9&&_0x2a4b34['push']('(');const _0x598480=_0x209331[_0x57e2f9(0x10b)](),_0x471280=_0x598480[_0x57e2f9(0x1ba)];if(_0x5e0289===0x2){const _0x440196=_0x598480[0x0];let _0x382418=0x0;_0x440196 instanceof a['LexerNode']&&_0x440196[_0x57e2f9(0x182)]()===a[_0x57e2f9(0x14b)]&&(_0x382418=0x1);for(let _0x3d44bc=_0x382418;_0x3d44bc<_0x471280-0x1;_0x3d44bc++){const _0x397515=_0x598480[_0x3d44bc];if(_0x397515 instanceof a['LexerNode']){const _0x6052cf=_0x397515[_0x57e2f9(0x10b)]()[0x0];typeof _0x6052cf==_0x57e2f9(0x19c)&&(this[_0x57e2f9(0x193)][_0x57e2f9(0x1d4)](_0x6052cf)&&console[_0x57e2f9(0x123)](_0x57e2f9(0x1ab)+_0x6052cf+_0x57e2f9(0x12a)),this['_lambdaFunctionParameterSet'][_0x57e2f9(0x1d9)](_0x6052cf),_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x188)]+_0x6052cf),this[_0x57e2f9(0xf3)]=!0x0);}_0x2a4b34['push'](',');}this[_0x57e2f9(0x185)](_0x598480[_0x471280-0x1],_0x2a4b34,_0x182bd9),_0x382418===0x1&&(_0x2a4b34[_0x57e2f9(0x136)](')'),_0x2a4b34[_0x57e2f9(0x136)]('('),this[_0x57e2f9(0x153)](_0x440196,_0x2a4b34,_0x182bd9)),_0x2a4b34[_0x57e2f9(0x136)](')');return;}else{if(_0x5e0289===0x1){for(let _0x21d61a=0x0;_0x21d61a<_0x471280-0x1;_0x21d61a++){const _0x5bf0ff=_0x598480[_0x21d61a];if(_0x5bf0ff instanceof a[_0x57e2f9(0x116)]&&_0x21d61a%0x2===0x0){const _0x130068=_0x5bf0ff[_0x57e2f9(0x10b)]()[0x0];if(typeof _0x130068==_0x57e2f9(0x19c)){this[_0x57e2f9(0x193)][_0x57e2f9(0x1d4)](_0x130068)&&console[_0x57e2f9(0x123)](_0x57e2f9(0xef)+_0x130068+_0x57e2f9(0x12a)),this[_0x57e2f9(0x193)][_0x57e2f9(0x1d9)](_0x130068),_0x2a4b34[_0x57e2f9(0x136)](''+this[_0x57e2f9(0x188)]+_0x130068),this['_hasNewExcelFunction']=!0x0,_0x2a4b34[_0x57e2f9(0x136)](',');continue;}}if(this[_0x57e2f9(0x185)](_0x5bf0ff,_0x2a4b34,_0x182bd9),_0x5bf0ff instanceof a[_0x57e2f9(0x116)]){const _0x3a697b=_0x598480[_0x21d61a+0x1];_0x3a697b&&_0x3a697b instanceof a[_0x57e2f9(0x116)]&&_0x2a4b34[_0x57e2f9(0x136)](',');}}this[_0x57e2f9(0x185)](_0x598480[_0x471280-0x1],_0x2a4b34,_0x182bd9),_0x2a4b34[_0x57e2f9(0x136)](')');return;}else{if(_0x5e0289===0x8){const _0x2b36d6=_0x598480[0x0],_0x25826f=_0x598480[0x1];this[_0x57e2f9(0x185)](_0x2b36d6,_0x2a4b34,_0x182bd9),_0x2a4b34['push'](_0x3961c7),this['_handleNewFunctionChild'](_0x25826f,_0x2a4b34,_0x182bd9);return;}}}for(let _0x5b2a1f=0x0;_0x5b2a1f<_0x471280;_0x5b2a1f++){const _0x33921c=_0x598480[_0x5b2a1f];if(this[_0x57e2f9(0x185)](_0x33921c,_0x2a4b34,_0x182bd9),_0x33921c instanceof a[_0x57e2f9(0x116)]){const _0x414820=_0x598480[_0x5b2a1f+0x1];_0x414820&&_0x414820 instanceof a['LexerNode']&&_0x2a4b34[_0x57e2f9(0x136)](',');}}_0x5e0289===0x7&&_0x2a4b34[_0x57e2f9(0x136)](_0x3961c7),(_0x3b6abf||_0x5e0289===0x9)&&_0x2a4b34['push'](')');}['_handleNewFunctionChild'](_0x27d216,_0x1ec122,_0x3e6521){const _0x1b5e50=_0x176749;_0x27d216 instanceof a[_0x1b5e50(0x116)]?this[_0x1b5e50(0x153)](_0x27d216,_0x1ec122,_0x3e6521):this['_lambdaFunctionParameterSet'][_0x1b5e50(0x1d4)](_0x27d216)?(_0x1ec122[_0x1b5e50(0x136)](''+this[_0x1b5e50(0x188)]+_0x27d216),this[_0x1b5e50(0xf3)]=!0x0):_0x1ec122[_0x1b5e50(0x136)](_0x27d216);}['_clearFunctionString'](_0x53d8c2){const _0x4340a8=_0x176749;let _0x1c2769=_0x53d8c2['trim']();if(!_0x1c2769)return _0x1c2769;const _0x270cf7=_0x1c2769[0x0];if((_0x270cf7===a[_0x4340a8(0x12f)]['AT']||_0x270cf7===a['prefixToken']['MINUS']||_0x270cf7===a[_0x4340a8(0x12f)][_0x4340a8(0x140)])&&(_0x1c2769=_0x1c2769[_0x4340a8(0x17e)](0x1)),!_0x1c2769)return _0x1c2769;const _0x2c29b9=_0x1c2769[_0x1c2769[_0x4340a8(0x1ba)]-0x1];return a[_0x4340a8(0x1e7)][_0x4340a8(0x1d4)](_0x2c29b9)&&(_0x1c2769=_0x1c2769[_0x4340a8(0x17e)](0x0,-0x1)),_0x1c2769;}['_checkAddBracketForMinus'](_0x842896){const _0x8dd6e7=_0x176749,_0x25ff00=_0x842896['getChildren']()[0x0];if(!_0x25ff00||!(_0x25ff00 instanceof a[_0x8dd6e7(0x116)])||_0x842896[_0x8dd6e7(0x10b)]()[_0x8dd6e7(0x1ba)]>0x1)return!0x1;const _0x190167=_0x25ff00[_0x8dd6e7(0x10b)](),_0x3ca5d9=_0x190167[_0x8dd6e7(0x1ba)];if(_0x3ca5d9===0x1)return!0x1;for(let _0x4ca4d8=0x0;_0x4ca4d8<_0x3ca5d9;_0x4ca4d8++){const _0x11c70=_0x190167[_0x4ca4d8];if(!(_0x11c70 instanceof a[_0x8dd6e7(0x116)])&&a[_0x8dd6e7(0x100)]['has'](_0x11c70))return!0x0;}return!0x1;}[_0x176749(0x18a)](_0x2952fc,_0x26fb29,_0x42f385,_0x353505,_0x287bdd){const _0x5a7c5b=_0x176749,_0x19a6bb=this['treeBuilder'](_0x2952fc,!0x1);if(!_0x19a6bb||_0x19a6bb===a[_0x5a7c5b(0x1de)][_0x5a7c5b(0x13d)]||Array[_0x5a7c5b(0x187)](_0x19a6bb))return null;this[_0x5a7c5b(0x150)](),this[_0x5a7c5b(0xf8)]=_0x26fb29;const _0x5aa0b6=this['_generateExprTree'](_0x19a6bb,_0x42f385,_0x353505,_0x287bdd);return this[_0x5a7c5b(0xf8)]='',this[_0x5a7c5b(0x1b9)](),_0x5aa0b6;}['_generateExprTree'](_0x277bcb,_0x7c43da,_0x2f137f,_0x5668bc){const _0x5398d9=_0x176749,_0x3808df={'value':'','children':[],'startIndex':0x0};let _0x40d762=_0x277bcb;if(_0x40d762 instanceof a[_0x5398d9(0x116)]&&(_0x40d762[_0x5398d9(0x182)]()===a[_0x5398d9(0x152)]||_0x40d762[_0x5398d9(0x182)]()===a['DEFAULT_TOKEN_TYPE_PARAMETER'])&&_0x40d762[_0x5398d9(0x10b)]()[_0x5398d9(0x1ba)]===0x1&&(_0x40d762=_0x40d762[_0x5398d9(0x10b)]()[0x0]),!(_0x40d762 instanceof a[_0x5398d9(0x116)]))return this['_handleTextNodeForExprTree'](_0x40d762,_0x2f137f,_0x5668bc);const _0x26ab5e=_0x40d762[_0x5398d9(0x10b)](),_0x1ec9b9=_0x26ab5e[_0x5398d9(0x1ba)],_0x1ceca4=[];this[_0x5398d9(0x153)](_0x40d762,_0x1ceca4,_0x7c43da),_0x3808df[_0x5398d9(0x16f)]=_0x1ceca4[_0x5398d9(0x113)](''),_0x3808df[_0x5398d9(0x137)]=_0x40d762[_0x5398d9(0x1aa)]();const _0x57eabb=this[_0x5398d9(0x179)](_0x40d762);if(_0x57eabb===0x2){const _0x5a271d=_0x26ab5e[0x0];if(_0x5a271d instanceof a[_0x5398d9(0x116)]){if(_0x5a271d[_0x5398d9(0x182)]()['trim']()!==a[_0x5398d9(0x14b)])return _0x3808df;this[_0x5398d9(0x161)](_0x5a271d,_0x3808df,_0x7c43da,_0x2f137f,_0x5668bc);}return _0x3808df;}else{if(_0x57eabb===0x1){for(let _0x50624a=0x0;_0x50624a<_0x1ec9b9-0x1;_0x50624a++){const _0x51f717=_0x26ab5e[_0x50624a];if(_0x51f717 instanceof a['LexerNode']&&_0x50624a%0x2===0x1){const _0x245315=_0x51f717[_0x5398d9(0x10b)]();if(_0x245315[_0x5398d9(0x1ba)]===0x1&&!(_0x245315[0x0]instanceof a['LexerNode']))continue;const _0x55cdd3=this[_0x5398d9(0xee)](_0x51f717,_0x7c43da,_0x2f137f,_0x5668bc);_0x55cdd3&&_0x3808df['children'][_0x5398d9(0x136)](_0x55cdd3);}}return _0x3808df;}else{if(_0x57eabb===0x8){const _0x5734a9=_0x26ab5e[0x0];if(_0x5734a9 instanceof a[_0x5398d9(0x116)]){const _0x4ca6ad=_0x5734a9[_0x5398d9(0x10b)]()[0x0];_0x4ca6ad instanceof a['LexerNode']&&(_0x3808df[_0x5398d9(0x137)]=_0x4ca6ad[_0x5398d9(0x1aa)]());}if(this[_0x5398d9(0x1cb)](_0x40d762))return _0x3808df;}else{if(_0x57eabb===0x7){const _0x218c26=_0x26ab5e[0x0];if(_0x218c26 instanceof a[_0x5398d9(0x116)]){const _0x457b48=_0x218c26[_0x5398d9(0x10b)]()[0x0];_0x457b48 instanceof a[_0x5398d9(0x116)]&&(_0x3808df[_0x5398d9(0x137)]=_0x457b48[_0x5398d9(0x1aa)]());}}}}}return this[_0x5398d9(0x17b)](_0x26ab5e,_0x57eabb,_0x3808df,_0x7c43da,_0x2f137f,_0x5668bc),_0x3808df;}[_0x176749(0x17b)](_0x20c2d6,_0x388276,_0x1eac53,_0x3940a9,_0x29b7c,_0x509dbb){const _0x4319ab=_0x176749;for(let _0x1e7ab0=0x0;_0x1e7ab0<_0x20c2d6[_0x4319ab(0x1ba)];_0x1e7ab0++){let _0x68edd9=_0x20c2d6[_0x1e7ab0];if(!(_0x68edd9 instanceof a['LexerNode'])){const _0x268679=this[_0x4319ab(0x16e)](_0x68edd9,_0x29b7c,_0x509dbb);_0x268679&&_0x1eac53[_0x4319ab(0x1bd)][_0x4319ab(0x136)](_0x268679);continue;}const _0x45962b=_0x68edd9['getChildren']();if(_0x45962b[_0x4319ab(0x1ba)]===0x1&&!(_0x45962b[0x0]instanceof a[_0x4319ab(0x116)])){const _0x19f647=_0x45962b[0x0];if(!_0x29b7c(this[_0x4319ab(0xf8)],_0x19f647)&&!this[_0x4319ab(0x108)](_0x19f647,_0x509dbb)&&!a[_0x4319ab(0x194)](_0x19f647))continue;}if(_0x388276===0x8){const _0x81b1ae=_0x45962b[0x0];if(_0x81b1ae instanceof a[_0x4319ab(0x116)]){const _0xc808c4=_0x81b1ae['getToken']()['trim']();if(a[_0x4319ab(0x194)](_0xc808c4))continue;_0x68edd9=_0x81b1ae;}}const _0x46dd41=this['_generateExprTree'](_0x68edd9,_0x3940a9,_0x29b7c,_0x509dbb);_0x46dd41&&_0x1eac53[_0x4319ab(0x1bd)]['push'](_0x46dd41);}}[_0x176749(0x1cb)](_0x87da74){const _0x1ef21c=_0x176749,_0x354c18=_0x87da74['getChildren']();if(_0x354c18[_0x1ef21c(0x1ba)]<0x2)return!0x1;const _0x495e0e=_0x354c18[0x0],_0x1919f0=_0x354c18[0x1];if(!(_0x495e0e instanceof a[_0x1ef21c(0x116)])||!(_0x1919f0 instanceof a[_0x1ef21c(0x116)]))return!0x1;const _0x372253=_0x495e0e['getChildren']()[0x0],_0x31ff0e=_0x1919f0[_0x1ef21c(0x10b)]()[0x0];if(!(_0x372253 instanceof a[_0x1ef21c(0x116)])||!(_0x31ff0e instanceof a[_0x1ef21c(0x116)]))return!0x1;const _0x111c64=_0x372253['getToken']()[_0x1ef21c(0x1c0)](),_0x33047f=_0x31ff0e[_0x1ef21c(0x182)]()[_0x1ef21c(0x1c0)]();return!!a[_0x1ef21c(0x194)](''+_0x111c64+a['matchToken'][_0x1ef21c(0x12d)]+_0x33047f);}['_handleTextNodeForExprTree'](_0x3c7fd6,_0x379dd3,_0x2b7865){const _0x5a82d7=_0x176749,_0x13952a=_0x3c7fd6[_0x5a82d7(0x1c0)]();return _0x13952a[_0x5a82d7(0x15f)]('{')&&_0x13952a[_0x5a82d7(0x1af)]('}')||_0x379dd3(this[_0x5a82d7(0xf8)],_0x13952a)||this[_0x5a82d7(0x108)](_0x13952a,_0x2b7865)||a[_0x5a82d7(0x194)](_0x13952a)?{'value':_0x13952a,'children':[],'startIndex':-0x1}:null;}[_0x176749(0x108)](_0x32c9d7,_0x1a16f5){const _0x369d2e=_0x176749,{tableName:_0x1b244b}=a[_0x369d2e(0x15c)](_0x32c9d7);return _0x1a16f5(this[_0x369d2e(0xf8)],_0x1b244b)?_0x1b244b:null;}['_handleLambdaForExprTree'](_0x482ed2,_0x3a4c3f,_0x28242f,_0x56d4f4,_0x540241){const _0x1f0044=_0x176749,_0x4d44c6=_0x482ed2[_0x1f0044(0x10b)]();for(let _0x571e76=0x0;_0x571e76<_0x4d44c6['length'];_0x571e76++){const _0x55933e=_0x4d44c6[_0x571e76];if(!(_0x55933e instanceof a[_0x1f0044(0x116)]))continue;const _0x7f0e38=_0x55933e[_0x1f0044(0x10b)]();if(_0x7f0e38[_0x1f0044(0x1ba)]===0x1&&!(_0x7f0e38[0x0]instanceof a[_0x1f0044(0x116)]))continue;const _0x1f6f3e=this['_generateExprTree'](_0x55933e,_0x28242f,_0x56d4f4,_0x540241);_0x1f6f3e&&_0x3a4c3f[_0x1f0044(0x1bd)]['push'](_0x1f6f3e);}}['_getCurNodeTypeForExprTree'](_0x285b59){const _0xca841f=_0x176749,_0x4599f6=_0x285b59[_0xca841f(0x182)](),_0x56379a=_0x4599f6[_0xca841f(0x1c0)]()['toUpperCase']();let _0x12a1f4=0x0;return _0x4599f6===a['DEFAULT_TOKEN_TYPE_ROOT']?_0x12a1f4=0x3:_0x4599f6===a[_0xca841f(0x18d)]?_0x12a1f4=0x4:_0x4599f6===a[_0xca841f(0x14b)]?_0x12a1f4=0x5:_0x56379a===a[_0xca841f(0x110)]?_0x12a1f4=0x2:_0x56379a===a['DEFAULT_TOKEN_LET_FUNCTION_NAME']?_0x12a1f4=0x1:_0x56379a===a[_0xca841f(0x198)][_0xca841f(0x12d)]?_0x12a1f4=0x8:a[_0xca841f(0x1e7)]['has'](_0x56379a)?_0x12a1f4=0x7:_0x56379a===a[_0xca841f(0x12f)][_0xca841f(0x114)]?this[_0xca841f(0x195)](_0x285b59)&&(_0x12a1f4=0x9):_0x12a1f4=0xa,_0x12a1f4;}}const B={0x0:'Y',0x1:'9',0x2:'Q',0x3:'d',0x4:'8',0x5:'0',0x6:'i',0x7:'3',0x8:'y',0x9:'s','S':'1','J':'2','d':'4','n':'5','P':'6','m':'7','x':'a','B':'b','U':'c','s':'e','e':'f','y':'g','f':'h','L':'j','h':'k','R':'l','i':'m','W':'n','V':'o','c':'p','b':'q','N':'r','l':'t','O':'u','F':'v','I':'w','K':'x','M':'z','Z':'A','a':'B','Y':'C','G':'D','r':'E','j':'F','E':'G','o':'H','T':'I','w':'J','Q':'K','u':'L','z':'M','v':'N','H':'O','t':'P','A':'R','k':'S','q':'T','p':'U','X':'V','C':'W','D':'X','g':'Z'},b=_0x176749(0x19d);class Y extends a[_0x176749(0x1a0)]{constructor(){const _0x32b281=_0x176749;super(...arguments),F(this,_0x32b281(0x11c),new Map());}[_0x176749(0x138)](){const _0x5a4378=_0x176749;super[_0x5a4378(0x138)](),this[_0x5a4378(0x11c)][_0x5a4378(0x11d)]();}async[_0x176749(0x1e5)](_0x17331d=!0x1){const _0x44a295=_0x176749;this[_0x44a295(0x109)]();const _0x223c3e=this[_0x44a295(0x168)][_0x44a295(0x158)](),_0x2e3cd5=this[_0x44a295(0x1cd)][_0x44a295(0x119)](),_0x445d32=this[_0x44a295(0x168)][_0x44a295(0x1b8)]();_0x445d32!=null&&Object[_0x44a295(0x105)](_0x445d32)[_0x44a295(0x165)](_0x2890a2=>{const _0x2e2cf9=_0x44a295;_0x2890a2!=null&&Object[_0x2e2cf9(0x105)](_0x445d32[_0x2890a2])[_0x2e2cf9(0x165)](_0x131e9d=>{const _0x5c7e01=_0x2e2cf9;_0x131e9d!=null&&(this[_0x5c7e01(0x1a9)]['clearOtherFormulaDependency'](_0x2890a2,_0x131e9d),this[_0x5c7e01(0x1a9)][_0x5c7e01(0xeb)](_0x2890a2,_0x131e9d),this[_0x5c7e01(0x1a9)][_0x5c7e01(0x12b)](_0x2890a2,_0x131e9d));});});const _0x1cf7ed=this['_currentConfigService'][_0x44a295(0x13b)]();await this[_0x44a295(0x1c4)](_0x223c3e,_0x2e3cd5,_0x1cf7ed),this[_0x44a295(0x1a9)][_0x44a295(0x1e4)]();const _0x263af5=this['_getUpdateTreeListAndMakeDependency'](),_0x264cbf=this[_0x44a295(0x12c)](_0x263af5);return this[_0x44a295(0x170)](_0x264cbf)&&this[_0x44a295(0xff)][_0x44a295(0xec)](),_0x17331d&&this[_0x44a295(0xff)][_0x44a295(0x1c2)](this[_0x44a295(0x1ac)](Array[_0x44a295(0x1be)](this[_0x44a295(0x11c)]['values']()))),this[_0x44a295(0x11c)]['clear'](),this['_dependencyRTreeCacheForAddressFunction'][_0x44a295(0x11d)](),this[_0x44a295(0x1a9)][_0x44a295(0xfe)](),this[_0x44a295(0xff)]['clearArrayObjectCache'](),Promise[_0x44a295(0x122)](_0x264cbf);}[_0x176749(0x106)](_0x52b468,_0x27d5df){const _0x224bc4=_0x176749,_0x2520c1=[_0x52b468];for(;_0x2520c1[_0x224bc4(0x1ba)]>0x0;){const _0x2fc7d9=_0x2520c1[_0x2520c1[_0x224bc4(0x1ba)]-0x1];if((_0x27d5df['get'](_0x2fc7d9)||0x0)===0x0){_0x27d5df['set'](_0x2fc7d9,0x1);const _0xbee0f9=this[_0x224bc4(0x11c)][_0x224bc4(0x175)](_0x2fc7d9);if(_0xbee0f9==null){_0x27d5df[_0x224bc4(0x190)](_0x2fc7d9,0x2),_0x2520c1[_0x224bc4(0x166)]();continue;}const _0x303217=this[_0x224bc4(0x1a9)][_0x224bc4(0x1d0)](_0xbee0f9['toRTreeItem']());for(const _0x51f379 of _0x303217){const _0x5919aa=_0x27d5df['get'](_0x51f379)||0x0;if(_0x5919aa===0x1)return!0x0;_0x5919aa===0x0&&_0x2520c1[_0x224bc4(0x136)](_0x51f379);}}else _0x27d5df[_0x224bc4(0x190)](_0x2fc7d9,0x2),_0x2520c1[_0x224bc4(0x166)]();}return!0x1;}['_checkIsCycleDependency'](_0x1a443d){const _0x4508fc=_0x176749,_0x841256=new Map();for(const _0x155e29 of _0x1a443d)if(!_0x841256['has'](_0x155e29[_0x4508fc(0x191)])&&this[_0x4508fc(0x106)](_0x155e29[_0x4508fc(0x191)],_0x841256))return!0x0;return _0x841256[_0x4508fc(0x11d)](),!0x1;}['_getFeatureFormulaTree'](_0x1a61a1,_0x2dee93,_0x5be2cf){const _0x59ff00=_0x176749,{unitId:_0x3df4b1,subUnitId:_0x3928f7,dependencyRanges:_0x2a563e,getDirtyData:_0x521c4d}=_0x5be2cf,_0x1276cf=_0x2dee93||a[_0x59ff00(0x1a3)](this[_0x59ff00(0x1a9)]),_0x1430b1=new a[(_0x59ff00(0x1b0))](_0x1276cf);_0x1430b1[_0x59ff00(0x120)]=_0x3df4b1,_0x1430b1[_0x59ff00(0x197)]=_0x3928f7,_0x1430b1[_0x59ff00(0x162)]=_0x2a563e,_0x1430b1[_0x59ff00(0x1a6)]=_0x521c4d;const _0x1530cb=_0x521c4d(this[_0x59ff00(0x168)]['getDirtyData'](),this['_runtimeService'][_0x59ff00(0x172)]()),_0x2c00d5=this[_0x59ff00(0x18f)](_0x1530cb[_0x59ff00(0x1bf)]);return _0x1430b1[_0x59ff00(0x11e)]=_0x2c00d5,_0x1430b1['featureId']=_0x1a61a1,_0x1430b1[_0x59ff00(0x10e)]=a[_0x59ff00(0x15e)]['FEATURE_FORMULA'],this[_0x59ff00(0x1a9)][_0x59ff00(0xf4)](_0x3df4b1,_0x3928f7,_0x1a61a1,_0x1430b1),this[_0x59ff00(0x11c)][_0x59ff00(0x190)](_0x1430b1[_0x59ff00(0x191)],_0x1430b1),this['_dependencyManagerService']['getFeatureFormulaDependency'](_0x5be2cf[_0x59ff00(0x120)],_0x5be2cf['subUnitId'],_0x1a61a1)&&(_0x1430b1[_0x59ff00(0x130)]=!0x0),_0x1430b1;}['_registerOtherFormulas'](_0x59089c,_0xf745ba,_0x198090){const _0x4dde36=_0x176749;var _0x3e27cd;for(const _0x42723d of _0xf745ba){const _0x47529d=_0x59089c[_0x42723d];if(_0x47529d==null)continue;const _0x4b8a66=Object[_0x4dde36(0x105)](_0x47529d);for(const _0x5b527d of _0x4b8a66){const _0x41c0d4=_0x47529d[_0x5b527d];if(_0x41c0d4==null)continue;const _0x2d22a1=Object['keys'](_0x41c0d4);for(const _0x308519 of _0x2d22a1){const _0x107f30=this['_dependencyManagerService'][_0x4dde36(0x19e)](_0x308519),_0x2a861e=_0x41c0d4[_0x308519],{f:_0x48f6fd,ranges:_0x2e892a}=_0x2a861e;let _0x392783=!0x1;_0x107f30&&(_0x392783=!0x0);const {firstRow:_0x4807df,firstColumn:_0x41780f}=this[_0x4dde36(0xf5)](_0x2e892a),_0x314bd9=this[_0x4dde36(0x1a9)][_0x4dde36(0xf1)](_0x42723d,_0x5b527d,_0x308519),_0x154bc4=(_0x3e27cd=_0x314bd9==null?void 0x0:_0x314bd9[_0x4dde36(0x151)](0x0,0x0))!=null?_0x3e27cd:a[_0x4dde36(0x1a3)](this[_0x4dde36(0x1a9)]),_0x845a4c=new a[(_0x4dde36(0x1b0))](_0x154bc4);for(let _0x2304e2=0x0;_0x2304e2<_0x2e892a[_0x4dde36(0x1ba)];_0x2304e2++){const _0xa4bd03=_0x2e892a[_0x2304e2],{startRow:_0x5ecbcf,startColumn:_0x34101b,endRow:_0xab3548,endColumn:_0x401f06}=_0xa4bd03;for(let _0x16b9ce=_0x5ecbcf;_0x16b9ce<=_0xab3548;_0x16b9ce++)for(let _0x4c92e7=_0x34101b;_0x4c92e7<=_0x401f06;_0x4c92e7++){const _0x167356=_0x4c92e7-_0x41780f,_0x4427cf=_0x16b9ce-_0x4807df;if(_0x167356===0x0&&_0x4427cf===0x0){_0x845a4c[_0x4dde36(0xf6)]=_0x48f6fd,_0x845a4c[_0x4dde36(0x120)]=_0x42723d,_0x845a4c[_0x4dde36(0x197)]=_0x5b527d,_0x845a4c[_0x4dde36(0x133)]=_0x308519,_0x845a4c[_0x4dde36(0x10e)]=a[_0x4dde36(0x15e)][_0x4dde36(0xea)],_0x845a4c[_0x4dde36(0x130)]=_0x392783,_0x198090[_0x4dde36(0x136)](_0x845a4c),this['_dependencyTreeCache']['set'](_0x845a4c[_0x4dde36(0x191)],_0x845a4c),this[_0x4dde36(0x1a9)][_0x4dde36(0x17c)](_0x42723d,_0x5b527d,_0x308519,_0x845a4c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x845a4c);continue;}const _0x7611a=new a['FormulaDependencyTreeVirtual']();_0x7611a[_0x4dde36(0x191)]=(_0x314bd9==null?void 0x0:_0x314bd9[_0x4dde36(0x151)](_0x167356,_0x4427cf))||a[_0x4dde36(0x1a3)](this[_0x4dde36(0x1a9)]),_0x7611a[_0x4dde36(0x143)]=_0x845a4c,_0x7611a[_0x4dde36(0x1dd)]=_0x167356,_0x7611a['refOffsetY']=_0x4427cf,_0x7611a[_0x4dde36(0x130)]=_0x392783,_0x7611a[_0x4dde36(0x10e)]=a['FormulaDependencyTreeType'][_0x4dde36(0xea)],this[_0x4dde36(0x1a9)]['addOtherFormulaDependency'](_0x42723d,_0x5b527d,_0x308519,_0x7611a),this[_0x4dde36(0x1a9)]['addFormulaDependencyByDefinedName'](_0x7611a),_0x198090[_0x4dde36(0x136)](_0x7611a),this[_0x4dde36(0x11c)][_0x4dde36(0x190)](_0x7611a[_0x4dde36(0x191)],_0x7611a);}}this[_0x4dde36(0x1a9)]['addOtherFormulaDependencyMainData'](_0x308519);}}}}[_0x176749(0x176)](_0x208749,_0x362b80,_0x1ab491,_0x17e112){const _0x325157=_0x176749;for(const _0x20e0f6 of _0x208749){const _0x1436b7=_0x362b80[_0x20e0f6];if(_0x1436b7==null)continue;const _0x5c456f=Object[_0x325157(0x105)](_0x1436b7);for(const _0x5cc0ae of _0x5c456f){const _0x4758e0=new R[(_0x325157(0xfa))](_0x1436b7[_0x5cc0ae]||{}),_0x671d9e=new Map();_0x4758e0[_0x325157(0x142)]((_0x17cbf8,_0x5aa132,_0x12a36d)=>{const _0x2b1e8e=_0x325157;if(_0x12a36d==null)return!0x0;const {x:_0x238cc5=0x0,y:_0x37de3a=0x0,si:_0x411b29}=_0x12a36d;if(!(_0x238cc5===0x0&&_0x37de3a===0x0&&_0x411b29!=null))return!0x0;const _0x195522=this[_0x2b1e8e(0x1d5)](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132,_0x1ab491,_0x12a36d),_0x3399ef=this[_0x2b1e8e(0x1a9)]['getFormulaDependency'](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132);_0x3399ef!=null?_0x195522[_0x2b1e8e(0x191)]=_0x3399ef:(this[_0x2b1e8e(0x1a9)]['addFormulaDependency'](_0x20e0f6,_0x5cc0ae,_0x17cbf8,_0x5aa132,_0x195522),this[_0x2b1e8e(0x1a9)][_0x2b1e8e(0x164)](_0x195522)),_0x671d9e['set'](_0x411b29,_0x195522),_0x17e112[_0x2b1e8e(0x136)](_0x195522),this[_0x2b1e8e(0x11c)]['set'](_0x195522['treeId'],_0x195522);}),_0x4758e0['forValue']((_0x4d0e3e,_0x465080,_0x44ca17)=>{const _0x519526=_0x325157;if(_0x44ca17==null)return!0x0;const {x:_0x39d0ce=0x0,y:_0x7df717=0x0,si:_0x487549}=_0x44ca17;if(_0x39d0ce===0x0&&_0x7df717===0x0&&_0x487549!=null)return!0x0;let _0x41abc9;if(_0x487549&&_0x671d9e[_0x519526(0x1d4)](_0x487549)){const _0x2c22a4=_0x671d9e['get'](_0x487549);_0x41abc9=this[_0x519526(0x102)](_0x2c22a4,_0x44ca17);}else _0x41abc9=this[_0x519526(0x1d5)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080,_0x1ab491,_0x44ca17);const _0x44cf39=this[_0x519526(0x1a9)][_0x519526(0x13e)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080);_0x44cf39!=null?_0x41abc9[_0x519526(0x191)]=_0x44cf39:(this['_dependencyManagerService'][_0x519526(0x173)](_0x20e0f6,_0x5cc0ae,_0x4d0e3e,_0x465080,_0x41abc9),this[_0x519526(0x1a9)][_0x519526(0x164)](_0x41abc9)),_0x17e112[_0x519526(0x136)](_0x41abc9),this[_0x519526(0x11c)][_0x519526(0x190)](_0x41abc9['treeId'],_0x41abc9);}),_0x671d9e[_0x325157(0x11d)]();}}}[_0x176749(0x1d5)](_0x3f86da,_0x2e812d,_0x10fb4b,_0x32c8fc,_0x548b4d,_0x13e2d3){const _0x302b27=_0x176749,{f:_0x326afa,x:_0x4baa5c=0x0,y:_0x5a0f90=0x0}=_0x13e2d3,_0xe741f1=new a[(_0x302b27(0x1b0))](a['generateRandomDependencyTreeId'](this[_0x302b27(0x1a9)])),_0x40852f=_0x548b4d[_0x3f86da][_0x2e812d];return _0xe741f1[_0x302b27(0xf6)]=_0x326afa,_0xe741f1[_0x302b27(0x120)]=_0x3f86da,_0xe741f1[_0x302b27(0x197)]=_0x2e812d,_0xe741f1[_0x302b27(0x139)]=_0x10fb4b,_0xe741f1[_0x302b27(0x1b4)]=_0x32c8fc,_0xe741f1[_0x302b27(0xfc)]=_0x40852f[_0x302b27(0xfc)],_0xe741f1['columnCount']=_0x40852f[_0x302b27(0xe7)],_0xe741f1;}[_0x176749(0x149)](){const _0x4bf928=_0x176749,_0xc688da=[],_0x142cad=new Set(),_0x263398=this[_0x4bf928(0x168)]['isForceCalculate'](),_0x289aa9=this[_0x4bf928(0x168)][_0x4bf928(0x18c)](),_0x5c21af=this[_0x4bf928(0x1a9)][_0x4bf928(0x1d0)](_0x289aa9),_0x4bfb1a=this[_0x4bf928(0x178)][_0x4bf928(0x1e2)](_0x289aa9);for(const _0x3b37be of _0x4bfb1a)_0x5c21af[_0x4bf928(0x1d9)](_0x3b37be);for(const [_0xf671c8,_0x575e51]of this[_0x4bf928(0x11c)])(_0x263398||_0x575e51[_0x4bf928(0x11f)]||_0x575e51[_0x4bf928(0x10d)](this[_0x4bf928(0x168)][_0x4bf928(0x1c3)]())||_0x5c21af[_0x4bf928(0x1d4)](_0xf671c8)&&!_0x575e51[_0x4bf928(0x18e)](this['_currentConfigService'][_0x4bf928(0x14f)]()))&&!_0x142cad['has'](_0xf671c8)&&(_0xc688da[_0x4bf928(0x136)](_0x575e51),_0x142cad['add'](_0xf671c8));for(const [_0x381403,_0x5db157]of this[_0x4bf928(0x11c)])_0x5db157['isVirtual']||(_0x5db157[_0x4bf928(0x162)][_0x4bf928(0x1ba)]=0x0);return _0xc688da;}[_0x176749(0x1e6)](_0x6d5430){const _0x201968=_0x176749;return this[_0x201968(0x11c)][_0x201968(0x175)](_0x6d5430);}['_getTreeNode'](_0x3c00c0){const _0x5c50e3=_0x176749;return a['generateAstNode'](_0x3c00c0[_0x5c50e3(0x120)],_0x3c00c0[_0x5c50e3(0xf6)],this['_lexer'],this[_0x5c50e3(0x19a)],this[_0x5c50e3(0x168)]);}*[_0x176749(0x104)](_0xbee054,_0x17e3a1){const _0x1c67ec=_0x176749,_0x18aea2=_0xbee054,_0x462851=new Set();for(;_0x18aea2[_0x1c67ec(0x1ba)]>0x0;){const _0x304b3d=_0x18aea2['pop']();if(_0x462851[_0x1c67ec(0x11d)](),_0x304b3d===void 0x0||_0x304b3d[_0x1c67ec(0x1b5)]())continue;if(_0x304b3d[_0x1c67ec(0x1d7)]()){yield _0x304b3d,_0x304b3d[_0x1c67ec(0x1a5)](),_0x17e3a1[_0x1c67ec(0x1d9)](_0x304b3d[_0x1c67ec(0x191)]);continue;}const _0x424487=this['_dependencyManagerService'][_0x1c67ec(0x1d0)](_0x304b3d[_0x1c67ec(0x1b1)](),_0x17e3a1),_0x2902a0=this[_0x1c67ec(0x178)][_0x1c67ec(0x1e2)](_0x304b3d[_0x1c67ec(0x1b1)](),_0x17e3a1);for(const _0x509d3e of _0x2902a0)_0x424487[_0x1c67ec(0x1d9)](_0x509d3e);for(const _0x5a55ce of _0x424487){const _0x7d0e26=this['_dependencyTreeCache'][_0x1c67ec(0x175)](_0x5a55ce);if(!_0x7d0e26){console[_0x1c67ec(0x123)](_0x1c67ec(0x10c),_0x5a55ce);continue;}_0x7d0e26[_0x1c67ec(0x1d7)]()||_0x304b3d[_0x1c67ec(0x1b5)]()||_0x462851['add'](_0x7d0e26);}if(_0x424487[_0x1c67ec(0x11d)](),_0x462851[_0x1c67ec(0x1e1)]===0x0)yield _0x304b3d,_0x304b3d[_0x1c67ec(0x1a5)](),_0x17e3a1[_0x1c67ec(0x1d9)](_0x304b3d[_0x1c67ec(0x191)]);else{_0x304b3d[_0x1c67ec(0x16b)](),_0x18aea2[_0x1c67ec(0x136)](_0x304b3d);for(const _0x1bba85 of _0x462851)_0x18aea2[_0x1c67ec(0x136)](_0x1bba85);}}_0x18aea2[_0x1c67ec(0x1ba)]=0x0,_0x462851[_0x1c67ec(0x11d)]();}[_0x176749(0x12c)](_0x277f52){const _0x434bc5=_0x176749,_0x3021b1=[],_0x31a80c=new Set();for(const _0x1bfa7d of this[_0x434bc5(0x104)](_0x277f52,_0x31a80c))_0x3021b1[_0x434bc5(0x136)](_0x1bfa7d);return _0x3021b1;}async[_0x176749(0x14c)](){const _0x375558=_0x176749;return await this[_0x375558(0xfb)](),Array['from'](this['_dependencyTreeCache'][_0x375558(0x134)]());}[_0x176749(0x10a)](_0x37c0bc){const _0x44e1ed=_0x176749;return this['_dependencyManagerService'][_0x44e1ed(0x1d0)](_0x37c0bc[_0x44e1ed(0x1b1)]());}['_getDependencyTreeChildrenIds'](_0x36ed37){const _0x40af4f=_0x176749,_0x5b5ab0=new Set(),_0x3515d7=_0x36ed37['rangeList'];for(const [_0x125c74,_0x442eec]of this[_0x40af4f(0x11c)])for(const _0xb6bb9 of _0x3515d7){const _0x567878=_0xb6bb9[_0x40af4f(0x120)],_0x15b959=_0xb6bb9['sheetId'];if(_0x442eec[_0x40af4f(0x120)]!==_0x567878||_0x442eec[_0x40af4f(0x197)]!==_0x15b959)continue;const _0x43cc54=_0xb6bb9[_0x40af4f(0x1c5)];if(_0x442eec[_0x40af4f(0x1cf)](_0x43cc54)){_0x5b5ab0[_0x40af4f(0x1d9)](_0x125c74);break;}}return _0x5b5ab0;}[_0x176749(0xf2)](){const _0x31ba5e=_0x176749;this[_0x31ba5e(0x1a9)][_0x31ba5e(0x1e4)]();}[_0x176749(0x157)](){const _0x59cf1c=_0x176749;this[_0x59cf1c(0x1b6)]['clear'](),this['_dependencyTreeCache'][_0x59cf1c(0x11d)](),this[_0x59cf1c(0x1a9)][_0x59cf1c(0xfe)]();}}class G extends a['CalculateFormulaService']{async['_apply'](_0x10d8f4=!0x1){const _0x32c640=_0x176749;_0x10d8f4?this[_0x32c640(0xff)]['setFormulaExecuteStage'](a['FormulaExecuteStageType'][_0x32c640(0x103)]):this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)]['START_DEPENDENCY']),this['_executionInProgressListener$']['next'](this['_runtimeService'][_0x32c640(0x132)]());const _0x55407e=await this['_formulaDependencyGenerator'][_0x32c640(0x1e5)](this[_0x32c640(0x124)]),_0x458f48=this[_0x32c640(0x171)];_0x10d8f4?(this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)][_0x32c640(0xe8)]),this[_0x32c640(0xff)]['setTotalArrayFormulasToCalculate'](_0x55407e[_0x32c640(0x1ba)])):(this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)]['START_CALCULATION']),this[_0x32c640(0xff)]['setTotalFormulasToCalculate'](_0x55407e[_0x32c640(0x1ba)])),this['_executionInProgressListener$']['next'](this[_0x32c640(0xff)][_0x32c640(0x132)]());let _0x33ec37=[];const _0x3de543=this[_0x32c640(0x1c6)][_0x32c640(0x196)](a['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x42c164=(_0x3de543==null?void 0x0:_0x3de543[_0x32c640(0x1bb)])||a[_0x32c640(0x1bc)];let _0x1acc3e=0x0;const _0x38da6b=_0x55407e['length'];for(;_0x55407e[_0x32c640(0x1ba)]>0x0;){const _0x42d18c=_0x55407e[_0x32c640(0x166)](),_0x371e2e=a['generateAstNode'](_0x42d18c['unitId'],_0x42d18c['formula'],this[_0x32c640(0x181)],this[_0x32c640(0x19a)],this[_0x32c640(0x168)]),_0x444df5={'node':_0x371e2e,'refOffsetX':_0x42d18c[_0x32c640(0x1dd)],'refOffsetY':_0x42d18c['refOffsetY']},_0x2c2094=_0x42d18c[_0x32c640(0x1a6)];if(_0x1acc3e%_0x42c164===0x0&&(await new Promise(_0x23f7cc=>{const _0x439cda=_0x32c640,_0x902644=R[_0x439cda(0x115)](_0x23f7cc);_0x33ec37[_0x439cda(0x136)](_0x902644);}),_0x10d8f4?(this['_runtimeService'][_0x32c640(0x112)](a['FormulaExecuteStageType'][_0x32c640(0x147)]),this[_0x32c640(0xff)][_0x32c640(0x17a)](_0x1acc3e+0x1)):(this['_runtimeService'][_0x32c640(0x112)](a[_0x32c640(0x16a)]['CURRENTLY_CALCULATING']),this[_0x32c640(0xff)][_0x32c640(0x1d6)](_0x1acc3e+0x1)),this[_0x32c640(0x13a)][_0x32c640(0x128)](this[_0x32c640(0xff)]['getRuntimeState']()),this[_0x32c640(0xff)][_0x32c640(0x180)]()||_0x444df5==null&&_0x2c2094==null)){this[_0x32c640(0xff)][_0x32c640(0x112)](a[_0x32c640(0x16a)][_0x32c640(0x15b)]),this[_0x32c640(0xff)][_0x32c640(0x1c1)](),this[_0x32c640(0x177)][_0x32c640(0x128)](this['_runtimeService'][_0x32c640(0x172)]());return;}this['_runtimeService']['setCurrent'](_0x42d18c[_0x32c640(0x139)],_0x42d18c[_0x32c640(0x1b4)],_0x42d18c['rowCount'],_0x42d18c[_0x32c640(0xe7)],_0x42d18c['subUnitId'],_0x42d18c['unitId']);let _0x1e5650;if(_0x2c2094!=null&&_0x42d18c[_0x32c640(0x1db)]!=null){const {runtimeCellData:_0x49c459,dirtyRanges:_0x53ad19}=_0x2c2094(this[_0x32c640(0x168)]['getDirtyData'](),this[_0x32c640(0xff)][_0x32c640(0x172)]());this[_0x32c640(0xff)][_0x32c640(0x127)](_0x42d18c['featureId'],_0x49c459),this[_0x32c640(0xff)][_0x32c640(0x131)](_0x42d18c[_0x32c640(0x1db)],_0x53ad19);}else _0x444df5!=null&&(_0x458f48[_0x32c640(0x14a)](_0x444df5[_0x32c640(0x159)])?_0x1e5650=await _0x458f48[_0x32c640(0x19b)](_0x444df5):_0x1e5650=_0x458f48[_0x32c640(0x1da)](_0x444df5),_0x42d18c['formulaId']!=null?this[_0x32c640(0xff)]['setRuntimeOtherData'](_0x42d18c[_0x32c640(0x133)],_0x42d18c[_0x32c640(0x1dd)],_0x42d18c['refOffsetY'],_0x1e5650):this[_0x32c640(0xff)]['setRuntimeData'](_0x1e5650));_0x371e2e['resetCalculationState'](),_0x1acc3e++;}return _0x33ec37[_0x32c640(0x165)](_0x3db3ef=>_0x3db3ef()),_0x33ec37=[],_0x38da6b>0x0?this[_0x32c640(0xff)][_0x32c640(0x1ca)]():_0x10d8f4||this[_0x32c640(0xff)][_0x32c640(0x11a)](),this[_0x32c640(0xff)][_0x32c640(0x172)]();}}class $ extends a[_0x176749(0x1cc)]{constructor(){const _0x1b4ee9=_0x176749;super(...arguments),F(this,_0x1b4ee9(0xf7),new Map()),F(this,_0x1b4ee9(0x15a),new R[(_0x1b4ee9(0x156))](!0x0));}[_0x176749(0x12e)](){const _0x517c5e=_0x176749;this['_otherFormulaData']['clear'](),this[_0x517c5e(0x13c)]['clear'](),this[_0x517c5e(0x13f)]['clear'](),this['_dependencyRTreeCache'][_0x517c5e(0x11d)](),this[_0x517c5e(0xf7)][_0x517c5e(0x11d)](),this[_0x517c5e(0x1c7)](),this[_0x517c5e(0x1dc)]['clear']();}['addOtherFormulaDependency'](_0x23bd2c,_0x460ddf,_0x96a636,_0x523781){const _0x578e27=_0x176749;this[_0x578e27(0x117)][_0x578e27(0x1d4)](_0x23bd2c)||this['_otherFormulaData']['set'](_0x23bd2c,new Map());const _0x12e879=this['_otherFormulaData'][_0x578e27(0x175)](_0x23bd2c);_0x12e879[_0x578e27(0x1d4)](_0x460ddf)||_0x12e879[_0x578e27(0x190)](_0x460ddf,new Map());const _0x868c2=_0x12e879[_0x578e27(0x175)](_0x460ddf);_0x868c2['has'](_0x96a636)||_0x868c2[_0x578e27(0x190)](_0x96a636,new R[(_0x578e27(0xfa))]()),_0x868c2[_0x578e27(0x175)](_0x96a636)[_0x578e27(0x199)](_0x523781[_0x578e27(0x1dd)],_0x523781['refOffsetY'],_0x523781[_0x578e27(0x191)]);}[_0x176749(0x184)](_0x3f67da,_0x44b57e,_0x8d671b){const _0x486a4f=_0x176749,_0xcbd521=this[_0x486a4f(0x117)][_0x486a4f(0x175)](_0x3f67da);if(_0xcbd521&&_0xcbd521[_0x486a4f(0x1d4)](_0x44b57e)){const _0x335113=_0xcbd521[_0x486a4f(0x175)](_0x44b57e);_0x8d671b[_0x486a4f(0x165)](_0x4860eb=>{const _0x465a2f=_0x486a4f,_0xc96a90=_0x335113[_0x465a2f(0x175)](_0x4860eb);_0xc96a90!=null&&(_0xc96a90[_0x465a2f(0x142)]((_0x5a77b0,_0x814091,_0x14cbf0)=>{const _0x19c52d=_0x465a2f;this[_0x19c52d(0x121)](_0x14cbf0),this[_0x19c52d(0x19f)](_0x14cbf0);}),_0x335113[_0x465a2f(0x167)](_0x4860eb),this[_0x465a2f(0x1dc)]['delete'](_0x4860eb));}),_0x335113['size']===0x0&&_0xcbd521[_0x486a4f(0x167)](_0x44b57e),_0xcbd521[_0x486a4f(0x1e1)]===0x0&&this[_0x486a4f(0x117)][_0x486a4f(0x167)](_0x3f67da);}}['clearOtherFormulaDependency'](_0x30183f,_0x42841a){const _0x176f68=_0x176749,_0x4ee6ad=this[_0x176f68(0x117)]['get'](_0x30183f);if(_0x42841a&&_0x4ee6ad&&_0x4ee6ad[_0x176f68(0x1d4)](_0x42841a)){const _0x3577dd=_0x4ee6ad['get'](_0x42841a);this['_removeDependencyRTreeCacheById'](_0x30183f,_0x42841a);for(const _0xa498a6 of _0x3577dd[_0x176f68(0x105)]()){const _0x59e912=_0x3577dd[_0x176f68(0x175)](_0xa498a6);_0x59e912!=null&&(_0x59e912[_0x176f68(0x142)]((_0x177d8b,_0xb1cc35,_0x58229c)=>{const _0xde545d=_0x176f68;this[_0xde545d(0xf7)]['get'](_0x58229c)&&this[_0xde545d(0x19f)](_0x58229c);}),this[_0x176f68(0x1dc)][_0x176f68(0x167)](_0xa498a6));}_0x3577dd['clear']();}else{if(_0x4ee6ad){for(const _0x52818b of _0x4ee6ad[_0x176f68(0x105)]()){const _0x228ff1=_0x4ee6ad[_0x176f68(0x175)](_0x52818b);this['_removeDependencyRTreeCacheById'](_0x30183f,_0x52818b);for(const _0xa25db0 of _0x228ff1[_0x176f68(0x105)]()){const _0x5f07d0=_0x228ff1[_0x176f68(0x175)](_0xa25db0);_0x5f07d0!=null&&(_0x5f07d0[_0x176f68(0x142)]((_0x13bb17,_0x37c771,_0x1de863)=>{const _0x5730c7=_0x176f68;this[_0x5730c7(0xf7)][_0x5730c7(0x175)](_0x1de863)&&this[_0x5730c7(0x19f)](_0x1de863);}),this[_0x176f68(0x1dc)][_0x176f68(0x167)](_0xa25db0));}}this[_0x176f68(0x117)][_0x176f68(0x167)](_0x30183f);}}}[_0x176749(0xf4)](_0x2a3d1c,_0x5fc788,_0x2159a1,_0x4fffc0){const _0x1801c8=_0x176749;this['_featureFormulaData'][_0x1801c8(0x1d4)](_0x2a3d1c)||this['_featureFormulaData'][_0x1801c8(0x190)](_0x2a3d1c,new Map());const _0x3daf23=this[_0x1801c8(0x13c)][_0x1801c8(0x175)](_0x2a3d1c);_0x3daf23[_0x1801c8(0x1d4)](_0x5fc788)||_0x3daf23[_0x1801c8(0x190)](_0x5fc788,new Map()),_0x3daf23[_0x1801c8(0x175)](_0x5fc788)[_0x1801c8(0x190)](_0x2159a1,_0x4fffc0[_0x1801c8(0x191)]);}[_0x176749(0xf9)](_0x4eb38b,_0x4c9aec,_0x21c6fc){const _0x405921=_0x176749,_0x41aaa1=this[_0x405921(0x13c)][_0x405921(0x175)](_0x4eb38b);if(_0x41aaa1&&_0x41aaa1['has'](_0x4c9aec)){const _0x5f8e8e=_0x41aaa1['get'](_0x4c9aec);_0x21c6fc[_0x405921(0x165)](_0x27c7b0=>{const _0x3b9edf=_0x405921,_0x2d127a=_0x5f8e8e[_0x3b9edf(0x175)](_0x27c7b0);_0x2d127a!=null&&(this[_0x3b9edf(0x121)](_0x2d127a),_0x5f8e8e['delete'](_0x27c7b0),this[_0x3b9edf(0x19f)](_0x2d127a));});}}[_0x176749(0xeb)](_0xfa44f4,_0x4ecfb8){const _0xc8d1c7=_0x176749,_0x39afee=this[_0xc8d1c7(0x13c)]['get'](_0xfa44f4);if(_0x4ecfb8&&_0x39afee&&_0x39afee['has'](_0x4ecfb8)){const _0x1f9329=_0x39afee[_0xc8d1c7(0x175)](_0x4ecfb8);this['_removeDependencyRTreeCacheById'](_0xfa44f4,_0x4ecfb8),_0x1f9329['forEach'](_0x5f0177=>{const _0x206ad7=_0xc8d1c7;_0x5f0177!=null&&this[_0x206ad7(0x19f)](_0x5f0177);}),_0x1f9329[_0xc8d1c7(0x11d)]();}else _0x39afee&&(_0x39afee['forEach']((_0x498340,_0x165db6)=>{const _0x36d85f=_0xc8d1c7;this[_0x36d85f(0x101)](_0xfa44f4,_0x165db6),_0x498340[_0x36d85f(0x165)](_0xf8ba3c=>{const _0x36358a=_0x36d85f;_0xf8ba3c!=null&&this[_0x36358a(0x19f)](_0xf8ba3c);});}),this[_0xc8d1c7(0x13c)][_0xc8d1c7(0x167)](_0xfa44f4));}[_0x176749(0x173)](_0x11100d,_0x55dc0f,_0x346614,_0x235570,_0x51050f){const _0x264d55=_0x176749;this[_0x264d55(0x13f)][_0x264d55(0x1d4)](_0x11100d)||this['_formulaData'][_0x264d55(0x190)](_0x11100d,new Map());const _0x24a048=this[_0x264d55(0x13f)]['get'](_0x11100d);_0x24a048[_0x264d55(0x1d4)](_0x55dc0f)||_0x24a048[_0x264d55(0x190)](_0x55dc0f,new R[(_0x264d55(0xfa))]()),_0x24a048[_0x264d55(0x175)](_0x55dc0f)[_0x264d55(0x199)](_0x346614,_0x235570,_0x51050f[_0x264d55(0x191)]);}[_0x176749(0x169)](_0x88671,_0x327814,_0x35591c,_0x19a0e5){const _0x535fce=_0x176749,_0x4b9f11=this[_0x535fce(0x13f)]['get'](_0x88671);if(_0x4b9f11&&_0x4b9f11[_0x535fce(0x1d4)](_0x327814)){const _0x47fda0=_0x4b9f11[_0x535fce(0x175)](_0x327814),_0x93caa5=_0x47fda0[_0x535fce(0x151)](_0x35591c,_0x19a0e5);if(_0x93caa5==null)return;this[_0x535fce(0x121)](_0x93caa5),_0x47fda0[_0x535fce(0x154)](_0x35591c,_0x19a0e5),this['_removeAllTreeMap'](_0x93caa5);}}['clearFormulaDependency'](_0x14d907,_0x4f334b){const _0x27278a=_0x176749,_0x39f9c2=this[_0x27278a(0x13f)]['get'](_0x14d907);if(_0x4f334b&&_0x39f9c2&&_0x39f9c2['has'](_0x4f334b)){const _0x3d2214=_0x39f9c2[_0x27278a(0x175)](_0x4f334b);this[_0x27278a(0x101)](_0x14d907,_0x4f334b),_0x3d2214[_0x27278a(0x142)]((_0x24b632,_0x55f580,_0x4c7735)=>{if(_0x4c7735==null)return!0x0;this['_removeAllTreeMap'](_0x4c7735);}),_0x3d2214['reset']();}else _0x39f9c2&&(_0x39f9c2[_0x27278a(0x165)]((_0xe4d0cc,_0x3e2b5a)=>{const _0x1c950f=_0x27278a;this['_removeDependencyRTreeCacheById'](_0x14d907,_0x3e2b5a),_0xe4d0cc[_0x1c950f(0x142)]((_0x2f7ecc,_0x3b8fb7,_0x5228c7)=>{const _0x5be23e=_0x1c950f;if(_0x5228c7==null)return!0x0;this[_0x5be23e(0x19f)](_0x5228c7);});}),this['_formulaData']['delete'](_0x14d907));}[_0x176749(0x121)](_0x42eec6){const _0x201597=_0x176749;if(_0x42eec6==null)return;const _0x5c93df=this['_allTreeMap']['get'](_0x42eec6);if(_0x5c93df){const _0x508d7f=[];for(const [_0x58c4a1,_0x511214]of _0x5c93df)for(const [_0x248b5b,_0x235f37]of _0x511214)_0x508d7f[_0x201597(0x136)]({'unitId':_0x58c4a1,'sheetId':_0x248b5b,'range':_0x235f37,'id':_0x42eec6});this[_0x201597(0x15a)]['bulkRemove'](_0x508d7f);}}[_0x176749(0xed)](_0x1e68b0,_0x35feba){const _0x11ac2a=_0x176749,_0x1c28fd=this[_0x11ac2a(0x1d8)]['get'](_0x1e68b0);if(_0x1c28fd){const _0x1f9313=_0x1c28fd[_0x11ac2a(0x175)](_0x35feba);if(_0x1f9313){for(const _0xfdda07 of _0x1f9313)this[_0x11ac2a(0x121)](_0xfdda07),this[_0x11ac2a(0x19f)](_0xfdda07);_0x1f9313[_0x11ac2a(0x11d)]();}}}[_0x176749(0x1e4)](){const _0x13c861=_0x176749;this[_0x13c861(0x15a)][_0x13c861(0x1e4)]();}[_0x176749(0xfe)](){const _0x2d722e=_0x176749;this[_0x2d722e(0x15a)][_0x2d722e(0xfe)]();}[_0x176749(0x19f)](_0x30c09b){const _0x12fd67=_0x176749;_0x30c09b!=null&&this[_0x12fd67(0xf7)][_0x12fd67(0x167)](_0x30c09b);}[_0x176749(0x1a8)](_0xc3b82){const _0x47adf6=_0x176749;var _0x3a7d01,_0x12d826;const _0x4975f6=_0xc3b82[_0x47adf6(0x162)];let _0x2927a3=this[_0x47adf6(0xf7)][_0x47adf6(0x175)](_0xc3b82[_0x47adf6(0x191)]);for(let _0x5d0267=0x0;_0x5d0267<_0x4975f6[_0x47adf6(0x1ba)];_0x5d0267++){const _0x52a96c=_0x4975f6[_0x5d0267];let {unitId:_0x3f8815,sheetId:_0x3662f0,range:_0x4091dc}=_0x52a96c;_0x2927a3||(_0x2927a3=new Map(),this[_0x47adf6(0xf7)][_0x47adf6(0x190)](_0xc3b82[_0x47adf6(0x191)],_0x2927a3)),_0x2927a3[_0x47adf6(0x1d4)](_0x3f8815)||_0x2927a3[_0x47adf6(0x190)](_0x3f8815,new Map());const _0x3bdb3a=(_0x3a7d01=_0x2927a3==null?void 0x0:_0x2927a3[_0x47adf6(0x175)](_0x3f8815))==null?void 0x0:_0x3a7d01[_0x47adf6(0x175)](_0x3662f0);_0x3bdb3a&&(_0x4091dc={'startRow':Math[_0x47adf6(0x1c8)](_0x4091dc[_0x47adf6(0x125)],_0x3bdb3a[_0x47adf6(0x125)]),'startColumn':Math[_0x47adf6(0x1c8)](_0x4091dc[_0x47adf6(0x163)],_0x3bdb3a[_0x47adf6(0x163)]),'endRow':Math[_0x47adf6(0x1ae)](_0x4091dc[_0x47adf6(0x1a2)],_0x3bdb3a['endRow']),'endColumn':Math[_0x47adf6(0x1ae)](_0x4091dc['endColumn'],_0x3bdb3a['endColumn'])}),(_0x12d826=_0x2927a3['get'](_0x3f8815))==null||_0x12d826[_0x47adf6(0x190)](_0x3662f0,_0x4091dc);}}}var j=Object['getOwnPropertyDescriptor'],X=(_0x5d2d1e,_0x694dc1,_0x4fcc0c,_0x5f0237)=>{const _0x8f42e2=_0x176749;for(var _0x2081a9=_0x5f0237>0x1?void 0x0:_0x5f0237?j(_0x694dc1,_0x4fcc0c):_0x694dc1,_0x5baccd=_0x5d2d1e[_0x8f42e2(0x1ba)]-0x1,_0x38eb91;_0x5baccd>=0x0;_0x5baccd--)(_0x38eb91=_0x5d2d1e[_0x5baccd])&&(_0x2081a9=_0x38eb91(_0x2081a9)||_0x2081a9);return _0x2081a9;};const z=Number[_0x176749(0x10f)](0x6948d2f2);function _0x4775(){const _0x2230aa=['checkAsyncNode','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','_getAllTreeList','6393dCsAjK','notExecuteFormula','getExcludedRange','_clearPrefix','getValue','DEFAULT_TOKEN_TYPE_ROOT','_generateNewFunctionString','realDeleteValue','_xlpm.','RTree','_endFormulaDependencyTreeModel','getFormulaData','node','_dependencyRTreeCache','IDLE','splitTableStructuredRef','return\x20','FormulaDependencyTreeType','startsWith','ICalculateFormulaService','_handleLambdaForExprTree','rangeList','startColumn','addFormulaDependencyByDefinedName','forEach','pop','delete','_currentConfigService','removeFormulaDependency','FormulaExecuteStageType','setAdded','18PCSjvx','hasOwnProperty','_handleTextNodeForExprTree','value','_checkIsCycleDependency','_interpreter','getAllRuntimeData','addFormulaDependency','prototype','get','_registerFormulas','_executionCompleteListener$','_dependencyRTreeCacheForAddressFunction','_getCurNodeTypeForExprTree','setCompletedArrayFormulasCount','_handleChildrenForExprTree','addOtherFormulaDependency','UniverFormulaEnginePlugin','slice','LexerTreeBuilder','isStopExecution','_lexer','getToken','_injector','removeOtherFormulaDependency','_handleNewFunctionChild','755YRLzth','isArray','_xlpmPrefix','16662Ronscu','getFormulaExprTree','LexerTreeProBuilder','getDirtyRanges','DEFAULT_TOKEN_TYPE_PARAMETER','isExcludeRange','_convertDirtyRangesToUnitRange','set','treeId','1413430rnmTAk','_lambdaFunctionParameterSet','isReferenceString','_checkAddBracketForMinus','getConfig','subUnitId','matchToken','setValue','_astTreeBuilder','executeAsync','string','/*\x20s9R6Wl-369xBRs\x20cNsesN-lsicRxls\x20*/eOWUl6VW\x203sUN8cl6VW(R6UsW9s,\x20cOBR6UQs8)\x20{\x20\x20\x20\x20lN8\x20{\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20R6UsW9sTWeVtxNlZNNx8\x20=\x20R6UsW9s.9cR6l(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20VN6y6Wzs99xys\x20=\x20wkHv.cxN9s(xlVB(R6UsW9sTWeVtxNlZNNx8[J]));\x20\x20\x20\x20\x20\x20\x20\x206e\x20(!VN6y6Wzs99xys.O3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VN6y6Wzs99xys.O3\x20=\x20vOiBsN(R6UsW9sTWeVtxNlZNNx8[d]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069CVNhsN\x20=\x20l8csVe\x20CVNhsNERVBxRkUVcs\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x209sRe\x206W9lxWUsVe\x20CVNhsNERVBxRkUVcs;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069aNVI9sN\x20=\x20l8csVe\x20I6W3VI\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x20l8csVe\x20I6W3VI.RVUxl6VW\x20!==\x20\x27OW3se6Ws3\x27;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20UVWlsKl\x20=\x2069CVNhsN\x20?\x209sRe\x20:\x20(69aNVI9sN\x20?\x20I6W3VI\x20:\x20yRVBxRqf69);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xysCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[J]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xys\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(is99xysCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONsCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[7]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONs\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(96yWxlONsCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWXxR63\x20=\x20UVWlsKl.__FsN6e8__(96yWxlONs,\x20is99xys,\x20cOBR6UQs8);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x203Vix6W\x20=\x20VN6y6Wzs99xys.3i;\x20\x20\x20\x20\x20\x20\x20\x20eOWUl6VW\x2069GVix6WzxlUf6Wy(cxllsNW,\x20fV9l)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW\x20===\x20fV9l)\x20NslONW\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW.9lxNl9C6lf(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x209Oee6K\x20=\x20cxllsNW.9R6Us(J);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(9Oee6K\x20&&\x20!fV9l.9lxNl9C6lf(\x27.\x27)\x20&&\x20fV9l\x20!==\x209Oee6K\x20&&\x20fV9l.sW39C6lf(\x27.\x27\x20+\x209Oee6K))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Rsl\x203Vix6WXxR63\x20=\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x206e\x20(69aNVI9sN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20(3Vix6W\x20&&\x203Vix6W.RsWylf)\x20?\x203Vix6W.9Vis((3iTlsi)\x20=>\x2069GVix6WzxlUf6Wy(3iTlsi,\x20RVUxl6VW.fV9lWxis))\x20:\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(RVUxl6VW.fV9lWxis\x20===\x20\x27RVUxRfV9l\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20sR9s\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20FxR63\x20=\x2096yWXxR63\x20&&\x203Vix6WXxR63;\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20VN6y6Wzs99xys,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20UxlUf\x20(sNNVN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63:\x20exR9s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','hasOtherFormulaDataMainData','_removeAllTreeMap','FormulaDependencyGenerator','LS_CONFIG_KEY','endRow','generateRandomDependencyTreeId','treeBuilder','setSkip','getDirtyData','8976616dBkcux','_addAllTreeMap','_dependencyManagerService','getStartIndex','Lambda\x20parameter\x20name\x20\x22','_getAllDependencyJson','default','max','endsWith','FormulaDependencyTree','toRTreeItem','_initLicenseValid','DependencyManagerService','column','isSkip','_formulaDependencyTreeModel','UniverProFormulaEnginePlugin','getClearDependencyTreeCache','_resetPrefix','length','intervalCount','DEFAULT_INTERVAL_COUNT','children','from','dirtyRanges','trim','markedAsStopFunctionsExecuted','setDependencyTreeModelData','getDirtyNameMap','_generateTreeList','range','_configService','_restDependencyTreeId','min','message','markedAsSuccessfullyExecuted','_checkColonNodeForExprTree','DependencyManagerBaseService','_otherFormulaManagerService','DEFAULT_TOKEN_LET_FUNCTION_NAME','inRangeData','searchDependency','IFormulaDependencyGenerator','Module','1POVszi','has','_createFDtree','setCompletedFormulasCount','isAdded','_definedNameMap','add','execute','featureId','_otherFormulaDataMainData','refOffsetX','ErrorType','_xlfn.','_initializeWithOverride','size','bulkSearch','unshiftString','openKdTree','generate','_getTreeById','SUFFIX_TOKEN_SET','596ACOaIj','IDependencyManagerService','columnCount','START_CALCULATION_ARRAY_FORMULA','call','OTHER_FORMULA','clearFeatureFormulaDependency','enableCycleDependency','removeFormulaDependencyByDefinedName','_generateExprTree','Let\x20variable\x20name\x20\x22','UniverLicensePlugin','getOtherFormulaDependency','_startFormulaDependencyTreeModel','_hasNewExcelFunction','addFeatureFormulaDependency','_getFirstCellOfRange','formula','_allTreeMap','_currentUnitId','removeFeatureFormulaDependency','ObjectMatrix','_initializeGenerateTreeList','rowCount','symbol','closeKdTree','_runtimeService','OPERATOR_TOKEN_SET','_removeDependencyRTreeCacheById','_createVirtualFDtree','START_DEPENDENCY_ARRAY_FORMULA','_traverse','keys','_isCyclicUtilMap','isFeatureAuthorizedWithinTime','_getTableNameFromStructuredRef','_updateRangeFlatten','_getDependencyTreeParenIds','getChildren','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','dependencySheetName','type','parseInt','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','NEW_EXCEL_FUNCTIONS','setFormulaExecuteStage','join','MINUS','requestImmediateMacroTask','LexerNode','_otherFormulaData','_config','getOtherFormulaData','markedAsNoFunctionsExecuted','CalculateFormulaService','_dependencyTreeCache','clear','featureDirtyRanges','isDirty','unitId','_removeDependencyRTreeCache','resolve','error','_isCalculateTreeModel','startRow','DependentOn','setRuntimeFeatureCellData','next','defineProperty','\x22\x20is\x20duplicated.','clearFormulaDependency','_calculateRunList','COLON','reset','prefixToken','isCache','setRuntimeFeatureRange','getRuntimeState','formulaId','values','toUpperCase','push','startIndex','dispose','row','_executionInProgressListener$','getUnitData','_featureFormulaData','VALUE','getFormulaDependency','_formulaData','PLUS','934986xQjdjG','forValue','refTree','856527aAWfOU','2026696UHjMED','valid','CURRENTLY_CALCULATING_ARRAY_FORMULA','_xlfnPrefix','_getUpdateTreeListAndMakeDependency'];_0x4775=function(){return _0x2230aa;};return _0x4775();}exports[_0x176749(0x1b7)]=class extends a[_0x176749(0x17d)]{[_0x176749(0x1e0)](){const _0x329eb2=_0x176749;var _0x3fa402,_0x5b2770;this['_initLicenseValid']()?(this[_0x329eb2(0x183)]['add']([a['LexerTreeBuilder'],{'useClass':L}]),(_0x3fa402=this[_0x329eb2(0x118)])!=null&&_0x3fa402[_0x329eb2(0x14e)]||[[a[_0x329eb2(0x160)],{'useClass':G}],[a['IDependencyManagerService'],{'useClass':$}],[a[_0x329eb2(0x1d1)],{'useClass':Y}]]['forEach'](_0x2828b9=>this[_0x329eb2(0x183)]['add'](_0x2828b9))):(this[_0x329eb2(0x183)]['add']([a[_0x329eb2(0x17f)],{'useClass':a[_0x329eb2(0x17f)]}]),(_0x5b2770=this[_0x329eb2(0x118)])!=null&&_0x5b2770[_0x329eb2(0x14e)]||[[a[_0x329eb2(0x160)],{'useClass':a[_0x329eb2(0x11b)]}],[a[_0x329eb2(0xe6)],{'useClass':a[_0x329eb2(0x1b3)]}],[a['IFormulaDependencyGenerator'],{'useClass':a['FormulaDependencyGenerator']}]][_0x329eb2(0x165)](_0xdaead8=>this[_0x329eb2(0x183)][_0x329eb2(0x1d9)](_0xdaead8)));}[_0x176749(0x1b2)](){const _0x3cc420=_0x176749;var _0xcd3b26;const _0x56ffd6=(_0xcd3b26=this[_0x3cc420(0x1c6)][_0x3cc420(0x196)](E[_0x3cc420(0x1a1)]))!=null?_0xcd3b26:{},{ls:_0x1199ee,pbk:_0xf7b0a7}=_0x56ffd6;if(!_0x1199ee||!_0xf7b0a7)return!0x1;const _0x3da36c=E[_0x3cc420(0x1e3)](b,B),_0x288983=new Function(_0x3cc420(0x15d)+_0x3da36c)()(_0x1199ee,_0xf7b0a7),_0x2454a4=_0x288983[_0x3cc420(0x1c9)];return _0x288983[_0x3cc420(0x146)]&&E[_0x3cc420(0x107)](_0x2454a4,'sf',z)?E['getSheetFeatureLimit'](_0x2454a4,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x176749(0x1b7)]=X([R[_0x176749(0x126)](E[_0x176749(0xf0)])],exports[_0x176749(0x1b7)]),exports[_0x176749(0x18b)]=L,Object['keys'](a)['forEach'](_0x58c56b=>{const _0x55e9ee=_0x176749;_0x58c56b!==_0x55e9ee(0x1ad)&&!Object[_0x55e9ee(0x174)][_0x55e9ee(0x16d)][_0x55e9ee(0xe9)](exports,_0x58c56b)&&Object[_0x55e9ee(0x129)](exports,_0x58c56b,{'enumerable':!0x0,'get':()=>a[_0x58c56b]});});
|
|
1
|
+
'use strict';const _0x2d220e=_0x57bc;(function(_0x3cd171,_0x3e123c){const _0x5347c8=_0x57bc,_0x14303b=_0x3cd171();while(!![]){try{const _0x1f6b0d=-parseInt(_0x5347c8(0x1db))/0x1+parseInt(_0x5347c8(0x19e))/0x2+parseInt(_0x5347c8(0x15c))/0x3*(parseInt(_0x5347c8(0x196))/0x4)+parseInt(_0x5347c8(0x117))/0x5+-parseInt(_0x5347c8(0x158))/0x6+parseInt(_0x5347c8(0x1c1))/0x7*(-parseInt(_0x5347c8(0x141))/0x8)+parseInt(_0x5347c8(0x1c4))/0x9*(parseInt(_0x5347c8(0x161))/0xa);if(_0x1f6b0d===_0x3e123c)break;else _0x14303b['push'](_0x14303b['shift']());}catch(_0x126221){_0x14303b['push'](_0x14303b['shift']());}}}(_0x5da7,0x39533));function _0x57bc(_0x3b6dc8,_0x1c0b55){_0x3b6dc8=_0x3b6dc8-0xff;const _0x5da71c=_0x5da7();let _0x57bc2e=_0x5da71c[_0x3b6dc8];return _0x57bc2e;}var w=Object[_0x2d220e(0x1b3)],k=(_0x4e7908,_0xaa5339,_0x5585a4)=>_0xaa5339 in _0x4e7908?w(_0x4e7908,_0xaa5339,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5585a4}):_0x4e7908[_0xaa5339]=_0x5585a4,D=(_0x2f557e,_0x5bb8c3,_0x455e82)=>k(_0x2f557e,typeof _0x5bb8c3!=_0x2d220e(0x1a2)?_0x5bb8c3+'':_0x5bb8c3,_0x455e82);Object[_0x2d220e(0x1b3)](exports,Symbol[_0x2d220e(0x1c8)],{'value':_0x2d220e(0x142)});const s=require('@univerjs/engine-formula'),N=require('@univerjs-pro/license'),M=require('@univerjs/core');class L extends s[_0x2d220e(0x154)]{constructor(){const _0x2abf54=_0x2d220e;super(...arguments),D(this,_0x2abf54(0x179),!0x1),D(this,_0x2abf54(0x105),new Set()),D(this,_0x2abf54(0x150),_0x2abf54(0x122)),D(this,_0x2abf54(0xff),'_xlfn.'),D(this,_0x2abf54(0x1eb),'');}[_0x2d220e(0x202)](){const _0x2cd071=_0x2d220e;this[_0x2cd071(0x150)]=_0x2cd071(0x122),this[_0x2cd071(0xff)]=_0x2cd071(0x1b1);}[_0x2d220e(0x1ce)](){const _0x33223b=_0x2d220e;this[_0x33223b(0x150)]='',this[_0x33223b(0xff)]='';}['getNewFormulaWithPrefix'](_0x3f7de6,_0xcd4e60){const _0x15dba0=_0x2d220e,_0x5023f7=this[_0x15dba0(0x133)](_0x3f7de6,!0x1);if(!_0x5023f7||_0x5023f7===s[_0x15dba0(0x129)][_0x15dba0(0x112)]||Array['isArray'](_0x5023f7))return null;const _0x2b3ef0=[];return this[_0x15dba0(0x179)]=!0x1,this[_0x15dba0(0x1d2)](_0x5023f7,_0x2b3ef0,_0xcd4e60),this['_hasNewExcelFunction']?'='+_0x2b3ef0[_0x15dba0(0x167)](''):null;}[_0x2d220e(0x1d2)](_0x1714a3,_0x2f573a,_0x2d3a48){const _0x51346e=_0x2d220e,_0x5a3902=_0x1714a3['getToken'](),_0x2ff80a=_0x5a3902[_0x51346e(0x13d)](),_0x32155a=_0x2ff80a['toUpperCase'](),_0x466c74=this[_0x51346e(0x187)](_0x32155a),_0x1225cc=_0x2d3a48(_0x466c74);let _0x4d17a9=0x0;_0x5a3902===s[_0x51346e(0x1e3)]?_0x4d17a9=0x3:_0x5a3902===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x4d17a9=0x4:_0x5a3902===s[_0x51346e(0x153)]?_0x4d17a9=0x5:s[_0x51346e(0x1f4)][_0x51346e(0x19d)](_0x466c74)?(_0x2f573a[_0x51346e(0x149)](''+this[_0x51346e(0xff)]+_0x2ff80a),this[_0x51346e(0x179)]=!0x0):_0x32155a===s['DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME']?(_0x2f573a['push'](''+this[_0x51346e(0xff)]+_0x2ff80a),this[_0x51346e(0x179)]=!0x0,_0x4d17a9=0x2):_0x32155a===s[_0x51346e(0x1e8)]?(_0x2f573a[_0x51346e(0x149)](''+this['_xlfnPrefix']+_0x2ff80a),this['_hasNewExcelFunction']=!0x0,_0x4d17a9=0x1):_0x32155a===s[_0x51346e(0x18f)]['COLON']?_0x4d17a9=0x8:s[_0x51346e(0x111)]['has'](_0x32155a)?_0x4d17a9=0x7:_0x32155a===s[_0x51346e(0x1c2)]['MINUS']?(this['_checkAddBracketForMinus'](_0x1714a3)&&(_0x4d17a9=0x9),_0x2f573a[_0x51346e(0x149)](_0x5a3902)):(_0x2f573a[_0x51346e(0x149)](_0x5a3902),_0x4d17a9=0xa),_0x1225cc?(_0x4d17a9!==0x2&&_0x4d17a9!==0x1&&(_0x4d17a9=0x6),_0x2f573a[_0x51346e(0x149)]('(')):_0x4d17a9===0x9&&_0x2f573a['push']('(');const _0x5cbec1=_0x1714a3[_0x51346e(0x1a0)](),_0x40d3ea=_0x5cbec1[_0x51346e(0x185)];if(_0x4d17a9===0x2){const _0x2ce22a=_0x5cbec1[0x0];let _0x4d60d4=0x0;_0x2ce22a instanceof s[_0x51346e(0x135)]&&_0x2ce22a['getToken']()===s[_0x51346e(0x153)]&&(_0x4d60d4=0x1);for(let _0x48b373=_0x4d60d4;_0x48b373<_0x40d3ea-0x1;_0x48b373++){const _0x1a6736=_0x5cbec1[_0x48b373];if(_0x1a6736 instanceof s[_0x51346e(0x135)]){const _0x67ad2a=_0x1a6736['getChildren']()[0x0];typeof _0x67ad2a=='string'&&(this[_0x51346e(0x105)][_0x51346e(0x19d)](_0x67ad2a)&&console['error'](_0x51346e(0x186)+_0x67ad2a+_0x51346e(0x165)),this['_lambdaFunctionParameterSet'][_0x51346e(0x136)](_0x67ad2a),_0x2f573a[_0x51346e(0x149)](''+this[_0x51346e(0x150)]+_0x67ad2a),this[_0x51346e(0x179)]=!0x0);}_0x2f573a['push'](',');}this[_0x51346e(0x1dc)](_0x5cbec1[_0x40d3ea-0x1],_0x2f573a,_0x2d3a48),_0x4d60d4===0x1&&(_0x2f573a[_0x51346e(0x149)](')'),_0x2f573a['push']('('),this[_0x51346e(0x1d2)](_0x2ce22a,_0x2f573a,_0x2d3a48)),_0x2f573a[_0x51346e(0x149)](')');return;}else{if(_0x4d17a9===0x1){for(let _0x44a164=0x0;_0x44a164<_0x40d3ea-0x1;_0x44a164++){const _0x3bc3cb=_0x5cbec1[_0x44a164];if(_0x3bc3cb instanceof s[_0x51346e(0x135)]&&_0x44a164%0x2===0x0){const _0x2e59e4=_0x3bc3cb['getChildren']()[0x0];if(typeof _0x2e59e4==_0x51346e(0x1d3)){this[_0x51346e(0x105)]['has'](_0x2e59e4)&&console[_0x51346e(0x16c)]('Let\x20variable\x20name\x20\x22'+_0x2e59e4+_0x51346e(0x165)),this[_0x51346e(0x105)]['add'](_0x2e59e4),_0x2f573a[_0x51346e(0x149)](''+this[_0x51346e(0x150)]+_0x2e59e4),this[_0x51346e(0x179)]=!0x0,_0x2f573a[_0x51346e(0x149)](',');continue;}}if(this[_0x51346e(0x1dc)](_0x3bc3cb,_0x2f573a,_0x2d3a48),_0x3bc3cb instanceof s[_0x51346e(0x135)]){const _0x35989c=_0x5cbec1[_0x44a164+0x1];_0x35989c&&_0x35989c instanceof s[_0x51346e(0x135)]&&_0x2f573a[_0x51346e(0x149)](',');}}this[_0x51346e(0x1dc)](_0x5cbec1[_0x40d3ea-0x1],_0x2f573a,_0x2d3a48),_0x2f573a[_0x51346e(0x149)](')');return;}else{if(_0x4d17a9===0x8){const _0x502515=_0x5cbec1[0x0],_0x54fcc0=_0x5cbec1[0x1];this[_0x51346e(0x1dc)](_0x502515,_0x2f573a,_0x2d3a48),_0x2f573a['push'](_0x5a3902),this[_0x51346e(0x1dc)](_0x54fcc0,_0x2f573a,_0x2d3a48);return;}}}for(let _0x1cd971=0x0;_0x1cd971<_0x40d3ea;_0x1cd971++){const _0x296375=_0x5cbec1[_0x1cd971];if(this['_handleNewFunctionChild'](_0x296375,_0x2f573a,_0x2d3a48),_0x296375 instanceof s[_0x51346e(0x135)]){const _0x5854a6=_0x5cbec1[_0x1cd971+0x1];_0x5854a6&&_0x5854a6 instanceof s['LexerNode']&&_0x2f573a['push'](',');}}_0x4d17a9===0x7&&_0x2f573a[_0x51346e(0x149)](_0x5a3902),(_0x1225cc||_0x4d17a9===0x9)&&_0x2f573a[_0x51346e(0x149)](')');}[_0x2d220e(0x1dc)](_0x76f293,_0x2803e8,_0x1be95d){const _0x19a8f5=_0x2d220e;_0x76f293 instanceof s[_0x19a8f5(0x135)]?this[_0x19a8f5(0x1d2)](_0x76f293,_0x2803e8,_0x1be95d):this['_lambdaFunctionParameterSet'][_0x19a8f5(0x19d)](_0x76f293)?(_0x2803e8['push'](''+this[_0x19a8f5(0x150)]+_0x76f293),this[_0x19a8f5(0x179)]=!0x0):_0x2803e8[_0x19a8f5(0x149)](_0x76f293);}[_0x2d220e(0x187)](_0xe7b658){const _0x8e73a0=_0x2d220e;let _0x437929=_0xe7b658['trim']();if(!_0x437929)return _0x437929;const _0x5aa7df=_0x437929[0x0];if((_0x5aa7df===s[_0x8e73a0(0x1c2)]['AT']||_0x5aa7df===s[_0x8e73a0(0x1c2)]['MINUS']||_0x5aa7df===s[_0x8e73a0(0x1c2)][_0x8e73a0(0x1f7)])&&(_0x437929=_0x437929[_0x8e73a0(0x100)](0x1)),!_0x437929)return _0x437929;const _0x35a700=_0x437929[_0x437929[_0x8e73a0(0x185)]-0x1];return s['SUFFIX_TOKEN_SET']['has'](_0x35a700)&&(_0x437929=_0x437929['slice'](0x0,-0x1)),_0x437929;}[_0x2d220e(0x1f9)](_0x1624c3){const _0x272f2=_0x2d220e,_0x73d278=_0x1624c3[_0x272f2(0x1a0)]()[0x0];if(!_0x73d278||!(_0x73d278 instanceof s[_0x272f2(0x135)])||_0x1624c3[_0x272f2(0x1a0)]()[_0x272f2(0x185)]>0x1)return!0x1;const _0x15d8bc=_0x73d278[_0x272f2(0x1a0)](),_0x2969ee=_0x15d8bc[_0x272f2(0x185)];if(_0x2969ee===0x1)return!0x1;for(let _0x6f4020=0x0;_0x6f4020<_0x2969ee;_0x6f4020++){const _0x466aa8=_0x15d8bc[_0x6f4020];if(!(_0x466aa8 instanceof s[_0x272f2(0x135)])&&s['OPERATOR_TOKEN_SET'][_0x272f2(0x19d)](_0x466aa8))return!0x0;}return!0x1;}[_0x2d220e(0x169)](_0x3e825f,_0x5e9513,_0x3e8d68,_0x1e0c03,_0x2bd953){const _0x5a9160=_0x2d220e,_0x4e946b=this[_0x5a9160(0x133)](_0x3e825f,!0x1);if(!_0x4e946b||_0x4e946b===s[_0x5a9160(0x129)][_0x5a9160(0x112)]||Array[_0x5a9160(0x1e2)](_0x4e946b))return null;this[_0x5a9160(0x1ce)](),this[_0x5a9160(0x1eb)]=_0x5e9513;const _0x6e15e1=this[_0x5a9160(0x151)](_0x4e946b,_0x3e8d68,_0x1e0c03,_0x2bd953);return this[_0x5a9160(0x1eb)]='',this[_0x5a9160(0x202)](),_0x6e15e1;}['_generateExprTree'](_0x2d7143,_0x2ef883,_0x21940f,_0x43e66b){const _0x44aa3c=_0x2d220e,_0x8f638e={'value':'','children':[],'startIndex':0x0};let _0x4e03a4=_0x2d7143;if(_0x4e03a4 instanceof s[_0x44aa3c(0x135)]&&(_0x4e03a4[_0x44aa3c(0x17e)]()===s[_0x44aa3c(0x1e3)]||_0x4e03a4['getToken']()===s[_0x44aa3c(0x166)])&&_0x4e03a4[_0x44aa3c(0x1a0)]()['length']===0x1&&(_0x4e03a4=_0x4e03a4[_0x44aa3c(0x1a0)]()[0x0]),!(_0x4e03a4 instanceof s[_0x44aa3c(0x135)]))return this[_0x44aa3c(0x176)](_0x4e03a4,_0x21940f,_0x43e66b);const _0x43329c=_0x4e03a4[_0x44aa3c(0x1a0)](),_0x31b287=_0x43329c[_0x44aa3c(0x185)],_0x49e9a6=[];this[_0x44aa3c(0x1d2)](_0x4e03a4,_0x49e9a6,_0x2ef883),_0x8f638e[_0x44aa3c(0x17d)]=_0x49e9a6['join'](''),_0x8f638e[_0x44aa3c(0x102)]=_0x4e03a4[_0x44aa3c(0x1cf)]();const _0x2c17dd=this['_getCurNodeTypeForExprTree'](_0x4e03a4);if(_0x2c17dd===0x2){const _0x2ed967=_0x43329c[0x0];if(_0x2ed967 instanceof s[_0x44aa3c(0x135)]){if(_0x2ed967[_0x44aa3c(0x17e)]()[_0x44aa3c(0x13d)]()!==s['DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER'])return _0x8f638e;this[_0x44aa3c(0x147)](_0x2ed967,_0x8f638e,_0x2ef883,_0x21940f,_0x43e66b);}return _0x8f638e;}else{if(_0x2c17dd===0x1){for(let _0x1669e4=0x0;_0x1669e4<_0x31b287-0x1;_0x1669e4++){const _0x3926b6=_0x43329c[_0x1669e4];if(_0x3926b6 instanceof s['LexerNode']&&_0x1669e4%0x2===0x1){const _0x4ebbc4=_0x3926b6[_0x44aa3c(0x1a0)]();if(_0x4ebbc4['length']===0x1&&!(_0x4ebbc4[0x0]instanceof s[_0x44aa3c(0x135)]))continue;const _0x39fdf8=this[_0x44aa3c(0x151)](_0x3926b6,_0x2ef883,_0x21940f,_0x43e66b);_0x39fdf8&&_0x8f638e[_0x44aa3c(0x14b)][_0x44aa3c(0x149)](_0x39fdf8);}}return _0x8f638e;}else{if(_0x2c17dd===0x8){const _0x4249a6=_0x43329c[0x0];if(_0x4249a6 instanceof s[_0x44aa3c(0x135)]){const _0x407565=_0x4249a6['getChildren']()[0x0];_0x407565 instanceof s[_0x44aa3c(0x135)]&&(_0x8f638e[_0x44aa3c(0x102)]=_0x407565[_0x44aa3c(0x1cf)]());}if(this['_checkColonNodeForExprTree'](_0x4e03a4))return _0x8f638e;}else{if(_0x2c17dd===0x7){const _0x5a97ef=_0x43329c[0x0];if(_0x5a97ef instanceof s[_0x44aa3c(0x135)]){const _0x3c321d=_0x5a97ef['getChildren']()[0x0];_0x3c321d instanceof s[_0x44aa3c(0x135)]&&(_0x8f638e[_0x44aa3c(0x102)]=_0x3c321d[_0x44aa3c(0x1cf)]());}}}}}return this[_0x44aa3c(0x118)](_0x43329c,_0x2c17dd,_0x8f638e,_0x2ef883,_0x21940f,_0x43e66b),_0x8f638e;}[_0x2d220e(0x118)](_0x5521b5,_0xc6a31d,_0x26a15e,_0x11c321,_0x4281ff,_0x5c2b08){const _0x19bd5b=_0x2d220e;for(let _0x2f2ac5=0x0;_0x2f2ac5<_0x5521b5['length'];_0x2f2ac5++){let _0x579a71=_0x5521b5[_0x2f2ac5];if(!(_0x579a71 instanceof s[_0x19bd5b(0x135)])){const _0x4e6959=this[_0x19bd5b(0x176)](_0x579a71,_0x4281ff,_0x5c2b08);_0x4e6959&&_0x26a15e[_0x19bd5b(0x14b)]['push'](_0x4e6959);continue;}const _0x1fc9e3=_0x579a71['getChildren']();if(_0x1fc9e3[_0x19bd5b(0x185)]===0x1&&!(_0x1fc9e3[0x0]instanceof s[_0x19bd5b(0x135)])){const _0x5abe06=_0x1fc9e3[0x0];if(!_0x4281ff(this[_0x19bd5b(0x1eb)],_0x5abe06)&&!this['_getTableNameFromStructuredRef'](_0x5abe06,_0x5c2b08)&&!s[_0x19bd5b(0x178)](_0x5abe06))continue;}if(_0xc6a31d===0x8){const _0x1f4826=_0x1fc9e3[0x0];if(_0x1f4826 instanceof s[_0x19bd5b(0x135)]){const _0x965878=_0x1f4826[_0x19bd5b(0x17e)]()[_0x19bd5b(0x13d)]();if(s[_0x19bd5b(0x178)](_0x965878))continue;_0x579a71=_0x1f4826;}}const _0x576c00=this[_0x19bd5b(0x151)](_0x579a71,_0x11c321,_0x4281ff,_0x5c2b08);_0x576c00&&_0x26a15e['children'][_0x19bd5b(0x149)](_0x576c00);}}[_0x2d220e(0x1ee)](_0x17a26b){const _0x59d3a9=_0x2d220e,_0x4da152=_0x17a26b[_0x59d3a9(0x1a0)]();if(_0x4da152['length']<0x2)return!0x1;const _0x36075c=_0x4da152[0x0],_0x12f06e=_0x4da152[0x1];if(!(_0x36075c instanceof s[_0x59d3a9(0x135)])||!(_0x12f06e instanceof s[_0x59d3a9(0x135)]))return!0x1;const _0x1c1d04=_0x36075c[_0x59d3a9(0x1a0)]()[0x0],_0x1d3da7=_0x12f06e[_0x59d3a9(0x1a0)]()[0x0];if(!(_0x1c1d04 instanceof s[_0x59d3a9(0x135)])||!(_0x1d3da7 instanceof s[_0x59d3a9(0x135)]))return!0x1;const _0x41f8cd=_0x1c1d04[_0x59d3a9(0x17e)]()[_0x59d3a9(0x13d)](),_0x3cda25=_0x1d3da7[_0x59d3a9(0x17e)]()['trim']();return!!s['isReferenceString'](''+_0x41f8cd+s['matchToken'][_0x59d3a9(0x1c3)]+_0x3cda25);}[_0x2d220e(0x176)](_0x133daf,_0x41e481,_0x6cece3){const _0x27e0b7=_0x2d220e,_0xec0109=_0x133daf['trim']();return _0xec0109[_0x27e0b7(0x1fa)]('{')&&_0xec0109[_0x27e0b7(0x11f)]('}')||_0x41e481(this[_0x27e0b7(0x1eb)],_0xec0109)||this[_0x27e0b7(0x1da)](_0xec0109,_0x6cece3)||s[_0x27e0b7(0x178)](_0xec0109)?{'value':_0xec0109,'children':[],'startIndex':-0x1}:null;}[_0x2d220e(0x1da)](_0x244d4c,_0x188774){const _0x277405=_0x2d220e,{tableName:_0x35cb4a}=s[_0x277405(0x1c9)](_0x244d4c);return _0x188774(this[_0x277405(0x1eb)],_0x35cb4a)?_0x35cb4a:null;}['_handleLambdaForExprTree'](_0x1d5945,_0x2207b9,_0x3cbb54,_0x387956,_0x115e2f){const _0x2ad951=_0x2d220e,_0x3cd794=_0x1d5945[_0x2ad951(0x1a0)]();for(let _0x3b0935=0x0;_0x3b0935<_0x3cd794[_0x2ad951(0x185)];_0x3b0935++){const _0x338365=_0x3cd794[_0x3b0935];if(!(_0x338365 instanceof s['LexerNode']))continue;const _0x2a849b=_0x338365[_0x2ad951(0x1a0)]();if(_0x2a849b[_0x2ad951(0x185)]===0x1&&!(_0x2a849b[0x0]instanceof s[_0x2ad951(0x135)]))continue;const _0x54fca7=this[_0x2ad951(0x151)](_0x338365,_0x3cbb54,_0x387956,_0x115e2f);_0x54fca7&&_0x2207b9[_0x2ad951(0x14b)]['push'](_0x54fca7);}}[_0x2d220e(0x16e)](_0x1b0162){const _0x4ae603=_0x2d220e,_0x6336db=_0x1b0162[_0x4ae603(0x17e)](),_0xd17d9a=_0x6336db['trim']()['toUpperCase']();let _0x449f70=0x0;return _0x6336db===s['DEFAULT_TOKEN_TYPE_ROOT']?_0x449f70=0x3:_0x6336db===s['DEFAULT_TOKEN_TYPE_PARAMETER']?_0x449f70=0x4:_0x6336db===s[_0x4ae603(0x153)]?_0x449f70=0x5:_0xd17d9a===s[_0x4ae603(0x130)]?_0x449f70=0x2:_0xd17d9a===s[_0x4ae603(0x1e8)]?_0x449f70=0x1:_0xd17d9a===s[_0x4ae603(0x18f)][_0x4ae603(0x1c3)]?_0x449f70=0x8:s['SUFFIX_TOKEN_SET']['has'](_0xd17d9a)?_0x449f70=0x7:_0xd17d9a===s[_0x4ae603(0x1c2)]['MINUS']?this['_checkAddBracketForMinus'](_0x1b0162)&&(_0x449f70=0x9):_0x449f70=0xa,_0x449f70;}}const b={0x0:'g',0x1:'o',0x2:'c',0x3:'0',0x4:'3',0x5:'Y',0x6:'9',0x7:'D',0x8:'W',0x9:'E','v':'1','G':'2','V':'4','B':'5','R':'6','A':'7','W':'8','p':'a','N':'b','s':'d','a':'e','C':'f','T':'h','X':'i','q':'j','z':'k','O':'l','U':'m','c':'n','d':'p','E':'q','Y':'r','Q':'s','l':'t','x':'u','L':'v','h':'w','j':'x','M':'y','y':'z','P':'A','m':'B','I':'C','i':'F','g':'G','F':'H','o':'I','K':'J','u':'K','Z':'L','b':'M','f':'N','k':'O','D':'P','J':'Q','S':'R','t':'S','e':'T','n':'U','r':'V','H':'X','w':'Z'},B=_0x2d220e(0x15b);class K extends s['FormulaDependencyGenerator']{constructor(){const _0x3be528=_0x2d220e;super(...arguments),D(this,_0x3be528(0x14f),new Map());}[_0x2d220e(0x101)](){const _0xc3383b=_0x2d220e;super[_0xc3383b(0x101)](),this[_0xc3383b(0x14f)]['clear']();}async[_0x2d220e(0x156)](_0x5e513d=!0x1){const _0x2d72ce=_0x2d220e;this['_updateRangeFlatten']();const _0xa4a3e1=this[_0x2d72ce(0x1d0)][_0x2d72ce(0x173)](),_0x5c0c37=this[_0x2d72ce(0x1e7)][_0x2d72ce(0x174)](),_0x29fb51=this[_0x2d72ce(0x1d0)][_0x2d72ce(0x114)]();_0x29fb51!=null&&Object['keys'](_0x29fb51)[_0x2d72ce(0x163)](_0x448de9=>{const _0x1221ab=_0x2d72ce;_0x448de9!=null&&Object[_0x1221ab(0x134)](_0x29fb51[_0x448de9])[_0x1221ab(0x163)](_0x1690a7=>{const _0x3f93f7=_0x1221ab;_0x1690a7!=null&&(this[_0x3f93f7(0x12f)]['clearOtherFormulaDependency'](_0x448de9,_0x1690a7),this[_0x3f93f7(0x12f)][_0x3f93f7(0x139)](_0x448de9,_0x1690a7),this[_0x3f93f7(0x12f)][_0x3f93f7(0x1b4)](_0x448de9,_0x1690a7));});});const _0x65f02c=this[_0x2d72ce(0x1d0)][_0x2d72ce(0x1be)]();await this[_0x2d72ce(0x1f8)](_0xa4a3e1,_0x5c0c37,_0x65f02c),this[_0x2d72ce(0x12f)][_0x2d72ce(0x1ef)]();const _0x382fa4=this[_0x2d72ce(0x14a)](),_0x342a56=this[_0x2d72ce(0x183)](_0x382fa4);return this[_0x2d72ce(0x1ac)](_0x342a56)&&this[_0x2d72ce(0x127)][_0x2d72ce(0x1f6)](),_0x5e513d&&this['_runtimeService'][_0x2d72ce(0x201)](this[_0x2d72ce(0x103)](Array[_0x2d72ce(0x1f3)](this[_0x2d72ce(0x14f)][_0x2d72ce(0x120)]()))),this[_0x2d72ce(0x14f)]['clear'](),this[_0x2d72ce(0x19a)][_0x2d72ce(0x1ea)](),this['_dependencyManagerService'][_0x2d72ce(0x1a5)](),this[_0x2d72ce(0x127)][_0x2d72ce(0x13e)](),Promise[_0x2d72ce(0x17b)](_0x342a56);}[_0x2d220e(0x1ec)](_0x167822,_0x44a076){const _0x581090=_0x2d220e,_0x4e104d=[_0x167822];for(;_0x4e104d[_0x581090(0x185)]>0x0;){const _0x3f8518=_0x4e104d[_0x4e104d[_0x581090(0x185)]-0x1];if((_0x44a076['get'](_0x3f8518)||0x0)===0x0){_0x44a076['set'](_0x3f8518,0x1);const _0x5ad794=this[_0x581090(0x14f)]['get'](_0x3f8518);if(_0x5ad794==null){_0x44a076['set'](_0x3f8518,0x2),_0x4e104d[_0x581090(0x199)]();continue;}const _0x4013d1=this[_0x581090(0x12f)][_0x581090(0x159)](_0x5ad794[_0x581090(0x191)]());for(const _0x3b3d9d of _0x4013d1){const _0x46eb3c=_0x44a076[_0x581090(0x11b)](_0x3b3d9d)||0x0;if(_0x46eb3c===0x1)return!0x0;_0x46eb3c===0x0&&_0x4e104d[_0x581090(0x149)](_0x3b3d9d);}}else _0x44a076[_0x581090(0x1c6)](_0x3f8518,0x2),_0x4e104d[_0x581090(0x199)]();}return!0x1;}[_0x2d220e(0x1ac)](_0x56d936){const _0x539150=_0x2d220e,_0x5ceccf=new Map();for(const _0x3a2510 of _0x56d936)if(!_0x5ceccf[_0x539150(0x19d)](_0x3a2510['treeId'])&&this['_isCyclicUtilMap'](_0x3a2510[_0x539150(0x192)],_0x5ceccf))return!0x0;return _0x5ceccf['clear'](),!0x1;}[_0x2d220e(0x15e)](_0x54ccc5,_0x1fcb7b,_0x449a2f){const _0x27bfbd=_0x2d220e,{unitId:_0x16a3cd,subUnitId:_0xafe126,dependencyRanges:_0x2d209e,getDirtyData:_0x4c607c}=_0x449a2f,_0x9ad560=_0x1fcb7b||s['generateRandomDependencyTreeId'](this[_0x27bfbd(0x12f)]),_0x4b19c0=new s['FormulaDependencyTree'](_0x9ad560);_0x4b19c0[_0x27bfbd(0x1e0)]=_0x16a3cd,_0x4b19c0[_0x27bfbd(0x1a1)]=_0xafe126,_0x4b19c0['rangeList']=_0x2d209e,_0x4b19c0[_0x27bfbd(0x1ff)]=_0x4c607c;const _0x3d9885=_0x4c607c(this[_0x27bfbd(0x1d0)][_0x27bfbd(0x1ff)](),this[_0x27bfbd(0x127)][_0x27bfbd(0x12a)]()),_0xb39656=this[_0x27bfbd(0x1d7)](_0x3d9885[_0x27bfbd(0x1d4)]);return _0x4b19c0[_0x27bfbd(0x109)]=_0xb39656,_0x4b19c0['featureId']=_0x54ccc5,_0x4b19c0[_0x27bfbd(0x123)]=s['FormulaDependencyTreeType'][_0x27bfbd(0x13a)],this[_0x27bfbd(0x12f)]['addFeatureFormulaDependency'](_0x16a3cd,_0xafe126,_0x54ccc5,_0x4b19c0),this[_0x27bfbd(0x14f)][_0x27bfbd(0x1c6)](_0x4b19c0['treeId'],_0x4b19c0),this[_0x27bfbd(0x12f)][_0x27bfbd(0x1e9)](_0x449a2f[_0x27bfbd(0x1e0)],_0x449a2f[_0x27bfbd(0x1a1)],_0x54ccc5)&&(_0x4b19c0['isCache']=!0x0),_0x4b19c0;}[_0x2d220e(0x1e5)](_0x62cf27,_0x2b6d7f,_0x59d8c1){const _0x24b816=_0x2d220e;var _0x327c4d;for(const _0x41d70f of _0x2b6d7f){const _0x1501db=_0x62cf27[_0x41d70f];if(_0x1501db==null)continue;const _0x369f1f=Object[_0x24b816(0x134)](_0x1501db);for(const _0x24fcd of _0x369f1f){const _0x6c0607=_0x1501db[_0x24fcd];if(_0x6c0607==null)continue;const _0x3fc3c9=Object['keys'](_0x6c0607);for(const _0x4d2787 of _0x3fc3c9){const _0x519c12=this[_0x24b816(0x12f)][_0x24b816(0x11e)](_0x4d2787),_0x5a2b3f=_0x6c0607[_0x4d2787],{f:_0x37d519,ranges:_0x39e3d2}=_0x5a2b3f;let _0x29a482=!0x1;_0x519c12&&(_0x29a482=!0x0);const {firstRow:_0x585e8f,firstColumn:_0x3b1d29}=this['_getFirstCellOfRange'](_0x39e3d2),_0x1b0269=this['_dependencyManagerService'][_0x24b816(0x1ca)](_0x41d70f,_0x24fcd,_0x4d2787),_0xf66044=(_0x327c4d=_0x1b0269==null?void 0x0:_0x1b0269[_0x24b816(0x162)](0x0,0x0))!=null?_0x327c4d:s[_0x24b816(0x14e)](this[_0x24b816(0x12f)]),_0x5b6ef6=new s[(_0x24b816(0x15d))](_0xf66044);for(let _0x1a48cf=0x0;_0x1a48cf<_0x39e3d2[_0x24b816(0x185)];_0x1a48cf++){const _0x54a782=_0x39e3d2[_0x1a48cf],{startRow:_0x50f65a,startColumn:_0x21fd61,endRow:_0xc29e15,endColumn:_0x542791}=_0x54a782;for(let _0x2f87a1=_0x50f65a;_0x2f87a1<=_0xc29e15;_0x2f87a1++)for(let _0x1d42b3=_0x21fd61;_0x1d42b3<=_0x542791;_0x1d42b3++){const _0x1fd4a3=_0x1d42b3-_0x3b1d29,_0x19fbf4=_0x2f87a1-_0x585e8f;if(_0x1fd4a3===0x0&&_0x19fbf4===0x0){_0x5b6ef6[_0x24b816(0x1d9)]=_0x37d519,_0x5b6ef6[_0x24b816(0x1e0)]=_0x41d70f,_0x5b6ef6['subUnitId']=_0x24fcd,_0x5b6ef6[_0x24b816(0x17f)]=_0x4d2787,_0x5b6ef6[_0x24b816(0x123)]=s[_0x24b816(0x1e6)][_0x24b816(0x10e)],_0x5b6ef6[_0x24b816(0x1cd)]=_0x29a482,_0x59d8c1[_0x24b816(0x149)](_0x5b6ef6),this['_dependencyTreeCache'][_0x24b816(0x1c6)](_0x5b6ef6['treeId'],_0x5b6ef6),this[_0x24b816(0x12f)][_0x24b816(0x1ad)](_0x41d70f,_0x24fcd,_0x4d2787,_0x5b6ef6),this[_0x24b816(0x12f)][_0x24b816(0x12b)](_0x5b6ef6);continue;}const _0x53b3af=new s[(_0x24b816(0x1ed))]();_0x53b3af['treeId']=(_0x1b0269==null?void 0x0:_0x1b0269['getValue'](_0x1fd4a3,_0x19fbf4))||s[_0x24b816(0x14e)](this[_0x24b816(0x12f)]),_0x53b3af[_0x24b816(0x128)]=_0x5b6ef6,_0x53b3af[_0x24b816(0x125)]=_0x1fd4a3,_0x53b3af[_0x24b816(0x10d)]=_0x19fbf4,_0x53b3af[_0x24b816(0x1cd)]=_0x29a482,_0x53b3af[_0x24b816(0x123)]=s[_0x24b816(0x1e6)][_0x24b816(0x10e)],this[_0x24b816(0x12f)][_0x24b816(0x1ad)](_0x41d70f,_0x24fcd,_0x4d2787,_0x53b3af),this[_0x24b816(0x12f)][_0x24b816(0x12b)](_0x53b3af),_0x59d8c1['push'](_0x53b3af),this['_dependencyTreeCache'][_0x24b816(0x1c6)](_0x53b3af['treeId'],_0x53b3af);}}this[_0x24b816(0x12f)][_0x24b816(0x172)](_0x4d2787);}}}}['_registerFormulas'](_0x5a42a6,_0x1f7183,_0xf29ba9,_0x1ea45b){const _0x2311db=_0x2d220e;for(const _0x24bed8 of _0x5a42a6){const _0x24107c=_0x1f7183[_0x24bed8];if(_0x24107c==null)continue;const _0x1b9117=Object[_0x2311db(0x134)](_0x24107c);for(const _0x584047 of _0x1b9117){const _0x2060e6=new M[(_0x2311db(0x121))](_0x24107c[_0x584047]||{}),_0xf23d0b=new Map();_0x2060e6[_0x2311db(0x13c)]((_0x55a609,_0x411a4a,_0x57c211)=>{const _0x36022d=_0x2311db;if(_0x57c211==null)return!0x0;const {x:_0x299348=0x0,y:_0x4a74fd=0x0,si:_0x100695}=_0x57c211;if(!(_0x299348===0x0&&_0x4a74fd===0x0&&_0x100695!=null))return!0x0;const _0x3874a8=this['_createFDtree'](_0x24bed8,_0x584047,_0x55a609,_0x411a4a,_0xf29ba9,_0x57c211),_0x382a69=this['_dependencyManagerService'][_0x36022d(0x1f2)](_0x24bed8,_0x584047,_0x55a609,_0x411a4a);_0x382a69!=null?_0x3874a8[_0x36022d(0x192)]=_0x382a69:(this[_0x36022d(0x12f)][_0x36022d(0x131)](_0x24bed8,_0x584047,_0x55a609,_0x411a4a,_0x3874a8),this[_0x36022d(0x12f)]['addFormulaDependencyByDefinedName'](_0x3874a8)),_0xf23d0b[_0x36022d(0x1c6)](_0x100695,_0x3874a8),_0x1ea45b[_0x36022d(0x149)](_0x3874a8),this['_dependencyTreeCache'][_0x36022d(0x1c6)](_0x3874a8[_0x36022d(0x192)],_0x3874a8);}),_0x2060e6[_0x2311db(0x13c)]((_0x341421,_0x324d4e,_0x1bac1d)=>{const _0x4a0232=_0x2311db;if(_0x1bac1d==null)return!0x0;const {x:_0x1861bd=0x0,y:_0x4159b7=0x0,si:_0x540604}=_0x1bac1d;if(_0x1861bd===0x0&&_0x4159b7===0x0&&_0x540604!=null)return!0x0;let _0x48a655;if(_0x540604&&_0xf23d0b['has'](_0x540604)){const _0x373879=_0xf23d0b[_0x4a0232(0x11b)](_0x540604);_0x48a655=this[_0x4a0232(0x184)](_0x373879,_0x1bac1d);}else _0x48a655=this[_0x4a0232(0x1de)](_0x24bed8,_0x584047,_0x341421,_0x324d4e,_0xf29ba9,_0x1bac1d);const _0x48503=this[_0x4a0232(0x12f)]['getFormulaDependency'](_0x24bed8,_0x584047,_0x341421,_0x324d4e);_0x48503!=null?_0x48a655[_0x4a0232(0x192)]=_0x48503:(this[_0x4a0232(0x12f)]['addFormulaDependency'](_0x24bed8,_0x584047,_0x341421,_0x324d4e,_0x48a655),this[_0x4a0232(0x12f)]['addFormulaDependencyByDefinedName'](_0x48a655)),_0x1ea45b[_0x4a0232(0x149)](_0x48a655),this[_0x4a0232(0x14f)][_0x4a0232(0x1c6)](_0x48a655[_0x4a0232(0x192)],_0x48a655);}),_0xf23d0b[_0x2311db(0x1ea)]();}}}[_0x2d220e(0x1de)](_0x2ac894,_0x2146e7,_0xb79bd9,_0x3d75f0,_0x22059b,_0x3fced4){const _0x25d4f2=_0x2d220e,{f:_0x23b8bf,x:_0x2e05ac=0x0,y:_0x27ae02=0x0}=_0x3fced4,_0x41adb8=new s['FormulaDependencyTree'](s[_0x25d4f2(0x14e)](this[_0x25d4f2(0x12f)])),_0x152aec=_0x22059b[_0x2ac894][_0x2146e7];return _0x41adb8[_0x25d4f2(0x1d9)]=_0x23b8bf,_0x41adb8[_0x25d4f2(0x1e0)]=_0x2ac894,_0x41adb8[_0x25d4f2(0x1a1)]=_0x2146e7,_0x41adb8[_0x25d4f2(0x10b)]=_0xb79bd9,_0x41adb8[_0x25d4f2(0x1a7)]=_0x3d75f0,_0x41adb8[_0x25d4f2(0x16d)]=_0x152aec[_0x25d4f2(0x16d)],_0x41adb8['columnCount']=_0x152aec[_0x25d4f2(0x1b0)],_0x41adb8;}[_0x2d220e(0x14a)](){const _0x1a3fc8=_0x2d220e,_0x47f3cb=[],_0xc60585=new Set(),_0x32fc8d=this['_currentConfigService'][_0x1a3fc8(0x180)](),_0x203330=this[_0x1a3fc8(0x1d0)][_0x1a3fc8(0x195)](),_0x48b7fa=this[_0x1a3fc8(0x12f)]['searchDependency'](_0x203330),_0x3d43eb=this[_0x1a3fc8(0x19a)][_0x1a3fc8(0x1b8)](_0x203330);for(const _0x243b54 of _0x3d43eb)_0x48b7fa[_0x1a3fc8(0x136)](_0x243b54);for(const [_0x2f190e,_0x280a37]of this[_0x1a3fc8(0x14f)])(_0x32fc8d||_0x280a37['isDirty']||_0x280a37[_0x1a3fc8(0x155)](this[_0x1a3fc8(0x1d0)]['getDirtyNameMap']())||_0x48b7fa[_0x1a3fc8(0x19d)](_0x2f190e)&&!_0x280a37[_0x1a3fc8(0x157)](this[_0x1a3fc8(0x1d0)]['getExcludedRange']()))&&!_0xc60585[_0x1a3fc8(0x19d)](_0x2f190e)&&(_0x47f3cb['push'](_0x280a37),_0xc60585['add'](_0x2f190e));for(const [_0x389332,_0x6aaf39]of this[_0x1a3fc8(0x14f)])_0x6aaf39[_0x1a3fc8(0x18d)]||(_0x6aaf39[_0x1a3fc8(0x13b)][_0x1a3fc8(0x185)]=0x0);return _0x47f3cb;}[_0x2d220e(0x1ba)](_0x385f9a){const _0x54aae8=_0x2d220e;return this[_0x54aae8(0x14f)]['get'](_0x385f9a);}[_0x2d220e(0x119)](_0x16c995){const _0x674597=_0x2d220e;return s[_0x674597(0x11d)](_0x16c995['unitId'],_0x16c995[_0x674597(0x1d9)],this[_0x674597(0x1bf)],this[_0x674597(0x1d1)],this[_0x674597(0x1d0)]);}*[_0x2d220e(0x104)](_0x53ebaa,_0x236e19){const _0x29a4ef=_0x2d220e,_0x140315=_0x53ebaa,_0x370df1=new Set();for(;_0x140315['length']>0x0;){const _0x272033=_0x140315[_0x29a4ef(0x199)]();if(_0x370df1[_0x29a4ef(0x1ea)](),_0x272033===void 0x0||_0x272033[_0x29a4ef(0x126)]())continue;if(_0x272033[_0x29a4ef(0x181)]()){yield _0x272033,_0x272033[_0x29a4ef(0x137)](),_0x236e19[_0x29a4ef(0x136)](_0x272033[_0x29a4ef(0x192)]);continue;}const _0x27f1ab=this[_0x29a4ef(0x12f)]['searchDependency'](_0x272033[_0x29a4ef(0x191)](),_0x236e19),_0x12c270=this[_0x29a4ef(0x19a)][_0x29a4ef(0x1b8)](_0x272033[_0x29a4ef(0x191)](),_0x236e19);for(const _0x36b5b7 of _0x12c270)_0x27f1ab[_0x29a4ef(0x136)](_0x36b5b7);for(const _0x42f96c of _0x27f1ab){const _0x17d51f=this['_dependencyTreeCache'][_0x29a4ef(0x11b)](_0x42f96c);if(!_0x17d51f){console['error'](_0x29a4ef(0x148),_0x42f96c);continue;}_0x17d51f['isAdded']()||_0x272033[_0x29a4ef(0x126)]()||_0x370df1[_0x29a4ef(0x136)](_0x17d51f);}if(_0x27f1ab[_0x29a4ef(0x1ea)](),_0x370df1['size']===0x0)yield _0x272033,_0x272033[_0x29a4ef(0x137)](),_0x236e19[_0x29a4ef(0x136)](_0x272033[_0x29a4ef(0x192)]);else{_0x272033[_0x29a4ef(0x1fe)](),_0x140315['push'](_0x272033);for(const _0x1de86c of _0x370df1)_0x140315['push'](_0x1de86c);}}_0x140315['length']=0x0,_0x370df1[_0x29a4ef(0x1ea)]();}[_0x2d220e(0x183)](_0x52308e){const _0x57ec9c=_0x2d220e,_0x2ef837=[],_0x58d6c2=new Set();for(const _0x42f55b of this['_traverse'](_0x52308e,_0x58d6c2))_0x2ef837[_0x57ec9c(0x149)](_0x42f55b);return _0x2ef837;}async[_0x2d220e(0x1cb)](){const _0x496ae4=_0x2d220e;return await this[_0x496ae4(0x1a3)](),Array[_0x496ae4(0x1f3)](this[_0x496ae4(0x14f)][_0x496ae4(0x120)]());}[_0x2d220e(0x18a)](_0x26976f){const _0x11cf89=_0x2d220e;return this[_0x11cf89(0x12f)]['searchDependency'](_0x26976f[_0x11cf89(0x191)]());}['_getDependencyTreeChildrenIds'](_0x24ffe7){const _0x4f8bb3=_0x2d220e,_0x33cba9=new Set(),_0x42a13b=_0x24ffe7[_0x4f8bb3(0x13b)];for(const [_0x7ae8df,_0x25831b]of this[_0x4f8bb3(0x14f)])for(const _0xd1883b of _0x42a13b){const _0x5409b6=_0xd1883b[_0x4f8bb3(0x1e0)],_0x58de24=_0xd1883b[_0x4f8bb3(0x194)];if(_0x25831b[_0x4f8bb3(0x1e0)]!==_0x5409b6||_0x25831b[_0x4f8bb3(0x1a1)]!==_0x58de24)continue;const _0x2f1bba=_0xd1883b[_0x4f8bb3(0x1fd)];if(_0x25831b['inRangeData'](_0x2f1bba)){_0x33cba9[_0x4f8bb3(0x136)](_0x7ae8df);break;}}return _0x33cba9;}[_0x2d220e(0x1c7)](){this['_dependencyManagerService']['openKdTree']();}[_0x2d220e(0x140)](){const _0x41ffd6=_0x2d220e;this[_0x41ffd6(0x1ae)][_0x41ffd6(0x1ea)](),this[_0x41ffd6(0x14f)][_0x41ffd6(0x1ea)](),this['_dependencyManagerService'][_0x41ffd6(0x1a5)]();}}class j extends s['CalculateFormulaService']{async[_0x2d220e(0x12c)](_0xa3d178=!0x1){const _0x29c0c4=_0x2d220e;_0xa3d178?this[_0x29c0c4(0x127)]['setFormulaExecuteStage'](s[_0x29c0c4(0x14c)][_0x29c0c4(0x17a)]):this[_0x29c0c4(0x127)][_0x29c0c4(0x10c)](s['FormulaExecuteStageType']['START_DEPENDENCY']),this[_0x29c0c4(0x15f)][_0x29c0c4(0x177)](this['_runtimeService'][_0x29c0c4(0x10f)]());const _0x38e0f1=await this[_0x29c0c4(0x1b5)][_0x29c0c4(0x156)](this[_0x29c0c4(0x11c)]),_0x486446=this[_0x29c0c4(0x106)];_0xa3d178?(this['_runtimeService'][_0x29c0c4(0x10c)](s[_0x29c0c4(0x14c)]['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x29c0c4(0x17c)](_0x38e0f1[_0x29c0c4(0x185)])):(this[_0x29c0c4(0x127)]['setFormulaExecuteStage'](s['FormulaExecuteStageType']['START_CALCULATION']),this[_0x29c0c4(0x127)][_0x29c0c4(0x18e)](_0x38e0f1['length'])),this[_0x29c0c4(0x15f)][_0x29c0c4(0x177)](this[_0x29c0c4(0x127)]['getRuntimeState']());let _0x52f6f2=[];const _0x185eb5=this[_0x29c0c4(0x124)][_0x29c0c4(0x116)](s[_0x29c0c4(0x19b)]),_0x22785f=(_0x185eb5==null?void 0x0:_0x185eb5[_0x29c0c4(0x200)])||s[_0x29c0c4(0x107)];let _0x185526=0x0;const _0x488340=_0x38e0f1[_0x29c0c4(0x185)];for(;_0x38e0f1[_0x29c0c4(0x185)]>0x0;){const _0x177ab2=_0x38e0f1['pop'](),_0x44cc99=s[_0x29c0c4(0x11d)](_0x177ab2[_0x29c0c4(0x1e0)],_0x177ab2[_0x29c0c4(0x1d9)],this[_0x29c0c4(0x1bf)],this[_0x29c0c4(0x1d1)],this[_0x29c0c4(0x1d0)]),_0x12000a={'node':_0x44cc99,'refOffsetX':_0x177ab2['refOffsetX'],'refOffsetY':_0x177ab2[_0x29c0c4(0x10d)]},_0x1ab1b3=_0x177ab2[_0x29c0c4(0x1ff)];if(_0x185526%_0x22785f===0x0&&(await new Promise(_0x59c66b=>{const _0x187d4d=_0x29c0c4,_0x488a46=M[_0x187d4d(0x16f)](_0x59c66b);_0x52f6f2['push'](_0x488a46);}),_0xa3d178?(this[_0x29c0c4(0x127)]['setFormulaExecuteStage'](s[_0x29c0c4(0x14c)][_0x29c0c4(0x1d5)]),this[_0x29c0c4(0x127)]['setCompletedArrayFormulasCount'](_0x185526+0x1)):(this['_runtimeService'][_0x29c0c4(0x10c)](s[_0x29c0c4(0x14c)][_0x29c0c4(0x189)]),this[_0x29c0c4(0x127)][_0x29c0c4(0x110)](_0x185526+0x1)),this[_0x29c0c4(0x15f)][_0x29c0c4(0x177)](this[_0x29c0c4(0x127)][_0x29c0c4(0x10f)]()),this['_runtimeService'][_0x29c0c4(0x145)]()||_0x12000a==null&&_0x1ab1b3==null)){this[_0x29c0c4(0x127)][_0x29c0c4(0x10c)](s[_0x29c0c4(0x14c)]['IDLE']),this[_0x29c0c4(0x127)][_0x29c0c4(0x15a)](),this[_0x29c0c4(0x1fc)]['next'](this[_0x29c0c4(0x127)]['getAllRuntimeData']());return;}this[_0x29c0c4(0x127)]['setCurrent'](_0x177ab2[_0x29c0c4(0x10b)],_0x177ab2[_0x29c0c4(0x1a7)],_0x177ab2['rowCount'],_0x177ab2[_0x29c0c4(0x1b0)],_0x177ab2[_0x29c0c4(0x1a1)],_0x177ab2[_0x29c0c4(0x1e0)]);let _0x58f9cb;if(_0x1ab1b3!=null&&_0x177ab2['featureId']!=null){const {runtimeCellData:_0x310d0b,dirtyRanges:_0x2ddc51}=_0x1ab1b3(this[_0x29c0c4(0x1d0)][_0x29c0c4(0x1ff)](),this['_runtimeService']['getAllRuntimeData']());this['_runtimeService'][_0x29c0c4(0x171)](_0x177ab2[_0x29c0c4(0x1c5)],_0x310d0b),this[_0x29c0c4(0x127)][_0x29c0c4(0x1b9)](_0x177ab2[_0x29c0c4(0x1c5)],_0x2ddc51);}else _0x12000a!=null&&(_0x486446[_0x29c0c4(0x1df)](_0x12000a[_0x29c0c4(0x115)])?_0x58f9cb=await _0x486446[_0x29c0c4(0x1f0)](_0x12000a):_0x58f9cb=_0x486446['execute'](_0x12000a),_0x177ab2[_0x29c0c4(0x17f)]!=null?this[_0x29c0c4(0x127)][_0x29c0c4(0x1d8)](_0x177ab2[_0x29c0c4(0x17f)],_0x177ab2[_0x29c0c4(0x125)],_0x177ab2[_0x29c0c4(0x10d)],_0x58f9cb):this[_0x29c0c4(0x127)][_0x29c0c4(0x193)](_0x58f9cb));_0x44cc99[_0x29c0c4(0x1b6)](),_0x185526++;}return _0x52f6f2[_0x29c0c4(0x163)](_0x3fdde2=>_0x3fdde2()),_0x52f6f2=[],_0x488340>0x0?this[_0x29c0c4(0x127)][_0x29c0c4(0x168)]():_0xa3d178||this[_0x29c0c4(0x127)][_0x29c0c4(0x146)](),this[_0x29c0c4(0x127)][_0x29c0c4(0x12a)]();}}class V extends s[_0x2d220e(0x1af)]{constructor(){const _0xd3cf9b=_0x2d220e;super(...arguments),D(this,'_allTreeMap',new Map()),D(this,_0xd3cf9b(0x138),new M[(_0xd3cf9b(0x16a))](!0x0));}[_0x2d220e(0x1c0)](){const _0x1342bb=_0x2d220e;this[_0x1342bb(0x1f5)][_0x1342bb(0x1ea)](),this[_0x1342bb(0x113)][_0x1342bb(0x1ea)](),this[_0x1342bb(0x14d)][_0x1342bb(0x1ea)](),this[_0x1342bb(0x138)]['clear'](),this[_0x1342bb(0x1dd)][_0x1342bb(0x1ea)](),this[_0x1342bb(0x1ab)](),this[_0x1342bb(0x1bd)][_0x1342bb(0x1ea)]();}[_0x2d220e(0x1ad)](_0x367495,_0x2a910e,_0x4f88b9,_0x561375){const _0x20c385=_0x2d220e;this['_otherFormulaData'][_0x20c385(0x19d)](_0x367495)||this[_0x20c385(0x1f5)][_0x20c385(0x1c6)](_0x367495,new Map());const _0x65a2b6=this[_0x20c385(0x1f5)][_0x20c385(0x11b)](_0x367495);_0x65a2b6['has'](_0x2a910e)||_0x65a2b6[_0x20c385(0x1c6)](_0x2a910e,new Map());const _0x360a14=_0x65a2b6['get'](_0x2a910e);_0x360a14['has'](_0x4f88b9)||_0x360a14[_0x20c385(0x1c6)](_0x4f88b9,new M['ObjectMatrix']()),_0x360a14['get'](_0x4f88b9)[_0x20c385(0x12e)](_0x561375[_0x20c385(0x125)],_0x561375[_0x20c385(0x10d)],_0x561375[_0x20c385(0x192)]);}[_0x2d220e(0x175)](_0x51b1e3,_0x57dbab,_0x165a9d){const _0x32b32a=_0x2d220e,_0x26290a=this['_otherFormulaData'][_0x32b32a(0x11b)](_0x51b1e3);if(_0x26290a&&_0x26290a[_0x32b32a(0x19d)](_0x57dbab)){const _0x14b899=_0x26290a[_0x32b32a(0x11b)](_0x57dbab);_0x165a9d[_0x32b32a(0x163)](_0xf4ecac=>{const _0x213d08=_0x32b32a,_0x2d74ea=_0x14b899[_0x213d08(0x11b)](_0xf4ecac);_0x2d74ea!=null&&(_0x2d74ea[_0x213d08(0x13c)]((_0x32afaa,_0x5afe1e,_0xea2fa2)=>{const _0x49009f=_0x213d08;this[_0x49009f(0x152)](_0xea2fa2),this[_0x49009f(0x1f1)](_0xea2fa2);}),_0x14b899[_0x213d08(0x1aa)](_0xf4ecac),this[_0x213d08(0x1bd)][_0x213d08(0x1aa)](_0xf4ecac));}),_0x14b899[_0x32b32a(0x10a)]===0x0&&_0x26290a[_0x32b32a(0x1aa)](_0x57dbab),_0x26290a[_0x32b32a(0x10a)]===0x0&&this[_0x32b32a(0x1f5)][_0x32b32a(0x1aa)](_0x51b1e3);}}[_0x2d220e(0x12d)](_0x3a6bf6,_0x1a62d6){const _0x3600ec=_0x2d220e,_0x456407=this['_otherFormulaData'][_0x3600ec(0x11b)](_0x3a6bf6);if(_0x1a62d6&&_0x456407&&_0x456407['has'](_0x1a62d6)){const _0x940c55=_0x456407[_0x3600ec(0x11b)](_0x1a62d6);this[_0x3600ec(0x182)](_0x3a6bf6,_0x1a62d6);for(const _0x2624eb of _0x940c55['keys']()){const _0x51ca4a=_0x940c55[_0x3600ec(0x11b)](_0x2624eb);_0x51ca4a!=null&&(_0x51ca4a[_0x3600ec(0x13c)]((_0x4f87ec,_0x594722,_0x153b9d)=>{const _0x27d83a=_0x3600ec;this[_0x27d83a(0x1dd)][_0x27d83a(0x11b)](_0x153b9d)&&this[_0x27d83a(0x1f1)](_0x153b9d);}),this[_0x3600ec(0x1bd)][_0x3600ec(0x1aa)](_0x2624eb));}_0x940c55[_0x3600ec(0x1ea)]();}else{if(_0x456407){for(const _0x5bc11a of _0x456407[_0x3600ec(0x134)]()){const _0x3af699=_0x456407[_0x3600ec(0x11b)](_0x5bc11a);this[_0x3600ec(0x182)](_0x3a6bf6,_0x5bc11a);for(const _0x1ca18d of _0x3af699[_0x3600ec(0x134)]()){const _0x336ee9=_0x3af699[_0x3600ec(0x11b)](_0x1ca18d);_0x336ee9!=null&&(_0x336ee9[_0x3600ec(0x13c)]((_0xd8014,_0x29ae70,_0x4062b8)=>{const _0x5b682b=_0x3600ec;this[_0x5b682b(0x1dd)][_0x5b682b(0x11b)](_0x4062b8)&&this[_0x5b682b(0x1f1)](_0x4062b8);}),this[_0x3600ec(0x1bd)]['delete'](_0x1ca18d));}}this[_0x3600ec(0x1f5)][_0x3600ec(0x1aa)](_0x3a6bf6);}}}[_0x2d220e(0x108)](_0x20146e,_0x5c4e77,_0x5e2db5,_0x36137a){const _0x55e9ae=_0x2d220e;this['_featureFormulaData'][_0x55e9ae(0x19d)](_0x20146e)||this[_0x55e9ae(0x113)][_0x55e9ae(0x1c6)](_0x20146e,new Map());const _0x415eae=this['_featureFormulaData']['get'](_0x20146e);_0x415eae[_0x55e9ae(0x19d)](_0x5c4e77)||_0x415eae['set'](_0x5c4e77,new Map()),_0x415eae[_0x55e9ae(0x11b)](_0x5c4e77)[_0x55e9ae(0x1c6)](_0x5e2db5,_0x36137a[_0x55e9ae(0x192)]);}[_0x2d220e(0x1a4)](_0x1ebba5,_0x1e70d5,_0x477212){const _0x333f10=_0x2d220e,_0x46b43c=this[_0x333f10(0x113)][_0x333f10(0x11b)](_0x1ebba5);if(_0x46b43c&&_0x46b43c[_0x333f10(0x19d)](_0x1e70d5)){const _0x4a637a=_0x46b43c[_0x333f10(0x11b)](_0x1e70d5);_0x477212['forEach'](_0x3401ce=>{const _0xeb42ae=_0x333f10,_0x2e7880=_0x4a637a['get'](_0x3401ce);_0x2e7880!=null&&(this[_0xeb42ae(0x152)](_0x2e7880),_0x4a637a[_0xeb42ae(0x1aa)](_0x3401ce),this[_0xeb42ae(0x1f1)](_0x2e7880));});}}['clearFeatureFormulaDependency'](_0x55e1d1,_0x2d8d19){const _0x20bb2c=_0x2d220e,_0x173bcf=this[_0x20bb2c(0x113)][_0x20bb2c(0x11b)](_0x55e1d1);if(_0x2d8d19&&_0x173bcf&&_0x173bcf[_0x20bb2c(0x19d)](_0x2d8d19)){const _0x20ae13=_0x173bcf[_0x20bb2c(0x11b)](_0x2d8d19);this[_0x20bb2c(0x182)](_0x55e1d1,_0x2d8d19),_0x20ae13[_0x20bb2c(0x163)](_0x258cc4=>{_0x258cc4!=null&&this['_removeAllTreeMap'](_0x258cc4);}),_0x20ae13['clear']();}else _0x173bcf&&(_0x173bcf[_0x20bb2c(0x163)]((_0x5e2a38,_0x4783bf)=>{const _0x5c8e2e=_0x20bb2c;this[_0x5c8e2e(0x182)](_0x55e1d1,_0x4783bf),_0x5e2a38[_0x5c8e2e(0x163)](_0x27ecae=>{const _0x5457a5=_0x5c8e2e;_0x27ecae!=null&&this[_0x5457a5(0x1f1)](_0x27ecae);});}),this[_0x20bb2c(0x113)][_0x20bb2c(0x1aa)](_0x55e1d1));}['addFormulaDependency'](_0x5bb726,_0x161557,_0x329541,_0x14afc4,_0x365e14){const _0x1792bb=_0x2d220e;this[_0x1792bb(0x14d)][_0x1792bb(0x19d)](_0x5bb726)||this[_0x1792bb(0x14d)][_0x1792bb(0x1c6)](_0x5bb726,new Map());const _0x17702a=this[_0x1792bb(0x14d)]['get'](_0x5bb726);_0x17702a[_0x1792bb(0x19d)](_0x161557)||_0x17702a[_0x1792bb(0x1c6)](_0x161557,new M[(_0x1792bb(0x121))]()),_0x17702a[_0x1792bb(0x11b)](_0x161557)[_0x1792bb(0x12e)](_0x329541,_0x14afc4,_0x365e14['treeId']);}['removeFormulaDependency'](_0x3ee62b,_0x235f3b,_0x4ad805,_0x1ffeb4){const _0x5036da=_0x2d220e,_0x4aba2d=this[_0x5036da(0x14d)][_0x5036da(0x11b)](_0x3ee62b);if(_0x4aba2d&&_0x4aba2d[_0x5036da(0x19d)](_0x235f3b)){const _0x3d1941=_0x4aba2d[_0x5036da(0x11b)](_0x235f3b),_0x400311=_0x3d1941['getValue'](_0x4ad805,_0x1ffeb4);if(_0x400311==null)return;this[_0x5036da(0x152)](_0x400311),_0x3d1941[_0x5036da(0x170)](_0x4ad805,_0x1ffeb4),this['_removeAllTreeMap'](_0x400311);}}[_0x2d220e(0x1b4)](_0x12687a,_0x2eae07){const _0x3d8529=_0x2d220e,_0x4084c4=this[_0x3d8529(0x14d)]['get'](_0x12687a);if(_0x2eae07&&_0x4084c4&&_0x4084c4[_0x3d8529(0x19d)](_0x2eae07)){const _0x126770=_0x4084c4[_0x3d8529(0x11b)](_0x2eae07);this[_0x3d8529(0x182)](_0x12687a,_0x2eae07),_0x126770[_0x3d8529(0x13c)]((_0x4f5b53,_0x128dbc,_0x5ee294)=>{if(_0x5ee294==null)return!0x0;this['_removeAllTreeMap'](_0x5ee294);}),_0x126770['reset']();}else _0x4084c4&&(_0x4084c4[_0x3d8529(0x163)]((_0x38c5a8,_0xfbb37e)=>{const _0x304b7f=_0x3d8529;this[_0x304b7f(0x182)](_0x12687a,_0xfbb37e),_0x38c5a8[_0x304b7f(0x13c)]((_0x1c62a0,_0x2b4a95,_0x411ae4)=>{const _0x2a566e=_0x304b7f;if(_0x411ae4==null)return!0x0;this[_0x2a566e(0x1f1)](_0x411ae4);});}),this[_0x3d8529(0x14d)]['delete'](_0x12687a));}[_0x2d220e(0x152)](_0x26e2d4){const _0x69ca91=_0x2d220e;if(_0x26e2d4==null)return;const _0x3caecd=this['_allTreeMap'][_0x69ca91(0x11b)](_0x26e2d4);if(_0x3caecd){const _0x4a0d8a=[];for(const [_0x3b4348,_0x594cf1]of _0x3caecd)for(const [_0x360a3f,_0x4fcd3f]of _0x594cf1)_0x4a0d8a[_0x69ca91(0x149)]({'unitId':_0x3b4348,'sheetId':_0x360a3f,'range':_0x4fcd3f,'id':_0x26e2d4});this[_0x69ca91(0x138)]['bulkRemove'](_0x4a0d8a);}}[_0x2d220e(0x1cc)](_0x28a37c,_0x32f4a1){const _0x371862=_0x2d220e,_0x4773c3=this['_definedNameMap']['get'](_0x28a37c);if(_0x4773c3){const _0x4f29db=_0x4773c3[_0x371862(0x11b)](_0x32f4a1);if(_0x4f29db){for(const _0x3161ae of _0x4f29db)this['_removeDependencyRTreeCache'](_0x3161ae),this[_0x371862(0x1f1)](_0x3161ae);_0x4f29db[_0x371862(0x1ea)]();}}}[_0x2d220e(0x1ef)](){const _0x2d52ff=_0x2d220e;this[_0x2d52ff(0x138)][_0x2d52ff(0x1ef)]();}[_0x2d220e(0x1a5)](){const _0x495971=_0x2d220e;this[_0x495971(0x138)][_0x495971(0x1a5)]();}[_0x2d220e(0x1f1)](_0x43705e){const _0x52d50c=_0x2d220e;_0x43705e!=null&&this[_0x52d50c(0x1dd)][_0x52d50c(0x1aa)](_0x43705e);}[_0x2d220e(0x16b)](_0x397965){const _0x1bebc7=_0x2d220e;var _0x3530ca,_0x33d3dd;const _0x4e83f9=_0x397965[_0x1bebc7(0x13b)];let _0x45a461=this['_allTreeMap'][_0x1bebc7(0x11b)](_0x397965[_0x1bebc7(0x192)]);for(let _0x3865fe=0x0;_0x3865fe<_0x4e83f9['length'];_0x3865fe++){const _0xcb87e=_0x4e83f9[_0x3865fe];let {unitId:_0x494205,sheetId:_0x14c320,range:_0x1fca98}=_0xcb87e;_0x45a461||(_0x45a461=new Map(),this['_allTreeMap'][_0x1bebc7(0x1c6)](_0x397965[_0x1bebc7(0x192)],_0x45a461)),_0x45a461['has'](_0x494205)||_0x45a461['set'](_0x494205,new Map());const _0x4ae7cd=(_0x3530ca=_0x45a461==null?void 0x0:_0x45a461[_0x1bebc7(0x11b)](_0x494205))==null?void 0x0:_0x3530ca[_0x1bebc7(0x11b)](_0x14c320);_0x4ae7cd&&(_0x1fca98={'startRow':Math['min'](_0x1fca98[_0x1bebc7(0x13f)],_0x4ae7cd[_0x1bebc7(0x13f)]),'startColumn':Math[_0x1bebc7(0x1bb)](_0x1fca98[_0x1bebc7(0x1a6)],_0x4ae7cd['startColumn']),'endRow':Math[_0x1bebc7(0x1fb)](_0x1fca98[_0x1bebc7(0x132)],_0x4ae7cd[_0x1bebc7(0x132)]),'endColumn':Math[_0x1bebc7(0x1fb)](_0x1fca98[_0x1bebc7(0x143)],_0x4ae7cd[_0x1bebc7(0x143)])}),(_0x33d3dd=_0x45a461[_0x1bebc7(0x11b)](_0x494205))==null||_0x33d3dd[_0x1bebc7(0x1c6)](_0x14c320,_0x1fca98);}}}var G=Object[_0x2d220e(0x188)],$=(_0xb56537,_0x447a64,_0x3e75a6,_0x43b8b5)=>{const _0x59e808=_0x2d220e;for(var _0x1f0fe9=_0x43b8b5>0x1?void 0x0:_0x43b8b5?G(_0x447a64,_0x3e75a6):_0x447a64,_0x54f8b2=_0xb56537[_0x59e808(0x185)]-0x1,_0x3b5e6c;_0x54f8b2>=0x0;_0x54f8b2--)(_0x3b5e6c=_0xb56537[_0x54f8b2])&&(_0x1f0fe9=_0x3b5e6c(_0x1f0fe9)||_0x1f0fe9);return _0x1f0fe9;};function _0x5da7(){const _0x548bc4=['_registerOtherFormulas','FormulaDependencyTreeType','_otherFormulaManagerService','DEFAULT_TOKEN_LET_FUNCTION_NAME','getFeatureFormulaDependency','clear','_currentUnitId','_isCyclicUtilMap','FormulaDependencyTreeVirtual','_checkColonNodeForExprTree','openKdTree','executeAsync','_removeAllTreeMap','getFormulaDependency','from','NEW_EXCEL_FUNCTIONS','_otherFormulaData','enableCycleDependency','PLUS','_generateTreeList','_checkAddBracketForMinus','startsWith','max','_executionCompleteListener$','range','setAdded','getDirtyData','intervalCount','setDependencyTreeModelData','_resetPrefix','_xlfnPrefix','slice','dispose','startIndex','_getAllDependencyJson','_traverse','_lambdaFunctionParameterSet','_interpreter','DEFAULT_INTERVAL_COUNT','addFeatureFormulaDependency','featureDirtyRanges','size','row','setFormulaExecuteStage','refOffsetY','OTHER_FORMULA','getRuntimeState','setCompletedFormulasCount','SUFFIX_TOKEN_SET','VALUE','_featureFormulaData','getClearDependencyTreeCache','node','getConfig','986490KtSKcV','_handleChildrenForExprTree','_getTreeNode','ICalculateFormulaService','get','_isCalculateTreeModel','generateAstNode','hasOtherFormulaDataMainData','endsWith','values','ObjectMatrix','_xlpm.','type','_configService','refOffsetX','isSkip','_runtimeService','refTree','ErrorType','getAllRuntimeData','addFormulaDependencyByDefinedName','_apply','clearOtherFormulaDependency','setValue','_dependencyManagerService','DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME','addFormulaDependency','endRow','treeBuilder','keys','LexerNode','add','setSkip','_dependencyRTreeCache','clearFeatureFormulaDependency','FEATURE_FORMULA','rangeList','forValue','trim','clearArrayObjectCache','startRow','_endFormulaDependencyTreeModel','16904SgYoxO','Module','endColumn','call','isStopExecution','markedAsNoFunctionsExecuted','_handleLambdaForExprTree','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','push','_getUpdateTreeListAndMakeDependency','children','FormulaExecuteStageType','_formulaData','generateRandomDependencyTreeId','_dependencyTreeCache','_xlpmPrefix','_generateExprTree','_removeDependencyRTreeCache','DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER','LexerTreeBuilder','dependencySheetName','generate','isExcludeRange','1090326wHyHgO','searchDependency','markedAsStopFunctionsExecuted','/*\x20aQOXcl-sXQpNOa\x20dYaCaY-laUdOpla\x20*/Cxc2lX1c\x20sa2YMdlX1c(OX2acQa,\x20dxNOX2uaM)\x20{\x20\x20\x20\x20lYM\x20{\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20OX2acQaocC1DpYlPYYpM\x20=\x20OX2acQa.QdOXl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x201YX0XcbaQQp0a\x20=\x20Ktkf.dpYQa(pl1N(OX2acQaocC1DpYlPYYpM[G]));\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(!1YX0XcbaQQp0a.xs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201YX0XcbaQQp0a.xs\x20=\x20fxUNaY(OX2acQaocC1DpYlPYYpM[V]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20XQ81YzaY\x20=\x20lMda1C\x2081YzaYgO1NpOt21da\x20!==\x20\x27xcsaCXcas\x27\x20&&\x20QaOC\x20XcQlpc2a1C\x2081YzaYgO1NpOt21da;\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20XQmY1hQaY\x20=\x20lMda1C\x20hXcs1h\x20!==\x20\x27xcsaCXcas\x27\x20&&\x20lMda1C\x20hXcs1h.O12plX1c\x20!==\x20\x27xcsaCXcas\x27;\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x2021clajl\x20=\x20XQ81YzaY\x20?\x20QaOC\x20:\x20(XQmY1hQaY\x20?\x20hXcs1h\x20:\x200O1NpOeTXQ);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20UaQQp0a81Ys\x20=\x2021clajl.__mpQaRV__.dpYQa(OX2acQaocC1DpYlPYYpM[G]);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20UaQQp0a\x20=\x2021clajl.__Faj__.QlYXc0XCM(UaQQp0a81Ys);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0cplxYa81Ys\x20=\x2021clajl.__mpQaRV__.dpYQa(OX2acQaocC1DpYlPYYpM[4]);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0cplxYa\x20=\x2021clajl.__Faj__.QlYXc0XCM(QX0cplxYa81Ys);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0crpOXs\x20=\x2021clajl.__LaYXCM__(QX0cplxYa,\x20UaQQp0a,\x20dxNOX2uaM);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20s1UpXc\x20=\x201YX0XcbaQQp0a.sU;\x20\x20\x20\x20\x20\x20\x20\x20Cxc2lX1c\x20XQ71UpXcbpl2TXc0(dpllaYc,\x20T1Ql)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(dpllaYc\x20===\x20T1Ql)\x20YalxYc\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(dpllaYc.QlpYlQ8XlT(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QxCCXj\x20=\x20dpllaYc.QOX2a(G);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(QxCCXj\x20&&\x20!T1Ql.QlpYlQ8XlT(\x27.\x27)\x20&&\x20T1Ql\x20!==\x20QxCCXj\x20&&\x20T1Ql.acsQ8XlT(\x27.\x27\x20+\x20QxCCXj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20CpOQa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Oal\x20s1UpXcrpOXs\x20=\x20CpOQa;\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(XQmY1hQaY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20(s1UpXc\x20&&\x20s1UpXc.Oac0lT)\x20?\x20s1UpXc.Q1Ua((sUolaU)\x20=>\x20XQ71UpXcbpl2TXc0(sUolaU,\x20O12plX1c.T1QlcpUa))\x20:\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(O12plX1c.T1QlcpUa\x20===\x20\x27O12pOT1Ql\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20aOQa\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20LpOXs\x20=\x20QX0crpOXs\x20&&\x20s1UpXcrpOXs;\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LpOXs,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UaQQp0a:\x201YX0XcbaQQp0a,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x202pl2T\x20(aYY1Y)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LpOXs:\x20CpOQa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UaQQp0a:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','39brxOJF','FormulaDependencyTree','_getFeatureFormulaTree','_executionInProgressListener$','LexerTreeProBuilder','1910OKqwsx','getValue','forEach','_initializeWithOverride','\x22\x20is\x20duplicated.','DEFAULT_TOKEN_TYPE_PARAMETER','join','markedAsSuccessfullyExecuted','getFormulaExprTree','RTree','_addAllTreeMap','error','rowCount','_getCurNodeTypeForExprTree','requestImmediateMacroTask','realDeleteValue','setRuntimeFeatureCellData','addOtherFormulaDependencyMainData','getFormulaData','getOtherFormulaData','removeOtherFormulaDependency','_handleTextNodeForExprTree','next','isReferenceString','_hasNewExcelFunction','START_DEPENDENCY_ARRAY_FORMULA','resolve','setTotalArrayFormulasToCalculate','value','getToken','formulaId','isForceCalculate','isAdded','_removeDependencyRTreeCacheById','_calculateRunList','_createVirtualFDtree','length','Lambda\x20parameter\x20name\x20\x22','_clearFunctionString','getOwnPropertyDescriptor','CURRENTLY_CALCULATING','_getDependencyTreeParenIds','_config','UniverFormulaEnginePlugin','isVirtual','setTotalFormulasToCalculate','matchToken','_injector','toRTreeItem','treeId','setRuntimeData','sheetId','getDirtyRanges','45092TSpiSY','FormulaDependencyGenerator','_initLicenseValid','pop','_dependencyRTreeCacheForAddressFunction','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','notExecuteFormula','has','482678rqpwJu','UniverProFormulaEnginePlugin','getChildren','subUnitId','symbol','_initializeGenerateTreeList','removeFeatureFormulaDependency','closeKdTree','startColumn','column','prototype','IFormulaDependencyGenerator','delete','_restDependencyTreeId','_checkIsCycleDependency','addOtherFormulaDependency','_formulaDependencyTreeModel','DependencyManagerBaseService','columnCount','_xlfn.','isFeatureAuthorizedWithinTime','defineProperty','clearFormulaDependency','_formulaDependencyGenerator','resetCalculationState','return\x20','bulkSearch','setRuntimeFeatureRange','_getTreeById','min','message','_otherFormulaDataMainData','getUnitData','_lexer','reset','945cIXrmh','prefixToken','COLON','6579HWRQGl','featureId','set','_startFormulaDependencyTreeModel','toStringTag','splitTableStructuredRef','getOtherFormulaDependency','_getAllTreeList','removeFormulaDependencyByDefinedName','isCache','_clearPrefix','getStartIndex','_currentConfigService','_astTreeBuilder','_generateNewFunctionString','string','dirtyRanges','CURRENTLY_CALCULATING_ARRAY_FORMULA','valid','_convertDirtyRangesToUnitRange','setRuntimeOtherData','formula','_getTableNameFromStructuredRef','23028RcNXFK','_handleNewFunctionChild','_allTreeMap','_createFDtree','checkAsyncNode','unitId','getSheetFeatureLimit','isArray','DEFAULT_TOKEN_TYPE_ROOT','default'];_0x5da7=function(){return _0x548bc4;};return _0x5da7();}const W=Number['parseInt'](0x694f7d1b);exports[_0x2d220e(0x19f)]=class extends s[_0x2d220e(0x18c)]{[_0x2d220e(0x164)](){const _0x348df4=_0x2d220e;var _0x53948b,_0x5e6113;this[_0x348df4(0x198)]()?(this[_0x348df4(0x190)][_0x348df4(0x136)]([s[_0x348df4(0x154)],{'useClass':L}]),(_0x53948b=this['_config'])!=null&&_0x53948b[_0x348df4(0x19c)]||[[s[_0x348df4(0x11a)],{'useClass':j}],[s['IDependencyManagerService'],{'useClass':V}],[s['IFormulaDependencyGenerator'],{'useClass':K}]][_0x348df4(0x163)](_0x4d5fd0=>this[_0x348df4(0x190)]['add'](_0x4d5fd0))):(this['_injector'][_0x348df4(0x136)]([s[_0x348df4(0x154)],{'useClass':s[_0x348df4(0x154)]}]),(_0x5e6113=this[_0x348df4(0x18b)])!=null&&_0x5e6113[_0x348df4(0x19c)]||[[s[_0x348df4(0x11a)],{'useClass':s['CalculateFormulaService']}],[s['IDependencyManagerService'],{'useClass':s['DependencyManagerService']}],[s[_0x348df4(0x1a9)],{'useClass':s[_0x348df4(0x197)]}]][_0x348df4(0x163)](_0x5a21fc=>this[_0x348df4(0x190)][_0x348df4(0x136)](_0x5a21fc)));}[_0x2d220e(0x198)](){const _0x4e84f6=_0x2d220e;var _0x2acb02;const _0x4f7ba2=(_0x2acb02=this[_0x4e84f6(0x124)][_0x4e84f6(0x116)](N['LS_CONFIG_KEY']))!=null?_0x2acb02:{},{ls:_0x4eaf7b,pbk:_0x50b9e4}=_0x4f7ba2;if(!_0x4eaf7b||!_0x50b9e4)return!0x1;const _0x554158=N['unshiftString'](B,b),_0x4f818e=new Function(_0x4e84f6(0x1b7)+_0x554158)()(_0x4eaf7b,_0x50b9e4),_0x3cb754=_0x4f818e[_0x4e84f6(0x1bc)];return _0x4f818e[_0x4e84f6(0x1d6)]&&N[_0x4e84f6(0x1b2)](_0x3cb754,'sf',W)?N[_0x4e84f6(0x1e1)](_0x3cb754,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports['UniverProFormulaEnginePlugin']=$([M['DependentOn'](N['UniverLicensePlugin'])],exports[_0x2d220e(0x19f)]),exports[_0x2d220e(0x160)]=L,Object[_0x2d220e(0x134)](s)['forEach'](_0x206383=>{const _0x526092=_0x2d220e;_0x206383!==_0x526092(0x1e4)&&!Object[_0x526092(0x1a8)]['hasOwnProperty'][_0x526092(0x144)](exports,_0x206383)&&Object['defineProperty'](exports,_0x206383,{'enumerable':!0x0,'get':()=>s[_0x206383]});});
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x287f(_0x298706,_0x424ac8){_0x298706=_0x298706-0x1c1;var _0x3d6612=_0x3d66();var _0x287f96=_0x3d6612[_0x298706];return _0x287f96;}(function(_0x8b8c23,_0x591eb5){var _0x534054=_0x287f,_0x11510a=_0x8b8c23();while(!![]){try{var _0x389f3e=parseInt(_0x534054(0x1c2))/0x1*(parseInt(_0x534054(0x1c9))/0x2)+parseInt(_0x534054(0x1c4))/0x3+-parseInt(_0x534054(0x1ca))/0x4+parseInt(_0x534054(0x1c7))/0x5+-parseInt(_0x534054(0x1c1))/0x6+parseInt(_0x534054(0x1c5))/0x7*(parseInt(_0x534054(0x1c3))/0x8)+-parseInt(_0x534054(0x1c8))/0x9*(parseInt(_0x534054(0x1c6))/0xa);if(_0x389f3e===_0x591eb5)break;else _0x11510a['push'](_0x11510a['shift']());}catch(_0x4b4ef6){_0x11510a['push'](_0x11510a['shift']());}}}(_0x3d66,0x2e406));export*from'@univerjs/engine-formula/facade';function _0x3d66(){var _0x326c7d=['3stcHSo','328FmgAVL','899838kstspm','44751xcyKik','2160miwbiQ','762905sOmmhm','22617DBvPCN','218162UhwvqI','918900jGCQXI','479424VDXTLg'];_0x3d66=function(){return _0x326c7d;};return _0x3d66();}
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x29b4c8=_0x368b;(function(_0xab1096,_0x2c1fcb){const _0x3fb3c7=_0x368b,_0x1f08b9=_0xab1096();while(!![]){try{const _0x5bc894=parseInt(_0x3fb3c7(0x282))/0x1*(-parseInt(_0x3fb3c7(0x1f2))/0x2)+parseInt(_0x3fb3c7(0x212))/0x3*(parseInt(_0x3fb3c7(0x255))/0x4)+-parseInt(_0x3fb3c7(0x20c))/0x5+-parseInt(_0x3fb3c7(0x226))/0x6*(-parseInt(_0x3fb3c7(0x296))/0x7)+-parseInt(_0x3fb3c7(0x27d))/0x8*(-parseInt(_0x3fb3c7(0x294))/0x9)+parseInt(_0x3fb3c7(0x1f5))/0xa*(-parseInt(_0x3fb3c7(0x239))/0xb)+parseInt(_0x3fb3c7(0x23e))/0xc*(parseInt(_0x3fb3c7(0x210))/0xd);if(_0x5bc894===_0x2c1fcb)break;else _0x1f08b9['push'](_0x1f08b9['shift']());}catch(_0x2d2936){_0x1f08b9['push'](_0x1f08b9['shift']());}}}(_0x3810,0xd82c6));var ie=Object[_0x29b4c8(0x25e)],ae=(_0x239363,_0xcf662a,_0x40bebc)=>_0xcf662a in _0x239363?ie(_0x239363,_0xcf662a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40bebc}):_0x239363[_0xcf662a]=_0x40bebc,F=(_0xe46c09,_0x1f891f,_0x5d4251)=>ae(_0xe46c09,typeof _0x1f891f!=_0x29b4c8(0x25c)?_0x1f891f+'':_0x1f891f,_0x5d4251);import{LexerTreeBuilder as _0x4b7217,ErrorType as _0xd983d7,DEFAULT_TOKEN_TYPE_ROOT as _0x450065,DEFAULT_TOKEN_TYPE_PARAMETER as _0x8838b,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x1671b4,NEW_EXCEL_FUNCTIONS as _0x3090af,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x4020dc,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x506a69,matchToken as _0x2171d8,SUFFIX_TOKEN_SET as _0x5b7a3f,prefixToken as _0x1f7334,LexerNode as _0x5da704,OPERATOR_TOKEN_SET as _0x4b0ac6,isReferenceString as _0x25e1aa,splitTableStructuredRef as _0x50abce,FormulaDependencyGenerator as _0x550165,generateRandomDependencyTreeId as _0x20416a,FormulaDependencyTree as _0x226bc5,FormulaDependencyTreeType as _0x328b07,FormulaDependencyTreeVirtual as _0x39c044,generateAstNode as _0x34fc2b,CalculateFormulaService as _0x568062,FormulaExecuteStageType as _0x4ba948,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x5da8fa,DEFAULT_INTERVAL_COUNT as _0x4b3620,DependencyManagerBaseService as _0x361ffe,UniverFormulaEnginePlugin as _0xe50935,ICalculateFormulaService as _0x5e6c41,IDependencyManagerService as _0x3682ab,IFormulaDependencyGenerator as _0x5a436b,DependencyManagerService as _0x4c8992}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3aab21,LS_CONFIG_KEY as _0x54b1ec,unshiftString as _0x4e5dfe,isFeatureAuthorizedWithinTime as _0x1d44f5,getSheetFeatureLimit as _0x13ebcc}from'@univerjs-pro/license';import{ObjectMatrix as _0x43ae67,requestImmediateMacroTask as _0x5efc10,RTree as _0x3d3bdd,DependentOn as _0x5df92f}from'@univerjs/core';class De extends _0x4b7217{constructor(){const _0x43ef39=_0x29b4c8;super(...arguments),F(this,_0x43ef39(0x1d3),!0x1),F(this,_0x43ef39(0x281),new Set()),F(this,_0x43ef39(0x237),_0x43ef39(0x27f)),F(this,_0x43ef39(0x221),_0x43ef39(0x22c)),F(this,_0x43ef39(0x225),'');}[_0x29b4c8(0x231)](){const _0x3538a8=_0x29b4c8;this['_xlpmPrefix']='_xlpm.',this[_0x3538a8(0x221)]=_0x3538a8(0x22c);}[_0x29b4c8(0x290)](){const _0x27a857=_0x29b4c8;this[_0x27a857(0x237)]='',this[_0x27a857(0x221)]='';}[_0x29b4c8(0x208)](_0x3043d3,_0x411c8e){const _0x52cc93=_0x29b4c8,_0x331ac1=this[_0x52cc93(0x22f)](_0x3043d3,!0x1);if(!_0x331ac1||_0x331ac1===_0xd983d7[_0x52cc93(0x209)]||Array[_0x52cc93(0x297)](_0x331ac1))return null;const _0x341f8f=[];return this[_0x52cc93(0x1d3)]=!0x1,this[_0x52cc93(0x25b)](_0x331ac1,_0x341f8f,_0x411c8e),this[_0x52cc93(0x1d3)]?'='+_0x341f8f[_0x52cc93(0x270)](''):null;}['_generateNewFunctionString'](_0x4a3e11,_0xe0e5ef,_0x1fed71){const _0x4b6c3f=_0x29b4c8,_0x4a58ae=_0x4a3e11[_0x4b6c3f(0x1cc)](),_0x2f5e92=_0x4a58ae[_0x4b6c3f(0x2a1)](),_0x50aa1f=_0x2f5e92[_0x4b6c3f(0x26f)](),_0x2da31b=this[_0x4b6c3f(0x2a0)](_0x50aa1f),_0x3623a4=_0x1fed71(_0x2da31b);let _0x3267a2=0x0;_0x4a58ae===_0x450065?_0x3267a2=0x3:_0x4a58ae===_0x8838b?_0x3267a2=0x4:_0x4a58ae===_0x1671b4?_0x3267a2=0x5:_0x3090af[_0x4b6c3f(0x241)](_0x2da31b)?(_0xe0e5ef['push'](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0):_0x50aa1f===_0x4020dc?(_0xe0e5ef['push'](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0,_0x3267a2=0x2):_0x50aa1f===_0x506a69?(_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x221)]+_0x2f5e92),this[_0x4b6c3f(0x1d3)]=!0x0,_0x3267a2=0x1):_0x50aa1f===_0x2171d8[_0x4b6c3f(0x264)]?_0x3267a2=0x8:_0x5b7a3f[_0x4b6c3f(0x241)](_0x50aa1f)?_0x3267a2=0x7:_0x50aa1f===_0x1f7334[_0x4b6c3f(0x266)]?(this[_0x4b6c3f(0x252)](_0x4a3e11)&&(_0x3267a2=0x9),_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae)):(_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),_0x3267a2=0xa),_0x3623a4?(_0x3267a2!==0x2&&_0x3267a2!==0x1&&(_0x3267a2=0x6),_0xe0e5ef[_0x4b6c3f(0x1cf)]('(')):_0x3267a2===0x9&&_0xe0e5ef[_0x4b6c3f(0x1cf)]('(');const _0x46049b=_0x4a3e11[_0x4b6c3f(0x269)](),_0x568f99=_0x46049b[_0x4b6c3f(0x220)];if(_0x3267a2===0x2){const _0x25d32d=_0x46049b[0x0];let _0x4d96f6=0x0;_0x25d32d instanceof _0x5da704&&_0x25d32d['getToken']()===_0x1671b4&&(_0x4d96f6=0x1);for(let _0x3bfc5e=_0x4d96f6;_0x3bfc5e<_0x568f99-0x1;_0x3bfc5e++){const _0x5db319=_0x46049b[_0x3bfc5e];if(_0x5db319 instanceof _0x5da704){const _0x357d26=_0x5db319[_0x4b6c3f(0x269)]()[0x0];typeof _0x357d26==_0x4b6c3f(0x214)&&(this[_0x4b6c3f(0x281)][_0x4b6c3f(0x241)](_0x357d26)&&console[_0x4b6c3f(0x23f)]('Lambda\x20parameter\x20name\x20\x22'+_0x357d26+_0x4b6c3f(0x24a)),this[_0x4b6c3f(0x281)][_0x4b6c3f(0x277)](_0x357d26),_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x237)]+_0x357d26),this[_0x4b6c3f(0x1d3)]=!0x0);}_0xe0e5ef['push'](',');}this[_0x4b6c3f(0x204)](_0x46049b[_0x568f99-0x1],_0xe0e5ef,_0x1fed71),_0x4d96f6===0x1&&(_0xe0e5ef['push'](')'),_0xe0e5ef['push']('('),this[_0x4b6c3f(0x25b)](_0x25d32d,_0xe0e5ef,_0x1fed71)),_0xe0e5ef[_0x4b6c3f(0x1cf)](')');return;}else{if(_0x3267a2===0x1){for(let _0x30bd7a=0x0;_0x30bd7a<_0x568f99-0x1;_0x30bd7a++){const _0x2caa2a=_0x46049b[_0x30bd7a];if(_0x2caa2a instanceof _0x5da704&&_0x30bd7a%0x2===0x0){const _0x31feb3=_0x2caa2a[_0x4b6c3f(0x269)]()[0x0];if(typeof _0x31feb3==_0x4b6c3f(0x214)){this[_0x4b6c3f(0x281)][_0x4b6c3f(0x241)](_0x31feb3)&&console[_0x4b6c3f(0x23f)](_0x4b6c3f(0x218)+_0x31feb3+'\x22\x20is\x20duplicated.'),this[_0x4b6c3f(0x281)]['add'](_0x31feb3),_0xe0e5ef[_0x4b6c3f(0x1cf)](''+this[_0x4b6c3f(0x237)]+_0x31feb3),this[_0x4b6c3f(0x1d3)]=!0x0,_0xe0e5ef[_0x4b6c3f(0x1cf)](',');continue;}}if(this[_0x4b6c3f(0x204)](_0x2caa2a,_0xe0e5ef,_0x1fed71),_0x2caa2a instanceof _0x5da704){const _0x58787c=_0x46049b[_0x30bd7a+0x1];_0x58787c&&_0x58787c instanceof _0x5da704&&_0xe0e5ef[_0x4b6c3f(0x1cf)](',');}}this[_0x4b6c3f(0x204)](_0x46049b[_0x568f99-0x1],_0xe0e5ef,_0x1fed71),_0xe0e5ef['push'](')');return;}else{if(_0x3267a2===0x8){const _0x1382e1=_0x46049b[0x0],_0x1fe0b5=_0x46049b[0x1];this[_0x4b6c3f(0x204)](_0x1382e1,_0xe0e5ef,_0x1fed71),_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),this['_handleNewFunctionChild'](_0x1fe0b5,_0xe0e5ef,_0x1fed71);return;}}}for(let _0x33c4d6=0x0;_0x33c4d6<_0x568f99;_0x33c4d6++){const _0x4e6e95=_0x46049b[_0x33c4d6];if(this[_0x4b6c3f(0x204)](_0x4e6e95,_0xe0e5ef,_0x1fed71),_0x4e6e95 instanceof _0x5da704){const _0x5c40aa=_0x46049b[_0x33c4d6+0x1];_0x5c40aa&&_0x5c40aa instanceof _0x5da704&&_0xe0e5ef[_0x4b6c3f(0x1cf)](',');}}_0x3267a2===0x7&&_0xe0e5ef[_0x4b6c3f(0x1cf)](_0x4a58ae),(_0x3623a4||_0x3267a2===0x9)&&_0xe0e5ef[_0x4b6c3f(0x1cf)](')');}[_0x29b4c8(0x204)](_0xc5ac7a,_0x234ca5,_0x1596aa){const _0x1443dd=_0x29b4c8;_0xc5ac7a instanceof _0x5da704?this[_0x1443dd(0x25b)](_0xc5ac7a,_0x234ca5,_0x1596aa):this['_lambdaFunctionParameterSet'][_0x1443dd(0x241)](_0xc5ac7a)?(_0x234ca5[_0x1443dd(0x1cf)](''+this[_0x1443dd(0x237)]+_0xc5ac7a),this['_hasNewExcelFunction']=!0x0):_0x234ca5[_0x1443dd(0x1cf)](_0xc5ac7a);}['_clearFunctionString'](_0x20fa76){const _0x3a9627=_0x29b4c8;let _0x2de866=_0x20fa76[_0x3a9627(0x2a1)]();if(!_0x2de866)return _0x2de866;const _0x1a1f85=_0x2de866[0x0];if((_0x1a1f85===_0x1f7334['AT']||_0x1a1f85===_0x1f7334[_0x3a9627(0x266)]||_0x1a1f85===_0x1f7334[_0x3a9627(0x234)])&&(_0x2de866=_0x2de866[_0x3a9627(0x247)](0x1)),!_0x2de866)return _0x2de866;const _0x54dd24=_0x2de866[_0x2de866[_0x3a9627(0x220)]-0x1];return _0x5b7a3f['has'](_0x54dd24)&&(_0x2de866=_0x2de866['slice'](0x0,-0x1)),_0x2de866;}[_0x29b4c8(0x252)](_0x47b3bd){const _0x32b9fe=_0x29b4c8,_0x246efe=_0x47b3bd[_0x32b9fe(0x269)]()[0x0];if(!_0x246efe||!(_0x246efe instanceof _0x5da704)||_0x47b3bd[_0x32b9fe(0x269)]()['length']>0x1)return!0x1;const _0x49183a=_0x246efe[_0x32b9fe(0x269)](),_0x5bb51a=_0x49183a['length'];if(_0x5bb51a===0x1)return!0x1;for(let _0x858b3d=0x0;_0x858b3d<_0x5bb51a;_0x858b3d++){const _0x59cf80=_0x49183a[_0x858b3d];if(!(_0x59cf80 instanceof _0x5da704)&&_0x4b0ac6[_0x32b9fe(0x241)](_0x59cf80))return!0x0;}return!0x1;}[_0x29b4c8(0x21d)](_0x33b1ca,_0x4faa77,_0x3b6c63,_0x4b27dc,_0x19d1ac){const _0x226ee2=_0x29b4c8,_0x21a4e3=this[_0x226ee2(0x22f)](_0x33b1ca,!0x1);if(!_0x21a4e3||_0x21a4e3===_0xd983d7['VALUE']||Array[_0x226ee2(0x297)](_0x21a4e3))return null;this[_0x226ee2(0x290)](),this['_currentUnitId']=_0x4faa77;const _0x2709b5=this[_0x226ee2(0x23c)](_0x21a4e3,_0x3b6c63,_0x4b27dc,_0x19d1ac);return this[_0x226ee2(0x225)]='',this['_resetPrefix'](),_0x2709b5;}[_0x29b4c8(0x23c)](_0x5589c,_0x35e293,_0x1ef94d,_0x2f4ee9){const _0x154a75=_0x29b4c8,_0xab9dfc={'value':'','children':[],'startIndex':0x0};let _0x22c086=_0x5589c;if(_0x22c086 instanceof _0x5da704&&(_0x22c086['getToken']()===_0x450065||_0x22c086[_0x154a75(0x1cc)]()===_0x8838b)&&_0x22c086[_0x154a75(0x269)]()[_0x154a75(0x220)]===0x1&&(_0x22c086=_0x22c086[_0x154a75(0x269)]()[0x0]),!(_0x22c086 instanceof _0x5da704))return this['_handleTextNodeForExprTree'](_0x22c086,_0x1ef94d,_0x2f4ee9);const _0x2f8cac=_0x22c086['getChildren'](),_0x247c8e=_0x2f8cac[_0x154a75(0x220)],_0x3407ee=[];this[_0x154a75(0x25b)](_0x22c086,_0x3407ee,_0x35e293),_0xab9dfc[_0x154a75(0x25a)]=_0x3407ee[_0x154a75(0x270)](''),_0xab9dfc[_0x154a75(0x206)]=_0x22c086[_0x154a75(0x1d1)]();const _0x572216=this[_0x154a75(0x1f9)](_0x22c086);if(_0x572216===0x2){const _0x10b1dc=_0x2f8cac[0x0];if(_0x10b1dc instanceof _0x5da704){if(_0x10b1dc['getToken']()['trim']()!==_0x1671b4)return _0xab9dfc;this[_0x154a75(0x29b)](_0x10b1dc,_0xab9dfc,_0x35e293,_0x1ef94d,_0x2f4ee9);}return _0xab9dfc;}else{if(_0x572216===0x1){for(let _0x532efe=0x0;_0x532efe<_0x247c8e-0x1;_0x532efe++){const _0xe73b74=_0x2f8cac[_0x532efe];if(_0xe73b74 instanceof _0x5da704&&_0x532efe%0x2===0x1){const _0x3f6029=_0xe73b74['getChildren']();if(_0x3f6029['length']===0x1&&!(_0x3f6029[0x0]instanceof _0x5da704))continue;const _0x2fa2cb=this[_0x154a75(0x23c)](_0xe73b74,_0x35e293,_0x1ef94d,_0x2f4ee9);_0x2fa2cb&&_0xab9dfc[_0x154a75(0x22d)][_0x154a75(0x1cf)](_0x2fa2cb);}}return _0xab9dfc;}else{if(_0x572216===0x8){const _0x14de87=_0x2f8cac[0x0];if(_0x14de87 instanceof _0x5da704){const _0x4e8f2e=_0x14de87['getChildren']()[0x0];_0x4e8f2e instanceof _0x5da704&&(_0xab9dfc[_0x154a75(0x206)]=_0x4e8f2e['getStartIndex']());}if(this[_0x154a75(0x202)](_0x22c086))return _0xab9dfc;}else{if(_0x572216===0x7){const _0x360f87=_0x2f8cac[0x0];if(_0x360f87 instanceof _0x5da704){const _0x107cc9=_0x360f87[_0x154a75(0x269)]()[0x0];_0x107cc9 instanceof _0x5da704&&(_0xab9dfc['startIndex']=_0x107cc9[_0x154a75(0x1d1)]());}}}}}return this['_handleChildrenForExprTree'](_0x2f8cac,_0x572216,_0xab9dfc,_0x35e293,_0x1ef94d,_0x2f4ee9),_0xab9dfc;}[_0x29b4c8(0x224)](_0xe91896,_0x403fc7,_0x8f9d9e,_0x141a21,_0x198404,_0x1a0f0d){const _0x37fbcf=_0x29b4c8;for(let _0x4e590d=0x0;_0x4e590d<_0xe91896[_0x37fbcf(0x220)];_0x4e590d++){let _0x2ce461=_0xe91896[_0x4e590d];if(!(_0x2ce461 instanceof _0x5da704)){const _0x5c90e7=this[_0x37fbcf(0x276)](_0x2ce461,_0x198404,_0x1a0f0d);_0x5c90e7&&_0x8f9d9e[_0x37fbcf(0x22d)][_0x37fbcf(0x1cf)](_0x5c90e7);continue;}const _0x3bcc49=_0x2ce461[_0x37fbcf(0x269)]();if(_0x3bcc49[_0x37fbcf(0x220)]===0x1&&!(_0x3bcc49[0x0]instanceof _0x5da704)){const _0x2e3a46=_0x3bcc49[0x0];if(!_0x198404(this[_0x37fbcf(0x225)],_0x2e3a46)&&!this[_0x37fbcf(0x274)](_0x2e3a46,_0x1a0f0d)&&!_0x25e1aa(_0x2e3a46))continue;}if(_0x403fc7===0x8){const _0x34cbd1=_0x3bcc49[0x0];if(_0x34cbd1 instanceof _0x5da704){const _0x4476ef=_0x34cbd1[_0x37fbcf(0x1cc)]()[_0x37fbcf(0x2a1)]();if(_0x25e1aa(_0x4476ef))continue;_0x2ce461=_0x34cbd1;}}const _0x312f48=this['_generateExprTree'](_0x2ce461,_0x141a21,_0x198404,_0x1a0f0d);_0x312f48&&_0x8f9d9e[_0x37fbcf(0x22d)]['push'](_0x312f48);}}[_0x29b4c8(0x202)](_0x5733fa){const _0x205f54=_0x29b4c8,_0x362cd8=_0x5733fa[_0x205f54(0x269)]();if(_0x362cd8[_0x205f54(0x220)]<0x2)return!0x1;const _0x20749e=_0x362cd8[0x0],_0x26e6b3=_0x362cd8[0x1];if(!(_0x20749e instanceof _0x5da704)||!(_0x26e6b3 instanceof _0x5da704))return!0x1;const _0x33f51a=_0x20749e[_0x205f54(0x269)]()[0x0],_0x122c91=_0x26e6b3[_0x205f54(0x269)]()[0x0];if(!(_0x33f51a instanceof _0x5da704)||!(_0x122c91 instanceof _0x5da704))return!0x1;const _0x4b0469=_0x33f51a[_0x205f54(0x1cc)]()['trim'](),_0xe6abd6=_0x122c91['getToken']()[_0x205f54(0x2a1)]();return!!_0x25e1aa(''+_0x4b0469+_0x2171d8['COLON']+_0xe6abd6);}[_0x29b4c8(0x276)](_0x4aa922,_0x42c169,_0x1e7c4c){const _0x23182f=_0x29b4c8,_0xc64692=_0x4aa922[_0x23182f(0x2a1)]();return _0xc64692[_0x23182f(0x24d)]('{')&&_0xc64692[_0x23182f(0x265)]('}')||_0x42c169(this[_0x23182f(0x225)],_0xc64692)||this[_0x23182f(0x274)](_0xc64692,_0x1e7c4c)||_0x25e1aa(_0xc64692)?{'value':_0xc64692,'children':[],'startIndex':-0x1}:null;}[_0x29b4c8(0x274)](_0x4ecd62,_0x192e6f){const _0x11da70=_0x29b4c8,{tableName:_0x294918}=_0x50abce(_0x4ecd62);return _0x192e6f(this[_0x11da70(0x225)],_0x294918)?_0x294918:null;}[_0x29b4c8(0x29b)](_0x5b121d,_0x2fd4f0,_0x322f0d,_0x27c76d,_0x1f1f0e){const _0x28b570=_0x29b4c8,_0x4d8f87=_0x5b121d[_0x28b570(0x269)]();for(let _0x3cb521=0x0;_0x3cb521<_0x4d8f87[_0x28b570(0x220)];_0x3cb521++){const _0x55da05=_0x4d8f87[_0x3cb521];if(!(_0x55da05 instanceof _0x5da704))continue;const _0x52d853=_0x55da05['getChildren']();if(_0x52d853['length']===0x1&&!(_0x52d853[0x0]instanceof _0x5da704))continue;const _0x444029=this[_0x28b570(0x23c)](_0x55da05,_0x322f0d,_0x27c76d,_0x1f1f0e);_0x444029&&_0x2fd4f0[_0x28b570(0x22d)][_0x28b570(0x1cf)](_0x444029);}}[_0x29b4c8(0x1f9)](_0x1fd649){const _0x5b51dd=_0x29b4c8,_0x1ae2bd=_0x1fd649[_0x5b51dd(0x1cc)](),_0x56b1db=_0x1ae2bd[_0x5b51dd(0x2a1)]()[_0x5b51dd(0x26f)]();let _0x10e278=0x0;return _0x1ae2bd===_0x450065?_0x10e278=0x3:_0x1ae2bd===_0x8838b?_0x10e278=0x4:_0x1ae2bd===_0x1671b4?_0x10e278=0x5:_0x56b1db===_0x4020dc?_0x10e278=0x2:_0x56b1db===_0x506a69?_0x10e278=0x1:_0x56b1db===_0x2171d8[_0x5b51dd(0x264)]?_0x10e278=0x8:_0x5b7a3f[_0x5b51dd(0x241)](_0x56b1db)?_0x10e278=0x7:_0x56b1db===_0x1f7334[_0x5b51dd(0x266)]?this[_0x5b51dd(0x252)](_0x1fd649)&&(_0x10e278=0x9):_0x10e278=0xa,_0x10e278;}}const Re={0x0:'Y',0x1:'9',0x2:'Q',0x3:'d',0x4:'8',0x5:'0',0x6:'i',0x7:'3',0x8:'y',0x9:'s','S':'1','J':'2','d':'4','n':'5','P':'6','m':'7','x':'a','B':'b','U':'c','s':'e','e':'f','y':'g','f':'h','L':'j','h':'k','R':'l','i':'m','W':'n','V':'o','c':'p','b':'q','N':'r','l':'t','O':'u','F':'v','I':'w','K':'x','M':'z','Z':'A','a':'B','Y':'C','G':'D','r':'E','j':'F','E':'G','o':'H','T':'I','w':'J','Q':'K','u':'L','z':'M','v':'N','H':'O','t':'P','A':'R','k':'S','q':'T','p':'U','X':'V','C':'W','D':'X','g':'Z'},ve='/*\x20s9R6Wl-369xBRs\x20cNsesN-lsicRxls\x20*/eOWUl6VW\x203sUN8cl6VW(R6UsW9s,\x20cOBR6UQs8)\x20{\x20\x20\x20\x20lN8\x20{\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20R6UsW9sTWeVtxNlZNNx8\x20=\x20R6UsW9s.9cR6l(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20VN6y6Wzs99xys\x20=\x20wkHv.cxN9s(xlVB(R6UsW9sTWeVtxNlZNNx8[J]));\x20\x20\x20\x20\x20\x20\x20\x206e\x20(!VN6y6Wzs99xys.O3)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20VN6y6Wzs99xys.O3\x20=\x20vOiBsN(R6UsW9sTWeVtxNlZNNx8[d]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069CVNhsN\x20=\x20l8csVe\x20CVNhsNERVBxRkUVcs\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x209sRe\x206W9lxWUsVe\x20CVNhsNERVBxRkUVcs;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2069aNVI9sN\x20=\x20l8csVe\x20I6W3VI\x20!==\x20\x27OW3se6Ws3\x27\x20&&\x20l8csVe\x20I6W3VI.RVUxl6VW\x20!==\x20\x27OW3se6Ws3\x27;\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20UVWlsKl\x20=\x2069CVNhsN\x20?\x209sRe\x20:\x20(69aNVI9sN\x20?\x20I6W3VI\x20:\x20yRVBxRqf69);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xysCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[J]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20is99xys\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(is99xysCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONsCVN3\x20=\x20UVWlsKl.__ax9sPd__.cxN9s(R6UsW9sTWeVtxNlZNNx8[7]);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWxlONs\x20=\x20UVWlsKl.__osK__.9lN6Wy6e8(96yWxlONsCVN3);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x2096yWXxR63\x20=\x20UVWlsKl.__FsN6e8__(96yWxlONs,\x20is99xys,\x20cOBR6UQs8);\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x203Vix6W\x20=\x20VN6y6Wzs99xys.3i;\x20\x20\x20\x20\x20\x20\x20\x20eOWUl6VW\x2069GVix6WzxlUf6Wy(cxllsNW,\x20fV9l)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW\x20===\x20fV9l)\x20NslONW\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(cxllsNW.9lxNl9C6lf(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x209Oee6K\x20=\x20cxllsNW.9R6Us(J);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(9Oee6K\x20&&\x20!fV9l.9lxNl9C6lf(\x27.\x27)\x20&&\x20fV9l\x20!==\x209Oee6K\x20&&\x20fV9l.sW39C6lf(\x27.\x27\x20+\x209Oee6K))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Rsl\x203Vix6WXxR63\x20=\x20exR9s;\x20\x20\x20\x20\x20\x20\x20\x206e\x20(69aNVI9sN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20(3Vix6W\x20&&\x203Vix6W.RsWylf)\x20?\x203Vix6W.9Vis((3iTlsi)\x20=>\x2069GVix6WzxlUf6Wy(3iTlsi,\x20RVUxl6VW.fV9lWxis))\x20:\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x206e\x20(RVUxl6VW.fV9lWxis\x20===\x20\x27RVUxRfV9l\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20sR9s\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x203Vix6WXxR63\x20=\x20lNOs;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20UVW9l\x20FxR63\x20=\x2096yWXxR63\x20&&\x203Vix6WXxR63;\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20VN6y6Wzs99xys,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20UxlUf\x20(sNNVN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NslONW\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20FxR63:\x20exR9s,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20is99xys:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Me extends _0x550165{constructor(){const _0x702e2b=_0x29b4c8;super(...arguments),F(this,_0x702e2b(0x1ea),new Map());}[_0x29b4c8(0x1fa)](){const _0x35fdad=_0x29b4c8;super['dispose'](),this[_0x35fdad(0x1ea)]['clear']();}async[_0x29b4c8(0x25f)](_0x2a7d1b=!0x1){const _0x37e6d6=_0x29b4c8;this[_0x37e6d6(0x207)]();const _0x2ee06c=this['_currentConfigService'][_0x37e6d6(0x26d)](),_0x2aeb16=this[_0x37e6d6(0x24f)][_0x37e6d6(0x21f)](),_0x32fb66=this[_0x37e6d6(0x216)][_0x37e6d6(0x27b)]();_0x32fb66!=null&&Object['keys'](_0x32fb66)[_0x37e6d6(0x20f)](_0x391a7e=>{const _0x3b70a7=_0x37e6d6;_0x391a7e!=null&&Object[_0x3b70a7(0x1d7)](_0x32fb66[_0x391a7e])[_0x3b70a7(0x20f)](_0x3eb551=>{const _0x394a80=_0x3b70a7;_0x3eb551!=null&&(this[_0x394a80(0x1e4)][_0x394a80(0x1ca)](_0x391a7e,_0x3eb551),this[_0x394a80(0x1e4)][_0x394a80(0x259)](_0x391a7e,_0x3eb551),this[_0x394a80(0x1e4)]['clearFormulaDependency'](_0x391a7e,_0x3eb551));});});const _0x4c106a=this[_0x37e6d6(0x216)][_0x37e6d6(0x222)]();await this['_generateTreeList'](_0x2ee06c,_0x2aeb16,_0x4c106a),this['_dependencyManagerService'][_0x37e6d6(0x219)]();const _0x5dd5e2=this[_0x37e6d6(0x1d8)](),_0x1836f9=this[_0x37e6d6(0x295)](_0x5dd5e2);return this[_0x37e6d6(0x256)](_0x1836f9)&&this[_0x37e6d6(0x243)][_0x37e6d6(0x1dc)](),_0x2a7d1b&&this['_runtimeService']['setDependencyTreeModelData'](this[_0x37e6d6(0x257)](Array[_0x37e6d6(0x291)](this[_0x37e6d6(0x1ea)][_0x37e6d6(0x1d6)]()))),this[_0x37e6d6(0x1ea)]['clear'](),this[_0x37e6d6(0x268)][_0x37e6d6(0x1f1)](),this[_0x37e6d6(0x1e4)][_0x37e6d6(0x1ff)](),this[_0x37e6d6(0x243)][_0x37e6d6(0x283)](),Promise['resolve'](_0x1836f9);}[_0x29b4c8(0x1eb)](_0x129d3e,_0x2acdb3){const _0x59ecf0=_0x29b4c8,_0x155780=[_0x129d3e];for(;_0x155780[_0x59ecf0(0x220)]>0x0;){const _0x14bb1d=_0x155780[_0x155780[_0x59ecf0(0x220)]-0x1];if((_0x2acdb3[_0x59ecf0(0x1fc)](_0x14bb1d)||0x0)===0x0){_0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x1);const _0x2038fc=this[_0x59ecf0(0x1ea)][_0x59ecf0(0x1fc)](_0x14bb1d);if(_0x2038fc==null){_0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x2),_0x155780[_0x59ecf0(0x1fb)]();continue;}const _0x4fee9f=this[_0x59ecf0(0x1e4)][_0x59ecf0(0x261)](_0x2038fc[_0x59ecf0(0x1ec)]());for(const _0x361dbc of _0x4fee9f){const _0x17a494=_0x2acdb3['get'](_0x361dbc)||0x0;if(_0x17a494===0x1)return!0x0;_0x17a494===0x0&&_0x155780['push'](_0x361dbc);}}else _0x2acdb3[_0x59ecf0(0x1d2)](_0x14bb1d,0x2),_0x155780[_0x59ecf0(0x1fb)]();}return!0x1;}[_0x29b4c8(0x256)](_0x375e2b){const _0x147d9c=_0x29b4c8,_0x4a26a1=new Map();for(const _0x22d692 of _0x375e2b)if(!_0x4a26a1[_0x147d9c(0x241)](_0x22d692[_0x147d9c(0x1cb)])&&this['_isCyclicUtilMap'](_0x22d692['treeId'],_0x4a26a1))return!0x0;return _0x4a26a1['clear'](),!0x1;}[_0x29b4c8(0x1f6)](_0x39b560,_0x1f105d,_0x2a3bbc){const _0x2eaae7=_0x29b4c8,{unitId:_0x5705a1,subUnitId:_0x4bd946,dependencyRanges:_0x203cdf,getDirtyData:_0x429a5e}=_0x2a3bbc,_0x301e3c=_0x1f105d||_0x20416a(this[_0x2eaae7(0x1e4)]),_0x1e1b19=new _0x226bc5(_0x301e3c);_0x1e1b19['unitId']=_0x5705a1,_0x1e1b19[_0x2eaae7(0x1f3)]=_0x4bd946,_0x1e1b19['rangeList']=_0x203cdf,_0x1e1b19[_0x2eaae7(0x205)]=_0x429a5e;const _0x1da537=_0x429a5e(this[_0x2eaae7(0x216)][_0x2eaae7(0x205)](),this[_0x2eaae7(0x243)][_0x2eaae7(0x238)]()),_0x1c38bf=this['_convertDirtyRangesToUnitRange'](_0x1da537[_0x2eaae7(0x293)]);return _0x1e1b19['featureDirtyRanges']=_0x1c38bf,_0x1e1b19['featureId']=_0x39b560,_0x1e1b19['type']=_0x328b07[_0x2eaae7(0x27a)],this[_0x2eaae7(0x1e4)][_0x2eaae7(0x1e7)](_0x5705a1,_0x4bd946,_0x39b560,_0x1e1b19),this[_0x2eaae7(0x1ea)][_0x2eaae7(0x1d2)](_0x1e1b19[_0x2eaae7(0x1cb)],_0x1e1b19),this[_0x2eaae7(0x1e4)][_0x2eaae7(0x1ce)](_0x2a3bbc['unitId'],_0x2a3bbc[_0x2eaae7(0x1f3)],_0x39b560)&&(_0x1e1b19[_0x2eaae7(0x1ed)]=!0x0),_0x1e1b19;}[_0x29b4c8(0x26e)](_0x1fc859,_0x3a0a4a,_0x33cda0){const _0x368a4d=_0x29b4c8;var _0x556103;for(const _0x823be8 of _0x3a0a4a){const _0x37ac65=_0x1fc859[_0x823be8];if(_0x37ac65==null)continue;const _0x3d8bfa=Object['keys'](_0x37ac65);for(const _0x400fd8 of _0x3d8bfa){const _0x5cd92b=_0x37ac65[_0x400fd8];if(_0x5cd92b==null)continue;const _0x2d661c=Object['keys'](_0x5cd92b);for(const _0x4bcd31 of _0x2d661c){const _0x4f3a36=this[_0x368a4d(0x1e4)]['hasOtherFormulaDataMainData'](_0x4bcd31),_0x6de8e9=_0x5cd92b[_0x4bcd31],{f:_0x192c96,ranges:_0x1b82ea}=_0x6de8e9;let _0x18ed4d=!0x1;_0x4f3a36&&(_0x18ed4d=!0x0);const {firstRow:_0x127e70,firstColumn:_0x1b0bca}=this['_getFirstCellOfRange'](_0x1b82ea),_0x31dd32=this[_0x368a4d(0x1e4)]['getOtherFormulaDependency'](_0x823be8,_0x400fd8,_0x4bcd31),_0x2b895a=(_0x556103=_0x31dd32==null?void 0x0:_0x31dd32[_0x368a4d(0x21a)](0x0,0x0))!=null?_0x556103:_0x20416a(this[_0x368a4d(0x1e4)]),_0x22db32=new _0x226bc5(_0x2b895a);for(let _0x2ddc35=0x0;_0x2ddc35<_0x1b82ea[_0x368a4d(0x220)];_0x2ddc35++){const _0x1d4bed=_0x1b82ea[_0x2ddc35],{startRow:_0x1ebffb,startColumn:_0x8dee95,endRow:_0x36eebd,endColumn:_0x65b9de}=_0x1d4bed;for(let _0x1628ce=_0x1ebffb;_0x1628ce<=_0x36eebd;_0x1628ce++)for(let _0x5a1381=_0x8dee95;_0x5a1381<=_0x65b9de;_0x5a1381++){const _0x41269a=_0x5a1381-_0x1b0bca,_0x2f08c4=_0x1628ce-_0x127e70;if(_0x41269a===0x0&&_0x2f08c4===0x0){_0x22db32[_0x368a4d(0x1db)]=_0x192c96,_0x22db32['unitId']=_0x823be8,_0x22db32[_0x368a4d(0x1f3)]=_0x400fd8,_0x22db32['formulaId']=_0x4bcd31,_0x22db32[_0x368a4d(0x229)]=_0x328b07['OTHER_FORMULA'],_0x22db32[_0x368a4d(0x1ed)]=_0x18ed4d,_0x33cda0['push'](_0x22db32),this[_0x368a4d(0x1ea)][_0x368a4d(0x1d2)](_0x22db32[_0x368a4d(0x1cb)],_0x22db32),this[_0x368a4d(0x1e4)][_0x368a4d(0x254)](_0x823be8,_0x400fd8,_0x4bcd31,_0x22db32),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x22db32);continue;}const _0x27c810=new _0x39c044();_0x27c810[_0x368a4d(0x1cb)]=(_0x31dd32==null?void 0x0:_0x31dd32[_0x368a4d(0x21a)](_0x41269a,_0x2f08c4))||_0x20416a(this[_0x368a4d(0x1e4)]),_0x27c810[_0x368a4d(0x246)]=_0x22db32,_0x27c810['refOffsetX']=_0x41269a,_0x27c810[_0x368a4d(0x1e9)]=_0x2f08c4,_0x27c810[_0x368a4d(0x1ed)]=_0x18ed4d,_0x27c810[_0x368a4d(0x229)]=_0x328b07[_0x368a4d(0x1f7)],this[_0x368a4d(0x1e4)][_0x368a4d(0x254)](_0x823be8,_0x400fd8,_0x4bcd31,_0x27c810),this[_0x368a4d(0x1e4)][_0x368a4d(0x245)](_0x27c810),_0x33cda0[_0x368a4d(0x1cf)](_0x27c810),this[_0x368a4d(0x1ea)]['set'](_0x27c810[_0x368a4d(0x1cb)],_0x27c810);}}this[_0x368a4d(0x1e4)][_0x368a4d(0x1e0)](_0x4bcd31);}}}}['_registerFormulas'](_0x1a6939,_0xc977ea,_0x65b196,_0x2167cc){const _0x3b3450=_0x29b4c8;for(const _0xe36282 of _0x1a6939){const _0xc5a842=_0xc977ea[_0xe36282];if(_0xc5a842==null)continue;const _0x4b6c11=Object[_0x3b3450(0x1d7)](_0xc5a842);for(const _0x5eb6cc of _0x4b6c11){const _0x137754=new _0x43ae67(_0xc5a842[_0x5eb6cc]||{}),_0x44019f=new Map();_0x137754[_0x3b3450(0x1de)]((_0x4cfb59,_0x397a24,_0x4c5b0f)=>{const _0x3274bc=_0x3b3450;if(_0x4c5b0f==null)return!0x0;const {x:_0x223c74=0x0,y:_0x479eba=0x0,si:_0x23ab58}=_0x4c5b0f;if(!(_0x223c74===0x0&&_0x479eba===0x0&&_0x23ab58!=null))return!0x0;const _0x4bcb30=this['_createFDtree'](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24,_0x65b196,_0x4c5b0f),_0x17fc46=this[_0x3274bc(0x1e4)][_0x3274bc(0x28f)](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24);_0x17fc46!=null?_0x4bcb30[_0x3274bc(0x1cb)]=_0x17fc46:(this['_dependencyManagerService'][_0x3274bc(0x1ef)](_0xe36282,_0x5eb6cc,_0x4cfb59,_0x397a24,_0x4bcb30),this[_0x3274bc(0x1e4)][_0x3274bc(0x245)](_0x4bcb30)),_0x44019f[_0x3274bc(0x1d2)](_0x23ab58,_0x4bcb30),_0x2167cc[_0x3274bc(0x1cf)](_0x4bcb30),this[_0x3274bc(0x1ea)][_0x3274bc(0x1d2)](_0x4bcb30[_0x3274bc(0x1cb)],_0x4bcb30);}),_0x137754['forValue']((_0x3b595a,_0x5425c5,_0x364463)=>{const _0x130f28=_0x3b3450;if(_0x364463==null)return!0x0;const {x:_0x57a471=0x0,y:_0x3c9fe0=0x0,si:_0x2bbd8f}=_0x364463;if(_0x57a471===0x0&&_0x3c9fe0===0x0&&_0x2bbd8f!=null)return!0x0;let _0x4958b8;if(_0x2bbd8f&&_0x44019f[_0x130f28(0x241)](_0x2bbd8f)){const _0x44e506=_0x44019f[_0x130f28(0x1fc)](_0x2bbd8f);_0x4958b8=this['_createVirtualFDtree'](_0x44e506,_0x364463);}else _0x4958b8=this[_0x130f28(0x1cd)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5,_0x65b196,_0x364463);const _0x57a517=this['_dependencyManagerService'][_0x130f28(0x28f)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5);_0x57a517!=null?_0x4958b8[_0x130f28(0x1cb)]=_0x57a517:(this[_0x130f28(0x1e4)][_0x130f28(0x1ef)](_0xe36282,_0x5eb6cc,_0x3b595a,_0x5425c5,_0x4958b8),this[_0x130f28(0x1e4)][_0x130f28(0x245)](_0x4958b8)),_0x2167cc[_0x130f28(0x1cf)](_0x4958b8),this['_dependencyTreeCache'][_0x130f28(0x1d2)](_0x4958b8[_0x130f28(0x1cb)],_0x4958b8);}),_0x44019f['clear']();}}}['_createFDtree'](_0x2be2d8,_0x239268,_0x190600,_0x478d26,_0x4d5a0f,_0x2f2fbb){const _0x4e415c=_0x29b4c8,{f:_0x15ea5d,x:_0x538ce5=0x0,y:_0x5b4f10=0x0}=_0x2f2fbb,_0x7be274=new _0x226bc5(_0x20416a(this[_0x4e415c(0x1e4)])),_0x5490db=_0x4d5a0f[_0x2be2d8][_0x239268];return _0x7be274[_0x4e415c(0x1db)]=_0x15ea5d,_0x7be274[_0x4e415c(0x232)]=_0x2be2d8,_0x7be274['subUnitId']=_0x239268,_0x7be274[_0x4e415c(0x27e)]=_0x190600,_0x7be274['column']=_0x478d26,_0x7be274[_0x4e415c(0x1e6)]=_0x5490db[_0x4e415c(0x1e6)],_0x7be274['columnCount']=_0x5490db['columnCount'],_0x7be274;}[_0x29b4c8(0x1d8)](){const _0x13469f=_0x29b4c8,_0x3067e3=[],_0x3e9597=new Set(),_0x4fe170=this[_0x13469f(0x216)]['isForceCalculate'](),_0x5896b2=this[_0x13469f(0x216)][_0x13469f(0x299)](),_0x5986a8=this[_0x13469f(0x1e4)][_0x13469f(0x261)](_0x5896b2),_0x1da4e8=this[_0x13469f(0x268)][_0x13469f(0x29c)](_0x5896b2);for(const _0x2f8866 of _0x1da4e8)_0x5986a8[_0x13469f(0x277)](_0x2f8866);for(const [_0x4e30d5,_0x29c210]of this['_dependencyTreeCache'])(_0x4fe170||_0x29c210[_0x13469f(0x267)]||_0x29c210[_0x13469f(0x203)](this[_0x13469f(0x216)][_0x13469f(0x26c)]())||_0x5986a8['has'](_0x4e30d5)&&!_0x29c210[_0x13469f(0x223)](this[_0x13469f(0x216)][_0x13469f(0x249)]()))&&!_0x3e9597[_0x13469f(0x241)](_0x4e30d5)&&(_0x3067e3[_0x13469f(0x1cf)](_0x29c210),_0x3e9597[_0x13469f(0x277)](_0x4e30d5));for(const [_0x3fb28f,_0x2b207f]of this[_0x13469f(0x1ea)])_0x2b207f['isVirtual']||(_0x2b207f[_0x13469f(0x200)][_0x13469f(0x220)]=0x0);return _0x3067e3;}[_0x29b4c8(0x28e)](_0x3975bf){return this['_dependencyTreeCache']['get'](_0x3975bf);}[_0x29b4c8(0x242)](_0x599dcd){const _0x4e01f4=_0x29b4c8;return _0x34fc2b(_0x599dcd[_0x4e01f4(0x232)],_0x599dcd['formula'],this[_0x4e01f4(0x1fd)],this[_0x4e01f4(0x24c)],this[_0x4e01f4(0x216)]);}*[_0x29b4c8(0x1fe)](_0x18ea65,_0x107e69){const _0x51af42=_0x29b4c8,_0x234831=_0x18ea65,_0x4c8ac7=new Set();for(;_0x234831['length']>0x0;){const _0x4d5738=_0x234831[_0x51af42(0x1fb)]();if(_0x4c8ac7[_0x51af42(0x1f1)](),_0x4d5738===void 0x0||_0x4d5738[_0x51af42(0x24e)]())continue;if(_0x4d5738['isAdded']()){yield _0x4d5738,_0x4d5738[_0x51af42(0x20b)](),_0x107e69[_0x51af42(0x277)](_0x4d5738['treeId']);continue;}const _0x50b816=this[_0x51af42(0x1e4)][_0x51af42(0x261)](_0x4d5738[_0x51af42(0x1ec)](),_0x107e69),_0x2854ac=this[_0x51af42(0x268)][_0x51af42(0x29c)](_0x4d5738[_0x51af42(0x1ec)](),_0x107e69);for(const _0x48e415 of _0x2854ac)_0x50b816[_0x51af42(0x277)](_0x48e415);for(const _0x4d51f3 of _0x50b816){const _0x7398d4=this[_0x51af42(0x1ea)][_0x51af42(0x1fc)](_0x4d51f3);if(!_0x7398d4){console[_0x51af42(0x23f)](_0x51af42(0x1e8),_0x4d51f3);continue;}_0x7398d4[_0x51af42(0x253)]()||_0x4d5738['isSkip']()||_0x4c8ac7[_0x51af42(0x277)](_0x7398d4);}if(_0x50b816[_0x51af42(0x1f1)](),_0x4c8ac7['size']===0x0)yield _0x4d5738,_0x4d5738['setSkip'](),_0x107e69[_0x51af42(0x277)](_0x4d5738[_0x51af42(0x1cb)]);else{_0x4d5738['setAdded'](),_0x234831['push'](_0x4d5738);for(const _0x403fc4 of _0x4c8ac7)_0x234831[_0x51af42(0x1cf)](_0x403fc4);}}_0x234831['length']=0x0,_0x4c8ac7['clear']();}[_0x29b4c8(0x295)](_0x5c297b){const _0x829f54=_0x29b4c8,_0x496d1b=[],_0x15308f=new Set();for(const _0x2c3f07 of this[_0x829f54(0x1fe)](_0x5c297b,_0x15308f))_0x496d1b[_0x829f54(0x1cf)](_0x2c3f07);return _0x496d1b;}async['_getAllTreeList'](){const _0x3e774a=_0x29b4c8;return await this[_0x3e774a(0x250)](),Array['from'](this[_0x3e774a(0x1ea)][_0x3e774a(0x1d6)]());}[_0x29b4c8(0x258)](_0x1e9d6a){const _0x43fbc6=_0x29b4c8;return this[_0x43fbc6(0x1e4)][_0x43fbc6(0x261)](_0x1e9d6a[_0x43fbc6(0x1ec)]());}[_0x29b4c8(0x286)](_0x35cd9f){const _0x2fd67c=_0x29b4c8,_0xbb43f1=new Set(),_0x214495=_0x35cd9f[_0x2fd67c(0x200)];for(const [_0x123a8d,_0x2c0106]of this[_0x2fd67c(0x1ea)])for(const _0x498b35 of _0x214495){const _0x3f679b=_0x498b35[_0x2fd67c(0x232)],_0x2a2c6d=_0x498b35[_0x2fd67c(0x288)];if(_0x2c0106['unitId']!==_0x3f679b||_0x2c0106[_0x2fd67c(0x1f3)]!==_0x2a2c6d)continue;const _0x22f494=_0x498b35[_0x2fd67c(0x28b)];if(_0x2c0106['inRangeData'](_0x22f494)){_0xbb43f1[_0x2fd67c(0x277)](_0x123a8d);break;}}return _0xbb43f1;}[_0x29b4c8(0x1e5)](){const _0x3f565d=_0x29b4c8;this['_dependencyManagerService'][_0x3f565d(0x219)]();}[_0x29b4c8(0x227)](){const _0x1c1e9d=_0x29b4c8;this[_0x1c1e9d(0x287)]['clear'](),this[_0x1c1e9d(0x1ea)][_0x1c1e9d(0x1f1)](),this[_0x1c1e9d(0x1e4)][_0x1c1e9d(0x1ff)]();}}function _0x3810(){const _0x1f3f44=['_configService','_handleTextNodeForExprTree','add','setValue','_apply','FEATURE_FORMULA','getClearDependencyTreeCache','parseInt','8skqTXW','row','_xlpm.','_otherFormulaDataMainData','_lambdaFunctionParameterSet','1723567rogBVl','clearArrayObjectCache','setRuntimeFeatureRange','execute','_getDependencyTreeChildrenIds','_formulaDependencyTreeModel','sheetId','getConfig','_config','range','endColumn','_formulaDependencyGenerator','_getTreeById','getFormulaDependency','_clearPrefix','from','setRuntimeOtherData','dirtyRanges','2923623INkMFq','_calculateRunList','7uXhEob','isArray','removeFeatureFormulaDependency','getDirtyRanges','setCompletedArrayFormulasCount','_handleLambdaForExprTree','bulkSearch','checkAsyncNode','valid','_restDependencyTreeId','_clearFunctionString','trim','notExecuteFormula','executeAsync','bulkRemove','endRow','clearOtherFormulaDependency','treeId','getToken','_createFDtree','getFeatureFormulaDependency','push','getOwnPropertyDescriptor','getStartIndex','set','_hasNewExcelFunction','column','START_CALCULATION','values','keys','_getUpdateTreeListAndMakeDependency','featureId','node','formula','enableCycleDependency','setFormulaExecuteStage','forValue','_interpreter','addOtherFormulaDependencyMainData','removeFormulaDependencyByDefinedName','_otherFormulaData','startColumn','_dependencyManagerService','_startFormulaDependencyTreeModel','rowCount','addFeatureFormulaDependency','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','refOffsetY','_dependencyTreeCache','_isCyclicUtilMap','toRTreeItem','isCache','intervalCount','addFormulaDependency','_initLicenseValid','clear','2KUyhKj','subUnitId','_executionInProgressListener$','19230kHNevl','_getFeatureFormulaTree','OTHER_FORMULA','_dependencyRTreeCache','_getCurNodeTypeForExprTree','dispose','pop','get','_lexer','_traverse','closeKdTree','rangeList','setCurrent','_checkColonNodeForExprTree','dependencySheetName','_handleNewFunctionChild','getDirtyData','startIndex','_updateRangeFlatten','getNewFormulaWithPrefix','VALUE','IDLE','setSkip','8725395SXMdCg','reset','setTotalFormulasToCalculate','forEach','195trmKqB','resetCalculationState','162vUSRUb','min','string','markedAsNoFunctionsExecuted','_currentConfigService','_isCalculateTreeModel','Let\x20variable\x20name\x20\x22','openKdTree','getValue','setTotalArrayFormulasToCalculate','delete','getFormulaExprTree','_featureFormulaData','getOtherFormulaData','length','_xlfnPrefix','getUnitData','isExcludeRange','_handleChildrenForExprTree','_currentUnitId','8953086oIZzGa','_endFormulaDependencyTreeModel','markedAsSuccessfullyExecuted','type','_executionCompleteListener$','getRuntimeState','_xlfn.','children','_addAllTreeMap','treeBuilder','setCompletedFormulasCount','_resetPrefix','unitId','formulaId','PLUS','_removeAllTreeMap','_allTreeMap','_xlpmPrefix','getAllRuntimeData','3663VddyDY','refOffsetX','next','_generateExprTree','_formulaData','2501028oJVcGc','error','_removeDependencyRTreeCacheById','has','_getTreeNode','_runtimeService','CURRENTLY_CALCULATING','addFormulaDependencyByDefinedName','refTree','slice','columnCount','getExcludedRange','\x22\x20is\x20duplicated.','max','_astTreeBuilder','startsWith','isSkip','_otherFormulaManagerService','_initializeGenerateTreeList','startRow','_checkAddBracketForMinus','isAdded','addOtherFormulaDependency','3788tfWUsF','_checkIsCycleDependency','_getAllDependencyJson','_getDependencyTreeParenIds','clearFeatureFormulaDependency','value','_generateNewFunctionString','symbol','_definedNameMap','defineProperty','generate','removeOtherFormulaDependency','searchDependency','clearFormulaDependency','isStopExecution','COLON','endsWith','MINUS','isDirty','_dependencyRTreeCacheForAddressFunction','getChildren','_removeDependencyRTreeCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','getDirtyNameMap','getFormulaData','_registerOtherFormulas','toUpperCase','join','return\x20','setRuntimeData','_injector','_getTableNameFromStructuredRef'];_0x3810=function(){return _0x1f3f44;};return _0x3810();}class Se extends _0x568062{async[_0x29b4c8(0x279)](_0x391b5e=!0x1){const _0x20de73=_0x29b4c8;_0x391b5e?this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_DEPENDENCY']),this[_0x20de73(0x1f4)][_0x20de73(0x23b)](this[_0x20de73(0x243)][_0x20de73(0x22b)]());const _0x51f931=await this[_0x20de73(0x28d)][_0x20de73(0x25f)](this[_0x20de73(0x217)]),_0x609ecb=this[_0x20de73(0x1df)];_0x391b5e?(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948['START_CALCULATION_ARRAY_FORMULA']),this[_0x20de73(0x243)][_0x20de73(0x21b)](_0x51f931['length'])):(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x1d5)]),this[_0x20de73(0x243)][_0x20de73(0x20e)](_0x51f931[_0x20de73(0x220)])),this['_executionInProgressListener$'][_0x20de73(0x23b)](this[_0x20de73(0x243)]['getRuntimeState']());let _0x31aa4d=[];const _0x5099d5=this[_0x20de73(0x275)][_0x20de73(0x289)](_0x5da8fa),_0x860906=(_0x5099d5==null?void 0x0:_0x5099d5[_0x20de73(0x1ee)])||_0x4b3620;let _0x1ab312=0x0;const _0x3c8be2=_0x51f931['length'];for(;_0x51f931['length']>0x0;){const _0xda86ce=_0x51f931[_0x20de73(0x1fb)](),_0x4e399e=_0x34fc2b(_0xda86ce[_0x20de73(0x232)],_0xda86ce['formula'],this[_0x20de73(0x1fd)],this[_0x20de73(0x24c)],this[_0x20de73(0x216)]),_0xafe27a={'node':_0x4e399e,'refOffsetX':_0xda86ce[_0x20de73(0x23a)],'refOffsetY':_0xda86ce[_0x20de73(0x1e9)]},_0x38112d=_0xda86ce[_0x20de73(0x205)];if(_0x1ab312%_0x860906===0x0&&(await new Promise(_0x193706=>{const _0xe864c5=_0x20de73,_0x137a7e=_0x5efc10(_0x193706);_0x31aa4d[_0xe864c5(0x1cf)](_0x137a7e);}),_0x391b5e?(this['_runtimeService'][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x26b)]),this[_0x20de73(0x243)][_0x20de73(0x29a)](_0x1ab312+0x1)):(this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x244)]),this[_0x20de73(0x243)][_0x20de73(0x230)](_0x1ab312+0x1)),this[_0x20de73(0x1f4)]['next'](this[_0x20de73(0x243)]['getRuntimeState']()),this['_runtimeService'][_0x20de73(0x263)]()||_0xafe27a==null&&_0x38112d==null)){this[_0x20de73(0x243)][_0x20de73(0x1dd)](_0x4ba948[_0x20de73(0x20a)]),this[_0x20de73(0x243)]['markedAsStopFunctionsExecuted'](),this[_0x20de73(0x22a)][_0x20de73(0x23b)](this[_0x20de73(0x243)][_0x20de73(0x238)]());return;}this[_0x20de73(0x243)][_0x20de73(0x201)](_0xda86ce[_0x20de73(0x27e)],_0xda86ce[_0x20de73(0x1d4)],_0xda86ce[_0x20de73(0x1e6)],_0xda86ce[_0x20de73(0x248)],_0xda86ce[_0x20de73(0x1f3)],_0xda86ce[_0x20de73(0x232)]);let _0x2a6f4d;if(_0x38112d!=null&&_0xda86ce[_0x20de73(0x1d9)]!=null){const {runtimeCellData:_0x17031e,dirtyRanges:_0x2e770a}=_0x38112d(this['_currentConfigService']['getDirtyData'](),this[_0x20de73(0x243)][_0x20de73(0x238)]());this[_0x20de73(0x243)]['setRuntimeFeatureCellData'](_0xda86ce[_0x20de73(0x1d9)],_0x17031e),this[_0x20de73(0x243)][_0x20de73(0x284)](_0xda86ce[_0x20de73(0x1d9)],_0x2e770a);}else _0xafe27a!=null&&(_0x609ecb[_0x20de73(0x29d)](_0xafe27a[_0x20de73(0x1da)])?_0x2a6f4d=await _0x609ecb[_0x20de73(0x2a3)](_0xafe27a):_0x2a6f4d=_0x609ecb[_0x20de73(0x285)](_0xafe27a),_0xda86ce[_0x20de73(0x233)]!=null?this[_0x20de73(0x243)][_0x20de73(0x292)](_0xda86ce['formulaId'],_0xda86ce['refOffsetX'],_0xda86ce[_0x20de73(0x1e9)],_0x2a6f4d):this[_0x20de73(0x243)][_0x20de73(0x272)](_0x2a6f4d));_0x4e399e[_0x20de73(0x211)](),_0x1ab312++;}return _0x31aa4d[_0x20de73(0x20f)](_0x125354=>_0x125354()),_0x31aa4d=[],_0x3c8be2>0x0?this[_0x20de73(0x243)][_0x20de73(0x228)]():_0x391b5e||this['_runtimeService'][_0x20de73(0x215)](),this[_0x20de73(0x243)][_0x20de73(0x238)]();}}class Ee extends _0x361ffe{constructor(){super(...arguments),F(this,'_allTreeMap',new Map()),F(this,'_dependencyRTreeCache',new _0x3d3bdd(!0x0));}[_0x29b4c8(0x20d)](){const _0x17d2d0=_0x29b4c8;this[_0x17d2d0(0x1e2)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x21e)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x23d)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x1f8)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x236)][_0x17d2d0(0x1f1)](),this[_0x17d2d0(0x29f)](),this[_0x17d2d0(0x280)][_0x17d2d0(0x1f1)]();}[_0x29b4c8(0x254)](_0x1d8748,_0x3912c6,_0xe50d87,_0x37f7ca){const _0x516794=_0x29b4c8;this[_0x516794(0x1e2)]['has'](_0x1d8748)||this[_0x516794(0x1e2)][_0x516794(0x1d2)](_0x1d8748,new Map());const _0x42d330=this[_0x516794(0x1e2)][_0x516794(0x1fc)](_0x1d8748);_0x42d330[_0x516794(0x241)](_0x3912c6)||_0x42d330[_0x516794(0x1d2)](_0x3912c6,new Map());const _0x353816=_0x42d330[_0x516794(0x1fc)](_0x3912c6);_0x353816[_0x516794(0x241)](_0xe50d87)||_0x353816[_0x516794(0x1d2)](_0xe50d87,new _0x43ae67()),_0x353816['get'](_0xe50d87)['setValue'](_0x37f7ca[_0x516794(0x23a)],_0x37f7ca[_0x516794(0x1e9)],_0x37f7ca[_0x516794(0x1cb)]);}[_0x29b4c8(0x260)](_0x5addfc,_0x3cfa9f,_0x3c0be2){const _0x575e23=_0x29b4c8,_0x526128=this['_otherFormulaData']['get'](_0x5addfc);if(_0x526128&&_0x526128[_0x575e23(0x241)](_0x3cfa9f)){const _0x7745ba=_0x526128[_0x575e23(0x1fc)](_0x3cfa9f);_0x3c0be2['forEach'](_0x519b7c=>{const _0x2c9368=_0x575e23,_0x549bbf=_0x7745ba[_0x2c9368(0x1fc)](_0x519b7c);_0x549bbf!=null&&(_0x549bbf['forValue']((_0xa02e49,_0x57a8b4,_0x5a67e5)=>{const _0x314b29=_0x2c9368;this[_0x314b29(0x26a)](_0x5a67e5),this[_0x314b29(0x235)](_0x5a67e5);}),_0x7745ba['delete'](_0x519b7c),this[_0x2c9368(0x280)][_0x2c9368(0x21c)](_0x519b7c));}),_0x7745ba['size']===0x0&&_0x526128[_0x575e23(0x21c)](_0x3cfa9f),_0x526128['size']===0x0&&this[_0x575e23(0x1e2)]['delete'](_0x5addfc);}}[_0x29b4c8(0x1ca)](_0x5363bc,_0x1fe423){const _0x2fec82=_0x29b4c8,_0x423c36=this[_0x2fec82(0x1e2)][_0x2fec82(0x1fc)](_0x5363bc);if(_0x1fe423&&_0x423c36&&_0x423c36['has'](_0x1fe423)){const _0x31f14c=_0x423c36['get'](_0x1fe423);this[_0x2fec82(0x240)](_0x5363bc,_0x1fe423);for(const _0x103bf6 of _0x31f14c['keys']()){const _0x50dd1b=_0x31f14c[_0x2fec82(0x1fc)](_0x103bf6);_0x50dd1b!=null&&(_0x50dd1b['forValue']((_0x2e8430,_0xdf2596,_0x3df6f7)=>{const _0x45e4bd=_0x2fec82;this[_0x45e4bd(0x236)]['get'](_0x3df6f7)&&this['_removeAllTreeMap'](_0x3df6f7);}),this[_0x2fec82(0x280)][_0x2fec82(0x21c)](_0x103bf6));}_0x31f14c[_0x2fec82(0x1f1)]();}else{if(_0x423c36){for(const _0x5e7920 of _0x423c36[_0x2fec82(0x1d7)]()){const _0x10085a=_0x423c36[_0x2fec82(0x1fc)](_0x5e7920);this[_0x2fec82(0x240)](_0x5363bc,_0x5e7920);for(const _0x25feda of _0x10085a[_0x2fec82(0x1d7)]()){const _0x4161db=_0x10085a[_0x2fec82(0x1fc)](_0x25feda);_0x4161db!=null&&(_0x4161db[_0x2fec82(0x1de)]((_0x3e393e,_0x510595,_0x134112)=>{const _0x4ff977=_0x2fec82;this[_0x4ff977(0x236)]['get'](_0x134112)&&this[_0x4ff977(0x235)](_0x134112);}),this[_0x2fec82(0x280)][_0x2fec82(0x21c)](_0x25feda));}}this[_0x2fec82(0x1e2)][_0x2fec82(0x21c)](_0x5363bc);}}}['addFeatureFormulaDependency'](_0x2b2ba8,_0x40d702,_0x2b49c0,_0x526d0d){const _0x4d8da3=_0x29b4c8;this[_0x4d8da3(0x21e)][_0x4d8da3(0x241)](_0x2b2ba8)||this[_0x4d8da3(0x21e)]['set'](_0x2b2ba8,new Map());const _0x540ae0=this['_featureFormulaData']['get'](_0x2b2ba8);_0x540ae0['has'](_0x40d702)||_0x540ae0[_0x4d8da3(0x1d2)](_0x40d702,new Map()),_0x540ae0[_0x4d8da3(0x1fc)](_0x40d702)['set'](_0x2b49c0,_0x526d0d['treeId']);}[_0x29b4c8(0x298)](_0x573a79,_0x5995c8,_0x87f73c){const _0x232096=_0x29b4c8,_0xb775f7=this[_0x232096(0x21e)]['get'](_0x573a79);if(_0xb775f7&&_0xb775f7[_0x232096(0x241)](_0x5995c8)){const _0x3c7dad=_0xb775f7[_0x232096(0x1fc)](_0x5995c8);_0x87f73c[_0x232096(0x20f)](_0xabbe6b=>{const _0xcf45df=_0x232096,_0x13a200=_0x3c7dad[_0xcf45df(0x1fc)](_0xabbe6b);_0x13a200!=null&&(this['_removeDependencyRTreeCache'](_0x13a200),_0x3c7dad[_0xcf45df(0x21c)](_0xabbe6b),this[_0xcf45df(0x235)](_0x13a200));});}}['clearFeatureFormulaDependency'](_0x3b8185,_0x4b64f6){const _0x224888=_0x29b4c8,_0x2e9923=this[_0x224888(0x21e)][_0x224888(0x1fc)](_0x3b8185);if(_0x4b64f6&&_0x2e9923&&_0x2e9923['has'](_0x4b64f6)){const _0x10c7ea=_0x2e9923['get'](_0x4b64f6);this[_0x224888(0x240)](_0x3b8185,_0x4b64f6),_0x10c7ea[_0x224888(0x20f)](_0x36c96c=>{const _0x32d0a7=_0x224888;_0x36c96c!=null&&this[_0x32d0a7(0x235)](_0x36c96c);}),_0x10c7ea[_0x224888(0x1f1)]();}else _0x2e9923&&(_0x2e9923[_0x224888(0x20f)]((_0x5240fa,_0xe22d1)=>{const _0x1138f2=_0x224888;this[_0x1138f2(0x240)](_0x3b8185,_0xe22d1),_0x5240fa[_0x1138f2(0x20f)](_0x1fb932=>{_0x1fb932!=null&&this['_removeAllTreeMap'](_0x1fb932);});}),this[_0x224888(0x21e)][_0x224888(0x21c)](_0x3b8185));}[_0x29b4c8(0x1ef)](_0x471757,_0x5ef53c,_0x2daea2,_0x2e1b9a,_0x36b12f){const _0x370784=_0x29b4c8;this[_0x370784(0x23d)][_0x370784(0x241)](_0x471757)||this[_0x370784(0x23d)][_0x370784(0x1d2)](_0x471757,new Map());const _0x23e953=this['_formulaData']['get'](_0x471757);_0x23e953[_0x370784(0x241)](_0x5ef53c)||_0x23e953[_0x370784(0x1d2)](_0x5ef53c,new _0x43ae67()),_0x23e953[_0x370784(0x1fc)](_0x5ef53c)[_0x370784(0x278)](_0x2daea2,_0x2e1b9a,_0x36b12f['treeId']);}['removeFormulaDependency'](_0x47f948,_0x17a3a1,_0x39515f,_0x5ac27c){const _0x3c50ce=_0x29b4c8,_0x973ce3=this[_0x3c50ce(0x23d)][_0x3c50ce(0x1fc)](_0x47f948);if(_0x973ce3&&_0x973ce3[_0x3c50ce(0x241)](_0x17a3a1)){const _0x1a31c6=_0x973ce3[_0x3c50ce(0x1fc)](_0x17a3a1),_0x1df167=_0x1a31c6['getValue'](_0x39515f,_0x5ac27c);if(_0x1df167==null)return;this[_0x3c50ce(0x26a)](_0x1df167),_0x1a31c6['realDeleteValue'](_0x39515f,_0x5ac27c),this[_0x3c50ce(0x235)](_0x1df167);}}[_0x29b4c8(0x262)](_0xaab8d0,_0x16633c){const _0x1905ea=_0x29b4c8,_0x28d90f=this[_0x1905ea(0x23d)][_0x1905ea(0x1fc)](_0xaab8d0);if(_0x16633c&&_0x28d90f&&_0x28d90f[_0x1905ea(0x241)](_0x16633c)){const _0x17a6be=_0x28d90f[_0x1905ea(0x1fc)](_0x16633c);this[_0x1905ea(0x240)](_0xaab8d0,_0x16633c),_0x17a6be[_0x1905ea(0x1de)]((_0x574326,_0x12a33a,_0x518ad3)=>{if(_0x518ad3==null)return!0x0;this['_removeAllTreeMap'](_0x518ad3);}),_0x17a6be[_0x1905ea(0x20d)]();}else _0x28d90f&&(_0x28d90f[_0x1905ea(0x20f)]((_0x3a2198,_0x84ce9a)=>{const _0x2db4f0=_0x1905ea;this[_0x2db4f0(0x240)](_0xaab8d0,_0x84ce9a),_0x3a2198['forValue']((_0x4d74e8,_0x3bf7b9,_0x591485)=>{const _0x1bc664=_0x2db4f0;if(_0x591485==null)return!0x0;this[_0x1bc664(0x235)](_0x591485);});}),this['_formulaData'][_0x1905ea(0x21c)](_0xaab8d0));}['_removeDependencyRTreeCache'](_0xc8af0a){const _0x3b4808=_0x29b4c8;if(_0xc8af0a==null)return;const _0x58443a=this[_0x3b4808(0x236)]['get'](_0xc8af0a);if(_0x58443a){const _0xcabf6f=[];for(const [_0x45a8ee,_0xfc2cd3]of _0x58443a)for(const [_0x8905a4,_0x582252]of _0xfc2cd3)_0xcabf6f[_0x3b4808(0x1cf)]({'unitId':_0x45a8ee,'sheetId':_0x8905a4,'range':_0x582252,'id':_0xc8af0a});this['_dependencyRTreeCache'][_0x3b4808(0x2a4)](_0xcabf6f);}}[_0x29b4c8(0x1e1)](_0x60fd91,_0x4acc15){const _0x460129=_0x29b4c8,_0x40d18d=this[_0x460129(0x25d)][_0x460129(0x1fc)](_0x60fd91);if(_0x40d18d){const _0x23e506=_0x40d18d[_0x460129(0x1fc)](_0x4acc15);if(_0x23e506){for(const _0x269482 of _0x23e506)this[_0x460129(0x26a)](_0x269482),this[_0x460129(0x235)](_0x269482);_0x23e506[_0x460129(0x1f1)]();}}}[_0x29b4c8(0x219)](){const _0x34424b=_0x29b4c8;this[_0x34424b(0x1f8)][_0x34424b(0x219)]();}[_0x29b4c8(0x1ff)](){const _0x405a0f=_0x29b4c8;this['_dependencyRTreeCache'][_0x405a0f(0x1ff)]();}[_0x29b4c8(0x235)](_0x51a864){const _0x38fc97=_0x29b4c8;_0x51a864!=null&&this[_0x38fc97(0x236)]['delete'](_0x51a864);}[_0x29b4c8(0x22e)](_0x3a2666){const _0x6b91cb=_0x29b4c8;var _0x2dd568,_0x374090;const _0x4b3670=_0x3a2666[_0x6b91cb(0x200)];let _0x2471cc=this[_0x6b91cb(0x236)][_0x6b91cb(0x1fc)](_0x3a2666[_0x6b91cb(0x1cb)]);for(let _0x2affbb=0x0;_0x2affbb<_0x4b3670[_0x6b91cb(0x220)];_0x2affbb++){const _0x5a9928=_0x4b3670[_0x2affbb];let {unitId:_0x2341ba,sheetId:_0x58bd1e,range:_0x36bc37}=_0x5a9928;_0x2471cc||(_0x2471cc=new Map(),this['_allTreeMap'][_0x6b91cb(0x1d2)](_0x3a2666[_0x6b91cb(0x1cb)],_0x2471cc)),_0x2471cc[_0x6b91cb(0x241)](_0x2341ba)||_0x2471cc[_0x6b91cb(0x1d2)](_0x2341ba,new Map());const _0x29737f=(_0x2dd568=_0x2471cc==null?void 0x0:_0x2471cc[_0x6b91cb(0x1fc)](_0x2341ba))==null?void 0x0:_0x2dd568[_0x6b91cb(0x1fc)](_0x58bd1e);_0x29737f&&(_0x36bc37={'startRow':Math['min'](_0x36bc37[_0x6b91cb(0x251)],_0x29737f[_0x6b91cb(0x251)]),'startColumn':Math[_0x6b91cb(0x213)](_0x36bc37[_0x6b91cb(0x1e3)],_0x29737f[_0x6b91cb(0x1e3)]),'endRow':Math[_0x6b91cb(0x24b)](_0x36bc37[_0x6b91cb(0x1c9)],_0x29737f[_0x6b91cb(0x1c9)]),'endColumn':Math['max'](_0x36bc37[_0x6b91cb(0x28c)],_0x29737f[_0x6b91cb(0x28c)])}),(_0x374090=_0x2471cc['get'](_0x2341ba))==null||_0x374090[_0x6b91cb(0x1d2)](_0x58bd1e,_0x36bc37);}}}function _0x368b(_0x4519db,_0x23cf18){_0x4519db=_0x4519db-0x1c9;const _0x3810ce=_0x3810();let _0x368b50=_0x3810ce[_0x4519db];return _0x368b50;}var Ve=Object[_0x29b4c8(0x1d0)],We=(_0x20f3f5,_0x59a0fb,_0x4347fc,_0x593957)=>{for(var _0x31ff27=_0x593957>0x1?void 0x0:_0x593957?Ve(_0x59a0fb,_0x4347fc):_0x59a0fb,_0x1c27a4=_0x20f3f5['length']-0x1,_0x34079d;_0x1c27a4>=0x0;_0x1c27a4--)(_0x34079d=_0x20f3f5[_0x1c27a4])&&(_0x31ff27=_0x34079d(_0x31ff27)||_0x31ff27);return _0x31ff27;};const Ue=Number[_0x29b4c8(0x27c)](0x6948d2f2);let H=class extends _0xe50935{['_initializeWithOverride'](){const _0x1ab5e4=_0x29b4c8;var _0x2585ad,_0xede5d6;this[_0x1ab5e4(0x1f0)]()?(this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)]([_0x4b7217,{'useClass':De}]),(_0x2585ad=this['_config'])!=null&&_0x2585ad['notExecuteFormula']||[[_0x5e6c41,{'useClass':Se}],[_0x3682ab,{'useClass':Ee}],[_0x5a436b,{'useClass':Me}]]['forEach'](_0x596d6d=>this[_0x1ab5e4(0x273)]['add'](_0x596d6d))):(this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)]([_0x4b7217,{'useClass':_0x4b7217}]),(_0xede5d6=this[_0x1ab5e4(0x28a)])!=null&&_0xede5d6[_0x1ab5e4(0x2a2)]||[[_0x5e6c41,{'useClass':_0x568062}],[_0x3682ab,{'useClass':_0x4c8992}],[_0x5a436b,{'useClass':_0x550165}]][_0x1ab5e4(0x20f)](_0x2a70fd=>this[_0x1ab5e4(0x273)][_0x1ab5e4(0x277)](_0x2a70fd)));}[_0x29b4c8(0x1f0)](){const _0x573f7f=_0x29b4c8;var _0x265a6d;const _0x41380f=(_0x265a6d=this[_0x573f7f(0x275)][_0x573f7f(0x289)](_0x54b1ec))!=null?_0x265a6d:{},{ls:_0x235adf,pbk:_0x34fca1}=_0x41380f;if(!_0x235adf||!_0x34fca1)return!0x1;const _0x2dac97=_0x4e5dfe(ve,Re),_0x3a59ae=new Function(_0x573f7f(0x271)+_0x2dac97)()(_0x235adf,_0x34fca1),_0x6f91b7=_0x3a59ae['message'];return _0x3a59ae[_0x573f7f(0x29e)]&&_0x1d44f5(_0x6f91b7,'sf',Ue)?_0x13ebcc(_0x6f91b7,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};H=We([_0x5df92f(_0x3aab21)],H);export{De as LexerTreeProBuilder,H as UniverProFormulaEnginePlugin};
|
|
1
|
+
function _0x1b58(){const _0x143669=['forEach','treeBuilder','range','treeId','refOffsetX','length','_initializeWithOverride','valid','_getFirstCellOfRange','_removeDependencyRTreeCache','COLON','_removeDependencyRTreeCacheById','join','string','_createFDtree','setCurrent','_apply','_getTreeById','getDirtyData','_getTableNameFromStructuredRef','_handleLambdaForExprTree','_generateTreeList','startIndex','next','delete','_endFormulaDependencyTreeModel','toRTreeItem','_config','startsWith','sheetId','_xlpmPrefix','notExecuteFormula','_registerOtherFormulas','_lambdaFunctionParameterSet','markedAsNoFunctionsExecuted','clearFeatureFormulaDependency','removeFormulaDependencyByDefinedName','_definedNameMap','MINUS','featureId','isForceCalculate','28102iTmNCF','endRow','addOtherFormulaDependencyMainData','_convertDirtyRangesToUnitRange','markedAsSuccessfullyExecuted','getFeatureFormulaDependency','setTotalFormulasToCalculate','_otherFormulaDataMainData','endsWith','return\x20','9470KuVCID','row','set','setTotalArrayFormulasToCalculate','from','isCache','setRuntimeData','_handleTextNodeForExprTree','_injector','3844664cEQyyW','_restDependencyTreeId','_getCurNodeTypeForExprTree','toUpperCase','_formulaDependencyGenerator','_xlpm.','getStartIndex','getConfig','pop','getOwnPropertyDescriptor','closeKdTree','_xlfn.','670050xBnSGN','intervalCount','bulkSearch','clearOtherFormulaDependency','clearFormulaDependency','_hasNewExcelFunction','columnCount','/*\x20aQOXcl-sXQpNOa\x20dYaCaY-laUdOpla\x20*/Cxc2lX1c\x20sa2YMdlX1c(OX2acQa,\x20dxNOX2uaM)\x20{\x20\x20\x20\x20lYM\x20{\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20OX2acQaocC1DpYlPYYpM\x20=\x20OX2acQa.QdOXl(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x201YX0XcbaQQp0a\x20=\x20Ktkf.dpYQa(pl1N(OX2acQaocC1DpYlPYYpM[G]));\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(!1YX0XcbaQQp0a.xs)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x201YX0XcbaQQp0a.xs\x20=\x20fxUNaY(OX2acQaocC1DpYlPYYpM[V]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20XQ81YzaY\x20=\x20lMda1C\x2081YzaYgO1NpOt21da\x20!==\x20\x27xcsaCXcas\x27\x20&&\x20QaOC\x20XcQlpc2a1C\x2081YzaYgO1NpOt21da;\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20XQmY1hQaY\x20=\x20lMda1C\x20hXcs1h\x20!==\x20\x27xcsaCXcas\x27\x20&&\x20lMda1C\x20hXcs1h.O12plX1c\x20!==\x20\x27xcsaCXcas\x27;\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x2021clajl\x20=\x20XQ81YzaY\x20?\x20QaOC\x20:\x20(XQmY1hQaY\x20?\x20hXcs1h\x20:\x200O1NpOeTXQ);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20UaQQp0a81Ys\x20=\x2021clajl.__mpQaRV__.dpYQa(OX2acQaocC1DpYlPYYpM[G]);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20UaQQp0a\x20=\x2021clajl.__Faj__.QlYXc0XCM(UaQQp0a81Ys);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0cplxYa81Ys\x20=\x2021clajl.__mpQaRV__.dpYQa(OX2acQaocC1DpYlPYYpM[4]);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0cplxYa\x20=\x2021clajl.__Faj__.QlYXc0XCM(QX0cplxYa81Ys);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QX0crpOXs\x20=\x2021clajl.__LaYXCM__(QX0cplxYa,\x20UaQQp0a,\x20dxNOX2uaM);\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20s1UpXc\x20=\x201YX0XcbaQQp0a.sU;\x20\x20\x20\x20\x20\x20\x20\x20Cxc2lX1c\x20XQ71UpXcbpl2TXc0(dpllaYc,\x20T1Ql)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(dpllaYc\x20===\x20T1Ql)\x20YalxYc\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(dpllaYc.QlpYlQ8XlT(\x27*.\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20QxCCXj\x20=\x20dpllaYc.QOX2a(G);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(QxCCXj\x20&&\x20!T1Ql.QlpYlQ8XlT(\x27.\x27)\x20&&\x20T1Ql\x20!==\x20QxCCXj\x20&&\x20T1Ql.acsQ8XlT(\x27.\x27\x20+\x20QxCCXj))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20CpOQa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20Oal\x20s1UpXcrpOXs\x20=\x20CpOQa;\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(XQmY1hQaY)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20(s1UpXc\x20&&\x20s1UpXc.Oac0lT)\x20?\x20s1UpXc.Q1Ua((sUolaU)\x20=>\x20XQ71UpXcbpl2TXc0(sUolaU,\x20O12plX1c.T1QlcpUa))\x20:\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XC\x20(O12plX1c.T1QlcpUa\x20===\x20\x27O12pOT1Ql\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20aOQa\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20s1UpXcrpOXs\x20=\x20lYxa;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x2021cQl\x20LpOXs\x20=\x20QX0crpOXs\x20&&\x20s1UpXcrpOXs;\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LpOXs,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UaQQp0a:\x201YX0XcbaQQp0a,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x202pl2T\x20(aYY1Y)\x20{\x20\x20\x20\x20\x20\x20\x20\x20YalxYc\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20LpOXs:\x20CpOQa,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20UaQQp0a:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','startColumn','_featureFormulaData','size','setRuntimeOtherData','START_CALCULATION_ARRAY_FORMULA','_initLicenseValid','_allTreeMap','executeAsync','symbol','addOtherFormulaDependency','_getDependencyTreeChildrenIds','_configService','formulaId','_resetPrefix','has','_createVirtualFDtree','getExcludedRange','isAdded','_initializeGenerateTreeList','isSkip','_addAllTreeMap','_handleChildrenForExprTree','removeFeatureFormulaDependency','error','formula','setAdded','_isCyclicUtilMap','node','rowCount','generate','getUnitData','isArray','execute','2964292LMklTw','_getAllTreeList','endColumn','getNewFormulaWithPrefix','CURRENTLY_CALCULATING_ARRAY_FORMULA','resetCalculationState','getFormulaDependency','refOffsetY','hasOtherFormulaDataMainData','_generateExprTree','_getUpdateTreeListAndMakeDependency','setCompletedArrayFormulasCount','_dependencyTreeCache','addFeatureFormulaDependency','_formulaDependencyTreeModel','_isCalculateTreeModel','_executionInProgressListener$','value','14tEWecR','\x22\x20is\x20duplicated.','START_DEPENDENCY_ARRAY_FORMULA','getRuntimeState','_currentConfigService','_otherFormulaData','type','markedAsStopFunctionsExecuted','parseInt','message','3VbDYky','Lambda\x20parameter\x20name\x20\x22','setFormulaExecuteStage','searchDependency','_checkColonNodeForExprTree','CURRENTLY_CALCULATING','bulkRemove','_formulaData','clearArrayObjectCache','get','trim','51ubmztS','setSkip','_calculateRunList','304106KQJGOp','6093jwErzi','_dependencyManagerService','12fpnPqp','values','getDirtyNameMap','_generateNewFunctionString','_astTreeBuilder','_currentUnitId','startRow','7557199USIGZI','getOtherFormulaData','_registerFormulas','keys','FEATURE_FORMULA','addFormulaDependencyByDefinedName','column','_updateRangeFlatten','dispose','PLUS','_handleNewFunctionChild','_clearFunctionString','_traverse','getChildren','unitId','children','forValue','_getAllDependencyJson','_checkAddBracketForMinus','reset','_dependencyRTreeCache','_getTreeNode','35ZKvGQN','max','_checkIsCycleDependency','_xlfnPrefix','_runtimeService','_removeAllTreeMap','OTHER_FORMULA','VALUE','clear','refTree','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','getDirtyRanges','subUnitId','_dependencyRTreeCacheForAddressFunction','removeOtherFormulaDependency','_otherFormulaManagerService','setRuntimeFeatureCellData','removeFormulaDependency','getValue','setValue','push','openKdTree','isStopExecution','_lexer','resolve','defineProperty','getAllRuntimeData','isVirtual','rangeList','setDependencyTreeModelData','addFormulaDependency','add','getToken'];_0x1b58=function(){return _0x143669;};return _0x1b58();}const _0x57bb0e=_0x5a9b;function _0x5a9b(_0x13593b,_0x144d27){_0x13593b=_0x13593b-0x1d5;const _0x1b5836=_0x1b58();let _0x5a9bb5=_0x1b5836[_0x13593b];return _0x5a9bb5;}(function(_0x14d549,_0x13db9e){const _0x4dc4e7=_0x5a9b,_0x1fe99c=_0x14d549();while(!![]){try{const _0xe8396b=parseInt(_0x4dc4e7(0x1e1))/0x1*(parseInt(_0x4dc4e7(0x24e))/0x2)+-parseInt(_0x4dc4e7(0x1d6))/0x3*(parseInt(_0x4dc4e7(0x296))/0x4)+parseInt(_0x4dc4e7(0x204))/0x5*(parseInt(_0x4dc4e7(0x26d))/0x6)+-parseInt(_0x4dc4e7(0x2a8))/0x7*(-parseInt(_0x4dc4e7(0x261))/0x8)+-parseInt(_0x4dc4e7(0x1e5))/0x9*(parseInt(_0x4dc4e7(0x258))/0xa)+parseInt(_0x4dc4e7(0x1e4))/0xb*(parseInt(_0x4dc4e7(0x1e7))/0xc)+-parseInt(_0x4dc4e7(0x1ee))/0xd;if(_0xe8396b===_0x13db9e)break;else _0x1fe99c['push'](_0x1fe99c['shift']());}catch(_0x1bac11){_0x1fe99c['push'](_0x1fe99c['shift']());}}}(_0x1b58,0x7fd67));var ie=Object[_0x57bb0e(0x21d)],ae=(_0x565760,_0x230993,_0x23b66c)=>_0x230993 in _0x565760?ie(_0x565760,_0x230993,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b66c}):_0x565760[_0x230993]=_0x23b66c,D=(_0x25086b,_0x2ecbde,_0x2c0f5d)=>ae(_0x25086b,typeof _0x2ecbde!=_0x57bb0e(0x27d)?_0x2ecbde+'':_0x2ecbde,_0x2c0f5d);import{LexerTreeBuilder as _0x5052cf,ErrorType as _0x95b19b,DEFAULT_TOKEN_TYPE_ROOT as _0x2d21c6,DEFAULT_TOKEN_TYPE_PARAMETER as _0x2c494c,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x2cadfe,NEW_EXCEL_FUNCTIONS as _0x55a8a8,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x573ab0,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5c6c4f,matchToken as _0x432394,SUFFIX_TOKEN_SET as _0x257aa3,prefixToken as _0x35c412,LexerNode as _0x30b34b,OPERATOR_TOKEN_SET as _0x19c647,isReferenceString as _0x5dbc0b,splitTableStructuredRef as _0x4c5a4b,FormulaDependencyGenerator as _0x1ebea5,generateRandomDependencyTreeId as _0x4afc47,FormulaDependencyTree as _0x2eba75,FormulaDependencyTreeType as _0x39d275,FormulaDependencyTreeVirtual as _0x1f3db0,generateAstNode as _0x2f7dfa,CalculateFormulaService as _0x3358ca,FormulaExecuteStageType as _0x33561c,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x45af7c,DEFAULT_INTERVAL_COUNT as _0x2faf18,DependencyManagerBaseService as _0x4da8df,UniverFormulaEnginePlugin as _0xc9a00f,ICalculateFormulaService as _0xf1158c,IDependencyManagerService as _0x20fe18,IFormulaDependencyGenerator as _0x48d4a9,DependencyManagerService as _0x4bd069}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x5e923a,LS_CONFIG_KEY as _0x5de5b6,unshiftString as _0x383294,isFeatureAuthorizedWithinTime as _0x5d3406,getSheetFeatureLimit as _0x572917}from'@univerjs-pro/license';import{ObjectMatrix as _0x1e472f,requestImmediateMacroTask as _0x91e2cb,RTree as _0x5fb983,DependentOn as _0x8879b7}from'@univerjs/core';class Me extends _0x5052cf{constructor(){const _0x34165d=_0x57bb0e;super(...arguments),D(this,'_hasNewExcelFunction',!0x1),D(this,_0x34165d(0x246),new Set()),D(this,_0x34165d(0x243),'_xlpm.'),D(this,_0x34165d(0x207),_0x34165d(0x26c)),D(this,_0x34165d(0x1ec),'');}['_resetPrefix'](){const _0x1919c2=_0x57bb0e;this['_xlpmPrefix']=_0x1919c2(0x266),this['_xlfnPrefix']=_0x1919c2(0x26c);}['_clearPrefix'](){const _0x117e2f=_0x57bb0e;this[_0x117e2f(0x243)]='',this[_0x117e2f(0x207)]='';}[_0x57bb0e(0x299)](_0x337658,_0x281d69){const _0x37af67=_0x57bb0e,_0x44167c=this[_0x37af67(0x226)](_0x337658,!0x1);if(!_0x44167c||_0x44167c===_0x95b19b[_0x37af67(0x20b)]||Array['isArray'](_0x44167c))return null;const _0x2315fc=[];return this[_0x37af67(0x272)]=!0x1,this['_generateNewFunctionString'](_0x44167c,_0x2315fc,_0x281d69),this['_hasNewExcelFunction']?'='+_0x2315fc[_0x37af67(0x231)](''):null;}[_0x57bb0e(0x1ea)](_0x42d9cb,_0x5a8dd5,_0x720b5c){const _0x52b127=_0x57bb0e,_0x819658=_0x42d9cb['getToken'](),_0x3ad519=_0x819658['trim'](),_0x49afcb=_0x3ad519['toUpperCase'](),_0x5ad245=this[_0x52b127(0x1f9)](_0x49afcb),_0x4ec08c=_0x720b5c(_0x5ad245);let _0x17845d=0x0;_0x819658===_0x2d21c6?_0x17845d=0x3:_0x819658===_0x2c494c?_0x17845d=0x4:_0x819658===_0x2cadfe?_0x17845d=0x5:_0x55a8a8[_0x52b127(0x283)](_0x5ad245)?(_0x5a8dd5[_0x52b127(0x218)](''+this[_0x52b127(0x207)]+_0x3ad519),this['_hasNewExcelFunction']=!0x0):_0x49afcb===_0x573ab0?(_0x5a8dd5[_0x52b127(0x218)](''+this[_0x52b127(0x207)]+_0x3ad519),this[_0x52b127(0x272)]=!0x0,_0x17845d=0x2):_0x49afcb===_0x5c6c4f?(_0x5a8dd5[_0x52b127(0x218)](''+this[_0x52b127(0x207)]+_0x3ad519),this[_0x52b127(0x272)]=!0x0,_0x17845d=0x1):_0x49afcb===_0x432394[_0x52b127(0x22f)]?_0x17845d=0x8:_0x257aa3[_0x52b127(0x283)](_0x49afcb)?_0x17845d=0x7:_0x49afcb===_0x35c412[_0x52b127(0x24b)]?(this[_0x52b127(0x200)](_0x42d9cb)&&(_0x17845d=0x9),_0x5a8dd5[_0x52b127(0x218)](_0x819658)):(_0x5a8dd5[_0x52b127(0x218)](_0x819658),_0x17845d=0xa),_0x4ec08c?(_0x17845d!==0x2&&_0x17845d!==0x1&&(_0x17845d=0x6),_0x5a8dd5[_0x52b127(0x218)]('(')):_0x17845d===0x9&&_0x5a8dd5[_0x52b127(0x218)]('(');const _0x2f504e=_0x42d9cb['getChildren'](),_0x493bad=_0x2f504e[_0x52b127(0x22a)];if(_0x17845d===0x2){const _0x56c05a=_0x2f504e[0x0];let _0x44894d=0x0;_0x56c05a instanceof _0x30b34b&&_0x56c05a[_0x52b127(0x224)]()===_0x2cadfe&&(_0x44894d=0x1);for(let _0x1848a9=_0x44894d;_0x1848a9<_0x493bad-0x1;_0x1848a9++){const _0x482ba9=_0x2f504e[_0x1848a9];if(_0x482ba9 instanceof _0x30b34b){const _0x59e485=_0x482ba9['getChildren']()[0x0];typeof _0x59e485==_0x52b127(0x232)&&(this[_0x52b127(0x246)][_0x52b127(0x283)](_0x59e485)&&console[_0x52b127(0x28c)](_0x52b127(0x1d7)+_0x59e485+_0x52b127(0x2a9)),this[_0x52b127(0x246)][_0x52b127(0x223)](_0x59e485),_0x5a8dd5[_0x52b127(0x218)](''+this['_xlpmPrefix']+_0x59e485),this[_0x52b127(0x272)]=!0x0);}_0x5a8dd5[_0x52b127(0x218)](',');}this['_handleNewFunctionChild'](_0x2f504e[_0x493bad-0x1],_0x5a8dd5,_0x720b5c),_0x44894d===0x1&&(_0x5a8dd5[_0x52b127(0x218)](')'),_0x5a8dd5[_0x52b127(0x218)]('('),this['_generateNewFunctionString'](_0x56c05a,_0x5a8dd5,_0x720b5c)),_0x5a8dd5[_0x52b127(0x218)](')');return;}else{if(_0x17845d===0x1){for(let _0x56e7d6=0x0;_0x56e7d6<_0x493bad-0x1;_0x56e7d6++){const _0x5e727a=_0x2f504e[_0x56e7d6];if(_0x5e727a instanceof _0x30b34b&&_0x56e7d6%0x2===0x0){const _0x4e797b=_0x5e727a[_0x52b127(0x1fb)]()[0x0];if(typeof _0x4e797b==_0x52b127(0x232)){this[_0x52b127(0x246)]['has'](_0x4e797b)&&console[_0x52b127(0x28c)]('Let\x20variable\x20name\x20\x22'+_0x4e797b+_0x52b127(0x2a9)),this[_0x52b127(0x246)][_0x52b127(0x223)](_0x4e797b),_0x5a8dd5['push'](''+this['_xlpmPrefix']+_0x4e797b),this[_0x52b127(0x272)]=!0x0,_0x5a8dd5[_0x52b127(0x218)](',');continue;}}if(this[_0x52b127(0x1f8)](_0x5e727a,_0x5a8dd5,_0x720b5c),_0x5e727a instanceof _0x30b34b){const _0x39227d=_0x2f504e[_0x56e7d6+0x1];_0x39227d&&_0x39227d instanceof _0x30b34b&&_0x5a8dd5[_0x52b127(0x218)](',');}}this['_handleNewFunctionChild'](_0x2f504e[_0x493bad-0x1],_0x5a8dd5,_0x720b5c),_0x5a8dd5['push'](')');return;}else{if(_0x17845d===0x8){const _0x5b5185=_0x2f504e[0x0],_0x38fe72=_0x2f504e[0x1];this[_0x52b127(0x1f8)](_0x5b5185,_0x5a8dd5,_0x720b5c),_0x5a8dd5[_0x52b127(0x218)](_0x819658),this[_0x52b127(0x1f8)](_0x38fe72,_0x5a8dd5,_0x720b5c);return;}}}for(let _0x44eedd=0x0;_0x44eedd<_0x493bad;_0x44eedd++){const _0x4faa09=_0x2f504e[_0x44eedd];if(this[_0x52b127(0x1f8)](_0x4faa09,_0x5a8dd5,_0x720b5c),_0x4faa09 instanceof _0x30b34b){const _0x25dfe0=_0x2f504e[_0x44eedd+0x1];_0x25dfe0&&_0x25dfe0 instanceof _0x30b34b&&_0x5a8dd5[_0x52b127(0x218)](',');}}_0x17845d===0x7&&_0x5a8dd5[_0x52b127(0x218)](_0x819658),(_0x4ec08c||_0x17845d===0x9)&&_0x5a8dd5[_0x52b127(0x218)](')');}['_handleNewFunctionChild'](_0x56373b,_0x7fb162,_0x5d319c){const _0x13f2af=_0x57bb0e;_0x56373b instanceof _0x30b34b?this[_0x13f2af(0x1ea)](_0x56373b,_0x7fb162,_0x5d319c):this[_0x13f2af(0x246)][_0x13f2af(0x283)](_0x56373b)?(_0x7fb162[_0x13f2af(0x218)](''+this[_0x13f2af(0x243)]+_0x56373b),this[_0x13f2af(0x272)]=!0x0):_0x7fb162['push'](_0x56373b);}['_clearFunctionString'](_0x3b9dce){const _0xb8d3f=_0x57bb0e;let _0x5a4cf2=_0x3b9dce['trim']();if(!_0x5a4cf2)return _0x5a4cf2;const _0x4600c6=_0x5a4cf2[0x0];if((_0x4600c6===_0x35c412['AT']||_0x4600c6===_0x35c412['MINUS']||_0x4600c6===_0x35c412[_0xb8d3f(0x1f7)])&&(_0x5a4cf2=_0x5a4cf2['slice'](0x1)),!_0x5a4cf2)return _0x5a4cf2;const _0x379d29=_0x5a4cf2[_0x5a4cf2[_0xb8d3f(0x22a)]-0x1];return _0x257aa3[_0xb8d3f(0x283)](_0x379d29)&&(_0x5a4cf2=_0x5a4cf2['slice'](0x0,-0x1)),_0x5a4cf2;}[_0x57bb0e(0x200)](_0x495ce7){const _0x405739=_0x57bb0e,_0x2ca0e4=_0x495ce7[_0x405739(0x1fb)]()[0x0];if(!_0x2ca0e4||!(_0x2ca0e4 instanceof _0x30b34b)||_0x495ce7['getChildren']()[_0x405739(0x22a)]>0x1)return!0x1;const _0x2eb718=_0x2ca0e4[_0x405739(0x1fb)](),_0x21545c=_0x2eb718[_0x405739(0x22a)];if(_0x21545c===0x1)return!0x1;for(let _0x5b832a=0x0;_0x5b832a<_0x21545c;_0x5b832a++){const _0x263b1f=_0x2eb718[_0x5b832a];if(!(_0x263b1f instanceof _0x30b34b)&&_0x19c647['has'](_0x263b1f))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x213210,_0x40929b,_0x154368,_0x50fb76,_0x3e5511){const _0x344361=_0x57bb0e,_0x28f1ed=this[_0x344361(0x226)](_0x213210,!0x1);if(!_0x28f1ed||_0x28f1ed===_0x95b19b['VALUE']||Array[_0x344361(0x294)](_0x28f1ed))return null;this['_clearPrefix'](),this[_0x344361(0x1ec)]=_0x40929b;const _0x31fd4d=this[_0x344361(0x29f)](_0x28f1ed,_0x154368,_0x50fb76,_0x3e5511);return this[_0x344361(0x1ec)]='',this[_0x344361(0x282)](),_0x31fd4d;}['_generateExprTree'](_0x9ba111,_0x4669e7,_0xdfa37b,_0x29c57a){const _0x96536a=_0x57bb0e,_0x46d5e0={'value':'','children':[],'startIndex':0x0};let _0x237b83=_0x9ba111;if(_0x237b83 instanceof _0x30b34b&&(_0x237b83[_0x96536a(0x224)]()===_0x2d21c6||_0x237b83[_0x96536a(0x224)]()===_0x2c494c)&&_0x237b83[_0x96536a(0x1fb)]()[_0x96536a(0x22a)]===0x1&&(_0x237b83=_0x237b83['getChildren']()[0x0]),!(_0x237b83 instanceof _0x30b34b))return this[_0x96536a(0x25f)](_0x237b83,_0xdfa37b,_0x29c57a);const _0x4cce44=_0x237b83[_0x96536a(0x1fb)](),_0x2bb64b=_0x4cce44[_0x96536a(0x22a)],_0x199fc5=[];this[_0x96536a(0x1ea)](_0x237b83,_0x199fc5,_0x4669e7),_0x46d5e0[_0x96536a(0x2a7)]=_0x199fc5['join'](''),_0x46d5e0['startIndex']=_0x237b83['getStartIndex']();const _0x548b8a=this['_getCurNodeTypeForExprTree'](_0x237b83);if(_0x548b8a===0x2){const _0x344688=_0x4cce44[0x0];if(_0x344688 instanceof _0x30b34b){if(_0x344688[_0x96536a(0x224)]()[_0x96536a(0x1e0)]()!==_0x2cadfe)return _0x46d5e0;this[_0x96536a(0x239)](_0x344688,_0x46d5e0,_0x4669e7,_0xdfa37b,_0x29c57a);}return _0x46d5e0;}else{if(_0x548b8a===0x1){for(let _0x1f6b35=0x0;_0x1f6b35<_0x2bb64b-0x1;_0x1f6b35++){const _0x29ad82=_0x4cce44[_0x1f6b35];if(_0x29ad82 instanceof _0x30b34b&&_0x1f6b35%0x2===0x1){const _0x28a185=_0x29ad82[_0x96536a(0x1fb)]();if(_0x28a185['length']===0x1&&!(_0x28a185[0x0]instanceof _0x30b34b))continue;const _0x533d1b=this['_generateExprTree'](_0x29ad82,_0x4669e7,_0xdfa37b,_0x29c57a);_0x533d1b&&_0x46d5e0['children']['push'](_0x533d1b);}}return _0x46d5e0;}else{if(_0x548b8a===0x8){const _0x4ec9de=_0x4cce44[0x0];if(_0x4ec9de instanceof _0x30b34b){const _0x4d1bfc=_0x4ec9de['getChildren']()[0x0];_0x4d1bfc instanceof _0x30b34b&&(_0x46d5e0['startIndex']=_0x4d1bfc[_0x96536a(0x267)]());}if(this[_0x96536a(0x1da)](_0x237b83))return _0x46d5e0;}else{if(_0x548b8a===0x7){const _0x14b4f0=_0x4cce44[0x0];if(_0x14b4f0 instanceof _0x30b34b){const _0x3a7533=_0x14b4f0[_0x96536a(0x1fb)]()[0x0];_0x3a7533 instanceof _0x30b34b&&(_0x46d5e0[_0x96536a(0x23b)]=_0x3a7533[_0x96536a(0x267)]());}}}}}return this[_0x96536a(0x28a)](_0x4cce44,_0x548b8a,_0x46d5e0,_0x4669e7,_0xdfa37b,_0x29c57a),_0x46d5e0;}['_handleChildrenForExprTree'](_0x58a8cf,_0x160679,_0x4724e6,_0x4c621b,_0x277b7b,_0x5cfad3){const _0x447c63=_0x57bb0e;for(let _0x283f50=0x0;_0x283f50<_0x58a8cf[_0x447c63(0x22a)];_0x283f50++){let _0x510310=_0x58a8cf[_0x283f50];if(!(_0x510310 instanceof _0x30b34b)){const _0x53ad68=this['_handleTextNodeForExprTree'](_0x510310,_0x277b7b,_0x5cfad3);_0x53ad68&&_0x4724e6[_0x447c63(0x1fd)][_0x447c63(0x218)](_0x53ad68);continue;}const _0x1ee105=_0x510310[_0x447c63(0x1fb)]();if(_0x1ee105['length']===0x1&&!(_0x1ee105[0x0]instanceof _0x30b34b)){const _0x91e949=_0x1ee105[0x0];if(!_0x277b7b(this['_currentUnitId'],_0x91e949)&&!this[_0x447c63(0x238)](_0x91e949,_0x5cfad3)&&!_0x5dbc0b(_0x91e949))continue;}if(_0x160679===0x8){const _0x1a8c6f=_0x1ee105[0x0];if(_0x1a8c6f instanceof _0x30b34b){const _0x59bd25=_0x1a8c6f[_0x447c63(0x224)]()[_0x447c63(0x1e0)]();if(_0x5dbc0b(_0x59bd25))continue;_0x510310=_0x1a8c6f;}}const _0x499099=this[_0x447c63(0x29f)](_0x510310,_0x4c621b,_0x277b7b,_0x5cfad3);_0x499099&&_0x4724e6['children'][_0x447c63(0x218)](_0x499099);}}['_checkColonNodeForExprTree'](_0x51200e){const _0x11560d=_0x57bb0e,_0x134463=_0x51200e[_0x11560d(0x1fb)]();if(_0x134463[_0x11560d(0x22a)]<0x2)return!0x1;const _0x59f27a=_0x134463[0x0],_0xdfb8f3=_0x134463[0x1];if(!(_0x59f27a instanceof _0x30b34b)||!(_0xdfb8f3 instanceof _0x30b34b))return!0x1;const _0x2c0c04=_0x59f27a[_0x11560d(0x1fb)]()[0x0],_0x45030d=_0xdfb8f3['getChildren']()[0x0];if(!(_0x2c0c04 instanceof _0x30b34b)||!(_0x45030d instanceof _0x30b34b))return!0x1;const _0x1ddc04=_0x2c0c04[_0x11560d(0x224)]()[_0x11560d(0x1e0)](),_0x1cf454=_0x45030d[_0x11560d(0x224)]()['trim']();return!!_0x5dbc0b(''+_0x1ddc04+_0x432394[_0x11560d(0x22f)]+_0x1cf454);}['_handleTextNodeForExprTree'](_0x255955,_0x2d8b34,_0x20504b){const _0x5a4af8=_0x57bb0e,_0x3ec9d5=_0x255955['trim']();return _0x3ec9d5[_0x5a4af8(0x241)]('{')&&_0x3ec9d5[_0x5a4af8(0x256)]('}')||_0x2d8b34(this[_0x5a4af8(0x1ec)],_0x3ec9d5)||this[_0x5a4af8(0x238)](_0x3ec9d5,_0x20504b)||_0x5dbc0b(_0x3ec9d5)?{'value':_0x3ec9d5,'children':[],'startIndex':-0x1}:null;}[_0x57bb0e(0x238)](_0x3f9821,_0x15a1ec){const _0x5ea9ad=_0x57bb0e,{tableName:_0x4922de}=_0x4c5a4b(_0x3f9821);return _0x15a1ec(this[_0x5ea9ad(0x1ec)],_0x4922de)?_0x4922de:null;}[_0x57bb0e(0x239)](_0x3ae7fe,_0x4c5aaa,_0x233070,_0x367cf5,_0x27189f){const _0x1bc8b6=_0x57bb0e,_0x1d8002=_0x3ae7fe[_0x1bc8b6(0x1fb)]();for(let _0x78ef7=0x0;_0x78ef7<_0x1d8002[_0x1bc8b6(0x22a)];_0x78ef7++){const _0x538be0=_0x1d8002[_0x78ef7];if(!(_0x538be0 instanceof _0x30b34b))continue;const _0x1024e6=_0x538be0[_0x1bc8b6(0x1fb)]();if(_0x1024e6[_0x1bc8b6(0x22a)]===0x1&&!(_0x1024e6[0x0]instanceof _0x30b34b))continue;const _0x1753c2=this[_0x1bc8b6(0x29f)](_0x538be0,_0x233070,_0x367cf5,_0x27189f);_0x1753c2&&_0x4c5aaa[_0x1bc8b6(0x1fd)][_0x1bc8b6(0x218)](_0x1753c2);}}[_0x57bb0e(0x263)](_0x49c798){const _0x57ce25=_0x57bb0e,_0x1a25e4=_0x49c798[_0x57ce25(0x224)](),_0x2951f4=_0x1a25e4[_0x57ce25(0x1e0)]()[_0x57ce25(0x264)]();let _0x1bd5ce=0x0;return _0x1a25e4===_0x2d21c6?_0x1bd5ce=0x3:_0x1a25e4===_0x2c494c?_0x1bd5ce=0x4:_0x1a25e4===_0x2cadfe?_0x1bd5ce=0x5:_0x2951f4===_0x573ab0?_0x1bd5ce=0x2:_0x2951f4===_0x5c6c4f?_0x1bd5ce=0x1:_0x2951f4===_0x432394[_0x57ce25(0x22f)]?_0x1bd5ce=0x8:_0x257aa3['has'](_0x2951f4)?_0x1bd5ce=0x7:_0x2951f4===_0x35c412[_0x57ce25(0x24b)]?this['_checkAddBracketForMinus'](_0x49c798)&&(_0x1bd5ce=0x9):_0x1bd5ce=0xa,_0x1bd5ce;}}const ve={0x0:'g',0x1:'o',0x2:'c',0x3:'0',0x4:'3',0x5:'Y',0x6:'9',0x7:'D',0x8:'W',0x9:'E','v':'1','G':'2','V':'4','B':'5','R':'6','A':'7','W':'8','p':'a','N':'b','s':'d','a':'e','C':'f','T':'h','X':'i','q':'j','z':'k','O':'l','U':'m','c':'n','d':'p','E':'q','Y':'r','Q':'s','l':'t','x':'u','L':'v','h':'w','j':'x','M':'y','y':'z','P':'A','m':'B','I':'C','i':'F','g':'G','F':'H','o':'I','K':'J','u':'K','Z':'L','b':'M','f':'N','k':'O','D':'P','J':'Q','S':'R','t':'S','e':'T','n':'U','r':'V','H':'X','w':'Z'},Se=_0x57bb0e(0x274);class Re extends _0x1ebea5{constructor(){const _0x116966=_0x57bb0e;super(...arguments),D(this,_0x116966(0x2a2),new Map());}[_0x57bb0e(0x1f6)](){const _0x861436=_0x57bb0e;super[_0x861436(0x1f6)](),this[_0x861436(0x2a2)]['clear']();}async['generate'](_0xc978bd=!0x1){const _0x29a1dd=_0x57bb0e;this[_0x29a1dd(0x1f5)]();const _0x4b632e=this[_0x29a1dd(0x2ac)]['getFormulaData'](),_0x25649c=this[_0x29a1dd(0x213)][_0x29a1dd(0x1ef)](),_0x340548=this[_0x29a1dd(0x2ac)]['getClearDependencyTreeCache']();_0x340548!=null&&Object[_0x29a1dd(0x1f1)](_0x340548)[_0x29a1dd(0x225)](_0x5b18f2=>{const _0x54ae81=_0x29a1dd;_0x5b18f2!=null&&Object[_0x54ae81(0x1f1)](_0x340548[_0x5b18f2])[_0x54ae81(0x225)](_0x3aa528=>{const _0x238b43=_0x54ae81;_0x3aa528!=null&&(this[_0x238b43(0x1e6)][_0x238b43(0x270)](_0x5b18f2,_0x3aa528),this[_0x238b43(0x1e6)][_0x238b43(0x248)](_0x5b18f2,_0x3aa528),this[_0x238b43(0x1e6)][_0x238b43(0x271)](_0x5b18f2,_0x3aa528));});});const _0xf0ccb7=this[_0x29a1dd(0x2ac)][_0x29a1dd(0x293)]();await this[_0x29a1dd(0x23a)](_0x4b632e,_0x25649c,_0xf0ccb7),this[_0x29a1dd(0x1e6)][_0x29a1dd(0x219)]();const _0x2ea25d=this[_0x29a1dd(0x2a0)](),_0x26a9b6=this[_0x29a1dd(0x1e3)](_0x2ea25d);return this[_0x29a1dd(0x206)](_0x26a9b6)&&this[_0x29a1dd(0x208)]['enableCycleDependency'](),_0xc978bd&&this[_0x29a1dd(0x208)][_0x29a1dd(0x221)](this[_0x29a1dd(0x1ff)](Array[_0x29a1dd(0x25c)](this[_0x29a1dd(0x2a2)][_0x29a1dd(0x1e8)]()))),this[_0x29a1dd(0x2a2)][_0x29a1dd(0x20c)](),this[_0x29a1dd(0x211)][_0x29a1dd(0x20c)](),this['_dependencyManagerService'][_0x29a1dd(0x26b)](),this['_runtimeService'][_0x29a1dd(0x1de)](),Promise[_0x29a1dd(0x21c)](_0x26a9b6);}[_0x57bb0e(0x28f)](_0x47de38,_0x2a05e8){const _0x40a3b5=_0x57bb0e,_0x506e50=[_0x47de38];for(;_0x506e50[_0x40a3b5(0x22a)]>0x0;){const _0x1ff361=_0x506e50[_0x506e50[_0x40a3b5(0x22a)]-0x1];if((_0x2a05e8[_0x40a3b5(0x1df)](_0x1ff361)||0x0)===0x0){_0x2a05e8[_0x40a3b5(0x25a)](_0x1ff361,0x1);const _0x18e222=this[_0x40a3b5(0x2a2)][_0x40a3b5(0x1df)](_0x1ff361);if(_0x18e222==null){_0x2a05e8[_0x40a3b5(0x25a)](_0x1ff361,0x2),_0x506e50[_0x40a3b5(0x269)]();continue;}const _0x44fa89=this[_0x40a3b5(0x1e6)]['searchDependency'](_0x18e222[_0x40a3b5(0x23f)]());for(const _0x375768 of _0x44fa89){const _0x3ecfce=_0x2a05e8[_0x40a3b5(0x1df)](_0x375768)||0x0;if(_0x3ecfce===0x1)return!0x0;_0x3ecfce===0x0&&_0x506e50[_0x40a3b5(0x218)](_0x375768);}}else _0x2a05e8[_0x40a3b5(0x25a)](_0x1ff361,0x2),_0x506e50[_0x40a3b5(0x269)]();}return!0x1;}['_checkIsCycleDependency'](_0x5576cf){const _0x292013=_0x57bb0e,_0x430e68=new Map();for(const _0x167e94 of _0x5576cf)if(!_0x430e68['has'](_0x167e94['treeId'])&&this[_0x292013(0x28f)](_0x167e94['treeId'],_0x430e68))return!0x0;return _0x430e68[_0x292013(0x20c)](),!0x1;}['_getFeatureFormulaTree'](_0x4dd7cb,_0x166372,_0x19b283){const _0x3addfc=_0x57bb0e,{unitId:_0x21e88c,subUnitId:_0x22feae,dependencyRanges:_0x362e2c,getDirtyData:_0x34970a}=_0x19b283,_0x411472=_0x166372||_0x4afc47(this[_0x3addfc(0x1e6)]),_0x39c596=new _0x2eba75(_0x411472);_0x39c596[_0x3addfc(0x1fc)]=_0x21e88c,_0x39c596['subUnitId']=_0x22feae,_0x39c596[_0x3addfc(0x220)]=_0x362e2c,_0x39c596[_0x3addfc(0x237)]=_0x34970a;const _0x2163e9=_0x34970a(this['_currentConfigService'][_0x3addfc(0x237)](),this[_0x3addfc(0x208)][_0x3addfc(0x21e)]()),_0x573793=this[_0x3addfc(0x251)](_0x2163e9['dirtyRanges']);return _0x39c596['featureDirtyRanges']=_0x573793,_0x39c596[_0x3addfc(0x24c)]=_0x4dd7cb,_0x39c596['type']=_0x39d275[_0x3addfc(0x1f2)],this[_0x3addfc(0x1e6)][_0x3addfc(0x2a3)](_0x21e88c,_0x22feae,_0x4dd7cb,_0x39c596),this['_dependencyTreeCache'][_0x3addfc(0x25a)](_0x39c596[_0x3addfc(0x228)],_0x39c596),this[_0x3addfc(0x1e6)][_0x3addfc(0x253)](_0x19b283['unitId'],_0x19b283[_0x3addfc(0x210)],_0x4dd7cb)&&(_0x39c596[_0x3addfc(0x25d)]=!0x0),_0x39c596;}[_0x57bb0e(0x245)](_0x22273e,_0x5d29e1,_0x53d3a5){const _0x2c280c=_0x57bb0e;var _0x1d7247;for(const _0x387256 of _0x5d29e1){const _0x25704b=_0x22273e[_0x387256];if(_0x25704b==null)continue;const _0x11bab3=Object[_0x2c280c(0x1f1)](_0x25704b);for(const _0x4a3e1c of _0x11bab3){const _0x35b637=_0x25704b[_0x4a3e1c];if(_0x35b637==null)continue;const _0xe771eb=Object['keys'](_0x35b637);for(const _0x49611b of _0xe771eb){const _0x275b90=this[_0x2c280c(0x1e6)][_0x2c280c(0x29e)](_0x49611b),_0xdfd7f0=_0x35b637[_0x49611b],{f:_0x5b97c4,ranges:_0x53b796}=_0xdfd7f0;let _0x11bfc6=!0x1;_0x275b90&&(_0x11bfc6=!0x0);const {firstRow:_0x496f37,firstColumn:_0xcaca84}=this[_0x2c280c(0x22d)](_0x53b796),_0x1b4421=this[_0x2c280c(0x1e6)]['getOtherFormulaDependency'](_0x387256,_0x4a3e1c,_0x49611b),_0x924acb=(_0x1d7247=_0x1b4421==null?void 0x0:_0x1b4421[_0x2c280c(0x216)](0x0,0x0))!=null?_0x1d7247:_0x4afc47(this[_0x2c280c(0x1e6)]),_0x3fea32=new _0x2eba75(_0x924acb);for(let _0x107fac=0x0;_0x107fac<_0x53b796[_0x2c280c(0x22a)];_0x107fac++){const _0x1625fd=_0x53b796[_0x107fac],{startRow:_0x58a249,startColumn:_0x2d6302,endRow:_0x1851fe,endColumn:_0x2c4440}=_0x1625fd;for(let _0x34de9f=_0x58a249;_0x34de9f<=_0x1851fe;_0x34de9f++)for(let _0xd0fd93=_0x2d6302;_0xd0fd93<=_0x2c4440;_0xd0fd93++){const _0x329b6f=_0xd0fd93-_0xcaca84,_0x14d5b4=_0x34de9f-_0x496f37;if(_0x329b6f===0x0&&_0x14d5b4===0x0){_0x3fea32['formula']=_0x5b97c4,_0x3fea32['unitId']=_0x387256,_0x3fea32['subUnitId']=_0x4a3e1c,_0x3fea32['formulaId']=_0x49611b,_0x3fea32['type']=_0x39d275[_0x2c280c(0x20a)],_0x3fea32[_0x2c280c(0x25d)]=_0x11bfc6,_0x53d3a5[_0x2c280c(0x218)](_0x3fea32),this[_0x2c280c(0x2a2)][_0x2c280c(0x25a)](_0x3fea32[_0x2c280c(0x228)],_0x3fea32),this['_dependencyManagerService'][_0x2c280c(0x27e)](_0x387256,_0x4a3e1c,_0x49611b,_0x3fea32),this[_0x2c280c(0x1e6)][_0x2c280c(0x1f3)](_0x3fea32);continue;}const _0x8a0fa8=new _0x1f3db0();_0x8a0fa8[_0x2c280c(0x228)]=(_0x1b4421==null?void 0x0:_0x1b4421['getValue'](_0x329b6f,_0x14d5b4))||_0x4afc47(this['_dependencyManagerService']),_0x8a0fa8[_0x2c280c(0x20d)]=_0x3fea32,_0x8a0fa8[_0x2c280c(0x229)]=_0x329b6f,_0x8a0fa8[_0x2c280c(0x29d)]=_0x14d5b4,_0x8a0fa8['isCache']=_0x11bfc6,_0x8a0fa8[_0x2c280c(0x2ae)]=_0x39d275['OTHER_FORMULA'],this['_dependencyManagerService'][_0x2c280c(0x27e)](_0x387256,_0x4a3e1c,_0x49611b,_0x8a0fa8),this['_dependencyManagerService'][_0x2c280c(0x1f3)](_0x8a0fa8),_0x53d3a5[_0x2c280c(0x218)](_0x8a0fa8),this[_0x2c280c(0x2a2)][_0x2c280c(0x25a)](_0x8a0fa8[_0x2c280c(0x228)],_0x8a0fa8);}}this[_0x2c280c(0x1e6)][_0x2c280c(0x250)](_0x49611b);}}}}[_0x57bb0e(0x1f0)](_0x2a81d1,_0x112c53,_0x119e48,_0x486a72){const _0x33435b=_0x57bb0e;for(const _0x376f05 of _0x2a81d1){const _0x51e8a2=_0x112c53[_0x376f05];if(_0x51e8a2==null)continue;const _0x21ba0b=Object['keys'](_0x51e8a2);for(const _0x4e982d of _0x21ba0b){const _0x441a3f=new _0x1e472f(_0x51e8a2[_0x4e982d]||{}),_0x5dd2de=new Map();_0x441a3f[_0x33435b(0x1fe)]((_0x53c7e7,_0x93e73,_0x3ec421)=>{const _0x1ab639=_0x33435b;if(_0x3ec421==null)return!0x0;const {x:_0x32e99b=0x0,y:_0x278b7d=0x0,si:_0x3da54f}=_0x3ec421;if(!(_0x32e99b===0x0&&_0x278b7d===0x0&&_0x3da54f!=null))return!0x0;const _0x235c3e=this['_createFDtree'](_0x376f05,_0x4e982d,_0x53c7e7,_0x93e73,_0x119e48,_0x3ec421),_0x13a414=this[_0x1ab639(0x1e6)][_0x1ab639(0x29c)](_0x376f05,_0x4e982d,_0x53c7e7,_0x93e73);_0x13a414!=null?_0x235c3e[_0x1ab639(0x228)]=_0x13a414:(this[_0x1ab639(0x1e6)][_0x1ab639(0x222)](_0x376f05,_0x4e982d,_0x53c7e7,_0x93e73,_0x235c3e),this['_dependencyManagerService'][_0x1ab639(0x1f3)](_0x235c3e)),_0x5dd2de[_0x1ab639(0x25a)](_0x3da54f,_0x235c3e),_0x486a72[_0x1ab639(0x218)](_0x235c3e),this[_0x1ab639(0x2a2)][_0x1ab639(0x25a)](_0x235c3e[_0x1ab639(0x228)],_0x235c3e);}),_0x441a3f[_0x33435b(0x1fe)]((_0x15421a,_0x33b3b7,_0x417e98)=>{const _0xbffb4c=_0x33435b;if(_0x417e98==null)return!0x0;const {x:_0x4d3692=0x0,y:_0x4f45f3=0x0,si:_0xb96c86}=_0x417e98;if(_0x4d3692===0x0&&_0x4f45f3===0x0&&_0xb96c86!=null)return!0x0;let _0x3d145f;if(_0xb96c86&&_0x5dd2de[_0xbffb4c(0x283)](_0xb96c86)){const _0x1bd57e=_0x5dd2de[_0xbffb4c(0x1df)](_0xb96c86);_0x3d145f=this[_0xbffb4c(0x284)](_0x1bd57e,_0x417e98);}else _0x3d145f=this[_0xbffb4c(0x233)](_0x376f05,_0x4e982d,_0x15421a,_0x33b3b7,_0x119e48,_0x417e98);const _0x415fd5=this[_0xbffb4c(0x1e6)]['getFormulaDependency'](_0x376f05,_0x4e982d,_0x15421a,_0x33b3b7);_0x415fd5!=null?_0x3d145f[_0xbffb4c(0x228)]=_0x415fd5:(this[_0xbffb4c(0x1e6)][_0xbffb4c(0x222)](_0x376f05,_0x4e982d,_0x15421a,_0x33b3b7,_0x3d145f),this[_0xbffb4c(0x1e6)][_0xbffb4c(0x1f3)](_0x3d145f)),_0x486a72[_0xbffb4c(0x218)](_0x3d145f),this['_dependencyTreeCache'][_0xbffb4c(0x25a)](_0x3d145f[_0xbffb4c(0x228)],_0x3d145f);}),_0x5dd2de['clear']();}}}[_0x57bb0e(0x233)](_0x5a307d,_0x4a80b1,_0x51c02a,_0x3a4f38,_0x47b4ae,_0x433929){const _0x3897d5=_0x57bb0e,{f:_0x2562bf,x:_0x57d070=0x0,y:_0x4b91f4=0x0}=_0x433929,_0x2c8707=new _0x2eba75(_0x4afc47(this[_0x3897d5(0x1e6)])),_0x3112c3=_0x47b4ae[_0x5a307d][_0x4a80b1];return _0x2c8707['formula']=_0x2562bf,_0x2c8707[_0x3897d5(0x1fc)]=_0x5a307d,_0x2c8707[_0x3897d5(0x210)]=_0x4a80b1,_0x2c8707[_0x3897d5(0x259)]=_0x51c02a,_0x2c8707[_0x3897d5(0x1f4)]=_0x3a4f38,_0x2c8707[_0x3897d5(0x291)]=_0x3112c3[_0x3897d5(0x291)],_0x2c8707[_0x3897d5(0x273)]=_0x3112c3[_0x3897d5(0x273)],_0x2c8707;}['_getUpdateTreeListAndMakeDependency'](){const _0x2ccdd4=_0x57bb0e,_0x3c432b=[],_0x346252=new Set(),_0x21fae4=this[_0x2ccdd4(0x2ac)][_0x2ccdd4(0x24d)](),_0x59625e=this['_currentConfigService'][_0x2ccdd4(0x20f)](),_0x2edf71=this['_dependencyManagerService'][_0x2ccdd4(0x1d9)](_0x59625e),_0x39d639=this[_0x2ccdd4(0x211)]['bulkSearch'](_0x59625e);for(const _0x327e79 of _0x39d639)_0x2edf71['add'](_0x327e79);for(const [_0x10722b,_0x42f2d6]of this['_dependencyTreeCache'])(_0x21fae4||_0x42f2d6['isDirty']||_0x42f2d6['dependencySheetName'](this['_currentConfigService'][_0x2ccdd4(0x1e9)]())||_0x2edf71[_0x2ccdd4(0x283)](_0x10722b)&&!_0x42f2d6['isExcludeRange'](this[_0x2ccdd4(0x2ac)][_0x2ccdd4(0x285)]()))&&!_0x346252[_0x2ccdd4(0x283)](_0x10722b)&&(_0x3c432b[_0x2ccdd4(0x218)](_0x42f2d6),_0x346252[_0x2ccdd4(0x223)](_0x10722b));for(const [_0x20bc50,_0xafda1e]of this[_0x2ccdd4(0x2a2)])_0xafda1e[_0x2ccdd4(0x21f)]||(_0xafda1e[_0x2ccdd4(0x220)][_0x2ccdd4(0x22a)]=0x0);return _0x3c432b;}[_0x57bb0e(0x236)](_0x47670b){const _0x52de78=_0x57bb0e;return this['_dependencyTreeCache'][_0x52de78(0x1df)](_0x47670b);}[_0x57bb0e(0x203)](_0x427b19){return _0x2f7dfa(_0x427b19['unitId'],_0x427b19['formula'],this['_lexer'],this['_astTreeBuilder'],this['_currentConfigService']);}*[_0x57bb0e(0x1fa)](_0x30160a,_0x79d6e8){const _0x5e12cf=_0x57bb0e,_0x1a35a2=_0x30160a,_0x470aa9=new Set();for(;_0x1a35a2['length']>0x0;){const _0x1c7b73=_0x1a35a2[_0x5e12cf(0x269)]();if(_0x470aa9[_0x5e12cf(0x20c)](),_0x1c7b73===void 0x0||_0x1c7b73[_0x5e12cf(0x288)]())continue;if(_0x1c7b73[_0x5e12cf(0x286)]()){yield _0x1c7b73,_0x1c7b73[_0x5e12cf(0x1e2)](),_0x79d6e8[_0x5e12cf(0x223)](_0x1c7b73[_0x5e12cf(0x228)]);continue;}const _0x3e509a=this['_dependencyManagerService']['searchDependency'](_0x1c7b73[_0x5e12cf(0x23f)](),_0x79d6e8),_0x41a78f=this[_0x5e12cf(0x211)][_0x5e12cf(0x26f)](_0x1c7b73[_0x5e12cf(0x23f)](),_0x79d6e8);for(const _0x3d29a0 of _0x41a78f)_0x3e509a['add'](_0x3d29a0);for(const _0x55df2d of _0x3e509a){const _0xdb2223=this[_0x5e12cf(0x2a2)][_0x5e12cf(0x1df)](_0x55df2d);if(!_0xdb2223){console['error'](_0x5e12cf(0x20e),_0x55df2d);continue;}_0xdb2223['isAdded']()||_0x1c7b73[_0x5e12cf(0x288)]()||_0x470aa9[_0x5e12cf(0x223)](_0xdb2223);}if(_0x3e509a['clear'](),_0x470aa9[_0x5e12cf(0x277)]===0x0)yield _0x1c7b73,_0x1c7b73[_0x5e12cf(0x1e2)](),_0x79d6e8[_0x5e12cf(0x223)](_0x1c7b73[_0x5e12cf(0x228)]);else{_0x1c7b73[_0x5e12cf(0x28e)](),_0x1a35a2[_0x5e12cf(0x218)](_0x1c7b73);for(const _0x1865f4 of _0x470aa9)_0x1a35a2['push'](_0x1865f4);}}_0x1a35a2[_0x5e12cf(0x22a)]=0x0,_0x470aa9['clear']();}['_calculateRunList'](_0x34656c){const _0x156804=_0x57bb0e,_0x373378=[],_0x57291f=new Set();for(const _0x119549 of this[_0x156804(0x1fa)](_0x34656c,_0x57291f))_0x373378[_0x156804(0x218)](_0x119549);return _0x373378;}async[_0x57bb0e(0x297)](){const _0x133de5=_0x57bb0e;return await this[_0x133de5(0x287)](),Array['from'](this[_0x133de5(0x2a2)][_0x133de5(0x1e8)]());}['_getDependencyTreeParenIds'](_0x5b4244){const _0x1b5dc1=_0x57bb0e;return this[_0x1b5dc1(0x1e6)][_0x1b5dc1(0x1d9)](_0x5b4244[_0x1b5dc1(0x23f)]());}[_0x57bb0e(0x27f)](_0x1d5ae4){const _0x2f00c0=_0x57bb0e,_0x1e6b31=new Set(),_0x5587cf=_0x1d5ae4['rangeList'];for(const [_0x42a6fa,_0x47c11d]of this[_0x2f00c0(0x2a2)])for(const _0x334360 of _0x5587cf){const _0x59a4a8=_0x334360[_0x2f00c0(0x1fc)],_0x2b9e5a=_0x334360[_0x2f00c0(0x242)];if(_0x47c11d[_0x2f00c0(0x1fc)]!==_0x59a4a8||_0x47c11d['subUnitId']!==_0x2b9e5a)continue;const _0x554cd0=_0x334360[_0x2f00c0(0x227)];if(_0x47c11d['inRangeData'](_0x554cd0)){_0x1e6b31['add'](_0x42a6fa);break;}}return _0x1e6b31;}['_startFormulaDependencyTreeModel'](){this['_dependencyManagerService']['openKdTree']();}[_0x57bb0e(0x23e)](){const _0x30a8ab=_0x57bb0e;this[_0x30a8ab(0x2a4)][_0x30a8ab(0x20c)](),this[_0x30a8ab(0x2a2)]['clear'](),this[_0x30a8ab(0x1e6)]['closeKdTree']();}}class Oe extends _0x3358ca{async[_0x57bb0e(0x235)](_0x47937b=!0x1){const _0x5eadc5=_0x57bb0e;_0x47937b?this[_0x5eadc5(0x208)][_0x5eadc5(0x1d8)](_0x33561c[_0x5eadc5(0x2aa)]):this[_0x5eadc5(0x208)][_0x5eadc5(0x1d8)](_0x33561c['START_DEPENDENCY']),this[_0x5eadc5(0x2a6)][_0x5eadc5(0x23c)](this['_runtimeService'][_0x5eadc5(0x2ab)]());const _0x202111=await this[_0x5eadc5(0x265)][_0x5eadc5(0x292)](this[_0x5eadc5(0x2a5)]),_0x529090=this['_interpreter'];_0x47937b?(this['_runtimeService']['setFormulaExecuteStage'](_0x33561c[_0x5eadc5(0x279)]),this[_0x5eadc5(0x208)][_0x5eadc5(0x25b)](_0x202111[_0x5eadc5(0x22a)])):(this[_0x5eadc5(0x208)][_0x5eadc5(0x1d8)](_0x33561c['START_CALCULATION']),this[_0x5eadc5(0x208)][_0x5eadc5(0x254)](_0x202111[_0x5eadc5(0x22a)])),this[_0x5eadc5(0x2a6)][_0x5eadc5(0x23c)](this[_0x5eadc5(0x208)][_0x5eadc5(0x2ab)]());let _0x10236b=[];const _0x51b3d6=this[_0x5eadc5(0x280)][_0x5eadc5(0x268)](_0x45af7c),_0x5dd576=(_0x51b3d6==null?void 0x0:_0x51b3d6[_0x5eadc5(0x26e)])||_0x2faf18;let _0x589bf4=0x0;const _0x3e6d5d=_0x202111[_0x5eadc5(0x22a)];for(;_0x202111[_0x5eadc5(0x22a)]>0x0;){const _0x1c68a8=_0x202111[_0x5eadc5(0x269)](),_0x2cd4ff=_0x2f7dfa(_0x1c68a8[_0x5eadc5(0x1fc)],_0x1c68a8[_0x5eadc5(0x28d)],this[_0x5eadc5(0x21b)],this[_0x5eadc5(0x1eb)],this[_0x5eadc5(0x2ac)]),_0xfac23f={'node':_0x2cd4ff,'refOffsetX':_0x1c68a8['refOffsetX'],'refOffsetY':_0x1c68a8[_0x5eadc5(0x29d)]},_0x3bb634=_0x1c68a8[_0x5eadc5(0x237)];if(_0x589bf4%_0x5dd576===0x0&&(await new Promise(_0x21ccc2=>{const _0xea4387=_0x91e2cb(_0x21ccc2);_0x10236b['push'](_0xea4387);}),_0x47937b?(this[_0x5eadc5(0x208)]['setFormulaExecuteStage'](_0x33561c[_0x5eadc5(0x29a)]),this['_runtimeService'][_0x5eadc5(0x2a1)](_0x589bf4+0x1)):(this[_0x5eadc5(0x208)][_0x5eadc5(0x1d8)](_0x33561c[_0x5eadc5(0x1db)]),this['_runtimeService']['setCompletedFormulasCount'](_0x589bf4+0x1)),this[_0x5eadc5(0x2a6)][_0x5eadc5(0x23c)](this[_0x5eadc5(0x208)][_0x5eadc5(0x2ab)]()),this[_0x5eadc5(0x208)][_0x5eadc5(0x21a)]()||_0xfac23f==null&&_0x3bb634==null)){this['_runtimeService'][_0x5eadc5(0x1d8)](_0x33561c['IDLE']),this[_0x5eadc5(0x208)][_0x5eadc5(0x2af)](),this['_executionCompleteListener$'][_0x5eadc5(0x23c)](this[_0x5eadc5(0x208)][_0x5eadc5(0x21e)]());return;}this[_0x5eadc5(0x208)][_0x5eadc5(0x234)](_0x1c68a8[_0x5eadc5(0x259)],_0x1c68a8[_0x5eadc5(0x1f4)],_0x1c68a8[_0x5eadc5(0x291)],_0x1c68a8[_0x5eadc5(0x273)],_0x1c68a8[_0x5eadc5(0x210)],_0x1c68a8['unitId']);let _0x277b60;if(_0x3bb634!=null&&_0x1c68a8[_0x5eadc5(0x24c)]!=null){const {runtimeCellData:_0x1b1587,dirtyRanges:_0x87d756}=_0x3bb634(this[_0x5eadc5(0x2ac)][_0x5eadc5(0x237)](),this[_0x5eadc5(0x208)][_0x5eadc5(0x21e)]());this[_0x5eadc5(0x208)][_0x5eadc5(0x214)](_0x1c68a8[_0x5eadc5(0x24c)],_0x1b1587),this['_runtimeService']['setRuntimeFeatureRange'](_0x1c68a8[_0x5eadc5(0x24c)],_0x87d756);}else _0xfac23f!=null&&(_0x529090['checkAsyncNode'](_0xfac23f[_0x5eadc5(0x290)])?_0x277b60=await _0x529090[_0x5eadc5(0x27c)](_0xfac23f):_0x277b60=_0x529090[_0x5eadc5(0x295)](_0xfac23f),_0x1c68a8['formulaId']!=null?this[_0x5eadc5(0x208)][_0x5eadc5(0x278)](_0x1c68a8[_0x5eadc5(0x281)],_0x1c68a8['refOffsetX'],_0x1c68a8['refOffsetY'],_0x277b60):this['_runtimeService'][_0x5eadc5(0x25e)](_0x277b60));_0x2cd4ff[_0x5eadc5(0x29b)](),_0x589bf4++;}return _0x10236b[_0x5eadc5(0x225)](_0x51d64f=>_0x51d64f()),_0x10236b=[],_0x3e6d5d>0x0?this[_0x5eadc5(0x208)][_0x5eadc5(0x252)]():_0x47937b||this[_0x5eadc5(0x208)][_0x5eadc5(0x247)](),this[_0x5eadc5(0x208)]['getAllRuntimeData']();}}class Ee extends _0x4da8df{constructor(){const _0x59be2d=_0x57bb0e;super(...arguments),D(this,_0x59be2d(0x27b),new Map()),D(this,_0x59be2d(0x202),new _0x5fb983(!0x0));}[_0x57bb0e(0x201)](){const _0x5a10a6=_0x57bb0e;this[_0x5a10a6(0x2ad)]['clear'](),this[_0x5a10a6(0x276)][_0x5a10a6(0x20c)](),this[_0x5a10a6(0x1dd)][_0x5a10a6(0x20c)](),this[_0x5a10a6(0x202)][_0x5a10a6(0x20c)](),this[_0x5a10a6(0x27b)]['clear'](),this[_0x5a10a6(0x262)](),this[_0x5a10a6(0x255)][_0x5a10a6(0x20c)]();}[_0x57bb0e(0x27e)](_0x6e41c1,_0x519ad0,_0x43a155,_0x4de4c6){const _0x25c629=_0x57bb0e;this[_0x25c629(0x2ad)][_0x25c629(0x283)](_0x6e41c1)||this[_0x25c629(0x2ad)]['set'](_0x6e41c1,new Map());const _0x444a3b=this[_0x25c629(0x2ad)][_0x25c629(0x1df)](_0x6e41c1);_0x444a3b[_0x25c629(0x283)](_0x519ad0)||_0x444a3b[_0x25c629(0x25a)](_0x519ad0,new Map());const _0x2afe42=_0x444a3b[_0x25c629(0x1df)](_0x519ad0);_0x2afe42[_0x25c629(0x283)](_0x43a155)||_0x2afe42[_0x25c629(0x25a)](_0x43a155,new _0x1e472f()),_0x2afe42[_0x25c629(0x1df)](_0x43a155)[_0x25c629(0x217)](_0x4de4c6['refOffsetX'],_0x4de4c6[_0x25c629(0x29d)],_0x4de4c6['treeId']);}[_0x57bb0e(0x212)](_0x27fd6e,_0x1cc54a,_0x168214){const _0x4328df=_0x57bb0e,_0x205f81=this[_0x4328df(0x2ad)][_0x4328df(0x1df)](_0x27fd6e);if(_0x205f81&&_0x205f81[_0x4328df(0x283)](_0x1cc54a)){const _0xfe2b3c=_0x205f81['get'](_0x1cc54a);_0x168214[_0x4328df(0x225)](_0x369c21=>{const _0x36a24a=_0x4328df,_0x2b4032=_0xfe2b3c[_0x36a24a(0x1df)](_0x369c21);_0x2b4032!=null&&(_0x2b4032[_0x36a24a(0x1fe)]((_0x2778cc,_0x5a8147,_0x276f09)=>{const _0x2020b0=_0x36a24a;this[_0x2020b0(0x22e)](_0x276f09),this['_removeAllTreeMap'](_0x276f09);}),_0xfe2b3c[_0x36a24a(0x23d)](_0x369c21),this[_0x36a24a(0x255)][_0x36a24a(0x23d)](_0x369c21));}),_0xfe2b3c[_0x4328df(0x277)]===0x0&&_0x205f81[_0x4328df(0x23d)](_0x1cc54a),_0x205f81['size']===0x0&&this[_0x4328df(0x2ad)]['delete'](_0x27fd6e);}}[_0x57bb0e(0x270)](_0x36ace8,_0x2a22d7){const _0x57f7c2=_0x57bb0e,_0x105a94=this[_0x57f7c2(0x2ad)][_0x57f7c2(0x1df)](_0x36ace8);if(_0x2a22d7&&_0x105a94&&_0x105a94[_0x57f7c2(0x283)](_0x2a22d7)){const _0x13ae9a=_0x105a94['get'](_0x2a22d7);this[_0x57f7c2(0x230)](_0x36ace8,_0x2a22d7);for(const _0x564825 of _0x13ae9a[_0x57f7c2(0x1f1)]()){const _0x730562=_0x13ae9a[_0x57f7c2(0x1df)](_0x564825);_0x730562!=null&&(_0x730562[_0x57f7c2(0x1fe)]((_0xdf6241,_0x219df4,_0x241db0)=>{const _0x4165a3=_0x57f7c2;this['_allTreeMap'][_0x4165a3(0x1df)](_0x241db0)&&this['_removeAllTreeMap'](_0x241db0);}),this[_0x57f7c2(0x255)][_0x57f7c2(0x23d)](_0x564825));}_0x13ae9a[_0x57f7c2(0x20c)]();}else{if(_0x105a94){for(const _0x535774 of _0x105a94[_0x57f7c2(0x1f1)]()){const _0x278b07=_0x105a94[_0x57f7c2(0x1df)](_0x535774);this[_0x57f7c2(0x230)](_0x36ace8,_0x535774);for(const _0x1d57ab of _0x278b07[_0x57f7c2(0x1f1)]()){const _0x5e5fac=_0x278b07[_0x57f7c2(0x1df)](_0x1d57ab);_0x5e5fac!=null&&(_0x5e5fac[_0x57f7c2(0x1fe)]((_0x272b4d,_0x307afb,_0xbb36a2)=>{const _0x4908a2=_0x57f7c2;this['_allTreeMap'][_0x4908a2(0x1df)](_0xbb36a2)&&this[_0x4908a2(0x209)](_0xbb36a2);}),this[_0x57f7c2(0x255)]['delete'](_0x1d57ab));}}this[_0x57f7c2(0x2ad)][_0x57f7c2(0x23d)](_0x36ace8);}}}[_0x57bb0e(0x2a3)](_0x43afbd,_0x3b948e,_0x50955e,_0x16a17b){const _0x113ce3=_0x57bb0e;this[_0x113ce3(0x276)][_0x113ce3(0x283)](_0x43afbd)||this[_0x113ce3(0x276)][_0x113ce3(0x25a)](_0x43afbd,new Map());const _0x610e9a=this[_0x113ce3(0x276)][_0x113ce3(0x1df)](_0x43afbd);_0x610e9a[_0x113ce3(0x283)](_0x3b948e)||_0x610e9a[_0x113ce3(0x25a)](_0x3b948e,new Map()),_0x610e9a[_0x113ce3(0x1df)](_0x3b948e)[_0x113ce3(0x25a)](_0x50955e,_0x16a17b[_0x113ce3(0x228)]);}[_0x57bb0e(0x28b)](_0x2b5f13,_0x203a4d,_0x1fa63a){const _0x325648=_0x57bb0e,_0x291db1=this[_0x325648(0x276)][_0x325648(0x1df)](_0x2b5f13);if(_0x291db1&&_0x291db1['has'](_0x203a4d)){const _0xed7282=_0x291db1[_0x325648(0x1df)](_0x203a4d);_0x1fa63a[_0x325648(0x225)](_0x4cddbe=>{const _0x376b59=_0x325648,_0x3418a6=_0xed7282[_0x376b59(0x1df)](_0x4cddbe);_0x3418a6!=null&&(this[_0x376b59(0x22e)](_0x3418a6),_0xed7282[_0x376b59(0x23d)](_0x4cddbe),this['_removeAllTreeMap'](_0x3418a6));});}}[_0x57bb0e(0x248)](_0x2c2dc7,_0x32df94){const _0x49d9b2=_0x57bb0e,_0x3a263c=this['_featureFormulaData']['get'](_0x2c2dc7);if(_0x32df94&&_0x3a263c&&_0x3a263c[_0x49d9b2(0x283)](_0x32df94)){const _0x3ffc9d=_0x3a263c[_0x49d9b2(0x1df)](_0x32df94);this[_0x49d9b2(0x230)](_0x2c2dc7,_0x32df94),_0x3ffc9d[_0x49d9b2(0x225)](_0x5adca5=>{const _0x537643=_0x49d9b2;_0x5adca5!=null&&this[_0x537643(0x209)](_0x5adca5);}),_0x3ffc9d['clear']();}else _0x3a263c&&(_0x3a263c[_0x49d9b2(0x225)]((_0x2c508,_0x415e0b)=>{const _0x2820ad=_0x49d9b2;this[_0x2820ad(0x230)](_0x2c2dc7,_0x415e0b),_0x2c508[_0x2820ad(0x225)](_0x170faa=>{const _0x1afe02=_0x2820ad;_0x170faa!=null&&this[_0x1afe02(0x209)](_0x170faa);});}),this[_0x49d9b2(0x276)]['delete'](_0x2c2dc7));}[_0x57bb0e(0x222)](_0x2a552b,_0x11f2c3,_0x59da92,_0xbfb46d,_0x4e90bd){const _0x191ca1=_0x57bb0e;this[_0x191ca1(0x1dd)][_0x191ca1(0x283)](_0x2a552b)||this[_0x191ca1(0x1dd)][_0x191ca1(0x25a)](_0x2a552b,new Map());const _0xf0be72=this[_0x191ca1(0x1dd)][_0x191ca1(0x1df)](_0x2a552b);_0xf0be72[_0x191ca1(0x283)](_0x11f2c3)||_0xf0be72[_0x191ca1(0x25a)](_0x11f2c3,new _0x1e472f()),_0xf0be72[_0x191ca1(0x1df)](_0x11f2c3)[_0x191ca1(0x217)](_0x59da92,_0xbfb46d,_0x4e90bd['treeId']);}[_0x57bb0e(0x215)](_0x12b283,_0x166ab9,_0x5cde74,_0x168df6){const _0x61f57a=_0x57bb0e,_0x391bc3=this[_0x61f57a(0x1dd)][_0x61f57a(0x1df)](_0x12b283);if(_0x391bc3&&_0x391bc3['has'](_0x166ab9)){const _0x32bf39=_0x391bc3[_0x61f57a(0x1df)](_0x166ab9),_0x16f3b7=_0x32bf39[_0x61f57a(0x216)](_0x5cde74,_0x168df6);if(_0x16f3b7==null)return;this[_0x61f57a(0x22e)](_0x16f3b7),_0x32bf39['realDeleteValue'](_0x5cde74,_0x168df6),this[_0x61f57a(0x209)](_0x16f3b7);}}[_0x57bb0e(0x271)](_0xba810b,_0x3dba31){const _0x15b70a=_0x57bb0e,_0x3f4944=this[_0x15b70a(0x1dd)][_0x15b70a(0x1df)](_0xba810b);if(_0x3dba31&&_0x3f4944&&_0x3f4944['has'](_0x3dba31)){const _0x47b9f6=_0x3f4944[_0x15b70a(0x1df)](_0x3dba31);this['_removeDependencyRTreeCacheById'](_0xba810b,_0x3dba31),_0x47b9f6[_0x15b70a(0x1fe)]((_0x3237c1,_0x32841b,_0x4d3465)=>{const _0x55efad=_0x15b70a;if(_0x4d3465==null)return!0x0;this[_0x55efad(0x209)](_0x4d3465);}),_0x47b9f6[_0x15b70a(0x201)]();}else _0x3f4944&&(_0x3f4944[_0x15b70a(0x225)]((_0x344707,_0x3e4c6e)=>{const _0x4f4e0c=_0x15b70a;this[_0x4f4e0c(0x230)](_0xba810b,_0x3e4c6e),_0x344707['forValue']((_0x19a004,_0x28ae2a,_0x3bfe71)=>{if(_0x3bfe71==null)return!0x0;this['_removeAllTreeMap'](_0x3bfe71);});}),this[_0x15b70a(0x1dd)][_0x15b70a(0x23d)](_0xba810b));}['_removeDependencyRTreeCache'](_0x1d9427){const _0x8f52f7=_0x57bb0e;if(_0x1d9427==null)return;const _0x42f6dd=this[_0x8f52f7(0x27b)][_0x8f52f7(0x1df)](_0x1d9427);if(_0x42f6dd){const _0x338324=[];for(const [_0x3e1000,_0x26dac1]of _0x42f6dd)for(const [_0x4fdb7a,_0x389bcb]of _0x26dac1)_0x338324[_0x8f52f7(0x218)]({'unitId':_0x3e1000,'sheetId':_0x4fdb7a,'range':_0x389bcb,'id':_0x1d9427});this[_0x8f52f7(0x202)][_0x8f52f7(0x1dc)](_0x338324);}}[_0x57bb0e(0x249)](_0xa6cd6f,_0x20867e){const _0x13254a=_0x57bb0e,_0xfffe35=this[_0x13254a(0x24a)][_0x13254a(0x1df)](_0xa6cd6f);if(_0xfffe35){const _0x457320=_0xfffe35[_0x13254a(0x1df)](_0x20867e);if(_0x457320){for(const _0x1ed5f7 of _0x457320)this[_0x13254a(0x22e)](_0x1ed5f7),this[_0x13254a(0x209)](_0x1ed5f7);_0x457320[_0x13254a(0x20c)]();}}}[_0x57bb0e(0x219)](){const _0x3475a9=_0x57bb0e;this[_0x3475a9(0x202)][_0x3475a9(0x219)]();}[_0x57bb0e(0x26b)](){const _0x5190b1=_0x57bb0e;this[_0x5190b1(0x202)]['closeKdTree']();}[_0x57bb0e(0x209)](_0x2d6e57){const _0x542d9e=_0x57bb0e;_0x2d6e57!=null&&this[_0x542d9e(0x27b)][_0x542d9e(0x23d)](_0x2d6e57);}[_0x57bb0e(0x289)](_0x58f45f){const _0x18f7a2=_0x57bb0e;var _0x27553c,_0x173ce4;const _0x13c49c=_0x58f45f[_0x18f7a2(0x220)];let _0xcfecbe=this[_0x18f7a2(0x27b)]['get'](_0x58f45f['treeId']);for(let _0x25e67e=0x0;_0x25e67e<_0x13c49c[_0x18f7a2(0x22a)];_0x25e67e++){const _0x31fc99=_0x13c49c[_0x25e67e];let {unitId:_0x57ed33,sheetId:_0x1e6400,range:_0x43a999}=_0x31fc99;_0xcfecbe||(_0xcfecbe=new Map(),this[_0x18f7a2(0x27b)]['set'](_0x58f45f['treeId'],_0xcfecbe)),_0xcfecbe[_0x18f7a2(0x283)](_0x57ed33)||_0xcfecbe[_0x18f7a2(0x25a)](_0x57ed33,new Map());const _0x482202=(_0x27553c=_0xcfecbe==null?void 0x0:_0xcfecbe[_0x18f7a2(0x1df)](_0x57ed33))==null?void 0x0:_0x27553c[_0x18f7a2(0x1df)](_0x1e6400);_0x482202&&(_0x43a999={'startRow':Math['min'](_0x43a999[_0x18f7a2(0x1ed)],_0x482202['startRow']),'startColumn':Math['min'](_0x43a999['startColumn'],_0x482202[_0x18f7a2(0x275)]),'endRow':Math[_0x18f7a2(0x205)](_0x43a999[_0x18f7a2(0x24f)],_0x482202[_0x18f7a2(0x24f)]),'endColumn':Math[_0x18f7a2(0x205)](_0x43a999[_0x18f7a2(0x298)],_0x482202[_0x18f7a2(0x298)])}),(_0x173ce4=_0xcfecbe[_0x18f7a2(0x1df)](_0x57ed33))==null||_0x173ce4[_0x18f7a2(0x25a)](_0x1e6400,_0x43a999);}}}var Ne=Object[_0x57bb0e(0x26a)],Xe=(_0x2d7d3b,_0x3b4300,_0x136698,_0x219f0d)=>{const _0x57e12c=_0x57bb0e;for(var _0x22b14b=_0x219f0d>0x1?void 0x0:_0x219f0d?Ne(_0x3b4300,_0x136698):_0x3b4300,_0x2e7ebd=_0x2d7d3b[_0x57e12c(0x22a)]-0x1,_0x68dd4c;_0x2e7ebd>=0x0;_0x2e7ebd--)(_0x68dd4c=_0x2d7d3b[_0x2e7ebd])&&(_0x22b14b=_0x68dd4c(_0x22b14b)||_0x22b14b);return _0x22b14b;};const Ae=Number[_0x57bb0e(0x2b0)](0x694f7d1b);let z=class extends _0xc9a00f{[_0x57bb0e(0x22b)](){const _0x3f87d6=_0x57bb0e;var _0x156f7a,_0x2c5e43;this['_initLicenseValid']()?(this[_0x3f87d6(0x260)][_0x3f87d6(0x223)]([_0x5052cf,{'useClass':Me}]),(_0x156f7a=this[_0x3f87d6(0x240)])!=null&&_0x156f7a['notExecuteFormula']||[[_0xf1158c,{'useClass':Oe}],[_0x20fe18,{'useClass':Ee}],[_0x48d4a9,{'useClass':Re}]]['forEach'](_0x195b2c=>this[_0x3f87d6(0x260)][_0x3f87d6(0x223)](_0x195b2c))):(this['_injector'][_0x3f87d6(0x223)]([_0x5052cf,{'useClass':_0x5052cf}]),(_0x2c5e43=this[_0x3f87d6(0x240)])!=null&&_0x2c5e43[_0x3f87d6(0x244)]||[[_0xf1158c,{'useClass':_0x3358ca}],[_0x20fe18,{'useClass':_0x4bd069}],[_0x48d4a9,{'useClass':_0x1ebea5}]][_0x3f87d6(0x225)](_0x4b84ce=>this['_injector'][_0x3f87d6(0x223)](_0x4b84ce)));}[_0x57bb0e(0x27a)](){const _0x347aeb=_0x57bb0e;var _0xe516e9;const _0x43efb9=(_0xe516e9=this['_configService'][_0x347aeb(0x268)](_0x5de5b6))!=null?_0xe516e9:{},{ls:_0x17ff72,pbk:_0x2489f8}=_0x43efb9;if(!_0x17ff72||!_0x2489f8)return!0x1;const _0x579882=_0x383294(Se,ve),_0x245aef=new Function(_0x347aeb(0x257)+_0x579882)()(_0x17ff72,_0x2489f8),_0x41161e=_0x245aef[_0x347aeb(0x1d5)];return _0x245aef[_0x347aeb(0x22c)]&&_0x5d3406(_0x41161e,'sf',Ae)?_0x572917(_0x41161e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};z=Xe([_0x8879b7(_0x5e923a)],z);export{Me as LexerTreeProBuilder,z as UniverProFormulaEnginePlugin};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function _0x287f(_0x298706,_0x424ac8){_0x298706=_0x298706-0x1c1;var _0x3d6612=_0x3d66();var _0x287f96=_0x3d6612[_0x298706];return _0x287f96;}(function(_0x8b8c23,_0x591eb5){var _0x534054=_0x287f,_0x11510a=_0x8b8c23();while(!![]){try{var _0x389f3e=parseInt(_0x534054(0x1c2))/0x1*(parseInt(_0x534054(0x1c9))/0x2)+parseInt(_0x534054(0x1c4))/0x3+-parseInt(_0x534054(0x1ca))/0x4+parseInt(_0x534054(0x1c7))/0x5+-parseInt(_0x534054(0x1c1))/0x6+parseInt(_0x534054(0x1c5))/0x7*(parseInt(_0x534054(0x1c3))/0x8)+-parseInt(_0x534054(0x1c8))/0x9*(parseInt(_0x534054(0x1c6))/0xa);if(_0x389f3e===_0x591eb5)break;else _0x11510a['push'](_0x11510a['shift']());}catch(_0x4b4ef6){_0x11510a['push'](_0x11510a['shift']());}}}(_0x3d66,0x2e406));export*from'@univerjs/engine-formula/facade';function _0x3d66(){var _0x326c7d=['3stcHSo','328FmgAVL','899838kstspm','44751xcyKik','2160miwbiQ','762905sOmmhm','22617DBvPCN','218162UhwvqI','918900jGCQXI','479424VDXTLg'];_0x3d66=function(){return _0x326c7d;};return _0x3d66();}
|