@univerjs-pro/engine-formula 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +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/engine/formula-dependency.d.ts +4 -3
- package/lib/types/engine/lexer-tree-builder.d.ts +3 -2
- package/lib/types/facade/index.d.ts +3 -1
- package/lib/types/services/calculate-formula.service.d.ts +1 -1
- package/lib/types/services/dependency-manager.service.d.ts +4 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +9 -12
- package/lib/types/license/encrypted-func.d.ts +0 -1
- package/lib/types/license/reverse-mapping.d.ts +0 -65
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x57168e=_0xd6f3;(function(_0x87447a,_0x256a79){const _0x4bcbb4=_0xd6f3,_0xb68d58=_0x87447a();while(!![]){try{const _0x461cea=parseInt(_0x4bcbb4(0x1c1))/0x1*(-parseInt(_0x4bcbb4(0x19a))/0x2)+-parseInt(_0x4bcbb4(0x1be))/0x3+parseInt(_0x4bcbb4(0x165))/0x4*(-parseInt(_0x4bcbb4(0x145))/0x5)+parseInt(_0x4bcbb4(0xf8))/0x6*(parseInt(_0x4bcbb4(0x136))/0x7)+parseInt(_0x4bcbb4(0x189))/0x8+parseInt(_0x4bcbb4(0x1b2))/0x9+parseInt(_0x4bcbb4(0x131))/0xa;if(_0x461cea===_0x256a79)break;else _0xb68d58['push'](_0xb68d58['shift']());}catch(_0xcf3682){_0xb68d58['push'](_0xb68d58['shift']());}}}(_0x2859,0x83732));var ae=Object[_0x57168e(0x10e)],ce=(_0x3ebe1d,_0x48273a,_0x1dd23f)=>_0x48273a in _0x3ebe1d?ae(_0x3ebe1d,_0x48273a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dd23f}):_0x3ebe1d[_0x48273a]=_0x1dd23f,S=(_0x1e4c1b,_0x864908,_0x32c2e0)=>ce(_0x1e4c1b,typeof _0x864908!='symbol'?_0x864908+'':_0x864908,_0x32c2e0);function _0xd6f3(_0x4ed721,_0xcaf6a9){_0x4ed721=_0x4ed721-0xf0;const _0x285971=_0x2859();let _0xd6f313=_0x285971[_0x4ed721];return _0xd6f313;}import{LexerTreeBuilder as _0x352da8,ErrorType as _0x3c8bcc,DEFAULT_TOKEN_TYPE_ROOT as _0x398788,DEFAULT_TOKEN_TYPE_PARAMETER as _0x5c28bc,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x55fed1,NEW_EXCEL_FUNCTIONS as _0x247935,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x1053f4,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x3dba9f,matchToken as _0x32238b,SUFFIX_TOKEN_SET as _0x47ec95,prefixToken as _0x337a6c,LexerNode as _0x2d7180,OPERATOR_TOKEN_SET as _0x49615c,isReferenceString as _0x39557d,splitTableStructuredRef as _0x2dc14d,FormulaDependencyGenerator as _0x5bd3fa,generateRandomDependencyTreeId as _0x5aa957,FormulaDependencyTree as _0xb7f6d0,FormulaDependencyTreeType as _0x2e1f2f,FormulaDependencyTreeVirtual as _0x1ddb19,generateAstNode as _0x45a37a,CalculateFormulaService as _0x2ec710,FormulaExecuteStageType as _0x266f3e,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x2a82c2,DEFAULT_INTERVAL_COUNT as _0x38e45c,DependencyManagerBaseService as _0x305698,UniverFormulaEnginePlugin as _0x34079a,ICalculateFormulaService as _0x528757,IDependencyManagerService as _0x5a194c,IFormulaDependencyGenerator as _0x55acfc,DependencyManagerService as _0x5e11b3}from'@univerjs/engine-formula';export*from'@univerjs/engine-formula';import{UniverLicensePlugin as _0x2de5c3,LS_CONFIG_KEY as _0x252836,unshiftString as _0x17e2b9,isFeatureAuthorizedWithinTime as _0x1174b6,getSheetFeatureLimit as _0x1fe14c}from'@univerjs-pro/license';import{ObjectMatrix as _0x56d594,requestImmediateMacroTask as _0x12ab44,RTree as _0x222b0d,DependentOn as _0x1ebc12}from'@univerjs/core';class Ee extends _0x352da8{constructor(){const _0x495932=_0x57168e;super(...arguments),S(this,_0x495932(0x128),!0x1),S(this,_0x495932(0x1c0),new Set()),S(this,_0x495932(0x11d),_0x495932(0x12e)),S(this,_0x495932(0x11f),'_xlfn.'),S(this,_0x495932(0x1b8),'');}[_0x57168e(0x139)](){const _0x5153e8=_0x57168e;this['_xlpmPrefix']='_xlpm.',this[_0x5153e8(0x11f)]=_0x5153e8(0x10c);}['_clearPrefix'](){const _0x34dfa5=_0x57168e;this[_0x34dfa5(0x11d)]='',this[_0x34dfa5(0x11f)]='';}['getNewFormulaWithPrefix'](_0x58a861,_0x5a673d){const _0x3d98d2=_0x57168e,_0x30dac3=this[_0x3d98d2(0x187)](_0x58a861,!0x1);if(!_0x30dac3||_0x30dac3===_0x3c8bcc[_0x3d98d2(0x13e)]||Array[_0x3d98d2(0xf6)](_0x30dac3))return null;const _0x117af8=[];return this[_0x3d98d2(0x128)]=!0x1,this['_generateNewFunctionString'](_0x30dac3,_0x117af8,_0x5a673d),this[_0x3d98d2(0x128)]?'='+_0x117af8['join'](''):null;}[_0x57168e(0x162)](_0xbc567a,_0x408db,_0x2b2e11){const _0xaa314a=_0x57168e,_0x143195=_0xbc567a[_0xaa314a(0x197)](),_0x250bdd=_0x143195[_0xaa314a(0x17e)](),_0xe78cd=_0x250bdd['toUpperCase'](),_0x25e9a8=this[_0xaa314a(0x18d)](_0xe78cd),_0x2a81a8=_0x2b2e11(_0x25e9a8);let _0xa71d10=0x0;_0x143195===_0x398788?_0xa71d10=0x3:_0x143195===_0x5c28bc?_0xa71d10=0x4:_0x143195===_0x55fed1?_0xa71d10=0x5:_0x247935[_0xaa314a(0x16e)](_0x25e9a8)?(_0x408db['push'](''+this[_0xaa314a(0x11f)]+_0x250bdd),this['_hasNewExcelFunction']=!0x0):_0xe78cd===_0x1053f4?(_0x408db[_0xaa314a(0x1ae)](''+this[_0xaa314a(0x11f)]+_0x250bdd),this['_hasNewExcelFunction']=!0x0,_0xa71d10=0x2):_0xe78cd===_0x3dba9f?(_0x408db[_0xaa314a(0x1ae)](''+this['_xlfnPrefix']+_0x250bdd),this[_0xaa314a(0x128)]=!0x0,_0xa71d10=0x1):_0xe78cd===_0x32238b[_0xaa314a(0x148)]?_0xa71d10=0x8:_0x47ec95[_0xaa314a(0x16e)](_0xe78cd)?_0xa71d10=0x7:_0xe78cd===_0x337a6c[_0xaa314a(0xf0)]?(this[_0xaa314a(0xf4)](_0xbc567a)&&(_0xa71d10=0x9),_0x408db[_0xaa314a(0x1ae)](_0x143195)):(_0x408db['push'](_0x143195),_0xa71d10=0xa),_0x2a81a8?(_0xa71d10!==0x2&&_0xa71d10!==0x1&&(_0xa71d10=0x6),_0x408db['push']('(')):_0xa71d10===0x9&&_0x408db[_0xaa314a(0x1ae)]('(');const _0x23d793=_0xbc567a[_0xaa314a(0x10f)](),_0x4e1120=_0x23d793[_0xaa314a(0x118)];if(_0xa71d10===0x2){const _0x5629f6=_0x23d793[0x0];let _0x3bc087=0x0;_0x5629f6 instanceof _0x2d7180&&_0x5629f6[_0xaa314a(0x197)]()===_0x55fed1&&(_0x3bc087=0x1);for(let _0x6fdcfb=_0x3bc087;_0x6fdcfb<_0x4e1120-0x1;_0x6fdcfb++){const _0x165ea2=_0x23d793[_0x6fdcfb];if(_0x165ea2 instanceof _0x2d7180){const _0x194510=_0x165ea2['getChildren']()[0x0];typeof _0x194510==_0xaa314a(0x106)&&(this[_0xaa314a(0x1c0)][_0xaa314a(0x16e)](_0x194510)&&console[_0xaa314a(0x151)](_0xaa314a(0x1b7)+_0x194510+_0xaa314a(0x134)),this['_lambdaFunctionParameterSet'][_0xaa314a(0x19c)](_0x194510),_0x408db[_0xaa314a(0x1ae)](''+this[_0xaa314a(0x11d)]+_0x194510),this[_0xaa314a(0x128)]=!0x0);}_0x408db[_0xaa314a(0x1ae)](',');}this['_handleNewFunctionChild'](_0x23d793[_0x4e1120-0x1],_0x408db,_0x2b2e11),_0x3bc087===0x1&&(_0x408db[_0xaa314a(0x1ae)](')'),_0x408db[_0xaa314a(0x1ae)]('('),this[_0xaa314a(0x162)](_0x5629f6,_0x408db,_0x2b2e11)),_0x408db['push'](')');return;}else{if(_0xa71d10===0x1){for(let _0x885dca=0x0;_0x885dca<_0x4e1120-0x1;_0x885dca++){const _0x444482=_0x23d793[_0x885dca];if(_0x444482 instanceof _0x2d7180&&_0x885dca%0x2===0x0){const _0xe20f42=_0x444482[_0xaa314a(0x10f)]()[0x0];if(typeof _0xe20f42==_0xaa314a(0x106)){this['_lambdaFunctionParameterSet']['has'](_0xe20f42)&&console[_0xaa314a(0x151)](_0xaa314a(0x168)+_0xe20f42+_0xaa314a(0x134)),this[_0xaa314a(0x1c0)][_0xaa314a(0x19c)](_0xe20f42),_0x408db[_0xaa314a(0x1ae)](''+this[_0xaa314a(0x11d)]+_0xe20f42),this[_0xaa314a(0x128)]=!0x0,_0x408db[_0xaa314a(0x1ae)](',');continue;}}if(this['_handleNewFunctionChild'](_0x444482,_0x408db,_0x2b2e11),_0x444482 instanceof _0x2d7180){const _0x352616=_0x23d793[_0x885dca+0x1];_0x352616&&_0x352616 instanceof _0x2d7180&&_0x408db[_0xaa314a(0x1ae)](',');}}this['_handleNewFunctionChild'](_0x23d793[_0x4e1120-0x1],_0x408db,_0x2b2e11),_0x408db[_0xaa314a(0x1ae)](')');return;}else{if(_0xa71d10===0x8){const _0x44b813=_0x23d793[0x0],_0x29e093=_0x23d793[0x1];this[_0xaa314a(0x16f)](_0x44b813,_0x408db,_0x2b2e11),_0x408db['push'](_0x143195),this[_0xaa314a(0x16f)](_0x29e093,_0x408db,_0x2b2e11);return;}}}for(let _0xa62adb=0x0;_0xa62adb<_0x4e1120;_0xa62adb++){const _0x5ac890=_0x23d793[_0xa62adb];if(this[_0xaa314a(0x16f)](_0x5ac890,_0x408db,_0x2b2e11),_0x5ac890 instanceof _0x2d7180){const _0xea01c3=_0x23d793[_0xa62adb+0x1];_0xea01c3&&_0xea01c3 instanceof _0x2d7180&&_0x408db[_0xaa314a(0x1ae)](',');}}_0xa71d10===0x7&&_0x408db[_0xaa314a(0x1ae)](_0x143195),(_0x2a81a8||_0xa71d10===0x9)&&_0x408db[_0xaa314a(0x1ae)](')');}[_0x57168e(0x16f)](_0x3d0d7a,_0x29addc,_0x4cfe84){const _0x443fe4=_0x57168e;_0x3d0d7a instanceof _0x2d7180?this[_0x443fe4(0x162)](_0x3d0d7a,_0x29addc,_0x4cfe84):this['_lambdaFunctionParameterSet'][_0x443fe4(0x16e)](_0x3d0d7a)?(_0x29addc[_0x443fe4(0x1ae)](''+this[_0x443fe4(0x11d)]+_0x3d0d7a),this['_hasNewExcelFunction']=!0x0):_0x29addc[_0x443fe4(0x1ae)](_0x3d0d7a);}[_0x57168e(0x18d)](_0x443e7b){const _0x1c0350=_0x57168e;let _0x5edbc8=_0x443e7b[_0x1c0350(0x17e)]();if(!_0x5edbc8)return _0x5edbc8;const _0x34f287=_0x5edbc8[0x0];if((_0x34f287===_0x337a6c['AT']||_0x34f287===_0x337a6c['MINUS']||_0x34f287===_0x337a6c['PLUS'])&&(_0x5edbc8=_0x5edbc8[_0x1c0350(0x19b)](0x1)),!_0x5edbc8)return _0x5edbc8;const _0x47747d=_0x5edbc8[_0x5edbc8[_0x1c0350(0x118)]-0x1];return _0x47ec95[_0x1c0350(0x16e)](_0x47747d)&&(_0x5edbc8=_0x5edbc8['slice'](0x0,-0x1)),_0x5edbc8;}[_0x57168e(0xf4)](_0x2d23ee){const _0x37ed02=_0x57168e,_0x410aba=_0x2d23ee[_0x37ed02(0x10f)]()[0x0];if(!_0x410aba||!(_0x410aba instanceof _0x2d7180)||_0x2d23ee[_0x37ed02(0x10f)]()[_0x37ed02(0x118)]>0x1)return!0x1;const _0x243eb0=_0x410aba['getChildren'](),_0x7a9b77=_0x243eb0[_0x37ed02(0x118)];if(_0x7a9b77===0x1)return!0x1;for(let _0x11e83e=0x0;_0x11e83e<_0x7a9b77;_0x11e83e++){const _0x3f1750=_0x243eb0[_0x11e83e];if(!(_0x3f1750 instanceof _0x2d7180)&&_0x49615c[_0x37ed02(0x16e)](_0x3f1750))return!0x0;}return!0x1;}['getFormulaExprTree'](_0x343124,_0x59bb4a,_0x25764b,_0x47db6f,_0xdd06e6){const _0x15f44e=_0x57168e,_0x1779d7=this[_0x15f44e(0x187)](_0x343124,!0x1);if(!_0x1779d7||_0x1779d7===_0x3c8bcc['VALUE']||Array['isArray'](_0x1779d7))return null;this[_0x15f44e(0x1a5)](),this[_0x15f44e(0x1b8)]=_0x59bb4a;const _0x90405e=this[_0x15f44e(0x12c)](_0x1779d7,_0x25764b,_0x47db6f,_0xdd06e6);return this[_0x15f44e(0x1b8)]='',this['_resetPrefix'](),_0x90405e;}[_0x57168e(0x12c)](_0x42172d,_0x43af90,_0x34f385,_0x8470e7){const _0x42b883=_0x57168e,_0x515699={'value':'','children':[],'startIndex':0x0};let _0x525708=_0x42172d;if(_0x525708 instanceof _0x2d7180&&(_0x525708['getToken']()===_0x398788||_0x525708[_0x42b883(0x197)]()===_0x5c28bc)&&_0x525708[_0x42b883(0x10f)]()[_0x42b883(0x118)]===0x1&&(_0x525708=_0x525708['getChildren']()[0x0]),!(_0x525708 instanceof _0x2d7180))return this[_0x42b883(0x171)](_0x525708,_0x34f385,_0x8470e7);const _0x4c8367=_0x525708['getChildren'](),_0x2c54aa=_0x4c8367[_0x42b883(0x118)],_0x1d217e=[];this[_0x42b883(0x162)](_0x525708,_0x1d217e,_0x43af90),_0x515699[_0x42b883(0x124)]=_0x1d217e[_0x42b883(0x1b1)](''),_0x515699[_0x42b883(0x123)]=_0x525708[_0x42b883(0x132)]();const _0x280f78=this['_getCurNodeTypeForExprTree'](_0x525708);if(_0x280f78===0x2){const _0x208bff=_0x4c8367[0x0];if(_0x208bff instanceof _0x2d7180){if(_0x208bff['getToken']()[_0x42b883(0x17e)]()!==_0x55fed1)return _0x515699;this[_0x42b883(0x188)](_0x208bff,_0x515699,_0x43af90,_0x34f385,_0x8470e7);}return _0x515699;}else{if(_0x280f78===0x1){for(let _0x4c3025=0x0;_0x4c3025<_0x2c54aa-0x1;_0x4c3025++){const _0x44f027=_0x4c8367[_0x4c3025];if(_0x44f027 instanceof _0x2d7180&&_0x4c3025%0x2===0x1){const _0x463a15=_0x44f027[_0x42b883(0x10f)]();if(_0x463a15['length']===0x1&&!(_0x463a15[0x0]instanceof _0x2d7180))continue;const _0x21bec7=this[_0x42b883(0x12c)](_0x44f027,_0x43af90,_0x34f385,_0x8470e7);_0x21bec7&&_0x515699[_0x42b883(0xf7)][_0x42b883(0x1ae)](_0x21bec7);}}return _0x515699;}else{if(_0x280f78===0x8){const _0xee72d4=_0x4c8367[0x0];if(_0xee72d4 instanceof _0x2d7180){const _0x335316=_0xee72d4[_0x42b883(0x10f)]()[0x0];_0x335316 instanceof _0x2d7180&&(_0x515699[_0x42b883(0x123)]=_0x335316['getStartIndex']());}if(this[_0x42b883(0x179)](_0x525708))return _0x515699;}else{if(_0x280f78===0x7){const _0x390a56=_0x4c8367[0x0];if(_0x390a56 instanceof _0x2d7180){const _0x1d39ea=_0x390a56['getChildren']()[0x0];_0x1d39ea instanceof _0x2d7180&&(_0x515699[_0x42b883(0x123)]=_0x1d39ea[_0x42b883(0x132)]());}}}}}return this[_0x42b883(0x178)](_0x4c8367,_0x280f78,_0x515699,_0x43af90,_0x34f385,_0x8470e7),_0x515699;}['_handleChildrenForExprTree'](_0x2f991b,_0x5b8a70,_0x19df8c,_0x4d10c5,_0x4494d0,_0x2ea823){const _0x5be88e=_0x57168e;for(let _0x16131b=0x0;_0x16131b<_0x2f991b[_0x5be88e(0x118)];_0x16131b++){let _0x5f4cc5=_0x2f991b[_0x16131b];if(!(_0x5f4cc5 instanceof _0x2d7180)){const _0x5d0e71=this[_0x5be88e(0x171)](_0x5f4cc5,_0x4494d0,_0x2ea823);_0x5d0e71&&_0x19df8c['children'][_0x5be88e(0x1ae)](_0x5d0e71);continue;}const _0x56c8ac=_0x5f4cc5[_0x5be88e(0x10f)]();if(_0x56c8ac[_0x5be88e(0x118)]===0x1&&!(_0x56c8ac[0x0]instanceof _0x2d7180)){const _0x1945cb=_0x56c8ac[0x0];if(!_0x4494d0(this[_0x5be88e(0x1b8)],_0x1945cb)&&!this['_getTableNameFromStructuredRef'](_0x1945cb,_0x2ea823)&&!_0x39557d(_0x1945cb))continue;}if(_0x5b8a70===0x8){const _0x32cd04=_0x56c8ac[0x0];if(_0x32cd04 instanceof _0x2d7180){const _0x1a040d=_0x32cd04[_0x5be88e(0x197)]()['trim']();if(_0x39557d(_0x1a040d))continue;_0x5f4cc5=_0x32cd04;}}const _0x3f8602=this[_0x5be88e(0x12c)](_0x5f4cc5,_0x4d10c5,_0x4494d0,_0x2ea823);_0x3f8602&&_0x19df8c['children'][_0x5be88e(0x1ae)](_0x3f8602);}}[_0x57168e(0x179)](_0x579ca8){const _0xf55040=_0x57168e,_0x179174=_0x579ca8['getChildren']();if(_0x179174['length']<0x2)return!0x1;const _0x3cbcb4=_0x179174[0x0],_0x2b440a=_0x179174[0x1];if(!(_0x3cbcb4 instanceof _0x2d7180)||!(_0x2b440a instanceof _0x2d7180))return!0x1;const _0x44c461=_0x3cbcb4['getChildren']()[0x0],_0x554518=_0x2b440a[_0xf55040(0x10f)]()[0x0];if(!(_0x44c461 instanceof _0x2d7180)||!(_0x554518 instanceof _0x2d7180))return!0x1;const _0x2d7593=_0x44c461[_0xf55040(0x197)]()['trim'](),_0x83dc6d=_0x554518[_0xf55040(0x197)]()[_0xf55040(0x17e)]();return!!_0x39557d(''+_0x2d7593+_0x32238b[_0xf55040(0x148)]+_0x83dc6d);}[_0x57168e(0x171)](_0x5b8fbf,_0x49dcaf,_0xfebf6b){const _0x1d8e4a=_0x57168e,_0x238648=_0x5b8fbf[_0x1d8e4a(0x17e)]();return _0x238648['startsWith']('{')&&_0x238648[_0x1d8e4a(0xfe)]('}')||_0x49dcaf(this['_currentUnitId'],_0x238648)||this[_0x1d8e4a(0x19e)](_0x238648,_0xfebf6b)||_0x39557d(_0x238648)?{'value':_0x238648,'children':[],'startIndex':-0x1}:null;}[_0x57168e(0x19e)](_0x241a2b,_0x2eea79){const {tableName:_0x48ec2d}=_0x2dc14d(_0x241a2b);return _0x2eea79(this['_currentUnitId'],_0x48ec2d)?_0x48ec2d:null;}['_handleLambdaForExprTree'](_0xe35bf3,_0x43493f,_0x7163bf,_0x526c09,_0x407bdf){const _0x1c81cd=_0x57168e,_0x327408=_0xe35bf3[_0x1c81cd(0x10f)]();for(let _0x383e67=0x0;_0x383e67<_0x327408[_0x1c81cd(0x118)];_0x383e67++){const _0x4b16af=_0x327408[_0x383e67];if(!(_0x4b16af instanceof _0x2d7180))continue;const _0xcc4817=_0x4b16af[_0x1c81cd(0x10f)]();if(_0xcc4817[_0x1c81cd(0x118)]===0x1&&!(_0xcc4817[0x0]instanceof _0x2d7180))continue;const _0x322483=this[_0x1c81cd(0x12c)](_0x4b16af,_0x7163bf,_0x526c09,_0x407bdf);_0x322483&&_0x43493f['children'][_0x1c81cd(0x1ae)](_0x322483);}}['_getCurNodeTypeForExprTree'](_0x59c241){const _0x3721a0=_0x57168e,_0x34abf8=_0x59c241['getToken'](),_0x56ba8d=_0x34abf8[_0x3721a0(0x17e)]()['toUpperCase']();let _0x10f6fa=0x0;return _0x34abf8===_0x398788?_0x10f6fa=0x3:_0x34abf8===_0x5c28bc?_0x10f6fa=0x4:_0x34abf8===_0x55fed1?_0x10f6fa=0x5:_0x56ba8d===_0x1053f4?_0x10f6fa=0x2:_0x56ba8d===_0x3dba9f?_0x10f6fa=0x1:_0x56ba8d===_0x32238b[_0x3721a0(0x148)]?_0x10f6fa=0x8:_0x47ec95[_0x3721a0(0x16e)](_0x56ba8d)?_0x10f6fa=0x7:_0x56ba8d===_0x337a6c[_0x3721a0(0xf0)]?this['_checkAddBracketForMinus'](_0x59c241)&&(_0x10f6fa=0x9):_0x10f6fa=0xa,_0x10f6fa;}}const ve=_0x57168e(0x170),Pe=_0x57168e(0x10b),Q={'name':ve,'version':Pe};class Me extends _0x5bd3fa{constructor(){super(...arguments),S(this,'_dependencyTreeCache',new Map());}[_0x57168e(0x1b9)](){const _0x55dbd9=_0x57168e;super[_0x55dbd9(0x1b9)](),this[_0x55dbd9(0x180)][_0x55dbd9(0x190)]();}async['generate'](_0x16c95e=!0x1){const _0x58206b=_0x57168e;this['_updateRangeFlatten']();const _0x4ee920=this[_0x58206b(0x1aa)][_0x58206b(0x107)](),_0x270a7d=this[_0x58206b(0x166)][_0x58206b(0x1a7)](),_0x1a083f=this[_0x58206b(0x1aa)][_0x58206b(0x146)]();_0x1a083f!=null&&Object[_0x58206b(0x176)](_0x1a083f)[_0x58206b(0x121)](_0xe0ab0b=>{const _0x5b857c=_0x58206b;_0xe0ab0b!=null&&Object[_0x5b857c(0x176)](_0x1a083f[_0xe0ab0b])[_0x5b857c(0x121)](_0x1f6814=>{const _0x1970c0=_0x5b857c;_0x1f6814!=null&&(this[_0x1970c0(0x15c)][_0x1970c0(0xfb)](_0xe0ab0b,_0x1f6814),this[_0x1970c0(0x15c)][_0x1970c0(0x12a)](_0xe0ab0b,_0x1f6814),this['_dependencyManagerService'][_0x1970c0(0x198)](_0xe0ab0b,_0x1f6814));});});const _0x445ec4=this[_0x58206b(0x1aa)][_0x58206b(0x133)]();await this[_0x58206b(0xf3)](_0x4ee920,_0x270a7d,_0x445ec4),this[_0x58206b(0x15c)][_0x58206b(0x182)]();const _0x43741b=this[_0x58206b(0x1c2)](),_0xf59db7=this[_0x58206b(0x192)](_0x43741b);return this[_0x58206b(0x19d)](_0xf59db7)&&this['_runtimeService']['enableCycleDependency'](),_0x16c95e&&this[_0x58206b(0x119)][_0x58206b(0x158)](this[_0x58206b(0x1a3)](Array[_0x58206b(0x1bf)](this[_0x58206b(0x180)]['values']()))),this['_dependencyTreeCache'][_0x58206b(0x190)](),this[_0x58206b(0x105)][_0x58206b(0x190)](),this[_0x58206b(0x15c)]['closeKdTree'](),this[_0x58206b(0x119)]['clearArrayObjectCache'](),Promise[_0x58206b(0x109)](_0xf59db7);}['_isCyclicUtilMap'](_0x3d7ba0,_0x468ddc){const _0x2ac40=_0x57168e,_0x23a0b7=[_0x3d7ba0];for(;_0x23a0b7[_0x2ac40(0x118)]>0x0;){const _0x1a9dee=_0x23a0b7[_0x23a0b7['length']-0x1];if((_0x468ddc[_0x2ac40(0x1ba)](_0x1a9dee)||0x0)===0x0){_0x468ddc['set'](_0x1a9dee,0x1);const _0x33b989=this[_0x2ac40(0x180)]['get'](_0x1a9dee);if(_0x33b989==null){_0x468ddc[_0x2ac40(0x147)](_0x1a9dee,0x2),_0x23a0b7[_0x2ac40(0x1ac)]();continue;}const _0x3912d1=this[_0x2ac40(0x15c)]['searchDependency'](_0x33b989[_0x2ac40(0x156)]());for(const _0x47f7df of _0x3912d1){const _0x1472c9=_0x468ddc['get'](_0x47f7df)||0x0;if(_0x1472c9===0x1)return!0x0;_0x1472c9===0x0&&_0x23a0b7['push'](_0x47f7df);}}else _0x468ddc['set'](_0x1a9dee,0x2),_0x23a0b7['pop']();}return!0x1;}[_0x57168e(0x19d)](_0x27c2c0){const _0x58f90b=_0x57168e,_0xfcd7ab=new Map();for(const _0x15d019 of _0x27c2c0)if(!_0xfcd7ab[_0x58f90b(0x16e)](_0x15d019[_0x58f90b(0x1ad)])&&this[_0x58f90b(0x186)](_0x15d019[_0x58f90b(0x1ad)],_0xfcd7ab))return!0x0;return _0xfcd7ab['clear'](),!0x1;}[_0x57168e(0x1bc)](_0x2b064a,_0x30ff64,_0x1b485f){const _0x1ce85f=_0x57168e,{unitId:_0x5db1a0,subUnitId:_0x170d11,dependencyRanges:_0x59bf57,getDirtyData:_0x85eeff}=_0x1b485f,_0x1fac67=_0x30ff64||_0x5aa957(this[_0x1ce85f(0x15c)]),_0xab51b5=new _0xb7f6d0(_0x1fac67);_0xab51b5['unitId']=_0x5db1a0,_0xab51b5[_0x1ce85f(0x18b)]=_0x170d11,_0xab51b5[_0x1ce85f(0x116)]=_0x59bf57,_0xab51b5[_0x1ce85f(0x17a)]=_0x85eeff;const _0x438e83=_0x85eeff(this[_0x1ce85f(0x1aa)][_0x1ce85f(0x17a)](),this[_0x1ce85f(0x119)]['getAllRuntimeData']()),_0x36d5bc=this['_convertDirtyRangesToUnitRange'](_0x438e83[_0x1ce85f(0x181)]);return _0xab51b5[_0x1ce85f(0x16a)]=_0x36d5bc,_0xab51b5['featureId']=_0x2b064a,_0xab51b5[_0x1ce85f(0x191)]=_0x2e1f2f[_0x1ce85f(0x193)],this['_dependencyManagerService']['addFeatureFormulaDependency'](_0x5db1a0,_0x170d11,_0x2b064a,_0xab51b5),this[_0x1ce85f(0x180)][_0x1ce85f(0x147)](_0xab51b5['treeId'],_0xab51b5),this[_0x1ce85f(0x15c)][_0x1ce85f(0x11e)](_0x1b485f['unitId'],_0x1b485f[_0x1ce85f(0x18b)],_0x2b064a)&&(_0xab51b5[_0x1ce85f(0x14e)]=!0x0),_0xab51b5;}[_0x57168e(0x17b)](_0x2d58bd,_0x7837f3,_0x54b4db){const _0x10e01c=_0x57168e;var _0x4b5c19;for(const _0x19d0d1 of _0x7837f3){const _0x1e7852=_0x2d58bd[_0x19d0d1];if(_0x1e7852==null)continue;const _0x993a45=Object[_0x10e01c(0x176)](_0x1e7852);for(const _0x1b2873 of _0x993a45){const _0x2a05c9=_0x1e7852[_0x1b2873];if(_0x2a05c9==null)continue;const _0x5841db=Object[_0x10e01c(0x176)](_0x2a05c9);for(const _0x14a496 of _0x5841db){const _0x1c94df=this[_0x10e01c(0x15c)][_0x10e01c(0x16c)](_0x14a496),_0x5017f4=_0x2a05c9[_0x14a496],{f:_0x3b4286,ranges:_0x56ef2d}=_0x5017f4;let _0x5ae6d5=!0x1;_0x1c94df&&(_0x5ae6d5=!0x0);const {firstRow:_0x25e639,firstColumn:_0x5a3065}=this['_getFirstCellOfRange'](_0x56ef2d),_0x56f271=this['_dependencyManagerService'][_0x10e01c(0x114)](_0x19d0d1,_0x1b2873,_0x14a496),_0x712084=(_0x4b5c19=_0x56f271==null?void 0x0:_0x56f271[_0x10e01c(0x13a)](0x0,0x0))!=null?_0x4b5c19:_0x5aa957(this[_0x10e01c(0x15c)]),_0x229d01=new _0xb7f6d0(_0x712084);for(let _0x3cfc7a=0x0;_0x3cfc7a<_0x56ef2d[_0x10e01c(0x118)];_0x3cfc7a++){const _0x12a67e=_0x56ef2d[_0x3cfc7a],{startRow:_0x94a95e,startColumn:_0x372364,endRow:_0x85ef3a,endColumn:_0x2c9e4d}=_0x12a67e;for(let _0x3410ba=_0x94a95e;_0x3410ba<=_0x85ef3a;_0x3410ba++)for(let _0x1d6a62=_0x372364;_0x1d6a62<=_0x2c9e4d;_0x1d6a62++){const _0x3af003=_0x1d6a62-_0x5a3065,_0x451d0e=_0x3410ba-_0x25e639;if(_0x3af003===0x0&&_0x451d0e===0x0){_0x229d01[_0x10e01c(0x1a9)]=_0x3b4286,_0x229d01['unitId']=_0x19d0d1,_0x229d01[_0x10e01c(0x18b)]=_0x1b2873,_0x229d01['formulaId']=_0x14a496,_0x229d01[_0x10e01c(0x191)]=_0x2e1f2f[_0x10e01c(0x108)],_0x229d01[_0x10e01c(0x14e)]=_0x5ae6d5,_0x54b4db['push'](_0x229d01),this[_0x10e01c(0x180)]['set'](_0x229d01[_0x10e01c(0x1ad)],_0x229d01),this[_0x10e01c(0x15c)][_0x10e01c(0x141)](_0x19d0d1,_0x1b2873,_0x14a496,_0x229d01),this[_0x10e01c(0x15c)][_0x10e01c(0x153)](_0x229d01);continue;}const _0x141f92=new _0x1ddb19();_0x141f92[_0x10e01c(0x1ad)]=(_0x56f271==null?void 0x0:_0x56f271['getValue'](_0x3af003,_0x451d0e))||_0x5aa957(this[_0x10e01c(0x15c)]),_0x141f92[_0x10e01c(0x159)]=_0x229d01,_0x141f92[_0x10e01c(0xf1)]=_0x3af003,_0x141f92[_0x10e01c(0x11a)]=_0x451d0e,_0x141f92[_0x10e01c(0x14e)]=_0x5ae6d5,_0x141f92[_0x10e01c(0x191)]=_0x2e1f2f['OTHER_FORMULA'],this[_0x10e01c(0x15c)][_0x10e01c(0x141)](_0x19d0d1,_0x1b2873,_0x14a496,_0x141f92),this[_0x10e01c(0x15c)][_0x10e01c(0x153)](_0x141f92),_0x54b4db[_0x10e01c(0x1ae)](_0x141f92),this[_0x10e01c(0x180)]['set'](_0x141f92[_0x10e01c(0x1ad)],_0x141f92);}}this[_0x10e01c(0x15c)][_0x10e01c(0x117)](_0x14a496);}}}}[_0x57168e(0x12f)](_0x3cf4ee,_0x1c8f72,_0x20dcee,_0x13df8a){const _0x5bd5c1=_0x57168e;for(const _0xc5b771 of _0x3cf4ee){const _0x211e3f=_0x1c8f72[_0xc5b771];if(_0x211e3f==null)continue;const _0x2a50dc=Object['keys'](_0x211e3f);for(const _0x27df91 of _0x2a50dc){const _0x42e0b1=new _0x56d594(_0x211e3f[_0x27df91]||{}),_0x2130d6=new Map();_0x42e0b1[_0x5bd5c1(0x167)]((_0xf292f9,_0x2ced89,_0x5d6779)=>{const _0x3311a3=_0x5bd5c1;if(_0x5d6779==null)return!0x0;const {x:_0x543ac9=0x0,y:_0x2f9a9b=0x0,si:_0x26082d}=_0x5d6779;if(!(_0x543ac9===0x0&&_0x2f9a9b===0x0&&_0x26082d!=null))return!0x0;const _0x364dee=this[_0x3311a3(0x19f)](_0xc5b771,_0x27df91,_0xf292f9,_0x2ced89,_0x20dcee,_0x5d6779),_0x473aa7=this[_0x3311a3(0x15c)][_0x3311a3(0x11b)](_0xc5b771,_0x27df91,_0xf292f9,_0x2ced89);_0x473aa7!=null?_0x364dee[_0x3311a3(0x1ad)]=_0x473aa7:(this[_0x3311a3(0x15c)][_0x3311a3(0x14a)](_0xc5b771,_0x27df91,_0xf292f9,_0x2ced89,_0x364dee),this[_0x3311a3(0x15c)]['addFormulaDependencyByDefinedName'](_0x364dee)),_0x2130d6[_0x3311a3(0x147)](_0x26082d,_0x364dee),_0x13df8a['push'](_0x364dee),this[_0x3311a3(0x180)][_0x3311a3(0x147)](_0x364dee[_0x3311a3(0x1ad)],_0x364dee);}),_0x42e0b1[_0x5bd5c1(0x167)]((_0x5a3530,_0x81a6d5,_0xefe051)=>{const _0x149d70=_0x5bd5c1;if(_0xefe051==null)return!0x0;const {x:_0x1bd48f=0x0,y:_0x1332ce=0x0,si:_0x5a1845}=_0xefe051;if(_0x1bd48f===0x0&&_0x1332ce===0x0&&_0x5a1845!=null)return!0x0;let _0x1654a3;if(_0x5a1845&&_0x2130d6[_0x149d70(0x16e)](_0x5a1845)){const _0x4be1cb=_0x2130d6[_0x149d70(0x1ba)](_0x5a1845);_0x1654a3=this[_0x149d70(0x177)](_0x4be1cb,_0xefe051);}else _0x1654a3=this['_createFDtree'](_0xc5b771,_0x27df91,_0x5a3530,_0x81a6d5,_0x20dcee,_0xefe051);const _0x483f6e=this[_0x149d70(0x15c)][_0x149d70(0x11b)](_0xc5b771,_0x27df91,_0x5a3530,_0x81a6d5);_0x483f6e!=null?_0x1654a3[_0x149d70(0x1ad)]=_0x483f6e:(this[_0x149d70(0x15c)][_0x149d70(0x14a)](_0xc5b771,_0x27df91,_0x5a3530,_0x81a6d5,_0x1654a3),this['_dependencyManagerService']['addFormulaDependencyByDefinedName'](_0x1654a3)),_0x13df8a['push'](_0x1654a3),this[_0x149d70(0x180)][_0x149d70(0x147)](_0x1654a3[_0x149d70(0x1ad)],_0x1654a3);}),_0x2130d6[_0x5bd5c1(0x190)]();}}}['_createFDtree'](_0x418f86,_0x39ebf2,_0x1289f2,_0x3cddd0,_0x48550f,_0x44c441){const _0x1e876d=_0x57168e,{f:_0x21ab99,x:_0x4e6b8e=0x0,y:_0x4bfff8=0x0}=_0x44c441,_0x155ad6=new _0xb7f6d0(_0x5aa957(this['_dependencyManagerService'])),_0x18040a=_0x48550f[_0x418f86][_0x39ebf2];return _0x155ad6['formula']=_0x21ab99,_0x155ad6[_0x1e876d(0x1a4)]=_0x418f86,_0x155ad6[_0x1e876d(0x18b)]=_0x39ebf2,_0x155ad6[_0x1e876d(0x15e)]=_0x1289f2,_0x155ad6[_0x1e876d(0x142)]=_0x3cddd0,_0x155ad6[_0x1e876d(0x18a)]=_0x18040a[_0x1e876d(0x18a)],_0x155ad6[_0x1e876d(0x184)]=_0x18040a[_0x1e876d(0x184)],_0x155ad6;}[_0x57168e(0x1c2)](){const _0x1720bd=_0x57168e,_0x25d4a1=[],_0x343fbb=new Set(),_0x335ff4=this[_0x1720bd(0x1aa)][_0x1720bd(0x126)](),_0x5a685f=this[_0x1720bd(0x1aa)][_0x1720bd(0x143)](),_0x34cce7=this[_0x1720bd(0x15c)][_0x1720bd(0x17f)](_0x5a685f),_0x3d82d6=this[_0x1720bd(0x105)]['bulkSearch'](_0x5a685f);for(const _0x3895ae of _0x3d82d6)_0x34cce7[_0x1720bd(0x19c)](_0x3895ae);for(const [_0x31b8ec,_0x48d1b0]of this[_0x1720bd(0x180)])(_0x335ff4||_0x48d1b0['isDirty']||_0x48d1b0[_0x1720bd(0x14b)](this[_0x1720bd(0x1aa)]['getDirtyNameMap']())||_0x34cce7[_0x1720bd(0x16e)](_0x31b8ec)&&!_0x48d1b0['isExcludeRange'](this[_0x1720bd(0x1aa)][_0x1720bd(0x150)]()))&&!_0x343fbb[_0x1720bd(0x16e)](_0x31b8ec)&&(_0x25d4a1[_0x1720bd(0x1ae)](_0x48d1b0),_0x343fbb[_0x1720bd(0x19c)](_0x31b8ec));for(const [_0x213a8f,_0x3005c3]of this[_0x1720bd(0x180)])_0x3005c3[_0x1720bd(0x1c3)]||(_0x3005c3[_0x1720bd(0x116)][_0x1720bd(0x118)]=0x0);return _0x25d4a1;}[_0x57168e(0x199)](_0x29024a){const _0x52e788=_0x57168e;return this[_0x52e788(0x180)]['get'](_0x29024a);}['_getTreeNode'](_0x1ef3f5){const _0xb1db24=_0x57168e;return _0x45a37a(_0x1ef3f5['unitId'],_0x1ef3f5[_0xb1db24(0x1a9)],this[_0xb1db24(0x1a0)],this[_0xb1db24(0x17c)],this[_0xb1db24(0x1aa)]);}*[_0x57168e(0x122)](_0x5cb0cc,_0x2a15e4){const _0x553f85=_0x57168e,_0x1fdbf3=_0x5cb0cc,_0x16000c=new Set();for(;_0x1fdbf3[_0x553f85(0x118)]>0x0;){const _0x2822a4=_0x1fdbf3[_0x553f85(0x1ac)]();if(_0x16000c[_0x553f85(0x190)](),_0x2822a4===void 0x0||_0x2822a4[_0x553f85(0xff)]())continue;if(_0x2822a4[_0x553f85(0x15a)]()){yield _0x2822a4,_0x2822a4[_0x553f85(0x173)](),_0x2a15e4[_0x553f85(0x19c)](_0x2822a4[_0x553f85(0x1ad)]);continue;}const _0x2932b1=this['_dependencyManagerService'][_0x553f85(0x17f)](_0x2822a4[_0x553f85(0x156)](),_0x2a15e4),_0x2c19f1=this[_0x553f85(0x105)][_0x553f85(0x174)](_0x2822a4[_0x553f85(0x156)](),_0x2a15e4);for(const _0xda34e3 of _0x2c19f1)_0x2932b1[_0x553f85(0x19c)](_0xda34e3);for(const _0x5b7842 of _0x2932b1){const _0x3b92a4=this[_0x553f85(0x180)][_0x553f85(0x1ba)](_0x5b7842);if(!_0x3b92a4){console['error'](_0x553f85(0xf2),_0x5b7842);continue;}_0x3b92a4['isAdded']()||_0x2822a4[_0x553f85(0xff)]()||_0x16000c[_0x553f85(0x19c)](_0x3b92a4);}if(_0x2932b1[_0x553f85(0x190)](),_0x16000c[_0x553f85(0xf5)]===0x0)yield _0x2822a4,_0x2822a4[_0x553f85(0x173)](),_0x2a15e4[_0x553f85(0x19c)](_0x2822a4[_0x553f85(0x1ad)]);else{_0x2822a4['setAdded'](),_0x1fdbf3[_0x553f85(0x1ae)](_0x2822a4);for(const _0xf29a26 of _0x16000c)_0x1fdbf3[_0x553f85(0x1ae)](_0xf29a26);}}_0x1fdbf3['length']=0x0,_0x16000c[_0x553f85(0x190)]();}[_0x57168e(0x192)](_0x43e75c){const _0x5c1b94=_0x57168e,_0x5f2936=[],_0x4d64e4=new Set();for(const _0x490401 of this['_traverse'](_0x43e75c,_0x4d64e4))_0x5f2936[_0x5c1b94(0x1ae)](_0x490401);return _0x5f2936;}async['_getAllTreeList'](){const _0x4d236f=_0x57168e;return await this['_initializeGenerateTreeList'](),Array['from'](this[_0x4d236f(0x180)]['values']());}[_0x57168e(0x194)](_0x5713f6){const _0x491ed4=_0x57168e;return this[_0x491ed4(0x15c)]['searchDependency'](_0x5713f6['toRTreeItem']());}[_0x57168e(0x12d)](_0x19c96a){const _0x42a271=_0x57168e,_0x165fa4=new Set(),_0x4642e1=_0x19c96a['rangeList'];for(const [_0x25b407,_0x28ed44]of this['_dependencyTreeCache'])for(const _0x1d24aa of _0x4642e1){const _0x47c0e7=_0x1d24aa[_0x42a271(0x1a4)],_0x3e5c22=_0x1d24aa[_0x42a271(0xf9)];if(_0x28ed44['unitId']!==_0x47c0e7||_0x28ed44['subUnitId']!==_0x3e5c22)continue;const _0x2b2348=_0x1d24aa[_0x42a271(0x155)];if(_0x28ed44[_0x42a271(0x137)](_0x2b2348)){_0x165fa4[_0x42a271(0x19c)](_0x25b407);break;}}return _0x165fa4;}['_startFormulaDependencyTreeModel'](){const _0x29e403=_0x57168e;this[_0x29e403(0x15c)][_0x29e403(0x182)]();}[_0x57168e(0x10d)](){const _0x283de1=_0x57168e;this[_0x283de1(0x185)][_0x283de1(0x190)](),this['_dependencyTreeCache']['clear'](),this[_0x283de1(0x15c)][_0x283de1(0x14d)]();}}const Re='/*pNJE9Dx-W9JgmENpXSNaNS-xN\x20XEgxNp*/anDUx9PDpWNUS5Xx9PD(E9UNDJN,pXnmE9UsN5)p{ppppxS5p{ppppppppUPDJxpE9UNDJNzDaPkgSxuSSg5p=pE9UNDJN.JXE9x(\x27-\x27);ppppppppUPDJxpPS9K9DrNJJgKNp=p2FtZ.XgSJN(gxPm(E9UNDJNzDaPkgSxuSSg5[Y]));pppppppp9ap(!PS9K9DrNJJgKN.nW)p{ppppppppppppPS9K9DrNJJgKN.nWp=pZn\x20mNS(E9UNDJNzDaPkgSxuSSg5[R]);pppppppp}ppppppppUPDJxp9J1PSTNSp=px5XNPap1PSTNSIEPmgEFUPXNp!==p\x27nDWNa9DNW\x27p&&pJNEap9DJxgDUNPap1PSTNSIEPmgEFUPXN;ppppppppUPDJxp9JCSPvJNSp=px5XNPapv9DWPvp!==p\x27nDWNa9DNW\x27p&&px5XNPapv9DWPv.EPUgx9PDp!==p\x27nDWNa9DNW\x27;ppppppppUPDJxpUPDxN3xp=p9J1PSTNSp?pJNEap:p(9JCSPvJNSp?pv9DWPvp:pKEPmgELw9J);ppppppppUPDJxp\x20NJJgKN1PSWp=pUPDxN3x.__CgJNoR__.XgSJN(E9UNDJNzDaPkgSxuSSg5[Y]);ppppppppUPDJxp\x20NJJgKNp=pUPDxN3x.__fN3__.JxS9DK9a5(\x20NJJgKN1PSW);ppppppppUPDJxpJ9KDgxnSN1PSWp=pUPDxN3x.__CgJNoR__.XgSJN(E9UNDJNzDaPkgSxuSSg5[d]);ppppppppUPDJxpJ9KDgxnSNp=pUPDxN3x.__fN3__.JxS9DK9a5(J9KDgxnSN1PSW);ppppppppUPDJxpJ9KDcgE9Wp=pUPDxN3x.__eNS9a5__(J9KDgxnSN,p\x20NJJgKN,pXnmE9UsN5);ppppppppUPDJxpWP\x20g9Dp=pPS9K9DrNJJgKN.W\x20;ppppppppanDUx9PDp9JGP\x20g9DrgxUw9DK(XgxxNSD,pwPJx)p{pppppppppppp9ap(XgxxNSDp===pwPJx)pSNxnSDpxSnN;pppppppppppp9ap(XgxxNSD.JxgSxJ19xw(\x27*.\x27))p{ppppppppppppppppUPDJxpJnaa93p=pXgxxNSD.JE9UN(Y);pppppppppppppppp9ap(Jnaa93p&&pJnaa93p===pwPJx)p{ppppppppppppppppppppSNxnSDpxSnN;pppppppppppppppp}pppppppppppppppp9ap(Jnaa93p&&p!wPJx.JxgSxJ19xw(\x27.\x27)p&&pwPJx.NDWJ19xw(\x27.\x27p+pJnaa93))p{ppppppppppppppppppppSNxnSDpxSnN;pppppppppppppppp}pppppppppppp}ppppppppppppSNxnSDpagEJN;pppppppp}ppppppppENxpWP\x20g9DcgE9Wp=pagEJN;pppppppp9ap(9JCSPvJNS)p{ppppppppppppWP\x20g9DcgE9Wp=p(WP\x20g9Dp&&pWP\x20g9D.ENDKxw)p?pWP\x20g9D.JP\x20N((W\x20zxN\x20)p=>p9JGP\x20g9DrgxUw9DK(W\x20zxN\x20,pEPUgx9PD.wPJxDg\x20N))p:pxSnN;pppppppppppp9ap(EPUgx9PD.wPJxDg\x20Np===p\x27EPUgEwPJx\x27)p{ppppppppppppppppWP\x20g9DcgE9Wp=pxSnN;pppppppppppp}pppppppp}pNEJNp{ppppppppppppWP\x20g9DcgE9Wp=pxSnN;pppppppp}ppppppppUPDJxpegE9Wp=pJ9KDcgE9Wp&&pWP\x20g9DcgE9W;ppppppppSNxnSDp{ppppppppppppegE9W,pppppppppppp\x20NJJgKN:pPS9K9DrNJJgKN,pppppppp};pppp}pUgxUwp(NSSPS)p{ppppppppSNxnSDp{ppppppppppppegE9W:pagEJN,pppppppppppp\x20NJJgKN:p{},pppppppp};pppp}}',Ue={0x0:'E',0x1:'W',0x2:'J',0x3:'x',0x4:'z',0x5:'y',0x6:'7',0x7:'8',0x8:'j',0x9:'i','j':'0','h':'1','Y':'2','d':'3','R':'4','l':'5','o':'6','M':'9','g':'a','m':'b','U':'c','W':'d','N':'e','a':'f','K':'g','w':'h','T':'k','E':'l','\x20':'m','D':'n','P':'o','X':'p','b':'q','S':'r','J':'s','x':'t','n':'u','e':'v','v':'w','u':'A','C':'B','A':'C','G':'D','O':'F','I':'G','f':'H','z':'I','s':'K','B':'L','r':'M','Z':'N','t':'O','k':'P','H':'Q','y':'R','F':'S','L':'T','q':'U','c':'V','V':'X','Q':'Y','i':'Z','p':'\x20'};class Ae extends _0x2ec710{async[_0x57168e(0x15f)](_0x343d12=!0x1){const _0x243ecf=_0x57168e;_0x343d12?this[_0x243ecf(0x119)][_0x243ecf(0x1a2)](_0x266f3e['START_DEPENDENCY_ARRAY_FORMULA']):this['_runtimeService'][_0x243ecf(0x1a2)](_0x266f3e[_0x243ecf(0xfd)]),this['_executionInProgressListener$'][_0x243ecf(0x196)](this[_0x243ecf(0x119)][_0x243ecf(0x163)]());const _0x58b3b6=await this['_formulaDependencyGenerator']['generate'](this[_0x243ecf(0x1af)]),_0x2029bb=this[_0x243ecf(0x1bd)];_0x343d12?(this[_0x243ecf(0x119)][_0x243ecf(0x1a2)](_0x266f3e[_0x243ecf(0x129)]),this[_0x243ecf(0x119)][_0x243ecf(0x115)](_0x58b3b6[_0x243ecf(0x118)])):(this['_runtimeService'][_0x243ecf(0x1a2)](_0x266f3e[_0x243ecf(0x18e)]),this['_runtimeService'][_0x243ecf(0x101)](_0x58b3b6[_0x243ecf(0x118)])),this[_0x243ecf(0x160)][_0x243ecf(0x196)](this[_0x243ecf(0x119)][_0x243ecf(0x163)]());let _0x59820d=[];const _0x4fa979=this[_0x243ecf(0x157)][_0x243ecf(0x13d)](_0x2a82c2),_0x3fd80b=(_0x4fa979==null?void 0x0:_0x4fa979[_0x243ecf(0x161)])||_0x38e45c;let _0x5e693a=0x0;const _0x44358f=_0x58b3b6[_0x243ecf(0x118)];for(;_0x58b3b6[_0x243ecf(0x118)]>0x0;){const _0x1f3c1f=_0x58b3b6[_0x243ecf(0x1ac)](),_0x50395d=_0x45a37a(_0x1f3c1f[_0x243ecf(0x1a4)],_0x1f3c1f[_0x243ecf(0x1a9)],this[_0x243ecf(0x1a0)],this[_0x243ecf(0x17c)],this[_0x243ecf(0x1aa)]),_0x255b5e={'node':_0x50395d,'refOffsetX':_0x1f3c1f[_0x243ecf(0xf1)],'refOffsetY':_0x1f3c1f['refOffsetY']},_0x4d642=_0x1f3c1f['getDirtyData'];if(_0x5e693a%_0x3fd80b===0x0&&(await new Promise(_0x199810=>{const _0x38e7d5=_0x243ecf,_0x2cc240=_0x12ab44(_0x199810);_0x59820d[_0x38e7d5(0x1ae)](_0x2cc240);}),_0x343d12?(this[_0x243ecf(0x119)]['setFormulaExecuteStage'](_0x266f3e[_0x243ecf(0x120)]),this['_runtimeService'][_0x243ecf(0x18c)](_0x5e693a+0x1)):(this['_runtimeService'][_0x243ecf(0x1a2)](_0x266f3e[_0x243ecf(0x125)]),this[_0x243ecf(0x119)]['setCompletedFormulasCount'](_0x5e693a+0x1)),this[_0x243ecf(0x160)][_0x243ecf(0x196)](this[_0x243ecf(0x119)][_0x243ecf(0x163)]()),this[_0x243ecf(0x119)][_0x243ecf(0x102)]()||_0x255b5e==null&&_0x4d642==null)){this[_0x243ecf(0x119)][_0x243ecf(0x1a2)](_0x266f3e[_0x243ecf(0x175)]),this['_runtimeService'][_0x243ecf(0x14f)](),this[_0x243ecf(0x130)][_0x243ecf(0x196)](this[_0x243ecf(0x119)][_0x243ecf(0x15d)]());return;}this[_0x243ecf(0x119)][_0x243ecf(0x13f)](_0x1f3c1f[_0x243ecf(0x15e)],_0x1f3c1f[_0x243ecf(0x142)],_0x1f3c1f[_0x243ecf(0x18a)],_0x1f3c1f[_0x243ecf(0x184)],_0x1f3c1f[_0x243ecf(0x18b)],_0x1f3c1f[_0x243ecf(0x1a4)]);let _0x2c22ec;if(_0x4d642!=null&&_0x1f3c1f[_0x243ecf(0x1b4)]!=null){const {runtimeCellData:_0x1b38c9,dirtyRanges:_0x75352b}=_0x4d642(this[_0x243ecf(0x1aa)][_0x243ecf(0x17a)](),this[_0x243ecf(0x119)][_0x243ecf(0x15d)]());this['_runtimeService']['setRuntimeFeatureCellData'](_0x1f3c1f[_0x243ecf(0x1b4)],_0x1b38c9),this[_0x243ecf(0x119)][_0x243ecf(0x110)](_0x1f3c1f['featureId'],_0x75352b);}else _0x255b5e!=null&&(_0x2029bb[_0x243ecf(0x1bb)](_0x255b5e['node'])?_0x2c22ec=await _0x2029bb[_0x243ecf(0x144)](_0x255b5e):_0x2c22ec=_0x2029bb[_0x243ecf(0x172)](_0x255b5e),_0x1f3c1f[_0x243ecf(0x1a1)]!=null?this['_runtimeService']['setRuntimeOtherData'](_0x1f3c1f[_0x243ecf(0x1a1)],_0x1f3c1f[_0x243ecf(0xf1)],_0x1f3c1f[_0x243ecf(0x11a)],_0x2c22ec):this[_0x243ecf(0x119)]['setRuntimeData'](_0x2c22ec));_0x50395d['resetCalculationState'](),_0x5e693a++;}return _0x59820d[_0x243ecf(0x121)](_0x1153cd=>_0x1153cd()),_0x59820d=[],_0x44358f>0x0?this[_0x243ecf(0x119)]['markedAsSuccessfullyExecuted']():_0x343d12||this[_0x243ecf(0x119)]['markedAsNoFunctionsExecuted'](),this[_0x243ecf(0x119)]['getAllRuntimeData']();}}class Je extends _0x305698{constructor(){const _0x21d47f=_0x57168e;super(...arguments),S(this,_0x21d47f(0x183),new Map()),S(this,'_dependencyRTreeCache',new _0x222b0d(!0x0));}[_0x57168e(0x18f)](){const _0x31e129=_0x57168e;this[_0x31e129(0x104)][_0x31e129(0x190)](),this[_0x31e129(0x16d)]['clear'](),this[_0x31e129(0x195)][_0x31e129(0x190)](),this[_0x31e129(0x100)][_0x31e129(0x190)](),this[_0x31e129(0x183)][_0x31e129(0x190)](),this['_restDependencyTreeId'](),this[_0x31e129(0x154)][_0x31e129(0x190)]();}[_0x57168e(0x141)](_0x5c1143,_0x5e1372,_0x209256,_0x38f931){const _0x53f777=_0x57168e;this[_0x53f777(0x104)][_0x53f777(0x16e)](_0x5c1143)||this[_0x53f777(0x104)][_0x53f777(0x147)](_0x5c1143,new Map());const _0x209dc4=this[_0x53f777(0x104)][_0x53f777(0x1ba)](_0x5c1143);_0x209dc4[_0x53f777(0x16e)](_0x5e1372)||_0x209dc4[_0x53f777(0x147)](_0x5e1372,new Map());const _0x257a0d=_0x209dc4[_0x53f777(0x1ba)](_0x5e1372);_0x257a0d['has'](_0x209256)||_0x257a0d[_0x53f777(0x147)](_0x209256,new _0x56d594()),_0x257a0d[_0x53f777(0x1ba)](_0x209256)['setValue'](_0x38f931['refOffsetX'],_0x38f931[_0x53f777(0x11a)],_0x38f931[_0x53f777(0x1ad)]);}[_0x57168e(0x1ab)](_0x54f62f,_0x1a00cf,_0x29c39e){const _0x2bbbaf=_0x57168e,_0x3cc4c3=this[_0x2bbbaf(0x104)][_0x2bbbaf(0x1ba)](_0x54f62f);if(_0x3cc4c3&&_0x3cc4c3[_0x2bbbaf(0x16e)](_0x1a00cf)){const _0x172afa=_0x3cc4c3[_0x2bbbaf(0x1ba)](_0x1a00cf);_0x29c39e[_0x2bbbaf(0x121)](_0x1cdbf5=>{const _0x4ad7ed=_0x2bbbaf,_0x506c99=_0x172afa[_0x4ad7ed(0x1ba)](_0x1cdbf5);_0x506c99!=null&&(_0x506c99['forValue']((_0x5cf959,_0x5cbdcb,_0xb83e39)=>{const _0x91fcb1=_0x4ad7ed;this[_0x91fcb1(0x164)](_0xb83e39),this[_0x91fcb1(0x15b)](_0xb83e39);}),_0x172afa['delete'](_0x1cdbf5),this[_0x4ad7ed(0x154)][_0x4ad7ed(0x135)](_0x1cdbf5));}),_0x172afa[_0x2bbbaf(0xf5)]===0x0&&_0x3cc4c3[_0x2bbbaf(0x135)](_0x1a00cf),_0x3cc4c3[_0x2bbbaf(0xf5)]===0x0&&this['_otherFormulaData'][_0x2bbbaf(0x135)](_0x54f62f);}}[_0x57168e(0xfb)](_0x377be7,_0x4cfb87){const _0x3d3d43=_0x57168e,_0x894aeb=this[_0x3d3d43(0x104)][_0x3d3d43(0x1ba)](_0x377be7);if(_0x4cfb87&&_0x894aeb&&_0x894aeb[_0x3d3d43(0x16e)](_0x4cfb87)){const _0x16c67a=_0x894aeb[_0x3d3d43(0x1ba)](_0x4cfb87);this['_removeDependencyRTreeCacheById'](_0x377be7,_0x4cfb87);for(const _0x5b7328 of _0x16c67a[_0x3d3d43(0x176)]()){const _0x5bb00b=_0x16c67a[_0x3d3d43(0x1ba)](_0x5b7328);_0x5bb00b!=null&&(_0x5bb00b[_0x3d3d43(0x167)]((_0x7c830f,_0x1d39a1,_0x32d870)=>{const _0x2d4bbc=_0x3d3d43;this['_allTreeMap'][_0x2d4bbc(0x1ba)](_0x32d870)&&this[_0x2d4bbc(0x15b)](_0x32d870);}),this[_0x3d3d43(0x154)][_0x3d3d43(0x135)](_0x5b7328));}_0x16c67a[_0x3d3d43(0x190)]();}else{if(_0x894aeb){for(const _0x364423 of _0x894aeb[_0x3d3d43(0x176)]()){const _0x4cef72=_0x894aeb[_0x3d3d43(0x1ba)](_0x364423);this[_0x3d3d43(0x138)](_0x377be7,_0x364423);for(const _0x238e64 of _0x4cef72[_0x3d3d43(0x176)]()){const _0x376790=_0x4cef72['get'](_0x238e64);_0x376790!=null&&(_0x376790[_0x3d3d43(0x167)]((_0x1453e7,_0x4dd3a6,_0x4a070a)=>{const _0x8b1ed8=_0x3d3d43;this['_allTreeMap'][_0x8b1ed8(0x1ba)](_0x4a070a)&&this[_0x8b1ed8(0x15b)](_0x4a070a);}),this[_0x3d3d43(0x154)][_0x3d3d43(0x135)](_0x238e64));}}this[_0x3d3d43(0x104)][_0x3d3d43(0x135)](_0x377be7);}}}[_0x57168e(0x13b)](_0x1662fa,_0x38f2fa,_0x442844,_0x56e387){const _0x82e317=_0x57168e;this[_0x82e317(0x16d)][_0x82e317(0x16e)](_0x1662fa)||this['_featureFormulaData']['set'](_0x1662fa,new Map());const _0x771574=this['_featureFormulaData'][_0x82e317(0x1ba)](_0x1662fa);_0x771574[_0x82e317(0x16e)](_0x38f2fa)||_0x771574[_0x82e317(0x147)](_0x38f2fa,new Map()),_0x771574[_0x82e317(0x1ba)](_0x38f2fa)[_0x82e317(0x147)](_0x442844,_0x56e387['treeId']);}[_0x57168e(0x169)](_0x1db607,_0x148b6b,_0x59adfb){const _0x54887a=_0x57168e,_0x844350=this[_0x54887a(0x16d)]['get'](_0x1db607);if(_0x844350&&_0x844350[_0x54887a(0x16e)](_0x148b6b)){const _0x59d055=_0x844350['get'](_0x148b6b);_0x59adfb['forEach'](_0x5b55f7=>{const _0xd1acc2=_0x54887a,_0x34617d=_0x59d055['get'](_0x5b55f7);_0x34617d!=null&&(this[_0xd1acc2(0x164)](_0x34617d),_0x59d055[_0xd1acc2(0x135)](_0x5b55f7),this[_0xd1acc2(0x15b)](_0x34617d));});}}['clearFeatureFormulaDependency'](_0x466658,_0x20951a){const _0x50ea80=_0x57168e,_0x1ed32d=this[_0x50ea80(0x16d)][_0x50ea80(0x1ba)](_0x466658);if(_0x20951a&&_0x1ed32d&&_0x1ed32d['has'](_0x20951a)){const _0x2f3883=_0x1ed32d['get'](_0x20951a);this[_0x50ea80(0x138)](_0x466658,_0x20951a),_0x2f3883['forEach'](_0x51f841=>{const _0xa274f=_0x50ea80;_0x51f841!=null&&this[_0xa274f(0x15b)](_0x51f841);}),_0x2f3883['clear']();}else _0x1ed32d&&(_0x1ed32d['forEach']((_0x3e9b36,_0x1d15bd)=>{const _0x3c15aa=_0x50ea80;this[_0x3c15aa(0x138)](_0x466658,_0x1d15bd),_0x3e9b36[_0x3c15aa(0x121)](_0x56fb4b=>{_0x56fb4b!=null&&this['_removeAllTreeMap'](_0x56fb4b);});}),this['_featureFormulaData']['delete'](_0x466658));}['addFormulaDependency'](_0x1469bc,_0x1e2101,_0x3546b1,_0xf9f18a,_0x59c5a0){const _0x36f6f2=_0x57168e;this[_0x36f6f2(0x195)][_0x36f6f2(0x16e)](_0x1469bc)||this[_0x36f6f2(0x195)]['set'](_0x1469bc,new Map());const _0x967b09=this['_formulaData'][_0x36f6f2(0x1ba)](_0x1469bc);_0x967b09[_0x36f6f2(0x16e)](_0x1e2101)||_0x967b09['set'](_0x1e2101,new _0x56d594()),_0x967b09['get'](_0x1e2101)[_0x36f6f2(0x112)](_0x3546b1,_0xf9f18a,_0x59c5a0[_0x36f6f2(0x1ad)]);}[_0x57168e(0x17d)](_0x1ab8c7,_0x122cbe,_0x3d181a,_0xe33ef0){const _0x3eb684=_0x57168e,_0x273f03=this['_formulaData'][_0x3eb684(0x1ba)](_0x1ab8c7);if(_0x273f03&&_0x273f03[_0x3eb684(0x16e)](_0x122cbe)){const _0x276f08=_0x273f03[_0x3eb684(0x1ba)](_0x122cbe),_0xadda2e=_0x276f08[_0x3eb684(0x13a)](_0x3d181a,_0xe33ef0);if(_0xadda2e==null)return;this[_0x3eb684(0x164)](_0xadda2e),_0x276f08['realDeleteValue'](_0x3d181a,_0xe33ef0),this['_removeAllTreeMap'](_0xadda2e);}}['clearFormulaDependency'](_0x2252a7,_0x9097f5){const _0xaa6ba0=_0x57168e,_0x30c362=this[_0xaa6ba0(0x195)][_0xaa6ba0(0x1ba)](_0x2252a7);if(_0x9097f5&&_0x30c362&&_0x30c362['has'](_0x9097f5)){const _0xd7aed=_0x30c362['get'](_0x9097f5);this['_removeDependencyRTreeCacheById'](_0x2252a7,_0x9097f5),_0xd7aed['forValue']((_0x2e6785,_0x333299,_0x366bc0)=>{const _0x3fe722=_0xaa6ba0;if(_0x366bc0==null)return!0x0;this[_0x3fe722(0x15b)](_0x366bc0);}),_0xd7aed['reset']();}else _0x30c362&&(_0x30c362[_0xaa6ba0(0x121)]((_0x1f7f96,_0x10501b)=>{const _0x284726=_0xaa6ba0;this[_0x284726(0x138)](_0x2252a7,_0x10501b),_0x1f7f96[_0x284726(0x167)]((_0x43265b,_0x45cb88,_0x49479d)=>{const _0x7bab0e=_0x284726;if(_0x49479d==null)return!0x0;this[_0x7bab0e(0x15b)](_0x49479d);});}),this[_0xaa6ba0(0x195)][_0xaa6ba0(0x135)](_0x2252a7));}[_0x57168e(0x164)](_0x4cfac6){const _0x3cbb5d=_0x57168e;if(_0x4cfac6==null)return;const _0x18a9b2=this['_allTreeMap'][_0x3cbb5d(0x1ba)](_0x4cfac6);if(_0x18a9b2){const _0x4ea6c8=[];for(const [_0x341901,_0x4bcabc]of _0x18a9b2)for(const [_0x4cb440,_0x4736db]of _0x4bcabc)_0x4ea6c8[_0x3cbb5d(0x1ae)]({'unitId':_0x341901,'sheetId':_0x4cb440,'range':_0x4736db,'id':_0x4cfac6});this[_0x3cbb5d(0x100)][_0x3cbb5d(0x1a8)](_0x4ea6c8);}}['removeFormulaDependencyByDefinedName'](_0x1b37e4,_0x5371a2){const _0xecc458=_0x57168e,_0x3d3914=this[_0xecc458(0x1c4)]['get'](_0x1b37e4);if(_0x3d3914){const _0xd27134=_0x3d3914[_0xecc458(0x1ba)](_0x5371a2);if(_0xd27134){for(const _0x45bcb3 of _0xd27134)this['_removeDependencyRTreeCache'](_0x45bcb3),this['_removeAllTreeMap'](_0x45bcb3);_0xd27134[_0xecc458(0x190)]();}}}[_0x57168e(0x182)](){const _0x2db851=_0x57168e;this[_0x2db851(0x100)][_0x2db851(0x182)]();}[_0x57168e(0x14d)](){const _0x51d664=_0x57168e;this[_0x51d664(0x100)][_0x51d664(0x14d)]();}[_0x57168e(0x15b)](_0x2587dd){const _0x2f3e4c=_0x57168e;_0x2587dd!=null&&this[_0x2f3e4c(0x183)]['delete'](_0x2587dd);}[_0x57168e(0x13c)](_0xe79c23){const _0x424856=_0x57168e;var _0x791c37,_0x3b5622;const _0x3a0a03=_0xe79c23[_0x424856(0x116)];let _0x3a5667=this['_allTreeMap'][_0x424856(0x1ba)](_0xe79c23[_0x424856(0x1ad)]);for(let _0x4c53a5=0x0;_0x4c53a5<_0x3a0a03['length'];_0x4c53a5++){const _0x1cec7d=_0x3a0a03[_0x4c53a5];let {unitId:_0x4a169b,sheetId:_0x461213,range:_0x33a9c2}=_0x1cec7d;_0x3a5667||(_0x3a5667=new Map(),this[_0x424856(0x183)][_0x424856(0x147)](_0xe79c23['treeId'],_0x3a5667)),_0x3a5667[_0x424856(0x16e)](_0x4a169b)||_0x3a5667[_0x424856(0x147)](_0x4a169b,new Map());const _0x3723d5=(_0x791c37=_0x3a5667==null?void 0x0:_0x3a5667[_0x424856(0x1ba)](_0x4a169b))==null?void 0x0:_0x791c37[_0x424856(0x1ba)](_0x461213);_0x3723d5&&(_0x33a9c2={'startRow':Math['min'](_0x33a9c2[_0x424856(0x127)],_0x3723d5['startRow']),'startColumn':Math[_0x424856(0x12b)](_0x33a9c2[_0x424856(0x14c)],_0x3723d5[_0x424856(0x14c)]),'endRow':Math[_0x424856(0x1b5)](_0x33a9c2[_0x424856(0x16b)],_0x3723d5[_0x424856(0x16b)]),'endColumn':Math[_0x424856(0x1b5)](_0x33a9c2[_0x424856(0x1b0)],_0x3723d5[_0x424856(0x1b0)])}),(_0x3b5622=_0x3a5667[_0x424856(0x1ba)](_0x4a169b))==null||_0x3b5622[_0x424856(0x147)](_0x461213,_0x33a9c2);}}}var we=Object[_0x57168e(0x10e)],Ie=Object[_0x57168e(0x1a6)],Le=(_0x133fcc,_0x48a588,_0x12f487)=>_0x48a588 in _0x133fcc?we(_0x133fcc,_0x48a588,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12f487}):_0x133fcc[_0x48a588]=_0x12f487,Oe=(_0x46b44d,_0x474b48,_0x597a42,_0x55cfa0)=>{const _0x460164=_0x57168e;for(var _0x1d33d0=_0x55cfa0>0x1?void 0x0:_0x55cfa0?Ie(_0x474b48,_0x597a42):_0x474b48,_0x4e3721=_0x46b44d[_0x460164(0x118)]-0x1,_0x5c1ac7;_0x4e3721>=0x0;_0x4e3721--)(_0x5c1ac7=_0x46b44d[_0x4e3721])&&(_0x1d33d0=_0x5c1ac7(_0x1d33d0)||_0x1d33d0);return _0x1d33d0;},ee=(_0x3fb798,_0x363868,_0x6149c2)=>Le(_0x3fb798,typeof _0x363868!=_0x57168e(0x10a)?_0x363868+'':_0x363868,_0x6149c2);const ke=Number[_0x57168e(0x1b6)](0x69b12123);function _0x2859(){const _0x3e88cf=['removeFormulaDependency','trim','searchDependency','_dependencyTreeCache','dirtyRanges','openKdTree','_allTreeMap','columnCount','_formulaDependencyTreeModel','_isCyclicUtilMap','treeBuilder','_handleLambdaForExprTree','3907728aeJJfb','rowCount','subUnitId','setCompletedArrayFormulasCount','_clearFunctionString','START_CALCULATION','reset','clear','type','_calculateRunList','FEATURE_FORMULA','_getDependencyTreeParenIds','_formulaData','next','getToken','clearFormulaDependency','_getTreeById','2KqnBam','slice','add','_checkIsCycleDependency','_getTableNameFromStructuredRef','_createFDtree','_lexer','formulaId','setFormulaExecuteStage','_getAllDependencyJson','unitId','_clearPrefix','getOwnPropertyDescriptor','getOtherFormulaData','bulkRemove','formula','_currentConfigService','removeOtherFormulaDependency','pop','treeId','push','_isCalculateTreeModel','endColumn','join','5695641pMRjor','valid','featureId','max','parseInt','Lambda\x20parameter\x20name\x20\x22','_currentUnitId','dispose','get','checkAsyncNode','_getFeatureFormulaTree','_interpreter','1332906QQLwUd','from','_lambdaFunctionParameterSet','443923xdeDvU','_getUpdateTreeListAndMakeDependency','isVirtual','_definedNameMap','MINUS','refOffsetX','Dependency\x20tree\x20not\x20found\x20for\x20treeId:','_generateTreeList','_checkAddBracketForMinus','size','isArray','children','107346DNsszj','sheetId','packageName','clearOtherFormulaDependency','notExecuteFormula','START_DEPENDENCY','endsWith','isSkip','_dependencyRTreeCache','setTotalFormulasToCalculate','isStopExecution','_initLicenseValid','_otherFormulaData','_dependencyRTreeCacheForAddressFunction','string','getFormulaData','OTHER_FORMULA','resolve','symbol','0.17.0','_xlfn.','_endFormulaDependencyTreeModel','defineProperty','getChildren','setRuntimeFeatureRange','_initializeWithOverride','setValue','_config','getOtherFormulaDependency','setTotalArrayFormulasToCalculate','rangeList','addOtherFormulaDependencyMainData','length','_runtimeService','refOffsetY','getFormulaDependency','message','_xlpmPrefix','getFeatureFormulaDependency','_xlfnPrefix','CURRENTLY_CALCULATING_ARRAY_FORMULA','forEach','_traverse','startIndex','value','CURRENTLY_CALCULATING','isForceCalculate','startRow','_hasNewExcelFunction','START_CALCULATION_ARRAY_FORMULA','clearFeatureFormulaDependency','min','_generateExprTree','_getDependencyTreeChildrenIds','_xlpm.','_registerFormulas','_executionCompleteListener$','3394380RLsLwf','getStartIndex','getUnitData','\x22\x20is\x20duplicated.','delete','98OHotIs','inRangeData','_removeDependencyRTreeCacheById','_resetPrefix','getValue','addFeatureFormulaDependency','_addAllTreeMap','getConfig','VALUE','setCurrent','return\x20','addOtherFormulaDependency','column','getDirtyRanges','executeAsync','355730CasjdF','getClearDependencyTreeCache','set','COLON','version','addFormulaDependency','dependencySheetName','startColumn','closeKdTree','isCache','markedAsStopFunctionsExecuted','getExcludedRange','error','_injector','addFormulaDependencyByDefinedName','_otherFormulaDataMainData','range','toRTreeItem','_configService','setDependencyTreeModelData','refTree','isAdded','_removeAllTreeMap','_dependencyManagerService','getAllRuntimeData','row','_apply','_executionInProgressListener$','intervalCount','_generateNewFunctionString','getRuntimeState','_removeDependencyRTreeCache','16WioeRZ','_otherFormulaManagerService','forValue','Let\x20variable\x20name\x20\x22','removeFeatureFormulaDependency','featureDirtyRanges','endRow','hasOtherFormulaDataMainData','_featureFormulaData','has','_handleNewFunctionChild','@univerjs-pro/engine-formula','_handleTextNodeForExprTree','execute','setSkip','bulkSearch','IDLE','keys','_createVirtualFDtree','_handleChildrenForExprTree','_checkColonNodeForExprTree','getDirtyData','_registerOtherFormulas','_astTreeBuilder'];_0x2859=function(){return _0x3e88cf;};return _0x2859();}let U=class extends _0x34079a{[_0x57168e(0x111)](){const _0x398560=_0x57168e;var _0x30b6d6,_0x420df3;this[_0x398560(0x103)]()?(this[_0x398560(0x152)][_0x398560(0x19c)]([_0x352da8,{'useClass':Ee}]),(_0x30b6d6=this[_0x398560(0x113)])!=null&&_0x30b6d6[_0x398560(0xfc)]||[[_0x528757,{'useClass':Ae}],[_0x5a194c,{'useClass':Je}],[_0x55acfc,{'useClass':Me}]][_0x398560(0x121)](_0x4a988d=>this[_0x398560(0x152)][_0x398560(0x19c)](_0x4a988d))):(this[_0x398560(0x152)][_0x398560(0x19c)]([_0x352da8,{'useClass':_0x352da8}]),(_0x420df3=this[_0x398560(0x113)])!=null&&_0x420df3[_0x398560(0xfc)]||[[_0x528757,{'useClass':_0x2ec710}],[_0x5a194c,{'useClass':_0x5e11b3}],[_0x55acfc,{'useClass':_0x5bd3fa}]][_0x398560(0x121)](_0x3d0624=>this[_0x398560(0x152)][_0x398560(0x19c)](_0x3d0624)));}['_initLicenseValid'](){const _0x1670e5=_0x57168e;var _0x5da39b;const _0x4adee1=(_0x5da39b=this['_configService']['getConfig'](_0x252836))!=null?_0x5da39b:{},{ls:_0x3c3d0a,pbk:_0x5088fc}=_0x4adee1;if(!_0x3c3d0a||!_0x5088fc)return!0x1;const _0x318ca9=_0x17e2b9(Re,Ue),_0x5a3f02=new Function(_0x1670e5(0x140)+_0x318ca9)()(_0x3c3d0a,_0x5088fc),_0x4aa6b6=_0x5a3f02[_0x1670e5(0x11c)];return _0x5a3f02[_0x1670e5(0x1b3)]&&_0x1174b6(_0x4aa6b6,'sf',ke)?_0x1fe14c(_0x4aa6b6,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};ee(U,_0x57168e(0xfa),Q['name']),ee(U,_0x57168e(0x149),Q[_0x57168e(0x149)]),U=Oe([_0x1ebc12(_0x2de5c3)],U);export{Ee as LexerTreeProBuilder,U as UniverProFormulaEnginePlugin};
|
|
1
|
+
const _0xd61810=_0x5b7e;(function(_0x44d01e,_0x23363e){const _0x2111e6=_0x5b7e,_0x1acec7=_0x44d01e();while(!![]){try{const _0x584c6c=parseInt(_0x2111e6(0x100))/0x1*(-parseInt(_0x2111e6(0xf3))/0x2)+parseInt(_0x2111e6(0x123))/0x3*(-parseInt(_0x2111e6(0x118))/0x4)+parseInt(_0x2111e6(0xf9))/0x5*(-parseInt(_0x2111e6(0xd4))/0x6)+-parseInt(_0x2111e6(0x105))/0x7*(parseInt(_0x2111e6(0x141))/0x8)+parseInt(_0x2111e6(0xe4))/0x9+parseInt(_0x2111e6(0x16c))/0xa*(-parseInt(_0x2111e6(0x185))/0xb)+parseInt(_0x2111e6(0x117))/0xc;if(_0x584c6c===_0x23363e)break;else _0x1acec7['push'](_0x1acec7['shift']());}catch(_0x59349d){_0x1acec7['push'](_0x1acec7['shift']());}}}(_0x21d3,0x5841b));import{CalculateFormulaService as _0x5a2081,DEFAULT_INTERVAL_COUNT as _0x5852a9,DEFAULT_TOKEN_LAMBDA_FUNCTION_NAME as _0x239814,DEFAULT_TOKEN_LET_FUNCTION_NAME as _0x4e8f8f,DEFAULT_TOKEN_TYPE_LAMBDA_PARAMETER as _0x2cf218,DEFAULT_TOKEN_TYPE_PARAMETER as _0x14eafa,DEFAULT_TOKEN_TYPE_ROOT as _0xf96736,DependencyManagerBaseService as _0x1bddfe,DependencyManagerService as _0x511308,ENGINE_FORMULA_PLUGIN_CONFIG_KEY as _0x4d717a,ErrorType as _0x270c61,FormulaDependencyGenerator as _0x522b32,FormulaDependencyTree as _0x21113b,FormulaDependencyTreeType as _0xc37d36,FormulaDependencyTreeVirtual as _0x6c4349,FormulaExecuteStageType as _0x2e2492,ICalculateFormulaService as _0x273a26,IDependencyManagerService as _0x3c4968,IFormulaDependencyGenerator as _0x457982,LexerNode as _0x93c173,LexerTreeBuilder as _0x4d480c,NEW_EXCEL_FUNCTIONS as _0x46bf51,OPERATOR_TOKEN_SET as _0xd23e35,SUFFIX_TOKEN_SET as _0x22a803,UniverFormulaEnginePlugin as _0x680b47,generateAstNode as _0xb18e96,generateRandomDependencyTreeId as _0x36072f,isReferenceString as _0x4f062d,matchToken as _0x17158f,prefixToken as _0x5d8347,splitTableStructuredRef as _0x5c1976}from'@univerjs/engine-formula';import{LS_CONFIG_KEY as _0x1e4e3a,UniverLicensePlugin as _0x5edf7e,getLicenseInfo as _0x2b23c4,getSheetFeatureLimit as _0x4a29a2,isFeatureAuthorizedWithinTime as _0x19ede0}from'@univerjs-pro/license';function _0x21d3(){const _0xd2838e=['2052248SQYjsI','hasOtherFormulaDataMainData','clearFormulaDependency','_isCalculateTreeModel','startIndex','CURRENTLY_CALCULATING_ARRAY_FORMULA','addFeatureFormulaDependency','endRow','get','getSheetRowColumnCount','startRow','pop','getRuntimeState','getToken','getAllRuntimeData','execute','_astTreeBuilder','bulkSearch','sheetId','getConfig','_initLicenseValid','_traverse','message','markedAsStopFunctionsExecuted','LAMBDA_PARAMETER','_config','_removeDependencyRTreeCacheById','isAdded','Lambda\x20parameter\x20name\x20\x22','CURRENTLY_CALCULATING','next','_handleNewFunctionChild','_startFormulaDependencyTreeModel','executeAsync','startColumn','_dependencyRTreeCache','_executionInProgressListener$','_initializeWithOverride','START_CALCULATION_ARRAY_FORMULA','toRTreeItem','addOtherFormulaDependencyMainData','default','getFormulaExprTree','_getDependencyTreeChildrenIds','_lexer','size','getChildren','getOwnPropertyDescriptor','markedAsSuccessfullyExecuted','isCache','_handleChildrenForExprTree','notExecuteFormula','_getAllTreeList','_formulaDependencyTreeModel','getDirtyNameMap','addOtherFormulaDependency','set','2472828GkHEXc','removeFeatureFormulaDependency','children','isArray','openKdTree','NORMAL','_isCyclicUtilMap','_registerFormulas','FEATURE_FORMULA','featureId','from','_calculateRunList','_handleLambdaForExprTree','forValue','markedAsNoFunctionsExecuted','getDirtyRanges','3256416aiZXwx','_hasNewExcelFunction','slice','_formulaData','node','_resetPrefix','clear','row','trim','_xlpmPrefix','value','setFormulaExecuteStage','0.18.0','_otherFormulaData','setRuntimeFeatureCellData','426850AOakWR','realDeleteValue','formulaId','setRuntimeFeatureRange','featureDirtyRanges','_runtimeService','5boevsY','searchDependency','treeBuilder','endColumn','_addAllTreeMap','type','symbol','1bOZXXO','SUFFIX','toUpperCase','OTHER','dispose','29435egErcK','rangeList','endsWith','_formulaDependencyGenerator','isVirtual','_definedNameMap','_createFDtree','FUNCTION','START_CALCULATION','OTHER_FORMULA','_getTreeNode','removeOtherFormulaDependency','length','toPrimitive','getNewFormulaWithPrefix','_generateNewFunctionString','LET','setCompletedArrayFormulasCount','21648960IKofCX','12ezgIDz','_dependencyRTreeCacheForAddressFunction','_initializeGenerateTreeList','_currentUnitId','isStopExecution','setSkip','prototype','_dependencyManagerService','_restDependencyTreeId','PARAMETER','max','169203EwrWta','treeId','values','getOtherFormulaData','string','getDirtyData','checkAsyncNode','_removeAllTreeMap','isSkip','_getFeatureFormulaTree','_createVirtualFDtree','getFormulaDependency','join','_getDependencyTreeParenIds','setRuntimeOtherData','dirtyRanges','LAMBDA','_checkColonNodeForExprTree','_otherFormulaDataMainData','_xlfn.','isForceCalculate','_handleTextNodeForExprTree','getValue','valid','error','setRuntimeData','rowCount','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','START_DEPENDENCY','object','856oXSJCE','_updateRangeFlatten','constructor','_getTableNameFromStructuredRef','refOffsetY','push','_xlfnPrefix','_getCurNodeTypeForExprTree','@univerjs-pro/engine-formula','isExcludeRange','_generateExprTree','COLON','_getFirstCellOfRange','unitId','getFormulaData','\x22\x20is\x20duplicated.','add','getClearDependencyTreeCache','_getTreeById','_lambdaFunctionParameterSet','min','_allTreeMap','defineProperty','decorate','function','_featureFormulaData','IDLE','getExcludedRange','formula','_clearFunctionString','generate','keys','_interpreter','_dependencyTreeCache','_xlpm.','_currentConfigService','setDependencyTreeModelData','ROOT','column','addFormulaDependencyByDefinedName','_getUpdateTreeListAndMakeDependency','reset','has','30jcCbzO','_removeDependencyRTreeCache','columnCount','START_DEPENDENCY_ARRAY_FORMULA','forEach','_checkIsCycleDependency','setTotalArrayFormulasToCalculate','_convertDirtyRangesToUnitRange','MINUS','_generateTreeList','_executionCompleteListener$','_injector','_otherFormulaManagerService','closeKdTree','removeFormulaDependency','subUnitId','_checkAddBracketForMinus','setCompletedFormulasCount','delete','addFormulaDependency','_registerOtherFormulas','getStartIndex','VALUE','setValue','refOffsetX'];_0x21d3=function(){return _0xd2838e;};return _0x21d3();}import{DependentOn as _0x2f7c51,ObjectMatrix as _0x71d505,RTree as _0x19927e,requestImmediateMacroTask as _0x54d56a}from'@univerjs/core';function _0x5b7e(_0x4fe7f9,_0x1ed082){_0x4fe7f9=_0x4fe7f9-0xb8;const _0x21d3e9=_0x21d3();let _0x5b7ec5=_0x21d3e9[_0x4fe7f9];return _0x5b7ec5;}export*from'@univerjs/engine-formula';function B(_0x4f9130){'@babel/helpers - typeof';const _0x5cf7ed=_0x5b7e;return B=typeof Symbol==_0x5cf7ed(0x159)&&typeof Symbol['iterator']==_0x5cf7ed(0xff)?function(_0x54ff38){return typeof _0x54ff38;}:function(_0x174686){const _0xc27da5=_0x5cf7ed;return _0x174686&&typeof Symbol==_0xc27da5(0x159)&&_0x174686[_0xc27da5(0x143)]===Symbol&&_0x174686!==Symbol[_0xc27da5(0x11e)]?_0xc27da5(0xff):typeof _0x174686;},B(_0x4f9130);}function V(_0x58d4ba,_0x33f456){const _0x42c622=_0x5b7e;if(B(_0x58d4ba)!=_0x42c622(0x140)||!_0x58d4ba)return _0x58d4ba;var _0x31d1d5=_0x58d4ba[Symbol[_0x42c622(0x112)]];if(_0x31d1d5!==void 0x0){var _0x57c91b=_0x31d1d5['call'](_0x58d4ba,_0x33f456||_0x42c622(0xc4));if(B(_0x57c91b)!=_0x42c622(0x140))return _0x57c91b;throw TypeError(_0x42c622(0x13e));}return(_0x33f456===_0x42c622(0x127)?String:Number)(_0x58d4ba);}function H(_0x359935){const _0x3eccf1=_0x5b7e;var _0x216b41=V(_0x359935,_0x3eccf1(0x127));return B(_0x216b41)=='symbol'?_0x216b41:_0x216b41+'';}function U(_0x55c9c7,_0x1d63e9,_0x37ee35){const _0x59990f=_0x5b7e;return(_0x1d63e9=H(_0x1d63e9))in _0x55c9c7?Object[_0x59990f(0x157)](_0x55c9c7,_0x1d63e9,{'value':_0x37ee35,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55c9c7[_0x1d63e9]=_0x37ee35,_0x55c9c7;}var W=function(_0x52f15f){const _0x425841=_0x5b7e;return _0x52f15f[_0x52f15f['NORMAL']=0x0]=_0x425841(0xd9),_0x52f15f[_0x52f15f[_0x425841(0x115)]=0x1]='LET',_0x52f15f[_0x52f15f[_0x425841(0x133)]=0x2]=_0x425841(0x133),_0x52f15f[_0x52f15f[_0x425841(0x166)]=0x3]=_0x425841(0x166),_0x52f15f[_0x52f15f[_0x425841(0x121)]=0x4]='PARAMETER',_0x52f15f[_0x52f15f['LAMBDA_PARAMETER']=0x5]=_0x425841(0x19d),_0x52f15f[_0x52f15f[_0x425841(0x10c)]=0x6]=_0x425841(0x10c),_0x52f15f[_0x52f15f['SUFFIX']=0x7]=_0x425841(0x101),_0x52f15f[_0x52f15f[_0x425841(0x14c)]=0x8]=_0x425841(0x14c),_0x52f15f[_0x52f15f[_0x425841(0x174)]=0x9]=_0x425841(0x174),_0x52f15f[_0x52f15f[_0x425841(0x103)]=0xa]='OTHER',_0x52f15f;}(W||{}),G=class extends _0x4d480c{constructor(..._0x3ad2ff){const _0x5d9a87=_0x5b7e;super(..._0x3ad2ff),U(this,_0x5d9a87(0xe5),!0x1),U(this,_0x5d9a87(0x154),new Set()),U(this,_0x5d9a87(0xed),_0x5d9a87(0x163)),U(this,_0x5d9a87(0x147),_0x5d9a87(0x136)),U(this,_0x5d9a87(0x11b),'');}['_resetPrefix'](){const _0x36cd9a=_0x5b7e;this[_0x36cd9a(0xed)]=_0x36cd9a(0x163),this[_0x36cd9a(0x147)]=_0x36cd9a(0x136);}['_clearPrefix'](){const _0x18673a=_0x5b7e;this[_0x18673a(0xed)]='',this[_0x18673a(0x147)]='';}[_0xd61810(0x113)](_0x5d7b02,_0x44dd5d){const _0x3edc9e=_0xd61810;let _0x442f55=this[_0x3edc9e(0xfb)](_0x5d7b02,!0x1);if(!_0x442f55||_0x442f55===_0x270c61[_0x3edc9e(0x182)]||Array[_0x3edc9e(0xd7)](_0x442f55))return null;let _0x41b1dd=[];return this[_0x3edc9e(0xe5)]=!0x1,this[_0x3edc9e(0x114)](_0x442f55,_0x41b1dd,_0x44dd5d),this[_0x3edc9e(0xe5)]?'='+_0x41b1dd[_0x3edc9e(0x12f)](''):null;}['_generateNewFunctionString'](_0x4ba639,_0xadaf25,_0x4ba139){const _0xf409c2=_0xd61810;let _0x5a380b=_0x4ba639[_0xf409c2(0x192)](),_0x3dda53=_0x5a380b[_0xf409c2(0xec)](),_0xfc80f3=_0x3dda53[_0xf409c2(0x102)](),_0x5c4e68=this['_clearFunctionString'](_0xfc80f3),_0x17ae61=_0x4ba139(_0x5c4e68),_0x545384=W[_0xf409c2(0xd9)];_0x5a380b===_0xf96736?_0x545384=W['ROOT']:_0x5a380b===_0x14eafa?_0x545384=W[_0xf409c2(0x121)]:_0x5a380b===_0x2cf218?_0x545384=W[_0xf409c2(0x19d)]:_0x46bf51[_0xf409c2(0x16b)](_0x5c4e68)?(_0xadaf25['push'](''+this['_xlfnPrefix']+_0x3dda53),this['_hasNewExcelFunction']=!0x0):_0xfc80f3===_0x239814?(_0xadaf25[_0xf409c2(0x146)](''+this[_0xf409c2(0x147)]+_0x3dda53),this[_0xf409c2(0xe5)]=!0x0,_0x545384=W['LAMBDA']):_0xfc80f3===_0x4e8f8f?(_0xadaf25[_0xf409c2(0x146)](''+this[_0xf409c2(0x147)]+_0x3dda53),this['_hasNewExcelFunction']=!0x0,_0x545384=W[_0xf409c2(0x115)]):_0xfc80f3===_0x17158f[_0xf409c2(0x14c)]?_0x545384=W[_0xf409c2(0x14c)]:_0x22a803[_0xf409c2(0x16b)](_0xfc80f3)?_0x545384=W[_0xf409c2(0x101)]:_0xfc80f3===_0x5d8347[_0xf409c2(0x174)]?(this[_0xf409c2(0x17c)](_0x4ba639)&&(_0x545384=W[_0xf409c2(0x174)]),_0xadaf25[_0xf409c2(0x146)](_0x5a380b)):(_0xadaf25['push'](_0x5a380b),_0x545384=W[_0xf409c2(0x103)]),_0x17ae61?(_0x545384!==W[_0xf409c2(0x133)]&&_0x545384!==W[_0xf409c2(0x115)]&&(_0x545384=W[_0xf409c2(0x10c)]),_0xadaf25[_0xf409c2(0x146)]('(')):_0x545384===W[_0xf409c2(0x174)]&&_0xadaf25[_0xf409c2(0x146)]('(');let _0x2fd13e=_0x4ba639['getChildren'](),_0x5a6019=_0x2fd13e['length'];if(_0x545384===W[_0xf409c2(0x133)]){let _0x5b185a=_0x2fd13e[0x0],_0x1babf4=0x0;_0x5b185a instanceof _0x93c173&&_0x5b185a[_0xf409c2(0x192)]()===_0x2cf218&&(_0x1babf4=0x1);for(let _0x2e1d9b=_0x1babf4;_0x2e1d9b<_0x5a6019-0x1;_0x2e1d9b++){let _0x348d75=_0x2fd13e[_0x2e1d9b];if(_0x348d75 instanceof _0x93c173){let _0x591465=_0x348d75[_0xf409c2(0xc9)]()[0x0];typeof _0x591465==_0xf409c2(0x127)&&(this['_lambdaFunctionParameterSet'][_0xf409c2(0x16b)](_0x591465)&&console['error'](_0xf409c2(0x1a1)+_0x591465+_0xf409c2(0x150)),this[_0xf409c2(0x154)][_0xf409c2(0x151)](_0x591465),_0xadaf25['push'](''+this[_0xf409c2(0xed)]+_0x591465),this[_0xf409c2(0xe5)]=!0x0);}_0xadaf25[_0xf409c2(0x146)](',');}this['_handleNewFunctionChild'](_0x2fd13e[_0x5a6019-0x1],_0xadaf25,_0x4ba139),_0x1babf4===0x1?(_0xadaf25[_0xf409c2(0x146)](')'),_0xadaf25[_0xf409c2(0x146)]('('),this[_0xf409c2(0x114)](_0x5b185a,_0xadaf25,_0x4ba139),_0xadaf25[_0xf409c2(0x146)](')')):_0xadaf25[_0xf409c2(0x146)](')');return;}else{if(_0x545384===W['LET']){for(let _0x1283a3=0x0;_0x1283a3<_0x5a6019-0x1;_0x1283a3++){let _0x598b99=_0x2fd13e[_0x1283a3];if(_0x598b99 instanceof _0x93c173&&_0x1283a3%0x2==0x0){let _0x42506b=_0x598b99[_0xf409c2(0xc9)]()[0x0];if(typeof _0x42506b==_0xf409c2(0x127)){this[_0xf409c2(0x154)][_0xf409c2(0x16b)](_0x42506b)&&console['error']('Let\x20variable\x20name\x20\x22'+_0x42506b+'\x22\x20is\x20duplicated.'),this['_lambdaFunctionParameterSet'][_0xf409c2(0x151)](_0x42506b),_0xadaf25[_0xf409c2(0x146)](''+this[_0xf409c2(0xed)]+_0x42506b),this[_0xf409c2(0xe5)]=!0x0,_0xadaf25[_0xf409c2(0x146)](',');continue;}}if(this[_0xf409c2(0xba)](_0x598b99,_0xadaf25,_0x4ba139),_0x598b99 instanceof _0x93c173){let _0x35884a=_0x2fd13e[_0x1283a3+0x1];_0x35884a&&_0x35884a instanceof _0x93c173&&_0xadaf25[_0xf409c2(0x146)](',');}}this[_0xf409c2(0xba)](_0x2fd13e[_0x5a6019-0x1],_0xadaf25,_0x4ba139),_0xadaf25[_0xf409c2(0x146)](')');return;}else{if(_0x545384===W[_0xf409c2(0x14c)]){let _0x1dd311=_0x2fd13e[0x0],_0x36df8c=_0x2fd13e[0x1];this[_0xf409c2(0xba)](_0x1dd311,_0xadaf25,_0x4ba139),_0xadaf25['push'](_0x5a380b),this[_0xf409c2(0xba)](_0x36df8c,_0xadaf25,_0x4ba139);return;}}}for(let _0x4ad0dd=0x0;_0x4ad0dd<_0x5a6019;_0x4ad0dd++){let _0x146c0f=_0x2fd13e[_0x4ad0dd];if(this['_handleNewFunctionChild'](_0x146c0f,_0xadaf25,_0x4ba139),_0x146c0f instanceof _0x93c173){let _0x1d8cd5=_0x2fd13e[_0x4ad0dd+0x1];_0x1d8cd5&&_0x1d8cd5 instanceof _0x93c173&&_0xadaf25[_0xf409c2(0x146)](',');}}_0x545384===W[_0xf409c2(0x101)]&&_0xadaf25[_0xf409c2(0x146)](_0x5a380b),(_0x17ae61||_0x545384===W[_0xf409c2(0x174)])&&_0xadaf25[_0xf409c2(0x146)](')');}['_handleNewFunctionChild'](_0x6318f2,_0x4ddad0,_0x39cd61){const _0x20c453=_0xd61810;_0x6318f2 instanceof _0x93c173?this[_0x20c453(0x114)](_0x6318f2,_0x4ddad0,_0x39cd61):this[_0x20c453(0x154)]['has'](_0x6318f2)?(_0x4ddad0[_0x20c453(0x146)](''+this[_0x20c453(0xed)]+_0x6318f2),this[_0x20c453(0xe5)]=!0x0):_0x4ddad0[_0x20c453(0x146)](_0x6318f2);}[_0xd61810(0x15e)](_0x46c198){const _0xc1fd62=_0xd61810;let _0x278fb1=_0x46c198[_0xc1fd62(0xec)]();if(!_0x278fb1)return _0x278fb1;let _0x363005=_0x278fb1[0x0];if((_0x363005===_0x5d8347['AT']||_0x363005===_0x5d8347[_0xc1fd62(0x174)]||_0x363005===_0x5d8347['PLUS'])&&(_0x278fb1=_0x278fb1[_0xc1fd62(0xe6)](0x1)),!_0x278fb1)return _0x278fb1;let _0x681bed=_0x278fb1[_0x278fb1[_0xc1fd62(0x111)]-0x1];return _0x22a803['has'](_0x681bed)&&(_0x278fb1=_0x278fb1[_0xc1fd62(0xe6)](0x0,-0x1)),_0x278fb1;}['_checkAddBracketForMinus'](_0x47d564){const _0x3169c0=_0xd61810;let _0x12d2eb=_0x47d564[_0x3169c0(0xc9)]()[0x0];if(!_0x12d2eb||!(_0x12d2eb instanceof _0x93c173)||_0x47d564['getChildren']()['length']>0x1)return!0x1;let _0x576d97=_0x12d2eb[_0x3169c0(0xc9)](),_0x17f7f1=_0x576d97[_0x3169c0(0x111)];if(_0x17f7f1===0x1)return!0x1;for(let _0x5f3bab=0x0;_0x5f3bab<_0x17f7f1;_0x5f3bab++){let _0x119573=_0x576d97[_0x5f3bab];if(!(_0x119573 instanceof _0x93c173)&&_0xd23e35['has'](_0x119573))return!0x0;}return!0x1;}[_0xd61810(0xc5)](_0x5ec46c,_0x496dbe,_0x30e43f,_0x5b1022,_0x19dd29){const _0x11b835=_0xd61810;let _0x1ca134=this[_0x11b835(0xfb)](_0x5ec46c,!0x1);if(!_0x1ca134||_0x1ca134===_0x270c61[_0x11b835(0x182)]||Array['isArray'](_0x1ca134))return null;this['_clearPrefix'](),this['_currentUnitId']=_0x496dbe;let _0x191a26=this[_0x11b835(0x14b)](_0x1ca134,_0x30e43f,_0x5b1022,_0x19dd29);return this['_currentUnitId']='',this[_0x11b835(0xe9)](),_0x191a26;}['_generateExprTree'](_0x58ec53,_0x234e8c,_0x1c2ce6,_0xfe064c){const _0x4188d6=_0xd61810;let _0xd6478d={'value':'','children':[],'startIndex':0x0},_0x1c033b=_0x58ec53;if(_0x1c033b instanceof _0x93c173&&(_0x1c033b[_0x4188d6(0x192)]()===_0xf96736||_0x1c033b['getToken']()===_0x14eafa)&&_0x1c033b[_0x4188d6(0xc9)]()[_0x4188d6(0x111)]===0x1&&(_0x1c033b=_0x1c033b[_0x4188d6(0xc9)]()[0x0]),!(_0x1c033b instanceof _0x93c173))return this[_0x4188d6(0x138)](_0x1c033b,_0x1c2ce6,_0xfe064c);let _0x4099c6=_0x1c033b[_0x4188d6(0xc9)](),_0x1777a4=_0x4099c6[_0x4188d6(0x111)],_0xfb4403=[];this[_0x4188d6(0x114)](_0x1c033b,_0xfb4403,_0x234e8c),_0xd6478d[_0x4188d6(0xee)]=_0xfb4403[_0x4188d6(0x12f)](''),_0xd6478d['startIndex']=_0x1c033b[_0x4188d6(0x181)]();let _0x349ed1=this[_0x4188d6(0x148)](_0x1c033b);if(_0x349ed1===W['LAMBDA']){let _0x15be96=_0x4099c6[0x0];if(_0x15be96 instanceof _0x93c173){if(_0x15be96[_0x4188d6(0x192)]()[_0x4188d6(0xec)]()!==_0x2cf218)return _0xd6478d;this[_0x4188d6(0xe0)](_0x15be96,_0xd6478d,_0x234e8c,_0x1c2ce6,_0xfe064c);}return _0xd6478d;}else{if(_0x349ed1===W[_0x4188d6(0x115)]){for(let _0x5487a3=0x0;_0x5487a3<_0x1777a4-0x1;_0x5487a3++){let _0x4421ac=_0x4099c6[_0x5487a3];if(_0x4421ac instanceof _0x93c173&&_0x5487a3%0x2==0x1){let _0x34a7b6=_0x4421ac[_0x4188d6(0xc9)]();if(_0x34a7b6['length']===0x1&&!(_0x34a7b6[0x0]instanceof _0x93c173))continue;let _0x741269=this[_0x4188d6(0x14b)](_0x4421ac,_0x234e8c,_0x1c2ce6,_0xfe064c);_0x741269&&_0xd6478d[_0x4188d6(0xd6)][_0x4188d6(0x146)](_0x741269);}}return _0xd6478d;}else{if(_0x349ed1===W[_0x4188d6(0x14c)]){let _0x50056f=_0x4099c6[0x0];if(_0x50056f instanceof _0x93c173){let _0x5bbf82=_0x50056f[_0x4188d6(0xc9)]()[0x0];_0x5bbf82 instanceof _0x93c173&&(_0xd6478d[_0x4188d6(0x189)]=_0x5bbf82[_0x4188d6(0x181)]());}if(this[_0x4188d6(0x134)](_0x1c033b))return _0xd6478d;}else{if(_0x349ed1===W[_0x4188d6(0x101)]){let _0x5f55b3=_0x4099c6[0x0];if(_0x5f55b3 instanceof _0x93c173){let _0x56d685=_0x5f55b3[_0x4188d6(0xc9)]()[0x0];_0x56d685 instanceof _0x93c173&&(_0xd6478d[_0x4188d6(0x189)]=_0x56d685[_0x4188d6(0x181)]());}}}}}return this[_0x4188d6(0xcd)](_0x4099c6,_0x349ed1,_0xd6478d,_0x234e8c,_0x1c2ce6,_0xfe064c),_0xd6478d;}[_0xd61810(0xcd)](_0x4a0733,_0x8679c1,_0x281d27,_0x57d98b,_0x50dccc,_0x5f45c2){const _0x408a6c=_0xd61810;for(let _0x35755e=0x0;_0x35755e<_0x4a0733['length'];_0x35755e++){let _0x3b16b1=_0x4a0733[_0x35755e];if(!(_0x3b16b1 instanceof _0x93c173)){let _0x375420=this['_handleTextNodeForExprTree'](_0x3b16b1,_0x50dccc,_0x5f45c2);_0x375420&&_0x281d27[_0x408a6c(0xd6)][_0x408a6c(0x146)](_0x375420);continue;}let _0x211414=_0x3b16b1[_0x408a6c(0xc9)]();if(_0x211414[_0x408a6c(0x111)]===0x1&&!(_0x211414[0x0]instanceof _0x93c173)){let _0x333382=_0x211414[0x0];if(!_0x50dccc(this[_0x408a6c(0x11b)],_0x333382)&&!this[_0x408a6c(0x144)](_0x333382,_0x5f45c2)&&!_0x4f062d(_0x333382))continue;}if(_0x8679c1===W[_0x408a6c(0x14c)]){let _0x118bb7=_0x211414[0x0];if(_0x118bb7 instanceof _0x93c173){if(_0x4f062d(_0x118bb7[_0x408a6c(0x192)]()['trim']()))continue;_0x3b16b1=_0x118bb7;}}let _0x1457c7=this['_generateExprTree'](_0x3b16b1,_0x57d98b,_0x50dccc,_0x5f45c2);_0x1457c7&&_0x281d27['children'][_0x408a6c(0x146)](_0x1457c7);}}[_0xd61810(0x134)](_0x5279ea){const _0x3c42da=_0xd61810;let _0x1fbcbc=_0x5279ea[_0x3c42da(0xc9)]();if(_0x1fbcbc['length']<0x2)return!0x1;let _0x3e8de6=_0x1fbcbc[0x0],_0x35fe10=_0x1fbcbc[0x1];if(!(_0x3e8de6 instanceof _0x93c173)||!(_0x35fe10 instanceof _0x93c173))return!0x1;let _0x3bd9ea=_0x3e8de6['getChildren']()[0x0],_0x257563=_0x35fe10['getChildren']()[0x0];if(!(_0x3bd9ea instanceof _0x93c173)||!(_0x257563 instanceof _0x93c173))return!0x1;let _0x5569a7=_0x3bd9ea[_0x3c42da(0x192)]()['trim'](),_0x3667c5=_0x257563[_0x3c42da(0x192)]()[_0x3c42da(0xec)]();return!!_0x4f062d(''+_0x5569a7+_0x17158f[_0x3c42da(0x14c)]+_0x3667c5);}[_0xd61810(0x138)](_0x5fbdf1,_0x4f3ec9,_0x2e7bb4){const _0x1313c6=_0xd61810;let _0x406574=_0x5fbdf1[_0x1313c6(0xec)]();return _0x406574['startsWith']('{')&&_0x406574[_0x1313c6(0x107)]('}')||_0x4f3ec9(this[_0x1313c6(0x11b)],_0x406574)||this['_getTableNameFromStructuredRef'](_0x406574,_0x2e7bb4)||_0x4f062d(_0x406574)?{'value':_0x406574,'children':[],'startIndex':-0x1}:null;}[_0xd61810(0x144)](_0x4ad2cb,_0x359b6e){const _0x1589e4=_0xd61810;let {tableName:_0x52fd3f}=_0x5c1976(_0x4ad2cb);return _0x359b6e(this[_0x1589e4(0x11b)],_0x52fd3f)?_0x52fd3f:null;}['_handleLambdaForExprTree'](_0x237951,_0x411262,_0x304ca1,_0x4ae907,_0x3ed798){const _0x3ab30d=_0xd61810;let _0x5f5bca=_0x237951[_0x3ab30d(0xc9)]();for(let _0x235064=0x0;_0x235064<_0x5f5bca[_0x3ab30d(0x111)];_0x235064++){let _0x1e3c41=_0x5f5bca[_0x235064];if(!(_0x1e3c41 instanceof _0x93c173))continue;let _0x9be7b4=_0x1e3c41[_0x3ab30d(0xc9)]();if(_0x9be7b4[_0x3ab30d(0x111)]===0x1&&!(_0x9be7b4[0x0]instanceof _0x93c173))continue;let _0x2b56aa=this[_0x3ab30d(0x14b)](_0x1e3c41,_0x304ca1,_0x4ae907,_0x3ed798);_0x2b56aa&&_0x411262['children']['push'](_0x2b56aa);}}[_0xd61810(0x148)](_0x538cfa){const _0x29f4cb=_0xd61810;let _0x40e88f=_0x538cfa[_0x29f4cb(0x192)](),_0x163e1e=_0x40e88f[_0x29f4cb(0xec)]()[_0x29f4cb(0x102)](),_0x2038b2=W[_0x29f4cb(0xd9)];return _0x40e88f===_0xf96736?_0x2038b2=W[_0x29f4cb(0x166)]:_0x40e88f===_0x14eafa?_0x2038b2=W[_0x29f4cb(0x121)]:_0x40e88f===_0x2cf218?_0x2038b2=W[_0x29f4cb(0x19d)]:_0x163e1e===_0x239814?_0x2038b2=W[_0x29f4cb(0x133)]:_0x163e1e===_0x4e8f8f?_0x2038b2=W[_0x29f4cb(0x115)]:_0x163e1e===_0x17158f[_0x29f4cb(0x14c)]?_0x2038b2=W['COLON']:_0x22a803['has'](_0x163e1e)?_0x2038b2=W[_0x29f4cb(0x101)]:_0x163e1e===_0x5d8347[_0x29f4cb(0x174)]?this[_0x29f4cb(0x17c)](_0x538cfa)&&(_0x2038b2=W['MINUS']):_0x2038b2=W[_0x29f4cb(0x103)],_0x2038b2;}},K=_0xd61810(0x149),q=_0xd61810(0xf0),J=class extends _0x522b32{constructor(..._0x5a554e){const _0xe59cd=_0xd61810;super(..._0x5a554e),U(this,_0xe59cd(0x162),new Map());}[_0xd61810(0x104)](){const _0x30b0ae=_0xd61810;super['dispose'](),this[_0x30b0ae(0x162)][_0x30b0ae(0xea)]();}async[_0xd61810(0x15f)](_0x7f1ad2=!0x1){const _0x1db230=_0xd61810;this[_0x1db230(0x142)]();let _0x15f016=this['_currentConfigService'][_0x1db230(0x14f)](),_0x2db249=this[_0x1db230(0x178)][_0x1db230(0x126)](),_0x4c9d2d=this['_currentConfigService'][_0x1db230(0x152)]();_0x4c9d2d!=null&&Object[_0x1db230(0x160)](_0x4c9d2d)[_0x1db230(0x170)](_0x4e42ad=>{const _0x5878eb=_0x1db230;_0x4e42ad!=null&&Object[_0x5878eb(0x160)](_0x4c9d2d[_0x4e42ad])[_0x5878eb(0x170)](_0xcb8e11=>{const _0x231919=_0x5878eb;_0xcb8e11!=null&&(this['_dependencyManagerService']['clearOtherFormulaDependency'](_0x4e42ad,_0xcb8e11),this[_0x231919(0x11f)]['clearFeatureFormulaDependency'](_0x4e42ad,_0xcb8e11),this[_0x231919(0x11f)][_0x231919(0x187)](_0x4e42ad,_0xcb8e11));});});let _0x211397=this[_0x1db230(0x164)]['getUnitData']();await this[_0x1db230(0x175)](_0x15f016,_0x2db249,_0x211397),this['_dependencyManagerService'][_0x1db230(0xd8)]();let _0x74be76=this['_getUpdateTreeListAndMakeDependency'](),_0x134049=this[_0x1db230(0xdf)](_0x74be76);return this[_0x1db230(0x171)](_0x134049)&&this[_0x1db230(0xf8)]['enableCycleDependency'](),_0x7f1ad2&&this['_runtimeService'][_0x1db230(0x165)](this['_getAllDependencyJson'](Array[_0x1db230(0xde)](this[_0x1db230(0x162)]['values']()))),this['_dependencyTreeCache'][_0x1db230(0xea)](),this[_0x1db230(0x119)][_0x1db230(0xea)](),this[_0x1db230(0x11f)][_0x1db230(0x179)](),this[_0x1db230(0xf8)]['clearArrayObjectCache'](),Promise['resolve'](_0x134049);}['_isCyclicUtilMap'](_0x380014,_0x1d04b5){const _0x2c5afe=_0xd61810;let _0x3daf43=[_0x380014];for(;_0x3daf43[_0x2c5afe(0x111)]>0x0;){let _0x2abbbb=_0x3daf43[_0x3daf43['length']-0x1];if((_0x1d04b5[_0x2c5afe(0x18d)](_0x2abbbb)||0x0)===0x0){_0x1d04b5[_0x2c5afe(0xd3)](_0x2abbbb,0x1);let _0x2f64a0=this[_0x2c5afe(0x162)]['get'](_0x2abbbb);if(_0x2f64a0==null){_0x1d04b5[_0x2c5afe(0xd3)](_0x2abbbb,0x2),_0x3daf43[_0x2c5afe(0x190)]();continue;}let _0x18913d=this[_0x2c5afe(0x11f)][_0x2c5afe(0xfa)](_0x2f64a0['toRTreeItem']());for(let _0x15ca93 of _0x18913d){let _0x5e49ce=_0x1d04b5[_0x2c5afe(0x18d)](_0x15ca93)||0x0;if(_0x5e49ce===0x1)return!0x0;_0x5e49ce===0x0&&_0x3daf43[_0x2c5afe(0x146)](_0x15ca93);}}else _0x1d04b5[_0x2c5afe(0xd3)](_0x2abbbb,0x2),_0x3daf43['pop']();}return!0x1;}[_0xd61810(0x171)](_0x408af3){const _0x52e0c0=_0xd61810;let _0x3b5e8d=new Map();for(let _0x43f08b of _0x408af3)if(!_0x3b5e8d[_0x52e0c0(0x16b)](_0x43f08b[_0x52e0c0(0x124)])&&this[_0x52e0c0(0xda)](_0x43f08b[_0x52e0c0(0x124)],_0x3b5e8d))return!0x0;return _0x3b5e8d['clear'](),!0x1;}[_0xd61810(0x12c)](_0x26165b,_0xb5b61c,_0x329236){const _0x11b49a=_0xd61810;let {unitId:_0x3d1c62,subUnitId:_0x6d170a,dependencyRanges:_0x34c603,getDirtyData:_0x3a0884}=_0x329236,_0x3689ce=new _0x21113b(_0xb5b61c||_0x36072f(this[_0x11b49a(0x11f)]));_0x3689ce['unitId']=_0x3d1c62,_0x3689ce[_0x11b49a(0x17b)]=_0x6d170a,_0x3689ce[_0x11b49a(0x106)]=_0x34c603,_0x3689ce['getDirtyData']=_0x3a0884;let _0x39d369=_0x3a0884(this[_0x11b49a(0x164)][_0x11b49a(0x128)](),this['_runtimeService'][_0x11b49a(0x193)]());return _0x3689ce[_0x11b49a(0xf7)]=this[_0x11b49a(0x173)](_0x39d369[_0x11b49a(0x132)]),_0x3689ce[_0x11b49a(0xdd)]=_0x26165b,_0x3689ce['type']=_0xc37d36[_0x11b49a(0xdc)],this[_0x11b49a(0x11f)][_0x11b49a(0x18b)](_0x3d1c62,_0x6d170a,_0x26165b,_0x3689ce),this['_dependencyTreeCache'][_0x11b49a(0xd3)](_0x3689ce[_0x11b49a(0x124)],_0x3689ce),this[_0x11b49a(0x11f)]['getFeatureFormulaDependency'](_0x329236[_0x11b49a(0x14e)],_0x329236[_0x11b49a(0x17b)],_0x26165b)&&(_0x3689ce[_0x11b49a(0xcc)]=!0x0),_0x3689ce;}[_0xd61810(0x180)](_0x472990,_0x51d2dc,_0xab0100){const _0x588182=_0xd61810;for(let _0x41027b of _0x51d2dc){let _0x2b398b=_0x472990[_0x41027b];if(_0x2b398b==null)continue;let _0x249c3f=Object[_0x588182(0x160)](_0x2b398b);for(let _0x5f1179 of _0x249c3f){let _0xdcc0e0=_0x2b398b[_0x5f1179];if(_0xdcc0e0==null)continue;let {rowCount:_0x1b5274=0x1/0x0,columnCount:_0x3886c3=0x1/0x0}=this['_currentConfigService'][_0x588182(0x18e)](_0x41027b,_0x5f1179)||{},_0x31a6a1=Object['keys'](_0xdcc0e0);for(let _0x588189 of _0x31a6a1){var _0x412acd;let _0x31942c=this['_dependencyManagerService'][_0x588182(0x186)](_0x588189),{f:_0x39ddf0,ranges:_0x5779d8}=_0xdcc0e0[_0x588189],_0x1e2b82=!0x1;_0x31942c&&(_0x1e2b82=!0x0);let {firstRow:_0x3417d5,firstColumn:_0x30d8d0}=this[_0x588182(0x14d)](_0x5779d8),_0xc4d465=this[_0x588182(0x11f)]['getOtherFormulaDependency'](_0x41027b,_0x5f1179,_0x588189),_0x2a7eb8=new _0x21113b((_0x412acd=_0xc4d465==null?void 0x0:_0xc4d465[_0x588182(0x139)](0x0,0x0))==null?_0x36072f(this[_0x588182(0x11f)]):_0x412acd);for(let _0x27c683=0x0;_0x27c683<_0x5779d8[_0x588182(0x111)];_0x27c683++){let _0x5aa368=_0x5779d8[_0x27c683],{startRow:_0x45a974,startColumn:_0x2626d7}=_0x5aa368,{endRow:_0x1abace,endColumn:_0x3da0e0}=_0x5aa368;_0x1abace=Math[_0x588182(0x155)](_0x1abace,_0x1b5274-0x1),_0x3da0e0=Math['min'](_0x3da0e0,_0x3886c3-0x1);for(let _0x5beb43=_0x45a974;_0x5beb43<=_0x1abace;_0x5beb43++)for(let _0xc4ab03=_0x2626d7;_0xc4ab03<=_0x3da0e0;_0xc4ab03++){let _0x18bf90=_0xc4ab03-_0x30d8d0,_0x9b3e33=_0x5beb43-_0x3417d5;if(_0x18bf90===0x0&&_0x9b3e33===0x0){_0x2a7eb8[_0x588182(0x15d)]=_0x39ddf0,_0x2a7eb8[_0x588182(0x14e)]=_0x41027b,_0x2a7eb8[_0x588182(0x17b)]=_0x5f1179,_0x2a7eb8[_0x588182(0xf5)]=_0x588189,_0x2a7eb8[_0x588182(0xfe)]=_0xc37d36[_0x588182(0x10e)],_0x2a7eb8[_0x588182(0xcc)]=_0x1e2b82,_0xab0100[_0x588182(0x146)](_0x2a7eb8),this['_dependencyTreeCache']['set'](_0x2a7eb8['treeId'],_0x2a7eb8),this[_0x588182(0x11f)][_0x588182(0xd2)](_0x41027b,_0x5f1179,_0x588189,_0x2a7eb8),this['_dependencyManagerService'][_0x588182(0x168)](_0x2a7eb8);continue;}let _0x40ecaf=new _0x6c4349();_0x40ecaf[_0x588182(0x124)]=(_0xc4d465==null?void 0x0:_0xc4d465['getValue'](_0x18bf90,_0x9b3e33))||_0x36072f(this[_0x588182(0x11f)]),_0x40ecaf['refTree']=_0x2a7eb8,_0x40ecaf[_0x588182(0x184)]=_0x18bf90,_0x40ecaf[_0x588182(0x145)]=_0x9b3e33,_0x40ecaf[_0x588182(0xcc)]=_0x1e2b82,_0x40ecaf[_0x588182(0xfe)]=_0xc37d36[_0x588182(0x10e)],this['_dependencyManagerService']['addOtherFormulaDependency'](_0x41027b,_0x5f1179,_0x588189,_0x40ecaf),this[_0x588182(0x11f)]['addFormulaDependencyByDefinedName'](_0x40ecaf),_0xab0100[_0x588182(0x146)](_0x40ecaf),this[_0x588182(0x162)]['set'](_0x40ecaf['treeId'],_0x40ecaf);}}this[_0x588182(0x11f)][_0x588182(0xc3)](_0x588189);}}}}[_0xd61810(0xdb)](_0x2e5eb3,_0xc2a09f,_0x14b6c7,_0x3a42aa){const _0x4d7ed3=_0xd61810;for(let _0x54fde2 of _0x2e5eb3){let _0x339736=_0xc2a09f[_0x54fde2];if(_0x339736==null)continue;let _0x400623=Object['keys'](_0x339736);for(let _0x52b6df of _0x400623){let _0x671efb=new _0x71d505(_0x339736[_0x52b6df]||{}),_0x27f16e=new Map();_0x671efb['forValue']((_0x521679,_0x3a25ef,_0x5907cd)=>{const _0x565fb7=_0x5b7e;if(_0x5907cd==null)return!0x0;let {x:_0x14424d=0x0,y:_0xcc6b85=0x0,si:_0x3436e6}=_0x5907cd;if(!(_0x14424d===0x0&&_0xcc6b85===0x0&&_0x3436e6!=null))return!0x0;let _0x8435d5=this['_createFDtree'](_0x54fde2,_0x52b6df,_0x521679,_0x3a25ef,_0x14b6c7,_0x5907cd),_0x31ed23=this[_0x565fb7(0x11f)][_0x565fb7(0x12e)](_0x54fde2,_0x52b6df,_0x521679,_0x3a25ef);_0x31ed23==null?(this[_0x565fb7(0x11f)][_0x565fb7(0x17f)](_0x54fde2,_0x52b6df,_0x521679,_0x3a25ef,_0x8435d5),this[_0x565fb7(0x11f)][_0x565fb7(0x168)](_0x8435d5)):_0x8435d5[_0x565fb7(0x124)]=_0x31ed23,_0x27f16e['set'](_0x3436e6,_0x8435d5),_0x3a42aa['push'](_0x8435d5),this[_0x565fb7(0x162)][_0x565fb7(0xd3)](_0x8435d5[_0x565fb7(0x124)],_0x8435d5);}),_0x671efb[_0x4d7ed3(0xe1)]((_0xbb001c,_0x5dc4b8,_0x40c209)=>{const _0xa9159=_0x4d7ed3;if(_0x40c209==null)return!0x0;let {x:_0x1bbb7a=0x0,y:_0x356615=0x0,si:_0x40b8fc}=_0x40c209;if(_0x1bbb7a===0x0&&_0x356615===0x0&&_0x40b8fc!=null)return!0x0;let _0x4ac083;if(_0x40b8fc&&_0x27f16e[_0xa9159(0x16b)](_0x40b8fc)){let _0x8951cb=_0x27f16e['get'](_0x40b8fc);_0x4ac083=this[_0xa9159(0x12d)](_0x8951cb,_0x40c209);}else _0x4ac083=this[_0xa9159(0x10b)](_0x54fde2,_0x52b6df,_0xbb001c,_0x5dc4b8,_0x14b6c7,_0x40c209);let _0x55d76e=this['_dependencyManagerService'][_0xa9159(0x12e)](_0x54fde2,_0x52b6df,_0xbb001c,_0x5dc4b8);_0x55d76e==null?(this[_0xa9159(0x11f)][_0xa9159(0x17f)](_0x54fde2,_0x52b6df,_0xbb001c,_0x5dc4b8,_0x4ac083),this[_0xa9159(0x11f)][_0xa9159(0x168)](_0x4ac083)):_0x4ac083[_0xa9159(0x124)]=_0x55d76e,_0x3a42aa[_0xa9159(0x146)](_0x4ac083),this[_0xa9159(0x162)][_0xa9159(0xd3)](_0x4ac083[_0xa9159(0x124)],_0x4ac083);}),_0x27f16e['clear']();}}}['_createFDtree'](_0x87c46d,_0x186bea,_0x3a976b,_0x551584,_0x5b51c2,_0xcfdfff){const _0x155f5c=_0xd61810;let {f:_0x15a46a,x:_0x359378=0x0,y:_0x1e8901=0x0}=_0xcfdfff,_0x45850e=new _0x21113b(_0x36072f(this['_dependencyManagerService'])),_0x4c53ff=_0x5b51c2[_0x87c46d][_0x186bea];return _0x45850e['formula']=_0x15a46a,_0x45850e['unitId']=_0x87c46d,_0x45850e[_0x155f5c(0x17b)]=_0x186bea,_0x45850e[_0x155f5c(0xeb)]=_0x3a976b,_0x45850e[_0x155f5c(0x167)]=_0x551584,_0x45850e[_0x155f5c(0x13d)]=_0x4c53ff['rowCount'],_0x45850e[_0x155f5c(0x16e)]=_0x4c53ff['columnCount'],_0x45850e;}[_0xd61810(0x169)](){const _0x360741=_0xd61810;let _0x573b82=[],_0x46fb93=new Set(),_0x4fc3ab=this[_0x360741(0x164)][_0x360741(0x137)](),_0x5807aa=this[_0x360741(0x164)][_0x360741(0xe3)](),_0x3063cd=this[_0x360741(0x11f)]['searchDependency'](_0x5807aa),_0x2534ce=this[_0x360741(0x119)][_0x360741(0x196)](_0x5807aa);for(let _0x9f12c0 of _0x2534ce)_0x3063cd[_0x360741(0x151)](_0x9f12c0);for(let [_0x47c2e1,_0x292512]of this['_dependencyTreeCache'])(_0x4fc3ab||_0x292512['isDirty']||_0x292512['dependencySheetName'](this['_currentConfigService'][_0x360741(0xd1)]())||_0x3063cd[_0x360741(0x16b)](_0x47c2e1)&&!_0x292512[_0x360741(0x14a)](this['_currentConfigService'][_0x360741(0x15c)]()))&&!_0x46fb93['has'](_0x47c2e1)&&(_0x573b82[_0x360741(0x146)](_0x292512),_0x46fb93['add'](_0x47c2e1));for(let [_0x2948df,_0x4aca2b]of this[_0x360741(0x162)])_0x4aca2b[_0x360741(0x109)]||(_0x4aca2b['rangeList'][_0x360741(0x111)]=0x0);return _0x573b82;}[_0xd61810(0x153)](_0x3d0a6d){const _0x4fae9f=_0xd61810;return this[_0x4fae9f(0x162)][_0x4fae9f(0x18d)](_0x3d0a6d);}[_0xd61810(0x10f)](_0x449a4f){const _0x3818f8=_0xd61810;return _0xb18e96(_0x449a4f['unitId'],_0x449a4f[_0x3818f8(0x15d)],this[_0x3818f8(0xc7)],this[_0x3818f8(0x195)],this['_currentConfigService']);}*[_0xd61810(0x19a)](_0x25b306,_0x394edd){const _0x56f61c=_0xd61810;let _0x49ccbd=_0x25b306,_0x57422c=new Set();for(;_0x49ccbd[_0x56f61c(0x111)]>0x0;){let _0xc1b504=_0x49ccbd[_0x56f61c(0x190)]();if(_0x57422c['clear'](),_0xc1b504===void 0x0||_0xc1b504[_0x56f61c(0x12b)]())continue;if(_0xc1b504[_0x56f61c(0x1a0)]()){yield _0xc1b504,_0xc1b504['setSkip'](),_0x394edd[_0x56f61c(0x151)](_0xc1b504[_0x56f61c(0x124)]);continue;}let _0xbdfe43=this[_0x56f61c(0x11f)]['searchDependency'](_0xc1b504[_0x56f61c(0xc2)](),_0x394edd),_0x5e5d9d=this[_0x56f61c(0x119)][_0x56f61c(0x196)](_0xc1b504['toRTreeItem'](),_0x394edd);for(let _0x22ed0c of _0x5e5d9d)_0xbdfe43[_0x56f61c(0x151)](_0x22ed0c);for(let _0x4a50ba of _0xbdfe43){let _0x23f949=this[_0x56f61c(0x162)][_0x56f61c(0x18d)](_0x4a50ba);if(!_0x23f949){console[_0x56f61c(0x13b)]('Dependency\x20tree\x20not\x20found\x20for\x20treeId:',_0x4a50ba);continue;}_0x23f949[_0x56f61c(0x1a0)]()||_0xc1b504['isSkip']()||_0x57422c[_0x56f61c(0x151)](_0x23f949);}if(_0xbdfe43['clear'](),_0x57422c[_0x56f61c(0xc8)]===0x0)yield _0xc1b504,_0xc1b504[_0x56f61c(0x11d)](),_0x394edd['add'](_0xc1b504[_0x56f61c(0x124)]);else{_0xc1b504['setAdded'](),_0x49ccbd['push'](_0xc1b504);for(let _0x563e09 of _0x57422c)_0x49ccbd[_0x56f61c(0x146)](_0x563e09);}}_0x49ccbd[_0x56f61c(0x111)]=0x0,_0x57422c[_0x56f61c(0xea)]();}['_calculateRunList'](_0x3b58c8){const _0x4e8312=_0xd61810;let _0x11a8f2=[],_0xeeb608=new Set();for(let _0x3b9cf2 of this[_0x4e8312(0x19a)](_0x3b58c8,_0xeeb608))_0x11a8f2[_0x4e8312(0x146)](_0x3b9cf2);return _0x11a8f2;}async[_0xd61810(0xcf)](){const _0x4751f1=_0xd61810;return await this[_0x4751f1(0x11a)](),Array[_0x4751f1(0xde)](this['_dependencyTreeCache'][_0x4751f1(0x125)]());}[_0xd61810(0x130)](_0x2e3040){const _0x1e18fe=_0xd61810;return this[_0x1e18fe(0x11f)][_0x1e18fe(0xfa)](_0x2e3040[_0x1e18fe(0xc2)]());}[_0xd61810(0xc6)](_0x462081){const _0x86972=_0xd61810;let _0x1e6a27=new Set(),_0x3198c4=_0x462081[_0x86972(0x106)];for(let [_0x2a376f,_0x589cb3]of this[_0x86972(0x162)])for(let _0x480009 of _0x3198c4){let _0x55309e=_0x480009[_0x86972(0x14e)],_0x561334=_0x480009[_0x86972(0x197)];if(_0x589cb3[_0x86972(0x14e)]!==_0x55309e||_0x589cb3[_0x86972(0x17b)]!==_0x561334)continue;let _0xa80d78=_0x480009['range'];if(_0x589cb3['inRangeData'](_0xa80d78)){_0x1e6a27[_0x86972(0x151)](_0x2a376f);break;}}return _0x1e6a27;}[_0xd61810(0xbb)](){const _0x548de9=_0xd61810;this[_0x548de9(0x11f)][_0x548de9(0xd8)]();}['_endFormulaDependencyTreeModel'](){const _0x408f3d=_0xd61810;this[_0x408f3d(0xd0)][_0x408f3d(0xea)](),this[_0x408f3d(0x162)]['clear'](),this[_0x408f3d(0x11f)][_0x408f3d(0x179)]();}},Y=class extends _0x5a2081{async['_apply'](_0x162a62=!0x1){const _0x3b1786=_0xd61810;_0x162a62?this[_0x3b1786(0xf8)]['setFormulaExecuteStage'](_0x2e2492[_0x3b1786(0x16f)]):this[_0x3b1786(0xf8)]['setFormulaExecuteStage'](_0x2e2492[_0x3b1786(0x13f)]),this[_0x3b1786(0xbf)][_0x3b1786(0xb9)](this[_0x3b1786(0xf8)][_0x3b1786(0x191)]());let _0x4c0a3a=await this[_0x3b1786(0x108)][_0x3b1786(0x15f)](this[_0x3b1786(0x188)]),_0x38f8e8=this[_0x3b1786(0x161)];_0x162a62?(this[_0x3b1786(0xf8)][_0x3b1786(0xef)](_0x2e2492[_0x3b1786(0xc1)]),this[_0x3b1786(0xf8)][_0x3b1786(0x172)](_0x4c0a3a[_0x3b1786(0x111)])):(this['_runtimeService'][_0x3b1786(0xef)](_0x2e2492[_0x3b1786(0x10d)]),this[_0x3b1786(0xf8)]['setTotalFormulasToCalculate'](_0x4c0a3a[_0x3b1786(0x111)])),this[_0x3b1786(0xbf)][_0x3b1786(0xb9)](this['_runtimeService'][_0x3b1786(0x191)]());let _0x316e84=[],_0x196756=this['_configService'][_0x3b1786(0x198)](_0x4d717a),_0x475937=(_0x196756==null?void 0x0:_0x196756['intervalCount'])||_0x5852a9,_0x5b57ed=0x0,_0x5bb598=_0x4c0a3a['length'];for(;_0x4c0a3a[_0x3b1786(0x111)]>0x0;){let _0x4000cb=_0x4c0a3a[_0x3b1786(0x190)](),_0x229e73=_0xb18e96(_0x4000cb['unitId'],_0x4000cb['formula'],this[_0x3b1786(0xc7)],this[_0x3b1786(0x195)],this['_currentConfigService']),_0x258ca1={'node':_0x229e73,'refOffsetX':_0x4000cb[_0x3b1786(0x184)],'refOffsetY':_0x4000cb[_0x3b1786(0x145)]},_0x1e16c0=_0x4000cb[_0x3b1786(0x128)];if(_0x5b57ed%_0x475937===0x0&&(await new Promise(_0x458636=>{const _0x3e6bde=_0x3b1786;let _0x1dfab6=_0x54d56a(_0x458636);_0x316e84[_0x3e6bde(0x146)](_0x1dfab6);}),_0x162a62?(this[_0x3b1786(0xf8)][_0x3b1786(0xef)](_0x2e2492[_0x3b1786(0x18a)]),this['_runtimeService'][_0x3b1786(0x116)](_0x5b57ed+0x1)):(this[_0x3b1786(0xf8)][_0x3b1786(0xef)](_0x2e2492[_0x3b1786(0xb8)]),this[_0x3b1786(0xf8)][_0x3b1786(0x17d)](_0x5b57ed+0x1)),this[_0x3b1786(0xbf)][_0x3b1786(0xb9)](this['_runtimeService'][_0x3b1786(0x191)]()),this[_0x3b1786(0xf8)][_0x3b1786(0x11c)]()||_0x258ca1==null&&_0x1e16c0==null)){this[_0x3b1786(0xf8)][_0x3b1786(0xef)](_0x2e2492[_0x3b1786(0x15b)]),this[_0x3b1786(0xf8)][_0x3b1786(0x19c)](),this[_0x3b1786(0x176)][_0x3b1786(0xb9)](this[_0x3b1786(0xf8)]['getAllRuntimeData']());return;}this['_runtimeService']['setCurrent'](_0x4000cb[_0x3b1786(0xeb)],_0x4000cb[_0x3b1786(0x167)],_0x4000cb['rowCount'],_0x4000cb[_0x3b1786(0x16e)],_0x4000cb[_0x3b1786(0x17b)],_0x4000cb['unitId']);let _0x50f727;if(_0x1e16c0!=null&&_0x4000cb[_0x3b1786(0xdd)]!=null){let {runtimeCellData:_0x294492,dirtyRanges:_0xeea38f}=_0x1e16c0(this[_0x3b1786(0x164)][_0x3b1786(0x128)](),this[_0x3b1786(0xf8)][_0x3b1786(0x193)]());this[_0x3b1786(0xf8)][_0x3b1786(0xf2)](_0x4000cb[_0x3b1786(0xdd)],_0x294492),this[_0x3b1786(0xf8)][_0x3b1786(0xf6)](_0x4000cb[_0x3b1786(0xdd)],_0xeea38f);}else _0x258ca1!=null&&(_0x50f727=_0x38f8e8[_0x3b1786(0x129)](_0x258ca1[_0x3b1786(0xe8)])?await _0x38f8e8[_0x3b1786(0xbc)](_0x258ca1):_0x38f8e8[_0x3b1786(0x194)](_0x258ca1),_0x4000cb['formulaId']==null?this[_0x3b1786(0xf8)][_0x3b1786(0x13c)](_0x50f727):this[_0x3b1786(0xf8)][_0x3b1786(0x131)](_0x4000cb[_0x3b1786(0xf5)],_0x4000cb['refOffsetX'],_0x4000cb[_0x3b1786(0x145)],_0x50f727));_0x229e73['resetCalculationState'](),_0x5b57ed++;}return _0x316e84[_0x3b1786(0x170)](_0x14c3a5=>_0x14c3a5()),_0x316e84=[],_0x5bb598>0x0?this[_0x3b1786(0xf8)][_0x3b1786(0xcb)]():_0x162a62||this[_0x3b1786(0xf8)][_0x3b1786(0xe2)](),this['_runtimeService'][_0x3b1786(0x193)]();}},X=class extends _0x1bddfe{constructor(..._0x4f7447){const _0x118451=_0xd61810;super(..._0x4f7447),U(this,_0x118451(0x156),new Map()),U(this,_0x118451(0xbe),new _0x19927e(!0x0));}[_0xd61810(0x16a)](){const _0x44ac91=_0xd61810;this[_0x44ac91(0xf1)][_0x44ac91(0xea)](),this[_0x44ac91(0x15a)][_0x44ac91(0xea)](),this[_0x44ac91(0xe7)]['clear'](),this[_0x44ac91(0xbe)][_0x44ac91(0xea)](),this[_0x44ac91(0x156)]['clear'](),this[_0x44ac91(0x120)](),this[_0x44ac91(0x135)][_0x44ac91(0xea)]();}['addOtherFormulaDependency'](_0x3cbf1d,_0x583758,_0x4b9e79,_0x3d2afe){const _0x11c721=_0xd61810;this[_0x11c721(0xf1)][_0x11c721(0x16b)](_0x3cbf1d)||this[_0x11c721(0xf1)][_0x11c721(0xd3)](_0x3cbf1d,new Map());let _0x5b177f=this[_0x11c721(0xf1)]['get'](_0x3cbf1d);_0x5b177f[_0x11c721(0x16b)](_0x583758)||_0x5b177f[_0x11c721(0xd3)](_0x583758,new Map());let _0x513d55=_0x5b177f['get'](_0x583758);_0x513d55[_0x11c721(0x16b)](_0x4b9e79)||_0x513d55[_0x11c721(0xd3)](_0x4b9e79,new _0x71d505()),_0x513d55[_0x11c721(0x18d)](_0x4b9e79)[_0x11c721(0x183)](_0x3d2afe[_0x11c721(0x184)],_0x3d2afe[_0x11c721(0x145)],_0x3d2afe[_0x11c721(0x124)]);}[_0xd61810(0x110)](_0x30bf91,_0x563afb,_0x5d6e26){const _0x477edf=_0xd61810;let _0x552256=this[_0x477edf(0xf1)][_0x477edf(0x18d)](_0x30bf91);if(_0x552256&&_0x552256[_0x477edf(0x16b)](_0x563afb)){let _0x42abdc=_0x552256[_0x477edf(0x18d)](_0x563afb);_0x5d6e26['forEach'](_0xb4013=>{const _0x4cb14e=_0x477edf;let _0x514fd5=_0x42abdc[_0x4cb14e(0x18d)](_0xb4013);_0x514fd5!=null&&(_0x514fd5[_0x4cb14e(0xe1)]((_0x12de43,_0x6da539,_0xbac856)=>{const _0x5ed2b8=_0x4cb14e;this[_0x5ed2b8(0x16d)](_0xbac856),this['_removeAllTreeMap'](_0xbac856);}),_0x42abdc[_0x4cb14e(0x17e)](_0xb4013),this[_0x4cb14e(0x135)][_0x4cb14e(0x17e)](_0xb4013));}),_0x42abdc['size']===0x0&&_0x552256[_0x477edf(0x17e)](_0x563afb),_0x552256[_0x477edf(0xc8)]===0x0&&this[_0x477edf(0xf1)][_0x477edf(0x17e)](_0x30bf91);}}['clearOtherFormulaDependency'](_0x915763,_0x3a8666){const _0x33921f=_0xd61810;let _0x633bd9=this['_otherFormulaData'][_0x33921f(0x18d)](_0x915763);if(_0x3a8666&&_0x633bd9&&_0x633bd9[_0x33921f(0x16b)](_0x3a8666)){let _0x21d4dc=_0x633bd9[_0x33921f(0x18d)](_0x3a8666);this['_removeDependencyRTreeCacheById'](_0x915763,_0x3a8666);for(let _0x3b68e3 of _0x21d4dc[_0x33921f(0x160)]()){let _0xe107f1=_0x21d4dc['get'](_0x3b68e3);_0xe107f1!=null&&(_0xe107f1[_0x33921f(0xe1)]((_0x51196d,_0x59ddfe,_0x416d01)=>{const _0xad968c=_0x33921f;this[_0xad968c(0x156)][_0xad968c(0x18d)](_0x416d01)&&this[_0xad968c(0x12a)](_0x416d01);}),this[_0x33921f(0x135)][_0x33921f(0x17e)](_0x3b68e3));}_0x21d4dc[_0x33921f(0xea)]();}else{if(_0x633bd9){for(let _0x4bd7a5 of _0x633bd9[_0x33921f(0x160)]()){let _0x498255=_0x633bd9[_0x33921f(0x18d)](_0x4bd7a5);this[_0x33921f(0x19f)](_0x915763,_0x4bd7a5);for(let _0x57d025 of _0x498255[_0x33921f(0x160)]()){let _0x54fbe5=_0x498255[_0x33921f(0x18d)](_0x57d025);_0x54fbe5!=null&&(_0x54fbe5[_0x33921f(0xe1)]((_0x17de49,_0x3dd76f,_0x5e330b)=>{const _0x41e7aa=_0x33921f;this['_allTreeMap'][_0x41e7aa(0x18d)](_0x5e330b)&&this[_0x41e7aa(0x12a)](_0x5e330b);}),this[_0x33921f(0x135)]['delete'](_0x57d025));}}this['_otherFormulaData']['delete'](_0x915763);}}}[_0xd61810(0x18b)](_0x1a7941,_0x32a3a4,_0x4b3b3a,_0x32d26b){const _0x40fe1f=_0xd61810;this[_0x40fe1f(0x15a)][_0x40fe1f(0x16b)](_0x1a7941)||this['_featureFormulaData'][_0x40fe1f(0xd3)](_0x1a7941,new Map());let _0x2d9fa1=this[_0x40fe1f(0x15a)][_0x40fe1f(0x18d)](_0x1a7941);_0x2d9fa1[_0x40fe1f(0x16b)](_0x32a3a4)||_0x2d9fa1['set'](_0x32a3a4,new Map()),_0x2d9fa1[_0x40fe1f(0x18d)](_0x32a3a4)[_0x40fe1f(0xd3)](_0x4b3b3a,_0x32d26b[_0x40fe1f(0x124)]);}[_0xd61810(0xd5)](_0x33d541,_0x808979,_0x343f34){const _0x353da5=_0xd61810;let _0x109a0d=this[_0x353da5(0x15a)][_0x353da5(0x18d)](_0x33d541);if(_0x109a0d&&_0x109a0d[_0x353da5(0x16b)](_0x808979)){let _0x4aad31=_0x109a0d[_0x353da5(0x18d)](_0x808979);_0x343f34[_0x353da5(0x170)](_0xe81f32=>{const _0x5b74ee=_0x353da5;let _0x11f4a5=_0x4aad31[_0x5b74ee(0x18d)](_0xe81f32);_0x11f4a5!=null&&(this['_removeDependencyRTreeCache'](_0x11f4a5),_0x4aad31[_0x5b74ee(0x17e)](_0xe81f32),this[_0x5b74ee(0x12a)](_0x11f4a5));});}}['clearFeatureFormulaDependency'](_0x2ebe77,_0x7e3463){const _0xa5c392=_0xd61810;let _0x5d871a=this[_0xa5c392(0x15a)][_0xa5c392(0x18d)](_0x2ebe77);if(_0x7e3463&&_0x5d871a&&_0x5d871a[_0xa5c392(0x16b)](_0x7e3463)){let _0x32eb82=_0x5d871a[_0xa5c392(0x18d)](_0x7e3463);this['_removeDependencyRTreeCacheById'](_0x2ebe77,_0x7e3463),_0x32eb82['forEach'](_0x34470f=>{const _0x555c32=_0xa5c392;_0x34470f!=null&&this[_0x555c32(0x12a)](_0x34470f);}),_0x32eb82[_0xa5c392(0xea)]();}else _0x5d871a&&(_0x5d871a[_0xa5c392(0x170)]((_0x220124,_0x490700)=>{const _0x126951=_0xa5c392;this[_0x126951(0x19f)](_0x2ebe77,_0x490700),_0x220124[_0x126951(0x170)](_0x43e36f=>{const _0x546a8b=_0x126951;_0x43e36f!=null&&this[_0x546a8b(0x12a)](_0x43e36f);});}),this[_0xa5c392(0x15a)][_0xa5c392(0x17e)](_0x2ebe77));}[_0xd61810(0x17f)](_0x57f819,_0x512ef9,_0x1f66a3,_0x13b7d3,_0x459f19){const _0x418565=_0xd61810;this['_formulaData'][_0x418565(0x16b)](_0x57f819)||this[_0x418565(0xe7)][_0x418565(0xd3)](_0x57f819,new Map());let _0x106850=this[_0x418565(0xe7)][_0x418565(0x18d)](_0x57f819);_0x106850['has'](_0x512ef9)||_0x106850[_0x418565(0xd3)](_0x512ef9,new _0x71d505()),_0x106850['get'](_0x512ef9)[_0x418565(0x183)](_0x1f66a3,_0x13b7d3,_0x459f19[_0x418565(0x124)]);}[_0xd61810(0x17a)](_0xb17863,_0x5208b8,_0x445fc4,_0x5889a7){const _0x1c0495=_0xd61810;let _0x294191=this[_0x1c0495(0xe7)][_0x1c0495(0x18d)](_0xb17863);if(_0x294191&&_0x294191['has'](_0x5208b8)){let _0x498bf1=_0x294191[_0x1c0495(0x18d)](_0x5208b8),_0x43d5ec=_0x498bf1[_0x1c0495(0x139)](_0x445fc4,_0x5889a7);if(_0x43d5ec==null)return;this[_0x1c0495(0x16d)](_0x43d5ec),_0x498bf1[_0x1c0495(0xf4)](_0x445fc4,_0x5889a7),this[_0x1c0495(0x12a)](_0x43d5ec);}}[_0xd61810(0x187)](_0x24088b,_0x2374c0){const _0x2b00ba=_0xd61810;let _0x5925b5=this[_0x2b00ba(0xe7)]['get'](_0x24088b);if(_0x2374c0&&_0x5925b5&&_0x5925b5[_0x2b00ba(0x16b)](_0x2374c0)){let _0x1379c5=_0x5925b5[_0x2b00ba(0x18d)](_0x2374c0);this[_0x2b00ba(0x19f)](_0x24088b,_0x2374c0),_0x1379c5[_0x2b00ba(0xe1)]((_0x17cf9d,_0x5c8c86,_0x517db9)=>{const _0x31757c=_0x2b00ba;if(_0x517db9==null)return!0x0;this[_0x31757c(0x12a)](_0x517db9);}),_0x1379c5[_0x2b00ba(0x16a)]();}else _0x5925b5&&(_0x5925b5[_0x2b00ba(0x170)]((_0x2a731a,_0xa4b44d)=>{const _0x1c864d=_0x2b00ba;this[_0x1c864d(0x19f)](_0x24088b,_0xa4b44d),_0x2a731a[_0x1c864d(0xe1)]((_0x2c6248,_0x4a4ded,_0x1e6c0b)=>{const _0xed7589=_0x1c864d;if(_0x1e6c0b==null)return!0x0;this[_0xed7589(0x12a)](_0x1e6c0b);});}),this[_0x2b00ba(0xe7)][_0x2b00ba(0x17e)](_0x24088b));}[_0xd61810(0x16d)](_0x575ea7){const _0x4e1686=_0xd61810;if(_0x575ea7==null)return;let _0x4a7877=this[_0x4e1686(0x156)][_0x4e1686(0x18d)](_0x575ea7);if(_0x4a7877){let _0x35d06d=[];for(let [_0x35a9ee,_0x38e35f]of _0x4a7877)for(let [_0x316b1f,_0x17f2d6]of _0x38e35f)_0x35d06d[_0x4e1686(0x146)]({'unitId':_0x35a9ee,'sheetId':_0x316b1f,'range':_0x17f2d6,'id':_0x575ea7});this['_dependencyRTreeCache']['bulkRemove'](_0x35d06d);}}['removeFormulaDependencyByDefinedName'](_0x259033,_0x690646){const _0x5bfdb2=_0xd61810;let _0x55f9cf=this[_0x5bfdb2(0x10a)][_0x5bfdb2(0x18d)](_0x259033);if(_0x55f9cf){let _0x2382b8=_0x55f9cf[_0x5bfdb2(0x18d)](_0x690646);if(_0x2382b8){for(let _0x3c60a3 of _0x2382b8)this['_removeDependencyRTreeCache'](_0x3c60a3),this[_0x5bfdb2(0x12a)](_0x3c60a3);_0x2382b8['clear']();}}}[_0xd61810(0xd8)](){const _0x2294bb=_0xd61810;this[_0x2294bb(0xbe)]['openKdTree']();}[_0xd61810(0x179)](){const _0x1acf67=_0xd61810;this[_0x1acf67(0xbe)]['closeKdTree']();}[_0xd61810(0x12a)](_0x160046){const _0x48f333=_0xd61810;_0x160046!=null&&this['_allTreeMap'][_0x48f333(0x17e)](_0x160046);}[_0xd61810(0xfd)](_0x4b53ed){const _0x3523ef=_0xd61810;let _0x5a33f8=_0x4b53ed[_0x3523ef(0x106)],_0x40dac2=this[_0x3523ef(0x156)][_0x3523ef(0x18d)](_0x4b53ed[_0x3523ef(0x124)]);for(let _0x2dfe1b=0x0;_0x2dfe1b<_0x5a33f8[_0x3523ef(0x111)];_0x2dfe1b++){var _0x5168cb,_0x5da8de;let {unitId:_0x44d825,sheetId:_0x34f76e,range:_0x1dfa0a}=_0x5a33f8[_0x2dfe1b];_0x40dac2||(_0x40dac2=new Map(),this[_0x3523ef(0x156)][_0x3523ef(0xd3)](_0x4b53ed[_0x3523ef(0x124)],_0x40dac2)),_0x40dac2['has'](_0x44d825)||_0x40dac2[_0x3523ef(0xd3)](_0x44d825,new Map());let _0x469356=_0x40dac2==null||(_0x5168cb=_0x40dac2[_0x3523ef(0x18d)](_0x44d825))==null?void 0x0:_0x5168cb[_0x3523ef(0x18d)](_0x34f76e);_0x469356&&(_0x1dfa0a={'startRow':Math[_0x3523ef(0x155)](_0x1dfa0a[_0x3523ef(0x18f)],_0x469356[_0x3523ef(0x18f)]),'startColumn':Math[_0x3523ef(0x155)](_0x1dfa0a[_0x3523ef(0xbd)],_0x469356['startColumn']),'endRow':Math[_0x3523ef(0x122)](_0x1dfa0a['endRow'],_0x469356[_0x3523ef(0x18c)]),'endColumn':Math[_0x3523ef(0x122)](_0x1dfa0a[_0x3523ef(0xfc)],_0x469356[_0x3523ef(0xfc)])}),(_0x5da8de=_0x40dac2[_0x3523ef(0x18d)](_0x44d825))==null||_0x5da8de[_0x3523ef(0xd3)](_0x34f76e,_0x1dfa0a);}}};function Z(_0x525fa2,_0x121e96,_0x4aded2,_0x47a833){const _0x9fe7a5=_0xd61810;var _0x2f52e0=arguments[_0x9fe7a5(0x111)],_0x1fdac9=_0x2f52e0<0x3?_0x121e96:_0x47a833===null?_0x47a833=Object[_0x9fe7a5(0xca)](_0x121e96,_0x4aded2):_0x47a833,_0x28c789;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x9fe7a5(0x159))_0x1fdac9=Reflect[_0x9fe7a5(0x158)](_0x525fa2,_0x121e96,_0x4aded2,_0x47a833);else{for(var _0x15ddc1=_0x525fa2[_0x9fe7a5(0x111)]-0x1;_0x15ddc1>=0x0;_0x15ddc1--)(_0x28c789=_0x525fa2[_0x15ddc1])&&(_0x1fdac9=(_0x2f52e0<0x3?_0x28c789(_0x1fdac9):_0x2f52e0>0x3?_0x28c789(_0x121e96,_0x4aded2,_0x1fdac9):_0x28c789(_0x121e96,_0x4aded2))||_0x1fdac9);}return _0x2f52e0>0x3&&_0x1fdac9&&Object['defineProperty'](_0x121e96,_0x4aded2,_0x1fdac9),_0x1fdac9;}const Q=Number['parseInt'](0x69ba7028);let $=class extends _0x680b47{[_0xd61810(0xc0)](){const _0x14cbc8=_0xd61810;if(this[_0x14cbc8(0x199)]()){var _0x512240;this[_0x14cbc8(0x177)][_0x14cbc8(0x151)]([_0x4d480c,{'useClass':G}]),(_0x512240=this[_0x14cbc8(0x19e)])!=null&&_0x512240[_0x14cbc8(0xce)]||[[_0x273a26,{'useClass':Y}],[_0x3c4968,{'useClass':X}],[_0x457982,{'useClass':J}]][_0x14cbc8(0x170)](_0x3b403f=>this['_injector'][_0x14cbc8(0x151)](_0x3b403f));}else{var _0x526dd7;this[_0x14cbc8(0x177)][_0x14cbc8(0x151)]([_0x4d480c,{'useClass':_0x4d480c}]),(_0x526dd7=this[_0x14cbc8(0x19e)])!=null&&_0x526dd7[_0x14cbc8(0xce)]||[[_0x273a26,{'useClass':_0x5a2081}],[_0x3c4968,{'useClass':_0x511308}],[_0x457982,{'useClass':_0x522b32}]]['forEach'](_0x56bd5c=>this[_0x14cbc8(0x177)][_0x14cbc8(0x151)](_0x56bd5c));}}[_0xd61810(0x199)](){const _0x41b182=_0xd61810;var _0x52fac4;let {ls:_0x54d1fc,pbk:_0x198fa2}=(_0x52fac4=this['_configService']['getConfig'](_0x1e4e3a))==null?{}:_0x52fac4;if(!_0x54d1fc||!_0x198fa2)return!0x1;let _0x39b23d=_0x2b23c4(_0x54d1fc,_0x198fa2),_0x104217=_0x39b23d[_0x41b182(0x19b)];return _0x39b23d[_0x41b182(0x13a)]&&_0x19ede0(_0x104217,'sf',Q)?_0x4a29a2(_0x104217,!0x0,'a',!0x0,!0x1,!0x1):!0x1;}};U($,'packageName',K),U($,'version',q),$=Z([_0x2f7c51(_0x5edf7e)],$);export{G as LexerTreeProBuilder,$ as UniverProFormulaEnginePlugin};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Nullable } from '@univerjs/core';
|
|
2
|
-
import { IFeatureCalculationManagerParam, IFormulaData, IFormulaDataItem, IFormulaDependencyTree, IOtherFormulaData, IUnitData
|
|
1
|
+
import type { Nullable } from '@univerjs/core';
|
|
2
|
+
import type { IFeatureCalculationManagerParam, IFormulaData, IFormulaDataItem, IFormulaDependencyTree, IOtherFormulaData, IUnitData } from '@univerjs/engine-formula';
|
|
3
|
+
import { FormulaDependencyGenerator, FormulaDependencyTree, FormulaDependencyTreeVirtual } from '@univerjs/engine-formula';
|
|
3
4
|
export declare class FormulaDependencyProGenerator extends FormulaDependencyGenerator {
|
|
4
5
|
protected _dependencyTreeCache: Map<number, IFormulaDependencyTree>;
|
|
5
6
|
dispose(): void;
|
|
@@ -16,7 +17,7 @@ export declare class FormulaDependencyProGenerator extends FormulaDependencyGene
|
|
|
16
17
|
*/
|
|
17
18
|
protected _getUpdateTreeListAndMakeDependency(): IFormulaDependencyTree[];
|
|
18
19
|
protected _getTreeById(treeId: number): IFormulaDependencyTree | undefined;
|
|
19
|
-
protected _getTreeNode(tree: IFormulaDependencyTree): import(
|
|
20
|
+
protected _getTreeNode(tree: IFormulaDependencyTree): import("@univerjs/engine-formula/engine/ast-node/ast-root-node.js").AstRootNode;
|
|
20
21
|
private _traverse;
|
|
21
22
|
protected _calculateRunList(treeList: IFormulaDependencyTree[]): (FormulaDependencyTree | FormulaDependencyTreeVirtual)[];
|
|
22
23
|
protected _getAllTreeList(): Promise<IFormulaDependencyTree[]>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Nullable } from '@univerjs/core';
|
|
2
|
-
import { IDefinedNamesServiceParam, IExprTreeNode, IFunctionNames, ISuperTable
|
|
1
|
+
import type { Nullable } from '@univerjs/core';
|
|
2
|
+
import type { IDefinedNamesServiceParam, IExprTreeNode, IFunctionNames, ISuperTable } from '@univerjs/engine-formula';
|
|
3
|
+
import { LexerTreeBuilder } from '@univerjs/engine-formula';
|
|
3
4
|
export declare class LexerTreeProBuilder extends LexerTreeBuilder {
|
|
4
5
|
private _hasNewExcelFunction;
|
|
5
6
|
private _lambdaFunctionParameterSet;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { CalculateFormulaService } from '@univerjs/engine-formula';
|
|
2
2
|
export declare class CalculateFormulaProService extends CalculateFormulaService {
|
|
3
|
-
protected _apply(isArrayFormulaState?: boolean): Promise<import(
|
|
3
|
+
protected _apply(isArrayFormulaState?: boolean): Promise<import("@univerjs/engine-formula").IAllRuntimeData | undefined>;
|
|
4
4
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { IRange, Nullable
|
|
2
|
-
import { FormulaDependencyTree, IFormulaDependencyTree
|
|
1
|
+
import type { IRange, Nullable } from '@univerjs/core';
|
|
2
|
+
import type { FormulaDependencyTree, IFormulaDependencyTree } from '@univerjs/engine-formula';
|
|
3
|
+
import { RTree } from '@univerjs/core';
|
|
4
|
+
import { DependencyManagerBaseService } from '@univerjs/engine-formula';
|
|
3
5
|
export declare class DependencyManagerProService extends DependencyManagerBaseService {
|
|
4
6
|
protected _allTreeMap: Map<number, Map<string, Map<string, IRange>>>;
|
|
5
7
|
protected _dependencyRTreeCache: RTree;
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1575(_0x593f6e,_0x521d9f){_0x593f6e=_0x593f6e-0x173;var _0x53970f=_0x5397();var _0x157524=_0x53970f[_0x593f6e];return _0x157524;}function _0x5397(){var _0x5bac9f=['Module','function','1574919yoTQcT','8dbHTMu','defineProperty','69SQYoDH','UniverEngineFormulaFacade','exports','5901340STtAEA','amd','FFormula','toStringTag','98844wlLItS','561492jafYVU','2wlZjuI','5CmzIoh','object','1243356FOcCAZ','1483356yqtUra'];_0x5397=function(){return _0x5bac9f;};return _0x5397();}(function(_0x182b3b,_0x536b12){var _0x56c2e8=_0x1575,_0x1202c6=_0x182b3b();while(!![]){try{var _0x18a8ee=-parseInt(_0x56c2e8(0x17d))/0x1+-parseInt(_0x56c2e8(0x17f))/0x2*(-parseInt(_0x56c2e8(0x176))/0x3)+-parseInt(_0x56c2e8(0x17e))/0x4+-parseInt(_0x56c2e8(0x180))/0x5*(parseInt(_0x56c2e8(0x182))/0x6)+-parseInt(_0x56c2e8(0x183))/0x7+parseInt(_0x56c2e8(0x174))/0x8*(parseInt(_0x56c2e8(0x173))/0x9)+parseInt(_0x56c2e8(0x179))/0xa;if(_0x18a8ee===_0x536b12)break;else _0x1202c6['push'](_0x1202c6['shift']());}catch(_0x55f48c){_0x1202c6['push'](_0x1202c6['shift']());}}}(_0x5397,0x1a12d),function(_0x39e743,_0x1442ca){var _0x5d4c22=_0x1575;typeof exports==_0x5d4c22(0x181)&&typeof module<'u'?_0x1442ca(exports,require(`@univerjs/engine-formula/facade`)):typeof define==_0x5d4c22(0x185)&&define[_0x5d4c22(0x17a)]?define([_0x5d4c22(0x178),'@univerjs/engine-formula/facade'],_0x1442ca):(_0x39e743=typeof globalThis<'u'?globalThis:_0x39e743||self,_0x1442ca(_0x39e743['UniverProEngineFormulaFacade']={},_0x39e743[_0x5d4c22(0x177)]));}(this,function(_0x7c995c,_0x2168eb){var _0x146654=_0x1575;Object[_0x146654(0x175)](_0x7c995c,Symbol[_0x146654(0x17c)],{'value':_0x146654(0x184)}),Object['defineProperty'](_0x7c995c,_0x146654(0x17b),{'enumerable':!0x0,'get':function(){return _0x2168eb['FFormula'];}});}));
|