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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x118058=_0x4efa;function _0x4efa(_0x3c307a,_0x3d27d3){const _0x2eee1e=_0x2eee();return _0x4efa=function(_0x4efa29,_0xaaaeff){_0x4efa29=_0x4efa29-0x6f;let _0x493080=_0x2eee1e[_0x4efa29];return _0x493080;},_0x4efa(_0x3c307a,_0x3d27d3);}(function(_0x47031f,_0x6ec4ad){const _0x5c3992=_0x4efa,_0x327b5c=_0x47031f();while(!![]){try{const _0x2bf3c9=parseInt(_0x5c3992(0x7e))/0x1+parseInt(_0x5c3992(0x75))/0x2*(-parseInt(_0x5c3992(0x7d))/0x3)+parseInt(_0x5c3992(0x7f))/0x4+parseInt(_0x5c3992(0x7a))/0x5*(-parseInt(_0x5c3992(0x7c))/0x6)+parseInt(_0x5c3992(0x6f))/0x7*(parseInt(_0x5c3992(0x7b))/0x8)+parseInt(_0x5c3992(0x76))/0x9+-parseInt(_0x5c3992(0x77))/0xa;if(_0x2bf3c9===_0x6ec4ad)break;else _0x327b5c['push'](_0x327b5c['shift']());}catch(_0x1ff56d){_0x327b5c['push'](_0x327b5c['shift']());}}}(_0x2eee,0xb683d));function _0x2eee(){const _0x5adc98=['4301640YBfcZa','7alXfZj','hasOwnProperty','Module','forEach','keys','prototype','2fPJSDr','785799oiOOja','9969340WasBzQ','default','defineProperty','458540cfeuGh','881224PumVIM','12azeRlu','1429053zzwXuw','1131408uaohhr'];_0x2eee=function(){return _0x5adc98;};return _0x2eee();}Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x118058(0x71)});const t=require('@univerjs/engine-formula/facade');Object[_0x118058(0x73)](t)[_0x118058(0x72)](_0x46a48e=>{const _0x23609c=_0x118058;_0x46a48e!==_0x23609c(0x78)&&!Object[_0x23609c(0x74)][_0x23609c(0x70)]['call'](exports,_0x46a48e)&&Object[_0x23609c(0x79)](exports,_0x46a48e,{'enumerable':!0x0,'get':()=>t[_0x46a48e]});});
1
+ 'use strict';const _0xded7c1=_0x1b2e;function _0x1b2e(_0x3a343a,_0x14b07a){const _0x5c4ba3=_0x5c4b();return _0x1b2e=function(_0x1b2e62,_0x485b61){_0x1b2e62=_0x1b2e62-0x1ae;let _0x5431b3=_0x5c4ba3[_0x1b2e62];return _0x5431b3;},_0x1b2e(_0x3a343a,_0x14b07a);}(function(_0x38fb6f,_0x1a654e){const _0x3240aa=_0x1b2e,_0x112c67=_0x38fb6f();while(!![]){try{const _0x501ac9=parseInt(_0x3240aa(0x1b5))/0x1*(parseInt(_0x3240aa(0x1be))/0x2)+parseInt(_0x3240aa(0x1b3))/0x3*(parseInt(_0x3240aa(0x1b9))/0x4)+parseInt(_0x3240aa(0x1b8))/0x5*(parseInt(_0x3240aa(0x1bf))/0x6)+parseInt(_0x3240aa(0x1bc))/0x7+parseInt(_0x3240aa(0x1b7))/0x8*(parseInt(_0x3240aa(0x1ae))/0x9)+parseInt(_0x3240aa(0x1bd))/0xa*(parseInt(_0x3240aa(0x1b2))/0xb)+parseInt(_0x3240aa(0x1b0))/0xc*(-parseInt(_0x3240aa(0x1b1))/0xd);if(_0x501ac9===_0x1a654e)break;else _0x112c67['push'](_0x112c67['shift']());}catch(_0x2daf8f){_0x112c67['push'](_0x112c67['shift']());}}}(_0x5c4b,0x55f93));Object[_0xded7c1(0x1ba)](exports,Symbol[_0xded7c1(0x1af)],{'value':'Module'});function _0x5c4b(){const _0x27f7dd=['167496yFfTHl','5220190QLKCvT','1042364KtkNXC','1434ZzcXpC','5193mAbmPL','toStringTag','26735028oRjBLd','13rfIqKY','11beuozW','121587QZCGom','keys','1oHSKYo','default','3160yGZbjB','14165kjNASd','60PyncrJ','defineProperty','prototype'];_0x5c4b=function(){return _0x27f7dd;};return _0x5c4b();}const t=require('@univerjs/engine-formula/facade');Object[_0xded7c1(0x1b4)](t)['forEach'](_0x47ce50=>{const _0x455023=_0xded7c1;_0x47ce50!==_0x455023(0x1b6)&&!Object[_0x455023(0x1bb)]['hasOwnProperty']['call'](exports,_0x47ce50)&&Object[_0x455023(0x1ba)](exports,_0x47ce50,{'enumerable':!0x0,'get':()=>t[_0x47ce50]});});
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x2c560b=_0x4a1a;(function(_0x23773e,_0x443fd6){const _0x3ddb25=_0x4a1a,_0x13aa4b=_0x23773e();while(!![]){try{const _0x564cb3=parseInt(_0x3ddb25(0xd6))/0x1*(parseInt(_0x3ddb25(0xf3))/0x2)+parseInt(_0x3ddb25(0x142))/0x3*(-parseInt(_0x3ddb25(0x14c))/0x4)+parseInt(_0x3ddb25(0x12c))/0x5+-parseInt(_0x3ddb25(0x105))/0x6*(parseInt(_0x3ddb25(0xeb))/0x7)+-parseInt(_0x3ddb25(0x120))/0x8*(parseInt(_0x3ddb25(0x110))/0x9)+parseInt(_0x3ddb25(0x109))/0xa*(parseInt(_0x3ddb25(0xd0))/0xb)+parseInt(_0x3ddb25(0x125))/0xc*(parseInt(_0x3ddb25(0xf8))/0xd);if(_0x564cb3===_0x443fd6)break;else _0x13aa4b['push'](_0x13aa4b['shift']());}catch(_0x2f6dad){_0x13aa4b['push'](_0x13aa4b['shift']());}}}(_0x52ea,0xb5525));var I=Object[_0x2c560b(0x165)],w=(_0x5ff29a,_0x21f425,_0x18fe23)=>_0x21f425 in _0x5ff29a?I(_0x5ff29a,_0x21f425,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x18fe23}):_0x5ff29a[_0x21f425]=_0x18fe23,v=(_0x18f1e4,_0x37ddc9,_0x3f9ee0)=>w(_0x18f1e4,typeof _0x37ddc9!='symbol'?_0x37ddc9+'':_0x37ddc9,_0x3f9ee0);Object[_0x2c560b(0x165)](exports,Symbol[_0x2c560b(0x12e)],{'value':_0x2c560b(0xe9)});const C=require('@univerjs-pro/license'),T=require('@univerjs/core'),u=require('@univerjs/engine-formula'),z={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},U='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';function _0x4a1a(_0x2a3dd1,_0x35a1e3){const _0x52eaf0=_0x52ea();return _0x4a1a=function(_0x4a1a97,_0x2020c1){_0x4a1a97=_0x4a1a97-0xcd;let _0x593096=_0x52eaf0[_0x4a1a97];return _0x593096;},_0x4a1a(_0x2a3dd1,_0x35a1e3);}class K extends u['FormulaDependencyGenerator']{constructor(){super(...arguments),v(this,'_dependencyTreeCache',new Map());}[_0x2c560b(0xd3)](){const _0x37274e=_0x2c560b;super[_0x37274e(0xd3)](),this['_dependencyTreeCache']['clear']();}async[_0x2c560b(0xee)](){const _0x983921=_0x2c560b;this['_updateRangeFlatten']();const _0x3de132=this[_0x983921(0x117)]['getFormulaData'](),_0x468d5d=this[_0x983921(0x11c)][_0x983921(0xf2)](),_0x272890=this['_currentConfigService'][_0x983921(0x153)]();_0x272890!=null&&Object[_0x983921(0xf7)](_0x272890)[_0x983921(0x101)](_0x19439e=>{const _0x3cb056=_0x983921;_0x19439e!=null&&Object[_0x3cb056(0xf7)](_0x272890[_0x19439e])[_0x3cb056(0x101)](_0x1b096d=>{const _0x5d54d9=_0x3cb056;_0x1b096d!=null&&(this[_0x5d54d9(0xfd)][_0x5d54d9(0x170)](_0x19439e,_0x1b096d),this[_0x5d54d9(0xfd)][_0x5d54d9(0x15d)](_0x19439e,_0x1b096d),this[_0x5d54d9(0xfd)]['clearFormulaDependency'](_0x19439e,_0x1b096d));});});const _0x3daecb=this['_currentConfigService']['getUnitData']();await this['_generateTreeList'](_0x3de132,_0x468d5d,_0x3daecb),this['_dependencyManagerService'][_0x983921(0xd7)]();const _0x4b308e=this[_0x983921(0x14b)](),_0x4506d6=this[_0x983921(0x163)](_0x4b308e);return this[_0x983921(0x16d)](_0x4506d6)&&this[_0x983921(0xe8)][_0x983921(0x15e)](),this[_0x983921(0x148)][_0x983921(0x102)](),this['_dependencyRTreeCacheForAddressFunction'][_0x983921(0x102)](),this['_dependencyManagerService']['closeKdTree'](),Promise['resolve'](_0x4506d6);}[_0x2c560b(0x161)](_0x46c023,_0x353889){const _0x5391a7=_0x2c560b,_0x26225a=[_0x46c023];for(;_0x26225a[_0x5391a7(0xf0)]>0x0;){const _0x2eb223=_0x26225a[_0x26225a[_0x5391a7(0xf0)]-0x1];if((_0x353889[_0x5391a7(0xef)](_0x2eb223)||0x0)===0x0){_0x353889[_0x5391a7(0x12d)](_0x2eb223,0x1);const _0x12d723=this[_0x5391a7(0x148)][_0x5391a7(0xef)](_0x2eb223);if(_0x12d723==null){_0x353889[_0x5391a7(0x12d)](_0x2eb223,0x2),_0x26225a[_0x5391a7(0x13d)]();continue;}const _0x464f26=this['_dependencyManagerService'][_0x5391a7(0x178)](_0x12d723[_0x5391a7(0x183)]());for(const _0xcd9db5 of _0x464f26){const _0x2932a5=_0x353889[_0x5391a7(0xef)](_0xcd9db5)||0x0;if(_0x2932a5===0x1)return!0x0;_0x2932a5===0x0&&_0x26225a['push'](_0xcd9db5);}}else _0x353889[_0x5391a7(0x12d)](_0x2eb223,0x2),_0x26225a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x63683f){const _0x18fc6f=_0x2c560b,_0x497a46=new Map();for(const _0x112522 of _0x63683f)if(!_0x497a46[_0x18fc6f(0x145)](_0x112522['treeId'])&&this[_0x18fc6f(0x161)](_0x112522[_0x18fc6f(0x159)],_0x497a46))return!0x0;return _0x497a46[_0x18fc6f(0x102)](),!0x1;}[_0x2c560b(0xe3)](_0x33b4a1,_0x1f6bbf,_0x5365fc){const _0x472260=_0x2c560b,{unitId:_0x4c3ee1,subUnitId:_0x2aff7b,dependencyRanges:_0x1c0b6d,getDirtyData:_0x15a17b}=_0x5365fc,_0x27c06b=_0x1f6bbf||u[_0x472260(0xf4)](this[_0x472260(0xfd)]),_0x8ac761=new u['FormulaDependencyTree'](_0x27c06b);_0x8ac761[_0x472260(0xe5)]=_0x4c3ee1,_0x8ac761[_0x472260(0x118)]=_0x2aff7b,_0x8ac761[_0x472260(0x14d)]=_0x1c0b6d,_0x8ac761[_0x472260(0x13c)]=_0x15a17b;const _0x4487b3=_0x15a17b(this[_0x472260(0x117)][_0x472260(0x13c)](),this[_0x472260(0xe8)][_0x472260(0x137)]()),_0xa0df2a=this['_convertDirtyRangesToUnitRange'](_0x4487b3[_0x472260(0x152)]);return _0x8ac761[_0x472260(0x172)]=_0xa0df2a,_0x8ac761[_0x472260(0x16e)]=_0x33b4a1,_0x8ac761[_0x472260(0xf5)]=u[_0x472260(0x136)][_0x472260(0xff)],this[_0x472260(0xfd)][_0x472260(0x17d)](_0x4c3ee1,_0x2aff7b,_0x33b4a1,_0x8ac761),this['_dependencyTreeCache'][_0x472260(0x12d)](_0x8ac761[_0x472260(0x159)],_0x8ac761),this[_0x472260(0xfd)]['getFeatureFormulaDependency'](_0x5365fc[_0x472260(0xe5)],_0x5365fc[_0x472260(0x118)],_0x33b4a1)&&(_0x8ac761[_0x472260(0xec)]=!0x0),_0x8ac761;}[_0x2c560b(0xfc)](_0x2e20fa,_0x11be0e,_0x2d7e3b){const _0x3d027d=_0x2c560b;var _0x58f665;for(const _0x3e7cc6 of _0x11be0e){const _0x125103=_0x2e20fa[_0x3e7cc6];if(_0x125103==null)continue;const _0x5385aa=Object[_0x3d027d(0xf7)](_0x125103);for(const _0x4cd355 of _0x5385aa){const _0x1adba0=_0x125103[_0x4cd355];if(_0x1adba0==null)continue;const _0x43ae9c=Object[_0x3d027d(0xf7)](_0x1adba0);for(const _0x289801 of _0x43ae9c){const _0x347ed5=this[_0x3d027d(0xfd)]['hasOtherFormulaDataMainData'](_0x289801),_0x102df9=_0x1adba0[_0x289801],{f:_0x2f66b2,ranges:_0x4cf58d}=_0x102df9;let _0x4cdcca=!0x1;_0x347ed5&&(_0x4cdcca=!0x0);const {firstRow:_0x215aad,firstColumn:_0x72511e}=this[_0x3d027d(0xde)](_0x4cf58d),_0x304c4b=this[_0x3d027d(0xfd)][_0x3d027d(0x171)](_0x3e7cc6,_0x4cd355,_0x289801),_0x1421f6=(_0x58f665=_0x304c4b==null?void 0x0:_0x304c4b[_0x3d027d(0x177)](0x0,0x0))!=null?_0x58f665:u[_0x3d027d(0xf4)](this[_0x3d027d(0xfd)]),_0x4153b7=new u['FormulaDependencyTree'](_0x1421f6);for(let _0x305f6e=0x0;_0x305f6e<_0x4cf58d['length'];_0x305f6e++){const _0x12c0b3=_0x4cf58d[_0x305f6e],{startRow:_0x407b92,startColumn:_0x6efc95,endRow:_0xce1f57,endColumn:_0x39cb27}=_0x12c0b3;for(let _0x1d1563=_0x407b92;_0x1d1563<=_0xce1f57;_0x1d1563++)for(let _0x5e2bd0=_0x6efc95;_0x5e2bd0<=_0x39cb27;_0x5e2bd0++){const _0x58bdf3=_0x5e2bd0-_0x72511e,_0x2a9850=_0x1d1563-_0x215aad;if(_0x58bdf3===0x0&&_0x2a9850===0x0){_0x4153b7[_0x3d027d(0x121)]=_0x2f66b2,_0x4153b7[_0x3d027d(0xe5)]=_0x3e7cc6,_0x4153b7[_0x3d027d(0x118)]=_0x4cd355,_0x4153b7[_0x3d027d(0x17c)]=_0x289801,_0x4153b7[_0x3d027d(0xf5)]=u[_0x3d027d(0x136)][_0x3d027d(0x173)],_0x4153b7[_0x3d027d(0xec)]=_0x4cdcca,_0x2d7e3b[_0x3d027d(0x11a)](_0x4153b7),this[_0x3d027d(0x148)][_0x3d027d(0x12d)](_0x4153b7['treeId'],_0x4153b7),this[_0x3d027d(0xfd)][_0x3d027d(0xe6)](_0x3e7cc6,_0x4cd355,_0x289801,_0x4153b7),this['_dependencyManagerService'][_0x3d027d(0x141)](_0x4153b7);continue;}const _0x2002eb=new u[(_0x3d027d(0x12b))]();_0x2002eb[_0x3d027d(0x159)]=(_0x304c4b==null?void 0x0:_0x304c4b['getValue'](_0x58bdf3,_0x2a9850))||u[_0x3d027d(0xf4)](this[_0x3d027d(0xfd)]),_0x2002eb[_0x3d027d(0x138)]=_0x4153b7,_0x2002eb[_0x3d027d(0x16b)]=_0x58bdf3,_0x2002eb[_0x3d027d(0xcf)]=_0x2a9850,_0x2002eb[_0x3d027d(0xec)]=_0x4cdcca,this['_dependencyManagerService'][_0x3d027d(0xe6)](_0x3e7cc6,_0x4cd355,_0x289801,_0x2002eb),this[_0x3d027d(0xfd)]['addFormulaDependencyByDefinedName'](_0x2002eb),_0x2d7e3b[_0x3d027d(0x11a)](_0x2002eb),this[_0x3d027d(0x148)][_0x3d027d(0x12d)](_0x2002eb[_0x3d027d(0x159)],_0x2002eb);}}this['_dependencyManagerService'][_0x3d027d(0xdf)](_0x289801);}}}}[_0x2c560b(0x16c)](_0x21ec18,_0x828702,_0x1dc935,_0x1c34a0){const _0x4de2da=_0x2c560b;for(const _0x475c62 of _0x21ec18){const _0x1a3751=_0x828702[_0x475c62];if(_0x1a3751==null)continue;const _0x1759a=Object[_0x4de2da(0xf7)](_0x1a3751);for(const _0x427de5 of _0x1759a){const _0x4956db=new T[(_0x4de2da(0x12a))](_0x1a3751[_0x427de5]||{}),_0x3150da=new Map();_0x4956db[_0x4de2da(0x135)]((_0x1b12e5,_0x32f226,_0x2215f5)=>{const _0x39b418=_0x4de2da;if(_0x2215f5==null)return!0x0;const {x:_0x511c24=0x0,y:_0x1ad1e8=0x0,si:_0x5b9b92}=_0x2215f5;if(!(_0x511c24===0x0&&_0x1ad1e8===0x0&&_0x5b9b92!=null))return!0x0;const _0x33e09f=this['_createFDtree'](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226,_0x1dc935,_0x2215f5),_0x4014fd=this['_dependencyManagerService'][_0x39b418(0x16a)](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226);_0x4014fd!=null?_0x33e09f[_0x39b418(0x159)]=_0x4014fd:(this['_dependencyManagerService'][_0x39b418(0x14f)](_0x475c62,_0x427de5,_0x1b12e5,_0x32f226,_0x33e09f),this[_0x39b418(0xfd)][_0x39b418(0x141)](_0x33e09f)),_0x3150da['set'](_0x5b9b92,_0x33e09f),_0x1c34a0[_0x39b418(0x11a)](_0x33e09f),this[_0x39b418(0x148)]['set'](_0x33e09f['treeId'],_0x33e09f);}),_0x4956db[_0x4de2da(0x135)]((_0x52ed5a,_0x51cfdf,_0x4ce172)=>{const _0x12cbe3=_0x4de2da;if(_0x4ce172==null)return!0x0;const {x:_0x174039=0x0,y:_0x9e6de6=0x0,si:_0x262207}=_0x4ce172;if(_0x174039===0x0&&_0x9e6de6===0x0&&_0x262207!=null)return!0x0;let _0x1af2d4;if(_0x262207&&_0x3150da[_0x12cbe3(0x145)](_0x262207)){const _0xffc820=_0x3150da[_0x12cbe3(0xef)](_0x262207);_0x1af2d4=this['_createVirtualFDtree'](_0xffc820,_0x4ce172);}else _0x1af2d4=this[_0x12cbe3(0x15c)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf,_0x1dc935,_0x4ce172);const _0xa9225d=this['_dependencyManagerService'][_0x12cbe3(0x16a)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf);_0xa9225d!=null?_0x1af2d4[_0x12cbe3(0x159)]=_0xa9225d:(this['_dependencyManagerService'][_0x12cbe3(0x14f)](_0x475c62,_0x427de5,_0x52ed5a,_0x51cfdf,_0x1af2d4),this[_0x12cbe3(0xfd)][_0x12cbe3(0x141)](_0x1af2d4)),_0x1c34a0['push'](_0x1af2d4),this[_0x12cbe3(0x148)][_0x12cbe3(0x12d)](_0x1af2d4[_0x12cbe3(0x159)],_0x1af2d4);}),_0x3150da['clear']();}}}[_0x2c560b(0x15c)](_0x4ba415,_0x28e661,_0x402c0c,_0x5d0104,_0x53a51b,_0x423ad0){const _0x139500=_0x2c560b,{f:_0x59a15d,x:_0x213eaf=0x0,y:_0x4175be=0x0}=_0x423ad0,_0x377945=new u['FormulaDependencyTree'](u['generateRandomDependencyTreeId'](this[_0x139500(0xfd)])),_0x4d96aa=_0x53a51b[_0x4ba415][_0x28e661];return _0x377945['formula']=_0x59a15d,_0x377945[_0x139500(0xe5)]=_0x4ba415,_0x377945[_0x139500(0x118)]=_0x28e661,_0x377945[_0x139500(0xfb)]=_0x402c0c,_0x377945[_0x139500(0xf9)]=_0x5d0104,_0x377945[_0x139500(0x143)]=_0x4d96aa[_0x139500(0x143)],_0x377945['columnCount']=_0x4d96aa[_0x139500(0xf1)],_0x377945;}['_getUpdateTreeListAndMakeDependency'](){const _0x158467=_0x2c560b,_0x3ee027=[],_0x38ce34=new Set(),_0x26b585=this[_0x158467(0x117)][_0x158467(0x180)](),_0x23b5b2=this[_0x158467(0x117)][_0x158467(0x15a)](),_0x5b8f6d=this['_dependencyManagerService']['searchDependency'](_0x23b5b2),_0x6659c9=this[_0x158467(0x127)][_0x158467(0x169)](_0x23b5b2);for(const _0x24fc15 of _0x6659c9)_0x5b8f6d[_0x158467(0x174)](_0x24fc15);for(const [_0x5de9ae,_0x3ddc5b]of this[_0x158467(0x148)])(_0x26b585||_0x3ddc5b[_0x158467(0xce)]||_0x3ddc5b[_0x158467(0x113)](this['_currentConfigService']['getDirtyNameMap']())||_0x5b8f6d[_0x158467(0x145)](_0x5de9ae)&&!_0x3ddc5b['isExcludeRange'](this['_currentConfigService'][_0x158467(0xea)]()))&&!_0x38ce34[_0x158467(0x145)](_0x5de9ae)&&(_0x3ee027[_0x158467(0x11a)](_0x3ddc5b),_0x38ce34['add'](_0x5de9ae));for(const [_0x16547e,_0x701530]of this['_dependencyTreeCache'])_0x701530['isVirtual']||(_0x701530[_0x158467(0x14d)][_0x158467(0xf0)]=0x0);return _0x3ee027;}[_0x2c560b(0x104)](_0x41ade5){const _0x309e92=_0x2c560b;return this['_dependencyTreeCache'][_0x309e92(0xef)](_0x41ade5);}[_0x2c560b(0x17f)](_0x559c71){const _0x4ce753=_0x2c560b;return u['generateAstNode'](_0x559c71[_0x4ce753(0xe5)],_0x559c71['formula'],this[_0x4ce753(0xcd)],this[_0x4ce753(0x17e)],this[_0x4ce753(0x117)]);}*[_0x2c560b(0xe7)](_0x117f45,_0x5ce12f){const _0x5b6f12=_0x2c560b,_0x5af8db=_0x117f45,_0x87c3d6=new Set();for(;_0x5af8db[_0x5b6f12(0xf0)]>0x0;){const _0x59e59c=_0x5af8db['pop']();if(_0x87c3d6[_0x5b6f12(0x102)](),_0x59e59c===void 0x0||_0x59e59c[_0x5b6f12(0xd2)]())continue;if(_0x59e59c['isAdded']()){yield _0x59e59c,_0x59e59c[_0x5b6f12(0x122)](),_0x5ce12f['add'](_0x59e59c[_0x5b6f12(0x159)]);continue;}const _0x609ee7=this[_0x5b6f12(0xfd)][_0x5b6f12(0x178)](_0x59e59c[_0x5b6f12(0x183)](),_0x5ce12f),_0x527c34=this[_0x5b6f12(0x127)][_0x5b6f12(0x169)](_0x59e59c[_0x5b6f12(0x183)](),_0x5ce12f);for(const _0x53d9b7 of _0x527c34)_0x609ee7[_0x5b6f12(0x174)](_0x53d9b7);for(const _0x5bf540 of _0x609ee7){const _0x55fdf5=this['_dependencyTreeCache']['get'](_0x5bf540);if(!_0x55fdf5)throw new Error(_0x5b6f12(0xdd));_0x55fdf5[_0x5b6f12(0x154)]()||_0x59e59c[_0x5b6f12(0xd2)]()||_0x87c3d6[_0x5b6f12(0x174)](_0x55fdf5);}if(_0x609ee7[_0x5b6f12(0x102)](),_0x87c3d6[_0x5b6f12(0x14e)]===0x0)yield _0x59e59c,_0x59e59c[_0x5b6f12(0x122)](),_0x5ce12f[_0x5b6f12(0x174)](_0x59e59c[_0x5b6f12(0x159)]);else{_0x59e59c[_0x5b6f12(0xdc)](),_0x5af8db[_0x5b6f12(0x11a)](_0x59e59c);for(const _0x533501 of _0x87c3d6)_0x5af8db[_0x5b6f12(0x11a)](_0x533501);}}_0x5af8db[_0x5b6f12(0xf0)]=0x0,_0x87c3d6[_0x5b6f12(0x102)]();}['_calculateRunList'](_0x538fa4){const _0x17799d=_0x2c560b,_0x3f65a2=[],_0x50bc16=new Set();for(const _0x5a8f42 of this[_0x17799d(0xe7)](_0x538fa4,_0x50bc16))_0x3f65a2[_0x17799d(0x11a)](_0x5a8f42);return _0x3f65a2;}}class k extends u[_0x2c560b(0xf6)]{async['_apply'](_0xdee140=!0x1){const _0x132369=_0x2c560b;_0xdee140?this['_runtimeService'][_0x132369(0x123)](u[_0x132369(0x156)]['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService']['setFormulaExecuteStage'](u[_0x132369(0x156)][_0x132369(0x160)]),this[_0x132369(0x103)]['next'](this[_0x132369(0xe8)][_0x132369(0x15b)]());const _0x22ba83=await this[_0x132369(0x112)]['generate'](),_0x14bd28=this[_0x132369(0xfa)];_0xdee140?(this[_0x132369(0xe8)][_0x132369(0x123)](u['FormulaExecuteStageType'][_0x132369(0x131)]),this[_0x132369(0xe8)][_0x132369(0xfe)](_0x22ba83[_0x132369(0xf0)])):(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)]['START_CALCULATION']),this['_runtimeService'][_0x132369(0x147)](_0x22ba83[_0x132369(0xf0)])),this[_0x132369(0x103)][_0x132369(0x181)](this['_runtimeService'][_0x132369(0x15b)]());let _0x180386=[];const _0x45aaa8=this[_0x132369(0x11b)]['getConfig'](u[_0x132369(0x16f)]),_0xe02fe2=(_0x45aaa8==null?void 0x0:_0x45aaa8[_0x132369(0xe1)])||u[_0x132369(0x108)];let _0xc369b=0x0;const _0xb2afb2=_0x22ba83[_0x132369(0xf0)];for(;_0x22ba83['length']>0x0;){const _0x4d9b8f=_0x22ba83[_0x132369(0x13d)](),_0x2af9b1={'node':u[_0x132369(0x106)](_0x4d9b8f[_0x132369(0xe5)],_0x4d9b8f[_0x132369(0x121)],this[_0x132369(0xcd)],this['_astTreeBuilder'],this[_0x132369(0x117)]),'refOffsetX':_0x4d9b8f[_0x132369(0x16b)],'refOffsetY':_0x4d9b8f[_0x132369(0xcf)]},_0x556337=_0x4d9b8f[_0x132369(0x13c)];if(_0xc369b%_0xe02fe2===0x0&&(await new Promise(_0x43d86a=>{const _0x11c34b=_0x132369,_0x2df04c=T[_0x11c34b(0x12f)](_0x43d86a);_0x180386['push'](_0x2df04c);}),_0xdee140?(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)][_0x132369(0x13a)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0xc369b+0x1)):(this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)][_0x132369(0x14a)]),this['_runtimeService'][_0x132369(0xda)](_0xc369b+0x1)),this[_0x132369(0x103)]['next'](this[_0x132369(0xe8)]['getRuntimeState']()),this[_0x132369(0xe8)][_0x132369(0x107)]()||_0x2af9b1==null&&_0x556337==null)){this[_0x132369(0xe8)][_0x132369(0x123)](u[_0x132369(0x156)]['IDLE']),this[_0x132369(0xe8)][_0x132369(0x15f)](),this[_0x132369(0x10e)][_0x132369(0x181)](this['_runtimeService'][_0x132369(0x137)]());return;}this[_0x132369(0xe8)][_0x132369(0x10f)](_0x4d9b8f[_0x132369(0xfb)],_0x4d9b8f['column'],_0x4d9b8f[_0x132369(0x143)],_0x4d9b8f[_0x132369(0xf1)],_0x4d9b8f[_0x132369(0x118)],_0x4d9b8f[_0x132369(0xe5)]);let _0x4cd913;if(_0x556337!=null&&_0x4d9b8f['featureId']!=null){const {runtimeCellData:_0xb2eb0d,dirtyRanges:_0xe87d}=_0x556337(this[_0x132369(0x117)][_0x132369(0x13c)](),this[_0x132369(0xe8)][_0x132369(0x137)]());this[_0x132369(0xe8)][_0x132369(0x129)](_0x4d9b8f[_0x132369(0x16e)],_0xb2eb0d),this[_0x132369(0xe8)][_0x132369(0x17a)](_0x4d9b8f[_0x132369(0x16e)],_0xe87d);}else _0x2af9b1!=null&&(_0x14bd28['checkAsyncNode'](_0x2af9b1[_0x132369(0x150)])?_0x4cd913=await _0x14bd28[_0x132369(0x162)](_0x2af9b1):_0x4cd913=_0x14bd28[_0x132369(0x130)](_0x2af9b1),_0x4d9b8f[_0x132369(0x17c)]!=null?this[_0x132369(0xe8)]['setRuntimeOtherData'](_0x4d9b8f[_0x132369(0x17c)],_0x4d9b8f['refOffsetX'],_0x4d9b8f[_0x132369(0xcf)],_0x4cd913):this['_runtimeService'][_0x132369(0x179)](_0x4cd913));_0xc369b++;}return _0x180386[_0x132369(0x101)](_0x644c88=>_0x644c88()),_0x180386=[],_0xb2afb2>0x0?this[_0x132369(0xe8)][_0x132369(0x132)]():_0xdee140||this[_0x132369(0xe8)][_0x132369(0x10c)](),this['_runtimeService'][_0x132369(0x137)]();}}class B extends u[_0x2c560b(0x140)]{constructor(){const _0x5e712f=_0x2c560b;super(...arguments),v(this,_0x5e712f(0x10d),new Map()),v(this,_0x5e712f(0xed),new T['RTree'](!0x0));}['reset'](){const _0x223be6=_0x2c560b;this['_otherFormulaData'][_0x223be6(0x102)](),this['_featureFormulaData'][_0x223be6(0x102)](),this[_0x223be6(0x13b)][_0x223be6(0x102)](),this['_dependencyRTreeCache'][_0x223be6(0x102)](),this[_0x223be6(0x10d)][_0x223be6(0x102)](),this[_0x223be6(0x133)](),this['_otherFormulaDataMainData']['clear']();}[_0x2c560b(0xe6)](_0xe349c4,_0x7eca63,_0x227b58,_0x9b7fa4){const _0x4ee0db=_0x2c560b;this[_0x4ee0db(0xe2)][_0x4ee0db(0x145)](_0xe349c4)||this['_otherFormulaData']['set'](_0xe349c4,new Map());const _0x1dfcb7=this[_0x4ee0db(0xe2)][_0x4ee0db(0xef)](_0xe349c4);_0x1dfcb7[_0x4ee0db(0x145)](_0x7eca63)||_0x1dfcb7['set'](_0x7eca63,new Map());const _0x1dba17=_0x1dfcb7[_0x4ee0db(0xef)](_0x7eca63);_0x1dba17[_0x4ee0db(0x145)](_0x227b58)||_0x1dba17[_0x4ee0db(0x12d)](_0x227b58,new T[(_0x4ee0db(0x12a))]()),_0x1dba17['get'](_0x227b58)[_0x4ee0db(0x114)](_0x9b7fa4[_0x4ee0db(0x16b)],_0x9b7fa4[_0x4ee0db(0xcf)],_0x9b7fa4[_0x4ee0db(0x159)]);}['removeOtherFormulaDependency'](_0x4542dd,_0x2b8d8f,_0x4a87e0){const _0x2cdaeb=_0x2c560b,_0x451b1c=this[_0x2cdaeb(0xe2)][_0x2cdaeb(0xef)](_0x4542dd);if(_0x451b1c&&_0x451b1c['has'](_0x2b8d8f)){const _0x50427d=_0x451b1c[_0x2cdaeb(0xef)](_0x2b8d8f);_0x4a87e0[_0x2cdaeb(0x101)](_0x1f7e83=>{const _0x51ac1d=_0x2cdaeb,_0x46368e=_0x50427d[_0x51ac1d(0xef)](_0x1f7e83);_0x46368e!=null&&(_0x46368e[_0x51ac1d(0x135)]((_0x210768,_0x3f1f65,_0x39ece8)=>{const _0x42de7d=_0x51ac1d;this['_removeDependencyRTreeCache'](_0x39ece8),this[_0x42de7d(0x151)](_0x39ece8);}),_0x50427d[_0x51ac1d(0x10a)](_0x1f7e83),this[_0x51ac1d(0x175)][_0x51ac1d(0x10a)](_0x1f7e83));}),_0x50427d[_0x2cdaeb(0x14e)]===0x0&&_0x451b1c[_0x2cdaeb(0x10a)](_0x2b8d8f),_0x451b1c[_0x2cdaeb(0x14e)]===0x0&&this['_otherFormulaData']['delete'](_0x4542dd);}}[_0x2c560b(0x170)](_0x5ee908,_0x505bf2){const _0x306256=_0x2c560b,_0x14db72=this[_0x306256(0xe2)][_0x306256(0xef)](_0x5ee908);if(_0x505bf2&&_0x14db72&&_0x14db72[_0x306256(0x145)](_0x505bf2)){const _0x1d6972=_0x14db72[_0x306256(0xef)](_0x505bf2);this[_0x306256(0x134)](_0x5ee908,_0x505bf2);for(const _0xdd81a2 of _0x1d6972[_0x306256(0xf7)]()){const _0x44f140=_0x1d6972[_0x306256(0xef)](_0xdd81a2);_0x44f140!=null&&(_0x44f140[_0x306256(0x135)]((_0x5d4bd0,_0x24b62e,_0x13929d)=>{const _0x511aa2=_0x306256;this[_0x511aa2(0x10d)]['get'](_0x13929d)&&this['_removeAllTreeMap'](_0x13929d);}),this['_otherFormulaDataMainData'][_0x306256(0x10a)](_0xdd81a2));}_0x1d6972[_0x306256(0x102)]();}else{if(_0x14db72){for(const _0x520547 of _0x14db72['keys']()){const _0x31dfd1=_0x14db72[_0x306256(0xef)](_0x520547);this[_0x306256(0x134)](_0x5ee908,_0x520547);for(const _0x1a7441 of _0x31dfd1[_0x306256(0xf7)]()){const _0x1d29d9=_0x31dfd1['get'](_0x1a7441);_0x1d29d9!=null&&(_0x1d29d9[_0x306256(0x135)]((_0x5b1304,_0x43098d,_0x444da9)=>{const _0x4db2ff=_0x306256;this[_0x4db2ff(0x10d)][_0x4db2ff(0xef)](_0x444da9)&&this[_0x4db2ff(0x151)](_0x444da9);}),this[_0x306256(0x175)][_0x306256(0x10a)](_0x1a7441));}}this[_0x306256(0xe2)]['delete'](_0x5ee908);}}}[_0x2c560b(0x17d)](_0x3f498f,_0x416bc5,_0x26e742,_0x417267){const _0x5d03f2=_0x2c560b;this[_0x5d03f2(0xd1)][_0x5d03f2(0x145)](_0x3f498f)||this[_0x5d03f2(0xd1)][_0x5d03f2(0x12d)](_0x3f498f,new Map());const _0x31f45e=this[_0x5d03f2(0xd1)][_0x5d03f2(0xef)](_0x3f498f);_0x31f45e['has'](_0x416bc5)||_0x31f45e[_0x5d03f2(0x12d)](_0x416bc5,new Map()),_0x31f45e[_0x5d03f2(0xef)](_0x416bc5)['set'](_0x26e742,_0x417267[_0x5d03f2(0x159)]);}[_0x2c560b(0x11f)](_0x24e1af,_0x5502d8,_0x59d2de){const _0x322bb4=_0x2c560b,_0x44a5ec=this[_0x322bb4(0xd1)][_0x322bb4(0xef)](_0x24e1af);if(_0x44a5ec&&_0x44a5ec[_0x322bb4(0x145)](_0x5502d8)){const _0x1c55da=_0x44a5ec[_0x322bb4(0xef)](_0x5502d8);_0x59d2de['forEach'](_0x60de88=>{const _0x5e49c9=_0x322bb4,_0x4537f2=_0x1c55da[_0x5e49c9(0xef)](_0x60de88);_0x4537f2!=null&&(this['_removeDependencyRTreeCache'](_0x4537f2),_0x1c55da[_0x5e49c9(0x10a)](_0x60de88),this['_removeAllTreeMap'](_0x4537f2));});}}['clearFeatureFormulaDependency'](_0x3d59cb,_0xdb1629){const _0x40ecc9=_0x2c560b,_0x131965=this['_featureFormulaData'][_0x40ecc9(0xef)](_0x3d59cb);if(_0xdb1629&&_0x131965&&_0x131965[_0x40ecc9(0x145)](_0xdb1629)){const _0x47015c=_0x131965[_0x40ecc9(0xef)](_0xdb1629);this['_removeDependencyRTreeCacheById'](_0x3d59cb,_0xdb1629),_0x47015c[_0x40ecc9(0x101)](_0x2eba35=>{const _0x110f04=_0x40ecc9;_0x2eba35!=null&&this[_0x110f04(0x151)](_0x2eba35);}),_0x47015c[_0x40ecc9(0x102)]();}else _0x131965&&(_0x131965[_0x40ecc9(0x101)]((_0x2889c3,_0x22bd09)=>{const _0x4a3f80=_0x40ecc9;this[_0x4a3f80(0x134)](_0x3d59cb,_0x22bd09),_0x2889c3['forEach'](_0x30b4f1=>{const _0x1b43df=_0x4a3f80;_0x30b4f1!=null&&this[_0x1b43df(0x151)](_0x30b4f1);});}),this['_featureFormulaData']['delete'](_0x3d59cb));}['addFormulaDependency'](_0xf736ff,_0x4595d2,_0x4a328b,_0x48775a,_0x1ca936){const _0x405abf=_0x2c560b;this['_formulaData'][_0x405abf(0x145)](_0xf736ff)||this['_formulaData'][_0x405abf(0x12d)](_0xf736ff,new Map());const _0x329321=this[_0x405abf(0x13b)][_0x405abf(0xef)](_0xf736ff);_0x329321[_0x405abf(0x145)](_0x4595d2)||_0x329321[_0x405abf(0x12d)](_0x4595d2,new T[(_0x405abf(0x12a))]()),_0x329321[_0x405abf(0xef)](_0x4595d2)[_0x405abf(0x114)](_0x4a328b,_0x48775a,_0x1ca936[_0x405abf(0x159)]);}[_0x2c560b(0x128)](_0x1f7b13,_0x212e0d,_0x2015f5,_0x50b720){const _0x12170b=_0x2c560b,_0x1a061a=this[_0x12170b(0x13b)][_0x12170b(0xef)](_0x1f7b13);if(_0x1a061a&&_0x1a061a['has'](_0x212e0d)){const _0x428aaa=_0x1a061a[_0x12170b(0xef)](_0x212e0d),_0x33b369=_0x428aaa[_0x12170b(0x177)](_0x2015f5,_0x50b720);if(_0x33b369==null)return;this[_0x12170b(0x100)](_0x33b369),_0x428aaa[_0x12170b(0x166)](_0x2015f5,_0x50b720),this[_0x12170b(0x151)](_0x33b369);}}['clearFormulaDependency'](_0x44d815,_0x1b756d){const _0x45b98a=_0x2c560b,_0x58d50f=this[_0x45b98a(0x13b)][_0x45b98a(0xef)](_0x44d815);if(_0x1b756d&&_0x58d50f&&_0x58d50f[_0x45b98a(0x145)](_0x1b756d)){const _0x370ab0=_0x58d50f['get'](_0x1b756d);this[_0x45b98a(0x134)](_0x44d815,_0x1b756d),_0x370ab0['forValue']((_0x3bae3e,_0x4404ec,_0x13a817)=>{const _0x309092=_0x45b98a;if(_0x13a817==null)return!0x0;this[_0x309092(0x151)](_0x13a817);}),_0x370ab0[_0x45b98a(0x164)]();}else _0x58d50f&&(_0x58d50f[_0x45b98a(0x101)]((_0x1fac8e,_0x3884e2)=>{const _0x2413ad=_0x45b98a;this[_0x2413ad(0x134)](_0x44d815,_0x3884e2),_0x1fac8e[_0x2413ad(0x135)]((_0x3bcd05,_0x4d9c0e,_0x24aaa6)=>{const _0x4cf691=_0x2413ad;if(_0x24aaa6==null)return!0x0;this[_0x4cf691(0x151)](_0x24aaa6);});}),this[_0x45b98a(0x13b)][_0x45b98a(0x10a)](_0x44d815));}['_removeDependencyRTreeCache'](_0x916bac){const _0x36621e=_0x2c560b;if(_0x916bac==null)return;const _0x489c28=this['_allTreeMap'][_0x36621e(0xef)](_0x916bac);if(_0x489c28){const _0x22a92f=[];for(const [_0x32f839,_0x26de71]of _0x489c28)for(const [_0x4691aa,_0x2f8378]of _0x26de71)_0x22a92f['push']({'unitId':_0x32f839,'sheetId':_0x4691aa,'range':_0x2f8378,'id':_0x916bac});this[_0x36621e(0xed)][_0x36621e(0x119)](_0x22a92f);}}['removeFormulaDependencyByDefinedName'](_0xeab3c0,_0x573175){const _0x272180=_0x2c560b,_0x468bbc=this[_0x272180(0xd8)][_0x272180(0xef)](_0xeab3c0);if(_0x468bbc){const _0xf2bfd4=_0x468bbc['get'](_0x573175);if(_0xf2bfd4){for(const _0x2729e3 of _0xf2bfd4)this[_0x272180(0x100)](_0x2729e3),this[_0x272180(0x151)](_0x2729e3);_0xf2bfd4[_0x272180(0x102)]();}}}[_0x2c560b(0xd7)](){const _0x2b166a=_0x2c560b;this[_0x2b166a(0xed)][_0x2b166a(0xd7)]();}[_0x2c560b(0x155)](){const _0x52fa45=_0x2c560b;this[_0x52fa45(0xed)][_0x52fa45(0x155)]();}[_0x2c560b(0x151)](_0x28fc37){const _0x545d87=_0x2c560b;_0x28fc37!=null&&this[_0x545d87(0x10d)][_0x545d87(0x10a)](_0x28fc37);}['_addAllTreeMap'](_0x31462e){const _0x1d474e=_0x2c560b;var _0x169740,_0x2ce41f;const _0xc8d98f=_0x31462e[_0x1d474e(0x14d)];let _0x47eccd=this[_0x1d474e(0x10d)][_0x1d474e(0xef)](_0x31462e[_0x1d474e(0x159)]);for(let _0x2ea88c=0x0;_0x2ea88c<_0xc8d98f[_0x1d474e(0xf0)];_0x2ea88c++){const _0x980ae3=_0xc8d98f[_0x2ea88c];let {unitId:_0x259439,sheetId:_0x2b5209,range:_0x196df5}=_0x980ae3;_0x47eccd||(_0x47eccd=new Map(),this[_0x1d474e(0x10d)][_0x1d474e(0x12d)](_0x31462e[_0x1d474e(0x159)],_0x47eccd)),_0x47eccd[_0x1d474e(0x145)](_0x259439)||_0x47eccd[_0x1d474e(0x12d)](_0x259439,new Map());const _0x45cad4=(_0x169740=_0x47eccd==null?void 0x0:_0x47eccd[_0x1d474e(0xef)](_0x259439))==null?void 0x0:_0x169740[_0x1d474e(0xef)](_0x2b5209);_0x45cad4&&(_0x196df5={'startRow':Math['min'](_0x196df5[_0x1d474e(0x13f)],_0x45cad4['startRow']),'startColumn':Math[_0x1d474e(0x124)](_0x196df5['startColumn'],_0x45cad4[_0x1d474e(0x149)]),'endRow':Math[_0x1d474e(0x139)](_0x196df5[_0x1d474e(0xe4)],_0x45cad4['endRow']),'endColumn':Math[_0x1d474e(0x139)](_0x196df5['endColumn'],_0x45cad4['endColumn'])}),(_0x2ce41f=_0x47eccd[_0x1d474e(0xef)](_0x259439))==null||_0x2ce41f[_0x1d474e(0x12d)](_0x2b5209,_0x196df5);}}}var j=Object[_0x2c560b(0x167)],X=(_0x5550d0,_0x18ebc3,_0x4942bd,_0xc1d5ab)=>{const _0x5b6716=_0x2c560b;for(var _0x88e31a=_0xc1d5ab>0x1?void 0x0:_0xc1d5ab?j(_0x18ebc3,_0x4942bd):_0x18ebc3,_0x42451c=_0x5550d0[_0x5b6716(0xf0)]-0x1,_0xd9c2d5;_0x42451c>=0x0;_0x42451c--)(_0xd9c2d5=_0x5550d0[_0x42451c])&&(_0x88e31a=_0xd9c2d5(_0x88e31a)||_0x88e31a);return _0x88e31a;};const Y=Number[_0x2c560b(0x13e)](0x690eeeff);function _0x52ea(){const _0x44994a=['execute','START_CALCULATION_ARRAY_FORMULA','markedAsSuccessfullyExecuted','_restDependencyTreeId','_removeDependencyRTreeCacheById','forValue','FormulaDependencyTreeType','getAllRuntimeData','refTree','max','CURRENTLY_CALCULATING_ARRAY_FORMULA','_formulaData','getDirtyData','pop','parseInt','startRow','DependencyManagerBaseService','addFormulaDependencyByDefinedName','3MWVPPA','rowCount','_initLicenseValid','has','message','setTotalFormulasToCalculate','_dependencyTreeCache','startColumn','CURRENTLY_CALCULATING','_getUpdateTreeListAndMakeDependency','3222224OWphvL','rangeList','size','addFormulaDependency','node','_removeAllTreeMap','dirtyRanges','getClearDependencyTreeCache','isAdded','closeKdTree','FormulaExecuteStageType','IDependencyManagerService','getConfig','treeId','getDirtyRanges','getRuntimeState','_createFDtree','clearFeatureFormulaDependency','enableCycleDependency','markedAsStopFunctionsExecuted','START_DEPENDENCY','_isCyclicUtilMap','executeAsync','_calculateRunList','reset','defineProperty','realDeleteValue','getOwnPropertyDescriptor','_config','bulkSearch','getFormulaDependency','refOffsetX','_registerFormulas','_checkIsCycleDependency','featureId','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','clearOtherFormulaDependency','getOtherFormulaDependency','featureDirtyRanges','OTHER_FORMULA','add','_otherFormulaDataMainData','return\x20','getValue','searchDependency','setRuntimeData','setRuntimeFeatureRange','DependentOn','formulaId','addFeatureFormulaDependency','_astTreeBuilder','_getTreeNode','isForceCalculate','next','unshiftString','toRTreeItem','_lexer','isDirty','refOffsetY','1166yVMYij','_featureFormulaData','isSkip','dispose','prototype','ICalculateFormulaService','670225cuENVu','openKdTree','_definedNameMap','default','setCompletedFormulasCount','notExecuteFormula','setAdded','ParentDependencyTree\x20object\x20is\x20null','_getFirstCellOfRange','addOtherFormulaDependencyMainData','hasOwnProperty','intervalCount','_otherFormulaData','_getFeatureFormulaTree','endRow','unitId','addOtherFormulaDependency','_traverse','_runtimeService','Module','getExcludedRange','2366hdLJqr','isCache','_dependencyRTreeCache','generate','get','length','columnCount','getOtherFormulaData','2DEatQP','generateRandomDependencyTreeId','type','CalculateFormulaService','keys','81731BHwUdA','column','_interpreter','row','_registerOtherFormulas','_dependencyManagerService','setTotalArrayFormulasToCalculate','FEATURE_FORMULA','_removeDependencyRTreeCache','forEach','clear','_executionInProgressListener$','_getTreeById','24882syggLe','generateAstNode','isStopExecution','DEFAULT_INTERVAL_COUNT','5660wiJZlD','delete','_injector','markedAsNoFunctionsExecuted','_allTreeMap','_executionCompleteListener$','setCurrent','416628dHlXwU','UniverLicensePlugin','_formulaDependencyGenerator','dependencySheetName','setValue','getSheetFeatureLimit','isFeatureAuthorizedWithinTime','_currentConfigService','subUnitId','bulkRemove','push','_configService','_otherFormulaManagerService','UniverProFormulaEnginePlugin','DependencyManagerService','removeFeatureFormulaDependency','16SFjnLw','formula','setSkip','setFormulaExecuteStage','min','2748vdeoEn','IFormulaDependencyGenerator','_dependencyRTreeCacheForAddressFunction','removeFormulaDependency','setRuntimeFeatureCellData','ObjectMatrix','FormulaDependencyTreeVirtual','4362875OSwRQe','set','toStringTag','requestImmediateMacroTask'];_0x52ea=function(){return _0x44994a;};return _0x52ea();}exports[_0x2c560b(0x11d)]=class extends u['UniverFormulaEnginePlugin']{['_initializeWithOverride'](){const _0x1024b7=_0x2c560b;var _0x55703c,_0x1956f4;this[_0x1024b7(0x144)]()?(_0x55703c=this[_0x1024b7(0x168)])!=null&&_0x55703c[_0x1024b7(0xdb)]||[[u[_0x1024b7(0xd5)],{'useClass':k}],[u[_0x1024b7(0x157)],{'useClass':B}],[u[_0x1024b7(0x126)],{'useClass':K}]][_0x1024b7(0x101)](_0x1a2977=>this[_0x1024b7(0x10b)][_0x1024b7(0x174)](_0x1a2977)):(_0x1956f4=this[_0x1024b7(0x168)])!=null&&_0x1956f4[_0x1024b7(0xdb)]||[[u['ICalculateFormulaService'],{'useClass':u[_0x1024b7(0xf6)]}],[u['IDependencyManagerService'],{'useClass':u[_0x1024b7(0x11e)]}],[u[_0x1024b7(0x126)],{'useClass':u['FormulaDependencyGenerator']}]]['forEach'](_0x562bf3=>this['_injector']['add'](_0x562bf3));}[_0x2c560b(0x144)](){const _0xe4121c=_0x2c560b;var _0x155c94;const _0x3314a7=(_0x155c94=this[_0xe4121c(0x11b)][_0xe4121c(0x158)](C['LS_CONFIG_KEY']))!=null?_0x155c94:{},{ls:_0x3f4219,pbk:_0x536aac}=_0x3314a7;if(!_0x3f4219||!_0x536aac)return!0x1;const _0x29b649=C[_0xe4121c(0x182)](U,z),_0x34f673=new Function(_0xe4121c(0x176)+_0x29b649)()(_0x3f4219,_0x536aac),_0x29b3c5=_0x34f673[_0xe4121c(0x146)];return _0x34f673['valid']&&C[_0xe4121c(0x116)](_0x29b3c5,'sf',Y)?C[_0xe4121c(0x115)](_0x29b3c5,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x2c560b(0x11d)]=X([T[_0x2c560b(0x17b)](C[_0x2c560b(0x111)])],exports[_0x2c560b(0x11d)]),Object[_0x2c560b(0xf7)](u)[_0x2c560b(0x101)](_0x57fa51=>{const _0x10be30=_0x2c560b;_0x57fa51!==_0x10be30(0xd9)&&!Object[_0x10be30(0xd4)][_0x10be30(0xe0)]['call'](exports,_0x57fa51)&&Object['defineProperty'](exports,_0x57fa51,{'enumerable':!0x0,'get':()=>u[_0x57fa51]});});
1
+ 'use strict';const _0x188d2b=_0x19f6;(function(_0x2f461f,_0x3e029a){const _0x217308=_0x19f6,_0x496934=_0x2f461f();while(!![]){try{const _0x32cdc0=-parseInt(_0x217308(0x175))/0x1+-parseInt(_0x217308(0x180))/0x2+-parseInt(_0x217308(0x133))/0x3*(parseInt(_0x217308(0x1c5))/0x4)+parseInt(_0x217308(0x1a5))/0x5+-parseInt(_0x217308(0x130))/0x6+-parseInt(_0x217308(0x126))/0x7*(-parseInt(_0x217308(0x150))/0x8)+parseInt(_0x217308(0x1b0))/0x9;if(_0x32cdc0===_0x3e029a)break;else _0x496934['push'](_0x496934['shift']());}catch(_0x2cdaf7){_0x496934['push'](_0x496934['shift']());}}}(_0x5474,0x39787));var k=Object[_0x188d2b(0x16d)],I=(_0x10d95e,_0x252e46,_0x134922)=>_0x252e46 in _0x10d95e?k(_0x10d95e,_0x252e46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x134922}):_0x10d95e[_0x252e46]=_0x134922,S=(_0x58a5e2,_0x2e036e,_0x53b952)=>I(_0x58a5e2,typeof _0x2e036e!='symbol'?_0x2e036e+'':_0x2e036e,_0x53b952);function _0x19f6(_0x244a75,_0x2d75af){const _0x5474ee=_0x5474();return _0x19f6=function(_0x19f6d1,_0xf08f2){_0x19f6d1=_0x19f6d1-0x11d;let _0x44d1df=_0x5474ee[_0x19f6d1];return _0x44d1df;},_0x19f6(_0x244a75,_0x2d75af);}Object[_0x188d2b(0x16d)](exports,Symbol[_0x188d2b(0x154)],{'value':_0x188d2b(0x176)});const v=require('@univerjs-pro/license'),T=require('@univerjs/core'),u=require('@univerjs/engine-formula'),U={0x0:'B',0x1:'V',0x2:'b',0x3:'y',0x4:'v',0x5:'G',0x6:'E',0x7:'6',0x8:'U',0x9:'f','E':'0','z':'1','n':'2','v':'3','y':'4','q':'5','T':'7','m':'8','N':'9','Y':'a','t':'c','Z':'d','i':'e','e':'g','K':'h','b':'i','l':'j','w':'k','d':'l','P':'m','R':'n','a':'o','c':'p','h':'q','j':'r','J':'s','L':'t','k':'u','O':'w','F':'x','A':'z','D':'A','G':'C','I':'D','H':'F','s':'H','p':'I','V':'J','o':'K','U':'L','f':'M','X':'N','g':'O','C':'P','Q':'Q','M':'R','B':'S','S':'T','r':'W','x':'X','u':'Y','W':'Z'},N=_0x188d2b(0x12b);class K extends u[_0x188d2b(0x1a9)]{constructor(){const _0x4b265e=_0x188d2b;super(...arguments),S(this,_0x4b265e(0x1b2),new Map());}[_0x188d2b(0x144)](){const _0x128599=_0x188d2b;super[_0x128599(0x144)](),this[_0x128599(0x1b2)][_0x128599(0x17f)]();}async['generate'](){const _0x4cf68f=_0x188d2b;this[_0x4cf68f(0x16e)]();const _0x3f9e01=this[_0x4cf68f(0x179)][_0x4cf68f(0x14b)](),_0x5e1780=this[_0x4cf68f(0x13e)][_0x4cf68f(0x189)](),_0x3fee52=this['_currentConfigService'][_0x4cf68f(0x162)]();_0x3fee52!=null&&Object[_0x4cf68f(0x1a1)](_0x3fee52)[_0x4cf68f(0x174)](_0x245397=>{const _0x1e6b72=_0x4cf68f;_0x245397!=null&&Object[_0x1e6b72(0x1a1)](_0x3fee52[_0x245397])[_0x1e6b72(0x174)](_0x57de85=>{const _0x2c2881=_0x1e6b72;_0x57de85!=null&&(this['_dependencyManagerService'][_0x2c2881(0x190)](_0x245397,_0x57de85),this[_0x2c2881(0x1cf)]['clearFeatureFormulaDependency'](_0x245397,_0x57de85),this['_dependencyManagerService'][_0x2c2881(0x195)](_0x245397,_0x57de85));});});const _0x43d12c=this[_0x4cf68f(0x179)][_0x4cf68f(0x15c)]();await this[_0x4cf68f(0x19a)](_0x3f9e01,_0x5e1780,_0x43d12c),this[_0x4cf68f(0x1cf)][_0x4cf68f(0x19b)]();const _0x226201=this[_0x4cf68f(0x1b7)](),_0x269e0f=this[_0x4cf68f(0x149)](_0x226201);return this[_0x4cf68f(0x155)](_0x269e0f)&&this['_runtimeService']['enableCycleDependency'](),this[_0x4cf68f(0x1b2)][_0x4cf68f(0x17f)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x4cf68f(0x1cf)]['closeKdTree'](),Promise[_0x4cf68f(0x13c)](_0x269e0f);}[_0x188d2b(0x167)](_0x54e0cf,_0x64ee43){const _0x57d040=_0x188d2b,_0x5dcb73=[_0x54e0cf];for(;_0x5dcb73[_0x57d040(0x160)]>0x0;){const _0x451822=_0x5dcb73[_0x5dcb73['length']-0x1];if((_0x64ee43[_0x57d040(0x197)](_0x451822)||0x0)===0x0){_0x64ee43[_0x57d040(0x15d)](_0x451822,0x1);const _0x40b493=this[_0x57d040(0x1b2)][_0x57d040(0x197)](_0x451822);if(_0x40b493==null){_0x64ee43[_0x57d040(0x15d)](_0x451822,0x2),_0x5dcb73['pop']();continue;}const _0x4976f2=this[_0x57d040(0x1cf)]['searchDependency'](_0x40b493[_0x57d040(0x1af)]());for(const _0x1b864c of _0x4976f2){const _0xab6a3c=_0x64ee43[_0x57d040(0x197)](_0x1b864c)||0x0;if(_0xab6a3c===0x1)return!0x0;_0xab6a3c===0x0&&_0x5dcb73[_0x57d040(0x1c4)](_0x1b864c);}}else _0x64ee43[_0x57d040(0x15d)](_0x451822,0x2),_0x5dcb73[_0x57d040(0x1d4)]();}return!0x1;}[_0x188d2b(0x155)](_0x265ec5){const _0x4e9cbf=_0x188d2b,_0x5120f2=new Map();for(const _0x205ab9 of _0x265ec5)if(!_0x5120f2[_0x4e9cbf(0x173)](_0x205ab9[_0x4e9cbf(0x191)])&&this['_isCyclicUtilMap'](_0x205ab9[_0x4e9cbf(0x191)],_0x5120f2))return!0x0;return _0x5120f2[_0x4e9cbf(0x17f)](),!0x1;}['_getFeatureFormulaTree'](_0x479313,_0x49edf8,_0x33a709){const _0x1cf72f=_0x188d2b,{unitId:_0x5bd96e,subUnitId:_0x2cc40e,dependencyRanges:_0x544420,getDirtyData:_0x18e5b6}=_0x33a709,_0x47bbc3=_0x49edf8||u['generateRandomDependencyTreeId'](this['_dependencyManagerService']),_0x2ef15e=new u[(_0x1cf72f(0x169))](_0x47bbc3);_0x2ef15e[_0x1cf72f(0x12a)]=_0x5bd96e,_0x2ef15e[_0x1cf72f(0x122)]=_0x2cc40e,_0x2ef15e[_0x1cf72f(0x11d)]=_0x544420,_0x2ef15e[_0x1cf72f(0x13d)]=_0x18e5b6;const _0x6395fa=_0x18e5b6(this['_currentConfigService'][_0x1cf72f(0x13d)](),this[_0x1cf72f(0x143)][_0x1cf72f(0x15a)]()),_0x5dd7b4=this[_0x1cf72f(0x123)](_0x6395fa[_0x1cf72f(0x170)]);return _0x2ef15e[_0x1cf72f(0x1d6)]=_0x5dd7b4,_0x2ef15e[_0x1cf72f(0x1bd)]=_0x479313,_0x2ef15e[_0x1cf72f(0x11f)]=u[_0x1cf72f(0x1c8)][_0x1cf72f(0x1ce)],this[_0x1cf72f(0x1cf)]['addFeatureFormulaDependency'](_0x5bd96e,_0x2cc40e,_0x479313,_0x2ef15e),this['_dependencyTreeCache'][_0x1cf72f(0x15d)](_0x2ef15e[_0x1cf72f(0x191)],_0x2ef15e),this[_0x1cf72f(0x1cf)][_0x1cf72f(0x1d9)](_0x33a709[_0x1cf72f(0x12a)],_0x33a709[_0x1cf72f(0x122)],_0x479313)&&(_0x2ef15e[_0x1cf72f(0x17a)]=!0x0),_0x2ef15e;}[_0x188d2b(0x1d2)](_0x222861,_0x9f166b,_0x327293){const _0x42ed12=_0x188d2b;var _0x444e6a;for(const _0x35f823 of _0x9f166b){const _0x15a39d=_0x222861[_0x35f823];if(_0x15a39d==null)continue;const _0x42ba66=Object[_0x42ed12(0x1a1)](_0x15a39d);for(const _0x30493c of _0x42ba66){const _0x2d38e8=_0x15a39d[_0x30493c];if(_0x2d38e8==null)continue;const _0x575231=Object['keys'](_0x2d38e8);for(const _0x493c7d of _0x575231){const _0x2aa39e=this[_0x42ed12(0x1cf)][_0x42ed12(0x187)](_0x493c7d),_0x5210f6=_0x2d38e8[_0x493c7d],{f:_0xcb02c,ranges:_0x3ee66c}=_0x5210f6;let _0x48f154=!0x1;_0x2aa39e&&(_0x48f154=!0x0);const {firstRow:_0x322fc4,firstColumn:_0x5c82b5}=this[_0x42ed12(0x1c1)](_0x3ee66c),_0xc37c=this[_0x42ed12(0x1cf)][_0x42ed12(0x159)](_0x35f823,_0x30493c,_0x493c7d),_0x3ab788=(_0x444e6a=_0xc37c==null?void 0x0:_0xc37c[_0x42ed12(0x1d7)](0x0,0x0))!=null?_0x444e6a:u[_0x42ed12(0x17b)](this[_0x42ed12(0x1cf)]),_0x2ec223=new u[(_0x42ed12(0x169))](_0x3ab788);for(let _0x200399=0x0;_0x200399<_0x3ee66c['length'];_0x200399++){const _0x5c8c2e=_0x3ee66c[_0x200399],{startRow:_0x37d76b,startColumn:_0x3db6f3,endRow:_0x2591d2,endColumn:_0x53d08a}=_0x5c8c2e;for(let _0x4fcfa7=_0x37d76b;_0x4fcfa7<=_0x2591d2;_0x4fcfa7++)for(let _0x1f2b99=_0x3db6f3;_0x1f2b99<=_0x53d08a;_0x1f2b99++){const _0x422393=_0x1f2b99-_0x5c82b5,_0x56d40e=_0x4fcfa7-_0x322fc4;if(_0x422393===0x0&&_0x56d40e===0x0){_0x2ec223[_0x42ed12(0x139)]=_0xcb02c,_0x2ec223[_0x42ed12(0x12a)]=_0x35f823,_0x2ec223[_0x42ed12(0x122)]=_0x30493c,_0x2ec223[_0x42ed12(0x1a2)]=_0x493c7d,_0x2ec223['type']=u['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x2ec223[_0x42ed12(0x17a)]=_0x48f154,_0x327293[_0x42ed12(0x1c4)](_0x2ec223),this[_0x42ed12(0x1b2)]['set'](_0x2ec223[_0x42ed12(0x191)],_0x2ec223),this[_0x42ed12(0x1cf)][_0x42ed12(0x147)](_0x35f823,_0x30493c,_0x493c7d,_0x2ec223),this[_0x42ed12(0x1cf)]['addFormulaDependencyByDefinedName'](_0x2ec223);continue;}const _0x378159=new u[(_0x42ed12(0x1d1))]();_0x378159[_0x42ed12(0x191)]=(_0xc37c==null?void 0x0:_0xc37c[_0x42ed12(0x1d7)](_0x422393,_0x56d40e))||u['generateRandomDependencyTreeId'](this[_0x42ed12(0x1cf)]),_0x378159[_0x42ed12(0x12c)]=_0x2ec223,_0x378159[_0x42ed12(0x13f)]=_0x422393,_0x378159['refOffsetY']=_0x56d40e,_0x378159['isCache']=_0x48f154,this['_dependencyManagerService'][_0x42ed12(0x147)](_0x35f823,_0x30493c,_0x493c7d,_0x378159),this[_0x42ed12(0x1cf)]['addFormulaDependencyByDefinedName'](_0x378159),_0x327293[_0x42ed12(0x1c4)](_0x378159),this[_0x42ed12(0x1b2)][_0x42ed12(0x15d)](_0x378159[_0x42ed12(0x191)],_0x378159);}}this['_dependencyManagerService'][_0x42ed12(0x188)](_0x493c7d);}}}}['_registerFormulas'](_0x22f97c,_0x27cd68,_0x1d434c,_0xff8bb7){const _0x3530e4=_0x188d2b;for(const _0x484a1d of _0x22f97c){const _0x37e046=_0x27cd68[_0x484a1d];if(_0x37e046==null)continue;const _0x27ecac=Object[_0x3530e4(0x1a1)](_0x37e046);for(const _0x455e06 of _0x27ecac){const _0x35db51=new T[(_0x3530e4(0x1b8))](_0x37e046[_0x455e06]||{}),_0x32add=new Map();_0x35db51['forValue']((_0x5881ca,_0x5513be,_0x2a8c27)=>{const _0xf65709=_0x3530e4;if(_0x2a8c27==null)return!0x0;const {x:_0x46eb58=0x0,y:_0x4f828e=0x0,si:_0x252949}=_0x2a8c27;if(!(_0x46eb58===0x0&&_0x4f828e===0x0&&_0x252949!=null))return!0x0;const _0x247de5=this[_0xf65709(0x15b)](_0x484a1d,_0x455e06,_0x5881ca,_0x5513be,_0x1d434c,_0x2a8c27),_0x577020=this[_0xf65709(0x1cf)][_0xf65709(0x1cb)](_0x484a1d,_0x455e06,_0x5881ca,_0x5513be);_0x577020!=null?_0x247de5[_0xf65709(0x191)]=_0x577020:(this['_dependencyManagerService'][_0xf65709(0x138)](_0x484a1d,_0x455e06,_0x5881ca,_0x5513be,_0x247de5),this[_0xf65709(0x1cf)]['addFormulaDependencyByDefinedName'](_0x247de5)),_0x32add['set'](_0x252949,_0x247de5),_0xff8bb7['push'](_0x247de5),this['_dependencyTreeCache'][_0xf65709(0x15d)](_0x247de5[_0xf65709(0x191)],_0x247de5);}),_0x35db51['forValue']((_0x56a316,_0x1ed5e9,_0x243c48)=>{const _0x1cdc70=_0x3530e4;if(_0x243c48==null)return!0x0;const {x:_0x7c1944=0x0,y:_0x1560e3=0x0,si:_0x4e6c6c}=_0x243c48;if(_0x7c1944===0x0&&_0x1560e3===0x0&&_0x4e6c6c!=null)return!0x0;let _0x4c5ac8;if(_0x4e6c6c&&_0x32add[_0x1cdc70(0x173)](_0x4e6c6c)){const _0x3fc776=_0x32add[_0x1cdc70(0x197)](_0x4e6c6c);_0x4c5ac8=this[_0x1cdc70(0x17d)](_0x3fc776,_0x243c48);}else _0x4c5ac8=this[_0x1cdc70(0x15b)](_0x484a1d,_0x455e06,_0x56a316,_0x1ed5e9,_0x1d434c,_0x243c48);const _0x2cd2ed=this['_dependencyManagerService'][_0x1cdc70(0x1cb)](_0x484a1d,_0x455e06,_0x56a316,_0x1ed5e9);_0x2cd2ed!=null?_0x4c5ac8[_0x1cdc70(0x191)]=_0x2cd2ed:(this[_0x1cdc70(0x1cf)][_0x1cdc70(0x138)](_0x484a1d,_0x455e06,_0x56a316,_0x1ed5e9,_0x4c5ac8),this[_0x1cdc70(0x1cf)][_0x1cdc70(0x120)](_0x4c5ac8)),_0xff8bb7[_0x1cdc70(0x1c4)](_0x4c5ac8),this['_dependencyTreeCache'][_0x1cdc70(0x15d)](_0x4c5ac8[_0x1cdc70(0x191)],_0x4c5ac8);}),_0x32add[_0x3530e4(0x17f)]();}}}['_createFDtree'](_0x3c17cc,_0x5a0c12,_0x31ac69,_0x269870,_0x1e67b0,_0x33c9ee){const _0x1ba9a3=_0x188d2b,{f:_0x29444,x:_0x487c41=0x0,y:_0x20140b=0x0}=_0x33c9ee,_0x5efa21=new u['FormulaDependencyTree'](u['generateRandomDependencyTreeId'](this[_0x1ba9a3(0x1cf)])),_0x24ecc6=_0x1e67b0[_0x3c17cc][_0x5a0c12];return _0x5efa21[_0x1ba9a3(0x139)]=_0x29444,_0x5efa21['unitId']=_0x3c17cc,_0x5efa21['subUnitId']=_0x5a0c12,_0x5efa21[_0x1ba9a3(0x17c)]=_0x31ac69,_0x5efa21[_0x1ba9a3(0x1c0)]=_0x269870,_0x5efa21[_0x1ba9a3(0x17e)]=_0x24ecc6[_0x1ba9a3(0x17e)],_0x5efa21[_0x1ba9a3(0x156)]=_0x24ecc6[_0x1ba9a3(0x156)],_0x5efa21;}[_0x188d2b(0x1b7)](){const _0xee60c=_0x188d2b,_0x2f1274=[],_0x1d6547=new Set(),_0x204c84=this[_0xee60c(0x179)][_0xee60c(0x18f)](),_0x97308c=this['_currentConfigService'][_0xee60c(0x163)](),_0x43f3f5=this[_0xee60c(0x1cf)][_0xee60c(0x12f)](_0x97308c),_0x5343e8=this[_0xee60c(0x1b4)][_0xee60c(0x1b5)](_0x97308c);for(const _0x56e2f1 of _0x5343e8)_0x43f3f5[_0xee60c(0x1b6)](_0x56e2f1);for(const [_0xb6bfb6,_0x1ef09f]of this[_0xee60c(0x1b2)])(_0x204c84||_0x1ef09f[_0xee60c(0x164)]||_0x1ef09f[_0xee60c(0x129)](this['_currentConfigService'][_0xee60c(0x172)]())||_0x43f3f5[_0xee60c(0x173)](_0xb6bfb6)&&!_0x1ef09f[_0xee60c(0x1a6)](this[_0xee60c(0x179)][_0xee60c(0x18c)]()))&&!_0x1d6547[_0xee60c(0x173)](_0xb6bfb6)&&(_0x2f1274['push'](_0x1ef09f),_0x1d6547[_0xee60c(0x1b6)](_0xb6bfb6));for(const [_0x8bc38,_0xd9ff05]of this[_0xee60c(0x1b2)])_0xd9ff05[_0xee60c(0x1ae)]||(_0xd9ff05[_0xee60c(0x11d)]['length']=0x0);return _0x2f1274;}[_0x188d2b(0x148)](_0x27f03a){const _0xeeea14=_0x188d2b;return this[_0xeeea14(0x1b2)][_0xeeea14(0x197)](_0x27f03a);}[_0x188d2b(0x13b)](_0x248fb7){const _0x3cf6d1=_0x188d2b;return u['generateAstNode'](_0x248fb7[_0x3cf6d1(0x12a)],_0x248fb7[_0x3cf6d1(0x139)],this[_0x3cf6d1(0x199)],this[_0x3cf6d1(0x1c3)],this['_currentConfigService']);}*[_0x188d2b(0x134)](_0x171de0,_0x270ae8){const _0x2dd66f=_0x188d2b,_0x2814b9=_0x171de0,_0x302f06=new Set();for(;_0x2814b9[_0x2dd66f(0x160)]>0x0;){const _0x431c50=_0x2814b9['pop']();if(_0x302f06[_0x2dd66f(0x17f)](),_0x431c50===void 0x0||_0x431c50[_0x2dd66f(0x16a)]())continue;if(_0x431c50['isAdded']()){yield _0x431c50,_0x431c50[_0x2dd66f(0x165)](),_0x270ae8[_0x2dd66f(0x1b6)](_0x431c50[_0x2dd66f(0x191)]);continue;}const _0x471474=this['_dependencyManagerService'][_0x2dd66f(0x12f)](_0x431c50[_0x2dd66f(0x1af)](),_0x270ae8),_0x3b73ba=this[_0x2dd66f(0x1b4)]['bulkSearch'](_0x431c50['toRTreeItem'](),_0x270ae8);for(const _0x2c1c78 of _0x3b73ba)_0x471474[_0x2dd66f(0x1b6)](_0x2c1c78);for(const _0x1d0d73 of _0x471474){const _0x5cfffa=this[_0x2dd66f(0x1b2)][_0x2dd66f(0x197)](_0x1d0d73);if(!_0x5cfffa)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x5cfffa[_0x2dd66f(0x15f)]()||_0x431c50['isSkip']()||_0x302f06[_0x2dd66f(0x1b6)](_0x5cfffa);}if(_0x471474[_0x2dd66f(0x17f)](),_0x302f06[_0x2dd66f(0x19f)]===0x0)yield _0x431c50,_0x431c50[_0x2dd66f(0x165)](),_0x270ae8[_0x2dd66f(0x1b6)](_0x431c50[_0x2dd66f(0x191)]);else{_0x431c50[_0x2dd66f(0x125)](),_0x2814b9['push'](_0x431c50);for(const _0x855d of _0x302f06)_0x2814b9[_0x2dd66f(0x1c4)](_0x855d);}}_0x2814b9[_0x2dd66f(0x160)]=0x0,_0x302f06[_0x2dd66f(0x17f)]();}[_0x188d2b(0x149)](_0x2c80db){const _0x3fe4fc=_0x188d2b,_0x5be415=[],_0x41d4b2=new Set();for(const _0x178d69 of this[_0x3fe4fc(0x134)](_0x2c80db,_0x41d4b2))_0x5be415[_0x3fe4fc(0x1c4)](_0x178d69);return _0x5be415;}}class Z extends u[_0x188d2b(0x137)]{async[_0x188d2b(0x181)](_0x4f21c0=!0x1){const _0x344867=_0x188d2b;_0x4f21c0?this[_0x344867(0x143)][_0x344867(0x19c)](u[_0x344867(0x18e)][_0x344867(0x1d3)]):this[_0x344867(0x143)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x344867(0x16f)]),this[_0x344867(0x184)]['next'](this[_0x344867(0x143)][_0x344867(0x140)]());const _0xc8c72d=await this[_0x344867(0x1bf)][_0x344867(0x1ab)](),_0xe92932=this['_interpreter'];_0x4f21c0?(this[_0x344867(0x143)]['setFormulaExecuteStage'](u['FormulaExecuteStageType'][_0x344867(0x1a7)]),this[_0x344867(0x143)][_0x344867(0x12e)](_0xc8c72d[_0x344867(0x160)])):(this['_runtimeService'][_0x344867(0x19c)](u[_0x344867(0x18e)][_0x344867(0x13a)]),this[_0x344867(0x143)][_0x344867(0x19e)](_0xc8c72d[_0x344867(0x160)])),this[_0x344867(0x184)][_0x344867(0x182)](this['_runtimeService'][_0x344867(0x140)]());let _0x1394bc=[];const _0x212e60=this[_0x344867(0x128)][_0x344867(0x153)](u[_0x344867(0x1c6)]),_0x2ddb24=(_0x212e60==null?void 0x0:_0x212e60[_0x344867(0x18b)])||u[_0x344867(0x1c9)];let _0x1b54b5=0x0;const _0x522034=_0xc8c72d[_0x344867(0x160)];for(;_0xc8c72d[_0x344867(0x160)]>0x0;){const _0x56acc3=_0xc8c72d[_0x344867(0x1d4)](),_0x1419b3={'node':u['generateAstNode'](_0x56acc3[_0x344867(0x12a)],_0x56acc3[_0x344867(0x139)],this['_lexer'],this[_0x344867(0x1c3)],this['_currentConfigService']),'refOffsetX':_0x56acc3[_0x344867(0x13f)],'refOffsetY':_0x56acc3[_0x344867(0x1ba)]},_0x55402e=_0x56acc3[_0x344867(0x13d)];if(_0x1b54b5%_0x2ddb24===0x0&&(await new Promise(_0x35c6e7=>{const _0x418168=_0x344867,_0x521889=T[_0x418168(0x198)](_0x35c6e7);_0x1394bc[_0x418168(0x1c4)](_0x521889);}),_0x4f21c0?(this[_0x344867(0x143)][_0x344867(0x19c)](u[_0x344867(0x18e)]['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this['_runtimeService'][_0x344867(0x152)](_0x1b54b5+0x1)):(this[_0x344867(0x143)][_0x344867(0x19c)](u[_0x344867(0x18e)][_0x344867(0x151)]),this['_runtimeService']['setCompletedFormulasCount'](_0x1b54b5+0x1)),this[_0x344867(0x184)][_0x344867(0x182)](this['_runtimeService'][_0x344867(0x140)]()),this[_0x344867(0x143)][_0x344867(0x14e)]()||_0x1419b3==null&&_0x55402e==null)){this['_runtimeService'][_0x344867(0x19c)](u[_0x344867(0x18e)][_0x344867(0x157)]),this[_0x344867(0x143)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$']['next'](this[_0x344867(0x143)][_0x344867(0x15a)]());return;}this[_0x344867(0x143)][_0x344867(0x1aa)](_0x56acc3[_0x344867(0x17c)],_0x56acc3[_0x344867(0x1c0)],_0x56acc3[_0x344867(0x17e)],_0x56acc3[_0x344867(0x156)],_0x56acc3['subUnitId'],_0x56acc3[_0x344867(0x12a)]);let _0x17b76a;if(_0x55402e!=null&&_0x56acc3[_0x344867(0x1bd)]!=null){const {runtimeCellData:_0x556394,dirtyRanges:_0x4327e6}=_0x55402e(this[_0x344867(0x179)][_0x344867(0x13d)](),this[_0x344867(0x143)][_0x344867(0x15a)]());this[_0x344867(0x143)][_0x344867(0x11e)](_0x56acc3[_0x344867(0x1bd)],_0x556394),this[_0x344867(0x143)][_0x344867(0x171)](_0x56acc3[_0x344867(0x1bd)],_0x4327e6);}else _0x1419b3!=null&&(_0xe92932[_0x344867(0x1ca)](_0x1419b3[_0x344867(0x131)])?_0x17b76a=await _0xe92932['executeAsync'](_0x1419b3):_0x17b76a=_0xe92932[_0x344867(0x194)](_0x1419b3),_0x56acc3[_0x344867(0x1a2)]!=null?this[_0x344867(0x143)][_0x344867(0x1be)](_0x56acc3[_0x344867(0x1a2)],_0x56acc3[_0x344867(0x13f)],_0x56acc3[_0x344867(0x1ba)],_0x17b76a):this[_0x344867(0x143)][_0x344867(0x136)](_0x17b76a));_0x1b54b5++;}return _0x1394bc['forEach'](_0xff6d50=>_0xff6d50()),_0x1394bc=[],_0x522034>0x0?this[_0x344867(0x143)][_0x344867(0x161)]():_0x4f21c0||this['_runtimeService'][_0x344867(0x14a)](),this[_0x344867(0x143)][_0x344867(0x15a)]();}}class B extends u[_0x188d2b(0x142)]{constructor(){const _0x17265e=_0x188d2b;super(...arguments),S(this,_0x17265e(0x1c2),new Map()),S(this,_0x17265e(0x12d),new T[(_0x17265e(0x1ad))](!0x0));}['reset'](){const _0x50b171=_0x188d2b;this[_0x50b171(0x1d5)][_0x50b171(0x17f)](),this[_0x50b171(0x18a)][_0x50b171(0x17f)](),this[_0x50b171(0x186)][_0x50b171(0x17f)](),this[_0x50b171(0x12d)][_0x50b171(0x17f)](),this[_0x50b171(0x1c2)][_0x50b171(0x17f)](),this['_restDependencyTreeId'](),this[_0x50b171(0x1cc)][_0x50b171(0x17f)]();}[_0x188d2b(0x147)](_0x59fab1,_0xb11166,_0x175350,_0x4463f4){const _0x2645ef=_0x188d2b;this['_otherFormulaData'][_0x2645ef(0x173)](_0x59fab1)||this['_otherFormulaData'][_0x2645ef(0x15d)](_0x59fab1,new Map());const _0x2a1ad0=this[_0x2645ef(0x1d5)][_0x2645ef(0x197)](_0x59fab1);_0x2a1ad0[_0x2645ef(0x173)](_0xb11166)||_0x2a1ad0[_0x2645ef(0x15d)](_0xb11166,new Map());const _0xa679ff=_0x2a1ad0[_0x2645ef(0x197)](_0xb11166);_0xa679ff[_0x2645ef(0x173)](_0x175350)||_0xa679ff['set'](_0x175350,new T['ObjectMatrix']()),_0xa679ff[_0x2645ef(0x197)](_0x175350)['setValue'](_0x4463f4[_0x2645ef(0x13f)],_0x4463f4[_0x2645ef(0x1ba)],_0x4463f4[_0x2645ef(0x191)]);}['removeOtherFormulaDependency'](_0x46e0aa,_0x453741,_0x1ba333){const _0x5e334c=_0x188d2b,_0x18c525=this[_0x5e334c(0x1d5)][_0x5e334c(0x197)](_0x46e0aa);if(_0x18c525&&_0x18c525['has'](_0x453741)){const _0x31175d=_0x18c525['get'](_0x453741);_0x1ba333['forEach'](_0x296eda=>{const _0x1b6727=_0x5e334c,_0x42414e=_0x31175d[_0x1b6727(0x197)](_0x296eda);_0x42414e!=null&&(_0x42414e[_0x1b6727(0x19d)]((_0x400d1c,_0x1c3a84,_0x42c20b)=>{const _0x85d4ca=_0x1b6727;this[_0x85d4ca(0x1cd)](_0x42c20b),this['_removeAllTreeMap'](_0x42c20b);}),_0x31175d[_0x1b6727(0x18d)](_0x296eda),this['_otherFormulaDataMainData'][_0x1b6727(0x18d)](_0x296eda));}),_0x31175d[_0x5e334c(0x19f)]===0x0&&_0x18c525[_0x5e334c(0x18d)](_0x453741),_0x18c525['size']===0x0&&this[_0x5e334c(0x1d5)][_0x5e334c(0x18d)](_0x46e0aa);}}[_0x188d2b(0x190)](_0x17a254,_0x346c00){const _0xb7ff4b=_0x188d2b,_0x33d1ab=this['_otherFormulaData'][_0xb7ff4b(0x197)](_0x17a254);if(_0x346c00&&_0x33d1ab&&_0x33d1ab[_0xb7ff4b(0x173)](_0x346c00)){const _0x569293=_0x33d1ab[_0xb7ff4b(0x197)](_0x346c00);this[_0xb7ff4b(0x16c)](_0x17a254,_0x346c00);for(const _0x1135ab of _0x569293[_0xb7ff4b(0x1a1)]()){const _0x857b32=_0x569293[_0xb7ff4b(0x197)](_0x1135ab);_0x857b32!=null&&(_0x857b32[_0xb7ff4b(0x19d)]((_0x4e66d5,_0x1d47eb,_0x4c71c4)=>{const _0x4a7446=_0xb7ff4b;this[_0x4a7446(0x1c2)]['get'](_0x4c71c4)&&this[_0x4a7446(0x124)](_0x4c71c4);}),this[_0xb7ff4b(0x1cc)]['delete'](_0x1135ab));}_0x569293['clear']();}else{if(_0x33d1ab){for(const _0x2baeed of _0x33d1ab[_0xb7ff4b(0x1a1)]()){const _0x1b457e=_0x33d1ab[_0xb7ff4b(0x197)](_0x2baeed);this[_0xb7ff4b(0x16c)](_0x17a254,_0x2baeed);for(const _0x526b32 of _0x1b457e[_0xb7ff4b(0x1a1)]()){const _0xda0002=_0x1b457e[_0xb7ff4b(0x197)](_0x526b32);_0xda0002!=null&&(_0xda0002['forValue']((_0x9e527d,_0x1819af,_0x20a824)=>{const _0x48bebe=_0xb7ff4b;this['_allTreeMap'][_0x48bebe(0x197)](_0x20a824)&&this['_removeAllTreeMap'](_0x20a824);}),this['_otherFormulaDataMainData'][_0xb7ff4b(0x18d)](_0x526b32));}}this[_0xb7ff4b(0x1d5)][_0xb7ff4b(0x18d)](_0x17a254);}}}[_0x188d2b(0x141)](_0x4b49d0,_0x2898ce,_0x31c1c5,_0x16a4fb){const _0xa6b59c=_0x188d2b;this[_0xa6b59c(0x18a)][_0xa6b59c(0x173)](_0x4b49d0)||this[_0xa6b59c(0x18a)]['set'](_0x4b49d0,new Map());const _0x1a45e7=this['_featureFormulaData'][_0xa6b59c(0x197)](_0x4b49d0);_0x1a45e7[_0xa6b59c(0x173)](_0x2898ce)||_0x1a45e7[_0xa6b59c(0x15d)](_0x2898ce,new Map()),_0x1a45e7[_0xa6b59c(0x197)](_0x2898ce)[_0xa6b59c(0x15d)](_0x31c1c5,_0x16a4fb[_0xa6b59c(0x191)]);}[_0x188d2b(0x16b)](_0x56df74,_0x207fc1,_0xebbf7b){const _0x12e1b3=_0x188d2b,_0x460244=this[_0x12e1b3(0x18a)][_0x12e1b3(0x197)](_0x56df74);if(_0x460244&&_0x460244[_0x12e1b3(0x173)](_0x207fc1)){const _0x48b95e=_0x460244[_0x12e1b3(0x197)](_0x207fc1);_0xebbf7b[_0x12e1b3(0x174)](_0x150b17=>{const _0x144f25=_0x12e1b3,_0x1f406a=_0x48b95e[_0x144f25(0x197)](_0x150b17);_0x1f406a!=null&&(this[_0x144f25(0x1cd)](_0x1f406a),_0x48b95e[_0x144f25(0x18d)](_0x150b17),this[_0x144f25(0x124)](_0x1f406a));});}}['clearFeatureFormulaDependency'](_0x46d7ea,_0x132a2f){const _0x3ca7f3=_0x188d2b,_0x1026ff=this['_featureFormulaData'][_0x3ca7f3(0x197)](_0x46d7ea);if(_0x132a2f&&_0x1026ff&&_0x1026ff['has'](_0x132a2f)){const _0x1dd1e1=_0x1026ff[_0x3ca7f3(0x197)](_0x132a2f);this[_0x3ca7f3(0x16c)](_0x46d7ea,_0x132a2f),_0x1dd1e1[_0x3ca7f3(0x174)](_0x2c3c49=>{_0x2c3c49!=null&&this['_removeAllTreeMap'](_0x2c3c49);}),_0x1dd1e1[_0x3ca7f3(0x17f)]();}else _0x1026ff&&(_0x1026ff[_0x3ca7f3(0x174)]((_0x1e3e4f,_0x582e87)=>{const _0x3fafcc=_0x3ca7f3;this[_0x3fafcc(0x16c)](_0x46d7ea,_0x582e87),_0x1e3e4f[_0x3fafcc(0x174)](_0x487f16=>{const _0x365edc=_0x3fafcc;_0x487f16!=null&&this[_0x365edc(0x124)](_0x487f16);});}),this[_0x3ca7f3(0x18a)]['delete'](_0x46d7ea));}['addFormulaDependency'](_0x5d01cb,_0x52735e,_0x49d50c,_0x26de9b,_0x35b25e){const _0x79b2bc=_0x188d2b;this[_0x79b2bc(0x186)]['has'](_0x5d01cb)||this[_0x79b2bc(0x186)][_0x79b2bc(0x15d)](_0x5d01cb,new Map());const _0x13c708=this[_0x79b2bc(0x186)][_0x79b2bc(0x197)](_0x5d01cb);_0x13c708[_0x79b2bc(0x173)](_0x52735e)||_0x13c708['set'](_0x52735e,new T[(_0x79b2bc(0x1b8))]()),_0x13c708[_0x79b2bc(0x197)](_0x52735e)[_0x79b2bc(0x1a8)](_0x49d50c,_0x26de9b,_0x35b25e[_0x79b2bc(0x191)]);}[_0x188d2b(0x1b1)](_0x2582b3,_0x3eb0d0,_0x11275d,_0x7eeb4e){const _0x1b3111=_0x188d2b,_0x53e6c7=this[_0x1b3111(0x186)][_0x1b3111(0x197)](_0x2582b3);if(_0x53e6c7&&_0x53e6c7[_0x1b3111(0x173)](_0x3eb0d0)){const _0x17b648=_0x53e6c7[_0x1b3111(0x197)](_0x3eb0d0),_0xb3b1bb=_0x17b648[_0x1b3111(0x1d7)](_0x11275d,_0x7eeb4e);if(_0xb3b1bb==null)return;this['_removeDependencyRTreeCache'](_0xb3b1bb),_0x17b648[_0x1b3111(0x1bb)](_0x11275d,_0x7eeb4e),this[_0x1b3111(0x124)](_0xb3b1bb);}}['clearFormulaDependency'](_0x130035,_0x561d2d){const _0x51bc43=_0x188d2b,_0x11fabb=this[_0x51bc43(0x186)][_0x51bc43(0x197)](_0x130035);if(_0x561d2d&&_0x11fabb&&_0x11fabb[_0x51bc43(0x173)](_0x561d2d)){const _0x29e0f6=_0x11fabb[_0x51bc43(0x197)](_0x561d2d);this[_0x51bc43(0x16c)](_0x130035,_0x561d2d),_0x29e0f6[_0x51bc43(0x19d)]((_0x368347,_0x292efa,_0x55d6d6)=>{if(_0x55d6d6==null)return!0x0;this['_removeAllTreeMap'](_0x55d6d6);}),_0x29e0f6[_0x51bc43(0x1a0)]();}else _0x11fabb&&(_0x11fabb[_0x51bc43(0x174)]((_0x228f3d,_0x476d74)=>{const _0x106544=_0x51bc43;this[_0x106544(0x16c)](_0x130035,_0x476d74),_0x228f3d[_0x106544(0x19d)]((_0x337596,_0x325f9c,_0x5b6913)=>{if(_0x5b6913==null)return!0x0;this['_removeAllTreeMap'](_0x5b6913);});}),this['_formulaData'][_0x51bc43(0x18d)](_0x130035));}[_0x188d2b(0x1cd)](_0x174133){const _0x44fc5e=_0x188d2b;if(_0x174133==null)return;const _0x2f4a9e=this[_0x44fc5e(0x1c2)][_0x44fc5e(0x197)](_0x174133);if(_0x2f4a9e){const _0x8db547=[];for(const [_0x423005,_0x57cfd8]of _0x2f4a9e)for(const [_0x548deb,_0x16152a]of _0x57cfd8)_0x8db547[_0x44fc5e(0x1c4)]({'unitId':_0x423005,'sheetId':_0x548deb,'range':_0x16152a,'id':_0x174133});this[_0x44fc5e(0x12d)][_0x44fc5e(0x145)](_0x8db547);}}[_0x188d2b(0x146)](_0x55f1d8,_0x739142){const _0x13189a=_0x188d2b,_0xad029=this[_0x13189a(0x1a3)][_0x13189a(0x197)](_0x55f1d8);if(_0xad029){const _0x442a69=_0xad029[_0x13189a(0x197)](_0x739142);if(_0x442a69){for(const _0x4a67d4 of _0x442a69)this[_0x13189a(0x1cd)](_0x4a67d4),this[_0x13189a(0x124)](_0x4a67d4);_0x442a69['clear']();}}}[_0x188d2b(0x19b)](){const _0x3dadd8=_0x188d2b;this[_0x3dadd8(0x12d)]['openKdTree']();}[_0x188d2b(0x14c)](){const _0x9891ef=_0x188d2b;this[_0x9891ef(0x12d)][_0x9891ef(0x14c)]();}['_removeAllTreeMap'](_0x4820df){const _0x13ab5a=_0x188d2b;_0x4820df!=null&&this[_0x13ab5a(0x1c2)][_0x13ab5a(0x18d)](_0x4820df);}[_0x188d2b(0x1ac)](_0x57bc16){const _0x560e70=_0x188d2b;var _0x3bec49,_0x11196d;const _0x1f31a0=_0x57bc16['rangeList'];let _0x186b0c=this[_0x560e70(0x1c2)]['get'](_0x57bc16[_0x560e70(0x191)]);for(let _0x13445a=0x0;_0x13445a<_0x1f31a0[_0x560e70(0x160)];_0x13445a++){const _0x209225=_0x1f31a0[_0x13445a];let {unitId:_0x38f05,sheetId:_0x3cc2a7,range:_0x26bc35}=_0x209225;_0x186b0c||(_0x186b0c=new Map(),this[_0x560e70(0x1c2)][_0x560e70(0x15d)](_0x57bc16[_0x560e70(0x191)],_0x186b0c)),_0x186b0c[_0x560e70(0x173)](_0x38f05)||_0x186b0c[_0x560e70(0x15d)](_0x38f05,new Map());const _0xd6d6bb=(_0x3bec49=_0x186b0c==null?void 0x0:_0x186b0c[_0x560e70(0x197)](_0x38f05))==null?void 0x0:_0x3bec49['get'](_0x3cc2a7);_0xd6d6bb&&(_0x26bc35={'startRow':Math[_0x560e70(0x15e)](_0x26bc35['startRow'],_0xd6d6bb[_0x560e70(0x1a4)]),'startColumn':Math[_0x560e70(0x15e)](_0x26bc35[_0x560e70(0x178)],_0xd6d6bb[_0x560e70(0x178)]),'endRow':Math[_0x560e70(0x127)](_0x26bc35[_0x560e70(0x1c7)],_0xd6d6bb[_0x560e70(0x1c7)]),'endColumn':Math['max'](_0x26bc35['endColumn'],_0xd6d6bb['endColumn'])}),(_0x11196d=_0x186b0c['get'](_0x38f05))==null||_0x11196d[_0x560e70(0x15d)](_0x3cc2a7,_0x26bc35);}}}var V=Object[_0x188d2b(0x166)],G=(_0x8151b7,_0x2f6eb6,_0xbfa32c,_0x485613)=>{for(var _0x40ce0f=_0x485613>0x1?void 0x0:_0x485613?V(_0x2f6eb6,_0xbfa32c):_0x2f6eb6,_0x453b05=_0x8151b7['length']-0x1,_0x30f7c1;_0x453b05>=0x0;_0x453b05--)(_0x30f7c1=_0x8151b7[_0x453b05])&&(_0x40ce0f=_0x30f7c1(_0x40ce0f)||_0x40ce0f);return _0x40ce0f;};const W=Number['parseInt'](0x690efbe9);function _0x5474(){const _0x199ed6=['FormulaDependencyTree','isSkip','removeFeatureFormulaDependency','_removeDependencyRTreeCacheById','defineProperty','_updateRangeFlatten','START_DEPENDENCY','dirtyRanges','setRuntimeFeatureRange','getDirtyNameMap','has','forEach','437682bewkko','Module','_initializeWithOverride','startColumn','_currentConfigService','isCache','generateRandomDependencyTreeId','row','_createVirtualFDtree','rowCount','clear','585950gtWTqh','_apply','next','_config','_executionInProgressListener$','DependencyManagerService','_formulaData','hasOtherFormulaDataMainData','addOtherFormulaDependencyMainData','getOtherFormulaData','_featureFormulaData','intervalCount','getExcludedRange','delete','FormulaExecuteStageType','isForceCalculate','clearOtherFormulaDependency','treeId','_initLicenseValid','return\x20','execute','clearFormulaDependency','ICalculateFormulaService','get','requestImmediateMacroTask','_lexer','_generateTreeList','openKdTree','setFormulaExecuteStage','forValue','setTotalFormulasToCalculate','size','reset','keys','formulaId','_definedNameMap','startRow','1779850wDYszb','isExcludeRange','START_CALCULATION_ARRAY_FORMULA','setValue','FormulaDependencyGenerator','setCurrent','generate','_addAllTreeMap','RTree','isVirtual','toRTreeItem','5392917wFYlAN','removeFormulaDependency','_dependencyTreeCache','IDependencyManagerService','_dependencyRTreeCacheForAddressFunction','bulkSearch','add','_getUpdateTreeListAndMakeDependency','ObjectMatrix','hasOwnProperty','refOffsetY','realDeleteValue','notExecuteFormula','featureId','setRuntimeOtherData','_formulaDependencyGenerator','column','_getFirstCellOfRange','_allTreeMap','_astTreeBuilder','push','24124bbTbVM','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','endRow','FormulaDependencyTreeType','DEFAULT_INTERVAL_COUNT','checkAsyncNode','getFormulaDependency','_otherFormulaDataMainData','_removeDependencyRTreeCache','FEATURE_FORMULA','_dependencyManagerService','IFormulaDependencyGenerator','FormulaDependencyTreeVirtual','_registerOtherFormulas','START_DEPENDENCY_ARRAY_FORMULA','pop','_otherFormulaData','featureDirtyRanges','getValue','unshiftString','getFeatureFormulaDependency','rangeList','setRuntimeFeatureCellData','type','addFormulaDependencyByDefinedName','valid','subUnitId','_convertDirtyRangesToUnitRange','_removeAllTreeMap','setAdded','1906751qFwJho','max','_configService','dependencySheetName','unitId','9kRtLbaR\x20Zitj3cLbaR(dbtiRJi,\x20ck2dbtoi3)\x20{\x20\x20\x20\x20Lj3\x20{\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20dbtiRJipR9aCYjLDjjY3\x20=\x20dbtiRJi.JcdbL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ajbebRfiJJYei\x20=\x20VBgX.cYjJi(YLa2(dbtiRJipR9aCYjLDjjY3[n]));\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!ajbebRfiJJYei.kZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ajbebRfiJJYei.kZ\x20=\x20XkP2ij(dbtiRJipR9aCYjLDjjY3[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20bJrajwij\x20=\x20L3cia9\x20rajwij5da2YdBtaci\x20!==\x20\x27kRZi9bRiZ\x27\x20&&\x20Jid9\x20bRJLYRtia9\x20rajwij5da2YdBtaci;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20taRLiFL\x20=\x20bJrajwij\x20?\x20Jid9\x20:\x20ObRZaO;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYeirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[n]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYei\x20=\x20taRLiFL.__siF__.JLjbReb93(PiJJYeirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkjirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[v]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkji\x20=\x20taRLiFL.__siF__.JLjbReb93(JbeRYLkjirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeR1YdbZ\x20=\x20taRLiFL.__4ijb93__(JbeRYLkji,\x20PiJJYei,\x20ck2dbtoi3);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ZaPYbR\x20=\x20ajbebRfiJJYei.ZP;\x20\x20\x20\x20\x20\x20\x20\x209kRtLbaR\x20bJIaPYbRfYLtKbRe(aCYLLijR,\x20asaJL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijR\x20=\x20aCYLLijR.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJL\x20=\x20asaJL.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRCYjLJ\x20=\x20cYLLijR.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLCYjLJ\x20=\x20KaJL.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!cYLLijR.bRtdkZiJ(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijR\x20===\x20KaJL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(cYLLijRCYjLJ.diReLK\x20<\x20n\x20||\x20cYLLijRCYjLJ[E]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x209YdJi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRBk99bF\x20=\x20cYLLijRCYjLJ.Jdbti(z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLBk99bF\x20=\x20KaJLCYjLJ.Jdbti(-cYLLijRCYjLJ.diReLK\x20+\x20z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijRBk99bF\x20===\x20KaJLBk99bF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20diL\x20ZaPYbR1YdbZ\x20=\x20(ZaPYbR\x20&&\x20ZaPYbR.diReLK)\x20?\x20ZaPYbR.JaPi((ZPpLiP)\x20=>\x20bJIaPYbRfYLtKbRe(ZPpLiP,\x20datYLbaR.KaJLRYPi))\x20:\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(datYLbaR.KaJLRYPi\x20===\x20\x27datYdKaJL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZaPYbR1YdbZ\x20=\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x204YdbZ\x20=\x20JbeR1YdbZ\x20&&\x20ZaPYbR1YdbZ;\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20ajbebRfiJJYei,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20tYLtK\x20(ijjaj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ:\x209YdJi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','refTree','_dependencyRTreeCache','setTotalArrayFormulasToCalculate','searchDependency','881586XsMHgw','node','UniverFormulaEnginePlugin','57cyQXAN','_traverse','UniverProFormulaEnginePlugin','setRuntimeData','CalculateFormulaService','addFormulaDependency','formula','START_CALCULATION','_getTreeNode','resolve','getDirtyData','_otherFormulaManagerService','refOffsetX','getRuntimeState','addFeatureFormulaDependency','DependencyManagerBaseService','_runtimeService','dispose','bulkRemove','removeFormulaDependencyByDefinedName','addOtherFormulaDependency','_getTreeById','_calculateRunList','markedAsNoFunctionsExecuted','getFormulaData','closeKdTree','isFeatureAuthorizedWithinTime','isStopExecution','prototype','8WVfabD','CURRENTLY_CALCULATING','setCompletedArrayFormulasCount','getConfig','toStringTag','_checkIsCycleDependency','columnCount','IDLE','call','getOtherFormulaDependency','getAllRuntimeData','_createFDtree','getUnitData','set','min','isAdded','length','markedAsSuccessfullyExecuted','getClearDependencyTreeCache','getDirtyRanges','isDirty','setSkip','getOwnPropertyDescriptor','_isCyclicUtilMap','_injector'];_0x5474=function(){return _0x199ed6;};return _0x5474();}exports[_0x188d2b(0x135)]=class extends u[_0x188d2b(0x132)]{[_0x188d2b(0x177)](){const _0x5bcc3f=_0x188d2b;var _0x57eb7f,_0x5339ee;this[_0x5bcc3f(0x192)]()?(_0x57eb7f=this[_0x5bcc3f(0x183)])!=null&&_0x57eb7f['notExecuteFormula']||[[u[_0x5bcc3f(0x196)],{'useClass':Z}],[u[_0x5bcc3f(0x1b3)],{'useClass':B}],[u[_0x5bcc3f(0x1d0)],{'useClass':K}]]['forEach'](_0x16093d=>this[_0x5bcc3f(0x168)][_0x5bcc3f(0x1b6)](_0x16093d)):(_0x5339ee=this[_0x5bcc3f(0x183)])!=null&&_0x5339ee[_0x5bcc3f(0x1bc)]||[[u['ICalculateFormulaService'],{'useClass':u[_0x5bcc3f(0x137)]}],[u['IDependencyManagerService'],{'useClass':u[_0x5bcc3f(0x185)]}],[u[_0x5bcc3f(0x1d0)],{'useClass':u['FormulaDependencyGenerator']}]][_0x5bcc3f(0x174)](_0x1813e5=>this[_0x5bcc3f(0x168)][_0x5bcc3f(0x1b6)](_0x1813e5));}[_0x188d2b(0x192)](){const _0x4c0172=_0x188d2b;var _0x47389b;const _0x19b8ec=(_0x47389b=this[_0x4c0172(0x128)][_0x4c0172(0x153)](v['LS_CONFIG_KEY']))!=null?_0x47389b:{},{ls:_0x49f216,pbk:_0x3c02d5}=_0x19b8ec;if(!_0x49f216||!_0x3c02d5)return!0x1;const _0x88413=v[_0x4c0172(0x1d8)](N,U),_0xa8bb04=new Function(_0x4c0172(0x193)+_0x88413)()(_0x49f216,_0x3c02d5),_0x7ea54=_0xa8bb04['message'];return _0xa8bb04[_0x4c0172(0x121)]&&v[_0x4c0172(0x14d)](_0x7ea54,'sf',W)?v['getSheetFeatureLimit'](_0x7ea54,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},exports[_0x188d2b(0x135)]=G([T['DependentOn'](v['UniverLicensePlugin'])],exports[_0x188d2b(0x135)]),Object[_0x188d2b(0x1a1)](u)[_0x188d2b(0x174)](_0x4601e2=>{const _0x2ef587=_0x188d2b;_0x4601e2!=='default'&&!Object[_0x2ef587(0x14f)][_0x2ef587(0x1b9)][_0x2ef587(0x158)](exports,_0x4601e2)&&Object['defineProperty'](exports,_0x4601e2,{'enumerable':!0x0,'get':()=>u[_0x4601e2]});});
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x465327,_0x2e8aad){var _0x102332=_0x2125,_0x3d5033=_0x465327();while(!![]){try{var _0x592649=-parseInt(_0x102332(0x1fe))/0x1*(parseInt(_0x102332(0x1f7))/0x2)+-parseInt(_0x102332(0x1fc))/0x3*(-parseInt(_0x102332(0x1fa))/0x4)+parseInt(_0x102332(0x1f8))/0x5+parseInt(_0x102332(0x1fd))/0x6*(-parseInt(_0x102332(0x1f5))/0x7)+parseInt(_0x102332(0x1f6))/0x8+-parseInt(_0x102332(0x1f9))/0x9*(parseInt(_0x102332(0x1f4))/0xa)+parseInt(_0x102332(0x1fb))/0xb;if(_0x592649===_0x2e8aad)break;else _0x3d5033['push'](_0x3d5033['shift']());}catch(_0x31b180){_0x3d5033['push'](_0x3d5033['shift']());}}}(_0x39a2,0x7396f));function _0x39a2(){var _0x20ef49=['3rLOzsN','1186302VnxHdI','152QOZrwE','170PIjBRt','7mEbeYa','1870840iQfNzf','1464VjwHJP','2634565PsiYvy','345312PkqFdS','437432UdMorH','6210226pSGsSH'];_0x39a2=function(){return _0x20ef49;};return _0x39a2();}function _0x2125(_0x43b612,_0x500ff9){var _0x39a213=_0x39a2();return _0x2125=function(_0x21256a,_0x5c42fc){_0x21256a=_0x21256a-0x1f4;var _0x1baf4b=_0x39a213[_0x21256a];return _0x1baf4b;},_0x2125(_0x43b612,_0x500ff9);}export*from'@univerjs/engine-formula/facade';
1
+ function _0x58ac(_0x1a3b86,_0x3d6545){var _0x35d92d=_0x35d9();return _0x58ac=function(_0x58ace1,_0x2504a2){_0x58ace1=_0x58ace1-0x184;var _0x405983=_0x35d92d[_0x58ace1];return _0x405983;},_0x58ac(_0x1a3b86,_0x3d6545);}function _0x35d9(){var _0x1eea4a=['1313755OKvKHY','7861eajhFM','1329100EZYgre','4584Psdnno','314211kMZzQz','18RsYjvE','107392CaIcAe','1056RpglAl','646767rDCxAN'];_0x35d9=function(){return _0x1eea4a;};return _0x35d9();}(function(_0x4d9c82,_0xa68100){var _0x33b316=_0x58ac,_0x3cbcd0=_0x4d9c82();while(!![]){try{var _0xbb9398=parseInt(_0x33b316(0x188))/0x1+-parseInt(_0x33b316(0x18a))/0x2*(-parseInt(_0x33b316(0x189))/0x3)+-parseInt(_0x33b316(0x186))/0x4+-parseInt(_0x33b316(0x184))/0x5+parseInt(_0x33b316(0x18b))/0x6*(parseInt(_0x33b316(0x185))/0x7)+parseInt(_0x33b316(0x187))/0x8+-parseInt(_0x33b316(0x18c))/0x9;if(_0xbb9398===_0xa68100)break;else _0x3cbcd0['push'](_0x3cbcd0['shift']());}catch(_0x3a3fac){_0x3cbcd0['push'](_0x3cbcd0['shift']());}}}(_0x35d9,0x28f27));export*from'@univerjs/engine-formula/facade';
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5229(_0x1378be,_0xbe05f4){const _0x505539=_0x5055();return _0x5229=function(_0x522971,_0x219fd2){_0x522971=_0x522971-0xb0;let _0x721c33=_0x505539[_0x522971];return _0x721c33;},_0x5229(_0x1378be,_0xbe05f4);}const _0x239cfc=_0x5229;(function(_0x302b96,_0x5e872f){const _0x48fa9f=_0x5229,_0x1f5e8d=_0x302b96();while(!![]){try{const _0x58b25e=-parseInt(_0x48fa9f(0x11b))/0x1+-parseInt(_0x48fa9f(0xb2))/0x2+parseInt(_0x48fa9f(0xcf))/0x3+parseInt(_0x48fa9f(0xbe))/0x4+-parseInt(_0x48fa9f(0x109))/0x5+-parseInt(_0x48fa9f(0x134))/0x6*(parseInt(_0x48fa9f(0x103))/0x7)+parseInt(_0x48fa9f(0xfb))/0x8;if(_0x58b25e===_0x5e872f)break;else _0x1f5e8d['push'](_0x1f5e8d['shift']());}catch(_0xa0504){_0x1f5e8d['push'](_0x1f5e8d['shift']());}}}(_0x5055,0x6e962));var G=Object['defineProperty'],W=(_0x579bb2,_0x393800,_0x333adf)=>_0x393800 in _0x579bb2?G(_0x579bb2,_0x393800,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333adf}):_0x579bb2[_0x393800]=_0x333adf,S=(_0x19eb00,_0x1345f0,_0x1ed2c9)=>W(_0x19eb00,typeof _0x1345f0!=_0x239cfc(0x102)?_0x1345f0+'':_0x1345f0,_0x1ed2c9);import{UniverLicensePlugin as _0x3c157e,LS_CONFIG_KEY as _0x2a3ae7,unshiftString as _0x51ce0b,isFeatureAuthorizedWithinTime as _0x8ee774,getSheetFeatureLimit as _0x505f7c}from'@univerjs-pro/license';import{ObjectMatrix as _0x4b1243,requestImmediateMacroTask as _0x4c0bf1,RTree as _0x47d3e1,DependentOn as _0x2b746c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1728bb,generateRandomDependencyTreeId as _0x1cae6e,FormulaDependencyTree as _0x521019,FormulaDependencyTreeType as _0x2cc8cb,FormulaDependencyTreeVirtual as _0x2d8fb5,generateAstNode as _0x363971,CalculateFormulaService as _0x1526de,FormulaExecuteStageType as _0x2a96bf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1e39eb,DEFAULT_INTERVAL_COUNT as _0x319cc7,DependencyManagerBaseService as _0x51d43b,UniverFormulaEnginePlugin as _0x1dbb56,ICalculateFormulaService as _0x21eb5a,IDependencyManagerService as _0x51bc1e,IFormulaDependencyGenerator as _0x900956,DependencyManagerService as _0x2fc196}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},ue='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1728bb{constructor(){const _0xabef52=_0x239cfc;super(...arguments),S(this,_0xabef52(0xf8),new Map());}[_0x239cfc(0x124)](){const _0x2a0491=_0x239cfc;super[_0x2a0491(0x124)](),this[_0x2a0491(0xf8)][_0x2a0491(0x11c)]();}async[_0x239cfc(0x149)](){const _0x2cac5e=_0x239cfc;this[_0x2cac5e(0x137)]();const _0x2e57ac=this[_0x2cac5e(0xe9)][_0x2cac5e(0x107)](),_0xbac36e=this[_0x2cac5e(0xeb)][_0x2cac5e(0x14e)](),_0x197a92=this[_0x2cac5e(0xe9)][_0x2cac5e(0xb0)]();_0x197a92!=null&&Object['keys'](_0x197a92)[_0x2cac5e(0xd5)](_0xcb4ab4=>{_0xcb4ab4!=null&&Object['keys'](_0x197a92[_0xcb4ab4])['forEach'](_0x4f3d4d=>{const _0x32e3bb=_0x5229;_0x4f3d4d!=null&&(this[_0x32e3bb(0x14a)][_0x32e3bb(0x10e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x12e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x13a)](_0xcb4ab4,_0x4f3d4d));});});const _0x593019=this[_0x2cac5e(0xe9)]['getUnitData']();await this[_0x2cac5e(0x119)](_0x2e57ac,_0xbac36e,_0x593019),this['_dependencyManagerService']['openKdTree']();const _0x4d1c2a=this['_getUpdateTreeListAndMakeDependency'](),_0x2a55ac=this[_0x2cac5e(0xf1)](_0x4d1c2a);return this[_0x2cac5e(0xf5)](_0x2a55ac)&&this[_0x2cac5e(0xe8)][_0x2cac5e(0x136)](),this[_0x2cac5e(0xf8)][_0x2cac5e(0x11c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2cac5e(0x11c)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x2cac5e(0xdf)](_0x2a55ac);}[_0x239cfc(0xbd)](_0xdfa984,_0x304f0f){const _0x35c877=_0x239cfc,_0x42c65a=[_0xdfa984];for(;_0x42c65a['length']>0x0;){const _0x4dee43=_0x42c65a[_0x42c65a[_0x35c877(0xba)]-0x1];if((_0x304f0f['get'](_0x4dee43)||0x0)===0x0){_0x304f0f[_0x35c877(0x152)](_0x4dee43,0x1);const _0x13be6=this[_0x35c877(0xf8)]['get'](_0x4dee43);if(_0x13be6==null){_0x304f0f['set'](_0x4dee43,0x2),_0x42c65a[_0x35c877(0x12b)]();continue;}const _0x18b7b0=this[_0x35c877(0x14a)][_0x35c877(0x130)](_0x13be6['toRTreeItem']());for(const _0x4a0df4 of _0x18b7b0){const _0x5cd4d0=_0x304f0f['get'](_0x4a0df4)||0x0;if(_0x5cd4d0===0x1)return!0x0;_0x5cd4d0===0x0&&_0x42c65a[_0x35c877(0xe3)](_0x4a0df4);}}else _0x304f0f[_0x35c877(0x152)](_0x4dee43,0x2),_0x42c65a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x34a9f8){const _0x8bf60b=_0x239cfc,_0x2dd349=new Map();for(const _0x2c3390 of _0x34a9f8)if(!_0x2dd349[_0x8bf60b(0xd3)](_0x2c3390[_0x8bf60b(0x13c)])&&this['_isCyclicUtilMap'](_0x2c3390[_0x8bf60b(0x13c)],_0x2dd349))return!0x0;return _0x2dd349[_0x8bf60b(0x11c)](),!0x1;}['_getFeatureFormulaTree'](_0x1261f8,_0x4f40e9,_0xa5067a){const _0x5bab28=_0x239cfc,{unitId:_0x45d5b4,subUnitId:_0x227707,dependencyRanges:_0x1f120a,getDirtyData:_0x32d246}=_0xa5067a,_0x3aab95=_0x4f40e9||_0x1cae6e(this[_0x5bab28(0x14a)]),_0x16d749=new _0x521019(_0x3aab95);_0x16d749[_0x5bab28(0x114)]=_0x45d5b4,_0x16d749[_0x5bab28(0xb1)]=_0x227707,_0x16d749[_0x5bab28(0xe5)]=_0x1f120a,_0x16d749[_0x5bab28(0xfd)]=_0x32d246;const _0x33a9f1=_0x32d246(this[_0x5bab28(0xe9)]['getDirtyData'](),this['_runtimeService'][_0x5bab28(0x11a)]()),_0x3ba764=this['_convertDirtyRangesToUnitRange'](_0x33a9f1[_0x5bab28(0x14c)]);return _0x16d749[_0x5bab28(0xca)]=_0x3ba764,_0x16d749['featureId']=_0x1261f8,_0x16d749[_0x5bab28(0x10a)]=_0x2cc8cb[_0x5bab28(0xb4)],this[_0x5bab28(0x14a)]['addFeatureFormulaDependency'](_0x45d5b4,_0x227707,_0x1261f8,_0x16d749),this['_dependencyTreeCache']['set'](_0x16d749['treeId'],_0x16d749),this['_dependencyManagerService'][_0x5bab28(0xd8)](_0xa5067a[_0x5bab28(0x114)],_0xa5067a[_0x5bab28(0xb1)],_0x1261f8)&&(_0x16d749[_0x5bab28(0x123)]=!0x0),_0x16d749;}[_0x239cfc(0x10b)](_0xe3aa1b,_0x296d0b,_0x4b9f0e){const _0x598abe=_0x239cfc;var _0xecc3d;for(const _0x25b792 of _0x296d0b){const _0x26b2ca=_0xe3aa1b[_0x25b792];if(_0x26b2ca==null)continue;const _0x52126c=Object[_0x598abe(0x132)](_0x26b2ca);for(const _0x105477 of _0x52126c){const _0x4dc2cf=_0x26b2ca[_0x105477];if(_0x4dc2cf==null)continue;const _0x349a7d=Object['keys'](_0x4dc2cf);for(const _0x2df35d of _0x349a7d){const _0x3dc07b=this[_0x598abe(0x14a)][_0x598abe(0x150)](_0x2df35d),_0x3ac866=_0x4dc2cf[_0x2df35d],{f:_0x58c262,ranges:_0x5a5899}=_0x3ac866;let _0x238235=!0x1;_0x3dc07b&&(_0x238235=!0x0);const {firstRow:_0x1d0305,firstColumn:_0x528517}=this[_0x598abe(0xdc)](_0x5a5899),_0x2d0f7c=this[_0x598abe(0x14a)][_0x598abe(0x111)](_0x25b792,_0x105477,_0x2df35d),_0x313bc4=(_0xecc3d=_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](0x0,0x0))!=null?_0xecc3d:_0x1cae6e(this[_0x598abe(0x14a)]),_0x308504=new _0x521019(_0x313bc4);for(let _0x160cab=0x0;_0x160cab<_0x5a5899[_0x598abe(0xba)];_0x160cab++){const _0x1421c1=_0x5a5899[_0x160cab],{startRow:_0x24b138,startColumn:_0x178f50,endRow:_0x4809b9,endColumn:_0x2af087}=_0x1421c1;for(let _0x4637b6=_0x24b138;_0x4637b6<=_0x4809b9;_0x4637b6++)for(let _0x39030f=_0x178f50;_0x39030f<=_0x2af087;_0x39030f++){const _0x4be3ce=_0x39030f-_0x528517,_0x160393=_0x4637b6-_0x1d0305;if(_0x4be3ce===0x0&&_0x160393===0x0){_0x308504[_0x598abe(0xd0)]=_0x58c262,_0x308504[_0x598abe(0x114)]=_0x25b792,_0x308504[_0x598abe(0xb1)]=_0x105477,_0x308504[_0x598abe(0xec)]=_0x2df35d,_0x308504[_0x598abe(0x10a)]=_0x2cc8cb[_0x598abe(0xb3)],_0x308504['isCache']=_0x238235,_0x4b9f0e[_0x598abe(0xe3)](_0x308504),this[_0x598abe(0xf8)][_0x598abe(0x152)](_0x308504['treeId'],_0x308504),this[_0x598abe(0x14a)]['addOtherFormulaDependency'](_0x25b792,_0x105477,_0x2df35d,_0x308504),this[_0x598abe(0x14a)]['addFormulaDependencyByDefinedName'](_0x308504);continue;}const _0x2b037c=new _0x2d8fb5();_0x2b037c['treeId']=(_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](_0x4be3ce,_0x160393))||_0x1cae6e(this['_dependencyManagerService']),_0x2b037c['refTree']=_0x308504,_0x2b037c[_0x598abe(0x10c)]=_0x4be3ce,_0x2b037c[_0x598abe(0x11d)]=_0x160393,_0x2b037c[_0x598abe(0x123)]=_0x238235,this['_dependencyManagerService'][_0x598abe(0x144)](_0x25b792,_0x105477,_0x2df35d,_0x2b037c),this['_dependencyManagerService'][_0x598abe(0xf2)](_0x2b037c),_0x4b9f0e['push'](_0x2b037c),this['_dependencyTreeCache'][_0x598abe(0x152)](_0x2b037c[_0x598abe(0x13c)],_0x2b037c);}}this[_0x598abe(0x14a)][_0x598abe(0xfa)](_0x2df35d);}}}}[_0x239cfc(0x146)](_0x408352,_0x2a6c6b,_0x24d9c6,_0x250857){const _0x2234a1=_0x239cfc;for(const _0x1ac1b3 of _0x408352){const _0x10c77c=_0x2a6c6b[_0x1ac1b3];if(_0x10c77c==null)continue;const _0x2809c3=Object[_0x2234a1(0x132)](_0x10c77c);for(const _0x341cf2 of _0x2809c3){const _0x2edd54=new _0x4b1243(_0x10c77c[_0x341cf2]||{}),_0x3cbf58=new Map();_0x2edd54[_0x2234a1(0xe2)]((_0x5a44c1,_0x298b9c,_0x4edb15)=>{const _0x2f45bb=_0x2234a1;if(_0x4edb15==null)return!0x0;const {x:_0x1c3fc7=0x0,y:_0x1518d8=0x0,si:_0x3229c7}=_0x4edb15;if(!(_0x1c3fc7===0x0&&_0x1518d8===0x0&&_0x3229c7!=null))return!0x0;const _0x39464d=this[_0x2f45bb(0x113)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x24d9c6,_0x4edb15),_0x428bce=this[_0x2f45bb(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c);_0x428bce!=null?_0x39464d[_0x2f45bb(0x13c)]=_0x428bce:(this[_0x2f45bb(0x14a)][_0x2f45bb(0x148)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x39464d),this[_0x2f45bb(0x14a)][_0x2f45bb(0xf2)](_0x39464d)),_0x3cbf58['set'](_0x3229c7,_0x39464d),_0x250857[_0x2f45bb(0xe3)](_0x39464d),this[_0x2f45bb(0xf8)][_0x2f45bb(0x152)](_0x39464d[_0x2f45bb(0x13c)],_0x39464d);}),_0x2edd54[_0x2234a1(0xe2)]((_0x1023ca,_0x5b40d9,_0x3859f1)=>{const _0x58887b=_0x2234a1;if(_0x3859f1==null)return!0x0;const {x:_0x12f66e=0x0,y:_0xa44433=0x0,si:_0x412877}=_0x3859f1;if(_0x12f66e===0x0&&_0xa44433===0x0&&_0x412877!=null)return!0x0;let _0x3a9fce;if(_0x412877&&_0x3cbf58['has'](_0x412877)){const _0xd5f618=_0x3cbf58[_0x58887b(0x12f)](_0x412877);_0x3a9fce=this[_0x58887b(0x110)](_0xd5f618,_0x3859f1);}else _0x3a9fce=this[_0x58887b(0x113)](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x24d9c6,_0x3859f1);const _0x3d460a=this[_0x58887b(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9);_0x3d460a!=null?_0x3a9fce[_0x58887b(0x13c)]=_0x3d460a:(this[_0x58887b(0x14a)]['addFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x3a9fce),this[_0x58887b(0x14a)][_0x58887b(0xf2)](_0x3a9fce)),_0x250857[_0x58887b(0xe3)](_0x3a9fce),this[_0x58887b(0xf8)][_0x58887b(0x152)](_0x3a9fce[_0x58887b(0x13c)],_0x3a9fce);}),_0x3cbf58['clear']();}}}['_createFDtree'](_0x3d41af,_0x31b192,_0x5aa918,_0x1b9438,_0x137dfa,_0x3a40dc){const _0x33bfbb=_0x239cfc,{f:_0x153608,x:_0x2be7a7=0x0,y:_0x5990d0=0x0}=_0x3a40dc,_0x48ed48=new _0x521019(_0x1cae6e(this['_dependencyManagerService'])),_0x33e0ba=_0x137dfa[_0x3d41af][_0x31b192];return _0x48ed48[_0x33bfbb(0xd0)]=_0x153608,_0x48ed48['unitId']=_0x3d41af,_0x48ed48[_0x33bfbb(0xb1)]=_0x31b192,_0x48ed48[_0x33bfbb(0x11e)]=_0x5aa918,_0x48ed48[_0x33bfbb(0x117)]=_0x1b9438,_0x48ed48[_0x33bfbb(0x122)]=_0x33e0ba[_0x33bfbb(0x122)],_0x48ed48[_0x33bfbb(0xcd)]=_0x33e0ba[_0x33bfbb(0xcd)],_0x48ed48;}[_0x239cfc(0x133)](){const _0xdc111=_0x239cfc,_0x1ef472=[],_0x1a376c=new Set(),_0x119769=this['_currentConfigService'][_0xdc111(0x125)](),_0x4f8e45=this[_0xdc111(0xe9)][_0xdc111(0x13e)](),_0x11c6d9=this[_0xdc111(0x14a)][_0xdc111(0x130)](_0x4f8e45),_0x3fd74e=this[_0xdc111(0x108)][_0xdc111(0x127)](_0x4f8e45);for(const _0x2378c3 of _0x3fd74e)_0x11c6d9[_0xdc111(0x14b)](_0x2378c3);for(const [_0x5b98a8,_0x1bda32]of this[_0xdc111(0xf8)])(_0x119769||_0x1bda32['isDirty']||_0x1bda32[_0xdc111(0xdb)](this[_0xdc111(0xe9)]['getDirtyNameMap']())||_0x11c6d9[_0xdc111(0xd3)](_0x5b98a8)&&!_0x1bda32[_0xdc111(0xf9)](this[_0xdc111(0xe9)][_0xdc111(0x14d)]()))&&!_0x1a376c[_0xdc111(0xd3)](_0x5b98a8)&&(_0x1ef472[_0xdc111(0xe3)](_0x1bda32),_0x1a376c[_0xdc111(0x14b)](_0x5b98a8));for(const [_0x4bea4d,_0x405c91]of this[_0xdc111(0xf8)])_0x405c91[_0xdc111(0xe1)]||(_0x405c91[_0xdc111(0xe5)][_0xdc111(0xba)]=0x0);return _0x1ef472;}[_0x239cfc(0x126)](_0x5225ce){const _0x3c5669=_0x239cfc;return this[_0x3c5669(0xf8)][_0x3c5669(0x12f)](_0x5225ce);}[_0x239cfc(0x112)](_0x1ee656){const _0x23b734=_0x239cfc;return _0x363971(_0x1ee656['unitId'],_0x1ee656[_0x23b734(0xd0)],this[_0x23b734(0xfe)],this[_0x23b734(0xb7)],this[_0x23b734(0xe9)]);}*[_0x239cfc(0xe0)](_0x5ead6a,_0x2428df){const _0x49b165=_0x239cfc,_0x4433ef=_0x5ead6a,_0x193683=new Set();for(;_0x4433ef['length']>0x0;){const _0xe06db9=_0x4433ef['pop']();if(_0x193683[_0x49b165(0x11c)](),_0xe06db9===void 0x0||_0xe06db9[_0x49b165(0x13f)]())continue;if(_0xe06db9[_0x49b165(0x101)]()){yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);continue;}const _0x49171e=this[_0x49b165(0x14a)][_0x49b165(0x130)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df),_0x47413f=this[_0x49b165(0x108)][_0x49b165(0x127)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df);for(const _0x38f671 of _0x47413f)_0x49171e[_0x49b165(0x14b)](_0x38f671);for(const _0xf34c68 of _0x49171e){const _0x48e34f=this['_dependencyTreeCache'][_0x49b165(0x12f)](_0xf34c68);if(!_0x48e34f)throw new Error(_0x49b165(0xf0));_0x48e34f[_0x49b165(0x101)]()||_0xe06db9['isSkip']()||_0x193683[_0x49b165(0x14b)](_0x48e34f);}if(_0x49171e['clear'](),_0x193683[_0x49b165(0x138)]===0x0)yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);else{_0xe06db9['setAdded'](),_0x4433ef[_0x49b165(0xe3)](_0xe06db9);for(const _0xee9dd0 of _0x193683)_0x4433ef[_0x49b165(0xe3)](_0xee9dd0);}}_0x4433ef[_0x49b165(0xba)]=0x0,_0x193683[_0x49b165(0x11c)]();}[_0x239cfc(0xf1)](_0x52197f){const _0x1c3539=_0x239cfc,_0x356679=[],_0xe23666=new Set();for(const _0x2f3ea9 of this[_0x1c3539(0xe0)](_0x52197f,_0xe23666))_0x356679['push'](_0x2f3ea9);return _0x356679;}}class he extends _0x1526de{async['_apply'](_0x401ec2=!0x1){const _0x139db7=_0x239cfc;_0x401ec2?this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc5)]):this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf['START_DEPENDENCY']),this[_0x139db7(0xbc)]['next'](this[_0x139db7(0xe8)][_0x139db7(0x147)]());const _0x2572c5=await this[_0x139db7(0xd1)][_0x139db7(0x149)](),_0x41183d=this[_0x139db7(0xde)];_0x401ec2?(this[_0x139db7(0xe8)]['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x115)]),this[_0x139db7(0xe8)][_0x139db7(0xff)](_0x2572c5['length'])):(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xdd)]),this[_0x139db7(0xe8)][_0x139db7(0xc4)](_0x2572c5[_0x139db7(0xba)])),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this['_runtimeService']['getRuntimeState']());let _0x4257e0=[];const _0x32607c=this[_0x139db7(0xef)]['getConfig'](_0x1e39eb),_0x4a32b0=(_0x32607c==null?void 0x0:_0x32607c[_0x139db7(0xb9)])||_0x319cc7;let _0x45e8c8=0x0;const _0x4631cf=_0x2572c5[_0x139db7(0xba)];for(;_0x2572c5[_0x139db7(0xba)]>0x0;){const _0x4629a5=_0x2572c5['pop'](),_0x285f8d={'node':_0x363971(_0x4629a5[_0x139db7(0x114)],_0x4629a5['formula'],this['_lexer'],this[_0x139db7(0xb7)],this[_0x139db7(0xe9)]),'refOffsetX':_0x4629a5[_0x139db7(0x10c)],'refOffsetY':_0x4629a5[_0x139db7(0x11d)]},_0x4a56eb=_0x4629a5[_0x139db7(0xfd)];if(_0x45e8c8%_0x4a32b0===0x0&&(await new Promise(_0x3dcc7a=>{const _0x2d9f1d=_0x139db7,_0x15ae01=_0x4c0bf1(_0x3dcc7a);_0x4257e0[_0x2d9f1d(0xe3)](_0x15ae01);}),_0x401ec2?(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x139db7(0xe8)][_0x139db7(0x128)](_0x45e8c8+0x1)):(this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc8)]),this[_0x139db7(0xe8)]['setCompletedFormulasCount'](_0x45e8c8+0x1)),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x147)]()),this[_0x139db7(0xe8)][_0x139db7(0x106)]()||_0x285f8d==null&&_0x4a56eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x121)]),this['_runtimeService'][_0x139db7(0x116)](),this[_0x139db7(0xc0)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x11a)]());return;}this[_0x139db7(0xe8)][_0x139db7(0xd9)](_0x4629a5[_0x139db7(0x11e)],_0x4629a5['column'],_0x4629a5[_0x139db7(0x122)],_0x4629a5[_0x139db7(0xcd)],_0x4629a5[_0x139db7(0xb1)],_0x4629a5[_0x139db7(0x114)]);let _0x26941f;if(_0x4a56eb!=null&&_0x4629a5[_0x139db7(0xf6)]!=null){const {runtimeCellData:_0x1bb05e,dirtyRanges:_0x1300cc}=_0x4a56eb(this[_0x139db7(0xe9)][_0x139db7(0xfd)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]());this[_0x139db7(0xe8)][_0x139db7(0x10f)](_0x4629a5[_0x139db7(0xf6)],_0x1bb05e),this[_0x139db7(0xe8)][_0x139db7(0xc7)](_0x4629a5[_0x139db7(0xf6)],_0x1300cc);}else _0x285f8d!=null&&(_0x41183d[_0x139db7(0xe6)](_0x285f8d[_0x139db7(0x140)])?_0x26941f=await _0x41183d[_0x139db7(0xc6)](_0x285f8d):_0x26941f=_0x41183d[_0x139db7(0x100)](_0x285f8d),_0x4629a5[_0x139db7(0xec)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4629a5[_0x139db7(0xec)],_0x4629a5['refOffsetX'],_0x4629a5[_0x139db7(0x11d)],_0x26941f):this[_0x139db7(0xe8)][_0x139db7(0xc2)](_0x26941f));_0x45e8c8++;}return _0x4257e0[_0x139db7(0xd5)](_0x2e69b5=>_0x2e69b5()),_0x4257e0=[],_0x4631cf>0x0?this[_0x139db7(0xe8)][_0x139db7(0x13d)]():_0x401ec2||this[_0x139db7(0xe8)][_0x139db7(0xea)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]();}}class pe extends _0x51d43b{constructor(){const _0x2b4b17=_0x239cfc;super(...arguments),S(this,_0x2b4b17(0xb6),new Map()),S(this,_0x2b4b17(0x12d),new _0x47d3e1(!0x0));}[_0x239cfc(0xc9)](){const _0x151c91=_0x239cfc;this[_0x151c91(0xda)][_0x151c91(0x11c)](),this[_0x151c91(0xd6)][_0x151c91(0x11c)](),this[_0x151c91(0xb5)][_0x151c91(0x11c)](),this[_0x151c91(0x12d)][_0x151c91(0x11c)](),this[_0x151c91(0xb6)][_0x151c91(0x11c)](),this[_0x151c91(0x105)](),this['_otherFormulaDataMainData'][_0x151c91(0x11c)]();}[_0x239cfc(0x144)](_0x9e52f2,_0x52b21a,_0x4a2b5e,_0x42cc27){const _0x361196=_0x239cfc;this[_0x361196(0xda)]['has'](_0x9e52f2)||this[_0x361196(0xda)]['set'](_0x9e52f2,new Map());const _0x42517b=this[_0x361196(0xda)][_0x361196(0x12f)](_0x9e52f2);_0x42517b[_0x361196(0xd3)](_0x52b21a)||_0x42517b[_0x361196(0x152)](_0x52b21a,new Map());const _0x4f3316=_0x42517b[_0x361196(0x12f)](_0x52b21a);_0x4f3316[_0x361196(0xd3)](_0x4a2b5e)||_0x4f3316['set'](_0x4a2b5e,new _0x4b1243()),_0x4f3316['get'](_0x4a2b5e)[_0x361196(0xfc)](_0x42cc27['refOffsetX'],_0x42cc27[_0x361196(0x11d)],_0x42cc27[_0x361196(0x13c)]);}[_0x239cfc(0xc1)](_0x2649b9,_0x42ff46,_0x126848){const _0x3edeae=_0x239cfc,_0x5310cf=this[_0x3edeae(0xda)][_0x3edeae(0x12f)](_0x2649b9);if(_0x5310cf&&_0x5310cf[_0x3edeae(0xd3)](_0x42ff46)){const _0x1089fe=_0x5310cf['get'](_0x42ff46);_0x126848['forEach'](_0x540e06=>{const _0x27cbff=_0x3edeae,_0x3c6e74=_0x1089fe[_0x27cbff(0x12f)](_0x540e06);_0x3c6e74!=null&&(_0x3c6e74[_0x27cbff(0xe2)]((_0x571844,_0x4be512,_0x548ff3)=>{const _0x28846=_0x27cbff;this['_removeDependencyRTreeCache'](_0x548ff3),this[_0x28846(0x129)](_0x548ff3);}),_0x1089fe[_0x27cbff(0xed)](_0x540e06),this[_0x27cbff(0x145)][_0x27cbff(0xed)](_0x540e06));}),_0x1089fe[_0x3edeae(0x138)]===0x0&&_0x5310cf['delete'](_0x42ff46),_0x5310cf['size']===0x0&&this[_0x3edeae(0xda)][_0x3edeae(0xed)](_0x2649b9);}}[_0x239cfc(0x10e)](_0x4d489b,_0x3e6e68){const _0x1c3b56=_0x239cfc,_0x468ab4=this['_otherFormulaData'][_0x1c3b56(0x12f)](_0x4d489b);if(_0x3e6e68&&_0x468ab4&&_0x468ab4['has'](_0x3e6e68)){const _0x509537=_0x468ab4['get'](_0x3e6e68);this[_0x1c3b56(0x12a)](_0x4d489b,_0x3e6e68);for(const _0x3d19d6 of _0x509537[_0x1c3b56(0x132)]()){const _0x14309e=_0x509537[_0x1c3b56(0x12f)](_0x3d19d6);_0x14309e!=null&&(_0x14309e[_0x1c3b56(0xe2)]((_0x31994a,_0x43e5ec,_0x351e38)=>{const _0x4b4277=_0x1c3b56;this[_0x4b4277(0xb6)]['get'](_0x351e38)&&this[_0x4b4277(0x129)](_0x351e38);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x3d19d6));}_0x509537[_0x1c3b56(0x11c)]();}else{if(_0x468ab4){for(const _0x1b4cb1 of _0x468ab4['keys']()){const _0x3a1d0d=_0x468ab4[_0x1c3b56(0x12f)](_0x1b4cb1);this[_0x1c3b56(0x12a)](_0x4d489b,_0x1b4cb1);for(const _0x1338be of _0x3a1d0d['keys']()){const _0x48cc9a=_0x3a1d0d[_0x1c3b56(0x12f)](_0x1338be);_0x48cc9a!=null&&(_0x48cc9a[_0x1c3b56(0xe2)]((_0x177dcd,_0x5a8773,_0x50cccf)=>{const _0x46ec7d=_0x1c3b56;this[_0x46ec7d(0xb6)][_0x46ec7d(0x12f)](_0x50cccf)&&this[_0x46ec7d(0x129)](_0x50cccf);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x1338be));}}this['_otherFormulaData'][_0x1c3b56(0xed)](_0x4d489b);}}}[_0x239cfc(0xd4)](_0x1e5eca,_0x212d32,_0x3f1323,_0x24a299){const _0x51b616=_0x239cfc;this['_featureFormulaData'][_0x51b616(0xd3)](_0x1e5eca)||this[_0x51b616(0xd6)][_0x51b616(0x152)](_0x1e5eca,new Map());const _0x2d25bd=this['_featureFormulaData']['get'](_0x1e5eca);_0x2d25bd[_0x51b616(0xd3)](_0x212d32)||_0x2d25bd['set'](_0x212d32,new Map()),_0x2d25bd[_0x51b616(0x12f)](_0x212d32)['set'](_0x3f1323,_0x24a299[_0x51b616(0x13c)]);}[_0x239cfc(0xb8)](_0x12bc4b,_0x2b01af,_0x4db8ff){const _0x40aefa=_0x239cfc,_0x22dcb6=this[_0x40aefa(0xd6)][_0x40aefa(0x12f)](_0x12bc4b);if(_0x22dcb6&&_0x22dcb6[_0x40aefa(0xd3)](_0x2b01af)){const _0x10c89a=_0x22dcb6[_0x40aefa(0x12f)](_0x2b01af);_0x4db8ff[_0x40aefa(0xd5)](_0x14731a=>{const _0x332bf4=_0x40aefa,_0x22e40d=_0x10c89a[_0x332bf4(0x12f)](_0x14731a);_0x22e40d!=null&&(this[_0x332bf4(0x11f)](_0x22e40d),_0x10c89a['delete'](_0x14731a),this[_0x332bf4(0x129)](_0x22e40d));});}}['clearFeatureFormulaDependency'](_0x51fcf4,_0x1e0318){const _0x3b4c3e=_0x239cfc,_0x106de7=this[_0x3b4c3e(0xd6)][_0x3b4c3e(0x12f)](_0x51fcf4);if(_0x1e0318&&_0x106de7&&_0x106de7['has'](_0x1e0318)){const _0x53ea9e=_0x106de7['get'](_0x1e0318);this['_removeDependencyRTreeCacheById'](_0x51fcf4,_0x1e0318),_0x53ea9e['forEach'](_0x64f9db=>{_0x64f9db!=null&&this['_removeAllTreeMap'](_0x64f9db);}),_0x53ea9e['clear']();}else _0x106de7&&(_0x106de7[_0x3b4c3e(0xd5)]((_0x316450,_0x5c7364)=>{const _0xf7e6e0=_0x3b4c3e;this[_0xf7e6e0(0x12a)](_0x51fcf4,_0x5c7364),_0x316450['forEach'](_0x156d91=>{const _0x424343=_0xf7e6e0;_0x156d91!=null&&this[_0x424343(0x129)](_0x156d91);});}),this[_0x3b4c3e(0xd6)][_0x3b4c3e(0xed)](_0x51fcf4));}['addFormulaDependency'](_0x825a97,_0x1cc4a2,_0x7afc23,_0x24392c,_0x665151){const _0x491000=_0x239cfc;this[_0x491000(0xb5)]['has'](_0x825a97)||this['_formulaData'][_0x491000(0x152)](_0x825a97,new Map());const _0x3383af=this[_0x491000(0xb5)][_0x491000(0x12f)](_0x825a97);_0x3383af['has'](_0x1cc4a2)||_0x3383af[_0x491000(0x152)](_0x1cc4a2,new _0x4b1243()),_0x3383af[_0x491000(0x12f)](_0x1cc4a2)['setValue'](_0x7afc23,_0x24392c,_0x665151[_0x491000(0x13c)]);}[_0x239cfc(0x14f)](_0x55a2a8,_0x3729a1,_0xd4d6c7,_0x53c6e4){const _0x1cdc39=_0x239cfc,_0x4ca92f=this[_0x1cdc39(0xb5)][_0x1cdc39(0x12f)](_0x55a2a8);if(_0x4ca92f&&_0x4ca92f[_0x1cdc39(0xd3)](_0x3729a1)){const _0x1cd9d9=_0x4ca92f[_0x1cdc39(0x12f)](_0x3729a1),_0x5110bc=_0x1cd9d9[_0x1cdc39(0x141)](_0xd4d6c7,_0x53c6e4);if(_0x5110bc==null)return;this[_0x1cdc39(0x11f)](_0x5110bc),_0x1cd9d9[_0x1cdc39(0xe4)](_0xd4d6c7,_0x53c6e4),this[_0x1cdc39(0x129)](_0x5110bc);}}['clearFormulaDependency'](_0x496262,_0x3beaf4){const _0x2f6fb8=_0x239cfc,_0x20dc5e=this[_0x2f6fb8(0xb5)][_0x2f6fb8(0x12f)](_0x496262);if(_0x3beaf4&&_0x20dc5e&&_0x20dc5e['has'](_0x3beaf4)){const _0x14f120=_0x20dc5e['get'](_0x3beaf4);this['_removeDependencyRTreeCacheById'](_0x496262,_0x3beaf4),_0x14f120['forValue']((_0x3485b2,_0x1a494a,_0x108bb3)=>{const _0x11e65d=_0x2f6fb8;if(_0x108bb3==null)return!0x0;this[_0x11e65d(0x129)](_0x108bb3);}),_0x14f120[_0x2f6fb8(0xc9)]();}else _0x20dc5e&&(_0x20dc5e[_0x2f6fb8(0xd5)]((_0x27c575,_0x267161)=>{const _0x117b33=_0x2f6fb8;this[_0x117b33(0x12a)](_0x496262,_0x267161),_0x27c575[_0x117b33(0xe2)]((_0x154c33,_0x389fef,_0x49bc5a)=>{if(_0x49bc5a==null)return!0x0;this['_removeAllTreeMap'](_0x49bc5a);});}),this[_0x2f6fb8(0xb5)][_0x2f6fb8(0xed)](_0x496262));}[_0x239cfc(0x11f)](_0x539df3){const _0x159759=_0x239cfc;if(_0x539df3==null)return;const _0x4a02fd=this['_allTreeMap'][_0x159759(0x12f)](_0x539df3);if(_0x4a02fd){const _0x3b3e33=[];for(const [_0x4ec6f7,_0x1636e3]of _0x4a02fd)for(const [_0x53789b,_0xae67eb]of _0x1636e3)_0x3b3e33['push']({'unitId':_0x4ec6f7,'sheetId':_0x53789b,'range':_0xae67eb,'id':_0x539df3});this[_0x159759(0x12d)][_0x159759(0x12c)](_0x3b3e33);}}[_0x239cfc(0xcb)](_0x1e2bc2,_0x3b9b5f){const _0x66f79f=_0x239cfc,_0x76c34c=this['_definedNameMap'][_0x66f79f(0x12f)](_0x1e2bc2);if(_0x76c34c){const _0x2771e1=_0x76c34c[_0x66f79f(0x12f)](_0x3b9b5f);if(_0x2771e1){for(const _0x3176ba of _0x2771e1)this[_0x66f79f(0x11f)](_0x3176ba),this[_0x66f79f(0x129)](_0x3176ba);_0x2771e1[_0x66f79f(0x11c)]();}}}[_0x239cfc(0x139)](){const _0x49bbd1=_0x239cfc;this['_dependencyRTreeCache'][_0x49bbd1(0x139)]();}[_0x239cfc(0x120)](){const _0x37b0f9=_0x239cfc;this[_0x37b0f9(0x12d)][_0x37b0f9(0x120)]();}[_0x239cfc(0x129)](_0x9e5dfc){const _0x3deef9=_0x239cfc;_0x9e5dfc!=null&&this[_0x3deef9(0xb6)][_0x3deef9(0xed)](_0x9e5dfc);}[_0x239cfc(0x104)](_0x2a3985){const _0xe34799=_0x239cfc;var _0xc1121d,_0x45f4cb;const _0xa57c2a=_0x2a3985['rangeList'];let _0x5d1b2b=this[_0xe34799(0xb6)]['get'](_0x2a3985[_0xe34799(0x13c)]);for(let _0x506ada=0x0;_0x506ada<_0xa57c2a[_0xe34799(0xba)];_0x506ada++){const _0xd71735=_0xa57c2a[_0x506ada];let {unitId:_0x1c304a,sheetId:_0x26c6e5,range:_0x4d7568}=_0xd71735;_0x5d1b2b||(_0x5d1b2b=new Map(),this['_allTreeMap'][_0xe34799(0x152)](_0x2a3985[_0xe34799(0x13c)],_0x5d1b2b)),_0x5d1b2b['has'](_0x1c304a)||_0x5d1b2b['set'](_0x1c304a,new Map());const _0x14a6b9=(_0xc1121d=_0x5d1b2b==null?void 0x0:_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null?void 0x0:_0xc1121d[_0xe34799(0x12f)](_0x26c6e5);_0x14a6b9&&(_0x4d7568={'startRow':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0xe7)],_0x14a6b9[_0xe34799(0xe7)]),'startColumn':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0x118)],_0x14a6b9[_0xe34799(0x118)]),'endRow':Math[_0xe34799(0x143)](_0x4d7568['endRow'],_0x14a6b9[_0xe34799(0xee)]),'endColumn':Math[_0xe34799(0x143)](_0x4d7568[_0xe34799(0xbb)],_0x14a6b9['endColumn'])}),(_0x45f4cb=_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null||_0x45f4cb[_0xe34799(0x152)](_0x26c6e5,_0x4d7568);}}}var fe=Object[_0x239cfc(0xf3)],_e=(_0x54e9db,_0x2a925f,_0x3dae81,_0x35c974)=>{const _0x334732=_0x239cfc;for(var _0x1c0daa=_0x35c974>0x1?void 0x0:_0x35c974?fe(_0x2a925f,_0x3dae81):_0x2a925f,_0xff4c06=_0x54e9db[_0x334732(0xba)]-0x1,_0x5295d8;_0xff4c06>=0x0;_0xff4c06--)(_0x5295d8=_0x54e9db[_0xff4c06])&&(_0x1c0daa=_0x5295d8(_0x1c0daa)||_0x1c0daa);return _0x1c0daa;};const me=Number[_0x239cfc(0xbf)](0x690eeeff);let x=class extends _0x1dbb56{[_0x239cfc(0x10d)](){const _0x4c6356=_0x239cfc;var _0x3b8102,_0x357854;this[_0x4c6356(0xd2)]()?(_0x3b8102=this[_0x4c6356(0x13b)])!=null&&_0x3b8102['notExecuteFormula']||[[_0x21eb5a,{'useClass':he}],[_0x51bc1e,{'useClass':pe}],[_0x900956,{'useClass':de}]][_0x4c6356(0xd5)](_0x219f8e=>this[_0x4c6356(0xd7)]['add'](_0x219f8e)):(_0x357854=this[_0x4c6356(0x13b)])!=null&&_0x357854[_0x4c6356(0xc3)]||[[_0x21eb5a,{'useClass':_0x1526de}],[_0x51bc1e,{'useClass':_0x2fc196}],[_0x900956,{'useClass':_0x1728bb}]]['forEach'](_0x197030=>this['_injector']['add'](_0x197030));}[_0x239cfc(0xd2)](){const _0x361181=_0x239cfc;var _0x498b31;const _0x702bc7=(_0x498b31=this['_configService'][_0x361181(0x135)](_0x2a3ae7))!=null?_0x498b31:{},{ls:_0x1ccc32,pbk:_0x40a03e}=_0x702bc7;if(!_0x1ccc32||!_0x40a03e)return!0x1;const _0x2308b6=_0x51ce0b(ue,le),_0xfc69f6=new Function('return\x20'+_0x2308b6)()(_0x1ccc32,_0x40a03e),_0xb3bbdd=_0xfc69f6[_0x361181(0xce)];return _0xfc69f6[_0x361181(0x131)]&&_0x8ee774(_0xb3bbdd,'sf',me)?_0x505f7c(_0xb3bbdd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x2b746c(_0x3c157e)],x);function _0x5055(){const _0xa5f2ca=['resolve','_traverse','isVirtual','forValue','push','realDeleteValue','rangeList','checkAsyncNode','startRow','_runtimeService','_currentConfigService','markedAsNoFunctionsExecuted','_otherFormulaManagerService','formulaId','delete','endRow','_configService','ParentDependencyTree\x20object\x20is\x20null','_calculateRunList','addFormulaDependencyByDefinedName','getOwnPropertyDescriptor','setFormulaExecuteStage','_checkIsCycleDependency','featureId','next','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependencyMainData','140016WfGogU','setValue','getDirtyData','_lexer','setTotalArrayFormulasToCalculate','execute','isAdded','symbol','767795BcQpnA','_addAllTreeMap','_restDependencyTreeId','isStopExecution','getFormulaData','_dependencyRTreeCacheForAddressFunction','175220pLpOYQ','type','_registerOtherFormulas','refOffsetX','_initializeWithOverride','clearOtherFormulaDependency','setRuntimeFeatureCellData','_createVirtualFDtree','getOtherFormulaDependency','_getTreeNode','_createFDtree','unitId','START_CALCULATION_ARRAY_FORMULA','markedAsStopFunctionsExecuted','column','startColumn','_generateTreeList','getAllRuntimeData','98962CCtdxe','clear','refOffsetY','row','_removeDependencyRTreeCache','closeKdTree','IDLE','rowCount','isCache','dispose','isForceCalculate','_getTreeById','bulkSearch','setCompletedArrayFormulasCount','_removeAllTreeMap','_removeDependencyRTreeCacheById','pop','bulkRemove','_dependencyRTreeCache','clearFeatureFormulaDependency','get','searchDependency','valid','keys','_getUpdateTreeListAndMakeDependency','18TAlryu','getConfig','enableCycleDependency','_updateRangeFlatten','size','openKdTree','clearFormulaDependency','_config','treeId','markedAsSuccessfullyExecuted','getDirtyRanges','isSkip','node','getValue','setSkip','max','addOtherFormulaDependency','_otherFormulaDataMainData','_registerFormulas','getRuntimeState','addFormulaDependency','generate','_dependencyManagerService','add','dirtyRanges','getExcludedRange','getOtherFormulaData','removeFormulaDependency','hasOtherFormulaDataMainData','min','set','getClearDependencyTreeCache','subUnitId','1421192aoGJxs','OTHER_FORMULA','FEATURE_FORMULA','_formulaData','_allTreeMap','_astTreeBuilder','removeFeatureFormulaDependency','intervalCount','length','endColumn','_executionInProgressListener$','_isCyclicUtilMap','3473912OnZdKt','parseInt','_executionCompleteListener$','removeOtherFormulaDependency','setRuntimeData','notExecuteFormula','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','executeAsync','setRuntimeFeatureRange','CURRENTLY_CALCULATING','reset','featureDirtyRanges','removeFormulaDependencyByDefinedName','toRTreeItem','columnCount','message','2221917nkuvvG','formula','_formulaDependencyGenerator','_initLicenseValid','has','addFeatureFormulaDependency','forEach','_featureFormulaData','_injector','getFeatureFormulaDependency','setCurrent','_otherFormulaData','dependencySheetName','_getFirstCellOfRange','START_CALCULATION','_interpreter'];_0x5055=function(){return _0xa5f2ca;};return _0x5055();}export{x as UniverProFormulaEnginePlugin};
1
+ const _0x5c1b2f=_0x4bd7;function _0x4bd7(_0x50a651,_0x227ac2){const _0x3ba949=_0x3ba9();return _0x4bd7=function(_0x4bd7e3,_0x53b093){_0x4bd7e3=_0x4bd7e3-0x66;let _0x19d8a3=_0x3ba949[_0x4bd7e3];return _0x19d8a3;},_0x4bd7(_0x50a651,_0x227ac2);}(function(_0x4ab8b5,_0x3e380a){const _0x1f082d=_0x4bd7,_0x5465be=_0x4ab8b5();while(!![]){try{const _0x3a58ce=parseInt(_0x1f082d(0xaf))/0x1+parseInt(_0x1f082d(0xbf))/0x2*(parseInt(_0x1f082d(0xf2))/0x3)+parseInt(_0x1f082d(0xaa))/0x4+-parseInt(_0x1f082d(0xf0))/0x5+-parseInt(_0x1f082d(0xc9))/0x6+parseInt(_0x1f082d(0x6e))/0x7+-parseInt(_0x1f082d(0x83))/0x8;if(_0x3a58ce===_0x3e380a)break;else _0x5465be['push'](_0x5465be['shift']());}catch(_0x1c02bc){_0x5465be['push'](_0x5465be['shift']());}}}(_0x3ba9,0x28974));var W=Object[_0x5c1b2f(0x77)],z=(_0x3fa8b5,_0x4b5c0c,_0x1b6d5d)=>_0x4b5c0c in _0x3fa8b5?W(_0x3fa8b5,_0x4b5c0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b6d5d}):_0x3fa8b5[_0x4b5c0c]=_0x1b6d5d,v=(_0x586e7f,_0x4b8ca8,_0x41a366)=>z(_0x586e7f,typeof _0x4b8ca8!=_0x5c1b2f(0x6b)?_0x4b8ca8+'':_0x4b8ca8,_0x41a366);import{UniverLicensePlugin as _0x9a80c1,LS_CONFIG_KEY as _0x6f7d28,unshiftString as _0x3b01af,isFeatureAuthorizedWithinTime as _0x39b096,getSheetFeatureLimit as _0x274de2}from'@univerjs-pro/license';import{ObjectMatrix as _0x303d17,requestImmediateMacroTask as _0x46919b,RTree as _0xb878e5,DependentOn as _0x3f7e80}from'@univerjs/core';import{FormulaDependencyGenerator as _0x3e6f08,generateRandomDependencyTreeId as _0x217a3b,FormulaDependencyTree as _0x14337b,FormulaDependencyTreeType as _0x2e94c9,FormulaDependencyTreeVirtual as _0x25c9de,generateAstNode as _0x1e6828,CalculateFormulaService as _0xc1818d,FormulaExecuteStageType as _0x182d08,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x454a6d,DEFAULT_INTERVAL_COUNT as _0x361c80,DependencyManagerBaseService as _0x13bfb0,UniverFormulaEnginePlugin as _0xa2504a,ICalculateFormulaService as _0x1f4d6b,IDependencyManagerService as _0x316caf,IFormulaDependencyGenerator as _0x2dbd8e,DependencyManagerService as _0x23bb35}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'B',0x1:'V',0x2:'b',0x3:'y',0x4:'v',0x5:'G',0x6:'E',0x7:'6',0x8:'U',0x9:'f','E':'0','z':'1','n':'2','v':'3','y':'4','q':'5','T':'7','m':'8','N':'9','Y':'a','t':'c','Z':'d','i':'e','e':'g','K':'h','b':'i','l':'j','w':'k','d':'l','P':'m','R':'n','a':'o','c':'p','h':'q','j':'r','J':'s','L':'t','k':'u','O':'w','F':'x','A':'z','D':'A','G':'C','I':'D','H':'F','s':'H','p':'I','V':'J','o':'K','U':'L','f':'M','X':'N','g':'O','C':'P','Q':'Q','M':'R','B':'S','S':'T','r':'W','x':'X','u':'Y','W':'Z'},ue=_0x5c1b2f(0xae);function _0x3ba9(){const _0x8302a2=['getAllRuntimeData','addFeatureFormulaDependency','getDirtyData','getOtherFormulaData','clearFormulaDependency','_removeDependencyRTreeCacheById','treeId','openKdTree','_getUpdateTreeListAndMakeDependency','bulkRemove','delete','addOtherFormulaDependency','columnCount','isAdded','1169655wJwLoK','dirtyRanges','8823fnJuqC','max','dependencySheetName','rowCount','_getTreeNode','_lexer','unitId','setTotalFormulasToCalculate','return\x20','startRow','executeAsync','clearFeatureFormulaDependency','notExecuteFormula','column','_config','row','_otherFormulaDataMainData','getRuntimeState','_configService','subUnitId','_checkIsCycleDependency','_runtimeService','symbol','_dependencyTreeCache','_removeAllTreeMap','2150554uYyQrr','enableCycleDependency','setCompletedFormulasCount','formulaId','next','getFormulaDependency','isVirtual','setFormulaExecuteStage','_featureFormulaData','defineProperty','featureDirtyRanges','addFormulaDependencyByDefinedName','isCache','markedAsNoFunctionsExecuted','forEach','set','isExcludeRange','_convertDirtyRangesToUnitRange','_createFDtree','message','setTotalArrayFormulasToCalculate','4174992yCFuIJ','_astTreeBuilder','refOffsetY','markedAsSuccessfullyExecuted','add','removeFormulaDependency','endRow','valid','removeFormulaDependencyByDefinedName','addOtherFormulaDependencyMainData','setRuntimeData','_otherFormulaManagerService','_getFirstCellOfRange','_formulaDependencyGenerator','setSkip','START_DEPENDENCY_ARRAY_FORMULA','getExcludedRange','_allTreeMap','ParentDependencyTree\x20object\x20is\x20null','formula','_injector','isStopExecution','reset','min','searchDependency','toRTreeItem','setRuntimeOtherData','getConfig','get','getClearDependencyTreeCache','getValue','_otherFormulaData','_removeDependencyRTreeCache','removeOtherFormulaDependency','isDirty','pop','_dependencyManagerService','removeFeatureFormulaDependency','refOffsetX','439080wKpaZd','getOwnPropertyDescriptor','_dependencyRTreeCache','_updateRangeFlatten','9kRtLbaR\x20Zitj3cLbaR(dbtiRJi,\x20ck2dbtoi3)\x20{\x20\x20\x20\x20Lj3\x20{\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20dbtiRJipR9aCYjLDjjY3\x20=\x20dbtiRJi.JcdbL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ajbebRfiJJYei\x20=\x20VBgX.cYjJi(YLa2(dbtiRJipR9aCYjLDjjY3[n]));\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!ajbebRfiJJYei.kZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ajbebRfiJJYei.kZ\x20=\x20XkP2ij(dbtiRJipR9aCYjLDjjY3[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20bJrajwij\x20=\x20L3cia9\x20rajwij5da2YdBtaci\x20!==\x20\x27kRZi9bRiZ\x27\x20&&\x20Jid9\x20bRJLYRtia9\x20rajwij5da2YdBtaci;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20taRLiFL\x20=\x20bJrajwij\x20?\x20Jid9\x20:\x20ObRZaO;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYeirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[n]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYei\x20=\x20taRLiFL.__siF__.JLjbReb93(PiJJYeirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkjirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[v]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkji\x20=\x20taRLiFL.__siF__.JLjbReb93(JbeRYLkjirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeR1YdbZ\x20=\x20taRLiFL.__4ijb93__(JbeRYLkji,\x20PiJJYei,\x20ck2dbtoi3);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ZaPYbR\x20=\x20ajbebRfiJJYei.ZP;\x20\x20\x20\x20\x20\x20\x20\x209kRtLbaR\x20bJIaPYbRfYLtKbRe(aCYLLijR,\x20asaJL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijR\x20=\x20aCYLLijR.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJL\x20=\x20asaJL.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRCYjLJ\x20=\x20cYLLijR.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLCYjLJ\x20=\x20KaJL.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!cYLLijR.bRtdkZiJ(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijR\x20===\x20KaJL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(cYLLijRCYjLJ.diReLK\x20<\x20n\x20||\x20cYLLijRCYjLJ[E]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x209YdJi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRBk99bF\x20=\x20cYLLijRCYjLJ.Jdbti(z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLBk99bF\x20=\x20KaJLCYjLJ.Jdbti(-cYLLijRCYjLJ.diReLK\x20+\x20z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijRBk99bF\x20===\x20KaJLBk99bF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20diL\x20ZaPYbR1YdbZ\x20=\x20(ZaPYbR\x20&&\x20ZaPYbR.diReLK)\x20?\x20ZaPYbR.JaPi((ZPpLiP)\x20=>\x20bJIaPYbRfYLtKbRe(ZPpLiP,\x20datYLbaR.KaJLRYPi))\x20:\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(datYLbaR.KaJLRYPi\x20===\x20\x27datYdKaJL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZaPYbR1YdbZ\x20=\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x204YdbZ\x20=\x20JbeR1YdbZ\x20&&\x20ZaPYbR1YdbZ;\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20ajbebRfiJJYei,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20tYLtK\x20(ijjaj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ:\x209YdJi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','301286gNRKvM','_createVirtualFDtree','_formulaData','_calculateRunList','START_CALCULATION','rangeList','getDirtyNameMap','isForceCalculate','closeKdTree','getFeatureFormulaDependency','startColumn','isSkip','_isCyclicUtilMap','intervalCount','START_DEPENDENCY','has','178RVYmgN','realDeleteValue','IDLE','_currentConfigService','type','_definedNameMap','_interpreter','getDirtyRanges','START_CALCULATION_ARRAY_FORMULA','clearOtherFormulaDependency','347772NCSOKq','CURRENTLY_CALCULATING','_restDependencyTreeId','_initLicenseValid','forValue','bulkSearch','_traverse','featureId','clear','size','setValue','setRuntimeFeatureRange','keys','getUnitData','_getFeatureFormulaTree','_dependencyRTreeCacheForAddressFunction','addFormulaDependency','setRuntimeFeatureCellData','CURRENTLY_CALCULATING_ARRAY_FORMULA','push','length','dispose','generate','_executionInProgressListener$','checkAsyncNode'];_0x3ba9=function(){return _0x8302a2;};return _0x3ba9();}class de extends _0x3e6f08{constructor(){const _0x282349=_0x5c1b2f;super(...arguments),v(this,_0x282349(0x6c),new Map());}[_0x5c1b2f(0xde)](){const _0x129382=_0x5c1b2f;super[_0x129382(0xde)](),this[_0x129382(0x6c)][_0x129382(0xd1)]();}async[_0x5c1b2f(0xdf)](){const _0x3119fe=_0x5c1b2f;this[_0x3119fe(0xad)]();const _0x740289=this[_0x3119fe(0xc2)]['getFormulaData'](),_0x5675b5=this[_0x3119fe(0x8e)][_0x3119fe(0xe5)](),_0x36b3ec=this[_0x3119fe(0xc2)][_0x3119fe(0xa0)]();_0x36b3ec!=null&&Object[_0x3119fe(0xd5)](_0x36b3ec)[_0x3119fe(0x7c)](_0xd52c92=>{const _0x251fff=_0x3119fe;_0xd52c92!=null&&Object[_0x251fff(0xd5)](_0x36b3ec[_0xd52c92])[_0x251fff(0x7c)](_0x8ec080=>{const _0x5309dc=_0x251fff;_0x8ec080!=null&&(this[_0x5309dc(0xa7)][_0x5309dc(0xc8)](_0xd52c92,_0x8ec080),this['_dependencyManagerService'][_0x5309dc(0xfd)](_0xd52c92,_0x8ec080),this[_0x5309dc(0xa7)][_0x5309dc(0xe6)](_0xd52c92,_0x8ec080));});});const _0x23c631=this[_0x3119fe(0xc2)][_0x3119fe(0xd6)]();await this['_generateTreeList'](_0x740289,_0x5675b5,_0x23c631),this[_0x3119fe(0xa7)][_0x3119fe(0xe9)]();const _0x2d97e4=this['_getUpdateTreeListAndMakeDependency'](),_0x23c137=this[_0x3119fe(0xb2)](_0x2d97e4);return this[_0x3119fe(0x69)](_0x23c137)&&this['_runtimeService'][_0x3119fe(0x6f)](),this['_dependencyTreeCache']['clear'](),this[_0x3119fe(0xd8)]['clear'](),this[_0x3119fe(0xa7)][_0x3119fe(0xb7)](),Promise['resolve'](_0x23c137);}['_isCyclicUtilMap'](_0x25904a,_0x3b5661){const _0x4f7848=_0x5c1b2f,_0x42dbac=[_0x25904a];for(;_0x42dbac[_0x4f7848(0xdd)]>0x0;){const _0x5c31ab=_0x42dbac[_0x42dbac['length']-0x1];if((_0x3b5661[_0x4f7848(0x9f)](_0x5c31ab)||0x0)===0x0){_0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x1);const _0x526ee4=this['_dependencyTreeCache'][_0x4f7848(0x9f)](_0x5c31ab);if(_0x526ee4==null){_0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x2),_0x42dbac['pop']();continue;}const _0x227149=this[_0x4f7848(0xa7)]['searchDependency'](_0x526ee4[_0x4f7848(0x9c)]());for(const _0x3b1cf4 of _0x227149){const _0x29db57=_0x3b5661[_0x4f7848(0x9f)](_0x3b1cf4)||0x0;if(_0x29db57===0x1)return!0x0;_0x29db57===0x0&&_0x42dbac[_0x4f7848(0xdc)](_0x3b1cf4);}}else _0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x2),_0x42dbac[_0x4f7848(0xa6)]();}return!0x1;}['_checkIsCycleDependency'](_0xabf4aa){const _0x2a09e8=_0x5c1b2f,_0xfb6abf=new Map();for(const _0x2bf290 of _0xabf4aa)if(!_0xfb6abf['has'](_0x2bf290[_0x2a09e8(0xe8)])&&this[_0x2a09e8(0xbb)](_0x2bf290['treeId'],_0xfb6abf))return!0x0;return _0xfb6abf[_0x2a09e8(0xd1)](),!0x1;}[_0x5c1b2f(0xd7)](_0x2f7256,_0x2e65df,_0x9593e2){const _0x169c30=_0x5c1b2f,{unitId:_0x412f36,subUnitId:_0x5714ce,dependencyRanges:_0x3c4db8,getDirtyData:_0x4c6929}=_0x9593e2,_0x5385dc=_0x2e65df||_0x217a3b(this['_dependencyManagerService']),_0x1e4c87=new _0x14337b(_0x5385dc);_0x1e4c87[_0x169c30(0xf8)]=_0x412f36,_0x1e4c87[_0x169c30(0x68)]=_0x5714ce,_0x1e4c87[_0x169c30(0xb4)]=_0x3c4db8,_0x1e4c87[_0x169c30(0xe4)]=_0x4c6929;const _0x14a491=_0x4c6929(this[_0x169c30(0xc2)][_0x169c30(0xe4)](),this[_0x169c30(0x6a)]['getAllRuntimeData']()),_0x529127=this[_0x169c30(0x7f)](_0x14a491[_0x169c30(0xf1)]);return _0x1e4c87[_0x169c30(0x78)]=_0x529127,_0x1e4c87['featureId']=_0x2f7256,_0x1e4c87[_0x169c30(0xc3)]=_0x2e94c9['FEATURE_FORMULA'],this[_0x169c30(0xa7)]['addFeatureFormulaDependency'](_0x412f36,_0x5714ce,_0x2f7256,_0x1e4c87),this[_0x169c30(0x6c)][_0x169c30(0x7d)](_0x1e4c87['treeId'],_0x1e4c87),this[_0x169c30(0xa7)][_0x169c30(0xb8)](_0x9593e2['unitId'],_0x9593e2[_0x169c30(0x68)],_0x2f7256)&&(_0x1e4c87[_0x169c30(0x7a)]=!0x0),_0x1e4c87;}['_registerOtherFormulas'](_0x2b0d1d,_0x49a537,_0xfd5d7f){const _0x2a511f=_0x5c1b2f;var _0x1d1956;for(const _0xd19c45 of _0x49a537){const _0x2e1651=_0x2b0d1d[_0xd19c45];if(_0x2e1651==null)continue;const _0x1cd6e2=Object[_0x2a511f(0xd5)](_0x2e1651);for(const _0x10bc1f of _0x1cd6e2){const _0x26e421=_0x2e1651[_0x10bc1f];if(_0x26e421==null)continue;const _0x448880=Object[_0x2a511f(0xd5)](_0x26e421);for(const _0x7fa286 of _0x448880){const _0x65510d=this[_0x2a511f(0xa7)]['hasOtherFormulaDataMainData'](_0x7fa286),_0x18253d=_0x26e421[_0x7fa286],{f:_0x3726d2,ranges:_0x3cd87f}=_0x18253d;let _0x5e5f77=!0x1;_0x65510d&&(_0x5e5f77=!0x0);const {firstRow:_0x5b047d,firstColumn:_0x461004}=this[_0x2a511f(0x8f)](_0x3cd87f),_0x480fd8=this[_0x2a511f(0xa7)]['getOtherFormulaDependency'](_0xd19c45,_0x10bc1f,_0x7fa286),_0x3c2b93=(_0x1d1956=_0x480fd8==null?void 0x0:_0x480fd8['getValue'](0x0,0x0))!=null?_0x1d1956:_0x217a3b(this[_0x2a511f(0xa7)]),_0x310979=new _0x14337b(_0x3c2b93);for(let _0x2cd397=0x0;_0x2cd397<_0x3cd87f[_0x2a511f(0xdd)];_0x2cd397++){const _0x28a5b1=_0x3cd87f[_0x2cd397],{startRow:_0x34809e,startColumn:_0x377c3d,endRow:_0x1f1f23,endColumn:_0xbf23dd}=_0x28a5b1;for(let _0x367929=_0x34809e;_0x367929<=_0x1f1f23;_0x367929++)for(let _0x35c1fe=_0x377c3d;_0x35c1fe<=_0xbf23dd;_0x35c1fe++){const _0x29b66f=_0x35c1fe-_0x461004,_0x30f892=_0x367929-_0x5b047d;if(_0x29b66f===0x0&&_0x30f892===0x0){_0x310979[_0x2a511f(0x96)]=_0x3726d2,_0x310979[_0x2a511f(0xf8)]=_0xd19c45,_0x310979[_0x2a511f(0x68)]=_0x10bc1f,_0x310979[_0x2a511f(0x71)]=_0x7fa286,_0x310979[_0x2a511f(0xc3)]=_0x2e94c9['OTHER_FORMULA'],_0x310979[_0x2a511f(0x7a)]=_0x5e5f77,_0xfd5d7f['push'](_0x310979),this['_dependencyTreeCache'][_0x2a511f(0x7d)](_0x310979[_0x2a511f(0xe8)],_0x310979),this[_0x2a511f(0xa7)][_0x2a511f(0xed)](_0xd19c45,_0x10bc1f,_0x7fa286,_0x310979),this[_0x2a511f(0xa7)][_0x2a511f(0x79)](_0x310979);continue;}const _0x5970d4=new _0x25c9de();_0x5970d4[_0x2a511f(0xe8)]=(_0x480fd8==null?void 0x0:_0x480fd8['getValue'](_0x29b66f,_0x30f892))||_0x217a3b(this[_0x2a511f(0xa7)]),_0x5970d4['refTree']=_0x310979,_0x5970d4[_0x2a511f(0xa9)]=_0x29b66f,_0x5970d4['refOffsetY']=_0x30f892,_0x5970d4[_0x2a511f(0x7a)]=_0x5e5f77,this['_dependencyManagerService'][_0x2a511f(0xed)](_0xd19c45,_0x10bc1f,_0x7fa286,_0x5970d4),this[_0x2a511f(0xa7)][_0x2a511f(0x79)](_0x5970d4),_0xfd5d7f[_0x2a511f(0xdc)](_0x5970d4),this['_dependencyTreeCache'][_0x2a511f(0x7d)](_0x5970d4[_0x2a511f(0xe8)],_0x5970d4);}}this[_0x2a511f(0xa7)][_0x2a511f(0x8c)](_0x7fa286);}}}}['_registerFormulas'](_0x37cbc3,_0x2a9c77,_0x1453f7,_0x22c160){const _0x343ad9=_0x5c1b2f;for(const _0x4371ab of _0x37cbc3){const _0x3f282b=_0x2a9c77[_0x4371ab];if(_0x3f282b==null)continue;const _0x36fdef=Object[_0x343ad9(0xd5)](_0x3f282b);for(const _0x84bd58 of _0x36fdef){const _0x165db1=new _0x303d17(_0x3f282b[_0x84bd58]||{}),_0x1efb46=new Map();_0x165db1[_0x343ad9(0xcd)]((_0x2794bc,_0xa1b448,_0x3258a0)=>{const _0x2b812e=_0x343ad9;if(_0x3258a0==null)return!0x0;const {x:_0x2c998a=0x0,y:_0x1cc8b8=0x0,si:_0x4c946c}=_0x3258a0;if(!(_0x2c998a===0x0&&_0x1cc8b8===0x0&&_0x4c946c!=null))return!0x0;const _0x4231df=this[_0x2b812e(0x80)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448,_0x1453f7,_0x3258a0),_0x502867=this[_0x2b812e(0xa7)][_0x2b812e(0x73)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448);_0x502867!=null?_0x4231df['treeId']=_0x502867:(this[_0x2b812e(0xa7)][_0x2b812e(0xd9)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448,_0x4231df),this[_0x2b812e(0xa7)]['addFormulaDependencyByDefinedName'](_0x4231df)),_0x1efb46['set'](_0x4c946c,_0x4231df),_0x22c160['push'](_0x4231df),this[_0x2b812e(0x6c)][_0x2b812e(0x7d)](_0x4231df['treeId'],_0x4231df);}),_0x165db1[_0x343ad9(0xcd)]((_0x4bf6be,_0x3eb81a,_0x4ed6de)=>{const _0x13a364=_0x343ad9;if(_0x4ed6de==null)return!0x0;const {x:_0x29a9f1=0x0,y:_0x2b4ae0=0x0,si:_0x559133}=_0x4ed6de;if(_0x29a9f1===0x0&&_0x2b4ae0===0x0&&_0x559133!=null)return!0x0;let _0x4a4392;if(_0x559133&&_0x1efb46[_0x13a364(0xbe)](_0x559133)){const _0xb9b773=_0x1efb46[_0x13a364(0x9f)](_0x559133);_0x4a4392=this[_0x13a364(0xb0)](_0xb9b773,_0x4ed6de);}else _0x4a4392=this['_createFDtree'](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a,_0x1453f7,_0x4ed6de);const _0x38dba9=this[_0x13a364(0xa7)][_0x13a364(0x73)](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a);_0x38dba9!=null?_0x4a4392[_0x13a364(0xe8)]=_0x38dba9:(this['_dependencyManagerService'][_0x13a364(0xd9)](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a,_0x4a4392),this['_dependencyManagerService'][_0x13a364(0x79)](_0x4a4392)),_0x22c160[_0x13a364(0xdc)](_0x4a4392),this[_0x13a364(0x6c)]['set'](_0x4a4392[_0x13a364(0xe8)],_0x4a4392);}),_0x1efb46[_0x343ad9(0xd1)]();}}}['_createFDtree'](_0x37543d,_0x470b2c,_0xb591e4,_0x17eee2,_0x1e2e5a,_0x301f3c){const _0x353993=_0x5c1b2f,{f:_0x5c4852,x:_0x435b66=0x0,y:_0x5aa374=0x0}=_0x301f3c,_0x20fb48=new _0x14337b(_0x217a3b(this[_0x353993(0xa7)])),_0x5ea093=_0x1e2e5a[_0x37543d][_0x470b2c];return _0x20fb48['formula']=_0x5c4852,_0x20fb48[_0x353993(0xf8)]=_0x37543d,_0x20fb48[_0x353993(0x68)]=_0x470b2c,_0x20fb48[_0x353993(0x101)]=_0xb591e4,_0x20fb48[_0x353993(0xff)]=_0x17eee2,_0x20fb48[_0x353993(0xf5)]=_0x5ea093[_0x353993(0xf5)],_0x20fb48[_0x353993(0xee)]=_0x5ea093['columnCount'],_0x20fb48;}[_0x5c1b2f(0xea)](){const _0x482ed3=_0x5c1b2f,_0x192bfd=[],_0xdafae4=new Set(),_0x4aaeef=this['_currentConfigService'][_0x482ed3(0xb6)](),_0x47d836=this['_currentConfigService'][_0x482ed3(0xc6)](),_0x162fa4=this[_0x482ed3(0xa7)][_0x482ed3(0x9b)](_0x47d836),_0x4a0da1=this[_0x482ed3(0xd8)][_0x482ed3(0xce)](_0x47d836);for(const _0x51663a of _0x4a0da1)_0x162fa4['add'](_0x51663a);for(const [_0x4dfc39,_0x2c469b]of this[_0x482ed3(0x6c)])(_0x4aaeef||_0x2c469b[_0x482ed3(0xa5)]||_0x2c469b[_0x482ed3(0xf4)](this[_0x482ed3(0xc2)][_0x482ed3(0xb5)]())||_0x162fa4[_0x482ed3(0xbe)](_0x4dfc39)&&!_0x2c469b[_0x482ed3(0x7e)](this[_0x482ed3(0xc2)][_0x482ed3(0x93)]()))&&!_0xdafae4[_0x482ed3(0xbe)](_0x4dfc39)&&(_0x192bfd[_0x482ed3(0xdc)](_0x2c469b),_0xdafae4[_0x482ed3(0x87)](_0x4dfc39));for(const [_0xca291,_0x1b17e2]of this[_0x482ed3(0x6c)])_0x1b17e2[_0x482ed3(0x74)]||(_0x1b17e2[_0x482ed3(0xb4)][_0x482ed3(0xdd)]=0x0);return _0x192bfd;}['_getTreeById'](_0x443ac2){const _0x41feba=_0x5c1b2f;return this[_0x41feba(0x6c)][_0x41feba(0x9f)](_0x443ac2);}[_0x5c1b2f(0xf6)](_0x2ca677){const _0x57d1d6=_0x5c1b2f;return _0x1e6828(_0x2ca677[_0x57d1d6(0xf8)],_0x2ca677['formula'],this['_lexer'],this[_0x57d1d6(0x84)],this[_0x57d1d6(0xc2)]);}*[_0x5c1b2f(0xcf)](_0x235719,_0x9e6ffa){const _0x45151e=_0x5c1b2f,_0x31b8d7=_0x235719,_0x2e4411=new Set();for(;_0x31b8d7[_0x45151e(0xdd)]>0x0;){const _0xb2f96a=_0x31b8d7[_0x45151e(0xa6)]();if(_0x2e4411[_0x45151e(0xd1)](),_0xb2f96a===void 0x0||_0xb2f96a[_0x45151e(0xba)]())continue;if(_0xb2f96a[_0x45151e(0xef)]()){yield _0xb2f96a,_0xb2f96a['setSkip'](),_0x9e6ffa[_0x45151e(0x87)](_0xb2f96a[_0x45151e(0xe8)]);continue;}const _0x5431c2=this['_dependencyManagerService']['searchDependency'](_0xb2f96a[_0x45151e(0x9c)](),_0x9e6ffa),_0x4aae40=this[_0x45151e(0xd8)][_0x45151e(0xce)](_0xb2f96a['toRTreeItem'](),_0x9e6ffa);for(const _0x456d10 of _0x4aae40)_0x5431c2[_0x45151e(0x87)](_0x456d10);for(const _0x422bfd of _0x5431c2){const _0x4370a6=this[_0x45151e(0x6c)][_0x45151e(0x9f)](_0x422bfd);if(!_0x4370a6)throw new Error(_0x45151e(0x95));_0x4370a6['isAdded']()||_0xb2f96a[_0x45151e(0xba)]()||_0x2e4411['add'](_0x4370a6);}if(_0x5431c2[_0x45151e(0xd1)](),_0x2e4411[_0x45151e(0xd2)]===0x0)yield _0xb2f96a,_0xb2f96a[_0x45151e(0x91)](),_0x9e6ffa[_0x45151e(0x87)](_0xb2f96a['treeId']);else{_0xb2f96a['setAdded'](),_0x31b8d7['push'](_0xb2f96a);for(const _0x539a7e of _0x2e4411)_0x31b8d7[_0x45151e(0xdc)](_0x539a7e);}}_0x31b8d7['length']=0x0,_0x2e4411[_0x45151e(0xd1)]();}[_0x5c1b2f(0xb2)](_0x286fda){const _0xf69964=_0x5c1b2f,_0x2b01af=[],_0x2bca93=new Set();for(const _0x4e9c50 of this[_0xf69964(0xcf)](_0x286fda,_0x2bca93))_0x2b01af['push'](_0x4e9c50);return _0x2b01af;}}class he extends _0xc1818d{async['_apply'](_0x3733de=!0x1){const _0x1ad9a0=_0x5c1b2f;_0x3733de?this['_runtimeService']['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0x92)]):this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xbd)]),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x66)]());const _0x494a2c=await this[_0x1ad9a0(0x90)][_0x1ad9a0(0xdf)](),_0x10eb83=this[_0x1ad9a0(0xc5)];_0x3733de?(this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xc7)]),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x82)](_0x494a2c[_0x1ad9a0(0xdd)])):(this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xb3)]),this['_runtimeService'][_0x1ad9a0(0xf9)](_0x494a2c[_0x1ad9a0(0xdd)])),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x66)]());let _0x1712f5=[];const _0x2ad5c6=this[_0x1ad9a0(0x67)][_0x1ad9a0(0x9e)](_0x454a6d),_0x1bc850=(_0x2ad5c6==null?void 0x0:_0x2ad5c6[_0x1ad9a0(0xbc)])||_0x361c80;let _0x28854d=0x0;const _0x5d4063=_0x494a2c[_0x1ad9a0(0xdd)];for(;_0x494a2c['length']>0x0;){const _0x23fee8=_0x494a2c['pop'](),_0x420693={'node':_0x1e6828(_0x23fee8['unitId'],_0x23fee8[_0x1ad9a0(0x96)],this[_0x1ad9a0(0xf7)],this[_0x1ad9a0(0x84)],this[_0x1ad9a0(0xc2)]),'refOffsetX':_0x23fee8[_0x1ad9a0(0xa9)],'refOffsetY':_0x23fee8[_0x1ad9a0(0x85)]},_0x5ddce7=_0x23fee8['getDirtyData'];if(_0x28854d%_0x1bc850===0x0&&(await new Promise(_0x131430=>{const _0x37eede=_0x1ad9a0,_0x4dbb0f=_0x46919b(_0x131430);_0x1712f5[_0x37eede(0xdc)](_0x4dbb0f);}),_0x3733de?(this['_runtimeService'][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xdb)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x28854d+0x1)):(this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xca)]),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x70)](_0x28854d+0x1)),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this['_runtimeService'][_0x1ad9a0(0x66)]()),this['_runtimeService'][_0x1ad9a0(0x98)]()||_0x420693==null&&_0x5ddce7==null)){this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xc1)]),this[_0x1ad9a0(0x6a)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x1ad9a0(0x72)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x1ad9a0(0x6a)]['setCurrent'](_0x23fee8[_0x1ad9a0(0x101)],_0x23fee8['column'],_0x23fee8[_0x1ad9a0(0xf5)],_0x23fee8[_0x1ad9a0(0xee)],_0x23fee8[_0x1ad9a0(0x68)],_0x23fee8['unitId']);let _0x227d20;if(_0x5ddce7!=null&&_0x23fee8[_0x1ad9a0(0xd0)]!=null){const {runtimeCellData:_0x4a9525,dirtyRanges:_0x313121}=_0x5ddce7(this[_0x1ad9a0(0xc2)][_0x1ad9a0(0xe4)](),this[_0x1ad9a0(0x6a)]['getAllRuntimeData']());this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xda)](_0x23fee8['featureId'],_0x4a9525),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xd4)](_0x23fee8[_0x1ad9a0(0xd0)],_0x313121);}else _0x420693!=null&&(_0x10eb83[_0x1ad9a0(0xe1)](_0x420693['node'])?_0x227d20=await _0x10eb83[_0x1ad9a0(0xfc)](_0x420693):_0x227d20=_0x10eb83['execute'](_0x420693),_0x23fee8[_0x1ad9a0(0x71)]!=null?this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x9d)](_0x23fee8[_0x1ad9a0(0x71)],_0x23fee8[_0x1ad9a0(0xa9)],_0x23fee8[_0x1ad9a0(0x85)],_0x227d20):this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x8d)](_0x227d20));_0x28854d++;}return _0x1712f5['forEach'](_0x3d8cd=>_0x3d8cd()),_0x1712f5=[],_0x5d4063>0x0?this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x86)]():_0x3733de||this['_runtimeService'][_0x1ad9a0(0x7b)](),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xe2)]();}}class fe extends _0x13bfb0{constructor(){const _0x5138d2=_0x5c1b2f;super(...arguments),v(this,_0x5138d2(0x94),new Map()),v(this,'_dependencyRTreeCache',new _0xb878e5(!0x0));}[_0x5c1b2f(0x99)](){const _0x8c730d=_0x5c1b2f;this[_0x8c730d(0xa2)][_0x8c730d(0xd1)](),this['_featureFormulaData']['clear'](),this[_0x8c730d(0xb1)][_0x8c730d(0xd1)](),this[_0x8c730d(0xac)][_0x8c730d(0xd1)](),this[_0x8c730d(0x94)][_0x8c730d(0xd1)](),this[_0x8c730d(0xcb)](),this[_0x8c730d(0x102)][_0x8c730d(0xd1)]();}[_0x5c1b2f(0xed)](_0x58419d,_0x530f27,_0x12348d,_0x57db48){const _0x52195f=_0x5c1b2f;this['_otherFormulaData']['has'](_0x58419d)||this[_0x52195f(0xa2)][_0x52195f(0x7d)](_0x58419d,new Map());const _0x38657a=this['_otherFormulaData'][_0x52195f(0x9f)](_0x58419d);_0x38657a[_0x52195f(0xbe)](_0x530f27)||_0x38657a['set'](_0x530f27,new Map());const _0x25b351=_0x38657a[_0x52195f(0x9f)](_0x530f27);_0x25b351[_0x52195f(0xbe)](_0x12348d)||_0x25b351['set'](_0x12348d,new _0x303d17()),_0x25b351['get'](_0x12348d)['setValue'](_0x57db48['refOffsetX'],_0x57db48[_0x52195f(0x85)],_0x57db48[_0x52195f(0xe8)]);}[_0x5c1b2f(0xa4)](_0x4609fa,_0x6bfa44,_0x4554e0){const _0x4a511d=_0x5c1b2f,_0x520765=this['_otherFormulaData'][_0x4a511d(0x9f)](_0x4609fa);if(_0x520765&&_0x520765[_0x4a511d(0xbe)](_0x6bfa44)){const _0x49f298=_0x520765[_0x4a511d(0x9f)](_0x6bfa44);_0x4554e0['forEach'](_0x5cd2a4=>{const _0x1b3347=_0x4a511d,_0x5838c6=_0x49f298[_0x1b3347(0x9f)](_0x5cd2a4);_0x5838c6!=null&&(_0x5838c6[_0x1b3347(0xcd)]((_0x114364,_0x485ea5,_0x4ead49)=>{this['_removeDependencyRTreeCache'](_0x4ead49),this['_removeAllTreeMap'](_0x4ead49);}),_0x49f298[_0x1b3347(0xec)](_0x5cd2a4),this['_otherFormulaDataMainData'][_0x1b3347(0xec)](_0x5cd2a4));}),_0x49f298[_0x4a511d(0xd2)]===0x0&&_0x520765[_0x4a511d(0xec)](_0x6bfa44),_0x520765['size']===0x0&&this['_otherFormulaData']['delete'](_0x4609fa);}}[_0x5c1b2f(0xc8)](_0x1079c2,_0x1e6b32){const _0x2fa4ed=_0x5c1b2f,_0x13a998=this[_0x2fa4ed(0xa2)][_0x2fa4ed(0x9f)](_0x1079c2);if(_0x1e6b32&&_0x13a998&&_0x13a998[_0x2fa4ed(0xbe)](_0x1e6b32)){const _0x1b52e1=_0x13a998[_0x2fa4ed(0x9f)](_0x1e6b32);this[_0x2fa4ed(0xe7)](_0x1079c2,_0x1e6b32);for(const _0xebe93 of _0x1b52e1[_0x2fa4ed(0xd5)]()){const _0x4d97a5=_0x1b52e1[_0x2fa4ed(0x9f)](_0xebe93);_0x4d97a5!=null&&(_0x4d97a5[_0x2fa4ed(0xcd)]((_0x3f267b,_0x22d354,_0x2caae0)=>{const _0x5dc76d=_0x2fa4ed;this['_allTreeMap'][_0x5dc76d(0x9f)](_0x2caae0)&&this['_removeAllTreeMap'](_0x2caae0);}),this[_0x2fa4ed(0x102)][_0x2fa4ed(0xec)](_0xebe93));}_0x1b52e1[_0x2fa4ed(0xd1)]();}else{if(_0x13a998){for(const _0x259735 of _0x13a998[_0x2fa4ed(0xd5)]()){const _0x199f5d=_0x13a998[_0x2fa4ed(0x9f)](_0x259735);this[_0x2fa4ed(0xe7)](_0x1079c2,_0x259735);for(const _0x5c2764 of _0x199f5d[_0x2fa4ed(0xd5)]()){const _0x475659=_0x199f5d[_0x2fa4ed(0x9f)](_0x5c2764);_0x475659!=null&&(_0x475659[_0x2fa4ed(0xcd)]((_0x103475,_0x16859e,_0x3912bc)=>{const _0x1743c2=_0x2fa4ed;this['_allTreeMap'][_0x1743c2(0x9f)](_0x3912bc)&&this[_0x1743c2(0x6d)](_0x3912bc);}),this[_0x2fa4ed(0x102)][_0x2fa4ed(0xec)](_0x5c2764));}}this[_0x2fa4ed(0xa2)]['delete'](_0x1079c2);}}}[_0x5c1b2f(0xe3)](_0x321280,_0x4021f1,_0x3b29cc,_0x5661ca){const _0x29a952=_0x5c1b2f;this[_0x29a952(0x76)][_0x29a952(0xbe)](_0x321280)||this[_0x29a952(0x76)][_0x29a952(0x7d)](_0x321280,new Map());const _0x1f4e33=this[_0x29a952(0x76)][_0x29a952(0x9f)](_0x321280);_0x1f4e33[_0x29a952(0xbe)](_0x4021f1)||_0x1f4e33[_0x29a952(0x7d)](_0x4021f1,new Map()),_0x1f4e33[_0x29a952(0x9f)](_0x4021f1)[_0x29a952(0x7d)](_0x3b29cc,_0x5661ca['treeId']);}[_0x5c1b2f(0xa8)](_0xe84de0,_0x31e2a7,_0x4c80c7){const _0x3756eb=_0x5c1b2f,_0x3992ab=this[_0x3756eb(0x76)][_0x3756eb(0x9f)](_0xe84de0);if(_0x3992ab&&_0x3992ab[_0x3756eb(0xbe)](_0x31e2a7)){const _0x3a7dc0=_0x3992ab[_0x3756eb(0x9f)](_0x31e2a7);_0x4c80c7[_0x3756eb(0x7c)](_0x583ee5=>{const _0x3af4a8=_0x3756eb,_0x1ee3a7=_0x3a7dc0[_0x3af4a8(0x9f)](_0x583ee5);_0x1ee3a7!=null&&(this[_0x3af4a8(0xa3)](_0x1ee3a7),_0x3a7dc0[_0x3af4a8(0xec)](_0x583ee5),this[_0x3af4a8(0x6d)](_0x1ee3a7));});}}['clearFeatureFormulaDependency'](_0x17d7b1,_0x240d58){const _0x52cc3d=_0x5c1b2f,_0x6a7741=this[_0x52cc3d(0x76)][_0x52cc3d(0x9f)](_0x17d7b1);if(_0x240d58&&_0x6a7741&&_0x6a7741['has'](_0x240d58)){const _0x4b79c5=_0x6a7741[_0x52cc3d(0x9f)](_0x240d58);this[_0x52cc3d(0xe7)](_0x17d7b1,_0x240d58),_0x4b79c5['forEach'](_0x47f528=>{const _0x1b68d7=_0x52cc3d;_0x47f528!=null&&this[_0x1b68d7(0x6d)](_0x47f528);}),_0x4b79c5[_0x52cc3d(0xd1)]();}else _0x6a7741&&(_0x6a7741[_0x52cc3d(0x7c)]((_0xbd6105,_0x3c70fc)=>{const _0x502f4b=_0x52cc3d;this[_0x502f4b(0xe7)](_0x17d7b1,_0x3c70fc),_0xbd6105['forEach'](_0x21a2bd=>{_0x21a2bd!=null&&this['_removeAllTreeMap'](_0x21a2bd);});}),this[_0x52cc3d(0x76)][_0x52cc3d(0xec)](_0x17d7b1));}[_0x5c1b2f(0xd9)](_0x4a644e,_0x35e2b8,_0x11cfdc,_0x2864c5,_0x4f5ad1){const _0x329747=_0x5c1b2f;this['_formulaData'][_0x329747(0xbe)](_0x4a644e)||this[_0x329747(0xb1)][_0x329747(0x7d)](_0x4a644e,new Map());const _0x45dab1=this[_0x329747(0xb1)]['get'](_0x4a644e);_0x45dab1['has'](_0x35e2b8)||_0x45dab1[_0x329747(0x7d)](_0x35e2b8,new _0x303d17()),_0x45dab1['get'](_0x35e2b8)[_0x329747(0xd3)](_0x11cfdc,_0x2864c5,_0x4f5ad1[_0x329747(0xe8)]);}[_0x5c1b2f(0x88)](_0x4f9629,_0x29ed4a,_0x461996,_0xdd54b){const _0x5c5acd=_0x5c1b2f,_0x1af663=this[_0x5c5acd(0xb1)][_0x5c5acd(0x9f)](_0x4f9629);if(_0x1af663&&_0x1af663[_0x5c5acd(0xbe)](_0x29ed4a)){const _0xf8f996=_0x1af663['get'](_0x29ed4a),_0x249ca8=_0xf8f996[_0x5c5acd(0xa1)](_0x461996,_0xdd54b);if(_0x249ca8==null)return;this['_removeDependencyRTreeCache'](_0x249ca8),_0xf8f996[_0x5c5acd(0xc0)](_0x461996,_0xdd54b),this[_0x5c5acd(0x6d)](_0x249ca8);}}[_0x5c1b2f(0xe6)](_0x97bfee,_0x2f34e6){const _0x5570c7=_0x5c1b2f,_0x5cd026=this[_0x5570c7(0xb1)][_0x5570c7(0x9f)](_0x97bfee);if(_0x2f34e6&&_0x5cd026&&_0x5cd026[_0x5570c7(0xbe)](_0x2f34e6)){const _0x20a875=_0x5cd026[_0x5570c7(0x9f)](_0x2f34e6);this[_0x5570c7(0xe7)](_0x97bfee,_0x2f34e6),_0x20a875[_0x5570c7(0xcd)]((_0xb1398f,_0x35b590,_0x4f8c1a)=>{const _0x2833e3=_0x5570c7;if(_0x4f8c1a==null)return!0x0;this[_0x2833e3(0x6d)](_0x4f8c1a);}),_0x20a875[_0x5570c7(0x99)]();}else _0x5cd026&&(_0x5cd026[_0x5570c7(0x7c)]((_0x23c6fa,_0x1504c3)=>{const _0x4e3a6d=_0x5570c7;this[_0x4e3a6d(0xe7)](_0x97bfee,_0x1504c3),_0x23c6fa[_0x4e3a6d(0xcd)]((_0x53725e,_0x283c9c,_0x47ac5e)=>{const _0x116b65=_0x4e3a6d;if(_0x47ac5e==null)return!0x0;this[_0x116b65(0x6d)](_0x47ac5e);});}),this[_0x5570c7(0xb1)][_0x5570c7(0xec)](_0x97bfee));}[_0x5c1b2f(0xa3)](_0x3b0ad6){const _0x3c1df5=_0x5c1b2f;if(_0x3b0ad6==null)return;const _0x5276ac=this[_0x3c1df5(0x94)]['get'](_0x3b0ad6);if(_0x5276ac){const _0x383c74=[];for(const [_0x497add,_0x27f2ed]of _0x5276ac)for(const [_0x4e2a8c,_0x58d4fa]of _0x27f2ed)_0x383c74['push']({'unitId':_0x497add,'sheetId':_0x4e2a8c,'range':_0x58d4fa,'id':_0x3b0ad6});this[_0x3c1df5(0xac)][_0x3c1df5(0xeb)](_0x383c74);}}[_0x5c1b2f(0x8b)](_0x3ba273,_0x334c4a){const _0x39231b=_0x5c1b2f,_0x218894=this[_0x39231b(0xc4)][_0x39231b(0x9f)](_0x3ba273);if(_0x218894){const _0x5262da=_0x218894['get'](_0x334c4a);if(_0x5262da){for(const _0x558574 of _0x5262da)this[_0x39231b(0xa3)](_0x558574),this[_0x39231b(0x6d)](_0x558574);_0x5262da[_0x39231b(0xd1)]();}}}[_0x5c1b2f(0xe9)](){const _0x3b8573=_0x5c1b2f;this[_0x3b8573(0xac)]['openKdTree']();}[_0x5c1b2f(0xb7)](){const _0x15bcbc=_0x5c1b2f;this[_0x15bcbc(0xac)][_0x15bcbc(0xb7)]();}[_0x5c1b2f(0x6d)](_0x29ed88){const _0x46c932=_0x5c1b2f;_0x29ed88!=null&&this['_allTreeMap'][_0x46c932(0xec)](_0x29ed88);}['_addAllTreeMap'](_0x4bc234){const _0x258a7d=_0x5c1b2f;var _0x1a2d86,_0x17c761;const _0x360326=_0x4bc234['rangeList'];let _0x21827e=this[_0x258a7d(0x94)][_0x258a7d(0x9f)](_0x4bc234['treeId']);for(let _0x826aa0=0x0;_0x826aa0<_0x360326[_0x258a7d(0xdd)];_0x826aa0++){const _0x572abd=_0x360326[_0x826aa0];let {unitId:_0x15bf3e,sheetId:_0x5be9e0,range:_0x207ae1}=_0x572abd;_0x21827e||(_0x21827e=new Map(),this['_allTreeMap'][_0x258a7d(0x7d)](_0x4bc234[_0x258a7d(0xe8)],_0x21827e)),_0x21827e[_0x258a7d(0xbe)](_0x15bf3e)||_0x21827e[_0x258a7d(0x7d)](_0x15bf3e,new Map());const _0x34d404=(_0x1a2d86=_0x21827e==null?void 0x0:_0x21827e[_0x258a7d(0x9f)](_0x15bf3e))==null?void 0x0:_0x1a2d86[_0x258a7d(0x9f)](_0x5be9e0);_0x34d404&&(_0x207ae1={'startRow':Math['min'](_0x207ae1['startRow'],_0x34d404[_0x258a7d(0xfb)]),'startColumn':Math[_0x258a7d(0x9a)](_0x207ae1[_0x258a7d(0xb9)],_0x34d404[_0x258a7d(0xb9)]),'endRow':Math['max'](_0x207ae1[_0x258a7d(0x89)],_0x34d404['endRow']),'endColumn':Math[_0x258a7d(0xf3)](_0x207ae1['endColumn'],_0x34d404['endColumn'])}),(_0x17c761=_0x21827e[_0x258a7d(0x9f)](_0x15bf3e))==null||_0x17c761[_0x258a7d(0x7d)](_0x5be9e0,_0x207ae1);}}}var pe=Object[_0x5c1b2f(0xab)],_e=(_0x4ab30c,_0x1e70f0,_0x4e26df,_0x151302)=>{for(var _0x46ccf1=_0x151302>0x1?void 0x0:_0x151302?pe(_0x1e70f0,_0x4e26df):_0x1e70f0,_0x2b5b01=_0x4ab30c['length']-0x1,_0x198f82;_0x2b5b01>=0x0;_0x2b5b01--)(_0x198f82=_0x4ab30c[_0x2b5b01])&&(_0x46ccf1=_0x198f82(_0x46ccf1)||_0x46ccf1);return _0x46ccf1;};const me=Number['parseInt'](0x690efbe9);let x=class extends _0xa2504a{['_initializeWithOverride'](){const _0x2be40e=_0x5c1b2f;var _0x49e00f,_0x34dbf5;this[_0x2be40e(0xcc)]()?(_0x49e00f=this['_config'])!=null&&_0x49e00f[_0x2be40e(0xfe)]||[[_0x1f4d6b,{'useClass':he}],[_0x316caf,{'useClass':fe}],[_0x2dbd8e,{'useClass':de}]][_0x2be40e(0x7c)](_0x2b8306=>this['_injector']['add'](_0x2b8306)):(_0x34dbf5=this[_0x2be40e(0x100)])!=null&&_0x34dbf5[_0x2be40e(0xfe)]||[[_0x1f4d6b,{'useClass':_0xc1818d}],[_0x316caf,{'useClass':_0x23bb35}],[_0x2dbd8e,{'useClass':_0x3e6f08}]][_0x2be40e(0x7c)](_0x550190=>this[_0x2be40e(0x97)]['add'](_0x550190));}[_0x5c1b2f(0xcc)](){const _0x21f02f=_0x5c1b2f;var _0xae47a1;const _0x40369e=(_0xae47a1=this['_configService'][_0x21f02f(0x9e)](_0x6f7d28))!=null?_0xae47a1:{},{ls:_0x340b01,pbk:_0x2405c6}=_0x40369e;if(!_0x340b01||!_0x2405c6)return!0x1;const _0x53bdb9=_0x3b01af(ue,le),_0x3fdd6c=new Function(_0x21f02f(0xfa)+_0x53bdb9)()(_0x340b01,_0x2405c6),_0x169f57=_0x3fdd6c[_0x21f02f(0x81)];return _0x3fdd6c[_0x21f02f(0x8a)]&&_0x39b096(_0x169f57,'sf',me)?_0x274de2(_0x169f57,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x3f7e80(_0x9a80c1)],x);export{x as UniverProFormulaEnginePlugin};
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x465327,_0x2e8aad){var _0x102332=_0x2125,_0x3d5033=_0x465327();while(!![]){try{var _0x592649=-parseInt(_0x102332(0x1fe))/0x1*(parseInt(_0x102332(0x1f7))/0x2)+-parseInt(_0x102332(0x1fc))/0x3*(-parseInt(_0x102332(0x1fa))/0x4)+parseInt(_0x102332(0x1f8))/0x5+parseInt(_0x102332(0x1fd))/0x6*(-parseInt(_0x102332(0x1f5))/0x7)+parseInt(_0x102332(0x1f6))/0x8+-parseInt(_0x102332(0x1f9))/0x9*(parseInt(_0x102332(0x1f4))/0xa)+parseInt(_0x102332(0x1fb))/0xb;if(_0x592649===_0x2e8aad)break;else _0x3d5033['push'](_0x3d5033['shift']());}catch(_0x31b180){_0x3d5033['push'](_0x3d5033['shift']());}}}(_0x39a2,0x7396f));function _0x39a2(){var _0x20ef49=['3rLOzsN','1186302VnxHdI','152QOZrwE','170PIjBRt','7mEbeYa','1870840iQfNzf','1464VjwHJP','2634565PsiYvy','345312PkqFdS','437432UdMorH','6210226pSGsSH'];_0x39a2=function(){return _0x20ef49;};return _0x39a2();}function _0x2125(_0x43b612,_0x500ff9){var _0x39a213=_0x39a2();return _0x2125=function(_0x21256a,_0x5c42fc){_0x21256a=_0x21256a-0x1f4;var _0x1baf4b=_0x39a213[_0x21256a];return _0x1baf4b;},_0x2125(_0x43b612,_0x500ff9);}export*from'@univerjs/engine-formula/facade';
1
+ function _0x58ac(_0x1a3b86,_0x3d6545){var _0x35d92d=_0x35d9();return _0x58ac=function(_0x58ace1,_0x2504a2){_0x58ace1=_0x58ace1-0x184;var _0x405983=_0x35d92d[_0x58ace1];return _0x405983;},_0x58ac(_0x1a3b86,_0x3d6545);}function _0x35d9(){var _0x1eea4a=['1313755OKvKHY','7861eajhFM','1329100EZYgre','4584Psdnno','314211kMZzQz','18RsYjvE','107392CaIcAe','1056RpglAl','646767rDCxAN'];_0x35d9=function(){return _0x1eea4a;};return _0x35d9();}(function(_0x4d9c82,_0xa68100){var _0x33b316=_0x58ac,_0x3cbcd0=_0x4d9c82();while(!![]){try{var _0xbb9398=parseInt(_0x33b316(0x188))/0x1+-parseInt(_0x33b316(0x18a))/0x2*(-parseInt(_0x33b316(0x189))/0x3)+-parseInt(_0x33b316(0x186))/0x4+-parseInt(_0x33b316(0x184))/0x5+parseInt(_0x33b316(0x18b))/0x6*(parseInt(_0x33b316(0x185))/0x7)+parseInt(_0x33b316(0x187))/0x8+-parseInt(_0x33b316(0x18c))/0x9;if(_0xbb9398===_0xa68100)break;else _0x3cbcd0['push'](_0x3cbcd0['shift']());}catch(_0x3a3fac){_0x3cbcd0['push'](_0x3cbcd0['shift']());}}}(_0x35d9,0x28f27));export*from'@univerjs/engine-formula/facade';
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5229(_0x1378be,_0xbe05f4){const _0x505539=_0x5055();return _0x5229=function(_0x522971,_0x219fd2){_0x522971=_0x522971-0xb0;let _0x721c33=_0x505539[_0x522971];return _0x721c33;},_0x5229(_0x1378be,_0xbe05f4);}const _0x239cfc=_0x5229;(function(_0x302b96,_0x5e872f){const _0x48fa9f=_0x5229,_0x1f5e8d=_0x302b96();while(!![]){try{const _0x58b25e=-parseInt(_0x48fa9f(0x11b))/0x1+-parseInt(_0x48fa9f(0xb2))/0x2+parseInt(_0x48fa9f(0xcf))/0x3+parseInt(_0x48fa9f(0xbe))/0x4+-parseInt(_0x48fa9f(0x109))/0x5+-parseInt(_0x48fa9f(0x134))/0x6*(parseInt(_0x48fa9f(0x103))/0x7)+parseInt(_0x48fa9f(0xfb))/0x8;if(_0x58b25e===_0x5e872f)break;else _0x1f5e8d['push'](_0x1f5e8d['shift']());}catch(_0xa0504){_0x1f5e8d['push'](_0x1f5e8d['shift']());}}}(_0x5055,0x6e962));var G=Object['defineProperty'],W=(_0x579bb2,_0x393800,_0x333adf)=>_0x393800 in _0x579bb2?G(_0x579bb2,_0x393800,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x333adf}):_0x579bb2[_0x393800]=_0x333adf,S=(_0x19eb00,_0x1345f0,_0x1ed2c9)=>W(_0x19eb00,typeof _0x1345f0!=_0x239cfc(0x102)?_0x1345f0+'':_0x1345f0,_0x1ed2c9);import{UniverLicensePlugin as _0x3c157e,LS_CONFIG_KEY as _0x2a3ae7,unshiftString as _0x51ce0b,isFeatureAuthorizedWithinTime as _0x8ee774,getSheetFeatureLimit as _0x505f7c}from'@univerjs-pro/license';import{ObjectMatrix as _0x4b1243,requestImmediateMacroTask as _0x4c0bf1,RTree as _0x47d3e1,DependentOn as _0x2b746c}from'@univerjs/core';import{FormulaDependencyGenerator as _0x1728bb,generateRandomDependencyTreeId as _0x1cae6e,FormulaDependencyTree as _0x521019,FormulaDependencyTreeType as _0x2cc8cb,FormulaDependencyTreeVirtual as _0x2d8fb5,generateAstNode as _0x363971,CalculateFormulaService as _0x1526de,FormulaExecuteStageType as _0x2a96bf,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x1e39eb,DEFAULT_INTERVAL_COUNT as _0x319cc7,DependencyManagerBaseService as _0x51d43b,UniverFormulaEnginePlugin as _0x1dbb56,ICalculateFormulaService as _0x21eb5a,IDependencyManagerService as _0x51bc1e,IFormulaDependencyGenerator as _0x900956,DependencyManagerService as _0x2fc196}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},ue='hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class de extends _0x1728bb{constructor(){const _0xabef52=_0x239cfc;super(...arguments),S(this,_0xabef52(0xf8),new Map());}[_0x239cfc(0x124)](){const _0x2a0491=_0x239cfc;super[_0x2a0491(0x124)](),this[_0x2a0491(0xf8)][_0x2a0491(0x11c)]();}async[_0x239cfc(0x149)](){const _0x2cac5e=_0x239cfc;this[_0x2cac5e(0x137)]();const _0x2e57ac=this[_0x2cac5e(0xe9)][_0x2cac5e(0x107)](),_0xbac36e=this[_0x2cac5e(0xeb)][_0x2cac5e(0x14e)](),_0x197a92=this[_0x2cac5e(0xe9)][_0x2cac5e(0xb0)]();_0x197a92!=null&&Object['keys'](_0x197a92)[_0x2cac5e(0xd5)](_0xcb4ab4=>{_0xcb4ab4!=null&&Object['keys'](_0x197a92[_0xcb4ab4])['forEach'](_0x4f3d4d=>{const _0x32e3bb=_0x5229;_0x4f3d4d!=null&&(this[_0x32e3bb(0x14a)][_0x32e3bb(0x10e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x12e)](_0xcb4ab4,_0x4f3d4d),this[_0x32e3bb(0x14a)][_0x32e3bb(0x13a)](_0xcb4ab4,_0x4f3d4d));});});const _0x593019=this[_0x2cac5e(0xe9)]['getUnitData']();await this[_0x2cac5e(0x119)](_0x2e57ac,_0xbac36e,_0x593019),this['_dependencyManagerService']['openKdTree']();const _0x4d1c2a=this['_getUpdateTreeListAndMakeDependency'](),_0x2a55ac=this[_0x2cac5e(0xf1)](_0x4d1c2a);return this[_0x2cac5e(0xf5)](_0x2a55ac)&&this[_0x2cac5e(0xe8)][_0x2cac5e(0x136)](),this[_0x2cac5e(0xf8)][_0x2cac5e(0x11c)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2cac5e(0x11c)](),this['_dependencyManagerService']['closeKdTree'](),Promise[_0x2cac5e(0xdf)](_0x2a55ac);}[_0x239cfc(0xbd)](_0xdfa984,_0x304f0f){const _0x35c877=_0x239cfc,_0x42c65a=[_0xdfa984];for(;_0x42c65a['length']>0x0;){const _0x4dee43=_0x42c65a[_0x42c65a[_0x35c877(0xba)]-0x1];if((_0x304f0f['get'](_0x4dee43)||0x0)===0x0){_0x304f0f[_0x35c877(0x152)](_0x4dee43,0x1);const _0x13be6=this[_0x35c877(0xf8)]['get'](_0x4dee43);if(_0x13be6==null){_0x304f0f['set'](_0x4dee43,0x2),_0x42c65a[_0x35c877(0x12b)]();continue;}const _0x18b7b0=this[_0x35c877(0x14a)][_0x35c877(0x130)](_0x13be6['toRTreeItem']());for(const _0x4a0df4 of _0x18b7b0){const _0x5cd4d0=_0x304f0f['get'](_0x4a0df4)||0x0;if(_0x5cd4d0===0x1)return!0x0;_0x5cd4d0===0x0&&_0x42c65a[_0x35c877(0xe3)](_0x4a0df4);}}else _0x304f0f[_0x35c877(0x152)](_0x4dee43,0x2),_0x42c65a['pop']();}return!0x1;}['_checkIsCycleDependency'](_0x34a9f8){const _0x8bf60b=_0x239cfc,_0x2dd349=new Map();for(const _0x2c3390 of _0x34a9f8)if(!_0x2dd349[_0x8bf60b(0xd3)](_0x2c3390[_0x8bf60b(0x13c)])&&this['_isCyclicUtilMap'](_0x2c3390[_0x8bf60b(0x13c)],_0x2dd349))return!0x0;return _0x2dd349[_0x8bf60b(0x11c)](),!0x1;}['_getFeatureFormulaTree'](_0x1261f8,_0x4f40e9,_0xa5067a){const _0x5bab28=_0x239cfc,{unitId:_0x45d5b4,subUnitId:_0x227707,dependencyRanges:_0x1f120a,getDirtyData:_0x32d246}=_0xa5067a,_0x3aab95=_0x4f40e9||_0x1cae6e(this[_0x5bab28(0x14a)]),_0x16d749=new _0x521019(_0x3aab95);_0x16d749[_0x5bab28(0x114)]=_0x45d5b4,_0x16d749[_0x5bab28(0xb1)]=_0x227707,_0x16d749[_0x5bab28(0xe5)]=_0x1f120a,_0x16d749[_0x5bab28(0xfd)]=_0x32d246;const _0x33a9f1=_0x32d246(this[_0x5bab28(0xe9)]['getDirtyData'](),this['_runtimeService'][_0x5bab28(0x11a)]()),_0x3ba764=this['_convertDirtyRangesToUnitRange'](_0x33a9f1[_0x5bab28(0x14c)]);return _0x16d749[_0x5bab28(0xca)]=_0x3ba764,_0x16d749['featureId']=_0x1261f8,_0x16d749[_0x5bab28(0x10a)]=_0x2cc8cb[_0x5bab28(0xb4)],this[_0x5bab28(0x14a)]['addFeatureFormulaDependency'](_0x45d5b4,_0x227707,_0x1261f8,_0x16d749),this['_dependencyTreeCache']['set'](_0x16d749['treeId'],_0x16d749),this['_dependencyManagerService'][_0x5bab28(0xd8)](_0xa5067a[_0x5bab28(0x114)],_0xa5067a[_0x5bab28(0xb1)],_0x1261f8)&&(_0x16d749[_0x5bab28(0x123)]=!0x0),_0x16d749;}[_0x239cfc(0x10b)](_0xe3aa1b,_0x296d0b,_0x4b9f0e){const _0x598abe=_0x239cfc;var _0xecc3d;for(const _0x25b792 of _0x296d0b){const _0x26b2ca=_0xe3aa1b[_0x25b792];if(_0x26b2ca==null)continue;const _0x52126c=Object[_0x598abe(0x132)](_0x26b2ca);for(const _0x105477 of _0x52126c){const _0x4dc2cf=_0x26b2ca[_0x105477];if(_0x4dc2cf==null)continue;const _0x349a7d=Object['keys'](_0x4dc2cf);for(const _0x2df35d of _0x349a7d){const _0x3dc07b=this[_0x598abe(0x14a)][_0x598abe(0x150)](_0x2df35d),_0x3ac866=_0x4dc2cf[_0x2df35d],{f:_0x58c262,ranges:_0x5a5899}=_0x3ac866;let _0x238235=!0x1;_0x3dc07b&&(_0x238235=!0x0);const {firstRow:_0x1d0305,firstColumn:_0x528517}=this[_0x598abe(0xdc)](_0x5a5899),_0x2d0f7c=this[_0x598abe(0x14a)][_0x598abe(0x111)](_0x25b792,_0x105477,_0x2df35d),_0x313bc4=(_0xecc3d=_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](0x0,0x0))!=null?_0xecc3d:_0x1cae6e(this[_0x598abe(0x14a)]),_0x308504=new _0x521019(_0x313bc4);for(let _0x160cab=0x0;_0x160cab<_0x5a5899[_0x598abe(0xba)];_0x160cab++){const _0x1421c1=_0x5a5899[_0x160cab],{startRow:_0x24b138,startColumn:_0x178f50,endRow:_0x4809b9,endColumn:_0x2af087}=_0x1421c1;for(let _0x4637b6=_0x24b138;_0x4637b6<=_0x4809b9;_0x4637b6++)for(let _0x39030f=_0x178f50;_0x39030f<=_0x2af087;_0x39030f++){const _0x4be3ce=_0x39030f-_0x528517,_0x160393=_0x4637b6-_0x1d0305;if(_0x4be3ce===0x0&&_0x160393===0x0){_0x308504[_0x598abe(0xd0)]=_0x58c262,_0x308504[_0x598abe(0x114)]=_0x25b792,_0x308504[_0x598abe(0xb1)]=_0x105477,_0x308504[_0x598abe(0xec)]=_0x2df35d,_0x308504[_0x598abe(0x10a)]=_0x2cc8cb[_0x598abe(0xb3)],_0x308504['isCache']=_0x238235,_0x4b9f0e[_0x598abe(0xe3)](_0x308504),this[_0x598abe(0xf8)][_0x598abe(0x152)](_0x308504['treeId'],_0x308504),this[_0x598abe(0x14a)]['addOtherFormulaDependency'](_0x25b792,_0x105477,_0x2df35d,_0x308504),this[_0x598abe(0x14a)]['addFormulaDependencyByDefinedName'](_0x308504);continue;}const _0x2b037c=new _0x2d8fb5();_0x2b037c['treeId']=(_0x2d0f7c==null?void 0x0:_0x2d0f7c[_0x598abe(0x141)](_0x4be3ce,_0x160393))||_0x1cae6e(this['_dependencyManagerService']),_0x2b037c['refTree']=_0x308504,_0x2b037c[_0x598abe(0x10c)]=_0x4be3ce,_0x2b037c[_0x598abe(0x11d)]=_0x160393,_0x2b037c[_0x598abe(0x123)]=_0x238235,this['_dependencyManagerService'][_0x598abe(0x144)](_0x25b792,_0x105477,_0x2df35d,_0x2b037c),this['_dependencyManagerService'][_0x598abe(0xf2)](_0x2b037c),_0x4b9f0e['push'](_0x2b037c),this['_dependencyTreeCache'][_0x598abe(0x152)](_0x2b037c[_0x598abe(0x13c)],_0x2b037c);}}this[_0x598abe(0x14a)][_0x598abe(0xfa)](_0x2df35d);}}}}[_0x239cfc(0x146)](_0x408352,_0x2a6c6b,_0x24d9c6,_0x250857){const _0x2234a1=_0x239cfc;for(const _0x1ac1b3 of _0x408352){const _0x10c77c=_0x2a6c6b[_0x1ac1b3];if(_0x10c77c==null)continue;const _0x2809c3=Object[_0x2234a1(0x132)](_0x10c77c);for(const _0x341cf2 of _0x2809c3){const _0x2edd54=new _0x4b1243(_0x10c77c[_0x341cf2]||{}),_0x3cbf58=new Map();_0x2edd54[_0x2234a1(0xe2)]((_0x5a44c1,_0x298b9c,_0x4edb15)=>{const _0x2f45bb=_0x2234a1;if(_0x4edb15==null)return!0x0;const {x:_0x1c3fc7=0x0,y:_0x1518d8=0x0,si:_0x3229c7}=_0x4edb15;if(!(_0x1c3fc7===0x0&&_0x1518d8===0x0&&_0x3229c7!=null))return!0x0;const _0x39464d=this[_0x2f45bb(0x113)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x24d9c6,_0x4edb15),_0x428bce=this[_0x2f45bb(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c);_0x428bce!=null?_0x39464d[_0x2f45bb(0x13c)]=_0x428bce:(this[_0x2f45bb(0x14a)][_0x2f45bb(0x148)](_0x1ac1b3,_0x341cf2,_0x5a44c1,_0x298b9c,_0x39464d),this[_0x2f45bb(0x14a)][_0x2f45bb(0xf2)](_0x39464d)),_0x3cbf58['set'](_0x3229c7,_0x39464d),_0x250857[_0x2f45bb(0xe3)](_0x39464d),this[_0x2f45bb(0xf8)][_0x2f45bb(0x152)](_0x39464d[_0x2f45bb(0x13c)],_0x39464d);}),_0x2edd54[_0x2234a1(0xe2)]((_0x1023ca,_0x5b40d9,_0x3859f1)=>{const _0x58887b=_0x2234a1;if(_0x3859f1==null)return!0x0;const {x:_0x12f66e=0x0,y:_0xa44433=0x0,si:_0x412877}=_0x3859f1;if(_0x12f66e===0x0&&_0xa44433===0x0&&_0x412877!=null)return!0x0;let _0x3a9fce;if(_0x412877&&_0x3cbf58['has'](_0x412877)){const _0xd5f618=_0x3cbf58[_0x58887b(0x12f)](_0x412877);_0x3a9fce=this[_0x58887b(0x110)](_0xd5f618,_0x3859f1);}else _0x3a9fce=this[_0x58887b(0x113)](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x24d9c6,_0x3859f1);const _0x3d460a=this[_0x58887b(0x14a)]['getFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9);_0x3d460a!=null?_0x3a9fce[_0x58887b(0x13c)]=_0x3d460a:(this[_0x58887b(0x14a)]['addFormulaDependency'](_0x1ac1b3,_0x341cf2,_0x1023ca,_0x5b40d9,_0x3a9fce),this[_0x58887b(0x14a)][_0x58887b(0xf2)](_0x3a9fce)),_0x250857[_0x58887b(0xe3)](_0x3a9fce),this[_0x58887b(0xf8)][_0x58887b(0x152)](_0x3a9fce[_0x58887b(0x13c)],_0x3a9fce);}),_0x3cbf58['clear']();}}}['_createFDtree'](_0x3d41af,_0x31b192,_0x5aa918,_0x1b9438,_0x137dfa,_0x3a40dc){const _0x33bfbb=_0x239cfc,{f:_0x153608,x:_0x2be7a7=0x0,y:_0x5990d0=0x0}=_0x3a40dc,_0x48ed48=new _0x521019(_0x1cae6e(this['_dependencyManagerService'])),_0x33e0ba=_0x137dfa[_0x3d41af][_0x31b192];return _0x48ed48[_0x33bfbb(0xd0)]=_0x153608,_0x48ed48['unitId']=_0x3d41af,_0x48ed48[_0x33bfbb(0xb1)]=_0x31b192,_0x48ed48[_0x33bfbb(0x11e)]=_0x5aa918,_0x48ed48[_0x33bfbb(0x117)]=_0x1b9438,_0x48ed48[_0x33bfbb(0x122)]=_0x33e0ba[_0x33bfbb(0x122)],_0x48ed48[_0x33bfbb(0xcd)]=_0x33e0ba[_0x33bfbb(0xcd)],_0x48ed48;}[_0x239cfc(0x133)](){const _0xdc111=_0x239cfc,_0x1ef472=[],_0x1a376c=new Set(),_0x119769=this['_currentConfigService'][_0xdc111(0x125)](),_0x4f8e45=this[_0xdc111(0xe9)][_0xdc111(0x13e)](),_0x11c6d9=this[_0xdc111(0x14a)][_0xdc111(0x130)](_0x4f8e45),_0x3fd74e=this[_0xdc111(0x108)][_0xdc111(0x127)](_0x4f8e45);for(const _0x2378c3 of _0x3fd74e)_0x11c6d9[_0xdc111(0x14b)](_0x2378c3);for(const [_0x5b98a8,_0x1bda32]of this[_0xdc111(0xf8)])(_0x119769||_0x1bda32['isDirty']||_0x1bda32[_0xdc111(0xdb)](this[_0xdc111(0xe9)]['getDirtyNameMap']())||_0x11c6d9[_0xdc111(0xd3)](_0x5b98a8)&&!_0x1bda32[_0xdc111(0xf9)](this[_0xdc111(0xe9)][_0xdc111(0x14d)]()))&&!_0x1a376c[_0xdc111(0xd3)](_0x5b98a8)&&(_0x1ef472[_0xdc111(0xe3)](_0x1bda32),_0x1a376c[_0xdc111(0x14b)](_0x5b98a8));for(const [_0x4bea4d,_0x405c91]of this[_0xdc111(0xf8)])_0x405c91[_0xdc111(0xe1)]||(_0x405c91[_0xdc111(0xe5)][_0xdc111(0xba)]=0x0);return _0x1ef472;}[_0x239cfc(0x126)](_0x5225ce){const _0x3c5669=_0x239cfc;return this[_0x3c5669(0xf8)][_0x3c5669(0x12f)](_0x5225ce);}[_0x239cfc(0x112)](_0x1ee656){const _0x23b734=_0x239cfc;return _0x363971(_0x1ee656['unitId'],_0x1ee656[_0x23b734(0xd0)],this[_0x23b734(0xfe)],this[_0x23b734(0xb7)],this[_0x23b734(0xe9)]);}*[_0x239cfc(0xe0)](_0x5ead6a,_0x2428df){const _0x49b165=_0x239cfc,_0x4433ef=_0x5ead6a,_0x193683=new Set();for(;_0x4433ef['length']>0x0;){const _0xe06db9=_0x4433ef['pop']();if(_0x193683[_0x49b165(0x11c)](),_0xe06db9===void 0x0||_0xe06db9[_0x49b165(0x13f)]())continue;if(_0xe06db9[_0x49b165(0x101)]()){yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);continue;}const _0x49171e=this[_0x49b165(0x14a)][_0x49b165(0x130)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df),_0x47413f=this[_0x49b165(0x108)][_0x49b165(0x127)](_0xe06db9[_0x49b165(0xcc)](),_0x2428df);for(const _0x38f671 of _0x47413f)_0x49171e[_0x49b165(0x14b)](_0x38f671);for(const _0xf34c68 of _0x49171e){const _0x48e34f=this['_dependencyTreeCache'][_0x49b165(0x12f)](_0xf34c68);if(!_0x48e34f)throw new Error(_0x49b165(0xf0));_0x48e34f[_0x49b165(0x101)]()||_0xe06db9['isSkip']()||_0x193683[_0x49b165(0x14b)](_0x48e34f);}if(_0x49171e['clear'](),_0x193683[_0x49b165(0x138)]===0x0)yield _0xe06db9,_0xe06db9[_0x49b165(0x142)](),_0x2428df[_0x49b165(0x14b)](_0xe06db9[_0x49b165(0x13c)]);else{_0xe06db9['setAdded'](),_0x4433ef[_0x49b165(0xe3)](_0xe06db9);for(const _0xee9dd0 of _0x193683)_0x4433ef[_0x49b165(0xe3)](_0xee9dd0);}}_0x4433ef[_0x49b165(0xba)]=0x0,_0x193683[_0x49b165(0x11c)]();}[_0x239cfc(0xf1)](_0x52197f){const _0x1c3539=_0x239cfc,_0x356679=[],_0xe23666=new Set();for(const _0x2f3ea9 of this[_0x1c3539(0xe0)](_0x52197f,_0xe23666))_0x356679['push'](_0x2f3ea9);return _0x356679;}}class he extends _0x1526de{async['_apply'](_0x401ec2=!0x1){const _0x139db7=_0x239cfc;_0x401ec2?this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc5)]):this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf['START_DEPENDENCY']),this[_0x139db7(0xbc)]['next'](this[_0x139db7(0xe8)][_0x139db7(0x147)]());const _0x2572c5=await this[_0x139db7(0xd1)][_0x139db7(0x149)](),_0x41183d=this[_0x139db7(0xde)];_0x401ec2?(this[_0x139db7(0xe8)]['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x115)]),this[_0x139db7(0xe8)][_0x139db7(0xff)](_0x2572c5['length'])):(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xdd)]),this[_0x139db7(0xe8)][_0x139db7(0xc4)](_0x2572c5[_0x139db7(0xba)])),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this['_runtimeService']['getRuntimeState']());let _0x4257e0=[];const _0x32607c=this[_0x139db7(0xef)]['getConfig'](_0x1e39eb),_0x4a32b0=(_0x32607c==null?void 0x0:_0x32607c[_0x139db7(0xb9)])||_0x319cc7;let _0x45e8c8=0x0;const _0x4631cf=_0x2572c5[_0x139db7(0xba)];for(;_0x2572c5[_0x139db7(0xba)]>0x0;){const _0x4629a5=_0x2572c5['pop'](),_0x285f8d={'node':_0x363971(_0x4629a5[_0x139db7(0x114)],_0x4629a5['formula'],this['_lexer'],this[_0x139db7(0xb7)],this[_0x139db7(0xe9)]),'refOffsetX':_0x4629a5[_0x139db7(0x10c)],'refOffsetY':_0x4629a5[_0x139db7(0x11d)]},_0x4a56eb=_0x4629a5[_0x139db7(0xfd)];if(_0x45e8c8%_0x4a32b0===0x0&&(await new Promise(_0x3dcc7a=>{const _0x2d9f1d=_0x139db7,_0x15ae01=_0x4c0bf1(_0x3dcc7a);_0x4257e0[_0x2d9f1d(0xe3)](_0x15ae01);}),_0x401ec2?(this['_runtimeService'][_0x139db7(0xf4)](_0x2a96bf['CURRENTLY_CALCULATING_ARRAY_FORMULA']),this[_0x139db7(0xe8)][_0x139db7(0x128)](_0x45e8c8+0x1)):(this[_0x139db7(0xe8)][_0x139db7(0xf4)](_0x2a96bf[_0x139db7(0xc8)]),this[_0x139db7(0xe8)]['setCompletedFormulasCount'](_0x45e8c8+0x1)),this[_0x139db7(0xbc)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x147)]()),this[_0x139db7(0xe8)][_0x139db7(0x106)]()||_0x285f8d==null&&_0x4a56eb==null)){this['_runtimeService']['setFormulaExecuteStage'](_0x2a96bf[_0x139db7(0x121)]),this['_runtimeService'][_0x139db7(0x116)](),this[_0x139db7(0xc0)][_0x139db7(0xf7)](this[_0x139db7(0xe8)][_0x139db7(0x11a)]());return;}this[_0x139db7(0xe8)][_0x139db7(0xd9)](_0x4629a5[_0x139db7(0x11e)],_0x4629a5['column'],_0x4629a5[_0x139db7(0x122)],_0x4629a5[_0x139db7(0xcd)],_0x4629a5[_0x139db7(0xb1)],_0x4629a5[_0x139db7(0x114)]);let _0x26941f;if(_0x4a56eb!=null&&_0x4629a5[_0x139db7(0xf6)]!=null){const {runtimeCellData:_0x1bb05e,dirtyRanges:_0x1300cc}=_0x4a56eb(this[_0x139db7(0xe9)][_0x139db7(0xfd)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]());this[_0x139db7(0xe8)][_0x139db7(0x10f)](_0x4629a5[_0x139db7(0xf6)],_0x1bb05e),this[_0x139db7(0xe8)][_0x139db7(0xc7)](_0x4629a5[_0x139db7(0xf6)],_0x1300cc);}else _0x285f8d!=null&&(_0x41183d[_0x139db7(0xe6)](_0x285f8d[_0x139db7(0x140)])?_0x26941f=await _0x41183d[_0x139db7(0xc6)](_0x285f8d):_0x26941f=_0x41183d[_0x139db7(0x100)](_0x285f8d),_0x4629a5[_0x139db7(0xec)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x4629a5[_0x139db7(0xec)],_0x4629a5['refOffsetX'],_0x4629a5[_0x139db7(0x11d)],_0x26941f):this[_0x139db7(0xe8)][_0x139db7(0xc2)](_0x26941f));_0x45e8c8++;}return _0x4257e0[_0x139db7(0xd5)](_0x2e69b5=>_0x2e69b5()),_0x4257e0=[],_0x4631cf>0x0?this[_0x139db7(0xe8)][_0x139db7(0x13d)]():_0x401ec2||this[_0x139db7(0xe8)][_0x139db7(0xea)](),this[_0x139db7(0xe8)][_0x139db7(0x11a)]();}}class pe extends _0x51d43b{constructor(){const _0x2b4b17=_0x239cfc;super(...arguments),S(this,_0x2b4b17(0xb6),new Map()),S(this,_0x2b4b17(0x12d),new _0x47d3e1(!0x0));}[_0x239cfc(0xc9)](){const _0x151c91=_0x239cfc;this[_0x151c91(0xda)][_0x151c91(0x11c)](),this[_0x151c91(0xd6)][_0x151c91(0x11c)](),this[_0x151c91(0xb5)][_0x151c91(0x11c)](),this[_0x151c91(0x12d)][_0x151c91(0x11c)](),this[_0x151c91(0xb6)][_0x151c91(0x11c)](),this[_0x151c91(0x105)](),this['_otherFormulaDataMainData'][_0x151c91(0x11c)]();}[_0x239cfc(0x144)](_0x9e52f2,_0x52b21a,_0x4a2b5e,_0x42cc27){const _0x361196=_0x239cfc;this[_0x361196(0xda)]['has'](_0x9e52f2)||this[_0x361196(0xda)]['set'](_0x9e52f2,new Map());const _0x42517b=this[_0x361196(0xda)][_0x361196(0x12f)](_0x9e52f2);_0x42517b[_0x361196(0xd3)](_0x52b21a)||_0x42517b[_0x361196(0x152)](_0x52b21a,new Map());const _0x4f3316=_0x42517b[_0x361196(0x12f)](_0x52b21a);_0x4f3316[_0x361196(0xd3)](_0x4a2b5e)||_0x4f3316['set'](_0x4a2b5e,new _0x4b1243()),_0x4f3316['get'](_0x4a2b5e)[_0x361196(0xfc)](_0x42cc27['refOffsetX'],_0x42cc27[_0x361196(0x11d)],_0x42cc27[_0x361196(0x13c)]);}[_0x239cfc(0xc1)](_0x2649b9,_0x42ff46,_0x126848){const _0x3edeae=_0x239cfc,_0x5310cf=this[_0x3edeae(0xda)][_0x3edeae(0x12f)](_0x2649b9);if(_0x5310cf&&_0x5310cf[_0x3edeae(0xd3)](_0x42ff46)){const _0x1089fe=_0x5310cf['get'](_0x42ff46);_0x126848['forEach'](_0x540e06=>{const _0x27cbff=_0x3edeae,_0x3c6e74=_0x1089fe[_0x27cbff(0x12f)](_0x540e06);_0x3c6e74!=null&&(_0x3c6e74[_0x27cbff(0xe2)]((_0x571844,_0x4be512,_0x548ff3)=>{const _0x28846=_0x27cbff;this['_removeDependencyRTreeCache'](_0x548ff3),this[_0x28846(0x129)](_0x548ff3);}),_0x1089fe[_0x27cbff(0xed)](_0x540e06),this[_0x27cbff(0x145)][_0x27cbff(0xed)](_0x540e06));}),_0x1089fe[_0x3edeae(0x138)]===0x0&&_0x5310cf['delete'](_0x42ff46),_0x5310cf['size']===0x0&&this[_0x3edeae(0xda)][_0x3edeae(0xed)](_0x2649b9);}}[_0x239cfc(0x10e)](_0x4d489b,_0x3e6e68){const _0x1c3b56=_0x239cfc,_0x468ab4=this['_otherFormulaData'][_0x1c3b56(0x12f)](_0x4d489b);if(_0x3e6e68&&_0x468ab4&&_0x468ab4['has'](_0x3e6e68)){const _0x509537=_0x468ab4['get'](_0x3e6e68);this[_0x1c3b56(0x12a)](_0x4d489b,_0x3e6e68);for(const _0x3d19d6 of _0x509537[_0x1c3b56(0x132)]()){const _0x14309e=_0x509537[_0x1c3b56(0x12f)](_0x3d19d6);_0x14309e!=null&&(_0x14309e[_0x1c3b56(0xe2)]((_0x31994a,_0x43e5ec,_0x351e38)=>{const _0x4b4277=_0x1c3b56;this[_0x4b4277(0xb6)]['get'](_0x351e38)&&this[_0x4b4277(0x129)](_0x351e38);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x3d19d6));}_0x509537[_0x1c3b56(0x11c)]();}else{if(_0x468ab4){for(const _0x1b4cb1 of _0x468ab4['keys']()){const _0x3a1d0d=_0x468ab4[_0x1c3b56(0x12f)](_0x1b4cb1);this[_0x1c3b56(0x12a)](_0x4d489b,_0x1b4cb1);for(const _0x1338be of _0x3a1d0d['keys']()){const _0x48cc9a=_0x3a1d0d[_0x1c3b56(0x12f)](_0x1338be);_0x48cc9a!=null&&(_0x48cc9a[_0x1c3b56(0xe2)]((_0x177dcd,_0x5a8773,_0x50cccf)=>{const _0x46ec7d=_0x1c3b56;this[_0x46ec7d(0xb6)][_0x46ec7d(0x12f)](_0x50cccf)&&this[_0x46ec7d(0x129)](_0x50cccf);}),this[_0x1c3b56(0x145)][_0x1c3b56(0xed)](_0x1338be));}}this['_otherFormulaData'][_0x1c3b56(0xed)](_0x4d489b);}}}[_0x239cfc(0xd4)](_0x1e5eca,_0x212d32,_0x3f1323,_0x24a299){const _0x51b616=_0x239cfc;this['_featureFormulaData'][_0x51b616(0xd3)](_0x1e5eca)||this[_0x51b616(0xd6)][_0x51b616(0x152)](_0x1e5eca,new Map());const _0x2d25bd=this['_featureFormulaData']['get'](_0x1e5eca);_0x2d25bd[_0x51b616(0xd3)](_0x212d32)||_0x2d25bd['set'](_0x212d32,new Map()),_0x2d25bd[_0x51b616(0x12f)](_0x212d32)['set'](_0x3f1323,_0x24a299[_0x51b616(0x13c)]);}[_0x239cfc(0xb8)](_0x12bc4b,_0x2b01af,_0x4db8ff){const _0x40aefa=_0x239cfc,_0x22dcb6=this[_0x40aefa(0xd6)][_0x40aefa(0x12f)](_0x12bc4b);if(_0x22dcb6&&_0x22dcb6[_0x40aefa(0xd3)](_0x2b01af)){const _0x10c89a=_0x22dcb6[_0x40aefa(0x12f)](_0x2b01af);_0x4db8ff[_0x40aefa(0xd5)](_0x14731a=>{const _0x332bf4=_0x40aefa,_0x22e40d=_0x10c89a[_0x332bf4(0x12f)](_0x14731a);_0x22e40d!=null&&(this[_0x332bf4(0x11f)](_0x22e40d),_0x10c89a['delete'](_0x14731a),this[_0x332bf4(0x129)](_0x22e40d));});}}['clearFeatureFormulaDependency'](_0x51fcf4,_0x1e0318){const _0x3b4c3e=_0x239cfc,_0x106de7=this[_0x3b4c3e(0xd6)][_0x3b4c3e(0x12f)](_0x51fcf4);if(_0x1e0318&&_0x106de7&&_0x106de7['has'](_0x1e0318)){const _0x53ea9e=_0x106de7['get'](_0x1e0318);this['_removeDependencyRTreeCacheById'](_0x51fcf4,_0x1e0318),_0x53ea9e['forEach'](_0x64f9db=>{_0x64f9db!=null&&this['_removeAllTreeMap'](_0x64f9db);}),_0x53ea9e['clear']();}else _0x106de7&&(_0x106de7[_0x3b4c3e(0xd5)]((_0x316450,_0x5c7364)=>{const _0xf7e6e0=_0x3b4c3e;this[_0xf7e6e0(0x12a)](_0x51fcf4,_0x5c7364),_0x316450['forEach'](_0x156d91=>{const _0x424343=_0xf7e6e0;_0x156d91!=null&&this[_0x424343(0x129)](_0x156d91);});}),this[_0x3b4c3e(0xd6)][_0x3b4c3e(0xed)](_0x51fcf4));}['addFormulaDependency'](_0x825a97,_0x1cc4a2,_0x7afc23,_0x24392c,_0x665151){const _0x491000=_0x239cfc;this[_0x491000(0xb5)]['has'](_0x825a97)||this['_formulaData'][_0x491000(0x152)](_0x825a97,new Map());const _0x3383af=this[_0x491000(0xb5)][_0x491000(0x12f)](_0x825a97);_0x3383af['has'](_0x1cc4a2)||_0x3383af[_0x491000(0x152)](_0x1cc4a2,new _0x4b1243()),_0x3383af[_0x491000(0x12f)](_0x1cc4a2)['setValue'](_0x7afc23,_0x24392c,_0x665151[_0x491000(0x13c)]);}[_0x239cfc(0x14f)](_0x55a2a8,_0x3729a1,_0xd4d6c7,_0x53c6e4){const _0x1cdc39=_0x239cfc,_0x4ca92f=this[_0x1cdc39(0xb5)][_0x1cdc39(0x12f)](_0x55a2a8);if(_0x4ca92f&&_0x4ca92f[_0x1cdc39(0xd3)](_0x3729a1)){const _0x1cd9d9=_0x4ca92f[_0x1cdc39(0x12f)](_0x3729a1),_0x5110bc=_0x1cd9d9[_0x1cdc39(0x141)](_0xd4d6c7,_0x53c6e4);if(_0x5110bc==null)return;this[_0x1cdc39(0x11f)](_0x5110bc),_0x1cd9d9[_0x1cdc39(0xe4)](_0xd4d6c7,_0x53c6e4),this[_0x1cdc39(0x129)](_0x5110bc);}}['clearFormulaDependency'](_0x496262,_0x3beaf4){const _0x2f6fb8=_0x239cfc,_0x20dc5e=this[_0x2f6fb8(0xb5)][_0x2f6fb8(0x12f)](_0x496262);if(_0x3beaf4&&_0x20dc5e&&_0x20dc5e['has'](_0x3beaf4)){const _0x14f120=_0x20dc5e['get'](_0x3beaf4);this['_removeDependencyRTreeCacheById'](_0x496262,_0x3beaf4),_0x14f120['forValue']((_0x3485b2,_0x1a494a,_0x108bb3)=>{const _0x11e65d=_0x2f6fb8;if(_0x108bb3==null)return!0x0;this[_0x11e65d(0x129)](_0x108bb3);}),_0x14f120[_0x2f6fb8(0xc9)]();}else _0x20dc5e&&(_0x20dc5e[_0x2f6fb8(0xd5)]((_0x27c575,_0x267161)=>{const _0x117b33=_0x2f6fb8;this[_0x117b33(0x12a)](_0x496262,_0x267161),_0x27c575[_0x117b33(0xe2)]((_0x154c33,_0x389fef,_0x49bc5a)=>{if(_0x49bc5a==null)return!0x0;this['_removeAllTreeMap'](_0x49bc5a);});}),this[_0x2f6fb8(0xb5)][_0x2f6fb8(0xed)](_0x496262));}[_0x239cfc(0x11f)](_0x539df3){const _0x159759=_0x239cfc;if(_0x539df3==null)return;const _0x4a02fd=this['_allTreeMap'][_0x159759(0x12f)](_0x539df3);if(_0x4a02fd){const _0x3b3e33=[];for(const [_0x4ec6f7,_0x1636e3]of _0x4a02fd)for(const [_0x53789b,_0xae67eb]of _0x1636e3)_0x3b3e33['push']({'unitId':_0x4ec6f7,'sheetId':_0x53789b,'range':_0xae67eb,'id':_0x539df3});this[_0x159759(0x12d)][_0x159759(0x12c)](_0x3b3e33);}}[_0x239cfc(0xcb)](_0x1e2bc2,_0x3b9b5f){const _0x66f79f=_0x239cfc,_0x76c34c=this['_definedNameMap'][_0x66f79f(0x12f)](_0x1e2bc2);if(_0x76c34c){const _0x2771e1=_0x76c34c[_0x66f79f(0x12f)](_0x3b9b5f);if(_0x2771e1){for(const _0x3176ba of _0x2771e1)this[_0x66f79f(0x11f)](_0x3176ba),this[_0x66f79f(0x129)](_0x3176ba);_0x2771e1[_0x66f79f(0x11c)]();}}}[_0x239cfc(0x139)](){const _0x49bbd1=_0x239cfc;this['_dependencyRTreeCache'][_0x49bbd1(0x139)]();}[_0x239cfc(0x120)](){const _0x37b0f9=_0x239cfc;this[_0x37b0f9(0x12d)][_0x37b0f9(0x120)]();}[_0x239cfc(0x129)](_0x9e5dfc){const _0x3deef9=_0x239cfc;_0x9e5dfc!=null&&this[_0x3deef9(0xb6)][_0x3deef9(0xed)](_0x9e5dfc);}[_0x239cfc(0x104)](_0x2a3985){const _0xe34799=_0x239cfc;var _0xc1121d,_0x45f4cb;const _0xa57c2a=_0x2a3985['rangeList'];let _0x5d1b2b=this[_0xe34799(0xb6)]['get'](_0x2a3985[_0xe34799(0x13c)]);for(let _0x506ada=0x0;_0x506ada<_0xa57c2a[_0xe34799(0xba)];_0x506ada++){const _0xd71735=_0xa57c2a[_0x506ada];let {unitId:_0x1c304a,sheetId:_0x26c6e5,range:_0x4d7568}=_0xd71735;_0x5d1b2b||(_0x5d1b2b=new Map(),this['_allTreeMap'][_0xe34799(0x152)](_0x2a3985[_0xe34799(0x13c)],_0x5d1b2b)),_0x5d1b2b['has'](_0x1c304a)||_0x5d1b2b['set'](_0x1c304a,new Map());const _0x14a6b9=(_0xc1121d=_0x5d1b2b==null?void 0x0:_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null?void 0x0:_0xc1121d[_0xe34799(0x12f)](_0x26c6e5);_0x14a6b9&&(_0x4d7568={'startRow':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0xe7)],_0x14a6b9[_0xe34799(0xe7)]),'startColumn':Math[_0xe34799(0x151)](_0x4d7568[_0xe34799(0x118)],_0x14a6b9[_0xe34799(0x118)]),'endRow':Math[_0xe34799(0x143)](_0x4d7568['endRow'],_0x14a6b9[_0xe34799(0xee)]),'endColumn':Math[_0xe34799(0x143)](_0x4d7568[_0xe34799(0xbb)],_0x14a6b9['endColumn'])}),(_0x45f4cb=_0x5d1b2b[_0xe34799(0x12f)](_0x1c304a))==null||_0x45f4cb[_0xe34799(0x152)](_0x26c6e5,_0x4d7568);}}}var fe=Object[_0x239cfc(0xf3)],_e=(_0x54e9db,_0x2a925f,_0x3dae81,_0x35c974)=>{const _0x334732=_0x239cfc;for(var _0x1c0daa=_0x35c974>0x1?void 0x0:_0x35c974?fe(_0x2a925f,_0x3dae81):_0x2a925f,_0xff4c06=_0x54e9db[_0x334732(0xba)]-0x1,_0x5295d8;_0xff4c06>=0x0;_0xff4c06--)(_0x5295d8=_0x54e9db[_0xff4c06])&&(_0x1c0daa=_0x5295d8(_0x1c0daa)||_0x1c0daa);return _0x1c0daa;};const me=Number[_0x239cfc(0xbf)](0x690eeeff);let x=class extends _0x1dbb56{[_0x239cfc(0x10d)](){const _0x4c6356=_0x239cfc;var _0x3b8102,_0x357854;this[_0x4c6356(0xd2)]()?(_0x3b8102=this[_0x4c6356(0x13b)])!=null&&_0x3b8102['notExecuteFormula']||[[_0x21eb5a,{'useClass':he}],[_0x51bc1e,{'useClass':pe}],[_0x900956,{'useClass':de}]][_0x4c6356(0xd5)](_0x219f8e=>this[_0x4c6356(0xd7)]['add'](_0x219f8e)):(_0x357854=this[_0x4c6356(0x13b)])!=null&&_0x357854[_0x4c6356(0xc3)]||[[_0x21eb5a,{'useClass':_0x1526de}],[_0x51bc1e,{'useClass':_0x2fc196}],[_0x900956,{'useClass':_0x1728bb}]]['forEach'](_0x197030=>this['_injector']['add'](_0x197030));}[_0x239cfc(0xd2)](){const _0x361181=_0x239cfc;var _0x498b31;const _0x702bc7=(_0x498b31=this['_configService'][_0x361181(0x135)](_0x2a3ae7))!=null?_0x498b31:{},{ls:_0x1ccc32,pbk:_0x40a03e}=_0x702bc7;if(!_0x1ccc32||!_0x40a03e)return!0x1;const _0x2308b6=_0x51ce0b(ue,le),_0xfc69f6=new Function('return\x20'+_0x2308b6)()(_0x1ccc32,_0x40a03e),_0xb3bbdd=_0xfc69f6[_0x361181(0xce)];return _0xfc69f6[_0x361181(0x131)]&&_0x8ee774(_0xb3bbdd,'sf',me)?_0x505f7c(_0xb3bbdd,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x2b746c(_0x3c157e)],x);function _0x5055(){const _0xa5f2ca=['resolve','_traverse','isVirtual','forValue','push','realDeleteValue','rangeList','checkAsyncNode','startRow','_runtimeService','_currentConfigService','markedAsNoFunctionsExecuted','_otherFormulaManagerService','formulaId','delete','endRow','_configService','ParentDependencyTree\x20object\x20is\x20null','_calculateRunList','addFormulaDependencyByDefinedName','getOwnPropertyDescriptor','setFormulaExecuteStage','_checkIsCycleDependency','featureId','next','_dependencyTreeCache','isExcludeRange','addOtherFormulaDependencyMainData','140016WfGogU','setValue','getDirtyData','_lexer','setTotalArrayFormulasToCalculate','execute','isAdded','symbol','767795BcQpnA','_addAllTreeMap','_restDependencyTreeId','isStopExecution','getFormulaData','_dependencyRTreeCacheForAddressFunction','175220pLpOYQ','type','_registerOtherFormulas','refOffsetX','_initializeWithOverride','clearOtherFormulaDependency','setRuntimeFeatureCellData','_createVirtualFDtree','getOtherFormulaDependency','_getTreeNode','_createFDtree','unitId','START_CALCULATION_ARRAY_FORMULA','markedAsStopFunctionsExecuted','column','startColumn','_generateTreeList','getAllRuntimeData','98962CCtdxe','clear','refOffsetY','row','_removeDependencyRTreeCache','closeKdTree','IDLE','rowCount','isCache','dispose','isForceCalculate','_getTreeById','bulkSearch','setCompletedArrayFormulasCount','_removeAllTreeMap','_removeDependencyRTreeCacheById','pop','bulkRemove','_dependencyRTreeCache','clearFeatureFormulaDependency','get','searchDependency','valid','keys','_getUpdateTreeListAndMakeDependency','18TAlryu','getConfig','enableCycleDependency','_updateRangeFlatten','size','openKdTree','clearFormulaDependency','_config','treeId','markedAsSuccessfullyExecuted','getDirtyRanges','isSkip','node','getValue','setSkip','max','addOtherFormulaDependency','_otherFormulaDataMainData','_registerFormulas','getRuntimeState','addFormulaDependency','generate','_dependencyManagerService','add','dirtyRanges','getExcludedRange','getOtherFormulaData','removeFormulaDependency','hasOtherFormulaDataMainData','min','set','getClearDependencyTreeCache','subUnitId','1421192aoGJxs','OTHER_FORMULA','FEATURE_FORMULA','_formulaData','_allTreeMap','_astTreeBuilder','removeFeatureFormulaDependency','intervalCount','length','endColumn','_executionInProgressListener$','_isCyclicUtilMap','3473912OnZdKt','parseInt','_executionCompleteListener$','removeOtherFormulaDependency','setRuntimeData','notExecuteFormula','setTotalFormulasToCalculate','START_DEPENDENCY_ARRAY_FORMULA','executeAsync','setRuntimeFeatureRange','CURRENTLY_CALCULATING','reset','featureDirtyRanges','removeFormulaDependencyByDefinedName','toRTreeItem','columnCount','message','2221917nkuvvG','formula','_formulaDependencyGenerator','_initLicenseValid','has','addFeatureFormulaDependency','forEach','_featureFormulaData','_injector','getFeatureFormulaDependency','setCurrent','_otherFormulaData','dependencySheetName','_getFirstCellOfRange','START_CALCULATION','_interpreter'];_0x5055=function(){return _0xa5f2ca;};return _0x5055();}export{x as UniverProFormulaEnginePlugin};
1
+ const _0x5c1b2f=_0x4bd7;function _0x4bd7(_0x50a651,_0x227ac2){const _0x3ba949=_0x3ba9();return _0x4bd7=function(_0x4bd7e3,_0x53b093){_0x4bd7e3=_0x4bd7e3-0x66;let _0x19d8a3=_0x3ba949[_0x4bd7e3];return _0x19d8a3;},_0x4bd7(_0x50a651,_0x227ac2);}(function(_0x4ab8b5,_0x3e380a){const _0x1f082d=_0x4bd7,_0x5465be=_0x4ab8b5();while(!![]){try{const _0x3a58ce=parseInt(_0x1f082d(0xaf))/0x1+parseInt(_0x1f082d(0xbf))/0x2*(parseInt(_0x1f082d(0xf2))/0x3)+parseInt(_0x1f082d(0xaa))/0x4+-parseInt(_0x1f082d(0xf0))/0x5+-parseInt(_0x1f082d(0xc9))/0x6+parseInt(_0x1f082d(0x6e))/0x7+-parseInt(_0x1f082d(0x83))/0x8;if(_0x3a58ce===_0x3e380a)break;else _0x5465be['push'](_0x5465be['shift']());}catch(_0x1c02bc){_0x5465be['push'](_0x5465be['shift']());}}}(_0x3ba9,0x28974));var W=Object[_0x5c1b2f(0x77)],z=(_0x3fa8b5,_0x4b5c0c,_0x1b6d5d)=>_0x4b5c0c in _0x3fa8b5?W(_0x3fa8b5,_0x4b5c0c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b6d5d}):_0x3fa8b5[_0x4b5c0c]=_0x1b6d5d,v=(_0x586e7f,_0x4b8ca8,_0x41a366)=>z(_0x586e7f,typeof _0x4b8ca8!=_0x5c1b2f(0x6b)?_0x4b8ca8+'':_0x4b8ca8,_0x41a366);import{UniverLicensePlugin as _0x9a80c1,LS_CONFIG_KEY as _0x6f7d28,unshiftString as _0x3b01af,isFeatureAuthorizedWithinTime as _0x39b096,getSheetFeatureLimit as _0x274de2}from'@univerjs-pro/license';import{ObjectMatrix as _0x303d17,requestImmediateMacroTask as _0x46919b,RTree as _0xb878e5,DependentOn as _0x3f7e80}from'@univerjs/core';import{FormulaDependencyGenerator as _0x3e6f08,generateRandomDependencyTreeId as _0x217a3b,FormulaDependencyTree as _0x14337b,FormulaDependencyTreeType as _0x2e94c9,FormulaDependencyTreeVirtual as _0x25c9de,generateAstNode as _0x1e6828,CalculateFormulaService as _0xc1818d,FormulaExecuteStageType as _0x182d08,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x454a6d,DEFAULT_INTERVAL_COUNT as _0x361c80,DependencyManagerBaseService as _0x13bfb0,UniverFormulaEnginePlugin as _0xa2504a,ICalculateFormulaService as _0x1f4d6b,IDependencyManagerService as _0x316caf,IFormulaDependencyGenerator as _0x2dbd8e,DependencyManagerService as _0x23bb35}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const le={0x0:'B',0x1:'V',0x2:'b',0x3:'y',0x4:'v',0x5:'G',0x6:'E',0x7:'6',0x8:'U',0x9:'f','E':'0','z':'1','n':'2','v':'3','y':'4','q':'5','T':'7','m':'8','N':'9','Y':'a','t':'c','Z':'d','i':'e','e':'g','K':'h','b':'i','l':'j','w':'k','d':'l','P':'m','R':'n','a':'o','c':'p','h':'q','j':'r','J':'s','L':'t','k':'u','O':'w','F':'x','A':'z','D':'A','G':'C','I':'D','H':'F','s':'H','p':'I','V':'J','o':'K','U':'L','f':'M','X':'N','g':'O','C':'P','Q':'Q','M':'R','B':'S','S':'T','r':'W','x':'X','u':'Y','W':'Z'},ue=_0x5c1b2f(0xae);function _0x3ba9(){const _0x8302a2=['getAllRuntimeData','addFeatureFormulaDependency','getDirtyData','getOtherFormulaData','clearFormulaDependency','_removeDependencyRTreeCacheById','treeId','openKdTree','_getUpdateTreeListAndMakeDependency','bulkRemove','delete','addOtherFormulaDependency','columnCount','isAdded','1169655wJwLoK','dirtyRanges','8823fnJuqC','max','dependencySheetName','rowCount','_getTreeNode','_lexer','unitId','setTotalFormulasToCalculate','return\x20','startRow','executeAsync','clearFeatureFormulaDependency','notExecuteFormula','column','_config','row','_otherFormulaDataMainData','getRuntimeState','_configService','subUnitId','_checkIsCycleDependency','_runtimeService','symbol','_dependencyTreeCache','_removeAllTreeMap','2150554uYyQrr','enableCycleDependency','setCompletedFormulasCount','formulaId','next','getFormulaDependency','isVirtual','setFormulaExecuteStage','_featureFormulaData','defineProperty','featureDirtyRanges','addFormulaDependencyByDefinedName','isCache','markedAsNoFunctionsExecuted','forEach','set','isExcludeRange','_convertDirtyRangesToUnitRange','_createFDtree','message','setTotalArrayFormulasToCalculate','4174992yCFuIJ','_astTreeBuilder','refOffsetY','markedAsSuccessfullyExecuted','add','removeFormulaDependency','endRow','valid','removeFormulaDependencyByDefinedName','addOtherFormulaDependencyMainData','setRuntimeData','_otherFormulaManagerService','_getFirstCellOfRange','_formulaDependencyGenerator','setSkip','START_DEPENDENCY_ARRAY_FORMULA','getExcludedRange','_allTreeMap','ParentDependencyTree\x20object\x20is\x20null','formula','_injector','isStopExecution','reset','min','searchDependency','toRTreeItem','setRuntimeOtherData','getConfig','get','getClearDependencyTreeCache','getValue','_otherFormulaData','_removeDependencyRTreeCache','removeOtherFormulaDependency','isDirty','pop','_dependencyManagerService','removeFeatureFormulaDependency','refOffsetX','439080wKpaZd','getOwnPropertyDescriptor','_dependencyRTreeCache','_updateRangeFlatten','9kRtLbaR\x20Zitj3cLbaR(dbtiRJi,\x20ck2dbtoi3)\x20{\x20\x20\x20\x20Lj3\x20{\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20dbtiRJipR9aCYjLDjjY3\x20=\x20dbtiRJi.JcdbL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ajbebRfiJJYei\x20=\x20VBgX.cYjJi(YLa2(dbtiRJipR9aCYjLDjjY3[n]));\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!ajbebRfiJJYei.kZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ajbebRfiJJYei.kZ\x20=\x20XkP2ij(dbtiRJipR9aCYjLDjjY3[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20bJrajwij\x20=\x20L3cia9\x20rajwij5da2YdBtaci\x20!==\x20\x27kRZi9bRiZ\x27\x20&&\x20Jid9\x20bRJLYRtia9\x20rajwij5da2YdBtaci;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20taRLiFL\x20=\x20bJrajwij\x20?\x20Jid9\x20:\x20ObRZaO;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYeirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[n]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYei\x20=\x20taRLiFL.__siF__.JLjbReb93(PiJJYeirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkjirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[v]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkji\x20=\x20taRLiFL.__siF__.JLjbReb93(JbeRYLkjirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeR1YdbZ\x20=\x20taRLiFL.__4ijb93__(JbeRYLkji,\x20PiJJYei,\x20ck2dbtoi3);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ZaPYbR\x20=\x20ajbebRfiJJYei.ZP;\x20\x20\x20\x20\x20\x20\x20\x209kRtLbaR\x20bJIaPYbRfYLtKbRe(aCYLLijR,\x20asaJL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijR\x20=\x20aCYLLijR.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJL\x20=\x20asaJL.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRCYjLJ\x20=\x20cYLLijR.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLCYjLJ\x20=\x20KaJL.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!cYLLijR.bRtdkZiJ(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijR\x20===\x20KaJL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(cYLLijRCYjLJ.diReLK\x20<\x20n\x20||\x20cYLLijRCYjLJ[E]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x209YdJi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRBk99bF\x20=\x20cYLLijRCYjLJ.Jdbti(z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLBk99bF\x20=\x20KaJLCYjLJ.Jdbti(-cYLLijRCYjLJ.diReLK\x20+\x20z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijRBk99bF\x20===\x20KaJLBk99bF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20diL\x20ZaPYbR1YdbZ\x20=\x20(ZaPYbR\x20&&\x20ZaPYbR.diReLK)\x20?\x20ZaPYbR.JaPi((ZPpLiP)\x20=>\x20bJIaPYbRfYLtKbRe(ZPpLiP,\x20datYLbaR.KaJLRYPi))\x20:\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(datYLbaR.KaJLRYPi\x20===\x20\x27datYdKaJL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZaPYbR1YdbZ\x20=\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x204YdbZ\x20=\x20JbeR1YdbZ\x20&&\x20ZaPYbR1YdbZ;\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20ajbebRfiJJYei,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20tYLtK\x20(ijjaj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ:\x209YdJi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','301286gNRKvM','_createVirtualFDtree','_formulaData','_calculateRunList','START_CALCULATION','rangeList','getDirtyNameMap','isForceCalculate','closeKdTree','getFeatureFormulaDependency','startColumn','isSkip','_isCyclicUtilMap','intervalCount','START_DEPENDENCY','has','178RVYmgN','realDeleteValue','IDLE','_currentConfigService','type','_definedNameMap','_interpreter','getDirtyRanges','START_CALCULATION_ARRAY_FORMULA','clearOtherFormulaDependency','347772NCSOKq','CURRENTLY_CALCULATING','_restDependencyTreeId','_initLicenseValid','forValue','bulkSearch','_traverse','featureId','clear','size','setValue','setRuntimeFeatureRange','keys','getUnitData','_getFeatureFormulaTree','_dependencyRTreeCacheForAddressFunction','addFormulaDependency','setRuntimeFeatureCellData','CURRENTLY_CALCULATING_ARRAY_FORMULA','push','length','dispose','generate','_executionInProgressListener$','checkAsyncNode'];_0x3ba9=function(){return _0x8302a2;};return _0x3ba9();}class de extends _0x3e6f08{constructor(){const _0x282349=_0x5c1b2f;super(...arguments),v(this,_0x282349(0x6c),new Map());}[_0x5c1b2f(0xde)](){const _0x129382=_0x5c1b2f;super[_0x129382(0xde)](),this[_0x129382(0x6c)][_0x129382(0xd1)]();}async[_0x5c1b2f(0xdf)](){const _0x3119fe=_0x5c1b2f;this[_0x3119fe(0xad)]();const _0x740289=this[_0x3119fe(0xc2)]['getFormulaData'](),_0x5675b5=this[_0x3119fe(0x8e)][_0x3119fe(0xe5)](),_0x36b3ec=this[_0x3119fe(0xc2)][_0x3119fe(0xa0)]();_0x36b3ec!=null&&Object[_0x3119fe(0xd5)](_0x36b3ec)[_0x3119fe(0x7c)](_0xd52c92=>{const _0x251fff=_0x3119fe;_0xd52c92!=null&&Object[_0x251fff(0xd5)](_0x36b3ec[_0xd52c92])[_0x251fff(0x7c)](_0x8ec080=>{const _0x5309dc=_0x251fff;_0x8ec080!=null&&(this[_0x5309dc(0xa7)][_0x5309dc(0xc8)](_0xd52c92,_0x8ec080),this['_dependencyManagerService'][_0x5309dc(0xfd)](_0xd52c92,_0x8ec080),this[_0x5309dc(0xa7)][_0x5309dc(0xe6)](_0xd52c92,_0x8ec080));});});const _0x23c631=this[_0x3119fe(0xc2)][_0x3119fe(0xd6)]();await this['_generateTreeList'](_0x740289,_0x5675b5,_0x23c631),this[_0x3119fe(0xa7)][_0x3119fe(0xe9)]();const _0x2d97e4=this['_getUpdateTreeListAndMakeDependency'](),_0x23c137=this[_0x3119fe(0xb2)](_0x2d97e4);return this[_0x3119fe(0x69)](_0x23c137)&&this['_runtimeService'][_0x3119fe(0x6f)](),this['_dependencyTreeCache']['clear'](),this[_0x3119fe(0xd8)]['clear'](),this[_0x3119fe(0xa7)][_0x3119fe(0xb7)](),Promise['resolve'](_0x23c137);}['_isCyclicUtilMap'](_0x25904a,_0x3b5661){const _0x4f7848=_0x5c1b2f,_0x42dbac=[_0x25904a];for(;_0x42dbac[_0x4f7848(0xdd)]>0x0;){const _0x5c31ab=_0x42dbac[_0x42dbac['length']-0x1];if((_0x3b5661[_0x4f7848(0x9f)](_0x5c31ab)||0x0)===0x0){_0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x1);const _0x526ee4=this['_dependencyTreeCache'][_0x4f7848(0x9f)](_0x5c31ab);if(_0x526ee4==null){_0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x2),_0x42dbac['pop']();continue;}const _0x227149=this[_0x4f7848(0xa7)]['searchDependency'](_0x526ee4[_0x4f7848(0x9c)]());for(const _0x3b1cf4 of _0x227149){const _0x29db57=_0x3b5661[_0x4f7848(0x9f)](_0x3b1cf4)||0x0;if(_0x29db57===0x1)return!0x0;_0x29db57===0x0&&_0x42dbac[_0x4f7848(0xdc)](_0x3b1cf4);}}else _0x3b5661[_0x4f7848(0x7d)](_0x5c31ab,0x2),_0x42dbac[_0x4f7848(0xa6)]();}return!0x1;}['_checkIsCycleDependency'](_0xabf4aa){const _0x2a09e8=_0x5c1b2f,_0xfb6abf=new Map();for(const _0x2bf290 of _0xabf4aa)if(!_0xfb6abf['has'](_0x2bf290[_0x2a09e8(0xe8)])&&this[_0x2a09e8(0xbb)](_0x2bf290['treeId'],_0xfb6abf))return!0x0;return _0xfb6abf[_0x2a09e8(0xd1)](),!0x1;}[_0x5c1b2f(0xd7)](_0x2f7256,_0x2e65df,_0x9593e2){const _0x169c30=_0x5c1b2f,{unitId:_0x412f36,subUnitId:_0x5714ce,dependencyRanges:_0x3c4db8,getDirtyData:_0x4c6929}=_0x9593e2,_0x5385dc=_0x2e65df||_0x217a3b(this['_dependencyManagerService']),_0x1e4c87=new _0x14337b(_0x5385dc);_0x1e4c87[_0x169c30(0xf8)]=_0x412f36,_0x1e4c87[_0x169c30(0x68)]=_0x5714ce,_0x1e4c87[_0x169c30(0xb4)]=_0x3c4db8,_0x1e4c87[_0x169c30(0xe4)]=_0x4c6929;const _0x14a491=_0x4c6929(this[_0x169c30(0xc2)][_0x169c30(0xe4)](),this[_0x169c30(0x6a)]['getAllRuntimeData']()),_0x529127=this[_0x169c30(0x7f)](_0x14a491[_0x169c30(0xf1)]);return _0x1e4c87[_0x169c30(0x78)]=_0x529127,_0x1e4c87['featureId']=_0x2f7256,_0x1e4c87[_0x169c30(0xc3)]=_0x2e94c9['FEATURE_FORMULA'],this[_0x169c30(0xa7)]['addFeatureFormulaDependency'](_0x412f36,_0x5714ce,_0x2f7256,_0x1e4c87),this[_0x169c30(0x6c)][_0x169c30(0x7d)](_0x1e4c87['treeId'],_0x1e4c87),this[_0x169c30(0xa7)][_0x169c30(0xb8)](_0x9593e2['unitId'],_0x9593e2[_0x169c30(0x68)],_0x2f7256)&&(_0x1e4c87[_0x169c30(0x7a)]=!0x0),_0x1e4c87;}['_registerOtherFormulas'](_0x2b0d1d,_0x49a537,_0xfd5d7f){const _0x2a511f=_0x5c1b2f;var _0x1d1956;for(const _0xd19c45 of _0x49a537){const _0x2e1651=_0x2b0d1d[_0xd19c45];if(_0x2e1651==null)continue;const _0x1cd6e2=Object[_0x2a511f(0xd5)](_0x2e1651);for(const _0x10bc1f of _0x1cd6e2){const _0x26e421=_0x2e1651[_0x10bc1f];if(_0x26e421==null)continue;const _0x448880=Object[_0x2a511f(0xd5)](_0x26e421);for(const _0x7fa286 of _0x448880){const _0x65510d=this[_0x2a511f(0xa7)]['hasOtherFormulaDataMainData'](_0x7fa286),_0x18253d=_0x26e421[_0x7fa286],{f:_0x3726d2,ranges:_0x3cd87f}=_0x18253d;let _0x5e5f77=!0x1;_0x65510d&&(_0x5e5f77=!0x0);const {firstRow:_0x5b047d,firstColumn:_0x461004}=this[_0x2a511f(0x8f)](_0x3cd87f),_0x480fd8=this[_0x2a511f(0xa7)]['getOtherFormulaDependency'](_0xd19c45,_0x10bc1f,_0x7fa286),_0x3c2b93=(_0x1d1956=_0x480fd8==null?void 0x0:_0x480fd8['getValue'](0x0,0x0))!=null?_0x1d1956:_0x217a3b(this[_0x2a511f(0xa7)]),_0x310979=new _0x14337b(_0x3c2b93);for(let _0x2cd397=0x0;_0x2cd397<_0x3cd87f[_0x2a511f(0xdd)];_0x2cd397++){const _0x28a5b1=_0x3cd87f[_0x2cd397],{startRow:_0x34809e,startColumn:_0x377c3d,endRow:_0x1f1f23,endColumn:_0xbf23dd}=_0x28a5b1;for(let _0x367929=_0x34809e;_0x367929<=_0x1f1f23;_0x367929++)for(let _0x35c1fe=_0x377c3d;_0x35c1fe<=_0xbf23dd;_0x35c1fe++){const _0x29b66f=_0x35c1fe-_0x461004,_0x30f892=_0x367929-_0x5b047d;if(_0x29b66f===0x0&&_0x30f892===0x0){_0x310979[_0x2a511f(0x96)]=_0x3726d2,_0x310979[_0x2a511f(0xf8)]=_0xd19c45,_0x310979[_0x2a511f(0x68)]=_0x10bc1f,_0x310979[_0x2a511f(0x71)]=_0x7fa286,_0x310979[_0x2a511f(0xc3)]=_0x2e94c9['OTHER_FORMULA'],_0x310979[_0x2a511f(0x7a)]=_0x5e5f77,_0xfd5d7f['push'](_0x310979),this['_dependencyTreeCache'][_0x2a511f(0x7d)](_0x310979[_0x2a511f(0xe8)],_0x310979),this[_0x2a511f(0xa7)][_0x2a511f(0xed)](_0xd19c45,_0x10bc1f,_0x7fa286,_0x310979),this[_0x2a511f(0xa7)][_0x2a511f(0x79)](_0x310979);continue;}const _0x5970d4=new _0x25c9de();_0x5970d4[_0x2a511f(0xe8)]=(_0x480fd8==null?void 0x0:_0x480fd8['getValue'](_0x29b66f,_0x30f892))||_0x217a3b(this[_0x2a511f(0xa7)]),_0x5970d4['refTree']=_0x310979,_0x5970d4[_0x2a511f(0xa9)]=_0x29b66f,_0x5970d4['refOffsetY']=_0x30f892,_0x5970d4[_0x2a511f(0x7a)]=_0x5e5f77,this['_dependencyManagerService'][_0x2a511f(0xed)](_0xd19c45,_0x10bc1f,_0x7fa286,_0x5970d4),this[_0x2a511f(0xa7)][_0x2a511f(0x79)](_0x5970d4),_0xfd5d7f[_0x2a511f(0xdc)](_0x5970d4),this['_dependencyTreeCache'][_0x2a511f(0x7d)](_0x5970d4[_0x2a511f(0xe8)],_0x5970d4);}}this[_0x2a511f(0xa7)][_0x2a511f(0x8c)](_0x7fa286);}}}}['_registerFormulas'](_0x37cbc3,_0x2a9c77,_0x1453f7,_0x22c160){const _0x343ad9=_0x5c1b2f;for(const _0x4371ab of _0x37cbc3){const _0x3f282b=_0x2a9c77[_0x4371ab];if(_0x3f282b==null)continue;const _0x36fdef=Object[_0x343ad9(0xd5)](_0x3f282b);for(const _0x84bd58 of _0x36fdef){const _0x165db1=new _0x303d17(_0x3f282b[_0x84bd58]||{}),_0x1efb46=new Map();_0x165db1[_0x343ad9(0xcd)]((_0x2794bc,_0xa1b448,_0x3258a0)=>{const _0x2b812e=_0x343ad9;if(_0x3258a0==null)return!0x0;const {x:_0x2c998a=0x0,y:_0x1cc8b8=0x0,si:_0x4c946c}=_0x3258a0;if(!(_0x2c998a===0x0&&_0x1cc8b8===0x0&&_0x4c946c!=null))return!0x0;const _0x4231df=this[_0x2b812e(0x80)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448,_0x1453f7,_0x3258a0),_0x502867=this[_0x2b812e(0xa7)][_0x2b812e(0x73)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448);_0x502867!=null?_0x4231df['treeId']=_0x502867:(this[_0x2b812e(0xa7)][_0x2b812e(0xd9)](_0x4371ab,_0x84bd58,_0x2794bc,_0xa1b448,_0x4231df),this[_0x2b812e(0xa7)]['addFormulaDependencyByDefinedName'](_0x4231df)),_0x1efb46['set'](_0x4c946c,_0x4231df),_0x22c160['push'](_0x4231df),this[_0x2b812e(0x6c)][_0x2b812e(0x7d)](_0x4231df['treeId'],_0x4231df);}),_0x165db1[_0x343ad9(0xcd)]((_0x4bf6be,_0x3eb81a,_0x4ed6de)=>{const _0x13a364=_0x343ad9;if(_0x4ed6de==null)return!0x0;const {x:_0x29a9f1=0x0,y:_0x2b4ae0=0x0,si:_0x559133}=_0x4ed6de;if(_0x29a9f1===0x0&&_0x2b4ae0===0x0&&_0x559133!=null)return!0x0;let _0x4a4392;if(_0x559133&&_0x1efb46[_0x13a364(0xbe)](_0x559133)){const _0xb9b773=_0x1efb46[_0x13a364(0x9f)](_0x559133);_0x4a4392=this[_0x13a364(0xb0)](_0xb9b773,_0x4ed6de);}else _0x4a4392=this['_createFDtree'](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a,_0x1453f7,_0x4ed6de);const _0x38dba9=this[_0x13a364(0xa7)][_0x13a364(0x73)](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a);_0x38dba9!=null?_0x4a4392[_0x13a364(0xe8)]=_0x38dba9:(this['_dependencyManagerService'][_0x13a364(0xd9)](_0x4371ab,_0x84bd58,_0x4bf6be,_0x3eb81a,_0x4a4392),this['_dependencyManagerService'][_0x13a364(0x79)](_0x4a4392)),_0x22c160[_0x13a364(0xdc)](_0x4a4392),this[_0x13a364(0x6c)]['set'](_0x4a4392[_0x13a364(0xe8)],_0x4a4392);}),_0x1efb46[_0x343ad9(0xd1)]();}}}['_createFDtree'](_0x37543d,_0x470b2c,_0xb591e4,_0x17eee2,_0x1e2e5a,_0x301f3c){const _0x353993=_0x5c1b2f,{f:_0x5c4852,x:_0x435b66=0x0,y:_0x5aa374=0x0}=_0x301f3c,_0x20fb48=new _0x14337b(_0x217a3b(this[_0x353993(0xa7)])),_0x5ea093=_0x1e2e5a[_0x37543d][_0x470b2c];return _0x20fb48['formula']=_0x5c4852,_0x20fb48[_0x353993(0xf8)]=_0x37543d,_0x20fb48[_0x353993(0x68)]=_0x470b2c,_0x20fb48[_0x353993(0x101)]=_0xb591e4,_0x20fb48[_0x353993(0xff)]=_0x17eee2,_0x20fb48[_0x353993(0xf5)]=_0x5ea093[_0x353993(0xf5)],_0x20fb48[_0x353993(0xee)]=_0x5ea093['columnCount'],_0x20fb48;}[_0x5c1b2f(0xea)](){const _0x482ed3=_0x5c1b2f,_0x192bfd=[],_0xdafae4=new Set(),_0x4aaeef=this['_currentConfigService'][_0x482ed3(0xb6)](),_0x47d836=this['_currentConfigService'][_0x482ed3(0xc6)](),_0x162fa4=this[_0x482ed3(0xa7)][_0x482ed3(0x9b)](_0x47d836),_0x4a0da1=this[_0x482ed3(0xd8)][_0x482ed3(0xce)](_0x47d836);for(const _0x51663a of _0x4a0da1)_0x162fa4['add'](_0x51663a);for(const [_0x4dfc39,_0x2c469b]of this[_0x482ed3(0x6c)])(_0x4aaeef||_0x2c469b[_0x482ed3(0xa5)]||_0x2c469b[_0x482ed3(0xf4)](this[_0x482ed3(0xc2)][_0x482ed3(0xb5)]())||_0x162fa4[_0x482ed3(0xbe)](_0x4dfc39)&&!_0x2c469b[_0x482ed3(0x7e)](this[_0x482ed3(0xc2)][_0x482ed3(0x93)]()))&&!_0xdafae4[_0x482ed3(0xbe)](_0x4dfc39)&&(_0x192bfd[_0x482ed3(0xdc)](_0x2c469b),_0xdafae4[_0x482ed3(0x87)](_0x4dfc39));for(const [_0xca291,_0x1b17e2]of this[_0x482ed3(0x6c)])_0x1b17e2[_0x482ed3(0x74)]||(_0x1b17e2[_0x482ed3(0xb4)][_0x482ed3(0xdd)]=0x0);return _0x192bfd;}['_getTreeById'](_0x443ac2){const _0x41feba=_0x5c1b2f;return this[_0x41feba(0x6c)][_0x41feba(0x9f)](_0x443ac2);}[_0x5c1b2f(0xf6)](_0x2ca677){const _0x57d1d6=_0x5c1b2f;return _0x1e6828(_0x2ca677[_0x57d1d6(0xf8)],_0x2ca677['formula'],this['_lexer'],this[_0x57d1d6(0x84)],this[_0x57d1d6(0xc2)]);}*[_0x5c1b2f(0xcf)](_0x235719,_0x9e6ffa){const _0x45151e=_0x5c1b2f,_0x31b8d7=_0x235719,_0x2e4411=new Set();for(;_0x31b8d7[_0x45151e(0xdd)]>0x0;){const _0xb2f96a=_0x31b8d7[_0x45151e(0xa6)]();if(_0x2e4411[_0x45151e(0xd1)](),_0xb2f96a===void 0x0||_0xb2f96a[_0x45151e(0xba)]())continue;if(_0xb2f96a[_0x45151e(0xef)]()){yield _0xb2f96a,_0xb2f96a['setSkip'](),_0x9e6ffa[_0x45151e(0x87)](_0xb2f96a[_0x45151e(0xe8)]);continue;}const _0x5431c2=this['_dependencyManagerService']['searchDependency'](_0xb2f96a[_0x45151e(0x9c)](),_0x9e6ffa),_0x4aae40=this[_0x45151e(0xd8)][_0x45151e(0xce)](_0xb2f96a['toRTreeItem'](),_0x9e6ffa);for(const _0x456d10 of _0x4aae40)_0x5431c2[_0x45151e(0x87)](_0x456d10);for(const _0x422bfd of _0x5431c2){const _0x4370a6=this[_0x45151e(0x6c)][_0x45151e(0x9f)](_0x422bfd);if(!_0x4370a6)throw new Error(_0x45151e(0x95));_0x4370a6['isAdded']()||_0xb2f96a[_0x45151e(0xba)]()||_0x2e4411['add'](_0x4370a6);}if(_0x5431c2[_0x45151e(0xd1)](),_0x2e4411[_0x45151e(0xd2)]===0x0)yield _0xb2f96a,_0xb2f96a[_0x45151e(0x91)](),_0x9e6ffa[_0x45151e(0x87)](_0xb2f96a['treeId']);else{_0xb2f96a['setAdded'](),_0x31b8d7['push'](_0xb2f96a);for(const _0x539a7e of _0x2e4411)_0x31b8d7[_0x45151e(0xdc)](_0x539a7e);}}_0x31b8d7['length']=0x0,_0x2e4411[_0x45151e(0xd1)]();}[_0x5c1b2f(0xb2)](_0x286fda){const _0xf69964=_0x5c1b2f,_0x2b01af=[],_0x2bca93=new Set();for(const _0x4e9c50 of this[_0xf69964(0xcf)](_0x286fda,_0x2bca93))_0x2b01af['push'](_0x4e9c50);return _0x2b01af;}}class he extends _0xc1818d{async['_apply'](_0x3733de=!0x1){const _0x1ad9a0=_0x5c1b2f;_0x3733de?this['_runtimeService']['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0x92)]):this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xbd)]),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x66)]());const _0x494a2c=await this[_0x1ad9a0(0x90)][_0x1ad9a0(0xdf)](),_0x10eb83=this[_0x1ad9a0(0xc5)];_0x3733de?(this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xc7)]),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x82)](_0x494a2c[_0x1ad9a0(0xdd)])):(this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xb3)]),this['_runtimeService'][_0x1ad9a0(0xf9)](_0x494a2c[_0x1ad9a0(0xdd)])),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x66)]());let _0x1712f5=[];const _0x2ad5c6=this[_0x1ad9a0(0x67)][_0x1ad9a0(0x9e)](_0x454a6d),_0x1bc850=(_0x2ad5c6==null?void 0x0:_0x2ad5c6[_0x1ad9a0(0xbc)])||_0x361c80;let _0x28854d=0x0;const _0x5d4063=_0x494a2c[_0x1ad9a0(0xdd)];for(;_0x494a2c['length']>0x0;){const _0x23fee8=_0x494a2c['pop'](),_0x420693={'node':_0x1e6828(_0x23fee8['unitId'],_0x23fee8[_0x1ad9a0(0x96)],this[_0x1ad9a0(0xf7)],this[_0x1ad9a0(0x84)],this[_0x1ad9a0(0xc2)]),'refOffsetX':_0x23fee8[_0x1ad9a0(0xa9)],'refOffsetY':_0x23fee8[_0x1ad9a0(0x85)]},_0x5ddce7=_0x23fee8['getDirtyData'];if(_0x28854d%_0x1bc850===0x0&&(await new Promise(_0x131430=>{const _0x37eede=_0x1ad9a0,_0x4dbb0f=_0x46919b(_0x131430);_0x1712f5[_0x37eede(0xdc)](_0x4dbb0f);}),_0x3733de?(this['_runtimeService'][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xdb)]),this['_runtimeService']['setCompletedArrayFormulasCount'](_0x28854d+0x1)):(this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x75)](_0x182d08[_0x1ad9a0(0xca)]),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x70)](_0x28854d+0x1)),this[_0x1ad9a0(0xe0)][_0x1ad9a0(0x72)](this['_runtimeService'][_0x1ad9a0(0x66)]()),this['_runtimeService'][_0x1ad9a0(0x98)]()||_0x420693==null&&_0x5ddce7==null)){this[_0x1ad9a0(0x6a)]['setFormulaExecuteStage'](_0x182d08[_0x1ad9a0(0xc1)]),this[_0x1ad9a0(0x6a)]['markedAsStopFunctionsExecuted'](),this['_executionCompleteListener$'][_0x1ad9a0(0x72)](this['_runtimeService']['getAllRuntimeData']());return;}this[_0x1ad9a0(0x6a)]['setCurrent'](_0x23fee8[_0x1ad9a0(0x101)],_0x23fee8['column'],_0x23fee8[_0x1ad9a0(0xf5)],_0x23fee8[_0x1ad9a0(0xee)],_0x23fee8[_0x1ad9a0(0x68)],_0x23fee8['unitId']);let _0x227d20;if(_0x5ddce7!=null&&_0x23fee8[_0x1ad9a0(0xd0)]!=null){const {runtimeCellData:_0x4a9525,dirtyRanges:_0x313121}=_0x5ddce7(this[_0x1ad9a0(0xc2)][_0x1ad9a0(0xe4)](),this[_0x1ad9a0(0x6a)]['getAllRuntimeData']());this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xda)](_0x23fee8['featureId'],_0x4a9525),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xd4)](_0x23fee8[_0x1ad9a0(0xd0)],_0x313121);}else _0x420693!=null&&(_0x10eb83[_0x1ad9a0(0xe1)](_0x420693['node'])?_0x227d20=await _0x10eb83[_0x1ad9a0(0xfc)](_0x420693):_0x227d20=_0x10eb83['execute'](_0x420693),_0x23fee8[_0x1ad9a0(0x71)]!=null?this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x9d)](_0x23fee8[_0x1ad9a0(0x71)],_0x23fee8[_0x1ad9a0(0xa9)],_0x23fee8[_0x1ad9a0(0x85)],_0x227d20):this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x8d)](_0x227d20));_0x28854d++;}return _0x1712f5['forEach'](_0x3d8cd=>_0x3d8cd()),_0x1712f5=[],_0x5d4063>0x0?this[_0x1ad9a0(0x6a)][_0x1ad9a0(0x86)]():_0x3733de||this['_runtimeService'][_0x1ad9a0(0x7b)](),this[_0x1ad9a0(0x6a)][_0x1ad9a0(0xe2)]();}}class fe extends _0x13bfb0{constructor(){const _0x5138d2=_0x5c1b2f;super(...arguments),v(this,_0x5138d2(0x94),new Map()),v(this,'_dependencyRTreeCache',new _0xb878e5(!0x0));}[_0x5c1b2f(0x99)](){const _0x8c730d=_0x5c1b2f;this[_0x8c730d(0xa2)][_0x8c730d(0xd1)](),this['_featureFormulaData']['clear'](),this[_0x8c730d(0xb1)][_0x8c730d(0xd1)](),this[_0x8c730d(0xac)][_0x8c730d(0xd1)](),this[_0x8c730d(0x94)][_0x8c730d(0xd1)](),this[_0x8c730d(0xcb)](),this[_0x8c730d(0x102)][_0x8c730d(0xd1)]();}[_0x5c1b2f(0xed)](_0x58419d,_0x530f27,_0x12348d,_0x57db48){const _0x52195f=_0x5c1b2f;this['_otherFormulaData']['has'](_0x58419d)||this[_0x52195f(0xa2)][_0x52195f(0x7d)](_0x58419d,new Map());const _0x38657a=this['_otherFormulaData'][_0x52195f(0x9f)](_0x58419d);_0x38657a[_0x52195f(0xbe)](_0x530f27)||_0x38657a['set'](_0x530f27,new Map());const _0x25b351=_0x38657a[_0x52195f(0x9f)](_0x530f27);_0x25b351[_0x52195f(0xbe)](_0x12348d)||_0x25b351['set'](_0x12348d,new _0x303d17()),_0x25b351['get'](_0x12348d)['setValue'](_0x57db48['refOffsetX'],_0x57db48[_0x52195f(0x85)],_0x57db48[_0x52195f(0xe8)]);}[_0x5c1b2f(0xa4)](_0x4609fa,_0x6bfa44,_0x4554e0){const _0x4a511d=_0x5c1b2f,_0x520765=this['_otherFormulaData'][_0x4a511d(0x9f)](_0x4609fa);if(_0x520765&&_0x520765[_0x4a511d(0xbe)](_0x6bfa44)){const _0x49f298=_0x520765[_0x4a511d(0x9f)](_0x6bfa44);_0x4554e0['forEach'](_0x5cd2a4=>{const _0x1b3347=_0x4a511d,_0x5838c6=_0x49f298[_0x1b3347(0x9f)](_0x5cd2a4);_0x5838c6!=null&&(_0x5838c6[_0x1b3347(0xcd)]((_0x114364,_0x485ea5,_0x4ead49)=>{this['_removeDependencyRTreeCache'](_0x4ead49),this['_removeAllTreeMap'](_0x4ead49);}),_0x49f298[_0x1b3347(0xec)](_0x5cd2a4),this['_otherFormulaDataMainData'][_0x1b3347(0xec)](_0x5cd2a4));}),_0x49f298[_0x4a511d(0xd2)]===0x0&&_0x520765[_0x4a511d(0xec)](_0x6bfa44),_0x520765['size']===0x0&&this['_otherFormulaData']['delete'](_0x4609fa);}}[_0x5c1b2f(0xc8)](_0x1079c2,_0x1e6b32){const _0x2fa4ed=_0x5c1b2f,_0x13a998=this[_0x2fa4ed(0xa2)][_0x2fa4ed(0x9f)](_0x1079c2);if(_0x1e6b32&&_0x13a998&&_0x13a998[_0x2fa4ed(0xbe)](_0x1e6b32)){const _0x1b52e1=_0x13a998[_0x2fa4ed(0x9f)](_0x1e6b32);this[_0x2fa4ed(0xe7)](_0x1079c2,_0x1e6b32);for(const _0xebe93 of _0x1b52e1[_0x2fa4ed(0xd5)]()){const _0x4d97a5=_0x1b52e1[_0x2fa4ed(0x9f)](_0xebe93);_0x4d97a5!=null&&(_0x4d97a5[_0x2fa4ed(0xcd)]((_0x3f267b,_0x22d354,_0x2caae0)=>{const _0x5dc76d=_0x2fa4ed;this['_allTreeMap'][_0x5dc76d(0x9f)](_0x2caae0)&&this['_removeAllTreeMap'](_0x2caae0);}),this[_0x2fa4ed(0x102)][_0x2fa4ed(0xec)](_0xebe93));}_0x1b52e1[_0x2fa4ed(0xd1)]();}else{if(_0x13a998){for(const _0x259735 of _0x13a998[_0x2fa4ed(0xd5)]()){const _0x199f5d=_0x13a998[_0x2fa4ed(0x9f)](_0x259735);this[_0x2fa4ed(0xe7)](_0x1079c2,_0x259735);for(const _0x5c2764 of _0x199f5d[_0x2fa4ed(0xd5)]()){const _0x475659=_0x199f5d[_0x2fa4ed(0x9f)](_0x5c2764);_0x475659!=null&&(_0x475659[_0x2fa4ed(0xcd)]((_0x103475,_0x16859e,_0x3912bc)=>{const _0x1743c2=_0x2fa4ed;this['_allTreeMap'][_0x1743c2(0x9f)](_0x3912bc)&&this[_0x1743c2(0x6d)](_0x3912bc);}),this[_0x2fa4ed(0x102)][_0x2fa4ed(0xec)](_0x5c2764));}}this[_0x2fa4ed(0xa2)]['delete'](_0x1079c2);}}}[_0x5c1b2f(0xe3)](_0x321280,_0x4021f1,_0x3b29cc,_0x5661ca){const _0x29a952=_0x5c1b2f;this[_0x29a952(0x76)][_0x29a952(0xbe)](_0x321280)||this[_0x29a952(0x76)][_0x29a952(0x7d)](_0x321280,new Map());const _0x1f4e33=this[_0x29a952(0x76)][_0x29a952(0x9f)](_0x321280);_0x1f4e33[_0x29a952(0xbe)](_0x4021f1)||_0x1f4e33[_0x29a952(0x7d)](_0x4021f1,new Map()),_0x1f4e33[_0x29a952(0x9f)](_0x4021f1)[_0x29a952(0x7d)](_0x3b29cc,_0x5661ca['treeId']);}[_0x5c1b2f(0xa8)](_0xe84de0,_0x31e2a7,_0x4c80c7){const _0x3756eb=_0x5c1b2f,_0x3992ab=this[_0x3756eb(0x76)][_0x3756eb(0x9f)](_0xe84de0);if(_0x3992ab&&_0x3992ab[_0x3756eb(0xbe)](_0x31e2a7)){const _0x3a7dc0=_0x3992ab[_0x3756eb(0x9f)](_0x31e2a7);_0x4c80c7[_0x3756eb(0x7c)](_0x583ee5=>{const _0x3af4a8=_0x3756eb,_0x1ee3a7=_0x3a7dc0[_0x3af4a8(0x9f)](_0x583ee5);_0x1ee3a7!=null&&(this[_0x3af4a8(0xa3)](_0x1ee3a7),_0x3a7dc0[_0x3af4a8(0xec)](_0x583ee5),this[_0x3af4a8(0x6d)](_0x1ee3a7));});}}['clearFeatureFormulaDependency'](_0x17d7b1,_0x240d58){const _0x52cc3d=_0x5c1b2f,_0x6a7741=this[_0x52cc3d(0x76)][_0x52cc3d(0x9f)](_0x17d7b1);if(_0x240d58&&_0x6a7741&&_0x6a7741['has'](_0x240d58)){const _0x4b79c5=_0x6a7741[_0x52cc3d(0x9f)](_0x240d58);this[_0x52cc3d(0xe7)](_0x17d7b1,_0x240d58),_0x4b79c5['forEach'](_0x47f528=>{const _0x1b68d7=_0x52cc3d;_0x47f528!=null&&this[_0x1b68d7(0x6d)](_0x47f528);}),_0x4b79c5[_0x52cc3d(0xd1)]();}else _0x6a7741&&(_0x6a7741[_0x52cc3d(0x7c)]((_0xbd6105,_0x3c70fc)=>{const _0x502f4b=_0x52cc3d;this[_0x502f4b(0xe7)](_0x17d7b1,_0x3c70fc),_0xbd6105['forEach'](_0x21a2bd=>{_0x21a2bd!=null&&this['_removeAllTreeMap'](_0x21a2bd);});}),this[_0x52cc3d(0x76)][_0x52cc3d(0xec)](_0x17d7b1));}[_0x5c1b2f(0xd9)](_0x4a644e,_0x35e2b8,_0x11cfdc,_0x2864c5,_0x4f5ad1){const _0x329747=_0x5c1b2f;this['_formulaData'][_0x329747(0xbe)](_0x4a644e)||this[_0x329747(0xb1)][_0x329747(0x7d)](_0x4a644e,new Map());const _0x45dab1=this[_0x329747(0xb1)]['get'](_0x4a644e);_0x45dab1['has'](_0x35e2b8)||_0x45dab1[_0x329747(0x7d)](_0x35e2b8,new _0x303d17()),_0x45dab1['get'](_0x35e2b8)[_0x329747(0xd3)](_0x11cfdc,_0x2864c5,_0x4f5ad1[_0x329747(0xe8)]);}[_0x5c1b2f(0x88)](_0x4f9629,_0x29ed4a,_0x461996,_0xdd54b){const _0x5c5acd=_0x5c1b2f,_0x1af663=this[_0x5c5acd(0xb1)][_0x5c5acd(0x9f)](_0x4f9629);if(_0x1af663&&_0x1af663[_0x5c5acd(0xbe)](_0x29ed4a)){const _0xf8f996=_0x1af663['get'](_0x29ed4a),_0x249ca8=_0xf8f996[_0x5c5acd(0xa1)](_0x461996,_0xdd54b);if(_0x249ca8==null)return;this['_removeDependencyRTreeCache'](_0x249ca8),_0xf8f996[_0x5c5acd(0xc0)](_0x461996,_0xdd54b),this[_0x5c5acd(0x6d)](_0x249ca8);}}[_0x5c1b2f(0xe6)](_0x97bfee,_0x2f34e6){const _0x5570c7=_0x5c1b2f,_0x5cd026=this[_0x5570c7(0xb1)][_0x5570c7(0x9f)](_0x97bfee);if(_0x2f34e6&&_0x5cd026&&_0x5cd026[_0x5570c7(0xbe)](_0x2f34e6)){const _0x20a875=_0x5cd026[_0x5570c7(0x9f)](_0x2f34e6);this[_0x5570c7(0xe7)](_0x97bfee,_0x2f34e6),_0x20a875[_0x5570c7(0xcd)]((_0xb1398f,_0x35b590,_0x4f8c1a)=>{const _0x2833e3=_0x5570c7;if(_0x4f8c1a==null)return!0x0;this[_0x2833e3(0x6d)](_0x4f8c1a);}),_0x20a875[_0x5570c7(0x99)]();}else _0x5cd026&&(_0x5cd026[_0x5570c7(0x7c)]((_0x23c6fa,_0x1504c3)=>{const _0x4e3a6d=_0x5570c7;this[_0x4e3a6d(0xe7)](_0x97bfee,_0x1504c3),_0x23c6fa[_0x4e3a6d(0xcd)]((_0x53725e,_0x283c9c,_0x47ac5e)=>{const _0x116b65=_0x4e3a6d;if(_0x47ac5e==null)return!0x0;this[_0x116b65(0x6d)](_0x47ac5e);});}),this[_0x5570c7(0xb1)][_0x5570c7(0xec)](_0x97bfee));}[_0x5c1b2f(0xa3)](_0x3b0ad6){const _0x3c1df5=_0x5c1b2f;if(_0x3b0ad6==null)return;const _0x5276ac=this[_0x3c1df5(0x94)]['get'](_0x3b0ad6);if(_0x5276ac){const _0x383c74=[];for(const [_0x497add,_0x27f2ed]of _0x5276ac)for(const [_0x4e2a8c,_0x58d4fa]of _0x27f2ed)_0x383c74['push']({'unitId':_0x497add,'sheetId':_0x4e2a8c,'range':_0x58d4fa,'id':_0x3b0ad6});this[_0x3c1df5(0xac)][_0x3c1df5(0xeb)](_0x383c74);}}[_0x5c1b2f(0x8b)](_0x3ba273,_0x334c4a){const _0x39231b=_0x5c1b2f,_0x218894=this[_0x39231b(0xc4)][_0x39231b(0x9f)](_0x3ba273);if(_0x218894){const _0x5262da=_0x218894['get'](_0x334c4a);if(_0x5262da){for(const _0x558574 of _0x5262da)this[_0x39231b(0xa3)](_0x558574),this[_0x39231b(0x6d)](_0x558574);_0x5262da[_0x39231b(0xd1)]();}}}[_0x5c1b2f(0xe9)](){const _0x3b8573=_0x5c1b2f;this[_0x3b8573(0xac)]['openKdTree']();}[_0x5c1b2f(0xb7)](){const _0x15bcbc=_0x5c1b2f;this[_0x15bcbc(0xac)][_0x15bcbc(0xb7)]();}[_0x5c1b2f(0x6d)](_0x29ed88){const _0x46c932=_0x5c1b2f;_0x29ed88!=null&&this['_allTreeMap'][_0x46c932(0xec)](_0x29ed88);}['_addAllTreeMap'](_0x4bc234){const _0x258a7d=_0x5c1b2f;var _0x1a2d86,_0x17c761;const _0x360326=_0x4bc234['rangeList'];let _0x21827e=this[_0x258a7d(0x94)][_0x258a7d(0x9f)](_0x4bc234['treeId']);for(let _0x826aa0=0x0;_0x826aa0<_0x360326[_0x258a7d(0xdd)];_0x826aa0++){const _0x572abd=_0x360326[_0x826aa0];let {unitId:_0x15bf3e,sheetId:_0x5be9e0,range:_0x207ae1}=_0x572abd;_0x21827e||(_0x21827e=new Map(),this['_allTreeMap'][_0x258a7d(0x7d)](_0x4bc234[_0x258a7d(0xe8)],_0x21827e)),_0x21827e[_0x258a7d(0xbe)](_0x15bf3e)||_0x21827e[_0x258a7d(0x7d)](_0x15bf3e,new Map());const _0x34d404=(_0x1a2d86=_0x21827e==null?void 0x0:_0x21827e[_0x258a7d(0x9f)](_0x15bf3e))==null?void 0x0:_0x1a2d86[_0x258a7d(0x9f)](_0x5be9e0);_0x34d404&&(_0x207ae1={'startRow':Math['min'](_0x207ae1['startRow'],_0x34d404[_0x258a7d(0xfb)]),'startColumn':Math[_0x258a7d(0x9a)](_0x207ae1[_0x258a7d(0xb9)],_0x34d404[_0x258a7d(0xb9)]),'endRow':Math['max'](_0x207ae1[_0x258a7d(0x89)],_0x34d404['endRow']),'endColumn':Math[_0x258a7d(0xf3)](_0x207ae1['endColumn'],_0x34d404['endColumn'])}),(_0x17c761=_0x21827e[_0x258a7d(0x9f)](_0x15bf3e))==null||_0x17c761[_0x258a7d(0x7d)](_0x5be9e0,_0x207ae1);}}}var pe=Object[_0x5c1b2f(0xab)],_e=(_0x4ab30c,_0x1e70f0,_0x4e26df,_0x151302)=>{for(var _0x46ccf1=_0x151302>0x1?void 0x0:_0x151302?pe(_0x1e70f0,_0x4e26df):_0x1e70f0,_0x2b5b01=_0x4ab30c['length']-0x1,_0x198f82;_0x2b5b01>=0x0;_0x2b5b01--)(_0x198f82=_0x4ab30c[_0x2b5b01])&&(_0x46ccf1=_0x198f82(_0x46ccf1)||_0x46ccf1);return _0x46ccf1;};const me=Number['parseInt'](0x690efbe9);let x=class extends _0xa2504a{['_initializeWithOverride'](){const _0x2be40e=_0x5c1b2f;var _0x49e00f,_0x34dbf5;this[_0x2be40e(0xcc)]()?(_0x49e00f=this['_config'])!=null&&_0x49e00f[_0x2be40e(0xfe)]||[[_0x1f4d6b,{'useClass':he}],[_0x316caf,{'useClass':fe}],[_0x2dbd8e,{'useClass':de}]][_0x2be40e(0x7c)](_0x2b8306=>this['_injector']['add'](_0x2b8306)):(_0x34dbf5=this[_0x2be40e(0x100)])!=null&&_0x34dbf5[_0x2be40e(0xfe)]||[[_0x1f4d6b,{'useClass':_0xc1818d}],[_0x316caf,{'useClass':_0x23bb35}],[_0x2dbd8e,{'useClass':_0x3e6f08}]][_0x2be40e(0x7c)](_0x550190=>this[_0x2be40e(0x97)]['add'](_0x550190));}[_0x5c1b2f(0xcc)](){const _0x21f02f=_0x5c1b2f;var _0xae47a1;const _0x40369e=(_0xae47a1=this['_configService'][_0x21f02f(0x9e)](_0x6f7d28))!=null?_0xae47a1:{},{ls:_0x340b01,pbk:_0x2405c6}=_0x40369e;if(!_0x340b01||!_0x2405c6)return!0x1;const _0x53bdb9=_0x3b01af(ue,le),_0x3fdd6c=new Function(_0x21f02f(0xfa)+_0x53bdb9)()(_0x340b01,_0x2405c6),_0x169f57=_0x3fdd6c[_0x21f02f(0x81)];return _0x3fdd6c[_0x21f02f(0x8a)]&&_0x39b096(_0x169f57,'sf',me)?_0x274de2(_0x169f57,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};x=_e([_0x3f7e80(_0x9a80c1)],x);export{x as UniverProFormulaEnginePlugin};
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
9
9
  "7": string;
10
10
  "8": string;
11
11
  "9": string;
12
- Y: string;
13
12
  E: string;
14
- x: string;
15
- U: string;
16
- R: string;
17
- T: string;
18
- O: string;
19
- H: string;
20
- L: string;
21
- d: string;
22
- e: string;
23
- p: string;
24
- h: string;
25
- s: string;
26
- K: string;
27
- V: string;
28
- r: string;
29
13
  z: string;
30
- A: string;
31
- b: string;
32
- N: string;
14
+ n: string;
15
+ v: string;
16
+ y: string;
33
17
  q: string;
34
- P: string;
35
- F: string;
18
+ T: string;
19
+ m: string;
20
+ N: string;
21
+ Y: string;
36
22
  t: string;
37
- Q: string;
38
- S: string;
39
- X: string;
23
+ Z: string;
40
24
  i: string;
41
- W: string;
25
+ e: string;
26
+ K: string;
27
+ b: string;
42
28
  l: string;
29
+ w: string;
30
+ d: string;
31
+ P: string;
32
+ R: string;
33
+ a: string;
34
+ c: string;
35
+ h: string;
43
36
  j: string;
37
+ J: string;
38
+ L: string;
39
+ k: string;
40
+ O: string;
41
+ F: string;
42
+ A: string;
43
+ D: string;
44
44
  G: string;
45
- y: string;
45
+ I: string;
46
+ H: string;
47
+ s: string;
48
+ p: string;
49
+ V: string;
46
50
  o: string;
51
+ U: string;
52
+ f: string;
53
+ X: string;
54
+ g: string;
47
55
  C: string;
56
+ Q: string;
48
57
  M: string;
49
- v: string;
50
- g: string;
51
- Z: string;
52
- a: string;
53
- m: string;
54
- k: string;
55
- n: string;
56
- J: string;
57
- u: string;
58
- f: string;
59
- I: string;
60
- c: string;
61
- D: string;
62
58
  B: string;
63
- w: string;
59
+ S: string;
60
+ r: string;
61
+ x: string;
62
+ u: string;
63
+ W: string;
64
64
  };
@@ -1 +1 @@
1
- export declare const getLsInfoFuncStr = "hFAdPVbA epdNX6PVbA(zVdpAqp, 6FLzVdvpX) { PNX { dbAqP zVdpAqpCAhbmHNPWNNHX = zVdpAqp.q6zVP('-'); dbAqP bNVsVA2pqqHsp = MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E])); Vh (!bNVsVA2pqqHsp.Fe) { bNVsVA2pqqHsp.Fe = ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]); } dbAqP VqcbN9pN = PX6pbh cbN9pNozbLHzJdb6p !== 'FAephVApe' && qpzh VAqPHAdpbh cbN9pNozbLHzJdb6p; dbAqP dbAPpSP = VqcbN9pN ? qpzh : QVAebQ; dbAqP 0pqqHspcbNe = dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]); dbAqP 0pqqHsp = dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe); dbAqP qVsAHPFNpcbNe = dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]); dbAqP qVsAHPFNp = dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe); dbAqP qVsAIHzVe = dbAPpSP.__tpNVhX__(qVsAHPFNp, 0pqqHsp, 6FLzVdvpX); dbAqP eb0HVA = bNVsVA2pqqHsp.e0; hFAdPVbA Vqjb0HVA2HPdKVAs(bmHPPpNA, b1bqP) { dbAqP 6HPPpNA = bmHPPpNA.Np6zHdp(/^.+/, ''); dbAqP KbqP = b1bqP.Np6zHdp(/^.+/, ''); dbAqP 6HPPpNAmHNPq = 6HPPpNA.q6zVP('.'); dbAqP KbqPmHNPq = KbqP.q6zVP('.'); Vh (!6HPPpNA.VAdzFepq('*')) { NpPFNA 6HPPpNA === KbqP; } Vh (6HPPpNAmHNPq.zpAsPK < E || 6HPPpNAmHNPq[Y] !== '*') { NpPFNA hHzqp; } dbAqP 6HPPpNAJFhhVS = 6HPPpNAmHNPq.qzVdp(3).rbVA('.'); dbAqP KbqPJFhhVS = KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK + 3).rbVA('.'); NpPFNA 6HPPpNAJFhhVS === KbqPJFhhVS; } zpP eb0HVAIHzVe = (eb0HVA && eb0HVA.zpAsPK) ? eb0HVA.qb0p((e0CPp0) => Vqjb0HVA2HPdKVAs(e0CPp0, zbdHPVbA.KbqPAH0p)) : PNFp; Vh (zbdHPVbA.KbqPAH0p === 'zbdHzKbqP') { eb0HVAIHzVe = PNFp; } dbAqP tHzVe = qVsAIHzVe && eb0HVAIHzVe; NpPFNA { tHzVe, 0pqqHsp: bNVsVA2pqqHsp, }; } dHPdK (pNNbN) { NpPFNA { tHzVe: hHzqp, 0pqqHsp: {}, }; }}";
1
+ export declare const getLsInfoFuncStr = "9kRtLbaR Zitj3cLbaR(dbtiRJi, ck2dbtoi3) { Lj3 { taRJL dbtiRJipR9aCYjLDjjY3 = dbtiRJi.JcdbL('-'); taRJL ajbebRfiJJYei = VBgX.cYjJi(YLa2(dbtiRJipR9aCYjLDjjY3[n])); b9 (!ajbebRfiJJYei.kZ) { ajbebRfiJJYei.kZ = XkP2ij(dbtiRJipR9aCYjLDjjY3[y]); } taRJL bJrajwij = L3cia9 rajwij5da2YdBtaci !== 'kRZi9bRiZ' && Jid9 bRJLYRtia9 rajwij5da2YdBtaci; taRJL taRLiFL = bJrajwij ? Jid9 : ObRZaO; taRJL PiJJYeirajZ = taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[n]); taRJL PiJJYei = taRLiFL.__siF__.JLjbReb93(PiJJYeirajZ); taRJL JbeRYLkjirajZ = taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[v]); taRJL JbeRYLkji = taRLiFL.__siF__.JLjbReb93(JbeRYLkjirajZ); taRJL JbeR1YdbZ = taRLiFL.__4ijb93__(JbeRYLkji, PiJJYei, ck2dbtoi3); taRJL ZaPYbR = ajbebRfiJJYei.ZP; 9kRtLbaR bJIaPYbRfYLtKbRe(aCYLLijR, asaJL) { taRJL cYLLijR = aCYLLijR.jicdYti(/^.+/, ''); taRJL KaJL = asaJL.jicdYti(/^.+/, ''); taRJL cYLLijRCYjLJ = cYLLijR.JcdbL('.'); taRJL KaJLCYjLJ = KaJL.JcdbL('.'); b9 (!cYLLijR.bRtdkZiJ('*')) { jiLkjR cYLLijR === KaJL; } b9 (cYLLijRCYjLJ.diReLK < n || cYLLijRCYjLJ[E] !== '*') { jiLkjR 9YdJi; } taRJL cYLLijRBk99bF = cYLLijRCYjLJ.Jdbti(z).labR('.'); taRJL KaJLBk99bF = KaJLCYjLJ.Jdbti(-cYLLijRCYjLJ.diReLK + z).labR('.'); jiLkjR cYLLijRBk99bF === KaJLBk99bF; } diL ZaPYbR1YdbZ = (ZaPYbR && ZaPYbR.diReLK) ? ZaPYbR.JaPi((ZPpLiP) => bJIaPYbRfYLtKbRe(ZPpLiP, datYLbaR.KaJLRYPi)) : Ljki; b9 (datYLbaR.KaJLRYPi === 'datYdKaJL') { ZaPYbR1YdbZ = Ljki; } taRJL 4YdbZ = JbeR1YdbZ && ZaPYbR1YdbZ; jiLkjR { 4YdbZ, PiJJYei: ajbebRfiJJYei, }; } tYLtK (ijjaj) { jiLkjR { 4YdbZ: 9YdJi, PiJJYei: {}, }; }}";
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x55a648,_0x4a8a31){var _0x43ddb7=_0x3274,_0x32c603=_0x55a648();while(!![]){try{var _0x5c0113=-parseInt(_0x43ddb7(0x17d))/0x1*(-parseInt(_0x43ddb7(0x17a))/0x2)+parseInt(_0x43ddb7(0x176))/0x3*(parseInt(_0x43ddb7(0x178))/0x4)+parseInt(_0x43ddb7(0x170))/0x5*(parseInt(_0x43ddb7(0x181))/0x6)+-parseInt(_0x43ddb7(0x175))/0x7+parseInt(_0x43ddb7(0x17e))/0x8*(-parseInt(_0x43ddb7(0x16f))/0x9)+parseInt(_0x43ddb7(0x17f))/0xa*(parseInt(_0x43ddb7(0x180))/0xb)+-parseInt(_0x43ddb7(0x16b))/0xc;if(_0x5c0113===_0x4a8a31)break;else _0x32c603['push'](_0x32c603['shift']());}catch(_0x4db37b){_0x32c603['push'](_0x32c603['shift']());}}}(_0x5d56,0x29340),function(_0x559d98,_0x495aab){var _0x18fa4d=_0x3274;typeof exports=='object'&&typeof module<'u'?_0x495aab(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x18fa4d(0x173)&&define[_0x18fa4d(0x16d)]?define([_0x18fa4d(0x177),'@univerjs/engine-formula/facade'],_0x495aab):(_0x559d98=typeof globalThis<'u'?globalThis:_0x559d98||self,_0x495aab(_0x559d98[_0x18fa4d(0x17b)]={},_0x559d98['UniverEngineFormulaFacade']));}(this,function(_0xdb259f,_0x290a64){'use strict';var _0x1bb338=_0x3274;Object[_0x1bb338(0x172)](_0x290a64)[_0x1bb338(0x16e)](_0x18e71e=>{var _0xc48c27=_0x1bb338;_0x18e71e!=='default'&&!Object['prototype'][_0xc48c27(0x16c)][_0xc48c27(0x17c)](_0xdb259f,_0x18e71e)&&Object[_0xc48c27(0x174)](_0xdb259f,_0x18e71e,{'enumerable':!0x0,'get':()=>_0x290a64[_0x18e71e]});}),Object[_0x1bb338(0x174)](_0xdb259f,Symbol[_0x1bb338(0x171)],{'value':_0x1bb338(0x179)});}));function _0x3274(_0x25f0fa,_0x256167){var _0x5d5602=_0x5d56();return _0x3274=function(_0x327471,_0x249bbd){_0x327471=_0x327471-0x16b;var _0x83735d=_0x5d5602[_0x327471];return _0x83735d;},_0x3274(_0x25f0fa,_0x256167);}function _0x5d56(){var _0x5d5811=['forEach','66924YXGCkO','345mifMEU','toStringTag','keys','function','defineProperty','2324126Jlheej','31704cwicBr','exports','48Zbexuf','Module','68NNYOCr','UniverProEngineFormulaFacade','call','5021QSVdqK','136XCcIhi','580oIANgO','15829GlQyEg','21558bNjovh','20532IOYDur','hasOwnProperty','amd'];_0x5d56=function(){return _0x5d5811;};return _0x5d56();}
1
+ function _0x4b68(_0x82d918,_0x1c20c2){var _0x2e51bc=_0x2e51();return _0x4b68=function(_0x4b68a7,_0x268de2){_0x4b68a7=_0x4b68a7-0x140;var _0x4bec2c=_0x2e51bc[_0x4b68a7];return _0x4bec2c;},_0x4b68(_0x82d918,_0x1c20c2);}(function(_0x39806c,_0x1ead0f){var _0x3d9ea1=_0x4b68,_0x3e6057=_0x39806c();while(!![]){try{var _0x506599=parseInt(_0x3d9ea1(0x14f))/0x1*(-parseInt(_0x3d9ea1(0x14b))/0x2)+-parseInt(_0x3d9ea1(0x14e))/0x3+-parseInt(_0x3d9ea1(0x150))/0x4+parseInt(_0x3d9ea1(0x144))/0x5+-parseInt(_0x3d9ea1(0x145))/0x6*(parseInt(_0x3d9ea1(0x157))/0x7)+parseInt(_0x3d9ea1(0x143))/0x8+-parseInt(_0x3d9ea1(0x158))/0x9*(-parseInt(_0x3d9ea1(0x146))/0xa);if(_0x506599===_0x1ead0f)break;else _0x3e6057['push'](_0x3e6057['shift']());}catch(_0x3650f3){_0x3e6057['push'](_0x3e6057['shift']());}}}(_0x2e51,0x2d888),function(_0x24bcac,_0x2cc5df){var _0x24a920=_0x4b68;typeof exports==_0x24a920(0x140)&&typeof module<'u'?_0x2cc5df(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x24a920(0x151)&&define[_0x24a920(0x156)]?define([_0x24a920(0x142),_0x24a920(0x141)],_0x2cc5df):(_0x24bcac=typeof globalThis<'u'?globalThis:_0x24bcac||self,_0x2cc5df(_0x24bcac[_0x24a920(0x149)]={},_0x24bcac[_0x24a920(0x147)]));}(this,function(_0xef8831,_0x4ac36f){'use strict';var _0x4c8664=_0x4b68;Object[_0x4c8664(0x14c)](_0x4ac36f)['forEach'](_0x372dc1=>{var _0x58f520=_0x4c8664;_0x372dc1!==_0x58f520(0x154)&&!Object[_0x58f520(0x152)][_0x58f520(0x148)][_0x58f520(0x14d)](_0xef8831,_0x372dc1)&&Object['defineProperty'](_0xef8831,_0x372dc1,{'enumerable':!0x0,'get':()=>_0x4ac36f[_0x372dc1]});}),Object[_0x4c8664(0x14a)](_0xef8831,Symbol[_0x4c8664(0x153)],{'value':_0x4c8664(0x155)});}));function _0x2e51(){var _0x1d7d97=['104165eyPDjP','1938966VNXZHz','1730AxyCGq','UniverEngineFormulaFacade','hasOwnProperty','UniverProEngineFormulaFacade','defineProperty','4910Rcmlzk','keys','call','478104sNGMwT','41RywvxD','210540pVQTGB','function','prototype','toStringTag','default','Module','amd','7POMobI','31833XPdQoB','object','@univerjs/engine-formula/facade','exports','1516712uZVnmJ'];_0x2e51=function(){return _0x1d7d97;};return _0x2e51();}
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x27470b,_0x5a6ef3){const _0x41ed88=_0x424e,_0x5813a0=_0x27470b();while(!![]){try{const _0x2c708a=-parseInt(_0x41ed88(0x1b7))/0x1+parseInt(_0x41ed88(0x17d))/0x2+-parseInt(_0x41ed88(0x1d2))/0x3+-parseInt(_0x41ed88(0x148))/0x4*(-parseInt(_0x41ed88(0x1ee))/0x5)+-parseInt(_0x41ed88(0x174))/0x6*(parseInt(_0x41ed88(0x189))/0x7)+parseInt(_0x41ed88(0x1ab))/0x8*(parseInt(_0x41ed88(0x141))/0x9)+parseInt(_0x41ed88(0x172))/0xa;if(_0x2c708a===_0x5a6ef3)break;else _0x5813a0['push'](_0x5813a0['shift']());}catch(_0x47e1ce){_0x5813a0['push'](_0x5813a0['shift']());}}}(_0x57c3,0x72739),function(_0x52765f,_0x3016ff){const _0x553e26=_0x424e;typeof exports==_0x553e26(0x197)&&typeof module<'u'?_0x3016ff(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x553e26(0x177)&&define[_0x553e26(0x143)]?define([_0x553e26(0x13e),_0x553e26(0x18c),_0x553e26(0x138),_0x553e26(0x15b)],_0x3016ff):(_0x52765f=typeof globalThis<'u'?globalThis:_0x52765f||self,_0x3016ff(_0x52765f['UniverProEngineFormula']={},_0x52765f[_0x553e26(0x199)],_0x52765f[_0x553e26(0x1db)],_0x52765f[_0x553e26(0x1e2)]));}(this,function(_0x12006a,_0x197612,_0x5341c9,_0x4f9302){'use strict';const _0x16fab8=_0x424e;var _0x114add=Object['defineProperty'],_0x5dcf29=(_0x1f9794,_0x3d2545,_0x30f8dc)=>_0x3d2545 in _0x1f9794?_0x114add(_0x1f9794,_0x3d2545,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30f8dc}):_0x1f9794[_0x3d2545]=_0x30f8dc,_0x4bf2f8=(_0x536f05,_0x900ff7,_0x1c5c2a)=>_0x5dcf29(_0x536f05,typeof _0x900ff7!=_0x16fab8(0x1d0)?_0x900ff7+'':_0x900ff7,_0x1c5c2a);const _0x2d121f={0x0:'m',0x1:'H',0x2:'M',0x3:'1',0x4:'8',0x5:'q',0x6:'p',0x7:'C',0x8:'9',0x9:'k','Y':'0','E':'2','x':'3','U':'4','R':'5','T':'6','O':'7','H':'a','L':'b','d':'c','e':'d','p':'e','h':'f','s':'g','K':'h','V':'i','r':'j','z':'l','A':'n','b':'o','N':'r','q':'s','P':'t','F':'u','t':'v','Q':'w','S':'x','X':'y','i':'z','W':'A','l':'B','j':'D','G':'E','y':'F','o':'G','C':'I','M':'J','v':'K','g':'L','Z':'N','a':'O','m':'P','k':'Q','n':'R','J':'S','u':'T','f':'U','I':'V','c':'W','D':'X','B':'Y','w':'Z'},_0x149966=_0x16fab8(0x179);class _0x3b0565 extends _0x4f9302[_0x16fab8(0x178)]{constructor(){super(...arguments),_0x4bf2f8(this,'_dependencyTreeCache',new Map());}[_0x16fab8(0x1b3)](){const _0x576c82=_0x16fab8;super['dispose'](),this[_0x576c82(0x13a)][_0x576c82(0x16e)]();}async[_0x16fab8(0x1b8)](){const _0xa4ece4=_0x16fab8;this['_updateRangeFlatten']();const _0x1f9cab=this['_currentConfigService'][_0xa4ece4(0x13f)](),_0x51a8ea=this[_0xa4ece4(0x187)][_0xa4ece4(0x153)](),_0x23150d=this[_0xa4ece4(0x183)][_0xa4ece4(0x157)]();_0x23150d!=null&&Object[_0xa4ece4(0x191)](_0x23150d)[_0xa4ece4(0x185)](_0x3eab04=>{const _0x438590=_0xa4ece4;_0x3eab04!=null&&Object[_0x438590(0x191)](_0x23150d[_0x3eab04])[_0x438590(0x185)](_0x445edf=>{const _0x58287e=_0x438590;_0x445edf!=null&&(this['_dependencyManagerService'][_0x58287e(0x15a)](_0x3eab04,_0x445edf),this[_0x58287e(0x1f5)]['clearFeatureFormulaDependency'](_0x3eab04,_0x445edf),this['_dependencyManagerService']['clearFormulaDependency'](_0x3eab04,_0x445edf));});});const _0x4a997a=this[_0xa4ece4(0x183)][_0xa4ece4(0x18f)]();await this['_generateTreeList'](_0x1f9cab,_0x51a8ea,_0x4a997a),this[_0xa4ece4(0x1f5)][_0xa4ece4(0x1f9)]();const _0x12ea23=this[_0xa4ece4(0x198)](),_0x62e975=this['_calculateRunList'](_0x12ea23);return this[_0xa4ece4(0x145)](_0x62e975)&&this[_0xa4ece4(0x181)][_0xa4ece4(0x1da)](),this[_0xa4ece4(0x13a)][_0xa4ece4(0x16e)](),this[_0xa4ece4(0x1d3)][_0xa4ece4(0x16e)](),this['_dependencyManagerService'][_0xa4ece4(0x1d5)](),Promise['resolve'](_0x62e975);}[_0x16fab8(0x1e3)](_0x437c85,_0x3ec218){const _0x56a6f3=_0x16fab8,_0x29da21=[_0x437c85];for(;_0x29da21[_0x56a6f3(0x14c)]>0x0;){const _0x1e41c3=_0x29da21[_0x29da21[_0x56a6f3(0x14c)]-0x1];if((_0x3ec218['get'](_0x1e41c3)||0x0)===0x0){_0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x1);const _0x576651=this[_0x56a6f3(0x13a)][_0x56a6f3(0x155)](_0x1e41c3);if(_0x576651==null){_0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x2),_0x29da21[_0x56a6f3(0x14a)]();continue;}const _0x55e991=this[_0x56a6f3(0x1f5)][_0x56a6f3(0x151)](_0x576651[_0x56a6f3(0x142)]());for(const _0x284d78 of _0x55e991){const _0x1e0164=_0x3ec218[_0x56a6f3(0x155)](_0x284d78)||0x0;if(_0x1e0164===0x1)return!0x0;_0x1e0164===0x0&&_0x29da21[_0x56a6f3(0x1ba)](_0x284d78);}}else _0x3ec218[_0x56a6f3(0x1e9)](_0x1e41c3,0x2),_0x29da21[_0x56a6f3(0x14a)]();}return!0x1;}['_checkIsCycleDependency'](_0x2f76ed){const _0x5a4fc9=_0x16fab8,_0x31a46c=new Map();for(const _0x471811 of _0x2f76ed)if(!_0x31a46c[_0x5a4fc9(0x1b4)](_0x471811[_0x5a4fc9(0x1ed)])&&this[_0x5a4fc9(0x1e3)](_0x471811[_0x5a4fc9(0x1ed)],_0x31a46c))return!0x0;return _0x31a46c[_0x5a4fc9(0x16e)](),!0x1;}['_getFeatureFormulaTree'](_0x3e35ab,_0x592b96,_0x5848f1){const _0x5ec5a3=_0x16fab8,{unitId:_0x4b1336,subUnitId:_0x506261,dependencyRanges:_0x4bc297,getDirtyData:_0xfabf25}=_0x5848f1,_0x21ff7f=_0x592b96||_0x4f9302[_0x5ec5a3(0x14d)](this[_0x5ec5a3(0x1f5)]),_0x37bd75=new _0x4f9302['FormulaDependencyTree'](_0x21ff7f);_0x37bd75[_0x5ec5a3(0x14b)]=_0x4b1336,_0x37bd75['subUnitId']=_0x506261,_0x37bd75['rangeList']=_0x4bc297,_0x37bd75[_0x5ec5a3(0x166)]=_0xfabf25;const _0xce0955=_0xfabf25(this[_0x5ec5a3(0x183)][_0x5ec5a3(0x166)](),this['_runtimeService']['getAllRuntimeData']()),_0x23ad38=this['_convertDirtyRangesToUnitRange'](_0xce0955[_0x5ec5a3(0x16f)]);return _0x37bd75[_0x5ec5a3(0x154)]=_0x23ad38,_0x37bd75['featureId']=_0x3e35ab,_0x37bd75[_0x5ec5a3(0x1de)]=_0x4f9302[_0x5ec5a3(0x16d)][_0x5ec5a3(0x16a)],this['_dependencyManagerService'][_0x5ec5a3(0x1ef)](_0x4b1336,_0x506261,_0x3e35ab,_0x37bd75),this[_0x5ec5a3(0x13a)][_0x5ec5a3(0x1e9)](_0x37bd75[_0x5ec5a3(0x1ed)],_0x37bd75),this[_0x5ec5a3(0x1f5)][_0x5ec5a3(0x1a0)](_0x5848f1[_0x5ec5a3(0x14b)],_0x5848f1['subUnitId'],_0x3e35ab)&&(_0x37bd75[_0x5ec5a3(0x1c4)]=!0x0),_0x37bd75;}[_0x16fab8(0x1ae)](_0x2b5d76,_0x4af341,_0x137133){const _0x36cfc9=_0x16fab8;var _0x146d8f;for(const _0x328a48 of _0x4af341){const _0x37a8b7=_0x2b5d76[_0x328a48];if(_0x37a8b7==null)continue;const _0x224de9=Object[_0x36cfc9(0x191)](_0x37a8b7);for(const _0x2ff8b1 of _0x224de9){const _0x159b9a=_0x37a8b7[_0x2ff8b1];if(_0x159b9a==null)continue;const _0x1168aa=Object[_0x36cfc9(0x191)](_0x159b9a);for(const _0x4e4f03 of _0x1168aa){const _0x14a79f=this[_0x36cfc9(0x1f5)][_0x36cfc9(0x1a7)](_0x4e4f03),_0x3911d8=_0x159b9a[_0x4e4f03],{f:_0x250f7d,ranges:_0x413b86}=_0x3911d8;let _0x567957=!0x1;_0x14a79f&&(_0x567957=!0x0);const {firstRow:_0x2f773c,firstColumn:_0x4975d7}=this[_0x36cfc9(0x1cd)](_0x413b86),_0x1a16f5=this['_dependencyManagerService'][_0x36cfc9(0x15c)](_0x328a48,_0x2ff8b1,_0x4e4f03),_0xf25203=(_0x146d8f=_0x1a16f5==null?void 0x0:_0x1a16f5[_0x36cfc9(0x1e8)](0x0,0x0))!=null?_0x146d8f:_0x4f9302[_0x36cfc9(0x14d)](this[_0x36cfc9(0x1f5)]),_0x16edab=new _0x4f9302[(_0x36cfc9(0x188))](_0xf25203);for(let _0x4ad84f=0x0;_0x4ad84f<_0x413b86[_0x36cfc9(0x14c)];_0x4ad84f++){const _0x4b7f00=_0x413b86[_0x4ad84f],{startRow:_0x5e082f,startColumn:_0x582fc7,endRow:_0xbc5e2f,endColumn:_0x2bb73b}=_0x4b7f00;for(let _0x2c4992=_0x5e082f;_0x2c4992<=_0xbc5e2f;_0x2c4992++)for(let _0xda1b6e=_0x582fc7;_0xda1b6e<=_0x2bb73b;_0xda1b6e++){const _0x13071f=_0xda1b6e-_0x4975d7,_0x45c51a=_0x2c4992-_0x2f773c;if(_0x13071f===0x0&&_0x45c51a===0x0){_0x16edab[_0x36cfc9(0x1f0)]=_0x250f7d,_0x16edab[_0x36cfc9(0x14b)]=_0x328a48,_0x16edab[_0x36cfc9(0x1bd)]=_0x2ff8b1,_0x16edab[_0x36cfc9(0x1b9)]=_0x4e4f03,_0x16edab[_0x36cfc9(0x1de)]=_0x4f9302[_0x36cfc9(0x16d)][_0x36cfc9(0x1a5)],_0x16edab[_0x36cfc9(0x1c4)]=_0x567957,_0x137133[_0x36cfc9(0x1ba)](_0x16edab),this['_dependencyTreeCache']['set'](_0x16edab['treeId'],_0x16edab),this[_0x36cfc9(0x1f5)]['addOtherFormulaDependency'](_0x328a48,_0x2ff8b1,_0x4e4f03,_0x16edab),this[_0x36cfc9(0x1f5)]['addFormulaDependencyByDefinedName'](_0x16edab);continue;}const _0x221f0f=new _0x4f9302['FormulaDependencyTreeVirtual']();_0x221f0f[_0x36cfc9(0x1ed)]=(_0x1a16f5==null?void 0x0:_0x1a16f5[_0x36cfc9(0x1e8)](_0x13071f,_0x45c51a))||_0x4f9302[_0x36cfc9(0x14d)](this[_0x36cfc9(0x1f5)]),_0x221f0f[_0x36cfc9(0x1e6)]=_0x16edab,_0x221f0f['refOffsetX']=_0x13071f,_0x221f0f[_0x36cfc9(0x1f7)]=_0x45c51a,_0x221f0f['isCache']=_0x567957,this[_0x36cfc9(0x1f5)][_0x36cfc9(0x17e)](_0x328a48,_0x2ff8b1,_0x4e4f03,_0x221f0f),this[_0x36cfc9(0x1f5)][_0x36cfc9(0x19e)](_0x221f0f),_0x137133['push'](_0x221f0f),this['_dependencyTreeCache'][_0x36cfc9(0x1e9)](_0x221f0f[_0x36cfc9(0x1ed)],_0x221f0f);}}this['_dependencyManagerService'][_0x36cfc9(0x1f1)](_0x4e4f03);}}}}['_registerFormulas'](_0x5eeb43,_0x22cecf,_0x298517,_0x1ffa00){const _0x250986=_0x16fab8;for(const _0x2bb054 of _0x5eeb43){const _0x4bd5de=_0x22cecf[_0x2bb054];if(_0x4bd5de==null)continue;const _0x24c73c=Object[_0x250986(0x191)](_0x4bd5de);for(const _0x12138b of _0x24c73c){const _0x35ff29=new _0x5341c9[(_0x250986(0x1df))](_0x4bd5de[_0x12138b]||{}),_0x414819=new Map();_0x35ff29[_0x250986(0x165)]((_0x66666f,_0x31ce3b,_0x1953ff)=>{const _0x2a880f=_0x250986;if(_0x1953ff==null)return!0x0;const {x:_0x5577ea=0x0,y:_0x483237=0x0,si:_0x2ba1d0}=_0x1953ff;if(!(_0x5577ea===0x0&&_0x483237===0x0&&_0x2ba1d0!=null))return!0x0;const _0x1481e8=this['_createFDtree'](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b,_0x298517,_0x1953ff),_0x4a6a37=this[_0x2a880f(0x1f5)][_0x2a880f(0x15d)](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b);_0x4a6a37!=null?_0x1481e8[_0x2a880f(0x1ed)]=_0x4a6a37:(this[_0x2a880f(0x1f5)]['addFormulaDependency'](_0x2bb054,_0x12138b,_0x66666f,_0x31ce3b,_0x1481e8),this[_0x2a880f(0x1f5)][_0x2a880f(0x19e)](_0x1481e8)),_0x414819[_0x2a880f(0x1e9)](_0x2ba1d0,_0x1481e8),_0x1ffa00[_0x2a880f(0x1ba)](_0x1481e8),this[_0x2a880f(0x13a)][_0x2a880f(0x1e9)](_0x1481e8[_0x2a880f(0x1ed)],_0x1481e8);}),_0x35ff29[_0x250986(0x165)]((_0x22b94f,_0x2c568f,_0x187fc8)=>{const _0x4caec2=_0x250986;if(_0x187fc8==null)return!0x0;const {x:_0xfbd796=0x0,y:_0x64806=0x0,si:_0x4c4468}=_0x187fc8;if(_0xfbd796===0x0&&_0x64806===0x0&&_0x4c4468!=null)return!0x0;let _0x32383a;if(_0x4c4468&&_0x414819[_0x4caec2(0x1b4)](_0x4c4468)){const _0x228dfc=_0x414819[_0x4caec2(0x155)](_0x4c4468);_0x32383a=this[_0x4caec2(0x1dc)](_0x228dfc,_0x187fc8);}else _0x32383a=this[_0x4caec2(0x170)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f,_0x298517,_0x187fc8);const _0x1800da=this[_0x4caec2(0x1f5)][_0x4caec2(0x15d)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f);_0x1800da!=null?_0x32383a['treeId']=_0x1800da:(this[_0x4caec2(0x1f5)][_0x4caec2(0x150)](_0x2bb054,_0x12138b,_0x22b94f,_0x2c568f,_0x32383a),this[_0x4caec2(0x1f5)]['addFormulaDependencyByDefinedName'](_0x32383a)),_0x1ffa00['push'](_0x32383a),this['_dependencyTreeCache'][_0x4caec2(0x1e9)](_0x32383a[_0x4caec2(0x1ed)],_0x32383a);}),_0x414819['clear']();}}}[_0x16fab8(0x170)](_0x3cb222,_0x58b567,_0x20945f,_0x1e260f,_0x1e1323,_0x20cadb){const _0x35eab0=_0x16fab8,{f:_0x26d05e,x:_0x157e03=0x0,y:_0x111ee5=0x0}=_0x20cadb,_0x3ec32c=new _0x4f9302[(_0x35eab0(0x188))](_0x4f9302[_0x35eab0(0x14d)](this[_0x35eab0(0x1f5)])),_0x1f643a=_0x1e1323[_0x3cb222][_0x58b567];return _0x3ec32c[_0x35eab0(0x1f0)]=_0x26d05e,_0x3ec32c[_0x35eab0(0x14b)]=_0x3cb222,_0x3ec32c[_0x35eab0(0x1bd)]=_0x58b567,_0x3ec32c[_0x35eab0(0x173)]=_0x20945f,_0x3ec32c['column']=_0x1e260f,_0x3ec32c[_0x35eab0(0x15e)]=_0x1f643a['rowCount'],_0x3ec32c[_0x35eab0(0x1b6)]=_0x1f643a[_0x35eab0(0x1b6)],_0x3ec32c;}[_0x16fab8(0x198)](){const _0x4e4a3=_0x16fab8,_0x3802c7=[],_0x55bb03=new Set(),_0x4cfe58=this[_0x4e4a3(0x183)][_0x4e4a3(0x186)](),_0xe0c7da=this['_currentConfigService'][_0x4e4a3(0x18e)](),_0x4d795=this[_0x4e4a3(0x1f5)][_0x4e4a3(0x151)](_0xe0c7da),_0xcb50ed=this[_0x4e4a3(0x1d3)][_0x4e4a3(0x1c8)](_0xe0c7da);for(const _0x58dfd2 of _0xcb50ed)_0x4d795[_0x4e4a3(0x1ec)](_0x58dfd2);for(const [_0x41c780,_0x43f647]of this[_0x4e4a3(0x13a)])(_0x4cfe58||_0x43f647[_0x4e4a3(0x1bb)]||_0x43f647['dependencySheetName'](this[_0x4e4a3(0x183)][_0x4e4a3(0x192)]())||_0x4d795[_0x4e4a3(0x1b4)](_0x41c780)&&!_0x43f647[_0x4e4a3(0x1fe)](this['_currentConfigService'][_0x4e4a3(0x1a2)]()))&&!_0x55bb03[_0x4e4a3(0x1b4)](_0x41c780)&&(_0x3802c7['push'](_0x43f647),_0x55bb03[_0x4e4a3(0x1ec)](_0x41c780));for(const [_0x4447ff,_0x319555]of this[_0x4e4a3(0x13a)])_0x319555[_0x4e4a3(0x1c7)]||(_0x319555[_0x4e4a3(0x1fb)][_0x4e4a3(0x14c)]=0x0);return _0x3802c7;}[_0x16fab8(0x158)](_0x37fccb){const _0x25bfaa=_0x16fab8;return this[_0x25bfaa(0x13a)][_0x25bfaa(0x155)](_0x37fccb);}[_0x16fab8(0x13c)](_0x558169){const _0x576aaa=_0x16fab8;return _0x4f9302[_0x576aaa(0x15f)](_0x558169[_0x576aaa(0x14b)],_0x558169[_0x576aaa(0x1f0)],this[_0x576aaa(0x13b)],this[_0x576aaa(0x1d8)],this['_currentConfigService']);}*[_0x16fab8(0x1ce)](_0x1eceea,_0x2794af){const _0x3cf416=_0x16fab8,_0x4791a9=_0x1eceea,_0x18215f=new Set();for(;_0x4791a9[_0x3cf416(0x14c)]>0x0;){const _0x1149ae=_0x4791a9['pop']();if(_0x18215f[_0x3cf416(0x16e)](),_0x1149ae===void 0x0||_0x1149ae[_0x3cf416(0x1fc)]())continue;if(_0x1149ae[_0x3cf416(0x160)]()){yield _0x1149ae,_0x1149ae[_0x3cf416(0x19c)](),_0x2794af[_0x3cf416(0x1ec)](_0x1149ae[_0x3cf416(0x1ed)]);continue;}const _0x1e3876=this[_0x3cf416(0x1f5)]['searchDependency'](_0x1149ae[_0x3cf416(0x142)](),_0x2794af),_0xa5d9f=this[_0x3cf416(0x1d3)][_0x3cf416(0x1c8)](_0x1149ae[_0x3cf416(0x142)](),_0x2794af);for(const _0x3618e6 of _0xa5d9f)_0x1e3876[_0x3cf416(0x1ec)](_0x3618e6);for(const _0xaa3bc6 of _0x1e3876){const _0x364865=this[_0x3cf416(0x13a)][_0x3cf416(0x155)](_0xaa3bc6);if(!_0x364865)throw new Error('ParentDependencyTree\x20object\x20is\x20null');_0x364865[_0x3cf416(0x160)]()||_0x1149ae[_0x3cf416(0x1fc)]()||_0x18215f[_0x3cf416(0x1ec)](_0x364865);}if(_0x1e3876[_0x3cf416(0x16e)](),_0x18215f[_0x3cf416(0x1a4)]===0x0)yield _0x1149ae,_0x1149ae['setSkip'](),_0x2794af['add'](_0x1149ae[_0x3cf416(0x1ed)]);else{_0x1149ae[_0x3cf416(0x190)](),_0x4791a9[_0x3cf416(0x1ba)](_0x1149ae);for(const _0x1abaae of _0x18215f)_0x4791a9[_0x3cf416(0x1ba)](_0x1abaae);}}_0x4791a9['length']=0x0,_0x18215f[_0x3cf416(0x16e)]();}[_0x16fab8(0x147)](_0x528639){const _0x192e6d=_0x16fab8,_0x4f4ce6=[],_0x4d27f9=new Set();for(const _0x236114 of this[_0x192e6d(0x1ce)](_0x528639,_0x4d27f9))_0x4f4ce6['push'](_0x236114);return _0x4f4ce6;}}class _0x17861d extends _0x4f9302[_0x16fab8(0x195)]{async[_0x16fab8(0x1dd)](_0x1a0c12=!0x1){const _0x4d3bb5=_0x16fab8;_0x1a0c12?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x1d1)]):this['_runtimeService']['setFormulaExecuteStage'](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x17f)]),this['_executionInProgressListener$'][_0x4d3bb5(0x1f4)](this[_0x4d3bb5(0x181)]['getRuntimeState']());const _0x331fcf=await this['_formulaDependencyGenerator'][_0x4d3bb5(0x1b8)](),_0x3fb6af=this['_interpreter'];_0x1a0c12?(this['_runtimeService']['setFormulaExecuteStage'](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x156)]),this['_runtimeService'][_0x4d3bb5(0x144)](_0x331fcf[_0x4d3bb5(0x14c)])):(this['_runtimeService'][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)][_0x4d3bb5(0x1bf)]),this['_runtimeService'][_0x4d3bb5(0x1a1)](_0x331fcf[_0x4d3bb5(0x14c)])),this['_executionInProgressListener$'][_0x4d3bb5(0x1f4)](this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1bc)]());let _0x8ba52a=[];const _0x48ff1a=this['_configService'][_0x4d3bb5(0x146)](_0x4f9302[_0x4d3bb5(0x1c6)]),_0x1e72e6=(_0x48ff1a==null?void 0x0:_0x48ff1a[_0x4d3bb5(0x169)])||_0x4f9302[_0x4d3bb5(0x1f8)];let _0x77ba7d=0x0;const _0x5af489=_0x331fcf[_0x4d3bb5(0x14c)];for(;_0x331fcf[_0x4d3bb5(0x14c)]>0x0;){const _0x3cef18=_0x331fcf['pop'](),_0x2514cf={'node':_0x4f9302[_0x4d3bb5(0x15f)](_0x3cef18['unitId'],_0x3cef18['formula'],this[_0x4d3bb5(0x13b)],this[_0x4d3bb5(0x1d8)],this['_currentConfigService']),'refOffsetX':_0x3cef18[_0x4d3bb5(0x17a)],'refOffsetY':_0x3cef18[_0x4d3bb5(0x1f7)]},_0x272429=_0x3cef18[_0x4d3bb5(0x166)];if(_0x77ba7d%_0x1e72e6===0x0&&(await new Promise(_0x258618=>{const _0x19dd94=_0x4d3bb5,_0x1b8226=_0x5341c9[_0x19dd94(0x13d)](_0x258618);_0x8ba52a[_0x19dd94(0x1ba)](_0x1b8226);}),_0x1a0c12?(this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x1c5)]),this[_0x4d3bb5(0x181)]['setCompletedArrayFormulasCount'](_0x77ba7d+0x1)):(this[_0x4d3bb5(0x181)]['setFormulaExecuteStage'](_0x4f9302['FormulaExecuteStageType'][_0x4d3bb5(0x1be)]),this['_runtimeService']['setCompletedFormulasCount'](_0x77ba7d+0x1)),this[_0x4d3bb5(0x19d)][_0x4d3bb5(0x1f4)](this['_runtimeService'][_0x4d3bb5(0x1bc)]()),this[_0x4d3bb5(0x181)][_0x4d3bb5(0x18a)]()||_0x2514cf==null&&_0x272429==null)){this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1f2)](_0x4f9302[_0x4d3bb5(0x18d)]['IDLE']),this['_runtimeService'][_0x4d3bb5(0x164)](),this[_0x4d3bb5(0x162)]['next'](this[_0x4d3bb5(0x181)]['getAllRuntimeData']());return;}this['_runtimeService'][_0x4d3bb5(0x139)](_0x3cef18[_0x4d3bb5(0x173)],_0x3cef18[_0x4d3bb5(0x161)],_0x3cef18['rowCount'],_0x3cef18[_0x4d3bb5(0x1b6)],_0x3cef18[_0x4d3bb5(0x1bd)],_0x3cef18[_0x4d3bb5(0x14b)]);let _0x11183a;if(_0x272429!=null&&_0x3cef18[_0x4d3bb5(0x1ac)]!=null){const {runtimeCellData:_0x38892e,dirtyRanges:_0xaf6722}=_0x272429(this['_currentConfigService'][_0x4d3bb5(0x166)](),this['_runtimeService'][_0x4d3bb5(0x1f6)]());this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1e5)](_0x3cef18[_0x4d3bb5(0x1ac)],_0x38892e),this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1cf)](_0x3cef18[_0x4d3bb5(0x1ac)],_0xaf6722);}else _0x2514cf!=null&&(_0x3fb6af[_0x4d3bb5(0x1c1)](_0x2514cf['node'])?_0x11183a=await _0x3fb6af[_0x4d3bb5(0x1e7)](_0x2514cf):_0x11183a=_0x3fb6af[_0x4d3bb5(0x1a6)](_0x2514cf),_0x3cef18[_0x4d3bb5(0x1b9)]!=null?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1af)](_0x3cef18[_0x4d3bb5(0x1b9)],_0x3cef18[_0x4d3bb5(0x17a)],_0x3cef18['refOffsetY'],_0x11183a):this[_0x4d3bb5(0x181)][_0x4d3bb5(0x193)](_0x11183a));_0x77ba7d++;}return _0x8ba52a[_0x4d3bb5(0x185)](_0x2207b1=>_0x2207b1()),_0x8ba52a=[],_0x5af489>0x0?this[_0x4d3bb5(0x181)][_0x4d3bb5(0x1aa)]():_0x1a0c12||this[_0x4d3bb5(0x181)]['markedAsNoFunctionsExecuted'](),this['_runtimeService']['getAllRuntimeData']();}}class _0x4c6402 extends _0x4f9302['DependencyManagerBaseService']{constructor(){const _0x1a09c8=_0x16fab8;super(...arguments),_0x4bf2f8(this,_0x1a09c8(0x1b1),new Map()),_0x4bf2f8(this,_0x1a09c8(0x1ea),new _0x5341c9[(_0x1a09c8(0x1d7))](!0x0));}[_0x16fab8(0x1c3)](){const _0xf98c43=_0x16fab8;this[_0xf98c43(0x1b2)]['clear'](),this[_0xf98c43(0x1c9)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1cb)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1ea)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1b1)][_0xf98c43(0x16e)](),this[_0xf98c43(0x1ca)](),this[_0xf98c43(0x1c0)]['clear']();}[_0x16fab8(0x17e)](_0x106e5f,_0x30670c,_0x79b4aa,_0xb1686d){const _0x51e620=_0x16fab8;this[_0x51e620(0x1b2)]['has'](_0x106e5f)||this[_0x51e620(0x1b2)][_0x51e620(0x1e9)](_0x106e5f,new Map());const _0xd0ee0a=this[_0x51e620(0x1b2)][_0x51e620(0x155)](_0x106e5f);_0xd0ee0a[_0x51e620(0x1b4)](_0x30670c)||_0xd0ee0a[_0x51e620(0x1e9)](_0x30670c,new Map());const _0x3caf6a=_0xd0ee0a[_0x51e620(0x155)](_0x30670c);_0x3caf6a['has'](_0x79b4aa)||_0x3caf6a[_0x51e620(0x1e9)](_0x79b4aa,new _0x5341c9[(_0x51e620(0x1df))]()),_0x3caf6a[_0x51e620(0x155)](_0x79b4aa)['setValue'](_0xb1686d[_0x51e620(0x17a)],_0xb1686d[_0x51e620(0x1f7)],_0xb1686d[_0x51e620(0x1ed)]);}['removeOtherFormulaDependency'](_0x27ae18,_0x52eda9,_0x56461d){const _0x7d23e0=_0x16fab8,_0x1fb603=this[_0x7d23e0(0x1b2)][_0x7d23e0(0x155)](_0x27ae18);if(_0x1fb603&&_0x1fb603[_0x7d23e0(0x1b4)](_0x52eda9)){const _0x2cd231=_0x1fb603[_0x7d23e0(0x155)](_0x52eda9);_0x56461d[_0x7d23e0(0x185)](_0x52e3b9=>{const _0x18e939=_0x7d23e0,_0x55bea7=_0x2cd231[_0x18e939(0x155)](_0x52e3b9);_0x55bea7!=null&&(_0x55bea7[_0x18e939(0x165)]((_0x39758f,_0x41f8b5,_0x2c3c93)=>{const _0x2a041d=_0x18e939;this[_0x2a041d(0x1d4)](_0x2c3c93),this[_0x2a041d(0x1c2)](_0x2c3c93);}),_0x2cd231[_0x18e939(0x19b)](_0x52e3b9),this[_0x18e939(0x1c0)]['delete'](_0x52e3b9));}),_0x2cd231[_0x7d23e0(0x1a4)]===0x0&&_0x1fb603['delete'](_0x52eda9),_0x1fb603[_0x7d23e0(0x1a4)]===0x0&&this['_otherFormulaData'][_0x7d23e0(0x19b)](_0x27ae18);}}[_0x16fab8(0x15a)](_0x1b63a2,_0x36796f){const _0x3965b9=_0x16fab8,_0x189f4b=this[_0x3965b9(0x1b2)][_0x3965b9(0x155)](_0x1b63a2);if(_0x36796f&&_0x189f4b&&_0x189f4b[_0x3965b9(0x1b4)](_0x36796f)){const _0x3fbd12=_0x189f4b[_0x3965b9(0x155)](_0x36796f);this['_removeDependencyRTreeCacheById'](_0x1b63a2,_0x36796f);for(const _0xc9d388 of _0x3fbd12[_0x3965b9(0x191)]()){const _0x40849d=_0x3fbd12[_0x3965b9(0x155)](_0xc9d388);_0x40849d!=null&&(_0x40849d['forValue']((_0x46e0f7,_0x52e303,_0x39bb70)=>{const _0x4b869a=_0x3965b9;this[_0x4b869a(0x1b1)][_0x4b869a(0x155)](_0x39bb70)&&this['_removeAllTreeMap'](_0x39bb70);}),this[_0x3965b9(0x1c0)][_0x3965b9(0x19b)](_0xc9d388));}_0x3fbd12[_0x3965b9(0x16e)]();}else{if(_0x189f4b){for(const _0x278e0a of _0x189f4b[_0x3965b9(0x191)]()){const _0x4593c2=_0x189f4b[_0x3965b9(0x155)](_0x278e0a);this[_0x3965b9(0x171)](_0x1b63a2,_0x278e0a);for(const _0x46380e of _0x4593c2[_0x3965b9(0x191)]()){const _0x4d33fc=_0x4593c2['get'](_0x46380e);_0x4d33fc!=null&&(_0x4d33fc[_0x3965b9(0x165)]((_0x1fdfd8,_0x570748,_0x3648f5)=>{const _0x50e08f=_0x3965b9;this[_0x50e08f(0x1b1)][_0x50e08f(0x155)](_0x3648f5)&&this[_0x50e08f(0x1c2)](_0x3648f5);}),this['_otherFormulaDataMainData'][_0x3965b9(0x19b)](_0x46380e));}}this[_0x3965b9(0x1b2)]['delete'](_0x1b63a2);}}}['addFeatureFormulaDependency'](_0x23e840,_0x3bdc4c,_0x1a7304,_0x4d69ad){const _0x447957=_0x16fab8;this[_0x447957(0x1c9)]['has'](_0x23e840)||this[_0x447957(0x1c9)]['set'](_0x23e840,new Map());const _0x2b1cd0=this[_0x447957(0x1c9)][_0x447957(0x155)](_0x23e840);_0x2b1cd0[_0x447957(0x1b4)](_0x3bdc4c)||_0x2b1cd0[_0x447957(0x1e9)](_0x3bdc4c,new Map()),_0x2b1cd0[_0x447957(0x155)](_0x3bdc4c)[_0x447957(0x1e9)](_0x1a7304,_0x4d69ad[_0x447957(0x1ed)]);}[_0x16fab8(0x1d9)](_0xe066f9,_0x15055b,_0x549a3b){const _0x495bac=_0x16fab8,_0x5dbae4=this[_0x495bac(0x1c9)]['get'](_0xe066f9);if(_0x5dbae4&&_0x5dbae4[_0x495bac(0x1b4)](_0x15055b)){const _0x244898=_0x5dbae4[_0x495bac(0x155)](_0x15055b);_0x549a3b[_0x495bac(0x185)](_0x4ad412=>{const _0x5505a3=_0x495bac,_0x3ae8d3=_0x244898[_0x5505a3(0x155)](_0x4ad412);_0x3ae8d3!=null&&(this[_0x5505a3(0x1d4)](_0x3ae8d3),_0x244898[_0x5505a3(0x19b)](_0x4ad412),this[_0x5505a3(0x1c2)](_0x3ae8d3));});}}[_0x16fab8(0x180)](_0x22bc9a,_0x4e6f28){const _0x316175=_0x16fab8,_0x35bea1=this['_featureFormulaData'][_0x316175(0x155)](_0x22bc9a);if(_0x4e6f28&&_0x35bea1&&_0x35bea1[_0x316175(0x1b4)](_0x4e6f28)){const _0xef7339=_0x35bea1[_0x316175(0x155)](_0x4e6f28);this[_0x316175(0x171)](_0x22bc9a,_0x4e6f28),_0xef7339[_0x316175(0x185)](_0x349797=>{const _0x587245=_0x316175;_0x349797!=null&&this[_0x587245(0x1c2)](_0x349797);}),_0xef7339['clear']();}else _0x35bea1&&(_0x35bea1['forEach']((_0x5f32df,_0x144cb8)=>{const _0x516283=_0x316175;this[_0x516283(0x171)](_0x22bc9a,_0x144cb8),_0x5f32df[_0x516283(0x185)](_0x50d831=>{const _0x462dbe=_0x516283;_0x50d831!=null&&this[_0x462dbe(0x1c2)](_0x50d831);});}),this[_0x316175(0x1c9)][_0x316175(0x19b)](_0x22bc9a));}[_0x16fab8(0x150)](_0x33f623,_0x1c64ff,_0x895d97,_0x1456fd,_0x1df22a){const _0x9a3043=_0x16fab8;this[_0x9a3043(0x1cb)][_0x9a3043(0x1b4)](_0x33f623)||this[_0x9a3043(0x1cb)][_0x9a3043(0x1e9)](_0x33f623,new Map());const _0x24bc22=this[_0x9a3043(0x1cb)][_0x9a3043(0x155)](_0x33f623);_0x24bc22[_0x9a3043(0x1b4)](_0x1c64ff)||_0x24bc22['set'](_0x1c64ff,new _0x5341c9[(_0x9a3043(0x1df))]()),_0x24bc22[_0x9a3043(0x155)](_0x1c64ff)[_0x9a3043(0x1cc)](_0x895d97,_0x1456fd,_0x1df22a[_0x9a3043(0x1ed)]);}['removeFormulaDependency'](_0x1d0520,_0x14a326,_0x188dd2,_0x2969d1){const _0x26e2c1=_0x16fab8,_0x42e220=this['_formulaData'][_0x26e2c1(0x155)](_0x1d0520);if(_0x42e220&&_0x42e220[_0x26e2c1(0x1b4)](_0x14a326)){const _0x364e73=_0x42e220['get'](_0x14a326),_0x2cc7ab=_0x364e73['getValue'](_0x188dd2,_0x2969d1);if(_0x2cc7ab==null)return;this[_0x26e2c1(0x1d4)](_0x2cc7ab),_0x364e73[_0x26e2c1(0x1e1)](_0x188dd2,_0x2969d1),this[_0x26e2c1(0x1c2)](_0x2cc7ab);}}['clearFormulaDependency'](_0x32abf6,_0x37e553){const _0x41de24=_0x16fab8,_0xdbc624=this[_0x41de24(0x1cb)][_0x41de24(0x155)](_0x32abf6);if(_0x37e553&&_0xdbc624&&_0xdbc624[_0x41de24(0x1b4)](_0x37e553)){const _0x18977e=_0xdbc624[_0x41de24(0x155)](_0x37e553);this[_0x41de24(0x171)](_0x32abf6,_0x37e553),_0x18977e['forValue']((_0x167276,_0x51ba87,_0x39ddb)=>{const _0x7e70c8=_0x41de24;if(_0x39ddb==null)return!0x0;this[_0x7e70c8(0x1c2)](_0x39ddb);}),_0x18977e['reset']();}else _0xdbc624&&(_0xdbc624[_0x41de24(0x185)]((_0x4b740b,_0x472ad2)=>{const _0x2d5152=_0x41de24;this[_0x2d5152(0x171)](_0x32abf6,_0x472ad2),_0x4b740b[_0x2d5152(0x165)]((_0x24e08a,_0x18b529,_0x462f68)=>{const _0x5c8367=_0x2d5152;if(_0x462f68==null)return!0x0;this[_0x5c8367(0x1c2)](_0x462f68);});}),this[_0x41de24(0x1cb)]['delete'](_0x32abf6));}[_0x16fab8(0x1d4)](_0x34de4c){const _0x13fe34=_0x16fab8;if(_0x34de4c==null)return;const _0x3aeee6=this[_0x13fe34(0x1b1)]['get'](_0x34de4c);if(_0x3aeee6){const _0x4538ee=[];for(const [_0x74ea4d,_0xf69447]of _0x3aeee6)for(const [_0x3694b7,_0xe4f9e3]of _0xf69447)_0x4538ee[_0x13fe34(0x1ba)]({'unitId':_0x74ea4d,'sheetId':_0x3694b7,'range':_0xe4f9e3,'id':_0x34de4c});this[_0x13fe34(0x1ea)]['bulkRemove'](_0x4538ee);}}[_0x16fab8(0x17c)](_0x587626,_0x26e7b4){const _0x3faa60=_0x16fab8,_0xf2d82b=this['_definedNameMap'][_0x3faa60(0x155)](_0x587626);if(_0xf2d82b){const _0x33c492=_0xf2d82b[_0x3faa60(0x155)](_0x26e7b4);if(_0x33c492){for(const _0x2ae854 of _0x33c492)this[_0x3faa60(0x1d4)](_0x2ae854),this['_removeAllTreeMap'](_0x2ae854);_0x33c492['clear']();}}}[_0x16fab8(0x1f9)](){const _0x233cd6=_0x16fab8;this[_0x233cd6(0x1ea)][_0x233cd6(0x1f9)]();}[_0x16fab8(0x1d5)](){const _0x1c094a=_0x16fab8;this[_0x1c094a(0x1ea)][_0x1c094a(0x1d5)]();}['_removeAllTreeMap'](_0x52e698){const _0x58c079=_0x16fab8;_0x52e698!=null&&this[_0x58c079(0x1b1)][_0x58c079(0x19b)](_0x52e698);}[_0x16fab8(0x1ad)](_0x402cf6){const _0x1dc310=_0x16fab8;var _0x2a237e,_0x36511e;const _0x244f5e=_0x402cf6[_0x1dc310(0x1fb)];let _0x4c7ce8=this[_0x1dc310(0x1b1)][_0x1dc310(0x155)](_0x402cf6['treeId']);for(let _0x20cc33=0x0;_0x20cc33<_0x244f5e[_0x1dc310(0x14c)];_0x20cc33++){const _0x50d2b9=_0x244f5e[_0x20cc33];let {unitId:_0xe195a7,sheetId:_0x30156b,range:_0x3a4812}=_0x50d2b9;_0x4c7ce8||(_0x4c7ce8=new Map(),this['_allTreeMap']['set'](_0x402cf6['treeId'],_0x4c7ce8)),_0x4c7ce8[_0x1dc310(0x1b4)](_0xe195a7)||_0x4c7ce8['set'](_0xe195a7,new Map());const _0x47ba5d=(_0x2a237e=_0x4c7ce8==null?void 0x0:_0x4c7ce8[_0x1dc310(0x155)](_0xe195a7))==null?void 0x0:_0x2a237e[_0x1dc310(0x155)](_0x30156b);_0x47ba5d&&(_0x3a4812={'startRow':Math[_0x1dc310(0x1f3)](_0x3a4812[_0x1dc310(0x1e4)],_0x47ba5d[_0x1dc310(0x1e4)]),'startColumn':Math['min'](_0x3a4812['startColumn'],_0x47ba5d[_0x1dc310(0x175)]),'endRow':Math[_0x1dc310(0x167)](_0x3a4812['endRow'],_0x47ba5d[_0x1dc310(0x163)]),'endColumn':Math[_0x1dc310(0x167)](_0x3a4812['endColumn'],_0x47ba5d[_0x1dc310(0x152)])}),(_0x36511e=_0x4c7ce8[_0x1dc310(0x155)](_0xe195a7))==null||_0x36511e[_0x1dc310(0x1e9)](_0x30156b,_0x3a4812);}}}var _0x35f809=Object[_0x16fab8(0x196)],_0x34f8b1=(_0x37dd9d,_0x2515df,_0x2b864f,_0x31e24f)=>{for(var _0x460038=_0x31e24f>0x1?void 0x0:_0x31e24f?_0x35f809(_0x2515df,_0x2b864f):_0x2515df,_0x153303=_0x37dd9d['length']-0x1,_0x732909;_0x153303>=0x0;_0x153303--)(_0x732909=_0x37dd9d[_0x153303])&&(_0x460038=_0x732909(_0x460038)||_0x460038);return _0x460038;};const _0x5a19d5=Number[_0x16fab8(0x14f)](0x690eeeff);_0x12006a[_0x16fab8(0x159)]=class extends _0x4f9302[_0x16fab8(0x17b)]{[_0x16fab8(0x1eb)](){const _0x5f2c3a=_0x16fab8;var _0xac5409,_0xe4574c;this[_0x5f2c3a(0x184)]()?(_0xac5409=this[_0x5f2c3a(0x1e0)])!=null&&_0xac5409[_0x5f2c3a(0x1a8)]||[[_0x4f9302[_0x5f2c3a(0x1fa)],{'useClass':_0x17861d}],[_0x4f9302[_0x5f2c3a(0x194)],{'useClass':_0x4c6402}],[_0x4f9302[_0x5f2c3a(0x168)],{'useClass':_0x3b0565}]][_0x5f2c3a(0x185)](_0x4da5f4=>this[_0x5f2c3a(0x19f)][_0x5f2c3a(0x1ec)](_0x4da5f4)):(_0xe4574c=this[_0x5f2c3a(0x1e0)])!=null&&_0xe4574c[_0x5f2c3a(0x1a8)]||[[_0x4f9302[_0x5f2c3a(0x1fa)],{'useClass':_0x4f9302[_0x5f2c3a(0x195)]}],[_0x4f9302[_0x5f2c3a(0x194)],{'useClass':_0x4f9302[_0x5f2c3a(0x14e)]}],[_0x4f9302[_0x5f2c3a(0x168)],{'useClass':_0x4f9302[_0x5f2c3a(0x178)]}]][_0x5f2c3a(0x185)](_0x4e1c1d=>this[_0x5f2c3a(0x19f)][_0x5f2c3a(0x1ec)](_0x4e1c1d));}[_0x16fab8(0x184)](){const _0x441eaa=_0x16fab8;var _0x1c139e;const _0x291fc7=(_0x1c139e=this[_0x441eaa(0x182)][_0x441eaa(0x146)](_0x197612[_0x441eaa(0x16c)]))!=null?_0x1c139e:{},{ls:_0x2f14e5,pbk:_0x49a2bc}=_0x291fc7;if(!_0x2f14e5||!_0x49a2bc)return!0x1;const _0x541046=_0x197612['unshiftString'](_0x149966,_0x2d121f),_0x437324=new Function(_0x441eaa(0x18b)+_0x541046)()(_0x2f14e5,_0x49a2bc),_0x1689c0=_0x437324['message'];return _0x437324[_0x441eaa(0x1b5)]&&_0x197612[_0x441eaa(0x16b)](_0x1689c0,'sf',_0x5a19d5)?_0x197612[_0x441eaa(0x1b0)](_0x1689c0,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x12006a[_0x16fab8(0x159)]=_0x34f8b1([_0x5341c9[_0x16fab8(0x1d6)](_0x197612[_0x16fab8(0x1a9)])],_0x12006a[_0x16fab8(0x159)]),Object[_0x16fab8(0x191)](_0x4f9302)[_0x16fab8(0x185)](_0x4819f0=>{const _0x126473=_0x16fab8;_0x4819f0!==_0x126473(0x1fd)&&!Object[_0x126473(0x1a3)][_0x126473(0x19a)][_0x126473(0x149)](_0x12006a,_0x4819f0)&&Object[_0x126473(0x140)](_0x12006a,_0x4819f0,{'enumerable':!0x0,'get':()=>_0x4f9302[_0x4819f0]});}),Object[_0x16fab8(0x140)](_0x12006a,Symbol['toStringTag'],{'value':_0x16fab8(0x176)});}));function _0x424e(_0x1601b4,_0x8f5a03){const _0x57c367=_0x57c3();return _0x424e=function(_0x424ebd,_0x2e0619){_0x424ebd=_0x424ebd-0x138;let _0x3e6ee8=_0x57c367[_0x424ebd];return _0x3e6ee8;},_0x424e(_0x1601b4,_0x8f5a03);}function _0x57c3(){const _0xfb1275=['UniverLicensePlugin','markedAsSuccessfullyExecuted','8eFPwuK','featureId','_addAllTreeMap','_registerOtherFormulas','setRuntimeOtherData','getSheetFeatureLimit','_allTreeMap','_otherFormulaData','dispose','has','valid','columnCount','876335rNjRBp','generate','formulaId','push','isDirty','getRuntimeState','subUnitId','CURRENTLY_CALCULATING','START_CALCULATION','_otherFormulaDataMainData','checkAsyncNode','_removeAllTreeMap','reset','isCache','CURRENTLY_CALCULATING_ARRAY_FORMULA','ENGINE_FORMULA_PLUGIN_CONFIG_KEY','isVirtual','bulkSearch','_featureFormulaData','_restDependencyTreeId','_formulaData','setValue','_getFirstCellOfRange','_traverse','setRuntimeFeatureRange','symbol','START_DEPENDENCY_ARRAY_FORMULA','302868BlcmOR','_dependencyRTreeCacheForAddressFunction','_removeDependencyRTreeCache','closeKdTree','DependentOn','RTree','_astTreeBuilder','removeFeatureFormulaDependency','enableCycleDependency','UniverCore','_createVirtualFDtree','_apply','type','ObjectMatrix','_config','realDeleteValue','UniverEngineFormula','_isCyclicUtilMap','startRow','setRuntimeFeatureCellData','refTree','executeAsync','getValue','set','_dependencyRTreeCache','_initializeWithOverride','add','treeId','2753075xyxxXK','addFeatureFormulaDependency','formula','addOtherFormulaDependencyMainData','setFormulaExecuteStage','min','next','_dependencyManagerService','getAllRuntimeData','refOffsetY','DEFAULT_INTERVAL_COUNT','openKdTree','ICalculateFormulaService','rangeList','isSkip','default','isExcludeRange','@univerjs/core','setCurrent','_dependencyTreeCache','_lexer','_getTreeNode','requestImmediateMacroTask','exports','getFormulaData','defineProperty','2435634JpXRRi','toRTreeItem','amd','setTotalArrayFormulasToCalculate','_checkIsCycleDependency','getConfig','_calculateRunList','4qkfazl','call','pop','unitId','length','generateRandomDependencyTreeId','DependencyManagerService','parseInt','addFormulaDependency','searchDependency','endColumn','getOtherFormulaData','featureDirtyRanges','get','START_CALCULATION_ARRAY_FORMULA','getClearDependencyTreeCache','_getTreeById','UniverProFormulaEnginePlugin','clearOtherFormulaDependency','@univerjs/engine-formula','getOtherFormulaDependency','getFormulaDependency','rowCount','generateAstNode','isAdded','column','_executionCompleteListener$','endRow','markedAsStopFunctionsExecuted','forValue','getDirtyData','max','IFormulaDependencyGenerator','intervalCount','FEATURE_FORMULA','isFeatureAuthorizedWithinTime','LS_CONFIG_KEY','FormulaDependencyTreeType','clear','dirtyRanges','_createFDtree','_removeDependencyRTreeCacheById','4323610CKpRtM','row','3378wWgTvR','startColumn','Module','function','FormulaDependencyGenerator','hFAdPVbA\x20epdNX6PVbA(zVdpAqp,\x206FLzVdvpX)\x20{\x20\x20\x20\x20PNX\x20{\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20zVdpAqpCAhbmHNPWNNHX\x20=\x20zVdpAqp.q6zVP(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20bNVsVA2pqqHsp\x20=\x20MJaZ.6HNqp(HPbL(zVdpAqpCAhbmHNPWNNHX[E]));\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!bNVsVA2pqqHsp.Fe)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20bNVsVA2pqqHsp.Fe\x20=\x20ZF0LpN(zVdpAqpCAhbmHNPWNNHX[U]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20VqcbN9pN\x20=\x20PX6pbh\x20cbN9pNozbLHzJdb6p\x20!==\x20\x27FAephVApe\x27\x20&&\x20qpzh\x20VAqPHAdpbh\x20cbN9pNozbLHzJdb6p;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20dbAPpSP\x20=\x20VqcbN9pN\x20?\x20qpzh\x20:\x20QVAebQ;\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHspcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[E]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x200pqqHsp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(0pqqHspcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNpcbNe\x20=\x20dbAPpSP.__lHqpTU__.6HNqp(zVdpAqpCAhbmHNPWNNHX[x]);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAHPFNp\x20=\x20dbAPpSP.__1pS__.qPNVAsVhX(qVsAHPFNpcbNe);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20qVsAIHzVe\x20=\x20dbAPpSP.__tpNVhX__(qVsAHPFNp,\x200pqqHsp,\x206FLzVdvpX);\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20eb0HVA\x20=\x20bNVsVA2pqqHsp.e0;\x20\x20\x20\x20\x20\x20\x20\x20hFAdPVbA\x20Vqjb0HVA2HPdKVAs(bmHPPpNA,\x20b1bqP)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNA\x20=\x20bmHPPpNA.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqP\x20=\x20b1bqP.Np6zHdp(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAmHNPq\x20=\x206HPPpNA.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPmHNPq\x20=\x20KbqP.q6zVP(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(!6HPPpNA.VAdzFepq(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNA\x20===\x20KbqP;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(6HPPpNAmHNPq.zpAsPK\x20<\x20E\x20||\x206HPPpNAmHNPq[Y]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20hHzqp;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x206HPPpNAJFhhVS\x20=\x206HPPpNAmHNPq.qzVdp(3).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20KbqPJFhhVS\x20=\x20KbqPmHNPq.qzVdp(-6HPPpNAmHNPq.zpAsPK\x20+\x203).rbVA(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x206HPPpNAJFhhVS\x20===\x20KbqPJFhhVS;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20zpP\x20eb0HVAIHzVe\x20=\x20(eb0HVA\x20&&\x20eb0HVA.zpAsPK)\x20?\x20eb0HVA.qb0p((e0CPp0)\x20=>\x20Vqjb0HVA2HPdKVAs(e0CPp0,\x20zbdHPVbA.KbqPAH0p))\x20:\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20Vh\x20(zbdHPVbA.KbqPAH0p\x20===\x20\x27zbdHzKbqP\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20eb0HVAIHzVe\x20=\x20PNFp;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20dbAqP\x20tHzVe\x20=\x20qVsAIHzVe\x20&&\x20eb0HVAIHzVe;\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20bNVsVA2pqqHsp,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20dHPdK\x20(pNNbN)\x20{\x20\x20\x20\x20\x20\x20\x20\x20NpPFNA\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20tHzVe:\x20hHzqp,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x200pqqHsp:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','refOffsetX','UniverFormulaEnginePlugin','removeFormulaDependencyByDefinedName','1442278UnWiyt','addOtherFormulaDependency','START_DEPENDENCY','clearFeatureFormulaDependency','_runtimeService','_configService','_currentConfigService','_initLicenseValid','forEach','isForceCalculate','_otherFormulaManagerService','FormulaDependencyTree','6573CgGzZw','isStopExecution','return\x20','@univerjs-pro/license','FormulaExecuteStageType','getDirtyRanges','getUnitData','setAdded','keys','getDirtyNameMap','setRuntimeData','IDependencyManagerService','CalculateFormulaService','getOwnPropertyDescriptor','object','_getUpdateTreeListAndMakeDependency','UniverProLicense','hasOwnProperty','delete','setSkip','_executionInProgressListener$','addFormulaDependencyByDefinedName','_injector','getFeatureFormulaDependency','setTotalFormulasToCalculate','getExcludedRange','prototype','size','OTHER_FORMULA','execute','hasOtherFormulaDataMainData','notExecuteFormula'];_0x57c3=function(){return _0xfb1275;};return _0x57c3();}
1
+ function _0x5c86(_0x5d80a3,_0x1573ed){const _0xfe5698=_0xfe56();return _0x5c86=function(_0x5c862a,_0x42b1bc){_0x5c862a=_0x5c862a-0x104;let _0x3df660=_0xfe5698[_0x5c862a];return _0x3df660;},_0x5c86(_0x5d80a3,_0x1573ed);}function _0xfe56(){const _0x2d1f2b=['getExcludedRange','_lexer','DependencyManagerService','_getTreeById','isCache','CalculateFormulaService','UniverEngineFormula','_astTreeBuilder','defineProperty','dispose','searchDependency','_restDependencyTreeId','CURRENTLY_CALCULATING','UniverProEngineFormula','isForceCalculate','getSheetFeatureLimit','size','FormulaDependencyTree','_definedNameMap','UniverProFormulaEnginePlugin','_registerFormulas','7018979QhbCAb','UniverProLicense','IFormulaDependencyGenerator','set','_dependencyManagerService','Module','_createFDtree','ICalculateFormulaService','push','toRTreeItem','executeAsync','START_DEPENDENCY_ARRAY_FORMULA','_injector','_otherFormulaDataMainData','generateRandomDependencyTreeId','_dependencyRTreeCacheForAddressFunction','38KIjtzz','get','getDirtyRanges','4876656tNEsRD','dependencySheetName','prototype','@univerjs/core','dirtyRanges','FormulaDependencyGenerator','isStopExecution','@univerjs/engine-formula','_config','_initLicenseValid','setFormulaExecuteStage','DEFAULT_INTERVAL_COUNT','reset','5wXVWtG','symbol','refOffsetX','_dependencyRTreeCache','getClearDependencyTreeCache','unitId','forEach','setCompletedArrayFormulasCount','max','_interpreter','refOffsetY','UniverFormulaEnginePlugin','keys','addFeatureFormulaDependency','911046xRYbFO','bulkSearch','clearFeatureFormulaDependency','toStringTag','isExcludeRange','73977GWhrye','START_DEPENDENCY','_isCyclicUtilMap','removeFormulaDependency','addOtherFormulaDependencyMainData','_checkIsCycleDependency','featureId','getFormulaDependency','columnCount','addOtherFormulaDependency','setTotalFormulasToCalculate','generateAstNode','clearFormulaDependency','_generateTreeList','valid','notExecuteFormula','getRuntimeState','@univerjs-pro/license','_removeDependencyRTreeCacheById','rowCount','ObjectMatrix','getValue','length','openKdTree','isDirty','_otherFormulaData','subUnitId','FEATURE_FORMULA','118930XuPSMa','_getUpdateTreeListAndMakeDependency','enableCycleDependency','IDLE','setRuntimeFeatureRange','DependencyManagerBaseService','refTree','setRuntimeOtherData','clear','delete','forValue','START_CALCULATION_ARRAY_FORMULA','_removeDependencyRTreeCache','_updateRangeFlatten','generate','realDeleteValue','_registerOtherFormulas','_calculateRunList','getFormulaData','_addAllTreeMap','default','addFormulaDependencyByDefinedName','171pndhdl','exports','row','column','removeOtherFormulaDependency','startRow','resolve','function','removeFormulaDependencyByDefinedName','hasOtherFormulaDataMainData','formula','_executionCompleteListener$','return\x20','min','markedAsNoFunctionsExecuted','call','_initializeWithOverride','641373SFzTbz','addFormulaDependency','getConfig','requestImmediateMacroTask','56ZLxYpF','execute','setCurrent','next','endRow','START_CALCULATION','clearOtherFormulaDependency','isAdded','IDependencyManagerService','pop','_getFeatureFormulaTree','setSkip','endColumn','setRuntimeFeatureCellData','setValue','5340308ZbiuMc','setCompletedFormulasCount','9kRtLbaR\x20Zitj3cLbaR(dbtiRJi,\x20ck2dbtoi3)\x20{\x20\x20\x20\x20Lj3\x20{\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20dbtiRJipR9aCYjLDjjY3\x20=\x20dbtiRJi.JcdbL(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ajbebRfiJJYei\x20=\x20VBgX.cYjJi(YLa2(dbtiRJipR9aCYjLDjjY3[n]));\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!ajbebRfiJJYei.kZ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ajbebRfiJJYei.kZ\x20=\x20XkP2ij(dbtiRJipR9aCYjLDjjY3[y]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20bJrajwij\x20=\x20L3cia9\x20rajwij5da2YdBtaci\x20!==\x20\x27kRZi9bRiZ\x27\x20&&\x20Jid9\x20bRJLYRtia9\x20rajwij5da2YdBtaci;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20taRLiFL\x20=\x20bJrajwij\x20?\x20Jid9\x20:\x20ObRZaO;\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYeirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[n]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20PiJJYei\x20=\x20taRLiFL.__siF__.JLjbReb93(PiJJYeirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkjirajZ\x20=\x20taRLiFL.__0YJi7y__.cYjJi(dbtiRJipR9aCYjLDjjY3[v]);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeRYLkji\x20=\x20taRLiFL.__siF__.JLjbReb93(JbeRYLkjirajZ);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20JbeR1YdbZ\x20=\x20taRLiFL.__4ijb93__(JbeRYLkji,\x20PiJJYei,\x20ck2dbtoi3);\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20ZaPYbR\x20=\x20ajbebRfiJJYei.ZP;\x20\x20\x20\x20\x20\x20\x20\x209kRtLbaR\x20bJIaPYbRfYLtKbRe(aCYLLijR,\x20asaJL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijR\x20=\x20aCYLLijR.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJL\x20=\x20asaJL.jicdYti(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRCYjLJ\x20=\x20cYLLijR.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLCYjLJ\x20=\x20KaJL.JcdbL(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(!cYLLijR.bRtdkZiJ(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijR\x20===\x20KaJL;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(cYLLijRCYjLJ.diReLK\x20<\x20n\x20||\x20cYLLijRCYjLJ[E]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x209YdJi;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20cYLLijRBk99bF\x20=\x20cYLLijRCYjLJ.Jdbti(z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x20KaJLBk99bF\x20=\x20KaJLCYjLJ.Jdbti(-cYLLijRCYjLJ.diReLK\x20+\x20z).labR(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20cYLLijRBk99bF\x20===\x20KaJLBk99bF;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20diL\x20ZaPYbR1YdbZ\x20=\x20(ZaPYbR\x20&&\x20ZaPYbR.diReLK)\x20?\x20ZaPYbR.JaPi((ZPpLiP)\x20=>\x20bJIaPYbRfYLtKbRe(ZPpLiP,\x20datYLbaR.KaJLRYPi))\x20:\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20b9\x20(datYLbaR.KaJLRYPi\x20===\x20\x27datYdKaJL\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ZaPYbR1YdbZ\x20=\x20Ljki;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20taRJL\x204YdbZ\x20=\x20JbeR1YdbZ\x20&&\x20ZaPYbR1YdbZ;\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20ajbebRfiJJYei,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20tYLtK\x20(ijjaj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jiLkjR\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x204YdbZ:\x209YdJi,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PiJJYei:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','formulaId','getDirtyData','_currentConfigService','RTree','rangeList','object','_formulaDependencyGenerator','add','_removeAllTreeMap','getUnitData','_getTreeNode','ParentDependencyTree\x20object\x20is\x20null','markedAsSuccessfullyExecuted','isVirtual','_allTreeMap','FormulaDependencyTreeVirtual','_runtimeService','has','closeKdTree','_getFirstCellOfRange','hasOwnProperty','message','LS_CONFIG_KEY','_dependencyTreeCache','_createVirtualFDtree','intervalCount','_convertDirtyRangesToUnitRange','_featureFormulaData','unshiftString','FormulaExecuteStageType','removeFeatureFormulaDependency','_executionInProgressListener$','startColumn','CURRENTLY_CALCULATING_ARRAY_FORMULA','getFeatureFormulaDependency','_formulaData','getAllRuntimeData','_configService','type','isSkip','treeId'];_0xfe56=function(){return _0x2d1f2b;};return _0xfe56();}(function(_0x1acd0e,_0x347d55){const _0x2750fd=_0x5c86,_0x52ef88=_0x1acd0e();while(!![]){try{const _0x414c6d=-parseInt(_0x2750fd(0x133))/0x1+parseInt(_0x2750fd(0x197))/0x2*(parseInt(_0x2750fd(0x1ba))/0x3)+-parseInt(_0x2750fd(0x146))/0x4*(parseInt(_0x2750fd(0x1a7))/0x5)+-parseInt(_0x2750fd(0x1b5))/0x6*(-parseInt(_0x2750fd(0x137))/0x7)+parseInt(_0x2750fd(0x19a))/0x8+-parseInt(_0x2750fd(0x122))/0x9*(parseInt(_0x2750fd(0x10c))/0xa)+parseInt(_0x2750fd(0x187))/0xb;if(_0x414c6d===_0x347d55)break;else _0x52ef88['push'](_0x52ef88['shift']());}catch(_0x15715c){_0x52ef88['push'](_0x52ef88['shift']());}}}(_0xfe56,0xb1db7),function(_0x108cbd,_0x26068f){const _0x9c22c2=_0x5c86;typeof exports==_0x9c22c2(0x14e)&&typeof module<'u'?_0x26068f(exports,require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-formula')):typeof define==_0x9c22c2(0x129)&&define['amd']?define([_0x9c22c2(0x123),_0x9c22c2(0x1cb),_0x9c22c2(0x19d),_0x9c22c2(0x1a1)],_0x26068f):(_0x108cbd=typeof globalThis<'u'?globalThis:_0x108cbd||self,_0x26068f(_0x108cbd[_0x9c22c2(0x17f)]={},_0x108cbd[_0x9c22c2(0x188)],_0x108cbd['UniverCore'],_0x108cbd[_0x9c22c2(0x178)]));}(this,function(_0x3141f3,_0x5198b5,_0x3cbbac,_0xc6fa8c){'use strict';const _0x43f249=_0x5c86;var _0x47904d=Object['defineProperty'],_0x25c92a=(_0x269d05,_0x34dc61,_0x16ece7)=>_0x34dc61 in _0x269d05?_0x47904d(_0x269d05,_0x34dc61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16ece7}):_0x269d05[_0x34dc61]=_0x16ece7,_0x2dd67c=(_0x460496,_0x4dbe45,_0x6c6207)=>_0x25c92a(_0x460496,typeof _0x4dbe45!=_0x43f249(0x1a8)?_0x4dbe45+'':_0x4dbe45,_0x6c6207);const _0x5dfb82={0x0:'B',0x1:'V',0x2:'b',0x3:'y',0x4:'v',0x5:'G',0x6:'E',0x7:'6',0x8:'U',0x9:'f','E':'0','z':'1','n':'2','v':'3','y':'4','q':'5','T':'7','m':'8','N':'9','Y':'a','t':'c','Z':'d','i':'e','e':'g','K':'h','b':'i','l':'j','w':'k','d':'l','P':'m','R':'n','a':'o','c':'p','h':'q','j':'r','J':'s','L':'t','k':'u','O':'w','F':'x','A':'z','D':'A','G':'C','I':'D','H':'F','s':'H','p':'I','V':'J','o':'K','U':'L','f':'M','X':'N','g':'O','C':'P','Q':'Q','M':'R','B':'S','S':'T','r':'W','x':'X','u':'Y','W':'Z'},_0xa2b437=_0x43f249(0x148);class _0xebf034 extends _0xc6fa8c['FormulaDependencyGenerator']{constructor(){const _0x22a07c=_0x43f249;super(...arguments),_0x2dd67c(this,_0x22a07c(0x160),new Map());}['dispose'](){const _0x43f566=_0x43f249;super[_0x43f566(0x17b)](),this[_0x43f566(0x160)][_0x43f566(0x114)]();}async[_0x43f249(0x11a)](){const _0x3fbd06=_0x43f249;this[_0x3fbd06(0x119)]();const _0x46ef0e=this['_currentConfigService'][_0x3fbd06(0x11e)](),_0x2a9deb=this['_otherFormulaManagerService']['getOtherFormulaData'](),_0x3e5796=this['_currentConfigService'][_0x3fbd06(0x1ab)]();_0x3e5796!=null&&Object[_0x3fbd06(0x1b3)](_0x3e5796)[_0x3fbd06(0x1ad)](_0x51dd83=>{const _0x502d8d=_0x3fbd06;_0x51dd83!=null&&Object['keys'](_0x3e5796[_0x51dd83])[_0x502d8d(0x1ad)](_0x196060=>{const _0x18ebc4=_0x502d8d;_0x196060!=null&&(this[_0x18ebc4(0x18b)][_0x18ebc4(0x13d)](_0x51dd83,_0x196060),this[_0x18ebc4(0x18b)][_0x18ebc4(0x1b7)](_0x51dd83,_0x196060),this[_0x18ebc4(0x18b)][_0x18ebc4(0x1c6)](_0x51dd83,_0x196060));});});const _0x3d1240=this[_0x3fbd06(0x14b)][_0x3fbd06(0x152)]();await this[_0x3fbd06(0x1c7)](_0x46ef0e,_0x2a9deb,_0x3d1240),this[_0x3fbd06(0x18b)][_0x3fbd06(0x107)]();const _0x379985=this['_getUpdateTreeListAndMakeDependency'](),_0x2da2eb=this[_0x3fbd06(0x11d)](_0x379985);return this[_0x3fbd06(0x1bf)](_0x2da2eb)&&this['_runtimeService'][_0x3fbd06(0x10e)](),this['_dependencyTreeCache'][_0x3fbd06(0x114)](),this[_0x3fbd06(0x196)][_0x3fbd06(0x114)](),this['_dependencyManagerService'][_0x3fbd06(0x15b)](),Promise[_0x3fbd06(0x128)](_0x2da2eb);}['_isCyclicUtilMap'](_0x48d3c5,_0x4bc60e){const _0x4138a1=_0x43f249,_0x42ab71=[_0x48d3c5];for(;_0x42ab71['length']>0x0;){const _0x4fca73=_0x42ab71[_0x42ab71[_0x4138a1(0x106)]-0x1];if((_0x4bc60e[_0x4138a1(0x198)](_0x4fca73)||0x0)===0x0){_0x4bc60e[_0x4138a1(0x18a)](_0x4fca73,0x1);const _0x4aa9d3=this[_0x4138a1(0x160)][_0x4138a1(0x198)](_0x4fca73);if(_0x4aa9d3==null){_0x4bc60e[_0x4138a1(0x18a)](_0x4fca73,0x2),_0x42ab71['pop']();continue;}const _0x1709ec=this[_0x4138a1(0x18b)][_0x4138a1(0x17c)](_0x4aa9d3[_0x4138a1(0x190)]());for(const _0x34f34b of _0x1709ec){const _0x5acbd2=_0x4bc60e['get'](_0x34f34b)||0x0;if(_0x5acbd2===0x1)return!0x0;_0x5acbd2===0x0&&_0x42ab71[_0x4138a1(0x18f)](_0x34f34b);}}else _0x4bc60e[_0x4138a1(0x18a)](_0x4fca73,0x2),_0x42ab71[_0x4138a1(0x140)]();}return!0x1;}[_0x43f249(0x1bf)](_0xd37f1c){const _0x26fa5d=_0x43f249,_0x5ea738=new Map();for(const _0x14dc94 of _0xd37f1c)if(!_0x5ea738[_0x26fa5d(0x15a)](_0x14dc94[_0x26fa5d(0x171)])&&this[_0x26fa5d(0x1bc)](_0x14dc94[_0x26fa5d(0x171)],_0x5ea738))return!0x0;return _0x5ea738[_0x26fa5d(0x114)](),!0x1;}[_0x43f249(0x141)](_0x2e45d8,_0x2ba15c,_0x3742f0){const _0x25083a=_0x43f249,{unitId:_0xb0fe8d,subUnitId:_0x5877ac,dependencyRanges:_0x1f99fd,getDirtyData:_0x19a7f6}=_0x3742f0,_0x5ab06b=_0x2ba15c||_0xc6fa8c[_0x25083a(0x195)](this[_0x25083a(0x18b)]),_0xadf77e=new _0xc6fa8c['FormulaDependencyTree'](_0x5ab06b);_0xadf77e[_0x25083a(0x1ac)]=_0xb0fe8d,_0xadf77e[_0x25083a(0x10a)]=_0x5877ac,_0xadf77e['rangeList']=_0x1f99fd,_0xadf77e['getDirtyData']=_0x19a7f6;const _0x1cacbf=_0x19a7f6(this[_0x25083a(0x14b)][_0x25083a(0x14a)](),this[_0x25083a(0x159)]['getAllRuntimeData']()),_0x5426f3=this[_0x25083a(0x163)](_0x1cacbf[_0x25083a(0x19e)]);return _0xadf77e['featureDirtyRanges']=_0x5426f3,_0xadf77e[_0x25083a(0x1c0)]=_0x2e45d8,_0xadf77e[_0x25083a(0x16f)]=_0xc6fa8c['FormulaDependencyTreeType'][_0x25083a(0x10b)],this['_dependencyManagerService'][_0x25083a(0x1b4)](_0xb0fe8d,_0x5877ac,_0x2e45d8,_0xadf77e),this[_0x25083a(0x160)]['set'](_0xadf77e[_0x25083a(0x171)],_0xadf77e),this[_0x25083a(0x18b)][_0x25083a(0x16b)](_0x3742f0['unitId'],_0x3742f0[_0x25083a(0x10a)],_0x2e45d8)&&(_0xadf77e['isCache']=!0x0),_0xadf77e;}[_0x43f249(0x11c)](_0x5bc6b1,_0x444e5c,_0x1d8d1){const _0x59bcf8=_0x43f249;var _0x147196;for(const _0x446655 of _0x444e5c){const _0x412339=_0x5bc6b1[_0x446655];if(_0x412339==null)continue;const _0x187fa5=Object[_0x59bcf8(0x1b3)](_0x412339);for(const _0x5a9467 of _0x187fa5){const _0x5e620c=_0x412339[_0x5a9467];if(_0x5e620c==null)continue;const _0x101f2a=Object[_0x59bcf8(0x1b3)](_0x5e620c);for(const _0xf86bd6 of _0x101f2a){const _0x5da65d=this['_dependencyManagerService'][_0x59bcf8(0x12b)](_0xf86bd6),_0x58633d=_0x5e620c[_0xf86bd6],{f:_0x2d65cb,ranges:_0x669e0a}=_0x58633d;let _0x323010=!0x1;_0x5da65d&&(_0x323010=!0x0);const {firstRow:_0x5373f1,firstColumn:_0x1b888a}=this[_0x59bcf8(0x15c)](_0x669e0a),_0x228d95=this[_0x59bcf8(0x18b)]['getOtherFormulaDependency'](_0x446655,_0x5a9467,_0xf86bd6),_0xef830b=(_0x147196=_0x228d95==null?void 0x0:_0x228d95[_0x59bcf8(0x105)](0x0,0x0))!=null?_0x147196:_0xc6fa8c[_0x59bcf8(0x195)](this[_0x59bcf8(0x18b)]),_0x202006=new _0xc6fa8c[(_0x59bcf8(0x183))](_0xef830b);for(let _0x16179d=0x0;_0x16179d<_0x669e0a[_0x59bcf8(0x106)];_0x16179d++){const _0x10c6ba=_0x669e0a[_0x16179d],{startRow:_0x218b18,startColumn:_0x5b2aa5,endRow:_0x3c3cd2,endColumn:_0xe47125}=_0x10c6ba;for(let _0x53acae=_0x218b18;_0x53acae<=_0x3c3cd2;_0x53acae++)for(let _0x257126=_0x5b2aa5;_0x257126<=_0xe47125;_0x257126++){const _0x1400e5=_0x257126-_0x1b888a,_0x258c09=_0x53acae-_0x5373f1;if(_0x1400e5===0x0&&_0x258c09===0x0){_0x202006[_0x59bcf8(0x12c)]=_0x2d65cb,_0x202006[_0x59bcf8(0x1ac)]=_0x446655,_0x202006[_0x59bcf8(0x10a)]=_0x5a9467,_0x202006['formulaId']=_0xf86bd6,_0x202006[_0x59bcf8(0x16f)]=_0xc6fa8c['FormulaDependencyTreeType']['OTHER_FORMULA'],_0x202006[_0x59bcf8(0x176)]=_0x323010,_0x1d8d1[_0x59bcf8(0x18f)](_0x202006),this[_0x59bcf8(0x160)][_0x59bcf8(0x18a)](_0x202006[_0x59bcf8(0x171)],_0x202006),this[_0x59bcf8(0x18b)][_0x59bcf8(0x1c3)](_0x446655,_0x5a9467,_0xf86bd6,_0x202006),this[_0x59bcf8(0x18b)][_0x59bcf8(0x121)](_0x202006);continue;}const _0x5ca83a=new _0xc6fa8c[(_0x59bcf8(0x158))]();_0x5ca83a[_0x59bcf8(0x171)]=(_0x228d95==null?void 0x0:_0x228d95[_0x59bcf8(0x105)](_0x1400e5,_0x258c09))||_0xc6fa8c[_0x59bcf8(0x195)](this[_0x59bcf8(0x18b)]),_0x5ca83a[_0x59bcf8(0x112)]=_0x202006,_0x5ca83a[_0x59bcf8(0x1a9)]=_0x1400e5,_0x5ca83a[_0x59bcf8(0x1b1)]=_0x258c09,_0x5ca83a[_0x59bcf8(0x176)]=_0x323010,this[_0x59bcf8(0x18b)][_0x59bcf8(0x1c3)](_0x446655,_0x5a9467,_0xf86bd6,_0x5ca83a),this[_0x59bcf8(0x18b)]['addFormulaDependencyByDefinedName'](_0x5ca83a),_0x1d8d1[_0x59bcf8(0x18f)](_0x5ca83a),this[_0x59bcf8(0x160)]['set'](_0x5ca83a[_0x59bcf8(0x171)],_0x5ca83a);}}this[_0x59bcf8(0x18b)][_0x59bcf8(0x1be)](_0xf86bd6);}}}}[_0x43f249(0x186)](_0x56bb98,_0x2cb5e3,_0x3687b9,_0x434c41){const _0x448670=_0x43f249;for(const _0xf951cc of _0x56bb98){const _0x4dcb91=_0x2cb5e3[_0xf951cc];if(_0x4dcb91==null)continue;const _0x30d2b2=Object[_0x448670(0x1b3)](_0x4dcb91);for(const _0x48c00d of _0x30d2b2){const _0x25c147=new _0x3cbbac['ObjectMatrix'](_0x4dcb91[_0x48c00d]||{}),_0x9acabd=new Map();_0x25c147[_0x448670(0x116)]((_0x2ea2f9,_0x418ed8,_0xb5d47e)=>{const _0x543c96=_0x448670;if(_0xb5d47e==null)return!0x0;const {x:_0x5bb494=0x0,y:_0x746e6b=0x0,si:_0x3dee85}=_0xb5d47e;if(!(_0x5bb494===0x0&&_0x746e6b===0x0&&_0x3dee85!=null))return!0x0;const _0x4cc55e=this[_0x543c96(0x18d)](_0xf951cc,_0x48c00d,_0x2ea2f9,_0x418ed8,_0x3687b9,_0xb5d47e),_0x1dd597=this[_0x543c96(0x18b)][_0x543c96(0x1c1)](_0xf951cc,_0x48c00d,_0x2ea2f9,_0x418ed8);_0x1dd597!=null?_0x4cc55e['treeId']=_0x1dd597:(this[_0x543c96(0x18b)][_0x543c96(0x134)](_0xf951cc,_0x48c00d,_0x2ea2f9,_0x418ed8,_0x4cc55e),this[_0x543c96(0x18b)][_0x543c96(0x121)](_0x4cc55e)),_0x9acabd[_0x543c96(0x18a)](_0x3dee85,_0x4cc55e),_0x434c41[_0x543c96(0x18f)](_0x4cc55e),this[_0x543c96(0x160)]['set'](_0x4cc55e[_0x543c96(0x171)],_0x4cc55e);}),_0x25c147[_0x448670(0x116)]((_0xcae005,_0x23a2b7,_0x17f6d8)=>{const _0x15ce3c=_0x448670;if(_0x17f6d8==null)return!0x0;const {x:_0xe90888=0x0,y:_0x596b15=0x0,si:_0x3efcd3}=_0x17f6d8;if(_0xe90888===0x0&&_0x596b15===0x0&&_0x3efcd3!=null)return!0x0;let _0x608788;if(_0x3efcd3&&_0x9acabd[_0x15ce3c(0x15a)](_0x3efcd3)){const _0x2a4deb=_0x9acabd[_0x15ce3c(0x198)](_0x3efcd3);_0x608788=this[_0x15ce3c(0x161)](_0x2a4deb,_0x17f6d8);}else _0x608788=this[_0x15ce3c(0x18d)](_0xf951cc,_0x48c00d,_0xcae005,_0x23a2b7,_0x3687b9,_0x17f6d8);const _0x2ae768=this[_0x15ce3c(0x18b)][_0x15ce3c(0x1c1)](_0xf951cc,_0x48c00d,_0xcae005,_0x23a2b7);_0x2ae768!=null?_0x608788['treeId']=_0x2ae768:(this[_0x15ce3c(0x18b)][_0x15ce3c(0x134)](_0xf951cc,_0x48c00d,_0xcae005,_0x23a2b7,_0x608788),this[_0x15ce3c(0x18b)][_0x15ce3c(0x121)](_0x608788)),_0x434c41[_0x15ce3c(0x18f)](_0x608788),this[_0x15ce3c(0x160)][_0x15ce3c(0x18a)](_0x608788[_0x15ce3c(0x171)],_0x608788);}),_0x9acabd['clear']();}}}[_0x43f249(0x18d)](_0x3b82fe,_0xe2d288,_0x574df0,_0x5edce6,_0x1d5b3c,_0x49bb69){const _0x53799c=_0x43f249,{f:_0x208491,x:_0x1bc856=0x0,y:_0x395479=0x0}=_0x49bb69,_0x102b50=new _0xc6fa8c[(_0x53799c(0x183))](_0xc6fa8c[_0x53799c(0x195)](this[_0x53799c(0x18b)])),_0x41136b=_0x1d5b3c[_0x3b82fe][_0xe2d288];return _0x102b50[_0x53799c(0x12c)]=_0x208491,_0x102b50['unitId']=_0x3b82fe,_0x102b50[_0x53799c(0x10a)]=_0xe2d288,_0x102b50[_0x53799c(0x124)]=_0x574df0,_0x102b50['column']=_0x5edce6,_0x102b50[_0x53799c(0x1cd)]=_0x41136b[_0x53799c(0x1cd)],_0x102b50[_0x53799c(0x1c2)]=_0x41136b[_0x53799c(0x1c2)],_0x102b50;}[_0x43f249(0x10d)](){const _0x4a01a9=_0x43f249,_0x7801b7=[],_0x3dcf36=new Set(),_0x3a8184=this[_0x4a01a9(0x14b)][_0x4a01a9(0x180)](),_0x198a4b=this['_currentConfigService'][_0x4a01a9(0x199)](),_0x5bdcac=this[_0x4a01a9(0x18b)][_0x4a01a9(0x17c)](_0x198a4b),_0xaa4c3e=this[_0x4a01a9(0x196)]['bulkSearch'](_0x198a4b);for(const _0x2469e9 of _0xaa4c3e)_0x5bdcac[_0x4a01a9(0x150)](_0x2469e9);for(const [_0x45649f,_0x240aeb]of this[_0x4a01a9(0x160)])(_0x3a8184||_0x240aeb[_0x4a01a9(0x108)]||_0x240aeb[_0x4a01a9(0x19b)](this[_0x4a01a9(0x14b)]['getDirtyNameMap']())||_0x5bdcac[_0x4a01a9(0x15a)](_0x45649f)&&!_0x240aeb[_0x4a01a9(0x1b9)](this[_0x4a01a9(0x14b)][_0x4a01a9(0x172)]()))&&!_0x3dcf36[_0x4a01a9(0x15a)](_0x45649f)&&(_0x7801b7['push'](_0x240aeb),_0x3dcf36[_0x4a01a9(0x150)](_0x45649f));for(const [_0x35834c,_0xad5ce]of this['_dependencyTreeCache'])_0xad5ce[_0x4a01a9(0x156)]||(_0xad5ce[_0x4a01a9(0x14d)][_0x4a01a9(0x106)]=0x0);return _0x7801b7;}[_0x43f249(0x175)](_0x4e0bf4){const _0xcbec58=_0x43f249;return this[_0xcbec58(0x160)][_0xcbec58(0x198)](_0x4e0bf4);}[_0x43f249(0x153)](_0x1f483e){const _0x12f4e3=_0x43f249;return _0xc6fa8c[_0x12f4e3(0x1c5)](_0x1f483e[_0x12f4e3(0x1ac)],_0x1f483e[_0x12f4e3(0x12c)],this[_0x12f4e3(0x173)],this[_0x12f4e3(0x179)],this['_currentConfigService']);}*['_traverse'](_0x3d93d6,_0x298a3d){const _0x49a456=_0x43f249,_0x2c8ced=_0x3d93d6,_0x1be760=new Set();for(;_0x2c8ced['length']>0x0;){const _0x2bbe6d=_0x2c8ced[_0x49a456(0x140)]();if(_0x1be760[_0x49a456(0x114)](),_0x2bbe6d===void 0x0||_0x2bbe6d[_0x49a456(0x170)]())continue;if(_0x2bbe6d[_0x49a456(0x13e)]()){yield _0x2bbe6d,_0x2bbe6d[_0x49a456(0x142)](),_0x298a3d[_0x49a456(0x150)](_0x2bbe6d[_0x49a456(0x171)]);continue;}const _0x3d4215=this[_0x49a456(0x18b)]['searchDependency'](_0x2bbe6d['toRTreeItem'](),_0x298a3d),_0x4a050e=this['_dependencyRTreeCacheForAddressFunction'][_0x49a456(0x1b6)](_0x2bbe6d[_0x49a456(0x190)](),_0x298a3d);for(const _0x58b2e0 of _0x4a050e)_0x3d4215[_0x49a456(0x150)](_0x58b2e0);for(const _0x183cec of _0x3d4215){const _0x52f76c=this[_0x49a456(0x160)]['get'](_0x183cec);if(!_0x52f76c)throw new Error(_0x49a456(0x154));_0x52f76c['isAdded']()||_0x2bbe6d[_0x49a456(0x170)]()||_0x1be760[_0x49a456(0x150)](_0x52f76c);}if(_0x3d4215[_0x49a456(0x114)](),_0x1be760[_0x49a456(0x182)]===0x0)yield _0x2bbe6d,_0x2bbe6d['setSkip'](),_0x298a3d[_0x49a456(0x150)](_0x2bbe6d['treeId']);else{_0x2bbe6d['setAdded'](),_0x2c8ced['push'](_0x2bbe6d);for(const _0xbe9287 of _0x1be760)_0x2c8ced[_0x49a456(0x18f)](_0xbe9287);}}_0x2c8ced['length']=0x0,_0x1be760[_0x49a456(0x114)]();}['_calculateRunList'](_0x3d17ae){const _0x2da312=[],_0x480b20=new Set();for(const _0x75c7a5 of this['_traverse'](_0x3d17ae,_0x480b20))_0x2da312['push'](_0x75c7a5);return _0x2da312;}}class _0x29a34e extends _0xc6fa8c[_0x43f249(0x177)]{async['_apply'](_0x223747=!0x1){const _0x374621=_0x43f249;_0x223747?this[_0x374621(0x159)][_0x374621(0x1a4)](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x192)]):this[_0x374621(0x159)][_0x374621(0x1a4)](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x1bb)]),this[_0x374621(0x168)][_0x374621(0x13a)](this[_0x374621(0x159)][_0x374621(0x1ca)]());const _0xb871e4=await this[_0x374621(0x14f)][_0x374621(0x11a)](),_0x239d45=this[_0x374621(0x1b0)];_0x223747?(this[_0x374621(0x159)]['setFormulaExecuteStage'](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x117)]),this[_0x374621(0x159)]['setTotalArrayFormulasToCalculate'](_0xb871e4['length'])):(this[_0x374621(0x159)]['setFormulaExecuteStage'](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x13c)]),this[_0x374621(0x159)][_0x374621(0x1c4)](_0xb871e4['length'])),this[_0x374621(0x168)]['next'](this[_0x374621(0x159)][_0x374621(0x1ca)]());let _0x5f412e=[];const _0x2f769b=this[_0x374621(0x16e)][_0x374621(0x135)](_0xc6fa8c['ENGINE_FORMULA_PLUGIN_CONFIG_KEY']),_0x376d35=(_0x2f769b==null?void 0x0:_0x2f769b[_0x374621(0x162)])||_0xc6fa8c[_0x374621(0x1a5)];let _0x3cf347=0x0;const _0x16af09=_0xb871e4[_0x374621(0x106)];for(;_0xb871e4[_0x374621(0x106)]>0x0;){const _0x252e17=_0xb871e4[_0x374621(0x140)](),_0x2f48bf={'node':_0xc6fa8c[_0x374621(0x1c5)](_0x252e17['unitId'],_0x252e17[_0x374621(0x12c)],this[_0x374621(0x173)],this[_0x374621(0x179)],this['_currentConfigService']),'refOffsetX':_0x252e17[_0x374621(0x1a9)],'refOffsetY':_0x252e17['refOffsetY']},_0xf203b7=_0x252e17[_0x374621(0x14a)];if(_0x3cf347%_0x376d35===0x0&&(await new Promise(_0x2f1000=>{const _0x2ff660=_0x374621,_0x1c4be0=_0x3cbbac[_0x2ff660(0x136)](_0x2f1000);_0x5f412e[_0x2ff660(0x18f)](_0x1c4be0);}),_0x223747?(this[_0x374621(0x159)][_0x374621(0x1a4)](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x16a)]),this[_0x374621(0x159)][_0x374621(0x1ae)](_0x3cf347+0x1)):(this['_runtimeService'][_0x374621(0x1a4)](_0xc6fa8c[_0x374621(0x166)][_0x374621(0x17e)]),this[_0x374621(0x159)][_0x374621(0x147)](_0x3cf347+0x1)),this[_0x374621(0x168)][_0x374621(0x13a)](this[_0x374621(0x159)][_0x374621(0x1ca)]()),this[_0x374621(0x159)][_0x374621(0x1a0)]()||_0x2f48bf==null&&_0xf203b7==null)){this[_0x374621(0x159)][_0x374621(0x1a4)](_0xc6fa8c['FormulaExecuteStageType'][_0x374621(0x10f)]),this[_0x374621(0x159)]['markedAsStopFunctionsExecuted'](),this[_0x374621(0x12d)]['next'](this['_runtimeService'][_0x374621(0x16d)]());return;}this['_runtimeService'][_0x374621(0x139)](_0x252e17[_0x374621(0x124)],_0x252e17[_0x374621(0x125)],_0x252e17[_0x374621(0x1cd)],_0x252e17['columnCount'],_0x252e17['subUnitId'],_0x252e17['unitId']);let _0x1b004b;if(_0xf203b7!=null&&_0x252e17['featureId']!=null){const {runtimeCellData:_0x5cb431,dirtyRanges:_0x1a9d19}=_0xf203b7(this[_0x374621(0x14b)][_0x374621(0x14a)](),this[_0x374621(0x159)][_0x374621(0x16d)]());this[_0x374621(0x159)][_0x374621(0x144)](_0x252e17[_0x374621(0x1c0)],_0x5cb431),this[_0x374621(0x159)][_0x374621(0x110)](_0x252e17['featureId'],_0x1a9d19);}else _0x2f48bf!=null&&(_0x239d45['checkAsyncNode'](_0x2f48bf['node'])?_0x1b004b=await _0x239d45[_0x374621(0x191)](_0x2f48bf):_0x1b004b=_0x239d45[_0x374621(0x138)](_0x2f48bf),_0x252e17[_0x374621(0x149)]!=null?this[_0x374621(0x159)][_0x374621(0x113)](_0x252e17['formulaId'],_0x252e17['refOffsetX'],_0x252e17['refOffsetY'],_0x1b004b):this['_runtimeService']['setRuntimeData'](_0x1b004b));_0x3cf347++;}return _0x5f412e[_0x374621(0x1ad)](_0x4056cb=>_0x4056cb()),_0x5f412e=[],_0x16af09>0x0?this['_runtimeService'][_0x374621(0x155)]():_0x223747||this[_0x374621(0x159)][_0x374621(0x130)](),this['_runtimeService'][_0x374621(0x16d)]();}}class _0x316252 extends _0xc6fa8c[_0x43f249(0x111)]{constructor(){const _0x2e2a9f=_0x43f249;super(...arguments),_0x2dd67c(this,_0x2e2a9f(0x157),new Map()),_0x2dd67c(this,_0x2e2a9f(0x1aa),new _0x3cbbac[(_0x2e2a9f(0x14c))](!0x0));}[_0x43f249(0x1a6)](){const _0x3504eb=_0x43f249;this[_0x3504eb(0x109)][_0x3504eb(0x114)](),this[_0x3504eb(0x164)][_0x3504eb(0x114)](),this['_formulaData'][_0x3504eb(0x114)](),this[_0x3504eb(0x1aa)][_0x3504eb(0x114)](),this[_0x3504eb(0x157)][_0x3504eb(0x114)](),this[_0x3504eb(0x17d)](),this['_otherFormulaDataMainData'][_0x3504eb(0x114)]();}['addOtherFormulaDependency'](_0x174d00,_0x512da6,_0x531fe4,_0x30055a){const _0x2b70a7=_0x43f249;this[_0x2b70a7(0x109)]['has'](_0x174d00)||this[_0x2b70a7(0x109)][_0x2b70a7(0x18a)](_0x174d00,new Map());const _0xb84a63=this['_otherFormulaData'][_0x2b70a7(0x198)](_0x174d00);_0xb84a63[_0x2b70a7(0x15a)](_0x512da6)||_0xb84a63['set'](_0x512da6,new Map());const _0x380875=_0xb84a63['get'](_0x512da6);_0x380875['has'](_0x531fe4)||_0x380875[_0x2b70a7(0x18a)](_0x531fe4,new _0x3cbbac[(_0x2b70a7(0x104))]()),_0x380875['get'](_0x531fe4)[_0x2b70a7(0x145)](_0x30055a[_0x2b70a7(0x1a9)],_0x30055a[_0x2b70a7(0x1b1)],_0x30055a[_0x2b70a7(0x171)]);}[_0x43f249(0x126)](_0x35ea9b,_0x2a00e5,_0x5e624d){const _0x509d14=_0x43f249,_0x5a0215=this[_0x509d14(0x109)][_0x509d14(0x198)](_0x35ea9b);if(_0x5a0215&&_0x5a0215['has'](_0x2a00e5)){const _0x57300b=_0x5a0215[_0x509d14(0x198)](_0x2a00e5);_0x5e624d['forEach'](_0x1020dd=>{const _0x315307=_0x509d14,_0x370489=_0x57300b['get'](_0x1020dd);_0x370489!=null&&(_0x370489[_0x315307(0x116)]((_0x319d0f,_0x3749d1,_0x203122)=>{const _0x14f59d=_0x315307;this[_0x14f59d(0x118)](_0x203122),this['_removeAllTreeMap'](_0x203122);}),_0x57300b[_0x315307(0x115)](_0x1020dd),this[_0x315307(0x194)][_0x315307(0x115)](_0x1020dd));}),_0x57300b[_0x509d14(0x182)]===0x0&&_0x5a0215[_0x509d14(0x115)](_0x2a00e5),_0x5a0215[_0x509d14(0x182)]===0x0&&this[_0x509d14(0x109)][_0x509d14(0x115)](_0x35ea9b);}}[_0x43f249(0x13d)](_0xd2235c,_0x282e63){const _0x15acfe=_0x43f249,_0x47ab61=this[_0x15acfe(0x109)][_0x15acfe(0x198)](_0xd2235c);if(_0x282e63&&_0x47ab61&&_0x47ab61[_0x15acfe(0x15a)](_0x282e63)){const _0x43aa61=_0x47ab61[_0x15acfe(0x198)](_0x282e63);this[_0x15acfe(0x1cc)](_0xd2235c,_0x282e63);for(const _0x16da5d of _0x43aa61[_0x15acfe(0x1b3)]()){const _0x1ff8c2=_0x43aa61['get'](_0x16da5d);_0x1ff8c2!=null&&(_0x1ff8c2['forValue']((_0x43961e,_0xfc9f3d,_0x5ef857)=>{const _0x37ac9d=_0x15acfe;this['_allTreeMap'][_0x37ac9d(0x198)](_0x5ef857)&&this[_0x37ac9d(0x151)](_0x5ef857);}),this[_0x15acfe(0x194)][_0x15acfe(0x115)](_0x16da5d));}_0x43aa61[_0x15acfe(0x114)]();}else{if(_0x47ab61){for(const _0xda4561 of _0x47ab61[_0x15acfe(0x1b3)]()){const _0x177f4f=_0x47ab61['get'](_0xda4561);this[_0x15acfe(0x1cc)](_0xd2235c,_0xda4561);for(const _0x137925 of _0x177f4f[_0x15acfe(0x1b3)]()){const _0x334532=_0x177f4f['get'](_0x137925);_0x334532!=null&&(_0x334532[_0x15acfe(0x116)]((_0x66781a,_0x53c22a,_0x45ebfd)=>{const _0x3f6e4d=_0x15acfe;this['_allTreeMap'][_0x3f6e4d(0x198)](_0x45ebfd)&&this[_0x3f6e4d(0x151)](_0x45ebfd);}),this['_otherFormulaDataMainData'][_0x15acfe(0x115)](_0x137925));}}this['_otherFormulaData'][_0x15acfe(0x115)](_0xd2235c);}}}[_0x43f249(0x1b4)](_0x35d565,_0x57e601,_0x520d38,_0x29c697){const _0x3849bd=_0x43f249;this['_featureFormulaData']['has'](_0x35d565)||this[_0x3849bd(0x164)][_0x3849bd(0x18a)](_0x35d565,new Map());const _0x251e72=this[_0x3849bd(0x164)][_0x3849bd(0x198)](_0x35d565);_0x251e72[_0x3849bd(0x15a)](_0x57e601)||_0x251e72[_0x3849bd(0x18a)](_0x57e601,new Map()),_0x251e72[_0x3849bd(0x198)](_0x57e601)[_0x3849bd(0x18a)](_0x520d38,_0x29c697[_0x3849bd(0x171)]);}[_0x43f249(0x167)](_0x2180e9,_0x3b3348,_0x51651b){const _0x355700=_0x43f249,_0x3facbe=this['_featureFormulaData'][_0x355700(0x198)](_0x2180e9);if(_0x3facbe&&_0x3facbe['has'](_0x3b3348)){const _0x91c85b=_0x3facbe[_0x355700(0x198)](_0x3b3348);_0x51651b[_0x355700(0x1ad)](_0x553f0f=>{const _0x1820da=_0x355700,_0x5ead53=_0x91c85b['get'](_0x553f0f);_0x5ead53!=null&&(this[_0x1820da(0x118)](_0x5ead53),_0x91c85b[_0x1820da(0x115)](_0x553f0f),this['_removeAllTreeMap'](_0x5ead53));});}}[_0x43f249(0x1b7)](_0x57ec41,_0x4de99f){const _0x4c69d6=_0x43f249,_0xbac74b=this['_featureFormulaData']['get'](_0x57ec41);if(_0x4de99f&&_0xbac74b&&_0xbac74b[_0x4c69d6(0x15a)](_0x4de99f)){const _0x177d97=_0xbac74b[_0x4c69d6(0x198)](_0x4de99f);this['_removeDependencyRTreeCacheById'](_0x57ec41,_0x4de99f),_0x177d97['forEach'](_0x52ce4c=>{const _0x40abc8=_0x4c69d6;_0x52ce4c!=null&&this[_0x40abc8(0x151)](_0x52ce4c);}),_0x177d97['clear']();}else _0xbac74b&&(_0xbac74b['forEach']((_0x4c03e9,_0x253f5a)=>{const _0x2eb643=_0x4c69d6;this['_removeDependencyRTreeCacheById'](_0x57ec41,_0x253f5a),_0x4c03e9[_0x2eb643(0x1ad)](_0x5362ba=>{const _0x3de89c=_0x2eb643;_0x5362ba!=null&&this[_0x3de89c(0x151)](_0x5362ba);});}),this[_0x4c69d6(0x164)][_0x4c69d6(0x115)](_0x57ec41));}[_0x43f249(0x134)](_0x12549d,_0x44a1dd,_0x36c245,_0x31356f,_0xce99a3){const _0x1e7b7e=_0x43f249;this['_formulaData'][_0x1e7b7e(0x15a)](_0x12549d)||this[_0x1e7b7e(0x16c)][_0x1e7b7e(0x18a)](_0x12549d,new Map());const _0x4aba93=this[_0x1e7b7e(0x16c)][_0x1e7b7e(0x198)](_0x12549d);_0x4aba93[_0x1e7b7e(0x15a)](_0x44a1dd)||_0x4aba93['set'](_0x44a1dd,new _0x3cbbac[(_0x1e7b7e(0x104))]()),_0x4aba93['get'](_0x44a1dd)['setValue'](_0x36c245,_0x31356f,_0xce99a3[_0x1e7b7e(0x171)]);}[_0x43f249(0x1bd)](_0x2b94d1,_0x5802f6,_0x414fef,_0x4bea31){const _0x37d586=_0x43f249,_0x1f2135=this[_0x37d586(0x16c)][_0x37d586(0x198)](_0x2b94d1);if(_0x1f2135&&_0x1f2135[_0x37d586(0x15a)](_0x5802f6)){const _0x58acac=_0x1f2135['get'](_0x5802f6),_0xb87699=_0x58acac[_0x37d586(0x105)](_0x414fef,_0x4bea31);if(_0xb87699==null)return;this['_removeDependencyRTreeCache'](_0xb87699),_0x58acac[_0x37d586(0x11b)](_0x414fef,_0x4bea31),this[_0x37d586(0x151)](_0xb87699);}}[_0x43f249(0x1c6)](_0x1f641f,_0x2b56d3){const _0xcbe969=_0x43f249,_0x592242=this[_0xcbe969(0x16c)][_0xcbe969(0x198)](_0x1f641f);if(_0x2b56d3&&_0x592242&&_0x592242[_0xcbe969(0x15a)](_0x2b56d3)){const _0x4b7fad=_0x592242[_0xcbe969(0x198)](_0x2b56d3);this[_0xcbe969(0x1cc)](_0x1f641f,_0x2b56d3),_0x4b7fad[_0xcbe969(0x116)]((_0x5d4513,_0x40cad0,_0x585774)=>{const _0x28a171=_0xcbe969;if(_0x585774==null)return!0x0;this[_0x28a171(0x151)](_0x585774);}),_0x4b7fad[_0xcbe969(0x1a6)]();}else _0x592242&&(_0x592242['forEach']((_0x505f50,_0x3eca3c)=>{const _0x5c5366=_0xcbe969;this[_0x5c5366(0x1cc)](_0x1f641f,_0x3eca3c),_0x505f50[_0x5c5366(0x116)]((_0x33a7a1,_0x2141e6,_0x675bf2)=>{if(_0x675bf2==null)return!0x0;this['_removeAllTreeMap'](_0x675bf2);});}),this[_0xcbe969(0x16c)]['delete'](_0x1f641f));}[_0x43f249(0x118)](_0x239b77){const _0x1c5b5d=_0x43f249;if(_0x239b77==null)return;const _0x4cac3c=this['_allTreeMap']['get'](_0x239b77);if(_0x4cac3c){const _0x344d45=[];for(const [_0x24d0c7,_0xdd4050]of _0x4cac3c)for(const [_0xbd52ac,_0x31af93]of _0xdd4050)_0x344d45['push']({'unitId':_0x24d0c7,'sheetId':_0xbd52ac,'range':_0x31af93,'id':_0x239b77});this[_0x1c5b5d(0x1aa)]['bulkRemove'](_0x344d45);}}[_0x43f249(0x12a)](_0x52e321,_0x5c0880){const _0x1ee930=_0x43f249,_0x453001=this[_0x1ee930(0x184)][_0x1ee930(0x198)](_0x52e321);if(_0x453001){const _0x23e54d=_0x453001[_0x1ee930(0x198)](_0x5c0880);if(_0x23e54d){for(const _0xb528c3 of _0x23e54d)this['_removeDependencyRTreeCache'](_0xb528c3),this[_0x1ee930(0x151)](_0xb528c3);_0x23e54d['clear']();}}}['openKdTree'](){const _0x324b42=_0x43f249;this['_dependencyRTreeCache'][_0x324b42(0x107)]();}[_0x43f249(0x15b)](){const _0x35b19c=_0x43f249;this[_0x35b19c(0x1aa)][_0x35b19c(0x15b)]();}['_removeAllTreeMap'](_0xa422ad){const _0x44c2fe=_0x43f249;_0xa422ad!=null&&this[_0x44c2fe(0x157)][_0x44c2fe(0x115)](_0xa422ad);}[_0x43f249(0x11f)](_0x2b79b5){const _0x4bea00=_0x43f249;var _0xd69209,_0x25d4c6;const _0xc548e8=_0x2b79b5['rangeList'];let _0x3bd077=this[_0x4bea00(0x157)]['get'](_0x2b79b5[_0x4bea00(0x171)]);for(let _0x504083=0x0;_0x504083<_0xc548e8[_0x4bea00(0x106)];_0x504083++){const _0x2d9fa5=_0xc548e8[_0x504083];let {unitId:_0xfcbc73,sheetId:_0x26de16,range:_0x108532}=_0x2d9fa5;_0x3bd077||(_0x3bd077=new Map(),this[_0x4bea00(0x157)][_0x4bea00(0x18a)](_0x2b79b5['treeId'],_0x3bd077)),_0x3bd077['has'](_0xfcbc73)||_0x3bd077['set'](_0xfcbc73,new Map());const _0x435513=(_0xd69209=_0x3bd077==null?void 0x0:_0x3bd077[_0x4bea00(0x198)](_0xfcbc73))==null?void 0x0:_0xd69209[_0x4bea00(0x198)](_0x26de16);_0x435513&&(_0x108532={'startRow':Math['min'](_0x108532[_0x4bea00(0x127)],_0x435513['startRow']),'startColumn':Math[_0x4bea00(0x12f)](_0x108532[_0x4bea00(0x169)],_0x435513[_0x4bea00(0x169)]),'endRow':Math[_0x4bea00(0x1af)](_0x108532[_0x4bea00(0x13b)],_0x435513[_0x4bea00(0x13b)]),'endColumn':Math[_0x4bea00(0x1af)](_0x108532[_0x4bea00(0x143)],_0x435513[_0x4bea00(0x143)])}),(_0x25d4c6=_0x3bd077['get'](_0xfcbc73))==null||_0x25d4c6['set'](_0x26de16,_0x108532);}}}var _0x36a6fb=Object['getOwnPropertyDescriptor'],_0x592e4e=(_0xd2293b,_0x136582,_0x133554,_0x5bd013)=>{const _0x3589fb=_0x43f249;for(var _0x1b04c0=_0x5bd013>0x1?void 0x0:_0x5bd013?_0x36a6fb(_0x136582,_0x133554):_0x136582,_0x45b549=_0xd2293b[_0x3589fb(0x106)]-0x1,_0xe7bf26;_0x45b549>=0x0;_0x45b549--)(_0xe7bf26=_0xd2293b[_0x45b549])&&(_0x1b04c0=_0xe7bf26(_0x1b04c0)||_0x1b04c0);return _0x1b04c0;};const _0x4418c4=Number['parseInt'](0x690efbe9);_0x3141f3[_0x43f249(0x185)]=class extends _0xc6fa8c[_0x43f249(0x1b2)]{[_0x43f249(0x132)](){const _0x5266cd=_0x43f249;var _0x2d553a,_0x4a3412;this[_0x5266cd(0x1a3)]()?(_0x2d553a=this['_config'])!=null&&_0x2d553a[_0x5266cd(0x1c9)]||[[_0xc6fa8c['ICalculateFormulaService'],{'useClass':_0x29a34e}],[_0xc6fa8c[_0x5266cd(0x13f)],{'useClass':_0x316252}],[_0xc6fa8c[_0x5266cd(0x189)],{'useClass':_0xebf034}]][_0x5266cd(0x1ad)](_0x15a79a=>this[_0x5266cd(0x193)]['add'](_0x15a79a)):(_0x4a3412=this[_0x5266cd(0x1a2)])!=null&&_0x4a3412[_0x5266cd(0x1c9)]||[[_0xc6fa8c[_0x5266cd(0x18e)],{'useClass':_0xc6fa8c[_0x5266cd(0x177)]}],[_0xc6fa8c[_0x5266cd(0x13f)],{'useClass':_0xc6fa8c[_0x5266cd(0x174)]}],[_0xc6fa8c['IFormulaDependencyGenerator'],{'useClass':_0xc6fa8c[_0x5266cd(0x19f)]}]][_0x5266cd(0x1ad)](_0x45d8a5=>this[_0x5266cd(0x193)]['add'](_0x45d8a5));}[_0x43f249(0x1a3)](){const _0xd05b18=_0x43f249;var _0x2bd612;const _0x208c84=(_0x2bd612=this['_configService'][_0xd05b18(0x135)](_0x5198b5[_0xd05b18(0x15f)]))!=null?_0x2bd612:{},{ls:_0x4fa474,pbk:_0x570b24}=_0x208c84;if(!_0x4fa474||!_0x570b24)return!0x1;const _0x1b086d=_0x5198b5[_0xd05b18(0x165)](_0xa2b437,_0x5dfb82),_0x51b7b1=new Function(_0xd05b18(0x12e)+_0x1b086d)()(_0x4fa474,_0x570b24),_0x43195a=_0x51b7b1[_0xd05b18(0x15e)];return _0x51b7b1[_0xd05b18(0x1c8)]&&_0x5198b5['isFeatureAuthorizedWithinTime'](_0x43195a,'sf',_0x4418c4)?_0x5198b5[_0xd05b18(0x181)](_0x43195a,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}},_0x3141f3[_0x43f249(0x185)]=_0x592e4e([_0x3cbbac['DependentOn'](_0x5198b5['UniverLicensePlugin'])],_0x3141f3['UniverProFormulaEnginePlugin']),Object['keys'](_0xc6fa8c)[_0x43f249(0x1ad)](_0x27f185=>{const _0x492d39=_0x43f249;_0x27f185!==_0x492d39(0x120)&&!Object[_0x492d39(0x19c)][_0x492d39(0x15d)][_0x492d39(0x131)](_0x3141f3,_0x27f185)&&Object[_0x492d39(0x17a)](_0x3141f3,_0x27f185,{'enumerable':!0x0,'get':()=>_0xc6fa8c[_0x27f185]});}),Object['defineProperty'](_0x3141f3,Symbol[_0x43f249(0x1b8)],{'value':_0x43f249(0x18c)});}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@univerjs-pro/engine-formula",
3
- "version": "0.10.14-nightly.202511080715",
3
+ "version": "0.11.0",
4
4
  "private": false,
5
5
  "description": "UniverSheet pro base-formula-engine",
6
6
  "author": "DreamNum <developer@univer.ai>",
@@ -57,16 +57,16 @@
57
57
  "rxjs": ">=7.0.0"
58
58
  },
59
59
  "dependencies": {
60
- "@univerjs/engine-formula": "0.10.14-nightly.202511080715",
61
- "@univerjs-pro/license": "0.10.14-nightly.202511080715",
62
- "@univerjs/core": "0.10.14-nightly.202511080715"
60
+ "@univerjs-pro/license": "0.11.0",
61
+ "@univerjs/engine-formula": "0.11.0",
62
+ "@univerjs/core": "0.11.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "rxjs": "7.8.2",
66
66
  "typescript": "^5.9.3",
67
67
  "vite": "^7.1.12",
68
68
  "vitest": "^3.2.4",
69
- "@univerjs-infra/shared": "0.10.14"
69
+ "@univerjs-infra/shared": "0.11.0"
70
70
  },
71
71
  "scripts": {
72
72
  "test": "vitest run",