@univerjs-pro/docs-table-ui 1.0.0-alpha.1 → 1.0.0-alpha.3
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 +5 -2
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +8 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/docs-table-canvas-render.controller.d.ts +4 -1
- package/lib/types/index.d.ts +3 -31
- package/lib/types/services/docs-table-passive-wheel.service.d.ts +16 -0
- package/lib/types/views/borders/DocsTableBorderPanel.d.ts +1 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
- package/lib/types/views/icons/DocsTableBorderToolbarIcons.d.ts +0 -6
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x588cc3=_0x2ee5;(function(_0x416a1b,_0x9fd518){const _0x156d6b=_0x2ee5,_0x32512b=_0x416a1b();while(!![]){try{const _0x89d95b=parseInt(_0x156d6b(0xf2))/0x1+-parseInt(_0x156d6b(0x17a))/0x2*(-parseInt(_0x156d6b(0xae))/0x3)+-parseInt(_0x156d6b(0x21c))/0x4+parseInt(_0x156d6b(0x3a9))/0x5*(-parseInt(_0x156d6b(0xdd))/0x6)+-parseInt(_0x156d6b(0x32a))/0x7*(parseInt(_0x156d6b(0x21b))/0x8)+-parseInt(_0x156d6b(0x28c))/0x9*(-parseInt(_0x156d6b(0x2ed))/0xa)+-parseInt(_0x156d6b(0xf4))/0xb*(parseInt(_0x156d6b(0x2ef))/0xc);if(_0x89d95b===_0x9fd518)break;else _0x32512b['push'](_0x32512b['shift']());}catch(_0x38c1a6){_0x32512b['push'](_0x32512b['shift']());}}}(_0x3bb5,0x55809));import{CommandType as _0x673e0e,DEFAULT_STYLES as _0x17a961,DOC_RANGE_TYPE as _0x34685e,DashStyleType as _0x57efdc,DependentOn as _0x29c04e,Disposable as _0x465703,DocumentFlavor as _0x23967b,EDITOR_ACTIVATED as _0x475d63,FOCUSING_DOC as _0x4e626b,FOCUSING_UNIVER_EDITOR as _0x313b0c,HorizontalAlign as _0x351527,ICommandService as _0x1ee6b9,IConfigService as _0x175c20,IUniverInstanceService as _0x5375f9,Inject as _0x524e37,Injector as _0xf59eb9,LocaleService as _0x36e78d,NamedStyleType as _0x4cb371,Plugin as _0x21cf39,PresetListType as _0x66410,UniverInstanceType as _0x3ce9c7,VerticalAlignmentType as _0x493fec,merge as _0x3e548c}from'@univerjs/core';import{AlignMenuItemFactory as _0x5b3fb0,AlignOperationCommand as _0x18ce0a,BackgroundColorSelectorMenuItemFactory as _0x383c60,BoldMenuItemFactory as _0x1f5c4d,BulletListCommand as _0x12c4bd,CheckListCommand as _0x5b2bff,CreateDocTableCommand as _0x5718a9,DOC_CONTENT_INSERT_MENU_ID as _0x393a0d,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x42d5ed,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x325ec4,DOC_TABLE_BLOCK_MENU_ID as _0x2113d7,DeleteLeftCommand as _0x3b9da6,DocCanvasPopManagerService as _0x331b54,DocCreateTableOperation as _0x25406e,DocEventManagerService as _0x113469,DocParagraphMenuService as _0x4e5a8d,DocSelectAllCommand as _0x6e164f,EMPTY_PARAGRAPH_MENU_ID as _0x588499,FloatTextStyleMenuItemFactory as _0x553267,FontFamilySelectorMenuItemFactory as _0x4cc69e,FontSizeSelectorMenuItemFactory as _0x45cba0,INSERT_BELLOW_MENU_ID as _0x8885b3,ItalicMenuItemFactory as _0x141243,OrderListCommand as _0x57bdce,ParagraphMenuInsertBelowSubmenuItemFactory as _0x5cd51b,ResetInlineFormatTextBackgroundColorCommand as _0x17dfd5,SetDocZoomRatioOperation as _0x4a31f8,SetInlineFormatBoldCommand as _0x4b39a8,SetInlineFormatFontFamilyCommand as _0x5558e7,SetInlineFormatFontSizeCommand as _0x46897f,SetInlineFormatItalicCommand as _0x413354,SetInlineFormatStrikethroughCommand as _0x278042,SetInlineFormatTextBackgroundColorCommand as _0x16a106,SetInlineFormatTextColorCommand as _0xf7b07e,SetInlineFormatUnderlineCommand as _0x3a261a,SetParagraphNamedStyleCommand as _0xb2f728,StrikeThroughMenuItemFactory as _0x292188,TextColorSelectorMenuItemFactory as _0x144cea,UnderlineMenuItemFactory as _0x10a876,UniverDocsUIPlugin as _0x2b4e82}from'@univerjs/docs-ui';import{DOCS_TABLE_PLUGIN as _0x101fec,DocsTableBorderPreset as _0x5b5677,DocsTableDeleteColumnsCommand as _0x12eb0d,DocsTableDeleteRowsCommand as _0x29508d,DocsTableDeleteTableCommand as _0x3db4c8,DocsTableDistributeColumnsCommand as _0x1a4c8c,DocsTableDistributeRowsCommand as _0xdb5a57,DocsTableInsertColumnsCommand as _0x54b98f,DocsTableInsertRowsCommand as _0x355f52,DocsTableInsertTitleRowCommand as _0x20437f,DocsTableMergeCellsCommand as _0x3d1fe4,DocsTableMoveColumnsCommand as _0x371279,DocsTableMoveRowsCommand as _0x472edb,DocsTableMoveTableCommand as _0x54ccc8,DocsTableResizeColumnCommand as _0x3c1e99,DocsTableResizeRowCommand as _0x359516,DocsTableSelectionKind as _0x4e9e70,DocsTableSelectionService as _0x136628,DocsTableSelectionSource as _0x5b4ff1,DocsTableSetColumnTypeCommand as _0x3d0158,DocsTableSetHeaderRowCountCommand as _0xffec9e,DocsTableSetTableBackgroundCommand as _0xee838c,DocsTableSetTableBorderColorCommand as _0x193098,DocsTableSetTableBorderCommand as _0x24dc2c,DocsTableSetTableBorderStyleCommand as _0x9f33a0,DocsTableSetTableBorderWidthCommand as _0x4cae19,DocsTableSetTableVerticalAlignCommand as _0x4026cf,DocsTableSortDirection as _0x20224c,DocsTableSortTableCommand as _0x27aace,DocsTableUnmergeCellsCommand as _0x4c3a4e,UniverDocsTablePlugin as _0x2ae0bc,canMergeCells as _0xa0aa39,canUnmergeCells as _0x5b32c4,getTableRangeById as _0x417f4c}from'@univerjs-pro/docs-table';import{DocSelectionManagerService as _0x58e90a,DocSkeletonManagerService as _0x5f46dc}from'@univerjs/docs';import{COLOR_PICKER_COMPONENT as _0x22b729,ComponentManager as _0x57aee8,ContextMenuGroup as _0x578831,ContextMenuPosition as _0x2ae26c,IContextMenuService as _0x5b0ad4,IMenuManagerService as _0x5b059b,IShortcutService as _0x339238,IconManager as _0x477a14,KeyCode as _0x44c2ff,MenuItemType as _0x8462f5,MenuManagerPosition as _0xb44695,MetaKeys as _0x4891c9,RibbonInsertGroup as _0x5ea5ce,RibbonPosition as _0x241336,RibbonStartGroup as _0x446668,ToolbarButton as _0xd48302,ToolbarItem as _0x32133e,getMenuHiddenObservable as _0x1b13c4,useDependency as _0x1a05d5,useObservable as _0x26709f}from'@univerjs/ui';import{documentSkeletonTableIterator as _0x3bbb86}from'@univerjs-pro/docs-column';import{CURSOR_TYPE as _0x5fc0b8,DocumentSkeletonPageType as _0x3ce922,IRenderManagerService as _0x872d27,getTableIdAndSliceIndex as _0x4c369e,setDocsTableRenderViewportProvider as _0xc1765f}from'@univerjs/engine-render';import{BehaviorSubject as _0x175f07,Observable as _0x2ca07a,Subject as _0x1cff22,combineLatest as _0xe99e71,map as _0x3ff622,of as _0x34dd70,startWith as _0x2b0113}from'rxjs';import{AlignBottomIcon as _0x51af02,AlignTextBothIcon as _0x5bb693,AlignTopIcon as _0x89b76e,AllBorderIcon as _0xf38679,BoldIcon as _0x2332d0,CalendarIcon as _0x49432c,CancelMergeIcon as _0xb84af8,DeleteColumnDoubleIcon as _0x190591,DeleteRowDoubleIcon as _0x24d757,DownBorderDoubleIcon as _0x12c564,FontColorDoubleIcon as _0x53e673,HorizontalBorderDoubleIcon as _0x4eafe5,HorizontallyIcon as _0x2f17cf,InnerBorderDoubleIcon as _0x405fa2,ItalicIcon as _0x5eacd7,LeftBorderDoubleIcon as _0x2390a9,LeftJustifyingIcon as _0x2cf343,MergeAllIcon as _0x906129,MoreDownIcon as _0x5cf2b0,NoBorderIcon as _0x5bd47d,NoColorDoubleIcon as _0x5a1893,NumberIcon as _0x53242e,OuterBorderDoubleIcon as _0x2a3e8e,PaintBucketDoubleIcon as _0x14f945,RightBorderDoubleIcon as _0x540e60,RightJustifyingIcon as _0x34ff7d,StrikethroughIcon as _0x163264,TextIcon as _0x31c71b,UnderlineIcon as _0x1cb4a6,UpBorderDoubleIcon as _0x558f2b,VerticalBorderDoubleIcon as _0x478f35,VerticalCenterIcon as _0x563a51}from'@univerjs/icons';import{Fragment as _0x2639f0,jsx as _0x117f47,jsxs as _0x3f3610}from'react/jsx-runtime';import{Button as _0x60ff0e,ColorPicker as _0x27676b,Dropdown as _0x2feedf,InputNumber as _0x1f8192,Separator as _0x1af036,Tooltip as _0x11ec48,borderClassName as _0x818b5f,clsx as _0x14ce3e}from'@univerjs/design';import{useEffect as _0x1497e5,useMemo as _0x3bfed5,useState as _0x2cd855}from'react';import{UniverLicensePlugin as _0xb529ec}from'@univerjs-pro/license';function Nn(_0x427184,_0x39f373){return _0x427184+':'+_0x39f373;}function Pn(_0x10546f){const _0x23cde5=_0x2ee5;if(!_0x10546f)return null;let _0x56769e=Number(_0x10546f[_0x23cde5(0x34f)]),_0x1e8d87=Number(_0x10546f[_0x23cde5(0xbc)]);if(In(_0x56769e,_0x1e8d87))return{'colCount':_0x1e8d87,'rowCount':_0x56769e};if(_0x10546f[_0x23cde5(0x217)]==null)return null;let [_0x5c95e0,_0x2e330f]=String(_0x10546f[_0x23cde5(0x217)])[_0x23cde5(0x292)](':')[_0x23cde5(0x35e)](_0x3f4b33=>Number(_0x3f4b33));return In(_0x5c95e0,_0x2e330f)?{'colCount':_0x2e330f,'rowCount':_0x5c95e0}:null;}function Fn(_0xf49ac9){const _0x35b875=_0x2ee5;let _0x1ea0fc=Number(_0xf49ac9);return Number['isFinite'](_0x1ea0fc)?Math[_0x35b875(0x23e)](0x14,Math['max'](0x1,Math[_0x35b875(0x313)](_0x1ea0fc))):0x1;}function In(_0x543682,_0x375467){const _0x251cbc=_0x2ee5;let _0xdb9423=Number(_0x543682),_0x564f7=Number(_0x375467);return Number[_0x251cbc(0x17d)](_0xdb9423)&&Number[_0x251cbc(0x17d)](_0x564f7)&&_0xdb9423>=0x1&&_0xdb9423<=0x14&&_0x564f7>=0x1&&_0x564f7<=0x14;}const z={'id':'docs-table-ui.operation.create-table','type':_0x673e0e[_0x588cc3(0x16c)],'handler':async(_0x28d56f,_0x3d7e1f)=>{const _0x1fc383=_0x588cc3;let _0x12191a=_0x28d56f[_0x1fc383(0x134)](_0x1ee6b9),_0x314716=Pn(_0x3d7e1f);return _0x314716?_0x12191a['executeCommand'](_0x5718a9['id'],_0x314716):!0x1;}};let B=null;const Ln={'id':_0x588cc3(0x36c),'type':_0x673e0e[_0x588cc3(0x16c)],'handler':async _0x3a7680=>{const _0x34386f=_0x588cc3;var _0x555880,_0x4ecf21,_0x473500,_0x355e84,_0x1ce46a;let _0xc4c32d=_0x3a7680[_0x34386f(0x134)](_0x1ee6b9),_0xc573c=_0x3a7680['get'](_0x5375f9),_0x58904e=_0x3a7680['get'](_0x58e90a),_0x4afb23=_0x3a7680[_0x34386f(0x134)](_0x136628),_0x20fda2=(_0x555880=(_0x4ecf21=_0xc573c[_0x34386f(0x2be)])==null?void 0x0:_0x4ecf21[_0x34386f(0x36f)](_0xc573c,_0x3ce9c7['UNIVER_DOC']))==null?(_0x473500=_0xc573c['getCurrentUniverDocInstance'])==null?void 0x0:_0x473500['call'](_0xc573c):_0x555880,_0x41c782=_0x20fda2==null?void 0x0:_0x20fda2[_0x34386f(0xaf)](),_0x57e019=_0x20fda2==null?void 0x0:_0x20fda2[_0x34386f(0x37c)]();if(!_0x41c782||!_0x57e019)return B=null,zn(_0xc4c32d);Vn(_0x58904e,_0x4afb23,_0x41c782);let _0xa43f10=_0x4afb23['getCurrentSelection']();if(!(_0xa43f10!=null&&_0xa43f10[_0x34386f(0xe3)]))return B=null,zn(_0xc4c32d);let _0x205652=_0x417f4c(_0x41c782,_0xa43f10[_0x34386f(0xe3)]);if(!_0x205652)return B=null,zn(_0xc4c32d);if(_0xa43f10[_0x34386f(0x122)]===_0x5b4ff1['Structural'])return(B==null?void 0x0:B[_0x34386f(0x3c4)])==='table'&&Zn(_0x57e019,_0xa43f10)?(Yn(_0x58904e,_0x4afb23,_0x41c782,_0x57e019),B=null,!0x0):(Jn(_0x4afb23,_0x205652,_0xa43f10['segmentId']),B={'phase':_0x34386f(0x95),'rangeKey':Xn({'startRow':0x0,'endRow':Math[_0x34386f(0x104)](_0x205652['rowCount']-0x1,0x0),'startColumn':0x0,'endColumn':Math[_0x34386f(0x104)](_0x205652[_0x34386f(0xbb)]-0x1,0x0)}),'tableId':_0x205652[_0x34386f(0xe3)],'unitId':_0x57e019},!0x0);let _0x29f2c7=(_0x355e84=_0x205652[_0x34386f(0xa0)][_0xa43f10['startRow']])==null?void 0x0:_0x355e84[_0x34386f(0x1ab)][_0xa43f10[_0x34386f(0x203)]];if(!_0x29f2c7)return zn(_0xc4c32d);let _0x5ac58e=Bn(_0x58904e);if(!_0x5ac58e)return qn(_0x4afb23,_0xa43f10[_0x34386f(0xe3)],_0x29f2c7,_0xa43f10[_0x34386f(0x3c1)],_0x57e019),!0x0;let _0x48f4e9=Hn(_0x29f2c7,_0xa43f10[_0x34386f(0x3c1)]);if(Gn(_0x5ac58e,_0x48f4e9))return qn(_0x4afb23,_0xa43f10[_0x34386f(0xe3)],_0x29f2c7,_0xa43f10[_0x34386f(0x3c1)],_0x57e019),!0x0;let _0x5b6f13=Un(_0x41c782,_0x29f2c7,_0xa43f10['segmentId']),_0x315235=Wn(_0x5b6f13,(_0x1ce46a=_0x5ac58e['startOffset'])==null?_0x48f4e9[_0x34386f(0x1ff)]:_0x1ce46a);return _0x315235?Gn(_0x5ac58e,_0x315235)?(_0x5b6f13[_0x34386f(0x1c5)]<=0x1?qn(_0x4afb23,_0xa43f10[_0x34386f(0xe3)],_0x29f2c7,_0xa43f10[_0x34386f(0x3c1)],_0x57e019):(B=null,Kn(_0x58904e,[_0x48f4e9],_0x57e019)),!0x0):(B=null,Kn(_0x58904e,[_0x315235],_0x57e019),!0x0):(Kn(_0x58904e,[_0x48f4e9],_0x57e019),!0x0);}},Rn={'id':Ln['id'],'binding':_0x44c2ff['A']|_0x4891c9[_0x588cc3(0x32f)],'priority':0x64,'preconditions':_0x657e3c=>_0x657e3c[_0x588cc3(0x2fa)](_0x313b0c)&&(_0x657e3c[_0x588cc3(0x2fa)](_0x4e626b)||_0x657e3c[_0x588cc3(0x2fa)](_0x475d63))};function zn(_0x19a528){const _0x58d976=_0x588cc3;return _0x19a528[_0x58d976(0x19c)](_0x6e164f['id']);}function Bn(_0x507822){const _0x5ace14=_0x588cc3;var _0x8f07b1,_0x8bee77,_0x283ccd,_0x491d5d,_0x13fd86;let _0x237cb5=(_0x8f07b1=_0x507822[_0x5ace14(0xf3)])==null?void 0x0:_0x8f07b1[_0x5ace14(0x36f)](_0x507822);return(_0x8bee77=(_0x283ccd=(_0x491d5d=_0x237cb5==null?void 0x0:_0x237cb5[_0x5ace14(0x281)](_0x5e55f0=>_0x5e55f0[_0x5ace14(0x35c)]))==null?(_0x13fd86=_0x507822[_0x5ace14(0x2a6)])==null?void 0x0:_0x13fd86[_0x5ace14(0x36f)](_0x507822):_0x491d5d)==null?_0x237cb5==null?void 0x0:_0x237cb5[0x0]:_0x283ccd)==null?null:_0x8bee77;}function Vn(_0xa2f24a,_0x51e9fd,_0x2483dc){const _0x26753d=_0x588cc3;var _0x91108,_0x15469c;let _0x38ccf0=_0x51e9fd[_0x26753d(0x255)]();if(!(_0x38ccf0!=null&&_0x38ccf0['tableId']))return;let _0x2ead76=Bn(_0xa2f24a),_0x2a320d=_0x2ead76==null?void 0x0:_0x2ead76[_0x26753d(0x1ff)];_0x2a320d!=null&&(_0x91108=(_0x15469c=_0x2483dc[_0x26753d(0x190)])==null||(_0x15469c=_0x15469c[_0x26753d(0x253)])==null?void 0x0:_0x15469c[_0x26753d(0xc3)](_0x4cb8d1=>_0x2a320d>_0x4cb8d1[_0x26753d(0x18a)]&&_0x2a320d<_0x4cb8d1['endIndex']))!=null&&_0x91108&&(B=null,_0x51e9fd['setNativeSelectionSuppressed'](!0x1),_0x51e9fd['clearStructuralSelection']({'clearNativeSelection':!0x1}));}function Hn(_0x34229f,_0x4f989b){const _0x1b5787=_0x588cc3;let _0x2eaa40=_0x34229f[_0x1b5787(0x1ff)]+0x1,_0x32fd8e=Math['max'](_0x2eaa40,_0x34229f['endOffset']-0x1);return{'collapsed':_0x2eaa40===_0x32fd8e,'endOffset':_0x32fd8e,'rangeType':_0x34685e[_0x1b5787(0x25a)],'segmentId':_0x4f989b,'startOffset':_0x2eaa40};}function Un(_0x396185,_0x496f0d,_0x1cad7a){const _0x49e750=_0x588cc3;var _0x56cd37,_0x32cae7;let _0x2c368d=(_0x56cd37=(_0x32cae7=_0x396185[_0x49e750(0x190)])==null?void 0x0:_0x32cae7[_0x49e750(0x213)])==null?'':_0x56cd37,_0x3fa2e6=_0x496f0d[_0x49e750(0x1ff)]+0x1,_0x3b10cc=Math[_0x49e750(0x104)](_0x3fa2e6,_0x496f0d[_0x49e750(0x9a)]-0x1),_0x11eeb0=[],_0x1a7469=_0x3fa2e6;for(let _0x32e29f=_0x3fa2e6;_0x32e29f<=_0x3b10cc;_0x32e29f++)_0x2c368d[_0x32e29f]==='\x0d'&&(_0x11eeb0['push']({'collapsed':_0x1a7469===_0x32e29f,'endOffset':_0x32e29f,'rangeType':_0x34685e[_0x49e750(0x25a)],'segmentId':_0x1cad7a,'startOffset':_0x1a7469}),_0x1a7469=_0x32e29f+0x1,_0x2c368d[_0x1a7469]==='\x0a'&&(_0x1a7469+=0x1));return _0x11eeb0['length']||_0x11eeb0[_0x49e750(0xba)](Hn(_0x496f0d,_0x1cad7a)),_0x11eeb0;}function Wn(_0x281bda,_0x4a936f){const _0x2ccdd1=_0x588cc3;var _0x213951,_0x18f46d;return(_0x213951=(_0x18f46d=_0x281bda[_0x2ccdd1(0x281)](_0x126b3c=>_0x126b3c[_0x2ccdd1(0x1ff)]==null||_0x126b3c[_0x2ccdd1(0x9a)]==null?!0x1:_0x4a936f>=_0x126b3c[_0x2ccdd1(0x1ff)]&&_0x4a936f<=_0x126b3c['endOffset']))==null?_0x281bda[0x0]:_0x18f46d)==null?null:_0x213951;}function Gn(_0x4e8858,_0x220a17){const _0x562c5b=_0x588cc3;return _0x4e8858[_0x562c5b(0x1ff)]===_0x220a17['startOffset']&&_0x4e8858[_0x562c5b(0x9a)]===_0x220a17['endOffset'];}function Kn(_0x24a00a,_0x475b57,_0x514870){const _0x256f0a=_0x588cc3;var _0x104d8a;(_0x104d8a=_0x24a00a[_0x256f0a(0x24c)])==null||_0x104d8a[_0x256f0a(0x36f)](_0x24a00a,_0x475b57,{'subUnitId':_0x514870,'unitId':_0x514870},!0x1);}function qn(_0x4a9313,_0x39023a,_0x31afc3,_0x3fdd12,_0x412edc){const _0x26cf91=_0x588cc3;_0x4a9313[_0x26cf91(0x1c7)](!0x0),_0x4a9313['setStructuralSelection']({'kind':_0x4e9e70[_0x26cf91(0x204)],'tableId':_0x39023a,'segmentId':_0x3fdd12,'startOffset':_0x31afc3['startOffset'],'endOffset':_0x31afc3[_0x26cf91(0x9a)],'startRow':_0x31afc3['row'],'endRow':_0x31afc3[_0x26cf91(0x2c6)],'startColumn':_0x31afc3['column'],'endColumn':_0x31afc3['column']}),B={'phase':_0x26cf91(0x271),'rangeKey':Xn({'startRow':_0x31afc3[_0x26cf91(0x2c6)],'endRow':_0x31afc3[_0x26cf91(0x2c6)],'startColumn':_0x31afc3[_0x26cf91(0x200)],'endColumn':_0x31afc3[_0x26cf91(0x200)]}),'tableId':_0x39023a,'unitId':_0x412edc};}function Jn(_0x552931,_0x37f16d,_0x14e4d7){const _0x18c599=_0x588cc3;_0x552931[_0x18c599(0x1c7)](!0x0),_0x552931['setStructuralSelection']({'kind':_0x4e9e70[_0x18c599(0x391)],'tableId':_0x37f16d[_0x18c599(0xe3)],'segmentId':_0x14e4d7,'startRow':0x0,'endRow':Math[_0x18c599(0x104)](_0x37f16d[_0x18c599(0x34f)]-0x1,0x0),'startColumn':0x0,'endColumn':Math[_0x18c599(0x104)](_0x37f16d[_0x18c599(0xbb)]-0x1,0x0)});}function Yn(_0xaded7a,_0x1d91dd,_0xb077d,_0x246768){const _0x1850db=_0x588cc3;let _0x35846e=_0xb077d[_0x1850db(0x190)];_0x35846e&&(_0x1d91dd[_0x1850db(0x198)]({'clearNativeSelection':!0x1}),_0x1d91dd[_0x1850db(0x1c7)](!0x1),Kn(_0xaded7a,Qn(_0x35846e),_0x246768));}function Xn(_0x3db6e9){const _0x56bc42=_0x588cc3;return[Math[_0x56bc42(0x23e)](_0x3db6e9[_0x56bc42(0x170)],_0x3db6e9[_0x56bc42(0x1c6)]),Math[_0x56bc42(0x104)](_0x3db6e9['startRow'],_0x3db6e9['endRow']),Math[_0x56bc42(0x23e)](_0x3db6e9['startColumn'],_0x3db6e9[_0x56bc42(0x336)]),Math['max'](_0x3db6e9[_0x56bc42(0x203)],_0x3db6e9[_0x56bc42(0x336)])][_0x56bc42(0x371)](':');}function Zn(_0x1960db,_0x2bc354){const _0x504694=_0x588cc3;return(B==null?void 0x0:B['unitId'])===_0x1960db&&B[_0x504694(0xe3)]===_0x2bc354['tableId']&&B['rangeKey']===Xn(_0x2bc354);}function _0x2ee5(_0x19d8d7,_0x73d3c4){_0x19d8d7=_0x19d8d7-0x8f;const _0x3bb56d=_0x3bb5();let _0x2ee544=_0x3bb56d[_0x19d8d7];return _0x2ee544;}function Qn(_0xeb86a3){const _0x5e65ff=_0x588cc3;var _0x1404a2;let _0x27872f=[],_0xa9906c=0x0;for(let _0x28fc5c of(_0x1404a2=_0xeb86a3[_0x5e65ff(0x253)])==null?[]:_0x1404a2){let {startIndex:_0x2b9d81,endIndex:_0x52d576}=_0x28fc5c;_0xa9906c!==_0x2b9d81&&_0x27872f[_0x5e65ff(0xba)](...$n(_0xeb86a3,_0xa9906c,_0x2b9d81-0x1)),_0x27872f[_0x5e65ff(0xba)](er(_0x28fc5c)),_0xa9906c=_0x52d576;}return _0xa9906c!==_0xeb86a3[_0x5e65ff(0x213)][_0x5e65ff(0x1c5)]-0x2&&_0x27872f[_0x5e65ff(0xba)](...$n(_0xeb86a3,_0xa9906c,_0xeb86a3[_0x5e65ff(0x213)]['length']-0x2)),_0x27872f;}function $n(_0x1a55a3,_0x74fa99,_0x5e163a){const _0x5d7055=_0x588cc3;var _0x14b8ee;if(_0x74fa99>_0x5e163a)return[];let _0x4da866=[...(_0x14b8ee=_0x1a55a3['paragraphs'])==null?[]:_0x14b8ee][_0x5d7055(0x14b)]((_0x140dc8,_0x7b57e8)=>_0x140dc8[_0x5d7055(0x18a)]-_0x7b57e8[_0x5d7055(0x18a)]),_0x34c0da=[],_0x1e88b8=_0x74fa99;for(let _0x1e0f1f of _0x4da866)if(!(_0x1e0f1f[_0x5d7055(0x18a)]<_0x1e88b8)){if(_0x1e0f1f[_0x5d7055(0x18a)]>_0x5e163a)break;_0x34c0da[_0x5d7055(0xba)]({'collapsed':_0x1e88b8===_0x1e0f1f['startIndex'],'endOffset':_0x1e0f1f[_0x5d7055(0x18a)],'rangeType':_0x34685e[_0x5d7055(0x25a)],'startOffset':_0x1e88b8}),_0x1e88b8=_0x1e0f1f[_0x5d7055(0x18a)]+0x1;}return _0x1e88b8<=_0x5e163a&&_0x34c0da[_0x5d7055(0xba)]({'collapsed':_0x1e88b8===_0x5e163a,'endOffset':_0x5e163a,'rangeType':_0x34685e[_0x5d7055(0x25a)],'startOffset':_0x1e88b8}),_0x34c0da;}function er(_0x38d286){const _0x439aa0=_0x588cc3;return{'collapsed':_0x38d286['startIndex']+0x3===_0x38d286[_0x439aa0(0x38d)]-0x5,'endOffset':_0x38d286[_0x439aa0(0x38d)]-0x5,'rangeType':_0x34685e[_0x439aa0(0x2b4)],'startOffset':_0x38d286[_0x439aa0(0x18a)]+0x3};}function tr(_0x330273){'@babel/helpers - typeof';const _0x31e185=_0x588cc3;return tr=typeof Symbol==_0x31e185(0x13e)&&typeof Symbol[_0x31e185(0x2c2)]==_0x31e185(0x263)?function(_0x1df7f1){return typeof _0x1df7f1;}:function(_0x1716cb){const _0x3d39f3=_0x31e185;return _0x1716cb&&typeof Symbol=='function'&&_0x1716cb[_0x3d39f3(0x288)]===Symbol&&_0x1716cb!==Symbol['prototype']?_0x3d39f3(0x263):typeof _0x1716cb;},tr(_0x330273);}function nr(_0x2b25f6,_0x3b72ca){const _0x254549=_0x588cc3;if(tr(_0x2b25f6)!=_0x254549(0x26f)||!_0x2b25f6)return _0x2b25f6;var _0x4be1eb=_0x2b25f6[Symbol[_0x254549(0x25c)]];if(_0x4be1eb!==void 0x0){var _0x27fe47=_0x4be1eb['call'](_0x2b25f6,_0x3b72ca||'default');if(tr(_0x27fe47)!=_0x254549(0x26f))return _0x27fe47;throw TypeError(_0x254549(0x165));}return(_0x3b72ca===_0x254549(0x19f)?String:Number)(_0x2b25f6);}function rr(_0x5928fd){const _0x8c4b5d=_0x588cc3;var _0xecd44d=nr(_0x5928fd,_0x8c4b5d(0x19f));return tr(_0xecd44d)=='symbol'?_0xecd44d:_0xecd44d+'';}function V(_0x383370,_0x14a952,_0x9f6259){const _0x512f46=_0x588cc3;return(_0x14a952=rr(_0x14a952))in _0x383370?Object[_0x512f46(0x298)](_0x383370,_0x14a952,{'value':_0x9f6259,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x383370[_0x14a952]=_0x9f6259,_0x383370;}const ir={'visible':!0x1,'tableId':'','selectionKind':_0x4e9e70[_0x588cc3(0x244)],'selection':null,'anchorRect':null,'selectionRect':null,'mergeAction':null,'showDeleteAction':!0x1,'hoverActive':!0x1,'deleteTarget':null,'deleteHoverActive':!0x1,'topLeftCell':null,'verticalAlign':null,'typeIcon':void 0x0,'typeValue':void 0x0};var ar=class extends _0x465703{constructor(..._0x5d49c0){const _0xaf1f33=_0x588cc3;super(..._0x5d49c0),V(this,'_state',ir),V(this,_0xaf1f33(0x1b0),new _0x175f07(ir));}['getState'](){return this['_state'];}[_0x588cc3(0x1cf)](_0x26d771){const _0x295b9a=_0x588cc3;this[_0x295b9a(0x1f2)](_0x26d771);}[_0x588cc3(0xdc)](_0x2620a4={}){this['_updateState']({'visible':!0x0,..._0x2620a4});}['hide'](){const _0x2e6b87=_0x588cc3;this[_0x2e6b87(0x1f2)]({...ir,'visible':!0x1});}[_0x588cc3(0x14c)](){const _0x39ce3a=_0x588cc3;this[_0x39ce3a(0x166)]=ir,this[_0x39ce3a(0x1b0)][_0x39ce3a(0x131)](this[_0x39ce3a(0x166)]);}[_0x588cc3(0x2d9)](_0xabd134){const _0x301668=_0x588cc3;this[_0x301668(0x1f2)]({'deleteHoverActive':_0xabd134});}[_0x588cc3(0x308)](_0x520325){const _0xf5e0cc=_0x588cc3;this[_0xf5e0cc(0x2d9)](_0x520325);}[_0x588cc3(0x1c2)](_0x14cfc0){this['_updateState']({'hoverActive':_0x14cfc0});}[_0x588cc3(0x376)](){const _0x90ecf8=_0x588cc3;this['state$'][_0x90ecf8(0x115)](),super[_0x90ecf8(0x376)]();}[_0x588cc3(0x1f2)](_0x23da1e){const _0x3d29a5=_0x588cc3;this[_0x3d29a5(0x166)]={...this[_0x3d29a5(0x166)],..._0x23da1e},this[_0x3d29a5(0x1b0)][_0x3d29a5(0x131)](this[_0x3d29a5(0x166)]);}};const or={'icon':_0x588cc3(0xbf),'value':_0x4cb371[_0x588cc3(0x23b)]},sr={[_0x66410[_0x588cc3(0x219)]]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x1a6)]]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x2dd)]]:'OrderIcon',[_0x66410[_0x588cc3(0xd0)]]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x279)]]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x119)]]:_0x588cc3(0x2ec),[_0x66410['ORDER_LIST_QUICK_2']]:_0x588cc3(0x2ec),[_0x66410['ORDER_LIST_QUICK_3']]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x278)]]:_0x588cc3(0x2ec),[_0x66410['ORDER_LIST_QUICK_5']]:_0x588cc3(0x2ec),[_0x66410['ORDER_LIST_QUICK_6']]:_0x588cc3(0x2ec),[_0x66410[_0x588cc3(0x2b6)]]:_0x588cc3(0x2f2),[_0x66410['BULLET_LIST_1']]:_0x588cc3(0x2f2),[_0x66410[_0x588cc3(0x399)]]:'UnorderIcon',[_0x66410[_0x588cc3(0x2c5)]]:_0x588cc3(0x2f2),[_0x66410[_0x588cc3(0x19e)]]:_0x588cc3(0x2f2),[_0x66410[_0x588cc3(0x2ca)]]:_0x588cc3(0x2f2),[_0x66410[_0x588cc3(0x39b)]]:_0x588cc3(0x1a3),[_0x66410[_0x588cc3(0x18e)]]:'TodoListDoubleIcon'},cr={[_0x4cb371[_0x588cc3(0x23b)]]:'TextTypeIcon',[_0x4cb371[_0x588cc3(0x368)]]:_0x588cc3(0x3bf),[_0x4cb371[_0x588cc3(0x28e)]]:_0x588cc3(0x28a),[_0x4cb371[_0x588cc3(0x350)]]:_0x588cc3(0x1b2),[_0x4cb371[_0x588cc3(0x29e)]]:_0x588cc3(0x239),[_0x4cb371[_0x588cc3(0x2da)]]:_0x588cc3(0x33f),[_0x4cb371[_0x588cc3(0x1f3)]]:_0x588cc3(0x396),[_0x4cb371['SUBTITLE']]:_0x588cc3(0x172),[_0x4cb371[_0x588cc3(0x1e4)]]:_0x588cc3(0xbf)};function lr(_0x3cd9fd,_0x40e412){const _0x2390ba=_0x588cc3;var _0x4d7338;let _0x40d890=fr(_0x3cd9fd,_0x40e412);if(!_0x40d890)return or;let _0x4a46c1=hr(_0x40d890);return{'icon':gr(_0x4a46c1,(_0x4d7338=_0x40d890[_0x2390ba(0xe2)])==null?void 0x0:_0x4d7338[_0x2390ba(0x379)]),'value':_0x4a46c1};}function _0x3bb5(){const _0x190d70=['deltaX','TEXT','_rowColumnMoveState','toPrimitive','onPointerLeave$','column-insert-dot','_getViewportTableRect','_drawMovePreview','getState','_setTableCursor','symbol','asc','BUTTON_SELECTOR','_resolveFloatingMenuMergeAction','_drawSortPopover','_pendingHandleSelection','registerRenderModule','onReset','strokeRect','_initZoomStateReset','defaultColor','docs-table-ui.borderColor','object','docs-table-ui.insertRowAbove','cell','label','setViewport','doc.menu.table-insert','_syncViewportState','selections','docs-table-ui.toolbar.alignRight','ORDER_LIST_QUICK_4','ORDER_LIST_4','mergedCells','_drawIconHoverBg','_activeTable','text-align-justify','1\x20/\x20-1','merge-cells','#1a73e8','find','#1f1f1f','svg','_hoverCell','mainComponent','docs-table-ui.borderStyleSolid','documentStyle','constructor','filter','H2Icon','univer-size-4\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors','117567SdPqWG','overflowWidthThreshold','HEADING_2','row-insert-dot','_sortPopover','docs-table-ui.column-type-panel','split','_canScrollHorizontally','_menuManagerService','buttons','title','trailingInsetRight','defineProperty','RIGHT','isDraggingScrollbar','_getFloatingMenuExtraTopGap','docs-table-ui.command.floating-strike-through','Right','HEADING_4','currentIndex','fillStyle','_canStartHeaderReorder','docs-table-ui.borders','mapParams','docs-table-ui.toolbar.textStyle.orderedList','#9ca3af','getActiveTextRange','hasOwnProperty','_tooltip','GridIcon','docs-table-ui.menu.context','add','style','docs-table-ui.toolbar.textBackgroundColor.main','getCanvasElement','docs-table-ui.toolbar.alignJustify','deleteTarget','from','InnerVertical','viewportScrollY','RECT','onRendered','BULLET_LIST','suppressOverlay','docs-table-ui.columnTypeDropdown','resize-row','docs-table-ui.insertTitleRow','\x20x\x20','_drawBorderPopover','viewportScrollX','getCurrentUnitOfType','_drawSelection','lineWidth','getSkeletonData','iterator','TOP','viewport','BULLET_LIST_3','row','sourceIndex','floating-text-italic','_docParagraphMenuService','BULLET_LIST_5','borderBottom','_isPointWithinFloatingMenuHoverBridge','registerCommand','tableColumns','_closeBorderPopover','2.7','selectionChange$','version','floating-text-underline','span','presets','number','moveTo','_getStructuralFloatingMenuAnchorRect','setDeleteHoverActive','HEADING_5','size','docs-table-ui.insertTableSize','ORDER_LIST_2','borderTop','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','div','vAlign','docs-table-ui.menu.column-type','#fff','docs-table-ui.insertRow','hitTest','strokeStyle','univer-w-full','scene','M3\x203.25H13','MAIN_AREA','deleteHoverActive','OrderIcon','410BqMupW','labelKey','1553196LxpZaI','_hitTest','slice','UnorderIcon','pageIndex','attachPopupToRect','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','docs-table-ui.customTableSize','_getBorderPresetLabel','ctrlKey','active','getContextValue','paragraphs','docs-table-ui.borderInnerVertical','docs-table-ui.borderWidth','above','_hasActivePointerInteraction','floating-text-bold','docs-table-ui.borderLeft','_draw','_getInsertTriggerDocumentCenter','bottom','registerShortcut','clientY','#eceff1','setDeleteHover','applyWheel','item','pointermove','round','_updateSelectionDrag','BOTTOM','docs-table-ui.insert','formatItems','_initFloatingMenuState','_executeCommandAndRefreshActiveTable','trunc','open','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','CENTER','onCommandExecuted','_updateSelectionDragAutoScroll','_stopSelectionDragAutoScroll','cell-background-reset','docs-table-ui.borderInnerHorizontal','onClick','_releaseHandleSelection','SUBITEMS','_buildActiveTable','_clamp','pointerup','_selectTable','removeEventListener','initialSize','_getColumnMoveTargetAtX','docs-table-ui.tableRows','anchorColumn','docs-table-ui.borderStyleDotted','_getVirtualContentWidth','6573SAzebd','right','pluginName','docs-table-ui.tableOptions','FORMAT','CTRL_COMMAND','docs-table-ui.border-panel','AllBorderIcon','_getRowMoveTargetAtY','docs-table-ui.selectRow','accessor','_getCurrentZoom','endColumn','_getTriggerInput','structural','#b8bec6','borderLeft','_getResizeGuideRect','ns-resize','deltaY','univer-text-xs','H5Icon','_moveDragSourceTableId','_releaseResizeDrag','univer-grid\x20univer-gap-0.5','alignItem','hover','_setHoveredTrigger','CELL','reduce','docs-table-ui.command.floating-italic','setScrollLeft','arc','_updateHoverTarget','findIndex','currentColor','_configService','rowCount','HEADING_3','showDeleteAction','_hitSortOption','univer-box-border\x20univer-grid\x20univer-grid-cols-5\x20univer-gap-1\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-text-primary-600\x20univer-shadow-lg','_states','documentFlavor','3\x202','row-header','offsetY','_findTableSliceForSource','subscribe','univer-flex\x20univer-items-center\x20univer-gap-2','isActive','SELECTOR','map','startScrollLeft','docs-table-ui.command.floating-font-family','refreshSelection','getViewport','docs-table-ui.insertColumnsLeft','pageWidth','hideContextMenu','decorate','UNIVER_DOC','HEADING_1','dropdown','_selection','appearance','docs-table-ui.command.select-all','_getRowColumnMoveTarget','_releaseMoveDrag','call','_renderManagerService','join','_findSkeletonTable','below','DASH','scrollByDragEdge','dispose','setCursor','M3\x2012.5H13','namedStyleType','zoom','tableRows','getUnitId','_getFloatingMenuAnchorRect','docs-table-ui.command.floating-text-style','visible','text','#2f66ff','docs-table-ui.borderBottom','_hoveredTrigger','univer-size-4\x20univer-text-primary-600','setStructuralHeaderSelection','fillRect','docs-table-ui.borderStyle','docs-table-ui.deleteTable','kind','onSelect','_getOrCreateViewportState','docs-table-ui.selectTable','endIndex','shadowColor','vertical-align-bottom','docs-table-ui.insertColumnRight','Table','floating-text-strike','univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','docs-table-ui.sortTable','tableRect','TitleTypeIcon','getOwnPropertyDescriptor','underline','BULLET_LIST_2','Asc','CHECK_LIST','docs-table-ui.unmergeCells','columnSpan','packageName','docs-table-ui.sortDescending','onExecuteInlineCommand','idle','_handleStructuralInsertTrigger','docs-table-ui.distributeRows','docs-table-ui.pinHeaderRows','makeDirty','DocsTableBorderWidthIcon','_drawInsertTrigger','_drawInsertTriggerGuide','5EFrFJR','1.8','#f1f3f4','has','Left','_hitTestHoverTrigger','section','UpBorderDoubleIcon','docs-table-ui.toolbar.textStyle.tooltip','rowSpan','docs-table-ui.borderNone','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','_hideFloatingMenuPopup','_buildTableMoveHitAtPoint','univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200','univer-fill-primary-600','icon','scrollByScrollbarTravel','RightBorderDoubleIcon','docs-table-ui.columnTypeText','_setResizeCursor','H1Icon','docs-table-ui.table.main','segmentId','ensureColumnRangeVisible','RIBBON','phase','_commandService','shadowBlur','typeValue','text-color','currentSkeleton$','_initPointerEvents','docs-table-ui.toolbar.textStyle.unorderedList','getSkeleton','pipe','MODERN','_headerSelectionDragState','POINTER','forEach','top-center','RightInsertColumnDoubleIcon','rowHeights','setConfig','doc.menu.table-delete','rgba(24,\x2028,\x2042,\x200.40)','docs-table-ui.toolbar','font','Row','unitId','focused$','_applyBorderPreset','HorizontalBorderDoubleIcon','getOffsetConfig','_triggers','table','scaleX','onChange','\x0a\x20\x20\x20\x20univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x0a\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x0a\x20\x20\x20\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x0a\x20\x20\x20\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800\x0a','_handleWindowPointerMove','endOffset','docs-table-ui.toolbar.textStyle.heading5','_getDocumentFlavor','_getTriggerInitialSize','rowIndices','docs-table-ui.toolbar.textStyle.heading2','rows','itemId','bucket','docs-table-ui.menu.insert','onHorizontalAlign','measureText','startX','_drawTableSelectTrigger','track','_registerIcons','BUTTON','_injector','_hideFloatingControlsForZoom','InnerHorizontal','771uNEhcg','getSnapshot','showTableMenu','docsTop','stopPropagation','thumbTravel','docs-table-ui.borderAll','targetCommandId','docs-table-ui.verticalAlignBottom','register','typeIcon','LeftInsertColumnDoubleIcon','push','columnCount','colCount','docs-table-ui.insertRowsAbove','NoBorderIcon','TextTypeIcon','univer-flex\x20univer-h-8\x20univer-min-w-12\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','none','_docCanvasPopManagerService','some','Text','docs-table-ui.delete','getCurrentSelection','DocsTableBorderStyleIcon','lineCap','preventDefault','onVerticalAlign','columnIndices','isArray','pageMarginTop','_drawStructuralHeaderBands','ClearFormatDoubleIcon','ORDER_LIST_3','_docEventManagerService','docs-table-ui.tableColumns','align','_refreshActiveTableFromSkeleton','top-left','_releasePointerInteraction','tableCells','docs-table-ui.toolbar.textStyle.heading4','docs-table-ui.menu.border','date','VerticalBorderDoubleIcon','show','2415876geJgdy','asObservable','_triggerChange$','bullet','unit','paragraphStyle','tableId','tableSource','docs-table-ui.columnTypeNumber','_contextMenuService','_isStructuralHeaderSelected','position','OuterBorderDoubleIcon','_refreshNativeSelection','docs-table-ui.insertColumnLeft','docs-table-ui.columnTypeDate','docs-table-ui.textFormat','1.2\x202.2','docs-table-ui.toolbar.textColor.main','addEventListener','docs-table-ui.toolbar.italic','681466UviIds','getDocRanges','33LhlCJa','onSelectPreset','delete','PaintBucketDoubleIcon','viewportWidth','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','InnerBorderDoubleIcon','localeService','_isPointInTableControlRect','_selectionAutoScrollTimer','_drawTooltip','italic','LeftBorderDoubleIcon','_getCellAtPoint','color','1em','max','_scheduleSelectionDragAutoScroll','_consumePointerEvent','_floatingMenuPopupAnchorKey','_viewportService','#3c4043','marginRight','docs-table-ui.tableBackgroundColor','docs-table-ui.command.floating-bold','backgroundColor','globalAlpha','mouseup','_hitBorderPreset','pages','iconName','save','direction','complete','DownBorderDoubleIcon','thumb','disabled','ORDER_LIST_5','_releaseRowColumnMove','docs-table-ui.borderOuter','path','M3\x206.5H13','getBoundingClientRect','value$','top','docs-table-ui.floating-toolbar','source','paragraphStart','rgb','cell-border','lineJoin','hide','_hoverRow','DeleteIcon','stroke','floor','onStarting','12px\x20Arial,\x20sans-serif','rgba(217,\x2048,\x2037,\x200.16)','docs-table-ui.menu.delete','dot','next','skipNextObservers','restore','get','MEDIA','_getRowAtY','_getScrollbarGeometry','_isRowHeaderInsertSeamHit','_isPointWithinStructuralControlZone','_selectionService','type','docs-table-ui.toolbar.textStyle.normal','_shouldKeepActiveTableForSelection','function','subscribeEvent','_key','toContentX','Inner','commandId','_drawSortOptionIcon','#0b8043','_iconManager','beginPath','M2.5\x208H13.5','onChangeColor','_moveDragPreview','sort','reset','docs-table-ui.insertRowBelow','_getTableDropTargetAtPoint','_drawScrollbar','docs-table-ui.columnType','_getActiveInputWithCurrentZoom','toViewportX','_getColumnAtX','univer-box-border\x20univer-flex\x20univer-size-7\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-primary-600\x20hover:univer-bg-gray-100','afterRender$','_initSelectionState','_config','triggerChange$','_localeService','menu','None','_hoverColumn','trigger','children','selection','verticalAlign','TRADITIONAL','mergeAction','table-select','bold','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_state','docs-table-ui.toolbar.underline','getAncestorScale','marginLeft','metaKey','_getMaxScrollLeft','COMMAND','params','_lastPointerPoint','_registerComponents','startRow','_initCanvasRender','SubtitleTypeIcon','docs-table-ui.menu.distribute','_UI_PLUGIN','anchorIndex','docs-table-ui.toolbar.resetColor','_updateScrollbarDrag','_drawSixDotDragHandle','Top','4554qsWRvT','popup','leadingInsetLeft','isInteger','activeTable','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-800\x20dark:!univer-text-white','_collectSkeletonTables','disposeWithMe','_borderPopover','ensureContentRangeVisible','_isSameTrigger','width','sourceTableId','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','text-color-reset','_moveDragState','startIndex','dashStyle','docs-table-ui.columnTypeCheckbox','rgba(47,\x20102,\x20255,\x200.18)','CHECK_LIST_CHECKED','M3\x208H13','body','MOVE','getUniverDocInstance','_syncFloatingMenuFromSelection','_docSelectionManagerService','docs-table-ui.borderInner','univer-text-base','univer-p-4','clearStructuralSelection','_drawInsertTriggerPlus','_floatingMenuPopup','getContext','executeCommand','then','BULLET_LIST_4','string','_setTooltip','1.5','_createRowColumnMoveState','TodoListDoubleIcon','solid','text-align-center','ORDER_LIST_1','_getDocumentPointFromWindowEvent','roundRect','InsertRowAboveDoubleIcon','_scheduleActiveTableRefresh','cells','hoverActive','height','docs-table-ui.clearContent','LAYOUT','state$','docs-table-ui.insertColumnsRight','H3Icon','resize-column','#dadce0','left','_resetTableCursor','resetCursor','_syncViewportStateForSourceTable','_scrollbarDragState','_selectColumn','univer-grid\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-1.5\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','.below','docs-table-ui.deleteRow','docs-table-ui.command.floating-font-size','docs-table-ui.toolbar.alignLeft','_selectionDragState','docs-table-ui.insertRowsBelow','setHoverActive','onPointerUp$','getStableTableSelection','length','endRow','setNativeSelectionSuppressed','_dragSourceTableId','dash','docs-table-ui.command.floating-align','_resolveFloatingMenuTextStyle','_syncParagraphTableMenuFromActiveTable','LEFT','flatMap','setState','_context','_startOrJumpScrollbar','docs-table-ui.borderRight','rgba(32,\x2033,\x2036,\x200.94)','rgba(60,\x2064,\x2067,\x200.18)','column-header','index','_shouldPreserveFloatingHover','getCurrentUniverDocInstance','input','Outer','lineTo','strike','isFinite','setStructuralSelection','_floatingMenuService','anchorRow','_initTableState','page','unsubscribe','NAMED_STYLE_TYPE_UNSPECIFIED','window','univer-flex\x20univer-h-8\x20univer-min-w-16\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-sm\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','mergeMenu','_resolveFloatingMenuVerticalAlign','_rowColumnMoveTarget','_initTableLayoutRefresh','dark:hover:!univer-bg-red-950/40\x20dark:hover:!univer-text-red-400','DocsTableBorderStyleDashedIcon','text-align-right','M3\x2013.25H13','docsLeft','All','Desc','_updateState','TITLE','startY','_dragPreview','Bottom','onExecute','#f5f6f7','pointercancel','_shouldKeepActiveTableOnPointerLeave','DATA','_cursorBeforeTableInteraction','docs-table-ui.mergeCells','resetLabel','startOffset','column','docs-table-ui.insert-table-picker','univer-col-span-2\x20univer-w-full','startColumn','Cell','_drawStructuralHeaderTrigger','borderRight','_borderPopoverDisposable','_hitScrollbar','text-align-left','_openBorderPopover','univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','bottom-left','clientX','_moveDropTarget','_buildViewportState','text-background-reset','docs-table-ui.sortAscending','fill','dataStream','univer-box-border\x20univer-grid\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_shouldKeepActiveTableForControls','docs-table-ui.menu.sort','value','_buildScrollbarGeometry','ORDER_LIST','commit','2472ctTkDy','1483700MmGrgE','_activeTableRefreshTimer','_ensureFloatingMenuPopup','anchorRect','merge','shiftKey','docs-table-ui.borderTop','cell-background','univer-flex\x20univer-items-center\x20univer-gap-1','columnWidths','Column','hypot','preset','_refreshActiveTableViewport','onPointerDown$','scrollLeft','paragraphEnd','onChangeStyle','_dragState','@univerjs-pro/docs-table-ui','border-color-reset','_componentManager','docs-table-ui.deleteColumn','docs-table-ui.toolbar.strikethrough','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','_refreshActiveTableForLayoutChange','viewportLeft','_updateHeaderSelectionDrag','values','H4Icon','unmerge','NORMAL_TEXT','rgba(24,\x2028,\x2042,\x200.20)','_clipRectToViewport','min','docs-table-ui.insertTable','_docSkeletonManagerService','_shouldKeepActiveTableForFloatingMenu','contentWidth','_getScrollbarAppearance','Range','delete-selection','_restoreTableCursor','_isPointInActiveControlZone','_makeDirty','var(--univer-primary-600)','button','1.0.0-alpha.1','replaceDocRanges','engine','offsetX','_buildActiveTableAtPoint','docs-table-ui.verticalAlignTop','prototype','vertical-align-top','tables','floating-text-format-panel','getStructuralSelection','rect','_drawBorderPresetIcon','docs-table-ui.config'];_0x3bb5=function(){return _0x190d70;};return _0x3bb5();}function ur(_0x53c096,_0x2514e9){const _0xa6201f=_0x588cc3;if(!_0x53c096||!(_0x2514e9!=null&&_0x2514e9[_0xa6201f(0xe3)]))return[];let _0x308276=_0x417f4c(_0x53c096,_0x2514e9[_0xa6201f(0xe3)]);if(!_0x308276)return[];let _0x5b3757=Math['min'](_0x2514e9[_0xa6201f(0x170)],_0x2514e9[_0xa6201f(0x1c6)]),_0x41e815=Math['max'](_0x2514e9[_0xa6201f(0x170)],_0x2514e9[_0xa6201f(0x1c6)]),_0x36540d=Math['min'](_0x2514e9[_0xa6201f(0x203)],_0x2514e9[_0xa6201f(0x336)]),_0xb12a6b=Math[_0xa6201f(0x104)](_0x2514e9[_0xa6201f(0x203)],_0x2514e9[_0xa6201f(0x336)]),_0x5f4e47=new Set(),_0x5721f8=[];for(let _0x378b50=_0x5b3757;_0x378b50<=_0x41e815;_0x378b50++)for(let _0x5d3a00=_0x36540d;_0x5d3a00<=_0xb12a6b;_0x5d3a00++){var _0x23b1a3,_0x2c15e8;let _0x436995=(_0x23b1a3=_0x308276['rows'][_0x378b50])==null?void 0x0:_0x23b1a3[_0xa6201f(0x1ab)][_0x5d3a00];if(!_0x436995)continue;let _0x5ad77d=_0x436995[_0xa6201f(0x1ff)]+0x1,_0x143e4f=Math[_0xa6201f(0x104)](_0x5ad77d,_0x436995[_0xa6201f(0x9a)]-0x1),_0x5056ae=_0x5ad77d+':'+_0x143e4f;_0x5f4e47['has'](_0x5056ae)||(_0x5f4e47[_0xa6201f(0x2ab)](_0x5056ae),_0x5721f8[_0xa6201f(0xba)]({'collapsed':_0x5ad77d===_0x143e4f,'endOffset':_0x143e4f,'segmentId':(_0x2c15e8=_0x2514e9[_0xa6201f(0x3c1)])==null?'':_0x2c15e8,'startOffset':_0x5ad77d}));}return _0x5721f8[_0xa6201f(0x14b)]((_0x46e62d,_0x4d4d2b)=>_0x46e62d[_0xa6201f(0x1ff)]-_0x4d4d2b['startOffset']||_0x46e62d['endOffset']-_0x4d4d2b['endOffset']);}function dr(_0x15ecde,_0x3a3ec6){const _0x561bc1=_0x588cc3;var _0x550956;let _0x46b1c0=mr(_0x15ecde,_0x3a3ec6);if(!_0x46b1c0)return[];let _0x5f4963=_0x46b1c0[_0x561bc1(0x1ff)]+0x1,_0x3dc565=Math[_0x561bc1(0x104)](_0x5f4963,_0x46b1c0['endOffset']-0x1);return[{'collapsed':_0x5f4963===_0x3dc565,'endOffset':_0x3dc565,'segmentId':(_0x550956=_0x3a3ec6==null?void 0x0:_0x3a3ec6[_0x561bc1(0x3c1)])==null?'':_0x550956,'startOffset':_0x5f4963}];}function fr(_0x3a26a7,_0x19cba7){const _0x34a013=_0x588cc3;var _0x4dd109;if(!_0x3a26a7||!(_0x19cba7!=null&&_0x19cba7[_0x34a013(0xe3)]))return null;let _0x165456=(_0x4dd109=_0x3a26a7[_0x34a013(0x190)])==null?void 0x0:_0x4dd109[_0x34a013(0x2fb)],_0x3a5cb3=mr(_0x3a26a7,_0x19cba7);return!_0x3a5cb3||!(_0x165456!=null&&_0x165456['length'])?null:pr(_0x165456,_0x3a5cb3[_0x34a013(0x1ff)]+0x1);}function pr(_0x3fe1be,_0x33eda1){const _0x55d69f=_0x588cc3;let _0x3f0995=-0x1;for(let _0x188b8e of _0x3fe1be){if(_0x33eda1>_0x3f0995&&_0x33eda1<=_0x188b8e[_0x55d69f(0x18a)])return _0x188b8e;_0x3f0995=_0x188b8e[_0x55d69f(0x18a)];}return null;}function mr(_0x323375,_0x99e865){const _0x111b8d=_0x588cc3;var _0x12123a,_0x4a934a;if(!_0x323375||!(_0x99e865!=null&&_0x99e865[_0x111b8d(0xe3)]))return null;let _0x57517d=_0x417f4c(_0x323375,_0x99e865[_0x111b8d(0xe3)]),_0x39a3a6=Math[_0x111b8d(0x23e)](_0x99e865[_0x111b8d(0x170)],_0x99e865[_0x111b8d(0x1c6)]),_0x456554=Math[_0x111b8d(0x23e)](_0x99e865[_0x111b8d(0x203)],_0x99e865[_0x111b8d(0x336)]);return(_0x12123a=_0x57517d==null||(_0x4a934a=_0x57517d['rows'][_0x39a3a6])==null?void 0x0:_0x4a934a[_0x111b8d(0x1ab)][_0x456554])==null?null:_0x12123a;}function hr(_0x2fe270){const _0x32c24c=_0x588cc3;var _0x35846b,_0x4ee204,_0x2671b1;let _0x59bc81=(_0x35846b=_0x2fe270[_0x32c24c(0xe0)])==null?void 0x0:_0x35846b['listType'];return _0x59bc81!=null&&_0x59bc81['startsWith'](_0x66410[_0x32c24c(0x219)])?_0x66410[_0x32c24c(0x219)]:_0x59bc81!=null&&_0x59bc81['startsWith'](_0x66410[_0x32c24c(0x2b6)])?_0x66410[_0x32c24c(0x2b6)]:_0x59bc81===_0x66410[_0x32c24c(0x39b)]||_0x59bc81===_0x66410[_0x32c24c(0x18e)]?_0x66410[_0x32c24c(0x39b)]:(_0x4ee204=(_0x2671b1=_0x2fe270[_0x32c24c(0xe2)])==null?void 0x0:_0x2671b1['namedStyleType'])==null?_0x4cb371[_0x32c24c(0x23b)]:_0x4ee204;}function gr(_0x29d7c6,_0x5ebe8b){const _0x22ff12=_0x588cc3;var _0x169c93,_0xa0a840;if(typeof _0x29d7c6=='string'){var _0x968990;return(_0x968990=sr[_0x29d7c6])==null?or[_0x22ff12(0x3ba)]:_0x968990;}return(_0x169c93=(_0xa0a840=cr[_0x29d7c6])==null?cr[_0x5ebe8b==null?_0x4cb371[_0x22ff12(0x23b)]:_0x5ebe8b]:_0xa0a840)==null?or[_0x22ff12(0x3ba)]:_0x169c93;}var _r=class extends _0x465703{constructor(..._0x2c24eb){super(..._0x2c24eb),V(this,'_states',new Map());}[_0x588cc3(0x261)](_0x5a2264,_0x581727){const _0x1d3ae2=_0x588cc3;return this[_0x1d3ae2(0x354)][_0x1d3ae2(0x134)](this['_key'](_0x5a2264,_0x581727));}[_0x588cc3(0x273)](_0x3aa071,_0x4abc89,_0x27becb){const _0x2396b8=_0x588cc3;var _0x477522,_0x4d3b70,_0x1738d2,_0x1a1fd3,_0x3c8bb4,_0x4ce698;let _0x5853c5=this[_0x2396b8(0x140)](_0x3aa071,_0x4abc89),_0x3302a6=this['_states'][_0x2396b8(0x134)](_0x5853c5),_0x4d0c01={'contentWidth':Math['max'](0x0,_0x27becb[_0x2396b8(0x242)]),'isDraggingScrollbar':(_0x477522=_0x3302a6==null?void 0x0:_0x3302a6[_0x2396b8(0x29a)])==null?!0x1:_0x477522,'leadingInsetLeft':Math['max'](0x0,(_0x4d3b70=_0x27becb[_0x2396b8(0x17c)])==null?0x0:_0x4d3b70),'overflowWidthThreshold':Math[_0x2396b8(0x104)](0x0,(_0x1738d2=_0x27becb[_0x2396b8(0x28d)])==null?_0x27becb[_0x2396b8(0xf8)]:_0x1738d2),'scrollLeft':(_0x1a1fd3=_0x3302a6==null?void 0x0:_0x3302a6[_0x2396b8(0x22b)])==null?0x0:_0x1a1fd3,'trailingInsetRight':Math[_0x2396b8(0x104)](0x0,(_0x3c8bb4=_0x27becb['trailingInsetRight'])==null?0x0:_0x3c8bb4),'viewportLeft':(_0x4ce698=_0x27becb['viewportLeft'])==null?0x0:_0x4ce698,'viewportWidth':Math[_0x2396b8(0x104)](0x0,_0x27becb[_0x2396b8(0xf8)])};return _0x4d0c01[_0x2396b8(0x22b)]=this[_0x2396b8(0x320)](_0x4d0c01[_0x2396b8(0x22b)],_0x4d0c01),this[_0x2396b8(0x354)]['set'](_0x5853c5,_0x4d0c01),_0x4d0c01;}[_0x588cc3(0x349)](_0x3a04ad,_0x3e9113,_0x1b2f68){const _0x286a6a=_0x588cc3;let _0x2334b5=this[_0x286a6a(0x261)](_0x3a04ad,_0x3e9113);return _0x2334b5?(_0x2334b5[_0x286a6a(0x22b)]=this['_clamp'](_0x1b2f68,_0x2334b5),_0x2334b5[_0x286a6a(0x22b)]):0x0;}[_0x588cc3(0x141)](_0x5b3bfc,_0x2989b0,_0x8f6498){const _0x4832fb=_0x588cc3;var _0x2dbb35,_0x3d401e;let _0x1bea15=this[_0x4832fb(0x261)](_0x5b3bfc,_0x2989b0);return _0x8f6498-((_0x2dbb35=_0x1bea15==null?void 0x0:_0x1bea15['leadingInsetLeft'])==null?0x0:_0x2dbb35)+((_0x3d401e=_0x1bea15==null?void 0x0:_0x1bea15[_0x4832fb(0x22b)])==null?0x0:_0x3d401e);}[_0x588cc3(0x152)](_0x3b5810,_0x5b86a2,_0x18ee00){const _0x215d3c=_0x588cc3;var _0xeda95a,_0x49088b;let _0x3b9484=this[_0x215d3c(0x261)](_0x3b5810,_0x5b86a2);return _0x18ee00+((_0xeda95a=_0x3b9484==null?void 0x0:_0x3b9484[_0x215d3c(0x17c)])==null?0x0:_0xeda95a)-((_0x49088b=_0x3b9484==null?void 0x0:_0x3b9484['scrollLeft'])==null?0x0:_0x49088b);}[_0x588cc3(0x183)](_0x1a233e,_0x582f5e,_0x891fbb,_0x7f0a17){const _0x220582=_0x588cc3;let _0x2ceaf2=this[_0x220582(0x261)](_0x1a233e,_0x582f5e);if(!_0x2ceaf2)return 0x0;let _0x2e702f=_0x2ceaf2[_0x220582(0x22b)]-_0x2ceaf2['leadingInsetLeft'],_0x41b00d=_0x2e702f+_0x2ceaf2['viewportWidth'];return _0x891fbb<_0x2e702f?this[_0x220582(0x349)](_0x1a233e,_0x582f5e,_0x891fbb+_0x2ceaf2[_0x220582(0x17c)]):_0x7f0a17>_0x41b00d?this[_0x220582(0x349)](_0x1a233e,_0x582f5e,_0x7f0a17+_0x2ceaf2[_0x220582(0x17c)]-_0x2ceaf2[_0x220582(0xf8)]):_0x2ceaf2[_0x220582(0x22b)];}[_0x588cc3(0x3c2)](_0x3711f5,_0x3d32f3,_0x11c1fc,_0x5a3b1b){const _0x430778=_0x588cc3;return this[_0x430778(0x183)](_0x3711f5,_0x3d32f3,_0x11c1fc,_0x5a3b1b);}['applyWheel'](_0x23a2ce,_0x209306,_0x470497){const _0x222baf=_0x588cc3;if(_0x470497[_0x222baf(0x2f8)]||_0x470497[_0x222baf(0x16a)])return!0x1;let _0x3bebc3=_0x470497[_0x222baf(0x37a)]&&_0x470497[_0x222baf(0x37a)]>0x0?_0x470497[_0x222baf(0x37a)]:0x1,_0x2a0187=(_0x470497[_0x222baf(0x259)]||(_0x470497[_0x222baf(0x221)]?_0x470497[_0x222baf(0x33d)]:0x0))/_0x3bebc3;if(!_0x2a0187)return!0x1;let _0x156011=this[_0x222baf(0x261)](_0x23a2ce,_0x209306);if(!_0x156011||!this['_canScrollHorizontally'](_0x156011))return!0x1;let _0x3d6efa=_0x156011[_0x222baf(0x22b)];return this[_0x222baf(0x349)](_0x23a2ce,_0x209306,_0x3d6efa+_0x2a0187),_0x156011[_0x222baf(0x22b)]!==_0x3d6efa;}[_0x588cc3(0x3bb)](_0x9f68a5,_0x41f4b1,_0x124e38,_0x1c3a34){const _0x2121e8=_0x588cc3;let _0x161f6b=this[_0x2121e8(0x261)](_0x9f68a5,_0x41f4b1);if(!_0x161f6b||_0x1c3a34<=0x0){var _0x4c826e;return(_0x4c826e=_0x161f6b==null?void 0x0:_0x161f6b[_0x2121e8(0x22b)])==null?0x0:_0x4c826e;}let _0x55e3d8=this[_0x2121e8(0x16b)](_0x161f6b);return this[_0x2121e8(0x349)](_0x9f68a5,_0x41f4b1,_0x161f6b['scrollLeft']+_0x55e3d8/_0x1c3a34*_0x124e38);}['scrollByDragEdge'](_0x380a75,_0x5a62da,_0x186e9c,_0xb2aebd,_0x4c7a6a){const _0x1be71b=_0x588cc3;let _0x546ec4=this['getState'](_0x380a75,_0x5a62da);if(!_0x546ec4||!this['_canScrollHorizontally'](_0x546ec4)||_0xb2aebd<=0x0||_0x4c7a6a<=0x0)return!0x1;let _0x135385=_0x186e9c,_0x50e0a0=_0x546ec4[_0x1be71b(0xf8)]-_0x186e9c,_0x48baa=0x0,_0x38b3dd=0x0;if(_0x135385<_0xb2aebd?(_0x48baa=-0x1,_0x38b3dd=_0x135385):_0x50e0a0<_0xb2aebd&&(_0x48baa=0x1,_0x38b3dd=_0x50e0a0),!_0x48baa)return!0x1;let _0x1796a8=Math[_0x1be71b(0x23e)](0x1,Math['max'](0x0,(_0xb2aebd-_0x38b3dd)/_0xb2aebd)),_0x2e8786=Math[_0x1be71b(0x104)](0x1,Math['ceil'](_0x1796a8*_0x4c7a6a)),_0x271cca=_0x546ec4[_0x1be71b(0x22b)];return this[_0x1be71b(0x349)](_0x380a75,_0x5a62da,_0x271cca+_0x48baa*_0x2e8786),_0x546ec4[_0x1be71b(0x22b)]!==_0x271cca;}['clear'](_0x30d0fc,_0x41cbfa){const _0x3a560b=_0x588cc3;this['_states'][_0x3a560b(0xf6)](this[_0x3a560b(0x140)](_0x30d0fc,_0x41cbfa));}[_0x588cc3(0x320)](_0x35e418,_0x412880){const _0x7bf6b=_0x588cc3;return Math['min'](Math[_0x7bf6b(0x104)](0x0,_0x35e418),this[_0x7bf6b(0x16b)](_0x412880));}[_0x588cc3(0x329)](_0x33d758){const _0x34d66e=_0x588cc3;return _0x33d758[_0x34d66e(0x17c)]+_0x33d758[_0x34d66e(0x242)]+_0x33d758[_0x34d66e(0x297)];}['_getMaxScrollLeft'](_0x46d8d5){const _0x13f136=_0x588cc3;return this[_0x13f136(0x293)](_0x46d8d5)?Math['max'](0x0,this[_0x13f136(0x329)](_0x46d8d5)-_0x46d8d5[_0x13f136(0xf8)]):0x0;}['_canScrollHorizontally'](_0x36da6a){const _0x5ddb81=_0x588cc3;return _0x36da6a[_0x5ddb81(0x242)]>_0x36da6a[_0x5ddb81(0x28d)]&&this[_0x5ddb81(0x329)](_0x36da6a)>_0x36da6a[_0x5ddb81(0xf8)];}[_0x588cc3(0x140)](_0x2b8cd5,_0x252bd1){return _0x2b8cd5+'::'+_0x252bd1;}};const vr={[_0x5b5677[_0x588cc3(0x1f0)]]:_0x588cc3(0x331),[_0x5b5677[_0x588cc3(0x1f6)]]:'DownBorderDoubleIcon',[_0x5b5677[_0x588cc3(0x142)]]:_0x588cc3(0xfa),[_0x5b5677['InnerHorizontal']]:'HorizontalBorderDoubleIcon',[_0x5b5677[_0x588cc3(0x2b2)]]:_0x588cc3(0xdb),[_0x5b5677[_0x588cc3(0x3ad)]]:_0x588cc3(0x100),[_0x5b5677['None']]:'NoBorderIcon',[_0x5b5677[_0x588cc3(0x1da)]]:_0x588cc3(0xe9),[_0x5b5677[_0x588cc3(0x29d)]]:_0x588cc3(0x3bc),[_0x5b5677[_0x588cc3(0x179)]]:_0x588cc3(0x3b0)};function yr(_0x334749){return vr[_0x334749];}const br=_0x588cc3(0x330),xr={'colorChannel1':_0x588cc3(0x2a5)},Sr={'all':_0xf38679,'bottom':_0x12c564,'inner':_0x405fa2,'innerHorizontal':_0x4eafe5,'innerVertical':_0x478f35,'left':_0x2390a9,'none':_0x5bd47d,'outer':_0x2a3e8e,'right':_0x540e60,'top':_0x558f2b},Cr=[{'label':_0x588cc3(0xb4),'preset':_0x5b5677[_0x588cc3(0x1f0)]},{'label':_0x588cc3(0x195),'preset':_0x5b5677[_0x588cc3(0x142)]},{'label':_0x588cc3(0x11b),'preset':_0x5b5677['Outer']},{'label':_0x588cc3(0x3b3),'preset':_0x5b5677[_0x588cc3(0x15b)]}];function wr(_0x18bf74){const _0x3c3396=_0x588cc3;var _0x953bdf,_0x1a72b3;let _0xcf5946=(_0x953bdf=_0x18bf74[_0x3c3396(0x17b)])==null?void 0x0:_0x953bdf['extraProps'],_0x10a590=(_0x1a72b3=_0xcf5946==null?void 0x0:_0xcf5946[_0x3c3396(0x2d5)])==null?Cr:_0x1a72b3,_0x8c2556=_0xcf5946==null?void 0x0:_0xcf5946[_0x3c3396(0x38a)],_0x175390=_0x1a05d5(_0x36e78d);return _0x117f47('section',{'className':_0x3c3396(0x353),'data-u-comp':br,'children':_0x10a590[_0x3c3396(0x35e)](({label:_0x40455a,preset:_0x1367f9})=>{const _0x2b7fe6=_0x3c3396;let _0x2d5fd5=Sr[_0x1367f9],_0x2b9ee8=_0x175390['t'](_0x40455a);return _0x117f47(_0x2b7fe6(0x24a),{'type':_0x2b7fe6(0x24a),'aria-label':_0x2b9ee8,'title':_0x2b9ee8,'className':_0x2b7fe6(0x154),'onClick':_0x24a62f=>{const _0x1ae8c6=_0x2b7fe6;_0x24a62f[_0x1ae8c6(0xc9)](),_0x8c2556==null||_0x8c2556(_0x1367f9);},'children':_0x117f47(_0x2d5fd5,{'className':_0x2b7fe6(0x384),'extend':xr,'style':{'color':_0x2b7fe6(0x34d),'fontSize':0x10}})},_0x1367f9);})});}function Tr(_0x53453f,_0x4289b4){const _0x52a2cc=_0x588cc3;if(_0x53453f[_0x52a2cc(0x1c5)]===0x0)return null;let _0x11d0ed=[..._0x53453f]['sort']((_0xee54a0,_0x16c459)=>_0xee54a0[_0x52a2cc(0x256)][_0x52a2cc(0x120)]-_0x16c459[_0x52a2cc(0x256)][_0x52a2cc(0x120)]||_0xee54a0[_0x52a2cc(0x123)]-_0x16c459[_0x52a2cc(0x123)]),_0x1b0ec3=_0x11d0ed[_0x52a2cc(0x281)](_0x2d8ac7=>_0x4289b4['y']<=(_0x2d8ac7[_0x52a2cc(0x256)][_0x52a2cc(0x120)]+_0x2d8ac7['rect']['bottom'])/0x2);if(_0x1b0ec3)return{'targetOffset':_0x1b0ec3[_0x52a2cc(0x123)],'width':_0x1b0ec3['rect'][_0x52a2cc(0x32b)]-_0x1b0ec3[_0x52a2cc(0x256)]['left'],'x':_0x1b0ec3[_0x52a2cc(0x256)][_0x52a2cc(0x1b5)],'y':_0x1b0ec3[_0x52a2cc(0x256)][_0x52a2cc(0x120)]};let _0x444b8b=_0x11d0ed[_0x11d0ed['length']-0x1];return{'targetOffset':_0x444b8b[_0x52a2cc(0x22c)]+0x1,'width':_0x444b8b['rect'][_0x52a2cc(0x32b)]-_0x444b8b[_0x52a2cc(0x256)][_0x52a2cc(0x1b5)],'x':_0x444b8b[_0x52a2cc(0x256)]['left'],'y':_0x444b8b[_0x52a2cc(0x256)][_0x52a2cc(0x304)]};}function Er(_0x3f63bc,_0x21fe54,_0x1d80c3){const _0x57785f=_0x588cc3;return _0x21fe54?Math[_0x57785f(0x227)](_0x21fe54['x']-_0x3f63bc['x'],_0x21fe54['y']-_0x3f63bc['y'])<_0x1d80c3:!0x1;}function Dr(_0x1e8b1e,_0x3b05d4,_0x232225,_0xdc8b66){return{'trigger':_0x1e8b1e,'startX':_0x3b05d4,'startY':_0x232225,'tableRect':_0xdc8b66};}function Or(_0x47207b,_0x564c3e,_0x5d7f57){const _0x85ec0e=_0x588cc3;let _0x316593=_0x564c3e-_0x47207b[_0x85ec0e(0xa6)],_0x16c4fd=_0x5d7f57-_0x47207b[_0x85ec0e(0x1f4)];return{'deltaX':_0x316593,'deltaY':_0x16c4fd,'rect':{..._0x47207b[_0x85ec0e(0x395)],'x':_0x47207b[_0x85ec0e(0x395)]['x']+_0x316593,'y':_0x47207b[_0x85ec0e(0x395)]['y']+_0x16c4fd}};}const kr=[_0x588cc3(0x321),_0x588cc3(0x1f9),_0x588cc3(0x10f),'blur'];function Ar(_0x47e6cc,_0x3dac6c=Mr()){const _0x53ecce=_0x588cc3;if(!_0x3dac6c)return{'dispose':()=>void 0x0};let _0x377cb=kr[_0x53ecce(0x35e)](_0x33274c=>{const _0x5e3536=_0x53ecce;let _0xa7e242=_0x47462a=>_0x47e6cc({'event':_0x47462a,'type':_0x33274c});return _0x3dac6c[_0x5e3536(0xf0)](_0x33274c,_0xa7e242,!0x1),{'listener':_0xa7e242,'type':_0x33274c};});return{'dispose':()=>{_0x377cb['forEach'](({listener:_0x160e5a,type:_0x5f4107})=>_0x3dac6c['removeEventListener'](_0x5f4107,_0x160e5a,!0x1));}};}function jr(_0x12c07f,_0x28854d=Mr()){const _0x163af9=_0x588cc3;if(!_0x28854d)return{'dispose':()=>void 0x0};let _0x2b5c50=_0x3c8d1e=>_0x12c07f({'event':_0x3c8d1e,'type':_0x163af9(0x30b)});return _0x28854d[_0x163af9(0xf0)](_0x163af9(0x30b),_0x2b5c50,!0x1),{'dispose':()=>_0x28854d[_0x163af9(0x323)]('pointermove',_0x2b5c50,!0x1)};}function Mr(){const _0x14928e=_0x588cc3;return globalThis[_0x14928e(0x1e5)]===void 0x0?null:globalThis[_0x14928e(0x1e5)];}function Nr(_0x2fb61b,_0x113855,_0x96aed8,_0x368fc2,_0x2dec28=0x1){return{'trigger':_0x2fb61b,'startX':_0x113855,'startY':_0x96aed8,'initialSize':_0x368fc2,'minSize':_0x2dec28};}function Pr(_0xb7186a,_0x6fcbc4,_0x41c002){const _0x28c3df=_0x588cc3;return _0xb7186a[_0x28c3df(0x15d)][_0x28c3df(0x389)]===_0x28c3df(0x1b3)?{'column':_0xb7186a[_0x28c3df(0x15d)][_0x28c3df(0x200)],'width':Math[_0x28c3df(0x104)](_0xb7186a['minSize'],_0xb7186a[_0x28c3df(0x324)]+_0x6fcbc4-_0xb7186a[_0x28c3df(0xa6)])}:{'height':Math[_0x28c3df(0x104)](_0xb7186a['minSize'],_0xb7186a[_0x28c3df(0x324)]+_0x41c002-_0xb7186a['startY']),'row':_0xb7186a['trigger'][_0x28c3df(0x2c6)]};}function Fr(_0x445c68,_0x1220e2,_0x2e9090){return _0x2e9090?Pr(_0x445c68,_0x2e9090['x'],_0x2e9090['y']):_0x1220e2;}function Ir(_0x20946c,_0x183197,_0x68a71d){const _0x369f53=_0x588cc3;if(_0x183197[_0x369f53(0x389)]==='resize-column'){var _0x35bb27,_0x28c2c3,_0x192163,_0x516b33,_0x5d3aa7,_0x35a0b8;let _0x3a8280=Lr(_0x20946c[_0x369f53(0xcb)],_0x183197[_0x369f53(0x200)]);if(_0x3a8280==null||_0x3a8280<0x0)return null;let _0x3f51d3=_0x68a71d!=null&&_0x68a71d[_0x369f53(0x200)]===_0x183197[_0x369f53(0x200)]&&_0x68a71d[_0x369f53(0x185)]!=null?_0x68a71d[_0x369f53(0x185)]:_0x20946c['columnWidths'][_0x3a8280],_0xfc95b7=Br(_0x20946c),_0x2da254=((_0x35bb27=(_0x28c2c3=_0x20946c[_0x369f53(0x2c4)])==null?void 0x0:_0x28c2c3['viewportLeft'])==null?_0x20946c[_0x369f53(0x395)]['x']:_0x35bb27)+((_0x192163=(_0x516b33=_0x20946c[_0x369f53(0x2c4)])==null?void 0x0:_0x516b33[_0x369f53(0x17c)])==null?0x0:_0x192163)+Rr(_0x20946c[_0x369f53(0x225)][_0x369f53(0x2f1)](0x0,_0x3a8280))+_0x3f51d3-0x1-((_0x5d3aa7=(_0x35a0b8=_0x20946c[_0x369f53(0x2c4)])==null?void 0x0:_0x35a0b8[_0x369f53(0x22b)])==null?0x0:_0x5d3aa7);return _0x2da254<_0xfc95b7['x']||_0x2da254>_0xfc95b7['x']+_0xfc95b7[_0x369f53(0x185)]?null:{'height':zr(_0x183197[_0x369f53(0x256)][_0x369f53(0x1ad)],_0x20946c[_0x369f53(0x395)][_0x369f53(0x1ad)],Rr(_0x20946c['rowHeights'])),'width':0x2,'x':_0x2da254,'y':Math[_0x369f53(0x104)](_0x20946c[_0x369f53(0x395)]['y'],_0x183197[_0x369f53(0x256)]['y'])};}if(_0x183197['kind']==='resize-row'){let _0x11bc2b=Lr(_0x20946c[_0x369f53(0x9e)],_0x183197[_0x369f53(0x2c6)]);if(_0x11bc2b==null||_0x11bc2b<0x0)return null;let _0x3e6b20=_0x68a71d!=null&&_0x68a71d[_0x369f53(0x2c6)]===_0x183197[_0x369f53(0x2c6)]&&_0x68a71d[_0x369f53(0x1ad)]!=null?_0x68a71d[_0x369f53(0x1ad)]:_0x20946c[_0x369f53(0x3d4)][_0x11bc2b],_0x1f23d1=Vr(_0x20946c),_0x53b35a=Math[_0x369f53(0x104)](_0x1f23d1['x'],_0x183197[_0x369f53(0x256)]['x']),_0x443acc=Math['min'](_0x1f23d1['x']+_0x1f23d1[_0x369f53(0x185)],_0x183197[_0x369f53(0x256)]['x']+_0x183197[_0x369f53(0x256)][_0x369f53(0x185)]);return _0x443acc<=_0x53b35a?null:{'height':0x2,'width':_0x443acc-_0x53b35a,'x':_0x53b35a,'y':_0x20946c[_0x369f53(0x395)]['y']+Rr(_0x20946c[_0x369f53(0x3d4)][_0x369f53(0x2f1)](0x0,_0x11bc2b))+_0x3e6b20-0x1};}return null;}function Lr(_0xe39941,_0x3b9ee9){return _0x3b9ee9==null?-0x1:_0xe39941?_0xe39941['findIndex'](_0x1568de=>_0x1568de===_0x3b9ee9):_0x3b9ee9;}function Rr(_0x38d06a){const _0x1b2f38=_0x588cc3;return _0x38d06a[_0x1b2f38(0x347)]((_0x45d327,_0x2a479f)=>_0x45d327+_0x2a479f,0x0);}function zr(..._0x5823b1){const _0xac44bb=_0x588cc3;return Math['max'](0x0,Math[_0xac44bb(0x23e)](..._0x5823b1[_0xac44bb(0x289)](_0x37f6b5=>_0x37f6b5>0x0)));}function Br(_0x1499cc){const _0x57cc63=_0x588cc3;var _0x98b49a,_0x377bb1,_0x1ef02e,_0x349ce6;return{..._0x1499cc[_0x57cc63(0x395)],'x':(_0x98b49a=(_0x377bb1=_0x1499cc[_0x57cc63(0x2c4)])==null?void 0x0:_0x377bb1[_0x57cc63(0x236)])==null?_0x1499cc[_0x57cc63(0x395)]['x']:_0x98b49a,'width':(_0x1ef02e=(_0x349ce6=_0x1499cc[_0x57cc63(0x2c4)])==null?void 0x0:_0x349ce6[_0x57cc63(0xf8)])==null?_0x1499cc['tableRect'][_0x57cc63(0x185)]:_0x1ef02e};}function Vr(_0x14ae3f){const _0x486cb2=_0x588cc3;let _0x2021a5=Br(_0x14ae3f),_0x4d0c57=_0x14ae3f['viewport']?Math[_0x486cb2(0x104)](_0x2021a5['x'],Hr(_0x14ae3f,0x0)):_0x14ae3f[_0x486cb2(0x395)]['x'],_0x34be06=_0x14ae3f[_0x486cb2(0x2c4)]?Math[_0x486cb2(0x23e)](_0x2021a5['x']+_0x2021a5[_0x486cb2(0x185)],Hr(_0x14ae3f,Rr(_0x14ae3f[_0x486cb2(0x225)]))):_0x14ae3f[_0x486cb2(0x395)]['x']+Rr(_0x14ae3f[_0x486cb2(0x225)]);return{..._0x2021a5,'x':_0x4d0c57,'width':Math[_0x486cb2(0x104)](0x0,_0x34be06-_0x4d0c57)};}function Hr(_0x117db0,_0x8a67b4){const _0x3632a2=_0x588cc3;var _0x5d9376,_0x3e4787,_0x424fa6,_0x27f2b2,_0x40f27b,_0x1bf8fc;return((_0x5d9376=(_0x3e4787=_0x117db0['viewport'])==null?void 0x0:_0x3e4787[_0x3632a2(0x236)])==null?_0x117db0[_0x3632a2(0x395)]['x']:_0x5d9376)+((_0x424fa6=(_0x27f2b2=_0x117db0[_0x3632a2(0x2c4)])==null?void 0x0:_0x27f2b2[_0x3632a2(0x17c)])==null?0x0:_0x424fa6)+_0x8a67b4-((_0x40f27b=(_0x1bf8fc=_0x117db0[_0x3632a2(0x2c4)])==null?void 0x0:_0x1bf8fc['scrollLeft'])==null?0x0:_0x40f27b);}function Ur(_0x55e7b6){const _0x445999=_0x588cc3;var _0x355fdf,_0x530d88,_0x1aff52,_0x57c205,_0x132e91;let _0x37ae1f=Math[_0x445999(0x104)](0x0,(_0x355fdf=_0x55e7b6[_0x445999(0x17c)])==null?0x0:_0x355fdf),_0x372264=Math[_0x445999(0x104)](0x0,(_0x530d88=_0x55e7b6[_0x445999(0x28d)])==null?_0x55e7b6['viewportWidth']:_0x530d88),_0x390743=Math[_0x445999(0x104)](0x0,(_0x1aff52=_0x55e7b6[_0x445999(0x297)])==null?0x0:_0x1aff52),_0x2e07bd=_0x37ae1f+_0x55e7b6[_0x445999(0x242)]+_0x390743;if(_0x55e7b6['contentWidth']<=_0x372264||_0x2e07bd<=_0x55e7b6[_0x445999(0xf8)]||_0x55e7b6[_0x445999(0xf8)]<=0x0)return null;let _0x50471a=_0x55e7b6[_0x445999(0x37a)]||0x1,_0x28195e=(_0x57c205=_0x55e7b6[_0x445999(0x36b)])==null?_0x445999(0x3a1):_0x57c205,_0x4b7a27=0xa/_0x50471a,_0x34bfaa=(_0x28195e===_0x445999(0x3a1)?0x6:0x8)/_0x50471a,_0x3ed511=Math['max'](0x0,_0x2e07bd-_0x55e7b6[_0x445999(0xf8)]),_0x457715=(_0x132e91=_0x55e7b6[_0x445999(0x236)])==null?_0x55e7b6[_0x445999(0x395)]['x']:_0x132e91,_0x11d08b={'height':_0x4b7a27,'width':_0x55e7b6['viewportWidth'],'x':_0x457715,'y':_0x55e7b6[_0x445999(0x395)]['y']+_0x55e7b6[_0x445999(0x395)][_0x445999(0x1ad)]+0x4/_0x50471a},_0x555c24=Math[_0x445999(0x104)](0x20/_0x50471a,_0x11d08b['width']*(_0x55e7b6['viewportWidth']/_0x2e07bd)),_0x2e51ac=Math[_0x445999(0x104)](0x0,_0x11d08b[_0x445999(0x185)]-_0x555c24),_0x43bc56=_0x3ed511>0x0?Math[_0x445999(0x23e)](_0x3ed511,Math[_0x445999(0x104)](0x0,_0x55e7b6[_0x445999(0x22b)]))/_0x3ed511:0x0,_0x1520e4=_0x11d08b['x']+_0x2e51ac*_0x43bc56;return{'appearance':_0x28195e,'contentWidth':_0x55e7b6[_0x445999(0x242)],'leadingInsetLeft':_0x37ae1f,'maxScrollLeft':_0x3ed511,'thumb':{'height':_0x34bfaa,'width':_0x555c24,'x':_0x1520e4,'y':_0x11d08b['y']+(_0x11d08b[_0x445999(0x1ad)]-_0x34bfaa)/0x2},'track':_0x11d08b,'viewportLeft':_0x457715,'viewportWidth':_0x55e7b6['viewportWidth']};}function Wr(_0x4ea131,_0x5b63a1,_0x521f16){const _0x2a78ea=_0x588cc3;return Kr(_0x4ea131['thumb'],_0x5b63a1,_0x521f16)?_0x2a78ea(0x117):Kr(_0x4ea131[_0x2a78ea(0xa8)],_0x5b63a1,_0x521f16)?_0x2a78ea(0xa8):null;}function Gr(_0x3e1c37,_0x49ada5){const _0x25bd0c=_0x588cc3;_0x3e1c37['save'](),_0x3e1c37[_0x25bd0c(0x2a0)]=_0x49ada5[_0x25bd0c(0x36b)]===_0x25bd0c(0x2f9)?_0x25bd0c(0x3d7):_0x49ada5[_0x25bd0c(0x36b)]===_0x25bd0c(0x344)?'rgba(24,\x2028,\x2042,\x200.30)':_0x25bd0c(0x23c),qr(_0x3e1c37,_0x49ada5['thumb']['x'],_0x49ada5[_0x25bd0c(0x117)]['y'],_0x49ada5['thumb'][_0x25bd0c(0x185)],_0x49ada5[_0x25bd0c(0x117)][_0x25bd0c(0x1ad)],_0x49ada5['thumb'][_0x25bd0c(0x1ad)]/0x2),_0x3e1c37[_0x25bd0c(0x212)](),_0x3e1c37[_0x25bd0c(0x133)]();}function Kr(_0xb7f735,_0x360b6a,_0x3ba6c2){return _0x360b6a>=_0xb7f735['x']&&_0x360b6a<=_0xb7f735['x']+_0xb7f735['width']&&_0x3ba6c2>=_0xb7f735['y']&&_0x3ba6c2<=_0xb7f735['y']+_0xb7f735['height'];}function qr(_0x4488fb,_0x4f051d,_0x3b6ee8,_0x47056c,_0xc934f8,_0x343277){const _0xf052ea=_0x588cc3;_0x4488fb[_0xf052ea(0x147)](),_0x4488fb[_0xf052ea(0x1a8)]?_0x4488fb[_0xf052ea(0x1a8)](_0x4f051d,_0x3b6ee8,_0x47056c,_0xc934f8,_0x343277):_0x4488fb['rect'](_0x4f051d,_0x3b6ee8,_0x47056c,_0xc934f8);}function Jr(_0x505696,_0x37f0dc={}){const _0x3691e1=_0x588cc3;return _0x37f0dc[_0x3691e1(0x2b7)]||_0x505696[_0x3691e1(0x122)]===_0x5b4ff1[_0x3691e1(0xc4)]||_0x505696['kind']===_0x4e9e70[_0x3691e1(0x244)]&&_0x505696[_0x3691e1(0x170)]===_0x505696[_0x3691e1(0x1c6)]&&_0x505696[_0x3691e1(0x203)]===_0x505696[_0x3691e1(0x336)]?!0x1:_0x505696[_0x3691e1(0x389)]===_0x4e9e70[_0x3691e1(0x204)]||_0x505696[_0x3691e1(0x389)]===_0x4e9e70['Range']||_0x505696[_0x3691e1(0x389)]===_0x4e9e70['Table']||_0x505696['kind']===_0x4e9e70[_0x3691e1(0x3da)]||_0x505696[_0x3691e1(0x389)]===_0x4e9e70['Column'];}const Yr=new Set([_0x588cc3(0x28f),_0x588cc3(0x25e)]),Xr=new Set([_0x588cc3(0x357),_0x588cc3(0x1d5),_0x588cc3(0x28f),_0x588cc3(0x25e)]);function Zr(_0x20864e){const _0x1daa10=_0x588cc3;var _0xaacecc;let _0x512f74=(_0xaacecc=_0x20864e[_0x1daa10(0x37a)])==null?0x1:_0xaacecc,_0x64e416=0x6/_0x512f74,_0x4594b4=[],_0x5de6c1=ii(_0x20864e),_0x195871=Si(_0x20864e[_0x1daa10(0x225)],oi(_0x20864e,_0x20864e[_0x1daa10(0x395)]['x'])),_0x44dfaf=Si(_0x20864e[_0x1daa10(0x3d4)],_0x20864e[_0x1daa10(0x395)]['y']);return _0x4594b4['push'](...Qr(_0x20864e,_0x5de6c1,_0x44dfaf,_0x512f74)),_0x4594b4[_0x1daa10(0xba)](...$r(_0x20864e,_0x5de6c1,_0x195871,_0x512f74)),_0x4594b4[_0x1daa10(0xba)](...ei(_0x20864e,_0x5de6c1,_0x44dfaf,_0x512f74)),_0x4594b4[_0x1daa10(0xba)](...ti(_0x20864e,_0x5de6c1,_0x195871,_0x512f74)),_0x20864e[_0x1daa10(0x3d4)][_0x1daa10(0x3d1)]((_0x109a1d,_0x32dd64)=>{const _0x486383=_0x1daa10;var _0xfe584f,_0x295567;let _0x53c0c0=(_0xfe584f=(_0x295567=_0x20864e[_0x486383(0x9e)])==null?void 0x0:_0x295567[_0x32dd64])==null?_0x32dd64:_0xfe584f;_0x4594b4[_0x486383(0xba)](...ni(_0x20864e,_0x53c0c0,_0x44dfaf[_0x32dd64]+_0x109a1d-_0x64e416/0x2,_0x64e416));}),_0x20864e[_0x1daa10(0x225)][_0x1daa10(0x3d1)]((_0x10fc45,_0x5713ff)=>{const _0x11d4b2=_0x1daa10;var _0x1d6eb3,_0x27ee95;let _0x2416f1=(_0x1d6eb3=(_0x27ee95=_0x20864e[_0x11d4b2(0xcb)])==null?void 0x0:_0x27ee95[_0x5713ff])==null?_0x5713ff:_0x1d6eb3;_0x4594b4[_0x11d4b2(0xba)](...ri(_0x20864e,_0x2416f1,_0x195871[_0x5713ff]+_0x10fc45-_0x64e416/0x2,_0x64e416));}),_0x4594b4;}function Qr(_0x4ba51e,_0x5690e7,_0x13326c,_0x5cd270){const _0x391376=_0x588cc3;let _0x13fca9=0xa/_0x5cd270,_0x45692b=ai(_0x4ba51e);return _0x4ba51e['rowHeights'][_0x391376(0x35e)]((_0x140835,_0x5091f3)=>{const _0x4ef5b1=_0x391376;var _0x43eef2,_0x2102d7;return{'kind':_0x4ef5b1(0x357),'tableId':_0x4ba51e[_0x4ef5b1(0xe3)],'row':(_0x43eef2=(_0x2102d7=_0x4ba51e['rowIndices'])==null?void 0x0:_0x2102d7[_0x5091f3])==null?_0x5091f3:_0x43eef2,'rect':{'x':_0x45692b-_0x13fca9,'y':_0x13326c[_0x5091f3],'width':_0x13fca9,'height':_0x140835}};});}function $r(_0x10e5eb,_0xce2371,_0x2c9743,_0x5ea05a){const _0x21ea1d=_0x588cc3;let _0x39ccc7=0xa/_0x5ea05a;return _0x10e5eb['columnWidths'][_0x21ea1d(0x1ce)]((_0x5cfd98,_0x543a0e)=>{const _0x1690e7=_0x21ea1d;var _0x52bff8,_0xbb4fa9;let _0x5dd485=ci(_0xce2371,{'x':_0x2c9743[_0x543a0e],'y':_0x10e5eb[_0x1690e7(0x395)]['y']-_0x39ccc7,'width':_0x5cfd98,'height':_0x39ccc7});return _0x5dd485?[{'kind':_0x1690e7(0x1d5),'tableId':_0x10e5eb[_0x1690e7(0xe3)],'column':(_0x52bff8=(_0xbb4fa9=_0x10e5eb[_0x1690e7(0xcb)])==null?void 0x0:_0xbb4fa9[_0x543a0e])==null?_0x543a0e:_0x52bff8,'rect':_0x5dd485}]:[];});}function ei(_0x4d38a4,_0x197416,_0x21d544,_0x1073d8){const _0x288f8b=_0x588cc3;let _0x16b686=0x6/_0x1073d8,_0x5f468b=0xa/_0x1073d8,_0x599e94=0x4/_0x1073d8,_0x319a05=ai(_0x4d38a4);return _0x4d38a4[_0x288f8b(0x3d4)][_0x288f8b(0x2f1)](0x0,-0x1)[_0x288f8b(0x35e)]((_0x3e711b,_0x2da4db)=>{const _0x53996f=_0x288f8b;var _0xb528b3,_0x3eb8ad;return{'kind':'row-insert-dot','tableId':_0x4d38a4[_0x53996f(0xe3)],'row':(_0xb528b3=(_0x3eb8ad=_0x4d38a4[_0x53996f(0x9e)])==null?void 0x0:_0x3eb8ad[_0x2da4db])==null?_0x2da4db:_0xb528b3,'rect':{'x':_0x319a05-_0x5f468b-_0x16b686/0x2-_0x599e94,'y':_0x21d544[_0x2da4db]+_0x3e711b-_0x16b686/0x2,'width':_0x16b686,'height':_0x16b686}};});}function ti(_0x1483c0,_0x43c83a,_0x179be5,_0x5e2078){const _0x1cfe8d=_0x588cc3;let _0x3bcf6c=0x6/_0x5e2078,_0x28c495=0x10/_0x5e2078,_0xe14482=0x4/_0x5e2078;return _0x1483c0[_0x1cfe8d(0x225)][_0x1cfe8d(0x2f1)](0x0,-0x1)[_0x1cfe8d(0x1ce)]((_0x5118f5,_0x33b305)=>{const _0x4dbe1d=_0x1cfe8d;var _0xaefe6a,_0x5415f3;let _0x30af56=ci(_0x43c83a,{'x':_0x179be5[_0x33b305]+_0x5118f5-_0x3bcf6c/0x2,'y':_0x1483c0[_0x4dbe1d(0x395)]['y']-_0x28c495-_0xe14482,'width':_0x3bcf6c,'height':_0x3bcf6c});return _0x30af56?[{'kind':_0x4dbe1d(0x25e),'tableId':_0x1483c0[_0x4dbe1d(0xe3)],'column':(_0xaefe6a=(_0x5415f3=_0x1483c0['columnIndices'])==null?void 0x0:_0x5415f3[_0x33b305])==null?_0x33b305:_0xaefe6a,'rect':_0x30af56}]:[];});}function ni(_0x2363da,_0x210a6d,_0x381bb8,_0x21298b){const _0x1978bd=_0x588cc3;let _0x8818b=ii(_0x2363da),_0x5ecab3=ui(_0x2363da,_0x210a6d)[_0x1978bd(0x35e)](_0x1f9cfa=>fi(_0x2363da,_0x1f9cfa[_0x1978bd(0x203)],_0x1f9cfa[_0x1978bd(0x336)]))['filter'](_0x1fccfa=>!!_0x1fccfa)[_0x1978bd(0x14b)]((_0x3daadc,_0xed2201)=>_0x3daadc[0x0]-_0xed2201[0x0]);return mi([_0x8818b['x'],_0x8818b['x']+_0x8818b[_0x1978bd(0x185)]],_0x5ecab3)[_0x1978bd(0x35e)](([_0xc4b1cc,_0x28ba0f])=>({'kind':_0x1978bd(0x2b9),'tableId':_0x2363da[_0x1978bd(0xe3)],'row':_0x210a6d,'rect':{'x':_0xc4b1cc,'y':_0x381bb8,'width':_0x28ba0f-_0xc4b1cc,'height':_0x21298b}}));}function ri(_0x246d42,_0x1ce75a,_0x31cd47,_0x26cf9d){const _0x20b25f=_0x588cc3;if(!si(ii(_0x246d42),_0x31cd47,_0x31cd47+_0x26cf9d))return[];let _0x296ff1=di(_0x246d42,_0x1ce75a)[_0x20b25f(0x35e)](_0x1d6037=>pi(_0x246d42,_0x1d6037[_0x20b25f(0x170)],_0x1d6037[_0x20b25f(0x1c6)]))[_0x20b25f(0x289)](_0x122a5b=>!!_0x122a5b)['sort']((_0x4ec203,_0x243699)=>_0x4ec203[0x0]-_0x243699[0x0]);return mi([_0x246d42[_0x20b25f(0x395)]['y'],_0x246d42[_0x20b25f(0x395)]['y']+_0x246d42[_0x20b25f(0x395)][_0x20b25f(0x1ad)]],_0x296ff1)[_0x20b25f(0x35e)](([_0x1a7f07,_0x23b68f])=>({'kind':_0x20b25f(0x1b3),'tableId':_0x246d42[_0x20b25f(0xe3)],'column':_0x1ce75a,'rect':{'x':_0x31cd47,'y':_0x1a7f07,'width':_0x26cf9d,'height':_0x23b68f-_0x1a7f07}}));}function ii(_0xe66281){const _0x53312d=_0x588cc3;var _0x3cb1a8,_0x4fd43e,_0x320b3b,_0x1f1bca;return{..._0xe66281['tableRect'],'x':(_0x3cb1a8=(_0x4fd43e=_0xe66281[_0x53312d(0x2c4)])==null?void 0x0:_0x4fd43e['viewportLeft'])==null?_0xe66281['tableRect']['x']:_0x3cb1a8,'width':(_0x320b3b=(_0x1f1bca=_0xe66281[_0x53312d(0x2c4)])==null?void 0x0:_0x1f1bca[_0x53312d(0xf8)])==null?_0xe66281[_0x53312d(0x395)][_0x53312d(0x185)]:_0x320b3b};}function ai(_0x5c73e8){const _0x1b70bf=_0x588cc3;var _0x11dcc8;if(!_0x5c73e8[_0x1b70bf(0x2c4)])return _0x5c73e8[_0x1b70bf(0x395)]['x'];let _0x16cb64=(_0x11dcc8=_0x5c73e8['viewport'][_0x1b70bf(0x236)])==null?_0x5c73e8[_0x1b70bf(0x395)]['x']:_0x11dcc8;return Math['max'](_0x16cb64,oi(_0x5c73e8,_0x5c73e8['tableRect']['x']));}function oi(_0x404623,_0x5d0275){const _0x3148ee=_0x588cc3;var _0x1ee622,_0x167f48,_0x73e335,_0x49cf69,_0x54cf79,_0x46be29;return((_0x1ee622=(_0x167f48=_0x404623[_0x3148ee(0x2c4)])==null?void 0x0:_0x167f48[_0x3148ee(0x236)])==null?_0x404623[_0x3148ee(0x395)]['x']:_0x1ee622)+((_0x73e335=(_0x49cf69=_0x404623[_0x3148ee(0x2c4)])==null?void 0x0:_0x49cf69[_0x3148ee(0x17c)])==null?0x0:_0x73e335)+(_0x5d0275-_0x404623[_0x3148ee(0x395)]['x'])-((_0x54cf79=(_0x46be29=_0x404623[_0x3148ee(0x2c4)])==null?void 0x0:_0x46be29[_0x3148ee(0x22b)])==null?0x0:_0x54cf79);}function si(_0x1be093,_0x45a22a,_0x46a014){const _0x40ddc1=_0x588cc3;return _0x46a014>=_0x1be093['x']&&_0x45a22a<=_0x1be093['x']+_0x1be093[_0x40ddc1(0x185)];}function ci(_0x3c0df4,_0x138bfd){const _0x4c5562=_0x588cc3;let _0x2057d6=Math[_0x4c5562(0x104)](_0x138bfd['x'],_0x3c0df4['x']),_0xfadab3=Math[_0x4c5562(0x23e)](_0x138bfd['x']+_0x138bfd[_0x4c5562(0x185)],_0x3c0df4['x']+_0x3c0df4[_0x4c5562(0x185)]);return _0xfadab3<=_0x2057d6?null:{..._0x138bfd,'x':_0x2057d6,'width':_0xfadab3-_0x2057d6};}function li(_0x2155b8){const _0x3d2cf3=_0x588cc3;return Yr[_0x3d2cf3(0x3ac)](_0x2155b8);}function ui(_0xbaa428,_0x106487){const _0x478d08=_0x588cc3;var _0xadebd9,_0x3c9c5b;return(_0xadebd9=(_0x3c9c5b=_0xbaa428['mergedCells'])==null?void 0x0:_0x3c9c5b[_0x478d08(0x289)](_0x263949=>_0x106487>=_0x263949[_0x478d08(0x170)]&&_0x106487<_0x263949[_0x478d08(0x1c6)]))==null?[]:_0xadebd9;}function di(_0x1db564,_0x3be33d){const _0x347d8c=_0x588cc3;var _0x518d00,_0x338e5d;return(_0x518d00=(_0x338e5d=_0x1db564['mergedCells'])==null?void 0x0:_0x338e5d[_0x347d8c(0x289)](_0x122d79=>_0x3be33d>=_0x122d79[_0x347d8c(0x203)]&&_0x3be33d<_0x122d79['endColumn']))==null?[]:_0x518d00;}function fi(_0x148024,_0x128fd5,_0x1ff7e1){const _0x45defa=_0x588cc3;let _0x44cc05=_i(_0x148024[_0x45defa(0xcb)],_0x128fd5),_0x1c299e=_i(_0x148024[_0x45defa(0xcb)],_0x1ff7e1);if(_0x44cc05<0x0||_0x1c299e<0x0)return null;let _0x4e06c2=Math[_0x45defa(0x23e)](_0x44cc05,_0x1c299e),_0x504e84=Math[_0x45defa(0x104)](_0x44cc05,_0x1c299e);return[oi(_0x148024,_0x148024[_0x45defa(0x395)]['x']+vi(_0x148024[_0x45defa(0x225)]['slice'](0x0,_0x4e06c2))),oi(_0x148024,_0x148024[_0x45defa(0x395)]['x']+vi(_0x148024[_0x45defa(0x225)][_0x45defa(0x2f1)](0x0,_0x504e84+0x1)))];}function pi(_0x1bed05,_0x1f4299,_0x19f3d5){const _0x42cc5a=_0x588cc3;let _0x3775d1=_i(_0x1bed05[_0x42cc5a(0x9e)],_0x1f4299),_0xad5902=_i(_0x1bed05['rowIndices'],_0x19f3d5);if(_0x3775d1<0x0||_0xad5902<0x0)return null;let _0x3be87b=Math['min'](_0x3775d1,_0xad5902),_0x257938=Math['max'](_0x3775d1,_0xad5902);return[_0x1bed05[_0x42cc5a(0x395)]['y']+vi(_0x1bed05[_0x42cc5a(0x3d4)][_0x42cc5a(0x2f1)](0x0,_0x3be87b)),_0x1bed05[_0x42cc5a(0x395)]['y']+vi(_0x1bed05[_0x42cc5a(0x3d4)][_0x42cc5a(0x2f1)](0x0,_0x257938+0x1))];}function mi(_0x285d78,_0x60d2ef){const _0x289296=_0x588cc3;let _0x541738=[_0x285d78];return _0x60d2ef[_0x289296(0x3d1)](([_0x492dca,_0x1681d9])=>{const _0x5096e6=_0x289296;_0x541738=_0x541738[_0x5096e6(0x1ce)](([_0x178a3f,_0x59f12f])=>{const _0xd01269=_0x5096e6;let _0x9b1ae=Math[_0xd01269(0x104)](_0x178a3f,Math['min'](_0x59f12f,_0x492dca)),_0x48626e=Math[_0xd01269(0x104)](_0x178a3f,Math['min'](_0x59f12f,_0x1681d9));return _0x48626e<=_0x178a3f||_0x9b1ae>=_0x59f12f||_0x9b1ae>=_0x48626e?[[_0x178a3f,_0x59f12f]]:[[_0x178a3f,_0x9b1ae],[_0x48626e,_0x59f12f]][_0xd01269(0x289)](([_0xfd22cf,_0x370263])=>_0x370263>_0xfd22cf);});}),_0x541738;}function hi(_0x5948ad,_0x178177,_0x1b879b){const _0x40a2bc=_0x588cc3;var _0x12caca;return(_0x12caca=[..._0x5948ad][_0x40a2bc(0x14b)]((_0x23fda6,_0x592c8e)=>xi(_0x592c8e)-xi(_0x23fda6))[_0x40a2bc(0x281)](_0x4cf65d=>Ci(_0x4cf65d[_0x40a2bc(0x256)],_0x178177,_0x1b879b)))==null?null:_0x12caca;}function gi(_0xd918bd,_0x67fb19,_0x25c8d8){const _0x44019d=_0x588cc3;var _0x234d3e;return(_0x234d3e=[..._0xd918bd][_0x44019d(0x289)](_0xd45383=>bi(_0xd45383[_0x44019d(0x389)]))['sort']((_0x44b245,_0x5a69f9)=>xi(_0x5a69f9)-xi(_0x44b245))['find'](_0xfee36a=>wi(_0xfee36a[_0x44019d(0x256)],_0x67fb19,_0x25c8d8,0x6)))==null?null:_0x234d3e;}function _i(_0x4971b4,_0x558b1c){var _0x1facf5;return(_0x1facf5=_0x4971b4==null?void 0x0:_0x4971b4['findIndex'](_0x4854ec=>_0x4854ec===_0x558b1c))==null?_0x558b1c:_0x1facf5;}function vi(_0x36be71){const _0x4567fa=_0x588cc3;return _0x36be71[_0x4567fa(0x347)]((_0x2a0f87,_0x1aed1e)=>_0x2a0f87+_0x1aed1e,0x0);}function yi(_0x22fe94,_0x49f38b,_0x557701){return gi(_0x22fe94,_0x49f38b,_0x557701)!=null;}function bi(_0x34f843){const _0x38e6b9=_0x588cc3;return Xr[_0x38e6b9(0x3ac)](_0x34f843);}function xi(_0x2c3e2f){const _0x3b24c9=_0x588cc3;return _0x2c3e2f['kind']===_0x3b24c9(0x28f)||_0x2c3e2f['kind']===_0x3b24c9(0x25e)?0x3:_0x2c3e2f[_0x3b24c9(0x389)]===_0x3b24c9(0x1b3)||_0x2c3e2f['kind']===_0x3b24c9(0x2b9)?0x2:0x0;}function Si(_0x53a127,_0x38c0be){const _0x432428=_0x588cc3;let _0x1689e4=[],_0x4cb9e4=_0x38c0be;return _0x53a127[_0x432428(0x3d1)](_0x2f3324=>{const _0x5a35a2=_0x432428;_0x1689e4[_0x5a35a2(0xba)](_0x4cb9e4),_0x4cb9e4+=_0x2f3324;}),_0x1689e4;}function Ci(_0x31cf7d,_0x45fa80,_0x43b19b){const _0x3befa3=_0x588cc3;return _0x45fa80>=_0x31cf7d['x']&&_0x45fa80<=_0x31cf7d['x']+_0x31cf7d[_0x3befa3(0x185)]&&_0x43b19b>=_0x31cf7d['y']&&_0x43b19b<=_0x31cf7d['y']+_0x31cf7d['height'];}function wi(_0x1fa0f5,_0x411d7a,_0x2a6454,_0x3ab0ea){const _0x52dc48=_0x588cc3;return _0x411d7a>=_0x1fa0f5['x']-_0x3ab0ea&&_0x411d7a<=_0x1fa0f5['x']+_0x1fa0f5[_0x52dc48(0x185)]+_0x3ab0ea&&_0x2a6454>=_0x1fa0f5['y']-_0x3ab0ea&&_0x2a6454<=_0x1fa0f5['y']+_0x1fa0f5[_0x52dc48(0x1ad)]+_0x3ab0ea;}function H(_0x3b10b8){return{'id':_0x3b10b8['id'],'type':_0x673e0e['COMMAND'],'handler':async(_0x70a94,_0x24d87)=>{const _0x3e1543=_0x2ee5;let _0x28ceeb=_0x3b10b8[_0x3e1543(0x2a3)]?_0x3b10b8[_0x3e1543(0x2a3)](_0x24d87):_0x24d87;return Fi(_0x70a94,_0x3b10b8[_0x3e1543(0xb5)],_0x28ceeb);}};}const Ti={'id':_0x588cc3(0x37e),'type':_0x673e0e[_0x588cc3(0x16c)],'handler':async(_0x5c55b4,_0x534da7)=>{const _0x144dca=_0x588cc3;if(!_0x534da7)return!0x1;let {value:_0x27715c}=_0x534da7;if(typeof _0x27715c==_0x144dca(0x2d6))return Fi(_0x5c55b4,_0xb2f728['id'],{'value':_0x27715c},_0x144dca(0xd5));switch(_0x27715c){case _0x66410[_0x144dca(0x219)]:return Fi(_0x5c55b4,_0x57bdce['id'],{'value':_0x27715c},_0x144dca(0xd5));case _0x66410[_0x144dca(0x2b6)]:return Fi(_0x5c55b4,_0x12c4bd['id'],{'value':_0x27715c},_0x144dca(0xd5));case _0x66410[_0x144dca(0x39b)]:return Fi(_0x5c55b4,_0x5b2bff['id'],{'value':_0x27715c},'top-left');default:return!0x1;}}},Ei=H({'id':_0x588cc3(0x10c),'targetCommandId':_0x4b39a8['id']}),Di=H({'id':_0x588cc3(0x348),'targetCommandId':_0x413354['id']}),Oi=H({'id':'docs-table-ui.command.floating-underline','targetCommandId':_0x3a261a['id']}),ki=H({'id':_0x588cc3(0x29c),'targetCommandId':_0x278042['id']}),Ai=H({'id':_0x588cc3(0x360),'targetCommandId':_0x5558e7['id']}),ji=H({'id':_0x588cc3(0x1be),'targetCommandId':_0x46897f['id']}),Mi=H({'id':_0x588cc3(0x1ca),'targetCommandId':_0x18ce0a['id'],'mapParams':_0x245e85=>({'alignType':_0x245e85==null?void 0x0:_0x245e85[_0x588cc3(0x217)]})}),Ni=H({'id':'docs-table-ui.command.floating-text-color','targetCommandId':_0xf7b07e['id']}),Pi=H({'id':'docs-table-ui.command.floating-text-background-color','targetCommandId':_0x16a106['id']});async function Fi(_0xb0283f,_0x2d1324,_0x123d11,_0x881173=_0x588cc3(0x15f)){const _0x13b270=_0x588cc3;var _0x48649d,_0x4eff66;let _0xf596f6=_0xb0283f['get'](_0x1ee6b9),_0xf8b354=_0xb0283f[_0x13b270(0x134)](_0x136628),_0x54dc20=_0xb0283f[_0x13b270(0x134)](_0x5375f9),_0x2611f2=_0xb0283f[_0x13b270(0x134)](_0x58e90a),_0xffd91a=_0x54dc20[_0x13b270(0x2be)](_0x3ce9c7[_0x13b270(0x367)]),_0x8b8037=_0xf8b354[_0x13b270(0x1c4)]();if(!_0xffd91a||!(_0x8b8037!=null&&_0x8b8037['tableId']))return _0xf596f6[_0x13b270(0x19c)](_0x2d1324,_0x123d11);let _0x34cf39=_0xffd91a[_0x13b270(0xaf)](),_0x387aec=_0x881173==='top-left'?dr(_0x34cf39,_0x8b8037):ur(_0x34cf39,_0x8b8037);if(!_0x387aec['length'])return!0x1;let _0x21a179=_0xffd91a[_0x13b270(0x37c)](),_0x157104=[...(_0x48649d=_0x2611f2[_0x13b270(0xf3)]())==null?[]:_0x48649d];(_0x4eff66=_0x2611f2[_0x13b270(0x24c)])==null||_0x4eff66[_0x13b270(0x36f)](_0x2611f2,_0x387aec,{'unitId':_0x21a179,'subUnitId':_0x21a179},!0x1);try{return await _0xf596f6[_0x13b270(0x19c)](_0x2d1324,_0x123d11);}finally{var _0x4c559a;(_0x4c559a=_0x2611f2[_0x13b270(0x24c)])==null||_0x4c559a[_0x13b270(0x36f)](_0x2611f2,_0x157104,{'unitId':_0x21a179,'subUnitId':_0x21a179},!0x1);}}function Ii(_0x24cb4c){const _0xa32bb3=_0x588cc3;return _0x117f47(_0xa32bb3(0x283),{..._0x24cb4c,'fill':_0xa32bb3(0xc1),'height':'1em','viewBox':'0\x200\x2016\x2016','width':_0xa32bb3(0x103),'xmlns':'http://www.w3.org/2000/svg'});}function Li(_0x32d5a4){const _0x452231=_0x588cc3;return _0x3f3610(Ii,{..._0x32d5a4,'children':[_0x117f47(_0x452231(0x11c),{'d':_0x452231(0x2e9),'stroke':_0x452231(0x34d),'strokeLinecap':'round','strokeWidth':'1.2'}),_0x117f47(_0x452231(0x11c),{'d':_0x452231(0x11d),'stroke':_0x452231(0x34d),'strokeLinecap':_0x452231(0x30c),'strokeWidth':'1.6'}),_0x117f47(_0x452231(0x11c),{'d':'M3\x2010H13','stroke':_0x452231(0x34d),'strokeLinecap':'round','strokeWidth':'2.1'}),_0x117f47(_0x452231(0x11c),{'d':_0x452231(0x1ee),'stroke':_0x452231(0x34d),'strokeLinecap':_0x452231(0x30c),'strokeWidth':_0x452231(0x2d0)})]});}function Ri(_0x369bd2){const _0x434fec=_0x588cc3;return _0x3f3610(Ii,{..._0x369bd2,'children':[_0x117f47(_0x434fec(0x11c),{'d':'M3\x203.5H13','stroke':'currentColor','strokeLinecap':_0x434fec(0x30c),'strokeWidth':_0x434fec(0x1a1)}),_0x117f47('path',{'d':_0x434fec(0x18f),'stroke':_0x434fec(0x34d),'strokeDasharray':_0x434fec(0xee),'strokeLinecap':_0x434fec(0x30c),'strokeWidth':_0x434fec(0x1a1)}),_0x117f47(_0x434fec(0x11c),{'d':_0x434fec(0x378),'stroke':_0x434fec(0x34d),'strokeDasharray':_0x434fec(0x356),'strokeLinecap':_0x434fec(0x30c),'strokeWidth':_0x434fec(0x1a1)})]});}function zi(_0x1437b9){const _0xe06995=_0x588cc3;return _0x117f47(Ii,{..._0x1437b9,'children':_0x117f47('path',{'d':'M2.5\x208H13.5','stroke':'currentColor','strokeLinecap':_0xe06995(0x30c),'strokeWidth':_0xe06995(0x3aa)})});}function Bi(_0x24607f){const _0x537924=_0x588cc3;return _0x117f47(Ii,{..._0x24607f,'children':_0x117f47('path',{'d':_0x537924(0x148),'stroke':_0x537924(0x34d),'strokeDasharray':'1\x202.4','strokeLinecap':_0x537924(0x30c),'strokeWidth':_0x537924(0x3aa)})});}function Vi(_0x441f54){const _0x2c4a67=_0x588cc3;return _0x117f47(Ii,{..._0x441f54,'children':_0x117f47('path',{'d':_0x2c4a67(0x148),'stroke':_0x2c4a67(0x34d),'strokeDasharray':'3.4\x202','strokeLinecap':_0x2c4a67(0x30c),'strokeWidth':_0x2c4a67(0x3aa)})});}const Hi=_0x588cc3(0x121);function Ui(){return _0x117f47('span',{'className':'univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x20dark:univer-bg-gray-700'});}function Wi({items:_0x1d0582}){const _0x407add=_0x588cc3;return _0x117f47(_0x407add(0x2e0),{'className':_0x407add(0x187),'children':_0x1d0582[_0x407add(0x35e)](_0x24903b=>_0x117f47(_0x32133e,{..._0x24903b},_0x24903b['id']))});}function Gi({items:_0x166091,children:_0x2b3f05}){const _0x18158e=_0x588cc3;return _0x3f3610(_0x18158e(0x2e0),{'className':_0x18158e(0x187),'children':[_0x166091==null?void 0x0:_0x166091['map'](_0x1c251b=>_0x117f47(_0x32133e,{..._0x1c251b},_0x1c251b['id'])),_0x2b3f05]});}const Ki=[0x0,0.5,0.75,0x1,1.5,2.25,0x3,4.5,0x6],qi=[{'value':_0x588cc3(0x1a4),'label':'docs-table-ui.borderStyleSolid','icon':zi},{'value':_0x588cc3(0x130),'label':'docs-table-ui.borderStyleDotted','icon':Bi},{'value':_0x588cc3(0x1c9),'label':'docs-table-ui.borderStyleDashed','icon':Vi}],Ji=[{'label':'docs-table-ui.borderAll','preset':_0x5b5677['All']},{'label':_0x588cc3(0x195),'preset':_0x5b5677['Inner']},{'label':_0x588cc3(0x11b),'preset':_0x5b5677[_0x588cc3(0x1da)]},{'label':'docs-table-ui.borderTop','preset':_0x5b5677[_0x588cc3(0x179)]},{'label':_0x588cc3(0x382),'preset':_0x5b5677['Bottom']},{'label':_0x588cc3(0x301),'preset':_0x5b5677[_0x588cc3(0x3ad)]},{'label':'docs-table-ui.borderRight','preset':_0x5b5677[_0x588cc3(0x29d)]},{'label':'docs-table-ui.borderInnerHorizontal','preset':_0x5b5677['InnerHorizontal']},{'label':_0x588cc3(0x2fc),'preset':_0x5b5677[_0x588cc3(0x2b2)]},{'label':_0x588cc3(0x3b3),'preset':_0x5b5677[_0x588cc3(0x15b)]}];function Yi(_0x5145e9){const _0x592c41=_0x588cc3;return _0x117f47(_0x11ec48,{'title':_0x5145e9[_0x592c41(0x296)],'placement':'bottom','children':_0x117f47('span',{'children':_0x117f47(_0x592c41(0x24a),{'type':_0x592c41(0x24a),'data-toolbar-item':_0x5145e9['itemId'],'aria-label':_0x5145e9[_0x592c41(0x296)],'disabled':_0x5145e9[_0x592c41(0x118)],'className':_0x14ce3e(_0x592c41(0x2f5),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x5145e9[_0x592c41(0x314)]}),'children':_0x5145e9[_0x592c41(0x15e)]})})});}function Xi(_0x403e5c){const _0x4ca0a1=_0x588cc3;return _0x3f3610('button',{'type':_0x4ca0a1(0x24a),'data-toolbar-item':_0x403e5c[_0x4ca0a1(0xa1)],'aria-label':_0x403e5c[_0x4ca0a1(0x272)],'className':'univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-3\x20univer-border-none\x20univer-bg-transparent\x20univer-px-5\x20univer-text-sm\x20univer-text-gray-900\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','onClick':_0x298d27=>{const _0x36becd=_0x4ca0a1;_0x298d27[_0x36becd(0xc9)](),_0x298d27['stopPropagation'](),_0x403e5c[_0x36becd(0x31c)]();},'children':[_0x117f47(_0x5a1893,{'className':'univer-size-5','extend':{'colorChannel1':_0x4ca0a1(0x249)}}),_0x117f47(_0x4ca0a1(0x2d4),{'children':_0x403e5c[_0x4ca0a1(0x272)]})]});}function Zi(_0x4f37c9){const _0x56009f=_0x588cc3;return _0x3f3610(_0x56009f(0x2e0),{'className':_0x56009f(0x20b),'onMouseDown':_0x54366c=>_0x54366c[_0x56009f(0xb2)](),'children':[_0x117f47('div',{'className':_0x56009f(0x197),'children':_0x117f47(_0x27676b,{'value':_0x4f37c9['color'],'onChange':_0x4f37c9['onChange']})}),_0x117f47(_0x1af036,{}),_0x117f47(Xi,{'itemId':_0x4f37c9['resetItemId'],'label':_0x4f37c9[_0x56009f(0x1fe)],'onClick':_0x4f37c9[_0x56009f(0x26a)]})]});}function Qi(_0x16cafb){const _0x20e539=_0x588cc3;return _0x117f47(_0x11ec48,{'title':_0x16cafb[_0x20e539(0x272)],'placement':_0x20e539(0x304),'children':_0x117f47(_0x20e539(0x24a),{'type':'button','data-toolbar-item':_0x16cafb['itemId'],'aria-label':_0x16cafb[_0x20e539(0x272)],'disabled':_0x16cafb['disabled'],'className':_0x14ce3e(_0x20e539(0x98),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x16cafb['active']}),'onClick':_0x124626=>{const _0x2540ff=_0x20e539;_0x124626[_0x2540ff(0xc9)](),_0x16cafb[_0x2540ff(0x31c)]();},'children':_0x16cafb[_0x20e539(0x15e)]})});}function $i(_0x46fba2){const _0xf2d577=_0x588cc3;return _0x117f47(Qi,{'active':_0x26709f(()=>{const _0x47c014=_0x2ee5;var _0x39bc05;return(_0x39bc05=_0x46fba2[_0x47c014(0x30a)]['activated$'])==null?_0x34dd70(!0x1):_0x39bc05;},!0x1,!0x1,[_0x46fba2[_0xf2d577(0x30a)]]),'disabled':_0x46fba2[_0xf2d577(0x118)],'itemId':_0x46fba2[_0xf2d577(0xa1)],'label':_0x46fba2[_0xf2d577(0x272)],'onClick':()=>_0x46fba2[_0xf2d577(0x1f7)](_0x46fba2[_0xf2d577(0x143)]),'children':_0x46fba2[_0xf2d577(0x3ba)]});}function ea(_0x56bf11){const _0x1e6674=_0x588cc3;let [_0x50ed28,_0x4b9177]=_0x2cd855(!0x1),_0x5045e8=_0x26709f(()=>{const _0x51bebd=_0x2ee5;var _0x30c5f9;return(_0x30c5f9=_0x56bf11[_0x51bebd(0x343)][_0x51bebd(0x11f)])==null?_0x34dd70(_0x351527[_0x51bebd(0x1cd)]):_0x30c5f9;},_0x351527[_0x1e6674(0x1cd)],!0x1,[_0x56bf11[_0x1e6674(0x343)]]),_0x19c002=[{'icon':_0x2cf343,'itemId':_0x1e6674(0x209),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0x1bf)),'value':_0x351527[_0x1e6674(0x1cd)]},{'icon':_0x2f17cf,'itemId':_0x1e6674(0x1a5),'label':_0x56bf11[_0x1e6674(0xfb)]['t']('docs-table-ui.toolbar.alignCenter'),'value':_0x351527[_0x1e6674(0x316)]},{'icon':_0x34ff7d,'itemId':_0x1e6674(0x1ed),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0x277)),'value':_0x351527[_0x1e6674(0x299)]},{'icon':_0x5bb693,'itemId':_0x1e6674(0x27d),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0x2af)),'value':_0x351527['JUSTIFIED']}],_0x5dc80b=[{'icon':_0x89b76e,'itemId':_0x1e6674(0x252),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0x250)),'value':_0x493fec[_0x1e6674(0x2c3)]},{'icon':_0x563a51,'itemId':'vertical-align-middle','label':_0x56bf11[_0x1e6674(0xfb)]['t']('docs-table-ui.verticalAlignMiddle'),'value':_0x493fec[_0x1e6674(0x316)]},{'icon':_0x51af02,'itemId':_0x1e6674(0x38f),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0xb6)),'value':_0x493fec[_0x1e6674(0x30e)]}];return _0x117f47(_0x2feedf,{'disabled':_0x56bf11[_0x1e6674(0x118)],'open':_0x50ed28,'onOpenChange':_0x4b9177,'overlay':_0x3f3610('section',{'className':_0x14ce3e(_0x1e6674(0x214),_0x818b5f),'onMouseDown':_0xc368ca=>_0xc368ca['stopPropagation'](),'children':[_0x3f3610(_0x1e6674(0x2e0),{'className':_0x1e6674(0x224),'children':[_0x117f47($i,{'commandId':Ei['id'],'disabled':_0x56bf11[_0x1e6674(0x118)],'icon':_0x117f47(_0x2332d0,{}),'item':_0x56bf11[_0x1e6674(0x310)][_0x1e6674(0x164)],'itemId':_0x1e6674(0x300),'label':_0x56bf11[_0x1e6674(0xfb)]['t']('docs-table-ui.toolbar.bold'),'onExecute':_0x56bf11[_0x1e6674(0x3a0)]}),_0x117f47($i,{'commandId':Di['id'],'disabled':_0x56bf11['disabled'],'icon':_0x117f47(_0x5eacd7,{}),'item':_0x56bf11[_0x1e6674(0x310)][_0x1e6674(0xff)],'itemId':_0x1e6674(0x2c8),'label':_0x56bf11['localeService']['t'](_0x1e6674(0xf1)),'onExecute':_0x56bf11[_0x1e6674(0x3a0)]}),_0x117f47($i,{'commandId':Oi['id'],'disabled':_0x56bf11['disabled'],'icon':_0x117f47(_0x1cb4a6,{}),'item':_0x56bf11[_0x1e6674(0x310)][_0x1e6674(0x398)],'itemId':_0x1e6674(0x2d3),'label':_0x56bf11[_0x1e6674(0xfb)]['t'](_0x1e6674(0x167)),'onExecute':_0x56bf11[_0x1e6674(0x3a0)]}),_0x117f47($i,{'commandId':ki['id'],'disabled':_0x56bf11[_0x1e6674(0x118)],'icon':_0x117f47(_0x163264,{}),'item':_0x56bf11[_0x1e6674(0x310)][_0x1e6674(0x1dc)],'itemId':_0x1e6674(0x392),'label':_0x56bf11['localeService']['t'](_0x1e6674(0x233)),'onExecute':_0x56bf11[_0x1e6674(0x3a0)]})]}),_0x117f47(_0x1af036,{}),_0x117f47(_0x1e6674(0x2e0),{'className':_0x1e6674(0x224),'children':_0x19c002[_0x1e6674(0x35e)](({icon:_0x1c557,itemId:_0xd9ee5a,label:_0x534732,value:_0x16ebd7})=>_0x117f47(Qi,{'active':_0x5045e8===_0x16ebd7,'disabled':_0x56bf11[_0x1e6674(0x118)],'itemId':_0xd9ee5a,'label':_0x534732,'onClick':()=>_0x56bf11[_0x1e6674(0xa4)](_0x16ebd7),'children':_0x117f47(_0x1c557,{})},_0xd9ee5a))}),_0x117f47(_0x1af036,{}),_0x117f47(_0x1e6674(0x2e0),{'className':_0x1e6674(0x224),'children':_0x5dc80b[_0x1e6674(0x35e)](({icon:_0x20864b,itemId:_0xbaf1fe,label:_0x3e3d81,value:_0x2190ca})=>_0x117f47(Qi,{'active':_0x56bf11[_0x1e6674(0x160)]===_0x2190ca,'disabled':_0x56bf11['disabled'],'itemId':_0xbaf1fe,'label':_0x3e3d81,'onClick':()=>_0x56bf11[_0x1e6674(0xca)](_0x2190ca),'children':_0x117f47(_0x20864b,{})},_0xbaf1fe))})]}),'children':_0x117f47(_0x1e6674(0x2d4),{'children':_0x3f3610(Yi,{'title':_0x56bf11['localeService']['t'](_0x1e6674(0xed)),'itemId':_0x1e6674(0x254),'open':_0x50ed28,'disabled':_0x56bf11[_0x1e6674(0x118)],'children':[_0x117f47(_0x31c71b,{}),_0x117f47(_0x5cf2b0,{'className':_0x1e6674(0x33e)})]})})});}function ta(_0x24fd7a,_0x3fc3c4){const _0x61c38d=_0x588cc3;var _0x468cb2,_0x49b447,_0x162fc9;if(!_0x24fd7a||!(_0x3fc3c4!=null&&_0x3fc3c4[_0x61c38d(0xe3)]))return null;let _0x449bdc=(_0x468cb2=_0x417f4c(_0x24fd7a,_0x3fc3c4[_0x61c38d(0xe3)]))==null?void 0x0:_0x468cb2[_0x61c38d(0xe4)];return(_0x49b447=_0x449bdc==null||(_0x162fc9=_0x449bdc[_0x61c38d(0x37b)][_0x3fc3c4[_0x61c38d(0x170)]])==null?void 0x0:_0x162fc9[_0x61c38d(0xd7)][_0x3fc3c4[_0x61c38d(0x203)]])==null?null:_0x49b447;}function na(_0x56c9fd){const _0x52883c=_0x588cc3;var _0x252c88;return _0x56c9fd?(_0x252c88=[_0x56c9fd[_0x52883c(0x2de)],_0x56c9fd[_0x52883c(0x206)],_0x56c9fd[_0x52883c(0x2cb)],_0x56c9fd[_0x52883c(0x33a)]][_0x52883c(0x281)](_0x92b343=>{const _0x19fa0c=_0x52883c;var _0x4ae097,_0x3c6bc9,_0x18c780;return!!_0x92b343&&(((_0x4ae097=(_0x3c6bc9=_0x92b343[_0x19fa0c(0x185)])==null?void 0x0:_0x3c6bc9['v'])==null?0x0:_0x4ae097)>0x0||!!((_0x18c780=_0x92b343[_0x19fa0c(0x102)])!=null&&_0x18c780[_0x19fa0c(0x124)])||_0x92b343[_0x19fa0c(0x18b)]!=null);}))==null?null:_0x252c88:null;}function ra(_0x4ffbd5){const _0x32c516=_0x588cc3;return _0x4ffbd5===_0x57efdc['DOT']?_0x32c516(0x130):_0x4ffbd5===_0x57efdc[_0x32c516(0x374)]?'dash':_0x32c516(0x1a4);}function ia(_0x31a30a){const _0x53e083=_0x588cc3;let [_0x3c9728,_0x256d6a]=_0x2cd855(!0x1);return _0x117f47(_0x2feedf,{'disabled':_0x31a30a['disabled'],'open':_0x3c9728,'onOpenChange':_0x256d6a,'overlay':_0x117f47(Zi,{'color':_0x31a30a[_0x53e083(0x102)],'resetItemId':_0x53e083(0x31a),'resetLabel':_0x31a30a[_0x53e083(0x1fe)],'onChange':_0x31a30a[_0x53e083(0x97)],'onReset':()=>{const _0x537786=_0x53e083;_0x31a30a[_0x537786(0x26a)](),_0x256d6a(!0x1);}}),'children':_0x117f47(_0x53e083(0x2d4),{'children':_0x3f3610(Yi,{'title':_0x31a30a[_0x53e083(0x296)],'itemId':_0x53e083(0x223),'open':_0x3c9728,'disabled':_0x31a30a[_0x53e083(0x118)],'children':[_0x117f47(_0x14f945,{'className':_0x53e083(0x3b9),'extend':{'colorChannel1':_0x31a30a[_0x53e083(0x102)]}}),_0x117f47(_0x5cf2b0,{'className':'univer-text-xs'})]})})});}function aa(_0x258f8a){const _0x437a1f=_0x588cc3;var _0xa5e496,_0x58cfd0;let [_0x5d782b,_0x27b4eb]=_0x2cd855(!0x1),_0x40f4b6=(_0xa5e496=(_0x58cfd0=qi[_0x437a1f(0x281)](_0x3ab542=>_0x3ab542[_0x437a1f(0x217)]===_0x258f8a[_0x437a1f(0x2ac)]))==null?void 0x0:_0x58cfd0['icon'])==null?zi:_0xa5e496;return _0x117f47(_0x2feedf,{'disabled':_0x258f8a[_0x437a1f(0x118)],'open':_0x5d782b,'onOpenChange':_0x27b4eb,'overlay':_0x3f3610(_0x437a1f(0x3af),{'className':_0x14ce3e('univer-box-border\x20univer-grid\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x818b5f),'onMouseDown':_0x4b9863=>_0x4b9863[_0x437a1f(0xb2)](),'children':[_0x117f47('div',{'className':_0x437a1f(0x2df),'children':Ji['map'](({label:_0x3d0c44,preset:_0x4e9a34})=>{const _0x1e784e=_0x437a1f;let _0x5cb1bb=Sr[_0x4e9a34],_0xddbe24=_0x258f8a[_0x1e784e(0xfb)]['t'](_0x3d0c44);return _0x117f47(_0x11ec48,{'title':_0xddbe24,'placement':_0x1e784e(0x304),'children':_0x117f47(_0x1e784e(0x24a),{'type':_0x1e784e(0x24a),'aria-label':_0xddbe24,'className':'univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-primary-600\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','onClick':()=>{const _0x30f605=_0x1e784e;_0x258f8a[_0x30f605(0xf5)](_0x4e9a34),_0x27b4eb(!0x1);},'children':_0x117f47(_0x5cb1bb,{'className':_0x1e784e(0x384),'extend':xr,'style':{'color':_0x1e784e(0x34d)}})})},_0x4e9a34);})}),_0x117f47(_0x1af036,{}),_0x3f3610(_0x437a1f(0x2e0),{'className':_0x437a1f(0x35b),'children':[_0x117f47(_0x2feedf,{'overlay':_0x117f47(Zi,{'color':_0x258f8a[_0x437a1f(0x102)],'resetItemId':_0x437a1f(0x230),'resetLabel':_0x258f8a[_0x437a1f(0xfb)]['t'](_0x437a1f(0x176)),'onChange':_0x57b7e5=>{const _0x4afbb0=_0x437a1f;_0x258f8a[_0x4afbb0(0x149)](_0x57b7e5);},'onReset':_0x258f8a['onResetColor']}),'children':_0x3f3610('button',{'type':_0x437a1f(0x24a),'aria-label':_0x258f8a['localeService']['t'](_0x437a1f(0x26e)),'className':_0x437a1f(0x3b4),'children':[_0x117f47(_0x14f945,{'className':_0x437a1f(0x3b9),'extend':{'colorChannel1':_0x258f8a['color']}}),_0x117f47(_0x5cf2b0,{'className':_0x437a1f(0x33e)})]})}),_0x117f47(_0x2feedf,{'overlay':_0x117f47('div',{'className':_0x437a1f(0x1bb),'children':Ki[_0x437a1f(0x35e)](_0x2814f8=>_0x3f3610(_0x437a1f(0x24a),{'type':'button','className':_0x14ce3e(_0x437a1f(0x1e6),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x2814f8===_0x258f8a[_0x437a1f(0x185)]}),'onClick':()=>{_0x258f8a['onChangeWidth'](_0x2814f8);},'children':[_0x2814f8,'pt']},_0x2814f8))}),'children':_0x3f3610(_0x437a1f(0x24a),{'type':_0x437a1f(0x24a),'aria-label':_0x258f8a[_0x437a1f(0xfb)]['t'](_0x437a1f(0x2fd)),'className':_0x437a1f(0x3b4),'children':[_0x117f47(Li,{'className':_0x437a1f(0x196)}),_0x3f3610('span',{'className':_0x437a1f(0x33e),'children':[_0x258f8a[_0x437a1f(0x185)],'pt']}),_0x117f47(_0x5cf2b0,{'className':_0x437a1f(0x33e)})]})}),_0x117f47(_0x2feedf,{'overlay':_0x117f47('div',{'className':_0x437a1f(0x1bb),'children':qi[_0x437a1f(0x35e)](({icon:_0x15a3e3,label:_0x2ab032,value:_0x2fe92e})=>_0x117f47(_0x11ec48,{'title':_0x258f8a[_0x437a1f(0xfb)]['t'](_0x2ab032),'placement':_0x437a1f(0x32b),'children':_0x117f47(_0x437a1f(0x24a),{'type':_0x437a1f(0x24a),'className':_0x14ce3e(_0x437a1f(0xc0),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x2fe92e===_0x258f8a[_0x437a1f(0x2ac)]}),'onClick':()=>{const _0x1d6242=_0x437a1f;_0x258f8a[_0x1d6242(0x22d)](_0x2fe92e);},'children':_0x117f47(_0x15a3e3,{'className':_0x437a1f(0x196)})})},_0x2fe92e))}),'children':_0x3f3610(_0x437a1f(0x24a),{'type':'button','aria-label':_0x258f8a[_0x437a1f(0xfb)]['t'](_0x437a1f(0x387)),'className':_0x437a1f(0x3b4),'children':[_0x117f47(_0x40f4b6,{'className':_0x437a1f(0x196)}),_0x117f47(_0x5cf2b0,{'className':_0x437a1f(0x33e)})]})})]})]}),'children':_0x117f47(_0x437a1f(0x2d4),{'children':_0x3f3610(Yi,{'title':_0x258f8a[_0x437a1f(0x296)],'itemId':_0x437a1f(0x125),'open':_0x5d782b,'disabled':_0x258f8a[_0x437a1f(0x118)],'children':[_0x117f47(_0x2a3e8e,{}),_0x117f47(_0x5cf2b0,{'className':'univer-text-xs'})]})})});}function oa(_0xb9b786){const _0x187926=_0x588cc3;let [_0x1ff4a7,_0x556c83]=_0x2cd855(!0x1);return _0x117f47(_0x2feedf,{'disabled':_0xb9b786[_0x187926(0x118)],'open':_0x1ff4a7,'onOpenChange':_0x556c83,'overlay':_0x117f47(Zi,{'color':_0xb9b786[_0x187926(0x102)],'resetItemId':_0xb9b786['resetItemId'],'resetLabel':_0xb9b786['resetLabel'],'onChange':_0x3da617=>{const _0x34a1c9=_0x187926;_0xb9b786[_0x34a1c9(0x97)](_0xb9b786['commandId'],_0x3da617);},'onReset':()=>{const _0x5246b2=_0x187926;_0xb9b786['onChange'](_0xb9b786[_0x5246b2(0x143)],null),_0x556c83(!0x1);}}),'children':_0x117f47(_0x187926(0x2d4),{'children':_0x3f3610(Yi,{'title':_0xb9b786[_0x187926(0x296)],'itemId':_0xb9b786[_0x187926(0xa1)],'open':_0x1ff4a7,'disabled':_0xb9b786[_0x187926(0x118)],'children':[_0xb9b786[_0x187926(0x3ba)]===_0x187926(0x3d9)?_0x117f47(_0x53e673,{'className':_0x187926(0x3b9),'extend':{'colorChannel1':_0xb9b786[_0x187926(0x102)]}}):_0x117f47(_0x14f945,{'className':_0x187926(0x3b9),'extend':{'colorChannel1':_0xb9b786[_0x187926(0x102)]}}),_0x117f47(_0x5cf2b0,{'className':_0x187926(0x33e)})]})})});}function U(_0x25b1aa,_0x3a1125,_0x29ee3b){return{..._0x3a1125(_0x25b1aa),..._0x29ee3b};}function W(_0x76c374,_0x3f35a4,_0x3c430a){return{..._0x76c374,'commandId':_0x3f35a4,'disabled$':_0x3c430a};}const sa={'docs-ui.toolbar.heading.tooltip':'docs-table-ui.toolbar.textStyle.tooltip','docs-ui.toolbar.heading.normal':_0x588cc3(0x13c),'docs-ui.toolbar.heading.leading1':'docs-table-ui.toolbar.textStyle.heading1','docs-ui.toolbar.heading.leading2':_0x588cc3(0x9f),'docs-ui.toolbar.heading.leading3':'docs-table-ui.toolbar.textStyle.heading3','docs-ui.toolbar.heading.leading4':_0x588cc3(0xd8),'docs-ui.toolbar.heading.leading5':_0x588cc3(0x9b),'docs-ui.toolbar.order':_0x588cc3(0x2a4),'docs-ui.toolbar.unorder':_0x588cc3(0x3cb),'docs-ui.toolbar.checklist':'docs-table-ui.toolbar.textStyle.checklist'};function ca(_0x4ae3eb){const _0x4562d4=_0x588cc3;if(!(!_0x4ae3eb||!Object[_0x4562d4(0x251)][_0x4562d4(0x2a7)][_0x4562d4(0x36f)](sa,_0x4ae3eb)))return sa[_0x4ae3eb];}function la(_0x17891e){let {label:_0x386a27,tooltip:_0x424a1b,..._0x2eb418}=_0x17891e,_0x242f81=typeof _0x386a27=='string'?ca(_0x386a27):void 0x0,_0x3bd2b3=ca(_0x424a1b),_0x16055d=_0x17891e['id']===_0x57bdce['id']||_0x17891e['id']===_0x12c4bd['id']||_0x17891e['id']===_0x5b2bff['id']?Ti['id']:_0x17891e['id'];return{..._0x2eb418,'id':_0x16055d,'label':_0x242f81==null?_0x386a27:_0x242f81,..._0x3bd2b3?{'tooltip':_0x3bd2b3}:{}};}function ua(_0x2acd0b){const _0x480b55=_0x588cc3;return _0x2acd0b&&(Array[_0x480b55(0xcc)](_0x2acd0b)?_0x2acd0b[_0x480b55(0x35e)](la):_0x2acd0b[_0x480b55(0x3cd)](_0x3ff622(_0x553eb2=>_0x553eb2[_0x480b55(0x35e)](la))));}function da(){const _0x413a69=_0x588cc3;var _0x5217c7,_0x2ae541,_0x2198f5,_0x5df68b,_0x3200e1,_0x3e597f;let _0xc74e82=_0x1a05d5(_0x1ee6b9),_0x17e0a2=_0x1a05d5(_0x36e78d),_0x16fb8f=_0x1a05d5(_0xf59eb9),_0x2c9775=_0x1a05d5(_0x5375f9),_0x128e5b=_0x1a05d5(ar),_0x97be16=_0x26709f(()=>_0x128e5b[_0x413a69(0x1b0)],_0x128e5b[_0x413a69(0x261)](),!0x1,[_0x128e5b]),_0x5a5fdd=!!_0x97be16[_0x413a69(0x15f)]&&_0x97be16['selection'][_0x413a69(0x170)]>=0x0&&_0x97be16['selection'][_0x413a69(0x1c6)]>=0x0&&_0x97be16[_0x413a69(0x15f)][_0x413a69(0x203)]>=0x0&&_0x97be16[_0x413a69(0x15f)][_0x413a69(0x336)]>=0x0,_0x1f5ce4=_0x16fb8f,_0x474222=_0x3bfed5(()=>_0x128e5b[_0x413a69(0x1b0)]['pipe'](_0x3ff622(_0x4b57fa=>!_0x4b57fa['selection'])),[_0x128e5b]),_0x48f39f=_0x3bfed5(()=>_0x128e5b[_0x413a69(0x1b0)][_0x413a69(0x3cd)](_0x3ff622(_0x5b38be=>{const _0x4baadc=_0x413a69;var _0x5d3767;return(_0x5d3767=_0x5b38be[_0x4baadc(0x3c7)])==null?_0x4cb371[_0x4baadc(0x23b)]:_0x5d3767;})),[_0x128e5b]),_0x75f230=_0x3bfed5(()=>{const _0x15c656=_0x413a69;var _0x536a5f;let _0x3770eb=U(_0x1f5ce4,_0x553267);return{..._0x3770eb,'commandId':Ti['id'],'disabled$':_0x474222,'icon':(_0x536a5f=_0x97be16['typeIcon'])==null?'TextTypeIcon':_0x536a5f,'selections':ua(_0x3770eb[_0x15c656(0x276)]),'tooltip':_0x15c656(0x3b1),'value$':_0x48f39f};},[_0x1f5ce4,_0x474222,_0x48f39f,_0x97be16[_0x413a69(0xb8)]]),_0xee9821=_0x3bfed5(()=>[W(U(_0x1f5ce4,_0x4cc69e),Ai['id'],_0x474222),W(U(_0x1f5ce4,_0x45cba0),ji['id'],_0x474222)],[_0x1f5ce4,_0x474222]),_0x40ec31=_0x3bfed5(()=>({'align':W(U(_0x1f5ce4,_0x5b3fb0),Mi['id'],_0x474222),'bold':W(U(_0x1f5ce4,_0x1f5c4d),Ei['id'],_0x474222),'italic':W(U(_0x1f5ce4,_0x141243),Di['id'],_0x474222),'strike':W(U(_0x1f5ce4,_0x292188),ki['id'],_0x474222),'underline':W(U(_0x1f5ce4,_0x10a876),Oi['id'],_0x474222)}),[_0x1f5ce4,_0x474222]),_0x556294=_0x3bfed5(()=>[W(U(_0x1f5ce4,_0x144cea),Ni['id'],_0x474222),W(U(_0x1f5ce4,_0x383c60),Pi['id'],_0x474222)],[_0x1f5ce4,_0x474222]),_0x357ce6=_0x26709f(()=>{var _0x1861dc,_0x21b0e8;return(_0x1861dc=(_0x21b0e8=_0x556294[0x0])==null?void 0x0:_0x21b0e8['value$'])==null?_0x34dd70(_0x17a961['cl']['rgb']):_0x1861dc;},_0x17a961['cl']['rgb'],!0x1,[_0x556294]),_0x59285b=_0x26709f(()=>{var _0x31cc29,_0x4e54d1;return(_0x31cc29=(_0x4e54d1=_0x556294[0x1])==null?void 0x0:_0x4e54d1['value$'])==null?_0x34dd70(_0x17a961['bg']['rgb']):_0x31cc29;},_0x17a961['bg'][_0x413a69(0x124)],!0x1,[_0x556294]),_0x398dea=_0x3bfed5(()=>{const _0x327dcb=_0x413a69;var _0x149e29;return ta((_0x149e29=_0x2c9775['getCurrentUniverDocInstance']())==null?void 0x0:_0x149e29['getSnapshot'](),_0x97be16[_0x327dcb(0x15f)]);},[_0x97be16[_0x413a69(0x15f)],_0x2c9775]),_0x11185c=(_0x5217c7=_0x398dea==null||(_0x2ae541=_0x398dea[_0x413a69(0x10d)])==null?void 0x0:_0x2ae541[_0x413a69(0x124)])==null?_0x17a961['bg'][_0x413a69(0x124)]:_0x5217c7,_0x302a5d=na(_0x398dea),_0x44b430=(_0x2198f5=_0x302a5d==null||(_0x5df68b=_0x302a5d['color'])==null?void 0x0:_0x5df68b[_0x413a69(0x124)])==null?'#1f1f1f':_0x2198f5,_0x298227=(_0x3200e1=_0x302a5d==null||(_0x3e597f=_0x302a5d[_0x413a69(0x185)])==null?void 0x0:_0x3e597f['v'])==null?0x1:_0x3200e1,_0x227bdf=ra(_0x302a5d==null?void 0x0:_0x302a5d[_0x413a69(0x18b)]),[_0x3be6af,_0x54793c]=_0x2cd855(_0x11185c),[_0x1cc798,_0x4c5438]=_0x2cd855(_0x44b430),[_0x2786a5,_0x59f90a]=_0x2cd855(_0x298227),[_0x236286,_0x1aff72]=_0x2cd855(_0x227bdf);if(_0x1497e5(()=>{_0x54793c(_0x11185c);},[_0x11185c]),_0x1497e5(()=>{_0x4c5438(_0x44b430),_0x59f90a(_0x298227),_0x1aff72(_0x227bdf);},[_0x44b430,_0x227bdf,_0x298227]),!_0x97be16[_0x413a69(0x37f)]||!_0x5a5fdd)return null;let _0x2ba09a=_0x97be16[_0x413a69(0x162)]==='unmerge'?_0x17e0a2['t'](_0x413a69(0x39c)):_0x97be16['mergeAction']==='merge'?_0x17e0a2['t'](_0x413a69(0x1fd)):null,_0xfa3f1c=_0x97be16[_0x413a69(0x2b0)]===_0x413a69(0x2c6)?_0x17e0a2['t'](_0x413a69(0x1bd)):_0x97be16[_0x413a69(0x2b0)]===_0x413a69(0x200)?_0x17e0a2['t']('docs-table-ui.deleteColumn'):null,_0x8b13b=()=>{const _0x510c02=_0x413a69;!_0x97be16['selection']||!_0x97be16['mergeAction']||_0xc74e82[_0x510c02(0x19c)](_0x97be16['mergeAction']===_0x510c02(0x23a)?_0x4c3a4e['id']:_0x3d1fe4['id'],_0x97be16[_0x510c02(0x15f)]);},_0x500c54=()=>{const _0xd2878b=_0x413a69;!_0x97be16['selection']||!_0x97be16[_0xd2878b(0x2b0)]||_0xc74e82[_0xd2878b(0x19c)](_0x97be16['deleteTarget']==='row'?_0x29508d['id']:_0x12eb0d['id'],_0x97be16[_0xd2878b(0x15f)]);},_0x1e8025=_0x36d7f3=>{const _0x41894f=_0x413a69;_0x97be16[_0x41894f(0x15f)]&&_0xc74e82[_0x41894f(0x19c)](_0x4026cf['id'],{'value':_0x36d7f3});},_0xb6980d=_0x11303a=>{const _0x3cfd03=_0x413a69;_0x97be16[_0x3cfd03(0x15f)]&&_0xc74e82[_0x3cfd03(0x19c)](_0x11303a);},_0x126846=_0x593906=>{const _0x760727=_0x413a69;_0x97be16[_0x760727(0x15f)]&&_0xc74e82['executeCommand'](Mi['id'],{'value':_0x593906});},_0x18e633=_0x29d716=>{_0x54793c(_0x29d716),_0xc74e82['executeCommand'](_0xee838c['id'],{'value':_0x29d716});},_0x16cb47=()=>{const _0x1fdf72=_0x413a69;_0x54793c(_0x11185c),_0xc74e82[_0x1fdf72(0x19c)](_0xee838c['id'],{'value':null});},_0x1b2c96=(_0x291a34,_0x49d94a)=>{const _0x93e083=_0x413a69;_0x97be16[_0x93e083(0x15f)]&&_0xc74e82[_0x93e083(0x19c)](_0x291a34,{'value':_0x49d94a});};return _0x3f3610(_0x413a69(0x2e0),{'data-u-comp':Hi,'role':'toolbar','onMouseEnter':()=>_0x128e5b[_0x413a69(0x1c2)](!0x0),'onMouseLeave':()=>_0x128e5b[_0x413a69(0x1c2)](!0x1),'onMouseDown':_0x3453b4=>{const _0x4e901b=_0x413a69;_0x3453b4[_0x4e901b(0xb2)](),_0x3453b4[_0x4e901b(0xc9)]();},'className':_0x14ce3e('univer-box-border\x20univer-flex\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x818b5f),'children':[_0x117f47(Gi,{'items':[_0x75f230],'children':_0x2ba09a?_0x117f47(_0x11ec48,{'title':_0x2ba09a,'placement':_0x413a69(0x304),'children':_0x117f47(_0x413a69(0x2d4),{'children':_0x117f47(_0xd48302,{'data-toolbar-item':_0x413a69(0x27f),'aria-label':_0x2ba09a,'onClick':_0x8b13b,'children':_0x97be16[_0x413a69(0x162)]===_0x413a69(0x23a)?_0x117f47(_0xb84af8,{}):_0x117f47(_0x906129,{})})})}):null}),_0x117f47(Ui,{}),_0x3f3610(Gi,{'children':[_0x117f47(ia,{'color':_0x3be6af,'disabled':!_0x97be16[_0x413a69(0x15f)],'resetLabel':_0x17e0a2['t'](_0x413a69(0x176)),'title':_0x17e0a2['t'](_0x413a69(0x10b)),'onChange':_0x18e633,'onReset':_0x16cb47}),_0x117f47(aa,{'title':_0x17e0a2['t'](_0x413a69(0x2a2)),'color':_0x1cc798,'width':_0x2786a5,'style':_0x236286,'disabled':!_0x97be16['selection'],'localeService':_0x17e0a2,'onSelectPreset':_0x1a2916=>{const _0x5e7f3b=_0x413a69;_0xc74e82[_0x5e7f3b(0x19c)](_0x24dc2c['id'],{'preset':_0x1a2916});},'onChangeColor':_0x5f3d7f=>{_0x4c5438(_0x5f3d7f),_0xc74e82['executeCommand'](_0x193098['id'],{'value':_0x5f3d7f});},'onResetColor':()=>{const _0x14f098=_0x413a69;_0x4c5438(_0x44b430),_0xc74e82[_0x14f098(0x19c)](_0x193098['id'],{'value':null});},'onChangeWidth':_0x5d0e0e=>{const _0x1ef58b=_0x413a69;_0x59f90a(_0x5d0e0e),_0xc74e82[_0x1ef58b(0x19c)](_0x4cae19['id'],{'value':_0x5d0e0e});},'onChangeStyle':_0x3f0eff=>{_0x1aff72(_0x3f0eff),_0xc74e82['executeCommand'](_0x9f33a0['id'],{'value':_0x3f0eff});}})]}),_0x117f47(Ui,{}),_0x117f47(Wi,{'items':_0xee9821}),_0x117f47(Ui,{}),_0x117f47(Gi,{'children':_0x117f47(ea,{'alignItem':_0x40ec31[_0x413a69(0xd3)],'disabled':!_0x97be16[_0x413a69(0x15f)],'formatItems':{'bold':_0x40ec31[_0x413a69(0x164)],'italic':_0x40ec31[_0x413a69(0xff)],'strike':_0x40ec31['strike'],'underline':_0x40ec31[_0x413a69(0x398)]},'localeService':_0x17e0a2,'verticalAlign':_0x97be16[_0x413a69(0x160)],'onExecuteInlineCommand':_0xb6980d,'onHorizontalAlign':_0x126846,'onVerticalAlign':_0x1e8025})}),_0x117f47(Ui,{}),_0x3f3610(Gi,{'children':[_0x117f47(oa,{'color':_0x357ce6,'commandId':Ni['id'],'disabled':!_0x97be16[_0x413a69(0x15f)],'icon':_0x413a69(0x3d9),'itemId':_0x413a69(0x3c8),'resetItemId':_0x413a69(0x188),'resetLabel':_0x17e0a2['t'](_0x413a69(0x176)),'title':_0x17e0a2['t'](_0x413a69(0xef)),'onChange':_0x1b2c96}),_0x117f47(oa,{'color':_0x59285b,'commandId':Pi['id'],'disabled':!_0x97be16[_0x413a69(0x15f)],'icon':_0x413a69(0xa2),'itemId':'text-background','resetItemId':_0x413a69(0x210),'resetLabel':_0x17e0a2['t'](_0x413a69(0x176)),'title':_0x17e0a2['t']('docs-table-ui.toolbar.fillColor.main'),'onChange':_0x1b2c96})]}),_0x97be16[_0x413a69(0x351)]&&_0xfa3f1c?_0x3f3610(_0x2639f0,{'children':[_0x117f47(Ui,{}),_0x117f47(_0x413a69(0x2e0),{'className':'univer-flex\x20univer-h-7\x20univer-items-center\x20univer-px-1','onMouseEnter':()=>_0x128e5b[_0x413a69(0x2d9)](!0x0),'onMouseLeave':()=>_0x128e5b[_0x413a69(0x2d9)](!0x1),'children':_0x117f47(_0x11ec48,{'title':_0xfa3f1c,'placement':_0x413a69(0x304),'children':_0x117f47(_0x413a69(0x2d4),{'children':_0x117f47(_0xd48302,{'data-toolbar-item':_0x413a69(0x245),'aria-label':_0xfa3f1c,'className':_0x14ce3e('hover:!univer-bg-red-50\x20hover:!univer-text-red-500',_0x413a69(0x1eb)),'onClick':_0x500c54,'children':_0x97be16[_0x413a69(0x2b0)]===_0x413a69(0x2c6)?_0x117f47(_0x24d757,{}):_0x117f47(_0x190591,{})})})})})]}):null]});}function G(_0x5c478f,_0x55d73f){return function(_0x4400ed,_0x5dbfe6){_0x55d73f(_0x4400ed,_0x5dbfe6,_0x5c478f);};}function fa(_0x578726,_0x18a613,_0x3555ff,_0xa64988){const _0x131b8b=_0x588cc3;var _0x1dc67d=arguments[_0x131b8b(0x1c5)],_0x19b4f9=_0x1dc67d<0x3?_0x18a613:_0xa64988===null?_0xa64988=Object[_0x131b8b(0x397)](_0x18a613,_0x3555ff):_0xa64988,_0xe42680;if(typeof Reflect==_0x131b8b(0x26f)&&typeof Reflect[_0x131b8b(0x366)]==_0x131b8b(0x13e))_0x19b4f9=Reflect[_0x131b8b(0x366)](_0x578726,_0x18a613,_0x3555ff,_0xa64988);else{for(var _0x1ee53a=_0x578726['length']-0x1;_0x1ee53a>=0x0;_0x1ee53a--)(_0xe42680=_0x578726[_0x1ee53a])&&(_0x19b4f9=(_0x1dc67d<0x3?_0xe42680(_0x19b4f9):_0x1dc67d>0x3?_0xe42680(_0x18a613,_0x3555ff,_0x19b4f9):_0xe42680(_0x18a613,_0x3555ff))||_0x19b4f9);}return _0x1dc67d>0x3&&_0x19b4f9&&Object[_0x131b8b(0x298)](_0x18a613,_0x3555ff,_0x19b4f9),_0x19b4f9;}const pa='viewMain',ma=_0x588cc3(0x280),ha=_0x588cc3(0x280),ga=-0x2710,_a=_0x588cc3(0x1b4),va=_0x588cc3(0x109),ya=_0x588cc3(0x3ab),ba=_0x588cc3(0x339);let xa=class extends _0x465703{constructor(_0x5280a6,_0x3d35bc,_0x4db8a5,_0x433456,_0xc8c4f5,_0xb68236,_0x1d202b,_0xe80c72,_0xe35ad8,_0x57cd24,_0x23005d,_0x35f32e){const _0x53f8d6=_0x588cc3;super(),this[_0x53f8d6(0x1d0)]=_0x5280a6,this[_0x53f8d6(0x240)]=_0x3d35bc,this[_0x53f8d6(0x194)]=_0x4db8a5,this['_docEventManagerService']=_0x433456,this['_docParagraphMenuService']=_0xc8c4f5,this[_0x53f8d6(0xc2)]=_0xb68236,this[_0x53f8d6(0x13a)]=_0x1d202b,this['_floatingMenuService']=_0xe80c72,this['_viewportService']=_0xe35ad8,this[_0x53f8d6(0x159)]=_0x57cd24,this[_0x53f8d6(0xe6)]=_0x23005d,this[_0x53f8d6(0x3c5)]=_0x35f32e,V(this,_0x53f8d6(0x27c),null),V(this,_0x53f8d6(0x383),null),V(this,_0x53f8d6(0x22e),null),V(this,_0x53f8d6(0x1c8),null),V(this,_0x53f8d6(0x1f5),null),V(this,_0x53f8d6(0x189),null),V(this,_0x53f8d6(0x340),null),V(this,_0x53f8d6(0x14a),null),V(this,_0x53f8d6(0x20e),null),V(this,'_pendingHandleSelection',null),V(this,_0x53f8d6(0x25b),null),V(this,'_rowColumnMoveTarget',null),V(this,'_scrollbarDragState',null),V(this,_0x53f8d6(0x1c0),null),V(this,_0x53f8d6(0x3cf),null),V(this,_0x53f8d6(0x36a),null),V(this,_0x53f8d6(0xfd),null),V(this,_0x53f8d6(0x284),null),V(this,_0x53f8d6(0x15c),null),V(this,'_hoverRow',null),V(this,_0x53f8d6(0x182),null),V(this,_0x53f8d6(0x207),null),V(this,_0x53f8d6(0x290),null),V(this,_0x53f8d6(0x2a8),null),V(this,_0x53f8d6(0x16e),null),V(this,'_activeTableRefreshTimer',null),V(this,_0x53f8d6(0x19a),null),V(this,_0x53f8d6(0x107),null),V(this,_0x53f8d6(0x1fc),null),this[_0x53f8d6(0x1e1)](),this['_initTableLayoutRefresh'](),this[_0x53f8d6(0x156)](),this[_0x53f8d6(0x311)](),this[_0x53f8d6(0x26c)](),this[_0x53f8d6(0x3ca)](),this['_initCanvasRender'](),_0xc1765f((_0x2c8b5b,_0x10110c)=>this[_0x53f8d6(0x38b)](_0x2c8b5b,_0x10110c)),this[_0x53f8d6(0x181)]({'dispose':()=>{const _0x13f7fd=_0x53f8d6;_0xc1765f(null),this['_activeTableRefreshTimer']!=null&&(clearTimeout(this['_activeTableRefreshTimer']),this[_0x13f7fd(0x21d)]=null),this[_0x13f7fd(0x3b6)]();}});}['_initTableState'](){const _0x16b563=_0x588cc3;this[_0x16b563(0x181)](this['_docEventManagerService']['hoverTableRealTime$'][_0x16b563(0x35a)](_0xdf041b=>{const _0x2332cb=_0x16b563;if(!(!_0xdf041b&&(this['_dragState']||this[_0x2332cb(0x189)]||this[_0x2332cb(0x25b)]||this[_0x2332cb(0x1c0)]||this[_0x2332cb(0x3cf)]))){if(_0xdf041b&&this[_0x2332cb(0x13d)]()){var _0x40dcb5;if(_0x4c369e(_0xdf041b[_0x2332cb(0xe3)])[_0x2332cb(0xe3)]!==((_0x40dcb5=this[_0x2332cb(0x36a)])==null?void 0x0:_0x40dcb5['tableId'])){this[_0x2332cb(0x248)]();return;}}if(!_0xdf041b&&this['_shouldKeepActiveTableForSelection']()){this[_0x2332cb(0x248)]();return;}!_0xdf041b&&this[_0x2332cb(0x215)]()||(this['_activeTable']=this['_lastPointerPoint']?this[_0x2332cb(0x24f)](this['_lastPointerPoint']['x'],this[_0x2332cb(0x16e)]['y']):_0xdf041b?this[_0x2332cb(0x31f)](_0xdf041b):null,this['_activeTable']||(this['_hoveredTrigger']=null),this[_0x2332cb(0x248)]());}}));}[_0x588cc3(0x1ea)](){const _0x34b17e=_0x588cc3;this['disposeWithMe'](this['_docSkeletonManagerService'][_0x34b17e(0x3c9)]['subscribe'](()=>{const _0xaaa30d=_0x34b17e;this['_syncViewportStatesFromSkeleton'](),this[_0xaaa30d(0x235)]();}));}[_0x588cc3(0x156)](){const _0x37b778=_0x588cc3;this['disposeWithMe'](this[_0x37b778(0x13a)][_0x37b778(0x2d1)]['subscribe'](_0xf91749=>{const _0x44c533=_0x37b778;if(this[_0x44c533(0x36a)]=_0xf91749,_0xf91749!=null&&_0xf91749['tableId']){this['_refreshActiveTableFromSkeleton'](_0xf91749['tableId']),this[_0x44c533(0x193)](),this[_0x44c533(0x1cc)]();return;}this[_0x44c533(0x193)](),this[_0x44c533(0x248)]();}));}[_0x588cc3(0x311)](){const _0x593b4d=_0x588cc3;this['disposeWithMe'](this[_0x593b4d(0x1df)]['state$'][_0x593b4d(0x35a)](_0x1987c0=>{const _0x4d47ac=_0x593b4d;!_0x1987c0[_0x4d47ac(0xe3)]||!_0x1987c0['visible']&&!_0x1987c0[_0x4d47ac(0x1ac)]||((!this['_activeTable']||this[_0x4d47ac(0x27c)]['sourceTableId']!==_0x1987c0[_0x4d47ac(0xe3)])&&this[_0x4d47ac(0xd4)](_0x1987c0['tableId']),this[_0x4d47ac(0x1cc)]());}));}[_0x588cc3(0x26c)](){const _0x2ff040=_0x588cc3;this[_0x2ff040(0x181)](this['_commandService'][_0x2ff040(0x317)](_0x58a076=>{const _0x3fbdc0=_0x2ff040;var _0x3eaa94;if(_0x58a076['id']!==_0x4a31f8['id'])return;let _0xeef4bc=(_0x3eaa94=_0x58a076[_0x3fbdc0(0x16d)])==null?void 0x0:_0x3eaa94[_0x3fbdc0(0x8f)];_0xeef4bc&&_0xeef4bc!==this[_0x3fbdc0(0x1d0)]['unitId']||this['_hideFloatingControlsForZoom']();}));}[_0x588cc3(0x3ca)](){const _0xd93ee4=_0x588cc3;let _0x1e760c=Ea(this[_0xd93ee4(0x1d0)]);this[_0xd93ee4(0x181)](jr(({event:_0x484398})=>{this['_handleWindowPointerMove'](_0x484398);})),this[_0xd93ee4(0x181)](Ar(({event:_0x2b50ec,type:_0x1499fb})=>{const _0x53cfaf=_0xd93ee4;var _0x36f126;let _0x286405=(_0x36f126=this['_getDocumentPointFromWindowEvent'](_0x2b50ec))==null?this[_0x53cfaf(0x16e)]:_0x36f126;this[_0x53cfaf(0xd6)](_0x286405,void 0x0,{'commit':_0x1499fb==='pointerup'||_0x1499fb===_0x53cfaf(0x10f),'selectCollapsedRange':_0x1499fb===_0x53cfaf(0x321)||_0x1499fb===_0x53cfaf(0x10f)});})),this['disposeWithMe'](_0x1e760c['onPointerMove$'][_0xd93ee4(0x13f)]({'next':([_0x1c06e5,_0x2c7799])=>{const _0x373cf0=_0xd93ee4;let _0x56e298=Da(_0x1c06e5[_0x373cf0(0x24e)],_0x1c06e5['offsetY'],this[_0x373cf0(0x1d0)][_0x373cf0(0x2e8)]);if(this[_0x373cf0(0x16e)]=_0x56e298,this[_0x373cf0(0x1c0)]&&!ka(_0x1c06e5)&&(this[_0x373cf0(0x1c0)]=null,this['_stopSelectionDragAutoScroll']()),this['_activeTable']||(this[_0x373cf0(0x27c)]=this[_0x373cf0(0x24f)](_0x56e298['x'],_0x56e298['y'])),this[_0x373cf0(0x189)]){let _0x2cb47e=Math[_0x373cf0(0x227)](_0x56e298['x']-this[_0x373cf0(0x189)][_0x373cf0(0xa6)],_0x56e298['y']-this[_0x373cf0(0x189)][_0x373cf0(0x1f4)]);this[_0x373cf0(0x14a)]=_0x2cb47e>=0x4?Or(this[_0x373cf0(0x189)],_0x56e298['x'],_0x56e298['y']):null,this[_0x373cf0(0x20e)]=this[_0x373cf0(0x14a)]?this[_0x373cf0(0x14e)](_0x56e298['x'],_0x56e298['y']):null,this['_setTableCursor'](_0x5fc0b8[_0x373cf0(0x191)]),_0x2c7799['stopPropagation'](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x1c06e5[_0x373cf0(0xc9)](),this[_0x373cf0(0x248)]();return;}if(this[_0x373cf0(0x1b9)]){this[_0x373cf0(0x177)](_0x56e298['x']),this['_setTableCursor'](_0x5fc0b8[_0x373cf0(0x3d0)]),_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x1c06e5['preventDefault'](),this[_0x373cf0(0x248)]();return;}if(this[_0x373cf0(0x268)]){Er({'x':this['_pendingHandleSelection'][_0x373cf0(0xa6)],'y':this[_0x373cf0(0x268)][_0x373cf0(0x1f4)]},_0x56e298,0x4)||(this[_0x373cf0(0x25b)]=this[_0x373cf0(0x1a2)](this[_0x373cf0(0x268)]),this['_rowColumnMoveTarget']=this[_0x373cf0(0x36d)](_0x56e298),this['_pendingHandleSelection']=null,this[_0x373cf0(0x262)](_0x5fc0b8[_0x373cf0(0x191)]),_0x2c7799['stopPropagation'](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x1c06e5[_0x373cf0(0xc9)](),this[_0x373cf0(0x248)]());return;}if(this[_0x373cf0(0x22e)]){this[_0x373cf0(0x1f5)]=Pr(this[_0x373cf0(0x22e)],_0x56e298['x'],_0x56e298['y']),this['_setResizeCursor'](this[_0x373cf0(0x22e)][_0x373cf0(0x15d)]),_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x1c06e5['preventDefault'](),this[_0x373cf0(0x248)]();return;}if(this[_0x373cf0(0x1c0)]){if(this['_updateSelectionDrag'](_0x56e298)){_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x1c06e5[_0x373cf0(0xc9)]();return;}this['_updateSelectionDragAutoScroll'](_0x56e298);}this[_0x373cf0(0x3cf)]&&(ka(_0x1c06e5)?this[_0x373cf0(0x237)](_0x56e298):(this['_headerSelectionDragState']=null,this['_selectionService'][_0x373cf0(0x1c7)](!0x1)));let _0x1c4dba=this[_0x373cf0(0x110)](_0x56e298['x'],_0x56e298['y']);if(_0x1c4dba){this[_0x373cf0(0x1a0)]({'label':this[_0x373cf0(0x2f7)](_0x1c4dba['preset']),'x':_0x56e298['x'],'y':_0x56e298['y']}),this[_0x373cf0(0x262)](_0x5fc0b8[_0x373cf0(0x3d0)]),_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,this[_0x373cf0(0x248)]();return;}if(this[_0x373cf0(0x352)](_0x56e298['x'],_0x56e298['y'])){this[_0x373cf0(0x1a0)](null),this[_0x373cf0(0x262)](_0x5fc0b8[_0x373cf0(0x3d0)]),_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,this[_0x373cf0(0x248)]();return;}if(this[_0x373cf0(0x208)](_0x56e298['x'],_0x56e298['y'])){this[_0x373cf0(0x262)](_0x5fc0b8[_0x373cf0(0x3d0)]),_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,this[_0x373cf0(0x248)]();return;}let _0x5e9918=this[_0x373cf0(0x3ae)](_0x56e298['x'],_0x56e298['y']),_0x3ad2a9=this[_0x373cf0(0x1d7)](_0x56e298['x'],_0x56e298['y']);if(_0x3ad2a9||this[_0x373cf0(0x34b)](_0x56e298['x'],_0x56e298['y']),!_0x5e9918&&_0x3ad2a9){_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0;return;}if(this[_0x373cf0(0x345)](_0x5e9918),this['_setTooltip'](this['_buildTriggerTooltip'](_0x5e9918)),!_0x5e9918){this[_0x373cf0(0x246)]();return;}_0x2c7799[_0x373cf0(0xb2)](),_0x2c7799[_0x373cf0(0x132)]=!0x0,_0x5e9918[_0x373cf0(0x389)]===_0x373cf0(0x1b3)||_0x5e9918[_0x373cf0(0x389)]==='resize-row'?this['_setResizeCursor'](_0x5e9918):this[_0x373cf0(0x262)](_0x5fc0b8[_0x373cf0(0x3d0)]);},'priority':ga})),this[_0xd93ee4(0x181)](_0x1e760c[_0xd93ee4(0x22a)][_0xd93ee4(0x13f)]({'next':([_0x5df748,_0x183cf7])=>{const _0x408188=_0xd93ee4;var _0x3cb6a8,_0x513498,_0x3d400d;if(_0x5df748[_0x408188(0x24a)]===0x2)return;let _0x2292a3=Da(_0x5df748[_0x408188(0x24e)],_0x5df748[_0x408188(0x358)],this[_0x408188(0x1d0)][_0x408188(0x2e8)]);this[_0x408188(0x16e)]=_0x2292a3,this[_0x408188(0x27c)]||(this[_0x408188(0x27c)]=this[_0x408188(0x24f)](_0x2292a3['x'],_0x2292a3['y']));let _0x123c2f=this[_0x408188(0x208)](_0x2292a3['x'],_0x2292a3['y']);if(_0x123c2f&&this[_0x408188(0x27c)]){_0x183cf7[_0x408188(0xb2)](),_0x183cf7['skipNextObservers']=!0x0,_0x5df748[_0x408188(0xb2)](),_0x5df748[_0x408188(0xc9)](),this[_0x408188(0x13a)][_0x408188(0x1c7)](!0x0),this[_0x408188(0x1d1)](_0x123c2f,_0x2292a3['x']);return;}let _0x5bcda6=this['_hitBorderPreset'](_0x2292a3['x'],_0x2292a3['y']);if(_0x5bcda6&&this[_0x408188(0x182)]){_0x183cf7[_0x408188(0xb2)](),_0x183cf7[_0x408188(0x132)]=!0x0,_0x5df748[_0x408188(0xb2)](),_0x5df748[_0x408188(0xc9)](),this[_0x408188(0x91)](_0x5bcda6[_0x408188(0x228)]);return;}let _0x2c4445=this[_0x408188(0x352)](_0x2292a3['x'],_0x2292a3['y']);if(_0x2c4445&&this['_sortPopover']){_0x183cf7['stopPropagation'](),_0x183cf7['skipNextObservers']=!0x0,_0x5df748[_0x408188(0xb2)](),_0x5df748[_0x408188(0xc9)](),this[_0x408188(0x1ba)](this[_0x408188(0x290)][_0x408188(0xe3)],this['_sortPopover']['column']),this[_0x408188(0x3c5)][_0x408188(0x19c)](_0x27aace['id'],{'column':this['_sortPopover']['column'],'direction':_0x2c4445['direction'],'tableId':this[_0x408188(0x290)]['tableId']}),this[_0x408188(0x290)]=null,this[_0x408188(0x248)]();return;}let _0x44ede8=(_0x3cb6a8=this[_0x408188(0x2f0)](_0x2292a3['x'],_0x2292a3['y']))==null?this[_0x408188(0x383)]:_0x3cb6a8,_0x3124db=(_0x513498=(_0x3d400d=this[_0x408188(0x27c)])==null?void 0x0:_0x3d400d[_0x408188(0x186)])==null?_0x44ede8==null?void 0x0:_0x44ede8[_0x408188(0xe3)]:_0x513498;if(!_0x44ede8){let _0x207423=this[_0x408188(0x3b7)](_0x2292a3['x'],_0x2292a3['y']);_0x207423&&(this[_0x408188(0x27c)]=_0x207423[_0x408188(0x17e)],_0x44ede8=_0x207423[_0x408188(0x15d)],_0x3124db=_0x207423[_0x408188(0x17e)][_0x408188(0x186)]);}if(!_0x44ede8||!_0x3124db){let _0x27b8b3=this[_0x408188(0x101)](_0x2292a3['x'],_0x2292a3['y']);_0x27b8b3?(this[_0x408188(0x1c0)]={'anchorColumn':_0x27b8b3['column'],'anchorRow':_0x27b8b3['row'],'startX':_0x2292a3['x'],'startY':_0x2292a3['y'],'structural':!0x1,'tableId':_0x27b8b3['tableId']},this[_0x408188(0x13a)][_0x408188(0x198)]({'clearNativeSelection':!0x1})):(this[_0x408188(0x1c0)]=null,this['_stopSelectionDragAutoScroll'](),this[_0x408188(0x13a)][_0x408188(0x198)]({'clearNativeSelection':!0x1}));return;}if(this[_0x408188(0x1c0)]=null,this['_stopSelectionDragAutoScroll'](),_0x183cf7[_0x408188(0xb2)](),_0x183cf7['skipNextObservers']=!0x0,_0x5df748[_0x408188(0xb2)](),_0x5df748[_0x408188(0xc9)](),_0x44ede8[_0x408188(0x389)]===_0x408188(0x1b3)||_0x44ede8[_0x408188(0x389)]===_0x408188(0x2b9)){let _0x1b0635=this[_0x408188(0x9d)](_0x44ede8);if(_0x1b0635==null)return;this['_selectionService'][_0x408188(0x1c7)](!0x0),this[_0x408188(0x268)]=null,this[_0x408188(0x13a)][_0x408188(0x198)](),this[_0x408188(0x22e)]=Nr(_0x44ede8,_0x2292a3['x'],_0x2292a3['y'],_0x1b0635),this[_0x408188(0x1c8)]=_0x3124db,this['_dragPreview']=Pr(this[_0x408188(0x22e)],_0x2292a3['x'],_0x2292a3['y']),this[_0x408188(0x3be)](_0x44ede8),this['_makeDirty']();return;}if(_0x44ede8[_0x408188(0x389)]==='table-select'){if(!this['_activeTable'])return;this['_selectionService'][_0x408188(0x1c7)](!0x0),this[_0x408188(0x189)]=Dr(_0x44ede8,_0x2292a3['x'],_0x2292a3['y'],this[_0x408188(0x27c)][_0x408188(0x1d9)][_0x408188(0x395)]),this[_0x408188(0x340)]=_0x3124db,this[_0x408188(0x14a)]=null,this[_0x408188(0x20e)]=null,this[_0x408188(0x2cf)](),this[_0x408188(0x290)]=null,this['_setTableCursor'](_0x5fc0b8[_0x408188(0x191)]),this[_0x408188(0x248)]();return;}this['_handleStructuralTriggerPointerDown'](_0x44ede8,_0x2292a3,_0x3124db);},'priority':ga})),this[_0xd93ee4(0x181)](_0x1e760c[_0xd93ee4(0x1c3)][_0xd93ee4(0x13f)]({'next':([_0xc0d8e2,_0x80ce1d])=>{const _0x333831=_0xd93ee4;let _0x1c4317=Da(_0xc0d8e2[_0x333831(0x24e)],_0xc0d8e2['offsetY'],this['_context'][_0x333831(0x2e8)]);this[_0x333831(0x16e)]=_0x1c4317,this[_0x333831(0xd6)](_0x1c4317,_0x80ce1d,{'commit':!0x0,'selectCollapsedRange':!0x0});},'priority':ga})),this[_0xd93ee4(0x181)](this[_0xd93ee4(0x1d0)][_0xd93ee4(0x2e8)]['onMouseWheel$'][_0xd93ee4(0x13f)]({'next':([_0x243933,_0x438b99])=>{const _0x36b6b8=_0xd93ee4;var _0x486008;let _0x1d976d=Da(_0x243933[_0x36b6b8(0x24e)],_0x243933['offsetY'],this[_0x36b6b8(0x1d0)]['scene']),_0x628190=(_0x486008=this[_0x36b6b8(0x27c)])==null?this[_0x36b6b8(0x24f)](_0x1d976d['x'],_0x1d976d['y']):_0x486008;!_0x628190||!X(J(_0x628190[_0x36b6b8(0x1d9)]),_0x1d976d['x'],_0x1d976d['y'])||this[_0x36b6b8(0x108)][_0x36b6b8(0x309)](this[_0x36b6b8(0x1d0)][_0x36b6b8(0x8f)],_0x628190['sourceTableId'],{'ctrlKey':!!_0x243933[_0x36b6b8(0x2f8)],'deltaX':_0x243933[_0x36b6b8(0x259)],'deltaY':_0x243933[_0x36b6b8(0x33d)],'metaKey':!!_0x243933['metaKey'],'shiftKey':!!_0x243933[_0x36b6b8(0x221)],'zoom':this[_0x36b6b8(0x335)]()})&&(this[_0x36b6b8(0x27c)]=this[_0x36b6b8(0x229)](_0x628190),this[_0x36b6b8(0xea)](),_0x438b99[_0x36b6b8(0xb2)](),_0x438b99[_0x36b6b8(0x132)]=!0x0,_0x243933[_0x36b6b8(0xc9)](),this[_0x36b6b8(0x248)]());},'priority':ga})),this[_0xd93ee4(0x181)](_0x1e760c[_0xd93ee4(0x25d)][_0xd93ee4(0x13f)]({'next':()=>{const _0x246eaa=_0xd93ee4;this[_0x246eaa(0x22e)]||this[_0x246eaa(0x189)]||this[_0x246eaa(0x25b)]||this['_headerSelectionDragState']||(this['_setHoveredTrigger'](null),this[_0x246eaa(0x1a0)](null),this[_0x246eaa(0x1fa)]()||(this['_activeTable']=null),this['_resetTableCursor'](),this['_makeDirty']());},'priority':ga}));}[_0x588cc3(0x99)](_0xe194cc){const _0x4a6687=_0x588cc3;if(!this[_0x4a6687(0x22e)]&&!this[_0x4a6687(0x189)]&&!this[_0x4a6687(0x25b)]&&!this[_0x4a6687(0x268)]&&!this[_0x4a6687(0x1b9)]&&!this[_0x4a6687(0x1c0)]&&!this[_0x4a6687(0x3cf)])return;let _0x5bd83a=this[_0x4a6687(0x1a7)](_0xe194cc);if(_0x5bd83a&&(this[_0x4a6687(0x16e)]=_0x5bd83a,!(this[_0x4a6687(0x1c0)]&&(ka(_0xe194cc)?this[_0x4a6687(0x30d)](_0x5bd83a)||this[_0x4a6687(0x318)](_0x5bd83a):(this[_0x4a6687(0x1c0)]=null,this[_0x4a6687(0x319)]()),!this[_0x4a6687(0x22e)]&&!this[_0x4a6687(0x189)]&&!this[_0x4a6687(0x25b)]&&!this['_pendingHandleSelection']&&!this[_0x4a6687(0x1b9)]))&&!(this['_headerSelectionDragState']&&(ka(_0xe194cc)?this[_0x4a6687(0x237)](_0x5bd83a):(this['_headerSelectionDragState']=null,this['_selectionService'][_0x4a6687(0x1c7)](!0x1)),!this['_dragState']&&!this[_0x4a6687(0x189)]&&!this[_0x4a6687(0x25b)]&&!this[_0x4a6687(0x268)]&&!this[_0x4a6687(0x1b9)])))){if(this['_scrollbarDragState']){this[_0x4a6687(0x177)](_0x5bd83a['x']),this[_0x4a6687(0x248)]();return;}if(this[_0x4a6687(0x268)]){Er({'x':this[_0x4a6687(0x268)][_0x4a6687(0xa6)],'y':this[_0x4a6687(0x268)][_0x4a6687(0x1f4)]},_0x5bd83a,0x4)||(this[_0x4a6687(0x25b)]=this['_createRowColumnMoveState'](this[_0x4a6687(0x268)]),this[_0x4a6687(0x1e9)]=this[_0x4a6687(0x36d)](_0x5bd83a),this[_0x4a6687(0x268)]=null,this['_setTableCursor'](_0x5fc0b8[_0x4a6687(0x191)]),this[_0x4a6687(0x248)]());return;}if(this[_0x4a6687(0x25b)]){ka(_0xe194cc)?(this[_0x4a6687(0x1e9)]=this[_0x4a6687(0x36d)](_0x5bd83a),this['_setTableCursor'](_0x5fc0b8['MOVE'])):(this[_0x4a6687(0x25b)]=null,this[_0x4a6687(0x1e9)]=null,this[_0x4a6687(0x246)]()),this[_0x4a6687(0x248)]();return;}if(this[_0x4a6687(0x189)]){let _0x42f300=Math[_0x4a6687(0x227)](_0x5bd83a['x']-this['_moveDragState'][_0x4a6687(0xa6)],_0x5bd83a['y']-this[_0x4a6687(0x189)][_0x4a6687(0x1f4)]);this[_0x4a6687(0x14a)]=_0x42f300>=0x4?Or(this[_0x4a6687(0x189)],_0x5bd83a['x'],_0x5bd83a['y']):null,this[_0x4a6687(0x20e)]=this['_moveDragPreview']?this[_0x4a6687(0x14e)](_0x5bd83a['x'],_0x5bd83a['y']):null,this['_setTableCursor'](_0x5fc0b8[_0x4a6687(0x191)]),this[_0x4a6687(0x248)]();return;}this[_0x4a6687(0x22e)]&&(this[_0x4a6687(0x1f5)]=Pr(this['_dragState'],_0x5bd83a['x'],_0x5bd83a['y']),this['_setResizeCursor'](this[_0x4a6687(0x22e)]['trigger']),this['_makeDirty']());}}[_0x588cc3(0x1a7)](_0x4daf50){const _0x597f3e=_0x588cc3;var _0x5deaab,_0x4848d9,_0x4a9ee3;if(!Ra(_0x4daf50))return null;let _0x451244=(_0x5deaab=this[_0x597f3e(0x1d0)][_0x597f3e(0x24d)])==null||(_0x4848d9=_0x5deaab[_0x597f3e(0x2ae)])==null?void 0x0:_0x4848d9['call'](_0x5deaab),_0x1bea7f=_0x451244==null||(_0x4a9ee3=_0x451244[_0x597f3e(0x11e)])==null?void 0x0:_0x4a9ee3['call'](_0x451244);return _0x1bea7f?Da(_0x4daf50[_0x597f3e(0x20d)]-_0x1bea7f[_0x597f3e(0x1b5)],_0x4daf50[_0x597f3e(0x306)]-_0x1bea7f[_0x597f3e(0x120)],this[_0x597f3e(0x1d0)][_0x597f3e(0x2e8)]):null;}[_0x588cc3(0xd6)](_0x5cf4ac,_0x553145,_0x1955e4){const _0x2e7edf=_0x588cc3;var _0xedac5e;let _0x5c819f=!!((_0xedac5e=this[_0x2e7edf(0x1c0)])!=null&&_0xedac5e[_0x2e7edf(0x338)]);this[_0x2e7edf(0x1c0)]=null;let _0xb01dd9=!!this[_0x2e7edf(0x3cf)];return this[_0x2e7edf(0x3cf)]=null,this['_stopSelectionDragAutoScroll'](),_0x5c819f?(this['_consumePointerEvent'](_0x553145),this['_makeDirty'](),!0x0):_0xb01dd9?(this[_0x2e7edf(0x106)](_0x553145),this['_selectionService'][_0x2e7edf(0x1c7)](!0x1),this[_0x2e7edf(0x248)](),!0x0):this[_0x2e7edf(0x1b9)]?(this['_consumePointerEvent'](_0x553145),this[_0x2e7edf(0x1b9)]=null,this[_0x2e7edf(0x13a)][_0x2e7edf(0x1c7)](!0x1),this[_0x2e7edf(0x246)](),this[_0x2e7edf(0x248)](),!0x0):this[_0x2e7edf(0x25b)]||this[_0x2e7edf(0x1e9)]?(this['_consumePointerEvent'](_0x553145),this[_0x2e7edf(0x11a)](_0x5cf4ac,_0x1955e4[_0x2e7edf(0x21a)]),!0x0):this[_0x2e7edf(0x189)]||this[_0x2e7edf(0x340)]||this[_0x2e7edf(0x14a)]||this[_0x2e7edf(0x20e)]?(this['_consumePointerEvent'](_0x553145),this[_0x2e7edf(0x36e)](_0x5cf4ac,_0x1955e4['commit']),!0x0):this[_0x2e7edf(0x268)]?(this[_0x2e7edf(0x106)](_0x553145),this[_0x2e7edf(0x31d)](_0x5cf4ac,_0x1955e4['commit']),!0x0):this[_0x2e7edf(0x22e)]||this['_dragSourceTableId']||this[_0x2e7edf(0x1f5)]?(this[_0x2e7edf(0x106)](_0x553145),this[_0x2e7edf(0x341)](_0x5cf4ac,_0x1955e4[_0x2e7edf(0x21a)]),!0x0):!0x1;}[_0x588cc3(0x36e)](_0x4f66ab,_0x317583){const _0x5615f6=_0x588cc3;if(_0x317583&&this[_0x5615f6(0x189)]&&this[_0x5615f6(0x340)]){var _0xb6f8a0,_0x520e43;let _0x111a22=_0x4f66ab?Math[_0x5615f6(0x227)](_0x4f66ab['x']-this[_0x5615f6(0x189)][_0x5615f6(0xa6)],_0x4f66ab['y']-this[_0x5615f6(0x189)]['startY']):0x0,_0x27a288=(_0xb6f8a0=this[_0x5615f6(0x14a)])==null?_0x4f66ab&&_0x111a22>=0x4?Or(this[_0x5615f6(0x189)],_0x4f66ab['x'],_0x4f66ab['y']):null:_0xb6f8a0,_0x469aee=(_0x520e43=this[_0x5615f6(0x20e)])==null?_0x4f66ab&&_0x27a288?this[_0x5615f6(0x14e)](_0x4f66ab['x'],_0x4f66ab['y']):null:_0x520e43;_0x469aee?this['_commandService']['executeCommand'](_0x54ccc8['id'],{'tableId':this[_0x5615f6(0x340)],'targetOffset':_0x469aee['targetOffset']}):!_0x27a288&&Er({'x':this[_0x5615f6(0x189)][_0x5615f6(0xa6)],'y':this[_0x5615f6(0x189)]['startY']},_0x4f66ab==null?null:_0x4f66ab,0x4)&&this[_0x5615f6(0x322)](this[_0x5615f6(0x340)]);}this[_0x5615f6(0x189)]=null,this['_moveDragSourceTableId']=null,this['_moveDragPreview']=null,this[_0x5615f6(0x20e)]=null,this['_selectionService'][_0x5615f6(0x1c7)](!0x1),this[_0x5615f6(0x246)](),this['_makeDirty']();}[_0x588cc3(0xac)](){const _0x1df7d2=_0x588cc3;var _0x397ea6,_0x4224d8,_0xac8d91;let _0x12a172=!!(this[_0x1df7d2(0x27c)]||this[_0x1df7d2(0x383)]||this[_0x1df7d2(0x22e)]||this[_0x1df7d2(0x1f5)]||this[_0x1df7d2(0x189)]||this[_0x1df7d2(0x14a)]||this[_0x1df7d2(0x20e)]||this[_0x1df7d2(0x268)]||this['_rowColumnMoveState']||this[_0x1df7d2(0x1e9)]||this[_0x1df7d2(0x1b9)]||this['_selectionDragState']||this['_headerSelectionDragState']||this[_0x1df7d2(0x284)]||this[_0x1df7d2(0x15c)]!=null||this[_0x1df7d2(0x128)]!=null||this['_borderPopover']||this[_0x1df7d2(0x290)]||this[_0x1df7d2(0x2a8)]||this['_contextMenuService']['visible']);this[_0x1df7d2(0x27c)]=null,this[_0x1df7d2(0x383)]=null,this[_0x1df7d2(0x22e)]=null,this[_0x1df7d2(0x1c8)]=null,this[_0x1df7d2(0x1f5)]=null,this[_0x1df7d2(0x189)]=null,this[_0x1df7d2(0x340)]=null,this[_0x1df7d2(0x14a)]=null,this[_0x1df7d2(0x20e)]=null,this['_pendingHandleSelection']=null,this[_0x1df7d2(0x25b)]=null,this['_rowColumnMoveTarget']=null,this[_0x1df7d2(0x1b9)]=null,this['_selectionDragState']=null,this[_0x1df7d2(0x3cf)]=null,this[_0x1df7d2(0x284)]=null,this[_0x1df7d2(0x15c)]=null,this[_0x1df7d2(0x128)]=null,this[_0x1df7d2(0x290)]=null,this[_0x1df7d2(0x2a8)]=null,this[_0x1df7d2(0x16e)]=null,this[_0x1df7d2(0x319)](),(_0x397ea6=this['_borderPopoverDisposable'])==null||_0x397ea6['dispose'](),this[_0x1df7d2(0x207)]=null,this['_borderPopover']=null,this[_0x1df7d2(0xe6)][_0x1df7d2(0x365)](),(_0x4224d8=this['_floatingMenuService'])==null||(_0xac8d91=_0x4224d8[_0x1df7d2(0x127)])==null||_0xac8d91[_0x1df7d2(0x36f)](_0x4224d8),this[_0x1df7d2(0x3b6)](),this[_0x1df7d2(0x13a)][_0x1df7d2(0x1c7)](!0x1),this[_0x1df7d2(0x246)](),_0x12a172&&this['_makeDirty']();}[_0x588cc3(0x31d)](_0x5074bd,_0x52793a){const _0x39867d=_0x588cc3;let _0x6303d6=this[_0x39867d(0x268)];_0x52793a&&_0x6303d6&&Er({'x':_0x6303d6[_0x39867d(0xa6)],'y':_0x6303d6[_0x39867d(0x1f4)]},_0x5074bd==null?null:_0x5074bd,0x4)&&(_0x6303d6[_0x39867d(0x13b)]===_0x39867d(0x2c6)&&_0x6303d6['row']!=null?this['_selectRow'](_0x6303d6[_0x39867d(0xe3)],_0x6303d6[_0x39867d(0x2c6)]):_0x6303d6[_0x39867d(0x13b)]===_0x39867d(0x200)&&_0x6303d6[_0x39867d(0x200)]!=null&&this[_0x39867d(0x1ba)](_0x6303d6[_0x39867d(0xe3)],_0x6303d6[_0x39867d(0x200)])),this[_0x39867d(0x268)]=null,this[_0x39867d(0x13a)]['setNativeSelectionSuppressed'](!0x1),this['_makeDirty']();}[_0x588cc3(0x11a)](_0x3f4932,_0x5c9038){const _0x8fa836=_0x588cc3;var _0x4dfdcc;let _0x445970=this['_rowColumnMoveState'],_0x30835d=(_0x4dfdcc=this[_0x8fa836(0x1e9)])==null?_0x3f4932?this['_getRowColumnMoveTarget'](_0x3f4932):null:_0x4dfdcc;_0x5c9038&&_0x445970&&_0x30835d&&_0x30835d[_0x8fa836(0x1d6)]!==_0x445970[_0x8fa836(0x2c7)]&&(_0x445970[_0x8fa836(0x13b)]===_0x8fa836(0x2c6)?this[_0x8fa836(0x3c5)]['executeCommand'](_0x472edb['id'],{'count':0x1,'fromRow':_0x445970['sourceIndex'],'position':_0x30835d[_0x8fa836(0xe8)]==='above'?_0x8fa836(0x2fe):'below','tableId':_0x445970['tableId'],'toRow':_0x30835d['index']})['then'](_0x5105e7=>{const _0x46e741=_0x8fa836;_0x5105e7&&this[_0x46e741(0x1aa)](_0x445970[_0x46e741(0xe3)]);}):this[_0x8fa836(0x3c5)][_0x8fa836(0x19c)](_0x371279['id'],{'count':0x1,'fromColumn':_0x445970[_0x8fa836(0x2c7)],'position':_0x30835d[_0x8fa836(0xe8)]===_0x8fa836(0x1b5)?_0x8fa836(0x1b5):_0x8fa836(0x32b),'tableId':_0x445970['tableId'],'toColumn':_0x30835d[_0x8fa836(0x1d6)]})[_0x8fa836(0x19d)](_0x351262=>{const _0x1a29cc=_0x8fa836;_0x351262&&this[_0x1a29cc(0x1aa)](_0x445970[_0x1a29cc(0xe3)]);})),this['_rowColumnMoveState']=null,this[_0x8fa836(0x1e9)]=null,this['_selectionService'][_0x8fa836(0x1c7)](!0x1),this['_restoreTableCursor'](),this[_0x8fa836(0x248)]();}[_0x588cc3(0x341)](_0x3a8667,_0x3bbdd7){const _0x46c71d=_0x588cc3;var _0x2b607b;let _0x35b94d=this[_0x46c71d(0x22e)]?Fr(this[_0x46c71d(0x22e)],(_0x2b607b=this[_0x46c71d(0x1f5)])==null?null:_0x2b607b,_0x3a8667==null?null:_0x3a8667):this[_0x46c71d(0x1f5)],_0x31a3b3=this[_0x46c71d(0x1c8)];_0x3bbdd7&&_0x35b94d&&_0x31a3b3&&(_0x35b94d[_0x46c71d(0x200)]!=null&&_0x35b94d[_0x46c71d(0x185)]!=null?this[_0x46c71d(0x312)](_0x3c1e99['id'],{'column':_0x35b94d[_0x46c71d(0x200)],'tableId':_0x31a3b3,'width':_0x35b94d[_0x46c71d(0x185)]},_0x31a3b3):_0x35b94d[_0x46c71d(0x2c6)]!=null&&_0x35b94d[_0x46c71d(0x1ad)]!=null&&this[_0x46c71d(0x312)](_0x359516['id'],{'height':_0x35b94d[_0x46c71d(0x1ad)],'row':_0x35b94d['row'],'tableId':_0x31a3b3},_0x31a3b3)),this[_0x46c71d(0x22e)]=null,this[_0x46c71d(0x1c8)]=null,this[_0x46c71d(0x1f5)]=null,this['_setHoveredTrigger'](null),this[_0x46c71d(0x1a0)](null),this['_selectionService']['setNativeSelectionSuppressed'](!0x1),this['_restoreTableCursor'](),this['_makeDirty']();}[_0x588cc3(0x20a)](_0x419e01){const _0x374867=_0x588cc3;this[_0x374867(0x2cf)](),this[_0x374867(0x182)]=_0x419e01;let _0x572e93=Ga()[_0x374867(0x35e)](({preset:_0x556f5e})=>({'label':this[_0x374867(0x2f7)](_0x556f5e),'preset':_0x556f5e}));this['_borderPopoverDisposable']=this['_docCanvasPopManagerService'][_0x374867(0x2f4)]({'bottom':_0x419e01['y'],'left':_0x419e01['x'],'right':_0x419e01['x'],'top':_0x419e01['y']},{'componentKey':br,'direction':_0x374867(0x20c),'extraProps':{'onSelect':_0x1c83e0=>this[_0x374867(0x91)](_0x1c83e0),'presets':_0x572e93},'onClickOutside':()=>this[_0x374867(0x2cf)](),'onContextMenu':()=>this[_0x374867(0x2cf)]()},this['_context'][_0x374867(0x8f)]),this[_0x374867(0x248)]();}['_closeBorderPopover'](){const _0x1f59f3=_0x588cc3;var _0x1be13c;(_0x1be13c=this['_borderPopoverDisposable'])==null||_0x1be13c[_0x1f59f3(0x376)](),this['_borderPopoverDisposable']=null,this[_0x1f59f3(0x182)]=null,this['_setTooltip'](null),this['_makeDirty']();}[_0x588cc3(0x21e)](_0x1cfac7){const _0x49f6f4=_0x588cc3;var _0x1b5849,_0x2b5735,_0x47f053,_0x25746b;let _0x33c480=Va((_0x1b5849=_0x1cfac7==null?(_0x2b5735=(_0x47f053=this['_floatingMenuService'])[_0x49f6f4(0x261)])==null?void 0x0:_0x2b5735['call'](_0x47f053)[_0x49f6f4(0x21f)]:_0x1cfac7)==null?null:_0x1b5849);this[_0x49f6f4(0x19a)]&&this[_0x49f6f4(0x107)]===_0x33c480||(this[_0x49f6f4(0x19a)]&&this[_0x49f6f4(0x3b6)](),(_0x25746b=this[_0x49f6f4(0xc2)])!=null&&_0x25746b[_0x49f6f4(0x2f4)]&&(this[_0x49f6f4(0x19a)]=this[_0x49f6f4(0xc2)][_0x49f6f4(0x2f4)](()=>{const _0x4886bc=_0x49f6f4;let _0x3157e4=this[_0x4886bc(0x1df)]['getState']()[_0x4886bc(0x21f)];return _0x3157e4==null?{'bottom':0x0,'left':0x0,'right':0x0,'top':0x0}:_0x3157e4;},{'componentKey':Hi,'direction':_0x49f6f4(0x3d2),'offset':[0x0,0x8],'onClickOutside':()=>{const _0x2e8d50=_0x49f6f4;this[_0x2e8d50(0x1df)][_0x2e8d50(0x127)](),this[_0x2e8d50(0x3b6)]();}},this[_0x49f6f4(0x1d0)]['unitId']),this[_0x49f6f4(0x107)]=_0x33c480));}[_0x588cc3(0x3b6)](){const _0x56477c=_0x588cc3;var _0x584937;(_0x584937=this[_0x56477c(0x19a)])==null||_0x584937[_0x56477c(0x376)](),this[_0x56477c(0x19a)]=null,this[_0x56477c(0x107)]=null;}[_0x588cc3(0x91)](_0x1b7507){const _0x423831=_0x588cc3;let _0x34e798=this['_borderPopover'];_0x34e798&&(this['_selectionService'][_0x423831(0x1de)]({'kind':_0x34e798[_0x423831(0x170)]===_0x34e798[_0x423831(0x1c6)]&&_0x34e798[_0x423831(0x203)]===_0x34e798[_0x423831(0x336)]?_0x4e9e70[_0x423831(0x204)]:_0x4e9e70['Range'],'tableId':_0x34e798[_0x423831(0xe3)],'startRow':_0x34e798[_0x423831(0x170)],'endRow':_0x34e798[_0x423831(0x1c6)],'startColumn':_0x34e798['startColumn'],'endColumn':_0x34e798[_0x423831(0x336)]}),this['_commandService'][_0x423831(0x19c)](_0x24dc2c['id'],{'endColumn':_0x34e798[_0x423831(0x336)],'endRow':_0x34e798[_0x423831(0x1c6)],'preset':_0x1b7507,'startColumn':_0x34e798[_0x423831(0x203)],'startRow':_0x34e798[_0x423831(0x170)],'tableId':_0x34e798[_0x423831(0xe3)]}),this[_0x423831(0x2cf)]());}[_0x588cc3(0x106)](_0x27e847){const _0x317f45=_0x588cc3;_0x27e847&&(_0x27e847[_0x317f45(0xb2)](),_0x27e847['skipNextObservers']=!0x0);}[_0x588cc3(0x312)](_0x267a89,_0x4057f0,_0x6104d4){const _0x2409b3=_0x588cc3;this[_0x2409b3(0x3c5)][_0x2409b3(0x19c)](_0x267a89,_0x4057f0)['then'](_0x5c564f=>{const _0x41b411=_0x2409b3;_0x5c564f&&this[_0x41b411(0x1aa)](_0x6104d4);});}['_handleStructuralTriggerPointerDown'](_0x3295f8,_0x3a13dd,_0x4ceea0){const _0x316455=_0x588cc3;return _0x3295f8[_0x316455(0x389)]===_0x316455(0x28f)||_0x3295f8['kind']==='column-insert-dot'?(this[_0x316455(0x3a2)](_0x3295f8,_0x4ceea0),!0x0):(_0x3295f8[_0x316455(0x389)]!==_0x316455(0x357)||_0x3295f8[_0x316455(0x2c6)]==null)&&(_0x3295f8['kind']!==_0x316455(0x1d5)||_0x3295f8[_0x316455(0x200)]==null)?!0x1:(this[_0x316455(0x13a)][_0x316455(0x1c7)](!0x0),_0x3295f8[_0x316455(0x389)]===_0x316455(0x357)&&_0x3295f8[_0x316455(0x2c6)]!=null?this[_0x316455(0x138)](_0x3295f8,_0x3a13dd)?(this[_0x316455(0x3a2)]({..._0x3295f8,'kind':'row-insert-dot'},_0x4ceea0),!0x0):this[_0x316455(0x2a1)](_0x3295f8)?(this[_0x316455(0x268)]={'row':_0x3295f8[_0x316455(0x2c6)],'startX':_0x3a13dd['x'],'startY':_0x3a13dd['y'],'tableId':_0x4ceea0,'type':_0x316455(0x2c6)},!0x0):(this[_0x316455(0x3cf)]={'anchorIndex':_0x3295f8['row'],'currentIndex':_0x3295f8[_0x316455(0x2c6)],'tableId':_0x4ceea0,'type':_0x316455(0x2c6)},this['_selectionService'][_0x316455(0x385)](_0x4ceea0,'row',_0x3295f8[_0x316455(0x2c6)],_0x3295f8[_0x316455(0x2c6)],{'clearNativeSelection':!0x0}),!0x0):_0x3295f8[_0x316455(0x389)]===_0x316455(0x1d5)&&_0x3295f8['column']!=null?this[_0x316455(0x2a1)](_0x3295f8)?(this[_0x316455(0x268)]={'column':_0x3295f8[_0x316455(0x200)],'startX':_0x3a13dd['x'],'startY':_0x3a13dd['y'],'tableId':_0x4ceea0,'type':_0x316455(0x200)},!0x0):(this['_headerSelectionDragState']={'anchorIndex':_0x3295f8['column'],'currentIndex':_0x3295f8['column'],'tableId':_0x4ceea0,'type':_0x316455(0x200)},this[_0x316455(0x13a)]['setStructuralHeaderSelection'](_0x4ceea0,'column',_0x3295f8['column'],_0x3295f8['column'],{'clearNativeSelection':!0x0}),!0x0):!0x1);}[_0x588cc3(0x237)](_0xe1e408){const _0x3dd5fd=_0x588cc3;let _0x182ca2=this['_headerSelectionDragState'];if(!_0x182ca2)return;let _0x188ed0=_0x182ca2[_0x3dd5fd(0x13b)]===_0x3dd5fd(0x2c6)?this[_0x3dd5fd(0x136)](_0xe1e408['y']):this[_0x3dd5fd(0x153)](_0xe1e408['x']);_0x188ed0==null||_0x188ed0===_0x182ca2[_0x3dd5fd(0x29f)]||(_0x182ca2[_0x3dd5fd(0x29f)]=_0x188ed0,this[_0x3dd5fd(0x13a)][_0x3dd5fd(0x385)](_0x182ca2[_0x3dd5fd(0xe3)],_0x182ca2['type'],_0x182ca2[_0x3dd5fd(0x175)],_0x188ed0,{'clearNativeSelection':!0x0}),this[_0x3dd5fd(0x248)]());}['_handleStructuralInsertTrigger'](_0x5ad709,_0xfd1d13){const _0x5645a6=_0x588cc3;if(_0x5ad709['kind']===_0x5645a6(0x28f)&&_0x5ad709[_0x5645a6(0x2c6)]!=null){this[_0x5645a6(0x312)](_0x355f52['id'],{'count':0x1,'position':_0x5645a6(0x373),'row':_0x5ad709[_0x5645a6(0x2c6)],'tableId':_0xfd1d13},_0xfd1d13);return;}_0x5ad709['kind']===_0x5645a6(0x25e)&&_0x5ad709['column']!=null&&this[_0x5645a6(0x312)](_0x54b98f['id'],{'column':_0x5ad709[_0x5645a6(0x200)],'count':0x1,'position':_0x5645a6(0x32b),'tableId':_0xfd1d13},_0xfd1d13);}[_0x588cc3(0x138)](_0x3f4c36,_0x58ff49){const _0x5935db=_0x588cc3;if(_0x3f4c36[_0x5935db(0x389)]!==_0x5935db(0x357))return!0x1;let _0x224416=Math['min'](_0x3f4c36[_0x5935db(0x256)][_0x5935db(0x1ad)],Math[_0x5935db(0x104)](0x6/this[_0x5935db(0x335)](),0x4/this[_0x5935db(0x335)]()));return _0x58ff49['y']>=_0x3f4c36[_0x5935db(0x256)]['y']+_0x3f4c36['rect'][_0x5935db(0x1ad)]-_0x224416&&_0x58ff49['y']<=_0x3f4c36[_0x5935db(0x256)]['y']+_0x3f4c36[_0x5935db(0x256)][_0x5935db(0x1ad)];}['_canStartHeaderReorder'](_0x47f965){const _0xe7d93f=_0x588cc3;let _0x3505ae=this[_0xe7d93f(0x36a)];return!_0x3505ae||!_0x47f965['tableId']||_0x3505ae['tableId']!==_0x47f965[_0xe7d93f(0xe3)]?!0x1:_0x47f965['kind']==='row-header'&&_0x47f965[_0xe7d93f(0x2c6)]!=null?_0x3505ae[_0xe7d93f(0x389)]===_0x4e9e70[_0xe7d93f(0x3da)]&&_0x3505ae[_0xe7d93f(0x170)]===_0x3505ae['endRow']&&_0x47f965[_0xe7d93f(0x2c6)]===_0x3505ae[_0xe7d93f(0x170)]:_0x47f965['kind']===_0xe7d93f(0x1d5)&&_0x47f965['column']!=null?_0x3505ae[_0xe7d93f(0x389)]===_0x4e9e70[_0xe7d93f(0x226)]&&_0x3505ae[_0xe7d93f(0x203)]===_0x3505ae[_0xe7d93f(0x336)]&&_0x47f965[_0xe7d93f(0x200)]===_0x3505ae['startColumn']:!0x1;}[_0x588cc3(0x171)](){const _0x2940e1=_0x588cc3;this[_0x2940e1(0x181)](this[_0x2940e1(0x1d0)][_0x2940e1(0x2e8)][_0x2940e1(0x155)][_0x2940e1(0x35a)](_0x1265cf=>{const _0xfd53ed=_0x2940e1;var _0x86c685;if(!_0x1265cf||(this['_syncViewportStatesFromSkeleton']()&&this[_0xfd53ed(0x248)](),(_0x86c685=this[_0xfd53ed(0x36a)])!=null&&_0x86c685['tableId']&&this[_0xfd53ed(0x193)](),!this[_0xfd53ed(0x27c)]))return;let _0x1d9658=_0x1265cf[_0xfd53ed(0x19b)]();_0x1d9658&&this[_0xfd53ed(0x302)](_0x1d9658);}));}[_0x588cc3(0x31f)](_0x4c0322){const _0x9391f=_0x588cc3;let _0x31da67=this[_0x9391f(0x372)](_0x4c0322['pageIndex'],_0x4c0322['tableId']);if(!_0x31da67)return null;let {page:_0x3e957b,table:_0x333be7}=_0x31da67,_0x428c9a=_0x4c369e(_0x4c0322[_0x9391f(0xe3)])['tableId'],_0x4f9c6d=Sa(_0x333be7),_0x597e90=_0x333be7['rows']['map'](_0x17c3d2=>_0x17c3d2[_0x9391f(0x1ad)]),_0x24ead5=Y(_0x4f9c6d),_0x2499d7=this['_syncViewportState'](_0x4c0322,_0x428c9a,_0x3e957b,_0x333be7,_0x24ead5);return{'pageIndex':_0x4c0322[_0x9391f(0x2f3)],'sourceTableId':_0x428c9a,'tableSliceId':_0x4c0322[_0x9391f(0xe3)],'input':{'columnIndices':_0x4f9c6d['map']((_0x2dece9,_0x1ebd95)=>_0x1ebd95),'columnWidths':_0x4f9c6d,'mergedCells':Ca(_0x333be7),'rowHeights':_0x597e90,'rowIndices':_0x333be7[_0x9391f(0xa0)][_0x9391f(0x35e)](_0x55febd=>_0x55febd[_0x9391f(0x1d6)]),'tableId':_0x428c9a,'tableRect':{'height':_0x4c0322[_0x9391f(0x256)][_0x9391f(0x304)]-_0x4c0322[_0x9391f(0x256)]['top'],'width':_0x24ead5||_0x4c0322['rect'][_0x9391f(0x32b)]-_0x4c0322[_0x9391f(0x256)][_0x9391f(0x1b5)],'x':_0x4c0322[_0x9391f(0x256)][_0x9391f(0x1b5)],'y':_0x4c0322[_0x9391f(0x256)]['top']},'viewport':_0x2499d7,'zoom':this[_0x9391f(0x335)]()}};}[_0x588cc3(0x372)](_0x3c23f6,_0x53e478){const _0x46b126=_0x588cc3;var _0x22e01f;return(_0x22e01f=this[_0x46b126(0x180)]()[_0x46b126(0x281)](_0x191cf4=>_0x191cf4[_0x46b126(0x2f3)]===_0x3c23f6&&_0x191cf4['tableId']===_0x53e478))==null?null:_0x22e01f;}[_0x588cc3(0x180)](){const _0xe181f2=_0x588cc3;var _0x536d3d;let _0x28283c=this[_0xe181f2(0x240)][_0xe181f2(0x3cc)]()[_0xe181f2(0x2c1)](),_0x2dd470=(_0x536d3d=_0x28283c==null?void 0x0:_0x28283c[_0xe181f2(0x111)])==null?[]:_0x536d3d,_0x1ae6ce=wa(this[_0xe181f2(0x1d0)][_0xe181f2(0x285)]);return _0x3bbb86(_0x2dd470,{'docsLeft':_0x1ae6ce['docsLeft'],'docsTop':_0x1ae6ce[_0xe181f2(0xb1)],'pageMarginTop':_0x1ae6ce[_0xe181f2(0xcd)],'resolveViewport':!0x1,'unitId':this[_0xe181f2(0x1d0)][_0xe181f2(0x8f)]})['map'](_0x1b7d02=>({'page':_0x1b7d02[_0xe181f2(0x1e2)],'pageIndex':_0x1b7d02[_0xe181f2(0x2f3)],'rect':_0x1b7d02[_0xe181f2(0x395)],'table':_0x1b7d02[_0xe181f2(0x95)],'tableId':_0x1b7d02[_0xe181f2(0xe3)]}));}[_0x588cc3(0x229)](_0x2b4076){const _0x5fec9b=_0x588cc3;return{..._0x2b4076,'input':{..._0x2b4076[_0x5fec9b(0x1d9)],'viewport':this[_0x5fec9b(0x38b)](this[_0x5fec9b(0x1d0)][_0x5fec9b(0x8f)],_0x2b4076[_0x5fec9b(0x186)]),'zoom':this['_getCurrentZoom']()}};}[_0x588cc3(0x38b)](_0x2059e6,_0xe33c24){const _0x95b947=_0x588cc3;var _0x3b8fec;let _0x407c1a=this[_0x95b947(0x108)]['getState'](_0x2059e6,_0xe33c24);return _0x2059e6===this[_0x95b947(0x1d0)][_0x95b947(0x8f)]?(_0x3b8fec=this[_0x95b947(0x1b8)](_0xe33c24))==null?_0x407c1a:_0x3b8fec:_0x407c1a;}['_syncViewportStatesFromSkeleton'](){const _0x26bf16=_0x588cc3;let _0xecba8d=!0x1;for(let _0x9b2a54 of this[_0x26bf16(0x180)]()){let _0x5acab9=_0x4c369e(_0x9b2a54[_0x26bf16(0xe3)])[_0x26bf16(0xe3)],_0xd8d3f8=Y(Sa(_0x9b2a54['table'])),_0x4fa4fd=this['_viewportService']['getState'](this[_0x26bf16(0x1d0)]['unitId'],_0x5acab9),_0x49414d=this[_0x26bf16(0x275)]({'pageIndex':_0x9b2a54['pageIndex'],'rect':_0x9b2a54[_0x26bf16(0x256)],'tableId':_0x9b2a54[_0x26bf16(0xe3)]},_0x5acab9,_0x9b2a54[_0x26bf16(0x1e2)],_0x9b2a54[_0x26bf16(0x95)],_0xd8d3f8);_0xecba8d=_0xecba8d||Fa(_0x4fa4fd,_0x49414d);}return _0xecba8d;}[_0x588cc3(0x1b8)](_0x522ad7){const _0x2a062d=_0x588cc3;let _0x2634bd=this['_findTableSliceForSource'](_0x522ad7);if(!_0x2634bd)return;let _0x3a5ddb=this[_0x2a062d(0x372)](_0x2634bd[_0x2a062d(0x2f3)],_0x2634bd[_0x2a062d(0xe3)]);if(_0x3a5ddb)return this[_0x2a062d(0x275)](_0x2634bd,_0x522ad7,_0x3a5ddb[_0x2a062d(0x1e2)],_0x3a5ddb['table'],Y(Sa(_0x3a5ddb[_0x2a062d(0x95)])));}[_0x588cc3(0x275)](_0x68bec,_0x4cdbaa,_0x1dad3e,_0x2c90c0,_0x18a4b1){const _0x1afbf3=_0x588cc3;return this[_0x1afbf3(0x108)][_0x1afbf3(0x273)](this['_context']['unitId'],_0x4cdbaa,this[_0x1afbf3(0x20f)](_0x68bec,_0x1dad3e,_0x2c90c0,_0x18a4b1,this[_0x1afbf3(0x335)]()));}[_0x588cc3(0x1aa)](_0x35caf2){const _0x4abf55=_0x588cc3;this['_activeTableRefreshTimer']!=null&&clearTimeout(this[_0x4abf55(0x21d)]),this['_refreshActiveTableFromSkeleton'](_0x35caf2),this[_0x4abf55(0x21d)]=setTimeout(()=>{this['_activeTableRefreshTimer']=null,this['_refreshActiveTableFromSkeleton'](_0x35caf2);},0x20);}['_refreshActiveTableForLayoutChange'](){const _0x339188=_0x588cc3;let _0x2f145c=this['_activeTable'];if(_0x2f145c){if(this[_0x339188(0x16e)]){let _0x359e97=this[_0x339188(0x24f)](this[_0x339188(0x16e)]['x'],this[_0x339188(0x16e)]['y']);if(_0x359e97){this['_activeTable']=_0x359e97,this[_0x339188(0x248)]();return;}}this[_0x339188(0xd4)](_0x2f145c[_0x339188(0x186)]);}}[_0x588cc3(0xd4)](_0x583194){const _0x37525d=_0x588cc3;let _0x42f0f0=this['_findTableSliceForSource'](_0x583194);if(!_0x42f0f0){var _0x13b4b0;((_0x13b4b0=this['_activeTable'])==null?void 0x0:_0x13b4b0[_0x37525d(0x186)])===_0x583194&&(this[_0x37525d(0x27c)]=null,this[_0x37525d(0x248)]());return;}this[_0x37525d(0x27c)]=this[_0x37525d(0x31f)](_0x42f0f0),this[_0x37525d(0x248)]();}[_0x588cc3(0x359)](_0x2e3514){const _0x311dcc=_0x588cc3;var _0x361789,_0x172091,_0x19cfa6;let _0x545c1c=[];for(let _0x3172a2 of this[_0x311dcc(0x180)]())_0x4c369e(_0x3172a2[_0x311dcc(0xe3)])[_0x311dcc(0xe3)]===_0x2e3514&&_0x545c1c[_0x311dcc(0xba)]({'pageIndex':_0x3172a2[_0x311dcc(0x2f3)],'rect':_0x3172a2['rect'],'tableId':_0x3172a2['tableId']});return(_0x361789=(_0x172091=(_0x19cfa6=_0x545c1c[_0x311dcc(0x281)](_0x250aa6=>{const _0x156387=_0x311dcc;var _0x35da9e;return _0x250aa6[_0x156387(0xe3)]===((_0x35da9e=this['_activeTable'])==null?void 0x0:_0x35da9e['tableSliceId']);}))==null?this[_0x311dcc(0x16e)]?_0x545c1c[_0x311dcc(0x281)](_0x3e245b=>this[_0x311dcc(0xfc)](_0x3e245b,this[_0x311dcc(0x16e)]['x'],this['_lastPointerPoint']['y'])):null:_0x19cfa6)==null?_0x545c1c[0x0]:_0x172091)==null?null:_0x361789;}['_isSourceTableSplitAcrossPages'](_0x13dafa){const _0x3324d2=_0x588cc3;let _0x3b4564=0x0;for(let _0x2cb1c4 of this[_0x3324d2(0x180)]())if(_0x4c369e(_0x2cb1c4[_0x3324d2(0xe3)])[_0x3324d2(0xe3)]===_0x13dafa&&(_0x3b4564++,_0x3b4564>0x1))return!0x0;return!0x1;}[_0x588cc3(0xfc)](_0x53465f,_0x4e4de8,_0x2b45a7){const _0x86a9d1=_0x588cc3;let _0x1edb4a=this[_0x86a9d1(0x372)](_0x53465f[_0x86a9d1(0x2f3)],_0x53465f[_0x86a9d1(0xe3)]);if(!_0x1edb4a)return!0x1;let _0x17bc3a=this[_0x86a9d1(0x335)](),_0x11f441=Sa(_0x1edb4a['table'])['reduce']((_0x366924,_0x4899c7)=>_0x366924+_0x4899c7,0x0),_0x578917=this[_0x86a9d1(0x20f)](_0x53465f,_0x1edb4a[_0x86a9d1(0x1e2)],_0x1edb4a[_0x86a9d1(0x95)],_0x11f441,_0x17bc3a),_0x4c841d={'bottom':_0x53465f[_0x86a9d1(0x256)][_0x86a9d1(0x304)],'left':_0x578917[_0x86a9d1(0x236)]-0x10/_0x17bc3a,'right':_0x578917[_0x86a9d1(0x236)]+_0x578917[_0x86a9d1(0xf8)],'top':_0x53465f['rect'][_0x86a9d1(0x120)]-0x10/_0x17bc3a};return _0x4e4de8>=_0x4c841d[_0x86a9d1(0x1b5)]&&_0x4e4de8<=_0x4c841d[_0x86a9d1(0x32b)]&&_0x2b45a7>=_0x4c841d[_0x86a9d1(0x120)]&&_0x2b45a7<=_0x4c841d[_0x86a9d1(0x304)];}['_buildActiveTableAtPoint'](_0x490060,_0x3de151){const _0x510afe=_0x588cc3;for(let _0x197251 of this[_0x510afe(0x180)]())if(this[_0x510afe(0xfc)]({'pageIndex':_0x197251['pageIndex'],'rect':_0x197251[_0x510afe(0x256)],'tableId':_0x197251[_0x510afe(0xe3)]},_0x490060,_0x3de151))return this[_0x510afe(0x31f)]({'pageIndex':_0x197251[_0x510afe(0x2f3)],'rect':_0x197251[_0x510afe(0x256)],'tableId':_0x197251[_0x510afe(0xe3)]});return null;}[_0x588cc3(0x3b7)](_0x1cfea6,_0x188dec){return null;}['_hitTest'](_0x452432,_0x3a5383){const _0x11bf0b=_0x588cc3;return this[_0x11bf0b(0x27c)]?hi(Zr(this[_0x11bf0b(0x337)]()),_0x452432,_0x3a5383):null;}[_0x588cc3(0x3ae)](_0x35a511,_0x2ecd0a){const _0x55f251=_0x588cc3;var _0x240e66;if(!this[_0x55f251(0x27c)])return null;let _0xedd52=Zr(this[_0x55f251(0x337)]()),_0x548c0f=hi(_0xedd52,_0x35a511,_0x2ecd0a);return(_0x548c0f==null?void 0x0:_0x548c0f[_0x55f251(0x389)])==='resize-column'||(_0x548c0f==null?void 0x0:_0x548c0f[_0x55f251(0x389)])==='resize-row'||(_0x240e66=gi(_0xedd52,_0x35a511,_0x2ecd0a))==null?_0x548c0f:_0x240e66;}['_hitScrollbar'](_0x389724,_0x1ea27e){const _0x13d02c=_0x588cc3;let _0x2e18f5=this[_0x13d02c(0x137)]();return _0x2e18f5?Wr(_0x2e18f5,_0x389724,_0x1ea27e):null;}[_0x588cc3(0x137)](){const _0x23451b=_0x588cc3;return this[_0x23451b(0x218)](this[_0x23451b(0x243)]());}[_0x588cc3(0x218)](_0x49e344){const _0x3bc92b=_0x588cc3;if(!this['_activeTable'])return null;let _0x5818b7=this[_0x3bc92b(0x108)][_0x3bc92b(0x261)](this[_0x3bc92b(0x1d0)][_0x3bc92b(0x8f)],this['_activeTable']['sourceTableId']);return _0x5818b7?Ur({'appearance':_0x49e344,'contentWidth':_0x5818b7['contentWidth'],'leadingInsetLeft':_0x5818b7[_0x3bc92b(0x17c)],'overflowWidthThreshold':_0x5818b7[_0x3bc92b(0x28d)],'scrollLeft':_0x5818b7[_0x3bc92b(0x22b)],'tableRect':J(this[_0x3bc92b(0x27c)][_0x3bc92b(0x1d9)]),'trailingInsetRight':_0x5818b7['trailingInsetRight'],'viewportLeft':_0x5818b7['viewportLeft'],'viewportWidth':_0x5818b7[_0x3bc92b(0xf8)],'zoom':this[_0x3bc92b(0x335)]()}):null;}['_getScrollbarAppearance'](){const _0x24dcc8=_0x588cc3;if(this[_0x24dcc8(0x1b9)])return _0x24dcc8(0x2f9);if(!this[_0x24dcc8(0x16e)])return _0x24dcc8(0x3a1);let _0x4a7376=this[_0x24dcc8(0x218)]('idle');return _0x4a7376&&Wr(_0x4a7376,this['_lastPointerPoint']['x'],this[_0x24dcc8(0x16e)]['y'])?_0x24dcc8(0x344):_0x24dcc8(0x3a1);}[_0x588cc3(0x1d1)](_0x28acb2,_0x38961e){const _0x5ec5ad=_0x588cc3;if(!this[_0x5ec5ad(0x27c)])return;let _0x2857fd=this['_getScrollbarGeometry']();if(!_0x2857fd)return;let _0x44bcaf=this['_activeTable']['sourceTableId'],_0x46027f=this[_0x5ec5ad(0x108)][_0x5ec5ad(0x261)](this[_0x5ec5ad(0x1d0)][_0x5ec5ad(0x8f)],_0x44bcaf);if(!_0x46027f)return;if(_0x28acb2===_0x5ec5ad(0x117)){this['_scrollbarDragState']={'startScrollLeft':_0x46027f['scrollLeft'],'startX':_0x38961e,'tableId':_0x44bcaf,'thumbTravel':Math[_0x5ec5ad(0x104)](0x0,_0x2857fd[_0x5ec5ad(0xa8)][_0x5ec5ad(0x185)]-_0x2857fd[_0x5ec5ad(0x117)][_0x5ec5ad(0x185)])},this['_setTableCursor'](_0x5fc0b8[_0x5ec5ad(0x3d0)]),this[_0x5ec5ad(0x248)]();return;}let _0x35b309=_0x38961e<_0x2857fd['thumb']['x']?-0x1:0x1,_0x2f55fa=_0x46027f[_0x5ec5ad(0x22b)],_0x1ea6c6=this[_0x5ec5ad(0x108)][_0x5ec5ad(0x349)](this[_0x5ec5ad(0x1d0)][_0x5ec5ad(0x8f)],_0x44bcaf,_0x46027f[_0x5ec5ad(0x22b)]+_0x35b309*_0x46027f['viewportWidth']);this['_activeTable']=this['_refreshActiveTableViewport'](this[_0x5ec5ad(0x27c)]),_0x1ea6c6!==_0x2f55fa&&(this[_0x5ec5ad(0xea)](),this[_0x5ec5ad(0x248)]());}[_0x588cc3(0x177)](_0x96631a){const _0x20b952=_0x588cc3;var _0x57a47e,_0x15f257,_0x5101f7,_0x4fa1e3,_0x215b2c;let _0x499a64=this[_0x20b952(0x1b9)];if(!_0x499a64)return;let _0xc82be0=(_0x57a47e=(_0x15f257=this[_0x20b952(0x108)]['getState'](this[_0x20b952(0x1d0)][_0x20b952(0x8f)],_0x499a64[_0x20b952(0xe3)]))==null?void 0x0:_0x15f257['scrollLeft'])==null?0x0:_0x57a47e;this[_0x20b952(0x108)][_0x20b952(0x349)](this[_0x20b952(0x1d0)]['unitId'],_0x499a64['tableId'],_0x499a64[_0x20b952(0x35f)]),this[_0x20b952(0x108)][_0x20b952(0x3bb)](this['_context'][_0x20b952(0x8f)],_0x499a64['tableId'],_0x96631a-_0x499a64[_0x20b952(0xa6)],_0x499a64[_0x20b952(0xb3)]),((_0x5101f7=this[_0x20b952(0x27c)])==null?void 0x0:_0x5101f7['sourceTableId'])===_0x499a64[_0x20b952(0xe3)]&&(this[_0x20b952(0x27c)]=this[_0x20b952(0x229)](this[_0x20b952(0x27c)])),((_0x4fa1e3=(_0x215b2c=this[_0x20b952(0x108)][_0x20b952(0x261)](this[_0x20b952(0x1d0)][_0x20b952(0x8f)],_0x499a64['tableId']))==null?void 0x0:_0x215b2c[_0x20b952(0x22b)])==null?0x0:_0x4fa1e3)!==_0xc82be0&&this['_refreshNativeSelection']();}['_updateSelectionDrag'](_0x631b0){const _0x358686=_0x588cc3;let _0x18845e=this['_selectionDragState'];if(!_0x18845e||!_0x18845e[_0x358686(0x338)]&&Math[_0x358686(0x227)](_0x631b0['x']-_0x18845e[_0x358686(0xa6)],_0x631b0['y']-_0x18845e['startY'])<0x4)return!0x1;let _0x52846a=this[_0x358686(0x101)](_0x631b0['x'],_0x631b0['y']);if(!_0x52846a||_0x52846a[_0x358686(0xe3)]!==_0x18845e[_0x358686(0xe3)]||!_0x18845e['structural']&&_0x52846a[_0x358686(0x2c6)]===_0x18845e[_0x358686(0x1e0)]&&_0x52846a['column']===_0x18845e[_0x358686(0x327)])return!0x1;let _0x3c5757=Math[_0x358686(0x23e)](_0x18845e[_0x358686(0x1e0)],_0x52846a[_0x358686(0x2c6)]),_0x3e5a54=Math[_0x358686(0x104)](_0x18845e[_0x358686(0x1e0)],_0x52846a[_0x358686(0x2c6)]),_0x3b4fd7=Math[_0x358686(0x23e)](_0x18845e[_0x358686(0x327)],_0x52846a['column']),_0xda27f9=Math[_0x358686(0x104)](_0x18845e['anchorColumn'],_0x52846a[_0x358686(0x200)]);return _0x18845e['structural']=!0x0,this[_0x358686(0x13a)][_0x358686(0x1c7)](!0x0),this['_selectionService']['setStructuralSelection']({'kind':_0x3c5757===_0x3e5a54&&_0x3b4fd7===_0xda27f9?_0x4e9e70[_0x358686(0x204)]:_0x4e9e70['Range'],'tableId':_0x18845e[_0x358686(0xe3)],'startRow':_0x3c5757,'endRow':_0x3e5a54,'startColumn':_0x3b4fd7,'endColumn':_0xda27f9},{'clearNativeSelection':!0x0,'preserveOnTextSelection':!0x0}),this['_makeDirty'](),!0x0;}[_0x588cc3(0x318)](_0x108f14){const _0x933dc9=_0x588cc3;let _0xac8f92=this[_0x933dc9(0x1c0)];if(!_0xac8f92)return!0x1;if(!this[_0x933dc9(0x27c)]||this[_0x933dc9(0x27c)][_0x933dc9(0x186)]!==_0xac8f92[_0x933dc9(0xe3)]){var _0x391245;this[_0x933dc9(0x27c)]=(_0x391245=this[_0x933dc9(0x24f)](_0x108f14['x'],_0x108f14['y']))==null?this[_0x933dc9(0x27c)]:_0x391245;}if(!this['_activeTable']||this[_0x933dc9(0x27c)][_0x933dc9(0x186)]!==_0xac8f92[_0x933dc9(0xe3)])return!0x1;let _0x4258b4=J(this[_0x933dc9(0x27c)][_0x933dc9(0x1d9)]);return _0x108f14['y']<_0x4258b4['y']||_0x108f14['y']>_0x4258b4['y']+_0x4258b4[_0x933dc9(0x1ad)]||!this['_viewportService'][_0x933dc9(0x375)](this[_0x933dc9(0x1d0)][_0x933dc9(0x8f)],_0xac8f92[_0x933dc9(0xe3)],_0x108f14['x']-_0x4258b4['x'],0x20/this[_0x933dc9(0x335)](),0x18/this['_getCurrentZoom']())?!0x1:(this[_0x933dc9(0x27c)]=this[_0x933dc9(0x229)](this[_0x933dc9(0x27c)]),this[_0x933dc9(0xea)](),this['_makeDirty'](),this[_0x933dc9(0x105)](),!0x0);}[_0x588cc3(0x105)](){const _0x5919bf=_0x588cc3;this[_0x5919bf(0xfd)]==null&&(this[_0x5919bf(0xfd)]=setTimeout(()=>{const _0x301674=_0x5919bf;this[_0x301674(0xfd)]=null,!(!this[_0x301674(0x1c0)]||!this[_0x301674(0x16e)])&&this[_0x301674(0x318)](this['_lastPointerPoint']);},0x10));}[_0x588cc3(0x319)](){const _0x270d79=_0x588cc3;this[_0x270d79(0xfd)]!=null&&(clearTimeout(this['_selectionAutoScrollTimer']),this['_selectionAutoScrollTimer']=null);}['_refreshNativeSelection'](){const _0x56fd2b=_0x588cc3;this[_0x56fd2b(0x194)][_0x56fd2b(0x361)]();}[_0x588cc3(0x193)](){const _0xc497dc=_0x588cc3;var _0x2fe9a0,_0x5488c3;let _0x4629e2=this['_selection'];if(!(_0x4629e2!=null&&_0x4629e2[_0xc497dc(0xe3)])||!za(_0x4629e2)){var _0x59bb4e,_0x10b9cc;(_0x59bb4e=this[_0xc497dc(0x1df)])==null||(_0x10b9cc=_0x59bb4e[_0xc497dc(0x127)])==null||_0x10b9cc[_0xc497dc(0x36f)](_0x59bb4e),this['_hideFloatingMenuPopup']();return;}let _0x31de5b=Ba(_0x4629e2)?this[_0xc497dc(0x2d8)](_0x4629e2):this[_0xc497dc(0x37d)](_0x4629e2),_0x1a2d8f=this[_0xc497dc(0x37d)](_0x4629e2);if(!_0x31de5b||!_0x1a2d8f){var _0x58672d,_0x44674a;(_0x58672d=this[_0xc497dc(0x1df)])==null||(_0x44674a=_0x58672d[_0xc497dc(0x127)])==null||_0x44674a['call'](_0x58672d),this[_0xc497dc(0x3b6)]();return;}let _0x80a672=_0x4629e2[_0xc497dc(0x389)]===_0x4e9e70[_0xc497dc(0x3da)]?'row':_0x4629e2[_0xc497dc(0x389)]===_0x4e9e70[_0xc497dc(0x226)]?_0xc497dc(0x200):null,_0x320334=this[_0xc497dc(0x1cb)](_0x4629e2),_0x3456a8=this['_resolveFloatingMenuVerticalAlign'](_0x4629e2);(_0x2fe9a0=this[_0xc497dc(0x1df)])==null||(_0x5488c3=_0x2fe9a0[_0xc497dc(0x1cf)])==null||_0x5488c3['call'](_0x2fe9a0,{'anchorRect':_0x31de5b,'selection':{'endColumn':_0x4629e2['endColumn'],'endRow':_0x4629e2['endRow'],'startColumn':_0x4629e2[_0xc497dc(0x203)],'startRow':_0x4629e2[_0xc497dc(0x170)],'tableId':_0x4629e2['tableId']},'mergeAction':this[_0xc497dc(0x266)](_0x4629e2),'selectionKind':_0x4629e2[_0xc497dc(0x389)],'selectionRect':_0x1a2d8f,'showDeleteAction':_0x80a672!=null,'tableId':_0x4629e2['tableId'],'topLeftCell':{'column':Math[_0xc497dc(0x23e)](_0x4629e2['startColumn'],_0x4629e2[_0xc497dc(0x336)]),'row':Math[_0xc497dc(0x23e)](_0x4629e2[_0xc497dc(0x170)],_0x4629e2['endRow'])},'verticalAlign':_0x3456a8,'typeIcon':_0x320334[_0xc497dc(0x3ba)],'typeValue':_0x320334[_0xc497dc(0x217)],'visible':!0x0,'deleteTarget':_0x80a672}),this['_ensureFloatingMenuPopup'](_0x31de5b);}[_0x588cc3(0x1cc)](){const _0x40ba55=_0x588cc3;var _0x51bc00,_0x207aa0;let _0x296adf=this['_activeTable'];if(!_0x296adf)return;let _0x5ce39e=J(_0x296adf[_0x40ba55(0x1d9)]);(_0x51bc00=this[_0x40ba55(0x2c9)])==null||(_0x207aa0=_0x51bc00[_0x40ba55(0xb0)])==null||_0x207aa0['call'](_0x51bc00,{'pageIndex':_0x296adf[_0x40ba55(0x2f3)],'rect':{'bottom':_0x5ce39e['y']+_0x5ce39e[_0x40ba55(0x1ad)],'left':_0x5ce39e['x'],'right':_0x5ce39e['x']+_0x5ce39e[_0x40ba55(0x185)],'top':_0x5ce39e['y']},'tableId':_0x296adf[_0x40ba55(0x186)]});}[_0x588cc3(0x345)](_0x1fbb2d){const _0x427cb1=_0x588cc3;this['_isSameTrigger'](this[_0x427cb1(0x383)],_0x1fbb2d)||(this[_0x427cb1(0x383)]=_0x1fbb2d,this['_makeDirty']());}[_0x588cc3(0x1a0)](_0x31430b){const _0x479e62=_0x588cc3;var _0x4c866a,_0x50eacb,_0x39ca3a;((_0x4c866a=this[_0x479e62(0x2a8)])==null?void 0x0:_0x4c866a[_0x479e62(0x272)])===(_0x31430b==null?void 0x0:_0x31430b[_0x479e62(0x272)])&&((_0x50eacb=this[_0x479e62(0x2a8)])==null?void 0x0:_0x50eacb['x'])===(_0x31430b==null?void 0x0:_0x31430b['x'])&&((_0x39ca3a=this[_0x479e62(0x2a8)])==null?void 0x0:_0x39ca3a['y'])===(_0x31430b==null?void 0x0:_0x31430b['y'])||(this['_tooltip']=_0x31430b,this['_makeDirty']());}[_0x588cc3(0x215)](){const _0xb863d9=_0x588cc3;return this['_shouldKeepActiveTableForFloatingMenu']()?!0x0:!this[_0xb863d9(0x27c)]||!this[_0xb863d9(0x16e)]?!0x1:this[_0xb863d9(0x139)](this[_0xb863d9(0x16e)]['x'],this[_0xb863d9(0x16e)]['y']);}[_0x588cc3(0x247)](_0x3cb373,_0xa22e7c){const _0x3af006=_0x588cc3;return this[_0x3af006(0x139)](_0x3cb373,_0xa22e7c);}[_0x588cc3(0x139)](_0x9f9d91,_0x25eaa5){const _0x4af6d8=_0x588cc3;var _0x5858cc,_0x20c69d;if(!this[_0x4af6d8(0x27c)])return!0x1;let _0x738be8=this[_0x4af6d8(0x27c)][_0x4af6d8(0x1d9)],_0x12a94e=((_0x5858cc=this[_0x4af6d8(0x1d0)])==null||(_0x5858cc=_0x5858cc[_0x4af6d8(0x2e8)])==null||(_0x20c69d=_0x5858cc[_0x4af6d8(0x168)])==null?void 0x0:_0x20c69d[_0x4af6d8(0x36f)](_0x5858cc)[_0x4af6d8(0x96)])||_0x738be8[_0x4af6d8(0x37a)]||0x1,_0x38767d=J(_0x738be8);return X({'x':Aa(_0x738be8)-0x10/_0x12a94e,'y':_0x38767d['y']-0x10/_0x12a94e,'width':_0x38767d[_0x4af6d8(0x185)]+0x10/_0x12a94e,'height':_0x38767d[_0x4af6d8(0x1ad)]+0x10/_0x12a94e},_0x9f9d91,_0x25eaa5);}[_0x588cc3(0x13d)](){const _0x10ea61=_0x588cc3;let _0x242fb0=this[_0x10ea61(0x36a)];return!!this[_0x10ea61(0x27c)]&&!!(_0x242fb0!=null&&_0x242fb0[_0x10ea61(0xe3)])&&_0x242fb0[_0x10ea61(0xe3)]===this[_0x10ea61(0x27c)]['sourceTableId']&&(_0x242fb0[_0x10ea61(0x389)]===_0x4e9e70[_0x10ea61(0x3da)]||_0x242fb0[_0x10ea61(0x389)]===_0x4e9e70['Column']||_0x242fb0[_0x10ea61(0x389)]===_0x4e9e70[_0x10ea61(0x391)]||za(_0x242fb0));}[_0x588cc3(0x241)](){const _0x5dbf92=_0x588cc3;var _0x5263aa,_0x491fa6;if(!this[_0x5dbf92(0x27c)])return!0x1;let _0xeac1d0=(_0x5263aa=this[_0x5dbf92(0x1df)])==null||(_0x491fa6=_0x5263aa['getState'])==null?void 0x0:_0x491fa6['call'](_0x5263aa);return(!!(_0xeac1d0!=null&&_0xeac1d0['visible'])||!!(_0xeac1d0!=null&&_0xeac1d0[_0x5dbf92(0x1ac)]))&&!!_0xeac1d0['tableId']&&_0xeac1d0[_0x5dbf92(0xe3)]===this[_0x5dbf92(0x27c)][_0x5dbf92(0x186)];}[_0x588cc3(0x1fa)](){return this['_shouldKeepActiveTableForSelection']()||this['_shouldKeepActiveTableForControls']();}['_isSameTrigger'](_0x3d78b8,_0x236272){const _0x3a47fc=_0x588cc3;return(_0x3d78b8==null?void 0x0:_0x3d78b8[_0x3a47fc(0x389)])===(_0x236272==null?void 0x0:_0x236272[_0x3a47fc(0x389)])&&(_0x3d78b8==null?void 0x0:_0x3d78b8[_0x3a47fc(0xe3)])===(_0x236272==null?void 0x0:_0x236272[_0x3a47fc(0xe3)])&&(_0x3d78b8==null?void 0x0:_0x3d78b8[_0x3a47fc(0x2c6)])===(_0x236272==null?void 0x0:_0x236272[_0x3a47fc(0x2c6)])&&(_0x3d78b8==null?void 0x0:_0x3d78b8['column'])===(_0x236272==null?void 0x0:_0x236272[_0x3a47fc(0x200)]);}[_0x588cc3(0x9d)](_0x276156){const _0x286505=_0x588cc3;var _0x363705,_0x16caf9;if(!this['_activeTable'])return null;let {input:_0x38ea24}=this[_0x286505(0x27c)];if(_0x276156[_0x286505(0x389)]===_0x286505(0x1b3)){var _0x2e458b,_0x536652;let _0xeeab33=(_0x2e458b=(_0x536652=_0x38ea24['columnIndices'])==null?void 0x0:_0x536652['findIndex'](_0x58c30f=>_0x58c30f===_0x276156[_0x286505(0x200)]))==null?_0x276156[_0x286505(0x200)]:_0x2e458b;return _0xeeab33==null?null:_0x38ea24[_0x286505(0x225)][_0xeeab33];}let _0x5b2253=(_0x363705=(_0x16caf9=_0x38ea24[_0x286505(0x9e)])==null?void 0x0:_0x16caf9[_0x286505(0x34c)](_0x13ac98=>_0x13ac98===_0x276156[_0x286505(0x2c6)]))==null?_0x276156[_0x286505(0x2c6)]:_0x363705;return _0x5b2253==null?null:_0x38ea24['rowHeights'][_0x5b2253];}[_0x588cc3(0x322)](_0x6c62a){const _0x38558f=_0x588cc3;var _0x80afab,_0x1836c9,_0x1411b9,_0x1cc488,_0x1727af,_0x287c78,_0x2de690,_0x44d219;if(!this[_0x38558f(0x27c)])return;let {input:_0x3ff48d}=this['_activeTable'];this[_0x38558f(0x13a)][_0x38558f(0x1de)]({'kind':_0x4e9e70[_0x38558f(0x391)],'tableId':_0x6c62a,'startRow':(_0x80afab=(_0x1836c9=_0x3ff48d[_0x38558f(0x9e)])==null?void 0x0:_0x1836c9[0x0])==null?0x0:_0x80afab,'endRow':(_0x1411b9=(_0x1cc488=_0x3ff48d[_0x38558f(0x9e)])==null?void 0x0:_0x1cc488[_0x3ff48d[_0x38558f(0x9e)][_0x38558f(0x1c5)]-0x1])==null?_0x3ff48d[_0x38558f(0x3d4)]['length']-0x1:_0x1411b9,'startColumn':(_0x1727af=(_0x287c78=_0x3ff48d['columnIndices'])==null?void 0x0:_0x287c78[0x0])==null?0x0:_0x1727af,'endColumn':(_0x2de690=(_0x44d219=_0x3ff48d[_0x38558f(0xcb)])==null?void 0x0:_0x44d219[_0x3ff48d[_0x38558f(0xcb)][_0x38558f(0x1c5)]-0x1])==null?_0x3ff48d[_0x38558f(0x225)]['length']-0x1:_0x2de690});}['_selectRow'](_0x5a73be,_0x89aa6a){const _0x4f56c3=_0x588cc3;var _0x172a5a,_0xdaa4c,_0x1c257f,_0xa5b57d;if(!this['_activeTable'])return;let {input:_0x3941b5}=this[_0x4f56c3(0x27c)];this[_0x4f56c3(0x13a)][_0x4f56c3(0x1de)]({'kind':_0x4e9e70['Row'],'tableId':_0x5a73be,'startRow':_0x89aa6a,'endRow':_0x89aa6a,'startColumn':(_0x172a5a=(_0xdaa4c=_0x3941b5['columnIndices'])==null?void 0x0:_0xdaa4c[0x0])==null?0x0:_0x172a5a,'endColumn':(_0x1c257f=(_0xa5b57d=_0x3941b5[_0x4f56c3(0xcb)])==null?void 0x0:_0xa5b57d[_0x3941b5[_0x4f56c3(0xcb)][_0x4f56c3(0x1c5)]-0x1])==null?_0x3941b5[_0x4f56c3(0x225)]['length']-0x1:_0x1c257f});}['_selectColumn'](_0x5a1803,_0x286762){const _0x52f6a1=_0x588cc3;var _0x452865,_0x1727e8,_0x305dc8,_0x3aaa83;if(!this[_0x52f6a1(0x27c)])return;let {input:_0x2d9e3d}=this[_0x52f6a1(0x27c)];this[_0x52f6a1(0x13a)]['setStructuralSelection']({'kind':_0x4e9e70[_0x52f6a1(0x226)],'tableId':_0x5a1803,'startRow':(_0x452865=(_0x1727e8=_0x2d9e3d['rowIndices'])==null?void 0x0:_0x1727e8[0x0])==null?0x0:_0x452865,'endRow':(_0x305dc8=(_0x3aaa83=_0x2d9e3d[_0x52f6a1(0x9e)])==null?void 0x0:_0x3aaa83[_0x2d9e3d[_0x52f6a1(0x9e)][_0x52f6a1(0x1c5)]-0x1])==null?_0x2d9e3d[_0x52f6a1(0x3d4)]['length']-0x1:_0x305dc8,'startColumn':_0x286762,'endColumn':_0x286762});}[_0x588cc3(0x3be)](_0x10d4ff){const _0x54709f=_0x588cc3;this[_0x54709f(0x262)](_0x10d4ff[_0x54709f(0x389)]==='resize-column'?'ew-resize':_0x54709f(0x33c));}[_0x588cc3(0x337)](){const _0x3ff3d9=_0x588cc3;var _0x31cc4d,_0x18b9a7,_0x18438d;return{...this[_0x3ff3d9(0x151)](),'hoverCell':(_0x31cc4d=this[_0x3ff3d9(0x284)])==null?null:_0x31cc4d,'hoverColumn':(_0x18b9a7=this['_hoverColumn'])==null?null:_0x18b9a7,'hoverRow':(_0x18438d=this[_0x3ff3d9(0x128)])==null?null:_0x18438d,'zoom':this[_0x3ff3d9(0x335)]()};}[_0x588cc3(0x151)](){const _0x1a7b7c=_0x588cc3;return{...this['_activeTable'][_0x1a7b7c(0x1d9)],'zoom':this[_0x1a7b7c(0x335)]()};}[_0x588cc3(0x335)](){const _0x46d284=_0x588cc3;return this[_0x46d284(0x1d0)][_0x46d284(0x2e8)][_0x46d284(0x168)]()[_0x46d284(0x96)]||0x1;}[_0x588cc3(0x262)](_0x3ef561){const _0x51a0b6=_0x588cc3;this[_0x51a0b6(0x1fc)]==null&&(this[_0x51a0b6(0x1fc)]=this[_0x51a0b6(0x1d0)][_0x51a0b6(0x2e8)]['getCursor']()),this[_0x51a0b6(0x1d0)][_0x51a0b6(0x2e8)]['setCursor'](_0x3ef561);}[_0x588cc3(0x246)](){const _0x9a6f19=_0x588cc3;this[_0x9a6f19(0x1fc)]!=null&&(this[_0x9a6f19(0x1d0)][_0x9a6f19(0x2e8)][_0x9a6f19(0x377)](this[_0x9a6f19(0x1fc)]),this[_0x9a6f19(0x1fc)]=null);}[_0x588cc3(0x1b6)](){const _0x5b044d=_0x588cc3;this[_0x5b044d(0x1fc)]=null,this[_0x5b044d(0x1d0)]['scene'][_0x5b044d(0x1b7)]();}[_0x588cc3(0x1d7)](_0x15bddd,_0x53a12c){const _0x34100f=_0x588cc3;return this[_0x34100f(0x27c)]?yi(Zr(this[_0x34100f(0x337)]()),_0x15bddd,_0x53a12c)||this[_0x34100f(0x2cc)](_0x15bddd,_0x53a12c)||this[_0x34100f(0x182)]&&X(Ha(this[_0x34100f(0x182)]),_0x15bddd,_0x53a12c)?!0x0:this[_0x34100f(0x290)]!=null&&X(Ua(this[_0x34100f(0x290)]),_0x15bddd,_0x53a12c):!0x1;}['_isPointWithinFloatingMenuHoverBridge'](_0x3b5a77,_0x470b9c){const _0xc015e0=_0x588cc3;var _0x2408dc,_0x5b1cdb;if(!this['_activeTable'])return!0x1;let _0x2bd538=(_0x2408dc=this[_0xc015e0(0x1df)])==null||(_0x5b1cdb=_0x2408dc[_0xc015e0(0x261)])==null?void 0x0:_0x5b1cdb[_0xc015e0(0x36f)](_0x2408dc);if(!(_0x2bd538!=null&&_0x2bd538[_0xc015e0(0x37f)])||!_0x2bd538[_0xc015e0(0x21f)]||_0x2bd538[_0xc015e0(0xe3)]!==this['_activeTable']['sourceTableId'])return!0x1;let _0x2c7e96=this[_0xc015e0(0x335)](),_0x197753=0x10/_0x2c7e96,_0x312d4f=J(this[_0xc015e0(0x27c)][_0xc015e0(0x1d9)]),_0xadc1b5=Aa(this['_activeTable'][_0xc015e0(0x1d9)]),_0xc9bd93=ja(this[_0xc015e0(0x27c)][_0xc015e0(0x1d9)]),_0x3017d0=Math[_0xc015e0(0x23e)](_0x2bd538['anchorRect']['left'],_0xadc1b5)-_0x197753,_0xd8a2b6=Math[_0xc015e0(0x104)](_0x2bd538[_0xc015e0(0x21f)][_0xc015e0(0x32b)],_0xc9bd93)+_0x197753,_0x5d99d0=Math[_0xc015e0(0x23e)](_0x2bd538[_0xc015e0(0x21f)]['top'],_0x312d4f['y']-0x10/_0x2c7e96)-_0x197753,_0x4327ed=_0x312d4f['y'];return _0x3b5a77>=_0x3017d0&&_0x3b5a77<=_0xd8a2b6&&_0x470b9c>=_0x5d99d0&&_0x470b9c<=_0x4327ed;}[_0x588cc3(0x14e)](_0x493aa7,_0x3067ec){const _0x4054d2=_0x588cc3;return Tr(Array['from'](this[_0x4054d2(0xd1)]['paragraphBounds'][_0x4054d2(0x238)]())[_0x4054d2(0x1ce)](_0x5b4976=>{const _0x27c7ff=_0x4054d2;var _0x32a32c;return((_0x32a32c=_0x5b4976['rects'])!=null&&_0x32a32c[_0x27c7ff(0x1c5)]?_0x5b4976['rects']:[_0x5b4976[_0x27c7ff(0x256)]])[_0x27c7ff(0x35e)](_0x1b0e38=>({'paragraphEnd':_0x5b4976[_0x27c7ff(0x22c)],'paragraphStart':_0x5b4976[_0x27c7ff(0x123)],'rect':_0x1b0e38}));}),{'x':_0x493aa7,'y':_0x3067ec});}[_0x588cc3(0x302)](_0x2ac4b3){const _0x5a4fdf=_0x588cc3;var _0x5cec60,_0x56c8da;if(!this[_0x5a4fdf(0x27c)])return;let _0x43ba29=Zr(this['_getTriggerInput']());_0x2ac4b3['save'](),this[_0x5a4fdf(0xce)](_0x2ac4b3);for(let _0xf53020 of _0x43ba29)li(_0xf53020[_0x5a4fdf(0x389)])?this[_0x5a4fdf(0x3a7)](_0x2ac4b3,_0xf53020):_0xf53020[_0x5a4fdf(0x389)]===_0x5a4fdf(0x357)||_0xf53020[_0x5a4fdf(0x389)]===_0x5a4fdf(0x1d5)?this[_0x5a4fdf(0x205)](_0x2ac4b3,_0xf53020):_0xf53020['kind']===_0x5a4fdf(0x163)&&this[_0x5a4fdf(0xa7)](_0x2ac4b3,_0xf53020);this[_0x5a4fdf(0x2bf)](_0x2ac4b3),this[_0x5a4fdf(0x260)](_0x2ac4b3),this['_drawSortPopover'](_0x2ac4b3),this[_0x5a4fdf(0xfe)](_0x2ac4b3);let _0xa112d9=(_0x5cec60=(_0x56c8da=this['_dragState'])==null?void 0x0:_0x56c8da[_0x5a4fdf(0x15d)])==null?this['_hoveredTrigger']:_0x5cec60;((_0xa112d9==null?void 0x0:_0xa112d9[_0x5a4fdf(0x389)])===_0x5a4fdf(0x1b3)||(_0xa112d9==null?void 0x0:_0xa112d9[_0x5a4fdf(0x389)])===_0x5a4fdf(0x2b9))&&this['_drawResizeGuide'](_0x2ac4b3,_0xa112d9,this[_0x5a4fdf(0x22e)]?0.9:0x0),this['_drawScrollbar'](_0x2ac4b3),_0x2ac4b3[_0x5a4fdf(0x133)]();}['_drawStructuralHeaderBands'](_0x2c0182){const _0x152aa3=_0x588cc3;var _0x56c4db;if(!this[_0x152aa3(0x27c)])return;let _0x721a36=this['_getTriggerInput'](),_0x391dc0=0xa/((_0x56c4db=_0x721a36[_0x152aa3(0x37a)])==null?0x1:_0x56c4db),_0x328406=J(_0x721a36),_0x7c9284=Aa(_0x721a36),_0x4a25d0=ja(_0x721a36),_0x47f662=q({'x':_0x7c9284,'y':_0x721a36[_0x152aa3(0x395)]['y']-_0x391dc0,'width':Math['max'](0x0,_0x4a25d0-_0x7c9284),'height':_0x391dc0},this[_0x152aa3(0x1d0)][_0x152aa3(0x2e8)]),_0x5ee3dc=q({'x':_0x7c9284-_0x391dc0,'y':_0x721a36[_0x152aa3(0x395)]['y'],'width':_0x391dc0,'height':_0x328406['height']},this['_context'][_0x152aa3(0x2e8)]);_0x2c0182[_0x152aa3(0x113)](),_0x2c0182[_0x152aa3(0x2a0)]=_0x152aa3(0x1f8),_0x2c0182['fillRect'](_0x47f662['x'],_0x47f662['y'],_0x47f662[_0x152aa3(0x185)],_0x47f662[_0x152aa3(0x1ad)]),_0x2c0182[_0x152aa3(0x386)](_0x5ee3dc['x'],_0x5ee3dc['y'],_0x5ee3dc['width'],_0x5ee3dc[_0x152aa3(0x1ad)]),_0x2c0182[_0x152aa3(0x133)]();}[_0x588cc3(0x205)](_0x5eb89d,_0xd6b769){const _0x5529d0=_0x588cc3;let _0x3ab950=q(_0xd6b769[_0x5529d0(0x256)],this[_0x5529d0(0x1d0)][_0x5529d0(0x2e8)]),_0x33342d=this[_0x5529d0(0x184)](this[_0x5529d0(0x383)],_0xd6b769),_0x23434d=this['_isStructuralHeaderSelected'](_0xd6b769),_0x5a00ec=this['_isStructuralHeaderDeleteDangerActive'](_0xd6b769);_0x5eb89d[_0x5529d0(0x113)](),_0x5eb89d[_0x5529d0(0x2a0)]=_0x5a00ec?_0x5529d0(0x12e):_0x23434d?_0x5529d0(0x18d):_0x33342d?'#d7dbe0':_0x5529d0(0x307),_0x5eb89d[_0x5529d0(0x386)](_0x3ab950['x'],_0x3ab950['y'],_0x3ab950[_0x5529d0(0x185)],_0x3ab950[_0x5529d0(0x1ad)]),_0x5eb89d[_0x5529d0(0x133)]();}[_0x588cc3(0x2bf)](_0x18b3a6){const _0xe584ac=_0x588cc3;if(!this[_0xe584ac(0x27c)]||!this[_0xe584ac(0x36a)]||this[_0xe584ac(0x36a)][_0xe584ac(0xe3)]!==this[_0xe584ac(0x27c)][_0xe584ac(0x186)]||!Jr(this[_0xe584ac(0x36a)],{'suppressOverlay':this[_0xe584ac(0x2ff)]()}))return;let _0x4e17dd=this['_getSelectionRect'](this[_0xe584ac(0x36a)]);if(!_0x4e17dd)return;let _0x3a4c5c=this[_0xe584ac(0x23d)](_0x4e17dd);if(!_0x3a4c5c)return;let _0x4438a0=q(_0x3a4c5c,this[_0xe584ac(0x1d0)][_0xe584ac(0x2e8)]);_0x18b3a6[_0xe584ac(0x113)](),_0x18b3a6[_0xe584ac(0x2a0)]=ha,_0x18b3a6[_0xe584ac(0x10e)]=0.12,_0x18b3a6[_0xe584ac(0x386)](_0x4438a0['x'],_0x4438a0['y'],_0x4438a0['width'],_0x4438a0[_0xe584ac(0x1ad)]),_0x18b3a6[_0xe584ac(0x10e)]=0x1,_0x18b3a6[_0xe584ac(0x2e6)]=ha,_0x18b3a6[_0xe584ac(0x2c0)]=0x2,_0x18b3a6[_0xe584ac(0x26b)](_0x4438a0['x'],_0x4438a0['y'],_0x4438a0[_0xe584ac(0x185)],_0x4438a0[_0xe584ac(0x1ad)]),_0x18b3a6['restore']();}[_0x588cc3(0x2ff)](){const _0x5102ab=_0x588cc3;return this[_0x5102ab(0x22e)]!=null||this['_moveDragState']!=null||this[_0x5102ab(0x25b)]!=null||this['_pendingHandleSelection']!=null;}['_drawMovePreview'](_0xaf7d8c){const _0x2f503f=_0x588cc3;if(this[_0x2f503f(0x1e9)]){let _0x565f0f=this[_0x2f503f(0x1e9)]['rect'],_0x301574=K(_0x565f0f['x'],_0x565f0f['y'],this[_0x2f503f(0x1d0)]['scene']),_0x59a62a=K(_0x565f0f['x']+_0x565f0f[_0x2f503f(0x185)],_0x565f0f['y']+_0x565f0f['height'],this[_0x2f503f(0x1d0)][_0x2f503f(0x2e8)]);_0xaf7d8c[_0x2f503f(0x113)](),_0xaf7d8c[_0x2f503f(0x2e6)]=ma,_0xaf7d8c[_0x2f503f(0x2c0)]=0x2,_0xaf7d8c[_0x2f503f(0x147)](),_0xaf7d8c[_0x2f503f(0x2d7)](_0x301574['x'],_0x301574['y']),_0xaf7d8c[_0x2f503f(0x1db)](_0x59a62a['x'],_0x59a62a['y']),_0xaf7d8c[_0x2f503f(0x12a)](),_0xaf7d8c['restore']();return;}if(this[_0x2f503f(0x20e)]){let _0x4668b4=K(this[_0x2f503f(0x20e)]['x'],this[_0x2f503f(0x20e)]['y'],this[_0x2f503f(0x1d0)]['scene']),_0xc96005=K(this['_moveDropTarget']['x']+this[_0x2f503f(0x20e)][_0x2f503f(0x185)],this[_0x2f503f(0x20e)]['y'],this[_0x2f503f(0x1d0)][_0x2f503f(0x2e8)]);_0xaf7d8c[_0x2f503f(0x113)](),_0xaf7d8c[_0x2f503f(0x2e6)]=ma,_0xaf7d8c[_0x2f503f(0x2c0)]=0x2,_0xaf7d8c['beginPath'](),_0xaf7d8c[_0x2f503f(0x2d7)](_0x4668b4['x'],_0x4668b4['y']),_0xaf7d8c[_0x2f503f(0x1db)](_0xc96005['x'],_0xc96005['y']),_0xaf7d8c[_0x2f503f(0x12a)](),_0xaf7d8c[_0x2f503f(0x2a0)]=ma,_0xaf7d8c['beginPath'](),_0xaf7d8c['arc'](_0x4668b4['x'],_0x4668b4['y'],0x3,0x0,Math['PI']*0x2),_0xaf7d8c[_0x2f503f(0x212)](),_0xaf7d8c['beginPath'](),_0xaf7d8c[_0x2f503f(0x34a)](_0xc96005['x'],_0xc96005['y'],0x3,0x0,Math['PI']*0x2),_0xaf7d8c[_0x2f503f(0x212)](),_0xaf7d8c['restore']();return;}if(!this[_0x2f503f(0x14a)])return;let _0x3a6b7b=q(this[_0x2f503f(0x14a)][_0x2f503f(0x256)],this[_0x2f503f(0x1d0)][_0x2f503f(0x2e8)]);_0xaf7d8c[_0x2f503f(0x113)](),_0xaf7d8c[_0x2f503f(0x2a0)]=ha,_0xaf7d8c[_0x2f503f(0x10e)]=0.08,_0xaf7d8c[_0x2f503f(0x386)](_0x3a6b7b['x'],_0x3a6b7b['y'],_0x3a6b7b[_0x2f503f(0x185)],_0x3a6b7b['height']),_0xaf7d8c[_0x2f503f(0x10e)]=0x1,_0xaf7d8c['strokeStyle']=ha,_0xaf7d8c[_0x2f503f(0x2c0)]=0x2,_0xaf7d8c['setLineDash']([0x6,0x4]),_0xaf7d8c[_0x2f503f(0x26b)](_0x3a6b7b['x'],_0x3a6b7b['y'],_0x3a6b7b[_0x2f503f(0x185)],_0x3a6b7b[_0x2f503f(0x1ad)]),_0xaf7d8c[_0x2f503f(0x133)]();}[_0x588cc3(0x267)](_0x3812f3){const _0x2a931a=_0x588cc3;if(!this[_0x2a931a(0x290)])return;let _0x35185e=Wa(),_0x49cebe=q(Ua(this['_sortPopover']),this[_0x2a931a(0x1d0)][_0x2a931a(0x2e8)]),_0x8ef388=_0x49cebe[_0x2a931a(0x1ad)]/_0x35185e[_0x2a931a(0x1c5)];_0x3812f3[_0x2a931a(0x113)](),_0x3812f3[_0x2a931a(0x2a0)]=_0x2a931a(0x2e3),_0x3812f3[_0x2a931a(0x2e6)]=_a,_0x3812f3[_0x2a931a(0x2c0)]=0x1,_0x3812f3['shadowColor']=_0x2a931a(0x1d4),_0x3812f3[_0x2a931a(0x3c6)]=0xc,Pa(_0x3812f3,_0x49cebe['x'],_0x49cebe['y'],_0x49cebe[_0x2a931a(0x185)],_0x49cebe[_0x2a931a(0x1ad)],0x8),_0x3812f3[_0x2a931a(0x212)](),_0x3812f3[_0x2a931a(0x3c6)]=0x0,_0x3812f3['stroke'](),_0x3812f3[_0x2a931a(0x3d9)]=_0x2a931a(0x12d),_0x3812f3['fillStyle']=va,_0x35185e[_0x2a931a(0x3d1)]((_0x3a4a13,_0xa79e44)=>{const _0x168948=_0x2a931a;let _0x12945b=_0x49cebe['y']+_0xa79e44*_0x8ef388;this[_0x168948(0x144)](_0x3812f3,_0x3a4a13[_0x168948(0x114)],_0x49cebe['x']+0xc,_0x12945b+_0x8ef388/0x2-0x7),_0x3812f3['fillText'](this[_0x168948(0x159)]['t'](_0x3a4a13[_0x168948(0x2ee)]),_0x49cebe['x']+0x24,_0x12945b+_0x8ef388/0x2+0x4);}),_0x3812f3[_0x2a931a(0x133)]();}['_drawSortOptionIcon'](_0x509924,_0x20d1fe,_0x54057e,_0x51f711){const _0x1054fe=_0x588cc3;_0x509924['save'](),_0x509924[_0x1054fe(0x2e6)]=va,_0x509924[_0x1054fe(0x2c0)]=1.5,_0x509924[_0x1054fe(0x147)](),_0x509924[_0x1054fe(0x2d7)](_0x54057e+0x6,_0x51f711),_0x509924[_0x1054fe(0x1db)](_0x54057e+0x6,_0x51f711+0xe),_0x509924[_0x1054fe(0x2d7)](_0x54057e+0x2,_0x20d1fe==='asc'?_0x51f711+0x4:_0x51f711+0xa),_0x509924['lineTo'](_0x54057e+0x6,_0x20d1fe===_0x1054fe(0x264)?_0x51f711:_0x51f711+0xe),_0x509924[_0x1054fe(0x1db)](_0x54057e+0xa,_0x20d1fe==='asc'?_0x51f711+0x4:_0x51f711+0xa),_0x509924[_0x1054fe(0x12a)](),_0x509924['restore']();}[_0x588cc3(0x3a7)](_0x38ee79,_0x5cc947){const _0x120e4a=_0x588cc3;let _0x33c8af=q(_0x5cc947[_0x120e4a(0x256)],this[_0x120e4a(0x1d0)][_0x120e4a(0x2e8)]),_0x1ddcf3=this[_0x120e4a(0x184)](this[_0x120e4a(0x383)],_0x5cc947),_0x4f0ec1=this[_0x120e4a(0x303)](_0x5cc947),_0x4a90b1=_0x4f0ec1?K(_0x4f0ec1['x'],_0x4f0ec1['y'],this[_0x120e4a(0x1d0)][_0x120e4a(0x2e8)]):{'x':_0x33c8af['x']+_0x33c8af[_0x120e4a(0x185)]/0x2,'y':_0x33c8af['y']+_0x33c8af['height']/0x2},_0x52c850=_0x1ddcf3?0xc:0x4,_0x429831=_0x52c850/0x2;_0x38ee79[_0x120e4a(0x113)](),_0x1ddcf3&&this[_0x120e4a(0x3a8)](_0x38ee79,_0x5cc947),_0x38ee79['fillStyle']=_0x1ddcf3?_0x120e4a(0x2e3):ba,_0x38ee79[_0x120e4a(0x2e6)]=_0x1ddcf3?ha:ba,_0x38ee79[_0x120e4a(0x2c0)]=_0x1ddcf3?1.5:0x1,_0x38ee79[_0x120e4a(0x147)](),_0x38ee79[_0x120e4a(0x34a)](_0x4a90b1['x'],_0x4a90b1['y'],_0x429831,0x0,Math['PI']*0x2),_0x38ee79[_0x120e4a(0x212)](),_0x1ddcf3&&_0x38ee79[_0x120e4a(0x12a)](),_0x1ddcf3&&this[_0x120e4a(0x199)](_0x38ee79,_0x4a90b1['x'],_0x4a90b1['y'],_0x52c850),_0x38ee79[_0x120e4a(0x133)]();}[_0x588cc3(0x199)](_0x1b9fc7,_0x103d33,_0x48ea08,_0x33ed82){const _0x461973=_0x588cc3;let _0x3ae0e5=Math[_0x461973(0x30c)](_0x103d33),_0x4d3659=Math['round'](_0x48ea08),_0x3561ff=Math[_0x461973(0x104)](Math[_0x461973(0x12b)](_0x33ed82/0x3),0x3),_0x22ab4d=Math['max'](Math[_0x461973(0x30c)](_0x33ed82/0x6),0x2);_0x1b9fc7['save'](),_0x1b9fc7[_0x461973(0x2a0)]=ha,_0x1b9fc7[_0x461973(0x386)](_0x3ae0e5-_0x3561ff,_0x4d3659-Math['floor'](_0x22ab4d/0x2),_0x3561ff*0x2,_0x22ab4d),_0x1b9fc7[_0x461973(0x386)](_0x3ae0e5-Math[_0x461973(0x12b)](_0x22ab4d/0x2),_0x4d3659-_0x3561ff,_0x22ab4d,_0x3561ff*0x2),_0x1b9fc7[_0x461973(0x133)]();}[_0x588cc3(0x3a8)](_0x51e348,_0x1c6340){const _0x4f5ae2=_0x588cc3;if(!this[_0x4f5ae2(0x27c)])return;let {input:_0x116d70}=this['_activeTable'],_0x31e376=q(J(_0x116d70),this[_0x4f5ae2(0x1d0)]['scene']),_0x33515e=K(Aa(_0x116d70),_0x116d70[_0x4f5ae2(0x395)]['y'],this[_0x4f5ae2(0x1d0)][_0x4f5ae2(0x2e8)])['x'],_0xbf30eb=K(ja(_0x116d70),_0x116d70[_0x4f5ae2(0x395)]['y'],this['_context'][_0x4f5ae2(0x2e8)])['x'],_0x5bd84b=this[_0x4f5ae2(0x303)](_0x1c6340),_0x2e1ced=_0x5bd84b?K(_0x5bd84b['x'],_0x5bd84b['y'],this[_0x4f5ae2(0x1d0)]['scene']):K(_0x1c6340[_0x4f5ae2(0x256)]['x']+_0x1c6340[_0x4f5ae2(0x256)][_0x4f5ae2(0x185)]/0x2,_0x1c6340['rect']['y']+_0x1c6340[_0x4f5ae2(0x256)][_0x4f5ae2(0x1ad)]/0x2,this[_0x4f5ae2(0x1d0)][_0x4f5ae2(0x2e8)]);if(_0x51e348[_0x4f5ae2(0x113)](),_0x51e348[_0x4f5ae2(0x2e6)]=ha,_0x51e348[_0x4f5ae2(0x2c0)]=0x2,_0x51e348[_0x4f5ae2(0x147)](),_0x1c6340['kind']===_0x4f5ae2(0x28f)){let _0x4e76f6=_0x2e1ced['y'];_0x51e348[_0x4f5ae2(0x2d7)](_0x33515e,_0x4e76f6),_0x51e348[_0x4f5ae2(0x1db)](_0xbf30eb,_0x4e76f6);}else{if(_0x1c6340[_0x4f5ae2(0x389)]===_0x4f5ae2(0x25e)){let _0x257e34=_0x2e1ced['x'];_0x51e348['moveTo'](_0x257e34,_0x31e376['y']),_0x51e348[_0x4f5ae2(0x1db)](_0x257e34,_0x31e376['y']+_0x31e376[_0x4f5ae2(0x1ad)]);}}_0x51e348[_0x4f5ae2(0x12a)](),_0x51e348[_0x4f5ae2(0x133)]();}[_0x588cc3(0x303)](_0x5a7dc2){const _0x5a19b0=_0x588cc3;if(!this[_0x5a19b0(0x27c)])return null;let {input:_0x1c3f95}=this[_0x5a19b0(0x27c)];if(_0x5a7dc2['kind']===_0x5a19b0(0x25e)&&_0x5a7dc2[_0x5a19b0(0x200)]!=null){let _0xe9676a=Ia(_0x1c3f95[_0x5a19b0(0xcb)],_0x5a7dc2[_0x5a19b0(0x200)]);return _0xe9676a<0x0?null:{'x':Na(_0x1c3f95,Y(_0x1c3f95[_0x5a19b0(0x225)][_0x5a19b0(0x2f1)](0x0,_0xe9676a+0x1))),'y':_0x5a7dc2[_0x5a19b0(0x256)]['y']+_0x5a7dc2['rect'][_0x5a19b0(0x1ad)]/0x2};}if(_0x5a7dc2[_0x5a19b0(0x389)]==='row-insert-dot'&&_0x5a7dc2[_0x5a19b0(0x2c6)]!=null){let _0x38f99f=Ia(_0x1c3f95[_0x5a19b0(0x9e)],_0x5a7dc2[_0x5a19b0(0x2c6)]);return _0x38f99f<0x0?null:{'x':_0x5a7dc2[_0x5a19b0(0x256)]['x']+_0x5a7dc2[_0x5a19b0(0x256)][_0x5a19b0(0x185)]/0x2,'y':_0x1c3f95[_0x5a19b0(0x395)]['y']+Y(_0x1c3f95[_0x5a19b0(0x3d4)][_0x5a19b0(0x2f1)](0x0,_0x38f99f+0x1))};}return{'x':_0x5a7dc2[_0x5a19b0(0x256)]['x']+_0x5a7dc2[_0x5a19b0(0x256)][_0x5a19b0(0x185)]/0x2,'y':_0x5a7dc2[_0x5a19b0(0x256)]['y']+_0x5a7dc2[_0x5a19b0(0x256)][_0x5a19b0(0x1ad)]/0x2};}['_getInsertTriggerIconRect'](_0x5a176d,_0x1779d4){const _0x1ceda0=_0x588cc3;let _0x10c10c=this['_getInsertTriggerDocumentCenter'](_0x5a176d),_0x3d44c6=q(_0x5a176d['rect'],this[_0x1ceda0(0x1d0)]['scene']);if(!_0x10c10c)return _0x3d44c6;let _0x205479=K(_0x10c10c['x'],_0x10c10c['y'],this[_0x1ceda0(0x1d0)][_0x1ceda0(0x2e8)]),_0x1a753b=_0x1779d4==null?Math[_0x1ceda0(0x104)](_0x5a176d[_0x1ceda0(0x256)][_0x1ceda0(0x185)],_0x5a176d[_0x1ceda0(0x256)]['height']):_0x1779d4;if(_0x1779d4!=null){if(_0x5a176d[_0x1ceda0(0x389)]===_0x1ceda0(0x25e))return{'x':_0x205479['x']-_0x1a753b/0x2,'y':_0x3d44c6['y'],'width':_0x1a753b,'height':_0x1a753b};if(_0x5a176d['kind']==='row-insert-dot')return{'x':_0x3d44c6['x'],'y':_0x205479['y']-_0x1a753b/0x2,'width':_0x1a753b,'height':_0x1a753b};}return q({'x':_0x10c10c['x']-_0x1a753b/0x2,'y':_0x10c10c['y']-_0x1a753b/0x2,'width':_0x1a753b,'height':_0x1a753b},this[_0x1ceda0(0x1d0)][_0x1ceda0(0x2e8)]);}['_drawTableSelectTrigger'](_0x69a00b,_0x4ca26d){const _0x3b7414=_0x588cc3;let _0x50dc11=q(_0x4ca26d[_0x3b7414(0x256)],this[_0x3b7414(0x1d0)]['scene']);_0x69a00b[_0x3b7414(0x113)](),_0x69a00b[_0x3b7414(0x2a0)]='#fff',_0x69a00b[_0x3b7414(0x2e6)]=_a,_0x69a00b['lineWidth']=0x1,Pa(_0x69a00b,_0x50dc11['x'],_0x50dc11['y'],_0x50dc11['width'],_0x50dc11[_0x3b7414(0x1ad)],0x5),_0x69a00b[_0x3b7414(0x212)](),_0x69a00b['stroke'](),this[_0x3b7414(0x178)](_0x69a00b,_0x50dc11),_0x69a00b[_0x3b7414(0x133)]();}[_0x588cc3(0xe7)](_0x32406e){const _0x41454f=_0x588cc3;return!this[_0x41454f(0x36a)]||!_0x32406e[_0x41454f(0xe3)]||this[_0x41454f(0x36a)][_0x41454f(0xe3)]!==_0x32406e[_0x41454f(0xe3)]?!0x1:_0x32406e[_0x41454f(0x389)]===_0x41454f(0x357)&&_0x32406e[_0x41454f(0x2c6)]!=null?this['_selection']['kind']===_0x4e9e70[_0x41454f(0x3da)]&&_0x32406e[_0x41454f(0x2c6)]>=this['_selection'][_0x41454f(0x170)]&&_0x32406e[_0x41454f(0x2c6)]<=this[_0x41454f(0x36a)][_0x41454f(0x1c6)]:_0x32406e[_0x41454f(0x389)]==='column-header'&&_0x32406e['column']!=null?this[_0x41454f(0x36a)][_0x41454f(0x389)]===_0x4e9e70['Column']&&_0x32406e['column']>=this[_0x41454f(0x36a)]['startColumn']&&_0x32406e[_0x41454f(0x200)]<=this[_0x41454f(0x36a)][_0x41454f(0x336)]:!0x1;}['_isStructuralHeaderDeleteDangerActive'](_0x3dba8a){const _0x629b22=_0x588cc3;var _0x13ffe9,_0x3cdf74;return!!(!((_0x13ffe9=this[_0x629b22(0x1df)])==null||(_0x3cdf74=_0x13ffe9[_0x629b22(0x261)])==null)&&_0x3cdf74[_0x629b22(0x36f)](_0x13ffe9)[_0x629b22(0x2eb)])&&this[_0x629b22(0xe7)](_0x3dba8a);}['_drawSixDotDragHandle'](_0x566e40,_0x415730){const _0x5c064f=_0x588cc3;let _0x36ed7c=4.6,_0x24865f=_0x415730['x']+_0x415730[_0x5c064f(0x185)]/0x2-0x5/0x2,_0x3465c1=_0x415730['y']+_0x415730[_0x5c064f(0x1ad)]/0x2-_0x36ed7c;_0x566e40[_0x5c064f(0x113)](),_0x566e40[_0x5c064f(0x2a0)]=ba;for(let _0x25054a=0x0;_0x25054a<0x2;_0x25054a++)for(let _0x2f0ab1=0x0;_0x2f0ab1<0x3;_0x2f0ab1++)_0x566e40[_0x5c064f(0x147)](),_0x566e40[_0x5c064f(0x34a)](_0x24865f+_0x25054a*0x5,_0x3465c1+_0x2f0ab1*_0x36ed7c,1.1,0x0,Math['PI']*0x2),_0x566e40[_0x5c064f(0x212)]();_0x566e40[_0x5c064f(0x133)]();}[_0x588cc3(0x27b)](_0x189dc1,_0x8f6ec5,_0x553205){const _0x4f6137=_0x588cc3;this['_isSameTrigger'](this[_0x4f6137(0x383)],_0x553205)&&(_0x189dc1['fillStyle']=ya,Pa(_0x189dc1,_0x8f6ec5['x']-0x2,_0x8f6ec5['y']-0x2,_0x8f6ec5['width']+0x4,_0x8f6ec5[_0x4f6137(0x1ad)]+0x4,0x5),_0x189dc1[_0x4f6137(0x212)]());}[_0x588cc3(0x14f)](_0x3f4cb8){const _0x309ea4=_0x588cc3;let _0x19eb00=this[_0x309ea4(0x137)]();_0x19eb00&&Gr(_0x3f4cb8,Oa(_0x19eb00,this[_0x309ea4(0x1d0)][_0x309ea4(0x2e8)]));}['_drawResizeGuide'](_0x3bdc89,_0x1b12a9,_0x256584){const _0x2d2995=_0x588cc3;let _0x14f07b=this[_0x2d2995(0x33b)](_0x1b12a9);if(!_0x14f07b)return;let _0xa8a9b2=q(_0x14f07b,this['_context'][_0x2d2995(0x2e8)]);_0x3bdc89[_0x2d2995(0x113)](),_0x3bdc89[_0x2d2995(0x2a0)]=ma,_0x3bdc89[_0x2d2995(0x10e)]=_0x256584,_0x3bdc89[_0x2d2995(0x386)](_0xa8a9b2['x'],_0xa8a9b2['y'],_0xa8a9b2[_0x2d2995(0x185)],_0xa8a9b2[_0x2d2995(0x1ad)]),_0x3bdc89[_0x2d2995(0x133)]();}[_0x588cc3(0x2bc)](_0x4445f7){const _0x4033ea=_0x588cc3;if(!this[_0x4033ea(0x182)])return;let _0x3665ef=Ga(),_0x22af82=q(Ha(this[_0x4033ea(0x182)]),this[_0x4033ea(0x1d0)][_0x4033ea(0x2e8)]),_0x39d25b=_0x22af82['width']/0x5,_0x4c505f=_0x22af82[_0x4033ea(0x1ad)]/0x2;_0x4445f7['save'](),_0x4445f7['fillStyle']=_0x4033ea(0x2e3),_0x4445f7[_0x4033ea(0x2e6)]=_a,_0x4445f7[_0x4033ea(0x2c0)]=0x1,_0x4445f7[_0x4033ea(0x38e)]=_0x4033ea(0x1d4),_0x4445f7['shadowBlur']=0xc,Pa(_0x4445f7,_0x22af82['x'],_0x22af82['y'],_0x22af82[_0x4033ea(0x185)],_0x22af82[_0x4033ea(0x1ad)],0x8),_0x4445f7[_0x4033ea(0x212)](),_0x4445f7[_0x4033ea(0x3c6)]=0x0,_0x4445f7[_0x4033ea(0x12a)](),_0x3665ef[_0x4033ea(0x3d1)]((_0x4d9409,_0x4be2d7)=>{const _0x5d7869=_0x4033ea;let _0x62d3b7=_0x4be2d7%0x5,_0x13da1d=Math[_0x5d7869(0x12b)](_0x4be2d7/0x5),_0x5586f3=_0x22af82['x']+_0x62d3b7*_0x39d25b,_0x5e85a5=_0x22af82['y']+_0x13da1d*_0x4c505f;this[_0x5d7869(0x257)](_0x4445f7,_0x4d9409[_0x5d7869(0x228)],_0x4d9409[_0x5d7869(0x112)],_0x5586f3,_0x5e85a5,_0x39d25b,_0x4c505f);}),_0x4445f7[_0x4033ea(0x133)]();}[_0x588cc3(0x257)](_0x1cd4ef,_0x47f5e4,_0x277551,_0x2a1eca,_0x471e44,_0x26016c,_0x2f7fd0){const _0xc4a3e5=_0x588cc3;let _0x2fdb26=this[_0xc4a3e5(0x16e)]?this[_0xc4a3e5(0x110)](this[_0xc4a3e5(0x16e)]['x'],this[_0xc4a3e5(0x16e)]['y']):null,_0x4d8099=(_0x2fdb26==null?void 0x0:_0x2fdb26[_0xc4a3e5(0x228)])===_0x47f5e4,_0x4db8f0=_0x2a1eca+(_0x26016c-0x10)/0x2,_0x2683e7=_0x4db8f0+0x10,_0x18bed4=_0x471e44+(_0x2f7fd0-0x10)/0x2,_0x30ccc9=_0x18bed4+0x10,_0x5caab3=(_0x4db8f0+_0x2683e7)/0x2,_0x5b3513=(_0x18bed4+_0x30ccc9)/0x2;_0x1cd4ef[_0xc4a3e5(0x113)](),_0x4d8099&&(_0x1cd4ef[_0xc4a3e5(0x2a0)]=ya,Pa(_0x1cd4ef,_0x2a1eca+0x3,_0x471e44+0x3,_0x26016c-0x6,_0x2f7fd0-0x6,0x6),_0x1cd4ef[_0xc4a3e5(0x212)]()),_0x1cd4ef[_0xc4a3e5(0x2e6)]=_0x47f5e4===_0xc4a3e5(0xc1)?'#5f6368':_0xc4a3e5(0x381),_0x1cd4ef[_0xc4a3e5(0x2c0)]=1.35,_0x1cd4ef[_0xc4a3e5(0xc8)]=_0xc4a3e5(0x30c),_0x1cd4ef[_0xc4a3e5(0x126)]=_0xc4a3e5(0x30c),_0x1cd4ef['setLineDash'](_0x277551==='NoBorderIcon'?[0x2,0x3]:[]),_0x1cd4ef['beginPath'](),(_0x277551===_0xc4a3e5(0x331)||_0x277551===_0xc4a3e5(0xe9)||_0x277551===_0xc4a3e5(0x3b0))&&(_0x1cd4ef[_0xc4a3e5(0x2d7)](_0x4db8f0,_0x18bed4),_0x1cd4ef['lineTo'](_0x2683e7,_0x18bed4)),(_0x277551==='AllBorderIcon'||_0x277551===_0xc4a3e5(0xe9)||_0x277551===_0xc4a3e5(0x116))&&(_0x1cd4ef[_0xc4a3e5(0x2d7)](_0x4db8f0,_0x30ccc9),_0x1cd4ef[_0xc4a3e5(0x1db)](_0x2683e7,_0x30ccc9)),(_0x277551===_0xc4a3e5(0x331)||_0x277551==='OuterBorderDoubleIcon'||_0x277551===_0xc4a3e5(0x100))&&(_0x1cd4ef['moveTo'](_0x4db8f0,_0x18bed4),_0x1cd4ef['lineTo'](_0x4db8f0,_0x30ccc9)),(_0x277551===_0xc4a3e5(0x331)||_0x277551==='OuterBorderDoubleIcon'||_0x277551===_0xc4a3e5(0x3bc))&&(_0x1cd4ef['moveTo'](_0x2683e7,_0x18bed4),_0x1cd4ef[_0xc4a3e5(0x1db)](_0x2683e7,_0x30ccc9)),(_0x277551==='AllBorderIcon'||_0x277551===_0xc4a3e5(0xfa)||_0x277551===_0xc4a3e5(0xdb))&&(_0x1cd4ef[_0xc4a3e5(0x2d7)](_0x5caab3,_0x18bed4),_0x1cd4ef[_0xc4a3e5(0x1db)](_0x5caab3,_0x30ccc9)),(_0x277551===_0xc4a3e5(0x331)||_0x277551==='InnerBorderDoubleIcon'||_0x277551===_0xc4a3e5(0x92))&&(_0x1cd4ef[_0xc4a3e5(0x2d7)](_0x4db8f0,_0x5b3513),_0x1cd4ef[_0xc4a3e5(0x1db)](_0x2683e7,_0x5b3513)),_0x277551===_0xc4a3e5(0xbe)&&_0x1cd4ef[_0xc4a3e5(0x256)](_0x4db8f0,_0x18bed4,_0x2683e7-_0x4db8f0,_0x30ccc9-_0x18bed4),_0x1cd4ef[_0xc4a3e5(0x12a)](),_0x1cd4ef[_0xc4a3e5(0x133)]();}['_drawTooltip'](_0x23f9e9){const _0x38619b=_0x588cc3;if(!this['_tooltip'])return;let _0x59cd6b=this['_tooltip'][_0x38619b(0x272)],_0x546299=K(this['_tooltip']['x'],this[_0x38619b(0x2a8)]['y'],this[_0x38619b(0x1d0)][_0x38619b(0x2e8)]);_0x23f9e9[_0x38619b(0x113)](),_0x23f9e9['font']=_0x38619b(0x12d);let _0x10608b=_0x23f9e9[_0x38619b(0xa5)](_0x59cd6b)[_0x38619b(0x185)]+0x10,_0x1299cf=_0x546299['x']-_0x10608b/0x2,_0x588202=_0x546299['y']-0x1c-0xc;_0x23f9e9[_0x38619b(0x2a0)]=_0x38619b(0x1d3),Pa(_0x23f9e9,_0x1299cf,_0x588202,_0x10608b,0x1c,0x6),_0x23f9e9[_0x38619b(0x212)](),_0x23f9e9[_0x38619b(0x2a0)]=_0x38619b(0x2e3),_0x23f9e9['fillText'](_0x59cd6b,_0x1299cf+0x8,_0x588202+0x12),_0x23f9e9['restore']();}['_getCellAtPoint'](_0x328ae2,_0x414931){const _0x47c7b3=_0x588cc3;var _0x127868,_0x2b0aee,_0x22cc20,_0x39a5d1,_0x16cefa,_0x35cf05,_0x1d6541;if(!this[_0x47c7b3(0x27c)]||!X(J(this[_0x47c7b3(0x27c)][_0x47c7b3(0x1d9)]),_0x328ae2,_0x414931))return null;let {input:_0x5effe5,sourceTableId:_0x5a0054}=this[_0x47c7b3(0x27c)],_0x45c9be=La(_0x5effe5[_0x47c7b3(0x3d4)],_0x414931-_0x5effe5[_0x47c7b3(0x395)]['y']),_0x510fc7=Ma(_0x5effe5,_0x328ae2);if(_0x510fc7==null)return null;let _0x4608bf=La(_0x5effe5[_0x47c7b3(0x225)],_0x510fc7);if(_0x45c9be<0x0||_0x4608bf<0x0)return null;let _0x1696eb=(_0x127868=(_0x2b0aee=_0x5effe5[_0x47c7b3(0x9e)])==null?void 0x0:_0x2b0aee[_0x45c9be])==null?_0x45c9be:_0x127868,_0x320569=(_0x22cc20=(_0x39a5d1=_0x5effe5[_0x47c7b3(0xcb)])==null?void 0x0:_0x39a5d1[_0x4608bf])==null?_0x4608bf:_0x22cc20,_0x16d3b7=(_0x16cefa=_0x5effe5[_0x47c7b3(0x27a)])==null?void 0x0:_0x16cefa[_0x47c7b3(0x281)](_0x1f08f3=>_0x1696eb>=_0x1f08f3[_0x47c7b3(0x170)]&&_0x1696eb<=_0x1f08f3[_0x47c7b3(0x1c6)]&&_0x320569>=_0x1f08f3[_0x47c7b3(0x203)]&&_0x320569<=_0x1f08f3[_0x47c7b3(0x336)]);return{'column':(_0x35cf05=_0x16d3b7==null?void 0x0:_0x16d3b7[_0x47c7b3(0x203)])==null?_0x320569:_0x35cf05,'row':(_0x1d6541=_0x16d3b7==null?void 0x0:_0x16d3b7[_0x47c7b3(0x170)])==null?_0x1696eb:_0x1d6541,'tableId':_0x5a0054};}[_0x588cc3(0x34b)](_0x4b659f,_0x589b32){const _0x432882=_0x588cc3;var _0x4f253a,_0x156361,_0x3af775,_0x5afb69;if(!this['_activeTable']){this[_0x432882(0x284)]=null,this[_0x432882(0x15c)]=null,this[_0x432882(0x128)]=null;return;}let _0x1e2939=this['_getTriggerInput'](),_0x4d5dfd=this['_getCellAtPoint'](_0x4b659f,_0x589b32),_0x4d7019=J(_0x1e2939),_0x3c3fb7=Aa(_0x1e2939),_0x1cf413={'x':_0x3c3fb7,'y':_0x1e2939[_0x432882(0x395)]['y']-0x10/((_0x4f253a=_0x1e2939[_0x432882(0x37a)])==null?0x1:_0x4f253a),'width':_0x4d7019[_0x432882(0x185)],'height':0x10/((_0x156361=_0x1e2939['zoom'])==null?0x1:_0x156361)},_0x51ebd8={'x':_0x3c3fb7-0x10/((_0x3af775=_0x1e2939[_0x432882(0x37a)])==null?0x1:_0x3af775),'y':_0x1e2939[_0x432882(0x395)]['y'],'width':0x10/((_0x5afb69=_0x1e2939[_0x432882(0x37a)])==null?0x1:_0x5afb69),'height':_0x4d7019[_0x432882(0x1ad)]};this['_hoverCell']=_0x4d5dfd?{'row':_0x4d5dfd[_0x432882(0x2c6)],'column':_0x4d5dfd[_0x432882(0x200)]}:null,this[_0x432882(0x15c)]=X(_0x1cf413,_0x4b659f,_0x589b32)?this[_0x432882(0x153)](_0x4b659f):null,this[_0x432882(0x128)]=X(_0x51ebd8,_0x4b659f,_0x589b32)?this['_getRowAtY'](_0x589b32):null,!_0x4d5dfd&&!this['_hoverColumn']&&!this[_0x432882(0x128)]&&!this['_borderPopover']&&(this[_0x432882(0x383)]=null);}[_0x588cc3(0x153)](_0x48a46c){const _0xa4064a=_0x588cc3;var _0x58a64e,_0x3b6d80;if(!this[_0xa4064a(0x27c)])return null;let {input:_0x1a8a28}=this['_activeTable'],_0x437552=J(_0x1a8a28);if(_0x48a46c<_0x437552['x']||_0x48a46c>_0x437552['x']+_0x437552[_0xa4064a(0x185)])return null;let _0x2de839=Ma(_0x1a8a28,_0x48a46c);if(_0x2de839==null)return null;let _0x57d0a9=La(_0x1a8a28[_0xa4064a(0x225)],_0x2de839);return(_0x58a64e=(_0x3b6d80=_0x1a8a28['columnIndices'])==null?void 0x0:_0x3b6d80[_0x57d0a9])==null?_0x57d0a9:_0x58a64e;}[_0x588cc3(0x1a2)](_0x3dad1e){const _0x5ce85f=_0x588cc3;let _0x2c57c3=_0x3dad1e['type']===_0x5ce85f(0x2c6)?_0x3dad1e[_0x5ce85f(0x2c6)]:_0x3dad1e['column'];return _0x2c57c3==null?null:{'sourceIndex':_0x2c57c3,'startX':_0x3dad1e['startX'],'startY':_0x3dad1e['startY'],'tableId':_0x3dad1e[_0x5ce85f(0xe3)],'type':_0x3dad1e[_0x5ce85f(0x13b)]};}[_0x588cc3(0x36d)](_0x55933d){const _0x1e1397=_0x588cc3;let _0x19469c=this['_rowColumnMoveState'];return!_0x19469c||!this['_activeTable']||this[_0x1e1397(0x27c)][_0x1e1397(0x186)]!==_0x19469c[_0x1e1397(0xe3)]?null:_0x19469c['type']===_0x1e1397(0x2c6)?this[_0x1e1397(0x332)](_0x55933d['y']):this[_0x1e1397(0x325)](_0x55933d['x']);}[_0x588cc3(0x332)](_0x6bc612){const _0x5ee336=_0x588cc3;var _0x27262e,_0x1f0e14;if(!this[_0x5ee336(0x27c)])return null;let {input:_0x3d440b}=this[_0x5ee336(0x27c)];if(_0x6bc612<_0x3d440b[_0x5ee336(0x395)]['y']||_0x6bc612>_0x3d440b[_0x5ee336(0x395)]['y']+_0x3d440b['tableRect'][_0x5ee336(0x1ad)])return null;let _0x164543=La(_0x3d440b['rowHeights'],_0x6bc612-_0x3d440b['tableRect']['y']);if(_0x164543<0x0)return null;let _0x66a282=_0x3d440b[_0x5ee336(0x395)]['y']+Y(_0x3d440b[_0x5ee336(0x3d4)]['slice'](0x0,_0x164543)),_0x41fe45=_0x3d440b[_0x5ee336(0x3d4)][_0x164543],_0x4bef7d=_0x6bc612<_0x66a282+_0x41fe45/0x2?_0x5ee336(0x2fe):'below',_0x58a0f8=_0x4bef7d==='above'?_0x66a282:_0x66a282+_0x41fe45,_0x491ce7=J(_0x3d440b);return{'index':(_0x27262e=(_0x1f0e14=_0x3d440b[_0x5ee336(0x9e)])==null?void 0x0:_0x1f0e14[_0x164543])==null?_0x164543:_0x27262e,'position':_0x4bef7d,'rect':{'x':_0x491ce7['x'],'y':_0x58a0f8,'width':_0x491ce7['width'],'height':0x0}};}[_0x588cc3(0x325)](_0x47054c){const _0x482980=_0x588cc3;var _0x4a252b,_0xb74453;if(!this[_0x482980(0x27c)])return null;let {input:_0x17bbf1}=this[_0x482980(0x27c)],_0x3e55c5=J(_0x17bbf1);if(_0x47054c<_0x3e55c5['x']||_0x47054c>_0x3e55c5['x']+_0x3e55c5['width'])return null;let _0x5d9cdf=Ma(_0x17bbf1,_0x47054c);if(_0x5d9cdf==null)return null;let _0x5a6aca=La(_0x17bbf1['columnWidths'],_0x5d9cdf);if(_0x5a6aca<0x0)return null;let _0x40a27=Na(_0x17bbf1,Y(_0x17bbf1[_0x482980(0x225)]['slice'](0x0,_0x5a6aca))),_0x2e8838=_0x17bbf1['columnWidths'][_0x5a6aca],_0x57e191=_0x47054c<_0x40a27+_0x2e8838/0x2?_0x482980(0x1b5):'right',_0x55f728=_0x57e191===_0x482980(0x1b5)?_0x40a27:_0x40a27+_0x2e8838;return{'index':(_0x4a252b=(_0xb74453=_0x17bbf1[_0x482980(0xcb)])==null?void 0x0:_0xb74453[_0x5a6aca])==null?_0x5a6aca:_0x4a252b,'position':_0x57e191,'rect':{'x':_0x55f728,'y':_0x17bbf1[_0x482980(0x395)]['y'],'width':0x0,'height':_0x17bbf1[_0x482980(0x395)][_0x482980(0x1ad)]}};}['_getRowAtY'](_0x2a999f){const _0xdfb12b=_0x588cc3;var _0x14e46f,_0x32e0ab;if(!this['_activeTable'])return null;let {input:_0x2afd94}=this[_0xdfb12b(0x27c)];if(_0x2a999f<_0x2afd94['tableRect']['y']||_0x2a999f>_0x2afd94[_0xdfb12b(0x395)]['y']+_0x2afd94[_0xdfb12b(0x395)][_0xdfb12b(0x1ad)])return null;let _0x9a7e03=La(_0x2afd94[_0xdfb12b(0x3d4)],_0x2a999f-_0x2afd94['tableRect']['y']);return(_0x14e46f=(_0x32e0ab=_0x2afd94[_0xdfb12b(0x9e)])==null?void 0x0:_0x32e0ab[_0x9a7e03])==null?_0x9a7e03:_0x14e46f;}['_hitBorderPreset'](_0x5a7169,_0x2c39a8){const _0x26ab74=_0x588cc3;if(!this[_0x26ab74(0x182)])return null;let _0x2ff680=Ha(this[_0x26ab74(0x182)]);if(!X(_0x2ff680,_0x5a7169,_0x2c39a8))return null;let _0x376210=Math[_0x26ab74(0x12b)]((_0x5a7169-_0x2ff680['x'])/(_0x2ff680[_0x26ab74(0x185)]/0x5)),_0x16f717=Math['floor']((_0x2c39a8-_0x2ff680['y'])/(_0x2ff680[_0x26ab74(0x1ad)]/0x2)),_0x5274c1=Ga()[_0x16f717*0x5+_0x376210];return _0x5274c1?{'preset':_0x5274c1[_0x26ab74(0x228)]}:null;}[_0x588cc3(0x352)](_0x2a175b,_0x4577c4){const _0x2307f9=_0x588cc3;if(!this['_sortPopover'])return null;let _0x3e3ee1=Ua(this[_0x2307f9(0x290)]);if(!X(_0x3e3ee1,_0x2a175b,_0x4577c4))return null;let _0x541500=Wa(),_0x34ccbb=_0x541500[Math[_0x2307f9(0x12b)]((_0x4577c4-_0x3e3ee1['y'])/(_0x3e3ee1[_0x2307f9(0x1ad)]/_0x541500[_0x2307f9(0x1c5)]))];return _0x34ccbb?{'direction':_0x34ccbb[_0x2307f9(0x114)]}:null;}['_buildTriggerTooltip'](_0x371484){const _0x3c1488=_0x588cc3;if(!_0x371484)return null;let _0x585b72=Ka(_0x371484['kind']);return _0x585b72?{'label':this[_0x3c1488(0x159)]['t'](_0x585b72),'x':_0x371484[_0x3c1488(0x256)]['x']+_0x371484['rect'][_0x3c1488(0x185)]/0x2,'y':_0x371484[_0x3c1488(0x256)]['y']}:null;}[_0x588cc3(0x2f7)](_0x2d41a9){let _0x2e6f44=qa(_0x2d41a9);return this['_localeService']['t'](_0x2e6f44);}[_0x588cc3(0x266)](_0x22b30f){const _0x28ecfa=_0x588cc3;let _0x38123a=this[_0x28ecfa(0x1d0)][_0x28ecfa(0xe1)]['getSnapshot']();return _0x5b32c4(_0x38123a,_0x22b30f['tableId'],_0x22b30f)?_0x28ecfa(0x23a):_0xa0aa39(_0x38123a,_0x22b30f[_0x28ecfa(0xe3)],_0x22b30f)?_0x28ecfa(0x220):null;}[_0x588cc3(0x1cb)](_0x1b1aa3){const _0x346427=_0x588cc3;return lr(this[_0x346427(0x1d0)][_0x346427(0xe1)]['getSnapshot'](),_0x1b1aa3);}[_0x588cc3(0x1e8)](_0x27547c){const _0x50fef6=_0x588cc3;var _0x160532,_0x1d5b2a;let _0x5efb14=this[_0x50fef6(0x1d0)][_0x50fef6(0xe1)][_0x50fef6(0xaf)](),_0x38015c=Math[_0x50fef6(0x23e)](_0x27547c['startRow'],_0x27547c['endRow']),_0x5e0731=Math[_0x50fef6(0x23e)](_0x27547c[_0x50fef6(0x203)],_0x27547c['endColumn']);return(_0x160532=(_0x1d5b2a=_0x5efb14['tableSource'])==null||(_0x1d5b2a=_0x1d5b2a[_0x27547c[_0x50fef6(0xe3)]])==null||(_0x1d5b2a=_0x1d5b2a[_0x50fef6(0x37b)])==null||(_0x1d5b2a=_0x1d5b2a[_0x38015c])==null||(_0x1d5b2a=_0x1d5b2a[_0x50fef6(0xd7)])==null||(_0x1d5b2a=_0x1d5b2a[_0x5e0731])==null?void 0x0:_0x1d5b2a[_0x50fef6(0x2e1)])==null?_0x493fec[_0x50fef6(0x2c3)]:_0x160532;}[_0x588cc3(0x37d)](_0x2f6f8d){const _0x3ef6b3=_0x588cc3;let _0x1bdae8=this['_getSelectionRect'](_0x2f6f8d),_0x1326b1=_0x1bdae8?this[_0x3ef6b3(0x23d)](_0x1bdae8):null;if(!_0x1326b1)return null;let _0x532952=this[_0x3ef6b3(0x29b)]();return{'bottom':_0x1326b1['y']+_0x1326b1[_0x3ef6b3(0x1ad)]-_0x532952,'left':_0x1326b1['x'],'right':_0x1326b1['x']+_0x1326b1[_0x3ef6b3(0x185)],'top':_0x1326b1['y']-_0x532952};}['_getStructuralFloatingMenuAnchorRect'](_0x166221){const _0x145447=_0x588cc3;let _0x186074=this['_getFloatingMenuAnchorRect'](_0x166221);if(!_0x186074)return null;let _0x5b11be=this[_0x145447(0x25f)]()['y']-this[_0x145447(0x29b)]();return{'bottom':_0x5b11be,'left':_0x186074['left'],'right':_0x186074[_0x145447(0x32b)],'top':_0x5b11be};}['_getFloatingMenuExtraTopGap'](){const _0x5d8909=_0x588cc3;return 0x14/this[_0x5d8909(0x335)]();}['_getSelectionRect'](_0x35fb4b){const _0x2289d8=_0x588cc3;if(!this[_0x2289d8(0x27c)])return null;let {input:_0x1d058a}=this[_0x2289d8(0x27c)],_0x2a92cb=Ia(_0x1d058a[_0x2289d8(0x9e)],_0x35fb4b[_0x2289d8(0x170)]),_0x3b7d03=Ia(_0x1d058a[_0x2289d8(0x9e)],_0x35fb4b[_0x2289d8(0x1c6)]),_0x525a36=Ia(_0x1d058a[_0x2289d8(0xcb)],_0x35fb4b[_0x2289d8(0x203)]),_0x2df43c=Ia(_0x1d058a[_0x2289d8(0xcb)],_0x35fb4b[_0x2289d8(0x336)]);if(_0x2a92cb<0x0||_0x3b7d03<0x0||_0x525a36<0x0||_0x2df43c<0x0)return null;let _0x265e0f=Math['min'](_0x525a36,_0x2df43c),_0x2948b9=Math[_0x2289d8(0x104)](_0x525a36,_0x2df43c),_0x5bd906=Math['min'](_0x2a92cb,_0x3b7d03),_0x554afc=Math[_0x2289d8(0x104)](_0x2a92cb,_0x3b7d03);return{'x':Na(_0x1d058a,Y(_0x1d058a[_0x2289d8(0x225)][_0x2289d8(0x2f1)](0x0,_0x265e0f))),'y':_0x1d058a[_0x2289d8(0x395)]['y']+Y(_0x1d058a['rowHeights']['slice'](0x0,_0x5bd906)),'width':Y(_0x1d058a[_0x2289d8(0x225)][_0x2289d8(0x2f1)](_0x265e0f,_0x2948b9+0x1)),'height':Y(_0x1d058a[_0x2289d8(0x3d4)][_0x2289d8(0x2f1)](_0x5bd906,_0x554afc+0x1))};}[_0x588cc3(0x33b)](_0x24dee9){const _0x4e8187=_0x588cc3;var _0x5b9d66;return this[_0x4e8187(0x27c)]?Ir(this[_0x4e8187(0x27c)][_0x4e8187(0x1d9)],_0x24dee9,(_0x5b9d66=this[_0x4e8187(0x1f5)])==null?null:_0x5b9d66):null;}[_0x588cc3(0x23d)](_0x25a0fd){const _0x4a0a14=_0x588cc3;if(!this[_0x4a0a14(0x27c)])return null;let _0x4751ff=this[_0x4a0a14(0x25f)](),_0x2583e1=Math[_0x4a0a14(0x104)](_0x25a0fd['x'],_0x4751ff['x']),_0x1dd711=Math[_0x4a0a14(0x23e)](_0x25a0fd['x']+_0x25a0fd[_0x4a0a14(0x185)],_0x4751ff['x']+_0x4751ff[_0x4a0a14(0x185)]),_0x12a75d=Math['max'](_0x25a0fd['y'],_0x4751ff['y']),_0x53f665=Math[_0x4a0a14(0x23e)](_0x25a0fd['y']+_0x25a0fd['height'],_0x4751ff['y']+_0x4751ff[_0x4a0a14(0x1ad)]);return _0x1dd711<=_0x2583e1||_0x53f665<=_0x12a75d?null:{'height':_0x53f665-_0x12a75d,'width':_0x1dd711-_0x2583e1,'x':_0x2583e1,'y':_0x12a75d};}['_getViewportTableRect'](){const _0x7b6065=_0x588cc3;return J(this[_0x7b6065(0x27c)][_0x7b6065(0x1d9)]);}[_0x588cc3(0x20f)](_0x1b059b,_0x37c06d,_0x293bfa,_0x59cf79,_0x11f7a8){const _0x1fbfa2=_0x588cc3;let _0xe57a1=_0x59cf79||_0x1b059b[_0x1fbfa2(0x256)][_0x1fbfa2(0x32b)]-_0x1b059b[_0x1fbfa2(0x256)][_0x1fbfa2(0x1b5)],_0x5edcbe=Number['isFinite'](_0x37c06d['pageWidth'])?Math[_0x1fbfa2(0x104)](0x0,_0x37c06d[_0x1fbfa2(0x364)]-_0x37c06d[_0x1fbfa2(0x169)]-_0x37c06d[_0x1fbfa2(0x10a)]):_0xe57a1,_0x37ca7d=Number[_0x1fbfa2(0x1dd)](_0x37c06d[_0x1fbfa2(0x364)])?Math['max'](0x0,_0x5edcbe-_0x293bfa[_0x1fbfa2(0x1b5)]):_0xe57a1,_0x140a02=Math[_0x1fbfa2(0x23e)](_0xe57a1,_0x37ca7d||_0xe57a1);if(this['_getDocumentFlavor']()!==_0x23967b[_0x1fbfa2(0x3ce)]||!Number['isFinite'](_0x37c06d[_0x1fbfa2(0x364)])||_0x37c06d[_0x1fbfa2(0x13b)]===_0x3ce922[_0x1fbfa2(0x346)])return{'contentWidth':_0x59cf79,'leadingInsetLeft':0x0,'overflowWidthThreshold':_0x5edcbe||_0xe57a1,'trailingInsetRight':0x0,'viewportLeft':_0x1b059b['rect'][_0x1fbfa2(0x1b5)],'viewportWidth':_0x140a02};let {docsLeft:_0x302437}=wa(this[_0x1fbfa2(0x1d0)][_0x1fbfa2(0x285)]),_0x26a0af=0x14/(_0x11f7a8||0x1),_0x3dd97e=Ta(this['_context']),_0xe2df70=_0x302437+_0x26a0af,_0x32b60a=Math[_0x1fbfa2(0x104)](0x0,_0x37c06d['pageWidth']-_0x26a0af*0x2),_0x41da6b=_0x3dd97e?_0x3dd97e[_0x1fbfa2(0x1b5)]+_0x26a0af:_0xe2df70,_0x563583=_0x3dd97e?Math[_0x1fbfa2(0x104)](0x0,_0x3dd97e[_0x1fbfa2(0x185)]-_0x26a0af*0x2):_0x32b60a,_0x1d5ec5=_0x302437+_0x37c06d['marginLeft'];return{'contentWidth':_0x59cf79,'leadingInsetLeft':Math[_0x1fbfa2(0x104)](0x0,_0x1d5ec5-_0x41da6b),'overflowWidthThreshold':_0x5edcbe||_0xe57a1,'trailingInsetRight':Math[_0x1fbfa2(0x104)](0x0,_0x563583-_0x59cf79),'viewportLeft':_0x41da6b,'viewportWidth':_0x563583};}[_0x588cc3(0x9c)](){const _0x406ef3=_0x588cc3;var _0x50f115,_0x11d7a1;return(_0x50f115=this[_0x406ef3(0x1d0)][_0x406ef3(0xe1)])==null||(_0x11d7a1=_0x50f115['getSnapshot'])==null||(_0x11d7a1=_0x11d7a1[_0x406ef3(0x36f)](_0x50f115))==null||(_0x11d7a1=_0x11d7a1['documentStyle'])==null?void 0x0:_0x11d7a1[_0x406ef3(0x355)];}[_0x588cc3(0x248)](){const _0x58d3c9=_0x588cc3;var _0x54ffdc;(_0x54ffdc=this[_0x58d3c9(0x1d0)]['mainComponent'])==null||_0x54ffdc[_0x58d3c9(0x3a5)](!0x0),this['_context'][_0x58d3c9(0x2e8)][_0x58d3c9(0x3a5)]();}};xa=fa([G(0x1,_0x524e37(_0x5f46dc)),G(0x2,_0x524e37(_0x58e90a)),G(0x3,_0x524e37(_0x113469)),G(0x4,_0x524e37(_0x4e5a8d)),G(0x5,_0x524e37(_0x331b54)),G(0x6,_0x524e37(_0x136628)),G(0x7,_0x524e37(ar)),G(0x8,_0x524e37(_r)),G(0x9,_0x524e37(_0x36e78d)),G(0xa,_0x5b0ad4),G(0xb,_0x1ee6b9)],xa);function Sa(_0x2183f8){const _0x4d6cd0=_0x588cc3;var _0x1df4a,_0x16bbe1;let _0x521645=(_0x1df4a=_0x2183f8[_0x4d6cd0(0xe4)][_0x4d6cd0(0x2ce)])==null?[]:_0x1df4a;if(_0x521645[_0x4d6cd0(0x1c5)]>0x0)return _0x521645['map'](_0xb888d6=>_0xb888d6[_0x4d6cd0(0x2db)][_0x4d6cd0(0x185)]['v']);let _0x4abff9=_0x2183f8[_0x4d6cd0(0xa0)][_0x4d6cd0(0x347)]((_0x522bfc,_0x1963d6)=>_0x1963d6[_0x4d6cd0(0x1ab)][_0x4d6cd0(0x1c5)]>_0x522bfc[_0x4d6cd0(0x1ab)][_0x4d6cd0(0x1c5)]?_0x1963d6:_0x522bfc,_0x2183f8[_0x4d6cd0(0xa0)][0x0]);return(_0x16bbe1=_0x4abff9==null?void 0x0:_0x4abff9['cells'][_0x4d6cd0(0x35e)](_0xe3b89b=>_0xe3b89b[_0x4d6cd0(0x364)]))==null?[]:_0x16bbe1;}function Ca(_0xdddb7a){const _0x2d5132=_0x588cc3;var _0x620012,_0x39d06c;let _0x32a4f4=(_0x620012=(_0x39d06c=_0xdddb7a[_0x2d5132(0xe4)])==null?void 0x0:_0x39d06c[_0x2d5132(0x37b)])==null?[]:_0x620012,_0x501d49=[];return _0x32a4f4[_0x2d5132(0x3d1)]((_0x28c58f,_0x1bada5)=>{const _0x1290bf=_0x2d5132;_0x28c58f[_0x1290bf(0xd7)][_0x1290bf(0x3d1)]((_0x59dc59,_0xc71143)=>{const _0xbf92c=_0x1290bf;var _0x28a6ef,_0x3232bd;let _0x2d99b0=(_0x28a6ef=_0x59dc59[_0xbf92c(0x3b2)])==null?0x1:_0x28a6ef,_0x17f234=(_0x3232bd=_0x59dc59[_0xbf92c(0x39d)])==null?0x1:_0x3232bd;(_0x2d99b0>0x1||_0x17f234>0x1)&&_0x501d49[_0xbf92c(0xba)]({'startRow':_0x1bada5,'endRow':_0x1bada5+_0x2d99b0-0x1,'startColumn':_0xc71143,'endColumn':_0xc71143+_0x17f234-0x1});});}),_0x501d49;}function wa(_0x49036d){const _0x2c8fb1=_0x588cc3;var _0x5d2dee,_0x1c8ddf,_0xc63d56,_0x142323;let _0x546acc=_0x49036d==null||(_0x5d2dee=_0x49036d[_0x2c8fb1(0x93)])==null?void 0x0:_0x5d2dee['call'](_0x49036d);return{'docsLeft':(_0x1c8ddf=_0x546acc==null?void 0x0:_0x546acc[_0x2c8fb1(0x1ef)])==null?0x0:_0x1c8ddf,'docsTop':(_0xc63d56=_0x546acc==null?void 0x0:_0x546acc['docsTop'])==null?0x0:_0xc63d56,'pageMarginTop':(_0x142323=_0x546acc==null?void 0x0:_0x546acc[_0x2c8fb1(0xcd)])==null?0x0:_0x142323};}function Ta(_0x34f9f8){const _0x3393b3=_0x588cc3;var _0x24a2e7,_0x5ec01a,_0x1b1a5a,_0x201436,_0x19c842,_0x7b1d36,_0x6f2a7c,_0x598839;let _0x3bb9a9=_0x34f9f8[_0x3393b3(0x2e8)][_0x3393b3(0x168)]()['scaleX']||0x1,_0x5c1ee8=(_0x24a2e7=(_0x5ec01a=_0x34f9f8[_0x3393b3(0x2e8)][_0x3393b3(0x362)](pa))==null?void 0x0:_0x5ec01a[_0x3393b3(0x2bd)])==null?0x0:_0x24a2e7,_0x341480=(_0x1b1a5a=_0x34f9f8['engine'])==null||(_0x201436=_0x1b1a5a[_0x3393b3(0x2ae)])==null||(_0x201436=_0x201436[_0x3393b3(0x36f)](_0x1b1a5a))==null||(_0x19c842=_0x201436['getBoundingClientRect'])==null||(_0x19c842=_0x19c842[_0x3393b3(0x36f)](_0x201436))==null?void 0x0:_0x19c842[_0x3393b3(0x185)],_0x150b35=(_0x7b1d36=(_0x6f2a7c=_0x34f9f8[_0x3393b3(0x285)])==null?void 0x0:_0x6f2a7c[_0x3393b3(0x185)])==null?_0x34f9f8[_0x3393b3(0x2e8)][_0x3393b3(0x185)]:_0x7b1d36,_0xb2a114=((_0x598839=_0x341480==null?_0x150b35:_0x341480)==null?0x0:_0x598839)/_0x3bb9a9;return!_0xb2a114||!Number[_0x3393b3(0x1dd)](_0xb2a114)||_0xb2a114<=0x0?null:{'left':_0x5c1ee8,'width':_0xb2a114};}function Ea(_0x1e27ac){const _0x4b8778=_0x588cc3;var _0x128b40;return(_0x128b40=_0x1e27ac['mainComponent'])==null?_0x1e27ac[_0x4b8778(0x2e8)]:_0x128b40;}function Da(_0x15bd78,_0x595933,_0x4a9d29){const _0x2c93a5=_0x588cc3;let {scaleX:_0x4a13d5,scaleY:_0x2237fb}=_0x4a9d29[_0x2c93a5(0x168)](),_0x366a1c=_0x4a9d29[_0x2c93a5(0x362)](pa);return _0x366a1c?{'x':_0x15bd78/_0x4a13d5+_0x366a1c['viewportScrollX'],'y':_0x595933/_0x2237fb+_0x366a1c[_0x2c93a5(0x2b3)]}:{'x':_0x15bd78,'y':_0x595933};}function K(_0x5a392d,_0x495da7,_0xd40ea9){const _0x2db349=_0x588cc3;let {scaleX:_0x32275f,scaleY:_0x48a020}=_0xd40ea9['getAncestorScale'](),_0x84ab90=_0xd40ea9[_0x2db349(0x362)](pa);return _0x84ab90?{'x':(_0x5a392d-_0x84ab90[_0x2db349(0x2bd)])*_0x32275f,'y':(_0x495da7-_0x84ab90[_0x2db349(0x2b3)])*_0x48a020}:{'x':_0x5a392d,'y':_0x495da7};}function q(_0xe7f33,_0x416c65){const _0x1fb1ba=_0x588cc3;let _0x385ad6=K(_0xe7f33['x'],_0xe7f33['y'],_0x416c65),_0x5f22ae=K(_0xe7f33['x']+_0xe7f33[_0x1fb1ba(0x185)],_0xe7f33['y']+_0xe7f33[_0x1fb1ba(0x1ad)],_0x416c65);return{'height':_0x5f22ae['y']-_0x385ad6['y'],'width':_0x5f22ae['x']-_0x385ad6['x'],'x':_0x385ad6['x'],'y':_0x385ad6['y']};}function Oa(_0x10bad8,_0x3a5178){const _0x495850=_0x588cc3;return{..._0x10bad8,'thumb':q(_0x10bad8[_0x495850(0x117)],_0x3a5178),'track':q(_0x10bad8[_0x495850(0xa8)],_0x3a5178)};}function ka(_0x5f5826){const _0x27622d=_0x588cc3;let _0x5688fc=_0x5f5826[_0x27622d(0x295)];return typeof _0x5688fc=='number'?(_0x5688fc&0x1)==0x1:!0x0;}function J(_0x234794){const _0x5686d7=_0x588cc3;var _0x514fdd,_0x4f284e,_0x54fd25,_0x4ac14e;return{..._0x234794[_0x5686d7(0x395)],'x':(_0x514fdd=(_0x4f284e=_0x234794['viewport'])==null?void 0x0:_0x4f284e['viewportLeft'])==null?_0x234794[_0x5686d7(0x395)]['x']:_0x514fdd,'width':(_0x54fd25=(_0x4ac14e=_0x234794['viewport'])==null?void 0x0:_0x4ac14e[_0x5686d7(0xf8)])==null?_0x234794['tableRect']['width']:_0x54fd25};}function Aa(_0x129fe1){const _0x1e2dad=_0x588cc3;var _0x26579d;if(!_0x129fe1[_0x1e2dad(0x2c4)])return _0x129fe1[_0x1e2dad(0x395)]['x'];let _0x33e8b7=(_0x26579d=_0x129fe1[_0x1e2dad(0x2c4)][_0x1e2dad(0x236)])==null?_0x129fe1[_0x1e2dad(0x395)]['x']:_0x26579d;return Math[_0x1e2dad(0x104)](_0x33e8b7,Na(_0x129fe1,0x0));}function ja(_0x53aeb8){const _0xee614c=_0x588cc3;var _0x30785b;if(!_0x53aeb8[_0xee614c(0x2c4)])return _0x53aeb8['tableRect']['x']+_0x53aeb8[_0xee614c(0x395)]['width'];let _0x14832f=((_0x30785b=_0x53aeb8[_0xee614c(0x2c4)][_0xee614c(0x236)])==null?_0x53aeb8[_0xee614c(0x395)]['x']:_0x30785b)+_0x53aeb8[_0xee614c(0x2c4)][_0xee614c(0xf8)],_0x1d5774=Na(_0x53aeb8,Y(_0x53aeb8[_0xee614c(0x225)]));return Math['min'](_0x14832f,_0x1d5774);}function Ma(_0x4ca192,_0x5e3588){const _0x3db30a=_0x588cc3;var _0x53ca61,_0x3c9aac,_0x1e5e16,_0x452cad,_0x5b910b,_0x1e484e;let _0x332ecc=(_0x53ca61=(_0x3c9aac=_0x4ca192[_0x3db30a(0x2c4)])==null?void 0x0:_0x3c9aac[_0x3db30a(0x17c)])==null?0x0:_0x53ca61,_0x22e13a=_0x5e3588-((_0x1e5e16=(_0x452cad=_0x4ca192[_0x3db30a(0x2c4)])==null?void 0x0:_0x452cad['viewportLeft'])==null?_0x4ca192[_0x3db30a(0x395)]['x']:_0x1e5e16)-_0x332ecc+((_0x5b910b=(_0x1e484e=_0x4ca192['viewport'])==null?void 0x0:_0x1e484e['scrollLeft'])==null?0x0:_0x5b910b),_0x8364bf=Y(_0x4ca192['columnWidths']);return _0x22e13a<0x0||_0x22e13a>_0x8364bf?null:_0x22e13a;}function Na(_0x4b6feb,_0x2bc203){const _0x3adf5a=_0x588cc3;var _0x53784a,_0x586125,_0xfad16b,_0x14b801,_0x43991e,_0x43a8fb;let _0x34fb19=(_0x53784a=(_0x586125=_0x4b6feb[_0x3adf5a(0x2c4)])==null?void 0x0:_0x586125['leadingInsetLeft'])==null?0x0:_0x53784a;return((_0xfad16b=(_0x14b801=_0x4b6feb['viewport'])==null?void 0x0:_0x14b801['viewportLeft'])==null?_0x4b6feb[_0x3adf5a(0x395)]['x']:_0xfad16b)+_0x34fb19+_0x2bc203-((_0x43991e=(_0x43a8fb=_0x4b6feb[_0x3adf5a(0x2c4)])==null?void 0x0:_0x43a8fb[_0x3adf5a(0x22b)])==null?0x0:_0x43991e);}function Pa(_0x6bb174,_0x13e98b,_0x2bd47b,_0x2c2755,_0x160e97,_0x4accc3){const _0x1ad23e=_0x588cc3;if(_0x6bb174[_0x1ad23e(0x1a8)]){_0x6bb174['beginPath'](),_0x6bb174[_0x1ad23e(0x1a8)](_0x13e98b,_0x2bd47b,_0x2c2755,_0x160e97,_0x4accc3);return;}_0x6bb174['beginPath'](),_0x6bb174[_0x1ad23e(0x256)](_0x13e98b,_0x2bd47b,_0x2c2755,_0x160e97);}function Y(_0x51c167){const _0x5f234a=_0x588cc3;return _0x51c167[_0x5f234a(0x347)]((_0x46235b,_0x21d759)=>_0x46235b+_0x21d759,0x0);}function Fa(_0x1fb6c2,_0x160319){const _0x40fda0=_0x588cc3;return _0x1fb6c2?_0x1fb6c2[_0x40fda0(0x242)]!==_0x160319[_0x40fda0(0x242)]||_0x1fb6c2[_0x40fda0(0x17c)]!==_0x160319[_0x40fda0(0x17c)]||_0x1fb6c2[_0x40fda0(0x28d)]!==_0x160319['overflowWidthThreshold']||_0x1fb6c2[_0x40fda0(0x22b)]!==_0x160319[_0x40fda0(0x22b)]||_0x1fb6c2[_0x40fda0(0x297)]!==_0x160319[_0x40fda0(0x297)]||_0x1fb6c2[_0x40fda0(0x236)]!==_0x160319[_0x40fda0(0x236)]||_0x1fb6c2[_0x40fda0(0xf8)]!==_0x160319[_0x40fda0(0xf8)]:!0x0;}function Ia(_0x3e9391,_0x69cd54){const _0x58346d=_0x588cc3;return _0x3e9391?_0x3e9391[_0x58346d(0x34c)](_0x5cbd21=>_0x5cbd21===_0x69cd54):_0x69cd54;}function La(_0x156eda,_0x2c44b6){const _0x2a5c57=_0x588cc3;let _0x1bdb3c=0x0;for(let _0x309b55=0x0;_0x309b55<_0x156eda[_0x2a5c57(0x1c5)];_0x309b55++)if(_0x1bdb3c+=_0x156eda[_0x309b55],_0x2c44b6<=_0x1bdb3c)return _0x309b55;return _0x156eda['length']-0x1;}function X(_0x3dc0af,_0x264573,_0x215c67){const _0x544473=_0x588cc3;return _0x264573>=_0x3dc0af['x']&&_0x264573<=_0x3dc0af['x']+_0x3dc0af[_0x544473(0x185)]&&_0x215c67>=_0x3dc0af['y']&&_0x215c67<=_0x3dc0af['y']+_0x3dc0af[_0x544473(0x1ad)];}function Ra(_0x377d3a){const _0x13093c=_0x588cc3;return typeof _0x377d3a['clientX']==_0x13093c(0x2d6)&&typeof _0x377d3a[_0x13093c(0x306)]==_0x13093c(0x2d6);}function za(_0x5a8baf){const _0x27161d=_0x588cc3;return _0x5a8baf[_0x27161d(0x122)]===_0x5b4ff1[_0x27161d(0xc4)]||_0x5a8baf['kind']===_0x4e9e70[_0x27161d(0xc4)]||_0x5a8baf[_0x27161d(0x389)]===_0x4e9e70[_0x27161d(0x15b)]?!0x1:_0x5a8baf[_0x27161d(0x170)]>=0x0&&_0x5a8baf[_0x27161d(0x1c6)]>=0x0&&_0x5a8baf['startColumn']>=0x0&&_0x5a8baf[_0x27161d(0x336)]>=0x0;}function Ba(_0xc839f4){const _0x34071d=_0x588cc3;return _0xc839f4[_0x34071d(0x389)]===_0x4e9e70[_0x34071d(0x3da)]||_0xc839f4[_0x34071d(0x389)]===_0x4e9e70[_0x34071d(0x226)]||_0xc839f4['kind']===_0x4e9e70['Table'];}function Va(_0x3780c3){const _0x530be6=_0x588cc3;return _0x3780c3?[_0x3780c3[_0x530be6(0x1b5)],_0x3780c3[_0x530be6(0x120)],_0x3780c3['right'],_0x3780c3[_0x530be6(0x304)]]['join'](':'):'';}function Ha(_0x49e873){return{'x':_0x49e873['x'],'y':_0x49e873['y'],'width':0xb4,'height':0x48};}function Ua(_0x3ea212){return{'x':_0x3ea212['x'],'y':_0x3ea212['y'],'width':0x94,'height':0x48};}function Wa(){const _0x231608=_0x588cc3;return[{'direction':_0x20224c[_0x231608(0x39a)],'labelKey':_0x231608(0x211)},{'direction':_0x20224c[_0x231608(0x1f1)],'labelKey':_0x231608(0x39f)}];}function Ga(){const _0x43a0b5=_0x588cc3;return[_0x5b5677[_0x43a0b5(0x1f0)],_0x5b5677[_0x43a0b5(0x142)],_0x5b5677[_0x43a0b5(0x1da)],_0x5b5677[_0x43a0b5(0x179)],_0x5b5677[_0x43a0b5(0x1f6)],_0x5b5677[_0x43a0b5(0x3ad)],_0x5b5677[_0x43a0b5(0x29d)],_0x5b5677[_0x43a0b5(0x15b)],_0x5b5677[_0x43a0b5(0xad)],_0x5b5677[_0x43a0b5(0x2b2)]][_0x43a0b5(0x35e)](_0x53c495=>({'iconName':yr(_0x53c495),'preset':_0x53c495}));}function Ka(_0x47686f){const _0x323bf5=_0x588cc3;var _0xcad215;return(_0xcad215={'column-header':'docs-table-ui.selectColumn','column-insert-dot':'docs-table-ui.insertColumn','row-header':_0x323bf5(0x333),'row-insert-dot':_0x323bf5(0x2e4),'table-select':_0x323bf5(0x38c)}[_0x47686f])==null?null:_0xcad215;}function qa(_0x59df2e){const _0x249f3d=_0x588cc3;return{'all':_0x249f3d(0xb4),'bottom':_0x249f3d(0x382),'inner':_0x249f3d(0x195),'innerHorizontal':_0x249f3d(0x31b),'innerVertical':'docs-table-ui.borderInnerVertical','left':_0x249f3d(0x301),'none':_0x249f3d(0x3b3),'outer':'docs-table-ui.borderOuter','right':_0x249f3d(0x1d2),'top':'docs-table-ui.borderTop'}[_0x59df2e];}let Ja=class extends _0x465703{constructor(_0x5e5b05){const _0x3dbf7e=_0x588cc3;super(),this['_commandService']=_0x5e5b05,this[_0x3dbf7e(0x181)](this[_0x3dbf7e(0x3c5)]['registerCommand'](z));}};Ja=fa([G(0x0,_0x1ee6b9)],Ja);let Ya=class extends _0x465703{constructor(_0x37bd2a){const _0x37cd6d=_0x588cc3;super(),this[_0x37cd6d(0x3c5)]=_0x37bd2a,[Ti,Ei,Di,Oi,ki,Ai,ji,Mi,Ni,Pi][_0x37cd6d(0x3d1)](_0xe14fd=>this[_0x37cd6d(0x181)](this['_commandService'][_0x37cd6d(0x2cd)](_0xe14fd)));}};Ya=fa([G(0x0,_0x1ee6b9)],Ya);let Xa=class extends _0x465703{constructor(_0x4f2e3d,_0x2a35b5){const _0x20000f=_0x588cc3;super(),this[_0x20000f(0x3c5)]=_0x4f2e3d,this['_shortcutService']=_0x2a35b5,this[_0x20000f(0x181)](this[_0x20000f(0x3c5)][_0x20000f(0x2cd)](Ln)),this['disposeWithMe'](this['_shortcutService'][_0x20000f(0x305)](Rn));}};Xa=fa([G(0x0,_0x1ee6b9),G(0x1,_0x339238)],Xa);const Za='doc.menu.table',Qa=_0x588cc3(0x201),$a={'rowCount':0x3,'colCount':0x5};function eo(_0x55b895){const _0x1cd471=_0x588cc3;return{'id':Za,'commandId':z['id'],'selectionsCommandId':z['id'],'params':$a,'type':_0x8462f5[_0x1cd471(0x31e)],'icon':_0x1cd471(0x2a9),'tooltip':'docs-table-ui.table.main','slot':!0x0,'hidden$':ro(_0x55b895),'selections':[{'label':{'name':Qa,'hoverable':!0x1,'selectable':!0x1}}]};}function to(_0x103963){const _0x5ae710=_0x588cc3;return{'id':z['id'],'commandId':z['id'],'selectionsCommandId':z['id'],'params':$a,'type':_0x8462f5[_0x5ae710(0x265)],'icon':_0x5ae710(0x2a9),'title':_0x5ae710(0x23f),'hidden$':ro(_0x103963),'selections':[{'label':{'name':Qa,'hoverable':!0x1,'selectable':!0x1}}]};}function no(_0x3d8931){const _0x13eb02=_0x588cc3;return{'id':z['id'],'commandId':z['id'],'selectionsCommandId':z['id'],'params':$a,'type':_0x8462f5['BUTTON_SELECTOR'],'icon':'GridIcon','title':_0x13eb02(0x23f),'hidden$':ro(_0x3d8931),'selections':[{'label':{'name':Qa,'hoverable':!0x1,'selectable':!0x1}}]};}function ro(_0x21f179){const _0x31f638=_0x588cc3;let _0x517c21=_0x1b13c4(_0x21f179,_0x3ce9c7['UNIVER_DOC'],void 0x0),_0x18c3b8=io(_0x21f179);return _0x18c3b8?_0xe99e71([_0x517c21,_0x18c3b8[_0x31f638(0x2d1)]['pipe'](_0x2b0113(_0x18c3b8[_0x31f638(0xc6)]()),_0x3ff622(_0x375f6a=>!!(_0x375f6a!=null&&_0x375f6a['tableId'])))])['pipe'](_0x3ff622(([_0x33adba,_0x5261e1])=>_0x33adba||_0x5261e1)):_0x517c21;}function io(_0x57c018){const _0x2bb586=_0x588cc3;try{let _0xe9fe01=_0x57c018[_0x2bb586(0x134)](_0x136628);if(_0xe9fe01&&typeof _0xe9fe01[_0x2bb586(0xc6)]==_0x2bb586(0x13e)&&_0xe9fe01['selectionChange$'])return _0xe9fe01;}catch{return null;}return null;}function ao(_0x4307fd){const _0xb92a96=_0x588cc3;let _0x169a29=_0x1a05d5(_0x36e78d),[_0x1924e8,_0x5de8ae]=_0x2cd855({'colCount':0x5,'rowCount':0x3}),[_0x43f642,_0x187898]=_0x2cd855(0x3),[_0xb29dee,_0x2a3571]=_0x2cd855(0x5),_0x257475=_0x4bfb4e=>{const _0x1ea508=_0x2ee5;var _0x461884;(_0x461884=_0x4307fd[_0x1ea508(0x97)])==null||_0x461884[_0x1ea508(0x36f)](_0x4307fd,Nn(_0x4bfb4e[_0x1ea508(0x34f)],_0x4bfb4e[_0x1ea508(0xbc)]));};return _0x3f3610(_0xb92a96(0x3af),{'className':_0xb92a96(0x17f),'data-u-comp':Qa,'onClick':_0xa561b6=>_0xa561b6[_0xb92a96(0xb2)](),'onMouseDown':_0x275a90=>_0x275a90[_0xb92a96(0xb2)](),'children':[_0x117f47(_0xb92a96(0x2e0),{'className':_0xb92a96(0x342),'style':{'gridTemplateColumns':'repeat(14,\x201fr)'},'children':Array[_0xb92a96(0x2b1)]({'length':0xa})['map']((_0x357f1c,_0x5cfe66)=>Array[_0xb92a96(0x2b1)]({'length':0xe})[_0xb92a96(0x35e)]((_0x364827,_0x23aa33)=>{const _0x81497b=_0xb92a96;let _0xd862c8=_0x5cfe66+0x1,_0x424bdc=_0x23aa33+0x1,_0x3168b2=_0xd862c8<=_0x1924e8[_0x81497b(0x34f)]&&_0x424bdc<=_0x1924e8[_0x81497b(0xbc)];return _0x117f47('button',{'type':_0x81497b(0x24a),'aria-label':_0x169a29['t'](_0x81497b(0x2dc))+'\x20'+_0x424bdc+_0x81497b(0x2bb)+_0xd862c8,'className':_0x14ce3e(_0x81497b(0x28b),_0x3168b2?_0x81497b(0x3b8):'univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50'),'onClick':()=>_0x257475({'colCount':_0x424bdc,'rowCount':_0xd862c8}),'onMouseEnter':()=>_0x5de8ae({'colCount':_0x424bdc,'rowCount':_0xd862c8})},_0xd862c8+':'+_0x424bdc);}))}),_0x3f3610('div',{'className':_0xb92a96(0x3b5),'children':[_0x1924e8['colCount'],'\x20×\x20',_0x1924e8[_0xb92a96(0x34f)]]}),_0x3f3610(_0xb92a96(0x2e0),{'className':_0xb92a96(0x393),'children':[_0x117f47(_0xb92a96(0x2e0),{'className':_0xb92a96(0x315),'children':_0x169a29['t'](_0xb92a96(0x2f6))}),_0x3f3610(_0xb92a96(0x2e0),{'className':_0xb92a96(0x234),'children':[_0x3f3610('label',{'className':_0xb92a96(0xf9),'children':[_0x117f47(_0xb92a96(0x2d4),{'children':_0x169a29['t'](_0xb92a96(0x326))}),_0x117f47(_0x1f8192,{'className':_0xb92a96(0x2e7),'min':0x1,'max':0x14,'precision':0x0,'value':_0x43f642,'onChange':_0x3a54e6=>_0x187898(Fn(_0x3a54e6))})]}),_0x3f3610(_0xb92a96(0x272),{'className':'univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','children':[_0x117f47('span',{'children':_0x169a29['t'](_0xb92a96(0xd2))}),_0x117f47(_0x1f8192,{'className':_0xb92a96(0x2e7),'min':0x1,'max':0x14,'precision':0x0,'value':_0xb29dee,'onChange':_0x89d27c=>_0x2a3571(Fn(_0x89d27c))})]}),_0x117f47(_0x60ff0e,{'className':_0xb92a96(0x202),'style':{'gridColumn':_0xb92a96(0x27e)},'variant':'primary','onClick':()=>_0x257475({'colCount':_0xb29dee,'rowCount':_0x43f642}),'children':_0x169a29['t'](_0xb92a96(0x30f))})]})]})]});}const oo=_0x588cc3(0x2aa),so=_0x588cc3(0xa3),co=_0x588cc3(0x12f),lo=_0x588cc3(0x216),uo=_0x588cc3(0x173),fo=_0x588cc3(0xd9),po=_0x588cc3(0x2e2),mo='ribbon.start.docs-table-style',ho=_0x588cc3(0x274),go=_0x588cc3(0x3d6),_o='doc.operation.show-hyper-link-edit-popup',vo='docs.operation.start-add-comment',yo={'all':'AllBorderIcon','bottom':_0x588cc3(0x116),'inner':'InnerBorderDoubleIcon','innerHorizontal':_0x588cc3(0x92),'innerVertical':_0x588cc3(0xdb),'left':_0x588cc3(0x100),'none':_0x588cc3(0xbe),'outer':_0x588cc3(0xe9),'right':'RightBorderDoubleIcon','top':_0x588cc3(0x3b0)};function bo(_0x209020){const _0x443f36=_0x588cc3;return{'id':oo,'type':_0x8462f5[_0x443f36(0x31e)],'title':'docs-table-ui.table.main','hidden$':_0x1b13c4(_0x209020,_0x3ce9c7[_0x443f36(0x367)])};}function xo(){const _0x244a7d=_0x588cc3;return{'id':so,'type':_0x8462f5[_0x244a7d(0x31e)],'title':_0x244a7d(0x3c0)};}function So(_0x1389be){const _0xf6543f=_0x588cc3;return{'id':co,'type':_0x8462f5['SUBITEMS'],'title':_0xf6543f(0xc5),'icon':_0xf6543f(0x129),'hidden$':_0x1389be?$(_0x1389be):void 0x0};}function Co(_0x308ff8){const _0x31a6e8=_0x588cc3;return{'id':lo,'type':_0x8462f5['SUBITEMS'],'title':_0x31a6e8(0x394),'hidden$':_0x308ff8?$(_0x308ff8):void 0x0};}function wo(_0x310c56){const _0x356fb1=_0x588cc3;return{'id':uo,'type':_0x8462f5[_0x356fb1(0x31e)],'title':'docs-table-ui.distribute','hidden$':_0x310c56?$(_0x310c56):void 0x0};}function To(_0x3fcdd1){const _0x598603=_0x588cc3;return{'id':fo,'type':_0x8462f5[_0x598603(0x31e)],'title':_0x598603(0x2a2),'icon':yo['all'],'hidden$':_0x3fcdd1?$(_0x3fcdd1):void 0x0};}function Eo(_0xf59dc9){const _0x45ce2a=_0x588cc3;return{'id':po,'type':_0x8462f5[_0x45ce2a(0x31e)],'title':_0x45ce2a(0x150),'hidden$':_0xf59dc9?$(_0xf59dc9):void 0x0};}function Do(){return _s(ho,'docs-table-ui.table.insert');}function Oo(){return _s(go,'docs-table-ui.table.delete');}function ko(){return vs(_o);}function Ao(){return vs(vo);}function jo(_0x2f00ea){const _0x426731=_0x588cc3;return{...Z(_0x3b9da6['id'],_0x426731(0x1ae),void 0x0,_0x2f00ea),'id':_0x3b9da6['id'],'icon':_0x426731(0xcf)};}function Mo(_0x206278){const _0x2d03ba=_0x588cc3;return{...Z(_0x355f52['id'],_0x2d03ba(0x270),{'position':'above'},_0x206278),'icon':_0x2d03ba(0x1a9)};}function No(_0x475d87){const _0x2c8356=_0x588cc3;return{...Z(_0x355f52['id'],_0x2c8356(0x14d),{'position':_0x2c8356(0x373)},_0x475d87),'icon':'InsertRowBelowDoubleIcon'};}function Po(_0x4d57d4){const _0x54412c=_0x588cc3;return{...Z(_0x54b98f['id'],'docs-table-ui.insertColumnLeft',{'position':_0x54412c(0x1b5)},_0x4d57d4),'icon':_0x54412c(0xb9)};}function Fo(_0x357071){const _0x5fda6d=_0x588cc3;return{...Z(_0x54b98f['id'],_0x5fda6d(0x390),{'position':_0x5fda6d(0x32b)},_0x357071),'icon':_0x5fda6d(0x3d3)};}function Io(_0x58b66d){const _0x1c9fe5=_0x588cc3;return Z(_0x29508d['id'],_0x1c9fe5(0x1bd),void 0x0,_0x58b66d);}function Lo(_0x2a1ea4){const _0x45ec7=_0x588cc3;return Z(_0x12eb0d['id'],_0x45ec7(0x232),void 0x0,_0x2a1ea4);}function Ro(_0x4c198d){const _0x1460b6=_0x588cc3;return Z(_0x3db4c8['id'],_0x1460b6(0x388),void 0x0,_0x4c198d);}function zo(_0x43dd18){return Z(_0x3d1fe4['id'],'docs-table-ui.mergeCells',void 0x0,_0x43dd18,_0x43dd18?Ss(_0x43dd18):void 0x0);}function Bo(_0x176d6c){const _0x569f6a=_0x588cc3;return Z(_0x4c3a4e['id'],_0x569f6a(0x39c),void 0x0,_0x176d6c,_0x176d6c?Cs(_0x176d6c):void 0x0);}function Vo(_0x370bc6){const _0x22fc67=_0x588cc3;return Z(_0x20437f['id'],_0x22fc67(0x2ba),void 0x0,_0x370bc6,void 0x0,_0x370bc6?ys(_0x370bc6):void 0x0);}function Ho(_0x5a89c0){const _0x2b4f89=_0x588cc3;return Z(_0xffec9e['id'],_0x2b4f89(0x3a4),void 0x0,_0x5a89c0,void 0x0,_0x5a89c0?ys(_0x5a89c0):void 0x0);}function Uo(_0x543b44){const _0x53cb3a=_0x588cc3;return Z(_0x27aace['id'],_0x53cb3a(0x211),{'direction':_0x20224c[_0x53cb3a(0x39a)]},_0x543b44);}function Wo(_0x491d2a){const _0x5b3d8=_0x588cc3;return Z(_0x27aace['id'],_0x5b3d8(0x39f),{'direction':_0x20224c['Desc']},_0x491d2a);}function Go(_0x146690){const _0x134492=_0x588cc3;return Z(_0xdb5a57['id'],_0x134492(0x3a3),void 0x0,_0x146690);}function Ko(_0x8accbd){return Z(_0x1a4c8c['id'],'docs-table-ui.distributeColumns',void 0x0,_0x8accbd);}function qo(_0x2f4c45){const _0x2fb03d=_0x588cc3;return Q(_0x2fb03d(0xb4),_0x5b5677[_0x2fb03d(0x1f0)],_0x2f4c45);}function Jo(_0x1f9bb5){const _0x3acc29=_0x588cc3;return Q(_0x3acc29(0x382),_0x5b5677[_0x3acc29(0x1f6)],_0x1f9bb5);}function Yo(_0x4d4a63){const _0x850865=_0x588cc3;return Q('docs-table-ui.borderInner',_0x5b5677[_0x850865(0x142)],_0x4d4a63);}function Xo(_0x383e2d){const _0xabba6d=_0x588cc3;return Q(_0xabba6d(0x31b),_0x5b5677[_0xabba6d(0xad)],_0x383e2d);}function Zo(_0x41d55d){return Q('docs-table-ui.borderInnerVertical',_0x5b5677['InnerVertical'],_0x41d55d);}function Qo(_0x175f55){const _0x4cb405=_0x588cc3;return Q(_0x4cb405(0x301),_0x5b5677[_0x4cb405(0x3ad)],_0x175f55);}function $o(_0x4c2cbe){const _0x456e69=_0x588cc3;return Q(_0x456e69(0x11b),_0x5b5677[_0x456e69(0x1da)],_0x4c2cbe);}function es(_0x37c54c){const _0x1e8dac=_0x588cc3;return Q(_0x1e8dac(0x3b3),_0x5b5677['None'],_0x37c54c);}function ts(_0x46a856){const _0x3f8be3=_0x588cc3;return Q(_0x3f8be3(0x1d2),_0x5b5677['Right'],_0x46a856);}function ns(_0x5b9473){const _0xc0848d=_0x588cc3;return Q(_0xc0848d(0x222),_0x5b5677['Top'],_0x5b9473);}function rs(_0x1026e9){const _0x1c0748=_0x588cc3;return gs({'accessor':_0x1026e9,'commandId':_0xee838c['id'],'defaultColor':_0x17a961['bg'][_0x1c0748(0x124)],'icon':_0x1c0748(0xf7),'tooltip':_0x1c0748(0x10b)});}function is(_0x4b5e51){const _0x4e2d31=_0x588cc3;return gs({'accessor':_0x4b5e51,'commandId':_0x193098['id'],'defaultColor':_0x4e2d31(0x282),'icon':_0x4e2d31(0xf7),'tooltip':'docs-table-ui.borderColor'});}function as(_0x1f9f0f){const _0x47ce6c=_0x588cc3;return{'id':_0x4cae19['id'],'type':_0x8462f5[_0x47ce6c(0x35d)],'icon':_0x47ce6c(0x3a6),'tooltip':_0x47ce6c(0x2fd),'selections':[0x0,0.5,0.75,0x1,1.5,2.25,0x3,4.5,0x6]['map'](_0x467be2=>({'value':_0x467be2,'label':_0x467be2+'pt'})),'value$':_0x34dd70(0x1),'hidden$':_0x1f9f0f?$(_0x1f9f0f):void 0x0};}function os(_0x26cf20){const _0x3ef85e=_0x588cc3;return{'id':_0x9f33a0['id'],'type':_0x8462f5[_0x3ef85e(0x35d)],'icon':_0x3ef85e(0xc7),'tooltip':'docs-table-ui.borderStyle','selections':[{'value':_0x3ef85e(0x1a4),'label':_0x3ef85e(0x286),'icon':'DocsTableBorderStyleSolidIcon'},{'value':_0x3ef85e(0x130),'label':_0x3ef85e(0x328),'icon':'DocsTableBorderStyleDottedIcon'},{'value':_0x3ef85e(0x1c9),'label':'docs-table-ui.borderStyleDashed','icon':_0x3ef85e(0x1ec)}],'value$':_0x34dd70('solid'),'hidden$':_0x26cf20?$(_0x26cf20):void 0x0};}function ss(_0x2dc1a6){const _0x53d8cc=_0x588cc3;let _0x90bdff=_0x17a961['bg'][_0x53d8cc(0x124)];return{'id':_0x16a106['id'],'tooltip':_0x53d8cc(0x2ad),'type':_0x8462f5[_0x53d8cc(0x265)],'icon':'PaintBucketDoubleIcon','selections':[{'label':{'name':_0x22b729,'hoverable':!0x1,'selectable':!0x1},'value$':_0x34dd70(_0x90bdff)}],'value$':_0x34dd70(_0x90bdff),'hidden$':_0x2dc1a6?xs(_0x2dc1a6):void 0x0};}function cs(_0x3e8e6b){const _0x34ff2b=_0x588cc3;return{'id':_0x17dfd5['id'],'commandId':_0x17dfd5['id'],'type':_0x8462f5[_0x34ff2b(0xaa)],'title':_0x34ff2b(0x176),'icon':'NoColorDoubleIcon','hidden$':_0x3e8e6b?xs(_0x3e8e6b):void 0x0};}function ls(_0x3537ab){const _0x498713=_0x588cc3;return Z(_0x3d0158['id'],_0x498713(0x3bd),{'config':{'type':_0x498713(0x380)}},_0x3537ab);}function us(_0x27b761){const _0x358156=_0x588cc3;return Z(_0x3d0158['id'],'docs-table-ui.columnTypeNumber',{'config':{'type':_0x358156(0x2d6)}},_0x27b761);}function ds(_0x1f21bc){const _0x1d743b=_0x588cc3;return Z(_0x3d0158['id'],_0x1d743b(0xec),{'config':{'type':_0x1d743b(0xda)}},_0x1f21bc);}function fs(_0x1b37f5){const _0x353fc6=_0x588cc3;return Z(_0x3d0158['id'],_0x353fc6(0x18c),{'config':{'type':'checkbox'}},_0x1b37f5);}function ps(_0x59af8c){const _0x56c49d=_0x588cc3;return Z(_0x3d0158['id'],_0x56c49d(0x2b8),{'config':{'type':_0x56c49d(0x369),'dropdownOptions':[]}},_0x59af8c);}function ms(_0x2ce616,_0x43facd){const _0x6da65e=_0x588cc3;return _0x2ce616<=0x1?_0x43facd===_0x6da65e(0x2fe)?_0x6da65e(0x270):_0x6da65e(0x14d):_0x43facd===_0x6da65e(0x2fe)?_0x6da65e(0xbd):_0x6da65e(0x1c1);}function hs(_0x577e19,_0x37894f){const _0x3e32f6=_0x588cc3;return _0x577e19<=0x1?_0x37894f===_0x3e32f6(0x1b5)?_0x3e32f6(0xeb):'docs-table-ui.insertColumnRight':_0x37894f===_0x3e32f6(0x1b5)?_0x3e32f6(0x363):_0x3e32f6(0x1b1);}function Z(_0x40d4cd,_0x110155,_0x3cf69a,_0x5b0137,_0x35bd2d,_0x3a61c1){const _0x3f209c=_0x588cc3;return{'id':_0x40d4cd+'.'+_0x110155['split']('.')['pop'](),'commandId':_0x40d4cd,'type':_0x8462f5[_0x3f209c(0xaa)],'title':_0x110155,'params':_0x3cf69a,'hidden$':_0x3a61c1==null?_0x5b0137?$(_0x5b0137):void 0x0:_0x3a61c1,'disabled$':_0x35bd2d};}function Q(_0x59f802,_0x3ec9d6,_0x50b183){return{...Z(_0x24dc2c['id'],_0x59f802,{'preset':_0x3ec9d6},_0x50b183),'icon':yo[_0x3ec9d6]};}function gs(_0x533774){const _0x38926c=_0x588cc3;let _0x23f23d=_0x533774[_0x38926c(0x26d)]||_0x38926c(0x282);return{'id':_0x533774[_0x38926c(0x143)],'tooltip':_0x533774['tooltip'],'type':_0x8462f5[_0x38926c(0x265)],'icon':_0x533774['icon'],'selections':[{'label':{'name':_0x22b729,'hoverable':!0x1,'selectable':!0x1},'value$':_0x34dd70(_0x23f23d)}],'value$':_0x533774[_0x38926c(0x334)]?new _0x2ca07a(_0x1d0f0a=>{const _0x3cee3f=_0x38926c;let _0x39759b=_0x533774[_0x3cee3f(0x334)][_0x3cee3f(0x134)](_0x5375f9)[_0x3cee3f(0x90)][_0x3cee3f(0x35a)](()=>_0x1d0f0a[_0x3cee3f(0x131)](_0x23f23d));return _0x1d0f0a['next'](_0x23f23d),()=>_0x39759b[_0x3cee3f(0x1e3)]();}):_0x34dd70(_0x23f23d),'hidden$':_0x533774[_0x38926c(0x334)]?$(_0x533774[_0x38926c(0x334)]):void 0x0};}function _s(_0x2baf40,_0x1018b8){return{'id':_0x2baf40,'type':_0x8462f5['SUBITEMS'],'title':_0x1018b8,'hidden$':_0x34dd70(!0x0)};}function vs(_0x28ecc1,_0x33c4b4){const _0x2aae8d=_0x588cc3;return{'id':_0x28ecc1,'commandId':_0x28ecc1,'type':_0x8462f5[_0x2aae8d(0xaa)],'title':_0x33c4b4,'hidden$':_0x34dd70(!0x0)};}function $(_0x177c85){const _0x455bf6=_0x588cc3;let _0xbc6741=ws(_0x177c85);return _0xe99e71([_0x1b13c4(_0x177c85,_0x3ce9c7['UNIVER_DOC']),_0xbc6741['pipe'](_0x3ff622(_0x17c346=>!(_0x17c346!=null&&_0x17c346[_0x455bf6(0xe3)])))])[_0x455bf6(0x3cd)](_0x3ff622(([_0x1babed,_0x7af590])=>_0x1babed||_0x7af590));}function ys(_0x5d6ef1){return _0xe99e71([$(_0x5d6ef1),bs(_0x5d6ef1)])['pipe'](_0x3ff622(([_0x12e20a,_0x25c81a])=>_0x12e20a||_0x25c81a));}function bs(_0x40d109){const _0x498b1a=_0x588cc3;let _0x2f5501=_0x40d109[_0x498b1a(0x134)](_0x5375f9);return new _0x2ca07a(_0x9ec1ea=>{let _0x5352f3=_0x2ecf5c=>{const _0x2d0efc=_0x2ee5;var _0x115fe5;let _0x2aea74=_0x2ecf5c?_0x2f5501[_0x2d0efc(0x192)](_0x2ecf5c):_0x2f5501[_0x2d0efc(0x1d8)](),_0x380d5b=_0x2aea74==null||(_0x115fe5=_0x2aea74['getSnapshot']())==null||(_0x115fe5=_0x115fe5[_0x2d0efc(0x287)])==null?void 0x0:_0x115fe5[_0x2d0efc(0x355)];_0x9ec1ea[_0x2d0efc(0x131)](_0x380d5b!==_0x23967b[_0x2d0efc(0x161)]);},_0x1c92be=_0x2f5501['focused$']['subscribe'](_0x346596=>_0x5352f3(_0x346596==null?null:_0x346596));return _0x5352f3(),()=>_0x1c92be['unsubscribe']();});}function xs(_0x53ba02){const _0x4b2d00=_0x588cc3;let _0x28f3bd=ws(_0x53ba02);return _0xe99e71([_0x1b13c4(_0x53ba02,_0x3ce9c7[_0x4b2d00(0x367)]),_0x28f3bd['pipe'](_0x3ff622(_0x4649b5=>!!(_0x4649b5!=null&&_0x4649b5['tableId'])))])['pipe'](_0x3ff622(([_0x800ab,_0x13b44a])=>_0x800ab||_0x13b44a));}function Ss(_0x59c9f8){const _0x1e1a1a=_0x588cc3;let _0x466e89=_0x59c9f8[_0x1e1a1a(0x134)](_0x5375f9),_0x3414d0=_0x59c9f8[_0x1e1a1a(0x134)](_0x136628);return ws(_0x59c9f8)[_0x1e1a1a(0x3cd)](_0x3ff622(_0xa3dce8=>{const _0x1b4740=_0x1e1a1a;let _0x2ce150=_0x466e89[_0x1b4740(0x1d8)](),_0x5d9aa8=_0xa3dce8!=null&&_0xa3dce8['tableId']?_0xa3dce8:_0x3414d0[_0x1b4740(0x1c4)]();return!_0x2ce150||!(_0x5d9aa8!=null&&_0x5d9aa8['tableId'])?!0x0:!_0xa0aa39(_0x2ce150[_0x1b4740(0xaf)](),_0x5d9aa8[_0x1b4740(0xe3)],_0x5d9aa8);}));}function Cs(_0x4812b5){const _0x465df4=_0x588cc3;let _0xe9e5f0=_0x4812b5[_0x465df4(0x134)](_0x5375f9),_0x4b8b96=_0x4812b5[_0x465df4(0x134)](_0x136628);return ws(_0x4812b5)[_0x465df4(0x3cd)](_0x3ff622(_0x5ef5bd=>{const _0x177377=_0x465df4;let _0x44956c=_0xe9e5f0[_0x177377(0x1d8)](),_0x249ce2=_0x5ef5bd!=null&&_0x5ef5bd[_0x177377(0xe3)]?_0x5ef5bd:_0x4b8b96[_0x177377(0x1c4)]();return!_0x44956c||!(_0x249ce2!=null&&_0x249ce2[_0x177377(0xe3)])?!0x0:!_0x5b32c4(_0x44956c[_0x177377(0xaf)](),_0x249ce2['tableId'],_0x249ce2);}));}function ws(_0x3ab5db){const _0x522069=_0x588cc3;let _0x378aa8=_0x3ab5db[_0x522069(0x134)](_0x136628);return _0x378aa8[_0x522069(0x2d1)][_0x522069(0x3cd)](_0x2b0113(_0x378aa8[_0x522069(0xc6)]()));}const Ts={[_0x5ea5ce[_0x588cc3(0x135)]]:{[Za]:{'order':0x2,'menuItemFactory':eo}}},Es={[_0xb44695[_0x588cc3(0x3c3)]]:{[_0x241336['INSERT']]:Ts,[_0x241336['START']]:{[_0x446668[_0x588cc3(0x32e)]]:{[_0x16a106['id']]:{'order':0x9,'menuItemFactory':ss,[_0x17dfd5['id']]:{'order':0x0,'menuItemFactory':cs}}},[mo]:{'order':0x14,[_0xee838c['id']]:{'order':0x0,'menuItemFactory':rs},[_0x193098['id']]:{'order':0x1,'menuItemFactory':is},[_0x4cae19['id']]:{'order':0x2,'menuItemFactory':as},[_0x9f33a0['id']]:{'order':0x3,'menuItemFactory':os}}}}},Ds={...Ts,[_0x2ae26c['PARAGRAPH']]:{[_0x578831[_0x588cc3(0x1af)]]:{[_0x8885b3]:{[_0x25406e['id']]:{'order':0x4,'menuItemFactory':to}}},[_0x588499]:{[_0x578831[_0x588cc3(0x1af)]]:{[_0x25406e['id']]:{'order':0x4,'menuItemFactory':to}}},[_0x393a0d]:{'docs-table-ui.menu.cell-style-context-group':{'order':-0x1,'tiny':!0x0,[_0xee838c['id']]:{'order':0x0,'menuItemFactory':rs},[_0x193098['id']]:{'order':0x1,'menuItemFactory':is},[_0x4cae19['id']]:{'order':0x2,'menuItemFactory':as},[_0x9f33a0['id']]:{'order':0x3,'menuItemFactory':os}},[_0x578831[_0x588cc3(0x1af)]]:{[_0x25406e['id']]:{'order':0x4,'menuItemFactory':to},[fo]:{'order':0x8,'menuItemFactory':To,'docs-table-ui.menu.border-all':{'order':0x0,'menuItemFactory':qo},'docs-table-ui.menu.border-inner':{'order':0x1,'menuItemFactory':Yo},'docs-table-ui.menu.border-outer':{'order':0x2,'menuItemFactory':$o},'docs-table-ui.menu.border-top':{'order':0x3,'menuItemFactory':ns},'docs-table-ui.menu.border-bottom':{'order':0x4,'menuItemFactory':Jo},'docs-table-ui.menu.border-left':{'order':0x5,'menuItemFactory':Qo},'docs-table-ui.menu.border-right':{'order':0x6,'menuItemFactory':ts},'docs-table-ui.menu.border-inner-horizontal':{'order':0x7,'menuItemFactory':Xo},'docs-table-ui.menu.border-inner-vertical':{'order':0x8,'menuItemFactory':Zo},'docs-table-ui.menu.border-none':{'order':0x9,'menuItemFactory':es}}}},[_0x325ec4]:{'insert':{[_0x25406e['id']]:{'order':0x0,'menuItemFactory':no}}},[_0x42d5ed]:{'insert':{[_0x25406e['id']+_0x588cc3(0x1bc)]:{'order':0x0,'menuItemFactory':to}}},[_0x2113d7]:{[_0x578831[_0x588cc3(0x1af)]]:{[_0x8885b3]:{'order':0x0,'menuItemFactory':_0x5cd51b}}}},[_0x2ae26c[_0x588cc3(0x2ea)]]:{[_0x578831[_0x588cc3(0x1fb)]]:{[_o]:{'order':0x0,'menuItemFactory':ko},[vo]:{'order':0x1,'menuItemFactory':Ao}},[_0x578831[_0x588cc3(0x32e)]]:{[_0x3b9da6['id']]:{'order':0x0,'menuItemFactory':jo}},[_0x578831[_0x588cc3(0x1af)]]:{[go]:{'order':0x2,'menuItemFactory':Oo},[co]:{'order':0x1e,'menuItemFactory':So,'docs-table-ui.menu.delete-rows':{'order':0x0,'menuItemFactory':Io},'docs-table-ui.menu.delete-columns':{'order':0x1,'menuItemFactory':Lo},'docs-table-ui.menu.delete-table':{'order':0x2,'menuItemFactory':Ro}},'docs-table-ui.menu.merge-cells':{'order':0x28,'menuItemFactory':zo},'docs-table-ui.menu.unmerge-cells':{'order':0x29,'menuItemFactory':Bo}},[_0x578831['OTHERS']]:{'docs-table-ui.menu.insert-title-row':{'order':0x0,'menuItemFactory':Vo},'docs-table-ui.menu.pin-header':{'order':0x1,'menuItemFactory':Ho}}}};let Os=class extends _0x465703{constructor(_0x4e2efa,_0x3ee78b){const _0x765db=_0x588cc3;super(),this[_0x765db(0x294)]=_0x4e2efa,this[_0x765db(0x13a)]=_0x3ee78b,this[_0x765db(0x294)][_0x765db(0x1e7)](Ds),this['_menuManagerService']['appendRootMenu'](Es),this[_0x765db(0x181)](this['_selectionService'][_0x765db(0x2d1)][_0x765db(0x35a)](_0xf7f01d=>{const _0x3921cf=_0x765db;_0xf7f01d!=null&&_0xf7f01d[_0x3921cf(0xe3)]&&this['_menuManagerService'][_0x3921cf(0x1e7)](Ds),this[_0x3921cf(0x294)]['appendRootMenu']({});}));}};Os=fa([G(0x0,_0x5b059b),G(0x1,_0x524e37(_0x136628))],Os);var ks=class extends _0x465703{constructor(..._0x5ac3c1){const _0x1406ed=_0x588cc3;super(..._0x5ac3c1),V(this,'_triggers',[]),V(this,_0x1406ed(0xdf),new _0x1cff22()),V(this,_0x1406ed(0x158),this['_triggerChange$'][_0x1406ed(0xde)]());}['updateTriggers'](_0xd0b47d){const _0x430a96=_0x588cc3;this[_0x430a96(0x94)]=_0xd0b47d?Zr(_0xd0b47d):[],this[_0x430a96(0xdf)][_0x430a96(0x131)](this[_0x430a96(0x94)]);}['getTriggers'](){return this['_triggers'];}[_0x588cc3(0x2e5)](_0x5f585d,_0x4800e7){const _0x1d99c5=_0x588cc3;return hi(this[_0x1d99c5(0x94)],_0x5f585d,_0x4800e7);}['dispose'](){const _0x57f34d=_0x588cc3;super['dispose'](),this[_0x57f34d(0xdf)]['complete']();}},As=_0x588cc3(0x22f),js=_0x588cc3(0x24b);const Ms={},Ns=_0x588cc3(0x291),Ps=[_0x588cc3(0x3bd),_0x588cc3(0xe5),_0x588cc3(0xec),_0x588cc3(0x18c),_0x588cc3(0x2b8)];function Fs(){const _0x313433=_0x588cc3;let _0x241147=_0x1a05d5(_0x36e78d);return _0x117f47(_0x313433(0x3af),{'data-u-comp':Ns,'children':Ps[_0x313433(0x35e)](_0x3f40a3=>_0x117f47(_0x313433(0x24a),{'type':_0x313433(0x24a),'aria-label':_0x241147['t'](_0x3f40a3),'children':_0x241147['t'](_0x3f40a3)},_0x3f40a3))});}const Is='docs-table-ui.options-panel';function Ls(){const _0x129e6e=_0x588cc3;let _0x9d887=_0x1a05d5(_0x36e78d);return _0x117f47(_0x129e6e(0x3af),{'data-u-comp':Is,'children':_0x3f3610(_0x129e6e(0x272),{'children':[_0x117f47(_0x129e6e(0x2d4),{'children':_0x9d887['t'](_0x129e6e(0x32d))}),_0x117f47(_0x129e6e(0x1d9),{'type':'number','min':0x0,'aria-label':_0x9d887['t'](_0x129e6e(0x3a4))})]})});}const Rs=_0x588cc3(0x3d8);function zs(){const _0xdfb919=_0x588cc3;let _0x2e6af5=_0x1a05d5(_0x36e78d);return _0x3f3610(_0xdfb919(0x2e0),{'data-u-comp':Rs,'children':[_0x117f47(_0xdfb919(0x24a),{'type':_0xdfb919(0x24a),'aria-label':_0x2e6af5['t'](_0xdfb919(0x14d)),'children':'+'}),_0x117f47(_0xdfb919(0x24a),{'type':_0xdfb919(0x24a),'aria-label':_0x2e6af5['t'](_0xdfb919(0x390)),'children':'+'}),_0x117f47(_0xdfb919(0x24a),{'type':_0xdfb919(0x24a),'aria-label':_0x2e6af5['t']('docs-table-ui.sortAscending'),'children':'A'})]});}let Bs=class extends _0x465703{constructor(_0x2e6dfd,_0x34dc6f){const _0x1cca7e=_0x588cc3;super(),this[_0x1cca7e(0x231)]=_0x2e6dfd,this[_0x1cca7e(0x146)]=_0x34dc6f,this[_0x1cca7e(0x16f)](),this['_registerIcons']();}[_0x588cc3(0x16f)](){const _0x639d18=_0x588cc3;[[br,wr],[Ns,Fs],[Hi,da],[Is,Ls],[Rs,zs]][_0x639d18(0x3d1)](([_0x3fc9fa,_0x44bb7a])=>{const _0x31453e=_0x639d18;this[_0x31453e(0x181)](this[_0x31453e(0x231)][_0x31453e(0xb7)](_0x3fc9fa,_0x44bb7a));}),this['disposeWithMe'](this[_0x639d18(0x231)][_0x639d18(0xb7)](Qa,ao));}[_0x588cc3(0xa9)](){const _0x30f1e6=_0x588cc3;this[_0x30f1e6(0x181)](this[_0x30f1e6(0x146)][_0x30f1e6(0xb7)]({'DocsTableBorderWidthIcon':Li,'DocsTableBorderStyleIcon':Ri,'DocsTableBorderStyleSolidIcon':zi,'DocsTableBorderStyleDottedIcon':Bi,'DocsTableBorderStyleDashedIcon':Vi,'CalendarIcon':_0x49432c,'NumberIcon':_0x53242e}));}};Bs=fa([G(0x0,_0x524e37(_0x57aee8)),G(0x1,_0x524e37(_0x477a14))],Bs);let Vs=class extends _0x21cf39{constructor(_0x329f01=Ms,_0x2717c1,_0x506145,_0x4b71b6){const _0x208e68=_0x588cc3;super(),this[_0x208e68(0x157)]=_0x329f01,this['_injector']=_0x2717c1,this['_renderManagerService']=_0x506145,this[_0x208e68(0x34e)]=_0x4b71b6;let {menu:_0x475b8d,..._0x3afd62}=_0x3e548c({},Ms,this[_0x208e68(0x157)]);_0x475b8d&&this['_configService']['setConfig'](_0x208e68(0x15a),_0x475b8d,{'merge':!0x0}),this[_0x208e68(0x34e)][_0x208e68(0x3d5)](_0x208e68(0x258),_0x3afd62);}[_0x588cc3(0x12c)](){const _0x10fd24=_0x588cc3;this[_0x10fd24(0xab)][_0x10fd24(0x2ab)]([Bs]),this[_0x10fd24(0xab)][_0x10fd24(0x134)](Bs),this[_0x10fd24(0xab)]['add']([ar]),this[_0x10fd24(0xab)][_0x10fd24(0x2ab)]([Ya]),this[_0x10fd24(0xab)]['add']([Xa]),this['_injector'][_0x10fd24(0x2ab)]([_r]),this[_0x10fd24(0xab)][_0x10fd24(0x2ab)]([Os]),this['_injector'][_0x10fd24(0x2ab)]([Ja]),this['_injector'][_0x10fd24(0x2ab)]([ks]),this[_0x10fd24(0xab)][_0x10fd24(0x134)](Ja),this[_0x10fd24(0xab)][_0x10fd24(0x134)](Ya),this[_0x10fd24(0xab)][_0x10fd24(0x134)](Xa),this[_0x10fd24(0xab)]['get'](ks);}[_0x588cc3(0x2b5)](){const _0x5d2318=_0x588cc3;this[_0x5d2318(0xab)][_0x5d2318(0x134)](Os),this[_0x5d2318(0x181)](this[_0x5d2318(0x370)][_0x5d2318(0x269)](_0x3ce9c7['UNIVER_DOC'],[xa]));}};V(Vs,_0x588cc3(0x32c),_0x101fec+_0x588cc3(0x174)),V(Vs,_0x588cc3(0x39e),As),V(Vs,_0x588cc3(0x2d2),js),V(Vs,_0x588cc3(0x13b),_0x3ce9c7['UNIVER_DOC']),Vs=fa([_0x29c04e(_0xb529ec,_0x2b4e82,_0x2ae0bc),G(0x1,_0x524e37(_0xf59eb9)),G(0x2,_0x872d27),G(0x3,_0x175c20)],Vs);function Hs(_0x4259b4,_0x4ce632){const _0xf614dc=_0x588cc3;let {rect:_0x50b1c6}=_0x4ce632;_0x4259b4[_0xf614dc(0x113)](),_0x4259b4[_0xf614dc(0x147)](),_0x4259b4[_0xf614dc(0x2a0)]='#0f9d58',_0x4259b4['strokeStyle']=_0xf614dc(0x145),_0x4259b4[_0xf614dc(0x2c0)]=0x1,_0x4259b4[_0xf614dc(0x1a8)]?_0x4259b4[_0xf614dc(0x1a8)](_0x50b1c6['x'],_0x50b1c6['y'],_0x50b1c6[_0xf614dc(0x185)],_0x50b1c6[_0xf614dc(0x1ad)],0x4):_0x4259b4[_0xf614dc(0x256)](_0x50b1c6['x'],_0x50b1c6['y'],_0x50b1c6[_0xf614dc(0x185)],_0x50b1c6[_0xf614dc(0x1ad)]),_0x4259b4[_0xf614dc(0x212)](),_0x4259b4['stroke'](),_0x4259b4[_0xf614dc(0x133)]();}export{qo as BorderAllMenuFactory,Jo as BorderBottomMenuFactory,Xo as BorderInnerHorizontalMenuFactory,Yo as BorderInnerMenuFactory,Zo as BorderInnerVerticalMenuFactory,Qo as BorderLeftMenuFactory,es as BorderNoneMenuFactory,$o as BorderOuterMenuFactory,ts as BorderRightMenuFactory,ns as BorderTopMenuFactory,jo as ClearContentMenuFactory,fs as ColumnTypeCheckboxMenuFactory,ds as ColumnTypeDateMenuFactory,ps as ColumnTypeDropdownMenuFactory,us as ColumnTypeNumberMenuFactory,ls as ColumnTypeTextMenuFactory,_o as DOCS_HYPER_LINK_MAIN_AREA_MENU_ID,fo as DOCS_TABLE_BORDER_MENU_ID,br as DOCS_TABLE_BORDER_PANEL,po as DOCS_TABLE_COLUMN_TYPE_MENU_ID,Ns as DOCS_TABLE_COLUMN_TYPE_PANEL,oo as DOCS_TABLE_CONTEXT_MENU_ID,co as DOCS_TABLE_DELETE_MENU_ID,uo as DOCS_TABLE_DISTRIBUTE_MENU_ID,Hi as DOCS_TABLE_FLOATING_TOOLBAR,so as DOCS_TABLE_INSERT_MENU_ID,Qa as DOCS_TABLE_INSERT_TABLE_PICKER_COMPONENT,Is as DOCS_TABLE_OPTIONS_PANEL,lo as DOCS_TABLE_SORT_MENU_ID,mo as DOCS_TABLE_STYLE_RIBBON_GROUP,Rs as DOCS_TABLE_TOOLBAR,vo as DOCS_THREAD_COMMENT_MAIN_AREA_MENU_ID,go as DOCS_UI_TABLE_DELETE_MENU_ID,ho as DOCS_UI_TABLE_INSERT_MENU_ID,Za as DOCS_UI_TABLE_MENU_ID,Lo as DeleteColumnsMenuFactory,Io as DeleteRowsMenuFactory,Ro as DeleteTableMenuFactory,Ko as DistributeColumnsMenuFactory,Go as DistributeRowsMenuFactory,rs as DocsTableBackgroundColorSelectorMenuFactory,is as DocsTableBorderColorSelectorMenuFactory,To as DocsTableBorderMenuFactory,wr as DocsTableBorderPanel,os as DocsTableBorderStyleMenuFactory,as as DocsTableBorderWidthMenuFactory,xa as DocsTableCanvasRenderController,Eo as DocsTableColumnTypeMenuFactory,Fs as DocsTableColumnTypePanel,bo as DocsTableContextMenuFactory,Ja as DocsTableCreateTableController,eo as DocsTableCreateTableMenuFactory,z as DocsTableCreateTableOperation,So as DocsTableDeleteMenuFactory,wo as DocsTableDistributeMenuFactory,Ya as DocsTableFloatingMenuController,ar as DocsTableFloatingMenuService,da as DocsTableFloatingToolbar,xo as DocsTableInsertMenuFactory,ao as DocsTableInsertTablePicker,Xa as DocsTableKeyboardController,Os as DocsTableMenuController,Ls as DocsTableOptionsPanel,ks as DocsTableRenderController,Ln as DocsTableSelectAllCommand,Rn as DocsTableSelectAllShortcut,Co as DocsTableSortMenuFactory,zs as DocsTableToolbar,_r as DocsTableViewportService,ss as DocsTextBackgroundColorSelectorMenuFactory,ko as HiddenDocsHyperLinkMainAreaMenuFactory,Ao as HiddenDocsThreadCommentMainAreaMenuFactory,Oo as HiddenDocsUiTableDeleteMenuFactory,Do as HiddenDocsUiTableInsertMenuFactory,Po as InsertColumnLeftMenuFactory,Fo as InsertColumnRightMenuFactory,Mo as InsertRowAboveMenuFactory,No as InsertRowBelowMenuFactory,Vo as InsertTitleRowMenuFactory,zo as MergeCellsMenuFactory,Ho as PinHeaderRowsMenuFactory,cs as ResetDocsTextBackgroundColorMenuFactory,Uo as SortAscendingMenuFactory,Wo as SortDescendingMenuFactory,Vs as UniverDocsTableUIPlugin,Bo as UnmergeCellsMenuFactory,Zr as buildDocsTableTriggers,Or as buildMoveDragPreview,Dr as buildMoveDragState,Pr as buildResizeDragPreview,Nr as buildResizeDragState,Hs as drawDocsTableTrigger,Nn as encodeDocsTableInsertTableSize,hs as getColumnsLabelKey,ms as getRowsLabelKey,hi as hitTestDocsTableTrigger,Ds as menuSchema,Pn as normalizeDocsTableInsertTableSize};
|
|
1
|
+
const _0x2d1af3=_0x7cb3;(function(_0x1ce56b,_0x51a668){const _0x245942=_0x7cb3,_0x4d053c=_0x1ce56b();while(!![]){try{const _0x3c0bed=parseInt(_0x245942(0x292))/0x1*(-parseInt(_0x245942(0x18e))/0x2)+parseInt(_0x245942(0x3ab))/0x3*(parseInt(_0x245942(0x379))/0x4)+parseInt(_0x245942(0x2be))/0x5*(-parseInt(_0x245942(0x258))/0x6)+parseInt(_0x245942(0x1b2))/0x7*(parseInt(_0x245942(0x2fc))/0x8)+-parseInt(_0x245942(0x36c))/0x9+-parseInt(_0x245942(0x10a))/0xa*(-parseInt(_0x245942(0x1a7))/0xb)+parseInt(_0x245942(0xcf))/0xc;if(_0x3c0bed===_0x51a668)break;else _0x4d053c['push'](_0x4d053c['shift']());}catch(_0x59d90e){_0x4d053c['push'](_0x4d053c['shift']());}}}(_0x2c54,0x72c90));import{DOCS_TABLE_PLUGIN as _0x509291,DocsTableBorderPreset as _0x314273,DocsTableDeleteColumnsCommand as _0x3fa5a1,DocsTableDeleteRowsCommand as _0x4c6c66,DocsTableDeleteTableCommand as _0x1397d4,DocsTableInsertColumnsCommand as _0x64b06a,DocsTableInsertRowsCommand as _0x566f96,DocsTableInsertTableCommand as _0x386ce8,DocsTableInsertTablePosition as _0x167815,DocsTableInsertTitleRowCommand as _0x281bf5,DocsTableMergeCellsCommand as _0x19be90,DocsTableMoveColumnsCommand as _0x175126,DocsTableMoveRowsCommand as _0x2ac0a6,DocsTableMoveTableCommand as _0x16ee93,DocsTableResizeColumnCommand as _0x7cb72f,DocsTableResizeRowCommand as _0x47b697,DocsTableSelectionKind as _0x4ffc7d,DocsTableSelectionService as _0x2e4830,DocsTableSelectionSource as _0x12bf8e,DocsTableSetHeaderRowCountCommand as _0x3c2b3d,DocsTableSetTableBackgroundCommand as _0x1ecfd6,DocsTableSetTableBorderColorCommand as _0x5c25ef,DocsTableSetTableBorderCommand as _0x2b27df,DocsTableSetTableBorderStyleCommand as _0x592f3f,DocsTableSetTableBorderWidthCommand as _0x540812,DocsTableSetTableVerticalAlignCommand as _0x414524,DocsTableSortDirection as _0x34f43e,DocsTableSortTableCommand as _0x443f8b,DocsTableUnmergeCellsCommand as _0x2c6c4a,UniverDocsTablePlugin as _0x4a0f8a,canMergeCells as _0x3f286e,canUnmergeCells as _0x9560c0,getTableRangeById as _0xa89fad}from'@univerjs-pro/docs-table';import{AlignMenuItemFactory as _0x47fd8b,AlignOperationCommand as _0x5c7407,BackgroundColorSelectorMenuItemFactory as _0x224c29,BoldMenuItemFactory as _0x142c8f,BulletListCommand as _0x32411b,CheckListCommand as _0x37e76e,DOC_CONTENT_INSERT_MENU_ID as _0x53a3ec,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x8ce159,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x8e53a4,DOC_TABLE_BLOCK_MENU_ID as _0x4d0561,DeleteLeftCommand as _0x183bc5,DocCanvasPopManagerService as _0x519865,DocCreateTableOperation as _0x21e424,DocEventManagerService as _0x413031,DocParagraphMenuService as _0x2db1d5,DocSelectAllCommand as _0x9592e5,EMPTY_PARAGRAPH_MENU_ID as _0x4b22b8,FloatTextStyleMenuItemFactory as _0x3d0fd6,FontFamilySelectorMenuItemFactory as _0x210f5c,FontSizeSelectorMenuItemFactory as _0x372e48,INSERT_BELLOW_MENU_ID as _0xc1338d,ItalicMenuItemFactory as _0x5742f3,OrderListCommand as _0x4f04fb,ParagraphMenuInsertBelowSubmenuItemFactory as _0x3590e2,ResetInlineFormatTextBackgroundColorCommand as _0x30d205,SetDocZoomRatioOperation as _0xc33671,SetInlineFormatBoldCommand as _0x3c65d9,SetInlineFormatFontFamilyCommand as _0x2276cf,SetInlineFormatFontSizeCommand as _0x4fb83b,SetInlineFormatItalicCommand as _0x5c3404,SetInlineFormatStrikethroughCommand as _0x1a2823,SetInlineFormatTextBackgroundColorCommand as _0x1856b6,SetInlineFormatTextColorCommand as _0x2d8178,SetInlineFormatUnderlineCommand as _0x2ce315,SetParagraphNamedStyleCommand as _0x58982b,StrikeThroughMenuItemFactory as _0x254685,TextColorSelectorMenuItemFactory as _0x25f2b5,UnderlineMenuItemFactory as _0x480f98,UniverDocsUIPlugin as _0x2dc66c}from'@univerjs/docs-ui';import{COLOR_PICKER_COMPONENT as _0x5261f1,ComponentManager as _0x453f67,ContextMenuGroup as _0x20249f,ContextMenuPosition as _0x567923,IContextMenuService as _0x9cbb5f,IMenuManagerService as _0x452a53,IShortcutService as _0xdb4793,IconManager as _0x50bea3,KeyCode as _0x265a09,MenuItemType as _0x19c744,MenuManagerPosition as _0x40c9ae,MetaKeys as _0xd6030b,RibbonInsertGroup as _0xad9e9c,RibbonPosition as _0x142064,RibbonStartGroup as _0x318d8,ToolbarButton as _0x53733e,ToolbarItem as _0xd7b321,getMenuHiddenObservable as _0x44ac41,useDependency as _0xc95a5e,useObservable as _0x4f0c91}from'@univerjs/ui';import{CommandType as _0x336080,DEFAULT_STYLES as _0x3a45c7,DOC_RANGE_TYPE as _0x14976c,DashStyleType as _0x12baff,DependentOn as _0x28406c,Disposable as _0xb0e1b5,DocumentFlavor as _0x231abb,EDITOR_ACTIVATED as _0x327662,FOCUSING_DOC as _0x31b24c,FOCUSING_UNIVER_EDITOR as _0x227d61,HorizontalAlign as _0x3e783b,ICommandService as _0x18b06f,IConfigService as _0x5eb650,IUniverInstanceService as _0xaaa3e3,Inject as _0x32e3e4,Injector as _0x29f812,LocaleService as _0x318544,NamedStyleType as _0x494c6e,Optional as _0x49470a,Plugin as _0x183ca6,PresetListType as _0x33c129,UniverInstanceType as _0x2ad6ca,VerticalAlignmentType as _0x5ee1a7,merge as _0x92e6ca,toDisposable as _0x581e2d}from'@univerjs/core';import{Button as _0x3e7cc1,ColorPicker as _0x43ef32,Dropdown as _0x4a1f9b,InputNumber as _0x395ac7,Separator as _0x1026ad,Tooltip as _0x5ae5ff,borderClassName as _0x55f7a7,clsx as _0x4766b8}from'@univerjs/design';import{useEffect as _0x540234,useMemo as _0x3d6eea,useState as _0x24ec16}from'react';import{BehaviorSubject as _0x5920e3,Observable as _0x15c397,Subject as _0xe56cb3,combineLatest as _0x3d5d2c,map as _0x2e597,of as _0x58ee7a,startWith as _0x42fcdc}from'rxjs';import{Fragment as _0x39ef66,jsx as _0x20cbfb,jsxs as _0x251af8}from'react/jsx-runtime';import{UniverLicensePlugin as _0x4ef619}from'@univerjs-pro/license';import{CURSOR_TYPE as _0x44809d,DocumentSkeletonPageType as _0x26ac89,IRenderManagerService as _0x877017,getTableIdAndSliceIndex as _0x4823b3,setDocsTableRenderViewportProvider as _0x52909f}from'@univerjs/engine-render';import{AlignBottomIcon as _0x504a70,AlignTextBothIcon as _0x520ae5,AlignTopIcon as _0x344fd2,AllBorderIcon as _0x4095e4,BoldIcon as _0x57a1fe,CalendarIcon as _0x1928ba,CancelMergeIcon as _0x206950,DeleteColumnDoubleIcon as _0x363e7c,DeleteRowDoubleIcon as _0x5e996d,DownBorderDoubleIcon as _0x2bc6d8,FontColorDoubleIcon as _0x146f60,HorizontalBorderDoubleIcon as _0x595402,HorizontallyIcon as _0xc52b04,InnerBorderDoubleIcon as _0x2f8e60,ItalicIcon as _0x33b927,LeftBorderDoubleIcon as _0x508e2b,LeftJustifyingIcon as _0xa43f4e,MergeAllIcon as _0x53c5e9,MoreDownIcon as _0xe0ab7f,NoBorderIcon as _0x1c492a,NoColorDoubleIcon as _0x1be3f8,NumberIcon as _0x285a23,OuterBorderDoubleIcon as _0x41bba0,PaintBucketDoubleIcon as _0x4cd401,RightBorderDoubleIcon as _0x383d9c,RightJustifyingIcon as _0x26dbc1,StrikethroughIcon as _0x808e03,TableBorderStyleDashedIcon as _0x19ff77,TableBorderStyleDottedIcon as _0x405bfe,TableBorderStyleIcon as _0x584009,TableBorderStyleSolidIcon as _0x193778,TableBorderWidthIcon as _0x5d8ecb,TableIcon as _0x3d232d,TextIcon as _0x5159b5,UnderlineIcon as _0x4814e5,UpBorderDoubleIcon as _0x3b27f3,VerticalBorderDoubleIcon as _0xc00e6,VerticalCenterIcon as _0x3c3cd1}from'@univerjs/icons';import{DocSelectionManagerService as _0xe197db,DocSkeletonManagerService as _0x8eb655}from'@univerjs/docs';import{documentSkeletonTableIterator as _0x11c1a8}from'@univerjs-pro/docs-column';function zn(_0x2fcc9b,_0x597e32){return _0x2fcc9b+':'+_0x597e32;}function Bn(_0x3b455b){const _0x2962f2=_0x7cb3;if(!_0x3b455b)return null;let _0x5ea69f=Number(_0x3b455b['rowCount']),_0x517056=Number(_0x3b455b[_0x2962f2(0x3b4)]);if(Hn(_0x5ea69f,_0x517056))return{'colCount':_0x517056,'rowCount':_0x5ea69f};if(_0x3b455b[_0x2962f2(0x310)]==null)return null;let [_0x3f9bc2,_0x5e3bff]=String(_0x3b455b[_0x2962f2(0x310)])[_0x2962f2(0x3b1)](':')[_0x2962f2(0x3b5)](_0x2ddd8c=>Number(_0x2ddd8c));return Hn(_0x3f9bc2,_0x5e3bff)?{'colCount':_0x5e3bff,'rowCount':_0x3f9bc2}:null;}function Vn(_0x2a80f0){const _0x10ae47=_0x7cb3;let _0x409749=Number(_0x2a80f0);return Number[_0x10ae47(0x190)](_0x409749)?Math[_0x10ae47(0x121)](0x14,Math['max'](0x1,Math[_0x10ae47(0x139)](_0x409749))):0x1;}function Hn(_0x3efeb1,_0x4a63af){const _0x21f771=_0x7cb3;let _0x1bebf4=Number(_0x3efeb1),_0x15f9be=Number(_0x4a63af);return Number[_0x21f771(0xdf)](_0x1bebf4)&&Number[_0x21f771(0xdf)](_0x15f9be)&&_0x1bebf4>=0x1&&_0x1bebf4<=0x14&&_0x15f9be>=0x1&&_0x15f9be<=0x14;}const z={'id':_0x2d1af3(0x37b),'type':_0x336080[_0x2d1af3(0x12a)],'handler':async(_0x1d5fd3,_0x197dc2)=>{const _0x448446=_0x2d1af3;let _0x24e36f=_0x1d5fd3[_0x448446(0x265)](_0x18b06f),_0x3cee18=Bn(_0x197dc2);return _0x3cee18?_0x24e36f[_0x448446(0x173)](_0x386ce8['id'],{'rows':_0x3cee18['rowCount'],'columns':_0x3cee18[_0x448446(0x3b4)],'position':_0x167815['Selection']}):!0x1;}},Un=_0x2d1af3(0x39a),Wn=_0x2d1af3(0x1ac),Gn={'rowCount':0x3,'colCount':0x5};function Kn(_0x2aed1b){const _0x31105d=_0x2d1af3;return{'id':Un,'commandId':z['id'],'selectionsCommandId':z['id'],'params':Gn,'type':_0x19c744[_0x31105d(0x2cf)],'icon':_0x31105d(0x115),'tooltip':'docs-table-ui.table.main','slot':!0x0,'hidden$':Yn(_0x2aed1b),'selections':[{'label':{'name':Wn,'hoverable':!0x1,'selectable':!0x1}}]};}function qn(_0x477b4d){const _0x49a341=_0x2d1af3;return{'id':z['id'],'commandId':z['id'],'selectionsCommandId':z['id'],'params':Gn,'type':_0x19c744[_0x49a341(0xc4)],'icon':_0x49a341(0x115),'title':_0x49a341(0x3bb),'hidden$':Yn(_0x477b4d),'selections':[{'label':{'name':Wn,'hoverable':!0x1,'selectable':!0x1}}]};}function Jn(_0xf556b2){const _0x3a2b69=_0x2d1af3;return{'id':z['id'],'commandId':z['id'],'selectionsCommandId':z['id'],'params':Gn,'type':_0x19c744['BUTTON_SELECTOR'],'icon':_0x3a2b69(0x115),'title':_0x3a2b69(0x3bb),'hidden$':Yn(_0xf556b2),'selections':[{'label':{'name':Wn,'hoverable':!0x1,'selectable':!0x1}}]};}function Yn(_0xeefae2){const _0x384739=_0x2d1af3;let _0x229281=_0x44ac41(_0xeefae2,_0x2ad6ca[_0x384739(0x193)],void 0x0),_0x3090fd=Xn(_0xeefae2);return _0x3090fd?_0x3d5d2c([_0x229281,_0x3090fd[_0x384739(0x30c)]['pipe'](_0x42fcdc(_0x3090fd[_0x384739(0x2e5)]()),_0x2e597(_0x181613=>!!(_0x181613!=null&&_0x181613['tableId'])))])[_0x384739(0x231)](_0x2e597(([_0x4be36c,_0x3b42e9])=>_0x4be36c||_0x3b42e9)):_0x229281;}function Xn(_0x170eab){const _0x3a4e31=_0x2d1af3;try{let _0x435d27=_0x170eab[_0x3a4e31(0x265)](_0x2e4830);if(_0x435d27&&typeof _0x435d27[_0x3a4e31(0x2e5)]=='function'&&_0x435d27[_0x3a4e31(0x30c)])return _0x435d27;}catch{return null;}return null;}function Zn(_0x75b774){const _0x50d04e=_0x2d1af3;let _0x582048=_0xc95a5e(_0x318544),_0x569260=_0x4f0c91(_0x582048['direction$'],_0x50d04e(0x3c2)),[_0x147aaa,_0x43d1e4]=_0x24ec16({'colCount':0x5,'rowCount':0x3}),[_0x3fc65f,_0x1c4a17]=_0x24ec16(0x3),[_0x242c68,_0x869d09]=_0x24ec16(0x5),_0x5d11ec=_0x346b91=>{const _0x1a5e88=_0x50d04e;var _0x4cc8a6;(_0x4cc8a6=_0x75b774[_0x1a5e88(0x136)])==null||_0x4cc8a6[_0x1a5e88(0x3cd)](_0x75b774,zn(_0x346b91['rowCount'],_0x346b91['colCount']));};return _0x251af8(_0x50d04e(0x28f),{'className':_0x50d04e(0x22a),'data-u-comp':Wn,'dir':_0x569260,'onClick':_0x1d0908=>_0x1d0908[_0x50d04e(0xd5)](),'onMouseDown':_0xd549bb=>_0xd549bb[_0x50d04e(0xd5)](),'children':[_0x20cbfb(_0x50d04e(0x2ce),{'className':'univer-grid\x20univer-grid-cols-[repeat(14,minmax(0,1fr))]\x20univer-gap-0.5','children':Array[_0x50d04e(0x1ed)]({'length':0xa})[_0x50d04e(0x3b5)]((_0x39645e,_0x298292)=>Array[_0x50d04e(0x1ed)]({'length':0xe})['map']((_0x1554fe,_0x78e1d9)=>{const _0x57053a=_0x50d04e;let _0x2a21c9=_0x298292+0x1,_0x37fe69=_0x78e1d9+0x1,_0x1c0296=_0x2a21c9<=_0x147aaa[_0x57053a(0x179)]&&_0x37fe69<=_0x147aaa[_0x57053a(0x3b4)];return _0x20cbfb('button',{'type':_0x57053a(0x32b),'aria-label':_0x582048['t'](_0x57053a(0x2e7))+'\x20'+_0x37fe69+'\x20x\x20'+_0x2a21c9,'className':_0x4766b8(_0x57053a(0x36b),_0x1c0296?_0x57053a(0x268):_0x57053a(0x178)),'onClick':()=>_0x5d11ec({'colCount':_0x37fe69,'rowCount':_0x2a21c9}),'onMouseEnter':()=>_0x43d1e4({'colCount':_0x37fe69,'rowCount':_0x2a21c9})},_0x2a21c9+':'+_0x37fe69);}))}),_0x251af8(_0x50d04e(0x2ce),{'dir':_0x50d04e(0x3c2),'className':_0x50d04e(0x219),'children':[_0x147aaa[_0x50d04e(0x3b4)],_0x50d04e(0x216),_0x147aaa[_0x50d04e(0x179)]]}),_0x251af8(_0x50d04e(0x2ce),{'className':_0x50d04e(0x12c),'children':[_0x20cbfb(_0x50d04e(0x2ce),{'className':_0x50d04e(0x10e),'children':_0x582048['t']('docs-table-ui.customTableSize')}),_0x251af8(_0x50d04e(0x2ce),{'className':_0x50d04e(0x1fc),'children':[_0x251af8(_0x50d04e(0x3a9),{'className':_0x50d04e(0x23b),'children':[_0x20cbfb('span',{'children':_0x582048['t'](_0x50d04e(0x2f6))}),_0x20cbfb(_0x395ac7,{'className':_0x50d04e(0x177),'min':0x1,'max':0x14,'precision':0x0,'value':_0x3fc65f,'onChange':_0x525342=>_0x1c4a17(Vn(_0x525342))})]}),_0x251af8(_0x50d04e(0x3a9),{'className':_0x50d04e(0x23b),'children':[_0x20cbfb(_0x50d04e(0x349),{'children':_0x582048['t'](_0x50d04e(0xaa))}),_0x20cbfb(_0x395ac7,{'className':_0x50d04e(0x177),'min':0x1,'max':0x14,'precision':0x0,'value':_0x242c68,'onChange':_0x5b34c2=>_0x869d09(Vn(_0x5b34c2))})]}),_0x20cbfb(_0x3e7cc1,{'className':_0x50d04e(0xa7),'variant':_0x50d04e(0x291),'onClick':()=>_0x5d11ec({'colCount':_0x242c68,'rowCount':_0x3fc65f}),'children':_0x582048['t']('docs-table-ui.insert')})]})]})]});}const Qn=_0x2d1af3(0x34f),$n=_0x2d1af3(0x2f8),er=_0x2d1af3(0x195),tr='doc.operation.show-hyper-link-edit-popup',nr=_0x2d1af3(0x37e),rr={'all':_0x2d1af3(0x27b),'bottom':_0x2d1af3(0x3ca),'inner':_0x2d1af3(0xa5),'innerHorizontal':_0x2d1af3(0x2e0),'innerVertical':_0x2d1af3(0x244),'left':_0x2d1af3(0x236),'none':_0x2d1af3(0x276),'outer':'OuterBorderDoubleIcon','right':_0x2d1af3(0x1ba),'top':_0x2d1af3(0x2a2)};function ir(_0x5019b5){const _0x2bbc52=_0x2d1af3;return{'id':Qn,'type':_0x19c744['SUBITEMS'],'title':'docs-table-ui.delete','icon':_0x2bbc52(0x2d3),'hidden$':_0x5019b5?H(_0x5019b5):void 0x0};}function ar(_0x200a5f){const _0x41cb16=_0x2d1af3;return{'id':$n,'type':_0x19c744[_0x41cb16(0x2cf)],'title':_0x41cb16(0x12e),'icon':rr[_0x41cb16(0x255)],'hidden$':_0x200a5f?H(_0x200a5f):void 0x0};}function or(){const _0xf70978=_0x2d1af3;return Pr(er,_0xf70978(0x2c0));}function sr(){return Fr(tr);}function cr(){return Fr(nr);}function lr(_0x42d826){const _0x58443d=_0x2d1af3;return{...B(_0x183bc5['id'],'docs-table-ui.clearContent',void 0x0,_0x42d826),'id':_0x183bc5['id'],'icon':_0x58443d(0x1fa)};}function ur(_0x45116b){const _0x415e09=_0x2d1af3;return B(_0x4c6c66['id'],_0x415e09(0x22f),void 0x0,_0x45116b);}function dr(_0x5d7721){const _0x2b226f=_0x2d1af3;return B(_0x3fa5a1['id'],_0x2b226f(0x1b9),void 0x0,_0x5d7721);}function fr(_0x2bd64f){const _0x53a532=_0x2d1af3;return B(_0x1397d4['id'],_0x53a532(0x199),void 0x0,_0x2bd64f);}function pr(_0x109052){return B(_0x19be90['id'],'docs-table-ui.mergeCells',void 0x0,_0x109052,_0x109052?zr(_0x109052):void 0x0);}function mr(_0x4fdf20){const _0x700815=_0x2d1af3;return B(_0x2c6c4a['id'],_0x700815(0x20e),void 0x0,_0x4fdf20,_0x4fdf20?Br(_0x4fdf20):void 0x0);}function hr(_0x2c5283){const _0x30ec73=_0x2d1af3;return B(_0x281bf5['id'],_0x30ec73(0x25e),void 0x0,_0x2c5283,void 0x0,_0x2c5283?Ir(_0x2c5283):void 0x0);}function gr(_0x30ed20){const _0x4fb616=_0x2d1af3;return B(_0x3c2b3d['id'],_0x4fb616(0x370),void 0x0,_0x30ed20,void 0x0,_0x30ed20?Ir(_0x30ed20):void 0x0);}function _r(_0x498fc5){const _0x10f4a7=_0x2d1af3;return V(_0x10f4a7(0x318),_0x314273[_0x10f4a7(0xdb)],_0x498fc5);}function vr(_0x2f8381){const _0x421a06=_0x2d1af3;return V('docs-table-ui.borderBottom',_0x314273[_0x421a06(0x377)],_0x2f8381);}function yr(_0x3a9fd9){const _0x55eabb=_0x2d1af3;return V(_0x55eabb(0x3c7),_0x314273['Inner'],_0x3a9fd9);}function br(_0x320115){const _0x5c22f2=_0x2d1af3;return V(_0x5c22f2(0x297),_0x314273[_0x5c22f2(0xc2)],_0x320115);}function xr(_0x73a10d){const _0x220c59=_0x2d1af3;return V('docs-table-ui.borderInnerVertical',_0x314273[_0x220c59(0x397)],_0x73a10d);}function Sr(_0x2c83cf){const _0x5908d8=_0x2d1af3;return V(_0x5908d8(0x2de),_0x314273[_0x5908d8(0xc1)],_0x2c83cf);}function Cr(_0x11a5e6){const _0xc0b153=_0x2d1af3;return V('docs-table-ui.borderOuter',_0x314273[_0xc0b153(0x16d)],_0x11a5e6);}function wr(_0x43b52c){const _0x38142b=_0x2d1af3;return V(_0x38142b(0x2c5),_0x314273['None'],_0x43b52c);}function Tr(_0x2b0e5c){const _0x2ddc89=_0x2d1af3;return V(_0x2ddc89(0x3c4),_0x314273[_0x2ddc89(0xad)],_0x2b0e5c);}function Er(_0x2db05a){const _0x40e8f9=_0x2d1af3;return V(_0x40e8f9(0x1fe),_0x314273[_0x40e8f9(0x9f)],_0x2db05a);}function Dr(_0xf70af5){const _0x416860=_0x2d1af3;return Nr({'accessor':_0xf70af5,'commandId':_0x1ecfd6['id'],'defaultColor':_0x3a45c7['bg'][_0x416860(0x1d7)],'icon':'PaintBucketDoubleIcon','tooltip':_0x416860(0xe5)});}function Or(_0x3bda39){const _0x2aa3e2=_0x2d1af3;return Nr({'accessor':_0x3bda39,'commandId':_0x5c25ef['id'],'defaultColor':'#1f1f1f','icon':_0x2aa3e2(0x256),'tooltip':_0x2aa3e2(0x248)});}function kr(_0x1e0448){const _0x3ada09=_0x2d1af3;return{'id':_0x540812['id'],'type':_0x19c744[_0x3ada09(0x166)],'icon':_0x3ada09(0x346),'tooltip':_0x3ada09(0x269),'selections':[0x0,0.5,0.75,0x1,1.5,2.25,0x3,4.5,0x6][_0x3ada09(0x3b5)](_0x45aa9e=>({'value':_0x45aa9e,'label':_0x45aa9e+'pt'})),'value$':_0x58ee7a(0x1),'hidden$':_0x1e0448?H(_0x1e0448):void 0x0};}function Ar(_0xc9f601){const _0x29d926=_0x2d1af3;return{'id':_0x592f3f['id'],'type':_0x19c744[_0x29d926(0x166)],'icon':_0x29d926(0x19d),'tooltip':_0x29d926(0x1c8),'selections':[{'value':'solid','label':_0x29d926(0x2d6),'icon':'TableBorderStyleSolidIcon'},{'value':_0x29d926(0x34e),'label':_0x29d926(0x31b),'icon':_0x29d926(0x2c4)},{'value':_0x29d926(0xca),'label':'docs-table-ui.borderStyleDashed','icon':_0x29d926(0x1a0)}],'value$':_0x58ee7a(_0x29d926(0xda)),'hidden$':_0xc9f601?H(_0xc9f601):void 0x0};}function jr(_0x20487a){const _0x5b646f=_0x2d1af3;let _0x523a6a=_0x3a45c7['bg'][_0x5b646f(0x1d7)];return{'id':_0x1856b6['id'],'tooltip':_0x5b646f(0x19b),'type':_0x19c744[_0x5b646f(0xc4)],'icon':_0x5b646f(0x256),'selections':[{'label':{'name':_0x5261f1,'hoverable':!0x1,'selectable':!0x1},'value$':_0x58ee7a(_0x523a6a)}],'value$':_0x58ee7a(_0x523a6a),'hidden$':_0x20487a?Rr(_0x20487a):void 0x0};}function Mr(_0x4db4ec){const _0x51cac7=_0x2d1af3;return{'id':_0x30d205['id'],'commandId':_0x30d205['id'],'type':_0x19c744['BUTTON'],'title':_0x51cac7(0x15f),'icon':_0x51cac7(0x243),'hidden$':_0x4db4ec?Rr(_0x4db4ec):void 0x0};}function B(_0x3b763d,_0x3c8b92,_0x1a27c3,_0x1b3775,_0x35efc1,_0x5be2f7){const _0x77224b=_0x2d1af3;return{'id':_0x3b763d+'.'+_0x3c8b92[_0x77224b(0x3b1)]('.')['pop'](),'commandId':_0x3b763d,'type':_0x19c744[_0x77224b(0x2af)],'title':_0x3c8b92,'params':_0x1a27c3,'hidden$':_0x5be2f7==null?_0x1b3775?H(_0x1b3775):void 0x0:_0x5be2f7,'disabled$':_0x35efc1};}function V(_0x4ad097,_0x4a62f0,_0x48ff00){return{...B(_0x2b27df['id'],_0x4ad097,{'preset':_0x4a62f0},_0x48ff00),'icon':rr[_0x4a62f0]};}function Nr(_0x184709){const _0x5acfe1=_0x2d1af3;let _0x5b1207=_0x184709[_0x5acfe1(0x2aa)]||'#1f1f1f';return{'id':_0x184709[_0x5acfe1(0x107)],'tooltip':_0x184709[_0x5acfe1(0x2c8)],'type':_0x19c744[_0x5acfe1(0xc4)],'icon':_0x184709[_0x5acfe1(0x359)],'selections':[{'label':{'name':_0x5261f1,'hoverable':!0x1,'selectable':!0x1},'value$':_0x58ee7a(_0x5b1207)}],'value$':_0x184709[_0x5acfe1(0x2ec)]?new _0x15c397(_0x4557a0=>{const _0x5ea0de=_0x5acfe1;let _0xa39d4a=_0x184709[_0x5ea0de(0x2ec)][_0x5ea0de(0x265)](_0xaaa3e3)[_0x5ea0de(0x1ae)][_0x5ea0de(0x206)](()=>_0x4557a0['next'](_0x5b1207));return _0x4557a0[_0x5ea0de(0x2b1)](_0x5b1207),()=>_0xa39d4a[_0x5ea0de(0xf1)]();}):_0x58ee7a(_0x5b1207),'hidden$':_0x184709[_0x5acfe1(0x2ec)]?H(_0x184709[_0x5acfe1(0x2ec)]):void 0x0};}function Pr(_0x2f1398,_0x23323c){const _0xf7014e=_0x2d1af3;return{'id':_0x2f1398,'type':_0x19c744[_0xf7014e(0x2cf)],'title':_0x23323c,'hidden$':_0x58ee7a(!0x0)};}function Fr(_0x474218,_0x188e49){return{'id':_0x474218,'commandId':_0x474218,'type':_0x19c744['BUTTON'],'title':_0x188e49,'hidden$':_0x58ee7a(!0x0)};}function H(_0x30ee86){const _0x1ce479=_0x2d1af3;let _0x99f93d=Vr(_0x30ee86);return _0x3d5d2c([_0x44ac41(_0x30ee86,_0x2ad6ca[_0x1ce479(0x193)]),_0x99f93d['pipe'](_0x2e597(_0x1b31e7=>!(_0x1b31e7!=null&&_0x1b31e7[_0x1ce479(0x3a8)])))])[_0x1ce479(0x231)](_0x2e597(([_0x28644d,_0x40f896])=>_0x28644d||_0x40f896));}function Ir(_0x2cdfb2){const _0x57ef1a=_0x2d1af3;return _0x3d5d2c([H(_0x2cdfb2),Lr(_0x2cdfb2)])[_0x57ef1a(0x231)](_0x2e597(([_0x44d1fe,_0x1cccbd])=>_0x44d1fe||_0x1cccbd));}function Lr(_0x306a51){const _0x106534=_0x2d1af3;let _0x5a501b=_0x306a51[_0x106534(0x265)](_0xaaa3e3);return new _0x15c397(_0x3719a7=>{const _0xe3b765=_0x106534;let _0x3947d5=_0x2aded7=>{const _0x480700=_0x7cb3;var _0x1ef02d;let _0x234d1e=_0x2aded7?_0x5a501b[_0x480700(0x39c)](_0x2aded7,_0x2ad6ca[_0x480700(0x193)]):_0x5a501b[_0x480700(0x39b)](_0x2ad6ca[_0x480700(0x193)]),_0x39e141=_0x234d1e==null||(_0x1ef02d=_0x234d1e[_0x480700(0x263)]())==null||(_0x1ef02d=_0x1ef02d[_0x480700(0x11d)])==null?void 0x0:_0x1ef02d[_0x480700(0x2c2)];_0x3719a7[_0x480700(0x2b1)](_0x39e141!==_0x231abb['TRADITIONAL']);},_0xd026f1=_0x5a501b['focused$'][_0xe3b765(0x206)](_0x323abd=>_0x3947d5(_0x323abd==null?null:_0x323abd));return _0x3947d5(),()=>_0xd026f1['unsubscribe']();});}function Rr(_0x5b1751){const _0x1b0a05=_0x2d1af3;let _0x463945=Vr(_0x5b1751);return _0x3d5d2c([_0x44ac41(_0x5b1751,_0x2ad6ca['UNIVER_DOC']),_0x463945[_0x1b0a05(0x231)](_0x2e597(_0xeb6b2f=>!!(_0xeb6b2f!=null&&_0xeb6b2f[_0x1b0a05(0x3a8)])))])[_0x1b0a05(0x231)](_0x2e597(([_0x25ae96,_0x2aec14])=>_0x25ae96||_0x2aec14));}function zr(_0x2a12af){const _0x4ad988=_0x2d1af3;let _0x96389c=_0x2a12af[_0x4ad988(0x265)](_0xaaa3e3),_0x1b1de2=_0x2a12af['get'](_0x2e4830);return Vr(_0x2a12af)[_0x4ad988(0x231)](_0x2e597(_0x77a10a=>{const _0x512404=_0x4ad988;let _0x39f96=_0x96389c['getCurrentUnitOfType'](_0x2ad6ca[_0x512404(0x193)]),_0xce337a=_0x77a10a!=null&&_0x77a10a[_0x512404(0x3a8)]?_0x77a10a:_0x1b1de2[_0x512404(0x315)]();return!_0x39f96||!(_0xce337a!=null&&_0xce337a[_0x512404(0x3a8)])?!0x0:!_0x3f286e(_0x39f96[_0x512404(0x263)](),_0xce337a['tableId'],_0xce337a);}));}function Br(_0x138f52){const _0x246e53=_0x2d1af3;let _0x39f600=_0x138f52[_0x246e53(0x265)](_0xaaa3e3),_0xa78c84=_0x138f52['get'](_0x2e4830);return Vr(_0x138f52)[_0x246e53(0x231)](_0x2e597(_0xccc0ce=>{const _0x12231e=_0x246e53;let _0x36daa8=_0x39f600[_0x12231e(0x39b)](_0x2ad6ca[_0x12231e(0x193)]),_0x20c3d5=_0xccc0ce!=null&&_0xccc0ce[_0x12231e(0x3a8)]?_0xccc0ce:_0xa78c84['getStableTableSelection']();return!_0x36daa8||!(_0x20c3d5!=null&&_0x20c3d5[_0x12231e(0x3a8)])?!0x0:!_0x9560c0(_0x36daa8['getSnapshot'](),_0x20c3d5[_0x12231e(0x3a8)],_0x20c3d5);}));}function Vr(_0x303f33){const _0x10790e=_0x2d1af3;let _0x3888ed=_0x303f33[_0x10790e(0x265)](_0x2e4830);return _0x3888ed['selectionChange$'][_0x10790e(0x231)](_0x42fcdc(_0x3888ed[_0x10790e(0x2e5)]()));}const Hr={[_0xad9e9c[_0x2d1af3(0xbb)]]:{[Un]:{'order':0x2,'menuItemFactory':Kn}}},Ur={[_0x40c9ae[_0x2d1af3(0x332)]]:{[_0x142064[_0x2d1af3(0x135)]]:Hr,[_0x142064['START']]:{[_0x318d8['FORMAT']]:{[_0x1856b6['id']]:{'order':0x9,'menuItemFactory':jr,[_0x30d205['id']]:{'order':0x0,'menuItemFactory':Mr}}},'ribbon.start.docs-table-style':{'order':0x14,[_0x1ecfd6['id']]:{'order':0x0,'menuItemFactory':Dr},[_0x5c25ef['id']]:{'order':0x1,'menuItemFactory':Or},[_0x540812['id']]:{'order':0x2,'menuItemFactory':kr},[_0x592f3f['id']]:{'order':0x3,'menuItemFactory':Ar}}}}},Wr={...Hr,[_0x567923['PARAGRAPH']]:{[_0x20249f['LAYOUT']]:{[_0xc1338d]:{[_0x21e424['id']]:{'order':0x4,'menuItemFactory':qn}}},[_0x4b22b8]:{[_0x20249f[_0x2d1af3(0x1ad)]]:{[_0x21e424['id']]:{'order':0x4,'menuItemFactory':qn}}},[_0x53a3ec]:{'docs-table-ui.menu.cell-style-context-group':{'order':-0x1,'tiny':!0x0,[_0x1ecfd6['id']]:{'order':0x0,'menuItemFactory':Dr},[_0x5c25ef['id']]:{'order':0x1,'menuItemFactory':Or},[_0x540812['id']]:{'order':0x2,'menuItemFactory':kr},[_0x592f3f['id']]:{'order':0x3,'menuItemFactory':Ar}},[_0x20249f['LAYOUT']]:{[_0x21e424['id']]:{'order':0x4,'menuItemFactory':qn},[$n]:{'order':0x8,'menuItemFactory':ar,'docs-table-ui.menu.border-all':{'order':0x0,'menuItemFactory':_r},'docs-table-ui.menu.border-inner':{'order':0x1,'menuItemFactory':yr},'docs-table-ui.menu.border-outer':{'order':0x2,'menuItemFactory':Cr},'docs-table-ui.menu.border-top':{'order':0x3,'menuItemFactory':Er},'docs-table-ui.menu.border-bottom':{'order':0x4,'menuItemFactory':vr},'docs-table-ui.menu.border-left':{'order':0x5,'menuItemFactory':Sr},'docs-table-ui.menu.border-right':{'order':0x6,'menuItemFactory':Tr},'docs-table-ui.menu.border-inner-horizontal':{'order':0x7,'menuItemFactory':br},'docs-table-ui.menu.border-inner-vertical':{'order':0x8,'menuItemFactory':xr},'docs-table-ui.menu.border-none':{'order':0x9,'menuItemFactory':wr}}}},[_0x8e53a4]:{'insert':{[_0x21e424['id']]:{'order':0x0,'menuItemFactory':Jn}}},[_0x8ce159]:{'insert':{[_0x21e424['id']+_0x2d1af3(0x201)]:{'order':0x0,'menuItemFactory':qn}}},[_0x4d0561]:{[_0x20249f[_0x2d1af3(0x1ad)]]:{[_0xc1338d]:{'order':0x0,'menuItemFactory':_0x3590e2}}}},[_0x567923[_0x2d1af3(0x14d)]]:{[_0x20249f[_0x2d1af3(0x27f)]]:{[tr]:{'order':0x0,'menuItemFactory':sr},[nr]:{'order':0x1,'menuItemFactory':cr}},[_0x20249f['FORMAT']]:{[_0x183bc5['id']]:{'order':0x0,'menuItemFactory':lr}},[_0x20249f['LAYOUT']]:{[er]:{'order':0x2,'menuItemFactory':or},[Qn]:{'order':0x1e,'menuItemFactory':ir,'docs-table-ui.menu.delete-rows':{'order':0x0,'menuItemFactory':ur},'docs-table-ui.menu.delete-columns':{'order':0x1,'menuItemFactory':dr},'docs-table-ui.menu.delete-table':{'order':0x2,'menuItemFactory':fr}},'docs-table-ui.menu.merge-cells':{'order':0x28,'menuItemFactory':pr},'docs-table-ui.menu.unmerge-cells':{'order':0x29,'menuItemFactory':mr}},[_0x20249f[_0x2d1af3(0x21e)]]:{'docs-table-ui.menu.insert-title-row':{'order':0x0,'menuItemFactory':hr},'docs-table-ui.menu.pin-header':{'order':0x1,'menuItemFactory':gr}}}};var Gr=_0x2d1af3(0x196),Kr='1.0.0-alpha.3';const qr={},Jr=_0x2d1af3(0x246),Yr={'colorChannel1':'#9ca3af'},Xr={'all':_0x4095e4,'bottom':_0x2bc6d8,'inner':_0x2f8e60,'innerHorizontal':_0x595402,'innerVertical':_0xc00e6,'left':_0x508e2b,'none':_0x1c492a,'outer':_0x41bba0,'right':_0x383d9c,'top':_0x3b27f3},Zr=[{'label':'docs-table-ui.borderAll','preset':_0x314273[_0x2d1af3(0xdb)]},{'label':_0x2d1af3(0x3c7),'preset':_0x314273[_0x2d1af3(0x260)]},{'label':_0x2d1af3(0x1ec),'preset':_0x314273[_0x2d1af3(0x16d)]},{'label':'docs-table-ui.borderNone','preset':_0x314273[_0x2d1af3(0xbd)]}];function Qr(_0x3b23dd){const _0x87dce1=_0x2d1af3;var _0x555961,_0x5032b0;let _0x11e212=(_0x555961=_0x3b23dd['popup'])==null?void 0x0:_0x555961['extraProps'],_0x247837=(_0x5032b0=_0x11e212==null?void 0x0:_0x11e212[_0x87dce1(0x101)])==null?Zr:_0x5032b0,_0x4e017a=_0x11e212==null?void 0x0:_0x11e212[_0x87dce1(0x285)],_0x48697f=_0xc95a5e(_0x318544);return _0x20cbfb(_0x87dce1(0x28f),{'className':_0x87dce1(0x304),'data-u-comp':Jr,'children':_0x247837['map'](({label:_0x59dd86,preset:_0x4f202a})=>{const _0x465925=_0x87dce1;let _0x283bc9=Xr[_0x4f202a],_0x4e290c=_0x48697f['t'](_0x59dd86);return _0x20cbfb(_0x465925(0x32b),{'type':_0x465925(0x32b),'aria-label':_0x4e290c,'title':_0x4e290c,'className':'univer-box-border\x20univer-flex\x20univer-size-7\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-primary-600\x20hover:univer-bg-gray-100','onClick':_0x434f4b=>{const _0x2aa1eb=_0x465925;_0x434f4b[_0x2aa1eb(0x205)](),_0x4e017a==null||_0x4e017a(_0x4f202a);},'children':_0x20cbfb(_0x283bc9,{'className':_0x465925(0xf8),'extend':Yr})},_0x4f202a);})});}const $r=_0x2d1af3(0x363),ei=[_0x2d1af3(0xb8),_0x2d1af3(0x33a),'docs-table-ui.columnTypeDate',_0x2d1af3(0x38c),_0x2d1af3(0x279)];function ti(){const _0x59e4ba=_0x2d1af3;let _0xcaa98e=_0xc95a5e(_0x318544);return _0x20cbfb(_0x59e4ba(0x28f),{'data-u-comp':$r,'children':ei[_0x59e4ba(0x3b5)](_0x3d8f34=>_0x20cbfb(_0x59e4ba(0x32b),{'type':'button','aria-label':_0xcaa98e['t'](_0x3d8f34),'children':_0xcaa98e['t'](_0x3d8f34)},_0x3d8f34))});}const ni={'icon':'TextTypeIcon','value':_0x494c6e[_0x2d1af3(0x242)]},ri={[_0x33c129[_0x2d1af3(0x336)]]:'OrderIcon',[_0x33c129[_0x2d1af3(0x170)]]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0x278)]]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0x3cf)]]:_0x2d1af3(0x31c),[_0x33c129['ORDER_LIST_4']]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0x329)]]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0xc6)]]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0x2fd)]]:'OrderIcon',[_0x33c129[_0x2d1af3(0x3af)]]:_0x2d1af3(0x31c),[_0x33c129['ORDER_LIST_QUICK_5']]:_0x2d1af3(0x31c),[_0x33c129[_0x2d1af3(0x112)]]:'OrderIcon',[_0x33c129[_0x2d1af3(0xa6)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0x29d)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0x2cd)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0x3ac)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0xd4)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0x168)]]:_0x2d1af3(0x189),[_0x33c129[_0x2d1af3(0x3ae)]]:_0x2d1af3(0x1f3),[_0x33c129[_0x2d1af3(0x1c1)]]:_0x2d1af3(0x1f3)},ii={[_0x494c6e[_0x2d1af3(0x242)]]:_0x2d1af3(0x176),[_0x494c6e[_0x2d1af3(0x26c)]]:_0x2d1af3(0x338),[_0x494c6e['HEADING_2']]:_0x2d1af3(0x214),[_0x494c6e[_0x2d1af3(0x1d0)]]:'H3Icon',[_0x494c6e[_0x2d1af3(0x364)]]:'H4Icon',[_0x494c6e['HEADING_5']]:'H5Icon',[_0x494c6e[_0x2d1af3(0x28d)]]:_0x2d1af3(0x1b5),[_0x494c6e[_0x2d1af3(0x149)]]:'SubtitleTypeIcon',[_0x494c6e[_0x2d1af3(0x2a9)]]:_0x2d1af3(0x176)};function ai(_0x242298,_0x350d75){const _0x20c7f5=_0x2d1af3;var _0xf64e6d;let _0x20baba=ci(_0x242298,_0x350d75);if(!_0x20baba)return ni;let _0x139158=di(_0x20baba);return{'icon':fi(_0x139158,(_0xf64e6d=_0x20baba[_0x20c7f5(0x16c)])==null?void 0x0:_0xf64e6d[_0x20c7f5(0x3b7)]),'value':_0x139158};}function oi(_0x3aec61,_0x56419c){const _0x3daf3c=_0x2d1af3;if(!_0x3aec61||!(_0x56419c!=null&&_0x56419c['tableId']))return[];let _0x5686d2=_0xa89fad(_0x3aec61,_0x56419c['tableId']);if(!_0x5686d2)return[];let _0x5d6405=Math[_0x3daf3c(0x121)](_0x56419c[_0x3daf3c(0x2d4)],_0x56419c[_0x3daf3c(0x2db)]),_0x564508=Math[_0x3daf3c(0x3c3)](_0x56419c['startRow'],_0x56419c['endRow']),_0x1ddd70=Math[_0x3daf3c(0x121)](_0x56419c[_0x3daf3c(0x175)],_0x56419c['endColumn']),_0x2e01fc=Math[_0x3daf3c(0x3c3)](_0x56419c[_0x3daf3c(0x175)],_0x56419c[_0x3daf3c(0x125)]),_0x46aa08=new Set(),_0x30c006=[];for(let _0x33317f=_0x5d6405;_0x33317f<=_0x564508;_0x33317f++)for(let _0x5f4ee3=_0x1ddd70;_0x5f4ee3<=_0x2e01fc;_0x5f4ee3++){var _0x5dd427,_0x1081c5;let _0x1e6862=(_0x5dd427=_0x5686d2[_0x3daf3c(0x271)][_0x33317f])==null?void 0x0:_0x5dd427[_0x3daf3c(0x23a)][_0x5f4ee3];if(!_0x1e6862)continue;let _0x140d2a=_0x1e6862['startOffset']+0x1,_0x12f83e=Math[_0x3daf3c(0x3c3)](_0x140d2a,_0x1e6862[_0x3daf3c(0x2a0)]-0x1),_0x5ecadd=_0x140d2a+':'+_0x12f83e;_0x46aa08[_0x3daf3c(0x188)](_0x5ecadd)||(_0x46aa08['add'](_0x5ecadd),_0x30c006[_0x3daf3c(0x1d8)]({'collapsed':_0x140d2a===_0x12f83e,'endOffset':_0x12f83e,'segmentId':(_0x1081c5=_0x56419c[_0x3daf3c(0x2d7)])==null?'':_0x1081c5,'startOffset':_0x140d2a}));}return _0x30c006['sort']((_0x3fccbd,_0x46f35d)=>_0x3fccbd['startOffset']-_0x46f35d[_0x3daf3c(0x324)]||_0x3fccbd[_0x3daf3c(0x2a0)]-_0x46f35d['endOffset']);}function si(_0x1729a5,_0x3a24fb){const _0xa6a18f=_0x2d1af3;var _0x4cf216;let _0x2deb92=ui(_0x1729a5,_0x3a24fb);if(!_0x2deb92)return[];let _0x3b836d=_0x2deb92[_0xa6a18f(0x324)]+0x1,_0xc83bc2=Math[_0xa6a18f(0x3c3)](_0x3b836d,_0x2deb92[_0xa6a18f(0x2a0)]-0x1);return[{'collapsed':_0x3b836d===_0xc83bc2,'endOffset':_0xc83bc2,'segmentId':(_0x4cf216=_0x3a24fb==null?void 0x0:_0x3a24fb['segmentId'])==null?'':_0x4cf216,'startOffset':_0x3b836d}];}function ci(_0x1a4053,_0x339a93){const _0x345645=_0x2d1af3;var _0x553bda;if(!_0x1a4053||!(_0x339a93!=null&&_0x339a93[_0x345645(0x3a8)]))return null;let _0xa8e8eb=(_0x553bda=_0x1a4053['body'])==null?void 0x0:_0x553bda[_0x345645(0xd8)],_0x1c9bf4=ui(_0x1a4053,_0x339a93);return!_0x1c9bf4||!(_0xa8e8eb!=null&&_0xa8e8eb[_0x345645(0x164)])?null:li(_0xa8e8eb,_0x1c9bf4[_0x345645(0x324)]+0x1);}function li(_0x10518f,_0x4d3455){const _0x1d19da=_0x2d1af3;let _0x3f18e7=-0x1;for(let _0x164201 of _0x10518f){if(_0x4d3455>_0x3f18e7&&_0x4d3455<=_0x164201[_0x1d19da(0x174)])return _0x164201;_0x3f18e7=_0x164201[_0x1d19da(0x174)];}return null;}function ui(_0x43611c,_0x30a239){const _0x55202c=_0x2d1af3;var _0x3f7719,_0x5d7cf7;if(!_0x43611c||!(_0x30a239!=null&&_0x30a239[_0x55202c(0x3a8)]))return null;let _0x4d0dfe=_0xa89fad(_0x43611c,_0x30a239[_0x55202c(0x3a8)]),_0x33aab9=Math[_0x55202c(0x121)](_0x30a239[_0x55202c(0x2d4)],_0x30a239[_0x55202c(0x2db)]),_0x479bd4=Math[_0x55202c(0x121)](_0x30a239[_0x55202c(0x175)],_0x30a239[_0x55202c(0x125)]);return(_0x3f7719=_0x4d0dfe==null||(_0x5d7cf7=_0x4d0dfe[_0x55202c(0x271)][_0x33aab9])==null?void 0x0:_0x5d7cf7[_0x55202c(0x23a)][_0x479bd4])==null?null:_0x3f7719;}function di(_0x59545a){const _0x52706a=_0x2d1af3;var _0xf53354,_0x5b489d,_0x128916;let _0x2ffca4=(_0xf53354=_0x59545a[_0x52706a(0x371)])==null?void 0x0:_0xf53354[_0x52706a(0x35f)];return _0x2ffca4!=null&&_0x2ffca4['startsWith'](_0x33c129[_0x52706a(0x336)])?_0x33c129[_0x52706a(0x336)]:_0x2ffca4!=null&&_0x2ffca4[_0x52706a(0xd7)](_0x33c129[_0x52706a(0xa6)])?_0x33c129[_0x52706a(0xa6)]:_0x2ffca4===_0x33c129[_0x52706a(0x3ae)]||_0x2ffca4===_0x33c129['CHECK_LIST_CHECKED']?_0x33c129[_0x52706a(0x3ae)]:(_0x5b489d=(_0x128916=_0x59545a[_0x52706a(0x16c)])==null?void 0x0:_0x128916[_0x52706a(0x3b7)])==null?_0x494c6e[_0x52706a(0x242)]:_0x5b489d;}function fi(_0x5f2461,_0x34f781){const _0x3df2bf=_0x2d1af3;var _0x38d26c,_0x2bcb94;if(typeof _0x5f2461==_0x3df2bf(0x257)){var _0x3068ef;return(_0x3068ef=ri[_0x5f2461])==null?ni[_0x3df2bf(0x359)]:_0x3068ef;}return(_0x38d26c=(_0x2bcb94=ii[_0x5f2461])==null?ii[_0x34f781==null?_0x494c6e[_0x3df2bf(0x242)]:_0x34f781]:_0x2bcb94)==null?ni['icon']:_0x38d26c;}function U(_0x577e46){const _0x55fe17=_0x2d1af3;return{'id':_0x577e46['id'],'type':_0x336080[_0x55fe17(0x12a)],'handler':async(_0x5c0d72,_0x4abb84)=>{const _0x5ed590=_0x55fe17;let _0x3e4c8b=_0x577e46['mapParams']?_0x577e46[_0x5ed590(0x34a)](_0x4abb84):_0x4abb84;return Ci(_0x5c0d72,_0x577e46[_0x5ed590(0x320)],_0x3e4c8b);}};}const pi={'id':_0x2d1af3(0x108),'type':_0x336080['COMMAND'],'handler':async(_0x518633,_0x24ffd7)=>{const _0x880c41=_0x2d1af3;if(!_0x24ffd7)return!0x1;let {value:_0x48a9d6}=_0x24ffd7;if(typeof _0x48a9d6==_0x880c41(0x2c9))return Ci(_0x518633,_0x58982b['id'],{'value':_0x48a9d6},_0x880c41(0x158));switch(_0x48a9d6){case _0x33c129['ORDER_LIST']:return Ci(_0x518633,_0x4f04fb['id'],{'value':_0x48a9d6},'top-left');case _0x33c129[_0x880c41(0xa6)]:return Ci(_0x518633,_0x32411b['id'],{'value':_0x48a9d6},_0x880c41(0x158));case _0x33c129[_0x880c41(0x3ae)]:return Ci(_0x518633,_0x37e76e['id'],{'value':_0x48a9d6},'top-left');default:return!0x1;}}},mi=U({'id':'docs-table-ui.command.floating-bold','targetCommandId':_0x3c65d9['id']}),hi=U({'id':'docs-table-ui.command.floating-italic','targetCommandId':_0x5c3404['id']}),gi=U({'id':_0x2d1af3(0x1de),'targetCommandId':_0x2ce315['id']}),_i=U({'id':_0x2d1af3(0x1e9),'targetCommandId':_0x1a2823['id']}),vi=U({'id':'docs-table-ui.command.floating-font-family','targetCommandId':_0x2276cf['id']}),yi=U({'id':_0x2d1af3(0x1f9),'targetCommandId':_0x4fb83b['id']}),bi=U({'id':_0x2d1af3(0x31d),'targetCommandId':_0x5c7407['id'],'mapParams':_0x487146=>({'alignType':_0x487146==null?void 0x0:_0x487146['value']})}),xi=U({'id':_0x2d1af3(0x325),'targetCommandId':_0x2d8178['id']}),Si=U({'id':_0x2d1af3(0xe6),'targetCommandId':_0x1856b6['id']});async function Ci(_0x2d8c1f,_0x349ae3,_0x243e2c,_0x47aa30='selection'){const _0x323495=_0x2d1af3;var _0xfa4f80,_0x35bd99;let _0x29a69d=_0x2d8c1f[_0x323495(0x265)](_0x18b06f),_0xde35c0=_0x2d8c1f[_0x323495(0x265)](_0x2e4830),_0x4975e4=_0x2d8c1f[_0x323495(0x265)](_0xaaa3e3),_0x607e89=_0x2d8c1f[_0x323495(0x265)](_0xe197db),_0xee17ed=_0x4975e4[_0x323495(0x39b)](_0x2ad6ca[_0x323495(0x193)]),_0x4dcbb7=_0xde35c0['getStableTableSelection']();if(!_0xee17ed||!(_0x4dcbb7!=null&&_0x4dcbb7['tableId']))return _0x29a69d[_0x323495(0x173)](_0x349ae3,_0x243e2c);let _0x4ef9f2=_0xee17ed['getSnapshot'](),_0x485f9d=_0x47aa30==='top-left'?si(_0x4ef9f2,_0x4dcbb7):oi(_0x4ef9f2,_0x4dcbb7);if(!_0x485f9d[_0x323495(0x164)])return!0x1;let _0x190fe8=_0xee17ed[_0x323495(0x18f)](),_0x1ca60d=[...(_0xfa4f80=_0x607e89[_0x323495(0x38a)]())==null?[]:_0xfa4f80];(_0x35bd99=_0x607e89[_0x323495(0x154)])==null||_0x35bd99[_0x323495(0x3cd)](_0x607e89,_0x485f9d,{'unitId':_0x190fe8,'subUnitId':_0x190fe8},!0x1);try{return await _0x29a69d[_0x323495(0x173)](_0x349ae3,_0x243e2c);}finally{var _0x361f5c;(_0x361f5c=_0x607e89[_0x323495(0x154)])==null||_0x361f5c[_0x323495(0x3cd)](_0x607e89,_0x1ca60d,{'unitId':_0x190fe8,'subUnitId':_0x190fe8},!0x1);}}function wi(_0x26c4b4){'@babel/helpers - typeof';const _0x3c199b=_0x2d1af3;return wi=typeof Symbol==_0x3c199b(0x2cc)&&typeof Symbol[_0x3c199b(0x11a)]==_0x3c199b(0x2dd)?function(_0xafba4a){return typeof _0xafba4a;}:function(_0x5b021f){const _0x3ac2c2=_0x3c199b;return _0x5b021f&&typeof Symbol==_0x3ac2c2(0x2cc)&&_0x5b021f['constructor']===Symbol&&_0x5b021f!==Symbol[_0x3ac2c2(0x39f)]?_0x3ac2c2(0x2dd):typeof _0x5b021f;},wi(_0x26c4b4);}function Ti(_0x1f5a9e,_0x3e941f){const _0x12660a=_0x2d1af3;if(wi(_0x1f5a9e)!=_0x12660a(0x1d5)||!_0x1f5a9e)return _0x1f5a9e;var _0x215675=_0x1f5a9e[Symbol[_0x12660a(0x39d)]];if(_0x215675!==void 0x0){var _0x286112=_0x215675[_0x12660a(0x3cd)](_0x1f5a9e,_0x3e941f||_0x12660a(0x202));if(wi(_0x286112)!=_0x12660a(0x1d5))return _0x286112;throw TypeError(_0x12660a(0x2cb));}return(_0x3e941f==='string'?String:Number)(_0x1f5a9e);}function Ei(_0x3cabf0){const _0x4f9145=_0x2d1af3;var _0x28e074=Ti(_0x3cabf0,_0x4f9145(0x257));return wi(_0x28e074)==_0x4f9145(0x2dd)?_0x28e074:_0x28e074+'';}function W(_0x1ed719,_0x192459,_0x40bb93){return(_0x192459=Ei(_0x192459))in _0x1ed719?Object['defineProperty'](_0x1ed719,_0x192459,{'value':_0x40bb93,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ed719[_0x192459]=_0x40bb93,_0x1ed719;}const Di={'visible':!0x1,'tableId':'','selectionKind':_0x4ffc7d[_0x2d1af3(0x1bb)],'selection':null,'anchorRect':null,'selectionRect':null,'mergeAction':null,'showDeleteAction':!0x1,'hoverActive':!0x1,'deleteTarget':null,'deleteHoverActive':!0x1,'topLeftCell':null,'verticalAlign':null,'typeIcon':void 0x0,'typeValue':void 0x0};var Oi=class extends _0xb0e1b5{constructor(..._0x5b2581){const _0x31c143=_0x2d1af3;super(..._0x5b2581),W(this,_0x31c143(0x14b),Di),W(this,_0x31c143(0x2ac),new _0x5920e3(Di));}['getState'](){const _0x2194db=_0x2d1af3;return this[_0x2194db(0x14b)];}[_0x2d1af3(0x1e2)](_0x1a0c1f){const _0x46be13=_0x2d1af3;this[_0x46be13(0x162)](_0x1a0c1f);}[_0x2d1af3(0x11e)](_0x3e1ff3={}){const _0x5c6f16=_0x2d1af3;this[_0x5c6f16(0x162)]({'visible':!0x0,..._0x3e1ff3});}[_0x2d1af3(0x326)](){const _0x301355=_0x2d1af3;this[_0x301355(0x162)]({...Di,'visible':!0x1});}[_0x2d1af3(0x12b)](){const _0x8075b2=_0x2d1af3;this[_0x8075b2(0x14b)]=Di,this[_0x8075b2(0x2ac)][_0x8075b2(0x2b1)](this[_0x8075b2(0x14b)]);}[_0x2d1af3(0x209)](_0x46e484){const _0x2ab147=_0x2d1af3;this[_0x2ab147(0x162)]({'deleteHoverActive':_0x46e484});}['setDeleteHover'](_0x34cd7b){const _0x5671c3=_0x2d1af3;this[_0x5671c3(0x209)](_0x34cd7b);}[_0x2d1af3(0x15b)](_0x2d42b4){const _0x132250=_0x2d1af3;this[_0x132250(0x162)]({'hoverActive':_0x2d42b4});}['dispose'](){const _0x3fa6a9=_0x2d1af3;this[_0x3fa6a9(0x2ac)]['complete'](),super[_0x3fa6a9(0x117)]();}['_updateState'](_0x4b977b){const _0x29fa95=_0x2d1af3;this[_0x29fa95(0x14b)]={...this[_0x29fa95(0x14b)],..._0x4b977b},this[_0x29fa95(0x2ac)]['next'](this['_state']);}};const ki=_0x2d1af3(0x391);function Ai(){const _0x5059f9=_0x2d1af3;return _0x20cbfb(_0x5059f9(0x349),{'className':_0x5059f9(0x111)});}function ji({items:_0x15d2e5}){const _0x33013e=_0x2d1af3;return _0x20cbfb(_0x33013e(0x2ce),{'className':_0x33013e(0x22c),'children':_0x15d2e5['map'](_0x39c6c5=>_0x20cbfb(_0xd7b321,{..._0x39c6c5},_0x39c6c5['id']))});}function Mi({items:_0x561ba1,children:_0x5327aa}){const _0x533d1d=_0x2d1af3;return _0x251af8(_0x533d1d(0x2ce),{'className':'univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','children':[_0x561ba1==null?void 0x0:_0x561ba1[_0x533d1d(0x3b5)](_0x109587=>_0x20cbfb(_0xd7b321,{..._0x109587},_0x109587['id'])),_0x5327aa]});}const Ni=[0x0,0.5,0.75,0x1,1.5,2.25,0x3,4.5,0x6],Pi=[{'value':_0x2d1af3(0xda),'label':_0x2d1af3(0x2d6),'icon':_0x193778},{'value':'dot','label':_0x2d1af3(0x31b),'icon':_0x405bfe},{'value':'dash','label':_0x2d1af3(0xcc),'icon':_0x19ff77}],Fi=[{'label':_0x2d1af3(0x318),'preset':_0x314273[_0x2d1af3(0xdb)]},{'label':'docs-table-ui.borderInner','preset':_0x314273[_0x2d1af3(0x260)]},{'label':_0x2d1af3(0x1ec),'preset':_0x314273[_0x2d1af3(0x16d)]},{'label':_0x2d1af3(0x1fe),'preset':_0x314273[_0x2d1af3(0x9f)]},{'label':_0x2d1af3(0x280),'preset':_0x314273[_0x2d1af3(0x377)]},{'label':_0x2d1af3(0x2de),'preset':_0x314273[_0x2d1af3(0xc1)]},{'label':_0x2d1af3(0x3c4),'preset':_0x314273[_0x2d1af3(0xad)]},{'label':_0x2d1af3(0x297),'preset':_0x314273[_0x2d1af3(0xc2)]},{'label':_0x2d1af3(0xd2),'preset':_0x314273[_0x2d1af3(0x397)]},{'label':_0x2d1af3(0x2c5),'preset':_0x314273[_0x2d1af3(0xbd)]}];function Ii(_0x32e528){const _0x2989a1=_0x2d1af3;let _0x442189=_0xc95a5e(_0x318544);return _0x20cbfb(_0x5ae5ff,{'title':_0x442189['t'](_0x32e528[_0x2989a1(0x3b8)]),'placement':'bottom','children':_0x20cbfb(_0x2989a1(0x349),{'children':_0x20cbfb(_0x2989a1(0x32b),{'type':'button','data-toolbar-item':_0x32e528[_0x2989a1(0x228)],'aria-label':_0x442189['t'](_0x32e528['titleKey']),'disabled':_0x32e528['disabled'],'className':_0x4766b8(_0x2989a1(0x182),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32e528[_0x2989a1(0x213)]}),'children':_0x32e528[_0x2989a1(0x207)]})})});}function Li(_0x4c8361){const _0x59fe87=_0x2d1af3;let _0x29c265=_0xc95a5e(_0x318544);return _0x251af8('button',{'type':'button','data-toolbar-item':_0x4c8361[_0x59fe87(0x228)],'aria-label':_0x29c265['t'](_0x59fe87(0x15f)),'className':_0x59fe87(0x270),'onClick':_0x186381=>{const _0x5a7f91=_0x59fe87;_0x186381[_0x5a7f91(0x205)](),_0x186381[_0x5a7f91(0xd5)](),_0x4c8361[_0x5a7f91(0x2e4)]();},'children':[_0x20cbfb(_0x1be3f8,{'className':_0x59fe87(0x226),'extend':{'colorChannel1':_0x59fe87(0x18a)}}),_0x20cbfb(_0x59fe87(0x349),{'children':_0x29c265['t'](_0x59fe87(0x15f))})]});}function Ri(_0x423bef){const _0x43c5ad=_0x2d1af3;return _0x251af8(_0x43c5ad(0x2ce),{'className':_0x43c5ad(0x309),'onMouseDown':_0x25f8a5=>_0x25f8a5[_0x43c5ad(0xd5)](),'children':[_0x20cbfb(_0x43c5ad(0x2ce),{'className':_0x43c5ad(0x133),'children':_0x20cbfb(_0x43ef32,{'value':_0x423bef[_0x43c5ad(0x27d)],'onChange':_0x423bef[_0x43c5ad(0x136)]})}),_0x20cbfb(_0x1026ad,{}),_0x20cbfb(Li,{'itemId':_0x423bef[_0x43c5ad(0x2ba)],'onClick':_0x423bef[_0x43c5ad(0x1a9)]})]});}function zi(_0x7de54){const _0x40bf8c=_0x2d1af3;let _0xffe99c=_0xc95a5e(_0x318544);return _0x20cbfb(_0x5ae5ff,{'title':_0xffe99c['t'](_0x7de54['labelKey']),'placement':_0x40bf8c(0x3cb),'children':_0x20cbfb(_0x40bf8c(0x32b),{'type':_0x40bf8c(0x32b),'data-toolbar-item':_0x7de54[_0x40bf8c(0x228)],'aria-label':_0xffe99c['t'](_0x7de54['labelKey']),'disabled':_0x7de54[_0x40bf8c(0xa3)],'className':_0x4766b8(_0x40bf8c(0x32c),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x7de54['active']}),'onClick':_0x3504e4=>{const _0x248725=_0x40bf8c;_0x3504e4[_0x248725(0x205)](),_0x7de54['onClick']();},'children':_0x7de54[_0x40bf8c(0x207)]})});}function Bi(_0x5eeec1){const _0x59aa70=_0x2d1af3;return _0x20cbfb(zi,{'active':_0x4f0c91(()=>{const _0x541ef8=_0x7cb3;var _0x5361c9;return(_0x5361c9=_0x5eeec1[_0x541ef8(0x39e)][_0x541ef8(0x35c)])==null?_0x58ee7a(!0x1):_0x5361c9;},!0x1,!0x1,[_0x5eeec1[_0x59aa70(0x39e)]]),'disabled':_0x5eeec1[_0x59aa70(0xa3)],'itemId':_0x5eeec1[_0x59aa70(0x228)],'labelKey':_0x5eeec1[_0x59aa70(0x123)],'onClick':()=>_0x5eeec1['onExecute'](_0x5eeec1['commandId']),'children':_0x5eeec1[_0x59aa70(0x359)]});}function Vi(_0x3ae0c8){const _0x17f6b7=_0x2d1af3;let [_0x3eaa50,_0x2db895]=_0x24ec16(!0x1),_0x34c702=_0x4f0c91(()=>{const _0x226b0c=_0x7cb3;var _0x498576;return(_0x498576=_0x3ae0c8[_0x226b0c(0x147)][_0x226b0c(0x1b4)])==null?_0x58ee7a(_0x3e783b[_0x226b0c(0xef)]):_0x498576;},_0x3e783b[_0x17f6b7(0xef)],!0x1,[_0x3ae0c8['alignItem']]),_0x1d9c1e=[{'icon':_0xa43f4e,'itemId':_0x17f6b7(0x169),'label':_0x17f6b7(0x239),'value':_0x3e783b[_0x17f6b7(0xef)]},{'icon':_0xc52b04,'itemId':_0x17f6b7(0x2bd),'label':_0x17f6b7(0x1d9),'value':_0x3e783b['CENTER']},{'icon':_0x26dbc1,'itemId':_0x17f6b7(0xb2),'label':_0x17f6b7(0x38e),'value':_0x3e783b[_0x17f6b7(0x29a)]},{'icon':_0x520ae5,'itemId':'text-align-justify','label':'docs-table-ui.toolbar.alignJustify','value':_0x3e783b[_0x17f6b7(0x275)]}],_0x5cb3dc=[{'icon':_0x344fd2,'itemId':'vertical-align-top','label':'docs-table-ui.verticalAlignTop','value':_0x5ee1a7[_0x17f6b7(0x1f7)]},{'icon':_0x3c3cd1,'itemId':_0x17f6b7(0x33e),'label':_0x17f6b7(0x245),'value':_0x5ee1a7[_0x17f6b7(0x1cd)]},{'icon':_0x504a70,'itemId':_0x17f6b7(0x222),'label':_0x17f6b7(0x27e),'value':_0x5ee1a7[_0x17f6b7(0x352)]}];return _0x20cbfb(_0x4a1f9b,{'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'open':_0x3eaa50,'onOpenChange':_0x2db895,'overlay':_0x251af8(_0x17f6b7(0x28f),{'className':_0x4766b8('univer-box-border\x20univer-grid\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x55f7a7),'onMouseDown':_0x318b02=>_0x318b02['stopPropagation'](),'children':[_0x251af8(_0x17f6b7(0x2ce),{'className':'univer-flex\x20univer-items-center\x20univer-gap-1','children':[_0x20cbfb(Bi,{'commandId':mi['id'],'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'icon':_0x20cbfb(_0x57a1fe,{}),'item':_0x3ae0c8['formatItems']['bold'],'itemId':'floating-text-bold','labelKey':_0x17f6b7(0x2d2),'onExecute':_0x3ae0c8[_0x17f6b7(0x21d)]}),_0x20cbfb(Bi,{'commandId':hi['id'],'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'icon':_0x20cbfb(_0x33b927,{}),'item':_0x3ae0c8[_0x17f6b7(0x1c9)][_0x17f6b7(0x192)],'itemId':'floating-text-italic','labelKey':_0x17f6b7(0x210),'onExecute':_0x3ae0c8['onExecuteInlineCommand']}),_0x20cbfb(Bi,{'commandId':gi['id'],'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'icon':_0x20cbfb(_0x4814e5,{}),'item':_0x3ae0c8[_0x17f6b7(0x1c9)][_0x17f6b7(0x128)],'itemId':_0x17f6b7(0x20a),'labelKey':'docs-table-ui.toolbar.underline','onExecute':_0x3ae0c8['onExecuteInlineCommand']}),_0x20cbfb(Bi,{'commandId':_i['id'],'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'icon':_0x20cbfb(_0x808e03,{}),'item':_0x3ae0c8['formatItems']['strike'],'itemId':_0x17f6b7(0xf0),'labelKey':_0x17f6b7(0x314),'onExecute':_0x3ae0c8[_0x17f6b7(0x21d)]})]}),_0x20cbfb(_0x1026ad,{}),_0x20cbfb(_0x17f6b7(0x2ce),{'className':'univer-flex\x20univer-items-center\x20univer-gap-1','children':_0x1d9c1e['map'](({icon:_0x15783a,itemId:_0x393b5b,label:_0x4c0e83,value:_0x915d5e})=>_0x20cbfb(zi,{'active':_0x34c702===_0x915d5e,'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'itemId':_0x393b5b,'labelKey':_0x4c0e83,'onClick':()=>_0x3ae0c8['onHorizontalAlign'](_0x915d5e),'children':_0x20cbfb(_0x15783a,{})},_0x393b5b))}),_0x20cbfb(_0x1026ad,{}),_0x20cbfb(_0x17f6b7(0x2ce),{'className':_0x17f6b7(0x180),'children':_0x5cb3dc[_0x17f6b7(0x3b5)](({icon:_0x3962e8,itemId:_0x165e0a,label:_0x1b96ea,value:_0x28968b})=>_0x20cbfb(zi,{'active':_0x3ae0c8[_0x17f6b7(0xb6)]===_0x28968b,'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'itemId':_0x165e0a,'labelKey':_0x1b96ea,'onClick':()=>_0x3ae0c8[_0x17f6b7(0x19e)](_0x28968b),'children':_0x20cbfb(_0x3962e8,{})},_0x165e0a))})]}),'children':_0x20cbfb(_0x17f6b7(0x349),{'children':_0x251af8(Ii,{'titleKey':_0x17f6b7(0x2bc),'itemId':'floating-text-format-panel','open':_0x3eaa50,'disabled':_0x3ae0c8[_0x17f6b7(0xa3)],'children':[_0x20cbfb(_0x5159b5,{}),_0x20cbfb(_0xe0ab7f,{'className':_0x17f6b7(0x2da)})]})})});}function Hi(_0x36be67,_0x544f34){const _0x1449ab=_0x2d1af3;var _0x551a8d,_0x981a1c,_0x579252;if(!_0x36be67||!(_0x544f34!=null&&_0x544f34[_0x1449ab(0x3a8)]))return null;let _0x5093f5=(_0x551a8d=_0xa89fad(_0x36be67,_0x544f34[_0x1449ab(0x3a8)]))==null?void 0x0:_0x551a8d[_0x1449ab(0x365)];return(_0x981a1c=_0x5093f5==null||(_0x579252=_0x5093f5['tableRows'][_0x544f34[_0x1449ab(0x2d4)]])==null?void 0x0:_0x579252['tableCells'][_0x544f34[_0x1449ab(0x175)]])==null?null:_0x981a1c;}function Ui(_0x5af9d0){const _0x435029=_0x2d1af3;var _0xb179f6;return _0x5af9d0?(_0xb179f6=[_0x5af9d0['borderTop'],_0x5af9d0[_0x435029(0x165)],_0x5af9d0[_0x435029(0x353)],_0x5af9d0['borderLeft']][_0x435029(0x299)](_0xb40610=>{const _0x397993=_0x435029;var _0x2a9ac3,_0x18491a,_0x243e0b;return!!_0xb40610&&(((_0x2a9ac3=(_0x18491a=_0xb40610['width'])==null?void 0x0:_0x18491a['v'])==null?0x0:_0x2a9ac3)>0x0||!!((_0x243e0b=_0xb40610[_0x397993(0x27d)])!=null&&_0x243e0b[_0x397993(0x1d7)])||_0xb40610[_0x397993(0x1ee)]!=null);}))==null?null:_0xb179f6:null;}function Wi(_0x57c3f4){const _0x4a5347=_0x2d1af3;return _0x57c3f4===_0x12baff[_0x4a5347(0x382)]?_0x4a5347(0x34e):_0x57c3f4===_0x12baff[_0x4a5347(0x1b7)]?_0x4a5347(0xca):'solid';}function Gi(_0x42d53e){const _0x436d97=_0x2d1af3;let [_0x450a15,_0x20b9a1]=_0x24ec16(!0x1);return _0x20cbfb(_0x4a1f9b,{'disabled':_0x42d53e[_0x436d97(0xa3)],'open':_0x450a15,'onOpenChange':_0x20b9a1,'overlay':_0x20cbfb(Ri,{'color':_0x42d53e[_0x436d97(0x27d)],'resetItemId':'cell-background-reset','onChange':_0x42d53e['onChange'],'onReset':()=>{const _0x227bad=_0x436d97;_0x42d53e[_0x227bad(0x1a9)](),_0x20b9a1(!0x1);}}),'children':_0x20cbfb(_0x436d97(0x349),{'children':_0x251af8(Ii,{'titleKey':'docs-table-ui.tableBackgroundColor','itemId':_0x436d97(0x1c2),'open':_0x450a15,'disabled':_0x42d53e[_0x436d97(0xa3)],'children':[_0x20cbfb(_0x4cd401,{'className':_0x436d97(0x14f),'extend':{'colorChannel1':_0x42d53e[_0x436d97(0x27d)]}}),_0x20cbfb(_0xe0ab7f,{'className':_0x436d97(0x2da)})]})})});}function Ki(_0x1cf7ec){const _0x1f477b=_0x2d1af3;var _0x2c1cad,_0x53eebb;let _0x5d9706=_0xc95a5e(_0x318544),[_0x2b1a95,_0x5b42f9]=_0x24ec16(!0x1),_0x402a06=_0x4f0c91(_0x5d9706[_0x1f477b(0x373)],_0x5d9706[_0x1f477b(0x1c5)]()),_0x2293be=(_0x2c1cad=(_0x53eebb=Pi['find'](_0x15b071=>_0x15b071[_0x1f477b(0x310)]===_0x1cf7ec[_0x1f477b(0x262)]))==null?void 0x0:_0x53eebb['icon'])==null?_0x193778:_0x2c1cad;return _0x20cbfb(_0x4a1f9b,{'disabled':_0x1cf7ec[_0x1f477b(0xa3)],'open':_0x2b1a95,'onOpenChange':_0x5b42f9,'overlay':_0x251af8(_0x1f477b(0x28f),{'className':_0x4766b8('univer-box-border\x20univer-grid\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x55f7a7),'dir':_0x402a06,'onMouseDown':_0xd80631=>_0xd80631[_0x1f477b(0xd5)](),'children':[_0x20cbfb(_0x1f477b(0x2ce),{'className':_0x1f477b(0x24d),'children':Fi['map'](({label:_0x502021,preset:_0xb68635})=>{const _0x2195f1=_0x1f477b;let _0x45bdc8=Xr[_0xb68635],_0x127e47=_0x5d9706['t'](_0x502021);return _0x20cbfb(_0x5ae5ff,{'title':_0x127e47,'placement':_0x2195f1(0x3cb),'children':_0x20cbfb('button',{'type':'button','aria-label':_0x127e47,'className':_0x2195f1(0x259),'onClick':()=>{_0x1cf7ec['onSelectPreset'](_0xb68635),_0x5b42f9(!0x1);},'children':_0x20cbfb(_0x45bdc8,{'className':_0x2195f1(0x33b),'extend':Yr})})},_0xb68635);})}),_0x20cbfb(_0x1026ad,{}),_0x251af8('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x20cbfb(_0x4a1f9b,{'overlay':_0x20cbfb(Ri,{'color':_0x1cf7ec[_0x1f477b(0x27d)],'resetItemId':'border-color-reset','onChange':_0x5a7bd8=>{const _0x5aaded=_0x1f477b;_0x1cf7ec[_0x5aaded(0x1a3)](_0x5a7bd8);},'onReset':_0x1cf7ec[_0x1f477b(0x167)]}),'children':_0x251af8(_0x1f477b(0x32b),{'type':_0x1f477b(0x32b),'aria-label':_0x5d9706['t'](_0x1f477b(0x248)),'className':_0x1f477b(0x3bd),'children':[_0x20cbfb(_0x4cd401,{'className':_0x1f477b(0x14f),'extend':{'colorChannel1':_0x1cf7ec['color']}}),_0x20cbfb(_0xe0ab7f,{'className':'univer-text-xs'})]})}),_0x20cbfb(_0x4a1f9b,{'overlay':_0x20cbfb(_0x1f477b(0x2ce),{'className':'univer-grid\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-1.5\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','children':Ni[_0x1f477b(0x3b5)](_0x290666=>_0x251af8(_0x1f477b(0x32b),{'type':_0x1f477b(0x32b),'className':_0x4766b8(_0x1f477b(0x185),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x290666===_0x1cf7ec[_0x1f477b(0x15e)]}),'onClick':()=>{const _0x153629=_0x1f477b;_0x1cf7ec[_0x153629(0x3cc)](_0x290666);},'children':[_0x290666,'pt']},_0x290666))}),'children':_0x251af8(_0x1f477b(0x32b),{'type':'button','aria-label':_0x5d9706['t'](_0x1f477b(0x269)),'className':_0x1f477b(0x3bd),'children':[_0x20cbfb(_0x5d8ecb,{'className':_0x1f477b(0x122)}),_0x251af8(_0x1f477b(0x349),{'className':_0x1f477b(0x2da),'children':[_0x1cf7ec['width'],'pt']}),_0x20cbfb(_0xe0ab7f,{'className':'univer-text-xs'})]})}),_0x20cbfb(_0x4a1f9b,{'overlay':_0x20cbfb(_0x1f477b(0x2ce),{'className':_0x1f477b(0x126),'children':Pi[_0x1f477b(0x3b5)](({icon:_0x102973,label:_0x5ce8be,value:_0x5ecbf5})=>_0x20cbfb(_0x5ae5ff,{'title':_0x5d9706['t'](_0x5ce8be),'placement':_0x1f477b(0x30b),'children':_0x20cbfb(_0x1f477b(0x32b),{'type':_0x1f477b(0x32b),'className':_0x4766b8('univer-flex\x20univer-h-8\x20univer-min-w-12\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5ecbf5===_0x1cf7ec['style']}),'onClick':()=>{const _0x571781=_0x1f477b;_0x1cf7ec[_0x571781(0x375)](_0x5ecbf5);},'children':_0x20cbfb(_0x102973,{'className':_0x1f477b(0x122)})})},_0x5ecbf5))}),'children':_0x251af8(_0x1f477b(0x32b),{'type':_0x1f477b(0x32b),'aria-label':_0x5d9706['t'](_0x1f477b(0x1c8)),'className':_0x1f477b(0x3bd),'children':[_0x20cbfb(_0x2293be,{'className':_0x1f477b(0x122)}),_0x20cbfb(_0xe0ab7f,{'className':_0x1f477b(0x2da)})]})})]})]}),'children':_0x20cbfb(_0x1f477b(0x349),{'children':_0x251af8(Ii,{'titleKey':_0x1f477b(0x12e),'itemId':_0x1f477b(0x1c0),'open':_0x2b1a95,'disabled':_0x1cf7ec[_0x1f477b(0xa3)],'children':[_0x20cbfb(_0x41bba0,{}),_0x20cbfb(_0xe0ab7f,{'className':_0x1f477b(0x2da)})]})})});}function qi(_0x2a1665){const _0x21d831=_0x2d1af3;let [_0x264f0a,_0x1a3d89]=_0x24ec16(!0x1);return _0x20cbfb(_0x4a1f9b,{'disabled':_0x2a1665[_0x21d831(0xa3)],'open':_0x264f0a,'onOpenChange':_0x1a3d89,'overlay':_0x20cbfb(Ri,{'color':_0x2a1665[_0x21d831(0x27d)],'resetItemId':_0x2a1665[_0x21d831(0x2ba)],'onChange':_0x23e6f9=>{_0x2a1665['onChange'](_0x2a1665['commandId'],_0x23e6f9);},'onReset':()=>{const _0x514cf9=_0x21d831;_0x2a1665[_0x514cf9(0x136)](_0x2a1665[_0x514cf9(0x107)],null),_0x1a3d89(!0x1);}}),'children':_0x20cbfb(_0x21d831(0x349),{'children':_0x251af8(Ii,{'titleKey':_0x2a1665[_0x21d831(0x3b8)],'itemId':_0x2a1665[_0x21d831(0x228)],'open':_0x264f0a,'disabled':_0x2a1665[_0x21d831(0xa3)],'children':[_0x2a1665[_0x21d831(0x359)]===_0x21d831(0x30a)?_0x20cbfb(_0x146f60,{'className':_0x21d831(0x14f),'extend':{'colorChannel1':_0x2a1665[_0x21d831(0x27d)]}}):_0x20cbfb(_0x4cd401,{'className':_0x21d831(0x14f),'extend':{'colorChannel1':_0x2a1665[_0x21d831(0x27d)]}}),_0x20cbfb(_0xe0ab7f,{'className':_0x21d831(0x2da)})]})})});}function G(_0x635d0b,_0x21b0e5,_0x52878e){return{..._0x21b0e5(_0x635d0b),..._0x52878e};}function K(_0x2606fd,_0x2a0681,_0x1d7a0e){return{..._0x2606fd,'commandId':_0x2a0681,'disabled$':_0x1d7a0e};}const Ji={[_0x494c6e[_0x2d1af3(0x242)]]:_0x2d1af3(0xc0),[_0x494c6e[_0x2d1af3(0x26c)]]:_0x2d1af3(0x3b2),[_0x494c6e['HEADING_2']]:'docs-table-ui.toolbar.textStyle.heading2',[_0x494c6e[_0x2d1af3(0x1d0)]]:_0x2d1af3(0x1d6),[_0x494c6e['HEADING_4']]:_0x2d1af3(0xc8),[_0x494c6e[_0x2d1af3(0x398)]]:'docs-table-ui.toolbar.textStyle.heading5',[_0x33c129[_0x2d1af3(0x336)]]:_0x2d1af3(0x388),[_0x33c129[_0x2d1af3(0xa6)]]:_0x2d1af3(0x1bc),[_0x33c129[_0x2d1af3(0x3ae)]]:'docs-table-ui.toolbar.textStyle.checklist'};function Yi(_0x277c8a){const _0x2da730=_0x2d1af3;let {label:_0x1d8c93,tooltip:_0x3b00a1,..._0x41bf1d}=_0x277c8a,_0x4ce3fa=Ji[String(_0x277c8a[_0x2da730(0x310)])],_0x4b6fca=_0x277c8a['id']===_0x4f04fb['id']||_0x277c8a['id']===_0x32411b['id']||_0x277c8a['id']===_0x37e76e['id']?pi['id']:_0x277c8a['id'];return{..._0x41bf1d,'id':_0x4b6fca,'label':_0x4ce3fa,..._0x3b00a1?{'tooltip':_0x4ce3fa}:{}};}function Xi(_0x616a35){const _0x3e5860=_0x2d1af3;return _0x616a35&&(Array['isArray'](_0x616a35)?_0x616a35[_0x3e5860(0x3b5)](Yi):_0x616a35[_0x3e5860(0x231)](_0x2e597(_0x35984f=>_0x35984f['map'](Yi))));}function Zi(){const _0x200deb=_0x2d1af3;var _0x2454f5,_0x48ffe0,_0x43858f,_0xbaf281,_0x44c994,_0x2ff921;let _0x47b79a=_0xc95a5e(_0x18b06f),_0x51696a=_0xc95a5e(_0x318544),_0x3d0e00=_0xc95a5e(_0x29f812),_0x458476=_0xc95a5e(_0xaaa3e3),_0x5b64c5=_0xc95a5e(Oi),_0x32083c=_0x4f0c91(()=>_0x5b64c5['state$'],_0x5b64c5['getState'](),!0x1,[_0x5b64c5]),_0x109ead=!!_0x32083c['selection']&&_0x32083c[_0x200deb(0x102)]['startRow']>=0x0&&_0x32083c[_0x200deb(0x102)][_0x200deb(0x2db)]>=0x0&&_0x32083c['selection'][_0x200deb(0x175)]>=0x0&&_0x32083c[_0x200deb(0x102)][_0x200deb(0x125)]>=0x0,_0x29d32f=_0x3d0e00,_0x3de96a=_0x3d6eea(()=>_0x5b64c5['state$']['pipe'](_0x2e597(_0x4360c0=>!_0x4360c0[_0x200deb(0x102)])),[_0x5b64c5]),_0x3b1d27=_0x3d6eea(()=>_0x5b64c5['state$'][_0x200deb(0x231)](_0x2e597(_0x3dabe5=>{const _0x47c662=_0x200deb;var _0x16a1b7;return(_0x16a1b7=_0x3dabe5[_0x47c662(0x2ef)])==null?_0x494c6e[_0x47c662(0x242)]:_0x16a1b7;})),[_0x5b64c5]),_0x3b4191=_0x3d6eea(()=>{const _0x57589a=_0x200deb;var _0x4d4ed7;let _0x3b6343=G(_0x29d32f,_0x3d0fd6);return{..._0x3b6343,'commandId':pi['id'],'disabled$':_0x3de96a,'icon':(_0x4d4ed7=_0x32083c['typeIcon'])==null?_0x57589a(0x176):_0x4d4ed7,'selections':Xi(_0x3b6343[_0x57589a(0x1fd)]),'tooltip':_0x57589a(0x343),'value$':_0x3b1d27};},[_0x29d32f,_0x3de96a,_0x3b1d27,_0x32083c['typeIcon']]),_0x1c63cd=_0x3d6eea(()=>[K(G(_0x29d32f,_0x210f5c),vi['id'],_0x3de96a),K(G(_0x29d32f,_0x372e48),yi['id'],_0x3de96a)],[_0x29d32f,_0x3de96a]),_0x36255e=_0x3d6eea(()=>({'align':K(G(_0x29d32f,_0x47fd8b),bi['id'],_0x3de96a),'bold':K(G(_0x29d32f,_0x142c8f),mi['id'],_0x3de96a),'italic':K(G(_0x29d32f,_0x5742f3),hi['id'],_0x3de96a),'strike':K(G(_0x29d32f,_0x254685),_i['id'],_0x3de96a),'underline':K(G(_0x29d32f,_0x480f98),gi['id'],_0x3de96a)}),[_0x29d32f,_0x3de96a]),_0x1eb124=_0x3d6eea(()=>[K(G(_0x29d32f,_0x25f2b5),xi['id'],_0x3de96a),K(G(_0x29d32f,_0x224c29),Si['id'],_0x3de96a)],[_0x29d32f,_0x3de96a]),_0x26cba2=_0x4f0c91(()=>{const _0xc298e0=_0x200deb;var _0x76d31e,_0xd18622;return(_0x76d31e=(_0xd18622=_0x1eb124[0x0])==null?void 0x0:_0xd18622[_0xc298e0(0x1b4)])==null?_0x58ee7a(_0x3a45c7['cl'][_0xc298e0(0x1d7)]):_0x76d31e;},_0x3a45c7['cl'][_0x200deb(0x1d7)],!0x1,[_0x1eb124]),_0x3fe43b=_0x4f0c91(()=>{const _0x347ffa=_0x200deb;var _0x11e929,_0x3fb762;return(_0x11e929=(_0x3fb762=_0x1eb124[0x1])==null?void 0x0:_0x3fb762['value$'])==null?_0x58ee7a(_0x3a45c7['bg'][_0x347ffa(0x1d7)]):_0x11e929;},_0x3a45c7['bg'][_0x200deb(0x1d7)],!0x1,[_0x1eb124]),_0x18cc02=_0x3d6eea(()=>{const _0x44d014=_0x200deb;var _0x2faabd;return Hi((_0x2faabd=_0x458476[_0x44d014(0x39b)](_0x2ad6ca['UNIVER_DOC']))==null?void 0x0:_0x2faabd[_0x44d014(0x263)](),_0x32083c[_0x44d014(0x102)]);},[_0x32083c[_0x200deb(0x102)],_0x458476]),_0x47a57e=(_0x2454f5=_0x18cc02==null||(_0x48ffe0=_0x18cc02[_0x200deb(0x319)])==null?void 0x0:_0x48ffe0['rgb'])==null?_0x3a45c7['bg']['rgb']:_0x2454f5,_0x341791=Ui(_0x18cc02),_0x1ee61d=(_0x43858f=_0x341791==null||(_0xbaf281=_0x341791[_0x200deb(0x27d)])==null?void 0x0:_0xbaf281[_0x200deb(0x1d7)])==null?'#1f1f1f':_0x43858f,_0x134360=(_0x44c994=_0x341791==null||(_0x2ff921=_0x341791[_0x200deb(0x15e)])==null?void 0x0:_0x2ff921['v'])==null?0x1:_0x44c994,_0x1f97ea=Wi(_0x341791==null?void 0x0:_0x341791[_0x200deb(0x1ee)]),[_0x443349,_0x309000]=_0x24ec16(_0x47a57e),[_0x51c63d,_0x43d2bd]=_0x24ec16(_0x1ee61d),[_0x1382c9,_0x236539]=_0x24ec16(_0x134360),[_0x23e5be,_0x10d536]=_0x24ec16(_0x1f97ea);if(_0x540234(()=>{_0x309000(_0x47a57e);},[_0x47a57e]),_0x540234(()=>{_0x43d2bd(_0x1ee61d),_0x236539(_0x134360),_0x10d536(_0x1f97ea);},[_0x1ee61d,_0x1f97ea,_0x134360]),!_0x32083c[_0x200deb(0x1b6)]||!_0x109ead)return null;let _0x2fc044=_0x32083c[_0x200deb(0x10b)]===_0x200deb(0x2d9)?_0x51696a['t']('docs-table-ui.unmergeCells'):_0x32083c['mergeAction']===_0x200deb(0x13d)?_0x51696a['t'](_0x200deb(0x35d)):null,_0x17e334=_0x32083c[_0x200deb(0x2ae)]===_0x200deb(0x151)?_0x51696a['t'](_0x200deb(0x22f)):_0x32083c[_0x200deb(0x2ae)]==='column'?_0x51696a['t'](_0x200deb(0x1b9)):null,_0x1d9817=()=>{const _0x43b6d3=_0x200deb;!_0x32083c[_0x43b6d3(0x102)]||!_0x32083c[_0x43b6d3(0x10b)]||_0x47b79a[_0x43b6d3(0x173)](_0x32083c[_0x43b6d3(0x10b)]===_0x43b6d3(0x2d9)?_0x2c6c4a['id']:_0x19be90['id'],_0x32083c['selection']);},_0x2b96f6=()=>{const _0x23e563=_0x200deb;!_0x32083c['selection']||!_0x32083c['deleteTarget']||_0x47b79a[_0x23e563(0x173)](_0x32083c['deleteTarget']===_0x23e563(0x151)?_0x4c6c66['id']:_0x3fa5a1['id'],_0x32083c['selection']);},_0x42a724=_0x4ea31e=>{const _0xf858b4=_0x200deb;_0x32083c[_0xf858b4(0x102)]&&_0x47b79a[_0xf858b4(0x173)](_0x414524['id'],{'value':_0x4ea31e});},_0xc6d68c=_0x24c36b=>{const _0x4480cf=_0x200deb;_0x32083c['selection']&&_0x47b79a[_0x4480cf(0x173)](_0x24c36b);},_0x5e502a=_0x27e301=>{const _0x1977c3=_0x200deb;_0x32083c[_0x1977c3(0x102)]&&_0x47b79a[_0x1977c3(0x173)](bi['id'],{'value':_0x27e301});},_0x299fd8=_0x33cdeb=>{const _0x4e0656=_0x200deb;_0x309000(_0x33cdeb),_0x47b79a[_0x4e0656(0x173)](_0x1ecfd6['id'],{'value':_0x33cdeb});},_0x248fc5=()=>{const _0x1f6dd7=_0x200deb;_0x309000(_0x47a57e),_0x47b79a[_0x1f6dd7(0x173)](_0x1ecfd6['id'],{'value':null});},_0x7bd275=(_0x36c7d0,_0x36f99d)=>{const _0x9712a6=_0x200deb;_0x32083c[_0x9712a6(0x102)]&&_0x47b79a['executeCommand'](_0x36c7d0,{'value':_0x36f99d});};return _0x251af8(_0x200deb(0x2ce),{'data-u-comp':ki,'role':'toolbar','onMouseEnter':()=>_0x5b64c5['setHoverActive'](!0x0),'onMouseLeave':()=>_0x5b64c5[_0x200deb(0x15b)](!0x1),'onMouseDown':_0x1f7859=>{const _0x549360=_0x200deb;_0x1f7859[_0x549360(0xd5)](),_0x1f7859[_0x549360(0x205)]();},'className':_0x4766b8(_0x200deb(0x2b8),_0x55f7a7),'children':[_0x20cbfb(Mi,{'items':[_0x3b4191],'children':_0x2fc044?_0x20cbfb(_0x5ae5ff,{'title':_0x2fc044,'placement':_0x200deb(0x3cb),'children':_0x20cbfb(_0x200deb(0x349),{'children':_0x20cbfb(_0x53733e,{'data-toolbar-item':_0x200deb(0x2b2),'aria-label':_0x2fc044,'onClick':_0x1d9817,'children':_0x32083c[_0x200deb(0x10b)]===_0x200deb(0x2d9)?_0x20cbfb(_0x206950,{}):_0x20cbfb(_0x53c5e9,{})})})}):null}),_0x20cbfb(Ai,{}),_0x251af8(Mi,{'children':[_0x20cbfb(Gi,{'color':_0x443349,'disabled':!_0x32083c[_0x200deb(0x102)],'onChange':_0x299fd8,'onReset':_0x248fc5}),_0x20cbfb(Ki,{'color':_0x51c63d,'width':_0x1382c9,'style':_0x23e5be,'disabled':!_0x32083c[_0x200deb(0x102)],'onSelectPreset':_0x505eb7=>{const _0x1b1e79=_0x200deb;_0x47b79a[_0x1b1e79(0x173)](_0x2b27df['id'],{'preset':_0x505eb7});},'onChangeColor':_0x53945c=>{_0x43d2bd(_0x53945c),_0x47b79a['executeCommand'](_0x5c25ef['id'],{'value':_0x53945c});},'onResetColor':()=>{_0x43d2bd(_0x1ee61d),_0x47b79a['executeCommand'](_0x5c25ef['id'],{'value':null});},'onChangeWidth':_0x2d08bd=>{_0x236539(_0x2d08bd),_0x47b79a['executeCommand'](_0x540812['id'],{'value':_0x2d08bd});},'onChangeStyle':_0x4cd05a=>{const _0x53ce90=_0x200deb;_0x10d536(_0x4cd05a),_0x47b79a[_0x53ce90(0x173)](_0x592f3f['id'],{'value':_0x4cd05a});}})]}),_0x20cbfb(Ai,{}),_0x20cbfb(ji,{'items':_0x1c63cd}),_0x20cbfb(Ai,{}),_0x20cbfb(Mi,{'children':_0x20cbfb(Vi,{'alignItem':_0x36255e[_0x200deb(0x26f)],'disabled':!_0x32083c['selection'],'formatItems':{'bold':_0x36255e[_0x200deb(0x357)],'italic':_0x36255e[_0x200deb(0x192)],'strike':_0x36255e[_0x200deb(0x120)],'underline':_0x36255e['underline']},'verticalAlign':_0x32083c['verticalAlign'],'onExecuteInlineCommand':_0xc6d68c,'onHorizontalAlign':_0x5e502a,'onVerticalAlign':_0x42a724})}),_0x20cbfb(Ai,{}),_0x251af8(Mi,{'children':[_0x20cbfb(qi,{'color':_0x26cba2,'commandId':xi['id'],'disabled':!_0x32083c[_0x200deb(0x102)],'icon':_0x200deb(0x30a),'itemId':_0x200deb(0x264),'resetItemId':_0x200deb(0x30d),'titleKey':_0x200deb(0x2e3),'onChange':_0x7bd275}),_0x20cbfb(qi,{'color':_0x3fe43b,'commandId':Si['id'],'disabled':!_0x32083c[_0x200deb(0x102)],'icon':_0x200deb(0x223),'itemId':_0x200deb(0xeb),'resetItemId':_0x200deb(0x31f),'titleKey':_0x200deb(0x191),'onChange':_0x7bd275})]}),_0x32083c[_0x200deb(0x250)]&&_0x17e334?_0x251af8(_0x39ef66,{'children':[_0x20cbfb(Ai,{}),_0x20cbfb(_0x200deb(0x2ce),{'className':_0x200deb(0x12f),'onMouseEnter':()=>_0x5b64c5['setDeleteHoverActive'](!0x0),'onMouseLeave':()=>_0x5b64c5[_0x200deb(0x209)](!0x1),'children':_0x20cbfb(_0x5ae5ff,{'title':_0x17e334,'placement':_0x200deb(0x3cb),'children':_0x20cbfb(_0x200deb(0x349),{'children':_0x20cbfb(_0x53733e,{'data-toolbar-item':_0x200deb(0x1cc),'aria-label':_0x17e334,'className':_0x4766b8(_0x200deb(0x286),'dark:hover:!univer-bg-red-950/40\x20dark:hover:!univer-text-red-400'),'onClick':_0x2b96f6,'children':_0x32083c[_0x200deb(0x2ae)]===_0x200deb(0x151)?_0x20cbfb(_0x5e996d,{}):_0x20cbfb(_0x363e7c,{})})})})})]}):null]});}const Qi=_0x2d1af3(0x3a7);function $i(){const _0xe8378d=_0x2d1af3;let _0x1bfe34=_0xc95a5e(_0x318544);return _0x20cbfb(_0xe8378d(0x28f),{'data-u-comp':Qi,'children':_0x251af8(_0xe8378d(0x3a9),{'children':[_0x20cbfb(_0xe8378d(0x349),{'children':_0x1bfe34['t'](_0xe8378d(0x18c))}),_0x20cbfb(_0xe8378d(0x36f),{'type':_0xe8378d(0x2c9),'min':0x0,'aria-label':_0x1bfe34['t']('docs-table-ui.pinHeaderRows')})]})});}const ea=_0x2d1af3(0x10d);function ta(){const _0xc55b4f=_0x2d1af3;let _0x26d305=_0xc95a5e(_0x318544);return _0x251af8(_0xc55b4f(0x2ce),{'data-u-comp':ea,'children':[_0x20cbfb(_0xc55b4f(0x32b),{'type':_0xc55b4f(0x32b),'aria-label':_0x26d305['t'](_0xc55b4f(0x33f)),'children':'+'}),_0x20cbfb('button',{'type':_0xc55b4f(0x32b),'aria-label':_0x26d305['t'](_0xc55b4f(0x35b)),'children':'+'}),_0x20cbfb(_0xc55b4f(0x32b),{'type':'button','aria-label':_0x26d305['t']('docs-table-ui.sortAscending'),'children':'A'})]});}function q(_0x3cb81d,_0x3bb665){return function(_0x482e55,_0x30b2ec){_0x3bb665(_0x482e55,_0x30b2ec,_0x3cb81d);};}function na(_0x2c9408,_0x42915e,_0x5d3a6a,_0x3db5b6){const _0x511652=_0x2d1af3;var _0x5ef20e=arguments[_0x511652(0x164)],_0x54c0e8=_0x5ef20e<0x3?_0x42915e:_0x3db5b6===null?_0x3db5b6=Object[_0x511652(0x27c)](_0x42915e,_0x5d3a6a):_0x3db5b6,_0x1612af;if(typeof Reflect==_0x511652(0x1d5)&&typeof Reflect[_0x511652(0x241)]==_0x511652(0x2cc))_0x54c0e8=Reflect['decorate'](_0x2c9408,_0x42915e,_0x5d3a6a,_0x3db5b6);else{for(var _0x5af19e=_0x2c9408[_0x511652(0x164)]-0x1;_0x5af19e>=0x0;_0x5af19e--)(_0x1612af=_0x2c9408[_0x5af19e])&&(_0x54c0e8=(_0x5ef20e<0x3?_0x1612af(_0x54c0e8):_0x5ef20e>0x3?_0x1612af(_0x42915e,_0x5d3a6a,_0x54c0e8):_0x1612af(_0x42915e,_0x5d3a6a))||_0x54c0e8);}return _0x5ef20e>0x3&&_0x54c0e8&&Object[_0x511652(0x230)](_0x42915e,_0x5d3a6a,_0x54c0e8),_0x54c0e8;}let ra=class extends _0xb0e1b5{constructor(_0x49347c,_0x72b5f7){const _0x429dfa=_0x2d1af3;super(),this[_0x429dfa(0x2eb)]=_0x49347c,this[_0x429dfa(0x157)]=_0x72b5f7,this[_0x429dfa(0x313)](),this[_0x429dfa(0x2c7)]();}[_0x2d1af3(0x313)](){const _0x138fb0=_0x2d1af3;[[Jr,Qr],[$r,ti],[ki,Zi],[Qi,$i],[ea,ta]][_0x138fb0(0x289)](([_0x369e3a,_0x499535])=>{const _0x2cde97=_0x138fb0;this[_0x2cde97(0x134)](this[_0x2cde97(0x2eb)][_0x2cde97(0x2b4)](_0x369e3a,_0x499535));}),this['disposeWithMe'](this[_0x138fb0(0x2eb)][_0x138fb0(0x2b4)](Wn,Zn));}[_0x2d1af3(0x2c7)](){const _0x5864f6=_0x2d1af3;this[_0x5864f6(0x134)](this['_iconManager'][_0x5864f6(0x2b4)]({'TableIcon':_0x3d232d,'TableBorderWidthIcon':_0x5d8ecb,'TableBorderStyleIcon':_0x584009,'TableBorderStyleSolidIcon':_0x193778,'TableBorderStyleDottedIcon':_0x405bfe,'TableBorderStyleDashedIcon':_0x19ff77,'CalendarIcon':_0x1928ba,'NumberIcon':_0x285a23}));}};ra=na([q(0x0,_0x32e3e4(_0x453f67)),q(0x1,_0x32e3e4(_0x50bea3))],ra);var ia=class{constructor(){W(this,'_handlers',[]);}[_0x2d1af3(0x2b4)](_0x381513){const _0x1b3dcd=_0x2d1af3;return this[_0x1b3dcd(0x330)]['push'](_0x381513),this['_sortHandlers'](),_0x581e2d(()=>{const _0x14d6d6=_0x1b3dcd;let _0x33df82=this[_0x14d6d6(0x330)][_0x14d6d6(0x37d)](_0x381513);_0x33df82>=0x0&&this[_0x14d6d6(0x330)]['splice'](_0x33df82,0x1);});}[_0x2d1af3(0x2f3)](_0x2bacfc){const _0x26750d=_0x2d1af3;return this[_0x26750d(0x330)][_0x26750d(0x29b)](_0x53f740=>_0x53f740[_0x26750d(0x2f3)](_0x2bacfc));}['_sortHandlers'](){const _0x48b28d=_0x2d1af3;this[_0x48b28d(0x330)][_0x48b28d(0x163)]((_0x2d9f09,_0x70f796)=>{const _0x24894b=_0x48b28d;var _0x563f2e,_0x77946c;return((_0x563f2e=_0x70f796[_0x24894b(0xb3)])==null?0x0:_0x563f2e)-((_0x77946c=_0x2d9f09[_0x24894b(0xb3)])==null?0x0:_0x77946c);});}},aa=class extends _0xb0e1b5{constructor(..._0x17b78b){const _0x2182c6=_0x2d1af3;super(..._0x17b78b),W(this,_0x2182c6(0xac),new Map());}[_0x2d1af3(0x18d)](_0x184859,_0x1aec14){const _0x4eb832=_0x2d1af3;return this[_0x4eb832(0xac)][_0x4eb832(0x265)](this[_0x4eb832(0xf7)](_0x184859,_0x1aec14));}[_0x2d1af3(0x20c)](_0x27ccf7,_0x120713,_0x19564d){const _0x10b3c2=_0x2d1af3;var _0x30ce81,_0x22f1e3,_0x1355ef,_0x16a896,_0x7467c6,_0x92f89b;let _0x2659cc=this['_key'](_0x27ccf7,_0x120713),_0x19fb71=this[_0x10b3c2(0xac)]['get'](_0x2659cc),_0x47786e={'contentWidth':Math[_0x10b3c2(0x3c3)](0x0,_0x19564d['contentWidth']),'isDraggingScrollbar':(_0x30ce81=_0x19fb71==null?void 0x0:_0x19fb71[_0x10b3c2(0x360)])==null?!0x1:_0x30ce81,'leadingInsetLeft':Math[_0x10b3c2(0x3c3)](0x0,(_0x22f1e3=_0x19564d[_0x10b3c2(0x26b)])==null?0x0:_0x22f1e3),'overflowWidthThreshold':Math['max'](0x0,(_0x1355ef=_0x19564d[_0x10b3c2(0xbf)])==null?_0x19564d['viewportWidth']:_0x1355ef),'scrollLeft':(_0x16a896=_0x19fb71==null?void 0x0:_0x19fb71[_0x10b3c2(0x1b0)])==null?0x0:_0x16a896,'trailingInsetRight':Math[_0x10b3c2(0x3c3)](0x0,(_0x7467c6=_0x19564d['trailingInsetRight'])==null?0x0:_0x7467c6),'viewportLeft':(_0x92f89b=_0x19564d[_0x10b3c2(0x11f)])==null?0x0:_0x92f89b,'viewportWidth':Math[_0x10b3c2(0x3c3)](0x0,_0x19564d[_0x10b3c2(0x2b0)])};return _0x47786e[_0x10b3c2(0x1b0)]=this[_0x10b3c2(0x368)](_0x47786e[_0x10b3c2(0x1b0)],_0x47786e),this['_states'][_0x10b3c2(0x2b5)](_0x2659cc,_0x47786e),_0x47786e;}[_0x2d1af3(0x1b8)](_0x490f18,_0x1843e9,_0x1f9b45){const _0x44aa54=_0x2d1af3;let _0x371a2c=this[_0x44aa54(0x18d)](_0x490f18,_0x1843e9);return _0x371a2c?(_0x371a2c[_0x44aa54(0x1b0)]=this[_0x44aa54(0x368)](_0x1f9b45,_0x371a2c),_0x371a2c['scrollLeft']):0x0;}[_0x2d1af3(0x348)](_0x3eea00,_0x4218e6,_0x3b7e44){const _0x26c497=_0x2d1af3;var _0x5c09fd,_0xce762d;let _0x1cf606=this[_0x26c497(0x18d)](_0x3eea00,_0x4218e6);return _0x3b7e44-((_0x5c09fd=_0x1cf606==null?void 0x0:_0x1cf606[_0x26c497(0x26b)])==null?0x0:_0x5c09fd)+((_0xce762d=_0x1cf606==null?void 0x0:_0x1cf606[_0x26c497(0x1b0)])==null?0x0:_0xce762d);}[_0x2d1af3(0x3bc)](_0x5bc945,_0xf263ec,_0x273889){const _0x23f627=_0x2d1af3;var _0x4df48b,_0x364736;let _0x4f64b5=this['getState'](_0x5bc945,_0xf263ec);return _0x273889+((_0x4df48b=_0x4f64b5==null?void 0x0:_0x4f64b5['leadingInsetLeft'])==null?0x0:_0x4df48b)-((_0x364736=_0x4f64b5==null?void 0x0:_0x4f64b5[_0x23f627(0x1b0)])==null?0x0:_0x364736);}[_0x2d1af3(0x3d0)](_0x23e6a7,_0x587d9c,_0x5ec392,_0x4cf62f){const _0xfc8dd5=_0x2d1af3;let _0x419576=this[_0xfc8dd5(0x18d)](_0x23e6a7,_0x587d9c);if(!_0x419576)return 0x0;let _0x447af3=_0x419576['scrollLeft']-_0x419576[_0xfc8dd5(0x26b)],_0x57790b=_0x447af3+_0x419576[_0xfc8dd5(0x2b0)];return _0x5ec392<_0x447af3?this[_0xfc8dd5(0x1b8)](_0x23e6a7,_0x587d9c,_0x5ec392+_0x419576[_0xfc8dd5(0x26b)]):_0x4cf62f>_0x57790b?this['setScrollLeft'](_0x23e6a7,_0x587d9c,_0x4cf62f+_0x419576[_0xfc8dd5(0x26b)]-_0x419576[_0xfc8dd5(0x2b0)]):_0x419576[_0xfc8dd5(0x1b0)];}[_0x2d1af3(0x342)](_0x9e9807,_0x2afb15,_0x39319d,_0x22ae9d){const _0x5144f4=_0x2d1af3;return this[_0x5144f4(0x3d0)](_0x9e9807,_0x2afb15,_0x39319d,_0x22ae9d);}[_0x2d1af3(0x114)](_0x372ba4,_0x163693,_0x867402){const _0x443859=_0x2d1af3;if(_0x867402[_0x443859(0x183)]||_0x867402[_0x443859(0x12d)])return!0x1;let _0x2ef5ed=_0x867402[_0x443859(0x16f)]&&_0x867402['zoom']>0x0?_0x867402[_0x443859(0x16f)]:0x1,_0x43e34d=(_0x867402[_0x443859(0x247)]||(_0x867402[_0x443859(0x220)]?_0x867402[_0x443859(0xc5)]:0x0))/_0x2ef5ed;if(!_0x43e34d)return!0x1;let _0x149c13=this[_0x443859(0x18d)](_0x372ba4,_0x163693);if(!_0x149c13||!this[_0x443859(0x21a)](_0x149c13))return!0x1;let _0x210318=_0x149c13[_0x443859(0x1b0)];return this[_0x443859(0x1b8)](_0x372ba4,_0x163693,_0x210318+_0x43e34d),_0x149c13['scrollLeft']!==_0x210318;}['scrollByScrollbarTravel'](_0x45f503,_0x4fae30,_0x17b63f,_0x23c3f4){const _0x3c1456=_0x2d1af3;let _0x3f246e=this[_0x3c1456(0x18d)](_0x45f503,_0x4fae30);if(!_0x3f246e||_0x23c3f4<=0x0){var _0x2a5434;return(_0x2a5434=_0x3f246e==null?void 0x0:_0x3f246e[_0x3c1456(0x1b0)])==null?0x0:_0x2a5434;}let _0x15f455=this['_getMaxScrollLeft'](_0x3f246e);return this[_0x3c1456(0x1b8)](_0x45f503,_0x4fae30,_0x3f246e['scrollLeft']+_0x15f455/_0x23c3f4*_0x17b63f);}['scrollByDragEdge'](_0x340911,_0x2e5600,_0x33504c,_0x86010c,_0x499d07){const _0x1630bf=_0x2d1af3;let _0x2fe29e=this[_0x1630bf(0x18d)](_0x340911,_0x2e5600);if(!_0x2fe29e||!this['_canScrollHorizontally'](_0x2fe29e)||_0x86010c<=0x0||_0x499d07<=0x0)return!0x1;let _0x4e85b7=_0x33504c,_0x472760=_0x2fe29e[_0x1630bf(0x2b0)]-_0x33504c,_0x387e81=0x0,_0x536f33=0x0;if(_0x4e85b7<_0x86010c?(_0x387e81=-0x1,_0x536f33=_0x4e85b7):_0x472760<_0x86010c&&(_0x387e81=0x1,_0x536f33=_0x472760),!_0x387e81)return!0x1;let _0x4d7a3b=Math[_0x1630bf(0x121)](0x1,Math[_0x1630bf(0x3c3)](0x0,(_0x86010c-_0x536f33)/_0x86010c)),_0x40caa0=Math['max'](0x1,Math['ceil'](_0x4d7a3b*_0x499d07)),_0xc7efa8=_0x2fe29e[_0x1630bf(0x1b0)];return this['setScrollLeft'](_0x340911,_0x2e5600,_0xc7efa8+_0x387e81*_0x40caa0),_0x2fe29e['scrollLeft']!==_0xc7efa8;}['clear'](_0x2c0328,_0x2bb995){const _0x307b13=_0x2d1af3;this[_0x307b13(0xac)][_0x307b13(0x141)](this[_0x307b13(0xf7)](_0x2c0328,_0x2bb995));}['_clamp'](_0x108682,_0x2ed714){const _0x43bd3b=_0x2d1af3;return Math[_0x43bd3b(0x121)](Math[_0x43bd3b(0x3c3)](0x0,_0x108682),this[_0x43bd3b(0xb9)](_0x2ed714));}[_0x2d1af3(0x118)](_0x103351){const _0x3fc0cf=_0x2d1af3;return _0x103351[_0x3fc0cf(0x26b)]+_0x103351[_0x3fc0cf(0x316)]+_0x103351['trailingInsetRight'];}[_0x2d1af3(0xb9)](_0x3e12d0){const _0x1a476c=_0x2d1af3;return this[_0x1a476c(0x21a)](_0x3e12d0)?Math[_0x1a476c(0x3c3)](0x0,this[_0x1a476c(0x118)](_0x3e12d0)-_0x3e12d0[_0x1a476c(0x2b0)]):0x0;}['_canScrollHorizontally'](_0x196284){const _0x377ff9=_0x2d1af3;return _0x196284[_0x377ff9(0x316)]>_0x196284[_0x377ff9(0xbf)]&&this[_0x377ff9(0x118)](_0x196284)>_0x196284[_0x377ff9(0x2b0)];}['_key'](_0x212e3d,_0x3d9eca){return _0x212e3d+'::'+_0x3d9eca;}};const oa={[_0x314273['All']]:'AllBorderIcon',[_0x314273[_0x2d1af3(0x377)]]:_0x2d1af3(0x3ca),[_0x314273['Inner']]:'InnerBorderDoubleIcon',[_0x314273[_0x2d1af3(0xc2)]]:'HorizontalBorderDoubleIcon',[_0x314273['InnerVertical']]:_0x2d1af3(0x244),[_0x314273[_0x2d1af3(0xc1)]]:_0x2d1af3(0x236),[_0x314273[_0x2d1af3(0xbd)]]:_0x2d1af3(0x276),[_0x314273[_0x2d1af3(0x16d)]]:_0x2d1af3(0x2c1),[_0x314273[_0x2d1af3(0xad)]]:'RightBorderDoubleIcon',[_0x314273[_0x2d1af3(0x9f)]]:'UpBorderDoubleIcon'};function sa(_0x134537){return oa[_0x134537];}function ca(_0x5d8cc5,_0x203cee){const _0x59dfab=_0x2d1af3;if(_0x5d8cc5[_0x59dfab(0x164)]===0x0)return null;let _0x43d52a=[..._0x5d8cc5]['sort']((_0x23d016,_0x3ddaef)=>_0x23d016[_0x59dfab(0x298)]['top']-_0x3ddaef[_0x59dfab(0x298)]['top']||_0x23d016[_0x59dfab(0xaf)]-_0x3ddaef[_0x59dfab(0xaf)]),_0x1871a7=_0x43d52a[_0x59dfab(0x299)](_0x5c34b4=>_0x203cee['y']<=(_0x5c34b4[_0x59dfab(0x298)][_0x59dfab(0xc3)]+_0x5c34b4['rect'][_0x59dfab(0x3cb)])/0x2);if(_0x1871a7)return{'targetOffset':_0x1871a7[_0x59dfab(0xaf)],'width':_0x1871a7[_0x59dfab(0x298)][_0x59dfab(0x30b)]-_0x1871a7['rect'][_0x59dfab(0xea)],'x':_0x1871a7['rect'][_0x59dfab(0xea)],'y':_0x1871a7[_0x59dfab(0x298)][_0x59dfab(0xc3)]};let _0x2f8da9=_0x43d52a[_0x43d52a['length']-0x1];return{'targetOffset':_0x2f8da9[_0x59dfab(0x1ff)]+0x1,'width':_0x2f8da9['rect']['right']-_0x2f8da9[_0x59dfab(0x298)]['left'],'x':_0x2f8da9[_0x59dfab(0x298)][_0x59dfab(0xea)],'y':_0x2f8da9['rect']['bottom']};}function la(_0x462261,_0x15207f,_0x784f1b){return _0x15207f?Math['hypot'](_0x15207f['x']-_0x462261['x'],_0x15207f['y']-_0x462261['y'])<_0x784f1b:!0x1;}function ua(_0x2ed4b1,_0x18c8d5,_0xefb9f7,_0x1ae755){return{'trigger':_0x2ed4b1,'startX':_0x18c8d5,'startY':_0xefb9f7,'tableRect':_0x1ae755};}function da(_0x2a13e3,_0x58dc8a,_0x4b2638){const _0x43165b=_0x2d1af3;let _0x44a3d8=_0x58dc8a-_0x2a13e3[_0x43165b(0x1c6)],_0x3ed8eb=_0x4b2638-_0x2a13e3[_0x43165b(0x2ed)];return{'deltaX':_0x44a3d8,'deltaY':_0x3ed8eb,'rect':{..._0x2a13e3[_0x43165b(0x1e8)],'x':_0x2a13e3['tableRect']['x']+_0x44a3d8,'y':_0x2a13e3[_0x43165b(0x1e8)]['y']+_0x3ed8eb}};}const fa=[_0x2d1af3(0x394),_0x2d1af3(0x37f),'mouseup',_0x2d1af3(0x251)];function pa(_0x2c188d,_0x10409d=ha()){if(!_0x10409d)return{'dispose':()=>void 0x0};let _0x340069=fa['map'](_0x27ef82=>{const _0x21b926=_0x7cb3;let _0x27b401=_0x4c2b7c=>_0x2c188d({'event':_0x4c2b7c,'type':_0x27ef82});return _0x10409d[_0x21b926(0x215)](_0x27ef82,_0x27b401,!0x1),{'listener':_0x27b401,'type':_0x27ef82};});return{'dispose':()=>{const _0x22607b=_0x7cb3;_0x340069[_0x22607b(0x289)](({listener:_0x504d73,type:_0x545f87})=>_0x10409d[_0x22607b(0x36d)](_0x545f87,_0x504d73,!0x1));}};}function ma(_0x2281fa,_0x80a42a=ha()){const _0x55be2=_0x2d1af3;if(!_0x80a42a)return{'dispose':()=>void 0x0};let _0x7fafa1=_0x3c489e=>_0x2281fa({'event':_0x3c489e,'type':_0x55be2(0x1e3)});return _0x80a42a['addEventListener'](_0x55be2(0x1e3),_0x7fafa1,!0x1),{'dispose':()=>_0x80a42a[_0x55be2(0x36d)]('pointermove',_0x7fafa1,!0x1)};}function ha(){const _0x324ad4=_0x2d1af3;return globalThis[_0x324ad4(0x2a3)]===void 0x0?null:globalThis['window'];}function ga(_0x279b52,_0x18dad6,_0x552f13,_0x5d2c7f,_0x275f17=0x1){return{'trigger':_0x279b52,'startX':_0x18dad6,'startY':_0x552f13,'initialSize':_0x5d2c7f,'minSize':_0x275f17};}function _a(_0x330e00,_0x258642,_0x2bc2db){const _0x17d88d=_0x2d1af3;return _0x330e00['trigger']['kind']==='resize-column'?{'column':_0x330e00[_0x17d88d(0x1ef)]['column'],'width':Math[_0x17d88d(0x3c3)](_0x330e00[_0x17d88d(0x3c5)],_0x330e00[_0x17d88d(0xbe)]+_0x258642-_0x330e00['startX'])}:{'height':Math[_0x17d88d(0x3c3)](_0x330e00[_0x17d88d(0x3c5)],_0x330e00['initialSize']+_0x2bc2db-_0x330e00['startY']),'row':_0x330e00['trigger'][_0x17d88d(0x151)]};}function va(_0x2b1cec,_0x32e511,_0x9613b2){return _0x9613b2?_a(_0x2b1cec,_0x9613b2['x'],_0x9613b2['y']):_0x32e511;}function ya(_0x3c0b1a,_0x3f1044,_0x59b8a9){const _0x4098ae=_0x2d1af3;if(_0x3f1044['kind']===_0x4098ae(0xe8)){var _0x585599,_0x4ca876,_0x5a766a,_0x3e857f,_0x48d82f,_0xe29f7e;let _0x4326e8=ba(_0x3c0b1a['columnIndices'],_0x3f1044['column']);if(_0x4326e8==null||_0x4326e8<0x0)return null;let _0x3c0567=_0x59b8a9!=null&&_0x59b8a9[_0x4098ae(0x2ca)]===_0x3f1044['column']&&_0x59b8a9[_0x4098ae(0x15e)]!=null?_0x59b8a9[_0x4098ae(0x15e)]:_0x3c0b1a[_0x4098ae(0xe4)][_0x4326e8],_0x35ea3e=Ca(_0x3c0b1a),_0x57216d=((_0x585599=(_0x4ca876=_0x3c0b1a['viewport'])==null?void 0x0:_0x4ca876[_0x4098ae(0x11f)])==null?_0x3c0b1a['tableRect']['x']:_0x585599)+((_0x5a766a=(_0x3e857f=_0x3c0b1a['viewport'])==null?void 0x0:_0x3e857f[_0x4098ae(0x26b)])==null?0x0:_0x5a766a)+xa(_0x3c0b1a['columnWidths'][_0x4098ae(0x354)](0x0,_0x4326e8))+_0x3c0567-0x1-((_0x48d82f=(_0xe29f7e=_0x3c0b1a[_0x4098ae(0x1e0)])==null?void 0x0:_0xe29f7e[_0x4098ae(0x1b0)])==null?0x0:_0x48d82f);return _0x57216d<_0x35ea3e['x']||_0x57216d>_0x35ea3e['x']+_0x35ea3e['width']?null:{'height':Sa(_0x3f1044[_0x4098ae(0x298)][_0x4098ae(0x26e)],_0x3c0b1a[_0x4098ae(0x1e8)][_0x4098ae(0x26e)],xa(_0x3c0b1a[_0x4098ae(0x137)])),'width':0x2,'x':_0x57216d,'y':Math[_0x4098ae(0x3c3)](_0x3c0b1a[_0x4098ae(0x1e8)]['y'],_0x3f1044[_0x4098ae(0x298)]['y'])};}if(_0x3f1044[_0x4098ae(0x267)]===_0x4098ae(0xe2)){let _0x2ccb7b=ba(_0x3c0b1a[_0x4098ae(0x335)],_0x3f1044['row']);if(_0x2ccb7b==null||_0x2ccb7b<0x0)return null;let _0x36ffbe=_0x59b8a9!=null&&_0x59b8a9[_0x4098ae(0x151)]===_0x3f1044['row']&&_0x59b8a9['height']!=null?_0x59b8a9['height']:_0x3c0b1a['rowHeights'][_0x2ccb7b],_0x2b08f8=wa(_0x3c0b1a),_0xcad3e6=Math[_0x4098ae(0x3c3)](_0x2b08f8['x'],_0x3f1044['rect']['x']),_0x50eb30=Math[_0x4098ae(0x121)](_0x2b08f8['x']+_0x2b08f8[_0x4098ae(0x15e)],_0x3f1044['rect']['x']+_0x3f1044[_0x4098ae(0x298)][_0x4098ae(0x15e)]);return _0x50eb30<=_0xcad3e6?null:{'height':0x2,'width':_0x50eb30-_0xcad3e6,'x':_0xcad3e6,'y':_0x3c0b1a['tableRect']['y']+xa(_0x3c0b1a[_0x4098ae(0x137)]['slice'](0x0,_0x2ccb7b))+_0x36ffbe-0x1};}return null;}function ba(_0x511bb6,_0x1d22b5){const _0x5f567c=_0x2d1af3;return _0x1d22b5==null?-0x1:_0x511bb6?_0x511bb6[_0x5f567c(0x372)](_0x13e339=>_0x13e339===_0x1d22b5):_0x1d22b5;}function xa(_0x2edd56){const _0x28fdbb=_0x2d1af3;return _0x2edd56[_0x28fdbb(0x184)]((_0x2ccc14,_0x5789ec)=>_0x2ccc14+_0x5789ec,0x0);}function Sa(..._0x3d86a7){const _0x1118fe=_0x2d1af3;return Math[_0x1118fe(0x3c3)](0x0,Math['min'](..._0x3d86a7[_0x1118fe(0x35e)](_0xbd909e=>_0xbd909e>0x0)));}function Ca(_0x5b49ac){const _0x17e2b4=_0x2d1af3;var _0x38cdc7,_0x2442ea,_0x36f7bd,_0x5793df;return{..._0x5b49ac[_0x17e2b4(0x1e8)],'x':(_0x38cdc7=(_0x2442ea=_0x5b49ac[_0x17e2b4(0x1e0)])==null?void 0x0:_0x2442ea['viewportLeft'])==null?_0x5b49ac[_0x17e2b4(0x1e8)]['x']:_0x38cdc7,'width':(_0x36f7bd=(_0x5793df=_0x5b49ac[_0x17e2b4(0x1e0)])==null?void 0x0:_0x5793df[_0x17e2b4(0x2b0)])==null?_0x5b49ac[_0x17e2b4(0x1e8)][_0x17e2b4(0x15e)]:_0x36f7bd};}function wa(_0x3c12aa){const _0x1ed318=_0x2d1af3;let _0x1b6eb2=Ca(_0x3c12aa),_0x41e36d=_0x3c12aa[_0x1ed318(0x1e0)]?Math['max'](_0x1b6eb2['x'],Ta(_0x3c12aa,0x0)):_0x3c12aa[_0x1ed318(0x1e8)]['x'],_0x3d525d=_0x3c12aa[_0x1ed318(0x1e0)]?Math[_0x1ed318(0x121)](_0x1b6eb2['x']+_0x1b6eb2['width'],Ta(_0x3c12aa,xa(_0x3c12aa[_0x1ed318(0xe4)]))):_0x3c12aa['tableRect']['x']+xa(_0x3c12aa['columnWidths']);return{..._0x1b6eb2,'x':_0x41e36d,'width':Math[_0x1ed318(0x3c3)](0x0,_0x3d525d-_0x41e36d)};}function _0x2c54(){const _0x1020ce=['hypot','setState','pointermove','makeDirty','_releaseResizeDrag','onStarting','preset','tableRect','docs-table-ui.command.floating-strike-through','_updateHeaderSelectionDrag','_openBorderPopover','docs-table-ui.borderOuter','from','dashStyle','trigger','columnSpan','_hoverRow','getAncestorScale','TodoListDoubleIcon','scaleX','#3c4043','host-scroll-sync','TOP','_handleWindowPointerMove','docs-table-ui.command.floating-font-size','ClearFormatDoubleIcon','getTriggers','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','selections','docs-table-ui.borderTop','paragraphEnd','_getColumnAtX','.below','default','idle','menu','preventDefault','subscribe','children','_collectSkeletonTables','setDeleteHoverActive','floating-text-underline','MOVE','setViewport','_getBorderPresetLabel','docs-table-ui.unmergeCells','_drawSixDotDragHandle','docs-table-ui.toolbar.italic','_ensureFloatingMenuPopup','attachPopupToRect','open','H2Icon','addEventListener','\x20×\x20','lineJoin','_shouldPreserveFloatingHover','univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','_canScrollHorizontally','rowSpan','mouseup','onExecuteInlineCommand','OTHERS','_triggerChange$','shiftKey','globalAlpha','vertical-align-bottom','bucket','moveTo','skipNextObservers','univer-size-5','rgba(60,\x2064,\x2067,\x200.18)','itemId','rgba(24,\x2028,\x2042,\x200.20)','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-2\x20univer-text-gray-900\x20dark:!univer-bg-gray-800\x20dark:!univer-text-white','_initTableState','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','mergedCells','pageIndex','docs-table-ui.deleteRow','defineProperty','pipe','arc','table','bottom-left','#b8bec6','LeftBorderDoubleIcon','_headerSelectionDragState','_hitTestHoverTrigger','docs-table-ui.toolbar.alignLeft','cells','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','_selectTable','clearStructuralSelection','_makeDirty','_updateHoverTarget','unit','decorate','NORMAL_TEXT','NoColorDoubleIcon','VerticalBorderDoubleIcon','docs-table-ui.verticalAlignMiddle','docs-table-ui.border-panel','deltaX','docs-table-ui.borderColor','_selection','_floatingMenuPopup','rangeKey','#5f6368','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','lineTo','CTRL_COMMAND','showDeleteAction','blur','_drawIconHoverBg','#2f66ff','table-select','all','PaintBucketDoubleIcon','string','582GrWfFn','univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-primary-600\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-800','_getScrollbarAppearance','lineCap','setNativeSelectionSuppressed','isActive','docs-table-ui.insertTitleRow','_refreshActiveTableViewport','Inner','shadowColor','style','getSnapshot','text-color','get','_drawInsertTriggerPlus','kind','univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200','docs-table-ui.borderWidth','_updateSelectionDrag','leadingInsetLeft','HEADING_1','rects','height','align','univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-3\x20univer-border-none\x20univer-bg-transparent\x20univer-px-5\x20univer-text-sm\x20univer-text-gray-900\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','rows','add','onPointerDown$','body','JUSTIFIED','NoBorderIcon','getViewport','ORDER_LIST_2','docs-table-ui.columnTypeDropdown','_passiveWheelService','AllBorderIcon','getOwnPropertyDescriptor','color','docs-table-ui.verticalAlignBottom','DATA','docs-table-ui.borderBottom','iconName','_releasePointerInteraction','_shortcutService','_stopSelectionDragAutoScroll','onSelect','hover:!univer-bg-red-50\x20hover:!univer-text-red-500','_setTableCursor','round','forEach','getSkeletonData','#1a73e8','structural','TITLE','pages','section','_syncParagraphTableMenuFromActiveTable','primary','1ltuaou','_menuManagerService','#fff','_selectionAutoScrollTimer','getCanvasElement','docs-table-ui.borderInnerHorizontal','rect','find','RIGHT','some','hoverActive','BULLET_LIST_1','_drawSelection','onMouseWheel$','endOffset','_draw','UpBorderDoubleIcon','window','row-insert-dot','commit','subscribeEvent','_buildActiveTable','_selectionDragState','NAMED_STYLE_TYPE_UNSPECIFIED','defaultColor','offsetX','state$','Asc','deleteTarget','BUTTON','viewportWidth','next','merge-cells','_contextMenuService','register','set','_initTableLayoutRefresh','_findTableSliceForSource','univer-box-border\x20univer-flex\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_resolveFloatingMenuTextStyle','resetItemId','_consumePointerEvent','docs-table-ui.textFormat','text-align-center','44980GqQUkd','row-header','docs-table-ui.table.delete','OuterBorderDoubleIcon','documentFlavor','_restoreTableCursor','TableBorderStyleDottedIcon','docs-table-ui.borderNone','_updateScrollbarDrag','_registerIcons','tooltip','number','column','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','function','BULLET_LIST_2','div','SUBITEMS','afterRender$','phase','docs-table-ui.toolbar.bold','DeleteIcon','startRow','_clipRectToViewport','docs-table-ui.borderStyleSolid','segmentId','hitTest','unmerge','univer-text-xs','endRow','fill','symbol','docs-table-ui.borderLeft','_dragPreview','HorizontalBorderDoubleIcon','page','position','docs-table-ui.toolbar.textColor.main','onClick','getCurrentSelection','_resolveFloatingMenuMergeAction','docs-table-ui.insertTableSize','then','_resetTableCursor','_activeTable','_componentManager','accessor','startY','_buildTriggerTooltip','typeValue','_syncViewportStatesFromSkeleton','_handleStructuralInsertTrigger','appendRootMenu','handleWheel','fillText','scrollByScrollbarTravel','docs-table-ui.tableRows','fillStyle','docs-table-ui.menu.border','active','_moveDragPreview','anchorRect','5851576cBjCHj','ORDER_LIST_QUICK_3','Row','Cell','updateTriggers','_getInsertTriggerDocumentCenter','hideContextMenu','registerCommand','univer-box-border\x20univer-grid\x20univer-grid-cols-5\x20univer-gap-1\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-2\x20univer-text-primary-600\x20univer-shadow-lg','anchorRow','onPointerLeave$','sourceTableId','_buildTableMoveHitAtPoint','univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-white\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','font','right','selectionChange$','text-color-reset','none','_rowColumnMoveTarget','value','_buildActiveTableAtPoint','_selectColumn','_registerComponents','docs-table-ui.toolbar.strikethrough','getStableTableSelection','contentWidth','lineWidth','docs-table-ui.borderAll','backgroundColor','#f5f6f7','docs-table-ui.borderStyleDotted','OrderIcon','docs-table-ui.command.floating-align','roundRect','text-background-reset','targetCommandId','_createRowColumnMoveState','docsLeft','measureText','startOffset','docs-table-ui.command.floating-text-color','hide','_docSkeletonManagerService','_getTriggerInitialSize','ORDER_LIST_5','_injector','button','univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','_updateSelectionDragAutoScroll','_sortPopover','_isPointInTableControlRect','_handlers','setCursor','RIBBON','thumb','_cursorBeforeTableInteraction','rowIndices','ORDER_LIST','offsetY','H1Icon','_triggers','docs-table-ui.columnTypeNumber','univer-size-4\x20univer-text-current','columnCount','docs-table-ui.sortDescending','vertical-align-middle','docs-table-ui.insertRowBelow','anchorIndex','_floatingMenuPopupAnchorKey','ensureColumnRangeVisible','docs-table-ui.toolbar.textStyle.tooltip','paragraphBounds','column-header','TableBorderWidthIcon','appearance','toContentX','span','mapParams','refreshSelection','endIndex','_getViewportTableRect','dot','docs-table-ui.menu.delete','_refreshActiveTableForLayoutChange','_releaseHandleSelection','BOTTOM','borderBottom','slice','_getRowMoveTargetAtY','_setTooltip','bold','_selectionService','icon','_getTableDropTargetAtPoint','docs-table-ui.insertColumnRight','activated$','docs-table-ui.mergeCells','filter','listType','isDraggingScrollbar','anchorColumn','onPointerUp$','docs-table-ui.column-type-panel','HEADING_4','tableSource','_getFloatingMenuAnchorRect','_getRowAtY','_clamp','_floatingMenuService','below','univer-size-4\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors','8135757NtUINh','removeEventListener','docs-table-ui.config','input','docs-table-ui.pinHeaderRows','bullet','findIndex','direction$','_getTriggerInput','onChangeStyle','mainComponent','Bottom','buttons','184CVtjaE','_UI_PLUGIN','docs-table-ui.operation.create-table','_scheduleActiveTableRefresh','indexOf','docs.operation.start-add-comment','pointercancel','columnIndices','_shouldKeepActiveTableForSelection','DOT','_borderPopoverDisposable','CELL','tableColumns','rgba(32,\x2033,\x2036,\x200.94)','_docSelectionManagerService','docs-table-ui.toolbar.textStyle.orderedList','onRendered','getDocRanges','source','docs-table-ui.columnTypeCheckbox','top-center','docs-table-ui.toolbar.alignRight','docsTop','_moveDropTarget','docs-table-ui.floating-toolbar','_localeService','params','pointerup','_refreshNativeSelection','_getStructuralFloatingMenuAnchorRect','InnerVertical','HEADING_5','_scrollbarDragState','doc.menu.table','getCurrentUnitOfType','getUnit','toPrimitive','item','prototype','docs-table-ui.sortAscending','tableRows','_moveDragState','event','_getFloatingMenuExtraTopGap','suppressOverlay','setLineDash','docs-table-ui.options-panel','tableId','label','_syncFloatingMenuFromSelection','2217vACHLp','BULLET_LIST_3','ew-resize','CHECK_LIST','ORDER_LIST_QUICK_4','targetOffset','split','docs-table-ui.toolbar.textStyle.heading1','_hideFloatingControlsForZoom','colCount','map','scene','namedStyleType','titleKey','_hitSortOption','_shouldKeepActiveTableForFloatingMenu','docs-table-ui.insertTable','toViewportX','univer-flex\x20univer-h-6\x20univer-items-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','startScrollLeft','_getDocumentPointFromWindowEvent','_getOrCreateViewportState','_buildViewportState','ltr','max','docs-table-ui.borderRight','minSize','_dragSourceTableId','docs-table-ui.borderInner','_isPointWithinStructuralControlZone','_docEventManagerService','DownBorderDoubleIcon','bottom','onChangeWidth','call','_buildScrollbarGeometry','ORDER_LIST_3','ensureContentRangeVisible','_drawTooltip','Top','_dragState','thumbTravel','_closeBorderPopover','disabled','_startOrJumpScrollbar','InnerBorderDoubleIcon','BULLET_LIST','univer-col-span-2\x20univer-w-full','_drawStructuralHeaderTrigger','_drawSortOptionIcon','docs-table-ui.tableColumns','join','_states','Right','_pendingHandleSelection','paragraphStart','rgba(24,\x2028,\x2042,\x200.40)','tableSliceId','text-align-right','order','rgba(47,\x20102,\x20255,\x200.18)','triggerChange$','verticalAlign','TEXT','docs-table-ui.columnTypeText','_getMaxScrollLeft','_docParagraphMenuService','MEDIA','floor','None','initialSize','overflowWidthThreshold','docs-table-ui.toolbar.textStyle.normal','Left','InnerHorizontal','top','BUTTON_SELECTOR','deltaY','ORDER_LIST_QUICK_2','Column','docs-table-ui.toolbar.textStyle.heading4','_getCurrentZoom','dash','sourceIndex','docs-table-ui.borderStyleDashed','beginPath','_activeTableRefreshTimer','9397560qZpYTu','_drawSortPopover','_moveDragSourceTableId','docs-table-ui.borderInnerVertical','_configService','BULLET_LIST_4','stopPropagation','childUnitId','startsWith','paragraphs','_isRowHeaderInsertSeamHit','solid','All','clientY','_syncViewportStateForSourceTable','_drawBorderPopover','isInteger','#dadce0','currentSkeleton$','resize-row','_hoverCell','columnWidths','docs-table-ui.tableBackgroundColor','docs-table-ui.command.floating-text-background-color','_drawInsertTriggerGuide','resize-column','registerRenderModule','left','text-background','strokeRect','_rowColumnMoveState','type','LEFT','floating-text-strike','unsubscribe','docs-table-ui.selectRow','_drawStructuralHeaderBands','restore','_scheduleSelectionDragAutoScroll','_syncViewportState','_key','univer-size-4\x20univer-text-base\x20univer-text-current','_docCanvasPopManagerService','_applyBorderPreset','_initSelectionState','cell','hoverTableRealTime$','trailingInsetRight','#eceff1','direction','presets','selection','_refreshActiveTableFromSkeleton','_setHoveredTrigger','size','_drawTableSelectTrigger','commandId','docs-table-ui.command.floating-text-style','_getRowColumnMoveTarget','2270zOqxWq','mergeAction','Text','docs-table-ui.toolbar','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','dataStream','hover','univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x20dark:univer-bg-gray-700','ORDER_LIST_QUICK_6','_hasActivePointerInteraction','applyWheel','TableIcon','_drawResizeGuide','dispose','_getVirtualContentWidth','_isStructuralHeaderSelected','iterator','index','_getResizeGuideRect','documentStyle','show','viewportLeft','strike','min','univer-text-base','labelKey','_config','endColumn','univer-grid\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-1.5\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','_shouldKeepActiveTableForControls','underline','fillRect','COMMAND','reset','univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','metaKey','docs-table-ui.borders','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-px-1','_getSelectionRect','getContextValue','splice','univer-p-4','disposeWithMe','INSERT','onChange','rowHeights','_hitScrollbar','trunc','getBoundingClientRect','getSkeleton','showTableMenu','merge','_initFloatingMenuState','_context','_viewportService','delete','_getActiveInputWithCurrentZoom','_getDocumentFlavor','resetCursor','activeTable','skeHeaders','alignItem','_selectRow','SUBTITLE','_setResizeCursor','_state','_isSameTrigger','MAIN_AREA','RECT','univer-fill-primary-600','_handleEmbedPassiveWheel','row','_resolveFloatingMenuVerticalAlign','_initZoomStateReset','replaceDocRanges','currentIndex','marginRight','_iconManager','top-left','#d7dbe0','clientX','setHoverActive','unitId','_hoveredTrigger','width','docs-table-ui.toolbar.resetColor','scrollByDragEdge','viewportScrollX','_updateState','sort','length','borderRight','SELECTOR','onResetColor','BULLET_LIST_5','text-align-left','engine','_drawMovePreview','paragraphStyle','Outer','strokeStyle','zoom','ORDER_LIST_1','_hideFloatingMenuPopup','tables','executeCommand','startIndex','startColumn','TextTypeIcon','univer-w-full','univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50','rowCount','above','setStructuralHeaderSelection','_commandService','_findSkeletonTable','_canStartHeaderReorder','column-insert-dot','univer-flex\x20univer-items-center\x20univer-gap-1','save','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ctrlKey','reduce','univer-flex\x20univer-h-8\x20univer-min-w-16\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-sm\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','_getColumnMoveTargetAtX','12px\x20Arial,\x20sans-serif','has','UnorderIcon','var(--univer-primary-600)','_getScrollbarGeometry','docs-table-ui.tableOptions','getState','125006cajpcZ','getUnitId','isFinite','docs-table-ui.toolbar.fillColor.main','italic','UNIVER_DOC','deleteHoverActive','doc.menu.table-delete','@univerjs-pro/docs-table-ui','setStructuralSelection','POINTER','docs-table-ui.deleteTable','track','docs-table-ui.toolbar.textBackgroundColor.main','_lastPointerPoint','TableBorderStyleIcon','onVerticalAlign','_tooltip','TableBorderStyleDashedIcon','stroke','pageMarginTop','onChangeColor','_drawScrollbar','packageName','_releaseRowColumnMove','36861PBMFey','_handleStructuralTriggerPointerDown','onReset','tableCells','getOffsetConfig','docs-table-ui.insert-table-picker','LAYOUT','focused$','shadowBlur','scrollLeft','getActiveTextRange','7IAYQfu','_executeCommandAndRefreshActiveTable','value$','TitleTypeIcon','visible','DASH','setScrollLeft','docs-table-ui.deleteColumn','RightBorderDoubleIcon','Range','docs-table-ui.toolbar.textStyle.unorderedList','_hoverColumn','asc','onPointerMove$','cell-border','CHECK_LIST_CHECKED','cell-background','_renderManagerService','flatMap','getDirection','startX','Table','docs-table-ui.borderStyle','formatItems','_drawInsertTrigger','_getCellAtPoint','delete-selection','CENTER','_hitBorderPreset','_shouldKeepActiveTableOnPointerLeave','HEADING_3','getContext','getStructuralSelection','_drawBorderPresetIcon','_isPointWithinFloatingMenuHoverBridge','object','docs-table-ui.toolbar.textStyle.heading3','rgb','push','docs-table-ui.toolbar.alignCenter','_isStructuralHeaderDeleteDangerActive','_releaseMoveDrag','pageWidth','_borderPopover','docs-table-ui.command.floating-underline','_isSourceTableSplitAcrossPages','viewport'];_0x2c54=function(){return _0x1020ce;};return _0x2c54();}function Ta(_0x4c13da,_0x11e276){const _0x5613d4=_0x2d1af3;var _0x26a2cb,_0x5e96ae,_0x23fd93,_0x5dd517,_0x170bf7,_0x22cca2;return((_0x26a2cb=(_0x5e96ae=_0x4c13da[_0x5613d4(0x1e0)])==null?void 0x0:_0x5e96ae[_0x5613d4(0x11f)])==null?_0x4c13da[_0x5613d4(0x1e8)]['x']:_0x26a2cb)+((_0x23fd93=(_0x5dd517=_0x4c13da[_0x5613d4(0x1e0)])==null?void 0x0:_0x5dd517[_0x5613d4(0x26b)])==null?0x0:_0x23fd93)+_0x11e276-((_0x170bf7=(_0x22cca2=_0x4c13da[_0x5613d4(0x1e0)])==null?void 0x0:_0x22cca2['scrollLeft'])==null?0x0:_0x170bf7);}function Ea(_0x3d8e86){const _0x1f8a56=_0x2d1af3;var _0x24a327,_0x6ffbe1,_0x11f16e,_0xfb3861,_0x2eedf6;let _0x41a527=Math[_0x1f8a56(0x3c3)](0x0,(_0x24a327=_0x3d8e86[_0x1f8a56(0x26b)])==null?0x0:_0x24a327),_0x52e8b2=Math['max'](0x0,(_0x6ffbe1=_0x3d8e86[_0x1f8a56(0xbf)])==null?_0x3d8e86[_0x1f8a56(0x2b0)]:_0x6ffbe1),_0x33c8a3=Math[_0x1f8a56(0x3c3)](0x0,(_0x11f16e=_0x3d8e86[_0x1f8a56(0xfe)])==null?0x0:_0x11f16e),_0x303958=_0x41a527+_0x3d8e86[_0x1f8a56(0x316)]+_0x33c8a3;if(_0x3d8e86[_0x1f8a56(0x316)]<=_0x52e8b2||_0x303958<=_0x3d8e86[_0x1f8a56(0x2b0)]||_0x3d8e86[_0x1f8a56(0x2b0)]<=0x0)return null;let _0x452bde=_0x3d8e86[_0x1f8a56(0x16f)]||0x1,_0x3f6666=(_0xfb3861=_0x3d8e86[_0x1f8a56(0x347)])==null?_0x1f8a56(0x203):_0xfb3861,_0xd4edae=0xa/_0x452bde,_0x5a9041=(_0x3f6666===_0x1f8a56(0x203)?0x6:0x8)/_0x452bde,_0x4b0c4f=Math[_0x1f8a56(0x3c3)](0x0,_0x303958-_0x3d8e86[_0x1f8a56(0x2b0)]),_0x2a7378=(_0x2eedf6=_0x3d8e86[_0x1f8a56(0x11f)])==null?_0x3d8e86[_0x1f8a56(0x1e8)]['x']:_0x2eedf6,_0x3bf532={'height':_0xd4edae,'width':_0x3d8e86[_0x1f8a56(0x2b0)],'x':_0x2a7378,'y':_0x3d8e86['tableRect']['y']+_0x3d8e86[_0x1f8a56(0x1e8)][_0x1f8a56(0x26e)]+0x4/_0x452bde},_0x231aa5=Math[_0x1f8a56(0x3c3)](0x20/_0x452bde,_0x3bf532[_0x1f8a56(0x15e)]*(_0x3d8e86['viewportWidth']/_0x303958)),_0x430bb4=Math[_0x1f8a56(0x3c3)](0x0,_0x3bf532[_0x1f8a56(0x15e)]-_0x231aa5),_0x1af6a1=_0x4b0c4f>0x0?Math['min'](_0x4b0c4f,Math['max'](0x0,_0x3d8e86[_0x1f8a56(0x1b0)]))/_0x4b0c4f:0x0,_0x899100=_0x3bf532['x']+_0x430bb4*_0x1af6a1;return{'appearance':_0x3f6666,'contentWidth':_0x3d8e86[_0x1f8a56(0x316)],'leadingInsetLeft':_0x41a527,'maxScrollLeft':_0x4b0c4f,'thumb':{'height':_0x5a9041,'width':_0x231aa5,'x':_0x899100,'y':_0x3bf532['y']+(_0x3bf532[_0x1f8a56(0x26e)]-_0x5a9041)/0x2},'track':_0x3bf532,'viewportLeft':_0x2a7378,'viewportWidth':_0x3d8e86[_0x1f8a56(0x2b0)]};}function Da(_0x5bf1a1,_0x248078,_0xcc81bd){const _0x3f1b38=_0x2d1af3;return ka(_0x5bf1a1[_0x3f1b38(0x333)],_0x248078,_0xcc81bd)?_0x3f1b38(0x333):ka(_0x5bf1a1[_0x3f1b38(0x19a)],_0x248078,_0xcc81bd)?_0x3f1b38(0x19a):null;}function Oa(_0x26d5ad,_0x9f5851){const _0x59edae=_0x2d1af3;_0x26d5ad[_0x59edae(0x181)](),_0x26d5ad[_0x59edae(0x2f7)]=_0x9f5851[_0x59edae(0x347)]===_0x59edae(0x2f9)?_0x59edae(0xb0):_0x9f5851[_0x59edae(0x347)]===_0x59edae(0x110)?'rgba(24,\x2028,\x2042,\x200.30)':_0x59edae(0x229),Aa(_0x26d5ad,_0x9f5851['thumb']['x'],_0x9f5851['thumb']['y'],_0x9f5851['thumb']['width'],_0x9f5851[_0x59edae(0x333)][_0x59edae(0x26e)],_0x9f5851[_0x59edae(0x333)]['height']/0x2),_0x26d5ad[_0x59edae(0x2dc)](),_0x26d5ad[_0x59edae(0xf4)]();}function ka(_0x2013e7,_0x575276,_0x4da191){const _0x200658=_0x2d1af3;return _0x575276>=_0x2013e7['x']&&_0x575276<=_0x2013e7['x']+_0x2013e7[_0x200658(0x15e)]&&_0x4da191>=_0x2013e7['y']&&_0x4da191<=_0x2013e7['y']+_0x2013e7[_0x200658(0x26e)];}function Aa(_0x277fb2,_0x158d4d,_0x4f08b9,_0x146d4e,_0x4b32e6,_0x3b623c){const _0x229bf9=_0x2d1af3;_0x277fb2['beginPath'](),_0x277fb2[_0x229bf9(0x31e)]?_0x277fb2[_0x229bf9(0x31e)](_0x158d4d,_0x4f08b9,_0x146d4e,_0x4b32e6,_0x3b623c):_0x277fb2[_0x229bf9(0x298)](_0x158d4d,_0x4f08b9,_0x146d4e,_0x4b32e6);}function ja(_0x101a82,_0xd60a1e={}){const _0xfaddae=_0x2d1af3;return _0xd60a1e[_0xfaddae(0x3a5)]||_0x101a82['source']===_0x12bf8e[_0xfaddae(0x10c)]||_0x101a82['kind']===_0x4ffc7d[_0xfaddae(0x1bb)]&&_0x101a82[_0xfaddae(0x2d4)]===_0x101a82[_0xfaddae(0x2db)]&&_0x101a82[_0xfaddae(0x175)]===_0x101a82[_0xfaddae(0x125)]?!0x1:_0x101a82[_0xfaddae(0x267)]===_0x4ffc7d['Cell']||_0x101a82[_0xfaddae(0x267)]===_0x4ffc7d[_0xfaddae(0x1bb)]||_0x101a82[_0xfaddae(0x267)]===_0x4ffc7d['Table']||_0x101a82[_0xfaddae(0x267)]===_0x4ffc7d[_0xfaddae(0x2fe)]||_0x101a82[_0xfaddae(0x267)]===_0x4ffc7d[_0xfaddae(0xc7)];}const Ma=new Set([_0x2d1af3(0x2a4),_0x2d1af3(0x17f)]),Na=new Set([_0x2d1af3(0x2bf),_0x2d1af3(0x345),'row-insert-dot',_0x2d1af3(0x17f)]);function Pa(_0x397c5c){const _0x434631=_0x2d1af3;var _0x34731b;let _0x246389=(_0x34731b=_0x397c5c[_0x434631(0x16f)])==null?0x1:_0x34731b,_0x1d5099=0x6/_0x246389,_0x34323e=[],_0x3127bf=Va(_0x397c5c),_0x21d856=ao(_0x397c5c[_0x434631(0xe4)],Ua(_0x397c5c,_0x397c5c[_0x434631(0x1e8)]['x'])),_0x5a083a=ao(_0x397c5c[_0x434631(0x137)],_0x397c5c[_0x434631(0x1e8)]['y']);return _0x34323e[_0x434631(0x1d8)](...Fa(_0x397c5c,_0x3127bf,_0x5a083a,_0x246389)),_0x34323e['push'](...Ia(_0x397c5c,_0x3127bf,_0x21d856,_0x246389)),_0x34323e['push'](...La(_0x397c5c,_0x3127bf,_0x5a083a,_0x246389)),_0x34323e[_0x434631(0x1d8)](...Ra(_0x397c5c,_0x3127bf,_0x21d856,_0x246389)),_0x397c5c[_0x434631(0x137)][_0x434631(0x289)]((_0x5e3aae,_0x4859f0)=>{const _0x5b0dde=_0x434631;var _0x2c85b4,_0xe06163;let _0x1268ab=(_0x2c85b4=(_0xe06163=_0x397c5c[_0x5b0dde(0x335)])==null?void 0x0:_0xe06163[_0x4859f0])==null?_0x4859f0:_0x2c85b4;_0x34323e['push'](...za(_0x397c5c,_0x1268ab,_0x5a083a[_0x4859f0]+_0x5e3aae-_0x1d5099/0x2,_0x1d5099));}),_0x397c5c[_0x434631(0xe4)][_0x434631(0x289)]((_0x43072c,_0x5185bd)=>{const _0x51aa41=_0x434631;var _0x2cb70f,_0x2aaf98;let _0x56d14e=(_0x2cb70f=(_0x2aaf98=_0x397c5c['columnIndices'])==null?void 0x0:_0x2aaf98[_0x5185bd])==null?_0x5185bd:_0x2cb70f;_0x34323e[_0x51aa41(0x1d8)](...Ba(_0x397c5c,_0x56d14e,_0x21d856[_0x5185bd]+_0x43072c-_0x1d5099/0x2,_0x1d5099));}),_0x34323e;}function Fa(_0x1b3302,_0x2536eb,_0x59a438,_0x408097){const _0x3a3061=_0x2d1af3;let _0x31166c=0xa/_0x408097,_0x2a05ad=Ha(_0x1b3302);return _0x1b3302[_0x3a3061(0x137)][_0x3a3061(0x3b5)]((_0x2726f6,_0x42b752)=>{const _0x5801c8=_0x3a3061;var _0x4616a3,_0x2a1953;return{'kind':_0x5801c8(0x2bf),'tableId':_0x1b3302[_0x5801c8(0x3a8)],'row':(_0x4616a3=(_0x2a1953=_0x1b3302[_0x5801c8(0x335)])==null?void 0x0:_0x2a1953[_0x42b752])==null?_0x42b752:_0x4616a3,'rect':{'x':_0x2a05ad-_0x31166c,'y':_0x59a438[_0x42b752],'width':_0x31166c,'height':_0x2726f6}};});}function Ia(_0x1ee4b8,_0x4f4321,_0x550079,_0x47fe64){const _0x49a8b3=_0x2d1af3;let _0x504960=0xa/_0x47fe64;return _0x1ee4b8[_0x49a8b3(0xe4)][_0x49a8b3(0x1c4)]((_0x6e430a,_0x2da98f)=>{const _0x2c4bc6=_0x49a8b3;var _0x461cfd,_0x24783d;let _0x36721c=Ga(_0x4f4321,{'x':_0x550079[_0x2da98f],'y':_0x1ee4b8[_0x2c4bc6(0x1e8)]['y']-_0x504960,'width':_0x6e430a,'height':_0x504960});return _0x36721c?[{'kind':_0x2c4bc6(0x345),'tableId':_0x1ee4b8[_0x2c4bc6(0x3a8)],'column':(_0x461cfd=(_0x24783d=_0x1ee4b8[_0x2c4bc6(0x380)])==null?void 0x0:_0x24783d[_0x2da98f])==null?_0x2da98f:_0x461cfd,'rect':_0x36721c}]:[];});}function La(_0x644954,_0x5a7f62,_0x4348a4,_0x4a1826){const _0x4e69e6=_0x2d1af3;let _0x2a6065=0x6/_0x4a1826,_0x1c5d96=0xa/_0x4a1826,_0x265f86=0x4/_0x4a1826,_0x4e59fe=Ha(_0x644954);return _0x644954['rowHeights'][_0x4e69e6(0x354)](0x0,-0x1)['map']((_0x582bbe,_0x3abe31)=>{const _0x1516c0=_0x4e69e6;var _0x230352,_0x4b7aa2;return{'kind':'row-insert-dot','tableId':_0x644954[_0x1516c0(0x3a8)],'row':(_0x230352=(_0x4b7aa2=_0x644954[_0x1516c0(0x335)])==null?void 0x0:_0x4b7aa2[_0x3abe31])==null?_0x3abe31:_0x230352,'rect':{'x':_0x4e59fe-_0x1c5d96-_0x2a6065/0x2-_0x265f86,'y':_0x4348a4[_0x3abe31]+_0x582bbe-_0x2a6065/0x2,'width':_0x2a6065,'height':_0x2a6065}};});}function Ra(_0x11b898,_0x1fd7a1,_0x44a782,_0x2ad3c4){const _0x2512f3=_0x2d1af3;let _0x4e4ef6=0x6/_0x2ad3c4,_0x3542a1=0x10/_0x2ad3c4,_0x4cdfeb=0x4/_0x2ad3c4;return _0x11b898[_0x2512f3(0xe4)][_0x2512f3(0x354)](0x0,-0x1)['flatMap']((_0x3aa73d,_0x3972e1)=>{const _0x2a520f=_0x2512f3;var _0x6bf52e,_0x5165d4;let _0x252877=Ga(_0x1fd7a1,{'x':_0x44a782[_0x3972e1]+_0x3aa73d-_0x4e4ef6/0x2,'y':_0x11b898[_0x2a520f(0x1e8)]['y']-_0x3542a1-_0x4cdfeb,'width':_0x4e4ef6,'height':_0x4e4ef6});return _0x252877?[{'kind':'column-insert-dot','tableId':_0x11b898['tableId'],'column':(_0x6bf52e=(_0x5165d4=_0x11b898[_0x2a520f(0x380)])==null?void 0x0:_0x5165d4[_0x3972e1])==null?_0x3972e1:_0x6bf52e,'rect':_0x252877}]:[];});}function za(_0x20e557,_0x273cf9,_0x18fd6f,_0x3583d2){const _0x2b58ab=_0x2d1af3;let _0x43cf51=Va(_0x20e557),_0x480dc5=qa(_0x20e557,_0x273cf9)[_0x2b58ab(0x3b5)](_0x300117=>Ya(_0x20e557,_0x300117[_0x2b58ab(0x175)],_0x300117['endColumn']))[_0x2b58ab(0x35e)](_0x103c23=>!!_0x103c23)[_0x2b58ab(0x163)]((_0xe829ca,_0x4c70d9)=>_0xe829ca[0x0]-_0x4c70d9[0x0]);return Za([_0x43cf51['x'],_0x43cf51['x']+_0x43cf51['width']],_0x480dc5)['map'](([_0x3900bf,_0x20fcd6])=>({'kind':_0x2b58ab(0xe2),'tableId':_0x20e557[_0x2b58ab(0x3a8)],'row':_0x273cf9,'rect':{'x':_0x3900bf,'y':_0x18fd6f,'width':_0x20fcd6-_0x3900bf,'height':_0x3583d2}}));}function Ba(_0x11aca9,_0x224945,_0x24a8f4,_0x3bb5d2){const _0x5731e0=_0x2d1af3;if(!Wa(Va(_0x11aca9),_0x24a8f4,_0x24a8f4+_0x3bb5d2))return[];let _0x1f587c=Ja(_0x11aca9,_0x224945)[_0x5731e0(0x3b5)](_0x3156d3=>Xa(_0x11aca9,_0x3156d3[_0x5731e0(0x2d4)],_0x3156d3['endRow']))[_0x5731e0(0x35e)](_0x48a125=>!!_0x48a125)['sort']((_0x289c55,_0x4e4ecb)=>_0x289c55[0x0]-_0x4e4ecb[0x0]);return Za([_0x11aca9[_0x5731e0(0x1e8)]['y'],_0x11aca9[_0x5731e0(0x1e8)]['y']+_0x11aca9[_0x5731e0(0x1e8)]['height']],_0x1f587c)[_0x5731e0(0x3b5)](([_0x3d2a2e,_0x418e41])=>({'kind':'resize-column','tableId':_0x11aca9[_0x5731e0(0x3a8)],'column':_0x224945,'rect':{'x':_0x24a8f4,'y':_0x3d2a2e,'width':_0x3bb5d2,'height':_0x418e41-_0x3d2a2e}}));}function Va(_0x32571c){const _0x45a6eb=_0x2d1af3;var _0x25d075,_0x2ae092,_0x486c12,_0x540ccd;return{..._0x32571c[_0x45a6eb(0x1e8)],'x':(_0x25d075=(_0x2ae092=_0x32571c[_0x45a6eb(0x1e0)])==null?void 0x0:_0x2ae092[_0x45a6eb(0x11f)])==null?_0x32571c[_0x45a6eb(0x1e8)]['x']:_0x25d075,'width':(_0x486c12=(_0x540ccd=_0x32571c['viewport'])==null?void 0x0:_0x540ccd[_0x45a6eb(0x2b0)])==null?_0x32571c['tableRect'][_0x45a6eb(0x15e)]:_0x486c12};}function Ha(_0x2a5a63){const _0x2959f8=_0x2d1af3;var _0x4724b4;if(!_0x2a5a63[_0x2959f8(0x1e0)])return _0x2a5a63[_0x2959f8(0x1e8)]['x'];let _0x36394e=(_0x4724b4=_0x2a5a63['viewport'][_0x2959f8(0x11f)])==null?_0x2a5a63['tableRect']['x']:_0x4724b4;return Math[_0x2959f8(0x3c3)](_0x36394e,Ua(_0x2a5a63,_0x2a5a63[_0x2959f8(0x1e8)]['x']));}function Ua(_0x63b9dd,_0x3003f8){const _0x2d5c9a=_0x2d1af3;var _0x11bcc6,_0x353329,_0x952771,_0x54f493,_0x21b286,_0x1597fa;return((_0x11bcc6=(_0x353329=_0x63b9dd[_0x2d5c9a(0x1e0)])==null?void 0x0:_0x353329['viewportLeft'])==null?_0x63b9dd['tableRect']['x']:_0x11bcc6)+((_0x952771=(_0x54f493=_0x63b9dd[_0x2d5c9a(0x1e0)])==null?void 0x0:_0x54f493[_0x2d5c9a(0x26b)])==null?0x0:_0x952771)+(_0x3003f8-_0x63b9dd[_0x2d5c9a(0x1e8)]['x'])-((_0x21b286=(_0x1597fa=_0x63b9dd[_0x2d5c9a(0x1e0)])==null?void 0x0:_0x1597fa[_0x2d5c9a(0x1b0)])==null?0x0:_0x21b286);}function Wa(_0x5c3728,_0x1818d9,_0x5eedea){const _0x3d4598=_0x2d1af3;return _0x5eedea>=_0x5c3728['x']&&_0x1818d9<=_0x5c3728['x']+_0x5c3728[_0x3d4598(0x15e)];}function Ga(_0x268fbe,_0x4bdb6f){const _0x4221b9=_0x2d1af3;let _0x36e8cd=Math['max'](_0x4bdb6f['x'],_0x268fbe['x']),_0x195acf=Math[_0x4221b9(0x121)](_0x4bdb6f['x']+_0x4bdb6f[_0x4221b9(0x15e)],_0x268fbe['x']+_0x268fbe[_0x4221b9(0x15e)]);return _0x195acf<=_0x36e8cd?null:{..._0x4bdb6f,'x':_0x36e8cd,'width':_0x195acf-_0x36e8cd};}function Ka(_0x307d9a){return Ma['has'](_0x307d9a);}function qa(_0x1dd1ad,_0x5b08d4){const _0x59dddd=_0x2d1af3;var _0x7769a5,_0x2393c3;return(_0x7769a5=(_0x2393c3=_0x1dd1ad['mergedCells'])==null?void 0x0:_0x2393c3[_0x59dddd(0x35e)](_0x648e28=>_0x5b08d4>=_0x648e28[_0x59dddd(0x2d4)]&&_0x5b08d4<_0x648e28['endRow']))==null?[]:_0x7769a5;}function Ja(_0x52e2a9,_0x497a77){const _0x4e43b2=_0x2d1af3;var _0x2c1930,_0x17ca9c;return(_0x2c1930=(_0x17ca9c=_0x52e2a9[_0x4e43b2(0x22d)])==null?void 0x0:_0x17ca9c[_0x4e43b2(0x35e)](_0x5da2ae=>_0x497a77>=_0x5da2ae[_0x4e43b2(0x175)]&&_0x497a77<_0x5da2ae[_0x4e43b2(0x125)]))==null?[]:_0x2c1930;}function Ya(_0x33860d,_0x2940ec,_0x4cbf1d){const _0x220f68=_0x2d1af3;let _0x15e645=eo(_0x33860d['columnIndices'],_0x2940ec),_0x3a0a41=eo(_0x33860d[_0x220f68(0x380)],_0x4cbf1d);if(_0x15e645<0x0||_0x3a0a41<0x0)return null;let _0x587235=Math[_0x220f68(0x121)](_0x15e645,_0x3a0a41),_0x534750=Math[_0x220f68(0x3c3)](_0x15e645,_0x3a0a41);return[Ua(_0x33860d,_0x33860d[_0x220f68(0x1e8)]['x']+to(_0x33860d[_0x220f68(0xe4)][_0x220f68(0x354)](0x0,_0x587235))),Ua(_0x33860d,_0x33860d[_0x220f68(0x1e8)]['x']+to(_0x33860d[_0x220f68(0xe4)][_0x220f68(0x354)](0x0,_0x534750+0x1)))];}function Xa(_0x10d1f1,_0x9a4624,_0x1a624c){const _0x19d657=_0x2d1af3;let _0x47e83c=eo(_0x10d1f1[_0x19d657(0x335)],_0x9a4624),_0x3723bb=eo(_0x10d1f1[_0x19d657(0x335)],_0x1a624c);if(_0x47e83c<0x0||_0x3723bb<0x0)return null;let _0x4e118f=Math[_0x19d657(0x121)](_0x47e83c,_0x3723bb),_0x563b00=Math['max'](_0x47e83c,_0x3723bb);return[_0x10d1f1[_0x19d657(0x1e8)]['y']+to(_0x10d1f1[_0x19d657(0x137)][_0x19d657(0x354)](0x0,_0x4e118f)),_0x10d1f1[_0x19d657(0x1e8)]['y']+to(_0x10d1f1['rowHeights'][_0x19d657(0x354)](0x0,_0x563b00+0x1))];}function Za(_0x9178f2,_0x4a8aa8){let _0x3a5b87=[_0x9178f2];return _0x4a8aa8['forEach'](([_0x173a60,_0x4f1531])=>{const _0x10a981=_0x7cb3;_0x3a5b87=_0x3a5b87[_0x10a981(0x1c4)](([_0x291bc9,_0x12db2d])=>{const _0x1f6112=_0x10a981;let _0x5d6b66=Math[_0x1f6112(0x3c3)](_0x291bc9,Math['min'](_0x12db2d,_0x173a60)),_0x310c88=Math['max'](_0x291bc9,Math['min'](_0x12db2d,_0x4f1531));return _0x310c88<=_0x291bc9||_0x5d6b66>=_0x12db2d||_0x5d6b66>=_0x310c88?[[_0x291bc9,_0x12db2d]]:[[_0x291bc9,_0x5d6b66],[_0x310c88,_0x12db2d]][_0x1f6112(0x35e)](([_0x50c11d,_0x1d1615])=>_0x1d1615>_0x50c11d);});}),_0x3a5b87;}function Qa(_0x1efa03,_0x5875bf,_0x55ce25){const _0x4a6c96=_0x2d1af3;var _0x4d75e6;return(_0x4d75e6=[..._0x1efa03][_0x4a6c96(0x163)]((_0x1a6b3d,_0xfb4b74)=>io(_0xfb4b74)-io(_0x1a6b3d))[_0x4a6c96(0x299)](_0x36330f=>oo(_0x36330f[_0x4a6c96(0x298)],_0x5875bf,_0x55ce25)))==null?null:_0x4d75e6;}function $a(_0x36e4d4,_0x4ea93c,_0x25308d){const _0xe229f9=_0x2d1af3;var _0x481bc3;return(_0x481bc3=[..._0x36e4d4]['filter'](_0x3caaf1=>ro(_0x3caaf1[_0xe229f9(0x267)]))[_0xe229f9(0x163)]((_0x2687a7,_0x27f911)=>io(_0x27f911)-io(_0x2687a7))[_0xe229f9(0x299)](_0x314abf=>so(_0x314abf['rect'],_0x4ea93c,_0x25308d,0x6)))==null?null:_0x481bc3;}function _0x7cb3(_0x25dca2,_0x500775){_0x25dca2=_0x25dca2-0x9e;const _0x2c548b=_0x2c54();let _0x7cb3f1=_0x2c548b[_0x25dca2];return _0x7cb3f1;}function eo(_0x46a44c,_0x22d254){var _0x374cfd;return(_0x374cfd=_0x46a44c==null?void 0x0:_0x46a44c['findIndex'](_0x598adc=>_0x598adc===_0x22d254))==null?_0x22d254:_0x374cfd;}function to(_0x3b560c){const _0x128692=_0x2d1af3;return _0x3b560c[_0x128692(0x184)]((_0x4ee1fe,_0x1a8876)=>_0x4ee1fe+_0x1a8876,0x0);}function no(_0x1e7401,_0x4fe89d,_0xa3b00d){return $a(_0x1e7401,_0x4fe89d,_0xa3b00d)!=null;}function ro(_0x40a53e){const _0x409e18=_0x2d1af3;return Na[_0x409e18(0x188)](_0x40a53e);}function io(_0x2845cb){const _0x12790e=_0x2d1af3;return _0x2845cb[_0x12790e(0x267)]===_0x12790e(0x2a4)||_0x2845cb['kind']===_0x12790e(0x17f)?0x3:_0x2845cb['kind']===_0x12790e(0xe8)||_0x2845cb['kind']===_0x12790e(0xe2)?0x2:0x0;}function ao(_0xfb377c,_0x991292){const _0x2e6afa=_0x2d1af3;let _0x4d0d30=[],_0x4c714a=_0x991292;return _0xfb377c[_0x2e6afa(0x289)](_0x1ec015=>{const _0x437dfc=_0x2e6afa;_0x4d0d30[_0x437dfc(0x1d8)](_0x4c714a),_0x4c714a+=_0x1ec015;}),_0x4d0d30;}function oo(_0x53401a,_0x58de9a,_0x157646){const _0x3fc3df=_0x2d1af3;return _0x58de9a>=_0x53401a['x']&&_0x58de9a<=_0x53401a['x']+_0x53401a[_0x3fc3df(0x15e)]&&_0x157646>=_0x53401a['y']&&_0x157646<=_0x53401a['y']+_0x53401a[_0x3fc3df(0x26e)];}function so(_0xc85573,_0x7fdecd,_0x490000,_0x595f4f){const _0x16bcbc=_0x2d1af3;return _0x7fdecd>=_0xc85573['x']-_0x595f4f&&_0x7fdecd<=_0xc85573['x']+_0xc85573['width']+_0x595f4f&&_0x490000>=_0xc85573['y']-_0x595f4f&&_0x490000<=_0xc85573['y']+_0xc85573[_0x16bcbc(0x26e)]+_0x595f4f;}const co='viewMain',lo='#1a73e8',uo=_0x2d1af3(0x28b),fo=-0x2710,po=_0x2d1af3(0xe0),mo=_0x2d1af3(0x1f5),ho='#f1f3f4',go=_0x2d1af3(0x235),_o=new Map();function vo(_0x471b30,_0x2a46b7){const _0x2556d1=_0x2d1af3;let _0x4b78b2=_o['get'](_0x471b30);if(_0x4b78b2!=null&&_0x4b78b2[_0x2556d1(0x164)])for(let _0x4b41e3=_0x4b78b2[_0x2556d1(0x164)]-0x1;_0x4b41e3>=0x0;--_0x4b41e3){let _0x1f0e91=_0x4b78b2[_0x4b41e3](_0x471b30,_0x2a46b7);if(_0x1f0e91)return _0x1f0e91;}}function yo(_0x2ee066,_0x6db9fb){const _0xbc902e=_0x2d1af3;var _0x55a5bc;let _0x2f8387=(_0x55a5bc=_o['get'](_0x2ee066))==null?[]:_0x55a5bc;return _0x2f8387[_0xbc902e(0x1d8)](_0x6db9fb),_o[_0xbc902e(0x2b5)](_0x2ee066,_0x2f8387),_o[_0xbc902e(0x105)]===0x1&&_0x2f8387[_0xbc902e(0x164)]===0x1&&_0x52909f(vo),{'dispose':()=>{const _0x147af7=_0xbc902e;let _0x2d4c6a=_o[_0x147af7(0x265)](_0x2ee066);if(!_0x2d4c6a)return;let _0x33af01=_0x2d4c6a[_0x147af7(0x37d)](_0x6db9fb);_0x33af01>=0x0&&_0x2d4c6a[_0x147af7(0x132)](_0x33af01,0x1),_0x2d4c6a[_0x147af7(0x164)]===0x0&&_o[_0x147af7(0x141)](_0x2ee066),_o['size']===0x0&&_0x52909f(null);}};}let bo=class extends _0xb0e1b5{constructor(_0x30dbe1,_0x5351bb,_0x2b39dd,_0x47881c,_0x3ab688,_0x32126d,_0x593db8,_0x217785,_0x42481c,_0x5d82ee,_0x2edb6a,_0x2cef03,_0x7298d2){const _0x2ea0c7=_0x2d1af3;var _0x4fe6ff;super(),this['_context']=_0x30dbe1,this[_0x2ea0c7(0x327)]=_0x5351bb,this[_0x2ea0c7(0x387)]=_0x2b39dd,this[_0x2ea0c7(0x3c9)]=_0x47881c,this['_docParagraphMenuService']=_0x3ab688,this[_0x2ea0c7(0xf9)]=_0x32126d,this[_0x2ea0c7(0x358)]=_0x593db8,this[_0x2ea0c7(0x369)]=_0x217785,this['_viewportService']=_0x42481c,this[_0x2ea0c7(0x392)]=_0x5d82ee,this['_contextMenuService']=_0x2edb6a,this[_0x2ea0c7(0x17c)]=_0x2cef03,this[_0x2ea0c7(0x27a)]=_0x7298d2,W(this,_0x2ea0c7(0x2ea),null),W(this,_0x2ea0c7(0x15d),null),W(this,_0x2ea0c7(0xa0),null),W(this,_0x2ea0c7(0x3c6),null),W(this,_0x2ea0c7(0x2df),null),W(this,'_moveDragState',null),W(this,'_moveDragSourceTableId',null),W(this,_0x2ea0c7(0x2fa),null),W(this,_0x2ea0c7(0x390),null),W(this,'_pendingHandleSelection',null),W(this,_0x2ea0c7(0xed),null),W(this,_0x2ea0c7(0x30f),null),W(this,_0x2ea0c7(0x399),null),W(this,'_selectionDragState',null),W(this,_0x2ea0c7(0x237),null),W(this,_0x2ea0c7(0x249),null),W(this,_0x2ea0c7(0x295),null),W(this,'_hoverCell',null),W(this,_0x2ea0c7(0x1bd),null),W(this,_0x2ea0c7(0x1f1),null),W(this,'_borderPopover',null),W(this,_0x2ea0c7(0x383),null),W(this,_0x2ea0c7(0x32e),null),W(this,'_tooltip',null),W(this,_0x2ea0c7(0x19c),null),W(this,_0x2ea0c7(0xce),null),W(this,_0x2ea0c7(0x24a),null),W(this,_0x2ea0c7(0x341),null),W(this,_0x2ea0c7(0x334),null),this['_initTableState'](),this[_0x2ea0c7(0x2b6)](),this[_0x2ea0c7(0xfb)](),this['_initFloatingMenuState'](),this[_0x2ea0c7(0x153)](),this['_initPointerEvents'](),this['_initCanvasRender']();let _0x243a96=yo(this[_0x2ea0c7(0x13f)][_0x2ea0c7(0x15c)],(_0x1f7fd6,_0x297bd7)=>this[_0x2ea0c7(0x3c0)](_0x1f7fd6,_0x297bd7)),_0x4a4d63=(_0x4fe6ff=this[_0x2ea0c7(0x27a)])==null?void 0x0:_0x4fe6ff[_0x2ea0c7(0x2b4)]({'handleWheel':_0x1aede9=>this[_0x2ea0c7(0x150)](_0x1aede9),'order':0x64});this[_0x2ea0c7(0x134)]({'dispose':()=>{const _0x5078fb=_0x2ea0c7;_0x243a96['dispose'](),_0x4a4d63==null||_0x4a4d63[_0x5078fb(0x117)](),this[_0x5078fb(0xce)]!=null&&(clearTimeout(this['_activeTableRefreshTimer']),this['_activeTableRefreshTimer']=null),this['_hideFloatingMenuPopup']();}});}[_0x2d1af3(0x22b)](){const _0x445633=_0x2d1af3;this['disposeWithMe'](this['_docEventManagerService'][_0x445633(0xfd)][_0x445633(0x206)](_0x3c92d6=>{const _0x52f0e3=_0x445633;if(!(!_0x3c92d6&&(this[_0x52f0e3(0xa0)]||this[_0x52f0e3(0x3a2)]||this[_0x52f0e3(0xed)]||this['_selectionDragState']||this[_0x52f0e3(0x237)]))){if(_0x3c92d6&&this[_0x52f0e3(0x381)]()){var _0x32f184;if(_0x4823b3(_0x3c92d6[_0x52f0e3(0x3a8)])[_0x52f0e3(0x3a8)]!==((_0x32f184=this['_selection'])==null?void 0x0:_0x32f184['tableId'])){this[_0x52f0e3(0x23e)]();return;}}if(!_0x3c92d6&&this['_shouldKeepActiveTableForSelection']()){this[_0x52f0e3(0x23e)]();return;}!_0x3c92d6&&this['_shouldKeepActiveTableForControls']()||(this['_activeTable']=this[_0x52f0e3(0x19c)]?this[_0x52f0e3(0x311)](this[_0x52f0e3(0x19c)]['x'],this[_0x52f0e3(0x19c)]['y']):_0x3c92d6?this[_0x52f0e3(0x2a7)](_0x3c92d6):null,this[_0x52f0e3(0x2ea)]||(this[_0x52f0e3(0x15d)]=null),this[_0x52f0e3(0x23e)]());}}));}[_0x2d1af3(0x2b6)](){const _0x52ce6d=_0x2d1af3;this[_0x52ce6d(0x134)](this[_0x52ce6d(0x327)][_0x52ce6d(0xe1)]['subscribe'](()=>{const _0x5af01d=_0x52ce6d;this[_0x5af01d(0x2f0)](),this[_0x5af01d(0x350)]();}));}['_initSelectionState'](){const _0x5a1753=_0x2d1af3;this[_0x5a1753(0x134)](this[_0x5a1753(0x358)][_0x5a1753(0x30c)][_0x5a1753(0x206)](_0x2d1298=>{const _0x47efab=_0x5a1753;if(this[_0x47efab(0x249)]=_0x2d1298,_0x2d1298!=null&&_0x2d1298[_0x47efab(0x3a8)]){this['_refreshActiveTableFromSkeleton'](_0x2d1298[_0x47efab(0x3a8)]),this['_syncFloatingMenuFromSelection'](),this[_0x47efab(0x290)]();return;}this[_0x47efab(0x3aa)](),this[_0x47efab(0x23e)]();}));}[_0x2d1af3(0x13e)](){const _0x542d2b=_0x2d1af3;this[_0x542d2b(0x134)](this[_0x542d2b(0x369)][_0x542d2b(0x2ac)][_0x542d2b(0x206)](_0x2a3f7e=>{const _0x7395af=_0x542d2b;!_0x2a3f7e[_0x7395af(0x3a8)]||!_0x2a3f7e[_0x7395af(0x1b6)]&&!_0x2a3f7e[_0x7395af(0x29c)]||((!this[_0x7395af(0x2ea)]||this[_0x7395af(0x2ea)]['sourceTableId']!==_0x2a3f7e[_0x7395af(0x3a8)])&&this[_0x7395af(0x103)](_0x2a3f7e[_0x7395af(0x3a8)]),this[_0x7395af(0x290)]());}));}[_0x2d1af3(0x153)](){const _0x5c02bf=_0x2d1af3;this[_0x5c02bf(0x134)](this[_0x5c02bf(0x17c)]['onCommandExecuted'](_0x28edc7=>{const _0x48b78d=_0x5c02bf;var _0x260323;if(_0x28edc7['id']!==_0xc33671['id'])return;let _0x1216fb=(_0x260323=_0x28edc7[_0x48b78d(0x393)])==null?void 0x0:_0x260323['unitId'];_0x1216fb&&_0x1216fb!==this[_0x48b78d(0x13f)]['unitId']||this[_0x48b78d(0x3b3)]();}));}['_initPointerEvents'](){const _0x5f0dcc=_0x2d1af3;let _0x4560f9=To(this[_0x5f0dcc(0x13f)]);this[_0x5f0dcc(0x134)](ma(({event:_0x4702eb})=>{const _0x2ec454=_0x5f0dcc;this[_0x2ec454(0x1f8)](_0x4702eb);})),this[_0x5f0dcc(0x134)](pa(({event:_0xf1ad44,type:_0x343cfc})=>{const _0x166c73=_0x5f0dcc;var _0x20fc06;let _0xb40a5a=(_0x20fc06=this[_0x166c73(0x3bf)](_0xf1ad44))==null?this[_0x166c73(0x19c)]:_0x20fc06;this[_0x166c73(0x282)](_0xb40a5a,void 0x0,{'commit':_0x343cfc===_0x166c73(0x394)||_0x343cfc===_0x166c73(0x21c),'selectCollapsedRange':_0x343cfc===_0x166c73(0x394)||_0x343cfc===_0x166c73(0x21c)});})),this[_0x5f0dcc(0x134)](_0x4560f9[_0x5f0dcc(0x1bf)]['subscribeEvent']({'next':([_0x10245e,_0x5b8f27])=>{const _0x52dd0=_0x5f0dcc;let _0xa67952=Eo(_0x10245e[_0x52dd0(0x2ab)],_0x10245e[_0x52dd0(0x337)],this['_context'][_0x52dd0(0x3b6)]);if(this[_0x52dd0(0x19c)]=_0xa67952,this[_0x52dd0(0x2a8)]&&!Oo(_0x10245e)&&(this[_0x52dd0(0x2a8)]=null,this['_stopSelectionDragAutoScroll']()),this[_0x52dd0(0x2ea)]||(this[_0x52dd0(0x2ea)]=this['_buildActiveTableAtPoint'](_0xa67952['x'],_0xa67952['y'])),this[_0x52dd0(0x3a2)]){let _0x969516=Math[_0x52dd0(0x1e1)](_0xa67952['x']-this[_0x52dd0(0x3a2)]['startX'],_0xa67952['y']-this['_moveDragState']['startY']);this[_0x52dd0(0x2fa)]=_0x969516>=0x4?da(this[_0x52dd0(0x3a2)],_0xa67952['x'],_0xa67952['y']):null,this[_0x52dd0(0x390)]=this[_0x52dd0(0x2fa)]?this[_0x52dd0(0x35a)](_0xa67952['x'],_0xa67952['y']):null,this[_0x52dd0(0x287)](_0x44809d[_0x52dd0(0x20b)]),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,_0x10245e[_0x52dd0(0x205)](),this[_0x52dd0(0x23e)]();return;}if(this['_scrollbarDragState']){this['_updateScrollbarDrag'](_0xa67952['x']),this[_0x52dd0(0x287)](_0x44809d[_0x52dd0(0x198)]),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,_0x10245e['preventDefault'](),this[_0x52dd0(0x23e)]();return;}if(this['_pendingHandleSelection']){la({'x':this[_0x52dd0(0xae)][_0x52dd0(0x1c6)],'y':this[_0x52dd0(0xae)][_0x52dd0(0x2ed)]},_0xa67952,0x4)||(this[_0x52dd0(0xed)]=this['_createRowColumnMoveState'](this['_pendingHandleSelection']),this[_0x52dd0(0x30f)]=this[_0x52dd0(0x109)](_0xa67952),this[_0x52dd0(0xae)]=null,this['_setTableCursor'](_0x44809d['MOVE']),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,_0x10245e[_0x52dd0(0x205)](),this[_0x52dd0(0x23e)]());return;}if(this[_0x52dd0(0xa0)]){this[_0x52dd0(0x2df)]=_a(this['_dragState'],_0xa67952['x'],_0xa67952['y']),this[_0x52dd0(0x14a)](this['_dragState'][_0x52dd0(0x1ef)]),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,_0x10245e[_0x52dd0(0x205)](),this['_makeDirty']();return;}if(this['_selectionDragState']){if(this['_updateSelectionDrag'](_0xa67952)){_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,_0x10245e[_0x52dd0(0x205)]();return;}this[_0x52dd0(0x32d)](_0xa67952);}this[_0x52dd0(0x237)]&&(Oo(_0x10245e)?this[_0x52dd0(0x1ea)](_0xa67952):(this[_0x52dd0(0x237)]=null,this['_selectionService'][_0x52dd0(0x25c)](!0x1)));let _0x500817=this[_0x52dd0(0x1ce)](_0xa67952['x'],_0xa67952['y']);if(_0x500817){this[_0x52dd0(0x356)]({'label':this[_0x52dd0(0x20d)](_0x500817['preset']),'x':_0xa67952['x'],'y':_0xa67952['y']}),this[_0x52dd0(0x287)](_0x44809d[_0x52dd0(0x198)]),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,this['_makeDirty']();return;}if(this[_0x52dd0(0x3b9)](_0xa67952['x'],_0xa67952['y'])){this[_0x52dd0(0x356)](null),this['_setTableCursor'](_0x44809d['POINTER']),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,this['_makeDirty']();return;}if(this[_0x52dd0(0x138)](_0xa67952['x'],_0xa67952['y'])){this[_0x52dd0(0x287)](_0x44809d[_0x52dd0(0x198)]),_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27[_0x52dd0(0x225)]=!0x0,this[_0x52dd0(0x23e)]();return;}let _0x1dfae8=this['_hitTestHoverTrigger'](_0xa67952['x'],_0xa67952['y']),_0x245ff=this[_0x52dd0(0x218)](_0xa67952['x'],_0xa67952['y']);if(_0x245ff||this[_0x52dd0(0x23f)](_0xa67952['x'],_0xa67952['y']),!_0x1dfae8&&_0x245ff){_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27['skipNextObservers']=!0x0;return;}if(this[_0x52dd0(0x104)](_0x1dfae8),this['_setTooltip'](this[_0x52dd0(0x2ee)](_0x1dfae8)),!_0x1dfae8){this[_0x52dd0(0x2c3)]();return;}_0x5b8f27[_0x52dd0(0xd5)](),_0x5b8f27['skipNextObservers']=!0x0,_0x1dfae8[_0x52dd0(0x267)]===_0x52dd0(0xe8)||_0x1dfae8[_0x52dd0(0x267)]===_0x52dd0(0xe2)?this[_0x52dd0(0x14a)](_0x1dfae8):this[_0x52dd0(0x287)](_0x44809d[_0x52dd0(0x198)]);},'priority':fo})),this[_0x5f0dcc(0x134)](_0x4560f9[_0x5f0dcc(0x273)][_0x5f0dcc(0x2a6)]({'next':([_0x3b5138,_0x43145d])=>{const _0x277b5b=_0x5f0dcc;var _0x4a53ac,_0x27ce27,_0x353c83;if(_0x3b5138[_0x277b5b(0x32b)]===0x2)return;let _0x26b508=Eo(_0x3b5138[_0x277b5b(0x2ab)],_0x3b5138['offsetY'],this['_context'][_0x277b5b(0x3b6)]);this[_0x277b5b(0x19c)]=_0x26b508,this['_activeTable']||(this[_0x277b5b(0x2ea)]=this[_0x277b5b(0x311)](_0x26b508['x'],_0x26b508['y']));let _0x536578=this[_0x277b5b(0x138)](_0x26b508['x'],_0x26b508['y']);if(_0x536578&&this[_0x277b5b(0x2ea)]){_0x43145d['stopPropagation'](),_0x43145d['skipNextObservers']=!0x0,_0x3b5138['stopPropagation'](),_0x3b5138['preventDefault'](),this['_selectionService'][_0x277b5b(0x25c)](!0x0),this[_0x277b5b(0xa4)](_0x536578,_0x26b508['x']);return;}let _0x46be4a=this[_0x277b5b(0x1ce)](_0x26b508['x'],_0x26b508['y']);if(_0x46be4a&&this[_0x277b5b(0x1dd)]){_0x43145d[_0x277b5b(0xd5)](),_0x43145d[_0x277b5b(0x225)]=!0x0,_0x3b5138[_0x277b5b(0xd5)](),_0x3b5138['preventDefault'](),this[_0x277b5b(0xfa)](_0x46be4a[_0x277b5b(0x1e7)]);return;}let _0x52405a=this[_0x277b5b(0x3b9)](_0x26b508['x'],_0x26b508['y']);if(_0x52405a&&this[_0x277b5b(0x32e)]){_0x43145d[_0x277b5b(0xd5)](),_0x43145d[_0x277b5b(0x225)]=!0x0,_0x3b5138['stopPropagation'](),_0x3b5138['preventDefault'](),this[_0x277b5b(0x312)](this[_0x277b5b(0x32e)]['tableId'],this[_0x277b5b(0x32e)][_0x277b5b(0x2ca)]),this[_0x277b5b(0x17c)][_0x277b5b(0x173)](_0x443f8b['id'],{'column':this[_0x277b5b(0x32e)][_0x277b5b(0x2ca)],'direction':_0x52405a['direction'],'tableId':this[_0x277b5b(0x32e)][_0x277b5b(0x3a8)]}),this[_0x277b5b(0x32e)]=null,this[_0x277b5b(0x23e)]();return;}let _0xe420a5=(_0x4a53ac=this['_hitTest'](_0x26b508['x'],_0x26b508['y']))==null?this[_0x277b5b(0x15d)]:_0x4a53ac,_0x63522b=(_0x27ce27=(_0x353c83=this[_0x277b5b(0x2ea)])==null?void 0x0:_0x353c83[_0x277b5b(0x307)])==null?_0xe420a5==null?void 0x0:_0xe420a5['tableId']:_0x27ce27;if(!_0xe420a5){let _0x56965f=this[_0x277b5b(0x308)](_0x26b508['x'],_0x26b508['y']);_0x56965f&&(this[_0x277b5b(0x2ea)]=_0x56965f[_0x277b5b(0x145)],_0xe420a5=_0x56965f[_0x277b5b(0x1ef)],_0x63522b=_0x56965f[_0x277b5b(0x145)][_0x277b5b(0x307)]);}if(!_0xe420a5||!_0x63522b){let _0x300174=this[_0x277b5b(0x1cb)](_0x26b508['x'],_0x26b508['y']);_0x300174?(this[_0x277b5b(0x2a8)]={'anchorColumn':_0x300174[_0x277b5b(0x2ca)],'anchorRow':_0x300174['row'],..._0x300174['segmentId']?{'segmentId':_0x300174[_0x277b5b(0x2d7)]}:{},'startX':_0x26b508['x'],'startY':_0x26b508['y'],'structural':!0x1,'tableId':_0x300174['tableId']},this[_0x277b5b(0x358)][_0x277b5b(0x23d)]({'clearNativeSelection':!0x1})):(this[_0x277b5b(0x2a8)]=null,this[_0x277b5b(0x284)](),this[_0x277b5b(0x358)][_0x277b5b(0x23d)]({'clearNativeSelection':!0x1}));return;}if(this['_selectionDragState']=null,this[_0x277b5b(0x284)](),_0x43145d[_0x277b5b(0xd5)](),_0x43145d[_0x277b5b(0x225)]=!0x0,_0x3b5138['stopPropagation'](),_0x3b5138[_0x277b5b(0x205)](),_0xe420a5[_0x277b5b(0x267)]===_0x277b5b(0xe8)||_0xe420a5[_0x277b5b(0x267)]===_0x277b5b(0xe2)){let _0x18e4f4=this[_0x277b5b(0x328)](_0xe420a5);if(_0x18e4f4==null)return;this[_0x277b5b(0x358)]['setNativeSelectionSuppressed'](!0x0),this[_0x277b5b(0xae)]=null,this[_0x277b5b(0x358)][_0x277b5b(0x23d)](),this['_dragState']=ga(_0xe420a5,_0x26b508['x'],_0x26b508['y'],_0x18e4f4),this[_0x277b5b(0x3c6)]=_0x63522b,this['_dragPreview']=_a(this[_0x277b5b(0xa0)],_0x26b508['x'],_0x26b508['y']),this[_0x277b5b(0x14a)](_0xe420a5),this[_0x277b5b(0x23e)]();return;}if(_0xe420a5[_0x277b5b(0x267)]===_0x277b5b(0x254)){if(!this[_0x277b5b(0x2ea)])return;this['_selectionService'][_0x277b5b(0x25c)](!0x0),this['_moveDragState']=ua(_0xe420a5,_0x26b508['x'],_0x26b508['y'],this[_0x277b5b(0x2ea)]['input'][_0x277b5b(0x1e8)]),this[_0x277b5b(0xd1)]=_0x63522b,this[_0x277b5b(0x2fa)]=null,this[_0x277b5b(0x390)]=null,this[_0x277b5b(0xa2)](),this[_0x277b5b(0x32e)]=null,this[_0x277b5b(0x287)](_0x44809d[_0x277b5b(0x20b)]),this[_0x277b5b(0x23e)]();return;}this[_0x277b5b(0x1a8)](_0xe420a5,_0x26b508,_0x63522b);},'priority':fo})),this[_0x5f0dcc(0x134)](_0x4560f9[_0x5f0dcc(0x362)][_0x5f0dcc(0x2a6)]({'next':([_0x4e3851,_0x1542b6])=>{const _0xceff70=_0x5f0dcc;let _0xe8e40=Eo(_0x4e3851[_0xceff70(0x2ab)],_0x4e3851[_0xceff70(0x337)],this['_context'][_0xceff70(0x3b6)]);this[_0xceff70(0x19c)]=_0xe8e40,this[_0xceff70(0x282)](_0xe8e40,_0x1542b6,{'commit':!0x0,'selectCollapsedRange':!0x0});},'priority':fo})),this[_0x5f0dcc(0x134)](this[_0x5f0dcc(0x13f)][_0x5f0dcc(0x3b6)][_0x5f0dcc(0x29f)][_0x5f0dcc(0x2a6)]({'next':([_0x52520b,_0x2a51b8])=>{const _0x1f3ca2=_0x5f0dcc;var _0x16eb6a;let _0xf7bf14=Eo(_0x52520b[_0x1f3ca2(0x2ab)],_0x52520b[_0x1f3ca2(0x337)],this[_0x1f3ca2(0x13f)][_0x1f3ca2(0x3b6)]),_0x18d430=(_0x16eb6a=this[_0x1f3ca2(0x2ea)])==null?this['_buildActiveTableAtPoint'](_0xf7bf14['x'],_0xf7bf14['y']):_0x16eb6a;!_0x18d430||!Q(X(_0x18d430[_0x1f3ca2(0x36f)]),_0xf7bf14['x'],_0xf7bf14['y'])||this[_0x1f3ca2(0x140)]['applyWheel'](this[_0x1f3ca2(0x13f)][_0x1f3ca2(0x15c)],_0x18d430[_0x1f3ca2(0x307)],{'ctrlKey':!!_0x52520b[_0x1f3ca2(0x183)],'deltaX':_0x52520b[_0x1f3ca2(0x247)],'deltaY':_0x52520b['deltaY'],'metaKey':!!_0x52520b[_0x1f3ca2(0x12d)],'shiftKey':!!_0x52520b[_0x1f3ca2(0x220)],'zoom':this['_getCurrentZoom']()})&&(this[_0x1f3ca2(0x2ea)]=this[_0x1f3ca2(0x25f)](_0x18d430),this[_0x1f3ca2(0x395)](),_0x2a51b8[_0x1f3ca2(0xd5)](),_0x2a51b8['skipNextObservers']=!0x0,_0x52520b[_0x1f3ca2(0x205)](),this[_0x1f3ca2(0x23e)]());},'priority':fo})),this['disposeWithMe'](_0x4560f9[_0x5f0dcc(0x306)][_0x5f0dcc(0x2a6)]({'next':()=>{const _0x4aff59=_0x5f0dcc;this[_0x4aff59(0xa0)]||this[_0x4aff59(0x3a2)]||this[_0x4aff59(0xed)]||this[_0x4aff59(0x237)]||(this[_0x4aff59(0x104)](null),this[_0x4aff59(0x356)](null),this[_0x4aff59(0x1cf)]()||(this['_activeTable']=null),this['_resetTableCursor'](),this[_0x4aff59(0x23e)]());},'priority':fo}));}['_handleEmbedPassiveWheel'](_0xa39c5c){const _0x5372fc=_0x2d1af3;var _0x38adc3;if(_0xa39c5c[_0x5372fc(0x38b)]===_0x5372fc(0x1f6)||_0xa39c5c[_0x5372fc(0xd6)]!==this[_0x5372fc(0x13f)]['unitId'])return!0x1;let _0xa4848a=this[_0x5372fc(0x3bf)](_0xa39c5c[_0x5372fc(0x3a3)]);if(!_0xa4848a)return!0x1;let _0xdcc58e=(_0x38adc3=this[_0x5372fc(0x311)](_0xa4848a['x'],_0xa4848a['y']))==null?this[_0x5372fc(0x2ea)]:_0x38adc3;if(!_0xdcc58e||!Q(X(_0xdcc58e[_0x5372fc(0x36f)]),_0xa4848a['x'],_0xa4848a['y']))return!0x1;let _0x1ac682=_0xa39c5c[_0x5372fc(0x3a3)];return this[_0x5372fc(0x140)][_0x5372fc(0x114)](this['_context'][_0x5372fc(0x15c)],_0xdcc58e[_0x5372fc(0x307)],{'ctrlKey':!!_0x1ac682[_0x5372fc(0x183)],'deltaX':_0x1ac682['deltaX'],'deltaY':_0x1ac682[_0x5372fc(0xc5)],'metaKey':!!_0x1ac682['metaKey'],'shiftKey':!!_0x1ac682[_0x5372fc(0x220)],'zoom':this[_0x5372fc(0xc9)]()})?(this['_activeTable']=this[_0x5372fc(0x25f)](_0xdcc58e),this['_refreshNativeSelection'](),this[_0x5372fc(0x23e)](),!0x0):!0x1;}[_0x2d1af3(0x1f8)](_0x3e7259){const _0x2b1037=_0x2d1af3;if(!this[_0x2b1037(0xa0)]&&!this[_0x2b1037(0x3a2)]&&!this['_rowColumnMoveState']&&!this[_0x2b1037(0xae)]&&!this[_0x2b1037(0x399)]&&!this[_0x2b1037(0x2a8)]&&!this['_headerSelectionDragState'])return;let _0xba2c32=this[_0x2b1037(0x3bf)](_0x3e7259);if(_0xba2c32&&(this['_lastPointerPoint']=_0xba2c32,!(this[_0x2b1037(0x2a8)]&&(Oo(_0x3e7259)?this[_0x2b1037(0x26a)](_0xba2c32)||this['_updateSelectionDragAutoScroll'](_0xba2c32):(this[_0x2b1037(0x2a8)]=null,this[_0x2b1037(0x284)]()),!this[_0x2b1037(0xa0)]&&!this[_0x2b1037(0x3a2)]&&!this[_0x2b1037(0xed)]&&!this[_0x2b1037(0xae)]&&!this['_scrollbarDragState']))&&!(this[_0x2b1037(0x237)]&&(Oo(_0x3e7259)?this['_updateHeaderSelectionDrag'](_0xba2c32):(this['_headerSelectionDragState']=null,this[_0x2b1037(0x358)]['setNativeSelectionSuppressed'](!0x1)),!this['_dragState']&&!this[_0x2b1037(0x3a2)]&&!this[_0x2b1037(0xed)]&&!this[_0x2b1037(0xae)]&&!this['_scrollbarDragState'])))){if(this[_0x2b1037(0x399)]){this[_0x2b1037(0x2c6)](_0xba2c32['x']),this[_0x2b1037(0x23e)]();return;}if(this['_pendingHandleSelection']){la({'x':this[_0x2b1037(0xae)]['startX'],'y':this['_pendingHandleSelection'][_0x2b1037(0x2ed)]},_0xba2c32,0x4)||(this[_0x2b1037(0xed)]=this[_0x2b1037(0x321)](this[_0x2b1037(0xae)]),this[_0x2b1037(0x30f)]=this[_0x2b1037(0x109)](_0xba2c32),this[_0x2b1037(0xae)]=null,this[_0x2b1037(0x287)](_0x44809d[_0x2b1037(0x20b)]),this['_makeDirty']());return;}if(this[_0x2b1037(0xed)]){Oo(_0x3e7259)?(this[_0x2b1037(0x30f)]=this[_0x2b1037(0x109)](_0xba2c32),this[_0x2b1037(0x287)](_0x44809d[_0x2b1037(0x20b)])):(this[_0x2b1037(0xed)]=null,this[_0x2b1037(0x30f)]=null,this[_0x2b1037(0x2c3)]()),this[_0x2b1037(0x23e)]();return;}if(this[_0x2b1037(0x3a2)]){let _0x9000ee=Math[_0x2b1037(0x1e1)](_0xba2c32['x']-this[_0x2b1037(0x3a2)]['startX'],_0xba2c32['y']-this['_moveDragState'][_0x2b1037(0x2ed)]);this[_0x2b1037(0x2fa)]=_0x9000ee>=0x4?da(this['_moveDragState'],_0xba2c32['x'],_0xba2c32['y']):null,this[_0x2b1037(0x390)]=this[_0x2b1037(0x2fa)]?this[_0x2b1037(0x35a)](_0xba2c32['x'],_0xba2c32['y']):null,this[_0x2b1037(0x287)](_0x44809d[_0x2b1037(0x20b)]),this['_makeDirty']();return;}this[_0x2b1037(0xa0)]&&(this[_0x2b1037(0x2df)]=_a(this['_dragState'],_0xba2c32['x'],_0xba2c32['y']),this[_0x2b1037(0x14a)](this['_dragState'][_0x2b1037(0x1ef)]),this['_makeDirty']());}}[_0x2d1af3(0x3bf)](_0x2df7f1){const _0x1047c7=_0x2d1af3;var _0x5417ea,_0x3745ac,_0x4545fc;if(!Lo(_0x2df7f1))return null;let _0x389dbb=(_0x5417ea=this['_context'][_0x1047c7(0x16a)])==null||(_0x3745ac=_0x5417ea['getCanvasElement'])==null?void 0x0:_0x3745ac[_0x1047c7(0x3cd)](_0x5417ea),_0x23b37c=_0x389dbb==null||(_0x4545fc=_0x389dbb[_0x1047c7(0x13a)])==null?void 0x0:_0x4545fc[_0x1047c7(0x3cd)](_0x389dbb);return _0x23b37c?Eo(_0x2df7f1[_0x1047c7(0x15a)]-_0x23b37c[_0x1047c7(0xea)],_0x2df7f1[_0x1047c7(0xdc)]-_0x23b37c[_0x1047c7(0xc3)],this[_0x1047c7(0x13f)][_0x1047c7(0x3b6)]):null;}[_0x2d1af3(0x282)](_0x3976fa,_0x1259a8,_0xc4849d){const _0x258804=_0x2d1af3;var _0x1aaa16;let _0x4cc087=!!((_0x1aaa16=this[_0x258804(0x2a8)])!=null&&_0x1aaa16[_0x258804(0x28c)]);this['_selectionDragState']=null;let _0x1a1ea8=!!this[_0x258804(0x237)];return this[_0x258804(0x237)]=null,this[_0x258804(0x284)](),_0x4cc087?(this['_consumePointerEvent'](_0x1259a8),this[_0x258804(0x23e)](),!0x0):_0x1a1ea8?(this['_consumePointerEvent'](_0x1259a8),this[_0x258804(0x358)][_0x258804(0x25c)](!0x1),this[_0x258804(0x23e)](),!0x0):this[_0x258804(0x399)]?(this[_0x258804(0x2bb)](_0x1259a8),this[_0x258804(0x399)]=null,this[_0x258804(0x358)]['setNativeSelectionSuppressed'](!0x1),this[_0x258804(0x2c3)](),this[_0x258804(0x23e)](),!0x0):this[_0x258804(0xed)]||this[_0x258804(0x30f)]?(this[_0x258804(0x2bb)](_0x1259a8),this[_0x258804(0x1a6)](_0x3976fa,_0xc4849d[_0x258804(0x2a5)]),!0x0):this[_0x258804(0x3a2)]||this[_0x258804(0xd1)]||this[_0x258804(0x2fa)]||this[_0x258804(0x390)]?(this[_0x258804(0x2bb)](_0x1259a8),this[_0x258804(0x1db)](_0x3976fa,_0xc4849d[_0x258804(0x2a5)]),!0x0):this[_0x258804(0xae)]?(this[_0x258804(0x2bb)](_0x1259a8),this[_0x258804(0x351)](_0x3976fa,_0xc4849d[_0x258804(0x2a5)]),!0x0):this[_0x258804(0xa0)]||this[_0x258804(0x3c6)]||this[_0x258804(0x2df)]?(this['_consumePointerEvent'](_0x1259a8),this[_0x258804(0x1e5)](_0x3976fa,_0xc4849d[_0x258804(0x2a5)]),!0x0):!0x1;}[_0x2d1af3(0x1db)](_0x5e9821,_0x52a278){const _0xb45d86=_0x2d1af3;if(_0x52a278&&this[_0xb45d86(0x3a2)]&&this[_0xb45d86(0xd1)]){var _0x517bb3,_0x3013ae;let _0x1a35f2=_0x5e9821?Math[_0xb45d86(0x1e1)](_0x5e9821['x']-this[_0xb45d86(0x3a2)][_0xb45d86(0x1c6)],_0x5e9821['y']-this[_0xb45d86(0x3a2)][_0xb45d86(0x2ed)]):0x0,_0x4dfee0=(_0x517bb3=this[_0xb45d86(0x2fa)])==null?_0x5e9821&&_0x1a35f2>=0x4?da(this[_0xb45d86(0x3a2)],_0x5e9821['x'],_0x5e9821['y']):null:_0x517bb3,_0x13c30d=(_0x3013ae=this['_moveDropTarget'])==null?_0x5e9821&&_0x4dfee0?this['_getTableDropTargetAtPoint'](_0x5e9821['x'],_0x5e9821['y']):null:_0x3013ae;_0x13c30d?this[_0xb45d86(0x17c)][_0xb45d86(0x173)](_0x16ee93['id'],{'tableId':this[_0xb45d86(0xd1)],'targetOffset':_0x13c30d[_0xb45d86(0x3b0)]}):!_0x4dfee0&&la({'x':this[_0xb45d86(0x3a2)][_0xb45d86(0x1c6)],'y':this[_0xb45d86(0x3a2)][_0xb45d86(0x2ed)]},_0x5e9821==null?null:_0x5e9821,0x4)&&this[_0xb45d86(0x23c)](this['_moveDragSourceTableId']);}this[_0xb45d86(0x3a2)]=null,this[_0xb45d86(0xd1)]=null,this[_0xb45d86(0x2fa)]=null,this[_0xb45d86(0x390)]=null,this[_0xb45d86(0x358)]['setNativeSelectionSuppressed'](!0x1),this[_0xb45d86(0x2c3)](),this[_0xb45d86(0x23e)]();}[_0x2d1af3(0x3b3)](){const _0x2da0a4=_0x2d1af3;var _0x2a74b7,_0x4b9113,_0xa4ecf9;let _0x20a6be=!!(this[_0x2da0a4(0x2ea)]||this['_hoveredTrigger']||this[_0x2da0a4(0xa0)]||this[_0x2da0a4(0x2df)]||this['_moveDragState']||this[_0x2da0a4(0x2fa)]||this['_moveDropTarget']||this[_0x2da0a4(0xae)]||this[_0x2da0a4(0xed)]||this[_0x2da0a4(0x30f)]||this[_0x2da0a4(0x399)]||this['_selectionDragState']||this[_0x2da0a4(0x237)]||this['_hoverCell']||this[_0x2da0a4(0x1bd)]!=null||this[_0x2da0a4(0x1f1)]!=null||this[_0x2da0a4(0x1dd)]||this[_0x2da0a4(0x32e)]||this[_0x2da0a4(0x19f)]||this[_0x2da0a4(0x2b3)][_0x2da0a4(0x1b6)]);this[_0x2da0a4(0x2ea)]=null,this[_0x2da0a4(0x15d)]=null,this[_0x2da0a4(0xa0)]=null,this[_0x2da0a4(0x3c6)]=null,this[_0x2da0a4(0x2df)]=null,this[_0x2da0a4(0x3a2)]=null,this[_0x2da0a4(0xd1)]=null,this['_moveDragPreview']=null,this['_moveDropTarget']=null,this[_0x2da0a4(0xae)]=null,this['_rowColumnMoveState']=null,this['_rowColumnMoveTarget']=null,this[_0x2da0a4(0x399)]=null,this['_selectionDragState']=null,this['_headerSelectionDragState']=null,this[_0x2da0a4(0xe3)]=null,this['_hoverColumn']=null,this[_0x2da0a4(0x1f1)]=null,this['_sortPopover']=null,this[_0x2da0a4(0x19f)]=null,this[_0x2da0a4(0x19c)]=null,this['_stopSelectionDragAutoScroll'](),(_0x2a74b7=this['_borderPopoverDisposable'])==null||_0x2a74b7[_0x2da0a4(0x117)](),this['_borderPopoverDisposable']=null,this[_0x2da0a4(0x1dd)]=null,this[_0x2da0a4(0x2b3)][_0x2da0a4(0x302)](),(_0x4b9113=this['_floatingMenuService'])==null||(_0xa4ecf9=_0x4b9113[_0x2da0a4(0x326)])==null||_0xa4ecf9[_0x2da0a4(0x3cd)](_0x4b9113),this['_hideFloatingMenuPopup'](),this[_0x2da0a4(0x358)][_0x2da0a4(0x25c)](!0x1),this[_0x2da0a4(0x2c3)](),_0x20a6be&&this['_makeDirty']();}[_0x2d1af3(0x351)](_0x44dc84,_0x3773f9){const _0x3b2123=_0x2d1af3;let _0x4cbcb5=this[_0x3b2123(0xae)];_0x3773f9&&_0x4cbcb5&&la({'x':_0x4cbcb5['startX'],'y':_0x4cbcb5['startY']},_0x44dc84==null?null:_0x44dc84,0x4)&&(_0x4cbcb5['type']===_0x3b2123(0x151)&&_0x4cbcb5[_0x3b2123(0x151)]!=null?this[_0x3b2123(0x148)](_0x4cbcb5[_0x3b2123(0x3a8)],_0x4cbcb5[_0x3b2123(0x151)]):_0x4cbcb5['type']==='column'&&_0x4cbcb5[_0x3b2123(0x2ca)]!=null&&this['_selectColumn'](_0x4cbcb5[_0x3b2123(0x3a8)],_0x4cbcb5[_0x3b2123(0x2ca)])),this[_0x3b2123(0xae)]=null,this[_0x3b2123(0x358)][_0x3b2123(0x25c)](!0x1),this[_0x3b2123(0x23e)]();}[_0x2d1af3(0x1a6)](_0x322dbc,_0x4da09a){const _0x530fdf=_0x2d1af3;var _0x30bcc3;let _0x19aea8=this[_0x530fdf(0xed)],_0x2903bc=(_0x30bcc3=this[_0x530fdf(0x30f)])==null?_0x322dbc?this[_0x530fdf(0x109)](_0x322dbc):null:_0x30bcc3;_0x4da09a&&_0x19aea8&&_0x2903bc&&_0x2903bc['index']!==_0x19aea8[_0x530fdf(0xcb)]&&(_0x19aea8[_0x530fdf(0xee)]===_0x530fdf(0x151)?this[_0x530fdf(0x17c)][_0x530fdf(0x173)](_0x2ac0a6['id'],{'count':0x1,'fromRow':_0x19aea8[_0x530fdf(0xcb)],'position':_0x2903bc[_0x530fdf(0x2e2)]===_0x530fdf(0x17a)?'above':'below','tableId':_0x19aea8[_0x530fdf(0x3a8)],'toRow':_0x2903bc[_0x530fdf(0x11b)]})['then'](_0x1a44d3=>{const _0x1c8bef=_0x530fdf;_0x1a44d3&&this[_0x1c8bef(0x37c)](_0x19aea8[_0x1c8bef(0x3a8)]);}):this['_commandService'][_0x530fdf(0x173)](_0x175126['id'],{'count':0x1,'fromColumn':_0x19aea8[_0x530fdf(0xcb)],'position':_0x2903bc['position']===_0x530fdf(0xea)?_0x530fdf(0xea):_0x530fdf(0x30b),'tableId':_0x19aea8[_0x530fdf(0x3a8)],'toColumn':_0x2903bc[_0x530fdf(0x11b)]})['then'](_0x594086=>{const _0x53f0d3=_0x530fdf;_0x594086&&this[_0x53f0d3(0x37c)](_0x19aea8['tableId']);})),this['_rowColumnMoveState']=null,this[_0x530fdf(0x30f)]=null,this[_0x530fdf(0x358)][_0x530fdf(0x25c)](!0x1),this[_0x530fdf(0x2c3)](),this[_0x530fdf(0x23e)]();}[_0x2d1af3(0x1e5)](_0x11fde0,_0x1d8bb6){const _0x36de3c=_0x2d1af3;var _0x279210;let _0x40d1f0=this[_0x36de3c(0xa0)]?va(this['_dragState'],(_0x279210=this['_dragPreview'])==null?null:_0x279210,_0x11fde0==null?null:_0x11fde0):this['_dragPreview'],_0x33eb42=this[_0x36de3c(0x3c6)];_0x1d8bb6&&_0x40d1f0&&_0x33eb42&&(_0x40d1f0[_0x36de3c(0x2ca)]!=null&&_0x40d1f0['width']!=null?this[_0x36de3c(0x1b3)](_0x7cb72f['id'],{'column':_0x40d1f0[_0x36de3c(0x2ca)],'tableId':_0x33eb42,'width':_0x40d1f0[_0x36de3c(0x15e)]},_0x33eb42):_0x40d1f0['row']!=null&&_0x40d1f0['height']!=null&&this[_0x36de3c(0x1b3)](_0x47b697['id'],{'height':_0x40d1f0['height'],'row':_0x40d1f0[_0x36de3c(0x151)],'tableId':_0x33eb42},_0x33eb42)),this[_0x36de3c(0xa0)]=null,this[_0x36de3c(0x3c6)]=null,this[_0x36de3c(0x2df)]=null,this[_0x36de3c(0x104)](null),this[_0x36de3c(0x356)](null),this['_selectionService'][_0x36de3c(0x25c)](!0x1),this[_0x36de3c(0x2c3)](),this[_0x36de3c(0x23e)]();}[_0x2d1af3(0x1eb)](_0x55456f){const _0x27391c=_0x2d1af3;this[_0x27391c(0xa2)](),this[_0x27391c(0x1dd)]=_0x55456f;let _0x524260=Wo()[_0x27391c(0x3b5)](({preset:_0x182cb8})=>({'label':this[_0x27391c(0x20d)](_0x182cb8),'preset':_0x182cb8}));this[_0x27391c(0x383)]=this['_docCanvasPopManagerService'][_0x27391c(0x212)]({'bottom':_0x55456f['y'],'left':_0x55456f['x'],'right':_0x55456f['x'],'top':_0x55456f['y']},{'componentKey':Jr,'direction':_0x27391c(0x234),'extraProps':{'onSelect':_0xcc0ead=>this[_0x27391c(0xfa)](_0xcc0ead),'presets':_0x524260},'onClickOutside':()=>this[_0x27391c(0xa2)](),'onContextMenu':()=>this['_closeBorderPopover']()},this[_0x27391c(0x13f)][_0x27391c(0x15c)]),this[_0x27391c(0x23e)]();}['_closeBorderPopover'](){const _0x50f273=_0x2d1af3;var _0x1b8209;(_0x1b8209=this[_0x50f273(0x383)])==null||_0x1b8209[_0x50f273(0x117)](),this['_borderPopoverDisposable']=null,this[_0x50f273(0x1dd)]=null,this[_0x50f273(0x356)](null),this[_0x50f273(0x23e)]();}[_0x2d1af3(0x211)](_0x44d1ea){const _0x4eafa8=_0x2d1af3;var _0x108164,_0xe43c48,_0x45fa9e,_0x5ecb79;let _0x3dd5df=Bo((_0x108164=_0x44d1ea==null?(_0xe43c48=(_0x45fa9e=this['_floatingMenuService'])[_0x4eafa8(0x18d)])==null?void 0x0:_0xe43c48[_0x4eafa8(0x3cd)](_0x45fa9e)[_0x4eafa8(0x2fb)]:_0x44d1ea)==null?null:_0x108164);this[_0x4eafa8(0x24a)]&&this['_floatingMenuPopupAnchorKey']===_0x3dd5df||(this[_0x4eafa8(0x24a)]&&this[_0x4eafa8(0x171)](),(_0x5ecb79=this[_0x4eafa8(0xf9)])!=null&&_0x5ecb79[_0x4eafa8(0x212)]&&(this[_0x4eafa8(0x24a)]=this[_0x4eafa8(0xf9)][_0x4eafa8(0x212)](()=>{const _0x35c740=_0x4eafa8;let _0x1de50d=this[_0x35c740(0x369)][_0x35c740(0x18d)]()[_0x35c740(0x2fb)];return _0x1de50d==null?{'bottom':0x0,'left':0x0,'right':0x0,'top':0x0}:_0x1de50d;},{'componentKey':ki,'direction':_0x4eafa8(0x38d),'offset':[0x0,0x8],'onClickOutside':()=>{const _0x307ac0=_0x4eafa8;this['_floatingMenuService'][_0x307ac0(0x326)](),this[_0x307ac0(0x171)]();}},this[_0x4eafa8(0x13f)][_0x4eafa8(0x15c)]),this['_floatingMenuPopupAnchorKey']=_0x3dd5df));}[_0x2d1af3(0x171)](){const _0x59cedf=_0x2d1af3;var _0x266ce6;(_0x266ce6=this['_floatingMenuPopup'])==null||_0x266ce6[_0x59cedf(0x117)](),this[_0x59cedf(0x24a)]=null,this[_0x59cedf(0x341)]=null;}[_0x2d1af3(0xfa)](_0x4a604c){const _0x2f15ed=_0x2d1af3;let _0x4724e8=this['_borderPopover'];_0x4724e8&&(this[_0x2f15ed(0x358)][_0x2f15ed(0x197)]({'kind':_0x4724e8['startRow']===_0x4724e8['endRow']&&_0x4724e8[_0x2f15ed(0x175)]===_0x4724e8[_0x2f15ed(0x125)]?_0x4ffc7d[_0x2f15ed(0x2ff)]:_0x4ffc7d[_0x2f15ed(0x1bb)],'segmentId':_0x4724e8['segmentId'],'tableId':_0x4724e8[_0x2f15ed(0x3a8)],'startRow':_0x4724e8[_0x2f15ed(0x2d4)],'endRow':_0x4724e8[_0x2f15ed(0x2db)],'startColumn':_0x4724e8[_0x2f15ed(0x175)],'endColumn':_0x4724e8[_0x2f15ed(0x125)]}),this[_0x2f15ed(0x17c)][_0x2f15ed(0x173)](_0x2b27df['id'],{'endColumn':_0x4724e8[_0x2f15ed(0x125)],'endRow':_0x4724e8['endRow'],'preset':_0x4a604c,'startColumn':_0x4724e8[_0x2f15ed(0x175)],'startRow':_0x4724e8[_0x2f15ed(0x2d4)],'tableId':_0x4724e8[_0x2f15ed(0x3a8)]}),this[_0x2f15ed(0xa2)]());}[_0x2d1af3(0x2bb)](_0x4e2cb6){const _0x306151=_0x2d1af3;_0x4e2cb6&&(_0x4e2cb6['stopPropagation'](),_0x4e2cb6[_0x306151(0x225)]=!0x0);}[_0x2d1af3(0x1b3)](_0x42fbff,_0x380552,_0x340b92){const _0x35bcf6=_0x2d1af3;this[_0x35bcf6(0x17c)][_0x35bcf6(0x173)](_0x42fbff,_0x380552)[_0x35bcf6(0x2e8)](_0x24242c=>{const _0x356d05=_0x35bcf6;_0x24242c&&this[_0x356d05(0x37c)](_0x340b92);});}[_0x2d1af3(0x1a8)](_0x213e51,_0x15f510,_0x112b3b){const _0x591908=_0x2d1af3;if(_0x213e51[_0x591908(0x267)]===_0x591908(0x2a4)||_0x213e51['kind']==='column-insert-dot')return this[_0x591908(0x2f1)](_0x213e51,_0x112b3b),!0x0;if((_0x213e51['kind']!==_0x591908(0x2bf)||_0x213e51[_0x591908(0x151)]==null)&&(_0x213e51['kind']!=='column-header'||_0x213e51[_0x591908(0x2ca)]==null))return!0x1;if(this[_0x591908(0x358)][_0x591908(0x25c)](!0x0),_0x213e51[_0x591908(0x267)]==='row-header'&&_0x213e51['row']!=null){var _0x330191,_0x48458c;return this[_0x591908(0xd9)](_0x213e51,_0x15f510)?(this[_0x591908(0x2f1)]({..._0x213e51,'kind':'row-insert-dot'},_0x112b3b),!0x0):this[_0x591908(0x17e)](_0x213e51)?(this['_pendingHandleSelection']={'row':_0x213e51[_0x591908(0x151)],'startX':_0x15f510['x'],'startY':_0x15f510['y'],'tableId':_0x112b3b,'type':_0x591908(0x151)},!0x0):(this[_0x591908(0x237)]={'anchorIndex':_0x213e51[_0x591908(0x151)],'currentIndex':_0x213e51[_0x591908(0x151)],...(_0x330191=this[_0x591908(0x2ea)])!=null&&_0x330191[_0x591908(0x2d7)]?{'segmentId':this[_0x591908(0x2ea)][_0x591908(0x2d7)]}:{},'tableId':_0x112b3b,'type':_0x591908(0x151)},this[_0x591908(0x358)][_0x591908(0x17b)](_0x112b3b,'row',_0x213e51[_0x591908(0x151)],_0x213e51['row'],{'clearNativeSelection':!0x0,...(_0x48458c=this[_0x591908(0x2ea)])!=null&&_0x48458c[_0x591908(0x2d7)]?{'segmentId':this[_0x591908(0x2ea)][_0x591908(0x2d7)]}:{}}),!0x0);}if(_0x213e51[_0x591908(0x267)]===_0x591908(0x345)&&_0x213e51[_0x591908(0x2ca)]!=null){var _0x4456a5,_0x3aa613;return this[_0x591908(0x17e)](_0x213e51)?(this[_0x591908(0xae)]={'column':_0x213e51[_0x591908(0x2ca)],'startX':_0x15f510['x'],'startY':_0x15f510['y'],'tableId':_0x112b3b,'type':'column'},!0x0):(this[_0x591908(0x237)]={'anchorIndex':_0x213e51[_0x591908(0x2ca)],'currentIndex':_0x213e51[_0x591908(0x2ca)],...(_0x4456a5=this[_0x591908(0x2ea)])!=null&&_0x4456a5[_0x591908(0x2d7)]?{'segmentId':this[_0x591908(0x2ea)][_0x591908(0x2d7)]}:{},'tableId':_0x112b3b,'type':_0x591908(0x2ca)},this[_0x591908(0x358)]['setStructuralHeaderSelection'](_0x112b3b,'column',_0x213e51['column'],_0x213e51[_0x591908(0x2ca)],{'clearNativeSelection':!0x0,...(_0x3aa613=this[_0x591908(0x2ea)])!=null&&_0x3aa613[_0x591908(0x2d7)]?{'segmentId':this[_0x591908(0x2ea)]['segmentId']}:{}}),!0x0);}return!0x1;}[_0x2d1af3(0x1ea)](_0xcdb138){const _0x15987c=_0x2d1af3;let _0x5cb877=this[_0x15987c(0x237)];if(!_0x5cb877)return;let _0x55eaf8=_0x5cb877[_0x15987c(0xee)]==='row'?this[_0x15987c(0x367)](_0xcdb138['y']):this['_getColumnAtX'](_0xcdb138['x']);_0x55eaf8==null||_0x55eaf8===_0x5cb877[_0x15987c(0x155)]||(_0x5cb877[_0x15987c(0x155)]=_0x55eaf8,this['_selectionService']['setStructuralHeaderSelection'](_0x5cb877[_0x15987c(0x3a8)],_0x5cb877[_0x15987c(0xee)],_0x5cb877[_0x15987c(0x340)],_0x55eaf8,{'clearNativeSelection':!0x0,..._0x5cb877[_0x15987c(0x2d7)]?{'segmentId':_0x5cb877[_0x15987c(0x2d7)]}:{}}),this['_makeDirty']());}['_handleStructuralInsertTrigger'](_0x3bdb1a,_0x1ac494){const _0x58893e=_0x2d1af3;if(_0x3bdb1a[_0x58893e(0x267)]===_0x58893e(0x2a4)&&_0x3bdb1a['row']!=null){this['_executeCommandAndRefreshActiveTable'](_0x566f96['id'],{'count':0x1,'position':_0x58893e(0x36a),'row':_0x3bdb1a['row'],'tableId':_0x1ac494},_0x1ac494);return;}_0x3bdb1a['kind']===_0x58893e(0x17f)&&_0x3bdb1a['column']!=null&&this[_0x58893e(0x1b3)](_0x64b06a['id'],{'column':_0x3bdb1a[_0x58893e(0x2ca)],'count':0x1,'position':'right','tableId':_0x1ac494},_0x1ac494);}['_isRowHeaderInsertSeamHit'](_0x44e1f3,_0x5407ed){const _0x5c855a=_0x2d1af3;if(_0x44e1f3[_0x5c855a(0x267)]!==_0x5c855a(0x2bf))return!0x1;let _0x3a3697=Math['min'](_0x44e1f3[_0x5c855a(0x298)]['height'],Math['max'](0x6/this[_0x5c855a(0xc9)](),0x4/this[_0x5c855a(0xc9)]()));return _0x5407ed['y']>=_0x44e1f3[_0x5c855a(0x298)]['y']+_0x44e1f3['rect'][_0x5c855a(0x26e)]-_0x3a3697&&_0x5407ed['y']<=_0x44e1f3[_0x5c855a(0x298)]['y']+_0x44e1f3[_0x5c855a(0x298)][_0x5c855a(0x26e)];}[_0x2d1af3(0x17e)](_0x362d85){const _0x4c63c5=_0x2d1af3;let _0x4c29d4=this[_0x4c63c5(0x249)];return!_0x4c29d4||!_0x362d85[_0x4c63c5(0x3a8)]||_0x4c29d4[_0x4c63c5(0x3a8)]!==_0x362d85[_0x4c63c5(0x3a8)]?!0x1:_0x362d85[_0x4c63c5(0x267)]===_0x4c63c5(0x2bf)&&_0x362d85['row']!=null?_0x4c29d4['kind']===_0x4ffc7d[_0x4c63c5(0x2fe)]&&_0x4c29d4[_0x4c63c5(0x2d4)]===_0x4c29d4[_0x4c63c5(0x2db)]&&_0x362d85[_0x4c63c5(0x151)]===_0x4c29d4['startRow']:_0x362d85['kind']==='column-header'&&_0x362d85['column']!=null?_0x4c29d4[_0x4c63c5(0x267)]===_0x4ffc7d[_0x4c63c5(0xc7)]&&_0x4c29d4['startColumn']===_0x4c29d4[_0x4c63c5(0x125)]&&_0x362d85[_0x4c63c5(0x2ca)]===_0x4c29d4[_0x4c63c5(0x175)]:!0x1;}['_initCanvasRender'](){const _0x5642a4=_0x2d1af3;this['disposeWithMe'](this[_0x5642a4(0x13f)][_0x5642a4(0x3b6)][_0x5642a4(0x2d0)][_0x5642a4(0x206)](_0x507625=>{const _0xf5f169=_0x5642a4;var _0x4d2711;if(!_0x507625||(this['_syncViewportStatesFromSkeleton']()&&this[_0xf5f169(0x23e)](),(_0x4d2711=this[_0xf5f169(0x249)])!=null&&_0x4d2711[_0xf5f169(0x3a8)]&&this['_syncFloatingMenuFromSelection'](),!this['_activeTable']))return;let _0x192b85=_0x507625[_0xf5f169(0x1d1)]();_0x192b85&&this[_0xf5f169(0x2a1)](_0x192b85);}));}[_0x2d1af3(0x2a7)](_0x5a963d){const _0x3b51a8=_0x2d1af3;var _0x54dc8f;let _0x3edcc6=this['_findSkeletonTable'](_0x5a963d[_0x3b51a8(0x22e)],_0x5a963d[_0x3b51a8(0x3a8)],_0x5a963d[_0x3b51a8(0x2d7)]);if(!_0x3edcc6)return null;let {page:_0x1bfd50,table:_0x1945bf}=_0x3edcc6,_0xf2e7bb=_0x4823b3(_0x5a963d['tableId'])['tableId'],_0x366681=xo(_0x1945bf),_0x34d229=_0x1945bf[_0x3b51a8(0x271)][_0x3b51a8(0x3b5)](_0x590d6e=>_0x590d6e[_0x3b51a8(0x26e)]),_0x42a3f0=Z(_0x366681),_0x59f6bb=this[_0x3b51a8(0xf6)](_0x5a963d,_0xf2e7bb,_0x1bfd50,_0x1945bf,_0x42a3f0);return{'pageIndex':_0x5a963d[_0x3b51a8(0x22e)],'segmentId':(_0x54dc8f=_0x5a963d[_0x3b51a8(0x2d7)])==null?_0x3edcc6['segmentId']:_0x54dc8f,'sourceTableId':_0xf2e7bb,'tableSliceId':_0x5a963d[_0x3b51a8(0x3a8)],'input':{'columnIndices':_0x366681['map']((_0x5dc78a,_0x89fd4)=>_0x89fd4),'columnWidths':_0x366681,'mergedCells':So(_0x1945bf),'rowHeights':_0x34d229,'rowIndices':_0x1945bf[_0x3b51a8(0x271)][_0x3b51a8(0x3b5)](_0x3c8a72=>_0x3c8a72[_0x3b51a8(0x11b)]),'tableId':_0xf2e7bb,'tableRect':{'height':_0x5a963d['rect'][_0x3b51a8(0x3cb)]-_0x5a963d[_0x3b51a8(0x298)]['top'],'width':_0x42a3f0||_0x5a963d[_0x3b51a8(0x298)][_0x3b51a8(0x30b)]-_0x5a963d[_0x3b51a8(0x298)][_0x3b51a8(0xea)],'x':_0x5a963d[_0x3b51a8(0x298)][_0x3b51a8(0xea)],'y':_0x5a963d[_0x3b51a8(0x298)][_0x3b51a8(0xc3)]},'viewport':_0x59f6bb,'zoom':this[_0x3b51a8(0xc9)]()}};}[_0x2d1af3(0x17d)](_0x1978ab,_0x39ac93,_0x4823a8){const _0x435e78=_0x2d1af3;var _0x2bf8d9;return(_0x2bf8d9=this[_0x435e78(0x208)]()['find'](_0x858d2c=>_0x858d2c['pageIndex']===_0x1978ab&&_0x858d2c[_0x435e78(0x3a8)]===_0x39ac93&&(_0x4823a8==null||_0x858d2c[_0x435e78(0x2d7)]===_0x4823a8)))==null?null:_0x2bf8d9;}[_0x2d1af3(0x208)](){const _0xc8d78a=_0x2d1af3;var _0x3be647;let _0x35e48c=this[_0xc8d78a(0x327)][_0xc8d78a(0x13b)]()[_0xc8d78a(0x28a)](),_0x4e41d2=(_0x3be647=_0x35e48c==null?void 0x0:_0x35e48c[_0xc8d78a(0x28e)])==null?[]:_0x3be647,_0x3078ca=Co(this[_0xc8d78a(0x13f)][_0xc8d78a(0x376)]);return _0x11c1a8(_0x4e41d2,{'docsLeft':_0x3078ca[_0xc8d78a(0x322)],'docsTop':_0x3078ca[_0xc8d78a(0x38f)],'pageMarginTop':_0x3078ca[_0xc8d78a(0x1a2)],'resolveViewport':!0x1,'skeFooters':_0x35e48c==null?void 0x0:_0x35e48c['skeFooters'],'skeHeaders':_0x35e48c==null?void 0x0:_0x35e48c[_0xc8d78a(0x146)],'unitId':this['_context'][_0xc8d78a(0x15c)]})[_0xc8d78a(0x3b5)](_0x17b35d=>{const _0x576767=_0xc8d78a;var _0x31e127;return{'page':_0x17b35d[_0x576767(0x2e1)],'pageIndex':_0x17b35d[_0x576767(0x22e)],'rect':_0x17b35d[_0x576767(0x1e8)],'segmentId':(_0x31e127=_0x17b35d['page'][_0x576767(0x2d7)])==null?'':_0x31e127,'table':_0x17b35d['table'],'tableId':_0x17b35d['tableId']};});}['_refreshActiveTableViewport'](_0x14b078){const _0x530f9d=_0x2d1af3;return{..._0x14b078,'input':{..._0x14b078[_0x530f9d(0x36f)],'viewport':this['_getOrCreateViewportState'](this[_0x530f9d(0x13f)][_0x530f9d(0x15c)],_0x14b078[_0x530f9d(0x307)]),'zoom':this[_0x530f9d(0xc9)]()}};}[_0x2d1af3(0x3c0)](_0x509e77,_0x50aa05){const _0xebc63d=_0x2d1af3;var _0x27e5f8;let _0x5b8e4e=this['_viewportService']['getState'](_0x509e77,_0x50aa05);return _0x509e77===this[_0xebc63d(0x13f)]['unitId']?(_0x27e5f8=this[_0xebc63d(0xdd)](_0x50aa05))==null?_0x5b8e4e:_0x27e5f8:_0x5b8e4e;}[_0x2d1af3(0x2f0)](){const _0x5e35b4=_0x2d1af3;let _0x4c8a17=!0x1;for(let _0x2edea1 of this['_collectSkeletonTables']()){let _0x30d56a=_0x4823b3(_0x2edea1[_0x5e35b4(0x3a8)])['tableId'],_0x40cd3a=Z(xo(_0x2edea1['table'])),_0x102a70=this['_viewportService'][_0x5e35b4(0x18d)](this['_context']['unitId'],_0x30d56a),_0x26de76=this[_0x5e35b4(0xf6)]({'pageIndex':_0x2edea1[_0x5e35b4(0x22e)],'rect':_0x2edea1[_0x5e35b4(0x298)],'tableId':_0x2edea1[_0x5e35b4(0x3a8)]},_0x30d56a,_0x2edea1['page'],_0x2edea1[_0x5e35b4(0x233)],_0x40cd3a);_0x4c8a17=_0x4c8a17||Po(_0x102a70,_0x26de76);}return _0x4c8a17;}[_0x2d1af3(0xdd)](_0x338272){const _0x2793a0=_0x2d1af3;let _0x1175a0=this[_0x2793a0(0x2b7)](_0x338272);if(!_0x1175a0)return;let _0x41be38=this['_findSkeletonTable'](_0x1175a0[_0x2793a0(0x22e)],_0x1175a0[_0x2793a0(0x3a8)],_0x1175a0[_0x2793a0(0x2d7)]);if(_0x41be38)return this[_0x2793a0(0xf6)](_0x1175a0,_0x338272,_0x41be38['page'],_0x41be38[_0x2793a0(0x233)],Z(xo(_0x41be38[_0x2793a0(0x233)])));}[_0x2d1af3(0xf6)](_0x25bd29,_0x4d2112,_0x10f69a,_0x1b2459,_0x2e936d){const _0x5e3b76=_0x2d1af3;return this[_0x5e3b76(0x140)]['setViewport'](this[_0x5e3b76(0x13f)][_0x5e3b76(0x15c)],_0x4d2112,this['_buildViewportState'](_0x25bd29,_0x10f69a,_0x1b2459,_0x2e936d,this[_0x5e3b76(0xc9)]()));}[_0x2d1af3(0x37c)](_0x5fd6ea){const _0x597988=_0x2d1af3;this[_0x597988(0xce)]!=null&&clearTimeout(this[_0x597988(0xce)]),this[_0x597988(0x103)](_0x5fd6ea),this['_activeTableRefreshTimer']=setTimeout(()=>{const _0xbbc194=_0x597988;this[_0xbbc194(0xce)]=null,this[_0xbbc194(0x103)](_0x5fd6ea);},0x20);}['_refreshActiveTableForLayoutChange'](){const _0x14ea58=_0x2d1af3;let _0x25ca3b=this[_0x14ea58(0x2ea)];if(_0x25ca3b){if(this[_0x14ea58(0x19c)]){let _0x5e0409=this['_buildActiveTableAtPoint'](this[_0x14ea58(0x19c)]['x'],this[_0x14ea58(0x19c)]['y']);if(_0x5e0409){this[_0x14ea58(0x2ea)]=_0x5e0409,this[_0x14ea58(0x23e)]();return;}}this['_refreshActiveTableFromSkeleton'](_0x25ca3b[_0x14ea58(0x307)]);}}['_refreshActiveTableFromSkeleton'](_0x5a1670){const _0x419b81=_0x2d1af3;let _0x3e628f=this['_findTableSliceForSource'](_0x5a1670);if(!_0x3e628f){var _0x41495b;((_0x41495b=this[_0x419b81(0x2ea)])==null?void 0x0:_0x41495b[_0x419b81(0x307)])===_0x5a1670&&(this[_0x419b81(0x2ea)]=null,this['_makeDirty']());return;}this[_0x419b81(0x2ea)]=this['_buildActiveTable'](_0x3e628f),this[_0x419b81(0x23e)]();}[_0x2d1af3(0x2b7)](_0x489b2f){const _0x34c9a5=_0x2d1af3;var _0x293996,_0x16d56a,_0x5852bc;let _0x114e91=[];for(let _0x63a5de of this['_collectSkeletonTables']())_0x4823b3(_0x63a5de[_0x34c9a5(0x3a8)])[_0x34c9a5(0x3a8)]===_0x489b2f&&_0x114e91[_0x34c9a5(0x1d8)]({'pageIndex':_0x63a5de[_0x34c9a5(0x22e)],'rect':_0x63a5de[_0x34c9a5(0x298)],'segmentId':_0x63a5de[_0x34c9a5(0x2d7)],'tableId':_0x63a5de[_0x34c9a5(0x3a8)]});return(_0x293996=(_0x16d56a=(_0x5852bc=_0x114e91[_0x34c9a5(0x299)](_0x23d830=>{const _0x2f6085=_0x34c9a5;var _0x2aafef;return _0x23d830[_0x2f6085(0x3a8)]===((_0x2aafef=this['_activeTable'])==null?void 0x0:_0x2aafef[_0x2f6085(0xb1)]);}))==null?this['_lastPointerPoint']?_0x114e91[_0x34c9a5(0x299)](_0x258741=>this[_0x34c9a5(0x32f)](_0x258741,this[_0x34c9a5(0x19c)]['x'],this[_0x34c9a5(0x19c)]['y'])):null:_0x5852bc)==null?_0x114e91[0x0]:_0x16d56a)==null?null:_0x293996;}[_0x2d1af3(0x1df)](_0x117c5f){const _0x16d2ba=_0x2d1af3;let _0x3de5d6=0x0;for(let _0x909f97 of this[_0x16d2ba(0x208)]())if(_0x4823b3(_0x909f97[_0x16d2ba(0x3a8)])['tableId']===_0x117c5f&&(_0x3de5d6++,_0x3de5d6>0x1))return!0x0;return!0x1;}[_0x2d1af3(0x32f)](_0x3e3d79,_0x52e4ad,_0x322aab){const _0x15ea98=_0x2d1af3;let _0x5d15ee=this[_0x15ea98(0x17d)](_0x3e3d79[_0x15ea98(0x22e)],_0x3e3d79[_0x15ea98(0x3a8)],_0x3e3d79['segmentId']);if(!_0x5d15ee)return!0x1;let _0xe81d12=this[_0x15ea98(0xc9)](),_0x68e53=xo(_0x5d15ee[_0x15ea98(0x233)])[_0x15ea98(0x184)]((_0x8c6cc1,_0x922fec)=>_0x8c6cc1+_0x922fec,0x0),_0x319bfd=this[_0x15ea98(0x3c1)](_0x3e3d79,_0x5d15ee[_0x15ea98(0x2e1)],_0x5d15ee['table'],_0x68e53,_0xe81d12),_0x490121={'bottom':_0x3e3d79['rect']['bottom'],'left':_0x319bfd[_0x15ea98(0x11f)]-0x10/_0xe81d12,'right':_0x319bfd['viewportLeft']+_0x319bfd['viewportWidth'],'top':_0x3e3d79[_0x15ea98(0x298)][_0x15ea98(0xc3)]-0x10/_0xe81d12};return _0x52e4ad>=_0x490121[_0x15ea98(0xea)]&&_0x52e4ad<=_0x490121[_0x15ea98(0x30b)]&&_0x322aab>=_0x490121[_0x15ea98(0xc3)]&&_0x322aab<=_0x490121[_0x15ea98(0x3cb)];}[_0x2d1af3(0x311)](_0x1c5642,_0xf0b6ca){const _0x199b4d=_0x2d1af3;for(let _0x2228cc of this[_0x199b4d(0x208)]())if(this['_isPointInTableControlRect']({'pageIndex':_0x2228cc[_0x199b4d(0x22e)],'rect':_0x2228cc[_0x199b4d(0x298)],'segmentId':_0x2228cc[_0x199b4d(0x2d7)],'tableId':_0x2228cc[_0x199b4d(0x3a8)]},_0x1c5642,_0xf0b6ca))return this[_0x199b4d(0x2a7)]({'pageIndex':_0x2228cc['pageIndex'],'rect':_0x2228cc['rect'],'segmentId':_0x2228cc[_0x199b4d(0x2d7)],'tableId':_0x2228cc[_0x199b4d(0x3a8)]});return null;}[_0x2d1af3(0x308)](_0x241f92,_0x42550d){return null;}['_hitTest'](_0x23a4cf,_0x1adc70){const _0x55121c=_0x2d1af3;return this[_0x55121c(0x2ea)]?Qa(Pa(this[_0x55121c(0x374)]()),_0x23a4cf,_0x1adc70):null;}[_0x2d1af3(0x238)](_0x4f4c08,_0x21c079){const _0x1d88af=_0x2d1af3;var _0x33ea06;if(!this[_0x1d88af(0x2ea)])return null;let _0x71431c=Pa(this[_0x1d88af(0x374)]()),_0xd64f76=Qa(_0x71431c,_0x4f4c08,_0x21c079);return(_0xd64f76==null?void 0x0:_0xd64f76[_0x1d88af(0x267)])===_0x1d88af(0xe8)||(_0xd64f76==null?void 0x0:_0xd64f76[_0x1d88af(0x267)])===_0x1d88af(0xe2)||(_0x33ea06=$a(_0x71431c,_0x4f4c08,_0x21c079))==null?_0xd64f76:_0x33ea06;}[_0x2d1af3(0x138)](_0x2ae729,_0x2b4f32){const _0x51d9dc=_0x2d1af3;let _0x18bce7=this[_0x51d9dc(0x18b)]();return _0x18bce7?Da(_0x18bce7,_0x2ae729,_0x2b4f32):null;}[_0x2d1af3(0x18b)](){const _0x4434be=_0x2d1af3;return this[_0x4434be(0x3ce)](this[_0x4434be(0x25a)]());}[_0x2d1af3(0x3ce)](_0x2c59b8){const _0x5415ad=_0x2d1af3;if(!this[_0x5415ad(0x2ea)])return null;let _0x23ced4=this['_viewportService']['getState'](this[_0x5415ad(0x13f)]['unitId'],this[_0x5415ad(0x2ea)]['sourceTableId']);return _0x23ced4?Ea({'appearance':_0x2c59b8,'contentWidth':_0x23ced4[_0x5415ad(0x316)],'leadingInsetLeft':_0x23ced4['leadingInsetLeft'],'overflowWidthThreshold':_0x23ced4[_0x5415ad(0xbf)],'scrollLeft':_0x23ced4[_0x5415ad(0x1b0)],'tableRect':X(this[_0x5415ad(0x2ea)][_0x5415ad(0x36f)]),'trailingInsetRight':_0x23ced4[_0x5415ad(0xfe)],'viewportLeft':_0x23ced4['viewportLeft'],'viewportWidth':_0x23ced4[_0x5415ad(0x2b0)],'zoom':this[_0x5415ad(0xc9)]()}):null;}[_0x2d1af3(0x25a)](){const _0x18d682=_0x2d1af3;if(this[_0x18d682(0x399)])return _0x18d682(0x2f9);if(!this[_0x18d682(0x19c)])return'idle';let _0x2aef97=this[_0x18d682(0x3ce)](_0x18d682(0x203));return _0x2aef97&&Da(_0x2aef97,this['_lastPointerPoint']['x'],this['_lastPointerPoint']['y'])?'hover':'idle';}[_0x2d1af3(0xa4)](_0x17efa6,_0xeacf9e){const _0x2aed57=_0x2d1af3;if(!this[_0x2aed57(0x2ea)])return;let _0x1eaded=this[_0x2aed57(0x18b)]();if(!_0x1eaded)return;let _0x231444=this[_0x2aed57(0x2ea)][_0x2aed57(0x307)],_0x3bcbdb=this[_0x2aed57(0x140)]['getState'](this['_context'][_0x2aed57(0x15c)],_0x231444);if(!_0x3bcbdb)return;if(_0x17efa6===_0x2aed57(0x333)){this[_0x2aed57(0x399)]={'startScrollLeft':_0x3bcbdb[_0x2aed57(0x1b0)],'startX':_0xeacf9e,'tableId':_0x231444,'thumbTravel':Math['max'](0x0,_0x1eaded[_0x2aed57(0x19a)][_0x2aed57(0x15e)]-_0x1eaded[_0x2aed57(0x333)][_0x2aed57(0x15e)])},this[_0x2aed57(0x287)](_0x44809d['POINTER']),this[_0x2aed57(0x23e)]();return;}let _0x311d08=_0xeacf9e<_0x1eaded[_0x2aed57(0x333)]['x']?-0x1:0x1,_0x4a3ae1=_0x3bcbdb['scrollLeft'],_0x1435bd=this['_viewportService'][_0x2aed57(0x1b8)](this['_context']['unitId'],_0x231444,_0x3bcbdb[_0x2aed57(0x1b0)]+_0x311d08*_0x3bcbdb[_0x2aed57(0x2b0)]);this['_activeTable']=this[_0x2aed57(0x25f)](this['_activeTable']),_0x1435bd!==_0x4a3ae1&&(this[_0x2aed57(0x395)](),this[_0x2aed57(0x23e)]());}[_0x2d1af3(0x2c6)](_0xf61082){const _0x2736d9=_0x2d1af3;var _0x42331e,_0x2e409f,_0x592927,_0x50bda9,_0x85dca4;let _0x32918c=this[_0x2736d9(0x399)];if(!_0x32918c)return;let _0x316736=(_0x42331e=(_0x2e409f=this[_0x2736d9(0x140)][_0x2736d9(0x18d)](this[_0x2736d9(0x13f)][_0x2736d9(0x15c)],_0x32918c['tableId']))==null?void 0x0:_0x2e409f[_0x2736d9(0x1b0)])==null?0x0:_0x42331e;this['_viewportService'][_0x2736d9(0x1b8)](this[_0x2736d9(0x13f)]['unitId'],_0x32918c['tableId'],_0x32918c[_0x2736d9(0x3be)]),this['_viewportService'][_0x2736d9(0x2f5)](this[_0x2736d9(0x13f)]['unitId'],_0x32918c[_0x2736d9(0x3a8)],_0xf61082-_0x32918c['startX'],_0x32918c[_0x2736d9(0xa1)]),((_0x592927=this[_0x2736d9(0x2ea)])==null?void 0x0:_0x592927[_0x2736d9(0x307)])===_0x32918c[_0x2736d9(0x3a8)]&&(this['_activeTable']=this['_refreshActiveTableViewport'](this[_0x2736d9(0x2ea)])),((_0x50bda9=(_0x85dca4=this[_0x2736d9(0x140)][_0x2736d9(0x18d)](this[_0x2736d9(0x13f)][_0x2736d9(0x15c)],_0x32918c[_0x2736d9(0x3a8)]))==null?void 0x0:_0x85dca4['scrollLeft'])==null?0x0:_0x50bda9)!==_0x316736&&this['_refreshNativeSelection']();}[_0x2d1af3(0x26a)](_0xb29ce2){const _0x4e1f4c=_0x2d1af3;let _0x2912d5=this[_0x4e1f4c(0x2a8)];if(!_0x2912d5||!_0x2912d5[_0x4e1f4c(0x28c)]&&Math['hypot'](_0xb29ce2['x']-_0x2912d5['startX'],_0xb29ce2['y']-_0x2912d5['startY'])<0x4)return!0x1;let _0x3c14f7=this[_0x4e1f4c(0x1cb)](_0xb29ce2['x'],_0xb29ce2['y']);if(!_0x3c14f7||_0x3c14f7[_0x4e1f4c(0x3a8)]!==_0x2912d5['tableId']||!_0x2912d5[_0x4e1f4c(0x28c)]&&_0x3c14f7[_0x4e1f4c(0x151)]===_0x2912d5[_0x4e1f4c(0x305)]&&_0x3c14f7[_0x4e1f4c(0x2ca)]===_0x2912d5[_0x4e1f4c(0x361)])return!0x1;let _0x154f27=Math['min'](_0x2912d5[_0x4e1f4c(0x305)],_0x3c14f7[_0x4e1f4c(0x151)]),_0x25de56=Math['max'](_0x2912d5[_0x4e1f4c(0x305)],_0x3c14f7[_0x4e1f4c(0x151)]),_0x50af9d=Math[_0x4e1f4c(0x121)](_0x2912d5['anchorColumn'],_0x3c14f7[_0x4e1f4c(0x2ca)]),_0x29434e=Math[_0x4e1f4c(0x3c3)](_0x2912d5[_0x4e1f4c(0x361)],_0x3c14f7[_0x4e1f4c(0x2ca)]);return _0x2912d5['structural']=!0x0,this[_0x4e1f4c(0x358)][_0x4e1f4c(0x25c)](!0x0),this['_selectionService'][_0x4e1f4c(0x197)]({'kind':_0x154f27===_0x25de56&&_0x50af9d===_0x29434e?_0x4ffc7d[_0x4e1f4c(0x2ff)]:_0x4ffc7d[_0x4e1f4c(0x1bb)],'segmentId':_0x2912d5[_0x4e1f4c(0x2d7)],'tableId':_0x2912d5[_0x4e1f4c(0x3a8)],'startRow':_0x154f27,'endRow':_0x25de56,'startColumn':_0x50af9d,'endColumn':_0x29434e},{'clearNativeSelection':!0x0,'preserveOnTextSelection':!0x0}),this['_makeDirty'](),!0x0;}[_0x2d1af3(0x32d)](_0x31eee6){const _0x258b75=_0x2d1af3;let _0x5efa73=this[_0x258b75(0x2a8)];if(!_0x5efa73)return!0x1;if(!this[_0x258b75(0x2ea)]||this['_activeTable'][_0x258b75(0x307)]!==_0x5efa73[_0x258b75(0x3a8)]){var _0x54b435;this[_0x258b75(0x2ea)]=(_0x54b435=this[_0x258b75(0x311)](_0x31eee6['x'],_0x31eee6['y']))==null?this[_0x258b75(0x2ea)]:_0x54b435;}if(!this['_activeTable']||this[_0x258b75(0x2ea)][_0x258b75(0x307)]!==_0x5efa73['tableId'])return!0x1;let _0xadab1f=X(this[_0x258b75(0x2ea)][_0x258b75(0x36f)]);return _0x31eee6['y']<_0xadab1f['y']||_0x31eee6['y']>_0xadab1f['y']+_0xadab1f['height']||!this['_viewportService'][_0x258b75(0x160)](this[_0x258b75(0x13f)]['unitId'],_0x5efa73[_0x258b75(0x3a8)],_0x31eee6['x']-_0xadab1f['x'],0x20/this[_0x258b75(0xc9)](),0x18/this[_0x258b75(0xc9)]())?!0x1:(this[_0x258b75(0x2ea)]=this[_0x258b75(0x25f)](this[_0x258b75(0x2ea)]),this['_refreshNativeSelection'](),this[_0x258b75(0x23e)](),this[_0x258b75(0xf5)](),!0x0);}['_scheduleSelectionDragAutoScroll'](){const _0x12aea8=_0x2d1af3;this[_0x12aea8(0x295)]==null&&(this[_0x12aea8(0x295)]=setTimeout(()=>{const _0x1f423b=_0x12aea8;this[_0x1f423b(0x295)]=null,!(!this['_selectionDragState']||!this[_0x1f423b(0x19c)])&&this[_0x1f423b(0x32d)](this[_0x1f423b(0x19c)]);},0x10));}[_0x2d1af3(0x284)](){const _0x6d144b=_0x2d1af3;this['_selectionAutoScrollTimer']!=null&&(clearTimeout(this[_0x6d144b(0x295)]),this[_0x6d144b(0x295)]=null);}[_0x2d1af3(0x395)](){const _0x37d158=_0x2d1af3;this[_0x37d158(0x387)][_0x37d158(0x34b)]();}[_0x2d1af3(0x3aa)](){const _0x367f20=_0x2d1af3;var _0x5b46dd,_0xc365b7;let _0x35137a=this['_selection'];if(!(_0x35137a!=null&&_0x35137a[_0x367f20(0x3a8)])||!Ro(_0x35137a)){var _0x12bc22,_0x4ed2bd;(_0x12bc22=this['_floatingMenuService'])==null||(_0x4ed2bd=_0x12bc22['hide'])==null||_0x4ed2bd[_0x367f20(0x3cd)](_0x12bc22),this[_0x367f20(0x171)]();return;}let _0x1d8d47=zo(_0x35137a)?this['_getStructuralFloatingMenuAnchorRect'](_0x35137a):this[_0x367f20(0x366)](_0x35137a),_0x4aaa83=this[_0x367f20(0x366)](_0x35137a);if(!_0x1d8d47||!_0x4aaa83){var _0x7b74a6,_0x3e99af;(_0x7b74a6=this['_floatingMenuService'])==null||(_0x3e99af=_0x7b74a6['hide'])==null||_0x3e99af[_0x367f20(0x3cd)](_0x7b74a6),this[_0x367f20(0x171)]();return;}let _0x3efce1=_0x35137a[_0x367f20(0x267)]===_0x4ffc7d[_0x367f20(0x2fe)]?_0x367f20(0x151):_0x35137a[_0x367f20(0x267)]===_0x4ffc7d[_0x367f20(0xc7)]?_0x367f20(0x2ca):null,_0x4dc37f=this[_0x367f20(0x2b9)](_0x35137a),_0x5c62d4=this[_0x367f20(0x152)](_0x35137a);(_0x5b46dd=this[_0x367f20(0x369)])==null||(_0xc365b7=_0x5b46dd['setState'])==null||_0xc365b7[_0x367f20(0x3cd)](_0x5b46dd,{'anchorRect':_0x1d8d47,'selection':{'endColumn':_0x35137a[_0x367f20(0x125)],'endRow':_0x35137a['endRow'],'startColumn':_0x35137a[_0x367f20(0x175)],'startRow':_0x35137a[_0x367f20(0x2d4)],'tableId':_0x35137a['tableId']},'mergeAction':this[_0x367f20(0x2e6)](_0x35137a),'selectionKind':_0x35137a[_0x367f20(0x267)],'selectionRect':_0x4aaa83,'showDeleteAction':_0x3efce1!=null,'tableId':_0x35137a[_0x367f20(0x3a8)],'topLeftCell':{'column':Math['min'](_0x35137a['startColumn'],_0x35137a[_0x367f20(0x125)]),'row':Math[_0x367f20(0x121)](_0x35137a[_0x367f20(0x2d4)],_0x35137a[_0x367f20(0x2db)])},'verticalAlign':_0x5c62d4,'typeIcon':_0x4dc37f[_0x367f20(0x359)],'typeValue':_0x4dc37f[_0x367f20(0x310)],'visible':!0x0,'deleteTarget':_0x3efce1}),this[_0x367f20(0x211)](_0x1d8d47);}[_0x2d1af3(0x290)](){const _0x31b99b=_0x2d1af3;var _0x195497,_0x113b99;let _0x245492=this[_0x31b99b(0x2ea)];if(!_0x245492)return;let _0x2ad48a=X(_0x245492[_0x31b99b(0x36f)]);(_0x195497=this[_0x31b99b(0xba)])==null||(_0x113b99=_0x195497[_0x31b99b(0x13c)])==null||_0x113b99[_0x31b99b(0x3cd)](_0x195497,{'pageIndex':_0x245492['pageIndex'],'rect':{'bottom':_0x2ad48a['y']+_0x2ad48a[_0x31b99b(0x26e)],'left':_0x2ad48a['x'],'right':_0x2ad48a['x']+_0x2ad48a[_0x31b99b(0x15e)],'top':_0x2ad48a['y']},'tableId':_0x245492[_0x31b99b(0x307)]});}[_0x2d1af3(0x104)](_0x5bece7){const _0x334ba3=_0x2d1af3;this[_0x334ba3(0x14c)](this[_0x334ba3(0x15d)],_0x5bece7)||(this[_0x334ba3(0x15d)]=_0x5bece7,this[_0x334ba3(0x23e)]());}['_setTooltip'](_0x37bd61){const _0x4940f9=_0x2d1af3;var _0x2883b4,_0x128ff5,_0x51371e;((_0x2883b4=this[_0x4940f9(0x19f)])==null?void 0x0:_0x2883b4[_0x4940f9(0x3a9)])===(_0x37bd61==null?void 0x0:_0x37bd61[_0x4940f9(0x3a9)])&&((_0x128ff5=this[_0x4940f9(0x19f)])==null?void 0x0:_0x128ff5['x'])===(_0x37bd61==null?void 0x0:_0x37bd61['x'])&&((_0x51371e=this[_0x4940f9(0x19f)])==null?void 0x0:_0x51371e['y'])===(_0x37bd61==null?void 0x0:_0x37bd61['y'])||(this[_0x4940f9(0x19f)]=_0x37bd61,this['_makeDirty']());}[_0x2d1af3(0x127)](){const _0x51d95a=_0x2d1af3;return this[_0x51d95a(0x3ba)]()?!0x0:!this[_0x51d95a(0x2ea)]||!this[_0x51d95a(0x19c)]?!0x1:this[_0x51d95a(0x3c8)](this['_lastPointerPoint']['x'],this[_0x51d95a(0x19c)]['y']);}['_isPointInActiveControlZone'](_0x42b040,_0x54b12e){const _0x2a3ff3=_0x2d1af3;return this[_0x2a3ff3(0x3c8)](_0x42b040,_0x54b12e);}['_isPointWithinStructuralControlZone'](_0x384bce,_0x42bacd){const _0x69758d=_0x2d1af3;var _0x5d8be1,_0x36355a;if(!this[_0x69758d(0x2ea)])return!0x1;let _0x51c9b2=this[_0x69758d(0x2ea)][_0x69758d(0x36f)],_0x2eb222=((_0x5d8be1=this[_0x69758d(0x13f)])==null||(_0x5d8be1=_0x5d8be1[_0x69758d(0x3b6)])==null||(_0x36355a=_0x5d8be1[_0x69758d(0x1f2)])==null?void 0x0:_0x36355a[_0x69758d(0x3cd)](_0x5d8be1)[_0x69758d(0x1f4)])||_0x51c9b2['zoom']||0x1,_0x3f338d=X(_0x51c9b2);return Q({'x':ko(_0x51c9b2)-0x10/_0x2eb222,'y':_0x3f338d['y']-0x10/_0x2eb222,'width':_0x3f338d[_0x69758d(0x15e)]+0x10/_0x2eb222,'height':_0x3f338d[_0x69758d(0x26e)]+0x10/_0x2eb222},_0x384bce,_0x42bacd);}[_0x2d1af3(0x381)](){const _0x261c3c=_0x2d1af3;let _0x4a834d=this[_0x261c3c(0x249)];return!!this['_activeTable']&&!!(_0x4a834d!=null&&_0x4a834d['tableId'])&&_0x4a834d[_0x261c3c(0x3a8)]===this[_0x261c3c(0x2ea)]['sourceTableId']&&(_0x4a834d[_0x261c3c(0x267)]===_0x4ffc7d[_0x261c3c(0x2fe)]||_0x4a834d['kind']===_0x4ffc7d[_0x261c3c(0xc7)]||_0x4a834d['kind']===_0x4ffc7d['Table']||Ro(_0x4a834d));}[_0x2d1af3(0x3ba)](){const _0x3e267e=_0x2d1af3;var _0x4a5f18,_0x50fd30;if(!this[_0x3e267e(0x2ea)])return!0x1;let _0xdf92af=(_0x4a5f18=this[_0x3e267e(0x369)])==null||(_0x50fd30=_0x4a5f18[_0x3e267e(0x18d)])==null?void 0x0:_0x50fd30[_0x3e267e(0x3cd)](_0x4a5f18);return(!!(_0xdf92af!=null&&_0xdf92af[_0x3e267e(0x1b6)])||!!(_0xdf92af!=null&&_0xdf92af[_0x3e267e(0x29c)]))&&!!_0xdf92af['tableId']&&_0xdf92af[_0x3e267e(0x3a8)]===this[_0x3e267e(0x2ea)]['sourceTableId'];}[_0x2d1af3(0x1cf)](){const _0x5b2e9f=_0x2d1af3;return this[_0x5b2e9f(0x381)]()||this['_shouldKeepActiveTableForControls']();}[_0x2d1af3(0x14c)](_0x5b820f,_0x1867f6){const _0x35272b=_0x2d1af3;return(_0x5b820f==null?void 0x0:_0x5b820f['kind'])===(_0x1867f6==null?void 0x0:_0x1867f6[_0x35272b(0x267)])&&(_0x5b820f==null?void 0x0:_0x5b820f[_0x35272b(0x3a8)])===(_0x1867f6==null?void 0x0:_0x1867f6[_0x35272b(0x3a8)])&&(_0x5b820f==null?void 0x0:_0x5b820f['row'])===(_0x1867f6==null?void 0x0:_0x1867f6[_0x35272b(0x151)])&&(_0x5b820f==null?void 0x0:_0x5b820f['column'])===(_0x1867f6==null?void 0x0:_0x1867f6[_0x35272b(0x2ca)]);}[_0x2d1af3(0x328)](_0xc5bbbf){const _0x11d135=_0x2d1af3;var _0x19df61,_0x98a5f;if(!this[_0x11d135(0x2ea)])return null;let {input:_0x3ff970}=this[_0x11d135(0x2ea)];if(_0xc5bbbf['kind']==='resize-column'){var _0x22487f,_0x213f6d;let _0x6f44a0=(_0x22487f=(_0x213f6d=_0x3ff970[_0x11d135(0x380)])==null?void 0x0:_0x213f6d[_0x11d135(0x372)](_0x39834c=>_0x39834c===_0xc5bbbf[_0x11d135(0x2ca)]))==null?_0xc5bbbf[_0x11d135(0x2ca)]:_0x22487f;return _0x6f44a0==null?null:_0x3ff970[_0x11d135(0xe4)][_0x6f44a0];}let _0x22afc3=(_0x19df61=(_0x98a5f=_0x3ff970[_0x11d135(0x335)])==null?void 0x0:_0x98a5f[_0x11d135(0x372)](_0x119056=>_0x119056===_0xc5bbbf[_0x11d135(0x151)]))==null?_0xc5bbbf[_0x11d135(0x151)]:_0x19df61;return _0x22afc3==null?null:_0x3ff970[_0x11d135(0x137)][_0x22afc3];}[_0x2d1af3(0x23c)](_0x18a881){const _0x3d8848=_0x2d1af3;var _0x45ec9e,_0x5e64f8,_0x1d8d89,_0x3c494c,_0x5e68e6,_0x10744c,_0x399c8b,_0x118a21;if(!this[_0x3d8848(0x2ea)])return;let {input:_0x5022ff}=this['_activeTable'];this[_0x3d8848(0x358)][_0x3d8848(0x197)]({'kind':_0x4ffc7d[_0x3d8848(0x1c7)],'segmentId':this[_0x3d8848(0x2ea)][_0x3d8848(0x2d7)],'tableId':_0x18a881,'startRow':(_0x45ec9e=(_0x5e64f8=_0x5022ff[_0x3d8848(0x335)])==null?void 0x0:_0x5e64f8[0x0])==null?0x0:_0x45ec9e,'endRow':(_0x1d8d89=(_0x3c494c=_0x5022ff[_0x3d8848(0x335)])==null?void 0x0:_0x3c494c[_0x5022ff[_0x3d8848(0x335)][_0x3d8848(0x164)]-0x1])==null?_0x5022ff[_0x3d8848(0x137)][_0x3d8848(0x164)]-0x1:_0x1d8d89,'startColumn':(_0x5e68e6=(_0x10744c=_0x5022ff[_0x3d8848(0x380)])==null?void 0x0:_0x10744c[0x0])==null?0x0:_0x5e68e6,'endColumn':(_0x399c8b=(_0x118a21=_0x5022ff[_0x3d8848(0x380)])==null?void 0x0:_0x118a21[_0x5022ff[_0x3d8848(0x380)][_0x3d8848(0x164)]-0x1])==null?_0x5022ff[_0x3d8848(0xe4)][_0x3d8848(0x164)]-0x1:_0x399c8b});}[_0x2d1af3(0x148)](_0x434a34,_0x376cd8){const _0x1e12ea=_0x2d1af3;var _0x144be8,_0x439b5e,_0x1bba92,_0xf9e3ad;if(!this[_0x1e12ea(0x2ea)])return;let {input:_0x589335}=this[_0x1e12ea(0x2ea)];this['_selectionService'][_0x1e12ea(0x197)]({'kind':_0x4ffc7d[_0x1e12ea(0x2fe)],'segmentId':this[_0x1e12ea(0x2ea)][_0x1e12ea(0x2d7)],'tableId':_0x434a34,'startRow':_0x376cd8,'endRow':_0x376cd8,'startColumn':(_0x144be8=(_0x439b5e=_0x589335['columnIndices'])==null?void 0x0:_0x439b5e[0x0])==null?0x0:_0x144be8,'endColumn':(_0x1bba92=(_0xf9e3ad=_0x589335[_0x1e12ea(0x380)])==null?void 0x0:_0xf9e3ad[_0x589335['columnIndices']['length']-0x1])==null?_0x589335[_0x1e12ea(0xe4)][_0x1e12ea(0x164)]-0x1:_0x1bba92});}[_0x2d1af3(0x312)](_0x289ccc,_0x227794){const _0x375874=_0x2d1af3;var _0xa6618d,_0x4e0fdc,_0x16e6e0,_0x38431d;if(!this[_0x375874(0x2ea)])return;let {input:_0x17837c}=this['_activeTable'];this['_selectionService']['setStructuralSelection']({'kind':_0x4ffc7d[_0x375874(0xc7)],'segmentId':this[_0x375874(0x2ea)][_0x375874(0x2d7)],'tableId':_0x289ccc,'startRow':(_0xa6618d=(_0x4e0fdc=_0x17837c[_0x375874(0x335)])==null?void 0x0:_0x4e0fdc[0x0])==null?0x0:_0xa6618d,'endRow':(_0x16e6e0=(_0x38431d=_0x17837c[_0x375874(0x335)])==null?void 0x0:_0x38431d[_0x17837c[_0x375874(0x335)][_0x375874(0x164)]-0x1])==null?_0x17837c[_0x375874(0x137)][_0x375874(0x164)]-0x1:_0x16e6e0,'startColumn':_0x227794,'endColumn':_0x227794});}['_setResizeCursor'](_0x1eefe4){const _0x581f4a=_0x2d1af3;this[_0x581f4a(0x287)](_0x1eefe4['kind']===_0x581f4a(0xe8)?_0x581f4a(0x3ad):'ns-resize');}[_0x2d1af3(0x374)](){const _0x91e216=_0x2d1af3;var _0x1f9b63,_0x468c87,_0x5c8340;return{...this[_0x91e216(0x142)](),'hoverCell':(_0x1f9b63=this[_0x91e216(0xe3)])==null?null:_0x1f9b63,'hoverColumn':(_0x468c87=this[_0x91e216(0x1bd)])==null?null:_0x468c87,'hoverRow':(_0x5c8340=this['_hoverRow'])==null?null:_0x5c8340,'zoom':this['_getCurrentZoom']()};}[_0x2d1af3(0x142)](){const _0xa90a68=_0x2d1af3;return{...this[_0xa90a68(0x2ea)][_0xa90a68(0x36f)],'zoom':this[_0xa90a68(0xc9)]()};}[_0x2d1af3(0xc9)](){const _0x3bd479=_0x2d1af3;return this['_context']['scene'][_0x3bd479(0x1f2)]()[_0x3bd479(0x1f4)]||0x1;}[_0x2d1af3(0x287)](_0x50d65c){const _0xd414cb=_0x2d1af3;this[_0xd414cb(0x334)]==null&&(this['_cursorBeforeTableInteraction']=this[_0xd414cb(0x13f)][_0xd414cb(0x3b6)]['getCursor']()),this['_context'][_0xd414cb(0x3b6)][_0xd414cb(0x331)](_0x50d65c);}[_0x2d1af3(0x2c3)](){const _0x17522c=_0x2d1af3;this[_0x17522c(0x334)]!=null&&(this['_context'][_0x17522c(0x3b6)][_0x17522c(0x331)](this[_0x17522c(0x334)]),this[_0x17522c(0x334)]=null);}[_0x2d1af3(0x2e9)](){const _0x21809e=_0x2d1af3;this[_0x21809e(0x334)]=null,this[_0x21809e(0x13f)][_0x21809e(0x3b6)][_0x21809e(0x144)]();}[_0x2d1af3(0x218)](_0x50be83,_0x51b3e6){const _0x4936b1=_0x2d1af3;return this[_0x4936b1(0x2ea)]?no(Pa(this[_0x4936b1(0x374)]()),_0x50be83,_0x51b3e6)||this[_0x4936b1(0x1d4)](_0x50be83,_0x51b3e6)||this[_0x4936b1(0x1dd)]&&Q(Vo(this[_0x4936b1(0x1dd)]),_0x50be83,_0x51b3e6)?!0x0:this[_0x4936b1(0x32e)]!=null&&Q(Ho(this['_sortPopover']),_0x50be83,_0x51b3e6):!0x1;}[_0x2d1af3(0x1d4)](_0x51626d,_0x240814){const _0x1ec7d7=_0x2d1af3;var _0x4b046f,_0x404e32;if(!this[_0x1ec7d7(0x2ea)])return!0x1;let _0x1d2eb7=(_0x4b046f=this[_0x1ec7d7(0x369)])==null||(_0x404e32=_0x4b046f[_0x1ec7d7(0x18d)])==null?void 0x0:_0x404e32[_0x1ec7d7(0x3cd)](_0x4b046f);if(!(_0x1d2eb7!=null&&_0x1d2eb7[_0x1ec7d7(0x1b6)])||!_0x1d2eb7[_0x1ec7d7(0x2fb)]||_0x1d2eb7['tableId']!==this['_activeTable']['sourceTableId'])return!0x1;let _0x229c9d=this['_getCurrentZoom'](),_0x3ef7c5=0x10/_0x229c9d,_0x73015=X(this[_0x1ec7d7(0x2ea)][_0x1ec7d7(0x36f)]),_0x5aed54=ko(this[_0x1ec7d7(0x2ea)][_0x1ec7d7(0x36f)]),_0x4aec80=Ao(this[_0x1ec7d7(0x2ea)]['input']),_0x2a0956=Math['min'](_0x1d2eb7['anchorRect'][_0x1ec7d7(0xea)],_0x5aed54)-_0x3ef7c5,_0x5ab4d4=Math[_0x1ec7d7(0x3c3)](_0x1d2eb7[_0x1ec7d7(0x2fb)][_0x1ec7d7(0x30b)],_0x4aec80)+_0x3ef7c5,_0xfe641e=Math[_0x1ec7d7(0x121)](_0x1d2eb7[_0x1ec7d7(0x2fb)][_0x1ec7d7(0xc3)],_0x73015['y']-0x10/_0x229c9d)-_0x3ef7c5,_0x153573=_0x73015['y'];return _0x51626d>=_0x2a0956&&_0x51626d<=_0x5ab4d4&&_0x240814>=_0xfe641e&&_0x240814<=_0x153573;}['_getTableDropTargetAtPoint'](_0x5bdb94,_0x2124b4){const _0x2d9b57=_0x2d1af3;return ca(Array[_0x2d9b57(0x1ed)](this[_0x2d9b57(0x3c9)][_0x2d9b57(0x344)]['values']())[_0x2d9b57(0x1c4)](_0x499f7c=>{const _0x11f48e=_0x2d9b57;var _0x5aaf49;return((_0x5aaf49=_0x499f7c[_0x11f48e(0x26d)])!=null&&_0x5aaf49[_0x11f48e(0x164)]?_0x499f7c[_0x11f48e(0x26d)]:[_0x499f7c[_0x11f48e(0x298)]])[_0x11f48e(0x3b5)](_0x278c33=>({'paragraphEnd':_0x499f7c[_0x11f48e(0x1ff)],'paragraphStart':_0x499f7c[_0x11f48e(0xaf)],'rect':_0x278c33}));}),{'x':_0x5bdb94,'y':_0x2124b4});}[_0x2d1af3(0x2a1)](_0x1649c3){const _0x59d82a=_0x2d1af3;var _0x35bae9,_0x12d14c;if(!this[_0x59d82a(0x2ea)])return;let _0x27ddfa=Pa(this[_0x59d82a(0x374)]());_0x1649c3[_0x59d82a(0x181)](),this[_0x59d82a(0xf3)](_0x1649c3);for(let _0x1c026b of _0x27ddfa)Ka(_0x1c026b['kind'])?this[_0x59d82a(0x1ca)](_0x1649c3,_0x1c026b):_0x1c026b[_0x59d82a(0x267)]===_0x59d82a(0x2bf)||_0x1c026b[_0x59d82a(0x267)]==='column-header'?this['_drawStructuralHeaderTrigger'](_0x1649c3,_0x1c026b):_0x1c026b[_0x59d82a(0x267)]===_0x59d82a(0x254)&&this[_0x59d82a(0x106)](_0x1649c3,_0x1c026b);this[_0x59d82a(0x29e)](_0x1649c3),this['_drawMovePreview'](_0x1649c3),this[_0x59d82a(0xd0)](_0x1649c3),this[_0x59d82a(0x9e)](_0x1649c3);let _0x4bfb83=(_0x35bae9=(_0x12d14c=this['_dragState'])==null?void 0x0:_0x12d14c[_0x59d82a(0x1ef)])==null?this[_0x59d82a(0x15d)]:_0x35bae9;((_0x4bfb83==null?void 0x0:_0x4bfb83[_0x59d82a(0x267)])===_0x59d82a(0xe8)||(_0x4bfb83==null?void 0x0:_0x4bfb83[_0x59d82a(0x267)])==='resize-row')&&this[_0x59d82a(0x116)](_0x1649c3,_0x4bfb83,this[_0x59d82a(0xa0)]?0.9:0x0),this[_0x59d82a(0x1a4)](_0x1649c3),_0x1649c3[_0x59d82a(0xf4)]();}[_0x2d1af3(0xf3)](_0x17f785){const _0x40dff5=_0x2d1af3;var _0x84a9e1;if(!this[_0x40dff5(0x2ea)])return;let _0x1d64a1=this[_0x40dff5(0x374)](),_0x3bc60f=0xa/((_0x84a9e1=_0x1d64a1[_0x40dff5(0x16f)])==null?0x1:_0x84a9e1),_0x3f61c8=X(_0x1d64a1),_0x260c97=ko(_0x1d64a1),_0x1c9d56=Ao(_0x1d64a1),_0x15c161=Y({'x':_0x260c97,'y':_0x1d64a1[_0x40dff5(0x1e8)]['y']-_0x3bc60f,'width':Math[_0x40dff5(0x3c3)](0x0,_0x1c9d56-_0x260c97),'height':_0x3bc60f},this[_0x40dff5(0x13f)][_0x40dff5(0x3b6)]),_0x439081=Y({'x':_0x260c97-_0x3bc60f,'y':_0x1d64a1[_0x40dff5(0x1e8)]['y'],'width':_0x3bc60f,'height':_0x3f61c8[_0x40dff5(0x26e)]},this[_0x40dff5(0x13f)]['scene']);_0x17f785[_0x40dff5(0x181)](),_0x17f785[_0x40dff5(0x2f7)]=_0x40dff5(0x31a),_0x17f785[_0x40dff5(0x129)](_0x15c161['x'],_0x15c161['y'],_0x15c161['width'],_0x15c161[_0x40dff5(0x26e)]),_0x17f785[_0x40dff5(0x129)](_0x439081['x'],_0x439081['y'],_0x439081[_0x40dff5(0x15e)],_0x439081[_0x40dff5(0x26e)]),_0x17f785[_0x40dff5(0xf4)]();}[_0x2d1af3(0xa8)](_0x27f0b9,_0x2d44a1){const _0x5b873e=_0x2d1af3;let _0x25aa73=Y(_0x2d44a1['rect'],this[_0x5b873e(0x13f)]['scene']),_0x28ce86=this[_0x5b873e(0x14c)](this[_0x5b873e(0x15d)],_0x2d44a1),_0x3aa2bc=this[_0x5b873e(0x119)](_0x2d44a1),_0x4fbd46=this['_isStructuralHeaderDeleteDangerActive'](_0x2d44a1);_0x27f0b9[_0x5b873e(0x181)](),_0x27f0b9['fillStyle']=_0x4fbd46?'rgba(217,\x2048,\x2037,\x200.16)':_0x3aa2bc?_0x5b873e(0xb4):_0x28ce86?_0x5b873e(0x159):_0x5b873e(0xff),_0x27f0b9[_0x5b873e(0x129)](_0x25aa73['x'],_0x25aa73['y'],_0x25aa73[_0x5b873e(0x15e)],_0x25aa73[_0x5b873e(0x26e)]),_0x27f0b9[_0x5b873e(0xf4)]();}[_0x2d1af3(0x29e)](_0x20f1f){const _0x27375f=_0x2d1af3;if(!this['_activeTable']||!this['_selection']||this['_selection'][_0x27375f(0x3a8)]!==this[_0x27375f(0x2ea)]['sourceTableId']||!ja(this[_0x27375f(0x249)],{'suppressOverlay':this[_0x27375f(0x113)]()}))return;let _0x4f2c04=this[_0x27375f(0x130)](this['_selection']);if(!_0x4f2c04)return;let _0x215d3f=this[_0x27375f(0x2d5)](_0x4f2c04);if(!_0x215d3f)return;let _0x5c659e=Y(_0x215d3f,this[_0x27375f(0x13f)]['scene']);_0x20f1f[_0x27375f(0x181)](),_0x20f1f[_0x27375f(0x2f7)]=uo,_0x20f1f[_0x27375f(0x221)]=0.12,_0x20f1f[_0x27375f(0x129)](_0x5c659e['x'],_0x5c659e['y'],_0x5c659e['width'],_0x5c659e['height']),_0x20f1f[_0x27375f(0x221)]=0x1,_0x20f1f[_0x27375f(0x16e)]=uo,_0x20f1f[_0x27375f(0x317)]=0x2,_0x20f1f[_0x27375f(0xec)](_0x5c659e['x'],_0x5c659e['y'],_0x5c659e[_0x27375f(0x15e)],_0x5c659e[_0x27375f(0x26e)]),_0x20f1f[_0x27375f(0xf4)]();}['_hasActivePointerInteraction'](){const _0x189e93=_0x2d1af3;return this['_dragState']!=null||this[_0x189e93(0x3a2)]!=null||this[_0x189e93(0xed)]!=null||this[_0x189e93(0xae)]!=null;}[_0x2d1af3(0x16b)](_0x153d98){const _0x1c84cf=_0x2d1af3;if(this[_0x1c84cf(0x30f)]){let _0x2a0131=this[_0x1c84cf(0x30f)][_0x1c84cf(0x298)],_0x5aafbc=J(_0x2a0131['x'],_0x2a0131['y'],this[_0x1c84cf(0x13f)][_0x1c84cf(0x3b6)]),_0x59da15=J(_0x2a0131['x']+_0x2a0131[_0x1c84cf(0x15e)],_0x2a0131['y']+_0x2a0131['height'],this[_0x1c84cf(0x13f)][_0x1c84cf(0x3b6)]);_0x153d98[_0x1c84cf(0x181)](),_0x153d98['strokeStyle']=lo,_0x153d98[_0x1c84cf(0x317)]=0x2,_0x153d98[_0x1c84cf(0xcd)](),_0x153d98[_0x1c84cf(0x224)](_0x5aafbc['x'],_0x5aafbc['y']),_0x153d98[_0x1c84cf(0x24e)](_0x59da15['x'],_0x59da15['y']),_0x153d98['stroke'](),_0x153d98[_0x1c84cf(0xf4)]();return;}if(this[_0x1c84cf(0x390)]){let _0x3ad4bb=J(this[_0x1c84cf(0x390)]['x'],this[_0x1c84cf(0x390)]['y'],this[_0x1c84cf(0x13f)]['scene']),_0x225fc=J(this[_0x1c84cf(0x390)]['x']+this['_moveDropTarget'][_0x1c84cf(0x15e)],this[_0x1c84cf(0x390)]['y'],this[_0x1c84cf(0x13f)][_0x1c84cf(0x3b6)]);_0x153d98[_0x1c84cf(0x181)](),_0x153d98[_0x1c84cf(0x16e)]=lo,_0x153d98[_0x1c84cf(0x317)]=0x2,_0x153d98[_0x1c84cf(0xcd)](),_0x153d98['moveTo'](_0x3ad4bb['x'],_0x3ad4bb['y']),_0x153d98[_0x1c84cf(0x24e)](_0x225fc['x'],_0x225fc['y']),_0x153d98[_0x1c84cf(0x1a1)](),_0x153d98[_0x1c84cf(0x2f7)]=lo,_0x153d98[_0x1c84cf(0xcd)](),_0x153d98[_0x1c84cf(0x232)](_0x3ad4bb['x'],_0x3ad4bb['y'],0x3,0x0,Math['PI']*0x2),_0x153d98[_0x1c84cf(0x2dc)](),_0x153d98[_0x1c84cf(0xcd)](),_0x153d98[_0x1c84cf(0x232)](_0x225fc['x'],_0x225fc['y'],0x3,0x0,Math['PI']*0x2),_0x153d98[_0x1c84cf(0x2dc)](),_0x153d98[_0x1c84cf(0xf4)]();return;}if(!this[_0x1c84cf(0x2fa)])return;let _0x1eced5=Y(this['_moveDragPreview'][_0x1c84cf(0x298)],this['_context']['scene']);_0x153d98[_0x1c84cf(0x181)](),_0x153d98[_0x1c84cf(0x2f7)]=uo,_0x153d98[_0x1c84cf(0x221)]=0.08,_0x153d98[_0x1c84cf(0x129)](_0x1eced5['x'],_0x1eced5['y'],_0x1eced5[_0x1c84cf(0x15e)],_0x1eced5[_0x1c84cf(0x26e)]),_0x153d98[_0x1c84cf(0x221)]=0x1,_0x153d98[_0x1c84cf(0x16e)]=uo,_0x153d98[_0x1c84cf(0x317)]=0x2,_0x153d98[_0x1c84cf(0x3a6)]([0x6,0x4]),_0x153d98[_0x1c84cf(0xec)](_0x1eced5['x'],_0x1eced5['y'],_0x1eced5['width'],_0x1eced5[_0x1c84cf(0x26e)]),_0x153d98[_0x1c84cf(0xf4)]();}['_drawSortPopover'](_0x20c0a7){const _0x4eff9f=_0x2d1af3;if(!this[_0x4eff9f(0x32e)])return;let _0x42e17f=Uo(),_0x4bed64=Y(Ho(this[_0x4eff9f(0x32e)]),this[_0x4eff9f(0x13f)]['scene']),_0x21c3bb=_0x4bed64[_0x4eff9f(0x26e)]/_0x42e17f[_0x4eff9f(0x164)];_0x20c0a7['save'](),_0x20c0a7[_0x4eff9f(0x2f7)]=_0x4eff9f(0x294),_0x20c0a7[_0x4eff9f(0x16e)]=po,_0x20c0a7['lineWidth']=0x1,_0x20c0a7[_0x4eff9f(0x261)]='rgba(60,\x2064,\x2067,\x200.18)',_0x20c0a7[_0x4eff9f(0x1af)]=0xc,No(_0x20c0a7,_0x4bed64['x'],_0x4bed64['y'],_0x4bed64[_0x4eff9f(0x15e)],_0x4bed64[_0x4eff9f(0x26e)],0x8),_0x20c0a7[_0x4eff9f(0x2dc)](),_0x20c0a7[_0x4eff9f(0x1af)]=0x0,_0x20c0a7[_0x4eff9f(0x1a1)](),_0x20c0a7['font']='12px\x20Arial,\x20sans-serif',_0x20c0a7['fillStyle']=mo,_0x42e17f['forEach']((_0x10c449,_0x59b007)=>{const _0x12c7b0=_0x4eff9f;let _0x10a104=_0x4bed64['y']+_0x59b007*_0x21c3bb;this[_0x12c7b0(0xa9)](_0x20c0a7,_0x10c449[_0x12c7b0(0x100)],_0x4bed64['x']+0xc,_0x10a104+_0x21c3bb/0x2-0x7),_0x20c0a7['fillText'](this[_0x12c7b0(0x392)]['t'](_0x10c449['labelKey']),_0x4bed64['x']+0x24,_0x10a104+_0x21c3bb/0x2+0x4);}),_0x20c0a7[_0x4eff9f(0xf4)]();}[_0x2d1af3(0xa9)](_0x3aa93d,_0x29e21c,_0x176178,_0x1b57a9){const _0x879389=_0x2d1af3;_0x3aa93d[_0x879389(0x181)](),_0x3aa93d['strokeStyle']=mo,_0x3aa93d[_0x879389(0x317)]=1.5,_0x3aa93d['beginPath'](),_0x3aa93d['moveTo'](_0x176178+0x6,_0x1b57a9),_0x3aa93d[_0x879389(0x24e)](_0x176178+0x6,_0x1b57a9+0xe),_0x3aa93d['moveTo'](_0x176178+0x2,_0x29e21c===_0x879389(0x1be)?_0x1b57a9+0x4:_0x1b57a9+0xa),_0x3aa93d[_0x879389(0x24e)](_0x176178+0x6,_0x29e21c===_0x879389(0x1be)?_0x1b57a9:_0x1b57a9+0xe),_0x3aa93d[_0x879389(0x24e)](_0x176178+0xa,_0x29e21c==='asc'?_0x1b57a9+0x4:_0x1b57a9+0xa),_0x3aa93d['stroke'](),_0x3aa93d[_0x879389(0xf4)]();}[_0x2d1af3(0x1ca)](_0x16c210,_0x878fac){const _0x3f4756=_0x2d1af3;let _0x586c71=Y(_0x878fac[_0x3f4756(0x298)],this[_0x3f4756(0x13f)][_0x3f4756(0x3b6)]),_0x11b3f8=this[_0x3f4756(0x14c)](this['_hoveredTrigger'],_0x878fac),_0x307ba2=this['_getInsertTriggerDocumentCenter'](_0x878fac),_0x21b790=_0x307ba2?J(_0x307ba2['x'],_0x307ba2['y'],this[_0x3f4756(0x13f)]['scene']):{'x':_0x586c71['x']+_0x586c71[_0x3f4756(0x15e)]/0x2,'y':_0x586c71['y']+_0x586c71[_0x3f4756(0x26e)]/0x2},_0x460b2b=_0x11b3f8?0xc:0x4,_0x3ea0d0=_0x460b2b/0x2;_0x16c210[_0x3f4756(0x181)](),_0x11b3f8&&this[_0x3f4756(0xe7)](_0x16c210,_0x878fac),_0x16c210['fillStyle']=_0x11b3f8?'#fff':go,_0x16c210[_0x3f4756(0x16e)]=_0x11b3f8?uo:go,_0x16c210[_0x3f4756(0x317)]=_0x11b3f8?1.5:0x1,_0x16c210['beginPath'](),_0x16c210[_0x3f4756(0x232)](_0x21b790['x'],_0x21b790['y'],_0x3ea0d0,0x0,Math['PI']*0x2),_0x16c210['fill'](),_0x11b3f8&&_0x16c210[_0x3f4756(0x1a1)](),_0x11b3f8&&this[_0x3f4756(0x266)](_0x16c210,_0x21b790['x'],_0x21b790['y'],_0x460b2b),_0x16c210[_0x3f4756(0xf4)]();}['_drawInsertTriggerPlus'](_0x4e66e2,_0x213431,_0x219bab,_0x4a6ca5){const _0x5eed05=_0x2d1af3;let _0x120fe9=Math[_0x5eed05(0x288)](_0x213431),_0x24b694=Math[_0x5eed05(0x288)](_0x219bab),_0x161983=Math[_0x5eed05(0x3c3)](Math['floor'](_0x4a6ca5/0x3),0x3),_0x279590=Math['max'](Math[_0x5eed05(0x288)](_0x4a6ca5/0x6),0x2);_0x4e66e2[_0x5eed05(0x181)](),_0x4e66e2[_0x5eed05(0x2f7)]=uo,_0x4e66e2[_0x5eed05(0x129)](_0x120fe9-_0x161983,_0x24b694-Math[_0x5eed05(0xbc)](_0x279590/0x2),_0x161983*0x2,_0x279590),_0x4e66e2[_0x5eed05(0x129)](_0x120fe9-Math[_0x5eed05(0xbc)](_0x279590/0x2),_0x24b694-_0x161983,_0x279590,_0x161983*0x2),_0x4e66e2[_0x5eed05(0xf4)]();}[_0x2d1af3(0xe7)](_0x5e954f,_0x1c2c6e){const _0x34dbf4=_0x2d1af3;if(!this['_activeTable'])return;let {input:_0x270f2f}=this[_0x34dbf4(0x2ea)],_0x5ab7dc=Y(X(_0x270f2f),this[_0x34dbf4(0x13f)][_0x34dbf4(0x3b6)]),_0x490f04=J(ko(_0x270f2f),_0x270f2f['tableRect']['y'],this[_0x34dbf4(0x13f)]['scene'])['x'],_0x1cc55c=J(Ao(_0x270f2f),_0x270f2f[_0x34dbf4(0x1e8)]['y'],this[_0x34dbf4(0x13f)][_0x34dbf4(0x3b6)])['x'],_0x447ff4=this['_getInsertTriggerDocumentCenter'](_0x1c2c6e),_0x14a184=_0x447ff4?J(_0x447ff4['x'],_0x447ff4['y'],this[_0x34dbf4(0x13f)]['scene']):J(_0x1c2c6e[_0x34dbf4(0x298)]['x']+_0x1c2c6e[_0x34dbf4(0x298)][_0x34dbf4(0x15e)]/0x2,_0x1c2c6e['rect']['y']+_0x1c2c6e['rect'][_0x34dbf4(0x26e)]/0x2,this[_0x34dbf4(0x13f)][_0x34dbf4(0x3b6)]);if(_0x5e954f[_0x34dbf4(0x181)](),_0x5e954f[_0x34dbf4(0x16e)]=uo,_0x5e954f['lineWidth']=0x2,_0x5e954f['beginPath'](),_0x1c2c6e['kind']===_0x34dbf4(0x2a4)){let _0x2e5871=_0x14a184['y'];_0x5e954f[_0x34dbf4(0x224)](_0x490f04,_0x2e5871),_0x5e954f[_0x34dbf4(0x24e)](_0x1cc55c,_0x2e5871);}else{if(_0x1c2c6e['kind']===_0x34dbf4(0x17f)){let _0x275f40=_0x14a184['x'];_0x5e954f['moveTo'](_0x275f40,_0x5ab7dc['y']),_0x5e954f[_0x34dbf4(0x24e)](_0x275f40,_0x5ab7dc['y']+_0x5ab7dc[_0x34dbf4(0x26e)]);}}_0x5e954f[_0x34dbf4(0x1a1)](),_0x5e954f[_0x34dbf4(0xf4)]();}[_0x2d1af3(0x301)](_0x56d37e){const _0x1870b2=_0x2d1af3;if(!this[_0x1870b2(0x2ea)])return null;let {input:_0x5622ab}=this[_0x1870b2(0x2ea)];if(_0x56d37e[_0x1870b2(0x267)]==='column-insert-dot'&&_0x56d37e['column']!=null){let _0x47466c=Fo(_0x5622ab[_0x1870b2(0x380)],_0x56d37e['column']);return _0x47466c<0x0?null:{'x':Mo(_0x5622ab,Z(_0x5622ab[_0x1870b2(0xe4)][_0x1870b2(0x354)](0x0,_0x47466c+0x1))),'y':_0x56d37e[_0x1870b2(0x298)]['y']+_0x56d37e[_0x1870b2(0x298)][_0x1870b2(0x26e)]/0x2};}if(_0x56d37e['kind']==='row-insert-dot'&&_0x56d37e[_0x1870b2(0x151)]!=null){let _0x59376e=Fo(_0x5622ab[_0x1870b2(0x335)],_0x56d37e[_0x1870b2(0x151)]);return _0x59376e<0x0?null:{'x':_0x56d37e['rect']['x']+_0x56d37e[_0x1870b2(0x298)]['width']/0x2,'y':_0x5622ab['tableRect']['y']+Z(_0x5622ab[_0x1870b2(0x137)][_0x1870b2(0x354)](0x0,_0x59376e+0x1))};}return{'x':_0x56d37e[_0x1870b2(0x298)]['x']+_0x56d37e[_0x1870b2(0x298)][_0x1870b2(0x15e)]/0x2,'y':_0x56d37e[_0x1870b2(0x298)]['y']+_0x56d37e[_0x1870b2(0x298)][_0x1870b2(0x26e)]/0x2};}['_getInsertTriggerIconRect'](_0x4996a5,_0x574be9){const _0x40fa0b=_0x2d1af3;let _0x17b586=this[_0x40fa0b(0x301)](_0x4996a5),_0x49867d=Y(_0x4996a5[_0x40fa0b(0x298)],this[_0x40fa0b(0x13f)][_0x40fa0b(0x3b6)]);if(!_0x17b586)return _0x49867d;let _0x515c0a=J(_0x17b586['x'],_0x17b586['y'],this[_0x40fa0b(0x13f)][_0x40fa0b(0x3b6)]),_0x28bd60=_0x574be9==null?Math[_0x40fa0b(0x3c3)](_0x4996a5['rect'][_0x40fa0b(0x15e)],_0x4996a5['rect'][_0x40fa0b(0x26e)]):_0x574be9;if(_0x574be9!=null){if(_0x4996a5[_0x40fa0b(0x267)]===_0x40fa0b(0x17f))return{'x':_0x515c0a['x']-_0x28bd60/0x2,'y':_0x49867d['y'],'width':_0x28bd60,'height':_0x28bd60};if(_0x4996a5[_0x40fa0b(0x267)]===_0x40fa0b(0x2a4))return{'x':_0x49867d['x'],'y':_0x515c0a['y']-_0x28bd60/0x2,'width':_0x28bd60,'height':_0x28bd60};}return Y({'x':_0x17b586['x']-_0x28bd60/0x2,'y':_0x17b586['y']-_0x28bd60/0x2,'width':_0x28bd60,'height':_0x28bd60},this[_0x40fa0b(0x13f)]['scene']);}[_0x2d1af3(0x106)](_0x10d34f,_0x319705){const _0x438ab9=_0x2d1af3;let _0x49a3e4=Y(_0x319705[_0x438ab9(0x298)],this[_0x438ab9(0x13f)][_0x438ab9(0x3b6)]);_0x10d34f[_0x438ab9(0x181)](),_0x10d34f['fillStyle']='#fff',_0x10d34f[_0x438ab9(0x16e)]=po,_0x10d34f[_0x438ab9(0x317)]=0x1,No(_0x10d34f,_0x49a3e4['x'],_0x49a3e4['y'],_0x49a3e4[_0x438ab9(0x15e)],_0x49a3e4['height'],0x5),_0x10d34f['fill'](),_0x10d34f[_0x438ab9(0x1a1)](),this[_0x438ab9(0x20f)](_0x10d34f,_0x49a3e4),_0x10d34f['restore']();}['_isStructuralHeaderSelected'](_0x38fdf7){const _0x2c762b=_0x2d1af3;return!this[_0x2c762b(0x249)]||!_0x38fdf7[_0x2c762b(0x3a8)]||this[_0x2c762b(0x249)]['tableId']!==_0x38fdf7['tableId']?!0x1:_0x38fdf7[_0x2c762b(0x267)]===_0x2c762b(0x2bf)&&_0x38fdf7[_0x2c762b(0x151)]!=null?this['_selection'][_0x2c762b(0x267)]===_0x4ffc7d[_0x2c762b(0x2fe)]&&_0x38fdf7[_0x2c762b(0x151)]>=this[_0x2c762b(0x249)][_0x2c762b(0x2d4)]&&_0x38fdf7['row']<=this[_0x2c762b(0x249)][_0x2c762b(0x2db)]:_0x38fdf7[_0x2c762b(0x267)]===_0x2c762b(0x345)&&_0x38fdf7[_0x2c762b(0x2ca)]!=null?this[_0x2c762b(0x249)]['kind']===_0x4ffc7d['Column']&&_0x38fdf7['column']>=this['_selection']['startColumn']&&_0x38fdf7['column']<=this[_0x2c762b(0x249)][_0x2c762b(0x125)]:!0x1;}[_0x2d1af3(0x1da)](_0x5b5ad3){const _0x218fac=_0x2d1af3;var _0x279e4a,_0x1dbed5;return!!(!((_0x279e4a=this[_0x218fac(0x369)])==null||(_0x1dbed5=_0x279e4a['getState'])==null)&&_0x1dbed5[_0x218fac(0x3cd)](_0x279e4a)[_0x218fac(0x194)])&&this[_0x218fac(0x119)](_0x5b5ad3);}[_0x2d1af3(0x20f)](_0x3c616b,_0x5d45f9){const _0x160d24=_0x2d1af3;let _0x4f1ee4=4.6,_0x77b4f8=_0x5d45f9['x']+_0x5d45f9[_0x160d24(0x15e)]/0x2-0x5/0x2,_0xa4d1b9=_0x5d45f9['y']+_0x5d45f9[_0x160d24(0x26e)]/0x2-_0x4f1ee4;_0x3c616b[_0x160d24(0x181)](),_0x3c616b['fillStyle']=go;for(let _0xb4298f=0x0;_0xb4298f<0x2;_0xb4298f++)for(let _0x4a0e9f=0x0;_0x4a0e9f<0x3;_0x4a0e9f++)_0x3c616b[_0x160d24(0xcd)](),_0x3c616b[_0x160d24(0x232)](_0x77b4f8+_0xb4298f*0x5,_0xa4d1b9+_0x4a0e9f*_0x4f1ee4,1.1,0x0,Math['PI']*0x2),_0x3c616b[_0x160d24(0x2dc)]();_0x3c616b[_0x160d24(0xf4)]();}[_0x2d1af3(0x252)](_0x458d0a,_0x5a7396,_0x4f4fcc){const _0x5bb5f2=_0x2d1af3;this[_0x5bb5f2(0x14c)](this[_0x5bb5f2(0x15d)],_0x4f4fcc)&&(_0x458d0a[_0x5bb5f2(0x2f7)]=ho,No(_0x458d0a,_0x5a7396['x']-0x2,_0x5a7396['y']-0x2,_0x5a7396['width']+0x4,_0x5a7396['height']+0x4,0x5),_0x458d0a[_0x5bb5f2(0x2dc)]());}[_0x2d1af3(0x1a4)](_0x259630){const _0x1364b2=_0x2d1af3;let _0x7dcbb2=this['_getScrollbarGeometry']();_0x7dcbb2&&Oa(_0x259630,Do(_0x7dcbb2,this[_0x1364b2(0x13f)]['scene']));}[_0x2d1af3(0x116)](_0x586ad8,_0x4c0ff6,_0x1cb1c7){const _0x5152ef=_0x2d1af3;let _0x1c3349=this[_0x5152ef(0x11c)](_0x4c0ff6);if(!_0x1c3349)return;let _0x404d37=Y(_0x1c3349,this['_context'][_0x5152ef(0x3b6)]);_0x586ad8[_0x5152ef(0x181)](),_0x586ad8[_0x5152ef(0x2f7)]=lo,_0x586ad8[_0x5152ef(0x221)]=_0x1cb1c7,_0x586ad8['fillRect'](_0x404d37['x'],_0x404d37['y'],_0x404d37[_0x5152ef(0x15e)],_0x404d37[_0x5152ef(0x26e)]),_0x586ad8['restore']();}[_0x2d1af3(0xde)](_0x2e0f76){const _0x152462=_0x2d1af3;if(!this[_0x152462(0x1dd)])return;let _0x40b4ae=Wo(),_0x41d6b8=Y(Vo(this[_0x152462(0x1dd)]),this[_0x152462(0x13f)][_0x152462(0x3b6)]),_0x4ad625=_0x41d6b8[_0x152462(0x15e)]/0x5,_0x2d4343=_0x41d6b8[_0x152462(0x26e)]/0x2;_0x2e0f76[_0x152462(0x181)](),_0x2e0f76[_0x152462(0x2f7)]=_0x152462(0x294),_0x2e0f76[_0x152462(0x16e)]=po,_0x2e0f76[_0x152462(0x317)]=0x1,_0x2e0f76['shadowColor']=_0x152462(0x227),_0x2e0f76[_0x152462(0x1af)]=0xc,No(_0x2e0f76,_0x41d6b8['x'],_0x41d6b8['y'],_0x41d6b8[_0x152462(0x15e)],_0x41d6b8[_0x152462(0x26e)],0x8),_0x2e0f76[_0x152462(0x2dc)](),_0x2e0f76[_0x152462(0x1af)]=0x0,_0x2e0f76[_0x152462(0x1a1)](),_0x40b4ae[_0x152462(0x289)]((_0xd882fd,_0xc631d0)=>{const _0x1af344=_0x152462;let _0x1ef55a=_0xc631d0%0x5,_0x51561c=Math['floor'](_0xc631d0/0x5),_0x1a3462=_0x41d6b8['x']+_0x1ef55a*_0x4ad625,_0x150e69=_0x41d6b8['y']+_0x51561c*_0x2d4343;this[_0x1af344(0x1d3)](_0x2e0f76,_0xd882fd[_0x1af344(0x1e7)],_0xd882fd[_0x1af344(0x281)],_0x1a3462,_0x150e69,_0x4ad625,_0x2d4343);}),_0x2e0f76[_0x152462(0xf4)]();}[_0x2d1af3(0x1d3)](_0x33fd73,_0x112e6f,_0x5252ed,_0x4f41d7,_0x4b95b2,_0x124d28,_0x4e9a18){const _0x1f38bb=_0x2d1af3;let _0x5bd0f6=this['_lastPointerPoint']?this['_hitBorderPreset'](this[_0x1f38bb(0x19c)]['x'],this[_0x1f38bb(0x19c)]['y']):null,_0x363ebf=(_0x5bd0f6==null?void 0x0:_0x5bd0f6[_0x1f38bb(0x1e7)])===_0x112e6f,_0x43ccc9=_0x4f41d7+(_0x124d28-0x10)/0x2,_0x5d3bae=_0x43ccc9+0x10,_0x24463f=_0x4b95b2+(_0x4e9a18-0x10)/0x2,_0x45b2c9=_0x24463f+0x10,_0x269427=(_0x43ccc9+_0x5d3bae)/0x2,_0x5d3a1a=(_0x24463f+_0x45b2c9)/0x2;_0x33fd73[_0x1f38bb(0x181)](),_0x363ebf&&(_0x33fd73['fillStyle']=ho,No(_0x33fd73,_0x4f41d7+0x3,_0x4b95b2+0x3,_0x124d28-0x6,_0x4e9a18-0x6,0x6),_0x33fd73[_0x1f38bb(0x2dc)]()),_0x33fd73[_0x1f38bb(0x16e)]=_0x112e6f===_0x1f38bb(0x30e)?_0x1f38bb(0x24c):_0x1f38bb(0x253),_0x33fd73['lineWidth']=1.35,_0x33fd73[_0x1f38bb(0x25b)]='round',_0x33fd73[_0x1f38bb(0x217)]=_0x1f38bb(0x288),_0x33fd73[_0x1f38bb(0x3a6)](_0x5252ed===_0x1f38bb(0x276)?[0x2,0x3]:[]),_0x33fd73[_0x1f38bb(0xcd)](),(_0x5252ed===_0x1f38bb(0x27b)||_0x5252ed===_0x1f38bb(0x2c1)||_0x5252ed===_0x1f38bb(0x2a2))&&(_0x33fd73['moveTo'](_0x43ccc9,_0x24463f),_0x33fd73['lineTo'](_0x5d3bae,_0x24463f)),(_0x5252ed===_0x1f38bb(0x27b)||_0x5252ed===_0x1f38bb(0x2c1)||_0x5252ed===_0x1f38bb(0x3ca))&&(_0x33fd73[_0x1f38bb(0x224)](_0x43ccc9,_0x45b2c9),_0x33fd73['lineTo'](_0x5d3bae,_0x45b2c9)),(_0x5252ed==='AllBorderIcon'||_0x5252ed==='OuterBorderDoubleIcon'||_0x5252ed===_0x1f38bb(0x236))&&(_0x33fd73[_0x1f38bb(0x224)](_0x43ccc9,_0x24463f),_0x33fd73[_0x1f38bb(0x24e)](_0x43ccc9,_0x45b2c9)),(_0x5252ed==='AllBorderIcon'||_0x5252ed===_0x1f38bb(0x2c1)||_0x5252ed===_0x1f38bb(0x1ba))&&(_0x33fd73[_0x1f38bb(0x224)](_0x5d3bae,_0x24463f),_0x33fd73['lineTo'](_0x5d3bae,_0x45b2c9)),(_0x5252ed===_0x1f38bb(0x27b)||_0x5252ed===_0x1f38bb(0xa5)||_0x5252ed===_0x1f38bb(0x244))&&(_0x33fd73[_0x1f38bb(0x224)](_0x269427,_0x24463f),_0x33fd73[_0x1f38bb(0x24e)](_0x269427,_0x45b2c9)),(_0x5252ed===_0x1f38bb(0x27b)||_0x5252ed===_0x1f38bb(0xa5)||_0x5252ed===_0x1f38bb(0x2e0))&&(_0x33fd73['moveTo'](_0x43ccc9,_0x5d3a1a),_0x33fd73[_0x1f38bb(0x24e)](_0x5d3bae,_0x5d3a1a)),_0x5252ed===_0x1f38bb(0x276)&&_0x33fd73[_0x1f38bb(0x298)](_0x43ccc9,_0x24463f,_0x5d3bae-_0x43ccc9,_0x45b2c9-_0x24463f),_0x33fd73[_0x1f38bb(0x1a1)](),_0x33fd73[_0x1f38bb(0xf4)]();}[_0x2d1af3(0x9e)](_0xbe784e){const _0x1ae168=_0x2d1af3;if(!this[_0x1ae168(0x19f)])return;let _0x3d3790=this[_0x1ae168(0x19f)][_0x1ae168(0x3a9)],_0x40cfa2=J(this[_0x1ae168(0x19f)]['x'],this['_tooltip']['y'],this[_0x1ae168(0x13f)][_0x1ae168(0x3b6)]);_0xbe784e[_0x1ae168(0x181)](),_0xbe784e[_0x1ae168(0x30a)]=_0x1ae168(0x187);let _0x2e42c4=_0xbe784e[_0x1ae168(0x323)](_0x3d3790)[_0x1ae168(0x15e)]+0x10,_0x550de2=_0x40cfa2['x']-_0x2e42c4/0x2,_0x25db4e=_0x40cfa2['y']-0x1c-0xc;_0xbe784e['fillStyle']=_0x1ae168(0x386),No(_0xbe784e,_0x550de2,_0x25db4e,_0x2e42c4,0x1c,0x6),_0xbe784e[_0x1ae168(0x2dc)](),_0xbe784e['fillStyle']='#fff',_0xbe784e[_0x1ae168(0x2f4)](_0x3d3790,_0x550de2+0x8,_0x25db4e+0x12),_0xbe784e[_0x1ae168(0xf4)]();}['_getCellAtPoint'](_0x35bcc0,_0x2b0f46){const _0x11882b=_0x2d1af3;var _0x26b1ce,_0x2b8ad9,_0x40810a,_0x16a6b4,_0x2473ca,_0x175295,_0x513412;if(!this[_0x11882b(0x2ea)]||!Q(X(this['_activeTable']['input']),_0x35bcc0,_0x2b0f46))return null;let {input:_0x555d44,segmentId:_0x2a8192,sourceTableId:_0x4445e6}=this[_0x11882b(0x2ea)],_0xe2afb6=Io(_0x555d44['rowHeights'],_0x2b0f46-_0x555d44['tableRect']['y']),_0x23c8f3=jo(_0x555d44,_0x35bcc0);if(_0x23c8f3==null)return null;let _0x2be1ed=Io(_0x555d44[_0x11882b(0xe4)],_0x23c8f3);if(_0xe2afb6<0x0||_0x2be1ed<0x0)return null;let _0x4372be=(_0x26b1ce=(_0x2b8ad9=_0x555d44[_0x11882b(0x335)])==null?void 0x0:_0x2b8ad9[_0xe2afb6])==null?_0xe2afb6:_0x26b1ce,_0x2f2deb=(_0x40810a=(_0x16a6b4=_0x555d44[_0x11882b(0x380)])==null?void 0x0:_0x16a6b4[_0x2be1ed])==null?_0x2be1ed:_0x40810a,_0x3c7943=(_0x2473ca=_0x555d44[_0x11882b(0x22d)])==null?void 0x0:_0x2473ca[_0x11882b(0x299)](_0x3c0af5=>_0x4372be>=_0x3c0af5[_0x11882b(0x2d4)]&&_0x4372be<=_0x3c0af5[_0x11882b(0x2db)]&&_0x2f2deb>=_0x3c0af5[_0x11882b(0x175)]&&_0x2f2deb<=_0x3c0af5[_0x11882b(0x125)]);return{'column':(_0x175295=_0x3c7943==null?void 0x0:_0x3c7943[_0x11882b(0x175)])==null?_0x2f2deb:_0x175295,'row':(_0x513412=_0x3c7943==null?void 0x0:_0x3c7943[_0x11882b(0x2d4)])==null?_0x4372be:_0x513412,..._0x2a8192?{'segmentId':_0x2a8192}:{},'tableId':_0x4445e6};}[_0x2d1af3(0x23f)](_0x856a1,_0x479de5){const _0x9e397d=_0x2d1af3;var _0x538c04,_0x4a8cc8,_0x359a98,_0x292c46;if(!this[_0x9e397d(0x2ea)]){this[_0x9e397d(0xe3)]=null,this[_0x9e397d(0x1bd)]=null,this[_0x9e397d(0x1f1)]=null;return;}let _0x63aa82=this[_0x9e397d(0x374)](),_0x2b3905=this[_0x9e397d(0x1cb)](_0x856a1,_0x479de5),_0x9937d4=X(_0x63aa82),_0x34003d=ko(_0x63aa82),_0x3e6b38={'x':_0x34003d,'y':_0x63aa82[_0x9e397d(0x1e8)]['y']-0x10/((_0x538c04=_0x63aa82[_0x9e397d(0x16f)])==null?0x1:_0x538c04),'width':_0x9937d4[_0x9e397d(0x15e)],'height':0x10/((_0x4a8cc8=_0x63aa82['zoom'])==null?0x1:_0x4a8cc8)},_0x41fd8f={'x':_0x34003d-0x10/((_0x359a98=_0x63aa82['zoom'])==null?0x1:_0x359a98),'y':_0x63aa82[_0x9e397d(0x1e8)]['y'],'width':0x10/((_0x292c46=_0x63aa82[_0x9e397d(0x16f)])==null?0x1:_0x292c46),'height':_0x9937d4[_0x9e397d(0x26e)]};this[_0x9e397d(0xe3)]=_0x2b3905?{'row':_0x2b3905[_0x9e397d(0x151)],'column':_0x2b3905[_0x9e397d(0x2ca)]}:null,this[_0x9e397d(0x1bd)]=Q(_0x3e6b38,_0x856a1,_0x479de5)?this[_0x9e397d(0x200)](_0x856a1):null,this[_0x9e397d(0x1f1)]=Q(_0x41fd8f,_0x856a1,_0x479de5)?this[_0x9e397d(0x367)](_0x479de5):null,!_0x2b3905&&!this[_0x9e397d(0x1bd)]&&!this[_0x9e397d(0x1f1)]&&!this[_0x9e397d(0x1dd)]&&(this[_0x9e397d(0x15d)]=null);}[_0x2d1af3(0x200)](_0x55d16b){const _0x1ed040=_0x2d1af3;var _0x511f86,_0x3e1915;if(!this[_0x1ed040(0x2ea)])return null;let {input:_0x3abe3e}=this[_0x1ed040(0x2ea)],_0x5bf20e=X(_0x3abe3e);if(_0x55d16b<_0x5bf20e['x']||_0x55d16b>_0x5bf20e['x']+_0x5bf20e['width'])return null;let _0x2695fb=jo(_0x3abe3e,_0x55d16b);if(_0x2695fb==null)return null;let _0x30c99e=Io(_0x3abe3e['columnWidths'],_0x2695fb);return(_0x511f86=(_0x3e1915=_0x3abe3e[_0x1ed040(0x380)])==null?void 0x0:_0x3e1915[_0x30c99e])==null?_0x30c99e:_0x511f86;}[_0x2d1af3(0x321)](_0x1966a6){const _0x477b57=_0x2d1af3;let _0x2291e8=_0x1966a6[_0x477b57(0xee)]===_0x477b57(0x151)?_0x1966a6[_0x477b57(0x151)]:_0x1966a6[_0x477b57(0x2ca)];return _0x2291e8==null?null:{'sourceIndex':_0x2291e8,'startX':_0x1966a6[_0x477b57(0x1c6)],'startY':_0x1966a6['startY'],'tableId':_0x1966a6[_0x477b57(0x3a8)],'type':_0x1966a6['type']};}[_0x2d1af3(0x109)](_0x110387){const _0x157409=_0x2d1af3;let _0x16967f=this['_rowColumnMoveState'];return!_0x16967f||!this[_0x157409(0x2ea)]||this[_0x157409(0x2ea)][_0x157409(0x307)]!==_0x16967f[_0x157409(0x3a8)]?null:_0x16967f['type']===_0x157409(0x151)?this[_0x157409(0x355)](_0x110387['y']):this['_getColumnMoveTargetAtX'](_0x110387['x']);}[_0x2d1af3(0x355)](_0x3c992b){const _0x4bf09e=_0x2d1af3;var _0x4ff2d1,_0x54e7dd;if(!this['_activeTable'])return null;let {input:_0xf6bc4d}=this['_activeTable'];if(_0x3c992b<_0xf6bc4d['tableRect']['y']||_0x3c992b>_0xf6bc4d[_0x4bf09e(0x1e8)]['y']+_0xf6bc4d['tableRect']['height'])return null;let _0x4a752f=Io(_0xf6bc4d[_0x4bf09e(0x137)],_0x3c992b-_0xf6bc4d[_0x4bf09e(0x1e8)]['y']);if(_0x4a752f<0x0)return null;let _0x56fb42=_0xf6bc4d['tableRect']['y']+Z(_0xf6bc4d['rowHeights'][_0x4bf09e(0x354)](0x0,_0x4a752f)),_0xba953b=_0xf6bc4d[_0x4bf09e(0x137)][_0x4a752f],_0x2d2e53=_0x3c992b<_0x56fb42+_0xba953b/0x2?'above':_0x4bf09e(0x36a),_0x44a2f3=_0x2d2e53===_0x4bf09e(0x17a)?_0x56fb42:_0x56fb42+_0xba953b,_0x12c9a9=X(_0xf6bc4d);return{'index':(_0x4ff2d1=(_0x54e7dd=_0xf6bc4d[_0x4bf09e(0x335)])==null?void 0x0:_0x54e7dd[_0x4a752f])==null?_0x4a752f:_0x4ff2d1,'position':_0x2d2e53,'rect':{'x':_0x12c9a9['x'],'y':_0x44a2f3,'width':_0x12c9a9[_0x4bf09e(0x15e)],'height':0x0}};}[_0x2d1af3(0x186)](_0x23f1d5){const _0xadaeb3=_0x2d1af3;var _0x3ebf12,_0x15c1ba;if(!this[_0xadaeb3(0x2ea)])return null;let {input:_0x9e5add}=this[_0xadaeb3(0x2ea)],_0x4f9533=X(_0x9e5add);if(_0x23f1d5<_0x4f9533['x']||_0x23f1d5>_0x4f9533['x']+_0x4f9533[_0xadaeb3(0x15e)])return null;let _0x347566=jo(_0x9e5add,_0x23f1d5);if(_0x347566==null)return null;let _0xbd8c26=Io(_0x9e5add[_0xadaeb3(0xe4)],_0x347566);if(_0xbd8c26<0x0)return null;let _0x240c49=Mo(_0x9e5add,Z(_0x9e5add[_0xadaeb3(0xe4)][_0xadaeb3(0x354)](0x0,_0xbd8c26))),_0x2663ab=_0x9e5add[_0xadaeb3(0xe4)][_0xbd8c26],_0x1bb1d8=_0x23f1d5<_0x240c49+_0x2663ab/0x2?'left':'right',_0x245a9e=_0x1bb1d8===_0xadaeb3(0xea)?_0x240c49:_0x240c49+_0x2663ab;return{'index':(_0x3ebf12=(_0x15c1ba=_0x9e5add[_0xadaeb3(0x380)])==null?void 0x0:_0x15c1ba[_0xbd8c26])==null?_0xbd8c26:_0x3ebf12,'position':_0x1bb1d8,'rect':{'x':_0x245a9e,'y':_0x9e5add['tableRect']['y'],'width':0x0,'height':_0x9e5add['tableRect'][_0xadaeb3(0x26e)]}};}[_0x2d1af3(0x367)](_0x126640){const _0x3572b1=_0x2d1af3;var _0x31c166,_0xeb897f;if(!this[_0x3572b1(0x2ea)])return null;let {input:_0x3129ba}=this['_activeTable'];if(_0x126640<_0x3129ba[_0x3572b1(0x1e8)]['y']||_0x126640>_0x3129ba[_0x3572b1(0x1e8)]['y']+_0x3129ba[_0x3572b1(0x1e8)][_0x3572b1(0x26e)])return null;let _0x26adcf=Io(_0x3129ba[_0x3572b1(0x137)],_0x126640-_0x3129ba[_0x3572b1(0x1e8)]['y']);return(_0x31c166=(_0xeb897f=_0x3129ba[_0x3572b1(0x335)])==null?void 0x0:_0xeb897f[_0x26adcf])==null?_0x26adcf:_0x31c166;}['_hitBorderPreset'](_0x266727,_0x4c5a47){const _0x2e3585=_0x2d1af3;if(!this['_borderPopover'])return null;let _0x59b32d=Vo(this[_0x2e3585(0x1dd)]);if(!Q(_0x59b32d,_0x266727,_0x4c5a47))return null;let _0x370819=Math[_0x2e3585(0xbc)]((_0x266727-_0x59b32d['x'])/(_0x59b32d[_0x2e3585(0x15e)]/0x5)),_0xbf9343=Math[_0x2e3585(0xbc)]((_0x4c5a47-_0x59b32d['y'])/(_0x59b32d[_0x2e3585(0x26e)]/0x2)),_0x5042f2=Wo()[_0xbf9343*0x5+_0x370819];return _0x5042f2?{'preset':_0x5042f2[_0x2e3585(0x1e7)]}:null;}[_0x2d1af3(0x3b9)](_0x138b20,_0x39cfdd){const _0x2cb132=_0x2d1af3;if(!this[_0x2cb132(0x32e)])return null;let _0x1e22a9=Ho(this[_0x2cb132(0x32e)]);if(!Q(_0x1e22a9,_0x138b20,_0x39cfdd))return null;let _0x48c88e=Uo(),_0x50e806=_0x48c88e[Math[_0x2cb132(0xbc)]((_0x39cfdd-_0x1e22a9['y'])/(_0x1e22a9['height']/_0x48c88e['length']))];return _0x50e806?{'direction':_0x50e806[_0x2cb132(0x100)]}:null;}['_buildTriggerTooltip'](_0x48b19a){const _0x573115=_0x2d1af3;if(!_0x48b19a)return null;let _0x156e3c=Go(_0x48b19a[_0x573115(0x267)]);return _0x156e3c?{'label':this[_0x573115(0x392)]['t'](_0x156e3c),'x':_0x48b19a[_0x573115(0x298)]['x']+_0x48b19a[_0x573115(0x298)]['width']/0x2,'y':_0x48b19a[_0x573115(0x298)]['y']}:null;}[_0x2d1af3(0x20d)](_0x405e52){let _0x54a2ac=Ko(_0x405e52);return this['_localeService']['t'](_0x54a2ac);}[_0x2d1af3(0x2e6)](_0x220572){const _0x1032a6=_0x2d1af3;let _0x352880=this[_0x1032a6(0x13f)][_0x1032a6(0x240)][_0x1032a6(0x263)]();return _0x9560c0(_0x352880,_0x220572[_0x1032a6(0x3a8)],_0x220572)?'unmerge':_0x3f286e(_0x352880,_0x220572[_0x1032a6(0x3a8)],_0x220572)?_0x1032a6(0x13d):null;}['_resolveFloatingMenuTextStyle'](_0x7a0a50){const _0x2fd007=_0x2d1af3;return ai(this[_0x2fd007(0x13f)]['unit'][_0x2fd007(0x263)](),_0x7a0a50);}['_resolveFloatingMenuVerticalAlign'](_0x2f6b86){const _0x30afe9=_0x2d1af3;var _0x557f3a,_0x5bf434;let _0x58eab0=this[_0x30afe9(0x13f)][_0x30afe9(0x240)][_0x30afe9(0x263)](),_0x32abf1=Math['min'](_0x2f6b86[_0x30afe9(0x2d4)],_0x2f6b86['endRow']),_0x5ab3a1=Math[_0x30afe9(0x121)](_0x2f6b86[_0x30afe9(0x175)],_0x2f6b86[_0x30afe9(0x125)]);return(_0x557f3a=(_0x5bf434=_0x58eab0[_0x30afe9(0x365)])==null||(_0x5bf434=_0x5bf434[_0x2f6b86[_0x30afe9(0x3a8)]])==null||(_0x5bf434=_0x5bf434[_0x30afe9(0x3a1)])==null||(_0x5bf434=_0x5bf434[_0x32abf1])==null||(_0x5bf434=_0x5bf434[_0x30afe9(0x1aa)])==null||(_0x5bf434=_0x5bf434[_0x5ab3a1])==null?void 0x0:_0x5bf434['vAlign'])==null?_0x5ee1a7[_0x30afe9(0x1f7)]:_0x557f3a;}[_0x2d1af3(0x366)](_0x59c7a6){const _0x224ebe=_0x2d1af3;let _0x5a4483=this[_0x224ebe(0x130)](_0x59c7a6),_0x30243a=_0x5a4483?this[_0x224ebe(0x2d5)](_0x5a4483):null;if(!_0x30243a)return null;let _0x1312cf=this['_getFloatingMenuExtraTopGap']();return{'bottom':_0x30243a['y']+_0x30243a['height']-_0x1312cf,'left':_0x30243a['x'],'right':_0x30243a['x']+_0x30243a['width'],'top':_0x30243a['y']-_0x1312cf};}[_0x2d1af3(0x396)](_0x5dccec){const _0x8b3e65=_0x2d1af3;let _0x5110d8=this['_getFloatingMenuAnchorRect'](_0x5dccec);if(!_0x5110d8)return null;let _0x436473=this['_getViewportTableRect']()['y']-this[_0x8b3e65(0x3a4)]();return{'bottom':_0x436473,'left':_0x5110d8[_0x8b3e65(0xea)],'right':_0x5110d8['right'],'top':_0x436473};}[_0x2d1af3(0x3a4)](){const _0x2fc184=_0x2d1af3;return 0x14/this[_0x2fc184(0xc9)]();}[_0x2d1af3(0x130)](_0x36d3d2){const _0x5797f0=_0x2d1af3;if(!this[_0x5797f0(0x2ea)])return null;let {input:_0x24885a}=this[_0x5797f0(0x2ea)],_0x3ca37c=Fo(_0x24885a[_0x5797f0(0x335)],_0x36d3d2['startRow']),_0x249280=Fo(_0x24885a[_0x5797f0(0x335)],_0x36d3d2[_0x5797f0(0x2db)]),_0x1f37fc=Fo(_0x24885a[_0x5797f0(0x380)],_0x36d3d2[_0x5797f0(0x175)]),_0x2331fc=Fo(_0x24885a['columnIndices'],_0x36d3d2['endColumn']);if(_0x3ca37c<0x0||_0x249280<0x0||_0x1f37fc<0x0||_0x2331fc<0x0)return null;let _0x16af9b=Math[_0x5797f0(0x121)](_0x1f37fc,_0x2331fc),_0x4efb4f=Math['max'](_0x1f37fc,_0x2331fc),_0x2a4ad4=Math[_0x5797f0(0x121)](_0x3ca37c,_0x249280),_0x3bf0e0=Math[_0x5797f0(0x3c3)](_0x3ca37c,_0x249280);return{'x':Mo(_0x24885a,Z(_0x24885a[_0x5797f0(0xe4)][_0x5797f0(0x354)](0x0,_0x16af9b))),'y':_0x24885a['tableRect']['y']+Z(_0x24885a[_0x5797f0(0x137)][_0x5797f0(0x354)](0x0,_0x2a4ad4)),'width':Z(_0x24885a[_0x5797f0(0xe4)][_0x5797f0(0x354)](_0x16af9b,_0x4efb4f+0x1)),'height':Z(_0x24885a[_0x5797f0(0x137)]['slice'](_0x2a4ad4,_0x3bf0e0+0x1))};}[_0x2d1af3(0x11c)](_0x50665b){const _0x195b86=_0x2d1af3;var _0x518fca;return this[_0x195b86(0x2ea)]?ya(this[_0x195b86(0x2ea)]['input'],_0x50665b,(_0x518fca=this[_0x195b86(0x2df)])==null?null:_0x518fca):null;}[_0x2d1af3(0x2d5)](_0x3fd0a8){const _0x6bed97=_0x2d1af3;if(!this[_0x6bed97(0x2ea)])return null;let _0x9d5695=this[_0x6bed97(0x34d)](),_0x2485b2=Math[_0x6bed97(0x3c3)](_0x3fd0a8['x'],_0x9d5695['x']),_0x512ba8=Math[_0x6bed97(0x121)](_0x3fd0a8['x']+_0x3fd0a8['width'],_0x9d5695['x']+_0x9d5695[_0x6bed97(0x15e)]),_0x11af1d=Math[_0x6bed97(0x3c3)](_0x3fd0a8['y'],_0x9d5695['y']),_0x2270fc=Math[_0x6bed97(0x121)](_0x3fd0a8['y']+_0x3fd0a8[_0x6bed97(0x26e)],_0x9d5695['y']+_0x9d5695[_0x6bed97(0x26e)]);return _0x512ba8<=_0x2485b2||_0x2270fc<=_0x11af1d?null:{'height':_0x2270fc-_0x11af1d,'width':_0x512ba8-_0x2485b2,'x':_0x2485b2,'y':_0x11af1d};}[_0x2d1af3(0x34d)](){const _0x78d603=_0x2d1af3;return X(this[_0x78d603(0x2ea)][_0x78d603(0x36f)]);}[_0x2d1af3(0x3c1)](_0x4293e0,_0x387076,_0x517d38,_0x54cb31,_0x5cd7b){const _0x12283e=_0x2d1af3;let _0x47663d=_0x54cb31||_0x4293e0[_0x12283e(0x298)][_0x12283e(0x30b)]-_0x4293e0[_0x12283e(0x298)][_0x12283e(0xea)],_0x143452=Number[_0x12283e(0x190)](_0x387076['pageWidth'])?Math['max'](0x0,_0x387076[_0x12283e(0x1dc)]-_0x387076['marginLeft']-_0x387076[_0x12283e(0x156)]):_0x47663d,_0x21f869=Number[_0x12283e(0x190)](_0x387076[_0x12283e(0x1dc)])?Math[_0x12283e(0x3c3)](0x0,_0x143452-_0x517d38[_0x12283e(0xea)]):_0x47663d,_0xdf52b0=Math[_0x12283e(0x121)](_0x47663d,_0x21f869||_0x47663d);if(this[_0x12283e(0x143)]()!==_0x231abb['MODERN']||!Number[_0x12283e(0x190)](_0x387076[_0x12283e(0x1dc)])||_0x387076['type']===_0x26ac89[_0x12283e(0x384)])return{'contentWidth':_0x54cb31,'leadingInsetLeft':0x0,'overflowWidthThreshold':_0x143452||_0x47663d,'trailingInsetRight':0x0,'viewportLeft':_0x4293e0['rect']['left'],'viewportWidth':_0xdf52b0};let {docsLeft:_0x375372}=Co(this[_0x12283e(0x13f)][_0x12283e(0x376)]),_0x70e2bf=0x14/(_0x5cd7b||0x1),_0x18fe7a=wo(this[_0x12283e(0x13f)]),_0x4a4918=_0x375372+_0x70e2bf,_0x542c1f=Math[_0x12283e(0x3c3)](0x0,_0x387076['pageWidth']-_0x70e2bf*0x2),_0x354df6=_0x18fe7a?_0x18fe7a[_0x12283e(0xea)]+_0x70e2bf:_0x4a4918,_0xf17878=_0x18fe7a?Math[_0x12283e(0x3c3)](0x0,_0x18fe7a[_0x12283e(0x15e)]-_0x70e2bf*0x2):_0x542c1f,_0x51e63a=_0x375372+_0x387076['marginLeft'];return{'contentWidth':_0x54cb31,'leadingInsetLeft':Math[_0x12283e(0x3c3)](0x0,_0x51e63a-_0x354df6),'overflowWidthThreshold':_0x143452||_0x47663d,'trailingInsetRight':Math[_0x12283e(0x3c3)](0x0,_0xf17878-_0x54cb31),'viewportLeft':_0x354df6,'viewportWidth':_0xf17878};}[_0x2d1af3(0x143)](){const _0x1ae78c=_0x2d1af3;var _0x249eee,_0x14f78c;return(_0x249eee=this[_0x1ae78c(0x13f)][_0x1ae78c(0x240)])==null||(_0x14f78c=_0x249eee['getSnapshot'])==null||(_0x14f78c=_0x14f78c['call'](_0x249eee))==null||(_0x14f78c=_0x14f78c[_0x1ae78c(0x11d)])==null?void 0x0:_0x14f78c[_0x1ae78c(0x2c2)];}[_0x2d1af3(0x23e)](){const _0x28c978=_0x2d1af3;var _0x4ed718;(_0x4ed718=this['_context'][_0x28c978(0x376)])==null||_0x4ed718[_0x28c978(0x1e4)](!0x0),this['_context'][_0x28c978(0x3b6)]['makeDirty']();}};bo=na([q(0x1,_0x32e3e4(_0x8eb655)),q(0x2,_0x32e3e4(_0xe197db)),q(0x3,_0x32e3e4(_0x413031)),q(0x4,_0x32e3e4(_0x2db1d5)),q(0x5,_0x32e3e4(_0x519865)),q(0x6,_0x32e3e4(_0x2e4830)),q(0x7,_0x32e3e4(Oi)),q(0x8,_0x32e3e4(aa)),q(0x9,_0x32e3e4(_0x318544)),q(0xa,_0x9cbb5f),q(0xb,_0x18b06f),q(0xc,_0x49470a(ia))],bo);function xo(_0x44f208){const _0x3c4888=_0x2d1af3;var _0x4fa0f0,_0x45fb5b;let _0x1841a9=(_0x4fa0f0=_0x44f208['tableSource'][_0x3c4888(0x385)])==null?[]:_0x4fa0f0;if(_0x1841a9[_0x3c4888(0x164)]>0x0)return _0x1841a9[_0x3c4888(0x3b5)](_0x3d33c2=>_0x3d33c2[_0x3c4888(0x105)][_0x3c4888(0x15e)]['v']);let _0x27b6a5=_0x44f208[_0x3c4888(0x271)][_0x3c4888(0x184)]((_0x58d848,_0x109434)=>_0x109434['cells']['length']>_0x58d848['cells']['length']?_0x109434:_0x58d848,_0x44f208[_0x3c4888(0x271)][0x0]);return(_0x45fb5b=_0x27b6a5==null?void 0x0:_0x27b6a5['cells'][_0x3c4888(0x3b5)](_0x54878a=>_0x54878a['pageWidth']))==null?[]:_0x45fb5b;}function So(_0x165ad3){const _0x12e4c9=_0x2d1af3;var _0x341c4a,_0x17210c;let _0x159608=(_0x341c4a=(_0x17210c=_0x165ad3[_0x12e4c9(0x365)])==null?void 0x0:_0x17210c[_0x12e4c9(0x3a1)])==null?[]:_0x341c4a,_0x1661b7=[];return _0x159608['forEach']((_0x20e857,_0x26e03b)=>{const _0x27b30d=_0x12e4c9;_0x20e857[_0x27b30d(0x1aa)][_0x27b30d(0x289)]((_0x49824b,_0x86217f)=>{const _0x14aec2=_0x27b30d;var _0x96ad73,_0x806b3f;let _0x5ee626=(_0x96ad73=_0x49824b[_0x14aec2(0x21b)])==null?0x1:_0x96ad73,_0x5bfdf9=(_0x806b3f=_0x49824b[_0x14aec2(0x1f0)])==null?0x1:_0x806b3f;(_0x5ee626>0x1||_0x5bfdf9>0x1)&&_0x1661b7[_0x14aec2(0x1d8)]({'startRow':_0x26e03b,'endRow':_0x26e03b+_0x5ee626-0x1,'startColumn':_0x86217f,'endColumn':_0x86217f+_0x5bfdf9-0x1});});}),_0x1661b7;}function Co(_0x10376a){const _0x334ab6=_0x2d1af3;var _0x4dd76e,_0x23c75d,_0x1dc4be,_0xaa7792;let _0x338c05=_0x10376a==null||(_0x4dd76e=_0x10376a[_0x334ab6(0x1ab)])==null?void 0x0:_0x4dd76e[_0x334ab6(0x3cd)](_0x10376a);return{'docsLeft':(_0x23c75d=_0x338c05==null?void 0x0:_0x338c05[_0x334ab6(0x322)])==null?0x0:_0x23c75d,'docsTop':(_0x1dc4be=_0x338c05==null?void 0x0:_0x338c05[_0x334ab6(0x38f)])==null?0x0:_0x1dc4be,'pageMarginTop':(_0xaa7792=_0x338c05==null?void 0x0:_0x338c05['pageMarginTop'])==null?0x0:_0xaa7792};}function wo(_0x12682e){const _0x1ccb1e=_0x2d1af3;var _0x51c0bd,_0x20d503,_0x50ca99,_0x5fd1bc,_0x30ce9b,_0x210722,_0x1ffab7,_0x5f2edc;let _0x20816f=_0x12682e[_0x1ccb1e(0x3b6)]['getAncestorScale']()['scaleX']||0x1,_0x2c6bfe=(_0x51c0bd=(_0x20d503=_0x12682e['scene']['getViewport'](co))==null?void 0x0:_0x20d503[_0x1ccb1e(0x161)])==null?0x0:_0x51c0bd,_0x29d184=(_0x50ca99=_0x12682e['engine'])==null||(_0x5fd1bc=_0x50ca99[_0x1ccb1e(0x296)])==null||(_0x5fd1bc=_0x5fd1bc['call'](_0x50ca99))==null||(_0x30ce9b=_0x5fd1bc['getBoundingClientRect'])==null||(_0x30ce9b=_0x30ce9b[_0x1ccb1e(0x3cd)](_0x5fd1bc))==null?void 0x0:_0x30ce9b['width'],_0x616ec0=(_0x210722=(_0x1ffab7=_0x12682e[_0x1ccb1e(0x376)])==null?void 0x0:_0x1ffab7['width'])==null?_0x12682e[_0x1ccb1e(0x3b6)][_0x1ccb1e(0x15e)]:_0x210722,_0x12f77b=((_0x5f2edc=_0x29d184==null?_0x616ec0:_0x29d184)==null?0x0:_0x5f2edc)/_0x20816f;return!_0x12f77b||!Number[_0x1ccb1e(0x190)](_0x12f77b)||_0x12f77b<=0x0?null:{'left':_0x2c6bfe,'width':_0x12f77b};}function To(_0x3ff9c7){const _0x3cac8b=_0x2d1af3;var _0x164b3a;return(_0x164b3a=_0x3ff9c7['mainComponent'])==null?_0x3ff9c7[_0x3cac8b(0x3b6)]:_0x164b3a;}function Eo(_0x57bd5b,_0xe608e4,_0x158aff){const _0x483d6c=_0x2d1af3;let {scaleX:_0x51434e,scaleY:_0x21e9f5}=_0x158aff[_0x483d6c(0x1f2)](),_0x3b0dcb=_0x158aff['getViewport'](co);return _0x3b0dcb?{'x':_0x57bd5b/_0x51434e+_0x3b0dcb[_0x483d6c(0x161)],'y':_0xe608e4/_0x21e9f5+_0x3b0dcb['viewportScrollY']}:{'x':_0x57bd5b,'y':_0xe608e4};}function J(_0x5668d9,_0x1a43cb,_0x57e088){const _0x393e51=_0x2d1af3;let {scaleX:_0x4801a8,scaleY:_0x187a0f}=_0x57e088['getAncestorScale'](),_0x47bc1b=_0x57e088[_0x393e51(0x277)](co);return _0x47bc1b?{'x':(_0x5668d9-_0x47bc1b[_0x393e51(0x161)])*_0x4801a8,'y':(_0x1a43cb-_0x47bc1b['viewportScrollY'])*_0x187a0f}:{'x':_0x5668d9,'y':_0x1a43cb};}function Y(_0x183d2b,_0x4778f3){const _0x334495=_0x2d1af3;let _0x4bfcfd=J(_0x183d2b['x'],_0x183d2b['y'],_0x4778f3),_0x366c47=J(_0x183d2b['x']+_0x183d2b[_0x334495(0x15e)],_0x183d2b['y']+_0x183d2b['height'],_0x4778f3);return{'height':_0x366c47['y']-_0x4bfcfd['y'],'width':_0x366c47['x']-_0x4bfcfd['x'],'x':_0x4bfcfd['x'],'y':_0x4bfcfd['y']};}function Do(_0x330137,_0x4fc9ba){const _0x1b0564=_0x2d1af3;return{..._0x330137,'thumb':Y(_0x330137[_0x1b0564(0x333)],_0x4fc9ba),'track':Y(_0x330137[_0x1b0564(0x19a)],_0x4fc9ba)};}function Oo(_0x206a2f){const _0x274b64=_0x2d1af3;let _0x434996=_0x206a2f[_0x274b64(0x378)];return typeof _0x434996=='number'?(_0x434996&0x1)==0x1:!0x0;}function X(_0x421c01){const _0x23748c=_0x2d1af3;var _0x3c6af4,_0x242c1c,_0x22f293,_0x297f9b;return{..._0x421c01[_0x23748c(0x1e8)],'x':(_0x3c6af4=(_0x242c1c=_0x421c01['viewport'])==null?void 0x0:_0x242c1c[_0x23748c(0x11f)])==null?_0x421c01['tableRect']['x']:_0x3c6af4,'width':(_0x22f293=(_0x297f9b=_0x421c01[_0x23748c(0x1e0)])==null?void 0x0:_0x297f9b[_0x23748c(0x2b0)])==null?_0x421c01[_0x23748c(0x1e8)][_0x23748c(0x15e)]:_0x22f293};}function ko(_0x47cec4){const _0x4b8ab4=_0x2d1af3;var _0x5a729c;if(!_0x47cec4[_0x4b8ab4(0x1e0)])return _0x47cec4['tableRect']['x'];let _0xa955e9=(_0x5a729c=_0x47cec4[_0x4b8ab4(0x1e0)][_0x4b8ab4(0x11f)])==null?_0x47cec4['tableRect']['x']:_0x5a729c;return Math[_0x4b8ab4(0x3c3)](_0xa955e9,Mo(_0x47cec4,0x0));}function Ao(_0x274e09){const _0x411374=_0x2d1af3;var _0x1ef2bb;if(!_0x274e09[_0x411374(0x1e0)])return _0x274e09[_0x411374(0x1e8)]['x']+_0x274e09['tableRect'][_0x411374(0x15e)];let _0x27b8f6=((_0x1ef2bb=_0x274e09[_0x411374(0x1e0)]['viewportLeft'])==null?_0x274e09[_0x411374(0x1e8)]['x']:_0x1ef2bb)+_0x274e09[_0x411374(0x1e0)][_0x411374(0x2b0)],_0x505d1b=Mo(_0x274e09,Z(_0x274e09['columnWidths']));return Math[_0x411374(0x121)](_0x27b8f6,_0x505d1b);}function jo(_0x20c7fb,_0x1a818a){const _0x29de64=_0x2d1af3;var _0x58520a,_0x1c4e75,_0x5f4d05,_0x42f4f3,_0xb2acda,_0x3b26ce;let _0x5222bb=(_0x58520a=(_0x1c4e75=_0x20c7fb['viewport'])==null?void 0x0:_0x1c4e75[_0x29de64(0x26b)])==null?0x0:_0x58520a,_0x69d6f4=_0x1a818a-((_0x5f4d05=(_0x42f4f3=_0x20c7fb[_0x29de64(0x1e0)])==null?void 0x0:_0x42f4f3[_0x29de64(0x11f)])==null?_0x20c7fb[_0x29de64(0x1e8)]['x']:_0x5f4d05)-_0x5222bb+((_0xb2acda=(_0x3b26ce=_0x20c7fb[_0x29de64(0x1e0)])==null?void 0x0:_0x3b26ce[_0x29de64(0x1b0)])==null?0x0:_0xb2acda),_0x43f92c=Z(_0x20c7fb[_0x29de64(0xe4)]);return _0x69d6f4<0x0||_0x69d6f4>_0x43f92c?null:_0x69d6f4;}function Mo(_0x5a7c82,_0x419ea0){const _0x289924=_0x2d1af3;var _0x4f0c45,_0x591fd0,_0x46ad1d,_0x10d772,_0x351337,_0x2691d6;let _0x4d7e6c=(_0x4f0c45=(_0x591fd0=_0x5a7c82['viewport'])==null?void 0x0:_0x591fd0['leadingInsetLeft'])==null?0x0:_0x4f0c45;return((_0x46ad1d=(_0x10d772=_0x5a7c82[_0x289924(0x1e0)])==null?void 0x0:_0x10d772[_0x289924(0x11f)])==null?_0x5a7c82['tableRect']['x']:_0x46ad1d)+_0x4d7e6c+_0x419ea0-((_0x351337=(_0x2691d6=_0x5a7c82[_0x289924(0x1e0)])==null?void 0x0:_0x2691d6[_0x289924(0x1b0)])==null?0x0:_0x351337);}function No(_0xe96761,_0x27efa0,_0x30be7c,_0x428fd3,_0x1fc010,_0x541057){const _0xb13f60=_0x2d1af3;if(_0xe96761[_0xb13f60(0x31e)]){_0xe96761[_0xb13f60(0xcd)](),_0xe96761[_0xb13f60(0x31e)](_0x27efa0,_0x30be7c,_0x428fd3,_0x1fc010,_0x541057);return;}_0xe96761[_0xb13f60(0xcd)](),_0xe96761[_0xb13f60(0x298)](_0x27efa0,_0x30be7c,_0x428fd3,_0x1fc010);}function Z(_0x2dccd1){return _0x2dccd1['reduce']((_0x2605c6,_0x21a0f1)=>_0x2605c6+_0x21a0f1,0x0);}function Po(_0x39cb91,_0x26d18b){const _0x147285=_0x2d1af3;return _0x39cb91?_0x39cb91[_0x147285(0x316)]!==_0x26d18b[_0x147285(0x316)]||_0x39cb91[_0x147285(0x26b)]!==_0x26d18b[_0x147285(0x26b)]||_0x39cb91[_0x147285(0xbf)]!==_0x26d18b[_0x147285(0xbf)]||_0x39cb91[_0x147285(0x1b0)]!==_0x26d18b[_0x147285(0x1b0)]||_0x39cb91[_0x147285(0xfe)]!==_0x26d18b['trailingInsetRight']||_0x39cb91['viewportLeft']!==_0x26d18b[_0x147285(0x11f)]||_0x39cb91[_0x147285(0x2b0)]!==_0x26d18b[_0x147285(0x2b0)]:!0x0;}function Fo(_0x3b5810,_0x596cbf){const _0x16101d=_0x2d1af3;return _0x3b5810?_0x3b5810[_0x16101d(0x372)](_0x1bdcc5=>_0x1bdcc5===_0x596cbf):_0x596cbf;}function Io(_0x1fadbb,_0x49a37d){const _0x1cbde3=_0x2d1af3;let _0x34bece=0x0;for(let _0x113387=0x0;_0x113387<_0x1fadbb[_0x1cbde3(0x164)];_0x113387++)if(_0x34bece+=_0x1fadbb[_0x113387],_0x49a37d<=_0x34bece)return _0x113387;return _0x1fadbb['length']-0x1;}function Q(_0x174312,_0x1e233e,_0x55e663){return _0x1e233e>=_0x174312['x']&&_0x1e233e<=_0x174312['x']+_0x174312['width']&&_0x55e663>=_0x174312['y']&&_0x55e663<=_0x174312['y']+_0x174312['height'];}function Lo(_0x360835){const _0x295c52=_0x2d1af3;return typeof _0x360835['clientX']=='number'&&typeof _0x360835[_0x295c52(0xdc)]==_0x295c52(0x2c9);}function Ro(_0x19cc55){const _0x2cf484=_0x2d1af3;return _0x19cc55['source']===_0x12bf8e[_0x2cf484(0x10c)]||_0x19cc55['kind']===_0x4ffc7d['Text']||_0x19cc55['kind']===_0x4ffc7d['None']?!0x1:_0x19cc55[_0x2cf484(0x2d4)]>=0x0&&_0x19cc55[_0x2cf484(0x2db)]>=0x0&&_0x19cc55[_0x2cf484(0x175)]>=0x0&&_0x19cc55[_0x2cf484(0x125)]>=0x0;}function zo(_0x2320fd){const _0x1e2b7f=_0x2d1af3;return _0x2320fd[_0x1e2b7f(0x267)]===_0x4ffc7d['Row']||_0x2320fd[_0x1e2b7f(0x267)]===_0x4ffc7d['Column']||_0x2320fd[_0x1e2b7f(0x267)]===_0x4ffc7d[_0x1e2b7f(0x1c7)];}function Bo(_0x5bc4f8){const _0x15d7ad=_0x2d1af3;return _0x5bc4f8?[_0x5bc4f8[_0x15d7ad(0xea)],_0x5bc4f8['top'],_0x5bc4f8['right'],_0x5bc4f8[_0x15d7ad(0x3cb)]]['join'](':'):'';}function Vo(_0x9192d7){return{'x':_0x9192d7['x'],'y':_0x9192d7['y'],'width':0xb4,'height':0x48};}function Ho(_0x1a6992){return{'x':_0x1a6992['x'],'y':_0x1a6992['y'],'width':0x94,'height':0x48};}function Uo(){const _0x186dd7=_0x2d1af3;return[{'direction':_0x34f43e[_0x186dd7(0x2ad)],'labelKey':_0x186dd7(0x3a0)},{'direction':_0x34f43e['Desc'],'labelKey':_0x186dd7(0x33d)}];}function Wo(){const _0x2fe0fe=_0x2d1af3;return[_0x314273[_0x2fe0fe(0xdb)],_0x314273[_0x2fe0fe(0x260)],_0x314273[_0x2fe0fe(0x16d)],_0x314273[_0x2fe0fe(0x9f)],_0x314273[_0x2fe0fe(0x377)],_0x314273[_0x2fe0fe(0xc1)],_0x314273[_0x2fe0fe(0xad)],_0x314273[_0x2fe0fe(0xbd)],_0x314273[_0x2fe0fe(0xc2)],_0x314273[_0x2fe0fe(0x397)]][_0x2fe0fe(0x3b5)](_0x338162=>({'iconName':sa(_0x338162),'preset':_0x338162}));}function Go(_0xfb4486){const _0x1cb55e=_0x2d1af3;var _0x5a012d;return(_0x5a012d={'column-header':'docs-table-ui.selectColumn','column-insert-dot':'docs-table-ui.insertColumn','row-header':_0x1cb55e(0xf2),'row-insert-dot':'docs-table-ui.insertRow','table-select':'docs-table-ui.selectTable'}[_0xfb4486])==null?null:_0x5a012d;}function Ko(_0x3b84c0){const _0x437da5=_0x2d1af3;return{'all':'docs-table-ui.borderAll','bottom':_0x437da5(0x280),'inner':'docs-table-ui.borderInner','innerHorizontal':_0x437da5(0x297),'innerVertical':'docs-table-ui.borderInnerVertical','left':_0x437da5(0x2de),'none':'docs-table-ui.borderNone','outer':'docs-table-ui.borderOuter','right':_0x437da5(0x3c4),'top':_0x437da5(0x1fe)}[_0x3b84c0];}let qo=class extends _0xb0e1b5{constructor(_0x328f8c){const _0x570306=_0x2d1af3;super(),this[_0x570306(0x17c)]=_0x328f8c,this[_0x570306(0x134)](this[_0x570306(0x17c)][_0x570306(0x303)](z));}};qo=na([q(0x0,_0x18b06f)],qo);let Jo=class extends _0xb0e1b5{constructor(_0x423007){const _0x513bea=_0x2d1af3;super(),this[_0x513bea(0x17c)]=_0x423007,[pi,mi,hi,gi,_i,vi,yi,bi,xi,Si]['forEach'](_0x1badb9=>this[_0x513bea(0x134)](this[_0x513bea(0x17c)][_0x513bea(0x303)](_0x1badb9)));}};Jo=na([q(0x0,_0x18b06f)],Jo);let $=null;const Yo={'id':'docs-table-ui.command.select-all','type':_0x336080[_0x2d1af3(0x12a)],'handler':async _0x388300=>{const _0x14b596=_0x2d1af3;var _0x100759,_0x322653,_0x1d155c;let _0x3f3a47=_0x388300[_0x14b596(0x265)](_0x18b06f),_0x4f58d7=_0x388300[_0x14b596(0x265)](_0xaaa3e3),_0x3ade2b=_0x388300['get'](_0xe197db),_0x12dede=_0x388300['get'](_0x2e4830),_0x651570=(_0x100759=_0x4f58d7['getCurrentUnitOfType'])==null?void 0x0:_0x100759['call'](_0x4f58d7,_0x2ad6ca[_0x14b596(0x193)]),_0x141765=_0x651570==null?void 0x0:_0x651570[_0x14b596(0x263)](),_0x5b4db7=_0x651570==null?void 0x0:_0x651570[_0x14b596(0x18f)]();if(!_0x141765||!_0x5b4db7)return $=null,Zo(_0x3f3a47);$o(_0x3ade2b,_0x12dede,_0x141765);let _0x373ade=_0x12dede[_0x14b596(0x2e5)]();if(!(_0x373ade!=null&&_0x373ade[_0x14b596(0x3a8)]))return $=null,Zo(_0x3f3a47);let _0x506b9d=_0xa89fad(_0x141765,_0x373ade[_0x14b596(0x3a8)]);if(!_0x506b9d)return $=null,Zo(_0x3f3a47);if(_0x373ade[_0x14b596(0x38b)]===_0x12bf8e['Structural'])return($==null?void 0x0:$[_0x14b596(0x2d1)])==='table'&&ls(_0x5b4db7,_0x373ade)?(ss(_0x3ade2b,_0x12dede,_0x141765,_0x5b4db7),$=null,!0x0):(os(_0x12dede,_0x506b9d,_0x373ade[_0x14b596(0x2d7)]),$={'phase':_0x14b596(0x233),'rangeKey':cs({'startRow':0x0,'endRow':Math['max'](_0x506b9d[_0x14b596(0x179)]-0x1,0x0),'startColumn':0x0,'endColumn':Math['max'](_0x506b9d[_0x14b596(0x33c)]-0x1,0x0)}),'tableId':_0x506b9d['tableId'],'unitId':_0x5b4db7},!0x0);let _0x190eba=(_0x322653=_0x506b9d[_0x14b596(0x271)][_0x373ade[_0x14b596(0x2d4)]])==null?void 0x0:_0x322653[_0x14b596(0x23a)][_0x373ade[_0x14b596(0x175)]];if(!_0x190eba)return Zo(_0x3f3a47);let _0x4cfe73=Qo(_0x3ade2b);if(!_0x4cfe73)return as(_0x12dede,_0x373ade['tableId'],_0x190eba,_0x373ade['segmentId'],_0x5b4db7),!0x0;let _0x1bcb7f=es(_0x190eba,_0x373ade['segmentId']);if(rs(_0x4cfe73,_0x1bcb7f))return as(_0x12dede,_0x373ade[_0x14b596(0x3a8)],_0x190eba,_0x373ade[_0x14b596(0x2d7)],_0x5b4db7),!0x0;let _0x4c384d=ts(_0x141765,_0x190eba,_0x373ade['segmentId']),_0x3a9c54=ns(_0x4c384d,(_0x1d155c=_0x4cfe73['startOffset'])==null?_0x1bcb7f[_0x14b596(0x324)]:_0x1d155c);return _0x3a9c54?rs(_0x4cfe73,_0x3a9c54)?(_0x4c384d['length']<=0x1?as(_0x12dede,_0x373ade[_0x14b596(0x3a8)],_0x190eba,_0x373ade[_0x14b596(0x2d7)],_0x5b4db7):($=null,is(_0x3ade2b,[_0x1bcb7f],_0x5b4db7)),!0x0):($=null,is(_0x3ade2b,[_0x3a9c54],_0x5b4db7),!0x0):(is(_0x3ade2b,[_0x1bcb7f],_0x5b4db7),!0x0);}},Xo={'id':Yo['id'],'binding':_0x265a09['A']|_0xd6030b[_0x2d1af3(0x24f)],'priority':0x64,'preconditions':_0x3918e5=>_0x3918e5[_0x2d1af3(0x131)](_0x227d61)&&(_0x3918e5[_0x2d1af3(0x131)](_0x31b24c)||_0x3918e5[_0x2d1af3(0x131)](_0x327662))};function Zo(_0x3d50bf){const _0x3e5520=_0x2d1af3;return _0x3d50bf[_0x3e5520(0x173)](_0x9592e5['id']);}function Qo(_0x5d751a){const _0x5c22c6=_0x2d1af3;var _0xd7ce69,_0x54a89a,_0x3f37ce,_0x118fab,_0x45f99a;let _0x5a8cc1=(_0xd7ce69=_0x5d751a['getDocRanges'])==null?void 0x0:_0xd7ce69['call'](_0x5d751a);return(_0x54a89a=(_0x3f37ce=(_0x118fab=_0x5a8cc1==null?void 0x0:_0x5a8cc1[_0x5c22c6(0x299)](_0x2d9fef=>_0x2d9fef[_0x5c22c6(0x25d)]))==null?(_0x45f99a=_0x5d751a[_0x5c22c6(0x1b1)])==null?void 0x0:_0x45f99a[_0x5c22c6(0x3cd)](_0x5d751a):_0x118fab)==null?_0x5a8cc1==null?void 0x0:_0x5a8cc1[0x0]:_0x3f37ce)==null?null:_0x54a89a;}function $o(_0x54c152,_0x360066,_0x2682e9){const _0x19fb30=_0x2d1af3;var _0x118abc,_0x559847;let _0x36c812=_0x360066[_0x19fb30(0x1d2)]();if(!(_0x36c812!=null&&_0x36c812['tableId']))return;let _0xcb8d26=Qo(_0x54c152),_0x2ef441=_0xcb8d26==null?void 0x0:_0xcb8d26[_0x19fb30(0x324)];_0x2ef441!=null&&(_0x118abc=(_0x559847=_0x2682e9[_0x19fb30(0x274)])==null||(_0x559847=_0x559847[_0x19fb30(0x172)])==null?void 0x0:_0x559847['some'](_0x2cdcce=>_0x2ef441>_0x2cdcce[_0x19fb30(0x174)]&&_0x2ef441<_0x2cdcce[_0x19fb30(0x34c)]))!=null&&_0x118abc&&($=null,_0x360066['setNativeSelectionSuppressed'](!0x1),_0x360066['clearStructuralSelection']({'clearNativeSelection':!0x1}));}function es(_0x45a104,_0x350ba8){const _0x3d5b0e=_0x2d1af3;let _0x3a1cb5=_0x45a104['startOffset']+0x1,_0x30340c=Math[_0x3d5b0e(0x3c3)](_0x3a1cb5,_0x45a104[_0x3d5b0e(0x2a0)]-0x1);return{'collapsed':_0x3a1cb5===_0x30340c,'endOffset':_0x30340c,'rangeType':_0x14976c[_0x3d5b0e(0xb7)],'segmentId':_0x350ba8,'startOffset':_0x3a1cb5};}function ts(_0x2076f8,_0x5b877b,_0x58b4c1){const _0x39ae31=_0x2d1af3;var _0x249647,_0x266b55;let _0x32de48=(_0x249647=(_0x266b55=_0x2076f8['body'])==null?void 0x0:_0x266b55[_0x39ae31(0x10f)])==null?'':_0x249647,_0x49594a=_0x5b877b[_0x39ae31(0x324)]+0x1,_0x3667bd=Math[_0x39ae31(0x3c3)](_0x49594a,_0x5b877b[_0x39ae31(0x2a0)]-0x1),_0x104bed=[],_0x34c457=_0x49594a;for(let _0x39851f=_0x49594a;_0x39851f<=_0x3667bd;_0x39851f++)_0x32de48[_0x39851f]==='\x0d'&&(_0x104bed[_0x39ae31(0x1d8)]({'collapsed':_0x34c457===_0x39851f,'endOffset':_0x39851f,'rangeType':_0x14976c['TEXT'],'segmentId':_0x58b4c1,'startOffset':_0x34c457}),_0x34c457=_0x39851f+0x1,_0x32de48[_0x34c457]==='\x0a'&&(_0x34c457+=0x1));return _0x104bed[_0x39ae31(0x164)]||_0x104bed[_0x39ae31(0x1d8)](es(_0x5b877b,_0x58b4c1)),_0x104bed;}function ns(_0x1d6f63,_0x3ceb4a){const _0x13d17d=_0x2d1af3;var _0x22482d,_0x19530b;return(_0x22482d=(_0x19530b=_0x1d6f63[_0x13d17d(0x299)](_0x4dbbc0=>_0x4dbbc0['startOffset']==null||_0x4dbbc0[_0x13d17d(0x2a0)]==null?!0x1:_0x3ceb4a>=_0x4dbbc0['startOffset']&&_0x3ceb4a<=_0x4dbbc0['endOffset']))==null?_0x1d6f63[0x0]:_0x19530b)==null?null:_0x22482d;}function rs(_0xf3cd6c,_0x506ed){const _0x14d168=_0x2d1af3;return _0xf3cd6c['startOffset']===_0x506ed[_0x14d168(0x324)]&&_0xf3cd6c[_0x14d168(0x2a0)]===_0x506ed[_0x14d168(0x2a0)];}function is(_0x8294fa,_0x5a7ce0,_0x39cedf){const _0x3607e2=_0x2d1af3;var _0x8d993f;(_0x8d993f=_0x8294fa[_0x3607e2(0x154)])==null||_0x8d993f['call'](_0x8294fa,_0x5a7ce0,{'subUnitId':_0x39cedf,'unitId':_0x39cedf},!0x1);}function as(_0x53e2ab,_0x501cb8,_0x264bd8,_0x218006,_0x30c554){const _0x1627a4=_0x2d1af3;_0x53e2ab[_0x1627a4(0x25c)](!0x0),_0x53e2ab[_0x1627a4(0x197)]({'kind':_0x4ffc7d['Cell'],'tableId':_0x501cb8,'segmentId':_0x218006,'startOffset':_0x264bd8[_0x1627a4(0x324)],'endOffset':_0x264bd8[_0x1627a4(0x2a0)],'startRow':_0x264bd8[_0x1627a4(0x151)],'endRow':_0x264bd8['row'],'startColumn':_0x264bd8[_0x1627a4(0x2ca)],'endColumn':_0x264bd8[_0x1627a4(0x2ca)]}),$={'phase':_0x1627a4(0xfc),'rangeKey':cs({'startRow':_0x264bd8[_0x1627a4(0x151)],'endRow':_0x264bd8['row'],'startColumn':_0x264bd8['column'],'endColumn':_0x264bd8[_0x1627a4(0x2ca)]}),'tableId':_0x501cb8,'unitId':_0x30c554};}function os(_0x28385a,_0x3c7957,_0x63e4a){const _0x5b47a4=_0x2d1af3;_0x28385a['setNativeSelectionSuppressed'](!0x0),_0x28385a[_0x5b47a4(0x197)]({'kind':_0x4ffc7d['Table'],'tableId':_0x3c7957[_0x5b47a4(0x3a8)],'segmentId':_0x63e4a,'startRow':0x0,'endRow':Math[_0x5b47a4(0x3c3)](_0x3c7957[_0x5b47a4(0x179)]-0x1,0x0),'startColumn':0x0,'endColumn':Math[_0x5b47a4(0x3c3)](_0x3c7957[_0x5b47a4(0x33c)]-0x1,0x0)});}function ss(_0x2f981e,_0x104f50,_0x4042a9,_0x475ff7){const _0x4775aa=_0x2d1af3;let _0x327cba=_0x4042a9['body'];_0x327cba&&(_0x104f50[_0x4775aa(0x23d)]({'clearNativeSelection':!0x1}),_0x104f50[_0x4775aa(0x25c)](!0x1),is(_0x2f981e,us(_0x327cba),_0x475ff7));}function cs(_0x7d1df4){const _0x1e0ef8=_0x2d1af3;return[Math[_0x1e0ef8(0x121)](_0x7d1df4['startRow'],_0x7d1df4[_0x1e0ef8(0x2db)]),Math[_0x1e0ef8(0x3c3)](_0x7d1df4[_0x1e0ef8(0x2d4)],_0x7d1df4[_0x1e0ef8(0x2db)]),Math['min'](_0x7d1df4['startColumn'],_0x7d1df4[_0x1e0ef8(0x125)]),Math[_0x1e0ef8(0x3c3)](_0x7d1df4[_0x1e0ef8(0x175)],_0x7d1df4[_0x1e0ef8(0x125)])][_0x1e0ef8(0xab)](':');}function ls(_0x68ad55,_0x1e25b4){const _0x5a761a=_0x2d1af3;return($==null?void 0x0:$[_0x5a761a(0x15c)])===_0x68ad55&&$[_0x5a761a(0x3a8)]===_0x1e25b4[_0x5a761a(0x3a8)]&&$[_0x5a761a(0x24b)]===cs(_0x1e25b4);}function us(_0x2e5b85){const _0x3ffd93=_0x2d1af3;var _0x3b9bff;let _0x378c57=[],_0x116896=0x0;for(let _0x30bb3d of(_0x3b9bff=_0x2e5b85[_0x3ffd93(0x172)])==null?[]:_0x3b9bff){let {startIndex:_0x34b11c,endIndex:_0x38fe1a}=_0x30bb3d;_0x116896!==_0x34b11c&&_0x378c57[_0x3ffd93(0x1d8)](...ds(_0x2e5b85,_0x116896,_0x34b11c-0x1)),_0x378c57[_0x3ffd93(0x1d8)](fs(_0x30bb3d)),_0x116896=_0x38fe1a;}return _0x116896!==_0x2e5b85[_0x3ffd93(0x10f)][_0x3ffd93(0x164)]-0x2&&_0x378c57[_0x3ffd93(0x1d8)](...ds(_0x2e5b85,_0x116896,_0x2e5b85[_0x3ffd93(0x10f)][_0x3ffd93(0x164)]-0x2)),_0x378c57;}function ds(_0x4f17fc,_0x2b7597,_0xe262b6){const _0x255d60=_0x2d1af3;var _0x159087;if(_0x2b7597>_0xe262b6)return[];let _0x15b9b8=[...(_0x159087=_0x4f17fc[_0x255d60(0xd8)])==null?[]:_0x159087][_0x255d60(0x163)]((_0x4d0718,_0xad7ab9)=>_0x4d0718['startIndex']-_0xad7ab9['startIndex']),_0x225769=[],_0xab316=_0x2b7597;for(let _0x4ad211 of _0x15b9b8)if(!(_0x4ad211[_0x255d60(0x174)]<_0xab316)){if(_0x4ad211[_0x255d60(0x174)]>_0xe262b6)break;_0x225769[_0x255d60(0x1d8)]({'collapsed':_0xab316===_0x4ad211[_0x255d60(0x174)],'endOffset':_0x4ad211[_0x255d60(0x174)],'rangeType':_0x14976c[_0x255d60(0xb7)],'startOffset':_0xab316}),_0xab316=_0x4ad211[_0x255d60(0x174)]+0x1;}return _0xab316<=_0xe262b6&&_0x225769[_0x255d60(0x1d8)]({'collapsed':_0xab316===_0xe262b6,'endOffset':_0xe262b6,'rangeType':_0x14976c['TEXT'],'startOffset':_0xab316}),_0x225769;}function fs(_0x156e7c){const _0x3eba5e=_0x2d1af3;return{'collapsed':_0x156e7c[_0x3eba5e(0x174)]+0x3===_0x156e7c[_0x3eba5e(0x34c)]-0x5,'endOffset':_0x156e7c[_0x3eba5e(0x34c)]-0x5,'rangeType':_0x14976c[_0x3eba5e(0x14e)],'startOffset':_0x156e7c[_0x3eba5e(0x174)]+0x3};}let ps=class extends _0xb0e1b5{constructor(_0x375987,_0x415399){const _0x388d42=_0x2d1af3;super(),this[_0x388d42(0x17c)]=_0x375987,this[_0x388d42(0x283)]=_0x415399,this['disposeWithMe'](this['_commandService'][_0x388d42(0x303)](Yo)),this[_0x388d42(0x134)](this[_0x388d42(0x283)]['registerShortcut'](Xo));}};ps=na([q(0x0,_0x18b06f),q(0x1,_0xdb4793)],ps);let ms=class extends _0xb0e1b5{constructor(_0x3cfc25,_0x3fb6a6){const _0x510783=_0x2d1af3;super(),this[_0x510783(0x293)]=_0x3cfc25,this['_selectionService']=_0x3fb6a6,this['_menuManagerService']['mergeMenu'](Wr),this[_0x510783(0x293)][_0x510783(0x2f2)](Ur),this[_0x510783(0x134)](this[_0x510783(0x358)][_0x510783(0x30c)][_0x510783(0x206)](_0x2ec728=>{const _0x7c1b5a=_0x510783;_0x2ec728!=null&&_0x2ec728[_0x7c1b5a(0x3a8)]&&this[_0x7c1b5a(0x293)]['mergeMenu'](Wr),this[_0x7c1b5a(0x293)][_0x7c1b5a(0x2f2)]({});}));}};ms=na([q(0x0,_0x452a53),q(0x1,_0x32e3e4(_0x2e4830))],ms);var hs=class extends _0xb0e1b5{constructor(..._0x4c03cd){const _0x668c04=_0x2d1af3;super(..._0x4c03cd),W(this,_0x668c04(0x339),[]),W(this,_0x668c04(0x21f),new _0xe56cb3()),W(this,_0x668c04(0xb5),this['_triggerChange$']['asObservable']());}[_0x2d1af3(0x300)](_0x598c6e){const _0x3ed0b9=_0x2d1af3;this[_0x3ed0b9(0x339)]=_0x598c6e?Pa(_0x598c6e):[],this[_0x3ed0b9(0x21f)][_0x3ed0b9(0x2b1)](this[_0x3ed0b9(0x339)]);}[_0x2d1af3(0x1fb)](){return this['_triggers'];}[_0x2d1af3(0x2d8)](_0x2aea51,_0x2656c9){const _0x5f1257=_0x2d1af3;return Qa(this[_0x5f1257(0x339)],_0x2aea51,_0x2656c9);}[_0x2d1af3(0x117)](){const _0x4e8d7f=_0x2d1af3;super[_0x4e8d7f(0x117)](),this['_triggerChange$']['complete']();}};let gs=class extends _0x183ca6{constructor(_0x4ac3aa=qr,_0x1cceb2,_0x31a44c,_0x5bea30){const _0x471016=_0x2d1af3;super(),this[_0x471016(0x124)]=_0x4ac3aa,this[_0x471016(0x32a)]=_0x1cceb2,this[_0x471016(0x1c3)]=_0x31a44c,this[_0x471016(0xd3)]=_0x5bea30;let {menu:_0x275528,..._0xe77438}=_0x92e6ca({},qr,this[_0x471016(0x124)]);_0x275528&&this['_configService']['setConfig'](_0x471016(0x204),_0x275528,{'merge':!0x0}),this[_0x471016(0xd3)]['setConfig'](_0x471016(0x36e),_0xe77438);}[_0x2d1af3(0x1e6)](){const _0x51c4a6=_0x2d1af3;this[_0x51c4a6(0x32a)]['add']([ra]),this['_injector'][_0x51c4a6(0x265)](ra),this[_0x51c4a6(0x32a)][_0x51c4a6(0x272)]([Oi]),this[_0x51c4a6(0x32a)]['add']([ia]),this[_0x51c4a6(0x32a)]['add']([Jo]),this['_injector'][_0x51c4a6(0x272)]([ps]),this[_0x51c4a6(0x32a)]['add']([aa]),this[_0x51c4a6(0x32a)][_0x51c4a6(0x272)]([ms]),this[_0x51c4a6(0x32a)][_0x51c4a6(0x272)]([qo]),this[_0x51c4a6(0x32a)]['add']([hs]),this[_0x51c4a6(0x32a)][_0x51c4a6(0x265)](qo),this[_0x51c4a6(0x32a)][_0x51c4a6(0x265)](Jo),this[_0x51c4a6(0x32a)][_0x51c4a6(0x265)](ps),this[_0x51c4a6(0x32a)][_0x51c4a6(0x265)](hs);}[_0x2d1af3(0x389)](){const _0x298a80=_0x2d1af3;this[_0x298a80(0x32a)][_0x298a80(0x265)](ms),this[_0x298a80(0x134)](this[_0x298a80(0x1c3)][_0x298a80(0xe9)](_0x2ad6ca[_0x298a80(0x193)],[bo]));}};W(gs,'pluginName',_0x509291+_0x2d1af3(0x37a)),W(gs,_0x2d1af3(0x1a5),Gr),W(gs,'version',Kr),W(gs,_0x2d1af3(0xee),_0x2ad6ca[_0x2d1af3(0x193)]),gs=na([_0x28406c(_0x4ef619,_0x2dc66c,_0x4a0f8a),q(0x1,_0x32e3e4(_0x29f812)),q(0x2,_0x877017),q(0x3,_0x5eb650)],gs);export{ia as DocsTablePassiveWheelService,Wr as DocsTableUIMenuSchema,gs as UniverDocsTableUIPlugin};
|