@univerjs-pro/sheets-mcp 0.19.0 → 0.21.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/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +11 -11
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2b18(_0x2fc54b,_0x35df6b){_0x2fc54b=_0x2fc54b-0x192;const _0xc6f886=_0xc6f8();let _0x2b185d=_0xc6f886[_0x2fc54b];return _0x2b185d;}function _0xc6f8(){const _0x3be9ad=['length','startRow','ISizeUsageAnalyzer','2430321KgkkwJ','1746OnlrOr','dataStream','getSheetBySheetId','searchCells','getCellMatrix','firstOccurrence','getSheetId','filledRanges','55cpScKh','getLintErrors','push','getRectArea','getCell','trim','serializeRangeWithSheet','getValue','@univerjs-pro/sheets-mcp','_isMatch','IFormulaUsageAnalyzer','getColumnManager','940048wFJJiR','@univerjs/sheets-data-validation/facade','getRowHeight','displayValue','toA1','getAllFormulaError','getFormulaStringByCell','warn','getName','UniverSheetsFormulaFacade','getSheets','startColumn','getSizeUsagesAsA1','forValue','_workbook','styleToA1','4016090nYuIsz','moveFormulaRefOffset','getCellDataGrid','toString','FWorkbook','getAllFormulaUsages','body','updateConfig','getAllSizeUsages','indexOf','@univerjs/sheets-formula/facade','getMaxColumns','every','endColumn','FUniver','getFormulaUsagesAsA1','rawValue','_collectRectAreaData','extend','UniverProSheetsMcp','getStyleUsages','function','_worksheet','9AOgRhB','toLowerCase','UniverSheetsFacade','_formulaDataModel','defineProperty','FRange','Sheet\x20with\x20ID\x20','_injector','IStyleUsageAnalyzer','includes','4325ddVOKi','map','getActiveWorkbook','getWorkbook','getCellRaw','some','UniverSheetsDataValidationFacade','18768vPaYfd','getRange','endRow','UniverCore','FormulaDataModel','object','formulaToA1','@univerjs/core/facade','AND','285040tVPnNv','getFormulaUsages','_initialize','_cellMatchesSearch','getSizeUsages','getIntersectRange','get','formula','getStyleUsagesAsA1','getMaxRows','amd','getAllStyleUsages','8662241lbFbBh','52njUwSF','filter','getUnitId','\x20not\x20found.\x20Skipping.'];_0xc6f8=function(){return _0x3be9ad;};return _0xc6f8();}(function(_0x1be70a,_0x3a089a){const _0x2d3865=_0x2b18,_0x46f37b=_0x1be70a();while(!![]){try{const _0x33da5b=-parseInt(_0x2d3865(0x1f6))/0x1*(parseInt(_0x2d3865(0x1a2))/0x2)+parseInt(_0x2d3865(0x1a9))/0x3+-parseInt(_0x2d3865(0x195))/0x4+parseInt(_0x2d3865(0x1ef))/0x5*(-parseInt(_0x2d3865(0x1aa))/0x6)+-parseInt(_0x2d3865(0x1a1))/0x7+-parseInt(_0x2d3865(0x1be))/0x8*(parseInt(_0x2d3865(0x1e5))/0x9)+parseInt(_0x2d3865(0x1ce))/0xa*(parseInt(_0x2d3865(0x1b2))/0xb);if(_0x33da5b===_0x3a089a)break;else _0x46f37b['push'](_0x46f37b['shift']());}catch(_0x28969e){_0x46f37b['push'](_0x46f37b['shift']());}}}(_0xc6f8,0x9f3d0),function(_0x3b2284,_0x14e405){const _0x2af385=_0x2b18;typeof exports==_0x2af385(0x1fb)&&typeof module<'u'?_0x14e405(require(`@univerjs/core/facade`),require(`@univerjs/sheets-formula/facade`),require(`@univerjs/sheets-data-validation/facade`),require(`@univerjs/sheets/facade`),require(`@univerjs/engine-formula`),require(`@univerjs-pro/sheets-mcp`),require(`@univerjs/core`)):typeof define==_0x2af385(0x1e3)&&define[_0x2af385(0x19f)]?define([_0x2af385(0x193),_0x2af385(0x1d8),_0x2af385(0x1bf),'@univerjs/sheets/facade','@univerjs/engine-formula',_0x2af385(0x1ba),'@univerjs/core'],_0x14e405):(_0x3b2284=typeof globalThis<'u'?globalThis:_0x3b2284||self,_0x14e405(_0x3b2284['UniverCoreFacade'],_0x3b2284[_0x2af385(0x1c7)],_0x3b2284[_0x2af385(0x1f5)],_0x3b2284[_0x2af385(0x1e7)],_0x3b2284['UniverEngineFormula'],_0x3b2284[_0x2af385(0x1e1)],_0x3b2284[_0x2af385(0x1f9)]));}(this,function(_0x1c646b,_0x22a69b,_0x13b7b1,_0x4b8e7a,_0x36ddf6,_0x49b297,_0x7003a4){const _0x377309=_0x2b18;var _0x3564c6=class extends _0x1c646b[_0x377309(0x1dc)]{async[_0x377309(0x1b3)](){const _0x13c588=_0x377309;return this[_0x13c588(0x1f1)]()['getLintErrors']();}};_0x1c646b['FUniver'][_0x377309(0x1e0)](_0x3564c6);var _0x17242f=class extends _0x4b8e7a['FWorkbook']{[_0x377309(0x197)](){const _0x1609a9=_0x377309;Object[_0x1609a9(0x1e9)](this,_0x1609a9(0x1e8),{'get'(){const _0x18ca35=_0x1609a9;return this[_0x18ca35(0x1ec)]['get'](_0x36ddf6[_0x18ca35(0x1fa)]);}});}[_0x377309(0x1ad)](_0x2489c1,_0x2f7369={}){const _0x2b9262=_0x377309;let {caseSensitive:_0x5a6228=!0x1,matchEntireCell:_0x34f28a=!0x1,specificRanges:_0x23952f,specificTypes:_0x56f507,searchMultipleTextsCondition:_0x334853='OR'}=_0x2f7369,_0x598f3e=(Array['isArray'](_0x2489c1)?_0x2489c1:[_0x2489c1])[_0x2b9262(0x1f0)](_0x295571=>_0x295571[_0x2b9262(0x1b7)]())[_0x2b9262(0x1a3)](_0x5d02e7=>_0x5d02e7);if(_0x5a6228||(_0x598f3e=_0x598f3e[_0x2b9262(0x1f0)](_0x11fe35=>_0x11fe35[_0x2b9262(0x1e6)]())),_0x598f3e[_0x2b9262(0x1a6)]===0x0)return[];let _0x231cb8={'caseSensitive':_0x5a6228,'matchEntireCell':_0x34f28a,'searchMultipleTextsCondition':_0x334853,'isSearchByRawValue':!_0x56f507||_0x56f507['includes'](_0x2b9262(0x1de)),'isSearchByDisplayValue':!_0x56f507||_0x56f507['includes'](_0x2b9262(0x1c1)),'isSearchByFormula':!_0x56f507||_0x56f507[_0x2b9262(0x1ee)](_0x2b9262(0x19c))},_0x16bebc=this[_0x2b9262(0x1f2)](),_0x55568c=[];if(_0x23952f)for(let {sheetId:_0xe66412,ranges:_0x30a7f5}of _0x23952f){let _0x25cc5b=_0x16bebc[_0x2b9262(0x1ac)](_0xe66412);if(!_0x25cc5b){console[_0x2b9262(0x1c5)](_0x2b9262(0x1eb)+_0xe66412+_0x2b9262(0x1a5));continue;}let _0x106692=_0x25cc5b[_0x2b9262(0x1ae)]();if(_0x30a7f5&&_0x30a7f5[_0x2b9262(0x1a6)]>0x0){for(let _0x1b75ac of _0x30a7f5)for(let _0x393814=_0x1b75ac[_0x2b9262(0x1a7)];_0x393814<=_0x1b75ac[_0x2b9262(0x1f8)];_0x393814++)for(let _0x5e08f6=_0x1b75ac[_0x2b9262(0x1c9)];_0x5e08f6<=_0x1b75ac[_0x2b9262(0x1db)];_0x5e08f6++){let _0x2da115=_0x106692[_0x2b9262(0x1b9)](_0x393814,_0x5e08f6);if(!_0x2da115)continue;let _0x19711c=this[_0x2b9262(0x198)](_0x2da115,_0x598f3e,{..._0x231cb8,'worksheet':_0x25cc5b,'row':_0x393814,'col':_0x5e08f6});_0x19711c&&_0x55568c[_0x2b9262(0x1b4)]({..._0x19711c,'sheetId':_0x25cc5b[_0x2b9262(0x1b0)]()});}}else _0x106692['forValue']((_0x31736a,_0xe317e9,_0x5f5355)=>{const _0x4c80ba=_0x2b9262;if(_0x5f5355){let _0x473ea3=this[_0x4c80ba(0x198)](_0x5f5355,_0x598f3e,{..._0x231cb8,'worksheet':_0x25cc5b,'row':_0x31736a,'col':_0xe317e9});_0x473ea3&&_0x55568c['push']({..._0x473ea3,'sheetId':_0x25cc5b['getSheetId']()});}});}else{let _0x1cd278=_0x16bebc[_0x2b9262(0x1c8)]();for(let _0x16da06 of _0x1cd278)_0x16da06[_0x2b9262(0x1ae)]()[_0x2b9262(0x1cb)]((_0x9f3464,_0x5df3b1,_0x2890aa)=>{const _0x5c217f=_0x2b9262;if(_0x2890aa){let _0x243982=this[_0x5c217f(0x198)](_0x2890aa,_0x598f3e,{..._0x231cb8,'worksheet':_0x16da06,'row':_0x9f3464,'col':_0x5df3b1});_0x243982&&_0x55568c['push']({..._0x243982,'sheetId':_0x16da06['getSheetId']()});}});}return _0x55568c;}[_0x377309(0x198)](_0x2d8828,_0x26eb18,_0x31b260){const _0x3359a5=_0x377309;let {caseSensitive:_0xf2f95e,matchEntireCell:_0x5b4ae9,searchMultipleTextsCondition:_0x1758c7,isSearchByRawValue:_0x10089b,isSearchByDisplayValue:_0x4efef5,isSearchByFormula:_0x43f416,worksheet:_0x2a1b3f,row:_0x179ad5,col:_0x3ccf82}=_0x31b260;if(_0x10089b){var _0x1436e6;let _0x467159=((_0x1436e6=_0x2d8828['p'])==null||(_0x1436e6=_0x1436e6['body'])==null?void 0x0:_0x1436e6['dataStream'])||_0x2d8828['v'];if(_0x467159){let _0x1ed0ca=_0xf2f95e?_0x467159['toString']():_0x467159[_0x3359a5(0x1d1)]()['toLowerCase']();if(this[_0x3359a5(0x1bb)](_0x1ed0ca,_0x26eb18,_0x5b4ae9,_0x1758c7))return{'row':_0x179ad5,'col':_0x3ccf82,'reference':(0x0,_0x36ddf6[_0x3359a5(0x1b8)])(_0x2a1b3f[_0x3359a5(0x1c6)](),{'startRow':_0x179ad5,'endRow':_0x179ad5,'startColumn':_0x3ccf82,'endColumn':_0x3ccf82}),'cellData':{..._0x2d8828,'rawValue':_0x467159}};}}if(_0x43f416&&(_0x2d8828['f']||_0x2d8828['si'])){let _0x5aa027=this[_0x3359a5(0x1e8)][_0x3359a5(0x1c4)](_0x179ad5,_0x3ccf82,_0x2a1b3f[_0x3359a5(0x1b0)](),this['getWorkbook']()[_0x3359a5(0x1a4)]());if(_0x5aa027){let _0x386f1e=_0xf2f95e?_0x5aa027:_0x5aa027[_0x3359a5(0x1e6)]();if(this[_0x3359a5(0x1bb)](_0x386f1e,_0x26eb18,_0x5b4ae9,_0x1758c7))return{'row':_0x179ad5,'col':_0x3ccf82,'reference':(0x0,_0x36ddf6['serializeRangeWithSheet'])(_0x2a1b3f[_0x3359a5(0x1c6)](),{'startRow':_0x179ad5,'endRow':_0x179ad5,'startColumn':_0x3ccf82,'endColumn':_0x3ccf82}),'cellData':{..._0x2d8828,'formulaString':_0x5aa027}};}}if(_0x4efef5){var _0x526792;let _0x5851ce=(_0x526792=_0x2d8828['p'])==null||(_0x526792=_0x526792[_0x3359a5(0x1d4)])==null?void 0x0:_0x526792[_0x3359a5(0x1ab)];if(!_0x5851ce){var _0x21fedf;_0x5851ce=(_0x21fedf=_0x2a1b3f[_0x3359a5(0x1b6)](_0x179ad5,_0x3ccf82))==null?void 0x0:_0x21fedf['v'];}if(_0x5851ce){let _0x458a58=_0xf2f95e?_0x5851ce['toString']():_0x5851ce[_0x3359a5(0x1d1)]()[_0x3359a5(0x1e6)]();if(this[_0x3359a5(0x1bb)](_0x458a58,_0x26eb18,_0x5b4ae9,_0x1758c7))return{'row':_0x179ad5,'col':_0x3ccf82,'reference':(0x0,_0x36ddf6[_0x3359a5(0x1b8)])(_0x2a1b3f[_0x3359a5(0x1c6)](),{'startRow':_0x179ad5,'endRow':_0x179ad5,'startColumn':_0x3ccf82,'endColumn':_0x3ccf82}),'cellData':{..._0x2d8828,'displayValue':_0x5851ce[_0x3359a5(0x1d1)]()}};}}return!0x1;}[_0x377309(0x1bb)](_0x56d712,_0x49f9a1,_0x5a5763,_0x58a5c6){const _0x564ab9=_0x377309;return _0x49f9a1[_0x564ab9(0x1a6)]>0x1&&_0x58a5c6===_0x564ab9(0x194)?_0x49f9a1[_0x564ab9(0x1da)](_0x598deb=>_0x5a5763?_0x56d712===_0x598deb:_0x56d712[_0x564ab9(0x1d7)](_0x598deb)>-0x1):_0x49f9a1[_0x564ab9(0x1f4)](_0x2390f7=>_0x5a5763?_0x56d712===_0x2390f7:_0x56d712[_0x564ab9(0x1d7)](_0x2390f7)>-0x1);}};_0x4b8e7a[_0x377309(0x1d2)][_0x377309(0x1e0)](_0x17242f);var _0x28935c=class extends _0x4b8e7a[_0x377309(0x1d2)]{async[_0x377309(0x1b3)](){const _0x39e4b5=_0x377309;return{'formulaErrors':this[_0x39e4b5(0x1c3)](),'dataValidationErrors':await this['getAllDataValidationErrorAsync']()};}};_0x4b8e7a[_0x377309(0x1d2)][_0x377309(0x1e0)](_0x28935c);var _0x70034=class extends _0x4b8e7a['FWorksheet']{async['getFormulaUsages'](){const _0x2bd3e1=_0x377309;let _0x3bb3d5=this[_0x2bd3e1(0x1ec)][_0x2bd3e1(0x19b)](_0x49b297[_0x2bd3e1(0x1bc)]),_0x264e12=this[_0x2bd3e1(0x1f7)](0x0,0x0,this[_0x2bd3e1(0x19e)](),this[_0x2bd3e1(0x1d9)]())[_0x2bd3e1(0x1d0)]();return await _0x3bb3d5[_0x2bd3e1(0x1d3)](_0x264e12);}async['getFormulaUsagesAsA1'](){const _0x3c2d8d=_0x377309;return(await this[_0x3c2d8d(0x196)]())[_0x3c2d8d(0x1f0)](_0x49b297['formulaToA1']);}[_0x377309(0x1e2)](_0x3c91c8){const _0x18fe41=_0x377309;let _0xb1b1ef=this[_0x18fe41(0x1ec)][_0x18fe41(0x19b)](_0x49b297[_0x18fe41(0x1ed)]),_0x414f36=this[_0x18fe41(0x1f7)](0x0,0x0,this['getMaxRows'](),this[_0x18fe41(0x1d9)]())['getCellDataGrid']();return _0xb1b1ef[_0x18fe41(0x1d5)](_0x3c91c8),_0xb1b1ef[_0x18fe41(0x1a0)](_0x414f36,this[_0x18fe41(0x1cc)],this['_worksheet']);}[_0x377309(0x19d)](_0x13d925){const _0x36e213=_0x377309;return this[_0x36e213(0x1e2)](_0x13d925)[_0x36e213(0x1f0)](_0x49b297[_0x36e213(0x1cd)]);}[_0x377309(0x199)](_0x5ad707){const _0x395540=_0x377309;let _0x9c27e2=this[_0x395540(0x1ec)][_0x395540(0x19b)](_0x49b297[_0x395540(0x1a8)]);return _0x9c27e2[_0x395540(0x1d5)](_0x5ad707),_0x9c27e2[_0x395540(0x1d6)](this['_worksheet']);}[_0x377309(0x1ca)](_0x38df43){const _0x5ee4cc=_0x377309;let _0x36291d=this[_0x5ee4cc(0x1ec)][_0x5ee4cc(0x19b)](_0x49b297[_0x5ee4cc(0x1a8)]);_0x36291d[_0x5ee4cc(0x1d5)](_0x38df43);let _0x2c1548=_0x36291d[_0x5ee4cc(0x1d6)](this['_worksheet']);return _0x36291d[_0x5ee4cc(0x1c2)](_0x2c1548);}};_0x4b8e7a['FWorksheet']['extend'](_0x70034);var _0x611e13=class extends _0x4b8e7a['FRange']{['_collectRectAreaData'](_0x841cfc){const _0x50fc78=_0x377309;var _0xc7659b;let _0x408003=(_0xc7659b=_0x841cfc==null?void 0x0:_0x841cfc['visibleOnly'])==null?!0x0:_0xc7659b,_0x14a38b=this[_0x50fc78(0x1f7)](),_0x489ef0=this[_0x50fc78(0x1e4)]['getRowManager'](),_0x1345a9=this[_0x50fc78(0x1e4)][_0x50fc78(0x1bd)](),_0x27644b={},_0x5490b1=0x0;for(let _0x1734e7=_0x14a38b[_0x50fc78(0x1a7)];_0x1734e7<=_0x14a38b['endRow'];_0x1734e7++){let _0x53f68b=_0x489ef0[_0x50fc78(0x1c0)](_0x1734e7),_0x13bf8=!_0x408003||this[_0x50fc78(0x1e4)]['getRowVisible'](_0x1734e7)?_0x53f68b:0x0;_0x5490b1+=_0x13bf8,_0x27644b[_0x1734e7]={'h':_0x13bf8};}let _0x13aec0={},_0x5dbde8=0x0;for(let _0x260925=_0x14a38b[_0x50fc78(0x1c9)];_0x260925<=_0x14a38b[_0x50fc78(0x1db)];_0x260925++){let _0x120d19=_0x1345a9['getColumnWidth'](_0x260925),_0x16fa5e=!_0x408003||this['_worksheet']['getColVisible'](_0x260925)?_0x120d19:0x0;_0x5dbde8+=_0x16fa5e,_0x13aec0[_0x260925]={'w':_0x16fa5e};}return{'w':_0x5dbde8,'h':_0x5490b1,'rowData':_0x27644b,'columnData':_0x13aec0};}async['getFormulaUsages'](){const _0x1b7041=_0x377309;let _0x1d6b67=this['_injector']['get'](_0x49b297[_0x1b7041(0x1bc)]),_0x2119c4=(({startRow:_0x4b4049,endRow:_0x171070,startColumn:_0xa5e260,endColumn:_0x9401fa})=>{const _0x43ff6f=_0x1b7041;let _0x44dcf5=[];for(let _0x3da1c9=_0x4b4049;_0x3da1c9<=_0x171070;_0x3da1c9++){let _0x5021fc=[];for(let _0x2dd981=_0xa5e260;_0x2dd981<=_0x9401fa;_0x2dd981++)_0x5021fc[_0x43ff6f(0x1b4)](this['_worksheet']['getCellRaw'](_0x3da1c9,_0x2dd981));_0x44dcf5['push'](_0x5021fc);}return _0x44dcf5;})({'startRow':0x0,'endRow':this[_0x1b7041(0x1e4)][_0x1b7041(0x19e)](),'startColumn':0x0,'endColumn':this['_worksheet']['getMaxColumns']()}),_0x285e02=await _0x1d6b67[_0x1b7041(0x1d3)](_0x2119c4),_0x4bd852=this[_0x1b7041(0x1f7)](),_0x40107f=[];for(let _0x9b37ed=0x0;_0x9b37ed<_0x285e02[_0x1b7041(0x1a6)];_0x9b37ed++){let _0x481b8a=_0x285e02[_0x9b37ed],_0x5beb8a=_0x481b8a[_0x1b7041(0x1b1)],_0x2db7f7=[];for(let _0x22ae2c=0x0;_0x22ae2c<_0x5beb8a['length'];_0x22ae2c++){let _0x17d530=_0x5beb8a[_0x22ae2c],_0x1c1b01=(0x0,_0x7003a4['getIntersectRange'])(_0x17d530,_0x4bd852);_0x1c1b01&&_0x2db7f7[_0x1b7041(0x1b4)](_0x1c1b01);}if(_0x2db7f7['length']>0x0){if(_0x481b8a[_0x1b7041(0x1b1)]=_0x2db7f7,!(_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1a7)]>=_0x4bd852['startRow']&&_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1a7)]<=_0x4bd852[_0x1b7041(0x1f8)]&&_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1c9)]>=_0x4bd852['startColumn']&&_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1c9)]<=_0x4bd852['endColumn'])){let _0x4ebc68=_0x2db7f7[0x0],_0x508449=_0x4ebc68[_0x1b7041(0x1a7)]-_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1a7)],_0x29364e=_0x4ebc68[_0x1b7041(0x1c9)]-_0x481b8a[_0x1b7041(0x1af)][_0x1b7041(0x1c9)];_0x481b8a['formula']=await _0x1d6b67[_0x1b7041(0x1cf)](_0x481b8a[_0x1b7041(0x19c)],_0x29364e,_0x508449),_0x481b8a[_0x1b7041(0x1af)]={'startRow':_0x4ebc68[_0x1b7041(0x1a7)],'endRow':_0x4ebc68[_0x1b7041(0x1a7)],'startColumn':_0x4ebc68['startColumn'],'endColumn':_0x4ebc68[_0x1b7041(0x1c9)]};}_0x40107f[_0x1b7041(0x1b4)](_0x481b8a);}}return _0x40107f;}async[_0x377309(0x1dd)](){const _0x8b4b3b=_0x377309;return(await this['getFormulaUsages']())['map'](_0x49b297[_0x8b4b3b(0x192)]);}[_0x377309(0x1e2)](_0x1d1259){const _0x126b32=_0x377309;let _0xf629b6=this[_0x126b32(0x1ec)][_0x126b32(0x19b)](_0x49b297['IStyleUsageAnalyzer']),_0x284652=(({startRow:_0x2b54ed,endRow:_0x4dfb8f,startColumn:_0x6293f3,endColumn:_0x1e4b41})=>{const _0xdf45a0=_0x126b32;let _0x20d2cf=[];for(let _0x41eb72=_0x2b54ed;_0x41eb72<=_0x4dfb8f;_0x41eb72++){let _0x3e5a5a=[];for(let _0xe15d47=_0x6293f3;_0xe15d47<=_0x1e4b41;_0xe15d47++)_0x3e5a5a[_0xdf45a0(0x1b4)](this['_worksheet'][_0xdf45a0(0x1f3)](_0x41eb72,_0xe15d47));_0x20d2cf[_0xdf45a0(0x1b4)](_0x3e5a5a);}return _0x20d2cf;})({'startRow':0x0,'endRow':this[_0x126b32(0x1e4)][_0x126b32(0x19e)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x126b32(0x1d9)]()});_0xf629b6[_0x126b32(0x1d5)](_0x1d1259);let _0x240ac6=_0xf629b6[_0x126b32(0x1a0)](_0x284652,this[_0x126b32(0x1cc)],this['_worksheet']),_0x1d9a88=this[_0x126b32(0x1f7)](),_0xba9355=[];for(let _0x34ae60=0x0;_0x34ae60<_0x240ac6[_0x126b32(0x1a6)];_0x34ae60++){let _0x69fa55=_0x240ac6[_0x34ae60],_0x27088a=_0x69fa55[_0x126b32(0x1b1)],_0x2bda11=[];for(let _0x59f31b=0x0;_0x59f31b<_0x27088a[_0x126b32(0x1a6)];_0x59f31b++){let _0x31c9e5=_0x27088a[_0x59f31b],_0xfad7eb=(0x0,_0x7003a4[_0x126b32(0x19a)])(_0x31c9e5,_0x1d9a88);_0xfad7eb&&_0x2bda11[_0x126b32(0x1b4)](_0xfad7eb);}_0x2bda11[_0x126b32(0x1a6)]>0x0&&(_0x69fa55[_0x126b32(0x1b1)]=_0x2bda11,_0xba9355['push'](_0x69fa55));}return _0xba9355;}[_0x377309(0x19d)](_0x2a049f){const _0x31321d=_0x377309;return this[_0x31321d(0x1e2)](_0x2a049f)['map'](_0x49b297[_0x31321d(0x1cd)]);}['getSizeUsages'](_0x1f84f1){const _0xa2feb1=_0x377309;let _0x47917c=this[_0xa2feb1(0x1ec)][_0xa2feb1(0x19b)](_0x49b297[_0xa2feb1(0x1a8)]),_0x35957b=this[_0xa2feb1(0x1f7)]();return _0x47917c[_0xa2feb1(0x1d5)](_0x1f84f1),_0x47917c['getAllSizeUsages'](this[_0xa2feb1(0x1e4)],_0x35957b[_0xa2feb1(0x1a7)],_0x35957b[_0xa2feb1(0x1f8)],_0x35957b[_0xa2feb1(0x1c9)],_0x35957b['endColumn']);}[_0x377309(0x1ca)](_0x329916){const _0x2c5fc2=_0x377309;let _0x448608=this[_0x2c5fc2(0x199)](_0x329916);return this[_0x2c5fc2(0x1ec)]['get'](_0x49b297['ISizeUsageAnalyzer'])[_0x2c5fc2(0x1c2)](_0x448608);}[_0x377309(0x1b5)](_0x2d9b25){const _0x755214=_0x377309;let _0x3fa83e=this[_0x755214(0x1df)](_0x2d9b25);return{'w':_0x3fa83e['w'],'h':_0x3fa83e['h']};}['getRectAreaData'](_0x199e89){const _0x517802=_0x377309;return this[_0x517802(0x1df)](_0x199e89);}};_0x4b8e7a[_0x377309(0x1ea)][_0x377309(0x1e0)](_0x611e13);}));
|
|
1
|
+
function _0x2adf(_0x479393,_0x415a2b){_0x479393=_0x479393-0x11c;const _0x4a7f83=_0x4a7f();let _0x2adf5f=_0x4a7f83[_0x479393];return _0x2adf5f;}function _0x4a7f(){const _0x374bb5=['IStyleUsageAnalyzer','dataStream','amd','formulaToA1','getActiveWorkbook','endRow','filter','startRow','toString','map','@univerjs/engine-formula','FRange','defineProperty','getWorkbook','getAllSizeUsages','getRowManager','_isMatch','4759300qMknXS','1699814tzPvtB','5765640wSwHjD','getAllStyleUsages','_injector','FUniver','getMaxRows','searchCells','getCellRaw','getStyleUsages','@univerjs/core','getLintErrors','13255907rHzbyd','Sheet\x20with\x20ID\x20','get','_worksheet','getAllFormulaError','_formulaDataModel','FormulaDataModel','every','_collectRectAreaData','getSizeUsages','styleToA1','AND','getRectAreaData','getName','rawValue','indexOf','push','function','object','5776629NyoRnO','getCellDataGrid','UniverCore','getSheets','getCell','includes','UniverSheetsDataValidationFacade','isArray','forValue','UniverSheetsFacade','8fYBVZQ','getFormulaUsagesAsA1','getStyleUsagesAsA1','UniverProSheetsMcp','getCellMatrix','getMaxColumns','endColumn','@univerjs/sheets/facade','startColumn','getIntersectRange','ISizeUsageAnalyzer','getRange','getFormulaUsages','extend','formula','trim','warn','displayValue','\x20not\x20found.\x20Skipping.','getColVisible','getAllFormulaUsages','getSizeUsagesAsA1','_cellMatchesSearch','FWorkbook','@univerjs/sheets-formula/facade','filledRanges','1811241uTvROy','2489825JlxctC','getFormulaStringByCell','length','getSheetId','FWorksheet','moveFormulaRefOffset','IFormulaUsageAnalyzer','updateConfig','firstOccurrence','toLowerCase','_initialize','getColumnManager','body','getRowVisible','_workbook'];_0x4a7f=function(){return _0x374bb5;};return _0x4a7f();}(function(_0x459cd2,_0x12a0f0){const _0x20fc2f=_0x2adf,_0x2db750=_0x459cd2();while(!![]){try{const _0x47d1bb=parseInt(_0x20fc2f(0x136))/0x1+parseInt(_0x20fc2f(0x158))/0x2+-parseInt(_0x20fc2f(0x176))/0x3+-parseInt(_0x20fc2f(0x157))/0x4+parseInt(_0x20fc2f(0x137))/0x5+-parseInt(_0x20fc2f(0x159))/0x6+parseInt(_0x20fc2f(0x163))/0x7*(parseInt(_0x20fc2f(0x11c))/0x8);if(_0x47d1bb===_0x12a0f0)break;else _0x2db750['push'](_0x2db750['shift']());}catch(_0x5f16c1){_0x2db750['push'](_0x2db750['shift']());}}}(_0x4a7f,0xee67a),function(_0x41b788,_0x4cf060){const _0x48ae5e=_0x2adf;typeof exports==_0x48ae5e(0x175)&&typeof module<'u'?_0x4cf060(require(`@univerjs/core/facade`),require(`@univerjs/sheets-formula/facade`),require(`@univerjs/sheets-data-validation/facade`),require(`@univerjs/sheets/facade`),require(`@univerjs/engine-formula`),require(`@univerjs-pro/sheets-mcp`),require(`@univerjs/core`)):typeof define==_0x48ae5e(0x174)&&define[_0x48ae5e(0x148)]?define(['@univerjs/core/facade',_0x48ae5e(0x134),'@univerjs/sheets-data-validation/facade',_0x48ae5e(0x123),_0x48ae5e(0x150),'@univerjs-pro/sheets-mcp',_0x48ae5e(0x161)],_0x4cf060):(_0x41b788=typeof globalThis<'u'?globalThis:_0x41b788||self,_0x4cf060(_0x41b788['UniverCoreFacade'],_0x41b788['UniverSheetsFormulaFacade'],_0x41b788[_0x48ae5e(0x17c)],_0x41b788[_0x48ae5e(0x17f)],_0x41b788['UniverEngineFormula'],_0x41b788[_0x48ae5e(0x11f)],_0x41b788[_0x48ae5e(0x178)]));}(this,function(_0x2de150,_0x22fc25,_0x2be6d2,_0x5dab5d,_0x33480d,_0x1c8ba4,_0x57b648){const _0x383350=_0x2adf;var _0x369c8a=class extends _0x2de150[_0x383350(0x15c)]{async[_0x383350(0x162)](){const _0x3d7564=_0x383350;return this[_0x3d7564(0x14a)]()[_0x3d7564(0x162)]();}};_0x2de150[_0x383350(0x15c)][_0x383350(0x129)](_0x369c8a);var _0x55744f=class extends _0x5dab5d[_0x383350(0x133)]{[_0x383350(0x141)](){const _0x3bb7c3=_0x383350;Object[_0x3bb7c3(0x152)](this,_0x3bb7c3(0x168),{'get'(){const _0x526734=_0x3bb7c3;return this[_0x526734(0x15b)][_0x526734(0x165)](_0x33480d[_0x526734(0x169)]);}});}[_0x383350(0x15e)](_0x36fa39,_0x513487={}){const _0x556e1f=_0x383350;let {caseSensitive:_0x4cf4cf=!0x1,matchEntireCell:_0x777089=!0x1,specificRanges:_0x552664,specificTypes:_0x5afea8,searchMultipleTextsCondition:_0x1fa0c5='OR'}=_0x513487,_0x1918b3=(Array[_0x556e1f(0x17d)](_0x36fa39)?_0x36fa39:[_0x36fa39])['map'](_0x483eda=>_0x483eda[_0x556e1f(0x12b)]())[_0x556e1f(0x14c)](_0x34b2ac=>_0x34b2ac);if(_0x4cf4cf||(_0x1918b3=_0x1918b3[_0x556e1f(0x14f)](_0x290b49=>_0x290b49['toLowerCase']())),_0x1918b3[_0x556e1f(0x139)]===0x0)return[];let _0x5f4ba8={'caseSensitive':_0x4cf4cf,'matchEntireCell':_0x777089,'searchMultipleTextsCondition':_0x1fa0c5,'isSearchByRawValue':!_0x5afea8||_0x5afea8[_0x556e1f(0x17b)](_0x556e1f(0x171)),'isSearchByDisplayValue':!_0x5afea8||_0x5afea8[_0x556e1f(0x17b)](_0x556e1f(0x12d)),'isSearchByFormula':!_0x5afea8||_0x5afea8[_0x556e1f(0x17b)](_0x556e1f(0x12a))},_0x5ba4b7=this['getWorkbook'](),_0xc6ef6f=[];if(_0x552664)for(let {sheetId:_0x40ba0f,ranges:_0xb55ec9}of _0x552664){let _0x5d8e9d=_0x5ba4b7['getSheetBySheetId'](_0x40ba0f);if(!_0x5d8e9d){console[_0x556e1f(0x12c)](_0x556e1f(0x164)+_0x40ba0f+_0x556e1f(0x12e));continue;}let _0x50a74d=_0x5d8e9d['getCellMatrix']();if(_0xb55ec9&&_0xb55ec9[_0x556e1f(0x139)]>0x0){for(let _0x19ce2d of _0xb55ec9)for(let _0x51fe58=_0x19ce2d[_0x556e1f(0x14d)];_0x51fe58<=_0x19ce2d[_0x556e1f(0x14b)];_0x51fe58++)for(let _0x5e02c3=_0x19ce2d[_0x556e1f(0x124)];_0x5e02c3<=_0x19ce2d[_0x556e1f(0x122)];_0x5e02c3++){let _0x10b4c0=_0x50a74d['getValue'](_0x51fe58,_0x5e02c3);if(!_0x10b4c0)continue;let _0x3b8144=this['_cellMatchesSearch'](_0x10b4c0,_0x1918b3,{..._0x5f4ba8,'worksheet':_0x5d8e9d,'row':_0x51fe58,'col':_0x5e02c3});_0x3b8144&&_0xc6ef6f[_0x556e1f(0x173)]({..._0x3b8144,'sheetId':_0x5d8e9d[_0x556e1f(0x13a)]()});}}else _0x50a74d[_0x556e1f(0x17e)]((_0x4797ba,_0x30c6ae,_0x1b3610)=>{const _0x140ed2=_0x556e1f;if(_0x1b3610){let _0x5aeffc=this[_0x140ed2(0x132)](_0x1b3610,_0x1918b3,{..._0x5f4ba8,'worksheet':_0x5d8e9d,'row':_0x4797ba,'col':_0x30c6ae});_0x5aeffc&&_0xc6ef6f[_0x140ed2(0x173)]({..._0x5aeffc,'sheetId':_0x5d8e9d[_0x140ed2(0x13a)]()});}});}else{let _0x11f742=_0x5ba4b7[_0x556e1f(0x179)]();for(let _0x5d45ac of _0x11f742)_0x5d45ac[_0x556e1f(0x120)]()['forValue']((_0x819f4b,_0x3b7a76,_0x40deb3)=>{const _0x12007b=_0x556e1f;if(_0x40deb3){let _0x1f7d89=this[_0x12007b(0x132)](_0x40deb3,_0x1918b3,{..._0x5f4ba8,'worksheet':_0x5d45ac,'row':_0x819f4b,'col':_0x3b7a76});_0x1f7d89&&_0xc6ef6f['push']({..._0x1f7d89,'sheetId':_0x5d45ac['getSheetId']()});}});}return _0xc6ef6f;}[_0x383350(0x132)](_0x4f6d29,_0x8b3d70,_0x535f8e){const _0x4b0e46=_0x383350;let {caseSensitive:_0x480cc7,matchEntireCell:_0x3c6b11,searchMultipleTextsCondition:_0x3f87ce,isSearchByRawValue:_0x43a1eb,isSearchByDisplayValue:_0x238108,isSearchByFormula:_0x3188fd,worksheet:_0x3f2cbb,row:_0x320c59,col:_0x36c7ee}=_0x535f8e;if(_0x43a1eb){var _0x207561;let _0x182731=((_0x207561=_0x4f6d29['p'])==null||(_0x207561=_0x207561[_0x4b0e46(0x143)])==null?void 0x0:_0x207561[_0x4b0e46(0x147)])||_0x4f6d29['v'];if(_0x182731){let _0x3563fb=_0x480cc7?_0x182731[_0x4b0e46(0x14e)]():_0x182731['toString']()[_0x4b0e46(0x140)]();if(this[_0x4b0e46(0x156)](_0x3563fb,_0x8b3d70,_0x3c6b11,_0x3f87ce))return{'row':_0x320c59,'col':_0x36c7ee,'reference':(0x0,_0x33480d['serializeRangeWithSheet'])(_0x3f2cbb[_0x4b0e46(0x170)](),{'startRow':_0x320c59,'endRow':_0x320c59,'startColumn':_0x36c7ee,'endColumn':_0x36c7ee}),'cellData':{..._0x4f6d29,'rawValue':_0x182731}};}}if(_0x3188fd&&(_0x4f6d29['f']||_0x4f6d29['si'])){let _0x4bee1d=this[_0x4b0e46(0x168)][_0x4b0e46(0x138)](_0x320c59,_0x36c7ee,_0x3f2cbb[_0x4b0e46(0x13a)](),this[_0x4b0e46(0x153)]()['getUnitId']());if(_0x4bee1d){let _0x219823=_0x480cc7?_0x4bee1d:_0x4bee1d[_0x4b0e46(0x140)]();if(this[_0x4b0e46(0x156)](_0x219823,_0x8b3d70,_0x3c6b11,_0x3f87ce))return{'row':_0x320c59,'col':_0x36c7ee,'reference':(0x0,_0x33480d['serializeRangeWithSheet'])(_0x3f2cbb[_0x4b0e46(0x170)](),{'startRow':_0x320c59,'endRow':_0x320c59,'startColumn':_0x36c7ee,'endColumn':_0x36c7ee}),'cellData':{..._0x4f6d29,'formulaString':_0x4bee1d}};}}if(_0x238108){var _0x29eb4c;let _0x1ede82=(_0x29eb4c=_0x4f6d29['p'])==null||(_0x29eb4c=_0x29eb4c[_0x4b0e46(0x143)])==null?void 0x0:_0x29eb4c[_0x4b0e46(0x147)];if(!_0x1ede82){var _0x2bc0fc;_0x1ede82=(_0x2bc0fc=_0x3f2cbb[_0x4b0e46(0x17a)](_0x320c59,_0x36c7ee))==null?void 0x0:_0x2bc0fc['v'];}if(_0x1ede82){let _0x9273ca=_0x480cc7?_0x1ede82[_0x4b0e46(0x14e)]():_0x1ede82[_0x4b0e46(0x14e)]()[_0x4b0e46(0x140)]();if(this[_0x4b0e46(0x156)](_0x9273ca,_0x8b3d70,_0x3c6b11,_0x3f87ce))return{'row':_0x320c59,'col':_0x36c7ee,'reference':(0x0,_0x33480d['serializeRangeWithSheet'])(_0x3f2cbb[_0x4b0e46(0x170)](),{'startRow':_0x320c59,'endRow':_0x320c59,'startColumn':_0x36c7ee,'endColumn':_0x36c7ee}),'cellData':{..._0x4f6d29,'displayValue':_0x1ede82[_0x4b0e46(0x14e)]()}};}}return!0x1;}['_isMatch'](_0x4c9c0a,_0x43a8c6,_0x5a784a,_0x132fac){const _0x3ec112=_0x383350;return _0x43a8c6['length']>0x1&&_0x132fac===_0x3ec112(0x16e)?_0x43a8c6[_0x3ec112(0x16a)](_0x3c0d26=>_0x5a784a?_0x4c9c0a===_0x3c0d26:_0x4c9c0a[_0x3ec112(0x172)](_0x3c0d26)>-0x1):_0x43a8c6['some'](_0x47d357=>_0x5a784a?_0x4c9c0a===_0x47d357:_0x4c9c0a['indexOf'](_0x47d357)>-0x1);}};_0x5dab5d[_0x383350(0x133)][_0x383350(0x129)](_0x55744f);var _0x379bce=class extends _0x5dab5d[_0x383350(0x133)]{async[_0x383350(0x162)](){const _0x490d5c=_0x383350;return{'formulaErrors':this[_0x490d5c(0x167)](),'dataValidationErrors':await this['getAllDataValidationErrorAsync']()};}};_0x5dab5d[_0x383350(0x133)][_0x383350(0x129)](_0x379bce);var _0x51d076=class extends _0x5dab5d[_0x383350(0x13b)]{async['getFormulaUsages'](){const _0x4be265=_0x383350;let _0x87b1d5=this[_0x4be265(0x15b)][_0x4be265(0x165)](_0x1c8ba4[_0x4be265(0x13d)]),_0x52efb0=this[_0x4be265(0x127)](0x0,0x0,this['getMaxRows'](),this['getMaxColumns']())[_0x4be265(0x177)]();return await _0x87b1d5[_0x4be265(0x130)](_0x52efb0);}async[_0x383350(0x11d)](){const _0x308048=_0x383350;return(await this[_0x308048(0x128)]())[_0x308048(0x14f)](_0x1c8ba4[_0x308048(0x149)]);}['getStyleUsages'](_0x512089){const _0x1423e1=_0x383350;let _0x36032e=this['_injector']['get'](_0x1c8ba4[_0x1423e1(0x146)]),_0x500d49=this[_0x1423e1(0x127)](0x0,0x0,this[_0x1423e1(0x15d)](),this[_0x1423e1(0x121)]())[_0x1423e1(0x177)]();return _0x36032e[_0x1423e1(0x13e)](_0x512089),_0x36032e['getAllStyleUsages'](_0x500d49,this[_0x1423e1(0x145)],this[_0x1423e1(0x166)]);}[_0x383350(0x11e)](_0x162b4b){const _0x23907c=_0x383350;return this[_0x23907c(0x160)](_0x162b4b)['map'](_0x1c8ba4['styleToA1']);}[_0x383350(0x16c)](_0x5cda45){const _0x21c042=_0x383350;let _0x1dd418=this[_0x21c042(0x15b)][_0x21c042(0x165)](_0x1c8ba4[_0x21c042(0x126)]);return _0x1dd418[_0x21c042(0x13e)](_0x5cda45),_0x1dd418[_0x21c042(0x154)](this[_0x21c042(0x166)]);}[_0x383350(0x131)](_0x32eae0){const _0x5049c6=_0x383350;let _0x51a9b6=this[_0x5049c6(0x15b)][_0x5049c6(0x165)](_0x1c8ba4['ISizeUsageAnalyzer']);_0x51a9b6[_0x5049c6(0x13e)](_0x32eae0);let _0x507860=_0x51a9b6[_0x5049c6(0x154)](this[_0x5049c6(0x166)]);return _0x51a9b6['toA1'](_0x507860);}};_0x5dab5d[_0x383350(0x13b)][_0x383350(0x129)](_0x51d076);var _0x465752=class extends _0x5dab5d[_0x383350(0x151)]{[_0x383350(0x16b)](_0x36a68f){const _0x7c62e1=_0x383350;var _0x3eed16;let _0x36ade0=(_0x3eed16=_0x36a68f==null?void 0x0:_0x36a68f['visibleOnly'])==null?!0x0:_0x3eed16,_0x1dc7c7=this['getRange'](),_0x3b2c1e=this['_worksheet'][_0x7c62e1(0x155)](),_0x2eb8a7=this['_worksheet'][_0x7c62e1(0x142)](),_0x4123b0={},_0x2a0bec=0x0;for(let _0x359122=_0x1dc7c7[_0x7c62e1(0x14d)];_0x359122<=_0x1dc7c7[_0x7c62e1(0x14b)];_0x359122++){let _0x3c3b62=_0x3b2c1e['getRowHeight'](_0x359122),_0x392ff1=!_0x36ade0||this['_worksheet'][_0x7c62e1(0x144)](_0x359122)?_0x3c3b62:0x0;_0x2a0bec+=_0x392ff1,_0x4123b0[_0x359122]={'h':_0x392ff1};}let _0x32ed5d={},_0x45c894=0x0;for(let _0x4927d3=_0x1dc7c7['startColumn'];_0x4927d3<=_0x1dc7c7[_0x7c62e1(0x122)];_0x4927d3++){let _0x4f9b37=_0x2eb8a7['getColumnWidth'](_0x4927d3),_0x2f4611=!_0x36ade0||this[_0x7c62e1(0x166)][_0x7c62e1(0x12f)](_0x4927d3)?_0x4f9b37:0x0;_0x45c894+=_0x2f4611,_0x32ed5d[_0x4927d3]={'w':_0x2f4611};}return{'w':_0x45c894,'h':_0x2a0bec,'rowData':_0x4123b0,'columnData':_0x32ed5d};}async[_0x383350(0x128)](){const _0xb29aaf=_0x383350;let _0x566ec6=this[_0xb29aaf(0x15b)]['get'](_0x1c8ba4[_0xb29aaf(0x13d)]),_0x246667=(({startRow:_0x40b6c2,endRow:_0x550170,startColumn:_0x59e4c5,endColumn:_0x5573fc})=>{const _0x5b58f8=_0xb29aaf;let _0x47b0f5=[];for(let _0x177339=_0x40b6c2;_0x177339<=_0x550170;_0x177339++){let _0x2ca1fa=[];for(let _0x34e79d=_0x59e4c5;_0x34e79d<=_0x5573fc;_0x34e79d++)_0x2ca1fa['push'](this[_0x5b58f8(0x166)]['getCellRaw'](_0x177339,_0x34e79d));_0x47b0f5['push'](_0x2ca1fa);}return _0x47b0f5;})({'startRow':0x0,'endRow':this[_0xb29aaf(0x166)][_0xb29aaf(0x15d)](),'startColumn':0x0,'endColumn':this[_0xb29aaf(0x166)]['getMaxColumns']()}),_0x4a4aeb=await _0x566ec6[_0xb29aaf(0x130)](_0x246667),_0x13814d=this[_0xb29aaf(0x127)](),_0x3a9ae4=[];for(let _0x52beab=0x0;_0x52beab<_0x4a4aeb[_0xb29aaf(0x139)];_0x52beab++){let _0x20b6c2=_0x4a4aeb[_0x52beab],_0x523936=_0x20b6c2['filledRanges'],_0x439d53=[];for(let _0x516537=0x0;_0x516537<_0x523936['length'];_0x516537++){let _0x5a1337=_0x523936[_0x516537],_0x200a25=(0x0,_0x57b648[_0xb29aaf(0x125)])(_0x5a1337,_0x13814d);_0x200a25&&_0x439d53['push'](_0x200a25);}if(_0x439d53['length']>0x0){if(_0x20b6c2['filledRanges']=_0x439d53,!(_0x20b6c2[_0xb29aaf(0x13f)][_0xb29aaf(0x14d)]>=_0x13814d[_0xb29aaf(0x14d)]&&_0x20b6c2[_0xb29aaf(0x13f)][_0xb29aaf(0x14d)]<=_0x13814d['endRow']&&_0x20b6c2[_0xb29aaf(0x13f)][_0xb29aaf(0x124)]>=_0x13814d[_0xb29aaf(0x124)]&&_0x20b6c2[_0xb29aaf(0x13f)]['startColumn']<=_0x13814d[_0xb29aaf(0x122)])){let _0xe674ad=_0x439d53[0x0],_0x134629=_0xe674ad[_0xb29aaf(0x14d)]-_0x20b6c2['firstOccurrence']['startRow'],_0x5dc9b3=_0xe674ad[_0xb29aaf(0x124)]-_0x20b6c2[_0xb29aaf(0x13f)][_0xb29aaf(0x124)];_0x20b6c2[_0xb29aaf(0x12a)]=await _0x566ec6[_0xb29aaf(0x13c)](_0x20b6c2[_0xb29aaf(0x12a)],_0x5dc9b3,_0x134629),_0x20b6c2[_0xb29aaf(0x13f)]={'startRow':_0xe674ad['startRow'],'endRow':_0xe674ad[_0xb29aaf(0x14d)],'startColumn':_0xe674ad[_0xb29aaf(0x124)],'endColumn':_0xe674ad[_0xb29aaf(0x124)]};}_0x3a9ae4[_0xb29aaf(0x173)](_0x20b6c2);}}return _0x3a9ae4;}async['getFormulaUsagesAsA1'](){const _0x951381=_0x383350;return(await this[_0x951381(0x128)]())[_0x951381(0x14f)](_0x1c8ba4[_0x951381(0x149)]);}['getStyleUsages'](_0x33b3ac){const _0x4d5e72=_0x383350;let _0x5b91fa=this[_0x4d5e72(0x15b)][_0x4d5e72(0x165)](_0x1c8ba4[_0x4d5e72(0x146)]),_0x1dfa74=(({startRow:_0x48c40e,endRow:_0x1a7dc7,startColumn:_0x179bb4,endColumn:_0x1a800})=>{const _0x349114=_0x4d5e72;let _0x5a5c25=[];for(let _0xc913c7=_0x48c40e;_0xc913c7<=_0x1a7dc7;_0xc913c7++){let _0x1e6672=[];for(let _0xd776c0=_0x179bb4;_0xd776c0<=_0x1a800;_0xd776c0++)_0x1e6672[_0x349114(0x173)](this[_0x349114(0x166)][_0x349114(0x15f)](_0xc913c7,_0xd776c0));_0x5a5c25[_0x349114(0x173)](_0x1e6672);}return _0x5a5c25;})({'startRow':0x0,'endRow':this[_0x4d5e72(0x166)][_0x4d5e72(0x15d)](),'startColumn':0x0,'endColumn':this['_worksheet'][_0x4d5e72(0x121)]()});_0x5b91fa[_0x4d5e72(0x13e)](_0x33b3ac);let _0x74f0a3=_0x5b91fa[_0x4d5e72(0x15a)](_0x1dfa74,this[_0x4d5e72(0x145)],this[_0x4d5e72(0x166)]),_0xa6f7f8=this['getRange'](),_0x594d5b=[];for(let _0x4e5d98=0x0;_0x4e5d98<_0x74f0a3[_0x4d5e72(0x139)];_0x4e5d98++){let _0x50b56f=_0x74f0a3[_0x4e5d98],_0x5d1a84=_0x50b56f[_0x4d5e72(0x135)],_0x8e5889=[];for(let _0x391435=0x0;_0x391435<_0x5d1a84[_0x4d5e72(0x139)];_0x391435++){let _0x450240=_0x5d1a84[_0x391435],_0x1e71a1=(0x0,_0x57b648[_0x4d5e72(0x125)])(_0x450240,_0xa6f7f8);_0x1e71a1&&_0x8e5889[_0x4d5e72(0x173)](_0x1e71a1);}_0x8e5889[_0x4d5e72(0x139)]>0x0&&(_0x50b56f[_0x4d5e72(0x135)]=_0x8e5889,_0x594d5b[_0x4d5e72(0x173)](_0x50b56f));}return _0x594d5b;}[_0x383350(0x11e)](_0x3913b6){const _0x3eb7bc=_0x383350;return this[_0x3eb7bc(0x160)](_0x3913b6)[_0x3eb7bc(0x14f)](_0x1c8ba4[_0x3eb7bc(0x16d)]);}[_0x383350(0x16c)](_0x45df44){const _0x255e12=_0x383350;let _0x1373b6=this[_0x255e12(0x15b)][_0x255e12(0x165)](_0x1c8ba4[_0x255e12(0x126)]),_0x2ed6db=this[_0x255e12(0x127)]();return _0x1373b6['updateConfig'](_0x45df44),_0x1373b6['getAllSizeUsages'](this[_0x255e12(0x166)],_0x2ed6db[_0x255e12(0x14d)],_0x2ed6db[_0x255e12(0x14b)],_0x2ed6db[_0x255e12(0x124)],_0x2ed6db['endColumn']);}[_0x383350(0x131)](_0x51fa14){const _0x39c0ac=_0x383350;let _0x3b09fb=this['getSizeUsages'](_0x51fa14);return this[_0x39c0ac(0x15b)][_0x39c0ac(0x165)](_0x1c8ba4[_0x39c0ac(0x126)])['toA1'](_0x3b09fb);}['getRectArea'](_0x2a2e2c){const _0x144dd0=_0x383350;let _0x3b0191=this[_0x144dd0(0x16b)](_0x2a2e2c);return{'w':_0x3b0191['w'],'h':_0x3b0191['h']};}[_0x383350(0x16f)](_0x32d3f8){const _0x1d8a6a=_0x383350;return this[_0x1d8a6a(0x16b)](_0x32d3f8);}};_0x5dab5d[_0x383350(0x151)][_0x383350(0x129)](_0x465752);}));
|