@univerjs-pro/docs-table 1.2.0 → 1.3.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/README.md +2 -0
- 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/commands/set-table-align.command.d.ts +8 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +6 -6
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3af55f=_0xefa6;(function(_0xc3b7fc,_0x3ce54e){const _0x2d351a=_0xefa6,_0x5af07d=_0xc3b7fc();while(!![]){try{const _0x4f9ff7=parseInt(_0x2d351a(0x228))/0x1*(-parseInt(_0x2d351a(0x192))/0x2)+-parseInt(_0x2d351a(0x1d4))/0x3+-parseInt(_0x2d351a(0x221))/0x4*(-parseInt(_0x2d351a(0x1b2))/0x5)+-parseInt(_0x2d351a(0x1e4))/0x6+parseInt(_0x2d351a(0x1f7))/0x7*(parseInt(_0x2d351a(0x186))/0x8)+-parseInt(_0x2d351a(0x230))/0x9*(parseInt(_0x2d351a(0x1a2))/0xa)+-parseInt(_0x2d351a(0x231))/0xb*(-parseInt(_0x2d351a(0x1f1))/0xc);if(_0x4f9ff7===_0x3ce54e)break;else _0x5af07d['push'](_0x5af07d['shift']());}catch(_0x57f03c){_0x5af07d['push'](_0x5af07d['shift']());}}}(_0x3bd1,0xc85f1));import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x10a2bb,DocsTableBorderPreset as _0x21e5da,DocsTableColumnInsertPosition as _0x76e11d,DocsTableColumnType as _0x5f1eaa,DocsTableDeleteColumnsCommand as _0x269022,DocsTableDeleteRowsCommand as _0xe59a77,DocsTableDeleteTableCommand as _0x46859a,DocsTableInsertPosition as _0x2649be,DocsTableInsertTableCommand as _0x7e92c1,DocsTableInsertTablePosition as _0x3ad52f,DocsTableModel as _0x4deb2e,DocsTableRowInsertPosition as _0x82b3b,DocsTableSelectionKind as _0x3a682d,DocsTableSelectionService as _0x46af07,DocsTableSetColumnTypeCommand as _0x47a3a9,DocsTableSortDirection as _0x27cfac,buildDistributeTableColumnsMutationActions as _0x35e68b,buildDistributeTableRowsMutationActions as _0x585fc2,buildInsertTableColumnsMutationActions as _0x2f079e,buildInsertTableRowsMutationActions as _0x2f9970,buildInsertTableTitleRowMutationActions as _0x590c3e,buildMergeCellsMutationActions as _0x5daaa1,buildMoveFloatingTableMutationActions as _0x49ba5c,buildMoveTableColumnsMutationActions as _0x38c19c,buildMoveTableRowsMutationActions as _0x40e946,buildMoveTableToOffsetMutationActions as _0x5cab22,buildResizeTableColumnActionsFromWidth as _0x380eb0,buildResizeTableRowActionsFromHeight as _0x2a6d77,buildSetTableBackgroundMutationActions as _0x3be999,buildSetTableBorderMutationActions as _0x475739,buildSetTableCellMarginMutationActions as _0x4339b2,buildSetTableCellTextMutationActions as _0x8aa1c1,buildSetTableDefaultCellMarginMutationActions as _0xc24e0e,buildSetTableHeaderRowCountMutationActions as _0x2acf2d,buildSortTableMutationActions as _0x596c36,buildUnmergeCellsMutationActions as _0x51717e,executeRichTextTableActions as _0x32465f,getTableActionBodyPath as _0xc9b810,getTableRangeById as _0x2fe24d}from'@univerjs-pro/docs-table';import{DashStyleType as _0x316dee,ICommandService as _0x19b242,Inject as _0xa66981,Injector as _0x5b17ed,JSONX as _0x1a4f7f,TableRowHeightRule as _0x4f9476,ThemeService as _0x56cb3b,Tools as _0x44d3dc,generateRandomId as _0x556848}from'@univerjs/core';import{FEnum as _0x3582a5}from'@univerjs/core/facade';import{FDocument as _0x52b261}from'@univerjs/docs/facade';var J=class extends _0x3582a5{get[_0x3af55f(0x237)](){return _0x3ad52f;}get[_0x3af55f(0x1b3)](){return _0x5f1eaa;}get[_0x3af55f(0x1cd)](){return _0x3a682d;}get['DocsTableRowInsertPosition'](){return _0x82b3b;}get[_0x3af55f(0x1bb)](){return _0x76e11d;}get[_0x3af55f(0x1f9)](){return _0x21e5da;}get[_0x3af55f(0x180)](){return _0x27cfac;}get[_0x3af55f(0x18f)](){return _0x316dee;}};_0x3582a5[_0x3af55f(0x1fe)](J);var Y=class{constructor(_0x29eaf8,_0x49461d,_0x3ab85a){const _0x9d93fe=_0x3af55f;this[_0x9d93fe(0x193)]=_0x29eaf8,this[_0x9d93fe(0x22f)]=_0x49461d,this[_0x9d93fe(0x182)]=_0x3ab85a;}[_0x3af55f(0x22d)](){return this['_table'];}['getRowIndex'](){const _0x1c109a=_0x3af55f;return this[_0x1c109a(0x22f)];}[_0x3af55f(0x1ee)](){return this['_column'];}['getText'](){const _0x25c249=_0x3af55f;return this[_0x25c249(0x193)]['getCellText'](this['_row'],this[_0x25c249(0x182)]);}[_0x3af55f(0x1de)](){const _0x559214=_0x3af55f;return this[_0x559214(0x193)][_0x559214(0x1c6)](this[_0x559214(0x22f)],this[_0x559214(0x182)]);}[_0x3af55f(0x1c5)](){const _0x2d47c2=_0x3af55f;return this[_0x2d47c2(0x193)]['getCellInsertOffset'](this[_0x2d47c2(0x22f)],this['_column']);}[_0x3af55f(0x183)](){const _0x2add6d=_0x3af55f;return this[_0x2add6d(0x193)][_0x2add6d(0x1f0)](this[_0x2add6d(0x22f)],this['_column']);}[_0x3af55f(0x195)](){const _0x5a9e11=_0x3af55f;return this[_0x5a9e11(0x193)][_0x5a9e11(0x187)](this['_row'],this['_column']);}[_0x3af55f(0x1da)](_0x224d60){const _0x5a7bbd=_0x3af55f;return this[_0x5a7bbd(0x193)][_0x5a7bbd(0x234)](this[_0x5a7bbd(0x193)][_0x5a7bbd(0x1ff)](this['_row'],this[_0x5a7bbd(0x182)]),_0x224d60);}[_0x3af55f(0x18e)](){const _0x2217c0=_0x3af55f;return this[_0x2217c0(0x193)][_0x2217c0(0x234)](this[_0x2217c0(0x193)][_0x2217c0(0x1ff)](this[_0x2217c0(0x22f)],this[_0x2217c0(0x182)]),null);}[_0x3af55f(0x22c)](_0x5aa6f3){const _0x30097a=_0x3af55f;return this[_0x30097a(0x193)]['setCellText'](this[_0x30097a(0x22f)],this[_0x30097a(0x182)],_0x5aa6f3);}[_0x3af55f(0x1c1)](_0x24016b){const _0x181a9e=_0x3af55f;return this['_table']['setCellBackground'](this[_0x181a9e(0x193)]['getCellRange'](this['_row'],this[_0x181a9e(0x182)]),_0x24016b);}['setBorder'](_0x240841){const _0x25d5e6=_0x3af55f;return this[_0x25d5e6(0x193)]['setBorder'](this[_0x25d5e6(0x193)][_0x25d5e6(0x1ff)](this[_0x25d5e6(0x22f)],this[_0x25d5e6(0x182)]),_0x240841);}[_0x3af55f(0x18a)](_0x2492d6,_0x41d6db){const _0x484324=_0x3af55f;return this[_0x484324(0x193)]['mergeCells']({'startRow':this[_0x484324(0x22f)],'startColumn':this[_0x484324(0x182)],'endRow':this[_0x484324(0x22f)]+_0x2492d6-0x1,'endColumn':this[_0x484324(0x182)]+_0x41d6db-0x1});}[_0x3af55f(0x1c7)](){const _0x1f4235=_0x3af55f;return this[_0x1f4235(0x193)][_0x1f4235(0x19a)](this['_table']['getCellRange'](this[_0x1f4235(0x22f)],this[_0x1f4235(0x182)]));}};function _0xefa6(_0x2642b3,_0x1d02d5){_0x2642b3=_0x2642b3-0x180;const _0x3bd165=_0x3bd1();let _0xefa639=_0x3bd165[_0x2642b3];return _0xefa639;}function X(_0x21f243){'@babel/helpers - typeof';const _0x34b2a6=_0x3af55f;return X=typeof Symbol==_0x34b2a6(0x20e)&&typeof Symbol[_0x34b2a6(0x1dc)]==_0x34b2a6(0x1b0)?function(_0x3c7222){return typeof _0x3c7222;}:function(_0x120361){const _0x218118=_0x34b2a6;return _0x120361&&typeof Symbol==_0x218118(0x20e)&&_0x120361[_0x218118(0x185)]===Symbol&&_0x120361!==Symbol[_0x218118(0x21f)]?'symbol':typeof _0x120361;},X(_0x21f243);}function Z(_0x5077a7,_0x50a9d7){const _0x2be5ad=_0x3af55f;if(X(_0x5077a7)!=_0x2be5ad(0x1be)||!_0x5077a7)return _0x5077a7;var _0x5cf7a7=_0x5077a7[Symbol[_0x2be5ad(0x1f5)]];if(_0x5cf7a7!==void 0x0){var _0x4668cd=_0x5cf7a7[_0x2be5ad(0x1db)](_0x5077a7,_0x50a9d7||_0x2be5ad(0x188));if(X(_0x4668cd)!=_0x2be5ad(0x1be))return _0x4668cd;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x50a9d7===_0x2be5ad(0x207)?String:Number)(_0x5077a7);}function ne(_0x3dc19c){const _0x649d6f=_0x3af55f;var _0x19039f=Z(_0x3dc19c,_0x649d6f(0x207));return X(_0x19039f)=='symbol'?_0x19039f:_0x19039f+'';}function re(_0x1be163,_0x25edd4,_0x16db09){const _0x465a50=_0x3af55f;return(_0x25edd4=ne(_0x25edd4))in _0x1be163?Object[_0x465a50(0x1ae)](_0x1be163,_0x25edd4,{'value':_0x16db09,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1be163[_0x25edd4]=_0x16db09,_0x1be163;}function Q(_0xdc8f6c,_0x11da47){return function(_0x4e34fc,_0x1db8b6){_0x11da47(_0x4e34fc,_0x1db8b6,_0xdc8f6c);};}function ie(_0x46b04a,_0x232ffc,_0x1e4a24,_0x147c7e){const _0x2e9a72=_0x3af55f;var _0x9d1b2f=arguments[_0x2e9a72(0x1c8)],_0x34bd28=_0x9d1b2f<0x3?_0x232ffc:_0x147c7e===null?_0x147c7e=Object[_0x2e9a72(0x1fc)](_0x232ffc,_0x1e4a24):_0x147c7e,_0x5b9424;if(typeof Reflect==_0x2e9a72(0x1be)&&typeof Reflect[_0x2e9a72(0x1fd)]==_0x2e9a72(0x20e))_0x34bd28=Reflect['decorate'](_0x46b04a,_0x232ffc,_0x1e4a24,_0x147c7e);else{for(var _0xcfae53=_0x46b04a[_0x2e9a72(0x1c8)]-0x1;_0xcfae53>=0x0;_0xcfae53--)(_0x5b9424=_0x46b04a[_0xcfae53])&&(_0x34bd28=(_0x9d1b2f<0x3?_0x5b9424(_0x34bd28):_0x9d1b2f>0x3?_0x5b9424(_0x232ffc,_0x1e4a24,_0x34bd28):_0x5b9424(_0x232ffc,_0x1e4a24))||_0x34bd28);}return _0x9d1b2f>0x3&&_0x34bd28&&Object[_0x2e9a72(0x1ae)](_0x232ffc,_0x1e4a24,_0x34bd28),_0x34bd28;}let $=class{constructor(_0x104691,_0x1c6302,_0x495672,_0x348464,_0x47e6ea){const _0x49a2d9=_0x3af55f;this[_0x49a2d9(0x19b)]=_0x104691,this['_tableId']=_0x1c6302,this[_0x49a2d9(0x20f)]=_0x495672,this[_0x49a2d9(0x1f6)]=_0x348464,this[_0x49a2d9(0x1bd)]=_0x47e6ea,re(this,_0x49a2d9(0x1d8),void 0x0),this['_unitId']=this[_0x49a2d9(0x19b)][_0x49a2d9(0x229)]();}['getId'](){return this['_tableId'];}[_0x3af55f(0x204)](){const _0x271d4e=_0x3af55f;return this[_0x271d4e(0x20f)];}[_0x3af55f(0x20c)](){const _0x37173d=_0x3af55f;return{'id':this[_0x37173d(0x1a5)],'rowCount':this[_0x37173d(0x1d5)](),'columnCount':this[_0x37173d(0x1eb)](),'metadata':this['getMetadata'](),'source':this[_0x37173d(0x18b)]()};}['describe'](){const _0x14ddcb=_0x3af55f;let _0x2b7e48=this[_0x14ddcb(0x1e2)](),_0xc661c9=this['getSource'](),_0x1970e6=this[_0x14ddcb(0x1eb)]();return{'id':this[_0x14ddcb(0x1a5)],'rowCount':this['getRowCount'](),'columnCount':_0x1970e6,'headerRowCount':(_0x2b7e48==null?void 0x0:_0x2b7e48[_0x14ddcb(0x1e8)])??0x0,'titleRow':(_0x2b7e48==null?void 0x0:_0x2b7e48[_0x14ddcb(0x189)])??!0x1,'columns':Array[_0x14ddcb(0x1a9)]({'length':_0x1970e6},(_0x4b7017,_0x23e72e)=>{const _0x375337=_0x14ddcb;var _0x2a9b15,_0xf4db85;return{'index':_0x23e72e,'type':_0x2b7e48==null||(_0x2a9b15=_0x2b7e48['columnTypes'])==null||(_0x2a9b15=_0x2a9b15[_0x23e72e])==null?void 0x0:_0x2a9b15['type'],'width':_0xc661c9==null||(_0xf4db85=_0xc661c9[_0x375337(0x1dd)][_0x23e72e])==null?void 0x0:_0xf4db85['size'][_0x375337(0x1e7)]['v']};}),'sampleRows':Array[_0x14ddcb(0x1a9)]({'length':this[_0x14ddcb(0x1d5)]()},(_0x527e31,_0x3f2d52)=>Array['from']({'length':_0x1970e6},(_0x225c28,_0x4a77d8)=>this[_0x14ddcb(0x1e5)](_0x3f2d52,_0x4a77d8)))[_0x14ddcb(0x1ad)](_0x3f25bc=>_0x3f25bc['some'](_0x39e2f0=>_0x39e2f0[_0x14ddcb(0x1c8)]>0x0))[_0x14ddcb(0x1ce)](0x0,0x5)};}['getRowCount'](){const _0x684f70=_0x3af55f;var _0x2bad32;return((_0x2bad32=this[_0x684f70(0x18b)]())==null?void 0x0:_0x2bad32[_0x684f70(0x1d7)][_0x684f70(0x1c8)])??0x0;}[_0x3af55f(0x1eb)](){const _0x53bb74=_0x3af55f;var _0xc41c5;return((_0xc41c5=this['getSource']())==null?void 0x0:_0xc41c5[_0x53bb74(0x1dd)][_0x53bb74(0x1c8)])??0x0;}[_0x3af55f(0x1ef)](_0x19b3f2,_0x1a1102){const _0x5024a9=_0x3af55f;var _0x2a9c7e;return(_0x2a9c7e=this['getSource']())!=null&&(_0x2a9c7e=_0x2a9c7e[_0x5024a9(0x1d7)][_0x19b3f2])!=null&&_0x2a9c7e[_0x5024a9(0x201)][_0x1a1102]?this[_0x5024a9(0x1bd)][_0x5024a9(0x236)](Y,this,_0x19b3f2,_0x1a1102):null;}[_0x3af55f(0x1e5)](_0x5300d5,_0x4815bc){const _0x2cd6dd=_0x3af55f;var _0x5b33f8,_0x438549;let _0x4490c9=(_0x5b33f8=_0x2fe24d(this['_getDocumentData'](),this[_0x2cd6dd(0x1a5)]))==null||(_0x5b33f8=_0x5b33f8['rows'][_0x5300d5])==null?void 0x0:_0x5b33f8[_0x2cd6dd(0x1e0)][_0x4815bc];return _0x4490c9?((_0x438549=this['_getDocumentData']()['body'])==null?void 0x0:_0x438549['dataStream'][_0x2cd6dd(0x1ce)](_0x4490c9[_0x2cd6dd(0x1cc)]+0x1,_0x4490c9[_0x2cd6dd(0x1d1)])[_0x2cd6dd(0x194)](/\r\n$/,''))??'':'';}[_0x3af55f(0x1f0)](_0x497421,_0x1bc763){const _0x31eb26=_0x3af55f;var _0x4f5b50;let _0x4ce03e=this[_0x31eb26(0x18b)](),_0x568311=_0x4ce03e==null||(_0x4f5b50=_0x4ce03e['tableRows'][_0x497421])==null?void 0x0:_0x4f5b50[_0x31eb26(0x201)][_0x1bc763];return _0x568311?_0x44d3dc['deepClone'](_0x568311['margin']??_0x4ce03e[_0x31eb26(0x20a)]??_0x10a2bb):null;}[_0x3af55f(0x187)](_0x50d314,_0x57ac77){const _0x1d4990=_0x3af55f;var _0x363c25;let _0x32dd93=(_0x363c25=this[_0x1d4990(0x18b)]())==null||(_0x363c25=_0x363c25[_0x1d4990(0x1d7)][_0x50d314])==null?void 0x0:_0x363c25[_0x1d4990(0x201)][_0x57ac77];return _0x32dd93!=null&&_0x32dd93[_0x1d4990(0x208)]?_0x44d3dc['deepClone'](_0x32dd93['margin']):null;}['getDefaultCellMargin'](){const _0x26ae94=_0x3af55f;var _0xef2451;return _0x44d3dc[_0x26ae94(0x206)](((_0xef2451=this[_0x26ae94(0x18b)]())==null?void 0x0:_0xef2451[_0x26ae94(0x20a)])??_0x10a2bb);}[_0x3af55f(0x212)](){const _0x18aff3=_0x3af55f;var _0x5ebda1;let _0x170cf8=(_0x5ebda1=this['getSource']())==null?void 0x0:_0x5ebda1[_0x18aff3(0x20a)];return _0x170cf8?_0x44d3dc[_0x18aff3(0x206)](_0x170cf8):null;}[_0x3af55f(0x1e2)](){const _0x1120b4=_0x3af55f;let _0x10ac85=this['_injector']['get'](_0x4deb2e),_0x155aa4=this[_0x1120b4(0x18b)]();return _0x155aa4?_0x10ac85[_0x1120b4(0x200)](this[_0x1120b4(0x1d8)],_0x155aa4):void 0x0;}[_0x3af55f(0x18b)](){const _0x5a0c1b=_0x3af55f;var _0x5b31c7;return(_0x5b31c7=this['_getDocumentData']()[_0x5a0c1b(0x1cf)])==null?void 0x0:_0x5b31c7[this[_0x5a0c1b(0x1a5)]];}[_0x3af55f(0x226)](){const _0x5110c9=_0x3af55f;return _0x2fe24d(this[_0x5110c9(0x1c4)](),this[_0x5110c9(0x1a5)]);}[_0x3af55f(0x1d9)](){const _0x46b254=_0x3af55f;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x46b254(0x1d5)]()-0x1),'startColumn':0x0,'endColumn':Math['max'](0x0,this[_0x46b254(0x1eb)]()-0x1)};}[_0x3af55f(0x1ff)](_0x13f6de,_0x37f7a8){return{'startRow':_0x13f6de,'endRow':_0x13f6de,'startColumn':_0x37f7a8,'endColumn':_0x37f7a8};}[_0x3af55f(0x1c6)](_0x3e6fb9,_0x2b15aa){const _0xd25cce=_0x3af55f;var _0x40c45f;let _0x543883=(_0x40c45f=_0x2fe24d(this[_0xd25cce(0x1c4)](),this[_0xd25cce(0x1a5)]))==null||(_0x40c45f=_0x40c45f['rows'][_0x3e6fb9])==null?void 0x0:_0x40c45f[_0xd25cce(0x1e0)][_0x2b15aa];if(!_0x543883)return null;let _0x30241d=_0x543883[_0xd25cce(0x1cc)]+0x1;return{'startOffset':_0x30241d,'endOffset':Math[_0xd25cce(0x181)](_0x30241d,_0x543883['endOffset']-0x1),'segmentId':this[_0xd25cce(0x20f)]};}['getCellInsertOffset'](_0x96617e,_0x2c932d){const _0x3c67d9=_0x3af55f;let _0x382998=this[_0x3c67d9(0x1c6)](_0x96617e,_0x2c932d);return _0x382998?Math[_0x3c67d9(0x181)](_0x382998[_0x3c67d9(0x1cc)],_0x382998['endOffset']-0x1):null;}['getRowRange'](_0x36620e){const _0xc64ec9=_0x3af55f;return this[_0xc64ec9(0x218)](_0x36620e,0x1);}[_0x3af55f(0x218)](_0x3ca226,_0x101260=0x1){const _0x49ec2c=_0x3af55f;return{'startRow':_0x3ca226,'endRow':_0x3ca226+_0x101260-0x1,'startColumn':0x0,'endColumn':Math[_0x49ec2c(0x181)](0x0,this[_0x49ec2c(0x1eb)]()-0x1)};}['getColumnRange'](_0x3ae6dc){const _0x1cc577=_0x3af55f;return this[_0x1cc577(0x1d3)](_0x3ae6dc,0x1);}[_0x3af55f(0x1d3)](_0x3c95c8,_0x51dbdb=0x1){const _0x37c5d8=_0x3af55f;return{'startRow':0x0,'endRow':Math[_0x37c5d8(0x181)](0x0,this[_0x37c5d8(0x1d5)]()-0x1),'startColumn':_0x3c95c8,'endColumn':_0x3c95c8+_0x51dbdb-0x1};}[_0x3af55f(0x1c0)](){const _0x1b8719=_0x3af55f;return this[_0x1b8719(0x224)](this[_0x1b8719(0x1d9)](),_0x3a682d['Table']);}[_0x3af55f(0x1b8)](_0x3e461b){const _0x496f65=_0x3af55f;return this[_0x496f65(0x190)](_0x3e461b,0x1);}['selectRows'](_0x81e03,_0x23ae07=0x1){const _0x3184d1=_0x3af55f;return this[_0x3184d1(0x224)](this[_0x3184d1(0x218)](_0x81e03,_0x23ae07),_0x3a682d[_0x3184d1(0x1bc)]);}[_0x3af55f(0x21a)](_0x595a21){const _0x1fbd24=_0x3af55f;return this[_0x1fbd24(0x1fa)](_0x595a21,0x1);}[_0x3af55f(0x1fa)](_0x169333,_0x2fb74e=0x1){const _0x405b90=_0x3af55f;return this['selectRange'](this[_0x405b90(0x1d3)](_0x169333,_0x2fb74e),_0x3a682d[_0x405b90(0x1d2)]);}[_0x3af55f(0x219)](_0x82a94,_0x2a7753){const _0x11f6aa=_0x3af55f;return this[_0x11f6aa(0x224)](this[_0x11f6aa(0x1ff)](_0x82a94,_0x2a7753),_0x3a682d[_0x11f6aa(0x1d0)]);}[_0x3af55f(0x224)](_0x2eea65,_0x244bd1=_0x3a682d['Range']){const _0x2f5608=_0x3af55f;return this[_0x2f5608(0x1bd)][_0x2f5608(0x222)](_0x46af07)[_0x2f5608(0x191)]({..._0x2eea65,'kind':_0x244bd1,'segmentId':this[_0x2f5608(0x20f)],'tableId':this[_0x2f5608(0x1a5)]}),!0x0;}['insertRowBefore'](_0x5965d7){const _0x3b44bd=_0x3af55f;return this[_0x3b44bd(0x202)](_0x5965d7,0x1);}[_0x3af55f(0x19f)](_0x2dea22){const _0x92a448=_0x3af55f;return this[_0x92a448(0x1cb)](_0x2dea22,0x1);}['insertRowsBefore'](_0x40215f,_0x35be9d){const _0xdd2d1d=_0x3af55f;let _0x26a099=this[_0xdd2d1d(0x1c4)](),_0x56bd0a=_0x2f9970(_0x26a099,this[_0xdd2d1d(0x1a5)],_0x40215f,_0x35be9d,_0x2649be[_0xdd2d1d(0x1d6)],this[_0xdd2d1d(0x1ed)]());return _0x56bd0a?this[_0xdd2d1d(0x210)](_0x26a099,_0x56bd0a['actions']):!0x1;}[_0x3af55f(0x1cb)](_0x23f154,_0x482f4d){const _0x4f3c3f=_0x3af55f;let _0x11e11c=this[_0x4f3c3f(0x1c4)](),_0x5c82bc=_0x2f9970(_0x11e11c,this['_tableId'],_0x23f154,_0x482f4d,_0x2649be[_0x4f3c3f(0x1ab)],this['_getBodyPath']());return _0x5c82bc?this[_0x4f3c3f(0x210)](_0x11e11c,_0x5c82bc['actions']):!0x1;}[_0x3af55f(0x22e)](){const _0x49e847=_0x3af55f;return this['insertRowsAfter'](Math[_0x49e847(0x181)](0x0,this[_0x49e847(0x1d5)]()-0x1),0x1);}[_0x3af55f(0x220)](_0x337f6e){const _0x871863=_0x3af55f;return this[_0x871863(0x1e9)](_0x337f6e,0x1);}[_0x3af55f(0x20b)](_0x5c68d5){const _0x8c26b1=_0x3af55f;return this[_0x8c26b1(0x1df)](_0x5c68d5,0x1);}['insertColumnsBefore'](_0x3c4a8b,_0x879259){const _0x81014e=_0x3af55f;let _0x5ef725=this[_0x81014e(0x1c4)](),_0x48388e=_0x2f079e(_0x5ef725,this['_tableId'],_0x3c4a8b,_0x879259,_0x2649be['Left'],{'bodyPath':this['_getBodyPath']()});return _0x48388e?this[_0x81014e(0x210)](_0x5ef725,_0x48388e[_0x81014e(0x213)]):!0x1;}['insertColumnsAfter'](_0x33e832,_0xa1d0ef){const _0x44ada1=_0x3af55f;let _0x2253a1=this[_0x44ada1(0x1c4)](),_0x4688d4=_0x2f079e(_0x2253a1,this[_0x44ada1(0x1a5)],_0x33e832,_0xa1d0ef,_0x2649be[_0x44ada1(0x1e6)],{'bodyPath':this[_0x44ada1(0x1ed)]()});return _0x4688d4?this['_mutateActions'](_0x2253a1,_0x4688d4[_0x44ada1(0x213)]):!0x1;}['appendColumn'](){const _0x6998a1=_0x3af55f;return this['insertColumnsAfter'](Math[_0x6998a1(0x181)](0x0,this[_0x6998a1(0x1eb)]()-0x1),0x1);}[_0x3af55f(0x19c)](_0x2ac93b){return this['deleteRows'](_0x2ac93b,0x1);}[_0x3af55f(0x233)](_0x162d58,_0x6ad362=0x1){const _0x3c5a66=_0x3af55f;return!!this[_0x3c5a66(0x1f6)]['syncExecuteCommand'](_0xe59a77['id'],{'endRow':_0x162d58+_0x6ad362-0x1,'segmentId':this[_0x3c5a66(0x20f)],'startRow':_0x162d58,'tableId':this['_tableId'],'unitId':this[_0x3c5a66(0x1d8)]});}[_0x3af55f(0x20d)](_0x380463){const _0x38ad69=_0x3af55f;return this[_0x38ad69(0x1b5)](_0x380463,0x1);}[_0x3af55f(0x1b5)](_0x4fb75f,_0x41ab26=0x1){const _0x1edb76=_0x3af55f;return!!this['_commandService'][_0x1edb76(0x1f2)](_0x269022['id'],{'endColumn':_0x4fb75f+_0x41ab26-0x1,'segmentId':this[_0x1edb76(0x20f)],'startColumn':_0x4fb75f,'tableId':this[_0x1edb76(0x1a5)],'unitId':this[_0x1edb76(0x1d8)]});}[_0x3af55f(0x216)](){const _0x4807db=_0x3af55f;return!!this['_commandService'][_0x4807db(0x1f2)](_0x46859a['id'],{'segmentId':this[_0x4807db(0x20f)],'tableId':this[_0x4807db(0x1a5)],'unitId':this['_unitId']});}[_0x3af55f(0x1ba)](_0x206f49,_0x560d8c){const _0x176a39=_0x3af55f;let _0x577ccc=this[_0x176a39(0x1c4)]();return this[_0x176a39(0x210)](_0x577ccc,_0x49ba5c(_0x577ccc,this[_0x176a39(0x1a5)],_0x206f49,_0x560d8c));}[_0x3af55f(0x22b)](_0x4a1a7b){const _0x3ade4c=_0x3af55f;let _0x1b0d71=this[_0x3ade4c(0x1c4)]();return this[_0x3ade4c(0x210)](_0x1b0d71,_0x5cab22(_0x1b0d71,this[_0x3ade4c(0x1a5)],_0x4a1a7b,this[_0x3ade4c(0x1ed)]()));}['moveRow'](_0x400331,_0x56346e,_0x5dd896=_0x2649be[_0x3af55f(0x1d6)]){const _0x5f4e9e=_0x3af55f;return this[_0x5f4e9e(0x1ec)](_0x400331,0x1,_0x56346e,_0x5dd896);}[_0x3af55f(0x1ec)](_0x41ed26,_0x5508a1,_0x3d4c03,_0x39d49a=_0x2649be[_0x3af55f(0x1d6)]){const _0xe87093=_0x3af55f;let _0x17b9b0=this[_0xe87093(0x1c4)](),_0xd42835=_0x40e946(_0x17b9b0,this[_0xe87093(0x1a5)],_0x41ed26,_0x3d4c03,_0x5508a1,_0x39d49a,this[_0xe87093(0x1ed)]());return _0xd42835?this['_mutateActions'](_0x17b9b0,_0xd42835[_0xe87093(0x213)]):!0x1;}[_0x3af55f(0x1af)](_0x3355b2,_0x102c23,_0x11f7f9=_0x2649be[_0x3af55f(0x232)]){const _0x231078=_0x3af55f;return this[_0x231078(0x1ca)](_0x3355b2,0x1,_0x102c23,_0x11f7f9);}[_0x3af55f(0x1ca)](_0xc1bffd,_0x5e3b05,_0x611b35,_0xf1e461=_0x2649be['Left']){const _0x2230e0=_0x3af55f;let _0x202000=this[_0x2230e0(0x1c4)](),_0x53b730=_0x38c19c(_0x202000,this[_0x2230e0(0x1a5)],_0xc1bffd,_0x611b35,_0x5e3b05,_0xf1e461,this[_0x2230e0(0x1ed)]());return _0x53b730?this[_0x2230e0(0x210)](_0x202000,_0x53b730[_0x2230e0(0x213)]):!0x1;}['mergeCells'](_0x622f){const _0x415c33=_0x3af55f;try{let _0x4e0ab3=this['_getDocumentData'](),_0x587c91=_0x5daaa1({'documentData':_0x4e0ab3,'tableId':this[_0x415c33(0x1a5)],..._0x622f});return _0x587c91?this[_0x415c33(0x210)](_0x4e0ab3,_0x587c91['actions'],_0x622f):!0x1;}catch{return!0x1;}}[_0x3af55f(0x19a)](_0x7bb3ec){const _0x2044c1=_0x3af55f;try{let _0x19402d=this[_0x2044c1(0x1c4)](),_0x43c559=_0x51717e({'documentData':_0x19402d,'tableId':this[_0x2044c1(0x1a5)],..._0x7bb3ec});return _0x43c559?this['_mutateActions'](_0x19402d,_0x43c559[_0x2044c1(0x213)],_0x7bb3ec):!0x1;}catch{return!0x1;}}[_0x3af55f(0x215)](_0xf4ce12,_0x263c88,_0x3dfac5){const _0x36da2b=_0x3af55f;let _0xfebcb6=this[_0x36da2b(0x1c4)](),_0x4b4ca2=_0xc9b810(this[_0x36da2b(0x19b)]['getDocumentDataModel']()[_0x36da2b(0x21b)](),this[_0x36da2b(0x20f)]);return this[_0x36da2b(0x210)](_0xfebcb6,_0x8aa1c1({'documentData':_0xfebcb6,'tableId':this[_0x36da2b(0x1a5)],'row':_0xf4ce12,'column':_0x263c88,'text':_0x3dfac5},_0x4b4ca2),this[_0x36da2b(0x1ff)](_0xf4ce12,_0x263c88));}[_0x3af55f(0x1b4)](_0x2a026f,_0xa82a4d){const _0xb631ec=_0x3af55f;let _0x56855e=this['_getDocumentData']();return this[_0xb631ec(0x210)](_0x56855e,_0x3be999(_0x56855e,{'tableId':this[_0xb631ec(0x1a5)],..._0x2a026f,'value':_0xa82a4d}),_0x2a026f);}[_0x3af55f(0x234)](_0x2626a5,_0x119233){const _0x3acf63=_0x3af55f;let _0xba54f8=this[_0x3acf63(0x1c4)]();return this['_mutateActions'](_0xba54f8,_0x4339b2({'documentData':_0xba54f8,'tableId':this[_0x3acf63(0x1a5)],..._0x2626a5,'margin':_0x119233}),_0x2626a5);}[_0x3af55f(0x1b9)](_0x2c0ab9){const _0x4a07ee=_0x3af55f;let _0x518bd5=this[_0x4a07ee(0x1c4)]();return this[_0x4a07ee(0x210)](_0x518bd5,_0xc24e0e(_0x518bd5,this['_tableId'],_0x2c0ab9));}[_0x3af55f(0x1b7)](_0x158869,_0x15f6dd){const _0x492c6f=_0x3af55f;let _0x140c9e=this[_0x492c6f(0x1c4)]();return this['_mutateActions'](_0x140c9e,this[_0x492c6f(0x1b6)](_0x140c9e,_0x158869,_0x15f6dd),_0x158869);}['setTableBackground'](_0x5f0e33){const _0x1734fa=_0x3af55f;return this['setCellBackground'](this[_0x1734fa(0x1d9)](),_0x5f0e33);}[_0x3af55f(0x1f8)](_0x380842){const _0x565ff7=_0x3af55f;return this[_0x565ff7(0x1b7)](this[_0x565ff7(0x1d9)](),_0x380842);}['setTableStyle'](_0x47d071){const _0x5ae695=_0x3af55f;let _0x4d3dfd=this[_0x5ae695(0x1c4)](),_0x27cf76=this['getTableRange'](),_0x16f019=_0x47d071[_0x5ae695(0x22a)]?_0x3be999(_0x4d3dfd,{'tableId':this['_tableId'],..._0x27cf76,'value':_0x47d071[_0x5ae695(0x22a)]}):null,_0x53b968=_0x47d071['border']?this[_0x5ae695(0x1b6)](_0x4d3dfd,_0x27cf76,_0x47d071[_0x5ae695(0x198)]):null;return this[_0x5ae695(0x210)](_0x4d3dfd,_0x1a4f7f[_0x5ae695(0x1a7)](_0x16f019,_0x53b968),_0x27cf76);}[_0x3af55f(0x19d)](_0x321c26,_0x912e70,_0x9bb8f1=_0x4f9476['AT_LEAST']){const _0x512ddc=_0x3af55f;var _0x3f9494;let _0x55f56e=this[_0x512ddc(0x1c4)]();return(_0x3f9494=_0x55f56e[_0x512ddc(0x1cf)])!=null&&(_0x3f9494=_0x3f9494[this[_0x512ddc(0x1a5)]])!=null&&_0x3f9494[_0x512ddc(0x1d7)][_0x321c26]?this[_0x512ddc(0x210)](_0x55f56e,_0x2a6d77(_0x55f56e,this[_0x512ddc(0x1a5)],_0x321c26,_0x912e70,_0x9bb8f1)):!0x1;}['getRowHeight'](_0x321009){var _0x59bf4d;let _0x13dab8=(_0x59bf4d=this['getSource']())==null||(_0x59bf4d=_0x59bf4d['tableRows'][_0x321009])==null?void 0x0:_0x59bf4d['trHeight'];return _0x13dab8?_0x44d3dc['deepClone'](_0x13dab8):null;}[_0x3af55f(0x1b1)](_0xf0213,_0x19835a){const _0x4bbfe9=_0x3af55f;var _0x1e38ba;let _0x2a5501=this['_getDocumentData']();return(_0x1e38ba=_0x2a5501[_0x4bbfe9(0x1cf)])!=null&&(_0x1e38ba=_0x1e38ba[this[_0x4bbfe9(0x1a5)]])!=null&&_0x1e38ba['tableColumns'][_0xf0213]?this[_0x4bbfe9(0x210)](_0x2a5501,_0x380eb0(_0x2a5501,this[_0x4bbfe9(0x1a5)],_0xf0213,_0x19835a)):!0x1;}[_0x3af55f(0x1ea)](_0xaad15f=0x0,_0x22ac22=this[_0x3af55f(0x1d5)]()){const _0x3e29d2=_0x3af55f;let _0x5dc96d=this[_0x3e29d2(0x1c4)]();return this[_0x3e29d2(0x210)](_0x5dc96d,_0x585fc2(_0x5dc96d,this['_tableId'],_0xaad15f,_0xaad15f+_0x22ac22-0x1));}['distributeColumns'](_0x36f971=0x0,_0x4a2018=this[_0x3af55f(0x1eb)]()){const _0x210e4f=_0x3af55f;let _0x326a94=this[_0x210e4f(0x1c4)]();return this['_mutateActions'](_0x326a94,_0x35e68b(_0x326a94,this['_tableId'],_0x36f971,_0x36f971+_0x4a2018-0x1));}[_0x3af55f(0x1a3)](){const _0x3d6750=_0x3af55f;var _0x368f67;return((_0x368f67=this[_0x3d6750(0x1e2)]())==null?void 0x0:_0x368f67['headerRowCount'])??0x0;}[_0x3af55f(0x235)](_0x4f5946){const _0x57c023=_0x3af55f;let _0x2a381d=this[_0x57c023(0x1c4)](),_0x16837d=_0x2acf2d(_0x2a381d,this['_tableId'],_0x4f5946);return _0x16837d?this[_0x57c023(0x210)](_0x2a381d,_0x16837d[_0x57c023(0x213)]):!0x1;}[_0x3af55f(0x225)](_0x448663){const _0x548f6e=_0x3af55f;return this[_0x548f6e(0x235)](_0x448663);}['hasTitleRow'](){const _0x47c301=_0x3af55f;var _0x400117;return((_0x400117=this[_0x47c301(0x1e2)]())==null?void 0x0:_0x400117[_0x47c301(0x189)])??!0x1;}[_0x3af55f(0x203)](){const _0x5f33ad=_0x3af55f;let _0x4d40e7=this['_getDocumentData'](),_0x5016c9=_0x590c3e(_0x4d40e7,this[_0x5f33ad(0x1a5)],this['_getBodyPath']());return _0x5016c9?this[_0x5f33ad(0x210)](_0x4d40e7,_0x5016c9[_0x5f33ad(0x213)]):!0x1;}[_0x3af55f(0x1a8)](_0x1d0a20,_0x1dea59){const _0x18dde5=_0x3af55f;return!!this['_commandService'][_0x18dde5(0x1f2)](_0x47a3a9['id'],{'unitId':this[_0x18dde5(0x1d8)],'tableId':this[_0x18dde5(0x1a5)],'segmentId':this[_0x18dde5(0x20f)],'column':_0x1d0a20,'config':_0x1dea59});}[_0x3af55f(0x1f3)](_0x4335bb,_0x285575){const _0x16c082=_0x3af55f;let _0x4baf4b=this['_getDocumentData']();return this[_0x16c082(0x210)](_0x4baf4b,_0x596c36(_0x4baf4b,this[_0x16c082(0x1fb)](),this[_0x16c082(0x1a5)],_0x4335bb,_0x285575,this[_0x16c082(0x1ed)]()));}['_buildBorderActions'](_0x2a8821,_0x28b66e,_0x46cf12){const _0x440568=_0x3af55f;return _0x475739({'documentData':_0x2a8821,'tableId':this[_0x440568(0x1a5)],..._0x28b66e,'preset':_0x46cf12[_0x440568(0x21d)]??_0x21e5da[_0x440568(0x1f4)],'border':_0x46cf12[_0x440568(0x198)]??{'color':{'rgb':_0x46cf12[_0x440568(0x196)]??this[_0x440568(0x1bd)][_0x440568(0x222)](_0x56cb3b)[_0x440568(0x1a6)](_0x440568(0x21c))},'width':{'v':_0x46cf12[_0x440568(0x1e7)]??0x1},'dashStyle':_0x316dee[_0x440568(0x211)]}});}['_getDocumentData'](){const _0xbad7ad=_0x3af55f;let _0x104853=this[_0xbad7ad(0x19b)]['getDocumentDataModel']()['getSnapshot']();return this['_segmentId']?{...this[_0xbad7ad(0x19b)]['getDocumentDataModel'](this['_segmentId'])['getSnapshot'](),'documentStyle':_0x104853[_0xbad7ad(0x1e1)],'tableSource':_0x104853['tableSource']}:_0x104853;}['_serializeModel'](){const _0xea4ea9=_0x3af55f;return this['_injector']['get'](_0x4deb2e)[_0xea4ea9(0x1c2)](this['_unitId'],this[_0xea4ea9(0x19b)][_0xea4ea9(0x18d)]()[_0xea4ea9(0x21b)]());}[_0x3af55f(0x1ed)](){const _0x4422c1=_0x3af55f;return _0xc9b810(this[_0x4422c1(0x19b)][_0x4422c1(0x18d)]()[_0x4422c1(0x21b)](),this[_0x4422c1(0x20f)]);}[_0x3af55f(0x210)](_0x51949d,_0x5cf43a,_0xa5c032){const _0x4cf055=_0x3af55f;return _0x32465f(this[_0x4cf055(0x1f6)],this[_0x4cf055(0x1d8)],_0x51949d,_0x5cf43a,_0xa5c032?{'tableId':this[_0x4cf055(0x1a5)],'segmentId':this['_segmentId'],..._0xa5c032}:void 0x0);}};$=ie([Q(0x3,_0x19b242),Q(0x4,_0xa66981(_0x5b17ed))],$);function _0x3bd1(){const _0x37b247=['getTableAt','headerText','6631460Jsogaf','getHeaderRowCount','getBody','_tableId','getColorFromTheme','compose','setColumnType','from','includes','Below','text','filter','defineProperty','moveColumn','symbol','setColumnWidth','50wRvCmJ','DocsTableColumnType','setCellBackground','deleteColumns','_buildBorderActions','setBorder','selectRow','setDefaultCellMargin','moveTableBy','DocsTableColumnInsertPosition','Row','_injector','object','insertTableFromData','selectTable','setBackgroundColor','serializeDocument','getTableAtSelection','_getDocumentData','getInsertOffset','getCellContentRange','unmerge','length','_getTableDocumentData','moveColumns','insertRowsAfter','startOffset','DocsTableSelectionKind','slice','tableSource','Cell','endOffset','Column','getColumnsRange','1379118PVAcbH','getRowCount','Above','tableRows','_unitId','getTableRange','setMargin','call','iterator','tableColumns','getContentRange','insertColumnsAfter','cells','documentStyle','getMetadata','body','2892072jIFvDU','getCellText','Right','width','headerRowCount','insertColumnsBefore','distributeRows','getColumnCount','moveRows','_getBodyPath','getColumnIndex','getCell','getCellMargin','8532yoHYiy','syncExecuteCommand','sortByColumn','All','toPrimitive','_commandService','3238291lWWoFj','setTableBorder','DocsTableBorderPreset','selectColumns','_serializeModel','getOwnPropertyDescriptor','decorate','extend','getCellRange','resolveTableMetadata','tableCells','insertRowsBefore','insertTitleRow','getSegmentId','findTables','deepClone','string','margin','some','cellMargin','insertColumnAfter','getInfo','deleteColumn','function','_segmentId','_mutateActions','SOLID','getDefaultCellMarginOverride','actions','getTables','setCellText','deleteTable','_rowContainsText','getRowsRange','selectCell','selectColumn','getSnapshot','gray.900','preset','_getTables','prototype','insertColumnBefore','67352LAdacN','get','tableId','selectRange','pinHeaderRows','getRange','dataStream','133818sjMKFT','getId','backgroundColor','moveTableToOffset','setText','getTable','appendRow','_row','18crHDVn','50446lAIEYR','Left','deleteRows','setCellMargin','setHeaderRowCount','createInstance','DocsTableInsertTablePosition','DocsTableSortDirection','max','_column','getMargin','getStableTableSelection','constructor','8YUnPwT','getCellMarginOverride','default','titleRow','mergeTo','getSource','findTableByText','getDocumentDataModel','clearMarginOverride','DashStyleType','selectRows','setStructuralSelection','12xmcLyf','_table','replace','getMarginOverride','color','titleText','border','segmentId','unmergeCells','_document','deleteRow','setRowHeight','_createFDocumentTable','insertRowAfter'];_0x3bd1=function(){return _0x37b247;};return _0x3bd1();}var ae=class extends _0x52b261{['getTables'](_0x194864=''){const _0x1d391f=_0x3af55f;return this[_0x1d391f(0x21e)](_0x194864)['map'](_0x32b782=>this['_createFDocumentTable'](_0x32b782['tableId'],_0x194864));}[_0x3af55f(0x22d)](_0x157a87,_0x11edf3=''){const _0x3ffb1b=_0x3af55f;return this[_0x3ffb1b(0x21e)](_0x11edf3)[_0x3ffb1b(0x209)](_0x21b52a=>_0x21b52a[_0x3ffb1b(0x223)]===_0x157a87)?this[_0x3ffb1b(0x19e)](_0x157a87,_0x11edf3):null;}[_0x3af55f(0x1a0)](_0x43466b,_0x256a2d=''){const _0x1cacd5=_0x3af55f;var _0x3e6b8d;let _0x5234bc=(_0x3e6b8d=this['_getTables'](_0x256a2d)[_0x43466b])==null?void 0x0:_0x3e6b8d[_0x1cacd5(0x223)];return _0x5234bc?this[_0x1cacd5(0x19e)](_0x5234bc,_0x256a2d):null;}[_0x3af55f(0x1c3)](){const _0x228e8a=_0x3af55f;let _0xb80416=this[_0x228e8a(0x1bd)][_0x228e8a(0x222)](_0x46af07)[_0x228e8a(0x184)]();return _0xb80416!=null&&_0xb80416[_0x228e8a(0x223)]?this[_0x228e8a(0x19e)](_0xb80416[_0x228e8a(0x223)],_0xb80416[_0x228e8a(0x199)]):null;}[_0x3af55f(0x18c)](_0x1dadc0,_0x5867aa=''){const _0x44c466=_0x3af55f;return this[_0x44c466(0x205)](_0x1dadc0,_0x5867aa)[0x0]??null;}[_0x3af55f(0x205)](_0x17060c,_0x113512=''){const _0x28b550=_0x3af55f;let _0x2fde30=this[_0x28b550(0x1c9)](_0x113512),_0x1d0bc1=typeof _0x17060c==_0x28b550(0x207)?{'text':_0x17060c}:_0x17060c;return this[_0x28b550(0x214)](_0x113512)[_0x28b550(0x1ad)](_0x4d5396=>{const _0x39c937=_0x28b550;let _0x35ca79=_0x4d5396[_0x39c937(0x229)]();return!(_0x1d0bc1[_0x39c937(0x223)]&&_0x35ca79!==_0x1d0bc1[_0x39c937(0x223)]||_0x1d0bc1[_0x39c937(0x1ac)]&&!this['_tableContainsText'](_0x2fde30,_0x35ca79,_0x1d0bc1[_0x39c937(0x1ac)])||_0x1d0bc1[_0x39c937(0x1a1)]&&!this[_0x39c937(0x217)](_0x4d5396,0x0,_0x1d0bc1[_0x39c937(0x1a1)])||_0x1d0bc1[_0x39c937(0x197)]&&!this[_0x39c937(0x217)](_0x4d5396,0x0,_0x1d0bc1[_0x39c937(0x197)]));});}['insertTable'](_0xf8c2cd,_0x2b07ef,_0x3031ca={}){const _0x395b71=_0x3af55f;let _0x260dba=this[_0x395b71(0x1bd)][_0x395b71(0x222)](_0x19b242),_0x1eb969=_0x3031ca['tableId']??_0x556848(0x6);return _0x260dba['syncExecuteCommand'](_0x7e92c1['id'],{..._0x3031ca,'unitId':this[_0x395b71(0x229)](),'rows':_0xf8c2cd,'columns':_0x2b07ef,'tableId':_0x1eb969})?this['_createFDocumentTable'](_0x1eb969,_0x3031ca['segmentId']??''):null;}[_0x3af55f(0x1bf)](_0x2803b6,_0xf2ed73={}){const _0x5b8b67=_0x3af55f;let _0x547707=this[_0x5b8b67(0x1bd)][_0x5b8b67(0x222)](_0x19b242),_0x1cbed5=_0xf2ed73['tableId']??_0x556848(0x6);return _0x547707[_0x5b8b67(0x1f2)](_0x7e92c1['id'],{..._0xf2ed73,'unitId':this[_0x5b8b67(0x229)](),'values':_0x2803b6,'tableId':_0x1cbed5})?this[_0x5b8b67(0x19e)](_0x1cbed5,_0xf2ed73[_0x5b8b67(0x199)]??''):null;}[_0x3af55f(0x21e)](_0x2c79eb=''){const _0x182fc9=_0x3af55f;let {tables:_0x157463=[]}=this[_0x182fc9(0x1a4)](_0x2c79eb);return _0x157463;}[_0x3af55f(0x1c9)](_0x2d1ed4=''){const _0x575caf=_0x3af55f;let _0x6ffba1=this[_0x575caf(0x18d)]()[_0x575caf(0x21b)]();return _0x2d1ed4?{...this[_0x575caf(0x18d)](_0x2d1ed4)[_0x575caf(0x21b)](),'documentStyle':_0x6ffba1[_0x575caf(0x1e1)],'tableSource':_0x6ffba1['tableSource']}:_0x6ffba1;}[_0x3af55f(0x19e)](_0x975142,_0x9a8687=''){const _0x197361=_0x3af55f;return this[_0x197361(0x1bd)]['createInstance']($,this,_0x975142,_0x9a8687);}['_tableContainsText'](_0x29cc26,_0x2c2a0f,_0xc79778){const _0x5b3b04=_0x3af55f;var _0x105ab2;let _0x526ec9=_0x2fe24d(_0x29cc26,_0x2c2a0f);if(!_0x526ec9)return!0x1;let _0x3a68e0=(_0x105ab2=_0x29cc26[_0x5b3b04(0x1e3)])==null?void 0x0:_0x105ab2[_0x5b3b04(0x227)];return _0x3a68e0?_0x3a68e0[_0x5b3b04(0x1ce)](_0x526ec9[_0x5b3b04(0x1cc)],_0x526ec9['endOffset'])['includes'](_0xc79778):!0x1;}[_0x3af55f(0x217)](_0x44f0d5,_0x1ebf39,_0x2a4ecc){const _0x1ae553=_0x3af55f;return Array['from']({'length':_0x44f0d5[_0x1ae553(0x1eb)]()},(_0x2b1aba,_0x197f7c)=>_0x44f0d5[_0x1ae553(0x1e5)](_0x1ebf39,_0x197f7c))['some'](_0x4971b8=>_0x4971b8[_0x1ae553(0x1aa)](_0x2a4ecc));}};_0x52b261[_0x3af55f(0x1fe)](ae);export{$ as FDocumentTable,Y as FDocumentTableCell};
|
|
1
|
+
const _0x38beaf=_0x3f25;(function(_0x4dd5e7,_0x3bfc70){const _0x17ef5c=_0x3f25,_0x521afd=_0x4dd5e7();while(!![]){try{const _0x263fca=-parseInt(_0x17ef5c(0x12c))/0x1*(-parseInt(_0x17ef5c(0x10a))/0x2)+-parseInt(_0x17ef5c(0xde))/0x3*(-parseInt(_0x17ef5c(0xc4))/0x4)+-parseInt(_0x17ef5c(0x90))/0x5+-parseInt(_0x17ef5c(0xe4))/0x6*(parseInt(_0x17ef5c(0x107))/0x7)+parseInt(_0x17ef5c(0xb8))/0x8*(parseInt(_0x17ef5c(0xa4))/0x9)+-parseInt(_0x17ef5c(0xd3))/0xa*(parseInt(_0x17ef5c(0xc3))/0xb)+-parseInt(_0x17ef5c(0x96))/0xc*(-parseInt(_0x17ef5c(0x8c))/0xd);if(_0x263fca===_0x3bfc70)break;else _0x521afd['push'](_0x521afd['shift']());}catch(_0x1df5f5){_0x521afd['push'](_0x521afd['shift']());}}}(_0x3202,0x1d481));function _0x3f25(_0x552a5f,_0x3b0a74){_0x552a5f=_0x552a5f-0x83;const _0x320238=_0x3202();let _0x3f25b0=_0x320238[_0x552a5f];return _0x3f25b0;}import{DEFAULT_DOCS_TABLE_CELL_MARGIN as _0x4cbc96,DocsTableBorderPreset as _0xd2da88,DocsTableColumnInsertPosition as _0x431b6d,DocsTableColumnType as _0x4ab92e,DocsTableDeleteColumnsCommand as _0x1d92ac,DocsTableDeleteRowsCommand as _0x362549,DocsTableDeleteTableCommand as _0x5b9217,DocsTableInsertPosition as _0x32a61d,DocsTableInsertTableCommand as _0x4a86fa,DocsTableInsertTablePosition as _0x200642,DocsTableModel as _0x36df83,DocsTableRowInsertPosition as _0xa6f18d,DocsTableSelectionKind as _0x5cbaa7,DocsTableSelectionService as _0x2e8832,DocsTableSetColumnTypeCommand as _0x146a78,DocsTableSortDirection as _0x3f5d4a,buildDistributeTableColumnsMutationActions as _0x1f7104,buildDistributeTableRowsMutationActions as _0x5e8847,buildInsertTableColumnsMutationActions as _0x268fb5,buildInsertTableRowsMutationActions as _0x24b415,buildInsertTableTitleRowMutationActions as _0x2a31bb,buildMergeCellsMutationActions as _0x3ac59b,buildMoveFloatingTableMutationActions as _0x135a27,buildMoveTableColumnsMutationActions as _0x355d0e,buildMoveTableRowsMutationActions as _0x20071c,buildMoveTableToOffsetMutationActions as _0x9a5c47,buildResizeTableColumnActionsFromWidth as _0x4bd7bf,buildResizeTableRowActionsFromHeight as _0x43f0e2,buildSetTableBackgroundMutationActions as _0x77beae,buildSetTableBorderMutationActions as _0x3666b,buildSetTableCellMarginMutationActions as _0x53cf24,buildSetTableCellTextMutationActions as _0x341e8e,buildSetTableDefaultCellMarginMutationActions as _0x3ac17a,buildSetTableHeaderRowCountMutationActions as _0x47f16f,buildSortTableMutationActions as _0x511d98,buildUnmergeCellsMutationActions as _0x465231,executeRichTextTableActions as _0xeaebb1,getTableActionBodyPath as _0x16e745,getTableRangeById as _0x5ef887}from'@univerjs-pro/docs-table';import{DashStyleType as _0x10f729,ICommandService as _0x411ad4,Inject as _0x3de653,Injector as _0x5a9c68,JSONX as _0x1b64cb,TableRowHeightRule as _0x4ae1df,ThemeService as _0x43634b,Tools as _0x219585,generateRandomId as _0x49a440}from'@univerjs/core';import{FEnum as _0x31aab7}from'@univerjs/core/facade';import{FDocument as _0x2f372a}from'@univerjs/docs/facade';var J=class extends _0x31aab7{get[_0x38beaf(0x128)](){return _0x200642;}get['DocsTableColumnType'](){return _0x4ab92e;}get['DocsTableSelectionKind'](){return _0x5cbaa7;}get[_0x38beaf(0x10b)](){return _0xa6f18d;}get[_0x38beaf(0x93)](){return _0x431b6d;}get[_0x38beaf(0x127)](){return _0xd2da88;}get[_0x38beaf(0x89)](){return _0x3f5d4a;}get[_0x38beaf(0xe8)](){return _0x10f729;}};_0x31aab7[_0x38beaf(0xa9)](J);var Y=class{constructor(_0x9642ce,_0x3a65a9,_0x39c837){const _0x4b1c82=_0x38beaf;this['_table']=_0x9642ce,this[_0x4b1c82(0xb1)]=_0x3a65a9,this[_0x4b1c82(0xf5)]=_0x39c837;}[_0x38beaf(0x13d)](){const _0x2c3e9d=_0x38beaf;return this[_0x2c3e9d(0x123)];}[_0x38beaf(0xb2)](){return this['_row'];}[_0x38beaf(0xa7)](){return this['_column'];}[_0x38beaf(0x9c)](){const _0x5a79d9=_0x38beaf;return this[_0x5a79d9(0x123)][_0x5a79d9(0x86)](this[_0x5a79d9(0xb1)],this[_0x5a79d9(0xf5)]);}[_0x38beaf(0xac)](){const _0xa77e04=_0x38beaf;return this[_0xa77e04(0x123)]['getCellContentRange'](this[_0xa77e04(0xb1)],this[_0xa77e04(0xf5)]);}['getInsertOffset'](){const _0x25d4d4=_0x38beaf;return this[_0x25d4d4(0x123)]['getCellInsertOffset'](this[_0x25d4d4(0xb1)],this[_0x25d4d4(0xf5)]);}['getMargin'](){const _0x4e9862=_0x38beaf;return this[_0x4e9862(0x123)]['getCellMargin'](this[_0x4e9862(0xb1)],this[_0x4e9862(0xf5)]);}['getMarginOverride'](){const _0x1940c8=_0x38beaf;return this['_table'][_0x1940c8(0xaf)](this[_0x1940c8(0xb1)],this[_0x1940c8(0xf5)]);}[_0x38beaf(0x114)](_0x1b9e39){const _0x5ad329=_0x38beaf;return this[_0x5ad329(0x123)][_0x5ad329(0x13c)](this[_0x5ad329(0x123)]['getCellRange'](this[_0x5ad329(0xb1)],this[_0x5ad329(0xf5)]),_0x1b9e39);}[_0x38beaf(0xa2)](){const _0x37c257=_0x38beaf;return this[_0x37c257(0x123)]['setCellMargin'](this[_0x37c257(0x123)][_0x37c257(0xb0)](this[_0x37c257(0xb1)],this[_0x37c257(0xf5)]),null);}[_0x38beaf(0x138)](_0x1ba714){const _0x136560=_0x38beaf;return this[_0x136560(0x123)][_0x136560(0x9a)](this[_0x136560(0xb1)],this[_0x136560(0xf5)],_0x1ba714);}[_0x38beaf(0x120)](_0x9e23f4){const _0x5dc1ce=_0x38beaf;return this[_0x5dc1ce(0x123)]['setCellBackground'](this[_0x5dc1ce(0x123)]['getCellRange'](this[_0x5dc1ce(0xb1)],this[_0x5dc1ce(0xf5)]),_0x9e23f4);}[_0x38beaf(0x117)](_0x1e2e08){const _0x4d308a=_0x38beaf;return this['_table'][_0x4d308a(0x117)](this[_0x4d308a(0x123)][_0x4d308a(0xb0)](this[_0x4d308a(0xb1)],this[_0x4d308a(0xf5)]),_0x1e2e08);}[_0x38beaf(0x10e)](_0x104557,_0x4f3741){const _0x57aac5=_0x38beaf;return this[_0x57aac5(0x123)][_0x57aac5(0xf9)]({'startRow':this[_0x57aac5(0xb1)],'startColumn':this[_0x57aac5(0xf5)],'endRow':this[_0x57aac5(0xb1)]+_0x104557-0x1,'endColumn':this[_0x57aac5(0xf5)]+_0x4f3741-0x1});}['unmerge'](){const _0x3565aa=_0x38beaf;return this[_0x3565aa(0x123)]['unmergeCells'](this[_0x3565aa(0x123)]['getCellRange'](this[_0x3565aa(0xb1)],this[_0x3565aa(0xf5)]));}};function X(_0x1fa6bd){'@babel/helpers - typeof';const _0x5b1b4a=_0x38beaf;return X=typeof Symbol==_0x5b1b4a(0xff)&&typeof Symbol['iterator']==_0x5b1b4a(0xd2)?function(_0x58fa79){return typeof _0x58fa79;}:function(_0x2ddf8e){const _0x452954=_0x5b1b4a;return _0x2ddf8e&&typeof Symbol=='function'&&_0x2ddf8e[_0x452954(0x134)]===Symbol&&_0x2ddf8e!==Symbol[_0x452954(0xe2)]?_0x452954(0xd2):typeof _0x2ddf8e;},X(_0x1fa6bd);}function Z(_0x16228d,_0x279c2e){const _0x3008aa=_0x38beaf;if(X(_0x16228d)!='object'||!_0x16228d)return _0x16228d;var _0x1ab998=_0x16228d[Symbol[_0x3008aa(0xf3)]];if(_0x1ab998!==void 0x0){var _0x1ff78b=_0x1ab998['call'](_0x16228d,_0x279c2e||_0x3008aa(0x137));if(X(_0x1ff78b)!=_0x3008aa(0x106))return _0x1ff78b;throw TypeError(_0x3008aa(0xd6));}return(_0x279c2e===_0x3008aa(0xba)?String:Number)(_0x16228d);}function ne(_0x29935f){const _0x512df5=_0x38beaf;var _0x282ba6=Z(_0x29935f,_0x512df5(0xba));return X(_0x282ba6)==_0x512df5(0xd2)?_0x282ba6:_0x282ba6+'';}function re(_0x22094c,_0x2b1590,_0x930de9){const _0x1a80d8=_0x38beaf;return(_0x2b1590=ne(_0x2b1590))in _0x22094c?Object[_0x1a80d8(0xeb)](_0x22094c,_0x2b1590,{'value':_0x930de9,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x22094c[_0x2b1590]=_0x930de9,_0x22094c;}function Q(_0xa5527d,_0xcf57a1){return function(_0x439f2a,_0x4e3753){_0xcf57a1(_0x439f2a,_0x4e3753,_0xa5527d);};}function ie(_0x32cd4a,_0x49d311,_0x182262,_0x19a327){const _0x548827=_0x38beaf;var _0x445c68=arguments[_0x548827(0xa1)],_0x2f00c1=_0x445c68<0x3?_0x49d311:_0x19a327===null?_0x19a327=Object[_0x548827(0xb5)](_0x49d311,_0x182262):_0x19a327,_0x1f8832;if(typeof Reflect=='object'&&typeof Reflect[_0x548827(0x12e)]==_0x548827(0xff))_0x2f00c1=Reflect['decorate'](_0x32cd4a,_0x49d311,_0x182262,_0x19a327);else{for(var _0x3f78c5=_0x32cd4a[_0x548827(0xa1)]-0x1;_0x3f78c5>=0x0;_0x3f78c5--)(_0x1f8832=_0x32cd4a[_0x3f78c5])&&(_0x2f00c1=(_0x445c68<0x3?_0x1f8832(_0x2f00c1):_0x445c68>0x3?_0x1f8832(_0x49d311,_0x182262,_0x2f00c1):_0x1f8832(_0x49d311,_0x182262))||_0x2f00c1);}return _0x445c68>0x3&&_0x2f00c1&&Object[_0x548827(0xeb)](_0x49d311,_0x182262,_0x2f00c1),_0x2f00c1;}let $=class{constructor(_0x521ae0,_0x155550,_0x19c58f,_0x346a6e,_0x4b04be){const _0x592449=_0x38beaf;this[_0x592449(0x97)]=_0x521ae0,this[_0x592449(0xb3)]=_0x155550,this[_0x592449(0x12b)]=_0x19c58f,this[_0x592449(0x133)]=_0x346a6e,this[_0x592449(0xb4)]=_0x4b04be,re(this,_0x592449(0xcf),void 0x0),this[_0x592449(0xcf)]=this['_document'][_0x592449(0x110)]();}[_0x38beaf(0x110)](){const _0xc873b1=_0x38beaf;return this[_0xc873b1(0xb3)];}[_0x38beaf(0xcc)](){const _0x157795=_0x38beaf;return this[_0x157795(0x12b)];}['getInfo'](){const _0x1f031a=_0x38beaf;return{'id':this[_0x1f031a(0xb3)],'rowCount':this[_0x1f031a(0x10f)](),'columnCount':this['getColumnCount'](),'metadata':this[_0x1f031a(0xab)](),'source':this[_0x1f031a(0xe9)]()};}[_0x38beaf(0x130)](){const _0x37549e=_0x38beaf;let _0x5d2485=this[_0x37549e(0xab)](),_0x4fb10f=this[_0x37549e(0xe9)](),_0x42de6c=this['getColumnCount']();return{'id':this[_0x37549e(0xb3)],'rowCount':this['getRowCount'](),'columnCount':_0x42de6c,'headerRowCount':(_0x5d2485==null?void 0x0:_0x5d2485[_0x37549e(0xd9)])??0x0,'titleRow':(_0x5d2485==null?void 0x0:_0x5d2485[_0x37549e(0x119)])??!0x1,'columns':Array['from']({'length':_0x42de6c},(_0x380969,_0x529e47)=>{const _0x3670f2=_0x37549e;var _0x2d6487,_0x57ab7b;return{'index':_0x529e47,'type':_0x5d2485==null||(_0x2d6487=_0x5d2485[_0x3670f2(0x126)])==null||(_0x2d6487=_0x2d6487[_0x529e47])==null?void 0x0:_0x2d6487['type'],'width':_0x4fb10f==null||(_0x57ab7b=_0x4fb10f[_0x3670f2(0x129)][_0x529e47])==null?void 0x0:_0x57ab7b['size']['width']['v']};}),'sampleRows':Array[_0x37549e(0x94)]({'length':this['getRowCount']()},(_0x5372c3,_0x3b5e15)=>Array[_0x37549e(0x94)]({'length':_0x42de6c},(_0x589790,_0x33170f)=>this['getCellText'](_0x3b5e15,_0x33170f)))[_0x37549e(0xf2)](_0x295789=>_0x295789['some'](_0x461eca=>_0x461eca['length']>0x0))[_0x37549e(0xd4)](0x0,0x5)};}[_0x38beaf(0x10f)](){const _0xd2bbc4=_0x38beaf;var _0x22e949;return((_0x22e949=this[_0xd2bbc4(0xe9)]())==null?void 0x0:_0x22e949[_0xd2bbc4(0x10d)][_0xd2bbc4(0xa1)])??0x0;}[_0x38beaf(0x87)](){const _0x4f0f48=_0x38beaf;var _0x103cbc;return((_0x103cbc=this[_0x4f0f48(0xe9)]())==null?void 0x0:_0x103cbc['tableColumns']['length'])??0x0;}[_0x38beaf(0x124)](_0x5dc3c8,_0x1bf96f){const _0x27d103=_0x38beaf;var _0x212628;return(_0x212628=this['getSource']())!=null&&(_0x212628=_0x212628['tableRows'][_0x5dc3c8])!=null&&_0x212628[_0x27d103(0x121)][_0x1bf96f]?this[_0x27d103(0xb4)][_0x27d103(0x136)](Y,this,_0x5dc3c8,_0x1bf96f):null;}['getCellText'](_0x4d9784,_0x489e68){const _0x17d633=_0x38beaf;var _0x3fd6c2,_0x41457b;let _0x3043b3=(_0x3fd6c2=_0x5ef887(this[_0x17d633(0xfb)](),this[_0x17d633(0xb3)]))==null||(_0x3fd6c2=_0x3fd6c2['rows'][_0x4d9784])==null?void 0x0:_0x3fd6c2[_0x17d633(0x135)][_0x489e68];return _0x3043b3?((_0x41457b=this[_0x17d633(0xfb)]()[_0x17d633(0xb7)])==null?void 0x0:_0x41457b[_0x17d633(0x103)]['slice'](_0x3043b3[_0x17d633(0x12a)]+0x1,_0x3043b3[_0x17d633(0xec)])[_0x17d633(0xc2)](/\r\n$/,''))??'':'';}[_0x38beaf(0x13b)](_0x28af8d,_0x58cb6d){const _0x5e9bef=_0x38beaf;var _0x26e6ff;let _0x594597=this[_0x5e9bef(0xe9)](),_0x2c6f05=_0x594597==null||(_0x26e6ff=_0x594597[_0x5e9bef(0x10d)][_0x28af8d])==null?void 0x0:_0x26e6ff['tableCells'][_0x58cb6d];return _0x2c6f05?_0x219585[_0x5e9bef(0xa0)](_0x2c6f05[_0x5e9bef(0x8d)]??_0x594597[_0x5e9bef(0x11c)]??_0x4cbc96):null;}[_0x38beaf(0xaf)](_0x36b3df,_0x558f3e){const _0xd3cee1=_0x38beaf;var _0x118ad6;let _0x1389fb=(_0x118ad6=this[_0xd3cee1(0xe9)]())==null||(_0x118ad6=_0x118ad6['tableRows'][_0x36b3df])==null?void 0x0:_0x118ad6['tableCells'][_0x558f3e];return _0x1389fb!=null&&_0x1389fb[_0xd3cee1(0x8d)]?_0x219585['deepClone'](_0x1389fb[_0xd3cee1(0x8d)]):null;}[_0x38beaf(0xa3)](){const _0x572c1d=_0x38beaf;var _0x1df27c;return _0x219585[_0x572c1d(0xa0)](((_0x1df27c=this[_0x572c1d(0xe9)]())==null?void 0x0:_0x1df27c[_0x572c1d(0x11c)])??_0x4cbc96);}[_0x38beaf(0xb9)](){const _0xc797ea=_0x38beaf;var _0x4e3299;let _0x1fdb27=(_0x4e3299=this['getSource']())==null?void 0x0:_0x4e3299[_0xc797ea(0x11c)];return _0x1fdb27?_0x219585['deepClone'](_0x1fdb27):null;}[_0x38beaf(0xab)](){const _0x1fd6d6=_0x38beaf;let _0x43984c=this['_injector'][_0x1fd6d6(0x84)](_0x36df83),_0x49948f=this[_0x1fd6d6(0xe9)]();return _0x49948f?_0x43984c['resolveTableMetadata'](this[_0x1fd6d6(0xcf)],_0x49948f):void 0x0;}[_0x38beaf(0xe9)](){const _0x2ffc2f=_0x38beaf;var _0xa52892;return(_0xa52892=this[_0x2ffc2f(0xfb)]()[_0x2ffc2f(0xe6)])==null?void 0x0:_0xa52892[this[_0x2ffc2f(0xb3)]];}[_0x38beaf(0xdf)](){const _0x3a8486=_0x38beaf;return _0x5ef887(this[_0x3a8486(0xfb)](),this['_tableId']);}['getTableRange'](){const _0x3f7d32=_0x38beaf;return{'startRow':0x0,'endRow':Math[_0x3f7d32(0xf4)](0x0,this[_0x3f7d32(0x10f)]()-0x1),'startColumn':0x0,'endColumn':Math[_0x3f7d32(0xf4)](0x0,this[_0x3f7d32(0x87)]()-0x1)};}[_0x38beaf(0xb0)](_0x486146,_0x3c0087){return{'startRow':_0x486146,'endRow':_0x486146,'startColumn':_0x3c0087,'endColumn':_0x3c0087};}[_0x38beaf(0x139)](_0x2cb90c,_0x574703){const _0x126ef2=_0x38beaf;var _0x10e594;let _0x3855c2=(_0x10e594=_0x5ef887(this[_0x126ef2(0xfb)](),this[_0x126ef2(0xb3)]))==null||(_0x10e594=_0x10e594['rows'][_0x2cb90c])==null?void 0x0:_0x10e594['cells'][_0x574703];if(!_0x3855c2)return null;let _0x568c52=_0x3855c2[_0x126ef2(0x12a)]+0x1;return{'startOffset':_0x568c52,'endOffset':Math[_0x126ef2(0xf4)](_0x568c52,_0x3855c2[_0x126ef2(0xec)]-0x1),'segmentId':this['_segmentId']};}[_0x38beaf(0x9e)](_0xb960d5,_0xa355af){const _0x2a7d78=_0x38beaf;let _0x21190e=this[_0x2a7d78(0x139)](_0xb960d5,_0xa355af);return _0x21190e?Math[_0x2a7d78(0xf4)](_0x21190e[_0x2a7d78(0x12a)],_0x21190e['endOffset']-0x1):null;}[_0x38beaf(0x95)](_0x5e24c9){const _0x4fbe72=_0x38beaf;return this[_0x4fbe72(0x116)](_0x5e24c9,0x1);}['getRowsRange'](_0x1b7b78,_0x2eb49a=0x1){const _0xc3db6a=_0x38beaf;return{'startRow':_0x1b7b78,'endRow':_0x1b7b78+_0x2eb49a-0x1,'startColumn':0x0,'endColumn':Math[_0xc3db6a(0xf4)](0x0,this[_0xc3db6a(0x87)]()-0x1)};}[_0x38beaf(0xe0)](_0x4e4c89){const _0x29f661=_0x38beaf;return this[_0x29f661(0xef)](_0x4e4c89,0x1);}[_0x38beaf(0xef)](_0x2563f6,_0x4b481b=0x1){const _0x57cede=_0x38beaf;return{'startRow':0x0,'endRow':Math['max'](0x0,this[_0x57cede(0x10f)]()-0x1),'startColumn':_0x2563f6,'endColumn':_0x2563f6+_0x4b481b-0x1};}['selectTable'](){const _0x543ef7=_0x38beaf;return this['selectRange'](this[_0x543ef7(0x118)](),_0x5cbaa7[_0x543ef7(0xa8)]);}[_0x38beaf(0x9d)](_0x2175ec){const _0x286fb4=_0x38beaf;return this[_0x286fb4(0xf8)](_0x2175ec,0x1);}[_0x38beaf(0xf8)](_0x270f4b,_0x14379b=0x1){const _0x5d7282=_0x38beaf;return this['selectRange'](this[_0x5d7282(0x116)](_0x270f4b,_0x14379b),_0x5cbaa7[_0x5d7282(0xc9)]);}['selectColumn'](_0x5dda5e){const _0x377404=_0x38beaf;return this[_0x377404(0xad)](_0x5dda5e,0x1);}[_0x38beaf(0xad)](_0x249572,_0x57188a=0x1){const _0x27267a=_0x38beaf;return this[_0x27267a(0xd7)](this[_0x27267a(0xef)](_0x249572,_0x57188a),_0x5cbaa7['Column']);}[_0x38beaf(0x11b)](_0x49fec7,_0x414345){const _0x182ea7=_0x38beaf;return this[_0x182ea7(0xd7)](this[_0x182ea7(0xb0)](_0x49fec7,_0x414345),_0x5cbaa7[_0x182ea7(0x83)]);}[_0x38beaf(0xd7)](_0x79ebe5,_0x3725e4=_0x5cbaa7[_0x38beaf(0xbd)]){const _0x53b73e=_0x38beaf;return this[_0x53b73e(0xb4)][_0x53b73e(0x84)](_0x2e8832)[_0x53b73e(0xbb)]({..._0x79ebe5,'kind':_0x3725e4,'segmentId':this['_segmentId'],'tableId':this[_0x53b73e(0xb3)]}),!0x0;}[_0x38beaf(0x112)](_0x3a8b4f){return this['insertRowsBefore'](_0x3a8b4f,0x1);}[_0x38beaf(0xfa)](_0xf20ed4){const _0x2b8c3a=_0x38beaf;return this[_0x2b8c3a(0x9b)](_0xf20ed4,0x1);}[_0x38beaf(0xf6)](_0xbb9e2b,_0x4ffb5e){const _0x3ad45e=_0x38beaf;let _0x47e589=this['_getDocumentData'](),_0x3720be=_0x24b415(_0x47e589,this[_0x3ad45e(0xb3)],_0xbb9e2b,_0x4ffb5e,_0x32a61d[_0x3ad45e(0x12f)],this[_0x3ad45e(0x12d)]());return _0x3720be?this[_0x3ad45e(0x8b)](_0x47e589,_0x3720be[_0x3ad45e(0xe3)]):!0x1;}[_0x38beaf(0x9b)](_0x1593e5,_0x334b1b){const _0xbbae9c=_0x38beaf;let _0x3207ca=this['_getDocumentData'](),_0x23909c=_0x24b415(_0x3207ca,this[_0xbbae9c(0xb3)],_0x1593e5,_0x334b1b,_0x32a61d[_0xbbae9c(0xc0)],this[_0xbbae9c(0x12d)]());return _0x23909c?this['_mutateActions'](_0x3207ca,_0x23909c[_0xbbae9c(0xe3)]):!0x1;}[_0x38beaf(0xcb)](){const _0x2fc6cb=_0x38beaf;return this['insertRowsAfter'](Math[_0x2fc6cb(0xf4)](0x0,this[_0x2fc6cb(0x10f)]()-0x1),0x1);}[_0x38beaf(0xca)](_0x5855a2){const _0x30c45a=_0x38beaf;return this[_0x30c45a(0xa5)](_0x5855a2,0x1);}[_0x38beaf(0x11a)](_0x561545){const _0x467ba6=_0x38beaf;return this[_0x467ba6(0xce)](_0x561545,0x1);}[_0x38beaf(0xa5)](_0xf4c61b,_0x4ec53c){const _0x178e78=_0x38beaf;let _0x2d9052=this[_0x178e78(0xfb)](),_0x4e6850=_0x268fb5(_0x2d9052,this[_0x178e78(0xb3)],_0xf4c61b,_0x4ec53c,_0x32a61d[_0x178e78(0x9f)],{'bodyPath':this[_0x178e78(0x12d)]()});return _0x4e6850?this['_mutateActions'](_0x2d9052,_0x4e6850[_0x178e78(0xe3)]):!0x1;}[_0x38beaf(0xce)](_0x22991f,_0x7e1e2f){const _0x204da3=_0x38beaf;let _0x1e0c8b=this[_0x204da3(0xfb)](),_0x5371fa=_0x268fb5(_0x1e0c8b,this[_0x204da3(0xb3)],_0x22991f,_0x7e1e2f,_0x32a61d[_0x204da3(0x8f)],{'bodyPath':this[_0x204da3(0x12d)]()});return _0x5371fa?this[_0x204da3(0x8b)](_0x1e0c8b,_0x5371fa[_0x204da3(0xe3)]):!0x1;}[_0x38beaf(0x115)](){const _0x56e372=_0x38beaf;return this['insertColumnsAfter'](Math['max'](0x0,this[_0x56e372(0x87)]()-0x1),0x1);}[_0x38beaf(0xda)](_0x53b0ca){const _0x5a8480=_0x38beaf;return this[_0x5a8480(0x102)](_0x53b0ca,0x1);}[_0x38beaf(0x102)](_0x5b7306,_0x6d44d6=0x1){const _0x1f5cc8=_0x38beaf;return!!this[_0x1f5cc8(0x133)][_0x1f5cc8(0xe1)](_0x362549['id'],{'endRow':_0x5b7306+_0x6d44d6-0x1,'segmentId':this['_segmentId'],'startRow':_0x5b7306,'tableId':this['_tableId'],'unitId':this[_0x1f5cc8(0xcf)]});}[_0x38beaf(0x113)](_0x1764e2){const _0x4305cb=_0x38beaf;return this[_0x4305cb(0x131)](_0x1764e2,0x1);}['deleteColumns'](_0x2598bb,_0x3a0bba=0x1){const _0x1cd4a2=_0x38beaf;return!!this['_commandService'][_0x1cd4a2(0xe1)](_0x1d92ac['id'],{'endColumn':_0x2598bb+_0x3a0bba-0x1,'segmentId':this['_segmentId'],'startColumn':_0x2598bb,'tableId':this['_tableId'],'unitId':this['_unitId']});}[_0x38beaf(0xaa)](){const _0x13ccbb=_0x38beaf;return!!this['_commandService']['syncExecuteCommand'](_0x5b9217['id'],{'segmentId':this[_0x13ccbb(0x12b)],'tableId':this[_0x13ccbb(0xb3)],'unitId':this[_0x13ccbb(0xcf)]});}[_0x38beaf(0xe7)](_0xa21e8c,_0x8be8e8){const _0x2f3cb4=_0x38beaf;let _0x260d18=this[_0x2f3cb4(0xfb)]();return this[_0x2f3cb4(0x8b)](_0x260d18,_0x135a27(_0x260d18,this[_0x2f3cb4(0xb3)],_0xa21e8c,_0x8be8e8));}['moveTableToOffset'](_0x571831){const _0x38fe15=_0x38beaf;let _0x2911a1=this[_0x38fe15(0xfb)]();return this[_0x38fe15(0x8b)](_0x2911a1,_0x9a5c47(_0x2911a1,this[_0x38fe15(0xb3)],_0x571831,this[_0x38fe15(0x12d)]()));}['moveRow'](_0x84aea3,_0x146b54,_0x16b984=_0x32a61d[_0x38beaf(0x12f)]){const _0x1477f6=_0x38beaf;return this[_0x1477f6(0xc7)](_0x84aea3,0x1,_0x146b54,_0x16b984);}[_0x38beaf(0xc7)](_0x19bad0,_0x234e1d,_0x205a91,_0x32afe7=_0x32a61d[_0x38beaf(0x12f)]){const _0x10a925=_0x38beaf;let _0x5a0ce2=this[_0x10a925(0xfb)](),_0x6e2826=_0x20071c(_0x5a0ce2,this['_tableId'],_0x19bad0,_0x205a91,_0x234e1d,_0x32afe7,this[_0x10a925(0x12d)]());return _0x6e2826?this[_0x10a925(0x8b)](_0x5a0ce2,_0x6e2826[_0x10a925(0xe3)]):!0x1;}[_0x38beaf(0xbf)](_0x4f87cc,_0x16cd9a,_0x5baf4b=_0x32a61d[_0x38beaf(0x9f)]){const _0x3c415c=_0x38beaf;return this[_0x3c415c(0xb6)](_0x4f87cc,0x1,_0x16cd9a,_0x5baf4b);}['moveColumns'](_0x575889,_0x4a8054,_0x29cddb,_0x401e77=_0x32a61d[_0x38beaf(0x9f)]){const _0x19f5ea=_0x38beaf;let _0x4686e1=this[_0x19f5ea(0xfb)](),_0x43565c=_0x355d0e(_0x4686e1,this[_0x19f5ea(0xb3)],_0x575889,_0x29cddb,_0x4a8054,_0x401e77,this['_getBodyPath']());return _0x43565c?this[_0x19f5ea(0x8b)](_0x4686e1,_0x43565c[_0x19f5ea(0xe3)]):!0x1;}['mergeCells'](_0x1fa3fa){const _0x5c961b=_0x38beaf;try{let _0x102091=this[_0x5c961b(0xfb)](),_0x173d04=_0x3ac59b({'documentData':_0x102091,'tableId':this[_0x5c961b(0xb3)],..._0x1fa3fa});return _0x173d04?this[_0x5c961b(0x8b)](_0x102091,_0x173d04[_0x5c961b(0xe3)],_0x1fa3fa):!0x1;}catch{return!0x1;}}[_0x38beaf(0xc6)](_0x3201d1){const _0x21be58=_0x38beaf;try{let _0x206817=this[_0x21be58(0xfb)](),_0x26c771=_0x465231({'documentData':_0x206817,'tableId':this[_0x21be58(0xb3)],..._0x3201d1});return _0x26c771?this['_mutateActions'](_0x206817,_0x26c771[_0x21be58(0xe3)],_0x3201d1):!0x1;}catch{return!0x1;}}[_0x38beaf(0x9a)](_0x43c199,_0x11b983,_0x2aa40d){const _0x4613a1=_0x38beaf;let _0x4d9693=this[_0x4613a1(0xfb)](),_0x4dcfc2=_0x16e745(this[_0x4613a1(0x97)]['getDocumentDataModel']()[_0x4613a1(0xea)](),this[_0x4613a1(0x12b)]);return this[_0x4613a1(0x8b)](_0x4d9693,_0x341e8e({'documentData':_0x4d9693,'tableId':this[_0x4613a1(0xb3)],'row':_0x43c199,'column':_0x11b983,'text':_0x2aa40d},_0x4dcfc2),this[_0x4613a1(0xb0)](_0x43c199,_0x11b983));}[_0x38beaf(0xbe)](_0xdbb4fa,_0x287f48){const _0x5e94dd=_0x38beaf;let _0x5c4f43=this[_0x5e94dd(0xfb)]();return this[_0x5e94dd(0x8b)](_0x5c4f43,_0x77beae(_0x5c4f43,{'tableId':this[_0x5e94dd(0xb3)],..._0xdbb4fa,'value':_0x287f48}),_0xdbb4fa);}[_0x38beaf(0x13c)](_0x3d0567,_0x59c511){const _0x322602=_0x38beaf;let _0x42d397=this[_0x322602(0xfb)]();return this[_0x322602(0x8b)](_0x42d397,_0x53cf24({'documentData':_0x42d397,'tableId':this[_0x322602(0xb3)],..._0x3d0567,'margin':_0x59c511}),_0x3d0567);}[_0x38beaf(0x122)](_0x121c54){const _0x1a105c=_0x38beaf;let _0x4e5a65=this[_0x1a105c(0xfb)]();return this['_mutateActions'](_0x4e5a65,_0x3ac17a(_0x4e5a65,this['_tableId'],_0x121c54));}[_0x38beaf(0x117)](_0x21596b,_0x8b047c){const _0x194ad6=_0x38beaf;let _0x3ae5fb=this[_0x194ad6(0xfb)]();return this[_0x194ad6(0x8b)](_0x3ae5fb,this[_0x194ad6(0xe5)](_0x3ae5fb,_0x21596b,_0x8b047c),_0x21596b);}['setTableBackground'](_0x173be5){const _0x15ec15=_0x38beaf;return this['setCellBackground'](this[_0x15ec15(0x118)](),_0x173be5);}[_0x38beaf(0x98)](_0x4c1dcb){const _0x587177=_0x38beaf;return this['setBorder'](this[_0x587177(0x118)](),_0x4c1dcb);}['setTableStyle'](_0x41ff20){const _0x45af2a=_0x38beaf;let _0x212e4a=this[_0x45af2a(0xfb)](),_0xee2a4c=this[_0x45af2a(0x118)](),_0x64fc79=_0x41ff20['backgroundColor']?_0x77beae(_0x212e4a,{'tableId':this[_0x45af2a(0xb3)],..._0xee2a4c,'value':_0x41ff20[_0x45af2a(0x105)]}):null,_0x28f18d=_0x41ff20[_0x45af2a(0x132)]?this[_0x45af2a(0xe5)](_0x212e4a,_0xee2a4c,_0x41ff20[_0x45af2a(0x132)]):null;return this[_0x45af2a(0x8b)](_0x212e4a,_0x1b64cb[_0x45af2a(0xf7)](_0x64fc79,_0x28f18d),_0xee2a4c);}[_0x38beaf(0xfd)](_0x7c4b58,_0x5415a7,_0x34a5cb=_0x4ae1df['AT_LEAST']){const _0x44b210=_0x38beaf;var _0x22d598;let _0x21981e=this[_0x44b210(0xfb)]();return(_0x22d598=_0x21981e[_0x44b210(0xe6)])!=null&&(_0x22d598=_0x22d598[this[_0x44b210(0xb3)]])!=null&&_0x22d598['tableRows'][_0x7c4b58]?this[_0x44b210(0x8b)](_0x21981e,_0x43f0e2(_0x21981e,this[_0x44b210(0xb3)],_0x7c4b58,_0x5415a7,_0x34a5cb)):!0x1;}['getRowHeight'](_0x56a18a){const _0x47a5e0=_0x38beaf;var _0x3aa934;let _0x428a07=(_0x3aa934=this[_0x47a5e0(0xe9)]())==null||(_0x3aa934=_0x3aa934[_0x47a5e0(0x10d)][_0x56a18a])==null?void 0x0:_0x3aa934[_0x47a5e0(0x11d)];return _0x428a07?_0x219585[_0x47a5e0(0xa0)](_0x428a07):null;}[_0x38beaf(0x111)](_0x2b5331,_0x2e41f9){const _0x18bd28=_0x38beaf;var _0x4a25e3;let _0x2359ae=this[_0x18bd28(0xfb)]();return(_0x4a25e3=_0x2359ae['tableSource'])!=null&&(_0x4a25e3=_0x4a25e3[this['_tableId']])!=null&&_0x4a25e3[_0x18bd28(0x129)][_0x2b5331]?this[_0x18bd28(0x8b)](_0x2359ae,_0x4bd7bf(_0x2359ae,this[_0x18bd28(0xb3)],_0x2b5331,_0x2e41f9)):!0x1;}[_0x38beaf(0x104)](_0x3b0480=0x0,_0x8084e7=this[_0x38beaf(0x10f)]()){const _0x25b2ce=_0x38beaf;let _0xb3448a=this['_getDocumentData']();return this['_mutateActions'](_0xb3448a,_0x5e8847(_0xb3448a,this[_0x25b2ce(0xb3)],_0x3b0480,_0x3b0480+_0x8084e7-0x1));}[_0x38beaf(0xc5)](_0x1a1284=0x0,_0x58a921=this[_0x38beaf(0x87)]()){const _0xfe3c2f=_0x38beaf;let _0x1d2c3a=this[_0xfe3c2f(0xfb)]();return this['_mutateActions'](_0x1d2c3a,_0x1f7104(_0x1d2c3a,this[_0xfe3c2f(0xb3)],_0x1a1284,_0x1a1284+_0x58a921-0x1));}['getHeaderRowCount'](){const _0x1b7469=_0x38beaf;var _0x17a355;return((_0x17a355=this[_0x1b7469(0xab)]())==null?void 0x0:_0x17a355['headerRowCount'])??0x0;}[_0x38beaf(0xcd)](_0x245350){const _0x536984=_0x38beaf;let _0x577a27=this['_getDocumentData'](),_0x1a3e49=_0x47f16f(_0x577a27,this['_tableId'],_0x245350);return _0x1a3e49?this[_0x536984(0x8b)](_0x577a27,_0x1a3e49[_0x536984(0xe3)]):!0x1;}[_0x38beaf(0x88)](_0x327d3f){return this['setHeaderRowCount'](_0x327d3f);}[_0x38beaf(0xf0)](){const _0x4faf4a=_0x38beaf;var _0x2dfb1e;return((_0x2dfb1e=this['getMetadata']())==null?void 0x0:_0x2dfb1e[_0x4faf4a(0x119)])??!0x1;}['insertTitleRow'](){const _0x36d462=_0x38beaf;let _0x1f803c=this['_getDocumentData'](),_0x3318d5=_0x2a31bb(_0x1f803c,this[_0x36d462(0xb3)],this[_0x36d462(0x12d)]());return _0x3318d5?this[_0x36d462(0x8b)](_0x1f803c,_0x3318d5['actions']):!0x1;}[_0x38beaf(0xae)](_0x347154,_0x36a105){const _0xe73bf4=_0x38beaf;return!!this[_0xe73bf4(0x133)]['syncExecuteCommand'](_0x146a78['id'],{'unitId':this[_0xe73bf4(0xcf)],'tableId':this[_0xe73bf4(0xb3)],'segmentId':this[_0xe73bf4(0x12b)],'column':_0x347154,'config':_0x36a105});}[_0x38beaf(0x109)](_0x57be76,_0x42f6a9){const _0xedbeb6=_0x38beaf;let _0x54f8fe=this[_0xedbeb6(0xfb)]();return this[_0xedbeb6(0x8b)](_0x54f8fe,_0x511d98(_0x54f8fe,this['_serializeModel'](),this[_0xedbeb6(0xb3)],_0x57be76,_0x42f6a9,this[_0xedbeb6(0x12d)]()));}[_0x38beaf(0xe5)](_0x1c1f90,_0x40ed29,_0x8ab814){const _0x19553f=_0x38beaf;return _0x3666b({'documentData':_0x1c1f90,'tableId':this['_tableId'],..._0x40ed29,'preset':_0x8ab814[_0x19553f(0x8a)]??_0xd2da88['All'],'border':_0x8ab814['border']??{'color':{'rgb':_0x8ab814[_0x19553f(0x99)]??this[_0x19553f(0xb4)]['get'](_0x43634b)['getColorFromTheme'](_0x19553f(0x92))},'width':{'v':_0x8ab814[_0x19553f(0x91)]??0x1},'dashStyle':_0x10f729[_0x19553f(0xd0)]}});}[_0x38beaf(0xfb)](){const _0x50672a=_0x38beaf;let _0x3bb80d=this[_0x50672a(0x97)][_0x50672a(0x100)]()['getSnapshot']();return this['_segmentId']?{...this['_document']['getDocumentDataModel'](this[_0x50672a(0x12b)])[_0x50672a(0xea)](),'documentStyle':_0x3bb80d[_0x50672a(0xd8)],'tableSource':_0x3bb80d['tableSource']}:_0x3bb80d;}[_0x38beaf(0xd1)](){const _0x212ead=_0x38beaf;return this[_0x212ead(0xb4)][_0x212ead(0x84)](_0x36df83)[_0x212ead(0xdd)](this[_0x212ead(0xcf)],this[_0x212ead(0x97)][_0x212ead(0x100)]()['getSnapshot']());}['_getBodyPath'](){const _0x2f480e=_0x38beaf;return _0x16e745(this[_0x2f480e(0x97)][_0x2f480e(0x100)]()['getSnapshot'](),this[_0x2f480e(0x12b)]);}[_0x38beaf(0x8b)](_0x59f62c,_0x536674,_0x380635){const _0x5dad6e=_0x38beaf;return _0xeaebb1(this['_commandService'],this[_0x5dad6e(0xcf)],_0x59f62c,_0x536674,_0x380635?{'tableId':this[_0x5dad6e(0xb3)],'segmentId':this[_0x5dad6e(0x12b)],..._0x380635}:void 0x0);}};function _0x3202(){const _0x296ae9=['insertTableFromData','Right','348525ToKbfd','width','gray.900','DocsTableColumnInsertPosition','from','getRowRange','12LpjteG','_document','setTableBorder','color','setCellText','insertRowsAfter','getText','selectRow','getCellInsertOffset','Left','deepClone','length','clearMarginOverride','getDefaultCellMargin','9xAQuwR','insertColumnsBefore','tableId','getColumnIndex','Table','extend','deleteTable','getMetadata','getContentRange','selectColumns','setColumnType','getCellMarginOverride','getCellRange','_row','getRowIndex','_tableId','_injector','getOwnPropertyDescriptor','moveColumns','body','1734328CpjwZO','getDefaultCellMarginOverride','string','setStructuralSelection','_getTables','Range','setCellBackground','moveColumn','Below','titleText','replace','187lHKMBK','1164JSDrdy','distributeColumns','unmergeCells','moveRows','_tableContainsText','Row','insertColumnBefore','appendRow','getSegmentId','setHeaderRowCount','insertColumnsAfter','_unitId','SOLID','_serializeModel','symbol','90810EcSSSi','slice','getBody','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','selectRange','documentStyle','headerRowCount','deleteRow','headerText','_getTableDocumentData','serializeDocument','627NgZyva','getRange','getColumnRange','syncExecuteCommand','prototype','actions','600276iVeXDF','_buildBorderActions','tableSource','moveTableBy','DashStyleType','getSource','getSnapshot','defineProperty','endOffset','map','getTableAt','getColumnsRange','hasTitleRow','text','filter','toPrimitive','max','_column','insertRowsBefore','compose','selectRows','mergeCells','insertRowAfter','_getDocumentData','findTableByText','setRowHeight','insertTable','function','getDocumentDataModel','_createFDocumentTable','deleteRows','dataStream','distributeRows','backgroundColor','object','14ZLFnYd','includes','sortByColumn','684TUMKXs','DocsTableRowInsertPosition','findTables','tableRows','mergeTo','getRowCount','getId','setColumnWidth','insertRowBefore','deleteColumn','setMargin','appendColumn','getRowsRange','setBorder','getTableRange','titleRow','insertColumnAfter','selectCell','cellMargin','trHeight','getTableAtSelection','getStableTableSelection','setBackgroundColor','tableCells','setDefaultCellMargin','_table','getCell','_rowContainsText','columnTypes','DocsTableBorderPreset','DocsTableInsertTablePosition','tableColumns','startOffset','_segmentId','102ePpFpL','_getBodyPath','decorate','Above','describe','deleteColumns','border','_commandService','constructor','cells','createInstance','default','setText','getCellContentRange','getTables','getCellMargin','setCellMargin','getTable','Cell','get','segmentId','getCellText','getColumnCount','pinHeaderRows','DocsTableSortDirection','preset','_mutateActions','3011021eKNFzc','margin'];_0x3202=function(){return _0x296ae9;};return _0x3202();}$=ie([Q(0x3,_0x411ad4),Q(0x4,_0x3de653(_0x5a9c68))],$);var ae=class extends _0x2f372a{[_0x38beaf(0x13a)](_0xf6163=''){const _0x4eb92b=_0x38beaf;return this['_getTables'](_0xf6163)[_0x4eb92b(0xed)](_0x422f09=>this['_createFDocumentTable'](_0x422f09[_0x4eb92b(0xa6)],_0xf6163));}[_0x38beaf(0x13d)](_0x5e8b69,_0x1f8b75=''){const _0x5d513c=_0x38beaf;return this[_0x5d513c(0xbc)](_0x1f8b75)['some'](_0xa011b3=>_0xa011b3['tableId']===_0x5e8b69)?this[_0x5d513c(0x101)](_0x5e8b69,_0x1f8b75):null;}[_0x38beaf(0xee)](_0x35c351,_0x194c67=''){const _0x58a15a=_0x38beaf;var _0x1c1026;let _0x18ff02=(_0x1c1026=this['_getTables'](_0x194c67)[_0x35c351])==null?void 0x0:_0x1c1026['tableId'];return _0x18ff02?this[_0x58a15a(0x101)](_0x18ff02,_0x194c67):null;}[_0x38beaf(0x11e)](){const _0x2e5deb=_0x38beaf;let _0x5e2110=this[_0x2e5deb(0xb4)]['get'](_0x2e8832)[_0x2e5deb(0x11f)]();return _0x5e2110!=null&&_0x5e2110[_0x2e5deb(0xa6)]?this[_0x2e5deb(0x101)](_0x5e2110[_0x2e5deb(0xa6)],_0x5e2110[_0x2e5deb(0x85)]):null;}[_0x38beaf(0xfc)](_0x3cc690,_0x2b76b0=''){return this['findTables'](_0x3cc690,_0x2b76b0)[0x0]??null;}[_0x38beaf(0x10c)](_0x477c64,_0x4bb6d6=''){const _0x31ed2a=_0x38beaf;let _0x1cfeca=this[_0x31ed2a(0xdc)](_0x4bb6d6),_0x5174a1=typeof _0x477c64=='string'?{'text':_0x477c64}:_0x477c64;return this[_0x31ed2a(0x13a)](_0x4bb6d6)[_0x31ed2a(0xf2)](_0x2561e0=>{const _0x370d74=_0x31ed2a;let _0x361d48=_0x2561e0['getId']();return!(_0x5174a1[_0x370d74(0xa6)]&&_0x361d48!==_0x5174a1[_0x370d74(0xa6)]||_0x5174a1[_0x370d74(0xf1)]&&!this[_0x370d74(0xc8)](_0x1cfeca,_0x361d48,_0x5174a1['text'])||_0x5174a1[_0x370d74(0xdb)]&&!this[_0x370d74(0x125)](_0x2561e0,0x0,_0x5174a1['headerText'])||_0x5174a1[_0x370d74(0xc1)]&&!this[_0x370d74(0x125)](_0x2561e0,0x0,_0x5174a1['titleText']));});}[_0x38beaf(0xfe)](_0x889bf2,_0x25011b,_0x13e070={}){const _0x254660=_0x38beaf;let _0x17cc5a=this[_0x254660(0xb4)][_0x254660(0x84)](_0x411ad4),_0x421554=_0x13e070[_0x254660(0xa6)]??_0x49a440(0x6);return _0x17cc5a[_0x254660(0xe1)](_0x4a86fa['id'],{..._0x13e070,'unitId':this[_0x254660(0x110)](),'rows':_0x889bf2,'columns':_0x25011b,'tableId':_0x421554})?this[_0x254660(0x101)](_0x421554,_0x13e070[_0x254660(0x85)]??''):null;}[_0x38beaf(0x8e)](_0x12cbfe,_0x47425b={}){const _0x4d1a98=_0x38beaf;let _0x2c1e7d=this[_0x4d1a98(0xb4)][_0x4d1a98(0x84)](_0x411ad4),_0xb1c484=_0x47425b['tableId']??_0x49a440(0x6);return _0x2c1e7d[_0x4d1a98(0xe1)](_0x4a86fa['id'],{..._0x47425b,'unitId':this[_0x4d1a98(0x110)](),'values':_0x12cbfe,'tableId':_0xb1c484})?this[_0x4d1a98(0x101)](_0xb1c484,_0x47425b['segmentId']??''):null;}[_0x38beaf(0xbc)](_0x48c1f7=''){const _0x50f4f3=_0x38beaf;let {tables:_0x81eb90=[]}=this[_0x50f4f3(0xd5)](_0x48c1f7);return _0x81eb90;}['_getTableDocumentData'](_0x47c45c=''){const _0xd0ffcc=_0x38beaf;let _0x1eaa13=this[_0xd0ffcc(0x100)]()[_0xd0ffcc(0xea)]();return _0x47c45c?{...this['getDocumentDataModel'](_0x47c45c)[_0xd0ffcc(0xea)](),'documentStyle':_0x1eaa13['documentStyle'],'tableSource':_0x1eaa13[_0xd0ffcc(0xe6)]}:_0x1eaa13;}[_0x38beaf(0x101)](_0x431992,_0x570bbd=''){const _0x5ba0a7=_0x38beaf;return this[_0x5ba0a7(0xb4)]['createInstance']($,this,_0x431992,_0x570bbd);}[_0x38beaf(0xc8)](_0x3ec83e,_0x60893c,_0x15b0b4){const _0x488f20=_0x38beaf;var _0x595974;let _0x4a4cc5=_0x5ef887(_0x3ec83e,_0x60893c);if(!_0x4a4cc5)return!0x1;let _0x376387=(_0x595974=_0x3ec83e[_0x488f20(0xb7)])==null?void 0x0:_0x595974[_0x488f20(0x103)];return _0x376387?_0x376387['slice'](_0x4a4cc5[_0x488f20(0x12a)],_0x4a4cc5['endOffset'])['includes'](_0x15b0b4):!0x1;}[_0x38beaf(0x125)](_0x36de83,_0x1bbbca,_0x432ca7){const _0x2ca239=_0x38beaf;return Array[_0x2ca239(0x94)]({'length':_0x36de83[_0x2ca239(0x87)]()},(_0x11939d,_0x3a59e5)=>_0x36de83[_0x2ca239(0x86)](_0x1bbbca,_0x3a59e5))['some'](_0x1f8f8d=>_0x1f8f8d[_0x2ca239(0x108)](_0x432ca7));}};_0x2f372a[_0x38beaf(0xa9)](ae);export{$ as FDocumentTable,Y as FDocumentTableCell};
|