@univerjs-pro/engine-formula 0.12.4-insiders.20251213-692494c → 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 +1 -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 +5 -5
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x47d436=_0x14cc;(function(_0x1add30,_0x523aba){const _0x2769e0=_0x14cc,_0x1bda8f=_0x1add30();while(!![]){try{const _0x111eb8=parseInt(_0x2769e0(0x204))/0x1+parseInt(_0x2769e0(0x1fb))/0x2*(parseInt(_0x2769e0(0x20d))/0x3)+parseInt(_0x2769e0(0x216))/0x4*(parseInt(_0x2769e0(0x21a))/0x5)+parseInt(_0x2769e0(0x224))/0x6+-parseInt(_0x2769e0(0x239))/0x7+parseInt(_0x2769e0(0x1eb))/0x8+-parseInt(_0x2769e0(0x281))/0x9;if(_0x111eb8===_0x523aba)break;else _0x1bda8f['push'](_0x1bda8f['shift']());}catch(_0x3e59af){_0x1bda8f['push'](_0x1bda8f['shift']());}}}(_0x1942,0xde8a7));var J=Object['defineProperty'],X=(_0x1f2a31,_0x122e3a,_0x2e15ee)=>_0x122e3a in _0x1f2a31?J(_0x1f2a31,_0x122e3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e15ee}):_0x1f2a31[_0x122e3a]=_0x2e15ee,v=(_0x4cbdbe,_0x54a4e8,_0x46be03)=>X(_0x4cbdbe,typeof _0x54a4e8!=_0x47d436(0x226)?_0x54a4e8+'':_0x54a4e8,_0x46be03);import{UniverLicensePlugin as _0x3b55cd,LS_CONFIG_KEY as _0x12224a,unshiftString as _0x220aa4,isFeatureAuthorizedWithinTime as _0x3628fc,getSheetFeatureLimit as _0x4071cf}from'@univerjs-pro/license';import{ObjectMatrix as _0xbf8c86,requestImmediateMacroTask as _0x3150d0,RTree as _0x1f9160,DependentOn as _0x4d6817}from'@univerjs/core';import{FormulaDependencyGenerator as _0x4ef89f,generateRandomDependencyTreeId as _0x8c819e,FormulaDependencyTree as _0x206cd5,FormulaDependencyTreeType as _0xdb7d0c,FormulaDependencyTreeVirtual as _0x791143,generateAstNode as _0x5a6f50,LexerTreeBuilder as _0x551b17,ErrorType as _0x596721,DEFAULT_TOKEN_TYPE_ROOT as _0x524767,DEFAULT_TOKEN_TYPE_PARAMETER as _0xf912a2,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x99ba67,NEW_EXCEL_FUNCTIONS as _0x5a0d90,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x538a7e,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x16f973,matchToken as _0x2132d6,SUFFIX_TOKEN_SET as _0x10a201,prefixToken as _0x377702,LexerNode as _0x44c9e1,OPERATOR_TOKEN_SET as _0x335289,CalculateFormulaService as _0x2bdb8a,FormulaExecuteStageType as _0x2c53d7,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x394199,DEFAULT_INTERVAL_COUNT as _0x15e3b9,DependencyManagerBaseService as _0x589bc8,UniverFormulaEnginePlugin as _0x412443,ICalculateFormulaService as _0x43ede9,IDependencyManagerService as _0x55f7a1,IFormulaDependencyGenerator as _0x498fc6,DependencyManagerService as _0xcd438f}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';const Ce={0x0:'t',0x1:'b',0x2:'9',0x3:'z',0x4:'n',0x5:'c',0x6:'6',0x7:'5',0x8:'v',0x9:'3','N':'0','P':'1','R':'2','j':'4','v':'7','X':'8','Q':'a','o':'d','B':'e','Z':'f','M':'g','w':'h','m':'i','a':'j','f':'k','p':'l','x':'m','c':'o','d':'p','V':'q','H':'r','i':'s','r':'u','k':'w','t':'x','G':'y','L':'A','Y':'B','e':'C','I':'D','h':'E','U':'F','y':'G','A':'H','z':'I','n':'J','T':'K','b':'L','g':'M','u':'N','O':'O','l':'P','S':'Q','W':'R','D':'S','K':'T','F':'U','J':'V','q':'W','C':'X','s':'Y','E':'Z'},Me='Zr450mc4\x20oB5HGd0mc4(pm5B4iB,\x20dr1pm5TBG)\x20{\x20\x20\x20\x200HG\x20{\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20pm5B4iBz4ZclQH0LHHQG\x20=\x20pm5B4iB.idpm0(\x27-\x27);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20cHmMm4gBiiQMB\x20=\x20nDOu.dQHiB(Q0c1(pm5B4iBz4ZclQH0LHHQG[R]));\x20\x20\x20\x20\x20\x20\x20\x20mZ\x20(!cHmMm4gBiiQMB.ro)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20cHmMm4gBiiQMB.ro\x20=\x20urx1BH(pm5B4iBz4ZclQH0LHHQG[j]);\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20miqcHfBH\x20=\x200GdBcZ\x20qcHfBHypc1QpD5cdB\x20!==\x20\x27r4oBZm4Bo\x27\x20&&\x20iBpZ\x20m4i0Q45BcZ\x20qcHfBHypc1QpD5cdB;\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20miYHckiBH\x20=\x200GdBcZ\x20km4ock\x20!==\x20\x27r4oBZm4Bo\x27\x20&&\x200GdBcZ\x20km4ock.pc5Q0mc4\x20!==\x20\x27r4oBZm4Bo\x27;\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x205c40Bt0\x20=\x20miqcHfBH\x20?\x20iBpZ\x20:\x20(miYHckiBH\x20?\x20km4ock\x20:\x20Mpc1QpKwmi);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20xBiiQMBqcHo\x20=\x205c40Bt0.__YQiB6j__.dQHiB(pm5B4iBz4ZclQH0LHHQG[R]);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20xBiiQMB\x20=\x205c40Bt0.__ABt__.i0Hm4MmZG(xBiiQMBqcHo);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20imM4Q0rHBqcHo\x20=\x205c40Bt0.__YQiB6j__.dQHiB(pm5B4iBz4ZclQH0LHHQG[9]);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20imM4Q0rHB\x20=\x205c40Bt0.__ABt__.i0Hm4MmZG(imM4Q0rHBqcHo);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20imM4JQpmo\x20=\x205c40Bt0.__8BHmZG__(imM4Q0rHB,\x20xBiiQMB,\x20dr1pm5TBG);\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20ocxQm4\x20=\x20cHmMm4gBiiQMB.ox;\x20\x20\x20\x20\x20\x20\x20\x20Zr450mc4\x20miIcxQm4gQ05wm4M(clQ00BH4,\x20cAci0)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20dQ00BH4\x20=\x20clQ00BH4.HBdpQ5B(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20wci0\x20=\x20cAci0.HBdpQ5B(/^.+/,\x20\x27\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20dQ00BH4lQH0i\x20=\x20dQ00BH4.idpm0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20wci0lQH0i\x20=\x20wci0.idpm0(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mZ\x20(!dQ00BH4.m45proBi(\x27*\x27))\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HB0rH4\x20dQ00BH4\x20===\x20wci0;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mZ\x20(dQ00BH4lQH0i.pB4M0w\x20<\x20R\x20||\x20dQ00BH4lQH0i[N]\x20!==\x20\x27*\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HB0rH4\x20ZQpiB;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20dQ00BH4DrZZmt\x20=\x20dQ00BH4lQH0i.ipm5B(P).acm4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x20wci0DrZZmt\x20=\x20wci0lQH0i.ipm5B(-dQ00BH4lQH0i.pB4M0w\x20+\x20P).acm4(\x27.\x27);\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20HB0rH4\x20dQ00BH4DrZZmt\x20===\x20wci0DrZZmt;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20pB0\x20ocxQm4JQpmo\x20=\x20ZQpiB;\x20\x20\x20\x20\x20\x20\x20\x20mZ\x20(miYHckiBH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocxQm4JQpmo\x20=\x20(ocxQm4\x20&&\x20ocxQm4.pB4M0w)\x20?\x20ocxQm4.icxB((oxz0Bx)\x20=>\x20miIcxQm4gQ05wm4M(oxz0Bx,\x20pc5Q0mc4.wci04QxB))\x20:\x200HrB;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mZ\x20(pc5Q0mc4.wci04QxB\x20===\x20\x27pc5Qpwci0\x27)\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocxQm4JQpmo\x20=\x200HrB;\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x20}\x20BpiB\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20ocxQm4JQpmo\x20=\x200HrB;\x20\x20\x20\x20\x20\x20\x20\x20}\x20\x20\x20\x20\x20\x20\x20\x205c4i0\x208Qpmo\x20=\x20imM4JQpmo\x20&&\x20ocxQm4JQpmo;\x20\x20\x20\x20\x20\x20\x20\x20HB0rH4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Qpmo,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xBiiQMB:\x20cHmMm4gBiiQMB,\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}\x205Q05w\x20(BHHcH)\x20{\x20\x20\x20\x20\x20\x20\x20\x20HB0rH4\x20{\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x208Qpmo:\x20ZQpiB,\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20xBiiQMB:\x20{},\x20\x20\x20\x20\x20\x20\x20\x20};\x20\x20\x20\x20}}';class Be extends _0x4ef89f{constructor(){const _0x5092d1=_0x47d436;super(...arguments),v(this,_0x5092d1(0x29c),new Map());}['dispose'](){const _0x86abae=_0x47d436;super[_0x86abae(0x1fe)](),this[_0x86abae(0x29c)][_0x86abae(0x289)]();}async[_0x47d436(0x223)](){const _0x430776=_0x47d436;this['_updateRangeFlatten']();const _0x1c5ae1=this[_0x430776(0x269)][_0x430776(0x213)](),_0x2de3a2=this[_0x430776(0x1f0)][_0x430776(0x1f7)](),_0x5e3307=this[_0x430776(0x269)][_0x430776(0x27a)]();_0x5e3307!=null&&Object['keys'](_0x5e3307)[_0x430776(0x274)](_0x20fd56=>{const _0x3eda3e=_0x430776;_0x20fd56!=null&&Object['keys'](_0x5e3307[_0x20fd56])[_0x3eda3e(0x274)](_0x1483ec=>{const _0x10a761=_0x3eda3e;_0x1483ec!=null&&(this[_0x10a761(0x1e2)][_0x10a761(0x233)](_0x20fd56,_0x1483ec),this[_0x10a761(0x1e2)][_0x10a761(0x242)](_0x20fd56,_0x1483ec),this[_0x10a761(0x1e2)]['clearFormulaDependency'](_0x20fd56,_0x1483ec));});});const _0xea9e6b=this[_0x430776(0x269)][_0x430776(0x282)]();await this[_0x430776(0x250)](_0x1c5ae1,_0x2de3a2,_0xea9e6b),this[_0x430776(0x1e2)]['openKdTree']();const _0x5667d4=this[_0x430776(0x211)](),_0xd57a42=this[_0x430776(0x248)](_0x5667d4);return this[_0x430776(0x205)](_0xd57a42)&&this[_0x430776(0x218)][_0x430776(0x21f)](),this['_dependencyTreeCache'][_0x430776(0x289)](),this['_dependencyRTreeCacheForAddressFunction']['clear'](),this[_0x430776(0x1e2)][_0x430776(0x23c)](),this[_0x430776(0x218)][_0x430776(0x206)](),Promise[_0x430776(0x245)](_0xd57a42);}[_0x47d436(0x285)](_0x29f2f0,_0x1e02cd){const _0x54ddb6=_0x47d436,_0x2f5733=[_0x29f2f0];for(;_0x2f5733[_0x54ddb6(0x227)]>0x0;){const _0x7a6a70=_0x2f5733[_0x2f5733[_0x54ddb6(0x227)]-0x1];if((_0x1e02cd[_0x54ddb6(0x231)](_0x7a6a70)||0x0)===0x0){_0x1e02cd['set'](_0x7a6a70,0x1);const _0x2cc583=this[_0x54ddb6(0x29c)]['get'](_0x7a6a70);if(_0x2cc583==null){_0x1e02cd[_0x54ddb6(0x1f1)](_0x7a6a70,0x2),_0x2f5733[_0x54ddb6(0x28b)]();continue;}const _0x235bea=this[_0x54ddb6(0x1e2)][_0x54ddb6(0x28f)](_0x2cc583['toRTreeItem']());for(const _0x3d209d of _0x235bea){const _0x1ef4e=_0x1e02cd[_0x54ddb6(0x231)](_0x3d209d)||0x0;if(_0x1ef4e===0x1)return!0x0;_0x1ef4e===0x0&&_0x2f5733['push'](_0x3d209d);}}else _0x1e02cd[_0x54ddb6(0x1f1)](_0x7a6a70,0x2),_0x2f5733[_0x54ddb6(0x28b)]();}return!0x1;}['_checkIsCycleDependency'](_0xc38338){const _0x383bda=_0x47d436,_0x20cbf2=new Map();for(const _0x4d7d08 of _0xc38338)if(!_0x20cbf2['has'](_0x4d7d08[_0x383bda(0x27d)])&&this['_isCyclicUtilMap'](_0x4d7d08[_0x383bda(0x27d)],_0x20cbf2))return!0x0;return _0x20cbf2[_0x383bda(0x289)](),!0x1;}['_getFeatureFormulaTree'](_0xb44852,_0x18e584,_0x431bad){const _0x3325cf=_0x47d436,{unitId:_0x142233,subUnitId:_0x16c092,dependencyRanges:_0x32f0d9,getDirtyData:_0x236cd9}=_0x431bad,_0x4fa04f=_0x18e584||_0x8c819e(this[_0x3325cf(0x1e2)]),_0x535ac3=new _0x206cd5(_0x4fa04f);_0x535ac3[_0x3325cf(0x270)]=_0x142233,_0x535ac3[_0x3325cf(0x259)]=_0x16c092,_0x535ac3[_0x3325cf(0x222)]=_0x32f0d9,_0x535ac3[_0x3325cf(0x221)]=_0x236cd9;const _0x11719d=_0x236cd9(this[_0x3325cf(0x269)][_0x3325cf(0x221)](),this['_runtimeService'][_0x3325cf(0x210)]()),_0x46ef85=this[_0x3325cf(0x277)](_0x11719d[_0x3325cf(0x254)]);return _0x535ac3[_0x3325cf(0x24a)]=_0x46ef85,_0x535ac3[_0x3325cf(0x299)]=_0xb44852,_0x535ac3[_0x3325cf(0x258)]=_0xdb7d0c[_0x3325cf(0x273)],this[_0x3325cf(0x1e2)][_0x3325cf(0x25f)](_0x142233,_0x16c092,_0xb44852,_0x535ac3),this[_0x3325cf(0x29c)][_0x3325cf(0x1f1)](_0x535ac3[_0x3325cf(0x27d)],_0x535ac3),this[_0x3325cf(0x1e2)]['getFeatureFormulaDependency'](_0x431bad[_0x3325cf(0x270)],_0x431bad['subUnitId'],_0xb44852)&&(_0x535ac3[_0x3325cf(0x214)]=!0x0),_0x535ac3;}[_0x47d436(0x20a)](_0x245c55,_0x3f7138,_0x39d0b0){const _0x4691d1=_0x47d436;var _0x7c2062;for(const _0x2d7b33 of _0x3f7138){const _0x2c96b1=_0x245c55[_0x2d7b33];if(_0x2c96b1==null)continue;const _0xac1f5b=Object['keys'](_0x2c96b1);for(const _0x5f15fa of _0xac1f5b){const _0x48b6ae=_0x2c96b1[_0x5f15fa];if(_0x48b6ae==null)continue;const _0x28bff7=Object[_0x4691d1(0x1e9)](_0x48b6ae);for(const _0x286e10 of _0x28bff7){const _0x5e0a3f=this['_dependencyManagerService'][_0x4691d1(0x1ef)](_0x286e10),_0x4181ce=_0x48b6ae[_0x286e10],{f:_0x36f2b1,ranges:_0x3b38ea}=_0x4181ce;let _0x5342ec=!0x1;_0x5e0a3f&&(_0x5342ec=!0x0);const {firstRow:_0x6a5de5,firstColumn:_0x5789bd}=this[_0x4691d1(0x1ec)](_0x3b38ea),_0x5b07dd=this[_0x4691d1(0x1e2)][_0x4691d1(0x1f2)](_0x2d7b33,_0x5f15fa,_0x286e10),_0x4f4036=(_0x7c2062=_0x5b07dd==null?void 0x0:_0x5b07dd[_0x4691d1(0x207)](0x0,0x0))!=null?_0x7c2062:_0x8c819e(this[_0x4691d1(0x1e2)]),_0x135cf9=new _0x206cd5(_0x4f4036);for(let _0x4ff70c=0x0;_0x4ff70c<_0x3b38ea[_0x4691d1(0x227)];_0x4ff70c++){const _0x26349e=_0x3b38ea[_0x4ff70c],{startRow:_0x59f55e,startColumn:_0x60328f,endRow:_0x4997a0,endColumn:_0x2bc543}=_0x26349e;for(let _0x9ff791=_0x59f55e;_0x9ff791<=_0x4997a0;_0x9ff791++)for(let _0x4cf582=_0x60328f;_0x4cf582<=_0x2bc543;_0x4cf582++){const _0x3cf39b=_0x4cf582-_0x5789bd,_0x586d5e=_0x9ff791-_0x6a5de5;if(_0x3cf39b===0x0&&_0x586d5e===0x0){_0x135cf9[_0x4691d1(0x252)]=_0x36f2b1,_0x135cf9[_0x4691d1(0x270)]=_0x2d7b33,_0x135cf9[_0x4691d1(0x259)]=_0x5f15fa,_0x135cf9[_0x4691d1(0x209)]=_0x286e10,_0x135cf9[_0x4691d1(0x258)]=_0xdb7d0c[_0x4691d1(0x1f5)],_0x135cf9['isCache']=_0x5342ec,_0x39d0b0[_0x4691d1(0x28e)](_0x135cf9),this['_dependencyTreeCache'][_0x4691d1(0x1f1)](_0x135cf9[_0x4691d1(0x27d)],_0x135cf9),this[_0x4691d1(0x1e2)][_0x4691d1(0x202)](_0x2d7b33,_0x5f15fa,_0x286e10,_0x135cf9),this[_0x4691d1(0x1e2)][_0x4691d1(0x26b)](_0x135cf9);continue;}const _0x470c2b=new _0x791143();_0x470c2b[_0x4691d1(0x27d)]=(_0x5b07dd==null?void 0x0:_0x5b07dd[_0x4691d1(0x207)](_0x3cf39b,_0x586d5e))||_0x8c819e(this[_0x4691d1(0x1e2)]),_0x470c2b[_0x4691d1(0x244)]=_0x135cf9,_0x470c2b['refOffsetX']=_0x3cf39b,_0x470c2b['refOffsetY']=_0x586d5e,_0x470c2b[_0x4691d1(0x214)]=_0x5342ec,this['_dependencyManagerService'][_0x4691d1(0x202)](_0x2d7b33,_0x5f15fa,_0x286e10,_0x470c2b),this[_0x4691d1(0x1e2)][_0x4691d1(0x26b)](_0x470c2b),_0x39d0b0[_0x4691d1(0x28e)](_0x470c2b),this[_0x4691d1(0x29c)]['set'](_0x470c2b[_0x4691d1(0x27d)],_0x470c2b);}}this[_0x4691d1(0x1e2)][_0x4691d1(0x22f)](_0x286e10);}}}}[_0x47d436(0x251)](_0x280327,_0x2986a5,_0x33cfa3,_0x4f7039){const _0x17c075=_0x47d436;for(const _0x506b7a of _0x280327){const _0x3b06de=_0x2986a5[_0x506b7a];if(_0x3b06de==null)continue;const _0x55fb55=Object[_0x17c075(0x1e9)](_0x3b06de);for(const _0x444d0b of _0x55fb55){const _0x5b320c=new _0xbf8c86(_0x3b06de[_0x444d0b]||{}),_0x5a9910=new Map();_0x5b320c['forValue']((_0x4e6f3a,_0x4a087f,_0x36a2f0)=>{const _0x55852a=_0x17c075;if(_0x36a2f0==null)return!0x0;const {x:_0x4232e4=0x0,y:_0x273f29=0x0,si:_0x41e7ac}=_0x36a2f0;if(!(_0x4232e4===0x0&&_0x273f29===0x0&&_0x41e7ac!=null))return!0x0;const _0x270e8a=this['_createFDtree'](_0x506b7a,_0x444d0b,_0x4e6f3a,_0x4a087f,_0x33cfa3,_0x36a2f0),_0x441c8d=this[_0x55852a(0x1e2)][_0x55852a(0x26f)](_0x506b7a,_0x444d0b,_0x4e6f3a,_0x4a087f);_0x441c8d!=null?_0x270e8a[_0x55852a(0x27d)]=_0x441c8d:(this[_0x55852a(0x1e2)][_0x55852a(0x208)](_0x506b7a,_0x444d0b,_0x4e6f3a,_0x4a087f,_0x270e8a),this[_0x55852a(0x1e2)]['addFormulaDependencyByDefinedName'](_0x270e8a)),_0x5a9910[_0x55852a(0x1f1)](_0x41e7ac,_0x270e8a),_0x4f7039['push'](_0x270e8a),this[_0x55852a(0x29c)]['set'](_0x270e8a[_0x55852a(0x27d)],_0x270e8a);}),_0x5b320c[_0x17c075(0x1ff)]((_0x2c34b,_0x4c1d4f,_0x48faa0)=>{const _0x1de054=_0x17c075;if(_0x48faa0==null)return!0x0;const {x:_0x1a626e=0x0,y:_0x4de024=0x0,si:_0x2ecb82}=_0x48faa0;if(_0x1a626e===0x0&&_0x4de024===0x0&&_0x2ecb82!=null)return!0x0;let _0x502bff;if(_0x2ecb82&&_0x5a9910[_0x1de054(0x20f)](_0x2ecb82)){const _0x4b18ff=_0x5a9910[_0x1de054(0x231)](_0x2ecb82);_0x502bff=this['_createVirtualFDtree'](_0x4b18ff,_0x48faa0);}else _0x502bff=this['_createFDtree'](_0x506b7a,_0x444d0b,_0x2c34b,_0x4c1d4f,_0x33cfa3,_0x48faa0);const _0x2cb54b=this['_dependencyManagerService'][_0x1de054(0x26f)](_0x506b7a,_0x444d0b,_0x2c34b,_0x4c1d4f);_0x2cb54b!=null?_0x502bff['treeId']=_0x2cb54b:(this[_0x1de054(0x1e2)]['addFormulaDependency'](_0x506b7a,_0x444d0b,_0x2c34b,_0x4c1d4f,_0x502bff),this[_0x1de054(0x1e2)]['addFormulaDependencyByDefinedName'](_0x502bff)),_0x4f7039[_0x1de054(0x28e)](_0x502bff),this['_dependencyTreeCache']['set'](_0x502bff['treeId'],_0x502bff);}),_0x5a9910[_0x17c075(0x289)]();}}}[_0x47d436(0x271)](_0x2b4249,_0x3e0875,_0x2b62c2,_0x1c426d,_0x47ac23,_0x5aef44){const _0x54ee55=_0x47d436,{f:_0x165ab3,x:_0x198389=0x0,y:_0x7f5eb3=0x0}=_0x5aef44,_0x483f2e=new _0x206cd5(_0x8c819e(this[_0x54ee55(0x1e2)])),_0x5625de=_0x47ac23[_0x2b4249][_0x3e0875];return _0x483f2e['formula']=_0x165ab3,_0x483f2e[_0x54ee55(0x270)]=_0x2b4249,_0x483f2e[_0x54ee55(0x259)]=_0x3e0875,_0x483f2e[_0x54ee55(0x229)]=_0x2b62c2,_0x483f2e[_0x54ee55(0x29a)]=_0x1c426d,_0x483f2e[_0x54ee55(0x290)]=_0x5625de[_0x54ee55(0x290)],_0x483f2e[_0x54ee55(0x217)]=_0x5625de['columnCount'],_0x483f2e;}[_0x47d436(0x211)](){const _0x41d09d=_0x47d436,_0x462d5=[],_0x4c2363=new Set(),_0x13e0da=this[_0x41d09d(0x269)][_0x41d09d(0x1f4)](),_0x57ae93=this['_currentConfigService']['getDirtyRanges'](),_0x4c1aca=this[_0x41d09d(0x1e2)][_0x41d09d(0x28f)](_0x57ae93),_0x1be0e2=this[_0x41d09d(0x225)][_0x41d09d(0x22e)](_0x57ae93);for(const _0x18c372 of _0x1be0e2)_0x4c1aca[_0x41d09d(0x27c)](_0x18c372);for(const [_0x1827c8,_0x5a9772]of this[_0x41d09d(0x29c)])(_0x13e0da||_0x5a9772[_0x41d09d(0x24b)]||_0x5a9772[_0x41d09d(0x1ea)](this[_0x41d09d(0x269)]['getDirtyNameMap']())||_0x4c1aca[_0x41d09d(0x20f)](_0x1827c8)&&!_0x5a9772[_0x41d09d(0x28d)](this[_0x41d09d(0x269)][_0x41d09d(0x28a)]()))&&!_0x4c2363[_0x41d09d(0x20f)](_0x1827c8)&&(_0x462d5['push'](_0x5a9772),_0x4c2363[_0x41d09d(0x27c)](_0x1827c8));for(const [_0x58d872,_0x283476]of this[_0x41d09d(0x29c)])_0x283476[_0x41d09d(0x287)]||(_0x283476['rangeList'][_0x41d09d(0x227)]=0x0);return _0x462d5;}[_0x47d436(0x20c)](_0x176808){const _0x48cb2e=_0x47d436;return this[_0x48cb2e(0x29c)]['get'](_0x176808);}[_0x47d436(0x257)](_0x1434e2){const _0x457a23=_0x47d436;return _0x5a6f50(_0x1434e2[_0x457a23(0x270)],_0x1434e2[_0x457a23(0x252)],this[_0x457a23(0x201)],this['_astTreeBuilder'],this[_0x457a23(0x269)]);}*['_traverse'](_0x55abcc,_0x123153){const _0x56a0fa=_0x47d436,_0x21b301=_0x55abcc,_0xab7ec5=new Set();for(;_0x21b301[_0x56a0fa(0x227)]>0x0;){const _0x10920d=_0x21b301[_0x56a0fa(0x28b)]();if(_0xab7ec5['clear'](),_0x10920d===void 0x0||_0x10920d[_0x56a0fa(0x275)]())continue;if(_0x10920d['isAdded']()){yield _0x10920d,_0x10920d[_0x56a0fa(0x291)](),_0x123153[_0x56a0fa(0x27c)](_0x10920d[_0x56a0fa(0x27d)]);continue;}const _0x4e40f1=this[_0x56a0fa(0x1e2)][_0x56a0fa(0x28f)](_0x10920d[_0x56a0fa(0x1e8)](),_0x123153),_0x6f8db6=this[_0x56a0fa(0x225)][_0x56a0fa(0x22e)](_0x10920d[_0x56a0fa(0x1e8)](),_0x123153);for(const _0x29d794 of _0x6f8db6)_0x4e40f1['add'](_0x29d794);for(const _0x47dd51 of _0x4e40f1){const _0x1d2fa8=this[_0x56a0fa(0x29c)][_0x56a0fa(0x231)](_0x47dd51);if(!_0x1d2fa8)throw new Error(_0x56a0fa(0x260));_0x1d2fa8[_0x56a0fa(0x235)]()||_0x10920d[_0x56a0fa(0x275)]()||_0xab7ec5[_0x56a0fa(0x27c)](_0x1d2fa8);}if(_0x4e40f1[_0x56a0fa(0x289)](),_0xab7ec5[_0x56a0fa(0x26e)]===0x0)yield _0x10920d,_0x10920d['setSkip'](),_0x123153[_0x56a0fa(0x27c)](_0x10920d['treeId']);else{_0x10920d[_0x56a0fa(0x1fa)](),_0x21b301[_0x56a0fa(0x28e)](_0x10920d);for(const _0x4707ba of _0xab7ec5)_0x21b301[_0x56a0fa(0x28e)](_0x4707ba);}}_0x21b301[_0x56a0fa(0x227)]=0x0,_0xab7ec5[_0x56a0fa(0x289)]();}[_0x47d436(0x248)](_0x1da41a){const _0x384160=_0x47d436,_0x12c05c=[],_0x228f1a=new Set();for(const _0x7ec692 of this[_0x384160(0x220)](_0x1da41a,_0x228f1a))_0x12c05c[_0x384160(0x28e)](_0x7ec692);return _0x12c05c;}async[_0x47d436(0x240)](){const _0x37725c=_0x47d436;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x37725c(0x29c)][_0x37725c(0x266)]());}[_0x47d436(0x1f6)](_0x462ced){return this['_dependencyManagerService']['searchDependency'](_0x462ced['toRTreeItem']());}[_0x47d436(0x203)](_0x506c5d){const _0x106a31=_0x47d436,_0x2c0ffe=new Set(),_0x392315=_0x506c5d[_0x106a31(0x222)];for(const [_0x4bae71,_0x1a0dc9]of this[_0x106a31(0x29c)])for(const _0x4f10c0 of _0x392315){const _0x28d6f6=_0x4f10c0[_0x106a31(0x270)],_0x3e305e=_0x4f10c0[_0x106a31(0x27b)];if(_0x1a0dc9['unitId']!==_0x28d6f6||_0x1a0dc9[_0x106a31(0x259)]!==_0x3e305e)continue;const _0x29c578=_0x4f10c0['range'];if(_0x1a0dc9[_0x106a31(0x1fc)](_0x29c578)){_0x2c0ffe['add'](_0x4bae71);break;}}return _0x2c0ffe;}[_0x47d436(0x24f)](){const _0x35371e=_0x47d436;this[_0x35371e(0x1e2)]['openKdTree']();}['_endFormulaDependencyTreeModel'](){const _0x49cc1e=_0x47d436;this[_0x49cc1e(0x26c)]['clear'](),this[_0x49cc1e(0x29c)][_0x49cc1e(0x289)](),this[_0x49cc1e(0x1e2)][_0x49cc1e(0x23c)]();}}class ve extends _0x551b17{constructor(){const _0xe000e5=_0x47d436;super(...arguments),v(this,_0xe000e5(0x26a),!0x1),v(this,_0xe000e5(0x22c),new Set());}['getNewFormulaWithPrefix'](_0x43babf,_0x4da5e2){const _0x1c6a0c=_0x47d436,_0x2616fc=this[_0x1c6a0c(0x272)](_0x43babf,!0x1);if(!_0x2616fc||_0x2616fc===_0x596721[_0x1c6a0c(0x24d)]||Array[_0x1c6a0c(0x294)](_0x2616fc))return null;const _0x4c42c3=[];return this[_0x1c6a0c(0x26a)]=!0x1,this[_0x1c6a0c(0x21d)](_0x2616fc,_0x4c42c3,_0x4da5e2),this[_0x1c6a0c(0x26a)]?'='+_0x4c42c3['join'](''):null;}[_0x47d436(0x21d)](_0x59dc17,_0x4e523e,_0x5c6d13){const _0x4f87ef=_0x47d436,_0x314e02=_0x59dc17[_0x4f87ef(0x264)](),_0x2ee479=_0x314e02[_0x4f87ef(0x238)](),_0x2a9571=_0x2ee479['toUpperCase'](),_0x1d74b7=this['_clearFunctionString'](_0x2a9571),_0x3f81c3=_0x5c6d13(_0x1d74b7);let _0x3d5142=0x0;_0x314e02===_0x524767?_0x3d5142=0x3:_0x314e02===_0xf912a2?_0x3d5142=0x4:_0x314e02===_0x99ba67?_0x3d5142=0x5:_0x5a0d90['has'](_0x1d74b7)?(_0x4e523e[_0x4f87ef(0x28e)](_0x4f87ef(0x28c)+_0x2ee479),this[_0x4f87ef(0x26a)]=!0x0):_0x2a9571===_0x538a7e?(_0x4e523e[_0x4f87ef(0x28e)](_0x4f87ef(0x28c)+_0x2ee479),this[_0x4f87ef(0x26a)]=!0x0,_0x3d5142=0x2):_0x2a9571===_0x16f973?(_0x4e523e[_0x4f87ef(0x28e)](_0x4f87ef(0x28c)+_0x2ee479),this[_0x4f87ef(0x26a)]=!0x0,_0x3d5142=0x1):_0x2a9571===_0x2132d6['COLON']?_0x3d5142=0x8:_0x10a201['has'](_0x2a9571)?_0x3d5142=0x7:_0x2a9571===_0x377702[_0x4f87ef(0x241)]?(this[_0x4f87ef(0x23f)](_0x59dc17)&&(_0x3d5142=0x9),_0x4e523e[_0x4f87ef(0x28e)](_0x314e02)):(_0x4e523e[_0x4f87ef(0x28e)](_0x314e02),_0x3d5142=0xa),_0x3f81c3?(_0x3d5142!==0x2&&_0x3d5142!==0x1&&(_0x3d5142=0x6),_0x4e523e[_0x4f87ef(0x28e)]('(')):_0x3d5142===0x9&&_0x4e523e[_0x4f87ef(0x28e)]('(');const _0x44fdb8=_0x59dc17[_0x4f87ef(0x284)](),_0x242744=_0x44fdb8[_0x4f87ef(0x227)];if(_0x3d5142===0x2){const _0x55a6bd=_0x44fdb8[0x0];let _0x217bf0=0x0;_0x55a6bd instanceof _0x44c9e1&&_0x55a6bd['getToken']()===_0x99ba67&&(_0x217bf0=0x1);for(let _0x34a34b=_0x217bf0;_0x34a34b<_0x242744-0x1;_0x34a34b++){const _0x23e691=_0x44fdb8[_0x34a34b];if(_0x23e691 instanceof _0x44c9e1){const _0x70c90a=_0x23e691[_0x4f87ef(0x284)]()[0x0];typeof _0x70c90a==_0x4f87ef(0x292)&&(this[_0x4f87ef(0x22c)][_0x4f87ef(0x20f)](_0x70c90a)&&console['error'](_0x4f87ef(0x1ee)+_0x70c90a+_0x4f87ef(0x1e4)),this[_0x4f87ef(0x22c)][_0x4f87ef(0x27c)](_0x70c90a),_0x4e523e[_0x4f87ef(0x28e)]('_xlpm.'+_0x70c90a),this[_0x4f87ef(0x26a)]=!0x0);}_0x4e523e[_0x4f87ef(0x28e)](',');}this[_0x4f87ef(0x21c)](_0x44fdb8[_0x242744-0x1],_0x4e523e,_0x5c6d13),_0x217bf0===0x1&&(_0x4e523e['push'](')'),_0x4e523e[_0x4f87ef(0x28e)]('('),this[_0x4f87ef(0x21d)](_0x55a6bd,_0x4e523e,_0x5c6d13)),_0x4e523e[_0x4f87ef(0x28e)](')');return;}else{if(_0x3d5142===0x1){for(let _0x393ae3=0x0;_0x393ae3<_0x242744-0x1;_0x393ae3++){const _0x3ab3af=_0x44fdb8[_0x393ae3];if(_0x3ab3af instanceof _0x44c9e1&&_0x393ae3%0x2===0x0){const _0x596ba5=_0x3ab3af[_0x4f87ef(0x284)]()[0x0];if(typeof _0x596ba5==_0x4f87ef(0x292)){this[_0x4f87ef(0x22c)][_0x4f87ef(0x20f)](_0x596ba5)&&console[_0x4f87ef(0x232)]('Let\x20variable\x20name\x20\x22'+_0x596ba5+_0x4f87ef(0x1e4)),this[_0x4f87ef(0x22c)][_0x4f87ef(0x27c)](_0x596ba5),_0x4e523e[_0x4f87ef(0x28e)](_0x4f87ef(0x212)+_0x596ba5),this[_0x4f87ef(0x26a)]=!0x0,_0x4e523e['push'](',');continue;}}if(this['_handleNewFunctionChild'](_0x3ab3af,_0x4e523e,_0x5c6d13),_0x3ab3af instanceof _0x44c9e1){const _0x22942b=_0x44fdb8[_0x393ae3+0x1];_0x22942b&&_0x22942b instanceof _0x44c9e1&&_0x4e523e[_0x4f87ef(0x28e)](',');}}this[_0x4f87ef(0x21c)](_0x44fdb8[_0x242744-0x1],_0x4e523e,_0x5c6d13),_0x4e523e[_0x4f87ef(0x28e)](')');return;}else{if(_0x3d5142===0x8){const _0x37ac4e=_0x44fdb8[0x0],_0x512c5b=_0x44fdb8[0x1];this[_0x4f87ef(0x21c)](_0x37ac4e,_0x4e523e,_0x5c6d13),_0x4e523e[_0x4f87ef(0x28e)](_0x314e02),this[_0x4f87ef(0x21c)](_0x512c5b,_0x4e523e,_0x5c6d13);return;}}}for(let _0x5782d4=0x0;_0x5782d4<_0x242744;_0x5782d4++){const _0x1c08f2=_0x44fdb8[_0x5782d4];if(this[_0x4f87ef(0x21c)](_0x1c08f2,_0x4e523e,_0x5c6d13),_0x1c08f2 instanceof _0x44c9e1){const _0x50ef0a=_0x44fdb8[_0x5782d4+0x1];_0x50ef0a&&_0x50ef0a instanceof _0x44c9e1&&_0x4e523e['push'](',');}}_0x3d5142===0x7&&_0x4e523e[_0x4f87ef(0x28e)](_0x314e02),(_0x3f81c3||_0x3d5142===0x9)&&_0x4e523e[_0x4f87ef(0x28e)](')');}[_0x47d436(0x21c)](_0x3aa950,_0xc139e1,_0x943d31){const _0x5db24f=_0x47d436;_0x3aa950 instanceof _0x44c9e1?this[_0x5db24f(0x21d)](_0x3aa950,_0xc139e1,_0x943d31):this['_lambdaFunctionParameterSet'][_0x5db24f(0x20f)](_0x3aa950)?(_0xc139e1[_0x5db24f(0x28e)](_0x5db24f(0x212)+_0x3aa950),this[_0x5db24f(0x26a)]=!0x0):_0xc139e1[_0x5db24f(0x28e)](_0x3aa950);}['_clearFunctionString'](_0x44abad){const _0x5e2a27=_0x47d436;let _0xedca33=_0x44abad[_0x5e2a27(0x238)]();if(!_0xedca33)return _0xedca33;const _0x1b70b9=_0xedca33[0x0];if((_0x1b70b9===_0x377702['AT']||_0x1b70b9===_0x377702[_0x5e2a27(0x241)]||_0x1b70b9===_0x377702[_0x5e2a27(0x276)])&&(_0xedca33=_0xedca33[_0x5e2a27(0x22b)](0x1)),!_0xedca33)return _0xedca33;const _0x271b0a=_0xedca33[_0xedca33[_0x5e2a27(0x227)]-0x1];return _0x10a201[_0x5e2a27(0x20f)](_0x271b0a)&&(_0xedca33=_0xedca33[_0x5e2a27(0x22b)](0x0,-0x1)),_0xedca33;}[_0x47d436(0x23f)](_0x1a4553){const _0x80cd66=_0x47d436,_0x2188b6=_0x1a4553[_0x80cd66(0x284)]()[0x0];if(!_0x2188b6||!(_0x2188b6 instanceof _0x44c9e1)||_0x1a4553[_0x80cd66(0x284)]()[_0x80cd66(0x227)]>0x1)return!0x1;const _0x597bc9=_0x2188b6['getChildren'](),_0x24a75a=_0x597bc9['length'];if(_0x24a75a===0x1)return!0x1;for(let _0x5d772e=0x0;_0x5d772e<_0x24a75a;_0x5d772e++){const _0x270e5c=_0x597bc9[_0x5d772e];if(!(_0x270e5c instanceof _0x44c9e1)&&_0x335289[_0x80cd66(0x20f)](_0x270e5c))return!0x0;}return!0x1;}}class Se extends _0x2bdb8a{async[_0x47d436(0x1e1)](_0x38dcca=!0x1){const _0x2b067d=_0x47d436;_0x38dcca?this[_0x2b067d(0x218)][_0x2b067d(0x1f8)](_0x2c53d7['START_DEPENDENCY_ARRAY_FORMULA']):this[_0x2b067d(0x218)][_0x2b067d(0x1f8)](_0x2c53d7[_0x2b067d(0x279)]),this[_0x2b067d(0x1e3)]['next'](this[_0x2b067d(0x218)]['getRuntimeState']());const _0x221152=await this[_0x2b067d(0x25e)]['generate'](),_0x5c70c3=this[_0x2b067d(0x200)];_0x38dcca?(this[_0x2b067d(0x218)]['setFormulaExecuteStage'](_0x2c53d7['START_CALCULATION_ARRAY_FORMULA']),this['_runtimeService'][_0x2b067d(0x25c)](_0x221152[_0x2b067d(0x227)])):(this[_0x2b067d(0x218)][_0x2b067d(0x1f8)](_0x2c53d7[_0x2b067d(0x263)]),this[_0x2b067d(0x218)][_0x2b067d(0x286)](_0x221152[_0x2b067d(0x227)])),this[_0x2b067d(0x1e3)][_0x2b067d(0x22a)](this['_runtimeService'][_0x2b067d(0x27e)]());let _0x750ce7=[];const _0x2b7404=this['_configService'][_0x2b067d(0x29e)](_0x394199),_0x3920ae=(_0x2b7404==null?void 0x0:_0x2b7404[_0x2b067d(0x247)])||_0x15e3b9;let _0x43efc7=0x0;const _0x3a9761=_0x221152[_0x2b067d(0x227)];for(;_0x221152['length']>0x0;){const _0x3448ff=_0x221152[_0x2b067d(0x28b)](),_0x99f9f6=_0x5a6f50(_0x3448ff[_0x2b067d(0x270)],_0x3448ff[_0x2b067d(0x252)],this[_0x2b067d(0x201)],this[_0x2b067d(0x29b)],this[_0x2b067d(0x269)]),_0x3e5f51={'node':_0x99f9f6,'refOffsetX':_0x3448ff[_0x2b067d(0x219)],'refOffsetY':_0x3448ff[_0x2b067d(0x215)]},_0x4875d3=_0x3448ff['getDirtyData'];if(_0x43efc7%_0x3920ae===0x0&&(await new Promise(_0xdbf7ae=>{const _0x26d8e4=_0x3150d0(_0xdbf7ae);_0x750ce7['push'](_0x26d8e4);}),_0x38dcca?(this[_0x2b067d(0x218)]['setFormulaExecuteStage'](_0x2c53d7[_0x2b067d(0x21b)]),this[_0x2b067d(0x218)][_0x2b067d(0x1fd)](_0x43efc7+0x1)):(this[_0x2b067d(0x218)][_0x2b067d(0x1f8)](_0x2c53d7[_0x2b067d(0x1f3)]),this[_0x2b067d(0x218)]['setCompletedFormulasCount'](_0x43efc7+0x1)),this[_0x2b067d(0x1e3)][_0x2b067d(0x22a)](this['_runtimeService'][_0x2b067d(0x27e)]()),this[_0x2b067d(0x218)]['isStopExecution']()||_0x3e5f51==null&&_0x4875d3==null)){this[_0x2b067d(0x218)][_0x2b067d(0x1f8)](_0x2c53d7['IDLE']),this['_runtimeService'][_0x2b067d(0x288)](),this[_0x2b067d(0x23e)]['next'](this[_0x2b067d(0x218)][_0x2b067d(0x210)]());return;}this['_runtimeService'][_0x2b067d(0x253)](_0x3448ff[_0x2b067d(0x229)],_0x3448ff['column'],_0x3448ff[_0x2b067d(0x290)],_0x3448ff['columnCount'],_0x3448ff[_0x2b067d(0x259)],_0x3448ff[_0x2b067d(0x270)]);let _0x4c9bcd;if(_0x4875d3!=null&&_0x3448ff[_0x2b067d(0x299)]!=null){const {runtimeCellData:_0x521ab8,dirtyRanges:_0x1dea07}=_0x4875d3(this[_0x2b067d(0x269)]['getDirtyData'](),this[_0x2b067d(0x218)]['getAllRuntimeData']());this[_0x2b067d(0x218)][_0x2b067d(0x236)](_0x3448ff[_0x2b067d(0x299)],_0x521ab8),this[_0x2b067d(0x218)][_0x2b067d(0x255)](_0x3448ff[_0x2b067d(0x299)],_0x1dea07);}else _0x3e5f51!=null&&(_0x5c70c3['checkAsyncNode'](_0x3e5f51[_0x2b067d(0x230)])?_0x4c9bcd=await _0x5c70c3['executeAsync'](_0x3e5f51):_0x4c9bcd=_0x5c70c3[_0x2b067d(0x243)](_0x3e5f51),_0x3448ff[_0x2b067d(0x209)]!=null?this['_runtimeService'][_0x2b067d(0x283)](_0x3448ff[_0x2b067d(0x209)],_0x3448ff[_0x2b067d(0x219)],_0x3448ff[_0x2b067d(0x215)],_0x4c9bcd):this[_0x2b067d(0x218)][_0x2b067d(0x246)](_0x4c9bcd));_0x99f9f6[_0x2b067d(0x293)](),_0x43efc7++;}return _0x750ce7[_0x2b067d(0x274)](_0x1c90fe=>_0x1c90fe()),_0x750ce7=[],_0x3a9761>0x0?this['_runtimeService'][_0x2b067d(0x25a)]():_0x38dcca||this[_0x2b067d(0x218)][_0x2b067d(0x1f9)](),this[_0x2b067d(0x218)][_0x2b067d(0x210)]();}}class Re extends _0x589bc8{constructor(){const _0x32e414=_0x47d436;super(...arguments),v(this,_0x32e414(0x22d),new Map()),v(this,_0x32e414(0x280),new _0x1f9160(!0x0));}[_0x47d436(0x21e)](){const _0x15980c=_0x47d436;this['_otherFormulaData']['clear'](),this['_featureFormulaData'][_0x15980c(0x289)](),this[_0x15980c(0x1e6)][_0x15980c(0x289)](),this[_0x15980c(0x280)][_0x15980c(0x289)](),this[_0x15980c(0x22d)]['clear'](),this[_0x15980c(0x297)](),this[_0x15980c(0x26d)][_0x15980c(0x289)]();}['addOtherFormulaDependency'](_0x1a4b1d,_0x5e1c07,_0x16d8fa,_0x539bef){const _0x5e0296=_0x47d436;this[_0x5e0296(0x256)][_0x5e0296(0x20f)](_0x1a4b1d)||this['_otherFormulaData'][_0x5e0296(0x1f1)](_0x1a4b1d,new Map());const _0x407080=this['_otherFormulaData'][_0x5e0296(0x231)](_0x1a4b1d);_0x407080[_0x5e0296(0x20f)](_0x5e1c07)||_0x407080[_0x5e0296(0x1f1)](_0x5e1c07,new Map());const _0x1271ed=_0x407080['get'](_0x5e1c07);_0x1271ed['has'](_0x16d8fa)||_0x1271ed['set'](_0x16d8fa,new _0xbf8c86()),_0x1271ed[_0x5e0296(0x231)](_0x16d8fa)[_0x5e0296(0x25d)](_0x539bef[_0x5e0296(0x219)],_0x539bef[_0x5e0296(0x215)],_0x539bef[_0x5e0296(0x27d)]);}['removeOtherFormulaDependency'](_0x4a8fec,_0x558da6,_0x3849b6){const _0x65a1f6=_0x47d436,_0x3c596b=this[_0x65a1f6(0x256)][_0x65a1f6(0x231)](_0x4a8fec);if(_0x3c596b&&_0x3c596b[_0x65a1f6(0x20f)](_0x558da6)){const _0x5643d5=_0x3c596b[_0x65a1f6(0x231)](_0x558da6);_0x3849b6[_0x65a1f6(0x274)](_0x31662d=>{const _0x3808ef=_0x65a1f6,_0x4b836f=_0x5643d5[_0x3808ef(0x231)](_0x31662d);_0x4b836f!=null&&(_0x4b836f[_0x3808ef(0x1ff)]((_0x26b206,_0xceec0b,_0x351bc9)=>{const _0x14de6b=_0x3808ef;this[_0x14de6b(0x265)](_0x351bc9),this[_0x14de6b(0x267)](_0x351bc9);}),_0x5643d5['delete'](_0x31662d),this[_0x3808ef(0x26d)][_0x3808ef(0x23a)](_0x31662d));}),_0x5643d5[_0x65a1f6(0x26e)]===0x0&&_0x3c596b[_0x65a1f6(0x23a)](_0x558da6),_0x3c596b[_0x65a1f6(0x26e)]===0x0&&this['_otherFormulaData'][_0x65a1f6(0x23a)](_0x4a8fec);}}[_0x47d436(0x233)](_0x97c33,_0x123fb2){const _0x251004=_0x47d436,_0x40c690=this['_otherFormulaData'][_0x251004(0x231)](_0x97c33);if(_0x123fb2&&_0x40c690&&_0x40c690[_0x251004(0x20f)](_0x123fb2)){const _0x4a53b1=_0x40c690[_0x251004(0x231)](_0x123fb2);this[_0x251004(0x234)](_0x97c33,_0x123fb2);for(const _0x536684 of _0x4a53b1['keys']()){const _0x7f5ba4=_0x4a53b1[_0x251004(0x231)](_0x536684);_0x7f5ba4!=null&&(_0x7f5ba4[_0x251004(0x1ff)]((_0x2bd6a4,_0x1f834d,_0x163c8d)=>{const _0x166073=_0x251004;this['_allTreeMap'][_0x166073(0x231)](_0x163c8d)&&this[_0x166073(0x267)](_0x163c8d);}),this[_0x251004(0x26d)][_0x251004(0x23a)](_0x536684));}_0x4a53b1[_0x251004(0x289)]();}else{if(_0x40c690){for(const _0x57175c of _0x40c690[_0x251004(0x1e9)]()){const _0xee5f69=_0x40c690[_0x251004(0x231)](_0x57175c);this[_0x251004(0x234)](_0x97c33,_0x57175c);for(const _0x491695 of _0xee5f69[_0x251004(0x1e9)]()){const _0x5626ab=_0xee5f69['get'](_0x491695);_0x5626ab!=null&&(_0x5626ab[_0x251004(0x1ff)]((_0x56ccee,_0x4bbdd6,_0x7da770)=>{const _0x1837d0=_0x251004;this['_allTreeMap']['get'](_0x7da770)&&this[_0x1837d0(0x267)](_0x7da770);}),this[_0x251004(0x26d)][_0x251004(0x23a)](_0x491695));}}this['_otherFormulaData'][_0x251004(0x23a)](_0x97c33);}}}['addFeatureFormulaDependency'](_0x4d47a6,_0x162db6,_0x4f54ef,_0x21e5ea){const _0x25e6b3=_0x47d436;this[_0x25e6b3(0x27f)][_0x25e6b3(0x20f)](_0x4d47a6)||this[_0x25e6b3(0x27f)][_0x25e6b3(0x1f1)](_0x4d47a6,new Map());const _0x48699d=this[_0x25e6b3(0x27f)][_0x25e6b3(0x231)](_0x4d47a6);_0x48699d[_0x25e6b3(0x20f)](_0x162db6)||_0x48699d['set'](_0x162db6,new Map()),_0x48699d['get'](_0x162db6)[_0x25e6b3(0x1f1)](_0x4f54ef,_0x21e5ea[_0x25e6b3(0x27d)]);}[_0x47d436(0x261)](_0x3f9951,_0x406e1c,_0x2072f2){const _0x5de264=_0x47d436,_0x336b54=this[_0x5de264(0x27f)][_0x5de264(0x231)](_0x3f9951);if(_0x336b54&&_0x336b54[_0x5de264(0x20f)](_0x406e1c)){const _0x290f77=_0x336b54[_0x5de264(0x231)](_0x406e1c);_0x2072f2[_0x5de264(0x274)](_0x2931a3=>{const _0x14cd3a=_0x5de264,_0xfff831=_0x290f77[_0x14cd3a(0x231)](_0x2931a3);_0xfff831!=null&&(this[_0x14cd3a(0x265)](_0xfff831),_0x290f77[_0x14cd3a(0x23a)](_0x2931a3),this['_removeAllTreeMap'](_0xfff831));});}}[_0x47d436(0x242)](_0x201927,_0x4efe2c){const _0x98611b=_0x47d436,_0x185c3b=this['_featureFormulaData'][_0x98611b(0x231)](_0x201927);if(_0x4efe2c&&_0x185c3b&&_0x185c3b[_0x98611b(0x20f)](_0x4efe2c)){const _0x56b9d1=_0x185c3b[_0x98611b(0x231)](_0x4efe2c);this[_0x98611b(0x234)](_0x201927,_0x4efe2c),_0x56b9d1['forEach'](_0x87cd3b=>{const _0x428902=_0x98611b;_0x87cd3b!=null&&this[_0x428902(0x267)](_0x87cd3b);}),_0x56b9d1[_0x98611b(0x289)]();}else _0x185c3b&&(_0x185c3b[_0x98611b(0x274)]((_0x22bc04,_0x15bc4b)=>{const _0x263ef9=_0x98611b;this[_0x263ef9(0x234)](_0x201927,_0x15bc4b),_0x22bc04[_0x263ef9(0x274)](_0x553978=>{const _0x1055d3=_0x263ef9;_0x553978!=null&&this[_0x1055d3(0x267)](_0x553978);});}),this[_0x98611b(0x27f)][_0x98611b(0x23a)](_0x201927));}[_0x47d436(0x208)](_0x563323,_0x3f689d,_0x168530,_0x5c4d64,_0x2e8ca8){const _0x14fe5a=_0x47d436;this[_0x14fe5a(0x1e6)]['has'](_0x563323)||this[_0x14fe5a(0x1e6)][_0x14fe5a(0x1f1)](_0x563323,new Map());const _0x5cb1fb=this[_0x14fe5a(0x1e6)][_0x14fe5a(0x231)](_0x563323);_0x5cb1fb[_0x14fe5a(0x20f)](_0x3f689d)||_0x5cb1fb['set'](_0x3f689d,new _0xbf8c86()),_0x5cb1fb[_0x14fe5a(0x231)](_0x3f689d)['setValue'](_0x168530,_0x5c4d64,_0x2e8ca8[_0x14fe5a(0x27d)]);}[_0x47d436(0x29d)](_0x5a9023,_0x52e486,_0x30cc2f,_0x247823){const _0x32decc=_0x47d436,_0x486a4d=this[_0x32decc(0x1e6)][_0x32decc(0x231)](_0x5a9023);if(_0x486a4d&&_0x486a4d[_0x32decc(0x20f)](_0x52e486)){const _0xb01ba1=_0x486a4d['get'](_0x52e486),_0x3a8ed3=_0xb01ba1['getValue'](_0x30cc2f,_0x247823);if(_0x3a8ed3==null)return;this[_0x32decc(0x265)](_0x3a8ed3),_0xb01ba1[_0x32decc(0x24e)](_0x30cc2f,_0x247823),this[_0x32decc(0x267)](_0x3a8ed3);}}['clearFormulaDependency'](_0x106ec6,_0x45c179){const _0xfd8191=_0x47d436,_0x2ab000=this[_0xfd8191(0x1e6)]['get'](_0x106ec6);if(_0x45c179&&_0x2ab000&&_0x2ab000['has'](_0x45c179)){const _0x49eb98=_0x2ab000[_0xfd8191(0x231)](_0x45c179);this['_removeDependencyRTreeCacheById'](_0x106ec6,_0x45c179),_0x49eb98['forValue']((_0xf50960,_0x79603f,_0xc00e56)=>{const _0x2a6bce=_0xfd8191;if(_0xc00e56==null)return!0x0;this[_0x2a6bce(0x267)](_0xc00e56);}),_0x49eb98[_0xfd8191(0x21e)]();}else _0x2ab000&&(_0x2ab000[_0xfd8191(0x274)]((_0xcd573b,_0x1e58d6)=>{const _0x28a1f8=_0xfd8191;this['_removeDependencyRTreeCacheById'](_0x106ec6,_0x1e58d6),_0xcd573b[_0x28a1f8(0x1ff)]((_0x37cfe9,_0x3bbe8d,_0x36a864)=>{if(_0x36a864==null)return!0x0;this['_removeAllTreeMap'](_0x36a864);});}),this[_0xfd8191(0x1e6)][_0xfd8191(0x23a)](_0x106ec6));}[_0x47d436(0x265)](_0x24c275){const _0x37641a=_0x47d436;if(_0x24c275==null)return;const _0x5492e=this[_0x37641a(0x22d)][_0x37641a(0x231)](_0x24c275);if(_0x5492e){const _0x5d4eb8=[];for(const [_0x2ea642,_0x3b7fc4]of _0x5492e)for(const [_0x2f7c34,_0x22c072]of _0x3b7fc4)_0x5d4eb8[_0x37641a(0x28e)]({'unitId':_0x2ea642,'sheetId':_0x2f7c34,'range':_0x22c072,'id':_0x24c275});this[_0x37641a(0x280)][_0x37641a(0x1e5)](_0x5d4eb8);}}[_0x47d436(0x249)](_0x179fc0,_0x58ed58){const _0x21bca5=_0x47d436,_0x56337e=this[_0x21bca5(0x298)]['get'](_0x179fc0);if(_0x56337e){const _0x58b03a=_0x56337e[_0x21bca5(0x231)](_0x58ed58);if(_0x58b03a){for(const _0x5e5dc1 of _0x58b03a)this[_0x21bca5(0x265)](_0x5e5dc1),this[_0x21bca5(0x267)](_0x5e5dc1);_0x58b03a[_0x21bca5(0x289)]();}}}[_0x47d436(0x237)](){const _0x9aa891=_0x47d436;this[_0x9aa891(0x280)]['openKdTree']();}['closeKdTree'](){const _0x3c97a1=_0x47d436;this[_0x3c97a1(0x280)][_0x3c97a1(0x23c)]();}[_0x47d436(0x267)](_0x3b3af8){const _0x14291c=_0x47d436;_0x3b3af8!=null&&this[_0x14291c(0x22d)][_0x14291c(0x23a)](_0x3b3af8);}[_0x47d436(0x29f)](_0xe8ee80){const _0x1f1ae4=_0x47d436;var _0x371c8c,_0x44738d;const _0x15e549=_0xe8ee80[_0x1f1ae4(0x222)];let _0xa15665=this[_0x1f1ae4(0x22d)][_0x1f1ae4(0x231)](_0xe8ee80[_0x1f1ae4(0x27d)]);for(let _0x259ebb=0x0;_0x259ebb<_0x15e549[_0x1f1ae4(0x227)];_0x259ebb++){const _0x24a9d1=_0x15e549[_0x259ebb];let {unitId:_0x57b3cd,sheetId:_0x3ba955,range:_0x3ead24}=_0x24a9d1;_0xa15665||(_0xa15665=new Map(),this[_0x1f1ae4(0x22d)][_0x1f1ae4(0x1f1)](_0xe8ee80[_0x1f1ae4(0x27d)],_0xa15665)),_0xa15665[_0x1f1ae4(0x20f)](_0x57b3cd)||_0xa15665[_0x1f1ae4(0x1f1)](_0x57b3cd,new Map());const _0x2fd7f7=(_0x371c8c=_0xa15665==null?void 0x0:_0xa15665['get'](_0x57b3cd))==null?void 0x0:_0x371c8c['get'](_0x3ba955);_0x2fd7f7&&(_0x3ead24={'startRow':Math[_0x1f1ae4(0x268)](_0x3ead24[_0x1f1ae4(0x228)],_0x2fd7f7[_0x1f1ae4(0x228)]),'startColumn':Math[_0x1f1ae4(0x268)](_0x3ead24['startColumn'],_0x2fd7f7[_0x1f1ae4(0x23b)]),'endRow':Math[_0x1f1ae4(0x20b)](_0x3ead24[_0x1f1ae4(0x296)],_0x2fd7f7['endRow']),'endColumn':Math[_0x1f1ae4(0x20b)](_0x3ead24[_0x1f1ae4(0x24c)],_0x2fd7f7[_0x1f1ae4(0x24c)])}),(_0x44738d=_0xa15665[_0x1f1ae4(0x231)](_0x57b3cd))==null||_0x44738d[_0x1f1ae4(0x1f1)](_0x3ba955,_0x3ead24);}}}var xe=Object[_0x47d436(0x25b)],He=(_0x640e6b,_0x5ecd94,_0x22952b,_0x5dd2bc)=>{const _0x3cab7d=_0x47d436;for(var _0x1314d3=_0x5dd2bc>0x1?void 0x0:_0x5dd2bc?xe(_0x5ecd94,_0x22952b):_0x5ecd94,_0x3dd628=_0x640e6b[_0x3cab7d(0x227)]-0x1,_0x3be9c1;_0x3dd628>=0x0;_0x3dd628--)(_0x3be9c1=_0x640e6b[_0x3dd628])&&(_0x1314d3=_0x3be9c1(_0x1314d3)||_0x1314d3);return _0x1314d3;};const Ae=Number[_0x47d436(0x1ed)](0x693d1524);function _0x1942(){const _0x4915bc=['hasOtherFormulaDataMainData','_otherFormulaManagerService','set','getOtherFormulaDependency','CURRENTLY_CALCULATING','isForceCalculate','OTHER_FORMULA','_getDependencyTreeParenIds','getOtherFormulaData','setFormulaExecuteStage','markedAsNoFunctionsExecuted','setAdded','2pxNnFa','inRangeData','setCompletedArrayFormulasCount','dispose','forValue','_interpreter','_lexer','addOtherFormulaDependency','_getDependencyTreeChildrenIds','1283704yOmPFX','_checkIsCycleDependency','clearArrayObjectCache','getValue','addFormulaDependency','formulaId','_registerOtherFormulas','max','_getTreeById','4715679rmeIQD','notExecuteFormula','has','getAllRuntimeData','_getUpdateTreeListAndMakeDependency','_xlpm.','getFormulaData','isCache','refOffsetY','216508pbaijW','columnCount','_runtimeService','refOffsetX','5claCiy','CURRENTLY_CALCULATING_ARRAY_FORMULA','_handleNewFunctionChild','_generateNewFunctionString','reset','enableCycleDependency','_traverse','getDirtyData','rangeList','generate','9174096OwRGZJ','_dependencyRTreeCacheForAddressFunction','symbol','length','startRow','row','next','slice','_lambdaFunctionParameterSet','_allTreeMap','bulkSearch','addOtherFormulaDependencyMainData','node','get','error','clearOtherFormulaDependency','_removeDependencyRTreeCacheById','isAdded','setRuntimeFeatureCellData','openKdTree','trim','1711423MitlIy','delete','startColumn','closeKdTree','_configService','_executionCompleteListener$','_checkAddBracketForMinus','_getAllTreeList','MINUS','clearFeatureFormulaDependency','execute','refTree','resolve','setRuntimeData','intervalCount','_calculateRunList','removeFormulaDependencyByDefinedName','featureDirtyRanges','isDirty','endColumn','VALUE','realDeleteValue','_startFormulaDependencyTreeModel','_generateTreeList','_registerFormulas','formula','setCurrent','dirtyRanges','setRuntimeFeatureRange','_otherFormulaData','_getTreeNode','type','subUnitId','markedAsSuccessfullyExecuted','getOwnPropertyDescriptor','setTotalArrayFormulasToCalculate','setValue','_formulaDependencyGenerator','addFeatureFormulaDependency','ParentDependencyTree\x20object\x20is\x20null','removeFeatureFormulaDependency','message','START_CALCULATION','getToken','_removeDependencyRTreeCache','values','_removeAllTreeMap','min','_currentConfigService','_hasNewExcelFunction','addFormulaDependencyByDefinedName','_formulaDependencyTreeModel','_otherFormulaDataMainData','size','getFormulaDependency','unitId','_createFDtree','treeBuilder','FEATURE_FORMULA','forEach','isSkip','PLUS','_convertDirtyRangesToUnitRange','_initLicenseValid','START_DEPENDENCY','getClearDependencyTreeCache','sheetId','add','treeId','getRuntimeState','_featureFormulaData','_dependencyRTreeCache','42146577IdcPER','getUnitData','setRuntimeOtherData','getChildren','_isCyclicUtilMap','setTotalFormulasToCalculate','isVirtual','markedAsStopFunctionsExecuted','clear','getExcludedRange','pop','_xlfn.','isExcludeRange','push','searchDependency','rowCount','setSkip','string','resetCalculationState','isArray','_config','endRow','_restDependencyTreeId','_definedNameMap','featureId','column','_astTreeBuilder','_dependencyTreeCache','removeFormulaDependency','getConfig','_addAllTreeMap','_apply','_dependencyManagerService','_executionInProgressListener$','\x22\x20is\x20duplicated.','bulkRemove','_formulaData','_injector','toRTreeItem','keys','dependencySheetName','11201832LciJxr','_getFirstCellOfRange','parseInt','Lambda\x20parameter\x20name\x20\x22'];_0x1942=function(){return _0x4915bc;};return _0x1942();}let b=class extends _0x412443{['_initializeWithOverride'](){const _0x5e8240=_0x47d436;var _0x497074,_0x4dbc3f;this[_0x5e8240(0x278)]()?(this['_injector']['add']([_0x551b17,{'useClass':ve}]),(_0x497074=this['_config'])!=null&&_0x497074[_0x5e8240(0x20e)]||[[_0x43ede9,{'useClass':Se}],[_0x55f7a1,{'useClass':Re}],[_0x498fc6,{'useClass':Be}]]['forEach'](_0x3d352f=>this['_injector']['add'](_0x3d352f))):(this['_injector']['add']([_0x551b17,{'useClass':_0x551b17}]),(_0x4dbc3f=this[_0x5e8240(0x295)])!=null&&_0x4dbc3f[_0x5e8240(0x20e)]||[[_0x43ede9,{'useClass':_0x2bdb8a}],[_0x55f7a1,{'useClass':_0xcd438f}],[_0x498fc6,{'useClass':_0x4ef89f}]][_0x5e8240(0x274)](_0x4b70bd=>this[_0x5e8240(0x1e7)][_0x5e8240(0x27c)](_0x4b70bd)));}[_0x47d436(0x278)](){const _0x44a925=_0x47d436;var _0x537a2e;const _0x379fc3=(_0x537a2e=this[_0x44a925(0x23d)][_0x44a925(0x29e)](_0x12224a))!=null?_0x537a2e:{},{ls:_0x475d82,pbk:_0x1f6727}=_0x379fc3;if(!_0x475d82||!_0x1f6727)return!0x1;const _0x508e2d=_0x220aa4(Me,Ce),_0x1b1550=new Function('return\x20'+_0x508e2d)()(_0x475d82,_0x1f6727),_0x46aa8e=_0x1b1550[_0x44a925(0x262)];return _0x1b1550['valid']&&_0x3628fc(_0x46aa8e,'sf',Ae)?_0x4071cf(_0x46aa8e,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};function _0x14cc(_0x135238,_0xde05ad){_0x135238=_0x135238-0x1e1;const _0x194219=_0x1942();let _0x14ccc0=_0x194219[_0x135238];return _0x14ccc0;}b=He([_0x4d6817(_0x3b55cd)],b);export{b 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};
|
|
@@ -10,55 +10,55 @@ export declare const ReverseMap: {
|
|
|
10
10
|
"8": string;
|
|
11
11
|
"9": string;
|
|
12
12
|
N: string;
|
|
13
|
-
P: string;
|
|
14
|
-
R: string;
|
|
15
|
-
j: string;
|
|
16
|
-
v: string;
|
|
17
|
-
X: string;
|
|
18
|
-
Q: string;
|
|
19
|
-
o: string;
|
|
20
|
-
B: string;
|
|
21
|
-
Z: string;
|
|
22
|
-
M: string;
|
|
23
|
-
w: string;
|
|
24
|
-
m: string;
|
|
25
|
-
a: string;
|
|
26
|
-
f: string;
|
|
27
|
-
p: string;
|
|
28
|
-
x: string;
|
|
29
|
-
c: string;
|
|
30
|
-
d: string;
|
|
31
|
-
V: string;
|
|
32
|
-
H: string;
|
|
33
|
-
i: string;
|
|
34
13
|
r: string;
|
|
35
|
-
|
|
14
|
+
y: string;
|
|
36
15
|
t: string;
|
|
37
16
|
G: string;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
17
|
+
n: string;
|
|
18
|
+
E: string;
|
|
19
|
+
K: string;
|
|
41
20
|
I: string;
|
|
21
|
+
D: string;
|
|
22
|
+
Q: string;
|
|
23
|
+
J: string;
|
|
24
|
+
q: string;
|
|
25
|
+
p: string;
|
|
26
|
+
i: string;
|
|
27
|
+
b: string;
|
|
28
|
+
S: string;
|
|
29
|
+
w: string;
|
|
30
|
+
P: string;
|
|
31
|
+
F: string;
|
|
32
|
+
d: string;
|
|
42
33
|
h: string;
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
j: string;
|
|
35
|
+
e: string;
|
|
36
|
+
c: string;
|
|
37
|
+
W: string;
|
|
38
|
+
X: string;
|
|
39
|
+
Y: string;
|
|
40
|
+
H: string;
|
|
41
|
+
O: string;
|
|
45
42
|
A: string;
|
|
46
|
-
z: string;
|
|
47
|
-
n: string;
|
|
48
|
-
T: string;
|
|
49
|
-
b: string;
|
|
50
|
-
g: string;
|
|
51
43
|
u: string;
|
|
52
|
-
|
|
44
|
+
g: string;
|
|
45
|
+
L: string;
|
|
46
|
+
Z: string;
|
|
47
|
+
V: string;
|
|
48
|
+
M: string;
|
|
53
49
|
l: string;
|
|
54
|
-
S: string;
|
|
55
|
-
W: string;
|
|
56
|
-
D: string;
|
|
57
|
-
K: string;
|
|
58
|
-
F: string;
|
|
59
|
-
J: string;
|
|
60
|
-
q: string;
|
|
61
50
|
C: string;
|
|
51
|
+
m: string;
|
|
52
|
+
o: string;
|
|
53
|
+
v: string;
|
|
54
|
+
k: string;
|
|
55
|
+
U: string;
|
|
56
|
+
x: string;
|
|
57
|
+
R: string;
|
|
58
|
+
B: string;
|
|
59
|
+
a: string;
|
|
60
|
+
T: string;
|
|
61
|
+
z: string;
|
|
62
62
|
s: string;
|
|
63
|
-
|
|
63
|
+
f: 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;
|
|
@@ -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)});}));
|