@univerjs-pro/engine-formula 0.12.4 → 0.13.0-insiders.20251215-64041bb
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/common/const.d.ts +41 -41
- package/lib/types/controllers/const.d.ts +1 -1
- package/lib/types/engine/formula-dependency.d.ts +6 -1
- package/lib/types/engine/lexer-tree-builder.d.ts +14 -1
- package/lib/types/index.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3259a6=_0x5e04;(function(_0x44fc07,_0x49c56f){const _0x124663=_0x5e04,_0x140e9d=_0x44fc07();while(!![]){try{const _0x20632f=-parseInt(_0x124663(0x10a))/0x1*(-parseInt(_0x124663(0x9c))/0x2)+parseInt(_0x124663(0x12f))/0x3+-parseInt(_0x124663(0xba))/0x4+-parseInt(_0x124663(0xc3))/0x5*(-parseInt(_0x124663(0xc8))/0x6)+-parseInt(_0x124663(0xe5))/0x7*(-parseInt(_0x124663(0xce))/0x8)+parseInt(_0x124663(0xb8))/0x9+-parseInt(_0x124663(0x11f))/0xa;if(_0x20632f===_0x49c56f)break;else _0x140e9d['push'](_0x140e9d['shift']());}catch(_0x1c404e){_0x140e9d['push'](_0x140e9d['shift']());}}}(_0x37c2,0x9cf9f));var J=Object[_0x3259a6(0xa1)],Z=(_0x4874b0,_0x4afea2,_0x7abc6)=>_0x4afea2 in _0x4874b0?J(_0x4874b0,_0x4afea2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7abc6}):_0x4874b0[_0x4afea2]=_0x7abc6,M=(_0x2903e2,_0x3c41fc,_0x4d8124)=>Z(_0x2903e2,typeof _0x3c41fc!=_0x3259a6(0x117)?_0x3c41fc+'':_0x3c41fc,_0x4d8124);import{UniverLicensePlugin as _0x2f7436,LS_CONFIG_KEY as _0x2ac5af,unshiftString as _0x53284f,isFeatureAuthorizedWithinTime as _0x7d5d24,getSheetFeatureLimit as _0x167def}from'@univerjs-pro/license';import{ObjectMatrix as _0x57fc3a,requestImmediateMacroTask as _0x1d2584,RTree as _0x3b1e60,DependentOn as _0x36d96b}from'@univerjs/core';import{FormulaDependencyGenerator as _0x2a7356,generateRandomDependencyTreeId as _0x38f211,FormulaDependencyTree as _0x561522,FormulaDependencyTreeType as _0x585145,FormulaDependencyTreeVirtual as _0x346ec2,generateAstNode as _0x2069fc,LexerTreeBuilder as _0x5c6d37,ErrorType as _0x57e381,DEFAULT_TOKEN_TYPE_ROOT as _0x471653,DEFAULT_TOKEN_TYPE_PARAMETER as _0x1e9497,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x22e0bc,NEW_EXCEL_FUNCTIONS as _0x3d9dbe,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x459a6a,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x2805d1,matchToken as _0xc58be3,SUFFIX_TOKEN_SET as _0x1de32f,prefixToken as _0x5428c8,LexerNode as _0x5a420f,OPERATOR_TOKEN_SET as _0x3623aa,CalculateFormulaService as _0x4278fd,FormulaExecuteStageType as _0x2f0386,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x3fb7d4,DEFAULT_INTERVAL_COUNT as _0x4660ca,DependencyManagerBaseService as _0x4cab92,UniverFormulaEnginePlugin as _0x41e239,ICalculateFormulaService as _0x439801,IDependencyManagerService as _0x54930a,IFormulaDependencyGenerator as _0xad1b7b,DependencyManagerService as _0x44198a}from'@univerjs/engine-formula';function _0x5e04(_0x1e49da,_0x4b3ffb){_0x1e49da=_0x1e49da-0x93;const _0x37c27c=_0x37c2();let _0x5e043a=_0x37c27c[_0x1e49da];return _0x5e043a;}export*from'@univerjs/engine-formula';const Ae={0x0:'H',0x1:'K',0x2:'h',0x3:'E',0x4:'y',0x5:'5',0x6:'e',0x7:'Z',0x8:'X',0x9:'C','v':'0','H':'1','X':'2','o':'3','W':'4','t':'6','h':'7','d':'8','s':'9','R':'a','V':'b','r':'c','Q':'d','T':'f','p':'g','w':'i','Z':'j','J':'k','M':'l','a':'m','S':'n','A':'o','b':'p','z':'q','L':'r','N':'s','F':'t','K':'u','u':'v','U':'w','n':'x','G':'z','e':'A','i':'B','O':'D','y':'F','j':'G','B':'I','k':'J','D':'L','Y':'M','m':'N','c':'O','I':'P','l':'Q','g':'R','C':'S','x':'T','f':'U','q':'V','E':'W','P':'Y'},Ne=_0x3259a6(0xd8);class ye extends _0x2a7356{constructor(){super(...arguments),M(this,'_dependencyTreeCache',new Map());}[_0x3259a6(0x9a)](){const _0x3c44c9=_0x3259a6;super['dispose'](),this[_0x3c44c9(0xa8)][_0x3c44c9(0x134)]();}async[_0x3259a6(0xea)](){const _0x1a48c2=_0x3259a6;this[_0x1a48c2(0x11c)]();const _0x1f5c34=this[_0x1a48c2(0xb0)]['getFormulaData'](),_0x222cb0=this[_0x1a48c2(0xb3)][_0x1a48c2(0x13a)](),_0x20de78=this[_0x1a48c2(0xb0)]['getClearDependencyTreeCache']();_0x20de78!=null&&Object[_0x1a48c2(0xe4)](_0x20de78)['forEach'](_0x34062d=>{const _0x504e30=_0x1a48c2;_0x34062d!=null&&Object[_0x504e30(0xe4)](_0x20de78[_0x34062d])['forEach'](_0x3a1583=>{const _0x5d55f3=_0x504e30;_0x3a1583!=null&&(this[_0x5d55f3(0x123)][_0x5d55f3(0xc5)](_0x34062d,_0x3a1583),this[_0x5d55f3(0x123)]['clearFeatureFormulaDependency'](_0x34062d,_0x3a1583),this[_0x5d55f3(0x123)]['clearFormulaDependency'](_0x34062d,_0x3a1583));});});const _0x4b13bc=this['_currentConfigService'][_0x1a48c2(0x140)]();await this[_0x1a48c2(0xfe)](_0x1f5c34,_0x222cb0,_0x4b13bc),this[_0x1a48c2(0x123)]['openKdTree']();const _0x3995d8=this[_0x1a48c2(0x135)](),_0x20bf40=this['_calculateRunList'](_0x3995d8);return this[_0x1a48c2(0x104)](_0x20bf40)&&this['_runtimeService'][_0x1a48c2(0xd7)](),this[_0x1a48c2(0xa8)][_0x1a48c2(0x134)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x1a48c2(0x123)][_0x1a48c2(0xa7)](),this[_0x1a48c2(0x118)][_0x1a48c2(0xe8)](),Promise[_0x1a48c2(0xe1)](_0x20bf40);}[_0x3259a6(0x10b)](_0x575258,_0x4fdec5){const _0x5f4dfa=_0x3259a6,_0x141899=[_0x575258];for(;_0x141899['length']>0x0;){const _0x42329f=_0x141899[_0x141899[_0x5f4dfa(0xe6)]-0x1];if((_0x4fdec5[_0x5f4dfa(0xe3)](_0x42329f)||0x0)===0x0){_0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x1);const _0x1014cb=this[_0x5f4dfa(0xa8)]['get'](_0x42329f);if(_0x1014cb==null){_0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x2),_0x141899[_0x5f4dfa(0xf2)]();continue;}const _0x38e62b=this[_0x5f4dfa(0x123)][_0x5f4dfa(0x13f)](_0x1014cb[_0x5f4dfa(0xf8)]());for(const _0x5d5b99 of _0x38e62b){const _0x1a9a08=_0x4fdec5['get'](_0x5d5b99)||0x0;if(_0x1a9a08===0x1)return!0x0;_0x1a9a08===0x0&&_0x141899[_0x5f4dfa(0xb4)](_0x5d5b99);}}else _0x4fdec5[_0x5f4dfa(0xf4)](_0x42329f,0x2),_0x141899[_0x5f4dfa(0xf2)]();}return!0x1;}[_0x3259a6(0x104)](_0x54bdff){const _0x3c2985=_0x3259a6,_0xf8dc5d=new Map();for(const _0x353581 of _0x54bdff)if(!_0xf8dc5d['has'](_0x353581[_0x3c2985(0x145)])&&this[_0x3c2985(0x10b)](_0x353581[_0x3c2985(0x145)],_0xf8dc5d))return!0x0;return _0xf8dc5d['clear'](),!0x1;}[_0x3259a6(0x13d)](_0x487c2f,_0x1dcb15,_0x2fdd53){const _0x3b3484=_0x3259a6,{unitId:_0x3a663f,subUnitId:_0x16ae4c,dependencyRanges:_0x2ede2c,getDirtyData:_0x5a64a0}=_0x2fdd53,_0x4341e7=_0x1dcb15||_0x38f211(this[_0x3b3484(0x123)]),_0x1158c6=new _0x561522(_0x4341e7);_0x1158c6['unitId']=_0x3a663f,_0x1158c6['subUnitId']=_0x16ae4c,_0x1158c6['rangeList']=_0x2ede2c,_0x1158c6[_0x3b3484(0x10d)]=_0x5a64a0;const _0x119434=_0x5a64a0(this['_currentConfigService']['getDirtyData'](),this[_0x3b3484(0x118)][_0x3b3484(0x144)]()),_0x2dd4cb=this[_0x3b3484(0x129)](_0x119434[_0x3b3484(0x11d)]);return _0x1158c6['featureDirtyRanges']=_0x2dd4cb,_0x1158c6[_0x3b3484(0x131)]=_0x487c2f,_0x1158c6[_0x3b3484(0x128)]=_0x585145[_0x3b3484(0x103)],this[_0x3b3484(0x123)][_0x3b3484(0x9d)](_0x3a663f,_0x16ae4c,_0x487c2f,_0x1158c6),this['_dependencyTreeCache'][_0x3b3484(0xf4)](_0x1158c6['treeId'],_0x1158c6),this[_0x3b3484(0x123)]['getFeatureFormulaDependency'](_0x2fdd53[_0x3b3484(0xaf)],_0x2fdd53[_0x3b3484(0xd5)],_0x487c2f)&&(_0x1158c6['isCache']=!0x0),_0x1158c6;}[_0x3259a6(0xac)](_0x9005b2,_0x5f45e5,_0x4e7c9a){const _0x386cc2=_0x3259a6;var _0x543646;for(const _0x4846a1 of _0x5f45e5){const _0x5caf81=_0x9005b2[_0x4846a1];if(_0x5caf81==null)continue;const _0x2fcb0d=Object[_0x386cc2(0xe4)](_0x5caf81);for(const _0x4650fb of _0x2fcb0d){const _0x2d5ef5=_0x5caf81[_0x4650fb];if(_0x2d5ef5==null)continue;const _0x374b36=Object[_0x386cc2(0xe4)](_0x2d5ef5);for(const _0x5633dd of _0x374b36){const _0x52529b=this[_0x386cc2(0x123)][_0x386cc2(0x125)](_0x5633dd),_0x4c7c81=_0x2d5ef5[_0x5633dd],{f:_0x3abe41,ranges:_0x26d246}=_0x4c7c81;let _0x18034e=!0x1;_0x52529b&&(_0x18034e=!0x0);const {firstRow:_0x25b3ea,firstColumn:_0x18a7dd}=this[_0x386cc2(0x132)](_0x26d246),_0xa6c7aa=this[_0x386cc2(0x123)][_0x386cc2(0x133)](_0x4846a1,_0x4650fb,_0x5633dd),_0x4a506c=(_0x543646=_0xa6c7aa==null?void 0x0:_0xa6c7aa[_0x386cc2(0x142)](0x0,0x0))!=null?_0x543646:_0x38f211(this[_0x386cc2(0x123)]),_0x3f358a=new _0x561522(_0x4a506c);for(let _0x1f7ad1=0x0;_0x1f7ad1<_0x26d246[_0x386cc2(0xe6)];_0x1f7ad1++){const _0x5a380e=_0x26d246[_0x1f7ad1],{startRow:_0x1d75db,startColumn:_0x12d5da,endRow:_0x5dae2d,endColumn:_0x3e8331}=_0x5a380e;for(let _0x4f8b8b=_0x1d75db;_0x4f8b8b<=_0x5dae2d;_0x4f8b8b++)for(let _0x1d7109=_0x12d5da;_0x1d7109<=_0x3e8331;_0x1d7109++){const _0x5110f9=_0x1d7109-_0x18a7dd,_0x9c310b=_0x4f8b8b-_0x25b3ea;if(_0x5110f9===0x0&&_0x9c310b===0x0){_0x3f358a[_0x386cc2(0x12e)]=_0x3abe41,_0x3f358a['unitId']=_0x4846a1,_0x3f358a[_0x386cc2(0xd5)]=_0x4650fb,_0x3f358a[_0x386cc2(0xc9)]=_0x5633dd,_0x3f358a['type']=_0x585145[_0x386cc2(0x115)],_0x3f358a[_0x386cc2(0x106)]=_0x18034e,_0x4e7c9a[_0x386cc2(0xb4)](_0x3f358a),this['_dependencyTreeCache'][_0x386cc2(0xf4)](_0x3f358a[_0x386cc2(0x145)],_0x3f358a),this[_0x386cc2(0x123)][_0x386cc2(0x146)](_0x4846a1,_0x4650fb,_0x5633dd,_0x3f358a),this[_0x386cc2(0x123)][_0x386cc2(0xf3)](_0x3f358a);continue;}const _0x3d03ab=new _0x346ec2();_0x3d03ab['treeId']=(_0xa6c7aa==null?void 0x0:_0xa6c7aa[_0x386cc2(0x142)](_0x5110f9,_0x9c310b))||_0x38f211(this[_0x386cc2(0x123)]),_0x3d03ab['refTree']=_0x3f358a,_0x3d03ab[_0x386cc2(0x130)]=_0x5110f9,_0x3d03ab[_0x386cc2(0xf1)]=_0x9c310b,_0x3d03ab[_0x386cc2(0x106)]=_0x18034e,this[_0x386cc2(0x123)][_0x386cc2(0x146)](_0x4846a1,_0x4650fb,_0x5633dd,_0x3d03ab),this[_0x386cc2(0x123)][_0x386cc2(0xf3)](_0x3d03ab),_0x4e7c9a[_0x386cc2(0xb4)](_0x3d03ab),this[_0x386cc2(0xa8)][_0x386cc2(0xf4)](_0x3d03ab[_0x386cc2(0x145)],_0x3d03ab);}}this[_0x386cc2(0x123)][_0x386cc2(0xa0)](_0x5633dd);}}}}[_0x3259a6(0xd3)](_0x17d6f4,_0x3a12f3,_0x39a481,_0x25c7fb){const _0x2753aa=_0x3259a6;for(const _0x175d6d of _0x17d6f4){const _0x21390e=_0x3a12f3[_0x175d6d];if(_0x21390e==null)continue;const _0x20094a=Object['keys'](_0x21390e);for(const _0x8a36d7 of _0x20094a){const _0x5d5da4=new _0x57fc3a(_0x21390e[_0x8a36d7]||{}),_0x2560c1=new Map();_0x5d5da4[_0x2753aa(0x108)]((_0x5cd1dc,_0x5ae941,_0x223dee)=>{const _0x3251a6=_0x2753aa;if(_0x223dee==null)return!0x0;const {x:_0x31782c=0x0,y:_0x4b30b4=0x0,si:_0x26c6f1}=_0x223dee;if(!(_0x31782c===0x0&&_0x4b30b4===0x0&&_0x26c6f1!=null))return!0x0;const _0x5584f=this['_createFDtree'](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941,_0x39a481,_0x223dee),_0x27daea=this['_dependencyManagerService']['getFormulaDependency'](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941);_0x27daea!=null?_0x5584f[_0x3251a6(0x145)]=_0x27daea:(this[_0x3251a6(0x123)][_0x3251a6(0x12c)](_0x175d6d,_0x8a36d7,_0x5cd1dc,_0x5ae941,_0x5584f),this['_dependencyManagerService'][_0x3251a6(0xf3)](_0x5584f)),_0x2560c1['set'](_0x26c6f1,_0x5584f),_0x25c7fb[_0x3251a6(0xb4)](_0x5584f),this['_dependencyTreeCache'][_0x3251a6(0xf4)](_0x5584f['treeId'],_0x5584f);}),_0x5d5da4[_0x2753aa(0x108)]((_0xd89eb9,_0x47d29b,_0x23387a)=>{const _0x4a42f4=_0x2753aa;if(_0x23387a==null)return!0x0;const {x:_0x59165d=0x0,y:_0x1aefab=0x0,si:_0x246da2}=_0x23387a;if(_0x59165d===0x0&&_0x1aefab===0x0&&_0x246da2!=null)return!0x0;let _0x2de06a;if(_0x246da2&&_0x2560c1['has'](_0x246da2)){const _0x5d7736=_0x2560c1[_0x4a42f4(0xe3)](_0x246da2);_0x2de06a=this['_createVirtualFDtree'](_0x5d7736,_0x23387a);}else _0x2de06a=this[_0x4a42f4(0x10f)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b,_0x39a481,_0x23387a);const _0xa286f1=this[_0x4a42f4(0x123)][_0x4a42f4(0xd1)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b);_0xa286f1!=null?_0x2de06a[_0x4a42f4(0x145)]=_0xa286f1:(this[_0x4a42f4(0x123)][_0x4a42f4(0x12c)](_0x175d6d,_0x8a36d7,_0xd89eb9,_0x47d29b,_0x2de06a),this[_0x4a42f4(0x123)][_0x4a42f4(0xf3)](_0x2de06a)),_0x25c7fb[_0x4a42f4(0xb4)](_0x2de06a),this[_0x4a42f4(0xa8)][_0x4a42f4(0xf4)](_0x2de06a['treeId'],_0x2de06a);}),_0x2560c1[_0x2753aa(0x134)]();}}}[_0x3259a6(0x10f)](_0x506e4a,_0x49a187,_0x5ebab3,_0x1ade1e,_0xcec449,_0x46a77e){const _0x8e7bba=_0x3259a6,{f:_0x1e5322,x:_0x5228ff=0x0,y:_0x1f8d78=0x0}=_0x46a77e,_0x32ff8d=new _0x561522(_0x38f211(this[_0x8e7bba(0x123)])),_0x41c2ac=_0xcec449[_0x506e4a][_0x49a187];return _0x32ff8d['formula']=_0x1e5322,_0x32ff8d[_0x8e7bba(0xaf)]=_0x506e4a,_0x32ff8d[_0x8e7bba(0xd5)]=_0x49a187,_0x32ff8d['row']=_0x5ebab3,_0x32ff8d[_0x8e7bba(0x9f)]=_0x1ade1e,_0x32ff8d[_0x8e7bba(0xfb)]=_0x41c2ac[_0x8e7bba(0xfb)],_0x32ff8d[_0x8e7bba(0x10e)]=_0x41c2ac['columnCount'],_0x32ff8d;}[_0x3259a6(0x135)](){const _0x591bed=_0x3259a6,_0x36b2f2=[],_0x4b6fca=new Set(),_0xced6a1=this[_0x591bed(0xb0)][_0x591bed(0xca)](),_0x529179=this[_0x591bed(0xb0)]['getDirtyRanges'](),_0x144681=this[_0x591bed(0x123)]['searchDependency'](_0x529179),_0x1a2210=this[_0x591bed(0x138)]['bulkSearch'](_0x529179);for(const _0x30179 of _0x1a2210)_0x144681['add'](_0x30179);for(const [_0x333929,_0x45cc25]of this[_0x591bed(0xa8)])(_0xced6a1||_0x45cc25[_0x591bed(0x95)]||_0x45cc25[_0x591bed(0xd2)](this[_0x591bed(0xb0)]['getDirtyNameMap']())||_0x144681[_0x591bed(0xa3)](_0x333929)&&!_0x45cc25[_0x591bed(0x12d)](this['_currentConfigService']['getExcludedRange']()))&&!_0x4b6fca[_0x591bed(0xa3)](_0x333929)&&(_0x36b2f2[_0x591bed(0xb4)](_0x45cc25),_0x4b6fca[_0x591bed(0xd0)](_0x333929));for(const [_0xfd32e7,_0x36e8ca]of this[_0x591bed(0xa8)])_0x36e8ca[_0x591bed(0xae)]||(_0x36e8ca['rangeList']['length']=0x0);return _0x36b2f2;}[_0x3259a6(0x121)](_0x143a6b){const _0x4e35c3=_0x3259a6;return this[_0x4e35c3(0xa8)][_0x4e35c3(0xe3)](_0x143a6b);}[_0x3259a6(0x111)](_0x2369d7){const _0x3059ce=_0x3259a6;return _0x2069fc(_0x2369d7[_0x3059ce(0xaf)],_0x2369d7[_0x3059ce(0x12e)],this[_0x3059ce(0x124)],this[_0x3059ce(0x122)],this[_0x3059ce(0xb0)]);}*['_traverse'](_0x3f6bd3,_0x287eb8){const _0x1421f8=_0x3259a6,_0x2e387a=_0x3f6bd3,_0x51750f=new Set();for(;_0x2e387a[_0x1421f8(0xe6)]>0x0;){const _0x256e13=_0x2e387a[_0x1421f8(0xf2)]();if(_0x51750f['clear'](),_0x256e13===void 0x0||_0x256e13['isSkip']())continue;if(_0x256e13[_0x1421f8(0xc6)]()){yield _0x256e13,_0x256e13[_0x1421f8(0x12a)](),_0x287eb8[_0x1421f8(0xd0)](_0x256e13['treeId']);continue;}const _0x538195=this['_dependencyManagerService'][_0x1421f8(0x13f)](_0x256e13[_0x1421f8(0xf8)](),_0x287eb8),_0x519ac4=this[_0x1421f8(0x138)][_0x1421f8(0xf5)](_0x256e13[_0x1421f8(0xf8)](),_0x287eb8);for(const _0x330fd0 of _0x519ac4)_0x538195[_0x1421f8(0xd0)](_0x330fd0);for(const _0x1ae0f5 of _0x538195){const _0x1c57d3=this[_0x1421f8(0xa8)]['get'](_0x1ae0f5);if(!_0x1c57d3)throw new Error(_0x1421f8(0xad));_0x1c57d3[_0x1421f8(0xc6)]()||_0x256e13['isSkip']()||_0x51750f[_0x1421f8(0xd0)](_0x1c57d3);}if(_0x538195[_0x1421f8(0x134)](),_0x51750f['size']===0x0)yield _0x256e13,_0x256e13[_0x1421f8(0x12a)](),_0x287eb8[_0x1421f8(0xd0)](_0x256e13['treeId']);else{_0x256e13[_0x1421f8(0xdb)](),_0x2e387a[_0x1421f8(0xb4)](_0x256e13);for(const _0x4d9bf1 of _0x51750f)_0x2e387a[_0x1421f8(0xb4)](_0x4d9bf1);}}_0x2e387a[_0x1421f8(0xe6)]=0x0,_0x51750f[_0x1421f8(0x134)]();}[_0x3259a6(0x109)](_0x53a8e2){const _0x39f097=_0x3259a6,_0x3ef2b8=[],_0x100d9d=new Set();for(const _0x26d15c of this[_0x39f097(0xe0)](_0x53a8e2,_0x100d9d))_0x3ef2b8['push'](_0x26d15c);return _0x3ef2b8;}}class Me extends _0x5c6d37{constructor(){const _0x1c649a=_0x3259a6;super(...arguments),M(this,_0x1c649a(0xd6),!0x1),M(this,_0x1c649a(0x93),new Set());}['getNewFormulaWithPrefix'](_0x435ee9,_0x342362){const _0x1a00b1=_0x3259a6,_0x1305ac=this[_0x1a00b1(0x9b)](_0x435ee9,!0x1);if(!_0x1305ac||_0x1305ac===_0x57e381[_0x1a00b1(0xcc)]||Array[_0x1a00b1(0x105)](_0x1305ac))return null;const _0xc097ad=[];return this[_0x1a00b1(0xd6)]=!0x1,this[_0x1a00b1(0x139)](_0x1305ac,_0xc097ad,_0x342362),this[_0x1a00b1(0xd6)]?'='+_0xc097ad[_0x1a00b1(0x11e)](''):null;}[_0x3259a6(0x139)](_0x4cca30,_0x349f76,_0x1704a1){const _0x3b76f7=_0x3259a6,_0x1fbeba=_0x4cca30[_0x3b76f7(0xef)](),_0x3a8acc=_0x1fbeba[_0x3b76f7(0xd4)](),_0x5346f6=_0x3a8acc[_0x3b76f7(0x98)](),_0xc41a84=this['_clearFunctionString'](_0x5346f6),_0x5d498d=_0x1704a1(_0xc41a84);let _0x144a64=0x0;_0x1fbeba===_0x471653?_0x144a64=0x3:_0x1fbeba===_0x1e9497?_0x144a64=0x4:_0x1fbeba===_0x22e0bc?_0x144a64=0x5:_0x3d9dbe[_0x3b76f7(0xa3)](_0xc41a84)?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this['_hasNewExcelFunction']=!0x0):_0x5346f6===_0x459a6a?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this['_hasNewExcelFunction']=!0x0,_0x144a64=0x2):_0x5346f6===_0x2805d1?(_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xdc)+_0x3a8acc),this[_0x3b76f7(0xd6)]=!0x0,_0x144a64=0x1):_0x5346f6===_0xc58be3[_0x3b76f7(0xe7)]?_0x144a64=0x8:_0x1de32f[_0x3b76f7(0xa3)](_0x5346f6)?_0x144a64=0x7:_0x5346f6===_0x5428c8[_0x3b76f7(0x97)]?(this[_0x3b76f7(0xaa)](_0x4cca30)&&(_0x144a64=0x9),_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba)):(_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),_0x144a64=0xa),_0x5d498d?(_0x144a64!==0x2&&_0x144a64!==0x1&&(_0x144a64=0x6),_0x349f76[_0x3b76f7(0xb4)]('(')):_0x144a64===0x9&&_0x349f76[_0x3b76f7(0xb4)]('(');const _0x1af218=_0x4cca30['getChildren'](),_0x257c72=_0x1af218[_0x3b76f7(0xe6)];if(_0x144a64===0x2){const _0x113a85=_0x1af218[0x0];let _0x3893fc=0x0;_0x113a85 instanceof _0x5a420f&&_0x113a85['getToken']()===_0x22e0bc&&(_0x3893fc=0x1);for(let _0x35c53b=_0x3893fc;_0x35c53b<_0x257c72-0x1;_0x35c53b++){const _0x33693e=_0x1af218[_0x35c53b];if(_0x33693e instanceof _0x5a420f){const _0x5500d2=_0x33693e[_0x3b76f7(0x112)]()[0x0];typeof _0x5500d2=='string'&&(this['_lambdaFunctionParameterSet'][_0x3b76f7(0xa3)](_0x5500d2)&&console[_0x3b76f7(0xbc)](_0x3b76f7(0xa5)+_0x5500d2+_0x3b76f7(0xc1)),this[_0x3b76f7(0x93)][_0x3b76f7(0xd0)](_0x5500d2),_0x349f76[_0x3b76f7(0xb4)](_0x3b76f7(0xf7)+_0x5500d2),this[_0x3b76f7(0xd6)]=!0x0);}_0x349f76[_0x3b76f7(0xb4)](',');}this[_0x3b76f7(0x119)](_0x1af218[_0x257c72-0x1],_0x349f76,_0x1704a1),_0x3893fc===0x1&&(_0x349f76[_0x3b76f7(0xb4)](')'),_0x349f76[_0x3b76f7(0xb4)]('('),this[_0x3b76f7(0x139)](_0x113a85,_0x349f76,_0x1704a1)),_0x349f76['push'](')');return;}else{if(_0x144a64===0x1){for(let _0x355055=0x0;_0x355055<_0x257c72-0x1;_0x355055++){const _0x7bd757=_0x1af218[_0x355055];if(_0x7bd757 instanceof _0x5a420f&&_0x355055%0x2===0x0){const _0x298e0c=_0x7bd757['getChildren']()[0x0];if(typeof _0x298e0c==_0x3b76f7(0xf9)){this['_lambdaFunctionParameterSet']['has'](_0x298e0c)&&console['error'](_0x3b76f7(0xb9)+_0x298e0c+_0x3b76f7(0xc1)),this[_0x3b76f7(0x93)]['add'](_0x298e0c),_0x349f76[_0x3b76f7(0xb4)]('_xlpm.'+_0x298e0c),this[_0x3b76f7(0xd6)]=!0x0,_0x349f76['push'](',');continue;}}if(this[_0x3b76f7(0x119)](_0x7bd757,_0x349f76,_0x1704a1),_0x7bd757 instanceof _0x5a420f){const _0x56ae35=_0x1af218[_0x355055+0x1];_0x56ae35&&_0x56ae35 instanceof _0x5a420f&&_0x349f76[_0x3b76f7(0xb4)](',');}}this[_0x3b76f7(0x119)](_0x1af218[_0x257c72-0x1],_0x349f76,_0x1704a1),_0x349f76[_0x3b76f7(0xb4)](')');return;}else{if(_0x144a64===0x8){const _0x53f583=_0x1af218[0x0],_0x2017d6=_0x1af218[0x1];this[_0x3b76f7(0x119)](_0x53f583,_0x349f76,_0x1704a1),_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),this[_0x3b76f7(0x119)](_0x2017d6,_0x349f76,_0x1704a1);return;}}}for(let _0x5d8834=0x0;_0x5d8834<_0x257c72;_0x5d8834++){const _0x54b87a=_0x1af218[_0x5d8834];if(this[_0x3b76f7(0x119)](_0x54b87a,_0x349f76,_0x1704a1),_0x54b87a instanceof _0x5a420f){const _0x159567=_0x1af218[_0x5d8834+0x1];_0x159567&&_0x159567 instanceof _0x5a420f&&_0x349f76[_0x3b76f7(0xb4)](',');}}_0x144a64===0x7&&_0x349f76[_0x3b76f7(0xb4)](_0x1fbeba),(_0x5d498d||_0x144a64===0x9)&&_0x349f76[_0x3b76f7(0xb4)](')');}['_handleNewFunctionChild'](_0x5660b7,_0x3e3f57,_0x3e0655){const _0x17257e=_0x3259a6;_0x5660b7 instanceof _0x5a420f?this['_generateNewFunctionString'](_0x5660b7,_0x3e3f57,_0x3e0655):this['_lambdaFunctionParameterSet'][_0x17257e(0xa3)](_0x5660b7)?(_0x3e3f57[_0x17257e(0xb4)]('_xlpm.'+_0x5660b7),this[_0x17257e(0xd6)]=!0x0):_0x3e3f57[_0x17257e(0xb4)](_0x5660b7);}[_0x3259a6(0x101)](_0x4253e2){const _0x387f5e=_0x3259a6;let _0x538913=_0x4253e2[_0x387f5e(0xd4)]();if(!_0x538913)return _0x538913;const _0x2436a9=_0x538913[0x0];if((_0x2436a9===_0x5428c8['AT']||_0x2436a9===_0x5428c8[_0x387f5e(0x97)]||_0x2436a9===_0x5428c8[_0x387f5e(0x147)])&&(_0x538913=_0x538913[_0x387f5e(0xfa)](0x1)),!_0x538913)return _0x538913;const _0x8de3f7=_0x538913[_0x538913['length']-0x1];return _0x1de32f[_0x387f5e(0xa3)](_0x8de3f7)&&(_0x538913=_0x538913[_0x387f5e(0xfa)](0x0,-0x1)),_0x538913;}[_0x3259a6(0xaa)](_0x52f087){const _0x577b2d=_0x3259a6,_0xc845b4=_0x52f087[_0x577b2d(0x112)]()[0x0];if(!_0xc845b4||!(_0xc845b4 instanceof _0x5a420f)||_0x52f087[_0x577b2d(0x112)]()[_0x577b2d(0xe6)]>0x1)return!0x1;const _0x56ca67=_0xc845b4['getChildren'](),_0x27d0c2=_0x56ca67[_0x577b2d(0xe6)];if(_0x27d0c2===0x1)return!0x1;for(let _0xeca8bd=0x0;_0xeca8bd<_0x27d0c2;_0xeca8bd++){const _0x59f340=_0x56ca67[_0xeca8bd];if(!(_0x59f340 instanceof _0x5a420f)&&_0x3623aa['has'](_0x59f340))return!0x0;}return!0x1;}}class De extends _0x4278fd{async['_apply'](_0x2e53d1=!0x1){const _0x284f9b=_0x3259a6;_0x2e53d1?this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0xbe)]):this['_runtimeService'][_0x284f9b(0x13b)](_0x2f0386[_0x284f9b(0xcf)]),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)]['getRuntimeState']());const _0x3cf2bb=await this[_0x284f9b(0x116)][_0x284f9b(0xea)](),_0x5532ed=this['_interpreter'];_0x2e53d1?(this['_runtimeService'][_0x284f9b(0x13b)](_0x2f0386['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x284f9b(0x13e)](_0x3cf2bb[_0x284f9b(0xe6)])):(this[_0x284f9b(0x118)][_0x284f9b(0x13b)](_0x2f0386['START_CALCULATION']),this[_0x284f9b(0x118)]['setTotalFormulasToCalculate'](_0x3cf2bb['length'])),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0xb7)]());let _0x5afa0f=[];const _0x372e25=this[_0x284f9b(0xd9)]['getConfig'](_0x3fb7d4),_0x2ea178=(_0x372e25==null?void 0x0:_0x372e25[_0x284f9b(0xf6)])||_0x4660ca;let _0xb22103=0x0;const _0x5cae57=_0x3cf2bb['length'];for(;_0x3cf2bb[_0x284f9b(0xe6)]>0x0;){const _0x3c02ac=_0x3cf2bb['pop'](),_0x581a99=_0x2069fc(_0x3c02ac[_0x284f9b(0xaf)],_0x3c02ac[_0x284f9b(0x12e)],this[_0x284f9b(0x124)],this[_0x284f9b(0x122)],this['_currentConfigService']),_0x1ab38c={'node':_0x581a99,'refOffsetX':_0x3c02ac[_0x284f9b(0x130)],'refOffsetY':_0x3c02ac[_0x284f9b(0xf1)]},_0x5acd4f=_0x3c02ac['getDirtyData'];if(_0xb22103%_0x2ea178===0x0&&(await new Promise(_0x482989=>{const _0x1d8ca1=_0x284f9b,_0xed1c94=_0x1d2584(_0x482989);_0x5afa0f[_0x1d8ca1(0xb4)](_0xed1c94);}),_0x2e53d1?(this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0xa2)]),this[_0x284f9b(0x118)][_0x284f9b(0xc0)](_0xb22103+0x1)):(this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0x10c)]),this[_0x284f9b(0x118)][_0x284f9b(0x127)](_0xb22103+0x1)),this[_0x284f9b(0xdf)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0xb7)]()),this[_0x284f9b(0x118)]['isStopExecution']()||_0x1ab38c==null&&_0x5acd4f==null)){this[_0x284f9b(0x118)]['setFormulaExecuteStage'](_0x2f0386[_0x284f9b(0x11a)]),this[_0x284f9b(0x118)][_0x284f9b(0xda)](),this[_0x284f9b(0xc4)][_0x284f9b(0xed)](this[_0x284f9b(0x118)][_0x284f9b(0x144)]());return;}this[_0x284f9b(0x118)][_0x284f9b(0x120)](_0x3c02ac[_0x284f9b(0x113)],_0x3c02ac['column'],_0x3c02ac[_0x284f9b(0xfb)],_0x3c02ac[_0x284f9b(0x10e)],_0x3c02ac['subUnitId'],_0x3c02ac[_0x284f9b(0xaf)]);let _0x53a4a6;if(_0x5acd4f!=null&&_0x3c02ac[_0x284f9b(0x131)]!=null){const {runtimeCellData:_0x26d932,dirtyRanges:_0x28113c}=_0x5acd4f(this[_0x284f9b(0xb0)][_0x284f9b(0x10d)](),this['_runtimeService'][_0x284f9b(0x144)]());this[_0x284f9b(0x118)][_0x284f9b(0x107)](_0x3c02ac[_0x284f9b(0x131)],_0x26d932),this[_0x284f9b(0x118)][_0x284f9b(0xcb)](_0x3c02ac[_0x284f9b(0x131)],_0x28113c);}else _0x1ab38c!=null&&(_0x5532ed[_0x284f9b(0xcd)](_0x1ab38c[_0x284f9b(0x96)])?_0x53a4a6=await _0x5532ed[_0x284f9b(0x136)](_0x1ab38c):_0x53a4a6=_0x5532ed['execute'](_0x1ab38c),_0x3c02ac[_0x284f9b(0xc9)]!=null?this[_0x284f9b(0x118)][_0x284f9b(0xe9)](_0x3c02ac['formulaId'],_0x3c02ac[_0x284f9b(0x130)],_0x3c02ac[_0x284f9b(0xf1)],_0x53a4a6):this[_0x284f9b(0x118)]['setRuntimeData'](_0x53a4a6));_0x581a99[_0x284f9b(0x102)](),_0xb22103++;}return _0x5afa0f[_0x284f9b(0xee)](_0x592bfc=>_0x592bfc()),_0x5afa0f=[],_0x5cae57>0x0?this[_0x284f9b(0x118)][_0x284f9b(0x11b)]():_0x2e53d1||this[_0x284f9b(0x118)]['markedAsNoFunctionsExecuted'](),this['_runtimeService'][_0x284f9b(0x144)]();}}class we extends _0x4cab92{constructor(){const _0x5a532d=_0x3259a6;super(...arguments),M(this,_0x5a532d(0x137),new Map()),M(this,_0x5a532d(0xb6),new _0x3b1e60(!0x0));}[_0x3259a6(0x12b)](){const _0x40a45a=_0x3259a6;this[_0x40a45a(0x100)][_0x40a45a(0x134)](),this['_featureFormulaData'][_0x40a45a(0x134)](),this[_0x40a45a(0xe2)][_0x40a45a(0x134)](),this[_0x40a45a(0xb6)][_0x40a45a(0x134)](),this['_allTreeMap'][_0x40a45a(0x134)](),this[_0x40a45a(0x110)](),this[_0x40a45a(0xb5)][_0x40a45a(0x134)]();}[_0x3259a6(0x146)](_0xf6763,_0x49446c,_0x515704,_0x23daee){const _0x1b5eab=_0x3259a6;this[_0x1b5eab(0x100)][_0x1b5eab(0xa3)](_0xf6763)||this[_0x1b5eab(0x100)][_0x1b5eab(0xf4)](_0xf6763,new Map());const _0x567126=this['_otherFormulaData'][_0x1b5eab(0xe3)](_0xf6763);_0x567126[_0x1b5eab(0xa3)](_0x49446c)||_0x567126[_0x1b5eab(0xf4)](_0x49446c,new Map());const _0x2172ff=_0x567126[_0x1b5eab(0xe3)](_0x49446c);_0x2172ff[_0x1b5eab(0xa3)](_0x515704)||_0x2172ff[_0x1b5eab(0xf4)](_0x515704,new _0x57fc3a()),_0x2172ff[_0x1b5eab(0xe3)](_0x515704)[_0x1b5eab(0xde)](_0x23daee[_0x1b5eab(0x130)],_0x23daee[_0x1b5eab(0xf1)],_0x23daee[_0x1b5eab(0x145)]);}[_0x3259a6(0xab)](_0x39141f,_0x4efed0,_0x1fb813){const _0x4332c4=_0x3259a6,_0x3c5bbe=this[_0x4332c4(0x100)]['get'](_0x39141f);if(_0x3c5bbe&&_0x3c5bbe[_0x4332c4(0xa3)](_0x4efed0)){const _0x1053ef=_0x3c5bbe[_0x4332c4(0xe3)](_0x4efed0);_0x1fb813[_0x4332c4(0xee)](_0x286afb=>{const _0x426e23=_0x4332c4,_0xf20ab6=_0x1053ef[_0x426e23(0xe3)](_0x286afb);_0xf20ab6!=null&&(_0xf20ab6[_0x426e23(0x108)]((_0x2164a2,_0x585c5a,_0x3737ef)=>{const _0x540756=_0x426e23;this[_0x540756(0xa9)](_0x3737ef),this[_0x540756(0x143)](_0x3737ef);}),_0x1053ef[_0x426e23(0xfc)](_0x286afb),this[_0x426e23(0xb5)]['delete'](_0x286afb));}),_0x1053ef[_0x4332c4(0xb2)]===0x0&&_0x3c5bbe[_0x4332c4(0xfc)](_0x4efed0),_0x3c5bbe['size']===0x0&&this['_otherFormulaData'][_0x4332c4(0xfc)](_0x39141f);}}[_0x3259a6(0xc5)](_0x1a0de4,_0x4d8c56){const _0x52f392=_0x3259a6,_0x28476f=this[_0x52f392(0x100)]['get'](_0x1a0de4);if(_0x4d8c56&&_0x28476f&&_0x28476f['has'](_0x4d8c56)){const _0x128943=_0x28476f['get'](_0x4d8c56);this[_0x52f392(0x126)](_0x1a0de4,_0x4d8c56);for(const _0x2a64e1 of _0x128943[_0x52f392(0xe4)]()){const _0x49f2ed=_0x128943['get'](_0x2a64e1);_0x49f2ed!=null&&(_0x49f2ed['forValue']((_0xd6bc92,_0x509c4d,_0x40c828)=>{const _0x504384=_0x52f392;this['_allTreeMap'][_0x504384(0xe3)](_0x40c828)&&this[_0x504384(0x143)](_0x40c828);}),this[_0x52f392(0xb5)][_0x52f392(0xfc)](_0x2a64e1));}_0x128943[_0x52f392(0x134)]();}else{if(_0x28476f){for(const _0x39f6a1 of _0x28476f[_0x52f392(0xe4)]()){const _0x21d21e=_0x28476f['get'](_0x39f6a1);this[_0x52f392(0x126)](_0x1a0de4,_0x39f6a1);for(const _0x47d087 of _0x21d21e[_0x52f392(0xe4)]()){const _0x2544af=_0x21d21e['get'](_0x47d087);_0x2544af!=null&&(_0x2544af[_0x52f392(0x108)]((_0x4d6c23,_0x56c5da,_0x2e7067)=>{const _0x249dcd=_0x52f392;this[_0x249dcd(0x137)][_0x249dcd(0xe3)](_0x2e7067)&&this[_0x249dcd(0x143)](_0x2e7067);}),this[_0x52f392(0xb5)]['delete'](_0x47d087));}}this[_0x52f392(0x100)]['delete'](_0x1a0de4);}}}[_0x3259a6(0x9d)](_0x3ce82b,_0x396728,_0x3f23a6,_0x1a88d0){const _0x438cf1=_0x3259a6;this[_0x438cf1(0x13c)][_0x438cf1(0xa3)](_0x3ce82b)||this[_0x438cf1(0x13c)][_0x438cf1(0xf4)](_0x3ce82b,new Map());const _0x384a63=this[_0x438cf1(0x13c)][_0x438cf1(0xe3)](_0x3ce82b);_0x384a63[_0x438cf1(0xa3)](_0x396728)||_0x384a63[_0x438cf1(0xf4)](_0x396728,new Map()),_0x384a63[_0x438cf1(0xe3)](_0x396728)['set'](_0x3f23a6,_0x1a88d0[_0x438cf1(0x145)]);}[_0x3259a6(0xa4)](_0x32aefd,_0x4459fa,_0x4897dd){const _0x59972e=_0x3259a6,_0x5a5a3c=this[_0x59972e(0x13c)][_0x59972e(0xe3)](_0x32aefd);if(_0x5a5a3c&&_0x5a5a3c[_0x59972e(0xa3)](_0x4459fa)){const _0x5bf73b=_0x5a5a3c[_0x59972e(0xe3)](_0x4459fa);_0x4897dd[_0x59972e(0xee)](_0x55fc6f=>{const _0x5eaa34=_0x59972e,_0x425820=_0x5bf73b[_0x5eaa34(0xe3)](_0x55fc6f);_0x425820!=null&&(this['_removeDependencyRTreeCache'](_0x425820),_0x5bf73b[_0x5eaa34(0xfc)](_0x55fc6f),this[_0x5eaa34(0x143)](_0x425820));});}}['clearFeatureFormulaDependency'](_0x36205b,_0x2b6cbe){const _0x28ea4d=_0x3259a6,_0x3d513a=this[_0x28ea4d(0x13c)][_0x28ea4d(0xe3)](_0x36205b);if(_0x2b6cbe&&_0x3d513a&&_0x3d513a[_0x28ea4d(0xa3)](_0x2b6cbe)){const _0x2e043a=_0x3d513a['get'](_0x2b6cbe);this['_removeDependencyRTreeCacheById'](_0x36205b,_0x2b6cbe),_0x2e043a[_0x28ea4d(0xee)](_0x5f2a49=>{const _0x3cb256=_0x28ea4d;_0x5f2a49!=null&&this[_0x3cb256(0x143)](_0x5f2a49);}),_0x2e043a[_0x28ea4d(0x134)]();}else _0x3d513a&&(_0x3d513a[_0x28ea4d(0xee)]((_0x11a2cb,_0x367f9e)=>{const _0x341532=_0x28ea4d;this[_0x341532(0x126)](_0x36205b,_0x367f9e),_0x11a2cb[_0x341532(0xee)](_0x1719e5=>{const _0x3b2f56=_0x341532;_0x1719e5!=null&&this[_0x3b2f56(0x143)](_0x1719e5);});}),this[_0x28ea4d(0x13c)][_0x28ea4d(0xfc)](_0x36205b));}[_0x3259a6(0x12c)](_0x2d626e,_0x42de36,_0x2de8dc,_0x25df03,_0x531e66){const _0x24f670=_0x3259a6;this[_0x24f670(0xe2)][_0x24f670(0xa3)](_0x2d626e)||this[_0x24f670(0xe2)][_0x24f670(0xf4)](_0x2d626e,new Map());const _0x4970e0=this['_formulaData'][_0x24f670(0xe3)](_0x2d626e);_0x4970e0[_0x24f670(0xa3)](_0x42de36)||_0x4970e0[_0x24f670(0xf4)](_0x42de36,new _0x57fc3a()),_0x4970e0['get'](_0x42de36)[_0x24f670(0xde)](_0x2de8dc,_0x25df03,_0x531e66['treeId']);}[_0x3259a6(0xeb)](_0xd16d48,_0x1cb9af,_0x25213c,_0x2c7a64){const _0x1d59b4=_0x3259a6,_0x57f082=this[_0x1d59b4(0xe2)][_0x1d59b4(0xe3)](_0xd16d48);if(_0x57f082&&_0x57f082['has'](_0x1cb9af)){const _0xed6c6f=_0x57f082[_0x1d59b4(0xe3)](_0x1cb9af),_0x55d034=_0xed6c6f[_0x1d59b4(0x142)](_0x25213c,_0x2c7a64);if(_0x55d034==null)return;this[_0x1d59b4(0xa9)](_0x55d034),_0xed6c6f['realDeleteValue'](_0x25213c,_0x2c7a64),this[_0x1d59b4(0x143)](_0x55d034);}}[_0x3259a6(0xf0)](_0x4f24cd,_0x20d472){const _0x4d3b41=_0x3259a6,_0x5b5b5b=this['_formulaData'][_0x4d3b41(0xe3)](_0x4f24cd);if(_0x20d472&&_0x5b5b5b&&_0x5b5b5b[_0x4d3b41(0xa3)](_0x20d472)){const _0x3b3aa9=_0x5b5b5b[_0x4d3b41(0xe3)](_0x20d472);this[_0x4d3b41(0x126)](_0x4f24cd,_0x20d472),_0x3b3aa9[_0x4d3b41(0x108)]((_0xaf6dd8,_0x388540,_0x89009e)=>{const _0x1bd183=_0x4d3b41;if(_0x89009e==null)return!0x0;this[_0x1bd183(0x143)](_0x89009e);}),_0x3b3aa9['reset']();}else _0x5b5b5b&&(_0x5b5b5b[_0x4d3b41(0xee)]((_0x52ebf6,_0x472af2)=>{const _0x479438=_0x4d3b41;this[_0x479438(0x126)](_0x4f24cd,_0x472af2),_0x52ebf6[_0x479438(0x108)]((_0x22ced6,_0x42f08d,_0x3c7832)=>{const _0x4493e5=_0x479438;if(_0x3c7832==null)return!0x0;this[_0x4493e5(0x143)](_0x3c7832);});}),this[_0x4d3b41(0xe2)]['delete'](_0x4f24cd));}[_0x3259a6(0xa9)](_0x1bc090){const _0xd7472=_0x3259a6;if(_0x1bc090==null)return;const _0x26075f=this[_0xd7472(0x137)][_0xd7472(0xe3)](_0x1bc090);if(_0x26075f){const _0x276100=[];for(const [_0x3d29ac,_0x172cb5]of _0x26075f)for(const [_0x373bff,_0x413696]of _0x172cb5)_0x276100[_0xd7472(0xb4)]({'unitId':_0x3d29ac,'sheetId':_0x373bff,'range':_0x413696,'id':_0x1bc090});this[_0xd7472(0xb6)]['bulkRemove'](_0x276100);}}[_0x3259a6(0xc7)](_0x103da3,_0x376006){const _0x5b3181=_0x3259a6,_0x32a8e1=this[_0x5b3181(0xbf)][_0x5b3181(0xe3)](_0x103da3);if(_0x32a8e1){const _0x155a81=_0x32a8e1[_0x5b3181(0xe3)](_0x376006);if(_0x155a81){for(const _0x10b916 of _0x155a81)this[_0x5b3181(0xa9)](_0x10b916),this[_0x5b3181(0x143)](_0x10b916);_0x155a81['clear']();}}}[_0x3259a6(0xb1)](){const _0x454d97=_0x3259a6;this[_0x454d97(0xb6)][_0x454d97(0xb1)]();}[_0x3259a6(0xa7)](){const _0x301e9b=_0x3259a6;this[_0x301e9b(0xb6)][_0x301e9b(0xa7)]();}[_0x3259a6(0x143)](_0x34c442){_0x34c442!=null&&this['_allTreeMap']['delete'](_0x34c442);}[_0x3259a6(0x99)](_0x4c4760){const _0x16930d=_0x3259a6;var _0xa98acb,_0x166831;const _0xe633ec=_0x4c4760[_0x16930d(0xec)];let _0x34a3e5=this[_0x16930d(0x137)][_0x16930d(0xe3)](_0x4c4760['treeId']);for(let _0x2e954d=0x0;_0x2e954d<_0xe633ec[_0x16930d(0xe6)];_0x2e954d++){const _0x107c71=_0xe633ec[_0x2e954d];let {unitId:_0x32a10c,sheetId:_0x483312,range:_0x3917d7}=_0x107c71;_0x34a3e5||(_0x34a3e5=new Map(),this[_0x16930d(0x137)][_0x16930d(0xf4)](_0x4c4760[_0x16930d(0x145)],_0x34a3e5)),_0x34a3e5[_0x16930d(0xa3)](_0x32a10c)||_0x34a3e5[_0x16930d(0xf4)](_0x32a10c,new Map());const _0xbacd7a=(_0xa98acb=_0x34a3e5==null?void 0x0:_0x34a3e5[_0x16930d(0xe3)](_0x32a10c))==null?void 0x0:_0xa98acb['get'](_0x483312);_0xbacd7a&&(_0x3917d7={'startRow':Math['min'](_0x3917d7[_0x16930d(0x9e)],_0xbacd7a[_0x16930d(0x9e)]),'startColumn':Math['min'](_0x3917d7[_0x16930d(0xfd)],_0xbacd7a['startColumn']),'endRow':Math['max'](_0x3917d7['endRow'],_0xbacd7a['endRow']),'endColumn':Math[_0x16930d(0xbb)](_0x3917d7[_0x16930d(0xbd)],_0xbacd7a['endColumn'])}),(_0x166831=_0x34a3e5['get'](_0x32a10c))==null||_0x166831['set'](_0x483312,_0x3917d7);}}}var Ce=Object['getOwnPropertyDescriptor'],Le=(_0x35a4f7,_0x1fa2a5,_0x13b4fb,_0x4274c4)=>{const _0x6139d9=_0x3259a6;for(var _0x3435cc=_0x4274c4>0x1?void 0x0:_0x4274c4?Ce(_0x1fa2a5,_0x13b4fb):_0x1fa2a5,_0x19293d=_0x35a4f7[_0x6139d9(0xe6)]-0x1,_0x55e6fb;_0x19293d>=0x0;_0x19293d--)(_0x55e6fb=_0x35a4f7[_0x19293d])&&(_0x3435cc=_0x55e6fb(_0x3435cc)||_0x3435cc);return _0x3435cc;};const ve=Number[_0x3259a6(0x114)](0x6933d6d1);let V=class extends _0x41e239{[_0x3259a6(0xdd)](){const _0x3fcf90=_0x3259a6;var _0x5c0c23,_0x17e5e0;this[_0x3fcf90(0xc2)]()?(this[_0x3fcf90(0x94)]['add']([_0x5c6d37,{'useClass':Me}]),(_0x5c0c23=this[_0x3fcf90(0x141)])!=null&&_0x5c0c23['notExecuteFormula']||[[_0x439801,{'useClass':De}],[_0x54930a,{'useClass':we}],[_0xad1b7b,{'useClass':ye}]][_0x3fcf90(0xee)](_0x51e167=>this['_injector'][_0x3fcf90(0xd0)](_0x51e167))):(this[_0x3fcf90(0x94)]['add']([_0x5c6d37,{'useClass':_0x5c6d37}]),(_0x17e5e0=this[_0x3fcf90(0x141)])!=null&&_0x17e5e0['notExecuteFormula']||[[_0x439801,{'useClass':_0x4278fd}],[_0x54930a,{'useClass':_0x44198a}],[_0xad1b7b,{'useClass':_0x2a7356}]][_0x3fcf90(0xee)](_0x3c3177=>this[_0x3fcf90(0x94)]['add'](_0x3c3177)));}['_initLicenseValid'](){const _0x4445d1=_0x3259a6;var _0x604d75;const _0x55e9b8=(_0x604d75=this[_0x4445d1(0xd9)]['getConfig'](_0x2ac5af))!=null?_0x604d75:{},{ls:_0x444465,pbk:_0x13be61}=_0x55e9b8;if(!_0x444465||!_0x13be61)return!0x1;const _0x52c2e2=_0x53284f(Ne,Ae),_0x12da91=new Function(_0x4445d1(0xff)+_0x52c2e2)()(_0x444465,_0x13be61),_0x2af235=_0x12da91[_0x4445d1(0xa6)];return _0x12da91['valid']&&_0x7d5d24(_0x2af235,'sf',ve)?_0x167def(_0x2af235,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x37c2(){const _0x3e8c78=['next','forEach','getToken','clearFormulaDependency','refOffsetY','pop','addFormulaDependencyByDefinedName','set','bulkSearch','intervalCount','_xlpm.','toRTreeItem','string','slice','rowCount','delete','startColumn','_generateTreeList','return\x20','_otherFormulaData','_clearFunctionString','resetCalculationState','FEATURE_FORMULA','_checkIsCycleDependency','isArray','isCache','setRuntimeFeatureCellData','forValue','_calculateRunList','602373maRdhE','_isCyclicUtilMap','CURRENTLY_CALCULATING','getDirtyData','columnCount','_createFDtree','_restDependencyTreeId','_getTreeNode','getChildren','row','parseInt','OTHER_FORMULA','_formulaDependencyGenerator','symbol','_runtimeService','_handleNewFunctionChild','IDLE','markedAsSuccessfullyExecuted','_updateRangeFlatten','dirtyRanges','join','19750370WpAbkw','setCurrent','_getTreeById','_astTreeBuilder','_dependencyManagerService','_lexer','hasOtherFormulaDataMainData','_removeDependencyRTreeCacheById','setCompletedFormulasCount','type','_convertDirtyRangesToUnitRange','setSkip','reset','addFormulaDependency','isExcludeRange','formula','2277072OcfYEy','refOffsetX','featureId','_getFirstCellOfRange','getOtherFormulaDependency','clear','_getUpdateTreeListAndMakeDependency','executeAsync','_allTreeMap','_dependencyRTreeCacheForAddressFunction','_generateNewFunctionString','getOtherFormulaData','setFormulaExecuteStage','_featureFormulaData','_getFeatureFormulaTree','setTotalArrayFormulasToCalculate','searchDependency','getUnitData','_config','getValue','_removeAllTreeMap','getAllRuntimeData','treeId','addOtherFormulaDependency','PLUS','_lambdaFunctionParameterSet','_injector','isDirty','node','MINUS','toUpperCase','_addAllTreeMap','dispose','treeBuilder','2ileWRK','addFeatureFormulaDependency','startRow','column','addOtherFormulaDependencyMainData','defineProperty','CURRENTLY_CALCULATING_ARRAY_FORMULA','has','removeFeatureFormulaDependency','Lambda\x20parameter\x20name\x20\x22','message','closeKdTree','_dependencyTreeCache','_removeDependencyRTreeCache','_checkAddBracketForMinus','removeOtherFormulaDependency','_registerOtherFormulas','ParentDependencyTree\x20object\x20is\x20null','isVirtual','unitId','_currentConfigService','openKdTree','size','_otherFormulaManagerService','push','_otherFormulaDataMainData','_dependencyRTreeCache','getRuntimeState','7715052agEmst','Let\x20variable\x20name\x20\x22','4209356XjvWkq','max','error','endColumn','START_DEPENDENCY_ARRAY_FORMULA','_definedNameMap','setCompletedArrayFormulasCount','\x22\x20is\x20duplicated.','_initLicenseValid','103895zkQbaE','_executionCompleteListener$','clearOtherFormulaDependency','isAdded','removeFormulaDependencyByDefinedName','258RiYatg','formulaId','isForceCalculate','setRuntimeFeatureRange','VALUE','checkAsyncNode','952gqgMhd','START_DEPENDENCY','add','getFormulaDependency','dependencySheetName','_registerFormulas','trim','subUnitId','_hasNewExcelFunction','enableCycleDependency','TKSrFwAS\x20Q6rL4bFwAS(Mwr6SN6,\x20bKVMwr164)\x20{\x20\x20\x20\x20FL4\x20{\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20Mwr6SN6BSTAIRLFeLLR4\x20=\x20Mwr6SN6.NbMwF(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20ALwpwSY6NNRp6\x20=\x20kCcm.bRLN6(RFAV(Mwr6SN6BSTAIRLFeLLR4[X]));\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!ALwpwSY6NNRp6.KQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ALwpwSY6NNRp6.KQ\x20=\x20mKaV6L(Mwr6SN6BSTAIRLFeLLR4[W]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNEALJ6L\x20=\x20F4b6AT\x20EALJ6LjMAVRMCrAb6\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20N6MT\x20wSNFRSr6AT\x20EALJ6LjMAVRMCrAb6;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20wNiLAUN6L\x20=\x20F4b6AT\x20UwSQAU\x20!==\x20\x27KSQ6TwS6Q\x27\x20&&\x20F4b6AT\x20UwSQAU.MArRFwAS\x20!==\x20\x27KSQ6TwS6Q\x27;\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20rASF6nF\x20=\x20wNEALJ6L\x20?\x20N6MT\x20:\x20(wNiLAUN6L\x20?\x20UwSQAU\x20:\x20pMAVRMx2wN);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[X]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20a6NNRp6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(a6NNRp6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6EALQ\x20=\x20rASF6nF.__iRN6tW__.bRLN6(Mwr6SN6BSTAIRLFeLLR4[o]);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSRFKL6\x20=\x20rASF6nF.__06n__.NFLwSpwT4(NwpSRFKL6EALQ);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20NwpSqRMwQ\x20=\x20rASF6nF.__u6LwT4__(NwpSRFKL6,\x20a6NNRp6,\x20bKVMwr164);\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20QAaRwS\x20=\x20ALwpwSY6NNRp6.Qa;\x20\x20\x20\x20\x20\x20\x20\x20TKSrFwAS\x20wNOAaRwSYRFr2wSp(AIRFF6LS,\x20A0ANF)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LS\x20=\x20AIRFF6LS.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANF\x20=\x20A0ANF.L6bMRr6(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSIRLFN\x20=\x20bRFF6LS.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFIRLFN\x20=\x202ANF.NbMwF(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(!bRFF6LS.wSrMKQ6N(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LS\x20===\x202ANF;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(bRFF6LSIRLFN.M6SpF2\x20<\x20X\x20||\x20bRFF6LSIRLFN[v]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20bRFF6LSCKTTwn\x20=\x20bRFF6LSIRLFN.NMwr6(H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x202ANFCKTTwn\x20=\x202ANFIRLFN.NMwr6(-bRFF6LSIRLFN.M6SpF2\x20+\x20H).ZAwS(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20bRFF6LSCKTTwn\x20===\x202ANFCKTTwn;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20M6F\x20QAaRwSqRMwQ\x20=\x20TRMN6;\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(wNiLAUN6L)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20(QAaRwS\x20&&\x20QAaRwS.M6SpF2)\x20?\x20QAaRwS.NAa6((QaBF6a)\x20=>\x20wNOAaRwSYRFr2wSp(QaBF6a,\x20MArRFwAS.2ANFSRa6))\x20:\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20wT\x20(MArRFwAS.2ANFSRa6\x20===\x20\x27MArRM2ANF\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x206MN6\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QAaRwSqRMwQ\x20=\x20FLK6;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20rASNF\x20uRMwQ\x20=\x20NwpSqRMwQ\x20&&\x20QAaRwSqRMwQ;\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20ALwpwSY6NNRp6,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20rRFr2\x20(6LLAL)\x20{\x20\x20\x20\x20\x20\x20\x20\x20L6FKLS\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uRMwQ:\x20TRMN6,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20a6NNRp6:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}','_configService','markedAsStopFunctionsExecuted','setAdded','_xlfn.','_initializeWithOverride','setValue','_executionInProgressListener$','_traverse','resolve','_formulaData','get','keys','32837EQsQwo','length','COLON','clearArrayObjectCache','setRuntimeOtherData','generate','removeFormulaDependency','rangeList'];_0x37c2=function(){return _0x3e8c78;};return _0x37c2();}V=Le([_0x36d96b(_0x2f7436)],V);export{V as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0x1761eb=_0x5283;(function(_0x55b6ed,_0x291e9e){const _0x32696=_0x5283,_0x295f04=_0x55b6ed();while(!![]){try{const _0xfb5b30=parseInt(_0x32696(0x20e))/0x1+-parseInt(_0x32696(0x225))/0x2*(parseInt(_0x32696(0x25d))/0x3)+-parseInt(_0x32696(0x1cc))/0x4*(parseInt(_0x32696(0x1f2))/0x5)+-parseInt(_0x32696(0x20f))/0x6+-parseInt(_0x32696(0x22b))/0x7+parseInt(_0x32696(0x1d4))/0x8*(parseInt(_0x32696(0x243))/0x9)+parseInt(_0x32696(0x276))/0xa;if(_0xfb5b30===_0x291e9e)break;else _0x295f04['push'](_0x295f04['shift']());}catch(_0x152577){_0x295f04['push'](_0x295f04['shift']());}}}(_0x312c,0x8b0c8));var se=Object[_0x1761eb(0x292)],ce=(_0x17b4b4,_0x16cc98,_0x535b42)=>_0x16cc98 in _0x17b4b4?se(_0x17b4b4,_0x16cc98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x535b42}):_0x17b4b4[_0x16cc98]=_0x535b42,C=(_0x506bb0,_0x334d94,_0x14d9d5)=>ce(_0x506bb0,typeof _0x334d94!=_0x1761eb(0x22a)?_0x334d94+'':_0x334d94,_0x14d9d5);import{LexerTreeBuilder as _0x2b23b1,ErrorType as _0x5bc8e2,DEFAULT_TOKEN_TYPE_ROOT as _0x136a6f,DEFAULT_TOKEN_TYPE_PARAMETER as _0x3fd13a,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x59420b,NEW_EXCEL_FUNCTIONS as _0x59eca9,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x1ff0d2,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x5f5131,matchToken as _0x121cd6,SUFFIX_TOKEN_SET as _0x49020c,prefixToken as _0x1303d1,LexerNode as _0x13ca2a,OPERATOR_TOKEN_SET as _0x3d9cc2,isReferenceString as _0x388993,splitTableStructuredRef as _0x1d41af,FormulaDependencyGenerator as _0x4c3e32,generateRandomDependencyTreeId as _0x2438e7,FormulaDependencyTree as _0x3abffc,FormulaDependencyTreeType as _0x43f23d,FormulaDependencyTreeVirtual as _0x6d0725,generateAstNode as _0x59c1ee,CalculateFormulaService as _0xfcc63d,FormulaExecuteStageType as _0x263013,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x25f609,DEFAULT_INTERVAL_COUNT as _0x1b9940,DependencyManagerBaseService as _0x36f0fa,UniverFormulaEnginePlugin as _0x26ef11,ICalculateFormulaService as _0x9930af,IDependencyManagerService as _0x21c40d,IFormulaDependencyGenerator as _0xded5ed,DependencyManagerService as _0x2ce4a6}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x3387eb,LS_CONFIG_KEY as _0x382386,unshiftString as _0x2d1734,isFeatureAuthorizedWithinTime as _0x20ccb8,getSheetFeatureLimit as _0x277a49}from'@univerjs-pro/license';import{ObjectMatrix as _0x5c2490,requestImmediateMacroTask as _0x39aee8,RTree as _0x854f8d,DependentOn as _0x4bd28e}from'@univerjs/core';class ve extends _0x2b23b1{constructor(){const _0x512083=_0x1761eb;super(...arguments),C(this,_0x512083(0x240),!0x1),C(this,_0x512083(0x218),new Set()),C(this,_0x512083(0x271),'_xlpm.'),C(this,_0x512083(0x20c),_0x512083(0x1f8)),C(this,_0x512083(0x1d0),'');}[_0x1761eb(0x27a)](){const _0x48f567=_0x1761eb;this['_xlpmPrefix']=_0x48f567(0x239),this['_xlfnPrefix']='_xlfn.';}[_0x1761eb(0x24d)](){const _0xe38e0c=_0x1761eb;this['_xlpmPrefix']='',this[_0xe38e0c(0x20c)]='';}['getNewFormulaWithPrefix'](_0x230418,_0x19ce31){const _0x57b29e=_0x1761eb,_0x30ecba=this['treeBuilder'](_0x230418,!0x1);if(!_0x30ecba||_0x30ecba===_0x5bc8e2['VALUE']||Array[_0x57b29e(0x27f)](_0x30ecba))return null;const _0x297a01=[];return this['_hasNewExcelFunction']=!0x1,this[_0x57b29e(0x290)](_0x30ecba,_0x297a01,_0x19ce31),this[_0x57b29e(0x240)]?'='+_0x297a01[_0x57b29e(0x22d)](''):null;}[_0x1761eb(0x290)](_0x3cb519,_0x490ebd,_0x51218d){const _0x1cddbd=_0x1761eb,_0x5efddd=_0x3cb519[_0x1cddbd(0x22c)](),_0x2ebc9a=_0x5efddd[_0x1cddbd(0x254)](),_0x55b1d1=_0x2ebc9a[_0x1cddbd(0x1f9)](),_0x215794=this[_0x1cddbd(0x1c6)](_0x55b1d1),_0x43bc7b=_0x51218d(_0x215794);let _0x2cba75=0x0;_0x5efddd===_0x136a6f?_0x2cba75=0x3:_0x5efddd===_0x3fd13a?_0x2cba75=0x4:_0x5efddd===_0x59420b?_0x2cba75=0x5:_0x59eca9['has'](_0x215794)?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this[_0x1cddbd(0x240)]=!0x0):_0x55b1d1===_0x1ff0d2?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this[_0x1cddbd(0x240)]=!0x0,_0x2cba75=0x2):_0x55b1d1===_0x5f5131?(_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x20c)]+_0x2ebc9a),this['_hasNewExcelFunction']=!0x0,_0x2cba75=0x1):_0x55b1d1===_0x121cd6[_0x1cddbd(0x238)]?_0x2cba75=0x8:_0x49020c['has'](_0x55b1d1)?_0x2cba75=0x7:_0x55b1d1===_0x1303d1[_0x1cddbd(0x1ed)]?(this[_0x1cddbd(0x219)](_0x3cb519)&&(_0x2cba75=0x9),_0x490ebd['push'](_0x5efddd)):(_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),_0x2cba75=0xa),_0x43bc7b?(_0x2cba75!==0x2&&_0x2cba75!==0x1&&(_0x2cba75=0x6),_0x490ebd['push']('(')):_0x2cba75===0x9&&_0x490ebd[_0x1cddbd(0x21d)]('(');const _0x5cf07e=_0x3cb519['getChildren'](),_0x193685=_0x5cf07e['length'];if(_0x2cba75===0x2){const _0x1b6071=_0x5cf07e[0x0];let _0x850817=0x0;_0x1b6071 instanceof _0x13ca2a&&_0x1b6071[_0x1cddbd(0x22c)]()===_0x59420b&&(_0x850817=0x1);for(let _0x49a199=_0x850817;_0x49a199<_0x193685-0x1;_0x49a199++){const _0x330d9c=_0x5cf07e[_0x49a199];if(_0x330d9c instanceof _0x13ca2a){const _0xd3b453=_0x330d9c['getChildren']()[0x0];typeof _0xd3b453==_0x1cddbd(0x1cb)&&(this[_0x1cddbd(0x218)][_0x1cddbd(0x28c)](_0xd3b453)&&console[_0x1cddbd(0x1cd)](_0x1cddbd(0x237)+_0xd3b453+'\x22\x20is\x20duplicated.'),this[_0x1cddbd(0x218)]['add'](_0xd3b453),_0x490ebd[_0x1cddbd(0x21d)](''+this['_xlpmPrefix']+_0xd3b453),this['_hasNewExcelFunction']=!0x0);}_0x490ebd[_0x1cddbd(0x21d)](',');}this[_0x1cddbd(0x1d7)](_0x5cf07e[_0x193685-0x1],_0x490ebd,_0x51218d),_0x850817===0x1&&(_0x490ebd[_0x1cddbd(0x21d)](')'),_0x490ebd[_0x1cddbd(0x21d)]('('),this[_0x1cddbd(0x290)](_0x1b6071,_0x490ebd,_0x51218d)),_0x490ebd[_0x1cddbd(0x21d)](')');return;}else{if(_0x2cba75===0x1){for(let _0x2a8018=0x0;_0x2a8018<_0x193685-0x1;_0x2a8018++){const _0x57756e=_0x5cf07e[_0x2a8018];if(_0x57756e instanceof _0x13ca2a&&_0x2a8018%0x2===0x0){const _0x257553=_0x57756e[_0x1cddbd(0x282)]()[0x0];if(typeof _0x257553=='string'){this[_0x1cddbd(0x218)]['has'](_0x257553)&&console['error'](_0x1cddbd(0x26e)+_0x257553+'\x22\x20is\x20duplicated.'),this[_0x1cddbd(0x218)][_0x1cddbd(0x20d)](_0x257553),_0x490ebd[_0x1cddbd(0x21d)](''+this[_0x1cddbd(0x271)]+_0x257553),this['_hasNewExcelFunction']=!0x0,_0x490ebd[_0x1cddbd(0x21d)](',');continue;}}if(this[_0x1cddbd(0x1d7)](_0x57756e,_0x490ebd,_0x51218d),_0x57756e instanceof _0x13ca2a){const _0x3e32dc=_0x5cf07e[_0x2a8018+0x1];_0x3e32dc&&_0x3e32dc instanceof _0x13ca2a&&_0x490ebd[_0x1cddbd(0x21d)](',');}}this[_0x1cddbd(0x1d7)](_0x5cf07e[_0x193685-0x1],_0x490ebd,_0x51218d),_0x490ebd['push'](')');return;}else{if(_0x2cba75===0x8){const _0x130f30=_0x5cf07e[0x0],_0x21856f=_0x5cf07e[0x1];this[_0x1cddbd(0x1d7)](_0x130f30,_0x490ebd,_0x51218d),_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),this[_0x1cddbd(0x1d7)](_0x21856f,_0x490ebd,_0x51218d);return;}}}for(let _0x108ad6=0x0;_0x108ad6<_0x193685;_0x108ad6++){const _0xfe6d59=_0x5cf07e[_0x108ad6];if(this[_0x1cddbd(0x1d7)](_0xfe6d59,_0x490ebd,_0x51218d),_0xfe6d59 instanceof _0x13ca2a){const _0xee09cd=_0x5cf07e[_0x108ad6+0x1];_0xee09cd&&_0xee09cd instanceof _0x13ca2a&&_0x490ebd[_0x1cddbd(0x21d)](',');}}_0x2cba75===0x7&&_0x490ebd[_0x1cddbd(0x21d)](_0x5efddd),(_0x43bc7b||_0x2cba75===0x9)&&_0x490ebd[_0x1cddbd(0x21d)](')');}[_0x1761eb(0x1d7)](_0x17bf04,_0x5e181e,_0x60bd3c){const _0xbb19f6=_0x1761eb;_0x17bf04 instanceof _0x13ca2a?this[_0xbb19f6(0x290)](_0x17bf04,_0x5e181e,_0x60bd3c):this[_0xbb19f6(0x218)][_0xbb19f6(0x28c)](_0x17bf04)?(_0x5e181e[_0xbb19f6(0x21d)](''+this['_xlpmPrefix']+_0x17bf04),this[_0xbb19f6(0x240)]=!0x0):_0x5e181e[_0xbb19f6(0x21d)](_0x17bf04);}['_clearFunctionString'](_0x30dd48){const _0x349d6c=_0x1761eb;let _0x33a257=_0x30dd48[_0x349d6c(0x254)]();if(!_0x33a257)return _0x33a257;const _0x44e425=_0x33a257[0x0];if((_0x44e425===_0x1303d1['AT']||_0x44e425===_0x1303d1['MINUS']||_0x44e425===_0x1303d1[_0x349d6c(0x20b)])&&(_0x33a257=_0x33a257[_0x349d6c(0x25a)](0x1)),!_0x33a257)return _0x33a257;const _0x4dc650=_0x33a257[_0x33a257['length']-0x1];return _0x49020c[_0x349d6c(0x28c)](_0x4dc650)&&(_0x33a257=_0x33a257[_0x349d6c(0x25a)](0x0,-0x1)),_0x33a257;}[_0x1761eb(0x219)](_0x22cfb5){const _0x1733ed=_0x1761eb,_0x1eb593=_0x22cfb5[_0x1733ed(0x282)]()[0x0];if(!_0x1eb593||!(_0x1eb593 instanceof _0x13ca2a)||_0x22cfb5['getChildren']()['length']>0x1)return!0x1;const _0x27fd5=_0x1eb593[_0x1733ed(0x282)](),_0x542db1=_0x27fd5[_0x1733ed(0x25b)];if(_0x542db1===0x1)return!0x1;for(let _0x39dbcf=0x0;_0x39dbcf<_0x542db1;_0x39dbcf++){const _0x17d8fe=_0x27fd5[_0x39dbcf];if(!(_0x17d8fe instanceof _0x13ca2a)&&_0x3d9cc2['has'](_0x17d8fe))return!0x0;}return!0x1;}[_0x1761eb(0x234)](_0x4c6e1e,_0x4315ee,_0x388369,_0x26e007,_0x56c194){const _0x1d6a05=_0x1761eb,_0x46bc38=this['treeBuilder'](_0x4c6e1e,!0x1);if(!_0x46bc38||_0x46bc38===_0x5bc8e2[_0x1d6a05(0x212)]||Array['isArray'](_0x46bc38))return null;this[_0x1d6a05(0x24d)](),this['_currentUnitId']=_0x4315ee;const _0xbc644=this[_0x1d6a05(0x217)](_0x46bc38,_0x388369,_0x26e007,_0x56c194);return this[_0x1d6a05(0x1d0)]='',this[_0x1d6a05(0x27a)](),_0xbc644;}['_generateExprTree'](_0x58f2ca,_0x42d313,_0x1c943b,_0x3ba725){const _0x6cef2c=_0x1761eb,_0x4c366a={'value':'','children':[]};let _0x5ddd15=_0x58f2ca;if(_0x5ddd15 instanceof _0x13ca2a&&(_0x5ddd15[_0x6cef2c(0x22c)]()===_0x136a6f||_0x5ddd15[_0x6cef2c(0x22c)]()===_0x3fd13a)&&_0x5ddd15[_0x6cef2c(0x282)]()['length']===0x1&&(_0x5ddd15=_0x5ddd15[_0x6cef2c(0x282)]()[0x0]),!(_0x5ddd15 instanceof _0x13ca2a))return this[_0x6cef2c(0x1c8)](_0x5ddd15,_0x1c943b,_0x3ba725);const _0x2f10fc=_0x5ddd15['getChildren'](),_0x5095f5=_0x2f10fc[_0x6cef2c(0x25b)],_0x2ae0c7=[];this['_generateNewFunctionString'](_0x5ddd15,_0x2ae0c7,_0x42d313),_0x4c366a['value']=_0x2ae0c7['join']('');const _0x387eb7=this['_getCurNodeTypeForExprTree'](_0x5ddd15);if(_0x387eb7===0x2){const _0x11a4a4=_0x2f10fc[0x0];if(_0x11a4a4 instanceof _0x13ca2a){if(_0x11a4a4[_0x6cef2c(0x22c)]()[_0x6cef2c(0x254)]()!==_0x59420b)return _0x4c366a;this[_0x6cef2c(0x226)](_0x11a4a4,_0x4c366a,_0x42d313,_0x1c943b,_0x3ba725);}return _0x4c366a;}else{if(_0x387eb7===0x1){for(let _0x519b8b=0x0;_0x519b8b<_0x5095f5-0x1;_0x519b8b++){const _0x25c58f=_0x2f10fc[_0x519b8b];if(_0x25c58f instanceof _0x13ca2a&&_0x519b8b%0x2===0x1){const _0x8ef730=_0x25c58f[_0x6cef2c(0x282)]();if(_0x8ef730[_0x6cef2c(0x25b)]===0x1&&!(_0x8ef730[0x0]instanceof _0x13ca2a))continue;const _0x34a957=this[_0x6cef2c(0x217)](_0x25c58f,_0x42d313,_0x1c943b,_0x3ba725);_0x34a957&&_0x4c366a['children']['push'](_0x34a957);}}return _0x4c366a;}}return this[_0x6cef2c(0x259)](_0x2f10fc,_0x387eb7,_0x4c366a,_0x42d313,_0x1c943b,_0x3ba725),_0x4c366a;}[_0x1761eb(0x259)](_0x333b06,_0xfae4dc,_0x159ea4,_0xdf59f8,_0x66b97b,_0xff62fe){const _0x3da4b0=_0x1761eb;for(let _0x5e7e85=0x0;_0x5e7e85<_0x333b06['length'];_0x5e7e85++){let _0x41ec26=_0x333b06[_0x5e7e85];if(!(_0x41ec26 instanceof _0x13ca2a)){const _0x759a5e=this['_handleTextNodeForExprTree'](_0x41ec26,_0x66b97b,_0xff62fe);_0x759a5e&&_0x159ea4[_0x3da4b0(0x26a)]['push'](_0x759a5e);continue;}const _0x5acf66=_0x41ec26[_0x3da4b0(0x282)]();if(_0x5acf66[_0x3da4b0(0x25b)]===0x1&&!(_0x5acf66[0x0]instanceof _0x13ca2a)){const _0x5737af=_0x5acf66[0x0];if(!_0x66b97b(this[_0x3da4b0(0x1d0)],_0x5737af)&&!this[_0x3da4b0(0x1de)](_0x5737af,_0xff62fe)&&!_0x388993(_0x5737af))continue;}if(_0xfae4dc===0x8){const _0x321ee8=_0x5acf66[0x0];if(_0x321ee8 instanceof _0x13ca2a){const _0x144ce4=_0x321ee8['getToken']()[_0x3da4b0(0x254)]();if(_0x388993(_0x144ce4))continue;_0x41ec26=_0x321ee8;}}const _0x4c95eb=this[_0x3da4b0(0x217)](_0x41ec26,_0xdf59f8,_0x66b97b,_0xff62fe);_0x4c95eb&&_0x159ea4[_0x3da4b0(0x26a)][_0x3da4b0(0x21d)](_0x4c95eb);}}['_handleTextNodeForExprTree'](_0x111e66,_0x487628,_0x52a797){const _0x18fbb3=_0x1761eb,_0x11c220=_0x111e66[_0x18fbb3(0x254)]();return _0x11c220[_0x18fbb3(0x23f)]('{')&&_0x11c220[_0x18fbb3(0x261)]('}')||_0x487628(this[_0x18fbb3(0x1d0)],_0x11c220)||this[_0x18fbb3(0x1de)](_0x11c220,_0x52a797)||_0x388993(_0x11c220)?{'value':_0x11c220,'children':[]}:null;}[_0x1761eb(0x1de)](_0x166ea0,_0x174246){const _0x4f3f40=_0x1761eb,{tableName:_0x559bda}=_0x1d41af(_0x166ea0);return _0x174246(this[_0x4f3f40(0x1d0)],_0x559bda)?_0x559bda:null;}[_0x1761eb(0x226)](_0x504604,_0x1393a5,_0x50e188,_0x13291a,_0x3ce155){const _0x5ece3a=_0x1761eb,_0x56caf2=_0x504604[_0x5ece3a(0x282)]();for(let _0x3f0d17=0x0;_0x3f0d17<_0x56caf2['length'];_0x3f0d17++){const _0x4eda29=_0x56caf2[_0x3f0d17];if(!(_0x4eda29 instanceof _0x13ca2a))continue;const _0x57b9a3=_0x4eda29[_0x5ece3a(0x282)]();if(_0x57b9a3[_0x5ece3a(0x25b)]===0x1&&!(_0x57b9a3[0x0]instanceof _0x13ca2a))continue;const _0x413f6a=this['_generateExprTree'](_0x4eda29,_0x50e188,_0x13291a,_0x3ce155);_0x413f6a&&_0x1393a5[_0x5ece3a(0x26a)][_0x5ece3a(0x21d)](_0x413f6a);}}[_0x1761eb(0x1d5)](_0x16cb00){const _0x18b1f8=_0x1761eb,_0x3848b4=_0x16cb00[_0x18b1f8(0x22c)](),_0x3a3ae4=_0x3848b4[_0x18b1f8(0x254)]()['toUpperCase']();let _0x6c240e=0x0;return _0x3848b4===_0x136a6f?_0x6c240e=0x3:_0x3848b4===_0x3fd13a?_0x6c240e=0x4:_0x3848b4===_0x59420b?_0x6c240e=0x5:_0x3a3ae4===_0x1ff0d2?_0x6c240e=0x2:_0x3a3ae4===_0x5f5131?_0x6c240e=0x1:_0x3a3ae4===_0x121cd6[_0x18b1f8(0x238)]?_0x6c240e=0x8:_0x49020c[_0x18b1f8(0x28c)](_0x3a3ae4)?_0x6c240e=0x7:_0x3a3ae4===_0x1303d1['MINUS']?this['_checkAddBracketForMinus'](_0x16cb00)&&(_0x6c240e=0x9):_0x6c240e=0xa,_0x6c240e;}}const Me={0x0:'Y',0x1:'O',0x2:'H',0x3:'9',0x4:'n',0x5:'b',0x6:'E',0x7:'C',0x8:'0',0x9:'h','N':'1','r':'2','y':'3','t':'4','G':'5','n':'6','E':'7','K':'8','I':'a','D':'c','Q':'d','J':'e','q':'f','p':'g','i':'i','b':'j','S':'k','w':'l','P':'m','F':'o','d':'p','h':'q','j':'r','e':'s','c':'t','W':'u','X':'v','Y':'w','H':'x','O':'y','A':'z','u':'A','g':'B','L':'D','Z':'F','V':'G','M':'I','l':'J','C':'K','m':'L','o':'M','v':'N','k':'P','U':'Q','x':'R','R':'S','B':'T','a':'U','T':'V','z':'W','s':'X','f':'Z'},Se='qW4DciF4\x20QJDjOdciF4(wiDJ4eJ,\x20dW5wiDCJO)\x20{\x20\x20\x20\x20cjO\x20{\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20wiDJ4eJM4qFkIjcujjIO\x20=\x20wiDJ4eJ.edwic(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20Fjipi4oJeeIpJ\x20=\x20lR1v.dIjeJ(IcF5(wiDJ4eJM4qFkIjcujjIO[r]));\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!Fjipi4oJeeIpJ.WQ)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Fjipi4oJeeIpJ.WQ\x20=\x20vWP5Jj(wiDJ4eJM4qFkIjcujjIO[t]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iezFjSJj\x20=\x20cOdJFq\x20zFjSJjVwF5IwRDFdJ\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20eJwq\x20i4ecI4DJFq\x20zFjSJjVwF5IwRDFdJ;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20iegjFYeJj\x20=\x20cOdJFq\x20Yi4QFY\x20!==\x20\x27W4QJqi4JQ\x27\x20&&\x20cOdJFq\x20Yi4QFY.wFDIciF4\x20!==\x20\x27W4QJqi4JQ\x27;\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20DF4cJHc\x20=\x20iezFjSJj\x20?\x20eJwq\x20:\x20(iegjFYeJj\x20?\x20Yi4QFY\x20:\x20pwF5IwB9ie);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[r]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20PJeeIpJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(PJeeIpJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJzFjQ\x20=\x20DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[y]);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4IcWjJ\x20=\x20DF4cJHc.__2JH__.ecji4piqO(eip4IcWjJzFjQ);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20eip4TIwiQ\x20=\x20DF4cJHc.__XJjiqO__(eip4IcWjJ,\x20PJeeIpJ,\x20dW5wiDCJO);\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20QFPIi4\x20=\x20Fjipi4oJeeIpJ.QP;\x20\x20\x20\x20\x20\x20\x20\x20qW4DciF4\x20ieLFPIi4oIcD9i4p(FkIccJj4,\x20F2Fec)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4\x20=\x20FkIccJj4.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209Fec\x20=\x20F2Fec.jJdwIDJ(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4kIjce\x20=\x20dIccJj4.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FeckIjce\x20=\x209Fec.edwic(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(!dIccJj4.i4DwWQJe(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4\x20===\x209Fec;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(dIccJj4kIjce.wJ4pc9\x20<\x20r\x20||\x20dIccJj4kIjce[8]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20dIccJj4RWqqiH\x20=\x20dIccJj4kIjce.ewiDJ(N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x209FecRWqqiH\x20=\x209FeckIjce.ewiDJ(-dIccJj4kIjce.wJ4pc9\x20+\x20N).bFi4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20dIccJj4RWqqiH\x20===\x209FecRWqqiH;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20wJc\x20QFPIi4TIwiQ\x20=\x20qIweJ;\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(iegjFYeJj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20(QFPIi4\x20&&\x20QFPIi4.wJ4pc9)\x20?\x20QFPIi4.eFPJ((QPMcJP)\x20=>\x20ieLFPIi4oIcD9i4p(QPMcJP,\x20wFDIciF4.9Fec4IPJ))\x20:\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20iq\x20(wFDIciF4.9Fec4IPJ\x20===\x20\x27wFDIw9Fec\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20JweJ\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20QFPIi4TIwiQ\x20=\x20cjWJ;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20DF4ec\x20XIwiQ\x20=\x20eip4TIwiQ\x20&&\x20QFPIi4TIwiQ;\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20Fjipi4oJeeIpJ,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x20DIcD9\x20(JjjFj)\x20{\x20\x20\x20\x20\x20\x20\x20\x20jJcWj4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20XIwiQ:\x20qIweJ,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20PJeeIpJ:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class we extends _0x4c3e32{constructor(){const _0x4cb29f=_0x1761eb;super(...arguments),C(this,_0x4cb29f(0x213),new Map());}[_0x1761eb(0x247)](){const _0x43a18b=_0x1761eb;super[_0x43a18b(0x247)](),this['_dependencyTreeCache'][_0x43a18b(0x250)]();}async[_0x1761eb(0x255)](_0x5f48dd=!0x1){const _0x2ed89f=_0x1761eb;this[_0x2ed89f(0x275)]();const _0x47d567=this[_0x2ed89f(0x1d9)][_0x2ed89f(0x264)](),_0x3f1fba=this[_0x2ed89f(0x262)]['getOtherFormulaData'](),_0x526177=this[_0x2ed89f(0x1d9)]['getClearDependencyTreeCache']();_0x526177!=null&&Object['keys'](_0x526177)['forEach'](_0x34bfb2=>{const _0x5b7db7=_0x2ed89f;_0x34bfb2!=null&&Object[_0x5b7db7(0x242)](_0x526177[_0x34bfb2])[_0x5b7db7(0x1fc)](_0x3f5f60=>{const _0x14f3d0=_0x5b7db7;_0x3f5f60!=null&&(this['_dependencyManagerService'][_0x14f3d0(0x1e6)](_0x34bfb2,_0x3f5f60),this[_0x14f3d0(0x283)][_0x14f3d0(0x1eb)](_0x34bfb2,_0x3f5f60),this[_0x14f3d0(0x283)][_0x14f3d0(0x205)](_0x34bfb2,_0x3f5f60));});});const _0x504a5f=this[_0x2ed89f(0x1d9)]['getUnitData']();await this[_0x2ed89f(0x28f)](_0x47d567,_0x3f1fba,_0x504a5f),this[_0x2ed89f(0x283)]['openKdTree']();const _0x52af37=this[_0x2ed89f(0x25e)](),_0x170a6b=this[_0x2ed89f(0x1f0)](_0x52af37);return this[_0x2ed89f(0x1e2)](_0x170a6b)&&this[_0x2ed89f(0x21f)][_0x2ed89f(0x293)](),_0x5f48dd&&this[_0x2ed89f(0x21f)][_0x2ed89f(0x1ef)](this[_0x2ed89f(0x235)](Array[_0x2ed89f(0x253)](this[_0x2ed89f(0x213)][_0x2ed89f(0x21c)]()))),this['_dependencyTreeCache'][_0x2ed89f(0x250)](),this['_dependencyRTreeCacheForAddressFunction'][_0x2ed89f(0x250)](),this['_dependencyManagerService'][_0x2ed89f(0x24b)](),this[_0x2ed89f(0x21f)][_0x2ed89f(0x289)](),Promise[_0x2ed89f(0x207)](_0x170a6b);}[_0x1761eb(0x23d)](_0x12a99f,_0x1d8c0a){const _0x32de32=_0x1761eb,_0xbf98f5=[_0x12a99f];for(;_0xbf98f5[_0x32de32(0x25b)]>0x0;){const _0x35e060=_0xbf98f5[_0xbf98f5[_0x32de32(0x25b)]-0x1];if((_0x1d8c0a[_0x32de32(0x249)](_0x35e060)||0x0)===0x0){_0x1d8c0a['set'](_0x35e060,0x1);const _0x551017=this[_0x32de32(0x213)]['get'](_0x35e060);if(_0x551017==null){_0x1d8c0a[_0x32de32(0x215)](_0x35e060,0x2),_0xbf98f5[_0x32de32(0x1f5)]();continue;}const _0x2491d0=this[_0x32de32(0x283)][_0x32de32(0x227)](_0x551017['toRTreeItem']());for(const _0x3e9b24 of _0x2491d0){const _0x345cf1=_0x1d8c0a['get'](_0x3e9b24)||0x0;if(_0x345cf1===0x1)return!0x0;_0x345cf1===0x0&&_0xbf98f5[_0x32de32(0x21d)](_0x3e9b24);}}else _0x1d8c0a[_0x32de32(0x215)](_0x35e060,0x2),_0xbf98f5[_0x32de32(0x1f5)]();}return!0x1;}[_0x1761eb(0x1e2)](_0x14be0a){const _0x56acb4=_0x1761eb,_0x3262c9=new Map();for(const _0x1363c1 of _0x14be0a)if(!_0x3262c9[_0x56acb4(0x28c)](_0x1363c1[_0x56acb4(0x291)])&&this['_isCyclicUtilMap'](_0x1363c1[_0x56acb4(0x291)],_0x3262c9))return!0x0;return _0x3262c9['clear'](),!0x1;}[_0x1761eb(0x263)](_0x46019c,_0x2f1097,_0x53d275){const _0x132579=_0x1761eb,{unitId:_0x4d119c,subUnitId:_0x43b56e,dependencyRanges:_0x30f704,getDirtyData:_0x257e7f}=_0x53d275,_0x5e2ce6=_0x2f1097||_0x2438e7(this[_0x132579(0x283)]),_0x2d58d3=new _0x3abffc(_0x5e2ce6);_0x2d58d3['unitId']=_0x4d119c,_0x2d58d3[_0x132579(0x220)]=_0x43b56e,_0x2d58d3[_0x132579(0x27c)]=_0x30f704,_0x2d58d3['getDirtyData']=_0x257e7f;const _0xa03f66=_0x257e7f(this['_currentConfigService']['getDirtyData'](),this[_0x132579(0x21f)][_0x132579(0x222)]()),_0x1ff009=this[_0x132579(0x245)](_0xa03f66[_0x132579(0x248)]);return _0x2d58d3[_0x132579(0x1d1)]=_0x1ff009,_0x2d58d3[_0x132579(0x1ca)]=_0x46019c,_0x2d58d3[_0x132579(0x233)]=_0x43f23d['FEATURE_FORMULA'],this['_dependencyManagerService'][_0x132579(0x288)](_0x4d119c,_0x43b56e,_0x46019c,_0x2d58d3),this['_dependencyTreeCache'][_0x132579(0x215)](_0x2d58d3[_0x132579(0x291)],_0x2d58d3),this[_0x132579(0x283)][_0x132579(0x203)](_0x53d275[_0x132579(0x1fb)],_0x53d275[_0x132579(0x220)],_0x46019c)&&(_0x2d58d3['isCache']=!0x0),_0x2d58d3;}['_registerOtherFormulas'](_0x55c601,_0x4538c6,_0x5e098b){const _0x1f90f9=_0x1761eb;var _0x30c341;for(const _0x53df04 of _0x4538c6){const _0x25ff04=_0x55c601[_0x53df04];if(_0x25ff04==null)continue;const _0x59b3e3=Object[_0x1f90f9(0x242)](_0x25ff04);for(const _0x122242 of _0x59b3e3){const _0x28ae21=_0x25ff04[_0x122242];if(_0x28ae21==null)continue;const _0x470882=Object[_0x1f90f9(0x242)](_0x28ae21);for(const _0xcad1aa of _0x470882){const _0x424015=this[_0x1f90f9(0x283)][_0x1f90f9(0x228)](_0xcad1aa),_0x55c894=_0x28ae21[_0xcad1aa],{f:_0x873dc6,ranges:_0x406320}=_0x55c894;let _0x33d831=!0x1;_0x424015&&(_0x33d831=!0x0);const {firstRow:_0x152763,firstColumn:_0x24faec}=this['_getFirstCellOfRange'](_0x406320),_0x4de8fa=this[_0x1f90f9(0x283)]['getOtherFormulaDependency'](_0x53df04,_0x122242,_0xcad1aa),_0x3a7eac=(_0x30c341=_0x4de8fa==null?void 0x0:_0x4de8fa[_0x1f90f9(0x1fe)](0x0,0x0))!=null?_0x30c341:_0x2438e7(this['_dependencyManagerService']),_0x47ed5c=new _0x3abffc(_0x3a7eac);for(let _0x3152b5=0x0;_0x3152b5<_0x406320[_0x1f90f9(0x25b)];_0x3152b5++){const _0x59a4ef=_0x406320[_0x3152b5],{startRow:_0x40d8de,startColumn:_0x352214,endRow:_0x59211c,endColumn:_0x4b6971}=_0x59a4ef;for(let _0x2a4838=_0x40d8de;_0x2a4838<=_0x59211c;_0x2a4838++)for(let _0x4efc5d=_0x352214;_0x4efc5d<=_0x4b6971;_0x4efc5d++){const _0x222058=_0x4efc5d-_0x24faec,_0x357b06=_0x2a4838-_0x152763;if(_0x222058===0x0&&_0x357b06===0x0){_0x47ed5c[_0x1f90f9(0x1c4)]=_0x873dc6,_0x47ed5c[_0x1f90f9(0x1fb)]=_0x53df04,_0x47ed5c['subUnitId']=_0x122242,_0x47ed5c[_0x1f90f9(0x206)]=_0xcad1aa,_0x47ed5c[_0x1f90f9(0x233)]=_0x43f23d[_0x1f90f9(0x1ff)],_0x47ed5c[_0x1f90f9(0x1df)]=_0x33d831,_0x5e098b[_0x1f90f9(0x21d)](_0x47ed5c),this['_dependencyTreeCache'][_0x1f90f9(0x215)](_0x47ed5c[_0x1f90f9(0x291)],_0x47ed5c),this[_0x1f90f9(0x283)][_0x1f90f9(0x24c)](_0x53df04,_0x122242,_0xcad1aa,_0x47ed5c),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x47ed5c);continue;}const _0x327ccd=new _0x6d0725();_0x327ccd['treeId']=(_0x4de8fa==null?void 0x0:_0x4de8fa['getValue'](_0x222058,_0x357b06))||_0x2438e7(this[_0x1f90f9(0x283)]),_0x327ccd[_0x1f90f9(0x216)]=_0x47ed5c,_0x327ccd[_0x1f90f9(0x1c5)]=_0x222058,_0x327ccd[_0x1f90f9(0x1f6)]=_0x357b06,_0x327ccd[_0x1f90f9(0x1df)]=_0x33d831,this['_dependencyManagerService'][_0x1f90f9(0x24c)](_0x53df04,_0x122242,_0xcad1aa,_0x327ccd),this[_0x1f90f9(0x283)][_0x1f90f9(0x1e7)](_0x327ccd),_0x5e098b[_0x1f90f9(0x21d)](_0x327ccd),this['_dependencyTreeCache'][_0x1f90f9(0x215)](_0x327ccd[_0x1f90f9(0x291)],_0x327ccd);}}this[_0x1f90f9(0x283)][_0x1f90f9(0x1c3)](_0xcad1aa);}}}}[_0x1761eb(0x272)](_0x2ba9e3,_0x12eaba,_0x34ab16,_0x13ad93){const _0xe14181=_0x1761eb;for(const _0x4e2cec of _0x2ba9e3){const _0x5b07b7=_0x12eaba[_0x4e2cec];if(_0x5b07b7==null)continue;const _0x584c19=Object[_0xe14181(0x242)](_0x5b07b7);for(const _0x254209 of _0x584c19){const _0x154709=new _0x5c2490(_0x5b07b7[_0x254209]||{}),_0x4d3cd0=new Map();_0x154709[_0xe14181(0x260)]((_0x24a828,_0x550efa,_0x592e75)=>{const _0x20faee=_0xe14181;if(_0x592e75==null)return!0x0;const {x:_0x3add26=0x0,y:_0x31da5a=0x0,si:_0x50e278}=_0x592e75;if(!(_0x3add26===0x0&&_0x31da5a===0x0&&_0x50e278!=null))return!0x0;const _0x4e743c=this[_0x20faee(0x24a)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa,_0x34ab16,_0x592e75),_0x259343=this[_0x20faee(0x283)][_0x20faee(0x246)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa);_0x259343!=null?_0x4e743c[_0x20faee(0x291)]=_0x259343:(this[_0x20faee(0x283)][_0x20faee(0x25f)](_0x4e2cec,_0x254209,_0x24a828,_0x550efa,_0x4e743c),this[_0x20faee(0x283)][_0x20faee(0x1e7)](_0x4e743c)),_0x4d3cd0['set'](_0x50e278,_0x4e743c),_0x13ad93[_0x20faee(0x21d)](_0x4e743c),this[_0x20faee(0x213)]['set'](_0x4e743c[_0x20faee(0x291)],_0x4e743c);}),_0x154709[_0xe14181(0x260)]((_0x44e182,_0xbdfe37,_0x4db527)=>{const _0x5dd61f=_0xe14181;if(_0x4db527==null)return!0x0;const {x:_0x4a0cdb=0x0,y:_0x3ed662=0x0,si:_0x5ca585}=_0x4db527;if(_0x4a0cdb===0x0&&_0x3ed662===0x0&&_0x5ca585!=null)return!0x0;let _0x40be23;if(_0x5ca585&&_0x4d3cd0['has'](_0x5ca585)){const _0xdc0222=_0x4d3cd0[_0x5dd61f(0x249)](_0x5ca585);_0x40be23=this[_0x5dd61f(0x223)](_0xdc0222,_0x4db527);}else _0x40be23=this['_createFDtree'](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37,_0x34ab16,_0x4db527);const _0x348d74=this[_0x5dd61f(0x283)][_0x5dd61f(0x246)](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37);_0x348d74!=null?_0x40be23[_0x5dd61f(0x291)]=_0x348d74:(this['_dependencyManagerService'][_0x5dd61f(0x25f)](_0x4e2cec,_0x254209,_0x44e182,_0xbdfe37,_0x40be23),this[_0x5dd61f(0x283)][_0x5dd61f(0x1e7)](_0x40be23)),_0x13ad93[_0x5dd61f(0x21d)](_0x40be23),this[_0x5dd61f(0x213)][_0x5dd61f(0x215)](_0x40be23['treeId'],_0x40be23);}),_0x4d3cd0[_0xe14181(0x250)]();}}}[_0x1761eb(0x24a)](_0x1a6ec6,_0x1b530f,_0x461bcc,_0x15c92b,_0x5f4213,_0x3206a9){const _0xcb3a0c=_0x1761eb,{f:_0x3c67d4,x:_0x20b985=0x0,y:_0x3a5b69=0x0}=_0x3206a9,_0x2ef1af=new _0x3abffc(_0x2438e7(this[_0xcb3a0c(0x283)])),_0x58bd40=_0x5f4213[_0x1a6ec6][_0x1b530f];return _0x2ef1af[_0xcb3a0c(0x1c4)]=_0x3c67d4,_0x2ef1af[_0xcb3a0c(0x1fb)]=_0x1a6ec6,_0x2ef1af[_0xcb3a0c(0x220)]=_0x1b530f,_0x2ef1af[_0xcb3a0c(0x28e)]=_0x461bcc,_0x2ef1af[_0xcb3a0c(0x1cf)]=_0x15c92b,_0x2ef1af[_0xcb3a0c(0x280)]=_0x58bd40[_0xcb3a0c(0x280)],_0x2ef1af[_0xcb3a0c(0x279)]=_0x58bd40[_0xcb3a0c(0x279)],_0x2ef1af;}[_0x1761eb(0x25e)](){const _0x43aaa1=_0x1761eb,_0x144861=[],_0x21f43d=new Set(),_0x319db8=this[_0x43aaa1(0x1d9)]['isForceCalculate'](),_0x2150c1=this['_currentConfigService'][_0x43aaa1(0x251)](),_0x31be1a=this[_0x43aaa1(0x283)][_0x43aaa1(0x227)](_0x2150c1),_0x531391=this[_0x43aaa1(0x28d)][_0x43aaa1(0x1dd)](_0x2150c1);for(const _0x5ac4f3 of _0x531391)_0x31be1a[_0x43aaa1(0x20d)](_0x5ac4f3);for(const [_0x57a8a4,_0x35beab]of this[_0x43aaa1(0x213)])(_0x319db8||_0x35beab[_0x43aaa1(0x27d)]||_0x35beab[_0x43aaa1(0x257)](this['_currentConfigService'][_0x43aaa1(0x208)]())||_0x31be1a[_0x43aaa1(0x28c)](_0x57a8a4)&&!_0x35beab['isExcludeRange'](this[_0x43aaa1(0x1d9)][_0x43aaa1(0x287)]()))&&!_0x21f43d[_0x43aaa1(0x28c)](_0x57a8a4)&&(_0x144861['push'](_0x35beab),_0x21f43d[_0x43aaa1(0x20d)](_0x57a8a4));for(const [_0x307366,_0x38767b]of this[_0x43aaa1(0x213)])_0x38767b[_0x43aaa1(0x221)]||(_0x38767b[_0x43aaa1(0x27c)]['length']=0x0);return _0x144861;}[_0x1761eb(0x1dc)](_0xd7300){const _0x3cb00b=_0x1761eb;return this[_0x3cb00b(0x213)][_0x3cb00b(0x249)](_0xd7300);}['_getTreeNode'](_0x2078f8){const _0x23f5c4=_0x1761eb;return _0x59c1ee(_0x2078f8[_0x23f5c4(0x1fb)],_0x2078f8['formula'],this[_0x23f5c4(0x21b)],this['_astTreeBuilder'],this[_0x23f5c4(0x1d9)]);}*['_traverse'](_0x5e8b28,_0x1e7baf){const _0x2d7224=_0x1761eb,_0x20730c=_0x5e8b28,_0xc3e8ac=new Set();for(;_0x20730c[_0x2d7224(0x25b)]>0x0;){const _0x3b8816=_0x20730c['pop']();if(_0xc3e8ac[_0x2d7224(0x250)](),_0x3b8816===void 0x0||_0x3b8816[_0x2d7224(0x256)]())continue;if(_0x3b8816[_0x2d7224(0x1d3)]()){yield _0x3b8816,_0x3b8816[_0x2d7224(0x209)](),_0x1e7baf[_0x2d7224(0x20d)](_0x3b8816[_0x2d7224(0x291)]);continue;}const _0x31e4ac=this['_dependencyManagerService'][_0x2d7224(0x227)](_0x3b8816[_0x2d7224(0x232)](),_0x1e7baf),_0x23e147=this[_0x2d7224(0x28d)]['bulkSearch'](_0x3b8816[_0x2d7224(0x232)](),_0x1e7baf);for(const _0x5496e1 of _0x23e147)_0x31e4ac[_0x2d7224(0x20d)](_0x5496e1);for(const _0x1722f4 of _0x31e4ac){const _0x5998ed=this[_0x2d7224(0x213)][_0x2d7224(0x249)](_0x1722f4);if(!_0x5998ed)throw new Error(_0x2d7224(0x23b));_0x5998ed[_0x2d7224(0x1d3)]()||_0x3b8816['isSkip']()||_0xc3e8ac[_0x2d7224(0x20d)](_0x5998ed);}if(_0x31e4ac[_0x2d7224(0x250)](),_0xc3e8ac[_0x2d7224(0x1e4)]===0x0)yield _0x3b8816,_0x3b8816[_0x2d7224(0x209)](),_0x1e7baf[_0x2d7224(0x20d)](_0x3b8816[_0x2d7224(0x291)]);else{_0x3b8816[_0x2d7224(0x265)](),_0x20730c[_0x2d7224(0x21d)](_0x3b8816);for(const _0x5dbecb of _0xc3e8ac)_0x20730c[_0x2d7224(0x21d)](_0x5dbecb);}}_0x20730c[_0x2d7224(0x25b)]=0x0,_0xc3e8ac[_0x2d7224(0x250)]();}[_0x1761eb(0x1f0)](_0x3dd1a4){const _0x2d62a3=_0x1761eb,_0x5436a3=[],_0x13ec54=new Set();for(const _0x4baea2 of this[_0x2d62a3(0x1fa)](_0x3dd1a4,_0x13ec54))_0x5436a3['push'](_0x4baea2);return _0x5436a3;}async[_0x1761eb(0x224)](){const _0x237c5e=_0x1761eb;return await this[_0x237c5e(0x23a)](),Array[_0x237c5e(0x253)](this[_0x237c5e(0x213)][_0x237c5e(0x21c)]());}['_getDependencyTreeParenIds'](_0x220b24){const _0x56a727=_0x1761eb;return this[_0x56a727(0x283)][_0x56a727(0x227)](_0x220b24[_0x56a727(0x232)]());}[_0x1761eb(0x236)](_0x4714e8){const _0x18c3c0=_0x1761eb,_0x592f6d=new Set(),_0x3888be=_0x4714e8[_0x18c3c0(0x27c)];for(const [_0x2edd66,_0x671da3]of this['_dependencyTreeCache'])for(const _0x59c200 of _0x3888be){const _0x231c53=_0x59c200[_0x18c3c0(0x1fb)],_0x2ae4ef=_0x59c200[_0x18c3c0(0x23e)];if(_0x671da3[_0x18c3c0(0x1fb)]!==_0x231c53||_0x671da3[_0x18c3c0(0x220)]!==_0x2ae4ef)continue;const _0x325210=_0x59c200[_0x18c3c0(0x1da)];if(_0x671da3[_0x18c3c0(0x23c)](_0x325210)){_0x592f6d[_0x18c3c0(0x20d)](_0x2edd66);break;}}return _0x592f6d;}[_0x1761eb(0x21a)](){const _0x1023a9=_0x1761eb;this['_dependencyManagerService'][_0x1023a9(0x1f1)]();}['_endFormulaDependencyTreeModel'](){const _0x1a5ef7=_0x1761eb;this['_formulaDependencyTreeModel'][_0x1a5ef7(0x250)](),this[_0x1a5ef7(0x213)][_0x1a5ef7(0x250)](),this['_dependencyManagerService'][_0x1a5ef7(0x24b)]();}}function _0x5283(_0xc6c40d,_0x1eb16d){_0xc6c40d=_0xc6c40d-0x1c2;const _0x312ca6=_0x312c();let _0x5283dd=_0x312ca6[_0xc6c40d];return _0x5283dd;}class Je extends _0xfcc63d{async[_0x1761eb(0x202)](_0x4b2a85=!0x1){const _0x4939f8=_0x1761eb;_0x4b2a85?this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x267)]):this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x211)]),this[_0x4939f8(0x204)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]());const _0x5f2f94=await this[_0x4939f8(0x22e)][_0x4939f8(0x255)](this[_0x4939f8(0x1e8)]),_0x671dbd=this[_0x4939f8(0x1d6)];_0x4b2a85?(this[_0x4939f8(0x21f)]['setFormulaExecuteStage'](_0x263013[_0x4939f8(0x1f4)]),this[_0x4939f8(0x21f)][_0x4939f8(0x230)](_0x5f2f94[_0x4939f8(0x25b)])):(this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1ea)]),this[_0x4939f8(0x21f)][_0x4939f8(0x22f)](_0x5f2f94['length'])),this[_0x4939f8(0x204)]['next'](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]());let _0x106c76=[];const _0x19d4e6=this[_0x4939f8(0x27b)]['getConfig'](_0x25f609),_0x5b5219=(_0x19d4e6==null?void 0x0:_0x19d4e6[_0x4939f8(0x268)])||_0x1b9940;let _0x3a1855=0x0;const _0x1ed7e9=_0x5f2f94[_0x4939f8(0x25b)];for(;_0x5f2f94[_0x4939f8(0x25b)]>0x0;){const _0x761b73=_0x5f2f94[_0x4939f8(0x1f5)](),_0x2eaec9=_0x59c1ee(_0x761b73[_0x4939f8(0x1fb)],_0x761b73[_0x4939f8(0x1c4)],this[_0x4939f8(0x21b)],this[_0x4939f8(0x1c9)],this[_0x4939f8(0x1d9)]),_0x3d6ef9={'node':_0x2eaec9,'refOffsetX':_0x761b73[_0x4939f8(0x1c5)],'refOffsetY':_0x761b73[_0x4939f8(0x1f6)]},_0x2f9290=_0x761b73[_0x4939f8(0x1c7)];if(_0x3a1855%_0x5b5219===0x0&&(await new Promise(_0x5b6413=>{const _0x291100=_0x4939f8,_0x1bceaf=_0x39aee8(_0x5b6413);_0x106c76[_0x291100(0x21d)](_0x1bceaf);}),_0x4b2a85?(this['_runtimeService'][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1ec)]),this[_0x4939f8(0x21f)][_0x4939f8(0x21e)](_0x3a1855+0x1)):(this['_runtimeService'][_0x4939f8(0x26b)](_0x263013['CURRENTLY_CALCULATING']),this[_0x4939f8(0x21f)][_0x4939f8(0x28a)](_0x3a1855+0x1)),this[_0x4939f8(0x204)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x281)]()),this[_0x4939f8(0x21f)][_0x4939f8(0x273)]()||_0x3d6ef9==null&&_0x2f9290==null)){this[_0x4939f8(0x21f)][_0x4939f8(0x26b)](_0x263013[_0x4939f8(0x1fd)]),this[_0x4939f8(0x21f)]['markedAsStopFunctionsExecuted'](),this[_0x4939f8(0x24e)][_0x4939f8(0x26c)](this[_0x4939f8(0x21f)][_0x4939f8(0x222)]());return;}this[_0x4939f8(0x21f)][_0x4939f8(0x201)](_0x761b73[_0x4939f8(0x28e)],_0x761b73['column'],_0x761b73[_0x4939f8(0x280)],_0x761b73['columnCount'],_0x761b73[_0x4939f8(0x220)],_0x761b73[_0x4939f8(0x1fb)]);let _0x32e103;if(_0x2f9290!=null&&_0x761b73[_0x4939f8(0x1ca)]!=null){const {runtimeCellData:_0x2d5652,dirtyRanges:_0xfcc201}=_0x2f9290(this[_0x4939f8(0x1d9)][_0x4939f8(0x1c7)](),this[_0x4939f8(0x21f)][_0x4939f8(0x222)]());this[_0x4939f8(0x21f)][_0x4939f8(0x200)](_0x761b73['featureId'],_0x2d5652),this[_0x4939f8(0x21f)][_0x4939f8(0x1e1)](_0x761b73['featureId'],_0xfcc201);}else _0x3d6ef9!=null&&(_0x671dbd[_0x4939f8(0x274)](_0x3d6ef9['node'])?_0x32e103=await _0x671dbd['executeAsync'](_0x3d6ef9):_0x32e103=_0x671dbd[_0x4939f8(0x258)](_0x3d6ef9),_0x761b73[_0x4939f8(0x206)]!=null?this['_runtimeService'][_0x4939f8(0x269)](_0x761b73[_0x4939f8(0x206)],_0x761b73[_0x4939f8(0x1c5)],_0x761b73[_0x4939f8(0x1f6)],_0x32e103):this['_runtimeService'][_0x4939f8(0x284)](_0x32e103));_0x2eaec9['resetCalculationState'](),_0x3a1855++;}return _0x106c76[_0x4939f8(0x1fc)](_0x103137=>_0x103137()),_0x106c76=[],_0x1ed7e9>0x0?this['_runtimeService'][_0x4939f8(0x214)]():_0x4b2a85||this[_0x4939f8(0x21f)][_0x4939f8(0x27e)](),this[_0x4939f8(0x21f)][_0x4939f8(0x222)]();}}class Re extends _0x36f0fa{constructor(){super(...arguments),C(this,'_allTreeMap',new Map()),C(this,'_dependencyRTreeCache',new _0x854f8d(!0x0));}[_0x1761eb(0x1f3)](){const _0x3e4be3=_0x1761eb;this['_otherFormulaData'][_0x3e4be3(0x250)](),this[_0x3e4be3(0x278)][_0x3e4be3(0x250)](),this['_formulaData'][_0x3e4be3(0x250)](),this[_0x3e4be3(0x229)]['clear'](),this[_0x3e4be3(0x1db)][_0x3e4be3(0x250)](),this[_0x3e4be3(0x266)](),this[_0x3e4be3(0x28b)][_0x3e4be3(0x250)]();}[_0x1761eb(0x24c)](_0x12fa51,_0x555c90,_0x385c4f,_0x22dde2){const _0x4e0c20=_0x1761eb;this[_0x4e0c20(0x285)][_0x4e0c20(0x28c)](_0x12fa51)||this['_otherFormulaData'][_0x4e0c20(0x215)](_0x12fa51,new Map());const _0x48d950=this['_otherFormulaData']['get'](_0x12fa51);_0x48d950[_0x4e0c20(0x28c)](_0x555c90)||_0x48d950[_0x4e0c20(0x215)](_0x555c90,new Map());const _0x5b4ca6=_0x48d950[_0x4e0c20(0x249)](_0x555c90);_0x5b4ca6[_0x4e0c20(0x28c)](_0x385c4f)||_0x5b4ca6['set'](_0x385c4f,new _0x5c2490()),_0x5b4ca6[_0x4e0c20(0x249)](_0x385c4f)[_0x4e0c20(0x1d2)](_0x22dde2['refOffsetX'],_0x22dde2[_0x4e0c20(0x1f6)],_0x22dde2['treeId']);}[_0x1761eb(0x231)](_0x38e29e,_0x2e7d11,_0x164f60){const _0x371eba=_0x1761eb,_0x43e498=this['_otherFormulaData'][_0x371eba(0x249)](_0x38e29e);if(_0x43e498&&_0x43e498[_0x371eba(0x28c)](_0x2e7d11)){const _0x36404e=_0x43e498[_0x371eba(0x249)](_0x2e7d11);_0x164f60[_0x371eba(0x1fc)](_0xea9a97=>{const _0x245f9c=_0x371eba,_0x223a51=_0x36404e[_0x245f9c(0x249)](_0xea9a97);_0x223a51!=null&&(_0x223a51[_0x245f9c(0x260)]((_0x349ded,_0x403a09,_0x1556f6)=>{const _0x19afee=_0x245f9c;this['_removeDependencyRTreeCache'](_0x1556f6),this[_0x19afee(0x1ee)](_0x1556f6);}),_0x36404e[_0x245f9c(0x1c2)](_0xea9a97),this[_0x245f9c(0x28b)][_0x245f9c(0x1c2)](_0xea9a97));}),_0x36404e[_0x371eba(0x1e4)]===0x0&&_0x43e498[_0x371eba(0x1c2)](_0x2e7d11),_0x43e498['size']===0x0&&this[_0x371eba(0x285)][_0x371eba(0x1c2)](_0x38e29e);}}[_0x1761eb(0x1e6)](_0x53ce2,_0x4f9610){const _0x325c40=_0x1761eb,_0x218da6=this['_otherFormulaData'][_0x325c40(0x249)](_0x53ce2);if(_0x4f9610&&_0x218da6&&_0x218da6[_0x325c40(0x28c)](_0x4f9610)){const _0x1b8bb6=_0x218da6[_0x325c40(0x249)](_0x4f9610);this[_0x325c40(0x1e9)](_0x53ce2,_0x4f9610);for(const _0x63700 of _0x1b8bb6[_0x325c40(0x242)]()){const _0x344ff7=_0x1b8bb6[_0x325c40(0x249)](_0x63700);_0x344ff7!=null&&(_0x344ff7['forValue']((_0x352891,_0x50fa8b,_0x35d80a)=>{const _0x5037c0=_0x325c40;this[_0x5037c0(0x1db)][_0x5037c0(0x249)](_0x35d80a)&&this[_0x5037c0(0x1ee)](_0x35d80a);}),this[_0x325c40(0x28b)][_0x325c40(0x1c2)](_0x63700));}_0x1b8bb6['clear']();}else{if(_0x218da6){for(const _0x37443c of _0x218da6[_0x325c40(0x242)]()){const _0x3439cc=_0x218da6[_0x325c40(0x249)](_0x37443c);this[_0x325c40(0x1e9)](_0x53ce2,_0x37443c);for(const _0x4687b4 of _0x3439cc[_0x325c40(0x242)]()){const _0x3292b9=_0x3439cc['get'](_0x4687b4);_0x3292b9!=null&&(_0x3292b9[_0x325c40(0x260)]((_0x26caf2,_0x2eb954,_0xe83c85)=>{const _0x4238a8=_0x325c40;this[_0x4238a8(0x1db)][_0x4238a8(0x249)](_0xe83c85)&&this['_removeAllTreeMap'](_0xe83c85);}),this[_0x325c40(0x28b)]['delete'](_0x4687b4));}}this[_0x325c40(0x285)]['delete'](_0x53ce2);}}}[_0x1761eb(0x288)](_0x80b87c,_0x37917a,_0x1f31cf,_0x1161ad){const _0x4fd120=_0x1761eb;this['_featureFormulaData'][_0x4fd120(0x28c)](_0x80b87c)||this['_featureFormulaData']['set'](_0x80b87c,new Map());const _0x3039c8=this['_featureFormulaData'][_0x4fd120(0x249)](_0x80b87c);_0x3039c8[_0x4fd120(0x28c)](_0x37917a)||_0x3039c8[_0x4fd120(0x215)](_0x37917a,new Map()),_0x3039c8[_0x4fd120(0x249)](_0x37917a)[_0x4fd120(0x215)](_0x1f31cf,_0x1161ad[_0x4fd120(0x291)]);}['removeFeatureFormulaDependency'](_0x580b96,_0x154775,_0x344f82){const _0x550350=_0x1761eb,_0x5be727=this[_0x550350(0x278)][_0x550350(0x249)](_0x580b96);if(_0x5be727&&_0x5be727['has'](_0x154775)){const _0x1276cd=_0x5be727[_0x550350(0x249)](_0x154775);_0x344f82['forEach'](_0x2a1a9a=>{const _0x304491=_0x550350,_0x1ef01d=_0x1276cd['get'](_0x2a1a9a);_0x1ef01d!=null&&(this['_removeDependencyRTreeCache'](_0x1ef01d),_0x1276cd[_0x304491(0x1c2)](_0x2a1a9a),this[_0x304491(0x1ee)](_0x1ef01d));});}}[_0x1761eb(0x1eb)](_0x384a37,_0x4e8336){const _0x5a9042=_0x1761eb,_0x539d47=this[_0x5a9042(0x278)][_0x5a9042(0x249)](_0x384a37);if(_0x4e8336&&_0x539d47&&_0x539d47[_0x5a9042(0x28c)](_0x4e8336)){const _0x58e788=_0x539d47['get'](_0x4e8336);this['_removeDependencyRTreeCacheById'](_0x384a37,_0x4e8336),_0x58e788[_0x5a9042(0x1fc)](_0xb28374=>{const _0x3049c7=_0x5a9042;_0xb28374!=null&&this[_0x3049c7(0x1ee)](_0xb28374);}),_0x58e788[_0x5a9042(0x250)]();}else _0x539d47&&(_0x539d47[_0x5a9042(0x1fc)]((_0x2950ac,_0x38f2cf)=>{const _0x5780b9=_0x5a9042;this[_0x5780b9(0x1e9)](_0x384a37,_0x38f2cf),_0x2950ac['forEach'](_0x581cdc=>{const _0x5d1160=_0x5780b9;_0x581cdc!=null&&this[_0x5d1160(0x1ee)](_0x581cdc);});}),this[_0x5a9042(0x278)][_0x5a9042(0x1c2)](_0x384a37));}[_0x1761eb(0x25f)](_0x22026a,_0x271aee,_0x48db87,_0x118eaa,_0x5b6b3d){const _0xf78828=_0x1761eb;this['_formulaData'][_0xf78828(0x28c)](_0x22026a)||this[_0xf78828(0x1e0)]['set'](_0x22026a,new Map());const _0x28720e=this[_0xf78828(0x1e0)]['get'](_0x22026a);_0x28720e[_0xf78828(0x28c)](_0x271aee)||_0x28720e[_0xf78828(0x215)](_0x271aee,new _0x5c2490()),_0x28720e[_0xf78828(0x249)](_0x271aee)[_0xf78828(0x1d2)](_0x48db87,_0x118eaa,_0x5b6b3d[_0xf78828(0x291)]);}['removeFormulaDependency'](_0x4c9043,_0x2fdf51,_0x1f7007,_0x2edc23){const _0x152e75=_0x1761eb,_0x4be63c=this['_formulaData']['get'](_0x4c9043);if(_0x4be63c&&_0x4be63c[_0x152e75(0x28c)](_0x2fdf51)){const _0x33d368=_0x4be63c[_0x152e75(0x249)](_0x2fdf51),_0x3479cc=_0x33d368[_0x152e75(0x1fe)](_0x1f7007,_0x2edc23);if(_0x3479cc==null)return;this['_removeDependencyRTreeCache'](_0x3479cc),_0x33d368[_0x152e75(0x1ce)](_0x1f7007,_0x2edc23),this[_0x152e75(0x1ee)](_0x3479cc);}}[_0x1761eb(0x205)](_0x253b79,_0xc2f103){const _0x1ce3c9=_0x1761eb,_0x227c2b=this[_0x1ce3c9(0x1e0)][_0x1ce3c9(0x249)](_0x253b79);if(_0xc2f103&&_0x227c2b&&_0x227c2b['has'](_0xc2f103)){const _0x1e3bf7=_0x227c2b[_0x1ce3c9(0x249)](_0xc2f103);this[_0x1ce3c9(0x1e9)](_0x253b79,_0xc2f103),_0x1e3bf7[_0x1ce3c9(0x260)]((_0x31d1d6,_0x1036f3,_0x104ba6)=>{const _0xad278e=_0x1ce3c9;if(_0x104ba6==null)return!0x0;this[_0xad278e(0x1ee)](_0x104ba6);}),_0x1e3bf7['reset']();}else _0x227c2b&&(_0x227c2b[_0x1ce3c9(0x1fc)]((_0x2355e9,_0xee1755)=>{this['_removeDependencyRTreeCacheById'](_0x253b79,_0xee1755),_0x2355e9['forValue']((_0x1b5a7b,_0x36db1e,_0x382a9f)=>{const _0x54beb6=_0x5283;if(_0x382a9f==null)return!0x0;this[_0x54beb6(0x1ee)](_0x382a9f);});}),this[_0x1ce3c9(0x1e0)]['delete'](_0x253b79));}[_0x1761eb(0x26f)](_0x566c48){const _0x4ebe86=_0x1761eb;if(_0x566c48==null)return;const _0x1508cb=this[_0x4ebe86(0x1db)][_0x4ebe86(0x249)](_0x566c48);if(_0x1508cb){const _0x165501=[];for(const [_0x4debc9,_0x3231fb]of _0x1508cb)for(const [_0x94a0dc,_0x22a497]of _0x3231fb)_0x165501['push']({'unitId':_0x4debc9,'sheetId':_0x94a0dc,'range':_0x22a497,'id':_0x566c48});this['_dependencyRTreeCache'][_0x4ebe86(0x26d)](_0x165501);}}['removeFormulaDependencyByDefinedName'](_0x487738,_0x479395){const _0x5883f3=_0x1761eb,_0xcd485b=this[_0x5883f3(0x277)][_0x5883f3(0x249)](_0x487738);if(_0xcd485b){const _0xc0c1c9=_0xcd485b[_0x5883f3(0x249)](_0x479395);if(_0xc0c1c9){for(const _0x12fff6 of _0xc0c1c9)this[_0x5883f3(0x26f)](_0x12fff6),this[_0x5883f3(0x1ee)](_0x12fff6);_0xc0c1c9[_0x5883f3(0x250)]();}}}[_0x1761eb(0x1f1)](){const _0x560d7b=_0x1761eb;this[_0x560d7b(0x229)][_0x560d7b(0x1f1)]();}['closeKdTree'](){const _0x4e3e04=_0x1761eb;this[_0x4e3e04(0x229)][_0x4e3e04(0x24b)]();}[_0x1761eb(0x1ee)](_0xd274c8){_0xd274c8!=null&&this['_allTreeMap']['delete'](_0xd274c8);}[_0x1761eb(0x1f7)](_0x333b02){const _0x541171=_0x1761eb;var _0x3cf462,_0x290bc9;const _0x3be83f=_0x333b02[_0x541171(0x27c)];let _0x3845dc=this[_0x541171(0x1db)][_0x541171(0x249)](_0x333b02[_0x541171(0x291)]);for(let _0x57ff8e=0x0;_0x57ff8e<_0x3be83f['length'];_0x57ff8e++){const _0x7687d2=_0x3be83f[_0x57ff8e];let {unitId:_0x575fde,sheetId:_0x1378d1,range:_0x19a666}=_0x7687d2;_0x3845dc||(_0x3845dc=new Map(),this['_allTreeMap'][_0x541171(0x215)](_0x333b02['treeId'],_0x3845dc)),_0x3845dc[_0x541171(0x28c)](_0x575fde)||_0x3845dc[_0x541171(0x215)](_0x575fde,new Map());const _0x490ebf=(_0x3cf462=_0x3845dc==null?void 0x0:_0x3845dc[_0x541171(0x249)](_0x575fde))==null?void 0x0:_0x3cf462[_0x541171(0x249)](_0x1378d1);_0x490ebf&&(_0x19a666={'startRow':Math[_0x541171(0x210)](_0x19a666[_0x541171(0x1e3)],_0x490ebf[_0x541171(0x1e3)]),'startColumn':Math[_0x541171(0x210)](_0x19a666['startColumn'],_0x490ebf[_0x541171(0x241)]),'endRow':Math[_0x541171(0x24f)](_0x19a666[_0x541171(0x1e5)],_0x490ebf[_0x541171(0x1e5)]),'endColumn':Math[_0x541171(0x24f)](_0x19a666[_0x541171(0x244)],_0x490ebf['endColumn'])}),(_0x290bc9=_0x3845dc[_0x541171(0x249)](_0x575fde))==null||_0x290bc9[_0x541171(0x215)](_0x1378d1,_0x19a666);}}}function _0x312c(){const _0x237098=['delete','addOtherFormulaDependencyMainData','formula','refOffsetX','_clearFunctionString','getDirtyData','_handleTextNodeForExprTree','_astTreeBuilder','featureId','string','85996ZKdMTj','error','realDeleteValue','column','_currentUnitId','featureDirtyRanges','setValue','isAdded','8912jXMFIk','_getCurNodeTypeForExprTree','_interpreter','_handleNewFunctionChild','parseInt','_currentConfigService','range','_allTreeMap','_getTreeById','bulkSearch','_getTableNameFromStructuredRef','isCache','_formulaData','setRuntimeFeatureRange','_checkIsCycleDependency','startRow','size','endRow','clearOtherFormulaDependency','addFormulaDependencyByDefinedName','_isCalculateTreeModel','_removeDependencyRTreeCacheById','START_CALCULATION','clearFeatureFormulaDependency','CURRENTLY_CALCULATING_ARRAY_FORMULA','MINUS','_removeAllTreeMap','setDependencyTreeModelData','_calculateRunList','openKdTree','45YHBlnm','reset','START_CALCULATION_ARRAY_FORMULA','pop','refOffsetY','_addAllTreeMap','_xlfn.','toUpperCase','_traverse','unitId','forEach','IDLE','getValue','OTHER_FORMULA','setRuntimeFeatureCellData','setCurrent','_apply','getFeatureFormulaDependency','_executionInProgressListener$','clearFormulaDependency','formulaId','resolve','getDirtyNameMap','setSkip','getOwnPropertyDescriptor','PLUS','_xlfnPrefix','add','1122824bZzMxX','5721408GySRva','min','START_DEPENDENCY','VALUE','_dependencyTreeCache','markedAsSuccessfullyExecuted','set','refTree','_generateExprTree','_lambdaFunctionParameterSet','_checkAddBracketForMinus','_startFormulaDependencyTreeModel','_lexer','values','push','setCompletedArrayFormulasCount','_runtimeService','subUnitId','isVirtual','getAllRuntimeData','_createVirtualFDtree','_getAllTreeList','2LJdbrY','_handleLambdaForExprTree','searchDependency','hasOtherFormulaDataMainData','_dependencyRTreeCache','symbol','4626482PeGRzE','getToken','join','_formulaDependencyGenerator','setTotalFormulasToCalculate','setTotalArrayFormulasToCalculate','removeOtherFormulaDependency','toRTreeItem','type','getFormulaExprTree','_getAllDependencyJson','_getDependencyTreeChildrenIds','Lambda\x20parameter\x20name\x20\x22','COLON','_xlpm.','_initializeGenerateTreeList','ParentDependencyTree\x20object\x20is\x20null','inRangeData','_isCyclicUtilMap','sheetId','startsWith','_hasNewExcelFunction','startColumn','keys','2682JpMlnR','endColumn','_convertDirtyRangesToUnitRange','getFormulaDependency','dispose','dirtyRanges','get','_createFDtree','closeKdTree','addOtherFormulaDependency','_clearPrefix','_executionCompleteListener$','max','clear','getDirtyRanges','_injector','from','trim','generate','isSkip','dependencySheetName','execute','_handleChildrenForExprTree','slice','length','notExecuteFormula','2758083EBLlrl','_getUpdateTreeListAndMakeDependency','addFormulaDependency','forValue','endsWith','_otherFormulaManagerService','_getFeatureFormulaTree','getFormulaData','setAdded','_restDependencyTreeId','START_DEPENDENCY_ARRAY_FORMULA','intervalCount','setRuntimeOtherData','children','setFormulaExecuteStage','next','bulkRemove','Let\x20variable\x20name\x20\x22','_removeDependencyRTreeCache','_config','_xlpmPrefix','_registerFormulas','isStopExecution','checkAsyncNode','_updateRangeFlatten','18420940ROzzHd','_definedNameMap','_featureFormulaData','columnCount','_resetPrefix','_configService','rangeList','isDirty','markedAsNoFunctionsExecuted','isArray','rowCount','getRuntimeState','getChildren','_dependencyManagerService','setRuntimeData','_otherFormulaData','_initLicenseValid','getExcludedRange','addFeatureFormulaDependency','clearArrayObjectCache','setCompletedFormulasCount','_otherFormulaDataMainData','has','_dependencyRTreeCacheForAddressFunction','row','_generateTreeList','_generateNewFunctionString','treeId','defineProperty','enableCycleDependency'];_0x312c=function(){return _0x237098;};return _0x312c();}var xe=Object[_0x1761eb(0x20a)],Ee=(_0x5acf53,_0x23bab2,_0x4865c9,_0xfe2f20)=>{const _0x53349a=_0x1761eb;for(var _0xeb09e3=_0xfe2f20>0x1?void 0x0:_0xfe2f20?xe(_0x23bab2,_0x4865c9):_0x23bab2,_0x14e112=_0x5acf53[_0x53349a(0x25b)]-0x1,_0x588f02;_0x14e112>=0x0;_0x14e112--)(_0x588f02=_0x5acf53[_0x14e112])&&(_0xeb09e3=_0x588f02(_0xeb09e3)||_0xeb09e3);return _0xeb09e3;};const je=Number[_0x1761eb(0x1d8)](0x69400444);let $=class extends _0x26ef11{['_initializeWithOverride'](){const _0x450c3b=_0x1761eb;var _0x52915b,_0x3d73dc;this[_0x450c3b(0x286)]()?(this['_injector'][_0x450c3b(0x20d)]([_0x2b23b1,{'useClass':ve}]),(_0x52915b=this[_0x450c3b(0x270)])!=null&&_0x52915b[_0x450c3b(0x25c)]||[[_0x9930af,{'useClass':Je}],[_0x21c40d,{'useClass':Re}],[_0xded5ed,{'useClass':we}]][_0x450c3b(0x1fc)](_0x198d0f=>this[_0x450c3b(0x252)][_0x450c3b(0x20d)](_0x198d0f))):(this[_0x450c3b(0x252)][_0x450c3b(0x20d)]([_0x2b23b1,{'useClass':_0x2b23b1}]),(_0x3d73dc=this['_config'])!=null&&_0x3d73dc['notExecuteFormula']||[[_0x9930af,{'useClass':_0xfcc63d}],[_0x21c40d,{'useClass':_0x2ce4a6}],[_0xded5ed,{'useClass':_0x4c3e32}]][_0x450c3b(0x1fc)](_0x1fb023=>this['_injector'][_0x450c3b(0x20d)](_0x1fb023)));}[_0x1761eb(0x286)](){const _0xc394f9=_0x1761eb;var _0x46f921;const _0x6fbf53=(_0x46f921=this[_0xc394f9(0x27b)]['getConfig'](_0x382386))!=null?_0x46f921:{},{ls:_0x363c81,pbk:_0x39da48}=_0x6fbf53;if(!_0x363c81||!_0x39da48)return!0x1;const _0x3ab9b6=_0x2d1734(Se,Me),_0x27db6c=new Function('return\x20'+_0x3ab9b6)()(_0x363c81,_0x39da48),_0x577aad=_0x27db6c['message'];return _0x27db6c['valid']&&_0x20ccb8(_0x577aad,'sf',je)?_0x277a49(_0x577aad,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};$=Ee([_0x4bd28e(_0x3387eb)],$);export{ve as LexerTreeProBuilder,$ as UniverProFormulaEnginePlugin};
|
|
@@ -9,56 +9,56 @@ export declare const ReverseMap: {
|
|
|
9
9
|
"7": string;
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
|
-
|
|
13
|
-
H: string;
|
|
14
|
-
X: string;
|
|
15
|
-
o: string;
|
|
16
|
-
W: string;
|
|
17
|
-
t: string;
|
|
18
|
-
h: string;
|
|
19
|
-
d: string;
|
|
20
|
-
s: string;
|
|
21
|
-
R: string;
|
|
22
|
-
V: string;
|
|
12
|
+
N: string;
|
|
23
13
|
r: string;
|
|
14
|
+
y: string;
|
|
15
|
+
t: string;
|
|
16
|
+
G: string;
|
|
17
|
+
n: string;
|
|
18
|
+
E: string;
|
|
19
|
+
K: string;
|
|
20
|
+
I: string;
|
|
21
|
+
D: string;
|
|
24
22
|
Q: string;
|
|
25
|
-
T: string;
|
|
26
|
-
p: string;
|
|
27
|
-
w: string;
|
|
28
|
-
Z: string;
|
|
29
23
|
J: string;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
A: string;
|
|
24
|
+
q: string;
|
|
25
|
+
p: string;
|
|
26
|
+
i: string;
|
|
34
27
|
b: string;
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
28
|
+
S: string;
|
|
29
|
+
w: string;
|
|
30
|
+
P: string;
|
|
38
31
|
F: string;
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
U: string;
|
|
42
|
-
n: string;
|
|
43
|
-
G: string;
|
|
44
|
-
e: string;
|
|
45
|
-
i: string;
|
|
46
|
-
O: string;
|
|
47
|
-
y: string;
|
|
32
|
+
d: string;
|
|
33
|
+
h: string;
|
|
48
34
|
j: string;
|
|
49
|
-
|
|
50
|
-
k: string;
|
|
51
|
-
D: string;
|
|
52
|
-
Y: string;
|
|
53
|
-
m: string;
|
|
35
|
+
e: string;
|
|
54
36
|
c: string;
|
|
55
|
-
|
|
56
|
-
|
|
37
|
+
W: string;
|
|
38
|
+
X: string;
|
|
39
|
+
Y: string;
|
|
40
|
+
H: string;
|
|
41
|
+
O: string;
|
|
42
|
+
A: string;
|
|
43
|
+
u: string;
|
|
57
44
|
g: string;
|
|
45
|
+
L: string;
|
|
46
|
+
Z: string;
|
|
47
|
+
V: string;
|
|
48
|
+
M: string;
|
|
49
|
+
l: string;
|
|
58
50
|
C: string;
|
|
51
|
+
m: string;
|
|
52
|
+
o: string;
|
|
53
|
+
v: string;
|
|
54
|
+
k: string;
|
|
55
|
+
U: string;
|
|
59
56
|
x: string;
|
|
57
|
+
R: string;
|
|
58
|
+
B: string;
|
|
59
|
+
a: string;
|
|
60
|
+
T: string;
|
|
61
|
+
z: string;
|
|
62
|
+
s: string;
|
|
60
63
|
f: string;
|
|
61
|
-
q: string;
|
|
62
|
-
E: string;
|
|
63
|
-
P: string;
|
|
64
64
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const getLsInfoFuncStr = "
|
|
1
|
+
export declare const getLsInfoFuncStr = "qW4DciF4 QJDjOdciF4(wiDJ4eJ, dW5wiDCJO) { cjO { DF4ec wiDJ4eJM4qFkIjcujjIO = wiDJ4eJ.edwic('-'); DF4ec Fjipi4oJeeIpJ = lR1v.dIjeJ(IcF5(wiDJ4eJM4qFkIjcujjIO[r])); iq (!Fjipi4oJeeIpJ.WQ) { Fjipi4oJeeIpJ.WQ = vWP5Jj(wiDJ4eJM4qFkIjcujjIO[t]); } DF4ec iezFjSJj = cOdJFq zFjSJjVwF5IwRDFdJ !== 'W4QJqi4JQ' && eJwq i4ecI4DJFq zFjSJjVwF5IwRDFdJ; DF4ec iegjFYeJj = cOdJFq Yi4QFY !== 'W4QJqi4JQ' && cOdJFq Yi4QFY.wFDIciF4 !== 'W4QJqi4JQ'; DF4ec DF4cJHc = iezFjSJj ? eJwq : (iegjFYeJj ? Yi4QFY : pwF5IwB9ie); DF4ec PJeeIpJzFjQ = DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[r]); DF4ec PJeeIpJ = DF4cJHc.__2JH__.ecji4piqO(PJeeIpJzFjQ); DF4ec eip4IcWjJzFjQ = DF4cJHc.__gIeJnt__.dIjeJ(wiDJ4eJM4qFkIjcujjIO[y]); DF4ec eip4IcWjJ = DF4cJHc.__2JH__.ecji4piqO(eip4IcWjJzFjQ); DF4ec eip4TIwiQ = DF4cJHc.__XJjiqO__(eip4IcWjJ, PJeeIpJ, dW5wiDCJO); DF4ec QFPIi4 = Fjipi4oJeeIpJ.QP; qW4DciF4 ieLFPIi4oIcD9i4p(FkIccJj4, F2Fec) { DF4ec dIccJj4 = FkIccJj4.jJdwIDJ(/^.+/, ''); DF4ec 9Fec = F2Fec.jJdwIDJ(/^.+/, ''); DF4ec dIccJj4kIjce = dIccJj4.edwic('.'); DF4ec 9FeckIjce = 9Fec.edwic('.'); iq (!dIccJj4.i4DwWQJe('*')) { jJcWj4 dIccJj4 === 9Fec; } iq (dIccJj4kIjce.wJ4pc9 < r || dIccJj4kIjce[8] !== '*') { jJcWj4 qIweJ; } DF4ec dIccJj4RWqqiH = dIccJj4kIjce.ewiDJ(N).bFi4('.'); DF4ec 9FecRWqqiH = 9FeckIjce.ewiDJ(-dIccJj4kIjce.wJ4pc9 + N).bFi4('.'); jJcWj4 dIccJj4RWqqiH === 9FecRWqqiH; } wJc QFPIi4TIwiQ = qIweJ; iq (iegjFYeJj) { QFPIi4TIwiQ = (QFPIi4 && QFPIi4.wJ4pc9) ? QFPIi4.eFPJ((QPMcJP) => ieLFPIi4oIcD9i4p(QPMcJP, wFDIciF4.9Fec4IPJ)) : cjWJ; iq (wFDIciF4.9Fec4IPJ === 'wFDIw9Fec') { QFPIi4TIwiQ = cjWJ; } } JweJ { QFPIi4TIwiQ = cjWJ; } DF4ec XIwiQ = eip4TIwiQ && QFPIi4TIwiQ; jJcWj4 { XIwiQ, PJeeIpJ: Fjipi4oJeeIpJ, }; } DIcD9 (JjjFj) { jJcWj4 { XIwiQ: qIweJ, PJeeIpJ: {}, }; }}";
|
|
@@ -3,7 +3,7 @@ import { IFeatureCalculationManagerParam, IFormulaData, IFormulaDataItem, IFormu
|
|
|
3
3
|
export declare class FormulaDependencyProGenerator extends FormulaDependencyGenerator {
|
|
4
4
|
protected _dependencyTreeCache: Map<number, IFormulaDependencyTree>;
|
|
5
5
|
dispose(): void;
|
|
6
|
-
generate(): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
|
|
6
|
+
generate(isCalculateTreeModel?: boolean): Promise<(FormulaDependencyTree | FormulaDependencyTreeVirtual)[]>;
|
|
7
7
|
private _isCyclicUtilMap;
|
|
8
8
|
protected _checkIsCycleDependency(treeList: IFormulaDependencyTree[]): boolean;
|
|
9
9
|
protected _getFeatureFormulaTree(featureId: string, treeId: Nullable<number>, params: IFeatureCalculationManagerParam): FormulaDependencyTree;
|
|
@@ -19,4 +19,9 @@ export declare class FormulaDependencyProGenerator extends FormulaDependencyGene
|
|
|
19
19
|
protected _getTreeNode(tree: IFormulaDependencyTree): import('@univerjs/engine-formula/engine/ast-node/ast-root-node.js').AstRootNode;
|
|
20
20
|
private _traverse;
|
|
21
21
|
protected _calculateRunList(treeList: IFormulaDependencyTree[]): (FormulaDependencyTree | FormulaDependencyTreeVirtual)[];
|
|
22
|
+
protected _getAllTreeList(): Promise<IFormulaDependencyTree[]>;
|
|
23
|
+
protected _getDependencyTreeParenIds(tree: IFormulaDependencyTree): Set<number>;
|
|
24
|
+
protected _getDependencyTreeChildrenIds(tree: IFormulaDependencyTree): Set<number>;
|
|
25
|
+
protected _startFormulaDependencyTreeModel(): void;
|
|
26
|
+
protected _endFormulaDependencyTreeModel(): void;
|
|
22
27
|
}
|
|
@@ -1,10 +1,23 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Nullable } from '@univerjs/core';
|
|
2
|
+
import { IDefinedNamesServiceParam, IExprTreeNode, IFunctionNames, ISuperTable, LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
2
3
|
export declare class LexerTreeProBuilder extends LexerTreeBuilder {
|
|
3
4
|
private _hasNewExcelFunction;
|
|
4
5
|
private _lambdaFunctionParameterSet;
|
|
6
|
+
private _xlpmPrefix;
|
|
7
|
+
private _xlfnPrefix;
|
|
8
|
+
private _resetPrefix;
|
|
9
|
+
private _clearPrefix;
|
|
5
10
|
getNewFormulaWithPrefix(formulaString: string, hasFunction: (functionToken: IFunctionNames) => boolean): string | null;
|
|
6
11
|
private _generateNewFunctionString;
|
|
7
12
|
private _handleNewFunctionChild;
|
|
8
13
|
private _clearFunctionString;
|
|
9
14
|
private _checkAddBracketForMinus;
|
|
15
|
+
private _currentUnitId;
|
|
16
|
+
getFormulaExprTree(formulaString: string, unitId: string, hasFunction: (functionToken: IFunctionNames) => boolean, getDefinedNameName: (unitId: string, name: string) => Nullable<IDefinedNamesServiceParam>, getTable: (unitId: string, tableName: string) => Nullable<ISuperTable>): IExprTreeNode | null;
|
|
17
|
+
private _generateExprTree;
|
|
18
|
+
private _handleChildrenForExprTree;
|
|
19
|
+
private _handleTextNodeForExprTree;
|
|
20
|
+
private _getTableNameFromStructuredRef;
|
|
21
|
+
private _handleLambdaForExprTree;
|
|
22
|
+
private _getCurNodeTypeForExprTree;
|
|
10
23
|
}
|
package/lib/types/index.d.ts
CHANGED
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x54e9(_0x5dadc1,_0x143f2e){_0x5dadc1=_0x5dadc1-0xea;var _0x50eb97=_0x50eb();var _0x54e9c1=_0x50eb97[_0x5dadc1];return _0x54e9c1;}function _0x50eb(){var _0x46546b=['forEach','892404tyvwrt','amd','3558102iFqaJv','defineProperty','exports','default','Module','function','3341748LmilSy','UniverEngineFormulaFacade','50370pmVfti','@univerjs/engine-formula/facade','4224360uDMLet','object','call','2032198dLBbUc','832571ftNWDT','toStringTag','2LxCZxS'];_0x50eb=function(){return _0x46546b;};return _0x50eb();}(function(_0x16c154,_0x503923){var _0x5472d1=_0x54e9,_0x56e852=_0x16c154();while(!![]){try{var _0x1b5565=parseInt(_0x5472d1(0xf8))/0x1*(parseInt(_0x5472d1(0xfa))/0x2)+-parseInt(_0x5472d1(0xfc))/0x3+parseInt(_0x5472d1(0xf0))/0x4+-parseInt(_0x5472d1(0xf2))/0x5+-parseInt(_0x5472d1(0xea))/0x6+parseInt(_0x5472d1(0xf7))/0x7+-parseInt(_0x5472d1(0xf4))/0x8;if(_0x1b5565===_0x503923)break;else _0x56e852['push'](_0x56e852['shift']());}catch(_0x4a1361){_0x56e852['push'](_0x56e852['shift']());}}}(_0x50eb,0x81536),function(_0xc71405,_0x5c6c71){var _0x4fa7b7=_0x54e9;typeof exports==_0x4fa7b7(0xf5)&&typeof module<'u'?_0x5c6c71(exports,require('@univerjs/engine-formula/facade')):typeof define==_0x4fa7b7(0xef)&&define[_0x4fa7b7(0xfd)]?define([_0x4fa7b7(0xec),_0x4fa7b7(0xf3)],_0x5c6c71):(_0xc71405=typeof globalThis<'u'?globalThis:_0xc71405||self,_0x5c6c71(_0xc71405['UniverProEngineFormulaFacade']={},_0xc71405[_0x4fa7b7(0xf1)]));}(this,function(_0x179f79,_0x16565a){'use strict';var _0x3974e1=_0x54e9;Object['keys'](_0x16565a)[_0x3974e1(0xfb)](_0x4706d3=>{var _0x5dcaa2=_0x3974e1;_0x4706d3!==_0x5dcaa2(0xed)&&!Object['prototype']['hasOwnProperty'][_0x5dcaa2(0xf6)](_0x179f79,_0x4706d3)&&Object[_0x5dcaa2(0xeb)](_0x179f79,_0x4706d3,{'enumerable':!0x0,'get':()=>_0x16565a[_0x4706d3]});}),Object[_0x3974e1(0xeb)](_0x179f79,Symbol[_0x3974e1(0xf9)],{'value':_0x3974e1(0xee)});}));
|