@univerjs-pro/docs-table 1.4.0 → 1.5.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 +7 -17
- 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/facade/f-document-table.d.ts +84 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +8 -8
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5d7830=_0x4b31;(function(_0x5ab2ae,_0x25e85c){const _0x2e2130=_0x4b31,_0x3d0b72=_0x5ab2ae();while(!![]){try{const _0x252df9=parseInt(_0x2e2130(0x1a9))/0x1*(parseInt(_0x2e2130(0x258))/0x2)+-parseInt(_0x2e2130(0xf1))/0x3*(-parseInt(_0x2e2130(0x154))/0x4)+-parseInt(_0x2e2130(0x181))/0x5+parseInt(_0x2e2130(0x148))/0x6+-parseInt(_0x2e2130(0x14c))/0x7+parseInt(_0x2e2130(0x1b7))/0x8*(-parseInt(_0x2e2130(0x125))/0x9)+-parseInt(_0x2e2130(0x14b))/0xa*(-parseInt(_0x2e2130(0x249))/0xb);if(_0x252df9===_0x25e85c)break;else _0x3d0b72['push'](_0x3d0b72['shift']());}catch(_0x8776e2){_0x3d0b72['push'](_0x3d0b72['shift']());}}}(_0x1d01,0xe7916));import{BooleanNumber as _0x5ae627,CommandType as _0x1c53ef,DOC_RANGE_TYPE as _0x17b745,DashStyleType as _0x52fb3c,DataStreamTreeTokenType as _0x23da6c,DependentOn as _0x353c90,Disposable as _0x1d2dfe,DocumentFlavor as _0x5a57f0,ICommandService as _0x49b00b,IConfigService as _0x5a288b,IResourceManagerService as _0x3093ee,IUniverInstanceService as _0x14f335,Inject as _0x3c2cf2,Injector as _0x466a4d,JSONX as _0x50737a,ObjectRelativeFromH as _0xdd5b18,ObjectRelativeFromV as _0x43a438,Plugin as _0x3ffdd8,SliceBodyType as _0x297797,TableAlignmentType as _0x2cde86,TableRowHeightRule as _0x1b0d64,TableSizeType as _0x156614,TableTextWrapType as _0x33966e,TextX as _0x56ae42,TextXActionType as _0x486fcd,Tools as _0x1ce513,UniverInstanceType as _0x513396,containsInteriorInsertionOffset as _0x455eca,createParagraphId as _0x44dc69,createSectionId as _0x5bd5bc,generateRandomId as _0x3d771a,getBlockRangeInterval as _0x1adc5f,getBodySlice as _0x47c22a,getBodySliceForTextXAction as _0x1cb9db,getCustomBlockIdsInSelections as _0xbf7694,getParagraphContentStartOffset as _0x3a3d2c,getTableCellTokenInterval as _0x4d9605,getTableRangeInterval as _0x2a235b,getTableRowTokenInterval as _0x341eac,merge as _0x4871ba}from'@univerjs/core';import{DocHistoryAction as _0x333b73,DocSelectionManagerService as _0x4507af,RichTextEditingMutation as _0x9bdc58,UniverDocsPlugin as _0x691ae3,getContentInsertRange as _0x173226}from'@univerjs/docs';import{Subject as _0x5132fc}from'rxjs';import{UniverLicensePlugin as _0x308d38}from'@univerjs-pro/license';function w(_0x55b55c,_0xa89fef){const _0xd58f7f=_0x4b31;var _0x2132a3,_0x4592e0,_0x4f75c5;let _0x5af8e2=(_0x2132a3=_0x55b55c[_0xd58f7f(0x15c)])==null||(_0x2132a3=_0x2132a3[_0xd58f7f(0x217)])==null?void 0x0:_0x2132a3[_0xd58f7f(0x1cd)](_0x383794=>_0x383794[_0xd58f7f(0x139)]===_0xa89fef),_0x5bbba0=(_0x4592e0=_0x55b55c[_0xd58f7f(0x230)])==null?void 0x0:_0x4592e0[_0xa89fef],_0x4e0df1=(_0x4f75c5=_0x55b55c[_0xd58f7f(0x15c)])==null?void 0x0:_0x4f75c5[_0xd58f7f(0xf0)];if(!_0x5af8e2||!_0x5bbba0||!_0x4e0df1)return null;let _0x298324=_0x2a235b(_0x5af8e2);return _0x4e0df1[_0x298324[_0xd58f7f(0x189)]]!==_0x23da6c[_0xd58f7f(0x111)]||_0x4e0df1[_0x298324[_0xd58f7f(0xeb)]-0x1]!==_0x23da6c[_0xd58f7f(0x1e2)]?null:we(_0x4e0df1,_0x298324['startOffset'],_0x298324[_0xd58f7f(0xeb)],_0xa89fef,_0x5bbba0);}function T(_0x463ab6,_0x5ee2af){const _0x1bf780=_0x4b31;let _0x2fd7f2=_0x463ab6['rows'][_0x5ee2af];if(!_0x2fd7f2)throw Error(_0x1bf780(0xf2)+_0x5ee2af+_0x1bf780(0x19b));return _0x2fd7f2;}function Ce(_0x12bf0a,_0x24d5cd){const _0x26060c=_0x4b31;let _0x2fb8d3=_0x12bf0a[_0x26060c(0x197)]['map'](_0x58c1fb=>_0x58c1fb[_0x26060c(0x1dd)][_0x24d5cd])[_0x26060c(0x22b)](Boolean);if(_0x2fb8d3['length']===0x0)throw Error('[DocsTable]:\x20Column\x20'+_0x24d5cd+_0x26060c(0x19b));return{'column':_0x24d5cd,'startOffset':_0x2fb8d3[0x0][_0x26060c(0x189)],'endOffset':_0x2fb8d3[_0x2fb8d3[_0x26060c(0x146)]-0x1][_0x26060c(0xeb)],'cells':_0x2fb8d3};}function we(_0x5643ae,_0x192bde,_0x43410b,_0x3e928c,_0x3fe91a){const _0x57df31=_0x4b31;var _0x50294f;let _0x3f2b1f=[];for(let _0x1adc8d=_0x192bde+0x1;_0x1adc8d<_0x43410b-0x1;){let _0x2552c0=_0x341eac(_0x5643ae,_0x1adc8d);if(!_0x2552c0||_0x2552c0['endOffset']>_0x43410b)return null;let _0x483215={'row':_0x3f2b1f['length'],'startOffset':_0x2552c0['startOffset'],'endOffset':_0x2552c0['endOffset']-0x1,'cells':[]};for(let _0x21d6f4=_0x2552c0[_0x57df31(0x189)]+0x1;_0x21d6f4<_0x2552c0['endOffset']-0x1;){let _0x2f7378=_0x4d9605(_0x5643ae,_0x21d6f4);if(!_0x2f7378||_0x2f7378[_0x57df31(0xeb)]>_0x2552c0[_0x57df31(0xeb)])return null;_0x483215[_0x57df31(0x1dd)][_0x57df31(0x1c9)]({'row':_0x483215[_0x57df31(0x188)],'column':_0x483215[_0x57df31(0x1dd)][_0x57df31(0x146)],'startOffset':_0x2f7378[_0x57df31(0x189)],'endOffset':_0x2f7378[_0x57df31(0xeb)]-0x1}),_0x21d6f4=_0x2f7378[_0x57df31(0xeb)];}_0x3f2b1f['push'](_0x483215),_0x1adc8d=_0x2552c0[_0x57df31(0xeb)];}return _0x3f2b1f['length']!==_0x3fe91a[_0x57df31(0xf6)][_0x57df31(0x146)]||_0x3f2b1f[_0x57df31(0x20e)]((_0x4ef09c,_0x2c622d)=>{const _0x47ba04=_0x57df31;var _0x4ed9a5;return _0x4ef09c['cells']['length']!==((_0x4ed9a5=_0x3fe91a[_0x47ba04(0xf6)][_0x2c622d])==null?void 0x0:_0x4ed9a5[_0x47ba04(0xe1)][_0x47ba04(0x146)]);})?null:{'tableId':_0x3e928c,'startOffset':_0x192bde,'endOffset':_0x43410b,'rowCount':_0x3f2b1f['length'],'columnCount':((_0x50294f=_0x3f2b1f[0x0])==null?void 0x0:_0x50294f[_0x57df31(0x1dd)][_0x57df31(0x146)])??0x0,'tableSource':_0x3fe91a,'rows':_0x3f2b1f};}function Te(_0x52084c,_0x152440,_0x21d86c){const _0x14a586=_0x4b31;if(!_0x52084c||_0x52084c[_0x14a586(0x139)]!==_0x21d86c['tableId'])return _0x52084c;if(_0x21d86c['kind']===_0x14a586(0x141))return null;let _0x3b9528=w(_0x152440,_0x52084c[_0x14a586(0x139)]);if(!_0x3b9528)return null;let _0x752ce6={..._0x52084c};if(_0x21d86c['kind']===_0x14a586(0x1d3))_0x752ce6[_0x14a586(0x1d1)]=Ee(_0x752ce6['startRow'],_0x21d86c[_0x14a586(0x1ab)],_0x21d86c['count']),_0x752ce6[_0x14a586(0x227)]=Ee(_0x752ce6[_0x14a586(0x227)],_0x21d86c[_0x14a586(0x1ab)],_0x21d86c[_0x14a586(0x261)]);else{if(_0x21d86c['kind']===_0x14a586(0x1e9))_0x752ce6[_0x14a586(0x241)]=Ee(_0x752ce6[_0x14a586(0x241)],_0x21d86c[_0x14a586(0x1ab)],_0x21d86c['count']),_0x752ce6['endColumn']=Ee(_0x752ce6[_0x14a586(0x260)],_0x21d86c['index'],_0x21d86c[_0x14a586(0x261)]);else{if(_0x21d86c[_0x14a586(0x133)]==='delete-rows'){let [_0x1746ef,_0x132e68]=De(_0x752ce6[_0x14a586(0x1d1)],_0x752ce6[_0x14a586(0x227)],_0x21d86c['index'],_0x21d86c['count']);_0x752ce6[_0x14a586(0x1d1)]=_0x1746ef,_0x752ce6[_0x14a586(0x227)]=_0x132e68;}else{if(_0x21d86c[_0x14a586(0x133)]===_0x14a586(0x103)){let [_0x509fd5,_0x3adbfb]=De(_0x752ce6['startColumn'],_0x752ce6['endColumn'],_0x21d86c[_0x14a586(0x1ab)],_0x21d86c[_0x14a586(0x261)]);_0x752ce6[_0x14a586(0x241)]=_0x509fd5,_0x752ce6['endColumn']=_0x3adbfb;}}}}let _0x4bd829=_0x21d86c['kind']===_0x14a586(0x1d3)?_0x3b9528['rowCount']+_0x21d86c[_0x14a586(0x261)]:Math[_0x14a586(0x1fc)](0x1,_0x3b9528[_0x14a586(0xe4)]-(_0x21d86c['kind']===_0x14a586(0x196)?_0x21d86c[_0x14a586(0x261)]:0x0)),_0x4fafa4=_0x21d86c['kind']===_0x14a586(0x1e9)?_0x3b9528[_0x14a586(0x264)]+_0x21d86c['count']:Math[_0x14a586(0x1fc)](0x1,_0x3b9528[_0x14a586(0x264)]-(_0x21d86c[_0x14a586(0x133)]===_0x14a586(0x103)?_0x21d86c[_0x14a586(0x261)]:0x0));return _0x752ce6['startRow']=Oe(_0x752ce6[_0x14a586(0x1d1)],0x0,_0x4bd829-0x1),_0x752ce6[_0x14a586(0x227)]=Oe(_0x752ce6[_0x14a586(0x227)],0x0,_0x4bd829-0x1),_0x752ce6['startColumn']=Oe(_0x752ce6[_0x14a586(0x241)],0x0,_0x4fafa4-0x1),_0x752ce6[_0x14a586(0x260)]=Oe(_0x752ce6[_0x14a586(0x260)],0x0,_0x4fafa4-0x1),_0x752ce6[_0x14a586(0x1d1)]>_0x752ce6[_0x14a586(0x227)]&&(_0x752ce6[_0x14a586(0x227)]=_0x752ce6[_0x14a586(0x1d1)]),_0x752ce6['startColumn']>_0x752ce6[_0x14a586(0x260)]&&(_0x752ce6[_0x14a586(0x260)]=_0x752ce6['startColumn']),_0x752ce6;}function Ee(_0x427388,_0x405a50,_0x4a75c4){return _0x427388>=_0x405a50?_0x427388+_0x4a75c4:_0x427388;}function De(_0x2cae92,_0x5c5ed1,_0x9d927c,_0x12a6a9){const _0x1ddebe=_0x4b31;let _0xde1efc=_0x9d927c+_0x12a6a9-0x1;if(_0x5c5ed1<_0x9d927c)return[_0x2cae92,_0x5c5ed1];if(_0x2cae92>_0xde1efc)return[_0x2cae92-_0x12a6a9,_0x5c5ed1-_0x12a6a9];let _0x5ca3ed=_0x2cae92<_0x9d927c?_0x2cae92:_0x9d927c,_0x1609be=Math[_0x1ddebe(0x234)](_0x5c5ed1,_0xde1efc)-_0x9d927c+0x1;return[_0x5ca3ed,Math[_0x1ddebe(0x1fc)](_0x5ca3ed,_0x5c5ed1-_0x1609be)];}function Oe(_0x6bf0c3,_0x40d2fb,_0x32af30){const _0xe0f356=_0x4b31;return Math[_0xe0f356(0x234)](Math['max'](_0x6bf0c3,_0x40d2fb),_0x32af30);}function ke(_0x30b2c2){return _0x30b2c2;}function E(_0x5066dd,_0x475722={}){const _0x233578=_0x4b31;var _0x4793f7;let _0xf11dde={..._0x5066dd,'body':_0x475722['cloneBody']===!0x1?_0x5066dd[_0x233578(0x15c)]:_0x5066dd[_0x233578(0x15c)]?Ae(_0x5066dd[_0x233578(0x15c)]):_0x5066dd[_0x233578(0x15c)]};return(_0x4793f7=_0x475722[_0x233578(0x12e)])!=null&&_0x4793f7[_0x233578(0x146)]&&_0x5066dd[_0x233578(0x230)]&&(_0xf11dde[_0x233578(0x230)]={..._0x5066dd['tableSource']},_0x475722[_0x233578(0x12e)]['forEach'](_0x5ae323=>{const _0x550b68=_0x233578;var _0x11027f;let _0x5420e7=(_0x11027f=_0x5066dd[_0x550b68(0x230)])==null?void 0x0:_0x11027f[_0x5ae323];_0x5420e7&&(_0xf11dde['tableSource'][_0x5ae323]=je(_0x5420e7));})),_0xf11dde;}function Ae(_0x255046){const _0x56c0da=_0x4b31;var _0x5e2294,_0x58f06a,_0x5109d6,_0x825b46,_0x5452a8,_0x508d0f,_0x2c84b7,_0x2281d3,_0x193f5f;return{..._0x255046,'paragraphs':(_0x5e2294=_0x255046[_0x56c0da(0x23d)])==null?void 0x0:_0x5e2294[_0x56c0da(0x1a4)](_0x5e7296=>({..._0x5e7296,'bullet':D(_0x5e7296[_0x56c0da(0x1f1)]),'paragraphStyle':D(_0x5e7296[_0x56c0da(0x122)])})),'sectionBreaks':(_0x58f06a=_0x255046[_0x56c0da(0x244)])==null?void 0x0:_0x58f06a[_0x56c0da(0x1a4)](_0x48ffb0=>({..._0x48ffb0})),'textRuns':(_0x5109d6=_0x255046[_0x56c0da(0x128)])==null?void 0x0:_0x5109d6[_0x56c0da(0x1a4)](_0x15c7a0=>({..._0x15c7a0})),'tables':(_0x825b46=_0x255046[_0x56c0da(0x217)])==null?void 0x0:_0x825b46[_0x56c0da(0x1a4)](_0x14d657=>({..._0x14d657})),'columnGroups':(_0x5452a8=_0x255046[_0x56c0da(0x224)])==null?void 0x0:_0x5452a8['map'](_0x37e2d6=>{const _0xcfea22=_0x56c0da;var _0x2cdc8a;return{..._0x37e2d6,'columns':(_0x2cdc8a=_0x37e2d6[_0xcfea22(0x21c)])==null?void 0x0:_0x2cdc8a[_0xcfea22(0x1a4)](_0x1141bc=>D(_0x1141bc))};}),'blockRanges':(_0x508d0f=_0x255046['blockRanges'])==null?void 0x0:_0x508d0f[_0x56c0da(0x1a4)](_0x53f91d=>({..._0x53f91d})),'customRanges':(_0x2c84b7=_0x255046[_0x56c0da(0x15a)])==null?void 0x0:_0x2c84b7[_0x56c0da(0x1a4)](_0x55aeda=>({..._0x55aeda})),'customDecorations':(_0x2281d3=_0x255046[_0x56c0da(0x21d)])==null?void 0x0:_0x2281d3[_0x56c0da(0x1a4)](_0x137c3a=>({..._0x137c3a})),'customBlocks':(_0x193f5f=_0x255046[_0x56c0da(0xfe)])==null?void 0x0:_0x193f5f['map'](_0x4e7988=>({..._0x4e7988}))};}function je(_0x28be2c){const _0x1738b7=_0x4b31;return{..._0x28be2c,'dist':D(_0x28be2c['dist']),'position':D(_0x28be2c[_0x1738b7(0xe2)]),'size':D(_0x28be2c[_0x1738b7(0x1e4)]),'tableColumns':_0x28be2c[_0x1738b7(0x110)][_0x1738b7(0x1a4)](Me),'tableRows':_0x28be2c['tableRows'][_0x1738b7(0x1a4)](Ne)};}function Me(_0x5addd4){const _0x55bc21=_0x4b31;return{..._0x5addd4,'size':D(_0x5addd4[_0x55bc21(0x1e4)])};}function Ne(_0x4365b1){const _0x3e6c82=_0x4b31;return{..._0x4365b1,'trHeight':D(_0x4365b1['trHeight']),'tableCells':_0x4365b1['tableCells'][_0x3e6c82(0x1a4)](_0x1ff082=>({..._0x1ff082,'backgroundColor':D(_0x1ff082[_0x3e6c82(0x1c6)]),'borderBottom':D(_0x1ff082[_0x3e6c82(0x1c7)]),'borderLeft':D(_0x1ff082[_0x3e6c82(0x23a)]),'borderRight':D(_0x1ff082['borderRight']),'borderTop':D(_0x1ff082['borderTop']),'margin':D(_0x1ff082[_0x3e6c82(0x206)])}))};}function D(_0xc78b15){const _0x2b3eab=_0x4b31;return Array[_0x2b3eab(0x11a)](_0xc78b15)?_0xc78b15['map'](_0x30a137=>D(_0x30a137)):!_0xc78b15||typeof _0xc78b15!=_0x2b3eab(0x1eb)?_0xc78b15:Object['fromEntries'](Object[_0x2b3eab(0xec)](_0xc78b15)[_0x2b3eab(0x1a4)](([_0x10d0e1,_0x2f6b7b])=>[_0x10d0e1,D(_0x2f6b7b)]));}function Pe(_0x5a1e5b,_0x4a7897,_0x5c5ec8){const _0x4bc71e=_0x4b31;var _0x1e253c;let _0x1e5b10=(_0x1e253c=_0x5a1e5b[_0x4bc71e(0x230)])==null?void 0x0:_0x1e253c[_0x4a7897];if(!_0x1e5b10||!Qe(_0x5c5ec8))return!0x1;try{return et(_0x1e5b10,_0x5c5ec8)['every'](_0x10f07d=>j(_0x10f07d)===0x1&&M(_0x10f07d)===0x1);}catch{return!0x1;}}function Fe(_0x343263,_0x90c525,_0x23385e){const _0x18542f=_0x4b31;var _0x29c492;let _0x66bbe8=(_0x29c492=_0x343263[_0x18542f(0x230)])==null?void 0x0:_0x29c492[_0x90c525];if(!_0x66bbe8)return!0x1;let _0x53c51e=null;try{let _0x282ef2=O(_0x23385e);_0x53c51e=He(_0x66bbe8,_0x282ef2[_0x18542f(0x1d1)],_0x282ef2[_0x18542f(0x241)]);}catch{return!0x1;}return!!_0x53c51e&&Qe(_0x53c51e);}function Ie(_0xb6cd56){const _0x1c87a6=_0x4b31;let _0x4dab22=O(_0xb6cd56);if(!Pe(_0xb6cd56[_0x1c87a6(0xd2)],_0xb6cd56['tableId'],_0x4dab22))throw Error(_0x1c87a6(0x1be));let _0x1dda42=E(_0xb6cd56['documentData'],{'cloneBody':!0x1,'tableIds':[_0xb6cd56[_0x1c87a6(0x139)]]}),_0x530ef1=$e(_0x1dda42,_0xb6cd56[_0x1c87a6(0x139)]),_0x24904f=_0x530ef1[_0x1c87a6(0xf6)][_0x4dab22[_0x1c87a6(0x1d1)]][_0x1c87a6(0xe1)][_0x4dab22['startColumn']];return _0x24904f[_0x1c87a6(0x105)]=_0x4dab22[_0x1c87a6(0x227)]-_0x4dab22[_0x1c87a6(0x1d1)]+0x1,_0x24904f[_0x1c87a6(0x1f2)]=_0x4dab22['endColumn']-_0x4dab22[_0x1c87a6(0x241)]+0x1,A(_0x530ef1,_0x4dab22,(_0x53794e,_0x462136,_0x32c37a)=>{const _0x2415d8=_0x1c87a6;(_0x462136!==_0x4dab22['startRow']||_0x32c37a!==_0x4dab22['startColumn'])&&(_0x53794e[_0x2415d8(0x105)]=0x0,_0x53794e[_0x2415d8(0x1f2)]=0x0);}),{'nextDocumentData':_0x1dda42,'range':_0x4dab22};}function Le(_0x51db30){const _0x4cf5d7=_0x4b31;var _0x539bfa;let _0x4bd119=O(_0x51db30),_0x54f637=(_0x539bfa=_0x51db30['documentData']['tableSource'])==null?void 0x0:_0x539bfa[_0x51db30[_0x4cf5d7(0x139)]];if(!_0x54f637||!Pe(_0x51db30['documentData'],_0x51db30['tableId'],_0x4bd119))return null;let _0x5227a8=[];return A(_0x54f637,_0x4bd119,(_0x3770a4,_0x2bdff0,_0x2d5743)=>{const _0x4348c6=_0x4cf5d7;let _0x47f46c=_0x2bdff0===_0x4bd119[_0x4348c6(0x1d1)]&&_0x2d5743===_0x4bd119[_0x4348c6(0x241)];Be(_0x5227a8,_0x51db30[_0x4348c6(0x139)],_0x2bdff0,_0x2d5743,_0x4348c6(0x105),_0x3770a4[_0x4348c6(0x105)],_0x47f46c?_0x4bd119['endRow']-_0x4bd119['startRow']+0x1:0x0),Be(_0x5227a8,_0x51db30[_0x4348c6(0x139)],_0x2bdff0,_0x2d5743,_0x4348c6(0x1f2),_0x3770a4[_0x4348c6(0x1f2)],_0x47f46c?_0x4bd119[_0x4348c6(0x260)]-_0x4bd119[_0x4348c6(0x241)]+0x1:0x0);}),{'actions':Ve(_0x5227a8),'range':_0x4bd119};}function Re(_0x4d7507){const _0x2dabaa=_0x4b31;let _0x4ec94c=E(_0x4d7507[_0x2dabaa(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x4d7507[_0x2dabaa(0x139)]]}),_0x422a84=$e(_0x4ec94c,_0x4d7507['tableId']),_0xc45148=O(_0x4d7507),_0x20a033=He(_0x422a84,_0xc45148[_0x2dabaa(0x1d1)],_0xc45148[_0x2dabaa(0x241)]);if(!Fe(_0x4d7507[_0x2dabaa(0xd2)],_0x4d7507['tableId'],_0xc45148)||!_0x20a033)throw Error(_0x2dabaa(0x21a));return A(_0x422a84,_0x20a033,_0x58db27=>{const _0xbaec4d=_0x2dabaa;delete _0x58db27[_0xbaec4d(0x105)],delete _0x58db27['columnSpan'];}),{'nextDocumentData':_0x4ec94c,'range':_0x20a033};}function ze(_0x400036){const _0xdb2e15=_0x4b31;var _0x2464e5;let _0x2a4931=(_0x2464e5=_0x400036[_0xdb2e15(0xd2)]['tableSource'])==null?void 0x0:_0x2464e5[_0x400036[_0xdb2e15(0x139)]],_0x34c459=O(_0x400036),_0x31b2b0=_0x2a4931?He(_0x2a4931,_0x34c459[_0xdb2e15(0x1d1)],_0x34c459[_0xdb2e15(0x241)]):null;if(!_0x2a4931||!_0x31b2b0||!Fe(_0x400036[_0xdb2e15(0xd2)],_0x400036['tableId'],_0x34c459))return null;let _0x34a34c=[];return A(_0x2a4931,_0x31b2b0,(_0x5d71dc,_0x1968a7,_0x263cfd)=>{const _0x293e64=_0xdb2e15;Be(_0x34a34c,_0x400036[_0x293e64(0x139)],_0x1968a7,_0x263cfd,_0x293e64(0x105),_0x5d71dc[_0x293e64(0x105)],void 0x0),Be(_0x34a34c,_0x400036[_0x293e64(0x139)],_0x1968a7,_0x263cfd,_0x293e64(0x1f2),_0x5d71dc[_0x293e64(0x1f2)],void 0x0);}),{'actions':Ve(_0x34a34c),'range':_0x31b2b0};}function Be(_0x18b53c,_0x4fa5cb,_0x141637,_0x4612ee,_0xb7e6b5,_0x31bb4b,_0x53a501){const _0x402d2b=_0x4b31;if(_0x31bb4b===_0x53a501)return;let _0x33e46a=_0x50737a[_0x402d2b(0x1e5)](),_0x375acf=['tableSource',_0x4fa5cb,'tableRows',_0x141637,_0x402d2b(0xe1),_0x4612ee,_0xb7e6b5];_0x18b53c[_0x402d2b(0x1c9)](_0x31bb4b===void 0x0?_0x33e46a[_0x402d2b(0x11b)](_0x375acf,_0x53a501):_0x53a501===void 0x0?_0x33e46a[_0x402d2b(0x137)](_0x375acf,_0x31bb4b):_0x33e46a[_0x402d2b(0x228)](_0x375acf,_0x31bb4b,_0x53a501));}function Ve(_0x431da6){const _0x59e3d5=_0x4b31;return _0x431da6[_0x59e3d5(0x10f)]((_0x418724,_0x2d4ed2)=>_0x50737a[_0x59e3d5(0x118)](_0x418724,_0x2d4ed2),null);}function He(_0x482d58,_0x118691,_0x4c8098){const _0x36814d=_0x4b31;var _0x1f2028;let _0x32a14b=(_0x1f2028=_0x482d58[_0x36814d(0xf6)][_0x118691])==null?void 0x0:_0x1f2028[_0x36814d(0xe1)][_0x4c8098];if(!_0x32a14b)return null;if(j(_0x32a14b)>0x1||M(_0x32a14b)>0x1)return{'startRow':_0x118691,'endRow':_0x118691+j(_0x32a14b)-0x1,'startColumn':_0x4c8098,'endColumn':_0x4c8098+M(_0x32a14b)-0x1};if(_0x32a14b[_0x36814d(0x105)]!==0x0&&_0x32a14b[_0x36814d(0x1f2)]!==0x0)return{'startRow':_0x118691,'endRow':_0x118691,'startColumn':_0x4c8098,'endColumn':_0x4c8098};for(let _0x5c910f=0x0;_0x5c910f<_0x482d58[_0x36814d(0xf6)][_0x36814d(0x146)];_0x5c910f++){let _0x5f1254=_0x482d58[_0x36814d(0xf6)][_0x5c910f];for(let _0x48a888=0x0;_0x48a888<_0x5f1254[_0x36814d(0xe1)][_0x36814d(0x146)];_0x48a888++){let _0x163cde=_0x5f1254[_0x36814d(0xe1)][_0x48a888],_0x34d7a6=j(_0x163cde),_0x2cb05b=M(_0x163cde);if(_0x34d7a6<=0x1&&_0x2cb05b<=0x1)continue;let _0x8cf77e={'startRow':_0x5c910f,'endRow':_0x5c910f+_0x34d7a6-0x1,'startColumn':_0x48a888,'endColumn':_0x48a888+_0x2cb05b-0x1};if(_0x118691>=_0x8cf77e['startRow']&&_0x118691<=_0x8cf77e['endRow']&&_0x4c8098>=_0x8cf77e['startColumn']&&_0x4c8098<=_0x8cf77e[_0x36814d(0x260)])return _0x8cf77e;}}return null;}function Ue(_0x369f16,_0x4c1fb1){const _0x31c704=_0x4b31;let _0x4bc3e8=O(_0x4c1fb1),_0x5b4ba4=!0x0;for(;_0x5b4ba4;){_0x5b4ba4=!0x1;for(let _0x2abf1d=0x0;_0x2abf1d<_0x369f16['tableRows']['length'];_0x2abf1d++){let _0x183970=_0x369f16[_0x31c704(0xf6)][_0x2abf1d];for(let _0x34064f=0x0;_0x34064f<_0x183970[_0x31c704(0xe1)][_0x31c704(0x146)];_0x34064f++){let _0x2aef61=_0x183970['tableCells'][_0x34064f],_0x550caa=j(_0x2aef61),_0x201f26=M(_0x2aef61);if(_0x550caa<=0x1&&_0x201f26<=0x1)continue;let _0x156845={'startRow':_0x2abf1d,'endRow':_0x2abf1d+_0x550caa-0x1,'startColumn':_0x34064f,'endColumn':_0x34064f+_0x201f26-0x1};if(!tt(_0x4bc3e8,_0x156845))continue;let _0x4d23f2={'startRow':Math['min'](_0x4bc3e8['startRow'],_0x156845['startRow']),'endRow':Math[_0x31c704(0x1fc)](_0x4bc3e8['endRow'],_0x156845[_0x31c704(0x227)]),'startColumn':Math['min'](_0x4bc3e8[_0x31c704(0x241)],_0x156845[_0x31c704(0x241)]),'endColumn':Math[_0x31c704(0x1fc)](_0x4bc3e8[_0x31c704(0x260)],_0x156845[_0x31c704(0x260)])};nt(_0x4d23f2,_0x4bc3e8)||(_0x4bc3e8=_0x4d23f2,_0x5b4ba4=!0x0);}}}return _0x4bc3e8;}function We(_0x3a66c9,_0x113398,_0x3e8c1b,_0x4e2729=k(_0x3a66c9)){const _0x3fedb7=_0x4b31;Je(_0x3a66c9,_0x4e2729,_0x4edf95=>_0x113398<=_0x4edf95['startRow']?{..._0x4edf95,'startRow':_0x4edf95['startRow']+_0x3e8c1b,'endRow':_0x4edf95[_0x3fedb7(0x227)]+_0x3e8c1b}:_0x113398<=_0x4edf95[_0x3fedb7(0x227)]?{..._0x4edf95,'endRow':_0x4edf95[_0x3fedb7(0x227)]+_0x3e8c1b}:_0x4edf95);}function Ge(_0x2f6685,_0x2d945a,_0x34b13e,_0x53ae6b=k(_0x2f6685)){const _0x1cae73=_0x4b31;Je(_0x2f6685,_0x53ae6b,_0x4f8a82=>_0x2d945a<=_0x4f8a82[_0x1cae73(0x241)]?{..._0x4f8a82,'startColumn':_0x4f8a82[_0x1cae73(0x241)]+_0x34b13e,'endColumn':_0x4f8a82['endColumn']+_0x34b13e}:_0x2d945a<=_0x4f8a82[_0x1cae73(0x260)]?{..._0x4f8a82,'endColumn':_0x4f8a82[_0x1cae73(0x260)]+_0x34b13e}:_0x4f8a82);}function Ke(_0x15d130,_0x5c9b6c,_0x1e9dcd,_0x148ee8=k(_0x15d130)){Je(_0x15d130,_0x148ee8,_0x5838a=>{const _0x50c927=_0x4b31;let _0x1a39a9=[];for(let _0x3ca8e2=_0x5838a['startRow'];_0x3ca8e2<=_0x5838a['endRow'];_0x3ca8e2++){let _0x45a69e=Ze(_0x3ca8e2,_0x5c9b6c,_0x1e9dcd);_0x45a69e!=null&&_0x1a39a9[_0x50c927(0x1c9)](_0x45a69e);}return _0x1a39a9['length']?{..._0x5838a,'startRow':Math[_0x50c927(0x234)](..._0x1a39a9),'endRow':Math[_0x50c927(0x1fc)](..._0x1a39a9)}:null;});}function qe(_0x3ae6b9,_0x393e51,_0x521f11,_0x124713=k(_0x3ae6b9)){Je(_0x3ae6b9,_0x124713,_0x4b14fb=>{const _0x12b1e3=_0x4b31;let _0x4115c6=[];for(let _0x4fea9c=_0x4b14fb['startColumn'];_0x4fea9c<=_0x4b14fb[_0x12b1e3(0x260)];_0x4fea9c++){let _0x137b92=Ze(_0x4fea9c,_0x393e51,_0x521f11);_0x137b92!=null&&_0x4115c6['push'](_0x137b92);}return _0x4115c6['length']?{..._0x4b14fb,'startColumn':Math['min'](..._0x4115c6),'endColumn':Math[_0x12b1e3(0x1fc)](..._0x4115c6)}:null;});}function O(_0x1657bf){const _0x596969=_0x4b31;return{'startRow':Math['min'](_0x1657bf['startRow'],_0x1657bf[_0x596969(0x227)]),'endRow':Math['max'](_0x1657bf[_0x596969(0x1d1)],_0x1657bf['endRow']),'startColumn':Math[_0x596969(0x234)](_0x1657bf[_0x596969(0x241)],_0x1657bf[_0x596969(0x260)]),'endColumn':Math[_0x596969(0x1fc)](_0x1657bf[_0x596969(0x241)],_0x1657bf['endColumn'])};}function Je(_0x9566c7,_0x1d41d5,_0x3ce761){const _0x3d1ec5=_0x4b31;Ye(_0x9566c7),_0x1d41d5[_0x3d1ec5(0x1fa)](_0x41b5ed=>{let _0xa5e23d=_0x3ce761(_0x41b5ed);_0xa5e23d&&Xe(_0x9566c7,_0xa5e23d);});}function k(_0x4206a4){const _0x294902=_0x4b31;let _0x4110cc=[];return _0x4206a4[_0x294902(0xf6)][_0x294902(0x1fa)]((_0x8a1f28,_0x19671c)=>{const _0x45e3e9=_0x294902;_0x8a1f28[_0x45e3e9(0xe1)][_0x45e3e9(0x1fa)]((_0x2abdbf,_0x3f6938)=>{let _0x1b5fe7=j(_0x2abdbf),_0x2aec63=M(_0x2abdbf);_0x1b5fe7<=0x1&&_0x2aec63<=0x1||_0x4110cc['push']({'startRow':_0x19671c,'endRow':_0x19671c+_0x1b5fe7-0x1,'startColumn':_0x3f6938,'endColumn':_0x3f6938+_0x2aec63-0x1});});}),_0x4110cc;}function Ye(_0x18ba48){const _0x3e16c6=_0x4b31;_0x18ba48[_0x3e16c6(0xf6)][_0x3e16c6(0x1fa)](_0x3920c1=>{const _0x3c29cf=_0x3e16c6;_0x3920c1[_0x3c29cf(0xe1)][_0x3c29cf(0x1fa)](_0x2e1ada=>{const _0x5e4ec6=_0x3c29cf;delete _0x2e1ada[_0x5e4ec6(0x105)],delete _0x2e1ada[_0x5e4ec6(0x1f2)];});});}function Xe(_0xa94ff2,_0x403dce){const _0x5a9967=_0x4b31;var _0x8925b8;let _0x11a478=O(_0x403dce),_0x35407a=_0x11a478[_0x5a9967(0x227)]-_0x11a478[_0x5a9967(0x1d1)]+0x1,_0x2a95cd=_0x11a478[_0x5a9967(0x260)]-_0x11a478[_0x5a9967(0x241)]+0x1;if(_0x35407a<=0x0||_0x2a95cd<=0x0||_0x35407a===0x1&&_0x2a95cd===0x1)return;let _0x5bd2fb=(_0x8925b8=_0xa94ff2['tableRows'][_0x11a478[_0x5a9967(0x1d1)]])==null?void 0x0:_0x8925b8['tableCells'][_0x11a478[_0x5a9967(0x241)]];_0x5bd2fb&&(_0x5bd2fb['rowSpan']=_0x35407a,_0x5bd2fb[_0x5a9967(0x1f2)]=_0x2a95cd,A(_0xa94ff2,_0x11a478,(_0x1daf00,_0x107995,_0x5f37ff)=>{const _0xc4f613=_0x5a9967;(_0x107995!==_0x11a478[_0xc4f613(0x1d1)]||_0x5f37ff!==_0x11a478[_0xc4f613(0x241)])&&(_0x1daf00[_0xc4f613(0x105)]=0x0,_0x1daf00[_0xc4f613(0x1f2)]=0x0);}));}function Ze(_0x3308eb,_0x2a0289,_0x1abcd6){return _0x3308eb<_0x2a0289?_0x3308eb:_0x3308eb>_0x1abcd6?_0x3308eb-(_0x1abcd6-_0x2a0289+0x1):null;}function Qe(_0x40ff5a){const _0x4dbe84=_0x4b31;return _0x40ff5a[_0x4dbe84(0x1d1)]!==_0x40ff5a[_0x4dbe84(0x227)]||_0x40ff5a['startColumn']!==_0x40ff5a[_0x4dbe84(0x260)];}function $e(_0x197cd3,_0x478191){const _0xd8d89a=_0x4b31;var _0x325676;let _0x31f7d7=(_0x325676=_0x197cd3['tableSource'])==null?void 0x0:_0x325676[_0x478191];if(!_0x31f7d7)throw Error(_0xd8d89a(0x1e1)+_0x478191+_0xd8d89a(0x127));return _0x31f7d7;}function et(_0x24164a,_0x592131){const _0x2333f3=_0x4b31;let _0x41604b=[];return A(_0x24164a,_0x592131,_0x178c7c=>_0x41604b[_0x2333f3(0x1c9)](_0x178c7c)),_0x41604b;}function A(_0x26a7a2,_0x139b1c,_0x4217bd){const _0xff4216=_0x4b31;for(let _0x3b3b43=_0x139b1c[_0xff4216(0x1d1)];_0x3b3b43<=_0x139b1c[_0xff4216(0x227)];_0x3b3b43++)for(let _0x319f5c=_0x139b1c[_0xff4216(0x241)];_0x319f5c<=_0x139b1c[_0xff4216(0x260)];_0x319f5c++){var _0x26a9ca;let _0x37a95a=(_0x26a9ca=_0x26a7a2[_0xff4216(0xf6)][_0x3b3b43])==null?void 0x0:_0x26a9ca[_0xff4216(0xe1)][_0x319f5c];if(!_0x37a95a)throw Error(_0xff4216(0x1d0));_0x4217bd(_0x37a95a,_0x3b3b43,_0x319f5c);}}function j(_0x16fd3d){const _0x208152=_0x4b31;return _0x16fd3d['rowSpan']==null?0x1:_0x16fd3d[_0x208152(0x105)];}function M(_0x115968){const _0x28671c=_0x4b31;return _0x115968[_0x28671c(0x1f2)]==null?0x1:_0x115968['columnSpan'];}function tt(_0x46b061,_0x2d73de){const _0xc2a5df=_0x4b31;return _0x46b061[_0xc2a5df(0x1d1)]<=_0x2d73de[_0xc2a5df(0x227)]&&_0x46b061[_0xc2a5df(0x227)]>=_0x2d73de[_0xc2a5df(0x1d1)]&&_0x46b061[_0xc2a5df(0x241)]<=_0x2d73de['endColumn']&&_0x46b061['endColumn']>=_0x2d73de['startColumn'];}function nt(_0xc8d212,_0x36c41e){const _0x291074=_0x4b31;return _0xc8d212['startRow']===_0x36c41e['startRow']&&_0xc8d212[_0x291074(0x227)]===_0x36c41e[_0x291074(0x227)]&&_0xc8d212[_0x291074(0x241)]===_0x36c41e[_0x291074(0x241)]&&_0xc8d212[_0x291074(0x260)]===_0x36c41e['endColumn'];}function rt(_0x442c6e){const _0x1cd052=_0x4b31;return{..._0x442c6e,'columnTypes':_0x442c6e['columnTypes']?{..._0x442c6e[_0x1cd052(0x243)]}:void 0x0};}function N(_0x54c796){const _0x1b27e9=_0x4b31;let _0x390e6d={};return Object[_0x1b27e9(0xec)]((_0x54c796==null?void 0x0:_0x54c796['tables'])??{})[_0x1b27e9(0x1fa)](([_0x288056,_0x48326a])=>{_0x390e6d[_0x288056]=rt(_0x48326a);}),{'tables':_0x390e6d};}function it(_0x34c75f,_0x400b89,_0x3aae85){const _0x5cc1f4=_0x4b31;let _0x5ed108=N(_0x34c75f);return{'tables':{..._0x5ed108[_0x5cc1f4(0x217)],[_0x400b89]:{..._0x5ed108[_0x5cc1f4(0x217)][_0x400b89]??{},'headerRowCount':Math['max'](0x0,_0x3aae85)}}};}function at(_0x14f43e,_0x388971,_0x1443e7){const _0x15eb2c=_0x4b31;let _0x287541=N(_0x14f43e);return{'tables':{..._0x287541[_0x15eb2c(0x217)],[_0x388971]:{..._0x287541['tables'][_0x388971]??{},'titleRow':_0x1443e7}}};}function ot(_0x3b51d9,_0x4c7b20,_0xc5983a,_0x5bd53b){const _0x4098e7=_0x4b31;let _0x23d5bb=N(_0x3b51d9),_0x4a0fa8=_0x23d5bb[_0x4098e7(0x217)][_0x4c7b20]??{};return{'tables':{..._0x23d5bb['tables'],[_0x4c7b20]:{..._0x4a0fa8,'columnTypes':{..._0x4a0fa8[_0x4098e7(0x243)]??{},[_0xc5983a]:_0x5bd53b}}}};}function st(_0x4d4b13,_0x46dbf3){const _0x2c3cf7=_0x4b31;var _0x5bc4b8,_0x5240ff,_0x56cda7;let _0x3c3a18=_0x4d4b13[_0x2c3cf7(0x110)],_0x36caf5=_0x4d4b13[_0x2c3cf7(0x246)]===0x1||_0x3c3a18[_0x2c3cf7(0x20e)](_0x23a0eb=>_0x23a0eb[_0x2c3cf7(0x17f)]!==void 0x0),_0x5c366f={};_0x3c3a18[_0x2c3cf7(0x1fa)]((_0x387a50,_0x4f5840)=>{const _0xfaec8a=_0x2c3cf7;var _0x40601b;let _0x5bc897=_0x36caf5?_0x387a50[_0xfaec8a(0x17f)]??_0x387a50[_0xfaec8a(0x235)]:_0x46dbf3==null||(_0x40601b=_0x46dbf3['columnTypes'])==null?void 0x0:_0x40601b[_0x4f5840];_0x5bc897&&(_0x5c366f[_0x4f5840]=_0x1ce513[_0xfaec8a(0x178)](_0x5bc897));});let _0x1179d0=_0x4d4b13[_0x2c3cf7(0xf6)],_0x16fc02=0x0;for(let _0x5b7dc4 of _0x1179d0){if((_0x5b7dc4[_0x2c3cf7(0x186)]??_0x5b7dc4['docsTableLegacyHeaderRow'])!==_0x5ae627['TRUE'])break;_0x16fc02++;}let _0x49c3a=_0x4d4b13['docsTableMetadataVersion']===0x1,_0x58f6f5=((_0x5bc4b8=_0x1179d0[0x0])==null?void 0x0:_0x5bc4b8[_0x2c3cf7(0x174)])??((_0x5240ff=_0x1179d0[0x0])==null?void 0x0:_0x5240ff[_0x2c3cf7(0x25c)])??(!_0x49c3a&&(_0x46dbf3==null?void 0x0:_0x46dbf3[_0x2c3cf7(0x1a2)]))??!0x1;return{'headerRowCount':_0x49c3a||_0x1179d0['some'](_0x54eb51=>_0x54eb51[_0x2c3cf7(0x186)]!==void 0x0)?_0x16fc02:(_0x46dbf3==null?void 0x0:_0x46dbf3[_0x2c3cf7(0xe3)])??0x0,'titleRow':_0x58f6f5&&((_0x56cda7=_0x4d4b13['tableRows'][0x0])==null||(_0x56cda7=_0x56cda7[_0x2c3cf7(0xe1)][0x0])==null?void 0x0:_0x56cda7[_0x2c3cf7(0x1f2)])===_0x3c3a18['length'],...Object[_0x2c3cf7(0x24f)](_0x5c366f)[_0x2c3cf7(0x146)]?{'columnTypes':_0x5c366f}:{}};}function ct(_0x373ff6,_0x1f6b86){const _0x1f66a0=_0x4b31;let _0x51b0ce={};for(let [_0x24967f,_0x244c93]of Object[_0x1f66a0(0xec)](_0x373ff6[_0x1f66a0(0x230)]??{}))_0x51b0ce[_0x24967f]=st(_0x244c93,_0x1f6b86[_0x1f66a0(0x217)][_0x24967f]);return{'tables':_0x51b0ce};}function lt(_0x36787a,_0x59baf1){const _0x3f42b0=_0x4b31;if(_0x36787a['docsTableMetadataVersion']===0x1)return null;let _0x293661=_0x50737a['getInstance'](),_0x4d7eca=_0x36787a[_0x3f42b0(0x110)][_0x3f42b0(0x10f)]((_0x208927,_0xdf53a8,_0x15e345)=>{const _0x2b0410=_0x3f42b0;var _0x3367d3;return _0x50737a[_0x2b0410(0x118)](_0x208927,_0x293661[_0x2b0410(0x11b)]([_0x2b0410(0x230),_0x36787a[_0x2b0410(0x139)],'tableColumns',_0x15e345,_0x2b0410(0x235)],_0x1ce513[_0x2b0410(0x178)]((_0x59baf1==null||(_0x3367d3=_0x59baf1[_0x2b0410(0x243)])==null?void 0x0:_0x3367d3[_0x15e345])??null)));},null);return _0x36787a[_0x3f42b0(0xf6)]['forEach']((_0x22d9c3,_0x35a563)=>{const _0x2ee4a0=_0x3f42b0;_0x22d9c3[_0x2ee4a0(0xe1)][_0x2ee4a0(0x1fa)]((_0x1bfcdb,_0xeb6332)=>{const _0xd7cd8f=_0x2ee4a0;_0x1bfcdb[_0xd7cd8f(0x100)]||(_0x4d7eca=_0x50737a[_0xd7cd8f(0x118)](_0x4d7eca,_0x293661[_0xd7cd8f(0x11b)](['tableSource',_0x36787a[_0xd7cd8f(0x139)],_0xd7cd8f(0xf6),_0x35a563,'tableCells',_0xeb6332,_0xd7cd8f(0x100)],'legacy:'+_0x35a563+':'+_0xeb6332)));}),_0x4d7eca=_0x50737a[_0x2ee4a0(0x118)](_0x4d7eca,_0x293661['insertOp']([_0x2ee4a0(0x230),_0x36787a[_0x2ee4a0(0x139)],_0x2ee4a0(0xf6),_0x35a563,_0x2ee4a0(0x1c0)],_0x35a563<((_0x59baf1==null?void 0x0:_0x59baf1[_0x2ee4a0(0xe3)])??0x0)?_0x5ae627[_0x2ee4a0(0x247)]:_0x5ae627['FALSE']));}),_0x36787a[_0x3f42b0(0xf6)][_0x3f42b0(0x146)]&&(_0x4d7eca=_0x50737a[_0x3f42b0(0x118)](_0x4d7eca,_0x293661[_0x3f42b0(0x11b)](['tableSource',_0x36787a[_0x3f42b0(0x139)],'tableRows',0x0,_0x3f42b0(0x25c)],(_0x59baf1==null?void 0x0:_0x59baf1[_0x3f42b0(0x1a2)])??!0x1))),_0x50737a[_0x3f42b0(0x118)](_0x4d7eca,_0x293661[_0x3f42b0(0x11b)]([_0x3f42b0(0x230),_0x36787a[_0x3f42b0(0x139)],_0x3f42b0(0x246)],0x1));}function ut(_0x127d8e,_0x44fdcb,_0x50a0f1,_0x4bd93f){const _0x30be5e=_0x4b31;var _0x444169;let _0x347bb6=_0x127d8e[_0x30be5e(0x110)][_0x44fdcb][_0x30be5e(0x17f)],_0x309566=(_0x444169=st(_0x127d8e,_0x4bd93f)['columnTypes'])==null?void 0x0:_0x444169[_0x44fdcb];if(JSON[_0x30be5e(0x1a1)](_0x309566)===JSON[_0x30be5e(0x1a1)](_0x50a0f1))return null;let _0x34aa9e=[_0x30be5e(0x230),_0x127d8e['tableId'],_0x30be5e(0x110),_0x44fdcb,_0x30be5e(0x17f)],_0x312776=_0x1ce513[_0x30be5e(0x178)](_0x50a0f1);return _0x347bb6===void 0x0?_0x50737a[_0x30be5e(0x1e5)]()[_0x30be5e(0x11b)](_0x34aa9e,_0x312776):_0x50737a[_0x30be5e(0x1e5)]()[_0x30be5e(0x228)](_0x34aa9e,_0x347bb6,_0x312776);}let dt=function(_0x1ab074){const _0xf017cd=_0x4b31;return _0x1ab074['Above']=_0xf017cd(0xf7),_0x1ab074[_0xf017cd(0x19f)]=_0xf017cd(0xc9),_0x1ab074[_0xf017cd(0x18c)]=_0xf017cd(0x240),_0x1ab074[_0xf017cd(0x21f)]=_0xf017cd(0x120),_0x1ab074;}({});const ft={'Above':_0x5d7830(0xf7),'Below':_0x5d7830(0xc9)},pt={'Left':'left','Right':_0x5d7830(0x120)};function mt(_0xcd6f84){const _0x21d617=_0x5d7830;let {documentData:_0x5f4192,tableId:_0x49fa42,row:_0x5ecc89,count:_0xc8ff99,position:_0x320b84}=_0xcd6f84,_0xd4d270=E(_0x5f4192,{'tableIds':[_0x49fa42]}),_0x1eaf39=xt(_0xd4d270,_0x49fa42),_0x273716=P(_0xd4d270,_0x49fa42),_0x5b9945=_0x320b84===_0x21d617(0xf7)?_0x5ecc89:_0x5ecc89+0x1,_0x499365=_0x1eaf39[_0x21d617(0xf6)][Math['min'](_0x5ecc89,_0x1eaf39[_0x21d617(0xf6)][_0x21d617(0x146)]-0x1)],_0x59240e=Array['from']({'length':_0xc8ff99},()=>St(_0x499365)),_0x25590c=k(_0x1eaf39),_0x4c6f48=_0x320b84===_0x21d617(0xf7)?T(_0x273716,_0x5ecc89)[_0x21d617(0x189)]:T(_0x273716,_0x5ecc89)[_0x21d617(0xeb)]+0x1,_0xfe1b31=Et(wt(_0x1eaf39[_0x21d617(0x110)][_0x21d617(0x146)]),_0xc8ff99);return _0x1eaf39[_0x21d617(0xf6)][_0x21d617(0x1f9)](_0x5b9945,0x0,..._0x59240e),We(_0x1eaf39,_0x5b9945,_0xc8ff99,_0x25590c),jt(_0xd4d270,_0x49fa42,_0x4c6f48,_0xfe1b31),{'nextDocumentData':_0xd4d270,'nextMetadata':_0xcd6f84[_0x21d617(0x191)]?N(_0xcd6f84['metadata']):void 0x0,'cursor':{'row':_0x5b9945,'column':0x0}};}function ht(_0x2c9d74){const _0x43bbf6=_0x5d7830;var _0xa2ddf4;let {documentData:_0x107f7c,tableId:_0x1be16f,column:_0x2807ab,count:_0x174e70,position:_0xf1cbda}=_0x2c9d74,_0x4716be=E(_0x107f7c,{'tableIds':[_0x1be16f]}),_0x5cf8eb=xt(_0x4716be,_0x1be16f),_0x42e0e3=P(_0x4716be,_0x1be16f),_0x40801c=_0xf1cbda===_0x43bbf6(0x240)?_0x2807ab:_0x2807ab+0x1,_0x471ed2=_0x5cf8eb[_0x43bbf6(0x110)][Math[_0x43bbf6(0x234)](_0x2807ab,_0x5cf8eb[_0x43bbf6(0x110)]['length']-0x1)],_0x2181b8=_0x2c9d74[_0x43bbf6(0x1c3)]??_0x471ed2[_0x43bbf6(0x1e4)][_0x43bbf6(0x101)]['v'],_0x6727ca=Array[_0x43bbf6(0x21b)]({'length':_0x174e70},()=>{const _0x2273a3=_0x43bbf6;let _0xdf54a9=_0x1ce513['deepClone'](_0x471ed2);return _0xdf54a9['size'][_0x2273a3(0x101)]['v']=_0x2181b8,_0xdf54a9;}),_0x127904=k(_0x5cf8eb);return _0x5cf8eb[_0x43bbf6(0x110)][_0x43bbf6(0x1f9)](_0x40801c,0x0,..._0x6727ca),_0x5cf8eb[_0x43bbf6(0xf6)][_0x43bbf6(0x1fa)](_0x5a9f1c=>{const _0x1db6fd=_0x43bbf6;let _0x380f14=_0x5a9f1c[_0x1db6fd(0xe1)][Math['min'](_0x2807ab,_0x5a9f1c[_0x1db6fd(0xe1)][_0x1db6fd(0x146)]-0x1)],_0x44b041=Array[_0x1db6fd(0x21b)]({'length':_0x174e70},()=>Ct(_0x380f14));_0x5a9f1c['tableCells'][_0x1db6fd(0x1f9)](_0x40801c,0x0,..._0x44b041);}),Ge(_0x5cf8eb,_0x40801c,_0x174e70,_0x127904),Dt(_0x4716be,_0x1be16f,_0x42e0e3,_0x2807ab,_0x174e70,_0xf1cbda),_0x2c9d74['preserveTotalWidth']??!0x0?Gt(_0x5cf8eb,_0x2181b8*_0x174e70):(_0xa2ddf4=_0x5cf8eb[_0x43bbf6(0x1e4)])!=null&&_0xa2ddf4['width']&&(_0x5cf8eb[_0x43bbf6(0x1e4)][_0x43bbf6(0x101)]['v']=_0x5cf8eb[_0x43bbf6(0x110)]['reduce']((_0x18df68,_0x1e98d5)=>_0x18df68+_0x1e98d5[_0x43bbf6(0x1e4)][_0x43bbf6(0x101)]['v'],0x0)),{'nextDocumentData':_0x4716be,'nextMetadata':_0x2c9d74[_0x43bbf6(0x191)]?N(_0x2c9d74[_0x43bbf6(0x191)]):void 0x0,'cursor':{'row':0x0,'column':_0x40801c}};}function gt(_0x67cb69){const _0x1ffa33=_0x5d7830;let {documentData:_0x30e744,metadata:_0xf8058d,tableId:_0x399469}=_0x67cb69,_0x2f303b=E(_0x30e744,{'tableIds':[_0x399469]}),_0x5c9c7b=xt(_0x2f303b,_0x399469),_0x478aa5=Math['min'](_0x67cb69['startRow'],_0x67cb69[_0x1ffa33(0x227)]),_0x310ae9=Math['max'](_0x67cb69[_0x1ffa33(0x1d1)],_0x67cb69[_0x1ffa33(0x227)]),_0x5c4a4e=_0x310ae9-_0x478aa5+0x1,_0x57b252=k(_0x5c9c7b);return _0x5c4a4e>=_0x5c9c7b['tableRows'][_0x1ffa33(0x146)]?{...vt({'documentData':_0x30e744,'metadata':_0xf8058d,'tableId':_0x399469}),'deleteTable':!0x0}:(Ot(_0x2f303b,_0x399469,_0x478aa5,_0x310ae9),_0x5c9c7b[_0x1ffa33(0xf6)][_0x1ffa33(0x1f9)](_0x478aa5,_0x5c4a4e),Ke(_0x5c9c7b,_0x478aa5,_0x310ae9,_0x57b252),{'nextDocumentData':_0x2f303b,'nextMetadata':Kt(_0xf8058d,_0x399469,_0x478aa5,_0x310ae9),'cursor':{'row':Math[_0x1ffa33(0x234)](_0x478aa5,_0x5c9c7b[_0x1ffa33(0xf6)]['length']-0x1),'column':0x0}});}function _t(_0x3ad17a){const _0x298193=_0x5d7830;let {documentData:_0x240480,metadata:_0x19ab68,tableId:_0x4547ee}=_0x3ad17a,_0x546aaf=E(_0x240480,{'tableIds':[_0x4547ee]}),_0x3e1774=xt(_0x546aaf,_0x4547ee),_0x214626=Math[_0x298193(0x234)](_0x3ad17a[_0x298193(0x241)],_0x3ad17a[_0x298193(0x260)]),_0x527df0=Math['max'](_0x3ad17a['startColumn'],_0x3ad17a[_0x298193(0x260)]),_0x1d6977=_0x527df0-_0x214626+0x1,_0x46e611=k(_0x3e1774);return _0x1d6977>=_0x3e1774[_0x298193(0x110)][_0x298193(0x146)]?{...vt({'documentData':_0x240480,'metadata':_0x19ab68,'tableId':_0x4547ee}),'deleteTable':!0x0}:(kt(_0x546aaf,_0x4547ee,_0x214626,_0x527df0),_0x3e1774[_0x298193(0x110)][_0x298193(0x1f9)](_0x214626,_0x1d6977),_0x3e1774[_0x298193(0xf6)][_0x298193(0x1fa)](_0x1e4d47=>_0x1e4d47['tableCells'][_0x298193(0x1f9)](_0x214626,_0x1d6977)),qe(_0x3e1774,_0x214626,_0x527df0,_0x46e611),{'nextDocumentData':_0x546aaf,'nextMetadata':_0x19ab68?N(_0x19ab68):void 0x0,'cursor':{'row':0x0,'column':Math[_0x298193(0x234)](_0x214626,_0x3e1774['tableColumns']['length']-0x1)}});}function vt(_0x309c33){const _0x466b3a=_0x5d7830;let {documentData:_0x391a85,tableId:_0x1a2430}=_0x309c33,_0x246ced=E(_0x391a85),_0xa7b14d={..._0x246ced[_0x466b3a(0x230)]??{}},_0x1e33d4=_0x309c33[_0x466b3a(0x191)]?N(_0x309c33[_0x466b3a(0x191)]):void 0x0;return At(_0x246ced,_0x1a2430),delete _0xa7b14d[_0x1a2430],_0x246ced[_0x466b3a(0x230)]=_0xa7b14d,_0x1e33d4&&delete _0x1e33d4['tables'][_0x1a2430],{'nextDocumentData':_0x246ced,'nextMetadata':_0x1e33d4,'cursor':{'row':0x0,'column':0x0},'deleteTable':!0x0};}function yt(_0x83b3cb){const _0x7b4f0=_0x5d7830;let _0x3de49e=E(_0x83b3cb['documentData'],{'tableIds':[_0x83b3cb[_0x7b4f0(0x139)]]}),_0x1a1c3e=xt(_0x3de49e,_0x83b3cb['tableId']),_0x4d81c0=P(_0x3de49e,_0x83b3cb[_0x7b4f0(0x139)]),_0x19396f=_0x83b3cb[_0x7b4f0(0x261)]??0x1,_0x2ed084=It(_0x83b3cb['fromRow'],_0x1a1c3e[_0x7b4f0(0xf6)][_0x7b4f0(0x146)]-0x1),_0x39da05=It(_0x83b3cb[_0x7b4f0(0x17c)],_0x1a1c3e[_0x7b4f0(0xf6)][_0x7b4f0(0x146)]-0x1),_0x26f7f5=Math['min'](_0x1a1c3e[_0x7b4f0(0xf6)][_0x7b4f0(0x146)]-0x1,_0x2ed084+_0x19396f-0x1),_0x106462=_0x26f7f5-_0x2ed084+0x1,_0x4820de=_0x83b3cb['position']===_0x7b4f0(0xf7)?_0x39da05:_0x39da05+0x1;if(_0x106462<=0x0||_0x4820de>=_0x2ed084&&_0x4820de<=_0x26f7f5+0x1)return{'nextDocumentData':_0x3de49e,'nextMetadata':_0x83b3cb['metadata']?N(_0x83b3cb['metadata']):void 0x0,'cursor':{'row':_0x2ed084,'column':0x0}};let _0x11772a=_0x1a1c3e[_0x7b4f0(0xf6)]['splice'](_0x2ed084,_0x106462),_0x2690ce=_0x4820de>_0x26f7f5?_0x4820de-_0x106462:_0x4820de;_0x1a1c3e[_0x7b4f0(0xf6)]['splice'](_0x2690ce,0x0,..._0x11772a);let _0x107811=T(_0x4d81c0,_0x2ed084)['startOffset'],_0x9363a6=T(_0x4d81c0,_0x26f7f5)[_0x7b4f0(0xeb)]+0x1,_0x17f536=_0x4820de>_0x26f7f5?T(_0x4d81c0,Math[_0x7b4f0(0x234)](_0x39da05,_0x4d81c0[_0x7b4f0(0xe4)]-0x1))[_0x7b4f0(0xeb)]+0x1:T(_0x4d81c0,_0x39da05)[_0x7b4f0(0x189)];return Ft(_0x3de49e[_0x7b4f0(0x15c)],_0x107811,_0x9363a6,_0x17f536),{'nextDocumentData':_0x3de49e,'nextMetadata':_0x83b3cb[_0x7b4f0(0x191)]?N(_0x83b3cb[_0x7b4f0(0x191)]):void 0x0,'cursor':{'row':_0x2690ce,'column':0x0}};}function bt(_0x423ad2){const _0x77d337=_0x5d7830;let _0x2f64d5=E(_0x423ad2['documentData'],{'tableIds':[_0x423ad2['tableId']]}),_0x23f187=xt(_0x2f64d5,_0x423ad2[_0x77d337(0x139)]),_0x1321ae=P(_0x2f64d5,_0x423ad2[_0x77d337(0x139)]),_0x1cd64b=_0x423ad2[_0x77d337(0x261)]??0x1,_0x4acc79=It(_0x423ad2[_0x77d337(0x17b)],_0x23f187[_0x77d337(0x110)][_0x77d337(0x146)]-0x1),_0x572eb7=It(_0x423ad2['toColumn'],_0x23f187[_0x77d337(0x110)][_0x77d337(0x146)]-0x1),_0x34416=Math[_0x77d337(0x234)](_0x23f187['tableColumns'][_0x77d337(0x146)]-0x1,_0x4acc79+_0x1cd64b-0x1),_0x4200d9=_0x34416-_0x4acc79+0x1,_0x379bc2=_0x423ad2[_0x77d337(0xe2)]===_0x77d337(0x240)?_0x572eb7:_0x572eb7+0x1;if(_0x4200d9<=0x0||_0x379bc2>=_0x4acc79&&_0x379bc2<=_0x34416+0x1)return{'nextDocumentData':_0x2f64d5,'nextMetadata':_0x423ad2[_0x77d337(0x191)]?N(_0x423ad2[_0x77d337(0x191)]):void 0x0,'cursor':{'row':0x0,'column':_0x4acc79}};let _0x760fff=_0x23f187['tableColumns'][_0x77d337(0x1f9)](_0x4acc79,_0x4200d9),_0x2ad6fd=_0x379bc2>_0x34416?_0x379bc2-_0x4200d9:_0x379bc2;return _0x23f187[_0x77d337(0x110)][_0x77d337(0x1f9)](_0x2ad6fd,0x0,..._0x760fff),_0x23f187['tableRows'][_0x77d337(0x1fa)](_0x857871=>{const _0x545c1d=_0x77d337;let _0x16781c=_0x857871[_0x545c1d(0xe1)][_0x545c1d(0x1f9)](_0x4acc79,_0x4200d9);_0x857871['tableCells'][_0x545c1d(0x1f9)](_0x2ad6fd,0x0,..._0x16781c);}),_0x1321ae['rows']['forEach'](_0x331d2e=>{const _0x46ccd9=_0x77d337;let _0x2aec5d=_0x331d2e[_0x46ccd9(0x1dd)][_0x4acc79]['startOffset'],_0x148da1=_0x331d2e[_0x46ccd9(0x1dd)][_0x34416][_0x46ccd9(0xeb)]+0x1,_0x3a0b1f=_0x379bc2>_0x34416?_0x331d2e[_0x46ccd9(0x1dd)][Math[_0x46ccd9(0x234)](_0x572eb7,_0x331d2e['cells']['length']-0x1)]['endOffset']+0x1:_0x331d2e[_0x46ccd9(0x1dd)][_0x572eb7][_0x46ccd9(0x189)];Ft(_0x2f64d5[_0x46ccd9(0x15c)],_0x2aec5d,_0x148da1,_0x3a0b1f);}),{'nextDocumentData':_0x2f64d5,'nextMetadata':_0x423ad2['metadata']?N(_0x423ad2[_0x77d337(0x191)]):void 0x0,'cursor':{'row':0x0,'column':_0x2ad6fd}};}function xt(_0x195fc1,_0x579768){const _0xcc8953=_0x5d7830;var _0x3dd222;let _0x255839=(_0x3dd222=_0x195fc1[_0xcc8953(0x230)])==null?void 0x0:_0x3dd222[_0x579768];if(!_0x255839)throw Error(_0xcc8953(0x1e1)+_0x579768+_0xcc8953(0x127));return _0x255839;}function P(_0xed1679,_0x59d084){const _0xc7e31c=_0x5d7830;let _0x167fbb=w(_0xed1679,_0x59d084);if(!_0x167fbb)throw Error(_0xc7e31c(0x1e1)+_0x59d084+_0xc7e31c(0x1d7));return _0x167fbb;}function St(_0x50db54){const _0xbb3dd2=_0x5d7830;let _0x7f5233=_0x1ce513['deepClone'](_0x50db54);return _0x7f5233[_0xbb3dd2(0xe1)]=_0x50db54[_0xbb3dd2(0xe1)][_0xbb3dd2(0x1a4)](_0x5a6ca7=>Ct(_0x5a6ca7)),_0x7f5233;}function Ct(_0x276675){const _0x3e8bfa=_0x5d7830;return _0x1ce513[_0x3e8bfa(0x178)]({..._0x276675});}function wt(_0x163cb2){const _0x5bc932=_0x5d7830;return''+_0x23da6c[_0x5bc932(0x1d6)]+Et(Tt(),_0x163cb2)+_0x23da6c['TABLE_ROW_END'];}function Tt(){const _0xd550ae=_0x5d7830;return _0x23da6c[_0xd550ae(0x19a)]+'\x0d\x0a'+_0x23da6c['TABLE_CELL_END'];}function _0x1d01(){const _0x28dbfc=['width','MODERN','delete-columns','gridBefore','rowSpan','color','docs-table.command.distribute-columns','docs-table.command.set-table-background','_canCombineRectRanges','valueRangeId','asc','getDisabled','1.4.0','unitId','reduce','tableColumns','TABLE_START','complete','docs-table.command.set-column-type','Table\x20can\x20only\x20be\x20inserted\x20in\x20a\x20normal\x20paragraph\x20area','emitCurrentSelection','symbol','_nativeSelectionSuppressed','compose','querySelectorAll','isArray','insertOp','call','docs-table.command.unmerge-cells','getSnapshot','NONE','right','delete','paragraphStyle','end','Text','14421447lyoKDK','cursorRow','\x20is\x20not\x20found.','textRuns','isNaN','textContent','blockRanges','trigger','innerVertical','tableIds','InnerVertical','getActiveTextRange','docs-table.command.paste-without-formatting','toLowerCase','kind','preset','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Outer','removeOp','Inner','tableId','<tr>','syncExecuteCommand','actions','slice','docs-table.command.delete-table','children','copy','delete-table','dispose','solid','EditTableCell','desc','length','TABLE_CELL_END','8653554JRiLwb','clearStructuralSelection','posOffset','40xQdvJN','13074593fXXkOz','_preserveStructuralSelectionOnNextTextSelection','FALSE','positionH','has','RECT','docs-table.command.insert-rows','docs-table.command.insert-table','12WjZdqS','structural','match','docs-table.command.set-table-align','_getValidStructuralSelection','getCurrentUnitOfType','customRanges','Offset','body','dot','asObservable','dashed','dropdown','getUnitId','sortStartRow','rowspan','getTableMetadata','defineProperty','_selectionChange$','col','START','pluginName','hRule','docs-table.command.resize-column','split','selection','Dropdown','_docSelectionManagerService','documentEnd','clearColor','docs-table.command.copy-selection','replace','docsTableTitleRow','background','_configService','add','deepClone','\x5cs*:\x5cs*([^;]+)','disposeWithMe','fromColumn','toRow','column','setTitleRow','docsTableType','drawingsOrder','8954280wwrZkh','INSERT','setStructuralHeaderSelection','endIndex','sortedRowIndexes','repeatHeaderRow','physicalIndex','row','startOffset','docs-table.command.insert-title-row','_getCurrentDoc','Left','positionV','toColumn','_restoreNativeSelectionForTextFocus','localeCompare','metadata','bottom','getCurrentSelection','get','PAGE','delete-rows','rows','selectionChange$','fromEntries','TABLE_CELL_START','\x20is\x20out\x20of\x20range.','join','tagName','border','Below','fromRow','stringify','titleRow','</tbody></table>','map','borderRight','segmentId','docs-table.command.set-table-border-width','documentFlavor','1648tYgXxq','checked','index','prototype','text','textSelection$','table','Column','docs-table.command.set-table-border-style','getOwnPropertyDescriptor','values','SOLID','startIndex','TABLE_ROW_END','8OLJClr','DocumentEnd','cellMargin','indexOf','removeUnit','border-width','includes','[DocsTable]:\x20Cannot\x20merge\x20a\x20non-rectangular\x20or\x20already\x20merged\x20selection.','isFinite','docsTableLegacyHeaderRow','getStructuralSelection','docs-table.command.set-header-row-count','insertedColumnWidth','physicalInsertIndex','abs','backgroundColor','borderBottom','nextDocumentData','push','range','innerHorizontal','getSelfOrHeaderFooterModel','find','getAttribute','dashStyle','[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.','startRow','isFirstRow','insert-rows','physicalFrom','replaceDocRanges','TABLE_ROW_START','\x20range\x20is\x20not\x20found.','getRectRanges','top','headingId','Rect','style','cells','footers','docs-table.command.sort-table','docs-table-cell:','[DocsTable]:\x20Table\x20','TABLE_END','checkbox','size','getInstance','cursorOffset','_commandService','DASH','insert-columns','paragraphId','object','transparent','getUnit','preserveOnTextSelection','</td>','drawings','bullet','columnSpan','parse','borderTop','_setResource','textWrap','_docsTableModel','[DocsTable]:\x20Table\x20is\x20not\x20found.','splice','forEach','text/html','max','Cell','docs-table.command.move-rows','_structuralSelectionScopeDepth','vAlign','endsWith','deserialize','docs-table.command.move-table','UNIVER_DOC','docs-table.config','margin','innerHTML','targetOffset','merge','getStableTableSelection','<','nextMetadata','trHeight','some','Desc','SPECIFIED','Selection','serialize','test','docs-table.command.delete-columns','deltaY','docs-table.command.distribute-rows','tables','iterator','[DocsTable]:\x20Cell\x20','[DocsTable]:\x20Cannot\x20unmerge\x20an\x20unmerged\x20cell.','from','columns','customDecorations','_change$','Right','setConfig','default','_structuralSelectionTableShape','next','columnGroups','params','Table','endRow','replaceOp','Checkbox','resolveTableMetadata','filter','parseFromString','type','\x5cs*:\x5cs*([0-9.]+)\x5cs*(px|pt|in|cm|mm)?','_clearStructuralSelectionState','tableSource','WRAP','_injector','[DocsTable]:\x20Cannot\x20sort\x20a\x20table\x20with\x20row-spanning\x20merged\x20cells.','min','docsTableLegacyType','Row','getBody','number','All','borderLeft','querySelector','value','paragraphs','DOT','retain','left','startColumn','COMMAND','columnTypes','sectionBreaks','setStructuralSelection','docsTableMetadataVersion','TRUE','all','4587209VWcDvN','editOp','_initCommands','columnWidths','reverse','date','keys','outer','_univerInstanceService','config','height','inner','AT_LEAST','docs-table.command.delete-rows','function','2234QOfZyA','trim','sort','moveOp','docsTableLegacyTitleRow','offset','clearNativeSelection','val','endColumn','count','insert','subscribe','columnCount','direction','[DocsTable]:\x20Column\x20','_resourceManagerService','_setDirectStructuralSelection','double','>','isNoop','flatMap','below','align','cell','_structuralSelection','sectionId','start','round','serializeDocument','beforeCommandExecuted','documentData','none','<td>','docs-table.command.set-table-border-color','border-color','_resources','_config','clear','findIndex','PARAGRAPH','docs-table.command.set-table-border','cursorColumn','string','version','Number','tableCells','position','headerRowCount','rowCount','</tr>','isInteger','&','preserveTotalWidth','bodyPath','_initResource','endOffset','entries','deltaX','SECTION_BREAK','CENTER','dataStream','1258389muxDFF','[DocsTable]:\x20Row\x20','TRADITIONAL','<br>','true','tableRows','above','pop','DELETE','decorate','_getSelectionFromActiveTextRange','set','None','customBlocks','InnerHorizontal','docsTableCellId'];_0x1d01=function(){return _0x28dbfc;};return _0x1d01();}function Et(_0x94b837,_0x358be5){const _0x2e6988=_0x5d7830;return Array[_0x2e6988(0x21b)]({'length':_0x358be5},()=>_0x94b837)['join']('');}function Dt(_0x1e64a0,_0x29f871,_0x30abcb,_0x5f5acd,_0x503dcc,_0x316e42){const _0x25d15b=_0x5d7830;let _0x37cd27=Et(Tt(),_0x503dcc),_0x22e5f8=_0x30abcb[_0x25d15b(0x197)][_0x25d15b(0x1a4)](_0x3eda93=>{const _0x724b50=_0x25d15b;let _0xe46a57=_0x3eda93[_0x724b50(0x1dd)][_0x5f5acd];return _0x316e42===_0x724b50(0x240)?_0xe46a57[_0x724b50(0x189)]:_0xe46a57[_0x724b50(0xeb)]+0x1;})[_0x25d15b(0x25a)]((_0x5bf884,_0x267c8e)=>_0x267c8e-_0x5bf884);for(let _0x53d883 of _0x22e5f8)Nt(_0x1e64a0[_0x25d15b(0x15c)],_0x53d883,_0x37cd27),_0x1e64a0[_0x25d15b(0x15c)]&&(zt(_0x1e64a0[_0x25d15b(0x15c)],_0x53d883,_0x37cd27[_0x25d15b(0x146)]),Bt(_0x1e64a0[_0x25d15b(0x15c)],_0x53d883,_0x37cd27));Rt(_0x1e64a0,_0x29f871,_0x30abcb[_0x25d15b(0xeb)],_0x37cd27[_0x25d15b(0x146)]*_0x22e5f8[_0x25d15b(0x146)]);}function Ot(_0x53cde9,_0x745459,_0x3fce2a,_0x4c1857){const _0x3254ec=_0x5d7830;let _0x40752b=P(_0x53cde9,_0x745459),_0x11dcf0=T(_0x40752b,_0x3fce2a)[_0x3254ec(0x189)];Mt(_0x53cde9,_0x745459,_0x11dcf0,T(_0x40752b,_0x4c1857)[_0x3254ec(0xeb)]+0x1);}function kt(_0x3f0d31,_0x4e5c28,_0x1f72de,_0x4f85ef){const _0x1bdbd1=_0x5d7830;let _0x1e7a98=P(_0x3f0d31,_0x4e5c28),_0x43ed97=[];for(let _0x4b6469=_0x1f72de;_0x4b6469<=_0x4f85ef;_0x4b6469++)_0x43ed97['push'](...Ce(_0x1e7a98,_0x4b6469)[_0x1bdbd1(0x1dd)][_0x1bdbd1(0x1a4)](_0x346549=>({'startOffset':_0x346549[_0x1bdbd1(0x189)],'endOffset':_0x346549[_0x1bdbd1(0xeb)]+0x1})));_0x43ed97[_0x1bdbd1(0x25a)]((_0x17cd83,_0x6713d0)=>_0x6713d0[_0x1bdbd1(0x189)]-_0x17cd83[_0x1bdbd1(0x189)]);let _0x347b5d=0x0;for(let _0x449785 of _0x43ed97){let _0x39d77b=_0x449785[_0x1bdbd1(0x189)]-_0x449785[_0x1bdbd1(0xeb)];_0x347b5d-=_0x39d77b,Pt(_0x3f0d31[_0x1bdbd1(0x15c)],_0x449785['startOffset'],_0x449785[_0x1bdbd1(0xeb)]),_0x3f0d31[_0x1bdbd1(0x15c)]&&zt(_0x3f0d31['body'],_0x449785['startOffset'],_0x39d77b);}Rt(_0x3f0d31,_0x4e5c28,_0x1e7a98[_0x1bdbd1(0xeb)],-_0x347b5d);}function At(_0xa1537d,_0x1a48b8){const _0x4404be=_0x5d7830;var _0x309008;let _0x5af983=P(_0xa1537d,_0x1a48b8);Mt(_0xa1537d,_0x1a48b8,_0x5af983[_0x4404be(0x189)],_0x5af983[_0x4404be(0xeb)]),(_0x309008=_0xa1537d['body'])!=null&&_0x309008['tables']&&(_0xa1537d[_0x4404be(0x15c)][_0x4404be(0x217)]=_0xa1537d['body']['tables']['filter'](_0x23200f=>_0x23200f[_0x4404be(0x139)]!==_0x1a48b8));}function jt(_0x44d27a,_0x2e1508,_0x4d556a,_0x5b3eff){const _0x2fd810=_0x5d7830;Nt(_0x44d27a[_0x2fd810(0x15c)],_0x4d556a,_0x5b3eff),Lt(_0x44d27a,_0x2e1508,_0x4d556a,_0x5b3eff[_0x2fd810(0x146)]),_0x44d27a[_0x2fd810(0x15c)]&&Bt(_0x44d27a[_0x2fd810(0x15c)],_0x4d556a,_0x5b3eff);}function Mt(_0x59a861,_0x1ef0d9,_0x432578,_0x51ceea){const _0x26f8b4=_0x5d7830;Pt(_0x59a861[_0x26f8b4(0x15c)],_0x432578,_0x51ceea),Lt(_0x59a861,_0x1ef0d9,_0x432578,_0x432578-_0x51ceea);}function Nt(_0x2a028f,_0x41b956,_0x4beb11){const _0x515e95=_0x5d7830;_0x2a028f!=null&&_0x2a028f[_0x515e95(0xf0)]&&(_0x2a028f[_0x515e95(0xf0)]=''+_0x2a028f[_0x515e95(0xf0)][_0x515e95(0x13d)](0x0,_0x41b956)+_0x4beb11+_0x2a028f[_0x515e95(0xf0)][_0x515e95(0x13d)](_0x41b956));}function Pt(_0x58dc32,_0x24ebaa,_0x18d976){const _0x30cec5=_0x5d7830;_0x58dc32!=null&&_0x58dc32[_0x30cec5(0xf0)]&&(_0x58dc32[_0x30cec5(0xf0)]=''+_0x58dc32[_0x30cec5(0xf0)][_0x30cec5(0x13d)](0x0,_0x24ebaa)+_0x58dc32[_0x30cec5(0xf0)][_0x30cec5(0x13d)](_0x18d976));}function Ft(_0x5a22eb,_0x5115e8,_0x5e630d,_0x3f1340){const _0x246469=_0x5d7830;if(!(_0x5a22eb!=null&&_0x5a22eb[_0x246469(0xf0)])||_0x3f1340>=_0x5115e8&&_0x3f1340<=_0x5e630d)return;let _0x8bad58=_0x5a22eb[_0x246469(0xf0)][_0x246469(0x13d)](_0x5115e8,_0x5e630d),_0x2a24d7=''+_0x5a22eb['dataStream'][_0x246469(0x13d)](0x0,_0x5115e8)+_0x5a22eb[_0x246469(0xf0)][_0x246469(0x13d)](_0x5e630d),_0x4c8f29=_0x3f1340>_0x5e630d?_0x3f1340-_0x8bad58[_0x246469(0x146)]:_0x3f1340;_0x5a22eb['dataStream']=''+_0x2a24d7[_0x246469(0x13d)](0x0,_0x4c8f29)+_0x8bad58+_0x2a24d7[_0x246469(0x13d)](_0x4c8f29);}function It(_0x2873f5,_0x29b5e6){const _0x159ebf=_0x5d7830;return Math[_0x159ebf(0x234)](Math[_0x159ebf(0x1fc)](0x0,_0x2873f5),Math[_0x159ebf(0x1fc)](0x0,_0x29b5e6));}function Lt(_0x5750cc,_0x2fa1f8,_0x44c2a2,_0x2e0ffe){const _0x340424=_0x5d7830;let _0x27e73d=_0x5750cc[_0x340424(0x15c)];_0x27e73d&&_0x2e0ffe!==0x0&&(Rt(_0x5750cc,_0x2fa1f8,_0x44c2a2,_0x2e0ffe),zt(_0x27e73d,_0x44c2a2,_0x2e0ffe));}function Rt(_0x3e6943,_0x41e231,_0x2e9803,_0x32dd78){const _0x3fcd3f=_0x5d7830;let _0x301ad1=_0x3e6943[_0x3fcd3f(0x15c)];_0x301ad1!=null&&_0x301ad1[_0x3fcd3f(0x217)]&&_0x32dd78!==0x0&&(_0x301ad1[_0x3fcd3f(0x217)]&&=_0x301ad1['tables'][_0x3fcd3f(0x1a4)](_0x52516d=>_0x52516d[_0x3fcd3f(0x139)]===_0x41e231?{..._0x52516d,'endIndex':_0x52516d[_0x3fcd3f(0x184)]+_0x32dd78}:_0x52516d[_0x3fcd3f(0x1b5)]>=_0x2e9803?{..._0x52516d,'startIndex':_0x52516d[_0x3fcd3f(0x1b5)]+_0x32dd78,'endIndex':_0x52516d[_0x3fcd3f(0x184)]+_0x32dd78}:_0x52516d));}function zt(_0x596fae,_0x166d59,_0x1d746b){const _0x27fdbd=_0x5d7830;var _0x1fe456,_0x133120,_0x44078a,_0x42a6b2,_0x42ad04,_0x6d2075,_0x50febe,_0x48b9b3;let _0x42d3ae=ke(_0x596fae);_0x596fae[_0x27fdbd(0x23d)]=(_0x1fe456=_0x596fae['paragraphs'])==null?void 0x0:_0x1fe456[_0x27fdbd(0x1a4)](_0x15e287=>{let _0x493e58=Ut(_0x15e287['startIndex'],_0x166d59,_0x1d746b);return _0x493e58==null?null:{..._0x15e287,'startIndex':_0x493e58};})[_0x27fdbd(0x22b)](_0x47a77b=>_0x47a77b!=null),_0x596fae['sectionBreaks']=(_0x133120=_0x596fae[_0x27fdbd(0x244)])==null?void 0x0:_0x133120[_0x27fdbd(0x1a4)](_0x1fa6bb=>{const _0x37bc04=_0x27fdbd;let _0x1c31a3=Ut(_0x1fa6bb[_0x37bc04(0x1b5)],_0x166d59,_0x1d746b);return _0x1c31a3==null?null:{..._0x1fa6bb,'startIndex':_0x1c31a3};})[_0x27fdbd(0x22b)](_0xaef302=>_0xaef302!=null),_0x596fae[_0x27fdbd(0xfe)]=(_0x44078a=_0x596fae[_0x27fdbd(0xfe)])==null?void 0x0:_0x44078a['map'](_0x223354=>{const _0xbce52f=_0x27fdbd;let _0x2a6aa4=Ut(_0x223354[_0xbce52f(0x1b5)],_0x166d59,_0x1d746b);return _0x2a6aa4==null?null:{..._0x223354,'startIndex':_0x2a6aa4};})['filter'](_0x12cdd4=>_0x12cdd4!=null),_0x596fae[_0x27fdbd(0x12b)]=(_0x42a6b2=_0x596fae[_0x27fdbd(0x12b)])==null?void 0x0:_0x42a6b2['map'](_0x567dec=>{const _0x52ac74=_0x27fdbd;let _0x5143c9=Wt(_0x567dec['startIndex'],_0x567dec[_0x52ac74(0x184)],_0x166d59,_0x1d746b);return _0x5143c9==null?null:{..._0x567dec,'startIndex':_0x5143c9[_0x52ac74(0xce)],'endIndex':_0x5143c9[_0x52ac74(0x123)]};})[_0x27fdbd(0x22b)](_0x18386e=>_0x18386e!=null),_0x596fae['textRuns']=(_0x42ad04=_0x596fae['textRuns'])==null?void 0x0:_0x42ad04['map'](_0x461b35=>{const _0xa71a9e=_0x27fdbd;let _0x38da73=Wt(_0x461b35['st'],_0x461b35['ed'],_0x166d59,_0x1d746b);return _0x38da73==null?null:{..._0x461b35,'st':_0x38da73[_0xa71a9e(0xce)],'ed':_0x38da73[_0xa71a9e(0x123)]};})['filter'](_0x29fda9=>_0x29fda9!=null),_0x596fae[_0x27fdbd(0x15a)]=(_0x6d2075=_0x596fae[_0x27fdbd(0x15a)])==null?void 0x0:_0x6d2075['map'](_0x5d7055=>{const _0x52615e=_0x27fdbd;let _0x4e88fe=Wt(_0x5d7055['startIndex'],_0x5d7055[_0x52615e(0x184)],_0x166d59,_0x1d746b);return _0x4e88fe==null?null:{..._0x5d7055,'startIndex':_0x4e88fe[_0x52615e(0xce)],'endIndex':_0x4e88fe[_0x52615e(0x123)]};})[_0x27fdbd(0x22b)](_0x1fb217=>_0x1fb217!=null),_0x596fae[_0x27fdbd(0x21d)]=(_0x50febe=_0x596fae[_0x27fdbd(0x21d)])==null?void 0x0:_0x50febe[_0x27fdbd(0x1a4)](_0xc2a723=>{const _0x105d8d=_0x27fdbd;let _0xf7a306=Wt(_0xc2a723['startIndex'],_0xc2a723[_0x105d8d(0x184)],_0x166d59,_0x1d746b);return _0xf7a306==null?null:{..._0xc2a723,'startIndex':_0xf7a306[_0x105d8d(0xce)],'endIndex':_0xf7a306[_0x105d8d(0x123)]};})[_0x27fdbd(0x22b)](_0x2bcf3e=>_0x2bcf3e!=null),_0x42d3ae['columnGroups']=(_0x48b9b3=_0x42d3ae[_0x27fdbd(0x224)])==null?void 0x0:_0x48b9b3[_0x27fdbd(0x1a4)](_0x25228b=>{const _0x17872c=_0x27fdbd;let _0xeaae9c=Wt(_0x25228b['startIndex'],_0x25228b['endIndex'],_0x166d59,_0x1d746b);return _0xeaae9c==null?null:{..._0x25228b,'startIndex':_0xeaae9c[_0x17872c(0xce)],'endIndex':_0xeaae9c['end']};})[_0x27fdbd(0x22b)](_0x5a3d2f=>_0x5a3d2f!=null);}function Bt(_0x1a4f29,_0x3ec765,_0x29309d){const _0x393823=_0x5d7830;let _0x21c4e8=Vt(_0x1a4f29),_0x2753a0=new Set((_0x1a4f29[_0x393823(0x244)]??[])[_0x393823(0x1a4)](_0x488d70=>_0x488d70[_0x393823(0xcd)])),_0x3b7154=Ht(_0x29309d,'\x0d')[_0x393823(0x1a4)](_0x10f3dc=>({'startIndex':_0x3ec765+_0x10f3dc,'paragraphId':_0x44dc69(_0x21c4e8)})),_0x253ce1=Ht(_0x29309d,'\x0a')[_0x393823(0x1a4)](_0x54ac4c=>({'startIndex':_0x3ec765+_0x54ac4c,'sectionId':_0x5bd5bc(_0x2753a0)}));_0x3b7154['length']&&(_0x1a4f29[_0x393823(0x23d)]=[..._0x1a4f29[_0x393823(0x23d)]??[],..._0x3b7154][_0x393823(0x25a)]((_0x549f47,_0x5283f4)=>_0x549f47[_0x393823(0x1b5)]-_0x5283f4[_0x393823(0x1b5)])),_0x253ce1['length']&&(_0x1a4f29['sectionBreaks']=[..._0x1a4f29['sectionBreaks']??[],..._0x253ce1]['sort']((_0x4429d,_0x53a146)=>_0x4429d[_0x393823(0x1b5)]-_0x53a146[_0x393823(0x1b5)]));}function Vt(_0x11a3ed){const _0x93259c=_0x5d7830;return new Set((_0x11a3ed['paragraphs']??[])[_0x93259c(0x1a4)](_0x4cd424=>_0x4cd424['paragraphId']));}function Ht(_0x24cdc2,_0x4c857c){const _0x237f24=_0x5d7830;let _0x5b076b=[];for(let _0x131112=0x0;_0x131112<_0x24cdc2[_0x237f24(0x146)];_0x131112++)_0x24cdc2[_0x131112]===_0x4c857c&&_0x5b076b[_0x237f24(0x1c9)](_0x131112);return _0x5b076b;}function Ut(_0x3f6df1,_0x5714fe,_0xfcf204){if(_0xfcf204>=0x0)return _0x3f6df1>=_0x5714fe?_0x3f6df1+_0xfcf204:_0x3f6df1;let _0x476afc=_0x5714fe-_0xfcf204;return _0x3f6df1>=_0x5714fe&&_0x3f6df1<_0x476afc?null:_0x3f6df1>=_0x476afc?_0x3f6df1+_0xfcf204:_0x3f6df1;}function Wt(_0x842c4a,_0x21c4d6,_0x24b787,_0x403564){if(_0x403564>=0x0)return{'end':_0x21c4d6>=_0x24b787?_0x21c4d6+_0x403564:_0x21c4d6,'start':_0x842c4a>=_0x24b787?_0x842c4a+_0x403564:_0x842c4a};let _0x2590e=_0x24b787-_0x403564;if(_0x21c4d6<_0x24b787)return{'start':_0x842c4a,'end':_0x21c4d6};if(_0x842c4a>=_0x2590e)return{'start':_0x842c4a+_0x403564,'end':_0x21c4d6+_0x403564};let _0x435779=_0x842c4a<_0x24b787?_0x842c4a:_0x24b787,_0x688bde=_0x21c4d6>=_0x2590e?_0x21c4d6+_0x403564:_0x24b787;return _0x688bde<_0x435779?null:{'start':_0x435779,'end':_0x688bde};}function Gt(_0x417ead,_0x550522){const _0x1e2b35=_0x5d7830;let _0x1b0ff4=_0x417ead[_0x1e2b35(0x110)]['reduce']((_0x2e89ce,_0x1aef8d)=>_0x2e89ce+_0x1aef8d[_0x1e2b35(0x1e4)][_0x1e2b35(0x101)]['v'],0x0)-_0x550522,_0x55e11a=_0x417ead['tableColumns'][_0x1e2b35(0x10f)]((_0x344a48,_0xdefe12)=>_0x344a48+_0xdefe12['size']['width']['v'],0x0);_0x1b0ff4<=0x0||_0x55e11a<=0x0||_0x417ead[_0x1e2b35(0x110)][_0x1e2b35(0x1fa)](_0x48ddda=>{_0x48ddda['size']['width']['v']=_0x48ddda['size']['width']['v']/_0x55e11a*_0x1b0ff4;});}function Kt(_0x7849f8,_0xd37c21,_0x436998,_0x29284f){const _0x4a1256=_0x5d7830;var _0x12adc1;if(!_0x7849f8)return;let _0x12ca3b=N(_0x7849f8),_0x4c1da7=((_0x12adc1=_0x12ca3b[_0x4a1256(0x217)][_0xd37c21])==null?void 0x0:_0x12adc1[_0x4a1256(0xe3)])??0x0;if(_0x4c1da7<=0x0)return _0x12ca3b;let _0x46fb3f=Math[_0x4a1256(0x1fc)](0x0,Math['min'](_0x29284f,_0x4c1da7-0x1)-Math[_0x4a1256(0x1fc)](_0x436998,0x0)+0x1);return it(_0x12ca3b,_0xd37c21,Math[_0x4a1256(0x1fc)](0x0,_0x4c1da7-_0x46fb3f));}function qt(_0x333f94,_0x223260=['body']){const _0xb504fd=_0x5d7830;var _0x2b54a6,_0x2b9b1a,_0x18068c,_0x31c1eb;let _0x2a37a3=w(_0x333f94[_0xb504fd(0xd2)],_0x333f94[_0xb504fd(0x139)]),_0x55ff59=_0x2a37a3==null||(_0x2b54a6=_0x2a37a3[_0xb504fd(0x197)][_0x333f94[_0xb504fd(0x188)]])==null?void 0x0:_0x2b54a6['cells'][_0x333f94[_0xb504fd(0x17d)]];if(!((_0x2b9b1a=_0x333f94[_0xb504fd(0xd2)][_0xb504fd(0x15c)])!=null&&_0x2b9b1a['dataStream'])||!_0x2a37a3||!_0x55ff59)throw Error(_0xb504fd(0x219)+_0x333f94[_0xb504fd(0x188)]+':'+_0x333f94['column']+_0xb504fd(0x127));let _0x4085b6=Yt(_0x333f94[_0xb504fd(0x1ad)]),_0x3319fc=_0x55ff59['startOffset']+0x1,_0x2fc83a=_0x333f94[_0xb504fd(0xd2)]['body'][_0xb504fd(0xf0)][_0xb504fd(0x13d)](_0x55ff59[_0xb504fd(0xeb)]-0x2,_0x55ff59['endOffset'])==='\x0d\x0a',_0x6baea=(_0x18068c=_0x333f94[_0xb504fd(0xd2)][_0xb504fd(0x15c)][_0xb504fd(0x23d)])==null?void 0x0:_0x18068c[_0xb504fd(0x1cd)](_0x37b538=>_0x37b538[_0xb504fd(0x1b5)]===_0x55ff59[_0xb504fd(0xeb)]-0x2),_0x82414b=(_0x31c1eb=_0x333f94[_0xb504fd(0xd2)]['tableSource'])==null||(_0x31c1eb=_0x31c1eb[_0x333f94[_0xb504fd(0x139)]])==null||(_0x31c1eb=_0x31c1eb[_0xb504fd(0xf6)][_0x333f94['row']])==null?void 0x0:_0x31c1eb[_0xb504fd(0xe1)][_0x333f94[_0xb504fd(0x17d)]],_0x38fca2=(_0x6baea==null?void 0x0:_0x6baea[_0xb504fd(0x1ea)])??(_0x82414b==null?void 0x0:_0x82414b[_0xb504fd(0x100)])??'legacy:'+_0x333f94[_0xb504fd(0x188)]+':'+_0x333f94[_0xb504fd(0x17d)];return F(_0x333f94[_0xb504fd(0xd2)],[{'valueRangeId':_0xb504fd(0x1e0)+_0x333f94['tableId']+':'+_0x38fca2,'startOffset':_0x3319fc,'endOffset':_0x2fc83a?_0x55ff59[_0xb504fd(0xeb)]-0x2:_0x55ff59[_0xb504fd(0xeb)],'text':_0x2fc83a?_0x4085b6[_0xb504fd(0x13d)](0x0,-0x2):_0x4085b6}],_0x223260);}function F(_0x4d9250,_0x3dbba2,_0x5ab706=[_0x5d7830(0x15c)]){const _0x4b994c=_0x5d7830;let _0x514c5b=_0x4d9250[_0x4b994c(0x15c)];if(!(_0x514c5b!=null&&_0x514c5b[_0x4b994c(0xf0)]))return null;let _0x48dc7c=_0x3dbba2[_0x4b994c(0x22b)](_0x14e123=>_0x514c5b['dataStream']['slice'](_0x14e123[_0x4b994c(0x189)],_0x14e123[_0x4b994c(0xeb)])!==_0x14e123[_0x4b994c(0x1ad)])[_0x4b994c(0x25a)]((_0xe1cfe7,_0x5d16c0)=>_0xe1cfe7[_0x4b994c(0x189)]-_0x5d16c0[_0x4b994c(0x189)]);if(!_0x48dc7c[_0x4b994c(0x146)])return null;let _0x4a4c2d=Zt(_0x514c5b),_0x375cef=new Set((_0x514c5b[_0x4b994c(0x244)]??[])['map'](_0x16882f=>_0x16882f['sectionId'])),_0x5a1e38=new _0x56ae42(),_0x526ad8=0x0;for(let _0x3d62f3 of _0x48dc7c){if(_0x3d62f3[_0x4b994c(0x189)]<_0x526ad8||_0x3d62f3[_0x4b994c(0x189)]<0x0||_0x3d62f3[_0x4b994c(0xeb)]<_0x3d62f3['startOffset']||_0x3d62f3['endOffset']>_0x514c5b[_0x4b994c(0xf0)][_0x4b994c(0x146)])throw Error('[DocsTable]:\x20Cell\x20text\x20replacements\x20must\x20be\x20ordered,\x20non-overlapping,\x20and\x20inside\x20the\x20document\x20body.');let _0x9b839c=_0x3d62f3[_0x4b994c(0x189)]-_0x526ad8;_0x9b839c>0x0&&_0x5a1e38['retain'](_0x9b839c),_0x3d62f3[_0x4b994c(0x1ad)][_0x4b994c(0x146)]>0x0&&_0x5a1e38['push']({'t':_0x486fcd[_0x4b994c(0x182)],'len':_0x3d62f3[_0x4b994c(0x1ad)][_0x4b994c(0x146)],'body':Qt(_0x3d62f3[_0x4b994c(0x1ad)],_0x4a4c2d,_0x375cef),..._0x3d62f3['valueRangeId']?{'valueRangeId':_0x3d62f3[_0x4b994c(0x10a)]}:{}});let _0x2b379d=_0x3d62f3[_0x4b994c(0xeb)]-_0x3d62f3[_0x4b994c(0x189)];_0x2b379d>0x0&&_0x5a1e38[_0x4b994c(0x1c9)]({'t':_0x486fcd[_0x4b994c(0xf9)],'len':_0x2b379d,..._0x3d62f3[_0x4b994c(0x10a)]?{'valueRangeId':_0x3d62f3[_0x4b994c(0x10a)]}:{}}),_0x526ad8=_0x3d62f3['endOffset'];}return _0x50737a[_0x4b994c(0x1e5)]()[_0x4b994c(0x24a)](_0x5a1e38['serialize'](),_0x5ab706);}function Jt(_0x3bf83b){const _0x27b0d9=_0x5d7830;var _0x1a89a6;let _0x185cf2=E(_0x3bf83b[_0x27b0d9(0xd2)]),_0x49d420=_0x185cf2[_0x27b0d9(0x15c)],_0x18bc66=w(_0x185cf2,_0x3bf83b['tableId']),_0x4e0769=_0x18bc66==null||(_0x1a89a6=_0x18bc66[_0x27b0d9(0x197)][_0x3bf83b[_0x27b0d9(0x188)]])==null?void 0x0:_0x1a89a6[_0x27b0d9(0x1dd)][_0x3bf83b[_0x27b0d9(0x17d)]];if(!(_0x49d420!=null&&_0x49d420['dataStream'])||!_0x18bc66||!_0x4e0769)throw Error(_0x27b0d9(0x219)+_0x3bf83b['row']+':'+_0x3bf83b[_0x27b0d9(0x17d)]+_0x27b0d9(0x127));let _0x205468=_0x4e0769[_0x27b0d9(0x189)]+0x1,_0x316726=_0x4e0769['endOffset'],_0x4ad117=Yt(_0x3bf83b[_0x27b0d9(0x1ad)]),_0x3d77e6=_0x4ad117[_0x27b0d9(0x146)]-(_0x316726-_0x205468);return _0x49d420['dataStream']=''+_0x49d420[_0x27b0d9(0xf0)]['slice'](0x0,_0x205468)+_0x4ad117+_0x49d420[_0x27b0d9(0xf0)][_0x27b0d9(0x13d)](_0x316726),Xt(_0x49d420,_0x205468,_0x316726,_0x4ad117,_0x3d77e6),nn(_0x185cf2,_0x3bf83b[_0x27b0d9(0x139)],_0x316726,_0x3d77e6),{'nextDocumentData':_0x185cf2};}function Yt(_0x273e54){const _0x1dadd6=_0x5d7830;return _0x273e54[_0x1dadd6(0x173)](/\r\n/g,'\x0a')[_0x1dadd6(0x173)](/\r/g,'\x0a')['split']('\x0a')[_0x1dadd6(0x19c)]('\x0d\x0a')+'\x0d\x0a';}function Xt(_0x4f28ef,_0x2b70fe,_0x3a685b,_0x32e782,_0x8d5498){const _0x3b0801=_0x5d7830;var _0x1f08a4,_0x11d8ce,_0x3ec703,_0x21205d;let _0x39cb4a=Zt(_0x4f28ef),_0x3c6b0a=new Set((_0x4f28ef[_0x3b0801(0x244)]??[])['map'](_0x293deb=>_0x293deb['sectionId'])),_0x58133f=ke(_0x4f28ef);_0x4f28ef[_0x3b0801(0x23d)]=[...$t(_0x4f28ef[_0x3b0801(0x23d)]??[],_0x2b70fe,_0x3a685b,_0x8d5498),...en(_0x32e782,'\x0d')[_0x3b0801(0x1a4)](_0x3920c7=>({'startIndex':_0x2b70fe+_0x3920c7,'paragraphId':_0x44dc69(_0x39cb4a)}))]['sort']((_0x492c52,_0x920788)=>_0x492c52[_0x3b0801(0x1b5)]-_0x920788['startIndex']),_0x4f28ef[_0x3b0801(0x244)]=[...$t(_0x4f28ef[_0x3b0801(0x244)]??[],_0x2b70fe,_0x3a685b,_0x8d5498),...en(_0x32e782,'\x0a')[_0x3b0801(0x1a4)](_0x12a7e5=>({'startIndex':_0x2b70fe+_0x12a7e5,'sectionId':_0x5bd5bc(_0x3c6b0a)}))][_0x3b0801(0x25a)]((_0x2d1c53,_0x49fdc9)=>_0x2d1c53['startIndex']-_0x49fdc9[_0x3b0801(0x1b5)]),_0x4f28ef[_0x3b0801(0xfe)]=_0x4f28ef[_0x3b0801(0xfe)]?$t(_0x4f28ef[_0x3b0801(0xfe)],_0x2b70fe,_0x3a685b,_0x8d5498):void 0x0,_0x4f28ef[_0x3b0801(0x128)]=(_0x1f08a4=_0x4f28ef[_0x3b0801(0x128)])==null?void 0x0:_0x1f08a4[_0x3b0801(0x1a4)](_0x4f4ed6=>{const _0xe53efa=_0x3b0801;let _0x4c82ba=tn(_0x4f4ed6['st'],_0x4f4ed6['ed'],_0x2b70fe,_0x3a685b,_0x8d5498);return _0x4c82ba==null?null:{..._0x4f4ed6,'st':_0x4c82ba['start'],'ed':_0x4c82ba[_0xe53efa(0x123)]};})[_0x3b0801(0x22b)](_0x49cf69=>_0x49cf69!=null),_0x4f28ef[_0x3b0801(0x15a)]=(_0x11d8ce=_0x4f28ef[_0x3b0801(0x15a)])==null?void 0x0:_0x11d8ce[_0x3b0801(0x1a4)](_0x500f51=>{const _0x1a5487=_0x3b0801;let _0xc25858=tn(_0x500f51[_0x1a5487(0x1b5)],_0x500f51[_0x1a5487(0x184)],_0x2b70fe,_0x3a685b,_0x8d5498);return _0xc25858==null?null:{..._0x500f51,'startIndex':_0xc25858[_0x1a5487(0xce)],'endIndex':_0xc25858[_0x1a5487(0x123)]};})['filter'](_0x576635=>_0x576635!=null),_0x4f28ef['customDecorations']=(_0x3ec703=_0x4f28ef['customDecorations'])==null?void 0x0:_0x3ec703[_0x3b0801(0x1a4)](_0x45a3a6=>{const _0x1e2ce1=_0x3b0801;let _0x754f12=tn(_0x45a3a6[_0x1e2ce1(0x1b5)],_0x45a3a6[_0x1e2ce1(0x184)],_0x2b70fe,_0x3a685b,_0x8d5498);return _0x754f12==null?null:{..._0x45a3a6,'startIndex':_0x754f12[_0x1e2ce1(0xce)],'endIndex':_0x754f12['end']};})[_0x3b0801(0x22b)](_0x564815=>_0x564815!=null),_0x58133f[_0x3b0801(0x224)]=(_0x21205d=_0x58133f['columnGroups'])==null?void 0x0:_0x21205d[_0x3b0801(0x1a4)](_0x31ae9e=>{const _0x1209b4=_0x3b0801;let _0x25c884=tn(_0x31ae9e[_0x1209b4(0x1b5)],_0x31ae9e[_0x1209b4(0x184)],_0x2b70fe,_0x3a685b,_0x8d5498);return _0x25c884==null?null:{..._0x31ae9e,'startIndex':_0x25c884[_0x1209b4(0xce)],'endIndex':_0x25c884[_0x1209b4(0x123)]};})[_0x3b0801(0x22b)](_0x1e18a4=>_0x1e18a4!=null);}function Zt(_0xc15b1c){return new Set((_0xc15b1c['paragraphs']??[])['map'](_0x3f1c88=>_0x3f1c88['paragraphId']));}function Qt(_0x2212a4,_0x448637,_0x1f8a5f){const _0x3186df=_0x5d7830;return{'dataStream':_0x2212a4,'paragraphs':en(_0x2212a4,'\x0d')[_0x3186df(0x1a4)](_0x436486=>({'startIndex':_0x436486,'paragraphId':_0x44dc69(_0x448637)})),'sectionBreaks':en(_0x2212a4,'\x0a')['map'](_0x2512c9=>({'startIndex':_0x2512c9,'sectionId':_0x5bd5bc(_0x1f8a5f)}))};}function $t(_0x25e826,_0x37aab3,_0x5c4780,_0x283275){const _0x4be93f=_0x5d7830;return _0x25e826[_0x4be93f(0x1a4)](_0x16ac6e=>_0x16ac6e[_0x4be93f(0x1b5)]>=_0x37aab3&&_0x16ac6e[_0x4be93f(0x1b5)]<_0x5c4780?null:_0x16ac6e[_0x4be93f(0x1b5)]>=_0x5c4780?{..._0x16ac6e,'startIndex':_0x16ac6e[_0x4be93f(0x1b5)]+_0x283275}:_0x16ac6e)[_0x4be93f(0x22b)](_0x2c0ff1=>_0x2c0ff1!=null);}function en(_0x6e4857,_0x13d216){const _0x4edfa5=_0x5d7830;let _0x1786d6=[];for(let _0x1b875e=0x0;_0x1b875e<_0x6e4857['length'];_0x1b875e++)_0x6e4857[_0x1b875e]===_0x13d216&&_0x1786d6[_0x4edfa5(0x1c9)](_0x1b875e);return _0x1786d6;}function tn(_0x52ef85,_0x115047,_0x2019b0,_0x25a169,_0x2ca5a8){if(_0x115047<_0x2019b0)return{'start':_0x52ef85,'end':_0x115047};if(_0x52ef85>=_0x25a169)return{'start':_0x52ef85+_0x2ca5a8,'end':_0x115047+_0x2ca5a8};let _0x9217b5=_0x52ef85<_0x2019b0?_0x52ef85:_0x2019b0,_0x1e530a=_0x115047>=_0x25a169?_0x115047+_0x2ca5a8:_0x2019b0;return _0x1e530a<_0x9217b5?null:{'start':_0x9217b5,'end':_0x1e530a};}function nn(_0xbb16d3,_0x2912c9,_0x5e4af8,_0x1f2cbc){const _0x4d52ff=_0x5d7830;var _0x260056;(_0x260056=_0xbb16d3[_0x4d52ff(0x15c)])!=null&&_0x260056[_0x4d52ff(0x217)]&&_0x1f2cbc!==0x0&&(_0xbb16d3[_0x4d52ff(0x15c)]['tables']=_0xbb16d3[_0x4d52ff(0x15c)][_0x4d52ff(0x217)][_0x4d52ff(0x1a4)](_0x23f451=>_0x23f451['tableId']===_0x2912c9?{..._0x23f451,'endIndex':_0x23f451[_0x4d52ff(0x184)]+_0x1f2cbc}:_0x23f451[_0x4d52ff(0x1b5)]>=_0x5e4af8?{..._0x23f451,'startIndex':_0x23f451[_0x4d52ff(0x1b5)]+_0x1f2cbc,'endIndex':_0x23f451['endIndex']+_0x1f2cbc}:_0x23f451));}function rn(_0x159f9d){const _0x577de3=_0x5d7830;var _0x2f7a90;let _0x5b8135=mt({'documentData':_0x159f9d[_0x577de3(0xd2)],'metadata':_0x159f9d[_0x577de3(0x191)],'tableId':_0x159f9d[_0x577de3(0x139)],'row':0x0,'count':0x1,'position':_0x577de3(0xf7)}),_0x34f62f=(_0x2f7a90=_0x5b8135['nextDocumentData'][_0x577de3(0x230)])==null?void 0x0:_0x2f7a90[_0x159f9d['tableId']];if(!_0x34f62f)throw Error(_0x577de3(0x1e1)+_0x159f9d[_0x577de3(0x139)]+'\x20is\x20not\x20found.');let _0x550b91=_0x34f62f[_0x577de3(0x110)][_0x577de3(0x146)];return _0x34f62f[_0x577de3(0xf6)][0x0]['tableCells'][_0x577de3(0x1fa)]((_0x27bd34,_0x17b3fc)=>{const _0x4d1392=_0x577de3;_0x17b3fc===0x0?(_0x27bd34[_0x4d1392(0x1f2)]=_0x550b91,delete _0x27bd34[_0x4d1392(0x105)]):(_0x27bd34[_0x4d1392(0x105)]=0x0,_0x27bd34['columnSpan']=0x0);}),{'nextDocumentData':_0x5b8135[_0x577de3(0x1c8)],'nextMetadata':at(_0x5b8135[_0x577de3(0x20c)],_0x159f9d[_0x577de3(0x139)],!0x0)};}function an(_0x416873){const _0x5321f9=_0x5d7830;var _0x43e9f7;let _0xc2a358=E(_0x416873[_0x5321f9(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x416873[_0x5321f9(0x139)]]}),_0x5694ae=(_0x43e9f7=_0xc2a358[_0x5321f9(0x230)])==null?void 0x0:_0x43e9f7[_0x416873[_0x5321f9(0x139)]];if(!_0x5694ae)throw Error(_0x5321f9(0x1e1)+_0x416873[_0x5321f9(0x139)]+_0x5321f9(0x127));let _0x3d9585=Math[_0x5321f9(0x234)](Math['max'](0x0,_0x416873['headerRowCount']),_0x5694ae[_0x5321f9(0xf6)][_0x5321f9(0x146)]);return _0x5694ae['tableRows']['forEach']((_0x212fbb,_0xd2a645)=>{const _0x67633f=_0x5321f9;_0x212fbb[_0x67633f(0x186)]=_0xd2a645<_0x3d9585?_0x5ae627[_0x67633f(0x247)]:_0x5ae627[_0x67633f(0x14e)],_0xd2a645<_0x3d9585?_0x212fbb[_0x67633f(0x1d2)]=_0x5ae627[_0x67633f(0x247)]:delete _0x212fbb['isFirstRow'];}),{'nextDocumentData':_0xc2a358,'nextMetadata':it(_0x416873[_0x5321f9(0x191)],_0x416873['tableId'],_0x3d9585)};}function on(_0x30f4be){const _0x5a8349=_0x5d7830;var _0x513cb0;let _0x10fac5=E(_0x30f4be['documentData'],{'cloneBody':!0x1,'tableIds':[_0x30f4be[_0x5a8349(0x139)]]}),_0x16482e=(_0x513cb0=_0x10fac5[_0x5a8349(0x230)])==null?void 0x0:_0x513cb0[_0x30f4be['tableId']];if(!_0x16482e)throw Error(_0x5a8349(0x1e1)+_0x30f4be['tableId']+_0x5a8349(0x127));let _0x2a4057=Math[_0x5a8349(0x234)](_0x30f4be[_0x5a8349(0x1d1)],_0x30f4be[_0x5a8349(0x227)]),_0x3c5cad=Math[_0x5a8349(0x1fc)](_0x30f4be[_0x5a8349(0x1d1)],_0x30f4be['endRow']),_0x50bf43=_0x16482e[_0x5a8349(0xf6)][_0x5a8349(0x13d)](_0x2a4057,_0x3c5cad+0x1),_0x1c5014=_0x50bf43['reduce']((_0x404e95,_0xd8d779)=>_0x404e95+yn(_0xd8d779),0x0)/_0x50bf43[_0x5a8349(0x146)];return _0x50bf43['forEach'](_0x34cb30=>{const _0x48ea1f=_0x5a8349;_0x34cb30[_0x48ea1f(0x20d)]={'hRule':_0x1b0d64['AT_LEAST'],'val':{'v':_0x1c5014}};}),{'nextDocumentData':_0x10fac5};}function sn(_0x160ebe){const _0x41043a=_0x5d7830;var _0x83ac36;let _0x5a1b05=E(_0x160ebe['documentData'],{'cloneBody':!0x1,'tableIds':[_0x160ebe[_0x41043a(0x139)]]}),_0x24d0b9=(_0x83ac36=_0x5a1b05[_0x41043a(0x230)])==null?void 0x0:_0x83ac36[_0x160ebe[_0x41043a(0x139)]];if(!_0x24d0b9)throw Error(_0x41043a(0x1e1)+_0x160ebe['tableId']+_0x41043a(0x127));let _0x45f058=Math[_0x41043a(0x234)](_0x160ebe['startColumn'],_0x160ebe[_0x41043a(0x260)]),_0x72688d=Math[_0x41043a(0x1fc)](_0x160ebe[_0x41043a(0x241)],_0x160ebe[_0x41043a(0x260)]),_0x22ec66=_0x24d0b9['tableColumns'][_0x41043a(0x13d)](_0x45f058,_0x72688d+0x1),_0x26c3c4=_0x22ec66[_0x41043a(0x10f)]((_0x8b83fe,_0x598835)=>_0x8b83fe+_0x598835[_0x41043a(0x1e4)]['width']['v'],0x0)/_0x22ec66['length'];return _0x22ec66['forEach'](_0xbefad1=>{const _0x59f091=_0x41043a;_0xbefad1[_0x59f091(0x1e4)][_0x59f091(0x101)]['v']=_0x26c3c4;}),{'nextDocumentData':_0x5a1b05};}function cn(_0x95e1d1){const _0x418a96=_0x5d7830;var _0x4e9e65;let _0xf96fd2=E(_0x95e1d1[_0x418a96(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x95e1d1[_0x418a96(0x139)]]}),_0x347ee0=(_0x4e9e65=_0xf96fd2[_0x418a96(0x230)])==null||(_0x4e9e65=_0x4e9e65[_0x95e1d1[_0x418a96(0x139)]])==null?void 0x0:_0x4e9e65[_0x418a96(0xf6)][_0x95e1d1[_0x418a96(0x188)]];if(!_0x347ee0)throw Error('[DocsTable]:\x20Row\x20'+_0x95e1d1[_0x418a96(0x188)]+_0x418a96(0x127));return _0x347ee0[_0x418a96(0x20d)]={'hRule':_0x1b0d64[_0x418a96(0x255)],'val':{'v':Math[_0x418a96(0x1fc)](0x1,_0x95e1d1['height'])}},{'nextDocumentData':_0xf96fd2};}function ln(_0x3ca462){const _0x2a5842=_0x5d7830;var _0xd3c815;let _0x2f6195=E(_0x3ca462[_0x2a5842(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x3ca462['tableId']]}),_0x5a8ea5=(_0xd3c815=_0x2f6195[_0x2a5842(0x230)])==null||(_0xd3c815=_0xd3c815[_0x3ca462[_0x2a5842(0x139)]])==null?void 0x0:_0xd3c815['tableColumns'][_0x3ca462[_0x2a5842(0x17d)]];if(!_0x5a8ea5)throw Error(_0x2a5842(0x266)+_0x3ca462['column']+_0x2a5842(0x127));return _0x5a8ea5[_0x2a5842(0x1e4)][_0x2a5842(0x101)]['v']=Math[_0x2a5842(0x1fc)](0x1,_0x3ca462[_0x2a5842(0x101)]),{'nextDocumentData':_0x2f6195};}function un(_0x305859){const _0x14438d=_0x5d7830;var _0x2e686d;if(_0x305859[_0x14438d(0x208)]!=null)return dn(_0x305859);let _0x283c96=E(_0x305859[_0x14438d(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x305859[_0x14438d(0x139)]]}),_0x18333f=(_0x2e686d=_0x283c96[_0x14438d(0x230)])==null?void 0x0:_0x2e686d[_0x305859[_0x14438d(0x139)]];if(!_0x18333f)throw Error(_0x14438d(0x1e1)+_0x305859[_0x14438d(0x139)]+'\x20is\x20not\x20found.');return _0x18333f[_0x14438d(0x1f6)]=_0x33966e[_0x14438d(0x231)],_0x18333f[_0x14438d(0xe2)]['positionH'][_0x14438d(0x14a)]=(_0x18333f[_0x14438d(0xe2)][_0x14438d(0x14f)][_0x14438d(0x14a)]??0x0)+(_0x305859[_0x14438d(0xed)]??0x0),_0x18333f['position'][_0x14438d(0x18d)][_0x14438d(0x14a)]=(_0x18333f[_0x14438d(0xe2)][_0x14438d(0x18d)]['posOffset']??0x0)+(_0x305859['deltaY']??0x0),{'nextDocumentData':_0x283c96};}function dn(_0x16c86b){const _0x5d19c4=_0x5d7830;var _0x5a0ad4;let _0x8ec171=E(_0x16c86b['documentData'],{'tableIds':[_0x16c86b[_0x5d19c4(0x139)]]}),_0x1e71a0=_0x8ec171[_0x5d19c4(0x15c)],_0x1ca21c=(_0x5a0ad4=_0x8ec171[_0x5d19c4(0x230)])==null?void 0x0:_0x5a0ad4[_0x16c86b['tableId']],_0x5293a9=w(_0x8ec171,_0x16c86b['tableId']);if(!(_0x1e71a0!=null&&_0x1e71a0['dataStream'])||!_0x1e71a0[_0x5d19c4(0x217)]||!_0x1ca21c||!_0x5293a9||_0x16c86b[_0x5d19c4(0x208)]==null)throw Error(_0x5d19c4(0x1e1)+_0x16c86b['tableId']+_0x5d19c4(0x1d7));let _0x8d3bd9=_0x5293a9['startOffset'],_0x339b14=_0x5293a9[_0x5d19c4(0xeb)],_0x2254fb=_0x1e71a0[_0x5d19c4(0xf0)]['slice'](_0x8d3bd9,_0x339b14),_0x49d470=_0x2254fb[_0x5d19c4(0x146)],_0x515302=_n(_0x16c86b[_0x5d19c4(0x208)],0x0,_0x1e71a0['dataStream'][_0x5d19c4(0x146)]);if(_0x515302>=_0x8d3bd9&&_0x515302<=_0x339b14||!fn(_0x1e71a0,_0x16c86b[_0x5d19c4(0x139)],_0x515302))return{'nextDocumentData':_0x8ec171};let _0x3136ad=_0x515302>_0x339b14?_0x515302-_0x49d470:_0x515302,_0x10b33b=_0x1e71a0[_0x5d19c4(0xf0)]['slice'](0x0,_0x8d3bd9)+_0x1e71a0['dataStream'][_0x5d19c4(0x13d)](_0x339b14);return _0x1e71a0['dataStream']=_0x10b33b[_0x5d19c4(0x13d)](0x0,_0x3136ad)+_0x2254fb+_0x10b33b['slice'](_0x3136ad),_0x1e71a0[_0x5d19c4(0x217)]=_0x1e71a0[_0x5d19c4(0x217)]['map'](_0x3f8894=>_0x3f8894[_0x5d19c4(0x139)]===_0x16c86b[_0x5d19c4(0x139)]?{..._0x3f8894,'startIndex':_0x3136ad,'endIndex':_0x3136ad+_0x49d470}:{..._0x3f8894,'startIndex':I(_0x3f8894[_0x5d19c4(0x1b5)],_0x8d3bd9,_0x339b14,_0x515302,_0x3136ad,_0x49d470),'endIndex':I(_0x3f8894['endIndex'],_0x8d3bd9,_0x339b14,_0x515302,_0x3136ad,_0x49d470)})[_0x5d19c4(0x25a)]((_0x21198b,_0x2ef350)=>_0x21198b[_0x5d19c4(0x1b5)]-_0x2ef350[_0x5d19c4(0x1b5)]),gn(_0x1e71a0,_0x8d3bd9,_0x339b14,_0x515302,_0x3136ad,_0x49d470),_0x1ca21c[_0x5d19c4(0x1f6)]=_0x33966e[_0x5d19c4(0x11f)],_0x1ca21c[_0x5d19c4(0xe2)]['positionH'][_0x5d19c4(0x14a)]=0x0,_0x1ca21c[_0x5d19c4(0xe2)][_0x5d19c4(0x18d)][_0x5d19c4(0x14a)]=0x0,{'nextDocumentData':_0x8ec171};}function fn(_0x483cc2,_0x5229b6,_0x5d48d9){const _0x35e706=_0x5d7830;return!(pn(_0x483cc2[_0x35e706(0x217)],_0x5229b6,_0x5d48d9)||mn(_0x483cc2[_0x35e706(0x12b)],_0x5d48d9)||hn(_0x483cc2[_0x35e706(0xfe)],_0x5d48d9));}function pn(_0x472c05,_0x316ed1,_0xd6239b){const _0x3e2f0d=_0x5d7830;return!!(_0x472c05!=null&&_0x472c05[_0x3e2f0d(0x20e)](_0x5c1bc3=>_0x5c1bc3[_0x3e2f0d(0x139)]!==_0x316ed1&&_0x5c1bc3[_0x3e2f0d(0x1b5)]<=_0xd6239b&&_0xd6239b<_0x5c1bc3[_0x3e2f0d(0x184)]));}function mn(_0x5289d7,_0x453e81){const _0x110da3=_0x5d7830;return!!(_0x5289d7!=null&&_0x5289d7[_0x110da3(0x20e)](_0x3f0b24=>_0x3f0b24[_0x110da3(0x1b5)]<=_0x453e81&&_0x453e81<=_0x3f0b24[_0x110da3(0x184)]));}function hn(_0x2c6ee7,_0xfe2b81){const _0x538b25=_0x5d7830;return!!(_0x2c6ee7!=null&&_0x2c6ee7[_0x538b25(0x20e)](_0xe1aed2=>_0xe1aed2[_0x538b25(0x1b5)]===_0xfe2b81));}function gn(_0x5f0592,_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a){const _0x98621a=_0x5d7830;var _0x3c9685,_0xd86985,_0x39647e,_0x1d797e,_0x36096b,_0x40b6ed,_0x4a21c8,_0x361d4c;let _0xaa4986=ke(_0x5f0592);_0x5f0592[_0x98621a(0x23d)]=(_0x3c9685=_0x5f0592['paragraphs'])==null?void 0x0:_0x3c9685[_0x98621a(0x1a4)](_0x4bea5d=>({..._0x4bea5d,'startIndex':I(_0x4bea5d[_0x98621a(0x1b5)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x521093,_0x56e921)=>_0x521093[_0x98621a(0x1b5)]-_0x56e921[_0x98621a(0x1b5)]),_0x5f0592[_0x98621a(0x244)]=(_0xd86985=_0x5f0592[_0x98621a(0x244)])==null?void 0x0:_0xd86985['map'](_0x2d19ee=>({..._0x2d19ee,'startIndex':I(_0x2d19ee['startIndex'],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0xb95de3,_0x44aa25)=>_0xb95de3['startIndex']-_0x44aa25[_0x98621a(0x1b5)]),_0x5f0592[_0x98621a(0xfe)]=(_0x39647e=_0x5f0592[_0x98621a(0xfe)])==null?void 0x0:_0x39647e[_0x98621a(0x1a4)](_0x234cce=>({..._0x234cce,'startIndex':I(_0x234cce['startIndex'],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x3f1e9b,_0x45f30e)=>_0x3f1e9b[_0x98621a(0x1b5)]-_0x45f30e['startIndex']),_0x5f0592[_0x98621a(0x12b)]=(_0x1d797e=_0x5f0592[_0x98621a(0x12b)])==null?void 0x0:_0x1d797e['map'](_0x1477b2=>({..._0x1477b2,'startIndex':I(_0x1477b2['startIndex'],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a),'endIndex':I(_0x1477b2[_0x98621a(0x184)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x52d8ad,_0x284a0f)=>_0x52d8ad[_0x98621a(0x1b5)]-_0x284a0f[_0x98621a(0x1b5)]),_0x5f0592[_0x98621a(0x128)]=(_0x36096b=_0x5f0592[_0x98621a(0x128)])==null?void 0x0:_0x36096b[_0x98621a(0x1a4)](_0x4a84a1=>({..._0x4a84a1,'st':I(_0x4a84a1['st'],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a),'ed':I(_0x4a84a1['ed'],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x321e8a,_0x221991)=>_0x321e8a['st']-_0x221991['st']),_0x5f0592[_0x98621a(0x15a)]=(_0x40b6ed=_0x5f0592[_0x98621a(0x15a)])==null?void 0x0:_0x40b6ed['map'](_0x3f3b0c=>({..._0x3f3b0c,'startIndex':I(_0x3f3b0c[_0x98621a(0x1b5)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a),'endIndex':I(_0x3f3b0c[_0x98621a(0x184)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x43bbbc,_0x3db3f1)=>_0x43bbbc['startIndex']-_0x3db3f1['startIndex']),_0x5f0592[_0x98621a(0x21d)]=(_0x4a21c8=_0x5f0592[_0x98621a(0x21d)])==null?void 0x0:_0x4a21c8['map'](_0x588476=>({..._0x588476,'startIndex':I(_0x588476[_0x98621a(0x1b5)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a),'endIndex':I(_0x588476[_0x98621a(0x184)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))['sort']((_0x375c43,_0x4f3fe8)=>_0x375c43[_0x98621a(0x1b5)]-_0x4f3fe8[_0x98621a(0x1b5)]),_0xaa4986[_0x98621a(0x224)]=(_0x361d4c=_0xaa4986['columnGroups'])==null?void 0x0:_0x361d4c[_0x98621a(0x1a4)](_0x305844=>({..._0x305844,'startIndex':I(_0x305844[_0x98621a(0x1b5)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a),'endIndex':I(_0x305844[_0x98621a(0x184)],_0x4ee07c,_0x1f4c5f,_0x325136,_0x109243,_0x67202a)}))[_0x98621a(0x25a)]((_0x5d5827,_0x358376)=>_0x5d5827['startIndex']-_0x358376[_0x98621a(0x1b5)]);}function I(_0x2cf019,_0x2b6320,_0x496004,_0x2066cf,_0x44e9d3,_0x5159fa){return _0x2cf019>=_0x2b6320&&_0x2cf019<_0x496004?_0x44e9d3+_0x2cf019-_0x2b6320:_0x2066cf<_0x2b6320&&_0x2cf019>=_0x2066cf&&_0x2cf019<_0x2b6320?_0x2cf019+_0x5159fa:_0x2066cf>_0x496004&&_0x2cf019>=_0x496004&&_0x2cf019<_0x2066cf?_0x2cf019-_0x5159fa:_0x2cf019;}function _n(_0x3f41d2,_0x5374a2,_0x2962f8){return Math['min'](Math['max'](_0x3f41d2,_0x5374a2),_0x2962f8);}function vn(_0x2d3ba8,_0x234533){const _0x45e571=_0x5d7830;var _0x1a0639;return((_0x1a0639=N(_0x2d3ba8)[_0x45e571(0x217)][_0x234533])==null?void 0x0:_0x1a0639['headerRowCount'])??0x0;}function yn(_0x6aa991){const _0x2468e4=_0x5d7830;var _0x51c8da;return((_0x51c8da=_0x6aa991[_0x2468e4(0x20d)])==null||(_0x51c8da=_0x51c8da['val'])==null?void 0x0:_0x51c8da['v'])??0x0;}let bn=function(_0x1e9d16){const _0x5c92b1=_0x5d7830;return _0x1e9d16[_0x5c92b1(0x124)]=_0x5c92b1(0x1ad),_0x1e9d16[_0x5c92b1(0xe0)]='number',_0x1e9d16['Date']=_0x5c92b1(0x24e),_0x1e9d16[_0x5c92b1(0x229)]=_0x5c92b1(0x1e3),_0x1e9d16[_0x5c92b1(0x16e)]=_0x5c92b1(0x160),_0x1e9d16;}({}),xn=function(_0x43e8e9){const _0x2bd191=_0x5d7830;return _0x43e8e9[_0x2bd191(0xfd)]=_0x2bd191(0xd3),_0x43e8e9[_0x2bd191(0x124)]=_0x2bd191(0x1ad),_0x43e8e9[_0x2bd191(0x1fd)]=_0x2bd191(0xcb),_0x43e8e9['Range']=_0x2bd191(0x1ca),_0x43e8e9[_0x2bd191(0x236)]='row',_0x43e8e9[_0x2bd191(0x1b0)]='column',_0x43e8e9[_0x2bd191(0x226)]=_0x2bd191(0x1af),_0x43e8e9;}({}),Sn=function(_0x4c3c82){const _0x563644=_0x5d7830;return _0x4c3c82[_0x563644(0x1db)]='rect',_0x4c3c82['Structural']=_0x563644(0x155),_0x4c3c82['Text']='text',_0x4c3c82;}({}),Cn=function(_0x59fdb2){const _0x38cfd9=_0x5d7830;return _0x59fdb2['Asc']=_0x38cfd9(0x10b),_0x59fdb2[_0x38cfd9(0x20f)]=_0x38cfd9(0x145),_0x59fdb2;}({});function wn(_0x3b44b3){const _0x4ccac1=_0x5d7830;var _0x888efd,_0x35493e;let _0x4fa396=Tn(_0x3b44b3),_0x1508b2=E(_0x3b44b3['documentData'],{'tableIds':[_0x3b44b3[_0x4ccac1(0x139)]]}),_0x3c1504=(_0x888efd=_0x1508b2[_0x4ccac1(0x230)])==null?void 0x0:_0x888efd[_0x3b44b3[_0x4ccac1(0x139)]],_0xb01e36=w(_0x1508b2,_0x3b44b3[_0x4ccac1(0x139)]);if(!_0x3c1504||!_0xb01e36||!((_0x35493e=_0x1508b2['body'])!=null&&_0x35493e[_0x4ccac1(0xf0)]))throw Error('[DocsTable]:\x20Table\x20'+_0x3b44b3['tableId']+'\x20is\x20not\x20found.');let _0x4574c9=_0x4fa396[_0x4ccac1(0x185)][_0x4ccac1(0x1a4)](_0x24fced=>_0x3c1504[_0x4ccac1(0xf6)][_0x24fced]);_0x3c1504[_0x4ccac1(0xf6)][_0x4ccac1(0x1f9)](_0x4fa396[_0x4ccac1(0x162)],_0x4574c9[_0x4ccac1(0x146)],..._0x4574c9);let _0xbe22d1=_0x1508b2[_0x4ccac1(0x15c)][_0x4ccac1(0xf0)][_0x4ccac1(0x13d)](_0xb01e36[_0x4ccac1(0x189)],_0xb01e36[_0x4ccac1(0xeb)]),_0xa8ac76=_0xb01e36[_0x4ccac1(0x197)]['slice'](0x0,_0x4fa396[_0x4ccac1(0x162)])[_0x4ccac1(0x1a4)](_0x1c0652=>_0x1508b2[_0x4ccac1(0x15c)]['dataStream'][_0x4ccac1(0x13d)](_0x1c0652[_0x4ccac1(0x189)],_0x1c0652['endOffset']+0x1))['join'](''),_0x1fcee4=_0x4fa396[_0x4ccac1(0x185)]['map'](_0xc99e29=>{const _0x5d8cbb=_0x4ccac1;let _0x4ef7db=_0xb01e36[_0x5d8cbb(0x197)][_0xc99e29];return _0x1508b2[_0x5d8cbb(0x15c)][_0x5d8cbb(0xf0)][_0x5d8cbb(0x13d)](_0x4ef7db[_0x5d8cbb(0x189)],_0x4ef7db['endOffset']+0x1);})[_0x4ccac1(0x19c)](''),_0x4165c6=''+_0xbe22d1[0x0]+_0xa8ac76+_0x1fcee4+_0xbe22d1[_0xbe22d1[_0x4ccac1(0x146)]-0x1];return _0x1508b2[_0x4ccac1(0x15c)][_0x4ccac1(0xf0)]=''+_0x1508b2[_0x4ccac1(0x15c)][_0x4ccac1(0xf0)]['slice'](0x0,_0xb01e36[_0x4ccac1(0x189)])+_0x4165c6+_0x1508b2['body']['dataStream']['slice'](_0xb01e36[_0x4ccac1(0xeb)]),{'nextDocumentData':_0x1508b2};}function Tn(_0x1de7ba){const _0x5ea79d=_0x5d7830;var _0xf85988,_0x13fa25,_0x59f55b;let _0x8d1741=(_0xf85988=_0x1de7ba[_0x5ea79d(0xd2)][_0x5ea79d(0x230)])==null?void 0x0:_0xf85988[_0x1de7ba[_0x5ea79d(0x139)]],_0x442994=w(_0x1de7ba[_0x5ea79d(0xd2)],_0x1de7ba['tableId']),_0x5bbab0=(_0x13fa25=_0x1de7ba['documentData'][_0x5ea79d(0x15c)])==null?void 0x0:_0x13fa25[_0x5ea79d(0xf0)];if(!_0x8d1741||!_0x442994||!_0x5bbab0)throw Error(_0x5ea79d(0x1f8));En(_0x8d1741['tableRows']);let _0x5aad2d=N(_0x1de7ba[_0x5ea79d(0x191)])[_0x5ea79d(0x217)][_0x1de7ba['tableId']],_0x28fc7d=(_0x5aad2d!=null&&_0x5aad2d['titleRow']?0x1:0x0)+vn(_0x1de7ba['metadata'],_0x1de7ba[_0x5ea79d(0x139)]),_0x14162a=Math[_0x5ea79d(0x234)](_0x28fc7d,_0x8d1741[_0x5ea79d(0xf6)]['length']),_0x19f774=(_0x5aad2d==null||(_0x59f55b=_0x5aad2d[_0x5ea79d(0x243)])==null||(_0x59f55b=_0x59f55b[_0x1de7ba['column']])==null?void 0x0:_0x59f55b[_0x5ea79d(0x22d)])??'text',_0x3ca3e3=_0x442994[_0x5ea79d(0x197)]['slice'](_0x14162a)['map']((_0x1a5a92,_0x1568f3)=>{const _0xcb1af5=_0x5ea79d;let _0x4440a7=_0x1a5a92[_0xcb1af5(0x1dd)][_0x1de7ba[_0xcb1af5(0x17d)]];return{'index':_0x14162a+_0x1568f3,'value':_0x4440a7?_0x5bbab0[_0xcb1af5(0x13d)](_0x4440a7[_0xcb1af5(0x189)]+0x1,_0x4440a7[_0xcb1af5(0xeb)])[_0xcb1af5(0x259)]():''};});return _0x3ca3e3['sort']((_0x15f153,_0x6c8b9f)=>On(_0x15f153,_0x6c8b9f,_0x19f774,_0x1de7ba[_0x5ea79d(0x265)])),{'sortStartRow':_0x14162a,'sortedRowIndexes':_0x3ca3e3[_0x5ea79d(0x1a4)](_0x1e6661=>_0x1e6661[_0x5ea79d(0x1ab)])};}function En(_0x3fd1cf){const _0x52ea1c=_0x5d7830;if(_0x3fd1cf[_0x52ea1c(0x20e)](_0x3a4e62=>_0x3a4e62['tableCells'][_0x52ea1c(0x20e)](_0x52dfff=>Dn(_0x52dfff))))throw Error(_0x52ea1c(0x233));}function Dn(_0x4a94b2){const _0x14a1ce=_0x5d7830;return(_0x4a94b2[_0x14a1ce(0x105)]??0x1)>0x1||_0x4a94b2['rowSpan']===0x0;}function On(_0x435ba,_0x557c89,_0x2bf97f,_0x118e51){const _0x563b80=_0x5d7830;let _0xf11f6c=_0x118e51==='asc'?0x1:-0x1,_0x332f55=kn(_0x435ba[_0x563b80(0x23c)],_0x557c89[_0x563b80(0x23c)],_0x2bf97f);return _0x332f55===0x0?_0x435ba['index']-_0x557c89[_0x563b80(0x1ab)]:_0x332f55*_0xf11f6c;}function kn(_0x300903,_0x1ff83b,_0x5418be){const _0x552236=_0x5d7830;return _0x5418be===_0x552236(0x238)?An(_0x300903)-An(_0x1ff83b):_0x5418be===_0x552236(0x24e)?jn(_0x300903)-jn(_0x1ff83b):_0x5418be===_0x552236(0x1e3)?Mn(_0x300903)-Mn(_0x1ff83b):_0x300903[_0x552236(0x190)](_0x1ff83b);}function An(_0x5e4f99){const _0x1a556d=_0x5d7830;let _0x1e7958=Number(_0x5e4f99);return Number[_0x1a556d(0x1bf)](_0x1e7958)?_0x1e7958:0x1/0x0;}function jn(_0x15e239){const _0x41789f=_0x5d7830;let _0x4b10ed=Date['parse'](_0x15e239);return Number[_0x41789f(0x129)](_0x4b10ed)?0x1/0x0:_0x4b10ed;}function Mn(_0xd25797){const _0x4240d5=_0x5d7830;return+!![_0x4240d5(0xf5),'1','yes',_0x4240d5(0x1aa)]['includes'](_0xd25797[_0x4240d5(0x132)]());}function Nn(_0x58b306){'@babel/helpers - typeof';const _0x55b79a=_0x5d7830;return Nn=typeof Symbol=='function'&&typeof Symbol[_0x55b79a(0x218)]==_0x55b79a(0x116)?function(_0x1a9fdc){return typeof _0x1a9fdc;}:function(_0x5ba94a){const _0x51557b=_0x55b79a;return _0x5ba94a&&typeof Symbol==_0x51557b(0x257)&&_0x5ba94a['constructor']===Symbol&&_0x5ba94a!==Symbol[_0x51557b(0x1ac)]?'symbol':typeof _0x5ba94a;},Nn(_0x58b306);}function Pn(_0x39e3d3,_0x4c01ff){const _0x18ac7a=_0x5d7830;if(Nn(_0x39e3d3)!=_0x18ac7a(0x1eb)||!_0x39e3d3)return _0x39e3d3;var _0x5e39b7=_0x39e3d3[Symbol['toPrimitive']];if(_0x5e39b7!==void 0x0){var _0x495477=_0x5e39b7[_0x18ac7a(0x11c)](_0x39e3d3,_0x4c01ff||_0x18ac7a(0x221));if(Nn(_0x495477)!='object')return _0x495477;throw TypeError(_0x18ac7a(0x135));}return(_0x4c01ff===_0x18ac7a(0xde)?String:Number)(_0x39e3d3);}function Fn(_0x28eb40){const _0x346550=_0x5d7830;var _0x231dbe=Pn(_0x28eb40,'string');return Nn(_0x231dbe)==_0x346550(0x116)?_0x231dbe:_0x231dbe+'';}function L(_0x4fa273,_0x17222f,_0x2c47d4){const _0x1f1d5e=_0x5d7830;return(_0x17222f=Fn(_0x17222f))in _0x4fa273?Object[_0x1f1d5e(0x165)](_0x4fa273,_0x17222f,{'value':_0x2c47d4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4fa273[_0x17222f]=_0x2c47d4,_0x4fa273;}var R=class extends _0x1d2dfe{constructor(..._0x1c01ef){const _0x5e45d3=_0x5d7830;super(..._0x1c01ef),L(this,_0x5e45d3(0xd7),new Map()),L(this,_0x5e45d3(0x21e),new _0x5132fc()),L(this,'change$',this[_0x5e45d3(0x21e)]['asObservable']());}['getTableMetadata'](_0x26756f,_0x1646ea){const _0x498b00=_0x5d7830;var _0x3c06bd;let _0x41562a=(_0x3c06bd=this['_resources'][_0x498b00(0x194)](_0x26756f))==null?void 0x0:_0x3c06bd[_0x498b00(0x217)][_0x1646ea];if(_0x41562a)return N({'tables':{[_0x1646ea]:_0x41562a}})[_0x498b00(0x217)][_0x1646ea];}[_0x5d7830(0x22a)](_0x3a5bf1,_0x1bff16){return st(_0x1bff16,this['getTableMetadata'](_0x3a5bf1,_0x1bff16['tableId']));}[_0x5d7830(0xd0)](_0x3d6dba,_0x35ffd9){const _0x48212a=_0x5d7830;return ct(_0x35ffd9,this[_0x48212a(0x212)](_0x3d6dba));}['setHeaderRowCount'](_0x2d29a5,_0x8b8ff8,_0x1a8e8d){const _0x2ef221=_0x5d7830;this[_0x2ef221(0x1f5)](_0x2d29a5,_0x8b8ff8,it(this[_0x2ef221(0xd7)]['get'](_0x2d29a5),_0x8b8ff8,_0x1a8e8d));}[_0x5d7830(0x17e)](_0x252726,_0x5a243d,_0x5bb4a6){const _0x1aa489=_0x5d7830;this[_0x1aa489(0x1f5)](_0x252726,_0x5a243d,at(this['_resources']['get'](_0x252726),_0x5a243d,_0x5bb4a6));}['setColumnType'](_0x567f7a,_0x2c7786,_0x2278e3,_0x37e488){const _0x39f6d7=_0x5d7830;this[_0x39f6d7(0x1f5)](_0x567f7a,_0x2c7786,ot(this[_0x39f6d7(0xd7)][_0x39f6d7(0x194)](_0x567f7a),_0x2c7786,_0x2278e3,_0x37e488));}['serialize'](_0x3ab79d){const _0x348758=_0x5d7830;return N(this[_0x348758(0xd7)][_0x348758(0x194)](_0x3ab79d));}[_0x5d7830(0x202)](_0x2406f4,_0x437290){const _0x58989d=_0x5d7830;this['_resources'][_0x58989d(0xfc)](_0x2406f4,N(_0x437290)),this[_0x58989d(0x21e)]['next']({'unitId':_0x2406f4});}[_0x5d7830(0x1bb)](_0x47fe25){const _0x3b0287=_0x5d7830;this['_resources']['delete'](_0x47fe25),this[_0x3b0287(0x21e)][_0x3b0287(0x223)]({'unitId':_0x47fe25});}[_0x5d7830(0x142)](){const _0x29b383=_0x5d7830;super[_0x29b383(0x142)](),this[_0x29b383(0xd7)][_0x29b383(0xd9)](),this[_0x29b383(0x21e)][_0x29b383(0x112)]();}[_0x5d7830(0x1f5)](_0x4f7de1,_0x5688b3,_0x210998){const _0x111bf3=_0x5d7830;this[_0x111bf3(0xd7)][_0x111bf3(0xfc)](_0x4f7de1,_0x210998),this[_0x111bf3(0x21e)][_0x111bf3(0x223)]({'unitId':_0x4f7de1,'tableId':_0x5688b3});}};const In={'id':'docs-table.command.apply-table-actions','type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x1b0ac7,_0x2a582f)=>{const _0x1b0315=_0x5d7830;let _0x2fe6e7=_0x2a582f&&_0x1b0ac7[_0x1b0315(0x194)](_0x14f335)[_0x1b0315(0x1ed)](_0x2a582f['unitId'],_0x513396['UNIVER_DOC']);if(!_0x2fe6e7||_0x2fe6e7[_0x1b0315(0x10c)]()||!_0x2fe6e7[_0x1b0315(0x237)]())return!0x1;let _0x9f31b3=_0x2fe6e7[_0x1b0315(0x11e)]()[_0x1b0315(0x230)]??{},_0x45b502=_0x1b0ac7[_0x1b0315(0x194)](R),_0xf1ad5=Object[_0x1b0315(0x1b3)](_0x9f31b3)[_0x1b0315(0x10f)]((_0x3522ac,_0x2177a4)=>_0x50737a[_0x1b0315(0x118)](_0x3522ac,lt(_0x2177a4,_0x45b502[_0x1b0315(0x164)](_0x2a582f[_0x1b0315(0x10e)],_0x2177a4[_0x1b0315(0x139)]))),null),_0x2b3dc2=_0x1b0ac7[_0x1b0315(0x194)](_0x49b00b);if(!_0x50737a[_0x1b0315(0xc7)](_0xf1ad5)){let _0x47e7e0={'unitId':_0x2a582f[_0x1b0315(0x10e)],'actions':_0xf1ad5,'textRanges':null,'noNeedSetTextRange':!0x0,'trigger':void 0x0},_0x265667=_0x2b3dc2[_0x1b0315(0xd1)](_0x43e06b=>{const _0x57c0b7=_0x1b0315;_0x43e06b['id']===_0x9bdc58['id']&&_0x43e06b[_0x57c0b7(0x225)]===_0x47e7e0&&(_0x47e7e0[_0x57c0b7(0x12c)]=void 0x0);});try{if(!_0x2b3dc2['syncExecuteCommand'](_0x9bdc58['id'],_0x47e7e0))return!0x1;}finally{_0x265667['dispose']();}}let _0x60d1e6=_0x2b3dc2[_0x1b0315(0x13b)](_0x9bdc58['id'],{..._0x2a582f,'actions':_0x2a582f[_0x1b0315(0x13c)],'trigger':In['id']});return _0x60d1e6!==!0x1&&_0x60d1e6[_0x1b0315(0x13c)]!=null&&_0x60d1e6[_0x1b0315(0x13c)][_0x1b0315(0x146)]>0x0;}};function z(_0x130c89,_0x132561){const _0x4b5912=_0x5d7830;return(_0x130c89==null?void 0x0:_0x130c89[_0x4b5912(0x1a6)])??(_0x132561==null?void 0x0:_0x132561[_0x4b5912(0x1a6)])??'';}function B(_0x2b491b,_0x3dfe80){const _0x12584d=_0x5d7830;let _0x1e60a1=(_0x2b491b==null?void 0x0:_0x2b491b[_0x12584d(0x1d1)])??(_0x3dfe80==null?void 0x0:_0x3dfe80[_0x12584d(0x1d1)]),_0x5f1516=(_0x2b491b==null?void 0x0:_0x2b491b['endRow'])??(_0x3dfe80==null?void 0x0:_0x3dfe80[_0x12584d(0x227)]),_0x1ba521=(_0x2b491b==null?void 0x0:_0x2b491b[_0x12584d(0x241)])??(_0x3dfe80==null?void 0x0:_0x3dfe80[_0x12584d(0x241)]),_0x114d8f=(_0x2b491b==null?void 0x0:_0x2b491b['endColumn'])??(_0x3dfe80==null?void 0x0:_0x3dfe80['endColumn']);return _0x1e60a1==null||_0x5f1516==null||_0x1ba521==null||_0x114d8f==null?null:{'endColumn':_0x114d8f,'endRow':_0x5f1516,'startColumn':_0x1ba521,'startRow':_0x1e60a1};}function V(_0x27678c,_0x1476ad=''){const _0x9d16ec=_0x5d7830;var _0x5f042b,_0xc1084;let _0x5dfb7b=_0x27678c[_0x9d16ec(0x11e)]();if(!_0x1476ad||(_0x5f042b=_0x5dfb7b[_0x9d16ec(0x15c)])!=null&&(_0x5f042b=_0x5f042b[_0x9d16ec(0x217)])!=null&&_0x5f042b[_0x9d16ec(0x20e)](_0x4c3019=>_0x4c3019[_0x9d16ec(0x139)]===_0x1476ad))return _0x5dfb7b;let _0x2aa865=(_0xc1084=_0x27678c[_0x9d16ec(0x1cc)](_0x1476ad))==null?void 0x0:_0xc1084[_0x9d16ec(0x11e)]();return _0x2aa865?{..._0x2aa865,'documentStyle':_0x5dfb7b['documentStyle'],'drawings':_0x5dfb7b[_0x9d16ec(0x1f0)],'drawingsOrder':_0x5dfb7b[_0x9d16ec(0x180)],'tableSource':_0x5dfb7b[_0x9d16ec(0x230)]}:null;}function H(_0x133e32,_0x1915f4,_0x222882,_0x2acf2a){const _0x394234=_0x5d7830;return Mr(_0x222882,_0x2acf2a)?null:_0x222882===void 0x0?_0x133e32[_0x394234(0x11b)](_0x1915f4,_0x2acf2a):_0x2acf2a===void 0x0?_0x133e32[_0x394234(0x137)](_0x1915f4,_0x222882):_0x133e32[_0x394234(0x228)](_0x1915f4,_0x222882,_0x2acf2a);}function Ln(_0x160519,_0x457d04,_0x597094,_0x2b3898,_0x349c67){const _0x2ced76=_0x5d7830;var _0x5cfd23,_0x47373b;let _0x391147=(_0x5cfd23=_0x160519[_0x2ced76(0x230)])==null?void 0x0:_0x5cfd23[_0x457d04];if(!(_0x391147!=null&&_0x391147[_0x2ced76(0x110)][_0x597094]))return null;let _0x204c48=_0x391147[_0x2ced76(0x110)][_0x2ced76(0x1a4)]((_0x7de7ab,_0x3f72bf)=>{let _0x3440a7=_0x3f72bf===_0x597094?_0x2b3898:_0x349c67==null?void 0x0:_0x349c67[_0x3f72bf];return _0x3440a7==null?null:Rn(_0x160519,_0x457d04,_0x3f72bf,_0x3440a7);})['filter'](Boolean)[_0x2ced76(0x10f)]((_0x5983b8,_0x1e3cee)=>_0x50737a[_0x2ced76(0x118)](_0x5983b8,_0x1e3cee),null);if(((_0x47373b=_0x391147[_0x2ced76(0x1e4)])==null?void 0x0:_0x47373b[_0x2ced76(0x22d)])!==_0x156614[_0x2ced76(0x210)])return _0x204c48;let _0x23319b=_0x391147[_0x2ced76(0x110)][_0x2ced76(0x10f)]((_0x2cc6f1,_0x3cf44f,_0x251747)=>{const _0x128ecd=_0x2ced76;var _0x41df91;return _0x2cc6f1+(_0x251747===_0x597094?Math[_0x128ecd(0x1fc)](0x1,_0x2b3898):(_0x349c67==null?void 0x0:_0x349c67[_0x251747])??((_0x41df91=_0x3cf44f[_0x128ecd(0x1e4)])==null||(_0x41df91=_0x41df91[_0x128ecd(0x101)])==null?void 0x0:_0x41df91['v'])??0x0);},0x0),_0x26315d=H(_0x50737a['getInstance'](),['tableSource',_0x457d04,_0x2ced76(0x1e4),_0x2ced76(0x101)],_0x391147[_0x2ced76(0x1e4)][_0x2ced76(0x101)],{'v':_0x23319b});return _0x50737a[_0x2ced76(0x118)](_0x204c48,_0x26315d);}function Rn(_0x285cae,_0x32f64b,_0x15c0d8,_0x3e17cf){const _0x20cced=_0x5d7830;var _0xd66f98,_0x4a5768,_0x424823;let _0x53c7df=(_0xd66f98=_0x285cae[_0x20cced(0x230)])==null||(_0xd66f98=_0xd66f98[_0x32f64b])==null?void 0x0:_0xd66f98[_0x20cced(0x110)][_0x15c0d8];if(!_0x53c7df)return null;let _0x384a0e=Math[_0x20cced(0x1fc)](0x1,_0x3e17cf);if(((_0x4a5768=_0x53c7df[_0x20cced(0x1e4)])==null||(_0x4a5768=_0x4a5768[_0x20cced(0x101)])==null?void 0x0:_0x4a5768['v'])===_0x384a0e)return null;let _0x1d41e9=_0x50737a[_0x20cced(0x1e5)]();return _0x53c7df[_0x20cced(0x1e4)]?_0x53c7df[_0x20cced(0x1e4)][_0x20cced(0x101)]?_0x1d41e9['replaceOp']([_0x20cced(0x230),_0x32f64b,_0x20cced(0x110),_0x15c0d8,_0x20cced(0x1e4),_0x20cced(0x101),'v'],(_0x424823=_0x53c7df[_0x20cced(0x1e4)])==null||(_0x424823=_0x424823[_0x20cced(0x101)])==null?void 0x0:_0x424823['v'],_0x384a0e):_0x1d41e9['insertOp']([_0x20cced(0x230),_0x32f64b,_0x20cced(0x110),_0x15c0d8,'size',_0x20cced(0x101)],{'v':_0x384a0e}):_0x1d41e9[_0x20cced(0x11b)](['tableSource',_0x32f64b,_0x20cced(0x110),_0x15c0d8,'size'],{'type':_0x156614[_0x20cced(0x210)],'width':{'v':_0x384a0e}});}function zn(_0x14efbf,_0x556e0e,_0x149e2f,_0x4b869c){const _0x105d1f=_0x5d7830;var _0x31f2c2,_0x447b8e,_0x9db073,_0x5f1baf,_0x3a0153;let _0x4b3df4=(_0x31f2c2=_0x14efbf[_0x105d1f(0x230)])==null?void 0x0:_0x31f2c2[_0x556e0e];if(!_0x4b3df4)return null;let _0x429450=_0x50737a[_0x105d1f(0x1e5)]();return W([H(_0x429450,[_0x105d1f(0x230),_0x556e0e,_0x105d1f(0x1f6)],_0x4b3df4[_0x105d1f(0x1f6)],_0x33966e[_0x105d1f(0x231)]),H(_0x429450,[_0x105d1f(0x230),_0x556e0e,_0x105d1f(0xe2),_0x105d1f(0x14f),_0x105d1f(0x14a)],(_0x447b8e=_0x4b3df4[_0x105d1f(0xe2)])==null||(_0x447b8e=_0x447b8e[_0x105d1f(0x14f)])==null?void 0x0:_0x447b8e[_0x105d1f(0x14a)],(((_0x9db073=_0x4b3df4[_0x105d1f(0xe2)])==null||(_0x9db073=_0x9db073['positionH'])==null?void 0x0:_0x9db073[_0x105d1f(0x14a)])??0x0)+_0x149e2f),H(_0x429450,[_0x105d1f(0x230),_0x556e0e,_0x105d1f(0xe2),_0x105d1f(0x18d),_0x105d1f(0x14a)],(_0x5f1baf=_0x4b3df4[_0x105d1f(0xe2)])==null||(_0x5f1baf=_0x5f1baf['positionV'])==null?void 0x0:_0x5f1baf['posOffset'],(((_0x3a0153=_0x4b3df4['position'])==null||(_0x3a0153=_0x3a0153['positionV'])==null?void 0x0:_0x3a0153['posOffset'])??0x0)+_0x4b869c)][_0x105d1f(0x22b)](Boolean));}function Bn(_0x45dd87,_0xe01264,_0x3f94a1,_0x957677=['body']){const _0x197395=_0x5d7830;var _0x2c6adf,_0x149da7,_0x145756;let _0x5814d4=_0x45dd87[_0x197395(0x15c)],_0x1eb399=(_0x2c6adf=_0x45dd87[_0x197395(0x230)])==null?void 0x0:_0x2c6adf[_0xe01264],_0x39b5c3=w(_0x45dd87,_0xe01264);if(!(_0x5814d4!=null&&_0x5814d4[_0x197395(0xf0)])||!_0x1eb399||!_0x39b5c3)return null;let _0x3267a5=Math[_0x197395(0x234)](Math[_0x197395(0x1fc)](_0x3f94a1,0x0),_0x5814d4[_0x197395(0xf0)]['length']);if(_0x3267a5>=_0x39b5c3[_0x197395(0x189)]&&_0x3267a5<=_0x39b5c3[_0x197395(0xeb)]||!Vn(_0x5814d4,_0xe01264,_0x3267a5))return null;let _0xa8e9c2=ur(_0x5814d4,_0x39b5c3['startOffset'],_0x39b5c3['endOffset'],_0x3267a5,_0x957677);if(!_0xa8e9c2)return null;let _0xb7db08=_0x50737a['getInstance']();return W([_0xa8e9c2,H(_0xb7db08,[_0x197395(0x230),_0xe01264,'textWrap'],_0x1eb399[_0x197395(0x1f6)],_0x33966e[_0x197395(0x11f)]),H(_0xb7db08,[_0x197395(0x230),_0xe01264,'position',_0x197395(0x14f),_0x197395(0x14a)],(_0x149da7=_0x1eb399[_0x197395(0xe2)])==null||(_0x149da7=_0x149da7[_0x197395(0x14f)])==null?void 0x0:_0x149da7[_0x197395(0x14a)],0x0),H(_0xb7db08,[_0x197395(0x230),_0xe01264,_0x197395(0xe2),_0x197395(0x18d),_0x197395(0x14a)],(_0x145756=_0x1eb399[_0x197395(0xe2)])==null||(_0x145756=_0x145756[_0x197395(0x18d)])==null?void 0x0:_0x145756[_0x197395(0x14a)],0x0)][_0x197395(0x22b)](Boolean));}function Vn(_0x1f0d7e,_0x1706b9,_0x122e37){const _0x5befed=_0x5d7830;var _0x245640,_0x2ba24,_0x201f79;return!((_0x245640=_0x1f0d7e[_0x5befed(0x217)])!=null&&_0x245640[_0x5befed(0x20e)](_0x4dfea0=>_0x4dfea0[_0x5befed(0x139)]!==_0x1706b9&&_0x4dfea0[_0x5befed(0x1b5)]<=_0x122e37&&_0x122e37<_0x4dfea0[_0x5befed(0x184)])||(_0x2ba24=_0x1f0d7e[_0x5befed(0x12b)])!=null&&_0x2ba24[_0x5befed(0x20e)](_0x474eaa=>_0x474eaa[_0x5befed(0x1b5)]<=_0x122e37&&_0x122e37<=_0x474eaa['endIndex'])||(_0x201f79=_0x1f0d7e[_0x5befed(0xfe)])!=null&&_0x201f79[_0x5befed(0x20e)](_0x2b09dd=>_0x2b09dd[_0x5befed(0x1b5)]===_0x122e37));}function Hn(_0x1eb921,_0xac1f86,_0x4bdcbc,_0x68c844,_0x410cac=_0x1b0d64[_0x5d7830(0x255)]){const _0x212d56=_0x5d7830;var _0x3651d5,_0x180d53,_0x312424;let _0x53d7ab=(_0x3651d5=_0x1eb921[_0x212d56(0x230)])==null||(_0x3651d5=_0x3651d5[_0xac1f86])==null?void 0x0:_0x3651d5[_0x212d56(0xf6)][_0x4bdcbc];if(!_0x53d7ab)return null;let _0x2782b4={'hRule':_0x410cac,'val':{'v':Math[_0x212d56(0x1fc)](0x1,_0x68c844)}};return _0x53d7ab[_0x212d56(0x20d)]?[H(_0x50737a['getInstance'](),[_0x212d56(0x230),_0xac1f86,_0x212d56(0xf6),_0x4bdcbc,_0x212d56(0x20d),'hRule'],(_0x180d53=_0x53d7ab[_0x212d56(0x20d)])==null?void 0x0:_0x180d53[_0x212d56(0x16a)],_0x2782b4[_0x212d56(0x16a)]),H(_0x50737a[_0x212d56(0x1e5)](),[_0x212d56(0x230),_0xac1f86,_0x212d56(0xf6),_0x4bdcbc,_0x212d56(0x20d),'val','v'],(_0x312424=_0x53d7ab[_0x212d56(0x20d)])==null||(_0x312424=_0x312424[_0x212d56(0x25f)])==null?void 0x0:_0x312424['v'],_0x2782b4[_0x212d56(0x25f)]['v'])][_0x212d56(0x22b)](Boolean)[_0x212d56(0x10f)]((_0x9374c0,_0x1a0a5b)=>_0x50737a['compose'](_0x9374c0,_0x1a0a5b),null):_0x50737a['getInstance']()[_0x212d56(0x11b)](['tableSource',_0xac1f86,_0x212d56(0xf6),_0x4bdcbc,_0x212d56(0x20d)],_0x2782b4);}function Un(_0x212dcc,_0x5c7a48,_0x9bbb87,_0x321cd0){const _0x570c6e=_0x5d7830;var _0x47f607;let _0x19ccee=(_0x47f607=_0x212dcc[_0x570c6e(0x230)])==null?void 0x0:_0x47f607[_0x5c7a48];if(!_0x19ccee)return null;let _0x3effaf=Math[_0x570c6e(0x234)](_0x9bbb87,_0x321cd0),_0x317fd5=Math[_0x570c6e(0x1fc)](_0x9bbb87,_0x321cd0),_0x502ab3=_0x19ccee[_0x570c6e(0xf6)][_0x570c6e(0x13d)](_0x3effaf,_0x317fd5+0x1);if(!_0x502ab3[_0x570c6e(0x146)])return null;let _0x50ec72=_0x502ab3[_0x570c6e(0x10f)]((_0xc17120,_0x1a7613)=>{const _0x139349=_0x570c6e;var _0x550b2a;return _0xc17120+(((_0x550b2a=_0x1a7613[_0x139349(0x20d)])==null||(_0x550b2a=_0x550b2a['val'])==null?void 0x0:_0x550b2a['v'])??0x0);},0x0)/_0x502ab3[_0x570c6e(0x146)];return _0x502ab3[_0x570c6e(0x1a4)]((_0x3d3026,_0x244211)=>Hn(_0x212dcc,_0x5c7a48,_0x3effaf+_0x244211,_0x50ec72))[_0x570c6e(0x22b)](Boolean)[_0x570c6e(0x10f)]((_0x51c0a9,_0x383c0d)=>_0x50737a[_0x570c6e(0x118)](_0x51c0a9,_0x383c0d),null);}function Wn(_0x58bef6,_0x4cbb14,_0x4cddd0,_0x5d33b3){const _0x54e54=_0x5d7830;var _0x49aca4;let _0x3677bc=(_0x49aca4=_0x58bef6[_0x54e54(0x230)])==null?void 0x0:_0x49aca4[_0x4cbb14];if(!_0x3677bc)return null;let _0x52cfd4=Math['min'](_0x4cddd0,_0x5d33b3),_0xfbf41a=Math['max'](_0x4cddd0,_0x5d33b3),_0x1b2fb0=_0x3677bc[_0x54e54(0x110)][_0x54e54(0x13d)](_0x52cfd4,_0xfbf41a+0x1);if(!_0x1b2fb0[_0x54e54(0x146)])return null;let _0x571a4a=_0x1b2fb0[_0x54e54(0x10f)]((_0x306a4a,_0x792d57)=>{const _0x222aa7=_0x54e54;var _0x3b52e3;return _0x306a4a+(((_0x3b52e3=_0x792d57['size'])==null||(_0x3b52e3=_0x3b52e3[_0x222aa7(0x101)])==null?void 0x0:_0x3b52e3['v'])??0x0);},0x0)/_0x1b2fb0[_0x54e54(0x146)];return _0x1b2fb0[_0x54e54(0x1a4)]((_0x4ec676,_0xb16ccf)=>Rn(_0x58bef6,_0x4cbb14,_0x52cfd4+_0xb16ccf,_0x571a4a))['filter'](Boolean)[_0x54e54(0x10f)]((_0x5a0ad5,_0x452fee)=>_0x50737a[_0x54e54(0x118)](_0x5a0ad5,_0x452fee),null);}function Gn(_0x407dcc,_0x2a7555,_0x320ddf){const _0x303047=_0x5d7830;var _0x174515;let _0x39ffe8=(_0x174515=_0x407dcc['tableSource'])==null?void 0x0:_0x174515[_0x2a7555];if(!_0x39ffe8)return null;let _0x50ed1c=Math['min'](Math[_0x303047(0x1fc)](0x0,_0x320ddf),_0x39ffe8[_0x303047(0xf6)][_0x303047(0x146)]),_0x722dd2=_0x50737a[_0x303047(0x1e5)](),_0x3b4ea3=[];return _0x39ffe8[_0x303047(0xf6)][_0x303047(0x1fa)]((_0x57d4cc,_0x1bf931)=>{const _0x4f242f=_0x303047;let _0x4c3242=_0x1bf931<_0x50ed1c?_0x5ae627[_0x4f242f(0x247)]:_0x5ae627[_0x4f242f(0x14e)],_0x114859=_0x1bf931<_0x50ed1c?_0x5ae627['TRUE']:void 0x0,_0x2be818=H(_0x722dd2,[_0x4f242f(0x230),_0x2a7555,_0x4f242f(0xf6),_0x1bf931,_0x4f242f(0x186)],_0x57d4cc[_0x4f242f(0x186)],_0x4c3242),_0x36c77b=H(_0x722dd2,[_0x4f242f(0x230),_0x2a7555,_0x4f242f(0xf6),_0x1bf931,_0x4f242f(0x1d2)],_0x57d4cc[_0x4f242f(0x1d2)],_0x114859);_0x2be818&&_0x3b4ea3[_0x4f242f(0x1c9)](_0x2be818),_0x36c77b&&_0x3b4ea3[_0x4f242f(0x1c9)](_0x36c77b);}),{'actions':W(_0x3b4ea3),'headerRowCount':_0x50ed1c};}function Kn(_0x670daa,_0x17c002,_0x510aa2,_0x4d6655,_0x6b9d1b,_0x375c00={}){const _0x469cc1=_0x5d7830;var _0x4715f3;let _0x3a0b96=(_0x4715f3=_0x670daa[_0x469cc1(0x230)])==null?void 0x0:_0x4715f3[_0x17c002],_0x413101=w(_0x670daa,_0x17c002);if(!_0x3a0b96||!_0x413101||_0x4d6655<=0x0||_0x510aa2<0x0||_0x510aa2>=_0x3a0b96[_0x469cc1(0x110)][_0x469cc1(0x146)])return null;let _0x52d32f=_0x6b9d1b===_0x469cc1(0x240)?_0x510aa2:_0x510aa2+0x1,_0x5eb98f=_0x3a0b96[_0x469cc1(0x110)][_0x510aa2],_0x55121f=_0x375c00[_0x469cc1(0x1c3)]??_0x5eb98f['size']['width']['v'],_0x198299=_0x375c00[_0x469cc1(0xe8)]??!0x0,_0x1011c3=_0x3a0b96['tableColumns']['reduce']((_0x35efe5,_0x59f6fd)=>_0x35efe5+_0x59f6fd[_0x469cc1(0x1e4)][_0x469cc1(0x101)]['v'],0x0),_0x79c84b=_0x198299&&_0x1011c3>0x0?_0x1011c3/(_0x1011c3+_0x55121f*_0x4d6655):0x1;if(qn(_0x3a0b96))return Yn(_0x670daa,_0x3a0b96,_0x413101,_0x17c002,_0x510aa2,_0x52d32f,_0x4d6655,_0x55121f,_0x79c84b,_0x198299,_0x1011c3,_0x375c00[_0x469cc1(0xe9)]??[_0x469cc1(0x15c)]);let _0x403875=Xn(_0x3a0b96,_0x52d32f,_0x4d6655),_0x649c08=wr(_0x3a0b96,_0x403875,_0x41c6db=>_0x41c6db>=_0x52d32f?_0x41c6db+_0x4d6655:_0x41c6db);Zn(_0x649c08,_0x3a0b96,_0x17c002,_0x198299,_0x1011c3,_0x55121f,_0x4d6655,_0x79c84b),Qn(_0x649c08,_0x3a0b96,_0x17c002,_0x510aa2,_0x52d32f,_0x4d6655,_0x55121f,_0x79c84b,_0x403875);let _0x37837a=F(_0x670daa,$n(_0x413101,_0x510aa2,_0x4d6655,_0x6b9d1b),_0x375c00[_0x469cc1(0xe9)]??['body']);return _0x37837a?(_0x649c08[_0x469cc1(0x1c9)](_0x37837a),{'actions':W(_0x649c08),'cursorColumn':_0x52d32f}):null;}function qn(_0xbf48dc){const _0x1b6806=_0x5d7830;return _0xbf48dc[_0x1b6806(0xf6)][_0x1b6806(0x20e)](_0x2d83c8=>_0x2d83c8['tableCells'][_0x1b6806(0x146)]!==_0xbf48dc['tableColumns'][_0x1b6806(0x146)]);}function Jn(_0x25c488){const _0x36ca93=_0x5d7830;let _0x180797=_0x25c488['gridBefore']??0x0;return _0x25c488['tableCells'][_0x36ca93(0x1a4)]((_0x3ee8b2,_0x92c61)=>{const _0x2f02c4=_0x36ca93;let _0x5bd690=Math[_0x2f02c4(0x1fc)](0x1,_0x3ee8b2['columnSpan']??0x1),_0x11715a={'cell':_0x3ee8b2,'physicalIndex':_0x92c61,'startColumn':_0x180797,'endColumn':_0x180797+_0x5bd690-0x1};return _0x180797+=_0x5bd690,_0x11715a;});}function Yn(_0x47a242,_0x555a67,_0x46929e,_0x3b7c79,_0x35cb06,_0x84f709,_0x4d58e8,_0x1289e0,_0x3f50e9,_0x5e4d08,_0x9c1460,_0x55bd44){const _0x447837=_0x5d7830;let _0x486485=[];Zn(_0x486485,_0x555a67,_0x3b7c79,_0x5e4d08,_0x9c1460,_0x1289e0,_0x4d58e8,_0x3f50e9);let _0x35442=_0x50737a[_0x447837(0x1e5)](),_0x5b9ad0=_0x555a67['tableColumns'][_0x35cb06];for(let _0x287b66=0x0;_0x287b66<_0x4d58e8;_0x287b66++){let _0x375806=U(_0x5b9ad0);_0x375806[_0x447837(0x1e4)][_0x447837(0x101)]['v']=_0x1289e0*_0x3f50e9,_0x486485[_0x447837(0x1c9)](_0x35442['insertOp']([_0x447837(0x230),_0x3b7c79,_0x447837(0x110),_0x84f709+_0x287b66],_0x375806));}let _0x1c04e1=[];if(_0x555a67[_0x447837(0xf6)]['forEach']((_0x105bc5,_0x4304e7)=>{const _0x5b7b82=_0x447837;let _0x582ddd=Jn(_0x105bc5),_0xe6e037=_0x582ddd[_0x5b7b82(0x1cd)](_0x8201ad=>_0x8201ad['startColumn']<_0x84f709&&_0x84f709<=_0x8201ad['endColumn']);if(_0xe6e037){let _0x249a1a=_0xe6e037[_0x5b7b82(0xcb)][_0x5b7b82(0x1f2)]??0x1;_0x486485['push'](H(_0x35442,[_0x5b7b82(0x230),_0x3b7c79,_0x5b7b82(0xf6),_0x4304e7,_0x5b7b82(0xe1),_0xe6e037['physicalIndex'],_0x5b7b82(0x1f2)],_0xe6e037['cell'][_0x5b7b82(0x1f2)],_0x249a1a+_0x4d58e8));return;}let _0x997e41=_0x582ddd[_0x5b7b82(0xda)](_0x5556e2=>_0x5556e2['startColumn']>=_0x84f709),_0x50a177=_0x997e41<0x0?_0x105bc5[_0x5b7b82(0xe1)]['length']:_0x997e41,_0x4a188d=_0x582ddd[_0x5b7b82(0x1cd)](_0x416916=>_0x35cb06>=_0x416916[_0x5b7b82(0x241)]&&_0x35cb06<=_0x416916['endColumn'])??_0x582ddd[Math['min'](_0x50a177,_0x582ddd[_0x5b7b82(0x146)]-0x1)];if(!_0x4a188d)return;for(let _0x44f603=0x0;_0x44f603<_0x4d58e8;_0x44f603++){let _0x37c9eb=U(_0x4a188d[_0x5b7b82(0xcb)]);delete _0x37c9eb[_0x5b7b82(0x105)],delete _0x37c9eb[_0x5b7b82(0x1f2)],_0x486485['push'](_0x35442[_0x5b7b82(0x11b)]([_0x5b7b82(0x230),_0x3b7c79,_0x5b7b82(0xf6),_0x4304e7,_0x5b7b82(0xe1),_0x50a177+_0x44f603],_0x37c9eb));}let _0x584933=_0x46929e[_0x5b7b82(0x197)][_0x4304e7],_0x5c27fc=_0x50a177<_0x584933[_0x5b7b82(0x1dd)][_0x5b7b82(0x146)]?_0x584933[_0x5b7b82(0x1dd)][_0x50a177][_0x5b7b82(0x189)]:_0x584933[_0x5b7b82(0xeb)];_0x1c04e1[_0x5b7b82(0x1c9)]({'startOffset':_0x5c27fc,'endOffset':_0x5c27fc,'text':jr(Ar(),_0x4d58e8)});}),_0x1c04e1[_0x447837(0x146)]){let _0x4cb8ac=F(_0x47a242,_0x1c04e1,_0x55bd44);if(!_0x4cb8ac)return null;_0x486485[_0x447837(0x1c9)](_0x4cb8ac);}return{'actions':W(_0x486485),'cursorColumn':_0x84f709};}function Xn(_0x22f786,_0x250a40,_0x3268f7){const _0x2daab3=_0x5d7830;return Sr(k(_0x22f786)[_0x2daab3(0x1a4)](_0x3cf3d2=>_0x250a40<=_0x3cf3d2[_0x2daab3(0x241)]?{..._0x3cf3d2,'startColumn':_0x3cf3d2[_0x2daab3(0x241)]+_0x3268f7,'endColumn':_0x3cf3d2[_0x2daab3(0x260)]+_0x3268f7}:_0x250a40<=_0x3cf3d2[_0x2daab3(0x260)]?{..._0x3cf3d2,'endColumn':_0x3cf3d2[_0x2daab3(0x260)]+_0x3268f7}:_0x3cf3d2));}function Zn(_0xf49f83,_0x249a48,_0x14cc0a,_0x32260a,_0x884ed6,_0x2cdb3e,_0x269712,_0x5d6d4e){const _0x4a07f0=_0x5d7830;var _0x4bf33d;let _0x4930af=_0x50737a['getInstance']();if(_0x32260a)_0x249a48[_0x4a07f0(0x110)][_0x4a07f0(0x1fa)]((_0x29e535,_0x13eacc)=>{const _0x362424=_0x4a07f0;let _0x265394=H(_0x4930af,['tableSource',_0x14cc0a,_0x362424(0x110),_0x13eacc,_0x362424(0x1e4),'width','v'],_0x29e535['size'][_0x362424(0x101)]['v'],_0x29e535[_0x362424(0x1e4)][_0x362424(0x101)]['v']*_0x5d6d4e);_0x265394&&_0xf49f83[_0x362424(0x1c9)](_0x265394);});else{if((_0x4bf33d=_0x249a48[_0x4a07f0(0x1e4)])!=null&&_0x4bf33d[_0x4a07f0(0x101)]){let _0x3962cb=H(_0x4930af,[_0x4a07f0(0x230),_0x14cc0a,_0x4a07f0(0x1e4),_0x4a07f0(0x101),'v'],_0x249a48[_0x4a07f0(0x1e4)][_0x4a07f0(0x101)]['v'],_0x884ed6+_0x2cdb3e*_0x269712);_0x3962cb&&_0xf49f83[_0x4a07f0(0x1c9)](_0x3962cb);}}}function Qn(_0xc91567,_0x5e2fcc,_0x436966,_0x2d5b04,_0x19b13c,_0x12dfc6,_0x5e8eb1,_0x24bbec,_0x115e9f){const _0x2ac602=_0x5d7830;let _0x5155ed=_0x50737a[_0x2ac602(0x1e5)](),_0x1b5ead=_0x5e2fcc['tableColumns'][_0x2d5b04];for(let _0x2f2658=0x0;_0x2f2658<_0x12dfc6;_0x2f2658++){let _0x210318=U(_0x1b5ead);_0x210318[_0x2ac602(0x1e4)]['width']['v']=_0x5e8eb1*_0x24bbec,_0xc91567['push'](_0x5155ed[_0x2ac602(0x11b)]([_0x2ac602(0x230),_0x436966,_0x2ac602(0x110),_0x19b13c+_0x2f2658],_0x210318));}_0x5e2fcc[_0x2ac602(0xf6)][_0x2ac602(0x1fa)]((_0x53c219,_0x1d142f)=>{const _0x1531b9=_0x2ac602;for(let _0x224eb3=0x0;_0x224eb3<_0x12dfc6;_0x224eb3++){let _0x47e4b2=U(_0x53c219[_0x1531b9(0xe1)][_0x2d5b04]);Er(_0x47e4b2,_0x1d142f,_0x19b13c+_0x224eb3,_0x115e9f),_0xc91567['push'](_0x5155ed['insertOp']([_0x1531b9(0x230),_0x436966,_0x1531b9(0xf6),_0x1d142f,_0x1531b9(0xe1),_0x19b13c+_0x224eb3],_0x47e4b2));}});}function $n(_0x201d0f,_0x1a107c,_0x464f16,_0x5d8b59){const _0x597cba=_0x5d7830;let _0x22b765=jr(Ar(),_0x464f16);return _0x201d0f[_0x597cba(0x197)][_0x597cba(0x1a4)](_0x4f8fb0=>{const _0x2ff491=_0x597cba;let _0x199baf=_0x4f8fb0['cells'][_0x1a107c],_0x4e9e22=_0x5d8b59==='left'?_0x199baf['startOffset']:_0x199baf[_0x2ff491(0xeb)]+0x1;return{'startOffset':_0x4e9e22,'endOffset':_0x4e9e22,'text':_0x22b765};});}function er(_0x497316,_0x5df9d5,_0x53c982,_0x57f88e,_0x1353d1=[_0x5d7830(0x15c)]){const _0x40fcc5=_0x5d7830;var _0x4ed849;let _0x265639=(_0x4ed849=_0x497316[_0x40fcc5(0x230)])==null?void 0x0:_0x4ed849[_0x5df9d5],_0x20da03=w(_0x497316,_0x5df9d5);if(!_0x265639||!_0x20da03)return null;let _0x172ddd=Math[_0x40fcc5(0x234)](_0x53c982,_0x57f88e),_0x545241=Math['max'](_0x53c982,_0x57f88e);if(_0x172ddd<0x0||_0x172ddd>=_0x265639['tableColumns'][_0x40fcc5(0x146)]||_0x545241<_0x172ddd)return null;let _0x1e7558=Math['min'](_0x545241,_0x265639[_0x40fcc5(0x110)][_0x40fcc5(0x146)]-0x1),_0x2df68d=_0x1e7558-_0x172ddd+0x1;if(_0x2df68d>=_0x265639[_0x40fcc5(0x110)][_0x40fcc5(0x146)]){let _0x224a7f=vr(_0x497316,_0x5df9d5,_0x1353d1);return _0x224a7f?{'actions':_0x224a7f[_0x40fcc5(0x13c)],'cursorColumn':0x0,'deleteTable':!0x0}:null;}if(qn(_0x265639))return tr(_0x497316,_0x265639,_0x20da03,_0x5df9d5,_0x172ddd,_0x1e7558,_0x1353d1);let _0x5c91c6=wr(_0x265639,Sr(k(_0x265639)[_0x40fcc5(0x1a4)](_0x3bd5f0=>xr(_0x3bd5f0,_0x172ddd,_0x1e7558))[_0x40fcc5(0x22b)](_0xfbacfb=>_0xfbacfb!=null)),_0x5c17a7=>_0x5c17a7<_0x172ddd?_0x5c17a7:_0x5c17a7>_0x1e7558?_0x5c17a7-_0x2df68d:null);pr(_0x5c91c6,_0x265639,_0x5df9d5,_0x172ddd,_0x1e7558);let _0x46ebaa=_0x20da03[_0x40fcc5(0x197)][_0x40fcc5(0x1a4)](_0x22e659=>({'startOffset':_0x22e659[_0x40fcc5(0x1dd)][_0x172ddd][_0x40fcc5(0x189)],'endOffset':_0x22e659[_0x40fcc5(0x1dd)][_0x1e7558][_0x40fcc5(0xeb)]+0x1,'text':''})),_0x30ad3c=F(_0x497316,_0x46ebaa,_0x1353d1);return _0x30ad3c?(_0x5c91c6[_0x40fcc5(0x1c9)](...yr(_0x497316,_0x46ebaa[_0x40fcc5(0x1a4)](({startOffset:_0x326f66,endOffset:_0x4dc55a})=>({'startOffset':_0x326f66,'endOffset':_0x4dc55a,'collapsed':!0x1})))),_0x5c91c6['push'](_0x30ad3c),{'actions':W(_0x5c91c6),'cursorColumn':Math[_0x40fcc5(0x234)](_0x172ddd,_0x265639['tableColumns'][_0x40fcc5(0x146)]-_0x2df68d-0x1)}):null;}function tr(_0x5ed1fb,_0x340c08,_0x540938,_0x3d0dac,_0x55f591,_0x2337b2,_0x1190f7){const _0xb93159=_0x5d7830;let _0x27ec46=_0x50737a[_0xb93159(0x1e5)](),_0x44b01b=[],_0x253122=[],_0x2a46d3=[];for(let _0x5686e7=_0x2337b2;_0x5686e7>=_0x55f591;_0x5686e7--)_0x44b01b[_0xb93159(0x1c9)](_0x27ec46['removeOp']([_0xb93159(0x230),_0x3d0dac,'tableColumns',_0x5686e7],U(_0x340c08['tableColumns'][_0x5686e7])));if(_0x340c08['tableRows']['forEach']((_0x28a186,_0x517ffc)=>{const _0x1c3ac1=_0xb93159;Jn(_0x28a186)[_0x1c3ac1(0x13d)]()[_0x1c3ac1(0x24d)]()[_0x1c3ac1(0x1fa)](_0x2078e8=>{const _0x53d52d=_0x1c3ac1;var _0x64dfa2;let _0x319522=Math[_0x53d52d(0x1fc)](0x0,Math['min'](_0x2078e8['endColumn'],_0x2337b2)-Math[_0x53d52d(0x1fc)](_0x2078e8['startColumn'],_0x55f591)+0x1);if(_0x319522===0x0)return;let _0x4fae97=_0x2078e8[_0x53d52d(0x260)]-_0x2078e8[_0x53d52d(0x241)]+0x1-_0x319522;if(_0x4fae97>0x0){let _0x2b9d56=H(_0x27ec46,['tableSource',_0x3d0dac,_0x53d52d(0xf6),_0x517ffc,_0x53d52d(0xe1),_0x2078e8[_0x53d52d(0x187)],_0x53d52d(0x1f2)],_0x2078e8[_0x53d52d(0xcb)]['columnSpan'],_0x4fae97===0x1?void 0x0:_0x4fae97);_0x2b9d56&&_0x44b01b[_0x53d52d(0x1c9)](_0x2b9d56);return;}_0x44b01b[_0x53d52d(0x1c9)](_0x27ec46['removeOp']([_0x53d52d(0x230),_0x3d0dac,'tableRows',_0x517ffc,_0x53d52d(0xe1),_0x2078e8['physicalIndex']],U(_0x2078e8['cell'])));let _0x4da3df=(_0x64dfa2=_0x540938[_0x53d52d(0x197)][_0x517ffc])==null?void 0x0:_0x64dfa2[_0x53d52d(0x1dd)][_0x2078e8[_0x53d52d(0x187)]];if(_0x4da3df){let _0x1c0742={'startOffset':_0x4da3df['startOffset'],'endOffset':_0x4da3df[_0x53d52d(0xeb)]+0x1,'text':''};_0x253122[_0x53d52d(0x1c9)](_0x1c0742),_0x2a46d3[_0x53d52d(0x1c9)]({'startOffset':_0x1c0742[_0x53d52d(0x189)],'endOffset':_0x1c0742[_0x53d52d(0xeb)],'collapsed':!0x1});}});}),_0x253122[_0xb93159(0x146)]){let _0x2852ac=F(_0x5ed1fb,_0x253122,_0x1190f7);if(!_0x2852ac)return null;_0x44b01b[_0xb93159(0x1c9)](...yr(_0x5ed1fb,_0x2a46d3)),_0x44b01b[_0xb93159(0x1c9)](_0x2852ac);}return{'actions':W(_0x44b01b),'cursorColumn':Math[_0xb93159(0x234)](_0x55f591,_0x340c08[_0xb93159(0x110)][_0xb93159(0x146)]-(_0x2337b2-_0x55f591+0x1)-0x1)};}function nr(_0xf3352e,_0x13b541,_0x52e512,_0x38b863,_0x48cd34,_0x517aed,_0x4fcbd4=[_0x5d7830(0x15c)]){const _0x1bfc46=_0x5d7830;var _0x2b0af1;let _0x1bdb52=(_0x2b0af1=_0xf3352e[_0x1bfc46(0x230)])==null?void 0x0:_0x2b0af1[_0x13b541],_0x32bc72=w(_0xf3352e,_0x13b541);if(!_0x1bdb52||!_0x32bc72||_0x48cd34<=0x0)return null;let _0x276075=lr(_0x52e512,_0x1bdb52['tableRows'][_0x1bfc46(0x146)]-0x1),_0xfa63d4=lr(_0x38b863,_0x1bdb52[_0x1bfc46(0xf6)][_0x1bfc46(0x146)]-0x1),_0x315a6f=Math['min'](_0x1bdb52[_0x1bfc46(0xf6)]['length']-0x1,_0x276075+_0x48cd34-0x1),_0x3332f8=_0x315a6f-_0x276075+0x1,_0x32bd54=_0x517aed===_0x1bfc46(0xf7)?_0xfa63d4:_0xfa63d4+0x1;if(_0x32bd54>=_0x276075&&_0x32bd54<=_0x315a6f+0x1)return{'actions':null,'cursorRow':_0x276075};let _0x23997e=_0x32bd54>_0x315a6f?_0x32bd54-_0x3332f8:_0x32bd54,_0x2376b2=[];cr(_0x2376b2,['tableSource',_0x13b541,_0x1bfc46(0xf6)],_0x276075,_0x3332f8,_0x23997e);let _0x18e9d3=T(_0x32bc72,_0x276075)[_0x1bfc46(0x189)],_0x2e4265=T(_0x32bc72,_0x315a6f)[_0x1bfc46(0xeb)]+0x1,_0x4585e5=_0x32bd54>_0x315a6f?T(_0x32bc72,_0xfa63d4)['endOffset']+0x1:T(_0x32bc72,_0xfa63d4)[_0x1bfc46(0x189)],_0x2bfd06=ur(_0xf3352e[_0x1bfc46(0x15c)],_0x18e9d3,_0x2e4265,_0x4585e5,_0x4fcbd4);return _0x2bfd06?(_0x2376b2['push'](_0x2bfd06),{'actions':W(_0x2376b2),'cursorRow':_0x23997e}):null;}function rr(_0x1fde33,_0x42077b,_0x1f6726,_0x28b4a2,_0x76ed38,_0xdf4cca,_0xfd87f2=[_0x5d7830(0x15c)]){const _0x52c675=_0x5d7830;var _0xe5874a;let _0x216e48=(_0xe5874a=_0x1fde33['tableSource'])==null?void 0x0:_0xe5874a[_0x42077b],_0x2f700a=w(_0x1fde33,_0x42077b);if(!_0x216e48||!_0x2f700a||_0x76ed38<=0x0)return null;let _0x13d728=lr(_0x1f6726,_0x216e48[_0x52c675(0x110)][_0x52c675(0x146)]-0x1),_0x5a8393=lr(_0x28b4a2,_0x216e48[_0x52c675(0x110)][_0x52c675(0x146)]-0x1),_0x1f3115=Math[_0x52c675(0x234)](_0x216e48['tableColumns'][_0x52c675(0x146)]-0x1,_0x13d728+_0x76ed38-0x1),_0x3030b1=_0x1f3115-_0x13d728+0x1,_0x1f338e=_0xdf4cca==='left'?_0x5a8393:_0x5a8393+0x1;if(_0x1f338e>=_0x13d728&&_0x1f338e<=_0x1f3115+0x1)return{'actions':null,'cursorColumn':_0x13d728};if(qn(_0x216e48))return ir(_0x1fde33,_0x216e48,_0x2f700a,_0x42077b,_0x13d728,_0x1f3115,_0x1f338e,_0xfd87f2);let _0x4699af=_0x1f338e>_0x1f3115?_0x1f338e-_0x3030b1:_0x1f338e,_0x57607a=[];return cr(_0x57607a,[_0x52c675(0x230),_0x42077b,_0x52c675(0x110)],_0x13d728,_0x3030b1,_0x4699af),_0x216e48['tableRows'][_0x52c675(0x1fa)]((_0x2a1723,_0x29c6d0)=>cr(_0x57607a,[_0x52c675(0x230),_0x42077b,_0x52c675(0xf6),_0x29c6d0,'tableCells'],_0x13d728,_0x3030b1,_0x4699af)),_0x2f700a[_0x52c675(0x197)][_0x52c675(0x1fa)](_0x19baf3=>{const _0x34d7b7=_0x52c675;let _0x66f21=_0x19baf3[_0x34d7b7(0x1dd)][_0x13d728][_0x34d7b7(0x189)],_0x395055=_0x19baf3[_0x34d7b7(0x1dd)][_0x1f3115]['endOffset']+0x1,_0x3a1bf6=_0x1f338e>_0x1f3115?_0x19baf3[_0x34d7b7(0x1dd)][_0x5a8393][_0x34d7b7(0xeb)]+0x1:_0x19baf3['cells'][_0x5a8393]['startOffset'],_0x1c91a0=ur(_0x1fde33[_0x34d7b7(0x15c)],_0x66f21,_0x395055,_0x3a1bf6,_0xfd87f2);_0x1c91a0&&_0x57607a[_0x34d7b7(0x1c9)](_0x1c91a0);}),{'actions':W(_0x57607a),'cursorColumn':_0x4699af};}function ir(_0x4232a2,_0xbcb6c,_0x35042f,_0x500b3c,_0x47a8c0,_0x3bfa92,_0x33056a,_0x43354b){const _0x31f253=_0x5d7830;let _0x294e00=_0x3bfa92-_0x47a8c0+0x1,_0x567c20=_0x33056a>_0x3bfa92?_0x33056a-_0x294e00:_0x33056a,_0x113161=_0xbcb6c['tableRows'][_0x31f253(0x1a4)]((_0xdf294a,_0x3285c9)=>{const _0xf70d56=_0x31f253;let _0x5904be=Jn(_0xdf294a),_0x2476f7=_0x5904be[_0xf70d56(0x22b)](_0x1b5b15=>_0x1b5b15[_0xf70d56(0x241)]>=_0x47a8c0&&_0x1b5b15[_0xf70d56(0x260)]<=_0x3bfa92);if(!_0x2476f7['length']||_0x2476f7[0x0][_0xf70d56(0x241)]!==_0x47a8c0||_0x2476f7[_0x2476f7[_0xf70d56(0x146)]-0x1]['endColumn']!==_0x3bfa92)return null;let _0x546cdf=ar(_0x5904be,_0x33056a);if(_0x546cdf==null)return null;let _0x1d2b43=_0x2476f7[0x0][_0xf70d56(0x187)],_0x55c085=_0x2476f7['length'],_0x19cf64=_0x546cdf>_0x1d2b43?_0x546cdf-_0x55c085:_0x546cdf,_0x6685fa=_0x35042f['rows'][_0x3285c9],_0x3daa7d=_0x546cdf<_0x6685fa[_0xf70d56(0x1dd)]['length']?_0x6685fa[_0xf70d56(0x1dd)][_0x546cdf][_0xf70d56(0x189)]:_0x6685fa[_0xf70d56(0xeb)];return{'physicalFrom':_0x1d2b43,'physicalCount':_0x55c085,'physicalInsertIndex':_0x19cf64,'startOffset':_0x6685fa[_0xf70d56(0x1dd)][_0x1d2b43][_0xf70d56(0x189)],'endOffset':_0x6685fa[_0xf70d56(0x1dd)][_0x1d2b43+_0x55c085-0x1][_0xf70d56(0xeb)]+0x1,'targetOffset':_0x3daa7d};});if(_0x113161[_0x31f253(0x20e)](_0x13bd12=>_0x13bd12==null))return null;let _0x9a1439=[];return cr(_0x9a1439,['tableSource',_0x500b3c,_0x31f253(0x110)],_0x47a8c0,_0x294e00,_0x567c20),_0x113161[_0x31f253(0x1fa)]((_0x2439eb,_0x52f04e)=>{const _0x64b007=_0x31f253;if(!_0x2439eb)return;cr(_0x9a1439,[_0x64b007(0x230),_0x500b3c,_0x64b007(0xf6),_0x52f04e,_0x64b007(0xe1)],_0x2439eb[_0x64b007(0x1d4)],_0x2439eb['physicalCount'],_0x2439eb[_0x64b007(0x1c4)]);let _0x5229f3=ur(_0x4232a2[_0x64b007(0x15c)],_0x2439eb['startOffset'],_0x2439eb[_0x64b007(0xeb)],_0x2439eb[_0x64b007(0x208)],_0x43354b);_0x5229f3&&_0x9a1439[_0x64b007(0x1c9)](_0x5229f3);}),{'actions':W(_0x9a1439),'cursorColumn':_0x567c20};}function ar(_0x44634f,_0x128fbf){const _0x33d9dc=_0x5d7830;let _0x1e44fb=_0x44634f[_0x33d9dc(0xda)](_0x497636=>_0x497636['startColumn']===_0x128fbf);return _0x1e44fb>=0x0?_0x1e44fb:_0x44634f[_0x33d9dc(0x146)]>0x0&&_0x44634f[_0x44634f['length']-0x1][_0x33d9dc(0x260)]+0x1===_0x128fbf?_0x44634f['length']:null;}function or(_0x27b9f2,_0x15347a,_0x1b596a,_0x39a85c,_0x398549,_0x50b9c4=['body']){const _0x1a51ec=_0x5d7830;var _0x56539e;let _0xdf35eb=(_0x56539e=_0x27b9f2[_0x1a51ec(0x230)])==null?void 0x0:_0x56539e[_0x1b596a],_0x9080f=w(_0x27b9f2,_0x1b596a),_0x1f11a5=_0x27b9f2[_0x1a51ec(0x15c)];if(!_0xdf35eb||!_0x9080f||!_0x1f11a5||!_0x9080f[_0x1a51ec(0x197)]['length'])return null;let _0x1352c8=Tn({'documentData':_0x27b9f2,'metadata':_0x15347a,'tableId':_0x1b596a,'column':_0x39a85c,'direction':_0x398549}),_0x113cc4=_0x9080f[_0x1a51ec(0x197)]['map']((_0x4974db,_0x312b67)=>({'body':fr(U(_0x1cb9db(_0x1f11a5,_0x4974db[_0x1a51ec(0x189)],_0x4974db[_0x1a51ec(0xeb)]+0x1,!0x1))),'length':_0x4974db[_0x1a51ec(0xeb)]+0x1-_0x4974db[_0x1a51ec(0x189)],'sourceIndex':_0x312b67})),_0x15985b=_0x9080f[_0x1a51ec(0x197)][0x0]['startOffset'],_0x554363=[];return _0x1352c8[_0x1a51ec(0x185)]['forEach']((_0x153850,_0x4f14a8)=>{const _0x74c768=_0x1a51ec;let _0x116775=_0x1352c8[_0x74c768(0x162)]+_0x4f14a8,_0x19ca6d=_0x113cc4[_0x74c768(0xda)](_0x27dd53=>_0x27dd53['sourceIndex']===_0x153850);if(_0x19ca6d===_0x116775)return;let _0x19f185=_0x15985b+sr(_0x113cc4,_0x19ca6d),_0x4d1ee4=_0x15985b+sr(_0x113cc4,_0x116775),_0x47ac1b=_0x113cc4[_0x19ca6d],_0x225ef8=dr(_0x19f185,_0x19f185+_0x47ac1b[_0x74c768(0x146)],_0x4d1ee4,_0x47ac1b[_0x74c768(0x15c)],_0x50b9c4);_0x225ef8&&(_0x554363[_0x74c768(0x1c9)](_0x50737a[_0x74c768(0x1e5)]()[_0x74c768(0x25b)]([_0x74c768(0x230),_0x1b596a,_0x74c768(0xf6),_0x19ca6d],['tableSource',_0x1b596a,_0x74c768(0xf6),_0x116775])),_0x554363[_0x74c768(0x1c9)](_0x225ef8)),_0x113cc4['splice'](_0x116775,0x0,_0x113cc4[_0x74c768(0x1f9)](_0x19ca6d,0x1)[0x0]);}),W(_0x554363);}function sr(_0x4e182c,_0x4e8c7f){const _0x45150=_0x5d7830;let _0x2de28c=0x0;for(let _0x2c9e33=0x0;_0x2c9e33<_0x4e8c7f;_0x2c9e33++)_0x2de28c+=_0x4e182c[_0x2c9e33][_0x45150(0x146)];return _0x2de28c;}function cr(_0x4ce4bc,_0x193553,_0xc5a463,_0x38d666,_0x4a4f50){const _0x1396f9=_0x5d7830;let _0x5b4a7e=_0x50737a['getInstance']();if(_0x4a4f50<_0xc5a463){for(let _0x234fd0=0x0;_0x234fd0<_0x38d666;_0x234fd0++)_0x4ce4bc[_0x1396f9(0x1c9)](_0x5b4a7e['moveOp']([..._0x193553,_0xc5a463+_0x234fd0],[..._0x193553,_0x4a4f50+_0x234fd0]));}else{for(let _0x3b8be5=_0x38d666-0x1;_0x3b8be5>=0x0;_0x3b8be5--)_0x4ce4bc['push'](_0x5b4a7e['moveOp']([..._0x193553,_0xc5a463+_0x3b8be5],[..._0x193553,_0x4a4f50+_0x3b8be5]));}}function lr(_0xd1df96,_0x260f16){const _0x40e2bc=_0x5d7830;return Math[_0x40e2bc(0x234)](Math[_0x40e2bc(0x1fc)](0x0,_0xd1df96),Math[_0x40e2bc(0x1fc)](0x0,_0x260f16));}function ur(_0x485ff1,_0x346582,_0x4bfbd2,_0x158a59,_0x833087){return!_0x485ff1||_0x4bfbd2<=_0x346582||_0x158a59>=_0x346582&&_0x158a59<=_0x4bfbd2?null:dr(_0x346582,_0x4bfbd2,_0x158a59,fr(U(_0x1cb9db(_0x485ff1,_0x346582,_0x4bfbd2,!0x1))),_0x833087);}function dr(_0x201980,_0x3ac83f,_0x5e9609,_0x5ac258,_0x2ff8b6){const _0x5b8aef=_0x5d7830;let _0x4e7a23=_0x3ac83f-_0x201980;if(_0x4e7a23<=0x0||_0x5e9609>=_0x201980&&_0x5e9609<=_0x3ac83f)return null;let _0x1b97e0=new _0x56ae42();return _0x5e9609<_0x201980?(_0x1b97e0[_0x5b8aef(0x23f)](_0x5e9609),_0x1b97e0[_0x5b8aef(0x262)](_0x4e7a23,_0x5ac258),_0x1b97e0[_0x5b8aef(0x23f)](_0x201980-_0x5e9609),_0x1b97e0[_0x5b8aef(0x121)](_0x4e7a23)):(_0x1b97e0[_0x5b8aef(0x23f)](_0x201980),_0x1b97e0[_0x5b8aef(0x121)](_0x4e7a23),_0x1b97e0['retain'](_0x5e9609-_0x3ac83f),_0x1b97e0[_0x5b8aef(0x262)](_0x4e7a23,_0x5ac258)),_0x50737a[_0x5b8aef(0x1e5)]()[_0x5b8aef(0x24a)](_0x1b97e0[_0x5b8aef(0x212)](),_0x2ff8b6);}function fr(_0x16abc4){const _0x1f8825=_0x5d7830;let _0x1eadb1=_0x16abc4;return Object[_0x1f8825(0x24f)](_0x1eadb1)[_0x1f8825(0x1fa)](_0x45a325=>{const _0x446f28=_0x1f8825;let _0x5114b1=_0x1eadb1[_0x45a325];Array[_0x446f28(0x11a)](_0x5114b1)&&_0x5114b1[_0x446f28(0x146)]===0x0&&delete _0x1eadb1[_0x45a325];}),_0x16abc4;}function pr(_0x592fab,_0x289c40,_0x224334,_0x59def1,_0x2e59ee){const _0x126a05=_0x5d7830;let _0x28c6cf=_0x50737a['getInstance']();for(let _0x43a62f=_0x2e59ee;_0x43a62f>=_0x59def1;_0x43a62f--)_0x592fab[_0x126a05(0x1c9)](_0x28c6cf[_0x126a05(0x137)]([_0x126a05(0x230),_0x224334,_0x126a05(0x110),_0x43a62f],U(_0x289c40['tableColumns'][_0x43a62f])));_0x289c40[_0x126a05(0xf6)]['forEach']((_0x336fdd,_0x4bf6a3)=>{const _0x416f53=_0x126a05;for(let _0x4b7e1e=_0x2e59ee;_0x4b7e1e>=_0x59def1;_0x4b7e1e--)_0x592fab[_0x416f53(0x1c9)](_0x28c6cf['removeOp']([_0x416f53(0x230),_0x224334,_0x416f53(0xf6),_0x4bf6a3,_0x416f53(0xe1),_0x4b7e1e],U(_0x336fdd['tableCells'][_0x4b7e1e])));});}function mr(_0x2c64b0,_0x529c38,_0x896fff,_0x3e75f5,_0x3c88fa,_0x3a564c=['body'],_0xd55f4d){const _0x25baa0=_0x5d7830;var _0x27de3f;let _0x1c90c5=(_0x27de3f=_0x2c64b0[_0x25baa0(0x230)])==null?void 0x0:_0x27de3f[_0x529c38],_0x5db7ac=w(_0x2c64b0,_0x529c38);if(!_0x1c90c5||!_0x5db7ac||_0x3e75f5<=0x0||_0x896fff<0x0||_0x896fff>=_0x1c90c5[_0x25baa0(0xf6)][_0x25baa0(0x146)])return null;if(qn(_0x1c90c5))return hr(_0x2c64b0,_0x1c90c5,_0x5db7ac,_0x529c38,_0x896fff,_0x3e75f5,_0x3c88fa,_0x3a564c,_0xd55f4d);let _0x5bac62=_0x3c88fa===_0x25baa0(0xf7)?_0x896fff:_0x896fff+0x1,_0x61cdc9=_0x3c88fa===_0x25baa0(0xf7)?T(_0x5db7ac,_0x896fff)[_0x25baa0(0x189)]:T(_0x5db7ac,_0x896fff)[_0x25baa0(0xeb)]+0x1,_0x3da665=Sr(k(_0x1c90c5)['map'](_0x4fc7be=>_0x5bac62<=_0x4fc7be[_0x25baa0(0x1d1)]?{..._0x4fc7be,'startRow':_0x4fc7be['startRow']+_0x3e75f5,'endRow':_0x4fc7be[_0x25baa0(0x227)]+_0x3e75f5}:_0x5bac62<=_0x4fc7be[_0x25baa0(0x227)]?{..._0x4fc7be,'endRow':_0x4fc7be[_0x25baa0(0x227)]+_0x3e75f5}:_0x4fc7be)),_0x4f59c1=_0x1c90c5[_0x25baa0(0xf6)][_0x896fff],_0x2a0b1c=Array[_0x25baa0(0x21b)]({'length':_0x3e75f5},(_0x338eac,_0x531c8b)=>{let _0x29f9a4=U(_0x4f59c1);return Tr(_0x29f9a4,_0x5bac62+_0x531c8b,_0x3da665),_0xd55f4d==null||_0xd55f4d(_0x29f9a4,_0x531c8b),_0x29f9a4;}),_0x2dc15f=Cr(_0x1c90c5,_0x3da665,_0x298aaf=>_0x298aaf>=_0x5bac62?_0x298aaf+_0x3e75f5:_0x298aaf),_0x3b719d=_0x50737a[_0x25baa0(0x1e5)]();_0x2a0b1c[_0x25baa0(0x1fa)]((_0x1883e1,_0xead3cc)=>{const _0x4eb640=_0x25baa0;_0x2dc15f['push'](_0x3b719d[_0x4eb640(0x11b)](['tableSource',_0x529c38,_0x4eb640(0xf6),_0x5bac62+_0xead3cc],_0x1883e1));});let _0x1f554a=F(_0x2c64b0,[{'startOffset':_0x61cdc9,'endOffset':_0x61cdc9,'text':jr(kr(_0x1c90c5[_0x25baa0(0x110)]['length']),_0x3e75f5)}],_0x3a564c);return _0x1f554a?(_0x2dc15f[_0x25baa0(0x1c9)](_0x1f554a),{'actions':W(_0x2dc15f),'cursorRow':_0x5bac62}):null;}function hr(_0x3a1d59,_0x45e73e,_0x3e2f7c,_0x41dc37,_0x36fdba,_0x5e3cb3,_0x19e854,_0x4b6e9d,_0x44ea8f){const _0xb2dc1f=_0x5d7830;let _0x109a27=_0x19e854===_0xb2dc1f(0xf7)?_0x36fdba:_0x36fdba+0x1,_0x56d495=T(_0x3e2f7c,_0x36fdba),_0x228b7d=_0x19e854===_0xb2dc1f(0xf7)?_0x56d495[_0xb2dc1f(0x189)]:_0x56d495['endOffset']+0x1,_0x482d78=_0x45e73e['tableRows'][_0x36fdba],_0x5f39b7=Array[_0xb2dc1f(0x21b)]({'length':_0x5e3cb3},(_0x3c4f38,_0x2d1ad2)=>{const _0x4b1cd2=_0xb2dc1f;let _0x1c63d1=U(_0x482d78);return _0x1c63d1[_0x4b1cd2(0xe1)][_0x4b1cd2(0x1fa)](_0x29df2b=>{const _0x4aeb34=_0x4b1cd2;delete _0x29df2b[_0x4aeb34(0x105)],_0x29df2b[_0x4aeb34(0x1f2)]===0x0&&delete _0x29df2b[_0x4aeb34(0x1f2)];}),_0x44ea8f==null||_0x44ea8f(_0x1c63d1,_0x2d1ad2),_0x1c63d1;}),_0x24c59a=_0x50737a[_0xb2dc1f(0x1e5)](),_0x34c41f=_0x5f39b7[_0xb2dc1f(0x1a4)]((_0x4bb55f,_0x151972)=>_0x24c59a[_0xb2dc1f(0x11b)]([_0xb2dc1f(0x230),_0x41dc37,'tableRows',_0x109a27+_0x151972],_0x4bb55f)),_0x283375=F(_0x3a1d59,[{'startOffset':_0x228b7d,'endOffset':_0x228b7d,'text':_0x5f39b7['map'](_0x4aa106=>kr(_0x4aa106[_0xb2dc1f(0xe1)][_0xb2dc1f(0x146)]))[_0xb2dc1f(0x19c)]('')}],_0x4b6e9d);return _0x283375?(_0x34c41f[_0xb2dc1f(0x1c9)](_0x283375),{'actions':W(_0x34c41f),'cursorRow':_0x109a27}):null;}function gr(_0xeb323,_0x50f9ac,_0x2ba807=[_0x5d7830(0x15c)]){const _0x1217b1=_0x5d7830;var _0x22ff1f;let _0x4486ee=(_0x22ff1f=_0xeb323['tableSource'])==null||(_0x22ff1f=_0x22ff1f[_0x50f9ac])==null?void 0x0:_0x22ff1f[_0x1217b1(0x110)][_0x1217b1(0x146)];return _0x4486ee?mr(_0xeb323,_0x50f9ac,0x0,0x1,'above',_0x2ba807,_0x148bb8=>{const _0x2c3b69=_0x1217b1;_0x148bb8[_0x2c3b69(0x174)]=!0x0,_0x148bb8['tableCells'][_0x2c3b69(0x1fa)]((_0x1feacf,_0x1e3e87)=>{const _0x3abc03=_0x2c3b69;_0x1e3e87===0x0?(_0x1feacf[_0x3abc03(0x1f2)]=_0x4486ee,delete _0x1feacf['rowSpan']):(_0x1feacf[_0x3abc03(0x105)]=0x0,_0x1feacf[_0x3abc03(0x1f2)]=0x0);});}):null;}function _r(_0x4112bb,_0x492881,_0x2d81c1,_0x29acb6,_0x3b3804=[_0x5d7830(0x15c)]){const _0x23cf1d=_0x5d7830;var _0x44a317;let _0x38a35e=(_0x44a317=_0x4112bb['tableSource'])==null?void 0x0:_0x44a317[_0x492881],_0x3532d5=w(_0x4112bb,_0x492881);if(!_0x38a35e||!_0x3532d5)return null;let _0x467c72=Math[_0x23cf1d(0x234)](_0x2d81c1,_0x29acb6),_0x552a1a=Math[_0x23cf1d(0x1fc)](_0x2d81c1,_0x29acb6);if(_0x467c72<0x0||_0x467c72>=_0x38a35e[_0x23cf1d(0xf6)][_0x23cf1d(0x146)]||_0x552a1a<_0x467c72)return null;let _0xe9f105=Math['min'](_0x552a1a,_0x38a35e['tableRows'][_0x23cf1d(0x146)]-0x1),_0x17eec2=_0xe9f105-_0x467c72+0x1;if(_0x17eec2>=_0x38a35e[_0x23cf1d(0xf6)][_0x23cf1d(0x146)])return vr(_0x4112bb,_0x492881,_0x3b3804);let _0x4015a8=Cr(_0x38a35e,Sr(k(_0x38a35e)[_0x23cf1d(0x1a4)](_0x15aeb0=>br(_0x15aeb0,_0x467c72,_0xe9f105))[_0x23cf1d(0x22b)](_0x233194=>_0x233194!=null)),_0xc8ecce=>_0xc8ecce<_0x467c72?_0xc8ecce:_0xc8ecce>_0xe9f105?_0xc8ecce-_0x17eec2:null),_0x7eda87=_0x50737a[_0x23cf1d(0x1e5)]();for(let _0xf01005=_0xe9f105;_0xf01005>=_0x467c72;_0xf01005--)_0x4015a8[_0x23cf1d(0x1c9)](_0x7eda87[_0x23cf1d(0x137)]([_0x23cf1d(0x230),_0x492881,_0x23cf1d(0xf6),_0xf01005],U(_0x38a35e[_0x23cf1d(0xf6)][_0xf01005])));let _0x557d9a=T(_0x3532d5,_0x467c72)[_0x23cf1d(0x189)],_0x5e7a19=T(_0x3532d5,_0xe9f105)[_0x23cf1d(0xeb)]+0x1,_0x4ef77a=F(_0x4112bb,[{'startOffset':_0x557d9a,'endOffset':_0x5e7a19,'text':''}],_0x3b3804);return _0x4ef77a?(_0x4015a8['push'](...yr(_0x4112bb,[{'startOffset':_0x557d9a,'endOffset':_0x5e7a19,'collapsed':!0x1}])),_0x4015a8[_0x23cf1d(0x1c9)](_0x4ef77a),{'actions':W(_0x4015a8),'cursorRow':Math[_0x23cf1d(0x234)](_0x467c72,_0x38a35e[_0x23cf1d(0xf6)][_0x23cf1d(0x146)]-_0x17eec2-0x1)}):null;}function vr(_0x2ef71e,_0xdc2d15,_0x10834d){const _0x29ddb3=_0x5d7830;var _0xfba4c1;let _0xc226f4=(_0xfba4c1=_0x2ef71e[_0x29ddb3(0x230)])==null?void 0x0:_0xfba4c1[_0xdc2d15],_0x2d1810=w(_0x2ef71e,_0xdc2d15);if(!_0xc226f4||!_0x2d1810)return null;let _0x58f60d=F(_0x2ef71e,[{'startOffset':_0x2d1810[_0x29ddb3(0x189)],'endOffset':_0x2d1810['endOffset'],'text':''}],_0x10834d);if(!_0x58f60d)return null;let _0x346964=yr(_0x2ef71e,[{'startOffset':_0x2d1810[_0x29ddb3(0x189)],'endOffset':_0x2d1810['endOffset'],'collapsed':!0x1}]);return{'actions':W([_0x50737a['getInstance']()[_0x29ddb3(0x137)]([_0x29ddb3(0x230),_0xdc2d15],U(_0xc226f4)),..._0x346964,_0x58f60d]),'cursorRow':0x0,'deleteTable':!0x0};}function yr(_0x27117d,_0x5e2bf2){const _0x436829=_0x5d7830;let _0x207481=_0x27117d['body'];if(!_0x207481)return[];let _0x209f1f=_0x27117d['drawings']??{},_0x5b59c2=_0x27117d[_0x436829(0x180)]??[],_0x552619=[...new Set(_0xbf7694(_0x207481,_0x5e2bf2))][_0x436829(0x25a)]((_0x470122,_0x30f6ef)=>_0x5b59c2[_0x436829(0x1ba)](_0x30f6ef)-_0x5b59c2[_0x436829(0x1ba)](_0x470122)),_0x19637a=_0x50737a[_0x436829(0x1e5)](),_0x2b2cde=[];for(let _0x282215 of _0x552619){let _0x313653=_0x209f1f[_0x282215];if(_0x313653){let _0x35e96a=_0x19637a['removeOp']([_0x436829(0x1f0),_0x282215],_0x313653);_0x35e96a&&_0x2b2cde[_0x436829(0x1c9)](_0x35e96a);}let _0x5e63c1=_0x5b59c2['indexOf'](_0x282215);if(_0x5e63c1>=0x0){let _0x3a6ac9=_0x19637a[_0x436829(0x137)](['drawingsOrder',_0x5e63c1],_0x282215);_0x3a6ac9&&_0x2b2cde[_0x436829(0x1c9)](_0x3a6ac9);}}return _0x2b2cde;}function br(_0x5ce36c,_0x539385,_0x2da6c8){const _0x5a5c15=_0x5d7830;let _0x8858b6=[],_0x23baad=_0x2da6c8-_0x539385+0x1;for(let _0x50194e=_0x5ce36c[_0x5a5c15(0x1d1)];_0x50194e<=_0x5ce36c[_0x5a5c15(0x227)];_0x50194e++)_0x50194e<_0x539385?_0x8858b6[_0x5a5c15(0x1c9)](_0x50194e):_0x50194e>_0x2da6c8&&_0x8858b6[_0x5a5c15(0x1c9)](_0x50194e-_0x23baad);return _0x8858b6['length']?{..._0x5ce36c,'startRow':Math[_0x5a5c15(0x234)](..._0x8858b6),'endRow':Math[_0x5a5c15(0x1fc)](..._0x8858b6)}:null;}function xr(_0x247385,_0x2428ad,_0x488d1a){const _0x5b34cd=_0x5d7830;let _0xba381d=[],_0x12675e=_0x488d1a-_0x2428ad+0x1;for(let _0x4e0bae=_0x247385[_0x5b34cd(0x241)];_0x4e0bae<=_0x247385[_0x5b34cd(0x260)];_0x4e0bae++)_0x4e0bae<_0x2428ad?_0xba381d[_0x5b34cd(0x1c9)](_0x4e0bae):_0x4e0bae>_0x488d1a&&_0xba381d['push'](_0x4e0bae-_0x12675e);return _0xba381d['length']?{..._0x247385,'startColumn':Math[_0x5b34cd(0x234)](..._0xba381d),'endColumn':Math[_0x5b34cd(0x1fc)](..._0xba381d)}:null;}function Sr(_0x55b686){const _0x1f5643=_0x5d7830;let _0xadca0f=new Map();for(let _0x59dc33 of _0x55b686){let _0xcfed8e=_0x59dc33['endRow']-_0x59dc33['startRow']+0x1,_0x5ec5a1=_0x59dc33[_0x1f5643(0x260)]-_0x59dc33[_0x1f5643(0x241)]+0x1;for(let _0x48630e=_0x59dc33['startRow'];_0x48630e<=_0x59dc33[_0x1f5643(0x227)];_0x48630e++)for(let _0xd1509b=_0x59dc33[_0x1f5643(0x241)];_0xd1509b<=_0x59dc33['endColumn'];_0xd1509b++)_0xadca0f['set'](Or(_0x48630e,_0xd1509b),_0x48630e===_0x59dc33['startRow']&&_0xd1509b===_0x59dc33['startColumn']?{'rowSpan':_0xcfed8e,'columnSpan':_0x5ec5a1}:{'rowSpan':0x0,'columnSpan':0x0});}return _0xadca0f;}function Cr(_0x7ec4d3,_0x142aee,_0x387ab1){const _0x1b61aa=_0x5d7830;let _0x2df03a=[],_0x25e2e1=_0x50737a['getInstance']();return _0x7ec4d3[_0x1b61aa(0xf6)]['forEach']((_0x3028f4,_0x568958)=>{const _0x2ba4b2=_0x1b61aa;let _0x42ae66=_0x387ab1(_0x568958);_0x42ae66!=null&&_0x3028f4[_0x2ba4b2(0xe1)][_0x2ba4b2(0x1fa)]((_0x47b80d,_0x3a53ea)=>{const _0x3bb98a=_0x2ba4b2;let _0x41a546=_0x142aee[_0x3bb98a(0x194)](Or(_0x42ae66,_0x3a53ea)),_0x5cfa44=[_0x3bb98a(0x230),_0x7ec4d3[_0x3bb98a(0x139)],_0x3bb98a(0xf6),_0x568958,_0x3bb98a(0xe1),_0x3a53ea],_0x46013c=H(_0x25e2e1,[..._0x5cfa44,'rowSpan'],_0x47b80d[_0x3bb98a(0x105)],_0x41a546==null?void 0x0:_0x41a546[_0x3bb98a(0x105)]),_0xa4f082=H(_0x25e2e1,[..._0x5cfa44,'columnSpan'],_0x47b80d['columnSpan'],_0x41a546==null?void 0x0:_0x41a546[_0x3bb98a(0x1f2)]);_0x46013c&&_0x2df03a[_0x3bb98a(0x1c9)](_0x46013c),_0xa4f082&&_0x2df03a[_0x3bb98a(0x1c9)](_0xa4f082);});}),_0x2df03a;}function wr(_0x4826c6,_0x12e8f5,_0x10842e){const _0x594d59=_0x5d7830;let _0x5d1f86=[],_0x2a3615=_0x50737a['getInstance']();return _0x4826c6[_0x594d59(0xf6)][_0x594d59(0x1fa)]((_0x337a05,_0x2a68de)=>{const _0x75d673=_0x594d59;_0x337a05[_0x75d673(0xe1)]['forEach']((_0x4635d1,_0x20fd12)=>{const _0x56f4da=_0x75d673;let _0x48ae24=_0x10842e(_0x20fd12);if(_0x48ae24==null)return;let _0x2328e4=_0x12e8f5[_0x56f4da(0x194)](Or(_0x2a68de,_0x48ae24)),_0x3c9f0f=[_0x56f4da(0x230),_0x4826c6[_0x56f4da(0x139)],'tableRows',_0x2a68de,_0x56f4da(0xe1),_0x20fd12],_0xaae8ac=H(_0x2a3615,[..._0x3c9f0f,_0x56f4da(0x105)],_0x4635d1['rowSpan'],_0x2328e4==null?void 0x0:_0x2328e4[_0x56f4da(0x105)]),_0x437582=H(_0x2a3615,[..._0x3c9f0f,_0x56f4da(0x1f2)],_0x4635d1[_0x56f4da(0x1f2)],_0x2328e4==null?void 0x0:_0x2328e4[_0x56f4da(0x1f2)]);_0xaae8ac&&_0x5d1f86['push'](_0xaae8ac),_0x437582&&_0x5d1f86[_0x56f4da(0x1c9)](_0x437582);});}),_0x5d1f86;}function Tr(_0x54a148,_0x5ca34b,_0x1c84a0){const _0x15b0c3=_0x5d7830;_0x54a148[_0x15b0c3(0xe1)][_0x15b0c3(0x1fa)]((_0x34301b,_0x14d157)=>{const _0x5ee19b=_0x15b0c3;let _0x344dc5=_0x1c84a0[_0x5ee19b(0x194)](Or(_0x5ca34b,_0x14d157));Dr(_0x34301b,'rowSpan',_0x344dc5==null?void 0x0:_0x344dc5[_0x5ee19b(0x105)]),Dr(_0x34301b,_0x5ee19b(0x1f2),_0x344dc5==null?void 0x0:_0x344dc5[_0x5ee19b(0x1f2)]);});}function Er(_0x5cb9ce,_0x8f02db,_0x27c323,_0x323fcc){const _0x4b740a=_0x5d7830;let _0x6844bf=_0x323fcc[_0x4b740a(0x194)](Or(_0x8f02db,_0x27c323));Dr(_0x5cb9ce,_0x4b740a(0x105),_0x6844bf==null?void 0x0:_0x6844bf[_0x4b740a(0x105)]),Dr(_0x5cb9ce,_0x4b740a(0x1f2),_0x6844bf==null?void 0x0:_0x6844bf['columnSpan']);}function Dr(_0x4a975c,_0x4ae593,_0x8c0fec){_0x8c0fec===void 0x0?delete _0x4a975c[_0x4ae593]:_0x4a975c[_0x4ae593]=_0x8c0fec;}function Or(_0x2603de,_0x216807){const _0x2a021e=_0x5d7830;return[_0x2603de,_0x216807][_0x2a021e(0x19c)](':');}function kr(_0xf61783){const _0x44f56b=_0x5d7830;return[_0x23da6c[_0x44f56b(0x1d6)],jr(Ar(),_0xf61783),_0x23da6c[_0x44f56b(0x1b6)]][_0x44f56b(0x19c)]('');}function Ar(){const _0x31b5ce=_0x5d7830;return[_0x23da6c[_0x31b5ce(0x19a)],'\x0d\x0a',_0x23da6c[_0x31b5ce(0x147)]][_0x31b5ce(0x19c)]('');}function jr(_0x30fcc8,_0x534da2){const _0x5c92da=_0x5d7830;return Array[_0x5c92da(0x21b)]({'length':_0x534da2},()=>_0x30fcc8)[_0x5c92da(0x19c)]('');}function U(_0x14c314){const _0x211fa2=_0x5d7830;return Array[_0x211fa2(0x11a)](_0x14c314)?_0x14c314[_0x211fa2(0x1a4)](_0x20f01b=>U(_0x20f01b)):!_0x14c314||typeof _0x14c314!='object'?_0x14c314:Object[_0x211fa2(0x199)](Object['entries'](_0x14c314)[_0x211fa2(0x1a4)](([_0x5acda5,_0x7f9ac0])=>[_0x5acda5,U(_0x7f9ac0)]));}function W(_0x1fc144){const _0x5d5fa4=_0x5d7830;return _0x1fc144[_0x5d5fa4(0x10f)]((_0x432795,_0x585f76)=>_0x50737a['compose'](_0x432795,_0x585f76),null);}function G(_0x57aa60,_0x446594,_0x5b0ae7,_0x264ee1,_0x327efd,_0x34b704,_0x19025c,_0xbf13ee){const _0x10afcb=_0x5d7830;if(!_0x264ee1)return!0x0;let _0x171e5e=[];return _0x327efd?_0x171e5e=Nr(_0x5b0ae7,_0x327efd):_0x34b704!=null&&(_0x171e5e=[{'startOffset':_0x34b704,'endOffset':_0x34b704,'collapsed':!0x0}]),!!_0x57aa60[_0x10afcb(0x13b)](In['id'],{'unitId':_0x446594,'historyAction':_0xbf13ee,'actions':_0x264ee1,'textRanges':_0x171e5e,'trigger':_0x19025c});}function K(_0x15a54f,_0x258c46=''){const _0x4a7451=_0x5d7830;var _0x44a2a9,_0x50ed2c;return _0x258c46?(_0x44a2a9=_0x15a54f['headers'])!=null&&_0x44a2a9[_0x258c46]?['headers',_0x258c46,_0x4a7451(0x15c)]:(_0x50ed2c=_0x15a54f[_0x4a7451(0x1de)])!=null&&_0x50ed2c[_0x258c46]?[_0x4a7451(0x1de),_0x258c46,_0x4a7451(0x15c)]:[_0x4a7451(0x15c)]:[_0x4a7451(0x15c)];}function Mr(_0x3aaaa8,_0x33b6d9){const _0x1a0b04=_0x5d7830;return JSON['stringify'](_0x3aaaa8)===JSON[_0x1a0b04(0x1a1)](_0x33b6d9);}function Nr(_0x379f60,_0x24dbfb){const _0x300f5b=_0x5d7830;var _0xc4db27,_0x313542,_0x17ce8e;let _0x48c742=w(_0x379f60,_0x24dbfb[_0x300f5b(0x139)]);if(!_0x48c742)return[];let _0x32162c=Math[_0x300f5b(0x234)](_0x24dbfb['startRow'],_0x24dbfb[_0x300f5b(0x227)]),_0x1ae97b=Math[_0x300f5b(0x1fc)](_0x24dbfb['startRow'],_0x24dbfb[_0x300f5b(0x227)]),_0x3789cd=Math[_0x300f5b(0x234)](_0x24dbfb[_0x300f5b(0x241)],_0x24dbfb[_0x300f5b(0x260)]),_0x5618b2=Math[_0x300f5b(0x1fc)](_0x24dbfb[_0x300f5b(0x241)],_0x24dbfb[_0x300f5b(0x260)]),_0x28500e=(_0xc4db27=_0x48c742['rows'][_0x32162c])==null?void 0x0:_0xc4db27[_0x300f5b(0x1dd)][_0x3789cd],_0x13a140=(_0x313542=_0x48c742[_0x300f5b(0x197)][_0x1ae97b])==null?void 0x0:_0x313542[_0x300f5b(0x1dd)][_0x5618b2];if(!_0x28500e||!_0x13a140)return[];let _0xd5a875=(_0x17ce8e=_0x48c742[_0x300f5b(0x230)][_0x300f5b(0xf6)][_0x32162c])==null?void 0x0:_0x17ce8e[_0x300f5b(0xe1)][_0x3789cd],_0x2994d6=(_0xd5a875==null?void 0x0:_0xd5a875[_0x300f5b(0x105)])??0x1,_0x200116=(_0xd5a875==null?void 0x0:_0xd5a875[_0x300f5b(0x1f2)])??0x1,_0x542ba6=(_0x2994d6>0x1||_0x200116>0x1)&&_0x32162c+_0x2994d6-0x1>=_0x1ae97b&&_0x3789cd+_0x200116-0x1>=_0x5618b2?_0x28500e:_0x13a140,_0xa0d3f8=_0x3789cd===0x0&&_0x5618b2===_0x48c742[_0x300f5b(0x264)]-0x1,_0xb7474e=_0x32162c===0x0&&_0x1ae97b===_0x48c742['rowCount']-0x1,_0x194197=_0x28500e[_0x300f5b(0x189)]+0x1;return[{'startOffset':_0x194197,'endOffset':Math[_0x300f5b(0x1fc)](_0x194197,_0x542ba6['endOffset']-0x1),'collapsed':!0x1,'rangeType':_0x17b745[_0x300f5b(0x151)],'segmentId':_0x24dbfb[_0x300f5b(0x1a6)]??'','tableId':_0x24dbfb[_0x300f5b(0x139)],'startRow':_0x32162c,'endRow':_0x1ae97b,'startColumn':_0x3789cd,'endColumn':_0x5618b2,'spanEntireRow':_0xa0d3f8,'spanEntireColumn':_0xb7474e,'spanEntireTable':_0xa0d3f8&&_0xb7474e,'isActive':!0x0}];}function q(_0x500310,_0x12b43a){return function(_0x391189,_0x5a310c){_0x12b43a(_0x391189,_0x5a310c,_0x500310);};}function Pr(_0x861000,_0x32c53a,_0x441f8c,_0x431fb6){const _0x2c407a=_0x5d7830;var _0x369b21=arguments[_0x2c407a(0x146)],_0x397c46=_0x369b21<0x3?_0x32c53a:_0x431fb6===null?_0x431fb6=Object[_0x2c407a(0x1b2)](_0x32c53a,_0x441f8c):_0x431fb6,_0x36c8bf;if(typeof Reflect==_0x2c407a(0x1eb)&&typeof Reflect['decorate']==_0x2c407a(0x257))_0x397c46=Reflect[_0x2c407a(0xfa)](_0x861000,_0x32c53a,_0x441f8c,_0x431fb6);else{for(var _0x320304=_0x861000[_0x2c407a(0x146)]-0x1;_0x320304>=0x0;_0x320304--)(_0x36c8bf=_0x861000[_0x320304])&&(_0x397c46=(_0x369b21<0x3?_0x36c8bf(_0x397c46):_0x369b21>0x3?_0x36c8bf(_0x32c53a,_0x441f8c,_0x397c46):_0x36c8bf(_0x32c53a,_0x441f8c))||_0x397c46);}return _0x369b21>0x3&&_0x397c46&&Object[_0x2c407a(0x165)](_0x32c53a,_0x441f8c,_0x397c46),_0x397c46;}let J=class extends _0x1d2dfe{constructor(_0xf66013,_0x4888db){const _0x362610=_0x5d7830;var _0x4132c7;super(),this[_0x362610(0x251)]=_0xf66013,this[_0x362610(0x16f)]=_0x4888db,L(this,_0x362610(0x166),new _0x5132fc()),L(this,_0x362610(0xcc),null),L(this,_0x362610(0x222),null),L(this,_0x362610(0x117),!0x1),L(this,_0x362610(0x14d),!0x1),L(this,_0x362610(0x1ff),0x0),L(this,_0x362610(0x198),this[_0x362610(0x166)][_0x362610(0x15e)]()),this[_0x362610(0x17a)](((_0x4132c7=this[_0x362610(0x16f)][_0x362610(0x1ae)])==null?void 0x0:_0x4132c7[_0x362610(0x263)](()=>{const _0x4aa379=_0x362610;this[_0x4aa379(0x18f)](),this[_0x4aa379(0x115)]();}))??(()=>void 0x0));}[_0x5d7830(0x193)](){const _0x1402f5=_0x5d7830;if(this[_0x1402f5(0x1ff)]>0x0)return this[_0x1402f5(0x1c1)]();let _0x3d5c6e=this['_getCurrentDoc']();if(!_0x3d5c6e)return null;if(!this['_nativeSelectionSuppressed']){var _0x53485e,_0x107e56,_0x4e4a48,_0x3bc91e;let _0x2c2b38=(_0x53485e=(_0x107e56=this[_0x1402f5(0x16f)])[_0x1402f5(0x1d8)])==null?void 0x0:_0x53485e['call'](_0x107e56);if(_0x2c2b38&&_0x2c2b38['length']>0x0)return this['_getSelectionFromRectRanges'](_0x3d5c6e,_0x2c2b38);let _0x5a9314=(_0x4e4a48=(_0x3bc91e=this[_0x1402f5(0x16f)])[_0x1402f5(0x130)])==null?void 0x0:_0x4e4a48[_0x1402f5(0x11c)](_0x3bc91e);if(_0x5a9314)return this['_getSelectionFromActiveTextRange'](_0x3d5c6e,_0x5a9314)||{'kind':_0x1402f5(0x1ad),'unitId':_0x3d5c6e[_0x1402f5(0x161)](),'segmentId':_0x5a9314[_0x1402f5(0x1a6)]??'','tableId':'','startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1,'startOffset':_0x5a9314['startOffset']??0x0,'endOffset':_0x5a9314[_0x1402f5(0xeb)]??_0x5a9314[_0x1402f5(0x189)]??0x0,'source':_0x1402f5(0x1ad)};}let _0x5b6494=this[_0x1402f5(0x158)](_0x3d5c6e);return _0x5b6494?{..._0x5b6494,'unitId':_0x3d5c6e[_0x1402f5(0x161)]()}:null;}[_0x5d7830(0x1c1)](){const _0x397af7=_0x5d7830;let _0x5d363b=this['_getCurrentDoc']();if(!_0x5d363b)return null;let _0x3c4cd2=this[_0x397af7(0x158)](_0x5d363b);return _0x3c4cd2?{..._0x3c4cd2,'unitId':_0x5d363b[_0x397af7(0x161)]()}:null;}async['withStructuralSelection'](_0x406776){const _0x56b129=_0x5d7830;if(!this[_0x56b129(0x1c1)]())return _0x406776();this[_0x56b129(0x1ff)]++;try{return await _0x406776();}finally{this['_structuralSelectionScopeDepth']--,this[_0x56b129(0x115)]();}}[_0x5d7830(0x20a)](){let _0x1c7332=this['getCurrentSelection']();return Fr(_0x1c7332)?_0x1c7332:null;}['emitCurrentSelection'](){const _0xdee633=_0x5d7830;let _0x19fcfb=this[_0xdee633(0x18b)]();_0x19fcfb&&this[_0xdee633(0x158)](_0x19fcfb),this[_0xdee633(0x166)]['next'](this['getCurrentSelection']());}['setStructuralSelection'](_0x42adb3,_0xa92446={}){const _0x521d69=_0x5d7830;var _0x59ba8e;let _0x555660=this[_0x521d69(0x18b)](),_0x595649=_0x555660==null||(_0x59ba8e=_0x555660['getSnapshot']()[_0x521d69(0x230)])==null?void 0x0:_0x59ba8e[_0x42adb3[_0x521d69(0x139)]],_0x7be021=_0x595649?zr(_0x595649,_0x42adb3):null;if(!_0x595649||!_0x7be021)this[_0x521d69(0x22f)](!0x0),this[_0x521d69(0x115)]();else{if(this[_0x521d69(0xcc)]={'kind':Hr(_0x42adb3['kind'],_0x7be021,_0x595649),'unitId':(_0x555660==null?void 0x0:_0x555660[_0x521d69(0x161)]())??'','segmentId':_0x42adb3[_0x521d69(0x1a6)]??'','tableId':_0x42adb3[_0x521d69(0x139)],'startRow':_0x7be021[_0x521d69(0x1d1)],'endRow':_0x7be021['endRow'],'startColumn':_0x7be021[_0x521d69(0x241)],'endColumn':_0x7be021[_0x521d69(0x260)],'startOffset':_0x42adb3[_0x521d69(0x189)]??0x0,'endOffset':_0x42adb3['endOffset']??_0x42adb3['startOffset']??0x0,'source':_0x521d69(0x155)},this[_0x521d69(0x222)]=Vr(_0x595649),this[_0x521d69(0x14d)]=!!_0xa92446[_0x521d69(0x1ee)],_0xa92446[_0x521d69(0x25e)]!==!0x1){var _0x627bd0,_0x27d469;(_0x627bd0=(_0x27d469=this[_0x521d69(0x16f)])[_0x521d69(0x1d5)])==null||_0x627bd0[_0x521d69(0x11c)](_0x27d469,[],void 0x0,!0x1);}this[_0x521d69(0x115)]();}}[_0x5d7830(0x183)](_0x515fd6,_0xa90a1b,_0x48f1c5,_0x17f716,_0x3b9601={}){const _0x5d2ff5=_0x5d7830;var _0x71cdd5;let _0x5d588f=this[_0x5d2ff5(0x18b)](),_0x2f8306=_0x5d588f==null||(_0x71cdd5=_0x5d588f['getSnapshot']()[_0x5d2ff5(0x230)])==null?void 0x0:_0x71cdd5[_0x515fd6];if(!_0x2f8306)return;let _0x5c5ed7=_0x2f8306['tableRows'][_0x5d2ff5(0x146)],_0x323c8b=_0x2f8306[_0x5d2ff5(0x110)][_0x5d2ff5(0x146)],_0x9ad288=Math['min'](_0x48f1c5,_0x17f716),_0x520cd3=Math[_0x5d2ff5(0x1fc)](_0x48f1c5,_0x17f716);_0xa90a1b===_0x5d2ff5(0x188)?this[_0x5d2ff5(0x268)]({'kind':_0x5d2ff5(0x188),'segmentId':_0x3b9601[_0x5d2ff5(0x1a6)],'tableId':_0x515fd6,'startRow':_0x9ad288,'endRow':_0x520cd3,'startColumn':0x0,'endColumn':Math[_0x5d2ff5(0x1fc)](_0x323c8b-0x1,0x0)},_0x3b9601):this[_0x5d2ff5(0x268)]({'kind':_0x5d2ff5(0x17d),'segmentId':_0x3b9601[_0x5d2ff5(0x1a6)],'tableId':_0x515fd6,'startRow':0x0,'endRow':Math['max'](_0x5c5ed7-0x1,0x0),'startColumn':_0x9ad288,'endColumn':_0x520cd3},_0x3b9601);}['clearStructuralSelection'](_0x529691={}){const _0x406351=_0x5d7830;if(this[_0x406351(0x22f)](),_0x529691[_0x406351(0x25e)]!==!0x1){var _0x3ece78,_0x18f026;(_0x3ece78=(_0x18f026=this[_0x406351(0x16f)])['replaceDocRanges'])==null||_0x3ece78[_0x406351(0x11c)](_0x18f026,[],void 0x0,!0x1);}this[_0x406351(0x115)]();}['setNativeSelectionSuppressed'](_0x104265){const _0x3f6644=_0x5d7830;if(this['_nativeSelectionSuppressed']!==_0x104265){if(this[_0x3f6644(0x117)]=_0x104265,_0x104265||(this[_0x3f6644(0x14d)]=!0x1),_0x104265){var _0x567a0b,_0x1116bf;(_0x567a0b=(_0x1116bf=this[_0x3f6644(0x16f)])[_0x3f6644(0x1d5)])==null||_0x567a0b[_0x3f6644(0x11c)](_0x1116bf,[],void 0x0,!0x1);}this[_0x3f6644(0x115)]();}}[_0x5d7830(0x142)](){const _0x32d1ae=_0x5d7830;super['dispose'](),this['_selectionChange$'][_0x32d1ae(0x112)]();}['_getCurrentDoc'](){const _0x3ebe4c=_0x5d7830;var _0x6c22d5,_0x50750d;return((_0x6c22d5=(_0x50750d=this[_0x3ebe4c(0x251)])[_0x3ebe4c(0x159)])==null?void 0x0:_0x6c22d5[_0x3ebe4c(0x11c)](_0x50750d,_0x513396[_0x3ebe4c(0x204)]))??null;}[_0x5d7830(0x18f)](){const _0x5b80ea=_0x5d7830;var _0x2823e3,_0x221117;if(this[_0x5b80ea(0x1ff)]>0x0)return;let _0x3ed7d0=(_0x2823e3=(_0x221117=this['_docSelectionManagerService'])['getActiveTextRange'])==null?void 0x0:_0x2823e3[_0x5b80ea(0x11c)](_0x221117);(_0x3ed7d0==null?void 0x0:_0x3ed7d0[_0x5b80ea(0x189)])!=null&&(this[_0x5b80ea(0x14d)]?this[_0x5b80ea(0x14d)]=!0x1:(this['_nativeSelectionSuppressed']=!0x1,this['_clearStructuralSelectionState']()));}['_setDirectStructuralSelection'](_0x20d755,_0x4226fd={}){const _0x504772=_0x5d7830;var _0x55a2de;let _0x53484e=this[_0x504772(0x18b)](),_0xb697d1=_0x53484e==null||(_0x55a2de=_0x53484e[_0x504772(0x11e)]()[_0x504772(0x230)])==null?void 0x0:_0x55a2de[_0x20d755[_0x504772(0x139)]],_0x430514=_0xb697d1?zr(_0xb697d1,_0x20d755):null;if(!_0xb697d1||!_0x430514)this['_clearStructuralSelectionState'](!0x0),this[_0x504772(0x115)]();else{if(this[_0x504772(0xcc)]={'kind':_0x20d755['kind'],'unitId':(_0x53484e==null?void 0x0:_0x53484e['getUnitId']())??'','segmentId':_0x20d755[_0x504772(0x1a6)]??'','tableId':_0x20d755[_0x504772(0x139)],'startRow':_0x430514[_0x504772(0x1d1)],'endRow':_0x430514[_0x504772(0x227)],'startColumn':_0x430514[_0x504772(0x241)],'endColumn':_0x430514[_0x504772(0x260)],'startOffset':_0x20d755[_0x504772(0x189)]??0x0,'endOffset':_0x20d755[_0x504772(0xeb)]??_0x20d755[_0x504772(0x189)]??0x0,'source':_0x504772(0x155)},this[_0x504772(0x222)]=Vr(_0xb697d1),this[_0x504772(0x14d)]=!!_0x4226fd[_0x504772(0x1ee)],_0x4226fd[_0x504772(0x25e)]!==!0x1){var _0x29d0bf,_0x550ac9;(_0x29d0bf=(_0x550ac9=this[_0x504772(0x16f)])[_0x504772(0x1d5)])==null||_0x29d0bf[_0x504772(0x11c)](_0x550ac9,[],void 0x0,!0x1);}this[_0x504772(0x115)]();}}[_0x5d7830(0xfb)](_0x197c79,_0x392c58){const _0x7f3ce6=_0x5d7830;var _0x176b94;let _0x2ebc2d=_0x392c58['startOffset'];if(_0x2ebc2d==null)return null;let _0x26ca5d=V(_0x197c79,_0x392c58[_0x7f3ce6(0x1a6)])??_0x197c79[_0x7f3ce6(0x11e)](),_0x70cf6e=(_0x176b94=_0x26ca5d['body'])==null||(_0x176b94=_0x176b94[_0x7f3ce6(0x217)])==null?void 0x0:_0x176b94['filter'](_0x3b88e2=>_0x2ebc2d>_0x3b88e2['startIndex']&&_0x2ebc2d<_0x3b88e2[_0x7f3ce6(0x184)])['reduce']((_0x3daffd,_0x35365a)=>_0x3daffd?_0x35365a[_0x7f3ce6(0x184)]-_0x35365a['startIndex']<_0x3daffd[_0x7f3ce6(0x184)]-_0x3daffd[_0x7f3ce6(0x1b5)]?_0x35365a:_0x3daffd:_0x35365a,void 0x0);if(!(_0x70cf6e!=null&&_0x70cf6e[_0x7f3ce6(0x139)]))return null;let _0x5ede14=w(_0x26ca5d,_0x70cf6e['tableId']),_0x406091=_0x5ede14==null?void 0x0:_0x5ede14[_0x7f3ce6(0x197)][_0x7f3ce6(0xc8)](_0xd924ae=>_0xd924ae[_0x7f3ce6(0x1dd)])[_0x7f3ce6(0x1cd)](_0x42b177=>_0x2ebc2d>=_0x42b177['startOffset']&&_0x2ebc2d<=_0x42b177[_0x7f3ce6(0xeb)]);if(!_0x5ede14||!_0x406091)return null;let _0x363d8c=qr(_0x5ede14[_0x7f3ce6(0x230)],_0x406091[_0x7f3ce6(0x188)],_0x406091[_0x7f3ce6(0x17d)]);if(!_0x363d8c)return null;let _0x56964d=Jr(_0x5ede14[_0x7f3ce6(0x230)],{'startRow':_0x406091[_0x7f3ce6(0x188)],'endRow':_0x406091[_0x7f3ce6(0x188)],'startColumn':_0x363d8c[_0x7f3ce6(0x241)],'endColumn':_0x363d8c['endColumn']});return{'kind':Hr(_0x7f3ce6(0xcb),_0x56964d,_0x5ede14['tableSource']),'unitId':_0x197c79[_0x7f3ce6(0x161)](),'segmentId':_0x392c58[_0x7f3ce6(0x1a6)]??'','tableId':_0x70cf6e['tableId'],'startRow':_0x56964d['startRow'],'endRow':_0x56964d[_0x7f3ce6(0x227)],'startColumn':_0x56964d[_0x7f3ce6(0x241)],'endColumn':_0x56964d['endColumn'],'startOffset':_0x406091['startOffset'],'endOffset':_0x406091[_0x7f3ce6(0xeb)],'source':_0x7f3ce6(0x1ad)};}['_getSelectionFromRectRanges'](_0x3edc3d,_0xa1d761){const _0x4c43dc=_0x5d7830;var _0x53ad1a;let _0x1da370=_0xa1d761[_0x4c43dc(0x1cd)](_0x5c962c=>!!_0x5c962c[_0x4c43dc(0x139)]);if(!(_0x1da370!=null&&_0x1da370[_0x4c43dc(0x139)]))return null;let _0x478e76=_0x1da370[_0x4c43dc(0x139)],_0x19d4f0=(_0x53ad1a=_0x3edc3d[_0x4c43dc(0x11e)]()['tableSource'])==null?void 0x0:_0x53ad1a[_0x478e76];if(!_0x19d4f0)return null;let _0x4e81e7=_0xa1d761[_0x4c43dc(0x22b)](_0x1f938f=>_0x1f938f[_0x4c43dc(0x139)]===_0x478e76)[_0x4c43dc(0x1a4)](_0x3ecb97=>{let _0xf793e5=Rr(_0x19d4f0,_0x3ecb97);return _0xf793e5?{..._0x3ecb97,..._0xf793e5}:null;});if(_0x4e81e7[_0x4c43dc(0x20e)](_0x58fa22=>_0x58fa22==null))return null;let _0x48a8c5=_0x4e81e7[_0x4c43dc(0x22b)](_0x2b3f51=>_0x2b3f51!=null),_0x856002=this[_0x4c43dc(0x109)](_0x48a8c5)?_0x48a8c5:[_0x48a8c5[0x0]??_0x1da370],_0x3fd529=Ue(_0x19d4f0,{'startRow':Math[_0x4c43dc(0x234)](..._0x856002[_0x4c43dc(0x1a4)](_0x594a5b=>Math[_0x4c43dc(0x234)](_0x594a5b[_0x4c43dc(0x1d1)],_0x594a5b[_0x4c43dc(0x227)]))),'endRow':Math[_0x4c43dc(0x1fc)](..._0x856002[_0x4c43dc(0x1a4)](_0x3f3be6=>Math['max'](_0x3f3be6[_0x4c43dc(0x1d1)],_0x3f3be6[_0x4c43dc(0x227)]))),'startColumn':Math[_0x4c43dc(0x234)](..._0x856002[_0x4c43dc(0x1a4)](_0x51862b=>Math[_0x4c43dc(0x234)](_0x51862b[_0x4c43dc(0x241)],_0x51862b['endColumn']))),'endColumn':Math[_0x4c43dc(0x1fc)](..._0x856002['map'](_0x405638=>Math[_0x4c43dc(0x1fc)](_0x405638['startColumn'],_0x405638['endColumn'])))}),_0x1f039d=Hr('range',_0x3fd529,_0x19d4f0),_0x2c281e=_0x856002['map'](_0x206442=>_0x206442['startOffset'])[_0x4c43dc(0x22b)](_0x3a82f6=>typeof _0x3a82f6==_0x4c43dc(0x238)),_0x51785a=_0x856002[_0x4c43dc(0x1a4)](_0x1bd919=>_0x1bd919[_0x4c43dc(0xeb)])[_0x4c43dc(0x22b)](_0x3a0fac=>typeof _0x3a0fac=='number');return{'kind':_0x1f039d,'unitId':_0x3edc3d[_0x4c43dc(0x161)](),'segmentId':_0x1da370['segmentId']??'','tableId':_0x478e76,'startRow':_0x3fd529[_0x4c43dc(0x1d1)],'endRow':_0x3fd529[_0x4c43dc(0x227)],'startColumn':_0x3fd529[_0x4c43dc(0x241)],'endColumn':_0x3fd529[_0x4c43dc(0x260)],'startOffset':_0x2c281e[_0x4c43dc(0x146)]?Math[_0x4c43dc(0x234)](..._0x2c281e):0x0,'endOffset':_0x51785a[_0x4c43dc(0x146)]?Math[_0x4c43dc(0x1fc)](..._0x51785a):_0x2c281e[0x0]??0x0,'source':'rect'};}[_0x5d7830(0x109)](_0x9a520c){const _0x28bb5c=_0x5d7830;if(_0x9a520c[_0x28bb5c(0x146)]<=0x1)return!0x0;let _0x103fb1=Math[_0x28bb5c(0x234)](..._0x9a520c[_0x28bb5c(0x1a4)](_0x412a78=>Math['min'](_0x412a78[_0x28bb5c(0x1d1)],_0x412a78[_0x28bb5c(0x227)]))),_0x4f8a5a=Math['max'](..._0x9a520c[_0x28bb5c(0x1a4)](_0x28c929=>Math[_0x28bb5c(0x1fc)](_0x28c929[_0x28bb5c(0x1d1)],_0x28c929['endRow']))),_0xa90965=Math[_0x28bb5c(0x234)](..._0x9a520c[_0x28bb5c(0x1a4)](_0x108a63=>Math[_0x28bb5c(0x234)](_0x108a63[_0x28bb5c(0x241)],_0x108a63['endColumn']))),_0x1358cd=Math['max'](..._0x9a520c['map'](_0x1cb704=>Math[_0x28bb5c(0x1fc)](_0x1cb704['startColumn'],_0x1cb704[_0x28bb5c(0x260)]))),_0x169412=new Set();return _0x9a520c[_0x28bb5c(0x1fa)](_0x1e8916=>{const _0x102325=_0x28bb5c;let _0x2a63ee=Math[_0x102325(0x234)](_0x1e8916[_0x102325(0x1d1)],_0x1e8916[_0x102325(0x227)]),_0x49e006=Math[_0x102325(0x1fc)](_0x1e8916[_0x102325(0x1d1)],_0x1e8916[_0x102325(0x227)]),_0xc2bfd5=Math['min'](_0x1e8916[_0x102325(0x241)],_0x1e8916[_0x102325(0x260)]),_0x579ffe=Math['max'](_0x1e8916[_0x102325(0x241)],_0x1e8916['endColumn']);for(let _0x2d7207=_0x2a63ee;_0x2d7207<=_0x49e006;_0x2d7207++)for(let _0x490a00=_0xc2bfd5;_0x490a00<=_0x579ffe;_0x490a00++)_0x169412[_0x102325(0x177)](_0x2d7207+':'+_0x490a00);}),_0x169412[_0x28bb5c(0x1e4)]===(_0x4f8a5a-_0x103fb1+0x1)*(_0x1358cd-_0xa90965+0x1);}[_0x5d7830(0x158)](_0x36ea4d){const _0x4a3259=_0x5d7830;var _0x5b474a;let _0x4c8fca=this['_structuralSelection'];if(!_0x4c8fca)return null;let _0x507a0b=(_0x5b474a=_0x36ea4d[_0x4a3259(0x11e)]()[_0x4a3259(0x230)])==null?void 0x0:_0x5b474a[_0x4c8fca['tableId']],_0x127e99=_0x507a0b?zr(_0x507a0b,_0x4c8fca):null;return!_0x507a0b||!_0x127e99||this[_0x4a3259(0x222)]!==Vr(_0x507a0b)?(this[_0x4a3259(0x22f)](!0x0),null):(this[_0x4a3259(0xcc)]={..._0x4c8fca,'kind':Hr(_0x4c8fca[_0x4a3259(0x133)],_0x127e99,_0x507a0b),..._0x127e99},this[_0x4a3259(0xcc)]);}[_0x5d7830(0x22f)](_0x4f408d=!0x1){const _0x1f2a98=_0x5d7830;this[_0x1f2a98(0xcc)]=null,this[_0x1f2a98(0x222)]=null,_0x4f408d&&(this[_0x1f2a98(0x117)]=!0x1),this[_0x1f2a98(0x14d)]=!0x1;}};J=Pr([q(0x0,_0x14f335),q(0x1,_0x3c2cf2(_0x4507af))],J);function Fr(_0x45c431){const _0x488a62=_0x5d7830;return!!(_0x45c431!=null&&_0x45c431[_0x488a62(0x139)])&&_0x45c431['startRow']>=0x0&&_0x45c431[_0x488a62(0x241)]>=0x0;}function Ir(_0x2682b2){const _0x2add31=_0x5d7830;return{'startRow':Math['min'](_0x2682b2[_0x2add31(0x1d1)],_0x2682b2[_0x2add31(0x227)]),'endRow':Math[_0x2add31(0x1fc)](_0x2682b2[_0x2add31(0x1d1)],_0x2682b2[_0x2add31(0x227)]),'startColumn':Math[_0x2add31(0x234)](_0x2682b2['startColumn'],_0x2682b2[_0x2add31(0x260)]),'endColumn':Math['max'](_0x2682b2['startColumn'],_0x2682b2[_0x2add31(0x260)])};}function Lr(_0xeb7815,_0x123c24){let _0x405e0f=Br(_0xeb7815,_0x123c24);return _0x405e0f?Jr(_0xeb7815,_0x405e0f):null;}function Rr(_0x206966,_0x1daa63){const _0x253706=_0x5d7830;if(!Gr(_0x206966))return Lr(_0x206966,_0x1daa63);let _0x1a6413=Ir(_0x1daa63),_0x1e7953=qr(_0x206966,_0x1a6413[_0x253706(0x1d1)],_0x1a6413[_0x253706(0x241)]),_0x3ce5bf=qr(_0x206966,_0x1a6413[_0x253706(0x227)],_0x1a6413[_0x253706(0x260)]);return!_0x1e7953||!_0x3ce5bf?null:Jr(_0x206966,{'startRow':_0x1a6413[_0x253706(0x1d1)],'endRow':_0x1a6413[_0x253706(0x227)],'startColumn':_0x1e7953[_0x253706(0x241)],'endColumn':_0x3ce5bf['endColumn']});}function zr(_0x33f225,_0x5ae1d5){const _0x36b0c7=_0x5d7830;let _0x571ce6=Br(_0x33f225,_0x5ae1d5);return _0x571ce6?_0x5ae1d5[_0x36b0c7(0x133)]===_0x36b0c7(0x188)||_0x5ae1d5[_0x36b0c7(0x133)]===_0x36b0c7(0x17d)?_0x571ce6:Jr(_0x33f225,_0x571ce6):null;}function Br(_0x448dcb,_0x111834){const _0x4edf75=_0x5d7830;let _0x45e9c1=Ir(_0x111834),_0x3253e4=_0x448dcb['tableRows'][_0x4edf75(0x146)],_0x377120=_0x448dcb['tableColumns'][_0x4edf75(0x146)];return _0x3253e4===0x0||_0x377120===0x0||_0x45e9c1[_0x4edf75(0x1d1)]<0x0||_0x45e9c1[_0x4edf75(0x227)]>=_0x3253e4||_0x45e9c1['startColumn']<0x0||_0x45e9c1['endColumn']>=_0x377120?null:_0x45e9c1;}function Vr(_0x4032b7){const _0x212f02=_0x5d7830;return _0x4032b7[_0x212f02(0xf6)][_0x212f02(0x146)]+':'+_0x4032b7['tableColumns']['length']+':'+_0x4032b7['tableRows'][_0x212f02(0x1a4)](_0xc2a982=>_0xc2a982[_0x212f02(0xe1)][_0x212f02(0x1a4)](_0x5b94ab=>(_0x5b94ab[_0x212f02(0x105)]??0x1)+'x'+(_0x5b94ab[_0x212f02(0x1f2)]??0x1))[_0x212f02(0x19c)](','))[_0x212f02(0x19c)](';');}function Hr(_0x3c9952,_0x17e384,_0x463eee){const _0x19a3dd=_0x5d7830;let _0x19c0e4=_0x17e384[_0x19a3dd(0x1d1)]===_0x17e384[_0x19a3dd(0x227)]&&_0x17e384[_0x19a3dd(0x241)]===_0x17e384['endColumn'];if(_0x3c9952===_0x19a3dd(0xcb)&&(_0x19c0e4||Wr(_0x463eee,_0x17e384)))return _0x19a3dd(0xcb);let {spansEntireRow:_0x4b6acf,spansEntireColumn:_0x4c6d69}=Ur(_0x17e384,_0x463eee);return _0x3c9952===_0x19a3dd(0x188)&&_0x4b6acf?_0x19a3dd(0x188):_0x3c9952===_0x19a3dd(0x17d)&&_0x4c6d69?'column':_0x4b6acf&&_0x4c6d69?_0x19a3dd(0x1af):_0x19c0e4?'cell':_0x19a3dd(0x1ca);}function Ur(_0x3ad745,_0x1bf4e6){const _0x4027a5=_0x5d7830;let _0x292479=(_0x1bf4e6==null?void 0x0:_0x1bf4e6['tableRows'][_0x4027a5(0x146)])??0x0,_0x155bd1=(_0x1bf4e6==null?void 0x0:_0x1bf4e6[_0x4027a5(0x110)][_0x4027a5(0x146)])??0x0;return{'spansEntireRow':_0x155bd1>0x0&&_0x3ad745[_0x4027a5(0x241)]===0x0&&_0x3ad745[_0x4027a5(0x260)]===_0x155bd1-0x1,'spansEntireColumn':_0x292479>0x0&&_0x3ad745[_0x4027a5(0x1d1)]===0x0&&_0x3ad745[_0x4027a5(0x227)]===_0x292479-0x1};}function Wr(_0x1d2f3c,_0x590c10){const _0x20319f=_0x5d7830;return(_0x1d2f3c==null?void 0x0:_0x1d2f3c[_0x20319f(0xf6)][_0x20319f(0x20e)]((_0x341437,_0x6c3dc1)=>_0x341437['tableCells']['some']((_0x3eb452,_0x1353af)=>{const _0x2c79f2=_0x20319f;let _0x42c654=_0x3eb452[_0x2c79f2(0x105)]??0x1,_0x3467b7=_0x3eb452['columnSpan']??0x1;if(_0x42c654<=0x0||_0x3467b7<=0x0||_0x42c654===0x1&&_0x3467b7===0x1)return!0x1;let _0xdc6aa1=qr(_0x1d2f3c,_0x6c3dc1,_0x1353af);return _0xdc6aa1?_0x590c10[_0x2c79f2(0x1d1)]===_0x6c3dc1&&_0x590c10[_0x2c79f2(0x227)]===_0x6c3dc1+_0x42c654-0x1&&_0x590c10[_0x2c79f2(0x241)]===_0xdc6aa1[_0x2c79f2(0x241)]&&_0x590c10[_0x2c79f2(0x260)]===_0xdc6aa1['endColumn']:!0x1;})))??!0x1;}function Gr(_0x49bb36){const _0x5142f0=_0x5d7830;return _0x49bb36['tableRows'][_0x5142f0(0x20e)](_0x33deec=>_0x33deec[_0x5142f0(0xe1)]['length']!==_0x49bb36[_0x5142f0(0x110)]['length']);}function Kr(_0x1c4dda,_0xcdc96a){const _0x1d5d92=_0x5d7830;let _0x5f45cb=_0x1c4dda['tableRows'][_0xcdc96a];if(!_0x5f45cb)return[];let _0x3f995d=_0x5f45cb[_0x1d5d92(0x104)]??0x0;return _0x5f45cb[_0x1d5d92(0xe1)][_0x1d5d92(0x1a4)]((_0x118b58,_0x4e4e47)=>{const _0x31ba6f=_0x1d5d92;let _0x53b4ea=Math[_0x31ba6f(0x1fc)](0x1,_0x118b58['columnSpan']??0x1),_0x3fc215={'physicalColumn':_0x4e4e47,'startColumn':_0x3f995d,'endColumn':_0x3f995d+_0x53b4ea-0x1};return _0x3f995d+=_0x53b4ea,_0x3fc215;});}function qr(_0xcf5c1,_0x19033e,_0x329271){return Kr(_0xcf5c1,_0x19033e)[_0x329271]??null;}function Jr(_0x4f2146,_0x507d9e){const _0xc47d7e=_0x5d7830;if(!Gr(_0x4f2146))return Ue(_0x4f2146,_0x507d9e);let _0x531bbe=Ir(_0x507d9e),_0x9847c9=!0x0;for(;_0x9847c9;)_0x9847c9=!0x1,_0x4f2146[_0xc47d7e(0xf6)][_0xc47d7e(0x1fa)]((_0x42f5b4,_0x8fb7f8)=>_0x42f5b4['tableCells'][_0xc47d7e(0x1fa)]((_0x2636f5,_0x242ccf)=>{const _0x37d63d=_0xc47d7e;let _0x193a19=qr(_0x4f2146,_0x8fb7f8,_0x242ccf);if(!_0x193a19)return;let _0x52298b={'startRow':_0x8fb7f8,'endRow':_0x8fb7f8+Math['max'](0x1,_0x2636f5[_0x37d63d(0x105)]??0x1)-0x1,'startColumn':_0x193a19[_0x37d63d(0x241)],'endColumn':_0x193a19[_0x37d63d(0x260)]};if(!(_0x531bbe[_0x37d63d(0x1d1)]<=_0x52298b[_0x37d63d(0x227)]&&_0x531bbe[_0x37d63d(0x227)]>=_0x52298b[_0x37d63d(0x1d1)]&&_0x531bbe[_0x37d63d(0x241)]<=_0x52298b['endColumn']&&_0x531bbe[_0x37d63d(0x260)]>=_0x52298b[_0x37d63d(0x241)]))return;let _0x467299={'startRow':Math['min'](_0x531bbe[_0x37d63d(0x1d1)],_0x52298b[_0x37d63d(0x1d1)]),'endRow':Math[_0x37d63d(0x1fc)](_0x531bbe['endRow'],_0x52298b[_0x37d63d(0x227)]),'startColumn':Math[_0x37d63d(0x234)](_0x531bbe[_0x37d63d(0x241)],_0x52298b['startColumn']),'endColumn':Math[_0x37d63d(0x1fc)](_0x531bbe['endColumn'],_0x52298b['endColumn'])};(_0x467299[_0x37d63d(0x1d1)]!==_0x531bbe[_0x37d63d(0x1d1)]||_0x467299[_0x37d63d(0x227)]!==_0x531bbe[_0x37d63d(0x227)]||_0x467299[_0x37d63d(0x241)]!==_0x531bbe[_0x37d63d(0x241)]||_0x467299[_0x37d63d(0x260)]!==_0x531bbe[_0x37d63d(0x260)])&&(_0x531bbe=_0x467299,_0x9847c9=!0x0);}));return _0x531bbe;}const Yr={'id':_0x5d7830(0x214),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x509a22,_0x520c30)=>{const _0x12b43e=_0x5d7830;if(!_0x520c30)return!0x1;let _0x4f6873=_0x509a22[_0x12b43e(0x194)](_0x14f335),_0x4e03f2=_0x509a22[_0x12b43e(0x194)](_0x49b00b),_0x279c38=_0x509a22[_0x12b43e(0x194)](J),_0x54b44b=_0x4f6873[_0x12b43e(0x1ed)](_0x520c30['unitId'],_0x513396[_0x12b43e(0x204)]);if(!_0x54b44b)return!0x1;let _0x42ee81=_0x279c38[_0x12b43e(0x193)](),_0x528e51=(_0x42ee81==null?void 0x0:_0x42ee81['unitId'])===_0x54b44b['getUnitId']()?_0x42ee81:null,{endColumn:_0x589c4b,startColumn:_0x3930e9,tableId:_0x8bb7c3}=_0x520c30,_0x14c855=_0x54b44b[_0x12b43e(0x11e)](),_0xdabf9f=_0x520c30[_0x12b43e(0x1a6)]??'',_0x213110=V(_0x54b44b,_0xdabf9f);if(!_0x213110)return!0x1;let _0x2531cb=er(_0x213110,_0x8bb7c3,_0x3930e9,_0x589c4b,K(_0x14c855,_0xdabf9f));if(!_0x2531cb)return!0x1;let _0x55ac96=G(_0x4e03f2,_0x54b44b['getUnitId'](),_0x213110,_0x2531cb[_0x12b43e(0x13c)],void 0x0,void 0x0,Yr['id']);if(_0x55ac96&&_0x528e51){let _0x2d5ded=Te(_0x528e51,_0x213110,_0x2531cb['deleteTable']?{'kind':_0x12b43e(0x141),'tableId':_0x8bb7c3}:{'kind':_0x12b43e(0x103),'tableId':_0x8bb7c3,'index':Math[_0x12b43e(0x234)](_0x3930e9,_0x589c4b),'count':Math['abs'](_0x589c4b-_0x3930e9)+0x1});_0x2d5ded?_0x279c38[_0x12b43e(0x245)](_0x2d5ded):_0x279c38[_0x12b43e(0x149)]();}return _0x55ac96;}},Xr={'id':_0x5d7830(0x256),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x358a43,_0x3d1c24)=>{const _0x57110d=_0x5d7830;if(!_0x3d1c24)return!0x1;let _0x588a77=_0x358a43[_0x57110d(0x194)](_0x14f335),_0x1708fc=_0x358a43[_0x57110d(0x194)](_0x49b00b),_0x5b830c=_0x358a43[_0x57110d(0x194)](J),_0x23d4d8=_0x588a77[_0x57110d(0x1ed)](_0x3d1c24['unitId'],_0x513396[_0x57110d(0x204)]);if(!_0x23d4d8)return!0x1;let _0x4236b7=_0x5b830c[_0x57110d(0x193)](),_0x13595f=(_0x4236b7==null?void 0x0:_0x4236b7[_0x57110d(0x10e)])===_0x23d4d8[_0x57110d(0x161)]()?_0x4236b7:null,{endRow:_0x18988b,startRow:_0x386911,tableId:_0x2a9e8c}=_0x3d1c24,_0x481142=_0x23d4d8[_0x57110d(0x11e)](),_0x25ae4=_0x3d1c24[_0x57110d(0x1a6)]??'',_0xc4267f=V(_0x23d4d8,_0x25ae4);if(!_0xc4267f)return!0x1;let _0x1439fc=_r(_0xc4267f,_0x2a9e8c,_0x386911,_0x18988b,K(_0x481142,_0x25ae4));if(!_0x1439fc)return!0x1;let _0x19bea0=G(_0x1708fc,_0x23d4d8[_0x57110d(0x161)](),_0xc4267f,_0x1439fc[_0x57110d(0x13c)],void 0x0,void 0x0,Xr['id']);if(_0x19bea0&&_0x13595f){let _0x2b22b8=Te(_0x13595f,_0xc4267f,_0x1439fc['deleteTable']?{'kind':_0x57110d(0x141),'tableId':_0x2a9e8c}:{'kind':_0x57110d(0x196),'tableId':_0x2a9e8c,'index':Math[_0x57110d(0x234)](_0x386911,_0x18988b),'count':Math[_0x57110d(0x1c5)](_0x18988b-_0x386911)+0x1});_0x2b22b8?_0x5b830c[_0x57110d(0x245)](_0x2b22b8):_0x5b830c['clearStructuralSelection']();}return _0x19bea0;}},Zr={'id':_0x5d7830(0x13e),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x5ea15b,_0x4ef2a8)=>{const _0x382c86=_0x5d7830;if(!_0x4ef2a8)return!0x1;let _0x5b9926=_0x5ea15b['get'](_0x14f335),_0x2e472f=_0x5ea15b[_0x382c86(0x194)](_0x49b00b),_0x5e36be=_0x5ea15b['get'](J),_0x26ad66=_0x5b9926['getUnit'](_0x4ef2a8['unitId'],_0x513396[_0x382c86(0x204)]),_0xe6717b=_0x5e36be['getCurrentSelection'](),_0x2e56d0=(_0xe6717b==null?void 0x0:_0xe6717b[_0x382c86(0x10e)])===(_0x26ad66==null?void 0x0:_0x26ad66['getUnitId']())?_0xe6717b:null;if(!_0x26ad66)return!0x1;let {tableId:_0xecbbff}=_0x4ef2a8,_0x19b725=_0x26ad66['getSnapshot'](),_0x2303b3=_0x4ef2a8['segmentId']??'',_0x2a34ed=V(_0x26ad66,_0x2303b3);if(!_0x2a34ed)return!0x1;let _0x5be745=vr(_0x2a34ed,_0xecbbff,K(_0x19b725,_0x2303b3));if(!_0x5be745)return!0x1;let _0x3e6f78=G(_0x2e472f,_0x26ad66[_0x382c86(0x161)](),_0x2a34ed,_0x5be745[_0x382c86(0x13c)],void 0x0,void 0x0,Zr['id']);if(_0x3e6f78&&_0x2e56d0){let _0x185d6e=Te(_0x2e56d0,_0x2a34ed,{'kind':_0x382c86(0x141),'tableId':_0xecbbff});_0x185d6e?_0x5e36be['setStructuralSelection'](_0x185d6e):_0x5e36be[_0x382c86(0x149)]();}return _0x3e6f78;}},Qr={'id':_0x5d7830(0x107),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x3cab30,_0x24ba6f)=>{const _0x536d78=_0x5d7830;let _0x7901e=_0x3cab30[_0x536d78(0x194)](_0x14f335),_0x253788=_0x3cab30[_0x536d78(0x194)](_0x49b00b),_0x4a4511=_0x3cab30['get'](J),_0x1cded3=_0x7901e[_0x536d78(0x159)](_0x513396[_0x536d78(0x204)]),_0x36e24a=_0x4a4511[_0x536d78(0x193)](),_0x207d80=(_0x24ba6f==null?void 0x0:_0x24ba6f[_0x536d78(0x139)])??(_0x36e24a==null?void 0x0:_0x36e24a[_0x536d78(0x139)]),_0x55870b=(_0x24ba6f==null?void 0x0:_0x24ba6f[_0x536d78(0x241)])??(_0x36e24a==null?void 0x0:_0x36e24a[_0x536d78(0x241)]),_0x8da5ee=(_0x24ba6f==null?void 0x0:_0x24ba6f['endColumn'])??(_0x36e24a==null?void 0x0:_0x36e24a['endColumn']);if(!_0x1cded3||!_0x207d80||_0x55870b==null||_0x8da5ee==null)return!0x1;let _0x58ac8f=V(_0x1cded3,z(_0x24ba6f,_0x36e24a));if(!_0x58ac8f)return!0x1;let _0x22e760=Wn(_0x58ac8f,_0x207d80,_0x55870b,_0x8da5ee);return G(_0x253788,_0x1cded3['getUnitId'](),_0x58ac8f,_0x22e760);}},$r={'id':_0x5d7830(0x216),'type':_0x1c53ef['COMMAND'],'handler':async(_0x27dd80,_0x26fe95)=>{const _0xc50231=_0x5d7830;let _0x4bb881=_0x27dd80[_0xc50231(0x194)](_0x14f335),_0x5a217a=_0x27dd80['get'](_0x49b00b),_0x25ae72=_0x27dd80['get'](J),_0x5b8af3=_0x4bb881[_0xc50231(0x159)](_0x513396[_0xc50231(0x204)]),_0x256423=_0x25ae72[_0xc50231(0x193)](),_0x2b6758=(_0x26fe95==null?void 0x0:_0x26fe95['tableId'])??(_0x256423==null?void 0x0:_0x256423[_0xc50231(0x139)]),_0x51a3a6=(_0x26fe95==null?void 0x0:_0x26fe95['startRow'])??(_0x256423==null?void 0x0:_0x256423[_0xc50231(0x1d1)]),_0xc12046=(_0x26fe95==null?void 0x0:_0x26fe95['endRow'])??(_0x256423==null?void 0x0:_0x256423[_0xc50231(0x227)]);if(!_0x5b8af3||!_0x2b6758||_0x51a3a6==null||_0xc12046==null)return!0x1;let _0x267461=V(_0x5b8af3,z(_0x26fe95,_0x256423));if(!_0x267461)return!0x1;let _0x1d7ff0=Un(_0x267461,_0x2b6758,_0x51a3a6,_0xc12046);return G(_0x5a217a,_0x5b8af3[_0xc50231(0x161)](),_0x267461,_0x1d7ff0);}},ei={'id':'docs-table.command.insert-columns','type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x3b0b29,_0x5702b6)=>{const _0x5ecbfa=_0x5d7830;var _0x6fcd1d;if(!_0x5702b6)return!0x1;let _0x237d5f=_0x3b0b29[_0x5ecbfa(0x194)](_0x14f335),_0xbf8adb=_0x3b0b29[_0x5ecbfa(0x194)](_0x49b00b),_0x5a1fd6=_0x3b0b29[_0x5ecbfa(0x194)](J),_0x3bed7e=_0x237d5f['getCurrentUnitOfType'](_0x513396[_0x5ecbfa(0x204)]),_0x1d4792=_0x5a1fd6[_0x5ecbfa(0x193)](),_0x2e90b9=_0x5702b6[_0x5ecbfa(0x139)]??(_0x1d4792==null?void 0x0:_0x1d4792[_0x5ecbfa(0x139)]),_0x556c52=_0x5702b6[_0x5ecbfa(0x17d)]??(_0x5702b6[_0x5ecbfa(0xe2)]===_0x5ecbfa(0x240)?_0x1d4792==null?void 0x0:_0x1d4792[_0x5ecbfa(0x241)]:_0x1d4792==null?void 0x0:_0x1d4792[_0x5ecbfa(0x260)]);if(!_0x3bed7e||_0x2e90b9==null||_0x556c52==null)return!0x1;let _0x33c637=_0x3bed7e[_0x5ecbfa(0x11e)](),_0xe059f4=z(_0x5702b6,_0x1d4792),_0x74fac3=V(_0x3bed7e,_0xe059f4);if(!_0x74fac3)return!0x1;let _0x33340e=_0x5702b6['count']??(_0x1d4792?Math[_0x5ecbfa(0x1fc)](0x1,_0x1d4792['endColumn']-_0x1d4792[_0x5ecbfa(0x241)]+0x1):0x1),_0x5d90c4=((_0x6fcd1d=_0x33c637['documentStyle'])==null?void 0x0:_0x6fcd1d[_0x5ecbfa(0x1a8)])===_0x5a57f0[_0x5ecbfa(0x102)],_0x1744f1=Kn(_0x74fac3,_0x2e90b9,_0x556c52,_0x33340e,_0x5702b6[_0x5ecbfa(0xe2)],{'bodyPath':K(_0x33c637,_0xe059f4),'insertedColumnWidth':_0x5d90c4?ti(_0x33c637,_0x2e90b9,_0x556c52,_0x5702b6[_0x5ecbfa(0xe2)]):void 0x0,'preserveTotalWidth':!_0x5d90c4});if(!_0x1744f1)return!0x1;let _0x4dd856=G(_0xbf8adb,_0x3bed7e[_0x5ecbfa(0x161)](),_0x74fac3,_0x1744f1['actions']);if(_0x4dd856&&_0x1d4792){let _0xfa9ea3=Te(_0x1d4792,_0x74fac3,{'kind':_0x5ecbfa(0x1e9),'tableId':_0x2e90b9,'index':_0x1744f1[_0x5ecbfa(0xdd)],'count':_0x33340e});_0xfa9ea3&&_0x5a1fd6[_0x5ecbfa(0x245)](_0xfa9ea3);}return _0x4dd856;}};function ti(_0x43959d,_0x1ddc01,_0x2a3ce8,_0x4e978b){const _0x212e5d=_0x5d7830;var _0x77587a,_0x167850;let _0x2c3233=(_0x167850=(((_0x77587a=_0x43959d[_0x212e5d(0x230)])==null||(_0x77587a=_0x77587a[_0x1ddc01])==null?void 0x0:_0x77587a[_0x212e5d(0x110)])??[])[(_0x4e978b===_0x212e5d(0x240)?_0x2a3ce8:_0x2a3ce8+0x1)-0x1])==null||(_0x167850=_0x167850['size'])==null||(_0x167850=_0x167850[_0x212e5d(0x101)])==null?void 0x0:_0x167850['v'];return _0x2c3233&&_0x2c3233>0x0?_0x2c3233:0x64;}const ni={'id':_0x5d7830(0x152),'type':_0x1c53ef['COMMAND'],'handler':async(_0x36f801,_0x1b184c)=>{const _0xc10464=_0x5d7830;if(!_0x1b184c)return!0x1;let _0x1a0770=_0x36f801[_0xc10464(0x194)](_0x14f335),_0x5f297b=_0x36f801[_0xc10464(0x194)](_0x49b00b),_0x3ba5d9=_0x36f801[_0xc10464(0x194)](J),_0x3cd7d5=_0x1a0770[_0xc10464(0x159)](_0x513396[_0xc10464(0x204)]),_0x46aac7=_0x3ba5d9[_0xc10464(0x193)](),_0x1ed7be=_0x1b184c[_0xc10464(0x139)]??(_0x46aac7==null?void 0x0:_0x46aac7[_0xc10464(0x139)]),_0x476298=_0x1b184c[_0xc10464(0x188)]??(_0x1b184c[_0xc10464(0xe2)]===_0xc10464(0xf7)?_0x46aac7==null?void 0x0:_0x46aac7[_0xc10464(0x1d1)]:_0x46aac7==null?void 0x0:_0x46aac7[_0xc10464(0x227)]);if(!_0x3cd7d5||_0x1ed7be==null||_0x476298==null)return!0x1;let _0x43bc2b=_0x3cd7d5[_0xc10464(0x11e)](),_0x215441=z(_0x1b184c,_0x46aac7),_0x3896eb=V(_0x3cd7d5,_0x215441);if(!_0x3896eb)return!0x1;let _0x13e00e=_0x1b184c[_0xc10464(0x261)]??(_0x46aac7?Math[_0xc10464(0x1fc)](0x1,_0x46aac7[_0xc10464(0x227)]-_0x46aac7[_0xc10464(0x1d1)]+0x1):0x1),_0x30f2d0=mr(_0x3896eb,_0x1ed7be,_0x476298,_0x13e00e,_0x1b184c[_0xc10464(0xe2)],K(_0x43bc2b,_0x215441));if(!_0x30f2d0)return!0x1;let _0x4d3b4a=G(_0x5f297b,_0x3cd7d5[_0xc10464(0x161)](),_0x3896eb,_0x30f2d0[_0xc10464(0x13c)]);if(_0x4d3b4a&&_0x46aac7){let _0x4d0680=Te(_0x46aac7,_0x3896eb,{'kind':_0xc10464(0x1d3),'tableId':_0x1ed7be,'index':_0x30f2d0['cursorRow'],'count':_0x13e00e});_0x4d0680&&_0x3ba5d9[_0xc10464(0x245)](_0x4d0680);}return _0x4d3b4a;}},ri={'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}};function ii(_0x48c4fb){const _0x22d79e=_0x5d7830;var _0x4c71b6;let _0x5c4a24=(_0x4c71b6=_0x48c4fb['documentData'][_0x22d79e(0x230)])==null?void 0x0:_0x4c71b6[_0x48c4fb[_0x22d79e(0x139)]];if(!_0x5c4a24)return null;let _0x2385b5=ci(_0x48c4fb),_0x35998a=[],_0x117a6c=_0x50737a[_0x22d79e(0x1e5)]();for(let _0x2de6a1=_0x2385b5['startRow'];_0x2de6a1<=_0x2385b5[_0x22d79e(0x227)];_0x2de6a1++)for(let _0x326225=_0x2385b5['startColumn'];_0x326225<=_0x2385b5['endColumn'];_0x326225++){var _0x3fbe80;let _0x3d5a7c=(_0x3fbe80=_0x5c4a24['tableRows'][_0x2de6a1])==null?void 0x0:_0x3fbe80['tableCells'][_0x326225];if(!_0x3d5a7c)return null;oi(_0x35998a,[_0x22d79e(0x230),_0x48c4fb[_0x22d79e(0x139)],_0x22d79e(0xf6),_0x2de6a1,'tableCells',_0x326225,_0x22d79e(0x206)],_0x3d5a7c[_0x22d79e(0x206)],_0x48c4fb[_0x22d79e(0x206)]??void 0x0,_0x117a6c);}return si(_0x35998a);}function ai(_0x23a5a8,_0x4f429c,_0x32e341){const _0x4db904=_0x5d7830;var _0x431f2f;let _0xc4dfb2=(_0x431f2f=_0x23a5a8[_0x4db904(0x230)])==null?void 0x0:_0x431f2f[_0x4f429c];if(!_0xc4dfb2)return null;let _0x270972=[];return oi(_0x270972,[_0x4db904(0x230),_0x4f429c,_0x4db904(0x1b9)],_0xc4dfb2[_0x4db904(0x1b9)],_0x32e341??void 0x0,_0x50737a[_0x4db904(0x1e5)]()),si(_0x270972);}function oi(_0x5a6d22,_0x21f0cb,_0x16c406,_0x5653f4,_0x229836){const _0x2795fd=_0x5d7830;JSON['stringify'](_0x16c406)!==JSON[_0x2795fd(0x1a1)](_0x5653f4)&&(_0x16c406===void 0x0?_0x5a6d22[_0x2795fd(0x1c9)](_0x229836[_0x2795fd(0x11b)](_0x21f0cb,_0x1ce513[_0x2795fd(0x178)](_0x5653f4))):_0x5653f4===void 0x0?_0x5a6d22[_0x2795fd(0x1c9)](_0x229836[_0x2795fd(0x137)](_0x21f0cb,_0x16c406)):_0x5a6d22[_0x2795fd(0x1c9)](_0x229836[_0x2795fd(0x228)](_0x21f0cb,_0x16c406,_0x1ce513[_0x2795fd(0x178)](_0x5653f4))));}function si(_0x17771d){const _0x429636=_0x5d7830;return _0x17771d[_0x429636(0x10f)]((_0x109a88,_0x54c9f0)=>_0x50737a['compose'](_0x109a88,_0x54c9f0),null);}function ci(_0x2741f2){const _0x1c16b6=_0x5d7830;return{'startRow':Math[_0x1c16b6(0x234)](_0x2741f2[_0x1c16b6(0x1d1)],_0x2741f2[_0x1c16b6(0x227)]),'endRow':Math[_0x1c16b6(0x1fc)](_0x2741f2[_0x1c16b6(0x1d1)],_0x2741f2[_0x1c16b6(0x227)]),'startColumn':Math[_0x1c16b6(0x234)](_0x2741f2['startColumn'],_0x2741f2[_0x1c16b6(0x260)]),'endColumn':Math['max'](_0x2741f2[_0x1c16b6(0x241)],_0x2741f2[_0x1c16b6(0x260)])};}let li=function(_0x3762a1){const _0x1d1d66=_0x5d7830;return _0x3762a1[_0x1d1d66(0x211)]='selection',_0x3762a1[_0x1d1d66(0x1b8)]=_0x1d1d66(0x170),_0x3762a1[_0x1d1d66(0x15b)]='offset',_0x3762a1;}({});var ui=class extends Error{constructor(){const _0x34c61b=_0x5d7830;super(_0x34c61b(0x114));}};function di(_0x2cc83f,_0x3bf610=[_0x5d7830(0x15c)]){const _0x3f656f=_0x5d7830;var _0x49aa61,_0x5a5f45;let _0x269d4f=_0x2cc83f[_0x3f656f(0xd2)]['body']??mi(),_0x2a8e7a=gi(_0x2cc83f),_0x1fde7c=_0x2a8e7a[_0x3f656f(0x146)],_0x415ee6=((_0x49aa61=_0x2a8e7a[0x0])==null?void 0x0:_0x49aa61[_0x3f656f(0x146)])??0x1,_0x4a774a=_i(_0x269d4f,_0x2cc83f);vi(_0x269d4f,_0x4a774a);let _0x12231c=fi(_0x269d4f,_0x2cc83f,_0x2a8e7a,_0x4a774a),_0x462725=_0x2cc83f['documentData'][_0x3f656f(0x15c)]?pi(_0x12231c,_0x4a774a,_0x3bf610):_0x50737a[_0x3f656f(0x1e5)]()[_0x3f656f(0x11b)](_0x3bf610,hi(_0x12231c)),_0x558854=Ai(_0x2cc83f,_0x1fde7c,_0x415ee6),_0x486320=_0x50737a[_0x3f656f(0x1e5)]()['insertOp'](['tableSource',_0x2cc83f[_0x3f656f(0x139)]],_0x558854),_0x2b5460=N(_0x2cc83f[_0x3f656f(0x191)]),_0x2c4a4a=Fi(_0x2cc83f);return _0x2c4a4a&&(_0x2b5460[_0x3f656f(0x217)][_0x2cc83f[_0x3f656f(0x139)]]=_0x2c4a4a),{'actions':_0x50737a[_0x3f656f(0x118)](_0x462725,_0x486320),'cursorOffset':_0x4a774a+(((_0x5a5f45=_0x12231c[_0x3f656f(0x217)])==null||(_0x5a5f45=_0x5a5f45[_0x3f656f(0x1cd)](_0x955844=>_0x955844[_0x3f656f(0x139)]===_0x2cc83f['tableId']))==null?void 0x0:_0x5a5f45[_0x3f656f(0x1b5)])??0x0)+0x3,'nextMetadata':_0x2b5460,'tableId':_0x2cc83f[_0x3f656f(0x139)]};}function fi(_0x3bbcd8,_0x640703,_0x55c725,_0x4a8f1d){const _0x3dcf9c=_0x5d7830;let _0x417e6d=Oi(_0x3bbcd8),_0x558282=Di(_0x55c725,_0x417e6d,ki(_0x3bbcd8)),_0x3dc1dc=Si(_0x3bbcd8,_0x4a8f1d)?_0x23da6c[_0x3dcf9c(0xdb)]:'',_0x4dc6df=_0x3dc1dc?wi(_0x3bbcd8,_0x4a8f1d):void 0x0,_0x25f47b=Ci(_0x3bbcd8,_0x4a8f1d)?_0x23da6c[_0x3dcf9c(0xdb)]:'',_0x41e1a0=_0x3dc1dc[_0x3dcf9c(0x146)],_0x4f9382=_0x41e1a0+_0x558282[_0x3dcf9c(0xf0)][_0x3dcf9c(0x146)];return{'dataStream':[_0x3dc1dc,_0x558282[_0x3dcf9c(0xf0)],_0x25f47b]['join'](''),'paragraphs':[...Ti(0x0,_0x3dc1dc,_0x417e6d,_0x4dc6df),..._0x558282[_0x3dcf9c(0x23d)]['map'](_0x167dee=>({..._0x167dee,'startIndex':_0x167dee[_0x3dcf9c(0x1b5)]+_0x41e1a0})),...Ei(_0x4f9382,_0x25f47b,_0x417e6d)],'sectionBreaks':_0x558282[_0x3dcf9c(0x244)][_0x3dcf9c(0x1a4)](_0xcc13e7=>({..._0xcc13e7,'startIndex':_0xcc13e7[_0x3dcf9c(0x1b5)]+_0x41e1a0})),'tables':[{'startIndex':_0x41e1a0,'endIndex':_0x4f9382,'tableId':_0x640703['tableId']}]};}function pi(_0x53d12e,_0x17a454,_0x2fcd03){const _0x1c0fb6=_0x5d7830;let _0x1a0dc2=new _0x56ae42();return _0x17a454>0x0&&_0x1a0dc2[_0x1c0fb6(0x23f)](_0x17a454),_0x1a0dc2[_0x1c0fb6(0x262)](_0x53d12e[_0x1c0fb6(0xf0)][_0x1c0fb6(0x146)],_0x53d12e),_0x50737a[_0x1c0fb6(0x1e5)]()[_0x1c0fb6(0x24a)](_0x1a0dc2[_0x1c0fb6(0x212)](),_0x2fcd03);}function mi(){const _0x508b2d=_0x5d7830;return{'dataStream':_0x23da6c[_0x508b2d(0xee)],'paragraphs':[],'sectionBreaks':[{'sectionId':_0x5bd5bc(new Set()),'startIndex':0x0}],'tables':[]};}function hi(_0x33d147){const _0x290cec=_0x5d7830;var _0x182012;let _0xe827c6=_0x33d147['dataStream'][_0x290cec(0x146)];return{..._0x33d147,'dataStream':_0x33d147['dataStream']+_0x23da6c[_0x290cec(0xee)],'sectionBreaks':[..._0x33d147['sectionBreaks']??[],{'sectionId':_0x5bd5bc(new Set((_0x182012=_0x33d147[_0x290cec(0x244)])==null?void 0x0:_0x182012[_0x290cec(0x1a4)](_0x318165=>_0x318165[_0x290cec(0xcd)]))),'startIndex':_0xe827c6}]};}function gi(_0x493560){const _0xa34269=_0x5d7830;var _0x44888f;let _0x3e2a6d=Math[_0xa34269(0x1fc)](0x1,_0x493560['rows']??((_0x44888f=_0x493560['values'])==null?void 0x0:_0x44888f[_0xa34269(0x146)])??0x1),_0x1cd0a8=0x0;for(let _0x1d872f of _0x493560[_0xa34269(0x1b3)]??[])_0x1cd0a8=Math[_0xa34269(0x1fc)](_0x1cd0a8,_0x1d872f[_0xa34269(0x146)]);let _0x192466=Math[_0xa34269(0x1fc)](0x1,_0x493560[_0xa34269(0x21c)]??(_0x1cd0a8||0x1));return Array['from']({'length':_0x3e2a6d},(_0x42d4c9,_0x584a1d)=>Array[_0xa34269(0x21b)]({'length':_0x192466},(_0x1542e1,_0x47b78b)=>{const _0x4f0163=_0xa34269;var _0x47ff47;return((_0x47ff47=_0x493560[_0x4f0163(0x1b3)])==null||(_0x47ff47=_0x47ff47[_0x584a1d])==null?void 0x0:_0x47ff47[_0x47b78b])??'';}));}function _i(_0x27c780,_0x39a5a9){const _0x3bac8a=_0x5d7830;return typeof _0x39a5a9[_0x3bac8a(0x25d)]=='number'?Math[_0x3bac8a(0x1fc)](0x0,Math['min'](_0x39a5a9['offset'],_0x27c780[_0x3bac8a(0xf0)]['length'])):_0x27c780[_0x3bac8a(0xf0)][_0x3bac8a(0x201)](_0x23da6c[_0x3bac8a(0xee)])?_0x27c780[_0x3bac8a(0xf0)][_0x3bac8a(0x146)]-0x1:_0x27c780['dataStream'][_0x3bac8a(0x146)];}function vi(_0x16c142,_0x129cda){const _0xa7ebec=_0x5d7830;if(yi(_0x16c142['tables'],_0x129cda)||bi(_0x16c142[_0xa7ebec(0x12b)],_0x129cda)||xi(_0x16c142[_0xa7ebec(0xfe)],_0x129cda))throw new ui();}function yi(_0x4bf401,_0x526eab){const _0xd0444c=_0x5d7830;return!!(_0x4bf401!=null&&_0x4bf401[_0xd0444c(0x20e)](_0x37e719=>_0x455eca(_0x2a235b(_0x37e719),_0x526eab)));}function bi(_0x175c6b,_0x494bea){const _0x31bd4c=_0x5d7830;return!!(_0x175c6b!=null&&_0x175c6b[_0x31bd4c(0x20e)](_0x153002=>_0x455eca(_0x1adc5f(_0x153002),_0x494bea)));}function xi(_0x403b9,_0x1ca18d){const _0x2f8a9b=_0x5d7830;return!!(_0x403b9!=null&&_0x403b9[_0x2f8a9b(0x20e)](_0x25b297=>_0x25b297['startIndex']===_0x1ca18d));}function Si(_0x58b5ff,_0x56cedd){const _0x4e532f=_0x5d7830;return _0x56cedd<=0x0||_0x58b5ff[_0x4e532f(0xf0)][_0x56cedd-0x1]!==_0x23da6c['PARAGRAPH'];}function Ci(_0xef7e2b,_0x574dff){return _0xef7e2b['dataStream'][_0x574dff]!==_0x23da6c['PARAGRAPH'];}function wi(_0x479a25,_0x3c59cf){const _0xe173=_0x5d7830;var _0x34b45c;return(_0x34b45c=_0x479a25[_0xe173(0x23d)])==null?void 0x0:_0x34b45c[_0xe173(0x1cd)](_0x7c48a2=>_0x3a3d2c(_0x479a25,_0x7c48a2)<_0x3c59cf&&_0x3c59cf<=_0x7c48a2[_0xe173(0x1b5)]);}function _0x4b31(_0x43a16c,_0x861fb5){_0x43a16c=_0x43a16c-0xc6;const _0x1d01bf=_0x1d01();let _0x4b317c=_0x1d01bf[_0x43a16c];return _0x4b317c;}function Ti(_0x28ca69,_0x5e01df,_0x2e14d5,_0x26ff70){const _0x5a4da9=_0x5d7830;if(!_0x5e01df)return[];let _0x57f114={'startIndex':_0x28ca69,'paragraphId':_0x44dc69(_0x2e14d5)};return _0x26ff70!=null&&_0x26ff70[_0x5a4da9(0x1f1)]&&(_0x57f114[_0x5a4da9(0x1f1)]=_0x1ce513['deepClone'](_0x26ff70[_0x5a4da9(0x1f1)])),_0x26ff70!=null&&_0x26ff70[_0x5a4da9(0x122)]&&(_0x57f114[_0x5a4da9(0x122)]=_0x1ce513[_0x5a4da9(0x178)](_0x26ff70[_0x5a4da9(0x122)]),delete _0x57f114['paragraphStyle'][_0x5a4da9(0x1c7)],_0x26ff70[_0x5a4da9(0x122)][_0x5a4da9(0x1da)]&&(_0x57f114[_0x5a4da9(0x122)][_0x5a4da9(0x1da)]=_0x3d771a(0x6))),[_0x57f114];}function Ei(_0x388072,_0x20ec53,_0x5bd513){return _0x20ec53?[{'startIndex':_0x388072,'paragraphId':_0x44dc69(_0x5bd513)}]:[];}function Di(_0x2f71c9,_0x1220ba,_0xb5f0b8){const _0x33baad=_0x5d7830;let _0x1fb66e=_0x23da6c[_0x33baad(0x111)],_0x2f8a29=[],_0x504b56=[];return _0x2f71c9['forEach'](_0x5ac961=>{const _0x3ad16e=_0x33baad;_0x1fb66e+=_0x23da6c[_0x3ad16e(0x1d6)],_0x5ac961[_0x3ad16e(0x1fa)](_0x4e0482=>{const _0x1851e5=_0x3ad16e;_0x1fb66e+=''+_0x23da6c['TABLE_CELL_START']+_0x4e0482+_0x23da6c[_0x1851e5(0xdb)]+_0x23da6c[_0x1851e5(0xee)]+_0x23da6c[_0x1851e5(0x147)],_0x2f8a29['push']({'startIndex':_0x1fb66e[_0x1851e5(0x146)]-0x3,'paragraphId':_0x44dc69(_0x1220ba)}),_0x504b56[_0x1851e5(0x1c9)]({'sectionId':_0x5bd5bc(_0xb5f0b8),'startIndex':_0x1fb66e[_0x1851e5(0x146)]-0x2});}),_0x1fb66e+=_0x23da6c['TABLE_ROW_END'];}),_0x1fb66e+=_0x23da6c[_0x33baad(0x1e2)],{'dataStream':_0x1fb66e,'paragraphs':_0x2f8a29,'sectionBreaks':_0x504b56};}function Oi(_0x5ee777){const _0x2c536e=_0x5d7830;return new Set((_0x5ee777[_0x2c536e(0x23d)]??[])[_0x2c536e(0x1a4)](_0x320596=>_0x320596['paragraphId']));}function ki(_0x1d8b8d){const _0x2e271a=_0x5d7830;return new Set((_0x1d8b8d[_0x2e271a(0x244)]??[])[_0x2e271a(0x1a4)](_0xacdf92=>_0xacdf92[_0x2e271a(0xcd)]));}function Ai(_0x1b0bff,_0x5da86b,_0x274901){const _0x58c1ea=_0x5d7830;let _0xb33545=Pi(_0x1b0bff,_0x274901);return{'tableRows':Array['from']({'length':_0x5da86b},(_0x494a32,_0x36b89b)=>ji(_0x1b0bff,_0x36b89b,_0x274901)),'tableColumns':_0xb33545[_0x58c1ea(0x1a4)]((_0x300249,_0x4dda07)=>({...Ni(_0x300249),..._0x1b0bff[_0x58c1ea(0x243)]?{'docsTableType':_0x1ce513['deepClone'](_0x1b0bff['columnTypes'][_0x4dda07]??null)}:{}})),'docsTableMetadataVersion':0x1,'tableId':_0x1b0bff['tableId'],'align':_0x2cde86[_0x58c1ea(0x168)],'indent':{'v':0x0},'textWrap':_0x33966e[_0x58c1ea(0x11f)],'position':{'positionH':{'relativeFrom':_0xdd5b18[_0x58c1ea(0x195)],'posOffset':0x0},'positionV':{'relativeFrom':_0x43a438[_0x58c1ea(0x195)],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'size':{'type':_0x156614['SPECIFIED'],'width':{'v':_0x1b0bff[_0x58c1ea(0x101)]??_0xb33545[_0x58c1ea(0x10f)]((_0x2ea506,_0x244966)=>_0x2ea506+_0x244966,0x0)}},..._0x1b0bff[_0x58c1ea(0x1b9)]==null?{}:{'cellMargin':_0x1ce513['deepClone'](_0x1b0bff[_0x58c1ea(0x1b9)])}};}function ji(_0x4e435e,_0x7b64a9,_0x57bdfc){const _0x5027cd=_0x5d7830;var _0x5e3e86;return{'tableCells':Array[_0x5027cd(0x21b)]({'length':_0x57bdfc},(_0x41e29e,_0x46b6ef)=>Mi(_0x4e435e,_0x7b64a9,_0x46b6ef,_0x57bdfc)),'trHeight':{'val':{'v':((_0x5e3e86=_0x4e435e['rowHeights'])==null?void 0x0:_0x5e3e86[_0x7b64a9])??0x1e},'hRule':_0x1b0d64[_0x5027cd(0x255)]},..._0x4e435e['titleRow']&&_0x7b64a9===0x0?{'docsTableTitleRow':!0x0}:{},'repeatHeaderRow':_0x7b64a9<(_0x4e435e[_0x5027cd(0xe3)]??0x0)?_0x5ae627[_0x5027cd(0x247)]:_0x5ae627[_0x5027cd(0x14e)]};}function Mi(_0x6450b7,_0x5e968b,_0x565b93,_0x5de8d1){const _0x40f15f=_0x5d7830;let _0x2768c2=_0x6450b7[_0x40f15f(0x1a2)]&&_0x5e968b===0x0;return{..._0x6450b7['cellMargin']==null?{'margin':_0x1ce513[_0x40f15f(0x178)](ri)}:{},..._0x2768c2&&_0x565b93===0x0?{'columnSpan':_0x5de8d1}:{},..._0x2768c2&&_0x565b93>0x0?{'rowSpan':0x0,'columnSpan':0x0}:{}};}function Ni(_0x2b8ba1){const _0x586e9d=_0x5d7830;return{'size':{'type':_0x156614[_0x586e9d(0x210)],'width':{'v':_0x2b8ba1}}};}function Pi(_0x1050c5,_0x2e8e81){const _0x32d77c=_0x5d7830;let _0x49b62b=_0x1050c5[_0x32d77c(0x101)]?_0x1050c5[_0x32d77c(0x101)]/_0x2e8e81:0x64;return Array[_0x32d77c(0x21b)]({'length':_0x2e8e81},(_0x36a885,_0x2b2667)=>{const _0x140a1b=_0x32d77c;var _0x5dd7b8;return((_0x5dd7b8=_0x1050c5[_0x140a1b(0x24c)])==null?void 0x0:_0x5dd7b8[_0x2b2667])??_0x49b62b;});}function Fi(_0x417761){const _0x4b4341=_0x5d7830;if(_0x417761[_0x4b4341(0x1a2)]!=null||_0x417761[_0x4b4341(0xe3)]!=null||_0x417761[_0x4b4341(0x243)]!=null)return{..._0x417761[_0x4b4341(0x1a2)]==null?{}:{'titleRow':_0x417761[_0x4b4341(0x1a2)]},..._0x417761[_0x4b4341(0xe3)]==null?{}:{'headerRowCount':_0x417761[_0x4b4341(0xe3)]},..._0x417761[_0x4b4341(0x243)]==null?{}:{'columnTypes':_0x417761[_0x4b4341(0x243)]}};}const Ii={'id':_0x5d7830(0x153),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x59bdac,_0x104624)=>{const _0x5737e7=_0x5d7830;let _0x20314e=_0x59bdac[_0x5737e7(0x194)](_0x14f335),_0x90c7b1=_0x59bdac[_0x5737e7(0x194)](_0x49b00b),_0x5dfe58=_0x59bdac[_0x5737e7(0x194)](R),_0x3466eb=_0x104624!=null&&_0x104624[_0x5737e7(0x10e)]?_0x20314e['getUnit'](_0x104624[_0x5737e7(0x10e)],_0x513396[_0x5737e7(0x204)]):_0x20314e[_0x5737e7(0x159)](_0x513396[_0x5737e7(0x204)]);if(!_0x3466eb)return!0x1;let _0x2e1328=_0x3466eb[_0x5737e7(0x11e)](),_0x9a4c86=(_0x104624==null?void 0x0:_0x104624[_0x5737e7(0x139)])??_0x3d771a(0x6),_0x1d0fb4=Li(_0x59bdac,_0x3466eb[_0x5737e7(0x161)](),_0x104624);if(!_0x1d0fb4)return!0x1;let _0x7ca720;try{let _0x5aa266=V(_0x3466eb,_0x1d0fb4[_0x5737e7(0x1a6)]);if(!_0x5aa266)return!0x1;_0x7ca720=di({..._0x104624,..._0x1d0fb4,'documentData':_0x5aa266,'metadata':_0x5dfe58[_0x5737e7(0x212)](_0x3466eb[_0x5737e7(0x161)]()),'tableId':_0x9a4c86},K(_0x2e1328,_0x1d0fb4['segmentId']));}catch(_0x5a4f41){if(_0x5a4f41 instanceof ui)return!0x1;throw _0x5a4f41;}let _0x3734c7=V(_0x3466eb,_0x1d0fb4[_0x5737e7(0x1a6)]);return _0x3734c7?G(_0x90c7b1,_0x3466eb[_0x5737e7(0x161)](),_0x3734c7,_0x7ca720[_0x5737e7(0x13c)],void 0x0,_0x7ca720[_0x5737e7(0x1e6)],Ii['id']):!0x1;}};function Li(_0x56415c,_0x2255bd,_0x383ba2){const _0x2c988e=_0x5d7830;let {offset:_0xb03849,position:_0x4726e0,segmentId:_0x50745c}=_0x383ba2??{};if(typeof _0xb03849==_0x2c988e(0x238)){let _0x138ebb=Ri(_0x56415c);return{'offset':_0xb03849,'position':_0x2c988e(0x25d),'segmentId':_0x50745c??(_0x138ebb==null?void 0x0:_0x138ebb[_0x2c988e(0x1a6)])};}if(_0x4726e0===_0x2c988e(0x16d)){let _0x36bff0=_0x173226(_0x56415c,_0x2255bd),_0x52b776=Ri(_0x56415c),_0x50f14e=_0x52b776!=null&&_0x52b776[_0x2c988e(0x1a6)]?_0x52b776:_0x36bff0??_0x52b776;if((_0x50f14e==null?void 0x0:_0x50f14e[_0x2c988e(0x189)])!=null)return{'offset':_0x50f14e[_0x2c988e(0x189)],'position':_0x2c988e(0x25d),'segmentId':_0x50745c??_0x50f14e[_0x2c988e(0x1a6)]};}if(_0x4726e0===_0x2c988e(0x25d)){let _0x24908=_0x173226(_0x56415c,_0x2255bd),_0x169667=Ri(_0x56415c),_0x4edf00=_0x24908??_0x169667;if((_0x4edf00==null?void 0x0:_0x4edf00[_0x2c988e(0x189)])!=null)return{'offset':_0x4edf00['startOffset'],'position':_0x2c988e(0x25d),'segmentId':_0x50745c??_0x4edf00[_0x2c988e(0x1a6)]};}return{'position':'documentEnd','segmentId':_0x50745c};}function Ri(_0x393afd){const _0xd921e0=_0x5d7830;try{var _0x1d1f6a,_0x3ac3b3;let _0x1bed30=(_0x1d1f6a=(_0x3ac3b3=_0x393afd[_0xd921e0(0x194)](_0x4507af))[_0xd921e0(0x130)])==null?void 0x0:_0x1d1f6a[_0xd921e0(0x11c)](_0x3ac3b3);return _0x1bed30?{'startOffset':_0x1bed30[_0xd921e0(0x189)],'segmentId':_0x1bed30[_0xd921e0(0x1a6)]}:null;}catch{return null;}}const zi={'id':_0x5d7830(0x18a),'type':_0x1c53ef['COMMAND'],'handler':async(_0x4139ce,_0x552ba9)=>{const _0x1bb8c4=_0x5d7830;let _0x238185=_0x4139ce[_0x1bb8c4(0x194)](_0x14f335),_0xe51445=_0x4139ce[_0x1bb8c4(0x194)](_0x49b00b),_0x39e019=_0x4139ce[_0x1bb8c4(0x194)](J),_0x4720e8=_0x238185[_0x1bb8c4(0x159)](_0x513396[_0x1bb8c4(0x204)]),_0x3d7a6c=_0x39e019[_0x1bb8c4(0x193)](),_0x4e59a7=(_0x552ba9==null?void 0x0:_0x552ba9[_0x1bb8c4(0x139)])??(_0x3d7a6c==null?void 0x0:_0x3d7a6c[_0x1bb8c4(0x139)]);if(!_0x4720e8||!_0x4e59a7)return!0x1;let _0x22a996=_0x4720e8[_0x1bb8c4(0x11e)](),_0x2519f4=z(_0x552ba9,_0x3d7a6c),_0x212642=V(_0x4720e8,_0x2519f4);if(!_0x212642)return!0x1;let _0x4d8527=gr(_0x212642,_0x4e59a7,K(_0x22a996,_0x2519f4));return _0x4d8527?G(_0xe51445,_0x4720e8['getUnitId'](),_0x212642,_0x4d8527[_0x1bb8c4(0x13c)]):!0x1;}},Bi={'id':'docs-table.command.merge-cells','type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x2b15a3,_0x4e17a2)=>{const _0x3184d4=_0x5d7830;let _0x108f6a=_0x2b15a3[_0x3184d4(0x194)](_0x14f335),_0x549289=_0x2b15a3[_0x3184d4(0x194)](_0x49b00b),_0x2abc53=_0x2b15a3[_0x3184d4(0x194)](J),_0x4f0fa5=_0x108f6a[_0x3184d4(0x159)](_0x513396['UNIVER_DOC']),_0x1bc1bb=_0x2abc53[_0x3184d4(0x20a)](),_0x38d97e=(_0x4e17a2==null?void 0x0:_0x4e17a2['tableId'])??(_0x1bc1bb==null?void 0x0:_0x1bc1bb['tableId']),_0x528f0a=B(_0x4e17a2,_0x1bc1bb);if(!_0x4f0fa5||!_0x38d97e||!_0x528f0a)return!0x1;let _0x57e65c=z(_0x4e17a2,_0x1bc1bb),_0x3cc8b4=V(_0x4f0fa5,_0x57e65c);if(!_0x3cc8b4||!Pe(_0x3cc8b4,_0x38d97e,_0x528f0a))return!0x1;let _0x4eb042=Le({'documentData':_0x3cc8b4,'tableId':_0x38d97e,..._0x528f0a});if(!_0x4eb042)return!0x1;let _0x4e7e6f=G(_0x549289,_0x4f0fa5['getUnitId'](),_0x3cc8b4,_0x4eb042['actions'],{'tableId':_0x38d97e,'segmentId':_0x57e65c,..._0x4eb042[_0x3184d4(0x1ca)]});return _0x4e7e6f&&_0x2abc53[_0x3184d4(0x245)]({'kind':_0x3184d4(0xcb),'tableId':_0x38d97e,'segmentId':_0x57e65c,..._0x4eb042['range']}),_0x4e7e6f;}},Vi={'id':'docs-table.command.move-columns','type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x57ab80,_0x372593)=>{const _0x53cb85=_0x5d7830;if(!_0x372593)return!0x1;let _0x138c07=_0x57ab80[_0x53cb85(0x194)](_0x14f335),_0x3c9cb5=_0x57ab80[_0x53cb85(0x194)](_0x49b00b),_0x3fb267=_0x57ab80[_0x53cb85(0x194)](J),_0x19b801=_0x138c07[_0x53cb85(0x159)](_0x513396['UNIVER_DOC']),_0x5759cd=_0x3fb267['getCurrentSelection'](),_0x2b77d5=_0x372593[_0x53cb85(0x139)]??(_0x5759cd==null?void 0x0:_0x5759cd['tableId']),_0x52d33c=_0x372593[_0x53cb85(0x17b)]??(_0x5759cd==null?void 0x0:_0x5759cd[_0x53cb85(0x241)]);if(!_0x19b801||_0x2b77d5==null||_0x52d33c==null)return!0x1;let _0x4b2747=_0x19b801[_0x53cb85(0x11e)](),_0xef2b0a=z(_0x372593,_0x5759cd),_0x3a5b00=V(_0x19b801,_0xef2b0a);if(!_0x3a5b00)return!0x1;let _0x3e65ba=_0x372593['count']??(_0x5759cd?Math['max'](0x1,_0x5759cd[_0x53cb85(0x260)]-_0x5759cd[_0x53cb85(0x241)]+0x1):0x1),_0x4b4adb=rr(_0x3a5b00,_0x2b77d5,_0x52d33c,_0x372593[_0x53cb85(0x18e)],_0x3e65ba,_0x372593['position'],K(_0x4b2747,_0xef2b0a));if(!_0x4b4adb)return!0x1;let _0x45d2e3=G(_0x3c9cb5,_0x19b801[_0x53cb85(0x161)](),_0x3a5b00,_0x4b4adb[_0x53cb85(0x13c)]);return _0x45d2e3&&_0x5759cd&&_0x3fb267[_0x53cb85(0x245)]({..._0x5759cd,'tableId':_0x2b77d5,'startColumn':_0x4b4adb[_0x53cb85(0xdd)],'endColumn':_0x4b4adb[_0x53cb85(0xdd)]+_0x3e65ba-0x1}),_0x45d2e3;}},Hi={'id':_0x5d7830(0x1fe),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x30fa37,_0x56e71c)=>{const _0x29e2f3=_0x5d7830;if(!_0x56e71c)return!0x1;let _0x9cccee=_0x30fa37[_0x29e2f3(0x194)](_0x14f335),_0x4c5e0f=_0x30fa37[_0x29e2f3(0x194)](_0x49b00b),_0x7704a5=_0x30fa37[_0x29e2f3(0x194)](J),_0x523b77=_0x9cccee[_0x29e2f3(0x159)](_0x513396[_0x29e2f3(0x204)]),_0x53681c=_0x7704a5[_0x29e2f3(0x193)](),_0x492d94=_0x56e71c['tableId']??(_0x53681c==null?void 0x0:_0x53681c[_0x29e2f3(0x139)]),_0x507eac=_0x56e71c[_0x29e2f3(0x1a0)]??(_0x53681c==null?void 0x0:_0x53681c[_0x29e2f3(0x1d1)]);if(!_0x523b77||_0x492d94==null||_0x507eac==null)return!0x1;let _0x19e175=_0x523b77[_0x29e2f3(0x11e)](),_0x2940fe=z(_0x56e71c,_0x53681c),_0x3681f6=V(_0x523b77,_0x2940fe);if(!_0x3681f6)return!0x1;let _0x1e8115=_0x56e71c[_0x29e2f3(0x261)]??(_0x53681c?Math[_0x29e2f3(0x1fc)](0x1,_0x53681c[_0x29e2f3(0x227)]-_0x53681c[_0x29e2f3(0x1d1)]+0x1):0x1),_0x55d049=nr(_0x3681f6,_0x492d94,_0x507eac,_0x56e71c[_0x29e2f3(0x17c)],_0x1e8115,_0x56e71c['position'],K(_0x19e175,_0x2940fe));if(!_0x55d049)return!0x1;let _0x5dd4ba=G(_0x4c5e0f,_0x523b77[_0x29e2f3(0x161)](),_0x3681f6,_0x55d049['actions']);return _0x5dd4ba&&_0x53681c&&_0x7704a5[_0x29e2f3(0x245)]({..._0x53681c,'tableId':_0x492d94,'startRow':_0x55d049['cursorRow'],'endRow':_0x55d049[_0x29e2f3(0x126)]+_0x1e8115-0x1}),_0x5dd4ba;}},Ui={'id':_0x5d7830(0x203),'type':_0x1c53ef['COMMAND'],'handler':async(_0x180524,_0x189e12)=>{const _0x56589d=_0x5d7830;if(!_0x189e12)return!0x1;let _0x4f3712=_0x180524[_0x56589d(0x194)](_0x14f335),_0x19e718=_0x180524['get'](_0x49b00b),_0xf039a8=_0x180524['get'](J),_0x22de0b=_0x4f3712['getCurrentUnitOfType'](_0x513396[_0x56589d(0x204)]),_0x5b2248=_0xf039a8[_0x56589d(0x193)](),_0x27d63d=_0x189e12[_0x56589d(0x139)]??(_0x5b2248==null?void 0x0:_0x5b2248['tableId']);if(!_0x22de0b||!_0x27d63d)return!0x1;let _0x390bab=_0x22de0b[_0x56589d(0x11e)](),_0x5112c8=z(_0x189e12,_0x5b2248),_0x12beef=V(_0x22de0b,_0x5112c8);if(!_0x12beef)return!0x1;if(_0x189e12[_0x56589d(0x208)]==null){let _0x599ce8=zn(_0x12beef,_0x27d63d,_0x189e12['deltaX']??0x0,_0x189e12[_0x56589d(0x215)]??0x0);return G(_0x19e718,_0x22de0b[_0x56589d(0x161)](),_0x12beef,_0x599ce8);}let _0x30b1f9=Bn(_0x12beef,_0x27d63d,_0x189e12[_0x56589d(0x208)],K(_0x390bab,_0x5112c8));return G(_0x19e718,_0x22de0b[_0x56589d(0x161)](),_0x12beef,_0x30b1f9);}},Wi={'id':_0x5d7830(0x16b),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x1c2304,_0xe043dc)=>{const _0xb09761=_0x5d7830;var _0x22fd2b;if(!_0xe043dc)return!0x1;let _0x4ccd02=_0x1c2304[_0xb09761(0x194)](_0x14f335),_0x265097=_0x1c2304[_0xb09761(0x194)](_0x49b00b),_0x31fc35=_0x1c2304[_0xb09761(0x194)](J),_0x15df0f=_0x4ccd02[_0xb09761(0x159)](_0x513396['UNIVER_DOC']),_0x54b22e=_0x31fc35[_0xb09761(0x193)](),_0x51964d=_0xe043dc[_0xb09761(0x139)]??(_0x54b22e==null?void 0x0:_0x54b22e[_0xb09761(0x139)]),_0x386c7d=_0xe043dc[_0xb09761(0x17d)]??(_0x54b22e==null?void 0x0:_0x54b22e[_0xb09761(0x241)]);if(!_0x15df0f||_0x51964d==null||_0x386c7d==null)return!0x1;let _0x5c4b3a=V(_0x15df0f,z(_0xe043dc,_0x54b22e));return!_0x5c4b3a||!((_0x22fd2b=_0x5c4b3a[_0xb09761(0x230)])!=null&&(_0x22fd2b=_0x22fd2b[_0x51964d])!=null&&_0x22fd2b[_0xb09761(0x110)][_0x386c7d])?!0x1:G(_0x265097,_0x15df0f[_0xb09761(0x161)](),_0x5c4b3a,Ln(_0x5c4b3a,_0x51964d,_0x386c7d,_0xe043dc[_0xb09761(0x101)],_0xe043dc[_0xb09761(0x24c)]));}},Gi={'id':'docs-table.command.resize-row','type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x357edb,_0x202c13)=>{const _0xc681b3=_0x5d7830;var _0x15672c;if(!_0x202c13)return!0x1;let _0x1cdb2c=_0x357edb[_0xc681b3(0x194)](_0x14f335),_0x13c87a=_0x357edb['get'](_0x49b00b),_0x454ed7=_0x357edb[_0xc681b3(0x194)](J),_0xb7ffd9=_0x1cdb2c[_0xc681b3(0x159)](_0x513396[_0xc681b3(0x204)]),_0x58d9cb=_0x454ed7['getCurrentSelection'](),_0x8e6c24=_0x202c13[_0xc681b3(0x139)]??(_0x58d9cb==null?void 0x0:_0x58d9cb[_0xc681b3(0x139)]),_0x1269fe=_0x202c13[_0xc681b3(0x188)]??(_0x58d9cb==null?void 0x0:_0x58d9cb[_0xc681b3(0x1d1)]);if(!_0xb7ffd9||_0x8e6c24==null||_0x1269fe==null)return!0x1;let _0x37576a=V(_0xb7ffd9,z(_0x202c13,_0x58d9cb));return!_0x37576a||!((_0x15672c=_0x37576a[_0xc681b3(0x230)])!=null&&(_0x15672c=_0x15672c[_0x8e6c24])!=null&&_0x15672c[_0xc681b3(0xf6)][_0x1269fe])?!0x1:G(_0x13c87a,_0xb7ffd9[_0xc681b3(0x161)](),_0x37576a,Hn(_0x37576a,_0x8e6c24,_0x1269fe,_0x202c13['height'],_0x202c13['hRule']));}},Ki={'id':_0x5d7830(0x113),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x2b48f2,_0x2067ef)=>{const _0x161745=_0x5d7830;var _0x1030fe;if(!(_0x2067ef!=null&&_0x2067ef[_0x161745(0x252)])||!Object[_0x161745(0x1b3)](bn)[_0x161745(0x1bd)](_0x2067ef[_0x161745(0x252)][_0x161745(0x22d)]))return!0x1;let _0x368190=_0x2b48f2['get'](_0x14f335),_0x5a6af9=_0x2067ef[_0x161745(0x10e)]?_0x368190[_0x161745(0x1ed)](_0x2067ef['unitId'],_0x513396[_0x161745(0x204)]):_0x368190['getCurrentUnitOfType'](_0x513396[_0x161745(0x204)]),_0x13165c=_0x2b48f2[_0x161745(0x194)](J)['getCurrentSelection'](),_0x4c3c80=_0x2067ef['tableId']??(_0x13165c==null?void 0x0:_0x13165c['tableId']),_0xcaa2d5=_0x2067ef[_0x161745(0x17d)]??(_0x13165c==null?void 0x0:_0x13165c[_0x161745(0x241)]),_0x190ba5=_0x4c3c80&&(_0x5a6af9==null||(_0x1030fe=_0x5a6af9[_0x161745(0x11e)]()[_0x161745(0x230)])==null?void 0x0:_0x1030fe[_0x4c3c80]);if(!_0x5a6af9||_0x5a6af9[_0x161745(0x10c)]()||!_0x190ba5||_0xcaa2d5==null||!Number[_0x161745(0xe6)](_0xcaa2d5)||!_0x190ba5[_0x161745(0x110)][_0xcaa2d5])return!0x1;let _0x193fcc=ut(_0x190ba5,_0xcaa2d5,_0x2067ef['config'],_0x2b48f2[_0x161745(0x194)](R)['getTableMetadata'](_0x5a6af9[_0x161745(0x161)](),_0x190ba5[_0x161745(0x139)]));return G(_0x2b48f2['get'](_0x49b00b),_0x5a6af9[_0x161745(0x161)](),_0x5a6af9['getSnapshot'](),_0x193fcc);}},qi={'id':_0x5d7830(0x1c2),'type':_0x1c53ef['COMMAND'],'handler':async(_0x352cc7,_0x154d85)=>{const _0x4a3aea=_0x5d7830;let _0x4a7973=_0x352cc7[_0x4a3aea(0x194)](_0x14f335),_0x2acb47=_0x352cc7[_0x4a3aea(0x194)](_0x49b00b),_0x43e3b3=_0x352cc7[_0x4a3aea(0x194)](J),_0x145640=_0x4a7973[_0x4a3aea(0x159)](_0x513396[_0x4a3aea(0x204)]),_0x24b536=_0x43e3b3['getCurrentSelection']();if(!_0x145640)return!0x1;let _0x2e7ab3=(_0x154d85==null?void 0x0:_0x154d85[_0x4a3aea(0x139)])??(_0x24b536==null?void 0x0:_0x24b536[_0x4a3aea(0x139)]),_0x45ed45=(_0x154d85==null?void 0x0:_0x154d85['row'])??(_0x24b536==null?void 0x0:_0x24b536[_0x4a3aea(0x227)]);if(_0x2e7ab3==null||(_0x154d85==null?void 0x0:_0x154d85[_0x4a3aea(0xe3)])==null&&_0x45ed45==null)return!0x1;let _0x543676=(_0x154d85==null?void 0x0:_0x154d85['headerRowCount'])??_0x45ed45+0x1,_0x48cc5b=V(_0x145640,z(_0x154d85,_0x24b536));if(!_0x48cc5b)return!0x1;let _0x3488f8=Gn(_0x48cc5b,_0x2e7ab3,_0x543676);return _0x3488f8?G(_0x2acb47,_0x145640['getUnitId'](),_0x48cc5b,_0x3488f8['actions']):!0x1;}},Ji={'id':_0x5d7830(0x157),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':(_0x42b2b0,_0xf27566)=>{const _0x37cfdb=_0x5d7830;var _0x229ca0,_0x43f97b;if(!(_0xf27566!=null&&_0xf27566[_0x37cfdb(0x10e)])||!_0xf27566[_0x37cfdb(0x139)]||![_0x2cde86['START'],_0x2cde86[_0x37cfdb(0xef)],_0x2cde86['END']][_0x37cfdb(0x1bd)](_0xf27566[_0x37cfdb(0x23c)]))return!0x1;let _0x967066=_0x42b2b0[_0x37cfdb(0x194)](_0x14f335)[_0x37cfdb(0x1ed)](_0xf27566['unitId'],_0x513396['UNIVER_DOC']),_0x465fa6=_0x967066==null?void 0x0:_0x967066[_0x37cfdb(0x11e)](),_0x356032=_0x465fa6==null||(_0x229ca0=_0x465fa6[_0x37cfdb(0x230)])==null?void 0x0:_0x229ca0[_0xf27566[_0x37cfdb(0x139)]];if(!_0x967066||_0x967066[_0x37cfdb(0x10c)]()||(_0x465fa6==null||(_0x43f97b=_0x465fa6['documentStyle'])==null?void 0x0:_0x43f97b[_0x37cfdb(0x1a8)])!==_0x5a57f0[_0x37cfdb(0xf3)]||!_0x356032)return!0x1;if(_0x356032[_0x37cfdb(0xca)]===_0xf27566[_0x37cfdb(0x23c)])return!0x0;let _0x5d6493=_0x50737a[_0x37cfdb(0x1e5)](),_0x4ada82=[_0x37cfdb(0x230),_0x356032[_0x37cfdb(0x139)],_0x37cfdb(0xca)],_0x10b0df=_0x356032[_0x37cfdb(0xca)]===void 0x0?_0x5d6493[_0x37cfdb(0x11b)](_0x4ada82,_0xf27566[_0x37cfdb(0x23c)]):_0x5d6493[_0x37cfdb(0x228)](_0x4ada82,_0x356032[_0x37cfdb(0xca)],_0xf27566['value']);return G(_0x42b2b0['get'](_0x49b00b),_0x967066[_0x37cfdb(0x161)](),_0x465fa6,_0x10b0df);}},Yi={'id':_0x5d7830(0x108),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0xbca0d0,_0x5c63fb)=>{const _0x272243=_0x5d7830;let _0x1c4d97=(_0x5c63fb==null?void 0x0:_0x5c63fb[_0x272243(0x106)])??(_0x5c63fb==null?void 0x0:_0x5c63fb[_0x272243(0x23c)]);if(_0x1c4d97===void 0x0)return!0x1;let _0x3c1c36=_0xbca0d0[_0x272243(0x194)](_0x14f335),_0x3e16a9=_0xbca0d0[_0x272243(0x194)](_0x49b00b),_0x694944=_0xbca0d0[_0x272243(0x194)](J),_0x12be21=_0x3c1c36[_0x272243(0x159)](_0x513396[_0x272243(0x204)]),_0x24460d=Xi(_0x694944),_0x36c53a=(_0x5c63fb==null?void 0x0:_0x5c63fb[_0x272243(0x139)])??(_0x24460d==null?void 0x0:_0x24460d['tableId']),_0x50046f=B(_0x5c63fb,_0x24460d);if(!_0x12be21||!_0x36c53a||!_0x50046f)return!0x1;let _0x42d500=z(_0x5c63fb,_0x24460d),_0x167bf0=V(_0x12be21,_0x42d500);if(!_0x167bf0||!Qi(_0x167bf0,_0x36c53a,_0x50046f))return!0x1;let _0x27037a=Zi(_0x167bf0,{'tableId':_0x36c53a,..._0x50046f,'value':_0x1c4d97}),_0x56147a=G(_0x3e16a9,_0x12be21[_0x272243(0x161)](),_0x167bf0,_0x27037a,{'tableId':_0x36c53a,'segmentId':_0x42d500,..._0x50046f});return _0x56147a&&_0x694944[_0x272243(0x245)]({'kind':(_0x24460d==null?void 0x0:_0x24460d[_0x272243(0x133)])??_0x272243(0x1ca),'tableId':_0x36c53a,'segmentId':_0x42d500,..._0x50046f}),_0x56147a;}};function Xi(_0x29c348){const _0x15f5bf=_0x5d7830;var _0x2ca8e2;return((_0x2ca8e2=_0x29c348[_0x15f5bf(0x20a)])==null?void 0x0:_0x2ca8e2['call'](_0x29c348))??_0x29c348[_0x15f5bf(0x193)]();}function Zi(_0x3b406f,_0x185407){const _0x2b17a0=_0x5d7830;var _0x4c0a66;let _0x2af55d=(_0x4c0a66=_0x3b406f['tableSource'])==null?void 0x0:_0x4c0a66[_0x185407[_0x2b17a0(0x139)]],_0x284c74=B(_0x185407);if(!_0x2af55d||!_0x284c74)return null;let _0x57fcb0=_0x50737a[_0x2b17a0(0x1e5)](),_0x58ef27=[],_0x5cb81a=$i(_0x284c74);for(let _0x4abad0=_0x5cb81a['startRow'];_0x4abad0<=_0x5cb81a[_0x2b17a0(0x227)];_0x4abad0++)for(let _0x9152e3=_0x5cb81a[_0x2b17a0(0x241)];_0x9152e3<=_0x5cb81a['endColumn'];_0x9152e3++){var _0x4d1dd5;let _0x21e955=(_0x4d1dd5=_0x2af55d[_0x2b17a0(0xf6)][_0x4abad0])==null?void 0x0:_0x4d1dd5['tableCells'][_0x9152e3];if(!_0x21e955)return null;let _0x584f40=[_0x2b17a0(0x230),_0x185407[_0x2b17a0(0x139)],_0x2b17a0(0xf6),_0x4abad0,_0x2b17a0(0xe1),_0x9152e3,'backgroundColor'],_0x8e1818=_0x185407[_0x2b17a0(0x23c)]==null?void 0x0:{'rgb':_0x185407[_0x2b17a0(0x23c)]};JSON[_0x2b17a0(0x1a1)](_0x21e955['backgroundColor'])!==JSON[_0x2b17a0(0x1a1)](_0x8e1818)&&(_0x21e955['backgroundColor']===void 0x0&&_0x8e1818!==void 0x0?_0x58ef27[_0x2b17a0(0x1c9)](_0x57fcb0[_0x2b17a0(0x11b)]([..._0x584f40],_0x8e1818)):_0x8e1818===void 0x0?_0x58ef27['push'](_0x57fcb0[_0x2b17a0(0x137)]([..._0x584f40],_0x21e955[_0x2b17a0(0x1c6)])):_0x58ef27['push'](_0x57fcb0[_0x2b17a0(0x228)]([..._0x584f40],_0x21e955[_0x2b17a0(0x1c6)],_0x8e1818)));}return _0x58ef27['reduce']((_0xea0c0c,_0x56dbc3)=>_0x50737a[_0x2b17a0(0x118)](_0xea0c0c,_0x56dbc3),null);}function Qi(_0x538443,_0x525c3e,_0x1e401f){const _0x2e50d=_0x5d7830;var _0x426f12;let _0x40c141=(_0x426f12=_0x538443[_0x2e50d(0x230)])==null?void 0x0:_0x426f12[_0x525c3e];if(!_0x40c141)return!0x1;let _0x1f7c9f=$i(_0x1e401f);for(let _0xad2e25=_0x1f7c9f['startRow'];_0xad2e25<=_0x1f7c9f['endRow'];_0xad2e25++)for(let _0x4676c6=_0x1f7c9f['startColumn'];_0x4676c6<=_0x1f7c9f[_0x2e50d(0x260)];_0x4676c6++){var _0x405eac;if(!((_0x405eac=_0x40c141[_0x2e50d(0xf6)][_0xad2e25])!=null&&_0x405eac[_0x2e50d(0xe1)][_0x4676c6]))return!0x1;}return!0x0;}function $i(_0x261925){const _0xfdb866=_0x5d7830;return{'startRow':Math[_0xfdb866(0x234)](_0x261925[_0xfdb866(0x1d1)],_0x261925[_0xfdb866(0x227)]),'endRow':Math[_0xfdb866(0x1fc)](_0x261925['startRow'],_0x261925['endRow']),'startColumn':Math[_0xfdb866(0x234)](_0x261925[_0xfdb866(0x241)],_0x261925[_0xfdb866(0x260)]),'endColumn':Math[_0xfdb866(0x1fc)](_0x261925['startColumn'],_0x261925['endColumn'])};}let ea=function(_0x3a1cb3){const _0x109959=_0x5d7830;return _0x3a1cb3[_0x109959(0x239)]=_0x109959(0x248),_0x3a1cb3[_0x109959(0x138)]=_0x109959(0x254),_0x3a1cb3[_0x109959(0x136)]='outer',_0x3a1cb3['Top']='top',_0x3a1cb3['Bottom']=_0x109959(0x192),_0x3a1cb3[_0x109959(0x18c)]='left',_0x3a1cb3[_0x109959(0x21f)]='right',_0x3a1cb3[_0x109959(0xfd)]=_0x109959(0xd3),_0x3a1cb3[_0x109959(0xff)]=_0x109959(0x1cb),_0x3a1cb3[_0x109959(0x12f)]=_0x109959(0x12d),_0x3a1cb3;}({});const ta={'color':{'rgb':'#1f1f1f'},'width':{'v':0x1}},Y={'color':{'rgb':_0x5d7830(0x1ec)},'width':{'v':0x0}};function na(_0x1c2958){const _0x5e8e15=_0x5d7830;var _0xd0b3f0;let _0x377e59=E(_0x1c2958[_0x5e8e15(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x1c2958[_0x5e8e15(0x139)]]}),_0x5cd52b=(_0xd0b3f0=_0x377e59[_0x5e8e15(0x230)])==null?void 0x0:_0xd0b3f0[_0x1c2958[_0x5e8e15(0x139)]];if(!_0x5cd52b)throw Error(_0x5e8e15(0x1e1)+_0x1c2958[_0x5e8e15(0x139)]+_0x5e8e15(0x127));let _0x57e820=pa(_0x1c2958),_0x3283d0=_0x1c2958[_0x5e8e15(0x19e)]??ta;for(let _0x216267=_0x57e820[_0x5e8e15(0x1d1)];_0x216267<=_0x57e820['endRow'];_0x216267++)for(let _0x5a2b7e=_0x57e820['startColumn'];_0x5a2b7e<=_0x57e820[_0x5e8e15(0x260)];_0x5a2b7e++){var _0x276d6c;let _0x416a4b=(_0x276d6c=_0x5cd52b[_0x5e8e15(0xf6)][_0x216267])==null?void 0x0:_0x276d6c['tableCells'][_0x5a2b7e];if(!_0x416a4b)throw Error(_0x5e8e15(0x1d0));_0x416a4b[_0x5e8e15(0x1f4)]=la(_0x1c2958[_0x5e8e15(0x134)],_0x216267,_0x57e820)?_0x3283d0:Y,_0x416a4b[_0x5e8e15(0x1c7)]=ua(_0x1c2958[_0x5e8e15(0x134)],_0x216267,_0x57e820)?_0x3283d0:Y,_0x416a4b[_0x5e8e15(0x23a)]=da(_0x1c2958[_0x5e8e15(0x134)],_0x5a2b7e,_0x57e820)?_0x3283d0:Y,_0x416a4b[_0x5e8e15(0x1a5)]=fa(_0x1c2958[_0x5e8e15(0x134)],_0x5a2b7e,_0x57e820)?_0x3283d0:Y;}return ha(_0x5cd52b,_0x57e820,{'top':la(_0x1c2958[_0x5e8e15(0x134)],_0x57e820[_0x5e8e15(0x1d1)],_0x57e820)?_0x3283d0:Y,'left':da(_0x1c2958[_0x5e8e15(0x134)],_0x57e820['startColumn'],_0x57e820)?_0x3283d0:Y}),{'nextDocumentData':_0x377e59};}function ra(_0x2b4ff0){const _0x35db1d=_0x5d7830;var _0x29c67a;let _0x4fda7f=(_0x29c67a=_0x2b4ff0['documentData'][_0x35db1d(0x230)])==null?void 0x0:_0x29c67a[_0x2b4ff0[_0x35db1d(0x139)]];if(!_0x4fda7f)throw Error('[DocsTable]:\x20Table\x20'+_0x2b4ff0[_0x35db1d(0x139)]+_0x35db1d(0x127));let _0x100d05=pa(_0x2b4ff0),_0x434e36=_0x2b4ff0[_0x35db1d(0x19e)]??ta,_0x578728=[];for(let _0x49a43d=_0x100d05[_0x35db1d(0x1d1)];_0x49a43d<=_0x100d05[_0x35db1d(0x227)];_0x49a43d++)for(let _0x585709=_0x100d05[_0x35db1d(0x241)];_0x585709<=_0x100d05[_0x35db1d(0x260)];_0x585709++){var _0x31466b;let _0x790650=(_0x31466b=_0x4fda7f['tableRows'][_0x49a43d])==null?void 0x0:_0x31466b['tableCells'][_0x585709];if(!_0x790650)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');Z(_0x578728,X(_0x2b4ff0[_0x35db1d(0x139)],_0x49a43d,_0x585709,'borderTop'),_0x790650[_0x35db1d(0x1f4)],la(_0x2b4ff0[_0x35db1d(0x134)],_0x49a43d,_0x100d05)?_0x434e36:Y),Z(_0x578728,X(_0x2b4ff0[_0x35db1d(0x139)],_0x49a43d,_0x585709,_0x35db1d(0x1c7)),_0x790650[_0x35db1d(0x1c7)],ua(_0x2b4ff0[_0x35db1d(0x134)],_0x49a43d,_0x100d05)?_0x434e36:Y),Z(_0x578728,X(_0x2b4ff0[_0x35db1d(0x139)],_0x49a43d,_0x585709,_0x35db1d(0x23a)),_0x790650[_0x35db1d(0x23a)],da(_0x2b4ff0[_0x35db1d(0x134)],_0x585709,_0x100d05)?_0x434e36:Y),Z(_0x578728,X(_0x2b4ff0[_0x35db1d(0x139)],_0x49a43d,_0x585709,_0x35db1d(0x1a5)),_0x790650[_0x35db1d(0x1a5)],fa(_0x2b4ff0[_0x35db1d(0x134)],_0x585709,_0x100d05)?_0x434e36:Y);}return oa(_0x578728,_0x4fda7f,_0x2b4ff0[_0x35db1d(0x139)],_0x100d05,{'top':la(_0x2b4ff0[_0x35db1d(0x134)],_0x100d05[_0x35db1d(0x1d1)],_0x100d05)?_0x434e36:Y,'left':da(_0x2b4ff0[_0x35db1d(0x134)],_0x100d05[_0x35db1d(0x241)],_0x100d05)?_0x434e36:Y}),sa(_0x578728);}function ia(_0x338acb){const _0x34b8fb=_0x5d7830;var _0x5038f2;let _0x321793=E(_0x338acb[_0x34b8fb(0xd2)],{'cloneBody':!0x1,'tableIds':[_0x338acb[_0x34b8fb(0x139)]]}),_0x54e081=(_0x5038f2=_0x321793[_0x34b8fb(0x230)])==null?void 0x0:_0x5038f2[_0x338acb[_0x34b8fb(0x139)]];if(!_0x54e081)throw Error(_0x34b8fb(0x1e1)+_0x338acb['tableId']+'\x20is\x20not\x20found.');return ma(_0x338acb,(_0x5d8e11,_0x488d9e)=>{const _0x1fa583=_0x34b8fb;var _0x6a0e10;let _0x4b6c78=(_0x6a0e10=_0x54e081[_0x1fa583(0xf6)][_0x5d8e11])==null?void 0x0:_0x6a0e10[_0x1fa583(0xe1)][_0x488d9e];if(!_0x4b6c78)throw Error(_0x1fa583(0x1d0));_0x338acb[_0x1fa583(0x106)]==null?delete _0x4b6c78['backgroundColor']:_0x4b6c78[_0x1fa583(0x1c6)]={'rgb':_0x338acb['color']};}),{'nextDocumentData':_0x321793};}function aa(_0x4f36df){const _0x387968=_0x5d7830;var _0x396440;let _0x26caa1=(_0x396440=_0x4f36df[_0x387968(0xd2)][_0x387968(0x230)])==null?void 0x0:_0x396440[_0x4f36df[_0x387968(0x139)]];if(!_0x26caa1)throw Error(_0x387968(0x1e1)+_0x4f36df[_0x387968(0x139)]+_0x387968(0x127));let _0x4257e9=[];return ma(_0x4f36df,(_0x36112b,_0x16db77)=>{const _0x2dd0e9=_0x387968;var _0x14ea18;let _0x8d9588=(_0x14ea18=_0x26caa1['tableRows'][_0x36112b])==null?void 0x0:_0x14ea18[_0x2dd0e9(0xe1)][_0x16db77];if(!_0x8d9588)throw Error(_0x2dd0e9(0x1d0));Z(_0x4257e9,X(_0x4f36df[_0x2dd0e9(0x139)],_0x36112b,_0x16db77,_0x2dd0e9(0x1f4)),_0x8d9588[_0x2dd0e9(0x1f4)],Q(_0x8d9588[_0x2dd0e9(0x1f4)],_0x4f36df[_0x2dd0e9(0x19e)])),Z(_0x4257e9,X(_0x4f36df[_0x2dd0e9(0x139)],_0x36112b,_0x16db77,'borderBottom'),_0x8d9588['borderBottom'],Q(_0x8d9588['borderBottom'],_0x4f36df[_0x2dd0e9(0x19e)])),Z(_0x4257e9,X(_0x4f36df[_0x2dd0e9(0x139)],_0x36112b,_0x16db77,_0x2dd0e9(0x23a)),_0x8d9588[_0x2dd0e9(0x23a)],Q(_0x8d9588['borderLeft'],_0x4f36df[_0x2dd0e9(0x19e)])),Z(_0x4257e9,X(_0x4f36df[_0x2dd0e9(0x139)],_0x36112b,_0x16db77,_0x2dd0e9(0x1a5)),_0x8d9588[_0x2dd0e9(0x1a5)],Q(_0x8d9588[_0x2dd0e9(0x1a5)],_0x4f36df[_0x2dd0e9(0x19e)]));}),oa(_0x4257e9,_0x26caa1,_0x4f36df[_0x387968(0x139)],pa(_0x4f36df),{'top':_0x4f36df[_0x387968(0x19e)],'left':_0x4f36df['border'],'merge':!0x0}),sa(_0x4257e9);}function oa(_0x10a6a4,_0x3bd594,_0x5b9096,_0x1bbb6c,_0x52a74c){const _0xd79e5=_0x5d7830;if(_0x1bbb6c[_0xd79e5(0x1d1)]>0x0){let _0x389755=_0x3bd594[_0xd79e5(0xf6)][_0x1bbb6c[_0xd79e5(0x1d1)]-0x1];for(let _0x47c112=_0x1bbb6c[_0xd79e5(0x241)];_0x47c112<=_0x1bbb6c['endColumn'];_0x47c112++){let _0x3e2b93=_0x389755==null?void 0x0:_0x389755[_0xd79e5(0xe1)][_0x47c112];if(!_0x3e2b93)throw Error(_0xd79e5(0x1d0));Z(_0x10a6a4,X(_0x5b9096,_0x1bbb6c['startRow']-0x1,_0x47c112,_0xd79e5(0x1c7)),_0x3e2b93[_0xd79e5(0x1c7)],_0x52a74c[_0xd79e5(0x209)]?Q(_0x3e2b93[_0xd79e5(0x1c7)],_0x52a74c[_0xd79e5(0x1d9)]):_0x52a74c[_0xd79e5(0x1d9)]);}}if(_0x1bbb6c[_0xd79e5(0x241)]>0x0)for(let _0x53f8cb=_0x1bbb6c[_0xd79e5(0x1d1)];_0x53f8cb<=_0x1bbb6c[_0xd79e5(0x227)];_0x53f8cb++){var _0x2ffac3;let _0x20ae68=(_0x2ffac3=_0x3bd594[_0xd79e5(0xf6)][_0x53f8cb])==null?void 0x0:_0x2ffac3[_0xd79e5(0xe1)][_0x1bbb6c[_0xd79e5(0x241)]-0x1];if(!_0x20ae68)throw Error(_0xd79e5(0x1d0));Z(_0x10a6a4,X(_0x5b9096,_0x53f8cb,_0x1bbb6c[_0xd79e5(0x241)]-0x1,_0xd79e5(0x1a5)),_0x20ae68[_0xd79e5(0x1a5)],_0x52a74c[_0xd79e5(0x209)]?Q(_0x20ae68[_0xd79e5(0x1a5)],_0x52a74c[_0xd79e5(0x240)]):_0x52a74c[_0xd79e5(0x240)]);}}function X(_0x51ef4a,_0x318b98,_0x76a9c8,_0x17ec50){const _0x3f7fff=_0x5d7830;return[_0x3f7fff(0x230),_0x51ef4a,_0x3f7fff(0xf6),_0x318b98,_0x3f7fff(0xe1),_0x76a9c8,_0x17ec50];}function Z(_0x2a05c8,_0x40e186,_0x31a758,_0x296971){const _0x42565d=_0x5d7830;if(JSON[_0x42565d(0x1a1)](_0x31a758)===JSON[_0x42565d(0x1a1)](_0x296971))return;let _0x552993=_0x50737a[_0x42565d(0x1e5)]();_0x31a758===void 0x0?_0x2a05c8[_0x42565d(0x1c9)](_0x552993[_0x42565d(0x11b)](_0x40e186,ca(_0x296971))):_0x296971===void 0x0?_0x2a05c8[_0x42565d(0x1c9)](_0x552993[_0x42565d(0x137)](_0x40e186,_0x31a758)):_0x2a05c8[_0x42565d(0x1c9)](_0x552993[_0x42565d(0x228)](_0x40e186,_0x31a758,ca(_0x296971)));}function sa(_0x44556f){const _0x44e871=_0x5d7830;return _0x44556f[_0x44e871(0x10f)]((_0x19d6ff,_0x1e4c76)=>_0x50737a[_0x44e871(0x118)](_0x19d6ff,_0x1e4c76),null);}function ca(_0xf18a74){const _0x300d7e=_0x5d7830;return Array[_0x300d7e(0x11a)](_0xf18a74)?_0xf18a74[_0x300d7e(0x1a4)](_0x5adbd6=>ca(_0x5adbd6)):!_0xf18a74||typeof _0xf18a74!=_0x300d7e(0x1eb)?_0xf18a74:Object[_0x300d7e(0x199)](Object[_0x300d7e(0xec)](_0xf18a74)[_0x300d7e(0x1a4)](([_0x54726d,_0x20686a])=>[_0x54726d,ca(_0x20686a)]));}function la(_0x578252,_0x4d4a28,_0x3a1261){const _0x579ac0=_0x5d7830;return _0x578252===_0x579ac0(0x248)||_0x578252==='top'||_0x578252==='outer'&&_0x4d4a28===_0x3a1261['startRow']||_0x578252===_0x579ac0(0x1cb)&&_0x4d4a28>_0x3a1261[_0x579ac0(0x1d1)]||_0x578252===_0x579ac0(0x254)&&_0x4d4a28>_0x3a1261[_0x579ac0(0x1d1)];}function ua(_0x511b71,_0xddb74b,_0x14ed70){const _0x36b8f9=_0x5d7830;return _0x511b71===_0x36b8f9(0x248)||_0x511b71===_0x36b8f9(0x192)||_0x511b71===_0x36b8f9(0x250)&&_0xddb74b===_0x14ed70['endRow'];}function da(_0xb5f9bf,_0x140caf,_0x419ea8){const _0x275c83=_0x5d7830;return _0xb5f9bf===_0x275c83(0x248)||_0xb5f9bf===_0x275c83(0x240)||_0xb5f9bf===_0x275c83(0x250)&&_0x140caf===_0x419ea8[_0x275c83(0x241)]||_0xb5f9bf===_0x275c83(0x12d)&&_0x140caf>_0x419ea8[_0x275c83(0x241)]||_0xb5f9bf===_0x275c83(0x254)&&_0x140caf>_0x419ea8[_0x275c83(0x241)];}function fa(_0x3e5670,_0x375b93,_0xf7a5bc){const _0x426e7e=_0x5d7830;return _0x3e5670===_0x426e7e(0x248)||_0x3e5670==='right'||_0x3e5670==='outer'&&_0x375b93===_0xf7a5bc[_0x426e7e(0x260)];}function pa(_0x34cc65){const _0x2944f5=_0x5d7830;return{'startRow':Math[_0x2944f5(0x234)](_0x34cc65['startRow'],_0x34cc65['endRow']),'endRow':Math['max'](_0x34cc65[_0x2944f5(0x1d1)],_0x34cc65['endRow']),'startColumn':Math[_0x2944f5(0x234)](_0x34cc65['startColumn'],_0x34cc65[_0x2944f5(0x260)]),'endColumn':Math['max'](_0x34cc65['startColumn'],_0x34cc65[_0x2944f5(0x260)])};}function ma(_0x8c877e,_0x4a6712){const _0x5493a2=_0x5d7830;let _0x474ebb=pa(_0x8c877e);for(let _0xd9e51a=_0x474ebb['startRow'];_0xd9e51a<=_0x474ebb[_0x5493a2(0x227)];_0xd9e51a++)for(let _0x590d71=_0x474ebb[_0x5493a2(0x241)];_0x590d71<=_0x474ebb[_0x5493a2(0x260)];_0x590d71++)_0x4a6712(_0xd9e51a,_0x590d71);}function Q(_0x5ddff3,_0x3f1ef3){const _0x44dd87=_0x5d7830;let _0x2a46ad={'color':Object[_0x44dd87(0x1ac)]['hasOwnProperty'][_0x44dd87(0x11c)](_0x3f1ef3,_0x44dd87(0x106))?_0x3f1ef3[_0x44dd87(0x106)]:(_0x5ddff3==null?void 0x0:_0x5ddff3[_0x44dd87(0x106)])??ta[_0x44dd87(0x106)],'width':_0x3f1ef3['width']??(_0x5ddff3==null?void 0x0:_0x5ddff3[_0x44dd87(0x101)])??ta[_0x44dd87(0x101)],'dashStyle':_0x3f1ef3['dashStyle']??(_0x5ddff3==null?void 0x0:_0x5ddff3[_0x44dd87(0x1cf)])};return _0x3f1ef3[_0x44dd87(0x171)]&&delete _0x2a46ad['color'],_0x2a46ad;}function ha(_0x427bab,_0x129dd3,_0x3d233f){const _0x4e0a89=_0x5d7830;if(_0x129dd3[_0x4e0a89(0x1d1)]>0x0){let _0x21c4de=_0x427bab[_0x4e0a89(0xf6)][_0x129dd3[_0x4e0a89(0x1d1)]-0x1];for(let _0x18e82b=_0x129dd3[_0x4e0a89(0x241)];_0x18e82b<=_0x129dd3[_0x4e0a89(0x260)];_0x18e82b++){let _0x238d9b=_0x21c4de==null?void 0x0:_0x21c4de[_0x4e0a89(0xe1)][_0x18e82b];if(!_0x238d9b)throw Error(_0x4e0a89(0x1d0));_0x238d9b['borderBottom']=_0x3d233f[_0x4e0a89(0x209)]?Q(_0x238d9b[_0x4e0a89(0x1c7)],_0x3d233f[_0x4e0a89(0x1d9)]):_0x3d233f[_0x4e0a89(0x1d9)];}}if(_0x129dd3[_0x4e0a89(0x241)]>0x0)for(let _0x47f968=_0x129dd3[_0x4e0a89(0x1d1)];_0x47f968<=_0x129dd3[_0x4e0a89(0x227)];_0x47f968++){var _0x37580f;let _0x459edf=(_0x37580f=_0x427bab['tableRows'][_0x47f968])==null?void 0x0:_0x37580f[_0x4e0a89(0xe1)][_0x129dd3['startColumn']-0x1];if(!_0x459edf)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');_0x459edf[_0x4e0a89(0x1a5)]=_0x3d233f[_0x4e0a89(0x209)]?Q(_0x459edf[_0x4e0a89(0x1a5)],_0x3d233f['left']):_0x3d233f[_0x4e0a89(0x240)];}}const ga={'id':_0x5d7830(0xd5),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x185318,_0x4967ce)=>{let _0x2e18d0=(_0x4967ce==null?void 0x0:_0x4967ce['color'])??(_0x4967ce==null?void 0x0:_0x4967ce['value']);return _0x2e18d0!==void 0x0&&_a(_0x185318,_0x4967ce,_0x2e18d0==null?{'clearColor':!0x0}:{'color':{'rgb':_0x2e18d0}});}};async function _a(_0x26d404,_0x454dd2,_0xb3265){const _0x4f301a=_0x5d7830;let _0x4c472a=_0x26d404['get'](_0x14f335),_0x28d48b=_0x26d404[_0x4f301a(0x194)](_0x49b00b),_0x36f271=_0x26d404[_0x4f301a(0x194)](J),_0x2355a7=_0x4c472a[_0x4f301a(0x159)](_0x513396[_0x4f301a(0x204)]),_0x3d8082=Xi(_0x36f271),_0x54f158=(_0x454dd2==null?void 0x0:_0x454dd2[_0x4f301a(0x139)])??(_0x3d8082==null?void 0x0:_0x3d8082['tableId']),_0x5800ed=B(_0x454dd2,_0x3d8082);if(!_0x2355a7||!_0x54f158||!_0x5800ed)return!0x1;let _0x3bf0b1=z(_0x454dd2,_0x3d8082),_0xe8ca31=V(_0x2355a7,_0x3bf0b1);if(!_0xe8ca31)return!0x1;let _0x1e54ad=aa({'documentData':_0xe8ca31,'tableId':_0x54f158,..._0x5800ed,'border':_0xb3265}),_0x22afa2=G(_0x28d48b,_0x2355a7[_0x4f301a(0x161)](),_0xe8ca31,_0x1e54ad,{'tableId':_0x54f158,'segmentId':_0x3bf0b1,..._0x5800ed});return _0x22afa2&&_0x36f271[_0x4f301a(0x245)]({'kind':(_0x3d8082==null?void 0x0:_0x3d8082[_0x4f301a(0x133)])??_0x4f301a(0x1ca),'tableId':_0x54f158,'segmentId':_0x3bf0b1,..._0x5800ed}),_0x22afa2;}const va={'id':_0x5d7830(0x1b1),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x43664d,_0x29f9bc)=>{const _0x3160e8=_0x5d7830;let _0xaa9bbe=(_0x29f9bc==null?void 0x0:_0x29f9bc[_0x3160e8(0x1cf)])??(_0x29f9bc==null?void 0x0:_0x29f9bc['value']);return _0xaa9bbe!=null&&_a(_0x43664d,_0x29f9bc,{'dashStyle':ya(_0xaa9bbe)});}};function ya(_0xbb160){const _0xaa46f4=_0x5d7830;return typeof _0xbb160==_0xaa46f4(0x238)?_0xbb160:_0xbb160===_0xaa46f4(0x15d)?_0x52fb3c[_0xaa46f4(0x23e)]:_0xbb160==='dash'?_0x52fb3c[_0xaa46f4(0x1e8)]:_0x52fb3c[_0xaa46f4(0x1b4)];}const ba={'id':_0x5d7830(0x1a7),'type':_0x1c53ef['COMMAND'],'handler':async(_0x344fbf,_0x3e8605)=>{const _0xd1131e=_0x5d7830;let _0x4173d0=(_0x3e8605==null?void 0x0:_0x3e8605[_0xd1131e(0x101)])??(_0x3e8605==null?void 0x0:_0x3e8605[_0xd1131e(0x23c)]);return _0x4173d0!=null&&_a(_0x344fbf,_0x3e8605,{'width':{'v':_0x4173d0}});}},xa={'id':_0x5d7830(0xdc),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x2dc504,_0x108a6c)=>{const _0x84f9a3=_0x5d7830;if(!_0x108a6c)return!0x1;let _0x44b59b=_0x2dc504[_0x84f9a3(0x194)](_0x14f335),_0x9741aa=_0x2dc504['get'](_0x49b00b),_0x37c563=_0x2dc504[_0x84f9a3(0x194)](J),_0x8ac6b2=_0x44b59b['getCurrentUnitOfType'](_0x513396[_0x84f9a3(0x204)]),_0x58a470=Xi(_0x37c563),_0x27b4e1=_0x108a6c['tableId']??(_0x58a470==null?void 0x0:_0x58a470[_0x84f9a3(0x139)]),_0x5bf894=B(_0x108a6c,_0x58a470);if(!_0x8ac6b2||!_0x27b4e1||!_0x5bf894)return!0x1;let _0x2c0e7d=z(_0x108a6c,_0x58a470),_0x312e59=V(_0x8ac6b2,_0x2c0e7d);if(!_0x312e59)return!0x1;let _0x49864b=ra({'documentData':_0x312e59,'tableId':_0x27b4e1,..._0x5bf894,'preset':_0x108a6c['preset'],'border':_0x108a6c[_0x84f9a3(0x19e)]}),_0x5e07e3=G(_0x9741aa,_0x8ac6b2['getUnitId'](),_0x312e59,_0x49864b,{'tableId':_0x27b4e1,'segmentId':_0x2c0e7d,..._0x5bf894});return _0x5e07e3&&_0x37c563[_0x84f9a3(0x245)]({'kind':(_0x58a470==null?void 0x0:_0x58a470[_0x84f9a3(0x133)])??_0x84f9a3(0x1ca),'tableId':_0x27b4e1,'segmentId':_0x2c0e7d,..._0x5bf894}),_0x5e07e3;}},Sa={'id':'docs-table.command.set-table-vertical-align','type':_0x1c53ef['COMMAND'],'handler':async(_0x511de8,_0xb83aa2)=>{const _0x8330f1=_0x5d7830;let _0x2251f8=_0xb83aa2==null?void 0x0:_0xb83aa2[_0x8330f1(0x23c)];if(_0x2251f8==null)return!0x1;let _0x13790b=_0x511de8[_0x8330f1(0x194)](_0x14f335),_0x2f35be=_0x511de8[_0x8330f1(0x194)](_0x49b00b),_0x5107f9=_0x511de8[_0x8330f1(0x194)](J),_0x550e31=_0x13790b['getCurrentUnitOfType'](_0x513396[_0x8330f1(0x204)]),_0x55d9b2=Ca(_0x5107f9),_0x173273=(_0xb83aa2==null?void 0x0:_0xb83aa2[_0x8330f1(0x139)])??(_0x55d9b2==null?void 0x0:_0x55d9b2[_0x8330f1(0x139)]),_0x37f370=B(_0xb83aa2,_0x55d9b2);if(!_0x550e31||!_0x173273||!_0x37f370)return!0x1;let _0x16e5d9=z(_0xb83aa2,_0x55d9b2),_0xf59cc8=V(_0x550e31,_0x16e5d9);if(!_0xf59cc8||!wa(_0xf59cc8,_0x173273,_0x37f370))return!0x1;let _0x367bc1=Ta(_0xf59cc8,{'tableId':_0x173273,..._0x37f370,'value':_0x2251f8}),_0xb2d5d2=G(_0x2f35be,_0x550e31['getUnitId'](),_0xf59cc8,_0x367bc1,{'tableId':_0x173273,'segmentId':_0x16e5d9,..._0x37f370});return _0xb2d5d2&&_0x5107f9[_0x8330f1(0x245)]({'kind':(_0x55d9b2==null?void 0x0:_0x55d9b2[_0x8330f1(0x133)])??_0x8330f1(0x1ca),'tableId':_0x173273,'segmentId':_0x16e5d9,..._0x37f370}),_0xb2d5d2;}};function Ca(_0x5a5d68){const _0x5f1afc=_0x5d7830;var _0x3b6efd;return((_0x3b6efd=_0x5a5d68[_0x5f1afc(0x20a)])==null?void 0x0:_0x3b6efd[_0x5f1afc(0x11c)](_0x5a5d68))??_0x5a5d68[_0x5f1afc(0x193)]();}function wa(_0x58f04c,_0x171f81,_0x242b35){const _0x4c349a=_0x5d7830;var _0x26f88d;let _0x147344=(_0x26f88d=_0x58f04c[_0x4c349a(0x230)])==null?void 0x0:_0x26f88d[_0x171f81];if(!_0x147344)return!0x1;let _0x35d29e=Ea(_0x242b35);for(let _0x3f110c=_0x35d29e[_0x4c349a(0x1d1)];_0x3f110c<=_0x35d29e[_0x4c349a(0x227)];_0x3f110c++)for(let _0x1b0009=_0x35d29e[_0x4c349a(0x241)];_0x1b0009<=_0x35d29e[_0x4c349a(0x260)];_0x1b0009++){var _0x3f0cdf;if(!((_0x3f0cdf=_0x147344[_0x4c349a(0xf6)][_0x3f110c])!=null&&_0x3f0cdf['tableCells'][_0x1b0009]))return!0x1;}return!0x0;}function Ta(_0x36bc60,_0x5aaaaa){const _0x239b0b=_0x5d7830;var _0x1e8545;let _0x5bca47=(_0x1e8545=_0x36bc60[_0x239b0b(0x230)])==null?void 0x0:_0x1e8545[_0x5aaaaa[_0x239b0b(0x139)]];if(!_0x5bca47)return null;let _0x394315=_0x50737a['getInstance'](),_0x5414a4=Ea(_0x5aaaaa),_0xb91df6=[];for(let _0xb74f03=_0x5414a4[_0x239b0b(0x1d1)];_0xb74f03<=_0x5414a4['endRow'];_0xb74f03++)for(let _0x3d3c16=_0x5414a4[_0x239b0b(0x241)];_0x3d3c16<=_0x5414a4['endColumn'];_0x3d3c16++){var _0x3c70de;let _0x42cbe8=(_0x3c70de=_0x5bca47['tableRows'][_0xb74f03])==null?void 0x0:_0x3c70de['tableCells'][_0x3d3c16];if(!_0x42cbe8)return null;_0x42cbe8[_0x239b0b(0x200)]!==_0x5aaaaa[_0x239b0b(0x23c)]&&_0xb91df6['push'](_0x42cbe8['vAlign']===void 0x0?_0x394315[_0x239b0b(0x11b)]([_0x239b0b(0x230),_0x5aaaaa[_0x239b0b(0x139)],'tableRows',_0xb74f03,_0x239b0b(0xe1),_0x3d3c16,_0x239b0b(0x200)],_0x5aaaaa[_0x239b0b(0x23c)]):_0x394315['replaceOp'](['tableSource',_0x5aaaaa[_0x239b0b(0x139)],_0x239b0b(0xf6),_0xb74f03,_0x239b0b(0xe1),_0x3d3c16,_0x239b0b(0x200)],_0x42cbe8[_0x239b0b(0x200)],_0x5aaaaa[_0x239b0b(0x23c)]));}return _0xb91df6['reduce']((_0x16d28d,_0x51a106)=>_0x50737a[_0x239b0b(0x118)](_0x16d28d,_0x51a106),null);}function Ea(_0x4ee340){const _0x237860=_0x5d7830;return{'startRow':Math[_0x237860(0x234)](_0x4ee340['startRow'],_0x4ee340[_0x237860(0x227)]),'endRow':Math[_0x237860(0x1fc)](_0x4ee340[_0x237860(0x1d1)],_0x4ee340[_0x237860(0x227)]),'startColumn':Math[_0x237860(0x234)](_0x4ee340[_0x237860(0x241)],_0x4ee340['endColumn']),'endColumn':Math[_0x237860(0x1fc)](_0x4ee340[_0x237860(0x241)],_0x4ee340[_0x237860(0x260)])};}const Da={'id':_0x5d7830(0x1df),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x224c5a,_0x5ceeb2)=>{const _0x34dbf8=_0x5d7830;if(!_0x5ceeb2)return!0x1;let _0x215c34=_0x224c5a[_0x34dbf8(0x194)](_0x14f335),_0x3fb6da=_0x224c5a['get'](_0x49b00b),_0x214775=_0x224c5a[_0x34dbf8(0x194)](J),_0x38b773=_0x224c5a[_0x34dbf8(0x194)](R),_0x46bbfb=_0x215c34[_0x34dbf8(0x159)](_0x513396[_0x34dbf8(0x204)]),_0x224b3a=_0x214775[_0x34dbf8(0x193)](),_0x3f321d=_0x5ceeb2[_0x34dbf8(0x139)]??(_0x224b3a==null?void 0x0:_0x224b3a[_0x34dbf8(0x139)]),_0x28f754=_0x5ceeb2[_0x34dbf8(0x17d)]??(_0x224b3a==null?void 0x0:_0x224b3a['startColumn']);if(!_0x46bbfb||!_0x3f321d||_0x28f754==null)return!0x1;let _0x4d0c94=_0x46bbfb[_0x34dbf8(0x11e)](),_0x5d1540=z(_0x5ceeb2,_0x224b3a),_0x52dc6b=V(_0x46bbfb,_0x5d1540);if(!_0x52dc6b)return!0x1;let _0x1e588=or(_0x52dc6b,ct(_0x46bbfb[_0x34dbf8(0x11e)](),_0x38b773['serialize'](_0x46bbfb[_0x34dbf8(0x161)]())),_0x3f321d,_0x28f754,_0x5ceeb2['direction'],K(_0x4d0c94,_0x5d1540));return G(_0x3fb6da,_0x46bbfb[_0x34dbf8(0x161)](),_0x52dc6b,_0x1e588);}},Oa={'id':_0x5d7830(0x11d),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x485f94,_0x31212f)=>{const _0x25e486=_0x5d7830;let _0x1213a7=_0x485f94[_0x25e486(0x194)](_0x14f335),_0x235c7a=_0x485f94[_0x25e486(0x194)](_0x49b00b),_0x2c6bc6=_0x485f94[_0x25e486(0x194)](J),_0x2eb05c=_0x1213a7[_0x25e486(0x159)](_0x513396[_0x25e486(0x204)]),_0x4b3a68=_0x2c6bc6[_0x25e486(0x20a)](),_0x5085ec=(_0x31212f==null?void 0x0:_0x31212f[_0x25e486(0x139)])??(_0x4b3a68==null?void 0x0:_0x4b3a68[_0x25e486(0x139)]),_0x4dbcbb=B(_0x31212f,_0x4b3a68);if(!_0x2eb05c||!_0x5085ec||!_0x4dbcbb)return!0x1;let _0x2a1f23=z(_0x31212f,_0x4b3a68),_0x49c9ae=V(_0x2eb05c,_0x2a1f23);if(!_0x49c9ae||!Fe(_0x49c9ae,_0x5085ec,_0x4dbcbb))return!0x1;let _0x28b9f5=ze({'documentData':_0x49c9ae,'tableId':_0x5085ec,..._0x4dbcbb});if(!_0x28b9f5)return!0x1;let _0x58b230=G(_0x235c7a,_0x2eb05c[_0x25e486(0x161)](),_0x49c9ae,_0x28b9f5['actions'],{'tableId':_0x5085ec,'segmentId':_0x2a1f23,..._0x28b9f5['range']});return _0x58b230&&_0x2c6bc6[_0x25e486(0x245)]({'kind':_0x25e486(0x1ca),'tableId':_0x5085ec,'segmentId':_0x2a1f23,..._0x28b9f5[_0x25e486(0x1ca)]}),_0x58b230;}};function ka(_0x2af0ea){const _0x29b3c3=_0x5d7830;let _0x362548=new DOMParser()[_0x29b3c3(0x22c)](_0x2af0ea,_0x29b3c3(0x1fb));return Array[_0x29b3c3(0x21b)](_0x362548[_0x29b3c3(0x119)](_0x29b3c3(0x1af)))[_0x29b3c3(0x1a4)](_0x2f6184=>Fa(_0x2f6184));}function Aa(_0x597b59){const _0x5a4cef=_0x5d7830;if(!_0x597b59[_0x5a4cef(0x1bd)]('\x09'))return null;let _0xa9ed2=_0x597b59[_0x5a4cef(0x16c)](/\r\n|\r|\n/);return _0xa9ed2[_0xa9ed2[_0x5a4cef(0x146)]-0x1]===''&&_0xa9ed2[_0x5a4cef(0xf8)](),_0xa9ed2[_0x5a4cef(0x146)]===0x0?null:'<table><tbody>'+_0xa9ed2[_0x5a4cef(0x1a4)](_0x524eb2=>_0x5a4cef(0x13a)+_0x524eb2['split']('\x09')[_0x5a4cef(0x1a4)](_0x55d050=>_0x5a4cef(0xd4)+Ka(_0x55d050)+_0x5a4cef(0x1ef))[_0x5a4cef(0x19c)]('')+_0x5a4cef(0xe5))['join']('')+_0x5a4cef(0x1a3);}function ja(_0x26d855){const _0x3b804e=_0x5d7830;var _0x177bd4,_0x26211a;let _0xb20adf=(_0x177bd4=_0x26d855[_0x3b804e(0xd2)][_0x3b804e(0x230)])==null?void 0x0:_0x177bd4[_0x26d855['tableId']];if(!_0xb20adf)throw Error(_0x3b804e(0x1e1)+_0x26d855[_0x3b804e(0x139)]+_0x3b804e(0x127));let _0xfc7fb5=Ia(_0x26d855),_0x1069e8=_0x26d855[_0x3b804e(0xd2)],_0x35bd06=_0x26d855[_0x3b804e(0x139)];_0xfc7fb5[_0x3b804e(0x227)]<_0xb20adf[_0x3b804e(0xf6)]['length']-0x1&&(_0x1069e8=gt({'documentData':_0x1069e8,'tableId':_0x35bd06,'startRow':_0xfc7fb5[_0x3b804e(0x227)]+0x1,'endRow':_0xb20adf[_0x3b804e(0xf6)][_0x3b804e(0x146)]-0x1})[_0x3b804e(0x1c8)]),_0xfc7fb5[_0x3b804e(0x1d1)]>0x0&&(_0x1069e8=gt({'documentData':_0x1069e8,'tableId':_0x35bd06,'startRow':0x0,'endRow':_0xfc7fb5['startRow']-0x1})[_0x3b804e(0x1c8)]),_0xfc7fb5[_0x3b804e(0x260)]<_0xb20adf[_0x3b804e(0x110)][_0x3b804e(0x146)]-0x1&&(_0x1069e8=_t({'documentData':_0x1069e8,'tableId':_0x35bd06,'startColumn':_0xfc7fb5[_0x3b804e(0x260)]+0x1,'endColumn':_0xb20adf[_0x3b804e(0x110)][_0x3b804e(0x146)]-0x1})[_0x3b804e(0x1c8)]),_0xfc7fb5[_0x3b804e(0x241)]>0x0&&(_0x1069e8=_t({'documentData':_0x1069e8,'tableId':_0x35bd06,'startColumn':0x0,'endColumn':_0xfc7fb5[_0x3b804e(0x241)]-0x1})['nextDocumentData']);let _0x51b1bf=(_0x26211a=_0x1069e8[_0x3b804e(0x15c)])==null||(_0x26211a=_0x26211a[_0x3b804e(0x217)])==null?void 0x0:_0x26211a[_0x3b804e(0x1cd)](_0x47f7ad=>_0x47f7ad[_0x3b804e(0x139)]===_0x35bd06);if(!_0x51b1bf||!_0x1069e8[_0x3b804e(0x15c)])throw Error(_0x3b804e(0x1e1)+_0x35bd06+'\x20has\x20no\x20body\x20range.');let _0x286b99=_0x47c22a(_0x1069e8[_0x3b804e(0x15c)],_0x51b1bf[_0x3b804e(0x1b5)],_0x51b1bf[_0x3b804e(0x184)],!0x1,_0x297797[_0x3b804e(0x140)]);return{..._0x1069e8,'body':_0x286b99,'tableSource':Object[_0x3b804e(0x199)]((_0x286b99[_0x3b804e(0x217)]??[])[_0x3b804e(0x1a4)](_0x1f2d00=>[_0x1f2d00['tableId'],_0x1069e8[_0x3b804e(0x230)][_0x1f2d00['tableId']]]))};}function Ma(_0x3c4594){const _0x567072=_0x5d7830;var _0xd682;let _0x1d1255=w(_0x3c4594[_0x567072(0xd2)],_0x3c4594[_0x567072(0x139)]),_0x29841f=(_0xd682=_0x3c4594['documentData'][_0x567072(0x15c)])==null?void 0x0:_0xd682['dataStream'];if(!_0x1d1255||!_0x29841f)throw Error(_0x567072(0x1e1)+_0x3c4594[_0x567072(0x139)]+_0x567072(0x127));let _0x52b37c=Ia(_0x3c4594),_0x207afe=[];for(let _0x512c56=_0x52b37c[_0x567072(0x1d1)];_0x512c56<=_0x52b37c[_0x567072(0x227)];_0x512c56++){let _0x40c04e=[];for(let _0x5194da=_0x52b37c[_0x567072(0x241)];_0x5194da<=_0x52b37c[_0x567072(0x260)];_0x5194da++){var _0x22be68;let _0x3c689a=(_0x22be68=_0x1d1255[_0x567072(0x197)][_0x512c56])==null?void 0x0:_0x22be68[_0x567072(0x1dd)][_0x5194da];_0x40c04e[_0x567072(0x1c9)](_0x3c689a?La(_0x29841f,_0x3c689a[_0x567072(0x189)],_0x3c689a[_0x567072(0xeb)]):'');}_0x207afe[_0x567072(0x1c9)](_0x40c04e);}return _0x207afe[_0x567072(0x1a4)](_0x2af299=>_0x2af299[_0x567072(0x19c)]('\x09'))[_0x567072(0x19c)]('\x0a');}function Na(_0x385a38,_0x3b9a83=[_0x5d7830(0x15c)]){const _0x17c23e=_0x5d7830;var _0x49ad5d;let _0x4cb005=w(_0x385a38[_0x17c23e(0xd2)],_0x385a38[_0x17c23e(0x139)]);if(!_0x4cb005||!((_0x49ad5d=_0x385a38['documentData'][_0x17c23e(0x15c)])!=null&&_0x49ad5d[_0x17c23e(0xf0)]))throw Error(_0x17c23e(0x1e1)+_0x385a38[_0x17c23e(0x139)]+_0x17c23e(0x127));let _0xbdbae2=_0x385a38[_0x17c23e(0x1ad)][_0x17c23e(0x16c)](/\r\n|\r|\n/)[_0x17c23e(0x1a4)](_0x357384=>_0x357384[_0x17c23e(0x16c)]('\x09')),_0x2ef745=[];for(let _0x31fd8d=0x0;_0x31fd8d<_0xbdbae2[_0x17c23e(0x146)];_0x31fd8d++)for(let _0x2141c5=0x0;_0x2141c5<_0xbdbae2[_0x31fd8d]['length'];_0x2141c5++){var _0x549a30;let _0x486c30=(_0x549a30=_0x4cb005[_0x17c23e(0x197)][_0x385a38[_0x17c23e(0x1d1)]+_0x31fd8d])==null?void 0x0:_0x549a30['cells'][_0x385a38[_0x17c23e(0x241)]+_0x2141c5];_0x486c30&&_0x2ef745[_0x17c23e(0x1c9)]({'startOffset':_0x486c30[_0x17c23e(0x189)]+0x1,'endOffset':_0x486c30['endOffset'],'text':_0xbdbae2[_0x31fd8d][_0x2141c5]+'\x0d\x0a'});}return F(_0x385a38[_0x17c23e(0xd2)],_0x2ef745,_0x3b9a83);}function Pa(_0x52bc94){const _0x2d3b5d=_0x5d7830;let _0x51093f=new DOMParser()[_0x2d3b5d(0x22c)](_0x52bc94,_0x2d3b5d(0x1fb))[_0x2d3b5d(0x23b)](_0x2d3b5d(0x1af));return _0x51093f?Fa(_0x51093f):{'rows':[],'columnWidths':[]};}function Fa(_0x10290f){const _0x15142f=_0x5d7830;let _0x4ceef9=Array[_0x15142f(0x21b)](_0x10290f['querySelectorAll'](_0x15142f(0x167)))[_0x15142f(0x1a4)](_0x147c4a=>za(_0x147c4a[_0x15142f(0x1ce)]('width'),_0x147c4a[_0x15142f(0x1ce)](_0x15142f(0x1dc)),_0x15142f(0x101))),_0x357161=[],_0x890b03=new Map();Array[_0x15142f(0x21b)](_0x10290f[_0x15142f(0x119)]('tr'))[_0x15142f(0x1fa)]((_0x3323ea,_0x377c47)=>{const _0x4d125e=_0x15142f;let _0x2ef979={'cells':[],'height':za(_0x3323ea[_0x4d125e(0x1ce)](_0x4d125e(0x253)),_0x3323ea[_0x4d125e(0x1ce)](_0x4d125e(0x1dc)),_0x4d125e(0x253))},_0x2279c5=0x0;for(Array[_0x4d125e(0x21b)](_0x3323ea[_0x4d125e(0x13f)])[_0x4d125e(0x22b)](_0x1f22d4=>_0x1f22d4[_0x4d125e(0x19d)]['toLowerCase']()==='td'||_0x1f22d4[_0x4d125e(0x19d)][_0x4d125e(0x132)]()==='th')[_0x4d125e(0x1fa)](_0x114be3=>{const _0x4d8ecf=_0x4d125e;for(;_0x890b03[_0x4d8ecf(0x150)](_0x377c47+':'+_0x2279c5);)_0x2ef979[_0x4d8ecf(0x1dd)][_0x2279c5]=null,_0x2279c5++;let _0x4e3416=Math[_0x4d8ecf(0x1fc)](0x1,Number(_0x114be3['getAttribute'](_0x4d8ecf(0x163))??0x1)),_0x40c9c6=Math['max'](0x1,Number(_0x114be3['getAttribute']('colspan')??0x1)),_0x47c37b=_0x114be3['getAttribute'](_0x4d8ecf(0x1dc))??'';_0x2ef979['cells'][_0x2279c5]={'html':_0x114be3[_0x4d8ecf(0x207)],'text':Ra(_0x114be3[_0x4d8ecf(0x12a)]??''),'rowSpan':_0x4e3416,'colSpan':_0x40c9c6,'backgroundColor':Ba(_0x47c37b,'background-color')??Ba(_0x47c37b,_0x4d8ecf(0x175)),'borderColor':Ha(_0x47c37b),'borderWidth':Ua(_0x47c37b)};let _0x1315d3=za(_0x114be3[_0x4d8ecf(0x1ce)](_0x4d8ecf(0x101)),_0x47c37b,'width');_0x1315d3!=null&&_0x4ceef9[_0x2279c5]==null&&(_0x4ceef9[_0x2279c5]=_0x1315d3);for(let _0x5f2239=0x0;_0x5f2239<_0x4e3416;_0x5f2239++)for(let _0x457f61=0x0;_0x457f61<_0x40c9c6;_0x457f61++)(_0x5f2239!==0x0||_0x457f61!==0x0)&&_0x890b03[_0x4d8ecf(0xfc)](_0x377c47+_0x5f2239+':'+(_0x2279c5+_0x457f61),!0x0);for(let _0x585714=0x1;_0x585714<_0x40c9c6;_0x585714++)_0x2ef979[_0x4d8ecf(0x1dd)][_0x2279c5+_0x585714]=null;_0x2279c5+=_0x40c9c6;});_0x2ef979[_0x4d125e(0x1dd)]['length']<_0x4ceef9[_0x4d125e(0x146)];)_0x2ef979['cells'][_0x4d125e(0x1c9)](null);_0x357161[_0x4d125e(0x1c9)](_0x2ef979);});let _0x5e9f55=Math[_0x15142f(0x1fc)](_0x4ceef9[_0x15142f(0x146)],..._0x357161['map'](_0x48ba41=>_0x48ba41[_0x15142f(0x1dd)]['length']));for(;_0x4ceef9['length']<_0x5e9f55;)_0x4ceef9[_0x15142f(0x1c9)](void 0x0);return _0x357161[_0x15142f(0x1fa)](_0x2badae=>{const _0x3946c6=_0x15142f;for(;_0x2badae['cells'][_0x3946c6(0x146)]<_0x5e9f55;)_0x2badae[_0x3946c6(0x1dd)][_0x3946c6(0x1c9)](null);}),{'columnWidths':_0x4ceef9,'rows':_0x357161};}function Ia(_0x43613a){const _0x37127a=_0x5d7830;return{'startRow':Math[_0x37127a(0x234)](_0x43613a[_0x37127a(0x1d1)],_0x43613a[_0x37127a(0x227)]),'endRow':Math[_0x37127a(0x1fc)](_0x43613a['startRow'],_0x43613a[_0x37127a(0x227)]),'startColumn':Math[_0x37127a(0x234)](_0x43613a[_0x37127a(0x241)],_0x43613a['endColumn']),'endColumn':Math[_0x37127a(0x1fc)](_0x43613a['startColumn'],_0x43613a['endColumn'])};}function La(_0x3a0419,_0x30b7d,_0x581abb){const _0x493a1d=_0x5d7830;return _0x3a0419['slice'](_0x30b7d+0x1,_0x581abb)[_0x493a1d(0x173)](/\r/g,'\x0a')[_0x493a1d(0x173)](/[\x00-\x08\v\f\x0E-\x1F]/g,'')[_0x493a1d(0x173)](/\n+$/,'');}function Ra(_0x93be0f){const _0x3e4373=_0x5d7830;return _0x93be0f[_0x3e4373(0x173)](/\u00A0/g,'\x20')['replace'](/\s+/g,'\x20')[_0x3e4373(0x259)]();}function za(_0x4d92bc,_0x307ac2,_0x2b88f8){const _0x1961a0=_0x5d7830;let _0x2e5714=_0x307ac2==null?void 0x0:_0x307ac2[_0x1961a0(0x156)](RegExp(_0x2b88f8+_0x1961a0(0x22e),'i'));if(_0x2e5714)return Wa(Number(_0x2e5714[0x1]),_0x2e5714[0x2]);if(!_0x4d92bc)return;let _0x5b7d38=_0x4d92bc[_0x1961a0(0x156)](/([0-9.]+)\s*(px|pt|in|cm|mm)?/i);return _0x5b7d38?Wa(Number(_0x5b7d38[0x1]),_0x5b7d38[0x2]):void 0x0;}function Ba(_0x4d2d78,_0x3c224a){const _0x1d089a=_0x5d7830;var _0xa4d669;let _0x283f65=_0x4d2d78['match'](RegExp(_0x3c224a+_0x1d089a(0x179),'i'));return _0x283f65==null||(_0xa4d669=_0x283f65[0x1])==null?void 0x0:_0xa4d669[_0x1d089a(0x259)]();}function Va(_0x407c6e){const _0x5f2cc1=_0x5d7830;var _0x39ea27;return(_0x39ea27=_0x407c6e['split'](';')['map'](_0x49fd62=>_0x49fd62[_0x5f2cc1(0x259)]())[_0x5f2cc1(0x1cd)](_0x37b298=>/^border(?:-[a-z]+)?\s*:/i[_0x5f2cc1(0x213)](_0x37b298)))==null?void 0x0:_0x39ea27[_0x5f2cc1(0x173)](/^border(?:-[a-z]+)?\s*:\s*/i,'')[_0x5f2cc1(0x259)]();}function Ha(_0x152415){const _0x2879cc=_0x5d7830;var _0x24624a;let _0x178dce=Ba(_0x152415,_0x2879cc(0xd6));if(_0x178dce)return _0x178dce;let _0x2fd008=Va(_0x152415);return(_0x2fd008==null||(_0x24624a=_0x2fd008[_0x2879cc(0x156)](/#[0-9a-f]{3,8}|rgb\([^)]+\)/i))==null?void 0x0:_0x24624a[0x0])||(_0x2fd008==null?void 0x0:_0x2fd008[_0x2879cc(0x16c)](/\s+/)[_0x2879cc(0x1cd)](_0x2e1023=>/^[a-z]+$/i[_0x2879cc(0x213)](_0x2e1023)&&![_0x2879cc(0x143),_0x2879cc(0x15f),'dotted',_0x2879cc(0x269),_0x2879cc(0xd3)][_0x2879cc(0x1bd)](_0x2e1023[_0x2879cc(0x132)]())));}function Ua(_0x2d1f04){const _0x1982f1=_0x5d7830;var _0x5336cc;let _0x13f00c=za(null,Ba(_0x2d1f04,_0x1982f1(0x1bc))??null,_0x1982f1(0x101));if(_0x13f00c!=null)return _0x13f00c;let _0x290796=(_0x5336cc=Va(_0x2d1f04))==null?void 0x0:_0x5336cc[_0x1982f1(0x156)](/([0-9.]+)\s*(px|pt|in|cm|mm)/i);return _0x290796?Wa(Number(_0x290796[0x1]),_0x290796[0x2]):void 0x0;}function Wa(_0x2857db,_0x2c8816){switch(_0x2c8816==null?void 0x0:_0x2c8816['toLowerCase']()){case'pt':return Ga(_0x2857db*0x4/0x3);case'in':return Ga(_0x2857db*0x60);case'cm':return Ga(_0x2857db*0x60/2.54);case'mm':return Ga(_0x2857db*0x60/25.4);default:return Ga(_0x2857db);}}function Ga(_0x5ba66e){const _0x2d7efc=_0x5d7830;return Math[_0x2d7efc(0xcf)](_0x5ba66e*0x64)/0x64;}function Ka(_0x9ed1ea){const _0x304a21=_0x5d7830;return _0x9ed1ea[_0x304a21(0x173)](/&/g,_0x304a21(0xe7))[_0x304a21(0x173)](/</g,_0x304a21(0x20b))['replace'](/>/g,_0x304a21(0xc6))[_0x304a21(0x173)](/\r?\n/g,_0x304a21(0xf4));}const qa='DOC_TABLE_PLUGIN';var Ja='@univerjs-pro/docs-table',Ya=_0x5d7830(0x10d);const Xa={'id':_0x5d7830(0x172),'type':_0x1c53ef[_0x5d7830(0x242)],'handler':async(_0x471e79,_0xc2f08b)=>{const _0xc03df6=_0x5d7830;let _0x4f7714=_0x471e79[_0xc03df6(0x194)](_0x14f335),_0x2db09f=_0x471e79[_0xc03df6(0x194)](J),_0x4089a6=_0x4f7714[_0xc03df6(0x159)](_0x513396[_0xc03df6(0x204)]),_0x28f2c6=_0x2db09f[_0xc03df6(0x193)](),_0x4e2b7f=(_0xc2f08b==null?void 0x0:_0xc2f08b['tableId'])??(_0x28f2c6==null?void 0x0:_0x28f2c6[_0xc03df6(0x139)]),_0x35f1f7=B(_0xc2f08b,_0x28f2c6);if(!_0x4089a6||!_0x4e2b7f||!_0x35f1f7)return!0x1;let _0x20aa18=V(_0x4089a6,z(_0xc2f08b,_0x28f2c6));return _0x20aa18?Ma({'documentData':_0x20aa18,'tableId':_0x4e2b7f,..._0x35f1f7}):!0x1;}},Za={'id':_0x5d7830(0x131),'type':_0x1c53ef['COMMAND'],'handler':async(_0x2f3427,_0x522959)=>{const _0x142036=_0x5d7830;if(!_0x522959)return!0x1;let _0x504a14=_0x2f3427[_0x142036(0x194)](_0x14f335),_0x139d61=_0x2f3427[_0x142036(0x194)](_0x49b00b),_0x58c85d=_0x2f3427['get'](J),_0x363eda=_0x504a14['getCurrentUnitOfType'](_0x513396[_0x142036(0x204)]),_0x3c9348=_0x58c85d['getCurrentSelection'](),_0x2b3ef1=_0x522959[_0x142036(0x139)]??(_0x3c9348==null?void 0x0:_0x3c9348[_0x142036(0x139)]),_0x413ef4=B(_0x522959,_0x3c9348);if(!_0x363eda||!_0x2b3ef1||!_0x413ef4)return!0x1;let _0x3186c2=_0x363eda['getSnapshot'](),_0x2363a1=z(_0x522959,_0x3c9348),_0x4d2e73=V(_0x363eda,_0x2363a1);if(!_0x4d2e73)return!0x1;let _0x95ffac=Na({'documentData':_0x4d2e73,'tableId':_0x2b3ef1,..._0x413ef4,'text':_0x522959['text']},K(_0x3186c2,_0x2363a1));return G(_0x139d61,_0x363eda[_0x142036(0x161)](),_0x4d2e73,_0x95ffac,void 0x0,void 0x0,void 0x0,_0x333b73[_0x142036(0x144)]);}},Qa={};let $a=class extends _0x1d2dfe{constructor(_0x46924f,_0x5a69ee,_0x6094c8){const _0x3253d7=_0x5d7830;super(),this[_0x3253d7(0x267)]=_0x46924f,this[_0x3253d7(0x1f7)]=_0x5a69ee,this['_univerInstanceService']=_0x6094c8,this[_0x3253d7(0xea)]();}[_0x5d7830(0xea)](){const _0x43c0d6=_0x5d7830;this['disposeWithMe'](this[_0x43c0d6(0x267)]['registerPluginResource']({'pluginName':qa,'businesses':[_0x513396[_0x43c0d6(0x204)]],'toJson':_0x44abca=>{const _0x5f1991=_0x43c0d6;let _0x571bb2=this[_0x5f1991(0x1f7)]['serialize'](_0x44abca),_0x40c2f7=this[_0x5f1991(0x251)]['getUnit'](_0x44abca,_0x513396[_0x5f1991(0x204)]);return JSON[_0x5f1991(0x1a1)](_0x40c2f7?ct(_0x40c2f7[_0x5f1991(0x11e)](),_0x571bb2):_0x571bb2);},'parseJson':_0x46a06d=>N(JSON[_0x43c0d6(0x1f3)](_0x46a06d)),'onLoad':(_0x3501bb,_0x1af1b7)=>this[_0x43c0d6(0x1f7)][_0x43c0d6(0x202)](_0x3501bb,_0x1af1b7),'onUnLoad':_0x5937ec=>this[_0x43c0d6(0x1f7)][_0x43c0d6(0x1bb)](_0x5937ec)}));}};$a=Pr([q(0x0,_0x3093ee),q(0x1,_0x3c2cf2(R)),q(0x2,_0x14f335)],$a);let $=class extends _0x3ffdd8{constructor(_0x525262=Qa,_0x5a6d9f,_0x3c6c04,_0xaa0de9){const _0x2833fc=_0x5d7830;super(),this['_config']=_0x525262,this[_0x2833fc(0x232)]=_0x5a6d9f,this[_0x2833fc(0x1e7)]=_0x3c6c04,this[_0x2833fc(0x176)]=_0xaa0de9;let {..._0x363708}=_0x4871ba({},Qa,this[_0x2833fc(0xd8)]);this['_configService'][_0x2833fc(0x220)](_0x2833fc(0x205),_0x363708);}['onStarting'](){const _0x43cf45=_0x5d7830;this[_0x43cf45(0x232)][_0x43cf45(0x177)]([R]),this[_0x43cf45(0x232)][_0x43cf45(0x177)]([$a]),this[_0x43cf45(0x232)][_0x43cf45(0x177)]([J]),this[_0x43cf45(0x232)][_0x43cf45(0x194)](R),this[_0x43cf45(0x232)][_0x43cf45(0x194)]($a),this[_0x43cf45(0x232)][_0x43cf45(0x194)](J),this[_0x43cf45(0x24b)]();}[_0x5d7830(0x24b)](){const _0x37517b=_0x5d7830;[In,Xa,Yr,Xr,Zr,Qr,$r,ei,ni,Ii,zi,Bi,Vi,Hi,Ui,Za,Wi,Gi,Ki,qi,Ji,Yi,xa,ga,va,ba,Sa,Da,Oa][_0x37517b(0x1fa)](_0x49e19b=>this[_0x37517b(0x17a)](this[_0x37517b(0x1e7)]['registerCommand'](_0x49e19b)));}};L($,_0x5d7830(0x169),qa),L($,'packageName',Ja),L($,_0x5d7830(0xdf),Ya),L($,_0x5d7830(0x22d),_0x513396[_0x5d7830(0x204)]),$=Pr([_0x353c90(_0x308d38,_0x691ae3),q(0x1,_0x3c2cf2(_0x466a4d)),q(0x2,_0x49b00b),q(0x3,_0x5a288b)],$);export{ri as DEFAULT_DOCS_TABLE_CELL_MARGIN,qa as DOCS_TABLE_PLUGIN,ea as DocsTableBorderPreset,pt as DocsTableColumnInsertPosition,bn as DocsTableColumnType,Yr as DocsTableDeleteColumnsCommand,Xr as DocsTableDeleteRowsCommand,Zr as DocsTableDeleteTableCommand,Qr as DocsTableDistributeColumnsCommand,$r as DocsTableDistributeRowsCommand,ei as DocsTableInsertColumnsCommand,dt as DocsTableInsertPosition,ni as DocsTableInsertRowsCommand,Ii as DocsTableInsertTableCommand,li as DocsTableInsertTablePosition,zi as DocsTableInsertTitleRowCommand,Bi as DocsTableMergeCellsCommand,R as DocsTableModel,Vi as DocsTableMoveColumnsCommand,Hi as DocsTableMoveRowsCommand,Ui as DocsTableMoveTableCommand,Wi as DocsTableResizeColumnCommand,Gi as DocsTableResizeRowCommand,ft as DocsTableRowInsertPosition,xn as DocsTableSelectionKind,J as DocsTableSelectionService,Sn as DocsTableSelectionSource,Ki as DocsTableSetColumnTypeCommand,qi as DocsTableSetHeaderRowCountCommand,Ji as DocsTableSetTableAlignCommand,Yi as DocsTableSetTableBackgroundCommand,ga as DocsTableSetTableBorderColorCommand,xa as DocsTableSetTableBorderCommand,va as DocsTableSetTableBorderStyleCommand,ba as DocsTableSetTableBorderWidthCommand,Sa as DocsTableSetTableVerticalAlignCommand,Cn as DocsTableSortDirection,Da as DocsTableSortTableCommand,Oa as DocsTableUnmergeCellsCommand,$ as UniverDocsTablePlugin,_t as buildDeleteColumnsActions,gt as buildDeleteRowsActions,vt as buildDeleteTableActions,er as buildDeleteTableColumnsMutationActions,vr as buildDeleteTableMutationActions,_r as buildDeleteTableRowsMutationActions,sn as buildDistributeColumnsActions,on as buildDistributeRowsActions,Wn as buildDistributeTableColumnsMutationActions,Un as buildDistributeTableRowsMutationActions,ht as buildInsertColumnsActions,mt as buildInsertRowsActions,Kn as buildInsertTableColumnsMutationActions,mr as buildInsertTableRowsMutationActions,gr as buildInsertTableTitleRowMutationActions,rn as buildInsertTitleRowActions,Ie as buildMergeCellsActions,Le as buildMergeCellsMutationActions,bt as buildMoveColumnsActions,zn as buildMoveFloatingTableMutationActions,yt as buildMoveRowsActions,un as buildMoveTableActions,rr as buildMoveTableColumnsMutationActions,nr as buildMoveTableRowsMutationActions,Bn as buildMoveTableToOffsetMutationActions,Na as buildPastePlainTextTableMutationActions,ln as buildResizeColumnActions,cn as buildResizeRowActions,Ln as buildResizeTableColumnActionsFromWidth,Hn as buildResizeTableRowActionsFromHeight,an as buildSetHeaderRowCountActions,Zi as buildSetTableBackgroundMutationActions,na as buildSetTableBorderActions,ra as buildSetTableBorderMutationActions,ia as buildSetTableCellBackgroundActions,ii as buildSetTableCellMarginMutationActions,Jt as buildSetTableCellTextActions,qt as buildSetTableCellTextMutationActions,ai as buildSetTableDefaultCellMarginMutationActions,Gn as buildSetTableHeaderRowCountMutationActions,wn as buildSortTableActions,or as buildSortTableMutationActions,Re as buildUnmergeCellsActions,ze as buildUnmergeCellsMutationActions,Pe as canMergeCells,Fe as canUnmergeCells,Aa as convertPlainTextTableToHtml,G as executeRichTextTableActions,K as getTableActionBodyPath,w as getTableRangeById,Pa as parseHtmlTableClipboard,ka as parseHtmlTablesClipboard,ja as serializeTableSelectionAsDocument,Ma as serializeTableSelectionAsPlainText};
|
|
1
|
+
const _0x1d6dc9=_0x126e;(function(_0x594ec0,_0x97b30e){const _0xaca324=_0x126e,_0x292c00=_0x594ec0();while(!![]){try{const _0x30d50f=-parseInt(_0xaca324(0x110))/0x1*(parseInt(_0xaca324(0x133))/0x2)+parseInt(_0xaca324(0x251))/0x3*(parseInt(_0xaca324(0x1ac))/0x4)+parseInt(_0xaca324(0x27f))/0x5+-parseInt(_0xaca324(0x25c))/0x6+parseInt(_0xaca324(0x23d))/0x7+-parseInt(_0xaca324(0x266))/0x8*(parseInt(_0xaca324(0x273))/0x9)+-parseInt(_0xaca324(0x27d))/0xa*(-parseInt(_0xaca324(0x15a))/0xb);if(_0x30d50f===_0x97b30e)break;else _0x292c00['push'](_0x292c00['shift']());}catch(_0xbef704){_0x292c00['push'](_0x292c00['shift']());}}}(_0x4369,0xa3b9c));import{BooleanNumber as _0x2d71c7,CommandType as _0x2f0499,DOC_RANGE_TYPE as _0x3ad6ba,DashStyleType as _0x1f95b7,DataStreamTreeTokenType as _0x22fbb3,DependentOn as _0x2f57eb,Disposable as _0x3ab5bb,DocumentFlavor as _0x4ee47a,ICommandService as _0x49cedb,IConfigService as _0x27387e,IResourceManagerService as _0x4cd393,IUniverInstanceService as _0x147405,Inject as _0x5ce2eb,Injector as _0xb9a018,JSONX as _0x2542db,ObjectRelativeFromH as _0x4d53ac,ObjectRelativeFromV as _0x5cbbcc,Plugin as _0x38047c,SliceBodyType as _0x52a43d,TableAlignmentType as _0x967e1f,TableRowHeightRule as _0x476a6d,TableSizeType as _0x294639,TableTextWrapType as _0x4bef24,TextX as _0x5c651d,TextXActionType as _0x12d20f,Tools as _0xe08884,UniverInstanceType as _0x21a03b,containsInteriorInsertionOffset as _0x69b780,createParagraphId as _0x52b0f4,createSectionId as _0xb40d83,generateRandomId as _0x15f046,getBlockRangeInterval as _0x92fc61,getBodySlice as _0x3b2e3d,getBodySliceForTextXAction as _0x33d936,getCustomBlockIdsInSelections as _0x5ef3e6,getParagraphContentStartOffset as _0x484d2a,getTableCellTokenInterval as _0x1c1356,getTableRangeInterval as _0x54a35a,getTableRowTokenInterval as _0x3c854b,merge as _0x5469fd}from'@univerjs/core';import{DocHistoryAction as _0x48cabd,DocSelectionManagerService as _0x35bfb0,RichTextEditingMutation as _0x506474,UniverDocsPlugin as _0x2c5028,getContentInsertRange as _0x3fce68}from'@univerjs/docs';import{Subject as _0x53fdd2}from'rxjs';import{UniverLicensePlugin as _0x3fe29e}from'@univerjs-pro/license';function w(_0x3b598a,_0x125f11){const _0xf85ab3=_0x126e;var _0x4742e8,_0x346a4c,_0x33ea08;let _0xdba300=(_0x4742e8=_0x3b598a[_0xf85ab3(0x147)])==null||(_0x4742e8=_0x4742e8[_0xf85ab3(0x14f)])==null?void 0x0:_0x4742e8[_0xf85ab3(0x121)](_0x5ea593=>_0x5ea593[_0xf85ab3(0x170)]===_0x125f11),_0x3e6c6e=(_0x346a4c=_0x3b598a[_0xf85ab3(0xfe)])==null?void 0x0:_0x346a4c[_0x125f11],_0x1fda88=(_0x33ea08=_0x3b598a[_0xf85ab3(0x147)])==null?void 0x0:_0x33ea08[_0xf85ab3(0x10f)];if(!_0xdba300||!_0x3e6c6e||!_0x1fda88)return null;let _0x46696e=_0x54a35a(_0xdba300);return _0x1fda88[_0x46696e[_0xf85ab3(0x113)]]!==_0x22fbb3[_0xf85ab3(0x158)]||_0x1fda88[_0x46696e[_0xf85ab3(0x1d6)]-0x1]!==_0x22fbb3[_0xf85ab3(0x1d8)]?null:we(_0x1fda88,_0x46696e['startOffset'],_0x46696e[_0xf85ab3(0x1d6)],_0x125f11,_0x3e6c6e);}function T(_0x24a63d,_0x15c60e){const _0x38b374=_0x126e;let _0x5e30b5=_0x24a63d['rows'][_0x15c60e];if(!_0x5e30b5)throw Error('[DocsTable]:\x20Row\x20'+_0x15c60e+_0x38b374(0x197));return _0x5e30b5;}function Ce(_0x5af432,_0x616264){const _0x24896f=_0x126e;let _0x35a901=_0x5af432[_0x24896f(0x244)][_0x24896f(0x202)](_0xa6ad60=>_0xa6ad60[_0x24896f(0x282)][_0x616264])[_0x24896f(0x26c)](Boolean);if(_0x35a901['length']===0x0)throw Error(_0x24896f(0xea)+_0x616264+'\x20is\x20out\x20of\x20range.');return{'column':_0x616264,'startOffset':_0x35a901[0x0]['startOffset'],'endOffset':_0x35a901[_0x35a901['length']-0x1]['endOffset'],'cells':_0x35a901};}function we(_0x26e3f4,_0x19246e,_0x2134c0,_0x3b6590,_0x18b06d){const _0x3cb653=_0x126e;var _0x40f68c;let _0x5656e7=[];for(let _0x497081=_0x19246e+0x1;_0x497081<_0x2134c0-0x1;){let _0x20b945=_0x3c854b(_0x26e3f4,_0x497081);if(!_0x20b945||_0x20b945[_0x3cb653(0x1d6)]>_0x2134c0)return null;let _0x1c5bd6={'row':_0x5656e7[_0x3cb653(0x1b5)],'startOffset':_0x20b945[_0x3cb653(0x113)],'endOffset':_0x20b945[_0x3cb653(0x1d6)]-0x1,'cells':[]};for(let _0x3a91f7=_0x20b945[_0x3cb653(0x113)]+0x1;_0x3a91f7<_0x20b945[_0x3cb653(0x1d6)]-0x1;){let _0x4d5614=_0x1c1356(_0x26e3f4,_0x3a91f7);if(!_0x4d5614||_0x4d5614[_0x3cb653(0x1d6)]>_0x20b945[_0x3cb653(0x1d6)])return null;_0x1c5bd6[_0x3cb653(0x282)][_0x3cb653(0x149)]({'row':_0x1c5bd6['row'],'column':_0x1c5bd6[_0x3cb653(0x282)][_0x3cb653(0x1b5)],'startOffset':_0x4d5614[_0x3cb653(0x113)],'endOffset':_0x4d5614[_0x3cb653(0x1d6)]-0x1}),_0x3a91f7=_0x4d5614[_0x3cb653(0x1d6)];}_0x5656e7[_0x3cb653(0x149)](_0x1c5bd6),_0x497081=_0x20b945['endOffset'];}return _0x5656e7[_0x3cb653(0x1b5)]!==_0x18b06d[_0x3cb653(0x167)]['length']||_0x5656e7['some']((_0x216b61,_0x4ef724)=>{const _0x13aaa5=_0x3cb653;var _0x24b648;return _0x216b61[_0x13aaa5(0x282)]['length']!==((_0x24b648=_0x18b06d[_0x13aaa5(0x167)][_0x4ef724])==null?void 0x0:_0x24b648[_0x13aaa5(0x193)][_0x13aaa5(0x1b5)]);})?null:{'tableId':_0x3b6590,'startOffset':_0x19246e,'endOffset':_0x2134c0,'rowCount':_0x5656e7['length'],'columnCount':((_0x40f68c=_0x5656e7[0x0])==null?void 0x0:_0x40f68c[_0x3cb653(0x282)]['length'])??0x0,'tableSource':_0x18b06d,'rows':_0x5656e7};}function Te(_0x35546e,_0x44931b,_0x21e53d){const _0x2da0f5=_0x126e;if(!_0x35546e||_0x35546e['tableId']!==_0x21e53d[_0x2da0f5(0x170)])return _0x35546e;if(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x114))return null;let _0x3f5c45=w(_0x44931b,_0x35546e[_0x2da0f5(0x170)]);if(!_0x3f5c45)return null;let _0x201ace={..._0x35546e};if(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x10b))_0x201ace['startRow']=Ee(_0x201ace['startRow'],_0x21e53d[_0x2da0f5(0x18b)],_0x21e53d[_0x2da0f5(0x1ae)]),_0x201ace[_0x2da0f5(0x1ee)]=Ee(_0x201ace[_0x2da0f5(0x1ee)],_0x21e53d['index'],_0x21e53d['count']);else{if(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x227))_0x201ace[_0x2da0f5(0x136)]=Ee(_0x201ace[_0x2da0f5(0x136)],_0x21e53d[_0x2da0f5(0x18b)],_0x21e53d[_0x2da0f5(0x1ae)]),_0x201ace[_0x2da0f5(0x26b)]=Ee(_0x201ace[_0x2da0f5(0x26b)],_0x21e53d[_0x2da0f5(0x18b)],_0x21e53d['count']);else{if(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x213)){let [_0x55d2b2,_0x15089b]=De(_0x201ace['startRow'],_0x201ace[_0x2da0f5(0x1ee)],_0x21e53d[_0x2da0f5(0x18b)],_0x21e53d['count']);_0x201ace[_0x2da0f5(0x1ef)]=_0x55d2b2,_0x201ace[_0x2da0f5(0x1ee)]=_0x15089b;}else{if(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x1da)){let [_0x55fca9,_0x5ce950]=De(_0x201ace['startColumn'],_0x201ace[_0x2da0f5(0x26b)],_0x21e53d['index'],_0x21e53d[_0x2da0f5(0x1ae)]);_0x201ace['startColumn']=_0x55fca9,_0x201ace['endColumn']=_0x5ce950;}}}}let _0x2ee02d=_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x10b)?_0x3f5c45[_0x2da0f5(0xfc)]+_0x21e53d[_0x2da0f5(0x1ae)]:Math[_0x2da0f5(0x1fc)](0x1,_0x3f5c45[_0x2da0f5(0xfc)]-(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x213)?_0x21e53d['count']:0x0)),_0x45f230=_0x21e53d['kind']===_0x2da0f5(0x227)?_0x3f5c45[_0x2da0f5(0x24b)]+_0x21e53d[_0x2da0f5(0x1ae)]:Math[_0x2da0f5(0x1fc)](0x1,_0x3f5c45[_0x2da0f5(0x24b)]-(_0x21e53d[_0x2da0f5(0x1ca)]===_0x2da0f5(0x1da)?_0x21e53d['count']:0x0));return _0x201ace[_0x2da0f5(0x1ef)]=Oe(_0x201ace[_0x2da0f5(0x1ef)],0x0,_0x2ee02d-0x1),_0x201ace['endRow']=Oe(_0x201ace[_0x2da0f5(0x1ee)],0x0,_0x2ee02d-0x1),_0x201ace[_0x2da0f5(0x136)]=Oe(_0x201ace[_0x2da0f5(0x136)],0x0,_0x45f230-0x1),_0x201ace[_0x2da0f5(0x26b)]=Oe(_0x201ace[_0x2da0f5(0x26b)],0x0,_0x45f230-0x1),_0x201ace[_0x2da0f5(0x1ef)]>_0x201ace['endRow']&&(_0x201ace['endRow']=_0x201ace[_0x2da0f5(0x1ef)]),_0x201ace[_0x2da0f5(0x136)]>_0x201ace[_0x2da0f5(0x26b)]&&(_0x201ace['endColumn']=_0x201ace[_0x2da0f5(0x136)]),_0x201ace;}function Ee(_0x3e8fd1,_0x407d5b,_0x534b9d){return _0x3e8fd1>=_0x407d5b?_0x3e8fd1+_0x534b9d:_0x3e8fd1;}function De(_0x169a3b,_0x3e8b07,_0x281d1a,_0x250774){let _0x35ebfc=_0x281d1a+_0x250774-0x1;if(_0x3e8b07<_0x281d1a)return[_0x169a3b,_0x3e8b07];if(_0x169a3b>_0x35ebfc)return[_0x169a3b-_0x250774,_0x3e8b07-_0x250774];let _0x55e1c0=_0x169a3b<_0x281d1a?_0x169a3b:_0x281d1a,_0x79bbf6=Math['min'](_0x3e8b07,_0x35ebfc)-_0x281d1a+0x1;return[_0x55e1c0,Math['max'](_0x55e1c0,_0x3e8b07-_0x79bbf6)];}function Oe(_0x13be3a,_0x4290a1,_0x302ef2){return Math['min'](Math['max'](_0x13be3a,_0x4290a1),_0x302ef2);}function ke(_0x566daa){return _0x566daa;}function E(_0x55d30f,_0x31ed2f={}){const _0x26a84e=_0x126e;var _0x5e5cce;let _0x2a5b4a={..._0x55d30f,'body':_0x31ed2f['cloneBody']===!0x1?_0x55d30f[_0x26a84e(0x147)]:_0x55d30f[_0x26a84e(0x147)]?Ae(_0x55d30f[_0x26a84e(0x147)]):_0x55d30f['body']};return(_0x5e5cce=_0x31ed2f[_0x26a84e(0x276)])!=null&&_0x5e5cce[_0x26a84e(0x1b5)]&&_0x55d30f[_0x26a84e(0xfe)]&&(_0x2a5b4a[_0x26a84e(0xfe)]={..._0x55d30f[_0x26a84e(0xfe)]},_0x31ed2f[_0x26a84e(0x276)]['forEach'](_0x4ec6b2=>{const _0x377719=_0x26a84e;var _0x35bf76;let _0x49d075=(_0x35bf76=_0x55d30f[_0x377719(0xfe)])==null?void 0x0:_0x35bf76[_0x4ec6b2];_0x49d075&&(_0x2a5b4a[_0x377719(0xfe)][_0x4ec6b2]=je(_0x49d075));})),_0x2a5b4a;}function Ae(_0x450f98){const _0x4e976f=_0x126e;var _0x44e306,_0x4ed37a,_0x27c614,_0xb4810a,_0x228270,_0x46a75d,_0xc7c39d,_0x1d3b03,_0x356d32;return{..._0x450f98,'paragraphs':(_0x44e306=_0x450f98[_0x4e976f(0x169)])==null?void 0x0:_0x44e306[_0x4e976f(0x202)](_0x1d5603=>({..._0x1d5603,'bullet':D(_0x1d5603['bullet']),'paragraphStyle':D(_0x1d5603[_0x4e976f(0x1f0)])})),'sectionBreaks':(_0x4ed37a=_0x450f98[_0x4e976f(0x211)])==null?void 0x0:_0x4ed37a[_0x4e976f(0x202)](_0x4e0258=>({..._0x4e0258})),'textRuns':(_0x27c614=_0x450f98['textRuns'])==null?void 0x0:_0x27c614[_0x4e976f(0x202)](_0x3b121a=>({..._0x3b121a})),'tables':(_0xb4810a=_0x450f98[_0x4e976f(0x14f)])==null?void 0x0:_0xb4810a['map'](_0x2b9b3d=>({..._0x2b9b3d})),'columnGroups':(_0x228270=_0x450f98[_0x4e976f(0x104)])==null?void 0x0:_0x228270[_0x4e976f(0x202)](_0x586552=>{const _0x46d5be=_0x4e976f;var _0x3f6942;return{..._0x586552,'columns':(_0x3f6942=_0x586552[_0x46d5be(0x179)])==null?void 0x0:_0x3f6942[_0x46d5be(0x202)](_0x3cee76=>D(_0x3cee76))};}),'blockRanges':(_0x46a75d=_0x450f98[_0x4e976f(0x22a)])==null?void 0x0:_0x46a75d['map'](_0x40c475=>({..._0x40c475})),'customRanges':(_0xc7c39d=_0x450f98[_0x4e976f(0x239)])==null?void 0x0:_0xc7c39d[_0x4e976f(0x202)](_0x390d60=>({..._0x390d60})),'customDecorations':(_0x1d3b03=_0x450f98[_0x4e976f(0x216)])==null?void 0x0:_0x1d3b03[_0x4e976f(0x202)](_0x1c1f40=>({..._0x1c1f40})),'customBlocks':(_0x356d32=_0x450f98[_0x4e976f(0xf9)])==null?void 0x0:_0x356d32['map'](_0x4187e9=>({..._0x4187e9}))};}function je(_0x4c9a7f){const _0x4ad60d=_0x126e;return{..._0x4c9a7f,'dist':D(_0x4c9a7f[_0x4ad60d(0x152)]),'position':D(_0x4c9a7f[_0x4ad60d(0x27b)]),'size':D(_0x4c9a7f[_0x4ad60d(0x19e)]),'tableColumns':_0x4c9a7f[_0x4ad60d(0x176)][_0x4ad60d(0x202)](Me),'tableRows':_0x4c9a7f[_0x4ad60d(0x167)][_0x4ad60d(0x202)](Ne)};}function Me(_0x22a658){const _0x3fc465=_0x126e;return{..._0x22a658,'size':D(_0x22a658[_0x3fc465(0x19e)])};}function Ne(_0x347c41){const _0x37de5d=_0x126e;return{..._0x347c41,'trHeight':D(_0x347c41[_0x37de5d(0x12f)]),'tableCells':_0x347c41['tableCells']['map'](_0x4015c2=>({..._0x4015c2,'backgroundColor':D(_0x4015c2[_0x37de5d(0x1f8)]),'borderBottom':D(_0x4015c2[_0x37de5d(0x1af)]),'borderLeft':D(_0x4015c2[_0x37de5d(0x101)]),'borderRight':D(_0x4015c2[_0x37de5d(0x14c)]),'borderTop':D(_0x4015c2[_0x37de5d(0x14a)]),'margin':D(_0x4015c2[_0x37de5d(0x154)])}))};}function D(_0x3d9bbd){const _0xc2c08a=_0x126e;return Array['isArray'](_0x3d9bbd)?_0x3d9bbd[_0xc2c08a(0x202)](_0x2cad5d=>D(_0x2cad5d)):!_0x3d9bbd||typeof _0x3d9bbd!=_0xc2c08a(0x180)?_0x3d9bbd:Object[_0xc2c08a(0x182)](Object['entries'](_0x3d9bbd)[_0xc2c08a(0x202)](([_0x26ebe5,_0x192525])=>[_0x26ebe5,D(_0x192525)]));}function Pe(_0x5976b5,_0x441515,_0xd5bc3c){var _0x1dd588;let _0x1d9d16=(_0x1dd588=_0x5976b5['tableSource'])==null?void 0x0:_0x1dd588[_0x441515];if(!_0x1d9d16||!Qe(_0xd5bc3c))return!0x1;try{return et(_0x1d9d16,_0xd5bc3c)['every'](_0x31f1bf=>j(_0x31f1bf)===0x1&&M(_0x31f1bf)===0x1);}catch{return!0x1;}}function Fe(_0x2de7b0,_0x4b8688,_0x12da95){const _0x483bd5=_0x126e;var _0x228f2f;let _0x5ee961=(_0x228f2f=_0x2de7b0[_0x483bd5(0xfe)])==null?void 0x0:_0x228f2f[_0x4b8688];if(!_0x5ee961)return!0x1;let _0x25c40f=null;try{let _0xc9b2fc=O(_0x12da95);_0x25c40f=He(_0x5ee961,_0xc9b2fc[_0x483bd5(0x1ef)],_0xc9b2fc[_0x483bd5(0x136)]);}catch{return!0x1;}return!!_0x25c40f&&Qe(_0x25c40f);}function Ie(_0x51c49f){const _0x27702d=_0x126e;let _0x3c0494=O(_0x51c49f);if(!Pe(_0x51c49f[_0x27702d(0x24d)],_0x51c49f[_0x27702d(0x170)],_0x3c0494))throw Error(_0x27702d(0x25f));let _0x226359=E(_0x51c49f[_0x27702d(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x51c49f[_0x27702d(0x170)]]}),_0x5d2bc3=$e(_0x226359,_0x51c49f[_0x27702d(0x170)]),_0x2f7200=_0x5d2bc3[_0x27702d(0x167)][_0x3c0494['startRow']][_0x27702d(0x193)][_0x3c0494[_0x27702d(0x136)]];return _0x2f7200[_0x27702d(0x25b)]=_0x3c0494['endRow']-_0x3c0494[_0x27702d(0x1ef)]+0x1,_0x2f7200[_0x27702d(0x177)]=_0x3c0494[_0x27702d(0x26b)]-_0x3c0494['startColumn']+0x1,A(_0x5d2bc3,_0x3c0494,(_0x5d514d,_0xbb94f9,_0x145076)=>{const _0x21b177=_0x27702d;(_0xbb94f9!==_0x3c0494[_0x21b177(0x1ef)]||_0x145076!==_0x3c0494[_0x21b177(0x136)])&&(_0x5d514d[_0x21b177(0x25b)]=0x0,_0x5d514d['columnSpan']=0x0);}),{'nextDocumentData':_0x226359,'range':_0x3c0494};}function Le(_0xa029e6){const _0x516581=_0x126e;var _0x3a2d9f;let _0x270b4f=O(_0xa029e6),_0x446277=(_0x3a2d9f=_0xa029e6['documentData']['tableSource'])==null?void 0x0:_0x3a2d9f[_0xa029e6[_0x516581(0x170)]];if(!_0x446277||!Pe(_0xa029e6[_0x516581(0x24d)],_0xa029e6['tableId'],_0x270b4f))return null;let _0x4f60a6=[];return A(_0x446277,_0x270b4f,(_0x3bbb54,_0x428654,_0x3adba4)=>{const _0x4b647d=_0x516581;let _0x584d0d=_0x428654===_0x270b4f[_0x4b647d(0x1ef)]&&_0x3adba4===_0x270b4f['startColumn'];Be(_0x4f60a6,_0xa029e6[_0x4b647d(0x170)],_0x428654,_0x3adba4,'rowSpan',_0x3bbb54[_0x4b647d(0x25b)],_0x584d0d?_0x270b4f[_0x4b647d(0x1ee)]-_0x270b4f[_0x4b647d(0x1ef)]+0x1:0x0),Be(_0x4f60a6,_0xa029e6[_0x4b647d(0x170)],_0x428654,_0x3adba4,'columnSpan',_0x3bbb54[_0x4b647d(0x177)],_0x584d0d?_0x270b4f[_0x4b647d(0x26b)]-_0x270b4f['startColumn']+0x1:0x0);}),{'actions':Ve(_0x4f60a6),'range':_0x270b4f};}function Re(_0x30a5d6){const _0x195f9e=_0x126e;let _0x4d287a=E(_0x30a5d6[_0x195f9e(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x30a5d6['tableId']]}),_0x96c55a=$e(_0x4d287a,_0x30a5d6[_0x195f9e(0x170)]),_0x20b629=O(_0x30a5d6),_0x2e83a4=He(_0x96c55a,_0x20b629[_0x195f9e(0x1ef)],_0x20b629[_0x195f9e(0x136)]);if(!Fe(_0x30a5d6[_0x195f9e(0x24d)],_0x30a5d6[_0x195f9e(0x170)],_0x20b629)||!_0x2e83a4)throw Error('[DocsTable]:\x20Cannot\x20unmerge\x20an\x20unmerged\x20cell.');return A(_0x96c55a,_0x2e83a4,_0x44a68d=>{const _0x108ab4=_0x195f9e;delete _0x44a68d['rowSpan'],delete _0x44a68d[_0x108ab4(0x177)];}),{'nextDocumentData':_0x4d287a,'range':_0x2e83a4};}function ze(_0x2ed4fb){const _0x47a848=_0x126e;var _0xe4fa0e;let _0x2d8b2f=(_0xe4fa0e=_0x2ed4fb[_0x47a848(0x24d)][_0x47a848(0xfe)])==null?void 0x0:_0xe4fa0e[_0x2ed4fb[_0x47a848(0x170)]],_0x218477=O(_0x2ed4fb),_0x163aef=_0x2d8b2f?He(_0x2d8b2f,_0x218477[_0x47a848(0x1ef)],_0x218477['startColumn']):null;if(!_0x2d8b2f||!_0x163aef||!Fe(_0x2ed4fb[_0x47a848(0x24d)],_0x2ed4fb['tableId'],_0x218477))return null;let _0x3ad654=[];return A(_0x2d8b2f,_0x163aef,(_0x359102,_0x257379,_0x383b5b)=>{const _0x10a40e=_0x47a848;Be(_0x3ad654,_0x2ed4fb[_0x10a40e(0x170)],_0x257379,_0x383b5b,_0x10a40e(0x25b),_0x359102[_0x10a40e(0x25b)],void 0x0),Be(_0x3ad654,_0x2ed4fb['tableId'],_0x257379,_0x383b5b,_0x10a40e(0x177),_0x359102[_0x10a40e(0x177)],void 0x0);}),{'actions':Ve(_0x3ad654),'range':_0x163aef};}function Be(_0x51a77f,_0x37244f,_0x2ad1f3,_0x5d0775,_0x1b1484,_0x586f70,_0x4dd8d3){const _0x4f6474=_0x126e;if(_0x586f70===_0x4dd8d3)return;let _0x2fbc17=_0x2542db[_0x4f6474(0x15b)](),_0x8f55b6=[_0x4f6474(0xfe),_0x37244f,_0x4f6474(0x167),_0x2ad1f3,_0x4f6474(0x193),_0x5d0775,_0x1b1484];_0x51a77f[_0x4f6474(0x149)](_0x586f70===void 0x0?_0x2fbc17[_0x4f6474(0x1c4)](_0x8f55b6,_0x4dd8d3):_0x4dd8d3===void 0x0?_0x2fbc17[_0x4f6474(0x160)](_0x8f55b6,_0x586f70):_0x2fbc17[_0x4f6474(0x1bf)](_0x8f55b6,_0x586f70,_0x4dd8d3));}function Ve(_0x1924b3){const _0x5698ad=_0x126e;return _0x1924b3[_0x5698ad(0xef)]((_0x5c6489,_0x48f561)=>_0x2542db['compose'](_0x5c6489,_0x48f561),null);}function He(_0x15e1b1,_0x2a4cc9,_0x17755c){const _0x3aa4c5=_0x126e;var _0x36ae6b;let _0x585c73=(_0x36ae6b=_0x15e1b1[_0x3aa4c5(0x167)][_0x2a4cc9])==null?void 0x0:_0x36ae6b[_0x3aa4c5(0x193)][_0x17755c];if(!_0x585c73)return null;if(j(_0x585c73)>0x1||M(_0x585c73)>0x1)return{'startRow':_0x2a4cc9,'endRow':_0x2a4cc9+j(_0x585c73)-0x1,'startColumn':_0x17755c,'endColumn':_0x17755c+M(_0x585c73)-0x1};if(_0x585c73[_0x3aa4c5(0x25b)]!==0x0&&_0x585c73[_0x3aa4c5(0x177)]!==0x0)return{'startRow':_0x2a4cc9,'endRow':_0x2a4cc9,'startColumn':_0x17755c,'endColumn':_0x17755c};for(let _0x807bbf=0x0;_0x807bbf<_0x15e1b1[_0x3aa4c5(0x167)][_0x3aa4c5(0x1b5)];_0x807bbf++){let _0x5b3e67=_0x15e1b1['tableRows'][_0x807bbf];for(let _0x2ebfd7=0x0;_0x2ebfd7<_0x5b3e67['tableCells'][_0x3aa4c5(0x1b5)];_0x2ebfd7++){let _0x2843db=_0x5b3e67[_0x3aa4c5(0x193)][_0x2ebfd7],_0x234176=j(_0x2843db),_0xbf3757=M(_0x2843db);if(_0x234176<=0x1&&_0xbf3757<=0x1)continue;let _0x5731d6={'startRow':_0x807bbf,'endRow':_0x807bbf+_0x234176-0x1,'startColumn':_0x2ebfd7,'endColumn':_0x2ebfd7+_0xbf3757-0x1};if(_0x2a4cc9>=_0x5731d6[_0x3aa4c5(0x1ef)]&&_0x2a4cc9<=_0x5731d6['endRow']&&_0x17755c>=_0x5731d6['startColumn']&&_0x17755c<=_0x5731d6[_0x3aa4c5(0x26b)])return _0x5731d6;}}return null;}function Ue(_0x2ad08e,_0x40ea9c){const _0x3cb87b=_0x126e;let _0x22080e=O(_0x40ea9c),_0x49bb02=!0x0;for(;_0x49bb02;){_0x49bb02=!0x1;for(let _0x1cebd1=0x0;_0x1cebd1<_0x2ad08e[_0x3cb87b(0x167)][_0x3cb87b(0x1b5)];_0x1cebd1++){let _0x212310=_0x2ad08e[_0x3cb87b(0x167)][_0x1cebd1];for(let _0xa8141=0x0;_0xa8141<_0x212310[_0x3cb87b(0x193)][_0x3cb87b(0x1b5)];_0xa8141++){let _0x43822f=_0x212310['tableCells'][_0xa8141],_0xfbb715=j(_0x43822f),_0xc127fe=M(_0x43822f);if(_0xfbb715<=0x1&&_0xc127fe<=0x1)continue;let _0x223a45={'startRow':_0x1cebd1,'endRow':_0x1cebd1+_0xfbb715-0x1,'startColumn':_0xa8141,'endColumn':_0xa8141+_0xc127fe-0x1};if(!tt(_0x22080e,_0x223a45))continue;let _0x164432={'startRow':Math['min'](_0x22080e['startRow'],_0x223a45['startRow']),'endRow':Math[_0x3cb87b(0x1fc)](_0x22080e[_0x3cb87b(0x1ee)],_0x223a45[_0x3cb87b(0x1ee)]),'startColumn':Math[_0x3cb87b(0xf0)](_0x22080e['startColumn'],_0x223a45[_0x3cb87b(0x136)]),'endColumn':Math[_0x3cb87b(0x1fc)](_0x22080e['endColumn'],_0x223a45[_0x3cb87b(0x26b)])};nt(_0x164432,_0x22080e)||(_0x22080e=_0x164432,_0x49bb02=!0x0);}}}return _0x22080e;}function We(_0x532b9c,_0x3c8930,_0x149617,_0x35623b=k(_0x532b9c)){const _0x58f7ac=_0x126e;Je(_0x532b9c,_0x35623b,_0x57c471=>_0x3c8930<=_0x57c471[_0x58f7ac(0x1ef)]?{..._0x57c471,'startRow':_0x57c471['startRow']+_0x149617,'endRow':_0x57c471[_0x58f7ac(0x1ee)]+_0x149617}:_0x3c8930<=_0x57c471[_0x58f7ac(0x1ee)]?{..._0x57c471,'endRow':_0x57c471['endRow']+_0x149617}:_0x57c471);}function Ge(_0x19908d,_0x4d4a66,_0x2c728c,_0xbe036f=k(_0x19908d)){const _0x4e6417=_0x126e;Je(_0x19908d,_0xbe036f,_0x215a18=>_0x4d4a66<=_0x215a18[_0x4e6417(0x136)]?{..._0x215a18,'startColumn':_0x215a18[_0x4e6417(0x136)]+_0x2c728c,'endColumn':_0x215a18[_0x4e6417(0x26b)]+_0x2c728c}:_0x4d4a66<=_0x215a18['endColumn']?{..._0x215a18,'endColumn':_0x215a18[_0x4e6417(0x26b)]+_0x2c728c}:_0x215a18);}function Ke(_0x2da049,_0xb0015a,_0x16e312,_0x24e720=k(_0x2da049)){Je(_0x2da049,_0x24e720,_0x267964=>{const _0x3d7540=_0x126e;let _0x54bd94=[];for(let _0x2c670c=_0x267964[_0x3d7540(0x1ef)];_0x2c670c<=_0x267964['endRow'];_0x2c670c++){let _0xa2e67e=Ze(_0x2c670c,_0xb0015a,_0x16e312);_0xa2e67e!=null&&_0x54bd94[_0x3d7540(0x149)](_0xa2e67e);}return _0x54bd94[_0x3d7540(0x1b5)]?{..._0x267964,'startRow':Math['min'](..._0x54bd94),'endRow':Math[_0x3d7540(0x1fc)](..._0x54bd94)}:null;});}function qe(_0x52f6b2,_0xf483fd,_0x4fe004,_0x4e7d58=k(_0x52f6b2)){Je(_0x52f6b2,_0x4e7d58,_0x1b9cf9=>{const _0x98873b=_0x126e;let _0x2ed4ac=[];for(let _0x90ade0=_0x1b9cf9['startColumn'];_0x90ade0<=_0x1b9cf9[_0x98873b(0x26b)];_0x90ade0++){let _0xad0a11=Ze(_0x90ade0,_0xf483fd,_0x4fe004);_0xad0a11!=null&&_0x2ed4ac[_0x98873b(0x149)](_0xad0a11);}return _0x2ed4ac[_0x98873b(0x1b5)]?{..._0x1b9cf9,'startColumn':Math[_0x98873b(0xf0)](..._0x2ed4ac),'endColumn':Math['max'](..._0x2ed4ac)}:null;});}function O(_0x1429ac){const _0x14b421=_0x126e;return{'startRow':Math[_0x14b421(0xf0)](_0x1429ac[_0x14b421(0x1ef)],_0x1429ac[_0x14b421(0x1ee)]),'endRow':Math[_0x14b421(0x1fc)](_0x1429ac[_0x14b421(0x1ef)],_0x1429ac['endRow']),'startColumn':Math['min'](_0x1429ac[_0x14b421(0x136)],_0x1429ac['endColumn']),'endColumn':Math[_0x14b421(0x1fc)](_0x1429ac[_0x14b421(0x136)],_0x1429ac[_0x14b421(0x26b)])};}function Je(_0x1d037b,_0x4a5703,_0x97f2c1){const _0x5d0403=_0x126e;Ye(_0x1d037b),_0x4a5703[_0x5d0403(0x100)](_0x498d4a=>{let _0x1fb814=_0x97f2c1(_0x498d4a);_0x1fb814&&Xe(_0x1d037b,_0x1fb814);});}function k(_0x21e5ba){const _0x544e7e=_0x126e;let _0x44c947=[];return _0x21e5ba[_0x544e7e(0x167)][_0x544e7e(0x100)]((_0x28be69,_0x326ad3)=>{_0x28be69['tableCells']['forEach']((_0x263287,_0x59e9bb)=>{let _0x40d0c4=j(_0x263287),_0x558136=M(_0x263287);_0x40d0c4<=0x1&&_0x558136<=0x1||_0x44c947['push']({'startRow':_0x326ad3,'endRow':_0x326ad3+_0x40d0c4-0x1,'startColumn':_0x59e9bb,'endColumn':_0x59e9bb+_0x558136-0x1});});}),_0x44c947;}function Ye(_0x50c1b1){const _0xc50b=_0x126e;_0x50c1b1[_0xc50b(0x167)]['forEach'](_0x15fd38=>{const _0x151c2d=_0xc50b;_0x15fd38['tableCells'][_0x151c2d(0x100)](_0x40317f=>{const _0x1d00f1=_0x151c2d;delete _0x40317f[_0x1d00f1(0x25b)],delete _0x40317f[_0x1d00f1(0x177)];});});}function Xe(_0x2258b9,_0x2d760b){const _0x24fc84=_0x126e;var _0x13796d;let _0x148ab3=O(_0x2d760b),_0x2c5baf=_0x148ab3[_0x24fc84(0x1ee)]-_0x148ab3['startRow']+0x1,_0x8f9998=_0x148ab3[_0x24fc84(0x26b)]-_0x148ab3[_0x24fc84(0x136)]+0x1;if(_0x2c5baf<=0x0||_0x8f9998<=0x0||_0x2c5baf===0x1&&_0x8f9998===0x1)return;let _0x1ce9ff=(_0x13796d=_0x2258b9[_0x24fc84(0x167)][_0x148ab3[_0x24fc84(0x1ef)]])==null?void 0x0:_0x13796d[_0x24fc84(0x193)][_0x148ab3[_0x24fc84(0x136)]];_0x1ce9ff&&(_0x1ce9ff['rowSpan']=_0x2c5baf,_0x1ce9ff['columnSpan']=_0x8f9998,A(_0x2258b9,_0x148ab3,(_0x5b768d,_0x4248eb,_0xee2497)=>{const _0x474855=_0x24fc84;(_0x4248eb!==_0x148ab3[_0x474855(0x1ef)]||_0xee2497!==_0x148ab3[_0x474855(0x136)])&&(_0x5b768d[_0x474855(0x25b)]=0x0,_0x5b768d[_0x474855(0x177)]=0x0);}));}function Ze(_0x2983bf,_0x3c6487,_0x590673){return _0x2983bf<_0x3c6487?_0x2983bf:_0x2983bf>_0x590673?_0x2983bf-(_0x590673-_0x3c6487+0x1):null;}function Qe(_0x53cbfd){const _0x40e4b3=_0x126e;return _0x53cbfd[_0x40e4b3(0x1ef)]!==_0x53cbfd[_0x40e4b3(0x1ee)]||_0x53cbfd[_0x40e4b3(0x136)]!==_0x53cbfd[_0x40e4b3(0x26b)];}function $e(_0x2058ee,_0x3b0fe1){const _0x22d14e=_0x126e;var _0x1bc8fa;let _0x3833d5=(_0x1bc8fa=_0x2058ee[_0x22d14e(0xfe)])==null?void 0x0:_0x1bc8fa[_0x3b0fe1];if(!_0x3833d5)throw Error(_0x22d14e(0x1d3)+_0x3b0fe1+_0x22d14e(0x1a5));return _0x3833d5;}function et(_0x3f4903,_0x365aec){const _0x4007d1=_0x126e;let _0x249068=[];return A(_0x3f4903,_0x365aec,_0x7073c8=>_0x249068[_0x4007d1(0x149)](_0x7073c8)),_0x249068;}function A(_0x26a1b4,_0x8bbde8,_0x345db9){const _0x2eecd4=_0x126e;for(let _0x1cfa62=_0x8bbde8[_0x2eecd4(0x1ef)];_0x1cfa62<=_0x8bbde8[_0x2eecd4(0x1ee)];_0x1cfa62++)for(let _0x257a14=_0x8bbde8[_0x2eecd4(0x136)];_0x257a14<=_0x8bbde8[_0x2eecd4(0x26b)];_0x257a14++){var _0x5319b7;let _0x49761e=(_0x5319b7=_0x26a1b4[_0x2eecd4(0x167)][_0x1cfa62])==null?void 0x0:_0x5319b7[_0x2eecd4(0x193)][_0x257a14];if(!_0x49761e)throw Error(_0x2eecd4(0xe9));_0x345db9(_0x49761e,_0x1cfa62,_0x257a14);}}function j(_0x519d16){const _0x536fdc=_0x126e;return _0x519d16[_0x536fdc(0x25b)]==null?0x1:_0x519d16[_0x536fdc(0x25b)];}function M(_0x29764a){const _0x59bd91=_0x126e;return _0x29764a[_0x59bd91(0x177)]==null?0x1:_0x29764a['columnSpan'];}function tt(_0x5f581d,_0x25a055){const _0x271de0=_0x126e;return _0x5f581d[_0x271de0(0x1ef)]<=_0x25a055['endRow']&&_0x5f581d['endRow']>=_0x25a055[_0x271de0(0x1ef)]&&_0x5f581d[_0x271de0(0x136)]<=_0x25a055['endColumn']&&_0x5f581d['endColumn']>=_0x25a055['startColumn'];}function nt(_0x100484,_0x5f4447){const _0x250705=_0x126e;return _0x100484[_0x250705(0x1ef)]===_0x5f4447[_0x250705(0x1ef)]&&_0x100484[_0x250705(0x1ee)]===_0x5f4447[_0x250705(0x1ee)]&&_0x100484['startColumn']===_0x5f4447[_0x250705(0x136)]&&_0x100484[_0x250705(0x26b)]===_0x5f4447[_0x250705(0x26b)];}function rt(_0x112b8e){const _0x3973bb=_0x126e;return{..._0x112b8e,'columnTypes':_0x112b8e[_0x3973bb(0x26d)]?{..._0x112b8e[_0x3973bb(0x26d)]}:void 0x0};}function N(_0x2c126d){const _0x3e8d62=_0x126e;let _0x27224b={};return Object[_0x3e8d62(0x171)]((_0x2c126d==null?void 0x0:_0x2c126d['tables'])??{})[_0x3e8d62(0x100)](([_0x14263d,_0x2a50ef])=>{_0x27224b[_0x14263d]=rt(_0x2a50ef);}),{'tables':_0x27224b};}function it(_0x32c903,_0x53352f,_0x7002af){const _0x4b5e5b=_0x126e;let _0x63b589=N(_0x32c903);return{'tables':{..._0x63b589['tables'],[_0x53352f]:{..._0x63b589[_0x4b5e5b(0x14f)][_0x53352f]??{},'headerRowCount':Math['max'](0x0,_0x7002af)}}};}function at(_0x18e3d3,_0x382a8b,_0x3e5cd9){const _0x18cfa5=_0x126e;let _0x1159b5=N(_0x18e3d3);return{'tables':{..._0x1159b5[_0x18cfa5(0x14f)],[_0x382a8b]:{..._0x1159b5[_0x18cfa5(0x14f)][_0x382a8b]??{},'titleRow':_0x3e5cd9}}};}function ot(_0x2b8ba0,_0x1f886c,_0x277da9,_0x476237){const _0x4768ba=_0x126e;let _0x3cc1fe=N(_0x2b8ba0),_0x51e999=_0x3cc1fe[_0x4768ba(0x14f)][_0x1f886c]??{};return{'tables':{..._0x3cc1fe[_0x4768ba(0x14f)],[_0x1f886c]:{..._0x51e999,'columnTypes':{..._0x51e999[_0x4768ba(0x26d)]??{},[_0x277da9]:_0x476237}}}};}function st(_0x22595b,_0x3e16fb){const _0x3d5190=_0x126e;var _0x12440c,_0x47171d,_0x1f2738;let _0x4dd9d1=_0x22595b[_0x3d5190(0x176)],_0x1dde31=_0x22595b[_0x3d5190(0xf5)]===0x1||_0x4dd9d1['some'](_0x3281e9=>_0x3281e9[_0x3d5190(0x1be)]!==void 0x0),_0xd64bb7={};_0x4dd9d1[_0x3d5190(0x100)]((_0x40d24d,_0x26ca02)=>{const _0x2002e1=_0x3d5190;var _0x13fa7e;let _0x482acc=_0x1dde31?_0x40d24d[_0x2002e1(0x1be)]??_0x40d24d[_0x2002e1(0x1ba)]:_0x3e16fb==null||(_0x13fa7e=_0x3e16fb[_0x2002e1(0x26d)])==null?void 0x0:_0x13fa7e[_0x26ca02];_0x482acc&&(_0xd64bb7[_0x26ca02]=_0xe08884[_0x2002e1(0x23f)](_0x482acc));});let _0x550f9a=_0x22595b[_0x3d5190(0x167)],_0x53ada2=0x0;for(let _0x267581 of _0x550f9a){if((_0x267581[_0x3d5190(0x13b)]??_0x267581[_0x3d5190(0x1e1)])!==_0x2d71c7[_0x3d5190(0x267)])break;_0x53ada2++;}let _0xa49350=_0x22595b[_0x3d5190(0xf5)]===0x1,_0x5f5b3d=((_0x12440c=_0x550f9a[0x0])==null?void 0x0:_0x12440c[_0x3d5190(0x131)])??((_0x47171d=_0x550f9a[0x0])==null?void 0x0:_0x47171d[_0x3d5190(0x1fe)])??(!_0xa49350&&(_0x3e16fb==null?void 0x0:_0x3e16fb[_0x3d5190(0xf7)]))??!0x1;return{'headerRowCount':_0xa49350||_0x550f9a['some'](_0x2e4cf0=>_0x2e4cf0['repeatHeaderRow']!==void 0x0)?_0x53ada2:(_0x3e16fb==null?void 0x0:_0x3e16fb['headerRowCount'])??0x0,'titleRow':_0x5f5b3d&&((_0x1f2738=_0x22595b[_0x3d5190(0x167)][0x0])==null||(_0x1f2738=_0x1f2738[_0x3d5190(0x193)][0x0])==null?void 0x0:_0x1f2738[_0x3d5190(0x177)])===_0x4dd9d1[_0x3d5190(0x1b5)],...Object['keys'](_0xd64bb7)[_0x3d5190(0x1b5)]?{'columnTypes':_0xd64bb7}:{}};}function ct(_0x498775,_0x253a49){const _0x4dbe9e=_0x126e;let _0x466ea5={};for(let [_0x36a7de,_0x576714]of Object[_0x4dbe9e(0x171)](_0x498775[_0x4dbe9e(0xfe)]??{}))_0x466ea5[_0x36a7de]=st(_0x576714,_0x253a49['tables'][_0x36a7de]);return{'tables':_0x466ea5};}function lt(_0x36ef8e,_0x426ff0){const _0x25ac45=_0x126e;if(_0x36ef8e[_0x25ac45(0xf5)]===0x1)return null;let _0x2c3646=_0x2542db[_0x25ac45(0x15b)](),_0x351e0a=_0x36ef8e[_0x25ac45(0x176)][_0x25ac45(0xef)]((_0x4c0f58,_0x572b90,_0xf227fb)=>{const _0x1e0f3a=_0x25ac45;var _0x2f4cc1;return _0x2542db[_0x1e0f3a(0x219)](_0x4c0f58,_0x2c3646['insertOp']([_0x1e0f3a(0xfe),_0x36ef8e[_0x1e0f3a(0x170)],'tableColumns',_0xf227fb,_0x1e0f3a(0x1ba)],_0xe08884[_0x1e0f3a(0x23f)]((_0x426ff0==null||(_0x2f4cc1=_0x426ff0['columnTypes'])==null?void 0x0:_0x2f4cc1[_0xf227fb])??null)));},null);return _0x36ef8e[_0x25ac45(0x167)]['forEach']((_0x3b8689,_0x5ea2e0)=>{const _0x4d0759=_0x25ac45;_0x3b8689[_0x4d0759(0x193)][_0x4d0759(0x100)]((_0x742e18,_0x16dc70)=>{const _0x53e0e9=_0x4d0759;_0x742e18['docsTableCellId']||(_0x351e0a=_0x2542db[_0x53e0e9(0x219)](_0x351e0a,_0x2c3646[_0x53e0e9(0x1c4)]([_0x53e0e9(0xfe),_0x36ef8e[_0x53e0e9(0x170)],_0x53e0e9(0x167),_0x5ea2e0,_0x53e0e9(0x193),_0x16dc70,_0x53e0e9(0x20b)],'legacy:'+_0x5ea2e0+':'+_0x16dc70)));}),_0x351e0a=_0x2542db[_0x4d0759(0x219)](_0x351e0a,_0x2c3646[_0x4d0759(0x1c4)]([_0x4d0759(0xfe),_0x36ef8e[_0x4d0759(0x170)],'tableRows',_0x5ea2e0,_0x4d0759(0x1e1)],_0x5ea2e0<((_0x426ff0==null?void 0x0:_0x426ff0[_0x4d0759(0xfb)])??0x0)?_0x2d71c7[_0x4d0759(0x267)]:_0x2d71c7[_0x4d0759(0x1bc)]));}),_0x36ef8e['tableRows']['length']&&(_0x351e0a=_0x2542db[_0x25ac45(0x219)](_0x351e0a,_0x2c3646['insertOp'](['tableSource',_0x36ef8e[_0x25ac45(0x170)],_0x25ac45(0x167),0x0,_0x25ac45(0x1fe)],(_0x426ff0==null?void 0x0:_0x426ff0[_0x25ac45(0xf7)])??!0x1))),_0x2542db[_0x25ac45(0x219)](_0x351e0a,_0x2c3646[_0x25ac45(0x1c4)]([_0x25ac45(0xfe),_0x36ef8e[_0x25ac45(0x170)],'docsTableMetadataVersion'],0x1));}function ut(_0x494b50,_0x5765a2,_0x175820,_0x395d97){const _0x290875=_0x126e;var _0x325118;let _0x25d0fe=_0x494b50[_0x290875(0x176)][_0x5765a2]['docsTableType'],_0x4ef195=(_0x325118=st(_0x494b50,_0x395d97)[_0x290875(0x26d)])==null?void 0x0:_0x325118[_0x5765a2];if(JSON['stringify'](_0x4ef195)===JSON[_0x290875(0x178)](_0x175820))return null;let _0x33a708=[_0x290875(0xfe),_0x494b50[_0x290875(0x170)],_0x290875(0x176),_0x5765a2,_0x290875(0x1be)],_0x53095c=_0xe08884[_0x290875(0x23f)](_0x175820);return _0x25d0fe===void 0x0?_0x2542db[_0x290875(0x15b)]()[_0x290875(0x1c4)](_0x33a708,_0x53095c):_0x2542db[_0x290875(0x15b)]()[_0x290875(0x1bf)](_0x33a708,_0x25d0fe,_0x53095c);}let dt=function(_0x2bcb7a){const _0x110cf9=_0x126e;return _0x2bcb7a['Above']=_0x110cf9(0x12d),_0x2bcb7a['Below']=_0x110cf9(0x1c9),_0x2bcb7a[_0x110cf9(0x21b)]='left',_0x2bcb7a[_0x110cf9(0x16e)]=_0x110cf9(0x13a),_0x2bcb7a;}({});const ft={'Above':_0x1d6dc9(0x12d),'Below':_0x1d6dc9(0x1c9)},pt={'Left':_0x1d6dc9(0xf1),'Right':'right'};function mt(_0x27b871){const _0x5794ed=_0x1d6dc9;let {documentData:_0x1f9548,tableId:_0x366eff,row:_0x203105,count:_0x3cf4a7,position:_0x3d1b1b}=_0x27b871,_0xbd715=E(_0x1f9548,{'tableIds':[_0x366eff]}),_0x4e049a=xt(_0xbd715,_0x366eff),_0x246918=P(_0xbd715,_0x366eff),_0x2b288f=_0x3d1b1b===_0x5794ed(0x12d)?_0x203105:_0x203105+0x1,_0xa52b7d=_0x4e049a[_0x5794ed(0x167)][Math[_0x5794ed(0xf0)](_0x203105,_0x4e049a[_0x5794ed(0x167)][_0x5794ed(0x1b5)]-0x1)],_0x25e4c5=Array[_0x5794ed(0x1f1)]({'length':_0x3cf4a7},()=>St(_0xa52b7d)),_0x27a7d0=k(_0x4e049a),_0x16d209=_0x3d1b1b==='above'?T(_0x246918,_0x203105)[_0x5794ed(0x113)]:T(_0x246918,_0x203105)['endOffset']+0x1,_0x37d239=Et(wt(_0x4e049a[_0x5794ed(0x176)][_0x5794ed(0x1b5)]),_0x3cf4a7);return _0x4e049a[_0x5794ed(0x167)][_0x5794ed(0x155)](_0x2b288f,0x0,..._0x25e4c5),We(_0x4e049a,_0x2b288f,_0x3cf4a7,_0x27a7d0),jt(_0xbd715,_0x366eff,_0x16d209,_0x37d239),{'nextDocumentData':_0xbd715,'nextMetadata':_0x27b871[_0x5794ed(0x23a)]?N(_0x27b871[_0x5794ed(0x23a)]):void 0x0,'cursor':{'row':_0x2b288f,'column':0x0}};}function ht(_0xa73ec6){const _0xb6e968=_0x1d6dc9;var _0x177312;let {documentData:_0x512863,tableId:_0x192507,column:_0xcaa402,count:_0xc40fb5,position:_0x117296}=_0xa73ec6,_0x1ffceb=E(_0x512863,{'tableIds':[_0x192507]}),_0x3ffcdd=xt(_0x1ffceb,_0x192507),_0xcf0b29=P(_0x1ffceb,_0x192507),_0x502a77=_0x117296===_0xb6e968(0xf1)?_0xcaa402:_0xcaa402+0x1,_0x3dddd1=_0x3ffcdd[_0xb6e968(0x176)][Math[_0xb6e968(0xf0)](_0xcaa402,_0x3ffcdd[_0xb6e968(0x176)][_0xb6e968(0x1b5)]-0x1)],_0x1011f5=_0xa73ec6[_0xb6e968(0x252)]??_0x3dddd1['size'][_0xb6e968(0x221)]['v'],_0x3f46ce=Array['from']({'length':_0xc40fb5},()=>{const _0x13d897=_0xb6e968;let _0x11e4a4=_0xe08884[_0x13d897(0x23f)](_0x3dddd1);return _0x11e4a4[_0x13d897(0x19e)][_0x13d897(0x221)]['v']=_0x1011f5,_0x11e4a4;}),_0x35add3=k(_0x3ffcdd);return _0x3ffcdd[_0xb6e968(0x176)][_0xb6e968(0x155)](_0x502a77,0x0,..._0x3f46ce),_0x3ffcdd['tableRows']['forEach'](_0x2c359d=>{const _0x299572=_0xb6e968;let _0x3b9eca=_0x2c359d['tableCells'][Math['min'](_0xcaa402,_0x2c359d[_0x299572(0x193)][_0x299572(0x1b5)]-0x1)],_0x6dcf14=Array[_0x299572(0x1f1)]({'length':_0xc40fb5},()=>Ct(_0x3b9eca));_0x2c359d['tableCells'][_0x299572(0x155)](_0x502a77,0x0,..._0x6dcf14);}),Ge(_0x3ffcdd,_0x502a77,_0xc40fb5,_0x35add3),Dt(_0x1ffceb,_0x192507,_0xcf0b29,_0xcaa402,_0xc40fb5,_0x117296),_0xa73ec6['preserveTotalWidth']??!0x0?Gt(_0x3ffcdd,_0x1011f5*_0xc40fb5):(_0x177312=_0x3ffcdd[_0xb6e968(0x19e)])!=null&&_0x177312[_0xb6e968(0x221)]&&(_0x3ffcdd['size']['width']['v']=_0x3ffcdd['tableColumns'][_0xb6e968(0xef)]((_0x4cb2f0,_0x4fef00)=>_0x4cb2f0+_0x4fef00[_0xb6e968(0x19e)]['width']['v'],0x0)),{'nextDocumentData':_0x1ffceb,'nextMetadata':_0xa73ec6[_0xb6e968(0x23a)]?N(_0xa73ec6['metadata']):void 0x0,'cursor':{'row':0x0,'column':_0x502a77}};}function gt(_0x2d3ceb){const _0x286b2e=_0x1d6dc9;let {documentData:_0x25650b,metadata:_0x4c3424,tableId:_0x3797a3}=_0x2d3ceb,_0x4677f7=E(_0x25650b,{'tableIds':[_0x3797a3]}),_0x57874e=xt(_0x4677f7,_0x3797a3),_0x20e840=Math[_0x286b2e(0xf0)](_0x2d3ceb[_0x286b2e(0x1ef)],_0x2d3ceb[_0x286b2e(0x1ee)]),_0x3a5c7c=Math[_0x286b2e(0x1fc)](_0x2d3ceb['startRow'],_0x2d3ceb['endRow']),_0x238c6e=_0x3a5c7c-_0x20e840+0x1,_0x23fed6=k(_0x57874e);return _0x238c6e>=_0x57874e[_0x286b2e(0x167)]['length']?{...vt({'documentData':_0x25650b,'metadata':_0x4c3424,'tableId':_0x3797a3}),'deleteTable':!0x0}:(Ot(_0x4677f7,_0x3797a3,_0x20e840,_0x3a5c7c),_0x57874e[_0x286b2e(0x167)][_0x286b2e(0x155)](_0x20e840,_0x238c6e),Ke(_0x57874e,_0x20e840,_0x3a5c7c,_0x23fed6),{'nextDocumentData':_0x4677f7,'nextMetadata':Kt(_0x4c3424,_0x3797a3,_0x20e840,_0x3a5c7c),'cursor':{'row':Math[_0x286b2e(0xf0)](_0x20e840,_0x57874e['tableRows'][_0x286b2e(0x1b5)]-0x1),'column':0x0}});}function _t(_0x4fcdc0){const _0x5abd9e=_0x1d6dc9;let {documentData:_0x113362,metadata:_0x3f90d6,tableId:_0x57a3ad}=_0x4fcdc0,_0x5de96f=E(_0x113362,{'tableIds':[_0x57a3ad]}),_0x446359=xt(_0x5de96f,_0x57a3ad),_0xfd3814=Math[_0x5abd9e(0xf0)](_0x4fcdc0[_0x5abd9e(0x136)],_0x4fcdc0[_0x5abd9e(0x26b)]),_0x3a322a=Math[_0x5abd9e(0x1fc)](_0x4fcdc0['startColumn'],_0x4fcdc0['endColumn']),_0x5f008d=_0x3a322a-_0xfd3814+0x1,_0x94b638=k(_0x446359);return _0x5f008d>=_0x446359[_0x5abd9e(0x176)]['length']?{...vt({'documentData':_0x113362,'metadata':_0x3f90d6,'tableId':_0x57a3ad}),'deleteTable':!0x0}:(kt(_0x5de96f,_0x57a3ad,_0xfd3814,_0x3a322a),_0x446359[_0x5abd9e(0x176)][_0x5abd9e(0x155)](_0xfd3814,_0x5f008d),_0x446359['tableRows'][_0x5abd9e(0x100)](_0x4f1137=>_0x4f1137['tableCells']['splice'](_0xfd3814,_0x5f008d)),qe(_0x446359,_0xfd3814,_0x3a322a,_0x94b638),{'nextDocumentData':_0x5de96f,'nextMetadata':_0x3f90d6?N(_0x3f90d6):void 0x0,'cursor':{'row':0x0,'column':Math[_0x5abd9e(0xf0)](_0xfd3814,_0x446359['tableColumns'][_0x5abd9e(0x1b5)]-0x1)}});}function vt(_0x51fd8a){const _0x3592f0=_0x1d6dc9;let {documentData:_0x2fc5e5,tableId:_0x44b3b8}=_0x51fd8a,_0x5448fe=E(_0x2fc5e5),_0x495774={..._0x5448fe[_0x3592f0(0xfe)]??{}},_0x4836b5=_0x51fd8a[_0x3592f0(0x23a)]?N(_0x51fd8a[_0x3592f0(0x23a)]):void 0x0;return At(_0x5448fe,_0x44b3b8),delete _0x495774[_0x44b3b8],_0x5448fe['tableSource']=_0x495774,_0x4836b5&&delete _0x4836b5[_0x3592f0(0x14f)][_0x44b3b8],{'nextDocumentData':_0x5448fe,'nextMetadata':_0x4836b5,'cursor':{'row':0x0,'column':0x0},'deleteTable':!0x0};}function yt(_0x171291){const _0x1ca2b8=_0x1d6dc9;let _0x310c7c=E(_0x171291[_0x1ca2b8(0x24d)],{'tableIds':[_0x171291[_0x1ca2b8(0x170)]]}),_0x35d0f1=xt(_0x310c7c,_0x171291[_0x1ca2b8(0x170)]),_0x2ca96c=P(_0x310c7c,_0x171291[_0x1ca2b8(0x170)]),_0x5530f1=_0x171291[_0x1ca2b8(0x1ae)]??0x1,_0x464b88=It(_0x171291[_0x1ca2b8(0x174)],_0x35d0f1['tableRows']['length']-0x1),_0xd08513=It(_0x171291[_0x1ca2b8(0x1f7)],_0x35d0f1[_0x1ca2b8(0x167)][_0x1ca2b8(0x1b5)]-0x1),_0x72ce3=Math[_0x1ca2b8(0xf0)](_0x35d0f1['tableRows'][_0x1ca2b8(0x1b5)]-0x1,_0x464b88+_0x5530f1-0x1),_0x434ebc=_0x72ce3-_0x464b88+0x1,_0x236bfc=_0x171291['position']==='above'?_0xd08513:_0xd08513+0x1;if(_0x434ebc<=0x0||_0x236bfc>=_0x464b88&&_0x236bfc<=_0x72ce3+0x1)return{'nextDocumentData':_0x310c7c,'nextMetadata':_0x171291['metadata']?N(_0x171291[_0x1ca2b8(0x23a)]):void 0x0,'cursor':{'row':_0x464b88,'column':0x0}};let _0x17bbf8=_0x35d0f1['tableRows'][_0x1ca2b8(0x155)](_0x464b88,_0x434ebc),_0x54b972=_0x236bfc>_0x72ce3?_0x236bfc-_0x434ebc:_0x236bfc;_0x35d0f1[_0x1ca2b8(0x167)][_0x1ca2b8(0x155)](_0x54b972,0x0,..._0x17bbf8);let _0x1aa3c7=T(_0x2ca96c,_0x464b88)[_0x1ca2b8(0x113)],_0x2e835c=T(_0x2ca96c,_0x72ce3)[_0x1ca2b8(0x1d6)]+0x1,_0x5cd87a=_0x236bfc>_0x72ce3?T(_0x2ca96c,Math[_0x1ca2b8(0xf0)](_0xd08513,_0x2ca96c[_0x1ca2b8(0xfc)]-0x1))[_0x1ca2b8(0x1d6)]+0x1:T(_0x2ca96c,_0xd08513)['startOffset'];return Ft(_0x310c7c[_0x1ca2b8(0x147)],_0x1aa3c7,_0x2e835c,_0x5cd87a),{'nextDocumentData':_0x310c7c,'nextMetadata':_0x171291['metadata']?N(_0x171291[_0x1ca2b8(0x23a)]):void 0x0,'cursor':{'row':_0x54b972,'column':0x0}};}function bt(_0x37762c){const _0x1d433b=_0x1d6dc9;let _0x50001a=E(_0x37762c['documentData'],{'tableIds':[_0x37762c[_0x1d433b(0x170)]]}),_0x2e8ef4=xt(_0x50001a,_0x37762c[_0x1d433b(0x170)]),_0x2c4214=P(_0x50001a,_0x37762c[_0x1d433b(0x170)]),_0x1e3dd4=_0x37762c[_0x1d433b(0x1ae)]??0x1,_0x2f6dd1=It(_0x37762c[_0x1d433b(0x186)],_0x2e8ef4[_0x1d433b(0x176)][_0x1d433b(0x1b5)]-0x1),_0x43169f=It(_0x37762c['toColumn'],_0x2e8ef4['tableColumns'][_0x1d433b(0x1b5)]-0x1),_0x22f6c7=Math[_0x1d433b(0xf0)](_0x2e8ef4['tableColumns'][_0x1d433b(0x1b5)]-0x1,_0x2f6dd1+_0x1e3dd4-0x1),_0x188382=_0x22f6c7-_0x2f6dd1+0x1,_0x7cde80=_0x37762c['position']===_0x1d433b(0xf1)?_0x43169f:_0x43169f+0x1;if(_0x188382<=0x0||_0x7cde80>=_0x2f6dd1&&_0x7cde80<=_0x22f6c7+0x1)return{'nextDocumentData':_0x50001a,'nextMetadata':_0x37762c['metadata']?N(_0x37762c[_0x1d433b(0x23a)]):void 0x0,'cursor':{'row':0x0,'column':_0x2f6dd1}};let _0xa5478e=_0x2e8ef4[_0x1d433b(0x176)][_0x1d433b(0x155)](_0x2f6dd1,_0x188382),_0x176a01=_0x7cde80>_0x22f6c7?_0x7cde80-_0x188382:_0x7cde80;return _0x2e8ef4[_0x1d433b(0x176)][_0x1d433b(0x155)](_0x176a01,0x0,..._0xa5478e),_0x2e8ef4[_0x1d433b(0x167)][_0x1d433b(0x100)](_0x3887e8=>{const _0x1ff030=_0x1d433b;let _0x444adc=_0x3887e8['tableCells'][_0x1ff030(0x155)](_0x2f6dd1,_0x188382);_0x3887e8[_0x1ff030(0x193)][_0x1ff030(0x155)](_0x176a01,0x0,..._0x444adc);}),_0x2c4214[_0x1d433b(0x244)][_0x1d433b(0x100)](_0x32ea9d=>{const _0x43da0e=_0x1d433b;let _0x376ea9=_0x32ea9d['cells'][_0x2f6dd1][_0x43da0e(0x113)],_0x201839=_0x32ea9d[_0x43da0e(0x282)][_0x22f6c7][_0x43da0e(0x1d6)]+0x1,_0xe6bbe5=_0x7cde80>_0x22f6c7?_0x32ea9d[_0x43da0e(0x282)][Math[_0x43da0e(0xf0)](_0x43169f,_0x32ea9d[_0x43da0e(0x282)][_0x43da0e(0x1b5)]-0x1)][_0x43da0e(0x1d6)]+0x1:_0x32ea9d['cells'][_0x43169f][_0x43da0e(0x113)];Ft(_0x50001a[_0x43da0e(0x147)],_0x376ea9,_0x201839,_0xe6bbe5);}),{'nextDocumentData':_0x50001a,'nextMetadata':_0x37762c[_0x1d433b(0x23a)]?N(_0x37762c['metadata']):void 0x0,'cursor':{'row':0x0,'column':_0x176a01}};}function xt(_0x4e451d,_0x287c6a){const _0x19adc3=_0x1d6dc9;var _0xfc034d;let _0x3c7ecf=(_0xfc034d=_0x4e451d[_0x19adc3(0xfe)])==null?void 0x0:_0xfc034d[_0x287c6a];if(!_0x3c7ecf)throw Error(_0x19adc3(0x1d3)+_0x287c6a+_0x19adc3(0x1a5));return _0x3c7ecf;}function P(_0x344171,_0x69b9c6){const _0x183894=_0x1d6dc9;let _0x1919d2=w(_0x344171,_0x69b9c6);if(!_0x1919d2)throw Error('[DocsTable]:\x20Table\x20'+_0x69b9c6+_0x183894(0x26f));return _0x1919d2;}function St(_0x35bbab){const _0x53a57c=_0x1d6dc9;let _0x2dcf35=_0xe08884['deepClone'](_0x35bbab);return _0x2dcf35['tableCells']=_0x35bbab[_0x53a57c(0x193)]['map'](_0x330a92=>Ct(_0x330a92)),_0x2dcf35;}function Ct(_0x3c1ace){const _0x10f417=_0x1d6dc9;return _0xe08884[_0x10f417(0x23f)]({..._0x3c1ace});}function wt(_0x22a04d){const _0x9ace57=_0x1d6dc9;return''+_0x22fbb3['TABLE_ROW_START']+Et(Tt(),_0x22a04d)+_0x22fbb3[_0x9ace57(0x126)];}function Tt(){const _0x5a45a8=_0x1d6dc9;return _0x22fbb3[_0x5a45a8(0x175)]+'\x0d\x0a'+_0x22fbb3['TABLE_CELL_END'];}function Et(_0x188192,_0x3d35e2){const _0x1ad7f7=_0x1d6dc9;return Array[_0x1ad7f7(0x1f1)]({'length':_0x3d35e2},()=>_0x188192)[_0x1ad7f7(0x141)]('');}function Dt(_0x12672c,_0x160a03,_0x200f7f,_0x40659d,_0x329b2e,_0x4a1bc5){const _0x39519e=_0x1d6dc9;let _0x49241f=Et(Tt(),_0x329b2e),_0x1de9cf=_0x200f7f[_0x39519e(0x244)][_0x39519e(0x202)](_0x13f511=>{const _0x39b585=_0x39519e;let _0x2a0fd8=_0x13f511[_0x39b585(0x282)][_0x40659d];return _0x4a1bc5==='left'?_0x2a0fd8[_0x39b585(0x113)]:_0x2a0fd8[_0x39b585(0x1d6)]+0x1;})['sort']((_0x1f8748,_0x20617c)=>_0x20617c-_0x1f8748);for(let _0x234d8c of _0x1de9cf)Nt(_0x12672c[_0x39519e(0x147)],_0x234d8c,_0x49241f),_0x12672c[_0x39519e(0x147)]&&(zt(_0x12672c[_0x39519e(0x147)],_0x234d8c,_0x49241f[_0x39519e(0x1b5)]),Bt(_0x12672c['body'],_0x234d8c,_0x49241f));Rt(_0x12672c,_0x160a03,_0x200f7f['endOffset'],_0x49241f[_0x39519e(0x1b5)]*_0x1de9cf[_0x39519e(0x1b5)]);}function Ot(_0x5316d2,_0x3d3d4b,_0x22577d,_0x19e3dd){const _0xe229d0=_0x1d6dc9;let _0xc4ffc4=P(_0x5316d2,_0x3d3d4b),_0x52d6dd=T(_0xc4ffc4,_0x22577d)[_0xe229d0(0x113)];Mt(_0x5316d2,_0x3d3d4b,_0x52d6dd,T(_0xc4ffc4,_0x19e3dd)['endOffset']+0x1);}function kt(_0x2ed416,_0xb1ec96,_0x341704,_0x285c19){const _0x584e81=_0x1d6dc9;let _0x2b572e=P(_0x2ed416,_0xb1ec96),_0x1fb24d=[];for(let _0x1b98c5=_0x341704;_0x1b98c5<=_0x285c19;_0x1b98c5++)_0x1fb24d['push'](...Ce(_0x2b572e,_0x1b98c5)['cells']['map'](_0x422fdf=>({'startOffset':_0x422fdf[_0x584e81(0x113)],'endOffset':_0x422fdf[_0x584e81(0x1d6)]+0x1})));_0x1fb24d[_0x584e81(0x269)]((_0x2a93bb,_0x60731)=>_0x60731[_0x584e81(0x113)]-_0x2a93bb[_0x584e81(0x113)]);let _0x2298c6=0x0;for(let _0xff81b5 of _0x1fb24d){let _0x3d6020=_0xff81b5[_0x584e81(0x113)]-_0xff81b5[_0x584e81(0x1d6)];_0x2298c6-=_0x3d6020,Pt(_0x2ed416[_0x584e81(0x147)],_0xff81b5[_0x584e81(0x113)],_0xff81b5[_0x584e81(0x1d6)]),_0x2ed416[_0x584e81(0x147)]&&zt(_0x2ed416[_0x584e81(0x147)],_0xff81b5[_0x584e81(0x113)],_0x3d6020);}Rt(_0x2ed416,_0xb1ec96,_0x2b572e[_0x584e81(0x1d6)],-_0x2298c6);}function At(_0xf5c5a9,_0x2da53b){const _0xe6c225=_0x1d6dc9;var _0x3c326b;let _0x2df4d0=P(_0xf5c5a9,_0x2da53b);Mt(_0xf5c5a9,_0x2da53b,_0x2df4d0[_0xe6c225(0x113)],_0x2df4d0[_0xe6c225(0x1d6)]),(_0x3c326b=_0xf5c5a9[_0xe6c225(0x147)])!=null&&_0x3c326b[_0xe6c225(0x14f)]&&(_0xf5c5a9['body'][_0xe6c225(0x14f)]=_0xf5c5a9['body'][_0xe6c225(0x14f)][_0xe6c225(0x26c)](_0x15fab3=>_0x15fab3[_0xe6c225(0x170)]!==_0x2da53b));}function jt(_0x452b4b,_0x5cab84,_0x47a4c0,_0x469c2a){const _0x35f1ca=_0x1d6dc9;Nt(_0x452b4b[_0x35f1ca(0x147)],_0x47a4c0,_0x469c2a),Lt(_0x452b4b,_0x5cab84,_0x47a4c0,_0x469c2a[_0x35f1ca(0x1b5)]),_0x452b4b[_0x35f1ca(0x147)]&&Bt(_0x452b4b[_0x35f1ca(0x147)],_0x47a4c0,_0x469c2a);}function Mt(_0x2ed2b9,_0x3d7831,_0x4b4773,_0x553b39){const _0x4b1958=_0x1d6dc9;Pt(_0x2ed2b9[_0x4b1958(0x147)],_0x4b4773,_0x553b39),Lt(_0x2ed2b9,_0x3d7831,_0x4b4773,_0x4b4773-_0x553b39);}function Nt(_0x820648,_0x17d08d,_0x5cae55){const _0xf007ad=_0x1d6dc9;_0x820648!=null&&_0x820648[_0xf007ad(0x10f)]&&(_0x820648[_0xf007ad(0x10f)]=''+_0x820648['dataStream'][_0xf007ad(0x18f)](0x0,_0x17d08d)+_0x5cae55+_0x820648[_0xf007ad(0x10f)]['slice'](_0x17d08d));}function Pt(_0x2b59d3,_0x13013c,_0x4621fb){const _0xcfcfcc=_0x1d6dc9;_0x2b59d3!=null&&_0x2b59d3[_0xcfcfcc(0x10f)]&&(_0x2b59d3[_0xcfcfcc(0x10f)]=''+_0x2b59d3[_0xcfcfcc(0x10f)][_0xcfcfcc(0x18f)](0x0,_0x13013c)+_0x2b59d3[_0xcfcfcc(0x10f)]['slice'](_0x4621fb));}function Ft(_0x3ee847,_0x1988c0,_0x57f92f,_0x282ad5){const _0x272d2e=_0x1d6dc9;if(!(_0x3ee847!=null&&_0x3ee847[_0x272d2e(0x10f)])||_0x282ad5>=_0x1988c0&&_0x282ad5<=_0x57f92f)return;let _0x4d594b=_0x3ee847[_0x272d2e(0x10f)]['slice'](_0x1988c0,_0x57f92f),_0x4a4843=''+_0x3ee847[_0x272d2e(0x10f)][_0x272d2e(0x18f)](0x0,_0x1988c0)+_0x3ee847[_0x272d2e(0x10f)][_0x272d2e(0x18f)](_0x57f92f),_0x3f274f=_0x282ad5>_0x57f92f?_0x282ad5-_0x4d594b[_0x272d2e(0x1b5)]:_0x282ad5;_0x3ee847[_0x272d2e(0x10f)]=''+_0x4a4843[_0x272d2e(0x18f)](0x0,_0x3f274f)+_0x4d594b+_0x4a4843[_0x272d2e(0x18f)](_0x3f274f);}function It(_0x313fab,_0x3bdfb2){const _0x5aa0a8=_0x1d6dc9;return Math[_0x5aa0a8(0xf0)](Math[_0x5aa0a8(0x1fc)](0x0,_0x313fab),Math[_0x5aa0a8(0x1fc)](0x0,_0x3bdfb2));}function Lt(_0x44b6ec,_0x1b2117,_0x6442dd,_0x12969a){const _0x1fcfb5=_0x1d6dc9;let _0xacccc5=_0x44b6ec[_0x1fcfb5(0x147)];_0xacccc5&&_0x12969a!==0x0&&(Rt(_0x44b6ec,_0x1b2117,_0x6442dd,_0x12969a),zt(_0xacccc5,_0x6442dd,_0x12969a));}function Rt(_0x321898,_0x415617,_0x3d3ce3,_0x4f3868){const _0x3a0aec=_0x1d6dc9;let _0x25642a=_0x321898['body'];_0x25642a!=null&&_0x25642a['tables']&&_0x4f3868!==0x0&&(_0x25642a[_0x3a0aec(0x14f)]&&=_0x25642a['tables'][_0x3a0aec(0x202)](_0x13143f=>_0x13143f[_0x3a0aec(0x170)]===_0x415617?{..._0x13143f,'endIndex':_0x13143f['endIndex']+_0x4f3868}:_0x13143f['startIndex']>=_0x3d3ce3?{..._0x13143f,'startIndex':_0x13143f['startIndex']+_0x4f3868,'endIndex':_0x13143f[_0x3a0aec(0x13e)]+_0x4f3868}:_0x13143f));}function zt(_0x3678f7,_0xaefc96,_0x36e6ba){const _0x3b25d9=_0x1d6dc9;var _0x35b88d,_0x1d6121,_0x499f80,_0x3daad9,_0x12e6f5,_0x401e01,_0x402c50,_0xb1ff8c;let _0xf7ce89=ke(_0x3678f7);_0x3678f7[_0x3b25d9(0x169)]=(_0x35b88d=_0x3678f7['paragraphs'])==null?void 0x0:_0x35b88d[_0x3b25d9(0x202)](_0x4bdb5f=>{const _0x445858=_0x3b25d9;let _0x20c940=Ut(_0x4bdb5f[_0x445858(0x14b)],_0xaefc96,_0x36e6ba);return _0x20c940==null?null:{..._0x4bdb5f,'startIndex':_0x20c940};})[_0x3b25d9(0x26c)](_0x5f003b=>_0x5f003b!=null),_0x3678f7[_0x3b25d9(0x211)]=(_0x1d6121=_0x3678f7[_0x3b25d9(0x211)])==null?void 0x0:_0x1d6121[_0x3b25d9(0x202)](_0x60a1bb=>{const _0x554a5b=_0x3b25d9;let _0xb73a9b=Ut(_0x60a1bb[_0x554a5b(0x14b)],_0xaefc96,_0x36e6ba);return _0xb73a9b==null?null:{..._0x60a1bb,'startIndex':_0xb73a9b};})[_0x3b25d9(0x26c)](_0x3fd8fb=>_0x3fd8fb!=null),_0x3678f7[_0x3b25d9(0xf9)]=(_0x499f80=_0x3678f7[_0x3b25d9(0xf9)])==null?void 0x0:_0x499f80[_0x3b25d9(0x202)](_0x2629a8=>{const _0x3336c4=_0x3b25d9;let _0x674068=Ut(_0x2629a8[_0x3336c4(0x14b)],_0xaefc96,_0x36e6ba);return _0x674068==null?null:{..._0x2629a8,'startIndex':_0x674068};})['filter'](_0x5c93cb=>_0x5c93cb!=null),_0x3678f7['blockRanges']=(_0x3daad9=_0x3678f7[_0x3b25d9(0x22a)])==null?void 0x0:_0x3daad9['map'](_0x2c55c3=>{const _0x4694fc=_0x3b25d9;let _0x3cba28=Wt(_0x2c55c3[_0x4694fc(0x14b)],_0x2c55c3[_0x4694fc(0x13e)],_0xaefc96,_0x36e6ba);return _0x3cba28==null?null:{..._0x2c55c3,'startIndex':_0x3cba28[_0x4694fc(0x218)],'endIndex':_0x3cba28[_0x4694fc(0x1c1)]};})[_0x3b25d9(0x26c)](_0x5d03e9=>_0x5d03e9!=null),_0x3678f7[_0x3b25d9(0x246)]=(_0x12e6f5=_0x3678f7[_0x3b25d9(0x246)])==null?void 0x0:_0x12e6f5[_0x3b25d9(0x202)](_0x296c4c=>{const _0x1bff11=_0x3b25d9;let _0x2657b5=Wt(_0x296c4c['st'],_0x296c4c['ed'],_0xaefc96,_0x36e6ba);return _0x2657b5==null?null:{..._0x296c4c,'st':_0x2657b5[_0x1bff11(0x218)],'ed':_0x2657b5['end']};})[_0x3b25d9(0x26c)](_0x24df5e=>_0x24df5e!=null),_0x3678f7['customRanges']=(_0x401e01=_0x3678f7[_0x3b25d9(0x239)])==null?void 0x0:_0x401e01['map'](_0x3e5af9=>{const _0xce4789=_0x3b25d9;let _0xc60c3f=Wt(_0x3e5af9['startIndex'],_0x3e5af9[_0xce4789(0x13e)],_0xaefc96,_0x36e6ba);return _0xc60c3f==null?null:{..._0x3e5af9,'startIndex':_0xc60c3f[_0xce4789(0x218)],'endIndex':_0xc60c3f[_0xce4789(0x1c1)]};})[_0x3b25d9(0x26c)](_0x5154cd=>_0x5154cd!=null),_0x3678f7[_0x3b25d9(0x216)]=(_0x402c50=_0x3678f7[_0x3b25d9(0x216)])==null?void 0x0:_0x402c50[_0x3b25d9(0x202)](_0x5476ec=>{const _0x28d5f9=_0x3b25d9;let _0x29d351=Wt(_0x5476ec[_0x28d5f9(0x14b)],_0x5476ec[_0x28d5f9(0x13e)],_0xaefc96,_0x36e6ba);return _0x29d351==null?null:{..._0x5476ec,'startIndex':_0x29d351['start'],'endIndex':_0x29d351['end']};})[_0x3b25d9(0x26c)](_0x280c55=>_0x280c55!=null),_0xf7ce89[_0x3b25d9(0x104)]=(_0xb1ff8c=_0xf7ce89['columnGroups'])==null?void 0x0:_0xb1ff8c[_0x3b25d9(0x202)](_0x5fc950=>{const _0x36bbe1=_0x3b25d9;let _0x5e2671=Wt(_0x5fc950[_0x36bbe1(0x14b)],_0x5fc950[_0x36bbe1(0x13e)],_0xaefc96,_0x36e6ba);return _0x5e2671==null?null:{..._0x5fc950,'startIndex':_0x5e2671[_0x36bbe1(0x218)],'endIndex':_0x5e2671[_0x36bbe1(0x1c1)]};})[_0x3b25d9(0x26c)](_0x2abc2d=>_0x2abc2d!=null);}function Bt(_0x5c859b,_0x10eb0c,_0x238d54){const _0x31cf47=_0x1d6dc9;let _0x4dcd90=Vt(_0x5c859b),_0x2d1e9b=new Set((_0x5c859b[_0x31cf47(0x211)]??[])[_0x31cf47(0x202)](_0x20afe3=>_0x20afe3[_0x31cf47(0x1c8)])),_0x27f5b7=Ht(_0x238d54,'\x0d')[_0x31cf47(0x202)](_0x210d30=>({'startIndex':_0x10eb0c+_0x210d30,'paragraphId':_0x52b0f4(_0x4dcd90)})),_0x4042d0=Ht(_0x238d54,'\x0a')[_0x31cf47(0x202)](_0x17ccd9=>({'startIndex':_0x10eb0c+_0x17ccd9,'sectionId':_0xb40d83(_0x2d1e9b)}));_0x27f5b7[_0x31cf47(0x1b5)]&&(_0x5c859b[_0x31cf47(0x169)]=[..._0x5c859b[_0x31cf47(0x169)]??[],..._0x27f5b7]['sort']((_0x159fd8,_0x56a68e)=>_0x159fd8[_0x31cf47(0x14b)]-_0x56a68e[_0x31cf47(0x14b)])),_0x4042d0[_0x31cf47(0x1b5)]&&(_0x5c859b[_0x31cf47(0x211)]=[..._0x5c859b[_0x31cf47(0x211)]??[],..._0x4042d0]['sort']((_0x2f3cd9,_0x3a82c2)=>_0x2f3cd9[_0x31cf47(0x14b)]-_0x3a82c2[_0x31cf47(0x14b)]));}function Vt(_0x543703){const _0x430cfd=_0x1d6dc9;return new Set((_0x543703[_0x430cfd(0x169)]??[])['map'](_0xe16266=>_0xe16266[_0x430cfd(0x165)]));}function Ht(_0x108e8c,_0x4a0586){const _0x57fe00=_0x1d6dc9;let _0x51d429=[];for(let _0x3c81cd=0x0;_0x3c81cd<_0x108e8c[_0x57fe00(0x1b5)];_0x3c81cd++)_0x108e8c[_0x3c81cd]===_0x4a0586&&_0x51d429['push'](_0x3c81cd);return _0x51d429;}function Ut(_0x5c948b,_0x5f5c19,_0x3b6d61){if(_0x3b6d61>=0x0)return _0x5c948b>=_0x5f5c19?_0x5c948b+_0x3b6d61:_0x5c948b;let _0x3b2faf=_0x5f5c19-_0x3b6d61;return _0x5c948b>=_0x5f5c19&&_0x5c948b<_0x3b2faf?null:_0x5c948b>=_0x3b2faf?_0x5c948b+_0x3b6d61:_0x5c948b;}function Wt(_0x2dd9a1,_0x5aa3e4,_0x5c891a,_0x13fcb0){if(_0x13fcb0>=0x0)return{'end':_0x5aa3e4>=_0x5c891a?_0x5aa3e4+_0x13fcb0:_0x5aa3e4,'start':_0x2dd9a1>=_0x5c891a?_0x2dd9a1+_0x13fcb0:_0x2dd9a1};let _0x42a89f=_0x5c891a-_0x13fcb0;if(_0x5aa3e4<_0x5c891a)return{'start':_0x2dd9a1,'end':_0x5aa3e4};if(_0x2dd9a1>=_0x42a89f)return{'start':_0x2dd9a1+_0x13fcb0,'end':_0x5aa3e4+_0x13fcb0};let _0x10fcb8=_0x2dd9a1<_0x5c891a?_0x2dd9a1:_0x5c891a,_0x46464a=_0x5aa3e4>=_0x42a89f?_0x5aa3e4+_0x13fcb0:_0x5c891a;return _0x46464a<_0x10fcb8?null:{'start':_0x10fcb8,'end':_0x46464a};}function Gt(_0xf20a38,_0x5aaad9){const _0x5d2e5f=_0x1d6dc9;let _0x121b0b=_0xf20a38[_0x5d2e5f(0x176)]['reduce']((_0x570627,_0x49f135)=>_0x570627+_0x49f135[_0x5d2e5f(0x19e)][_0x5d2e5f(0x221)]['v'],0x0)-_0x5aaad9,_0x147ce1=_0xf20a38[_0x5d2e5f(0x176)]['reduce']((_0xae2956,_0x1b6080)=>_0xae2956+_0x1b6080[_0x5d2e5f(0x19e)][_0x5d2e5f(0x221)]['v'],0x0);_0x121b0b<=0x0||_0x147ce1<=0x0||_0xf20a38[_0x5d2e5f(0x176)]['forEach'](_0x3de716=>{const _0x4d49ce=_0x5d2e5f;_0x3de716[_0x4d49ce(0x19e)][_0x4d49ce(0x221)]['v']=_0x3de716['size'][_0x4d49ce(0x221)]['v']/_0x147ce1*_0x121b0b;});}function Kt(_0xb8f5,_0x5b290d,_0xcc91a9,_0x3acc23){const _0x1ae5a5=_0x1d6dc9;var _0x18efbc;if(!_0xb8f5)return;let _0x3e981d=N(_0xb8f5),_0xd56c97=((_0x18efbc=_0x3e981d[_0x1ae5a5(0x14f)][_0x5b290d])==null?void 0x0:_0x18efbc[_0x1ae5a5(0xfb)])??0x0;if(_0xd56c97<=0x0)return _0x3e981d;let _0xcddc59=Math[_0x1ae5a5(0x1fc)](0x0,Math[_0x1ae5a5(0xf0)](_0x3acc23,_0xd56c97-0x1)-Math[_0x1ae5a5(0x1fc)](_0xcc91a9,0x0)+0x1);return it(_0x3e981d,_0x5b290d,Math[_0x1ae5a5(0x1fc)](0x0,_0xd56c97-_0xcddc59));}function qt(_0x7a040f,_0x3ffb9f=[_0x1d6dc9(0x147)]){const _0x2538da=_0x1d6dc9;var _0x34babd,_0x11b2d4,_0x4fc7c9,_0x1ca309;let _0x598679=w(_0x7a040f[_0x2538da(0x24d)],_0x7a040f['tableId']),_0x3e4c18=_0x598679==null||(_0x34babd=_0x598679['rows'][_0x7a040f['row']])==null?void 0x0:_0x34babd[_0x2538da(0x282)][_0x7a040f['column']];if(!((_0x11b2d4=_0x7a040f[_0x2538da(0x24d)]['body'])!=null&&_0x11b2d4[_0x2538da(0x10f)])||!_0x598679||!_0x3e4c18)throw Error(_0x2538da(0x1d9)+_0x7a040f[_0x2538da(0x1f6)]+':'+_0x7a040f['column']+_0x2538da(0x1a5));let _0x3fe2f8=Yt(_0x7a040f[_0x2538da(0x255)]),_0x192739=_0x3e4c18[_0x2538da(0x113)]+0x1,_0x1e392a=_0x7a040f[_0x2538da(0x24d)][_0x2538da(0x147)][_0x2538da(0x10f)][_0x2538da(0x18f)](_0x3e4c18[_0x2538da(0x1d6)]-0x2,_0x3e4c18[_0x2538da(0x1d6)])==='\x0d\x0a',_0x246394=(_0x4fc7c9=_0x7a040f['documentData']['body'][_0x2538da(0x169)])==null?void 0x0:_0x4fc7c9[_0x2538da(0x121)](_0x361989=>_0x361989[_0x2538da(0x14b)]===_0x3e4c18[_0x2538da(0x1d6)]-0x2),_0x1b71f0=(_0x1ca309=_0x7a040f['documentData']['tableSource'])==null||(_0x1ca309=_0x1ca309[_0x7a040f[_0x2538da(0x170)]])==null||(_0x1ca309=_0x1ca309[_0x2538da(0x167)][_0x7a040f[_0x2538da(0x1f6)]])==null?void 0x0:_0x1ca309[_0x2538da(0x193)][_0x7a040f[_0x2538da(0x1ea)]],_0x45f26c=(_0x246394==null?void 0x0:_0x246394[_0x2538da(0x165)])??(_0x1b71f0==null?void 0x0:_0x1b71f0[_0x2538da(0x20b)])??_0x2538da(0x172)+_0x7a040f[_0x2538da(0x1f6)]+':'+_0x7a040f['column'];return F(_0x7a040f[_0x2538da(0x24d)],[{'valueRangeId':'docs-table-cell:'+_0x7a040f[_0x2538da(0x170)]+':'+_0x45f26c,'startOffset':_0x192739,'endOffset':_0x1e392a?_0x3e4c18['endOffset']-0x2:_0x3e4c18[_0x2538da(0x1d6)],'text':_0x1e392a?_0x3fe2f8['slice'](0x0,-0x2):_0x3fe2f8}],_0x3ffb9f);}function F(_0x2714da,_0x846afd,_0x60fe9=[_0x1d6dc9(0x147)]){const _0x3cc10f=_0x1d6dc9;let _0xa8ab30=_0x2714da['body'];if(!(_0xa8ab30!=null&&_0xa8ab30[_0x3cc10f(0x10f)]))return null;let _0x4e6dcb=_0x846afd[_0x3cc10f(0x26c)](_0x4a5eda=>_0xa8ab30[_0x3cc10f(0x10f)][_0x3cc10f(0x18f)](_0x4a5eda[_0x3cc10f(0x113)],_0x4a5eda['endOffset'])!==_0x4a5eda[_0x3cc10f(0x255)])[_0x3cc10f(0x269)]((_0x47e20f,_0x4ef77b)=>_0x47e20f[_0x3cc10f(0x113)]-_0x4ef77b[_0x3cc10f(0x113)]);if(!_0x4e6dcb[_0x3cc10f(0x1b5)])return null;let _0x12380b=Zt(_0xa8ab30),_0x4a0a3=new Set((_0xa8ab30[_0x3cc10f(0x211)]??[])[_0x3cc10f(0x202)](_0x5c8c66=>_0x5c8c66['sectionId'])),_0x13e6e3=new _0x5c651d(),_0x1afd82=0x0;for(let _0x45f26e of _0x4e6dcb){if(_0x45f26e[_0x3cc10f(0x113)]<_0x1afd82||_0x45f26e[_0x3cc10f(0x113)]<0x0||_0x45f26e[_0x3cc10f(0x1d6)]<_0x45f26e[_0x3cc10f(0x113)]||_0x45f26e[_0x3cc10f(0x1d6)]>_0xa8ab30[_0x3cc10f(0x10f)][_0x3cc10f(0x1b5)])throw Error(_0x3cc10f(0x27a));let _0xc41c1a=_0x45f26e[_0x3cc10f(0x113)]-_0x1afd82;_0xc41c1a>0x0&&_0x13e6e3['retain'](_0xc41c1a),_0x45f26e[_0x3cc10f(0x255)][_0x3cc10f(0x1b5)]>0x0&&_0x13e6e3[_0x3cc10f(0x149)]({'t':_0x12d20f[_0x3cc10f(0x260)],'len':_0x45f26e[_0x3cc10f(0x255)][_0x3cc10f(0x1b5)],'body':Qt(_0x45f26e['text'],_0x12380b,_0x4a0a3),..._0x45f26e[_0x3cc10f(0x1b0)]?{'valueRangeId':_0x45f26e[_0x3cc10f(0x1b0)]}:{}});let _0x3454d9=_0x45f26e[_0x3cc10f(0x1d6)]-_0x45f26e[_0x3cc10f(0x113)];_0x3454d9>0x0&&_0x13e6e3[_0x3cc10f(0x149)]({'t':_0x12d20f[_0x3cc10f(0x103)],'len':_0x3454d9,..._0x45f26e[_0x3cc10f(0x1b0)]?{'valueRangeId':_0x45f26e[_0x3cc10f(0x1b0)]}:{}}),_0x1afd82=_0x45f26e['endOffset'];}return _0x2542db[_0x3cc10f(0x15b)]()[_0x3cc10f(0x10d)](_0x13e6e3[_0x3cc10f(0x17c)](),_0x60fe9);}function Jt(_0x452cf4){const _0x5c6481=_0x1d6dc9;var _0x93024e;let _0x1a18d0=E(_0x452cf4['documentData']),_0x540d7c=_0x1a18d0[_0x5c6481(0x147)],_0x347457=w(_0x1a18d0,_0x452cf4['tableId']),_0xd1282b=_0x347457==null||(_0x93024e=_0x347457['rows'][_0x452cf4['row']])==null?void 0x0:_0x93024e[_0x5c6481(0x282)][_0x452cf4[_0x5c6481(0x1ea)]];if(!(_0x540d7c!=null&&_0x540d7c['dataStream'])||!_0x347457||!_0xd1282b)throw Error(_0x5c6481(0x1d9)+_0x452cf4[_0x5c6481(0x1f6)]+':'+_0x452cf4['column']+_0x5c6481(0x1a5));let _0x2059df=_0xd1282b[_0x5c6481(0x113)]+0x1,_0x564e91=_0xd1282b['endOffset'],_0x2efa78=Yt(_0x452cf4[_0x5c6481(0x255)]),_0x3441e0=_0x2efa78[_0x5c6481(0x1b5)]-(_0x564e91-_0x2059df);return _0x540d7c[_0x5c6481(0x10f)]=''+_0x540d7c[_0x5c6481(0x10f)][_0x5c6481(0x18f)](0x0,_0x2059df)+_0x2efa78+_0x540d7c['dataStream'][_0x5c6481(0x18f)](_0x564e91),Xt(_0x540d7c,_0x2059df,_0x564e91,_0x2efa78,_0x3441e0),nn(_0x1a18d0,_0x452cf4[_0x5c6481(0x170)],_0x564e91,_0x3441e0),{'nextDocumentData':_0x1a18d0};}function Yt(_0x15b03a){const _0x211231=_0x1d6dc9;return _0x15b03a['replace'](/\r\n/g,'\x0a')[_0x211231(0x1aa)](/\r/g,'\x0a')[_0x211231(0x215)]('\x0a')[_0x211231(0x141)]('\x0d\x0a')+'\x0d\x0a';}function Xt(_0x53c48a,_0x1449e5,_0x5e858f,_0x5ce7df,_0x5e0f75){const _0x716e25=_0x1d6dc9;var _0x4cf640,_0x2d54c1,_0x2a1aaa,_0x52d765;let _0x350b78=Zt(_0x53c48a),_0x28ee3c=new Set((_0x53c48a[_0x716e25(0x211)]??[])[_0x716e25(0x202)](_0x141fa7=>_0x141fa7[_0x716e25(0x1c8)])),_0x2f36fa=ke(_0x53c48a);_0x53c48a['paragraphs']=[...$t(_0x53c48a[_0x716e25(0x169)]??[],_0x1449e5,_0x5e858f,_0x5e0f75),...en(_0x5ce7df,'\x0d')[_0x716e25(0x202)](_0xb12758=>({'startIndex':_0x1449e5+_0xb12758,'paragraphId':_0x52b0f4(_0x350b78)}))][_0x716e25(0x269)]((_0x26b71e,_0xba9e2b)=>_0x26b71e[_0x716e25(0x14b)]-_0xba9e2b['startIndex']),_0x53c48a[_0x716e25(0x211)]=[...$t(_0x53c48a[_0x716e25(0x211)]??[],_0x1449e5,_0x5e858f,_0x5e0f75),...en(_0x5ce7df,'\x0a')[_0x716e25(0x202)](_0x14182a=>({'startIndex':_0x1449e5+_0x14182a,'sectionId':_0xb40d83(_0x28ee3c)}))][_0x716e25(0x269)]((_0xab3350,_0x18ff46)=>_0xab3350[_0x716e25(0x14b)]-_0x18ff46[_0x716e25(0x14b)]),_0x53c48a[_0x716e25(0xf9)]=_0x53c48a['customBlocks']?$t(_0x53c48a['customBlocks'],_0x1449e5,_0x5e858f,_0x5e0f75):void 0x0,_0x53c48a[_0x716e25(0x246)]=(_0x4cf640=_0x53c48a['textRuns'])==null?void 0x0:_0x4cf640[_0x716e25(0x202)](_0x15c270=>{const _0x396803=_0x716e25;let _0x5e5e51=tn(_0x15c270['st'],_0x15c270['ed'],_0x1449e5,_0x5e858f,_0x5e0f75);return _0x5e5e51==null?null:{..._0x15c270,'st':_0x5e5e51[_0x396803(0x218)],'ed':_0x5e5e51[_0x396803(0x1c1)]};})['filter'](_0x461ae8=>_0x461ae8!=null),_0x53c48a[_0x716e25(0x239)]=(_0x2d54c1=_0x53c48a['customRanges'])==null?void 0x0:_0x2d54c1['map'](_0xa9f411=>{const _0x4a64f8=_0x716e25;let _0x5e1344=tn(_0xa9f411[_0x4a64f8(0x14b)],_0xa9f411[_0x4a64f8(0x13e)],_0x1449e5,_0x5e858f,_0x5e0f75);return _0x5e1344==null?null:{..._0xa9f411,'startIndex':_0x5e1344[_0x4a64f8(0x218)],'endIndex':_0x5e1344[_0x4a64f8(0x1c1)]};})[_0x716e25(0x26c)](_0x426667=>_0x426667!=null),_0x53c48a[_0x716e25(0x216)]=(_0x2a1aaa=_0x53c48a[_0x716e25(0x216)])==null?void 0x0:_0x2a1aaa[_0x716e25(0x202)](_0x597b0e=>{const _0x2d90ea=_0x716e25;let _0x165bdb=tn(_0x597b0e[_0x2d90ea(0x14b)],_0x597b0e['endIndex'],_0x1449e5,_0x5e858f,_0x5e0f75);return _0x165bdb==null?null:{..._0x597b0e,'startIndex':_0x165bdb['start'],'endIndex':_0x165bdb[_0x2d90ea(0x1c1)]};})[_0x716e25(0x26c)](_0x2d7c80=>_0x2d7c80!=null),_0x2f36fa[_0x716e25(0x104)]=(_0x52d765=_0x2f36fa['columnGroups'])==null?void 0x0:_0x52d765[_0x716e25(0x202)](_0x2cd338=>{const _0x23c9b0=_0x716e25;let _0x3f1ed2=tn(_0x2cd338[_0x23c9b0(0x14b)],_0x2cd338[_0x23c9b0(0x13e)],_0x1449e5,_0x5e858f,_0x5e0f75);return _0x3f1ed2==null?null:{..._0x2cd338,'startIndex':_0x3f1ed2[_0x23c9b0(0x218)],'endIndex':_0x3f1ed2[_0x23c9b0(0x1c1)]};})['filter'](_0x13730b=>_0x13730b!=null);}function Zt(_0x18e99a){const _0x198121=_0x1d6dc9;return new Set((_0x18e99a[_0x198121(0x169)]??[])[_0x198121(0x202)](_0x3374eb=>_0x3374eb[_0x198121(0x165)]));}function Qt(_0x39b149,_0x110048,_0x521cde){const _0x150a9c=_0x1d6dc9;return{'dataStream':_0x39b149,'paragraphs':en(_0x39b149,'\x0d')[_0x150a9c(0x202)](_0x48cc57=>({'startIndex':_0x48cc57,'paragraphId':_0x52b0f4(_0x110048)})),'sectionBreaks':en(_0x39b149,'\x0a')[_0x150a9c(0x202)](_0x2f080e=>({'startIndex':_0x2f080e,'sectionId':_0xb40d83(_0x521cde)}))};}function $t(_0x4206fd,_0x1933a0,_0x551a0b,_0x4914e2){const _0x403255=_0x1d6dc9;return _0x4206fd['map'](_0x2aac32=>_0x2aac32[_0x403255(0x14b)]>=_0x1933a0&&_0x2aac32['startIndex']<_0x551a0b?null:_0x2aac32[_0x403255(0x14b)]>=_0x551a0b?{..._0x2aac32,'startIndex':_0x2aac32['startIndex']+_0x4914e2}:_0x2aac32)[_0x403255(0x26c)](_0x4ec6df=>_0x4ec6df!=null);}function en(_0x36144a,_0x45c300){const _0x2a8d1a=_0x1d6dc9;let _0x3b7cf3=[];for(let _0x54be2e=0x0;_0x54be2e<_0x36144a['length'];_0x54be2e++)_0x36144a[_0x54be2e]===_0x45c300&&_0x3b7cf3[_0x2a8d1a(0x149)](_0x54be2e);return _0x3b7cf3;}function tn(_0x4651c9,_0x1b214c,_0x3d0a13,_0x5039d6,_0x23c7a1){if(_0x1b214c<_0x3d0a13)return{'start':_0x4651c9,'end':_0x1b214c};if(_0x4651c9>=_0x5039d6)return{'start':_0x4651c9+_0x23c7a1,'end':_0x1b214c+_0x23c7a1};let _0x46559f=_0x4651c9<_0x3d0a13?_0x4651c9:_0x3d0a13,_0x5bc9f9=_0x1b214c>=_0x5039d6?_0x1b214c+_0x23c7a1:_0x3d0a13;return _0x5bc9f9<_0x46559f?null:{'start':_0x46559f,'end':_0x5bc9f9};}function nn(_0x18f09c,_0x23c52c,_0x54eac1,_0x20eee7){const _0x2f358b=_0x1d6dc9;var _0x3a6df2;(_0x3a6df2=_0x18f09c['body'])!=null&&_0x3a6df2[_0x2f358b(0x14f)]&&_0x20eee7!==0x0&&(_0x18f09c[_0x2f358b(0x147)]['tables']=_0x18f09c[_0x2f358b(0x147)][_0x2f358b(0x14f)][_0x2f358b(0x202)](_0x4a5131=>_0x4a5131['tableId']===_0x23c52c?{..._0x4a5131,'endIndex':_0x4a5131[_0x2f358b(0x13e)]+_0x20eee7}:_0x4a5131['startIndex']>=_0x54eac1?{..._0x4a5131,'startIndex':_0x4a5131[_0x2f358b(0x14b)]+_0x20eee7,'endIndex':_0x4a5131[_0x2f358b(0x13e)]+_0x20eee7}:_0x4a5131));}function rn(_0x3cb1ab){const _0x15fb7e=_0x1d6dc9;var _0x51fe47;let _0x58818f=mt({'documentData':_0x3cb1ab[_0x15fb7e(0x24d)],'metadata':_0x3cb1ab[_0x15fb7e(0x23a)],'tableId':_0x3cb1ab[_0x15fb7e(0x170)],'row':0x0,'count':0x1,'position':_0x15fb7e(0x12d)}),_0x10712c=(_0x51fe47=_0x58818f[_0x15fb7e(0x1a2)]['tableSource'])==null?void 0x0:_0x51fe47[_0x3cb1ab[_0x15fb7e(0x170)]];if(!_0x10712c)throw Error('[DocsTable]:\x20Table\x20'+_0x3cb1ab[_0x15fb7e(0x170)]+_0x15fb7e(0x1a5));let _0xf3d211=_0x10712c['tableColumns'][_0x15fb7e(0x1b5)];return _0x10712c['tableRows'][0x0]['tableCells'][_0x15fb7e(0x100)]((_0x4675cb,_0x2ce0d2)=>{const _0x4ce3c0=_0x15fb7e;_0x2ce0d2===0x0?(_0x4675cb[_0x4ce3c0(0x177)]=_0xf3d211,delete _0x4675cb[_0x4ce3c0(0x25b)]):(_0x4675cb['rowSpan']=0x0,_0x4675cb[_0x4ce3c0(0x177)]=0x0);}),{'nextDocumentData':_0x58818f[_0x15fb7e(0x1a2)],'nextMetadata':at(_0x58818f[_0x15fb7e(0x12a)],_0x3cb1ab['tableId'],!0x0)};}function an(_0x19d2ed){const _0x1f6a75=_0x1d6dc9;var _0x2ab832;let _0x316017=E(_0x19d2ed[_0x1f6a75(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x19d2ed[_0x1f6a75(0x170)]]}),_0x4249c4=(_0x2ab832=_0x316017[_0x1f6a75(0xfe)])==null?void 0x0:_0x2ab832[_0x19d2ed[_0x1f6a75(0x170)]];if(!_0x4249c4)throw Error(_0x1f6a75(0x1d3)+_0x19d2ed[_0x1f6a75(0x170)]+_0x1f6a75(0x1a5));let _0x4e9fd0=Math[_0x1f6a75(0xf0)](Math[_0x1f6a75(0x1fc)](0x0,_0x19d2ed[_0x1f6a75(0xfb)]),_0x4249c4[_0x1f6a75(0x167)][_0x1f6a75(0x1b5)]);return _0x4249c4['tableRows'][_0x1f6a75(0x100)]((_0x3bc068,_0x241d49)=>{const _0x4cf06b=_0x1f6a75;_0x3bc068[_0x4cf06b(0x13b)]=_0x241d49<_0x4e9fd0?_0x2d71c7[_0x4cf06b(0x267)]:_0x2d71c7[_0x4cf06b(0x1bc)],_0x241d49<_0x4e9fd0?_0x3bc068['isFirstRow']=_0x2d71c7[_0x4cf06b(0x267)]:delete _0x3bc068['isFirstRow'];}),{'nextDocumentData':_0x316017,'nextMetadata':it(_0x19d2ed[_0x1f6a75(0x23a)],_0x19d2ed['tableId'],_0x4e9fd0)};}function on(_0x2c0e00){const _0x1ae458=_0x1d6dc9;var _0x38fc96;let _0x5ea05a=E(_0x2c0e00['documentData'],{'cloneBody':!0x1,'tableIds':[_0x2c0e00[_0x1ae458(0x170)]]}),_0x395fc7=(_0x38fc96=_0x5ea05a[_0x1ae458(0xfe)])==null?void 0x0:_0x38fc96[_0x2c0e00[_0x1ae458(0x170)]];if(!_0x395fc7)throw Error(_0x1ae458(0x1d3)+_0x2c0e00[_0x1ae458(0x170)]+_0x1ae458(0x1a5));let _0x28a69d=Math[_0x1ae458(0xf0)](_0x2c0e00[_0x1ae458(0x1ef)],_0x2c0e00['endRow']),_0x5403c7=Math['max'](_0x2c0e00[_0x1ae458(0x1ef)],_0x2c0e00[_0x1ae458(0x1ee)]),_0x1b54cb=_0x395fc7[_0x1ae458(0x167)][_0x1ae458(0x18f)](_0x28a69d,_0x5403c7+0x1),_0x537221=_0x1b54cb['reduce']((_0x376116,_0x4a3c57)=>_0x376116+yn(_0x4a3c57),0x0)/_0x1b54cb['length'];return _0x1b54cb['forEach'](_0x35989d=>{const _0x1573fc=_0x1ae458;_0x35989d[_0x1573fc(0x12f)]={'hRule':_0x476a6d[_0x1573fc(0x278)],'val':{'v':_0x537221}};}),{'nextDocumentData':_0x5ea05a};}function sn(_0xf2dd5e){const _0x5a3d40=_0x1d6dc9;var _0x2caaf4;let _0x5a391c=E(_0xf2dd5e[_0x5a3d40(0x24d)],{'cloneBody':!0x1,'tableIds':[_0xf2dd5e['tableId']]}),_0x3c649a=(_0x2caaf4=_0x5a391c['tableSource'])==null?void 0x0:_0x2caaf4[_0xf2dd5e['tableId']];if(!_0x3c649a)throw Error(_0x5a3d40(0x1d3)+_0xf2dd5e[_0x5a3d40(0x170)]+'\x20is\x20not\x20found.');let _0x25e46d=Math[_0x5a3d40(0xf0)](_0xf2dd5e['startColumn'],_0xf2dd5e[_0x5a3d40(0x26b)]),_0x913016=Math[_0x5a3d40(0x1fc)](_0xf2dd5e[_0x5a3d40(0x136)],_0xf2dd5e['endColumn']),_0x47d007=_0x3c649a[_0x5a3d40(0x176)][_0x5a3d40(0x18f)](_0x25e46d,_0x913016+0x1),_0x33a367=_0x47d007[_0x5a3d40(0xef)]((_0x191320,_0x4f9532)=>_0x191320+_0x4f9532[_0x5a3d40(0x19e)][_0x5a3d40(0x221)]['v'],0x0)/_0x47d007[_0x5a3d40(0x1b5)];return _0x47d007[_0x5a3d40(0x100)](_0x29e1db=>{const _0x359f11=_0x5a3d40;_0x29e1db[_0x359f11(0x19e)]['width']['v']=_0x33a367;}),{'nextDocumentData':_0x5a391c};}function cn(_0x11a413){const _0x3b6e61=_0x1d6dc9;var _0x3f3f83;let _0x27298c=E(_0x11a413['documentData'],{'cloneBody':!0x1,'tableIds':[_0x11a413[_0x3b6e61(0x170)]]}),_0x261bb7=(_0x3f3f83=_0x27298c[_0x3b6e61(0xfe)])==null||(_0x3f3f83=_0x3f3f83[_0x11a413['tableId']])==null?void 0x0:_0x3f3f83[_0x3b6e61(0x167)][_0x11a413[_0x3b6e61(0x1f6)]];if(!_0x261bb7)throw Error('[DocsTable]:\x20Row\x20'+_0x11a413[_0x3b6e61(0x1f6)]+_0x3b6e61(0x1a5));return _0x261bb7['trHeight']={'hRule':_0x476a6d['AT_LEAST'],'val':{'v':Math[_0x3b6e61(0x1fc)](0x1,_0x11a413[_0x3b6e61(0x1cd)])}},{'nextDocumentData':_0x27298c};}function ln(_0xe8b5a0){const _0x2a0144=_0x1d6dc9;var _0x5983f5;let _0x3930ac=E(_0xe8b5a0['documentData'],{'cloneBody':!0x1,'tableIds':[_0xe8b5a0['tableId']]}),_0x3733bf=(_0x5983f5=_0x3930ac['tableSource'])==null||(_0x5983f5=_0x5983f5[_0xe8b5a0[_0x2a0144(0x170)]])==null?void 0x0:_0x5983f5['tableColumns'][_0xe8b5a0['column']];if(!_0x3733bf)throw Error(_0x2a0144(0xea)+_0xe8b5a0[_0x2a0144(0x1ea)]+_0x2a0144(0x1a5));return _0x3733bf[_0x2a0144(0x19e)][_0x2a0144(0x221)]['v']=Math[_0x2a0144(0x1fc)](0x1,_0xe8b5a0[_0x2a0144(0x221)]),{'nextDocumentData':_0x3930ac};}function un(_0x34bde6){const _0x10f4f2=_0x1d6dc9;var _0x765d9d;if(_0x34bde6[_0x10f4f2(0x1f4)]!=null)return dn(_0x34bde6);let _0x5bcd71=E(_0x34bde6[_0x10f4f2(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x34bde6[_0x10f4f2(0x170)]]}),_0x3d1858=(_0x765d9d=_0x5bcd71['tableSource'])==null?void 0x0:_0x765d9d[_0x34bde6[_0x10f4f2(0x170)]];if(!_0x3d1858)throw Error(_0x10f4f2(0x1d3)+_0x34bde6[_0x10f4f2(0x170)]+'\x20is\x20not\x20found.');return _0x3d1858[_0x10f4f2(0x226)]=_0x4bef24['WRAP'],_0x3d1858['position']['positionH']['posOffset']=(_0x3d1858[_0x10f4f2(0x27b)][_0x10f4f2(0x139)]['posOffset']??0x0)+(_0x34bde6[_0x10f4f2(0x140)]??0x0),_0x3d1858[_0x10f4f2(0x27b)][_0x10f4f2(0x162)][_0x10f4f2(0x11a)]=(_0x3d1858[_0x10f4f2(0x27b)][_0x10f4f2(0x162)][_0x10f4f2(0x11a)]??0x0)+(_0x34bde6[_0x10f4f2(0xf3)]??0x0),{'nextDocumentData':_0x5bcd71};}function dn(_0x39331b){const _0x3be300=_0x1d6dc9;var _0x168844;let _0x522790=E(_0x39331b[_0x3be300(0x24d)],{'tableIds':[_0x39331b[_0x3be300(0x170)]]}),_0x3b9f02=_0x522790['body'],_0x431a28=(_0x168844=_0x522790[_0x3be300(0xfe)])==null?void 0x0:_0x168844[_0x39331b[_0x3be300(0x170)]],_0x1ae44f=w(_0x522790,_0x39331b[_0x3be300(0x170)]);if(!(_0x3b9f02!=null&&_0x3b9f02[_0x3be300(0x10f)])||!_0x3b9f02[_0x3be300(0x14f)]||!_0x431a28||!_0x1ae44f||_0x39331b[_0x3be300(0x1f4)]==null)throw Error(_0x3be300(0x1d3)+_0x39331b[_0x3be300(0x170)]+'\x20range\x20is\x20not\x20found.');let _0x1afaf9=_0x1ae44f['startOffset'],_0x3322a6=_0x1ae44f[_0x3be300(0x1d6)],_0x332393=_0x3b9f02[_0x3be300(0x10f)][_0x3be300(0x18f)](_0x1afaf9,_0x3322a6),_0x181d98=_0x332393['length'],_0x26899a=_n(_0x39331b[_0x3be300(0x1f4)],0x0,_0x3b9f02['dataStream'][_0x3be300(0x1b5)]);if(_0x26899a>=_0x1afaf9&&_0x26899a<=_0x3322a6||!fn(_0x3b9f02,_0x39331b[_0x3be300(0x170)],_0x26899a))return{'nextDocumentData':_0x522790};let _0x565efd=_0x26899a>_0x3322a6?_0x26899a-_0x181d98:_0x26899a,_0x50465c=_0x3b9f02[_0x3be300(0x10f)][_0x3be300(0x18f)](0x0,_0x1afaf9)+_0x3b9f02[_0x3be300(0x10f)][_0x3be300(0x18f)](_0x3322a6);return _0x3b9f02[_0x3be300(0x10f)]=_0x50465c['slice'](0x0,_0x565efd)+_0x332393+_0x50465c['slice'](_0x565efd),_0x3b9f02[_0x3be300(0x14f)]=_0x3b9f02['tables'][_0x3be300(0x202)](_0x3c330e=>_0x3c330e[_0x3be300(0x170)]===_0x39331b['tableId']?{..._0x3c330e,'startIndex':_0x565efd,'endIndex':_0x565efd+_0x181d98}:{..._0x3c330e,'startIndex':I(_0x3c330e[_0x3be300(0x14b)],_0x1afaf9,_0x3322a6,_0x26899a,_0x565efd,_0x181d98),'endIndex':I(_0x3c330e[_0x3be300(0x13e)],_0x1afaf9,_0x3322a6,_0x26899a,_0x565efd,_0x181d98)})[_0x3be300(0x269)]((_0x58a51a,_0x4122e4)=>_0x58a51a['startIndex']-_0x4122e4[_0x3be300(0x14b)]),gn(_0x3b9f02,_0x1afaf9,_0x3322a6,_0x26899a,_0x565efd,_0x181d98),_0x431a28['textWrap']=_0x4bef24[_0x3be300(0x228)],_0x431a28[_0x3be300(0x27b)][_0x3be300(0x139)][_0x3be300(0x11a)]=0x0,_0x431a28[_0x3be300(0x27b)]['positionV']['posOffset']=0x0,{'nextDocumentData':_0x522790};}function fn(_0x2a6075,_0x4a1c4c,_0x54a4ac){const _0x399bff=_0x1d6dc9;return!(pn(_0x2a6075[_0x399bff(0x14f)],_0x4a1c4c,_0x54a4ac)||mn(_0x2a6075[_0x399bff(0x22a)],_0x54a4ac)||hn(_0x2a6075[_0x399bff(0xf9)],_0x54a4ac));}function pn(_0x460082,_0x1c575e,_0x289e85){const _0x3c224a=_0x1d6dc9;return!!(_0x460082!=null&&_0x460082[_0x3c224a(0x220)](_0x2f32d8=>_0x2f32d8[_0x3c224a(0x170)]!==_0x1c575e&&_0x2f32d8[_0x3c224a(0x14b)]<=_0x289e85&&_0x289e85<_0x2f32d8[_0x3c224a(0x13e)]));}function mn(_0x15bc23,_0x3a95a5){const _0x46b94b=_0x1d6dc9;return!!(_0x15bc23!=null&&_0x15bc23[_0x46b94b(0x220)](_0x4d796a=>_0x4d796a[_0x46b94b(0x14b)]<=_0x3a95a5&&_0x3a95a5<=_0x4d796a[_0x46b94b(0x13e)]));}function hn(_0x1ebfe0,_0x1e6eb1){const _0x43709d=_0x1d6dc9;return!!(_0x1ebfe0!=null&&_0x1ebfe0[_0x43709d(0x220)](_0x5305f2=>_0x5305f2['startIndex']===_0x1e6eb1));}function gn(_0x2cb5c6,_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd){const _0x4d7cdd=_0x1d6dc9;var _0x44676d,_0x2d00c4,_0x59031f,_0x44c699,_0x13513f,_0x18ffdd,_0x578c1a,_0x3c87ea;let _0x30858d=ke(_0x2cb5c6);_0x2cb5c6['paragraphs']=(_0x44676d=_0x2cb5c6['paragraphs'])==null?void 0x0:_0x44676d[_0x4d7cdd(0x202)](_0x4fc3ac=>({..._0x4fc3ac,'startIndex':I(_0x4fc3ac[_0x4d7cdd(0x14b)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0x1f1494,_0x4c40fa)=>_0x1f1494[_0x4d7cdd(0x14b)]-_0x4c40fa[_0x4d7cdd(0x14b)]),_0x2cb5c6[_0x4d7cdd(0x211)]=(_0x2d00c4=_0x2cb5c6[_0x4d7cdd(0x211)])==null?void 0x0:_0x2d00c4[_0x4d7cdd(0x202)](_0x57dc61=>({..._0x57dc61,'startIndex':I(_0x57dc61[_0x4d7cdd(0x14b)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))['sort']((_0x5f4a2b,_0x38648d)=>_0x5f4a2b[_0x4d7cdd(0x14b)]-_0x38648d[_0x4d7cdd(0x14b)]),_0x2cb5c6[_0x4d7cdd(0xf9)]=(_0x59031f=_0x2cb5c6['customBlocks'])==null?void 0x0:_0x59031f[_0x4d7cdd(0x202)](_0x2cfff6=>({..._0x2cfff6,'startIndex':I(_0x2cfff6['startIndex'],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0xee511c,_0x328af9)=>_0xee511c[_0x4d7cdd(0x14b)]-_0x328af9[_0x4d7cdd(0x14b)]),_0x2cb5c6[_0x4d7cdd(0x22a)]=(_0x44c699=_0x2cb5c6['blockRanges'])==null?void 0x0:_0x44c699[_0x4d7cdd(0x202)](_0x49bbc3=>({..._0x49bbc3,'startIndex':I(_0x49bbc3['startIndex'],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd),'endIndex':I(_0x49bbc3[_0x4d7cdd(0x13e)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0x30e855,_0x4ea4b4)=>_0x30e855[_0x4d7cdd(0x14b)]-_0x4ea4b4[_0x4d7cdd(0x14b)]),_0x2cb5c6[_0x4d7cdd(0x246)]=(_0x13513f=_0x2cb5c6['textRuns'])==null?void 0x0:_0x13513f[_0x4d7cdd(0x202)](_0x47389b=>({..._0x47389b,'st':I(_0x47389b['st'],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd),'ed':I(_0x47389b['ed'],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0x16d5a5,_0x465f7d)=>_0x16d5a5['st']-_0x465f7d['st']),_0x2cb5c6[_0x4d7cdd(0x239)]=(_0x18ffdd=_0x2cb5c6[_0x4d7cdd(0x239)])==null?void 0x0:_0x18ffdd[_0x4d7cdd(0x202)](_0x3b6ccd=>({..._0x3b6ccd,'startIndex':I(_0x3b6ccd[_0x4d7cdd(0x14b)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd),'endIndex':I(_0x3b6ccd[_0x4d7cdd(0x13e)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0x1ad18c,_0x589adf)=>_0x1ad18c[_0x4d7cdd(0x14b)]-_0x589adf[_0x4d7cdd(0x14b)]),_0x2cb5c6[_0x4d7cdd(0x216)]=(_0x578c1a=_0x2cb5c6['customDecorations'])==null?void 0x0:_0x578c1a[_0x4d7cdd(0x202)](_0x35e081=>({..._0x35e081,'startIndex':I(_0x35e081[_0x4d7cdd(0x14b)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd),'endIndex':I(_0x35e081[_0x4d7cdd(0x13e)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))['sort']((_0x14aef0,_0x3baf1e)=>_0x14aef0[_0x4d7cdd(0x14b)]-_0x3baf1e[_0x4d7cdd(0x14b)]),_0x30858d[_0x4d7cdd(0x104)]=(_0x3c87ea=_0x30858d[_0x4d7cdd(0x104)])==null?void 0x0:_0x3c87ea['map'](_0x164531=>({..._0x164531,'startIndex':I(_0x164531[_0x4d7cdd(0x14b)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd),'endIndex':I(_0x164531[_0x4d7cdd(0x13e)],_0x577363,_0x599f32,_0x474ba8,_0x52bd07,_0x394dbd)}))[_0x4d7cdd(0x269)]((_0x486930,_0x371c98)=>_0x486930['startIndex']-_0x371c98[_0x4d7cdd(0x14b)]);}function I(_0x164fab,_0x32645e,_0x3ae502,_0x5dead0,_0x21a228,_0xb64246){return _0x164fab>=_0x32645e&&_0x164fab<_0x3ae502?_0x21a228+_0x164fab-_0x32645e:_0x5dead0<_0x32645e&&_0x164fab>=_0x5dead0&&_0x164fab<_0x32645e?_0x164fab+_0xb64246:_0x5dead0>_0x3ae502&&_0x164fab>=_0x3ae502&&_0x164fab<_0x5dead0?_0x164fab-_0xb64246:_0x164fab;}function _n(_0x2724f3,_0x145d0e,_0x7375f7){const _0x40bf4b=_0x1d6dc9;return Math[_0x40bf4b(0xf0)](Math[_0x40bf4b(0x1fc)](_0x2724f3,_0x145d0e),_0x7375f7);}function vn(_0x1af0ca,_0x24cfd4){const _0x56f185=_0x1d6dc9;var _0x30b580;return((_0x30b580=N(_0x1af0ca)['tables'][_0x24cfd4])==null?void 0x0:_0x30b580[_0x56f185(0xfb)])??0x0;}function yn(_0x23d584){const _0x63fd99=_0x1d6dc9;var _0x5428b9;return((_0x5428b9=_0x23d584[_0x63fd99(0x12f)])==null||(_0x5428b9=_0x5428b9[_0x63fd99(0x183)])==null?void 0x0:_0x5428b9['v'])??0x0;}let bn=function(_0x2d5ad8){const _0x5781dd=_0x1d6dc9;return _0x2d5ad8[_0x5781dd(0x1b8)]=_0x5781dd(0x255),_0x2d5ad8[_0x5781dd(0x1b3)]=_0x5781dd(0x1fd),_0x2d5ad8[_0x5781dd(0x1d2)]=_0x5781dd(0x1b4),_0x2d5ad8[_0x5781dd(0x1e9)]=_0x5781dd(0x1eb),_0x2d5ad8[_0x5781dd(0x161)]=_0x5781dd(0x280),_0x2d5ad8;}({}),xn=function(_0x21f684){const _0x4bdc43=_0x1d6dc9;return _0x21f684[_0x4bdc43(0x1c7)]=_0x4bdc43(0x1b2),_0x21f684[_0x4bdc43(0x1b8)]=_0x4bdc43(0x255),_0x21f684[_0x4bdc43(0x15c)]=_0x4bdc43(0x15e),_0x21f684[_0x4bdc43(0x217)]=_0x4bdc43(0x1e2),_0x21f684[_0x4bdc43(0x277)]=_0x4bdc43(0x1f6),_0x21f684[_0x4bdc43(0x191)]=_0x4bdc43(0x1ea),_0x21f684[_0x4bdc43(0x284)]='table',_0x21f684;}({}),Sn=function(_0x361d3a){const _0x22cae4=_0x1d6dc9;return _0x361d3a[_0x22cae4(0x16c)]=_0x22cae4(0x247),_0x361d3a['Structural']='structural',_0x361d3a[_0x22cae4(0x1b8)]=_0x22cae4(0x255),_0x361d3a;}({}),Cn=function(_0x535146){const _0x137073=_0x1d6dc9;return _0x535146[_0x137073(0x1cf)]=_0x137073(0x289),_0x535146[_0x137073(0x187)]=_0x137073(0x11e),_0x535146;}({});function wn(_0x4ff832){const _0x5c7369=_0x1d6dc9;var _0x1d114e,_0xb7122a;let _0x4dcb80=Tn(_0x4ff832),_0x1d8548=E(_0x4ff832[_0x5c7369(0x24d)],{'tableIds':[_0x4ff832[_0x5c7369(0x170)]]}),_0x1bedb3=(_0x1d114e=_0x1d8548[_0x5c7369(0xfe)])==null?void 0x0:_0x1d114e[_0x4ff832[_0x5c7369(0x170)]],_0x57a7bf=w(_0x1d8548,_0x4ff832['tableId']);if(!_0x1bedb3||!_0x57a7bf||!((_0xb7122a=_0x1d8548[_0x5c7369(0x147)])!=null&&_0xb7122a[_0x5c7369(0x10f)]))throw Error(_0x5c7369(0x1d3)+_0x4ff832[_0x5c7369(0x170)]+_0x5c7369(0x1a5));let _0x3901af=_0x4dcb80[_0x5c7369(0x11b)]['map'](_0x24720b=>_0x1bedb3[_0x5c7369(0x167)][_0x24720b]);_0x1bedb3['tableRows']['splice'](_0x4dcb80[_0x5c7369(0x1db)],_0x3901af[_0x5c7369(0x1b5)],..._0x3901af);let _0x30a1f0=_0x1d8548['body'][_0x5c7369(0x10f)][_0x5c7369(0x18f)](_0x57a7bf['startOffset'],_0x57a7bf[_0x5c7369(0x1d6)]),_0x515786=_0x57a7bf[_0x5c7369(0x244)]['slice'](0x0,_0x4dcb80[_0x5c7369(0x1db)])['map'](_0x30b61a=>_0x1d8548[_0x5c7369(0x147)]['dataStream'][_0x5c7369(0x18f)](_0x30b61a[_0x5c7369(0x113)],_0x30b61a[_0x5c7369(0x1d6)]+0x1))[_0x5c7369(0x141)](''),_0x24f4f5=_0x4dcb80[_0x5c7369(0x11b)]['map'](_0x4361e6=>{const _0x4dda45=_0x5c7369;let _0x396ef5=_0x57a7bf[_0x4dda45(0x244)][_0x4361e6];return _0x1d8548['body'][_0x4dda45(0x10f)][_0x4dda45(0x18f)](_0x396ef5[_0x4dda45(0x113)],_0x396ef5[_0x4dda45(0x1d6)]+0x1);})[_0x5c7369(0x141)](''),_0x1b3464=''+_0x30a1f0[0x0]+_0x515786+_0x24f4f5+_0x30a1f0[_0x30a1f0[_0x5c7369(0x1b5)]-0x1];return _0x1d8548['body'][_0x5c7369(0x10f)]=''+_0x1d8548['body'][_0x5c7369(0x10f)][_0x5c7369(0x18f)](0x0,_0x57a7bf[_0x5c7369(0x113)])+_0x1b3464+_0x1d8548[_0x5c7369(0x147)][_0x5c7369(0x10f)][_0x5c7369(0x18f)](_0x57a7bf[_0x5c7369(0x1d6)]),{'nextDocumentData':_0x1d8548};}function Tn(_0x3cff8d){const _0x4c2aec=_0x1d6dc9;var _0x670cb1,_0x4502d7,_0x4baf3c;let _0x24bebf=(_0x670cb1=_0x3cff8d[_0x4c2aec(0x24d)][_0x4c2aec(0xfe)])==null?void 0x0:_0x670cb1[_0x3cff8d[_0x4c2aec(0x170)]],_0x7c9a59=w(_0x3cff8d[_0x4c2aec(0x24d)],_0x3cff8d[_0x4c2aec(0x170)]),_0x2c8f45=(_0x4502d7=_0x3cff8d[_0x4c2aec(0x24d)][_0x4c2aec(0x147)])==null?void 0x0:_0x4502d7[_0x4c2aec(0x10f)];if(!_0x24bebf||!_0x7c9a59||!_0x2c8f45)throw Error(_0x4c2aec(0x25e));En(_0x24bebf[_0x4c2aec(0x167)]);let _0x326eec=N(_0x3cff8d[_0x4c2aec(0x23a)])[_0x4c2aec(0x14f)][_0x3cff8d[_0x4c2aec(0x170)]],_0x58e7fa=(_0x326eec!=null&&_0x326eec[_0x4c2aec(0xf7)]?0x1:0x0)+vn(_0x3cff8d[_0x4c2aec(0x23a)],_0x3cff8d[_0x4c2aec(0x170)]),_0x26660b=Math[_0x4c2aec(0xf0)](_0x58e7fa,_0x24bebf[_0x4c2aec(0x167)][_0x4c2aec(0x1b5)]),_0x33b8a5=(_0x326eec==null||(_0x4baf3c=_0x326eec[_0x4c2aec(0x26d)])==null||(_0x4baf3c=_0x4baf3c[_0x3cff8d['column']])==null?void 0x0:_0x4baf3c[_0x4c2aec(0x120)])??_0x4c2aec(0x255),_0x7f6da3=_0x7c9a59['rows'][_0x4c2aec(0x18f)](_0x26660b)[_0x4c2aec(0x202)]((_0x30a724,_0x15752e)=>{const _0x1ca463=_0x4c2aec;let _0x35d4ad=_0x30a724['cells'][_0x3cff8d[_0x1ca463(0x1ea)]];return{'index':_0x26660b+_0x15752e,'value':_0x35d4ad?_0x2c8f45['slice'](_0x35d4ad[_0x1ca463(0x113)]+0x1,_0x35d4ad[_0x1ca463(0x1d6)])['trim']():''};});return _0x7f6da3['sort']((_0x1514f2,_0x538381)=>On(_0x1514f2,_0x538381,_0x33b8a5,_0x3cff8d[_0x4c2aec(0x253)])),{'sortStartRow':_0x26660b,'sortedRowIndexes':_0x7f6da3['map'](_0x2d1928=>_0x2d1928['index'])};}function En(_0x3bae79){const _0x934841=_0x1d6dc9;if(_0x3bae79[_0x934841(0x220)](_0x43ee62=>_0x43ee62[_0x934841(0x193)][_0x934841(0x220)](_0x2614a1=>Dn(_0x2614a1))))throw Error(_0x934841(0x1cc));}function Dn(_0x32d464){const _0x487e68=_0x1d6dc9;return(_0x32d464[_0x487e68(0x25b)]??0x1)>0x1||_0x32d464[_0x487e68(0x25b)]===0x0;}function _0x126e(_0x5e4f34,_0x5e6dc0){_0x5e4f34=_0x5e4f34-0xe8;const _0x4369c4=_0x4369();let _0x126e14=_0x4369c4[_0x5e4f34];return _0x126e14;}function On(_0x545b2a,_0x510da2,_0x3c9b29,_0xcb87d6){const _0x201cc1=_0x1d6dc9;let _0x563f3e=_0xcb87d6===_0x201cc1(0x289)?0x1:-0x1,_0x9d416f=kn(_0x545b2a[_0x201cc1(0x209)],_0x510da2[_0x201cc1(0x209)],_0x3c9b29);return _0x9d416f===0x0?_0x545b2a['index']-_0x510da2[_0x201cc1(0x18b)]:_0x9d416f*_0x563f3e;}function kn(_0xe05470,_0x5d6aaf,_0x63fc53){const _0xc88b4d=_0x1d6dc9;return _0x63fc53===_0xc88b4d(0x1fd)?An(_0xe05470)-An(_0x5d6aaf):_0x63fc53===_0xc88b4d(0x1b4)?jn(_0xe05470)-jn(_0x5d6aaf):_0x63fc53==='checkbox'?Mn(_0xe05470)-Mn(_0x5d6aaf):_0xe05470[_0xc88b4d(0x1bb)](_0x5d6aaf);}function An(_0x522d4f){const _0x42d026=_0x1d6dc9;let _0x510548=Number(_0x522d4f);return Number[_0x42d026(0x168)](_0x510548)?_0x510548:0x1/0x0;}function jn(_0x19b68f){const _0x38f7ef=_0x1d6dc9;let _0x465098=Date[_0x38f7ef(0x285)](_0x19b68f);return Number[_0x38f7ef(0x233)](_0x465098)?0x1/0x0:_0x465098;}function Mn(_0x3240c8){const _0x59cb24=_0x1d6dc9;return+!![_0x59cb24(0x112),'1',_0x59cb24(0x1ff),_0x59cb24(0x21e)][_0x59cb24(0x206)](_0x3240c8[_0x59cb24(0x1a4)]());}function Nn(_0x5f4522){'@babel/helpers - typeof';const _0x24a9c5=_0x1d6dc9;return Nn=typeof Symbol==_0x24a9c5(0x13f)&&typeof Symbol['iterator']==_0x24a9c5(0x14d)?function(_0x25ad34){return typeof _0x25ad34;}:function(_0x3a7e2c){const _0x4bb7b7=_0x24a9c5;return _0x3a7e2c&&typeof Symbol==_0x4bb7b7(0x13f)&&_0x3a7e2c[_0x4bb7b7(0x24c)]===Symbol&&_0x3a7e2c!==Symbol[_0x4bb7b7(0x142)]?_0x4bb7b7(0x14d):typeof _0x3a7e2c;},Nn(_0x5f4522);}function Pn(_0x2c5d4a,_0x15ff32){const _0x6b6e0a=_0x1d6dc9;if(Nn(_0x2c5d4a)!=_0x6b6e0a(0x180)||!_0x2c5d4a)return _0x2c5d4a;var _0x3e84ca;if(typeof Symbol<'u'&&(_0x3e84ca=_0x2c5d4a[Symbol[_0x6b6e0a(0x164)]])!==void 0x0){var _0x2e4c1d=_0x3e84ca[_0x6b6e0a(0x17a)](_0x2c5d4a,_0x15ff32||_0x6b6e0a(0x20a));if(Nn(_0x2e4c1d)!=_0x6b6e0a(0x180))return _0x2e4c1d;throw TypeError(_0x6b6e0a(0x1d4));}return(_0x15ff32===_0x6b6e0a(0x1fa)?String:Number)(_0x2c5d4a);}function Fn(_0x3da2aa){const _0x558a66=_0x1d6dc9;var _0x1ed68d=Pn(_0x3da2aa,_0x558a66(0x1fa));return Nn(_0x1ed68d)=='symbol'?_0x1ed68d:_0x1ed68d+'';}function L(_0x1d4f9e,_0x824176,_0x2c4a1b){const _0x32881f=_0x1d6dc9;return(_0x824176=Fn(_0x824176))in _0x1d4f9e?Object[_0x32881f(0x12b)](_0x1d4f9e,_0x824176,{'value':_0x2c4a1b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1d4f9e[_0x824176]=_0x2c4a1b,_0x1d4f9e;}var R=class extends _0x3ab5bb{constructor(..._0x5245ad){const _0x305017=_0x1d6dc9;super(..._0x5245ad),L(this,'_resources',new Map()),L(this,_0x305017(0x230),new _0x53fdd2()),L(this,_0x305017(0x19a),this['_change$'][_0x305017(0x102)]());}[_0x1d6dc9(0x203)](_0x23b5fd,_0x5f551f){const _0x7de250=_0x1d6dc9;var _0x5c8979;let _0x4fa288=(_0x5c8979=this[_0x7de250(0x249)][_0x7de250(0x163)](_0x23b5fd))==null?void 0x0:_0x5c8979[_0x7de250(0x14f)][_0x5f551f];if(_0x4fa288)return N({'tables':{[_0x5f551f]:_0x4fa288}})['tables'][_0x5f551f];}[_0x1d6dc9(0x1e7)](_0x4ab605,_0x13a903){const _0x229194=_0x1d6dc9;return st(_0x13a903,this['getTableMetadata'](_0x4ab605,_0x13a903[_0x229194(0x170)]));}[_0x1d6dc9(0x119)](_0x4428ae,_0x53c051){const _0x305548=_0x1d6dc9;return ct(_0x53c051,this[_0x305548(0x17c)](_0x4428ae));}[_0x1d6dc9(0x245)](_0x381616,_0x40012a,_0x889ad4){const _0x3637bf=_0x1d6dc9;this['_setResource'](_0x381616,_0x40012a,it(this[_0x3637bf(0x249)][_0x3637bf(0x163)](_0x381616),_0x40012a,_0x889ad4));}[_0x1d6dc9(0x1a3)](_0x209b07,_0x4e6c9f,_0x2befaa){const _0x1ee565=_0x1d6dc9;this['_setResource'](_0x209b07,_0x4e6c9f,at(this[_0x1ee565(0x249)]['get'](_0x209b07),_0x4e6c9f,_0x2befaa));}['setColumnType'](_0x45d463,_0x1191ae,_0x5147b4,_0x1eef22){const _0x41b0db=_0x1d6dc9;this['_setResource'](_0x45d463,_0x1191ae,ot(this['_resources'][_0x41b0db(0x163)](_0x45d463),_0x1191ae,_0x5147b4,_0x1eef22));}[_0x1d6dc9(0x17c)](_0x1c3cf3){const _0x231fe8=_0x1d6dc9;return N(this[_0x231fe8(0x249)][_0x231fe8(0x163)](_0x1c3cf3));}['deserialize'](_0x3ce279,_0x3ad0f9){const _0x2632db=_0x1d6dc9;this[_0x2632db(0x249)][_0x2632db(0xff)](_0x3ce279,N(_0x3ad0f9)),this[_0x2632db(0x230)]['next']({'unitId':_0x3ce279});}[_0x1d6dc9(0x159)](_0x7deb2b){const _0x126633=_0x1d6dc9;this[_0x126633(0x249)][_0x126633(0x17f)](_0x7deb2b),this['_change$'][_0x126633(0x264)]({'unitId':_0x7deb2b});}[_0x1d6dc9(0x151)](){const _0xe4eadd=_0x1d6dc9;super[_0xe4eadd(0x151)](),this[_0xe4eadd(0x249)]['clear'](),this[_0xe4eadd(0x230)][_0xe4eadd(0x10c)]();}[_0x1d6dc9(0x25d)](_0x3f15c1,_0x51ae13,_0x6ed1ac){const _0x22b271=_0x1d6dc9;this[_0x22b271(0x249)][_0x22b271(0xff)](_0x3f15c1,_0x6ed1ac),this[_0x22b271(0x230)][_0x22b271(0x264)]({'unitId':_0x3f15c1,'tableId':_0x51ae13});}};const In={'id':_0x1d6dc9(0x106),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':(_0x179691,_0x305e3f)=>{const _0x2025b8=_0x1d6dc9;let _0x5ebfd6=_0x305e3f&&_0x179691['get'](_0x147405)['getUnit'](_0x305e3f[_0x2025b8(0xe8)],_0x21a03b['UNIVER_DOC']);if(!_0x5ebfd6||_0x5ebfd6[_0x2025b8(0x1b7)]()||!_0x5ebfd6[_0x2025b8(0x1b9)]())return!0x1;let _0x54602a=_0x5ebfd6['getSnapshot']()[_0x2025b8(0xfe)]??{},_0x55b354=_0x179691[_0x2025b8(0x163)](R),_0xeb60ac=Object[_0x2025b8(0xeb)](_0x54602a)[_0x2025b8(0xef)]((_0x275f3b,_0x25358b)=>_0x2542db[_0x2025b8(0x219)](_0x275f3b,lt(_0x25358b,_0x55b354[_0x2025b8(0x203)](_0x305e3f['unitId'],_0x25358b[_0x2025b8(0x170)]))),null),_0x244a86=_0x179691[_0x2025b8(0x163)](_0x49cedb);if(!_0x2542db['isNoop'](_0xeb60ac)){let _0x5b6ce0={'unitId':_0x305e3f[_0x2025b8(0xe8)],'actions':_0xeb60ac,'textRanges':null,'noNeedSetTextRange':!0x0,'trigger':void 0x0},_0x4dc03d=_0x244a86['beforeCommandExecuted'](_0x24469e=>{const _0x3781d8=_0x2025b8;_0x24469e['id']===_0x506474['id']&&_0x24469e[_0x3781d8(0x115)]===_0x5b6ce0&&(_0x5b6ce0[_0x3781d8(0x261)]=void 0x0);});try{if(!_0x244a86[_0x2025b8(0x117)](_0x506474['id'],_0x5b6ce0))return!0x1;}finally{_0x4dc03d[_0x2025b8(0x151)]();}}let _0x35d0a=_0x244a86[_0x2025b8(0x117)](_0x506474['id'],{..._0x305e3f,'actions':_0x305e3f[_0x2025b8(0x1a0)],'trigger':In['id']});return _0x35d0a!==!0x1&&_0x35d0a[_0x2025b8(0x1a0)]!=null&&_0x35d0a[_0x2025b8(0x1a0)]['length']>0x0;}};function z(_0xbbda68,_0x448331){const _0x3eccfa=_0x1d6dc9;return(_0xbbda68==null?void 0x0:_0xbbda68[_0x3eccfa(0x184)])??(_0x448331==null?void 0x0:_0x448331['segmentId'])??'';}function B(_0x5f1ef0,_0x180cbb){const _0x2b36a6=_0x1d6dc9;let _0x12ceba=(_0x5f1ef0==null?void 0x0:_0x5f1ef0[_0x2b36a6(0x1ef)])??(_0x180cbb==null?void 0x0:_0x180cbb[_0x2b36a6(0x1ef)]),_0x255844=(_0x5f1ef0==null?void 0x0:_0x5f1ef0['endRow'])??(_0x180cbb==null?void 0x0:_0x180cbb[_0x2b36a6(0x1ee)]),_0x4a9451=(_0x5f1ef0==null?void 0x0:_0x5f1ef0[_0x2b36a6(0x136)])??(_0x180cbb==null?void 0x0:_0x180cbb[_0x2b36a6(0x136)]),_0x12828a=(_0x5f1ef0==null?void 0x0:_0x5f1ef0[_0x2b36a6(0x26b)])??(_0x180cbb==null?void 0x0:_0x180cbb[_0x2b36a6(0x26b)]);return _0x12ceba==null||_0x255844==null||_0x4a9451==null||_0x12828a==null?null:{'endColumn':_0x12828a,'endRow':_0x255844,'startColumn':_0x4a9451,'startRow':_0x12ceba};}function V(_0x37b454,_0x260a7b=''){const _0x2a2d85=_0x1d6dc9;var _0x1b1d98,_0x5b6d05;let _0x4ec68a=_0x37b454[_0x2a2d85(0x1dc)]();if(!_0x260a7b||(_0x1b1d98=_0x4ec68a['body'])!=null&&(_0x1b1d98=_0x1b1d98[_0x2a2d85(0x14f)])!=null&&_0x1b1d98['some'](_0x17fde2=>_0x17fde2[_0x2a2d85(0x170)]===_0x260a7b))return _0x4ec68a;let _0x33d307=(_0x5b6d05=_0x37b454['getSelfOrHeaderFooterModel'](_0x260a7b))==null?void 0x0:_0x5b6d05[_0x2a2d85(0x1dc)]();return _0x33d307?{..._0x33d307,'documentStyle':_0x4ec68a[_0x2a2d85(0xf6)],'drawings':_0x4ec68a[_0x2a2d85(0x166)],'drawingsOrder':_0x4ec68a['drawingsOrder'],'tableSource':_0x4ec68a['tableSource']}:null;}function H(_0x1a66e4,_0x5ad563,_0x1e587b,_0x2f6585){const _0x3f7d1d=_0x1d6dc9;return Mr(_0x1e587b,_0x2f6585)?null:_0x1e587b===void 0x0?_0x1a66e4[_0x3f7d1d(0x1c4)](_0x5ad563,_0x2f6585):_0x2f6585===void 0x0?_0x1a66e4[_0x3f7d1d(0x160)](_0x5ad563,_0x1e587b):_0x1a66e4[_0x3f7d1d(0x1bf)](_0x5ad563,_0x1e587b,_0x2f6585);}function Ln(_0x3c48c0,_0x1ef232,_0xfa8129,_0x1bb1e0,_0x389151){const _0x447341=_0x1d6dc9;var _0x40b6a3,_0x162f90;let _0x5cfdac=(_0x40b6a3=_0x3c48c0[_0x447341(0xfe)])==null?void 0x0:_0x40b6a3[_0x1ef232];if(!(_0x5cfdac!=null&&_0x5cfdac['tableColumns'][_0xfa8129]))return null;let _0x47233b=_0x5cfdac['tableColumns'][_0x447341(0x202)]((_0x2b4762,_0x187083)=>{let _0x52e996=_0x187083===_0xfa8129?_0x1bb1e0:_0x389151==null?void 0x0:_0x389151[_0x187083];return _0x52e996==null?null:Rn(_0x3c48c0,_0x1ef232,_0x187083,_0x52e996);})[_0x447341(0x26c)](Boolean)[_0x447341(0xef)]((_0x460b3d,_0xc136c2)=>_0x2542db['compose'](_0x460b3d,_0xc136c2),null);if(((_0x162f90=_0x5cfdac['size'])==null?void 0x0:_0x162f90['type'])!==_0x294639['SPECIFIED'])return _0x47233b;let _0x4209b0=_0x5cfdac[_0x447341(0x176)][_0x447341(0xef)]((_0x4ea3c4,_0xd21666,_0x4caf3b)=>{const _0x2e1194=_0x447341;var _0x31e715;return _0x4ea3c4+(_0x4caf3b===_0xfa8129?Math[_0x2e1194(0x1fc)](0x1,_0x1bb1e0):(_0x389151==null?void 0x0:_0x389151[_0x4caf3b])??((_0x31e715=_0xd21666['size'])==null||(_0x31e715=_0x31e715['width'])==null?void 0x0:_0x31e715['v'])??0x0);},0x0),_0x2f0ef6=H(_0x2542db[_0x447341(0x15b)](),['tableSource',_0x1ef232,'size',_0x447341(0x221)],_0x5cfdac[_0x447341(0x19e)][_0x447341(0x221)],{'v':_0x4209b0});return _0x2542db[_0x447341(0x219)](_0x47233b,_0x2f0ef6);}function Rn(_0x4a1700,_0x39afa6,_0x2e6b17,_0x66191b){const _0x303364=_0x1d6dc9;var _0x210499,_0xe2c23,_0x544c10;let _0x58ac43=(_0x210499=_0x4a1700[_0x303364(0xfe)])==null||(_0x210499=_0x210499[_0x39afa6])==null?void 0x0:_0x210499['tableColumns'][_0x2e6b17];if(!_0x58ac43)return null;let _0xe706fa=Math[_0x303364(0x1fc)](0x1,_0x66191b);if(((_0xe2c23=_0x58ac43[_0x303364(0x19e)])==null||(_0xe2c23=_0xe2c23[_0x303364(0x221)])==null?void 0x0:_0xe2c23['v'])===_0xe706fa)return null;let _0x4bb86f=_0x2542db[_0x303364(0x15b)]();return _0x58ac43[_0x303364(0x19e)]?_0x58ac43[_0x303364(0x19e)]['width']?_0x4bb86f[_0x303364(0x1bf)](['tableSource',_0x39afa6,_0x303364(0x176),_0x2e6b17,'size',_0x303364(0x221),'v'],(_0x544c10=_0x58ac43[_0x303364(0x19e)])==null||(_0x544c10=_0x544c10['width'])==null?void 0x0:_0x544c10['v'],_0xe706fa):_0x4bb86f[_0x303364(0x1c4)]([_0x303364(0xfe),_0x39afa6,_0x303364(0x176),_0x2e6b17,_0x303364(0x19e),_0x303364(0x221)],{'v':_0xe706fa}):_0x4bb86f[_0x303364(0x1c4)](['tableSource',_0x39afa6,'tableColumns',_0x2e6b17,_0x303364(0x19e)],{'type':_0x294639[_0x303364(0x153)],'width':{'v':_0xe706fa}});}function zn(_0x2e2fb6,_0x57cc42,_0x126c18,_0x24742d){const _0x5c72ef=_0x1d6dc9;var _0x1c3e11,_0x3547ca,_0x1d7a5b,_0x7fce7d,_0x16935b;let _0x2d7d08=(_0x1c3e11=_0x2e2fb6[_0x5c72ef(0xfe)])==null?void 0x0:_0x1c3e11[_0x57cc42];if(!_0x2d7d08)return null;let _0x5abffb=_0x2542db[_0x5c72ef(0x15b)]();return W([H(_0x5abffb,[_0x5c72ef(0xfe),_0x57cc42,_0x5c72ef(0x226)],_0x2d7d08['textWrap'],_0x4bef24[_0x5c72ef(0x156)]),H(_0x5abffb,[_0x5c72ef(0xfe),_0x57cc42,_0x5c72ef(0x27b),'positionH','posOffset'],(_0x3547ca=_0x2d7d08[_0x5c72ef(0x27b)])==null||(_0x3547ca=_0x3547ca[_0x5c72ef(0x139)])==null?void 0x0:_0x3547ca['posOffset'],(((_0x1d7a5b=_0x2d7d08[_0x5c72ef(0x27b)])==null||(_0x1d7a5b=_0x1d7a5b[_0x5c72ef(0x139)])==null?void 0x0:_0x1d7a5b[_0x5c72ef(0x11a)])??0x0)+_0x126c18),H(_0x5abffb,[_0x5c72ef(0xfe),_0x57cc42,_0x5c72ef(0x27b),_0x5c72ef(0x162),'posOffset'],(_0x7fce7d=_0x2d7d08['position'])==null||(_0x7fce7d=_0x7fce7d[_0x5c72ef(0x162)])==null?void 0x0:_0x7fce7d[_0x5c72ef(0x11a)],(((_0x16935b=_0x2d7d08['position'])==null||(_0x16935b=_0x16935b['positionV'])==null?void 0x0:_0x16935b['posOffset'])??0x0)+_0x24742d)]['filter'](Boolean));}function Bn(_0x4da421,_0x5901c8,_0x8f0ed9,_0x2a0af2=['body']){const _0x22b179=_0x1d6dc9;var _0x1ccf25,_0x2c59fd,_0x167121;let _0xc3e092=_0x4da421[_0x22b179(0x147)],_0x13d9a2=(_0x1ccf25=_0x4da421[_0x22b179(0xfe)])==null?void 0x0:_0x1ccf25[_0x5901c8],_0x71c121=w(_0x4da421,_0x5901c8);if(!(_0xc3e092!=null&&_0xc3e092[_0x22b179(0x10f)])||!_0x13d9a2||!_0x71c121)return null;let _0x4e72bc=Math['min'](Math[_0x22b179(0x1fc)](_0x8f0ed9,0x0),_0xc3e092[_0x22b179(0x10f)]['length']);if(_0x4e72bc>=_0x71c121[_0x22b179(0x113)]&&_0x4e72bc<=_0x71c121['endOffset']||!Vn(_0xc3e092,_0x5901c8,_0x4e72bc))return null;let _0x40cd0c=ur(_0xc3e092,_0x71c121[_0x22b179(0x113)],_0x71c121['endOffset'],_0x4e72bc,_0x2a0af2);if(!_0x40cd0c)return null;let _0x42eb06=_0x2542db[_0x22b179(0x15b)]();return W([_0x40cd0c,H(_0x42eb06,[_0x22b179(0xfe),_0x5901c8,_0x22b179(0x226)],_0x13d9a2[_0x22b179(0x226)],_0x4bef24[_0x22b179(0x228)]),H(_0x42eb06,[_0x22b179(0xfe),_0x5901c8,_0x22b179(0x27b),'positionH','posOffset'],(_0x2c59fd=_0x13d9a2[_0x22b179(0x27b)])==null||(_0x2c59fd=_0x2c59fd[_0x22b179(0x139)])==null?void 0x0:_0x2c59fd[_0x22b179(0x11a)],0x0),H(_0x42eb06,[_0x22b179(0xfe),_0x5901c8,_0x22b179(0x27b),_0x22b179(0x162),'posOffset'],(_0x167121=_0x13d9a2[_0x22b179(0x27b)])==null||(_0x167121=_0x167121[_0x22b179(0x162)])==null?void 0x0:_0x167121[_0x22b179(0x11a)],0x0)][_0x22b179(0x26c)](Boolean));}function Vn(_0x1a5b0f,_0x1ab9a5,_0x57cab6){const _0x9b4976=_0x1d6dc9;var _0x3f8de9,_0x5dcab8,_0x756c50;return!((_0x3f8de9=_0x1a5b0f[_0x9b4976(0x14f)])!=null&&_0x3f8de9[_0x9b4976(0x220)](_0x2d3c92=>_0x2d3c92[_0x9b4976(0x170)]!==_0x1ab9a5&&_0x2d3c92[_0x9b4976(0x14b)]<=_0x57cab6&&_0x57cab6<_0x2d3c92[_0x9b4976(0x13e)])||(_0x5dcab8=_0x1a5b0f['blockRanges'])!=null&&_0x5dcab8[_0x9b4976(0x220)](_0x416dd6=>_0x416dd6[_0x9b4976(0x14b)]<=_0x57cab6&&_0x57cab6<=_0x416dd6[_0x9b4976(0x13e)])||(_0x756c50=_0x1a5b0f[_0x9b4976(0xf9)])!=null&&_0x756c50[_0x9b4976(0x220)](_0x4529f6=>_0x4529f6[_0x9b4976(0x14b)]===_0x57cab6));}function Hn(_0x9959ca,_0xdacb5,_0x20ec84,_0x2f0c21,_0x2f06e2=_0x476a6d[_0x1d6dc9(0x278)]){const _0x542aa3=_0x1d6dc9;var _0x40c0a2,_0x313798,_0x4a10f3;let _0x421989=(_0x40c0a2=_0x9959ca[_0x542aa3(0xfe)])==null||(_0x40c0a2=_0x40c0a2[_0xdacb5])==null?void 0x0:_0x40c0a2['tableRows'][_0x20ec84];if(!_0x421989)return null;let _0x2b53d1={'hRule':_0x2f06e2,'val':{'v':Math[_0x542aa3(0x1fc)](0x1,_0x2f0c21)}};return _0x421989[_0x542aa3(0x12f)]?[H(_0x2542db['getInstance'](),['tableSource',_0xdacb5,_0x542aa3(0x167),_0x20ec84,_0x542aa3(0x12f),_0x542aa3(0x23c)],(_0x313798=_0x421989['trHeight'])==null?void 0x0:_0x313798[_0x542aa3(0x23c)],_0x2b53d1[_0x542aa3(0x23c)]),H(_0x2542db['getInstance'](),[_0x542aa3(0xfe),_0xdacb5,'tableRows',_0x20ec84,'trHeight','val','v'],(_0x4a10f3=_0x421989[_0x542aa3(0x12f)])==null||(_0x4a10f3=_0x4a10f3['val'])==null?void 0x0:_0x4a10f3['v'],_0x2b53d1[_0x542aa3(0x183)]['v'])]['filter'](Boolean)['reduce']((_0x265375,_0x4ba801)=>_0x2542db['compose'](_0x265375,_0x4ba801),null):_0x2542db[_0x542aa3(0x15b)]()['insertOp']([_0x542aa3(0xfe),_0xdacb5,'tableRows',_0x20ec84,_0x542aa3(0x12f)],_0x2b53d1);}function Un(_0x45490f,_0x133354,_0x561675,_0xe617dc){const _0x11dce9=_0x1d6dc9;var _0x3d4920;let _0x4750ca=(_0x3d4920=_0x45490f[_0x11dce9(0xfe)])==null?void 0x0:_0x3d4920[_0x133354];if(!_0x4750ca)return null;let _0x4b60b7=Math[_0x11dce9(0xf0)](_0x561675,_0xe617dc),_0x5e80e7=Math[_0x11dce9(0x1fc)](_0x561675,_0xe617dc),_0x2aa7fd=_0x4750ca[_0x11dce9(0x167)][_0x11dce9(0x18f)](_0x4b60b7,_0x5e80e7+0x1);if(!_0x2aa7fd[_0x11dce9(0x1b5)])return null;let _0x2918d0=_0x2aa7fd[_0x11dce9(0xef)]((_0x20297d,_0x5742f8)=>{const _0x4e8eac=_0x11dce9;var _0x38423a;return _0x20297d+(((_0x38423a=_0x5742f8['trHeight'])==null||(_0x38423a=_0x38423a[_0x4e8eac(0x183)])==null?void 0x0:_0x38423a['v'])??0x0);},0x0)/_0x2aa7fd[_0x11dce9(0x1b5)];return _0x2aa7fd['map']((_0x1e4746,_0x3d0e6f)=>Hn(_0x45490f,_0x133354,_0x4b60b7+_0x3d0e6f,_0x2918d0))[_0x11dce9(0x26c)](Boolean)[_0x11dce9(0xef)]((_0x50861c,_0x5f45df)=>_0x2542db[_0x11dce9(0x219)](_0x50861c,_0x5f45df),null);}function Wn(_0x349bde,_0x501f29,_0x218891,_0x133499){const _0x1df7c6=_0x1d6dc9;var _0x49f3eb;let _0x248a93=(_0x49f3eb=_0x349bde[_0x1df7c6(0xfe)])==null?void 0x0:_0x49f3eb[_0x501f29];if(!_0x248a93)return null;let _0x3f556f=Math[_0x1df7c6(0xf0)](_0x218891,_0x133499),_0x42252a=Math[_0x1df7c6(0x1fc)](_0x218891,_0x133499),_0x34a2c1=_0x248a93['tableColumns'][_0x1df7c6(0x18f)](_0x3f556f,_0x42252a+0x1);if(!_0x34a2c1[_0x1df7c6(0x1b5)])return null;let _0x499794=_0x34a2c1['reduce']((_0x137e27,_0x3cf64f)=>{const _0x2a25ed=_0x1df7c6;var _0x35852a;return _0x137e27+(((_0x35852a=_0x3cf64f['size'])==null||(_0x35852a=_0x35852a[_0x2a25ed(0x221)])==null?void 0x0:_0x35852a['v'])??0x0);},0x0)/_0x34a2c1[_0x1df7c6(0x1b5)];return _0x34a2c1[_0x1df7c6(0x202)]((_0x5acf83,_0x2db659)=>Rn(_0x349bde,_0x501f29,_0x3f556f+_0x2db659,_0x499794))[_0x1df7c6(0x26c)](Boolean)[_0x1df7c6(0xef)]((_0x3d96c2,_0x191dd5)=>_0x2542db['compose'](_0x3d96c2,_0x191dd5),null);}function Gn(_0x4f610b,_0x3ab649,_0x316b31){const _0x52a480=_0x1d6dc9;var _0x450e8f;let _0x2f3e7e=(_0x450e8f=_0x4f610b['tableSource'])==null?void 0x0:_0x450e8f[_0x3ab649];if(!_0x2f3e7e)return null;let _0xc7f78=Math['min'](Math[_0x52a480(0x1fc)](0x0,_0x316b31),_0x2f3e7e[_0x52a480(0x167)]['length']),_0x475908=_0x2542db[_0x52a480(0x15b)](),_0x25959b=[];return _0x2f3e7e[_0x52a480(0x167)]['forEach']((_0x1b134b,_0x498eaf)=>{const _0x55bb17=_0x52a480;let _0x1cf4d3=_0x498eaf<_0xc7f78?_0x2d71c7[_0x55bb17(0x267)]:_0x2d71c7[_0x55bb17(0x1bc)],_0xd25beb=_0x498eaf<_0xc7f78?_0x2d71c7['TRUE']:void 0x0,_0x546489=H(_0x475908,['tableSource',_0x3ab649,'tableRows',_0x498eaf,_0x55bb17(0x13b)],_0x1b134b[_0x55bb17(0x13b)],_0x1cf4d3),_0xcba40b=H(_0x475908,[_0x55bb17(0xfe),_0x3ab649,_0x55bb17(0x167),_0x498eaf,_0x55bb17(0x1c5)],_0x1b134b['isFirstRow'],_0xd25beb);_0x546489&&_0x25959b[_0x55bb17(0x149)](_0x546489),_0xcba40b&&_0x25959b[_0x55bb17(0x149)](_0xcba40b);}),{'actions':W(_0x25959b),'headerRowCount':_0xc7f78};}function Kn(_0x1b57d2,_0x27312c,_0x32f387,_0x33b33e,_0x195693,_0x52dc12={}){const _0xbd4a39=_0x1d6dc9;var _0x285ba9;let _0xeab7=(_0x285ba9=_0x1b57d2[_0xbd4a39(0xfe)])==null?void 0x0:_0x285ba9[_0x27312c],_0x1a3bff=w(_0x1b57d2,_0x27312c);if(!_0xeab7||!_0x1a3bff||_0x33b33e<=0x0||_0x32f387<0x0||_0x32f387>=_0xeab7['tableColumns'][_0xbd4a39(0x1b5)])return null;let _0x1bdd89=_0x195693===_0xbd4a39(0xf1)?_0x32f387:_0x32f387+0x1,_0x308142=_0xeab7['tableColumns'][_0x32f387],_0x35d429=_0x52dc12[_0xbd4a39(0x252)]??_0x308142[_0xbd4a39(0x19e)][_0xbd4a39(0x221)]['v'],_0x338c3f=_0x52dc12[_0xbd4a39(0x27c)]??!0x0,_0x53701f=_0xeab7['tableColumns'][_0xbd4a39(0xef)]((_0x486ce2,_0x26f0eb)=>_0x486ce2+_0x26f0eb[_0xbd4a39(0x19e)][_0xbd4a39(0x221)]['v'],0x0),_0x4314d9=_0x338c3f&&_0x53701f>0x0?_0x53701f/(_0x53701f+_0x35d429*_0x33b33e):0x1;if(qn(_0xeab7))return Yn(_0x1b57d2,_0xeab7,_0x1a3bff,_0x27312c,_0x32f387,_0x1bdd89,_0x33b33e,_0x35d429,_0x4314d9,_0x338c3f,_0x53701f,_0x52dc12['bodyPath']??['body']);let _0xa48c5=Xn(_0xeab7,_0x1bdd89,_0x33b33e),_0x5d8b7b=wr(_0xeab7,_0xa48c5,_0x2380b=>_0x2380b>=_0x1bdd89?_0x2380b+_0x33b33e:_0x2380b);Zn(_0x5d8b7b,_0xeab7,_0x27312c,_0x338c3f,_0x53701f,_0x35d429,_0x33b33e,_0x4314d9),Qn(_0x5d8b7b,_0xeab7,_0x27312c,_0x32f387,_0x1bdd89,_0x33b33e,_0x35d429,_0x4314d9,_0xa48c5);let _0x107393=F(_0x1b57d2,$n(_0x1a3bff,_0x32f387,_0x33b33e,_0x195693),_0x52dc12[_0xbd4a39(0x22f)]??[_0xbd4a39(0x147)]);return _0x107393?(_0x5d8b7b[_0xbd4a39(0x149)](_0x107393),{'actions':W(_0x5d8b7b),'cursorColumn':_0x1bdd89}):null;}function qn(_0x1de9dd){const _0x3d3273=_0x1d6dc9;return _0x1de9dd[_0x3d3273(0x167)][_0x3d3273(0x220)](_0xe8293e=>_0xe8293e['tableCells'][_0x3d3273(0x1b5)]!==_0x1de9dd[_0x3d3273(0x176)][_0x3d3273(0x1b5)]);}function Jn(_0x450acd){const _0x19f04d=_0x1d6dc9;let _0x261190=_0x450acd[_0x19f04d(0x19d)]??0x0;return _0x450acd[_0x19f04d(0x193)][_0x19f04d(0x202)]((_0x34eddd,_0x4284a2)=>{const _0x347999=_0x19f04d;let _0xcbc124=Math[_0x347999(0x1fc)](0x1,_0x34eddd[_0x347999(0x177)]??0x1),_0x47c9e3={'cell':_0x34eddd,'physicalIndex':_0x4284a2,'startColumn':_0x261190,'endColumn':_0x261190+_0xcbc124-0x1};return _0x261190+=_0xcbc124,_0x47c9e3;});}function Yn(_0x41810d,_0x42cbdb,_0x13215b,_0x12f0e7,_0x4e49fc,_0x2050d1,_0x5a516c,_0x2719d5,_0x4fe62c,_0x2420f9,_0x3eb1c9,_0x3050dc){const _0x25b720=_0x1d6dc9;let _0x2d5255=[];Zn(_0x2d5255,_0x42cbdb,_0x12f0e7,_0x2420f9,_0x3eb1c9,_0x2719d5,_0x5a516c,_0x4fe62c);let _0x352150=_0x2542db[_0x25b720(0x15b)](),_0x1c28b1=_0x42cbdb[_0x25b720(0x176)][_0x4e49fc];for(let _0x26784a=0x0;_0x26784a<_0x5a516c;_0x26784a++){let _0x3d1017=U(_0x1c28b1);_0x3d1017['size'][_0x25b720(0x221)]['v']=_0x2719d5*_0x4fe62c,_0x2d5255[_0x25b720(0x149)](_0x352150[_0x25b720(0x1c4)]([_0x25b720(0xfe),_0x12f0e7,_0x25b720(0x176),_0x2050d1+_0x26784a],_0x3d1017));}let _0x3f1a50=[];if(_0x42cbdb[_0x25b720(0x167)][_0x25b720(0x100)]((_0x5e0c9d,_0x216868)=>{const _0x3c814f=_0x25b720;let _0x3da666=Jn(_0x5e0c9d),_0x2790b5=_0x3da666[_0x3c814f(0x121)](_0x179a36=>_0x179a36[_0x3c814f(0x136)]<_0x2050d1&&_0x2050d1<=_0x179a36[_0x3c814f(0x26b)]);if(_0x2790b5){let _0x2266bb=_0x2790b5[_0x3c814f(0x15e)][_0x3c814f(0x177)]??0x1;_0x2d5255[_0x3c814f(0x149)](H(_0x352150,[_0x3c814f(0xfe),_0x12f0e7,_0x3c814f(0x167),_0x216868,'tableCells',_0x2790b5[_0x3c814f(0x224)],_0x3c814f(0x177)],_0x2790b5[_0x3c814f(0x15e)][_0x3c814f(0x177)],_0x2266bb+_0x5a516c));return;}let _0x1c9d0c=_0x3da666[_0x3c814f(0x1e5)](_0x957876=>_0x957876[_0x3c814f(0x136)]>=_0x2050d1),_0x46ac13=_0x1c9d0c<0x0?_0x5e0c9d[_0x3c814f(0x193)][_0x3c814f(0x1b5)]:_0x1c9d0c,_0x21aaa1=_0x3da666['find'](_0x56b735=>_0x4e49fc>=_0x56b735[_0x3c814f(0x136)]&&_0x4e49fc<=_0x56b735[_0x3c814f(0x26b)])??_0x3da666[Math[_0x3c814f(0xf0)](_0x46ac13,_0x3da666[_0x3c814f(0x1b5)]-0x1)];if(!_0x21aaa1)return;for(let _0x54a72f=0x0;_0x54a72f<_0x5a516c;_0x54a72f++){let _0x41bb20=U(_0x21aaa1['cell']);delete _0x41bb20[_0x3c814f(0x25b)],delete _0x41bb20['columnSpan'],_0x2d5255[_0x3c814f(0x149)](_0x352150[_0x3c814f(0x1c4)]([_0x3c814f(0xfe),_0x12f0e7,'tableRows',_0x216868,_0x3c814f(0x193),_0x46ac13+_0x54a72f],_0x41bb20));}let _0x2861dd=_0x13215b[_0x3c814f(0x244)][_0x216868],_0x5eb5a4=_0x46ac13<_0x2861dd['cells']['length']?_0x2861dd['cells'][_0x46ac13][_0x3c814f(0x113)]:_0x2861dd['endOffset'];_0x3f1a50[_0x3c814f(0x149)]({'startOffset':_0x5eb5a4,'endOffset':_0x5eb5a4,'text':jr(Ar(),_0x5a516c)});}),_0x3f1a50['length']){let _0x2192b2=F(_0x41810d,_0x3f1a50,_0x3050dc);if(!_0x2192b2)return null;_0x2d5255['push'](_0x2192b2);}return{'actions':W(_0x2d5255),'cursorColumn':_0x2050d1};}function Xn(_0x4dc30c,_0x3e7e36,_0x83dab3){const _0x3fc5e2=_0x1d6dc9;return Sr(k(_0x4dc30c)['map'](_0x8f7c79=>_0x3e7e36<=_0x8f7c79[_0x3fc5e2(0x136)]?{..._0x8f7c79,'startColumn':_0x8f7c79[_0x3fc5e2(0x136)]+_0x83dab3,'endColumn':_0x8f7c79[_0x3fc5e2(0x26b)]+_0x83dab3}:_0x3e7e36<=_0x8f7c79[_0x3fc5e2(0x26b)]?{..._0x8f7c79,'endColumn':_0x8f7c79[_0x3fc5e2(0x26b)]+_0x83dab3}:_0x8f7c79));}function Zn(_0xf5a9f3,_0xafd618,_0x299e48,_0x3401cd,_0x349075,_0x470705,_0x2b0cc9,_0x5ad13c){const _0x37cc2a=_0x1d6dc9;var _0x1eee6c;let _0x5d8f83=_0x2542db[_0x37cc2a(0x15b)]();if(_0x3401cd)_0xafd618[_0x37cc2a(0x176)]['forEach']((_0x301963,_0x38db35)=>{const _0x3aa496=_0x37cc2a;let _0x5d2a2a=H(_0x5d8f83,[_0x3aa496(0xfe),_0x299e48,_0x3aa496(0x176),_0x38db35,'size','width','v'],_0x301963['size']['width']['v'],_0x301963[_0x3aa496(0x19e)][_0x3aa496(0x221)]['v']*_0x5ad13c);_0x5d2a2a&&_0xf5a9f3[_0x3aa496(0x149)](_0x5d2a2a);});else{if((_0x1eee6c=_0xafd618['size'])!=null&&_0x1eee6c[_0x37cc2a(0x221)]){let _0x1005f5=H(_0x5d8f83,[_0x37cc2a(0xfe),_0x299e48,_0x37cc2a(0x19e),_0x37cc2a(0x221),'v'],_0xafd618['size'][_0x37cc2a(0x221)]['v'],_0x349075+_0x470705*_0x2b0cc9);_0x1005f5&&_0xf5a9f3['push'](_0x1005f5);}}}function Qn(_0x58fa5c,_0x12a58f,_0x1708d3,_0xfff354,_0x197adb,_0x37cb0d,_0x4894d6,_0x3482ca,_0x2ccb26){const _0x2d706c=_0x1d6dc9;let _0x4903b0=_0x2542db[_0x2d706c(0x15b)](),_0xca27=_0x12a58f[_0x2d706c(0x176)][_0xfff354];for(let _0x2b8370=0x0;_0x2b8370<_0x37cb0d;_0x2b8370++){let _0x269fad=U(_0xca27);_0x269fad[_0x2d706c(0x19e)][_0x2d706c(0x221)]['v']=_0x4894d6*_0x3482ca,_0x58fa5c['push'](_0x4903b0['insertOp'](['tableSource',_0x1708d3,_0x2d706c(0x176),_0x197adb+_0x2b8370],_0x269fad));}_0x12a58f[_0x2d706c(0x167)]['forEach']((_0x1030aa,_0x38393c)=>{const _0x165f45=_0x2d706c;for(let _0x1ce21b=0x0;_0x1ce21b<_0x37cb0d;_0x1ce21b++){let _0x2a4108=U(_0x1030aa[_0x165f45(0x193)][_0xfff354]);Er(_0x2a4108,_0x38393c,_0x197adb+_0x1ce21b,_0x2ccb26),_0x58fa5c[_0x165f45(0x149)](_0x4903b0[_0x165f45(0x1c4)]([_0x165f45(0xfe),_0x1708d3,_0x165f45(0x167),_0x38393c,_0x165f45(0x193),_0x197adb+_0x1ce21b],_0x2a4108));}});}function $n(_0x11bda2,_0x1d69de,_0x2e9af5,_0x24d5de){const _0x5a331b=_0x1d6dc9;let _0x29e1da=jr(Ar(),_0x2e9af5);return _0x11bda2['rows'][_0x5a331b(0x202)](_0x534c1d=>{const _0x2fa1de=_0x5a331b;let _0x261417=_0x534c1d['cells'][_0x1d69de],_0x262fed=_0x24d5de===_0x2fa1de(0xf1)?_0x261417['startOffset']:_0x261417[_0x2fa1de(0x1d6)]+0x1;return{'startOffset':_0x262fed,'endOffset':_0x262fed,'text':_0x29e1da};});}function er(_0xfd1d87,_0x456a50,_0x6e7b56,_0x19b826,_0x3730aa=[_0x1d6dc9(0x147)]){const _0x206c41=_0x1d6dc9;var _0x43f687;let _0x87a049=(_0x43f687=_0xfd1d87[_0x206c41(0xfe)])==null?void 0x0:_0x43f687[_0x456a50],_0x24131d=w(_0xfd1d87,_0x456a50);if(!_0x87a049||!_0x24131d)return null;let _0x2bb054=Math[_0x206c41(0xf0)](_0x6e7b56,_0x19b826),_0x4415d7=Math[_0x206c41(0x1fc)](_0x6e7b56,_0x19b826);if(_0x2bb054<0x0||_0x2bb054>=_0x87a049['tableColumns'][_0x206c41(0x1b5)]||_0x4415d7<_0x2bb054)return null;let _0x1e1b8c=Math[_0x206c41(0xf0)](_0x4415d7,_0x87a049['tableColumns'][_0x206c41(0x1b5)]-0x1),_0x9b13c1=_0x1e1b8c-_0x2bb054+0x1;if(_0x9b13c1>=_0x87a049[_0x206c41(0x176)]['length']){let _0x532d09=vr(_0xfd1d87,_0x456a50,_0x3730aa);return _0x532d09?{'actions':_0x532d09[_0x206c41(0x1a0)],'cursorColumn':0x0,'deleteTable':!0x0}:null;}if(qn(_0x87a049))return tr(_0xfd1d87,_0x87a049,_0x24131d,_0x456a50,_0x2bb054,_0x1e1b8c,_0x3730aa);let _0x38725e=wr(_0x87a049,Sr(k(_0x87a049)[_0x206c41(0x202)](_0x1348e6=>xr(_0x1348e6,_0x2bb054,_0x1e1b8c))[_0x206c41(0x26c)](_0x26912c=>_0x26912c!=null)),_0x1790b2=>_0x1790b2<_0x2bb054?_0x1790b2:_0x1790b2>_0x1e1b8c?_0x1790b2-_0x9b13c1:null);pr(_0x38725e,_0x87a049,_0x456a50,_0x2bb054,_0x1e1b8c);let _0x41c38c=_0x24131d[_0x206c41(0x244)][_0x206c41(0x202)](_0x494ce7=>({'startOffset':_0x494ce7[_0x206c41(0x282)][_0x2bb054][_0x206c41(0x113)],'endOffset':_0x494ce7[_0x206c41(0x282)][_0x1e1b8c]['endOffset']+0x1,'text':''})),_0xf58042=F(_0xfd1d87,_0x41c38c,_0x3730aa);return _0xf58042?(_0x38725e['push'](...yr(_0xfd1d87,_0x41c38c[_0x206c41(0x202)](({startOffset:_0x11913b,endOffset:_0x35cc5a})=>({'startOffset':_0x11913b,'endOffset':_0x35cc5a,'collapsed':!0x1})))),_0x38725e[_0x206c41(0x149)](_0xf58042),{'actions':W(_0x38725e),'cursorColumn':Math[_0x206c41(0xf0)](_0x2bb054,_0x87a049['tableColumns'][_0x206c41(0x1b5)]-_0x9b13c1-0x1)}):null;}function tr(_0x28dfe5,_0x25d35d,_0x28e523,_0x75ea45,_0x4f5883,_0x33d7d0,_0x202929){const _0x15b998=_0x1d6dc9;let _0x2a296c=_0x2542db[_0x15b998(0x15b)](),_0x496648=[],_0x2e18ef=[],_0x3fe6c8=[];for(let _0x590993=_0x33d7d0;_0x590993>=_0x4f5883;_0x590993--)_0x496648['push'](_0x2a296c[_0x15b998(0x160)]([_0x15b998(0xfe),_0x75ea45,_0x15b998(0x176),_0x590993],U(_0x25d35d['tableColumns'][_0x590993])));if(_0x25d35d['tableRows'][_0x15b998(0x100)]((_0x168f02,_0x330e21)=>{const _0x473369=_0x15b998;Jn(_0x168f02)[_0x473369(0x18f)]()[_0x473369(0xf2)]()[_0x473369(0x100)](_0x2d830e=>{const _0x2fcd81=_0x473369;var _0x430dad;let _0x5a7053=Math[_0x2fcd81(0x1fc)](0x0,Math[_0x2fcd81(0xf0)](_0x2d830e['endColumn'],_0x33d7d0)-Math[_0x2fcd81(0x1fc)](_0x2d830e['startColumn'],_0x4f5883)+0x1);if(_0x5a7053===0x0)return;let _0x39a6a8=_0x2d830e[_0x2fcd81(0x26b)]-_0x2d830e[_0x2fcd81(0x136)]+0x1-_0x5a7053;if(_0x39a6a8>0x0){let _0x33d274=H(_0x2a296c,[_0x2fcd81(0xfe),_0x75ea45,_0x2fcd81(0x167),_0x330e21,_0x2fcd81(0x193),_0x2d830e[_0x2fcd81(0x224)],_0x2fcd81(0x177)],_0x2d830e[_0x2fcd81(0x15e)][_0x2fcd81(0x177)],_0x39a6a8===0x1?void 0x0:_0x39a6a8);_0x33d274&&_0x496648[_0x2fcd81(0x149)](_0x33d274);return;}_0x496648[_0x2fcd81(0x149)](_0x2a296c[_0x2fcd81(0x160)](['tableSource',_0x75ea45,_0x2fcd81(0x167),_0x330e21,_0x2fcd81(0x193),_0x2d830e[_0x2fcd81(0x224)]],U(_0x2d830e[_0x2fcd81(0x15e)])));let _0x3d5ffd=(_0x430dad=_0x28e523[_0x2fcd81(0x244)][_0x330e21])==null?void 0x0:_0x430dad[_0x2fcd81(0x282)][_0x2d830e['physicalIndex']];if(_0x3d5ffd){let _0x4010bd={'startOffset':_0x3d5ffd[_0x2fcd81(0x113)],'endOffset':_0x3d5ffd[_0x2fcd81(0x1d6)]+0x1,'text':''};_0x2e18ef[_0x2fcd81(0x149)](_0x4010bd),_0x3fe6c8[_0x2fcd81(0x149)]({'startOffset':_0x4010bd[_0x2fcd81(0x113)],'endOffset':_0x4010bd[_0x2fcd81(0x1d6)],'collapsed':!0x1});}});}),_0x2e18ef['length']){let _0x4c349f=F(_0x28dfe5,_0x2e18ef,_0x202929);if(!_0x4c349f)return null;_0x496648['push'](...yr(_0x28dfe5,_0x3fe6c8)),_0x496648[_0x15b998(0x149)](_0x4c349f);}return{'actions':W(_0x496648),'cursorColumn':Math[_0x15b998(0xf0)](_0x4f5883,_0x25d35d[_0x15b998(0x176)][_0x15b998(0x1b5)]-(_0x33d7d0-_0x4f5883+0x1)-0x1)};}function nr(_0x9ae39c,_0x22618c,_0x2e3852,_0x25f7f6,_0x26a54f,_0x1bd5fb,_0x408f74=[_0x1d6dc9(0x147)]){const _0x368607=_0x1d6dc9;var _0xb89550;let _0x3cbc51=(_0xb89550=_0x9ae39c['tableSource'])==null?void 0x0:_0xb89550[_0x22618c],_0x4ff7c3=w(_0x9ae39c,_0x22618c);if(!_0x3cbc51||!_0x4ff7c3||_0x26a54f<=0x0)return null;let _0x564722=lr(_0x2e3852,_0x3cbc51['tableRows'][_0x368607(0x1b5)]-0x1),_0x443cae=lr(_0x25f7f6,_0x3cbc51[_0x368607(0x167)][_0x368607(0x1b5)]-0x1),_0x2e47d2=Math[_0x368607(0xf0)](_0x3cbc51['tableRows'][_0x368607(0x1b5)]-0x1,_0x564722+_0x26a54f-0x1),_0x3e85b7=_0x2e47d2-_0x564722+0x1,_0x171e26=_0x1bd5fb===_0x368607(0x12d)?_0x443cae:_0x443cae+0x1;if(_0x171e26>=_0x564722&&_0x171e26<=_0x2e47d2+0x1)return{'actions':null,'cursorRow':_0x564722};let _0x4aaf6e=_0x171e26>_0x2e47d2?_0x171e26-_0x3e85b7:_0x171e26,_0x7db3c3=[];cr(_0x7db3c3,[_0x368607(0xfe),_0x22618c,_0x368607(0x167)],_0x564722,_0x3e85b7,_0x4aaf6e);let _0x272cf7=T(_0x4ff7c3,_0x564722)[_0x368607(0x113)],_0x53f8c9=T(_0x4ff7c3,_0x2e47d2)['endOffset']+0x1,_0x316b9e=_0x171e26>_0x2e47d2?T(_0x4ff7c3,_0x443cae)['endOffset']+0x1:T(_0x4ff7c3,_0x443cae)[_0x368607(0x113)],_0x47007a=ur(_0x9ae39c[_0x368607(0x147)],_0x272cf7,_0x53f8c9,_0x316b9e,_0x408f74);return _0x47007a?(_0x7db3c3[_0x368607(0x149)](_0x47007a),{'actions':W(_0x7db3c3),'cursorRow':_0x4aaf6e}):null;}function rr(_0x384a62,_0x3e5c42,_0x840795,_0x410b0c,_0x27ada8,_0x3341f9,_0x573674=[_0x1d6dc9(0x147)]){const _0x1e0e0b=_0x1d6dc9;var _0x1c2bf1;let _0x4fb983=(_0x1c2bf1=_0x384a62[_0x1e0e0b(0xfe)])==null?void 0x0:_0x1c2bf1[_0x3e5c42],_0x4c2016=w(_0x384a62,_0x3e5c42);if(!_0x4fb983||!_0x4c2016||_0x27ada8<=0x0)return null;let _0x5bb4fb=lr(_0x840795,_0x4fb983[_0x1e0e0b(0x176)][_0x1e0e0b(0x1b5)]-0x1),_0x2499a9=lr(_0x410b0c,_0x4fb983['tableColumns'][_0x1e0e0b(0x1b5)]-0x1),_0x5e48bd=Math[_0x1e0e0b(0xf0)](_0x4fb983[_0x1e0e0b(0x176)][_0x1e0e0b(0x1b5)]-0x1,_0x5bb4fb+_0x27ada8-0x1),_0x4b2d76=_0x5e48bd-_0x5bb4fb+0x1,_0x2eab03=_0x3341f9===_0x1e0e0b(0xf1)?_0x2499a9:_0x2499a9+0x1;if(_0x2eab03>=_0x5bb4fb&&_0x2eab03<=_0x5e48bd+0x1)return{'actions':null,'cursorColumn':_0x5bb4fb};if(qn(_0x4fb983))return ir(_0x384a62,_0x4fb983,_0x4c2016,_0x3e5c42,_0x5bb4fb,_0x5e48bd,_0x2eab03,_0x573674);let _0x1f5176=_0x2eab03>_0x5e48bd?_0x2eab03-_0x4b2d76:_0x2eab03,_0x45d887=[];return cr(_0x45d887,['tableSource',_0x3e5c42,'tableColumns'],_0x5bb4fb,_0x4b2d76,_0x1f5176),_0x4fb983[_0x1e0e0b(0x167)]['forEach']((_0x9a3771,_0x4d033d)=>cr(_0x45d887,[_0x1e0e0b(0xfe),_0x3e5c42,'tableRows',_0x4d033d,'tableCells'],_0x5bb4fb,_0x4b2d76,_0x1f5176)),_0x4c2016[_0x1e0e0b(0x244)]['forEach'](_0x3cc0ea=>{const _0x49935f=_0x1e0e0b;let _0xef8c96=_0x3cc0ea[_0x49935f(0x282)][_0x5bb4fb][_0x49935f(0x113)],_0x1653b5=_0x3cc0ea[_0x49935f(0x282)][_0x5e48bd]['endOffset']+0x1,_0x59a093=_0x2eab03>_0x5e48bd?_0x3cc0ea[_0x49935f(0x282)][_0x2499a9][_0x49935f(0x1d6)]+0x1:_0x3cc0ea[_0x49935f(0x282)][_0x2499a9][_0x49935f(0x113)],_0x357c3c=ur(_0x384a62['body'],_0xef8c96,_0x1653b5,_0x59a093,_0x573674);_0x357c3c&&_0x45d887[_0x49935f(0x149)](_0x357c3c);}),{'actions':W(_0x45d887),'cursorColumn':_0x1f5176};}function ir(_0x29be03,_0x481edb,_0x569260,_0xcb89b2,_0x43930c,_0x45f76c,_0x3539b3,_0x18f3a4){const _0x2b2612=_0x1d6dc9;let _0x373e3a=_0x45f76c-_0x43930c+0x1,_0x223793=_0x3539b3>_0x45f76c?_0x3539b3-_0x373e3a:_0x3539b3,_0x12daab=_0x481edb[_0x2b2612(0x167)][_0x2b2612(0x202)]((_0x20bf14,_0xa32791)=>{const _0x29e906=_0x2b2612;let _0x73d495=Jn(_0x20bf14),_0x2a6ae0=_0x73d495[_0x29e906(0x26c)](_0x1ae500=>_0x1ae500[_0x29e906(0x136)]>=_0x43930c&&_0x1ae500['endColumn']<=_0x45f76c);if(!_0x2a6ae0[_0x29e906(0x1b5)]||_0x2a6ae0[0x0][_0x29e906(0x136)]!==_0x43930c||_0x2a6ae0[_0x2a6ae0[_0x29e906(0x1b5)]-0x1][_0x29e906(0x26b)]!==_0x45f76c)return null;let _0x15e072=ar(_0x73d495,_0x3539b3);if(_0x15e072==null)return null;let _0x41d7ab=_0x2a6ae0[0x0]['physicalIndex'],_0x384078=_0x2a6ae0[_0x29e906(0x1b5)],_0x4f397d=_0x15e072>_0x41d7ab?_0x15e072-_0x384078:_0x15e072,_0x49c056=_0x569260['rows'][_0xa32791],_0x3b19cf=_0x15e072<_0x49c056[_0x29e906(0x282)]['length']?_0x49c056[_0x29e906(0x282)][_0x15e072][_0x29e906(0x113)]:_0x49c056[_0x29e906(0x1d6)];return{'physicalFrom':_0x41d7ab,'physicalCount':_0x384078,'physicalInsertIndex':_0x4f397d,'startOffset':_0x49c056[_0x29e906(0x282)][_0x41d7ab]['startOffset'],'endOffset':_0x49c056[_0x29e906(0x282)][_0x41d7ab+_0x384078-0x1][_0x29e906(0x1d6)]+0x1,'targetOffset':_0x3b19cf};});if(_0x12daab[_0x2b2612(0x220)](_0x1f2167=>_0x1f2167==null))return null;let _0x45ad68=[];return cr(_0x45ad68,['tableSource',_0xcb89b2,_0x2b2612(0x176)],_0x43930c,_0x373e3a,_0x223793),_0x12daab[_0x2b2612(0x100)]((_0x3e8377,_0x5a1f7d)=>{const _0x506519=_0x2b2612;if(!_0x3e8377)return;cr(_0x45ad68,[_0x506519(0xfe),_0xcb89b2,_0x506519(0x167),_0x5a1f7d,_0x506519(0x193)],_0x3e8377[_0x506519(0x208)],_0x3e8377[_0x506519(0x243)],_0x3e8377[_0x506519(0x148)]);let _0x11e271=ur(_0x29be03[_0x506519(0x147)],_0x3e8377['startOffset'],_0x3e8377['endOffset'],_0x3e8377[_0x506519(0x1f4)],_0x18f3a4);_0x11e271&&_0x45ad68[_0x506519(0x149)](_0x11e271);}),{'actions':W(_0x45ad68),'cursorColumn':_0x223793};}function ar(_0x4bc5eb,_0x2e3a36){const _0x331a5b=_0x1d6dc9;let _0x1f6897=_0x4bc5eb[_0x331a5b(0x1e5)](_0x562d01=>_0x562d01[_0x331a5b(0x136)]===_0x2e3a36);return _0x1f6897>=0x0?_0x1f6897:_0x4bc5eb[_0x331a5b(0x1b5)]>0x0&&_0x4bc5eb[_0x4bc5eb[_0x331a5b(0x1b5)]-0x1][_0x331a5b(0x26b)]+0x1===_0x2e3a36?_0x4bc5eb[_0x331a5b(0x1b5)]:null;}function or(_0x5a5eee,_0x4aeb5a,_0xabf8fe,_0x21929f,_0x265fa6,_0x516800=[_0x1d6dc9(0x147)]){const _0x316533=_0x1d6dc9;var _0x27b32b;let _0x588f63=(_0x27b32b=_0x5a5eee[_0x316533(0xfe)])==null?void 0x0:_0x27b32b[_0xabf8fe],_0x16ad30=w(_0x5a5eee,_0xabf8fe),_0x238ef1=_0x5a5eee[_0x316533(0x147)];if(!_0x588f63||!_0x16ad30||!_0x238ef1||!_0x16ad30['rows']['length'])return null;let _0x5c8507=Tn({'documentData':_0x5a5eee,'metadata':_0x4aeb5a,'tableId':_0xabf8fe,'column':_0x21929f,'direction':_0x265fa6}),_0x4083e2=_0x16ad30[_0x316533(0x244)][_0x316533(0x202)]((_0x4e9d1e,_0x2d5f36)=>({'body':fr(U(_0x33d936(_0x238ef1,_0x4e9d1e[_0x316533(0x113)],_0x4e9d1e[_0x316533(0x1d6)]+0x1,!0x1))),'length':_0x4e9d1e[_0x316533(0x1d6)]+0x1-_0x4e9d1e[_0x316533(0x113)],'sourceIndex':_0x2d5f36})),_0x22a000=_0x16ad30[_0x316533(0x244)][0x0][_0x316533(0x113)],_0x2c0ff5=[];return _0x5c8507['sortedRowIndexes'][_0x316533(0x100)]((_0x411779,_0x24471b)=>{const _0x3ae174=_0x316533;let _0x28c50b=_0x5c8507['sortStartRow']+_0x24471b,_0x112638=_0x4083e2['findIndex'](_0x32246d=>_0x32246d[_0x3ae174(0x236)]===_0x411779);if(_0x112638===_0x28c50b)return;let _0x36ead3=_0x22a000+sr(_0x4083e2,_0x112638),_0x4f89b7=_0x22a000+sr(_0x4083e2,_0x28c50b),_0x2822ff=_0x4083e2[_0x112638],_0x4a1111=dr(_0x36ead3,_0x36ead3+_0x2822ff[_0x3ae174(0x1b5)],_0x4f89b7,_0x2822ff['body'],_0x516800);_0x4a1111&&(_0x2c0ff5[_0x3ae174(0x149)](_0x2542db[_0x3ae174(0x15b)]()[_0x3ae174(0x16a)]([_0x3ae174(0xfe),_0xabf8fe,_0x3ae174(0x167),_0x112638],[_0x3ae174(0xfe),_0xabf8fe,'tableRows',_0x28c50b])),_0x2c0ff5[_0x3ae174(0x149)](_0x4a1111)),_0x4083e2[_0x3ae174(0x155)](_0x28c50b,0x0,_0x4083e2[_0x3ae174(0x155)](_0x112638,0x1)[0x0]);}),W(_0x2c0ff5);}function sr(_0xa0cb89,_0x4e4e6c){let _0x5dddd5=0x0;for(let _0x1cf1db=0x0;_0x1cf1db<_0x4e4e6c;_0x1cf1db++)_0x5dddd5+=_0xa0cb89[_0x1cf1db]['length'];return _0x5dddd5;}function cr(_0x48d577,_0x334e76,_0x4d7e56,_0x32b3a7,_0x54a414){const _0x55e93b=_0x1d6dc9;let _0x2b569e=_0x2542db['getInstance']();if(_0x54a414<_0x4d7e56){for(let _0x41875e=0x0;_0x41875e<_0x32b3a7;_0x41875e++)_0x48d577[_0x55e93b(0x149)](_0x2b569e[_0x55e93b(0x16a)]([..._0x334e76,_0x4d7e56+_0x41875e],[..._0x334e76,_0x54a414+_0x41875e]));}else{for(let _0x354eeb=_0x32b3a7-0x1;_0x354eeb>=0x0;_0x354eeb--)_0x48d577[_0x55e93b(0x149)](_0x2b569e['moveOp']([..._0x334e76,_0x4d7e56+_0x354eeb],[..._0x334e76,_0x54a414+_0x354eeb]));}}function lr(_0x2ed57b,_0x57d4bf){const _0x4a9079=_0x1d6dc9;return Math[_0x4a9079(0xf0)](Math[_0x4a9079(0x1fc)](0x0,_0x2ed57b),Math['max'](0x0,_0x57d4bf));}function ur(_0x3158bf,_0x911d14,_0x25b5e1,_0x1bcf28,_0xcdc56b){return!_0x3158bf||_0x25b5e1<=_0x911d14||_0x1bcf28>=_0x911d14&&_0x1bcf28<=_0x25b5e1?null:dr(_0x911d14,_0x25b5e1,_0x1bcf28,fr(U(_0x33d936(_0x3158bf,_0x911d14,_0x25b5e1,!0x1))),_0xcdc56b);}function dr(_0x29ded7,_0x116d4a,_0x2b25cc,_0x965444,_0x27da7d){const _0x27ac8e=_0x1d6dc9;let _0x2d7da0=_0x116d4a-_0x29ded7;if(_0x2d7da0<=0x0||_0x2b25cc>=_0x29ded7&&_0x2b25cc<=_0x116d4a)return null;let _0x426af7=new _0x5c651d();return _0x2b25cc<_0x29ded7?(_0x426af7['retain'](_0x2b25cc),_0x426af7[_0x27ac8e(0x223)](_0x2d7da0,_0x965444),_0x426af7[_0x27ac8e(0x1ed)](_0x29ded7-_0x2b25cc),_0x426af7[_0x27ac8e(0x17f)](_0x2d7da0)):(_0x426af7[_0x27ac8e(0x1ed)](_0x29ded7),_0x426af7[_0x27ac8e(0x17f)](_0x2d7da0),_0x426af7[_0x27ac8e(0x1ed)](_0x2b25cc-_0x116d4a),_0x426af7['insert'](_0x2d7da0,_0x965444)),_0x2542db['getInstance']()[_0x27ac8e(0x10d)](_0x426af7['serialize'](),_0x27da7d);}function fr(_0x2c2384){let _0x10b037=_0x2c2384;return Object['keys'](_0x10b037)['forEach'](_0x4df56f=>{const _0x5d2f0e=_0x126e;let _0x560d48=_0x10b037[_0x4df56f];Array['isArray'](_0x560d48)&&_0x560d48[_0x5d2f0e(0x1b5)]===0x0&&delete _0x10b037[_0x4df56f];}),_0x2c2384;}function pr(_0x11442a,_0x32d6d6,_0x270d2d,_0x5d8ac0,_0x37dcbb){const _0x3f2b46=_0x1d6dc9;let _0x39fdc5=_0x2542db[_0x3f2b46(0x15b)]();for(let _0x5d91ab=_0x37dcbb;_0x5d91ab>=_0x5d8ac0;_0x5d91ab--)_0x11442a['push'](_0x39fdc5['removeOp']([_0x3f2b46(0xfe),_0x270d2d,_0x3f2b46(0x176),_0x5d91ab],U(_0x32d6d6['tableColumns'][_0x5d91ab])));_0x32d6d6[_0x3f2b46(0x167)][_0x3f2b46(0x100)]((_0x343a93,_0x4c528a)=>{const _0x45e0d4=_0x3f2b46;for(let _0x35b91a=_0x37dcbb;_0x35b91a>=_0x5d8ac0;_0x35b91a--)_0x11442a[_0x45e0d4(0x149)](_0x39fdc5['removeOp']([_0x45e0d4(0xfe),_0x270d2d,_0x45e0d4(0x167),_0x4c528a,'tableCells',_0x35b91a],U(_0x343a93['tableCells'][_0x35b91a])));});}function mr(_0x4e08a1,_0x4dde78,_0x8ed865,_0x29bcc1,_0x4fb1d9,_0x523953=[_0x1d6dc9(0x147)],_0x37ae5a){const _0x35287e=_0x1d6dc9;var _0x5ed521;let _0x209caf=(_0x5ed521=_0x4e08a1[_0x35287e(0xfe)])==null?void 0x0:_0x5ed521[_0x4dde78],_0x5cfe68=w(_0x4e08a1,_0x4dde78);if(!_0x209caf||!_0x5cfe68||_0x29bcc1<=0x0||_0x8ed865<0x0||_0x8ed865>=_0x209caf[_0x35287e(0x167)]['length'])return null;if(qn(_0x209caf))return hr(_0x4e08a1,_0x209caf,_0x5cfe68,_0x4dde78,_0x8ed865,_0x29bcc1,_0x4fb1d9,_0x523953,_0x37ae5a);let _0xf70c52=_0x4fb1d9===_0x35287e(0x12d)?_0x8ed865:_0x8ed865+0x1,_0x2cc7b6=_0x4fb1d9==='above'?T(_0x5cfe68,_0x8ed865)['startOffset']:T(_0x5cfe68,_0x8ed865)[_0x35287e(0x1d6)]+0x1,_0x4d9f53=Sr(k(_0x209caf)[_0x35287e(0x202)](_0x52d9fd=>_0xf70c52<=_0x52d9fd[_0x35287e(0x1ef)]?{..._0x52d9fd,'startRow':_0x52d9fd['startRow']+_0x29bcc1,'endRow':_0x52d9fd[_0x35287e(0x1ee)]+_0x29bcc1}:_0xf70c52<=_0x52d9fd[_0x35287e(0x1ee)]?{..._0x52d9fd,'endRow':_0x52d9fd['endRow']+_0x29bcc1}:_0x52d9fd)),_0x9d13ce=_0x209caf[_0x35287e(0x167)][_0x8ed865],_0x4be65e=Array[_0x35287e(0x1f1)]({'length':_0x29bcc1},(_0x3d4251,_0x5aaa70)=>{let _0x83ef10=U(_0x9d13ce);return Tr(_0x83ef10,_0xf70c52+_0x5aaa70,_0x4d9f53),_0x37ae5a==null||_0x37ae5a(_0x83ef10,_0x5aaa70),_0x83ef10;}),_0x580a63=Cr(_0x209caf,_0x4d9f53,_0x1b7ed0=>_0x1b7ed0>=_0xf70c52?_0x1b7ed0+_0x29bcc1:_0x1b7ed0),_0x4bbd54=_0x2542db[_0x35287e(0x15b)]();_0x4be65e[_0x35287e(0x100)]((_0x3c7803,_0xd972)=>{const _0x566519=_0x35287e;_0x580a63[_0x566519(0x149)](_0x4bbd54[_0x566519(0x1c4)]([_0x566519(0xfe),_0x4dde78,_0x566519(0x167),_0xf70c52+_0xd972],_0x3c7803));});let _0x242c5a=F(_0x4e08a1,[{'startOffset':_0x2cc7b6,'endOffset':_0x2cc7b6,'text':jr(kr(_0x209caf[_0x35287e(0x176)]['length']),_0x29bcc1)}],_0x523953);return _0x242c5a?(_0x580a63['push'](_0x242c5a),{'actions':W(_0x580a63),'cursorRow':_0xf70c52}):null;}function hr(_0x21516c,_0x4414ad,_0x44206a,_0x5cb1d9,_0x328c7c,_0x2fcfe8,_0x315365,_0x1d2895,_0x292147){const _0x123676=_0x1d6dc9;let _0x415194=_0x315365===_0x123676(0x12d)?_0x328c7c:_0x328c7c+0x1,_0x39a5dd=T(_0x44206a,_0x328c7c),_0x873c95=_0x315365===_0x123676(0x12d)?_0x39a5dd[_0x123676(0x113)]:_0x39a5dd[_0x123676(0x1d6)]+0x1,_0x54903c=_0x4414ad[_0x123676(0x167)][_0x328c7c],_0x443f85=Array[_0x123676(0x1f1)]({'length':_0x2fcfe8},(_0x52137a,_0x56a0ea)=>{const _0x5f527b=_0x123676;let _0x5c02c6=U(_0x54903c);return _0x5c02c6[_0x5f527b(0x193)][_0x5f527b(0x100)](_0x338e78=>{const _0x57152c=_0x5f527b;delete _0x338e78[_0x57152c(0x25b)],_0x338e78[_0x57152c(0x177)]===0x0&&delete _0x338e78['columnSpan'];}),_0x292147==null||_0x292147(_0x5c02c6,_0x56a0ea),_0x5c02c6;}),_0x27778e=_0x2542db[_0x123676(0x15b)](),_0x125d0a=_0x443f85[_0x123676(0x202)]((_0x280472,_0x163a1e)=>_0x27778e[_0x123676(0x1c4)]([_0x123676(0xfe),_0x5cb1d9,_0x123676(0x167),_0x415194+_0x163a1e],_0x280472)),_0x5c72db=F(_0x21516c,[{'startOffset':_0x873c95,'endOffset':_0x873c95,'text':_0x443f85[_0x123676(0x202)](_0x366fcb=>kr(_0x366fcb[_0x123676(0x193)]['length']))['join']('')}],_0x1d2895);return _0x5c72db?(_0x125d0a['push'](_0x5c72db),{'actions':W(_0x125d0a),'cursorRow':_0x415194}):null;}function gr(_0x8f0974,_0x734240,_0x2f9b85=[_0x1d6dc9(0x147)]){const _0x5dde0f=_0x1d6dc9;var _0xe3aa4c;let _0x5dd557=(_0xe3aa4c=_0x8f0974[_0x5dde0f(0xfe)])==null||(_0xe3aa4c=_0xe3aa4c[_0x734240])==null?void 0x0:_0xe3aa4c['tableColumns'][_0x5dde0f(0x1b5)];return _0x5dd557?mr(_0x8f0974,_0x734240,0x0,0x1,_0x5dde0f(0x12d),_0x2f9b85,_0xb411af=>{const _0x3490e1=_0x5dde0f;_0xb411af[_0x3490e1(0x131)]=!0x0,_0xb411af[_0x3490e1(0x193)][_0x3490e1(0x100)]((_0x3de73c,_0xd45e1e)=>{const _0x2f1d3e=_0x3490e1;_0xd45e1e===0x0?(_0x3de73c[_0x2f1d3e(0x177)]=_0x5dd557,delete _0x3de73c['rowSpan']):(_0x3de73c[_0x2f1d3e(0x25b)]=0x0,_0x3de73c[_0x2f1d3e(0x177)]=0x0);});}):null;}function _r(_0x2a3cb2,_0x2da23e,_0x5df105,_0x35b812,_0x54b47b=[_0x1d6dc9(0x147)]){const _0x1c9d9e=_0x1d6dc9;var _0xc55d67;let _0x11da68=(_0xc55d67=_0x2a3cb2[_0x1c9d9e(0xfe)])==null?void 0x0:_0xc55d67[_0x2da23e],_0x402172=w(_0x2a3cb2,_0x2da23e);if(!_0x11da68||!_0x402172)return null;let _0xc49c96=Math[_0x1c9d9e(0xf0)](_0x5df105,_0x35b812),_0x2e364=Math[_0x1c9d9e(0x1fc)](_0x5df105,_0x35b812);if(_0xc49c96<0x0||_0xc49c96>=_0x11da68[_0x1c9d9e(0x167)]['length']||_0x2e364<_0xc49c96)return null;let _0x5f5a3c=Math[_0x1c9d9e(0xf0)](_0x2e364,_0x11da68[_0x1c9d9e(0x167)][_0x1c9d9e(0x1b5)]-0x1),_0x411b77=_0x5f5a3c-_0xc49c96+0x1;if(_0x411b77>=_0x11da68[_0x1c9d9e(0x167)][_0x1c9d9e(0x1b5)])return vr(_0x2a3cb2,_0x2da23e,_0x54b47b);let _0x2477a1=Cr(_0x11da68,Sr(k(_0x11da68)['map'](_0x4a59bb=>br(_0x4a59bb,_0xc49c96,_0x5f5a3c))[_0x1c9d9e(0x26c)](_0xb88e81=>_0xb88e81!=null)),_0x1577bd=>_0x1577bd<_0xc49c96?_0x1577bd:_0x1577bd>_0x5f5a3c?_0x1577bd-_0x411b77:null),_0x59bcb8=_0x2542db[_0x1c9d9e(0x15b)]();for(let _0x296aef=_0x5f5a3c;_0x296aef>=_0xc49c96;_0x296aef--)_0x2477a1[_0x1c9d9e(0x149)](_0x59bcb8['removeOp'](['tableSource',_0x2da23e,'tableRows',_0x296aef],U(_0x11da68[_0x1c9d9e(0x167)][_0x296aef])));let _0x29d8a0=T(_0x402172,_0xc49c96)['startOffset'],_0x36dcb3=T(_0x402172,_0x5f5a3c)[_0x1c9d9e(0x1d6)]+0x1,_0x26da9c=F(_0x2a3cb2,[{'startOffset':_0x29d8a0,'endOffset':_0x36dcb3,'text':''}],_0x54b47b);return _0x26da9c?(_0x2477a1[_0x1c9d9e(0x149)](...yr(_0x2a3cb2,[{'startOffset':_0x29d8a0,'endOffset':_0x36dcb3,'collapsed':!0x1}])),_0x2477a1['push'](_0x26da9c),{'actions':W(_0x2477a1),'cursorRow':Math[_0x1c9d9e(0xf0)](_0xc49c96,_0x11da68[_0x1c9d9e(0x167)][_0x1c9d9e(0x1b5)]-_0x411b77-0x1)}):null;}function vr(_0x39569b,_0xe87e80,_0x33b7da){const _0x39866b=_0x1d6dc9;var _0xc3d72b;let _0x74ca4=(_0xc3d72b=_0x39569b[_0x39866b(0xfe)])==null?void 0x0:_0xc3d72b[_0xe87e80],_0x57a80a=w(_0x39569b,_0xe87e80);if(!_0x74ca4||!_0x57a80a)return null;let _0x2de66e=F(_0x39569b,[{'startOffset':_0x57a80a['startOffset'],'endOffset':_0x57a80a[_0x39866b(0x1d6)],'text':''}],_0x33b7da);if(!_0x2de66e)return null;let _0x28dff9=yr(_0x39569b,[{'startOffset':_0x57a80a['startOffset'],'endOffset':_0x57a80a[_0x39866b(0x1d6)],'collapsed':!0x1}]);return{'actions':W([_0x2542db[_0x39866b(0x15b)]()[_0x39866b(0x160)]([_0x39866b(0xfe),_0xe87e80],U(_0x74ca4)),..._0x28dff9,_0x2de66e]),'cursorRow':0x0,'deleteTable':!0x0};}function yr(_0x35ab16,_0x3315f9){const _0x3d5a42=_0x1d6dc9;let _0x10dd25=_0x35ab16['body'];if(!_0x10dd25)return[];let _0x215511=_0x35ab16['drawings']??{},_0xa0bb28=_0x35ab16[_0x3d5a42(0x124)]??[],_0x4bf03d=[...new Set(_0x5ef3e6(_0x10dd25,_0x3315f9))][_0x3d5a42(0x269)]((_0x4155e7,_0x2ae2f1)=>_0xa0bb28[_0x3d5a42(0x286)](_0x2ae2f1)-_0xa0bb28[_0x3d5a42(0x286)](_0x4155e7)),_0x548a45=_0x2542db[_0x3d5a42(0x15b)](),_0x2b324c=[];for(let _0x42d1a8 of _0x4bf03d){let _0x4c726e=_0x215511[_0x42d1a8];if(_0x4c726e){let _0x2d0de7=_0x548a45[_0x3d5a42(0x160)]([_0x3d5a42(0x166),_0x42d1a8],_0x4c726e);_0x2d0de7&&_0x2b324c['push'](_0x2d0de7);}let _0x2af004=_0xa0bb28[_0x3d5a42(0x286)](_0x42d1a8);if(_0x2af004>=0x0){let _0x4db485=_0x548a45['removeOp']([_0x3d5a42(0x124),_0x2af004],_0x42d1a8);_0x4db485&&_0x2b324c[_0x3d5a42(0x149)](_0x4db485);}}return _0x2b324c;}function br(_0xa6fe98,_0x160ec2,_0x505bdd){const _0x289ff5=_0x1d6dc9;let _0x577492=[],_0x239d7d=_0x505bdd-_0x160ec2+0x1;for(let _0x5e6920=_0xa6fe98['startRow'];_0x5e6920<=_0xa6fe98[_0x289ff5(0x1ee)];_0x5e6920++)_0x5e6920<_0x160ec2?_0x577492[_0x289ff5(0x149)](_0x5e6920):_0x5e6920>_0x505bdd&&_0x577492['push'](_0x5e6920-_0x239d7d);return _0x577492[_0x289ff5(0x1b5)]?{..._0xa6fe98,'startRow':Math[_0x289ff5(0xf0)](..._0x577492),'endRow':Math[_0x289ff5(0x1fc)](..._0x577492)}:null;}function xr(_0x344fec,_0x4c19cf,_0x76b3fc){const _0x3a477f=_0x1d6dc9;let _0x35ca16=[],_0x14b99b=_0x76b3fc-_0x4c19cf+0x1;for(let _0x22e6bb=_0x344fec[_0x3a477f(0x136)];_0x22e6bb<=_0x344fec[_0x3a477f(0x26b)];_0x22e6bb++)_0x22e6bb<_0x4c19cf?_0x35ca16[_0x3a477f(0x149)](_0x22e6bb):_0x22e6bb>_0x76b3fc&&_0x35ca16[_0x3a477f(0x149)](_0x22e6bb-_0x14b99b);return _0x35ca16[_0x3a477f(0x1b5)]?{..._0x344fec,'startColumn':Math[_0x3a477f(0xf0)](..._0x35ca16),'endColumn':Math[_0x3a477f(0x1fc)](..._0x35ca16)}:null;}function Sr(_0x21b82c){const _0x2f80da=_0x1d6dc9;let _0x301fb8=new Map();for(let _0x3f730f of _0x21b82c){let _0x26cc05=_0x3f730f[_0x2f80da(0x1ee)]-_0x3f730f['startRow']+0x1,_0x4f9907=_0x3f730f[_0x2f80da(0x26b)]-_0x3f730f[_0x2f80da(0x136)]+0x1;for(let _0x31fc43=_0x3f730f[_0x2f80da(0x1ef)];_0x31fc43<=_0x3f730f[_0x2f80da(0x1ee)];_0x31fc43++)for(let _0x320076=_0x3f730f['startColumn'];_0x320076<=_0x3f730f[_0x2f80da(0x26b)];_0x320076++)_0x301fb8['set'](Or(_0x31fc43,_0x320076),_0x31fc43===_0x3f730f[_0x2f80da(0x1ef)]&&_0x320076===_0x3f730f['startColumn']?{'rowSpan':_0x26cc05,'columnSpan':_0x4f9907}:{'rowSpan':0x0,'columnSpan':0x0});}return _0x301fb8;}function Cr(_0x5b77e9,_0x37b23a,_0x53230a){const _0x48fb8e=_0x1d6dc9;let _0x18d34b=[],_0x38f76b=_0x2542db[_0x48fb8e(0x15b)]();return _0x5b77e9[_0x48fb8e(0x167)][_0x48fb8e(0x100)]((_0xb641be,_0x4c86b4)=>{const _0x18199c=_0x48fb8e;let _0x54e503=_0x53230a(_0x4c86b4);_0x54e503!=null&&_0xb641be[_0x18199c(0x193)][_0x18199c(0x100)]((_0x4acd9c,_0x2ef085)=>{const _0xfd7a3a=_0x18199c;let _0x57b672=_0x37b23a[_0xfd7a3a(0x163)](Or(_0x54e503,_0x2ef085)),_0x43c2ff=[_0xfd7a3a(0xfe),_0x5b77e9[_0xfd7a3a(0x170)],'tableRows',_0x4c86b4,'tableCells',_0x2ef085],_0x57e6f3=H(_0x38f76b,[..._0x43c2ff,_0xfd7a3a(0x25b)],_0x4acd9c['rowSpan'],_0x57b672==null?void 0x0:_0x57b672[_0xfd7a3a(0x25b)]),_0x2db57c=H(_0x38f76b,[..._0x43c2ff,'columnSpan'],_0x4acd9c[_0xfd7a3a(0x177)],_0x57b672==null?void 0x0:_0x57b672[_0xfd7a3a(0x177)]);_0x57e6f3&&_0x18d34b[_0xfd7a3a(0x149)](_0x57e6f3),_0x2db57c&&_0x18d34b['push'](_0x2db57c);});}),_0x18d34b;}function wr(_0x125ce3,_0x1b9767,_0x37d6ea){const _0x3703bd=_0x1d6dc9;let _0x4c3c2b=[],_0x2aad92=_0x2542db['getInstance']();return _0x125ce3[_0x3703bd(0x167)][_0x3703bd(0x100)]((_0x5f18ce,_0x192882)=>{const _0x19a8ea=_0x3703bd;_0x5f18ce['tableCells'][_0x19a8ea(0x100)]((_0x4c5fe6,_0x31c559)=>{const _0x3c19a2=_0x19a8ea;let _0x4ff3fb=_0x37d6ea(_0x31c559);if(_0x4ff3fb==null)return;let _0x1332d1=_0x1b9767['get'](Or(_0x192882,_0x4ff3fb)),_0x57a453=[_0x3c19a2(0xfe),_0x125ce3['tableId'],_0x3c19a2(0x167),_0x192882,_0x3c19a2(0x193),_0x31c559],_0x44d5d7=H(_0x2aad92,[..._0x57a453,_0x3c19a2(0x25b)],_0x4c5fe6['rowSpan'],_0x1332d1==null?void 0x0:_0x1332d1['rowSpan']),_0x16db12=H(_0x2aad92,[..._0x57a453,'columnSpan'],_0x4c5fe6[_0x3c19a2(0x177)],_0x1332d1==null?void 0x0:_0x1332d1[_0x3c19a2(0x177)]);_0x44d5d7&&_0x4c3c2b[_0x3c19a2(0x149)](_0x44d5d7),_0x16db12&&_0x4c3c2b['push'](_0x16db12);});}),_0x4c3c2b;}function Tr(_0x35943f,_0xeda8b,_0xc361a5){const _0x44694d=_0x1d6dc9;_0x35943f[_0x44694d(0x193)][_0x44694d(0x100)]((_0x30a2e7,_0x1a53ec)=>{const _0x4a843f=_0x44694d;let _0x5be6dc=_0xc361a5[_0x4a843f(0x163)](Or(_0xeda8b,_0x1a53ec));Dr(_0x30a2e7,_0x4a843f(0x25b),_0x5be6dc==null?void 0x0:_0x5be6dc[_0x4a843f(0x25b)]),Dr(_0x30a2e7,_0x4a843f(0x177),_0x5be6dc==null?void 0x0:_0x5be6dc['columnSpan']);});}function Er(_0x13a9e0,_0x7cf5f,_0x5ec082,_0x5de101){const _0x16910f=_0x1d6dc9;let _0x40c67a=_0x5de101[_0x16910f(0x163)](Or(_0x7cf5f,_0x5ec082));Dr(_0x13a9e0,_0x16910f(0x25b),_0x40c67a==null?void 0x0:_0x40c67a[_0x16910f(0x25b)]),Dr(_0x13a9e0,_0x16910f(0x177),_0x40c67a==null?void 0x0:_0x40c67a[_0x16910f(0x177)]);}function Dr(_0x16157c,_0x280f25,_0x328110){_0x328110===void 0x0?delete _0x16157c[_0x280f25]:_0x16157c[_0x280f25]=_0x328110;}function Or(_0x4ecd2d,_0x533e24){const _0x2a3bcf=_0x1d6dc9;return[_0x4ecd2d,_0x533e24][_0x2a3bcf(0x141)](':');}function kr(_0x52875c){const _0x534cb5=_0x1d6dc9;return[_0x22fbb3['TABLE_ROW_START'],jr(Ar(),_0x52875c),_0x22fbb3[_0x534cb5(0x126)]][_0x534cb5(0x141)]('');}function Ar(){const _0x173636=_0x1d6dc9;return[_0x22fbb3['TABLE_CELL_START'],'\x0d\x0a',_0x22fbb3[_0x173636(0x24e)]][_0x173636(0x141)]('');}function jr(_0x5a207f,_0x3ff213){const _0x1aecfb=_0x1d6dc9;return Array[_0x1aecfb(0x1f1)]({'length':_0x3ff213},()=>_0x5a207f)[_0x1aecfb(0x141)]('');}function U(_0x4dc4ce){const _0x26d52c=_0x1d6dc9;return Array['isArray'](_0x4dc4ce)?_0x4dc4ce['map'](_0x2475df=>U(_0x2475df)):!_0x4dc4ce||typeof _0x4dc4ce!='object'?_0x4dc4ce:Object[_0x26d52c(0x182)](Object['entries'](_0x4dc4ce)[_0x26d52c(0x202)](([_0x44f87d,_0x48c5ae])=>[_0x44f87d,U(_0x48c5ae)]));}function W(_0x2fa843){const _0x4faa4a=_0x1d6dc9;return _0x2fa843[_0x4faa4a(0xef)]((_0x71ddfe,_0x385dd3)=>_0x2542db[_0x4faa4a(0x219)](_0x71ddfe,_0x385dd3),null);}function G(_0x3c0119,_0x399137,_0x152a08,_0x432620,_0x147283,_0x2218f9,_0x4fdcd6,_0x3bd7aa){if(!_0x432620)return!0x0;let _0x57c4a1=[];return _0x147283?_0x57c4a1=Nr(_0x152a08,_0x147283):_0x2218f9!=null&&(_0x57c4a1=[{'startOffset':_0x2218f9,'endOffset':_0x2218f9,'collapsed':!0x0}]),!!_0x3c0119['syncExecuteCommand'](In['id'],{'unitId':_0x399137,'historyAction':_0x3bd7aa,'actions':_0x432620,'textRanges':_0x57c4a1,'trigger':_0x4fdcd6});}function K(_0x218ff8,_0x399a82=''){const _0xc7dd69=_0x1d6dc9;var _0x3987fc,_0x13ddb7;return _0x399a82?(_0x3987fc=_0x218ff8['headers'])!=null&&_0x3987fc[_0x399a82]?[_0xc7dd69(0x1ab),_0x399a82,'body']:(_0x13ddb7=_0x218ff8[_0xc7dd69(0x22c)])!=null&&_0x13ddb7[_0x399a82]?[_0xc7dd69(0x22c),_0x399a82,_0xc7dd69(0x147)]:[_0xc7dd69(0x147)]:[_0xc7dd69(0x147)];}function Mr(_0x8333df,_0x42c216){const _0x5e19c8=_0x1d6dc9;return JSON[_0x5e19c8(0x178)](_0x8333df)===JSON[_0x5e19c8(0x178)](_0x42c216);}function Nr(_0x1f9fce,_0x2b7656){const _0x2c0145=_0x1d6dc9;var _0x595731,_0x57a8b6,_0x366392;let _0x25627c=w(_0x1f9fce,_0x2b7656[_0x2c0145(0x170)]);if(!_0x25627c)return[];let _0x5756a8=Math[_0x2c0145(0xf0)](_0x2b7656[_0x2c0145(0x1ef)],_0x2b7656[_0x2c0145(0x1ee)]),_0x59a5d6=Math[_0x2c0145(0x1fc)](_0x2b7656[_0x2c0145(0x1ef)],_0x2b7656[_0x2c0145(0x1ee)]),_0x6c7c43=Math['min'](_0x2b7656[_0x2c0145(0x136)],_0x2b7656[_0x2c0145(0x26b)]),_0x454195=Math[_0x2c0145(0x1fc)](_0x2b7656['startColumn'],_0x2b7656['endColumn']),_0x5b508d=(_0x595731=_0x25627c['rows'][_0x5756a8])==null?void 0x0:_0x595731['cells'][_0x6c7c43],_0x466704=(_0x57a8b6=_0x25627c[_0x2c0145(0x244)][_0x59a5d6])==null?void 0x0:_0x57a8b6[_0x2c0145(0x282)][_0x454195];if(!_0x5b508d||!_0x466704)return[];let _0x860bd3=(_0x366392=_0x25627c['tableSource'][_0x2c0145(0x167)][_0x5756a8])==null?void 0x0:_0x366392[_0x2c0145(0x193)][_0x6c7c43],_0x31f3c5=(_0x860bd3==null?void 0x0:_0x860bd3[_0x2c0145(0x25b)])??0x1,_0x26d012=(_0x860bd3==null?void 0x0:_0x860bd3[_0x2c0145(0x177)])??0x1,_0x468188=(_0x31f3c5>0x1||_0x26d012>0x1)&&_0x5756a8+_0x31f3c5-0x1>=_0x59a5d6&&_0x6c7c43+_0x26d012-0x1>=_0x454195?_0x5b508d:_0x466704,_0x1aa61c=_0x6c7c43===0x0&&_0x454195===_0x25627c[_0x2c0145(0x24b)]-0x1,_0x35a266=_0x5756a8===0x0&&_0x59a5d6===_0x25627c[_0x2c0145(0xfc)]-0x1,_0x27e490=_0x5b508d[_0x2c0145(0x113)]+0x1;return[{'startOffset':_0x27e490,'endOffset':Math[_0x2c0145(0x1fc)](_0x27e490,_0x468188[_0x2c0145(0x1d6)]-0x1),'collapsed':!0x1,'rangeType':_0x3ad6ba[_0x2c0145(0x240)],'segmentId':_0x2b7656[_0x2c0145(0x184)]??'','tableId':_0x2b7656[_0x2c0145(0x170)],'startRow':_0x5756a8,'endRow':_0x59a5d6,'startColumn':_0x6c7c43,'endColumn':_0x454195,'spanEntireRow':_0x1aa61c,'spanEntireColumn':_0x35a266,'spanEntireTable':_0x1aa61c&&_0x35a266,'isActive':!0x0}];}function q(_0x234dcf,_0x4e1b8a){return function(_0x5acff3,_0x4880e9){_0x4e1b8a(_0x5acff3,_0x4880e9,_0x234dcf);};}function Pr(_0x4dc48c,_0x6c21ec,_0x4654b9,_0xfe177c){const _0x5a3590=_0x1d6dc9;var _0x238b80=arguments[_0x5a3590(0x1b5)],_0x39430a=_0x238b80<0x3?_0x6c21ec:_0xfe177c===null?_0xfe177c=Object[_0x5a3590(0x19c)](_0x6c21ec,_0x4654b9):_0xfe177c,_0x2f9fd4;if(typeof Reflect==_0x5a3590(0x180)&&typeof Reflect[_0x5a3590(0x1bd)]==_0x5a3590(0x13f))_0x39430a=Reflect[_0x5a3590(0x1bd)](_0x4dc48c,_0x6c21ec,_0x4654b9,_0xfe177c);else{for(var _0x4d84f6=_0x4dc48c[_0x5a3590(0x1b5)]-0x1;_0x4d84f6>=0x0;_0x4d84f6--)(_0x2f9fd4=_0x4dc48c[_0x4d84f6])&&(_0x39430a=(_0x238b80<0x3?_0x2f9fd4(_0x39430a):_0x238b80>0x3?_0x2f9fd4(_0x6c21ec,_0x4654b9,_0x39430a):_0x2f9fd4(_0x6c21ec,_0x4654b9))||_0x39430a);}return _0x238b80>0x3&&_0x39430a&&Object[_0x5a3590(0x12b)](_0x6c21ec,_0x4654b9,_0x39430a),_0x39430a;}let J=class extends _0x3ab5bb{constructor(_0x4d9c7a,_0x3ba111){const _0x4907fe=_0x1d6dc9;var _0x57bd5a;super(),this[_0x4907fe(0x21d)]=_0x4d9c7a,this['_docSelectionManagerService']=_0x3ba111,L(this,_0x4907fe(0x181),new _0x53fdd2()),L(this,'_structuralSelection',null),L(this,_0x4907fe(0x13d),null),L(this,_0x4907fe(0x14e),!0x1),L(this,_0x4907fe(0x11c),!0x1),L(this,'_structuralSelectionScopeDepth',0x0),L(this,_0x4907fe(0x1de),this[_0x4907fe(0x181)][_0x4907fe(0x102)]()),this[_0x4907fe(0x20f)](((_0x57bd5a=this[_0x4907fe(0x20d)]['textSelection$'])==null?void 0x0:_0x57bd5a[_0x4907fe(0x201)](()=>{const _0x481779=_0x4907fe;this['_restoreNativeSelectionForTextFocus'](),this[_0x481779(0x17e)]();}))??(()=>void 0x0));}['getCurrentSelection'](){const _0x5037d7=_0x1d6dc9;if(this[_0x5037d7(0x18a)]>0x0)return this[_0x5037d7(0x254)]();let _0x3e0386=this[_0x5037d7(0x23e)]();if(!_0x3e0386)return null;if(!this[_0x5037d7(0x14e)]){var _0x16fb61,_0xa5f360,_0x288a92,_0xf08b89;let _0x16a981=(_0x16fb61=(_0xa5f360=this[_0x5037d7(0x20d)])[_0x5037d7(0x18c)])==null?void 0x0:_0x16fb61['call'](_0xa5f360);if(_0x16a981&&_0x16a981[_0x5037d7(0x1b5)]>0x0)return this[_0x5037d7(0x283)](_0x3e0386,_0x16a981);let _0x2e26cf=(_0x288a92=(_0xf08b89=this[_0x5037d7(0x20d)])[_0x5037d7(0x242)])==null?void 0x0:_0x288a92['call'](_0xf08b89);if(_0x2e26cf)return this['_getSelectionFromActiveTextRange'](_0x3e0386,_0x2e26cf)||{'kind':_0x5037d7(0x255),'unitId':_0x3e0386['getUnitId'](),'segmentId':_0x2e26cf[_0x5037d7(0x184)]??'','tableId':'','startRow':-0x1,'endRow':-0x1,'startColumn':-0x1,'endColumn':-0x1,'startOffset':_0x2e26cf[_0x5037d7(0x113)]??0x0,'endOffset':_0x2e26cf[_0x5037d7(0x1d6)]??_0x2e26cf[_0x5037d7(0x113)]??0x0,'source':'text'};}let _0x4d6c2d=this[_0x5037d7(0x17b)](_0x3e0386);return _0x4d6c2d?{..._0x4d6c2d,'unitId':_0x3e0386[_0x5037d7(0x108)]()}:null;}[_0x1d6dc9(0x254)](){const _0x3c05d1=_0x1d6dc9;let _0x198221=this[_0x3c05d1(0x23e)]();if(!_0x198221)return null;let _0x284c77=this[_0x3c05d1(0x17b)](_0x198221);return _0x284c77?{..._0x284c77,'unitId':_0x198221[_0x3c05d1(0x108)]()}:null;}async['withStructuralSelection'](_0x5097b6){const _0x28bf4c=_0x1d6dc9;if(!this['getStructuralSelection']())return _0x5097b6();this['_structuralSelectionScopeDepth']++;try{return await _0x5097b6();}finally{this['_structuralSelectionScopeDepth']--,this[_0x28bf4c(0x17e)]();}}[_0x1d6dc9(0x195)](){const _0x1442fc=_0x1d6dc9;let _0xfda13e=this[_0x1442fc(0x125)]();return Fr(_0xfda13e)?_0xfda13e:null;}[_0x1d6dc9(0x17e)](){const _0x403c68=_0x1d6dc9;let _0x431f6c=this[_0x403c68(0x23e)]();_0x431f6c&&this[_0x403c68(0x17b)](_0x431f6c),this['_selectionChange$'][_0x403c68(0x264)](this['getCurrentSelection']());}[_0x1d6dc9(0x232)](_0x5bed98,_0x25a3ef={}){const _0x572264=_0x1d6dc9;var _0xffd6ec;let _0x3127c7=this['_getCurrentDoc'](),_0x44392b=_0x3127c7==null||(_0xffd6ec=_0x3127c7['getSnapshot']()['tableSource'])==null?void 0x0:_0xffd6ec[_0x5bed98[_0x572264(0x170)]],_0x3c735b=_0x44392b?zr(_0x44392b,_0x5bed98):null;if(!_0x44392b||!_0x3c735b)this[_0x572264(0x1e4)](!0x0),this[_0x572264(0x17e)]();else{if(this['_structuralSelection']={'kind':Hr(_0x5bed98['kind'],_0x3c735b,_0x44392b),'unitId':(_0x3127c7==null?void 0x0:_0x3127c7['getUnitId']())??'','segmentId':_0x5bed98[_0x572264(0x184)]??'','tableId':_0x5bed98[_0x572264(0x170)],'startRow':_0x3c735b[_0x572264(0x1ef)],'endRow':_0x3c735b[_0x572264(0x1ee)],'startColumn':_0x3c735b[_0x572264(0x136)],'endColumn':_0x3c735b[_0x572264(0x26b)],'startOffset':_0x5bed98[_0x572264(0x113)]??0x0,'endOffset':_0x5bed98[_0x572264(0x1d6)]??_0x5bed98['startOffset']??0x0,'source':_0x572264(0x123)},this[_0x572264(0x13d)]=Vr(_0x44392b),this[_0x572264(0x11c)]=!!_0x25a3ef[_0x572264(0x122)],_0x25a3ef['clearNativeSelection']!==!0x1){var _0x5a6666,_0x4d9790;(_0x5a6666=(_0x4d9790=this[_0x572264(0x20d)])[_0x572264(0x268)])==null||_0x5a6666[_0x572264(0x17a)](_0x4d9790,[],void 0x0,!0x1);}this[_0x572264(0x17e)]();}}[_0x1d6dc9(0x234)](_0x4d91b5,_0x3b0d2a,_0x5d42b9,_0x350cc0,_0x5d00e4={}){const _0x577400=_0x1d6dc9;var _0x404e94;let _0x5d1a24=this[_0x577400(0x23e)](),_0x6c4a28=_0x5d1a24==null||(_0x404e94=_0x5d1a24[_0x577400(0x1dc)]()[_0x577400(0xfe)])==null?void 0x0:_0x404e94[_0x4d91b5];if(!_0x6c4a28)return;let _0x432887=_0x6c4a28['tableRows'][_0x577400(0x1b5)],_0x5be4e2=_0x6c4a28['tableColumns'][_0x577400(0x1b5)],_0x316800=Math['min'](_0x5d42b9,_0x350cc0),_0x52d924=Math[_0x577400(0x1fc)](_0x5d42b9,_0x350cc0);_0x3b0d2a===_0x577400(0x1f6)?this['_setDirectStructuralSelection']({'kind':_0x577400(0x1f6),'segmentId':_0x5d00e4[_0x577400(0x184)],'tableId':_0x4d91b5,'startRow':_0x316800,'endRow':_0x52d924,'startColumn':0x0,'endColumn':Math[_0x577400(0x1fc)](_0x5be4e2-0x1,0x0)},_0x5d00e4):this[_0x577400(0xee)]({'kind':'column','segmentId':_0x5d00e4[_0x577400(0x184)],'tableId':_0x4d91b5,'startRow':0x0,'endRow':Math['max'](_0x432887-0x1,0x0),'startColumn':_0x316800,'endColumn':_0x52d924},_0x5d00e4);}[_0x1d6dc9(0x258)](_0x534677={}){const _0x235959=_0x1d6dc9;if(this[_0x235959(0x1e4)](),_0x534677[_0x235959(0x275)]!==!0x1){var _0x248bf5,_0x2b957c;(_0x248bf5=(_0x2b957c=this[_0x235959(0x20d)])[_0x235959(0x268)])==null||_0x248bf5[_0x235959(0x17a)](_0x2b957c,[],void 0x0,!0x1);}this[_0x235959(0x17e)]();}['setNativeSelectionSuppressed'](_0x2084f0){const _0x631952=_0x1d6dc9;if(this[_0x631952(0x14e)]!==_0x2084f0){if(this['_nativeSelectionSuppressed']=_0x2084f0,_0x2084f0||(this[_0x631952(0x11c)]=!0x1),_0x2084f0){var _0x5ebcbb,_0x307142;(_0x5ebcbb=(_0x307142=this[_0x631952(0x20d)])[_0x631952(0x268)])==null||_0x5ebcbb['call'](_0x307142,[],void 0x0,!0x1);}this[_0x631952(0x17e)]();}}[_0x1d6dc9(0x151)](){const _0x7fbf02=_0x1d6dc9;super['dispose'](),this[_0x7fbf02(0x181)][_0x7fbf02(0x10c)]();}['_getCurrentDoc'](){const _0x452ad1=_0x1d6dc9;var _0x5e07aa,_0x4ec11e;return((_0x5e07aa=(_0x4ec11e=this[_0x452ad1(0x21d)])[_0x452ad1(0x250)])==null?void 0x0:_0x5e07aa['call'](_0x4ec11e,_0x21a03b[_0x452ad1(0x222)]))??null;}[_0x1d6dc9(0x22b)](){const _0x25b1bd=_0x1d6dc9;var _0x4e6f54,_0x3b440e;if(this[_0x25b1bd(0x18a)]>0x0)return;let _0x5159d9=(_0x4e6f54=(_0x3b440e=this['_docSelectionManagerService'])[_0x25b1bd(0x242)])==null?void 0x0:_0x4e6f54[_0x25b1bd(0x17a)](_0x3b440e);(_0x5159d9==null?void 0x0:_0x5159d9[_0x25b1bd(0x113)])!=null&&(this[_0x25b1bd(0x11c)]?this[_0x25b1bd(0x11c)]=!0x1:(this[_0x25b1bd(0x14e)]=!0x1,this[_0x25b1bd(0x1e4)]()));}['_setDirectStructuralSelection'](_0x1581aa,_0x3cc8b5={}){const _0x5d5870=_0x1d6dc9;var _0x14523d;let _0x166f59=this['_getCurrentDoc'](),_0x4fc0a8=_0x166f59==null||(_0x14523d=_0x166f59[_0x5d5870(0x1dc)]()[_0x5d5870(0xfe)])==null?void 0x0:_0x14523d[_0x1581aa[_0x5d5870(0x170)]],_0x593354=_0x4fc0a8?zr(_0x4fc0a8,_0x1581aa):null;if(!_0x4fc0a8||!_0x593354)this['_clearStructuralSelectionState'](!0x0),this[_0x5d5870(0x17e)]();else{if(this[_0x5d5870(0x262)]={'kind':_0x1581aa['kind'],'unitId':(_0x166f59==null?void 0x0:_0x166f59['getUnitId']())??'','segmentId':_0x1581aa[_0x5d5870(0x184)]??'','tableId':_0x1581aa[_0x5d5870(0x170)],'startRow':_0x593354[_0x5d5870(0x1ef)],'endRow':_0x593354['endRow'],'startColumn':_0x593354[_0x5d5870(0x136)],'endColumn':_0x593354[_0x5d5870(0x26b)],'startOffset':_0x1581aa[_0x5d5870(0x113)]??0x0,'endOffset':_0x1581aa[_0x5d5870(0x1d6)]??_0x1581aa[_0x5d5870(0x113)]??0x0,'source':_0x5d5870(0x123)},this['_structuralSelectionTableShape']=Vr(_0x4fc0a8),this[_0x5d5870(0x11c)]=!!_0x3cc8b5[_0x5d5870(0x122)],_0x3cc8b5[_0x5d5870(0x275)]!==!0x1){var _0x1fc40f,_0x57ae89;(_0x1fc40f=(_0x57ae89=this['_docSelectionManagerService'])['replaceDocRanges'])==null||_0x1fc40f[_0x5d5870(0x17a)](_0x57ae89,[],void 0x0,!0x1);}this[_0x5d5870(0x17e)]();}}[_0x1d6dc9(0x21f)](_0x7e53cc,_0x17019a){const _0x7adfdb=_0x1d6dc9;var _0x53138d;let _0x323327=_0x17019a[_0x7adfdb(0x113)];if(_0x323327==null)return null;let _0x45cff6=V(_0x7e53cc,_0x17019a[_0x7adfdb(0x184)])??_0x7e53cc[_0x7adfdb(0x1dc)](),_0x4e0d63=(_0x53138d=_0x45cff6[_0x7adfdb(0x147)])==null||(_0x53138d=_0x53138d[_0x7adfdb(0x14f)])==null?void 0x0:_0x53138d[_0x7adfdb(0x26c)](_0x26faff=>_0x323327>_0x26faff['startIndex']&&_0x323327<_0x26faff[_0x7adfdb(0x13e)])[_0x7adfdb(0xef)]((_0xd6ed33,_0x136261)=>_0xd6ed33?_0x136261[_0x7adfdb(0x13e)]-_0x136261[_0x7adfdb(0x14b)]<_0xd6ed33[_0x7adfdb(0x13e)]-_0xd6ed33[_0x7adfdb(0x14b)]?_0x136261:_0xd6ed33:_0x136261,void 0x0);if(!(_0x4e0d63!=null&&_0x4e0d63[_0x7adfdb(0x170)]))return null;let _0x3b767b=w(_0x45cff6,_0x4e0d63['tableId']),_0x532e2e=_0x3b767b==null?void 0x0:_0x3b767b['rows']['flatMap'](_0x13aa3c=>_0x13aa3c[_0x7adfdb(0x282)])[_0x7adfdb(0x121)](_0x5d6956=>_0x323327>=_0x5d6956[_0x7adfdb(0x113)]&&_0x323327<=_0x5d6956[_0x7adfdb(0x1d6)]);if(!_0x3b767b||!_0x532e2e)return null;let _0x2257b4=qr(_0x3b767b[_0x7adfdb(0xfe)],_0x532e2e['row'],_0x532e2e[_0x7adfdb(0x1ea)]);if(!_0x2257b4)return null;let _0x1071bd=Jr(_0x3b767b[_0x7adfdb(0xfe)],{'startRow':_0x532e2e[_0x7adfdb(0x1f6)],'endRow':_0x532e2e[_0x7adfdb(0x1f6)],'startColumn':_0x2257b4[_0x7adfdb(0x136)],'endColumn':_0x2257b4[_0x7adfdb(0x26b)]});return{'kind':Hr(_0x7adfdb(0x15e),_0x1071bd,_0x3b767b['tableSource']),'unitId':_0x7e53cc[_0x7adfdb(0x108)](),'segmentId':_0x17019a['segmentId']??'','tableId':_0x4e0d63[_0x7adfdb(0x170)],'startRow':_0x1071bd['startRow'],'endRow':_0x1071bd['endRow'],'startColumn':_0x1071bd[_0x7adfdb(0x136)],'endColumn':_0x1071bd['endColumn'],'startOffset':_0x532e2e['startOffset'],'endOffset':_0x532e2e['endOffset'],'source':_0x7adfdb(0x255)};}[_0x1d6dc9(0x283)](_0x282363,_0x1a3fa7){const _0x29febc=_0x1d6dc9;var _0x34445e;let _0x5667d2=_0x1a3fa7[_0x29febc(0x121)](_0x8e04e0=>!!_0x8e04e0[_0x29febc(0x170)]);if(!(_0x5667d2!=null&&_0x5667d2[_0x29febc(0x170)]))return null;let _0x3568ba=_0x5667d2['tableId'],_0x3cffb3=(_0x34445e=_0x282363[_0x29febc(0x1dc)]()[_0x29febc(0xfe)])==null?void 0x0:_0x34445e[_0x3568ba];if(!_0x3cffb3)return null;let _0x4c3d15=_0x1a3fa7['filter'](_0x1c9110=>_0x1c9110[_0x29febc(0x170)]===_0x3568ba)['map'](_0x501df8=>{let _0x20f5c6=Rr(_0x3cffb3,_0x501df8);return _0x20f5c6?{..._0x501df8,..._0x20f5c6}:null;});if(_0x4c3d15['some'](_0x3fe757=>_0x3fe757==null))return null;let _0x57ab38=_0x4c3d15[_0x29febc(0x26c)](_0x1c4d5f=>_0x1c4d5f!=null),_0x4a5481=this[_0x29febc(0x1a1)](_0x57ab38)?_0x57ab38:[_0x57ab38[0x0]??_0x5667d2],_0x216615=Ue(_0x3cffb3,{'startRow':Math[_0x29febc(0xf0)](..._0x4a5481['map'](_0x3d4649=>Math[_0x29febc(0xf0)](_0x3d4649[_0x29febc(0x1ef)],_0x3d4649[_0x29febc(0x1ee)]))),'endRow':Math[_0x29febc(0x1fc)](..._0x4a5481['map'](_0x5f20bc=>Math[_0x29febc(0x1fc)](_0x5f20bc[_0x29febc(0x1ef)],_0x5f20bc[_0x29febc(0x1ee)]))),'startColumn':Math[_0x29febc(0xf0)](..._0x4a5481[_0x29febc(0x202)](_0x3b2ce5=>Math[_0x29febc(0xf0)](_0x3b2ce5[_0x29febc(0x136)],_0x3b2ce5[_0x29febc(0x26b)]))),'endColumn':Math[_0x29febc(0x1fc)](..._0x4a5481[_0x29febc(0x202)](_0xdcf7d5=>Math[_0x29febc(0x1fc)](_0xdcf7d5[_0x29febc(0x136)],_0xdcf7d5[_0x29febc(0x26b)])))}),_0x4f5208=Hr(_0x29febc(0x1e2),_0x216615,_0x3cffb3),_0x3f6876=_0x4a5481[_0x29febc(0x202)](_0x298548=>_0x298548[_0x29febc(0x113)])[_0x29febc(0x26c)](_0x40d147=>typeof _0x40d147=='number'),_0x40bbfc=_0x4a5481[_0x29febc(0x202)](_0x2b631f=>_0x2b631f[_0x29febc(0x1d6)])['filter'](_0x25ae33=>typeof _0x25ae33==_0x29febc(0x1fd));return{'kind':_0x4f5208,'unitId':_0x282363['getUnitId'](),'segmentId':_0x5667d2[_0x29febc(0x184)]??'','tableId':_0x3568ba,'startRow':_0x216615[_0x29febc(0x1ef)],'endRow':_0x216615[_0x29febc(0x1ee)],'startColumn':_0x216615[_0x29febc(0x136)],'endColumn':_0x216615[_0x29febc(0x26b)],'startOffset':_0x3f6876[_0x29febc(0x1b5)]?Math[_0x29febc(0xf0)](..._0x3f6876):0x0,'endOffset':_0x40bbfc[_0x29febc(0x1b5)]?Math[_0x29febc(0x1fc)](..._0x40bbfc):_0x3f6876[0x0]??0x0,'source':_0x29febc(0x247)};}['_canCombineRectRanges'](_0x2873c7){const _0xa4a50a=_0x1d6dc9;if(_0x2873c7['length']<=0x1)return!0x0;let _0x47d4df=Math[_0xa4a50a(0xf0)](..._0x2873c7[_0xa4a50a(0x202)](_0x2a5f00=>Math[_0xa4a50a(0xf0)](_0x2a5f00[_0xa4a50a(0x1ef)],_0x2a5f00[_0xa4a50a(0x1ee)]))),_0xa32190=Math['max'](..._0x2873c7[_0xa4a50a(0x202)](_0x1c2bdb=>Math[_0xa4a50a(0x1fc)](_0x1c2bdb[_0xa4a50a(0x1ef)],_0x1c2bdb[_0xa4a50a(0x1ee)]))),_0x252e36=Math[_0xa4a50a(0xf0)](..._0x2873c7[_0xa4a50a(0x202)](_0x34ff5e=>Math[_0xa4a50a(0xf0)](_0x34ff5e[_0xa4a50a(0x136)],_0x34ff5e['endColumn']))),_0xb6ce36=Math[_0xa4a50a(0x1fc)](..._0x2873c7['map'](_0x4ca17d=>Math[_0xa4a50a(0x1fc)](_0x4ca17d[_0xa4a50a(0x136)],_0x4ca17d[_0xa4a50a(0x26b)]))),_0x3bb5ee=new Set();return _0x2873c7[_0xa4a50a(0x100)](_0x20aa72=>{const _0x297267=_0xa4a50a;let _0xa0db84=Math[_0x297267(0xf0)](_0x20aa72[_0x297267(0x1ef)],_0x20aa72[_0x297267(0x1ee)]),_0x590bf9=Math[_0x297267(0x1fc)](_0x20aa72[_0x297267(0x1ef)],_0x20aa72[_0x297267(0x1ee)]),_0x44ec76=Math['min'](_0x20aa72[_0x297267(0x136)],_0x20aa72[_0x297267(0x26b)]),_0x4fd305=Math[_0x297267(0x1fc)](_0x20aa72[_0x297267(0x136)],_0x20aa72[_0x297267(0x26b)]);for(let _0x54854a=_0xa0db84;_0x54854a<=_0x590bf9;_0x54854a++)for(let _0x5e24f4=_0x44ec76;_0x5e24f4<=_0x4fd305;_0x5e24f4++)_0x3bb5ee[_0x297267(0x287)](_0x54854a+':'+_0x5e24f4);}),_0x3bb5ee[_0xa4a50a(0x19e)]===(_0xa32190-_0x47d4df+0x1)*(_0xb6ce36-_0x252e36+0x1);}['_getValidStructuralSelection'](_0x8f4387){const _0x4e7085=_0x1d6dc9;var _0xe31de9;let _0x28a273=this[_0x4e7085(0x262)];if(!_0x28a273)return null;let _0xf1c389=(_0xe31de9=_0x8f4387[_0x4e7085(0x1dc)]()['tableSource'])==null?void 0x0:_0xe31de9[_0x28a273[_0x4e7085(0x170)]],_0x2f1dfa=_0xf1c389?zr(_0xf1c389,_0x28a273):null;return!_0xf1c389||!_0x2f1dfa||this[_0x4e7085(0x13d)]!==Vr(_0xf1c389)?(this[_0x4e7085(0x1e4)](!0x0),null):(this[_0x4e7085(0x262)]={..._0x28a273,'kind':Hr(_0x28a273[_0x4e7085(0x1ca)],_0x2f1dfa,_0xf1c389),..._0x2f1dfa},this['_structuralSelection']);}[_0x1d6dc9(0x1e4)](_0x5a2a8c=!0x1){const _0x156b62=_0x1d6dc9;this[_0x156b62(0x262)]=null,this['_structuralSelectionTableShape']=null,_0x5a2a8c&&(this[_0x156b62(0x14e)]=!0x1),this[_0x156b62(0x11c)]=!0x1;}};J=Pr([q(0x0,_0x147405),q(0x1,_0x5ce2eb(_0x35bfb0))],J);function Fr(_0x5b1da7){const _0xc97e01=_0x1d6dc9;return!!(_0x5b1da7!=null&&_0x5b1da7['tableId'])&&_0x5b1da7[_0xc97e01(0x1ef)]>=0x0&&_0x5b1da7[_0xc97e01(0x136)]>=0x0;}function Ir(_0xcb71c8){const _0x1bfcb0=_0x1d6dc9;return{'startRow':Math[_0x1bfcb0(0xf0)](_0xcb71c8['startRow'],_0xcb71c8[_0x1bfcb0(0x1ee)]),'endRow':Math['max'](_0xcb71c8['startRow'],_0xcb71c8['endRow']),'startColumn':Math[_0x1bfcb0(0xf0)](_0xcb71c8[_0x1bfcb0(0x136)],_0xcb71c8[_0x1bfcb0(0x26b)]),'endColumn':Math[_0x1bfcb0(0x1fc)](_0xcb71c8[_0x1bfcb0(0x136)],_0xcb71c8[_0x1bfcb0(0x26b)])};}function Lr(_0x260118,_0x1ab1c5){let _0x42189c=Br(_0x260118,_0x1ab1c5);return _0x42189c?Jr(_0x260118,_0x42189c):null;}function Rr(_0x3343f9,_0x285ab5){const _0x5dcc72=_0x1d6dc9;if(!Gr(_0x3343f9))return Lr(_0x3343f9,_0x285ab5);let _0x1c6f0d=Ir(_0x285ab5),_0x426078=qr(_0x3343f9,_0x1c6f0d[_0x5dcc72(0x1ef)],_0x1c6f0d[_0x5dcc72(0x136)]),_0x4ba150=qr(_0x3343f9,_0x1c6f0d['endRow'],_0x1c6f0d[_0x5dcc72(0x26b)]);return!_0x426078||!_0x4ba150?null:Jr(_0x3343f9,{'startRow':_0x1c6f0d['startRow'],'endRow':_0x1c6f0d[_0x5dcc72(0x1ee)],'startColumn':_0x426078[_0x5dcc72(0x136)],'endColumn':_0x4ba150[_0x5dcc72(0x26b)]});}function zr(_0x227714,_0x52a1b6){const _0x13fd2f=_0x1d6dc9;let _0xce8f98=Br(_0x227714,_0x52a1b6);return _0xce8f98?_0x52a1b6['kind']===_0x13fd2f(0x1f6)||_0x52a1b6['kind']===_0x13fd2f(0x1ea)?_0xce8f98:Jr(_0x227714,_0xce8f98):null;}function Br(_0x1cbb7a,_0x595e1f){const _0x24bec9=_0x1d6dc9;let _0x3cee78=Ir(_0x595e1f),_0x2e6963=_0x1cbb7a[_0x24bec9(0x167)][_0x24bec9(0x1b5)],_0x5a013a=_0x1cbb7a[_0x24bec9(0x176)][_0x24bec9(0x1b5)];return _0x2e6963===0x0||_0x5a013a===0x0||_0x3cee78['startRow']<0x0||_0x3cee78['endRow']>=_0x2e6963||_0x3cee78[_0x24bec9(0x136)]<0x0||_0x3cee78[_0x24bec9(0x26b)]>=_0x5a013a?null:_0x3cee78;}function Vr(_0x8d8df5){const _0x44fd0c=_0x1d6dc9;return _0x8d8df5[_0x44fd0c(0x167)][_0x44fd0c(0x1b5)]+':'+_0x8d8df5[_0x44fd0c(0x176)][_0x44fd0c(0x1b5)]+':'+_0x8d8df5[_0x44fd0c(0x167)][_0x44fd0c(0x202)](_0x3f54c3=>_0x3f54c3['tableCells'][_0x44fd0c(0x202)](_0x400d29=>(_0x400d29['rowSpan']??0x1)+'x'+(_0x400d29[_0x44fd0c(0x177)]??0x1))[_0x44fd0c(0x141)](','))[_0x44fd0c(0x141)](';');}function Hr(_0x24939a,_0x1ea338,_0x507cc1){const _0x51a316=_0x1d6dc9;let _0x40b0f3=_0x1ea338[_0x51a316(0x1ef)]===_0x1ea338[_0x51a316(0x1ee)]&&_0x1ea338[_0x51a316(0x136)]===_0x1ea338['endColumn'];if(_0x24939a==='cell'&&(_0x40b0f3||Wr(_0x507cc1,_0x1ea338)))return _0x51a316(0x15e);let {spansEntireRow:_0x4ce194,spansEntireColumn:_0x3cc237}=Ur(_0x1ea338,_0x507cc1);return _0x24939a===_0x51a316(0x1f6)&&_0x4ce194?'row':_0x24939a==='column'&&_0x3cc237?_0x51a316(0x1ea):_0x4ce194&&_0x3cc237?_0x51a316(0x1c6):_0x40b0f3?'cell':_0x51a316(0x1e2);}function Ur(_0x64b37,_0x4bc19f){const _0xa1d322=_0x1d6dc9;let _0x1ba4ed=(_0x4bc19f==null?void 0x0:_0x4bc19f[_0xa1d322(0x167)][_0xa1d322(0x1b5)])??0x0,_0x3516ce=(_0x4bc19f==null?void 0x0:_0x4bc19f[_0xa1d322(0x176)][_0xa1d322(0x1b5)])??0x0;return{'spansEntireRow':_0x3516ce>0x0&&_0x64b37[_0xa1d322(0x136)]===0x0&&_0x64b37[_0xa1d322(0x26b)]===_0x3516ce-0x1,'spansEntireColumn':_0x1ba4ed>0x0&&_0x64b37[_0xa1d322(0x1ef)]===0x0&&_0x64b37['endRow']===_0x1ba4ed-0x1};}function Wr(_0xfb4d2e,_0x3ab0f7){const _0x18b8a8=_0x1d6dc9;return(_0xfb4d2e==null?void 0x0:_0xfb4d2e['tableRows'][_0x18b8a8(0x220)]((_0x5f56e4,_0x586b6f)=>_0x5f56e4['tableCells'][_0x18b8a8(0x220)]((_0xfdeb28,_0x484f32)=>{const _0x4e594f=_0x18b8a8;let _0x2a0152=_0xfdeb28['rowSpan']??0x1,_0x3ebb40=_0xfdeb28['columnSpan']??0x1;if(_0x2a0152<=0x0||_0x3ebb40<=0x0||_0x2a0152===0x1&&_0x3ebb40===0x1)return!0x1;let _0x5b1e68=qr(_0xfb4d2e,_0x586b6f,_0x484f32);return _0x5b1e68?_0x3ab0f7[_0x4e594f(0x1ef)]===_0x586b6f&&_0x3ab0f7[_0x4e594f(0x1ee)]===_0x586b6f+_0x2a0152-0x1&&_0x3ab0f7[_0x4e594f(0x136)]===_0x5b1e68[_0x4e594f(0x136)]&&_0x3ab0f7[_0x4e594f(0x26b)]===_0x5b1e68[_0x4e594f(0x26b)]:!0x1;})))??!0x1;}function Gr(_0x2b3692){const _0x441f19=_0x1d6dc9;return _0x2b3692[_0x441f19(0x167)][_0x441f19(0x220)](_0x5c9ff0=>_0x5c9ff0[_0x441f19(0x193)][_0x441f19(0x1b5)]!==_0x2b3692['tableColumns'][_0x441f19(0x1b5)]);}function Kr(_0x4e941b,_0x39a300){const _0x4fffa1=_0x1d6dc9;let _0x3b6fc4=_0x4e941b[_0x4fffa1(0x167)][_0x39a300];if(!_0x3b6fc4)return[];let _0x2f03b4=_0x3b6fc4['gridBefore']??0x0;return _0x3b6fc4[_0x4fffa1(0x193)][_0x4fffa1(0x202)]((_0x2d4f96,_0x1535e5)=>{const _0x54010f=_0x4fffa1;let _0x365cf9=Math[_0x54010f(0x1fc)](0x1,_0x2d4f96[_0x54010f(0x177)]??0x1),_0x545471={'physicalColumn':_0x1535e5,'startColumn':_0x2f03b4,'endColumn':_0x2f03b4+_0x365cf9-0x1};return _0x2f03b4+=_0x365cf9,_0x545471;});}function qr(_0x1c07cd,_0xb35fe6,_0x5b0ce6){return Kr(_0x1c07cd,_0xb35fe6)[_0x5b0ce6]??null;}function Jr(_0x281bc6,_0x276963){const _0x9d5df9=_0x1d6dc9;if(!Gr(_0x281bc6))return Ue(_0x281bc6,_0x276963);let _0x48c059=Ir(_0x276963),_0x3d77f0=!0x0;for(;_0x3d77f0;)_0x3d77f0=!0x1,_0x281bc6[_0x9d5df9(0x167)][_0x9d5df9(0x100)]((_0x1066db,_0x344525)=>_0x1066db['tableCells'][_0x9d5df9(0x100)]((_0x240415,_0x359277)=>{const _0xbe79de=_0x9d5df9;let _0x414a32=qr(_0x281bc6,_0x344525,_0x359277);if(!_0x414a32)return;let _0x42229d={'startRow':_0x344525,'endRow':_0x344525+Math[_0xbe79de(0x1fc)](0x1,_0x240415[_0xbe79de(0x25b)]??0x1)-0x1,'startColumn':_0x414a32[_0xbe79de(0x136)],'endColumn':_0x414a32[_0xbe79de(0x26b)]};if(!(_0x48c059['startRow']<=_0x42229d[_0xbe79de(0x1ee)]&&_0x48c059['endRow']>=_0x42229d['startRow']&&_0x48c059[_0xbe79de(0x136)]<=_0x42229d['endColumn']&&_0x48c059[_0xbe79de(0x26b)]>=_0x42229d[_0xbe79de(0x136)]))return;let _0x5e4f48={'startRow':Math[_0xbe79de(0xf0)](_0x48c059[_0xbe79de(0x1ef)],_0x42229d[_0xbe79de(0x1ef)]),'endRow':Math[_0xbe79de(0x1fc)](_0x48c059['endRow'],_0x42229d[_0xbe79de(0x1ee)]),'startColumn':Math[_0xbe79de(0xf0)](_0x48c059[_0xbe79de(0x136)],_0x42229d[_0xbe79de(0x136)]),'endColumn':Math[_0xbe79de(0x1fc)](_0x48c059[_0xbe79de(0x26b)],_0x42229d[_0xbe79de(0x26b)])};(_0x5e4f48[_0xbe79de(0x1ef)]!==_0x48c059[_0xbe79de(0x1ef)]||_0x5e4f48['endRow']!==_0x48c059[_0xbe79de(0x1ee)]||_0x5e4f48[_0xbe79de(0x136)]!==_0x48c059[_0xbe79de(0x136)]||_0x5e4f48['endColumn']!==_0x48c059[_0xbe79de(0x26b)])&&(_0x48c059=_0x5e4f48,_0x3d77f0=!0x0);}));return _0x48c059;}const Yr={'id':_0x1d6dc9(0x135),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':(_0x24a5b0,_0x5cb521)=>{const _0x14e1cc=_0x1d6dc9;if(!_0x5cb521)return!0x1;let _0x348776=_0x24a5b0[_0x14e1cc(0x163)](_0x147405),_0x3ca252=_0x24a5b0['get'](_0x49cedb),_0x492fef=_0x24a5b0[_0x14e1cc(0x163)](J),_0x2335ef=_0x348776['getUnit'](_0x5cb521[_0x14e1cc(0xe8)],_0x21a03b['UNIVER_DOC']);if(!_0x2335ef)return!0x1;let _0x2ca5c0=_0x492fef[_0x14e1cc(0x125)](),_0x4ac12a=(_0x2ca5c0==null?void 0x0:_0x2ca5c0[_0x14e1cc(0xe8)])===_0x2335ef[_0x14e1cc(0x108)]()?_0x2ca5c0:null,{endColumn:_0x1acb9a,startColumn:_0x476130,tableId:_0x4a5ecf}=_0x5cb521,_0x511296=_0x2335ef['getSnapshot'](),_0x3da663=_0x5cb521[_0x14e1cc(0x184)]??'',_0x4e8f1f=V(_0x2335ef,_0x3da663);if(!_0x4e8f1f)return!0x1;let _0x21e5fa=er(_0x4e8f1f,_0x4a5ecf,_0x476130,_0x1acb9a,K(_0x511296,_0x3da663));if(!_0x21e5fa)return!0x1;let _0xc9fdac=G(_0x3ca252,_0x2335ef[_0x14e1cc(0x108)](),_0x4e8f1f,_0x21e5fa[_0x14e1cc(0x1a0)],void 0x0,void 0x0,Yr['id']);if(_0xc9fdac&&_0x4ac12a){let _0xac4cc0=Te(_0x4ac12a,_0x4e8f1f,_0x21e5fa[_0x14e1cc(0x1e6)]?{'kind':_0x14e1cc(0x114),'tableId':_0x4a5ecf}:{'kind':_0x14e1cc(0x1da),'tableId':_0x4a5ecf,'index':Math[_0x14e1cc(0xf0)](_0x476130,_0x1acb9a),'count':Math[_0x14e1cc(0x210)](_0x1acb9a-_0x476130)+0x1});_0xac4cc0?_0x492fef[_0x14e1cc(0x232)](_0xac4cc0):_0x492fef['clearStructuralSelection']();}return _0xc9fdac;}},Xr={'id':'docs-table.command.delete-rows','type':_0x2f0499['COMMAND'],'handler':(_0x136724,_0x55c168)=>{const _0x4757ee=_0x1d6dc9;if(!_0x55c168)return!0x1;let _0x2a12d9=_0x136724[_0x4757ee(0x163)](_0x147405),_0x4df63f=_0x136724[_0x4757ee(0x163)](_0x49cedb),_0xa5bddd=_0x136724['get'](J),_0x6ce1c0=_0x2a12d9[_0x4757ee(0x15f)](_0x55c168[_0x4757ee(0xe8)],_0x21a03b[_0x4757ee(0x222)]);if(!_0x6ce1c0)return!0x1;let _0x2fe814=_0xa5bddd[_0x4757ee(0x125)](),_0x5d0a81=(_0x2fe814==null?void 0x0:_0x2fe814[_0x4757ee(0xe8)])===_0x6ce1c0[_0x4757ee(0x108)]()?_0x2fe814:null,{endRow:_0x54fac0,startRow:_0x22b97f,tableId:_0x1d5074}=_0x55c168,_0x4aae03=_0x6ce1c0['getSnapshot'](),_0x48576e=_0x55c168[_0x4757ee(0x184)]??'',_0x1a2f09=V(_0x6ce1c0,_0x48576e);if(!_0x1a2f09)return!0x1;let _0xd755b1=_r(_0x1a2f09,_0x1d5074,_0x22b97f,_0x54fac0,K(_0x4aae03,_0x48576e));if(!_0xd755b1)return!0x1;let _0x3e914a=G(_0x4df63f,_0x6ce1c0['getUnitId'](),_0x1a2f09,_0xd755b1[_0x4757ee(0x1a0)],void 0x0,void 0x0,Xr['id']);if(_0x3e914a&&_0x5d0a81){let _0x150fda=Te(_0x5d0a81,_0x1a2f09,_0xd755b1[_0x4757ee(0x1e6)]?{'kind':'delete-table','tableId':_0x1d5074}:{'kind':_0x4757ee(0x213),'tableId':_0x1d5074,'index':Math[_0x4757ee(0xf0)](_0x22b97f,_0x54fac0),'count':Math['abs'](_0x54fac0-_0x22b97f)+0x1});_0x150fda?_0xa5bddd['setStructuralSelection'](_0x150fda):_0xa5bddd[_0x4757ee(0x258)]();}return _0x3e914a;}},Zr={'id':'docs-table.command.delete-table','type':_0x2f0499['COMMAND'],'handler':(_0xa9cc20,_0x55052b)=>{const _0x448bdf=_0x1d6dc9;if(!_0x55052b)return!0x1;let _0x4f7e92=_0xa9cc20[_0x448bdf(0x163)](_0x147405),_0x294243=_0xa9cc20[_0x448bdf(0x163)](_0x49cedb),_0x4e3c5a=_0xa9cc20[_0x448bdf(0x163)](J),_0x56542d=_0x4f7e92['getUnit'](_0x55052b[_0x448bdf(0xe8)],_0x21a03b[_0x448bdf(0x222)]),_0x27f68b=_0x4e3c5a[_0x448bdf(0x125)](),_0x20eebb=(_0x27f68b==null?void 0x0:_0x27f68b[_0x448bdf(0xe8)])===(_0x56542d==null?void 0x0:_0x56542d['getUnitId']())?_0x27f68b:null;if(!_0x56542d)return!0x1;let {tableId:_0x330a91}=_0x55052b,_0xa40502=_0x56542d[_0x448bdf(0x1dc)](),_0x438cfe=_0x55052b[_0x448bdf(0x184)]??'',_0x2ac23e=V(_0x56542d,_0x438cfe);if(!_0x2ac23e)return!0x1;let _0x1eee9d=vr(_0x2ac23e,_0x330a91,K(_0xa40502,_0x438cfe));if(!_0x1eee9d)return!0x1;let _0x48896d=G(_0x294243,_0x56542d[_0x448bdf(0x108)](),_0x2ac23e,_0x1eee9d['actions'],void 0x0,void 0x0,Zr['id']);if(_0x48896d&&_0x20eebb){let _0x49620a=Te(_0x20eebb,_0x2ac23e,{'kind':_0x448bdf(0x114),'tableId':_0x330a91});_0x49620a?_0x4e3c5a[_0x448bdf(0x232)](_0x49620a):_0x4e3c5a[_0x448bdf(0x258)]();}return _0x48896d;}},Qr={'id':_0x1d6dc9(0x130),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x6e8b6d,_0x5380f1)=>{const _0x380ff5=_0x1d6dc9;let _0x46f856=_0x6e8b6d[_0x380ff5(0x163)](_0x147405),_0x1d93bf=_0x6e8b6d[_0x380ff5(0x163)](_0x49cedb),_0x4a9f0a=_0x6e8b6d[_0x380ff5(0x163)](J),_0x3f5a9c=_0x46f856[_0x380ff5(0x250)](_0x21a03b[_0x380ff5(0x222)]),_0x52ee78=_0x4a9f0a[_0x380ff5(0x125)](),_0x3a61c2=(_0x5380f1==null?void 0x0:_0x5380f1[_0x380ff5(0x170)])??(_0x52ee78==null?void 0x0:_0x52ee78[_0x380ff5(0x170)]),_0x57268f=(_0x5380f1==null?void 0x0:_0x5380f1[_0x380ff5(0x136)])??(_0x52ee78==null?void 0x0:_0x52ee78['startColumn']),_0x12e2e5=(_0x5380f1==null?void 0x0:_0x5380f1[_0x380ff5(0x26b)])??(_0x52ee78==null?void 0x0:_0x52ee78[_0x380ff5(0x26b)]);if(!_0x3f5a9c||!_0x3a61c2||_0x57268f==null||_0x12e2e5==null)return!0x1;let _0x1e40be=V(_0x3f5a9c,z(_0x5380f1,_0x52ee78));if(!_0x1e40be)return!0x1;let _0x3329da=Wn(_0x1e40be,_0x3a61c2,_0x57268f,_0x12e2e5);return G(_0x1d93bf,_0x3f5a9c['getUnitId'](),_0x1e40be,_0x3329da);}},$r={'id':'docs-table.command.distribute-rows','type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x5be091,_0x18ce2f)=>{const _0x52f544=_0x1d6dc9;let _0x19fd7d=_0x5be091[_0x52f544(0x163)](_0x147405),_0x23e8ff=_0x5be091[_0x52f544(0x163)](_0x49cedb),_0x5517bb=_0x5be091[_0x52f544(0x163)](J),_0x13034d=_0x19fd7d['getCurrentUnitOfType'](_0x21a03b['UNIVER_DOC']),_0x173a8b=_0x5517bb[_0x52f544(0x125)](),_0x124899=(_0x18ce2f==null?void 0x0:_0x18ce2f[_0x52f544(0x170)])??(_0x173a8b==null?void 0x0:_0x173a8b['tableId']),_0xd60170=(_0x18ce2f==null?void 0x0:_0x18ce2f[_0x52f544(0x1ef)])??(_0x173a8b==null?void 0x0:_0x173a8b[_0x52f544(0x1ef)]),_0x100957=(_0x18ce2f==null?void 0x0:_0x18ce2f[_0x52f544(0x1ee)])??(_0x173a8b==null?void 0x0:_0x173a8b[_0x52f544(0x1ee)]);if(!_0x13034d||!_0x124899||_0xd60170==null||_0x100957==null)return!0x1;let _0x3ea3b1=V(_0x13034d,z(_0x18ce2f,_0x173a8b));if(!_0x3ea3b1)return!0x1;let _0x34fa29=Un(_0x3ea3b1,_0x124899,_0xd60170,_0x100957);return G(_0x23e8ff,_0x13034d['getUnitId'](),_0x3ea3b1,_0x34fa29);}},ei={'id':_0x1d6dc9(0x194),'type':_0x2f0499['COMMAND'],'handler':async(_0x5ef04a,_0x38d3db)=>{const _0x68bb95=_0x1d6dc9;var _0x370e23;if(!_0x38d3db)return!0x1;let _0x551839=_0x5ef04a['get'](_0x147405),_0x4d6aa7=_0x5ef04a[_0x68bb95(0x163)](_0x49cedb),_0x4bb653=_0x5ef04a['get'](J),_0x34ca7b=_0x551839[_0x68bb95(0x250)](_0x21a03b[_0x68bb95(0x222)]),_0x2741ad=_0x4bb653['getCurrentSelection'](),_0x590efe=_0x38d3db['tableId']??(_0x2741ad==null?void 0x0:_0x2741ad[_0x68bb95(0x170)]),_0x34cc83=_0x38d3db[_0x68bb95(0x1ea)]??(_0x38d3db[_0x68bb95(0x27b)]===_0x68bb95(0xf1)?_0x2741ad==null?void 0x0:_0x2741ad[_0x68bb95(0x136)]:_0x2741ad==null?void 0x0:_0x2741ad[_0x68bb95(0x26b)]);if(!_0x34ca7b||_0x590efe==null||_0x34cc83==null)return!0x1;let _0x5387ba=_0x34ca7b[_0x68bb95(0x1dc)](),_0x59e3fd=z(_0x38d3db,_0x2741ad),_0x2b7c9=V(_0x34ca7b,_0x59e3fd);if(!_0x2b7c9)return!0x1;let _0x777d8a=_0x38d3db[_0x68bb95(0x1ae)]??(_0x2741ad?Math[_0x68bb95(0x1fc)](0x1,_0x2741ad[_0x68bb95(0x26b)]-_0x2741ad['startColumn']+0x1):0x1),_0x199ac0=((_0x370e23=_0x5387ba[_0x68bb95(0xf6)])==null?void 0x0:_0x370e23[_0x68bb95(0x1fb)])===_0x4ee47a[_0x68bb95(0x1d1)],_0x2d5125=Kn(_0x2b7c9,_0x590efe,_0x34cc83,_0x777d8a,_0x38d3db[_0x68bb95(0x27b)],{'bodyPath':K(_0x5387ba,_0x59e3fd),'insertedColumnWidth':_0x199ac0?ti(_0x5387ba,_0x590efe,_0x34cc83,_0x38d3db[_0x68bb95(0x27b)]):void 0x0,'preserveTotalWidth':!_0x199ac0});if(!_0x2d5125)return!0x1;let _0xe16ded=G(_0x4d6aa7,_0x34ca7b['getUnitId'](),_0x2b7c9,_0x2d5125[_0x68bb95(0x1a0)]);if(_0xe16ded&&_0x2741ad){let _0x16db33=Te(_0x2741ad,_0x2b7c9,{'kind':'insert-columns','tableId':_0x590efe,'index':_0x2d5125['cursorColumn'],'count':_0x777d8a});_0x16db33&&_0x4bb653[_0x68bb95(0x232)](_0x16db33);}return _0xe16ded;}};function ti(_0x4be06b,_0x48253c,_0x53f41b,_0x5c3abe){const _0x2e0730=_0x1d6dc9;var _0x3f10a7,_0x5a1ed9;let _0x35a3f3=(_0x5a1ed9=(((_0x3f10a7=_0x4be06b['tableSource'])==null||(_0x3f10a7=_0x3f10a7[_0x48253c])==null?void 0x0:_0x3f10a7['tableColumns'])??[])[(_0x5c3abe===_0x2e0730(0xf1)?_0x53f41b:_0x53f41b+0x1)-0x1])==null||(_0x5a1ed9=_0x5a1ed9['size'])==null||(_0x5a1ed9=_0x5a1ed9[_0x2e0730(0x221)])==null?void 0x0:_0x5a1ed9['v'];return _0x35a3f3&&_0x35a3f3>0x0?_0x35a3f3:0x64;}const ni={'id':_0x1d6dc9(0x1f5),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x4b554,_0x468424)=>{const _0x480a05=_0x1d6dc9;if(!_0x468424)return!0x1;let _0x2b99f6=_0x4b554[_0x480a05(0x163)](_0x147405),_0x2e2a8b=_0x4b554[_0x480a05(0x163)](_0x49cedb),_0x4396c5=_0x4b554[_0x480a05(0x163)](J),_0xabedb6=_0x2b99f6[_0x480a05(0x250)](_0x21a03b[_0x480a05(0x222)]),_0x2eb171=_0x4396c5[_0x480a05(0x125)](),_0x254036=_0x468424['tableId']??(_0x2eb171==null?void 0x0:_0x2eb171['tableId']),_0x1c4881=_0x468424['row']??(_0x468424['position']==='above'?_0x2eb171==null?void 0x0:_0x2eb171[_0x480a05(0x1ef)]:_0x2eb171==null?void 0x0:_0x2eb171[_0x480a05(0x1ee)]);if(!_0xabedb6||_0x254036==null||_0x1c4881==null)return!0x1;let _0x4bee51=_0xabedb6[_0x480a05(0x1dc)](),_0xe1cc7b=z(_0x468424,_0x2eb171),_0x40b222=V(_0xabedb6,_0xe1cc7b);if(!_0x40b222)return!0x1;let _0x33eae7=_0x468424[_0x480a05(0x1ae)]??(_0x2eb171?Math[_0x480a05(0x1fc)](0x1,_0x2eb171[_0x480a05(0x1ee)]-_0x2eb171[_0x480a05(0x1ef)]+0x1):0x1),_0x3017c8=mr(_0x40b222,_0x254036,_0x1c4881,_0x33eae7,_0x468424[_0x480a05(0x27b)],K(_0x4bee51,_0xe1cc7b));if(!_0x3017c8)return!0x1;let _0x2cc020=G(_0x2e2a8b,_0xabedb6[_0x480a05(0x108)](),_0x40b222,_0x3017c8[_0x480a05(0x1a0)]);if(_0x2cc020&&_0x2eb171){let _0x255aa0=Te(_0x2eb171,_0x40b222,{'kind':_0x480a05(0x10b),'tableId':_0x254036,'index':_0x3017c8[_0x480a05(0x1df)],'count':_0x33eae7});_0x255aa0&&_0x4396c5[_0x480a05(0x232)](_0x255aa0);}return _0x2cc020;}},ri={'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}};function ii(_0x2d8995){const _0x59e40d=_0x1d6dc9;var _0x1c1fdc;let _0x24a21b=(_0x1c1fdc=_0x2d8995[_0x59e40d(0x24d)][_0x59e40d(0xfe)])==null?void 0x0:_0x1c1fdc[_0x2d8995[_0x59e40d(0x170)]];if(!_0x24a21b)return null;let _0x3b3fbd=ci(_0x2d8995),_0x44f646=[],_0x4c69f6=_0x2542db[_0x59e40d(0x15b)]();for(let _0x3ce310=_0x3b3fbd['startRow'];_0x3ce310<=_0x3b3fbd[_0x59e40d(0x1ee)];_0x3ce310++)for(let _0x16c022=_0x3b3fbd[_0x59e40d(0x136)];_0x16c022<=_0x3b3fbd[_0x59e40d(0x26b)];_0x16c022++){var _0x304d4c;let _0x34c057=(_0x304d4c=_0x24a21b[_0x59e40d(0x167)][_0x3ce310])==null?void 0x0:_0x304d4c['tableCells'][_0x16c022];if(!_0x34c057)return null;oi(_0x44f646,[_0x59e40d(0xfe),_0x2d8995[_0x59e40d(0x170)],_0x59e40d(0x167),_0x3ce310,_0x59e40d(0x193),_0x16c022,'margin'],_0x34c057[_0x59e40d(0x154)],_0x2d8995[_0x59e40d(0x154)]??void 0x0,_0x4c69f6);}return si(_0x44f646);}function ai(_0x583f84,_0x4f5644,_0x5969ef){const _0x33a366=_0x1d6dc9;var _0x10f11a;let _0x4c774b=(_0x10f11a=_0x583f84[_0x33a366(0xfe)])==null?void 0x0:_0x10f11a[_0x4f5644];if(!_0x4c774b)return null;let _0x676252=[];return oi(_0x676252,[_0x33a366(0xfe),_0x4f5644,_0x33a366(0x134)],_0x4c774b[_0x33a366(0x134)],_0x5969ef??void 0x0,_0x2542db['getInstance']()),si(_0x676252);}function oi(_0x177fa6,_0x546eed,_0x46393c,_0xe60653,_0x74c457){const _0x8d6d9f=_0x1d6dc9;JSON[_0x8d6d9f(0x178)](_0x46393c)!==JSON['stringify'](_0xe60653)&&(_0x46393c===void 0x0?_0x177fa6[_0x8d6d9f(0x149)](_0x74c457[_0x8d6d9f(0x1c4)](_0x546eed,_0xe08884['deepClone'](_0xe60653))):_0xe60653===void 0x0?_0x177fa6['push'](_0x74c457[_0x8d6d9f(0x160)](_0x546eed,_0x46393c)):_0x177fa6[_0x8d6d9f(0x149)](_0x74c457[_0x8d6d9f(0x1bf)](_0x546eed,_0x46393c,_0xe08884[_0x8d6d9f(0x23f)](_0xe60653))));}function si(_0x45da87){const _0x30c77e=_0x1d6dc9;return _0x45da87['reduce']((_0x1cbf2a,_0x522fe1)=>_0x2542db[_0x30c77e(0x219)](_0x1cbf2a,_0x522fe1),null);}function ci(_0x5f047c){const _0x3d091c=_0x1d6dc9;return{'startRow':Math[_0x3d091c(0xf0)](_0x5f047c[_0x3d091c(0x1ef)],_0x5f047c[_0x3d091c(0x1ee)]),'endRow':Math['max'](_0x5f047c[_0x3d091c(0x1ef)],_0x5f047c[_0x3d091c(0x1ee)]),'startColumn':Math['min'](_0x5f047c[_0x3d091c(0x136)],_0x5f047c['endColumn']),'endColumn':Math[_0x3d091c(0x1fc)](_0x5f047c[_0x3d091c(0x136)],_0x5f047c[_0x3d091c(0x26b)])};}let li=function(_0x56a2cf){const _0x2f9336=_0x1d6dc9;return _0x56a2cf[_0x2f9336(0x11f)]=_0x2f9336(0x19f),_0x56a2cf[_0x2f9336(0x185)]=_0x2f9336(0x288),_0x56a2cf[_0x2f9336(0x281)]=_0x2f9336(0x272),_0x56a2cf;}({});var ui=class extends Error{constructor(){super('Table\x20can\x20only\x20be\x20inserted\x20in\x20a\x20normal\x20paragraph\x20area');}};function di(_0x268be7,_0x52a1b1=[_0x1d6dc9(0x147)]){const _0x2811fa=_0x1d6dc9;var _0x417576,_0x135285;let _0x18e624=_0x268be7[_0x2811fa(0x24d)][_0x2811fa(0x147)]??mi(),_0x5dea23=gi(_0x268be7),_0x20674c=_0x5dea23[_0x2811fa(0x1b5)],_0x550b11=((_0x417576=_0x5dea23[0x0])==null?void 0x0:_0x417576[_0x2811fa(0x1b5)])??0x1,_0x300bba=_i(_0x18e624,_0x268be7);vi(_0x18e624,_0x300bba);let _0x2333a0=fi(_0x18e624,_0x268be7,_0x5dea23,_0x300bba),_0x2b1ea8=_0x268be7[_0x2811fa(0x24d)][_0x2811fa(0x147)]?pi(_0x2333a0,_0x300bba,_0x52a1b1):_0x2542db[_0x2811fa(0x15b)]()['insertOp'](_0x52a1b1,hi(_0x2333a0)),_0xc622e0=Ai(_0x268be7,_0x20674c,_0x550b11),_0xd71083=_0x2542db[_0x2811fa(0x15b)]()['insertOp']([_0x2811fa(0xfe),_0x268be7[_0x2811fa(0x170)]],_0xc622e0),_0x5606db=N(_0x268be7['metadata']),_0x55e4bf=Fi(_0x268be7);return _0x55e4bf&&(_0x5606db['tables'][_0x268be7[_0x2811fa(0x170)]]=_0x55e4bf),{'actions':_0x2542db['compose'](_0x2b1ea8,_0xd71083),'cursorOffset':_0x300bba+(((_0x135285=_0x2333a0[_0x2811fa(0x14f)])==null||(_0x135285=_0x135285[_0x2811fa(0x121)](_0x522f52=>_0x522f52[_0x2811fa(0x170)]===_0x268be7[_0x2811fa(0x170)]))==null?void 0x0:_0x135285['startIndex'])??0x0)+0x3,'nextMetadata':_0x5606db,'tableId':_0x268be7[_0x2811fa(0x170)]};}function fi(_0x53746f,_0x481ee,_0x17cd3b,_0x1999cf){const _0x43ef1a=_0x1d6dc9;let _0x3235b6=Oi(_0x53746f),_0x3c25ac=Di(_0x17cd3b,_0x3235b6,ki(_0x53746f)),_0x5f1b4b=Si(_0x53746f,_0x1999cf)?_0x22fbb3[_0x43ef1a(0x1c3)]:'',_0x3d476d=_0x5f1b4b?wi(_0x53746f,_0x1999cf):void 0x0,_0x330c44=Ci(_0x53746f,_0x1999cf)?_0x22fbb3[_0x43ef1a(0x1c3)]:'',_0x35a7ad=_0x5f1b4b[_0x43ef1a(0x1b5)],_0x4f34de=_0x35a7ad+_0x3c25ac[_0x43ef1a(0x10f)][_0x43ef1a(0x1b5)];return{'dataStream':[_0x5f1b4b,_0x3c25ac[_0x43ef1a(0x10f)],_0x330c44][_0x43ef1a(0x141)](''),'paragraphs':[...Ti(0x0,_0x5f1b4b,_0x3235b6,_0x3d476d),..._0x3c25ac[_0x43ef1a(0x169)][_0x43ef1a(0x202)](_0x8823ee=>({..._0x8823ee,'startIndex':_0x8823ee[_0x43ef1a(0x14b)]+_0x35a7ad})),...Ei(_0x4f34de,_0x330c44,_0x3235b6)],'sectionBreaks':_0x3c25ac[_0x43ef1a(0x211)]['map'](_0x20b829=>({..._0x20b829,'startIndex':_0x20b829['startIndex']+_0x35a7ad})),'tables':[{'startIndex':_0x35a7ad,'endIndex':_0x4f34de,'tableId':_0x481ee[_0x43ef1a(0x170)]}]};}function pi(_0x46039a,_0x346a28,_0x17df8d){const _0x12ff22=_0x1d6dc9;let _0x18a38b=new _0x5c651d();return _0x346a28>0x0&&_0x18a38b['retain'](_0x346a28),_0x18a38b[_0x12ff22(0x223)](_0x46039a['dataStream'][_0x12ff22(0x1b5)],_0x46039a),_0x2542db[_0x12ff22(0x15b)]()[_0x12ff22(0x10d)](_0x18a38b[_0x12ff22(0x17c)](),_0x17df8d);}function mi(){return{'dataStream':_0x22fbb3['SECTION_BREAK'],'paragraphs':[],'sectionBreaks':[{'sectionId':_0xb40d83(new Set()),'startIndex':0x0}],'tables':[]};}function hi(_0x2d8c8c){const _0x1a59ee=_0x1d6dc9;var _0x38aa3e;let _0x3c6964=_0x2d8c8c[_0x1a59ee(0x10f)]['length'];return{..._0x2d8c8c,'dataStream':_0x2d8c8c[_0x1a59ee(0x10f)]+_0x22fbb3[_0x1a59ee(0x1e0)],'sectionBreaks':[..._0x2d8c8c[_0x1a59ee(0x211)]??[],{'sectionId':_0xb40d83(new Set((_0x38aa3e=_0x2d8c8c[_0x1a59ee(0x211)])==null?void 0x0:_0x38aa3e[_0x1a59ee(0x202)](_0x368cfd=>_0x368cfd[_0x1a59ee(0x1c8)]))),'startIndex':_0x3c6964}]};}function gi(_0x59267e){const _0x100825=_0x1d6dc9;var _0x1929f1;let _0xf7ef9d=Math[_0x100825(0x1fc)](0x1,_0x59267e[_0x100825(0x244)]??((_0x1929f1=_0x59267e['values'])==null?void 0x0:_0x1929f1[_0x100825(0x1b5)])??0x1),_0x41e2fc=0x0;for(let _0x2a46c2 of _0x59267e[_0x100825(0xeb)]??[])_0x41e2fc=Math['max'](_0x41e2fc,_0x2a46c2[_0x100825(0x1b5)]);let _0x433358=Math['max'](0x1,_0x59267e[_0x100825(0x179)]??(_0x41e2fc||0x1));return Array[_0x100825(0x1f1)]({'length':_0xf7ef9d},(_0x2f9222,_0x4458a0)=>Array['from']({'length':_0x433358},(_0x2ffac1,_0x962a7f)=>{const _0x9dc7b2=_0x100825;var _0x38d421;return((_0x38d421=_0x59267e[_0x9dc7b2(0xeb)])==null||(_0x38d421=_0x38d421[_0x4458a0])==null?void 0x0:_0x38d421[_0x962a7f])??'';}));}function _i(_0x581d9d,_0x1b72b9){const _0x1580d6=_0x1d6dc9;return typeof _0x1b72b9[_0x1580d6(0x272)]==_0x1580d6(0x1fd)?Math['max'](0x0,Math[_0x1580d6(0xf0)](_0x1b72b9[_0x1580d6(0x272)],_0x581d9d[_0x1580d6(0x10f)]['length'])):_0x581d9d['dataStream'][_0x1580d6(0x11d)](_0x22fbb3['SECTION_BREAK'])?_0x581d9d[_0x1580d6(0x10f)]['length']-0x1:_0x581d9d['dataStream']['length'];}function vi(_0x32bb7e,_0x2d4600){const _0x2a91f9=_0x1d6dc9;if(yi(_0x32bb7e[_0x2a91f9(0x14f)],_0x2d4600)||bi(_0x32bb7e[_0x2a91f9(0x22a)],_0x2d4600)||xi(_0x32bb7e['customBlocks'],_0x2d4600))throw new ui();}function yi(_0x54d5aa,_0x51eaed){const _0x224724=_0x1d6dc9;return!!(_0x54d5aa!=null&&_0x54d5aa[_0x224724(0x220)](_0x56521b=>_0x69b780(_0x54a35a(_0x56521b),_0x51eaed)));}function bi(_0x2e7b5d,_0x1e5a99){const _0x24e338=_0x1d6dc9;return!!(_0x2e7b5d!=null&&_0x2e7b5d[_0x24e338(0x220)](_0x5738e7=>_0x69b780(_0x92fc61(_0x5738e7),_0x1e5a99)));}function xi(_0x910419,_0x5f86e7){const _0x28c11f=_0x1d6dc9;return!!(_0x910419!=null&&_0x910419[_0x28c11f(0x220)](_0x34a38d=>_0x34a38d[_0x28c11f(0x14b)]===_0x5f86e7));}function Si(_0x522774,_0x35c222){const _0x3b5689=_0x1d6dc9;return _0x35c222<=0x0||_0x522774[_0x3b5689(0x10f)][_0x35c222-0x1]!==_0x22fbb3['PARAGRAPH'];}function Ci(_0x22886d,_0x2fd5ba){const _0x42874d=_0x1d6dc9;return _0x22886d[_0x42874d(0x10f)][_0x2fd5ba]!==_0x22fbb3['PARAGRAPH'];}function wi(_0x26bdf,_0x25a5b5){const _0x708745=_0x1d6dc9;var _0x3b83c1;return(_0x3b83c1=_0x26bdf[_0x708745(0x169)])==null?void 0x0:_0x3b83c1['find'](_0xd43049=>_0x484d2a(_0x26bdf,_0xd43049)<_0x25a5b5&&_0x25a5b5<=_0xd43049['startIndex']);}function Ti(_0x45f8d6,_0x2d654a,_0x5abd55,_0x481df4){const _0x50a774=_0x1d6dc9;if(!_0x2d654a)return[];let _0x36e5d9={'startIndex':_0x45f8d6,'paragraphId':_0x52b0f4(_0x5abd55)};return _0x481df4!=null&&_0x481df4[_0x50a774(0x128)]&&(_0x36e5d9[_0x50a774(0x128)]=_0xe08884[_0x50a774(0x23f)](_0x481df4['bullet'])),_0x481df4!=null&&_0x481df4[_0x50a774(0x1f0)]&&(_0x36e5d9['paragraphStyle']=_0xe08884[_0x50a774(0x23f)](_0x481df4[_0x50a774(0x1f0)]),delete _0x36e5d9['paragraphStyle'][_0x50a774(0x1af)],_0x481df4[_0x50a774(0x1f0)][_0x50a774(0x235)]&&(_0x36e5d9['paragraphStyle'][_0x50a774(0x235)]=_0x15f046(0x6))),[_0x36e5d9];}function Ei(_0x6c29ee,_0x3e5013,_0x3e4ead){return _0x3e5013?[{'startIndex':_0x6c29ee,'paragraphId':_0x52b0f4(_0x3e4ead)}]:[];}function Di(_0x5229ef,_0x21bf32,_0x1e010c){const _0x13120d=_0x1d6dc9;let _0x5e7c1d=_0x22fbb3[_0x13120d(0x158)],_0x2370fe=[],_0x1a88dc=[];return _0x5229ef[_0x13120d(0x100)](_0x3f0ed9=>{const _0x3228bf=_0x13120d;_0x5e7c1d+=_0x22fbb3[_0x3228bf(0x204)],_0x3f0ed9[_0x3228bf(0x100)](_0x364547=>{const _0x39420a=_0x3228bf;_0x5e7c1d+=''+_0x22fbb3[_0x39420a(0x175)]+_0x364547+_0x22fbb3[_0x39420a(0x1c3)]+_0x22fbb3['SECTION_BREAK']+_0x22fbb3['TABLE_CELL_END'],_0x2370fe['push']({'startIndex':_0x5e7c1d['length']-0x3,'paragraphId':_0x52b0f4(_0x21bf32)}),_0x1a88dc[_0x39420a(0x149)]({'sectionId':_0xb40d83(_0x1e010c),'startIndex':_0x5e7c1d[_0x39420a(0x1b5)]-0x2});}),_0x5e7c1d+=_0x22fbb3['TABLE_ROW_END'];}),_0x5e7c1d+=_0x22fbb3[_0x13120d(0x1d8)],{'dataStream':_0x5e7c1d,'paragraphs':_0x2370fe,'sectionBreaks':_0x1a88dc};}function Oi(_0x416385){const _0x363ec4=_0x1d6dc9;return new Set((_0x416385[_0x363ec4(0x169)]??[])[_0x363ec4(0x202)](_0x4592de=>_0x4592de['paragraphId']));}function ki(_0x5e0082){const _0xcafac2=_0x1d6dc9;return new Set((_0x5e0082['sectionBreaks']??[])[_0xcafac2(0x202)](_0x2d507e=>_0x2d507e[_0xcafac2(0x1c8)]));}function Ai(_0x21b1c9,_0x52c2d1,_0x122694){const _0xecc174=_0x1d6dc9;let _0x12bb37=Pi(_0x21b1c9,_0x122694);return{'tableRows':Array['from']({'length':_0x52c2d1},(_0x6e3648,_0x39e37f)=>ji(_0x21b1c9,_0x39e37f,_0x122694)),'tableColumns':_0x12bb37['map']((_0x5d8c92,_0x1190e8)=>({...Ni(_0x5d8c92),..._0x21b1c9[_0xecc174(0x26d)]?{'docsTableType':_0xe08884[_0xecc174(0x23f)](_0x21b1c9['columnTypes'][_0x1190e8]??null)}:{}})),'docsTableMetadataVersion':0x1,'tableId':_0x21b1c9[_0xecc174(0x170)],'align':_0x967e1f[_0xecc174(0x12c)],'indent':{'v':0x0},'textWrap':_0x4bef24[_0xecc174(0x228)],'position':{'positionH':{'relativeFrom':_0x4d53ac['PAGE'],'posOffset':0x0},'positionV':{'relativeFrom':_0x5cbbcc[_0xecc174(0x1b6)],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'size':{'type':_0x294639['SPECIFIED'],'width':{'v':_0x21b1c9['width']??_0x12bb37['reduce']((_0x1bdab4,_0x2868ef)=>_0x1bdab4+_0x2868ef,0x0)}},..._0x21b1c9['cellMargin']==null?{}:{'cellMargin':_0xe08884[_0xecc174(0x23f)](_0x21b1c9['cellMargin'])}};}function ji(_0x1768ef,_0x59d8a8,_0xf1deac){const _0x32f3a2=_0x1d6dc9;var _0x3bb702;return{'tableCells':Array[_0x32f3a2(0x1f1)]({'length':_0xf1deac},(_0x2b3b67,_0x22cbca)=>Mi(_0x1768ef,_0x59d8a8,_0x22cbca,_0xf1deac)),'trHeight':{'val':{'v':((_0x3bb702=_0x1768ef[_0x32f3a2(0x1e8)])==null?void 0x0:_0x3bb702[_0x59d8a8])??0x1e},'hRule':_0x476a6d[_0x32f3a2(0x278)]},..._0x1768ef['titleRow']&&_0x59d8a8===0x0?{'docsTableTitleRow':!0x0}:{},'repeatHeaderRow':_0x59d8a8<(_0x1768ef[_0x32f3a2(0xfb)]??0x0)?_0x2d71c7['TRUE']:_0x2d71c7[_0x32f3a2(0x1bc)]};}function Mi(_0x5c1d80,_0x1d8e12,_0x422d9f,_0x2888e6){const _0x4313c2=_0x1d6dc9;let _0xe66554=_0x5c1d80[_0x4313c2(0xf7)]&&_0x1d8e12===0x0;return{..._0x5c1d80[_0x4313c2(0x134)]==null?{'margin':_0xe08884['deepClone'](ri)}:{},..._0xe66554&&_0x422d9f===0x0?{'columnSpan':_0x2888e6}:{},..._0xe66554&&_0x422d9f>0x0?{'rowSpan':0x0,'columnSpan':0x0}:{}};}function Ni(_0x5150e8){const _0x58d99b=_0x1d6dc9;return{'size':{'type':_0x294639[_0x58d99b(0x153)],'width':{'v':_0x5150e8}}};}function Pi(_0x2ac22e,_0xcb1cf8){const _0x46b642=_0x1d6dc9;let _0xe02b5b=_0x2ac22e[_0x46b642(0x221)]?_0x2ac22e[_0x46b642(0x221)]/_0xcb1cf8:0x64;return Array['from']({'length':_0xcb1cf8},(_0x2e41ec,_0x23db84)=>{const _0x402b61=_0x46b642;var _0x875ea4;return((_0x875ea4=_0x2ac22e[_0x402b61(0x21a)])==null?void 0x0:_0x875ea4[_0x23db84])??_0xe02b5b;});}function Fi(_0x42869f){const _0x472848=_0x1d6dc9;if(_0x42869f[_0x472848(0xf7)]!=null||_0x42869f[_0x472848(0xfb)]!=null||_0x42869f[_0x472848(0x26d)]!=null)return{..._0x42869f[_0x472848(0xf7)]==null?{}:{'titleRow':_0x42869f['titleRow']},..._0x42869f[_0x472848(0xfb)]==null?{}:{'headerRowCount':_0x42869f[_0x472848(0xfb)]},..._0x42869f[_0x472848(0x26d)]==null?{}:{'columnTypes':_0x42869f['columnTypes']}};}const Ii={'id':'docs-table.command.insert-table','type':_0x2f0499[_0x1d6dc9(0x118)],'handler':(_0xe5a9cb,_0xc05bed)=>{const _0x4bb5f3=_0x1d6dc9;let _0x582d4f=_0xe5a9cb[_0x4bb5f3(0x163)](_0x147405),_0x337752=_0xe5a9cb[_0x4bb5f3(0x163)](_0x49cedb),_0x3d69f0=_0xe5a9cb[_0x4bb5f3(0x163)](R),_0x1d1c91=_0xc05bed!=null&&_0xc05bed[_0x4bb5f3(0xe8)]?_0x582d4f[_0x4bb5f3(0x15f)](_0xc05bed['unitId'],_0x21a03b['UNIVER_DOC']):_0x582d4f[_0x4bb5f3(0x250)](_0x21a03b[_0x4bb5f3(0x222)]);if(!_0x1d1c91)return!0x1;let _0x420672=_0x1d1c91[_0x4bb5f3(0x1dc)](),_0x271bce=(_0xc05bed==null?void 0x0:_0xc05bed['tableId'])??_0x15f046(0x6),_0x35c3ee=Li(_0xe5a9cb,_0x1d1c91[_0x4bb5f3(0x108)](),_0xc05bed);if(!_0x35c3ee)return!0x1;let _0x34a093;try{let _0x5c707c=V(_0x1d1c91,_0x35c3ee[_0x4bb5f3(0x184)]);if(!_0x5c707c)return!0x1;_0x34a093=di({..._0xc05bed,..._0x35c3ee,'documentData':_0x5c707c,'metadata':_0x3d69f0[_0x4bb5f3(0x17c)](_0x1d1c91[_0x4bb5f3(0x108)]()),'tableId':_0x271bce},K(_0x420672,_0x35c3ee[_0x4bb5f3(0x184)]));}catch(_0x2e7566){if(_0x2e7566 instanceof ui)return!0x1;throw _0x2e7566;}let _0x31e93a=V(_0x1d1c91,_0x35c3ee[_0x4bb5f3(0x184)]);return _0x31e93a?G(_0x337752,_0x1d1c91[_0x4bb5f3(0x108)](),_0x31e93a,_0x34a093[_0x4bb5f3(0x1a0)],void 0x0,_0x34a093[_0x4bb5f3(0x16f)],Ii['id']):!0x1;}};function Li(_0x89d940,_0x1a27cb,_0x144072){const _0xc56d87=_0x1d6dc9;let {offset:_0x36941a,position:_0x49593e,segmentId:_0x51fe24}=_0x144072??{};if(typeof _0x36941a=='number'){let _0x77ea1a=Ri(_0x89d940);return{'offset':_0x36941a,'position':_0xc56d87(0x272),'segmentId':_0x51fe24??(_0x77ea1a==null?void 0x0:_0x77ea1a[_0xc56d87(0x184)])};}if(_0x49593e===_0xc56d87(0x19f)){let _0x5b9c3f=_0x3fce68(_0x89d940,_0x1a27cb),_0xb36a48=Ri(_0x89d940),_0x1a6b0d=_0xb36a48!=null&&_0xb36a48[_0xc56d87(0x184)]?_0xb36a48:_0x5b9c3f??_0xb36a48;if((_0x1a6b0d==null?void 0x0:_0x1a6b0d[_0xc56d87(0x113)])!=null)return{'offset':_0x1a6b0d['startOffset'],'position':_0xc56d87(0x272),'segmentId':_0x51fe24??_0x1a6b0d[_0xc56d87(0x184)]};}if(_0x49593e===_0xc56d87(0x272)){let _0x53fadb=_0x3fce68(_0x89d940,_0x1a27cb),_0x17ac61=Ri(_0x89d940),_0xbb582c=_0x53fadb??_0x17ac61;if((_0xbb582c==null?void 0x0:_0xbb582c[_0xc56d87(0x113)])!=null)return{'offset':_0xbb582c[_0xc56d87(0x113)],'position':_0xc56d87(0x272),'segmentId':_0x51fe24??_0xbb582c[_0xc56d87(0x184)]};}return{'position':_0xc56d87(0x288),'segmentId':_0x51fe24};}function Ri(_0x12bf35){const _0x916181=_0x1d6dc9;try{var _0xbefcd0,_0x24f847;let _0x33dbd6=(_0xbefcd0=(_0x24f847=_0x12bf35[_0x916181(0x163)](_0x35bfb0))[_0x916181(0x242)])==null?void 0x0:_0xbefcd0['call'](_0x24f847);return _0x33dbd6?{'startOffset':_0x33dbd6[_0x916181(0x113)],'segmentId':_0x33dbd6['segmentId']}:null;}catch{return null;}}const zi={'id':_0x1d6dc9(0x190),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x143c19,_0x4348d9)=>{const _0x2d6866=_0x1d6dc9;let _0x319e9b=_0x143c19[_0x2d6866(0x163)](_0x147405),_0x28d0cb=_0x143c19[_0x2d6866(0x163)](_0x49cedb),_0x5a2816=_0x143c19[_0x2d6866(0x163)](J),_0xbfe3c0=_0x319e9b[_0x2d6866(0x250)](_0x21a03b[_0x2d6866(0x222)]),_0x37876e=_0x5a2816[_0x2d6866(0x125)](),_0xc59608=(_0x4348d9==null?void 0x0:_0x4348d9[_0x2d6866(0x170)])??(_0x37876e==null?void 0x0:_0x37876e[_0x2d6866(0x170)]);if(!_0xbfe3c0||!_0xc59608)return!0x1;let _0x3367f1=_0xbfe3c0[_0x2d6866(0x1dc)](),_0x27bf2e=z(_0x4348d9,_0x37876e),_0x5e9dd1=V(_0xbfe3c0,_0x27bf2e);if(!_0x5e9dd1)return!0x1;let _0x4b9bd0=gr(_0x5e9dd1,_0xc59608,K(_0x3367f1,_0x27bf2e));return _0x4b9bd0?G(_0x28d0cb,_0xbfe3c0[_0x2d6866(0x108)](),_0x5e9dd1,_0x4b9bd0[_0x2d6866(0x1a0)]):!0x1;}},Bi={'id':_0x1d6dc9(0x205),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x3faf48,_0x4ae8d7)=>{const _0x2e571c=_0x1d6dc9;let _0x1ae232=_0x3faf48[_0x2e571c(0x163)](_0x147405),_0x3e3d16=_0x3faf48['get'](_0x49cedb),_0x1ea2a2=_0x3faf48[_0x2e571c(0x163)](J),_0x2500ac=_0x1ae232[_0x2e571c(0x250)](_0x21a03b[_0x2e571c(0x222)]),_0x3347de=_0x1ea2a2['getStableTableSelection'](),_0xbd2c4=(_0x4ae8d7==null?void 0x0:_0x4ae8d7['tableId'])??(_0x3347de==null?void 0x0:_0x3347de[_0x2e571c(0x170)]),_0x20081e=B(_0x4ae8d7,_0x3347de);if(!_0x2500ac||!_0xbd2c4||!_0x20081e)return!0x1;let _0x238699=z(_0x4ae8d7,_0x3347de),_0xc3f6f2=V(_0x2500ac,_0x238699);if(!_0xc3f6f2||!Pe(_0xc3f6f2,_0xbd2c4,_0x20081e))return!0x1;let _0x22d1a1=Le({'documentData':_0xc3f6f2,'tableId':_0xbd2c4,..._0x20081e});if(!_0x22d1a1)return!0x1;let _0x531c6e=G(_0x3e3d16,_0x2500ac[_0x2e571c(0x108)](),_0xc3f6f2,_0x22d1a1[_0x2e571c(0x1a0)],{'tableId':_0xbd2c4,'segmentId':_0x238699,..._0x22d1a1[_0x2e571c(0x1e2)]});return _0x531c6e&&_0x1ea2a2[_0x2e571c(0x232)]({'kind':_0x2e571c(0x15e),'tableId':_0xbd2c4,'segmentId':_0x238699,..._0x22d1a1[_0x2e571c(0x1e2)]}),_0x531c6e;}},Vi={'id':_0x1d6dc9(0x1ce),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x235408,_0x5a839f)=>{const _0x44d3dd=_0x1d6dc9;if(!_0x5a839f)return!0x1;let _0x2ab82a=_0x235408[_0x44d3dd(0x163)](_0x147405),_0x2d9108=_0x235408[_0x44d3dd(0x163)](_0x49cedb),_0x39d6ba=_0x235408[_0x44d3dd(0x163)](J),_0x2da450=_0x2ab82a[_0x44d3dd(0x250)](_0x21a03b[_0x44d3dd(0x222)]),_0x8357e8=_0x39d6ba[_0x44d3dd(0x125)](),_0x3dc85e=_0x5a839f[_0x44d3dd(0x170)]??(_0x8357e8==null?void 0x0:_0x8357e8[_0x44d3dd(0x170)]),_0x57fc1c=_0x5a839f['fromColumn']??(_0x8357e8==null?void 0x0:_0x8357e8['startColumn']);if(!_0x2da450||_0x3dc85e==null||_0x57fc1c==null)return!0x1;let _0x77cf91=_0x2da450['getSnapshot'](),_0x1c374c=z(_0x5a839f,_0x8357e8),_0x29c55e=V(_0x2da450,_0x1c374c);if(!_0x29c55e)return!0x1;let _0x509676=_0x5a839f[_0x44d3dd(0x1ae)]??(_0x8357e8?Math[_0x44d3dd(0x1fc)](0x1,_0x8357e8['endColumn']-_0x8357e8[_0x44d3dd(0x136)]+0x1):0x1),_0x3b71db=rr(_0x29c55e,_0x3dc85e,_0x57fc1c,_0x5a839f[_0x44d3dd(0x229)],_0x509676,_0x5a839f[_0x44d3dd(0x27b)],K(_0x77cf91,_0x1c374c));if(!_0x3b71db)return!0x1;let _0x28330d=G(_0x2d9108,_0x2da450[_0x44d3dd(0x108)](),_0x29c55e,_0x3b71db[_0x44d3dd(0x1a0)]);return _0x28330d&&_0x8357e8&&_0x39d6ba[_0x44d3dd(0x232)]({..._0x8357e8,'tableId':_0x3dc85e,'startColumn':_0x3b71db[_0x44d3dd(0x22e)],'endColumn':_0x3b71db[_0x44d3dd(0x22e)]+_0x509676-0x1}),_0x28330d;}},Hi={'id':'docs-table.command.move-rows','type':_0x2f0499['COMMAND'],'handler':async(_0x3d94be,_0x554394)=>{const _0x1e9623=_0x1d6dc9;if(!_0x554394)return!0x1;let _0x1504ae=_0x3d94be['get'](_0x147405),_0x5540c9=_0x3d94be[_0x1e9623(0x163)](_0x49cedb),_0xdca871=_0x3d94be[_0x1e9623(0x163)](J),_0x2196fe=_0x1504ae[_0x1e9623(0x250)](_0x21a03b['UNIVER_DOC']),_0x44f1d3=_0xdca871['getCurrentSelection'](),_0x23adae=_0x554394['tableId']??(_0x44f1d3==null?void 0x0:_0x44f1d3[_0x1e9623(0x170)]),_0x4642a6=_0x554394[_0x1e9623(0x174)]??(_0x44f1d3==null?void 0x0:_0x44f1d3['startRow']);if(!_0x2196fe||_0x23adae==null||_0x4642a6==null)return!0x1;let _0x5bf58d=_0x2196fe[_0x1e9623(0x1dc)](),_0x10bc32=z(_0x554394,_0x44f1d3),_0xd0bc3c=V(_0x2196fe,_0x10bc32);if(!_0xd0bc3c)return!0x1;let _0x5836a4=_0x554394['count']??(_0x44f1d3?Math[_0x1e9623(0x1fc)](0x1,_0x44f1d3[_0x1e9623(0x1ee)]-_0x44f1d3[_0x1e9623(0x1ef)]+0x1):0x1),_0x3b831f=nr(_0xd0bc3c,_0x23adae,_0x4642a6,_0x554394[_0x1e9623(0x1f7)],_0x5836a4,_0x554394[_0x1e9623(0x27b)],K(_0x5bf58d,_0x10bc32));if(!_0x3b831f)return!0x1;let _0x1af456=G(_0x5540c9,_0x2196fe[_0x1e9623(0x108)](),_0xd0bc3c,_0x3b831f['actions']);return _0x1af456&&_0x44f1d3&&_0xdca871['setStructuralSelection']({..._0x44f1d3,'tableId':_0x23adae,'startRow':_0x3b831f[_0x1e9623(0x1df)],'endRow':_0x3b831f['cursorRow']+_0x5836a4-0x1}),_0x1af456;}},Ui={'id':_0x1d6dc9(0x274),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x196a48,_0x5a9e28)=>{const _0x203841=_0x1d6dc9;if(!_0x5a9e28)return!0x1;let _0x5e55eb=_0x196a48[_0x203841(0x163)](_0x147405),_0x156d1e=_0x196a48['get'](_0x49cedb),_0x4d86d0=_0x196a48['get'](J),_0x2f9c85=_0x5e55eb[_0x203841(0x250)](_0x21a03b['UNIVER_DOC']),_0x3546d0=_0x4d86d0[_0x203841(0x125)](),_0x4b59f3=_0x5a9e28['tableId']??(_0x3546d0==null?void 0x0:_0x3546d0[_0x203841(0x170)]);if(!_0x2f9c85||!_0x4b59f3)return!0x1;let _0x2287d0=_0x2f9c85['getSnapshot'](),_0x8635f9=z(_0x5a9e28,_0x3546d0),_0x510f50=V(_0x2f9c85,_0x8635f9);if(!_0x510f50)return!0x1;if(_0x5a9e28[_0x203841(0x1f4)]==null){let _0x4974b4=zn(_0x510f50,_0x4b59f3,_0x5a9e28[_0x203841(0x140)]??0x0,_0x5a9e28['deltaY']??0x0);return G(_0x156d1e,_0x2f9c85[_0x203841(0x108)](),_0x510f50,_0x4974b4);}let _0x1eafa4=Bn(_0x510f50,_0x4b59f3,_0x5a9e28[_0x203841(0x1f4)],K(_0x2287d0,_0x8635f9));return G(_0x156d1e,_0x2f9c85[_0x203841(0x108)](),_0x510f50,_0x1eafa4);}},Wi={'id':_0x1d6dc9(0x1a6),'type':_0x2f0499['COMMAND'],'handler':async(_0x5e714a,_0x4f1d02)=>{const _0x5853ae=_0x1d6dc9;var _0x2c7a0a;if(!_0x4f1d02)return!0x1;let _0x1b3e8a=_0x5e714a[_0x5853ae(0x163)](_0x147405),_0xf99b02=_0x5e714a[_0x5853ae(0x163)](_0x49cedb),_0x41018d=_0x5e714a['get'](J),_0x1a6f42=_0x1b3e8a[_0x5853ae(0x250)](_0x21a03b['UNIVER_DOC']),_0x46d679=_0x41018d[_0x5853ae(0x125)](),_0x56b9c0=_0x4f1d02[_0x5853ae(0x170)]??(_0x46d679==null?void 0x0:_0x46d679['tableId']),_0xfddbad=_0x4f1d02[_0x5853ae(0x1ea)]??(_0x46d679==null?void 0x0:_0x46d679[_0x5853ae(0x136)]);if(!_0x1a6f42||_0x56b9c0==null||_0xfddbad==null)return!0x1;let _0xd26fe9=V(_0x1a6f42,z(_0x4f1d02,_0x46d679));return!_0xd26fe9||!((_0x2c7a0a=_0xd26fe9[_0x5853ae(0xfe)])!=null&&(_0x2c7a0a=_0x2c7a0a[_0x56b9c0])!=null&&_0x2c7a0a[_0x5853ae(0x176)][_0xfddbad])?!0x1:G(_0xf99b02,_0x1a6f42['getUnitId'](),_0xd26fe9,Ln(_0xd26fe9,_0x56b9c0,_0xfddbad,_0x4f1d02['width'],_0x4f1d02['columnWidths']));}},Gi={'id':'docs-table.command.resize-row','type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x531d3e,_0x1101a2)=>{const _0x59d72c=_0x1d6dc9;var _0x36272a;if(!_0x1101a2)return!0x1;let _0x21be82=_0x531d3e[_0x59d72c(0x163)](_0x147405),_0x20bfdd=_0x531d3e[_0x59d72c(0x163)](_0x49cedb),_0x4e0784=_0x531d3e[_0x59d72c(0x163)](J),_0x2272ef=_0x21be82['getCurrentUnitOfType'](_0x21a03b[_0x59d72c(0x222)]),_0x5ce07c=_0x4e0784[_0x59d72c(0x125)](),_0x5873ce=_0x1101a2[_0x59d72c(0x170)]??(_0x5ce07c==null?void 0x0:_0x5ce07c[_0x59d72c(0x170)]),_0x49f3cb=_0x1101a2[_0x59d72c(0x1f6)]??(_0x5ce07c==null?void 0x0:_0x5ce07c[_0x59d72c(0x1ef)]);if(!_0x2272ef||_0x5873ce==null||_0x49f3cb==null)return!0x1;let _0x3c9db6=V(_0x2272ef,z(_0x1101a2,_0x5ce07c));return!_0x3c9db6||!((_0x36272a=_0x3c9db6[_0x59d72c(0xfe)])!=null&&(_0x36272a=_0x36272a[_0x5873ce])!=null&&_0x36272a[_0x59d72c(0x167)][_0x49f3cb])?!0x1:G(_0x20bfdd,_0x2272ef[_0x59d72c(0x108)](),_0x3c9db6,Hn(_0x3c9db6,_0x5873ce,_0x49f3cb,_0x1101a2[_0x59d72c(0x1cd)],_0x1101a2[_0x59d72c(0x23c)]));}},Ki={'id':_0x1d6dc9(0x1c0),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':(_0x4a0a50,_0x2b959c)=>{const _0x2df97a=_0x1d6dc9;var _0x11071e;if(!(_0x2b959c!=null&&_0x2b959c['config'])||!Object[_0x2df97a(0xeb)](bn)[_0x2df97a(0x206)](_0x2b959c[_0x2df97a(0x1f9)][_0x2df97a(0x120)]))return!0x1;let _0x2cade6=_0x4a0a50['get'](_0x147405),_0x2a6ee8=_0x2b959c[_0x2df97a(0xe8)]?_0x2cade6[_0x2df97a(0x15f)](_0x2b959c[_0x2df97a(0xe8)],_0x21a03b['UNIVER_DOC']):_0x2cade6['getCurrentUnitOfType'](_0x21a03b[_0x2df97a(0x222)]),_0x534c86=_0x4a0a50['get'](J)[_0x2df97a(0x125)](),_0x52a45b=_0x2b959c[_0x2df97a(0x170)]??(_0x534c86==null?void 0x0:_0x534c86[_0x2df97a(0x170)]),_0x2d08b0=_0x2b959c[_0x2df97a(0x1ea)]??(_0x534c86==null?void 0x0:_0x534c86[_0x2df97a(0x136)]),_0x18cdea=_0x52a45b&&(_0x2a6ee8==null||(_0x11071e=_0x2a6ee8[_0x2df97a(0x1dc)]()[_0x2df97a(0xfe)])==null?void 0x0:_0x11071e[_0x52a45b]);if(!_0x2a6ee8||_0x2a6ee8[_0x2df97a(0x1b7)]()||!_0x18cdea||_0x2d08b0==null||!Number[_0x2df97a(0x23b)](_0x2d08b0)||!_0x18cdea['tableColumns'][_0x2d08b0])return!0x1;let _0x399d05=ut(_0x18cdea,_0x2d08b0,_0x2b959c[_0x2df97a(0x1f9)],_0x4a0a50[_0x2df97a(0x163)](R)[_0x2df97a(0x203)](_0x2a6ee8[_0x2df97a(0x108)](),_0x18cdea[_0x2df97a(0x170)]));return G(_0x4a0a50[_0x2df97a(0x163)](_0x49cedb),_0x2a6ee8['getUnitId'](),_0x2a6ee8[_0x2df97a(0x1dc)](),_0x399d05);}},qi={'id':_0x1d6dc9(0xec),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x2b12d,_0x7b7123)=>{const _0x9876be=_0x1d6dc9;let _0x32e50e=_0x2b12d['get'](_0x147405),_0x45d3c2=_0x2b12d[_0x9876be(0x163)](_0x49cedb),_0x2e5cb2=_0x2b12d['get'](J),_0x26fbec=_0x32e50e[_0x9876be(0x250)](_0x21a03b[_0x9876be(0x222)]),_0xf6a0e=_0x2e5cb2[_0x9876be(0x125)]();if(!_0x26fbec)return!0x1;let _0x1a6c7f=(_0x7b7123==null?void 0x0:_0x7b7123[_0x9876be(0x170)])??(_0xf6a0e==null?void 0x0:_0xf6a0e[_0x9876be(0x170)]),_0x30ad04=(_0x7b7123==null?void 0x0:_0x7b7123[_0x9876be(0x1f6)])??(_0xf6a0e==null?void 0x0:_0xf6a0e[_0x9876be(0x1ee)]);if(_0x1a6c7f==null||(_0x7b7123==null?void 0x0:_0x7b7123[_0x9876be(0xfb)])==null&&_0x30ad04==null)return!0x1;let _0x2b13cf=(_0x7b7123==null?void 0x0:_0x7b7123[_0x9876be(0xfb)])??_0x30ad04+0x1,_0x115893=V(_0x26fbec,z(_0x7b7123,_0xf6a0e));if(!_0x115893)return!0x1;let _0x4ca3cd=Gn(_0x115893,_0x1a6c7f,_0x2b13cf);return _0x4ca3cd?G(_0x45d3c2,_0x26fbec[_0x9876be(0x108)](),_0x115893,_0x4ca3cd[_0x9876be(0x1a0)]):!0x1;}},Ji={'id':'docs-table.command.set-table-align','type':_0x2f0499[_0x1d6dc9(0x118)],'handler':(_0x494ae1,_0x20e8a2)=>{const _0x41feb7=_0x1d6dc9;var _0x175672,_0x2ebc94;if(!(_0x20e8a2!=null&&_0x20e8a2[_0x41feb7(0xe8)])||!_0x20e8a2[_0x41feb7(0x170)]||![_0x967e1f['START'],_0x967e1f['CENTER'],_0x967e1f['END']]['includes'](_0x20e8a2[_0x41feb7(0x209)]))return!0x1;let _0x216e13=_0x494ae1[_0x41feb7(0x163)](_0x147405)[_0x41feb7(0x15f)](_0x20e8a2['unitId'],_0x21a03b[_0x41feb7(0x222)]),_0x138480=_0x216e13==null?void 0x0:_0x216e13[_0x41feb7(0x1dc)](),_0x111c85=_0x138480==null||(_0x175672=_0x138480[_0x41feb7(0xfe)])==null?void 0x0:_0x175672[_0x20e8a2[_0x41feb7(0x170)]];if(!_0x216e13||_0x216e13[_0x41feb7(0x1b7)]()||(_0x138480==null||(_0x2ebc94=_0x138480[_0x41feb7(0xf6)])==null?void 0x0:_0x2ebc94[_0x41feb7(0x1fb)])!==_0x4ee47a[_0x41feb7(0x188)]||!_0x111c85)return!0x1;if(_0x111c85[_0x41feb7(0x192)]===_0x20e8a2['value'])return!0x0;let _0x47049c=_0x2542db[_0x41feb7(0x15b)](),_0x1cf836=['tableSource',_0x111c85[_0x41feb7(0x170)],_0x41feb7(0x192)],_0x3a9e84=_0x111c85[_0x41feb7(0x192)]===void 0x0?_0x47049c['insertOp'](_0x1cf836,_0x20e8a2[_0x41feb7(0x209)]):_0x47049c['replaceOp'](_0x1cf836,_0x111c85['align'],_0x20e8a2[_0x41feb7(0x209)]);return G(_0x494ae1['get'](_0x49cedb),_0x216e13[_0x41feb7(0x108)](),_0x138480,_0x3a9e84);}},Yi={'id':_0x1d6dc9(0x196),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x556ec4,_0x23d63d)=>{const _0x1b61b5=_0x1d6dc9;let _0x4653ad=(_0x23d63d==null?void 0x0:_0x23d63d[_0x1b61b5(0x259)])??(_0x23d63d==null?void 0x0:_0x23d63d['value']);if(_0x4653ad===void 0x0)return!0x1;let _0x43d299=_0x556ec4[_0x1b61b5(0x163)](_0x147405),_0x50c5b3=_0x556ec4[_0x1b61b5(0x163)](_0x49cedb),_0x10cf00=_0x556ec4[_0x1b61b5(0x163)](J),_0x3e0868=_0x43d299[_0x1b61b5(0x250)](_0x21a03b[_0x1b61b5(0x222)]),_0x286cb8=Xi(_0x10cf00),_0x188933=(_0x23d63d==null?void 0x0:_0x23d63d[_0x1b61b5(0x170)])??(_0x286cb8==null?void 0x0:_0x286cb8['tableId']),_0x1c2cac=B(_0x23d63d,_0x286cb8);if(!_0x3e0868||!_0x188933||!_0x1c2cac)return!0x1;let _0x2b13c8=z(_0x23d63d,_0x286cb8),_0x285970=V(_0x3e0868,_0x2b13c8);if(!_0x285970||!Qi(_0x285970,_0x188933,_0x1c2cac))return!0x1;let _0x18d2dd=Zi(_0x285970,{'tableId':_0x188933,..._0x1c2cac,'value':_0x4653ad}),_0x30fc77=G(_0x50c5b3,_0x3e0868[_0x1b61b5(0x108)](),_0x285970,_0x18d2dd,{'tableId':_0x188933,'segmentId':_0x2b13c8,..._0x1c2cac});return _0x30fc77&&_0x10cf00[_0x1b61b5(0x232)]({'kind':(_0x286cb8==null?void 0x0:_0x286cb8[_0x1b61b5(0x1ca)])??_0x1b61b5(0x1e2),'tableId':_0x188933,'segmentId':_0x2b13c8,..._0x1c2cac}),_0x30fc77;}};function Xi(_0x3fd448){const _0x4a0c17=_0x1d6dc9;var _0xe102bc;return((_0xe102bc=_0x3fd448[_0x4a0c17(0x195)])==null?void 0x0:_0xe102bc['call'](_0x3fd448))??_0x3fd448[_0x4a0c17(0x125)]();}function Zi(_0x2d0a59,_0x4049fb){const _0xb5f593=_0x1d6dc9;var _0x2b7c62;let _0x414de4=(_0x2b7c62=_0x2d0a59[_0xb5f593(0xfe)])==null?void 0x0:_0x2b7c62[_0x4049fb[_0xb5f593(0x170)]],_0x54fdc2=B(_0x4049fb);if(!_0x414de4||!_0x54fdc2)return null;let _0x586548=_0x2542db[_0xb5f593(0x15b)](),_0x5c7901=[],_0x1b96f8=$i(_0x54fdc2);for(let _0xa12be4=_0x1b96f8[_0xb5f593(0x1ef)];_0xa12be4<=_0x1b96f8[_0xb5f593(0x1ee)];_0xa12be4++)for(let _0x2fc5d3=_0x1b96f8[_0xb5f593(0x136)];_0x2fc5d3<=_0x1b96f8[_0xb5f593(0x26b)];_0x2fc5d3++){var _0x87ebb3;let _0x531d73=(_0x87ebb3=_0x414de4[_0xb5f593(0x167)][_0xa12be4])==null?void 0x0:_0x87ebb3[_0xb5f593(0x193)][_0x2fc5d3];if(!_0x531d73)return null;let _0x1f53a3=[_0xb5f593(0xfe),_0x4049fb[_0xb5f593(0x170)],_0xb5f593(0x167),_0xa12be4,_0xb5f593(0x193),_0x2fc5d3,'backgroundColor'],_0x45ed3f=_0x4049fb[_0xb5f593(0x209)]==null?void 0x0:{'rgb':_0x4049fb['value']};JSON['stringify'](_0x531d73[_0xb5f593(0x1f8)])!==JSON[_0xb5f593(0x178)](_0x45ed3f)&&(_0x531d73[_0xb5f593(0x1f8)]===void 0x0&&_0x45ed3f!==void 0x0?_0x5c7901['push'](_0x586548[_0xb5f593(0x1c4)]([..._0x1f53a3],_0x45ed3f)):_0x45ed3f===void 0x0?_0x5c7901[_0xb5f593(0x149)](_0x586548[_0xb5f593(0x160)]([..._0x1f53a3],_0x531d73[_0xb5f593(0x1f8)])):_0x5c7901[_0xb5f593(0x149)](_0x586548[_0xb5f593(0x1bf)]([..._0x1f53a3],_0x531d73[_0xb5f593(0x1f8)],_0x45ed3f)));}return _0x5c7901[_0xb5f593(0xef)]((_0x14f37f,_0x2a9dad)=>_0x2542db[_0xb5f593(0x219)](_0x14f37f,_0x2a9dad),null);}function Qi(_0x3b7d63,_0x44d391,_0x57eeb4){const _0x1f6055=_0x1d6dc9;var _0x387985;let _0x4bafea=(_0x387985=_0x3b7d63[_0x1f6055(0xfe)])==null?void 0x0:_0x387985[_0x44d391];if(!_0x4bafea)return!0x1;let _0x323d84=$i(_0x57eeb4);for(let _0x18ecdc=_0x323d84[_0x1f6055(0x1ef)];_0x18ecdc<=_0x323d84[_0x1f6055(0x1ee)];_0x18ecdc++)for(let _0x2a3cb9=_0x323d84[_0x1f6055(0x136)];_0x2a3cb9<=_0x323d84[_0x1f6055(0x26b)];_0x2a3cb9++){var _0x5ce2c5;if(!((_0x5ce2c5=_0x4bafea[_0x1f6055(0x167)][_0x18ecdc])!=null&&_0x5ce2c5[_0x1f6055(0x193)][_0x2a3cb9]))return!0x1;}return!0x0;}function $i(_0x200742){const _0x495fca=_0x1d6dc9;return{'startRow':Math[_0x495fca(0xf0)](_0x200742[_0x495fca(0x1ef)],_0x200742[_0x495fca(0x1ee)]),'endRow':Math[_0x495fca(0x1fc)](_0x200742[_0x495fca(0x1ef)],_0x200742['endRow']),'startColumn':Math[_0x495fca(0xf0)](_0x200742[_0x495fca(0x136)],_0x200742[_0x495fca(0x26b)]),'endColumn':Math['max'](_0x200742[_0x495fca(0x136)],_0x200742[_0x495fca(0x26b)])};}let ea=function(_0x36a464){const _0x550d6c=_0x1d6dc9;return _0x36a464[_0x550d6c(0x25a)]=_0x550d6c(0x105),_0x36a464[_0x550d6c(0x22d)]=_0x550d6c(0x132),_0x36a464['Outer']='outer',_0x36a464['Top']=_0x550d6c(0x263),_0x36a464[_0x550d6c(0xfd)]=_0x550d6c(0x1d0),_0x36a464['Left']='left',_0x36a464[_0x550d6c(0x16e)]=_0x550d6c(0x13a),_0x36a464[_0x550d6c(0x1c7)]=_0x550d6c(0x1b2),_0x36a464[_0x550d6c(0x199)]=_0x550d6c(0x24f),_0x36a464[_0x550d6c(0x127)]=_0x550d6c(0x1dd),_0x36a464;}({});const ta={'color':{'rgb':'#1f1f1f'},'width':{'v':0x1}},Y={'color':{'rgb':_0x1d6dc9(0x198)},'width':{'v':0x0}};function na(_0x2bc650){const _0x387478=_0x1d6dc9;var _0x1fa0d1;let _0x1a44a3=E(_0x2bc650[_0x387478(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x2bc650[_0x387478(0x170)]]}),_0x5437d4=(_0x1fa0d1=_0x1a44a3[_0x387478(0xfe)])==null?void 0x0:_0x1fa0d1[_0x2bc650[_0x387478(0x170)]];if(!_0x5437d4)throw Error('[DocsTable]:\x20Table\x20'+_0x2bc650[_0x387478(0x170)]+_0x387478(0x1a5));let _0x497cd2=pa(_0x2bc650),_0x2238d8=_0x2bc650[_0x387478(0x1e3)]??ta;for(let _0xf3338=_0x497cd2[_0x387478(0x1ef)];_0xf3338<=_0x497cd2[_0x387478(0x1ee)];_0xf3338++)for(let _0x3867d7=_0x497cd2[_0x387478(0x136)];_0x3867d7<=_0x497cd2[_0x387478(0x26b)];_0x3867d7++){var _0x4f1727;let _0x1f652b=(_0x4f1727=_0x5437d4[_0x387478(0x167)][_0xf3338])==null?void 0x0:_0x4f1727[_0x387478(0x193)][_0x3867d7];if(!_0x1f652b)throw Error(_0x387478(0xe9));_0x1f652b[_0x387478(0x14a)]=la(_0x2bc650[_0x387478(0x1cb)],_0xf3338,_0x497cd2)?_0x2238d8:Y,_0x1f652b[_0x387478(0x1af)]=ua(_0x2bc650[_0x387478(0x1cb)],_0xf3338,_0x497cd2)?_0x2238d8:Y,_0x1f652b[_0x387478(0x101)]=da(_0x2bc650['preset'],_0x3867d7,_0x497cd2)?_0x2238d8:Y,_0x1f652b[_0x387478(0x14c)]=fa(_0x2bc650[_0x387478(0x1cb)],_0x3867d7,_0x497cd2)?_0x2238d8:Y;}return ha(_0x5437d4,_0x497cd2,{'top':la(_0x2bc650['preset'],_0x497cd2[_0x387478(0x1ef)],_0x497cd2)?_0x2238d8:Y,'left':da(_0x2bc650[_0x387478(0x1cb)],_0x497cd2[_0x387478(0x136)],_0x497cd2)?_0x2238d8:Y}),{'nextDocumentData':_0x1a44a3};}function ra(_0x490943){const _0x36e5b4=_0x1d6dc9;var _0x52a212;let _0x592e4d=(_0x52a212=_0x490943['documentData']['tableSource'])==null?void 0x0:_0x52a212[_0x490943[_0x36e5b4(0x170)]];if(!_0x592e4d)throw Error(_0x36e5b4(0x1d3)+_0x490943[_0x36e5b4(0x170)]+_0x36e5b4(0x1a5));let _0x593715=pa(_0x490943),_0x54f7fe=_0x490943['border']??ta,_0x3ee358=[];for(let _0x57fcd4=_0x593715['startRow'];_0x57fcd4<=_0x593715['endRow'];_0x57fcd4++)for(let _0x219d64=_0x593715[_0x36e5b4(0x136)];_0x219d64<=_0x593715[_0x36e5b4(0x26b)];_0x219d64++){var _0x4a704d;let _0xfadbcc=(_0x4a704d=_0x592e4d[_0x36e5b4(0x167)][_0x57fcd4])==null?void 0x0:_0x4a704d[_0x36e5b4(0x193)][_0x219d64];if(!_0xfadbcc)throw Error(_0x36e5b4(0xe9));Z(_0x3ee358,X(_0x490943[_0x36e5b4(0x170)],_0x57fcd4,_0x219d64,_0x36e5b4(0x14a)),_0xfadbcc[_0x36e5b4(0x14a)],la(_0x490943['preset'],_0x57fcd4,_0x593715)?_0x54f7fe:Y),Z(_0x3ee358,X(_0x490943[_0x36e5b4(0x170)],_0x57fcd4,_0x219d64,_0x36e5b4(0x1af)),_0xfadbcc[_0x36e5b4(0x1af)],ua(_0x490943['preset'],_0x57fcd4,_0x593715)?_0x54f7fe:Y),Z(_0x3ee358,X(_0x490943[_0x36e5b4(0x170)],_0x57fcd4,_0x219d64,_0x36e5b4(0x101)),_0xfadbcc['borderLeft'],da(_0x490943[_0x36e5b4(0x1cb)],_0x219d64,_0x593715)?_0x54f7fe:Y),Z(_0x3ee358,X(_0x490943[_0x36e5b4(0x170)],_0x57fcd4,_0x219d64,'borderRight'),_0xfadbcc[_0x36e5b4(0x14c)],fa(_0x490943[_0x36e5b4(0x1cb)],_0x219d64,_0x593715)?_0x54f7fe:Y);}return oa(_0x3ee358,_0x592e4d,_0x490943[_0x36e5b4(0x170)],_0x593715,{'top':la(_0x490943[_0x36e5b4(0x1cb)],_0x593715['startRow'],_0x593715)?_0x54f7fe:Y,'left':da(_0x490943[_0x36e5b4(0x1cb)],_0x593715[_0x36e5b4(0x136)],_0x593715)?_0x54f7fe:Y}),sa(_0x3ee358);}function ia(_0x5c40da){const _0x1b551c=_0x1d6dc9;var _0x10c937;let _0x14245d=E(_0x5c40da[_0x1b551c(0x24d)],{'cloneBody':!0x1,'tableIds':[_0x5c40da[_0x1b551c(0x170)]]}),_0x836c76=(_0x10c937=_0x14245d[_0x1b551c(0xfe)])==null?void 0x0:_0x10c937[_0x5c40da['tableId']];if(!_0x836c76)throw Error(_0x1b551c(0x1d3)+_0x5c40da[_0x1b551c(0x170)]+_0x1b551c(0x1a5));return ma(_0x5c40da,(_0xff86e7,_0x162432)=>{const _0x24bd02=_0x1b551c;var _0x2fb9ef;let _0x3e35b2=(_0x2fb9ef=_0x836c76[_0x24bd02(0x167)][_0xff86e7])==null?void 0x0:_0x2fb9ef['tableCells'][_0x162432];if(!_0x3e35b2)throw Error(_0x24bd02(0xe9));_0x5c40da[_0x24bd02(0x259)]==null?delete _0x3e35b2[_0x24bd02(0x1f8)]:_0x3e35b2[_0x24bd02(0x1f8)]={'rgb':_0x5c40da['color']};}),{'nextDocumentData':_0x14245d};}function aa(_0x3ee64c){const _0x47c5f5=_0x1d6dc9;var _0x3e8c36;let _0x9c3e92=(_0x3e8c36=_0x3ee64c[_0x47c5f5(0x24d)][_0x47c5f5(0xfe)])==null?void 0x0:_0x3e8c36[_0x3ee64c[_0x47c5f5(0x170)]];if(!_0x9c3e92)throw Error(_0x47c5f5(0x1d3)+_0x3ee64c['tableId']+_0x47c5f5(0x1a5));let _0x70733e=[];return ma(_0x3ee64c,(_0x499510,_0x2a3344)=>{const _0x1e28ff=_0x47c5f5;var _0x4a4385;let _0x3737b3=(_0x4a4385=_0x9c3e92[_0x1e28ff(0x167)][_0x499510])==null?void 0x0:_0x4a4385['tableCells'][_0x2a3344];if(!_0x3737b3)throw Error(_0x1e28ff(0xe9));Z(_0x70733e,X(_0x3ee64c[_0x1e28ff(0x170)],_0x499510,_0x2a3344,_0x1e28ff(0x14a)),_0x3737b3[_0x1e28ff(0x14a)],Q(_0x3737b3[_0x1e28ff(0x14a)],_0x3ee64c[_0x1e28ff(0x1e3)])),Z(_0x70733e,X(_0x3ee64c[_0x1e28ff(0x170)],_0x499510,_0x2a3344,_0x1e28ff(0x1af)),_0x3737b3[_0x1e28ff(0x1af)],Q(_0x3737b3[_0x1e28ff(0x1af)],_0x3ee64c[_0x1e28ff(0x1e3)])),Z(_0x70733e,X(_0x3ee64c[_0x1e28ff(0x170)],_0x499510,_0x2a3344,'borderLeft'),_0x3737b3['borderLeft'],Q(_0x3737b3['borderLeft'],_0x3ee64c[_0x1e28ff(0x1e3)])),Z(_0x70733e,X(_0x3ee64c[_0x1e28ff(0x170)],_0x499510,_0x2a3344,'borderRight'),_0x3737b3[_0x1e28ff(0x14c)],Q(_0x3737b3[_0x1e28ff(0x14c)],_0x3ee64c['border']));}),oa(_0x70733e,_0x9c3e92,_0x3ee64c[_0x47c5f5(0x170)],pa(_0x3ee64c),{'top':_0x3ee64c['border'],'left':_0x3ee64c[_0x47c5f5(0x1e3)],'merge':!0x0}),sa(_0x70733e);}function oa(_0x702b59,_0x5f27aa,_0xd7c829,_0x3f238c,_0x1c7ab6){const _0x1cb183=_0x1d6dc9;if(_0x3f238c[_0x1cb183(0x1ef)]>0x0){let _0x242565=_0x5f27aa[_0x1cb183(0x167)][_0x3f238c[_0x1cb183(0x1ef)]-0x1];for(let _0x42c820=_0x3f238c[_0x1cb183(0x136)];_0x42c820<=_0x3f238c[_0x1cb183(0x26b)];_0x42c820++){let _0x4c3829=_0x242565==null?void 0x0:_0x242565[_0x1cb183(0x193)][_0x42c820];if(!_0x4c3829)throw Error('[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.');Z(_0x702b59,X(_0xd7c829,_0x3f238c['startRow']-0x1,_0x42c820,'borderBottom'),_0x4c3829[_0x1cb183(0x1af)],_0x1c7ab6[_0x1cb183(0x1f2)]?Q(_0x4c3829['borderBottom'],_0x1c7ab6['top']):_0x1c7ab6[_0x1cb183(0x263)]);}}if(_0x3f238c[_0x1cb183(0x136)]>0x0)for(let _0x16796d=_0x3f238c['startRow'];_0x16796d<=_0x3f238c[_0x1cb183(0x1ee)];_0x16796d++){var _0x16dd5f;let _0x333e49=(_0x16dd5f=_0x5f27aa[_0x1cb183(0x167)][_0x16796d])==null?void 0x0:_0x16dd5f['tableCells'][_0x3f238c[_0x1cb183(0x136)]-0x1];if(!_0x333e49)throw Error(_0x1cb183(0xe9));Z(_0x702b59,X(_0xd7c829,_0x16796d,_0x3f238c[_0x1cb183(0x136)]-0x1,_0x1cb183(0x14c)),_0x333e49['borderRight'],_0x1c7ab6[_0x1cb183(0x1f2)]?Q(_0x333e49['borderRight'],_0x1c7ab6[_0x1cb183(0xf1)]):_0x1c7ab6[_0x1cb183(0xf1)]);}}function X(_0x2b4f76,_0x5723cb,_0x1a4c60,_0x1cd8f1){const _0x579754=_0x1d6dc9;return['tableSource',_0x2b4f76,_0x579754(0x167),_0x5723cb,_0x579754(0x193),_0x1a4c60,_0x1cd8f1];}function Z(_0x105b38,_0x307b1c,_0x5f0f28,_0xfc9eac){const _0x1865f7=_0x1d6dc9;if(JSON[_0x1865f7(0x178)](_0x5f0f28)===JSON[_0x1865f7(0x178)](_0xfc9eac))return;let _0x941b35=_0x2542db[_0x1865f7(0x15b)]();_0x5f0f28===void 0x0?_0x105b38[_0x1865f7(0x149)](_0x941b35[_0x1865f7(0x1c4)](_0x307b1c,ca(_0xfc9eac))):_0xfc9eac===void 0x0?_0x105b38[_0x1865f7(0x149)](_0x941b35['removeOp'](_0x307b1c,_0x5f0f28)):_0x105b38['push'](_0x941b35[_0x1865f7(0x1bf)](_0x307b1c,_0x5f0f28,ca(_0xfc9eac)));}function sa(_0x278f75){const _0x58cbb0=_0x1d6dc9;return _0x278f75[_0x58cbb0(0xef)]((_0x505332,_0x13e3e4)=>_0x2542db[_0x58cbb0(0x219)](_0x505332,_0x13e3e4),null);}function ca(_0x51e012){const _0x37613c=_0x1d6dc9;return Array[_0x37613c(0x248)](_0x51e012)?_0x51e012[_0x37613c(0x202)](_0x39f2d0=>ca(_0x39f2d0)):!_0x51e012||typeof _0x51e012!=_0x37613c(0x180)?_0x51e012:Object[_0x37613c(0x182)](Object[_0x37613c(0x171)](_0x51e012)[_0x37613c(0x202)](([_0x571f8b,_0xe2b832])=>[_0x571f8b,ca(_0xe2b832)]));}function la(_0x5261f7,_0x5dd243,_0x58252f){const _0xc4934=_0x1d6dc9;return _0x5261f7===_0xc4934(0x105)||_0x5261f7===_0xc4934(0x263)||_0x5261f7==='outer'&&_0x5dd243===_0x58252f[_0xc4934(0x1ef)]||_0x5261f7===_0xc4934(0x24f)&&_0x5dd243>_0x58252f['startRow']||_0x5261f7===_0xc4934(0x132)&&_0x5dd243>_0x58252f[_0xc4934(0x1ef)];}function ua(_0x27a380,_0x2ac386,_0xc4de03){const _0x10e450=_0x1d6dc9;return _0x27a380===_0x10e450(0x105)||_0x27a380==='bottom'||_0x27a380==='outer'&&_0x2ac386===_0xc4de03[_0x10e450(0x1ee)];}function da(_0x2af302,_0x12b72f,_0x29165a){const _0x3af753=_0x1d6dc9;return _0x2af302===_0x3af753(0x105)||_0x2af302==='left'||_0x2af302==='outer'&&_0x12b72f===_0x29165a[_0x3af753(0x136)]||_0x2af302==='innerVertical'&&_0x12b72f>_0x29165a['startColumn']||_0x2af302===_0x3af753(0x132)&&_0x12b72f>_0x29165a[_0x3af753(0x136)];}function fa(_0x417538,_0x4f4a1d,_0x32af8f){const _0x2fe5f5=_0x1d6dc9;return _0x417538===_0x2fe5f5(0x105)||_0x417538===_0x2fe5f5(0x13a)||_0x417538===_0x2fe5f5(0x137)&&_0x4f4a1d===_0x32af8f['endColumn'];}function pa(_0x2248ad){const _0x357f48=_0x1d6dc9;return{'startRow':Math[_0x357f48(0xf0)](_0x2248ad[_0x357f48(0x1ef)],_0x2248ad[_0x357f48(0x1ee)]),'endRow':Math[_0x357f48(0x1fc)](_0x2248ad['startRow'],_0x2248ad[_0x357f48(0x1ee)]),'startColumn':Math[_0x357f48(0xf0)](_0x2248ad[_0x357f48(0x136)],_0x2248ad[_0x357f48(0x26b)]),'endColumn':Math[_0x357f48(0x1fc)](_0x2248ad[_0x357f48(0x136)],_0x2248ad['endColumn'])};}function ma(_0x553bda,_0x5b95d6){const _0x3dbbd1=_0x1d6dc9;let _0x38786d=pa(_0x553bda);for(let _0x54ad16=_0x38786d[_0x3dbbd1(0x1ef)];_0x54ad16<=_0x38786d[_0x3dbbd1(0x1ee)];_0x54ad16++)for(let _0x5189ac=_0x38786d[_0x3dbbd1(0x136)];_0x5189ac<=_0x38786d[_0x3dbbd1(0x26b)];_0x5189ac++)_0x5b95d6(_0x54ad16,_0x5189ac);}function Q(_0x2038fe,_0x244314){const _0x1f440f=_0x1d6dc9;let _0x4372a9={'color':Object['prototype']['hasOwnProperty'][_0x1f440f(0x17a)](_0x244314,_0x1f440f(0x259))?_0x244314[_0x1f440f(0x259)]:(_0x2038fe==null?void 0x0:_0x2038fe['color'])??ta[_0x1f440f(0x259)],'width':_0x244314[_0x1f440f(0x221)]??(_0x2038fe==null?void 0x0:_0x2038fe[_0x1f440f(0x221)])??ta[_0x1f440f(0x221)],'dashStyle':_0x244314[_0x1f440f(0x265)]??(_0x2038fe==null?void 0x0:_0x2038fe['dashStyle'])};return _0x244314['clearColor']&&delete _0x4372a9['color'],_0x4372a9;}function ha(_0x396eda,_0x5cb005,_0x563338){const _0x3f51c1=_0x1d6dc9;if(_0x5cb005['startRow']>0x0){let _0x3f525d=_0x396eda['tableRows'][_0x5cb005[_0x3f51c1(0x1ef)]-0x1];for(let _0x4443c2=_0x5cb005[_0x3f51c1(0x136)];_0x4443c2<=_0x5cb005[_0x3f51c1(0x26b)];_0x4443c2++){let _0x28dbcb=_0x3f525d==null?void 0x0:_0x3f525d[_0x3f51c1(0x193)][_0x4443c2];if(!_0x28dbcb)throw Error(_0x3f51c1(0xe9));_0x28dbcb[_0x3f51c1(0x1af)]=_0x563338[_0x3f51c1(0x1f2)]?Q(_0x28dbcb[_0x3f51c1(0x1af)],_0x563338[_0x3f51c1(0x263)]):_0x563338[_0x3f51c1(0x263)];}}if(_0x5cb005[_0x3f51c1(0x136)]>0x0)for(let _0x2708ca=_0x5cb005[_0x3f51c1(0x1ef)];_0x2708ca<=_0x5cb005[_0x3f51c1(0x1ee)];_0x2708ca++){var _0x297f4c;let _0x27c20c=(_0x297f4c=_0x396eda['tableRows'][_0x2708ca])==null?void 0x0:_0x297f4c['tableCells'][_0x5cb005['startColumn']-0x1];if(!_0x27c20c)throw Error(_0x3f51c1(0xe9));_0x27c20c['borderRight']=_0x563338[_0x3f51c1(0x1f2)]?Q(_0x27c20c[_0x3f51c1(0x14c)],_0x563338[_0x3f51c1(0xf1)]):_0x563338[_0x3f51c1(0xf1)];}}const ga={'id':_0x1d6dc9(0x138),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x5ace52,_0x599e35)=>{const _0x5aa1f9=_0x1d6dc9;let _0x24cbe3=(_0x599e35==null?void 0x0:_0x599e35[_0x5aa1f9(0x259)])??(_0x599e35==null?void 0x0:_0x599e35[_0x5aa1f9(0x209)]);return _0x24cbe3!==void 0x0&&_a(_0x5ace52,_0x599e35,_0x24cbe3==null?{'clearColor':!0x0}:{'color':{'rgb':_0x24cbe3}});}};async function _a(_0x2160f6,_0x479210,_0xc3ac9f){const _0x3fd48c=_0x1d6dc9;let _0x35d1fb=_0x2160f6[_0x3fd48c(0x163)](_0x147405),_0x56f479=_0x2160f6[_0x3fd48c(0x163)](_0x49cedb),_0x333878=_0x2160f6[_0x3fd48c(0x163)](J),_0xa1e9d5=_0x35d1fb[_0x3fd48c(0x250)](_0x21a03b[_0x3fd48c(0x222)]),_0x2b25eb=Xi(_0x333878),_0x48d167=(_0x479210==null?void 0x0:_0x479210[_0x3fd48c(0x170)])??(_0x2b25eb==null?void 0x0:_0x2b25eb[_0x3fd48c(0x170)]),_0x587793=B(_0x479210,_0x2b25eb);if(!_0xa1e9d5||!_0x48d167||!_0x587793)return!0x1;let _0xb95b=z(_0x479210,_0x2b25eb),_0x982d9=V(_0xa1e9d5,_0xb95b);if(!_0x982d9)return!0x1;let _0x4927aa=aa({'documentData':_0x982d9,'tableId':_0x48d167,..._0x587793,'border':_0xc3ac9f}),_0x40646c=G(_0x56f479,_0xa1e9d5[_0x3fd48c(0x108)](),_0x982d9,_0x4927aa,{'tableId':_0x48d167,'segmentId':_0xb95b,..._0x587793});return _0x40646c&&_0x333878['setStructuralSelection']({'kind':(_0x2b25eb==null?void 0x0:_0x2b25eb[_0x3fd48c(0x1ca)])??_0x3fd48c(0x1e2),'tableId':_0x48d167,'segmentId':_0xb95b,..._0x587793}),_0x40646c;}const va={'id':_0x1d6dc9(0x1c2),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x109915,_0xf5ee30)=>{const _0xb3fb0f=_0x1d6dc9;let _0x36a26c=(_0xf5ee30==null?void 0x0:_0xf5ee30[_0xb3fb0f(0x265)])??(_0xf5ee30==null?void 0x0:_0xf5ee30['value']);return _0x36a26c!=null&&_a(_0x109915,_0xf5ee30,{'dashStyle':ya(_0x36a26c)});}};function ya(_0x4d6dde){const _0x713bd3=_0x1d6dc9;return typeof _0x4d6dde==_0x713bd3(0x1fd)?_0x4d6dde:_0x4d6dde==='dot'?_0x1f95b7[_0x713bd3(0x241)]:_0x4d6dde===_0x713bd3(0x1f3)?_0x1f95b7[_0x713bd3(0x15d)]:_0x1f95b7[_0x713bd3(0x238)];}const ba={'id':_0x1d6dc9(0x212),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x250cd6,_0x3c12ef)=>{const _0x2ae327=_0x1d6dc9;let _0x28a335=(_0x3c12ef==null?void 0x0:_0x3c12ef[_0x2ae327(0x221)])??(_0x3c12ef==null?void 0x0:_0x3c12ef[_0x2ae327(0x209)]);return _0x28a335!=null&&_a(_0x250cd6,_0x3c12ef,{'width':{'v':_0x28a335}});}},xa={'id':_0x1d6dc9(0x1a7),'type':_0x2f0499['COMMAND'],'handler':async(_0x7d7d4c,_0x3a8cf7)=>{const _0x45dd54=_0x1d6dc9;if(!_0x3a8cf7)return!0x1;let _0x320854=_0x7d7d4c[_0x45dd54(0x163)](_0x147405),_0x109b69=_0x7d7d4c[_0x45dd54(0x163)](_0x49cedb),_0x494872=_0x7d7d4c['get'](J),_0x2b61b4=_0x320854[_0x45dd54(0x250)](_0x21a03b[_0x45dd54(0x222)]),_0x2cdd7b=Xi(_0x494872),_0x378613=_0x3a8cf7['tableId']??(_0x2cdd7b==null?void 0x0:_0x2cdd7b[_0x45dd54(0x170)]),_0xebbbbb=B(_0x3a8cf7,_0x2cdd7b);if(!_0x2b61b4||!_0x378613||!_0xebbbbb)return!0x1;let _0x216822=z(_0x3a8cf7,_0x2cdd7b),_0x35d48c=V(_0x2b61b4,_0x216822);if(!_0x35d48c)return!0x1;let _0x566bd6=ra({'documentData':_0x35d48c,'tableId':_0x378613,..._0xebbbbb,'preset':_0x3a8cf7[_0x45dd54(0x1cb)],'border':_0x3a8cf7[_0x45dd54(0x1e3)]}),_0x4117f5=G(_0x109b69,_0x2b61b4[_0x45dd54(0x108)](),_0x35d48c,_0x566bd6,{'tableId':_0x378613,'segmentId':_0x216822,..._0xebbbbb});return _0x4117f5&&_0x494872[_0x45dd54(0x232)]({'kind':(_0x2cdd7b==null?void 0x0:_0x2cdd7b[_0x45dd54(0x1ca)])??_0x45dd54(0x1e2),'tableId':_0x378613,'segmentId':_0x216822,..._0xebbbbb}),_0x4117f5;}},Sa={'id':_0x1d6dc9(0x27e),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x2a7c24,_0x1b5063)=>{const _0x1b197a=_0x1d6dc9;let _0xd1c93=_0x1b5063==null?void 0x0:_0x1b5063[_0x1b197a(0x209)];if(_0xd1c93==null)return!0x1;let _0x3dd748=_0x2a7c24[_0x1b197a(0x163)](_0x147405),_0x1362f6=_0x2a7c24[_0x1b197a(0x163)](_0x49cedb),_0x3469f0=_0x2a7c24[_0x1b197a(0x163)](J),_0x3b6b52=_0x3dd748[_0x1b197a(0x250)](_0x21a03b[_0x1b197a(0x222)]),_0x21bf12=Ca(_0x3469f0),_0x560af3=(_0x1b5063==null?void 0x0:_0x1b5063['tableId'])??(_0x21bf12==null?void 0x0:_0x21bf12['tableId']),_0x5b2996=B(_0x1b5063,_0x21bf12);if(!_0x3b6b52||!_0x560af3||!_0x5b2996)return!0x1;let _0x68f167=z(_0x1b5063,_0x21bf12),_0x30a81f=V(_0x3b6b52,_0x68f167);if(!_0x30a81f||!wa(_0x30a81f,_0x560af3,_0x5b2996))return!0x1;let _0x5bb2ab=Ta(_0x30a81f,{'tableId':_0x560af3,..._0x5b2996,'value':_0xd1c93}),_0x47d065=G(_0x1362f6,_0x3b6b52[_0x1b197a(0x108)](),_0x30a81f,_0x5bb2ab,{'tableId':_0x560af3,'segmentId':_0x68f167,..._0x5b2996});return _0x47d065&&_0x3469f0[_0x1b197a(0x232)]({'kind':(_0x21bf12==null?void 0x0:_0x21bf12[_0x1b197a(0x1ca)])??'range','tableId':_0x560af3,'segmentId':_0x68f167,..._0x5b2996}),_0x47d065;}};function Ca(_0x203966){const _0x386b58=_0x1d6dc9;var _0x38d96e;return((_0x38d96e=_0x203966[_0x386b58(0x195)])==null?void 0x0:_0x38d96e['call'](_0x203966))??_0x203966[_0x386b58(0x125)]();}function wa(_0x385e12,_0x35d786,_0x1d7170){const _0x14b5a0=_0x1d6dc9;var _0x7f7682;let _0x2473ad=(_0x7f7682=_0x385e12['tableSource'])==null?void 0x0:_0x7f7682[_0x35d786];if(!_0x2473ad)return!0x1;let _0x2fa54f=Ea(_0x1d7170);for(let _0x5abca1=_0x2fa54f['startRow'];_0x5abca1<=_0x2fa54f[_0x14b5a0(0x1ee)];_0x5abca1++)for(let _0x3b1952=_0x2fa54f[_0x14b5a0(0x136)];_0x3b1952<=_0x2fa54f[_0x14b5a0(0x26b)];_0x3b1952++){var _0xf68a42;if(!((_0xf68a42=_0x2473ad[_0x14b5a0(0x167)][_0x5abca1])!=null&&_0xf68a42[_0x14b5a0(0x193)][_0x3b1952]))return!0x1;}return!0x0;}function Ta(_0x4a29b4,_0x2f3a50){const _0x1b1993=_0x1d6dc9;var _0x5a3b5e;let _0x115ef1=(_0x5a3b5e=_0x4a29b4[_0x1b1993(0xfe)])==null?void 0x0:_0x5a3b5e[_0x2f3a50[_0x1b1993(0x170)]];if(!_0x115ef1)return null;let _0x456f98=_0x2542db[_0x1b1993(0x15b)](),_0x20b105=Ea(_0x2f3a50),_0x461a53=[];for(let _0x2ac800=_0x20b105[_0x1b1993(0x1ef)];_0x2ac800<=_0x20b105['endRow'];_0x2ac800++)for(let _0x5852a9=_0x20b105['startColumn'];_0x5852a9<=_0x20b105[_0x1b1993(0x26b)];_0x5852a9++){var _0x34310a;let _0x4555ad=(_0x34310a=_0x115ef1[_0x1b1993(0x167)][_0x2ac800])==null?void 0x0:_0x34310a[_0x1b1993(0x193)][_0x5852a9];if(!_0x4555ad)return null;_0x4555ad[_0x1b1993(0x20c)]!==_0x2f3a50[_0x1b1993(0x209)]&&_0x461a53['push'](_0x4555ad['vAlign']===void 0x0?_0x456f98[_0x1b1993(0x1c4)]([_0x1b1993(0xfe),_0x2f3a50[_0x1b1993(0x170)],_0x1b1993(0x167),_0x2ac800,_0x1b1993(0x193),_0x5852a9,_0x1b1993(0x20c)],_0x2f3a50['value']):_0x456f98['replaceOp']([_0x1b1993(0xfe),_0x2f3a50[_0x1b1993(0x170)],_0x1b1993(0x167),_0x2ac800,_0x1b1993(0x193),_0x5852a9,_0x1b1993(0x20c)],_0x4555ad[_0x1b1993(0x20c)],_0x2f3a50['value']));}return _0x461a53[_0x1b1993(0xef)]((_0x344b22,_0x170c25)=>_0x2542db['compose'](_0x344b22,_0x170c25),null);}function Ea(_0x1ba311){const _0x32211e=_0x1d6dc9;return{'startRow':Math[_0x32211e(0xf0)](_0x1ba311[_0x32211e(0x1ef)],_0x1ba311[_0x32211e(0x1ee)]),'endRow':Math[_0x32211e(0x1fc)](_0x1ba311[_0x32211e(0x1ef)],_0x1ba311['endRow']),'startColumn':Math[_0x32211e(0xf0)](_0x1ba311[_0x32211e(0x136)],_0x1ba311[_0x32211e(0x26b)]),'endColumn':Math[_0x32211e(0x1fc)](_0x1ba311[_0x32211e(0x136)],_0x1ba311[_0x32211e(0x26b)])};}const Da={'id':_0x1d6dc9(0x150),'type':_0x2f0499['COMMAND'],'handler':async(_0x3830aa,_0x2e916a)=>{const _0x525d63=_0x1d6dc9;if(!_0x2e916a)return!0x1;let _0x3aead6=_0x3830aa['get'](_0x147405),_0x5c9d16=_0x3830aa[_0x525d63(0x163)](_0x49cedb),_0x58b676=_0x3830aa[_0x525d63(0x163)](J),_0x360791=_0x3830aa[_0x525d63(0x163)](R),_0x2ba475=_0x3aead6[_0x525d63(0x250)](_0x21a03b['UNIVER_DOC']),_0x621979=_0x58b676['getCurrentSelection'](),_0x52567a=_0x2e916a[_0x525d63(0x170)]??(_0x621979==null?void 0x0:_0x621979[_0x525d63(0x170)]),_0x480369=_0x2e916a[_0x525d63(0x1ea)]??(_0x621979==null?void 0x0:_0x621979[_0x525d63(0x136)]);if(!_0x2ba475||!_0x52567a||_0x480369==null)return!0x1;let _0x4c0299=_0x2ba475[_0x525d63(0x1dc)](),_0x72163b=z(_0x2e916a,_0x621979),_0x2b3a66=V(_0x2ba475,_0x72163b);if(!_0x2b3a66)return!0x1;let _0x3533da=or(_0x2b3a66,ct(_0x2ba475['getSnapshot'](),_0x360791['serialize'](_0x2ba475[_0x525d63(0x108)]())),_0x52567a,_0x480369,_0x2e916a[_0x525d63(0x253)],K(_0x4c0299,_0x72163b));return G(_0x5c9d16,_0x2ba475[_0x525d63(0x108)](),_0x2b3a66,_0x3533da);}},Oa={'id':_0x1d6dc9(0x1a9),'type':_0x2f0499['COMMAND'],'handler':async(_0x45291a,_0x2951e6)=>{const _0x18bc9d=_0x1d6dc9;let _0x22d756=_0x45291a[_0x18bc9d(0x163)](_0x147405),_0xdc1116=_0x45291a[_0x18bc9d(0x163)](_0x49cedb),_0xa1bfde=_0x45291a[_0x18bc9d(0x163)](J),_0x19546f=_0x22d756[_0x18bc9d(0x250)](_0x21a03b[_0x18bc9d(0x222)]),_0x5563c8=_0xa1bfde['getStableTableSelection'](),_0x437acd=(_0x2951e6==null?void 0x0:_0x2951e6[_0x18bc9d(0x170)])??(_0x5563c8==null?void 0x0:_0x5563c8['tableId']),_0x444831=B(_0x2951e6,_0x5563c8);if(!_0x19546f||!_0x437acd||!_0x444831)return!0x1;let _0x3272f0=z(_0x2951e6,_0x5563c8),_0x4fdac8=V(_0x19546f,_0x3272f0);if(!_0x4fdac8||!Fe(_0x4fdac8,_0x437acd,_0x444831))return!0x1;let _0xe9e3fb=ze({'documentData':_0x4fdac8,'tableId':_0x437acd,..._0x444831});if(!_0xe9e3fb)return!0x1;let _0x28d08d=G(_0xdc1116,_0x19546f[_0x18bc9d(0x108)](),_0x4fdac8,_0xe9e3fb[_0x18bc9d(0x1a0)],{'tableId':_0x437acd,'segmentId':_0x3272f0,..._0xe9e3fb[_0x18bc9d(0x1e2)]});return _0x28d08d&&_0xa1bfde[_0x18bc9d(0x232)]({'kind':_0x18bc9d(0x1e2),'tableId':_0x437acd,'segmentId':_0x3272f0,..._0xe9e3fb[_0x18bc9d(0x1e2)]}),_0x28d08d;}};function ka(_0x1d79d0){const _0x251e46=_0x1d6dc9;let _0x390737=new DOMParser()[_0x251e46(0x1a8)](_0x1d79d0,'text/html');return Array[_0x251e46(0x1f1)](_0x390737[_0x251e46(0x143)](_0x251e46(0x1c6)))['map'](_0x30f5e8=>Fa(_0x30f5e8));}function Aa(_0x8d0a43){const _0x292fbb=_0x1d6dc9;if(!_0x8d0a43[_0x292fbb(0x206)]('\x09'))return null;let _0x1de31a=_0x8d0a43[_0x292fbb(0x215)](/\r\n|\r|\n/);return _0x1de31a[_0x1de31a[_0x292fbb(0x1b5)]-0x1]===''&&_0x1de31a[_0x292fbb(0x1ad)](),_0x1de31a[_0x292fbb(0x1b5)]===0x0?null:_0x292fbb(0xf8)+_0x1de31a[_0x292fbb(0x202)](_0x296bd0=>_0x292fbb(0x146)+_0x296bd0[_0x292fbb(0x215)]('\x09')[_0x292fbb(0x202)](_0x10dae7=>'<td>'+Ka(_0x10dae7)+'</td>')[_0x292fbb(0x141)]('')+_0x292fbb(0x12e))[_0x292fbb(0x141)]('')+_0x292fbb(0x207);}function ja(_0x578d63){const _0x344cc8=_0x1d6dc9;var _0x62c9f3,_0x4925b0;let _0x17d87c=(_0x62c9f3=_0x578d63[_0x344cc8(0x24d)][_0x344cc8(0xfe)])==null?void 0x0:_0x62c9f3[_0x578d63[_0x344cc8(0x170)]];if(!_0x17d87c)throw Error(_0x344cc8(0x1d3)+_0x578d63[_0x344cc8(0x170)]+_0x344cc8(0x1a5));let _0x194100=Ia(_0x578d63),_0x36bb86=_0x578d63['documentData'],_0x501d44=_0x578d63[_0x344cc8(0x170)];_0x194100['endRow']<_0x17d87c[_0x344cc8(0x167)]['length']-0x1&&(_0x36bb86=gt({'documentData':_0x36bb86,'tableId':_0x501d44,'startRow':_0x194100['endRow']+0x1,'endRow':_0x17d87c[_0x344cc8(0x167)][_0x344cc8(0x1b5)]-0x1})[_0x344cc8(0x1a2)]),_0x194100[_0x344cc8(0x1ef)]>0x0&&(_0x36bb86=gt({'documentData':_0x36bb86,'tableId':_0x501d44,'startRow':0x0,'endRow':_0x194100[_0x344cc8(0x1ef)]-0x1})['nextDocumentData']),_0x194100[_0x344cc8(0x26b)]<_0x17d87c[_0x344cc8(0x176)][_0x344cc8(0x1b5)]-0x1&&(_0x36bb86=_t({'documentData':_0x36bb86,'tableId':_0x501d44,'startColumn':_0x194100[_0x344cc8(0x26b)]+0x1,'endColumn':_0x17d87c[_0x344cc8(0x176)][_0x344cc8(0x1b5)]-0x1})[_0x344cc8(0x1a2)]),_0x194100['startColumn']>0x0&&(_0x36bb86=_t({'documentData':_0x36bb86,'tableId':_0x501d44,'startColumn':0x0,'endColumn':_0x194100[_0x344cc8(0x136)]-0x1})[_0x344cc8(0x1a2)]);let _0x1e6e41=(_0x4925b0=_0x36bb86[_0x344cc8(0x147)])==null||(_0x4925b0=_0x4925b0[_0x344cc8(0x14f)])==null?void 0x0:_0x4925b0['find'](_0x25d27e=>_0x25d27e['tableId']===_0x501d44);if(!_0x1e6e41||!_0x36bb86['body'])throw Error(_0x344cc8(0x1d3)+_0x501d44+'\x20has\x20no\x20body\x20range.');let _0x541682=_0x3b2e3d(_0x36bb86['body'],_0x1e6e41[_0x344cc8(0x14b)],_0x1e6e41[_0x344cc8(0x13e)],!0x1,_0x52a43d[_0x344cc8(0x214)]);return{..._0x36bb86,'body':_0x541682,'tableSource':Object[_0x344cc8(0x182)]((_0x541682[_0x344cc8(0x14f)]??[])[_0x344cc8(0x202)](_0x39287f=>[_0x39287f[_0x344cc8(0x170)],_0x36bb86[_0x344cc8(0xfe)][_0x39287f[_0x344cc8(0x170)]]]))};}function Ma(_0xaf3b69){const _0x29854b=_0x1d6dc9;var _0x398443;let _0x33dcc3=w(_0xaf3b69['documentData'],_0xaf3b69['tableId']),_0xc68143=(_0x398443=_0xaf3b69[_0x29854b(0x24d)][_0x29854b(0x147)])==null?void 0x0:_0x398443['dataStream'];if(!_0x33dcc3||!_0xc68143)throw Error(_0x29854b(0x1d3)+_0xaf3b69[_0x29854b(0x170)]+'\x20is\x20not\x20found.');let _0x1548e1=Ia(_0xaf3b69),_0x31225b=[];for(let _0x63698f=_0x1548e1['startRow'];_0x63698f<=_0x1548e1['endRow'];_0x63698f++){let _0x2cc223=[];for(let _0x488cb5=_0x1548e1['startColumn'];_0x488cb5<=_0x1548e1[_0x29854b(0x26b)];_0x488cb5++){var _0x451b71;let _0x1a528b=(_0x451b71=_0x33dcc3['rows'][_0x63698f])==null?void 0x0:_0x451b71[_0x29854b(0x282)][_0x488cb5];_0x2cc223[_0x29854b(0x149)](_0x1a528b?La(_0xc68143,_0x1a528b[_0x29854b(0x113)],_0x1a528b['endOffset']):'');}_0x31225b[_0x29854b(0x149)](_0x2cc223);}return _0x31225b['map'](_0x9fd3d=>_0x9fd3d['join']('\x09'))[_0x29854b(0x141)]('\x0a');}function Na(_0x47afc7,_0x38cd73=['body']){const _0x511f77=_0x1d6dc9;var _0x27f428;let _0x4e715a=w(_0x47afc7['documentData'],_0x47afc7['tableId']);if(!_0x4e715a||!((_0x27f428=_0x47afc7[_0x511f77(0x24d)][_0x511f77(0x147)])!=null&&_0x27f428['dataStream']))throw Error(_0x511f77(0x1d3)+_0x47afc7[_0x511f77(0x170)]+_0x511f77(0x1a5));let _0x4953a6=_0x47afc7['text'][_0x511f77(0x215)](/\r\n|\r|\n/)[_0x511f77(0x202)](_0x1acb01=>_0x1acb01[_0x511f77(0x215)]('\x09')),_0x3931f7=[];for(let _0x2950bb=0x0;_0x2950bb<_0x4953a6[_0x511f77(0x1b5)];_0x2950bb++)for(let _0x4dbe5f=0x0;_0x4dbe5f<_0x4953a6[_0x2950bb][_0x511f77(0x1b5)];_0x4dbe5f++){var _0x31dd16;let _0x6a4553=(_0x31dd16=_0x4e715a[_0x511f77(0x244)][_0x47afc7[_0x511f77(0x1ef)]+_0x2950bb])==null?void 0x0:_0x31dd16[_0x511f77(0x282)][_0x47afc7[_0x511f77(0x136)]+_0x4dbe5f];_0x6a4553&&_0x3931f7[_0x511f77(0x149)]({'startOffset':_0x6a4553[_0x511f77(0x113)]+0x1,'endOffset':_0x6a4553['endOffset'],'text':_0x4953a6[_0x2950bb][_0x4dbe5f]+'\x0d\x0a'});}return F(_0x47afc7['documentData'],_0x3931f7,_0x38cd73);}function Pa(_0xfca856){const _0x231b7b=_0x1d6dc9;let _0x37d967=new DOMParser()['parseFromString'](_0xfca856,'text/html')[_0x231b7b(0x1d7)](_0x231b7b(0x1c6));return _0x37d967?Fa(_0x37d967):{'rows':[],'columnWidths':[]};}function Fa(_0x2fa2db){const _0x39db78=_0x1d6dc9;let _0x5aa7c6=Array[_0x39db78(0x1f1)](_0x2fa2db[_0x39db78(0x143)](_0x39db78(0x237)))[_0x39db78(0x202)](_0x4d8372=>za(_0x4d8372[_0x39db78(0xed)]('width'),_0x4d8372['getAttribute'](_0x39db78(0x1d5)),_0x39db78(0x221))),_0x557651=[],_0xf21ae6=new Map();Array[_0x39db78(0x1f1)](_0x2fa2db[_0x39db78(0x143)]('tr'))['forEach']((_0x55118b,_0x4ddfeb)=>{const _0x460a54=_0x39db78;let _0x2e60a0={'cells':[],'height':za(_0x55118b['getAttribute'](_0x460a54(0x1cd)),_0x55118b['getAttribute'](_0x460a54(0x1d5)),_0x460a54(0x1cd))},_0x1cf1be=0x0;for(Array[_0x460a54(0x1f1)](_0x55118b['children'])[_0x460a54(0x26c)](_0x3d69fd=>_0x3d69fd[_0x460a54(0x13c)][_0x460a54(0x1a4)]()==='td'||_0x3d69fd[_0x460a54(0x13c)][_0x460a54(0x1a4)]()==='th')[_0x460a54(0x100)](_0x48cb5c=>{const _0x27b8ef=_0x460a54;for(;_0xf21ae6['has'](_0x4ddfeb+':'+_0x1cf1be);)_0x2e60a0[_0x27b8ef(0x282)][_0x1cf1be]=null,_0x1cf1be++;let _0x2e0f8d=Math[_0x27b8ef(0x1fc)](0x1,Number(_0x48cb5c[_0x27b8ef(0xed)](_0x27b8ef(0x17d))??0x1)),_0x39f588=Math['max'](0x1,Number(_0x48cb5c[_0x27b8ef(0xed)]('colspan')??0x1)),_0x4e30bb=_0x48cb5c['getAttribute'](_0x27b8ef(0x1d5))??'';_0x2e60a0[_0x27b8ef(0x282)][_0x1cf1be]={'html':_0x48cb5c['innerHTML'],'text':Ra(_0x48cb5c[_0x27b8ef(0x279)]??''),'rowSpan':_0x2e0f8d,'colSpan':_0x39f588,'backgroundColor':Ba(_0x4e30bb,'background-color')??Ba(_0x4e30bb,'background'),'borderColor':Ha(_0x4e30bb),'borderWidth':Ua(_0x4e30bb)};let _0x8482f7=za(_0x48cb5c[_0x27b8ef(0xed)](_0x27b8ef(0x221)),_0x4e30bb,_0x27b8ef(0x221));_0x8482f7!=null&&_0x5aa7c6[_0x1cf1be]==null&&(_0x5aa7c6[_0x1cf1be]=_0x8482f7);for(let _0x153a55=0x0;_0x153a55<_0x2e0f8d;_0x153a55++)for(let _0x4c9da5=0x0;_0x4c9da5<_0x39f588;_0x4c9da5++)(_0x153a55!==0x0||_0x4c9da5!==0x0)&&_0xf21ae6[_0x27b8ef(0xff)](_0x4ddfeb+_0x153a55+':'+(_0x1cf1be+_0x4c9da5),!0x0);for(let _0x35976d=0x1;_0x35976d<_0x39f588;_0x35976d++)_0x2e60a0[_0x27b8ef(0x282)][_0x1cf1be+_0x35976d]=null;_0x1cf1be+=_0x39f588;});_0x2e60a0['cells'][_0x460a54(0x1b5)]<_0x5aa7c6[_0x460a54(0x1b5)];)_0x2e60a0[_0x460a54(0x282)][_0x460a54(0x149)](null);_0x557651['push'](_0x2e60a0);});let _0x529420=Math[_0x39db78(0x1fc)](_0x5aa7c6[_0x39db78(0x1b5)],..._0x557651['map'](_0x47c59=>_0x47c59[_0x39db78(0x282)][_0x39db78(0x1b5)]));for(;_0x5aa7c6['length']<_0x529420;)_0x5aa7c6[_0x39db78(0x149)](void 0x0);return _0x557651[_0x39db78(0x100)](_0x23595a=>{const _0xc1edb4=_0x39db78;for(;_0x23595a[_0xc1edb4(0x282)][_0xc1edb4(0x1b5)]<_0x529420;)_0x23595a[_0xc1edb4(0x282)][_0xc1edb4(0x149)](null);}),{'columnWidths':_0x5aa7c6,'rows':_0x557651};}function Ia(_0x57511e){const _0x5a5b8a=_0x1d6dc9;return{'startRow':Math[_0x5a5b8a(0xf0)](_0x57511e['startRow'],_0x57511e[_0x5a5b8a(0x1ee)]),'endRow':Math['max'](_0x57511e['startRow'],_0x57511e[_0x5a5b8a(0x1ee)]),'startColumn':Math['min'](_0x57511e[_0x5a5b8a(0x136)],_0x57511e['endColumn']),'endColumn':Math[_0x5a5b8a(0x1fc)](_0x57511e[_0x5a5b8a(0x136)],_0x57511e[_0x5a5b8a(0x26b)])};}function La(_0x3aaa91,_0xfa8903,_0x2f2174){const _0x152712=_0x1d6dc9;return _0x3aaa91[_0x152712(0x18f)](_0xfa8903+0x1,_0x2f2174)[_0x152712(0x1aa)](/\r/g,'\x0a')[_0x152712(0x1aa)](/[\x00-\x08\v\f\x0E-\x1F]/g,'')[_0x152712(0x1aa)](/\n+$/,'');}function Ra(_0x20f617){const _0x52e488=_0x1d6dc9;return _0x20f617[_0x52e488(0x1aa)](/\u00A0/g,'\x20')[_0x52e488(0x1aa)](/\s+/g,'\x20')['trim']();}function za(_0x52a959,_0x3079d2,_0x94dee9){const _0x29d5b8=_0x1d6dc9;let _0x5e40f6=_0x3079d2==null?void 0x0:_0x3079d2[_0x29d5b8(0x10a)](RegExp(_0x94dee9+_0x29d5b8(0xfa),'i'));if(_0x5e40f6)return Wa(Number(_0x5e40f6[0x1]),_0x5e40f6[0x2]);if(!_0x52a959)return;let _0x494103=_0x52a959[_0x29d5b8(0x10a)](/([0-9.]+)\s*(px|pt|in|cm|mm)?/i);return _0x494103?Wa(Number(_0x494103[0x1]),_0x494103[0x2]):void 0x0;}function Ba(_0x4efd92,_0x3ae6eb){const _0x5807e6=_0x1d6dc9;var _0x26a99c;let _0x8f09c1=_0x4efd92['match'](RegExp(_0x3ae6eb+_0x5807e6(0x173),'i'));return _0x8f09c1==null||(_0x26a99c=_0x8f09c1[0x1])==null?void 0x0:_0x26a99c[_0x5807e6(0x109)]();}function Va(_0xbe13fc){const _0x388e1c=_0x1d6dc9;var _0x225944;return(_0x225944=_0xbe13fc['split'](';')[_0x388e1c(0x202)](_0x5cbeb0=>_0x5cbeb0[_0x388e1c(0x109)]())[_0x388e1c(0x121)](_0x2530bb=>/^border(?:-[a-z]+)?\s*:/i[_0x388e1c(0x18d)](_0x2530bb)))==null?void 0x0:_0x225944[_0x388e1c(0x1aa)](/^border(?:-[a-z]+)?\s*:\s*/i,'')[_0x388e1c(0x109)]();}function Ha(_0x53dbb5){const _0x59938f=_0x1d6dc9;var _0x831293;let _0x4d4638=Ba(_0x53dbb5,_0x59938f(0x111));if(_0x4d4638)return _0x4d4638;let _0x3b3bfb=Va(_0x53dbb5);return(_0x3b3bfb==null||(_0x831293=_0x3b3bfb['match'](/#[0-9a-f]{3,8}|rgb\([^)]+\)/i))==null?void 0x0:_0x831293[0x0])||(_0x3b3bfb==null?void 0x0:_0x3b3bfb[_0x59938f(0x215)](/\s+/)['find'](_0x5b242e=>/^[a-z]+$/i[_0x59938f(0x18d)](_0x5b242e)&&![_0x59938f(0x26a),_0x59938f(0x145),_0x59938f(0x129),_0x59938f(0x157),'none']['includes'](_0x5b242e[_0x59938f(0x1a4)]())));}function Ua(_0x29757d){const _0x15325e=_0x1d6dc9;var _0x4defbe;let _0x3028fc=za(null,Ba(_0x29757d,_0x15325e(0x225))??null,_0x15325e(0x221));if(_0x3028fc!=null)return _0x3028fc;let _0x1f8f54=(_0x4defbe=Va(_0x29757d))==null?void 0x0:_0x4defbe[_0x15325e(0x10a)](/([0-9.]+)\s*(px|pt|in|cm|mm)/i);return _0x1f8f54?Wa(Number(_0x1f8f54[0x1]),_0x1f8f54[0x2]):void 0x0;}function Wa(_0x50a7a8,_0x2a76ba){switch(_0x2a76ba==null?void 0x0:_0x2a76ba['toLowerCase']()){case'pt':return Ga(_0x50a7a8*0x4/0x3);case'in':return Ga(_0x50a7a8*0x60);case'cm':return Ga(_0x50a7a8*0x60/2.54);case'mm':return Ga(_0x50a7a8*0x60/25.4);default:return Ga(_0x50a7a8);}}function Ga(_0x4e02bd){const _0x49f0e0=_0x1d6dc9;return Math[_0x49f0e0(0x1b1)](_0x4e02bd*0x64)/0x64;}function Ka(_0x30a80e){const _0x4be0ae=_0x1d6dc9;return _0x30a80e[_0x4be0ae(0x1aa)](/&/g,'&')[_0x4be0ae(0x1aa)](/</g,_0x4be0ae(0x1ec))[_0x4be0ae(0x1aa)](/>/g,'>')[_0x4be0ae(0x1aa)](/\r?\n/g,_0x4be0ae(0x257));}const qa=_0x1d6dc9(0x20e);var Ja=_0x1d6dc9(0x189),Ya='1.5.0';function _0x4369(){const _0x5c089a=['findIndex','deleteTable','resolveTableMetadata','rowHeights','Checkbox','column','checkbox','<','retain','endRow','startRow','paragraphStyle','from','merge','dash','targetOffset','docs-table.command.insert-rows','row','toRow','backgroundColor','config','string','documentFlavor','max','number','docsTableLegacyTitleRow','yes','version','subscribe','map','getTableMetadata','TABLE_ROW_START','docs-table.command.merge-cells','includes','</tbody></table>','physicalFrom','value','default','docsTableCellId','vAlign','_docSelectionManagerService','DOC_TABLE_PLUGIN','disposeWithMe','abs','sectionBreaks','docs-table.command.set-table-border-width','delete-rows','copy','split','customDecorations','Range','start','compose','columnWidths','Left','pluginName','_univerInstanceService','checked','_getSelectionFromActiveTextRange','some','width','UNIVER_DOC','insert','physicalIndex','border-width','textWrap','insert-columns','NONE','toColumn','blockRanges','_restoreNativeSelectionForTextFocus','footers','Inner','cursorColumn','bodyPath','_change$','packageName','setStructuralSelection','isNaN','setStructuralHeaderSelection','headingId','sourceIndex','col','SOLID','customRanges','metadata','isInteger','hRule','6047230FPKkan','_getCurrentDoc','deepClone','RECT','DOT','getActiveTextRange','physicalCount','rows','setHeaderRowCount','textRuns','rect','isArray','_resources','docs-table.config','columnCount','constructor','documentData','TABLE_CELL_END','innerHorizontal','getCurrentUnitOfType','3orSOyr','insertedColumnWidth','direction','getStructuralSelection','text','_configService','<br>','clearStructuralSelection','color','All','rowSpan','2944230sOLJVG','_setResource','[DocsTable]:\x20Table\x20is\x20not\x20found.','[DocsTable]:\x20Cannot\x20merge\x20a\x20non-rectangular\x20or\x20already\x20merged\x20selection.','INSERT','trigger','_structuralSelection','top','next','dashStyle','152ZxIjnq','TRUE','replaceDocRanges','sort','solid','endColumn','filter','columnTypes','registerPluginResource','\x20range\x20is\x20not\x20found.','setConfig','_injector','offset','511848Uvcfqk','docs-table.command.move-table','clearNativeSelection','tableIds','Row','AT_LEAST','textContent','[DocsTable]:\x20Cell\x20text\x20replacements\x20must\x20be\x20ordered,\x20non-overlapping,\x20and\x20inside\x20the\x20document\x20body.','position','preserveTotalWidth','82790UclLSZ','docs-table.command.set-table-vertical-align','248490yxUNek','dropdown','Offset','cells','_getSelectionFromRectRanges','Table','parse','indexOf','add','documentEnd','asc','unitId','[DocsTable]:\x20Cell\x20range\x20is\x20out\x20of\x20bounds.','[DocsTable]:\x20Column\x20','values','docs-table.command.set-header-row-count','getAttribute','_setDirectStructuralSelection','reduce','min','left','reverse','deltaY','_initResource','docsTableMetadataVersion','documentStyle','titleRow','<table><tbody>','customBlocks','\x5cs*:\x5cs*([0-9.]+)\x5cs*(px|pt|in|cm|mm)?','headerRowCount','rowCount','Bottom','tableSource','set','forEach','borderLeft','asObservable','DELETE','columnGroups','all','docs-table.command.apply-table-actions','deserialize','getUnitId','trim','match','insert-rows','complete','editOp','_commandService','dataStream','190150boBAGc','border-color','true','startOffset','delete-table','params','_docsTableModel','syncExecuteCommand','COMMAND','serializeDocument','posOffset','sortedRowIndexes','_preserveStructuralSelectionOnNextTextSelection','endsWith','desc','Selection','type','find','preserveOnTextSelection','structural','drawingsOrder','getCurrentSelection','TABLE_ROW_END','InnerVertical','bullet','dotted','nextMetadata','defineProperty','START','above','</tr>','trHeight','docs-table.command.distribute-columns','docsTableTitleRow','inner','2DyfZcZ','cellMargin','docs-table.command.delete-columns','startColumn','outer','docs-table.command.set-table-border-color','positionH','right','repeatHeaderRow','tagName','_structuralSelectionTableShape','endIndex','function','deltaX','join','prototype','querySelectorAll','_config','dashed','<tr>','body','physicalInsertIndex','push','borderTop','startIndex','borderRight','symbol','_nativeSelectionSuppressed','tables','docs-table.command.sort-table','dispose','dist','SPECIFIED','margin','splice','WRAP','double','TABLE_START','removeUnit','1243YJmRxp','getInstance','Cell','DASH','cell','getUnit','removeOp','Dropdown','positionV','get','toPrimitive','paragraphId','drawings','tableRows','isFinite','paragraphs','moveOp','_initCommands','Rect','_resourceManagerService','Right','cursorOffset','tableId','entries','legacy:','\x5cs*:\x5cs*([^;]+)','fromRow','TABLE_CELL_START','tableColumns','columnSpan','stringify','columns','call','_getValidStructuralSelection','serialize','rowspan','emitCurrentSelection','delete','object','_selectionChange$','fromEntries','val','segmentId','DocumentEnd','fromColumn','Desc','TRADITIONAL','@univerjs-pro/docs-table','_structuralSelectionScopeDepth','index','getRectRanges','test','docs-table.command.copy-selection','slice','docs-table.command.insert-title-row','Column','align','tableCells','docs-table.command.insert-columns','getStableTableSelection','docs-table.command.set-table-background','\x20is\x20out\x20of\x20range.','transparent','InnerHorizontal','change$','EditTableCell','getOwnPropertyDescriptor','gridBefore','size','selection','actions','_canCombineRectRanges','nextDocumentData','setTitleRow','toLowerCase','\x20is\x20not\x20found.','docs-table.command.resize-column','docs-table.command.set-table-border','parseFromString','docs-table.command.unmerge-cells','replace','headers','2331712skRhux','pop','count','borderBottom','valueRangeId','round','none','Number','date','length','PAGE','getDisabled','Text','getBody','docsTableLegacyType','localeCompare','FALSE','decorate','docsTableType','replaceOp','docs-table.command.set-column-type','end','docs-table.command.set-table-border-style','PARAGRAPH','insertOp','isFirstRow','table','None','sectionId','below','kind','preset','[DocsTable]:\x20Cannot\x20sort\x20a\x20table\x20with\x20row-spanning\x20merged\x20cells.','height','docs-table.command.move-columns','Asc','bottom','MODERN','Date','[DocsTable]:\x20Table\x20','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','style','endOffset','querySelector','TABLE_END','[DocsTable]:\x20Cell\x20','delete-columns','sortStartRow','getSnapshot','innerVertical','selectionChange$','cursorRow','SECTION_BREAK','docsTableLegacyHeaderRow','range','border','_clearStructuralSelectionState'];_0x4369=function(){return _0x5c089a;};return _0x4369();}const Xa={'id':_0x1d6dc9(0x18e),'type':_0x2f0499[_0x1d6dc9(0x118)],'handler':async(_0x1fa7d7,_0x57ef79)=>{const _0x54dbd2=_0x1d6dc9;let _0x5cb658=_0x1fa7d7[_0x54dbd2(0x163)](_0x147405),_0x30ef68=_0x1fa7d7[_0x54dbd2(0x163)](J),_0x2088af=_0x5cb658[_0x54dbd2(0x250)](_0x21a03b[_0x54dbd2(0x222)]),_0x2ec51a=_0x30ef68[_0x54dbd2(0x125)](),_0x428088=(_0x57ef79==null?void 0x0:_0x57ef79[_0x54dbd2(0x170)])??(_0x2ec51a==null?void 0x0:_0x2ec51a['tableId']),_0x2ff0bf=B(_0x57ef79,_0x2ec51a);if(!_0x2088af||!_0x428088||!_0x2ff0bf)return!0x1;let _0x41f3f0=V(_0x2088af,z(_0x57ef79,_0x2ec51a));return _0x41f3f0?Ma({'documentData':_0x41f3f0,'tableId':_0x428088,..._0x2ff0bf}):!0x1;}},Za={'id':'docs-table.command.paste-without-formatting','type':_0x2f0499['COMMAND'],'handler':async(_0x23b684,_0x56648e)=>{const _0x2c6d26=_0x1d6dc9;if(!_0x56648e)return!0x1;let _0x405676=_0x23b684[_0x2c6d26(0x163)](_0x147405),_0x2d1887=_0x23b684[_0x2c6d26(0x163)](_0x49cedb),_0x573ae1=_0x23b684[_0x2c6d26(0x163)](J),_0x5dce3a=_0x405676[_0x2c6d26(0x250)](_0x21a03b[_0x2c6d26(0x222)]),_0x390049=_0x573ae1[_0x2c6d26(0x125)](),_0x1a7916=_0x56648e['tableId']??(_0x390049==null?void 0x0:_0x390049[_0x2c6d26(0x170)]),_0xd05fcb=B(_0x56648e,_0x390049);if(!_0x5dce3a||!_0x1a7916||!_0xd05fcb)return!0x1;let _0x3b7b0d=_0x5dce3a[_0x2c6d26(0x1dc)](),_0x14b952=z(_0x56648e,_0x390049),_0x30c6c8=V(_0x5dce3a,_0x14b952);if(!_0x30c6c8)return!0x1;let _0x19c3ed=Na({'documentData':_0x30c6c8,'tableId':_0x1a7916,..._0xd05fcb,'text':_0x56648e[_0x2c6d26(0x255)]},K(_0x3b7b0d,_0x14b952));return G(_0x2d1887,_0x5dce3a[_0x2c6d26(0x108)](),_0x30c6c8,_0x19c3ed,void 0x0,void 0x0,void 0x0,_0x48cabd[_0x2c6d26(0x19b)]);}},Qa={};let $a=class extends _0x3ab5bb{constructor(_0x4e041e,_0x3c93a3,_0x2266d7){const _0xa28e68=_0x1d6dc9;super(),this['_resourceManagerService']=_0x4e041e,this[_0xa28e68(0x116)]=_0x3c93a3,this[_0xa28e68(0x21d)]=_0x2266d7,this[_0xa28e68(0xf4)]();}[_0x1d6dc9(0xf4)](){const _0x3b4fb3=_0x1d6dc9;this[_0x3b4fb3(0x20f)](this[_0x3b4fb3(0x16d)][_0x3b4fb3(0x26e)]({'pluginName':qa,'businesses':[_0x21a03b['UNIVER_DOC']],'toJson':_0x112b76=>{const _0x5d4b27=_0x3b4fb3;let _0x393147=this['_docsTableModel'][_0x5d4b27(0x17c)](_0x112b76),_0xc2bdc7=this[_0x5d4b27(0x21d)][_0x5d4b27(0x15f)](_0x112b76,_0x21a03b[_0x5d4b27(0x222)]);return JSON[_0x5d4b27(0x178)](_0xc2bdc7?ct(_0xc2bdc7['getSnapshot'](),_0x393147):_0x393147);},'parseJson':_0x3851ef=>N(JSON[_0x3b4fb3(0x285)](_0x3851ef)),'onLoad':(_0x49bd13,_0x16e487)=>this['_docsTableModel'][_0x3b4fb3(0x107)](_0x49bd13,_0x16e487),'onUnLoad':_0x1d6d5b=>this[_0x3b4fb3(0x116)][_0x3b4fb3(0x159)](_0x1d6d5b)}));}};$a=Pr([q(0x0,_0x4cd393),q(0x1,_0x5ce2eb(R)),q(0x2,_0x147405)],$a);let $=class extends _0x38047c{constructor(_0x495267=Qa,_0x1bc5c4,_0x1c066a,_0x60a7a3){const _0x50610e=_0x1d6dc9;super(),this[_0x50610e(0x144)]=_0x495267,this[_0x50610e(0x271)]=_0x1bc5c4,this[_0x50610e(0x10e)]=_0x1c066a,this[_0x50610e(0x256)]=_0x60a7a3;let {..._0x448606}=_0x5469fd({},Qa,this[_0x50610e(0x144)]);this[_0x50610e(0x256)][_0x50610e(0x270)](_0x50610e(0x24a),_0x448606);}['onStarting'](){const _0x96394=_0x1d6dc9;this['_injector']['add']([R]),this['_injector'][_0x96394(0x287)]([$a]),this[_0x96394(0x271)][_0x96394(0x287)]([J]),this[_0x96394(0x271)][_0x96394(0x163)](R),this[_0x96394(0x271)][_0x96394(0x163)]($a),this[_0x96394(0x271)][_0x96394(0x163)](J),this[_0x96394(0x16b)]();}[_0x1d6dc9(0x16b)](){const _0x1b29b7=_0x1d6dc9;[In,Xa,Yr,Xr,Zr,Qr,$r,ei,ni,Ii,zi,Bi,Vi,Hi,Ui,Za,Wi,Gi,Ki,qi,Ji,Yi,xa,ga,va,ba,Sa,Da,Oa][_0x1b29b7(0x100)](_0x48b505=>this[_0x1b29b7(0x20f)](this[_0x1b29b7(0x10e)]['registerCommand'](_0x48b505)));}};L($,_0x1d6dc9(0x21c),qa),L($,_0x1d6dc9(0x231),Ja),L($,_0x1d6dc9(0x200),Ya),L($,_0x1d6dc9(0x120),_0x21a03b[_0x1d6dc9(0x222)]),$=Pr([_0x2f57eb(_0x3fe29e,_0x2c5028),q(0x1,_0x5ce2eb(_0xb9a018)),q(0x2,_0x49cedb),q(0x3,_0x27387e)],$);export{ri as DEFAULT_DOCS_TABLE_CELL_MARGIN,qa as DOCS_TABLE_PLUGIN,ea as DocsTableBorderPreset,pt as DocsTableColumnInsertPosition,bn as DocsTableColumnType,Yr as DocsTableDeleteColumnsCommand,Xr as DocsTableDeleteRowsCommand,Zr as DocsTableDeleteTableCommand,Qr as DocsTableDistributeColumnsCommand,$r as DocsTableDistributeRowsCommand,ei as DocsTableInsertColumnsCommand,dt as DocsTableInsertPosition,ni as DocsTableInsertRowsCommand,Ii as DocsTableInsertTableCommand,li as DocsTableInsertTablePosition,zi as DocsTableInsertTitleRowCommand,Bi as DocsTableMergeCellsCommand,R as DocsTableModel,Vi as DocsTableMoveColumnsCommand,Hi as DocsTableMoveRowsCommand,Ui as DocsTableMoveTableCommand,Wi as DocsTableResizeColumnCommand,Gi as DocsTableResizeRowCommand,ft as DocsTableRowInsertPosition,xn as DocsTableSelectionKind,J as DocsTableSelectionService,Sn as DocsTableSelectionSource,Ki as DocsTableSetColumnTypeCommand,qi as DocsTableSetHeaderRowCountCommand,Ji as DocsTableSetTableAlignCommand,Yi as DocsTableSetTableBackgroundCommand,ga as DocsTableSetTableBorderColorCommand,xa as DocsTableSetTableBorderCommand,va as DocsTableSetTableBorderStyleCommand,ba as DocsTableSetTableBorderWidthCommand,Sa as DocsTableSetTableVerticalAlignCommand,Cn as DocsTableSortDirection,Da as DocsTableSortTableCommand,Oa as DocsTableUnmergeCellsCommand,$ as UniverDocsTablePlugin,_t as buildDeleteColumnsActions,gt as buildDeleteRowsActions,vt as buildDeleteTableActions,er as buildDeleteTableColumnsMutationActions,vr as buildDeleteTableMutationActions,_r as buildDeleteTableRowsMutationActions,sn as buildDistributeColumnsActions,on as buildDistributeRowsActions,Wn as buildDistributeTableColumnsMutationActions,Un as buildDistributeTableRowsMutationActions,ht as buildInsertColumnsActions,mt as buildInsertRowsActions,Kn as buildInsertTableColumnsMutationActions,mr as buildInsertTableRowsMutationActions,gr as buildInsertTableTitleRowMutationActions,rn as buildInsertTitleRowActions,Ie as buildMergeCellsActions,Le as buildMergeCellsMutationActions,bt as buildMoveColumnsActions,zn as buildMoveFloatingTableMutationActions,yt as buildMoveRowsActions,un as buildMoveTableActions,rr as buildMoveTableColumnsMutationActions,nr as buildMoveTableRowsMutationActions,Bn as buildMoveTableToOffsetMutationActions,Na as buildPastePlainTextTableMutationActions,ln as buildResizeColumnActions,cn as buildResizeRowActions,Ln as buildResizeTableColumnActionsFromWidth,Hn as buildResizeTableRowActionsFromHeight,an as buildSetHeaderRowCountActions,Zi as buildSetTableBackgroundMutationActions,na as buildSetTableBorderActions,ra as buildSetTableBorderMutationActions,ia as buildSetTableCellBackgroundActions,ii as buildSetTableCellMarginMutationActions,Jt as buildSetTableCellTextActions,qt as buildSetTableCellTextMutationActions,ai as buildSetTableDefaultCellMarginMutationActions,Gn as buildSetTableHeaderRowCountMutationActions,wn as buildSortTableActions,or as buildSortTableMutationActions,Re as buildUnmergeCellsActions,ze as buildUnmergeCellsMutationActions,Pe as canMergeCells,Fe as canUnmergeCells,Aa as convertPlainTextTableToHtml,G as executeRichTextTableActions,K as getTableActionBodyPath,w as getTableRangeById,Pa as parseHtmlTableClipboard,ka as parseHtmlTablesClipboard,ja as serializeTableSelectionAsDocument,Ma as serializeTableSelectionAsPlainText};
|