@univerjs-pro/docs-column 1.0.0-alpha.1
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 +42 -0
- package/lib/cjs/facade.js +1 -0
- package/lib/cjs/index.js +1 -0
- package/lib/es/facade.js +1 -0
- package/lib/es/index.js +1 -0
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/types/commands/column-mutation.d.ts +15 -0
- package/lib/types/commands/column-structure.command.d.ts +30 -0
- package/lib/types/commands/insert-doc-column-group.command.d.ts +16 -0
- package/lib/types/common/column-constraints.d.ts +1 -0
- package/lib/types/common/column-fixture.d.ts +2 -0
- package/lib/types/common/column-layout.d.ts +18 -0
- package/lib/types/common/column-operations.d.ts +53 -0
- package/lib/types/common/column-range.d.ts +17 -0
- package/lib/types/common/column-resize-drag.d.ts +8 -0
- package/lib/types/common/column-types.d.ts +38 -0
- package/lib/types/common/document-skeleton-iterators.d.ts +70 -0
- package/lib/types/common/downgrade-to-table.d.ts +9 -0
- package/lib/types/common/drop-target.d.ts +9 -0
- package/lib/types/common/empty-column-after-move.d.ts +15 -0
- package/lib/types/common/insert-column-group.d.ts +18 -0
- package/lib/types/common/normalize-column-groups.d.ts +6 -0
- package/lib/types/facade/f-document-column-group.d.ts +157 -0
- package/lib/types/facade/f-document-column.d.ts +117 -0
- package/lib/types/facade/f-document.d.ts +133 -0
- package/lib/types/facade/f-enum.d.ts +33 -0
- package/lib/types/facade/index.d.ts +5 -0
- package/lib/types/facade/types.d.ts +38 -0
- package/lib/types/index.d.ts +28 -0
- package/lib/types/types/core-augment.d.ts +6 -0
- package/lib/umd/facade.js +1 -0
- package/lib/umd/index.js +1 -0
- package/package.json +81 -0
package/lib/umd/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function _0x2202(){const _0x3b0a18=['#-#','dataStream','compose','SPECIFIED','map','rows','paragraphs','marginBottom','[DocsColumn]:\x20Cannot\x20update\x20a\x20missing\x20column\x20group\x20after\x20insertion.','defineProperty','endOffset','[DocsColumn]:\x20Cannot\x20delete\x20a\x20column\x20when\x20fewer\x20than\x20two\x20columns\x20would\x20remain.','ColumnResponsiveType','UniverEngineRender','add','[DocsColumn]:\x20Cannot\x20insert\x20a\x20column\x20into\x20a\x20missing\x20column\x20group.','DOCS_COLUMN_MAX_COLUMN_COUNT','height','ResizeDocColumnGroupCommand','string','doc.command.delete-column-group','find','NONE','1265894lhTYku','TABLE_CELL_START','2174328ohYuUS','documentData','buildInsertColumnActions','222317sZxImD','COLUMN_GROUP_START','scrollLeft','Module','UNSPECIFIED','columnGroupId','2WXLmDv','documentSkeletonTableIterator','marginLeft','separatorIndex','forEach','minWidth','columnId','-column-','[DocsColumn]:\x20Cannot\x20delete\x20a\x20missing\x20column\x20group.','DocumentFlavor','AddDocColumnCommand','isMergedCellCovered','documentStyle','pageSize','table','NormalizeDocColumnGroupCommand','textRuns','customDecorations','collapsed','columns','visualWidth','ObjectRelativeFromV','marginTop','canMoveRangeToColumnContent','getDocsColumnRange','PARAGRAPH','doc.command.delete-column','amd','keys','buildDeleteColumnActions','ObjectRelativeFromH','isFinite','skeColumnGroups','skeTables','AUTO','COLUMN_END','TableSizeType','UniverDocs','toStringTag','[DocsColumn]:\x20Cannot\x20resize\x20a\x20missing\x20column\x20group\x20or\x20mismatched\x20column\x20count.','buildResizeColumnGroupActions','cells','COLUMN_START','top','every','tableId','ICommandService','[DocsColumn]:\x20Column\x20','@univerjs/engine-render','CommandType','startOffset','columnHeights','COMMAND','horizontal','left','trunc','fromEntries','slice','IUniverInstanceService','getUniverDocInstance','snapToParagraphEnd','columnGroups','paragraphId','[DocsColumn]:\x20Column\x20groups\x20can\x20only\x20be\x20inserted\x20in\x20modern\x20documents.','10970720tqKAmJ','deleted','Tools','diffValue','call','getCurrentUnitOfType','contentWidth','changed','body','responsive','getActiveTextRange','START','value','sort','JSONX','doc.command.add-column','stack','clipRight','shrink','visualLeft','widthRatio','unitId','some','3939171JTHSii','includes','UniverCore','tables','width','fixed','generateRandomId','@univerjs/core','pageIndex','TableRowHeightRule','source','TABLE_CELL_END','widthRatios','20948166mpURHG','TABLE_ROW_START','SECTION_BREAK','number','customBlocks','commandService','startIndex','marginRight','length','TableTextWrapType','DataStreamTreeTokenType','TABLE_END','getDocsTableRenderViewport','ColumnDataStreamTreeTokenType','sectionBreaks','[DocsColumn]:\x20Cannot\x20resize\x20a\x20column\x20group\x20with\x20unsupported\x20column\x20count.','getUnitId','movedRange','clipLeft','customRanges','tableIdFactory','buildDeleteColumnGroupActions','COLUMN_GROUP_END','DocSelectionManagerService','from','position','page','nextDocumentData','InsertDocColumnGroupCommand','canInsertColumnGroup','getInstance','PAGE','deepClone','findIndex','layout','lineWidth','6eGQUMs','downgradeColumnGroupsToTables','min','reduce','calculateColumnLayout','filter','getCurrentUniverDocInstance','@univerjs/docs','UniverProDocsColumn','\x20is\x20out\x20of\x20range.','TABLE_START','isOffsetInsideColumnContent','snapshot','trailingInsetRight','pageWidth','[DocsColumn]:\x20Invalid\x20initial\x20column\x20width\x20ratios.','lines','createParagraphId','endIndex','pageHeight','TABLE_ROW_END','doc.command.resize-column-group','[DocsColumn]:\x20Cannot\x20update\x20a\x20missing\x20column\x20group\x20after\x20deletion.','viewportWidth','function','isColumnStructuralOffset','getColumnGroupRangeById','7238105MbFqGH','max','columnIds','documentFlavor','column','push','columnCount','normalizeColumnGroups','auto','documentSkeletonLineIterator','ColumnLayoutType','getBounds','FIXED','pageTop','gap','SHRINK','[DocsColumn]:\x20Cannot\x20delete\x20an\x20unknown\x20column.','has','[DocsColumn]:\x20Cannot\x20delete\x20a\x20column\x20from\x20a\x20missing\x20column\x20group.','column-','blockRanges','get','availableWidth','MODERN','offset'];_0x2202=function(){return _0x3b0a18;};return _0x2202();}function _0x473c(_0x1aade2,_0x40dbb4){_0x1aade2=_0x1aade2-0x10f;const _0x220207=_0x2202();let _0x473cbb=_0x220207[_0x1aade2];return _0x473cbb;}(function(_0x5d095f,_0xc4a5d4){const _0x2ffaff=_0x473c,_0x5f0ca1=_0x5d095f();while(!![]){try{const _0x401088=-parseInt(_0x2ffaff(0x15f))/0x1*(-parseInt(_0x2ffaff(0x165))/0x2)+-parseInt(_0x2ffaff(0x1bc))/0x3+-parseInt(_0x2ffaff(0x15c))/0x4+-parseInt(_0x2ffaff(0x12a))/0x5*(-parseInt(_0x2ffaff(0x10f))/0x6)+parseInt(_0x2ffaff(0x15a))/0x7+-parseInt(_0x2ffaff(0x1a5))/0x8+parseInt(_0x2ffaff(0x1c9))/0x9;if(_0x401088===_0xc4a5d4)break;else _0x5f0ca1['push'](_0x5f0ca1['shift']());}catch(_0x42683b){_0x5f0ca1['push'](_0x5f0ca1['shift']());}}}(_0x2202,0xe8067),function(_0x1b2810,_0x2cd9f3){const _0x16fd2f=_0x473c;typeof exports=='object'&&typeof module<'u'?_0x2cd9f3(exports,require('@univerjs/core'),require('@univerjs/docs'),require('@univerjs/engine-render')):typeof define==_0x16fd2f(0x127)&&define[_0x16fd2f(0x180)]?define(['exports',_0x16fd2f(0x1c3),_0x16fd2f(0x116),_0x16fd2f(0x195)],_0x2cd9f3):(_0x1b2810=typeof globalThis<'u'?globalThis:_0x1b2810||self,_0x2cd9f3(_0x1b2810[_0x16fd2f(0x117)]={},_0x1b2810[_0x16fd2f(0x1be)],_0x1b2810[_0x16fd2f(0x18a)],_0x1b2810[_0x16fd2f(0x150)]));}(this,function(_0x1d0b43,_0x1d19c5,_0x59d2f6,_0x4821a9){const _0x3b7bb1=_0x473c;Object[_0x3b7bb1(0x14c)](_0x1d0b43,Symbol[_0x3b7bb1(0x18b)],{'value':_0x3b7bb1(0x162)});let _0xa7b1a5=function(_0x614a21){const _0x6e5398=_0x3b7bb1;return _0x614a21[_0x6e5398(0x136)]=_0x6e5398(0x1c1),_0x614a21[_0x6e5398(0x187)]=_0x6e5398(0x132),_0x614a21;}({}),_0x41c2e2=function(_0x4f5026){const _0x4aeba3=_0x3b7bb1;return _0x4f5026['STACK']=_0x4aeba3(0x1b5),_0x4f5026[_0x4aeba3(0x139)]=_0x4aeba3(0x1b7),_0x4f5026;}({}),_0x4cdd5b={'COLUMN_GROUP_START':'\x12','COLUMN_START':'\x13','COLUMN_END':'\x14','COLUMN_GROUP_END':'\x15'};function _0x17ac6c(_0x54f1ba,_0x4315dd){const _0x1efebf=_0x3b7bb1;var _0xf2ea72,_0x128b3a;let _0x269ab3=(_0xf2ea72=_0x54f1ba['body'])==null||(_0xf2ea72=_0xf2ea72[_0x1efebf(0x1a2)])==null?void 0x0:_0xf2ea72[_0x1efebf(0x158)](_0x2a1bde=>_0x2a1bde[_0x1efebf(0x164)]===_0x4315dd),_0x2a6f28=(_0x128b3a=_0x54f1ba[_0x1efebf(0x1ad)])==null?void 0x0:_0x128b3a[_0x1efebf(0x144)];return!_0x269ab3||!_0x2a6f28?null:_0x3e35c1(_0x2a6f28,_0x269ab3[_0x1efebf(0x1cf)],_0x269ab3['endIndex'],_0x4315dd,_0x269ab3);}function _0x3681dd(_0x1609a4,_0x515a1c){const _0x2d08dd=_0x3b7bb1;let _0x5ded59=_0x1609a4[_0x2d08dd(0x178)][_0x515a1c];if(!_0x5ded59)throw Error(_0x2d08dd(0x194)+_0x515a1c+_0x2d08dd(0x118));return _0x5ded59;}function _0x3e35c1(_0x59b7fd,_0x2cd35f,_0x31dd29,_0x56b946,_0xdf5a10){const _0x16c6b5=_0x3b7bb1;let _0x38cfb0=[],_0x4d97f3=-0x1;for(let _0x181f9c=_0x2cd35f;_0x181f9c<_0x31dd29;_0x181f9c++){let _0x425eb7=_0x59b7fd[_0x181f9c];if(_0x425eb7===_0x4cdd5b[_0x16c6b5(0x18f)]){_0x4d97f3=_0x181f9c;continue;}if(_0x425eb7===_0x4cdd5b[_0x16c6b5(0x188)]&&_0x4d97f3>=0x0){var _0x5459b4,_0x24ee9a;let _0x1c9942=_0x38cfb0[_0x16c6b5(0x1d1)];_0x38cfb0[_0x16c6b5(0x12f)]({'column':_0x1c9942,'columnId':(_0x5459b4=(_0x24ee9a=_0xdf5a10[_0x16c6b5(0x178)])==null||(_0x24ee9a=_0x24ee9a[_0x1c9942])==null?void 0x0:_0x24ee9a[_0x16c6b5(0x16b)])==null?String(_0x1c9942):_0x5459b4,'startOffset':_0x4d97f3,'endOffset':_0x181f9c}),_0x4d97f3=-0x1;}}return{'columnGroupId':_0x56b946,'startOffset':_0x2cd35f,'endOffset':_0x31dd29,'columns':_0x38cfb0,'source':_0xdf5a10};}function _0x31f1b2(_0x346bba){const _0x177060=_0x3b7bb1;let _0x49db79=_0x1d19c5[_0x177060(0x1a7)][_0x177060(0x1e9)](_0x346bba[_0x177060(0x15d)]),_0xd48202=_0x17ac6c(_0x49db79,_0x346bba[_0x177060(0x164)]),_0x471494=_0xd48202==null?void 0x0:_0xd48202['source'];if(!(_0x471494!=null&&_0x471494[_0x177060(0x178)])||!_0xd48202||_0x471494['columns']['length']!==_0x346bba['widthRatios'][_0x177060(0x1d1)])throw Error(_0x177060(0x18c));if(_0x471494[_0x177060(0x178)][_0x177060(0x1d1)]<0x2||_0x471494[_0x177060(0x178)][_0x177060(0x1d1)]>0x5)throw Error(_0x177060(0x1d8));if(_0x427052(_0xd48202['columns'][_0x177060(0x1d1)],_0x471494[_0x177060(0x178)]['length']),_0x346bba[_0x177060(0x1c8)][_0x177060(0x1bb)](_0x5ec0fb=>!Number[_0x177060(0x184)](_0x5ec0fb)||_0x5ec0fb<=0x0))throw Error('[DocsColumn]:\x20Cannot\x20resize\x20a\x20column\x20group\x20with\x20invalid\x20width\x20ratios.');return _0x471494[_0x177060(0x178)]=_0x471494['columns'][_0x177060(0x147)]((_0xa44403,_0xdc3c61)=>({..._0xa44403,'widthRatio':_0x346bba[_0x177060(0x1c8)][_0xdc3c61]})),{'nextDocumentData':_0x49db79};}function _0x26e283(_0x2d96f6){const _0x2d1a93=_0x3b7bb1;var _0x216157,_0x5ec510,_0x25c7e4,_0x297219,_0x19463e,_0x2df7bd,_0x20d4c5,_0x2ecbec,_0x513782;let _0x1b0173=_0x1d19c5[_0x2d1a93(0x1a7)]['deepClone'](_0x2d96f6[_0x2d1a93(0x15d)]),_0xf967f9=_0x1b0173[_0x2d1a93(0x1ad)],_0x786671=_0x17ac6c(_0x1b0173,_0x2d96f6[_0x2d1a93(0x164)]),_0x3451de=_0x786671==null?void 0x0:_0x786671[_0x2d1a93(0x1c6)];if(!(_0xf967f9!=null&&_0xf967f9[_0x2d1a93(0x144)])||!_0x786671||!(_0x3451de!=null&&_0x3451de[_0x2d1a93(0x178)]))throw Error(_0x2d1a93(0x152));_0x427052(_0x786671['columns'][_0x2d1a93(0x1d1)],_0x3451de[_0x2d1a93(0x178)][_0x2d1a93(0x1d1)]);let _0xe625ec=_0x3451de['columns'][_0x2d1a93(0x1ea)](_0x2f7021=>_0x2f7021['columnId']===_0x2d96f6['targetColumnId']),_0x213ddc=_0x786671[_0x2d1a93(0x178)][_0xe625ec];if(_0xe625ec<0x0||!_0x213ddc)throw Error('[DocsColumn]:\x20Cannot\x20insert\x20a\x20column\x20next\x20to\x20an\x20unknown\x20target\x20column.');if(_0x3451de['columns'][_0x2d1a93(0x1d1)]>=0x5)throw Error('[DocsColumn]:\x20Cannot\x20add\x20more\x20than\x20five\x20columns.');let _0x17442a=_0x2d96f6[_0x2d1a93(0x1e2)]==='left'?_0xe625ec:_0xe625ec+0x1,_0x42433a=_0x2d96f6['position']==='left'?_0x213ddc[_0x2d1a93(0x197)]:_0x213ddc[_0x2d1a93(0x14d)]+0x1,_0x417a50=_0x4d80c1(_0x1b9f56(_0xf967f9)),_0x1c3d69=_0x417a50[_0x2d1a93(0x144)][_0x2d1a93(0x1d1)];_0xf967f9[_0x2d1a93(0x144)]=''+_0xf967f9[_0x2d1a93(0x144)][_0x2d1a93(0x19e)](0x0,_0x42433a)+_0x417a50[_0x2d1a93(0x144)]+_0xf967f9[_0x2d1a93(0x144)][_0x2d1a93(0x19e)](_0x42433a),_0xf967f9[_0x2d1a93(0x149)]=[..._0x572700((_0x216157=_0xf967f9[_0x2d1a93(0x149)])==null?[]:_0x216157,_0x42433a,_0x1c3d69),..._0x417a50[_0x2d1a93(0x149)][_0x2d1a93(0x147)](_0x34f2dc=>({..._0x34f2dc,'startIndex':_0x34f2dc['startIndex']+_0x42433a}))]['sort']((_0x2560e9,_0x153ef8)=>_0x2560e9[_0x2d1a93(0x1cf)]-_0x153ef8['startIndex']),_0xf967f9[_0x2d1a93(0x1d7)]=[..._0x572700((_0x5ec510=_0xf967f9['sectionBreaks'])==null?[]:_0x5ec510,_0x42433a,_0x1c3d69),..._0x417a50['sectionBreaks'][_0x2d1a93(0x147)](_0x2cdd00=>({..._0x2cdd00,'startIndex':_0x2cdd00[_0x2d1a93(0x1cf)]+_0x42433a}))][_0x2d1a93(0x1b2)]((_0x35946c,_0x31256f)=>_0x35946c['startIndex']-_0x31256f[_0x2d1a93(0x1cf)]),_0xf967f9['textRuns']=_0x41d25e((_0x25c7e4=_0xf967f9[_0x2d1a93(0x175)])==null?[]:_0x25c7e4,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x1cd)]=_0x572700((_0x297219=_0xf967f9[_0x2d1a93(0x1cd)])==null?[]:_0x297219,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x13e)]=_0x2ca117((_0x19463e=_0xf967f9[_0x2d1a93(0x13e)])==null?[]:_0x19463e,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x1dc)]=_0x2ca117((_0x2df7bd=_0xf967f9[_0x2d1a93(0x1dc)])==null?[]:_0x2df7bd,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x176)]=_0x2ca117((_0x20d4c5=_0xf967f9[_0x2d1a93(0x176)])==null?[]:_0x20d4c5,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x1bf)]=_0x2ca117((_0x2ecbec=_0xf967f9[_0x2d1a93(0x1bf)])==null?[]:_0x2ecbec,_0x42433a,_0x1c3d69),_0xf967f9[_0x2d1a93(0x1a2)]=_0x2ca117((_0x513782=_0xf967f9['columnGroups'])==null?[]:_0x513782,_0x42433a,_0x1c3d69);let _0x4895ad=_0x2bb2c1(_0xf967f9,_0x2d96f6['columnGroupId']);if(!(_0x4895ad!=null&&_0x4895ad[_0x2d1a93(0x178)]))throw Error(_0x2d1a93(0x14b));return _0x4895ad[_0x2d1a93(0x178)]=[..._0x3451de[_0x2d1a93(0x178)][_0x2d1a93(0x19e)](0x0,_0x17442a),{'columnId':_0x2d96f6[_0x2d1a93(0x16b)],'widthRatio':0x1},..._0x3451de['columns'][_0x2d1a93(0x19e)](_0x17442a)],{'nextDocumentData':_0x1b0173,'inserted':{'columnGroupId':_0x2d96f6[_0x2d1a93(0x164)],'columnId':_0x2d96f6[_0x2d1a93(0x16b)],'column':_0x17442a}};}function _0x5d329a(_0x1ba686){const _0x41ab58=_0x3b7bb1;var _0xc6ad36,_0x27fb5d,_0x877c94,_0x3768fa,_0x39981f,_0x2e6dbe,_0x58c0db,_0x350ec0,_0x5989c7;let _0x40afcb=_0x1d19c5[_0x41ab58(0x1a7)][_0x41ab58(0x1e9)](_0x1ba686['documentData']),_0x2d9e57=_0x40afcb['body'],_0x50bcf9=_0x17ac6c(_0x40afcb,_0x1ba686['columnGroupId']),_0x2b5b79=_0x50bcf9==null?void 0x0:_0x50bcf9['source'];if(!(_0x2d9e57!=null&&_0x2d9e57[_0x41ab58(0x144)])||!_0x50bcf9||!(_0x2b5b79!=null&&_0x2b5b79[_0x41ab58(0x178)]))throw Error(_0x41ab58(0x13c));_0x427052(_0x50bcf9[_0x41ab58(0x178)][_0x41ab58(0x1d1)],_0x2b5b79[_0x41ab58(0x178)][_0x41ab58(0x1d1)]);let _0x2147b2=_0x2b5b79[_0x41ab58(0x178)][_0x41ab58(0x1ea)](_0x516cd4=>_0x516cd4['columnId']===_0x1ba686[_0x41ab58(0x16b)]),_0x1bfb87=_0x50bcf9[_0x41ab58(0x178)][_0x2147b2];if(_0x2147b2<0x0||!_0x1bfb87)throw Error(_0x41ab58(0x13a));if(_0x2b5b79['columns']['length']<=0x2)throw Error(_0x41ab58(0x14e));let _0x47e737=_0x1bfb87[_0x41ab58(0x197)],_0x45584c=_0x1bfb87[_0x41ab58(0x14d)]+0x1,_0x6587dc=_0x45584c-_0x47e737;_0x2d9e57[_0x41ab58(0x144)]=''+_0x2d9e57[_0x41ab58(0x144)][_0x41ab58(0x19e)](0x0,_0x47e737)+_0x2d9e57[_0x41ab58(0x144)][_0x41ab58(0x19e)](_0x45584c),_0x2d9e57['paragraphs']=_0x11eeba((_0xc6ad36=_0x2d9e57[_0x41ab58(0x149)])==null?[]:_0xc6ad36,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x1d7)]=_0x11eeba((_0x27fb5d=_0x2d9e57['sectionBreaks'])==null?[]:_0x27fb5d,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x175)]=_0x52858e((_0x877c94=_0x2d9e57[_0x41ab58(0x175)])==null?[]:_0x877c94,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x1cd)]=_0x11eeba((_0x3768fa=_0x2d9e57['customBlocks'])==null?[]:_0x3768fa,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57['blockRanges']=_0x9b76ea((_0x39981f=_0x2d9e57['blockRanges'])==null?[]:_0x39981f,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x1dc)]=_0x9b76ea((_0x2e6dbe=_0x2d9e57[_0x41ab58(0x1dc)])==null?[]:_0x2e6dbe,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x176)]=_0x9b76ea((_0x58c0db=_0x2d9e57[_0x41ab58(0x176)])==null?[]:_0x58c0db,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x1bf)]=_0x9b76ea((_0x350ec0=_0x2d9e57['tables'])==null?[]:_0x350ec0,_0x47e737,_0x45584c,_0x6587dc),_0x2d9e57[_0x41ab58(0x1a2)]=_0x9b76ea((_0x5989c7=_0x2d9e57[_0x41ab58(0x1a2)])==null?[]:_0x5989c7,_0x47e737,_0x45584c,_0x6587dc);let _0x135d66=_0x2bb2c1(_0x2d9e57,_0x1ba686[_0x41ab58(0x164)]);if(!(_0x135d66!=null&&_0x135d66[_0x41ab58(0x178)]))throw Error(_0x41ab58(0x125));return _0x135d66[_0x41ab58(0x178)]=[..._0x2b5b79[_0x41ab58(0x178)][_0x41ab58(0x19e)](0x0,_0x2147b2),..._0x2b5b79['columns'][_0x41ab58(0x19e)](_0x2147b2+0x1)],{'nextDocumentData':_0x40afcb,'deleted':{'columnGroupId':_0x1ba686[_0x41ab58(0x164)],'columnId':_0x1ba686['columnId'],'column':_0x2147b2}};}function _0x2a8b01(_0x24d2d8){const _0x5940ce=_0x3b7bb1;var _0x3b14da,_0x4093b1,_0x6918e8,_0x578fa1,_0x2442cf,_0x447de5,_0x250f85,_0x4046cb,_0x366d5e,_0x428684;let _0x402033=_0x1d19c5[_0x5940ce(0x1a7)][_0x5940ce(0x1e9)](_0x24d2d8[_0x5940ce(0x15d)]),_0xc31539=_0x402033['body'],_0x38497e=_0xc31539==null||(_0x3b14da=_0xc31539[_0x5940ce(0x1a2)])==null?void 0x0:_0x3b14da['find'](_0x331d8b=>_0x331d8b[_0x5940ce(0x164)]===_0x24d2d8[_0x5940ce(0x164)]);if(!(_0xc31539!=null&&_0xc31539[_0x5940ce(0x144)])||!_0x38497e)throw Error(_0x5940ce(0x16d));let _0x296d64=_0x38497e[_0x5940ce(0x1cf)],_0x351636=_0xc31539[_0x5940ce(0x144)][_0x38497e[_0x5940ce(0x121)]]===_0x4cdd5b[_0x5940ce(0x1df)]?_0x38497e[_0x5940ce(0x121)]+0x1:_0x38497e['endIndex'],_0x50ccc6=_0x351636-_0x296d64;return _0xc31539[_0x5940ce(0x144)]=''+_0xc31539['dataStream']['slice'](0x0,_0x296d64)+_0xc31539[_0x5940ce(0x144)]['slice'](_0x351636),_0xc31539[_0x5940ce(0x149)]=_0x11eeba((_0x4093b1=_0xc31539[_0x5940ce(0x149)])==null?[]:_0x4093b1,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x1d7)]=_0x11eeba((_0x6918e8=_0xc31539['sectionBreaks'])==null?[]:_0x6918e8,_0x296d64,_0x351636,_0x50ccc6),_0xc31539['textRuns']=_0x52858e((_0x578fa1=_0xc31539[_0x5940ce(0x175)])==null?[]:_0x578fa1,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x1cd)]=_0x11eeba((_0x2442cf=_0xc31539['customBlocks'])==null?[]:_0x2442cf,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x13e)]=_0x9b76ea((_0x447de5=_0xc31539['blockRanges'])==null?[]:_0x447de5,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x1dc)]=_0x9b76ea((_0x250f85=_0xc31539[_0x5940ce(0x1dc)])==null?[]:_0x250f85,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x176)]=_0x9b76ea((_0x4046cb=_0xc31539[_0x5940ce(0x176)])==null?[]:_0x4046cb,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x1bf)]=_0x9b76ea((_0x366d5e=_0xc31539[_0x5940ce(0x1bf)])==null?[]:_0x366d5e,_0x296d64,_0x351636,_0x50ccc6),_0xc31539[_0x5940ce(0x1a2)]=_0x9b76ea((_0x428684=_0xc31539[_0x5940ce(0x1a2)])==null?[]:_0x428684,_0x296d64,_0x351636,_0x50ccc6),_0x565868(_0xc31539),{'nextDocumentData':_0x402033,'deleted':{'columnGroupId':_0x24d2d8['columnGroupId'],'startOffset':_0x296d64,'endOffset':_0x351636}};}function _0x2bb2c1(_0x17a231,_0x52cd41){const _0x410349=_0x3b7bb1;var _0x6a4cfe;return(_0x6a4cfe=_0x17a231[_0x410349(0x1a2)])==null?void 0x0:_0x6a4cfe[_0x410349(0x158)](_0x3b7aee=>_0x3b7aee[_0x410349(0x164)]===_0x52cd41);}function _0x4d80c1(_0x20e18e){const _0x68b3a9=_0x3b7bb1;return{'dataStream':''+_0x4cdd5b[_0x68b3a9(0x18f)]+_0x1d19c5[_0x68b3a9(0x1d3)][_0x68b3a9(0x17e)]+_0x1d19c5['DataStreamTreeTokenType']['SECTION_BREAK']+_0x4cdd5b[_0x68b3a9(0x188)],'paragraphs':[{'startIndex':0x1,'paragraphId':(0x0,_0x1d19c5['createParagraphId'])(_0x20e18e)}],'sectionBreaks':[{'startIndex':0x2}]};}function _0x1b9f56(_0x4049cb){const _0x299dab=_0x3b7bb1;var _0x28eaa7;return new Set(((_0x28eaa7=_0x4049cb[_0x299dab(0x149)])==null?[]:_0x28eaa7)[_0x299dab(0x147)](_0x4986a5=>_0x4986a5[_0x299dab(0x1a3)]));}function _0x565868(_0x4bd7a7){const _0xc6148a=_0x3b7bb1;_0x4bd7a7['dataStream'][_0xc6148a(0x1d1)]>0x0||(_0x4bd7a7[_0xc6148a(0x144)]=''+_0x1d19c5['DataStreamTreeTokenType'][_0xc6148a(0x17e)]+_0x1d19c5[_0xc6148a(0x1d3)]['SECTION_BREAK'],_0x4bd7a7[_0xc6148a(0x149)]=[{'startIndex':0x0,'paragraphId':(0x0,_0x1d19c5[_0xc6148a(0x120)])(_0x1b9f56(_0x4bd7a7))}],_0x4bd7a7[_0xc6148a(0x1d7)]=[{'startIndex':0x1}]);}function _0x427052(_0x52de63,_0x273786){if(_0x52de63!==_0x273786)throw Error('[DocsColumn]:\x20Cannot\x20edit\x20a\x20column\x20group\x20with\x20mismatched\x20source\x20and\x20stream\x20columns.');}function _0x572700(_0x16157b,_0x466325,_0x3e4f84){const _0x538c26=_0x3b7bb1;return _0x16157b[_0x538c26(0x147)](_0x3f4614=>_0x3f4614[_0x538c26(0x1cf)]>=_0x466325?{..._0x3f4614,'startIndex':_0x3f4614[_0x538c26(0x1cf)]+_0x3e4f84}:_0x3f4614);}function _0x2ca117(_0x3dcc40,_0x461f75,_0x3bb9d7){const _0x320842=_0x3b7bb1;return _0x3dcc40[_0x320842(0x147)](_0x4f4a24=>_0x4f4a24['startIndex']>=_0x461f75?{..._0x4f4a24,'startIndex':_0x4f4a24[_0x320842(0x1cf)]+_0x3bb9d7,'endIndex':_0x4f4a24[_0x320842(0x121)]+_0x3bb9d7}:_0x4f4a24['endIndex']>=_0x461f75?{..._0x4f4a24,'endIndex':_0x4f4a24[_0x320842(0x121)]+_0x3bb9d7}:_0x4f4a24);}function _0x41d25e(_0x3aea80,_0x3752cf,_0xd194b0){const _0xfc6bb=_0x3b7bb1;return _0x3aea80[_0xfc6bb(0x147)](_0x357e2f=>_0x357e2f['st']>=_0x3752cf?{..._0x357e2f,'st':_0x357e2f['st']+_0xd194b0,'ed':_0x357e2f['ed']+_0xd194b0}:_0x357e2f['ed']>=_0x3752cf?{..._0x357e2f,'ed':_0x357e2f['ed']+_0xd194b0}:_0x357e2f);}function _0x11eeba(_0x2cbe48,_0x50a2db,_0x1702e1,_0x51f161){const _0x22bcf2=_0x3b7bb1;return _0x2cbe48[_0x22bcf2(0x114)](_0x252694=>_0x252694[_0x22bcf2(0x1cf)]<_0x50a2db||_0x252694[_0x22bcf2(0x1cf)]>=_0x1702e1)[_0x22bcf2(0x147)](_0xaf5022=>_0xaf5022['startIndex']>=_0x1702e1?{..._0xaf5022,'startIndex':_0xaf5022[_0x22bcf2(0x1cf)]-_0x51f161}:_0xaf5022);}function _0x9b76ea(_0xd8a814,_0x205ec7,_0x4ced0f,_0x22cac0){const _0x583e2a=_0x3b7bb1;return _0xd8a814[_0x583e2a(0x147)](_0x4222ee=>{const _0x18d258=_0x583e2a;let _0x53cc96=_0x20766f(_0x4222ee['startIndex'],_0x205ec7,_0x4ced0f,_0x22cac0),_0x17bfb1=_0x20766f(_0x4222ee[_0x18d258(0x121)],_0x205ec7,_0x4ced0f,_0x22cac0);return{..._0x4222ee,'startIndex':_0x53cc96,'endIndex':_0x17bfb1};})[_0x583e2a(0x114)](_0x3210e2=>_0x3210e2[_0x583e2a(0x1cf)]<_0x3210e2[_0x583e2a(0x121)]);}function _0x52858e(_0x3b2b4d,_0x256d4b,_0x2490b4,_0x939ae7){const _0xab2f64=_0x3b7bb1;return _0x3b2b4d[_0xab2f64(0x147)](_0x26d807=>{let _0x2aa1a4=_0x20766f(_0x26d807['st'],_0x256d4b,_0x2490b4,_0x939ae7),_0x18b2da=_0x20766f(_0x26d807['ed'],_0x256d4b,_0x2490b4,_0x939ae7);return{..._0x26d807,'st':_0x2aa1a4,'ed':_0x18b2da};})['filter'](_0x56483d=>_0x56483d['st']<_0x56483d['ed']);}function _0x20766f(_0x281edb,_0x201423,_0x2b28bf,_0x5bf5c8){return _0x281edb<_0x201423?_0x281edb:_0x281edb>=_0x2b28bf?_0x281edb-_0x5bf5c8:_0x201423;}function _0x11efb5(_0x5bcb42){const _0x3f9dc1=_0x3b7bb1;var _0x5c820b;let _0x694691=_0x1d19c5['Tools'][_0x3f9dc1(0x1e9)](_0x5bcb42),_0x1e90d2=_0x694691[_0x3f9dc1(0x1ad)];if(!_0x1e90d2)return{'nextDocumentData':_0x694691,'changed':!0x1};_0x1e90d2[_0x3f9dc1(0x144)]!=null||(_0x1e90d2[_0x3f9dc1(0x144)]='');let _0x647f4a=_0x38795c(_0x694691);_0x647f4a=_0x4a1f5b(_0x694691)||_0x647f4a;let _0x436fec=(_0x5c820b=_0x1e90d2[_0x3f9dc1(0x1a2)])==null?[]:_0x5c820b;if(_0x436fec[_0x3f9dc1(0x1d1)]===0x0)return _0x647f4a=_0x2208a1(_0x694691)||_0x647f4a,{'nextDocumentData':_0x694691,'changed':_0x647f4a};for(let _0xb0b222 of _0x436fec)_0x647f4a=_0x5c3fa7(_0xb0b222,_0x1e90d2[_0x3f9dc1(0x144)])||_0x647f4a;return _0x647f4a=_0x2208a1(_0x694691)||_0x647f4a,{'nextDocumentData':_0x694691,'changed':_0x647f4a};}function _0x38795c(_0x4b7381){const _0x5fc8d3=_0x3b7bb1;var _0x4650d7;let _0x12818f=_0x4b7381[_0x5fc8d3(0x1ad)],_0x1baaef=_0x2dd95e((_0x4650d7=_0x12818f==null?void 0x0:_0x12818f[_0x5fc8d3(0x1a2)])==null?[]:_0x4650d7);return!(_0x12818f!=null&&_0x12818f[_0x5fc8d3(0x144)])||_0x1baaef[_0x5fc8d3(0x1d1)]===0x0?!0x1:(_0x1baaef[_0x5fc8d3(0x1b2)]((_0x6f3e7d,_0x37f682)=>_0x37f682['startIndex']-_0x6f3e7d[_0x5fc8d3(0x1cf)])['forEach'](_0x5b149c=>_0x36539b(_0x4b7381,_0x5b149c)),!0x0);}function _0x4a1f5b(_0x335b5b){const _0x4bdc76=_0x3b7bb1;var _0x1aae2e;let _0x286664=_0x335b5b['body'],_0xa2c061=(_0x1aae2e=_0x286664==null?void 0x0:_0x286664[_0x4bdc76(0x1a2)])==null?[]:_0x1aae2e;if(!(_0x286664!=null&&_0x286664[_0x4bdc76(0x144)])||_0xa2c061['length']===0x0)return!0x1;let _0x5eb938=_0xa2c061[_0x4bdc76(0x114)](_0x6cd31b=>_0x45d479(_0x286664['dataStream'],_0x6cd31b['startIndex'],_0x6cd31b[_0x4bdc76(0x121)]));return _0x5eb938[_0x4bdc76(0x1d1)]===0x0?!0x1:(_0x5eb938[_0x4bdc76(0x1b2)]((_0x3161b7,_0x54a5c5)=>_0x54a5c5[_0x4bdc76(0x1cf)]-_0x3161b7[_0x4bdc76(0x1cf)])[_0x4bdc76(0x169)](_0x357742=>_0x346f8e(_0x335b5b,_0x357742)),!0x0);}function _0x2dd95e(_0x3912d1){const _0x1482e7=_0x3b7bb1;return(_0x3912d1==null?[]:_0x3912d1)[_0x1482e7(0x114)](_0x548b78=>(_0x3912d1==null?[]:_0x3912d1)[_0x1482e7(0x1bb)](_0xca83b3=>_0xca83b3[_0x1482e7(0x164)]!==_0x548b78['columnGroupId']&&_0x548b78[_0x1482e7(0x1cf)]>_0xca83b3[_0x1482e7(0x1cf)]&&_0x548b78[_0x1482e7(0x121)]<_0xca83b3[_0x1482e7(0x121)]));}function _0x36539b(_0x22423c,_0x71ab35){_0x346f8e(_0x22423c,_0x71ab35);}function _0x346f8e(_0xa6c679,_0x333f07){const _0x475afb=_0x3b7bb1;var _0x129bd4,_0x202b40,_0x2ced68,_0x43aa6f,_0x46db06,_0x36b295,_0x1b531b,_0x1e45d0,_0x484f8c;let _0x3e1e9c=_0xa6c679['body'],_0x5154bf=_0x3e1e9c[_0x475afb(0x144)][_0x333f07[_0x475afb(0x121)]]===_0x4cdd5b['COLUMN_GROUP_END']?_0x333f07[_0x475afb(0x121)]+0x1:_0x333f07[_0x475afb(0x121)],_0xa8cd26=_0x517eed(_0x3e1e9c[_0x475afb(0x144)],_0x333f07['startIndex'],_0x5154bf);_0x3e1e9c[_0x475afb(0x144)]=_0x5f575e(_0x3e1e9c[_0x475afb(0x144)],_0xa8cd26),_0x3e1e9c['paragraphs']=_0x2f5f63((_0x129bd4=_0x3e1e9c[_0x475afb(0x149)])==null?[]:_0x129bd4,_0xa8cd26),_0x3e1e9c[_0x475afb(0x1d7)]=_0x2f5f63((_0x202b40=_0x3e1e9c[_0x475afb(0x1d7)])==null?[]:_0x202b40,_0xa8cd26),_0x3e1e9c['customBlocks']=_0x2f5f63((_0x2ced68=_0x3e1e9c['customBlocks'])==null?[]:_0x2ced68,_0xa8cd26),_0x3e1e9c[_0x475afb(0x13e)]=_0x2b0207((_0x43aa6f=_0x3e1e9c[_0x475afb(0x13e)])==null?[]:_0x43aa6f,_0xa8cd26),_0x3e1e9c[_0x475afb(0x1dc)]=_0x2b0207((_0x46db06=_0x3e1e9c[_0x475afb(0x1dc)])==null?[]:_0x46db06,_0xa8cd26),_0x3e1e9c[_0x475afb(0x176)]=_0x2b0207((_0x36b295=_0x3e1e9c[_0x475afb(0x176)])==null?[]:_0x36b295,_0xa8cd26),_0x3e1e9c[_0x475afb(0x1bf)]=_0x2b0207((_0x1b531b=_0x3e1e9c[_0x475afb(0x1bf)])==null?[]:_0x1b531b,_0xa8cd26),_0x3e1e9c['columnGroups']=_0x2b0207(((_0x1e45d0=_0x3e1e9c[_0x475afb(0x1a2)])==null?[]:_0x1e45d0)[_0x475afb(0x114)](_0x13e79b=>_0x13e79b['columnGroupId']!==_0x333f07[_0x475afb(0x164)]),_0xa8cd26),_0x3e1e9c[_0x475afb(0x175)]=_0x5b94d4((_0x484f8c=_0x3e1e9c['textRuns'])==null?[]:_0x484f8c,_0xa8cd26);}function _0x517eed(_0x3e5ab5,_0x2553a2,_0x547f24){const _0x42a181=_0x3b7bb1;let _0x3c9894=new Set([_0x4cdd5b['COLUMN_GROUP_START'],_0x4cdd5b[_0x42a181(0x18f)],_0x4cdd5b[_0x42a181(0x188)],_0x4cdd5b['COLUMN_GROUP_END']]),_0x4194a5=[];for(let _0x4e6ab2=_0x2553a2;_0x4e6ab2<_0x547f24;_0x4e6ab2++)_0x3c9894[_0x42a181(0x13b)](_0x3e5ab5[_0x4e6ab2])&&_0x4194a5[_0x42a181(0x12f)](_0x4e6ab2);return _0x4194a5;}function _0x5f575e(_0x40c7e8,_0x5608cd){const _0x3045b7=_0x3b7bb1;let _0x5b3937=new Set(_0x5608cd),_0xded51b='';for(let _0x4228a7=0x0;_0x4228a7<_0x40c7e8[_0x3045b7(0x1d1)];_0x4228a7++)_0x5b3937[_0x3045b7(0x13b)](_0x4228a7)||(_0xded51b+=_0x40c7e8[_0x4228a7]);return _0xded51b;}function _0x2f5f63(_0x23275b,_0x46939d){const _0x3a4664=_0x3b7bb1;return _0x23275b[_0x3a4664(0x147)](_0x5ca262=>({..._0x5ca262,'startIndex':_0x109e12(_0x5ca262['startIndex'],_0x46939d)}))[_0x3a4664(0x1b2)]((_0x296c37,_0x30a1ca)=>_0x296c37[_0x3a4664(0x1cf)]-_0x30a1ca[_0x3a4664(0x1cf)]);}function _0x2b0207(_0x5d8f74,_0x3559d5){const _0x455a97=_0x3b7bb1;return _0x5d8f74[_0x455a97(0x147)](_0x19d60f=>({..._0x19d60f,'startIndex':_0x109e12(_0x19d60f[_0x455a97(0x1cf)],_0x3559d5),'endIndex':_0x109e12(_0x19d60f['endIndex'],_0x3559d5)}))[_0x455a97(0x1b2)]((_0x46ee72,_0x512a19)=>_0x46ee72[_0x455a97(0x1cf)]-_0x512a19['startIndex']);}function _0x5b94d4(_0x347f47,_0x4786f6){const _0x292eb2=_0x3b7bb1;return _0x347f47[_0x292eb2(0x147)](_0x3d5b3d=>({..._0x3d5b3d,'st':_0x109e12(_0x3d5b3d['st'],_0x4786f6),'ed':_0x109e12(_0x3d5b3d['ed'],_0x4786f6)}))[_0x292eb2(0x1b2)]((_0x33f2d1,_0x8c1504)=>_0x33f2d1['st']-_0x8c1504['st']);}function _0x109e12(_0xa9bfd1,_0x5a56be){const _0x5cc105=_0x3b7bb1;return _0xa9bfd1-_0x5a56be[_0x5cc105(0x114)](_0x529acf=>_0x529acf<_0xa9bfd1)[_0x5cc105(0x1d1)];}function _0x2208a1(_0x35a9ea){const _0x512a0e=_0x3b7bb1;var _0x15ef18;let _0x516635=_0x35a9ea['body'];return!_0x516635||_0x516635['dataStream'][_0x512a0e(0x1d1)]>0x0?!0x1:(_0x516635['dataStream']=''+_0x1d19c5[_0x512a0e(0x1d3)][_0x512a0e(0x17e)]+_0x1d19c5[_0x512a0e(0x1d3)]['SECTION_BREAK'],_0x516635[_0x512a0e(0x149)]=[{'startIndex':0x0,'paragraphId':(0x0,_0x1d19c5['createParagraphId'])(new Set(((_0x15ef18=_0x516635['paragraphs'])==null?[]:_0x15ef18)['map'](_0x4a95b8=>_0x4a95b8[_0x512a0e(0x1a3)])))}],_0x516635[_0x512a0e(0x1d7)]=[{'startIndex':0x1}],!0x0);}function _0x5c3fa7(_0x559702,_0x51114f){const _0x454272=_0x3b7bb1;var _0x4ea296,_0x428c6f,_0x50cfa8;let _0x5070c2=_0x218565(_0x51114f,_0x559702[_0x454272(0x1cf)],_0x559702[_0x454272(0x121)]);if(_0x5070c2===0x0)return!0x1;let _0x3e98a1=_0x11e6e3(_0x559702[_0x454272(0x164)],(_0x4ea296=_0x559702['columns'])==null?[]:_0x4ea296,_0x5070c2),_0x1e1b8c=_0x3ec6b4(_0x559702[_0x454272(0x138)]),_0x30dfec=!_0x2ee118((_0x428c6f=_0x559702[_0x454272(0x178)])==null?[]:_0x428c6f,_0x3e98a1),_0x5d539e=((_0x50cfa8=_0x559702['gap'])==null?void 0x0:_0x50cfa8['v'])!==_0x1e1b8c['v'],_0x171e46=_0x559702[_0x454272(0x1eb)]==null,_0x289144=_0x559702[_0x454272(0x1ae)]==null;return!_0x30dfec&&!_0x5d539e&&!_0x171e46&&!_0x289144?!0x1:(_0x559702[_0x454272(0x178)]=_0x3e98a1,_0x559702['gap']=_0x1e1b8c,_0x559702['layout']!=null||(_0x559702[_0x454272(0x1eb)]=_0x454272(0x1c1)),_0x559702[_0x454272(0x1ae)]!=null||(_0x559702[_0x454272(0x1ae)]=_0x454272(0x1b5)),!0x0);}function _0x11e6e3(_0x1869c0,_0x5e1740,_0x59addc){const _0x43c4e3=_0x3b7bb1;return Array[_0x43c4e3(0x1e1)]({'length':_0x59addc},(_0x4c51e7,_0x50de6d)=>{const _0x20da38=_0x43c4e3;let _0x4905f4=_0x5e1740[_0x50de6d];return _0x4905f4?{..._0x4905f4,'widthRatio':_0x19a164(_0x4905f4['widthRatio'])}:{'columnId':_0x1869c0+_0x20da38(0x16c)+(_0x50de6d+0x1),'widthRatio':0x1};});}function _0x19a164(_0x5c0c73){const _0x5cb629=_0x3b7bb1;return Number[_0x5cb629(0x184)](_0x5c0c73)&&_0x5c0c73>0x0?_0x5c0c73:0x1;}function _0x3ec6b4(_0x111a5e){const _0x3e703e=_0x3b7bb1;return Number[_0x3e703e(0x184)](_0x111a5e==null?void 0x0:_0x111a5e['v'])&&_0x111a5e['v']>=0x0?{'v':_0x111a5e['v']}:{'v':0xc};}function _0x218565(_0x2f261b,_0x5b4b8a,_0x4b10e8){const _0x4c6794=_0x3b7bb1;let _0x2ad5f2=_0x2f261b[_0x4b10e8]===_0x4cdd5b[_0x4c6794(0x1df)]?_0x4b10e8+0x1:_0x4b10e8,_0x21f4c3=0x0;for(let _0x265203=_0x5b4b8a;_0x265203<_0x2ad5f2;_0x265203++)_0x2f261b[_0x265203]===_0x4cdd5b[_0x4c6794(0x18f)]&&_0x21f4c3++;return _0x21f4c3;}function _0x45d479(_0x4cadd0,_0x448c18,_0x7d2ec9){const _0x5ac9cc=_0x3b7bb1;let _0x395c16=_0x4cadd0[_0x7d2ec9]===_0x4cdd5b[_0x5ac9cc(0x1df)]?_0x7d2ec9+0x1:_0x7d2ec9,_0x4fc1c3=-0x1,_0x34bed0=0x0;for(let _0x37e580=_0x448c18;_0x37e580<_0x395c16;_0x37e580++){let _0x448259=_0x4cadd0[_0x37e580];if(_0x448259===_0x4cdd5b[_0x5ac9cc(0x18f)]){if(_0x4fc1c3>=0x0)return!0x0;_0x4fc1c3=_0x37e580;continue;}if(_0x448259===_0x4cdd5b['COLUMN_END']){if(_0x4fc1c3<0x0)return!0x0;_0x34bed0++,_0x4fc1c3=-0x1;}}return _0x4fc1c3>=0x0||_0x34bed0<0x2||_0x34bed0>0x5;}function _0x2ee118(_0x269c3c,_0xd6b306){const _0x38cd78=_0x3b7bb1;return _0x269c3c['length']===_0xd6b306[_0x38cd78(0x1d1)]?_0x269c3c[_0x38cd78(0x191)]((_0x3564bb,_0x401a62)=>{const _0x56811e=_0x38cd78;let _0x514da0=_0xd6b306[_0x401a62];return _0x3564bb[_0x56811e(0x16b)]===_0x514da0[_0x56811e(0x16b)]&&_0x3564bb[_0x56811e(0x1b9)]===_0x514da0[_0x56811e(0x1b9)]&&_0x1d19c5['Tools'][_0x56811e(0x1a8)](_0x3564bb[_0x56811e(0x16a)],_0x514da0['minWidth']);}):!0x1;}let _0x3655e0=[_0x3b7bb1(0x144),_0x3b7bb1(0x149),_0x3b7bb1(0x1d7),'textRuns','customBlocks',_0x3b7bb1(0x13e),_0x3b7bb1(0x1dc),_0x3b7bb1(0x176),_0x3b7bb1(0x1bf),_0x3b7bb1(0x1a2)];function _0x26a701(_0x43da0e,_0x53d5ce){const _0x356a7a=_0x3b7bb1;var _0x322a90,_0x27f0ab,_0x244121,_0xef7d59;let _0x4bba16=_0x43da0e['get'](_0x1d19c5[_0x356a7a(0x19f)]),_0x20a5d0=_0x53d5ce?(_0x322a90=_0x4bba16[_0x356a7a(0x1a0)])==null?void 0x0:_0x322a90['call'](_0x4bba16,_0x53d5ce):(_0x27f0ab=(_0x244121=_0x4bba16[_0x356a7a(0x1aa)])==null?void 0x0:_0x244121[_0x356a7a(0x1a9)](_0x4bba16,_0x1d19c5['UniverInstanceType']['UNIVER_DOC']))==null?(_0xef7d59=_0x4bba16[_0x356a7a(0x115)])==null?void 0x0:_0xef7d59[_0x356a7a(0x1a9)](_0x4bba16):_0x27f0ab,_0x469f8e=_0x20a5d0==null?void 0x0:_0x20a5d0['getSnapshot'](),_0x4e9323=_0x20a5d0==null?void 0x0:_0x20a5d0[_0x356a7a(0x1d9)]();return!_0x469f8e||!_0x4e9323?null:{'commandService':_0x43da0e[_0x356a7a(0x13f)](_0x1d19c5[_0x356a7a(0x193)]),'snapshot':_0x469f8e,'unitId':_0x4e9323};}function _0x520cad(_0x340dd6,_0x3f8d01,_0x1ba5e5){const _0x3b2dd5=_0x3b7bb1;let _0x106c02=_0x42f7e7(_0x340dd6['snapshot'],_0x3f8d01);return _0x106c02?!!_0x340dd6[_0x3b2dd5(0x1ce)]['syncExecuteCommand'](_0x59d2f6['RichTextEditingMutation']['id'],{'unitId':_0x340dd6[_0x3b2dd5(0x1ba)],'actions':_0x106c02,'textRanges':_0x1ba5e5,'options':{'noHistory':!0x1}}):!0x1;}function _0x42f7e7(_0x1d572d,_0x3ddfc5){const _0x254e3b=_0x3b7bb1;let _0x5f1b79=_0x1d19c5['JSONX'][_0x254e3b(0x1e7)]();return _0x3655e0['map'](_0x51159d=>{const _0xa3b6b4=_0x254e3b;var _0x51d862,_0x5d262e;return _0xb61d53(_0x5f1b79,[_0xa3b6b4(0x1ad),_0x51159d],(_0x51d862=_0x1d572d['body'])==null?void 0x0:_0x51d862[_0x51159d],(_0x5d262e=_0x3ddfc5[_0xa3b6b4(0x1ad)])==null?void 0x0:_0x5d262e[_0x51159d]);})[_0x254e3b(0x114)](Boolean)[_0x254e3b(0x112)]((_0x115539,_0x60877f)=>_0x1d19c5[_0x254e3b(0x1b3)][_0x254e3b(0x145)](_0x115539,_0x60877f),null);}function _0xb61d53(_0x49dcf4,_0x489c33,_0x1eaa37,_0x106480){const _0x56f899=_0x3b7bb1;return _0x1d19c5[_0x56f899(0x1a7)][_0x56f899(0x1a8)](_0x1eaa37,_0x106480)?null:_0x49dcf4['replaceOp'](_0x489c33,_0x1eaa37,_0x106480);}let _0x5a65cd={'id':_0x3b7bb1(0x124),'type':_0x1d19c5['CommandType'][_0x3b7bb1(0x199)],'handler':(_0x4195db,_0x303526)=>{const _0x1e610c=_0x3b7bb1;let _0x330045=_0x26a701(_0x4195db,_0x303526==null?void 0x0:_0x303526[_0x1e610c(0x1ba)]);if(!_0x330045||!_0x303526)return!0x1;try{return _0x520cad(_0x330045,_0x31f1b2({'documentData':_0x330045[_0x1e610c(0x11b)],'columnGroupId':_0x303526[_0x1e610c(0x164)],'widthRatios':_0x303526[_0x1e610c(0x1c8)]})[_0x1e610c(0x1e4)],[]);}catch{return!0x1;}}},_0x2ebe17={'id':_0x3b7bb1(0x1b4),'type':_0x1d19c5['CommandType'][_0x3b7bb1(0x199)],'handler':(_0x5cdd37,_0x5d34a2)=>{const _0x10edd7=_0x3b7bb1;var _0x5ca9dd;let _0xe125e2=_0x26a701(_0x5cdd37,_0x5d34a2==null?void 0x0:_0x5d34a2[_0x10edd7(0x1ba)]);if(!_0xe125e2||!_0x5d34a2)return!0x1;let _0x5c1cae=(_0x5ca9dd=_0x5d34a2[_0x10edd7(0x16b)])==null?(0x0,_0x1d19c5[_0x10edd7(0x1c2)])(0x6):_0x5ca9dd;try{let _0x2f7aba=_0x26e283({'documentData':_0xe125e2[_0x10edd7(0x11b)],'columnGroupId':_0x5d34a2[_0x10edd7(0x164)],'targetColumnId':_0x5d34a2['targetColumnId'],'position':_0x5d34a2[_0x10edd7(0x1e2)],'columnId':_0x5c1cae}),_0x5429bd=_0x1f13a7(_0x2f7aba['nextDocumentData'],_0x5d34a2[_0x10edd7(0x164)],_0x5c1cae);return _0x520cad(_0xe125e2,_0x2f7aba['nextDocumentData'],_0x5429bd==null?void 0x0:[{'startOffset':_0x5429bd,'endOffset':_0x5429bd,'collapsed':!0x0}]);}catch{return!0x1;}}},_0x5a3a8a={'id':_0x3b7bb1(0x17f),'type':_0x1d19c5[_0x3b7bb1(0x196)]['COMMAND'],'handler':(_0x496a3c,_0x27d49d)=>{const _0x5e23d3=_0x3b7bb1;var _0x21fc62;let _0x3a35d6=_0x26a701(_0x496a3c,_0x27d49d==null?void 0x0:_0x27d49d['unitId']);if(!_0x3a35d6||!_0x27d49d)return!0x1;let _0x27e74e=_0x17ac6c(_0x3a35d6['snapshot'],_0x27d49d[_0x5e23d3(0x164)]),_0x3e2bf8=(_0x21fc62=_0x27e74e==null?void 0x0:_0x27e74e[_0x5e23d3(0x178)][_0x5e23d3(0x1ea)](_0x5b1bbd=>_0x5b1bbd[_0x5e23d3(0x16b)]===_0x27d49d[_0x5e23d3(0x16b)]))==null?-0x1:_0x21fc62;if(_0x3e2bf8<0x0)return!0x1;try{let _0x1fca00=_0x5d329a({'documentData':_0x3a35d6['snapshot'],'columnGroupId':_0x27d49d['columnGroupId'],'columnId':_0x27d49d[_0x5e23d3(0x16b)]}),_0x4b3b9d=_0x1abc4c(_0x1fca00[_0x5e23d3(0x1e4)],_0x27d49d[_0x5e23d3(0x164)],_0x3e2bf8);return _0x520cad(_0x3a35d6,_0x1fca00[_0x5e23d3(0x1e4)],_0x4b3b9d==null?void 0x0:[{'startOffset':_0x4b3b9d,'endOffset':_0x4b3b9d,'collapsed':!0x0}]);}catch{return!0x1;}}},_0x3790a9={'id':_0x3b7bb1(0x157),'type':_0x1d19c5['CommandType'][_0x3b7bb1(0x199)],'handler':(_0x3fb055,_0x278222)=>{const _0x20ed45=_0x3b7bb1;let _0x39d171=_0x26a701(_0x3fb055,_0x278222==null?void 0x0:_0x278222[_0x20ed45(0x1ba)]);if(!_0x39d171||!_0x278222)return!0x1;try{let _0x43bf9d=_0x2a8b01({'documentData':_0x39d171['snapshot'],'columnGroupId':_0x278222[_0x20ed45(0x164)]});return _0x520cad(_0x39d171,_0x43bf9d['nextDocumentData'],[{'startOffset':_0x43bf9d[_0x20ed45(0x1a6)][_0x20ed45(0x197)],'endOffset':_0x43bf9d['deleted'][_0x20ed45(0x197)],'collapsed':!0x0}]);}catch{return!0x1;}}},_0x45939f={'id':'doc.command.normalize-column-groups','type':_0x1d19c5['CommandType'][_0x3b7bb1(0x199)],'handler':(_0x4a7054,_0x479e12)=>{const _0x176507=_0x3b7bb1;let _0x56fcda=_0x26a701(_0x4a7054,_0x479e12==null?void 0x0:_0x479e12[_0x176507(0x1ba)]);if(!_0x56fcda)return!0x1;let _0x2b902f=_0x11efb5(_0x56fcda[_0x176507(0x11b)]);return _0x2b902f[_0x176507(0x1ac)]?_0x520cad(_0x56fcda,_0x2b902f[_0x176507(0x1e4)]):!0x1;}};function _0x1f13a7(_0x3c466d,_0x44a874,_0x40e328){const _0x232b5a=_0x3b7bb1;let _0x48b310=_0x17ac6c(_0x3c466d,_0x44a874),_0x17f5c0=_0x48b310==null?void 0x0:_0x48b310[_0x232b5a(0x178)]['find'](_0x16f0b8=>_0x16f0b8[_0x232b5a(0x16b)]===_0x40e328);return _0x17f5c0?_0x17f5c0['startOffset']+0x1:null;}function _0x1abc4c(_0x1904bf,_0x5db874,_0x47490f){const _0x24cc24=_0x3b7bb1;let _0x126593=_0x17ac6c(_0x1904bf,_0x5db874);return _0x126593!=null&&_0x126593[_0x24cc24(0x178)][_0x24cc24(0x1d1)]?_0x126593[_0x24cc24(0x178)][Math[_0x24cc24(0x111)](_0x47490f,_0x126593['columns'][_0x24cc24(0x1d1)]-0x1)]['startOffset']+0x1:null;}let _0x32f181=new Set([_0x4cdd5b[_0x3b7bb1(0x18f)],_0x4cdd5b[_0x3b7bb1(0x188)],_0x4cdd5b[_0x3b7bb1(0x1df)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x1ca)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x15b)],_0x1d19c5['DataStreamTreeTokenType'][_0x3b7bb1(0x1c7)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x123)],_0x1d19c5['DataStreamTreeTokenType']['TABLE_END']]);function _0x1213a6(_0x1fe7a1,_0x201172){const _0x1ae8f2=_0x3b7bb1;if(!_0x4cddca(_0x1fe7a1))return!0x1;let _0x50e3d4=_0x1fe7a1['body'];return!(_0x50e3d4!=null&&_0x50e3d4[_0x1ae8f2(0x144)])||_0x445980(_0x50e3d4[_0x1ae8f2(0x144)][_0x201172])?!0x1:!_0x2116d1(_0x50e3d4[_0x1ae8f2(0x1a2)],_0x201172)&&!_0x2116d1(_0x50e3d4[_0x1ae8f2(0x1bf)],_0x201172);}function _0x571615(_0x112d1f){const _0x4e2d7c=_0x3b7bb1;var _0x4b28e0,_0x2e7b28,_0x39d905,_0x323c78,_0x1dbd36,_0xb66368,_0x5dbfa8,_0x38e6a8,_0x385b98,_0x29c0f1;let _0x368529=_0x1d19c5[_0x4e2d7c(0x1a7)][_0x4e2d7c(0x1e9)](_0x112d1f['documentData']),_0x3413b3=_0x226bd4(_0x368529),_0x345d16=Math[_0x4e2d7c(0x12b)](0x0,Math['min'](_0x112d1f[_0x4e2d7c(0x142)],_0x3413b3['dataStream'][_0x4e2d7c(0x1d1)]));if(!_0x4cddca(_0x368529))throw Error(_0x4e2d7c(0x1a4));if(!_0x1213a6(_0x368529,_0x345d16))throw Error('[DocsColumn]:\x20Cannot\x20insert\x20a\x20column\x20group\x20inside\x20table\x20or\x20column\x20group\x20ranges.');let _0xffcd4e=Math[_0x4e2d7c(0x12b)](0x2,(_0x4b28e0=_0x112d1f[_0x4e2d7c(0x130)])==null?_0x112d1f[_0x4e2d7c(0x12c)][_0x4e2d7c(0x1d1)]:_0x4b28e0);if(_0xffcd4e>0x5)throw Error('[DocsColumn]:\x20Cannot\x20create\x20more\x20than\x20five\x20columns.');let _0x41ef76=_0x52c6d5(_0x112d1f[_0x4e2d7c(0x12c)],_0xffcd4e),_0x7809c9=_0x192c04(_0xffcd4e,_0x1c27d2(_0x3413b3)),_0x10b9f1=_0x7809c9[_0x4e2d7c(0x144)],_0x3456dc=_0x345d16+_0x7809c9['dataStream'][_0x4e2d7c(0x1d1)]-0x1;return _0x3413b3[_0x4e2d7c(0x144)]=''+_0x3413b3[_0x4e2d7c(0x144)][_0x4e2d7c(0x19e)](0x0,_0x345d16)+_0x10b9f1+_0x3413b3[_0x4e2d7c(0x144)]['slice'](_0x345d16),_0x3413b3[_0x4e2d7c(0x149)]=[..._0x1319b6((_0x2e7b28=_0x3413b3[_0x4e2d7c(0x149)])==null?[]:_0x2e7b28,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),..._0x7809c9[_0x4e2d7c(0x149)]['map'](_0x1c1360=>({..._0x1c1360,'startIndex':_0x1c1360[_0x4e2d7c(0x1cf)]+_0x345d16}))][_0x4e2d7c(0x1b2)]((_0x147bef,_0x253cb6)=>_0x147bef['startIndex']-_0x253cb6['startIndex']),_0x3413b3[_0x4e2d7c(0x1d7)]=[..._0x1319b6((_0x39d905=_0x3413b3['sectionBreaks'])==null?[]:_0x39d905,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),..._0x7809c9[_0x4e2d7c(0x1d7)][_0x4e2d7c(0x147)](_0x3d1a61=>({..._0x3d1a61,'startIndex':_0x3d1a61[_0x4e2d7c(0x1cf)]+_0x345d16}))]['sort']((_0x49a0a5,_0x917fad)=>_0x49a0a5[_0x4e2d7c(0x1cf)]-_0x917fad[_0x4e2d7c(0x1cf)]),_0x3413b3[_0x4e2d7c(0x175)]=_0x361ecd((_0x323c78=_0x3413b3[_0x4e2d7c(0x175)])==null?[]:_0x323c78,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),_0x3413b3[_0x4e2d7c(0x1cd)]=_0x1319b6((_0x1dbd36=_0x3413b3['customBlocks'])==null?[]:_0x1dbd36,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),_0x3413b3[_0x4e2d7c(0x13e)]=_0x9a7669((_0xb66368=_0x3413b3[_0x4e2d7c(0x13e)])==null?[]:_0xb66368,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),_0x3413b3['customRanges']=_0x9a7669((_0x5dbfa8=_0x3413b3['customRanges'])==null?[]:_0x5dbfa8,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),_0x3413b3[_0x4e2d7c(0x176)]=_0x9a7669((_0x38e6a8=_0x3413b3[_0x4e2d7c(0x176)])==null?[]:_0x38e6a8,_0x345d16,_0x10b9f1['length']),_0x3413b3[_0x4e2d7c(0x1bf)]=_0x9a7669((_0x385b98=_0x3413b3[_0x4e2d7c(0x1bf)])==null?[]:_0x385b98,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),_0x3413b3['columnGroups']=[..._0x9a7669((_0x29c0f1=_0x3413b3[_0x4e2d7c(0x1a2)])==null?[]:_0x29c0f1,_0x345d16,_0x10b9f1[_0x4e2d7c(0x1d1)]),{'startIndex':_0x345d16,'endIndex':_0x3456dc,'columnGroupId':_0x112d1f[_0x4e2d7c(0x164)],'columns':_0x41ef76[_0x4e2d7c(0x147)](_0x250807=>({'columnId':_0x250807,'widthRatio':0x1})),'gap':{'v':_0xde6af9(_0x112d1f[_0x4e2d7c(0x138)])},'layout':_0x4e2d7c(0x1c1),'responsive':_0x4e2d7c(0x1b5)}][_0x4e2d7c(0x1b2)]((_0x209449,_0x439a9c)=>_0x209449['startIndex']-_0x439a9c[_0x4e2d7c(0x1cf)]),{'nextDocumentData':_0x368529,'inserted':{'columnGroupId':_0x112d1f[_0x4e2d7c(0x164)],'columnIds':_0x41ef76}};}function _0x226bd4(_0x318497){const _0x5b7959=_0x3b7bb1;var _0x301a1f,_0x3ee72b,_0x3ef2f3,_0x2a6dd0;return _0x318497['body']!=null||(_0x318497['body']={'dataStream':_0x1d19c5[_0x5b7959(0x1d3)][_0x5b7959(0x1cb)],'paragraphs':[],'sectionBreaks':[{'startIndex':0x0}],'columnGroups':[]}),(_0x301a1f=_0x318497[_0x5b7959(0x1ad)])[_0x5b7959(0x144)]!=null||(_0x301a1f[_0x5b7959(0x144)]=_0x1d19c5[_0x5b7959(0x1d3)][_0x5b7959(0x1cb)]),(_0x3ee72b=_0x318497[_0x5b7959(0x1ad)])[_0x5b7959(0x149)]!=null||(_0x3ee72b[_0x5b7959(0x149)]=[]),(_0x3ef2f3=_0x318497[_0x5b7959(0x1ad)])[_0x5b7959(0x1d7)]!=null||(_0x3ef2f3[_0x5b7959(0x1d7)]=[]),(_0x2a6dd0=_0x318497['body'])[_0x5b7959(0x1a2)]!=null||(_0x2a6dd0[_0x5b7959(0x1a2)]=[]),_0x318497[_0x5b7959(0x1ad)];}function _0x52c6d5(_0x6c52,_0xa72845){const _0x14315b=_0x3b7bb1;return Array[_0x14315b(0x1e1)]({'length':_0xa72845},(_0x2ddbc6,_0x119296)=>{const _0x3bd0fd=_0x14315b;var _0x9d743c;return(_0x9d743c=_0x6c52[_0x119296])==null?_0x3bd0fd(0x13d)+(_0x119296+0x1):_0x9d743c;});}function _0xde6af9(_0x11a39f){const _0x3f51df=_0x3b7bb1;return typeof _0x11a39f==_0x3f51df(0x1cc)&&Number['isFinite'](_0x11a39f)&&_0x11a39f>=0x0?_0x11a39f:0xc;}function _0x192c04(_0x3a51b1,_0x245f24){const _0x44b740=_0x3b7bb1;let _0x1a564e=_0x4cdd5b[_0x44b740(0x160)],_0x31cffa=[],_0xfb368f=[];for(let _0x210081=0x0;_0x210081<_0x3a51b1;_0x210081++)_0x1a564e+=''+_0x4cdd5b['COLUMN_START']+_0x1d19c5[_0x44b740(0x1d3)][_0x44b740(0x17e)]+_0x4cdd5b[_0x44b740(0x188)],_0x31cffa['push']({'startIndex':_0x1a564e[_0x44b740(0x1d1)]-0x2,'paragraphId':(0x0,_0x1d19c5[_0x44b740(0x120)])(_0x245f24)});return _0x1a564e+=_0x4cdd5b['COLUMN_GROUP_END'],{'dataStream':_0x1a564e,'paragraphs':_0x31cffa,'sectionBreaks':_0xfb368f};}function _0x1c27d2(_0x543712){const _0x205663=_0x3b7bb1;var _0x418412;return new Set(((_0x418412=_0x543712['paragraphs'])==null?[]:_0x418412)[_0x205663(0x147)](_0xba1eb9=>_0xba1eb9['paragraphId']));}function _0x2116d1(_0x4a154b,_0x7866d1){const _0x20cf20=_0x3b7bb1;return(_0x4a154b==null?[]:_0x4a154b)['some'](_0x162ef1=>_0x7866d1>_0x162ef1[_0x20cf20(0x1cf)]&&_0x7866d1<_0x162ef1[_0x20cf20(0x121)]);}function _0x445980(_0xb37162){return _0xb37162!=null&&_0x32f181['has'](_0xb37162);}function _0x4cddca(_0x36c58f){const _0x4ea15b=_0x3b7bb1;var _0x559d10;return((_0x559d10=_0x36c58f[_0x4ea15b(0x171)])==null?void 0x0:_0x559d10[_0x4ea15b(0x12d)])===_0x1d19c5[_0x4ea15b(0x16e)][_0x4ea15b(0x141)];}function _0x1319b6(_0x4e101f,_0x258b75,_0x3eaa1c){const _0x399cbf=_0x3b7bb1;return _0x4e101f[_0x399cbf(0x147)](_0x31861a=>_0x31861a[_0x399cbf(0x1cf)]>=_0x258b75?{..._0x31861a,'startIndex':_0x31861a['startIndex']+_0x3eaa1c}:_0x31861a);}function _0x9a7669(_0x67b45b,_0x477aaa,_0x547110){const _0x4d7db2=_0x3b7bb1;return _0x67b45b[_0x4d7db2(0x147)](_0x1326d7=>_0x1326d7['startIndex']>=_0x477aaa?{..._0x1326d7,'startIndex':_0x1326d7[_0x4d7db2(0x1cf)]+_0x547110,'endIndex':_0x1326d7[_0x4d7db2(0x121)]+_0x547110}:_0x1326d7[_0x4d7db2(0x121)]>=_0x477aaa?{..._0x1326d7,'endIndex':_0x1326d7[_0x4d7db2(0x121)]+_0x547110}:_0x1326d7);}function _0x361ecd(_0x5e04ff,_0x26f80b,_0x181f2d){const _0x54a7ef=_0x3b7bb1;return _0x5e04ff[_0x54a7ef(0x147)](_0x105e3c=>_0x105e3c['st']>=_0x26f80b?{..._0x105e3c,'st':_0x105e3c['st']+_0x181f2d,'ed':_0x105e3c['ed']+_0x181f2d}:_0x105e3c['ed']>=_0x26f80b?{..._0x105e3c,'ed':_0x105e3c['ed']+_0x181f2d}:_0x105e3c);}let _0x22127a={'id':'doc.command.insert-column-group','type':_0x1d19c5[_0x3b7bb1(0x196)][_0x3b7bb1(0x199)],'handler':(_0x3fb3d1,_0xa402b9)=>{const _0x1dddd7=_0x3b7bb1;var _0x3485c9;let _0x4c7faa=_0x4ebc3a(_0xa402b9),_0x22f16c=_0x26a701(_0x3fb3d1,_0x4c7faa[_0x1dddd7(0x1ba)]);if(!_0x22f16c)return!0x1;let _0x488e86=_0x31ef9a(_0x3fb3d1,_0x22f16c[_0x1dddd7(0x1ba)],_0x4c7faa);if(typeof _0x488e86!='number')return!0x1;let _0x2aa151=_0x4fa04a(_0x22f16c[_0x1dddd7(0x11b)],_0x488e86,{'snapToParagraphEnd':!0x0}),_0x528827=_0x4cb114(_0x4c7faa),_0xd52c8b=(_0x3485c9=_0x4c7faa[_0x1dddd7(0x164)])==null?(0x0,_0x1d19c5['generateRandomId'])(0x6):_0x3485c9,_0x2fe940=Array[_0x1dddd7(0x1e1)]({'length':_0x528827},(_0x4ffb6e,_0x18762e)=>{const _0x334300=_0x1dddd7;var _0x44e2ef,_0x401922;return(_0x44e2ef=(_0x401922=_0x4c7faa[_0x334300(0x12c)])==null?void 0x0:_0x401922[_0x18762e])==null?(0x0,_0x1d19c5['generateRandomId'])(0x6):_0x44e2ef;});try{let _0x58f890=_0x571615({'documentData':_0x22f16c[_0x1dddd7(0x11b)],'columnGroupId':_0xd52c8b,'columnIds':_0x2fe940,'columnCount':_0x528827,'offset':_0x2aa151,'gap':_0x4c7faa[_0x1dddd7(0x138)]});_0x439593(_0x58f890[_0x1dddd7(0x1e4)],_0xd52c8b,_0x4c7faa['widthRatios']);let _0x276b01=_0x2aa151+0x2;return _0x520cad(_0x22f16c,_0x58f890[_0x1dddd7(0x1e4)],[{'startOffset':_0x276b01,'endOffset':_0x276b01,'collapsed':!0x0}]);}catch{return!0x1;}}};function _0x23e264(_0x162e2e,_0x3c21bb){const _0x57eeae=_0x3b7bb1;return!_0x162e2e||typeof _0x3c21bb!=_0x57eeae(0x1cc)?!0x1:_0x1213a6(_0x162e2e,_0x4fa04a(_0x162e2e,_0x3c21bb));}function _0x4fa04a(_0x3199d7,_0x2e8738,_0x470042={}){const _0x4647e2=_0x3b7bb1;var _0x19fd80;let _0x53d80b=_0x3199d7[_0x4647e2(0x1ad)];if(!(_0x53d80b!=null&&_0x53d80b[_0x4647e2(0x144)]))return _0x2e8738;if(_0x9b65c8(_0x3199d7,_0x2e8738))return _0x2e8738+0x1;if(!_0x470042[_0x4647e2(0x1a1)])return _0x2e8738;let _0x1d20e2=[...(_0x19fd80=_0x53d80b[_0x4647e2(0x149)])==null?[]:_0x19fd80]['sort']((_0x2d0965,_0x2ec99f)=>_0x2d0965[_0x4647e2(0x1cf)]-_0x2ec99f[_0x4647e2(0x1cf)])[_0x4647e2(0x158)](_0x47f6a3=>_0x2e8738<=_0x47f6a3[_0x4647e2(0x1cf)]&&!_0x4d7abe(_0x53d80b[_0x4647e2(0x144)],_0x2e8738,_0x47f6a3['startIndex']));return _0x1d20e2?_0x1d20e2[_0x4647e2(0x1cf)]+0x1:_0x2e8738;}function _0x4ebc3a(_0x4810ee){const _0x2168bc=_0x3b7bb1;return typeof _0x4810ee==_0x2168bc(0x156)||typeof _0x4810ee=='number'?{'value':_0x4810ee}:_0x4810ee==null?{}:_0x4810ee;}function _0x4cb114(_0x10e751){const _0x4bb539=_0x3b7bb1;var _0x7da39b,_0x4b530e,_0x1ad92c;if(_0x10e751['value']!=null){var _0x5ddc5e;return(_0x5ddc5e=_0x31758c(_0x10e751[_0x4bb539(0x1b1)]))==null?0x2:_0x5ddc5e;}return(_0x7da39b=_0x10e751['columnCount'])==null?Math[_0x4bb539(0x12b)](0x2,(_0x4b530e=(_0x1ad92c=_0x10e751[_0x4bb539(0x12c)])==null?void 0x0:_0x1ad92c['length'])==null?0x2:_0x4b530e):_0x7da39b;}function _0x31758c(_0x4a3a97){const _0x5e8a79=_0x3b7bb1;let _0x3a274c=Number(_0x4a3a97);return Number[_0x5e8a79(0x184)](_0x3a274c)?Math[_0x5e8a79(0x12b)](0x2,Math[_0x5e8a79(0x111)](0x5,Math[_0x5e8a79(0x19c)](_0x3a274c))):null;}function _0x31ef9a(_0x42eb5a,_0x2694e1,_0x149a79){const _0x24e1cd=_0x3b7bb1;if(typeof _0x149a79['offset']==_0x24e1cd(0x1cc))return _0x149a79[_0x24e1cd(0x142)];let _0x5361af=_0x25108e(_0x42eb5a,_0x2694e1);if(_0x5361af)return _0x5361af[_0x24e1cd(0x197)];let _0x16389b=_0x6736eb(_0x42eb5a);return!_0x16389b||_0x16389b[_0x24e1cd(0x177)]===!0x1||_0x16389b['startOffset']!==_0x16389b[_0x24e1cd(0x14d)]?null:_0x16389b[_0x24e1cd(0x197)];}function _0x6736eb(_0x5cb325){const _0x3f5653=_0x3b7bb1;try{var _0x311930;return(_0x311930=_0x5cb325[_0x3f5653(0x13f)](_0x59d2f6[_0x3f5653(0x1e0)])[_0x3f5653(0x1af)]())==null?null:_0x311930;}catch{return null;}}function _0x25108e(_0x4399d7,_0x2c009f){try{return _0x4399d7['get'](_0x59d2f6['DocContentInsertService'])['consumeInsertRange'](_0x2c009f);}catch{return null;}}function _0x439593(_0x282249,_0x4779a0,_0x3c3430){const _0x32696c=_0x3b7bb1;var _0x48adad;let _0x742764=(_0x48adad=_0x282249[_0x32696c(0x1ad)])==null||(_0x48adad=_0x48adad[_0x32696c(0x1a2)])==null?void 0x0:_0x48adad[_0x32696c(0x158)](_0x1b5ab8=>_0x1b5ab8[_0x32696c(0x164)]===_0x4779a0);if(!(!_0x742764||!_0x3c3430)){if(!_0x742764[_0x32696c(0x178)]||_0x742764[_0x32696c(0x178)][_0x32696c(0x1d1)]!==_0x3c3430[_0x32696c(0x1d1)]||_0x3c3430[_0x32696c(0x1bb)](_0x5333ad=>!Number[_0x32696c(0x184)](_0x5333ad)||_0x5333ad<=0x0))throw Error(_0x32696c(0x11e));_0x742764[_0x32696c(0x178)]=_0x742764['columns']['map']((_0x357119,_0x4366ba)=>({..._0x357119,'widthRatio':_0x3c3430[_0x4366ba]}));}}function _0x9b65c8(_0x9758a7,_0x599842){const _0x16d288=_0x3b7bb1;var _0x476846;let _0x3ab588=(_0x476846=_0x9758a7[_0x16d288(0x1ad)])==null||(_0x476846=_0x476846[_0x16d288(0x144)])==null?void 0x0:_0x476846[_0x599842];return(_0x3ab588===_0x1d19c5[_0x16d288(0x1d3)][_0x16d288(0x1d4)]||_0x3ab588===_0x4cdd5b['COLUMN_GROUP_END'])&&_0x1213a6(_0x9758a7,_0x599842+0x1);}let _0x2a3eb9=new Set([_0x4cdd5b[_0x3b7bb1(0x160)],_0x4cdd5b[_0x3b7bb1(0x18f)],_0x4cdd5b[_0x3b7bb1(0x188)],_0x4cdd5b[_0x3b7bb1(0x1df)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x119)],_0x1d19c5['DataStreamTreeTokenType'][_0x3b7bb1(0x1ca)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x15b)],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x1c7)],_0x1d19c5[_0x3b7bb1(0x1d3)]['TABLE_ROW_END'],_0x1d19c5[_0x3b7bb1(0x1d3)][_0x3b7bb1(0x1d4)]]);function _0x4d7abe(_0x5735ab,_0x828e7,_0x46ba09){const _0x366de2=_0x3b7bb1;for(let _0x323e29=_0x828e7;_0x323e29<=_0x46ba09;_0x323e29++)if(_0x2a3eb9[_0x366de2(0x13b)](_0x5735ab[_0x323e29]))return!0x0;return!0x1;}function _0x12dbdf(_0x2e8b26){const _0x3b3b1e=_0x3b7bb1;var _0x1497cb;let _0x32af0a=_0x152805(_0x2e8b26['availableWidth']),_0x3bbc4a=_0x152805((_0x1497cb=_0x2e8b26[_0x3b3b1e(0x1c6)][_0x3b3b1e(0x138)])==null?void 0x0:_0x1497cb['v']),_0x337c44=_0x2e8b26[_0x3b3b1e(0x1c6)][_0x3b3b1e(0x178)][_0x3b3b1e(0x1d1)];if(_0x337c44===0x0)return{'mode':_0x3b3b1e(0x19a),'width':_0x32af0a,'height':0x0,'columns':[]};if(_0x2e7ac7(_0x2e8b26[_0x3b3b1e(0x1c6)]['columns'],_0x32af0a,_0x3bbc4a,_0x2e8b26[_0x3b3b1e(0x1c6)][_0x3b3b1e(0x1ae)]))return{'mode':'stack','width':_0x32af0a,'height':_0x249ef5(_0x2e8b26[_0x3b3b1e(0x198)]),'columns':_0x2e8b26[_0x3b3b1e(0x1c6)][_0x3b3b1e(0x178)]['map'](_0x4a9eba=>({'columnId':_0x4a9eba[_0x3b3b1e(0x16b)],'left':0x0,'width':_0x32af0a}))};let _0x387d03=Math[_0x3b3b1e(0x12b)](0x0,_0x32af0a-_0x3bbc4a*(_0x337c44-0x1)),_0xbaf6ce=_0x408edc(_0x2e8b26[_0x3b3b1e(0x1c6)][_0x3b3b1e(0x178)],_0x387d03),_0xb7fc5f=0x0;return{'mode':_0x3b3b1e(0x19a),'width':_0x32af0a,'height':_0x5ee3be(_0x2e8b26['columnHeights']),'columns':_0x2e8b26['source'][_0x3b3b1e(0x178)][_0x3b3b1e(0x147)]((_0x47fa59,_0xf6c596)=>{let _0x404801={'columnId':_0x47fa59['columnId'],'left':_0xb7fc5f,'width':_0xbaf6ce[_0xf6c596]};return _0xb7fc5f+=_0xbaf6ce[_0xf6c596]+_0x3bbc4a,_0x404801;})};}function _0x2e7ac7(_0x67bd85,_0x428967,_0x51ab9b,_0x4d3065){const _0x2e6fbd=_0x3b7bb1;return _0x4d3065===_0x2e6fbd(0x1b5)?_0x67bd85[_0x2e6fbd(0x112)]((_0x91c8ce,_0x45d04f)=>_0x91c8ce+_0x42be62(_0x45d04f),0x0)+_0x51ab9b*Math[_0x2e6fbd(0x12b)](0x0,_0x67bd85[_0x2e6fbd(0x1d1)]-0x1)>_0x428967:!0x1;}function _0x408edc(_0x1a402d,_0x102ea6){const _0x3ab9e6=_0x3b7bb1;let _0x231231=_0x1a402d[_0x3ab9e6(0x147)](_0x304879=>_0x152805(_0x304879[_0x3ab9e6(0x1b9)])||0x1),_0x16068f=_0x231231[_0x3ab9e6(0x112)]((_0x477d70,_0x51c240)=>_0x477d70+_0x51c240,0x0)||_0x1a402d['length'],_0x462c23=_0x1a402d['map']((_0x36e333,_0x29dea5)=>_0x102ea6*_0x231231[_0x29dea5]/_0x16068f),_0x2d519b=_0x1a402d[_0x3ab9e6(0x147)](_0x42be62),_0x1f93c3=_0x462c23[_0x3ab9e6(0x147)]((_0x16b195,_0x4a14ba)=>Math['max'](_0x16b195,_0x2d519b[_0x4a14ba])),_0x2cb60e=_0x1f93c3[_0x3ab9e6(0x112)]((_0x493091,_0x400bed)=>_0x493091+_0x400bed,0x0)-_0x102ea6;return _0x2cb60e<=0x0?_0x1f93c3:_0x24ba74(_0x1f93c3,_0x2d519b,_0x2cb60e);}function _0x24ba74(_0x30286d,_0x2b5212,_0x32c304){const _0x33505e=_0x3b7bb1;let _0x59b25f=[..._0x30286d],_0x41dfc6=_0x32c304,_0x391e67=_0x59b25f[_0x33505e(0x147)]((_0x557911,_0x4bf3ce)=>({'index':_0x4bf3ce,'shrink':Math['max'](0x0,_0x557911-_0x2b5212[_0x4bf3ce])}))['filter'](_0x531f4a=>_0x531f4a[_0x33505e(0x1b7)]>0x0);for(;_0x41dfc6>0x0&&_0x391e67[_0x33505e(0x1d1)]>0x0;){let _0x3126df=_0x391e67['reduce']((_0x232ba7,_0x11a310)=>_0x232ba7+_0x11a310[_0x33505e(0x1b7)],0x0);for(let _0xf7b293 of _0x391e67){let _0x3a20f4=Math[_0x33505e(0x111)](_0xf7b293[_0x33505e(0x1b7)],_0x41dfc6*_0xf7b293['shrink']/_0x3126df);_0x59b25f[_0xf7b293['index']]-=_0x3a20f4,_0x41dfc6-=_0x3a20f4;}_0x391e67=_0x59b25f[_0x33505e(0x147)]((_0x3f36f5,_0x2d7b91)=>({'index':_0x2d7b91,'shrink':Math[_0x33505e(0x12b)](0x0,_0x3f36f5-_0x2b5212[_0x2d7b91])}))[_0x33505e(0x114)](_0x1837b7=>_0x1837b7[_0x33505e(0x1b7)]>0x0);}return _0x59b25f;}function _0x42be62(_0x11a912){const _0x27e3aa=_0x3b7bb1;var _0x2d1f45;return _0x152805((_0x2d1f45=_0x11a912[_0x27e3aa(0x16a)])==null?void 0x0:_0x2d1f45['v']);}function _0x249ef5(_0x1a481c){return(_0x1a481c==null?[]:_0x1a481c)['reduce']((_0x224df4,_0x1d5fb1)=>_0x224df4+_0x152805(_0x1d5fb1),0x0);}function _0x5ee3be(_0x263e4f){const _0x1e35bd=_0x3b7bb1;let _0x238b88=0x0;for(let _0x42c183 of _0x263e4f==null?[]:_0x263e4f)_0x238b88=Math[_0x1e35bd(0x12b)](_0x238b88,_0x152805(_0x42c183));return _0x238b88;}function _0x152805(_0x1cae90){const _0x390b5a=_0x3b7bb1;return Number[_0x390b5a(0x184)](_0x1cae90)&&(_0x1cae90==null?0x0:_0x1cae90)>0x0?_0x1cae90:0x0;}function _0x5810ab(_0x359ea1){const _0x366e65=_0x3b7bb1;var _0x1357c8,_0x47942f;let _0x4a8592=_0x359ea1[_0x366e65(0x1c6)][_0x366e65(0x178)],_0x55a6fa=_0x359ea1[_0x366e65(0x168)];if(_0x4a8592[_0x366e65(0x1d1)]<0x2||_0x55a6fa<0x0||_0x55a6fa>=_0x4a8592[_0x366e65(0x1d1)]-0x1)return null;let _0x8427a9=Math[_0x366e65(0x12b)](0x0,(_0x1357c8=(_0x47942f=_0x359ea1[_0x366e65(0x1c6)][_0x366e65(0x138)])==null?void 0x0:_0x47942f['v'])==null?0x0:_0x1357c8),_0x3cd4f0=Math[_0x366e65(0x12b)](0x0,_0x359ea1[_0x366e65(0x140)]-_0x8427a9*(_0x4a8592['length']-0x1)),_0x5753ac=_0x5941e8(_0x4a8592[_0x366e65(0x147)](_0x4c7e6b=>_0x4c7e6b['widthRatio']),_0x3cd4f0),_0x54c18b=_0x4a8592[_0x366e65(0x147)](_0x387a1f=>{const _0x3fdf18=_0x366e65;var _0x221940,_0x1de314;return Math[_0x3fdf18(0x12b)](0x0,(_0x221940=(_0x1de314=_0x387a1f['minWidth'])==null?void 0x0:_0x1de314['v'])==null?0x0:_0x221940);}),_0x4565a2=_0x55a6fa,_0x42fa46=_0x55a6fa+0x1,_0x5ba0bf=_0x5753ac[_0x4565a2]+_0x5753ac[_0x42fa46],_0x36ce12=Math['min'](_0x54c18b[_0x4565a2],_0x5ba0bf),_0xa00704=Math[_0x366e65(0x111)](_0x54c18b[_0x42fa46],Math[_0x366e65(0x12b)](0x0,_0x5ba0bf-_0x36ce12)),_0x323d8e=_0x17b059(_0x5753ac[_0x4565a2]+_0x359ea1['delta'],_0x36ce12,Math[_0x366e65(0x12b)](_0x36ce12,_0x5ba0bf-_0xa00704));return _0x5753ac[_0x4565a2]=_0x323d8e,_0x5753ac[_0x42fa46]=_0x5ba0bf-_0x323d8e,_0x5753ac;}function _0x5941e8(_0x47edaa,_0x376fd9){const _0x3583ff=_0x3b7bb1;let _0x2f42ed=_0x47edaa[_0x3583ff(0x112)]((_0x2ff12b,_0x337a99)=>_0x2ff12b+_0x599980(_0x337a99),0x0)||_0x47edaa['length'];return _0x47edaa['map'](_0xdbdd68=>_0x376fd9*_0x599980(_0xdbdd68)/_0x2f42ed);}function _0x599980(_0x2545a2){const _0x3f5711=_0x3b7bb1;return Math[_0x3f5711(0x12b)](0x0,_0x2545a2||0x0)||0x1;}function _0x17b059(_0x308cd7,_0x10f011,_0x434087){const _0x31c297=_0x3b7bb1;return Math['min'](_0x434087,Math[_0x31c297(0x12b)](_0x10f011,_0x308cd7));}function _0xc4399f(_0x1a59ad,_0x1a533d,_0x43b684){let {docsLeft:_0x43e941=0x0,pageMarginTop:_0x47a1a0=0x0,tableCellInsetX:_0x4b7010=0x0,unitId:_0x3abf03=''}=_0x1a533d;_0x1a59ad['forEach']((_0x16d090,_0x2b38d8)=>{const _0x3f521b=_0x473c;var _0x5201f9;let _0x582987=((_0x16d090[_0x3f521b(0x122)]===0x1/0x0?0x0:_0x16d090[_0x3f521b(0x122)])+_0x47a1a0)*_0x2b38d8+_0x16d090[_0x3f521b(0x17b)],_0x384f68=_0x16d090['marginLeft'];_0xe8482(_0x16d090,{'pageIndex':_0x2b38d8,'pageLeft':_0x384f68,'pageTop':_0x582987,'source':'page','getBounds':(_0x444a65,_0x54d685,_0x2806d5)=>_0x3a7bf8(_0x444a65,_0x54d685,_0x2806d5[_0x3f521b(0x178)]['length'],_0x384f68)},_0x43b684),(_0x5201f9=_0x16d090[_0x3f521b(0x186)])==null||_0x5201f9[_0x3f521b(0x169)]((_0x2918ad,_0x325178)=>{_0x43b52f(_0x2918ad,_0x325178,_0x2b38d8,_0x384f68,_0x582987,_0x43e941,_0x4b7010,_0x3abf03,_0x43b684);}),_0x5e0654(_0x16d090,_0x384f68,_0x582987,(_0x4ebd0d,_0x3b2c08,_0x30cc49,_0x84068e)=>{const _0x5677e3=_0x3f521b;var _0xc08582;_0xe8482(_0x4ebd0d,{'pageIndex':_0x2b38d8,'pageLeft':_0x3b2c08,'pageTop':_0x30cc49,'source':_0x5677e3(0x12e),'getBounds':(_0x4abe39,_0x3091f9)=>({'lineWidth':Math[_0x5677e3(0x12b)](_0x2940df(_0x3091f9[_0x5677e3(0x1c0)]),_0x84068e-_0x3091f9['left']),'visualLeft':_0x3b2c08+_0x3091f9[_0x5677e3(0x19b)],'visualWidth':Math[_0x5677e3(0x12b)](_0x2940df(_0x3091f9['width']),_0x84068e-_0x3091f9['left'])})},_0x43b684),(_0xc08582=_0x4ebd0d[_0x5677e3(0x186)])==null||_0xc08582['forEach']((_0x3d7780,_0x2900ed)=>{_0x43b52f(_0x3d7780,_0x2900ed,_0x2b38d8,_0x3b2c08,_0x30cc49,_0x43e941,_0x4b7010,_0x3abf03,_0x43b684);});});});}function _0x459d07(_0x3ab2d6,_0x1e1f9a={}){const _0x4a707f=_0x3b7bb1;let {docsLeft:_0x2c4228=0x0,docsTop:_0x456112=0x0,pageMarginTop:_0x4aaed3=0x0,resolveViewport:_0x244620=!0x1,tableCellInsetX:_0x2ff4a7=0x0,unitId:_0xca3ab5=''}=_0x1e1f9a,_0x5905bd=[];return _0x3ab2d6[_0x4a707f(0x169)]((_0x25e342,_0x33a86c)=>{const _0x38c29a=_0x4a707f;let _0x866c2b=((_0x25e342[_0x38c29a(0x122)]===0x1/0x0?0x0:_0x25e342['pageHeight'])+_0x4aaed3)*_0x33a86c+_0x25e342[_0x38c29a(0x17b)]+_0x456112,_0x85782e=_0x25e342[_0x38c29a(0x167)]+_0x2c4228;_0x31cd2f({'contexts':_0x5905bd,'docsLeft':_0x2c4228,'page':_0x25e342,'pageIndex':_0x33a86c,'pageLeft':_0x85782e,'pageTop':_0x866c2b,'rootPage':_0x25e342,'resolveViewport':_0x244620,'source':'page','tableCellInsetX':_0x2ff4a7,'unitId':_0xca3ab5}),_0x5e0654(_0x25e342,_0x85782e,_0x866c2b,(_0x49ebe6,_0x286a20,_0x22bde7)=>{_0x31cd2f({'contexts':_0x5905bd,'docsLeft':_0x2c4228,'page':_0x49ebe6,'pageIndex':_0x33a86c,'pageLeft':_0x286a20,'pageTop':_0x22bde7,'rootPage':_0x25e342,'resolveViewport':_0x244620,'source':'column','tableCellInsetX':_0x2ff4a7,'unitId':_0xca3ab5});});}),_0x5905bd;}function _0x43b52f(_0x34a6dc,_0x1cc8fd,_0x2abeed,_0x92e3bf,_0x4a0c37,_0x1bc231,_0x5ba00d,_0x243c88,_0x4dfe7d){const _0x2fff3a=_0x3b7bb1;var _0x46979e;let _0x49121c=(0x0,_0x4821a9['getDocsTableRenderViewport'])(_0x243c88,_0x15334a((_0x46979e=_0x34a6dc[_0x2fff3a(0x192)])==null?_0x1cc8fd:_0x46979e)),_0x4175b7=_0x39d6b7(_0x49121c),_0x5bdd72=_0x5e1072(_0x92e3bf,_0x34a6dc[_0x2fff3a(0x19b)],_0x49121c,_0x1bc231),_0x274ec3=_0x5bdd72+(_0x4175b7?_0x49121c[_0x2fff3a(0x126)]:_0x34a6dc[_0x2fff3a(0x1c0)]),_0x56845e=_0x4175b7?_0x49121c[_0x2fff3a(0x161)]:0x0,_0x212d25=_0x92e3bf+_0x34a6dc[_0x2fff3a(0x19b)],_0x2a22a8=_0x4a0c37+_0x34a6dc[_0x2fff3a(0x190)];_0x34a6dc[_0x2fff3a(0x148)][_0x2fff3a(0x169)](_0x1b5855=>{const _0x3dd4b8=_0x2fff3a;_0x1b5855[_0x3dd4b8(0x18e)][_0x3dd4b8(0x169)](_0x1c87d4=>{const _0x2a5a8d=_0x3dd4b8;var _0x130651,_0x4d9742,_0x349691,_0x47da71,_0x1141df,_0x457c04;let _0x1fd0cf=(_0x130651=_0x1c87d4[_0x2a5a8d(0x167)])==null?0x0:_0x130651,_0x4a9bd0=(_0x4d9742=_0x1c87d4[_0x2a5a8d(0x1d0)])==null?0x0:_0x4d9742,_0x30791b=(_0x349691=_0x1c87d4['marginTop'])==null?0x0:_0x349691,_0x212105=(_0x47da71=_0x1c87d4['pageWidth'])==null?0x0:_0x47da71,_0x2c656c=_0x212d25+((_0x1141df=_0x1c87d4[_0x2a5a8d(0x19b)])==null?0x0:_0x1141df)-_0x56845e+_0x1fd0cf,_0x50ee05=_0x2a22a8+((_0x457c04=_0x1b5855[_0x2a5a8d(0x190)])==null?0x0:_0x457c04)+_0x30791b,_0x107ca8=_0x2c656c+_0x212105-_0x1fd0cf-_0x4a9bd0,_0x49e93c=_0x2c656c+_0x5ba00d,_0x214868=_0x107ca8-_0x5ba00d,_0x37a736=Math['max'](0x0,_0x214868-_0x49e93c),_0x120364=_0x5bdd72,_0x11124a=Math[_0x2a5a8d(0x111)](_0x107ca8,_0x274ec3);_0x37a736<=0x0||Math['min'](_0x214868,_0x11124a)<=Math[_0x2a5a8d(0x12b)](_0x49e93c,_0x120364)||_0xe8482(_0x1c87d4,{'clipLeft':_0x120364,'clipRight':_0x11124a,'pageIndex':_0x2abeed,'pageLeft':_0x2c656c,'pageTop':_0x50ee05,'source':_0x2a5a8d(0x173),'visualLeft':_0x49e93c,'visualWidth':_0x37a736},_0x4dfe7d);});});}function _0xe8482(_0x23c231,_0x47015f,_0x593856){const _0x27d254=_0x3b7bb1;_0x23c231['sections'][_0x27d254(0x169)](_0x55e2e8=>{const _0xadb6a1=_0x27d254;_0x55e2e8[_0xadb6a1(0x178)][_0xadb6a1(0x169)](_0x3857f9=>{const _0x486440=_0xadb6a1;_0x3857f9[_0x486440(0x11f)][_0x486440(0x169)](_0x5ced78=>{const _0x2760cb=_0x486440;var _0x10f6ff,_0x5eb6b9,_0x5e9f7e,_0x124b33,_0x2b0abd;let _0x33d937=(_0x10f6ff=_0x47015f[_0x2760cb(0x135)])==null?void 0x0:_0x10f6ff[_0x2760cb(0x1a9)](_0x47015f,_0x23c231,_0x3857f9,_0x55e2e8);_0x593856({'clipLeft':_0x47015f[_0x2760cb(0x1db)],'clipRight':_0x47015f[_0x2760cb(0x1b6)],'column':_0x3857f9,'line':_0x5ced78,'lineWidth':(_0x5eb6b9=(_0x5e9f7e=_0x33d937==null?void 0x0:_0x33d937[_0x2760cb(0x1ec)])==null?_0x33d937==null?void 0x0:_0x33d937[_0x2760cb(0x179)]:_0x5e9f7e)==null?_0x2940df(_0x3857f9['width']):_0x5eb6b9,'page':_0x23c231,'pageIndex':_0x47015f[_0x2760cb(0x1c4)],'pageLeft':_0x47015f['pageLeft'],'section':_0x55e2e8,'sectionTop':_0x47015f[_0x2760cb(0x137)]+_0x55e2e8[_0x2760cb(0x190)],'source':_0x47015f[_0x2760cb(0x1c6)],'visualLeft':(_0x124b33=_0x33d937==null?void 0x0:_0x33d937[_0x2760cb(0x1b8)])==null?_0x47015f[_0x2760cb(0x1b8)]:_0x124b33,'visualWidth':(_0x2b0abd=_0x33d937==null?void 0x0:_0x33d937[_0x2760cb(0x179)])==null?_0x47015f[_0x2760cb(0x179)]:_0x2b0abd});});});});}function _0x31cd2f(_0x7f8643){const _0x1458f7=_0x3b7bb1;var _0x175139;let {contexts:_0x3db65c,docsLeft:_0x525040,page:_0x35ffcf,pageIndex:_0x105742,pageLeft:_0x4e12f2,pageTop:_0x5f1014,resolveViewport:_0x5d98d0,rootPage:_0x52376f,source:_0x4e4565,tableCellInsetX:_0x3cb8ed,unitId:_0x3ca8b3}=_0x7f8643;(_0x175139=_0x35ffcf[_0x1458f7(0x186)])==null||_0x175139['forEach']((_0x2874b7,_0x31dc3b)=>{const _0x271fe0=_0x1458f7;var _0x5bf047;let _0x26ff2e=(_0x5bf047=_0x2874b7[_0x271fe0(0x192)])==null?_0x31dc3b:_0x5bf047,_0x3b47d8=_0x4e12f2+_0x2874b7[_0x271fe0(0x19b)],_0x35a09=_0x5f1014+_0x2874b7[_0x271fe0(0x190)],_0x5d0ed2=_0x15334a(_0x26ff2e),_0xb34f48=_0x5d98d0?(0x0,_0x4821a9[_0x271fe0(0x1d5)])(_0x3ca8b3,_0x5d0ed2):null,_0x43df50=_0x39d6b7(_0xb34f48),_0x534802=_0x5e1072(_0x4e12f2,_0x2874b7[_0x271fe0(0x19b)],_0xb34f48,_0x525040),_0x3adbbc=_0x534802+(_0x43df50?_0xb34f48[_0x271fe0(0x126)]:_0x2874b7['width']),_0x4ad6fc=_0x43df50?_0xb34f48[_0x271fe0(0x161)]:0x0,_0x411766=[];_0x2874b7[_0x271fe0(0x148)][_0x271fe0(0x169)]((_0x5a7864,_0x337f0b)=>{const _0x18f425=_0x271fe0;_0x5a7864[_0x18f425(0x18e)][_0x18f425(0x169)]((_0x44bf50,_0x5c9255)=>{const _0x41d48c=_0x18f425;var _0x38dab4,_0x346e20,_0x2d0300,_0x32ad1b,_0x1c497c,_0x43a080,_0xfb72fb,_0x4ff5f5;if(_0x44bf50[_0x41d48c(0x170)])return;let _0x530406=(_0x38dab4=_0x44bf50[_0x41d48c(0x167)])==null?0x0:_0x38dab4,_0x288916=(_0x346e20=_0x44bf50[_0x41d48c(0x1d0)])==null?0x0:_0x346e20,_0x2e645e=(_0x2d0300=_0x44bf50[_0x41d48c(0x17b)])==null?0x0:_0x2d0300,_0x2497b8=(_0x32ad1b=_0x44bf50[_0x41d48c(0x14a)])==null?0x0:_0x32ad1b,_0x461483=(_0x1c497c=_0x44bf50[_0x41d48c(0x11d)])==null?0x0:_0x1c497c,_0x2e3e87=(_0x43a080=_0x44bf50[_0x41d48c(0x122)])==null?0x0:_0x43a080,_0x8e772f=_0x35a09+((_0xfb72fb=_0x5a7864['top'])==null?0x0:_0xfb72fb)+_0x2e645e,_0x1dfa67=_0x3b47d8+((_0x4ff5f5=_0x44bf50['left'])==null?0x0:_0x4ff5f5)-_0x4ad6fc+_0x530406,_0x34a641=_0x1dfa67+_0x461483-_0x530406-_0x288916,_0x499335=_0x1dfa67+_0x3cb8ed,_0x358d98=_0x34a641-_0x3cb8ed,_0xec7628=Math[_0x41d48c(0x12b)](0x0,_0x358d98-_0x499335),_0xa00c6c=_0x534802,_0xeda25d=Math[_0x41d48c(0x111)](_0x34a641,_0x3adbbc);_0xec7628<=0x0||Math[_0x41d48c(0x111)](_0x358d98,_0xeda25d)<=Math[_0x41d48c(0x12b)](_0x499335,_0xa00c6c)||_0x411766[_0x41d48c(0x12f)]({'cell':_0x44bf50,'cellRect':{'bottom':_0x8e772f+_0x2e3e87-_0x2497b8-_0x2e645e,'left':_0x1dfa67,'right':_0x34a641,'top':_0x8e772f},'clipLeft':_0xa00c6c,'clipRight':_0xeda25d,'columnIndex':_0x5c9255,'pageLeft':_0x1dfa67,'pageTop':_0x8e772f,'row':_0x5a7864,'rowIndex':_0x337f0b,'visualLeft':_0x499335,'visualWidth':_0xec7628});});}),_0x3db65c[_0x271fe0(0x12f)]({'cells':_0x411766,'page':_0x35ffcf,'pageIndex':_0x105742,'pageLeft':_0x4e12f2,'pageTop':_0x5f1014,'rootPage':_0x52376f,'source':_0x4e4565,'table':_0x2874b7,'tableId':_0x26ff2e,'tableRect':{'bottom':_0x35a09+_0x2874b7[_0x271fe0(0x154)],'left':_0x3b47d8,'right':_0x3b47d8+_0x2874b7['width'],'top':_0x35a09}});});}function _0x5e0654(_0x4c8d91,_0x4158fc,_0x15d945,_0x1d459b){const _0x5c1384=_0x3b7bb1;var _0x269b21;(_0x269b21=_0x4c8d91[_0x5c1384(0x185)])==null||_0x269b21[_0x5c1384(0x169)](_0x382e97=>{const _0x184556=_0x5c1384;_0x382e97['columns'][_0x184556(0x169)](_0x10e434=>{const _0x5bb11d=_0x184556;var _0x10dba6,_0x219bcd;let _0x1c4830=Math[_0x5bb11d(0x12b)](0x0,((_0x10dba6=(_0x219bcd=_0x10e434[_0x5bb11d(0x1c0)])==null?_0x10e434[_0x5bb11d(0x1e3)][_0x5bb11d(0x11d)]:_0x219bcd)==null?0x0:_0x10dba6)-_0x10e434[_0x5bb11d(0x1e3)][_0x5bb11d(0x167)]-_0x10e434[_0x5bb11d(0x1e3)]['marginRight']);_0x1d459b(_0x10e434[_0x5bb11d(0x1e3)],_0x4158fc+_0x382e97[_0x5bb11d(0x19b)]+_0x10e434[_0x5bb11d(0x19b)]+_0x10e434[_0x5bb11d(0x1e3)][_0x5bb11d(0x167)],_0x15d945+_0x382e97[_0x5bb11d(0x190)]+_0x10e434['top']+_0x10e434[_0x5bb11d(0x1e3)][_0x5bb11d(0x17b)],_0x1c4830);});});}function _0x3a7bf8(_0x3e294e,_0x347a9c,_0x4188b4,_0x3e7948){const _0x5656c0=_0x3b7bb1;if(_0x4188b4!==0x1||!Number[_0x5656c0(0x184)](_0x3e294e[_0x5656c0(0x11d)]))return;let _0x6e406b=_0x3e7948+_0x347a9c[_0x5656c0(0x19b)],_0x373704=_0x3e294e[_0x5656c0(0x11d)]-_0x3e294e[_0x5656c0(0x1d0)],_0x47d02d=Math[_0x5656c0(0x12b)](0x0,_0x373704-_0x6e406b),_0x213938=Math[_0x5656c0(0x12b)](0x0,_0x3e294e['pageWidth']-_0x3e294e[_0x5656c0(0x167)]-_0x3e294e[_0x5656c0(0x1d0)]);return _0x47d02d>0x0?{'lineWidth':_0x213938,'visualLeft':_0x6e406b,'visualWidth':_0x47d02d}:void 0x0;}function _0x2940df(_0x2988c2){return Number['isFinite'](_0x2988c2)?_0x2988c2:0x0;}function _0x1c135a(_0x5e91b9){const _0x15d3ed=_0x3b7bb1;var _0x3bb9a,_0x59b5c4;return((_0x3bb9a=_0x5e91b9['leadingInsetLeft'])==null?0x0:_0x3bb9a)+_0x5e91b9[_0x15d3ed(0x1ab)]+((_0x59b5c4=_0x5e91b9[_0x15d3ed(0x11c)])==null?0x0:_0x59b5c4);}function _0x39d6b7(_0x4e1923){const _0x177b92=_0x3b7bb1;return _0x4e1923!=null&&_0x1c135a(_0x4e1923)>_0x4e1923[_0x177b92(0x126)];}function _0x5e1072(_0x1ba02e,_0xb1df92,_0x3f3721,_0xd4b282){let _0x4e74a0=_0x3f3721==null?void 0x0:_0x3f3721['viewportLeft'];return _0x4e74a0==null?_0x1ba02e+_0xb1df92:_0x4e74a0-_0xd4b282;}function _0x15334a(_0x207a2d){const _0x5e4e04=_0x3b7bb1;return _0x207a2d[_0x5e4e04(0x1bd)](_0x5e4e04(0x143))?_0x207a2d['split']('#-#')[0x0]:_0x207a2d;}function _0x543340(_0x1ddb69,_0x30d494={}){const _0x518100=_0x3b7bb1;var _0x4b5a7c,_0x1ffc02,_0x1dd792,_0x1f0aad,_0x28bb1d,_0x35ac30,_0x3e1a15,_0x17fae0,_0x1027cc,_0x133170,_0x38f276,_0x51687e;let _0x4e0dc5=_0x11efb5(_0x1ddb69)[_0x518100(0x1e4)],_0x51c2fa=_0x1d19c5[_0x518100(0x1a7)]['deepClone'](_0x4e0dc5),_0x35138e=_0x51c2fa['body'],_0x298c8b=_0x4e0dc5['body'],_0x31a8cb=[...(_0x4b5a7c=_0x298c8b==null?void 0x0:_0x298c8b[_0x518100(0x1a2)])==null?[]:_0x4b5a7c][_0x518100(0x1b2)]((_0x44f743,_0x4afc9e)=>_0x44f743[_0x518100(0x1cf)]-_0x4afc9e[_0x518100(0x1cf)]);if(!_0x35138e||!_0x298c8b||!_0x25e564(_0x35138e[_0x518100(0x144)],_0x298c8b['dataStream'],_0x31a8cb))return{'nextDocumentData':_0x51c2fa,'tableIdsByColumnGroupId':{}};let _0xb9a556={},_0x1fc306=new Set([...Object[_0x518100(0x181)]((_0x1ffc02=_0x4e0dc5['tableSource'])==null?{}:_0x1ffc02),...((_0x1dd792=(_0x1f0aad=_0x4e0dc5[_0x518100(0x1ad)])==null?void 0x0:_0x1f0aad[_0x518100(0x1bf)])==null?[]:_0x1dd792)[_0x518100(0x147)](_0x64cfc7=>_0x64cfc7[_0x518100(0x192)])]),_0x1ac99a=_0x1bd51a(_0x298c8b[_0x518100(0x144)],_0x31a8cb),_0x380dfc=_0x31a8cb['map'](_0x2f97bf=>{const _0x5422a3=_0x518100;let _0x7d4b26=_0x444431(_0x2f97bf['columnGroupId'],_0x1fc306,_0x30d494[_0x5422a3(0x1dd)]);return _0xb9a556[_0x2f97bf[_0x5422a3(0x164)]]=_0x7d4b26,{'startIndex':_0x5e9d4c(_0x2f97bf[_0x5422a3(0x1cf)],_0x31a8cb),'endIndex':_0x5e9d4c(_0x55a6ae(_0x298c8b[_0x5422a3(0x144)],_0x2f97bf),_0x31a8cb),'tableId':_0x7d4b26};});return _0x35138e[_0x518100(0x144)]=_0x1ac99a,_0x35138e['paragraphs']=_0x5128e7((_0x28bb1d=_0x35138e['paragraphs'])==null?[]:_0x28bb1d,_0x31a8cb),_0x35138e['sectionBreaks']=_0x5128e7((_0x35ac30=_0x35138e['sectionBreaks'])==null?[]:_0x35ac30,_0x31a8cb),_0x35138e[_0x518100(0x1cd)]=_0x5128e7((_0x3e1a15=_0x35138e[_0x518100(0x1cd)])==null?[]:_0x3e1a15,_0x31a8cb),_0x35138e['textRuns']=_0x293d91((_0x17fae0=_0x35138e['textRuns'])==null?[]:_0x17fae0,_0x31a8cb),_0x35138e[_0x518100(0x13e)]=_0x4a9516((_0x1027cc=_0x35138e[_0x518100(0x13e)])==null?[]:_0x1027cc,_0x31a8cb),_0x35138e[_0x518100(0x1dc)]=_0x4a9516((_0x133170=_0x35138e[_0x518100(0x1dc)])==null?[]:_0x133170,_0x31a8cb),_0x35138e['customDecorations']=_0x4a9516((_0x38f276=_0x35138e[_0x518100(0x176)])==null?[]:_0x38f276,_0x31a8cb),_0x35138e['tables']=[..._0x4a9516((_0x51687e=_0x35138e[_0x518100(0x1bf)])==null?[]:_0x51687e,_0x31a8cb),..._0x380dfc]['sort']((_0xe1b8ba,_0x3d2353)=>_0xe1b8ba[_0x518100(0x1cf)]-_0x3d2353['startIndex']),_0x35138e[_0x518100(0x1a2)]=[],_0x51c2fa['tableSource']={..._0x51c2fa['tableSource'],...Object[_0x518100(0x19d)](_0x31a8cb[_0x518100(0x147)](_0x5f178d=>[_0xb9a556[_0x5f178d['columnGroupId']],_0x3e0d9f(_0x4e0dc5,_0x5f178d,_0xb9a556[_0x5f178d['columnGroupId']])]))},{'nextDocumentData':_0x51c2fa,'tableIdsByColumnGroupId':_0xb9a556};}function _0x25e564(_0x729a91,_0x5c9e43,_0x4ad60a){const _0x495ad4=_0x3b7bb1;return!!(_0x729a91&&_0x5c9e43&&_0x4ad60a[_0x495ad4(0x1d1)]>0x0);}function _0x1bd51a(_0x172fd7,_0x46eb70){const _0x3cbb0c=_0x3b7bb1;let _0x24e7fc=0x0,_0x25df0c='';return _0x46eb70[_0x3cbb0c(0x169)](_0x5c4a80=>{const _0x179b95=_0x3cbb0c;_0x25df0c+=_0x172fd7[_0x179b95(0x19e)](_0x24e7fc,_0x5c4a80[_0x179b95(0x1cf)]),_0x25df0c+=_0x289cc7(_0x172fd7,_0x5c4a80),_0x24e7fc=_0x55a6ae(_0x172fd7,_0x5c4a80);}),_0x25df0c+_0x172fd7['slice'](_0x24e7fc);}function _0x289cc7(_0x3c3261,_0x47f840){const _0x4b4f53=_0x3b7bb1;let _0x4caccd={..._0x1d19c5[_0x4b4f53(0x1d3)],..._0x4cdd5b},_0x7724e9=''+_0x4caccd[_0x4b4f53(0x119)]+_0x4caccd[_0x4b4f53(0x1ca)],_0x31f8af=_0x55a6ae(_0x3c3261,_0x47f840);for(let _0x55c113=_0x47f840['startIndex'];_0x55c113<_0x31f8af;_0x55c113++){let _0x4347df=_0x3c3261[_0x55c113];if(!(_0x4347df===_0x4caccd['COLUMN_GROUP_START']||_0x4347df===_0x4caccd[_0x4b4f53(0x1df)])){if(_0x4347df===_0x4caccd[_0x4b4f53(0x18f)]){_0x7724e9+=_0x4caccd[_0x4b4f53(0x15b)];continue;}if(_0x4347df===_0x4caccd[_0x4b4f53(0x188)]){_0x7724e9+=_0x4caccd[_0x4b4f53(0x1c7)];continue;}_0x7724e9+=_0x4347df;}}return''+_0x7724e9+_0x4caccd[_0x4b4f53(0x123)]+_0x4caccd[_0x4b4f53(0x1d4)];}function _0x55a6ae(_0x57f0f5,_0x16e8ee){const _0x4be14d=_0x3b7bb1;return _0x57f0f5[_0x16e8ee[_0x4be14d(0x121)]]===_0x4cdd5b[_0x4be14d(0x1df)]?_0x16e8ee[_0x4be14d(0x121)]+0x1:_0x16e8ee[_0x4be14d(0x121)];}function _0x3e0d9f(_0x168155,_0x3b2ed1,_0x2e7aec){const _0x2d2bbd=_0x3b7bb1;var _0x35b04a,_0x3b9223,_0x5d2935;let _0x3fb81f=(_0x35b04a=_0x3b2ed1[_0x2d2bbd(0x178)])==null?[]:_0x35b04a,_0x24d21a=Math['max'](0x1,_0x3fb81f[_0x2d2bbd(0x1d1)],_0x562d67((_0x3b9223=(_0x5d2935=_0x168155['body'])==null?void 0x0:_0x5d2935[_0x2d2bbd(0x144)])==null?'':_0x3b9223,_0x3b2ed1)),_0x292fca=_0x56c0f0(_0x168155),_0x2b3304=Array[_0x2d2bbd(0x1e1)]({'length':_0x24d21a},(_0x48c49e,_0x1e84a7)=>{var _0x2da28c;return _0x24a36((_0x2da28c=_0x3fb81f[_0x1e84a7])==null?void 0x0:_0x2da28c['widthRatio']);}),_0x35a0ec=_0x2b3304[_0x2d2bbd(0x112)]((_0x364d97,_0xbfd50b)=>_0x364d97+_0xbfd50b,0x0)||_0x24d21a,_0xa9d009=Array[_0x2d2bbd(0x1e1)]({'length':_0x24d21a},(_0x43964f,_0x3ebc05)=>{let _0x70866d=_0x2b3304[_0x3ebc05];return _0x44989b(_0x292fca*_0x70866d/_0x35a0ec);});return{'tableRows':[{'tableCells':Array[_0x2d2bbd(0x1e1)]({'length':_0x24d21a},()=>_0x5f2804()),'trHeight':{'val':{'v':0x1e},'hRule':_0x1d19c5[_0x2d2bbd(0x1c5)][_0x2d2bbd(0x187)]}}],'tableColumns':_0xa9d009,'tableId':_0x2e7aec,'align':_0x1d19c5['TableAlignmentType'][_0x2d2bbd(0x1b0)],'indent':{'v':0x0},'textWrap':_0x1d19c5[_0x2d2bbd(0x1d2)][_0x2d2bbd(0x159)],'position':{'positionH':{'relativeFrom':_0x1d19c5[_0x2d2bbd(0x183)]['PAGE'],'posOffset':0x0},'positionV':{'relativeFrom':_0x1d19c5[_0x2d2bbd(0x17a)][_0x2d2bbd(0x1e8)],'posOffset':0x0}},'dist':{'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0},'cellMargin':{'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}},'size':{'type':_0x1d19c5[_0x2d2bbd(0x189)][_0x2d2bbd(0x163)],'width':{'v':_0x292fca}}};}function _0x24a36(_0x587eee){const _0x4df3da=_0x3b7bb1;return Number[_0x4df3da(0x184)](_0x587eee)&&(_0x587eee==null?0x0:_0x587eee)>0x0?_0x587eee:0x1;}function _0x5f2804(){return{'margin':{'start':{'v':0xa},'end':{'v':0xa},'top':{'v':0x5},'bottom':{'v':0x5}}};}function _0x44989b(_0x14a2e0){const _0x22e349=_0x3b7bb1;return{'size':{'type':_0x1d19c5[_0x22e349(0x189)][_0x22e349(0x146)],'width':{'v':_0x14a2e0}}};}function _0x444431(_0x35b327,_0x355210,_0x320d78){var _0xd12807;let _0x20f4b5=(_0xd12807=_0x320d78==null?void 0x0:_0x320d78(_0x35b327))==null?_0x35b327+'-table':_0xd12807,_0x1bdfe1=_0x20f4b5,_0x3e24bd=0x1;for(;_0x355210['has'](_0x1bdfe1);)_0x1bdfe1=_0x20f4b5+'-'+_0x3e24bd++;return _0x355210['add'](_0x1bdfe1),_0x1bdfe1;}function _0x562d67(_0x1a5cf6,_0x539371){const _0x5e6a73=_0x3b7bb1;let _0x4a24e0=0x0;for(let _0x5ee549=_0x539371[_0x5e6a73(0x1cf)];_0x5ee549<_0x539371['endIndex'];_0x5ee549++)_0x1a5cf6[_0x5ee549]===_0x4cdd5b['COLUMN_START']&&_0x4a24e0++;return _0x4a24e0;}function _0x56c0f0(_0x143ec5){const _0x504a0e=_0x3b7bb1;var _0x14634c,_0x3f4cb6,_0x5dca5e,_0x15b1f9,_0x4097a4,_0x5a07d0;let _0x3d0122=(_0x14634c=_0x143ec5[_0x504a0e(0x171)])==null?void 0x0:_0x14634c[_0x504a0e(0x172)],_0x1ea0df=(_0x3f4cb6=_0x3d0122==null?void 0x0:_0x3d0122[_0x504a0e(0x1c0)])==null?0x0:_0x3f4cb6,_0x49a90a=(_0x5dca5e=(_0x15b1f9=_0x143ec5[_0x504a0e(0x171)])==null?void 0x0:_0x15b1f9[_0x504a0e(0x167)])==null?0x0:_0x5dca5e,_0x4945fa=(_0x4097a4=(_0x5a07d0=_0x143ec5[_0x504a0e(0x171)])==null?void 0x0:_0x5a07d0['marginRight'])==null?0x0:_0x4097a4;return Math[_0x504a0e(0x12b)](0x0,_0x1ea0df-_0x49a90a-_0x4945fa);}function _0x5e9d4c(_0xca0a5f,_0x23386e){const _0x34255a=_0x3b7bb1;return _0xca0a5f+_0x23386e[_0x34255a(0x112)]((_0x9c0a6,_0x1ca401)=>_0xca0a5f<=_0x1ca401[_0x34255a(0x1cf)]?_0x9c0a6:_0x9c0a6+(_0xca0a5f<_0x1ca401['endIndex']?0x1:0x2),0x0);}function _0x5128e7(_0x20843,_0xf7165f){const _0x2b629d=_0x3b7bb1;return _0x20843[_0x2b629d(0x147)](_0x466d96=>({..._0x466d96,'startIndex':_0x5e9d4c(_0x466d96['startIndex'],_0xf7165f)}));}function _0x4a9516(_0x2fa7a4,_0x3927b4){const _0x18d230=_0x3b7bb1;return _0x2fa7a4[_0x18d230(0x147)](_0x3b5dd8=>({..._0x3b5dd8,'startIndex':_0x5e9d4c(_0x3b5dd8[_0x18d230(0x1cf)],_0x3927b4),'endIndex':_0x5e9d4c(_0x3b5dd8[_0x18d230(0x121)],_0x3927b4)}));}function _0x293d91(_0x46790a,_0x581435){const _0x5c50e8=_0x3b7bb1;return _0x46790a[_0x5c50e8(0x147)](_0x4cef40=>({..._0x4cef40,'st':_0x5e9d4c(_0x4cef40['st'],_0x581435),'ed':_0x5e9d4c(_0x4cef40['ed'],_0x581435)}));}let _0x279e39=new Set([_0x4cdd5b['COLUMN_GROUP_START'],_0x4cdd5b['COLUMN_START'],_0x4cdd5b['COLUMN_END'],_0x4cdd5b[_0x3b7bb1(0x1df)]]);function _0x43e9fd(_0x3d4593,_0x352598){const _0x72e2f5=_0x3b7bb1;return _0x3d4593[_0x72e2f5(0x178)]['some'](_0xf890ff=>_0x352598>_0xf890ff[_0x72e2f5(0x197)]&&_0x352598<_0xf890ff['endOffset']);}function _0x5b6601(_0x3c89c1,_0x13d413){const _0x5023ee=_0x3b7bb1;var _0x4d97db;let _0x148e8f=(_0x4d97db=_0x3c89c1['body'])==null||(_0x4d97db=_0x4d97db[_0x5023ee(0x144)])==null?void 0x0:_0x4d97db[_0x13d413];return _0x148e8f!=null&&_0x279e39[_0x5023ee(0x13b)](_0x148e8f);}function _0x14a197(_0x41704b,_0x2724ba,_0x3f684d){return _0x270866(_0x41704b,_0x3f684d)==null?!0x1:!_0x2db331(_0x41704b,_0x2724ba);}function _0x270866(_0x234b56,_0x2a7112){const _0x3c789b=_0x3b7bb1;var _0x329408,_0x1a66cd;let _0xb94581=(_0x329408=(_0x1a66cd=_0x234b56['body'])==null?void 0x0:_0x1a66cd[_0x3c789b(0x1a2)])==null?[]:_0x329408;for(let _0x3654fd of _0xb94581){let _0x471e71=_0x17ac6c(_0x234b56,_0x3654fd[_0x3c789b(0x164)]);if(_0x471e71&&_0x43e9fd(_0x471e71,_0x2a7112))return _0x471e71;}return null;}function _0x2db331(_0x5f46d3,_0x2d906d){const _0xfb91aa=_0x3b7bb1;var _0x2dea77,_0x5c4531,_0x51bf48,_0x32c409;let _0x663243=(_0x2dea77=(_0x5c4531=_0x5f46d3[_0xfb91aa(0x1ad)])==null?void 0x0:_0x5c4531[_0xfb91aa(0x144)])==null?'':_0x2dea77,_0x54a370=Math[_0xfb91aa(0x12b)](0x0,Math[_0xfb91aa(0x111)](_0x2d906d[_0xfb91aa(0x197)],_0x2d906d[_0xfb91aa(0x14d)])),_0xb82f4a=Math[_0xfb91aa(0x111)](_0x663243['length']-0x1,Math[_0xfb91aa(0x12b)](_0x2d906d[_0xfb91aa(0x197)],_0x2d906d[_0xfb91aa(0x14d)]));for(let _0x4fedc7=_0x54a370;_0x4fedc7<=_0xb82f4a;_0x4fedc7++)if(_0x5b6601(_0x5f46d3,_0x4fedc7))return!0x0;return((_0x51bf48=(_0x32c409=_0x5f46d3[_0xfb91aa(0x1ad)])==null?void 0x0:_0x32c409['columnGroups'])==null?[]:_0x51bf48)['some'](_0xd9185d=>_0x3d2efd(_0x54a370,_0xb82f4a,_0xd9185d[_0xfb91aa(0x1cf)],_0xd9185d[_0xfb91aa(0x121)]));}function _0x3d2efd(_0x22edb6,_0x7b3789,_0x17e479,_0x5a4ea7){return _0x22edb6<=_0x17e479&&_0x7b3789>=_0x5a4ea7;}function _0x2f1a6a(_0x501192){const _0x1c1dd1=_0x3b7bb1;var _0x2f0309;let _0x4388f4=_0x1d19c5[_0x1c1dd1(0x1a7)][_0x1c1dd1(0x1e9)](_0x501192[_0x1c1dd1(0x15d)]),_0x3cc427=_0x4388f4[_0x1c1dd1(0x1ad)];if(!(_0x3cc427!=null&&_0x3cc427['dataStream']))return{'nextDocumentData':_0x4388f4,'movedRange':_0x501192[_0x1c1dd1(0x1da)],'changed':!0x1};let _0x6029c5=_0xcd8354(_0x4388f4);if(_0x6029c5['length']===0x0)return{'nextDocumentData':_0x4388f4,'movedRange':_0x501192['movedRange'],'changed':!0x1};let _0x2271af=new Set(((_0x2f0309=_0x3cc427[_0x1c1dd1(0x149)])==null?[]:_0x2f0309)[_0x1c1dd1(0x147)](_0x506b1e=>_0x506b1e['paragraphId'])),_0x107561={..._0x501192[_0x1c1dd1(0x1da)]},_0x5c0d86=0x0;return _0x6029c5['forEach'](_0x5e983b=>{const _0x3ab4bc=_0x1c1dd1;let _0x52531f=_0x5e983b+_0x5c0d86,_0x464300=_0x33867d(_0x2271af);_0x5b0323(_0x3cc427,_0x52531f,_0x464300),_0x107561=_0x4128e4(_0x107561,_0x52531f,_0x464300['dataStream'][_0x3ab4bc(0x1d1)]),_0x5c0d86+=_0x464300[_0x3ab4bc(0x144)][_0x3ab4bc(0x1d1)];}),{'nextDocumentData':_0x4388f4,'movedRange':_0x107561,'changed':!0x0};}function _0xcd8354(_0x234e35){const _0x4a5a9f=_0x3b7bb1;var _0x3c59f;let _0x1370a6=_0x234e35[_0x4a5a9f(0x1ad)],_0x485a1a=[];for(let _0x17a28b of(_0x3c59f=_0x1370a6==null?void 0x0:_0x1370a6[_0x4a5a9f(0x1a2)])==null?[]:_0x3c59f){let _0x455d1f=_0x17ac6c(_0x234e35,_0x17a28b[_0x4a5a9f(0x164)]);_0x455d1f&&_0x455d1f['columns']['forEach'](_0x539369=>{const _0x2bb26a=_0x4a5a9f;_0x2252ad(_0x1370a6,_0x539369[_0x2bb26a(0x197)],_0x539369[_0x2bb26a(0x14d)])||_0x485a1a[_0x2bb26a(0x12f)](_0x539369[_0x2bb26a(0x14d)]);});}return _0x485a1a[_0x4a5a9f(0x1b2)]((_0x15e052,_0x16ee78)=>_0x15e052-_0x16ee78);}function _0x2252ad(_0x3650a8,_0x1abfd9,_0x24c657){const _0x8b6b80=_0x3b7bb1;var _0x5aed33;return((_0x5aed33=_0x3650a8[_0x8b6b80(0x149)])==null?[]:_0x5aed33)['some'](_0x499c1d=>_0x499c1d[_0x8b6b80(0x1cf)]>_0x1abfd9&&_0x499c1d[_0x8b6b80(0x1cf)]<_0x24c657);}function _0x33867d(_0x43f8b3){const _0x286719=_0x3b7bb1;let _0x57b805=(0x0,_0x1d19c5[_0x286719(0x120)])(_0x43f8b3);return _0x43f8b3[_0x286719(0x151)](_0x57b805),{'dataStream':''+_0x1d19c5['DataStreamTreeTokenType'][_0x286719(0x17e)]+_0x1d19c5['DataStreamTreeTokenType']['SECTION_BREAK'],'paragraphs':[{'startIndex':0x0,'paragraphId':_0x57b805}],'sectionBreaks':[{'startIndex':0x1}]};}function _0x5b0323(_0x5cc759,_0x5dbb00,_0x28df40){const _0x14122a=_0x3b7bb1;var _0x4b95b5,_0x52b9aa,_0x3cbc45,_0x191ce9,_0x19f4cc,_0x160329,_0xb16d15,_0x33ae3c,_0x1797ff;let _0x2f354a=_0x28df40[_0x14122a(0x144)][_0x14122a(0x1d1)];_0x5cc759[_0x14122a(0x144)]=''+_0x5cc759[_0x14122a(0x144)]['slice'](0x0,_0x5dbb00)+_0x28df40[_0x14122a(0x144)]+_0x5cc759['dataStream'][_0x14122a(0x19e)](_0x5dbb00),_0x5cc759['paragraphs']=[..._0x5a16c8((_0x4b95b5=_0x5cc759[_0x14122a(0x149)])==null?[]:_0x4b95b5,_0x5dbb00,_0x2f354a),..._0x28df40[_0x14122a(0x149)][_0x14122a(0x147)](_0xaf4b46=>({..._0xaf4b46,'startIndex':_0xaf4b46[_0x14122a(0x1cf)]+_0x5dbb00}))]['sort']((_0x1c4f78,_0x47f8d0)=>_0x1c4f78['startIndex']-_0x47f8d0[_0x14122a(0x1cf)]),_0x5cc759[_0x14122a(0x1d7)]=[..._0x5a16c8((_0x52b9aa=_0x5cc759['sectionBreaks'])==null?[]:_0x52b9aa,_0x5dbb00,_0x2f354a),..._0x28df40[_0x14122a(0x1d7)][_0x14122a(0x147)](_0x136118=>({..._0x136118,'startIndex':_0x136118['startIndex']+_0x5dbb00}))][_0x14122a(0x1b2)]((_0x3c0036,_0x2e99f1)=>_0x3c0036[_0x14122a(0x1cf)]-_0x2e99f1['startIndex']),_0x5cc759[_0x14122a(0x175)]=_0x4a8523((_0x3cbc45=_0x5cc759[_0x14122a(0x175)])==null?[]:_0x3cbc45,_0x5dbb00,_0x2f354a),_0x5cc759[_0x14122a(0x1cd)]=_0x5a16c8((_0x191ce9=_0x5cc759[_0x14122a(0x1cd)])==null?[]:_0x191ce9,_0x5dbb00,_0x2f354a),_0x5cc759[_0x14122a(0x13e)]=_0x34816b((_0x19f4cc=_0x5cc759[_0x14122a(0x13e)])==null?[]:_0x19f4cc,_0x5dbb00,_0x2f354a),_0x5cc759[_0x14122a(0x1dc)]=_0x34816b((_0x160329=_0x5cc759[_0x14122a(0x1dc)])==null?[]:_0x160329,_0x5dbb00,_0x2f354a),_0x5cc759['customDecorations']=_0x34816b((_0xb16d15=_0x5cc759[_0x14122a(0x176)])==null?[]:_0xb16d15,_0x5dbb00,_0x2f354a),_0x5cc759[_0x14122a(0x1bf)]=_0x34816b((_0x33ae3c=_0x5cc759['tables'])==null?[]:_0x33ae3c,_0x5dbb00,_0x2f354a),_0x5cc759[_0x14122a(0x1a2)]=_0x34816b((_0x1797ff=_0x5cc759[_0x14122a(0x1a2)])==null?[]:_0x1797ff,_0x5dbb00,_0x2f354a);}function _0x4128e4(_0x5d2e0e,_0x5e8103,_0x5a6ba5){const _0x170d45=_0x3b7bb1;return _0x5d2e0e[_0x170d45(0x197)]>=_0x5e8103?{'startOffset':_0x5d2e0e[_0x170d45(0x197)]+_0x5a6ba5,'endOffset':_0x5d2e0e['endOffset']+_0x5a6ba5}:_0x5d2e0e[_0x170d45(0x14d)]>=_0x5e8103?{..._0x5d2e0e,'endOffset':_0x5d2e0e[_0x170d45(0x14d)]+_0x5a6ba5}:_0x5d2e0e;}function _0x5a16c8(_0x209983,_0x26aecd,_0x5f3735){const _0x1abf83=_0x3b7bb1;return _0x209983['map'](_0x49ef64=>_0x49ef64[_0x1abf83(0x1cf)]>=_0x26aecd?{..._0x49ef64,'startIndex':_0x49ef64[_0x1abf83(0x1cf)]+_0x5f3735}:_0x49ef64);}function _0x34816b(_0x2d6afd,_0x3f960c,_0x16bc06){const _0x1bbfba=_0x3b7bb1;return _0x2d6afd[_0x1bbfba(0x147)](_0x4eee64=>_0x4eee64[_0x1bbfba(0x1cf)]>=_0x3f960c?{..._0x4eee64,'startIndex':_0x4eee64[_0x1bbfba(0x1cf)]+_0x16bc06,'endIndex':_0x4eee64[_0x1bbfba(0x121)]+_0x16bc06}:_0x4eee64[_0x1bbfba(0x121)]>=_0x3f960c?{..._0x4eee64,'endIndex':_0x4eee64[_0x1bbfba(0x121)]+_0x16bc06}:_0x4eee64);}function _0x4a8523(_0x11d60d,_0x3e0116,_0x56dfc5){const _0x1016ff=_0x3b7bb1;return _0x11d60d[_0x1016ff(0x147)](_0x1c6c98=>_0x1c6c98['st']>=_0x3e0116?{..._0x1c6c98,'st':_0x1c6c98['st']+_0x56dfc5,'ed':_0x1c6c98['ed']+_0x56dfc5}:_0x1c6c98['ed']>=_0x3e0116?{..._0x1c6c98,'ed':_0x1c6c98['ed']+_0x56dfc5}:_0x1c6c98);}_0x1d0b43[_0x3b7bb1(0x16f)]=_0x2ebe17,_0x1d0b43[_0x3b7bb1(0x1d6)]=_0x4cdd5b,_0x1d0b43[_0x3b7bb1(0x134)]=_0xa7b1a5,_0x1d0b43[_0x3b7bb1(0x14f)]=_0x41c2e2,_0x1d0b43[_0x3b7bb1(0x153)]=0x5,_0x1d0b43['DeleteDocColumnCommand']=_0x5a3a8a,_0x1d0b43['DeleteDocColumnGroupCommand']=_0x3790a9,_0x1d0b43[_0x3b7bb1(0x1e5)]=_0x22127a,_0x1d0b43[_0x3b7bb1(0x174)]=_0x45939f,_0x1d0b43[_0x3b7bb1(0x155)]=_0x5a65cd,_0x1d0b43[_0x3b7bb1(0x182)]=_0x5d329a,_0x1d0b43[_0x3b7bb1(0x1de)]=_0x2a8b01,_0x1d0b43[_0x3b7bb1(0x15e)]=_0x26e283,_0x1d0b43['buildInsertColumnGroupActions']=_0x571615,_0x1d0b43[_0x3b7bb1(0x18d)]=_0x31f1b2,_0x1d0b43[_0x3b7bb1(0x113)]=_0x12dbdf,_0x1d0b43['calculateResizeDragWidthRatios']=_0x5810ab,_0x1d0b43[_0x3b7bb1(0x1e6)]=_0x1213a6,_0x1d0b43[_0x3b7bb1(0x17c)]=_0x14a197,_0x1d0b43['canResolveDocsColumnInsertOffset']=_0x23e264,_0x1d0b43[_0x3b7bb1(0x133)]=_0xc4399f,_0x1d0b43[_0x3b7bb1(0x166)]=_0x459d07,_0x1d0b43[_0x3b7bb1(0x110)]=_0x543340,_0x1d0b43[_0x3b7bb1(0x129)]=_0x17ac6c,_0x1d0b43[_0x3b7bb1(0x17d)]=_0x3681dd,_0x1d0b43[_0x3b7bb1(0x128)]=_0x5b6601,_0x1d0b43[_0x3b7bb1(0x11a)]=_0x43e9fd,_0x1d0b43[_0x3b7bb1(0x131)]=_0x11efb5,_0x1d0b43['normalizeDocsColumnInsertOffset']=_0x4fa04a,_0x1d0b43['normalizeEmptyColumnsAfterMove']=_0x2f1a6a;}));
|
package/package.json
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@univerjs-pro/docs-column",
|
|
3
|
+
"version": "1.0.0-alpha.1",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Column block model integration for Univer Docs.",
|
|
6
|
+
"author": "DreamNum Co., Ltd. <developer@univer.ai>",
|
|
7
|
+
"funding": {
|
|
8
|
+
"type": "opencollective",
|
|
9
|
+
"url": "https://opencollective.com/univer"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://univer.ai",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/dream-num/univer"
|
|
15
|
+
},
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/dream-num/univer/issues"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"univer",
|
|
21
|
+
"univer-pro",
|
|
22
|
+
"docs",
|
|
23
|
+
"column",
|
|
24
|
+
"plugin"
|
|
25
|
+
],
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"import": "./lib/es/index.js",
|
|
29
|
+
"require": "./lib/cjs/index.js",
|
|
30
|
+
"types": "./lib/types/index.d.ts"
|
|
31
|
+
},
|
|
32
|
+
"./*": {
|
|
33
|
+
"import": "./lib/es/*",
|
|
34
|
+
"require": "./lib/cjs/*",
|
|
35
|
+
"types": "./lib/types/index.d.ts"
|
|
36
|
+
},
|
|
37
|
+
"./facade": {
|
|
38
|
+
"import": "./lib/es/facade.js",
|
|
39
|
+
"require": "./lib/cjs/facade.js",
|
|
40
|
+
"types": "./lib/types/facade/index.d.ts"
|
|
41
|
+
},
|
|
42
|
+
"./lib/facade": {
|
|
43
|
+
"import": "./lib/es/facade.js",
|
|
44
|
+
"require": "./lib/cjs/facade.js",
|
|
45
|
+
"types": "./lib/types/facade/index.d.ts"
|
|
46
|
+
},
|
|
47
|
+
"./lib/*": "./lib/*"
|
|
48
|
+
},
|
|
49
|
+
"main": "./lib/es/index.js",
|
|
50
|
+
"types": "./lib/types/index.d.ts",
|
|
51
|
+
"publishConfig": {
|
|
52
|
+
"access": "public"
|
|
53
|
+
},
|
|
54
|
+
"directories": {
|
|
55
|
+
"lib": "lib"
|
|
56
|
+
},
|
|
57
|
+
"files": [
|
|
58
|
+
"lib"
|
|
59
|
+
],
|
|
60
|
+
"dependencies": {
|
|
61
|
+
"@univerjs/core": "1.0.0-alpha.1",
|
|
62
|
+
"@univerjs/docs": "1.0.0-alpha.1",
|
|
63
|
+
"@univerjs/engine-render": "1.0.0-alpha.1"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"rxjs": "7.8.2",
|
|
67
|
+
"typescript": "^6.0.3",
|
|
68
|
+
"vitest": "^4.1.9",
|
|
69
|
+
"@univerjs-infra/shared": "1.0.0-alpha.1"
|
|
70
|
+
},
|
|
71
|
+
"scripts": {
|
|
72
|
+
"test": "vitest run",
|
|
73
|
+
"test:watch": "vitest",
|
|
74
|
+
"coverage": "vitest run --coverage",
|
|
75
|
+
"typecheck": "tsc --noEmit",
|
|
76
|
+
"build:bundle": "univer-cli build",
|
|
77
|
+
"build:types": "tsc -p tsconfig.node.json",
|
|
78
|
+
"build": "pnpm run build:bundle && pnpm run build:types"
|
|
79
|
+
},
|
|
80
|
+
"module": "./lib/es/index.js"
|
|
81
|
+
}
|