@univerjs-pro/slides-table-ui 1.0.2 → 1.0.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/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.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/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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5defcf=_0x428e;(function(_0x3efecc,_0x2bbe59){const _0x5e2bc0=_0x428e,_0x3a8e44=_0x3efecc();while(!![]){try{const _0x530687=-parseInt(_0x5e2bc0(0x442))/0x1*(parseInt(_0x5e2bc0(0x4c7))/0x2)+parseInt(_0x5e2bc0(0x2e2))/0x3*(-parseInt(_0x5e2bc0(0x4a9))/0x4)+-parseInt(_0x5e2bc0(0x641))/0x5*(parseInt(_0x5e2bc0(0x239))/0x6)+-parseInt(_0x5e2bc0(0x566))/0x7*(parseInt(_0x5e2bc0(0x628))/0x8)+-parseInt(_0x5e2bc0(0x63d))/0x9*(parseInt(_0x5e2bc0(0x333))/0xa)+-parseInt(_0x5e2bc0(0x675))/0xb+parseInt(_0x5e2bc0(0x722))/0xc*(parseInt(_0x5e2bc0(0x289))/0xd);if(_0x530687===_0x2bbe59)break;else _0x3a8e44['push'](_0x3a8e44['shift']());}catch(_0x5ac27e){_0x3a8e44['push'](_0x3a8e44['shift']());}}}(_0x236d,0x97288));import{UniverLicensePlugin as _0x14b2ea}from'@univerjs-pro/license';import{ISlideDrawingService as _0x462a1f,PageElementTypeEnum as _0x16fba9,ReorderSlideElementsCommand as _0x17dfbf,SLIDE_INSERT_DEFAULT_SIZE as _0x5dba90,UniverSlidesPlugin as _0x204bff,UpdateSlideDrawingCommand as _0x3845cd,getSlidePermissionValue as _0x16c821,normalizeSlideDocumentDataStream as _0x1a12a2,plainTextToSlideDocumentData as _0x5a67d9,slideDocumentDataToPlainText as _0x5a7f69}from'@univerjs-pro/slides';import{DEFAULT_SLIDE_TABLE_THEME_PRESETS as _0x33b20a,DeleteSlideTableColumnsCommand as _0x16427a,DeleteSlideTableRowsCommand as _0x5a5531,InsertSlideTableColumnsCommand as _0x4a4b69,InsertSlideTableCommand as _0xbf40da,InsertSlideTableRowsCommand as _0x565bf8,MergeSlideTableCellsCommand as _0x13d966,MoveSlideTableColumnsCommand as _0x162c84,MoveSlideTableRowsCommand as _0x399535,RemoveSlideTableCommand as _0x244512,RemoveSlideTableMutation as _0x68d13,SLIDE_TABLE_CONTROL_GUTTER as _0x3aad64,SetSlideTableMutation as _0x3d940b,SlideTableBorderDashEnum as _0x599627,SlideTableBorderPresetEnum as _0x4c5615,SlideTableFillTypeEnum as _0x772d0f,SlideTableModelService as _0x47dc4d,SlideTablePictureFillModeEnum as _0xc34825,SlideTableResourceService as _0x161eee,SlideTableTextDirectionEnum as _0x81a0a3,SlideTableVerticalAlignEnum as _0x1285f3,UniverSlidesTablePlugin as _0x50306f,UnmergeSlideTableCellsCommand as _0x5336e9,UpdateSlideTableCommand as _0x296a89,buildBorderPresetPatch as _0x544576,buildDefaultSlideTableThemes as _0x5f5a44,buildSlideTableCellTextDataPatch as _0x423096,buildSlideTableControls as _0x27fece,buildSlideTableTriggers as _0x49040d,canMoveSlideTableColumns as _0x3297ff,canMoveSlideTableRows as _0x231167,collectSlideTableMergeRanges as _0x22b153,expandSlideTableRangeToMergedCells as _0x5f5bd9,findSlideTableMergeRange as _0x44102f,freezeSlideTableTheme as _0x2faffd,getDefaultSlideTableBorder as _0x4c26dd,hitTestSlideTableControl as _0x54e4c1,hitTestSlideTableFloatingControl as _0x2af0de,hitTestSlideTableTrigger as _0x2e8971,isPointInRect as _0x22fe54,isSlideTableMultiCellRange as _0x719977,iterateSelectedSlideTableCells as _0x2d4702,mergeSlideTableCellStyle as _0x3a813d,mergeSlideTableCells as _0x355cd8,normalizeSlideTableCellRange as _0x4a84fc,normalizeSlideTableSnapshot as _0x118830,resizeSlideTableGrid as _0x12c02a,resolveSlideTableBuildOptions as _0x4568ed,resolveSlideTableCellBoundaryBorder as _0x3e9ef6,resolveSlideTableCellRect as _0x32ac01,resolveSlideTableCellTextMargins as _0x4998ad,resolveSlideTableRenderModel as _0x9eb1b0,resolveSlideTableThemePalette as _0x27e190,unmergeSlideTableCells as _0x17dc97}from'@univerjs-pro/slides-table';function _0x428e(_0x4651a0,_0x4c4367){_0x4651a0=_0x4651a0-0x190;const _0x236d12=_0x236d();let _0x428e09=_0x236d12[_0x4651a0];return _0x428e09;}import{IEditorUIService as _0x42bec5,ISlideAlignmentGuideService as _0x560a9f,ISlideClipboardResourceAdapterService as _0x2126a8,ISlideDrawingStateService as _0x2f1910,ISlideEmbedFloatingActiveService as _0x17057f,ISlideEmbedFocusOwnerService as _0xf48ebd,ISlideEmbedMountService as _0x2b3ff,ISlideTransformerVisibilityService as _0x4e3bf4,ObjectAdaptor as _0x410129,SLIDES_UI_PLUGIN_CONFIG_KEY as _0x3aeb3e,SLIDE_MAIN_VIEWPORT_KEY as _0xf9397b,SlideContextMenuPosition as _0x1d870a,SlideCopySelectionOperation as _0x3ae8b5,SlideCutSelectionOperation as _0x4a70de,SlideHitTestService as _0x2ebce1,SlideInsertService as _0x1f6804,SlideObjectAdaptorRegistryService as _0x22ba2f,SlideObjectRefreshRegistryService as _0x213f69,UniverSlidesMobileUIPlugin as _0x20cb27,UniverSlidesUIPlugin as _0x1d3360,buildDrawingOKey as _0x1a21b4,drawDrawingEffectMask as _0x9f2328,resolveSlideLogicalPageSize as _0x51f95a,stripEditorUIDocumentData as _0x23e15f,withSlideEditPermission as _0x133ada}from'@univerjs-pro/slides-ui';import{ArrangeTypeEnum as _0x4d1446,BooleanNumber as _0x3fcebf,ColorKit as _0xb7c3a,CommandType as _0x49d1ef,DEFAULT_STYLES as _0x2944bf,DependentOn as _0x41991a,Disposable as _0x5c53fd,DisposableCollection as _0x2fec4f,DocumentDataModel as _0x5f1ed1,DocumentFlavor as _0x402f0e,EDITOR_ACTIVATED as _0x5ec236,FOCUSING_COMMON_DRAWINGS as _0x5ab81f,FOCUSING_SLIDE as _0x1e26ef,HorizontalAlign as _0x4918fc,ICommandService as _0x51671c,IConfigService as _0x506f4d,IContextService as _0x47d445,IImageIoService as _0x1316c1,IPermissionService as _0x5a2236,IUniverInstanceService as _0x1c0185,ImageSourceType as _0x488828,Inject as _0x41ffca,Injector as _0x4b3b2f,LocaleService as _0x494027,Optional as _0x6a14ff,Plugin as _0x52fe5c,PresetListType as _0x28baf8,RxDisposable as _0x272548,ThemeService as _0x59fee4,Tools as _0xdc70f2,UniverInstanceType as _0x1b0a97,VerticalAlign as _0x9c0db6,WrapStrategy as _0x5d1e12,createParagraphId as _0x63a614,generateRandomId as _0x2b8786,merge as _0x4e092b,toDisposable as _0x2123f0,touchDependencies as _0x481344}from'@univerjs/core';import{CURSOR_TYPE as _0x30421b,DocumentSkeleton as _0x7ebfb1,DocumentViewModel as _0x2f964c,Documents as _0xe5be9a,IRenderManagerService as _0x49825b,RENDER_CLASS_TYPE as _0x128426,Rect as _0x369919,Transform as _0x3c1d46,UniverRenderEnginePlugin as _0x422f66,VERTICAL_ROTATE_ANGLE as _0x321b3c,Vector2 as _0x33f54f,pxToNum as _0x299ed1,resolveDrawingEffectMasks as _0x3ad634}from'@univerjs/engine-render';import{BuiltInUIPart as _0x24a75b,ComponentManager as _0x2a5658,ContextMenuGroup as _0x1c7b87,FONT_SIZE_LIST as _0x2c2312,FontFamilyDropdown as _0x5bcadb,IContextMenuService as _0x3cf1b5,IDialogService as _0x3f3fcc,IMenuManagerService as _0x2f0348,IRibbonService as _0x52937d,IShortcutService as _0x162e17,IUIPartsService as _0x5f13cd,IconManager as _0xed296f,KeyCode as _0x4d163f,MenuItemType as _0x34fe51,MenuManagerPosition as _0x2aba4b,MetaKeys as _0x25ec42,MobileDrawer as _0x1965df,MobileFontFamilyDropdown as _0x791ed8,MobileMenu as _0xad5b7d,RibbonPosition as _0x5a1751,RibbonStartGroup as _0xc69295,connectInjector as _0x3a101e,getMenuHiddenObservable as _0x49a1b6,useDependency as _0x41e5c1,useObservable as _0x45a1ca}from'@univerjs/ui';import{BehaviorSubject as _0x4d5205,Observable as _0x766530,Subscription as _0x2fe5e8,combineLatest as _0x192b14,from as _0x405327,map as _0x20d0c3,merge as _0x3b9eaa,of as _0x538a76,startWith as _0x46fdcb}from'rxjs';import{Button as _0x186c8e,Checkbox as _0x48da8d,ColorPicker as _0x3a25a2,ConfigContext as _0x15df7b,Dropdown as _0x8e5066,InputNumber as _0x39a1de,MobileColorPicker as _0x4e3a3f,MobileSelect as _0x371845,Select as _0x7dc713,Separator as _0x103320,Tooltip as _0x2b411f,borderClassName as _0x2e4a4b,clsx as _0x34395c}from'@univerjs/design';import{useCallback as _0x20984c,useContext as _0xc305a4,useEffect as _0x2f2258,useMemo as _0x33f933,useRef as _0x5b8390,useState as _0x504879}from'react';import{Fragment as _0x149616,jsx as _0x455c20,jsxs as _0x30f958}from'react/jsx-runtime';import{AdjustHeightDoubleIcon as _0x32f892,AdjustWidthDoubleIcon as _0x320b22,AlignBottomIcon as _0x4b47f3,AlignTextBothIcon as _0x488b64,AlignTopIcon as _0x406144,AllBorderIcon as _0x1000bb,BoldIcon as _0x4fb6d4,CancelMergeIcon as _0x519ea5,CheckMarkIcon as _0x4b3c87,CloseIcon as _0x488ccc,DeleteColumnDoubleIcon as _0x21a208,DeleteIcon as _0x14a244,DeleteRowDoubleIcon as _0x26aad9,DownBorderDoubleIcon as _0x501398,FontColorDoubleIcon as _0xbf7f8d,FontSizeIncreaseIcon as _0x305928,FontSizeReduceIcon as _0x5f102a,HorizontalBorderDoubleIcon as _0x311f6d,HorizontallyIcon as _0x15fb00,InnerBorderDoubleIcon as _0x18f717,InsertRowAboveDoubleIcon as _0x42fc83,InsertRowBelowDoubleIcon as _0x7d12ef,ItalicIcon as _0x8f99bc,LeftBorderDoubleIcon as _0x2e80da,LeftInsertColumnDoubleIcon as _0x56c99b,LeftJustifyingIcon as _0x9e03d4,MergeAllIcon as _0x109256,MoreDownIcon as _0xb728d6,MoreLeftIcon as _0x381735,MoreRightIcon as _0x5c9102,NoBorderIcon as _0x509dec,OrderIcon as _0x53b5c0,OuterBorderDoubleIcon as _0x1e538d,PaintBucketDoubleIcon as _0x430b00,PaintIcon as _0x16c2d5,RightBorderDoubleIcon as _0x22d20c,RightInsertColumnDoubleIcon as _0x5d154e,RightJustifyingIcon as _0x47272f,ShapeBackgroundColorDoubleIcon as _0x565857,StrikethroughIcon as _0x2f2343,TableIcon as _0x4871d5,TextIcon as _0x267c75,UnderlineIcon as _0x1c7e39,UnorderIcon as _0x308075,UpBorderDoubleIcon as _0x4a293a,VerticalBorderDoubleIcon as _0x3d4f9d,VerticalCenterIcon as _0x4afd92}from'@univerjs/icons';import{FillStyleTabsEditor as _0x4262d1,keepFloatingToolbarPanelInteraction as _0x5142db,resolveShapeTextDocumentPageHeight as _0x1b5e3c}from'@univerjs-pro/shape-editor-ui';import{BulletListTypePicker as _0x54c75a,OrderListTypePicker as _0x225c4a,convertBodyToHtml as _0x45c727,convertClipboardHtmlToDocumentData as _0x41cc18,removeClipboardHtmlImages as _0x30df11}from'@univerjs/docs-ui';import{getImageSize as _0xecd06b}from'@univerjs/drawing';import{extractClipboardHtmlImageFiles as _0x3fce0e,extractClipboardImageFiles as _0x3bc7bf,extractClipboardTextImageFile as _0x2d1d0d,isClipboardTextImage as _0x1f5ab2,normalizeClipboardImageFile as _0x351a08}from'@univerjs/drawing-ui';import{UnitAction as _0x425808}from'@univerjs/protocol';import{convertPlainTextTableToHtml as _0x169fee,parseHtmlTableClipboard as _0x2648ac}from'@univerjs-pro/docs-table';import{createPortal as _0x3f588b}from'react-dom';const ei=_0x5defcf(0x1f9),ti={'floatingToolbar':!0x1};var ni=_0x5defcf(0x6fd),ri=_0x5defcf(0x3b5);function ii(_0x3d4849){'@babel/helpers - typeof';const _0x444856=_0x5defcf;return ii=typeof Symbol=='function'&&typeof Symbol[_0x444856(0x64c)]==_0x444856(0x1f5)?function(_0x24b79e){return typeof _0x24b79e;}:function(_0x420233){const _0x43b135=_0x444856;return _0x420233&&typeof Symbol=='function'&&_0x420233[_0x43b135(0x6de)]===Symbol&&_0x420233!==Symbol[_0x43b135(0x334)]?_0x43b135(0x1f5):typeof _0x420233;},ii(_0x3d4849);}function ai(_0x2baab1,_0x26aff3){const _0x565ac7=_0x5defcf;if(ii(_0x2baab1)!=_0x565ac7(0x583)||!_0x2baab1)return _0x2baab1;var _0x1b208b=_0x2baab1[Symbol[_0x565ac7(0x64f)]];if(_0x1b208b!==void 0x0){var _0x23af2e=_0x1b208b[_0x565ac7(0x283)](_0x2baab1,_0x26aff3||_0x565ac7(0x25a));if(ii(_0x23af2e)!='object')return _0x23af2e;throw TypeError(_0x565ac7(0x70e));}return(_0x26aff3===_0x565ac7(0x4ee)?String:Number)(_0x2baab1);}function oi(_0x218a0e){const _0x28314a=_0x5defcf;var _0x27b0cd=ai(_0x218a0e,_0x28314a(0x4ee));return ii(_0x27b0cd)=='symbol'?_0x27b0cd:_0x27b0cd+'';}function q(_0x46124b,_0x3f6da8,_0x1b0d18){const _0xbdcbda=_0x5defcf;return(_0x3f6da8=oi(_0x3f6da8))in _0x46124b?Object[_0xbdcbda(0x1c0)](_0x46124b,_0x3f6da8,{'value':_0x1b0d18,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x46124b[_0x3f6da8]=_0x1b0d18,_0x46124b;}var J=class extends _0x5c53fd{constructor(..._0x428f32){const _0x34eaa1=_0x5defcf;super(..._0x428f32),q(this,_0x34eaa1(0x1b6),new _0x4d5205(null)),q(this,'selection$',this[_0x34eaa1(0x1b6)][_0x34eaa1(0x6f9)]()),q(this,_0x34eaa1(0x1ac),null),q(this,_0x34eaa1(0x486),0x0);}[_0x5defcf(0x4ca)](_0x4a84c4=0x1f4,_0x26804e=Date[_0x5defcf(0x68c)]()){const _0x5fd7f7=_0x5defcf;this['_tableInternalInteractionUntil']=Math[_0x5fd7f7(0x6bf)](this[_0x5fd7f7(0x486)],_0x26804e+_0x4a84c4);}[_0x5defcf(0x6a1)](_0x3ec99d=Date['now']()){return _0x3ec99d<=this['_tableInternalInteractionUntil'];}[_0x5defcf(0x1cf)](){const _0x2e7faf=_0x5defcf;return this[_0x2e7faf(0x1ac)]?Y(this[_0x2e7faf(0x1ac)]):null;}[_0x5defcf(0x31e)](){const _0x18aa8b=_0x5defcf;this[_0x18aa8b(0x1ac)]=null,this[_0x18aa8b(0x1b6)][_0x18aa8b(0x38b)](null);}[_0x5defcf(0x63f)](_0x496a34){const _0x51948a=_0x5defcf;let _0x5c42c6=this[_0x51948a(0x53c)](_0x496a34,_0x51948a(0x1a8),{'startRow':_0x496a34[_0x51948a(0x4b9)],'endRow':_0x496a34[_0x51948a(0x4b9)],'startColumn':_0x496a34[_0x51948a(0x3f1)],'endColumn':_0x496a34[_0x51948a(0x3f1)]},{'row':_0x496a34['row'],'column':_0x496a34[_0x51948a(0x3f1)]},{'row':_0x496a34[_0x51948a(0x4b9)],'column':_0x496a34['column']});return this[_0x51948a(0x1ac)]=_0x5c42c6,this[_0x51948a(0x1b6)]['next'](Y(_0x5c42c6)),Y(_0x5c42c6);}[_0x5defcf(0x256)](_0x2aa644){const _0x2a704e=_0x5defcf;let _0x448150=si(_0x2aa644),_0x25e961=this['_buildSelection'](_0x2aa644,_0x2a704e(0x483),_0x448150,{'row':_0x448150[_0x2a704e(0x1d3)],'column':_0x448150[_0x2a704e(0x3cc)]},{'row':_0x448150[_0x2a704e(0x573)],'column':_0x448150[_0x2a704e(0x351)]});return this[_0x2a704e(0x1ac)]=_0x25e961,this[_0x2a704e(0x1b6)][_0x2a704e(0x38b)](Y(_0x25e961)),Y(_0x25e961);}[_0x5defcf(0x55d)](_0x567516){const _0x2bec6c=_0x5defcf;let _0x1efe85=Math[_0x2bec6c(0x4a7)](_0x567516[_0x2bec6c(0x1d3)],_0x567516[_0x2bec6c(0x573)]),_0x57cae5=Math['max'](_0x567516['startRow'],_0x567516['endRow']),_0x10d47d=this[_0x2bec6c(0x53c)](_0x567516,_0x2bec6c(0x4b9),{'startRow':_0x1efe85,'endRow':_0x57cae5,'startColumn':0x0,'endColumn':Math[_0x2bec6c(0x6bf)](0x0,_0x567516[_0x2bec6c(0x67b)]-0x1)});return this[_0x2bec6c(0x1ac)]=_0x10d47d,this[_0x2bec6c(0x1b6)][_0x2bec6c(0x38b)](Y(_0x10d47d)),Y(_0x10d47d);}[_0x5defcf(0x5e9)](_0x52f302){const _0x22b363=_0x5defcf;let _0x24f110=Math['min'](_0x52f302[_0x22b363(0x3cc)],_0x52f302['endColumn']),_0x42f235=Math[_0x22b363(0x6bf)](_0x52f302['startColumn'],_0x52f302[_0x22b363(0x351)]),_0x20ed6d=this[_0x22b363(0x53c)](_0x52f302,_0x22b363(0x3f1),{'startRow':0x0,'endRow':Math[_0x22b363(0x6bf)](0x0,_0x52f302[_0x22b363(0x1a7)]-0x1),'startColumn':_0x24f110,'endColumn':_0x42f235});return this[_0x22b363(0x1ac)]=_0x20ed6d,this[_0x22b363(0x1b6)][_0x22b363(0x38b)](Y(_0x20ed6d)),Y(_0x20ed6d);}['selectTable'](_0x1fad4b){const _0x1af442=_0x5defcf;let _0x5c36ba=this[_0x1af442(0x53c)](_0x1fad4b,_0x1af442(0x690),{'startRow':0x0,'endRow':Math[_0x1af442(0x6bf)](0x0,_0x1fad4b[_0x1af442(0x1a7)]-0x1),'startColumn':0x0,'endColumn':Math[_0x1af442(0x6bf)](0x0,_0x1fad4b[_0x1af442(0x67b)]-0x1)});return this['_selection']=_0x5c36ba,this['_selection$'][_0x1af442(0x38b)](Y(_0x5c36ba)),Y(_0x5c36ba);}[_0x5defcf(0x528)](_0x132cd0){const _0x11220a=_0x5defcf;let _0x39f011=this[_0x11220a(0x53c)](_0x132cd0,_0x11220a(0x590),{'startRow':_0x132cd0[_0x11220a(0x4b9)],'endRow':_0x132cd0[_0x11220a(0x4b9)],'startColumn':_0x132cd0[_0x11220a(0x3f1)],'endColumn':_0x132cd0['column']},{'row':_0x132cd0[_0x11220a(0x4b9)],'column':_0x132cd0[_0x11220a(0x3f1)]},{'row':_0x132cd0[_0x11220a(0x4b9)],'column':_0x132cd0[_0x11220a(0x3f1)]});return this[_0x11220a(0x1ac)]=_0x39f011,this[_0x11220a(0x1b6)][_0x11220a(0x38b)](Y(_0x39f011)),Y(_0x39f011);}[_0x5defcf(0x2c2)](){const _0x4052a9=_0x5defcf;this['_tableInternalInteractionUntil']=0x0,this[_0x4052a9(0x1b6)]['complete'](),super[_0x4052a9(0x2c2)]();}['_buildSelection'](_0x5cfbc4,_0x352f3e,_0x190ba1,_0x4d6f61,_0x443d60){const _0x50cfbe=_0x5defcf;let _0x12b896={'unitId':_0x5cfbc4['unitId'],'subUnitId':_0x5cfbc4[_0x50cfbe(0x6b4)],'elementId':_0x5cfbc4[_0x50cfbe(0x60f)],'tableId':_0x5cfbc4[_0x50cfbe(0x6a7)],'kind':_0x352f3e,'ranges':[_0x190ba1]};return _0x4d6f61&&(_0x12b896['anchor']=_0x4d6f61),_0x443d60&&(_0x12b896[_0x50cfbe(0x61b)]=_0x443d60),_0x12b896;}};function si(_0x571e2a){const _0x5bdede=_0x5defcf;return{'startRow':Math[_0x5bdede(0x4a7)](_0x571e2a['startRow'],_0x571e2a['endRow']),'endRow':Math[_0x5bdede(0x6bf)](_0x571e2a[_0x5bdede(0x1d3)],_0x571e2a['endRow']),'startColumn':Math[_0x5bdede(0x4a7)](_0x571e2a[_0x5bdede(0x3cc)],_0x571e2a['endColumn']),'endColumn':Math[_0x5bdede(0x6bf)](_0x571e2a[_0x5bdede(0x3cc)],_0x571e2a['endColumn'])};}function Y(_0x35567f){const _0x59b424=_0x5defcf;let _0x1decb3={..._0x35567f,'ranges':_0x35567f[_0x59b424(0x649)][_0x59b424(0x295)](_0xa9cea4=>({..._0xa9cea4}))};return _0x35567f[_0x59b424(0x6c5)]&&(_0x1decb3[_0x59b424(0x6c5)]={..._0x35567f[_0x59b424(0x6c5)]}),_0x35567f[_0x59b424(0x61b)]&&(_0x1decb3[_0x59b424(0x61b)]={..._0x35567f[_0x59b424(0x61b)]}),_0x1decb3;}const X={'InsertRowAbove':_0x5defcf(0x475),'InsertRowBelow':_0x5defcf(0x279),'InsertColumnLeft':'insert-column-left','InsertColumnRight':_0x5defcf(0x466),'DeleteRows':_0x5defcf(0x418),'DeleteColumns':'delete-columns','MergeCells':_0x5defcf(0x198),'UnmergeCells':_0x5defcf(0x4fa),'DistributeRows':_0x5defcf(0x3c7),'DistributeColumns':_0x5defcf(0x69b)};function Z(_0x12f5a2){const _0x2a42aa=_0x5defcf;let _0x8f0b50=_0x12f5a2==null?void 0x0:_0x12f5a2['ranges'][0x0];return!_0x12f5a2||!_0x8f0b50?null:{'unitId':_0x12f5a2[_0x2a42aa(0x379)],'subUnitId':_0x12f5a2[_0x2a42aa(0x6b4)],'elementId':_0x12f5a2[_0x2a42aa(0x60f)],'tableId':_0x12f5a2[_0x2a42aa(0x6a7)],'range':_0x4a84fc(_0x8f0b50)};}function ci(_0x29a572,_0x568d18,_0x511bdc){const _0x2316c3=_0x5defcf;let _0x776502=!!Z(_0x568d18);return[ki(X[_0x2316c3(0x208)],_0x511bdc['insertRows'],_0x776502),ki(X[_0x2316c3(0x66a)],_0x511bdc[_0x2316c3(0x5c6)],_0x776502),ki(X['InsertColumnLeft'],_0x511bdc['insertColumns'],_0x776502),ki(X[_0x2316c3(0x5ab)],_0x511bdc[_0x2316c3(0x60d)],_0x776502),ki(X[_0x2316c3(0x6e2)],_0x511bdc[_0x2316c3(0x556)],Ti(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x450)],_0x511bdc[_0x2316c3(0x3eb)],Ei(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x3ec)],_0x511bdc['mergeCells'],Ci(_0x568d18,_0x29a572)),ki(X[_0x2316c3(0x218)],_0x511bdc['unmergeCells'],wi(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x3f7)],_0x511bdc[_0x2316c3(0x546)],Di(_0x29a572,_0x568d18)),ki(X[_0x2316c3(0x50d)],_0x511bdc[_0x2316c3(0x546)],Oi(_0x29a572,_0x568d18))];}function li(_0x3de704,_0xeccffb,_0x257e62,_0xab1fda){const _0x462244=_0x5defcf;let _0x3abc1c=Z(_0xeccffb);if(!_0x3abc1c||!_0xeccffb)return null;let {unitId:_0xe198cb,subUnitId:_0x384a19,elementId:_0x1b936c,tableId:_0x1274ac,range:_0x25d43b}=_0x3abc1c;switch(_0x257e62){case X[_0x462244(0x208)]:return{'commandId':_0xab1fda['insertRows'],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'rowIndex':_0x25d43b[_0x462244(0x1d3)],'count':ji(_0x25d43b)}};case X[_0x462244(0x66a)]:return{'commandId':_0xab1fda[_0x462244(0x5c6)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'rowIndex':_0x25d43b[_0x462244(0x573)]+0x1,'count':ji(_0x25d43b)}};case X[_0x462244(0x233)]:return{'commandId':_0xab1fda[_0x462244(0x60d)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'columnIndex':_0x25d43b['startColumn'],'count':Mi(_0x25d43b)}};case X[_0x462244(0x5ab)]:return{'commandId':_0xab1fda[_0x462244(0x60d)],'params':{'unitId':_0xe198cb,'subUnitId':_0x384a19,'elementId':_0x1b936c,'tableId':_0x1274ac,'columnIndex':_0x25d43b[_0x462244(0x351)]+0x1,'count':Mi(_0x25d43b)}};case X[_0x462244(0x6e2)]:return Ti(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x556)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'startRow':_0x25d43b[_0x462244(0x1d3)],'endRow':_0x25d43b[_0x462244(0x573)]}}:null;case X[_0x462244(0x450)]:return Ei(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x3eb)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'startColumn':_0x25d43b[_0x462244(0x3cc)],'endColumn':_0x25d43b[_0x462244(0x351)]}}:null;case X['MergeCells']:return Ci(_0xeccffb,_0x3de704)?{'commandId':_0xab1fda['mergeCells'],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'range':_0x25d43b}}:null;case X[_0x462244(0x218)]:return wi(_0x3de704,_0xeccffb)?{'commandId':_0xab1fda[_0x462244(0x4d6)],'params':{'unitId':_0xe198cb,'tableId':_0x1274ac,'range':_0x25d43b}}:null;case X[_0x462244(0x3f7)]:return Ai(_0x3de704,_0xeccffb,_0xab1fda[_0x462244(0x546)],_0xe198cb,_0x1274ac,_0x25d43b,_0x462244(0x4b9));case X[_0x462244(0x50d)]:return Ai(_0x3de704,_0xeccffb,_0xab1fda[_0x462244(0x546)],_0xe198cb,_0x1274ac,_0x25d43b,'column');}}function ui(_0x26dec7,_0x6d4b1d,_0x25f979){const _0x393bab=_0x5defcf;let _0x1bc220=_0x25f979?_0x4a84fc(_0x25f979):{'startRow':0x0,'endRow':_0x26dec7[_0x393bab(0x360)][_0x393bab(0x393)]-0x1,'startColumn':0x0,'endColumn':_0x26dec7[_0x393bab(0x5ca)][_0x393bab(0x393)]-0x1};if(_0x6d4b1d==='row'){let _0x1373a8=_0xdc70f2[_0x393bab(0x597)](_0x26dec7[_0x393bab(0x360)]),_0xabc1c=Math['max'](0x0,Math['min'](_0x1bc220[_0x393bab(0x1d3)],_0x1373a8[_0x393bab(0x393)]-0x1)),_0x2f11d3=Math[_0x393bab(0x6bf)](_0xabc1c,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x573)],_0x1373a8[_0x393bab(0x393)]-0x1)),_0x10fea7=_0x1373a8['slice'](_0xabc1c,_0x2f11d3+0x1),_0x72665e=_0x10fea7[_0x393bab(0x57e)]((_0x41196e,_0x2802fb)=>_0x41196e+(_0x2802fb[_0x393bab(0x65e)]??0x18),0x0)/Math['max'](0x1,_0x10fea7[_0x393bab(0x393)]);for(let _0x10e1e3=_0xabc1c;_0x10e1e3<=_0x2f11d3;_0x10e1e3+=0x1)_0x1373a8[_0x10e1e3]['height']=_0x72665e;return{'rows':_0x1373a8};}let _0x3e698f=_0xdc70f2[_0x393bab(0x597)](_0x26dec7['columns']),_0x39ad10=Math[_0x393bab(0x6bf)](0x0,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x3cc)],_0x3e698f[_0x393bab(0x393)]-0x1)),_0x2afe76=Math[_0x393bab(0x6bf)](_0x39ad10,Math[_0x393bab(0x4a7)](_0x1bc220[_0x393bab(0x351)],_0x3e698f[_0x393bab(0x393)]-0x1)),_0x5a3767=_0x3e698f[_0x393bab(0x313)](_0x39ad10,_0x2afe76+0x1),_0x22b2e2=_0x5a3767[_0x393bab(0x57e)]((_0x11c45b,_0x2977d8)=>_0x11c45b+_0x2977d8[_0x393bab(0x58e)],0x0)/Math[_0x393bab(0x6bf)](0x1,_0x5a3767[_0x393bab(0x393)]);for(let _0x170c68=_0x39ad10;_0x170c68<=_0x2afe76;_0x170c68+=0x1)_0x3e698f[_0x170c68][_0x393bab(0x58e)]=_0x22b2e2;return{'columns':_0x3e698f};}function di(_0x5509f0,_0x158b78,_0x1dfe40){let _0x307aee=_0xdc70f2['deepClone'](_0x5509f0['rows']),_0x1c8214=_0x4a84fc(_0x158b78);return _0x2d4702(_0x307aee,_0x1c8214,(_0x5c0d24,_0x1a206a,_0x303a50)=>{const _0x4058c3=_0x428e;if(_0x1dfe40[_0x4058c3(0x71b)]===_0x4058c3(0x511)){_0x5c0d24[_0x4058c3(0x242)]=_0x3a813d(_0x5c0d24[_0x4058c3(0x242)],{'verticalAlign':Vi(_0x1dfe40[_0x4058c3(0x38a)])});return;}let _0xc37c34=_0x4058c3(0x382)+_0x5509f0['id']+'_'+_0x1a206a+'_'+_0x303a50;_0x5c0d24[_0x4058c3(0x1b7)]=Ni(_0x5c0d24['textData'],_0x1dfe40[_0x4058c3(0x38a)],_0xc37c34);}),{'rows':_0x307aee};}function fi(_0x4f23f2,_0x19eb56,_0x5e8451){const _0x67d7f2=_0x5defcf;let _0x20a434=_0xdc70f2[_0x67d7f2(0x597)](_0x4f23f2[_0x67d7f2(0x360)]),_0x4f65d0=_0x4a84fc(_0x19eb56);return _0x2d4702(_0x20a434,_0x4f65d0,(_0x1a7f54,_0x434c0d,_0x4dbb57)=>{const _0x30050f=_0x67d7f2;var _0x36a6b3;let _0x28725a=_0x30050f(0x382)+_0x4f23f2['id']+'_'+_0x434c0d+'_'+_0x4dbb57,_0x1a8cda=_0xdc70f2[_0x30050f(0x597)](_0x1a7f54['textData']??zi(_0x28725a)),_0x362772=_0x1a8cda['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x4cc723=_0x2b8786(0x6);_0x1a7f54[_0x30050f(0x1b7)]={..._0x1a8cda,'id':_0x1a8cda['id']??_0x28725a,'body':{..._0x362772,'paragraphs':((_0x36a6b3=_0x362772[_0x30050f(0x307)])!=null&&_0x36a6b3[_0x30050f(0x393)]?_0x362772[_0x30050f(0x307)]:[Bi()])[_0x30050f(0x295)](_0x19d128=>{const _0x23581d=_0x30050f;var _0x4e56df,_0x2fcb34;if(_0x5e8451===null){let _0x36c3c9={..._0x19d128};return delete _0x36c3c9[_0x23581d(0x30c)],_0x36c3c9;}return{..._0x19d128,'bullet':{'nestingLevel':((_0x4e56df=_0x19d128[_0x23581d(0x30c)])==null?void 0x0:_0x4e56df[_0x23581d(0x441)])??0x0,'textStyle':((_0x2fcb34=_0x19d128['bullet'])==null?void 0x0:_0x2fcb34['listType'])===_0x5e8451?_0x19d128[_0x23581d(0x30c)][_0x23581d(0x4e6)]:{'fs':0x14},'listId':_0x4cc723,'listType':_0x5e8451}};})}};}),{'rows':_0x20a434};}function pi(_0x24669a,_0x3e59ec,_0x178a25){const _0xd6b32b=_0x5defcf;if(!_0x24669a||!_0x3e59ec)return{'active':!0x1,'mixed':!0x1};let _0x138e91=_0x4a84fc(_0x3e59ec),_0x48e728=[];for(let _0x40f77a=_0x138e91['startRow'];_0x40f77a<=_0x138e91[_0xd6b32b(0x573)];_0x40f77a+=0x1)for(let _0x27cbde=_0x138e91[_0xd6b32b(0x3cc)];_0x27cbde<=_0x138e91[_0xd6b32b(0x351)];_0x27cbde+=0x1){var _0x55e5ad;let _0x3b7e6b=((_0x55e5ad=_0x24669a[_0xd6b32b(0x360)][_0x40f77a])==null||(_0x55e5ad=_0x55e5ad['cells'][_0x27cbde])==null||(_0x55e5ad=_0x55e5ad[_0xd6b32b(0x1b7)])==null||(_0x55e5ad=_0x55e5ad[_0xd6b32b(0x291)])==null?void 0x0:_0x55e5ad[_0xd6b32b(0x307)])??[];_0x48e728[_0xd6b32b(0x6e6)](..._0x3b7e6b['length']?_0x3b7e6b[_0xd6b32b(0x295)](_0x4fbfc4=>{const _0xb2ceb7=_0xd6b32b;var _0x42b9b1;let _0x479359=(_0x42b9b1=_0x4fbfc4['bullet'])==null?void 0x0:_0x42b9b1[_0xb2ceb7(0x46c)];return mi(_0x479359)?_0x479359:void 0x0;}):[void 0x0]);}let _0x5ec494=_0x48e728[_0xd6b32b(0x439)](_0x2db2b5=>!!(_0x2db2b5!=null&&_0x2db2b5[_0xd6b32b(0x357)](_0x178a25))),_0x4a739b=_0x48e728[_0xd6b32b(0x393)]>0x0&&_0x5ec494[_0xd6b32b(0x393)]===_0x48e728[_0xd6b32b(0x393)];return{'active':_0x4a739b,'mixed':_0x5ec494[_0xd6b32b(0x393)]>0x0&&!_0x4a739b,'value':_0x4a739b&&_0x5ec494[_0xd6b32b(0x214)](_0x8ab9d4=>_0x8ab9d4===_0x5ec494[0x0])?_0x5ec494[0x0]:void 0x0};}function mi(_0x4e5e05){const _0x294127=_0x5defcf;return _0x4e5e05!==void 0x0&&Object[_0x294127(0x267)](_0x28baf8)[_0x294127(0x638)](_0x4a0dab=>_0x4a0dab===_0x4e5e05);}function hi(_0x2760c9,_0x4ea84a,_0x2dbab3){return gi(_0x2760c9,_0x4ea84a,_0x2dbab3?{'type':_0x772d0f['Solid'],'color':_0x2dbab3,'alpha':0x1}:void 0x0);}function gi(_0x34df8a,_0x35f927,_0x5d655a){const _0x3f2799=_0x5defcf;let _0x3694e6=_0xdc70f2[_0x3f2799(0x597)](_0x34df8a['rows']),_0x4db5c0=_0x4a84fc(_0x35f927);return _0x2d4702(_0x3694e6,_0x4db5c0,_0x3fe2bf=>{const _0x5c6324=_0x3f2799;_0x3fe2bf[_0x5c6324(0x242)]=_0x3a813d(_0x3fe2bf[_0x5c6324(0x242)],{'fill':_0x5d655a});}),{'rows':_0x3694e6};}function _i(_0x4e5f0a,_0x2a0818,_0x698dd8){const _0x49163e=_0x5defcf;return vi(_0x4e5f0a,_0x2a0818,_0x698dd8?{'type':_0x49163e(0x71a),'color':_0x698dd8,'opacity':0x1}:void 0x0);}function vi(_0x40c9c1,_0x2ca9cc,_0x15360a){const _0x39a5e8=_0x5defcf;let _0x2089b5=_0xdc70f2[_0x39a5e8(0x597)](_0x40c9c1[_0x39a5e8(0x360)]),_0x4025ca=_0x4a84fc(_0x2ca9cc);return _0x2d4702(_0x2089b5,_0x4025ca,(_0x3b73c1,_0x181b4a,_0x45345f)=>{const _0x21b83a=_0x39a5e8;let _0x752a02=_0x21b83a(0x382)+_0x40c9c1['id']+'_'+_0x181b4a+'_'+_0x45345f;_0x3b73c1['textData']=Pi(_0x3b73c1['textData'],_0x15360a,_0x752a02);}),{'rows':_0x2089b5};}function yi(_0x146874,_0x4f26b5,_0x1596a4){const _0x3a26f9=_0x5defcf;let _0x1f2410=_0xdc70f2[_0x3a26f9(0x597)](_0x146874[_0x3a26f9(0x360)]),_0x3cd27a=_0x4a84fc(_0x4f26b5);return _0x2d4702(_0x1f2410,_0x3cd27a,_0x45ab14=>{const _0x1f67a6=_0x3a26f9;var _0x58852c;let _0x186303=((_0x58852c=_0x45ab14[_0x1f67a6(0x242)])==null?void 0x0:_0x58852c['borders'])??{},_0x3cc522=_0x45d338=>({..._0x4c26dd(),..._0x45d338,..._0x1596a4});_0x45ab14[_0x1f67a6(0x242)]=_0x3a813d(_0x45ab14[_0x1f67a6(0x242)],{'borders':{'top':_0x3cc522(_0x186303['top']),'right':_0x3cc522(_0x186303['right']),'bottom':_0x3cc522(_0x186303[_0x1f67a6(0x341)]),'left':_0x3cc522(_0x186303[_0x1f67a6(0x479)])}});}),{'rows':_0x1f2410};}function bi(_0xb268b7,_0x14e2ac,_0x54b080,_0x24bfc9){const _0x2becdf=_0x5defcf;let _0x294487=_0xdc70f2[_0x2becdf(0x597)](_0xb268b7[_0x2becdf(0x360)]);return{'rows':_0x544576(_0x294487,_0x14e2ac,_0x54b080,_0x24bfc9)[_0x2becdf(0x360)]};}function xi(_0xc6483e,_0x30f503,_0x1585a4){return Li(_0xc6483e,_0x30f503,{'ff':_0x1585a4});}function Si(_0xc6eb40,_0x4af2f3,_0x21aebb){return Li(_0xc6eb40,_0x4af2f3,{'fs':_0x21aebb});}function Ci(_0x48f0a6,_0xa26006){const _0x3749c2=_0x5defcf;let _0x3ebafd=Z(_0x48f0a6);return!!_0x3ebafd&&_0x719977(_0x3ebafd[_0x3749c2(0x483)])&&(!_0xa26006||!wi(_0xa26006,_0x48f0a6));}function wi(_0x5c0f46,_0x32c321){const _0x10f10b=_0x5defcf;let _0x2a7fe7=Z(_0x32c321);if(!_0x2a7fe7||!_0x5c0f46)return!0x1;let _0x41727d=_0x4a84fc(_0x2a7fe7[_0x10f10b(0x483)]);for(let _0x2c4153=_0x41727d[_0x10f10b(0x1d3)];_0x2c4153<=_0x41727d[_0x10f10b(0x573)];_0x2c4153+=0x1)for(let _0x5134c1=_0x41727d[_0x10f10b(0x3cc)];_0x5134c1<=_0x41727d[_0x10f10b(0x351)];_0x5134c1+=0x1){let _0x139824=_0x44102f(_0x5c0f46,_0x2c4153,_0x5134c1);if(_0x139824&&_0x719977(_0x139824))return!0x0;}return!0x1;}function Ti(_0x16189b,_0x5c7a4c){const _0x554725=_0x5defcf;let _0x58f6d2=Z(_0x5c7a4c);return!_0x58f6d2||!_0x16189b?!0x1:_0x16189b[_0x554725(0x360)][_0x554725(0x393)]>_0x58f6d2[_0x554725(0x483)][_0x554725(0x573)]-_0x58f6d2[_0x554725(0x483)][_0x554725(0x1d3)]+0x1;}function Ei(_0x8f7e63,_0xc35f7f){const _0x142b32=_0x5defcf;let _0xf8bdc6=Z(_0xc35f7f);return!_0xf8bdc6||!_0x8f7e63?!0x1:_0x8f7e63[_0x142b32(0x5ca)][_0x142b32(0x393)]>_0xf8bdc6[_0x142b32(0x483)]['endColumn']-_0xf8bdc6['range'][_0x142b32(0x3cc)]+0x1;}function Di(_0x2de95f,_0x2aa016){const _0x22c357=_0x5defcf;let _0x536c36=Z(_0x2aa016);return!_0x536c36||!_0x2de95f?!0x1:_0x536c36[_0x22c357(0x483)][_0x22c357(0x573)]-_0x536c36[_0x22c357(0x483)]['startRow']+0x1>0x1;}function Oi(_0x33c143,_0x4283b2){const _0x190c9f=_0x5defcf;let _0x4b9556=Z(_0x4283b2);return!_0x4b9556||!_0x33c143?!0x1:_0x4b9556[_0x190c9f(0x483)][_0x190c9f(0x351)]-_0x4b9556[_0x190c9f(0x483)]['startColumn']+0x1>0x1;}function ki(_0x3dbd66,_0x395c31,_0x21a7e9){return{'id':_0x3dbd66,'commandId':_0x395c31,'enabled':_0x21a7e9};}function Ai(_0x2fe0f4,_0x5422b3,_0xebabeb,_0x30f7bc,_0x134940,_0x3921de,_0x4c3744){const _0xd74df8=_0x5defcf;return!_0x2fe0f4||!(_0x4c3744===_0xd74df8(0x4b9)?Di(_0x2fe0f4,_0x5422b3):Oi(_0x2fe0f4,_0x5422b3))?null:{'commandId':_0xebabeb,'params':{'unitId':_0x30f7bc,'tableId':_0x134940,'patch':ui(_0x2fe0f4,_0x4c3744,_0x3921de)}};}function ji(_0x50e132){const _0x57c6da=_0x5defcf;return _0x50e132[_0x57c6da(0x573)]-_0x50e132['startRow']+0x1;}function Mi(_0x3048bb){const _0x832e5a=_0x5defcf;return _0x3048bb[_0x832e5a(0x351)]-_0x3048bb[_0x832e5a(0x3cc)]+0x1;}function Ni(_0x374641,_0x2e5ba9,_0x519cc7){const _0x583ba9=_0x5defcf;var _0x2b4000;let _0x2b77ce=_0xdc70f2[_0x583ba9(0x597)](_0x374641??zi(_0x519cc7)),_0x2f569e=_0x2b77ce[_0x583ba9(0x291)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x441844=(_0x2b4000=_0x2f569e['paragraphs'])!=null&&_0x2b4000[_0x583ba9(0x393)]?_0x2f569e[_0x583ba9(0x307)]:[Bi()],_0x115175=_0x2b77ce[_0x583ba9(0x6e1)]??{};return{..._0x2b77ce,'id':_0x2b77ce['id']??_0x519cc7,'body':{..._0x2f569e,'dataStream':_0x2f569e['dataStream']??'\x0d\x0a','paragraphs':_0x441844[_0x583ba9(0x295)](_0x1814e7=>({..._0x1814e7,'paragraphStyle':{..._0x1814e7[_0x583ba9(0x6a3)],'horizontalAlign':_0x2e5ba9}}))},'documentStyle':{..._0x115175,'renderConfig':{..._0x115175['renderConfig'],'horizontalAlign':_0x2e5ba9}}};}function Pi(_0x8e8aec,_0x48f0a5,_0x1c68f6){const _0x2acdc3=_0x5defcf;var _0x28250f,_0x4d2444;let _0x460d7e=_0xdc70f2[_0x2acdc3(0x597)](_0x8e8aec??zi(_0x1c68f6)),_0x188c74=_0x460d7e[_0x2acdc3(0x291)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0xfa3825=_0x188c74[_0x2acdc3(0x41f)]??'\x0d\x0a',_0x402c12=Math[_0x2acdc3(0x6bf)](0x0,_0xfa3825[_0x2acdc3(0x393)]-0x2),_0xfa487a=Ii(_0x48f0a5),_0x22725c=Fi({...(_0x28250f=_0x460d7e[_0x2acdc3(0x6e1)])==null?void 0x0:_0x28250f[_0x2acdc3(0x4e6)]},_0x48f0a5,_0xfa487a),_0x4ff93d=(_0x188c74[_0x2acdc3(0x46a)]??[])[_0x2acdc3(0x295)](_0x4e3c5f=>{let _0xdceb81=Fi({..._0x4e3c5f['ts']},_0x48f0a5,_0xfa487a);return{..._0x4e3c5f,'ts':_0xdceb81};});return _0x48f0a5&&_0x402c12>0x0&&_0x4ff93d[_0x2acdc3(0x393)]===0x0&&_0x4ff93d[_0x2acdc3(0x6e6)]({'st':0x0,'ed':_0x402c12,'ts':{..._0xfa487a?{'cl':{'rgb':_0xfa487a}}:{},'textFill':_0x48f0a5}}),{..._0x460d7e,'id':_0x460d7e['id']??_0x1c68f6,'body':{..._0x188c74,'dataStream':_0xfa3825,'paragraphs':(_0x4d2444=_0x188c74[_0x2acdc3(0x307)])!=null&&_0x4d2444[_0x2acdc3(0x393)]?_0x188c74[_0x2acdc3(0x307)]:[Bi()],'textRuns':_0x4ff93d},'documentStyle':{..._0x460d7e[_0x2acdc3(0x6e1)],'textStyle':_0x22725c}};}function Fi(_0x44158f,_0x587527,_0x3d27a0){return _0x587527?_0x44158f['textFill']=_0x587527:delete _0x44158f['textFill'],_0x3d27a0?_0x44158f['cl']={'rgb':_0x3d27a0}:delete _0x44158f['cl'],_0x44158f;}function Ii(_0x1b1692){const _0x320d9e=_0x5defcf;if(!_0x1b1692||_0x1b1692[_0x320d9e(0x495)]===_0x320d9e(0x6bc))return(_0x1b1692==null?void 0x0:_0x1b1692[_0x320d9e(0x495)])===_0x320d9e(0x6bc)?_0x320d9e(0x4f0):void 0x0;if(_0x1b1692['type']==='gradient'){var _0x13a91a;return((_0x13a91a=_0x1b1692[_0x320d9e(0x5ef)])==null||(_0x13a91a=_0x13a91a[_0x320d9e(0x36c)])==null||(_0x13a91a=_0x13a91a[0x0])==null?void 0x0:_0x13a91a[_0x320d9e(0x1e2)])??_0x1b1692[_0x320d9e(0x1e2)];}return _0x1b1692[_0x320d9e(0x1e2)];}function Li(_0x3647f2,_0x2ead0d,_0x53e172){const _0x580a17=_0x5defcf;let _0x6acedf=_0xdc70f2[_0x580a17(0x597)](_0x3647f2['rows']),_0x5deb05=_0x4a84fc(_0x2ead0d);return _0x2d4702(_0x6acedf,_0x5deb05,(_0x25f0a7,_0x8d9c70,_0x129392)=>{const _0x184c20=_0x580a17;let _0x32ef9f='SLIDE_TABLE_CELL_'+_0x3647f2['id']+'_'+_0x8d9c70+'_'+_0x129392;_0x25f0a7[_0x184c20(0x1b7)]=Ri(_0x25f0a7[_0x184c20(0x1b7)],_0x53e172,_0x32ef9f);}),{'rows':_0x6acedf};}function Ri(_0x193e43,_0x23eb01,_0xf9dcf4){const _0x21eec3=_0x5defcf;var _0x136416,_0x17fac1;let _0x52ae0d=_0xdc70f2[_0x21eec3(0x597)](_0x193e43??zi(_0xf9dcf4)),_0xfd5505=_0x52ae0d['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0xe99689=_0xfd5505[_0x21eec3(0x41f)]??'\x0d\x0a',_0x3aac92=Math[_0x21eec3(0x6bf)](0x0,_0xe99689[_0x21eec3(0x393)]-0x2),_0x1a3147=(_0xfd5505[_0x21eec3(0x46a)]??[])[_0x21eec3(0x295)](_0x9dda6d=>({..._0x9dda6d,'ts':{..._0x9dda6d['ts'],..._0x23eb01}}));return _0x3aac92>0x0&&_0x1a3147[_0x21eec3(0x393)]===0x0&&_0x1a3147[_0x21eec3(0x6e6)]({'st':0x0,'ed':_0x3aac92,'ts':_0x23eb01}),{..._0x52ae0d,'id':_0x52ae0d['id']??_0xf9dcf4,'body':{..._0xfd5505,'dataStream':_0xe99689,'paragraphs':(_0x136416=_0xfd5505[_0x21eec3(0x307)])!=null&&_0x136416[_0x21eec3(0x393)]?_0xfd5505['paragraphs']:[Bi()],'textRuns':_0x1a3147},'documentStyle':{..._0x52ae0d[_0x21eec3(0x6e1)],'textStyle':{...(_0x17fac1=_0x52ae0d[_0x21eec3(0x6e1)])==null?void 0x0:_0x17fac1['textStyle'],..._0x23eb01}}};}function zi(_0x43a080){return{'id':_0x43a080,'body':{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},'documentStyle':{}};}function Bi(){return{'startIndex':0x0,'paragraphId':_0x63a614(new Set())};}function Vi(_0x41504a){const _0x535cd5=_0x5defcf;return _0x41504a===_0x9c0db6['MIDDLE']?_0x1285f3[_0x535cd5(0x422)]:_0x41504a===_0x9c0db6['BOTTOM']?_0x1285f3['Bottom']:_0x1285f3[_0x535cd5(0x29d)];}const Hi={'insertRows':_0x565bf8['id'],'insertColumns':_0x4a4b69['id'],'deleteRows':_0x5a5531['id'],'deleteColumns':_0x16427a['id'],'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id'],'updateTable':_0x296a89['id']},Ui=[{'title':_0x5defcf(0x1a5)},{'title':_0x5defcf(0x309),'color':_0x5defcf(0x309)},{'title':_0x5defcf(0x2dd),'color':_0x5defcf(0x2dd)},{'title':_0x5defcf(0x408),'color':_0x5defcf(0x408)},{'title':_0x5defcf(0x545),'color':_0x5defcf(0x545)},{'title':_0x5defcf(0x3dd),'color':_0x5defcf(0x3dd)},{'title':_0x5defcf(0x59c),'color':_0x5defcf(0x59c)},{'title':'red.100','color':_0x5defcf(0x3be)}],Wi=[{'title':_0x5defcf(0x1a5)},{'title':_0x5defcf(0x6c9),'color':'gray.900'},{'title':_0x5defcf(0x22a),'color':_0x5defcf(0x22a)},{'title':_0x5defcf(0x458),'color':_0x5defcf(0x458)},{'title':_0x5defcf(0x66c),'color':'orange.600'},{'title':_0x5defcf(0x3d9),'color':_0x5defcf(0x3d9)},{'title':_0x5defcf(0x2d0),'color':_0x5defcf(0x2d0)},{'title':_0x5defcf(0x578),'color':'blue.600'},{'title':_0x5defcf(0x51e),'color':_0x5defcf(0x51e)}],Gi=wa(_0x5defcf(0x21b),X['InsertRowAbove']),Ki=wa(_0x5defcf(0x5d5),X[_0x5defcf(0x66a)]),qi=wa(_0x5defcf(0x56d),X['InsertColumnLeft']),Ji=wa(_0x5defcf(0x43e),X['InsertColumnRight']),Yi=wa(_0x5defcf(0x1f3),X[_0x5defcf(0x6e2)]),Xi=wa(_0x5defcf(0x396),X[_0x5defcf(0x450)]),Zi=wa(_0x5defcf(0x2f0),X['MergeCells']),Qi=wa('slide.operation.slide-table-unmerge-cells',X[_0x5defcf(0x218)]),$i=wa(_0x5defcf(0x608),X[_0x5defcf(0x3f7)]),ea=wa('slide.operation.slide-table-distribute-columns',X[_0x5defcf(0x50d)]),ta={'id':_0x5defcf(0x3c5),'type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x37b43e=>_0x37b43e[_0x5defcf(0x621)](_0x51671c)[_0x5defcf(0x38f)](_0x3ae8b5['id'])},na={'id':'slide.operation.slide-table-cut-table','type':_0x49d1ef['OPERATION'],'handler':_0x3fbf83=>_0x3fbf83['get'](_0x51671c)[_0x5defcf(0x38f)](_0x4a70de['id'])},ra={'id':_0x5defcf(0x639),'type':_0x49d1ef['OPERATION'],'handler':_0xeaf07d=>{const _0x2df983=_0x5defcf;let _0x5c0c38=_0xeaf07d[_0x2df983(0x621)](_0x51671c),_0x582e15=_0xeaf07d[_0x2df983(0x621)](_0x462a1f),_0x19470d=_0xeaf07d[_0x2df983(0x621)](_0x2f1910),_0x5c16aa=_0xeaf07d['get'](J),_0x189117=_0x5c16aa[_0x2df983(0x1cf)](),_0x39d1c9=Z(_0x189117),_0x4eff72=_0x189117&&_0x39d1c9?{'unitId':_0x39d1c9[_0x2df983(0x379)],'subUnitId':_0x189117[_0x2df983(0x6b4)],'tableId':_0x39d1c9[_0x2df983(0x6a7)],'elementId':_0x39d1c9['elementId']}:null;if(!_0x4eff72){let _0x6ef635=_0x19470d[_0x2df983(0x6d0)](),_0x1a867d=_0x6ef635[_0x2df983(0x625)]['length']===0x1?_0x6ef635['selectedIds'][0x0]:void 0x0,_0x3d98ac=_0x6ef635[_0x2df983(0x278)]&&_0x1a867d?_0x582e15[_0x2df983(0x3a0)]({..._0x6ef635[_0x2df983(0x278)],'drawingId':_0x1a867d}):null;_0x6ef635['context']&&_0x1a867d&&(_0x3d98ac==null?void 0x0:_0x3d98ac[_0x2df983(0x571)]['type'])===_0x16fba9[_0x2df983(0x3f9)]&&(_0x4eff72={'unitId':_0x6ef635[_0x2df983(0x278)][_0x2df983(0x379)],'subUnitId':_0x6ef635[_0x2df983(0x278)][_0x2df983(0x6b4)],'tableId':_0x3d98ac['element'][_0x2df983(0x6a7)],'elementId':_0x1a867d});}if(!_0x4eff72)return!0x1;let _0x15be72=_0x5c0c38[_0x2df983(0x6d2)](_0x244512['id'],_0x4eff72);return _0x15be72&&(_0x5c16aa['clear'](),_0x19470d['clearSelection']()),_0x15be72;}};function ia(_0x795ed,_0x47aa94){return{'id':_0x795ed,'type':_0x49d1ef['OPERATION'],'handler':_0x103d95=>{const _0xa86147=_0x428e;let _0x5c432d=_0x103d95[_0xa86147(0x621)](_0x462a1f),_0x65cd0e=_0x103d95['get'](_0x2f1910)[_0xa86147(0x6d0)](),_0x4cb6ec=_0x65cd0e[_0xa86147(0x625)][_0xa86147(0x393)]===0x1?_0x65cd0e[_0xa86147(0x625)][0x0]:void 0x0;if(!_0x65cd0e[_0xa86147(0x278)]||!_0x4cb6ec)return!0x1;let _0x36d784=_0x5c432d[_0xa86147(0x3a0)]({..._0x65cd0e[_0xa86147(0x278)],'drawingId':_0x4cb6ec});if((_0x36d784==null?void 0x0:_0x36d784[_0xa86147(0x571)][_0xa86147(0x495)])!==_0x16fba9[_0xa86147(0x3f9)])return!0x1;let _0x4b5a6b=_0x5c432d[_0xa86147(0x4f2)](_0x65cd0e['context']['unitId'],_0x65cd0e[_0xa86147(0x278)][_0xa86147(0x6b4)]),_0x4775d3=_0x4b5a6b['indexOf'](_0x4cb6ec);if(_0x4775d3<0x0)return!0x1;let _0x5ae8d0=[..._0x4b5a6b];if(_0x47aa94===_0x4d1446[_0xa86147(0x20f)]&&_0x4775d3<_0x5ae8d0[_0xa86147(0x393)]-0x1)[_0x5ae8d0[_0x4775d3],_0x5ae8d0[_0x4775d3+0x1]]=[_0x5ae8d0[_0x4775d3+0x1],_0x5ae8d0[_0x4775d3]];else{if(_0x47aa94===_0x4d1446[_0xa86147(0x62a)]&&_0x4775d3>0x0)[_0x5ae8d0[_0x4775d3],_0x5ae8d0[_0x4775d3-0x1]]=[_0x5ae8d0[_0x4775d3-0x1],_0x5ae8d0[_0x4775d3]];else{if(_0x47aa94===_0x4d1446[_0xa86147(0x2e8)]&&_0x4775d3<_0x5ae8d0[_0xa86147(0x393)]-0x1)_0x5ae8d0[_0xa86147(0x258)](_0x4775d3,0x1),_0x5ae8d0[_0xa86147(0x6e6)](_0x4cb6ec);else{if(_0x47aa94===_0x4d1446['back']&&_0x4775d3>0x0)_0x5ae8d0[_0xa86147(0x258)](_0x4775d3,0x1),_0x5ae8d0[_0xa86147(0x501)](_0x4cb6ec);else return!0x1;}}}return _0x103d95[_0xa86147(0x621)](_0x51671c)['executeCommand'](_0x17dfbf['id'],{'unitId':_0x65cd0e[_0xa86147(0x278)][_0xa86147(0x379)],'subUnitId':_0x65cd0e['context'][_0xa86147(0x6b4)],'drawingIds':_0x5ae8d0});}};}const aa=ia('slide-table.operation.arrange-forward',_0x4d1446[_0x5defcf(0x20f)]),oa=ia(_0x5defcf(0x61a),_0x4d1446[_0x5defcf(0x62a)]),sa=ia(_0x5defcf(0x48a),_0x4d1446[_0x5defcf(0x2e8)]),ca=ia('slide-table.operation.arrange-back',_0x4d1446[_0x5defcf(0x54c)]),la=Ta('slide-table.operation.border-all',_0x4c5615[_0x5defcf(0x25b)]),ua=Ta(_0x5defcf(0x687),_0x4c5615[_0x5defcf(0x4ba)]),da=Ta(_0x5defcf(0x585),_0x4c5615['Inner']),fa=Ta(_0x5defcf(0x6fa),_0x4c5615[_0x5defcf(0x2d4)]),pa=Ea(_0x5defcf(0x613),{'axis':_0x5defcf(0x367),'value':_0x4918fc['LEFT']}),ma=Ea('slide-table.operation.align-center',{'axis':_0x5defcf(0x367),'value':_0x4918fc[_0x5defcf(0x5a4)]}),ha=Ea(_0x5defcf(0x563),{'axis':'horizontal','value':_0x4918fc[_0x5defcf(0x1d0)]}),ga=Ea('slide-table.operation.align-top',{'axis':_0x5defcf(0x511),'value':_0x9c0db6['TOP']}),_a=Ea(_0x5defcf(0x377),{'axis':_0x5defcf(0x511),'value':_0x9c0db6[_0x5defcf(0x4ce)]}),va=Ea(_0x5defcf(0x2f2),{'axis':_0x5defcf(0x511),'value':_0x9c0db6['BOTTOM']}),ya=Ui[_0x5defcf(0x295)]((_0x2fbc29,_0x4a6fc7)=>Da(_0x5defcf(0x56a)+_0x4a6fc7,_0x2fbc29)),ba=Wi[_0x5defcf(0x295)]((_0xb03288,_0x1f6606)=>Oa(_0x5defcf(0x2de)+_0x1f6606,_0xb03288)),xa=[Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,...ya,...ba];function Sa(_0x4b4353){const _0x5db402=_0x5defcf;return Z(_0x4b4353[_0x5db402(0x1cf)]());}function Ca(_0x33ae21,_0xc70615,_0x141ece){return li(_0x33ae21,_0xc70615,_0x141ece,Hi);}function wa(_0x3972c5,_0x23512c){const _0x25a6e7=_0x5defcf;return{'id':_0x3972c5,'type':_0x49d1ef[_0x25a6e7(0x253)],'handler'(_0xfa9c44){const _0x1801c3=_0x25a6e7;let _0x34d707=_0xfa9c44[_0x1801c3(0x621)](J)[_0x1801c3(0x1cf)](),_0x2cfac5=Z(_0x34d707);if(!_0x2cfac5)return!0x1;let _0x46bc4e=Ca(_0xfa9c44[_0x1801c3(0x621)](_0x161eee)[_0x1801c3(0x2aa)](_0x2cfac5[_0x1801c3(0x379)],_0x2cfac5[_0x1801c3(0x6a7)]),_0x34d707,_0x23512c);return _0x46bc4e?_0xfa9c44['get'](_0x51671c)[_0x1801c3(0x38f)](_0x46bc4e[_0x1801c3(0x595)],_0x46bc4e['params']):!0x1;}};}function Ta(_0x14dde0,_0x22aaa3){const _0x1a37d5=_0x5defcf;return{'id':_0x14dde0,'type':_0x49d1ef[_0x1a37d5(0x253)],'handler':_0x4ddb42=>{const _0x4a143d=_0x1a37d5;let _0x198338=Sa(_0x4ddb42[_0x4a143d(0x621)](J));if(!_0x198338)return!0x1;let _0x2fb8f8=_0x4ddb42[_0x4a143d(0x621)](_0x161eee)[_0x4a143d(0x2aa)](_0x198338[_0x4a143d(0x379)],_0x198338[_0x4a143d(0x6a7)]);return _0x2fb8f8?_0x4ddb42[_0x4a143d(0x621)](_0x51671c)[_0x4a143d(0x38f)](_0x296a89['id'],{'unitId':_0x198338[_0x4a143d(0x379)],'tableId':_0x198338[_0x4a143d(0x6a7)],'patch':bi(_0x2fb8f8,_0x198338[_0x4a143d(0x483)],_0x22aaa3)}):!0x1;}};}function Ea(_0xa6c341,_0x554d3d){const _0x1ffed8=_0x5defcf;return{'id':_0xa6c341,'type':_0x49d1ef[_0x1ffed8(0x253)],'handler':_0x6d8802=>{const _0x5e6ff3=_0x1ffed8;let _0x2af1bf=Sa(_0x6d8802['get'](J));if(!_0x2af1bf)return!0x1;let _0x4646a7=_0x6d8802[_0x5e6ff3(0x621)](_0x161eee)[_0x5e6ff3(0x2aa)](_0x2af1bf[_0x5e6ff3(0x379)],_0x2af1bf[_0x5e6ff3(0x6a7)]);return _0x4646a7?_0x6d8802[_0x5e6ff3(0x621)](_0x51671c)['executeCommand'](_0x296a89['id'],{'unitId':_0x2af1bf['unitId'],'tableId':_0x2af1bf['tableId'],'patch':di(_0x4646a7,_0x2af1bf[_0x5e6ff3(0x483)],_0x554d3d)}):!0x1;}};}function _0x236d(){const _0x136858=['getAncestorScale','width','_hideContextMenu','text','slides-table-ui.contextMenu.insertColumnLeft','small','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','_editorDisposable','commandId','slides-table-ui.editorToolbar.alignJustify','deepClone','Copy','_tableResourceService','unmerge','floatingToolbar','yellow.100','themeService','_initPointerDownContextMenu','_makeSceneDirty','_finishCellEditing','_fallbackVisibleSources','extend-left','slides-table-ui.editorToolbar.medium','CENTER','bold','SELECTOR','Right','disconnect','_instanceService','_scheduleActiveEditorLayoutSync','InsertColumnRight','getContextValue','slides-table-ui.editorToolbar.bandedColumns','inactive','resize-column','columnDelta','univer-flex\x20univer-items-center\x20univer-gap-2','univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','univer-size-6\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','getDirection','rtl','_drawInsertGuide','_updateTableControlHover','CONTENT','_resolveTableControlHit','ArrowUp','ShowToolbarIcon','_resolveCellHit','scroll','\x0a\x20\x20\x20\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-shadow-lg\x0a\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a','_resizeBoundary','insertIndex','backgroundColor','univer-hidden','univer-mt-3\x20univer-w-full','WRAP','exec','insertRows','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','_menuManagerService','slides-table-ui.editorToolbar.borderStyle','columns','sections','offsetY','resetCursor','register','AdjustHeightDoubleIcon','_injector','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-content-center\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-items-stretch\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','selection','_drawGrid','index','slide.operation.slide-table-insert-row-below','_handleKeyboardAction','SetCellStyle','cellStyle','getViewports','move','showContextualTab','slides-table-ui.editorToolbar.headerRow','slides-table-ui.contextual-ribbon','canvasRect','slides-table-ui.ribbon.cell-style-control','imageIoService','pictureInsert','slide-table-document-renderer','move-right','documentData','SHIFT','_handleStructuralHeaderPointerDown','mergeCells','_embedFloatingActiveService','selectColumns','unsubscribe','_drawTableHandle','rgba(','ROW_RESIZE','top','gradient','getAbsoluteVector','JUSTIFIED','getRenderUnitById','pipe','Dash','url(\x22','rotation','shift-arrow-down','slides-table-ui.editorToolbar.borderWidth','text/plain','alignMiddle','#409cff','slides-table-ui.tableSizePicker.','rect','slides-table-ui.editorToolbar.borderStyleDashDot','_getFloatingToolbarComponent','then','DRAWINGML','slides-table-ui.shapePanel.fill.picture.source','getTableSelectionColor','_editingCell','source','_renderModelCache','getCanvasElement','slide.operation.slide-table-distribute-rows','slides-table-ui.editorToolbar.tableBackgroundColor','_registerComponents','univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','minPositionOffset','insertColumns','_shouldShowTransformerForDrawing','elementId','true','columnWidths','_commitClipboardPatch','slide-table.operation.align-left','univer-bg-gray-50\x20univer-pb-3\x20dark:!univer-bg-gray-900','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2','_drawRowFills','_resolveTableClipboardTarget','engine','borderPresetInner','slide-table.operation.arrange-backward','focus','getBoundingClientRect','Vertical270','slides-table-ui.editorToolbar.borderPresetLeft','enableObjectsEvent','collapse','get','univer-bg-primary-50\x20univer-text-primary-600','makeDirty','_resolveActiveTableObject','selectedIds','image/*','initialText','109088XULULG','paddingTop','backward','oKey','ltr','_resizeDragListeners','toRgbString','_scheduleResizeHold','after','arrow-right','__editor_','borderRadius','getEditingCell','_handleTableControlPointerDown','mixed','SLIDE_TABLE_EDITOR_UNIT_ID','some','slide.operation.slide-table-delete-table','file','isDrawingObject','addEventListener','3760839uLfmSb','getParent','selectCell','onToggle','621865zmUWBO','</td>','_handleCellEditorPointerUp','_buildControlButtons','slides-table-ui.contextMenu.insert','minimal','univer-w-20','#FFFFFF','ranges','keys','hitTestResizeBoundary','iterator','TOP','tableChange$','toPrimitive','TAB','_restoreTableDrawingSelection','_activateWholeTableSelection','abd','insertGuide','slides-table-ui.editorToolbar.borderStyleSolid','Left','focus$','content','_textRenderCaches','visible','disableObjectsEvent','univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','_handleCellContextMenuPointerDown','height','registerComponent','preparePaste','_isControlHovered','slides-table-ui.shapePanel.fill.color','distance','_fitSize','outerShadow','DeleteRowDoubleIcon','scene','slides-table-ui.ribbon.floatingToolbar','borderPresetOuter','InsertRowBelow','querySelectorAll','orange.600','univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50','lastCol','-cell-','RIBBON','getAttribute','rgba(26,\x20115,\x20232,\x200.22)','_handleDirectResizePointerDown','orderIndex','5543626tySSWe','reorderGuide','_drawReorderGuide','strokeStyle','backgroundFill','editorId','columnCount','ARROW_DOWN','marginTop','tagName','applyPoint','mergeMenu','getLayoutTable','embedId','toString','from','isInteger','cancel','slide-table.operation.border-outer','removeEventListener','rev','_lastActiveTableContext','guideIndex','now','getDrawingData','slides-table-ui.mobile.operations','borders','table','_object','onReady','themeId','univer-flex\x20univer-flex-col\x20univer-gap-2','data-toolbar-item','px\x22>','slide-table.menu.distribute','card','toolbar','ORDER_LIST','distribute-columns','strike','layout','before','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','_getRenderTable','isTableInternalInteractionActive','transparent','paragraphStyle','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','alignBottom','univer-size-4\x20univer-text-current','tableId','hitTest','row-insert-dot','disabled','pageHeight','_drawTableEffects','slides-table-ui.contextMenu.distributeRows','active','showThemes','_controlHover','dataset','SetBorderPreset','_canCopyTable','subUnitId','_getState','ArrowDown','univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200','univer-h-12\x20univer-w-full\x20univer-justify-between\x20univer-text-base','_isCurrentEditorSession','univer-min-w-32\x20univer-p-1','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','none','_contextMenuService','_setTableControlState','max','decorate','tab','_isCellSelection','scaleY','isContentEditable','anchor','BUTTON','state$','isValid','gray.900','_draw','onSelectPreset','_floatingToolbarService','fontFamily','bBox','#ffffff','getSnapshot','setTableThemes','syncExecuteCommand','_handleResizeHover','edit','_syncTableMoveTransformerControls','set-cell-style','isHorizontal','getColorFromTheme','middle','Inner','_resizeHoverActive','DRAWING','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-lg','constructor','handleInput','flipY','documentStyle','DeleteRows','lineWidth','shadowBlur','slides-table-ui.shapePanel.fill.transparency','push','onScrollAfter$','slides-table-ui.contextMenu.deleteRow','effects','#d2e3fc','_drawControls','_enterCellStage','BottomIcon','slides-table-ui.editorToolbar.borderPresetInner','_initSelectionSynchronization','_selectRows','_disposeTextRenderCaches','start','lastRow','merge','focusCell','slides-table-ui.ribbon.arrangeBackward','column-select','inputType','asObservable','slide-table.operation.border-none','_clearResizeBoundary','alignTop','@univerjs-pro/slides-table-ui','viewportScrollX','getCurrentUnitOfType','_resolvePointerScenePoint','univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-px-3','composition-start','_resolveVisibleCellCache','createLinearGradient','keydown','copy','group','_getCenteredTransform','insideH','slides-table-ui.ribbon.cellStyle','_hoveredTrigger','<br>','slides-table-ui.editorToolbar.textColor','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','section','_commandService','_visibleCellCache','_insertClipboardImages','univer-block\x20univer-min-w-0','getActiveSlide','defaultPageSize','number','ArrowLeft','univer-grid\x20univer-gap-2','targetColumn','solid','axis','_updateRangeDrag','_rangeDragWindowCleanup','getOwnPropertyDescriptor','move-down','column-header','test','12yQoOdL','slides-table-ui.mobile.back','stopPropagation','outerBorderWidth','univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','Stretch','_handleTablePointerDown','_getActiveSlideContext','_getStructuralControlZoom','selectDrawings','slides-table-ui.contextMenu.distribute','_slideDrawingService','_setTableKeyboardFocus','borderWidth','src','_structuralInsertHoverObject','_handleClipboardCopy','InnerVertical','text-color','univer-p-2\x20univer-pt-1','merge-cells','_updateHeaderSelectionDrag','_openContextMenu','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2','arc','notchWidth','radial-gradient(circle,\x20','</tbody></table>','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-300','createElement','_controlState','background','enter','slides-table-ui.contextMenu.resetColor','START','rowCount','cell','_permissionService','_drawCellBorders','univer-m-0\x20univer-text-sm\x20univer-font-medium','_selection','_buildStructuralTriggers','_componentManager','slide-table-size-dialog','slides-table-ui.shapePanel.fill.noFill','picker','_resolveResizeHandle','elements','offsetX','_handleHitTestPointerDown','_selection$','textData','_isLastActiveTableSelected','createPattern','drawingId','getMatrix','borderDash','isValidThemeColor','vertexAngle','!univer-text-primary-600\x20dark:!univer-text-primary-300','defineProperty','sin','rgba(64,\x20156,\x20255,\x200.42)','_rowColumnMoveTarget','_commitCellStyle','onClick','theme','setTableThemePalette','getTableRenderModel','getTableSelection','slides-table-ui.structuralControls.selectColumn','includes','wrapStrategy','path','univer-size-4\x20univer-rounded-sm','getSelection','RIGHT','UniverSlidesTableUIPlugin','skewX','startRow','open','"','Enter','join','pictureSource','options','setData','_isSingleTableSelection','minHeight','abs','center','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center','payload','_resolveTableSnapshot','color','_activateDrawingTable','univer-flex\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','slide-table.operation.keyboard','CONTEXT_MENU','complete','clear-cells','getFocusOwner','_updateRowColumnMoveDrag','italic','univer-grid\x20univer-gap-2\x20univer-p-2','#1a73e8','univer-w-14','renderConfig','univer-flex\x20univer-items-center\x20univer-gap-3','opacity','_initResizeInteraction','slide.operation.slide-table-delete-rows','centerAngle','symbol','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20focus-visible:univer-outline\x20focus-visible:univer-outline-2\x20focus-visible:univer-outline-offset-1\x20focus-visible:univer-outline-primary-500\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:hover:!univer-bg-gray-800','univer-border-primary-500\x20univer-bg-primary-50','_resetTableInteraction','slides-table-ui.config','targetRow','deg,\x20','_isPointInStructuralTriggerEnvelope','univer-flex-1','univer-flex\x20univer-flex-col\x20univer-gap-3','has','dark:!univer-border-gray-700\x20dark:!univer-bg-gray-800','stage','_resolveResizeHit','#9fb2cc','univer-min-h-12\x20univer-whitespace-normal\x20univer-text-sm','_resolveObjectPoint','univer-overflow-y-auto','delete-row','InsertRowAbove','slides-table-ui.editorToolbar.borderPresetRight','_tableActivationStage','getData','OTHERS','slides-table-ui.shapePanel.fill.solidFill','setEnabled','forward','BULLET_LIST','format','_getSelectedHeaderRange','linear-gradient(135deg,\x20transparent\x2045%,\x20#ef4444\x2045%,\x20#ef4444\x2055%,\x20transparent\x2055%)','every','contentHeight','firstRow','selection$','UnmergeCells','[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:!univer-size-8','getSession','slide.operation.slide-table-insert-row-above','_embedFocusOwnerService','slides-table-ui.editorToolbar.borderPresetTop','resize','row-header','_drawCellTexts','isArray','_rangeDragContext','_cellHover','onPointerUp$','all','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','_shortcutService','slides-table-ui.editorToolbar.mergeCells','_registerIcons','gray.500','palette','_imageLoadingCache','_applyRangeDragSelection','_isControlSelected','shift-tab','univer-grid\x20univer-grid-cols-4\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','onCancel','addColorStop','InsertColumnLeft','tableTransform','addImageSourceCache','_imageIoService','structuralControls','minImageEdge','12PtmrxP','_updateCellHover','hitTestStructuralTriggerAtScenePoint','setHandler','univer-m-0\x20univer-text-base\x20univer-font-medium','Tab','!univer-h-6\x20univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full','Bottom','_setTableControlHover','style','_handleCellEditorKeyDown','dash','univer-box-border\x20univer-w-[360px]\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','#f1f3f4','getConfig','#F7FAFF','backspace','row-select','slides-table-ui.tableSizePicker.customSize','canvasScale','univer-sticky\x20univer-top-0\x20univer-z-10','split','slides-table-ui.ribbon.tableDesign','Gradient','getRealBound','univer-mb-3\x20last:univer-mb-0','OPERATION','_localeService','\x20style=\x22height:\x20','selectRange','slide.table-size.dialog','splice','_clearTableControlHover','default','All','onOpenChange','_selectTable','MergeAllIcon','slides-table-ui.editorToolbar.borderStyleDash','univer-w-auto','_layoutSource','saveImage','buttons','slide-table-size-picker','skipNextObservers','univer-flex\x20univer-h-6\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xs\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','values','moved','shapeTextOpticalVerticalAlign','cover','_handleKeyboardInput','key','structural','shift-arrow-up','slides-table-ui.contextMenu.deleteColumn','univer-fixed','ribbon','translateX(-50%)','offset','univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','toFixed','TopmostIcon','<col\x20style=\x22width:\x20','context','insert-row-below','univer-pointer-events-none\x20univer-fixed\x20univer-inset-0\x20univer-z-[1080]','slides-table-ui.tableSizePicker.rows','skewY','_previewTable','univer-fixed\x20univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-nowrap\x20univer-items-center\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','_syncActivationStageFromSelection','_executeRowColumnMove','InsertRowAboveDoubleIcon','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center\x20univer-justify-center\x20univer-gap-0.5\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-lg\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','call','_getInteractionController','<td','_handleCellEditorPointerMove','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','pointerup','48798269iZYxfL','translateWithPrecision','slides-table-ui.editorToolbar.unmergeCells','_layoutWidth','DELETE','listSessions','slides-table-ui.editorToolbar.alignLeft','univer-fill-primary-600','body','slides-table-ui.editorToolbar.alignTop','tab-backward','slides-table-ui.tableSizePicker.columns','map','dashDot','titleColumn','TRUE','themes','slides-table-ui.contextMenu.delete','BOTTOM','patch','Top','registerAdapter','currentColor','_resolveScenePointToEditorPoint','slides-table-ui.editorToolbar.alignCenter','insertText','_shouldDrawStructuralHeaders','setTableControlHover','isInGroup','_wireResizeObjects','LEFT','hoveredTrigger','cleanup','getTable','img','calculate','slide-table.contextMenu.cell','cut','_handleActiveTableControlPointerDown','apply','univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300','setLineDash','_setStructuralCursor','BACKSPACE','cos','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','1px\x20solid\x20','uComp','underline','text/html','_createContextMenuEvent','stringify','save','_editorLayoutSyncScheduled','version','update','slide-drawing-','dispose','angle','univer-w-[280px]\x20univer-p-3','_config','mobileSelection','localeService','_resolvePointerViewportPoint','slides-table-ui.editorToolbar.tableTheme','#c7d2e3','div','set-border-preset','styles','_resolveRenderModel','slide.insert-ribbon.table','green.600','getOrderedTopLevelDrawings','tab-peer','presets','None','_syncActiveEditorLayout','resolve','!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x20!univer-bg-transparent\x20!univer-px-1.5','setTableControlState','hitTestControlAtScenePoint','_resolveRowColumnMoveTarget','_tableMoveDragContext','handle','gray.100','slide-table.operation.text-color-','_activateTableObject','onChange','_resourceService','1788AbLtpG','scale','select','_wiredResizeObjectRefs','check','_syncTableSelectionToObject','front','trim','contenteditable','direction','_finishPendingStage1TableDrag','startEvent','slides-table-ui.editorToolbar.borderPresetInnerVertical','refreshTransformNotification','slide.operation.slide-table-merge-cells','univer-m-0\x20univer-flex\x20univer-h-full\x20univer-items-center\x20univer-gap-1\x20univer-border-none\x20univer-p-0\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50','slide-table.operation.align-bottom','slides-table-ui.mobile.collapse','Dot','_headerSelectionDragCleanup','extend-right','getObject','_uiPartsService','getActive','getTransformer','univer-box-border\x20univer-grid\x20univer-w-full\x20univer-gap-4\x20univer-p-4','textDirection','arrow-down','slides-table-ui.editorToolbar.minimal','allowDocsEditor','round','_commitCellDocument','!univer-text-base','univer-grid\x20univer-grid-cols-2\x20univer-gap-3','_isIsolatedEmbedChildSelection','slide-table-text-','transformVector2SceneCoord','paragraphs','_isTableDrawingActive','white','_slideInsertService','transparency','bullet','_finishHeaderSelectionDrag','slides-table-ui.editorToolbar.footerRow','_resizeWireScheduled','altKey','slides-table-ui.editorToolbar.orderedList','opticalVerticalOffset','slice','insertImage','getValue','edit-cell','vertical270','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-p-2\x20univer-text-gray-900\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','univer-flex\x20univer-flex-col\x20univer-items-center','resize-row','InnerHorizontal','univer-grid\x20univer-gap-0.5','univer-size-11','clear','_getMoveGestureScale','_handleTextEditingCellPointerDown','addObject$','documents','html','primary','slides-table-ui.editorToolbar.tableLook','TableIcon','URL','_init','title','_layoutTable','univer-col-span-2\x20univer-w-full','!univer-h-12\x20univer-bg-gray-0','repeat','getFocusDrawings','startObjectTop','labelKey','setSelectedControl','_session$','10Hjucmf','prototype','_clearSelectedCellContents','AdjustWidthDoubleIcon','hitTestFloatingStructuralTriggerAtScenePoint','#f7faff','univer-flex-1\x20univer-text-base\x20univer-font-medium','slides-table-ui.editorToolbar.noBorder','extend-up','_editorUIService','clipboardData','_hasActiveStructuralControlState','textContent','onHorizontalAlign','bottom','floor','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','insertTableSnapshot','preferOffset','_previewCellDocument','_hideTableDesignTab','pageOffsetLeft','getViewport','controlButtonMode','groupId','tile','input','_tableThemes','operations','slide-table.menu.insert','endColumn','_handleDoubleClick','wrap','\x20×\x20','outerBorderColor','paragraphId','startsWith','getCellTextRect','startObjectLeft','slides-table-ui.editorToolbar.fontSize','currentOptions','setFallbackVisible','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','bandRow','UNSPECIFIED','rows','bestMatch','target','composition','#5f6368','table-cell','_table','horizontal','univer-pointer-events-auto','_transformerVisibilityService','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','icon','stops','slides-table-ui.editorToolbar.fontFamily','canvas','slides-table-ui.mobile.close','beginPath','_updateStructuralControlHover','_drawSelection','pageOffsetTop','lineTo','alignLeft','_bindRangeDragWindowEvents','slide-table.operation.align-middle','add','unitId','Solid','RightInsertColumnDoubleIcon','GROUP','fillRect','startPoint','setTableSelection','invert','ARROW_LEFT','SLIDE_TABLE_CELL_','primary.600','indexOf','verticalAlign','aba','getInverseCoord','ArrowRight','_pendingHeaderSelection','value','next','enabled$','observe','slides-table-ui.editorToolbar.border','executeCommand','SUBITEMS','_handler','clientX','length','fill','slides-table-ui.ribbon.text','slide.operation.slide-table-delete-columns','rowspan=\x22','registerRenderModule','_resolveEditorLayout','_finishRangeDrag','theme-preview','outerBorderRadius','objectKey','translate','_drawInsertDots','getDrawingByParam','_finishTableMoveDrag','ARROW_UP','isHit','pages','function','moveTo','label','compositionstart','ghost','_univerInstanceService','LAYOUT','sessionId','univer-appearance-none\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20active:univer-bg-primary-50','slide-table-floating-toolbar','univer-w-28','transform','_handleCellEditorPointerDown','setInputHandler','stretch','_selectColumns','1.0.2','_drawStructuralHeaderRect','setContextValue','setResizeBoundary','tables','updateControl','rowSpan','_insertService','toggle','red.100','UUID','set','_zoom','ribbon-text-background','resolved','slides-table-ui.ribbon.arrangeForward','slide.operation.slide-table-copy-table','classType','distribute-rows','table-handle','onToggleStyle','slides-table-ui.editorToolbar.borderPresetOuter','asc','startColumn','setEditingCell','dot','fontSize','descriptor','slides-table-ui.ribbon.styles-control','UNIVER_SLIDE','selectedStructuralRange','mergeState','fillStyle','dropdown','_resolveInsertDotAtScenePoint','univer-grid-cols-4','yellow.700','ARROW_RIGHT','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_handleResizePointerDown','green.100','_setTableCellHover','4\x203','_startSelectionHandleDrag','draw','_initCommands','zIndex','rowDelta','textColor','_layoutRevision','slides-table-ui.shapePanel.fill.gradientFill','_startTableMoveDrag','viewportScrollY','_alignmentGuideService','deleteColumns','MergeCells','univer-text-xs','divides','<','_finishResizeDrag','column','stopTextSelectionDrag','_resolveInsertDotTriggerForObject','action','hidden','univer-flex\x20univer-items-center\x20univer-gap-1','DistributeRows','pageWidth','Table','crossOrigin','_ownsStructuralCursor','showOptions','light','fallbackImageHeight','univer-h-11\x20univer-min-w-0\x20univer-flex-1\x20univer-text-sm','elementIdMap','isFinite','var(--univer-primary-600)','FALSE','registerShortcut','cells','univer-h-12','univer-h-12\x20univer-w-full','primary.100','tableBorderColor','textBackground','model','pointercancel','clearSelectedObjects','_shouldHideCellTextForEditor','disposeWithMe','_headerSelectionDragState','onPointerMove$','univer-border-primary-600\x20univer-bg-primary-50','slides-table-ui.editorToolbar.alignMiddle','_openSelectionEditor','DashDot','multiply','textFill','delete-rows','alignCenter','MoveUpIcon','shadowOffsetY','_resetResizeCursor','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20hover:univer-text-primary-600\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','cacheKey','dataStream','_drawTableOutline','_resolveCurrentTableDrawing','Middle','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','_resolvePictureFill','_editorSessionId','slides-table-ui.editorToolbar.textFormat','_initNativeInputListeners','measurement','svg','_requestedHeight','_resolveActiveSelectionForKeyboard','slide.menu.insert.table','anonymous','drawing','toLowerCase','hitTestCellAtScenePoint','verticalAlignOptions','onChangeOptions','reverse','_resolveTableTriggerHit','slides-table-ui.editorToolbar.strikethrough','tab-forward','onload','filter','getId','univer-mb-2\x20univer-flex\x20univer-items-center\x20univer-justify-between','shift-arrow-right','_buildActiveTableTriggers','slide.operation.slide-table-insert-column-right','children','editor','nestingLevel','25NeKHjD','move-up','univer-grid\x20univer-gap-1','titleRow','slides-table-ui.editorToolbar.borderStyleDot','parseInt','setCursor','_getDependencies','#d8e8ff','signature','paste','childUnitId','getActualSize','slides-table-ui.editorToolbar.increaseFontSize','DeleteColumns','_resizeDragContext','#0b57d0','_isExternalDrawingSelection','onSelect','diamond','#1F1F1F','compositionend','red.600','canHandleNativeInput','border','_tableThemePalette','slide-table-floating-toolbar-popup','span','sequenceFrame','vMerge','getEnabled','find','_themeService','setTable','delete-table','linear','insert-column-right','ancestorTransform','hostUnitId','_imageNativeCache','textRuns','_resolveTableObjectFromContext','listType','startTransform','<table><colgroup>','_slideDrawingStateService','_resolveSelectedTableDrawing','widthClassName','onPointerDown$','column-insert-dot','_startStage1TableBodyPointer','insert-row-above','slides-table-ui.ribbon.styles','table-theme','onStarting','left','nativeEvent','_tableDesignVisible','borderColor','bounds','defaultPrevented','univer-grid\x20univer-grid-cols-3\x20univer-gap-2','tableIdByElementId','visible$','_rowColumnMoveState','range','boundaryIndex','right','_tableInternalInteractionUntil','picture','bucket','slides-table-ui.editorToolbar.tableBorderColor','slide-table.operation.arrange-front','univer-max-h-[420px]\x20univer-w-[420px]','replace','_activeEditorContextKey','fallbackImageWidth','hitTestHandle','getActiveViewportByCoord','univer-h-12\x20univer-text-lg','convert','region','currentStyleId','type','slides-table-ui.editorToolbar.alignBottom','editable','alpha','querySelector','click','isComposing','setCellStyle','borderPresetAll','CancelMergeIcon','FOCUSING_SLIDE_TABLE','slides-table-ui.mobile.edit','session$','_drawingStateService','createRadialGradient','hypot','</colgroup><tbody>','getConnectionSites','min','hMerge','7400YUsRYW','DeleteColumnDoubleIcon','getImageSourceCache','COLUMN_RESIZE','slides-table-ui.editorToolbar.bulletList','_handleClipboardCut','univer-absolute\x20univer-right-0.5\x20univer-top-0.5\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-primary-600\x20univer-text-gray-0\x20univer-shadow-sm\x20rtl:univer-left-0.5\x20rtl:univer-right-auto','clickFallbackTimer','styleId','isNaN','_drawStructuralHeaders','_configService','pptxTable','background-color:\x20','_iconManager','strokeWidth','row','Outer','getResource','clientY','_initShortcuts','_enabled','size','POINTER','quadraticCurveTo','extend','_renderManagerService','position','columnSpan','font','67820kinfXx','parseFromString','_ribbonService','markTableInternalInteraction','viewportHeight','_startSelectionRangeDrag','setPreviewTable','MIDDLE','tableBackgroundColor','roundRect','_shouldDrawInsertDots','_drawGuideLine','viewBound','_getHandles','_isTextEditing','unmergeCells','compact','onTransformChange$','_hitTestService','innerWidth','slides-table-ui.editorToolbar.firstColumn','pasteStandard','_resolveScenePoint','targetUnitId','forEach','univer-mt-4\x20univer-text-xl\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','triggerContextMenu','slides-table-ui.mobile.expand','<tr','end','univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-border-gray-300\x20dark:!univer-border-gray-600','textStyle','_controlButtonMode','_setTableObjectKeyboardFocus','insideV','univer-grid\x20univer-h-11\x20univer-w-full\x20univer-grid-cols-5\x20univer-overflow-hidden\x20univer-rounded-sm','univer-block\x20univer-w-5\x20univer-rounded-full\x20univer-bg-current','metaKey','_refreshRegistry','string','delta','rgba(0,\x200,\x200,\x200)','_isStructuralRangeSelected','getDrawingOrder','insertCompositionText','_updatePendingStage1TableDrag','max-content','params','margins','sourceType','drawImage','unmerge-cells','shadowColor','univer-flex\x20univer-h-8\x20univer-w-32\x20univer-items-center\x20univer-justify-start\x20univer-gap-2\x20univer-rounded-md\x20univer-border-0\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-700','findIndex','_isNonFullscreenFloatingEmbedChildSelection','DeleteIcon','_updateResizeDrag','unshift','_resolveTablePoint','_hideTableTransformerControls','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','_imageLoadSubscriptions','slides-table-ui.table-design.styles-control','glyphGroup','current','</tr>','slides-table-ui.editorToolbar.italic','slides-table-ui.editorToolbar.textBackgroundColor','#E8F1FF','DistributeColumns','slides-table-ui.contextMenu.deleteTable','cellByOrigin','>','vertical','tableThemePalette','_isTableTextEditing','_getTextRenderCache','stage2','textFormat','_embedMountService','mode','rgb','tableThemes','_shouldDrawControls','_openCellEditor','_handleClipboardPaste','purple.600','_renderContext','_retainActiveCellEditor','kind','univer-cursor-pointer\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors','_setResizeCursor','insertTable','delete','4\x202\x201\x202','resources','enterTextMode','_fallbackVisible$','slides-table-ui.ribbon.text-control','activationStage','lastPoint','button','slides-table-ui.contextMenu.insertColumnRight','univer-flex\x20univer-items-center\x20univer-justify-center','_handleSceneDoubleClick','_tableSelectionService','remove','subscribe','arrow-up','getVisible','pendingTable','univer-p-3','clip','firstCol','OVERFLOW','move-left','_buildSelection','univer-flex\x20univer-flex-col\x20univer-text-gray-900\x20dark:!univer-text-gray-100','_scheduleWireResizeObjects','Vertical','files','colSpan','render','textBackgroundColor','slides-table-ui.insertToolbar.table','blue.100','updateTable','restore','setLocaleService','lines','_inputHandler','1\x203','back','_configureSelectionControls','stroke','direction$','univer-size-3','slides-table-ui.contextMenu.insertRowAbove','create','colspan=\x22','custom','_isStructuralHeaderHovered','deleteRows','setTableCellHover','_cancelTableMoveDrag','border-','_handleStructuralInsertTrigger','Picture','_pendingStage1TableDragContext','selectRows','onPointerCancel$','univer-w-full','#111827','_contextService','FOCUSING_SLIDE_TABLE_OBJECT','slide-table.operation.align-right','_handleSelectedTableBodyPointer','cellAtPosition','7yqohNM','hostAnchorId','setCollapsedIds','radial','slide-table.operation.background-color-','_drawCellHover','_updateTableMoveDrag','slide.operation.slide-table-insert-column-left','_keyboardService','close','_enabled$','element','tablist','endRow','preventDefault','horizontalAlign','_clearStructuralInsertHoverObject','slides-table-ui.editorToolbar.underline','blue.600','slides-table-ui.contextMenu.insertRowBelow','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-11\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','scaleX','_isActiveOuterChromeHit','slides-table-ui.editorToolbar.alignRight','reduce','_selectResolvedCell','_prepareResizeSelection','packageName','subscribeEvent','object','_resolveCellDocumentData','slide-table.operation.border-inner','startIndex','&','flipX','univer-truncate','beforeinput','_isActiveFloatingEmbedHostSelection','enabled'];_0x236d=function(){return _0x136858;};return _0x236d();}function Da(_0x7ee4bd,_0x3e1bec){const _0x27eba0=_0x5defcf;return{'id':_0x7ee4bd,'title':_0x3e1bec[_0x27eba0(0x329)],'type':_0x49d1ef[_0x27eba0(0x253)],'handler':_0x171885=>{const _0x527ead=_0x27eba0;let _0x29a1f7=Sa(_0x171885[_0x527ead(0x621)](J));if(!_0x29a1f7)return!0x1;let _0x34ce47=_0x171885['get'](_0x161eee)['getTable'](_0x29a1f7[_0x527ead(0x379)],_0x29a1f7[_0x527ead(0x6a7)]);return _0x34ce47?_0x171885[_0x527ead(0x621)](_0x51671c)[_0x527ead(0x38f)](_0x296a89['id'],{'unitId':_0x29a1f7[_0x527ead(0x379)],'tableId':_0x29a1f7['tableId'],'patch':hi(_0x34ce47,_0x29a1f7[_0x527ead(0x483)],ka(_0x171885,_0x3e1bec[_0x527ead(0x1e2)]))}):!0x1;}};}function Oa(_0x2f316e,_0x137d83){const _0x3f0b87=_0x5defcf;return{'id':_0x2f316e,'title':_0x137d83[_0x3f0b87(0x329)],'type':_0x49d1ef['OPERATION'],'handler':_0xfb420b=>{const _0x5b3b26=_0x3f0b87;let _0x8c872a=Sa(_0xfb420b[_0x5b3b26(0x621)](J));if(!_0x8c872a)return!0x1;let _0xc554a9=_0xfb420b['get'](_0x161eee)[_0x5b3b26(0x2aa)](_0x8c872a[_0x5b3b26(0x379)],_0x8c872a[_0x5b3b26(0x6a7)]);return _0xc554a9?_0xfb420b['get'](_0x51671c)[_0x5b3b26(0x38f)](_0x296a89['id'],{'unitId':_0x8c872a[_0x5b3b26(0x379)],'tableId':_0x8c872a['tableId'],'patch':_i(_0xc554a9,_0x8c872a[_0x5b3b26(0x483)],ka(_0xfb420b,_0x137d83[_0x5b3b26(0x1e2)]))}):!0x1;}};}function ka(_0x2a8214,_0x4918d4){const _0x238de9=_0x5defcf;if(!_0x4918d4)return;let _0x45ad0b=_0x2a8214[_0x238de9(0x621)](_0x59fee4);return _0x45ad0b[_0x238de9(0x1bd)](_0x4918d4)?_0x45ad0b['getColorFromTheme'](_0x4918d4):_0x4918d4;}function Aa(_0x449922){const _0x3564ea=_0x5defcf;let _0x2b1b45=_0x449922[_0x3564ea(0x621)](J)['getSelection'](),_0x2fa85a=Z(_0x2b1b45);return Ci(_0x2b1b45,_0x2fa85a?_0x449922[_0x3564ea(0x621)](_0x161eee)[_0x3564ea(0x2aa)](_0x2fa85a['unitId'],_0x2fa85a[_0x3564ea(0x6a7)]):null);}function ja(_0x5d5b7d){const _0x3d4e04=_0x5defcf;let _0x3f6006=_0x5d5b7d[_0x3d4e04(0x621)](J)[_0x3d4e04(0x1cf)](),_0x1447a1=Z(_0x3f6006);return wi(_0x1447a1?_0x5d5b7d[_0x3d4e04(0x621)](_0x161eee)[_0x3d4e04(0x2aa)](_0x1447a1[_0x3d4e04(0x379)],_0x1447a1['tableId']):null,_0x3f6006);}function Ma(_0x47f3c7){const _0x181803=_0x5defcf;let _0xcf7fe0=_0x47f3c7[_0x181803(0x621)](J)[_0x181803(0x1cf)](),_0x1c0755=Z(_0xcf7fe0);return Ti(_0x1c0755?_0x47f3c7[_0x181803(0x621)](_0x161eee)['getTable'](_0x1c0755['unitId'],_0x1c0755[_0x181803(0x6a7)]):null,_0xcf7fe0);}function Na(_0x242d19){const _0x26af5a=_0x5defcf;let _0x3aabe8=_0x242d19[_0x26af5a(0x621)](J)['getSelection'](),_0x1649fe=Z(_0x3aabe8);return Ei(_0x1649fe?_0x242d19[_0x26af5a(0x621)](_0x161eee)['getTable'](_0x1649fe[_0x26af5a(0x379)],_0x1649fe[_0x26af5a(0x6a7)]):null,_0x3aabe8);}function Pa(_0x21934c){const _0xdb5567=_0x5defcf;let _0x19765d=_0x21934c['get'](J)['getSelection'](),_0x436e43=Z(_0x19765d);return Di(_0x436e43?_0x21934c['get'](_0x161eee)[_0xdb5567(0x2aa)](_0x436e43[_0xdb5567(0x379)],_0x436e43[_0xdb5567(0x6a7)]):null,_0x19765d);}function Fa(_0x3388a5){const _0x5294f6=_0x5defcf;let _0x2d84f0=_0x3388a5[_0x5294f6(0x621)](J)[_0x5294f6(0x1cf)](),_0x2ee4e5=Z(_0x2d84f0);return Oi(_0x2ee4e5?_0x3388a5[_0x5294f6(0x621)](_0x161eee)['getTable'](_0x2ee4e5[_0x5294f6(0x379)],_0x2ee4e5['tableId']):null,_0x2d84f0);}function Ia(_0x5d7f41){const _0x5967f8=_0x5defcf;return _0x5d7f41[_0x5967f8(0x26c)]['length']===0x1&&!_0x5d7f41[_0x5967f8(0x310)]&&!_0x5d7f41['ctrlKey']&&!_0x5d7f41[_0x5967f8(0x4ec)];}function La(_0x359efa){const _0x466ff5=_0x5defcf;return _0x359efa===_0x466ff5(0x2a2)||_0x359efa===_0x466ff5(0x4f3);}function Ra(_0x247b4d){const _0x47dd94=_0x5defcf;if(typeof HTMLElement>'u'||!(_0x247b4d instanceof HTMLElement))return!0x1;let _0x456b9a=_0x247b4d[_0x47dd94(0x67e)][_0x47dd94(0x430)]();return _0x456b9a===_0x47dd94(0x34d)||_0x456b9a==='textarea'||_0x456b9a===_0x47dd94(0x2e4)||Ba(_0x247b4d);}function za(_0x1ed613){const _0x23e2c6=_0x5defcf;return typeof HTMLElement>'u'||!(_0x1ed613 instanceof HTMLElement)||!Ba(_0x1ed613)?!0x1:_0x1ed613[_0x23e2c6(0x6b1)][_0x23e2c6(0x2b8)]===_0x23e2c6(0x440)||_0x1ed613['id']['startsWith'](_0x23e2c6(0x632));}function Ba(_0x56093b){const _0x543600=_0x5defcf;return _0x56093b[_0x543600(0x6c4)]||_0x56093b[_0x543600(0x671)](_0x543600(0x2ea))==='true';}var Va=class extends _0x5c53fd{constructor(){const _0x1c8cf9=_0x5defcf;super(),q(this,_0x1c8cf9(0x391),null),q(this,'_inputHandler',null),this[_0x1c8cf9(0x428)]();}[_0x5defcf(0x23c)](_0x3515b3){return this['_handler']=_0x3515b3,_0x2123f0(()=>{const _0x15f17d=_0x428e;this['_handler']===_0x3515b3&&(this[_0x15f17d(0x391)]=null);});}[_0x5defcf(0x3b2)](_0x788c99){const _0x6f0d8=_0x5defcf;return this[_0x6f0d8(0x54a)]=_0x788c99,_0x2123f0(()=>{const _0x4a27ed=_0x6f0d8;this[_0x4a27ed(0x54a)]===_0x788c99&&(this[_0x4a27ed(0x54a)]=null);});}[_0x5defcf(0x2dc)](_0x14e997){const _0x5bb572=_0x5defcf;var _0x38294c;return((_0x38294c=this[_0x5bb572(0x391)])==null?void 0x0:_0x38294c[_0x5bb572(0x283)](this,_0x14e997))??!0x1;}[_0x5defcf(0x6df)](_0x5246a4){const _0x4e11b9=_0x5defcf;var _0x5c1971;return((_0x5c1971=this[_0x4e11b9(0x54a)])==null?void 0x0:_0x5c1971[_0x4e11b9(0x283)](this,_0x5246a4))??!0x1;}[_0x5defcf(0x428)](){const _0xbf675e=_0x5defcf;if(typeof document>'u')return;let _0x109f07=_0xf4b845=>{const _0x1ea4e5=_0x428e;this[_0x1ea4e5(0x459)](_0xf4b845)&&!_0xf4b845[_0x1ea4e5(0x49b)]&&Ia(_0xf4b845)&&this[_0x1ea4e5(0x6df)]({'kind':_0x1ea4e5(0x590),'text':_0xf4b845['key']})&&(_0xf4b845[_0x1ea4e5(0x574)](),_0xf4b845[_0x1ea4e5(0x724)]());},_0x3c5d32=_0x4ff3e0=>{const _0x21589e=_0x428e;this['canHandleNativeInput'](_0x4ff3e0)&&_0x4ff3e0['data']&&La(_0x4ff3e0[_0x21589e(0x6f8)])&&this[_0x21589e(0x6df)]({'kind':_0x21589e(0x590),'text':_0x4ff3e0['data']})&&(_0x4ff3e0['preventDefault'](),_0x4ff3e0[_0x21589e(0x724)]());},_0x165308=_0x2118e4=>{const _0x46c4e8=_0x428e;this[_0x46c4e8(0x459)](_0x2118e4,{'allowDocsEditor':!0x0})&&this['handleInput']({'kind':'composition-start'});},_0x49d859=_0x37ebfa=>{const _0x5b70f8=_0x428e;this[_0x5b70f8(0x459)](_0x37ebfa)&&_0x37ebfa['data']&&this[_0x5b70f8(0x6df)]({'kind':_0x5b70f8(0x363),'text':_0x37ebfa['data']})&&(_0x37ebfa['preventDefault'](),_0x37ebfa[_0x5b70f8(0x724)]());};document[_0xbf675e(0x63c)](_0xbf675e(0x705),_0x109f07,!0x0),document[_0xbf675e(0x63c)](_0xbf675e(0x58a),_0x3c5d32,!0x0),document['addEventListener'](_0xbf675e(0x3a8),_0x165308,!0x0),document[_0xbf675e(0x63c)]('compositionend',_0x49d859,!0x0),this[_0xbf675e(0x40f)](_0x2123f0(()=>{const _0x14f0c5=_0xbf675e;document[_0x14f0c5(0x688)](_0x14f0c5(0x705),_0x109f07,!0x0),document[_0x14f0c5(0x688)]('beforeinput',_0x3c5d32,!0x0),document[_0x14f0c5(0x688)](_0x14f0c5(0x3a8),_0x165308,!0x0),document[_0x14f0c5(0x688)](_0x14f0c5(0x457),_0x49d859,!0x0);}));}};function Q(_0xce50cb,_0x4f89db){return function(_0x217351,_0x5a062c){_0x4f89db(_0x217351,_0x5a062c,_0xce50cb);};}function Ha(_0x29a80f,_0x36711c,_0xadede6,_0xe35ed2){const _0x1e44fc=_0x5defcf;var _0x580dff=arguments[_0x1e44fc(0x393)],_0x25cf70=_0x580dff<0x3?_0x36711c:_0xe35ed2===null?_0xe35ed2=Object[_0x1e44fc(0x71e)](_0x36711c,_0xadede6):_0xe35ed2,_0x58fa36;if(typeof Reflect==_0x1e44fc(0x583)&&typeof Reflect[_0x1e44fc(0x6c0)]==_0x1e44fc(0x3a5))_0x25cf70=Reflect[_0x1e44fc(0x6c0)](_0x29a80f,_0x36711c,_0xadede6,_0xe35ed2);else{for(var _0x4e56f5=_0x29a80f[_0x1e44fc(0x393)]-0x1;_0x4e56f5>=0x0;_0x4e56f5--)(_0x58fa36=_0x29a80f[_0x4e56f5])&&(_0x25cf70=(_0x580dff<0x3?_0x58fa36(_0x25cf70):_0x580dff>0x3?_0x58fa36(_0x36711c,_0xadede6,_0x25cf70):_0x58fa36(_0x36711c,_0xadede6))||_0x25cf70);}return _0x580dff>0x3&&_0x25cf70&&Object[_0x1e44fc(0x1c0)](_0x36711c,_0xadede6,_0x25cf70),_0x25cf70;}let Ua=class extends Va{constructor(_0x2ae018){const _0x398336=_0x5defcf;super(),this[_0x398336(0x561)]=_0x2ae018;}[_0x5defcf(0x459)](_0xcee0e8,_0x5145b6){const _0x131578=_0x5defcf;return!this[_0x131578(0x561)][_0x131578(0x5ac)](_0x1e26ef)||!this[_0x131578(0x561)][_0x131578(0x5ac)](_0x131578(0x49f))?!0x1:_0x5145b6!=null&&_0x5145b6[_0x131578(0x2ff)]&&za(_0xcee0e8[_0x131578(0x362)])?!0x0:!Ra(_0xcee0e8[_0x131578(0x362)]);}};Ua=Ha([Q(0x0,_0x47d445)],Ua);const Wa=[{'key':'arrow-left','action':_0x5defcf(0x53b)},{'key':_0x5defcf(0x631),'action':'move-right'},{'key':_0x5defcf(0x534),'action':_0x5defcf(0x443)},{'key':_0x5defcf(0x2fd),'action':_0x5defcf(0x71f)},{'key':'shift-arrow-left','action':_0x5defcf(0x5a2)},{'key':_0x5defcf(0x43c),'action':_0x5defcf(0x2f6)},{'key':_0x5defcf(0x26e),'action':_0x5defcf(0x33b)},{'key':_0x5defcf(0x5f7),'action':'extend-down'},{'key':_0x5defcf(0x6c1),'action':_0x5defcf(0x437)},{'key':_0x5defcf(0x22f),'action':_0x5defcf(0x293)},{'key':_0x5defcf(0x1a4),'action':_0x5defcf(0x316)},{'key':'f2','action':'edit-cell'},{'key':_0x5defcf(0x525),'action':'clear-cells'},{'key':_0x5defcf(0x249),'action':_0x5defcf(0x1e8)}];function Ga(_0x448ecd){const _0x1ac9b6=_0x5defcf;return Wa[_0x1ac9b6(0x295)](_0x190a11=>({'action':_0x190a11[_0x1ac9b6(0x3f4)],'binding':_0x448ecd[_0x190a11[_0x1ac9b6(0x26c)]]}));}function Ka(_0x1038e4){const _0x552627=_0x5defcf;switch(_0x1038e4){case _0x552627(0x53b):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1};case _0x552627(0x5e3):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1};case _0x552627(0x443):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x1};case _0x552627(0x71f):return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x1};case _0x552627(0x5a2):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x0};case _0x552627(0x2f6):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x0};case _0x552627(0x33b):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x0};case'extend-down':return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x0};case _0x552627(0x437):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1,'wrap':!0x0};case _0x552627(0x293):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1,'wrap':!0x0};default:return null;}}function qa(_0x3a011a,_0x115129,_0x134965,_0x5280e9){const _0x343857=_0x5defcf;return _0x115129['wrap']?Ya(_0x3a011a,_0x115129,_0x134965,_0x5280e9):{'row':Math['min'](Math[_0x343857(0x6bf)](0x0,_0x3a011a[_0x343857(0x4b9)]+_0x115129[_0x343857(0x3e4)]),Math[_0x343857(0x6bf)](0x0,_0x134965-0x1)),'column':Math[_0x343857(0x4a7)](Math[_0x343857(0x6bf)](0x0,_0x3a011a['column']+_0x115129[_0x343857(0x5b0)]),Math[_0x343857(0x6bf)](0x0,_0x5280e9-0x1))};}function Ja(_0x2b2bfd,_0x485168,_0x25e03a){const _0x911264=_0x5defcf;let _0xe3a1d7=Math[_0x911264(0x6bf)](0x1,_0x485168),_0x59b658=Math[_0x911264(0x6bf)](0x1,_0x25e03a),_0x3b539b=_0x2b2bfd[_0x911264(0x4b9)]*_0x59b658+_0x2b2bfd[_0x911264(0x3f1)],_0x2c132c=_0xe3a1d7*_0x59b658-0x1,_0x4d0058=Math[_0x911264(0x4a7)](_0x2c132c,Math[_0x911264(0x6bf)](0x0,_0x3b539b));return{'row':Math[_0x911264(0x342)](_0x4d0058/_0x59b658),'column':_0x4d0058%_0x59b658};}function Ya(_0x23af6d,_0x4da929,_0x375e0b,_0xd4a55b){const _0x36f765=_0x5defcf;let _0x1a29a4=Math[_0x36f765(0x6bf)](0x1,_0x375e0b),_0x3fe9a6=Math[_0x36f765(0x6bf)](0x1,_0xd4a55b);if(_0x4da929[_0x36f765(0x5b0)]!==0x0&&_0x4da929[_0x36f765(0x3e4)]===0x0){let _0x413c24=_0x1a29a4*_0x3fe9a6,_0x52b550=Ja(_0x23af6d,_0x1a29a4,_0x3fe9a6),_0x5a1a50=Xa(_0x52b550[_0x36f765(0x4b9)]*_0x3fe9a6+_0x52b550['column']+_0x4da929[_0x36f765(0x5b0)],_0x413c24);return{'row':Math['floor'](_0x5a1a50/_0x3fe9a6),'column':_0x5a1a50%_0x3fe9a6};}return{'row':Xa(_0x23af6d[_0x36f765(0x4b9)]+_0x4da929[_0x36f765(0x3e4)],_0x1a29a4),'column':Xa(_0x23af6d['column']+_0x4da929[_0x36f765(0x5b0)],_0x3fe9a6)};}function Xa(_0x25f410,_0x1e6e60){return(_0x25f410%_0x1e6e60+_0x1e6e60)%_0x1e6e60;}const Za={'id':_0x5defcf(0x1e5),'type':_0x49d1ef[_0x5defcf(0x253)],'handler':(_0x57d112,_0x313864)=>_0x313864!=null&&_0x313864['action']?_0x57d112[_0x5defcf(0x621)](Ua)['handle'](_0x313864[_0x5defcf(0x3f4)]):!0x1},Qa=[Za],$a=Ga({'arrow-left':_0x4d163f['ARROW_LEFT'],'arrow-right':_0x4d163f[_0x5defcf(0x3da)],'arrow-up':_0x4d163f[_0x5defcf(0x3a2)],'arrow-down':_0x4d163f[_0x5defcf(0x67c)],'shift-arrow-left':_0x4d163f[_0x5defcf(0x381)]|_0x25ec42[_0x5defcf(0x5e5)],'shift-arrow-right':_0x4d163f[_0x5defcf(0x3da)]|_0x25ec42[_0x5defcf(0x5e5)],'shift-arrow-up':_0x4d163f[_0x5defcf(0x3a2)]|_0x25ec42['SHIFT'],'shift-arrow-down':_0x4d163f['ARROW_DOWN']|_0x25ec42[_0x5defcf(0x5e5)],'tab':_0x4d163f['TAB'],'shift-tab':_0x4d163f[_0x5defcf(0x650)]|_0x25ec42[_0x5defcf(0x5e5)],'enter':_0x4d163f['ENTER'],'f2':_0x4d163f['F2'],'delete':_0x4d163f[_0x5defcf(0x28d)],'backspace':_0x4d163f[_0x5defcf(0x2b4)]})['map'](({binding:_0x25dfba,action:_0x375869})=>to(_0x25dfba,_0x375869)),eo=[_0x4d163f[_0x5defcf(0x28d)],_0x4d163f[_0x5defcf(0x2b4)]][_0x5defcf(0x295)](_0x496d16=>({'id':ra['id'],'binding':_0x496d16,'priority':0x82,'preconditions':ro}));function to(_0x13cc7a,_0x244191){return{'id':Za['id'],'binding':_0x13cc7a,'priority':0x82,'preconditions':no,'staticParameters':{'action':_0x244191}};}function no(_0x16f6a1){const _0x1c37dc=_0x5defcf;return!!(_0x16f6a1[_0x1c37dc(0x5ac)](_0x1e26ef)&&_0x16f6a1[_0x1c37dc(0x5ac)](_0x1c37dc(0x49f)));}function ro(_0x3ae099){const _0x463e6f=_0x5defcf;return!!(_0x3ae099[_0x463e6f(0x5ac)](_0x1e26ef)&&_0x3ae099['getContextValue'](_0x5ab81f)&&_0x3ae099[_0x463e6f(0x5ac)](_0x463e6f(0x562))&&!_0x3ae099[_0x463e6f(0x5ac)](_0x5ec236));}const io=_0x5defcf(0x257);function ao(_0x40d8fb,_0x4b4245,_0x5bed34){const _0x30c786=_0x5defcf;return Number[_0x30c786(0x401)](_0x40d8fb)?Math[_0x30c786(0x4a7)](Math[_0x30c786(0x6bf)](Math[_0x30c786(0x342)](_0x40d8fb),_0x4b4245),_0x5bed34):_0x4b4245;}function oo(_0x41ca1d){const _0x4a7584=_0x5defcf;let {initialRows:_0x3e8691=0x3,initialColumns:_0x316ad9=0x5,maxGridRows:_0x3a742d=0xa,maxGridColumns:_0xa4cdc8=0xe,minRows:_0x51e1f2=0x1,minColumns:_0x3423bd=0x1,maxRows:_0x2029cb=0x32,maxColumns:_0x392713=0x32,variant:_0x5b2260=_0x4a7584(0x698),direction:_0x2440aa=_0x4a7584(0x62c),title:_0x147f27,confirmAction:_0x26d91='insert',onConfirm:_0x536221}=_0x41ca1d,_0x5bf7d7=_0x41e5c1(_0x494027),[_0x13de74,_0x46482a]=_0x504879(()=>ao(_0x3e8691,_0x51e1f2,_0x2029cb)),[_0x14f541,_0x8f9413]=_0x504879(()=>ao(_0x316ad9,_0x3423bd,_0x392713)),[_0x380a44,_0x3cb536]=_0x504879(null);return{'localeService':_0x5bf7d7,'direction':_0x2440aa,'title':_0x147f27,'confirmAction':_0x26d91,'rows':_0x13de74,'columns':_0x14f541,'minRows':_0x51e1f2,'minColumns':_0x3423bd,'maxRows':_0x2029cb,'maxColumns':_0x392713,'maxGridRows':_0x3a742d,'maxGridColumns':_0xa4cdc8,'setRows':_0x46482a,'setColumns':_0x8f9413,'hoverSize':_0x380a44,'setHoverSize':_0x3cb536,'selectedRows':(_0x380a44==null?void 0x0:_0x380a44[_0x4a7584(0x360)])??_0x13de74,'selectedColumns':(_0x380a44==null?void 0x0:_0x380a44[_0x4a7584(0x5ca)])??_0x14f541,'isDropdown':_0x5b2260==='dropdown','updateRows':_0x377d2d=>_0x46482a(ao(_0x377d2d,_0x51e1f2,_0x2029cb)),'updateColumns':_0x50d1e4=>_0x8f9413(ao(_0x50d1e4,_0x3423bd,_0x392713)),'handleConfirm':()=>_0x536221({'rows':_0x13de74,'columns':_0x14f541}),'onConfirm':_0x536221};}function so(_0x294eb7){const _0x57081a=_0x5defcf;let {localeService:_0x3cab7d,direction:_0x59435d,title:_0x20ea11,confirmAction:_0x3d8ab0,rows:_0x2f132e,columns:_0x5b4b36,minRows:_0x1e1a2d,minColumns:_0x9ba26e,maxRows:_0x4c8400,maxColumns:_0x2cea41,maxGridRows:_0x17704c,maxGridColumns:_0x3de7cc,setHoverSize:_0x1628d7,selectedRows:_0x261a96,selectedColumns:_0x40ae45,isDropdown:_0x19a8a7,updateRows:_0x1a1bbe,updateColumns:_0x1ff051,handleConfirm:_0x129771,onConfirm:_0x140a48}=oo(_0x294eb7),_0x243190=_0x2e7821=>_0x455c20(_0x57081a(0x2cb),{'className':_0x2e7821?_0x57081a(0x31c):_0x57081a(0x444),'style':{'gridTemplateColumns':'repeat('+_0x3de7cc+',\x20minmax(0,\x201fr))'},'children':Array['from']({'length':_0x17704c})['map']((_0x396796,_0x50d0ed)=>Array[_0x57081a(0x684)]({'length':_0x3de7cc})['map']((_0x5a7d25,_0x5c39b9)=>{const _0x5deb41=_0x57081a;let _0x39fa52=_0x50d0ed+0x1,_0x2abbb8=_0x5c39b9+0x1,_0x3731dd=_0x39fa52<=_0x261a96&&_0x2abbb8<=_0x40ae45;return _0x455c20(_0x5deb41(0x52d),{'type':_0x5deb41(0x52d),'aria-label':_0x2abbb8+'\x20x\x20'+_0x39fa52,'data-selected':_0x3731dd,'className':_0x34395c(_0x5deb41(0x522),_0x2e7821?_0x5deb41(0x1ce):'univer-size-5\x20univer-rounded',_0x3731dd?_0x2e7821?_0x5deb41(0x6b7):_0x5deb41(0x1f7):_0x5deb41(0x66d),!_0x2e7821&&_0x5deb41(0x200)),'onMouseEnter':()=>_0x1628d7({'rows':_0x39fa52,'columns':_0x2abbb8}),'onFocus':()=>_0x1628d7({'rows':_0x39fa52,'columns':_0x2abbb8}),'onClick':()=>_0x140a48({'rows':_0x39fa52,'columns':_0x2abbb8})},_0x39fa52+':'+_0x2abbb8);}))});return _0x19a8a7?_0x30f958(_0x57081a(0x70f),{'className':_0x57081a(0x318),'data-u-comp':'slide-table-size-picker','dir':_0x59435d,'onClick':_0x793ced=>_0x793ced[_0x57081a(0x724)](),'onMouseDown':_0x2fe391=>_0x2fe391[_0x57081a(0x724)](),'onMouseLeave':()=>_0x1628d7(null),'children':[_0x243190(!0x0),_0x30f958('div',{'dir':'ltr','className':_0x57081a(0x274),'children':[_0x40ae45,_0x57081a(0x354),_0x261a96]}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x65c),'children':[_0x455c20('div',{'className':_0x57081a(0x343),'children':_0x3cab7d['t'](_0x57081a(0x24b))}),_0x30f958('div',{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x6a4),'children':[_0x455c20(_0x57081a(0x45d),{'children':_0x3cab7d['t'](_0x57081a(0x27b))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x1e1a2d,'max':_0x4c8400,'precision':0x0,'value':_0x2f132e,'onChange':_0x39e7e5=>_0x1a1bbe(_0x39e7e5??_0x1e1a2d)})]}),_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x6a4),'children':[_0x455c20('span',{'children':_0x3cab7d['t'](_0x57081a(0x294))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x9ba26e,'max':_0x2cea41,'precision':0x0,'value':_0x5b4b36,'onChange':_0x2d08d0=>_0x1ff051(_0x2d08d0??_0x9ba26e)})]}),_0x455c20(_0x186c8e,{'className':_0x57081a(0x32b),'variant':_0x57081a(0x324),'onClick':_0x129771,'children':_0x3cab7d['t'](_0x57081a(0x5fc)+_0x3d8ab0)})]})]})]}):_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x245),'data-u-comp':_0x57081a(0x264),'dir':_0x59435d,'onMouseLeave':()=>_0x1628d7(null),'children':[_0x20ea11&&_0x455c20(_0x57081a(0x2cb),{'className':_0x57081a(0x226),'children':_0x20ea11}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x319),'children':[_0x243190(!0x1),_0x30f958(_0x57081a(0x2cb),{'dir':_0x57081a(0x62c),'className':_0x57081a(0x4e0),'children':[_0x40ae45,_0x57081a(0x354),_0x261a96]})]}),_0x455c20(_0x103320,{}),_0x455c20(_0x57081a(0x2cb),{'className':_0x57081a(0x1a0),'children':_0x3cab7d['t']('slides-table-ui.tableSizePicker.customSize')}),_0x30f958(_0x57081a(0x2cb),{'className':_0x57081a(0x303),'children':[_0x30f958('label',{'className':'univer-block\x20univer-min-w-0','children':[_0x455c20(_0x57081a(0x45d),{'className':'univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','children':_0x3cab7d['t'](_0x57081a(0x27b))}),_0x455c20(_0x39a1de,{'className':'univer-w-full','min':_0x1e1a2d,'max':_0x4c8400,'precision':0x0,'value':_0x2f132e,'onChange':_0x281643=>_0x1a1bbe(_0x281643??_0x1e1a2d)})]}),_0x30f958(_0x57081a(0x3a7),{'className':_0x57081a(0x713),'children':[_0x455c20(_0x57081a(0x45d),{'className':_0x57081a(0x424),'children':_0x3cab7d['t'](_0x57081a(0x294))}),_0x455c20(_0x39a1de,{'className':_0x57081a(0x55f),'min':_0x9ba26e,'max':_0x2cea41,'precision':0x0,'value':_0x5b4b36,'onChange':_0x3bf6a9=>_0x1ff051(_0x3bf6a9??_0x9ba26e)})]})]}),_0x455c20(_0x186c8e,{'className':_0x57081a(0x5c3),'variant':_0x57081a(0x324),'onClick':_0x129771,'children':_0x3cab7d['t'](_0x57081a(0x5fc)+_0x3d8ab0)})]});}function co(_0x1d9d18,_0x217349,_0x224382,_0x3b34fd,_0x8d02b4,_0x570fbf){const _0x4e2475=_0x5defcf;return{'id':_0x4e2475(0x257),'title':{'title':_0x1d9d18},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x0,'children':{'label':{'name':io,'props':{'unitId':_0x217349,'tableId':_0x224382,'initialRows':_0x3b34fd,'initialColumns':_0x8d02b4,'title':_0x1d9d18,'onClose':_0x570fbf}}},'onClose':_0x570fbf};}function lo({PickerComponent:_0x5334dc=so,..._0x15938b}){const _0x17c851=_0x5defcf;let {initialColumns:_0x2009e2,initialRows:_0xd61d0d,onClose:_0x3d7f5d,tableId:_0x5ad45e,title:_0x1cf0df,unitId:_0xa6a2b6}=_0x15938b,_0x56dca8=_0x41e5c1(_0x494027),_0x3d322b=_0x45a1ca(_0x56dca8[_0x17c851(0x54f)],_0x56dca8[_0x17c851(0x5b4)]()),_0x304647=_0x41e5c1(_0x51671c),_0x24829b=_0x41e5c1(_0x161eee);return _0x455c20('div',{'className':_0x17c851(0x537),'data-u-comp':_0x17c851(0x1af),'children':_0x455c20(_0x5334dc,{'initialRows':_0xd61d0d,'initialColumns':_0x2009e2,'direction':_0x3d322b,'title':_0x1cf0df,'confirmAction':_0x17c851(0x2b0),'onConfirm':async _0x12e6f0=>{const _0x3e17c9=_0x17c851;let _0x42cc74=_0x24829b[_0x3e17c9(0x2aa)](_0xa6a2b6,_0x5ad45e);if(!_0x42cc74){_0x3d7f5d==null||_0x3d7f5d();return;}let _0x5de89e=_0x12c02a(_0x42cc74,_0x12e6f0[_0x3e17c9(0x360)],_0x12e6f0[_0x3e17c9(0x5ca)]);(_0x5de89e[_0x3e17c9(0x360)][_0x3e17c9(0x393)]===_0x42cc74[_0x3e17c9(0x360)][_0x3e17c9(0x393)]&&_0x5de89e[_0x3e17c9(0x5ca)][_0x3e17c9(0x393)]===_0x42cc74[_0x3e17c9(0x5ca)][_0x3e17c9(0x393)]||await _0x304647[_0x3e17c9(0x38f)](_0x296a89['id'],{'unitId':_0xa6a2b6,'tableId':_0x5ad45e,'patch':{'rows':_0x5de89e[_0x3e17c9(0x360)],'columns':_0x5de89e[_0x3e17c9(0x5ca)]}}))&&(_0x3d7f5d==null||_0x3d7f5d());}})});}const uo={'id':'slide-table.operation.open-size-dialog','type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x2877fa=>{const _0x475c8f=_0x5defcf;let _0x3410c7=_0x2877fa[_0x475c8f(0x621)](_0x462a1f),_0x511755=_0x2877fa[_0x475c8f(0x621)](_0x161eee),_0x2235c8=_0x2877fa[_0x475c8f(0x621)](_0x3f3fcc),_0x3eac3e=_0x2877fa['get'](_0x494027),_0x4ed8dd=_0x3410c7[_0x475c8f(0x32e)](),_0x53a98b=_0x4ed8dd[_0x475c8f(0x393)]===0x1?_0x4ed8dd[0x0]:void 0x0;if(!_0x53a98b)return!0x1;let _0xa7facb=_0x3410c7[_0x475c8f(0x68d)](_0x53a98b['unitId'],_0x53a98b[_0x475c8f(0x6b4)])[_0x53a98b[_0x475c8f(0x1ba)]];if(!_0xa7facb||_0xa7facb[_0x475c8f(0x571)][_0x475c8f(0x495)]!==_0x16fba9[_0x475c8f(0x3f9)])return!0x1;let _0xa789b9=_0x511755[_0x475c8f(0x2aa)](_0x53a98b[_0x475c8f(0x379)],_0xa7facb['element'][_0x475c8f(0x6a7)]);if(!_0xa789b9)return!0x1;let _0x3cbe63=null;return _0x3cbe63=_0x2235c8[_0x475c8f(0x1d4)](co(_0x3eac3e['t']('slides-table-ui.tableSizePicker.title'),_0x53a98b[_0x475c8f(0x379)],_0xa789b9['id'],_0xa789b9[_0x475c8f(0x360)]['length'],_0xa789b9['columns'][_0x475c8f(0x393)],()=>{const _0x4c3861=_0x475c8f;_0x3cbe63==null||_0x3cbe63[_0x4c3861(0x2c2)](),_0x3cbe63=null;})),!0x0;}};let fo=class extends _0x5c53fd{constructor(_0x41fe9d){const _0x579c3a=_0x5defcf;super(),q(this,_0x579c3a(0x570),void 0x0),q(this,_0x579c3a(0x529),new _0x4d5205(!0x1)),q(this,_0x579c3a(0x5a1),new Set()),q(this,'enabled$',void 0x0),q(this,_0x579c3a(0x481),void 0x0);let _0x59f624=_0x41fe9d[_0x579c3a(0x247)](ei);this[_0x579c3a(0x570)]=new _0x4d5205((_0x59f624==null?void 0x0:_0x59f624[_0x579c3a(0x59b)])??!0x1),this[_0x579c3a(0x38c)]=this[_0x579c3a(0x570)][_0x579c3a(0x6f9)](),this[_0x579c3a(0x481)]=_0x192b14([this[_0x579c3a(0x570)],this[_0x579c3a(0x529)]])[_0x579c3a(0x5f3)](_0x20d0c3(([_0x46ab07,_0x31d3c7])=>_0x46ab07||_0x31d3c7));}[_0x5defcf(0x460)](){const _0x41a80b=_0x5defcf;return this[_0x41a80b(0x570)][_0x41a80b(0x315)]();}[_0x5defcf(0x20e)](_0x2d125){const _0x59975a=_0x5defcf;this[_0x59975a(0x460)]()!==_0x2d125&&this[_0x59975a(0x570)][_0x59975a(0x38b)](_0x2d125);}['getVisible'](){const _0x308e09=_0x5defcf;return this[_0x308e09(0x460)]()||this['_fallbackVisible$'][_0x308e09(0x315)]();}[_0x5defcf(0x35c)](_0x1e11c6,_0x388e81=_0x5defcf(0x25a)){const _0x42ec66=_0x5defcf;_0x1e11c6?this[_0x42ec66(0x5a1)][_0x42ec66(0x378)](_0x388e81):this[_0x42ec66(0x5a1)][_0x42ec66(0x525)](_0x388e81);let _0x151d49=this[_0x42ec66(0x5a1)][_0x42ec66(0x4bf)]>0x0;this[_0x42ec66(0x529)]['getValue']()!==_0x151d49&&this[_0x42ec66(0x529)]['next'](_0x151d49);}[_0x5defcf(0x3bd)](){const _0x36056b=_0x5defcf;this[_0x36056b(0x20e)](!this[_0x36056b(0x460)]());}[_0x5defcf(0x2c2)](){const _0x3cde49=_0x5defcf;this[_0x3cde49(0x570)][_0x3cde49(0x1e7)](),this[_0x3cde49(0x5a1)][_0x3cde49(0x31e)](),this[_0x3cde49(0x529)]['complete'](),super[_0x3cde49(0x2c2)]();}};fo=Ha([Q(0x0,_0x506f4d)],fo);const po={'id':'slides-table-ui.operation.toggle-floating-toolbar','type':_0x49d1ef[_0x5defcf(0x253)],'handler':_0x528dd6=>(_0x528dd6[_0x5defcf(0x621)](fo)[_0x5defcf(0x3bd)](),!0x0)};let mo=class{constructor(_0x2af726,_0x4ae3f3,_0x562745){const _0x162080=_0x5defcf;this['_instanceService']=_0x2af726,this[_0x162080(0x710)]=_0x4ae3f3,this[_0x162080(0x4a2)]=_0x562745;}['insertTable'](_0x335b0f={}){const _0x16ceae=_0x5defcf;let _0x2231ca=this[_0x16ceae(0x729)]();if(!_0x2231ca)return!0x1;let {rows:_0x243e91,columns:_0x1d67d8,columnWidth:_0x449ac6,rowHeight:_0x21ae5e}=_0x4568ed(_0x335b0f),_0x5354ac=_0x2b8786(0x6);return this[_0x16ceae(0x710)][_0x16ceae(0x6d2)](_0xbf40da['id'],{'unitId':_0x2231ca['unitId'],'subUnitId':_0x2231ca[_0x16ceae(0x6b4)],'createOptions':{'rows':_0x243e91,'columns':_0x1d67d8,'columnWidth':_0x449ac6,'rowHeight':_0x21ae5e,'options':{'firstRow':!0x0,'bandRow':!0x0}},'element':{'id':_0x5354ac,'transform':this[_0x16ceae(0x708)](_0x2231ca[_0x16ceae(0x3f8)],_0x2231ca[_0x16ceae(0x6ab)],_0x1d67d8*_0x449ac6,_0x243e91*_0x21ae5e)}})?(this[_0x16ceae(0x4a2)][_0x16ceae(0x72b)]({'unitId':_0x2231ca[_0x16ceae(0x379)],'subUnitId':_0x2231ca[_0x16ceae(0x6b4)]},[_0x5354ac],_0x5354ac),!0x0):!0x1;}[_0x5defcf(0x344)](_0x491b03){const _0x5a4bca=_0x5defcf;let _0x32342c=this[_0x5a4bca(0x729)]();if(!_0x32342c||_0x491b03[_0x5a4bca(0x360)]['length']===0x0||_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x393)]===0x0)return!0x1;let _0x1b3b19=_0x2b8786(0x6),_0x1991e0=_0x2b8786(0x6),_0x1d5090=_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x57e)]((_0x1291a,_0x4a5a6a)=>_0x1291a+_0x4a5a6a['width'],0x0),_0xe5f214=_0x491b03['rows'][_0x5a4bca(0x57e)]((_0x5cf58a,_0x39b403)=>_0x5cf58a+(_0x39b403[_0x5a4bca(0x65e)]??0x18),0x0),_0x435dae=this[_0x5a4bca(0x664)](_0x1d5090,_0xe5f214,_0x32342c['pageWidth']*0.8,_0x32342c['pageHeight']*0.8),_0x28f309=this[_0x5a4bca(0x710)][_0x5a4bca(0x6d2)](_0xbf40da['id'],{'unitId':_0x32342c[_0x5a4bca(0x379)],'subUnitId':_0x32342c[_0x5a4bca(0x6b4)],'createOptions':{'id':_0x1b3b19,'rows':_0x491b03[_0x5a4bca(0x360)][_0x5a4bca(0x393)],'columns':_0x491b03[_0x5a4bca(0x5ca)][_0x5a4bca(0x393)],'styleId':null},'table':{..._0x491b03,'id':_0x1b3b19,'rev':0x0},'element':{'id':_0x1991e0,'transform':this[_0x5a4bca(0x708)](_0x32342c[_0x5a4bca(0x3f8)],_0x32342c[_0x5a4bca(0x6ab)],_0x435dae[_0x5a4bca(0x58e)],_0x435dae[_0x5a4bca(0x65e)])}});return _0x28f309&&this['_drawingStateService'][_0x5a4bca(0x72b)]({'unitId':_0x32342c[_0x5a4bca(0x379)],'subUnitId':_0x32342c[_0x5a4bca(0x6b4)]},[_0x1991e0],_0x1991e0),_0x28f309;}[_0x5defcf(0x729)](){const _0x5592d0=_0x5defcf;let _0x1c3199=this[_0x5592d0(0x5a9)][_0x5592d0(0x6ff)](_0x1b0a97['UNIVER_SLIDE']),_0x3cd088=_0x1c3199==null?void 0x0:_0x1c3199['pageManager'][_0x5592d0(0x714)]();if(!_0x1c3199||!_0x3cd088)return null;let _0x443c5a=_0x51f95a(_0x1c3199[_0x5592d0(0x6d0)]()[_0x5592d0(0x715)]);return{'unitId':_0x1c3199['getUnitId'](),'subUnitId':_0x3cd088[_0x5592d0(0x43a)](),'pageWidth':_0x443c5a[_0x5592d0(0x58e)],'pageHeight':_0x443c5a[_0x5592d0(0x65e)]};}['_getCenteredTransform'](_0xefde4d,_0x3b63bd,_0x133463,_0x376cff){const _0x3a05a8=_0x5defcf;return{'left':Math['max'](_0x5dba90[_0x3a05a8(0x60c)],Math[_0x3a05a8(0x300)]((_0xefde4d-_0x133463)/0x2)),'top':Math['max'](_0x5dba90['minPositionOffset'],Math['round']((_0x3b63bd-_0x376cff)/0x2)),'width':_0x133463,'height':_0x376cff,'rotation':0x0};}['_fitSize'](_0x4b11d1,_0x1373c8,_0x4810ba,_0x3a27a7){const _0x5d4e38=_0x5defcf;let _0x26a671=Number[_0x5d4e38(0x401)](_0x4b11d1)&&_0x4b11d1>0x0?_0x4b11d1:_0x5dba90[_0x5d4e38(0x48e)],_0x29b0a0=Number[_0x5d4e38(0x401)](_0x1373c8)&&_0x1373c8>0x0?_0x1373c8:_0x5dba90[_0x5d4e38(0x3fe)],_0x51489d=Math[_0x5d4e38(0x4a7)](_0x4810ba/_0x26a671,_0x3a27a7/_0x29b0a0,0x1);return{'width':Math[_0x5d4e38(0x6bf)](_0x5dba90['minImageEdge'],Math[_0x5d4e38(0x300)](_0x26a671*_0x51489d)),'height':Math[_0x5d4e38(0x6bf)](_0x5dba90[_0x5d4e38(0x238)],Math[_0x5d4e38(0x300)](_0x29b0a0*_0x51489d))};}};mo=Ha([Q(0x0,_0x1c0185),Q(0x1,_0x51671c),Q(0x2,_0x2f1910)],mo);const ho=_0x5defcf(0x2cf);function go({PickerComponent:_0x472be3=so}={}){const _0x2446c5=_0x5defcf;let _0x4f45ae=_0x41e5c1(_0x494027),_0x5dcbfd=_0x41e5c1(mo),_0x433ce3=_0x45a1ca(_0x4f45ae[_0x2446c5(0x54f)],_0x4f45ae[_0x2446c5(0x5b4)]());return _0x455c20(_0x472be3,{'initialRows':0x3,'initialColumns':0x5,'direction':_0x433ce3,'variant':_0x2446c5(0x3d6),'title':_0x4f45ae['t'](_0x2446c5(0x544)),'onConfirm':_0x3580a9=>_0x5dcbfd[_0x2446c5(0x524)](_0x3580a9)});}function _o(_0x1246d4){const _0x159262=_0x5defcf;let {localeService:_0xe2ab9c,direction:_0x34583d,title:_0x4a42b9,confirmAction:_0x2521e8,rows:_0x19faaa,columns:_0x23dd42,minRows:_0x2a6adf,minColumns:_0x429c3c,maxRows:_0x511959,maxColumns:_0x421209,isDropdown:_0x611fad,updateRows:_0x42f9a5,updateColumns:_0x546a13,handleConfirm:_0xf82335}=oo(_0x1246d4);return _0x30f958(_0x159262(0x70f),{'className':_0x159262(0x2fb),'dir':_0x34583d,'children':[_0x4a42b9&&!_0x611fad&&_0x455c20('h3',{'className':_0x159262(0x23d),'children':_0x4a42b9}),_0x455c20(_0x159262(0x2cb),{'className':'univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-0\x20univer-py-1\x20dark:!univer-bg-gray-800','children':_0x455c20(_0x186c8e,{'className':_0x159262(0x407),'variant':_0x159262(0x324),'onClick':_0xf82335,'children':_0xe2ab9c['t']('slides-table-ui.tableSizePicker.'+_0x2521e8)})}),_0x30f958('div',{'className':_0x159262(0x303),'children':[_0x30f958(_0x159262(0x3a7),{'className':_0x159262(0x5b2),'children':[_0xe2ab9c['t'](_0x159262(0x27b)),_0x455c20(_0x39a1de,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':_0x2a6adf,'max':_0x511959,'precision':0x0,'value':_0x19faaa,'onChange':_0x13e3de=>_0x42f9a5(_0x13e3de??_0x2a6adf)})]}),_0x30f958(_0x159262(0x3a7),{'className':'univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','children':[_0xe2ab9c['t'](_0x159262(0x294)),_0x455c20(_0x39a1de,{'className':_0x159262(0x60b),'controls':!0x1,'min':_0x429c3c,'max':_0x421209,'precision':0x0,'value':_0x23dd42,'onChange':_0x5273a8=>_0x546a13(_0x5273a8??_0x429c3c)})]})]})]});}function vo(_0x64a327){return _0x455c20(lo,{..._0x64a327,'PickerComponent':_o});}function yo(){return _0x455c20(go,{'PickerComponent':_o});}const bo=_0x5defcf(0x648),xo='#111827',So=[_0x5defcf(0x5c1),_0x5defcf(0x679),'borderColor',_0x5defcf(0x1bc),_0x5defcf(0x191),_0x5defcf(0x5a5),'fontFamily',_0x5defcf(0x3cf),'horizontalAlign',_0x5defcf(0x1eb),_0x5defcf(0x69c),'textBackgroundColor',_0x5defcf(0x3e5),_0x5defcf(0x417),_0x5defcf(0x2b9),_0x5defcf(0x385)];function Co(){const _0x53aad7=_0x5defcf;return{'backgroundColor':bo,'backgroundFill':{'type':_0x772d0f[_0x53aad7(0x37a)],'color':bo,'alpha':0x1},'borderColor':_0x53aad7(0x456),'borderDash':_0x599627[_0x53aad7(0x37a)],'borderWidth':0x1,'bold':!0x1,'fontFamily':_0x2944bf['ff'],'fontSize':_0x2944bf['fs'],'horizontalAlign':_0x4918fc['LEFT'],'italic':!0x1,'strike':!0x1,'textBackgroundColor':_0x2944bf['bg'][_0x53aad7(0x519)],'textColor':xo,'textFill':{'type':'solid','color':xo,'opacity':0x1},'underline':!0x1,'verticalAlign':_0x9c0db6[_0x53aad7(0x4ce)],'mixed':{}};}function wo(_0x7ab85b,_0x48a1c9){const _0x3c869d=_0x5defcf;let _0x370343=Co();if(!_0x7ab85b||!_0x48a1c9)return _0x370343;let _0xcdf0a4=Math['min'](_0x48a1c9['startRow'],_0x48a1c9['endRow']),_0xe7d7be=Math[_0x3c869d(0x6bf)](_0x48a1c9[_0x3c869d(0x1d3)],_0x48a1c9[_0x3c869d(0x573)]),_0x34f9d3=Math[_0x3c869d(0x4a7)](_0x48a1c9['startColumn'],_0x48a1c9[_0x3c869d(0x351)]),_0x498ea1=Math[_0x3c869d(0x6bf)](_0x48a1c9[_0x3c869d(0x3cc)],_0x48a1c9['endColumn']),_0x48e7bf=To(_0x7ab85b,_0xcdf0a4,_0x34f9d3,_0x370343);for(let _0xc124fe=_0xcdf0a4;_0xc124fe<=_0xe7d7be;_0xc124fe++)for(let _0x26a74a=_0x34f9d3;_0x26a74a<=_0x498ea1;_0x26a74a++){let _0x3366dc=To(_0x7ab85b,_0xc124fe,_0x26a74a,_0x370343);for(let _0x18657f of So)ko(_0x48e7bf[_0x18657f],_0x3366dc[_0x18657f])||(_0x48e7bf[_0x3c869d(0x636)][_0x18657f]=!0x0);}return _0x48e7bf;}function To(_0x7d620b,_0x5ad656,_0x1f3f01,_0x50e866){const _0x412a98=_0x5defcf;var _0x2afd40;let _0x1ab200=(_0x2afd40=_0x7d620b[_0x412a98(0x360)][_0x5ad656])==null?void 0x0:_0x2afd40['cells'][_0x1f3f01];return{...Eo(_0x1ab200,_0x50e866),...Oo(_0x1ab200==null?void 0x0:_0x1ab200['textData'],_0x50e866),'mixed':{}};}function Eo(_0x2bfd6e,_0x8fb9b4){const _0xf56132=_0x5defcf;let _0x4ab752=_0x2bfd6e==null?void 0x0:_0x2bfd6e['style'],_0x4546ac=Do(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x68f)]);return{'backgroundColor':No(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x394)],_0x8fb9b4[_0xf56132(0x5c1)]),'backgroundFill':(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x394)])??_0x8fb9b4[_0xf56132(0x679)],'borderColor':(_0x4546ac==null?void 0x0:_0x4546ac[_0xf56132(0x1e2)])??_0x8fb9b4[_0xf56132(0x47c)],'borderDash':(_0x4546ac==null?void 0x0:_0x4546ac['dash'])??_0x8fb9b4[_0xf56132(0x1bc)],'borderWidth':(_0x4546ac==null?void 0x0:_0x4546ac[_0xf56132(0x58e)])??_0x8fb9b4[_0xf56132(0x191)],'verticalAlign':Fo(_0x4ab752==null?void 0x0:_0x4ab752[_0xf56132(0x385)])??_0x8fb9b4['verticalAlign']};}function Do(_0x57ed11){const _0x473913=_0x5defcf;return(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x5ee)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x479)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x485)])??(_0x57ed11==null?void 0x0:_0x57ed11[_0x473913(0x341)]);}function Oo(_0x58bb01,_0x20fc79){const _0x21b464=_0x5defcf;let _0x21f5a8=Ao(_0x58bb01);return{'bold':_0x21f5a8[_0x21b464(0x5a5)]??_0x20fc79[_0x21b464(0x5a5)],'fontFamily':_0x21f5a8[_0x21b464(0x6cd)]??_0x20fc79[_0x21b464(0x6cd)],'fontSize':_0x21f5a8[_0x21b464(0x3cf)]??_0x20fc79[_0x21b464(0x3cf)],'horizontalAlign':jo(_0x58bb01)??_0x20fc79['horizontalAlign'],'italic':_0x21f5a8[_0x21b464(0x1eb)]??_0x20fc79[_0x21b464(0x1eb)],'strike':_0x21f5a8[_0x21b464(0x69c)]??_0x20fc79[_0x21b464(0x69c)],'textBackgroundColor':_0x21f5a8[_0x21b464(0x543)]??_0x20fc79['textBackgroundColor'],'textColor':_0x21f5a8[_0x21b464(0x3e5)]??Po(_0x21f5a8[_0x21b464(0x417)],_0x20fc79[_0x21b464(0x3e5)]),'textFill':_0x21f5a8[_0x21b464(0x417)]??_0x20fc79[_0x21b464(0x417)],'underline':_0x21f5a8[_0x21b464(0x2b9)]??_0x20fc79[_0x21b464(0x2b9)]};}function ko(_0x41cee6,_0x4f7214){const _0x5ebabf=_0x5defcf;return typeof _0x41cee6=='object'||typeof _0x4f7214==_0x5ebabf(0x583)?JSON[_0x5ebabf(0x2bc)](_0x41cee6)===JSON['stringify'](_0x4f7214):_0x41cee6===_0x4f7214;}function Ao(_0x3160e1){const _0x5781ff=_0x5defcf;var _0x3121c4,_0x158408,_0x166dcb,_0x8e1199,_0x2fcffb,_0x1eabef;let _0x2d0471=_0x3160e1==null||(_0x3121c4=_0x3160e1['documentStyle'])==null?void 0x0:_0x3121c4[_0x5781ff(0x4e6)],_0x1d3ae3=_0x3160e1==null||(_0x158408=_0x3160e1[_0x5781ff(0x291)])==null||(_0x158408=_0x158408['textRuns'])==null||(_0x158408=_0x158408[_0x5781ff(0x461)](_0x3bff6c=>_0x3bff6c['ts']))==null?void 0x0:_0x158408['ts'],_0x2270af={..._0x2d0471,..._0x1d3ae3};return{'bold':_0x2270af['bl']===_0x3fcebf['TRUE'],'fontFamily':typeof _0x2270af['ff']==_0x5781ff(0x4ee)?_0x2270af['ff']:void 0x0,'fontSize':typeof _0x2270af['fs']==_0x5781ff(0x716)?_0x2270af['fs']:void 0x0,'italic':_0x2270af['it']===_0x3fcebf[_0x5781ff(0x298)],'strike':((_0x166dcb=_0x2270af['st'])==null?void 0x0:_0x166dcb['s'])===_0x3fcebf['TRUE'],'textBackgroundColor':typeof((_0x8e1199=_0x2270af['bg'])==null?void 0x0:_0x8e1199['rgb'])=='string'?_0x2270af['bg'][_0x5781ff(0x519)]:void 0x0,'textColor':((_0x2fcffb=_0x2270af['cl'])==null?void 0x0:_0x2fcffb['rgb'])??Po(_0x2270af['textFill'],void 0x0),'textFill':_0x2270af[_0x5781ff(0x417)],'underline':((_0x1eabef=_0x2270af['ul'])==null?void 0x0:_0x1eabef['s'])===_0x3fcebf['TRUE']};}function jo(_0x163ed5){const _0x4e1d72=_0x5defcf;var _0x962e02,_0x429075;let _0x23b916=_0x163ed5==null||(_0x962e02=_0x163ed5[_0x4e1d72(0x6e1)])==null||(_0x962e02=_0x962e02[_0x4e1d72(0x1ef)])==null?void 0x0:_0x962e02[_0x4e1d72(0x575)];return _0x23b916===void 0x0?_0x163ed5==null||(_0x429075=_0x163ed5[_0x4e1d72(0x291)])==null||(_0x429075=_0x429075[_0x4e1d72(0x307)])==null||(_0x429075=_0x429075[_0x4e1d72(0x461)](_0xfea00d=>{const _0x4e7146=_0x4e1d72;var _0x363977;return((_0x363977=_0xfea00d[_0x4e7146(0x6a3)])==null?void 0x0:_0x363977[_0x4e7146(0x575)])!==void 0x0;}))==null||(_0x429075=_0x429075[_0x4e1d72(0x6a3)])==null?void 0x0:_0x429075[_0x4e1d72(0x575)]:_0x23b916;}function Mo(_0x3ce3c7){const _0x4445e6=_0x5defcf;var _0x534715,_0x2d9445;return!_0x3ce3c7||_0x3ce3c7[_0x4445e6(0x495)]===_0x772d0f[_0x4445e6(0x2d4)]?_0x4445e6(0x6bc):_0x3ce3c7['type']===_0x772d0f[_0x4445e6(0x55b)]||(_0x534715=_0x3ce3c7[_0x4445e6(0x487)])!=null&&_0x534715[_0x4445e6(0x605)]||_0x3ce3c7['picture']?'picture':_0x3ce3c7['type']===_0x772d0f['Gradient']||(_0x2d9445=_0x3ce3c7[_0x4445e6(0x5ef)])!=null&&(_0x2d9445=_0x2d9445[_0x4445e6(0x36c)])!=null&&_0x2d9445[_0x4445e6(0x393)]?_0x4445e6(0x5ef):_0x4445e6(0x71a);}function No(_0x4910d2,_0xf324e7){const _0x5b82fe=_0x5defcf;var _0x323df4;return(_0x4910d2==null?void 0x0:_0x4910d2[_0x5b82fe(0x495)])===_0x772d0f['None']?_0xf324e7:(_0x4910d2==null||(_0x323df4=_0x4910d2[_0x5b82fe(0x5ef)])==null||(_0x323df4=_0x323df4[_0x5b82fe(0x36c)])==null||(_0x323df4=_0x323df4[0x0])==null?void 0x0:_0x323df4['color'])??(_0x4910d2==null?void 0x0:_0x4910d2[_0x5b82fe(0x1e2)])??_0xf324e7;}function Po(_0x500159,_0x58887a){const _0x34c4b8=_0x5defcf;var _0x1a136f;return(_0x500159==null?void 0x0:_0x500159['type'])===_0x34c4b8(0x6bc)?_0x34c4b8(0x4f0):(_0x500159==null||(_0x1a136f=_0x500159[_0x34c4b8(0x5ef)])==null||(_0x1a136f=_0x1a136f[_0x34c4b8(0x36c)])==null||(_0x1a136f=_0x1a136f[0x0])==null?void 0x0:_0x1a136f[_0x34c4b8(0x1e2)])??(_0x500159==null?void 0x0:_0x500159[_0x34c4b8(0x1e2)])??_0x58887a??_0x34c4b8(0x560);}function Fo(_0xf11c76){const _0x269070=_0x5defcf;if(_0xf11c76===_0x1285f3[_0x269070(0x29d)])return _0x9c0db6[_0x269070(0x64d)];if(_0xf11c76===_0x1285f3['Bottom'])return _0x9c0db6[_0x269070(0x29b)];if(_0xf11c76===_0x1285f3[_0x269070(0x422)])return _0x9c0db6['MIDDLE'];}function Io(_0x3de68b,_0x27f118){const _0x21b1ae=_0x5defcf;var _0x287d83,_0x3336f7,_0x3096d5;return{'type':(_0x3de68b==null||(_0x287d83=_0x3de68b[_0x21b1ae(0x5ef)])==null?void 0x0:_0x287d83[_0x21b1ae(0x495)])??_0x21b1ae(0x465),'angle':(_0x3de68b==null||(_0x3336f7=_0x3de68b[_0x21b1ae(0x5ef)])==null?void 0x0:_0x3336f7[_0x21b1ae(0x2c3)])??0x0,'stops':_0x3de68b!=null&&(_0x3096d5=_0x3de68b[_0x21b1ae(0x5ef)])!=null&&(_0x3096d5=_0x3096d5[_0x21b1ae(0x36c)])!=null&&_0x3096d5['length']?_0x3de68b[_0x21b1ae(0x5ef)][_0x21b1ae(0x36c)]['map'](_0x3a7e86=>({'color':_0x3a7e86[_0x21b1ae(0x1e2)],'offset':_0x3a7e86[_0x21b1ae(0x273)],'opacity':_0x3a7e86[_0x21b1ae(0x1f1)]})):[{'color':(_0x3de68b==null?void 0x0:_0x3de68b[_0x21b1ae(0x1e2)])??_0x27f118,'offset':0x0,'opacity':(_0x3de68b==null?void 0x0:_0x3de68b[_0x21b1ae(0x498)])??0x1},{'color':'#000000','offset':0x64,'opacity':0x1}]};}function Lo(_0x2fd608){const _0x526121=_0x5defcf;let _0x11a1de=_0x2fd608[_0x526121(0x36c)][0x0];return{'type':_0x772d0f[_0x526121(0x250)],'color':(_0x11a1de==null?void 0x0:_0x11a1de[_0x526121(0x1e2)])??_0x526121(0x648),'alpha':(_0x11a1de==null?void 0x0:_0x11a1de[_0x526121(0x1f1)])??0x1,'picture':void 0x0,'gradient':{'type':_0x2fd608[_0x526121(0x495)],'angle':_0x2fd608[_0x526121(0x2c3)],'stops':_0x2fd608[_0x526121(0x36c)][_0x526121(0x295)](_0x4f9aa9=>({'color':_0x4f9aa9[_0x526121(0x1e2)],'offset':_0x4f9aa9[_0x526121(0x273)],'opacity':_0x4f9aa9[_0x526121(0x1f1)]}))}};}function Ro(_0x38a51c,_0x3a2179){const _0x321120=_0x5defcf;var _0x2842f0,_0x234f90;if((_0x38a51c==null?void 0x0:_0x38a51c['type'])===_0x321120(0x6bc))return{'backgroundColor':_0x321120(0x6a2),'backgroundImage':_0x321120(0x213)};let _0xc31537=_0x38a51c==null||(_0x2842f0=_0x38a51c['picture'])==null?void 0x0:_0x2842f0['source'];return _0xc31537&&/^(?:data:|https?:)/['test'](_0xc31537)?{'backgroundImage':_0x321120(0x5f5)+_0xc31537+'\x22)','backgroundPosition':_0x321120(0x1de),'backgroundSize':_0x321120(0x26a)}:_0x38a51c!=null&&(_0x234f90=_0x38a51c[_0x321120(0x5ef)])!=null&&(_0x234f90=_0x234f90[_0x321120(0x36c)])!=null&&_0x234f90[_0x321120(0x393)]?{'backgroundImage':zo(Io(_0x38a51c,_0x3a2179))}:{'backgroundColor':(_0x38a51c==null?void 0x0:_0x38a51c[_0x321120(0x1e2)])??_0x3a2179};}function zo(_0x1c5727){const _0x1882c9=_0x5defcf;let _0x5d57a3=_0x1c5727[_0x1882c9(0x36c)][_0x1882c9(0x295)](_0x3adcaf=>Bo(_0x3adcaf[_0x1882c9(0x1e2)],_0x3adcaf[_0x1882c9(0x1f1)]??0x1)+'\x20'+_0x3adcaf['offset']+'%')[_0x1882c9(0x1d7)](',\x20');return _0x1c5727[_0x1882c9(0x495)]===_0x1882c9(0x569)||_0x1c5727['type']==='diamond'?_0x1882c9(0x19e)+_0x5d57a3+')':'linear-gradient('+((_0x1c5727[_0x1882c9(0x2c3)]??0x0)+0x5a)%0x168+_0x1882c9(0x1fb)+_0x5d57a3+')';}function Bo(_0x3a7696,_0x4fc252){const _0x5c8557=_0x5defcf;if(_0x4fc252>=0x1)return _0x3a7696;let _0x30325f=new _0xb7c3a(_0x3a7696);return _0x30325f[_0x5c8557(0x6c8)]?_0x30325f['setAlpha'](_0x4fc252)[_0x5c8557(0x62e)]():_0x3a7696;}function Vo(_0x3e531d,_0x46c059){const _0x43b9dd=_0x5defcf;return _0x3e531d[_0x43b9dd(0x638)](_0x285746=>_0x285746[_0x43b9dd(0x38a)]===_0x46c059)?_0x3e531d:[{'label':_0x46c059,'value':_0x46c059},..._0x3e531d];}const Ho={'MergeCells':_0x5defcf(0x198),'UnmergeCells':'unmerge-cells','SetCellStyle':_0x5defcf(0x6d6),'SetBorderPreset':_0x5defcf(0x2cc)};function Uo(_0x25c562,_0x5cc302){const _0x1cf081=_0x5defcf;return[{'id':Ho[_0x1cf081(0x3ec)],'commandId':_0x5cc302['mergeCells'],'enabled':$o(_0x25c562)},{'id':Ho[_0x1cf081(0x218)],'commandId':_0x5cc302[_0x1cf081(0x4d6)],'enabled':Qo(_0x25c562)},{'id':Ho[_0x1cf081(0x5d7)],'commandId':_0x5cc302[_0x1cf081(0x49c)],'enabled':Qo(_0x25c562)},{'id':Ho[_0x1cf081(0x6b2)],'commandId':_0x5cc302['setBorderPreset'],'enabled':Qo(_0x25c562)}];}function Wo(_0x408b63){let _0x5d68fc=es(_0x408b63);return!_0x408b63||!_0x5d68fc?null:{'unitId':_0x408b63['unitId'],'tableId':_0x408b63['tableId'],'range':_0x5d68fc};}function Go(_0x4a6d49){const _0x1fb511=_0x5defcf;let _0x474f5e=es(_0x4a6d49);return!_0x4a6d49||!_0x474f5e?null:{'unitId':_0x4a6d49[_0x1fb511(0x379)],'tableId':_0x4a6d49[_0x1fb511(0x6a7)],'range':_0x474f5e};}function Ko(_0x2bf626,_0x5694b8,_0x41824c){const _0x4adbb7=_0x5defcf;if(!_0x2bf626||!_0x5694b8)return null;if(_0x5694b8[_0x4adbb7(0x3f4)]==='unmerge'){let _0xe335d3=Go({..._0x2bf626,'ranges':[_0x5694b8[_0x4adbb7(0x483)]],'anchor':{'row':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x1d3)],'column':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x3cc)]},'focus':{'row':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x1d3)],'column':_0x5694b8[_0x4adbb7(0x483)][_0x4adbb7(0x3cc)]}});return _0xe335d3?{'commandId':_0x41824c[_0x4adbb7(0x4d6)],'params':_0xe335d3}:null;}let _0x1de6db=Wo({..._0x2bf626,'ranges':[_0x5694b8[_0x4adbb7(0x483)]]});return _0x1de6db?{'commandId':_0x41824c[_0x4adbb7(0x5e7)],'params':_0x1de6db}:null;}function qo(_0xcfaf9c,_0x1310c6,_0xee6747){const _0x5149a2=_0x5defcf;let _0x10b15e=es(_0x1310c6);return!_0x1310c6||!_0x10b15e||!_0xcfaf9c?null:_0x1310c6[_0x5149a2(0x521)]===_0x5149a2(0x4b9)?_0xcfaf9c[_0x5149a2(0x360)][_0x5149a2(0x393)]<=_0x10b15e[_0x5149a2(0x573)]-_0x10b15e[_0x5149a2(0x1d3)]+0x1?null:{'commandId':_0xee6747[_0x5149a2(0x556)],'params':{'unitId':_0x1310c6[_0x5149a2(0x379)],'tableId':_0x1310c6[_0x5149a2(0x6a7)],'startRow':_0x10b15e[_0x5149a2(0x1d3)],'endRow':_0x10b15e[_0x5149a2(0x573)]},'kind':_0x5149a2(0x4b9)}:_0x1310c6['kind']==='column'?_0xcfaf9c['columns'][_0x5149a2(0x393)]<=_0x10b15e[_0x5149a2(0x351)]-_0x10b15e['startColumn']+0x1?null:{'commandId':_0xee6747[_0x5149a2(0x3eb)],'params':{'unitId':_0x1310c6[_0x5149a2(0x379)],'tableId':_0x1310c6[_0x5149a2(0x6a7)],'startColumn':_0x10b15e[_0x5149a2(0x3cc)],'endColumn':_0x10b15e[_0x5149a2(0x351)]},'kind':_0x5149a2(0x3f1)}:null;}function Jo(_0x4ed705,_0x2837f2){const _0x51be6d=_0x5defcf;let _0xa59e5=es(_0x4ed705);return!_0x4ed705||!_0xa59e5?null:{'unitId':_0x4ed705[_0x51be6d(0x379)],'tableId':_0x4ed705['tableId'],'range':_0xa59e5,'style':_0x2837f2};}function Yo(_0x5633d3,_0x982544,_0x2ae189){const _0x4c389c=_0x5defcf;let _0x3a1846=es(_0x5633d3);return!_0x5633d3||!_0x3a1846?null:{'unitId':_0x5633d3[_0x4c389c(0x379)],'tableId':_0x5633d3[_0x4c389c(0x6a7)],'range':_0x3a1846,'preset':_0x982544,..._0x2ae189?{'border':_0x2ae189}:{}};}function Xo(_0xd43ccd,_0xf6eee6){const _0x3f25ea=_0x5defcf;let _0x307889=es(_0xf6eee6);if(!_0x307889)return null;let _0x4a4a53=_0xd43ccd?Zo(_0xd43ccd,_0x307889):null;return _0x4a4a53?{'action':_0x3f25ea(0x59a),'range':_0x4a4a53}:_0x719977(_0x307889)?{'action':_0x3f25ea(0x6f4),'range':_0x307889}:null;}function Zo(_0x56e7e7,_0x283cde){const _0xe7a076=_0x5defcf;let _0xfc71c3=_0x4a84fc(_0x283cde);for(let _0x5c77a9=_0xfc71c3[_0xe7a076(0x1d3)];_0x5c77a9<=_0xfc71c3[_0xe7a076(0x573)];_0x5c77a9+=0x1)for(let _0x105f7b=_0xfc71c3['startColumn'];_0x105f7b<=_0xfc71c3[_0xe7a076(0x351)];_0x105f7b+=0x1){let _0x3551d7=_0x44102f(_0x56e7e7,_0x5c77a9,_0x105f7b);if(_0x3551d7&&_0x719977(_0x3551d7))return _0x3551d7;}return null;}function Qo(_0x4d1606){return!!es(_0x4d1606);}function $o(_0x1d99df){const _0x29adc4=_0x5defcf;let _0x4f2d56=es(_0x1d99df);return _0x4f2d56?_0x4f2d56[_0x29adc4(0x1d3)]!==_0x4f2d56[_0x29adc4(0x573)]||_0x4f2d56['startColumn']!==_0x4f2d56['endColumn']:!0x1;}function es(_0x5c67eb){const _0x13e7ab=_0x5defcf;return(_0x5c67eb==null?void 0x0:_0x5c67eb[_0x13e7ab(0x649)][0x0])??null;}function ts(_0x10ad56){return Uo(_0x10ad56,{'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id'],'setCellStyle':_0x296a89['id'],'setBorderPreset':_0x296a89['id']});}function ns(_0x71e309,_0x43ef81){const _0x3a79ac=_0x5defcf;return{'actions':ts(_0x43ef81),'mergeState':Xo(_0x71e309,_0x43ef81),'values':wo(_0x71e309,_0x43ef81==null?void 0x0:_0x43ef81[_0x3a79ac(0x649)][0x0])};}function rs(_0x3322c2,_0x275b2d,_0x4ec762){return!_0x3322c2||!_0x275b2d||!_0x4ec762?null:Ko(_0x3322c2,{'action':_0x275b2d,'range':_0x4ec762},{'mergeCells':_0x13d966['id'],'unmergeCells':_0x5336e9['id']});}function is(_0x460b9d,_0x2d3807){return qo(_0x460b9d,_0x2d3807,{'deleteRows':_0x5a5531['id'],'deleteColumns':_0x16427a['id']});}function as(_0x3e9eb9){const _0x555ea9=_0x5defcf;let _0x22bbaf=_0x5b8390(!0x1),_0x1efaff=_0x5b8390(null),_0x53a1fa=_0x41e5c1(J);return _0x2f2258(()=>()=>{const _0xe512df=_0x428e;_0x1efaff[_0xe512df(0x508)]&&clearTimeout(_0x1efaff[_0xe512df(0x508)]);},[]),_0x3e9eb9[_0x555ea9(0x43f)]({'handleOpenChange':_0x116040=>{const _0x2061f7=_0x555ea9;(_0x116040||!_0x22bbaf[_0x2061f7(0x508)])&&_0x3e9eb9['onOpenChange'](_0x116040);},'markInternalInteraction':()=>{const _0x535d51=_0x555ea9;_0x53a1fa[_0x535d51(0x4ca)](),_0x22bbaf[_0x535d51(0x508)]=!0x0,_0x1efaff[_0x535d51(0x508)]&&clearTimeout(_0x1efaff[_0x535d51(0x508)]),_0x1efaff[_0x535d51(0x508)]=setTimeout(()=>{const _0x5ad4ad=_0x535d51;_0x22bbaf[_0x5ad4ad(0x508)]=!0x1,_0x1efaff['current']=null;},0x1f4);}});}const os={'none':_0x5defcf(0x6bc),'solid':_0x5defcf(0x71a),'gradient':_0x5defcf(0x5ef),'picture':'picture'};function ss(_0xbd5fd8){const _0x2750a6=_0x5defcf;var _0x2367a6,_0x231037;let {children:_0x32dfe4,color:_0x95d367,gradientValue:_0x4c063d,previewStyle:_0x164108,showPreview:_0x42fa7b=!0x0,tableFill:_0x558f21,textFill:_0x35b38a,open:_0x3ae31c,value:_0x426d8d,onOpenChange:_0x308fca,onTableFillChange:_0x3d2fa2,onTextFillChange:_0x5a8816}=_0xbd5fd8,_0x2ccfd4=_0x41e5c1(_0x494027),_0x156f6e={'noFill':_0x2ccfd4['t'](_0x2750a6(0x1b0)),'solidFill':_0x2ccfd4['t'](_0x2750a6(0x20d)),'gradientFill':_0x2ccfd4['t'](_0x2750a6(0x3e7)),'pictureFill':_0x2ccfd4['t']('slides-table-ui.shapePanel.fill.pictureFill'),'color':_0x2ccfd4['t'](_0x2750a6(0x662)),'transparency':_0x2ccfd4['t'](_0x2750a6(0x6e5)),'pictureSource':_0x2ccfd4['t'](_0x2750a6(0x602)),'pictureInsert':_0x2ccfd4['t']('slides-table-ui.shapePanel.fill.picture.insert')},_0x14c7d6=(_0x558f21==null||(_0x2367a6=_0x558f21[_0x2750a6(0x487)])==null?void 0x0:_0x2367a6[_0x2750a6(0x1f1)])??(_0x558f21==null?void 0x0:_0x558f21[_0x2750a6(0x498)])??(_0x35b38a==null||(_0x231037=_0x35b38a[_0x2750a6(0x487)])==null?void 0x0:_0x231037[_0x2750a6(0x1f1)])??(_0x35b38a==null?void 0x0:_0x35b38a[_0x2750a6(0x1f1)])??0x1,_0x22de53=_0x2f4496=>_0x3d2fa2==null?void 0x0:_0x3d2fa2(_0x2f4496),_0x3c4e30=_0x3b7858=>_0x5a8816==null?void 0x0:_0x5a8816(_0x3b7858);return _0x455c20(as,{'onOpenChange':_0x308fca,'children':({handleOpenChange:_0x59799f,markInternalInteraction:_0x495a03})=>_0x455c20(_0x8e5066,{'overlay':_0x455c20(_0x2750a6(0x2cb),{'className':_0x34395c(_0x2750a6(0x5be),_0x2750a6(0x2c4),_0x2e4a4b),'data-u-comp':_0x2750a6(0x45c),'onMouseDown':_0x3b8609=>{_0x495a03(),_0x5142db(_0x3b8609);},'onPointerDown':_0x2bf76f=>{_0x495a03(),_0x5142db(_0x2bf76f);},'children':_0x455c20(_0x4262d1,{'compact':!0x0,'direction':_0x2ccfd4[_0x2750a6(0x5b4)](),'keepColorPickerOpenOnChange':!0x0,'value':_0x426d8d,'typeValues':os,'color':_0x95d367,'transparency':Math[_0x2750a6(0x300)]((0x1-_0x14c7d6)*0x64),'gradientValue':_0x4c063d,'labels':_0x156f6e,'tabLabels':_0x156f6e,'onChange':_0x48d606=>{const _0xc70b70=_0x2750a6;if(_0x48d606==='none')_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x2d4)],'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':'none'});else{if(_0x48d606===_0xc70b70(0x71a))_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x37a)],'color':_0x95d367,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0xc70b70(0x71a),'color':_0x95d367,'opacity':_0x14c7d6});else{if(_0x48d606===_0xc70b70(0x5ef))_0x22de53(Lo(_0x4c063d)),_0x3c4e30(ds(_0x4c063d));else{if(_0x48d606==='picture'){var _0xbaa921,_0xf8c636;_0x22de53({..._0x558f21,'type':_0x772d0f[_0xc70b70(0x55b)],'color':_0x95d367,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':{..._0x558f21==null?void 0x0:_0x558f21[_0xc70b70(0x487)],'opacity':_0x14c7d6,'mode':(_0x558f21==null||(_0xbaa921=_0x558f21[_0xc70b70(0x487)])==null?void 0x0:_0xbaa921['mode'])??_0xc34825[_0xc70b70(0x727)]}}),_0x3c4e30({..._0x35b38a,'type':_0xc70b70(0x487),'color':_0x95d367,'opacity':_0x14c7d6,'picture':{..._0x35b38a==null?void 0x0:_0x35b38a['picture'],'opacity':_0x14c7d6,'mode':(_0x35b38a==null||(_0xf8c636=_0x35b38a[_0xc70b70(0x487)])==null?void 0x0:_0xf8c636[_0xc70b70(0x518)])??_0xc34825[_0xc70b70(0x727)]}});}}}}},'onColorChange':_0x30ce7f=>{const _0x44dbf1=_0x2750a6;_0x22de53({..._0x558f21,'type':_0x772d0f['Solid'],'color':_0x30ce7f,'alpha':_0x14c7d6,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0x44dbf1(0x71a),'color':_0x30ce7f,'opacity':_0x14c7d6});},'onTransparencyChange':_0x34ba43=>{const _0x5e437f=_0x2750a6;let _0x544f43=(0x64-Math[_0x5e437f(0x6bf)](0x0,Math['min'](0x64,_0x34ba43)))/0x64;if(_0x426d8d==='picture'){var _0x3f9480,_0x2ce971;_0x22de53({..._0x558f21,'type':_0x772d0f[_0x5e437f(0x55b)],'picture':{..._0x558f21==null?void 0x0:_0x558f21[_0x5e437f(0x487)],'opacity':_0x544f43,'mode':(_0x558f21==null||(_0x3f9480=_0x558f21[_0x5e437f(0x487)])==null?void 0x0:_0x3f9480[_0x5e437f(0x518)])??_0xc34825[_0x5e437f(0x727)]}}),_0x3c4e30({..._0x35b38a,'type':'picture','picture':{..._0x35b38a==null?void 0x0:_0x35b38a[_0x5e437f(0x487)],'opacity':_0x544f43,'mode':(_0x35b38a==null||(_0x2ce971=_0x35b38a[_0x5e437f(0x487)])==null?void 0x0:_0x2ce971[_0x5e437f(0x518)])??'stretch'}});return;}_0x22de53({..._0x558f21,'type':_0x772d0f['Solid'],'color':_0x95d367,'alpha':_0x544f43,'gradient':void 0x0,'picture':void 0x0}),_0x3c4e30({..._0x35b38a,'type':_0x5e437f(0x71a),'color':_0x95d367,'opacity':_0x544f43});},'onGradientChange':_0x40bfec=>{_0x22de53(Lo(_0x40bfec)),_0x3c4e30(ds(_0x40bfec));},'pictureFillEditor':_0x3d2fa2?_0x455c20(cs,{'fill':_0x558f21,'labels':_0x156f6e,'onChange':_0x22de53}):_0x455c20(ls,{'fallbackColor':_0x95d367,'fill':_0x35b38a,'labels':_0x156f6e,'onChange':_0x3c4e30})})}),'open':_0x3ae31c,'onOpenChange':_0x59799f,'children':_0x455c20(_0x2750a6(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0xbd5fd8[_0x2750a6(0x3a7)]??_0x2ccfd4['t'](_0x2750a6(0x609)),'placement':_0x2750a6(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x2750a6(0x592),'variant':_0x2750a6(0x3a9),'aria-expanded':_0x3ae31c,'aria-label':_0xbd5fd8[_0x2750a6(0x3a7)]??_0x2ccfd4['t'](_0x2750a6(0x609)),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x3ae31c}),'title':_0xbd5fd8['label']??_0x2ccfd4['t'](_0x2750a6(0x609)),'type':_0x2750a6(0x52d),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0xbd5fd8[_0x2750a6(0x636)]?_0x455c20('span',{'aria-hidden':_0x2750a6(0x610),'children':'—'}):_0x32dfe4,_0xbd5fd8[_0x2750a6(0x3a7)]&&_0x455c20(_0x2750a6(0x45d),{'className':'univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','children':_0xbd5fd8[_0x2750a6(0x3a7)]}),_0x42fa7b&&!_0xbd5fd8[_0x2750a6(0x636)]?_0x455c20(_0x2750a6(0x45d),{'className':_0x2750a6(0x4e5),'style':_0x164108}):null,_0x455c20(_0xb728d6,{'className':_0x2750a6(0x3ed)})]})})})})});}function cs(_0x1bad3c){const _0x16d8e5=_0x5defcf;let {fill:_0x3e519f,labels:_0x3f5df9,onChange:_0x2edf4e}=_0x1bad3c,_0x43d2be=_0x41e5c1(_0x1316c1),_0x403c3c=_0x5b8390(null),_0x123c4a=_0x3e519f==null?void 0x0:_0x3e519f['picture'],_0x1b8fa3=(_0x123c4a==null?void 0x0:_0x123c4a[_0x16d8e5(0x1f1)])??(_0x3e519f==null?void 0x0:_0x3e519f[_0x16d8e5(0x498)])??0x1,_0x1170d7=_0x123c4a!=null&&_0x123c4a[_0x16d8e5(0x605)]&&/^(?:data:|https?:)/[_0x16d8e5(0x721)](_0x123c4a[_0x16d8e5(0x605)])?_0x123c4a[_0x16d8e5(0x605)]:void 0x0;return _0x30f958(_0x16d8e5(0x2cb),{'className':_0x16d8e5(0x694),'children':[_0x30f958(_0x16d8e5(0x2cb),{'className':_0x16d8e5(0x35d),'children':[_0x455c20(_0x16d8e5(0x45d),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f5df9[_0x16d8e5(0x1d8)]}),_0x455c20(_0x16d8e5(0x34d),{'ref':_0x403c3c,'type':_0x16d8e5(0x63a),'accept':_0x16d8e5(0x626),'className':'univer-hidden','onChange':async _0x5464eb=>{const _0x39641c=_0x16d8e5;var _0x40d8d9;let _0x598a62=(_0x40d8d9=_0x5464eb[_0x39641c(0x362)][_0x39641c(0x540)])==null?void 0x0:_0x40d8d9[0x0];if(!_0x598a62)return;_0x5464eb[_0x39641c(0x362)][_0x39641c(0x38a)]='';let _0x244ec5=await _0x43d2be[_0x39641c(0x262)](_0x598a62);if(_0x244ec5==null)return;let {imageSourceType:_0x38ebc4,source:_0x1e9a4f,base64Cache:_0x3a3f9f}=_0x244ec5;if(_0x3a3f9f){let {image:_0xb79402}=await _0xecd06b(_0x3a3f9f);_0x43d2be['addImageSourceCache'](_0x1e9a4f,_0x38ebc4,_0xb79402);}_0x2edf4e({..._0x3e519f,'type':_0x772d0f[_0x39641c(0x55b)],'gradient':void 0x0,'picture':{..._0x123c4a,'source':_0x1e9a4f,'sourceType':_0x38ebc4,'opacity':_0x1b8fa3,'mode':(_0x123c4a==null?void 0x0:_0x123c4a['mode'])??_0xc34825[_0x39641c(0x727)]}});}}),_0x455c20(_0x186c8e,{'size':_0x16d8e5(0x592),'type':_0x16d8e5(0x52d),'onClick':()=>{const _0x3d6e0c=_0x16d8e5;var _0x13598b;return(_0x13598b=_0x403c3c['current'])==null?void 0x0:_0x13598b[_0x3d6e0c(0x49a)]();},'children':_0x3f5df9[_0x16d8e5(0x5e1)]})]}),_0x1170d7&&_0x455c20(_0x16d8e5(0x2ab),{'src':_0x1170d7,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),_0x455c20(us,{'label':_0x3f5df9[_0x16d8e5(0x30b)],'opacity':_0x1b8fa3,'onChange':_0x1782c5=>_0x2edf4e({..._0x3e519f,'picture':{..._0x123c4a,'opacity':_0x1782c5,'mode':(_0x123c4a==null?void 0x0:_0x123c4a[_0x16d8e5(0x518)])??_0xc34825[_0x16d8e5(0x727)]}})})]});}function ls(_0x2d2e67){const _0x385a84=_0x5defcf;let {fallbackColor:_0x40be9b,fill:_0x50029d,labels:_0x5d1197,onChange:_0x972c5c}=_0x2d2e67,_0x8b2552=_0x41e5c1(_0x1316c1),_0x27bb46=_0x5b8390(null),_0x48c649=_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x487)],_0x35fa8f=(_0x48c649==null?void 0x0:_0x48c649[_0x385a84(0x1f1)])??(_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x1f1)])??0x1,_0x11d347=_0x48c649!=null&&_0x48c649[_0x385a84(0x605)]&&/^(?:data:|https?:)/[_0x385a84(0x721)](_0x48c649[_0x385a84(0x605)])?_0x48c649['source']:void 0x0;return _0x30f958(_0x385a84(0x2cb),{'className':_0x385a84(0x694),'children':[_0x30f958(_0x385a84(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x455c20('span',{'className':_0x385a84(0x287),'children':_0x5d1197[_0x385a84(0x1d8)]}),_0x455c20(_0x385a84(0x34d),{'ref':_0x27bb46,'type':_0x385a84(0x63a),'accept':_0x385a84(0x626),'className':_0x385a84(0x5c2),'onChange':async _0x1aa6b6=>{const _0x26d019=_0x385a84;var _0x1ce84e;let _0x440854=(_0x1ce84e=_0x1aa6b6['target'][_0x26d019(0x540)])==null?void 0x0:_0x1ce84e[0x0];if(!_0x440854)return;_0x1aa6b6[_0x26d019(0x362)][_0x26d019(0x38a)]='';let _0x42bb4a=await _0x8b2552['saveImage'](_0x440854);if(_0x42bb4a==null)return;let {imageSourceType:_0x5b74ea,source:_0x5e226b,base64Cache:_0x1bad77}=_0x42bb4a;_0x972c5c({..._0x50029d,'type':_0x26d019(0x487),'color':(_0x50029d==null?void 0x0:_0x50029d[_0x26d019(0x1e2)])??_0x40be9b,'picture':{..._0x48c649,'source':_0x1bad77||_0x5e226b,'sourceType':_0x5b74ea,'opacity':_0x35fa8f,'mode':(_0x48c649==null?void 0x0:_0x48c649[_0x26d019(0x518)])??_0x26d019(0x3b3)}});}}),_0x455c20(_0x186c8e,{'size':_0x385a84(0x592),'type':'button','onClick':()=>{const _0x3f9372=_0x385a84;var _0xc211c2;return(_0xc211c2=_0x27bb46[_0x3f9372(0x508)])==null?void 0x0:_0xc211c2[_0x3f9372(0x49a)]();},'children':_0x5d1197[_0x385a84(0x5e1)]})]}),_0x11d347&&_0x455c20(_0x385a84(0x2ab),{'src':_0x11d347,'alt':'','className':_0x385a84(0x5c7)}),_0x455c20(us,{'label':_0x5d1197['transparency'],'opacity':_0x35fa8f,'onChange':_0x3e58b3=>_0x972c5c({..._0x50029d,'type':_0x385a84(0x487),'color':(_0x50029d==null?void 0x0:_0x50029d[_0x385a84(0x1e2)])??_0x40be9b,'picture':{..._0x48c649,'opacity':_0x3e58b3,'mode':(_0x48c649==null?void 0x0:_0x48c649[_0x385a84(0x518)])??_0x385a84(0x3b3)}})})]});}function us(_0x476161){const _0x43c8aa=_0x5defcf;return _0x30f958(_0x43c8aa(0x2cb),{'className':_0x43c8aa(0x35d),'children':[_0x455c20(_0x43c8aa(0x45d),{'className':_0x43c8aa(0x287),'children':_0x476161[_0x43c8aa(0x3a7)]}),_0x455c20(_0x43c8aa(0x2cb),{'className':_0x43c8aa(0x647),'children':_0x455c20(_0x39a1de,{'className':_0x43c8aa(0x55f),'value':Math[_0x43c8aa(0x300)]((0x1-_0x476161['opacity'])*0x64),'min':0x0,'max':0x64,'step':0xa,'formatter':_0x52e512=>_0x52e512+'%','parser':_0x10334e=>(_0x10334e==null?void 0x0:_0x10334e[_0x43c8aa(0x48c)]('%',''))||'','onChange':_0x22c318=>{const _0x4a648a=_0x43c8aa;let _0x12b857=Math[_0x4a648a(0x6bf)](0x0,Math[_0x4a648a(0x4a7)](0x64,_0x22c318??0x0));_0x476161[_0x4a648a(0x2e0)]((0x64-_0x12b857)/0x64);}})})]});}function ds(_0x24e390){const _0x1ae98f=_0x5defcf;var _0x1da9ed;return{'type':_0x1ae98f(0x5ef),'color':((_0x1da9ed=_0x24e390[_0x1ae98f(0x36c)][0x0])==null?void 0x0:_0x1da9ed[_0x1ae98f(0x1e2)])??'#111827','gradient':{'type':_0x24e390[_0x1ae98f(0x495)],'angle':_0x24e390[_0x1ae98f(0x2c3)],'stops':_0x24e390[_0x1ae98f(0x36c)][_0x1ae98f(0x295)](_0x51490c=>({'offset':_0x51490c[_0x1ae98f(0x273)],'color':_0x51490c[_0x1ae98f(0x1e2)],'opacity':_0x51490c[_0x1ae98f(0x1f1)]}))}};}const fs=_0x2c2312[_0x5defcf(0x295)](_0x20ca0b=>({'label':_0x20ca0b['label'],'value':String(_0x20ca0b[_0x5defcf(0x38a)])})),ps=[0x0,0x1,0x2,0x3,0x4,0x6],ms=[{'labelKey':_0x5defcf(0x655),'value':_0x599627['Solid']},{'labelKey':_0x5defcf(0x25f),'value':_0x599627[_0x5defcf(0x5f4)]},{'labelKey':_0x5defcf(0x446),'value':_0x599627[_0x5defcf(0x2f4)]},{'labelKey':_0x5defcf(0x5fe),'value':_0x599627[_0x5defcf(0x415)]},{'labelKey':_0x5defcf(0x33a),'value':_0x599627[_0x5defcf(0x2d4)]}],hs=[{'labelKey':'slides-table-ui.editorToolbar.borderPresetAll','preset':_0x4c5615[_0x5defcf(0x25b)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetInner','preset':_0x4c5615[_0x5defcf(0x6da)]},{'labelKey':_0x5defcf(0x3ca),'preset':_0x4c5615[_0x5defcf(0x4ba)]},{'labelKey':_0x5defcf(0x21d),'preset':_0x4c5615[_0x5defcf(0x29d)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetBottom','preset':_0x4c5615[_0x5defcf(0x240)]},{'labelKey':_0x5defcf(0x61e),'preset':_0x4c5615[_0x5defcf(0x656)]},{'labelKey':_0x5defcf(0x209),'preset':_0x4c5615[_0x5defcf(0x5a7)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetInnerHorizontal','preset':_0x4c5615['InnerHorizontal']},{'labelKey':_0x5defcf(0x2ee),'preset':_0x4c5615[_0x5defcf(0x195)]},{'labelKey':'slides-table-ui.editorToolbar.noBorder','preset':_0x4c5615[_0x5defcf(0x2d4)]}],gs={[_0x4c5615[_0x5defcf(0x25b)]]:_0x1000bb,[_0x4c5615['Inner']]:_0x18f717,[_0x4c5615[_0x5defcf(0x4ba)]]:_0x1e538d,[_0x4c5615[_0x5defcf(0x29d)]]:_0x4a293a,[_0x4c5615[_0x5defcf(0x240)]]:_0x501398,[_0x4c5615[_0x5defcf(0x656)]]:_0x2e80da,[_0x4c5615[_0x5defcf(0x5a7)]]:_0x22d20c,[_0x4c5615[_0x5defcf(0x31b)]]:_0x311f6d,[_0x4c5615[_0x5defcf(0x195)]]:_0x3d4f9d,[_0x4c5615['None']]:_0x509dec},_s={'colorChannel1':'#9ca3af'},vs=_0x5defcf(0x5be);function ys(_0x4e4dfb){const _0x560b12=_0x5defcf;return _0x455c20('div',{'className':_0x560b12(0x69f),'children':_0x4e4dfb[_0x560b12(0x43f)]});}function bs(_0x4771bc){const _0x4ec273=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x4771bc[_0x4ec273(0x329)],'placement':'bottom','children':_0x455c20(_0x4ec273(0x45d),{'children':_0x455c20(_0x186c8e,{'size':_0x4ec273(0x592),'variant':_0x4ec273(0x3a9),'type':'button','data-toolbar-item':_0x4771bc['data-toolbar-item'],'aria-label':_0x4771bc['title'],'title':_0x4771bc[_0x4ec273(0x329)],'onClick':_0x4396e3=>{const _0x51987a=_0x4ec273;_0x4396e3['preventDefault'](),_0x4771bc[_0x51987a(0x1c5)]();},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x4771bc[_0x4ec273(0x43f)]})})});}function xs(_0x39ec66){const _0x2c781e=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x39ec66[_0x2c781e(0x329)],'placement':_0x2c781e(0x341),'children':_0x455c20(_0x186c8e,{'size':_0x2c781e(0x592),'variant':_0x2c781e(0x3a9),'type':'button','aria-label':_0x39ec66[_0x2c781e(0x329)],'className':_0x34395c({'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x39ec66['active']}),'onClick':_0x5af7fc=>{const _0x5d9218=_0x2c781e;_0x5af7fc[_0x5d9218(0x574)](),_0x39ec66[_0x5d9218(0x1c5)]();},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x39ec66[_0x2c781e(0x43f)]})});}function Ss(_0x1fa806){const _0x1d06bd=_0x5defcf;let _0x401be2=_0x41e5c1(_0x494027);return _0x455c20(as,{'onOpenChange':_0x1fa806[_0x1d06bd(0x25c)],'children':({handleOpenChange:_0x5d8870,markInternalInteraction:_0x51396e})=>_0x455c20(_0x8e5066,{'open':_0x1fa806['open'],'onOpenChange':_0x5d8870,'overlay':_0x30f958(_0x1d06bd(0x70f),{'className':_0x34395c(vs,_0x1d06bd(0x1ec),_0x2e4a4b),'data-u-comp':_0x1d06bd(0x45c),'onMouseDown':_0x1d088e=>{_0x51396e(),_0x5142db(_0x1d088e);},'onPointerDown':_0xcdbab1=>{_0x51396e(),_0x5142db(_0xcdbab1);},'children':[_0x30f958('div',{'className':_0x1d06bd(0x5b1),'children':[_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x5a5)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x5a5)],'title':_0x401be2['t']('slides-table-ui.editorToolbar.bold'),'onClick':()=>_0x1fa806['onToggleStyle']({'bl':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x5a5)]||!_0x1fa806['values'][_0x1d06bd(0x5a5)]?_0x3fcebf['TRUE']:_0x3fcebf[_0x1d06bd(0x403)]}),'children':_0x455c20(_0x4fb6d4,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)]['mixed'][_0x1d06bd(0x1eb)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x1eb)],'title':_0x401be2['t'](_0x1d06bd(0x50a)),'onClick':()=>_0x1fa806[_0x1d06bd(0x3c9)]({'it':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x1eb)]||!_0x1fa806['values'][_0x1d06bd(0x1eb)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}),'children':_0x455c20(_0x8f99bc,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)]['underline']&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x2b9)],'title':_0x401be2['t'](_0x1d06bd(0x577)),'onClick':()=>_0x1fa806['onToggleStyle']({'ul':{'s':_0x1fa806[_0x1d06bd(0x267)]['mixed']['underline']||!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x2b9)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}}),'children':_0x455c20(_0x1c7e39,{})}),_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x69c)]&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x69c)],'title':_0x401be2['t'](_0x1d06bd(0x436)),'onClick':()=>_0x1fa806[_0x1d06bd(0x3c9)]({'st':{'s':_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x69c)]||!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x69c)]?_0x3fcebf[_0x1d06bd(0x298)]:_0x3fcebf[_0x1d06bd(0x403)]}}),'children':_0x455c20(_0x2f2343,{})})]}),_0x455c20(_0x103320,{}),_0x455c20(_0x1d06bd(0x2cb),{'className':_0x1d06bd(0x5b1),'children':_0x1fa806['horizontalAlignOptions'][_0x1d06bd(0x295)](_0x4848e3=>_0x455c20(xs,{'active':!_0x1fa806['values'][_0x1d06bd(0x636)]['horizontalAlign']&&_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x575)]===_0x4848e3[_0x1d06bd(0x38a)],'title':_0x401be2['t'](_0x4848e3[_0x1d06bd(0x330)]),'onClick':()=>_0x1fa806[_0x1d06bd(0x340)](_0x4848e3[_0x1d06bd(0x38a)]),'children':_0x4848e3[_0x1d06bd(0x36b)]},_0x4848e3[_0x1d06bd(0x38a)]))}),_0x455c20(_0x103320,{}),_0x455c20(_0x1d06bd(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':_0x1fa806[_0x1d06bd(0x432)][_0x1d06bd(0x295)](_0xbe4852=>_0x455c20(xs,{'active':!_0x1fa806[_0x1d06bd(0x267)][_0x1d06bd(0x636)][_0x1d06bd(0x385)]&&_0x1fa806['values']['verticalAlign']===_0xbe4852[_0x1d06bd(0x38a)],'title':_0x401be2['t'](_0xbe4852[_0x1d06bd(0x330)]),'onClick':()=>_0x1fa806['onVerticalAlign'](_0xbe4852[_0x1d06bd(0x38a)]),'children':_0xbe4852[_0x1d06bd(0x36b)]},_0xbe4852[_0x1d06bd(0x38a)]))})]}),'children':_0x455c20('span',{'children':_0x455c20(_0x2b411f,{'title':_0x401be2['t'](_0x1d06bd(0x427)),'placement':'bottom','children':_0x30f958(_0x186c8e,{'size':_0x1d06bd(0x592),'variant':_0x1d06bd(0x3a9),'type':_0x1d06bd(0x52d),'aria-expanded':_0x1fa806[_0x1d06bd(0x1d4)],'aria-label':_0x401be2['t'](_0x1d06bd(0x427)),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1fa806[_0x1d06bd(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x455c20(_0x267c75,{}),_0x455c20(_0xb728d6,{'className':'univer-text-xs'})]})})})})});}function Cs(_0x32f3de){const _0x2d120b=_0x5defcf;let _0x367cfd=_0x41e5c1(_0x494027);return _0x455c20(as,{'onOpenChange':_0x32f3de[_0x2d120b(0x25c)],'children':({handleOpenChange:_0x16ca9b,markInternalInteraction:_0x41edb5})=>_0x455c20(_0x8e5066,{'open':_0x32f3de[_0x2d120b(0x1d4)],'onOpenChange':_0x16ca9b,'overlay':_0x455c20(_0x2d120b(0x70f),{'className':_0x34395c(vs,_0x2e4a4b),'data-u-comp':_0x2d120b(0x45c),'onMouseDown':_0x5a3923=>{_0x41edb5(),_0x5142db(_0x5a3923);},'onPointerDown':_0x4ac515=>{_0x41edb5(),_0x5142db(_0x4ac515);},'children':_0x32f3de[_0x2d120b(0x43f)]}),'children':_0x455c20(_0x2d120b(0x45d),{'className':_0x34395c({'[&>span]:univer-h-full\x20[&>span]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x455c20(_0x2b411f,{'title':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t']('slides-table-ui.editorToolbar.tableTheme'),'placement':_0x2d120b(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x2d120b(0x592),'variant':_0x2d120b(0x3a9),'type':_0x2d120b(0x52d),'data-toolbar-item':_0x2d120b(0x477),'aria-expanded':_0x32f3de[_0x2d120b(0x1d4)],'aria-label':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t'](_0x2d120b(0x2c9)),'title':_0x32f3de[_0x2d120b(0x3a7)]??_0x367cfd['t']('slides-table-ui.editorToolbar.tableTheme'),'className':_0x34395c({'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-min-w-28\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-col\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-px-1.5\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-py-1':_0x32f3de[_0x2d120b(0x271)],'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x32f3de['open']}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x455c20('span',{'className':_0x34395c(_0x2d120b(0x52f),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-3xl':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x32f3de[_0x2d120b(0x36b)]??_0x455c20(_0x430b00,{})}),_0x30f958('span',{'className':_0x34395c('univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-0.5',{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-center':_0x32f3de[_0x2d120b(0x271)]}),'children':[_0x32f3de[_0x2d120b(0x3a7)]&&_0x455c20(_0x2d120b(0x45d),{'className':_0x34395c(_0x2d120b(0x2b6),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-none\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-xs':_0x32f3de[_0x2d120b(0x271)]}),'children':_0x32f3de[_0x2d120b(0x3a7)]}),_0x455c20(_0xb728d6,{'className':_0x2d120b(0x3ed)})]})]})})})})});}function ws(_0x405bb1){const _0x35bb4b=_0x5defcf;let _0x3efd6f=_0x41e5c1(_0x494027),_0x31edf8=ms[_0x35bb4b(0x461)](_0x21eec7=>_0x21eec7[_0x35bb4b(0x38a)]===_0x405bb1[_0x35bb4b(0x244)])??ms[0x0];return _0x455c20(as,{'onOpenChange':_0x405bb1[_0x35bb4b(0x25c)],'children':({handleOpenChange:_0xf0cb97,markInternalInteraction:_0x59456a})=>_0x455c20(_0x8e5066,{'open':_0x405bb1['open'],'onOpenChange':_0xf0cb97,'overlay':_0x30f958('section',{'className':_0x34395c(vs,'univer-grid\x20univer-gap-2\x20univer-p-2',_0x2e4a4b),'data-u-comp':_0x35bb4b(0x45c),'dir':_0x405bb1[_0x35bb4b(0x2eb)],'onMouseDown':_0x95ca55=>{_0x59456a(),_0x5142db(_0x95ca55);},'onPointerDown':_0x5d21f8=>{_0x59456a(),_0x5142db(_0x5d21f8);},'children':[_0x455c20(_0x35bb4b(0x2cb),{'className':_0x35bb4b(0x36a),'children':_0x405bb1[_0x35bb4b(0x2d3)][_0x35bb4b(0x295)](({labelKey:_0x461f12,preset:_0x3e32af})=>{const _0x2a6edf=_0x35bb4b;let _0x5c632e=gs[_0x3e32af];return _0x455c20(_0x2b411f,{'title':_0x3efd6f['t'](_0x461f12),'placement':_0x2a6edf(0x341),'children':_0x455c20(_0x186c8e,{'size':_0x2a6edf(0x36b),'variant':_0x2a6edf(0x3a9),'type':_0x2a6edf(0x52d),'aria-label':_0x3efd6f['t'](_0x461f12),'onClick':()=>{const _0x5c870e=_0x2a6edf;_0x405bb1[_0x5c870e(0x6cb)](_0x3e32af),_0x405bb1['onOpenChange'](!0x1);},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x455c20(_0x5c632e,{'className':_0x2a6edf(0x6a6),'extend':_s})})},_0x3e32af);})}),_0x455c20(_0x103320,{}),_0x30f958('div',{'className':_0x35bb4b(0x5b1),'children':[_0x455c20(Ts,{'title':_0x3efd6f['t'](_0x35bb4b(0x489)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'color':_0x405bb1[_0x35bb4b(0x1e2)],'onChange':_0x405bb1['onChangeColor'],'children':_0x455c20(_0x430b00,{'extend':{'colorChannel1':_0x405bb1[_0x35bb4b(0x1e2)]}})}),_0x455c20(Ds,{'title':_0x3efd6f['t'](_0x35bb4b(0x5f8)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'value':String(_0x405bb1['width']),'options':ps[_0x35bb4b(0x295)](_0x2b144a=>({'label':_0x2b144a===0x0?_0x3efd6f['t'](_0x35bb4b(0x33a)):_0x2b144a+'px','value':String(_0x2b144a),'icon':_0x455c20(_0x35bb4b(0x45d),{'className':_0x35bb4b(0x4eb),'style':{'height':Math[_0x35bb4b(0x6bf)](0x1,_0x2b144a||0x1)}})})),'onChange':_0x3569e2=>_0x405bb1['onChangeWidth'](Number(_0x3569e2)),'children':_0x30f958('span',{'className':'univer-text-xs','children':[_0x405bb1[_0x35bb4b(0x58e)],'px']})}),_0x455c20(Ds,{'title':_0x3efd6f['t'](_0x35bb4b(0x5c9)),'direction':_0x405bb1[_0x35bb4b(0x2eb)],'value':_0x405bb1[_0x35bb4b(0x244)],'options':ms[_0x35bb4b(0x295)](_0x15f712=>({'label':_0x3efd6f['t'](_0x15f712[_0x35bb4b(0x330)]),'value':_0x15f712[_0x35bb4b(0x38a)],'icon':_0x455c20(ks,{'dash':_0x15f712['value']})})),'onChange':_0x405bb1['onChangeDash'],'children':_0x31edf8?_0x455c20(ks,{'dash':_0x31edf8['value']}):_0x455c20(_0x1000bb,{})})]})]}),'children':_0x455c20(_0x35bb4b(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t'](_0x35bb4b(0x38e)),'placement':_0x35bb4b(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x35bb4b(0x592),'variant':_0x35bb4b(0x3a9),'type':_0x35bb4b(0x52d),'aria-expanded':_0x405bb1[_0x35bb4b(0x1d4)],'aria-label':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t'](_0x35bb4b(0x38e)),'title':_0x405bb1[_0x35bb4b(0x3a7)]??_0x3efd6f['t']('slides-table-ui.editorToolbar.border'),'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x405bb1[_0x35bb4b(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x405bb1[_0x35bb4b(0x636)]?_0x455c20(_0x35bb4b(0x45d),{'aria-hidden':_0x35bb4b(0x610),'children':'—'}):_0x455c20(_0x1000bb,{}),_0x405bb1['label']&&_0x455c20(_0x35bb4b(0x45d),{'className':_0x35bb4b(0x2b6),'children':_0x405bb1['label']}),_0x455c20(_0xb728d6,{'className':_0x35bb4b(0x3ed)})]})})})})});}function Ts(_0x58aebc){const _0x16eb29=_0x5defcf;let {children:_0x282c7b,color:_0x118596,onChange:_0x1d48d5}=_0x58aebc,[_0x230bc7,_0x5b5053]=_0x504879(!0x1),_0x40fa9d=_0x58aebc[_0x16eb29(0x1d4)]??_0x230bc7,_0x5ea15f=_0x58aebc[_0x16eb29(0x25c)]??_0x5b5053;return _0x455c20(as,{'onOpenChange':_0x5ea15f,'children':({handleOpenChange:_0x22da2e,markInternalInteraction:_0x31ed78})=>_0x455c20(_0x8e5066,{'overlay':_0x455c20(_0x16eb29(0x2cb),{'className':_0x34395c(vs,'univer-p-3',_0x2e4a4b),'data-u-comp':_0x16eb29(0x45c),'dir':_0x58aebc[_0x16eb29(0x2eb)],'onMouseDown':_0x341f44=>{_0x31ed78(),_0x5142db(_0x341f44);},'onPointerDown':_0x50b1fc=>{_0x31ed78(),_0x5142db(_0x50b1fc);},'children':_0x455c20(_0x3a25a2,{'value':_0x118596,'onChange':_0x1d48d5})}),'open':_0x40fa9d,'onOpenChange':_0x22da2e,'children':_0x455c20(_0x16eb29(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x58aebc[_0x16eb29(0x329)],'placement':_0x16eb29(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x16eb29(0x592),'variant':_0x16eb29(0x3a9),'aria-expanded':_0x40fa9d,'aria-label':_0x58aebc[_0x16eb29(0x329)],'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x40fa9d}),'title':_0x58aebc[_0x16eb29(0x329)],'type':'button','onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x282c7b,_0x455c20('span',{'className':_0x16eb29(0x4e5),'style':{'backgroundColor':_0x118596}}),_0x455c20(_0xb728d6,{'className':_0x16eb29(0x3ed)})]})})})})});}function Es(_0x5c0359){const _0x3835a9=_0x5defcf;return _0x455c20(as,{'onOpenChange':_0x5c0359[_0x3835a9(0x25c)],'children':({handleOpenChange:_0x56d5d1,markInternalInteraction:_0x31a311})=>_0x455c20(_0x8e5066,{'open':_0x5c0359[_0x3835a9(0x1d4)],'onOpenChange':_0x56d5d1,'overlay':_0x455c20(_0x3835a9(0x2cb),{'className':_0x34395c(vs,_0x3835a9(0x537),_0x2e4a4b),'data-u-comp':_0x3835a9(0x45c),'onMouseDown':_0xddbf36=>{_0x31a311(),_0x5142db(_0xddbf36);},'onPointerDown':_0x1102b8=>{_0x31a311(),_0x5142db(_0x1102b8);},'children':_0x455c20(_0x3a25a2,{'value':_0x5c0359[_0x3835a9(0x1e2)],'onChange':_0x5c0359[_0x3835a9(0x2e0)]})}),'children':_0x455c20('span',{'children':_0x455c20(_0x2b411f,{'title':_0x5c0359[_0x3835a9(0x329)],'placement':_0x3835a9(0x341),'children':_0x30f958(_0x186c8e,{'size':_0x3835a9(0x592),'variant':'ghost','type':_0x3835a9(0x52d),'data-toolbar-item':_0x5c0359[_0x3835a9(0x695)],'aria-expanded':_0x5c0359[_0x3835a9(0x1d4)],'aria-label':_0x5c0359[_0x3835a9(0x329)],'className':_0x34395c({'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0x5c0359[_0x3835a9(0x1d4)]}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x5c0359[_0x3835a9(0x636)]?_0x455c20(_0x3835a9(0x45d),{'aria-hidden':_0x3835a9(0x610),'children':'—'}):_0x5c0359[_0x3835a9(0x36b)]===_0x3835a9(0x4c6)?_0x455c20(_0xbf7f8d,{'className':_0x3835a9(0x290),'extend':{'colorChannel1':_0x5c0359['color']}}):_0x455c20(_0x430b00,{'className':_0x3835a9(0x290),'extend':{'colorChannel1':_0x3835a9(0x402)}}),_0x455c20(_0xb728d6,{'className':'univer-text-xs'})]})})})})});}function Ds(_0x5a8b47){const _0x4a3677=_0x5defcf;let {children:_0x361952,direction:_0x53305b,title:_0x138506,value:_0x36f3ae,open:_0x48c440,options:_0xa0c62f,onChange:_0xf38a4c,onOpenChange:_0x3e4880}=_0x5a8b47,[_0x1b4a25,_0x1155e7]=_0x504879(!0x1),_0x4cb0d7=_0x48c440??_0x1b4a25,_0x3fdfdc=_0x3e4880??_0x1155e7,_0x531230=_0xa0c62f['find'](_0x38469f=>_0x38469f[_0x4a3677(0x38a)]===_0x36f3ae)??_0xa0c62f[0x0];return _0x531230?_0x455c20(as,{'onOpenChange':_0x3fdfdc,'children':({handleOpenChange:_0x3a2776,markInternalInteraction:_0x420e5c})=>_0x455c20(_0x8e5066,{'open':_0x4cb0d7,'onOpenChange':_0x3a2776,'overlay':_0x455c20(_0x4a3677(0x2cb),{'className':_0x34395c(vs,_0x4a3677(0x6ba),_0x2e4a4b),'dir':_0x53305b,'onMouseDown':_0x433035=>{_0x420e5c(),_0x5142db(_0x433035);},'onPointerDown':_0x397e77=>{_0x420e5c(),_0x5142db(_0x397e77);},'children':_0xa0c62f[_0x4a3677(0x295)](_0x31c347=>_0x30f958(_0x186c8e,{'size':_0x4a3677(0x6d9),'variant':'ghost','type':_0x4a3677(0x52d),'onClick':()=>{const _0x5ed847=_0x4a3677;_0xf38a4c(_0x31c347[_0x5ed847(0x38a)]),_0x3fdfdc(!0x1);},'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'className':_0x34395c('univer-w-full\x20univer-justify-start\x20rtl:univer-justify-end',{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x31c347['value']===_0x36f3ae}),'children':[_0x455c20(_0x4a3677(0x45d),{'className':'univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','children':_0x31c347[_0x4a3677(0x36b)]}),_0x455c20(_0x4a3677(0x45d),{'className':_0x4a3677(0x1fd),'children':_0x31c347[_0x4a3677(0x3a7)]})]},_0x31c347[_0x4a3677(0x38a)]))}),'children':_0x455c20(_0x4a3677(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x138506,'placement':'bottom','children':_0x30f958(_0x186c8e,{'size':_0x4a3677(0x592),'variant':_0x4a3677(0x3a9),'type':'button','aria-expanded':_0x4cb0d7,'aria-label':_0x138506,'title':_0x138506,'className':_0x34395c({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4cb0d7}),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x361952??_0x531230[_0x4a3677(0x36b)],_0x455c20(_0xb728d6,{'className':_0x4a3677(0x3ed)})]})})})})}):null;}function Os(_0x2a7885){const _0x32c938=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x2a7885[_0x32c938(0x329)],'placement':_0x32c938(0x341),'children':_0x455c20('span',{'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x455c20(_0x7dc713,{'borderless':!0x0,'className':_0x34395c(_0x32c938(0x2d7),_0x2a7885[_0x32c938(0x471)]),'value':_0x2a7885[_0x32c938(0x38a)],'options':_0x2a7885['options'],'onChange':_0x2a7885['onChange']})})});}function ks(_0x5a1378){const _0x3f673c=_0x5defcf;let _0x4371cd=_0x41e5c1(_0x494027),_0x286fff=_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x3ce)?_0x3f673c(0x54b):_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x244)?_0x3f673c(0x3df):_0x5a1378[_0x3f673c(0x244)]===_0x3f673c(0x296)?_0x3f673c(0x526):void 0x0;return _0x5a1378['dash']===_0x3f673c(0x6bc)?_0x455c20(_0x3f673c(0x45d),{'className':'univer-text-xs','children':_0x4371cd['t']('slides-table-ui.editorToolbar.none')}):_0x455c20(_0x3f673c(0x42a),{'aria-hidden':_0x3f673c(0x610),'height':'16','viewBox':'0\x200\x2024\x2016','width':'24','children':_0x455c20(_0x3f673c(0x1cd),{'d':'M3\x208H21','stroke':_0x3f673c(0x29f),'strokeDasharray':_0x286fff,'strokeLinecap':'round','strokeWidth':'2'})});}const As=[_0x5defcf(0x361),_0x5defcf(0x3fd),'medium',_0x5defcf(0x646)],js={'bestMatch':'slides-table-ui.editorToolbar.bestMatch','light':'slides-table-ui.editorToolbar.light','medium':_0x5defcf(0x5a3),'minimal':_0x5defcf(0x2fe)},Ms=[{'key':_0x5defcf(0x216),'labelKey':_0x5defcf(0x5dc)},{'key':_0x5defcf(0x6f3),'labelKey':_0x5defcf(0x30e)},{'key':_0x5defcf(0x35e),'labelKey':'slides-table-ui.editorToolbar.bandedRows'},{'key':_0x5defcf(0x539),'labelKey':_0x5defcf(0x4db)},{'key':_0x5defcf(0x66e),'labelKey':'slides-table-ui.editorToolbar.lastColumn'},{'key':'bandCol','labelKey':_0x5defcf(0x5ad)}];function Ns(_0x160f04){const _0x5a1b9e=_0x5defcf;let {currentOptions:_0x5778fb,currentStyleId:_0x56cc5d,direction:_0x2ba7c9=_0x5a1b9e(0x62c),palette:_0x2ff2f9,showOptions:_0x338125=!0x0,showThemes:_0x4aefd5=!0x0,onApplyTheme:_0x2c946c,onChangeOptions:_0x53debd}=_0x160f04,_0x33577f=_0x41e5c1(_0x494027),_0x49fa27=_0x5f5a44(_0x2ff2f9),_0x1a958a=_0x398a5a=>{_0x53debd({..._0x5778fb,[_0x398a5a]:!_0x5778fb[_0x398a5a]});};return _0x30f958(_0x5a1b9e(0x2cb),{'className':_0x34395c(_0x5a1b9e(0x53d),_0x5a1b9e(0x48b)),'data-u-comp':'slide-table-theme-gallery','dir':_0x2ba7c9,'style':{'direction':_0x2ba7c9},'children':[_0x338125&&_0x30f958('div',{'className':_0x34395c('univer-bg-gray-0\x20univer-p-2\x20dark:!univer-bg-gray-900',_0x5a1b9e(0x24d)),'children':[_0x30f958(_0x5a1b9e(0x2cb),{'className':_0x5a1b9e(0x43b),'children':[_0x455c20(_0x5a1b9e(0x2cb),{'className':'univer-text-sm\x20univer-font-medium','children':_0x33577f['t']('slides-table-ui.editorToolbar.tableTheme')}),_0x455c20(_0x5a1b9e(0x2cb),{'className':'univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33577f['t'](_0x5a1b9e(0x325))})]}),_0x455c20('div',{'className':_0x34395c(_0x5a1b9e(0x718),'univer-grid-cols-3'),'children':Ms['map'](_0x3da2bc=>_0x455c20(Ps,{'active':!!_0x5778fb[_0x3da2bc[_0x5a1b9e(0x26c)]],'label':_0x33577f['t'](_0x3da2bc[_0x5a1b9e(0x330)]),'onClick':()=>_0x1a958a(_0x3da2bc[_0x5a1b9e(0x26c)])},_0x3da2bc[_0x5a1b9e(0x26c)]))})]}),_0x4aefd5&&_0x455c20(_0x5a1b9e(0x2cb),{'className':_0x34395c(_0x5a1b9e(0x197),_0x5a1b9e(0x206)),'children':As[_0x5a1b9e(0x295)](_0x485316=>{const _0x453303=_0x5a1b9e;let _0x90726e=_0x33b20a['filter'](_0x10aa06=>_0x10aa06[_0x453303(0x707)]===_0x485316);return _0x90726e[_0x453303(0x393)]?_0x30f958(_0x453303(0x2cb),{'className':_0x453303(0x252),'children':[_0x455c20(_0x453303(0x2cb),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33577f['t'](js[_0x485316])}),_0x455c20(_0x453303(0x2cb),{'className':_0x34395c(_0x453303(0x718),_0x453303(0x3d8)),'children':_0x90726e[_0x453303(0x295)]((_0x497909,_0x22fe3e)=>{const _0x3a6877=_0x453303;if(!_0x49fa27[_0x497909['id']])return null;let _0x454eae=_0x5778fb,_0x1a7f2d=_0x56cc5d===_0x497909['id'],_0x3a7822=_0x33577f['t'](js[_0x485316])+'\x20'+(_0x22fe3e+0x1);return _0x30f958(_0x3a6877(0x52d),{'type':_0x3a6877(0x52d),'aria-label':_0x3a7822,'title':_0x3a7822,'className':_0x34395c('univer-relative\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20dark:hover:!univer-bg-gray-800',{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-shadow-sm\x20dark:!univer-bg-gray-800':_0x1a7f2d}),'onClick':()=>_0x2c946c(_0x497909['id']),'children':[_0x1a7f2d&&_0x455c20(_0x3a6877(0x45d),{'className':_0x3a6877(0x4af),'children':_0x455c20(_0x4b3c87,{'className':_0x3a6877(0x550)})}),_0x455c20(Fs,{'styleId':_0x497909['id'],'options':_0x454eae,'direction':_0x2ba7c9,'palette':_0x2ff2f9})]},_0x497909['id']);})})]},_0x485316):null;})})]});}function Ps(_0x49323b){const _0x35b3f1=_0x5defcf;return _0x455c20(_0x35b3f1(0x2cb),{'aria-pressed':_0x49323b[_0x35b3f1(0x6ae)],'role':_0x35b3f1(0x52d),'tabIndex':0x0,'className':_0x34395c(_0x35b3f1(0x1f6),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-border-primary-500\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x49323b['active']}),'onClick':_0x49323b[_0x35b3f1(0x1c5)],'onKeyDown':_0x147d7d=>{const _0x618bf3=_0x35b3f1;(_0x147d7d[_0x618bf3(0x26c)]===_0x618bf3(0x1d6)||_0x147d7d[_0x618bf3(0x26c)]==='\x20')&&(_0x147d7d['preventDefault'](),_0x49323b[_0x618bf3(0x1c5)]());},'children':_0x455c20(_0x48da8d,{'checked':_0x49323b[_0x35b3f1(0x6ae)],'className':'univer-pointer-events-none\x20univer-w-full\x20univer-min-w-0\x20univer-text-xs','contentClassName':_0x34395c(_0x35b3f1(0x589),_0x49323b['active']&&_0x35b3f1(0x1bf)),'onChange':()=>void 0x0,'children':_0x49323b['label']})});}function Fs(_0x2b8c4b){const _0x59e12d=_0x5defcf;let _0x1df282={'id':_0x59e12d(0x39b),'rev':0x0,'styleId':_0x2b8c4b[_0x59e12d(0x4b1)],'options':_0x2b8c4b['options'],'columns':Array[_0x59e12d(0x684)]({'length':0x5},()=>({'width':0x1})),'rows':Array[_0x59e12d(0x684)]({'length':0x4},()=>({'height':0x1,'cells':Array[_0x59e12d(0x684)]({'length':0x5},()=>({}))}))},_0x5466a7=_0x9eb1b0(_0x1df282,{'themes':_0x5f5a44(_0x2b8c4b[_0x59e12d(0x22b)])});return _0x455c20(_0x59e12d(0x45d),{'className':_0x59e12d(0x4ea),'children':_0x5466a7[_0x59e12d(0x405)][_0x59e12d(0x295)](_0x7a5525=>{const _0x2d3fa7=_0x59e12d;var _0x11851a,_0x4896f1,_0x5432d9,_0x127d77,_0x29e0f9,_0x2d2df8,_0x4d2349,_0x1c8ae3,_0x58617a,_0x1cf95a;let _0x236101=((_0x11851a=_0x7a5525['style'][_0x2d3fa7(0x68f)])==null?void 0x0:_0x11851a[_0x2d3fa7(0x485)])??((_0x4896f1=_0x7a5525[_0x2d3fa7(0x242)]['borders'])==null?void 0x0:_0x4896f1['bottom'])??((_0x5432d9=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x5432d9[_0x2d3fa7(0x5ee)])??((_0x127d77=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x127d77[_0x2d3fa7(0x479)]),_0x2620c9=(_0x29e0f9=_0x7a5525['style']['borders'])==null?void 0x0:_0x29e0f9[_0x2d3fa7(0x5ee)],_0x444d91=(_0x2d2df8=_0x7a5525[_0x2d3fa7(0x242)]['borders'])==null?void 0x0:_0x2d2df8[_0x2d3fa7(0x485)],_0x1a0cd8=(_0x4d2349=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x68f)])==null?void 0x0:_0x4d2349[_0x2d3fa7(0x341)],_0x12c6e6=(_0x1c8ae3=_0x7a5525['style'][_0x2d3fa7(0x68f)])==null?void 0x0:_0x1c8ae3[_0x2d3fa7(0x479)],_0x5d29cf=_0x2b8c4b[_0x2d3fa7(0x2eb)]===_0x2d3fa7(0x5b5),_0x13d41e={'background':((_0x58617a=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x394)])==null?void 0x0:_0x58617a[_0x2d3fa7(0x495)])===_0x772d0f[_0x2d3fa7(0x2d4)]?_0x2d3fa7(0x6a2):((_0x1cf95a=_0x7a5525[_0x2d3fa7(0x242)][_0x2d3fa7(0x394)])==null?void 0x0:_0x1cf95a['color'])??_0x2d3fa7(0x6a2),'borderTop':_0x7a5525[_0x2d3fa7(0x4b9)]===0x0?_0x2d3fa7(0x2b7)+((_0x2620c9==null?void 0x0:_0x2620c9[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)):void 0x0,'borderRight':_0x5d29cf?_0x7a5525[_0x2d3fa7(0x3f1)]===0x0?_0x2d3fa7(0x2b7)+((_0x12c6e6==null?void 0x0:_0x12c6e6[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101['color'])??_0x2d3fa7(0x6a2)):void 0x0:_0x2d3fa7(0x2b7)+((_0x444d91==null?void 0x0:_0x444d91[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??'transparent'),'borderBottom':'1px\x20solid\x20'+((_0x1a0cd8==null?void 0x0:_0x1a0cd8[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)),'borderLeft':_0x5d29cf?'1px\x20solid\x20'+((_0x444d91==null?void 0x0:_0x444d91[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??'transparent'):_0x7a5525[_0x2d3fa7(0x3f1)]===0x0?'1px\x20solid\x20'+((_0x12c6e6==null?void 0x0:_0x12c6e6[_0x2d3fa7(0x1e2)])??(_0x236101==null?void 0x0:_0x236101[_0x2d3fa7(0x1e2)])??_0x2d3fa7(0x6a2)):void 0x0};return _0x455c20('span',{'style':_0x13d41e},_0x7a5525[_0x2d3fa7(0x4b9)]+':'+_0x7a5525[_0x2d3fa7(0x3f1)]);})});}const Is=_0x5defcf(0x506),Ls='slides-table-ui.table-design.cell-style-control',Rs='slides-table-ui.table-design.text-control';function zs(_0x3b876d){const _0x7dd670=_0x5defcf;return _0x3b876d['element'][_0x7dd670(0x495)]===_0x16fba9[_0x7dd670(0x3f9)];}function Bs(){const _0x2c4a39=_0x5defcf;let _0x567d46=_0x41e5c1(_0x506f4d),_0x55913d=_0x41e5c1(_0x462a1f),_0x542a42=_0x41e5c1(_0x2f1910),_0x2f5f34=_0x41e5c1(_0x47dc4d),_0x3351e4=_0x41e5c1(_0x161eee),_0x40ddde=_0x41e5c1(J),_0x4eb748=()=>{const _0xbfb67e=_0x428e;var _0x466357;let _0x38a377=_0x542a42['getSnapshot'](),_0x721052=_0x38a377[_0xbfb67e(0x278)];if(!_0x721052||_0x38a377[_0xbfb67e(0x625)][_0xbfb67e(0x393)]!==0x1)return null;let _0x438c87=_0x55913d['getDrawingByParam']({'unitId':_0x721052['unitId'],'subUnitId':_0x721052[_0xbfb67e(0x6b4)],'drawingId':_0x38a377[_0xbfb67e(0x625)][0x0]});if(!_0x438c87||!zs(_0x438c87))return null;let _0x12d069=_0x3351e4[_0xbfb67e(0x2aa)](_0x438c87[_0xbfb67e(0x379)],_0x438c87[_0xbfb67e(0x571)][_0xbfb67e(0x6a7)]);if(!_0x12d069)return null;let _0x1ebaf4=_0x40ddde[_0xbfb67e(0x1cf)](),_0x275362=(_0x1ebaf4==null?void 0x0:_0x1ebaf4[_0xbfb67e(0x379)])===_0x438c87[_0xbfb67e(0x379)]&&_0x1ebaf4['subUnitId']===_0x438c87[_0xbfb67e(0x6b4)]&&_0x1ebaf4['elementId']===_0x438c87[_0xbfb67e(0x1ba)]&&_0x1ebaf4['tableId']===_0x438c87['element'][_0xbfb67e(0x6a7)]?_0x1ebaf4:null,_0x514bf4=_0x567d46['getConfig'](_0x3aeb3e);return{'drawing':_0x438c87,'editable':(_0x514bf4==null||(_0x466357=_0x514bf4['editor'])==null?void 0x0:_0x466357[_0xbfb67e(0x58c)])!==!0x1,'selection':_0x275362,'table':_0x12d069};};return _0x45a1ca(()=>_0x3b9eaa(_0x542a42[_0x2c4a39(0x6c7)],_0x40ddde['selection$'],_0x2f5f34[_0x2c4a39(0x64e)])[_0x2c4a39(0x5f3)](_0x46fdcb(void 0x0),_0x20d0c3(_0x4eb748)),_0x4eb748(),!0x1,[_0x55913d,_0x542a42,_0x2f5f34,_0x3351e4,_0x40ddde]);}function Vs(_0x216f2e){const _0x25689a=_0x5defcf;let _0x5614a9=_0x41e5c1(J);return _0x455c20('fieldset',{'disabled':_0x216f2e[_0x25689a(0x6aa)],'className':_0x25689a(0x2f1),'onMouseDownCapture':()=>_0x5614a9['markTableInternalInteraction'](),'onPointerDownCapture':()=>_0x5614a9[_0x25689a(0x4ca)](),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':_0x216f2e[_0x25689a(0x43f)]});}function Hs(){const _0x16d2cf=_0x5defcf;var _0xb6e4dc;let _0x47f44b=_0x41e5c1(_0x51671c),_0x1342b8=_0x41e5c1(_0x494027),_0x3954bd=_0x41e5c1(_0x59fee4),_0x68d579=Bs(),[_0x156b6e,_0x5301ac]=_0x504879(!0x1),_0x25409e=_0x33f933(()=>_0x27e190(_0x4a5cf4=>_0x3954bd['getColorFromTheme'](_0x4a5cf4)),[_0x3954bd]),_0x3f30c4=!(_0x68d579!=null&&_0x68d579[_0x16d2cf(0x497)])||((_0xb6e4dc=_0x68d579[_0x16d2cf(0x5d2)])==null?void 0x0:_0xb6e4dc[_0x16d2cf(0x521)])===_0x16d2cf(0x590),_0x1a45b5=_0x44287e=>{const _0x3b08e2=_0x16d2cf;_0x68d579&&!_0x3f30c4&&_0x47f44b[_0x3b08e2(0x38f)](_0x296a89['id'],{'unitId':_0x68d579[_0x3b08e2(0x42f)]['unitId'],'tableId':_0x68d579[_0x3b08e2(0x690)]['id'],'patch':{'styleId':_0x44287e}});};return _0x455c20(Vs,{'disabled':_0x3f30c4,'children':_0x455c20(Cs,{'icon':_0x455c20(_0x16c2d5,{'className':_0x16d2cf(0x219)}),'label':_0x1342b8['t'](_0x16d2cf(0x2c9)),'ribbon':!0x0,'open':_0x156b6e,'onOpenChange':_0x5301ac,'children':_0x68d579?_0x455c20(Ns,{'currentStyleId':_0x68d579['table'][_0x16d2cf(0x4b1)],'currentOptions':_0x68d579['table']['options']??{},'direction':_0x1342b8['getDirection'](),'palette':_0x25409e,'onApplyTheme':_0x259c82=>{_0x1a45b5(_0x259c82),_0x5301ac(!0x1);},'onChangeOptions':_0x4fe034=>{const _0x2d17b1=_0x16d2cf;_0x68d579&&!_0x3f30c4&&_0x47f44b[_0x2d17b1(0x38f)](_0x296a89['id'],{'unitId':_0x68d579[_0x2d17b1(0x42f)][_0x2d17b1(0x379)],'tableId':_0x68d579[_0x2d17b1(0x690)]['id'],'patch':{'options':_0x4fe034}});}}):null})});}function Us(_0xa261e2){let _0x1fb70f=_0x41e5c1(_0x51671c),_0x3701e7=_0x41e5c1(_0x161eee);return _0xfe520b=>{const _0x2258fa=_0x428e;var _0xccf0ca;let _0x593e37=_0xa261e2==null||(_0xccf0ca=_0xa261e2['selection'])==null?void 0x0:_0xccf0ca[_0x2258fa(0x649)][0x0];if(!_0xa261e2||!_0x593e37)return;let _0x49abb1=_0x3701e7[_0x2258fa(0x2aa)](_0xa261e2[_0x2258fa(0x42f)][_0x2258fa(0x379)],_0xa261e2[_0x2258fa(0x690)]['id']);_0x49abb1&&_0x1fb70f[_0x2258fa(0x38f)](_0x296a89['id'],{'unitId':_0xa261e2[_0x2258fa(0x42f)][_0x2258fa(0x379)],'tableId':_0xa261e2['table']['id'],'patch':_0xfe520b(_0x49abb1,_0x593e37)});};}function Ws(){const _0x124b78=_0x5defcf;let _0x3ec71d=_0x41e5c1(_0x494027),_0x1647d3=_0x45a1ca(_0x3ec71d['direction$'],_0x3ec71d[_0x124b78(0x5b4)]()),_0x4bc864=Bs(),_0x1d23f0=Us(_0x4bc864),[_0x4269ad,_0x1c2a3]=_0x504879(null),_0x51a6c2=ns(_0x4bc864==null?void 0x0:_0x4bc864['table'],(_0x4bc864==null?void 0x0:_0x4bc864[_0x124b78(0x5d2)])??null)['values'],_0x2e8cbb=!(_0x4bc864!=null&&_0x4bc864['editable'])||!_0x4bc864[_0x124b78(0x5d2)]||_0x4bc864['selection'][_0x124b78(0x521)]===_0x124b78(0x590);return _0x455c20(Vs,{'disabled':_0x2e8cbb,'children':_0x30f958(_0x124b78(0x2cb),{'className':_0x124b78(0x5d1),'children':[_0x455c20(ss,{'color':_0x51a6c2[_0x124b78(0x5c1)],'value':Mo(_0x51a6c2[_0x124b78(0x679)]),'gradientValue':Io(_0x51a6c2['backgroundFill'],_0x51a6c2[_0x124b78(0x5c1)]),'previewStyle':Ro(_0x51a6c2[_0x124b78(0x679)],_0x51a6c2[_0x124b78(0x5c1)]),'showPreview':!0x1,'tableFill':_0x51a6c2[_0x124b78(0x679)],'mixed':!!_0x51a6c2[_0x124b78(0x636)][_0x124b78(0x679)],'open':_0x4269ad==='background','onOpenChange':_0xd038a2=>_0x1c2a3(_0xd038a2?_0x124b78(0x1a3):null),'onTableFillChange':_0x56a3c8=>_0x1d23f0((_0x202cd8,_0x8b0bc5)=>gi(_0x202cd8,_0x8b0bc5,_0x56a3c8)),'children':_0x455c20(_0x565857,{'extend':{'colorChannel1':_0x51a6c2[_0x124b78(0x5c1)]}})}),_0x455c20(ws,{'direction':_0x1647d3,'color':_0x51a6c2[_0x124b78(0x47c)],'width':_0x51a6c2[_0x124b78(0x191)],'dash':_0x51a6c2['borderDash']??_0x599627[_0x124b78(0x37a)],'presets':hs,'open':_0x4269ad===_0x124b78(0x45a),'mixed':!!(_0x51a6c2[_0x124b78(0x636)]['borderColor']||_0x51a6c2[_0x124b78(0x636)]['borderWidth']||_0x51a6c2[_0x124b78(0x636)]['borderDash']),'onOpenChange':_0xc3d0eb=>_0x1c2a3(_0xc3d0eb?_0x124b78(0x45a):null),'onSelectPreset':_0x36516f=>_0x1d23f0((_0x2032ab,_0x494539)=>bi(_0x2032ab,_0x494539,_0x36516f)),'onChangeColor':_0x1de5fe=>_0x1d23f0((_0x78b9a9,_0x4ab2f3)=>yi(_0x78b9a9,_0x4ab2f3,{'color':_0x1de5fe})),'onChangeWidth':_0x53bf97=>_0x1d23f0((_0x2a5931,_0x72892)=>yi(_0x2a5931,_0x72892,{'width':_0x53bf97,'dash':_0x53bf97===0x0?_0x599627[_0x124b78(0x2d4)]:void 0x0})),'onChangeDash':_0x3e169e=>_0x1d23f0((_0x3ba9e2,_0x5ab3c4)=>yi(_0x3ba9e2,_0x5ab3c4,{'dash':_0x3e169e}))})]})});}function Gs(_0x31596e){const _0x2f154a=_0x5defcf;return _0x455c20(_0x2b411f,{'title':_0x31596e['title'],'placement':'bottom','children':_0x455c20('button',{'type':_0x2f154a(0x52d),'aria-label':_0x31596e[_0x2f154a(0x329)],'aria-pressed':_0x31596e[_0x2f154a(0x636)]?_0x2f154a(0x636):_0x31596e['active'],'onClick':_0x31596e[_0x2f154a(0x1c5)],'onMouseDown':_0x3c75ed=>_0x3c75ed[_0x2f154a(0x574)](),'className':_0x34395c(_0x2f154a(0x41d),(_0x31596e[_0x2f154a(0x6ae)]||_0x31596e['mixed'])&&_0x2f154a(0x2b1)),'children':_0x31596e['children']})});}function Ks(_0x2caac8){const _0x3edf74=_0x5defcf;let [_0xb63631,_0x1f4db9]=_0x504879(!0x1),_0x2bd3cb=_0x2caac8[_0x3edf74(0x1d9)]['find'](_0x4b833f=>_0x4b833f[_0x3edf74(0x38a)]===_0x2caac8[_0x3edf74(0x38a)])??_0x2caac8['options'][0x0];return _0x455c20(_0x8e5066,{'open':_0xb63631,'onOpenChange':_0x1f4db9,'side':_0x3edf74(0x341),'avoidCollisions':!0x0,'overlay':_0x455c20('div',{'className':'univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x2caac8[_0x3edf74(0x1d9)][_0x3edf74(0x295)](_0x287be5=>_0x30f958('button',{'type':_0x3edf74(0x52d),'aria-label':_0x287be5[_0x3edf74(0x3a7)],'aria-pressed':_0x287be5['value']===_0x2caac8[_0x3edf74(0x38a)],'className':_0x34395c(_0x3edf74(0x4fc),_0x287be5[_0x3edf74(0x38a)]===_0x2caac8[_0x3edf74(0x38a)]&&_0x3edf74(0x2b1)),'onClick':()=>{const _0xa20329=_0x3edf74;_0x2caac8[_0xa20329(0x2e0)](_0x287be5[_0xa20329(0x38a)]),_0x1f4db9(!0x1);},'onMouseDown':_0x5b92a4=>_0x5b92a4['preventDefault'](),'children':[_0x455c20('span',{'className':_0x3edf74(0x6dd),'children':_0x287be5['icon']}),_0x455c20(_0x3edf74(0x45d),{'children':_0x287be5[_0x3edf74(0x3a7)]})]},_0x287be5['value']))}),'children':_0x455c20(_0x3edf74(0x45d),{'children':_0x455c20(_0x2b411f,{'title':_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x3a7)],'placement':_0x3edf74(0x341),'children':_0x30f958(_0x3edf74(0x52d),{'type':_0x3edf74(0x52d),'aria-expanded':_0xb63631,'aria-label':_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x3a7)],'className':_0x34395c(_0x3edf74(0x282),(_0xb63631||_0x2caac8['mixed'])&&_0x3edf74(0x2b1)),'onMouseDown':_0x19578c=>_0x19578c[_0x3edf74(0x574)](),'children':[_0x2caac8['mixed']?_0x455c20(_0x3edf74(0x45d),{'aria-hidden':_0x3edf74(0x610),'children':'—'}):_0x2bd3cb==null?void 0x0:_0x2bd3cb[_0x3edf74(0x36b)],_0x455c20(_0xb728d6,{'className':_0x3edf74(0x3ed)})]})})})});}function qs(_0x1cac5c){const _0x5e2087=_0x5defcf;let [_0x58e71a,_0xc6929a]=_0x504879(!0x1);return _0x30f958(_0x5e2087(0x2cb),{'className':_0x5e2087(0x1df),'children':[_0x455c20(Gs,{'active':_0x1cac5c[_0x5e2087(0x6ae)],'mixed':_0x1cac5c['mixed'],'title':_0x1cac5c[_0x5e2087(0x329)],'onClick':_0x1cac5c[_0x5e2087(0x640)],'children':_0x1cac5c[_0x5e2087(0x36b)]}),_0x455c20(_0x8e5066,{'open':_0x58e71a,'onOpenChange':_0xc6929a,'side':'bottom','avoidCollisions':!0x0,'overlay':_0x1cac5c[_0x5e2087(0x1b1)](()=>_0xc6929a(!0x1)),'children':_0x455c20(_0x5e2087(0x52d),{'type':_0x5e2087(0x52d),'aria-expanded':_0x58e71a,'aria-label':_0x1cac5c[_0x5e2087(0x329)],'className':_0x34395c(_0x5e2087(0x266),_0x58e71a&&_0x5e2087(0x2b1)),'onMouseDown':_0x395570=>_0x395570[_0x5e2087(0x574)](),'children':_0x455c20(_0xb728d6,{})})})]});}function Js(_0x15a4f6,_0x3d7e52){const _0x360131=_0x5defcf;let _0x507478=_0x2c2312[_0x360131(0x295)](_0x2d698d=>_0x2d698d[_0x360131(0x38a)]);return _0x3d7e52>0x0?_0x507478[_0x360131(0x461)](_0x299481=>_0x299481>_0x15a4f6)??_0x507478[_0x507478[_0x360131(0x393)]-0x1]??_0x15a4f6:[..._0x507478][_0x360131(0x434)]()[_0x360131(0x461)](_0x16e274=>_0x16e274<_0x15a4f6)??_0x507478[0x0]??_0x15a4f6;}function Ys(){const _0xfc1b39=_0x5defcf;var _0x47ea18;let _0x5e6324=_0x41e5c1(_0x494027),_0x4d465f=Bs(),_0x3e74fc=Us(_0x4d465f),[_0x4af043,_0x5b7298]=_0x504879(null),_0x12bdc9=ns(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],(_0x4d465f==null?void 0x0:_0x4d465f['selection'])??null)[_0xfc1b39(0x267)],_0x5c1e3e=!(_0x4d465f!=null&&_0x4d465f['editable'])||!_0x4d465f['selection'],_0x1af596=[{'label':_0x5e6324['t'](_0xfc1b39(0x28f)),'value':_0x4918fc[_0xfc1b39(0x2a7)],'icon':_0x455c20(_0x9e03d4,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x2a1)),'value':_0x4918fc['CENTER'],'icon':_0x455c20(_0x15fb00,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x57d)),'value':_0x4918fc[_0xfc1b39(0x1d0)],'icon':_0x455c20(_0x47272f,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x596)),'value':_0x4918fc['JUSTIFIED'],'icon':_0x455c20(_0x488b64,{})}],_0x4f65aa=[{'label':_0x5e6324['t'](_0xfc1b39(0x292)),'value':_0x9c0db6[_0xfc1b39(0x64d)],'icon':_0x455c20(_0x406144,{})},{'label':_0x5e6324['t'](_0xfc1b39(0x413)),'value':_0x9c0db6['MIDDLE'],'icon':_0x455c20(_0x4afd92,{})},{'label':_0x5e6324['t']('slides-table-ui.editorToolbar.alignBottom'),'value':_0x9c0db6[_0xfc1b39(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}],_0x4b36cd=_0x4d465f==null||(_0x47ea18=_0x4d465f[_0xfc1b39(0x5d2)])==null?void 0x0:_0x47ea18[_0xfc1b39(0x649)][0x0],_0x2742af=pi(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],_0x4b36cd,_0x28baf8['ORDER_LIST']),_0x139542=pi(_0x4d465f==null?void 0x0:_0x4d465f[_0xfc1b39(0x690)],_0x4b36cd,_0x28baf8[_0xfc1b39(0x210)]),_0x308c00=[{'key':_0xfc1b39(0x5a5),'title':_0x5e6324['t']('slides-table-ui.editorToolbar.bold'),'active':_0x12bdc9[_0xfc1b39(0x5a5)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x5a5)],'icon':_0x455c20(_0x4fb6d4,{}),'patch':{'bl':_0x12bdc9[_0xfc1b39(0x636)]['bold']||!_0x12bdc9['bold']?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf[_0xfc1b39(0x403)]}},{'key':'italic','title':_0x5e6324['t'](_0xfc1b39(0x50a)),'active':_0x12bdc9['italic'],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x1eb)],'icon':_0x455c20(_0x8f99bc,{}),'patch':{'it':_0x12bdc9[_0xfc1b39(0x636)]['italic']||!_0x12bdc9[_0xfc1b39(0x1eb)]?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf['FALSE']}},{'key':_0xfc1b39(0x2b9),'title':_0x5e6324['t'](_0xfc1b39(0x577)),'active':_0x12bdc9[_0xfc1b39(0x2b9)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x2b9)],'icon':_0x455c20(_0x1c7e39,{}),'patch':{'ul':{'s':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x2b9)]||!_0x12bdc9[_0xfc1b39(0x2b9)]?_0x3fcebf[_0xfc1b39(0x298)]:_0x3fcebf['FALSE']}}},{'key':'strikethrough','title':_0x5e6324['t'](_0xfc1b39(0x436)),'active':_0x12bdc9[_0xfc1b39(0x69c)],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x69c)],'icon':_0x455c20(_0x2f2343,{}),'patch':{'st':{'s':_0x12bdc9[_0xfc1b39(0x636)]['strike']||!_0x12bdc9[_0xfc1b39(0x69c)]?_0x3fcebf['TRUE']:_0x3fcebf[_0xfc1b39(0x403)]}}}];return _0x455c20(Vs,{'disabled':_0x5c1e3e,'children':_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x615),'children':[_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x504),'children':[_0x455c20(_0x5bcadb,{'ariaLabel':_0x5e6324['t'](_0xfc1b39(0x36d)),'className':_0xfc1b39(0x23f),'inputClassName':'univer-w-auto','value':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x6cd)]?'':_0x12bdc9[_0xfc1b39(0x6cd)],'onChange':_0x5db834=>_0x3e74fc((_0xe7862b,_0x839be)=>xi(_0xe7862b,_0x839be,_0x5db834))}),_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x3f6),'children':[_0x455c20(Os,{'title':_0x5e6324['t'](_0xfc1b39(0x35a)),'widthClassName':_0xfc1b39(0x1ee),'value':_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x3cf)]?'':String(_0x12bdc9[_0xfc1b39(0x3cf)]),'options':_0x12bdc9[_0xfc1b39(0x636)]['fontSize']?[{'label':'—','value':''},...fs]:Vo(fs,String(_0x12bdc9[_0xfc1b39(0x3cf)])),'onChange':_0x5ddf7f=>{const _0x416025=_0xfc1b39;let _0x2d7c50=Number(_0x5ddf7f);_0x5ddf7f&&!Number[_0x416025(0x4b2)](_0x2d7c50)&&_0x3e74fc((_0x824be7,_0x5ca281)=>Si(_0x824be7,_0x5ca281,_0x2d7c50));}}),_0x455c20(Gs,{'title':_0x5e6324['t'](_0xfc1b39(0x44f)),'onClick':()=>_0x3e74fc((_0x435475,_0x56802c)=>Si(_0x435475,_0x56802c,Js(_0x12bdc9[_0xfc1b39(0x3cf)],0x1))),'children':_0x455c20(_0x305928,{})}),_0x455c20(Gs,{'title':_0x5e6324['t']('slides-table-ui.editorToolbar.decreaseFontSize'),'onClick':()=>_0x3e74fc((_0x51bb73,_0x300414)=>Si(_0x51bb73,_0x300414,Js(_0x12bdc9[_0xfc1b39(0x3cf)],-0x1))),'children':_0x455c20(_0x5f102a,{})})]})]}),_0x455c20(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x19b),'children':_0x308c00[_0xfc1b39(0x295)](_0x1c5244=>_0x455c20(Gs,{'title':_0x1c5244[_0xfc1b39(0x329)],'active':_0x1c5244[_0xfc1b39(0x6ae)],'mixed':_0x1c5244[_0xfc1b39(0x636)],'onClick':()=>_0x3e74fc((_0xa014e2,_0x63e17f)=>Li(_0xa014e2,_0x63e17f,_0x1c5244[_0xfc1b39(0x29c)])),'children':_0x1c5244[_0xfc1b39(0x36b)]},_0x1c5244[_0xfc1b39(0x26c)]))}),_0x30f958(_0xfc1b39(0x2cb),{'className':_0xfc1b39(0x57a),'children':[_0x455c20(Es,{'data-toolbar-item':'ribbon-text-color','title':_0x5e6324['t']('slides-table-ui.editorToolbar.textColor'),'color':_0x12bdc9[_0xfc1b39(0x3e5)],'mixed':!!(_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x3e5)]||_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x417)]),'icon':_0xfc1b39(0x4c6),'open':_0x4af043===_0xfc1b39(0x3e5),'onOpenChange':_0x2b6200=>_0x5b7298(_0x2b6200?'textColor':null),'onChange':_0x6aa3cc=>_0x3e74fc((_0x282c92,_0x19e7e7)=>vi(_0x282c92,_0x19e7e7,{'type':_0xfc1b39(0x71a),'color':_0x6aa3cc,'opacity':0x1}))}),_0x455c20(Es,{'data-toolbar-item':_0xfc1b39(0x3c2),'title':_0x5e6324['t']('slides-table-ui.editorToolbar.textBackgroundColor'),'color':_0x12bdc9[_0xfc1b39(0x543)],'mixed':!!_0x12bdc9['mixed'][_0xfc1b39(0x543)],'icon':_0xfc1b39(0x488),'open':_0x4af043===_0xfc1b39(0x40a),'onOpenChange':_0x41daa0=>_0x5b7298(_0x41daa0?_0xfc1b39(0x40a):null),'onChange':_0x39be41=>_0x3e74fc((_0x1b2946,_0x566305)=>Li(_0x1b2946,_0x566305,{'bg':{'rgb':_0x39be41}}))})]}),_0x30f958(_0xfc1b39(0x2cb),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-x-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','children':[_0x455c20(Ks,{'options':_0x1af596,'value':_0x12bdc9[_0xfc1b39(0x575)],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x575)],'onChange':_0x5b59e3=>_0x3e74fc((_0x5c57b2,_0x49afd2)=>di(_0x5c57b2,_0x49afd2,{'axis':'horizontal','value':_0x5b59e3}))}),_0x455c20(qs,{'title':_0x5e6324['t'](_0xfc1b39(0x311)),'icon':_0x455c20(_0x53b5c0,{}),'active':_0x2742af['active'],'mixed':_0x2742af[_0xfc1b39(0x636)],'onToggle':()=>_0x3e74fc((_0x5cdd8c,_0x328eea)=>fi(_0x5cdd8c,_0x328eea,_0x2742af[_0xfc1b39(0x6ae)]?null:_0x28baf8[_0xfc1b39(0x69a)])),'picker':_0x27e685=>_0x455c20(_0x225c4a,{'value':_0x2742af[_0xfc1b39(0x38a)],'onChange':_0x31c03c=>{_0x31c03c&&(_0x3e74fc((_0xd72bd1,_0x5ef03a)=>fi(_0xd72bd1,_0x5ef03a,_0x31c03c)),_0x27e685());}})}),_0x455c20(Ks,{'options':_0x4f65aa,'value':_0x12bdc9['verticalAlign'],'mixed':!!_0x12bdc9[_0xfc1b39(0x636)][_0xfc1b39(0x385)],'onChange':_0x451a2d=>_0x3e74fc((_0x47ddf8,_0x138fe1)=>di(_0x47ddf8,_0x138fe1,{'axis':_0xfc1b39(0x511),'value':_0x451a2d}))}),_0x455c20(qs,{'title':_0x5e6324['t'](_0xfc1b39(0x4ad)),'icon':_0x455c20(_0x308075,{}),'active':_0x139542[_0xfc1b39(0x6ae)],'mixed':_0x139542[_0xfc1b39(0x636)],'onToggle':()=>_0x3e74fc((_0x2f05d2,_0xa9e681)=>fi(_0x2f05d2,_0xa9e681,_0x139542['active']?null:_0x28baf8[_0xfc1b39(0x210)])),'picker':_0x15ab7a=>_0x455c20(_0x54c75a,{'value':_0x139542[_0xfc1b39(0x38a)],'onChange':_0x312334=>{_0x312334&&(_0x3e74fc((_0x2477dd,_0x4a4552)=>fi(_0x2477dd,_0x4a4552,_0x312334)),_0x15ab7a());}})})]})]})});}let Xs=class extends _0x5c53fd{constructor(_0x113cb3,_0x3aae6d){const _0x54280b=_0x5defcf;super(),this['_componentManager']=_0x113cb3,this[_0x54280b(0x4b7)]=_0x3aae6d,this['disposeWithMe'](this[_0x54280b(0x4b7)][_0x54280b(0x5ce)]({'AdjustHeightDoubleIcon':_0x32f892,'AdjustWidthDoubleIcon':_0x320b22,'CancelMergeIcon':_0x519ea5,'DeleteColumnDoubleIcon':_0x21a208,'DeleteRowDoubleIcon':_0x26aad9,'InsertRowAboveDoubleIcon':_0x42fc83,'InsertRowBelowDoubleIcon':_0x7d12ef,'LeftInsertColumnDoubleIcon':_0x56c99b,'MergeAllIcon':_0x109256,'RightInsertColumnDoubleIcon':_0x5d154e,'TableIcon':_0x4871d5})),this['disposeWithMe'](this['_componentManager'][_0x54280b(0x5ce)](ho,yo)),this['disposeWithMe'](this[_0x54280b(0x1ae)][_0x54280b(0x5ce)](io,vo)),this[_0x54280b(0x40f)](this['_componentManager'][_0x54280b(0x5ce)](Is,Hs)),this[_0x54280b(0x40f)](this['_componentManager'][_0x54280b(0x5ce)](Ls,Ws)),this[_0x54280b(0x40f)](this[_0x54280b(0x1ae)][_0x54280b(0x5ce)](Rs,Ys));}};Xs=Ha([Q(0x0,_0x41ffca(_0x2a5658)),Q(0x1,_0x41ffca(_0xed296f))],Xs);function Zs(_0x7d56f9,_0x1ccf51,_0x581e25){const _0x3aacc0=_0x5defcf;if(_0x1ccf51<0x0||_0x581e25<0x0||_0x1ccf51>_0x7d56f9[_0x3aacc0(0x58e)]||_0x581e25>_0x7d56f9[_0x3aacc0(0x65e)])return null;let _0x482490=_0x7d56f9['cells']['find'](_0x54127c=>!_0x54127c[_0x3aacc0(0x3f5)]&&Qs(_0x54127c,_0x1ccf51,_0x581e25));return _0x482490?{'kind':'cell','row':_0x482490['row'],'column':_0x482490['column']}:null;}function Qs(_0x2920e9,_0x2f65a5,_0x5df84c){const _0x3e1dc4=_0x5defcf;return _0x2f65a5>=_0x2920e9['bounds'][_0x3e1dc4(0x479)]&&_0x2f65a5<=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x479)]+_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x58e)]&&_0x5df84c>=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x5ee)]&&_0x5df84c<=_0x2920e9[_0x3e1dc4(0x47d)][_0x3e1dc4(0x5ee)]+_0x2920e9['bounds'][_0x3e1dc4(0x65e)];}function $s(_0x36283a){const _0x4efd37=_0x5defcf;var _0x22a473;let {selection:_0x57317e,table:_0x56c3b2,tableHeight:_0x2213ce,tableWidth:_0x3d77b8}=_0x36283a,_0x2af997=_0x57317e==null?void 0x0:_0x57317e[_0x4efd37(0x649)][0x0];if(!_0x57317e||!_0x56c3b2||!_0x2af997)return null;let _0x648fc8=_0x57317e[_0x4efd37(0x61b)]??_0x57317e['anchor']??dc(_0x2af997);if(!_0x648fc8)return null;let _0x2830b5=_0x9eb1b0(_0x56c3b2),_0xcd3a69=_0x2830b5[_0x4efd37(0x405)][_0x4efd37(0x461)](_0x3c18aa=>!_0x3c18aa[_0x4efd37(0x3f5)]&&_0x3c18aa['row']===_0x648fc8['row']&&_0x3c18aa[_0x4efd37(0x3f1)]===_0x648fc8[_0x4efd37(0x3f1)])??_0x2830b5['cells'][_0x4efd37(0x461)](_0x421144=>!_0x421144[_0x4efd37(0x3f5)]&&_0x648fc8[_0x4efd37(0x4b9)]>=_0x421144[_0x4efd37(0x4b9)]&&_0x648fc8[_0x4efd37(0x4b9)]<_0x421144[_0x4efd37(0x4b9)]+_0x421144[_0x4efd37(0x3bb)]&&_0x648fc8[_0x4efd37(0x3f1)]>=_0x421144[_0x4efd37(0x3f1)]&&_0x648fc8['column']<_0x421144['column']+_0x421144[_0x4efd37(0x4c5)]);if(!_0xcd3a69)return null;let _0x20a7e8=mc(_0x3d77b8/_0x2830b5[_0x4efd37(0x58e)],0x1),_0x47be91=mc(_0x2213ce/_0x2830b5[_0x4efd37(0x65e)],0x1),_0x261925=(_0x22a473=_0x56c3b2[_0x4efd37(0x360)][_0xcd3a69[_0x4efd37(0x4b9)]])==null?void 0x0:_0x22a473[_0x4efd37(0x405)][_0xcd3a69[_0x4efd37(0x3f1)]];return{'row':_0xcd3a69[_0x4efd37(0x4b9)],'column':_0xcd3a69['column'],'cellStyle':_0xcd3a69[_0x4efd37(0x242)],'rect':fc({'left':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x479)]*_0x20a7e8,'top':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x5ee)]*_0x47be91,'width':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x58e)]*_0x20a7e8,'height':_0xcd3a69[_0x4efd37(0x47d)][_0x4efd37(0x65e)]*_0x47be91},_0xcd3a69[_0x4efd37(0x242)][_0x4efd37(0x4f7)]),'documentData':ic(_0x261925==null?void 0x0:_0x261925['textData'],uc(_0x56c3b2['id'],_0xcd3a69['row'],_0xcd3a69[_0x4efd37(0x3f1)]))};}function ec(_0x2727e2,_0x3380f4,_0x9fed15,_0x1992dc=''){return ic({'id':uc(_0x2727e2,_0x3380f4,_0x9fed15),'body':{'dataStream':_0x1992dc+'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}},uc(_0x2727e2,_0x3380f4,_0x9fed15));}function tc(_0x51211c,_0x52aa35){const _0x17b067=_0x5defcf;var _0x190694;let _0xb76efc=_0x52aa35['replace'](/\r\n/g,'\x0d')[_0x17b067(0x48c)](/\n/g,'\x0d')+'\x0d\x0a',_0x1814bf=Math[_0x17b067(0x6bf)](0x0,_0xb76efc[_0x17b067(0x393)]-0x2),_0x4327ef=(_0x190694=_0x51211c[_0x17b067(0x291)])==null||(_0x190694=_0x190694[_0x17b067(0x46a)])==null||(_0x190694=_0x190694['find'](_0x1adc5d=>_0x1adc5d['ts']))==null?void 0x0:_0x190694['ts'];return ic({..._0xdc70f2[_0x17b067(0x597)](_0x51211c),'body':{..._0x51211c[_0x17b067(0x291)],'dataStream':_0xb76efc,'paragraphs':ac(_0xb76efc),'textRuns':_0x4327ef&&_0x1814bf>0x0?[{'st':0x0,'ed':_0x1814bf,'ts':{..._0x4327ef}}]:[]}},_0x51211c['id']??'SLIDE_TABLE_CELL');}function nc(_0x31d698){const _0x51ac35=_0x5defcf;var _0x3d75f3,_0x506066;let {rect:_0x84ff78,scenePointToViewportPoint:_0x32cefc,tableTransform:_0x261669}=_0x31d698,_0x2b3332=pc(_0x261669[_0x51ac35(0x479)],0x0),_0x54717b=pc(_0x261669['top'],0x0),_0x50eaed=mc(_0x261669[_0x51ac35(0x58e)],0x1),_0x19b2aa=mc(_0x261669[_0x51ac35(0x65e)],0x1),_0x3e9db6=mc(_0x84ff78[_0x51ac35(0x58e)],0x1),_0x445aee=mc(_0x84ff78['height'],0x1),_0x3f8ea2=_0x84ff78[_0x51ac35(0x479)]+_0x3e9db6/0x2-_0x50eaed/0x2,_0x57d24c=_0x84ff78['top']+_0x445aee/0x2-_0x19b2aa/0x2,_0x42014c=pc(_0x261669[_0x51ac35(0x2c3)],0x0)*Math['PI']/0xb4,_0x576f58=_0x3f8ea2*Math[_0x51ac35(0x2b5)](_0x42014c)-_0x57d24c*Math[_0x51ac35(0x1c1)](_0x42014c),_0x1dbc76=_0x3f8ea2*Math[_0x51ac35(0x1c1)](_0x42014c)+_0x57d24c*Math[_0x51ac35(0x2b5)](_0x42014c),_0x595a58=_0x32cefc({'x':_0x2b3332+_0x50eaed/0x2+_0x576f58,'y':_0x54717b+_0x19b2aa/0x2+_0x1dbc76});return{'rect':{'left':_0x595a58['x']-_0x3e9db6/0x2,'top':_0x595a58['y']-_0x445aee/0x2,'width':_0x3e9db6,'height':_0x445aee},'scale':{'scaleX':mc((_0x3d75f3=_0x31d698[_0x51ac35(0x2e3)])==null?void 0x0:_0x3d75f3['scaleX'],0x1),'scaleY':mc((_0x506066=_0x31d698['scale'])==null?void 0x0:_0x506066[_0x51ac35(0x6c3)],0x1)},'transform':{'angle':0x0,'flipX':!0x1,'flipY':_0x261669['flipY']}};}function rc(_0xf23475,_0x324d93,_0x3c129d){const _0x364517=_0x5defcf;return _0xf23475?{'commandId':_0x3c129d,'params':{'unitId':_0xf23475[_0x364517(0x379)],'tableId':_0xf23475[_0x364517(0x6a7)],'row':_0xf23475['row'],'column':_0xf23475['column'],'textData':_0x324d93}}:null;}function ic(_0x34e194,_0x267faa){const _0x2d03d8=_0x5defcf;var _0x20e1d5,_0x58b4a3,_0x42c003,_0x1ebcdb,_0xcdffc6;let _0x444380=_0x1a12a2(_0xdc70f2[_0x2d03d8(0x597)](_0x34e194??{'id':_0x267faa,'body':{'dataStream':'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}})),_0x9e5ea6=((_0x20e1d5=_0x444380[_0x2d03d8(0x291)])==null?void 0x0:_0x20e1d5[_0x2d03d8(0x41f)])??'\x0d\x0a',_0x416d93=(_0x58b4a3=_0x444380[_0x2d03d8(0x6e1)])==null||(_0x58b4a3=_0x58b4a3['renderConfig'])==null?void 0x0:_0x58b4a3[_0x2d03d8(0x575)],_0x5be22d={..._0x444380[_0x2d03d8(0x291)],'dataStream':_0x9e5ea6,'paragraphs':oc(cc((_0x42c003=_0x444380[_0x2d03d8(0x291)])!=null&&(_0x42c003=_0x42c003[_0x2d03d8(0x307)])!=null&&_0x42c003[_0x2d03d8(0x393)]?_0x444380[_0x2d03d8(0x291)][_0x2d03d8(0x307)]:ac(_0x9e5ea6)),_0x416d93),'textRuns':sc(((_0x1ebcdb=_0x444380[_0x2d03d8(0x291)])==null?void 0x0:_0x1ebcdb['textRuns'])??[])},_0x1d1ebe=_0x444380[_0x2d03d8(0x6e1)]?{..._0x444380['documentStyle']}:{};return(_0xcdffc6=_0x1d1ebe[_0x2d03d8(0x4e6)])!=null&&_0xcdffc6['bg']&&(_0x1d1ebe['textStyle']={..._0x1d1ebe[_0x2d03d8(0x4e6)]},delete _0x1d1ebe[_0x2d03d8(0x4e6)]['bg']),{..._0x444380,'id':_0x444380['id']??_0x267faa,'body':_0x5be22d,'documentStyle':{..._0x1d1ebe,'documentFlavor':_0x402f0e[_0x2d03d8(0x35f)]}};}function ac(_0x528165){const _0x52d5b9=_0x5defcf;let _0x181af6=Math[_0x52d5b9(0x6bf)](0x1,_0x528165[_0x52d5b9(0x24e)]('\x0d')[_0x52d5b9(0x393)]-0x1),_0x2bcd44=0x0;return Array['from']({'length':_0x181af6},()=>{const _0x48bf19=_0x52d5b9;let _0x319639=lc(_0x2bcd44),_0xfbe74=_0x528165[_0x48bf19(0x384)]('\x0d',_0x2bcd44);return _0x2bcd44=_0xfbe74>=0x0?_0xfbe74+0x1:_0x528165[_0x48bf19(0x393)],_0x319639;});}function oc(_0x1dcb94,_0x3f20fb){const _0x2af6ab=_0x5defcf;return _0x3f20fb===void 0x0?_0x1dcb94:_0x1dcb94[_0x2af6ab(0x295)](_0x3f0bea=>({..._0x3f0bea,'paragraphStyle':{..._0x3f0bea['paragraphStyle'],'horizontalAlign':_0x3f20fb}}));}function sc(_0x285dd7){const _0x1d1e51=_0x5defcf;return _0x285dd7[_0x1d1e51(0x295)](_0x21d392=>{var _0x51d544;if(!((_0x51d544=_0x21d392['ts'])!=null&&_0x51d544['bg']))return _0x21d392;let _0x45d04a={..._0x21d392['ts']};return delete _0x45d04a['bg'],{..._0x21d392,'ts':_0x45d04a};});}function cc(_0x251a36){const _0x1c6248=_0x5defcf;return _0x251a36!=null&&_0x251a36[_0x1c6248(0x393)]?_0x251a36['map']((_0x26b589,_0x45d8e1)=>({..._0x26b589,'startIndex':typeof _0x26b589[_0x1c6248(0x586)]==_0x1c6248(0x716)?_0x26b589[_0x1c6248(0x586)]:_0x45d8e1,'paragraphId':_0x26b589[_0x1c6248(0x356)]??_0x63a614(new Set())})):[lc()];}function lc(_0x31b57a=0x0){return{'startIndex':_0x31b57a,'paragraphId':_0x63a614(new Set())};}function uc(_0x3d850,_0x589e64,_0x1ac625){return'SLIDE_TABLE_CELL_'+_0x3d850+'_'+_0x589e64+'_'+_0x1ac625;}function dc(_0x33fd3a){const _0x4f10c5=_0x5defcf;let _0x2728e0=_0x4a84fc(_0x33fd3a);return{'row':_0x2728e0['startRow'],'column':_0x2728e0[_0x4f10c5(0x3cc)]};}function fc(_0x375d37,_0x14452b){const _0x258275=_0x5defcf;let _0x1fa4d6=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x479)],0x4),_0x4c7d38=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x485)],0x4),_0x32d2bd=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x5ee)],0x4),_0xdeb4ed=pc(_0x14452b==null?void 0x0:_0x14452b[_0x258275(0x341)],0x4);return{'left':_0x375d37[_0x258275(0x479)]+_0x1fa4d6,'top':_0x375d37[_0x258275(0x5ee)]+_0x32d2bd,'width':Math[_0x258275(0x6bf)](0x1,_0x375d37[_0x258275(0x58e)]-_0x1fa4d6-_0x4c7d38),'height':Math[_0x258275(0x6bf)](0x1,_0x375d37[_0x258275(0x65e)]-_0x32d2bd-_0xdeb4ed)};}function pc(_0xebffcf,_0x41fe47){const _0x327c50=_0x5defcf;return typeof _0xebffcf==_0x327c50(0x716)&&Number[_0x327c50(0x401)](_0xebffcf)?_0xebffcf:_0x41fe47;}function mc(_0x111810,_0x17d42c){const _0x5a183d=_0x5defcf;let _0xca7e4d=pc(_0x111810,_0x17d42c);return _0xca7e4d>0x0?_0xca7e4d:Math[_0x5a183d(0x6bf)](0x1,_0x17d42c);}function hc(_0x3651b1){return _0x3651b1===!0x0||_0x3651b1===0x1;}function gc(_0x12d5a9){const _0x1e29d5=_0x5defcf;return typeof(_0x12d5a9==null?void 0x0:_0x12d5a9[_0x1e29d5(0x658)])=='string'&&_0x12d5a9[_0x1e29d5(0x658)][_0x1e29d5(0x2e9)]()['length']>0x0;}function _c(_0x3b0a96,_0x19dfdd){const _0x58d687=_0x5defcf;let _0xb2a797=_0x3b0a96==null?void 0x0:_0x3b0a96[_0x58d687(0x6ce)],_0x3a882d=(_0xb2a797==null?void 0x0:_0xb2a797[_0x58d687(0x386)])||(_0xb2a797==null?void 0x0:_0xb2a797['ba'])||_0x19dfdd[_0x58d687(0x3cb)]||0x0,_0x3a4822=(_0xb2a797==null?void 0x0:_0xb2a797[_0x58d687(0x653)])||(_0xb2a797==null?void 0x0:_0xb2a797['bd'])||_0x19dfdd['dsc']||0x0;return _0x3a882d===0x0&&_0x3a4822===0x0?null:{'ascent':_0x3a882d,'descent':_0x3a4822};}function vc(_0x24d2a6,_0x410f04,_0x2444ea){const _0x571003=_0x5defcf;var _0x2f01f7;if(_0x2444ea===void 0x0||_0x2444ea===_0x9c0db6[_0x571003(0x35f)])return 0x0;let _0x436f60=_0x24d2a6['getSkeletonData']();if(!(_0x436f60!=null&&(_0x2f01f7=_0x436f60[_0x571003(0x3a4)])!=null&&_0x2f01f7[_0x571003(0x393)]))return 0x0;let _0x5d16d8=0x1/0x0,_0x169c56=-0x1/0x0,_0x145569=0x0;for(let _0x35eaac of _0x436f60[_0x571003(0x3a4)]){let _0x6d3e67=_0x35eaac[_0x571003(0x67d)]??0x0;for(let _0x1d0883 of _0x35eaac[_0x571003(0x5cb)]??[]){let _0x4fbf01=_0x1d0883[_0x571003(0x5ee)]??0x0;for(let _0x2fa191 of _0x1d0883[_0x571003(0x5ca)]??[])for(let _0x134c7c of _0x2fa191[_0x571003(0x549)]??[]){let _0xa757b5=_0x145569+_0x6d3e67+_0x4fbf01+(_0x134c7c['top']??0x0)+(_0x134c7c[_0x571003(0x67d)]??0x0)+(_0x134c7c[_0x571003(0x629)]??0x0)+(_0x134c7c[_0x571003(0x3cb)]??0x0);for(let _0x5c62c6 of _0x134c7c[_0x571003(0x3ee)]??[])for(let _0x53f9ed of _0x5c62c6[_0x571003(0x507)]??[]){if(!gc(_0x53f9ed))continue;let _0x41001b=_c(_0x53f9ed,_0x134c7c);_0x41001b&&(_0x5d16d8=Math[_0x571003(0x4a7)](_0x5d16d8,_0xa757b5-_0x41001b['ascent']),_0x169c56=Math[_0x571003(0x6bf)](_0x169c56,_0xa757b5+_0x41001b['descent']));}}}let _0x3b35f6=Number[_0x571003(0x401)](_0x35eaac[_0x571003(0x6ab)])?_0x35eaac[_0x571003(0x6ab)]:_0x35eaac[_0x571003(0x65e)];_0x145569+=_0x3b35f6??0x0;}return!Number[_0x571003(0x401)](_0x5d16d8)||!Number[_0x571003(0x401)](_0x169c56)?0x0:_0x2444ea===_0x9c0db6[_0x571003(0x29b)]?_0x410f04-_0x169c56:_0x2444ea===_0x9c0db6[_0x571003(0x4ce)]?_0x410f04/0x2-(_0x5d16d8+_0x169c56)/0x2:_0x2444ea===_0x9c0db6[_0x571003(0x64d)]?-_0x5d16d8:0x0;}function yc(_0x3473ea,_0x5991d4){const _0x58c1d6=_0x5defcf;let _0x25e827=_0xdc70f2[_0x58c1d6(0x597)](_0x3473ea),_0x25640d=_0x25e827[_0x58c1d6(0x6e1)]??{},_0x5daf89={..._0x25640d['renderConfig']};if(_0x5991d4[_0x58c1d6(0x575)]!==void 0x0){_0x5daf89[_0x58c1d6(0x575)]=_0x5991d4['horizontalAlign'];let _0xd681e8=_0x25e827['body'],_0x1e392b=_0xd681e8==null?void 0x0:_0xd681e8[_0x58c1d6(0x307)];_0x1e392b&&(_0xd681e8[_0x58c1d6(0x307)]=_0x1e392b[_0x58c1d6(0x295)](_0x5ba478=>{const _0x3b94eb=_0x58c1d6;var _0x95bd97;return((_0x95bd97=_0x5ba478[_0x3b94eb(0x6a3)])==null?void 0x0:_0x95bd97['horizontalAlign'])===void 0x0?{..._0x5ba478,'paragraphStyle':{..._0x5ba478[_0x3b94eb(0x6a3)],'horizontalAlign':_0x5991d4[_0x3b94eb(0x575)]}}:_0x5ba478;}));}return _0x5991d4[_0x58c1d6(0x385)]!==void 0x0&&(_0x5daf89[_0x58c1d6(0x385)]=_0x5991d4['verticalAlign']),_0x25e827[_0x58c1d6(0x6e1)]={..._0x25640d,'renderConfig':Object[_0x58c1d6(0x64a)](_0x5daf89)[_0x58c1d6(0x393)]>0x0?_0x5daf89:void 0x0},_0x25e827;}function bc(_0x2d77ef){const _0x1a8c25=_0x5defcf;let _0x398722=_0x2d77ef[_0x1a8c25(0x291)],_0x18c02c=_0x398722==null?void 0x0:_0x398722['paragraphs'],_0xb88131=_0x398722==null?void 0x0:_0x398722[_0x1a8c25(0x41f)];if(!_0x398722||!_0xb88131)return;let _0x39505d=[];for(let _0x72af08=0x0;_0x72af08<_0xb88131[_0x1a8c25(0x393)];_0x72af08++)_0xb88131[_0x72af08]==='\x0d'&&_0x39505d[_0x1a8c25(0x6e6)](_0x72af08);let _0x1db3fc=new Set((_0x18c02c??[])['map'](_0x30d764=>_0x30d764[_0x1a8c25(0x356)])[_0x1a8c25(0x439)](_0x94061c=>!!_0x94061c));_0x398722[_0x1a8c25(0x307)]=_0x39505d[_0x1a8c25(0x295)]((_0x31d6c7,_0x474ffa)=>{const _0x5add2a=_0x1a8c25;var _0x41eda4;return{..._0x18c02c==null?void 0x0:_0x18c02c[_0x474ffa],'startIndex':_0x31d6c7,'paragraphId':(_0x18c02c==null||(_0x41eda4=_0x18c02c[_0x474ffa])==null?void 0x0:_0x41eda4[_0x5add2a(0x356)])??_0x63a614(_0x1db3fc)};});}function xc(_0x1c215e,_0x3a34eb){const _0x29ac7b=_0x5defcf;var _0x2009d8,_0x2ff486;let _0x61c9ad=(_0x2009d8=_0x1c215e[_0x29ac7b(0x6e1)])==null?void 0x0:_0x2009d8['renderConfig'],_0x5e092d=yc(_0x1c215e,{'horizontalAlign':_0x3a34eb[_0x29ac7b(0x575)]??(_0x61c9ad==null?void 0x0:_0x61c9ad['horizontalAlign']),'verticalAlign':_0x3a34eb['verticalAlign']});bc(_0x5e092d);let _0x1ce678=_0x5e092d[_0x29ac7b(0x6e1)]??{},_0x2b1f0e=_0x3a34eb['isHorizontal']!==!0x1,_0x1bfb76={..._0x1ce678[_0x29ac7b(0x1ef)],'wrapStrategy':_0x3a34eb[_0x29ac7b(0x1cc)]??((_0x2ff486=_0x1ce678['renderConfig'])==null?void 0x0:_0x2ff486[_0x29ac7b(0x1cc)])??_0x5d1e12[_0x29ac7b(0x5c4)]};return delete _0x1bfb76['horizontalAlign'],_0x2b1f0e?(delete _0x1bfb76[_0x29ac7b(0x1f4)],delete _0x1bfb76[_0x29ac7b(0x1be)]):(_0x1bfb76[_0x29ac7b(0x1f4)]=_0x321b3c,_0x1bfb76[_0x29ac7b(0x1be)]=_0x321b3c),_0x5e092d[_0x29ac7b(0x6e1)]={..._0x1ce678,'documentFlavor':_0x402f0e[_0x29ac7b(0x601)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2b1f0e?_0x3a34eb['width']:_0x3a34eb[_0x29ac7b(0x65e)],'height':0x1/0x0},'renderConfig':_0x1bfb76},_0x5e092d;}function Sc(_0x153830){const _0x252116=_0x5defcf;var _0x362f1c;let {documentData:_0x12eee3,id:_0x407f58=_0x252116(0x5e2),isHorizontal:_0x53a36f,localeService:_0xa80798,horizontalAlign:_0x32235c,verticalAlign:_0x1d47f1,size:_0x4e9193}=_0x153830,_0x15d903={'width':_0x4e9193[_0x252116(0x58e)],'height':_0x4e9193[_0x252116(0x65e)]},_0x303010=(_0x362f1c=_0x12eee3[_0x252116(0x6e1)])==null?void 0x0:_0x362f1c[_0x252116(0x1ef)],_0x135033=_0x1d47f1??(_0x303010==null?void 0x0:_0x303010[_0x252116(0x385)]),_0x4f19fb=hc(_0x153830[_0x252116(0x269)]??(_0x303010==null?void 0x0:_0x303010[_0x252116(0x269)])),_0xf36db=xc(_0x12eee3,{'width':_0x15d903[_0x252116(0x58e)],'height':_0x15d903[_0x252116(0x65e)],'verticalAlign':_0x4f19fb?_0x9c0db6[_0x252116(0x64d)]:_0x135033,'horizontalAlign':_0x32235c,'isHorizontal':_0x53a36f,'wrapStrategy':_0x153830['wrapStrategy']}),_0x4c3997=new _0x5f1ed1(_0xf36db),_0x308258=new _0x2f964c(_0x4c3997),_0x57b7a8=_0x7ebfb1[_0x252116(0x552)](_0x308258,_0xa80798);_0x57b7a8[_0x252116(0x2ac)]();let _0x1bfd12=_0x57b7a8[_0x252116(0x44e)]()['actualHeight'],_0x4e7fad=Math['max'](_0x15d903['height'],_0x1bfd12),_0x5fbf12=0x0;!_0x4f19fb&&_0x1bfd12<_0x15d903[_0x252116(0x65e)]&&(_0x135033===_0x9c0db6['MIDDLE']?_0x5fbf12=(_0x15d903[_0x252116(0x65e)]-_0x1bfd12)/0x2:_0x135033===_0x9c0db6[_0x252116(0x29b)]&&(_0x5fbf12=_0x15d903[_0x252116(0x65e)]-_0x1bfd12)),_0x4c3997['updateDocumentStyle']({'pageSize':{'width':_0x53a36f===!0x1?_0x15d903[_0x252116(0x65e)]:_0x15d903[_0x252116(0x58e)],'height':_0x1b5e3c(_0x12eee3,_0x4e7fad)}}),_0x4c3997['updateDocumentDataMargin']({'t':_0x5fbf12}),_0x57b7a8[_0x252116(0x2ac)]();let _0x13a942=new _0xe5be9a(_0x407f58,_0x57b7a8,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x13a942[_0x252116(0x21e)](_0x15d903[_0x252116(0x58e)],_0x4e7fad);let _0x5ba6f5=_0x4f19fb?vc(_0x57b7a8,_0x15d903[_0x252116(0x65e)],_0x135033):0x0;return{'documents':_0x13a942,'skeleton':_0x57b7a8,'docViewModel':_0x308258,'docModel':_0x4c3997,'width':_0x15d903[_0x252116(0x58e)],'minHeight':_0x15d903[_0x252116(0x65e)],'actualHeight':_0x1bfd12,'contentHeight':_0x4e7fad,'marginTop':_0x5fbf12,'opticalVerticalOffset':_0x5ba6f5,'dispose':()=>{const _0x31e590=_0x252116;_0x13a942['dispose'](),_0x57b7a8[_0x31e590(0x2c2)](),_0x308258[_0x31e590(0x2c2)](),_0x4c3997[_0x31e590(0x2c2)]();}};}function Cc(_0x25046b,_0x2c839d){const _0x830929=_0x5defcf;if(_0x2c839d!==void 0x0)return{'top':0x0,'height':_0x2c839d};let _0x11dcb6=_0x25046b['actualHeight']>_0x25046b[_0x830929(0x1dc)]&&_0x25046b[_0x830929(0x312)]<0x0?_0x25046b[_0x830929(0x312)]:0x0;return{'top':_0x11dcb6,'height':_0x25046b[_0x830929(0x215)]-_0x11dcb6};}function wc(_0x2d422f,_0x5b9ab1,_0x254463,_0x1bc8dd,_0x1abd16,_0x5cc106){const _0x39b2a5=_0x5defcf;if(_0x2d422f[_0x39b2a5(0x2bd)](),_0x2d422f[_0x39b2a5(0x28a)](_0x254463,_0x1bc8dd),_0x1abd16){let _0x4b6281=Cc(_0x5b9ab1,_0x5cc106);_0x2d422f[_0x39b2a5(0x370)](),_0x2d422f['rect'](0x0,_0x4b6281[_0x39b2a5(0x5ee)],_0x5b9ab1[_0x39b2a5(0x58e)],_0x4b6281[_0x39b2a5(0x65e)]),_0x2d422f[_0x39b2a5(0x538)]();}_0x5b9ab1[_0x39b2a5(0x312)]&&_0x2d422f[_0x39b2a5(0x28a)](0x0,_0x5b9ab1[_0x39b2a5(0x312)]),_0x5b9ab1[_0x39b2a5(0x322)]['draw'](_0x2d422f),_0x2d422f[_0x39b2a5(0x547)]();}function Tc(_0x68c435){const _0x38ea92=_0x5defcf;try{return JSON[_0x38ea92(0x2bc)](_0x68c435);}catch{return String(_0x68c435);}}function Ec(_0x2c1708){const _0x2b2f1d=_0x5defcf;let _0x442205=_0x2c1708;return typeof _0x442205['getCurrentLocale']==_0x2b2f1d(0x3a5)?_0x442205['getCurrentLocale']():'';}function Dc(_0x14d591,_0x3e3e8c,_0x426616){const _0x20396e=_0x5defcf;var _0x569e2f;let _0x2277b9=(_0x569e2f=_0x3e3e8c[_0x20396e(0x6e1)])==null?void 0x0:_0x569e2f[_0x20396e(0x1ef)];return Tc({'cacheKey':_0x14d591[_0x20396e(0x41e)],'key':_0x14d591[_0x20396e(0x26c)],'text':_0x14d591[_0x20396e(0x590)],'documentData':_0x14d591[_0x20396e(0x41e)]===void 0x0?_0x3e3e8c:void 0x0,'left':_0x14d591[_0x20396e(0x479)],'top':_0x14d591[_0x20396e(0x5ee)],'width':_0x14d591['width'],'height':_0x14d591[_0x20396e(0x65e)],'horizontalAlign':_0x14d591[_0x20396e(0x575)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x575)]),'verticalAlign':_0x14d591[_0x20396e(0x385)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x385)]),'isHorizontal':_0x14d591[_0x20396e(0x6d7)],'wrapStrategy':_0x14d591[_0x20396e(0x1cc)],'clip':_0x14d591['clip'],'viewportHeight':_0x14d591[_0x20396e(0x4cb)],'shapeTextOpticalVerticalAlign':_0x14d591[_0x20396e(0x269)]??(_0x2277b9==null?void 0x0:_0x2277b9[_0x20396e(0x269)]),'locale':Ec(_0x426616)});}function Oc(_0x191062,_0x5cf361){const _0x5304a3=_0x5defcf;var _0xe1fcbf;if(_0x191062[_0x5304a3(0x538)]!==void 0x0)return _0x191062[_0x5304a3(0x538)];let _0x68a50b=(_0xe1fcbf=_0x5cf361[_0x5304a3(0x6e1)])==null?void 0x0:_0xe1fcbf[_0x5304a3(0x1ef)];return(_0x191062[_0x5304a3(0x1cc)]??(_0x68a50b==null?void 0x0:_0x68a50b['wrapStrategy']))!==_0x5d1e12[_0x5304a3(0x53a)];}function kc(_0x19ab40){const _0x1c5096=_0x5defcf;var _0x4e2c50;_0x19ab40==null||(_0x4e2c50=_0x19ab40[_0x1c5096(0x527)])==null||_0x4e2c50[_0x1c5096(0x2c2)](),_0x19ab40&&(_0x19ab40[_0x1c5096(0x44b)]=void 0x0,_0x19ab40[_0x1c5096(0x527)]=void 0x0);}function Ac(_0x444cf3,_0x4137ea,_0xa20eb4){const _0x3fa3fb=_0x5defcf;var _0x50eb69;let {documentData:_0xa2ad35,height:_0x5a4746,horizontalAlign:_0x2ef0b2,isHorizontal:_0x5dca0e,key:_0xeda005,left:_0x3b6baa,localeService:_0x442799,text:_0x5599e9,top:_0x57acb8,verticalAlign:_0x540d00,width:_0x107607}=_0x4137ea;if(!_0x442799||_0x107607<=0x0||_0x5a4746<=0x0||!_0xa2ad35&&!_0x5599e9)return!0x1;let _0x47b140=_0x1a12a2(_0xa2ad35??ec(_0xeda005,0x0,0x0,_0x5599e9??'')),_0x3326d8=(_0x50eb69=_0x47b140[_0x3fa3fb(0x6e1)])==null?void 0x0:_0x50eb69[_0x3fa3fb(0x1ef)],_0x14974e=_0x2ef0b2??(_0x3326d8==null?void 0x0:_0x3326d8[_0x3fa3fb(0x575)]),_0x1ebe6e=_0x540d00??(_0x3326d8==null?void 0x0:_0x3326d8['verticalAlign']),_0x4c2699=_0xa20eb4?Dc(_0x4137ea,_0x47b140,_0x442799):void 0x0,_0x27b518=Oc(_0x4137ea,_0x47b140);if(_0xa20eb4!=null&&_0xa20eb4[_0x3fa3fb(0x527)]&&_0xa20eb4['signature']===_0x4c2699)return wc(_0x444cf3,_0xa20eb4['resources'],_0x3b6baa,_0x57acb8,_0x27b518,_0x4137ea[_0x3fa3fb(0x4cb)]),!0x0;_0xa20eb4!=null&&_0xa20eb4[_0x3fa3fb(0x527)]&&kc(_0xa20eb4);let _0x34b919=Sc({'id':_0x3fa3fb(0x305)+_0xeda005,'documentData':_0x47b140,'size':{'width':_0x107607,'height':_0x5a4746},'localeService':_0x442799,'horizontalAlign':_0x14974e,'verticalAlign':_0x1ebe6e,'isHorizontal':_0x5dca0e,'wrapStrategy':_0x4137ea[_0x3fa3fb(0x1cc)],'shapeTextOpticalVerticalAlign':_0x4137ea[_0x3fa3fb(0x269)]??(_0x3326d8==null?void 0x0:_0x3326d8[_0x3fa3fb(0x269)])});return wc(_0x444cf3,_0x34b919,_0x3b6baa,_0x57acb8,_0x27b518,_0x4137ea['viewportHeight']),_0xa20eb4?(_0xa20eb4['signature']=_0x4c2699,_0xa20eb4[_0x3fa3fb(0x527)]=_0x34b919):_0x34b919[_0x3fa3fb(0x2c2)](),!0x0;}function jc(_0x4875bc,_0x2530de,_0x28a6bf,_0x1e1e47,_0x481655){const _0x3c1b65=_0x5defcf;let _0x2ba39d=_0x4875bc[_0x3c1b65(0x5ca)][_0x3c1b65(0x57e)]((_0x2d044d,_0x4d8d1a)=>_0x2d044d+_0x4d8d1a[_0x3c1b65(0x58e)],0x0),_0x591728=_0x4875bc[_0x3c1b65(0x360)][_0x3c1b65(0x57e)]((_0x2a43ae,_0x580127)=>_0x2a43ae+(_0x580127[_0x3c1b65(0x65e)]??0x18),0x0);if(_0x2ba39d<=0x0||_0x591728<=0x0||_0x2530de<=0x0||_0x28a6bf<=0x0)return _0x4875bc;let _0x26bb44={..._0x4875bc,'columns':_0x4875bc[_0x3c1b65(0x5ca)][_0x3c1b65(0x295)](_0x427dd2=>({..._0x427dd2,'width':_0x427dd2[_0x3c1b65(0x58e)]*_0x2530de/_0x2ba39d})),'rows':_0x4875bc['rows'][_0x3c1b65(0x295)](_0x8ad305=>({..._0x8ad305,'height':(_0x8ad305[_0x3c1b65(0x65e)]??0x18)*Math[_0x3c1b65(0x6bf)](0x1,_0x28a6bf/_0x591728)}))},_0x2f617f=_0x9eb1b0(_0x26bb44,{'themes':_0x481655})[_0x3c1b65(0x405)][_0x3c1b65(0x439)](_0xbcb17=>!_0xbcb17[_0x3c1b65(0x3f5)])['sort']((_0x423b56,_0x48f0d3)=>_0x423b56[_0x3c1b65(0x3bb)]-_0x48f0d3[_0x3c1b65(0x3bb)]);for(let _0x5ac304 of _0x2f617f){var _0x57c77f;let _0x5cdb62=(_0x57c77f=_0x4875bc[_0x3c1b65(0x360)][_0x5ac304[_0x3c1b65(0x4b9)]])==null||(_0x57c77f=_0x57c77f[_0x3c1b65(0x405)][_0x5ac304[_0x3c1b65(0x3f1)]])==null?void 0x0:_0x57c77f[_0x3c1b65(0x1b7)],_0x8e282b=_0x5ac304[_0x3c1b65(0x242)][_0x3c1b65(0x2fc)];if(!_0x5cdb62||_0x8e282b===_0x81a0a3['Vertical']||_0x8e282b===_0x81a0a3[_0x3c1b65(0x61d)])continue;let _0x51df93=_0x4998ad(_0x5ac304[_0x3c1b65(0x242)]['margins']),_0x3b437c=_0x5ac304['bounds']['width']-_0x51df93[_0x3c1b65(0x479)]-_0x51df93['right'];if(_0x3b437c<=0x0)continue;let _0x5b505f=Sc({'documentData':_0x1a12a2(_0x5cdb62),'size':{'width':_0x3b437c,'height':Math[_0x3c1b65(0x6bf)](0x1,_0x5ac304['bounds'][_0x3c1b65(0x65e)]-_0x51df93['top']-_0x51df93[_0x3c1b65(0x341)])},'localeService':_0x1e1e47,'verticalAlign':_0x9c0db6[_0x3c1b65(0x64d)],'wrapStrategy':_0x5d1e12[_0x3c1b65(0x5c4)]});try{let _0x4f8dc4=_0x5b505f['actualHeight']+_0x51df93[_0x3c1b65(0x5ee)]+_0x51df93[_0x3c1b65(0x341)],_0x33aefd=Math[_0x3c1b65(0x4a7)](_0x26bb44[_0x3c1b65(0x360)][_0x3c1b65(0x393)],_0x5ac304['row']+_0x5ac304[_0x3c1b65(0x3bb)]),_0x207896=_0x26bb44[_0x3c1b65(0x360)]['slice'](_0x5ac304['row'],_0x33aefd)[_0x3c1b65(0x57e)]((_0x1d9dac,_0x983f55)=>_0x1d9dac+_0x983f55[_0x3c1b65(0x65e)],0x0);Number[_0x3c1b65(0x401)](_0x4f8dc4)&&_0x4f8dc4>_0x207896&&_0x33aefd>_0x5ac304[_0x3c1b65(0x4b9)]&&(_0x26bb44[_0x3c1b65(0x360)][_0x33aefd-0x1][_0x3c1b65(0x65e)]+=_0x4f8dc4-_0x207896);}finally{_0x5b505f[_0x3c1b65(0x2c2)]();}}return _0x26bb44;}const Mc='#7f8ea3',Nc=_0x5defcf(0x2ca),Pc='#ffffff',Fc=_0x5defcf(0x5fb),Ic='#1a73e8',Lc=_0x5defcf(0x6cf),Rc=_0x5defcf(0x1ed),zc=_0x5defcf(0x203),Bc=_0x5defcf(0x452),Vc=_0x5defcf(0x364),Hc=_0x5defcf(0x6cf),Uc=0.5;function Wc(_0x103390,_0x3a6dc4){const _0x3f2a84=_0x5defcf;let _0x460c8f=_0x103390['row']+Math[_0x3f2a84(0x6bf)](0x1,_0x103390[_0x3f2a84(0x3bb)])-0x1,_0xd9704e=_0x103390[_0x3f2a84(0x3f1)]+Math[_0x3f2a84(0x6bf)](0x1,_0x103390[_0x3f2a84(0x4c5)])-0x1;return _0x3a6dc4[_0x3f2a84(0x638)](_0x189fe6=>{const _0x41bc3b=_0x3f2a84;let _0x415564=Math[_0x41bc3b(0x4a7)](_0x189fe6[_0x41bc3b(0x1d3)],_0x189fe6[_0x41bc3b(0x573)]),_0x45fd3e=Math[_0x41bc3b(0x6bf)](_0x189fe6['startRow'],_0x189fe6[_0x41bc3b(0x573)]),_0x17cd68=Math['min'](_0x189fe6['startColumn'],_0x189fe6[_0x41bc3b(0x351)]),_0x51914e=Math['max'](_0x189fe6[_0x41bc3b(0x3cc)],_0x189fe6[_0x41bc3b(0x351)]);return _0x103390[_0x41bc3b(0x4b9)]<=_0x45fd3e&&_0x460c8f>=_0x415564&&_0x103390['column']<=_0x51914e&&_0xd9704e>=_0x17cd68;});}var Gc=class e extends _0x369919{constructor(_0x5dd0e3,_0x3a954f){const _0x13b84c=_0x5defcf;super(_0x5dd0e3,{..._0x3a954f,'fill':Pc,'stroke':Mc,'strokeWidth':0x1,'evented':!0x0}),q(this,_0x13b84c(0x63b),!0x0),q(this,'_controlButtonMode',void 0x0),q(this,_0x13b84c(0x236),void 0x0),q(this,_0x13b84c(0x505),new _0x2fe5e8()),q(this,_0x13b84c(0x366),void 0x0),q(this,_0x13b84c(0x27d),null),q(this,_0x13b84c(0x32a),null),q(this,_0x13b84c(0x261),void 0x0),q(this,'_layoutRevision',void 0x0),q(this,_0x13b84c(0x28c),0x0),q(this,'_layoutHeight',0x0),q(this,_0x13b84c(0x42b),0x0),q(this,_0x13b84c(0x1ac),null),q(this,_0x13b84c(0x223),null),q(this,'_editingCell',null),q(this,_0x13b84c(0x6b0),null),q(this,_0x13b84c(0x1a2),null),q(this,'_localeService',void 0x0),q(this,_0x13b84c(0x45b),void 0x0),q(this,_0x13b84c(0x34e),void 0x0),q(this,_0x13b84c(0x462),void 0x0),q(this,_0x13b84c(0x606),null),q(this,_0x13b84c(0x711),null),q(this,_0x13b84c(0x659),new Map()),this[_0x13b84c(0x4e7)]=_0x3a954f[_0x13b84c(0x34a)]??'all',this[_0x13b84c(0x236)]=_0x3a954f[_0x13b84c(0x5e0)],this[_0x13b84c(0x366)]=_0x3a954f[_0x13b84c(0x690)]??null,this[_0x13b84c(0x254)]=_0x3a954f[_0x13b84c(0x2c7)],this[_0x13b84c(0x45b)]=_0x3a954f[_0x13b84c(0x512)],this[_0x13b84c(0x34e)]=_0x3a954f[_0x13b84c(0x51a)],this['_themeService']=_0x3a954f[_0x13b84c(0x59d)],this[_0x13b84c(0x42b)]=this[_0x13b84c(0x65e)],this['getLayoutTable']();}[_0x5defcf(0x4a6)](){return[{'x':0.5,'y':0x0,'idx':0x0,'ang':0x10e},{'x':0x1,'y':0.5,'idx':0x1,'ang':0x0},{'x':0.5,'y':0x1,'idx':0x2,'ang':0x5a},{'x':0x0,'y':0.5,'idx':0x3,'ang':0xb4}];}[_0x5defcf(0x463)](_0x3c236b){this['_table']=_0x3c236b??null,this['makeDirty'](!0x0);}[_0x5defcf(0x6d1)](_0x17f62e){const _0x59ccbd=_0x5defcf;this[_0x59ccbd(0x34e)]=_0x17f62e,this[_0x59ccbd(0x261)]=void 0x0,this[_0x59ccbd(0x623)](!0x0);}[_0x5defcf(0x2aa)](){const _0x5a29f8=_0x5defcf;return this[_0x5a29f8(0x366)];}[_0x5defcf(0x4cd)](_0x7821dd){const _0x264664=_0x5defcf;this['_previewTable']=_0x7821dd,this[_0x264664(0x623)](!0x0);}[_0x5defcf(0x548)](_0x16c6a4){const _0x5e59dd=_0x5defcf;this[_0x5e59dd(0x254)]!==_0x16c6a4&&(this[_0x5e59dd(0x254)]=_0x16c6a4,this[_0x5e59dd(0x6f1)](),this[_0x5e59dd(0x623)](!0x0));}[_0x5defcf(0x1c7)](_0x43b690){const _0xd88c13=_0x5defcf;this[_0xd88c13(0x45b)]=_0x43b690,this[_0xd88c13(0x623)](!0x0);}[_0x5defcf(0x37f)](_0x4f7134){const _0x2ce01a=_0x5defcf;this[_0x2ce01a(0x1ac)]=_0x4f7134?{'kind':_0x4f7134[_0x2ce01a(0x521)],'ranges':_0x4f7134[_0x2ce01a(0x649)]['map'](_0x73d601=>({..._0x73d601})),'active':_0x4f7134[_0x2ce01a(0x6ae)]?{..._0x4f7134[_0x2ce01a(0x6ae)]}:void 0x0}:null,_0x4f7134||(this[_0x2ce01a(0x223)]=null,this[_0x2ce01a(0x1a2)]=null),this['makeDirty'](!0x0);}[_0x5defcf(0x1c9)](){const _0x43e6af=_0x5defcf;return this[_0x43e6af(0x1ac)]?{'kind':this[_0x43e6af(0x1ac)]['kind'],'ranges':this[_0x43e6af(0x1ac)][_0x43e6af(0x649)]['map'](_0x5758e0=>({..._0x5758e0})),'active':this[_0x43e6af(0x1ac)][_0x43e6af(0x6ae)]?{...this['_selection']['active']}:void 0x0}:null;}[_0x5defcf(0x1c8)](){const _0x5c1182=_0x5defcf;let _0x4eb45a=this[_0x5c1182(0x6a0)]();return _0x4eb45a?this[_0x5c1182(0x2ce)](_0x4eb45a):null;}[_0x5defcf(0x603)](){const _0x4dc79d=_0x5defcf;var _0x462d42;return((_0x462d42=this[_0x4dc79d(0x462)])==null?void 0x0:_0x462d42['getColorFromTheme'](_0x4dc79d(0x383)))??Fc;}[_0x5defcf(0x3cd)](_0x438abc){const _0x3466cf=_0x5defcf;var _0xd984f7,_0x142a3d;let _0x29b463=(_0x438abc==null?void 0x0:_0x438abc[_0x3466cf(0x4b9)])??null,_0x416c70=(_0x438abc==null?void 0x0:_0x438abc[_0x3466cf(0x3f1)])??null,_0x2f399a=((_0xd984f7=this[_0x3466cf(0x604)])==null?void 0x0:_0xd984f7['row'])??null,_0x3a0738=((_0x142a3d=this[_0x3466cf(0x604)])==null?void 0x0:_0x142a3d['column'])??null;(_0x29b463!==_0x2f399a||_0x416c70!==_0x3a0738)&&(this[_0x3466cf(0x604)]=_0x438abc?{'row':_0x438abc['row'],'column':_0x438abc[_0x3466cf(0x3f1)]}:null,this['makeDirty'](!0x0));}['getEditingCell'](){const _0x1cd43c=_0x5defcf;return this['_editingCell']?{...this[_0x1cd43c(0x604)]}:null;}['setTableControlHover'](_0x10e369){const _0x48cdb2=_0x5defcf;var _0xf0b977,_0x519e2e,_0x570d1d;let _0x5f3fd3=(_0x10e369==null?void 0x0:_0x10e369['kind'])??null,_0x4e7629=(_0x10e369==null?void 0x0:_0x10e369[_0x48cdb2(0x4b9)])??null,_0x202581=(_0x10e369==null?void 0x0:_0x10e369['column'])??null,_0x2c8113=((_0xf0b977=this[_0x48cdb2(0x6b0)])==null?void 0x0:_0xf0b977[_0x48cdb2(0x521)])??null,_0x20ed9c=((_0x519e2e=this[_0x48cdb2(0x6b0)])==null?void 0x0:_0x519e2e[_0x48cdb2(0x4b9)])??null,_0x44118e=((_0x570d1d=this['_controlHover'])==null?void 0x0:_0x570d1d[_0x48cdb2(0x3f1)])??null;return _0x5f3fd3===_0x2c8113&&_0x4e7629===_0x20ed9c&&_0x202581===_0x44118e?!0x1:(this[_0x48cdb2(0x6b0)]=_0x5f3fd3===null&&_0x4e7629===null&&_0x202581===null?null:{'kind':_0x10e369==null?void 0x0:_0x10e369[_0x48cdb2(0x521)],'row':_0x4e7629,'column':_0x202581},this[_0x48cdb2(0x623)](!0x0),!0x0);}['setTableCellHover'](_0x4ba4af){const _0x295c0e=_0x5defcf;var _0x102398,_0xe9cc71;let _0x33c683=((_0x102398=this[_0x295c0e(0x223)])==null?void 0x0:_0x102398[_0x295c0e(0x4b9)])??null,_0x1d1cc6=((_0xe9cc71=this[_0x295c0e(0x223)])==null?void 0x0:_0xe9cc71[_0x295c0e(0x3f1)])??null,_0x2d757f=(_0x4ba4af==null?void 0x0:_0x4ba4af[_0x295c0e(0x4b9)])??null,_0x1fa1c5=(_0x4ba4af==null?void 0x0:_0x4ba4af[_0x295c0e(0x3f1)])??null;return _0x33c683===_0x2d757f&&_0x1d1cc6===_0x1fa1c5?!0x1:(this[_0x295c0e(0x223)]=_0x4ba4af?{'row':_0x4ba4af[_0x295c0e(0x4b9)],'column':_0x4ba4af['column']}:null,this[_0x295c0e(0x623)](!0x0),!0x0);}[_0x5defcf(0x2d8)](_0x30b948){const _0x496b77=_0x5defcf;let _0x3bd5f3=Ml(_0x30b948);return!Nl(this[_0x496b77(0x1a2)],_0x3bd5f3)&&(this['_controlState']=_0x3bd5f3,this[_0x496b77(0x623)](!0x0),!0x0);}[_0x5defcf(0x387)](_0x38a525){const _0x4a1fcd=_0x5defcf;this[_0x4a1fcd(0x681)]();let _0x2dbf68=this[_0x4a1fcd(0x251)](),_0x3bc15d=_0x2dbf68[_0x4a1fcd(0x479)]+_0x2dbf68[_0x4a1fcd(0x58e)]/0x2,_0x3aff74=_0x2dbf68['top']+_0x2dbf68['height']/0x2,_0x5bda0f=this[_0x4a1fcd(0x3b0)][_0x4a1fcd(0x1bb)](),_0x2dbab8=new _0x3c1d46([_0x5bda0f[0x0],_0x5bda0f[0x1],_0x5bda0f[0x2],_0x5bda0f[0x3],_0x3bc15d,_0x3aff74]),_0x51c445=this[_0x4a1fcd(0x63e)]();return(this[_0x4a1fcd(0x2a5)]&&(_0x51c445==null?void 0x0:_0x51c445[_0x4a1fcd(0x3c6)])===_0x128426[_0x4a1fcd(0x37c)]?_0x51c445[_0x4a1fcd(0x467)][_0x4a1fcd(0x416)](_0x2dbab8):_0x2dbab8)[_0x4a1fcd(0x380)]()[_0x4a1fcd(0x67f)](_0x38a525);}['isHit'](_0x12ec8d){const _0x53ff8c=_0x5defcf;let _0x1a5776=this['getInverseCoord'](_0x12ec8d),_0x3866c6=this[_0x53ff8c(0x58e)]/0x2,_0x5e242c=this['height']/0x2;return _0x1a5776['x']>=-_0x3866c6-this['strokeWidth']/0x2&&_0x1a5776['x']<=_0x3866c6+this[_0x53ff8c(0x4b8)]/0x2&&_0x1a5776['y']>=-_0x5e242c-this[_0x53ff8c(0x4b8)]/0x2&&_0x1a5776['y']<=_0x5e242c+this[_0x53ff8c(0x4b8)]/0x2||this[_0x53ff8c(0x57c)](_0x1a5776);}[_0x5defcf(0x358)](_0x4c6861,_0x5ca569,_0x2add25,_0x1ca711){const _0xfb0014=_0x5defcf;var _0x3e6260,_0xb76a51;let _0x4ad192=this[_0xfb0014(0x6a0)]();if(!_0x4ad192)return null;let _0x3ce5f8=this['_resolveRenderModel'](_0x4ad192),_0x5d8c2b=this[_0xfb0014(0x703)](_0x3ce5f8),_0x4fbc09=this[_0xfb0014(0x4e7)]==='structural'?(_0x3e6260=_0x5d8c2b[_0xfb0014(0x565)][_0x4c6861])==null?void 0x0:_0x3e6260[_0x5ca569]:(_0xb76a51=_0x5d8c2b[_0xfb0014(0x50f)][_0x4c6861])==null?void 0x0:_0xb76a51[_0x5ca569];return _0x4fbc09?kl(_0x4fbc09,_0x3ce5f8,_0x2add25??this['width'],_0x1ca711??this[_0xfb0014(0x65e)]):null;}[_0x5defcf(0x2c2)](){const _0x84611c=_0x5defcf;this['_imageLoadSubscriptions']['unsubscribe'](),this[_0x84611c(0x6f1)](),super[_0x84611c(0x2c2)]();}[_0x5defcf(0x703)](_0x80515f){const _0x11a3c8=_0x5defcf;var _0x4b7c48;if(((_0x4b7c48=this[_0x11a3c8(0x711)])==null?void 0x0:_0x4b7c48[_0x11a3c8(0x40b)])===_0x80515f)return this[_0x11a3c8(0x711)];let _0x3c0f62=_0x80515f['cells'][_0x11a3c8(0x439)](_0x32be66=>!_0x32be66[_0x11a3c8(0x3f5)]),_0x1fac51=[],_0x2e83be=[];return _0x3c0f62['forEach'](_0x273f26=>{const _0xa63cbd=_0x11a3c8;(_0x2e83be[_0x273f26[_0xa63cbd(0x4b9)]]??=[])[_0x273f26['column']]=_0x273f26;let _0x425813=_0x273f26['row']+Math[_0xa63cbd(0x6bf)](0x1,_0x273f26[_0xa63cbd(0x3bb)]),_0x817329=_0x273f26[_0xa63cbd(0x3f1)]+Math[_0xa63cbd(0x6bf)](0x1,_0x273f26['columnSpan']);for(let _0x1b7c92=_0x273f26[_0xa63cbd(0x4b9)];_0x1b7c92<_0x425813;_0x1b7c92+=0x1){let _0x11db56=_0x1fac51[_0x1b7c92]??=[];for(let _0xb13592=_0x273f26[_0xa63cbd(0x3f1)];_0xb13592<_0x817329;_0xb13592+=0x1)_0x11db56[_0xb13592]=_0x273f26;}}),this[_0x11a3c8(0x711)]={'cells':_0x3c0f62,'cellAtPosition':_0x1fac51,'cellByOrigin':_0x2e83be,'model':_0x80515f},this[_0x11a3c8(0x711)];}[_0x5defcf(0x431)](_0x5d921f,_0x3f8fdb=this[_0x5defcf(0x58e)],_0xb3eed7=this[_0x5defcf(0x65e)]){const _0x1309fb=_0x5defcf;let _0x235713=this['_getRenderTable']();if(!_0x235713)return null;let _0x3cb354=this[_0x1309fb(0x2ce)](_0x235713),_0x4d5d14=this[_0x1309fb(0x387)](_0x5d921f);return Zs(_0x3cb354,(_0x4d5d14['x']+_0x3f8fdb/0x2)*$(_0x3cb354[_0x1309fb(0x58e)]/_0x3f8fdb,0x1),(_0x4d5d14['y']+_0xb3eed7/0x2)*$(_0x3cb354[_0x1309fb(0x65e)]/_0xb3eed7,0x1));}[_0x5defcf(0x2d9)](_0x8f03b8,_0x46a11b=this[_0x5defcf(0x58e)],_0x2aff86=this['height']){const _0x1ceaa9=_0x5defcf;let _0x5b0df1=this['_getRenderTable']();if(!_0x5b0df1)return null;let _0x575e27=this[_0x1ceaa9(0x2ce)](_0x5b0df1),_0x19e68a=this[_0x1ceaa9(0x387)](_0x8f03b8),_0x450c65=this[_0x1ceaa9(0x644)](_0x575e27,_0x46a11b,_0x2aff86,{'showAll':!0x0});return _0x54e4c1(_0x450c65,_0x19e68a['x']+_0x46a11b/0x2,_0x19e68a['y']+_0x2aff86/0x2);}['hitTestStructuralTriggerAtScenePoint'](_0x4cf835,_0x199801=this[_0x5defcf(0x58e)],_0x3bc4fe=this['height']){const _0x10c3d6=_0x5defcf;let _0x5c6842=this[_0x10c3d6(0x6a0)]();if(!_0x5c6842)return null;let _0xbc50ca=this[_0x10c3d6(0x2ce)](_0x5c6842),_0xd9ede5=this['getInverseCoord'](_0x4cf835),_0x3d83a7=this['_buildStructuralTriggers'](_0xbc50ca,_0x199801,_0x3bc4fe,Kc(_0x5c6842,_0x199801),qc(_0x5c6842,_0x3bc4fe));return _0x2e8971(_0x3d83a7,_0xd9ede5['x']+_0x199801/0x2,_0xd9ede5['y']+_0x3bc4fe/0x2);}[_0x5defcf(0x337)](_0xdd39c4,_0x397699=this[_0x5defcf(0x58e)],_0x308718=this[_0x5defcf(0x65e)]){const _0x27c173=_0x5defcf;let _0x5497ec=this[_0x27c173(0x6a0)]();if(!_0x5497ec)return null;let _0x5110b6=this[_0x27c173(0x2ce)](_0x5497ec),_0x548b98=this['getInverseCoord'](_0xdd39c4),_0x419960=this['_buildStructuralTriggers'](_0x5110b6,_0x397699,_0x308718,Kc(_0x5497ec,_0x397699),qc(_0x5497ec,_0x308718));return _0x2af0de(_0x419960,_0x548b98['x']+_0x397699/0x2,_0x548b98['y']+_0x308718/0x2);}[_0x5defcf(0x542)](_0x25d64d,_0x148785){const _0x596764=_0x5defcf;if(!this[_0x596764(0x65a)])return this[_0x596764(0x623)](!0x1),this;this[_0x596764(0x681)]();let _0x429b08=this[_0x596764(0x251)](),_0x2113cc=this[_0x596764(0x33e)]()?0x18:0x0;if(this['isRender'](_0x148785)){let {top:_0x4b1f9b,left:_0x4c326f,bottom:_0x442487,right:_0x1aecc5}=_0x148785[_0x596764(0x4d3)];if(_0x429b08[_0x596764(0x479)]+_0x429b08[_0x596764(0x58e)]+this['strokeWidth']+_0x2113cc<_0x4c326f||_0x1aecc5<_0x429b08[_0x596764(0x479)]-this[_0x596764(0x4b8)]-_0x2113cc||_0x429b08[_0x596764(0x5ee)]+_0x429b08[_0x596764(0x65e)]+this['strokeWidth']+_0x2113cc<_0x4b1f9b||_0x442487<_0x429b08['top']-this[_0x596764(0x4b8)]-_0x2113cc)return this;}let _0xa87df3=this[_0x596764(0x3b0)][_0x596764(0x1bb)](),_0x3540ba=_0x429b08[_0x596764(0x479)]+_0x429b08['width']/0x2,_0x11434f=_0x429b08[_0x596764(0x5ee)]+_0x429b08['height']/0x2;return _0x25d64d[_0x596764(0x2bd)](),_0x25d64d['transform'](_0xa87df3[0x0],_0xa87df3[0x1],_0xa87df3[0x2],_0xa87df3[0x3],_0x3540ba,_0x11434f),this[_0x596764(0x6ca)](_0x25d64d,_0x148785,_0x429b08[_0x596764(0x58e)],_0x429b08['height']),_0x25d64d['restore'](),this['makeDirty'](!0x1),this;}[_0x5defcf(0x6ca)](_0x3dced3,_0x326aca,_0x9a9f37,_0x38602a){const _0x564441=_0x5defcf;let _0x452819=_0x9a9f37??this[_0x564441(0x58e)],_0x168112=_0x38602a??this['height'],_0x5a36e2=this[_0x564441(0x6a0)](),_0x3636bf=_0x5a36e2?this[_0x564441(0x2ce)](_0x5a36e2):null,_0x4d6e93=Kc(_0x5a36e2,_0x452819),_0x2df8f3=qc(_0x5a36e2,_0x168112),_0x59b0be=Zc(_0x5a36e2),_0x5ec14d=Qc(_0x5a36e2);this[_0x564441(0x6ac)](_0x3dced3,_0x452819,_0x168112),_0x3dced3['save'](),_0x3dced3[_0x564441(0x370)](),al(_0x3dced3,-_0x452819/0x2,-_0x168112/0x2,_0x452819,_0x168112,(_0x59b0be==null?void 0x0:_0x59b0be[_0x564441(0x633)])??0x0),_0x3dced3[_0x564441(0x538)](),_0x3636bf?(this['_drawCellFills'](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x220)](_0x3dced3,_0x5a36e2,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x1aa)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x372)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x56b)](_0x3dced3,_0x3636bf,_0x452819,_0x168112)):(this['_drawRowFills'](_0x3dced3,null,_0x2df8f3,_0x452819,_0x168112),this[_0x564441(0x5d3)](_0x3dced3,_0x4d6e93,_0x2df8f3,_0x452819,_0x168112)),_0x3dced3[_0x564441(0x547)](),_0x59b0be&&rl(_0x3dced3,_0x452819,_0x168112,_0x59b0be),_0x5ec14d&&il(_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3,_0x5ec14d),_0x3636bf&&(this[_0x564441(0x4b3)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x39f)](_0x3dced3,_0x3636bf,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x5b6)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x677)](_0x3dced3,_0x452819,_0x168112,_0x4d6e93,_0x2df8f3),this[_0x564441(0x5eb)](_0x3dced3,_0x3636bf,_0x452819,_0x168112),this[_0x564441(0x6eb)](_0x3dced3,_0x3636bf,_0x452819,_0x168112));}[_0x5defcf(0x6ac)](_0x5eb45e,_0x4fed50,_0x15a2ef){const _0x534343=_0x5defcf;var _0x57dc2f;let _0x44c093=(_0x57dc2f=this[_0x534343(0x6a0)]())==null?void 0x0:_0x57dc2f[_0x534343(0x6e9)],_0x612b5c=_0x44c093==null?void 0x0:_0x44c093[_0x534343(0x665)],_0xc2d6a0=_0x3ad634(_0x44c093==null?void 0x0:_0x44c093['glow'],_0x612b5c?{..._0x612b5c,'color':_0x612b5c[_0x534343(0x1e2)]??'rgba(0,\x200,\x200,\x201)'}:void 0x0);for(let _0x484500 of _0xc2d6a0)_0x9f2328(_0x5eb45e,_0x4fed50,_0x15a2ef,_0x484500,()=>{const _0x3a3b0b=_0x534343;_0x5eb45e[_0x3a3b0b(0x370)](),_0x5eb45e[_0x3a3b0b(0x5fd)](-_0x4fed50/0x2,-_0x15a2ef/0x2,_0x4fed50,_0x15a2ef),_0x5eb45e[_0x3a3b0b(0x3d5)]=_0x484500[_0x3a3b0b(0x1e2)],_0x5eb45e[_0x3a3b0b(0x394)]();});}[_0x5defcf(0x6a0)](){const _0xfff59b=_0x5defcf;return this[_0xfff59b(0x681)]();}['getLayoutTable'](){const _0x5037de=_0x5defcf;var _0x434f56;let _0x4ee395=this[_0x5037de(0x27d)]??this[_0x5037de(0x366)];if(!_0x4ee395||!this[_0x5037de(0x254)])return _0x4ee395;if(this[_0x5037de(0x261)]===_0x4ee395&&this[_0x5037de(0x3e6)]===_0x4ee395[_0x5037de(0x689)]&&this['_layoutWidth']===this[_0x5037de(0x58e)]&&this['_layoutHeight']===this[_0x5037de(0x65e)])return this[_0x5037de(0x32a)];!this['_previewTable']&&this[_0x5037de(0x65e)]!==this['_layoutHeight']&&(this[_0x5037de(0x42b)]=this[_0x5037de(0x65e)]);let _0x20c820=this[_0x5037de(0x27d)]&&(_0x4ee395[_0x5037de(0x360)]['length']!==((_0x434f56=this[_0x5037de(0x366)])==null?void 0x0:_0x434f56[_0x5037de(0x360)][_0x5037de(0x393)])||_0x4ee395['rows'][_0x5037de(0x638)]((_0x2873c3,_0x3deac6)=>{const _0x2359fb=_0x5037de;var _0x141e54;return _0x2873c3[_0x2359fb(0x65e)]!==((_0x141e54=this[_0x2359fb(0x366)])==null||(_0x141e54=_0x141e54[_0x2359fb(0x360)][_0x3deac6])==null?void 0x0:_0x141e54[_0x2359fb(0x65e)]);}))?_0x4ee395[_0x5037de(0x360)][_0x5037de(0x57e)]((_0x2423b6,_0x1b1c78)=>_0x2423b6+(_0x1b1c78[_0x5037de(0x65e)]??0x18),0x0):this[_0x5037de(0x42b)],_0x35ca73=jc(_0x4ee395,this['width'],_0x20c820,this[_0x5037de(0x254)],{..._0x5f5a44(this[_0x5037de(0x45b)]),...this[_0x5037de(0x34e)]??{}}),_0x1d4b29=_0x35ca73[_0x5037de(0x360)][_0x5037de(0x57e)]((_0x3efc1b,_0x24d440)=>_0x3efc1b+(_0x24d440['height']??0x18),0x0);return this[_0x5037de(0x261)]=_0x4ee395,this['_layoutRevision']=_0x4ee395[_0x5037de(0x689)],this[_0x5037de(0x28c)]=this['width'],this['_layoutHeight']=_0x1d4b29,this[_0x5037de(0x32a)]=_0x35ca73,_0x1d4b29!==this['height']&&this[_0x5037de(0x21e)](void 0x0,_0x1d4b29),_0x35ca73;}[_0x5defcf(0x2ce)](_0x51992b){const _0x1e3acd=_0x5defcf;let _0x189527=this[_0x1e3acd(0x606)];if((_0x189527==null?void 0x0:_0x189527[_0x1e3acd(0x690)])===_0x51992b&&_0x189527['revision']===_0x51992b['rev']&&_0x189527[_0x1e3acd(0x22b)]===this[_0x1e3acd(0x45b)]&&_0x189527[_0x1e3acd(0x299)]===this['_tableThemes'])return _0x189527[_0x1e3acd(0x40b)];let _0x44da09=_0x9eb1b0(_0x51992b,{'themes':{..._0x5f5a44(this[_0x1e3acd(0x45b)]),...this[_0x1e3acd(0x34e)]}});return this[_0x1e3acd(0x606)]={'model':_0x44da09,'palette':this['_tableThemePalette'],'revision':_0x51992b[_0x1e3acd(0x689)],'table':_0x51992b,'themes':this[_0x1e3acd(0x34e)]},_0x44da09;}[_0x5defcf(0x616)](_0x2007dd,_0x2d88b9,_0x9841e7,_0x3c8b80,_0x1a8bca){const _0x5b9c69=_0x5defcf;let _0x8fef3=-_0x1a8bca/0x2;_0x9841e7[_0x5b9c69(0x4df)]((_0x4b6e9e,_0xc8df8f)=>{const _0x54d201=_0x5b9c69;_0x2007dd[_0x54d201(0x370)](),_0x2007dd[_0x54d201(0x5fd)](-_0x3c8b80/0x2,_0x8fef3,_0x3c8b80,_0x4b6e9e),_0x2007dd[_0x54d201(0x3d5)]=ol(_0x2d88b9,_0xc8df8f),_0x2007dd['fill'](),_0x8fef3+=_0x4b6e9e;});}['_drawCellFills'](_0x1c5d46,_0x258b54,_0x2d949b,_0x1a3fd6){const _0x4b9038=_0x5defcf;let _0x3cdce8=this[_0x4b9038(0x6a0)](),_0x298784=$(_0x2d949b/_0x258b54[_0x4b9038(0x58e)],0x1),_0x22a2af=$(_0x1a3fd6/_0x258b54[_0x4b9038(0x65e)],0x1);_0x258b54[_0x4b9038(0x405)]['forEach'](_0x3b83a2=>{const _0xa12323=_0x4b9038;if(_0x3b83a2[_0xa12323(0x3f5)])return;let _0x91b528=-_0x2d949b/0x2+_0x3b83a2[_0xa12323(0x47d)]['left']*_0x298784,_0x324321=-_0x1a3fd6/0x2+_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x5ee)]*_0x22a2af,_0x5c67e1=_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x58e)]*_0x298784,_0x43f331=_0x3b83a2[_0xa12323(0x47d)][_0xa12323(0x65e)]*_0x22a2af,_0x904238=this['_resolvePictureFill'](_0x3b83a2['style'][_0xa12323(0x394)]);if(_0x904238&&sl(_0x1c5d46,_0x3b83a2[_0xa12323(0x242)][_0xa12323(0x394)],_0x904238,_0x91b528,_0x324321,_0x5c67e1,_0x43f331))return;let _0x55150a=_0x3b83a2[_0xa12323(0x242)]['fill']?cl(_0x1c5d46,_0x3b83a2[_0xa12323(0x242)][_0xa12323(0x394)],_0x91b528,_0x324321,_0x5c67e1,_0x43f331):ol(_0x3cdce8,_0x3b83a2[_0xa12323(0x4b9)]);_0x55150a&&(_0x1c5d46[_0xa12323(0x370)](),_0x1c5d46['rect'](_0x91b528,_0x324321,_0x5c67e1,_0x43f331),_0x1c5d46[_0xa12323(0x3d5)]=_0x55150a,_0x1c5d46['fill']());}),this['_drawMatchingCellFillSeams'](_0x1c5d46,_0x258b54,_0x2d949b,_0x1a3fd6,_0x298784,_0x22a2af);}['_drawMatchingCellFillSeams'](_0x1bfb2f,_0x44940e,_0x35f510,_0x54b176,_0x2ce426,_0x53f9bf){const _0x11cf3d=_0x5defcf;let _0x3e7370=this['_getRenderTable'](),{cells:_0x454225,cellAtPosition:_0x48442c}=this[_0x11cf3d(0x703)](_0x44940e);_0x454225['forEach'](_0x2bd1b7=>{const _0x5cd299=_0x11cf3d;var _0x42c719,_0x10d9c1;let _0x42057c=ll(_0x2bd1b7['style'][_0x5cd299(0x394)],_0x3e7370,_0x2bd1b7[_0x5cd299(0x4b9)]);if(!_0x42057c)return;let _0x1779fd=-_0x35f510/0x2+_0x2bd1b7[_0x5cd299(0x47d)][_0x5cd299(0x479)]*_0x2ce426,_0x27f9e4=-_0x54b176/0x2+_0x2bd1b7[_0x5cd299(0x47d)][_0x5cd299(0x5ee)]*_0x53f9bf,_0x5448a0=_0x1779fd+_0x2bd1b7[_0x5cd299(0x47d)]['width']*_0x2ce426,_0x210511=_0x27f9e4+_0x2bd1b7['bounds']['height']*_0x53f9bf,_0x1aa701=(_0x42c719=_0x48442c[_0x2bd1b7[_0x5cd299(0x4b9)]])==null?void 0x0:_0x42c719[_0x2bd1b7[_0x5cd299(0x3f1)]+_0x2bd1b7[_0x5cd299(0x4c5)]],_0x1e9ccf=(_0x10d9c1=_0x48442c[_0x2bd1b7[_0x5cd299(0x4b9)]+_0x2bd1b7[_0x5cd299(0x3bb)]])==null?void 0x0:_0x10d9c1[_0x2bd1b7[_0x5cd299(0x3f1)]];vl(_0x2bd1b7,_0x1aa701,_0x3e7370,_0x42057c)&&(_0x1bfb2f[_0x5cd299(0x370)](),_0x1bfb2f[_0x5cd299(0x5fd)](_0x5448a0-Uc,_0x27f9e4,Uc*0x2,_0x2bd1b7['bounds'][_0x5cd299(0x65e)]*_0x53f9bf),_0x1bfb2f[_0x5cd299(0x3d5)]=_0x42057c,_0x1bfb2f[_0x5cd299(0x394)]()),yl(_0x2bd1b7,_0x1e9ccf,_0x3e7370,_0x42057c)&&(_0x1bfb2f[_0x5cd299(0x370)](),_0x1bfb2f[_0x5cd299(0x5fd)](_0x1779fd,_0x210511-Uc,_0x2bd1b7['bounds'][_0x5cd299(0x58e)]*_0x2ce426,Uc*0x2),_0x1bfb2f[_0x5cd299(0x3d5)]=_0x42057c,_0x1bfb2f[_0x5cd299(0x394)]());});}[_0x5defcf(0x220)](_0x89e3c4,_0x4669e6,_0x2b154b,_0x185ddd,_0x1c4ebd){const _0x5f4947=_0x5defcf;_0x2b154b['cells'][_0x5f4947(0x4df)](_0x4290c=>{const _0x2ecbfe=_0x5f4947;var _0xab3ef5,_0x2304f2;if(_0x4290c['hidden']||this['_shouldHideCellTextForEditor'](_0x4290c))return;let _0x38130f=kl(_0x4290c,_0x2b154b,_0x185ddd,_0x1c4ebd),_0x138303=(_0xab3ef5=_0x4669e6[_0x2ecbfe(0x360)][_0x4290c['row']])==null||(_0xab3ef5=_0xab3ef5[_0x2ecbfe(0x405)][_0x4290c[_0x2ecbfe(0x3f1)]])==null?void 0x0:_0xab3ef5['textData'];_0x138303&&this[_0x2ecbfe(0x254)]&&Ac(_0x89e3c4,{'key':this[_0x2ecbfe(0x62b)]+_0x2ecbfe(0x66f)+_0x4290c[_0x2ecbfe(0x4b9)]+'-'+_0x4290c['column'],'documentData':_0x138303,'left':-_0x185ddd/0x2+_0x38130f['left'],'top':-_0x1c4ebd/0x2+_0x38130f[_0x2ecbfe(0x5ee)],'width':_0x38130f[_0x2ecbfe(0x58e)],'height':_0x38130f['height'],'localeService':this['_localeService'],'horizontalAlign':jo(_0x138303),'verticalAlign':Fo(_0x4290c[_0x2ecbfe(0x242)]['verticalAlign'])??((_0x2304f2=_0x138303[_0x2ecbfe(0x6e1)])==null||(_0x2304f2=_0x2304f2[_0x2ecbfe(0x1ef)])==null?void 0x0:_0x2304f2[_0x2ecbfe(0x385)]),'isHorizontal':_0x4290c[_0x2ecbfe(0x242)]['textDirection']!==_0x81a0a3[_0x2ecbfe(0x53f)]&&_0x4290c['style'][_0x2ecbfe(0x2fc)]!==_0x81a0a3['Vertical270'],'wrapStrategy':_0x5d1e12[_0x2ecbfe(0x5c4)],'clip':!0x0,'cacheKey':_0x4669e6[_0x2ecbfe(0x689)],'viewportHeight':_0x38130f[_0x2ecbfe(0x65e)]},this[_0x2ecbfe(0x514)](_0x4290c['row'],_0x4290c[_0x2ecbfe(0x3f1)]));});}[_0x5defcf(0x40e)](_0x287973){const _0x3967c9=_0x5defcf;var _0x3061ed;return this[_0x3967c9(0x604)]&&Cl(this[_0x3967c9(0x604)],_0x287973)?!0x0:((_0x3061ed=this[_0x3967c9(0x1ac)])==null?void 0x0:_0x3061ed[_0x3967c9(0x521)])==='text'&&this[_0x3967c9(0x1ac)][_0x3967c9(0x649)][_0x3967c9(0x638)](_0xcab5a=>_0xcab5a[_0x3967c9(0x1d3)]<=_0x287973[_0x3967c9(0x4b9)]+_0x287973[_0x3967c9(0x3bb)]-0x1&&_0xcab5a[_0x3967c9(0x573)]>=_0x287973[_0x3967c9(0x4b9)]&&_0xcab5a['startColumn']<=_0x287973[_0x3967c9(0x3f1)]+_0x287973['columnSpan']-0x1&&_0xcab5a['endColumn']>=_0x287973[_0x3967c9(0x3f1)]);}[_0x5defcf(0x514)](_0x5b2e20,_0x956195){const _0x301379=_0x5defcf;let _0x192789=_0x5b2e20+':'+_0x956195,_0x59b2f8=this[_0x301379(0x659)][_0x301379(0x621)](_0x192789);if(_0x59b2f8)return _0x59b2f8;let _0x35f4fa={};return this[_0x301379(0x659)][_0x301379(0x3c0)](_0x192789,_0x35f4fa),_0x35f4fa;}['_disposeTextRenderCaches'](){const _0x3a3137=_0x5defcf;this[_0x3a3137(0x659)][_0x3a3137(0x4df)](_0x309e7f=>kc(_0x309e7f)),this[_0x3a3137(0x659)][_0x3a3137(0x31e)]();}[_0x5defcf(0x1aa)](_0x30d778,_0x430013,_0x398771,_0x237128){const _0xb77d3=_0x5defcf;let _0x37ffd3=$(_0x398771/_0x430013[_0xb77d3(0x58e)],0x1),_0x4a42f1=$(_0x237128/_0x430013[_0xb77d3(0x65e)],0x1),{cells:_0x5c23e8,cellAtPosition:_0x486688}=this[_0xb77d3(0x703)](_0x430013);_0x5c23e8['forEach'](_0x1afa95=>{const _0x276072=_0xb77d3;var _0x2aa138,_0x5c703c;let _0x1aca21=-_0x398771/0x2+_0x1afa95[_0x276072(0x47d)][_0x276072(0x479)]*_0x37ffd3,_0x281034=-_0x237128/0x2+_0x1afa95[_0x276072(0x47d)]['top']*_0x4a42f1,_0x5bc5cd=_0x1aca21+_0x1afa95[_0x276072(0x47d)]['width']*_0x37ffd3,_0x4af4bd=_0x281034+_0x1afa95['bounds'][_0x276072(0x65e)]*_0x4a42f1,_0x313ac6=_0x1afa95[_0x276072(0x242)][_0x276072(0x68f)],_0x3a385e=(_0x2aa138=_0x486688[_0x1afa95['row']])==null?void 0x0:_0x2aa138[_0x1afa95[_0x276072(0x3f1)]+_0x1afa95[_0x276072(0x4c5)]],_0xe72330=(_0x5c703c=_0x486688[_0x1afa95[_0x276072(0x4b9)]+_0x1afa95['rowSpan']])==null?void 0x0:_0x5c703c[_0x1afa95[_0x276072(0x3f1)]],_0x167aa7=_0x313ac6==null?void 0x0:_0x313ac6['top'],_0x324009=bl(_0x313ac6,_0x3a385e),_0x5bf0e3=xl(_0x313ac6,_0xe72330),_0x464116=_0x313ac6==null?void 0x0:_0x313ac6[_0x276072(0x479)];if(_0x1afa95[_0x276072(0x4b9)]===0x0){let _0x4d8528=_0x281034+wl(_0x167aa7);_l(_0x30d778,_0x167aa7,_0x1aca21,_0x4d8528,_0x5bc5cd,_0x4d8528);}{let _0x5bae75=_0x3a385e?_0x5bc5cd:_0x5bc5cd-wl(_0x324009);_l(_0x30d778,_0x324009,_0x5bae75,_0x281034,_0x5bae75,_0x4af4bd);}{let _0x12fcc2=_0xe72330?_0x4af4bd:_0x4af4bd-wl(_0x5bf0e3);_l(_0x30d778,_0x5bf0e3,_0x1aca21,_0x12fcc2,_0x5bc5cd,_0x12fcc2);}if(_0x1afa95['column']===0x0){let _0x36e729=_0x1aca21+wl(_0x464116);_l(_0x30d778,_0x464116,_0x36e729,_0x281034,_0x36e729,_0x4af4bd);}});}[_0x5defcf(0x5d3)](_0xc4068c,_0xa14feb,_0x4ee9b8,_0x1b25d6,_0xe38672){const _0x13e527=_0x5defcf;let _0x3bd4cd=-_0x1b25d6/0x2,_0x3d620f=-_0xe38672/0x2,_0xe06c18=_0x1b25d6/0x2,_0x1964ba=_0xe38672/0x2;_0xc4068c['beginPath'](),_0xc4068c[_0x13e527(0x2b2)]([]),_0xc4068c[_0x13e527(0x678)]=Nc,_0xc4068c[_0x13e527(0x6e3)]=0x1;let _0x1f803e=_0x3bd4cd;_0xa14feb['slice'](0x0,-0x1)[_0x13e527(0x4df)](_0x27412b=>{const _0x51fe70=_0x13e527;_0x1f803e+=_0x27412b,_0xc4068c[_0x51fe70(0x3a6)](_0x1f803e,_0x3d620f),_0xc4068c['lineTo'](_0x1f803e,_0x1964ba);});let _0x4c7768=_0x3d620f;_0x4ee9b8[_0x13e527(0x313)](0x0,-0x1)[_0x13e527(0x4df)](_0x45fc0e=>{const _0x474de4=_0x13e527;_0x4c7768+=_0x45fc0e,_0xc4068c['moveTo'](_0x3bd4cd,_0x4c7768),_0xc4068c[_0x474de4(0x374)](_0xe06c18,_0x4c7768);}),_0xc4068c[_0x13e527(0x54e)](),this[_0x13e527(0x420)](_0xc4068c,_0x3bd4cd,_0x3d620f,_0x1b25d6,_0xe38672);}[_0x5defcf(0x420)](_0x13cbce,_0x5289dc,_0x541e49,_0xc58451,_0x25b7bd){const _0x3b4da0=_0x5defcf;_0x13cbce['beginPath'](),_0x13cbce[_0x3b4da0(0x678)]=Mc,_0x13cbce[_0x3b4da0(0x6e3)]=1.5,_0x13cbce[_0x3b4da0(0x5fd)](_0x5289dc,_0x541e49,_0xc58451,_0x25b7bd),_0x13cbce[_0x3b4da0(0x54e)]();}['_drawSelection'](_0x2f1add,_0x2836e3,_0x18f454,_0x282819){const _0x325d33=_0x5defcf;var _0x19809b,_0x353c8f;if(!((_0x19809b=this[_0x325d33(0x1ac)])!=null&&_0x19809b[_0x325d33(0x649)][_0x325d33(0x393)])||this['_selection']['kind']===_0x325d33(0x590))return;let _0x16c132=((_0x353c8f=this[_0x325d33(0x462)])==null?void 0x0:_0x353c8f[_0x325d33(0x6d8)](_0x325d33(0x383)))??Fc,_0x441520=new _0xb7c3a(_0x16c132)['setAlpha'](0.07)[_0x325d33(0x62e)](),_0x10c7b2=$(_0x18f454/_0x2836e3[_0x325d33(0x58e)],0x1),_0x19d5ee=$(_0x282819/_0x2836e3[_0x325d33(0x65e)],0x1);if(this[_0x325d33(0x1ac)][_0x325d33(0x521)]==='table'){_0x2f1add[_0x325d33(0x370)](),_0x2f1add[_0x325d33(0x5fd)](-_0x18f454/0x2,-_0x282819/0x2,_0x18f454,_0x282819),_0x2f1add[_0x325d33(0x3d5)]=_0x441520,_0x2f1add[_0x325d33(0x394)](),Dl(_0x2f1add,-_0x18f454/0x2,-_0x282819/0x2,_0x18f454,_0x282819,_0x16c132,_0x18f454,_0x282819);return;}let _0xcac618=_0x2836e3[_0x325d33(0x405)][_0x325d33(0x439)](_0xdeb53d=>!_0xdeb53d[_0x325d33(0x3f5)]);_0xcac618[_0x325d33(0x439)](_0x302823=>{const _0x2e79c3=_0x325d33;var _0x43db2d;return Wc(_0x302823,((_0x43db2d=this[_0x2e79c3(0x1ac)])==null?void 0x0:_0x43db2d[_0x2e79c3(0x649)])??[]);})[_0x325d33(0x4df)](_0x3f565e=>{const _0x4c47c7=_0x325d33;_0x2f1add[_0x4c47c7(0x370)](),_0x2f1add[_0x4c47c7(0x5fd)](-_0x18f454/0x2+_0x3f565e['bounds'][_0x4c47c7(0x479)]*_0x10c7b2,-_0x282819/0x2+_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x5ee)]*_0x19d5ee,_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x58e)]*_0x10c7b2,_0x3f565e[_0x4c47c7(0x47d)][_0x4c47c7(0x65e)]*_0x19d5ee),_0x2f1add[_0x4c47c7(0x3d5)]=_0x441520,_0x2f1add[_0x4c47c7(0x394)]();}),this[_0x325d33(0x1ac)][_0x325d33(0x649)][_0x325d33(0x4df)](_0x3430d1=>{const _0x1b8b41=_0x325d33;let _0x464625=_0xcac618[_0x1b8b41(0x439)](_0x21ccd6=>Wc(_0x21ccd6,[_0x3430d1]));if(!_0x464625['length'])return;let _0x1deb11=-_0x18f454/0x2+Math[_0x1b8b41(0x4a7)](..._0x464625[_0x1b8b41(0x295)](_0x56e3e2=>_0x56e3e2[_0x1b8b41(0x47d)][_0x1b8b41(0x479)]))*_0x10c7b2,_0x2a492e=-_0x282819/0x2+Math[_0x1b8b41(0x4a7)](..._0x464625[_0x1b8b41(0x295)](_0xe43844=>_0xe43844[_0x1b8b41(0x47d)][_0x1b8b41(0x5ee)]))*_0x19d5ee,_0x534487=-_0x18f454/0x2+Math[_0x1b8b41(0x6bf)](..._0x464625[_0x1b8b41(0x295)](_0x34ffb8=>_0x34ffb8[_0x1b8b41(0x47d)][_0x1b8b41(0x479)]+_0x34ffb8[_0x1b8b41(0x47d)][_0x1b8b41(0x58e)]))*_0x10c7b2,_0x4e7b2d=-_0x282819/0x2+Math[_0x1b8b41(0x6bf)](..._0x464625[_0x1b8b41(0x295)](_0x27b288=>_0x27b288['bounds'][_0x1b8b41(0x5ee)]+_0x27b288['bounds'][_0x1b8b41(0x65e)]))*_0x19d5ee;Dl(_0x2f1add,_0x1deb11,_0x2a492e,_0x534487-_0x1deb11,_0x4e7b2d-_0x2a492e,_0x16c132,_0x18f454,_0x282819);});}[_0x5defcf(0x56b)](_0x3d3a94,_0x2edfa6,_0xe17008,_0x53cdd6){const _0x2df045=_0x5defcf;var _0x3821a5;if(!this[_0x2df045(0x223)])return;let _0x218361=(_0x3821a5=this['_resolveVisibleCellCache'](_0x2edfa6)[_0x2df045(0x565)][this[_0x2df045(0x223)][_0x2df045(0x4b9)]])==null?void 0x0:_0x3821a5[this[_0x2df045(0x223)][_0x2df045(0x3f1)]];if(!_0x218361)return;let _0x41b24d=$(_0xe17008/_0x2edfa6[_0x2df045(0x58e)],0x1),_0x5e8af5=$(_0x53cdd6/_0x2edfa6[_0x2df045(0x65e)],0x1);_0x3d3a94[_0x2df045(0x370)](),_0x3d3a94[_0x2df045(0x5fd)](-_0xe17008/0x2+_0x218361[_0x2df045(0x47d)][_0x2df045(0x479)]*_0x41b24d,-_0x53cdd6/0x2+_0x218361[_0x2df045(0x47d)]['top']*_0x5e8af5,_0x218361[_0x2df045(0x47d)]['width']*_0x41b24d,_0x218361['bounds'][_0x2df045(0x65e)]*_0x5e8af5),_0x3d3a94[_0x2df045(0x678)]=_0x2df045(0x1c2),_0x3d3a94[_0x2df045(0x6e3)]=0x1,_0x3d3a94[_0x2df045(0x54e)]();}['_drawControls'](_0x105a19,_0x35c6e8,_0x46143c,_0x20f502){const _0x5cf0c7=_0x5defcf;this['_shouldDrawControls']()&&this[_0x5cf0c7(0x644)](_0x35c6e8,_0x46143c,_0x20f502,{'showAll':!0x0})['filter'](_0x515293=>_0x515293[_0x5cf0c7(0x521)]!==_0x5cf0c7(0x3c8))[_0x5cf0c7(0x4df)](_0x593a2b=>{const _0x26ce09=_0x5cf0c7;let _0x4bec35=-_0x46143c/0x2+_0x593a2b['rect']['x'],_0x153b6f=-_0x20f502/0x2+_0x593a2b[_0x26ce09(0x5fd)]['y'],_0x5d37d2=this[_0x26ce09(0x661)](_0x593a2b),_0x2bf095=this[_0x26ce09(0x22e)](_0x593a2b);_0x105a19['beginPath'](),_0x105a19[_0x26ce09(0x5fd)](_0x4bec35,_0x153b6f,_0x593a2b[_0x26ce09(0x5fd)][_0x26ce09(0x58e)],_0x593a2b[_0x26ce09(0x5fd)][_0x26ce09(0x65e)]),_0x105a19[_0x26ce09(0x3d5)]=_0x2bf095?_0x26ce09(0x44a):_0x5d37d2?Rc:Lc,_0x105a19[_0x26ce09(0x394)](),_0x105a19[_0x26ce09(0x678)]=_0x5d37d2||_0x2bf095?Bc:zc,_0x105a19[_0x26ce09(0x6e3)]=0x1,_0x105a19[_0x26ce09(0x54e)]();});}[_0x5defcf(0x4b3)](_0x31cab3,_0x5199db,_0x556f08,_0x1cdddc,_0x112ab2){const _0x37b47e=_0x5defcf;if(!this[_0x37b47e(0x2a3)]())return;let _0x5b59e6=$c(this['_getRenderTable']());if(_0x5b59e6[_0x37b47e(0x360)]){let _0x1b0125=-_0x556f08/0x2;_0x112ab2['forEach']((_0x9290b9,_0xbe93e)=>{const _0x319926=_0x37b47e;this[_0x319926(0x3b6)](_0x31cab3,{'kind':'row','index':_0xbe93e,'x':-_0x5199db/0x2-0xa,'y':_0x1b0125,'width':0xa,'height':_0x9290b9}),_0x1b0125+=_0x9290b9;});}if(_0x5b59e6[_0x37b47e(0x5ca)]){let _0x3f3b88=-_0x5199db/0x2;_0x1cdddc[_0x37b47e(0x4df)]((_0x1f1136,_0x5992f2)=>{const _0x2037db=_0x37b47e;this[_0x2037db(0x3b6)](_0x31cab3,{'kind':'column','index':_0x5992f2,'x':_0x3f3b88,'y':-_0x556f08/0x2-0xa,'width':_0x1f1136,'height':0xa}),_0x3f3b88+=_0x1f1136;});}}[_0x5defcf(0x3b6)](_0x4488f3,_0x19ce37){const _0x10ec8e=_0x5defcf;_0x4488f3[_0x10ec8e(0x370)](),_0x4488f3[_0x10ec8e(0x5fd)](_0x19ce37['x'],_0x19ce37['y'],_0x19ce37[_0x10ec8e(0x58e)],_0x19ce37[_0x10ec8e(0x65e)]),_0x4488f3[_0x10ec8e(0x3d5)]=this[_0x10ec8e(0x4f1)](_0x19ce37['kind'],_0x19ce37[_0x10ec8e(0x5d4)])?'#1a73e8':this[_0x10ec8e(0x555)](_0x19ce37[_0x10ec8e(0x521)],_0x19ce37[_0x10ec8e(0x5d4)])?_0x10ec8e(0x6ea):_0x10ec8e(0x246),_0x4488f3[_0x10ec8e(0x394)]();}[_0x5defcf(0x39f)](_0x15c380,_0x22baa9,_0x389a8f,_0x3de5d7,_0x3ff103,_0x32c2d9){const _0x15827e=_0x5defcf;if(!this[_0x15827e(0x4d1)]())return;let _0x37a43c=this[_0x15827e(0x72a)]();this['_buildStructuralTriggers'](_0x22baa9,_0x389a8f,_0x3de5d7,_0x3ff103,_0x32c2d9)[_0x15827e(0x439)](_0xdce349=>_0xdce349[_0x15827e(0x521)]===_0x15827e(0x6a9)||_0xdce349[_0x15827e(0x521)]===_0x15827e(0x473))[_0x15827e(0x4df)](_0x21d6bc=>{const _0xa1b6b2=_0x15827e;let _0x5d574b=-_0x389a8f/0x2+_0x21d6bc[_0xa1b6b2(0x5fd)]['x']+_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x58e)]/0x2,_0x346fe4=-_0x3de5d7/0x2+_0x21d6bc[_0xa1b6b2(0x5fd)]['y']+_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x65e)]/0x2,_0x43e61c=this['_isHoveredStructuralTrigger'](_0x21d6bc),_0x256019=_0x43e61c?Math[_0xa1b6b2(0x4a7)](_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x58e)],_0x21d6bc[_0xa1b6b2(0x5fd)][_0xa1b6b2(0x65e)])/0x2:0x2/_0x37a43c;if(_0x15c380[_0xa1b6b2(0x370)](),_0x15c380[_0xa1b6b2(0x19c)](_0x5d574b,_0x346fe4,_0x256019,0x0,Math['PI']*0x2),_0x15c380[_0xa1b6b2(0x3d5)]=_0x43e61c?Ic:'rgba(95,\x2099,\x20104,\x200.45)',_0x15c380[_0xa1b6b2(0x394)](),!_0x43e61c)return;_0x15c380[_0xa1b6b2(0x370)](),_0x15c380[_0xa1b6b2(0x678)]=Hc,_0x15c380['lineWidth']=1.5/_0x37a43c;let _0x572cbc=0x3/_0x37a43c;_0x15c380['moveTo'](_0x5d574b-_0x572cbc,_0x346fe4),_0x15c380[_0xa1b6b2(0x374)](_0x5d574b+_0x572cbc,_0x346fe4),_0x15c380[_0xa1b6b2(0x3a6)](_0x5d574b,_0x346fe4-_0x572cbc),_0x15c380[_0xa1b6b2(0x374)](_0x5d574b,_0x346fe4+_0x572cbc),_0x15c380[_0xa1b6b2(0x54e)]();});}[_0x5defcf(0x5b6)](_0x5c82dd,_0x107049,_0x3f181b,_0x2c84a8,_0x54c228){const _0x521f45=_0x5defcf;var _0x2097a6;(_0x2097a6=this[_0x521f45(0x1a2)])!=null&&_0x2097a6['visible']&&this[_0x521f45(0x1a2)][_0x521f45(0x654)]&&nl(this[_0x521f45(0x1a2)][_0x521f45(0x654)],$c(this[_0x521f45(0x6a0)]()))&&this[_0x521f45(0x4d2)](_0x5c82dd,this[_0x521f45(0x1a2)]['insertGuide'],_0x107049,_0x3f181b,_0x2c84a8,_0x54c228);}[_0x5defcf(0x677)](_0x94826a,_0x36eb97,_0x155cf7,_0x1a5530,_0x15a1c3){const _0x6d30f0=_0x5defcf;var _0x3e2006;(_0x3e2006=this[_0x6d30f0(0x1a2)])!=null&&_0x3e2006[_0x6d30f0(0x65a)]&&this['_controlState'][_0x6d30f0(0x676)]&&nl(this[_0x6d30f0(0x1a2)][_0x6d30f0(0x676)],$c(this[_0x6d30f0(0x6a0)]()))&&this['_drawGuideLine'](_0x94826a,this[_0x6d30f0(0x1a2)]['reorderGuide'],_0x36eb97,_0x155cf7,_0x1a5530,_0x15a1c3);}[_0x5defcf(0x4d2)](_0x2ea02c,_0x40b6a8,_0x5cfeb3,_0x25a43e,_0xe4c0da,_0x3c65b1){const _0x5412ec=_0x5defcf;let _0x1cc03b=-_0x5cfeb3/0x2,_0x41744b=-_0x25a43e/0x2;if(_0x2ea02c[_0x5412ec(0x370)](),_0x2ea02c[_0x5412ec(0x2b2)]([]),_0x2ea02c[_0x5412ec(0x678)]=Ic,_0x2ea02c[_0x5412ec(0x6e3)]=0x2,_0x40b6a8['kind']==='row'){let _0x3cb30f=_0x41744b+El(_0x3c65b1,_0x40b6a8[_0x5412ec(0x5d4)]);_0x2ea02c['moveTo'](_0x1cc03b,_0x3cb30f),_0x2ea02c['lineTo'](_0x1cc03b+_0x5cfeb3,_0x3cb30f);}else{let _0xf30412=_0x1cc03b+El(_0xe4c0da,_0x40b6a8[_0x5412ec(0x5d4)]);_0x2ea02c[_0x5412ec(0x3a6)](_0xf30412,_0x41744b),_0x2ea02c['lineTo'](_0xf30412,_0x41744b+_0x25a43e);}_0x2ea02c['stroke']();}[_0x5defcf(0x5eb)](_0x30aeb7,_0x236fb5,_0x4f6a0d,_0x1d515d){const _0x549168=_0x5defcf;var _0x30d45b;if(!this['_selection']||this['_isTextEditing']())return;let _0x1c0571=this['_buildControlButtons'](_0x236fb5,_0x4f6a0d,_0x1d515d)[_0x549168(0x461)](_0x4a8bdf=>_0x4a8bdf[_0x549168(0x521)]==='table-handle');if(!_0x1c0571)return;let {rect:_0x174767}=_0x1c0571,_0x3e44cc=-_0x4f6a0d/0x2+_0x174767['x'],_0x557c0c=-_0x1d515d/0x2+_0x174767['y'],_0x45aac1=((_0x30d45b=this['_controlHover'])==null?void 0x0:_0x30d45b[_0x549168(0x521)])===_0x549168(0x3c8);jl(_0x30aeb7,_0x3e44cc,_0x557c0c,_0x174767['width'],_0x174767['height'],_0x45aac1),Al(_0x30aeb7,_0x3e44cc,_0x557c0c,_0x174767['width'],_0x174767['height'],_0x45aac1?Hc:Vc);}[_0x5defcf(0x51b)](){const _0x1cbef5=_0x5defcf;var _0x3fd499,_0x46213d;return this[_0x1cbef5(0x4d5)]()?!0x1:!!((_0x3fd499=this[_0x1cbef5(0x1ac)])!=null&&_0x3fd499[_0x1cbef5(0x649)][_0x1cbef5(0x393)])||!!this[_0x1cbef5(0x6b0)]||!!((_0x46213d=this[_0x1cbef5(0x1a2)])!=null&&_0x46213d[_0x1cbef5(0x65a)]);}['_shouldDrawStructuralHeaders'](){const _0x45d4cf=_0x5defcf;var _0x292039,_0x3a5b3c;if(this['_isTextEditing']())return!0x1;let _0x2c35a6=this['_controlState'];return this[_0x45d4cf(0x1ac)]?!0x0:!!(_0x2c35a6!=null&&_0x2c35a6[_0x45d4cf(0x65a)])&&!!(_0x2c35a6[_0x45d4cf(0x3d3)]||((_0x292039=_0x2c35a6[_0x45d4cf(0x2a8)])==null?void 0x0:_0x292039[_0x45d4cf(0x521)])===_0x45d4cf(0x21f)||((_0x3a5b3c=_0x2c35a6[_0x45d4cf(0x2a8)])==null?void 0x0:_0x3a5b3c[_0x45d4cf(0x521)])===_0x45d4cf(0x720));}[_0x5defcf(0x4d1)](){const _0x32bd4b=_0x5defcf;var _0x3b2f16;return!this['_isTextEditing']()&&(!!this[_0x32bd4b(0x1ac)]||!!((_0x3b2f16=this[_0x32bd4b(0x1a2)])!=null&&_0x3b2f16[_0x32bd4b(0x65a)]));}[_0x5defcf(0x57c)](_0x291e0b){const _0x1ed18f=_0x5defcf;var _0x489d72;if(this[_0x1ed18f(0x4d5)]()||!this['_selection']&&!((_0x489d72=this[_0x1ed18f(0x1a2)])!=null&&_0x489d72[_0x1ed18f(0x65a)]))return!0x1;let _0x1605f8=this[_0x1ed18f(0x58e)],_0x424e4c=this['height'],_0x1ecd6a=this[_0x1ed18f(0x6a0)]();if(!_0x1ecd6a)return!0x1;let _0x7b64f2={'x':_0x291e0b['x']+_0x1605f8/0x2,'y':_0x291e0b['y']+_0x424e4c/0x2},_0x5e7d02=this[_0x1ed18f(0x2ce)](_0x1ecd6a),_0x3bf25a=this[_0x1ed18f(0x1ad)](_0x5e7d02,_0x1605f8,_0x424e4c,Kc(_0x1ecd6a,_0x1605f8),qc(_0x1ecd6a,_0x424e4c)),_0x2adfeb=_0x2e8971(_0x3bf25a,_0x7b64f2['x'],_0x7b64f2['y']);if(_0x2adfeb&&Pl(_0x2adfeb)||_0x3bf25a['some'](_0x3f9802=>this[_0x1ed18f(0x1fc)](_0x3f9802,_0x7b64f2['x'],_0x7b64f2['y'])))return!0x0;let _0x36920c=this[_0x1ed18f(0x644)](_0x5e7d02,_0x1605f8,_0x424e4c)[_0x1ed18f(0x439)](_0x451e5e=>_0x451e5e[_0x1ed18f(0x521)]===_0x1ed18f(0x3c8));return!!_0x54e4c1(_0x36920c,_0x7b64f2['x'],_0x7b64f2['y']);}['_buildControlButtons'](_0x14c602,_0x5dd974,_0x2b611c,_0x5c52d7){const _0x44400f=_0x5defcf;let _0x328fd0=$c(this[_0x44400f(0x6a0)]()),_0x5cc997=_0x27fece(_0x14c602,_0x5dd974,_0x2b611c,_0x5c52d7)[_0x44400f(0x439)](_0x400eb5=>el(_0x400eb5,_0x328fd0));return this[_0x44400f(0x4e7)]===_0x44400f(0x225)?_0x5cc997:_0x5cc997[_0x44400f(0x439)](_0x149f98=>_0x149f98[_0x44400f(0x521)]===_0x44400f(0x3c8));}[_0x5defcf(0x1fc)](_0x2c3efc,_0x77d609,_0x389103){const _0x3cb3b7=_0x5defcf;return Pl(_0x2c3efc)?_0x22fe54(_0x77d609,_0x389103,_0x2c3efc[_0x3cb3b7(0x5fd)]):!0x1;}[_0x5defcf(0x661)](_0x2674f3){const _0x155de6=_0x5defcf;return!this[_0x155de6(0x6b0)]||_0x2674f3[_0x155de6(0x521)]!==this[_0x155de6(0x6b0)]['kind']?!0x1:_0x2674f3[_0x155de6(0x521)]===_0x155de6(0x24a)?_0x2674f3[_0x155de6(0x4b9)]===this[_0x155de6(0x6b0)][_0x155de6(0x4b9)]:_0x2674f3[_0x155de6(0x521)]!==_0x155de6(0x6f7)||_0x2674f3[_0x155de6(0x3f1)]===this[_0x155de6(0x6b0)][_0x155de6(0x3f1)];}['_isControlSelected'](_0x415eb1){const _0x1e4dc6=_0x5defcf;return this['_selection']?_0x415eb1['kind']===_0x1e4dc6(0x3c8)?this['_selection'][_0x1e4dc6(0x521)]===_0x1e4dc6(0x690):_0x415eb1[_0x1e4dc6(0x521)]==='row-select'?this['_selection'][_0x1e4dc6(0x521)]===_0x1e4dc6(0x4b9)&&_0x415eb1['row']!==void 0x0&&this['_selection'][_0x1e4dc6(0x649)]['some'](_0x34c46a=>_0x415eb1['row']>=Math[_0x1e4dc6(0x4a7)](_0x34c46a['startRow'],_0x34c46a[_0x1e4dc6(0x573)])&&_0x415eb1['row']<=Math['max'](_0x34c46a[_0x1e4dc6(0x1d3)],_0x34c46a[_0x1e4dc6(0x573)])):_0x415eb1[_0x1e4dc6(0x521)]===_0x1e4dc6(0x6f7)&&this['_selection'][_0x1e4dc6(0x521)]==='column'&&_0x415eb1[_0x1e4dc6(0x3f1)]!==void 0x0&&this['_selection'][_0x1e4dc6(0x649)][_0x1e4dc6(0x638)](_0x189ac3=>_0x415eb1[_0x1e4dc6(0x3f1)]>=Math[_0x1e4dc6(0x4a7)](_0x189ac3['startColumn'],_0x189ac3[_0x1e4dc6(0x351)])&&_0x415eb1['column']<=Math[_0x1e4dc6(0x6bf)](_0x189ac3[_0x1e4dc6(0x3cc)],_0x189ac3[_0x1e4dc6(0x351)])):!0x1;}[_0x5defcf(0x555)](_0x599a3a,_0x3120d2){const _0x34034e=_0x5defcf;var _0x567a2f;let _0x43134b=(_0x567a2f=this[_0x34034e(0x1a2)])==null?void 0x0:_0x567a2f['hoveredTrigger'];return _0x599a3a===_0x34034e(0x4b9)?(_0x43134b==null?void 0x0:_0x43134b[_0x34034e(0x521)])===_0x34034e(0x21f)&&_0x43134b['row']===_0x3120d2:(_0x43134b==null?void 0x0:_0x43134b[_0x34034e(0x521)])===_0x34034e(0x720)&&_0x43134b['column']===_0x3120d2;}['_isHoveredStructuralTrigger'](_0x4c6a64){const _0x30d93f=_0x5defcf;var _0x21cdfb;let _0x480116=(_0x21cdfb=this[_0x30d93f(0x1a2)])==null?void 0x0:_0x21cdfb[_0x30d93f(0x2a8)];return!_0x480116||_0x480116[_0x30d93f(0x521)]!==_0x4c6a64['kind']?!0x1:_0x4c6a64[_0x30d93f(0x521)]===_0x30d93f(0x21f)||_0x4c6a64[_0x30d93f(0x521)]===_0x30d93f(0x6a9)?_0x480116['row']!==void 0x0&&_0x480116[_0x30d93f(0x4b9)]===_0x4c6a64[_0x30d93f(0x4b9)]:_0x4c6a64['kind']===_0x30d93f(0x720)||_0x4c6a64['kind']===_0x30d93f(0x473)?_0x480116[_0x30d93f(0x3f1)]!==void 0x0&&_0x480116[_0x30d93f(0x3f1)]===_0x4c6a64[_0x30d93f(0x3f1)]:!0x1;}[_0x5defcf(0x4f1)](_0x22a50b,_0x552360){const _0x2e393f=_0x5defcf;var _0x1a957f;let _0xed92f8=(_0x1a957f=this['_controlState'])==null?void 0x0:_0x1a957f[_0x2e393f(0x3d3)];return!_0xed92f8||_0xed92f8[_0x2e393f(0x521)]!==_0x22a50b?!0x1:_0x552360>=Math['min'](_0xed92f8[_0x2e393f(0x6f2)],_0xed92f8['end'])&&_0x552360<=Math[_0x2e393f(0x6bf)](_0xed92f8['start'],_0xed92f8[_0x2e393f(0x4e4)]);}[_0x5defcf(0x1ad)](_0x379a16,_0x44fa5c,_0x14c096,_0x18e0b1,_0x2e79f0){const _0x5bf4d8=_0x5defcf;var _0x932a56;let _0x4f75ca=$c(this[_0x5bf4d8(0x6a0)]());return _0x49040d({'tableId':(_0x932a56=this[_0x5bf4d8(0x6a0)]())==null?void 0x0:_0x932a56['id'],'tableWidth':_0x44fa5c,'tableHeight':_0x14c096,'rowHeights':_0x2e79f0,'columnWidths':_0x18e0b1,'mergedCells':_0x379a16[_0x5bf4d8(0x405)][_0x5bf4d8(0x439)](_0xc96014=>!_0xc96014['hidden']&&(_0xc96014[_0x5bf4d8(0x3bb)]>0x1||_0xc96014[_0x5bf4d8(0x4c5)]>0x1))[_0x5bf4d8(0x295)](_0x57cddf=>({'startRow':_0x57cddf[_0x5bf4d8(0x4b9)],'endRow':_0x57cddf[_0x5bf4d8(0x4b9)]+_0x57cddf[_0x5bf4d8(0x3bb)]-0x1,'startColumn':_0x57cddf[_0x5bf4d8(0x3f1)],'endColumn':_0x57cddf[_0x5bf4d8(0x3f1)]+_0x57cddf[_0x5bf4d8(0x4c5)]-0x1})),'zoom':this[_0x5bf4d8(0x72a)]()})[_0x5bf4d8(0x439)](_0x10901f=>tl(_0x10901f,_0x4f75ca));}['_getStructuralControlZoom'](){const _0x47c8c3=_0x5defcf;var _0x5656ab,_0x417db0;let _0x506ee4=(_0x5656ab=this['getScene']())==null||(_0x417db0=_0x5656ab[_0x47c8c3(0x58d)])==null?void 0x0:_0x417db0[_0x47c8c3(0x283)](_0x5656ab);return $((_0x506ee4==null?void 0x0:_0x506ee4[_0x47c8c3(0x57b)])??(_0x506ee4==null?void 0x0:_0x506ee4[_0x47c8c3(0x6c3)]),0x1);}[_0x5defcf(0x33e)](){const _0x394e03=_0x5defcf;var _0x25727c,_0x55b1e7;return this['_shouldDrawStructuralHeaders']()||this[_0x394e03(0x4d1)]()||!!((_0x25727c=this['_controlState'])!=null&&_0x25727c[_0x394e03(0x654)])||!!((_0x55b1e7=this['_controlState'])!=null&&_0x55b1e7['reorderGuide']);}['_isTextEditing'](){const _0x4d1f06=_0x5defcf;var _0x577590;return!!this[_0x4d1f06(0x604)]||((_0x577590=this[_0x4d1f06(0x1ac)])==null?void 0x0:_0x577590[_0x4d1f06(0x521)])===_0x4d1f06(0x590);}[_0x5defcf(0x425)](_0x3e2f07){const _0x3100c6=_0x5defcf;var _0x2e5e9b,_0x3f2a8c;let _0x1a7a96=_0x3e2f07==null||(_0x2e5e9b=_0x3e2f07[_0x3100c6(0x487)])==null?void 0x0:_0x2e5e9b[_0x3100c6(0x605)];if(!_0x1a7a96)return;let _0x2800ee=((_0x3f2a8c=_0x3e2f07[_0x3100c6(0x487)])==null?void 0x0:_0x3f2a8c[_0x3100c6(0x4f8)])??_0x488828[_0x3100c6(0x327)],_0xa918f0=_0x2800ee+':'+_0x1a7a96,_0x30216f=this[_0x3100c6(0x236)][_0x3100c6(0x4ab)](_0x1a7a96,_0x2800ee);if(_0x30216f)return e[_0x3100c6(0x469)]['set'](_0xa918f0,_0x30216f),_0x30216f;let _0x16976d=e[_0x3100c6(0x469)][_0x3100c6(0x621)](_0xa918f0);if(_0x16976d)return this['_imageIoService'][_0x3100c6(0x235)](_0x1a7a96,_0x2800ee,_0x16976d),_0x16976d;if(!e[_0x3100c6(0x22c)][_0x3100c6(0x1ff)](_0xa918f0)){let _0x126598=this['_createImagePromise'](_0xa918f0,_0x1a7a96,_0x2800ee);e[_0x3100c6(0x22c)][_0x3100c6(0x3c0)](_0xa918f0,_0x126598),this[_0x3100c6(0x505)][_0x3100c6(0x378)](_0x405327(_0x126598)[_0x3100c6(0x533)]({'error':()=>void 0x0,'next':_0x404e0f=>{const _0x552804=_0x3100c6;_0x404e0f&&this[_0x552804(0x623)](!0x0);}}));}}async['_createImagePromise'](_0x26453d,_0x54367f,_0x36ebb8){const _0x5edb63=_0x5defcf;try{let _0x4ca8df=_0x36ebb8===_0x488828[_0x5edb63(0x3bf)]?await this[_0x5edb63(0x236)]['getImage'](_0x54367f):_0x54367f;if(!_0x4ca8df)return null;let _0x31bf2a=await new Promise(_0x578c60=>{const _0x24a37e=_0x5edb63;let _0x3d5d05=document[_0x24a37e(0x1a1)](_0x24a37e(0x2ab));_0x3d5d05[_0x24a37e(0x3fa)]=_0x24a37e(0x42e),_0x3d5d05[_0x24a37e(0x438)]=()=>_0x578c60(_0x3d5d05),_0x3d5d05['onerror']=()=>_0x578c60(null),_0x3d5d05[_0x24a37e(0x192)]=_0x4ca8df;});return _0x31bf2a&&(e[_0x5edb63(0x469)]['set'](_0x26453d,_0x31bf2a),this[_0x5edb63(0x236)][_0x5edb63(0x235)](_0x54367f,_0x36ebb8,_0x31bf2a)),_0x31bf2a;}finally{e['_imageLoadingCache'][_0x5edb63(0x525)](_0x26453d);}}};q(Gc,_0x5defcf(0x469),new Map()),q(Gc,_0x5defcf(0x22c),new Map());function Kc(_0x58c13f,_0x516600){const _0x40017d=_0x5defcf;let _0x504559=_0x58c13f==null?void 0x0:_0x58c13f[_0x40017d(0x5ca)][_0x40017d(0x295)](_0x3c2bc8=>_0x3c2bc8[_0x40017d(0x58e)])['filter'](_0x2530dd=>_0x2530dd>0x0);return Jc(_0x504559!=null&&_0x504559[_0x40017d(0x393)]?_0x504559:[0x1,0x1,0x1],_0x516600);}function qc(_0x48fca0,_0x28dffd){const _0x13d12b=_0x5defcf;let _0x311a5c=_0x48fca0==null?void 0x0:_0x48fca0[_0x13d12b(0x360)][_0x13d12b(0x295)](_0x55a16e=>_0x55a16e[_0x13d12b(0x65e)]??0x18)['filter'](_0x1f2efe=>_0x1f2efe>0x0);return Jc(_0x311a5c!=null&&_0x311a5c[_0x13d12b(0x393)]?_0x311a5c:[0x1,0x1,0x1],_0x28dffd);}function Jc(_0x5d2029,_0x485f84){const _0x3c33a3=_0x5defcf;let _0x18f354=_0x5d2029[_0x3c33a3(0x57e)]((_0x450f0d,_0x196540)=>_0x450f0d+_0x196540,0x0);return _0x18f354<=0x0?[_0x485f84]:_0x5d2029['map'](_0xc5de7d=>_0xc5de7d/_0x18f354*_0x485f84);}function Yc(_0x31633b,_0x1e9e27=0x0){const _0x3db7e9=_0x5defcf;return typeof _0x31633b==_0x3db7e9(0x716)&&Number[_0x3db7e9(0x401)](_0x31633b)?_0x31633b:_0x1e9e27;}function $(_0xcd3795,_0x10d09c){let _0x14b640=Yc(_0xcd3795,_0x10d09c);return _0x14b640>0x0?_0x14b640:_0x10d09c;}function Xc(_0x663896){return _0x663896&&typeof _0x663896=='object'?_0x663896:null;}function Zc(_0x373272){const _0x4bb147=_0x5defcf;let _0x14af79=Xc(_0x373272==null?void 0x0:_0x373272[_0x4bb147(0x554)]);if(!_0x14af79)return null;let _0x10d9b7=Yc(_0x14af79[_0x4bb147(0x39c)],0x0);return _0x10d9b7>0x0||typeof _0x14af79[_0x4bb147(0x725)]==_0x4bb147(0x716)||typeof _0x14af79[_0x4bb147(0x355)]==_0x4bb147(0x4ee)?{'borderRadius':Math[_0x4bb147(0x6bf)](0x0,_0x10d9b7),'borderWidth':$(_0x14af79[_0x4bb147(0x725)],1.5),'borderColor':typeof _0x14af79['outerBorderColor']==_0x4bb147(0x4ee)?_0x14af79['outerBorderColor']:Mc}:null;}function Qc(_0x4977c0){const _0x2f254b=_0x5defcf;let _0x28755e=Xc(_0x4977c0==null?void 0x0:_0x4977c0[_0x2f254b(0x554)]);if(!_0x28755e)return null;let _0xcea5a0=Xc(_0x28755e[_0x2f254b(0x45e)]);return _0xcea5a0?{'titleRow':Math[_0x2f254b(0x6bf)](0x0,Math[_0x2f254b(0x342)](Yc(_0xcea5a0[_0x2f254b(0x445)],0x0))),'titleColumn':Math['max'](0x0,Math[_0x2f254b(0x342)](Yc(_0xcea5a0[_0x2f254b(0x297)],0x0))),'notchWidth':$(_0xcea5a0[_0x2f254b(0x19d)],0x18),'borderWidth':$(_0x28755e[_0x2f254b(0x725)],1.5),'borderColor':typeof _0x28755e[_0x2f254b(0x355)]==_0x2f254b(0x4ee)?_0x28755e['outerBorderColor']:Mc}:null;}function $c(_0x48fd6c){const _0x4bec55=_0x5defcf;let _0x407d1e=Xc(_0x48fd6c==null?void 0x0:_0x48fd6c['custom']);if(!_0x407d1e)return{'rows':!0x0,'columns':!0x0};let _0x326486=Xc(_0x407d1e[_0x4bec55(0x237)]);return _0x326486?{'rows':_0x326486[_0x4bec55(0x360)]!==!0x1,'columns':_0x326486[_0x4bec55(0x5ca)]!==!0x1}:{'rows':!0x0,'columns':!0x0};}function el(_0x14112f,_0x7b76fe){const _0x1b78a3=_0x5defcf;return _0x14112f['kind']==='row-select'?_0x7b76fe[_0x1b78a3(0x360)]:_0x14112f[_0x1b78a3(0x521)]!==_0x1b78a3(0x6f7)||_0x7b76fe['columns'];}function tl(_0x5b2225,_0x57d41d){const _0x38d5b9=_0x5defcf;return _0x5b2225['kind']===_0x38d5b9(0x21f)||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x6a9)||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x31a)?_0x57d41d[_0x38d5b9(0x360)]:_0x5b2225[_0x38d5b9(0x521)]==='column-header'||_0x5b2225[_0x38d5b9(0x521)]===_0x38d5b9(0x473)||_0x5b2225['kind']===_0x38d5b9(0x5af)?_0x57d41d[_0x38d5b9(0x5ca)]:!0x0;}function nl(_0x164359,_0x416057){const _0x30b5a1=_0x5defcf;return _0x164359['kind']===_0x30b5a1(0x4b9)?_0x416057[_0x30b5a1(0x360)]:_0x416057[_0x30b5a1(0x5ca)];}function rl(_0x3752dd,_0x5a6af1,_0x58137f,_0x4a0424){const _0x3a34a5=_0x5defcf;_0x3752dd[_0x3a34a5(0x370)](),al(_0x3752dd,-_0x5a6af1/0x2,-_0x58137f/0x2,_0x5a6af1,_0x58137f,_0x4a0424[_0x3a34a5(0x633)]),_0x3752dd[_0x3a34a5(0x2b2)]([]),_0x3752dd[_0x3a34a5(0x678)]=_0x4a0424[_0x3a34a5(0x47c)],_0x3752dd[_0x3a34a5(0x6e3)]=_0x4a0424['borderWidth'],_0x3752dd[_0x3a34a5(0x54e)]();}function il(_0x2d7920,_0x1cd093,_0x15ffdb,_0x172da8,_0x1538c0,_0x44bc9a){const _0x5bcf6e=_0x5defcf;let _0x5e02c8=-_0x1cd093/0x2+El(_0x172da8,_0x44bc9a['titleColumn']),_0x1a4f97=-_0x15ffdb/0x2+El(_0x1538c0,_0x44bc9a[_0x5bcf6e(0x445)]),_0x25c646=_0x172da8[_0x44bc9a[_0x5bcf6e(0x297)]],_0x3d278e=_0x1538c0[_0x44bc9a[_0x5bcf6e(0x445)]];if(!_0x25c646||!_0x3d278e)return;let _0x15fe74=_0x5e02c8+_0x25c646,_0x2c3700=_0x1a4f97+_0x3d278e,_0x302455=Math['min'](_0x44bc9a[_0x5bcf6e(0x19d)],Math[_0x5bcf6e(0x6bf)](0x0,_0x25c646-0x1),Math['max'](0x0,_0x3d278e-0x1));_0x2d7920[_0x5bcf6e(0x370)](),_0x2d7920[_0x5bcf6e(0x2b2)]([]),_0x2d7920[_0x5bcf6e(0x678)]=_0x44bc9a['borderColor'],_0x2d7920[_0x5bcf6e(0x6e3)]=_0x44bc9a[_0x5bcf6e(0x191)],_0x2d7920[_0x5bcf6e(0x3a6)](_0x5e02c8,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74,_0x2c3700-_0x302455),_0x2d7920[_0x5bcf6e(0x374)](_0x15fe74-_0x302455,_0x2c3700),_0x2d7920[_0x5bcf6e(0x374)](_0x5e02c8,_0x2c3700),_0x2d7920[_0x5bcf6e(0x374)](_0x5e02c8,_0x1a4f97),_0x2d7920[_0x5bcf6e(0x54e)]();}function al(_0x314fc6,_0x1d5ad4,_0xaf9ad7,_0x2061ac,_0x3db138,_0x2483a9){const _0x1e2c07=_0x5defcf;let _0x449b61=_0x1d5ad4+_0x2061ac,_0x42f083=_0xaf9ad7+_0x3db138,_0x199bb9=Math[_0x1e2c07(0x4a7)](Math[_0x1e2c07(0x6bf)](0x0,_0x2483a9),_0x2061ac/0x2,_0x3db138/0x2);if(_0x199bb9<=0x0){_0x314fc6['rect'](_0x1d5ad4,_0xaf9ad7,_0x2061ac,_0x3db138);return;}_0x314fc6[_0x1e2c07(0x3a6)](_0x1d5ad4+_0x199bb9,_0xaf9ad7),_0x314fc6[_0x1e2c07(0x374)](_0x449b61-_0x199bb9,_0xaf9ad7),_0x314fc6[_0x1e2c07(0x4c1)](_0x449b61,_0xaf9ad7,_0x449b61,_0xaf9ad7+_0x199bb9),_0x314fc6[_0x1e2c07(0x374)](_0x449b61,_0x42f083-_0x199bb9),_0x314fc6['quadraticCurveTo'](_0x449b61,_0x42f083,_0x449b61-_0x199bb9,_0x42f083),_0x314fc6[_0x1e2c07(0x374)](_0x1d5ad4+_0x199bb9,_0x42f083),_0x314fc6[_0x1e2c07(0x4c1)](_0x1d5ad4,_0x42f083,_0x1d5ad4,_0x42f083-_0x199bb9),_0x314fc6['lineTo'](_0x1d5ad4,_0xaf9ad7+_0x199bb9),_0x314fc6[_0x1e2c07(0x4c1)](_0x1d5ad4,_0xaf9ad7,_0x1d5ad4+_0x199bb9,_0xaf9ad7);}function ol(_0x2bb8f4,_0x1a5b4b){const _0x388011=_0x5defcf;return _0x2bb8f4!=null&&_0x2bb8f4[_0x388011(0x1d9)][_0x388011(0x216)]&&_0x1a5b4b===0x0?'#e8f1ff':_0x2bb8f4!=null&&_0x2bb8f4['options'][_0x388011(0x35e)]&&_0x1a5b4b%0x2==0x1?_0x388011(0x338):Pc;}function sl(_0x2be9aa,_0xa8ae9c,_0x538232,_0x919001,_0x4467c2,_0x4a7109,_0x658719){const _0x245f8e=_0x5defcf;var _0x4ff1a7;if(!(_0xa8ae9c!=null&&(_0x4ff1a7=_0xa8ae9c[_0x245f8e(0x487)])!=null&&_0x4ff1a7['source']))return!0x1;if(_0x2be9aa['save'](),_0x2be9aa[_0x245f8e(0x370)](),_0x2be9aa['rect'](_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x538)](),_0x2be9aa['globalAlpha']=pl(_0xa8ae9c[_0x245f8e(0x487)][_0x245f8e(0x1f1)]??_0xa8ae9c[_0x245f8e(0x498)]??0x1)??0x1,_0xa8ae9c['picture']['mode']===_0x245f8e(0x34c)){let _0xd8f8bc=_0x2be9aa[_0x245f8e(0x1b9)](_0x538232,_0x245f8e(0x32d));return _0xd8f8bc?(_0x2be9aa['fillStyle']=_0xd8f8bc,_0x2be9aa[_0x245f8e(0x37d)](_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x547)](),!0x0):(_0x2be9aa[_0x245f8e(0x547)](),!0x1);}return _0x2be9aa[_0x245f8e(0x4f9)](_0x538232,_0x919001,_0x4467c2,_0x4a7109,_0x658719),_0x2be9aa[_0x245f8e(0x547)](),!0x0;}function cl(_0x4989b7,_0x59b9ed,_0x469f12,_0x8cedf1,_0x185967,_0x39236e){const _0x1a64c0=_0x5defcf;var _0x22769f;if((_0x59b9ed==null?void 0x0:_0x59b9ed[_0x1a64c0(0x495)])==='none')return;if(_0x59b9ed!=null&&(_0x22769f=_0x59b9ed[_0x1a64c0(0x5ef)])!=null&&(_0x22769f=_0x22769f[_0x1a64c0(0x36c)])!=null&&_0x22769f[_0x1a64c0(0x393)]){let _0x193fbe=ul(_0x4989b7,_0x59b9ed[_0x1a64c0(0x5ef)],_0x469f12,_0x8cedf1,_0x185967,_0x39236e);return _0x59b9ed[_0x1a64c0(0x5ef)][_0x1a64c0(0x36c)][_0x1a64c0(0x4df)](_0x22a743=>{const _0x4be665=_0x1a64c0;_0x193fbe[_0x4be665(0x232)](dl(_0x22a743[_0x4be665(0x273)]),fl(_0x22a743['color'],_0x22a743['opacity']??_0x59b9ed[_0x4be665(0x498)]??0x1));}),_0x193fbe;}let _0x1d1c81=_0x59b9ed==null?void 0x0:_0x59b9ed[_0x1a64c0(0x1e2)];if(!_0x1d1c81)return;let _0x529452=pl(_0x59b9ed[_0x1a64c0(0x498)]);if(_0x529452===void 0x0||_0x529452>=0x1)return _0x1d1c81;let _0x5392d9=gl(_0x1d1c81);return _0x5392d9?_0x1a64c0(0x5ec)+_0x5392d9['r']+',\x20'+_0x5392d9['g']+',\x20'+_0x5392d9['b']+',\x20'+hl(_0x529452)+')':_0x1d1c81;}function ll(_0x31e7bd,_0x2127a9,_0x6ba10e){const _0x30b9e2=_0x5defcf;var _0x365698;if(!_0x31e7bd)return ol(_0x2127a9,_0x6ba10e);if(_0x31e7bd[_0x30b9e2(0x495)]==='none'||(_0x365698=_0x31e7bd[_0x30b9e2(0x5ef)])!=null&&(_0x365698=_0x365698[_0x30b9e2(0x36c)])!=null&&_0x365698[_0x30b9e2(0x393)]||_0x31e7bd[_0x30b9e2(0x487)])return;let _0x280bec=_0x31e7bd[_0x30b9e2(0x1e2)];if(!_0x280bec)return;let _0x2ef4f2=pl(_0x31e7bd[_0x30b9e2(0x498)]);if(_0x2ef4f2===void 0x0||_0x2ef4f2>=0x1)return _0x280bec;let _0x5edf68=gl(_0x280bec);return _0x5edf68?_0x30b9e2(0x5ec)+_0x5edf68['r']+',\x20'+_0x5edf68['g']+',\x20'+_0x5edf68['b']+',\x20'+hl(_0x2ef4f2)+')':_0x280bec;}function ul(_0x554a26,_0x21c8f5,_0x34797a,_0x13e7a6,_0x5de0e1,_0x564d17){const _0xd73865=_0x5defcf;if(_0x21c8f5[_0xd73865(0x495)]===_0xd73865(0x569)||_0x21c8f5['type']===_0xd73865(0x455)){let _0x56e713=Math[_0xd73865(0x6bf)](_0x5de0e1,_0x564d17)/0x2;return _0x554a26[_0xd73865(0x4a3)](_0x34797a+_0x5de0e1/0x2,_0x13e7a6+_0x564d17/0x2,0x0,_0x34797a+_0x5de0e1/0x2,_0x13e7a6+_0x564d17/0x2,_0x56e713);}let _0x54df99=((_0x21c8f5[_0xd73865(0x2c3)]??0x0)+0x5a)%0x168*Math['PI']/0xb4,_0x12595c=_0x34797a+_0x5de0e1/0x2,_0x17cefe=_0x13e7a6+_0x564d17/0x2,_0xf8d0bc=Math['sqrt'](_0x5de0e1*_0x5de0e1+_0x564d17*_0x564d17)/0x2,_0x51ff4b=Math['cos'](_0x54df99)*_0xf8d0bc,_0x31c3a7=Math[_0xd73865(0x1c1)](_0x54df99)*_0xf8d0bc;return _0x554a26[_0xd73865(0x704)](_0x12595c-_0x51ff4b,_0x17cefe-_0x31c3a7,_0x12595c+_0x51ff4b,_0x17cefe+_0x31c3a7);}function dl(_0x5c349c){const _0x5f2de4=_0x5defcf;return Number['isFinite'](_0x5c349c)?_0x5c349c<=0x1?Math[_0x5f2de4(0x4a7)](0x1,Math[_0x5f2de4(0x6bf)](0x0,_0x5c349c)):Math[_0x5f2de4(0x4a7)](0x1,Math[_0x5f2de4(0x6bf)](0x0,_0x5c349c/0x64)):0x0;}function fl(_0x261691,_0x22ee59){const _0x18016c=_0x5defcf;let _0x4e3903=_0x261691[_0x18016c(0x2e9)](),_0x5c57fa=ml(_0x22ee59);if(/^#[0-9a-f]{3}$/i[_0x18016c(0x721)](_0x4e3903)){let [,_0x2e638e,_0x10d39f,_0x4eb715]=_0x4e3903;return'rgba('+Number[_0x18016c(0x447)](_0x2e638e+_0x2e638e,0x10)+',\x20'+Number['parseInt'](_0x10d39f+_0x10d39f,0x10)+',\x20'+Number[_0x18016c(0x447)](_0x4eb715+_0x4eb715,0x10)+',\x20'+hl(_0x5c57fa)+')';}return/^#[0-9a-f]{6}$/i['test'](_0x4e3903)?_0x18016c(0x5ec)+Number[_0x18016c(0x447)](_0x4e3903[_0x18016c(0x313)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x4e3903[_0x18016c(0x313)](0x3,0x5),0x10)+',\x20'+Number[_0x18016c(0x447)](_0x4e3903[_0x18016c(0x313)](0x5,0x7),0x10)+',\x20'+hl(_0x5c57fa)+')':_0x261691;}function pl(_0x4d441f){const _0x15cdf2=_0x5defcf;if(typeof _0x4d441f==_0x15cdf2(0x716)&&Number[_0x15cdf2(0x401)](_0x4d441f))return ml(_0x4d441f<=0x1?_0x4d441f:_0x4d441f<=0x64?_0x4d441f/0x64:_0x4d441f/0x186a0);}function ml(_0x1d3743){const _0x330a40=_0x5defcf;return Math['min'](0x1,Math[_0x330a40(0x6bf)](0x0,_0x1d3743));}function hl(_0x3a0943){const _0x25dde3=_0x5defcf;return Number(_0x3a0943['toFixed'](0x4))[_0x25dde3(0x683)]();}function gl(_0x4bc545){const _0x2f3315=_0x5defcf;let _0x313765=_0x4bc545[_0x2f3315(0x2e9)](),_0xec7882=/^#([0-9a-f]{3})$/i[_0x2f3315(0x5c5)](_0x313765);if(_0xec7882){let [_0x4f9961,_0x37eed7,_0x1f33b9]=_0xec7882[0x1][_0x2f3315(0x24e)]('')[_0x2f3315(0x295)](_0x33fcac=>Number['parseInt'](''+_0x33fcac+_0x33fcac,0x10));return{'r':_0x4f9961,'g':_0x37eed7,'b':_0x1f33b9};}let _0x2204e4=/^#([0-9a-f]{6})$/i['exec'](_0x313765);if(_0x2204e4)return{'r':Number[_0x2f3315(0x447)](_0x2204e4[0x1][_0x2f3315(0x313)](0x0,0x2),0x10),'g':Number['parseInt'](_0x2204e4[0x1][_0x2f3315(0x313)](0x2,0x4),0x10),'b':Number[_0x2f3315(0x447)](_0x2204e4[0x1]['slice'](0x4,0x6),0x10)};}function _l(_0x4bd709,_0x1d0ca5,_0x4f88ea,_0x34e2df,_0x1ff46f,_0x223c60){const _0x289f51=_0x5defcf;_0x1d0ca5&&_0x1d0ca5['dash']!==_0x289f51(0x6bc)&&(_0x4bd709['beginPath'](),_0x4bd709[_0x289f51(0x2b2)](Tl(_0x1d0ca5[_0x289f51(0x244)])),_0x4bd709[_0x289f51(0x678)]=_0x1d0ca5[_0x289f51(0x1e2)]||Nc,_0x4bd709[_0x289f51(0x6e3)]=$(_0x1d0ca5['width'],0x1),_0x4bd709[_0x289f51(0x3a6)](_0x4f88ea,_0x34e2df),_0x4bd709[_0x289f51(0x374)](_0x1ff46f,_0x223c60),_0x4bd709['stroke'](),_0x4bd709['setLineDash']([]));}function vl(_0x1f92fc,_0x4f6e94,_0xd69833,_0x42d195){const _0x4943f8=_0x5defcf;var _0x287f11,_0x4237e4,_0x3a137f,_0x58547e;return!_0x4f6e94||_0x4f6e94['row']!==_0x1f92fc['row']||_0x4f6e94[_0x4943f8(0x3bb)]!==_0x1f92fc[_0x4943f8(0x3bb)]?!0x1:_0x42d195===ll(_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x394)],_0xd69833,_0x4f6e94[_0x4943f8(0x4b9)])&&!Sl((_0x287f11=_0x1f92fc['style']['borders'])==null?void 0x0:_0x287f11['right'],(_0x4237e4=_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x4237e4[_0x4943f8(0x479)],(_0x3a137f=_0x1f92fc[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x3a137f[_0x4943f8(0x4e9)],(_0x58547e=_0x4f6e94[_0x4943f8(0x242)][_0x4943f8(0x68f)])==null?void 0x0:_0x58547e[_0x4943f8(0x4e9)]);}function yl(_0x3ef4a4,_0x52dbce,_0x1bf5d0,_0x31ee42){const _0x4d07ff=_0x5defcf;var _0x510b64,_0x198c46,_0x1fe31,_0x209e1f;return!_0x52dbce||_0x52dbce[_0x4d07ff(0x3f1)]!==_0x3ef4a4[_0x4d07ff(0x3f1)]||_0x52dbce[_0x4d07ff(0x4c5)]!==_0x3ef4a4['columnSpan']?!0x1:_0x31ee42===ll(_0x52dbce[_0x4d07ff(0x242)][_0x4d07ff(0x394)],_0x1bf5d0,_0x52dbce[_0x4d07ff(0x4b9)])&&!Sl((_0x510b64=_0x3ef4a4['style'][_0x4d07ff(0x68f)])==null?void 0x0:_0x510b64[_0x4d07ff(0x341)],(_0x198c46=_0x52dbce[_0x4d07ff(0x242)]['borders'])==null?void 0x0:_0x198c46[_0x4d07ff(0x5ee)],(_0x1fe31=_0x3ef4a4[_0x4d07ff(0x242)][_0x4d07ff(0x68f)])==null?void 0x0:_0x1fe31[_0x4d07ff(0x709)],(_0x209e1f=_0x52dbce['style']['borders'])==null?void 0x0:_0x209e1f['insideH']);}function bl(_0x38042b,_0xa9a184){const _0x29000c=_0x5defcf;var _0xc58673,_0x559e2d;return _0xa9a184?Sl(_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x485)],(_0xc58673=_0xa9a184[_0x29000c(0x242)][_0x29000c(0x68f)])==null?void 0x0:_0xc58673[_0x29000c(0x479)],_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x4e9)],(_0x559e2d=_0xa9a184[_0x29000c(0x242)]['borders'])==null?void 0x0:_0x559e2d[_0x29000c(0x4e9)]):_0x3e9ef6(_0x38042b==null?void 0x0:_0x38042b[_0x29000c(0x485)],void 0x0);}function xl(_0x4945c9,_0x3bc28f){const _0xfcd1d=_0x5defcf;var _0x376f0d,_0x359dde;return _0x3bc28f?Sl(_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x341)],(_0x376f0d=_0x3bc28f[_0xfcd1d(0x242)][_0xfcd1d(0x68f)])==null?void 0x0:_0x376f0d[_0xfcd1d(0x5ee)],_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x709)],(_0x359dde=_0x3bc28f[_0xfcd1d(0x242)][_0xfcd1d(0x68f)])==null?void 0x0:_0x359dde[_0xfcd1d(0x709)]):_0x3e9ef6(_0x4945c9==null?void 0x0:_0x4945c9[_0xfcd1d(0x341)],void 0x0);}function Sl(..._0x524c0c){const _0x59dbdb=_0x5defcf;return _0x524c0c[_0x59dbdb(0x57e)]((_0x2df8d0,_0x304fdf)=>_0x3e9ef6(_0x2df8d0,_0x304fdf),void 0x0);}function Cl(_0x373dd8,_0x55071b){const _0x2ec267=_0x5defcf;return _0x373dd8[_0x2ec267(0x4b9)]>=_0x55071b[_0x2ec267(0x4b9)]&&_0x373dd8[_0x2ec267(0x4b9)]<_0x55071b[_0x2ec267(0x4b9)]+_0x55071b[_0x2ec267(0x3bb)]&&_0x373dd8[_0x2ec267(0x3f1)]>=_0x55071b[_0x2ec267(0x3f1)]&&_0x373dd8['column']<_0x55071b[_0x2ec267(0x3f1)]+_0x55071b[_0x2ec267(0x4c5)];}function wl(_0x223559){const _0x271441=_0x5defcf;return!_0x223559||_0x223559[_0x271441(0x244)]===_0x271441(0x6bc)?0x0:$(_0x223559[_0x271441(0x58e)],0x1)/0x2;}function Tl(_0x159cfa){const _0x33a219=_0x5defcf;return _0x159cfa==='dash'?[0x6,0x3]:_0x159cfa==='dot'?[0x1,0x3]:_0x159cfa===_0x33a219(0x296)?[0x6,0x3,0x1,0x3]:[];}function El(_0x117a3b,_0x221450){const _0x3db2ce=_0x5defcf;let _0x169e4f=Math['min'](_0x117a3b[_0x3db2ce(0x393)],Math[_0x3db2ce(0x6bf)](0x0,_0x221450));return _0x117a3b['slice'](0x0,_0x169e4f)[_0x3db2ce(0x57e)]((_0x3fb279,_0xde2a24)=>_0x3fb279+_0xde2a24,0x0);}function Dl(_0x7708df,_0x386f0f,_0xe61a32,_0x1fad41,_0xc0e037,_0x5305bd,_0x5a4881,_0x36d679){const _0x1e78b4=_0x5defcf;let _0x22ccee=0.5,_0x28373d=Math[_0x1e78b4(0x6bf)](_0x386f0f,-_0x5a4881/0x2+_0x22ccee),_0x3a96ba=Math[_0x1e78b4(0x6bf)](_0xe61a32,-_0x36d679/0x2+_0x22ccee),_0x50efd3=Math[_0x1e78b4(0x4a7)](_0x386f0f+_0x1fad41,_0x5a4881/0x2-_0x22ccee),_0x267587=Math['min'](_0xe61a32+_0xc0e037,_0x36d679/0x2-_0x22ccee);_0x50efd3<=_0x28373d||_0x267587<=_0x3a96ba||(_0x7708df[_0x1e78b4(0x370)](),_0x7708df['setLineDash']([]),_0x7708df[_0x1e78b4(0x5fd)](_0x28373d,_0x3a96ba,_0x50efd3-_0x28373d,_0x267587-_0x3a96ba),_0x7708df[_0x1e78b4(0x678)]=_0x5305bd,_0x7708df[_0x1e78b4(0x6e3)]=0x1,_0x7708df[_0x1e78b4(0x54e)]());}function Ol(_0x56b001,_0x304d3c){const _0x2d92d2=_0x5defcf;let {bottom:_0x1af260,left:_0xc7daaf,right:_0x11752f,top:_0x1121f2}=_0x4998ad(_0x304d3c);return{'left':_0x56b001[_0x2d92d2(0x479)]+_0xc7daaf,'top':_0x56b001[_0x2d92d2(0x5ee)]+_0x1121f2,'width':Math['max'](0x1,_0x56b001[_0x2d92d2(0x58e)]-_0xc7daaf-_0x11752f),'height':Math[_0x2d92d2(0x6bf)](0x1,_0x56b001[_0x2d92d2(0x65e)]-_0x1121f2-_0x1af260)};}function kl(_0x27ec7a,_0x50c48f,_0x14f844,_0x35c90d){const _0x571908=_0x5defcf;let _0x30e4a3=$(_0x14f844/_0x50c48f['width'],0x1),_0x31af3e=$(_0x35c90d/_0x50c48f[_0x571908(0x65e)],0x1);return{...Ol({'left':_0x27ec7a[_0x571908(0x47d)]['left']*_0x30e4a3,'top':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x5ee)]*_0x31af3e,'width':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x58e)]*_0x30e4a3,'height':_0x27ec7a[_0x571908(0x47d)][_0x571908(0x65e)]*_0x31af3e},_0x27ec7a['style'][_0x571908(0x4f7)]),'row':_0x27ec7a[_0x571908(0x4b9)],'column':_0x27ec7a['column']};}function Al(_0x393b67,_0x1f756b,_0x57fa30,_0x2cc0e8,_0x35083f,_0x5c9606=Vc){const _0x5701bc=_0x5defcf;let _0x40e083=_0x1f756b+_0x2cc0e8/0x2-0x3,_0x11c8b3=_0x57fa30+_0x35083f/0x2-0x3;_0x393b67[_0x5701bc(0x3d5)]=_0x5c9606;for(let _0x555cbc=0x0;_0x555cbc<0x2;_0x555cbc+=0x1)for(let _0x5441d1=0x0;_0x5441d1<0x2;_0x5441d1+=0x1)_0x393b67[_0x5701bc(0x370)](),_0x393b67['arc'](_0x40e083+_0x5441d1*0x6,_0x11c8b3+_0x555cbc*0x6,1.5,0x0,Math['PI']*0x2),_0x393b67['fill']();}function jl(_0x5f4767,_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e,_0x4759de=!0x1){const _0x4ab7e9=_0x5defcf;var _0xc4a0f4;_0x5f4767[_0x4ab7e9(0x2bd)](),_0x5f4767[_0x4ab7e9(0x4fb)]=_0x4759de?_0x4ab7e9(0x672):'rgba(60,\x2064,\x2067,\x200.16)',_0x5f4767[_0x4ab7e9(0x6e4)]=_0x4759de?0xa:0x8,_0x5f4767[_0x4ab7e9(0x41b)]=0x2,_0x5f4767[_0x4ab7e9(0x370)](),(_0xc4a0f4=_0x5f4767[_0x4ab7e9(0x4d0)])==null||_0xc4a0f4['call'](_0x5f4767,_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e,0x6),_0x5f4767['roundRect']||_0x5f4767[_0x4ab7e9(0x5fd)](_0x1f8432,_0x1a4840,_0x3ca060,_0x26fd8e),_0x5f4767[_0x4ab7e9(0x3d5)]=_0x4759de?Rc:Lc,_0x5f4767[_0x4ab7e9(0x394)](),_0x5f4767[_0x4ab7e9(0x6e4)]=0x0,_0x5f4767[_0x4ab7e9(0x41b)]=0x0,_0x5f4767[_0x4ab7e9(0x678)]=_0x4759de?Bc:zc,_0x5f4767[_0x4ab7e9(0x6e3)]=0x1,_0x5f4767[_0x4ab7e9(0x54e)](),_0x5f4767[_0x4ab7e9(0x547)]();}function Ml(_0x30c9a6){const _0xd64037=_0x5defcf;return _0x30c9a6?{'visible':_0x30c9a6[_0xd64037(0x65a)],'hoveredTrigger':_0x30c9a6[_0xd64037(0x2a8)]?{..._0x30c9a6[_0xd64037(0x2a8)],'rect':{..._0x30c9a6[_0xd64037(0x2a8)][_0xd64037(0x5fd)]}}:null,'selectedStructuralRange':_0x30c9a6[_0xd64037(0x3d3)]?{..._0x30c9a6[_0xd64037(0x3d3)]}:null,'insertGuide':_0x30c9a6['insertGuide']?{..._0x30c9a6[_0xd64037(0x654)]}:null,'reorderGuide':_0x30c9a6[_0xd64037(0x676)]?{..._0x30c9a6[_0xd64037(0x676)]}:null}:null;}function Nl(_0x4a9b70,_0x54d41c){const _0x335638=_0x5defcf;return JSON[_0x335638(0x2bc)](_0x4a9b70)===JSON[_0x335638(0x2bc)](_0x54d41c);}function Pl(_0xa30c87){const _0x38cab0=_0x5defcf;return _0xa30c87[_0x38cab0(0x521)]===_0x38cab0(0x21f)||_0xa30c87[_0x38cab0(0x521)]===_0x38cab0(0x720)||_0xa30c87[_0x38cab0(0x521)]==='row-insert-dot'||_0xa30c87['kind']===_0x38cab0(0x473);}var Fl=class{constructor(_0x13ad28,_0x53335d){const _0x5c8f63=_0x5defcf;this[_0x5c8f63(0x691)]=_0x13ad28,this[_0x5c8f63(0x6b5)]=_0x53335d,q(this,_0x5c8f63(0x4be),!0x1),q(this,_0x5c8f63(0x5bf),null);}['setResizeBoundary'](_0x476220){const _0x497d7a=_0x5defcf;this[_0x497d7a(0x5bf)]=_0x476220,this[_0x497d7a(0x691)]['makeDirty'](!0x0);}[_0x5defcf(0x20e)](_0x116af6){const _0xbf1882=_0x5defcf;this['_enabled']!==_0x116af6&&(this[_0xbf1882(0x4be)]=_0x116af6,this[_0xbf1882(0x691)][_0xbf1882(0x623)](!0x0));}[_0x5defcf(0x48f)](_0xba4823){const _0x295e16=_0x5defcf;let _0x10ec72=this[_0x295e16(0x691)][_0x295e16(0x387)](_0xba4823),_0x4b6c2b=0x16,_0x4b6c36=null;for(let _0x520bbf of this['_getHandles']()){let _0xfeaad5=Math[_0x295e16(0x4a4)](_0x10ec72['x']-_0x520bbf['x'],_0x10ec72['y']-_0x520bbf['y'])*this['_zoom'];_0xfeaad5<_0x4b6c2b&&(_0x4b6c2b=_0xfeaad5,_0x4b6c36=_0x520bbf[_0x295e16(0x6c5)]);}return _0x4b6c36;}[_0x5defcf(0x64b)](_0x23fb6a){const _0x1c9def=_0x5defcf;let _0x284d6d=this['_enabled']?this[_0x1c9def(0x6b5)]():null;if(!_0x284d6d)return null;let {table:_0x2ee184,model:_0x267429}=_0x284d6d,{width:_0x3da415,height:_0x20fbeb}=this[_0x1c9def(0x691)],_0x39e7e2=this[_0x1c9def(0x691)][_0x1c9def(0x387)](_0x23fb6a),_0x531a58=_0x39e7e2['x']+_0x3da415/0x2,_0x24ce74=_0x39e7e2['y']+_0x20fbeb/0x2;if(_0x531a58<0x0||_0x24ce74<0x0||_0x531a58>_0x3da415||_0x24ce74>_0x20fbeb)return null;let _0x20676c=_0x2ee184[_0x1c9def(0x360)][_0x1c9def(0x295)](_0x1f65d3=>(_0x1f65d3['height']??0x18)*_0x20fbeb/_0x267429[_0x1c9def(0x65e)]),_0x5470be=_0x2ee184[_0x1c9def(0x5ca)][_0x1c9def(0x295)](_0x1b54b2=>_0x1b54b2['width']*_0x3da415/_0x267429[_0x1c9def(0x58e)]),_0x4804ff=_0x49040d({'tableWidth':_0x3da415,'tableHeight':_0x20fbeb,'rowHeights':_0x20676c,'columnWidths':_0x5470be,'mergedCells':_0x22b153(_0x2ee184),'zoom':this['_zoom']}),_0x2cbe8d=null,_0x50374b=0x1/0x0;for(let _0x4b638e of _0x4804ff){let {rect:_0x3361c3}=_0x4b638e,_0x1afeb5,_0x2a32a7;if(_0x4b638e['kind']==='resize-row'&&_0x4b638e[_0x1c9def(0x4b9)]!==void 0x0&&_0x531a58>=_0x3361c3['x']&&_0x531a58<=_0x3361c3['x']+_0x3361c3[_0x1c9def(0x58e)])_0x1afeb5=Math[_0x1c9def(0x1dd)](_0x24ce74-_0x3361c3['y']-_0x3361c3['height']/0x2),_0x2a32a7=Math[_0x1c9def(0x4a7)](0x8/this['_zoom'],_0x20676c[_0x4b638e[_0x1c9def(0x4b9)]]/0x4,_0x20676c[_0x4b638e[_0x1c9def(0x4b9)]+0x1]/0x4);else{if(_0x4b638e['kind']===_0x1c9def(0x5af)&&_0x4b638e[_0x1c9def(0x3f1)]!==void 0x0&&_0x24ce74>=_0x3361c3['y']&&_0x24ce74<=_0x3361c3['y']+_0x3361c3['height'])_0x1afeb5=Math[_0x1c9def(0x1dd)](_0x531a58-_0x3361c3['x']-_0x3361c3[_0x1c9def(0x58e)]/0x2),_0x2a32a7=Math['min'](0x8/this[_0x1c9def(0x3c1)],_0x5470be[_0x4b638e[_0x1c9def(0x3f1)]]/0x4,_0x5470be[_0x4b638e[_0x1c9def(0x3f1)]+0x1]/0x4);else continue;}_0x1afeb5<=_0x2a32a7&&_0x1afeb5<_0x50374b&&(_0x2cbe8d=_0x4b638e,_0x50374b=_0x1afeb5);}return _0x2cbe8d;}[_0x5defcf(0x3e1)](_0x4d2494,_0x348fc4){const _0x985105=_0x5defcf;let _0x201e80=this['_enabled']?this[_0x985105(0x6b5)]():null,_0x48f645=this[_0x985105(0x5bf)];if(_0x201e80&&_0x48f645){let {width:_0x411c5f,height:_0x1152a4}=this[_0x985105(0x691)];if(_0x4d2494['beginPath'](),_0x48f645[_0x985105(0x71b)]===_0x985105(0x4b9)){let _0x60d7b4=_0x201e80['table'][_0x985105(0x360)][_0x985105(0x313)](0x0,_0x48f645[_0x985105(0x5d4)])['reduce']((_0x525d1d,_0x4bc858)=>_0x525d1d+(_0x4bc858[_0x985105(0x65e)]??0x18),0x0),_0x1f80fc=-_0x1152a4/0x2+_0x60d7b4*_0x1152a4/_0x201e80['model'][_0x985105(0x65e)];_0x4d2494[_0x985105(0x3a6)](-_0x411c5f/0x2,_0x1f80fc),_0x4d2494[_0x985105(0x374)](_0x411c5f/0x2,_0x1f80fc);}else{let _0x340cb5=_0x201e80[_0x985105(0x690)][_0x985105(0x5ca)][_0x985105(0x313)](0x0,_0x48f645[_0x985105(0x5d4)])[_0x985105(0x57e)]((_0x4a58e2,_0x2af4dd)=>_0x4a58e2+_0x2af4dd[_0x985105(0x58e)],0x0),_0x1db6c7=-_0x411c5f/0x2+_0x340cb5*_0x411c5f/_0x201e80[_0x985105(0x40b)][_0x985105(0x58e)];_0x4d2494[_0x985105(0x3a6)](_0x1db6c7,-_0x1152a4/0x2),_0x4d2494[_0x985105(0x374)](_0x1db6c7,_0x1152a4/0x2);}_0x4d2494[_0x985105(0x678)]=_0x348fc4,_0x4d2494[_0x985105(0x6e3)]=0x2/this[_0x985105(0x3c1)],_0x4d2494[_0x985105(0x54e)]();return;}for(let _0x171aba of this[_0x985105(0x4d4)]())_0x4d2494['beginPath'](),_0x4d2494[_0x985105(0x19c)](_0x171aba['x'],_0x171aba['y'],0x5/this['_zoom'],0x0,Math['PI']*0x2),_0x4d2494[_0x985105(0x3d5)]=_0x348fc4,_0x4d2494[_0x985105(0x394)]();}get[_0x5defcf(0x3c1)](){const _0x1f3cc5=_0x5defcf;var _0x52d8f4;return((_0x52d8f4=this[_0x1f3cc5(0x691)]['getScene']())==null?void 0x0:_0x52d8f4[_0x1f3cc5(0x58d)]()['scaleX'])||0x1;}[_0x5defcf(0x4d4)](){const _0x28c681=_0x5defcf;let _0xcd2319=this['_enabled']?this[_0x28c681(0x6b5)]():null;if(!(_0xcd2319!=null&&_0xcd2319[_0x28c681(0x483)]))return[];let {range:_0x61d43d,model:_0x52f8e3}=_0xcd2319,_0x1879a1=_0x52f8e3[_0x28c681(0x405)][_0x28c681(0x439)](_0x2efcca=>!_0x2efcca['hidden']&&_0x2efcca[_0x28c681(0x4b9)]<=Math[_0x28c681(0x6bf)](_0x61d43d['startRow'],_0x61d43d[_0x28c681(0x573)])&&_0x2efcca[_0x28c681(0x4b9)]+_0x2efcca[_0x28c681(0x3bb)]>Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d[_0x28c681(0x573)])&&_0x2efcca['column']<=Math['max'](_0x61d43d['startColumn'],_0x61d43d[_0x28c681(0x351)])&&_0x2efcca['column']+_0x2efcca['columnSpan']>Math['min'](_0x61d43d[_0x28c681(0x3cc)],_0x61d43d[_0x28c681(0x351)]));if(!_0x1879a1[_0x28c681(0x393)])return[];let {width:_0x1f505f,height:_0x1d50a8}=this[_0x28c681(0x691)],_0x162cbc=_0x1f505f/_0x52f8e3[_0x28c681(0x58e)],_0x157b48=_0x1d50a8/_0x52f8e3[_0x28c681(0x65e)];return[{'x':-_0x1f505f/0x2+Math[_0x28c681(0x4a7)](..._0x1879a1['map'](_0x4562ba=>_0x4562ba['bounds'][_0x28c681(0x479)]))*_0x162cbc,'y':-_0x1d50a8/0x2+Math[_0x28c681(0x4a7)](..._0x1879a1[_0x28c681(0x295)](_0x512d50=>_0x512d50[_0x28c681(0x47d)][_0x28c681(0x5ee)]))*_0x157b48,'anchor':{'row':Math[_0x28c681(0x6bf)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d['endRow']),'column':Math[_0x28c681(0x6bf)](_0x61d43d['startColumn'],_0x61d43d['endColumn'])}},{'x':-_0x1f505f/0x2+Math[_0x28c681(0x6bf)](..._0x1879a1[_0x28c681(0x295)](_0x5459b7=>_0x5459b7[_0x28c681(0x47d)][_0x28c681(0x479)]+_0x5459b7[_0x28c681(0x47d)][_0x28c681(0x58e)]))*_0x162cbc,'y':-_0x1d50a8/0x2+Math[_0x28c681(0x6bf)](..._0x1879a1[_0x28c681(0x295)](_0x519cc0=>_0x519cc0[_0x28c681(0x47d)][_0x28c681(0x5ee)]+_0x519cc0['bounds']['height']))*_0x157b48,'anchor':{'row':Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x1d3)],_0x61d43d['endRow']),'column':Math[_0x28c681(0x4a7)](_0x61d43d[_0x28c681(0x3cc)],_0x61d43d[_0x28c681(0x351)])}}];}},Il=class extends Gc{constructor(..._0x510c95){const _0x1921d9=_0x5defcf;super(..._0x510c95),q(this,_0x1921d9(0x2c6),new Fl(this,()=>{const _0x2bc0db=_0x1921d9;let _0x150d0b=this[_0x2bc0db(0x2aa)](),_0x579c1b=this[_0x2bc0db(0x1c8)](),_0x982cf9=this['getTableSelection'](),_0x30c650=(_0x982cf9==null?void 0x0:_0x982cf9[_0x2bc0db(0x649)][0x0])??null;return!_0x150d0b||!_0x579c1b||!_0x982cf9||this[_0x2bc0db(0x634)]()||_0x982cf9[_0x2bc0db(0x521)]==='text'?null:{'table':_0x150d0b,'model':_0x579c1b,'range':_0x982cf9[_0x2bc0db(0x521)]==='table'?null:_0x30c650};}));}[_0x5defcf(0x3a3)](_0x3d1751){const _0x1d971d=_0x5defcf;return super[_0x1d971d(0x3a3)](_0x3d1751)||this[_0x1d971d(0x2c6)][_0x1d971d(0x48f)](_0x3d1751)!=null;}[_0x5defcf(0x6ca)](_0x30f86c,_0x877629,_0x249057,_0x1777dd){const _0x2a9864=_0x5defcf;super[_0x2a9864(0x6ca)](_0x30f86c,_0x877629,_0x249057,_0x1777dd),this[_0x2a9864(0x2c6)][_0x2a9864(0x3e1)](_0x30f86c,this[_0x2a9864(0x603)]());}};function Ll(_0x20de59,_0x3e4041){const _0x3a052a=_0x5defcf;let _0x2798e3=Wl(_0x20de59,_0x3e4041);if(!_0x20de59||!_0x2798e3)return'';let _0x27a347=[];for(let _0x5bee31=_0x2798e3[_0x3a052a(0x1d3)];_0x5bee31<=_0x2798e3[_0x3a052a(0x573)];_0x5bee31+=0x1){let _0x4b2822=[];for(let _0x357f98=_0x2798e3[_0x3a052a(0x3cc)];_0x357f98<=_0x2798e3[_0x3a052a(0x351)];_0x357f98+=0x1){var _0x197043;let _0x583bd8=(_0x197043=_0x20de59[_0x3a052a(0x360)][_0x5bee31])==null?void 0x0:_0x197043[_0x3a052a(0x405)][_0x357f98];if(_0x583bd8!=null&&_0x583bd8[_0x3a052a(0x4a8)]||_0x583bd8!=null&&_0x583bd8[_0x3a052a(0x45f)]){_0x4b2822[_0x3a052a(0x6e6)]('');continue;}_0x4b2822[_0x3a052a(0x6e6)](Jl(Ul(_0x583bd8==null?void 0x0:_0x583bd8[_0x3a052a(0x1b7)])));}_0x27a347['push'](_0x4b2822[_0x3a052a(0x1d7)]('\x09'));}return _0x27a347[_0x3a052a(0x1d7)]('\x0a');}function Rl(_0x28c10,_0x34e690){const _0x38f5eb=_0x5defcf;let _0x1bb215=Wl(_0x28c10,_0x34e690);if(!_0x28c10||!_0x1bb215)return'';let _0x10b43e=_0x28c10[_0x38f5eb(0x5ca)][_0x38f5eb(0x313)](_0x1bb215['startColumn'],_0x1bb215[_0x38f5eb(0x351)]+0x1)[_0x38f5eb(0x295)](_0x18f0ef=>_0x38f5eb(0x277)+_0x18f0ef['width']+_0x38f5eb(0x696))[_0x38f5eb(0x1d7)](''),_0x41225b=[];for(let _0x372114=_0x1bb215['startRow'];_0x372114<=_0x1bb215[_0x38f5eb(0x573)];_0x372114+=0x1){let _0x57bcd9=_0x28c10[_0x38f5eb(0x360)][_0x372114];if(!_0x57bcd9)continue;let _0x47df22=[];for(let _0x34db24=_0x1bb215[_0x38f5eb(0x3cc)];_0x34db24<=_0x1bb215[_0x38f5eb(0x351)];_0x34db24+=0x1){let _0x3821f1=_0x57bcd9['cells'][_0x34db24];if(!_0x3821f1||_0x3821f1['hMerge']||_0x3821f1[_0x38f5eb(0x45f)])continue;let _0x5c770a=Math[_0x38f5eb(0x4a7)](_0x3821f1[_0x38f5eb(0x3bb)]??0x1,_0x1bb215[_0x38f5eb(0x573)]-_0x372114+0x1),_0x3981ad=Math[_0x38f5eb(0x4a7)](_0x3821f1[_0x38f5eb(0x4c5)]??0x1,_0x1bb215[_0x38f5eb(0x351)]-_0x34db24+0x1),_0x2b02f1=[_0x5c770a>0x1?_0x38f5eb(0x397)+_0x5c770a+'\x22':'',_0x3981ad>0x1?'colspan=\x22'+_0x3981ad+'\x22':'',zl(_0x3821f1)][_0x38f5eb(0x439)](Boolean)['join']('\x20'),_0x5b6208=_0x3821f1['textData']?_0x45c727(_0xdc70f2['deepClone'](_0x3821f1[_0x38f5eb(0x1b7)])):'';_0x47df22[_0x38f5eb(0x6e6)](_0x38f5eb(0x285)+(_0x2b02f1?'\x20'+_0x2b02f1:'')+'>'+_0x5b6208+'</td>');}_0x41225b[_0x38f5eb(0x6e6)]('<tr'+(_0x57bcd9[_0x38f5eb(0x65e)]?_0x38f5eb(0x255)+_0x57bcd9[_0x38f5eb(0x65e)]+'px\x22':'')+'>'+_0x47df22[_0x38f5eb(0x1d7)]('')+_0x38f5eb(0x509));}return _0x38f5eb(0x46e)+_0x10b43e+_0x38f5eb(0x4a5)+_0x41225b['join']('')+_0x38f5eb(0x19f);}function zl(_0x220845){const _0x390c2a=_0x5defcf;var _0xb3177c,_0x1df45d;let _0x64fadc=[];((_0xb3177c=_0x220845[_0x390c2a(0x242)])==null||(_0xb3177c=_0xb3177c['fill'])==null?void 0x0:_0xb3177c[_0x390c2a(0x495)])===_0x772d0f[_0x390c2a(0x37a)]&&_0x220845[_0x390c2a(0x242)]['fill']['color']&&_0x64fadc[_0x390c2a(0x6e6)](_0x390c2a(0x4b6)+_0x220845[_0x390c2a(0x242)][_0x390c2a(0x394)][_0x390c2a(0x1e2)]);let _0x31ce09=(_0x1df45d=_0x220845[_0x390c2a(0x242)])==null?void 0x0:_0x1df45d[_0x390c2a(0x68f)];return _0x31ce09&&[_0x390c2a(0x5ee),'right','bottom',_0x390c2a(0x479)][_0x390c2a(0x4df)](_0x584506=>{const _0x5cda05=_0x390c2a;let _0x3acf49=_0x31ce09[_0x584506];_0x3acf49!=null&&_0x3acf49['color']&&_0x3acf49[_0x5cda05(0x58e)]!==void 0x0&&_0x64fadc[_0x5cda05(0x6e6)](_0x5cda05(0x559)+_0x584506+':\x20'+_0x3acf49[_0x5cda05(0x58e)]+'px\x20solid\x20'+_0x3acf49[_0x5cda05(0x1e2)]);}),_0x64fadc[_0x390c2a(0x393)]>0x0?'style=\x22'+Zl(_0x64fadc[_0x390c2a(0x1d7)](';\x20'))+'\x22':'';}function Bl(_0x41a2a8,_0x43b118,_0x3aca76){const _0x4f634d=_0x5defcf;if(!_0x41a2a8||!_0x43b118||_0x3aca76[_0x4f634d(0x393)]===0x0)return null;let _0x145338=Kl(_0x41a2a8,_0x43b118);if(!_0x145338)return null;let _0xa4d72=ql(_0x3aca76);if(_0xa4d72[_0x4f634d(0x393)]===0x0)return null;let _0x5efc4e=_0xdc70f2[_0x4f634d(0x597)](_0x41a2a8['rows']),_0x2d5646=!0x1;return _0xa4d72[_0x4f634d(0x4df)]((_0x4d855d,_0x45c8a8)=>{const _0x5cbb64=_0x4f634d;let _0x2f836a=_0x145338['row']+_0x45c8a8;_0x2f836a<0x0||_0x2f836a>=_0x5efc4e[_0x5cbb64(0x393)]||_0x4d855d[_0x5cbb64(0x4df)]((_0xc116e2,_0x87805)=>{const _0x42714d=_0x5cbb64;let _0x347cf8=_0x145338[_0x42714d(0x3f1)]+_0x87805;if(_0x347cf8<0x0||_0x347cf8>=_0x41a2a8[_0x42714d(0x5ca)]['length'])return;let _0x49ec07=_0x5efc4e[_0x2f836a],_0x2ee3c9=_0x49ec07==null?void 0x0:_0x49ec07[_0x42714d(0x405)][_0x347cf8];_0x49ec07&&_0x2ee3c9&&!_0x2ee3c9[_0x42714d(0x4a8)]&&!_0x2ee3c9[_0x42714d(0x45f)]&&(_0x49ec07[_0x42714d(0x405)][_0x347cf8]={..._0x2ee3c9,'textData':_0x2ee3c9[_0x42714d(0x1b7)]?tc(_0x2ee3c9['textData'],_0xc116e2):ec(_0x41a2a8['id'],_0x2f836a,_0x347cf8,_0xc116e2)},_0x2d5646=!0x0);});}),_0x2d5646?{'rows':_0x5efc4e}:null;}function Vl(_0x78ef28,_0x570adc,_0x25b376){const _0x4e1f61=_0x5defcf;if(!_0x78ef28||!_0x570adc||!_0x25b376)return null;let _0x149c88=Kl(_0x78ef28,_0x570adc);if(!_0x149c88)return null;let _0x4473e0=_0x2648ac(_0x25b376),_0x369ccc=_0x4473e0[_0x4e1f61(0x360)]['length']>0x0?_0x4473e0[_0x4e1f61(0x360)][_0x4e1f61(0x295)](_0x10d4b5=>_0x10d4b5['cells']):[[{'html':_0x25b376,'text':'','rowSpan':0x1,'colSpan':0x1}]];if(!_0x369ccc[_0x4e1f61(0x638)](_0x3fc309=>_0x3fc309[_0x4e1f61(0x638)](_0x1ee73f=>_0x1ee73f!==null)))return null;let _0x514ddb=Math[_0x4e1f61(0x6bf)](0x1,..._0x369ccc[_0x4e1f61(0x295)](_0x52f45f=>_0x52f45f[_0x4e1f61(0x393)])),_0x57be2a={'startRow':_0x149c88['row'],'endRow':Math[_0x4e1f61(0x4a7)](_0x78ef28[_0x4e1f61(0x360)][_0x4e1f61(0x393)]-0x1,_0x149c88[_0x4e1f61(0x4b9)]+_0x369ccc[_0x4e1f61(0x393)]-0x1),'startColumn':_0x149c88[_0x4e1f61(0x3f1)],'endColumn':Math['min'](_0x78ef28['columns'][_0x4e1f61(0x393)]-0x1,_0x149c88[_0x4e1f61(0x3f1)]+_0x514ddb-0x1)},_0xe02a29=_0x22b153(_0x78ef28)[_0x4e1f61(0x439)](_0x50d29c=>Ql(_0x50d29c,_0x57be2a))[_0x4e1f61(0x57e)]((_0x317c4a,_0xa8d9d7)=>_0x17dc97(_0x317c4a,_0xa8d9d7[_0x4e1f61(0x1d3)],_0xa8d9d7[_0x4e1f61(0x3cc)]),_0xdc70f2[_0x4e1f61(0x597)](_0x78ef28)),_0x262594=[],_0x501a02=!0x1;return _0x369ccc[_0x4e1f61(0x4df)]((_0x408908,_0x5bf670)=>{const _0x2a3cb5=_0x4e1f61;_0x408908[_0x2a3cb5(0x4df)]((_0x1eb841,_0x1b5042)=>{const _0x134890=_0x2a3cb5;var _0xca98c0;let _0xbfaf5b=_0x149c88[_0x134890(0x4b9)]+_0x5bf670,_0x488957=_0x149c88[_0x134890(0x3f1)]+_0x1b5042,_0x16cc5e=(_0xca98c0=_0xe02a29['rows'][_0xbfaf5b])==null?void 0x0:_0xca98c0[_0x134890(0x405)][_0x488957];if(!_0x1eb841||!_0x16cc5e)return;let _0x4ba285=Yl(_0x30df11(_0x1eb841[_0x134890(0x323)]))??ec(_0x78ef28['id'],_0xbfaf5b,_0x488957,_0x1eb841['text']);_0xe02a29[_0x134890(0x360)][_0xbfaf5b][_0x134890(0x405)][_0x488957]={..._0x16cc5e,'textData':ic(_0x4ba285,_0x78ef28['id']+'-'+_0xbfaf5b+'-'+_0x488957),'style':Xl(_0x16cc5e[_0x134890(0x242)],_0x1eb841)};let _0x56e91e=Math[_0x134890(0x4a7)](_0x1eb841['rowSpan'],_0x78ef28[_0x134890(0x360)]['length']-_0xbfaf5b),_0x42b831=Math[_0x134890(0x4a7)](_0x1eb841[_0x134890(0x541)],_0x78ef28[_0x134890(0x5ca)]['length']-_0x488957);(_0x56e91e>0x1||_0x42b831>0x1)&&_0x262594[_0x134890(0x6e6)]({'startRow':_0xbfaf5b,'endRow':_0xbfaf5b+_0x56e91e-0x1,'startColumn':_0x488957,'endColumn':_0x488957+_0x42b831-0x1}),_0x501a02=!0x0;});}),_0x262594[_0x4e1f61(0x4df)](_0x479df7=>{_0xe02a29=_0x355cd8(_0xe02a29,_0x479df7);}),_0x501a02?{'rows':_0xe02a29[_0x4e1f61(0x360)]}:null;}function Hl(_0x32d330,_0x3cd42f){const _0x237c3b=_0x5defcf;let _0xb31a56=Gl(_0x32d330,_0x3cd42f);if(!_0x32d330||_0xb31a56[_0x237c3b(0x393)]===0x0)return null;let _0x1b336f=_0xdc70f2[_0x237c3b(0x597)](_0x32d330[_0x237c3b(0x360)]),_0x5df54a=!0x1;return _0xb31a56['forEach'](_0x16050c=>{const _0x1b248=_0x237c3b;for(let _0x4116a1=_0x16050c[_0x1b248(0x1d3)];_0x4116a1<=_0x16050c[_0x1b248(0x573)];_0x4116a1+=0x1){let _0x2ad63b=_0x1b336f[_0x4116a1];if(_0x2ad63b)for(let _0x4eaae9=_0x16050c[_0x1b248(0x3cc)];_0x4eaae9<=_0x16050c[_0x1b248(0x351)];_0x4eaae9+=0x1){let _0x212cfd=_0x2ad63b[_0x1b248(0x405)][_0x4eaae9];if(!(_0x212cfd!=null&&_0x212cfd[_0x1b248(0x1b7)]))continue;let _0x302e15={..._0x212cfd};delete _0x302e15[_0x1b248(0x1b7)],_0x2ad63b[_0x1b248(0x405)][_0x4eaae9]=_0x302e15,_0x5df54a=!0x0;}}}),_0x5df54a?{'rows':_0x1b336f}:null;}function Ul(_0x17cb77){const _0x5918eb=_0x5defcf;var _0x4d2495;let _0x5c4870=_0x17cb77==null||(_0x4d2495=_0x17cb77[_0x5918eb(0x291)])==null?void 0x0:_0x4d2495[_0x5918eb(0x41f)];return _0x5c4870?_0x5c4870[_0x5918eb(0x48c)](/\r\n/g,'\x0a')[_0x5918eb(0x48c)](/\r/g,'\x0a')[_0x5918eb(0x48c)](/[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g,'')[_0x5918eb(0x48c)](/\n+$/g,''):'';}function Wl(_0x4ed394,_0x572bb8){return Gl(_0x4ed394,_0x572bb8)[0x0]??null;}function Gl(_0x528639,_0x2a4582){const _0x8e1713=_0x5defcf;if(!_0x528639||!(_0x2a4582!=null&&_0x2a4582[_0x8e1713(0x649)][_0x8e1713(0x393)]))return[];let _0x2c18ec=_0x528639['rows'][_0x8e1713(0x393)]-0x1,_0x3d8b86=_0x528639[_0x8e1713(0x5ca)][_0x8e1713(0x393)]-0x1;return _0x2c18ec<0x0||_0x3d8b86<0x0?[]:_0x2a4582['ranges'][_0x8e1713(0x295)](_0x47884c=>{const _0x95b1dc=_0x8e1713;let _0x2bc83d=_0x4a84fc(_0x47884c);return{'startRow':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x1d3)],_0x2c18ec)),'endRow':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x573)],_0x2c18ec)),'startColumn':Math['max'](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x3cc)],_0x3d8b86)),'endColumn':Math[_0x95b1dc(0x6bf)](0x0,Math[_0x95b1dc(0x4a7)](_0x2bc83d[_0x95b1dc(0x351)],_0x3d8b86))};});}function Kl(_0x47d68a,_0x431b71){const _0x5d2cc0=_0x5defcf;let _0x529f07=Wl(_0x47d68a,_0x431b71);if(!_0x529f07)return null;let _0x34ccab=_0x431b71[_0x5d2cc0(0x61b)]??_0x431b71['anchor'];return _0x34ccab?{'row':Math[_0x5d2cc0(0x6bf)](_0x529f07[_0x5d2cc0(0x1d3)],Math[_0x5d2cc0(0x4a7)](_0x34ccab['row'],_0x529f07[_0x5d2cc0(0x573)])),'column':Math[_0x5d2cc0(0x6bf)](_0x529f07[_0x5d2cc0(0x3cc)],Math[_0x5d2cc0(0x4a7)](_0x34ccab['column'],_0x529f07[_0x5d2cc0(0x351)]))}:{'row':_0x529f07[_0x5d2cc0(0x1d3)],'column':_0x529f07[_0x5d2cc0(0x3cc)]};}function ql(_0x1d6a95){const _0x26c5aa=_0x5defcf;let _0x559317=_0x1d6a95['replace'](/\r\n/g,'\x0a')[_0x26c5aa(0x48c)](/\r/g,'\x0a')[_0x26c5aa(0x48c)](/\n$/g,'');return _0x559317?_0x559317[_0x26c5aa(0x24e)]('\x0a')[_0x26c5aa(0x295)](_0x5acbdb=>_0x5acbdb['split']('\x09')):[];}function Jl(_0x594c55){const _0x27ce18=_0x5defcf;return _0x594c55[_0x27ce18(0x48c)](/\t/g,'\x20')[_0x27ce18(0x48c)](/\n/g,'\x20');}function Yl(_0x395872){const _0x530882=_0x5defcf;try{var _0x4dfeb1;let _0x95da1f=_0x41cc18(_0x395872);return(_0x4dfeb1=_0x95da1f['body'])!=null&&_0x4dfeb1[_0x530882(0x41f)]?{..._0x95da1f,'id':_0x95da1f['id']||_0x2b8786(0x6),'body':_0x95da1f[_0x530882(0x291)],'documentStyle':_0x95da1f[_0x530882(0x6e1)]??{}}:null;}catch{return null;}}function Xl(_0x5ce67a,_0x147824){const _0x21fd7c=_0x5defcf;let _0x4dfa35=_0x147824['borderColor']||_0x147824[_0x21fd7c(0x191)]?{'color':_0x147824['borderColor'],'width':_0x147824[_0x21fd7c(0x191)],'dash':_0x599627[_0x21fd7c(0x37a)]}:void 0x0;return!_0x147824[_0x21fd7c(0x5c1)]&&!_0x4dfa35?_0x5ce67a:{..._0x5ce67a,'fill':_0x147824['backgroundColor']?{'type':_0x772d0f[_0x21fd7c(0x37a)],'color':_0x147824['backgroundColor']}:_0x5ce67a==null?void 0x0:_0x5ce67a['fill'],'borders':_0x4dfa35?{'top':_0x4dfa35,'right':_0x4dfa35,'bottom':_0x4dfa35,'left':_0x4dfa35}:_0x5ce67a==null?void 0x0:_0x5ce67a[_0x21fd7c(0x68f)]};}function Zl(_0x1eb049){const _0x571fe8=_0x5defcf;return _0x1eb049[_0x571fe8(0x48c)](/&/g,_0x571fe8(0x587))[_0x571fe8(0x48c)](/"/g,_0x571fe8(0x1d5))[_0x571fe8(0x48c)](/</g,_0x571fe8(0x3ef))['replace'](/>/g,_0x571fe8(0x510));}function Ql(_0x8a489a,_0x2cba10){const _0x4d5d12=_0x5defcf;return _0x8a489a[_0x4d5d12(0x1d3)]<=_0x2cba10['endRow']&&_0x8a489a[_0x4d5d12(0x573)]>=_0x2cba10[_0x4d5d12(0x1d3)]&&_0x8a489a[_0x4d5d12(0x3cc)]<=_0x2cba10[_0x4d5d12(0x351)]&&_0x8a489a[_0x4d5d12(0x351)]>=_0x2cba10['startColumn'];}function $l(_0x49da89){const _0x291d53=_0x5defcf;return(_0x49da89==null?void 0x0:_0x49da89[_0x291d53(0x521)])==='row-insert-dot'&&_0x49da89[_0x291d53(0x4b9)]!==void 0x0||(_0x49da89==null?void 0x0:_0x49da89['kind'])===_0x291d53(0x473)&&_0x49da89[_0x291d53(0x3f1)]!==void 0x0;}function eu(_0x41652a){const _0x31b919=_0x5defcf;return _0x41652a[_0x31b919(0x521)]===_0x31b919(0x6a9)?{'visible':!0x0,'hoveredTrigger':_0x41652a,'insertGuide':{'kind':_0x31b919(0x4b9),'index':_0x41652a[_0x31b919(0x4b9)]+0x1}}:{'visible':!0x0,'hoveredTrigger':_0x41652a,'insertGuide':{'kind':_0x31b919(0x3f1),'index':_0x41652a[_0x31b919(0x3f1)]+0x1}};}const tu=_0x5defcf(0x637),nu=-0x2710;function ru(_0x571da1){const _0x41b123=_0x5defcf;if(typeof _0x571da1['insertIndex']==_0x41b123(0x716)&&Number[_0x41b123(0x685)](_0x571da1[_0x41b123(0x5c0)]))return _0x571da1[_0x41b123(0x5c0)];let _0x21f7c3=_0x571da1[_0x41b123(0x521)]===_0x41b123(0x6a9)?_0x571da1['row']:_0x571da1[_0x41b123(0x3f1)];return typeof _0x21f7c3==_0x41b123(0x716)&&Number['isInteger'](_0x21f7c3)?_0x21f7c3+0x1:null;}function iu(_0x250317,_0x35c1cd,_0x29120e,_0x529616,_0x19148a,_0x3df5e0=0x6){const _0x2f2c52=_0x5defcf;if(_0x529616<0x0||_0x19148a<0x0||_0x529616>_0x35c1cd||_0x19148a>_0x29120e)return null;let _0x5eee3a=mu(_0x250317[_0x2f2c52(0x5ca)][_0x2f2c52(0x295)](_0x37be8a=>_0x37be8a[_0x2f2c52(0x58e)]),_0x35c1cd),_0x26ed86=mu(_0x250317[_0x2f2c52(0x360)][_0x2f2c52(0x295)](_0x1a846a=>_0x1a846a[_0x2f2c52(0x65e)]??0x18),_0x29120e),_0x3a3b0c=gu(_0x5eee3a,_0x529616,_0x3df5e0),_0x409d4a=gu(_0x26ed86,_0x19148a,_0x3df5e0);return!_0x3a3b0c&&!_0x409d4a?null:_0x3a3b0c&&(!_0x409d4a||_0x3a3b0c[_0x2f2c52(0x663)]<=_0x409d4a[_0x2f2c52(0x663)])?{'axis':_0x2f2c52(0x3f1),'boundaryIndex':_0x3a3b0c[_0x2f2c52(0x484)]}:{'axis':'row','boundaryIndex':_0x409d4a[_0x2f2c52(0x484)]};}function au(_0x5e7fe0,_0x1f94af,_0x58fded,_0x1609ff){const _0x14332b=_0x5defcf;let _0x4d3566=_0xdc70f2[_0x14332b(0x597)](_0x5e7fe0),_0x281cd9=Math[_0x14332b(0x6bf)](0x1,_0x1609ff['minSize']??0xc);if(_0x1609ff[_0x14332b(0x71b)]===_0x14332b(0x3f1))_0x4d3566[_0x14332b(0x5ca)]=_u(mu(_0x5e7fe0[_0x14332b(0x5ca)][_0x14332b(0x295)](_0x1f2b54=>_0x1f2b54[_0x14332b(0x58e)]),_0x1f94af),_0x1609ff['boundaryIndex'],_0x1609ff['delta'],_0x281cd9)['map'](_0x449efc=>({'width':_0x449efc}));else{let _0x2f5e4b=_u(mu(_0x5e7fe0[_0x14332b(0x360)][_0x14332b(0x295)](_0x2f083e=>_0x2f083e[_0x14332b(0x65e)]??0x18),_0x58fded),_0x1609ff['boundaryIndex'],_0x1609ff[_0x14332b(0x4ef)],_0x281cd9);_0x4d3566[_0x14332b(0x360)]=_0x4d3566[_0x14332b(0x360)][_0x14332b(0x295)]((_0x2de865,_0x5f1f11)=>({..._0x2de865,'height':_0x2f5e4b[_0x5f1f11]??_0x2de865[_0x14332b(0x65e)]??0x18}));}return _0x4d3566;}let ou=class extends _0x272548{constructor(_0x4617d1,_0x1415aa,_0x14f417,_0x9bf3f7,_0x412490,_0x14780a,_0x2781da,_0xac5732,_0xd4c31b,_0x140eff,_0x5c8100,_0xe6c125,_0xb60e7b,_0x4958f7,_0x5b56b1,_0x55dcfe){const _0x516095=_0x5defcf;super(),this[_0x516095(0x51f)]=_0x4617d1,this[_0x516095(0x4d9)]=_0x1415aa,this[_0x516095(0x599)]=_0x14f417,this['_tableSelectionService']=_0x9bf3f7,this[_0x516095(0x33c)]=_0x412490,this['_drawingStateService']=_0x14780a,this['_contextMenuService']=_0x2781da,this[_0x516095(0x710)]=_0xac5732,this[_0x516095(0x56e)]=_0xd4c31b,this[_0x516095(0x561)]=_0x140eff,this['_univerInstanceService']=_0x5c8100,this[_0x516095(0x72d)]=_0xe6c125,this[_0x516095(0x369)]=_0xb60e7b,this['_permissionService']=_0x4958f7,this['_alignmentGuideService']=_0x5b56b1,this[_0x516095(0x30a)]=_0x55dcfe,q(this,_0x516095(0x594),null),q(this,_0x516095(0x451),null),q(this,'_resizeDragListeners',null),q(this,_0x516095(0x222),null),q(this,_0x516095(0x71d),null),q(this,_0x516095(0x2db),null),q(this,_0x516095(0x426),0x0),q(this,'_activeEditorContextKey',null),q(this,_0x516095(0x68a),null),q(this,_0x516095(0x20a),null),q(this,_0x516095(0x55c),null),q(this,'_hoveredTrigger',null),q(this,_0x516095(0x410),null),q(this,_0x516095(0x389),null),q(this,_0x516095(0x482),null),q(this,_0x516095(0x1c3),null),q(this,_0x516095(0x2f5),null),q(this,_0x516095(0x6db),!0x1),q(this,'_ownsStructuralCursor',!0x1),q(this,_0x516095(0x30f),!0x1),q(this,_0x516095(0x2be),!0x1),q(this,_0x516095(0x193),null),q(this,'_wiredResizeObjectRefs',new Map()),q(this,_0x516095(0x194),_0x1d83a7=>{const _0x267ad9=_0x516095;let _0x5eeff5=this['_resolveTableClipboardTarget'](_0x1d83a7);_0x5eeff5&&_0x1d83a7[_0x267ad9(0x33d)]&&this[_0x267ad9(0x6b3)](_0x5eeff5[_0x267ad9(0x5d2)])&&(_0x1d83a7[_0x267ad9(0x33d)][_0x267ad9(0x1da)](_0x267ad9(0x5f9),Ll(_0x5eeff5[_0x267ad9(0x690)],_0x5eeff5[_0x267ad9(0x5d2)])),_0x1d83a7[_0x267ad9(0x33d)][_0x267ad9(0x1da)](_0x267ad9(0x2ba),Rl(_0x5eeff5[_0x267ad9(0x690)],_0x5eeff5[_0x267ad9(0x5d2)])),_0x1d83a7[_0x267ad9(0x574)](),_0x1d83a7[_0x267ad9(0x724)]());}),q(this,'_handleClipboardCut',async _0x59977e=>{const _0x54c5cc=_0x516095;let _0x2e1a69=this[_0x54c5cc(0x617)](_0x59977e);if(!_0x2e1a69||!_0x59977e[_0x54c5cc(0x33d)]||!this[_0x54c5cc(0x6b3)](_0x2e1a69[_0x54c5cc(0x5d2)]))return;let _0x50c468=Hl(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)]);_0x50c468&&(_0x59977e[_0x54c5cc(0x33d)]['setData'](_0x54c5cc(0x5f9),Ll(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)])),_0x59977e[_0x54c5cc(0x33d)][_0x54c5cc(0x1da)]('text/html',Rl(_0x2e1a69[_0x54c5cc(0x690)],_0x2e1a69[_0x54c5cc(0x5d2)])),_0x59977e[_0x54c5cc(0x574)](),_0x59977e[_0x54c5cc(0x724)](),await this[_0x54c5cc(0x612)](_0x2e1a69,_0x50c468));}),q(this,_0x516095(0x51d),async _0x228bb5=>{const _0x47c370=_0x516095;let _0x4da847=this['_resolveTableClipboardTarget'](_0x228bb5);if(!_0x4da847||!_0x228bb5[_0x47c370(0x33d)])return;let _0xbd19cf=_0x228bb5['clipboardData'][_0x47c370(0x20b)](_0x47c370(0x2ba)),_0x242aba=_0x228bb5['clipboardData'][_0x47c370(0x20b)](_0x47c370(0x5f9)),_0x5a7b24=_0x1f5ab2(_0x242aba)?await _0x2d1d0d(_0x242aba):null,_0x36bcdc=_0x5a7b24?null:(_0xbd19cf?Vl(_0x4da847[_0x47c370(0x690)],_0x4da847[_0x47c370(0x5d2)],_0xbd19cf):null)??Bl(_0x4da847[_0x47c370(0x690)],_0x4da847[_0x47c370(0x5d2)],_0x242aba),_0x187be9=_0x5a7b24?[_0x5a7b24]:await Iu(_0x228bb5['clipboardData'],_0xbd19cf);(_0x36bcdc||_0x187be9[_0x47c370(0x393)]!==0x0)&&(_0x228bb5[_0x47c370(0x574)](),_0x228bb5[_0x47c370(0x724)](),(!_0x36bcdc||await this['_commitClipboardPatch'](_0x4da847,_0x36bcdc))&&await this[_0x47c370(0x712)](_0x187be9,+!!_0x36bcdc));}),this[_0x516095(0x328)]();}[_0x5defcf(0x2c2)](){const _0xfb4d50=_0x5defcf;this[_0xfb4d50(0x2be)]=!0x1,this[_0xfb4d50(0x1f8)](),super['dispose']();}[_0x5defcf(0x328)](){const _0x3fce7d=_0x5defcf;var _0x3070a0,_0xc7980;document[_0x3fce7d(0x63c)](_0x3fce7d(0x706),this['_handleClipboardCopy'],!0x0),document['addEventListener']('cut',this[_0x3fce7d(0x4ae)],!0x0),document['addEventListener'](_0x3fce7d(0x44c),this[_0x3fce7d(0x51d)],!0x0),this[_0x3fce7d(0x40f)](_0x2123f0(()=>{const _0x18eed9=_0x3fce7d;document[_0x18eed9(0x688)](_0x18eed9(0x706),this[_0x18eed9(0x194)],!0x0),document[_0x18eed9(0x688)](_0x18eed9(0x2ae),this[_0x18eed9(0x4ae)],!0x0),document[_0x18eed9(0x688)]('paste',this['_handleClipboardPaste'],!0x0);})),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x56e)]['setHandler'](_0xce6d7c=>this[_0x3fce7d(0x5d6)](_0xce6d7c))),this[_0x3fce7d(0x40f)](this['_keyboardService']['setInputHandler'](_0xaf60fa=>this[_0x3fce7d(0x26b)](_0xaf60fa)));let _0x172da5=(_0x3070a0=(_0xc7980=this[_0x3fce7d(0x369)])['registerGuard'])==null?void 0x0:_0x3070a0[_0x3fce7d(0x283)](_0xc7980,_0x5b1630=>this[_0x3fce7d(0x60e)](_0x5b1630));_0x172da5&&this[_0x3fce7d(0x40f)](_0x172da5),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x56e)][_0x3fce7d(0x23c)](_0x39f36e=>this['_handleKeyboardAction'](_0x39f36e))),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x51f)]['scene']['onDblclick$'][_0x3fce7d(0x582)](_0x4a4507=>{const _0x5f5bee=_0x3fce7d;this[_0x5f5bee(0x530)](_0x4a4507);})),this[_0x3fce7d(0x40f)](this[_0x3fce7d(0x51f)][_0x3fce7d(0x618)][_0x3fce7d(0x4d8)][_0x3fce7d(0x582)](()=>{this['_scheduleActiveEditorLayoutSync']();}));let _0x171ab3=this['_drawingStateService'][_0x3fce7d(0x6c7)];if(_0x171ab3){let _0x46b82c=_0x171ab3[_0x3fce7d(0x533)](_0x3fe585=>{const _0x31b130=_0x3fce7d;var _0x1be3e9;this['_syncActiveTableFromDrawingState'](_0x3fe585);let _0xe1bd3e=this[_0x31b130(0x531)]['getSelection']();if(!_0xe1bd3e){var _0x5630ba,_0x48565a;let _0x3b17df=((_0x5630ba=(_0x48565a=this['_tableSelectionService'])[_0x31b130(0x6a1)])==null?void 0x0:_0x5630ba[_0x31b130(0x283)](_0x48565a))??!0x1;this[_0x31b130(0x68a)]&&this['_tableActivationStage']&&!this['_isLastActiveTableSelected'](_0x3fe585)&&!_0x3b17df&&this[_0x31b130(0x1f8)]();return;}if(!(((_0x1be3e9=_0x3fe585['context'])==null?void 0x0:_0x1be3e9['unitId'])===_0xe1bd3e['unitId']&&_0x3fe585[_0x31b130(0x278)][_0x31b130(0x6b4)]===_0xe1bd3e[_0x31b130(0x6b4)]&&_0x3fe585[_0x31b130(0x625)][_0x31b130(0x1cb)](_0xe1bd3e['elementId']))){if(!this[_0x31b130(0x453)](_0x3fe585,_0xe1bd3e)&&this['_isTableInteractionInProgress'](_0xe1bd3e))return;this['_resetTableInteraction']();}});this[_0x3fce7d(0x40f)]({'dispose':()=>_0x46b82c[_0x3fce7d(0x5ea)]()});}this[_0x3fce7d(0x1f2)](),this[_0x3fce7d(0x6ef)](),this[_0x3fce7d(0x59e)]();}['_initSelectionSynchronization'](){}[_0x5defcf(0x1e3)](_0x5332fe,_0x5967){const _0x3e240e=_0x5defcf;this[_0x3e240e(0x2df)](_0x5967);}[_0x5defcf(0x54d)](_0x15fa3d){}[_0x5defcf(0x673)](..._0x12fec7){return this['_handleResizePointerDown'](..._0x12fec7);}[_0x5defcf(0x580)](_0x43cf30,_0x26ba5e){const _0xc64e31=_0x5defcf;var _0xbcb889;this[_0xc64e31(0x531)][_0xc64e31(0x31e)](),(_0xbcb889=_0x43cf30['setTableSelection'])==null||_0xbcb889['call'](_0x43cf30,null);}[_0x5defcf(0x1b2)](_0x593acd,_0x11ea62,_0x2e5128,_0x23c598){const _0x23c57d=_0x5defcf;let _0xd14543=this[_0x23c57d(0x205)](_0x11ea62,_0x2e5128,_0x23c598);return iu(_0x593acd,_0x11ea62[_0x23c57d(0x58e)],_0x11ea62[_0x23c57d(0x65e)],_0xd14543['x'],_0xd14543['y'],0x6);}[_0x5defcf(0x62f)](_0x449ee7,_0x9d0fd5,_0x569e9c,_0x2f4bd5,_0x2f658b){}['_getMoveGestureScale'](){return 0x1;}[_0x5defcf(0x652)](_0x3f903b){const _0x2ebf87=_0x5defcf;this[_0x2ebf87(0x6ec)]();}[_0x5defcf(0x6c2)](_0x43f70a){const _0x5c6dfd=_0x5defcf;var _0x3cc857;return _0x43f70a[_0x5c6dfd(0x521)]===_0x5c6dfd(0x590)||!!((_0x3cc857=_0x43f70a[_0x5c6dfd(0x649)])!=null&&_0x3cc857['length']);}[_0x5defcf(0x520)](){return!0x1;}['_startSelectionHandleDrag'](_0x19db93,_0xbf4d5c,_0x460174,_0x41c4d0){return!0x1;}[_0x5defcf(0x6fb)](_0x5a72f8){}[_0x5defcf(0x5aa)](){const _0x1380a2=_0x5defcf;this[_0x1380a2(0x2be)]||(this[_0x1380a2(0x2be)]=!0x0,Promise[_0x1380a2(0x2d6)]()[_0x1380a2(0x600)](()=>{const _0x4383f0=_0x1380a2;this[_0x4383f0(0x2be)]&&(this[_0x4383f0(0x2be)]=!0x1,this['_syncActiveEditorLayout']());}));}[_0x5defcf(0x2d5)](){const _0xa3bf9a=_0x5defcf;var _0x42bee8;let _0x2e7fac=this[_0xa3bf9a(0x33c)][_0xa3bf9a(0x21a)](),_0x549ad7=_0x2e7fac==null?void 0x0:_0x2e7fac[_0xa3bf9a(0x278)];if(!_0x2e7fac||!_0x549ad7||!this[_0xa3bf9a(0x6b9)](_0x549ad7))return;let _0x112b2f=this[_0xa3bf9a(0x46b)](_0x549ad7);if(!_0x112b2f)return;let {object:_0x5797f9,table:_0x1d70bf}=_0x112b2f,_0x2ebad6=_0x9eb1b0(((_0x42bee8=_0x5797f9[_0xa3bf9a(0x681)])==null?void 0x0:_0x42bee8['call'](_0x5797f9))??_0x1d70bf),_0x33f146=_0x2ebad6[_0xa3bf9a(0x405)][_0xa3bf9a(0x461)](_0x10adc3=>_0x10adc3[_0xa3bf9a(0x4b9)]===_0x549ad7[_0xa3bf9a(0x4b9)]&&_0x10adc3[_0xa3bf9a(0x3f1)]===_0x549ad7[_0xa3bf9a(0x3f1)]&&!_0x10adc3[_0xa3bf9a(0x3f5)]);if(!_0x33f146)return;let _0x127059=this[_0xa3bf9a(0x399)](_0x5797f9,_0x2ebad6,_0x33f146,_0x2e7fac['documentData']);_0x127059&&this[_0xa3bf9a(0x33c)][_0xa3bf9a(0x2c0)]({'layout':_0x127059});}['_syncActiveTableFromDrawingState'](_0x4a8539){const _0x2e4341=_0x5defcf;if(!_0x4a8539[_0x2e4341(0x278)]||_0x4a8539[_0x2e4341(0x625)][_0x2e4341(0x393)]!==0x1)return;let [_0x4f68ab]=_0x4a8539[_0x2e4341(0x625)],_0x5c9278=this[_0x2e4341(0x51f)][_0x2e4341(0x667)][_0x2e4341(0x2f7)](_0x1a21b4(_0x4a8539[_0x2e4341(0x278)][_0x2e4341(0x379)],_0x4a8539['context'][_0x2e4341(0x6b4)],_0x4f68ab));if(!_0x5c9278)return;let _0x439ddf=this[_0x2e4341(0x470)](_0x4a8539['context'][_0x2e4341(0x379)],_0x4a8539[_0x2e4341(0x278)][_0x2e4341(0x6b4)],_0x4f68ab);if(!_0x439ddf||_0x439ddf[_0x2e4341(0x571)][_0x2e4341(0x495)]!==_0x16fba9[_0x2e4341(0x3f9)])return;let _0x408ce8=this[_0x2e4341(0x531)][_0x2e4341(0x1cf)]();if((_0x408ce8==null?void 0x0:_0x408ce8[_0x2e4341(0x379)])===_0x439ddf[_0x2e4341(0x379)]&&_0x408ce8[_0x2e4341(0x6b4)]===_0x439ddf[_0x2e4341(0x6b4)]&&_0x408ce8[_0x2e4341(0x60f)]===_0x439ddf[_0x2e4341(0x1ba)]){this[_0x2e4341(0x2e7)](_0x439ddf,_0x5c9278,_0x408ce8),this['_syncActivationStageFromSelection'](_0x408ce8);return;}(_0x408ce8==null?void 0x0:_0x408ce8[_0x2e4341(0x521)])===_0x2e4341(0x690)&&this[_0x2e4341(0x531)][_0x2e4341(0x31e)](),this[_0x2e4341(0x68a)]={'unitId':_0x439ddf['unitId'],'subUnitId':_0x439ddf['subUnitId'],'elementId':_0x439ddf[_0x2e4341(0x1ba)]},this[_0x2e4341(0x1e3)](_0x439ddf,_0x5c9278);}[_0x5defcf(0x1b8)](_0xa9d629){const _0xb987d4=_0x5defcf;var _0x37dd15;let _0x115de3=this['_lastActiveTableContext'];return!!_0x115de3&&((_0x37dd15=_0xa9d629[_0xb987d4(0x278)])==null?void 0x0:_0x37dd15[_0xb987d4(0x379)])===_0x115de3[_0xb987d4(0x379)]&&_0xa9d629['context'][_0xb987d4(0x6b4)]===_0x115de3['subUnitId']&&_0xa9d629[_0xb987d4(0x625)]['includes'](_0x115de3[_0xb987d4(0x60f)]);}[_0x5defcf(0x453)](_0x2f14e9,_0x44a474){const _0x5885bf=_0x5defcf;if(_0x2f14e9[_0x5885bf(0x625)]['length']===0x0)return!0x0;if(!_0x2f14e9['context'])return!0x1;let _0x392584=this['_renderContext'][_0x5885bf(0x667)][_0x5885bf(0x2f7)](_0x1a21b4(_0x44a474[_0x5885bf(0x379)],_0x44a474[_0x5885bf(0x6b4)],_0x44a474[_0x5885bf(0x60f)]));return _0x2f14e9['selectedIds']['some'](_0x448c9e=>{const _0x1d925a=_0x5885bf;if(_0x448c9e===_0x44a474[_0x1d925a(0x60f)])return!0x1;let _0x3f4894=this['_renderContext'][_0x1d925a(0x667)][_0x1d925a(0x2f7)](_0x1a21b4(_0x2f14e9[_0x1d925a(0x278)]['unitId'],_0x2f14e9['context'][_0x1d925a(0x6b4)],_0x448c9e));return!!_0x3f4894&&_0x3f4894!==_0x392584;});}[_0x5defcf(0x470)](_0x442c88,_0x6e0580,_0x105761){const _0x24c34d=_0x5defcf;var _0x284897,_0x1c643f;let _0x214f8a=(_0x284897=this['_hitTestService'])==null?void 0x0:_0x284897[_0x24c34d(0x2d1)];return(_0x214f8a==null||(_0x1c643f=_0x214f8a[_0x24c34d(0x283)](this[_0x24c34d(0x4d9)]))==null?void 0x0:_0x1c643f[_0x24c34d(0x461)](_0x39cb35=>_0x39cb35[_0x24c34d(0x379)]===_0x442c88&&_0x39cb35[_0x24c34d(0x6b4)]===_0x6e0580&&_0x39cb35[_0x24c34d(0x1ba)]===_0x105761))??null;}[_0x5defcf(0x3d7)](_0x47748a){const _0x8036c8=_0x5defcf;var _0x35b286;let _0x50807b=(_0x35b286=this['_hitTestService'])==null?void 0x0:_0x35b286[_0x8036c8(0x2d1)],_0x13324a=(_0x50807b==null?void 0x0:_0x50807b['call'](this[_0x8036c8(0x4d9)]))??[],_0x4d90a4=new _0x33f54f(_0x47748a['x'],_0x47748a['y']);for(let _0x597e18=_0x13324a[_0x8036c8(0x393)]-0x1;_0x597e18>=0x0;_0x597e18--){let _0x42a029=_0x13324a[_0x597e18];if(!_0x42a029||_0x42a029[_0x8036c8(0x379)]!==this['_renderContext']['unitId']||_0x42a029[_0x8036c8(0x571)]['type']!==_0x16fba9['Table']||_0x42a029[_0x8036c8(0x34b)]||!this[_0x8036c8(0x599)]['getTable'](_0x42a029['unitId'],_0x42a029[_0x8036c8(0x571)][_0x8036c8(0x6a7)]))continue;let _0x3e0f9f=this[_0x8036c8(0x51f)][_0x8036c8(0x667)][_0x8036c8(0x2f7)](_0x1a21b4(_0x42a029[_0x8036c8(0x379)],_0x42a029[_0x8036c8(0x6b4)],_0x42a029[_0x8036c8(0x1ba)]));if(!_0x3e0f9f||_0x3e0f9f[_0x8036c8(0x2a5)])continue;let _0x556500=this[_0x8036c8(0x3f3)](_0x3e0f9f,_0x4d90a4);if(_0x556500)return{'drawing':_0x42a029,'object':_0x3e0f9f,'trigger':_0x556500};}return null;}[_0x5defcf(0x3f3)](_0x54edaf,_0xd4717c){const _0x3d7279=_0x5defcf;var _0xb11989;let _0x3137ad=(_0xb11989=_0x54edaf[_0x3d7279(0x23b)])==null?void 0x0:_0xb11989['call'](_0x54edaf,_0xd4717c);return $l(_0x3137ad)?_0x3137ad:null;}[_0x5defcf(0x59e)](){const _0x49f886=_0x5defcf;let _0x526c18=this[_0x49f886(0x51f)]['scene'];_0x526c18[_0x49f886(0x472)]&&this[_0x49f886(0x40f)](_0x526c18['onPointerDown$'][_0x49f886(0x582)]({'priority':nu,'next':([_0x337d74,_0x1645ce])=>{this['_handleActiveTableControlPointerDown'](_0x337d74,_0x1645ce);}}));let _0x558fef=this[_0x49f886(0x4d9)][_0x49f886(0x472)];if(!_0x558fef)return;let _0x3f2508=_0x558fef[_0x49f886(0x533)](_0xa708e9=>this[_0x49f886(0x1b5)](_0xa708e9));this[_0x49f886(0x40f)]({'dispose':()=>_0x3f2508[_0x49f886(0x5ea)]()});}[_0x5defcf(0x2af)](_0x395e60,_0x34ee16){const _0x3654cc=_0x5defcf;let _0x501bfe=_0x395e60[_0x3654cc(0x52d)]??0x0;if(_0x501bfe!==0x0&&_0x501bfe!==0x2)return!0x1;let _0x755d96=this[_0x3654cc(0x2c8)](_0x395e60),_0x5587b8=this[_0x3654cc(0x4dd)](_0x755d96['x'],_0x755d96['y']),_0x1632c0=this[_0x3654cc(0x624)]();if(_0x1632c0&&this[_0x3654cc(0x3e0)](_0x1632c0['drawing'],_0x1632c0[_0x3654cc(0x583)],_0x395e60,_0x34ee16))return!0x0;if(_0x501bfe===0x0&&!this[_0x3654cc(0x513)]()){let _0x5697e1=this[_0x3654cc(0x3d7)](_0x5587b8);if(_0x5697e1){var _0x125083,_0x3e8578;return _0x34ee16[_0x3654cc(0x724)](),_0x34ee16[_0x3654cc(0x265)]=!0x0,(_0x125083=_0x395e60[_0x3654cc(0x724)])==null||_0x125083[_0x3654cc(0x283)](_0x395e60),(_0x3e8578=_0x395e60[_0x3654cc(0x574)])==null||_0x3e8578[_0x3654cc(0x283)](_0x395e60),this[_0x3654cc(0x58f)](),this[_0x3654cc(0x33c)][_0x3654cc(0x1e7)](),this[_0x3654cc(0x68a)]={'unitId':_0x5697e1[_0x3654cc(0x42f)][_0x3654cc(0x379)],'subUnitId':_0x5697e1[_0x3654cc(0x42f)]['subUnitId'],'elementId':_0x5697e1['drawing'][_0x3654cc(0x1ba)]},this['_handleStructuralInsertTrigger'](_0x5697e1[_0x3654cc(0x42f)],_0x5697e1['object'],_0x5697e1['trigger'],_0x5587b8),!0x0;}}let _0x985422=this[_0x3654cc(0x624)]();if(!_0x985422||_0x985422[_0x3654cc(0x42f)]['element'][_0x3654cc(0x495)]!==_0x16fba9[_0x3654cc(0x3f9)])return!0x1;let {drawing:_0x482c0c,object:_0x7b111e}=_0x985422,_0x5aef57=_0x1a21b4(_0x482c0c[_0x3654cc(0x379)],_0x482c0c[_0x3654cc(0x6b4)],_0x482c0c['drawingId']),_0x2d9a16=this[_0x3654cc(0x5b9)](_0x482c0c,_0x7b111e,_0x5587b8['x'],_0x5587b8['y']),_0x470883=_0x2d9a16?null:this['_resolveCellHit'](_0x482c0c,_0x5aef57,_0x5587b8['x'],_0x5587b8['y']);if(!_0x2d9a16&&!_0x470883)return!0x1;if(!this[_0x3654cc(0x308)](_0x482c0c)){var _0x1f14be,_0x27a12c;return this['_drawingStateService'][_0x3654cc(0x72b)]({'unitId':_0x482c0c[_0x3654cc(0x379)],'subUnitId':_0x482c0c[_0x3654cc(0x6b4)]},[_0x482c0c['drawingId']],_0x482c0c[_0x3654cc(0x1ba)]),_0x34ee16[_0x3654cc(0x724)](),_0x34ee16[_0x3654cc(0x265)]=!0x0,(_0x1f14be=_0x395e60[_0x3654cc(0x724)])==null||_0x1f14be[_0x3654cc(0x283)](_0x395e60),(_0x27a12c=_0x395e60[_0x3654cc(0x574)])==null||_0x27a12c['call'](_0x395e60),this[_0x3654cc(0x58f)](),this[_0x3654cc(0x33c)][_0x3654cc(0x1e7)](),this[_0x3654cc(0x68a)]={'unitId':_0x482c0c[_0x3654cc(0x379)],'subUnitId':_0x482c0c[_0x3654cc(0x6b4)],'elementId':_0x482c0c['drawingId']},this['_activateTableObject'](_0x7b111e),!0x0;}return this[_0x3654cc(0x728)](_0x482c0c,_0x5aef57,_0x7b111e,this['_createViewportPointerEvent'](_0x395e60,_0x755d96),_0x34ee16,_0x2d9a16),!0x0;}['_handleHitTestPointerDown'](_0x1068ca){const _0x43821a=_0x5defcf;let _0x79f04e=_0x1068ca[_0x43821a(0x47a)]['button']??0x0;if(_0x79f04e!==0x0&&_0x79f04e!==0x2)return;let _0x14fb58=_0x1068ca[_0x43821a(0x47a)];_0x14fb58[_0x43821a(0x1b4)]===void 0x0&&(_0x14fb58[_0x43821a(0x1b4)]=_0x1068ca[_0x43821a(0x1b4)]),_0x14fb58[_0x43821a(0x5cc)]===void 0x0&&(_0x14fb58['offsetY']=_0x1068ca[_0x43821a(0x5cc)]);let _0x194893=this[_0x43821a(0x51f)][_0x43821a(0x667)]['getObject'](_0x1068ca[_0x43821a(0x62b)]);_0x194893&&(_0x79f04e!==0x2||_0x1068ca['drawing']['element']['type']!==_0x16fba9[_0x43821a(0x3f9)]||this['_isTableTextEditing']()||this['_handleCellContextMenuPointerDown'](_0x1068ca['drawing'],_0x1068ca[_0x43821a(0x62b)],_0x194893,_0x14fb58,{'stopPropagation':()=>{const _0x2aa09c=_0x43821a;var _0x5249fd;return(_0x5249fd=_0x14fb58['stopPropagation'])==null?void 0x0:_0x5249fd[_0x2aa09c(0x283)](_0x14fb58);},'skipNextObservers':!0x1}));}['_initResizeInteraction'](){const _0x4fdc1f=_0x5defcf;let _0x489c11=this[_0x4fdc1f(0x51f)][_0x4fdc1f(0x667)];if(_0x489c11[_0x4fdc1f(0x411)]&&this[_0x4fdc1f(0x40f)](_0x489c11[_0x4fdc1f(0x411)][_0x4fdc1f(0x582)]({'priority':nu,'next':([_0x44681a])=>{const _0xfa69a9=_0x4fdc1f;this[_0xfa69a9(0x6d3)](_0x44681a),this[_0xfa69a9(0x5b7)](_0x44681a);}})),_0x489c11[_0x4fdc1f(0x321)]){let _0x58dc3f=_0x489c11[_0x4fdc1f(0x321)][_0x4fdc1f(0x533)](()=>this[_0x4fdc1f(0x53e)]());this['disposeWithMe']({'dispose':()=>_0x58dc3f[_0x4fdc1f(0x5ea)]()});}this[_0x4fdc1f(0x53e)]();}[_0x5defcf(0x53e)](){const _0x11abd8=_0x5defcf;this['_resizeWireScheduled']||(this['_resizeWireScheduled']=!0x0,Promise[_0x11abd8(0x2d6)]()[_0x11abd8(0x600)](()=>{const _0x510d35=_0x11abd8;this[_0x510d35(0x30f)]=!0x1,this[_0x510d35(0x2a6)]();}));}[_0x5defcf(0x2a6)](){const _0x35fb34=_0x5defcf;let _0x49dd58=this[_0x35fb34(0x4d9)]['getOrderedTopLevelDrawings'];((_0x49dd58==null?void 0x0:_0x49dd58[_0x35fb34(0x283)](this[_0x35fb34(0x4d9)]))??[])[_0x35fb34(0x4df)](_0x467855=>{const _0x330918=_0x35fb34;if(_0x467855['element'][_0x330918(0x495)]!==_0x16fba9[_0x330918(0x3f9)])return;let _0x1dd80c=_0x1a21b4(_0x467855[_0x330918(0x379)],_0x467855[_0x330918(0x6b4)],_0x467855['drawingId']),_0x548876=this[_0x330918(0x51f)][_0x330918(0x667)][_0x330918(0x2f7)](_0x1dd80c);if(!_0x548876||_0x548876[_0x330918(0x2a5)]||(this[_0x330918(0x54d)](_0x548876),this[_0x330918(0x2e7)](_0x467855,_0x548876),this[_0x330918(0x2e5)]['get'](_0x1dd80c)===_0x548876))return;let _0x5353bf=_0x548876[_0x330918(0x472)]['subscribeEvent']({'priority':nu,'next':([_0x130656,_0x1f95fa])=>{const _0x291c92=_0x330918;this[_0x291c92(0x728)](_0x467855,_0x1dd80c,_0x548876,_0x130656,_0x1f95fa);}});this['disposeWithMe'](_0x5353bf),this['_wiredResizeObjectRefs'][_0x330918(0x3c0)](_0x1dd80c,_0x548876);});}[_0x5defcf(0x530)](_0x504442){const _0x95abb=_0x5defcf;let _0x29c175=this[_0x95abb(0x4d9)]['hitTest'](_0x504442[_0x95abb(0x1b4)],_0x504442[_0x95abb(0x5cc)]);if(!_0x29c175)return;let _0x22522c=this['_resolveScenePoint'](_0x504442[_0x95abb(0x1b4)],_0x504442[_0x95abb(0x5cc)]);this['_handleDoubleClick']({'drawing':_0x29c175[_0x95abb(0x42f)],'oKey':_0x29c175['oKey'],'offsetX':_0x22522c['x'],'offsetY':_0x22522c['y'],'nativeEvent':_0x504442});}[_0x5defcf(0x4dd)](_0x18a162,_0x56a373){const _0x2af452=_0x5defcf;var _0x47001a,_0xbbee76,_0x55a4c7;let _0x3be69d=new _0x33f54f(_0x18a162,_0x56a373),_0x39f219=this['_renderContext'][_0x2af452(0x667)],_0x32c314=((_0x47001a=_0x39f219[_0x2af452(0x490)])==null?void 0x0:_0x47001a[_0x2af452(0x283)](_0x39f219,_0x3be69d))??((_0xbbee76=_0x39f219[_0x2af452(0x5d9)])==null?void 0x0:_0xbbee76[_0x2af452(0x283)](_0x39f219)[0x0]),_0x687bf9=(_0x32c314==null||(_0x55a4c7=_0x32c314[_0x2af452(0x306)])==null?void 0x0:_0x55a4c7[_0x2af452(0x283)](_0x32c314,_0x3be69d))??_0x3be69d;return{'x':_0x687bf9['x'],'y':_0x687bf9['y']};}[_0x5defcf(0x6d3)](_0x1d5166){const _0x17fe88=_0x5defcf;if(this[_0x17fe88(0x451)])return;if(this[_0x17fe88(0x513)]()){this[_0x17fe88(0x41c)]();return;}let _0x45db83=this[_0x17fe88(0x4d9)][_0x17fe88(0x6a8)](_0x1d5166[_0x17fe88(0x1b4)],_0x1d5166[_0x17fe88(0x5cc)]);if(!_0x45db83||_0x45db83[_0x17fe88(0x42f)][_0x17fe88(0x571)][_0x17fe88(0x495)]!==_0x16fba9['Table']){this['_resetResizeCursor']();return;}if(!this[_0x17fe88(0x308)](_0x45db83[_0x17fe88(0x42f)])){this[_0x17fe88(0x41c)]();return;}let _0x4a39d2=this['_renderContext']['scene']['getObject'](_0x45db83[_0x17fe88(0x62b)]);if(!_0x4a39d2){this[_0x17fe88(0x41c)]();return;}let _0x1c1eac=this[_0x17fe88(0x4dd)](_0x1d5166[_0x17fe88(0x1b4)],_0x1d5166[_0x17fe88(0x5cc)]),_0x4d93fb=this[_0x17fe88(0x202)](_0x45db83[_0x17fe88(0x42f)],_0x4a39d2,_0x1c1eac['x'],_0x1c1eac['y']);if(!_0x4d93fb){this[_0x17fe88(0x41c)]();return;}this[_0x17fe88(0x523)](_0x4d93fb[_0x17fe88(0x2dc)][_0x17fe88(0x71b)]);}['_handleTablePointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0x5dccca){const _0x305097=_0x5defcf;let _0x111dee=_0x37bf55['button']??0x0;if(this[_0x305097(0x3e0)](_0x29bf51,_0x82b541,_0x37bf55,_0x4fb025)||this['_handleTableControlPointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0x5dccca)||this[_0x305097(0x320)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||_0x111dee===0x2&&this[_0x305097(0x65d)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||this['_handleDirectResizePointerDown'](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025)||_0x111dee!==0x0||this['_isTableTextEditing']()||!this[_0x305097(0x308)](_0x29bf51))return;let _0x5c70dd=this[_0x305097(0x4dd)](_0x37bf55[_0x305097(0x1b4)],_0x37bf55[_0x305097(0x5cc)]),_0xe7b74f=this[_0x305097(0x5bc)](_0x29bf51,_0x28dd9c,_0x5c70dd['x'],_0x5c70dd['y']);_0xe7b74f&&this[_0x305097(0x564)](_0x29bf51,_0x28dd9c,_0x82b541,_0x37bf55,_0x4fb025,_0xe7b74f);}[_0x5defcf(0x564)](_0x492b74,_0x4e797c,_0x32b34d,_0x2db71a,_0x2e4f45,_0x55ab20){const _0x4b7a40=_0x5defcf;var _0x32fb71,_0x5575c3;if(this[_0x4b7a40(0x20a)]==='table'){this[_0x4b7a40(0x474)](_0x492b74,_0x32b34d,_0x2db71a,_0x2e4f45,_0x55ab20);return;}_0x2e4f45[_0x4b7a40(0x724)](),_0x2e4f45['skipNextObservers']=!0x0,(_0x32fb71=_0x2db71a[_0x4b7a40(0x724)])==null||_0x32fb71[_0x4b7a40(0x283)](_0x2db71a),(_0x5575c3=_0x2db71a[_0x4b7a40(0x574)])==null||_0x5575c3['call'](_0x2db71a),this['_hideContextMenu'](),this['_editorUIService']['complete'](),this[_0x4b7a40(0x57f)](_0x492b74,_0x32b34d,_0x55ab20),this['_rangeDragContext']={'drawing':_0x492b74,'objectKey':_0x4e797c,'object':_0x32b34d,'table':_0x55ab20[_0x4b7a40(0x690)],'anchor':{'row':_0x55ab20['row'],'column':_0x55ab20['column']},'current':{'row':_0x55ab20['row'],'column':_0x55ab20[_0x4b7a40(0x3f1)]}},this['_bindRangeDragWindowEvents']();}[_0x5defcf(0x4cc)](_0x28f1e5,_0x5d40e2,_0x538ce9,_0x1b98c2,_0x53c491){const _0x280794=_0x5defcf;var _0x1b730c,_0x12263a;if((_0x1b98c2[_0x280794(0x52d)]??0x0)!==0x0||this[_0x280794(0x513)]())return!0x1;let _0x2cfd92=_0x28f1e5[_0x280794(0x571)][_0x280794(0x495)]===_0x16fba9[_0x280794(0x3f9)]?this[_0x280794(0x599)][_0x280794(0x2aa)](_0x28f1e5[_0x280794(0x379)],_0x28f1e5[_0x280794(0x571)]['tableId']):null;return _0x2cfd92?(_0x53c491['stopPropagation'](),_0x53c491[_0x280794(0x265)]=!0x0,(_0x1b730c=_0x1b98c2[_0x280794(0x574)])==null||_0x1b730c['call'](_0x1b98c2),(_0x12263a=_0x1b98c2[_0x280794(0x724)])==null||_0x12263a[_0x280794(0x283)](_0x1b98c2),this[_0x280794(0x58f)](),this[_0x280794(0x222)]={'drawing':_0x28f1e5,'objectKey':_0x5d40e2[_0x280794(0x62b)],'object':_0x5d40e2,'table':_0x2cfd92,'anchor':_0x538ce9,'current':_0x538ce9},this[_0x280794(0x376)](),!0x0):!0x1;}[_0x5defcf(0x320)](_0x98070f,_0x27c7ab,_0x454e4d,_0x340c77,_0x1f2411){const _0x109b8f=_0x5defcf;var _0x562c84,_0xca1979;if((_0x340c77[_0x109b8f(0x52d)]??0x0)!==0x0||!this[_0x109b8f(0x513)]()||!this[_0x109b8f(0x308)](_0x98070f)||_0x98070f['element'][_0x109b8f(0x495)]!==_0x16fba9[_0x109b8f(0x3f9)])return!0x1;let _0x1d9f33=this['_resolveScenePoint'](_0x340c77[_0x109b8f(0x1b4)],_0x340c77[_0x109b8f(0x5cc)]),_0x339df9=this[_0x109b8f(0x5bc)](_0x98070f,_0x27c7ab,_0x1d9f33['x'],_0x1d9f33['y']);if(!_0x339df9)return!0x1;_0x1f2411[_0x109b8f(0x724)](),_0x1f2411['skipNextObservers']=!0x0,this[_0x109b8f(0x58f)]();let _0x1a0bce=this[_0x109b8f(0x531)][_0x109b8f(0x1cf)]();return(_0x1a0bce==null?void 0x0:_0x1a0bce[_0x109b8f(0x521)])==='text'&&((_0x562c84=_0x1a0bce['focus'])==null?void 0x0:_0x562c84['row'])===_0x339df9['row']&&_0x1a0bce[_0x109b8f(0x61b)][_0x109b8f(0x3f1)]===_0x339df9[_0x109b8f(0x3f1)]||((_0xca1979=_0x454e4d[_0x109b8f(0x3cd)])==null||_0xca1979[_0x109b8f(0x283)](_0x454e4d,null),this[_0x109b8f(0x51c)](_0x98070f,_0x339df9,{'handoffCurrent':!0x0}),!0x0);}[_0x5defcf(0x635)](_0x22b0cb,_0x525b49,_0x3c72a8,_0x5c8cff,_0x4f565f,_0x64e372){const _0x2f26cd=_0x5defcf;var _0x25fa8e,_0xda2c;if((_0x5c8cff[_0x2f26cd(0x52d)]??0x0)!==0x0||this[_0x2f26cd(0x513)]()||_0x22b0cb['element'][_0x2f26cd(0x495)]!==_0x16fba9['Table'])return!0x1;let _0x313fc8=this[_0x2f26cd(0x700)](_0x5c8cff),_0xcf3266=_0x64e372??this[_0x2f26cd(0x5b9)](_0x22b0cb,_0x3c72a8,_0x313fc8['x'],_0x313fc8['y']);if(!_0xcf3266)return!0x1;if($l(_0xcf3266)){var _0x48bdff,_0x107e2c;return _0x4f565f[_0x2f26cd(0x724)](),_0x4f565f[_0x2f26cd(0x265)]=!0x0,(_0x48bdff=_0x5c8cff['stopPropagation'])==null||_0x48bdff[_0x2f26cd(0x283)](_0x5c8cff),(_0x107e2c=_0x5c8cff[_0x2f26cd(0x574)])==null||_0x107e2c['call'](_0x5c8cff),this['_hideContextMenu'](),this['_editorUIService'][_0x2f26cd(0x1e7)](),this[_0x2f26cd(0x68a)]={'unitId':_0x22b0cb[_0x2f26cd(0x379)],'subUnitId':_0x22b0cb[_0x2f26cd(0x6b4)],'elementId':_0x22b0cb[_0x2f26cd(0x1ba)]},this[_0x2f26cd(0x55a)](_0x22b0cb,_0x3c72a8,_0xcf3266,_0x313fc8);}return this['_isTableDrawingActive'](_0x22b0cb)?(_0x4f565f[_0x2f26cd(0x724)](),_0x4f565f['skipNextObservers']=!0x0,(_0x25fa8e=_0x5c8cff[_0x2f26cd(0x724)])==null||_0x25fa8e[_0x2f26cd(0x283)](_0x5c8cff),(_0xda2c=_0x5c8cff[_0x2f26cd(0x574)])==null||_0xda2c['call'](_0x5c8cff),this['_hideContextMenu'](),this[_0x2f26cd(0x33c)][_0x2f26cd(0x1e7)](),_0xcf3266[_0x2f26cd(0x521)]===_0x2f26cd(0x21f)||_0xcf3266[_0x2f26cd(0x521)]==='column-header'?(this[_0x2f26cd(0x5e6)](_0x22b0cb,_0x3c72a8,_0xcf3266,_0x313fc8),!0x0):_0xcf3266[_0x2f26cd(0x521)]===_0x2f26cd(0x3c8)&&(this[_0x2f26cd(0x3e8)](_0x22b0cb,_0x3c72a8,_0x5c8cff),!0x0)):!0x1;}[_0x5defcf(0x65d)](_0x14f108,_0x5eb144,_0x4ec353,_0x499cad,_0x222f2f){const _0x35fea6=_0x5defcf;if(!this['_isTableDrawingActive'](_0x14f108)||_0x14f108[_0x35fea6(0x571)]['type']!==_0x16fba9[_0x35fea6(0x3f9)])return!0x1;let _0x21deb4=this[_0x35fea6(0x700)](_0x499cad),_0x184b26=this[_0x35fea6(0x5bc)](_0x14f108,_0x5eb144,_0x21deb4['x'],_0x21deb4['y']);return _0x184b26?(_0x222f2f[_0x35fea6(0x724)](),_0x222f2f[_0x35fea6(0x265)]=!0x0,this[_0x35fea6(0x58f)](),this[_0x35fea6(0x33c)][_0x35fea6(0x1e7)](),this[_0x35fea6(0x57f)](_0x14f108,_0x4ec353,_0x184b26),this[_0x35fea6(0x19a)](_0x499cad,'slide-table.contextMenu.cell'),!0x0):!0x1;}[_0x5defcf(0x3dc)](_0x1c64ad,_0x5aee5b,_0x59a819,_0x172c02,_0x4ab57f){const _0xc4a3e9=_0x5defcf;var _0x5605eb;if((_0x172c02[_0xc4a3e9(0x52d)]??0x0)!==0x0||this[_0xc4a3e9(0x513)]()||!this[_0xc4a3e9(0x308)](_0x1c64ad))return!0x1;let _0x4cf5ae=this[_0xc4a3e9(0x4dd)](_0x172c02['offsetX'],_0x172c02[_0xc4a3e9(0x5cc)]),_0x5c9ec5=this['_resolveResizeHit'](_0x1c64ad,_0x59a819,_0x4cf5ae['x'],_0x4cf5ae['y']);if(!_0x5c9ec5||_0x1c64ad['element'][_0xc4a3e9(0x495)]!==_0x16fba9['Table'])return!0x1;_0x4ab57f[_0xc4a3e9(0x724)](),_0x4ab57f[_0xc4a3e9(0x265)]=!0x0,this[_0xc4a3e9(0x58f)](),this[_0xc4a3e9(0x33c)][_0xc4a3e9(0x1e7)](),this[_0xc4a3e9(0x580)](_0x59a819,_0x5c9ec5),(_0x5605eb=this[_0xc4a3e9(0x62d)])==null||_0x5605eb['dispose'](),this['_resizeDragContext']={'unitId':_0x1c64ad[_0xc4a3e9(0x379)],'tableId':_0x1c64ad[_0xc4a3e9(0x571)]['tableId'],'object':_0x59a819,'table':_0x5c9ec5[_0xc4a3e9(0x690)],'handle':_0x5c9ec5[_0xc4a3e9(0x2dc)],'startPoint':_0x5c9ec5['point'],'pendingTable':_0x5c9ec5[_0xc4a3e9(0x690)]},this[_0xc4a3e9(0x523)](_0x5c9ec5[_0xc4a3e9(0x2dc)]['axis']);let _0xecc2bf=this[_0xc4a3e9(0x51f)]['scene'],_0x267afa=new _0x2fec4f();return this[_0xc4a3e9(0x62d)]=_0x267afa,_0xecc2bf[_0xc4a3e9(0x65b)](),_0x267afa['add'](_0x2123f0(()=>{const _0x6a3418=_0xc4a3e9;var _0x3c31ff,_0x50537c,_0x1aeb52;_0xecc2bf[_0x6a3418(0x61f)](),this[_0x6a3418(0x6fb)](_0x59a819),(_0x3c31ff=this[_0x6a3418(0x451)])==null||(_0x1aeb52=(_0x50537c=_0x3c31ff[_0x6a3418(0x583)])[_0x6a3418(0x4cd)])==null||_0x1aeb52[_0x6a3418(0x283)](_0x50537c,null),this['_resizeDragContext']=null,this['_resetResizeCursor']();})),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf[_0xc4a3e9(0x411)][_0xc4a3e9(0x582)](_0x1dd519=>this[_0xc4a3e9(0x500)](_0x1dd519))),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf[_0xc4a3e9(0x224)][_0xc4a3e9(0x582)](_0x221738=>{const _0x35466c=_0xc4a3e9;this[_0x35466c(0x3f0)](_0x221738),_0x267afa[_0x35466c(0x2c2)]();})),_0x267afa[_0xc4a3e9(0x378)](_0xecc2bf['onPointerCancel$'][_0xc4a3e9(0x582)](()=>_0x267afa[_0xc4a3e9(0x2c2)]())),!0x0;}[_0x5defcf(0x202)](_0x222cd0,_0x2054e7,_0x17fdfb,_0x5dbcda){const _0x3b22b9=_0x5defcf;var _0x48c98e;if(_0x222cd0[_0x3b22b9(0x379)]!==this['_renderContext'][_0x3b22b9(0x379)]||_0x222cd0[_0x3b22b9(0x571)][_0x3b22b9(0x495)]!==_0x16fba9[_0x3b22b9(0x3f9)]||!this[_0x3b22b9(0x308)](_0x222cd0)||_0x222cd0[_0x3b22b9(0x34b)]||_0x2054e7[_0x3b22b9(0x2a5)])return null;let _0x3231b1=this[_0x3b22b9(0x599)][_0x3b22b9(0x2aa)](_0x222cd0[_0x3b22b9(0x379)],_0x222cd0[_0x3b22b9(0x571)][_0x3b22b9(0x6a7)]);if(!_0x3231b1)return null;let _0x55ad84=((_0x48c98e=_0x2054e7[_0x3b22b9(0x681)])==null?void 0x0:_0x48c98e[_0x3b22b9(0x283)](_0x2054e7))??_0x3231b1,_0x16e577=this[_0x3b22b9(0x205)](_0x2054e7,_0x17fdfb,_0x5dbcda),_0x3790b6=this[_0x3b22b9(0x1b2)](_0x55ad84,_0x2054e7,_0x17fdfb,_0x5dbcda);return _0x3790b6?{'table':_0x55ad84,'handle':_0x3790b6,'point':_0x16e577}:null;}[_0x5defcf(0x205)](_0x46ab09,_0x2f1017,_0x242366){const _0x2fca07=_0x5defcf;let _0xbf4b95=_0x46ab09[_0x2fca07(0x387)](new _0x33f54f(_0x2f1017,_0x242366));return{'x':_0xbf4b95['x']+_0x46ab09['width']/0x2,'y':_0xbf4b95['y']+_0x46ab09[_0x2fca07(0x65e)]/0x2};}[_0x5defcf(0x5b9)](_0xc53ac5,_0x588064,_0x58f5f7,_0x1ca510){const _0x303400=_0x5defcf;if(_0xc53ac5[_0x303400(0x571)][_0x303400(0x495)]!==_0x16fba9['Table'])return null;let _0x3af061=this[_0x303400(0x599)][_0x303400(0x2aa)](_0xc53ac5['unitId'],_0xc53ac5['element'][_0x303400(0x6a7)]);if(!_0x3af061)return null;let _0x2e6a34=this[_0x303400(0x205)](_0x588064,_0x58f5f7,_0x1ca510),_0x1a69e4=this[_0x303400(0x435)](_0x3af061,_0x588064,_0x2e6a34['x'],_0x2e6a34['y']);if(_0x1a69e4&&(_0x1a69e4[_0x303400(0x521)]===_0x303400(0x3c8)||_0x1a69e4[_0x303400(0x521)]==='row-header'||_0x1a69e4[_0x303400(0x521)]===_0x303400(0x720)||_0x1a69e4[_0x303400(0x521)]==='row-insert-dot'||_0x1a69e4[_0x303400(0x521)]===_0x303400(0x473)))return _0x1a69e4;let _0x3abc55=_0x27fece(_0x9eb1b0(_0x3af061),_0x588064[_0x303400(0x58e)],_0x588064[_0x303400(0x65e)])[_0x303400(0x439)](_0x219c70=>_0x219c70[_0x303400(0x521)]===_0x303400(0x3c8));return _0x54e4c1(_0x3abc55,_0x2e6a34['x'],_0x2e6a34['y']);}[_0x5defcf(0x5b7)](_0x3d8852){const _0x27959d=_0x5defcf;if(this[_0x27959d(0x513)]()){this[_0x27959d(0x259)]();return;}let _0xdbabb9=this['_resolvePointerScenePoint'](_0x3d8852),_0x5b5474=this['_resolveInsertDotAtScenePoint'](_0xdbabb9);if(_0x5b5474){this['_clearStructuralInsertHoverObject'](_0x5b5474['object']),this[_0x27959d(0x193)]=_0x5b5474['object'],this[_0x27959d(0x371)](_0x5b5474[_0x27959d(0x583)],_0x5b5474['trigger']),this[_0x27959d(0x241)](_0x5b5474[_0x27959d(0x583)],null),this['_setTableCellHover'](_0x5b5474['object'],null);return;}let _0xe8d367=this[_0x27959d(0x624)]();if(!_0xe8d367){this['_clearTableControlHover']();return;}this[_0x27959d(0x576)](_0xe8d367[_0x27959d(0x583)]);let _0x195bb5=this[_0x27959d(0x5b9)](_0xe8d367['drawing'],_0xe8d367[_0x27959d(0x583)],_0xdbabb9['x'],_0xdbabb9['y']),_0xb0914d=_0x195bb5&&(_0x195bb5[_0x27959d(0x521)]==='row-header'||_0x195bb5[_0x27959d(0x521)]===_0x27959d(0x720)||_0x195bb5[_0x27959d(0x521)]===_0x27959d(0x6a9)||_0x195bb5[_0x27959d(0x521)]==='column-insert-dot')?_0x195bb5:null;this[_0x27959d(0x371)](_0xe8d367[_0x27959d(0x583)],_0xb0914d),this[_0x27959d(0x241)](_0xe8d367['object'],(_0x195bb5==null?void 0x0:_0x195bb5[_0x27959d(0x521)])===_0x27959d(0x3c8)?{'kind':_0x27959d(0x3c8)}:null),this[_0x27959d(0x23a)](_0xe8d367['drawing'],_0xe8d367[_0x27959d(0x583)],_0xdbabb9['x'],_0xdbabb9['y'],!!_0x195bb5);}['_clearTableControlHover'](){const _0x2ab305=_0x5defcf;this[_0x2ab305(0x2b3)](!0x1);let _0x384757=this[_0x2ab305(0x624)]();this[_0x2ab305(0x576)]((_0x384757==null?void 0x0:_0x384757[_0x2ab305(0x583)])??null),_0x384757&&(this[_0x2ab305(0x70b)]=null,this[_0x2ab305(0x6be)](_0x384757[_0x2ab305(0x583)],null),this[_0x2ab305(0x241)](_0x384757[_0x2ab305(0x583)],null),this[_0x2ab305(0x3de)](_0x384757[_0x2ab305(0x583)],null));}['_clearStructuralInsertHoverObject'](_0x51e1b8=null){const _0x5d9695=_0x5defcf;let _0x404b75=this[_0x5d9695(0x193)];_0x404b75&&(this[_0x5d9695(0x193)]=null,_0x404b75!==_0x51e1b8&&(this[_0x5d9695(0x70b)]=null,this[_0x5d9695(0x6be)](_0x404b75,null),this[_0x5d9695(0x241)](_0x404b75,null),this[_0x5d9695(0x3de)](_0x404b75,null)));}[_0x5defcf(0x241)](_0x1a22b4,_0x4af699){const _0x1600b7=_0x5defcf;var _0x4a7d09;if((_0x4a7d09=_0x1a22b4[_0x1600b7(0x2a4)])!=null&&_0x4a7d09[_0x1600b7(0x283)](_0x1a22b4,_0x4af699)){var _0x559692,_0x3f00a5;(_0x559692=(_0x3f00a5=this[_0x1600b7(0x51f)][_0x1600b7(0x667)])[_0x1600b7(0x623)])==null||_0x559692[_0x1600b7(0x283)](_0x3f00a5,!0x0);}}['_updateCellHover'](_0x5f4eb9,_0x126a99,_0x3a3fcc,_0x5e435c,_0x52f71b){const _0x24bb35=_0x5defcf;if(_0x52f71b||!this[_0x24bb35(0x20a)]){this[_0x24bb35(0x3de)](_0x126a99,null);return;}let _0x403732=this[_0x24bb35(0x5bc)](_0x5f4eb9,_0x1a21b4(_0x5f4eb9[_0x24bb35(0x379)],_0x5f4eb9[_0x24bb35(0x6b4)],_0x5f4eb9[_0x24bb35(0x1ba)]),_0x3a3fcc,_0x5e435c);this[_0x24bb35(0x3de)]((_0x403732==null?void 0x0:_0x403732[_0x24bb35(0x583)])??_0x126a99,_0x403732?{'row':_0x403732[_0x24bb35(0x1a8)][_0x24bb35(0x4b9)],'column':_0x403732[_0x24bb35(0x1a8)][_0x24bb35(0x3f1)]}:null);}[_0x5defcf(0x3de)](_0x265c1c,_0x354d1d){const _0x3a04c5=_0x5defcf;var _0x30258d;if((_0x30258d=_0x265c1c['setTableCellHover'])!=null&&_0x30258d[_0x3a04c5(0x283)](_0x265c1c,_0x354d1d)){var _0x4c751a,_0x12719f;(_0x4c751a=(_0x12719f=this['_renderContext'][_0x3a04c5(0x667)])['makeDirty'])==null||_0x4c751a['call'](_0x12719f,!0x0);}}[_0x5defcf(0x43d)](_0x209c43,_0x7d9316){const _0x10af8b=_0x5defcf;var _0x17d772,_0x5a4c21,_0x859323;let _0x582a87=((_0x17d772=_0x7d9316[_0x10af8b(0x681)])==null?void 0x0:_0x17d772['call'](_0x7d9316))??_0x209c43,_0x17be3d=_0x9eb1b0(_0x582a87),_0x49ac26=(_0x5a4c21=(_0x859323=this[_0x10af8b(0x51f)][_0x10af8b(0x667)])[_0x10af8b(0x58d)])==null?void 0x0:_0x5a4c21['call'](_0x859323),_0x749804=du((_0x49ac26==null?void 0x0:_0x49ac26['scaleX'])??(_0x49ac26==null?void 0x0:_0x49ac26[_0x10af8b(0x6c3)]),0x1);return _0x49040d({'tableId':_0x209c43['id'],'tableWidth':_0x7d9316[_0x10af8b(0x58e)],'tableHeight':_0x7d9316[_0x10af8b(0x65e)],'rowHeights':mu(_0x582a87[_0x10af8b(0x360)]['map'](_0x1478d3=>_0x1478d3['height']??0x18),_0x7d9316['height']),'columnWidths':mu(_0x582a87[_0x10af8b(0x5ca)]['map'](_0x35ed87=>_0x35ed87[_0x10af8b(0x58e)]),_0x7d9316['width']),'mergedCells':_0x17be3d[_0x10af8b(0x405)][_0x10af8b(0x439)](_0x1fce8b=>!_0x1fce8b[_0x10af8b(0x3f5)]&&(_0x1fce8b[_0x10af8b(0x3bb)]>0x1||_0x1fce8b[_0x10af8b(0x4c5)]>0x1))[_0x10af8b(0x295)](_0x131118=>({'startRow':_0x131118[_0x10af8b(0x4b9)],'endRow':_0x131118[_0x10af8b(0x4b9)]+_0x131118[_0x10af8b(0x3bb)]-0x1,'startColumn':_0x131118[_0x10af8b(0x3f1)],'endColumn':_0x131118['column']+_0x131118[_0x10af8b(0x4c5)]-0x1})),'zoom':_0x749804});}['_resolveTableTriggerHit'](_0xea32ed,_0x35cee1,_0x38dc28,_0x1bd90e){const _0x381f6b=_0x5defcf;return _0x2e8971(this[_0x381f6b(0x43d)](_0xea32ed,_0x35cee1),_0x38dc28,_0x1bd90e);}[_0x5defcf(0x371)](_0x19f0db,_0x443580){const _0x2f2b2e=_0x5defcf;let _0x17c063=_0x443580&&(_0x443580[_0x2f2b2e(0x521)]===_0x2f2b2e(0x21f)||_0x443580[_0x2f2b2e(0x521)]==='column-header'||_0x443580[_0x2f2b2e(0x521)]==='row-insert-dot'||_0x443580[_0x2f2b2e(0x521)]===_0x2f2b2e(0x473))?_0x443580:null;this[_0x2f2b2e(0x70b)]=_0x17c063;let _0x368809=_0x17c063?ru(_0x17c063):null,_0x49ae21=(_0x17c063==null?void 0x0:_0x17c063[_0x2f2b2e(0x521)])===_0x2f2b2e(0x6a9)&&_0x368809!==null?{'kind':_0x2f2b2e(0x4b9),'index':_0x368809}:(_0x17c063==null?void 0x0:_0x17c063[_0x2f2b2e(0x521)])==='column-insert-dot'&&_0x368809!==null?{'kind':_0x2f2b2e(0x3f1),'index':_0x368809}:null,_0x2af808=this[_0x2f2b2e(0x410)]?{'kind':this[_0x2f2b2e(0x410)][_0x2f2b2e(0x521)],'start':Math[_0x2f2b2e(0x4a7)](this[_0x2f2b2e(0x410)][_0x2f2b2e(0x6c5)],this[_0x2f2b2e(0x410)]['current']),'end':Math['max'](this[_0x2f2b2e(0x410)][_0x2f2b2e(0x6c5)],this[_0x2f2b2e(0x410)][_0x2f2b2e(0x508)])}:null,_0x3567e8=this['_rowColumnMoveTarget']?{'kind':this['_rowColumnMoveTarget'][_0x2f2b2e(0x521)],'index':this['_rowColumnMoveTarget'][_0x2f2b2e(0x68b)]}:null,_0x4f5ad1=!!_0x17c063||!!_0x2af808||!!_0x49ae21||!!_0x3567e8;this['_setTableControlState'](_0x19f0db,_0x4f5ad1?{'visible':!0x0,'hoveredTrigger':_0x17c063,'selectedStructuralRange':_0x2af808,'insertGuide':_0x49ae21,'reorderGuide':_0x3567e8}:null),this[_0x2f2b2e(0x2b3)](!!_0x17c063);}[_0x5defcf(0x2b3)](_0x398a43){const _0x590b53=_0x5defcf;let _0x36feca=this[_0x590b53(0x51f)][_0x590b53(0x667)];if(_0x398a43){this[_0x590b53(0x3fb)]=!0x0,_0x36feca[_0x590b53(0x448)](_0x30421b['POINTER']);return;}this[_0x590b53(0x3fb)]&&(this[_0x590b53(0x3fb)]=!0x1,!this['_resizeHoverActive']&&_0x36feca['getCursor']()===_0x30421b[_0x590b53(0x4c0)]&&_0x36feca[_0x590b53(0x5cd)]());}[_0x5defcf(0x6be)](_0x3ef93a,_0x40df1d){const _0x2de43e=_0x5defcf;var _0x10a499;if((_0x10a499=_0x3ef93a[_0x2de43e(0x2d8)])!=null&&_0x10a499[_0x2de43e(0x283)](_0x3ef93a,_0x40df1d)){var _0x1d726c,_0x9dc641;(_0x1d726c=(_0x9dc641=this['_renderContext'][_0x2de43e(0x667)])[_0x2de43e(0x623)])==null||_0x1d726c['call'](_0x9dc641,!0x0);}}['_handleStructuralHeaderPointerDown'](_0x2b510b,_0xc76f74,_0xf62cc4,_0xf7c91){const _0x30032c=_0x5defcf;var _0x2eada0;if(this[_0x30032c(0x30d)](),_0xf62cc4['kind']===_0x30032c(0x21f)&&_0xf62cc4[_0x30032c(0x4b9)]!==void 0x0){let _0x2e5ca1=this[_0x30032c(0x212)](_0x2b510b,_0x30032c(0x4b9),_0xf62cc4[_0x30032c(0x4b9)]);_0x2e5ca1?this['_pendingHeaderSelection']={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x4b9),'start':_0x2e5ca1[_0x30032c(0x6f2)],'end':_0x2e5ca1[_0x30032c(0x4e4)],'startPoint':_0xf7c91}:(this[_0x30032c(0x6f0)](_0x2b510b,_0xc76f74,_0xf62cc4[_0x30032c(0x4b9)],_0xf62cc4[_0x30032c(0x4b9)]),this[_0x30032c(0x410)]={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x4b9),'anchor':_0xf62cc4['row'],'current':_0xf62cc4[_0x30032c(0x4b9)]});}else{if(_0xf62cc4[_0x30032c(0x521)]==='column-header'&&_0xf62cc4[_0x30032c(0x3f1)]!==void 0x0){let _0x354f83=this['_getSelectedHeaderRange'](_0x2b510b,_0x30032c(0x3f1),_0xf62cc4['column']);_0x354f83?this[_0x30032c(0x389)]={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x3f1),'start':_0x354f83[_0x30032c(0x6f2)],'end':_0x354f83[_0x30032c(0x4e4)],'startPoint':_0xf7c91}:(this['_selectColumns'](_0x2b510b,_0xc76f74,_0xf62cc4[_0x30032c(0x3f1)],_0xf62cc4[_0x30032c(0x3f1)]),this['_headerSelectionDragState']={'drawing':_0x2b510b,'object':_0xc76f74,'kind':_0x30032c(0x3f1),'anchor':_0xf62cc4[_0x30032c(0x3f1)],'current':_0xf62cc4['column']});}else return;}this['_setTableControlState'](_0xc76f74,{'visible':!0x0,'hoveredTrigger':_0xf62cc4,'selectedStructuralRange':this[_0x30032c(0x410)]?{'kind':this['_headerSelectionDragState'][_0x30032c(0x521)],'start':this[_0x30032c(0x410)][_0x30032c(0x6c5)],'end':this[_0x30032c(0x410)][_0x30032c(0x508)]}:this[_0x30032c(0x389)]?{'kind':this[_0x30032c(0x389)]['kind'],'start':this[_0x30032c(0x389)]['start'],'end':this[_0x30032c(0x389)][_0x30032c(0x4e4)]}:null});let _0x5c0cf7=this[_0x30032c(0x51f)][_0x30032c(0x667)];if(!_0x5c0cf7[_0x30032c(0x411)]||!_0x5c0cf7[_0x30032c(0x224)])return;(_0x2eada0=_0x5c0cf7[_0x30032c(0x65b)])==null||_0x2eada0['call'](_0x5c0cf7);let _0x4b4ebd=_0x5c0cf7[_0x30032c(0x411)][_0x30032c(0x582)](_0x47cc54=>this[_0x30032c(0x199)](_0x47cc54)),_0x4396c4=_0x5c0cf7[_0x30032c(0x224)][_0x30032c(0x582)](()=>this[_0x30032c(0x30d)](_0xc76f74));this[_0x30032c(0x2f5)]=()=>{const _0x3a9ca1=_0x30032c;var _0x4a46f3;_0x4b4ebd==null||_0x4b4ebd[_0x3a9ca1(0x5ea)](),_0x4396c4==null||_0x4396c4[_0x3a9ca1(0x5ea)](),(_0x4a46f3=_0x5c0cf7['enableObjectsEvent'])==null||_0x4a46f3[_0x3a9ca1(0x283)](_0x5c0cf7);},this[_0x30032c(0x40f)]({'dispose':()=>_0x4b4ebd[_0x30032c(0x5ea)]()}),this[_0x30032c(0x40f)]({'dispose':()=>_0x4396c4['unsubscribe']()});}[_0x5defcf(0x30d)](_0x469cf8,_0x26df7a){const _0x4f0602=_0x5defcf;var _0x32ed5a,_0x14668c,_0x3b3e72;let _0x465b69=this[_0x4f0602(0x2f5)];this[_0x4f0602(0x2f5)]=null,_0x465b69==null||_0x465b69();let _0x105dbc=_0x469cf8??((_0x32ed5a=this['_rowColumnMoveState'])==null?void 0x0:_0x32ed5a[_0x4f0602(0x583)])??((_0x14668c=this[_0x4f0602(0x389)])==null?void 0x0:_0x14668c[_0x4f0602(0x583)])??((_0x3b3e72=this['_headerSelectionDragState'])==null?void 0x0:_0x3b3e72[_0x4f0602(0x583)]);(_0x26df7a==null?void 0x0:_0x26df7a['commitMove'])!==!0x1&&this[_0x4f0602(0x280)](),this['_headerSelectionDragState']=null,this[_0x4f0602(0x389)]=null,this[_0x4f0602(0x482)]=null,this[_0x4f0602(0x1c3)]=null,_0x105dbc&&this[_0x4f0602(0x371)](_0x105dbc,this[_0x4f0602(0x70b)]);}[_0x5defcf(0x199)](_0x26558e){const _0x5cfafa=_0x5defcf;let _0x1edfeb=this[_0x5cfafa(0x389)],_0x3f2239=this[_0x5cfafa(0x482)];if(_0x1edfeb||_0x3f2239){this[_0x5cfafa(0x1ea)](_0x26558e);return;}let _0x4811e6=this[_0x5cfafa(0x410)];if(!_0x4811e6||_0x4811e6['drawing']['element'][_0x5cfafa(0x495)]!==_0x16fba9[_0x5cfafa(0x3f9)])return;if('buttons'in _0x26558e&&_0x26558e[_0x5cfafa(0x263)]!==void 0x0&&(_0x26558e['buttons']&0x1)!=0x1){this[_0x5cfafa(0x30d)](_0x4811e6[_0x5cfafa(0x583)]);return;}let _0x43d8ab=this[_0x5cfafa(0x599)][_0x5cfafa(0x2aa)](_0x4811e6['drawing'][_0x5cfafa(0x379)],_0x4811e6[_0x5cfafa(0x42f)]['element'][_0x5cfafa(0x6a7)]);if(!_0x43d8ab)return;let _0x274285=this['_resolvePointerScenePoint'](_0x26558e),_0x111d85=this[_0x5cfafa(0x205)](_0x4811e6[_0x5cfafa(0x583)],_0x274285['x'],_0x274285['y']),_0x198f23=_0x2af0de(this[_0x5cfafa(0x43d)](_0x43d8ab,_0x4811e6[_0x5cfafa(0x583)]),_0x111d85['x'],_0x111d85['y']);if(_0x198f23){if(_0x4811e6[_0x5cfafa(0x521)]===_0x5cfafa(0x4b9)&&_0x198f23['kind']===_0x5cfafa(0x21f)&&_0x198f23[_0x5cfafa(0x4b9)]!==void 0x0)_0x4811e6[_0x5cfafa(0x508)]=_0x198f23['row'],this[_0x5cfafa(0x6f0)](_0x4811e6[_0x5cfafa(0x42f)],_0x4811e6[_0x5cfafa(0x583)],_0x4811e6[_0x5cfafa(0x6c5)],_0x198f23[_0x5cfafa(0x4b9)]);else{if(_0x4811e6['kind']==='column'&&_0x198f23['kind']==='column-header'&&_0x198f23[_0x5cfafa(0x3f1)]!==void 0x0)_0x4811e6['current']=_0x198f23[_0x5cfafa(0x3f1)],this['_selectColumns'](_0x4811e6[_0x5cfafa(0x42f)],_0x4811e6['object'],_0x4811e6[_0x5cfafa(0x6c5)],_0x198f23[_0x5cfafa(0x3f1)]);else return;}this['_setTableControlState'](_0x4811e6['object'],{'visible':!0x0,'hoveredTrigger':_0x198f23,'selectedStructuralRange':{'kind':_0x4811e6[_0x5cfafa(0x521)],'start':Math[_0x5cfafa(0x4a7)](_0x4811e6['anchor'],_0x4811e6[_0x5cfafa(0x508)]),'end':Math[_0x5cfafa(0x6bf)](_0x4811e6[_0x5cfafa(0x6c5)],_0x4811e6[_0x5cfafa(0x508)])}});}}['_updateRowColumnMoveDrag'](_0x575465){const _0x469bea=_0x5defcf;let _0x2c5676=this[_0x469bea(0x389)],_0x56c9d3=this[_0x469bea(0x482)],_0x3f0831=_0x56c9d3??_0x2c5676;if(!_0x3f0831||_0x3f0831[_0x469bea(0x42f)][_0x469bea(0x571)][_0x469bea(0x495)]!==_0x16fba9[_0x469bea(0x3f9)])return;if(_0x469bea(0x263)in _0x575465&&_0x575465[_0x469bea(0x263)]!==void 0x0&&(_0x575465[_0x469bea(0x263)]&0x1)!=0x1){this[_0x469bea(0x30d)](_0x3f0831[_0x469bea(0x583)],{'commitMove':!0x1});return;}let _0x10508d=this[_0x469bea(0x700)](_0x575465);if(!_0x56c9d3&&_0x2c5676){let _0x436b87=_0x10508d['x']-_0x2c5676[_0x469bea(0x37e)]['x'],_0x2dafc8=_0x10508d['y']-_0x2c5676['startPoint']['y'];if(Math['hypot'](_0x436b87,_0x2dafc8)<0x8)return;this[_0x469bea(0x482)]={'drawing':_0x2c5676[_0x469bea(0x42f)],'object':_0x2c5676[_0x469bea(0x583)],'kind':_0x2c5676[_0x469bea(0x521)],'start':_0x2c5676[_0x469bea(0x6f2)],'end':_0x2c5676[_0x469bea(0x4e4)]},this[_0x469bea(0x389)]=null;}let _0x795952=this['_rowColumnMoveState'];if(!_0x795952||_0x795952['drawing'][_0x469bea(0x571)]['type']!==_0x16fba9[_0x469bea(0x3f9)])return;let _0x363d8e=this[_0x469bea(0x599)][_0x469bea(0x2aa)](_0x795952['drawing'][_0x469bea(0x379)],_0x795952['drawing'][_0x469bea(0x571)]['tableId']);if(!_0x363d8e){this[_0x469bea(0x1c3)]=null,this[_0x469bea(0x6be)](_0x795952[_0x469bea(0x583)],null);return;}let _0x5828da=this['_resolveRowColumnMoveTarget'](_0x363d8e,_0x795952[_0x469bea(0x583)],_0x795952[_0x469bea(0x521)],_0x10508d),_0x3fba95=!!_0x5828da&&(_0x5828da[_0x469bea(0x521)]===_0x469bea(0x4b9)?_0x231167(_0x363d8e,{'startRow':_0x795952[_0x469bea(0x6f2)],'endRow':_0x795952[_0x469bea(0x4e4)]},{'row':_0x5828da[_0x469bea(0x1fa)],'position':_0x5828da[_0x469bea(0x4c4)]}):_0x3297ff(_0x363d8e,{'startColumn':_0x795952[_0x469bea(0x6f2)],'endColumn':_0x795952[_0x469bea(0x4e4)]},{'column':_0x5828da[_0x469bea(0x719)],'position':_0x5828da[_0x469bea(0x4c4)]}));this[_0x469bea(0x1c3)]=_0x3fba95?_0x5828da:null,this['_setTableControlState'](_0x795952[_0x469bea(0x583)],_0x3fba95&&_0x5828da?{'visible':!0x0,'selectedStructuralRange':{'kind':_0x795952['kind'],'start':_0x795952[_0x469bea(0x6f2)],'end':_0x795952['end']},'reorderGuide':{'kind':_0x5828da[_0x469bea(0x521)],'index':_0x5828da[_0x469bea(0x68b)]}}:null);}[_0x5defcf(0x280)](){const _0x4cfff7=_0x5defcf;let _0x93c2df=this['_rowColumnMoveState'],_0x1c2191=this[_0x4cfff7(0x1c3)];_0x93c2df&&_0x1c2191&&_0x93c2df[_0x4cfff7(0x42f)][_0x4cfff7(0x571)]['type']===_0x16fba9[_0x4cfff7(0x3f9)]&&(_0x93c2df[_0x4cfff7(0x521)]==='row'&&_0x1c2191[_0x4cfff7(0x521)]===_0x4cfff7(0x4b9)?this[_0x4cfff7(0x710)]['executeCommand'](_0x399535['id'],{'unitId':_0x93c2df[_0x4cfff7(0x42f)]['unitId'],'tableId':_0x93c2df[_0x4cfff7(0x42f)]['element']['tableId'],'startRow':_0x93c2df['start'],'endRow':_0x93c2df[_0x4cfff7(0x4e4)],'targetRow':_0x1c2191[_0x4cfff7(0x1fa)],'position':_0x1c2191[_0x4cfff7(0x4c4)]}):_0x93c2df[_0x4cfff7(0x521)]===_0x4cfff7(0x3f1)&&_0x1c2191[_0x4cfff7(0x521)]===_0x4cfff7(0x3f1)&&this['_commandService']['executeCommand'](_0x162c84['id'],{'unitId':_0x93c2df['drawing']['unitId'],'tableId':_0x93c2df[_0x4cfff7(0x42f)][_0x4cfff7(0x571)][_0x4cfff7(0x6a7)],'startColumn':_0x93c2df[_0x4cfff7(0x6f2)],'endColumn':_0x93c2df[_0x4cfff7(0x4e4)],'targetColumn':_0x1c2191['targetColumn'],'position':_0x1c2191['position']}));}['_getSelectedHeaderRange'](_0xcc7abb,_0x5a502f,_0x5de1ea){const _0x43d665=_0x5defcf;if(_0xcc7abb[_0x43d665(0x571)]['type']!==_0x16fba9['Table'])return null;let _0x413c87=this[_0x43d665(0x531)]['getSelection']();if(!_0x413c87||_0x413c87[_0x43d665(0x521)]!==_0x5a502f||_0x413c87[_0x43d665(0x379)]!==_0xcc7abb[_0x43d665(0x379)]||_0x413c87['subUnitId']!==_0xcc7abb['subUnitId']||_0x413c87[_0x43d665(0x60f)]!==_0xcc7abb[_0x43d665(0x1ba)]||_0x413c87['tableId']!==_0xcc7abb[_0x43d665(0x571)]['tableId'])return null;for(let _0x3f3846 of _0x413c87['ranges']){let _0x3b859e=_0x5a502f===_0x43d665(0x4b9)?Math['min'](_0x3f3846[_0x43d665(0x1d3)],_0x3f3846[_0x43d665(0x573)]):Math[_0x43d665(0x4a7)](_0x3f3846[_0x43d665(0x3cc)],_0x3f3846[_0x43d665(0x351)]),_0x5de20c=_0x5a502f==='row'?Math[_0x43d665(0x6bf)](_0x3f3846['startRow'],_0x3f3846[_0x43d665(0x573)]):Math[_0x43d665(0x6bf)](_0x3f3846['startColumn'],_0x3f3846[_0x43d665(0x351)]);if(_0x5de1ea>=_0x3b859e&&_0x5de1ea<=_0x5de20c)return{'start':_0x3b859e,'end':_0x5de20c};}return null;}[_0x5defcf(0x2da)](_0x52de13,_0x42f7f2,_0x5c15b7,_0x1937c5){const _0x713008=_0x5defcf;var _0x234f58;let _0x6e9791=((_0x234f58=_0x42f7f2[_0x713008(0x681)])==null?void 0x0:_0x234f58['call'](_0x42f7f2))??_0x52de13,_0x284ef1=this[_0x713008(0x205)](_0x42f7f2,_0x1937c5['x'],_0x1937c5['y']),_0x4cd770=_0x5c15b7===_0x713008(0x4b9)?mu(_0x6e9791['rows'][_0x713008(0x295)](_0x28c525=>_0x28c525[_0x713008(0x65e)]??0x18),_0x42f7f2[_0x713008(0x65e)]):mu(_0x6e9791[_0x713008(0x5ca)][_0x713008(0x295)](_0x5c97f5=>_0x5c97f5[_0x713008(0x58e)]),_0x42f7f2[_0x713008(0x58e)]);if(_0x4cd770[_0x713008(0x393)]===0x0)return null;let _0x5840ff=hu(_0x4cd770,_0x5c15b7==='row'?_0x284ef1['y']:_0x284ef1['x']),_0x254e3f=_0x5840ff<=0x0?0x0:_0x5840ff>=_0x4cd770['length']?_0x4cd770[_0x713008(0x393)]-0x1:_0x5840ff,_0x53c1df=_0x5840ff<=0x0?_0x713008(0x69e):_0x5840ff>=_0x4cd770[_0x713008(0x393)]?_0x713008(0x630):_0x713008(0x69e);return _0x5c15b7===_0x713008(0x4b9)?{'kind':_0x5c15b7,'targetRow':_0x254e3f,'position':_0x53c1df,'guideIndex':_0x5840ff}:{'kind':_0x5c15b7,'targetColumn':_0x254e3f,'position':_0x53c1df,'guideIndex':_0x5840ff};}['_handleStructuralInsertTrigger'](_0x8c8f48,_0xf756e7,_0x83dff,_0x295b96){const _0x1c10b9=_0x5defcf;var _0x5c5e4e;if(_0x8c8f48[_0x1c10b9(0x571)]['type']!==_0x16fba9[_0x1c10b9(0x3f9)])return!0x1;let _0x32be13=ru(_0x83dff),_0x3a1377=!0x1;if(_0x83dff['kind']===_0x1c10b9(0x6a9)&&_0x32be13!==null?_0x3a1377=!!this['_commandService'][_0x1c10b9(0x38f)](_0x565bf8['id'],{'unitId':_0x8c8f48[_0x1c10b9(0x379)],'subUnitId':_0x8c8f48[_0x1c10b9(0x6b4)],'elementId':_0x8c8f48[_0x1c10b9(0x1ba)],'tableId':_0x8c8f48[_0x1c10b9(0x571)][_0x1c10b9(0x6a7)],'rowIndex':_0x32be13,'count':0x1}):_0x83dff[_0x1c10b9(0x521)]===_0x1c10b9(0x473)&&_0x32be13!==null&&(_0x3a1377=!!this[_0x1c10b9(0x710)][_0x1c10b9(0x38f)](_0x4a4b69['id'],{'unitId':_0x8c8f48[_0x1c10b9(0x379)],'subUnitId':_0x8c8f48['subUnitId'],'elementId':_0x8c8f48['drawingId'],'tableId':_0x8c8f48[_0x1c10b9(0x571)][_0x1c10b9(0x6a7)],'columnIndex':_0x32be13,'count':0x1})),!_0x3a1377)return!0x1;let _0x41244e=this[_0x1c10b9(0x599)]['getTable'](_0x8c8f48[_0x1c10b9(0x379)],_0x8c8f48[_0x1c10b9(0x571)]['tableId']);(_0x5c5e4e=_0xf756e7[_0x1c10b9(0x463)])==null||_0x5c5e4e[_0x1c10b9(0x283)](_0xf756e7,_0x41244e);let _0xfac35a=eu((_0x295b96?this[_0x1c10b9(0x3f3)](_0xf756e7,new _0x33f54f(_0x295b96['x'],_0x295b96['y'])):null)??_0x83dff);return this[_0x1c10b9(0x193)]=_0xf756e7,this[_0x1c10b9(0x6be)](_0xf756e7,_0xfac35a),this[_0x1c10b9(0x241)](_0xf756e7,null),this[_0x1c10b9(0x3de)](_0xf756e7,null),!0x0;}['_resolveActiveTableObject'](){const _0x193b29=_0x5defcf;var _0x4a5395,_0x4adef6;let _0x420ea5=(_0x4a5395=(_0x4adef6=this[_0x193b29(0x4a2)])[_0x193b29(0x6d0)])==null?void 0x0:_0x4a5395[_0x193b29(0x283)](_0x4adef6),_0x2625a6=this[_0x193b29(0x531)][_0x193b29(0x1cf)](),_0x1162a8=(_0x420ea5==null?void 0x0:_0x420ea5[_0x193b29(0x278)])??(_0x2625a6?{'unitId':_0x2625a6[_0x193b29(0x379)],'subUnitId':_0x2625a6[_0x193b29(0x6b4)]}:null),_0xdc2885=(_0x420ea5==null?void 0x0:_0x420ea5[_0x193b29(0x625)][_0x193b29(0x393)])===0x1?_0x420ea5[_0x193b29(0x625)][0x0]:_0x2625a6==null?void 0x0:_0x2625a6['elementId'];return!_0x1162a8||!_0xdc2885?this[_0x193b29(0x46b)](this['_lastActiveTableContext']):this[_0x193b29(0x46b)]({..._0x1162a8,'elementId':_0xdc2885})??this[_0x193b29(0x46b)](this[_0x193b29(0x68a)]);}['_resolveTableObjectFromContext'](_0x26c9c2){const _0x497b18=_0x5defcf;if(!_0x26c9c2)return null;let _0x52f040=this[_0x497b18(0x470)](_0x26c9c2[_0x497b18(0x379)],_0x26c9c2[_0x497b18(0x6b4)],_0x26c9c2[_0x497b18(0x60f)]);if(!_0x52f040||_0x52f040['element'][_0x497b18(0x495)]!==_0x16fba9[_0x497b18(0x3f9)])return null;let _0x10a164=this[_0x497b18(0x599)][_0x497b18(0x2aa)](_0x52f040[_0x497b18(0x379)],_0x52f040[_0x497b18(0x571)][_0x497b18(0x6a7)]);if(!_0x10a164)return null;let _0x2de4ef=this[_0x497b18(0x51f)]['scene'][_0x497b18(0x2f7)](_0x1a21b4(_0x26c9c2[_0x497b18(0x379)],_0x26c9c2[_0x497b18(0x6b4)],_0x26c9c2[_0x497b18(0x60f)]));return _0x2de4ef?{'drawing':_0x52f040,'object':_0x2de4ef,'table':_0x10a164}:null;}[_0x5defcf(0x19a)](_0x51669f,_0x4590a1){const _0x293b3f=_0x5defcf;var _0xb0a074;let _0x3aec47=this['_createContextMenuEvent'](_0x51669f);(_0xb0a074=_0x3aec47[_0x293b3f(0x574)])==null||_0xb0a074[_0x293b3f(0x283)](_0x3aec47),this[_0x293b3f(0x6bd)][_0x293b3f(0x4e1)](_0x3aec47,_0x4590a1);}[_0x5defcf(0x2bb)](_0x9f273){const _0x173cad=_0x5defcf;var _0x39c966,_0x3b960e,_0x1bc34e;let _0x29ecc9=_0x9f273;if(Du(_0x29ecc9[_0x173cad(0x392)])&&Du(_0x29ecc9[_0x173cad(0x4bc)]))return{..._0x29ecc9,'clientX':_0x29ecc9[_0x173cad(0x392)],'clientY':_0x29ecc9['clientY'],'preventDefault':()=>{const _0x10ef3d=_0x173cad;var _0xbf0fe6;return(_0xbf0fe6=_0x29ecc9[_0x10ef3d(0x574)])==null?void 0x0:_0xbf0fe6[_0x10ef3d(0x283)](_0x29ecc9);},'stopPropagation':()=>{const _0x249968=_0x173cad;var _0x36cdce;return(_0x36cdce=_0x29ecc9[_0x249968(0x724)])==null?void 0x0:_0x36cdce[_0x249968(0x283)](_0x29ecc9);}};let _0x2bb074=(_0x39c966=this[_0x173cad(0x51f)]['engine'])==null||(_0x3b960e=_0x39c966[_0x173cad(0x607)])==null||(_0x3b960e=_0x3b960e[_0x173cad(0x283)](_0x39c966))==null||(_0x1bc34e=_0x3b960e[_0x173cad(0x61c)])==null?void 0x0:_0x1bc34e[_0x173cad(0x283)](_0x3b960e),_0x1b2329=((_0x2bb074==null?void 0x0:_0x2bb074[_0x173cad(0x479)])??0x0)+(_0x9f273[_0x173cad(0x1b4)]??0x0),_0x4a35b0=((_0x2bb074==null?void 0x0:_0x2bb074['top'])??0x0)+(_0x9f273['offsetY']??0x0);return{..._0x29ecc9,'clientX':_0x1b2329,'clientY':_0x4a35b0,'preventDefault':()=>{const _0x2de152=_0x173cad;var _0x4154f7;return(_0x4154f7=_0x29ecc9[_0x2de152(0x574)])==null?void 0x0:_0x4154f7[_0x2de152(0x283)](_0x29ecc9);},'stopPropagation':()=>{var _0x255dce;return(_0x255dce=_0x29ecc9['stopPropagation'])==null?void 0x0:_0x255dce['call'](_0x29ecc9);}};}['_hideContextMenu'](){const _0x44a867=_0x5defcf;var _0x28b97f,_0x4e3e0c;(_0x28b97f=this[_0x44a867(0x6bd)])==null||(_0x4e3e0c=_0x28b97f['hideContextMenu'])==null||_0x4e3e0c[_0x44a867(0x283)](_0x28b97f);}['_startStage1TableBodyPointer'](_0x13c274,_0x18d021,_0x3e6b77,_0x56f14f,_0x59cb21){const _0x216a59=_0x5defcf;var _0x30e92b,_0x3dec6f;this[_0x216a59(0x2ec)]({'focusCell':!0x1}),_0x56f14f[_0x216a59(0x724)](),_0x56f14f[_0x216a59(0x265)]=!0x0,(_0x30e92b=_0x3e6b77[_0x216a59(0x724)])==null||_0x30e92b[_0x216a59(0x283)](_0x3e6b77),(_0x3dec6f=_0x3e6b77[_0x216a59(0x574)])==null||_0x3dec6f['call'](_0x3e6b77),this['_hideContextMenu'](),this[_0x216a59(0x33c)][_0x216a59(0x1e7)]();let _0x5a86bb=this[_0x216a59(0x51f)]['scene'],_0x3fc3b9=new _0x2fec4f(),_0x1a5b60=typeof window>'u'?null:window,_0x97c81e=_0x328909=>this[_0x216a59(0x4f4)](_0x328909),_0x623ee3=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x0}),_0x5efcfb=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x1});this[_0x216a59(0x55c)]={'drawing':_0x13c274,'object':_0x18d021,'resolved':_0x59cb21,'startEvent':_0x3e6b77,'startPoint':this[_0x216a59(0x700)](_0x3e6b77),'cleanup':()=>_0x3fc3b9['dispose']()},_0x3fc3b9['add'](_0x5a86bb[_0x216a59(0x411)][_0x216a59(0x582)](_0x97c81e)),_0x3fc3b9['add'](_0x5a86bb[_0x216a59(0x224)]['subscribeEvent'](_0x623ee3)),_0x5a86bb[_0x216a59(0x55e)]&&_0x3fc3b9[_0x216a59(0x378)](_0x5a86bb['onPointerCancel$']['subscribeEvent'](_0x5efcfb)),_0x1a5b60==null||_0x1a5b60['addEventListener'](_0x216a59(0x288),_0x623ee3,{'once':!0x0}),_0x1a5b60==null||_0x1a5b60[_0x216a59(0x63c)](_0x216a59(0x40c),_0x5efcfb,{'once':!0x0}),_0x3fc3b9[_0x216a59(0x378)](_0x2123f0(()=>{const _0x55ae2a=_0x216a59;_0x1a5b60==null||_0x1a5b60[_0x55ae2a(0x688)]('pointerup',_0x623ee3),_0x1a5b60==null||_0x1a5b60[_0x55ae2a(0x688)](_0x55ae2a(0x40c),_0x5efcfb);})),this[_0x216a59(0x62f)](_0x13c274,_0x18d021,_0x3e6b77,_0x56f14f,_0x3fc3b9);}[_0x5defcf(0x4f4)](_0x4eca8a){const _0x4469a0=_0x5defcf;let _0x568631=this[_0x4469a0(0x55c)];if(!_0x568631)return;if(_0x4469a0(0x263)in _0x4eca8a&&_0x4eca8a[_0x4469a0(0x263)]!==void 0x0&&(_0x4eca8a[_0x4469a0(0x263)]&0x1)!=0x1){this[_0x4469a0(0x2ec)]({'focusCell':!0x0});return;}let _0x1ec48c=this[_0x4469a0(0x700)](_0x4eca8a),_0x7ada02=_0x1ec48c['x']-_0x568631[_0x4469a0(0x37e)]['x'],_0x2b33d2=_0x1ec48c['y']-_0x568631[_0x4469a0(0x37e)]['y'],_0x206f10=this[_0x4469a0(0x31f)]();Math[_0x4469a0(0x4a4)](_0x7ada02,_0x2b33d2)*_0x206f10<0x8||(this['_finishPendingStage1TableDrag']({'focusCell':!0x1}),this['_startTableMoveDrag'](_0x568631[_0x4469a0(0x42f)],_0x568631[_0x4469a0(0x583)],_0x568631[_0x4469a0(0x2ed)]),this[_0x4469a0(0x56c)](_0x4eca8a));}[_0x5defcf(0x2ec)](_0x218777){const _0x5378b9=_0x5defcf;let _0x14e6ab=this[_0x5378b9(0x55c)];_0x14e6ab&&(this[_0x5378b9(0x55c)]=null,_0x14e6ab['cleanup'](),_0x218777[_0x5378b9(0x6f5)]&&this[_0x5378b9(0x57f)](_0x14e6ab[_0x5378b9(0x42f)],_0x14e6ab[_0x5378b9(0x583)],_0x14e6ab[_0x5378b9(0x3c3)]));}[_0x5defcf(0x3e8)](_0x2f4757,_0x2c98fe,_0x2088a5){const _0x23a93d=_0x5defcf;this[_0x23a93d(0x558)]();let _0x3e527b=new _0x2fec4f(),_0x530c41=this[_0x23a93d(0x700)](_0x2088a5),_0x37a47c=lu(this[_0x23a93d(0x421)](_0x2f4757),_0x2c98fe);this[_0x23a93d(0x2db)]={'drawing':_0x2f4757,'object':_0x2c98fe,'activationStage':this['_tableActivationStage'],'startEvent':_0x2088a5,'startPoint':_0x530c41,'lastPoint':_0x530c41,'startObjectLeft':_0x2c98fe[_0x23a93d(0x479)],'startObjectTop':_0x2c98fe[_0x23a93d(0x5ee)],'startTransform':_0x37a47c,'moved':!0x1,'clickFallbackTimer':null,'cleanup':()=>_0x3e527b[_0x23a93d(0x2c2)]()},this['_alignmentGuideService'][_0x23a93d(0x6f2)](this['_renderContext'][_0x23a93d(0x379)],new Map([[_0x2c98fe[_0x23a93d(0x62b)],_0x2c98fe]]));let _0x79c038=this['_renderContext'][_0x23a93d(0x667)];_0x79c038['disableObjectsEvent']();let _0x1082d7=typeof window>'u'?null:window,_0x5c1ccf=_0x307e97=>this[_0x23a93d(0x3a1)](_0x307e97),_0x2ad9c3=()=>this[_0x23a93d(0x558)]();_0x3e527b[_0x23a93d(0x378)](_0x79c038[_0x23a93d(0x411)]['subscribeEvent'](_0x3a5ba6=>this[_0x23a93d(0x56c)](_0x3a5ba6))),_0x3e527b[_0x23a93d(0x378)](_0x79c038['onPointerUp$'][_0x23a93d(0x582)](_0x5c1ccf)),_0x79c038['onPointerCancel$']&&_0x3e527b['add'](_0x79c038[_0x23a93d(0x55e)][_0x23a93d(0x582)](_0x2ad9c3)),_0x1082d7==null||_0x1082d7['addEventListener'](_0x23a93d(0x288),_0x5c1ccf,{'once':!0x0}),_0x1082d7==null||_0x1082d7[_0x23a93d(0x63c)]('pointercancel',_0x2ad9c3,{'once':!0x0}),_0x3e527b[_0x23a93d(0x378)](_0x2123f0(()=>{const _0x514db6=_0x23a93d;_0x79c038[_0x514db6(0x61f)](),_0x1082d7==null||_0x1082d7['removeEventListener'](_0x514db6(0x288),_0x5c1ccf),_0x1082d7==null||_0x1082d7[_0x514db6(0x688)](_0x514db6(0x40c),_0x2ad9c3);})),this[_0x23a93d(0x2db)]['clickFallbackTimer']=setTimeout(_0x5c1ccf,0xb4);}['_resolveCurrentTableDrawing'](_0x386387){const _0x3e3ac2=_0x5defcf;return this[_0x3e3ac2(0x72d)][_0x3e3ac2(0x3a0)]({'unitId':_0x386387['unitId'],'subUnitId':_0x386387[_0x3e3ac2(0x6b4)],'drawingId':_0x386387[_0x3e3ac2(0x1ba)]})??_0x386387;}[_0x5defcf(0x56c)](_0x157fb6){const _0x63d06c=_0x5defcf;var _0xb8efe9,_0x21e5c9;let _0x11c17d=this[_0x63d06c(0x2db)];if(!_0x11c17d)return;let _0x31cd4b=this[_0x63d06c(0x700)](_0x157fb6),_0x2d7560=_0x31cd4b['x']-_0x11c17d[_0x63d06c(0x37e)]['x'],_0x2b62e7=_0x31cd4b['y']-_0x11c17d[_0x63d06c(0x37e)]['y'],_0x3bb883=this[_0x63d06c(0x31f)]();if(!_0x11c17d[_0x63d06c(0x268)]&&Math['hypot'](_0x2d7560,_0x2b62e7)*_0x3bb883<0x8)return;_0x11c17d['moved']||(_0x11c17d['clickFallbackTimer']&&=(clearTimeout(_0x11c17d[_0x63d06c(0x4b0)]),null),this[_0x63d06c(0x58f)]());let _0xfa6453=_0x31cd4b['x']-_0x11c17d[_0x63d06c(0x52c)]['x'],_0x4888b2=_0x31cd4b['y']-_0x11c17d[_0x63d06c(0x52c)]['y'],_0x2ba899=_0x11c17d[_0x63d06c(0x583)];_0x2ba899[_0x63d06c(0x39e)](_0x2ba899['left']+_0xfa6453,_0x2ba899['top']+_0x4888b2),_0x2ba899[_0x63d06c(0x623)](!0x0),_0x11c17d[_0x63d06c(0x52b)]===_0x63d06c(0x690)&&this[_0x63d06c(0x6d5)](_0x11c17d[_0x63d06c(0x583)]),_0x11c17d[_0x63d06c(0x268)]=!0x0,_0x11c17d[_0x63d06c(0x52c)]=_0x31cd4b,this[_0x63d06c(0x3ea)][_0x63d06c(0x5da)](this[_0x63d06c(0x51f)]['unitId'],new Map([[_0x11c17d[_0x63d06c(0x583)][_0x63d06c(0x62b)],_0x11c17d[_0x63d06c(0x583)]]])),this[_0x63d06c(0x72d)][_0x63d06c(0x2ef)]([{...this[_0x63d06c(0x421)](_0x11c17d['drawing']),'transform':{..._0x11c17d['startTransform'],'left':(_0x11c17d[_0x63d06c(0x46d)][_0x63d06c(0x479)]??0x0)+_0x2ba899['left']-_0x11c17d['startObjectLeft'],'top':(_0x11c17d[_0x63d06c(0x46d)][_0x63d06c(0x5ee)]??0x0)+_0x2ba899[_0x63d06c(0x5ee)]-_0x11c17d[_0x63d06c(0x32f)]}}]),(_0xb8efe9=(_0x21e5c9=this[_0x63d06c(0x51f)][_0x63d06c(0x667)])['makeDirty'])==null||_0xb8efe9[_0x63d06c(0x283)](_0x21e5c9,!0x0);}[_0x5defcf(0x6d5)](_0x1c218c){const _0x5a970=_0x5defcf;var _0x3b0c4b,_0x584b11,_0x2ef760,_0x20514e;let _0xe1f324=(_0x3b0c4b=(_0x584b11=this[_0x5a970(0x51f)][_0x5a970(0x667)])[_0x5a970(0x2fa)])==null?void 0x0:_0x3b0c4b['call'](_0x584b11);if(!_0xe1f324||_0x1c218c[_0x5a970(0x2a5)])return;let _0x15eb90=_0xe1f324,_0x479ac7=(_0x2ef760=_0x15eb90['getSelectedObjectMap'])==null?void 0x0:_0x2ef760[_0x5a970(0x283)](_0x15eb90);if(_0x479ac7&&!_0x479ac7[_0x5a970(0x1ff)](_0x1c218c[_0x5a970(0x62b)])){var _0x1903d6;(_0x1903d6=_0x15eb90['setSelectedControl'])==null||_0x1903d6['call'](_0x15eb90,_0x1c218c);}(_0x20514e=_0x15eb90[_0x5a970(0x3ba)])==null||_0x20514e['call'](_0x15eb90);}[_0x5defcf(0x3a1)](_0x17bd54){const _0x270490=_0x5defcf;_0x17bd54&&this[_0x270490(0x56c)](_0x17bd54);let _0x255fe2=this['_tableMoveDragContext'];if(!_0x255fe2)return;if(this[_0x270490(0x2db)]=null,_0x255fe2['cleanup'](),_0x255fe2[_0x270490(0x4b0)]&&=(clearTimeout(_0x255fe2['clickFallbackTimer']),null),!_0x255fe2[_0x270490(0x268)]){this[_0x270490(0x3ea)]['end'](this['_renderContext'][_0x270490(0x379)],new Map([[_0x255fe2['object'][_0x270490(0x62b)],_0x255fe2['object']]])),this[_0x270490(0x25d)](_0x255fe2[_0x270490(0x42f)],_0x255fe2[_0x270490(0x583)]);return;}let _0x41aad2=_0x255fe2['startTransform'][_0x270490(0x479)]??0x0,_0x20ac35=_0x255fe2['startTransform'][_0x270490(0x5ee)]??0x0,_0x3d0c7b=_0x255fe2[_0x270490(0x583)],_0x42bee7=_0x3d0c7b[_0x270490(0x479)]-_0x255fe2[_0x270490(0x359)],_0x25892=_0x3d0c7b['top']-_0x255fe2[_0x270490(0x32f)];this[_0x270490(0x3ea)][_0x270490(0x4e4)](this[_0x270490(0x51f)]['unitId'],new Map([[_0x255fe2[_0x270490(0x583)][_0x270490(0x62b)],_0x255fe2[_0x270490(0x583)]]]));let _0xef1a3d=this[_0x270490(0x421)](_0x255fe2[_0x270490(0x42f)]),_0x46bd6a={..._0x255fe2[_0x270490(0x46d)],'left':_0x41aad2+_0x42bee7,'top':_0x20ac35+_0x25892};this[_0x270490(0x710)][_0x270490(0x38f)](_0x3845cd['id'],{'patches':[{'unitId':_0x255fe2[_0x270490(0x42f)][_0x270490(0x379)],'subUnitId':_0x255fe2['drawing']['subUnitId'],'drawingId':_0x255fe2['drawing']['drawingId'],'element':{..._0xef1a3d[_0x270490(0x571)],'transform':{..._0xef1a3d['element'][_0x270490(0x3b0)],'left':_0x46bd6a[_0x270490(0x479)],'top':_0x46bd6a[_0x270490(0x5ee)]}},'transform':_0x46bd6a}]});}[_0x5defcf(0x558)](){const _0x14008f=_0x5defcf;let _0x4d9d08=this[_0x14008f(0x2db)];_0x4d9d08&&(this[_0x14008f(0x2db)]=null,_0x4d9d08[_0x14008f(0x2a9)](),_0x4d9d08[_0x14008f(0x4b0)]&&clearTimeout(_0x4d9d08['clickFallbackTimer']),_0x4d9d08[_0x14008f(0x583)][_0x14008f(0x39e)](_0x4d9d08[_0x14008f(0x359)],_0x4d9d08[_0x14008f(0x32f)]),_0x4d9d08[_0x14008f(0x583)]['makeDirty'](!0x0),this[_0x14008f(0x3ea)][_0x14008f(0x4e4)](this[_0x14008f(0x51f)]['unitId'],new Map([[_0x4d9d08['object'][_0x14008f(0x62b)],_0x4d9d08[_0x14008f(0x583)]]])),this[_0x14008f(0x72d)]['refreshTransformNotification']([{...this[_0x14008f(0x421)](_0x4d9d08[_0x14008f(0x42f)]),'transform':_0x4d9d08[_0x14008f(0x46d)]}]));}['_resolvePointerScenePoint'](_0x5aefc5,_0x566556){const _0x324a10=_0x5defcf;let _0x2a3ea8=_0x5aefc5;if(_0x566556!=null&&_0x566556[_0x324a10(0x345)]&&Du(_0x2a3ea8[_0x324a10(0x1b4)])&&Du(_0x2a3ea8[_0x324a10(0x5cc)]))return this['_resolveScenePoint'](_0x2a3ea8[_0x324a10(0x1b4)],_0x2a3ea8[_0x324a10(0x5cc)]);if(Du(_0x2a3ea8[_0x324a10(0x392)])&&Du(_0x2a3ea8[_0x324a10(0x4bc)])){var _0x20ccbb,_0x30b68f,_0x49cc5d;let _0x2ca236=(_0x20ccbb=this[_0x324a10(0x51f)][_0x324a10(0x618)])==null||(_0x30b68f=_0x20ccbb['getCanvasElement'])==null||(_0x30b68f=_0x30b68f[_0x324a10(0x283)](_0x20ccbb))==null||(_0x49cc5d=_0x30b68f[_0x324a10(0x61c)])==null?void 0x0:_0x49cc5d[_0x324a10(0x283)](_0x30b68f);if(_0x2ca236)return this[_0x324a10(0x4dd)](_0x2a3ea8[_0x324a10(0x392)]-_0x2ca236[_0x324a10(0x479)],_0x2a3ea8['clientY']-_0x2ca236['top']);}return this[_0x324a10(0x4dd)](_0x2a3ea8[_0x324a10(0x1b4)]??0x0,_0x2a3ea8['offsetY']??0x0);}[_0x5defcf(0x2c8)](_0x5c06d3){const _0x1635ce=_0x5defcf;let _0x4c6732=_0x5c06d3;if(Du(_0x4c6732[_0x1635ce(0x392)])&&Du(_0x4c6732[_0x1635ce(0x4bc)])){var _0x19f83f,_0x51dac5,_0x1beb3c;let _0x23d395=(_0x19f83f=this['_renderContext'][_0x1635ce(0x618)])==null||(_0x51dac5=_0x19f83f['getCanvasElement'])==null||(_0x51dac5=_0x51dac5[_0x1635ce(0x283)](_0x19f83f))==null||(_0x1beb3c=_0x51dac5[_0x1635ce(0x61c)])==null?void 0x0:_0x1beb3c[_0x1635ce(0x283)](_0x51dac5);return{'x':_0x4c6732['clientX']-((_0x23d395==null?void 0x0:_0x23d395[_0x1635ce(0x479)])??0x0),'y':_0x4c6732[_0x1635ce(0x4bc)]-((_0x23d395==null?void 0x0:_0x23d395['top'])??0x0)};}return{'x':_0x4c6732[_0x1635ce(0x1b4)]??0x0,'y':_0x4c6732['offsetY']??0x0};}['_createViewportPointerEvent'](_0xf46917,_0x3dc8b6){const _0x24e393=_0x5defcf;let _0x13f746=_0xf46917;return{..._0x13f746,'button':_0x13f746[_0x24e393(0x52d)],'buttons':_0x13f746[_0x24e393(0x263)],'offsetX':_0x3dc8b6['x'],'offsetY':_0x3dc8b6['y'],'clientX':void 0x0,'clientY':void 0x0,'preventDefault':()=>{const _0x1993d9=_0x24e393;var _0x120857;return(_0x120857=_0x13f746[_0x1993d9(0x574)])==null?void 0x0:_0x120857[_0x1993d9(0x283)](_0x13f746);},'stopPropagation':()=>{const _0x3ef601=_0x24e393;var _0x6bd247;return(_0x6bd247=_0x13f746[_0x3ef601(0x724)])==null?void 0x0:_0x6bd247[_0x3ef601(0x283)](_0x13f746);}};}[_0x5defcf(0x500)](_0x25517c){const _0x4f25ab=_0x5defcf;var _0x4fae63,_0x324c63,_0x436d73,_0x1bfa7b;let _0x4bec82=this[_0x4f25ab(0x451)];if(!_0x4bec82)return;let _0x129cfe=this['_resolveScenePoint'](_0x25517c[_0x4f25ab(0x1b4)],_0x25517c['offsetY']),_0x5a3538=this[_0x4f25ab(0x205)](_0x4bec82[_0x4f25ab(0x583)],_0x129cfe['x'],_0x129cfe['y']),_0x11ef13=_0x4bec82['handle'][_0x4f25ab(0x71b)]===_0x4f25ab(0x3f1)?_0x5a3538['x']-_0x4bec82[_0x4f25ab(0x37e)]['x']:_0x5a3538['y']-_0x4bec82[_0x4f25ab(0x37e)]['y'],_0x220b10=au(_0x4bec82[_0x4f25ab(0x690)],_0x4bec82['object'][_0x4f25ab(0x58e)],_0x4bec82[_0x4f25ab(0x583)]['height'],{..._0x4bec82['handle'],'delta':_0x11ef13,'minSize':0xc});_0x4bec82[_0x4f25ab(0x536)]=_0x220b10,(_0x4fae63=(_0x324c63=_0x4bec82[_0x4f25ab(0x583)])[_0x4f25ab(0x4cd)])==null||_0x4fae63['call'](_0x324c63,_0x220b10),this[_0x4f25ab(0x523)](_0x4bec82[_0x4f25ab(0x2dc)][_0x4f25ab(0x71b)]),(_0x436d73=(_0x1bfa7b=this[_0x4f25ab(0x51f)][_0x4f25ab(0x667)])[_0x4f25ab(0x623)])==null||_0x436d73[_0x4f25ab(0x283)](_0x1bfa7b,!0x0);}[_0x5defcf(0x3f0)](_0x395cbc){const _0x10fe59=_0x5defcf;var _0x608971,_0x398e8b;let _0x35f0a5=this[_0x10fe59(0x451)];if(!_0x35f0a5)return;this['_updateResizeDrag'](_0x395cbc);let _0x3c9312=_0x35f0a5[_0x10fe59(0x536)];(_0x608971=(_0x398e8b=_0x35f0a5[_0x10fe59(0x583)])[_0x10fe59(0x4cd)])==null||_0x608971[_0x10fe59(0x283)](_0x398e8b,null),this[_0x10fe59(0x451)]=null,this[_0x10fe59(0x41c)](),vu(_0x35f0a5[_0x10fe59(0x690)],_0x3c9312,_0x35f0a5[_0x10fe59(0x2dc)][_0x10fe59(0x71b)])&&this[_0x10fe59(0x710)][_0x10fe59(0x38f)](_0x296a89['id'],{'unitId':_0x35f0a5[_0x10fe59(0x379)],'tableId':_0x35f0a5[_0x10fe59(0x6a7)],'patch':_0x35f0a5['handle'][_0x10fe59(0x71b)]===_0x10fe59(0x3f1)?{'columns':_0x3c9312[_0x10fe59(0x5ca)]}:{'rows':_0x3c9312[_0x10fe59(0x360)]}});}['_setResizeCursor'](_0x181e94){const _0x2b8656=_0x5defcf;this[_0x2b8656(0x6db)]=!0x0,this[_0x2b8656(0x51f)][_0x2b8656(0x667)][_0x2b8656(0x448)](_0x181e94===_0x2b8656(0x3f1)?_0x30421b[_0x2b8656(0x4ac)]:_0x30421b[_0x2b8656(0x5ed)]);}[_0x5defcf(0x41c)](){const _0x1cf8ab=_0x5defcf;this[_0x1cf8ab(0x6db)]&&(this['_resizeHoverActive']=!0x1,this[_0x1cf8ab(0x51f)][_0x1cf8ab(0x667)][_0x1cf8ab(0x5cd)]());}['_isTableTextEditing'](){const _0x1e1431=_0x5defcf;var _0x302289;return((_0x302289=this[_0x1e1431(0x531)]['getSelection']())==null?void 0x0:_0x302289[_0x1e1431(0x521)])==='text';}['_isTableDrawingActive'](_0x5fa500){const _0x26fac7=_0x5defcf;var _0x85e3a,_0x5ecd24,_0xd6a482,_0x1c3f02,_0x2e056a;let _0x2b2ac4=(_0x85e3a=this[_0x26fac7(0x531)])==null||(_0x5ecd24=_0x85e3a['getSelection'])==null?void 0x0:_0x5ecd24[_0x26fac7(0x283)](_0x85e3a);if((_0x2b2ac4==null?void 0x0:_0x2b2ac4['kind'])===_0x26fac7(0x590)&&_0x2b2ac4[_0x26fac7(0x379)]===_0x5fa500[_0x26fac7(0x379)]&&_0x2b2ac4[_0x26fac7(0x6b4)]===_0x5fa500[_0x26fac7(0x6b4)]&&_0x2b2ac4['elementId']===_0x5fa500[_0x26fac7(0x1ba)]&&_0x5fa500[_0x26fac7(0x571)]['type']===_0x16fba9[_0x26fac7(0x3f9)]&&_0x2b2ac4[_0x26fac7(0x6a7)]===_0x5fa500['element'][_0x26fac7(0x6a7)])return!0x0;let _0x2ab47e=(_0xd6a482=this[_0x26fac7(0x4a2)])==null||(_0x1c3f02=_0xd6a482[_0x26fac7(0x6d0)])==null?void 0x0:_0x1c3f02[_0x26fac7(0x283)](_0xd6a482);return!_0x2ab47e||((_0x2e056a=_0x2ab47e[_0x26fac7(0x278)])==null?void 0x0:_0x2e056a[_0x26fac7(0x379)])===_0x5fa500[_0x26fac7(0x379)]&&_0x2ab47e['context'][_0x26fac7(0x6b4)]===_0x5fa500[_0x26fac7(0x6b4)]&&_0x2ab47e[_0x26fac7(0x625)][_0x26fac7(0x1cb)](_0x5fa500[_0x26fac7(0x1ba)]);}['_isTableInteractionInProgress'](_0x285c28){const _0x59fe04=_0x5defcf;var _0x37cf54,_0x1abd5b;let _0x3064fc=_0x400733=>_0x400733?_0x400733['drawing']?_0x400733[_0x59fe04(0x42f)][_0x59fe04(0x379)]===_0x285c28[_0x59fe04(0x379)]&&_0x400733[_0x59fe04(0x42f)]['subUnitId']===_0x285c28[_0x59fe04(0x6b4)]&&_0x400733[_0x59fe04(0x42f)][_0x59fe04(0x1ba)]===_0x285c28[_0x59fe04(0x60f)]:_0x400733[_0x59fe04(0x379)]===_0x285c28[_0x59fe04(0x379)]&&_0x400733[_0x59fe04(0x6a7)]===_0x285c28[_0x59fe04(0x6a7)]:!0x1,_0x1cde81=((_0x37cf54=(_0x1abd5b=this['_tableSelectionService'])[_0x59fe04(0x6a1)])==null?void 0x0:_0x37cf54[_0x59fe04(0x283)](_0x1abd5b))??!0x1;return _0x285c28[_0x59fe04(0x521)]===_0x59fe04(0x590)||_0x1cde81||_0x3064fc(this['_rangeDragContext'])||_0x3064fc(this[_0x59fe04(0x55c)])||_0x3064fc(this['_tableMoveDragContext'])||_0x3064fc(this[_0x59fe04(0x451)])||_0x3064fc(this[_0x59fe04(0x389)])||_0x3064fc(this[_0x59fe04(0x482)]);}['_selectResolvedCell'](_0x237703,_0x3bd0eb,_0x5f1290){const _0x23187a=_0x5defcf;var _0x4ad7ab,_0x32e8ab,_0x3a9c4d;if(_0x237703[_0x23187a(0x571)][_0x23187a(0x495)]!==_0x16fba9[_0x23187a(0x3f9)])return;this['_enterCellStage']();let _0x1c52f7=this[_0x23187a(0x531)][_0x23187a(0x63f)]({'unitId':_0x237703[_0x23187a(0x379)],'subUnitId':_0x237703[_0x23187a(0x6b4)],'elementId':_0x237703[_0x23187a(0x1ba)],'tableId':_0x237703[_0x23187a(0x571)]['tableId'],'row':_0x5f1290['row'],'column':_0x5f1290['column']});(_0x4ad7ab=_0x3bd0eb['setTableSelection'])==null||_0x4ad7ab[_0x23187a(0x283)](_0x3bd0eb,{'kind':fu(_0x1c52f7['kind']),'ranges':_0x1c52f7[_0x23187a(0x649)],'active':{'row':_0x5f1290[_0x23187a(0x4b9)],'column':_0x5f1290['column']}}),this[_0x23187a(0x190)](!0x0),(_0x32e8ab=(_0x3a9c4d=this['_renderContext']['scene'])['makeDirty'])==null||_0x32e8ab[_0x23187a(0x283)](_0x3a9c4d,!0x0);}[_0x5defcf(0x2e7)](_0x19690e,_0x6e1b94,_0xd2fccc=this[_0x5defcf(0x531)]['getSelection']()){const _0x2a49de=_0x5defcf;var _0x580dca,_0x4c3531;if(!_0xd2fccc||_0x19690e['element'][_0x2a49de(0x495)]!==_0x16fba9[_0x2a49de(0x3f9)]||_0xd2fccc[_0x2a49de(0x379)]!==_0x19690e[_0x2a49de(0x379)]||_0xd2fccc[_0x2a49de(0x6b4)]!==_0x19690e[_0x2a49de(0x6b4)]||_0xd2fccc['elementId']!==_0x19690e[_0x2a49de(0x1ba)]||_0xd2fccc[_0x2a49de(0x6a7)]!==_0x19690e[_0x2a49de(0x571)]['tableId'])return;let _0x57be0b=_0xd2fccc[_0x2a49de(0x61b)]??_0xd2fccc[_0x2a49de(0x6c5)]??pu(_0xd2fccc[_0x2a49de(0x649)]);(_0x580dca=_0x6e1b94[_0x2a49de(0x37f)])==null||_0x580dca[_0x2a49de(0x283)](_0x6e1b94,{'kind':fu(_0xd2fccc[_0x2a49de(0x521)]),'ranges':_0xd2fccc[_0x2a49de(0x649)],'active':_0x57be0b}),(_0x4c3531=_0x6e1b94[_0x2a49de(0x3cd)])==null||_0x4c3531[_0x2a49de(0x283)](_0x6e1b94,_0xd2fccc[_0x2a49de(0x521)]==='text'?_0x57be0b??null:null);}[_0x5defcf(0x6f0)](_0x2b6476,_0x1992c3,_0x2e55e8,_0x100ced){const _0x50a02c=_0x5defcf;var _0x2e8993,_0x29be10,_0x125543;if(_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x495)]!==_0x16fba9['Table'])return;let _0x2137e0=this[_0x50a02c(0x599)][_0x50a02c(0x2aa)](_0x2b6476[_0x50a02c(0x379)],_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x6a7)]);if(!_0x2137e0)return;this['_enterCellStage']();let _0x29519e=_0x5f5bd9(_0x2137e0,{'startRow':_0x2e55e8,'endRow':_0x100ced,'startColumn':0x0,'endColumn':Math[_0x50a02c(0x6bf)](0x0,_0x2137e0[_0x50a02c(0x5ca)]['length']-0x1)}),_0x4c3d98=this[_0x50a02c(0x531)][_0x50a02c(0x55d)]({'unitId':_0x2b6476['unitId'],'subUnitId':_0x2b6476[_0x50a02c(0x6b4)],'elementId':_0x2b6476[_0x50a02c(0x1ba)],'tableId':_0x2b6476[_0x50a02c(0x571)][_0x50a02c(0x6a7)],'startRow':_0x29519e[_0x50a02c(0x1d3)],'endRow':_0x29519e[_0x50a02c(0x573)],'columnCount':_0x2137e0[_0x50a02c(0x5ca)]['length']});(_0x2e8993=_0x1992c3['setTableSelection'])==null||_0x2e8993[_0x50a02c(0x283)](_0x1992c3,{'kind':fu(_0x4c3d98[_0x50a02c(0x521)]),'ranges':_0x4c3d98[_0x50a02c(0x649)]}),this[_0x50a02c(0x190)](!0x0),(_0x29be10=(_0x125543=this[_0x50a02c(0x51f)][_0x50a02c(0x667)])['makeDirty'])==null||_0x29be10['call'](_0x125543,!0x0);}[_0x5defcf(0x3b4)](_0x37cc9a,_0x7fa192,_0x39935b,_0x31c589){const _0x3140f0=_0x5defcf;var _0x16352e,_0x235014,_0xf44795;if(_0x37cc9a['element'][_0x3140f0(0x495)]!==_0x16fba9[_0x3140f0(0x3f9)])return;let _0xa4b1be=this[_0x3140f0(0x599)][_0x3140f0(0x2aa)](_0x37cc9a['unitId'],_0x37cc9a['element'][_0x3140f0(0x6a7)]);if(!_0xa4b1be)return;this[_0x3140f0(0x6ec)]();let _0x4d38f3=_0x5f5bd9(_0xa4b1be,{'startRow':0x0,'endRow':Math['max'](0x0,_0xa4b1be['rows']['length']-0x1),'startColumn':_0x39935b,'endColumn':_0x31c589}),_0x5033b2=this['_tableSelectionService'][_0x3140f0(0x5e9)]({'unitId':_0x37cc9a['unitId'],'subUnitId':_0x37cc9a[_0x3140f0(0x6b4)],'elementId':_0x37cc9a['drawingId'],'tableId':_0x37cc9a['element'][_0x3140f0(0x6a7)],'startColumn':_0x4d38f3[_0x3140f0(0x3cc)],'endColumn':_0x4d38f3[_0x3140f0(0x351)],'rowCount':_0xa4b1be[_0x3140f0(0x360)][_0x3140f0(0x393)]});(_0x16352e=_0x7fa192[_0x3140f0(0x37f)])==null||_0x16352e[_0x3140f0(0x283)](_0x7fa192,{'kind':fu(_0x5033b2[_0x3140f0(0x521)]),'ranges':_0x5033b2[_0x3140f0(0x649)]}),this[_0x3140f0(0x190)](!0x0),(_0x235014=(_0xf44795=this[_0x3140f0(0x51f)][_0x3140f0(0x667)])[_0x3140f0(0x623)])==null||_0x235014['call'](_0xf44795,!0x0);}['_selectTable'](_0x1354f0,_0x581955){const _0x589374=_0x5defcf;var _0x26d41a,_0x2509ae,_0x4f1418;if(_0x1354f0['element'][_0x589374(0x495)]!==_0x16fba9[_0x589374(0x3f9)])return;let _0x372362=this[_0x589374(0x599)][_0x589374(0x2aa)](_0x1354f0[_0x589374(0x379)],_0x1354f0[_0x589374(0x571)][_0x589374(0x6a7)]);if(!_0x372362)return;this['_activateWholeTableSelection'](_0x581955);let _0x247ff1=this[_0x589374(0x531)]['selectTable']({'unitId':_0x1354f0[_0x589374(0x379)],'subUnitId':_0x1354f0['subUnitId'],'elementId':_0x1354f0[_0x589374(0x1ba)],'tableId':_0x1354f0[_0x589374(0x571)]['tableId'],'rowCount':_0x372362[_0x589374(0x360)][_0x589374(0x393)],'columnCount':_0x372362['columns'][_0x589374(0x393)]});(_0x26d41a=_0x581955['setTableSelection'])==null||_0x26d41a['call'](_0x581955,{'kind':fu(_0x247ff1[_0x589374(0x521)]),'ranges':_0x247ff1['ranges']}),this[_0x589374(0x190)](!0x0),(_0x2509ae=(_0x4f1418=this[_0x589374(0x51f)][_0x589374(0x667)])['makeDirty'])==null||_0x2509ae[_0x589374(0x283)](_0x4f1418,!0x0);}[_0x5defcf(0x2df)](_0x2806b7){const _0x300d84=_0x5defcf;var _0x1fdb72,_0x42a8f9,_0x51d1b4;this[_0x300d84(0x20a)]=_0x300d84(0x690),(_0x1fdb72=_0x2806b7[_0x300d84(0x37f)])==null||_0x1fdb72[_0x300d84(0x283)](_0x2806b7,{'ranges':[]}),this[_0x300d84(0x190)](!0x1),this['_setTableObjectKeyboardFocus'](!0x0),(_0x42a8f9=(_0x51d1b4=this[_0x300d84(0x51f)][_0x300d84(0x667)])[_0x300d84(0x623)])==null||_0x42a8f9[_0x300d84(0x283)](_0x51d1b4,!0x0);}['_enterCellStage'](){const _0x51ba41=_0x5defcf;this[_0x51ba41(0x20a)]!==_0x51ba41(0x1a8)&&(this[_0x51ba41(0x20a)]=_0x51ba41(0x1a8)),this['_setTableObjectKeyboardFocus'](!0x1),this[_0x51ba41(0x503)]();}['_syncActivationStageFromSelection'](_0x4fa13c){const _0x49e346=_0x5defcf;let _0x56c8a7=this[_0x49e346(0x6c2)](_0x4fa13c);this[_0x49e346(0x20a)]=_0x56c8a7?_0x49e346(0x1a8):_0x49e346(0x690),this[_0x49e346(0x190)](_0x56c8a7&&_0x4fa13c[_0x49e346(0x521)]!==_0x49e346(0x590)),this[_0x49e346(0x4e8)](!_0x56c8a7),_0x56c8a7&&this[_0x49e346(0x503)]();}[_0x5defcf(0x60e)](_0x11ce53){const _0x289cf3=_0x5defcf;var _0x325a0d;if(_0x11ce53[_0x289cf3(0x571)][_0x289cf3(0x495)]!==_0x16fba9['Table'])return!0x0;let _0x18829f=this['_tableSelectionService'][_0x289cf3(0x1cf)]();return!(_0x18829f&&_0x18829f[_0x289cf3(0x379)]===_0x11ce53[_0x289cf3(0x379)]&&_0x18829f['subUnitId']===_0x11ce53[_0x289cf3(0x6b4)]&&_0x18829f[_0x289cf3(0x60f)]===_0x11ce53[_0x289cf3(0x1ba)]&&this[_0x289cf3(0x6c2)](_0x18829f)||((_0x325a0d=this['_lastActiveTableContext'])==null?void 0x0:_0x325a0d['unitId'])===_0x11ce53['unitId']&&this['_lastActiveTableContext'][_0x289cf3(0x6b4)]===_0x11ce53['subUnitId']&&this['_lastActiveTableContext'][_0x289cf3(0x60f)]===_0x11ce53[_0x289cf3(0x1ba)]&&this['_tableActivationStage']==='cell');}['_hideTableTransformerControls'](){const _0x18dbd9=_0x5defcf;var _0x2a5822,_0x4b89e7,_0x1eba61,_0x41efb1,_0x2584e3;let _0x4e2d6d=(_0x2a5822=(_0x4b89e7=this[_0x18dbd9(0x51f)]['scene'])[_0x18dbd9(0x2fa)])==null?void 0x0:_0x2a5822[_0x18dbd9(0x283)](_0x4b89e7);_0x4e2d6d==null||(_0x1eba61=_0x4e2d6d[_0x18dbd9(0x40d)])==null||_0x1eba61[_0x18dbd9(0x283)](_0x4e2d6d),(_0x41efb1=(_0x2584e3=this[_0x18dbd9(0x51f)][_0x18dbd9(0x667)])[_0x18dbd9(0x623)])==null||_0x41efb1[_0x18dbd9(0x283)](_0x2584e3,!0x0);}[_0x5defcf(0x5d6)](_0x364bfb){const _0x33c72a=_0x5defcf;var _0x53adc9,_0x3141d3;if(this[_0x33c72a(0x513)]()){let _0xc09331=this[_0x33c72a(0x33c)][_0x33c72a(0x21a)](),_0x566de3=cu(_0x364bfb);return!_0xc09331||!_0x566de3?!0x1:this[_0x33c72a(0x243)](_0x566de3,_0xc09331[_0x33c72a(0x278)],this[_0x33c72a(0x426)]);}if(_0x364bfb==='edit-cell')return this[_0x33c72a(0x414)]();let _0x2b7a85=this[_0x33c72a(0x42c)]();if(!_0x2b7a85||_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x571)]['type']!==_0x16fba9[_0x33c72a(0x3f9)])return!0x1;if(_0x364bfb===_0x33c72a(0x1e8))return this['_clearSelectedCellContents'](_0x2b7a85);let _0x117bae=Ka(_0x364bfb);if(!_0x117bae)return!0x1;if(_0x117bae[_0x33c72a(0x4c2)]){var _0x6c2178,_0x346aff;let _0xed17c8=_0x2b7a85[_0x33c72a(0x5d2)][_0x33c72a(0x6c5)]??_0x2b7a85[_0x33c72a(0x61b)],_0x27e1f4=qa(_0x2b7a85[_0x33c72a(0x61b)],_0x117bae,_0x2b7a85['table'][_0x33c72a(0x360)][_0x33c72a(0x393)],_0x2b7a85[_0x33c72a(0x690)]['columns']['length']),_0x18fd2b=_0x5f5bd9(_0x2b7a85[_0x33c72a(0x690)],{'startRow':_0xed17c8['row'],'startColumn':_0xed17c8['column'],'endRow':_0x27e1f4[_0x33c72a(0x4b9)],'endColumn':_0x27e1f4['column']}),_0x1e37dd=this[_0x33c72a(0x531)][_0x33c72a(0x256)]({'unitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x379)],'subUnitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x6b4)],'elementId':_0x2b7a85['drawing'][_0x33c72a(0x1ba)],'tableId':_0x2b7a85[_0x33c72a(0x42f)]['element'][_0x33c72a(0x6a7)],..._0x18fd2b});(_0x6c2178=(_0x346aff=_0x2b7a85[_0x33c72a(0x583)])[_0x33c72a(0x37f)])==null||_0x6c2178[_0x33c72a(0x283)](_0x346aff,{'kind':fu(_0x1e37dd[_0x33c72a(0x521)]),'ranges':_0x1e37dd['ranges'],'active':_0x27e1f4});}else{var _0x238437,_0x57c1f0;let _0x1f26e7=qa(_0x2b7a85[_0x33c72a(0x61b)],_0x117bae,_0x2b7a85[_0x33c72a(0x690)]['rows']['length'],_0x2b7a85['table'][_0x33c72a(0x5ca)][_0x33c72a(0x393)]),_0x24266c=this['_tableSelectionService'][_0x33c72a(0x63f)]({'unitId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x379)],'subUnitId':_0x2b7a85['drawing'][_0x33c72a(0x6b4)],'elementId':_0x2b7a85['drawing']['drawingId'],'tableId':_0x2b7a85[_0x33c72a(0x42f)][_0x33c72a(0x571)][_0x33c72a(0x6a7)],'row':_0x1f26e7[_0x33c72a(0x4b9)],'column':_0x1f26e7[_0x33c72a(0x3f1)]});(_0x238437=(_0x57c1f0=_0x2b7a85['object'])['setTableSelection'])==null||_0x238437[_0x33c72a(0x283)](_0x57c1f0,{'kind':fu(_0x24266c[_0x33c72a(0x521)]),'ranges':_0x24266c['ranges'],'active':_0x1f26e7});}return this[_0x33c72a(0x190)](!0x0),(_0x53adc9=(_0x3141d3=this['_renderContext'][_0x33c72a(0x667)])['makeDirty'])==null||_0x53adc9['call'](_0x3141d3,!0x0),!0x0;}[_0x5defcf(0x617)](_0xc55774){const _0x5a3278=_0x5defcf;if(_0xc55774[_0x5a3278(0x47e)]||!this[_0x5a3278(0x561)]['getContextValue'](_0x5a3278(0x49f))||this[_0x5a3278(0x513)]())return null;let _0x31e009=this['_resolveActiveSelectionForKeyboard']();return(_0x31e009==null?void 0x0:_0x31e009[_0x5a3278(0x5d2)][_0x5a3278(0x379)])===this[_0x5a3278(0x51f)][_0x5a3278(0x379)]?_0x31e009:null;}['_canCopyTable'](_0x27b598){const _0x3d38c9=_0x5defcf;return _0x16c821(this[_0x3d38c9(0x1a9)],_0x27b598[_0x3d38c9(0x379)],_0x27b598[_0x3d38c9(0x379)],_0x425808[_0x3d38c9(0x598)]);}async[_0x5defcf(0x612)](_0x2d7d6e,_0x9e9cff){const _0x5cb2f6=_0x5defcf;var _0x155f57,_0x2924cd,_0x152e66,_0x21e6dd;return await this[_0x5cb2f6(0x710)]['executeCommand'](_0x296a89['id'],{'unitId':_0x2d7d6e[_0x5cb2f6(0x5d2)]['unitId'],'tableId':_0x2d7d6e[_0x5cb2f6(0x5d2)][_0x5cb2f6(0x6a7)],'patch':_0x9e9cff})?((_0x155f57=(_0x2924cd=_0x2d7d6e[_0x5cb2f6(0x583)])['setTableSelection'])==null||_0x155f57[_0x5cb2f6(0x283)](_0x2924cd,{'kind':fu(_0x2d7d6e['selection'][_0x5cb2f6(0x521)]),'ranges':_0x2d7d6e[_0x5cb2f6(0x5d2)][_0x5cb2f6(0x649)],'active':_0x2d7d6e[_0x5cb2f6(0x5d2)]['focus']}),this[_0x5cb2f6(0x190)](!0x0),(_0x152e66=(_0x21e6dd=this['_renderContext']['scene'])[_0x5cb2f6(0x623)])==null||_0x152e66['call'](_0x21e6dd,!0x0),!0x0):!0x1;}async['_insertClipboardImages'](_0x1baa80,_0x17f7c0=0x0){const _0x2c51dc=_0x5defcf;for(let _0x19c299=0x0;_0x19c299<_0x1baa80['length'];_0x19c299++){let _0x4d0932=_0x1baa80[_0x19c299],_0x2ce528=await _0x351a08(_0x4d0932);if(_0x2ce528){let _0xbf4e93=(_0x17f7c0+_0x19c299)*0x20;_0xbf4e93===0x0?await this[_0x2c51dc(0x30a)][_0x2c51dc(0x314)](_0x2ce528):await this[_0x2c51dc(0x30a)][_0x2c51dc(0x314)](_0x2ce528,{'offset':{'x':_0xbf4e93,'y':_0xbf4e93}});}}}[_0x5defcf(0x26b)](_0x453cfa){const _0x505abf=_0x5defcf;return _0x453cfa['kind']===_0x505abf(0x702)?this[_0x505abf(0x414)]():this[_0x505abf(0x513)]()||!_0x453cfa['text']?!0x1:this[_0x505abf(0x414)]({'initialText':_0x453cfa[_0x505abf(0x590)]});}[_0x5defcf(0x335)](_0x468576){const _0xe026e2=_0x5defcf;var _0x3b91c1,_0x48b6ee,_0x5abd0f,_0x5645b1;let _0x401a9f=Hl(_0x468576[_0xe026e2(0x690)],_0x468576[_0xe026e2(0x5d2)]);return _0x401a9f&&this[_0xe026e2(0x710)][_0xe026e2(0x38f)](_0x296a89['id'],{'unitId':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x379)],'tableId':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x6a7)],'patch':_0x401a9f}),(_0x3b91c1=(_0x48b6ee=_0x468576[_0xe026e2(0x583)])[_0xe026e2(0x37f)])==null||_0x3b91c1['call'](_0x48b6ee,{'kind':fu(_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x521)]),'ranges':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x649)],'active':_0x468576[_0xe026e2(0x5d2)][_0xe026e2(0x61b)]}),this[_0xe026e2(0x190)](!0x0),(_0x5abd0f=(_0x5645b1=this['_renderContext'][_0xe026e2(0x667)])[_0xe026e2(0x623)])==null||_0x5abd0f[_0xe026e2(0x283)](_0x5645b1,!0x0),!0x0;}[_0x5defcf(0x414)](_0x4812ab){const _0x378151=_0x5defcf;var _0x4be0c0,_0x572c55;let _0x1aa7bc=this[_0x378151(0x42c)]();if(!_0x1aa7bc||_0x1aa7bc[_0x378151(0x42f)][_0x378151(0x571)]['type']!==_0x16fba9[_0x378151(0x3f9)])return!0x1;let _0x353734=_0x9eb1b0(((_0x4be0c0=(_0x572c55=_0x1aa7bc[_0x378151(0x583)])[_0x378151(0x681)])==null?void 0x0:_0x4be0c0['call'](_0x572c55))??_0x1aa7bc[_0x378151(0x690)]),_0x4112e9=_0x353734[_0x378151(0x405)][_0x378151(0x461)](_0xf38c7d=>_0xf38c7d[_0x378151(0x4b9)]===_0x1aa7bc['focus']['row']&&_0xf38c7d[_0x378151(0x3f1)]===_0x1aa7bc[_0x378151(0x61b)][_0x378151(0x3f1)]&&!_0xf38c7d[_0x378151(0x3f5)])??_0x353734[_0x378151(0x405)][_0x378151(0x461)](_0x475036=>!_0x475036[_0x378151(0x3f5)]&&_0x1aa7bc[_0x378151(0x61b)][_0x378151(0x4b9)]>=_0x475036[_0x378151(0x4b9)]&&_0x1aa7bc['focus'][_0x378151(0x4b9)]<_0x475036[_0x378151(0x4b9)]+_0x475036['rowSpan']&&_0x1aa7bc['focus'][_0x378151(0x3f1)]>=_0x475036['column']&&_0x1aa7bc[_0x378151(0x61b)]['column']<_0x475036[_0x378151(0x3f1)]+_0x475036['columnSpan']);return _0x4112e9?(this['_openCellEditor'](_0x1aa7bc[_0x378151(0x42f)],{'table':_0x1aa7bc[_0x378151(0x690)],'model':_0x353734,'cell':_0x4112e9,'row':_0x4112e9[_0x378151(0x4b9)],'column':_0x4112e9[_0x378151(0x3f1)],'object':_0x1aa7bc[_0x378151(0x583)]},_0x4812ab),!0x0):!0x1;}[_0x5defcf(0x42c)](){const _0x16abb6=_0x5defcf;let _0x28a2ec=this[_0x16abb6(0x531)][_0x16abb6(0x1cf)](),_0x2d249b=_0x28a2ec==null?void 0x0:_0x28a2ec[_0x16abb6(0x649)][0x0];if(!_0x28a2ec||!_0x2d249b||_0x28a2ec[_0x16abb6(0x521)]===_0x16abb6(0x590))return null;let _0x5704b1=this[_0x16abb6(0x470)](_0x28a2ec[_0x16abb6(0x379)],_0x28a2ec[_0x16abb6(0x6b4)],_0x28a2ec['elementId']);if(!_0x5704b1||_0x5704b1[_0x16abb6(0x571)][_0x16abb6(0x495)]!==_0x16fba9[_0x16abb6(0x3f9)]||!this[_0x16abb6(0x308)](_0x5704b1))return null;let _0x4d3eaa=this[_0x16abb6(0x599)][_0x16abb6(0x2aa)](_0x28a2ec[_0x16abb6(0x379)],_0x28a2ec[_0x16abb6(0x6a7)]),_0x3a2f33=this['_renderContext'][_0x16abb6(0x667)]['getObject'](_0x1a21b4(_0x28a2ec['unitId'],_0x28a2ec[_0x16abb6(0x6b4)],_0x28a2ec[_0x16abb6(0x60f)]));return!_0x4d3eaa||!_0x3a2f33?null:{'drawing':_0x5704b1,'object':_0x3a2f33,'table':_0x4d3eaa,'selection':_0x28a2ec,'focus':Ja(_0x28a2ec[_0x16abb6(0x61b)]??{'row':Math[_0x16abb6(0x4a7)](_0x2d249b[_0x16abb6(0x1d3)],_0x2d249b[_0x16abb6(0x573)]),'column':Math[_0x16abb6(0x4a7)](_0x2d249b[_0x16abb6(0x3cc)],_0x2d249b['endColumn'])},_0x4d3eaa[_0x16abb6(0x360)][_0x16abb6(0x393)],_0x4d3eaa['columns'][_0x16abb6(0x393)])};}[_0x5defcf(0x190)](_0x5b83ea){const _0x1afdb1=_0x5defcf;this['_contextService'][_0x1afdb1(0x3b7)](_0x1afdb1(0x49f),_0x5b83ea);}[_0x5defcf(0x4e8)](_0x23d166){const _0x2dc4c8=_0x5defcf;this[_0x2dc4c8(0x561)][_0x2dc4c8(0x3b7)](_0x2dc4c8(0x562),_0x23d166);}[_0x5defcf(0x71c)](_0x16f721){const _0x48be5b=_0x5defcf;let _0x1d276f=this[_0x48be5b(0x222)];if(!_0x1d276f||_0x1d276f[_0x48be5b(0x42f)][_0x48be5b(0x571)][_0x48be5b(0x495)]!==_0x16fba9['Table'])return;if(_0x48be5b(0x263)in _0x16f721&&_0x16f721['buttons']!==void 0x0&&(_0x16f721[_0x48be5b(0x263)]&0x1)!=0x1){this[_0x48be5b(0x39a)]();return;}let _0x255968=this[_0x48be5b(0x700)](_0x16f721),_0x18f316=this[_0x48be5b(0x5bc)](_0x1d276f[_0x48be5b(0x42f)],_0x1d276f[_0x48be5b(0x39d)],_0x255968['x'],_0x255968['y']);_0x18f316&&this[_0x48be5b(0x22d)](_0x1d276f,{'row':_0x18f316[_0x48be5b(0x4b9)],'column':_0x18f316['column']});}[_0x5defcf(0x22d)](_0x3c8bf1,_0x479b05){const _0x30bdc7=_0x5defcf;var _0x396e22,_0x4453eb,_0x268ebe,_0x5a15c5,_0x352c74;if(_0x3c8bf1[_0x30bdc7(0x42f)]['element'][_0x30bdc7(0x495)]!==_0x16fba9[_0x30bdc7(0x3f9)]||_0x3c8bf1['current'][_0x30bdc7(0x4b9)]===_0x479b05[_0x30bdc7(0x4b9)]&&_0x3c8bf1[_0x30bdc7(0x508)][_0x30bdc7(0x3f1)]===_0x479b05[_0x30bdc7(0x3f1)]&&((_0x396e22=this[_0x30bdc7(0x531)]['getSelection']())==null?void 0x0:_0x396e22[_0x30bdc7(0x521)])===_0x30bdc7(0x483))return;_0x3c8bf1[_0x30bdc7(0x508)]=_0x479b05;let _0x41e2f5=_0x5f5bd9(_0x3c8bf1[_0x30bdc7(0x690)],{'startRow':_0x3c8bf1[_0x30bdc7(0x6c5)]['row'],'startColumn':_0x3c8bf1[_0x30bdc7(0x6c5)][_0x30bdc7(0x3f1)],'endRow':_0x479b05['row'],'endColumn':_0x479b05[_0x30bdc7(0x3f1)]}),_0x3fb434=this[_0x30bdc7(0x531)][_0x30bdc7(0x256)]({'unitId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x379)],'subUnitId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x6b4)],'elementId':_0x3c8bf1[_0x30bdc7(0x42f)][_0x30bdc7(0x1ba)],'tableId':_0x3c8bf1['drawing'][_0x30bdc7(0x571)]['tableId'],..._0x41e2f5});(_0x4453eb=(_0x268ebe=_0x3c8bf1[_0x30bdc7(0x583)])[_0x30bdc7(0x37f)])==null||_0x4453eb['call'](_0x268ebe,{'kind':fu(_0x3fb434[_0x30bdc7(0x521)]),'ranges':_0x3fb434[_0x30bdc7(0x649)],'active':_0x479b05}),this[_0x30bdc7(0x190)](!0x0),(_0x5a15c5=(_0x352c74=this[_0x30bdc7(0x51f)]['scene'])['makeDirty'])==null||_0x5a15c5[_0x30bdc7(0x283)](_0x352c74,!0x0);}[_0x5defcf(0x1f8)](){const _0xe09016=_0x5defcf;var _0x245d4e,_0x66045f,_0x261ccb,_0x586330,_0x2b9357,_0x2da7ff,_0x18c528;(_0x245d4e=this['_resizeDragListeners'])==null||_0x245d4e['dispose'](),this[_0xe09016(0x62d)]=null;let _0x66a0c3=this[_0xe09016(0x531)][_0xe09016(0x1cf)](),_0x3d9f97=[_0x66a0c3?{'unitId':_0x66a0c3[_0xe09016(0x379)],'subUnitId':_0x66a0c3[_0xe09016(0x6b4)],'elementId':_0x66a0c3[_0xe09016(0x60f)]}:null,this['_lastActiveTableContext']]['filter'](_0x41b91c=>!!_0x41b91c),_0x3f13a7=_0x3d9f97['filter']((_0x175e36,_0x22313c)=>_0x3d9f97[_0xe09016(0x4fd)](_0x3562f0=>_0x3562f0['unitId']===_0x175e36[_0xe09016(0x379)]&&_0x3562f0[_0xe09016(0x6b4)]===_0x175e36[_0xe09016(0x6b4)]&&_0x3562f0[_0xe09016(0x60f)]===_0x175e36[_0xe09016(0x60f)])===_0x22313c);(_0x66045f=this['_editorDisposable'])==null||_0x66045f['dispose'](),this[_0xe09016(0x594)]=null,this[_0xe09016(0x426)]+=0x1,this['_activeEditorContextKey']=null,this[_0xe09016(0x39a)](),this['_rangeDragContext']=null,this[_0xe09016(0x2ec)]({'focusCell':!0x1}),this['_hoveredTrigger']=null,this[_0xe09016(0x30d)](void 0x0,{'commitMove':!0x1}),this[_0xe09016(0x20a)]=null,this[_0xe09016(0x68a)]=null,this[_0xe09016(0x558)](),(_0x261ccb=this[_0xe09016(0x451)])==null||(_0x2b9357=(_0x586330=_0x261ccb[_0xe09016(0x583)])[_0xe09016(0x4cd)])==null||_0x2b9357[_0xe09016(0x283)](_0x586330,null),this[_0xe09016(0x451)]=null,this[_0xe09016(0x41c)](),this[_0xe09016(0x2b3)](!0x1),this['_setTableKeyboardFocus'](!0x1),this['_setTableObjectKeyboardFocus'](!0x1),_0x3f13a7[_0xe09016(0x4df)](_0x2cdd19=>{const _0x246e5c=_0xe09016;var _0x473fdc,_0x3f4a88,_0x4816ab,_0x24c9df,_0x40c5eb,_0x5d2d12;let _0x97023=this[_0x246e5c(0x51f)][_0x246e5c(0x667)]['getObject'](_0x1a21b4(_0x2cdd19[_0x246e5c(0x379)],_0x2cdd19[_0x246e5c(0x6b4)],_0x2cdd19[_0x246e5c(0x60f)]));_0x97023==null||(_0x473fdc=_0x97023['setEditingCell'])==null||_0x473fdc[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x3f4a88=_0x97023['setPreviewTable'])==null||_0x3f4a88[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x4816ab=_0x97023[_0x246e5c(0x37f)])==null||_0x4816ab[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x24c9df=_0x97023[_0x246e5c(0x557)])==null||_0x24c9df[_0x246e5c(0x283)](_0x97023,null),_0x97023==null||(_0x40c5eb=_0x97023[_0x246e5c(0x2d8)])==null||_0x40c5eb['call'](_0x97023,null),_0x97023==null||(_0x5d2d12=_0x97023['setTableControlHover'])==null||_0x5d2d12[_0x246e5c(0x283)](_0x97023,null);}),this[_0xe09016(0x531)]['clear'](),(_0x2da7ff=(_0x18c528=this[_0xe09016(0x51f)][_0xe09016(0x667)])[_0xe09016(0x623)])==null||_0x2da7ff[_0xe09016(0x283)](_0x18c528,!0x0);}[_0x5defcf(0x352)](_0x4e02b6){const _0x5d177c=_0x5defcf;if(_0x4e02b6[_0x5d177c(0x42f)][_0x5d177c(0x379)]!==this[_0x5d177c(0x51f)][_0x5d177c(0x379)]||_0x4e02b6['drawing'][_0x5d177c(0x571)][_0x5d177c(0x495)]!==_0x16fba9[_0x5d177c(0x3f9)]||!this[_0x5d177c(0x308)](_0x4e02b6[_0x5d177c(0x42f)]))return;let _0x5a20c0=this[_0x5d177c(0x5bc)](_0x4e02b6[_0x5d177c(0x42f)],_0x4e02b6[_0x5d177c(0x62b)],_0x4e02b6[_0x5d177c(0x1b4)],_0x4e02b6['offsetY']);if(!_0x5a20c0)return;let _0x18e80e=this['_editorUIService'][_0x5d177c(0x21a)](),_0x23873e=_0x18e80e==null?void 0x0:_0x18e80e[_0x5d177c(0x278)];this[_0x5d177c(0x520)]()&&(_0x18e80e==null?void 0x0:_0x18e80e[_0x5d177c(0x67a)])===tu&&(_0x23873e==null?void 0x0:_0x23873e[_0x5d177c(0x379)])===_0x4e02b6['drawing'][_0x5d177c(0x379)]&&_0x23873e[_0x5d177c(0x6b4)]===_0x4e02b6[_0x5d177c(0x42f)]['subUnitId']&&_0x23873e[_0x5d177c(0x60f)]===_0x4e02b6['drawing'][_0x5d177c(0x1ba)]&&_0x23873e['row']===_0x5a20c0['row']&&_0x23873e[_0x5d177c(0x3f1)]===_0x5a20c0[_0x5d177c(0x3f1)]||this[_0x5d177c(0x51c)](_0x4e02b6[_0x5d177c(0x42f)],_0x5a20c0);}[_0x5defcf(0x51c)](_0x4f62b4,_0x519bab,_0x36b4b5){const _0x233805=_0x5defcf;var _0x100d8c,_0xe8d63d,_0x579d70,_0x40995a;if(_0x4f62b4[_0x233805(0x571)]['type']!==_0x16fba9[_0x233805(0x3f9)])return;let _0x19f95f=_0x4f62b4['element'],_0x471d0a={'unitId':_0x4f62b4[_0x233805(0x379)],'subUnitId':_0x4f62b4['subUnitId'],'elementId':_0x4f62b4['drawingId'],'tableId':_0x19f95f[_0x233805(0x6a7)],'row':_0x519bab[_0x233805(0x4b9)],'column':_0x519bab['column'],'drawingTransform':_0x4f62b4[_0x233805(0x3b0)]},_0x4d35c0=(_0x36b4b5==null?void 0x0:_0x36b4b5[_0x233805(0x627)])===void 0x0?this[_0x233805(0x584)](_0x519bab['table'],_0x519bab['row'],_0x519bab[_0x233805(0x3f1)]):tc(this['_resolveCellDocumentData'](_0x519bab[_0x233805(0x690)],_0x519bab[_0x233805(0x4b9)],_0x519bab[_0x233805(0x3f1)]),_0x36b4b5[_0x233805(0x627)]),_0x540281=this[_0x233805(0x399)](_0x519bab[_0x233805(0x583)],_0x519bab[_0x233805(0x40b)],_0x519bab[_0x233805(0x1a8)],_0x4d35c0);if(!_0x540281)return;this[_0x233805(0x6ec)]();let _0x332beb=yu(_0x471d0a);this[_0x233805(0x58f)]();let _0x30da4a=(this[_0x233805(0x426)]??0x0)+0x1;if(this[_0x233805(0x426)]=_0x30da4a,this['_activeEditorContextKey']=_0x332beb,_0x36b4b5!=null&&_0x36b4b5['handoffCurrent']){var _0x21bd54,_0x11229c;let _0x4230e5=(_0x21bd54=(_0x11229c=this['_editorUIService'])['getSession'])==null?void 0x0:_0x21bd54[_0x233805(0x283)](_0x11229c);this['_editorUIService'][_0x233805(0x1e7)](_0x4230e5==null?void 0x0:_0x4230e5['documentData'],_0x4230e5==null?void 0x0:_0x4230e5['measurement'],_0x4230e5==null?void 0x0:_0x4230e5[_0x233805(0x3ac)]);}else this['_editorUIService']['complete']();(_0x100d8c=(_0xe8d63d=_0x519bab[_0x233805(0x583)])[_0x233805(0x3cd)])==null||_0x100d8c[_0x233805(0x283)](_0xe8d63d,{'row':_0x519bab[_0x233805(0x1a8)][_0x233805(0x4b9)],'column':_0x519bab['cell'][_0x233805(0x3f1)]});let _0x387fd4=this[_0x233805(0x531)]['enterTextMode'](_0x471d0a);(_0x579d70=(_0x40995a=_0x519bab[_0x233805(0x583)])[_0x233805(0x37f)])==null||_0x579d70[_0x233805(0x283)](_0x40995a,{'kind':fu(_0x387fd4[_0x233805(0x521)]),'ranges':_0x387fd4[_0x233805(0x649)],'active':{'row':_0x519bab['row'],'column':_0x519bab[_0x233805(0x3f1)]}}),this[_0x233805(0x59f)](),this[_0x233805(0x190)](!0x1),this['_editorDisposable']=this[_0x233805(0x33c)][_0x233805(0x1d4)]({'editorId':tu,'documentData':_0x4d35c0,'layout':_0x540281,'context':_0x471d0a,'appearance':_0x233805(0x365),'autoFocus':!0x0,'hideFloatingToolbarAlignment':!0x0,'cellFillColor':Tu(_0x519bab[_0x233805(0x690)],_0x519bab['cell']),'isSingle':!0x1,'onCellFillColorChange':(_0x18b31c,_0x429db8)=>{const _0x12cef6=_0x233805;this[_0x12cef6(0x1c4)](_0x429db8,{'fill':wu(_0x18b31c)});},'onChange':(_0x186a24,_0x190e1a)=>{const _0x1d84fd=_0x233805;this[_0x1d84fd(0x346)](_0x186a24,_0x190e1a,_0x30da4a);},'onComplete':(_0x5756ef,_0x4d14c6)=>{const _0x192da4=_0x233805;this[_0x192da4(0x301)](_0x5756ef,_0x4d14c6,_0x30da4a);},'onCancel':_0x1131ed=>{this['_finishCellEditing'](_0x1131ed,_0x30da4a);},'onPointerDown':(_0x38ffd9,_0xa7780b)=>this['_handleCellEditorPointerDown'](_0x38ffd9,_0xa7780b,_0x30da4a),'onKeyDown':(_0x46b66a,_0x307ed1)=>this[_0x233805(0x243)](_0x46b66a,_0x307ed1,_0x30da4a)});}[_0x5defcf(0x3b1)](_0x17c6dc,_0x43b28a,_0x7f62f1){const _0x57aaaa=_0x5defcf;var _0x3262da;if(!_0x43b28a||!this[_0x57aaaa(0x6b9)](_0x43b28a,_0x7f62f1))return!0x1;let _0xc1b7d0=this[_0x57aaaa(0x599)][_0x57aaaa(0x2aa)](_0x43b28a[_0x57aaaa(0x379)],_0x43b28a['tableId']),_0x22bd64=this['_resolveSelectedTableDrawing'](_0x43b28a[_0x57aaaa(0x379)],_0x43b28a['subUnitId'],_0x43b28a['elementId']);if(!_0xc1b7d0||!_0x22bd64||_0x22bd64[_0x57aaaa(0x571)][_0x57aaaa(0x495)]!==_0x16fba9['Table'])return!0x1;let _0x301a65=_0x1a21b4(_0x43b28a['unitId'],_0x43b28a['subUnitId'],_0x43b28a['elementId']),_0x2e3648=this[_0x57aaaa(0x51f)]['scene']['getObject'](_0x301a65);if(!_0x2e3648)return!0x1;let _0x39b986=this['_resolvePointerScenePoint'](_0x17c6dc),_0x3aae52=this[_0x57aaaa(0x5bc)](_0x22bd64,_0x301a65,_0x39b986['x'],_0x39b986['y']);return!_0x3aae52||_0x3aae52['row']===_0x43b28a[_0x57aaaa(0x4b9)]&&_0x3aae52[_0x57aaaa(0x3f1)]===_0x43b28a[_0x57aaaa(0x3f1)]?!0x1:((_0x3262da=_0x17c6dc['stopTextSelectionDrag'])==null||_0x3262da['call'](_0x17c6dc),this[_0x57aaaa(0x51c)](_0x22bd64,{'table':_0xc1b7d0,'model':_0x3aae52['model'],'cell':_0x3aae52[_0x57aaaa(0x1a8)],'row':_0x3aae52[_0x57aaaa(0x4b9)],'column':_0x3aae52[_0x57aaaa(0x3f1)],'object':_0x2e3648},{'handoffCurrent':!0x0}),!0x0);}[_0x5defcf(0x243)](_0x33effb,_0x5c8339,_0x218c52){const _0xe740ad=_0x5defcf;var _0x23cd67,_0x13a1e5;if(!_0x5c8339||!this[_0xe740ad(0x6b9)](_0x5c8339,_0x218c52))return!0x1;let _0x41c5ba=su(_0x33effb);if(!_0x41c5ba)return!0x1;let _0x48b137=this[_0xe740ad(0x599)]['getTable'](_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6a7)]),_0x18df7b=this[_0xe740ad(0x470)](_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6b4)],_0x5c8339[_0xe740ad(0x60f)]);if(!_0x48b137||!_0x18df7b||_0x18df7b[_0xe740ad(0x571)][_0xe740ad(0x495)]!==_0x16fba9[_0xe740ad(0x3f9)])return!0x1;let _0x16b6e4=qa({'row':_0x5c8339[_0xe740ad(0x4b9)],'column':_0x5c8339[_0xe740ad(0x3f1)]},{'rowDelta':_0x41c5ba[_0xe740ad(0x3e4)],'columnDelta':_0x41c5ba['columnDelta'],'wrap':_0x41c5ba[_0xe740ad(0x353)]},_0x48b137['rows'][_0xe740ad(0x393)],_0x48b137['columns'][_0xe740ad(0x393)]);if(_0x16b6e4['row']===_0x5c8339[_0xe740ad(0x4b9)]&&_0x16b6e4[_0xe740ad(0x3f1)]===_0x5c8339[_0xe740ad(0x3f1)])return!0x1;let _0x15033d=_0x1a21b4(_0x5c8339[_0xe740ad(0x379)],_0x5c8339[_0xe740ad(0x6b4)],_0x5c8339[_0xe740ad(0x60f)]),_0x414bb3=this['_renderContext'][_0xe740ad(0x667)][_0xe740ad(0x2f7)](_0x15033d);if(!_0x414bb3)return!0x1;let _0x20b555=_0x9eb1b0(((_0x23cd67=_0x414bb3[_0xe740ad(0x681)])==null?void 0x0:_0x23cd67['call'](_0x414bb3))??_0x48b137),_0x1ad405=_0x20b555[_0xe740ad(0x405)][_0xe740ad(0x461)](_0x5a7287=>_0x5a7287[_0xe740ad(0x4b9)]===_0x16b6e4[_0xe740ad(0x4b9)]&&_0x5a7287[_0xe740ad(0x3f1)]===_0x16b6e4[_0xe740ad(0x3f1)]&&!_0x5a7287[_0xe740ad(0x3f5)])??_0x20b555[_0xe740ad(0x405)][_0xe740ad(0x461)](_0x3deb28=>!_0x3deb28['hidden']&&_0x16b6e4['row']>=_0x3deb28['row']&&_0x16b6e4[_0xe740ad(0x4b9)]<_0x3deb28[_0xe740ad(0x4b9)]+_0x3deb28[_0xe740ad(0x3bb)]&&_0x16b6e4['column']>=_0x3deb28[_0xe740ad(0x3f1)]&&_0x16b6e4['column']<_0x3deb28[_0xe740ad(0x3f1)]+_0x3deb28[_0xe740ad(0x4c5)]);if(!_0x1ad405)return!0x1;let _0xf1a488=this['_editorUIService'][_0xe740ad(0x21a)]();if(!_0xf1a488)return!0x1;_0x33effb[_0xe740ad(0x574)](),_0x33effb['stopPropagation'](),this[_0xe740ad(0x33c)][_0xe740ad(0x1e7)](_0xf1a488[_0xe740ad(0x5e4)],_0xf1a488[_0xe740ad(0x429)],_0xf1a488[_0xe740ad(0x3ac)]);let _0x3e417a=this[_0xe740ad(0x531)][_0xe740ad(0x63f)]({'unitId':_0x18df7b[_0xe740ad(0x379)],'subUnitId':_0x18df7b['subUnitId'],'elementId':_0x18df7b[_0xe740ad(0x1ba)],'tableId':_0x18df7b[_0xe740ad(0x571)][_0xe740ad(0x6a7)],'row':_0x1ad405[_0xe740ad(0x4b9)],'column':_0x1ad405['column']});return(_0x13a1e5=_0x414bb3[_0xe740ad(0x37f)])==null||_0x13a1e5['call'](_0x414bb3,{'kind':fu(_0x3e417a['kind']),'ranges':_0x3e417a[_0xe740ad(0x649)],'active':{'row':_0x1ad405[_0xe740ad(0x4b9)],'column':_0x1ad405[_0xe740ad(0x3f1)]}}),this[_0xe740ad(0x6ec)](),this[_0xe740ad(0x190)](!0x0),this['_makeSceneDirty'](),!0x0;}[_0x5defcf(0x5bc)](_0x27d42c,_0x591e2f,_0xc3386e,_0x1b81d5){const _0x585036=_0x5defcf;var _0x3b76ff;if(_0x27d42c[_0x585036(0x571)][_0x585036(0x495)]!==_0x16fba9['Table']||_0x27d42c[_0x585036(0x34b)])return null;let _0x224136=this[_0x585036(0x599)][_0x585036(0x2aa)](_0x27d42c['unitId'],_0x27d42c[_0x585036(0x571)][_0x585036(0x6a7)]);if(!_0x224136)return null;let _0x25b21c=this[_0x585036(0x51f)][_0x585036(0x667)][_0x585036(0x2f7)](_0x591e2f);if(!_0x25b21c||_0x25b21c[_0x585036(0x2a5)])return null;let _0x590270=_0x9eb1b0(((_0x3b76ff=_0x25b21c[_0x585036(0x681)])==null?void 0x0:_0x3b76ff[_0x585036(0x283)](_0x25b21c))??_0x224136),_0x2705f0=this['_resolveTablePoint'](_0x25b21c,_0x590270,_0xc3386e,_0x1b81d5),_0x239079=Zs(_0x590270,_0x2705f0['x'],_0x2705f0['y']);if(!_0x239079)return null;let _0x5eac83=_0x590270[_0x585036(0x405)][_0x585036(0x461)](_0x3d5ff3=>_0x3d5ff3[_0x585036(0x4b9)]===_0x239079[_0x585036(0x4b9)]&&_0x3d5ff3[_0x585036(0x3f1)]===_0x239079['column']&&!_0x3d5ff3[_0x585036(0x3f5)]);return _0x5eac83?{'table':_0x224136,'model':_0x590270,'cell':_0x5eac83,'row':_0x239079[_0x585036(0x4b9)],'column':_0x239079[_0x585036(0x3f1)],'object':_0x25b21c}:null;}[_0x5defcf(0x502)](_0x449189,_0x599c50,_0x5ca556,_0x29156e){const _0x4b6c21=_0x5defcf;let _0x3fd1c4=_0x449189[_0x4b6c21(0x387)](new _0x33f54f(_0x5ca556,_0x29156e)),_0x1c1724=_0x3fd1c4['x']+_0x449189[_0x4b6c21(0x58e)]/0x2,_0x36c450=_0x3fd1c4['y']+_0x449189[_0x4b6c21(0x65e)]/0x2,_0x44cfb5=du(_0x599c50[_0x4b6c21(0x58e)]/_0x449189[_0x4b6c21(0x58e)],0x1),_0x5537a1=du(_0x599c50[_0x4b6c21(0x65e)]/_0x449189[_0x4b6c21(0x65e)],0x1);return{'x':_0x1c1724*_0x44cfb5,'y':_0x36c450*_0x5537a1};}[_0x5defcf(0x399)](_0x96f440,_0x8b085d,_0x2804ab,_0x269a27){const _0x5519eb=_0x5defcf;var _0x50a9e7,_0x2b91fd;if(!this[_0x5519eb(0x51f)][_0x5519eb(0x618)]['getCanvasElement']())return null;let _0x2e63bd=this[_0x5519eb(0x51f)][_0x5519eb(0x667)][_0x5519eb(0x58d)](),_0x2cd591=du(_0x2e63bd[_0x5519eb(0x57b)],0x1),_0xf5526a=du(_0x2e63bd[_0x5519eb(0x6c3)],0x1),_0x4c0cbf=nc({'rect':((_0x50a9e7=_0x96f440[_0x5519eb(0x358)])==null?void 0x0:_0x50a9e7[_0x5519eb(0x283)](_0x96f440,_0x2804ab[_0x5519eb(0x4b9)],_0x2804ab[_0x5519eb(0x3f1)],_0x96f440['width'],_0x96f440[_0x5519eb(0x65e)]))??_0x32ac01({'cell':_0x2804ab,'tableWidth':_0x8b085d['width'],'tableHeight':_0x8b085d[_0x5519eb(0x65e)],'targetWidth':_0x96f440[_0x5519eb(0x58e)],'targetHeight':_0x96f440[_0x5519eb(0x65e)],'includeMargins':!0x0}),'tableTransform':{'left':_0x96f440[_0x5519eb(0x479)],'top':_0x96f440['top'],'width':_0x96f440['width'],'height':_0x96f440[_0x5519eb(0x65e)],'angle':_0x96f440[_0x5519eb(0x2c3)],'flipX':_0x96f440[_0x5519eb(0x588)],'flipY':_0x96f440[_0x5519eb(0x6e0)]},'scale':{'scaleX':_0x2cd591,'scaleY':_0xf5526a},'scenePointToViewportPoint':_0x235bad=>this[_0x5519eb(0x2a0)](_0x235bad)}),_0x386087=_0x2804ab[_0x5519eb(0x242)][_0x5519eb(0x2fc)],_0x3fe61d=(_0x2b91fd=_0x269a27[_0x5519eb(0x6e1)])==null?void 0x0:_0x2b91fd[_0x5519eb(0x1ef)];return{..._0x4c0cbf,'horizontalAlign':_0x3fe61d==null?void 0x0:_0x3fe61d[_0x5519eb(0x575)],'isHorizontal':_0x386087!==_0x5519eb(0x511)&&_0x386087!==_0x5519eb(0x317),'verticalAlign':bu(_0x2804ab[_0x5519eb(0x242)][_0x5519eb(0x385)])??(_0x3fe61d==null?void 0x0:_0x3fe61d[_0x5519eb(0x385)])};}[_0x5defcf(0x2a0)](_0x92d953){const _0x41958f=_0x5defcf;var _0xf2c23e,_0x2ed69b,_0x5ed278;let _0x52ed2e=this[_0x41958f(0x51f)][_0x41958f(0x667)],_0x1fadc3=(_0xf2c23e=_0x52ed2e[_0x41958f(0x5d9)])==null?void 0x0:_0xf2c23e['call'](_0x52ed2e)[0x0],_0x5e43ac=_0x1fadc3==null||(_0x2ed69b=_0x1fadc3[_0x41958f(0x5f0)])==null?void 0x0:_0x2ed69b[_0x41958f(0x283)](_0x1fadc3,new _0x33f54f(_0x92d953['x'],_0x92d953['y']));if(_0x5e43ac)return{'x':_0x5e43ac['x'],'y':_0x5e43ac['y']};let _0x29d08f=this['_renderContext'][_0x41958f(0x618)][_0x41958f(0x607)](),_0x498368=(_0x29d08f==null||(_0x5ed278=_0x29d08f[_0x41958f(0x61c)])==null?void 0x0:_0x5ed278[_0x41958f(0x283)](_0x29d08f))??{'left':0x0,'top':0x0},_0x8a6202=_0x52ed2e[_0x41958f(0x58d)](),_0x3ad5d4=du(_0x8a6202[_0x41958f(0x57b)],0x1),_0x130409=du(_0x8a6202[_0x41958f(0x6c3)],0x1);return{'x':_0x498368['left']+_0x92d953['x']*_0x3ad5d4,'y':_0x498368[_0x41958f(0x5ee)]+_0x92d953['y']*_0x130409};}[_0x5defcf(0x584)](_0x11dc58,_0xd24439,_0x4979c9){var _0x574c53;let _0x33e781=tu+'_'+_0x11dc58['id']+'_'+_0xd24439+'_'+_0x4979c9;return ic(((_0x574c53=_0x11dc58['rows'][_0xd24439])==null||(_0x574c53=_0x574c53['cells'][_0x4979c9])==null?void 0x0:_0x574c53['textData'])||{'id':_0x33e781,'body':{'dataStream':'\x0d\x0a'},'documentStyle':{}},_0x33e781);}[_0x5defcf(0x301)](_0x2dbe64,_0x202dbf,_0x279ded){const _0x25b74f=_0x5defcf;var _0x9f452a;if(!_0x202dbf)return;let _0x20953c=this['_tableResourceService']['getTable'](_0x202dbf['unitId'],_0x202dbf[_0x25b74f(0x6a7)]);if(!_0x20953c){this[_0x25b74f(0x6b9)](_0x202dbf,_0x279ded)&&this[_0x25b74f(0x531)]['clear']();return;}let _0xd1a5ed=tu+'_'+_0x20953c['id']+'_'+_0x202dbf[_0x25b74f(0x4b9)]+'_'+_0x202dbf[_0x25b74f(0x3f1)],_0x359764=ic(_0x23e15f(_0x2dbe64),_0xd1a5ed),_0x5efb1f=xu((_0x9f452a=_0x359764[_0x25b74f(0x6e1)])==null||(_0x9f452a=_0x9f452a['renderConfig'])==null?void 0x0:_0x9f452a[_0x25b74f(0x385)]),_0x820c73=_0x423096(_0x20953c,_0x202dbf[_0x25b74f(0x4b9)],_0x202dbf['column'],_0x359764,{'verticalAlign':_0x5efb1f});if(!_0x820c73){this['_isCurrentEditorSession'](_0x202dbf,_0x279ded)&&this[_0x25b74f(0x531)][_0x25b74f(0x31e)]();return;}this[_0x25b74f(0x710)][_0x25b74f(0x6d2)](_0x296a89['id'],{'unitId':_0x202dbf[_0x25b74f(0x379)],'tableId':_0x202dbf['tableId'],'patch':_0x820c73}),this[_0x25b74f(0x5a0)](_0x202dbf,_0x279ded);}[_0x5defcf(0x346)](_0x92cd0c,_0x7a19fc,_0x235de1){const _0x251750=_0x5defcf;var _0x476050,_0x59745e;if(!_0x7a19fc||!this['_isCurrentEditorSession'](_0x7a19fc,_0x235de1))return;let _0x360fe2=this[_0x251750(0x599)][_0x251750(0x2aa)](_0x7a19fc['unitId'],_0x7a19fc['tableId']);if(!_0x360fe2)return;let _0x2e8e78=tu+'_'+_0x360fe2['id']+'_'+_0x7a19fc[_0x251750(0x4b9)]+'_'+_0x7a19fc[_0x251750(0x3f1)],_0x1f157e=ic(_0x23e15f(_0x92cd0c),_0x2e8e78),_0x594996=xu((_0x476050=_0x1f157e['documentStyle'])==null||(_0x476050=_0x476050[_0x251750(0x1ef)])==null?void 0x0:_0x476050[_0x251750(0x385)]),_0x3bb35c=_0x423096(_0x360fe2,_0x7a19fc[_0x251750(0x4b9)],_0x7a19fc['column'],_0x1f157e,{'verticalAlign':_0x594996});if(!_0x3bb35c)return;let _0x11f5ee=this[_0x251750(0x51f)][_0x251750(0x667)][_0x251750(0x2f7)](_0x1a21b4(_0x7a19fc[_0x251750(0x379)],_0x7a19fc[_0x251750(0x6b4)],_0x7a19fc[_0x251750(0x60f)]));_0x11f5ee==null||(_0x59745e=_0x11f5ee[_0x251750(0x4cd)])==null||_0x59745e[_0x251750(0x283)](_0x11f5ee,{..._0x360fe2,..._0x3bb35c}),this[_0x251750(0x5aa)](),this['_makeSceneDirty']();}[_0x5defcf(0x286)](_0x1fd68f,_0x34a666,_0x20a646){}['_handoffCellEditorToRangeSelection'](_0x5da505,_0x34ee51,_0x30345d,_0x3760b4,_0x394b04,_0xa17ea1,_0x3868d5,_0x12f7e5){const _0x5351dd=_0x5defcf;var _0x3d7e32;let _0x3275b9=this[_0x5351dd(0x33c)]['getSession']();_0x3275b9&&this[_0x5351dd(0x6b9)](_0x3275b9[_0x5351dd(0x278)],_0x30345d)&&((_0x3d7e32=_0x5da505[_0x5351dd(0x3f2)])==null||_0x3d7e32[_0x5351dd(0x283)](_0x5da505),this[_0x5351dd(0x33c)][_0x5351dd(0x1e7)](_0x3275b9[_0x5351dd(0x5e4)],_0x3275b9[_0x5351dd(0x429)]),this[_0x5351dd(0x222)]={'drawing':_0x3760b4,'objectKey':_0x394b04,'object':_0xa17ea1,'table':_0x3868d5,'anchor':{'row':_0x34ee51['row'],'column':_0x34ee51[_0x5351dd(0x3f1)]},'current':{'row':_0x34ee51[_0x5351dd(0x4b9)],'column':_0x34ee51[_0x5351dd(0x3f1)]}},this[_0x5351dd(0x376)](),this[_0x5351dd(0x22d)](this[_0x5351dd(0x222)],{'row':_0x12f7e5['row'],'column':_0x12f7e5['column']}));}['_bindRangeDragWindowEvents'](){const _0x2fd348=_0x5defcf;if(this['_rangeDragWindowCleanup']||typeof window>'u')return;let _0x4ab4d2=_0x2dc3a6=>{const _0x296fca=_0x428e;this[_0x296fca(0x71c)](_0x2dc3a6);},_0x41f199=()=>{const _0x46f044=_0x428e;this[_0x46f044(0x39a)]();};window[_0x2fd348(0x63c)]('pointermove',_0x4ab4d2),window[_0x2fd348(0x63c)](_0x2fd348(0x288),_0x41f199),window['addEventListener'](_0x2fd348(0x40c),_0x41f199),this[_0x2fd348(0x71d)]=()=>{const _0x29fcee=_0x2fd348;window['removeEventListener']('pointermove',_0x4ab4d2),window[_0x29fcee(0x688)](_0x29fcee(0x288),_0x41f199),window[_0x29fcee(0x688)](_0x29fcee(0x40c),_0x41f199),this[_0x29fcee(0x71d)]=null;};}[_0x5defcf(0x39a)](){const _0xa2fbb2=_0x5defcf;let _0x24c45e=this['_rangeDragWindowCleanup'];_0x24c45e&&_0x24c45e(),this[_0xa2fbb2(0x222)]=null;}[_0x5defcf(0x643)](_0x3c4629,_0xea3d7f){const _0x415edd=_0x5defcf;var _0x3c617b;_0x3c4629&&((_0x3c617b=this['_rangeDragContext'])==null?void 0x0:_0x3c617b[_0x415edd(0x42f)][_0x415edd(0x379)])===_0x3c4629[_0x415edd(0x379)]&&this[_0x415edd(0x222)][_0x415edd(0x42f)][_0x415edd(0x1ba)]===_0x3c4629[_0x415edd(0x60f)]&&this[_0x415edd(0x39a)]();}['_commitCellStyle'](_0x34da1b,_0x20a263){const _0x5e99e4=_0x5defcf;if(!_0x34da1b)return;let _0xbbf6f=this[_0x5e99e4(0x599)][_0x5e99e4(0x2aa)](_0x34da1b[_0x5e99e4(0x379)],_0x34da1b['tableId']);if(!_0xbbf6f){this[_0x5e99e4(0x531)][_0x5e99e4(0x31e)]();return;}let _0x32b69a=_0xdc70f2[_0x5e99e4(0x597)](_0xbbf6f['rows']),_0x20053e=_0x32b69a[_0x34da1b[_0x5e99e4(0x4b9)]],_0xc8171=_0x20053e==null?void 0x0:_0x20053e[_0x5e99e4(0x405)][_0x34da1b[_0x5e99e4(0x3f1)]];_0x20053e&&_0xc8171&&(_0x20053e[_0x5e99e4(0x405)][_0x34da1b['column']]={..._0xc8171,'style':Su(_0xc8171[_0x5e99e4(0x242)],_0x20a263)},this[_0x5e99e4(0x710)][_0x5e99e4(0x38f)](_0x296a89['id'],{'unitId':_0x34da1b[_0x5e99e4(0x379)],'tableId':_0x34da1b[_0x5e99e4(0x6a7)],'patch':{'rows':_0x32b69a}}));}[_0x5defcf(0x5a0)](_0x249704,_0x51b64c){const _0x10cc8c=_0x5defcf;var _0x2d21e9,_0xed7d28,_0x342840,_0x2f950b;if(!this[_0x10cc8c(0x6b9)](_0x249704,_0x51b64c)||(this[_0x10cc8c(0x531)][_0x10cc8c(0x31e)](),this[_0x10cc8c(0x594)]=null,this[_0x10cc8c(0x48d)]=null,this['_setTableKeyboardFocus'](!0x1),!_0x249704))return;this[_0x10cc8c(0x3aa)]['focusUnit'](_0x249704[_0x10cc8c(0x379)]);let _0x3ee11f=this[_0x10cc8c(0x51f)][_0x10cc8c(0x667)][_0x10cc8c(0x2f7)](_0x1a21b4(_0x249704[_0x10cc8c(0x379)],_0x249704[_0x10cc8c(0x6b4)],_0x249704[_0x10cc8c(0x60f)]));_0x3ee11f==null||(_0x2d21e9=_0x3ee11f[_0x10cc8c(0x3cd)])==null||_0x2d21e9[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0xed7d28=_0x3ee11f[_0x10cc8c(0x37f)])==null||_0xed7d28[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0x342840=_0x3ee11f[_0x10cc8c(0x2a4)])==null||_0x342840[_0x10cc8c(0x283)](_0x3ee11f,null),_0x3ee11f==null||(_0x2f950b=_0x3ee11f[_0x10cc8c(0x4cd)])==null||_0x2f950b[_0x10cc8c(0x283)](_0x3ee11f,null),this[_0x10cc8c(0x651)](_0x249704),this[_0x10cc8c(0x59f)]();}['_isCurrentEditorSession'](_0x3583eb,_0x5072b4){const _0x34d9c7=_0x5defcf;return _0x3583eb?_0x5072b4!==void 0x0&&_0x5072b4!==this[_0x34d9c7(0x426)]?!0x1:this[_0x34d9c7(0x48d)]===yu(_0x3583eb):_0x5072b4===void 0x0||_0x5072b4===this['_editorSessionId'];}[_0x5defcf(0x651)](_0x2920ef){const _0x221772=_0x5defcf;var _0x26776d;this['_drawingStateService'][_0x221772(0x72b)]({'unitId':_0x2920ef[_0x221772(0x379)],'subUnitId':_0x2920ef[_0x221772(0x6b4)]},[_0x2920ef[_0x221772(0x60f)]],_0x2920ef[_0x221772(0x60f)]);let _0x508957=this[_0x221772(0x51f)][_0x221772(0x667)][_0x221772(0x2fa)](),_0x2dc3bc=this[_0x221772(0x51f)][_0x221772(0x667)][_0x221772(0x2f7)](_0x1a21b4(_0x2920ef[_0x221772(0x379)],_0x2920ef[_0x221772(0x6b4)],_0x2920ef['elementId']));_0x508957&&_0x2dc3bc&&!_0x2dc3bc['isInGroup']&&((_0x26776d=_0x508957[_0x221772(0x331)])==null||_0x26776d[_0x221772(0x283)](_0x508957,_0x2dc3bc));}['_makeSceneDirty'](){const _0x58f77b=_0x5defcf;var _0x14eb3a,_0x272806;(_0x14eb3a=(_0x272806=this[_0x58f77b(0x51f)][_0x58f77b(0x667)])[_0x58f77b(0x623)])==null||_0x14eb3a[_0x58f77b(0x283)](_0x272806,!0x0);}};ou=Ha([Q(0x1,_0x41ffca(_0x2ebce1)),Q(0x2,_0x41ffca(_0x161eee)),Q(0x3,_0x41ffca(J)),Q(0x4,_0x42bec5),Q(0x5,_0x41ffca(_0x2f1910)),Q(0x6,_0x3cf1b5),Q(0x7,_0x51671c),Q(0x8,_0x41ffca(Ua)),Q(0x9,_0x47d445),Q(0xa,_0x1c0185),Q(0xb,_0x41ffca(_0x462a1f)),Q(0xc,_0x4e3bf4),Q(0xd,_0x5a2236),Q(0xe,_0x560a9f),Q(0xf,_0x41ffca(_0x1f6804))],ou);function su(_0x188ab7){const _0x243cc1=_0x5defcf;if(_0x188ab7[_0x243cc1(0x310)]||_0x188ab7['ctrlKey']||_0x188ab7[_0x243cc1(0x4ec)])return null;switch(_0x188ab7[_0x243cc1(0x26c)]){case _0x243cc1(0x23e):return{'rowDelta':0x0,'columnDelta':_0x188ab7['shiftKey']?-0x1:0x1,'wrap':!0x0};default:return null;}}function cu(_0x22b3f8){const _0x30ca5b=_0x5defcf;let _0x5d4191={'preventDefault':()=>{},'stopPropagation':()=>{}};switch(_0x22b3f8){case'move-left':case _0x30ca5b(0x5a2):return{..._0x5d4191,'key':_0x30ca5b(0x717)};case _0x30ca5b(0x5e3):case'extend-right':return{..._0x5d4191,'key':_0x30ca5b(0x388)};case _0x30ca5b(0x443):case _0x30ca5b(0x33b):return{..._0x5d4191,'key':_0x30ca5b(0x5ba)};case _0x30ca5b(0x71f):case'extend-down':return{..._0x5d4191,'key':_0x30ca5b(0x6b6)};case _0x30ca5b(0x437):return{..._0x5d4191,'key':_0x30ca5b(0x23e)};case'tab-backward':return{..._0x5d4191,'key':_0x30ca5b(0x23e),'shiftKey':!0x0};case _0x30ca5b(0x316):return{..._0x5d4191,'key':'Enter'};default:return null;}}function lu(_0x43d3a5,_0x39a466){const _0xe923a9=_0x5defcf;let _0x1e7621=_0x43d3a5['element'][_0xe923a9(0x3b0)],_0x2aac8c=_0x43d3a5[_0xe923a9(0x3b0)];return{'left':_0x1e7621[_0xe923a9(0x479)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x479)])??0x0,'top':_0x1e7621['top']??(_0x2aac8c==null?void 0x0:_0x2aac8c['top'])??0x0,'width':_0x1e7621[_0xe923a9(0x58e)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x58e)])??(_0x39a466==null?void 0x0:_0x39a466[_0xe923a9(0x58e)]),'height':_0x1e7621[_0xe923a9(0x65e)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x65e)])??(_0x39a466==null?void 0x0:_0x39a466['height']),'angle':_0x1e7621[_0xe923a9(0x5f6)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x2c3)])??0x0,'flipX':_0x1e7621['flipX']??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x588)]),'flipY':_0x1e7621[_0xe923a9(0x6e0)]??(_0x2aac8c==null?void 0x0:_0x2aac8c[_0xe923a9(0x6e0)])};}function uu(_0x87243f,_0x4591e8=0x0){const _0x4d4087=_0x5defcf;return typeof _0x87243f==_0x4d4087(0x716)&&Number[_0x4d4087(0x401)](_0x87243f)?_0x87243f:_0x4591e8;}function du(_0x54bfe0,_0x31762d){let _0x56161d=uu(_0x54bfe0,_0x31762d);return _0x56161d>0x0?_0x56161d:_0x31762d;}function fu(_0x12201a){const _0x42cfa6=_0x5defcf;return _0x12201a===_0x42cfa6(0x6bc)?void 0x0:_0x12201a;}function pu(_0x381082){const _0xa067df=_0x5defcf;let _0x292ad8=_0x381082[0x0];if(_0x292ad8)return{'row':Math[_0xa067df(0x4a7)](_0x292ad8[_0xa067df(0x1d3)],_0x292ad8[_0xa067df(0x573)]),'column':Math[_0xa067df(0x4a7)](_0x292ad8[_0xa067df(0x3cc)],_0x292ad8['endColumn'])};}function mu(_0x575fea,_0x3f8947){const _0x1bab25=_0x5defcf;let _0x4dd3f=du(_0x3f8947,0x1),_0xd4f69e=_0x575fea['map'](_0x4c8730=>du(_0x4c8730,0x1)),_0x57181d=_0xd4f69e[_0x1bab25(0x57e)]((_0x138e55,_0x3c353e)=>_0x138e55+_0x3c353e,0x0);return _0xd4f69e[_0x1bab25(0x295)](_0x2bbfc5=>_0x2bbfc5/_0x57181d*_0x4dd3f);}function hu(_0x47483f,_0xeeca7f){const _0x5d4772=_0x5defcf;let _0x4b0fb3=0x0,_0x441c84={'index':0x0,'distance':Math[_0x5d4772(0x1dd)](_0xeeca7f)};for(let _0x53b5f1=0x0;_0x53b5f1<_0x47483f[_0x5d4772(0x393)];_0x53b5f1+=0x1){_0x4b0fb3+=_0x47483f[_0x53b5f1];let _0x15e4e9=Math['abs'](_0xeeca7f-_0x4b0fb3);_0x15e4e9<_0x441c84['distance']&&(_0x441c84={'index':_0x53b5f1+0x1,'distance':_0x15e4e9});}return _0x441c84[_0x5d4772(0x5d4)];}function gu(_0x14025c,_0x178c4e,_0x41ebd5){const _0x3eb003=_0x5defcf;let _0x171b2d=0x0,_0x13d362=null;for(let _0x3479b2=0x0;_0x3479b2<_0x14025c['length']-0x1;_0x3479b2+=0x1){_0x171b2d+=_0x14025c[_0x3479b2];let _0x3ab2ec=Math['abs'](_0x178c4e-_0x171b2d);_0x3ab2ec>_0x41ebd5||(!_0x13d362||_0x3ab2ec<_0x13d362[_0x3eb003(0x663)])&&(_0x13d362={'boundaryIndex':_0x3479b2+0x1,'distance':_0x3ab2ec});}return _0x13d362;}function _u(_0x445434,_0x13c9e4,_0x35cd3d,_0x11188b){const _0x220e27=_0x5defcf;let _0x1340a0=_0x13c9e4-0x1,_0xf954b2=_0x13c9e4;if(_0x1340a0<0x0||_0xf954b2>=_0x445434[_0x220e27(0x393)])return _0x445434;let _0x4eb421=_0x445434[_0x1340a0],_0x39ee4b=_0x445434[_0xf954b2],_0x5c80e0=_0x11188b-_0x4eb421,_0x5956d8=_0x39ee4b-_0x11188b,_0xde7b1c=Math[_0x220e27(0x4a7)](Math['max'](_0x35cd3d,_0x5c80e0),_0x5956d8),_0x46621e=_0x445434[_0x220e27(0x313)]();return _0x46621e[_0x1340a0]=_0x4eb421+_0xde7b1c,_0x46621e[_0xf954b2]=_0x39ee4b-_0xde7b1c,_0x46621e;}function vu(_0x1b4724,_0x10da68,_0x1daec9){const _0x2fc9d4=_0x5defcf;return _0x1daec9===_0x2fc9d4(0x3f1)?_0x1b4724['columns'][_0x2fc9d4(0x638)]((_0x584b99,_0x3496a2)=>{const _0x4e35a4=_0x2fc9d4;var _0x3a2ac8;return _0x584b99[_0x4e35a4(0x58e)]!==((_0x3a2ac8=_0x10da68[_0x4e35a4(0x5ca)][_0x3496a2])==null?void 0x0:_0x3a2ac8['width']);}):_0x1b4724[_0x2fc9d4(0x360)][_0x2fc9d4(0x638)]((_0x5d5f24,_0x41af6f)=>{const _0x3a7dbb=_0x2fc9d4;var _0x899280;return(_0x5d5f24['height']??0x18)!==(((_0x899280=_0x10da68[_0x3a7dbb(0x360)][_0x41af6f])==null?void 0x0:_0x899280[_0x3a7dbb(0x65e)])??0x18);});}function yu(_0x14cd92){const _0x422ff0=_0x5defcf;return _0x14cd92[_0x422ff0(0x379)]+':'+_0x14cd92[_0x422ff0(0x6b4)]+':'+_0x14cd92[_0x422ff0(0x60f)]+':'+_0x14cd92['tableId']+':'+_0x14cd92[_0x422ff0(0x4b9)]+':'+_0x14cd92['column'];}function bu(_0x1ad1d8){const _0x24870e=_0x5defcf;if(_0x1ad1d8===_0x24870e(0x6d9))return _0x9c0db6['MIDDLE'];if(_0x1ad1d8===_0x24870e(0x341))return _0x9c0db6[_0x24870e(0x29b)];if(_0x1ad1d8===_0x24870e(0x5ee))return _0x9c0db6[_0x24870e(0x64d)];}function xu(_0x343fb0){const _0x17bf31=_0x5defcf;if(_0x343fb0===_0x9c0db6[_0x17bf31(0x4ce)])return _0x1285f3[_0x17bf31(0x422)];if(_0x343fb0===_0x9c0db6[_0x17bf31(0x29b)])return _0x1285f3[_0x17bf31(0x240)];if(_0x343fb0===_0x9c0db6[_0x17bf31(0x64d)])return _0x1285f3['Top'];}function Su(_0x61690e,_0x37777d){const _0x256921=_0x5defcf;return{..._0x61690e,..._0x37777d,..._0x37777d[_0x256921(0x394)]?{'fill':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x394)],..._0x37777d[_0x256921(0x394)]}}:{},..._0x37777d[_0x256921(0x68f)]?{'borders':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x68f)],..._0x37777d[_0x256921(0x68f)]}}:{},..._0x37777d[_0x256921(0x4f7)]?{'margins':{..._0x61690e==null?void 0x0:_0x61690e[_0x256921(0x4f7)],..._0x37777d[_0x256921(0x4f7)]}}:{}};}function Cu(_0x1e53f9){const _0x3161e0=_0x5defcf;if((_0x1e53f9==null?void 0x0:_0x1e53f9[_0x3161e0(0x495)])===_0x3161e0(0x6bc))return _0x3161e0(0x6a2);let _0x54cddc=_0x1e53f9==null?void 0x0:_0x1e53f9[_0x3161e0(0x1e2)];if(!_0x54cddc)return;let _0x253f8a=Ou(_0x54cddc);if(_0x253f8a){let _0xc2b12b=Mu(_0x253f8a['a'])??0x1;return'rgba('+_0x253f8a['r']+',\x20'+_0x253f8a['g']+',\x20'+_0x253f8a['b']+',\x20'+Pu(_0xc2b12b)+')';}let _0x324239=ku(_0x54cddc);if(!_0x324239)return _0x54cddc;let _0x3fc69a=Mu(_0x1e53f9[_0x3161e0(0x498)])??0x1;return _0x3161e0(0x5ec)+_0x324239['r']+',\x20'+_0x324239['g']+',\x20'+_0x324239['b']+',\x20'+Pu(_0x3fc69a)+')';}function wu(_0x5ef681){let _0x389be3=Ou(_0x5ef681);if(_0x389be3)return{'color':Au(_0x389be3['r'],_0x389be3['g'],_0x389be3['b']),'alpha':Mu(_0x389be3['a'])??0x1};let _0x11ad53=ku(_0x5ef681);return _0x11ad53?{'color':Au(_0x11ad53['r'],_0x11ad53['g'],_0x11ad53['b'])}:{'color':_0x5ef681};}function Tu(_0x4ba3bf,_0x277b90){const _0x46eef7=_0x5defcf;return Cu(_0x277b90[_0x46eef7(0x242)][_0x46eef7(0x394)])??Eu(_0x4ba3bf,_0x277b90[_0x46eef7(0x4b9)]);}function Eu(_0x568a56,_0xc3daf8){const _0x1f6241=_0x5defcf;return _0x568a56['options'][_0x1f6241(0x216)]&&_0xc3daf8===0x0?_0x1f6241(0x50c):_0x568a56[_0x1f6241(0x1d9)][_0x1f6241(0x35e)]&&_0xc3daf8%0x2==0x0?_0x1f6241(0x248):_0x1f6241(0x648);}function Du(_0x38b1d3){const _0x266a9e=_0x5defcf;return typeof _0x38b1d3==_0x266a9e(0x716)&&Number['isFinite'](_0x38b1d3);}function Ou(_0x57b248){const _0x3c8c91=_0x5defcf;let _0x7a977=/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(\d+(?:\.\d+)?|\.\d+))?\s*\)$/i['exec'](_0x57b248['trim']());if(_0x7a977)return{'r':ju(Number[_0x3c8c91(0x447)](_0x7a977[0x1],0xa)),'g':ju(Number[_0x3c8c91(0x447)](_0x7a977[0x2],0xa)),'b':ju(Number['parseInt'](_0x7a977[0x3],0xa)),'a':_0x7a977[0x4]===void 0x0?0x1:Number['parseFloat'](_0x7a977[0x4])};}function ku(_0x212d5f){const _0x5c74e3=_0x5defcf;let _0xa5a3bf=_0x212d5f[_0x5c74e3(0x2e9)](),_0xe4a13c=/^#([0-9a-f]{3})$/i[_0x5c74e3(0x5c5)](_0xa5a3bf);if(_0xe4a13c){let [_0x2ab18b,_0x55da0b,_0x7acfbe]=_0xe4a13c[0x1][_0x5c74e3(0x24e)]('')[_0x5c74e3(0x295)](_0x346ea9=>Number[_0x5c74e3(0x447)](''+_0x346ea9+_0x346ea9,0x10));return{'r':_0x2ab18b,'g':_0x55da0b,'b':_0x7acfbe};}let _0x58ea67=/^#([0-9a-f]{6})$/i[_0x5c74e3(0x5c5)](_0xa5a3bf);if(_0x58ea67)return{'r':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x0,0x2),0x10),'g':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x2,0x4),0x10),'b':Number[_0x5c74e3(0x447)](_0x58ea67[0x1][_0x5c74e3(0x313)](0x4,0x6),0x10)};}function Au(_0x565288,_0x285fad,_0x8d307){const _0x192b3e=_0x5defcf;return('#'+[_0x565288,_0x285fad,_0x8d307][_0x192b3e(0x295)](_0x577d12=>ju(_0x577d12)[_0x192b3e(0x683)](0x10)['padStart'](0x2,'0'))[_0x192b3e(0x1d7)](''))['toUpperCase']();}function ju(_0x24d31c){const _0x19bd31=_0x5defcf;return Number[_0x19bd31(0x401)](_0x24d31c)?Math[_0x19bd31(0x4a7)](0xff,Math[_0x19bd31(0x6bf)](0x0,Math[_0x19bd31(0x300)](_0x24d31c))):0x0;}function Mu(_0x34bb7c){const _0x54964e=_0x5defcf;if(typeof _0x34bb7c==_0x54964e(0x716)&&Number[_0x54964e(0x401)](_0x34bb7c))return Nu(_0x34bb7c<=0x1?_0x34bb7c:_0x34bb7c<=0x64?_0x34bb7c/0x64:_0x34bb7c/0x186a0);}function Nu(_0x5b59ff){const _0x147e2b=_0x5defcf;return Math['min'](0x1,Math[_0x147e2b(0x6bf)](0x0,_0x5b59ff));}function Pu(_0x448f93){const _0x45973e=_0x5defcf;return Number(_0x448f93[_0x45973e(0x275)](0x4))[_0x45973e(0x683)]();}function Fu(_0x82895){const _0x231f56=_0x5defcf;return new DOMParser()[_0x231f56(0x4c8)](_0x82895,_0x231f56(0x2ba))[_0x231f56(0x499)](_0x231f56(0x2ab))!==null;}async function Iu(_0x5972be,_0x206b6d){const _0x5de71a=_0x5defcf;let _0x400e6d=_0x3bc7bf(_0x5972be);return _0x206b6d?Fu(_0x206b6d)?_0x400e6d[_0x5de71a(0x393)]>0x0?_0x400e6d:_0x3fce0e(_0x206b6d):[]:_0x400e6d;}var Lu=class extends ou{[_0x5defcf(0x6ef)](){const _0x52edc5=_0x5defcf;this[_0x52edc5(0x40f)](_0x2123f0(this['_tableSelectionService'][_0x52edc5(0x217)][_0x52edc5(0x533)](_0x178172=>{const _0x50cf26=_0x52edc5;if(!_0x178172||_0x178172['unitId']!==this[_0x50cf26(0x51f)][_0x50cf26(0x379)])return;let _0x5d8c3f=this['_resolveTableObjectFromContext'](_0x178172);_0x5d8c3f&&(this[_0x50cf26(0x2e7)](_0x5d8c3f[_0x50cf26(0x42f)],_0x5d8c3f[_0x50cf26(0x583)],_0x178172),this[_0x50cf26(0x27f)](_0x178172),this[_0x50cf26(0x51f)][_0x50cf26(0x667)][_0x50cf26(0x623)](!0x0));})));}[_0x5defcf(0x1e3)](...[_0x4a7550,_0x26df03]){const _0x2a935f=_0x5defcf;this[_0x2a935f(0x25d)](_0x4a7550,_0x26df03);}[_0x5defcf(0x54d)](...[_0x3dffd9]){const _0xdc03ef=_0x5defcf;_0x3dffd9 instanceof Il&&_0x3dffd9[_0xdc03ef(0x2c6)][_0xdc03ef(0x20e)](!0x0);}[_0x5defcf(0x673)](){return!0x1;}[_0x5defcf(0x564)](...[_0x23d871,_0x148588,_0x1b6285,_0x55dc95,_0x84571d,_0x541e3c]){const _0x5e4b67=_0x5defcf;this[_0x5e4b67(0x474)](_0x23d871,_0x1b6285,_0x55dc95,_0x84571d,_0x541e3c);}['_prepareResizeSelection'](...[_0xbbae5f,_0x2f2ea3]){const _0x3ffa1b=_0x5defcf;_0xbbae5f instanceof Il&&_0xbbae5f['mobileSelection'][_0x3ffa1b(0x3b8)]({'axis':_0x2f2ea3['handle'][_0x3ffa1b(0x71b)],'index':_0x2f2ea3[_0x3ffa1b(0x2dc)][_0x3ffa1b(0x484)]});}['_resolveResizeHandle'](...[_0x452548,_0x1f1270,_0x23b3b8,_0x546a6d]){const _0x42f8cf=_0x5defcf;let _0x32714b=_0x1f1270 instanceof Il?_0x1f1270[_0x42f8cf(0x2c6)][_0x42f8cf(0x64b)](new _0x33f54f(_0x23b3b8,_0x546a6d)):null;return(_0x32714b==null?void 0x0:_0x32714b['kind'])===_0x42f8cf(0x31a)&&_0x32714b[_0x42f8cf(0x4b9)]!==void 0x0?{'axis':_0x42f8cf(0x4b9),'boundaryIndex':_0x32714b[_0x42f8cf(0x4b9)]+0x1}:(_0x32714b==null?void 0x0:_0x32714b['kind'])==='resize-column'&&_0x32714b[_0x42f8cf(0x3f1)]!==void 0x0?{'axis':_0x42f8cf(0x3f1),'boundaryIndex':_0x32714b[_0x42f8cf(0x3f1)]+0x1}:null;}[_0x5defcf(0x5e6)](...[_0x4f5351,_0x3f366d,_0x537c0d]){const _0x406d5c=_0x5defcf;this[_0x406d5c(0x30d)](),_0x537c0d[_0x406d5c(0x521)]==='row-header'&&_0x537c0d['row']!==void 0x0?this[_0x406d5c(0x6f0)](_0x4f5351,_0x3f366d,_0x537c0d[_0x406d5c(0x4b9)],_0x537c0d[_0x406d5c(0x4b9)]):_0x537c0d[_0x406d5c(0x521)]==='column-header'&&_0x537c0d[_0x406d5c(0x3f1)]!==void 0x0&&this['_selectColumns'](_0x4f5351,_0x3f366d,_0x537c0d[_0x406d5c(0x3f1)],_0x537c0d[_0x406d5c(0x3f1)]);}[_0x5defcf(0x62f)](...[_0x5611a2,_0xdd96a3,_0x3b853c,_0x2bd160,_0x144a87]){const _0x187b9b=_0x5defcf;let _0x433608=this[_0x187b9b(0x700)](_0x3b853c);if(this[_0x187b9b(0x202)](_0x5611a2,_0xdd96a3,_0x433608['x'],_0x433608['y'])){let _0x3204eb=setTimeout(()=>{const _0x159dfc=_0x187b9b;this['_finishPendingStage1TableDrag']({'focusCell':!0x1}),this[_0x159dfc(0x3dc)](_0x5611a2,_0xdd96a3[_0x159dfc(0x62b)],_0xdd96a3,_0x3b853c,_0x2bd160);},0x1c2);_0x144a87[_0x187b9b(0x378)](_0x2123f0(()=>clearTimeout(_0x3204eb)));}}[_0x5defcf(0x31f)](){const _0x2c7a27=_0x5defcf;return this['_renderContext']['scene'][_0x2c7a27(0x58d)]()[_0x2c7a27(0x57b)];}['_activateWholeTableSelection'](...[_0x28b034]){this['_activateTableObject'](_0x28b034);}[_0x5defcf(0x6c2)](...[_0x4c3d8e]){const _0x5da4be=_0x5defcf;return _0x4c3d8e['kind']!==_0x5da4be(0x690)&&super[_0x5da4be(0x6c2)](_0x4c3d8e);}['_retainActiveCellEditor'](){return!0x0;}[_0x5defcf(0x3e0)](...[_0x1341e3,_0x5cd393,_0x417b95,_0x2b6b46]){const _0x3a1618=_0x5defcf;if(!(_0x5cd393 instanceof Il))return!0x1;let _0x1a92a2=this[_0x3a1618(0x700)](_0x417b95),_0x41766d=_0x5cd393['mobileSelection'][_0x3a1618(0x48f)](new _0x33f54f(_0x1a92a2['x'],_0x1a92a2['y']));return _0x41766d?this[_0x3a1618(0x4cc)](_0x1341e3,_0x5cd393,_0x41766d,_0x417b95,_0x2b6b46):!0x1;}[_0x5defcf(0x6fb)](...[_0x4da5c4]){const _0x4d7edb=_0x5defcf;_0x4da5c4 instanceof Il&&_0x4da5c4[_0x4d7edb(0x2c6)][_0x4d7edb(0x3b8)](null);}};const Ru=_0x5defcf(0x24f),zu=_0x5defcf(0x3d1),Bu=_0x5defcf(0x5df),Vu=_0x5defcf(0x52a);function Hu(_0x410647,_0x424498){return{'id':_0x410647,'type':_0x34fe51['BUTTON'],'label':{'name':_0x424498,'hoverable':!0x1,'selectable':!0x1}};}function Uu(){return Hu(zu,Is);}function Wu(){return Hu(Bu,Ls);}function Gu(){return Hu(Vu,Rs);}function Ku(_0x59138c){const _0x5695ee=_0x5defcf;var _0x2f0696;let _0x28fa6e=_0x59138c['get'](fo),_0x5e28b7=((_0x2f0696=_0x59138c[_0x5695ee(0x621)](_0x506f4d)['getConfig'](_0x3aeb3e))==null||(_0x2f0696=_0x2f0696['editor'])==null?void 0x0:_0x2f0696[_0x5695ee(0x58c)])!==!0x1;return{'id':po['id'],'type':_0x34fe51[_0x5695ee(0x6c6)],'icon':_0x5695ee(0x5bb),'title':_0x5695ee(0x668),'tooltip':'slides-table-ui.ribbon.floatingToolbar','activated$':_0x28fa6e[_0x5695ee(0x38c)],'disabled$':_0x5e28b7?void 0x0:_0x538a76(!0x0)};}const qu={'forward':{'id':aa['id'],'icon':_0x5defcf(0x41a),'title':_0x5defcf(0x3c4)},'backward':{'id':oa['id'],'icon':'MoveDownIcon','title':_0x5defcf(0x6f6)},'front':{'id':sa['id'],'icon':_0x5defcf(0x276),'title':'slides-table-ui.ribbon.bringToFront'},'back':{'id':ca['id'],'icon':_0x5defcf(0x6ed),'title':'slides-table-ui.ribbon.sendToBack'}};function Ju(_0x3e7ba1,_0x2260c5){const _0x3c3a1e=_0x5defcf;let _0x36ce9c=_0x3e7ba1[_0x3c3a1e(0x621)](_0x506f4d),_0x1438a3=_0x3e7ba1['get'](_0x462a1f),_0x1c4feb=_0x3e7ba1[_0x3c3a1e(0x621)](_0x2f1910),_0x4f2e73=_0x3e7ba1[_0x3c3a1e(0x621)](J);return _0x192b14([_0x1c4feb['state$'],_0x1438a3['order$'][_0x3c3a1e(0x5f3)](_0x46fdcb(void 0x0)),_0x4f2e73[_0x3c3a1e(0x217)][_0x3c3a1e(0x5f3)](_0x46fdcb(null))])[_0x3c3a1e(0x5f3)](_0x20d0c3(([_0x1448d4,,_0x532f2d])=>{const _0x78433=_0x3c3a1e;var _0x37139f;if(((_0x37139f=_0x36ce9c['getConfig'](_0x3aeb3e))==null||(_0x37139f=_0x37139f['editor'])==null?void 0x0:_0x37139f[_0x78433(0x58c)])===!0x1||(_0x532f2d==null?void 0x0:_0x532f2d['kind'])===_0x78433(0x590))return!0x0;let _0xbbe2fa=_0x1448d4[_0x78433(0x278)];if(!_0xbbe2fa||_0x1448d4[_0x78433(0x625)][_0x78433(0x393)]!==0x1)return!0x0;let _0x1de971=_0x1448d4['selectedIds'][0x0],_0xf864fc=_0x1438a3[_0x78433(0x3a0)]({'unitId':_0xbbe2fa['unitId'],'subUnitId':_0xbbe2fa[_0x78433(0x6b4)],'drawingId':_0x1de971});if((_0xf864fc==null?void 0x0:_0xf864fc[_0x78433(0x571)][_0x78433(0x495)])!==_0x16fba9[_0x78433(0x3f9)])return!0x0;let _0x37b423=_0x1438a3[_0x78433(0x4f2)](_0xbbe2fa['unitId'],_0xbbe2fa[_0x78433(0x6b4)]),_0xe22a5b=_0x37b423['indexOf'](_0x1de971);return _0xe22a5b<0x0||(_0x2260c5===_0x78433(0x20f)||_0x2260c5===_0x78433(0x2e8)?_0xe22a5b===_0x37b423[_0x78433(0x393)]-0x1:_0xe22a5b===0x0);}));}function Yu(_0x203f8b,_0x4ecd03){const _0x50c108=_0x5defcf;let _0x3bcae0=qu[_0x4ecd03];return{'id':_0x3bcae0['id'],'type':_0x34fe51[_0x50c108(0x6c6)],'icon':_0x3bcae0[_0x50c108(0x36b)],'title':_0x3bcae0[_0x50c108(0x329)],'tooltip':_0x3bcae0[_0x50c108(0x329)],'disabled$':Ju(_0x203f8b,_0x4ecd03)};}const Xu=_0x36aee5=>Yu(_0x36aee5,_0x5defcf(0x20f)),Zu=_0x5ee11a=>Yu(_0x5ee11a,_0x5defcf(0x62a)),Qu=_0x245bd0=>Yu(_0x245bd0,_0x5defcf(0x2e8)),$u=_0x4e9f40=>Yu(_0x4e9f40,_0x5defcf(0x54c));function ed(_0xd46d54,_0x628c73){const _0x19b218=_0x5defcf;let _0x4feb91=_0xd46d54['get'](_0x506f4d),_0x4c37b2=_0xd46d54[_0x19b218(0x621)](_0x47dc4d),_0x1894fb=_0xd46d54['get'](J);return _0x192b14([_0x1894fb['selection$'],_0x4c37b2[_0x19b218(0x64e)][_0x19b218(0x5f3)](_0x46fdcb(void 0x0))])['pipe'](_0x20d0c3(([_0x5088fb])=>{const _0x5afaf0=_0x19b218;var _0x29c84d;return((_0x29c84d=_0x4feb91[_0x5afaf0(0x247)](_0x3aeb3e))==null||(_0x29c84d=_0x29c84d[_0x5afaf0(0x440)])==null?void 0x0:_0x29c84d[_0x5afaf0(0x58c)])===!0x1||(_0x5088fb==null?void 0x0:_0x5088fb[_0x5afaf0(0x521)])===_0x5afaf0(0x590)||!_0x628c73(_0xd46d54);}));}const td=_0x5defcf(0x350),nd='slide-table.menu.delete',rd=_0x5defcf(0x697);function id(_0x5c0e49){const _0x1b51f5=_0x5defcf;return{'id':td,'type':_0x34fe51[_0x1b51f5(0x390)],'title':_0x1b51f5(0x645),'hidden$':ad(_0x5c0e49)};}function ad(_0x3221a3){const _0x12449d=_0x5defcf;if(!_0x3221a3)return _0x538a76(!0x0);let _0x59af78=_0x3221a3[_0x12449d(0x621)](J),_0x2e021c=_0x3221a3['get'](_0x161eee);return _0x59af78[_0x12449d(0x217)][_0x12449d(0x5f3)](_0x20d0c3(_0x51deec=>{const _0x35e359=_0x12449d;let _0x403cf3=Z(_0x51deec);return!_0x403cf3||!_0x2e021c[_0x35e359(0x2aa)](_0x403cf3[_0x35e359(0x379)],_0x403cf3[_0x35e359(0x6a7)]);}));}function od(){const _0x5725af=_0x5defcf;return{'id':nd,'type':_0x34fe51['SUBITEMS'],'icon':'DeleteIcon','title':_0x5725af(0x29a),'tooltip':'slides-table-ui.contextMenu.delete'};}function sd(_0x4c75cf){const _0x4ce26b=_0x5defcf;let _0x1e492f=_0x192b14([ed(_0x4c75cf,Ma),ed(_0x4c75cf,Na)])['pipe'](_0x20d0c3(([_0x31f18f,_0x44fe92])=>[{'id':Yi['id'],'value':Yi['id'],'icon':_0x4ce26b(0x666),'label':{'name':_0x4ce26b(0x6e8),'selectable':!0x1},'params':{},'disabled':_0x31f18f},{'id':Xi['id'],'value':Xi['id'],'icon':'DeleteColumnDoubleIcon','label':{'name':_0x4ce26b(0x26f),'selectable':!0x1},'params':{},'disabled':_0x44fe92}]));return{...od(),'selections':_0x1e492f};}function cd(){const _0x12d0ab=_0x5defcf;return{'id':rd,'type':_0x34fe51['SUBITEMS'],'icon':_0x12d0ab(0x5cf),'title':_0x12d0ab(0x72c)};}function ld(_0x53e018){const _0x4f3476=_0x5defcf;var _0x428b36;let _0x4147f9=((_0x428b36=_0x53e018[_0x4f3476(0x621)](_0x506f4d)[_0x4f3476(0x247)](_0x3aeb3e))==null||(_0x428b36=_0x428b36[_0x4f3476(0x440)])==null?void 0x0:_0x428b36['enabled'])===!0x1,_0x4c6714=_0x53e018[_0x4f3476(0x621)](J)[_0x4f3476(0x217)][_0x4f3476(0x5f3)](_0x46fdcb(null),_0x20d0c3(_0x250be8=>_0x4147f9||(_0x250be8==null?void 0x0:_0x250be8[_0x4f3476(0x521)])===_0x4f3476(0x590)));return{'id':ra['id'],'type':_0x34fe51[_0x4f3476(0x6c6)],'icon':_0x4f3476(0x4ff),'title':_0x4f3476(0x50e),'tooltip':_0x4f3476(0x50e),'disabled$':_0x4c6714};}function ud(_0x46df14){const _0x4832d8=_0x5defcf;return{'id':Gi['id'],'type':_0x34fe51[_0x4832d8(0x6c6)],'icon':_0x4832d8(0x281),'title':_0x4832d8(0x551),'tooltip':_0x4832d8(0x551),'disabled$':_0x46df14?ed(_0x46df14,bd):void 0x0};}function dd(_0x1aa2f2){const _0x2a3d04=_0x5defcf;return{'id':Ki['id'],'type':_0x34fe51[_0x2a3d04(0x6c6)],'icon':'InsertRowBelowDoubleIcon','title':_0x2a3d04(0x579),'tooltip':'slides-table-ui.contextMenu.insertRowBelow','disabled$':_0x1aa2f2?ed(_0x1aa2f2,bd):void 0x0};}function fd(_0x160d68){const _0x5764ff=_0x5defcf;return{'id':qi['id'],'type':_0x34fe51[_0x5764ff(0x6c6)],'icon':'LeftInsertColumnDoubleIcon','title':_0x5764ff(0x591),'tooltip':_0x5764ff(0x591),'disabled$':_0x160d68?ed(_0x160d68,bd):void 0x0};}function pd(_0x218096){const _0x3b217c=_0x5defcf;return{'id':Ji['id'],'type':_0x34fe51[_0x3b217c(0x6c6)],'icon':_0x3b217c(0x37b),'title':'slides-table-ui.contextMenu.insertColumnRight','tooltip':_0x3b217c(0x52e),'disabled$':_0x218096?ed(_0x218096,bd):void 0x0};}function md(_0x2d6c64){const _0x1e9bb8=_0x5defcf;return{'id':Yi['id'],'type':_0x34fe51[_0x1e9bb8(0x6c6)],'icon':_0x1e9bb8(0x666),'title':_0x1e9bb8(0x6e8),'tooltip':_0x1e9bb8(0x6e8),'disabled$':_0x2d6c64?ed(_0x2d6c64,Ma):void 0x0};}function hd(_0x4c339d){const _0x106e6d=_0x5defcf;return{'id':Xi['id'],'type':_0x34fe51[_0x106e6d(0x6c6)],'icon':_0x106e6d(0x4aa),'title':_0x106e6d(0x26f),'tooltip':_0x106e6d(0x26f),'disabled$':_0x4c339d?ed(_0x4c339d,Na):void 0x0};}function gd(_0x5e0360){const _0x488f95=_0x5defcf;return{'id':Zi['id'],'type':_0x34fe51[_0x488f95(0x6c6)],'icon':_0x488f95(0x25e),'title':_0x488f95(0x228),'tooltip':_0x488f95(0x228),'disabled$':_0x5e0360?ed(_0x5e0360,Aa):void 0x0};}function _d(_0x38a31a){const _0x3faf3b=_0x5defcf;return{'id':Qi['id'],'type':_0x34fe51[_0x3faf3b(0x6c6)],'icon':_0x3faf3b(0x49e),'title':_0x3faf3b(0x28b),'tooltip':_0x3faf3b(0x28b),'disabled$':_0x38a31a?ed(_0x38a31a,ja):void 0x0};}function vd(_0x1a6ae7){const _0x975710=_0x5defcf;return{'id':$i['id'],'type':_0x34fe51[_0x975710(0x6c6)],'icon':_0x975710(0x5cf),'title':_0x975710(0x6ad),'tooltip':_0x975710(0x6ad),'disabled$':_0x1a6ae7?ed(_0x1a6ae7,Pa):void 0x0};}function yd(_0x119e5c){const _0x173dc4=_0x5defcf;return{'id':ea['id'],'type':_0x34fe51[_0x173dc4(0x6c6)],'icon':_0x173dc4(0x336),'title':'slides-table-ui.contextMenu.distributeColumns','tooltip':'slides-table-ui.contextMenu.distributeColumns','disabled$':_0x119e5c?ed(_0x119e5c,Fa):void 0x0};}function bd(_0x59b44f){const _0x51b1be=_0x5defcf;let _0x2e61bb=_0x59b44f[_0x51b1be(0x621)](J)['getSelection']();return!!_0x2e61bb&&_0x2e61bb[_0x51b1be(0x521)]!==_0x51b1be(0x590)&&_0x2e61bb[_0x51b1be(0x649)][_0x51b1be(0x393)]>0x0;}const xd=_0x5defcf(0x42d);function Sd(_0x1e40b9){const _0x2f96d0=_0x5defcf;return{'id':xd,'type':_0x34fe51[_0x2f96d0(0x5a6)],'icon':_0x2f96d0(0x326),'tooltip':_0x2f96d0(0x544),'slot':!0x0,'hidden$':_0x49a1b6(_0x1e40b9,_0x1b0a97['UNIVER_SLIDE']),'selections':[{'label':{'name':ho,'hoverable':!0x1,'selectable':!0x1}}]};}function Cd(_0x61a0bb){const _0x755411=_0x5defcf;let _0x31f450=_0x61a0bb['get'](_0x462a1f);return{'id':uo['id'],'type':_0x34fe51[_0x755411(0x6c6)],'icon':_0x755411(0x326),'title':'slides-table-ui.tableSizePicker.title','hidden$':new _0x766530(_0x1b39af=>{const _0x444d86=_0x755411;let _0x3d7918=()=>{const _0x215eb4=_0x428e;var _0x399d51;let _0x559ad1=_0x31f450[_0x215eb4(0x32e)]();if(_0x559ad1[_0x215eb4(0x393)]!==0x1){_0x1b39af[_0x215eb4(0x38b)](!0x0);return;}let _0x2a2124=_0x559ad1[0x0];_0x1b39af['next'](((_0x399d51=_0x31f450[_0x215eb4(0x3a0)](_0x2a2124))==null?void 0x0:_0x399d51[_0x215eb4(0x571)]['type'])!==_0x16fba9['Table']);},_0x4cce4b=_0x31f450[_0x444d86(0x657)]['subscribe'](_0x3d7918);return _0x3d7918(),()=>_0x4cce4b['unsubscribe']();})};}const wd={[_0x5a1751[_0x5defcf(0x1a6)]]:{[_0xc69295[_0x5defcf(0x3ab)]]:{[xd]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x5},'menuItemFactory':_0x133ada(Sd)}}},[_0x1d870a[_0x5defcf(0x6dc)]]:{[_0x1c7b87[_0x5defcf(0x20c)]]:{[uo['id']]:{'order':0x5,'menuItemFactory':_0x133ada(Cd)}}},[_0x2aba4b[_0x5defcf(0x1e6)]]:{'slide-table.contextMenu.cell':{'order':0x17,[_0x1c7b87['LAYOUT']]:{'order':0x0,[td]:{'order':0x0,'menuItemFactory':_0x133ada(id),'slide-table.menu.insert-row-above':{'order':0x0,'menuItemFactory':_0x133ada(ud)},'slide-table.menu.insert-row-below':{'order':0x1,'menuItemFactory':_0x133ada(dd)},'slide-table.menu.insert-column-left':{'order':0x2,'menuItemFactory':_0x133ada(fd)},'slide-table.menu.insert-column-right':{'order':0x3,'menuItemFactory':_0x133ada(pd)}},[nd]:{'order':0x1,'menuItemFactory':_0x133ada(od),'slide-table.menu.delete-rows':{'order':0x0,'menuItemFactory':_0x133ada(md)},'slide-table.menu.delete-columns':{'order':0x1,'menuItemFactory':_0x133ada(hd)}},'slide-table.menu.merge-cells':{'order':0x2,'menuItemFactory':_0x133ada(gd)},'slide-table.menu.unmerge-cells':{'order':0x3,'menuItemFactory':_0x133ada(_d)},[rd]:{'order':0x4,'menuItemFactory':_0x133ada(cd),'slide-table.menu.distribute-rows':{'order':0x0,'menuItemFactory':_0x133ada(vd)},'slide-table.menu.distribute-columns':{'order':0x1,'menuItemFactory':_0x133ada(yd)}}},[_0x1c7b87[_0x5defcf(0x20c)]]:{'order':0x1,[ra['id']]:{'order':0x0,'menuItemFactory':_0x133ada(ld)}}}}},Td={[_0x2aba4b[_0x5defcf(0x670)]]:{[Ru]:{'order':0x65,'contextual':!0x0,'slides-table-ui.ribbon.styles':{'order':0x0,[zu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'width':0x70},'menuItemFactory':_0x133ada(Uu)}},'slides-table-ui.ribbon.cellStyle':{'order':0x1,[Bu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x38},'menuItemFactory':_0x133ada(Wu)}},'slides-table-ui.ribbon.text':{'order':0x2,[Vu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x133ada(Gu)}},'slides-table-ui.ribbon.layout':{'order':0x3,'slide-table.ribbon.insert-row-above':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x133ada(ud)},'slide-table.ribbon.insert-row-below':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x133ada(dd)},'slide-table.ribbon.insert-column-left':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x133ada(fd)},'slide-table.ribbon.insert-column-right':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x133ada(pd)},'slide-table.ribbon.merge-cells':{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x133ada(gd)},'slide-table.ribbon.unmerge-cells':{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x133ada(_d)},'slide-table.ribbon.distribute-rows':{'order':0x6,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x133ada(vd)},'slide-table.ribbon.distribute-columns':{'order':0x7,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x133ada(yd)}},'slides-table-ui.ribbon.arrange':{'order':0x4,'slide-table.ribbon.arrange-forward':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x133ada(Xu)},'slide-table.ribbon.arrange-backward':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x133ada(Zu)},'slide-table.ribbon.arrange-front':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x133ada(Qu)},'slide-table.ribbon.arrange-back':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x133ada($u)}},'slides-table-ui.ribbon.panel':{'order':0x5,[nd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x133ada(sd),[ra['id']]:{'order':0x0,'menuItemFactory':_0x133ada(ld)}},[po['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':Ku}}}}},Ed=_0x5defcf(0x5dd);let Dd=class extends _0x5c53fd{constructor(_0x1af3fc,_0x203f75,_0x10fb1b,_0x4dbfca,_0x14c755,_0x28f8c1,_0x208e27,_0x2d618a){const _0x27e8c8=_0x5defcf;super(),this['_menuManagerService']=_0x1af3fc,this[_0x27e8c8(0x4c9)]=_0x203f75,this[_0x27e8c8(0x46f)]=_0x10fb1b,this['_slideDrawingService']=_0x4dbfca,this[_0x27e8c8(0x6cc)]=_0x14c755,this[_0x27e8c8(0x21c)]=_0x28f8c1,this[_0x27e8c8(0x5e8)]=_0x208e27,this['_embedMountService']=_0x2d618a,q(this,_0x27e8c8(0x47b),!0x1),this[_0x27e8c8(0x5c8)][_0x27e8c8(0x680)](Td),this['_listenSelection']();}[_0x5defcf(0x2c2)](){const _0xa3d60c=_0x5defcf;this[_0xa3d60c(0x6cc)]['setFallbackVisible'](!0x1,Ed),this[_0xa3d60c(0x347)](),super[_0xa3d60c(0x2c2)]();}['_listenSelection'](){const _0x38c481=_0x5defcf;this[_0x38c481(0x40f)](_0x2123f0(this['_slideDrawingStateService'][_0x38c481(0x6c7)][_0x38c481(0x533)](_0x593595=>{const _0x1d64df=_0x38c481;var _0x5106d3;if(!this[_0x1d64df(0x1db)](_0x593595)||this['_isActiveFloatingEmbedHostSelection'](_0x593595)){this[_0x1d64df(0x6cc)][_0x1d64df(0x35c)](!0x1,Ed),this[_0x1d64df(0x347)]();return;}let _0x12ba37=(_0x5106d3=_0x593595[_0x1d64df(0x278)])==null?void 0x0:_0x5106d3[_0x1d64df(0x379)];if(_0x12ba37&&this[_0x1d64df(0x304)](_0x12ba37)){this[_0x1d64df(0x6cc)]['setFallbackVisible'](!0x0,Ed),this[_0x1d64df(0x347)]();return;}this[_0x1d64df(0x6cc)][_0x1d64df(0x35c)](!0x1,Ed),this[_0x1d64df(0x47b)]||(this[_0x1d64df(0x47b)]=!0x0,this[_0x1d64df(0x4c9)][_0x1d64df(0x5db)](Ru,{'activate':!0x0}));})));}['_isSingleTableSelection'](_0x35b461){const _0x43138e=_0x5defcf;var _0x59a725;let _0x561078=_0x35b461[_0x43138e(0x278)];return!_0x561078||_0x35b461[_0x43138e(0x625)]['length']!==0x1?!0x1:((_0x59a725=this['_slideDrawingService'][_0x43138e(0x3a0)]({'unitId':_0x561078[_0x43138e(0x379)],'subUnitId':_0x561078[_0x43138e(0x6b4)],'drawingId':_0x35b461[_0x43138e(0x625)][0x0]}))==null?void 0x0:_0x59a725['element'][_0x43138e(0x495)])===_0x16fba9[_0x43138e(0x3f9)];}[_0x5defcf(0x4fe)](_0x4c89b9){const _0x2d9744=_0x5defcf;var _0x59961e,_0x426753;let _0x472149=(_0x59961e=this[_0x2d9744(0x21c)])==null?void 0x0:_0x59961e[_0x2d9744(0x1e9)](),_0x517952=(_0x426753=this[_0x2d9744(0x5e8)])==null?void 0x0:_0x426753[_0x2d9744(0x2f9)]();return(_0x472149==null?void 0x0:_0x472149[_0x2d9744(0x44d)])===_0x4c89b9&&(_0x517952==null?void 0x0:_0x517952['childUnitId'])===_0x4c89b9&&_0x517952[_0x2d9744(0x201)]===_0x2d9744(0x515);}['_isIsolatedEmbedChildSelection'](_0x2863d4){const _0x1e28c8=_0x5defcf;var _0x457696;return this[_0x1e28c8(0x4fe)](_0x2863d4)?!0x0:((_0x457696=this[_0x1e28c8(0x517)])==null?void 0x0:_0x457696['listSessions']()[_0x1e28c8(0x638)](_0x2efc34=>_0x2efc34['childUnitId']===_0x2863d4&&_0x2efc34[_0x1e28c8(0x69d)]!==_0x1e28c8(0x2d2)))??!0x1;}[_0x5defcf(0x58b)](_0x3dffe1){const _0x433c2a=_0x5defcf;var _0x5eface,_0x56cff1,_0x49dd95,_0x2360e5;let _0x19bf6d=(_0x5eface=this['_embedFloatingActiveService'])==null?void 0x0:_0x5eface[_0x433c2a(0x2f9)]();if(!_0x19bf6d||_0x19bf6d[_0x433c2a(0x201)]===_0x433c2a(0x5ae)||((_0x56cff1=_0x3dffe1[_0x433c2a(0x278)])==null?void 0x0:_0x56cff1['unitId'])!==_0x19bf6d[_0x433c2a(0x468)]||_0x3dffe1['selectedIds'][_0x433c2a(0x393)]!==0x1)return!0x1;let _0x3ad374=(_0x49dd95=this[_0x433c2a(0x517)])==null?void 0x0:_0x49dd95[_0x433c2a(0x28e)]()[_0x433c2a(0x461)](_0x5017f6=>_0x5017f6[_0x433c2a(0x468)]===_0x19bf6d[_0x433c2a(0x468)]&&_0x5017f6[_0x433c2a(0x682)]===_0x19bf6d[_0x433c2a(0x682)]&&_0x5017f6[_0x433c2a(0x44d)]===_0x19bf6d[_0x433c2a(0x44d)]),_0xd2bf9a=_0x3ad374==null||(_0x2360e5=_0x3ad374['context'])==null?void 0x0:_0x2360e5[_0x433c2a(0x3d0)][_0x433c2a(0x567)];return!!_0xd2bf9a&&_0x3dffe1[_0x433c2a(0x625)][0x0]===_0xd2bf9a;}['_hideTableDesignTab'](){const _0xdd5f1a=_0x5defcf;this['_tableDesignVisible']&&(this[_0xdd5f1a(0x47b)]=!0x1,this[_0xdd5f1a(0x4c9)]['hideContextualTab'](Ru),this[_0xdd5f1a(0x4c9)][_0xdd5f1a(0x568)]([]));}};Dd=Ha([Q(0x0,_0x2f0348),Q(0x1,_0x52937d),Q(0x2,_0x41ffca(_0x2f1910)),Q(0x3,_0x41ffca(_0x462a1f)),Q(0x4,_0x41ffca(fo)),Q(0x5,_0x6a14ff(_0xf48ebd)),Q(0x6,_0x6a14ff(_0x17057f)),Q(0x7,_0x6a14ff(_0x2b3ff))],Dd);let Od=class extends _0x5c53fd{constructor(_0x50cea5,_0x20a210){const _0x5c2ae4=_0x5defcf;super(),this[_0x5c2ae4(0x72d)]=_0x50cea5,this[_0x5c2ae4(0x4ed)]=_0x20a210,this['disposeWithMe'](this['_refreshRegistry'][_0x5c2ae4(0x5ce)]((_0x4429a0,_0x5d305c)=>{const _0x37e53e=_0x5c2ae4;var _0xba4116;if(_0x4429a0['id']!==_0x3d940b['id'])return!0x1;let _0x57a671=_0x4429a0['params'],_0x2c4101=_0x57a671==null||(_0xba4116=_0x57a671[_0x37e53e(0x690)])==null?void 0x0:_0xba4116['id'];if((_0x57a671==null?void 0x0:_0x57a671[_0x37e53e(0x379)])!==_0x5d305c[_0x37e53e(0x379)]||!_0x2c4101)return!0x1;let _0x595992=this['_slideDrawingService'][_0x37e53e(0x68d)](_0x5d305c['unitId'],_0x5d305c[_0x37e53e(0x6b4)]);return Object[_0x37e53e(0x267)](_0x595992)[_0x37e53e(0x638)](_0x44abe9=>_0x44abe9[_0x37e53e(0x571)][_0x37e53e(0x495)]===_0x16fba9['Table']&&_0x44abe9[_0x37e53e(0x571)][_0x37e53e(0x6a7)]===_0x2c4101);}));}};Od=Ha([Q(0x0,_0x462a1f),Q(0x1,_0x41ffca(_0x213f69))],Od);let kd=class extends _0x410129{constructor(_0x2a8e81,_0x3ab1c4,_0x4bbee6,_0x5aede1){const _0x58c5e8=_0x5defcf;super(),this['_localeService']=_0x2a8e81,this['_themeService']=_0x3ab1c4,this[_0x58c5e8(0x236)]=_0x4bbee6,this['_tableResourceService']=_0x5aede1,q(this,_0x58c5e8(0x3e3),0x9);}[_0x5defcf(0x2e6)](_0x2dd02b){const _0x5d9775=_0x5defcf;return _0x2dd02b[_0x5d9775(0x571)][_0x5d9775(0x495)]===_0x16fba9['Table'];}[_0x5defcf(0x492)](_0x5c9850,_0x31a421){const _0x35ba38=_0x5defcf;if(_0x5c9850[_0x35ba38(0x3f5)]||_0x5c9850['element'][_0x35ba38(0x495)]!==_0x16fba9[_0x35ba38(0x3f9)])return null;let _0x17a420=_0x5c9850['element'],_0x5b5e9b=_0x17a420['transform'],_0x24b7d2=_0x35ba38(0x2c1)+_0x31a421[_0x35ba38(0x379)]+'-'+_0x31a421[_0x35ba38(0x6b4)]+'-'+_0x5c9850[_0x35ba38(0x1ba)],_0x2563e9=this['_resolveTableSnapshot'](_0x31a421[_0x35ba38(0x379)],_0x17a420),_0x35b558=this[_0x35ba38(0x599)][_0x35ba38(0x4bb)](_0x31a421[_0x35ba38(0x379)]),_0x2ae8fb={'controlButtonMode':_0x35ba38(0x26d),'left':_0x31a421[_0x35ba38(0x348)]+(_0x5b5e9b['left']??0x0),'top':_0x31a421[_0x35ba38(0x373)]+(_0x5b5e9b[_0x35ba38(0x5ee)]??0x0),'width':_0x5b5e9b[_0x35ba38(0x58e)]??0x0,'height':_0x5b5e9b[_0x35ba38(0x65e)]??0x0,'angle':_0x5b5e9b[_0x35ba38(0x5f6)]??0x0,'flipX':_0x5b5e9b[_0x35ba38(0x588)],'flipY':_0x5b5e9b[_0x35ba38(0x6e0)],'skewX':_0x5b5e9b[_0x35ba38(0x1d2)],'skewY':_0x5b5e9b['skewY'],'zIndex':_0x31a421[_0x35ba38(0x674)],'visible':!_0x5c9850[_0x35ba38(0x3f5)],'evented':!0x0,'imageIoService':this[_0x35ba38(0x236)],'localeService':this[_0x35ba38(0x254)],'tableThemes':_0x35b558==null?void 0x0:_0x35b558[_0x35ba38(0x299)],'tableThemePalette':_0x27e190(_0x1cc27b=>this[_0x35ba38(0x462)][_0x35ba38(0x6d8)](_0x1cc27b)),'themeService':this[_0x35ba38(0x462)]};return _0x2563e9&&(_0x2ae8fb['table']=_0x2563e9),new Il(_0x24b7d2,_0x2ae8fb);}[_0x5defcf(0x1e1)](_0x5dce93,_0x471907){const _0x4da44e=_0x5defcf;let _0x4fb7df=Ad(_0x471907),_0x2b6394=jd(_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x6a7)]),_0x1c412c=_0x2b6394?this['_tableResourceService'][_0x4da44e(0x2aa)](_0x5dce93,_0x2b6394):void 0x0;if(_0x1c412c){let _0x12a171=_0x118830(_0x1c412c,{'id':_0x2b6394,'rowCount':0x3,'columnCount':0x3});if(_0x12a171)return _0x12a171;}let _0x2f7e5e=Ad(_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x554)]),_0x3df8fe=_0x2b6394??jd(_0x4fb7df==null?void 0x0:_0x4fb7df['id']),_0x52e157=[_0x4fb7df==null?void 0x0:_0x4fb7df[_0x4da44e(0x690)],_0x2f7e5e==null?void 0x0:_0x2f7e5e['table'],_0x2f7e5e==null?void 0x0:_0x2f7e5e['slideTable'],_0x2f7e5e==null?void 0x0:_0x2f7e5e[_0x4da44e(0x4b5)],_0x4fb7df];for(let _0x3e73ad of _0x52e157){let _0xce1bdd=_0x118830(_0x3e73ad,{'id':_0x3df8fe});if(_0xce1bdd)return _0xce1bdd;}}};kd=Ha([Q(0x0,_0x41ffca(_0x494027)),Q(0x1,_0x41ffca(_0x59fee4)),Q(0x2,_0x1316c1),Q(0x3,_0x41ffca(_0x161eee))],kd);function Ad(_0x9d40c8){const _0x25b8e9=_0x5defcf;return _0x9d40c8&&typeof _0x9d40c8==_0x25b8e9(0x583)&&!Array[_0x25b8e9(0x221)](_0x9d40c8)?_0x9d40c8:void 0x0;}function jd(_0x345458){return typeof _0x345458=='string'&&_0x345458['trim']()?_0x345458:void 0x0;}function Md(_0x20c574){const _0x2d8056=_0x5defcf;return _0x20c574[_0x2d8056(0x495)]===_0x16fba9[_0x2d8056(0x3f9)];}let Nd=class{constructor(_0xb5be1f,_0x4578de){const _0x5ad3cb=_0x5defcf;this[_0x5ad3cb(0x2e1)]=_0xb5be1f,this[_0x5ad3cb(0x3bc)]=_0x4578de,q(this,'key','slide-table');}[_0x5defcf(0x4dc)](_0x2b40b8){const _0x4e4086=_0x5defcf;if(_0x2b40b8[_0x4e4086(0x211)]===_0x4e4086(0x323)){let _0x56ace9=Id(_0x2b40b8['data']);return _0x56ace9?this[_0x4e4086(0x3bc)]['insertTableSnapshot'](Ld(_0x56ace9)):!0x1;}let _0x4639fc=_0x169fee(_0x2b40b8['data']);if(!_0x4639fc)return!0x1;let _0x281358=_0x2648ac(_0x4639fc);return this[_0x4e4086(0x3bc)][_0x4e4086(0x344)](Ld(_0x281358));}['collect'](_0x25bf0e){const _0x104953=_0x5defcf;let _0x2403c9={},_0x455f5e={},_0x1d51f3={};return _0x25bf0e[_0x104953(0x1b3)][_0x104953(0x4df)](_0x492f9b=>{const _0x587f0f=_0x104953;if(!Md(_0x492f9b))return;let _0x1d6ea8=this[_0x587f0f(0x2e1)][_0x587f0f(0x2aa)](_0x25bf0e['unitId'],_0x492f9b[_0x587f0f(0x6a7)]);if(_0x1d6ea8&&(_0x2403c9[_0x1d6ea8['id']]=_0xdc70f2[_0x587f0f(0x597)](_0x1d6ea8),_0x1d51f3[_0x492f9b['id']]=_0x1d6ea8['id'],_0x1d6ea8[_0x587f0f(0x693)])){let _0x349224=this[_0x587f0f(0x2e1)]['getTheme'](_0x25bf0e[_0x587f0f(0x379)],_0x1d6ea8[_0x587f0f(0x693)]);_0x349224&&(_0x455f5e[_0x349224['id']]=_0xdc70f2[_0x587f0f(0x597)](_0x349224));}}),Object[_0x104953(0x64a)](_0x2403c9)[_0x104953(0x393)]===0x0?null:{'tables':_0x2403c9,'themes':_0x455f5e,'tableIdByElementId':_0x1d51f3};}['serialize'](_0x2c9b0a){const _0x2705ae=_0x5defcf;let _0x4a44ce=_0x2c9b0a[_0x2705ae(0x1b3)][_0x2705ae(0x439)](Md)['map'](_0x590cfe=>this[_0x2705ae(0x2e1)][_0x2705ae(0x2aa)](_0x2c9b0a['unitId'],_0x590cfe[_0x2705ae(0x6a7)]))[_0x2705ae(0x439)](_0x2aa2aa=>_0x2aa2aa!==void 0x0);return _0x4a44ce[_0x2705ae(0x393)]>0x0?{'html':_0x4a44ce[_0x2705ae(0x295)](Hd)['join'](_0x2705ae(0x70c)),'plainText':_0x4a44ce['map'](Vd)[_0x2705ae(0x1d7)]('\x0a')}:null;}[_0x5defcf(0x660)](_0x19e383){const _0x5412ef=_0x5defcf;if(!Pd(_0x19e383[_0x5412ef(0x1e0)]))return null;let _0x336035=_0x19e383[_0x5412ef(0x1e0)],_0x508f66=new Map();_0x19e383[_0x5412ef(0x400)][_0x5412ef(0x4df)]((_0x6a6093,_0x18ccde)=>_0x508f66['set'](_0x6a6093,_0x18ccde));let _0x436fa7=new Map(),_0x49f1e3=new Map(),_0x442e57=_0x19e383[_0x5412ef(0x1b3)][_0x5412ef(0x295)](_0x56dc2f=>{const _0x16dc6e=_0x5412ef;if(!Md(_0x56dc2f))return _0x56dc2f;let _0x190139=_0x508f66['get'](_0x56dc2f['id']),_0x4cfd85=_0x190139?_0x336035[_0x16dc6e(0x480)][_0x190139]:void 0x0;if(!_0x4cfd85||!_0x336035[_0x16dc6e(0x3b9)][_0x4cfd85])return _0x56dc2f;let _0x5167c3=_0x436fa7['get'](_0x4cfd85);return _0x5167c3||(_0x5167c3=_0x2b8786(0x6),_0x436fa7[_0x16dc6e(0x3c0)](_0x4cfd85,_0x5167c3)),{..._0x56dc2f,'tableId':_0x5167c3};}),_0x77661d=[];return _0x436fa7[_0x5412ef(0x4df)]((_0x176839,_0x5330ee)=>{const _0x4c6d83=_0x5412ef;let _0x5d4362=_0x336035[_0x4c6d83(0x3b9)][_0x5330ee];if(!_0x5d4362)return;let _0x365c82=_0xdc70f2['deepClone'](_0x5d4362);_0x365c82['id']=_0x176839;let _0x533f6d;if(_0x5d4362[_0x4c6d83(0x693)]){let _0x2299cb=_0x336035['themes'][_0x5d4362[_0x4c6d83(0x693)]];if(_0x2299cb){let _0x4e7bbd=_0x49f1e3[_0x4c6d83(0x621)](_0x2299cb['id']);_0x4e7bbd||(_0x4e7bbd=_0x2faffd(_0x2b8786(0x6),_0x2299cb)['id'],_0x49f1e3['set'](_0x2299cb['id'],_0x4e7bbd)),_0x533f6d={..._0xdc70f2[_0x4c6d83(0x597)](_0x2299cb),'id':_0x4e7bbd},_0x365c82[_0x4c6d83(0x693)]=_0x4e7bbd;}else delete _0x365c82[_0x4c6d83(0x693)];}_0x77661d[_0x4c6d83(0x6e6)]({'table':_0x365c82,'theme':_0x533f6d});}),_0x77661d[_0x5412ef(0x393)]===0x0?null:{'elements':_0x442e57,'redoMutations':_0x77661d[_0x5412ef(0x295)](({table:_0x20e7a5,theme:_0x28821d})=>({'id':_0x3d940b['id'],'params':{'unitId':_0x19e383[_0x5412ef(0x4de)],'table':_0x20e7a5,'theme':_0x28821d}})),'undoMutations':[..._0x77661d]['reverse']()[_0x5412ef(0x295)](({table:_0x32baa2})=>({'id':_0x68d13['id'],'params':{'unitId':_0x19e383[_0x5412ef(0x4de)],'tableId':_0x32baa2['id']}}))};}};Nd=Ha([Q(0x0,_0x41ffca(_0x161eee)),Q(0x1,_0x41ffca(mo))],Nd);function Pd(_0x3d6d94){const _0x5d39cb=_0x5defcf;return!_0x3d6d94||typeof _0x3d6d94!=_0x5d39cb(0x583)?!0x1:'tables'in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x3b9)])&&'themes'in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x299)])&&_0x5d39cb(0x480)in _0x3d6d94&&Fd(_0x3d6d94[_0x5d39cb(0x480)]);}function Fd(_0x35ca1b){const _0x8079b8=_0x5defcf;return typeof _0x35ca1b==_0x8079b8(0x583)&&!!_0x35ca1b&&!Array[_0x8079b8(0x221)](_0x35ca1b);}function Id(_0x5244db){const _0x5d87db=_0x5defcf;let _0x18e051=new DOMParser()[_0x5d87db(0x4c8)](_0x5244db,_0x5d87db(0x2ba)),_0x49f363=_0x18e051[_0x5d87db(0x66b)]('table');if(_0x49f363[_0x5d87db(0x393)]!==0x1||(_0x49f363[0x0][_0x5d87db(0x532)](),(_0x18e051['body'][_0x5d87db(0x33f)]??'')[_0x5d87db(0x2e9)]()||_0x18e051[_0x5d87db(0x291)][_0x5d87db(0x499)]('img')))return null;let _0x2cec10=_0x2648ac(_0x5244db);return _0x2cec10[_0x5d87db(0x360)][_0x5d87db(0x393)]>0x0&&_0x2cec10[_0x5d87db(0x611)][_0x5d87db(0x393)]>0x0?_0x2cec10:null;}function Ld(_0x3531e1){const _0x3902ac=_0x5defcf;let _0x1a7e19=_0x3531e1[_0x3902ac(0x611)][_0x3902ac(0x295)](_0x51f053=>({'width':Bd(_0x51f053??0x64,0x18,0x140)})),_0x42c602=_0x3531e1['rows'][_0x3902ac(0x295)](_0x539580=>({'height':Bd(_0x539580['height']??0x1c,0x14,0xb4),'cells':_0x539580['cells'][_0x3902ac(0x295)](_0xef6058=>Rd(_0xef6058))}));return _0x3531e1[_0x3902ac(0x360)]['forEach']((_0x11b757,_0xf1710a)=>{const _0x3f1fde=_0x3902ac;_0x11b757[_0x3f1fde(0x405)][_0x3f1fde(0x4df)]((_0x33fa13,_0x1a551f)=>{const _0x405b4a=_0x3f1fde;if(_0x33fa13){for(let _0x56db9f=0x0;_0x56db9f<_0x33fa13[_0x405b4a(0x3bb)];_0x56db9f+=0x1)for(let _0x5d065=0x0;_0x5d065<_0x33fa13['colSpan'];_0x5d065+=0x1){var _0x463b05;if(_0x56db9f===0x0&&_0x5d065===0x0)continue;let _0x59ceba=(_0x463b05=_0x42c602[_0xf1710a+_0x56db9f])==null?void 0x0:_0x463b05[_0x405b4a(0x405)][_0x1a551f+_0x5d065];_0x59ceba&&(_0x59ceba[_0x405b4a(0x4a8)]=_0x5d065>0x0,_0x59ceba[_0x405b4a(0x45f)]=_0x56db9f>0x0);}}});}),{'options':{},'columns':_0x1a7e19,'rows':_0x42c602};}function Rd(_0x35491c){const _0x1b54d7=_0x5defcf;if(!_0x35491c)return{};let _0x33c5d3=zd(_0x30df11(_0x35491c[_0x1b54d7(0x323)]))??_0x5a67d9(_0x35491c['text']),_0x4a9a9f=_0x35491c[_0x1b54d7(0x47c)]||_0x35491c[_0x1b54d7(0x191)]?{'color':_0x35491c[_0x1b54d7(0x47c)],'width':_0x35491c['borderWidth'],'dash':_0x599627[_0x1b54d7(0x37a)]}:void 0x0;return{'textData':_0x33c5d3,'rowSpan':_0x35491c[_0x1b54d7(0x3bb)]>0x1?_0x35491c[_0x1b54d7(0x3bb)]:void 0x0,'columnSpan':_0x35491c['colSpan']>0x1?_0x35491c[_0x1b54d7(0x541)]:void 0x0,'style':_0x35491c[_0x1b54d7(0x5c1)]||_0x4a9a9f?{'fill':_0x35491c[_0x1b54d7(0x5c1)]?{'type':_0x772d0f[_0x1b54d7(0x37a)],'color':_0x35491c[_0x1b54d7(0x5c1)]}:void 0x0,'borders':_0x4a9a9f?{'top':_0x4a9a9f,'right':_0x4a9a9f,'bottom':_0x4a9a9f,'left':_0x4a9a9f}:void 0x0}:void 0x0};}function zd(_0x24c5a0){const _0x577032=_0x5defcf;try{var _0x379697;let _0x552c49=_0x41cc18(_0x24c5a0,_0x2b8786(0x6));return(_0x379697=_0x552c49[_0x577032(0x291)])!=null&&_0x379697[_0x577032(0x41f)]?{..._0x552c49,'id':_0x552c49['id']||_0x2b8786(0x6),'body':_0x552c49['body'],'documentStyle':_0x552c49[_0x577032(0x6e1)]??{}}:null;}catch{return null;}}function Bd(_0x544a49,_0x3ba294,_0x18a54f){const _0x3eb904=_0x5defcf;return Math[_0x3eb904(0x4a7)](_0x18a54f,Math[_0x3eb904(0x6bf)](_0x3ba294,_0x544a49));}function Vd(_0x2b7e9e){const _0x624b1f=_0x5defcf;return _0x2b7e9e['rows'][_0x624b1f(0x295)](_0x3b22ad=>_0x3b22ad['cells'][_0x624b1f(0x295)](_0x6f1fac=>_0x6f1fac['hMerge']||_0x6f1fac['vMerge']?'':_0x6f1fac[_0x624b1f(0x1b7)]?_0x5a7f69(_0x6f1fac[_0x624b1f(0x1b7)])[_0x624b1f(0x48c)](/[\t\r\n]+/g,'\x20'):'')[_0x624b1f(0x1d7)]('\x09'))['join']('\x0a');}function Hd(_0x5bb337){const _0x27c5da=_0x5defcf;return _0x27c5da(0x46e)+_0x5bb337[_0x27c5da(0x5ca)][_0x27c5da(0x295)](_0x36912a=>'<col\x20style=\x22width:\x20'+_0x36912a[_0x27c5da(0x58e)]+_0x27c5da(0x696))[_0x27c5da(0x1d7)]('')+_0x27c5da(0x4a5)+_0x5bb337[_0x27c5da(0x360)]['map'](_0x22e0e2=>{const _0x4be535=_0x27c5da;let _0x27a9ec=_0x22e0e2[_0x4be535(0x405)][_0x4be535(0x295)](_0x4c371b=>{const _0x363cab=_0x4be535;if(_0x4c371b[_0x363cab(0x4a8)]||_0x4c371b[_0x363cab(0x45f)])return'';let _0x1fcb86=[_0x4c371b[_0x363cab(0x3bb)]&&_0x4c371b[_0x363cab(0x3bb)]>0x1?_0x363cab(0x397)+_0x4c371b[_0x363cab(0x3bb)]+'\x22':'',_0x4c371b[_0x363cab(0x4c5)]&&_0x4c371b['columnSpan']>0x1?_0x363cab(0x553)+_0x4c371b[_0x363cab(0x4c5)]+'\x22':'',zl(_0x4c371b)][_0x363cab(0x439)](Boolean)[_0x363cab(0x1d7)]('\x20'),_0x16bb9b=_0x4c371b[_0x363cab(0x1b7)]?_0x45c727(_0xdc70f2['deepClone'](_0x4c371b[_0x363cab(0x1b7)])):'';return'<td'+(_0x1fcb86?'\x20'+_0x1fcb86:'')+'>'+_0x16bb9b+_0x363cab(0x642);})[_0x4be535(0x1d7)]('');return _0x4be535(0x4e3)+(_0x22e0e2[_0x4be535(0x65e)]?'\x20style=\x22height:\x20'+_0x22e0e2[_0x4be535(0x65e)]+'px\x22':'')+'>'+_0x27a9ec+_0x4be535(0x509);})[_0x27c5da(0x1d7)]('')+'</tbody></table>';}function Ud(_0x3a00fe,_0x90262c,_0x210749){const _0x46e6c9=_0x5defcf;let _0x33c007=_0x90262c['flatMap'](_0x32a8a9=>_0x32a8a9?[_0x32a8a9[_0x46e6c9(0x582)](_0x3a00fe)]:[]),_0x975708=_0x210749&&typeof ResizeObserver<'u'?new ResizeObserver(_0x3a00fe):null;return _0x210749&&(_0x975708==null||_0x975708[_0x46e6c9(0x38d)](_0x210749)),()=>{const _0x616894=_0x46e6c9;_0x33c007[_0x616894(0x4df)](_0x573064=>_0x573064['unsubscribe']()),_0x975708==null||_0x975708[_0x616894(0x5a8)]();};}function Wd(_0x551557){const _0x107cf2=_0x5defcf;let _0x3efa96=Gd(_0x551557['object'],_0x551557[_0x107cf2(0x690)],_0x551557['selection']),_0x4f4de2=_0x551557[_0x107cf2(0x2e3)][_0x107cf2(0x57b)]*_0x551557[_0x107cf2(0x24c)],_0x102d15=_0x551557[_0x107cf2(0x2e3)][_0x107cf2(0x6c3)]*_0x551557[_0x107cf2(0x24c)],_0x52752b=_0x551557[_0x107cf2(0x5de)][_0x107cf2(0x479)]+(_0x3efa96['centerX']-_0x551557[_0x107cf2(0x5bd)]['x'])*_0x4f4de2,_0x381e80=_0x551557[_0x107cf2(0x5de)]['top']+(_0x3efa96[_0x107cf2(0x5ee)]-_0x551557[_0x107cf2(0x5bd)]['y']-_0x3aad64)*_0x102d15-0x2a-0x5,_0x396a26=(_0x551557['toolbarWidth']??0x2a8)/0x2,_0x2f4c35=0xc+_0x396a26,_0x169ade=Math[_0x107cf2(0x6bf)](_0x2f4c35,_0x551557['viewportWidth']-_0x396a26-0xc);return{'left':Math[_0x107cf2(0x4a7)](Math[_0x107cf2(0x6bf)](_0x2f4c35,_0x52752b),_0x169ade),'top':Math['max'](0xc,_0x381e80)};}function Gd(_0x18f1f3,_0x36ed08,_0x304fe4){const _0x46ee91=_0x5defcf;if(!_0x36ed08||_0x304fe4[_0x46ee91(0x521)]!==_0x46ee91(0x4b9)&&_0x304fe4[_0x46ee91(0x521)]!==_0x46ee91(0x3f1))return{'centerX':_0x18f1f3[_0x46ee91(0x479)]+_0x18f1f3[_0x46ee91(0x58e)]/0x2,'top':_0x18f1f3['top']};let _0x3bc4d2=_0x304fe4[_0x46ee91(0x649)][0x0];if(!_0x3bc4d2)return{'centerX':_0x18f1f3[_0x46ee91(0x479)]+_0x18f1f3[_0x46ee91(0x58e)]/0x2,'top':_0x18f1f3[_0x46ee91(0x5ee)]};let _0x12e7f7=_0x4a84fc(_0x3bc4d2),_0x3f425b=Kd(_0x36ed08[_0x46ee91(0x5ca)][_0x46ee91(0x295)](_0x187e31=>_0x187e31[_0x46ee91(0x58e)]),_0x18f1f3['width'],_0x12e7f7[_0x46ee91(0x3cc)],_0x12e7f7['endColumn']),_0x472ef2=Kd(_0x36ed08[_0x46ee91(0x360)][_0x46ee91(0x295)](_0x252157=>_0x252157[_0x46ee91(0x65e)]??0x18),_0x18f1f3[_0x46ee91(0x65e)],_0x12e7f7[_0x46ee91(0x1d3)],_0x12e7f7[_0x46ee91(0x573)]);return{'centerX':_0x18f1f3['left']+_0x3f425b[_0x46ee91(0x6f2)]+_0x3f425b[_0x46ee91(0x4bf)]/0x2,'top':_0x18f1f3[_0x46ee91(0x5ee)]+_0x472ef2[_0x46ee91(0x6f2)]};}function Kd(_0x4355f1,_0x384634,_0x1e2327,_0x27f5f7){const _0x35acbe=_0x5defcf;let _0x34a216=_0x4355f1[_0x35acbe(0x57e)]((_0x1b8a72,_0x5ce1c1)=>_0x1b8a72+_0x5ce1c1,0x0);if(_0x34a216<=0x0||_0x4355f1[_0x35acbe(0x393)]===0x0)return{'start':0x0,'size':_0x384634};let _0x19c44b=Math[_0x35acbe(0x6bf)](0x0,Math[_0x35acbe(0x4a7)](_0x1e2327,_0x4355f1[_0x35acbe(0x393)]-0x1)),_0x474ab0=Math[_0x35acbe(0x6bf)](_0x19c44b,Math[_0x35acbe(0x4a7)](_0x27f5f7,_0x4355f1[_0x35acbe(0x393)]-0x1)),_0x19a561=_0x4355f1[_0x35acbe(0x313)](0x0,_0x19c44b)[_0x35acbe(0x57e)]((_0x52f94d,_0x907b17)=>_0x52f94d+_0x907b17,0x0),_0x1a4e94=_0x4355f1[_0x35acbe(0x313)](_0x19c44b,_0x474ab0+0x1)['reduce']((_0x1a7a9e,_0x3a7b1e)=>_0x1a7a9e+_0x3a7b1e,0x0);return{'start':_0x19a561/_0x34a216*_0x384634,'size':_0x1a4e94/_0x34a216*_0x384634};}function qd(_0x2ccc3e,_0x42e94b=0x2a8){const _0x216924=_0x5defcf;let _0x129357=_0x41e5c1(J),_0x5311f1=_0x41e5c1(_0x161eee),_0x13a7a8=_0x41e5c1(_0x51671c),_0x207f6f=_0x41e5c1(_0x49825b),_0x503169=_0x41e5c1(_0x494027),_0xef50e1=_0x45a1ca(_0x503169[_0x216924(0x54f)],_0x503169[_0x216924(0x5b4)]()),_0xf90bbf=_0x41e5c1(_0x59fee4),_0x307887=_0x41e5c1(_0x47dc4d),_0x1b549d=_0x45a1ca(_0x129357[_0x216924(0x217)],null);_0x45a1ca(_0x307887['tableChange$']);let [_0x442f22,_0x38537f]=_0x504879(null),[_0x4808ec,_0x2cfc53]=_0x504879({'selectionKey':null,'value':null}),_0x19710a=_0x20984c(()=>{const _0x1433ca=_0x216924;_0x129357[_0x1433ca(0x4ca)]();},[_0x129357]),_0x2cfd3f=!_0x2ccc3e||!_0x1b549d||_0x1b549d['kind']===_0x216924(0x590)||!_0x1b549d[_0x216924(0x649)][_0x216924(0x393)]?null:_0x1b549d,_0x422f37=_0x2cfd3f?[_0x2cfd3f[_0x216924(0x379)],_0x2cfd3f[_0x216924(0x6b4)],_0x2cfd3f[_0x216924(0x60f)],_0x2cfd3f['tableId'],...Object[_0x216924(0x267)](_0x2cfd3f[_0x216924(0x649)][0x0]??{})]['join']('|'):null,_0x4ff72c=_0x4808ec['selectionKey']===_0x422f37?_0x4808ec['value']:null,_0xeeaf66=_0x20984c(()=>{const _0x255d9f=_0x216924;var _0x2becc7,_0x5a04d2,_0x272bdf,_0x108f1a,_0x230d7a;if(!_0x2cfd3f){_0x38537f(null);return;}let _0x301ae9=_0x207f6f[_0x255d9f(0x5f2)](_0x2cfd3f[_0x255d9f(0x379)]),_0x3353d2=_0x301ae9==null?void 0x0:_0x301ae9[_0x255d9f(0x667)],_0x56783c=_0x3353d2==null?void 0x0:_0x3353d2[_0x255d9f(0x2f7)](_0x1a21b4(_0x2cfd3f[_0x255d9f(0x379)],_0x2cfd3f['subUnitId'],_0x2cfd3f[_0x255d9f(0x60f)]));if(!_0x3353d2||!_0x56783c){_0x38537f(null);return;}let _0x2ba41e=_0x301ae9==null||(_0x2becc7=_0x301ae9[_0x255d9f(0x618)])==null||(_0x5a04d2=_0x2becc7['getCanvasElement'])==null?void 0x0:_0x5a04d2[_0x255d9f(0x283)](_0x2becc7),_0x102ded=(_0x2ba41e==null||(_0x272bdf=_0x2ba41e['getBoundingClientRect'])==null?void 0x0:_0x272bdf[_0x255d9f(0x283)](_0x2ba41e))??{'left':0x0,'top':0x0,'width':0x0},_0x1a9428=_0x299ed1((_0x2ba41e==null?void 0x0:_0x2ba41e[_0x255d9f(0x242)][_0x255d9f(0x58e)])??''),_0x31279c=_0x1a9428>0x0?_0x102ded[_0x255d9f(0x58e)]/_0x1a9428:0x1,_0x5e7f17=((_0x108f1a=_0x3353d2['getAncestorScale'])==null?void 0x0:_0x108f1a[_0x255d9f(0x283)](_0x3353d2))??{'scaleX':0x1,'scaleY':0x1},_0x57679b=(_0x230d7a=_0x3353d2[_0x255d9f(0x349)])==null?void 0x0:_0x230d7a[_0x255d9f(0x283)](_0x3353d2,_0xf9397b),_0xbdacf3=_0x5311f1['getTable'](_0x2cfd3f['unitId'],_0x2cfd3f[_0x255d9f(0x6a7)]);_0x38537f(Wd({'canvasRect':_0x102ded,'canvasScale':_0x31279c,'object':_0x56783c,'scale':_0x5e7f17,'scroll':{'x':(_0x57679b==null?void 0x0:_0x57679b[_0x255d9f(0x6fe)])??0x0,'y':(_0x57679b==null?void 0x0:_0x57679b[_0x255d9f(0x3e9)])??0x0},'selection':_0x2cfd3f,'table':_0xbdacf3,'viewportWidth':window[_0x255d9f(0x4da)],'toolbarWidth':_0x42e94b}));},[_0x42e94b,_0x207f6f,_0x5311f1,_0x2cfd3f]);_0x2f2258(()=>{const _0xf2f0eb=_0x216924;var _0x37a9a8;let _0x3da563=requestAnimationFrame(_0xeeaf66);if(!_0x2cfd3f)return()=>cancelAnimationFrame(_0x3da563);let _0x32c72f=_0x207f6f[_0xf2f0eb(0x5f2)](_0x2cfd3f[_0xf2f0eb(0x379)]),_0x1f7813=_0x32c72f==null?void 0x0:_0x32c72f['scene'],_0x31aa3b=_0x1f7813==null?void 0x0:_0x1f7813[_0xf2f0eb(0x2f7)](_0x1a21b4(_0x2cfd3f[_0xf2f0eb(0x379)],_0x2cfd3f[_0xf2f0eb(0x6b4)],_0x2cfd3f[_0xf2f0eb(0x60f)])),_0x95b656=Ud(_0xeeaf66,[_0x32c72f==null?void 0x0:_0x32c72f['engine'][_0xf2f0eb(0x4d8)],_0x1f7813==null?void 0x0:_0x1f7813['onTransformChange$'],_0x31aa3b==null?void 0x0:_0x31aa3b[_0xf2f0eb(0x4d8)],_0x1f7813==null||(_0x37a9a8=_0x1f7813[_0xf2f0eb(0x349)](_0xf9397b))==null?void 0x0:_0x37a9a8[_0xf2f0eb(0x6e7)]],_0x32c72f==null?void 0x0:_0x32c72f[_0xf2f0eb(0x618)]['getCanvasElement']());return window['addEventListener'](_0xf2f0eb(0x21e),_0xeeaf66),()=>{const _0x2f9c2f=_0xf2f0eb;cancelAnimationFrame(_0x3da563),_0x95b656(),window['removeEventListener'](_0x2f9c2f(0x21e),_0xeeaf66);};},[_0xeeaf66,_0x207f6f,_0x2cfd3f]);let _0x36af0d=_0x2cfd3f?_0x5311f1[_0x216924(0x2aa)](_0x2cfd3f['unitId'],_0x2cfd3f[_0x216924(0x6a7)]):null,_0x34f4a1=ns(_0x36af0d,_0x2cfd3f),_0x9837db=_0x34f4a1[_0x216924(0x267)],_0x1075fb=_0x20984c(_0xde1866=>{const _0x42b7c3=_0x216924;if(!_0x2cfd3f)return;let _0x3f78d6=_0x2cfd3f[_0x42b7c3(0x649)][0x0],_0x5617ab=_0x5311f1['getTable'](_0x2cfd3f[_0x42b7c3(0x379)],_0x2cfd3f['tableId']);_0x3f78d6&&_0x5617ab&&_0x13a7a8[_0x42b7c3(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0x42b7c3(0x379)],'tableId':_0x2cfd3f[_0x42b7c3(0x6a7)],'patch':_0xde1866(_0x5617ab,_0x3f78d6)});},[_0x13a7a8,_0x5311f1,_0x2cfd3f]),_0x249214=_0x20984c(_0x3be8be=>{const _0x158ebe=_0x216924;_0x2cfd3f&&_0x13a7a8[_0x158ebe(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0x158ebe(0x379)],'tableId':_0x2cfd3f[_0x158ebe(0x6a7)],'patch':{'styleId':_0x3be8be}});},[_0x13a7a8,_0x2cfd3f]),_0x152096=_0x20984c(_0x293ea9=>{const _0xc5cfb1=_0x216924;_0x2cfd3f&&_0x13a7a8[_0xc5cfb1(0x38f)](_0x296a89['id'],{'unitId':_0x2cfd3f[_0xc5cfb1(0x379)],'tableId':_0x2cfd3f[_0xc5cfb1(0x6a7)],'patch':{'options':_0x293ea9}});},[_0x13a7a8,_0x2cfd3f]),_0x1b9f2f=_0x20984c((_0x418374,_0x532fbc)=>{_0x2cfc53({'selectionKey':_0x422f37,'value':_0x532fbc?_0x418374:null});},[_0x422f37]);return{'selectionService':_0x129357,'commandService':_0x13a7a8,'localeService':_0x503169,'direction':_0xef50e1,'position':_0x442f22,'visibleSelection':_0x2cfd3f,'table':_0x36af0d,'firstCellValues':_0x9837db,'toolbarState':_0x34f4a1,'tableThemePalette':_0x33f933(()=>_0x27e190(_0x9a7629=>_0xf90bbf['getColorFromTheme'](_0x9a7629)),[_0xf90bbf]),'applyPatch':_0x1075fb,'applyTableTheme':_0x249214,'applyTableLook':_0x152096,'handleDropdownOpenChange':_0x1b9f2f,'markTableInternalInteraction':_0x19710a,'openDropdown':_0x4ff72c};}function Jd(){const _0x5826c3=_0x5defcf;let _0x317f87=_0x41e5c1(fo),{commandService:_0x4691f5,localeService:_0xb8dcb9,direction:_0x15b286,position:_0x3b7d72,visibleSelection:_0x3af203,table:_0xf25d47,firstCellValues:_0xa42561,toolbarState:_0x1eefa5,tableThemePalette:_0x50ce02,applyPatch:_0x625020,applyTableTheme:_0x471de4,applyTableLook:_0x12494c,handleDropdownOpenChange:_0x14180a,markTableInternalInteraction:_0x3cc5e3,openDropdown:_0x1c8710}=qd(_0x45a1ca(_0x317f87[_0x5826c3(0x481)],_0x317f87[_0x5826c3(0x535)]()));if(!_0x3af203||!_0x3b7d72||!_0xf25d47)return null;let _0x1ca12c={'left':_0x3b7d72[_0x5826c3(0x479)],'top':_0x3b7d72[_0x5826c3(0x5ee)],'width':_0x5826c3(0x4f5),'maxWidth':'min(760px,\x20calc(100vw\x20-\x2024px))','minHeight':0x2a,'transform':_0x5826c3(0x272),'zIndex':0x2742},_0x46cd35=[{'labelKey':_0x5826c3(0x28f),'value':_0x4918fc['LEFT'],'icon':_0x455c20(_0x9e03d4,{})},{'labelKey':_0x5826c3(0x2a1),'value':_0x4918fc[_0x5826c3(0x5a4)],'icon':_0x455c20(_0x15fb00,{})},{'labelKey':_0x5826c3(0x57d),'value':_0x4918fc[_0x5826c3(0x1d0)],'icon':_0x455c20(_0x47272f,{})},{'labelKey':'slides-table-ui.editorToolbar.alignJustify','value':_0x4918fc[_0x5826c3(0x5f1)],'icon':_0x455c20(_0x488b64,{})}],_0x959d2e=[{'labelKey':_0x5826c3(0x292),'value':_0x9c0db6[_0x5826c3(0x64d)],'icon':_0x455c20(_0x406144,{})},{'labelKey':_0x5826c3(0x413),'value':_0x9c0db6['MIDDLE'],'icon':_0x455c20(_0x4afd92,{})},{'labelKey':'slides-table-ui.editorToolbar.alignBottom','value':_0x9c0db6[_0x5826c3(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}],_0x873af0=_0x3af203[_0x5826c3(0x649)][0x0],_0x51f56a=_0x1eefa5[_0x5826c3(0x3d4)],_0x27e968=is(_0xf25d47,_0x3af203),_0x1f3d73=(_0x27e968==null?void 0x0:_0x27e968['kind'])===_0x5826c3(0x4b9)?_0xb8dcb9['t'](_0x5826c3(0x6e8)):(_0x27e968==null?void 0x0:_0x27e968[_0x5826c3(0x521)])===_0x5826c3(0x3f1)?_0xb8dcb9['t'](_0x5826c3(0x26f)):null,_0x54a015=()=>{const _0x2e9a9c=_0x5826c3;_0x27e968&&_0x4691f5['executeCommand'](_0x27e968[_0x2e9a9c(0x595)],_0x27e968[_0x2e9a9c(0x4f6)]);},_0x2cd8c7=(_0x51f56a==null?void 0x0:_0x51f56a['action'])===_0x5826c3(0x59a)?_0xb8dcb9['t']('slides-table-ui.editorToolbar.unmergeCells'):(_0x51f56a==null?void 0x0:_0x51f56a[_0x5826c3(0x3f4)])===_0x5826c3(0x6f4)?_0xb8dcb9['t']('slides-table-ui.editorToolbar.mergeCells'):null,_0x5e5311=()=>{const _0x4bd8b4=_0x5826c3;let _0x39aafe=rs(_0x3af203,(_0x51f56a==null?void 0x0:_0x51f56a['action'])??null,(_0x51f56a==null?void 0x0:_0x51f56a[_0x4bd8b4(0x483)])??_0x873af0??null);_0x39aafe&&_0x4691f5[_0x4bd8b4(0x38f)](_0x39aafe[_0x4bd8b4(0x595)],_0x39aafe[_0x4bd8b4(0x4f6)]);};return _0x30f958('div',{'data-u-comp':_0x5826c3(0x3ae),'role':_0x5826c3(0x699),'className':_0x34395c(_0x5826c3(0x27e),_0x2e4a4b),'dir':_0x15b286,'style':{..._0x1ca12c,'direction':_0x15b286},'onMouseDownCapture':_0x3cc5e3,'onPointerDownCapture':_0x3cc5e3,'onMouseDown':_0x5142db,'onPointerDown':_0x5142db,'children':[_0x27e968&&_0x1f3d73?_0x30f958(_0x149616,{'children':[_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x27e968['kind']===_0x5826c3(0x4b9)?_0x5826c3(0x207):'delete-column','title':_0x1f3d73,'onClick':_0x54a015,'children':_0x455c20(_0x14a244,{})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)})]}):null,_0x2cd8c7?_0x30f958(_0x149616,{'children':[_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x5826c3(0x198),'title':_0x2cd8c7,'onClick':_0x5e5311,'children':(_0x51f56a==null?void 0x0:_0x51f56a[_0x5826c3(0x3f4)])===_0x5826c3(0x59a)?_0x455c20(_0x519ea5,{}):_0x455c20(_0x109256,{})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)})]}):null,_0x30f958(ys,{'children':[_0x455c20(ss,{'color':_0xa42561['backgroundColor'],'value':Mo(_0xa42561[_0x5826c3(0x679)]),'gradientValue':Io(_0xa42561[_0x5826c3(0x679)],_0xa42561[_0x5826c3(0x5c1)]),'previewStyle':Ro(_0xa42561[_0x5826c3(0x679)],_0xa42561[_0x5826c3(0x5c1)]),'showPreview':!0x1,'tableFill':_0xa42561[_0x5826c3(0x679)],'mixed':!!_0xa42561[_0x5826c3(0x636)]['backgroundFill'],'open':_0x1c8710===_0x5826c3(0x1a3),'onOpenChange':_0x578739=>_0x14180a(_0x5826c3(0x1a3),_0x578739),'onTableFillChange':_0x8d7cd2=>_0x625020((_0xef7b51,_0x1cfdf3)=>gi(_0xef7b51,_0x1cfdf3,_0x8d7cd2)),'children':_0x455c20(_0x565857,{'extend':{'colorChannel1':_0xa42561[_0x5826c3(0x5c1)]}})}),_0x455c20(ws,{'direction':_0x15b286,'color':_0xa42561[_0x5826c3(0x47c)],'width':_0xa42561[_0x5826c3(0x191)],'dash':_0xa42561[_0x5826c3(0x1bc)],'presets':hs,'open':_0x1c8710===_0x5826c3(0x45a),'mixed':!!(_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x47c)]||_0xa42561[_0x5826c3(0x636)]['borderWidth']||_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x1bc)]),'onOpenChange':_0x4d6852=>_0x14180a(_0x5826c3(0x45a),_0x4d6852),'onSelectPreset':_0x824730=>_0x625020((_0x216edf,_0x2e6881)=>bi(_0x216edf,_0x2e6881,_0x824730)),'onChangeColor':_0x19f8c9=>_0x625020((_0x1ab46d,_0x161208)=>yi(_0x1ab46d,_0x161208,{'color':_0x19f8c9})),'onChangeWidth':_0x5868de=>_0x625020((_0x32d906,_0x5434f1)=>yi(_0x32d906,_0x5434f1,{'width':_0x5868de,'dash':_0x5868de===0x0?_0x599627[_0x5826c3(0x2d4)]:void 0x0})),'onChangeDash':_0x3a5c81=>_0x625020((_0x3abd57,_0x45a90e)=>yi(_0x3abd57,_0x45a90e,{'dash':_0x3a5c81}))})]}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x30f958(ys,{'children':[_0x455c20(_0x5bcadb,{'ariaLabel':_0xb8dcb9['t'](_0x5826c3(0x36d)),'className':_0x5826c3(0x3af),'inputClassName':_0x5826c3(0x260),'value':_0xa42561[_0x5826c3(0x636)]['fontFamily']?'':_0xa42561[_0x5826c3(0x6cd)],'onChange':_0x3cad22=>_0x625020((_0x3ed19a,_0x440467)=>xi(_0x3ed19a,_0x440467,_0x3cad22)),'onMouseDown':_0x5142db,'onPointerDown':_0x5142db}),_0x455c20(Os,{'title':_0xb8dcb9['t'](_0x5826c3(0x35a)),'widthClassName':'univer-w-14','value':_0xa42561['mixed'][_0x5826c3(0x3cf)]?'':String(_0xa42561[_0x5826c3(0x3cf)]),'options':_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x3cf)]?[{'label':'—','value':''},...fs]:Vo(fs,String(_0xa42561['fontSize'])),'onChange':_0x4906e8=>{const _0x58d505=_0x5826c3;let _0x1cfdeb=Number(_0x4906e8);_0x4906e8&&!Number[_0x58d505(0x4b2)](_0x1cfdeb)&&_0x625020((_0x230d00,_0x3a7d4e)=>Si(_0x230d00,_0x3a7d4e,_0x1cfdeb));}}),_0x455c20(Ss,{'open':_0x1c8710==='textFormat','values':_0xa42561,'horizontalAlignOptions':_0x46cd35,'verticalAlignOptions':_0x959d2e,'onOpenChange':_0x248ea4=>_0x14180a(_0x5826c3(0x516),_0x248ea4),'onToggleStyle':_0x2f7bdc=>_0x625020((_0x89b3e4,_0x2154e5)=>Li(_0x89b3e4,_0x2154e5,_0x2f7bdc)),'onHorizontalAlign':_0x21d033=>_0x625020((_0x559e79,_0x3ade93)=>di(_0x559e79,_0x3ade93,{'axis':'horizontal','value':_0x21d033})),'onVerticalAlign':_0x3cea1f=>_0x625020((_0x129483,_0x27ac3f)=>di(_0x129483,_0x27ac3f,{'axis':_0x5826c3(0x511),'value':_0x3cea1f}))})]}),_0x455c20(_0x103320,{'orientation':'vertical'}),_0x30f958(ys,{'children':[_0x455c20(Es,{'data-toolbar-item':_0x5826c3(0x196),'title':_0xb8dcb9['t']('slides-table-ui.editorToolbar.textColor'),'color':_0xa42561[_0x5826c3(0x3e5)],'mixed':!!(_0xa42561[_0x5826c3(0x636)]['textColor']||_0xa42561[_0x5826c3(0x636)][_0x5826c3(0x417)]),'icon':_0x5826c3(0x4c6),'open':_0x1c8710==='textColor','onOpenChange':_0x2c1fd7=>_0x14180a(_0x5826c3(0x3e5),_0x2c1fd7),'onChange':_0x18a7d7=>_0x625020((_0x50afd2,_0x1ab376)=>vi(_0x50afd2,_0x1ab376,{'type':_0x5826c3(0x71a),'color':_0x18a7d7,'opacity':0x1}))}),_0x455c20(Es,{'data-toolbar-item':'text-background','title':_0xb8dcb9['t'](_0x5826c3(0x50b)),'color':_0xa42561[_0x5826c3(0x543)],'mixed':!!_0xa42561[_0x5826c3(0x636)]['textBackgroundColor'],'icon':_0x5826c3(0x488),'open':_0x1c8710===_0x5826c3(0x40a),'onOpenChange':_0x3d0ced=>_0x14180a('textBackground',_0x3d0ced),'onChange':_0x2009cc=>_0x625020((_0x139ec8,_0x31f14f)=>Li(_0x139ec8,_0x31f14f,{'bg':{'rgb':_0x2009cc}}))})]}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x455c20(ys,{'children':_0x455c20(Cs,{'open':_0x1c8710===_0x5826c3(0x1c6),'onOpenChange':_0x308def=>_0x14180a(_0x5826c3(0x1c6),_0x308def),'children':_0x455c20(Ns,{'currentStyleId':_0xf25d47[_0x5826c3(0x4b1)],'currentOptions':_0xf25d47[_0x5826c3(0x1d9)]??{},'direction':_0x15b286,'palette':_0x50ce02,'onApplyTheme':_0x5f4f56=>{_0x471de4(_0x5f4f56),_0x14180a('theme',!0x1);},'onChangeOptions':_0x12494c})})}),_0x455c20(_0x103320,{'orientation':_0x5826c3(0x511)}),_0x455c20(ys,{'children':_0x455c20(bs,{'data-toolbar-item':_0x5826c3(0x464),'title':_0xb8dcb9['t'](_0x5826c3(0x50e)),'onClick':()=>_0x4691f5[_0x5826c3(0x38f)](ra['id']),'children':_0x455c20(_0x14a244,{})})})]});}function Yd(_0x234b44){const _0x3416ab=_0x5defcf;let {labels:_0x52d9d1,values:_0x48794b,onChange:_0x1f55df,onInteraction:_0x1dc771,onDelete:_0x52e4df,menuType:_0x28963f,themeGallery:_0x4d12aa}=_0x234b44,{mountContainer:_0x504189}=_0xc305a4(_0x15df7b),_0x427805=_0x41e5c1(_0x51671c),[_0x25af5e,_0x49189f]=_0x504879(null),[_0x334949,_0x61629b]=_0x504879(_0x3416ab(0x590)),[_0x58b2a7,_0xedef76]=_0x504879(_0x3416ab(0x4d7)),[_0x43924,_0x55db91]=_0x504879(null),[_0x146c43,_0x88bcba]=_0x504879(null),_0x3ef61e=()=>{_0x49189f(null),_0x55db91(null),_0x88bcba(null);},_0x19bd50=_0x3a3bd2=>_0x1f55df((_0x143c82,_0x35da17)=>Li(_0x143c82,_0x35da17,{..._0x3a3bd2})),_0x37654b=[{'key':_0x3416ab(0x5a5),'label':_0x52d9d1[_0x3416ab(0x5a5)],'icon':_0x455c20(_0x4fb6d4,{}),'active':_0x48794b[_0x3416ab(0x5a5)],'patch':{'bl':_0x48794b[_0x3416ab(0x5a5)]?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}},{'key':_0x3416ab(0x1eb),'label':_0x52d9d1['italic'],'icon':_0x455c20(_0x8f99bc,{}),'active':_0x48794b['italic'],'patch':{'it':_0x48794b[_0x3416ab(0x1eb)]?_0x3fcebf['FALSE']:_0x3fcebf[_0x3416ab(0x298)]}},{'key':_0x3416ab(0x2b9),'label':_0x52d9d1['underline'],'icon':_0x455c20(_0x1c7e39,{}),'active':_0x48794b['underline'],'patch':{'ul':{'s':_0x48794b['underline']?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}}},{'key':_0x3416ab(0x69c),'label':_0x52d9d1['strikethrough'],'icon':_0x455c20(_0x2f2343,{}),'active':_0x48794b[_0x3416ab(0x69c)],'patch':{'st':{'s':_0x48794b['strike']?_0x3fcebf[_0x3416ab(0x403)]:_0x3fcebf[_0x3416ab(0x298)]}}}],_0x4ec4f2={'textColor':_0x48794b['textColor'],'textBackgroundColor':_0x48794b[_0x3416ab(0x543)],'tableBackgroundColor':_0x48794b[_0x3416ab(0x5c1)],'tableBorderColor':_0x48794b[_0x3416ab(0x47c)]},_0x430fd1=_0x334949===_0x3416ab(0x590)?[_0x3416ab(0x3e5),_0x3416ab(0x543)]:[_0x3416ab(0x4cf),_0x3416ab(0x409)];return _0x25af5e?_0x504189?_0x3f588b(_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x27a),'onPointerDownCapture':_0x1dc771,'children':_0x30f958(_0x1965df,{'layout':_0x3416ab(0x36e),'snap':_0x58b2a7,'onSnapChange':_0xedef76,'onClose':_0x3ef61e,'expandLabel':_0x52d9d1['expand'],'collapseLabel':_0x52d9d1[_0x3416ab(0x620)],'role':_0x3416ab(0x493),'panelClassName':_0x3416ab(0x368),'ariaLabel':_0x52d9d1[_0x25af5e],'header':_0x30f958(_0x3416ab(0x2cb),{'className':_0x3416ab(0x701),'children':[(_0x43924||_0x146c43)&&_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':'univer-size-11','aria-label':_0x52d9d1[_0x3416ab(0x54c)],'onClick':()=>_0x43924?_0x55db91(null):_0x146c43==null?void 0x0:_0x146c43['onBack'](),'children':_0x455c20(_0x381735,{})}),_0x455c20(_0x3416ab(0x45d),{'className':_0x3416ab(0x339),'children':_0x43924?_0x52d9d1[_0x43924]:(_0x146c43==null?void 0x0:_0x146c43['title'])??_0x52d9d1[_0x25af5e]}),_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x3416ab(0x31d),'aria-label':_0x52d9d1[_0x3416ab(0x56f)],'onClick':_0x3ef61e,'children':_0x455c20(_0x488ccc,{})})]}),'children':[_0x25af5e==='edit'&&!_0x43924&&!_0x146c43&&_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x614),'children':_0x455c20('div',{'role':_0x3416ab(0x572),'aria-label':_0x52d9d1['edit'],'className':_0x3416ab(0x1e4),'children':[_0x3416ab(0x590),_0x3416ab(0x5d8),'styles'][_0x3416ab(0x295)](_0x307620=>_0x455c20(_0x186c8e,{'role':'tab','aria-selected':_0x334949===_0x307620,'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x3ff),_0x334949===_0x307620&&'univer-bg-primary-50\x20univer-text-primary-600'),'onClick':()=>_0x61629b(_0x307620),'children':_0x52d9d1[_0x307620]},_0x307620))})}),_0x43924?_0x455c20(_0x4e3a3f,{'value':_0x4ec4f2[_0x43924],'onChange':_0x27e63d=>{_0x1f55df((_0x3ac5cc,_0x3810f7)=>{const _0x2bb6c6=_0x428e;switch(_0x43924){case _0x2bb6c6(0x3e5):return _i(_0x3ac5cc,_0x3810f7,_0x27e63d);case _0x2bb6c6(0x543):return Li(_0x3ac5cc,_0x3810f7,{'bg':{'rgb':_0x27e63d}});case _0x2bb6c6(0x4cf):return gi(_0x3ac5cc,_0x3810f7,{'type':_0x772d0f[_0x2bb6c6(0x37a)],'color':_0x27e63d,'alpha':0x1});case'tableBorderColor':return yi(_0x3ac5cc,_0x3810f7,{'color':_0x27e63d});default:return{};}});}}):_0x30f958(_0x3416ab(0x2cb),{'className':_0x3416ab(0x1fe),'children':[_0x25af5e===_0x3416ab(0x6d4)&&!_0x146c43&&_0x334949!==_0x3416ab(0x2cd)&&_0x30f958(_0x149616,{'children':[_0x334949===_0x3416ab(0x590)&&_0x30f958(_0x149616,{'children':[_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x230),'children':_0x37654b[_0x3416ab(0x295)](({key:_0x16cf2e,label:_0xf56632,icon:_0x3ae4f7,active:_0x438e41,patch:_0x5bffe8})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x491),_0x438e41&&_0x3416ab(0x622)),'aria-label':_0xf56632,'aria-pressed':_0x438e41,'onClick':()=>_0x19bd50(_0x5bffe8),'children':_0x3ae4f7},_0x16cf2e))}),_0x30f958('div',{'className':_0x3416ab(0x303),'children':[_0x30f958('label',{'className':_0x3416ab(0x593),'children':[_0x52d9d1['fontFamily'],_0x455c20(_0x791ed8,{'ariaLabel':_0x52d9d1[_0x3416ab(0x6cd)],'className':_0x3416ab(0x32c),'inputClassName':_0x3416ab(0x302),'value':_0x48794b[_0x3416ab(0x6cd)],'onChange':_0x4c5204=>_0x1f55df((_0x30bd52,_0x731a45)=>xi(_0x30bd52,_0x731a45,_0x4c5204))})]}),_0x30f958('label',{'className':_0x3416ab(0x593),'children':[_0x52d9d1[_0x3416ab(0x3cf)],_0x455c20(_0x39a1de,{'className':_0x3416ab(0x60b),'controls':!0x1,'min':0x1,'max':0x190,'value':_0x48794b[_0x3416ab(0x3cf)],'onChange':_0x43776d=>{_0x43776d!=null&&_0x1f55df((_0x3464f2,_0x2ef2d6)=>Si(_0x3464f2,_0x2ef2d6,_0x43776d));}})]})]})]}),_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x726),'children':[{'label':_0x52d9d1[_0x3416ab(0x375)],'value':_0x4918fc[_0x3416ab(0x2a7)],'icon':_0x455c20(_0x9e03d4,{})},{'label':_0x52d9d1[_0x3416ab(0x419)],'value':_0x4918fc[_0x3416ab(0x5a4)],'icon':_0x455c20(_0x15fb00,{})},{'label':_0x52d9d1['alignRight'],'value':_0x4918fc[_0x3416ab(0x1d0)],'icon':_0x455c20(_0x47272f,{})}]['map'](({label:_0x269bdf,value:_0x4562d5,icon:_0x35d1e8})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c(_0x3416ab(0x406),_0x48794b[_0x3416ab(0x575)]===_0x4562d5&&'univer-bg-primary-50\x20univer-text-primary-600'),'aria-label':_0x269bdf,'aria-pressed':_0x48794b[_0x3416ab(0x575)]===_0x4562d5,'onClick':()=>_0x1f55df((_0x1e32a2,_0xfaf73e)=>di(_0x1e32a2,_0xfaf73e,{'axis':'horizontal','value':_0x4562d5})),'children':_0x35d1e8},_0x4562d5))}),_0x455c20(_0x3416ab(0x2cb),{'className':_0x3416ab(0x726),'children':[{'label':_0x52d9d1[_0x3416ab(0x6fc)],'value':_0x9c0db6[_0x3416ab(0x64d)],'icon':_0x455c20(_0x406144,{})},{'label':_0x52d9d1[_0x3416ab(0x5fa)],'value':_0x9c0db6[_0x3416ab(0x4ce)],'icon':_0x455c20(_0x4afd92,{})},{'label':_0x52d9d1[_0x3416ab(0x6a5)],'value':_0x9c0db6[_0x3416ab(0x29b)],'icon':_0x455c20(_0x4b47f3,{})}]['map'](({label:_0x581309,value:_0x41289b,icon:_0x393699})=>_0x455c20(_0x186c8e,{'variant':_0x3416ab(0x3a9),'className':_0x34395c('univer-h-12',_0x48794b[_0x3416ab(0x385)]===_0x41289b&&_0x3416ab(0x622)),'aria-label':_0x581309,'aria-pressed':_0x48794b[_0x3416ab(0x385)]===_0x41289b,'onClick':()=>_0x1f55df((_0x1c38b8,_0x33bb0b)=>di(_0x1c38b8,_0x33bb0b,{'axis':_0x3416ab(0x511),'value':_0x41289b})),'children':_0x393699},_0x41289b))}),_0x455c20('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':_0x430fd1['map'](_0x4b8092=>_0x30f958(_0x186c8e,{'variant':'ghost','className':_0x3416ab(0x6b8),'onClick':()=>_0x55db91(_0x4b8092),'children':[_0x52d9d1[_0x4b8092],_0x30f958(_0x3416ab(0x45d),{'className':_0x3416ab(0x1f0),'children':[_0x455c20(_0x3416ab(0x45d),{'className':_0x3416ab(0x5b3),'style':{'backgroundColor':_0x4ec4f2[_0x4b8092]}}),_0x455c20(_0x5c9102,{})]})]},_0x4b8092))}),_0x334949==='cellStyle'&&_0x30f958(_0x3416ab(0x2cb),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-3','children':[_0x30f958(_0x3416ab(0x3a7),{'className':_0x3416ab(0x6bb),'children':[_0x52d9d1[_0x3416ab(0x45a)],_0x455c20(_0x371845,{'className':'univer-h-12\x20univer-min-w-0\x20univer-text-base','aria-label':_0x52d9d1[_0x3416ab(0x45a)],'value':'','options':[{'value':'','label':_0x52d9d1[_0x3416ab(0x45a)],'disabled':!0x0},{'value':_0x4c5615[_0x3416ab(0x25b)],'label':_0x52d9d1[_0x3416ab(0x49d)]},{'value':_0x4c5615[_0x3416ab(0x4ba)],'label':_0x52d9d1[_0x3416ab(0x669)]},{'value':_0x4c5615[_0x3416ab(0x6da)],'label':_0x52d9d1[_0x3416ab(0x619)]},{'value':_0x4c5615[_0x3416ab(0x2d4)],'label':_0x52d9d1['noBorder']}],'onChange':_0x227dd7=>{const _0x4a3e12=_0x3416ab;let _0x4fbf5f=Object[_0x4a3e12(0x267)](_0x4c5615)[_0x4a3e12(0x461)](_0x1112f1=>_0x1112f1===_0x227dd7);_0x4fbf5f&&_0x1f55df((_0x4b0c41,_0x8d07c4)=>bi(_0x4b0c41,_0x8d07c4,_0x4fbf5f));}})]}),_0x30f958(_0x3416ab(0x3a7),{'className':_0x3416ab(0x6bb),'children':[_0x52d9d1['borderWidth'],_0x455c20(_0x39a1de,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':0x0,'value':_0x48794b[_0x3416ab(0x191)],'onChange':_0x31ceb7=>{_0x31ceb7!=null&&_0x1f55df((_0x258623,_0x1d6316)=>yi(_0x258623,_0x1d6316,{'width':_0x31ceb7}));}})]})]})]}),_0x25af5e===_0x3416ab(0x34f)&&!_0x146c43&&_0x30f958('div',{'className':_0x3416ab(0x423),'children':[_0x455c20(_0x186c8e,{'className':'univer-h-12','onClick':()=>{const _0x49b2c9=_0x3416ab;_0x234b44[_0x49b2c9(0x454)](_0x49b2c9(0x1a8));},'children':_0x52d9d1[_0x3416ab(0x63f)]}),_0x455c20(_0x186c8e,{'className':_0x3416ab(0x406),'onClick':()=>{const _0x563468=_0x3416ab;_0x234b44[_0x563468(0x454)](_0x563468(0x3f1));},'children':_0x52d9d1['selectColumn']})]}),_0x25af5e==='operations'&&_0x455c20(_0xad5b7d,{'menuType':_0x28963f,'showHeader':!0x1,'onNavigationChange':_0x88bcba,'onOptionSelect':async _0x34c3c5=>{const _0x1a7c6b=_0x3416ab;let _0x28ee29=_0x34c3c5[_0x1a7c6b(0x595)]??_0x34c3c5['id'];if(!_0x28ee29)return;let _0x4665bf=typeof _0x34c3c5[_0x1a7c6b(0x4f6)]=='function'?_0x34c3c5[_0x1a7c6b(0x4f6)](_0x34c3c5[_0x1a7c6b(0x38a)]):_0x34c3c5['params'];await _0x427805[_0x1a7c6b(0x38f)](_0x28ee29,_0x4665bf);}}),_0x25af5e==='edit'&&_0x334949==='styles'&&!_0x146c43&&_0x4d12aa]})]})}),_0x504189):null:_0x455c20(_0x3416ab(0x2cb),{'onPointerDownCapture':_0x1dc771,'children':_0x455c20(_0xad5b7d,{'presentation':'context-bar','schemas':[{'key':_0x3416ab(0x6d4),'order':0x0,'item':{'id':'edit','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1[_0x3416ab(0x6d4)]}},{'key':_0x3416ab(0x34f),'order':0x1,'item':{'id':'operations','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1[_0x3416ab(0x34f)]}},{'key':'delete','order':0x2,'item':{'id':'delete','type':_0x34fe51[_0x3416ab(0x6c6)],'title':_0x52d9d1['delete']}}],'onOptionSelect':({id:_0x23700a})=>{const _0x54727d=_0x3416ab;_0x23700a==='edit'?_0x49189f(_0x54727d(0x6d4)):_0x23700a===_0x54727d(0x34f)?_0x49189f(_0x54727d(0x34f)):_0x23700a===_0x54727d(0x525)&&_0x52e4df();}})});}function Xd(_0x1a50d7){const _0x2a9fd5=_0x5defcf;let _0xb4645e=_0x41e5c1(_0x494027);return _0x30f958(_0x2a9fd5(0x2cb),{'className':_0x2a9fd5(0x3db),'dir':_0x1a50d7[_0x2a9fd5(0x2eb)],'children':[_0x1a50d7[_0x2a9fd5(0x3fc)]!==!0x1&&_0x455c20(_0x2a9fd5(0x2cb),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':Ms['map'](({key:_0x5c1a22,labelKey:_0x2ceebb})=>_0x30f958(_0x186c8e,{'className':_0x34395c(_0x2a9fd5(0x204),_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22]&&_0x2a9fd5(0x622)),'aria-pressed':!!_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22],'onClick':()=>_0x1a50d7[_0x2a9fd5(0x433)]({..._0x1a50d7[_0x2a9fd5(0x35b)],[_0x5c1a22]:!_0x1a50d7[_0x2a9fd5(0x35b)][_0x5c1a22]}),'children':[_0x1a50d7['currentOptions'][_0x5c1a22]&&_0x455c20(_0x4b3c87,{}),_0xb4645e['t'](_0x2ceebb)]},_0x5c1a22))}),_0x1a50d7[_0x2a9fd5(0x6af)]!==!0x1&&As[_0x2a9fd5(0x295)](_0x821cfb=>_0x30f958(_0x2a9fd5(0x70f),{'className':_0x2a9fd5(0x694),'children':[_0x455c20('h3',{'className':_0x2a9fd5(0x1ab),'children':_0xb4645e['t'](js[_0x821cfb])}),_0x455c20(_0x2a9fd5(0x2cb),{'className':_0x2a9fd5(0x47f),'children':_0x33b20a[_0x2a9fd5(0x439)](_0x3c6dfc=>_0x3c6dfc[_0x2a9fd5(0x707)]===_0x821cfb)['map']((_0x4760c1,_0x2e87c5)=>_0x455c20('button',{'type':'button','aria-label':_0xb4645e['t'](js[_0x821cfb])+'\x20'+(_0x2e87c5+0x1),'aria-pressed':_0x1a50d7[_0x2a9fd5(0x494)]===_0x4760c1['id'],'className':_0x34395c(_0x2a9fd5(0x3ad),_0x1a50d7[_0x2a9fd5(0x494)]===_0x4760c1['id']&&_0x2a9fd5(0x412)),'onClick':()=>_0x1a50d7['onApplyTheme'](_0x4760c1['id']),'children':_0x455c20(Fs,{'styleId':_0x4760c1['id'],'options':_0x1a50d7[_0x2a9fd5(0x35b)],'direction':_0x1a50d7[_0x2a9fd5(0x2eb)]??_0x2a9fd5(0x62c),'palette':_0x1a50d7[_0x2a9fd5(0x22b)]})},_0x4760c1['id']))})]},_0x821cfb))]});}function Zd(){const _0x42cb7e=_0x5defcf;let {selectionService:_0x4dbcef,localeService:_0x17a698,direction:_0xf5b59b,position:_0x17f756,visibleSelection:_0x5e1659,table:_0x43be7e,firstCellValues:_0x4035fb,tableThemePalette:_0x33f121,applyPatch:_0x1f847d,applyTableTheme:_0x1f2b91,applyTableLook:_0x1ff9b4}=qd(!0x0,0xf0),_0x502681=_0x41e5c1(_0x51671c);if(!_0x5e1659||!_0x17f756||!_0x43be7e)return null;let _0x43cc64={'left':_0x17f756['left'],'top':_0x17f756['top'],'width':'max-content','maxWidth':'min(240px,\x20calc(100vw\x20-\x2024px))','minHeight':0x24,'transform':_0x42cb7e(0x272),'zIndex':0x2742};return _0x455c20(_0x42cb7e(0x2cb),{'style':{..._0x43cc64,'left':Math[_0x42cb7e(0x4a7)](Math[_0x42cb7e(0x6bf)](0xc,_0x17f756[_0x42cb7e(0x479)]),window[_0x42cb7e(0x4da)]-0xc)},'className':_0x42cb7e(0x270),'children':_0x455c20(Yd,{'values':_0x4035fb,'menuType':_0x42cb7e(0x2ad),'onInteraction':()=>_0x4dbcef[_0x42cb7e(0x4ca)](),'onChange':_0x1f847d,'onDelete':()=>_0x502681[_0x42cb7e(0x38f)](ra['id']),'onSelect':_0x547ed8=>{const _0x147e94=_0x42cb7e;let _0x49dc4b=_0x5e1659[_0x147e94(0x649)][0x0];if(_0x547ed8===_0x147e94(0x3f1)){var _0x464d61,_0x4414ba;_0x4dbcef[_0x147e94(0x5e9)]({..._0x5e1659,'startColumn':((_0x464d61=_0x5e1659[_0x147e94(0x61b)])==null?void 0x0:_0x464d61[_0x147e94(0x3f1)])??_0x49dc4b[_0x147e94(0x3cc)],'endColumn':((_0x4414ba=_0x5e1659['focus'])==null?void 0x0:_0x4414ba[_0x147e94(0x3f1)])??_0x49dc4b[_0x147e94(0x3cc)],'rowCount':_0x43be7e[_0x147e94(0x360)][_0x147e94(0x393)]});}else _0x4dbcef[_0x147e94(0x63f)]({..._0x5e1659,'row':_0x49dc4b[_0x147e94(0x1d3)],'column':_0x49dc4b[_0x147e94(0x3cc)]});},'labels':{'text':_0x17a698['t'](_0x42cb7e(0x395)),'cellStyle':_0x17a698['t'](_0x42cb7e(0x70a)),'styles':_0x17a698['t'](_0x42cb7e(0x476)),'operations':_0x17a698['t'](_0x42cb7e(0x68e)),'selectCell':_0x17a698['t']('slides-table-ui.mobile.selectCell'),'selectColumn':_0x17a698['t'](_0x42cb7e(0x1ca)),'edit':_0x17a698['t'](_0x42cb7e(0x4a0)),'close':_0x17a698['t'](_0x42cb7e(0x36f)),'expand':_0x17a698['t'](_0x42cb7e(0x4e2)),'collapse':_0x17a698['t'](_0x42cb7e(0x2f3)),'back':_0x17a698['t'](_0x42cb7e(0x723)),'delete':_0x17a698['t'](_0x42cb7e(0x29a)),'fontFamily':_0x17a698['t'](_0x42cb7e(0x36d)),'fontSize':_0x17a698['t'](_0x42cb7e(0x35a)),'bold':_0x17a698['t']('slides-table-ui.editorToolbar.bold'),'italic':_0x17a698['t'](_0x42cb7e(0x50a)),'underline':_0x17a698['t'](_0x42cb7e(0x577)),'strikethrough':_0x17a698['t'](_0x42cb7e(0x436)),'alignLeft':_0x17a698['t'](_0x42cb7e(0x28f)),'alignCenter':_0x17a698['t']('slides-table-ui.editorToolbar.alignCenter'),'alignRight':_0x17a698['t'](_0x42cb7e(0x57d)),'alignTop':_0x17a698['t'](_0x42cb7e(0x292)),'alignMiddle':_0x17a698['t'](_0x42cb7e(0x413)),'alignBottom':_0x17a698['t'](_0x42cb7e(0x496)),'textColor':_0x17a698['t'](_0x42cb7e(0x70d)),'textBackgroundColor':_0x17a698['t']('slides-table-ui.editorToolbar.textBackgroundColor'),'tableBackgroundColor':_0x17a698['t'](_0x42cb7e(0x609)),'tableBorderColor':_0x17a698['t'](_0x42cb7e(0x489)),'border':_0x17a698['t'](_0x42cb7e(0x38e)),'borderWidth':_0x17a698['t'](_0x42cb7e(0x5f8)),'borderPresetAll':_0x17a698['t']('slides-table-ui.editorToolbar.borderPresetAll'),'borderPresetOuter':_0x17a698['t']('slides-table-ui.editorToolbar.borderPresetOuter'),'borderPresetInner':_0x17a698['t'](_0x42cb7e(0x6ee)),'noBorder':_0x17a698['t'](_0x42cb7e(0x33a))},'themeGallery':_0x455c20(Xd,{'currentStyleId':_0x43be7e[_0x42cb7e(0x4b1)],'currentOptions':_0x43be7e[_0x42cb7e(0x1d9)]??{},'direction':_0xf5b59b,'palette':_0x33f121,'onApplyTheme':_0x1f2b91,'onChangeOptions':_0x1ff9b4})},_0x5e1659['tableId'])});}let Qd=class extends _0x52fe5c{constructor(_0x39fa80=ti,_0x14a125,_0x5e5034,_0x12e057,_0x454bd3,_0x99c399,_0xc9d2c4,_0x4ce2bd){const _0x55404b=_0x5defcf;super(),this[_0x55404b(0x2c5)]=_0x39fa80,this[_0x55404b(0x5d0)]=_0x14a125,this[_0x55404b(0x4b4)]=_0x5e5034,this[_0x55404b(0x4c3)]=_0x12e057,this[_0x55404b(0x710)]=_0x454bd3,this[_0x55404b(0x5c8)]=_0x99c399,this[_0x55404b(0x227)]=_0xc9d2c4,this['_uiPartsService']=_0x4ce2bd;let {..._0x31d2b4}=_0x4e092b({},ti,this[_0x55404b(0x2c5)]);this[_0x55404b(0x4b4)]['setConfig'](ei,_0x31d2b4),[...xa,...Qa,uo,po][_0x55404b(0x4df)](_0x4cef03=>this[_0x55404b(0x40f)](this['_commandService']['registerCommand'](_0x4cef03))),[...$a,...eo]['forEach'](_0xcb71fa=>this[_0x55404b(0x40f)](this[_0x55404b(0x227)][_0x55404b(0x404)](_0xcb71fa)));}['onStarting'](){const _0x8350fb=_0x5defcf;[[fo],[Xs],[Dd],[J],[Ua],[Nd],[mo],[Od]][_0x8350fb(0x4df)](_0x2b6320=>this[_0x8350fb(0x5d0)]['add'](_0x2b6320)),this['disposeWithMe'](this['_injector']['get'](_0x22ba2f)[_0x8350fb(0x5ce)](kd)),_0x481344(this['_injector'],[[Xs],[J],[Ua],[fo],[Nd],[mo],[Od]]),this['disposeWithMe'](this['_injector'][_0x8350fb(0x621)](_0x2126a8)[_0x8350fb(0x29e)](this[_0x8350fb(0x5d0)]['get'](Nd)));}[_0x5defcf(0x692)](){const _0x568c4b=_0x5defcf;this[_0x568c4b(0x5c8)][_0x568c4b(0x680)](wd),this[_0x568c4b(0x5d0)][_0x568c4b(0x621)](Dd),this[_0x568c4b(0x40f)](this[_0x568c4b(0x4c3)][_0x568c4b(0x398)](_0x1b0a97[_0x568c4b(0x3d2)],[Lu])),this[_0x568c4b(0x40f)](this[_0x568c4b(0x2f8)]['registerComponent'](_0x24a75b['CONTENT'],()=>_0x3a101e(Zd,this[_0x568c4b(0x5d0)])));}};q(Qd,_0x5defcf(0x495),_0x1b0a97[_0x5defcf(0x3d2)]),q(Qd,'pluginName',_0x5defcf(0x1d1)),q(Qd,_0x5defcf(0x581),ni),q(Qd,_0x5defcf(0x2bf),ri),Qd=Ha([_0x41991a(_0x14b2ea,_0x422f66,_0x50306f,_0x204bff,_0x20cb27),Q(0x1,_0x41ffca(_0x4b3b2f)),Q(0x2,_0x506f4d),Q(0x3,_0x49825b),Q(0x4,_0x51671c),Q(0x5,_0x2f0348),Q(0x6,_0x162e17),Q(0x7,_0x5f13cd)],Qd);let $d=class extends _0x5c53fd{constructor(_0x498c79,_0x1c5b1c){const _0x4a45c3=_0x5defcf;super(),this[_0x4a45c3(0x1ae)]=_0x498c79,this[_0x4a45c3(0x4b7)]=_0x1c5b1c,this[_0x4a45c3(0x229)](),this[_0x4a45c3(0x60a)]();}[_0x5defcf(0x229)](){const _0x419be9=_0x5defcf;this[_0x419be9(0x40f)](this[_0x419be9(0x4b7)][_0x419be9(0x5ce)]({'AdjustHeightDoubleIcon':_0x32f892,'AdjustWidthDoubleIcon':_0x320b22,'CancelMergeIcon':_0x519ea5,'DeleteColumnDoubleIcon':_0x21a208,'DeleteRowDoubleIcon':_0x26aad9,'InsertRowAboveDoubleIcon':_0x42fc83,'InsertRowBelowDoubleIcon':_0x7d12ef,'LeftInsertColumnDoubleIcon':_0x56c99b,'MergeAllIcon':_0x109256,'RightInsertColumnDoubleIcon':_0x5d154e,'TableIcon':_0x4871d5}));}[_0x5defcf(0x60a)](){const _0x40f8a8=_0x5defcf;this[_0x40f8a8(0x40f)](this[_0x40f8a8(0x1ae)][_0x40f8a8(0x5ce)](ho,go)),this[_0x40f8a8(0x40f)](this['_componentManager'][_0x40f8a8(0x5ce)](io,lo)),this['disposeWithMe'](this['_componentManager']['register'](Is,Hs)),this[_0x40f8a8(0x40f)](this['_componentManager']['register'](Ls,Ws)),this[_0x40f8a8(0x40f)](this['_componentManager'][_0x40f8a8(0x5ce)](Rs,Ys));}};$d=Ha([Q(0x0,_0x41ffca(_0x2a5658)),Q(0x1,_0x41ffca(_0xed296f))],$d);let ef=class extends _0x410129{constructor(_0x3ce9c0,_0x43b377,_0x58ba1b,_0x26fa9a){const _0x3dd798=_0x5defcf;super(),this[_0x3dd798(0x254)]=_0x3ce9c0,this[_0x3dd798(0x462)]=_0x43b377,this[_0x3dd798(0x236)]=_0x58ba1b,this[_0x3dd798(0x599)]=_0x26fa9a,q(this,'zIndex',0xa);}[_0x5defcf(0x2e6)](_0x452254){const _0x478322=_0x5defcf;return _0x452254[_0x478322(0x571)][_0x478322(0x495)]===_0x16fba9[_0x478322(0x3f9)];}[_0x5defcf(0x492)](_0x4dd5d4,_0x5a531c){const _0x26f9f=_0x5defcf;if(_0x4dd5d4[_0x26f9f(0x3f5)]||_0x4dd5d4[_0x26f9f(0x571)]['type']!==_0x16fba9[_0x26f9f(0x3f9)])return null;let _0x41bf=_0x4dd5d4['element'],_0x14b89d=_0x41bf['transform'],_0x8ff9ed=_0x26f9f(0x2c1)+_0x5a531c[_0x26f9f(0x379)]+'-'+_0x5a531c[_0x26f9f(0x6b4)]+'-'+_0x4dd5d4[_0x26f9f(0x1ba)],_0x124eae=this[_0x26f9f(0x1e1)](_0x5a531c['unitId'],_0x41bf),_0x3b544a=this[_0x26f9f(0x599)]['getResource'](_0x5a531c[_0x26f9f(0x379)]),_0x4f2bdd=_0x3b544a==null?void 0x0:_0x3b544a[_0x26f9f(0x299)],_0x27cdc9=_0x27e190(_0x4df8c5=>this[_0x26f9f(0x462)]['getColorFromTheme'](_0x4df8c5)),_0x251597={'controlButtonMode':_0x26f9f(0x26d),'left':_0x5a531c[_0x26f9f(0x348)]+(_0x14b89d[_0x26f9f(0x479)]??0x0),'top':_0x5a531c[_0x26f9f(0x373)]+(_0x14b89d[_0x26f9f(0x5ee)]??0x0),'width':_0x14b89d[_0x26f9f(0x58e)]??0x0,'height':_0x14b89d['height']??0x0,'angle':_0x14b89d[_0x26f9f(0x5f6)]??0x0,'flipX':_0x14b89d['flipX'],'flipY':_0x14b89d['flipY'],'skewX':_0x14b89d[_0x26f9f(0x1d2)],'skewY':_0x14b89d[_0x26f9f(0x27c)],'zIndex':_0x5a531c[_0x26f9f(0x674)],'visible':!_0x4dd5d4[_0x26f9f(0x3f5)],'evented':!0x0,'imageIoService':this[_0x26f9f(0x236)],'localeService':this['_localeService'],'tableThemes':_0x4f2bdd,'tableThemePalette':_0x27cdc9,'themeService':this[_0x26f9f(0x462)]};return _0x124eae&&(_0x251597[_0x26f9f(0x690)]=_0x124eae),new Gc(_0x8ff9ed,_0x251597);}[_0x5defcf(0x1e1)](_0x38bc00,_0xcfe24f){const _0x49c4d5=_0x5defcf;let _0x14ebbc=tf(_0xcfe24f),_0x220605=nf(_0x14ebbc==null?void 0x0:_0x14ebbc['tableId']),_0x3c814f=_0x220605?this['_tableResourceService'][_0x49c4d5(0x2aa)](_0x38bc00,_0x220605):void 0x0;if(_0x3c814f){let _0x480f32=_0x118830(_0x3c814f,{'id':_0x220605,'rowCount':0x3,'columnCount':0x3});if(_0x480f32)return _0x480f32;}let _0x3aec5b=tf(_0x14ebbc==null?void 0x0:_0x14ebbc['custom']),_0x320a98=_0x220605??nf(_0x14ebbc==null?void 0x0:_0x14ebbc['id']),_0x2b6c54=[_0x14ebbc==null?void 0x0:_0x14ebbc[_0x49c4d5(0x690)],_0x3aec5b==null?void 0x0:_0x3aec5b[_0x49c4d5(0x690)],_0x3aec5b==null?void 0x0:_0x3aec5b['slideTable'],_0x3aec5b==null?void 0x0:_0x3aec5b['pptxTable'],_0x14ebbc];for(let _0x449215 of _0x2b6c54){let _0x30cf6f=_0x118830(_0x449215,{'id':_0x320a98});if(_0x30cf6f)return _0x30cf6f;}}};ef=Ha([Q(0x0,_0x41ffca(_0x494027)),Q(0x1,_0x41ffca(_0x59fee4)),Q(0x2,_0x1316c1),Q(0x3,_0x41ffca(_0x161eee))],ef);function tf(_0x117f5e){return _0x117f5e&&typeof _0x117f5e=='object'&&!Array['isArray'](_0x117f5e)?_0x117f5e:void 0x0;}function nf(_0x116063){const _0x1b44ba=_0x5defcf;return typeof _0x116063=='string'&&_0x116063[_0x1b44ba(0x2e9)]()?_0x116063:void 0x0;}let rf=class extends _0x52fe5c{constructor(_0x28b9df=ti,_0x2fdb06,_0x1e83eb,_0x9cf4c2,_0x33e811,_0x2bef25,_0xd0e491,_0x2cacb9){const _0x123087=_0x5defcf;super(),this[_0x123087(0x2c5)]=_0x28b9df,this[_0x123087(0x5d0)]=_0x2fdb06,this[_0x123087(0x4b4)]=_0x1e83eb,this['_renderManagerService']=_0x9cf4c2,this[_0x123087(0x710)]=_0x33e811,this[_0x123087(0x5c8)]=_0x2bef25,this[_0x123087(0x227)]=_0xd0e491,this[_0x123087(0x2f8)]=_0x2cacb9;let {..._0x745e2}=_0x4e092b({},ti,this[_0x123087(0x2c5)]);this[_0x123087(0x4b4)]['setConfig'](ei,_0x745e2),this[_0x123087(0x3e2)](),this[_0x123087(0x4bd)]();}[_0x5defcf(0x478)](){const _0x1213c9=_0x5defcf;let _0x2bc84a=this[_0x1213c9(0x5d0)];this[_0x1213c9(0x449)]()[_0x1213c9(0x4df)](_0x5a3d60=>_0x2bc84a[_0x1213c9(0x378)](_0x5a3d60)),this[_0x1213c9(0x40f)](_0x2bc84a['get'](_0x22ba2f)[_0x1213c9(0x5ce)](ef)),_0x481344(_0x2bc84a,[[$d],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x1213c9(0x40f)](_0x2bc84a[_0x1213c9(0x621)](_0x2126a8)[_0x1213c9(0x29e)](_0x2bc84a['get'](Nd)));}['onReady'](){const _0x436c84=_0x5defcf;this['_menuManagerService'][_0x436c84(0x680)](wd),this[_0x436c84(0x5d0)]['get'](Dd),this[_0x436c84(0x40f)](this[_0x436c84(0x4c3)][_0x436c84(0x398)](_0x1b0a97[_0x436c84(0x3d2)],this[_0x436c84(0x284)]())),this[_0x436c84(0x40f)](this['_uiPartsService'][_0x436c84(0x65f)](_0x24a75b[_0x436c84(0x5b8)],()=>_0x3a101e(this[_0x436c84(0x5ff)](),this[_0x436c84(0x5d0)])));}[_0x5defcf(0x449)](){return[[fo],[$d],[Dd],[J],[Ua],[Nd],[mo],[Od]];}[_0x5defcf(0x284)](){return[ou];}[_0x5defcf(0x5ff)](){return Jd;}[_0x5defcf(0x3e2)](){const _0x2fbda5=_0x5defcf;[...xa,...Qa,uo,po][_0x2fbda5(0x4df)](_0x712cc0=>{const _0x5803e5=_0x2fbda5;this[_0x5803e5(0x40f)](this[_0x5803e5(0x710)]['registerCommand'](_0x712cc0));});}[_0x5defcf(0x4bd)](){[...$a,...eo]['forEach'](_0x1ba8d2=>{const _0x411b65=_0x428e;this[_0x411b65(0x40f)](this[_0x411b65(0x227)]['registerShortcut'](_0x1ba8d2));});}};q(rf,_0x5defcf(0x495),_0x1b0a97['UNIVER_SLIDE']),q(rf,'pluginName',_0x5defcf(0x1d1)),q(rf,_0x5defcf(0x581),ni),q(rf,_0x5defcf(0x2bf),ri),rf=Ha([_0x41991a(_0x14b2ea,_0x422f66,_0x50306f,_0x204bff,_0x1d3360),Q(0x1,_0x41ffca(_0x4b3b2f)),Q(0x2,_0x506f4d),Q(0x3,_0x49825b),Q(0x4,_0x51671c),Q(0x5,_0x2f0348),Q(0x6,_0x162e17),Q(0x7,_0x5f13cd)],rf);var af=class extends _0x5c53fd{constructor(..._0x2abf71){const _0x5075e0=_0x5defcf;super(..._0x2abf71),q(this,_0x5075e0(0x332),new _0x4d5205(null)),q(this,'session$',this[_0x5075e0(0x332)]['asObservable']());}[_0x5defcf(0x1d4)](_0x36114f){const _0x4cd7cb=_0x5defcf;let _0x1b9308=of(_0x36114f);return this[_0x4cd7cb(0x332)][_0x4cd7cb(0x38b)](_0x1b9308),_0x2123f0(()=>{const _0x401a29=_0x4cd7cb;this[_0x401a29(0x332)][_0x401a29(0x315)]()===_0x1b9308&&this[_0x401a29(0x56f)]();});}[_0x5defcf(0x2c0)](_0x8dcc5b){const _0x216ead=_0x5defcf;var _0x1828c4;let _0x1518f0=this[_0x216ead(0x332)]['getValue']();if(!_0x1518f0)return;let _0x5d648e=of({..._0x1518f0,..._0x8dcc5b,'documentData':_0x8dcc5b[_0x216ead(0x5e4)]??_0x1518f0[_0x216ead(0x5e4)],'measurement':_0x8dcc5b['measurement']??_0x1518f0[_0x216ead(0x429)],'rect':_0x8dcc5b[_0x216ead(0x5fd)]??_0x1518f0[_0x216ead(0x5fd)],'tableTransform':_0x8dcc5b[_0x216ead(0x234)]??_0x1518f0['tableTransform']});this[_0x216ead(0x332)][_0x216ead(0x38b)](_0x5d648e),(_0x1828c4=_0x1518f0[_0x216ead(0x2e0)])==null||_0x1828c4['call'](_0x1518f0,of(_0x5d648e));}[_0x5defcf(0x1e7)](_0x638de5){const _0x48def7=_0x5defcf;var _0x1d44c7;let _0x223669=this[_0x48def7(0x332)][_0x48def7(0x315)]();if(!_0x223669)return;let _0x20d2e9=of({..._0x223669,'documentData':_0x638de5??_0x223669['documentData']});(_0x1d44c7=_0x223669['onComplete'])==null||_0x1d44c7[_0x48def7(0x283)](_0x223669,_0x20d2e9),this[_0x48def7(0x56f)]();}[_0x5defcf(0x686)](){const _0x478417=_0x5defcf;var _0x56baf7;let _0x3b6ff2=this[_0x478417(0x332)]['getValue']();_0x3b6ff2&&((_0x56baf7=_0x3b6ff2[_0x478417(0x231)])==null||_0x56baf7[_0x478417(0x283)](_0x3b6ff2,of(_0x3b6ff2)),this[_0x478417(0x56f)]());}[_0x5defcf(0x56f)](){const _0x4d7f51=_0x5defcf;this[_0x4d7f51(0x332)][_0x4d7f51(0x38b)](null);}[_0x5defcf(0x21a)](){const _0x3caa41=_0x5defcf;let _0x2acc9e=this[_0x3caa41(0x332)][_0x3caa41(0x315)]();return _0x2acc9e?of(_0x2acc9e):null;}[_0x5defcf(0x533)](_0x85887a){const _0x3f953c=_0x5defcf;let _0x5deeed=this[_0x3f953c(0x4a1)]['subscribe'](_0x350e0f=>{_0x85887a(_0x350e0f?of(_0x350e0f):null);});return _0x2123f0(()=>_0x5deeed[_0x3f953c(0x5ea)]());}[_0x5defcf(0x2c2)](){const _0x574e62=_0x5defcf;this[_0x574e62(0x56f)](),this[_0x574e62(0x332)]['complete'](),super[_0x574e62(0x2c2)]();}};function of(_0x2d3d6b){const _0x2472aa=_0x5defcf;return{..._0x2d3d6b,'measurement':_0x2d3d6b[_0x2472aa(0x429)]?{..._0x2d3d6b[_0x2472aa(0x429)]}:void 0x0,'rect':{..._0x2d3d6b[_0x2472aa(0x5fd)]},'tableTransform':{..._0x2d3d6b['tableTransform']},'documentData':_0xdc70f2[_0x2472aa(0x597)](_0x2d3d6b[_0x2472aa(0x5e4)])};}function sf(_0x32b22b){const _0x47660a=_0x5defcf;return!_0x32b22b||_0x32b22b[_0x47660a(0x521)]==='none'||!_0x32b22b[_0x47660a(0x649)]['length']?null:{'kind':_0x32b22b[_0x47660a(0x521)],'ranges':_0x32b22b[_0x47660a(0x649)][_0x47660a(0x295)](_0x1782cd=>({..._0x1782cd})),'active':_0x32b22b['focus']??_0x32b22b[_0x47660a(0x6c5)]??(lf(_0x32b22b[_0x47660a(0x521)])?cf(_0x32b22b):void 0x0)};}function cf(_0x451685){const _0x4bc727=_0x5defcf;let _0x2b1cb1=_0x451685[_0x4bc727(0x649)][0x0];if(_0x2b1cb1)return{'row':Math[_0x4bc727(0x4a7)](_0x2b1cb1[_0x4bc727(0x1d3)],_0x2b1cb1[_0x4bc727(0x573)]),'column':Math['min'](_0x2b1cb1[_0x4bc727(0x3cc)],_0x2b1cb1['endColumn'])};}function lf(_0xad51f0){const _0x5403c7=_0x5defcf;return _0xad51f0==='cell'||_0xad51f0===_0x5403c7(0x483)||_0xad51f0===_0x5403c7(0x590);}export{Yd as MobileTableMenu,Xd as MobileTableThemeGallery,ei as SLIDES_TABLE_UI_PLUGIN_CONFIG_KEY,X as SLIDE_TABLE_CONTEXT_MENU_ACTIONS,bo as SLIDE_TABLE_DEFAULT_BACKGROUND_COLOR,Wa as SLIDE_TABLE_KEYBOARD_SHORTCUT_DESCRIPTORS,Ho as SLIDE_TABLE_TOOLBAR_ACTIONS,af as SlideTableCellEditorService,Fl as SlideTableMobileSelection,Gc as SlideTableObject,J as SlideTableSelectionService,Va as TableKeyboardServiceBase,Ns as TableThemeGallery,as as TableToolbarDropdownInteractionGuard,Qd as UniverSlidesTableMobileUIPlugin,rf as UniverSlidesTableUIPlugin,hi as buildSlideTableBackgroundColorPatch,gi as buildSlideTableBackgroundFillPatch,Yo as buildSlideTableBorderPresetCommandParams,bi as buildSlideTableBorderPresetPatch,yi as buildSlideTableBorderStylePatch,rc as buildSlideTableCellEditorCommitCommand,Jo as buildSlideTableCellStyleCommandParams,Hl as buildSlideTableClearTextPatch,li as buildSlideTableContextMenuCommand,qo as buildSlideTableDeleteToolbarCommand,xi as buildSlideTableFontFamilyPatch,Si as buildSlideTableFontSizePatch,eu as buildSlideTableInsertDotControlState,Ga as buildSlideTableKeyboardShortcutBindings,Wo as buildSlideTableMergeCellsCommandParams,Ko as buildSlideTableMergeToolbarCommand,Vl as buildSlideTablePasteHtmlPatch,Bl as buildSlideTablePasteTextPatch,di as buildSlideTableTextAlignPatch,_i as buildSlideTableTextColorPatch,vi as buildSlideTableTextFillPatch,Li as buildSlideTableTextStylePatch,Go as buildSlideTableUnmergeCellsCommandParams,ti as defaultPluginConfig,Vo as ensureOption,Ro as getSlideTableFillPreviewStyle,Mo as getSlideTableFillType,Io as getSlideTableGradientValue,Z as getSlideTableSelectionContext,Lo as gradientValueToSlideTableFill,za as isSlideTableDocumentEditorTarget,Ra as isSlideTableEditableTarget,$l as isSlideTableInsertDotTrigger,ic as normalizeSlideTableCellDocumentData,tc as replaceSlideTableCellDocumentText,cf as resolveFirstSlideTableSelectionCell,qa as resolveNextSlideTableKeyboardCell,nc as resolveSlideTableCellEditorLayout,$s as resolveSlideTableCellEditorTarget,ci as resolveSlideTableContextMenuActions,jo as resolveSlideTableDocumentHorizontalAlign,Ka as resolveSlideTableKeyboardMovement,Xo as resolveSlideTableMergeToolbarAction,sf as resolveSlideTableObjectSelection,wo as resolveSlideTableSelectionValues,Uo as resolveSlideTableToolbarActions,zl as serializeSlideTableCellStyleAttribute,Rl as serializeSlideTableSelectionToHtml,Ll as serializeSlideTableSelectionToText,Fo as toCoreVerticalAlign};
|
|
1
|
+
const _0x3cd2e0=_0x5473;(function(_0x54834f,_0x49f4e0){const _0x38e39c=_0x5473,_0x170552=_0x54834f();while(!![]){try{const _0xe1c373=parseInt(_0x38e39c(0x522))/0x1+-parseInt(_0x38e39c(0x6a4))/0x2*(parseInt(_0x38e39c(0x255))/0x3)+parseInt(_0x38e39c(0x5f1))/0x4*(parseInt(_0x38e39c(0x43b))/0x5)+-parseInt(_0x38e39c(0x500))/0x6+-parseInt(_0x38e39c(0x382))/0x7*(parseInt(_0x38e39c(0x5af))/0x8)+parseInt(_0x38e39c(0x533))/0x9*(-parseInt(_0x38e39c(0x5f5))/0xa)+parseInt(_0x38e39c(0x259))/0xb*(parseInt(_0x38e39c(0x279))/0xc);if(_0xe1c373===_0x49f4e0)break;else _0x170552['push'](_0x170552['shift']());}catch(_0x1c573e){_0x170552['push'](_0x170552['shift']());}}}(_0x3862,0x39d5c));import{UniverLicensePlugin as _0x2fdfc7}from'@univerjs-pro/license';import{ISlideDrawingService as _0x50ebf5,PageElementTypeEnum as _0x5ddaa8,ReorderSlideElementsCommand as _0x3f3ca9,SLIDE_INSERT_DEFAULT_SIZE as _0x225094,UniverSlidesPlugin as _0x13b7ba,UpdateSlideDrawingCommand as _0x25a298,getSlidePermissionValue as _0x32a141,normalizeSlideDocumentDataStream as _0x15d561,plainTextToSlideDocumentData as _0x1a50eb,slideDocumentDataToPlainText as _0x1b862c}from'@univerjs-pro/slides';import{DEFAULT_SLIDE_TABLE_THEME_PRESETS as _0x44c4de,DeleteSlideTableColumnsCommand as _0x27d5ae,DeleteSlideTableRowsCommand as _0x3e91e9,InsertSlideTableColumnsCommand as _0x460de1,InsertSlideTableCommand as _0x4b333c,InsertSlideTableRowsCommand as _0x1ead7f,MergeSlideTableCellsCommand as _0x37d790,MoveSlideTableColumnsCommand as _0x5b861b,MoveSlideTableRowsCommand as _0x580314,RemoveSlideTableCommand as _0xa060ad,RemoveSlideTableMutation as _0x170082,SLIDE_TABLE_CONTROL_GUTTER as _0xf69597,SetSlideTableMutation as _0xc2e22a,SlideTableBorderDashEnum as _0x138dfb,SlideTableBorderPresetEnum as _0x20ac30,SlideTableFillTypeEnum as _0x3f8470,SlideTableModelService as _0x1fa43c,SlideTablePictureFillModeEnum as _0x220309,SlideTableResourceService as _0x3837ee,SlideTableTextDirectionEnum as _0x352aa8,SlideTableVerticalAlignEnum as _0x26db87,UniverSlidesTablePlugin as _0x48e539,UnmergeSlideTableCellsCommand as _0x908320,UpdateSlideTableCommand as _0x5c9d7f,buildBorderPresetPatch as _0x471326,buildDefaultSlideTableThemes as _0x103548,buildSlideTableCellTextDataPatch as _0x58e122,buildSlideTableControls as _0x1301e2,buildSlideTableTriggers as _0x340c54,canMoveSlideTableColumns as _0xc7decd,canMoveSlideTableRows as _0x3f2dbc,collectSlideTableMergeRanges as _0x44009d,expandSlideTableRangeToMergedCells as _0x5941a1,findSlideTableMergeRange as _0x2a9fc9,freezeSlideTableTheme as _0x488d03,getDefaultSlideTableBorder as _0x15d020,hitTestSlideTableControl as _0x145d5b,hitTestSlideTableFloatingControl as _0x523671,hitTestSlideTableTrigger as _0x3cc087,isPointInRect as _0x15c921,isSlideTableMultiCellRange as _0x257927,iterateSelectedSlideTableCells as _0x5190f9,mergeSlideTableCellStyle as _0x55911b,mergeSlideTableCells as _0x1fab76,normalizeSlideTableCellRange as _0x21e29d,normalizeSlideTableSnapshot as _0x1dd2e2,resizeSlideTableGrid as _0x5438e3,resolveSlideTableBuildOptions as _0x4a9f69,resolveSlideTableCellBoundaryBorder as _0x322338,resolveSlideTableCellRect as _0x5afc94,resolveSlideTableCellTextMargins as _0x2e3b2a,resolveSlideTableRenderModel as _0x237cc5,resolveSlideTableThemePalette as _0x6f0e35,unmergeSlideTableCells as _0x460447}from'@univerjs-pro/slides-table';import{IEditorUIService as _0x44ccc3,ISlideAlignmentGuideService as _0x317288,ISlideClipboardResourceAdapterService as _0x27ef96,ISlideDrawingStateService as _0x50674c,ISlideEmbedFloatingActiveService as _0x5bd939,ISlideEmbedFocusOwnerService as _0x50e363,ISlideEmbedMountService as _0x48f225,ISlideTransformerVisibilityService as _0x7c4ce4,ObjectAdaptor as _0x585979,SLIDES_UI_PLUGIN_CONFIG_KEY as _0x4dedda,SLIDE_MAIN_VIEWPORT_KEY as _0x5b426a,SlideContextMenuPosition as _0x57b220,SlideCopySelectionOperation as _0x3f2100,SlideCutSelectionOperation as _0x3c3846,SlideHitTestService as _0x32dab6,SlideInsertService as _0x21bf58,SlideObjectAdaptorRegistryService as _0x22df00,SlideObjectRefreshRegistryService as _0x4bb0b5,UniverSlidesMobileUIPlugin as _0x1b95f4,UniverSlidesUIPlugin as _0x508484,buildDrawingOKey as _0x452a45,drawDrawingEffectMask as _0x4adfdc,resolveSlideLogicalPageSize as _0x387c10,stripEditorUIDocumentData as _0x489e95,withSlideEditPermission as _0x383170}from'@univerjs-pro/slides-ui';import{ArrangeTypeEnum as _0x5b3e14,BooleanNumber as _0x3953dc,ColorKit as _0x54f28a,CommandType as _0x1d5d41,DEFAULT_STYLES as _0xdbbd15,DependentOn as _0x1fbcd2,Disposable as _0x166661,DisposableCollection as _0x7b6e49,DocumentDataModel as _0x3e2e14,DocumentFlavor as _0x4cebe4,EDITOR_ACTIVATED as _0x495c68,FOCUSING_COMMON_DRAWINGS as _0x40bef6,FOCUSING_SLIDE as _0x3a133d,HorizontalAlign as _0x213d9e,ICommandService as _0x24e1b6,IConfigService as _0x31c1a4,IContextService as _0x363d37,IImageIoService as _0x544e17,IPermissionService as _0x2e0c48,IUniverInstanceService as _0x2a475c,ImageSourceType as _0x3595c6,Inject as _0x3caafe,Injector as _0x5781ba,LocaleService as _0x54db7d,Optional as _0x389413,Plugin as _0x528e02,PresetListType as _0x1f0354,RxDisposable as _0x1bf94d,ThemeService as _0xa87bea,Tools as _0x43911b,UniverInstanceType as _0xd672cc,VerticalAlign as _0x456b59,WrapStrategy as _0x190661,createParagraphId as _0x2e008c,generateRandomId as _0x53e099,merge as _0x5380c8,toDisposable as _0x5386fa,touchDependencies as _0x371bc8}from'@univerjs/core';import{CURSOR_TYPE as _0x10e061,DocumentSkeleton as _0x33016d,DocumentViewModel as _0x5de03a,Documents as _0x50861d,IRenderManagerService as _0x1fbd90,RENDER_CLASS_TYPE as _0x2a9624,Rect as _0x5bbd2e,Transform as _0x2a321b,UniverRenderEnginePlugin as _0x3ec9c5,VERTICAL_ROTATE_ANGLE as _0xe62061,Vector2 as _0x107851,pxToNum as _0xbda415,resolveDrawingEffectMasks as _0xdae59e}from'@univerjs/engine-render';import{BuiltInUIPart as _0x41dc27,ComponentManager as _0x57c4ba,ContextMenuGroup as _0x3861b0,FONT_SIZE_LIST as _0x55baa6,FontFamilyDropdown as _0x53761e,IContextMenuService as _0x1dfd9e,IDialogService as _0x118e04,IMenuManagerService as _0x1c2395,IRibbonService as _0x2be325,IShortcutService as _0x247869,IUIPartsService as _0x3638bd,IconManager as _0x50ca23,KeyCode as _0x3760e6,MenuItemType as _0xb4a2a3,MenuManagerPosition as _0x55f5a6,MetaKeys as _0x11d370,MobileDrawer as _0x10a2b3,MobileFontFamilyDropdown as _0x549472,MobileMenu as _0x42a8e4,RibbonPosition as _0x4c3245,RibbonStartGroup as _0x21d16c,connectInjector as _0x2ef75c,getMenuHiddenObservable as _0x2924d8,useDependency as _0x55e2b7,useObservable as _0x191c45}from'@univerjs/ui';import{BehaviorSubject as _0x14c8a8,Observable as _0x3561ed,Subscription as _0xf0d8fe,combineLatest as _0x350a1f,from as _0x576a9f,map as _0x396369,merge as _0x555e01,of as _0x57a1ef,startWith as _0x496618}from'rxjs';import{Button as _0x2e12a2,Checkbox as _0x20a34d,ColorPicker as _0x1589e5,ConfigContext as _0x58ad4f,Dropdown as _0x1ada0f,InputNumber as _0x48a657,MobileColorPicker as _0x2f59aa,MobileSelect as _0x2af4b3,Select as _0x33736c,Separator as _0x10a77a,Tooltip as _0xb5e71d,borderClassName as _0x1b82c1,clsx as _0x2cb544}from'@univerjs/design';import{useCallback as _0x158685,useContext as _0x3f7f5b,useEffect as _0x14546c,useMemo as _0x512300,useRef as _0x42f38f,useState as _0x18aa5b}from'react';import{Fragment as _0xf0f611,jsx as _0x2c0852,jsxs as _0x12e0bf}from'react/jsx-runtime';import{AdjustHeightDoubleIcon as _0xeccbfc,AdjustWidthDoubleIcon as _0x3cd1e4,AlignBottomIcon as _0xe02021,AlignTextBothIcon as _0x4b8b82,AlignTopIcon as _0xefa4f0,AllBorderIcon as _0x1952e5,BoldIcon as _0x1e2a9e,CancelMergeIcon as _0x36ae53,CheckMarkIcon as _0x92eb1f,CloseIcon as _0xa4ccaa,DeleteColumnDoubleIcon as _0xc7c8ac,DeleteIcon as _0x4e7988,DeleteRowDoubleIcon as _0x539fb9,DownBorderDoubleIcon as _0x1e4bdb,FontColorDoubleIcon as _0x1634e4,FontSizeIncreaseIcon as _0x4f7aa1,FontSizeReduceIcon as _0x3589c5,HorizontalBorderDoubleIcon as _0x18c8f5,HorizontallyIcon as _0x58b40b,InnerBorderDoubleIcon as _0x27d62b,InsertRowAboveDoubleIcon as _0x1de59d,InsertRowBelowDoubleIcon as _0x53d5a9,ItalicIcon as _0xbdb01a,LeftBorderDoubleIcon as _0x1a3c73,LeftInsertColumnDoubleIcon as _0x1296ab,LeftJustifyingIcon as _0x232c1f,MergeAllIcon as _0x95c20,MoreDownIcon as _0x4ce851,MoreLeftIcon as _0x3e5f14,MoreRightIcon as _0x29e472,NoBorderIcon as _0x32c558,OrderIcon as _0x145830,OuterBorderDoubleIcon as _0x558a50,PaintBucketDoubleIcon as _0x5f5811,PaintIcon as _0x3c03be,RightBorderDoubleIcon as _0x42ac87,RightInsertColumnDoubleIcon as _0x3a80a5,RightJustifyingIcon as _0x74ac65,ShapeBackgroundColorDoubleIcon as _0x4888da,StrikethroughIcon as _0x5e47b0,TableIcon as _0x3de5d6,TextIcon as _0x317370,UnderlineIcon as _0x2a4a21,UnorderIcon as _0x5f0db4,UpBorderDoubleIcon as _0x19664c,VerticalBorderDoubleIcon as _0x4670f6,VerticalCenterIcon as _0xbea59a}from'@univerjs/icons';import{FillStyleTabsEditor as _0x2aedb9,keepFloatingToolbarPanelInteraction as _0x586207,resolveShapeTextDocumentPageHeight as _0x5045ef}from'@univerjs-pro/shape-editor-ui';import{BulletListTypePicker as _0x41d570,OrderListTypePicker as _0x22d8f1,convertBodyToHtml as _0x505226,convertClipboardHtmlToDocumentData as _0x5f4d52,removeClipboardHtmlImages as _0x558966}from'@univerjs/docs-ui';import{getImageSize as _0x2eef47}from'@univerjs/drawing';import{extractClipboardHtmlImageFiles as _0x58afd4,extractClipboardImageFiles as _0x453584,extractClipboardTextImageFile as _0x32f883,isClipboardTextImage as _0xbd7548,normalizeClipboardImageFile as _0x3ab743}from'@univerjs/drawing-ui';import{UnitAction as _0xea5141}from'@univerjs/protocol';import{convertPlainTextTableToHtml as _0x2e37e8,parseHtmlTableClipboard as _0x4d9801}from'@univerjs-pro/docs-table';import{createPortal as _0x3c0348}from'react-dom';const ei=_0x3cd2e0(0x2aa),ti={'floatingToolbar':!0x1};function _0x5473(_0x265249,_0x11fe48){_0x265249=_0x265249-0x15a;const _0x386251=_0x3862();let _0x5473b0=_0x386251[_0x265249];return _0x5473b0;}var ni='@univerjs-pro/slides-table-ui',ri=_0x3cd2e0(0x20f);function ii(_0x29f9e3){'@babel/helpers - typeof';const _0x20786d=_0x3cd2e0;return ii=typeof Symbol==_0x20786d(0x2f2)&&typeof Symbol['iterator']==_0x20786d(0x537)?function(_0x55adc8){return typeof _0x55adc8;}:function(_0x37d68b){const _0xeb02bf=_0x20786d;return _0x37d68b&&typeof Symbol==_0xeb02bf(0x2f2)&&_0x37d68b['constructor']===Symbol&&_0x37d68b!==Symbol[_0xeb02bf(0x40c)]?_0xeb02bf(0x537):typeof _0x37d68b;},ii(_0x29f9e3);}function ai(_0x5aef5c,_0x3ed77d){const _0x3ad9c6=_0x3cd2e0;if(ii(_0x5aef5c)!='object'||!_0x5aef5c)return _0x5aef5c;var _0x4bd07c=_0x5aef5c[Symbol[_0x3ad9c6(0x529)]];if(_0x4bd07c!==void 0x0){var _0x3e2d1f=_0x4bd07c['call'](_0x5aef5c,_0x3ed77d||'default');if(ii(_0x3e2d1f)!=_0x3ad9c6(0x3d7))return _0x3e2d1f;throw TypeError(_0x3ad9c6(0x3a4));}return(_0x3ed77d===_0x3ad9c6(0x5a0)?String:Number)(_0x5aef5c);}function oi(_0x3f0a3b){const _0x222a8f=_0x3cd2e0;var _0x249fd1=ai(_0x3f0a3b,_0x222a8f(0x5a0));return ii(_0x249fd1)=='symbol'?_0x249fd1:_0x249fd1+'';}function q(_0x5acd4a,_0xd245d6,_0x52e608){const _0x9e8306=_0x3cd2e0;return(_0xd245d6=oi(_0xd245d6))in _0x5acd4a?Object[_0x9e8306(0x686)](_0x5acd4a,_0xd245d6,{'value':_0x52e608,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5acd4a[_0xd245d6]=_0x52e608,_0x5acd4a;}var J=class extends _0x166661{constructor(..._0x2ff673){const _0x251c31=_0x3cd2e0;super(..._0x2ff673),q(this,'_selection$',new _0x14c8a8(null)),q(this,_0x251c31(0x312),this[_0x251c31(0x577)][_0x251c31(0x316)]()),q(this,'_selection',null),q(this,_0x251c31(0x4b1),0x0);}[_0x3cd2e0(0x5f3)](_0x252806=0x1f4,_0x38de52=Date[_0x3cd2e0(0x293)]()){const _0x2b0782=_0x3cd2e0;this[_0x2b0782(0x4b1)]=Math[_0x2b0782(0x379)](this['_tableInternalInteractionUntil'],_0x38de52+_0x252806);}[_0x3cd2e0(0x1be)](_0x3f4f40=Date['now']()){const _0x543866=_0x3cd2e0;return _0x3f4f40<=this[_0x543866(0x4b1)];}[_0x3cd2e0(0x5b1)](){const _0x4ff4e4=_0x3cd2e0;return this[_0x4ff4e4(0x18c)]?Y(this['_selection']):null;}[_0x3cd2e0(0x2b4)](){const _0x1baa7a=_0x3cd2e0;this[_0x1baa7a(0x18c)]=null,this[_0x1baa7a(0x577)][_0x1baa7a(0x3d8)](null);}[_0x3cd2e0(0x303)](_0xf9b15){const _0x2900f7=_0x3cd2e0;let _0x5b7c33=this[_0x2900f7(0x58c)](_0xf9b15,_0x2900f7(0x6cc),{'startRow':_0xf9b15[_0x2900f7(0x3a3)],'endRow':_0xf9b15['row'],'startColumn':_0xf9b15[_0x2900f7(0x6ad)],'endColumn':_0xf9b15[_0x2900f7(0x6ad)]},{'row':_0xf9b15['row'],'column':_0xf9b15['column']},{'row':_0xf9b15[_0x2900f7(0x3a3)],'column':_0xf9b15[_0x2900f7(0x6ad)]});return this[_0x2900f7(0x18c)]=_0x5b7c33,this[_0x2900f7(0x577)][_0x2900f7(0x3d8)](Y(_0x5b7c33)),Y(_0x5b7c33);}[_0x3cd2e0(0x693)](_0x4ff7d5){const _0x5bd6b1=_0x3cd2e0;let _0x5e8cab=si(_0x4ff7d5),_0x4d9c8d=this[_0x5bd6b1(0x58c)](_0x4ff7d5,_0x5bd6b1(0x3f8),_0x5e8cab,{'row':_0x5e8cab[_0x5bd6b1(0x290)],'column':_0x5e8cab[_0x5bd6b1(0x4dd)]},{'row':_0x5e8cab[_0x5bd6b1(0x616)],'column':_0x5e8cab[_0x5bd6b1(0x655)]});return this[_0x5bd6b1(0x18c)]=_0x4d9c8d,this[_0x5bd6b1(0x577)][_0x5bd6b1(0x3d8)](Y(_0x4d9c8d)),Y(_0x4d9c8d);}[_0x3cd2e0(0x205)](_0x12eec4){const _0x4f9687=_0x3cd2e0;let _0x58402f=Math[_0x4f9687(0x61f)](_0x12eec4[_0x4f9687(0x290)],_0x12eec4[_0x4f9687(0x616)]),_0x5dd7af=Math[_0x4f9687(0x379)](_0x12eec4['startRow'],_0x12eec4[_0x4f9687(0x616)]),_0x4274ee=this[_0x4f9687(0x58c)](_0x12eec4,_0x4f9687(0x3a3),{'startRow':_0x58402f,'endRow':_0x5dd7af,'startColumn':0x0,'endColumn':Math[_0x4f9687(0x379)](0x0,_0x12eec4['columnCount']-0x1)});return this[_0x4f9687(0x18c)]=_0x4274ee,this[_0x4f9687(0x577)][_0x4f9687(0x3d8)](Y(_0x4274ee)),Y(_0x4274ee);}[_0x3cd2e0(0x3b3)](_0x2be341){const _0x5e579d=_0x3cd2e0;let _0x5da0c4=Math[_0x5e579d(0x61f)](_0x2be341[_0x5e579d(0x4dd)],_0x2be341['endColumn']),_0x3fc6b3=Math['max'](_0x2be341[_0x5e579d(0x4dd)],_0x2be341[_0x5e579d(0x655)]),_0xfa4b04=this[_0x5e579d(0x58c)](_0x2be341,_0x5e579d(0x6ad),{'startRow':0x0,'endRow':Math['max'](0x0,_0x2be341['rowCount']-0x1),'startColumn':_0x5da0c4,'endColumn':_0x3fc6b3});return this[_0x5e579d(0x18c)]=_0xfa4b04,this[_0x5e579d(0x577)][_0x5e579d(0x3d8)](Y(_0xfa4b04)),Y(_0xfa4b04);}[_0x3cd2e0(0x406)](_0x11d6b7){const _0x395816=_0x3cd2e0;let _0x13de97=this[_0x395816(0x58c)](_0x11d6b7,'table',{'startRow':0x0,'endRow':Math[_0x395816(0x379)](0x0,_0x11d6b7['rowCount']-0x1),'startColumn':0x0,'endColumn':Math[_0x395816(0x379)](0x0,_0x11d6b7[_0x395816(0x2f3)]-0x1)});return this[_0x395816(0x18c)]=_0x13de97,this[_0x395816(0x577)]['next'](Y(_0x13de97)),Y(_0x13de97);}[_0x3cd2e0(0x552)](_0x47ff55){const _0x38185d=_0x3cd2e0;let _0xd6bc82=this[_0x38185d(0x58c)](_0x47ff55,_0x38185d(0x45d),{'startRow':_0x47ff55['row'],'endRow':_0x47ff55[_0x38185d(0x3a3)],'startColumn':_0x47ff55[_0x38185d(0x6ad)],'endColumn':_0x47ff55[_0x38185d(0x6ad)]},{'row':_0x47ff55[_0x38185d(0x3a3)],'column':_0x47ff55[_0x38185d(0x6ad)]},{'row':_0x47ff55['row'],'column':_0x47ff55[_0x38185d(0x6ad)]});return this['_selection']=_0xd6bc82,this[_0x38185d(0x577)][_0x38185d(0x3d8)](Y(_0xd6bc82)),Y(_0xd6bc82);}[_0x3cd2e0(0x362)](){const _0x43e1e3=_0x3cd2e0;this[_0x43e1e3(0x4b1)]=0x0,this['_selection$'][_0x43e1e3(0x4b8)](),super['dispose']();}[_0x3cd2e0(0x58c)](_0x48fd6a,_0xc5b81b,_0x385fe4,_0x2eca0b,_0x58d68b){const _0x31dbe6=_0x3cd2e0;let _0x3fbb33={'unitId':_0x48fd6a['unitId'],'subUnitId':_0x48fd6a[_0x31dbe6(0x602)],'elementId':_0x48fd6a['elementId'],'tableId':_0x48fd6a[_0x31dbe6(0x37b)],'kind':_0xc5b81b,'ranges':[_0x385fe4]};return _0x2eca0b&&(_0x3fbb33[_0x31dbe6(0x352)]=_0x2eca0b),_0x58d68b&&(_0x3fbb33[_0x31dbe6(0x640)]=_0x58d68b),_0x3fbb33;}};function si(_0x5feb3){const _0x5e8b2a=_0x3cd2e0;return{'startRow':Math[_0x5e8b2a(0x61f)](_0x5feb3['startRow'],_0x5feb3[_0x5e8b2a(0x616)]),'endRow':Math[_0x5e8b2a(0x379)](_0x5feb3[_0x5e8b2a(0x290)],_0x5feb3[_0x5e8b2a(0x616)]),'startColumn':Math['min'](_0x5feb3[_0x5e8b2a(0x4dd)],_0x5feb3[_0x5e8b2a(0x655)]),'endColumn':Math[_0x5e8b2a(0x379)](_0x5feb3[_0x5e8b2a(0x4dd)],_0x5feb3[_0x5e8b2a(0x655)])};}function Y(_0x306dc3){const _0x40d6e8=_0x3cd2e0;let _0x8ab8c3={..._0x306dc3,'ranges':_0x306dc3[_0x40d6e8(0x289)][_0x40d6e8(0x37f)](_0x4e3004=>({..._0x4e3004}))};return _0x306dc3['anchor']&&(_0x8ab8c3[_0x40d6e8(0x352)]={..._0x306dc3[_0x40d6e8(0x352)]}),_0x306dc3[_0x40d6e8(0x640)]&&(_0x8ab8c3[_0x40d6e8(0x640)]={..._0x306dc3['focus']}),_0x8ab8c3;}const X={'InsertRowAbove':_0x3cd2e0(0x19d),'InsertRowBelow':'insert-row-below','InsertColumnLeft':_0x3cd2e0(0x543),'InsertColumnRight':_0x3cd2e0(0x45f),'DeleteRows':_0x3cd2e0(0x281),'DeleteColumns':_0x3cd2e0(0x3fa),'MergeCells':_0x3cd2e0(0x223),'UnmergeCells':_0x3cd2e0(0x673),'DistributeRows':'distribute-rows','DistributeColumns':_0x3cd2e0(0x310)};function Z(_0x5157d5){const _0x58a7a5=_0x3cd2e0;let _0x2c1e48=_0x5157d5==null?void 0x0:_0x5157d5[_0x58a7a5(0x289)][0x0];return!_0x5157d5||!_0x2c1e48?null:{'unitId':_0x5157d5[_0x58a7a5(0x264)],'subUnitId':_0x5157d5[_0x58a7a5(0x602)],'elementId':_0x5157d5['elementId'],'tableId':_0x5157d5['tableId'],'range':_0x21e29d(_0x2c1e48)};}function ci(_0x14153b,_0x12f492,_0x5e98d1){const _0x15b004=_0x3cd2e0;let _0x265ffb=!!Z(_0x12f492);return[ki(X['InsertRowAbove'],_0x5e98d1[_0x15b004(0x1b8)],_0x265ffb),ki(X[_0x15b004(0x3e6)],_0x5e98d1['insertRows'],_0x265ffb),ki(X[_0x15b004(0x398)],_0x5e98d1[_0x15b004(0x3e7)],_0x265ffb),ki(X[_0x15b004(0x4ba)],_0x5e98d1[_0x15b004(0x3e7)],_0x265ffb),ki(X['DeleteRows'],_0x5e98d1[_0x15b004(0x45b)],Ti(_0x14153b,_0x12f492)),ki(X[_0x15b004(0x635)],_0x5e98d1['deleteColumns'],Ei(_0x14153b,_0x12f492)),ki(X['MergeCells'],_0x5e98d1[_0x15b004(0x653)],Ci(_0x12f492,_0x14153b)),ki(X['UnmergeCells'],_0x5e98d1[_0x15b004(0x1d0)],wi(_0x14153b,_0x12f492)),ki(X[_0x15b004(0x4b3)],_0x5e98d1[_0x15b004(0x2c2)],Di(_0x14153b,_0x12f492)),ki(X[_0x15b004(0x369)],_0x5e98d1[_0x15b004(0x2c2)],Oi(_0x14153b,_0x12f492))];}function li(_0x503e1e,_0x37268b,_0x3a2a5a,_0x5f2015){const _0x3c6f78=_0x3cd2e0;let _0x13f627=Z(_0x37268b);if(!_0x13f627||!_0x37268b)return null;let {unitId:_0x52d58,subUnitId:_0x9d4547,elementId:_0x315ac5,tableId:_0x3283be,range:_0x22f9be}=_0x13f627;switch(_0x3a2a5a){case X[_0x3c6f78(0x38d)]:return{'commandId':_0x5f2015[_0x3c6f78(0x1b8)],'params':{'unitId':_0x52d58,'subUnitId':_0x9d4547,'elementId':_0x315ac5,'tableId':_0x3283be,'rowIndex':_0x22f9be[_0x3c6f78(0x290)],'count':ji(_0x22f9be)}};case X['InsertRowBelow']:return{'commandId':_0x5f2015['insertRows'],'params':{'unitId':_0x52d58,'subUnitId':_0x9d4547,'elementId':_0x315ac5,'tableId':_0x3283be,'rowIndex':_0x22f9be[_0x3c6f78(0x616)]+0x1,'count':ji(_0x22f9be)}};case X[_0x3c6f78(0x398)]:return{'commandId':_0x5f2015[_0x3c6f78(0x3e7)],'params':{'unitId':_0x52d58,'subUnitId':_0x9d4547,'elementId':_0x315ac5,'tableId':_0x3283be,'columnIndex':_0x22f9be[_0x3c6f78(0x4dd)],'count':Mi(_0x22f9be)}};case X[_0x3c6f78(0x4ba)]:return{'commandId':_0x5f2015[_0x3c6f78(0x3e7)],'params':{'unitId':_0x52d58,'subUnitId':_0x9d4547,'elementId':_0x315ac5,'tableId':_0x3283be,'columnIndex':_0x22f9be[_0x3c6f78(0x655)]+0x1,'count':Mi(_0x22f9be)}};case X[_0x3c6f78(0x65f)]:return Ti(_0x503e1e,_0x37268b)?{'commandId':_0x5f2015[_0x3c6f78(0x45b)],'params':{'unitId':_0x52d58,'tableId':_0x3283be,'startRow':_0x22f9be['startRow'],'endRow':_0x22f9be[_0x3c6f78(0x616)]}}:null;case X[_0x3c6f78(0x635)]:return Ei(_0x503e1e,_0x37268b)?{'commandId':_0x5f2015[_0x3c6f78(0x315)],'params':{'unitId':_0x52d58,'tableId':_0x3283be,'startColumn':_0x22f9be[_0x3c6f78(0x4dd)],'endColumn':_0x22f9be[_0x3c6f78(0x655)]}}:null;case X[_0x3c6f78(0x328)]:return Ci(_0x37268b,_0x503e1e)?{'commandId':_0x5f2015['mergeCells'],'params':{'unitId':_0x52d58,'tableId':_0x3283be,'range':_0x22f9be}}:null;case X[_0x3c6f78(0x4f4)]:return wi(_0x503e1e,_0x37268b)?{'commandId':_0x5f2015[_0x3c6f78(0x1d0)],'params':{'unitId':_0x52d58,'tableId':_0x3283be,'range':_0x22f9be}}:null;case X['DistributeRows']:return Ai(_0x503e1e,_0x37268b,_0x5f2015[_0x3c6f78(0x2c2)],_0x52d58,_0x3283be,_0x22f9be,_0x3c6f78(0x3a3));case X[_0x3c6f78(0x369)]:return Ai(_0x503e1e,_0x37268b,_0x5f2015['updateTable'],_0x52d58,_0x3283be,_0x22f9be,_0x3c6f78(0x6ad));}}function ui(_0xf59aeb,_0x2a5ea4,_0x4213aa){const _0x196b58=_0x3cd2e0;let _0x2f0fc2=_0x4213aa?_0x21e29d(_0x4213aa):{'startRow':0x0,'endRow':_0xf59aeb['rows'][_0x196b58(0x567)]-0x1,'startColumn':0x0,'endColumn':_0xf59aeb[_0x196b58(0x581)][_0x196b58(0x567)]-0x1};if(_0x2a5ea4===_0x196b58(0x3a3)){let _0xb1a21f=_0x43911b['deepClone'](_0xf59aeb[_0x196b58(0x400)]),_0x2212c4=Math[_0x196b58(0x379)](0x0,Math['min'](_0x2f0fc2['startRow'],_0xb1a21f[_0x196b58(0x567)]-0x1)),_0x4ab997=Math[_0x196b58(0x379)](_0x2212c4,Math['min'](_0x2f0fc2[_0x196b58(0x616)],_0xb1a21f[_0x196b58(0x567)]-0x1)),_0x1df0d0=_0xb1a21f[_0x196b58(0x5b4)](_0x2212c4,_0x4ab997+0x1),_0x3d09af=_0x1df0d0['reduce']((_0x557a71,_0x28e9d9)=>_0x557a71+(_0x28e9d9[_0x196b58(0x276)]??0x18),0x0)/Math[_0x196b58(0x379)](0x1,_0x1df0d0[_0x196b58(0x567)]);for(let _0x3011a3=_0x2212c4;_0x3011a3<=_0x4ab997;_0x3011a3+=0x1)_0xb1a21f[_0x3011a3]['height']=_0x3d09af;return{'rows':_0xb1a21f};}let _0x2fa3eb=_0x43911b[_0x196b58(0x4a2)](_0xf59aeb[_0x196b58(0x581)]),_0x2ae844=Math[_0x196b58(0x379)](0x0,Math[_0x196b58(0x61f)](_0x2f0fc2[_0x196b58(0x4dd)],_0x2fa3eb[_0x196b58(0x567)]-0x1)),_0x747f3f=Math[_0x196b58(0x379)](_0x2ae844,Math[_0x196b58(0x61f)](_0x2f0fc2['endColumn'],_0x2fa3eb[_0x196b58(0x567)]-0x1)),_0xaae0dc=_0x2fa3eb[_0x196b58(0x5b4)](_0x2ae844,_0x747f3f+0x1),_0x1f28b3=_0xaae0dc[_0x196b58(0x170)]((_0x266b45,_0x4b8df2)=>_0x266b45+_0x4b8df2[_0x196b58(0x172)],0x0)/Math[_0x196b58(0x379)](0x1,_0xaae0dc[_0x196b58(0x567)]);for(let _0x58fb23=_0x2ae844;_0x58fb23<=_0x747f3f;_0x58fb23+=0x1)_0x2fa3eb[_0x58fb23]['width']=_0x1f28b3;return{'columns':_0x2fa3eb};}function di(_0x315a44,_0x314f6f,_0x56b581){const _0x140248=_0x3cd2e0;let _0x259206=_0x43911b[_0x140248(0x4a2)](_0x315a44[_0x140248(0x400)]),_0x4cc535=_0x21e29d(_0x314f6f);return _0x5190f9(_0x259206,_0x4cc535,(_0x4e1751,_0x424443,_0xe62a54)=>{const _0x3a0658=_0x140248;if(_0x56b581[_0x3a0658(0x338)]==='vertical'){_0x4e1751[_0x3a0658(0x36d)]=_0x55911b(_0x4e1751[_0x3a0658(0x36d)],{'verticalAlign':Vi(_0x56b581[_0x3a0658(0x1bc)])});return;}let _0x29e997=_0x3a0658(0x5a9)+_0x315a44['id']+'_'+_0x424443+'_'+_0xe62a54;_0x4e1751['textData']=Ni(_0x4e1751[_0x3a0658(0x4eb)],_0x56b581[_0x3a0658(0x1bc)],_0x29e997);}),{'rows':_0x259206};}function fi(_0x18cd82,_0x4f9017,_0x1764db){const _0x57144f=_0x3cd2e0;let _0x1bf962=_0x43911b[_0x57144f(0x4a2)](_0x18cd82[_0x57144f(0x400)]),_0x356c6a=_0x21e29d(_0x4f9017);return _0x5190f9(_0x1bf962,_0x356c6a,(_0x519237,_0x2aaa56,_0x472ff5)=>{const _0x4ee6e4=_0x57144f;var _0x590924;let _0x51fb23='SLIDE_TABLE_CELL_'+_0x18cd82['id']+'_'+_0x2aaa56+'_'+_0x472ff5,_0x1ce015=_0x43911b[_0x4ee6e4(0x4a2)](_0x519237[_0x4ee6e4(0x4eb)]??zi(_0x51fb23)),_0x353076=_0x1ce015[_0x4ee6e4(0x15e)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x4718da=_0x53e099(0x6);_0x519237['textData']={..._0x1ce015,'id':_0x1ce015['id']??_0x51fb23,'body':{..._0x353076,'paragraphs':((_0x590924=_0x353076[_0x4ee6e4(0x2d4)])!=null&&_0x590924[_0x4ee6e4(0x567)]?_0x353076[_0x4ee6e4(0x2d4)]:[Bi()])['map'](_0x3bb00c=>{const _0x4528a9=_0x4ee6e4;var _0x4b38dc,_0x47b60f;if(_0x1764db===null){let _0x46c093={..._0x3bb00c};return delete _0x46c093[_0x4528a9(0x3aa)],_0x46c093;}return{..._0x3bb00c,'bullet':{'nestingLevel':((_0x4b38dc=_0x3bb00c[_0x4528a9(0x3aa)])==null?void 0x0:_0x4b38dc['nestingLevel'])??0x0,'textStyle':((_0x47b60f=_0x3bb00c[_0x4528a9(0x3aa)])==null?void 0x0:_0x47b60f['listType'])===_0x1764db?_0x3bb00c[_0x4528a9(0x3aa)][_0x4528a9(0x349)]:{'fs':0x14},'listId':_0x4718da,'listType':_0x1764db}};})}};}),{'rows':_0x1bf962};}function pi(_0x1b9dbb,_0x1db018,_0x1f3e53){const _0x4e2cf8=_0x3cd2e0;if(!_0x1b9dbb||!_0x1db018)return{'active':!0x1,'mixed':!0x1};let _0x567e3e=_0x21e29d(_0x1db018),_0x2135b1=[];for(let _0x355e18=_0x567e3e['startRow'];_0x355e18<=_0x567e3e['endRow'];_0x355e18+=0x1)for(let _0x5d26e8=_0x567e3e['startColumn'];_0x5d26e8<=_0x567e3e[_0x4e2cf8(0x655)];_0x5d26e8+=0x1){var _0x27e8f5;let _0x519005=((_0x27e8f5=_0x1b9dbb[_0x4e2cf8(0x400)][_0x355e18])==null||(_0x27e8f5=_0x27e8f5[_0x4e2cf8(0x329)][_0x5d26e8])==null||(_0x27e8f5=_0x27e8f5[_0x4e2cf8(0x4eb)])==null||(_0x27e8f5=_0x27e8f5[_0x4e2cf8(0x15e)])==null?void 0x0:_0x27e8f5[_0x4e2cf8(0x2d4)])??[];_0x2135b1[_0x4e2cf8(0x249)](..._0x519005[_0x4e2cf8(0x567)]?_0x519005['map'](_0x2a8989=>{const _0x1c53f3=_0x4e2cf8;var _0x47eb24;let _0x1345ab=(_0x47eb24=_0x2a8989['bullet'])==null?void 0x0:_0x47eb24[_0x1c53f3(0x568)];return mi(_0x1345ab)?_0x1345ab:void 0x0;}):[void 0x0]);}let _0x22db85=_0x2135b1['filter'](_0x2e4ebc=>!!(_0x2e4ebc!=null&&_0x2e4ebc[_0x4e2cf8(0x503)](_0x1f3e53))),_0x11f91b=_0x2135b1[_0x4e2cf8(0x567)]>0x0&&_0x22db85[_0x4e2cf8(0x567)]===_0x2135b1['length'];return{'active':_0x11f91b,'mixed':_0x22db85['length']>0x0&&!_0x11f91b,'value':_0x11f91b&&_0x22db85['every'](_0x32c335=>_0x32c335===_0x22db85[0x0])?_0x22db85[0x0]:void 0x0};}function mi(_0x374ff9){const _0x4d17f9=_0x3cd2e0;return _0x374ff9!==void 0x0&&Object[_0x4d17f9(0x3d5)](_0x1f0354)[_0x4d17f9(0x674)](_0x3b751b=>_0x3b751b===_0x374ff9);}function hi(_0x39dfd6,_0x5dc610,_0x17e5df){return gi(_0x39dfd6,_0x5dc610,_0x17e5df?{'type':_0x3f8470['Solid'],'color':_0x17e5df,'alpha':0x1}:void 0x0);}function gi(_0x5cbbe5,_0x42f96d,_0x2b586a){const _0x10ef19=_0x3cd2e0;let _0x2602e4=_0x43911b['deepClone'](_0x5cbbe5[_0x10ef19(0x400)]),_0x321064=_0x21e29d(_0x42f96d);return _0x5190f9(_0x2602e4,_0x321064,_0x9603cb=>{const _0x2a0350=_0x10ef19;_0x9603cb[_0x2a0350(0x36d)]=_0x55911b(_0x9603cb[_0x2a0350(0x36d)],{'fill':_0x2b586a});}),{'rows':_0x2602e4};}function _i(_0x1ec4f8,_0x4e0ed7,_0x53a425){const _0x33696f=_0x3cd2e0;return vi(_0x1ec4f8,_0x4e0ed7,_0x53a425?{'type':_0x33696f(0x27f),'color':_0x53a425,'opacity':0x1}:void 0x0);}function vi(_0x946280,_0x22f58a,_0x187c54){const _0x356b28=_0x3cd2e0;let _0x2a2fa6=_0x43911b[_0x356b28(0x4a2)](_0x946280[_0x356b28(0x400)]),_0x3b89f2=_0x21e29d(_0x22f58a);return _0x5190f9(_0x2a2fa6,_0x3b89f2,(_0x155367,_0x42c0a2,_0x3386f1)=>{const _0x2f0a6f=_0x356b28;let _0x383e74=_0x2f0a6f(0x5a9)+_0x946280['id']+'_'+_0x42c0a2+'_'+_0x3386f1;_0x155367['textData']=Pi(_0x155367[_0x2f0a6f(0x4eb)],_0x187c54,_0x383e74);}),{'rows':_0x2a2fa6};}function yi(_0xe54ead,_0x5b4429,_0x549391){const _0x4e6467=_0x3cd2e0;let _0xb2f157=_0x43911b[_0x4e6467(0x4a2)](_0xe54ead['rows']),_0x1f60a8=_0x21e29d(_0x5b4429);return _0x5190f9(_0xb2f157,_0x1f60a8,_0x3e5f7b=>{const _0x3290c0=_0x4e6467;var _0xcafdc5;let _0x4a1bb4=((_0xcafdc5=_0x3e5f7b[_0x3290c0(0x36d)])==null?void 0x0:_0xcafdc5[_0x3290c0(0x2d5)])??{},_0x171d51=_0x3ea499=>({..._0x15d020(),..._0x3ea499,..._0x549391});_0x3e5f7b['style']=_0x55911b(_0x3e5f7b[_0x3290c0(0x36d)],{'borders':{'top':_0x171d51(_0x4a1bb4['top']),'right':_0x171d51(_0x4a1bb4[_0x3290c0(0x3ec)]),'bottom':_0x171d51(_0x4a1bb4[_0x3290c0(0x5fd)]),'left':_0x171d51(_0x4a1bb4[_0x3290c0(0x3b6)])}});}),{'rows':_0xb2f157};}function bi(_0x4cc230,_0x530d9a,_0x33e7e3,_0xbaddb6){const _0x5a89ae=_0x3cd2e0;let _0x4d4374=_0x43911b['deepClone'](_0x4cc230[_0x5a89ae(0x400)]);return{'rows':_0x471326(_0x4d4374,_0x530d9a,_0x33e7e3,_0xbaddb6)['rows']};}function xi(_0x5d16ba,_0x13de65,_0x28a7df){return Li(_0x5d16ba,_0x13de65,{'ff':_0x28a7df});}function Si(_0x5d31f4,_0x158a76,_0x3e9c10){return Li(_0x5d31f4,_0x158a76,{'fs':_0x3e9c10});}function Ci(_0x325f5f,_0x4e22ab){const _0x35f2c8=_0x3cd2e0;let _0x4c202e=Z(_0x325f5f);return!!_0x4c202e&&_0x257927(_0x4c202e[_0x35f2c8(0x3f8)])&&(!_0x4e22ab||!wi(_0x4e22ab,_0x325f5f));}function wi(_0x3c0b8f,_0x31a5ea){const _0x125eac=_0x3cd2e0;let _0xfcc4=Z(_0x31a5ea);if(!_0xfcc4||!_0x3c0b8f)return!0x1;let _0xe05b7=_0x21e29d(_0xfcc4[_0x125eac(0x3f8)]);for(let _0xfd117=_0xe05b7[_0x125eac(0x290)];_0xfd117<=_0xe05b7[_0x125eac(0x616)];_0xfd117+=0x1)for(let _0x5731e1=_0xe05b7[_0x125eac(0x4dd)];_0x5731e1<=_0xe05b7[_0x125eac(0x655)];_0x5731e1+=0x1){let _0x779234=_0x2a9fc9(_0x3c0b8f,_0xfd117,_0x5731e1);if(_0x779234&&_0x257927(_0x779234))return!0x0;}return!0x1;}function Ti(_0x524ea8,_0x23abd2){const _0x3f7cf9=_0x3cd2e0;let _0x2e6ca0=Z(_0x23abd2);return!_0x2e6ca0||!_0x524ea8?!0x1:_0x524ea8[_0x3f7cf9(0x400)][_0x3f7cf9(0x567)]>_0x2e6ca0[_0x3f7cf9(0x3f8)]['endRow']-_0x2e6ca0[_0x3f7cf9(0x3f8)]['startRow']+0x1;}function Ei(_0x58943e,_0x3f2992){const _0x3182bf=_0x3cd2e0;let _0x13c1dd=Z(_0x3f2992);return!_0x13c1dd||!_0x58943e?!0x1:_0x58943e[_0x3182bf(0x581)][_0x3182bf(0x567)]>_0x13c1dd[_0x3182bf(0x3f8)][_0x3182bf(0x655)]-_0x13c1dd['range'][_0x3182bf(0x4dd)]+0x1;}function Di(_0xf8629e,_0x1561ac){const _0x4aee2f=_0x3cd2e0;let _0x530b55=Z(_0x1561ac);return!_0x530b55||!_0xf8629e?!0x1:_0x530b55['range'][_0x4aee2f(0x616)]-_0x530b55['range'][_0x4aee2f(0x290)]+0x1>0x1;}function Oi(_0x1ad57d,_0x301748){const _0x9e80e0=_0x3cd2e0;let _0x2e8832=Z(_0x301748);return!_0x2e8832||!_0x1ad57d?!0x1:_0x2e8832[_0x9e80e0(0x3f8)][_0x9e80e0(0x655)]-_0x2e8832[_0x9e80e0(0x3f8)]['startColumn']+0x1>0x1;}function ki(_0xa16a99,_0x14ca7f,_0x198436){return{'id':_0xa16a99,'commandId':_0x14ca7f,'enabled':_0x198436};}function Ai(_0x31428d,_0x3778c8,_0x499621,_0x550690,_0x3fe0cf,_0x3f0339,_0x3d78ee){const _0x18d098=_0x3cd2e0;return!_0x31428d||!(_0x3d78ee===_0x18d098(0x3a3)?Di(_0x31428d,_0x3778c8):Oi(_0x31428d,_0x3778c8))?null:{'commandId':_0x499621,'params':{'unitId':_0x550690,'tableId':_0x3fe0cf,'patch':ui(_0x31428d,_0x3d78ee,_0x3f0339)}};}function ji(_0x53c67a){const _0x2d4b8b=_0x3cd2e0;return _0x53c67a[_0x2d4b8b(0x616)]-_0x53c67a['startRow']+0x1;}function Mi(_0x153472){const _0x3792c1=_0x3cd2e0;return _0x153472[_0x3792c1(0x655)]-_0x153472[_0x3792c1(0x4dd)]+0x1;}function Ni(_0x370371,_0x572145,_0x59128a){const _0x41521a=_0x3cd2e0;var _0x32945e;let _0x3f5043=_0x43911b['deepClone'](_0x370371??zi(_0x59128a)),_0x77e9aa=_0x3f5043[_0x41521a(0x15e)]??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x30180e=(_0x32945e=_0x77e9aa[_0x41521a(0x2d4)])!=null&&_0x32945e[_0x41521a(0x567)]?_0x77e9aa['paragraphs']:[Bi()],_0x4b7295=_0x3f5043[_0x41521a(0x424)]??{};return{..._0x3f5043,'id':_0x3f5043['id']??_0x59128a,'body':{..._0x77e9aa,'dataStream':_0x77e9aa['dataStream']??'\x0d\x0a','paragraphs':_0x30180e[_0x41521a(0x37f)](_0x4c948f=>({..._0x4c948f,'paragraphStyle':{..._0x4c948f[_0x41521a(0x3ea)],'horizontalAlign':_0x572145}}))},'documentStyle':{..._0x4b7295,'renderConfig':{..._0x4b7295[_0x41521a(0x4df)],'horizontalAlign':_0x572145}}};}function Pi(_0x4f451c,_0x16479c,_0xfc9f74){const _0x257b78=_0x3cd2e0;var _0x29f601,_0x249938;let _0x1e8752=_0x43911b[_0x257b78(0x4a2)](_0x4f451c??zi(_0xfc9f74)),_0x27e41d=_0x1e8752['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x25fad5=_0x27e41d[_0x257b78(0x663)]??'\x0d\x0a',_0x1b22db=Math[_0x257b78(0x379)](0x0,_0x25fad5[_0x257b78(0x567)]-0x2),_0x3519a5=Ii(_0x16479c),_0x4442d9=Fi({...(_0x29f601=_0x1e8752['documentStyle'])==null?void 0x0:_0x29f601[_0x257b78(0x349)]},_0x16479c,_0x3519a5),_0x3611db=(_0x27e41d[_0x257b78(0x4ef)]??[])['map'](_0x4b44ac=>{let _0x435429=Fi({..._0x4b44ac['ts']},_0x16479c,_0x3519a5);return{..._0x4b44ac,'ts':_0x435429};});return _0x16479c&&_0x1b22db>0x0&&_0x3611db[_0x257b78(0x567)]===0x0&&_0x3611db['push']({'st':0x0,'ed':_0x1b22db,'ts':{..._0x3519a5?{'cl':{'rgb':_0x3519a5}}:{},'textFill':_0x16479c}}),{..._0x1e8752,'id':_0x1e8752['id']??_0xfc9f74,'body':{..._0x27e41d,'dataStream':_0x25fad5,'paragraphs':(_0x249938=_0x27e41d['paragraphs'])!=null&&_0x249938['length']?_0x27e41d[_0x257b78(0x2d4)]:[Bi()],'textRuns':_0x3611db},'documentStyle':{..._0x1e8752[_0x257b78(0x424)],'textStyle':_0x4442d9}};}function Fi(_0x3bfe4c,_0x37c825,_0x5e7927){const _0x721473=_0x3cd2e0;return _0x37c825?_0x3bfe4c[_0x721473(0x15d)]=_0x37c825:delete _0x3bfe4c['textFill'],_0x5e7927?_0x3bfe4c['cl']={'rgb':_0x5e7927}:delete _0x3bfe4c['cl'],_0x3bfe4c;}function Ii(_0x204c17){const _0x2a2526=_0x3cd2e0;if(!_0x204c17||_0x204c17[_0x2a2526(0x278)]===_0x2a2526(0x238))return(_0x204c17==null?void 0x0:_0x204c17['type'])===_0x2a2526(0x238)?_0x2a2526(0x5dd):void 0x0;if(_0x204c17['type']===_0x2a2526(0x6db)){var _0x487a55;return((_0x487a55=_0x204c17[_0x2a2526(0x6db)])==null||(_0x487a55=_0x487a55[_0x2a2526(0x59e)])==null||(_0x487a55=_0x487a55[0x0])==null?void 0x0:_0x487a55['color'])??_0x204c17['color'];}return _0x204c17[_0x2a2526(0x565)];}function Li(_0x56b171,_0x464599,_0x53afa9){const _0x198851=_0x3cd2e0;let _0x1215a7=_0x43911b[_0x198851(0x4a2)](_0x56b171[_0x198851(0x400)]),_0x409f12=_0x21e29d(_0x464599);return _0x5190f9(_0x1215a7,_0x409f12,(_0x56eb5a,_0x30a802,_0x2d18b8)=>{const _0x309b7f=_0x198851;let _0xc521b2='SLIDE_TABLE_CELL_'+_0x56b171['id']+'_'+_0x30a802+'_'+_0x2d18b8;_0x56eb5a[_0x309b7f(0x4eb)]=Ri(_0x56eb5a['textData'],_0x53afa9,_0xc521b2);}),{'rows':_0x1215a7};}function Ri(_0x1249dc,_0x15c081,_0x368011){const _0x119309=_0x3cd2e0;var _0x5428cd,_0x1f2872;let _0x451524=_0x43911b['deepClone'](_0x1249dc??zi(_0x368011)),_0x171400=_0x451524['body']??{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},_0x2c3180=_0x171400[_0x119309(0x663)]??'\x0d\x0a',_0x158402=Math[_0x119309(0x379)](0x0,_0x2c3180[_0x119309(0x567)]-0x2),_0x13faa3=(_0x171400[_0x119309(0x4ef)]??[])['map'](_0x4c774b=>({..._0x4c774b,'ts':{..._0x4c774b['ts'],..._0x15c081}}));return _0x158402>0x0&&_0x13faa3['length']===0x0&&_0x13faa3['push']({'st':0x0,'ed':_0x158402,'ts':_0x15c081}),{..._0x451524,'id':_0x451524['id']??_0x368011,'body':{..._0x171400,'dataStream':_0x2c3180,'paragraphs':(_0x5428cd=_0x171400[_0x119309(0x2d4)])!=null&&_0x5428cd[_0x119309(0x567)]?_0x171400[_0x119309(0x2d4)]:[Bi()],'textRuns':_0x13faa3},'documentStyle':{..._0x451524[_0x119309(0x424)],'textStyle':{...(_0x1f2872=_0x451524['documentStyle'])==null?void 0x0:_0x1f2872['textStyle'],..._0x15c081}}};}function zi(_0x488786){return{'id':_0x488786,'body':{'dataStream':'\x0d\x0a','paragraphs':[Bi()],'textRuns':[]},'documentStyle':{}};}function Bi(){return{'startIndex':0x0,'paragraphId':_0x2e008c(new Set())};}function Vi(_0x4e9468){const _0x232dc5=_0x3cd2e0;return _0x4e9468===_0x456b59[_0x232dc5(0x3e4)]?_0x26db87[_0x232dc5(0x243)]:_0x4e9468===_0x456b59['BOTTOM']?_0x26db87['Bottom']:_0x26db87[_0x232dc5(0x604)];}const Hi={'insertRows':_0x1ead7f['id'],'insertColumns':_0x460de1['id'],'deleteRows':_0x3e91e9['id'],'deleteColumns':_0x27d5ae['id'],'mergeCells':_0x37d790['id'],'unmergeCells':_0x908320['id'],'updateTable':_0x5c9d7f['id']},Ui=[{'title':'slides-table-ui.contextMenu.resetColor'},{'title':_0x3cd2e0(0x1ff),'color':_0x3cd2e0(0x1ff)},{'title':_0x3cd2e0(0x6a5),'color':_0x3cd2e0(0x6a5)},{'title':_0x3cd2e0(0x367),'color':_0x3cd2e0(0x367)},{'title':_0x3cd2e0(0x468),'color':'blue.100'},{'title':_0x3cd2e0(0x318),'color':_0x3cd2e0(0x318)},{'title':_0x3cd2e0(0x694),'color':_0x3cd2e0(0x694)},{'title':_0x3cd2e0(0x5c3),'color':_0x3cd2e0(0x5c3)}],Wi=[{'title':_0x3cd2e0(0x3b2)},{'title':_0x3cd2e0(0x2e5),'color':_0x3cd2e0(0x2e5)},{'title':_0x3cd2e0(0x4ad),'color':_0x3cd2e0(0x4ad)},{'title':_0x3cd2e0(0x683),'color':_0x3cd2e0(0x683)},{'title':'orange.600','color':'orange.600'},{'title':'yellow.700','color':_0x3cd2e0(0x1a0)},{'title':_0x3cd2e0(0x630),'color':_0x3cd2e0(0x630)},{'title':_0x3cd2e0(0x47e),'color':_0x3cd2e0(0x47e)},{'title':_0x3cd2e0(0x3be),'color':_0x3cd2e0(0x3be)}],Gi=wa(_0x3cd2e0(0x698),X[_0x3cd2e0(0x38d)]),Ki=wa(_0x3cd2e0(0x5ea),X[_0x3cd2e0(0x3e6)]),qi=wa(_0x3cd2e0(0x446),X[_0x3cd2e0(0x398)]),Ji=wa('slide.operation.slide-table-insert-column-right',X[_0x3cd2e0(0x4ba)]),Yi=wa(_0x3cd2e0(0x41d),X['DeleteRows']),Xi=wa('slide.operation.slide-table-delete-columns',X['DeleteColumns']),Zi=wa(_0x3cd2e0(0x19f),X[_0x3cd2e0(0x328)]),Qi=wa(_0x3cd2e0(0x41e),X[_0x3cd2e0(0x4f4)]),$i=wa(_0x3cd2e0(0x1de),X[_0x3cd2e0(0x4b3)]),ea=wa('slide.operation.slide-table-distribute-columns',X['DistributeColumns']),ta={'id':_0x3cd2e0(0x46a),'type':_0x1d5d41['OPERATION'],'handler':_0x4b1d31=>_0x4b1d31[_0x3cd2e0(0x57d)](_0x24e1b6)[_0x3cd2e0(0x6af)](_0x3f2100['id'])},na={'id':'slide.operation.slide-table-cut-table','type':_0x1d5d41[_0x3cd2e0(0x5ff)],'handler':_0x2b6c51=>_0x2b6c51[_0x3cd2e0(0x57d)](_0x24e1b6)[_0x3cd2e0(0x6af)](_0x3c3846['id'])},ra={'id':_0x3cd2e0(0x57b),'type':_0x1d5d41[_0x3cd2e0(0x5ff)],'handler':_0x256242=>{const _0x54dcec=_0x3cd2e0;let _0x466968=_0x256242[_0x54dcec(0x57d)](_0x24e1b6),_0x1f65e5=_0x256242['get'](_0x50ebf5),_0x31ad85=_0x256242[_0x54dcec(0x57d)](_0x50674c),_0x7bb475=_0x256242[_0x54dcec(0x57d)](J),_0xbd1a43=_0x7bb475[_0x54dcec(0x5b1)](),_0x520bc2=Z(_0xbd1a43),_0x5e7f49=_0xbd1a43&&_0x520bc2?{'unitId':_0x520bc2['unitId'],'subUnitId':_0xbd1a43['subUnitId'],'tableId':_0x520bc2[_0x54dcec(0x37b)],'elementId':_0x520bc2[_0x54dcec(0x6ec)]}:null;if(!_0x5e7f49){let _0x242777=_0x31ad85[_0x54dcec(0x445)](),_0x5c46b2=_0x242777[_0x54dcec(0x661)][_0x54dcec(0x567)]===0x1?_0x242777[_0x54dcec(0x661)][0x0]:void 0x0,_0x1e1ea8=_0x242777[_0x54dcec(0x3ac)]&&_0x5c46b2?_0x1f65e5[_0x54dcec(0x334)]({..._0x242777[_0x54dcec(0x3ac)],'drawingId':_0x5c46b2}):null;_0x242777[_0x54dcec(0x3ac)]&&_0x5c46b2&&(_0x1e1ea8==null?void 0x0:_0x1e1ea8[_0x54dcec(0x1f0)][_0x54dcec(0x278)])===_0x5ddaa8['Table']&&(_0x5e7f49={'unitId':_0x242777[_0x54dcec(0x3ac)][_0x54dcec(0x264)],'subUnitId':_0x242777[_0x54dcec(0x3ac)][_0x54dcec(0x602)],'tableId':_0x1e1ea8['element'][_0x54dcec(0x37b)],'elementId':_0x5c46b2});}if(!_0x5e7f49)return!0x1;let _0xccbaef=_0x466968[_0x54dcec(0x414)](_0xa060ad['id'],_0x5e7f49);return _0xccbaef&&(_0x7bb475[_0x54dcec(0x2b4)](),_0x31ad85['clearSelection']()),_0xccbaef;}};function ia(_0x1db66b,_0x419cd2){const _0x11e467=_0x3cd2e0;return{'id':_0x1db66b,'type':_0x1d5d41[_0x11e467(0x5ff)],'handler':_0x3d1470=>{const _0x5f12dc=_0x11e467;let _0x20f135=_0x3d1470[_0x5f12dc(0x57d)](_0x50ebf5),_0xffca37=_0x3d1470[_0x5f12dc(0x57d)](_0x50674c)[_0x5f12dc(0x445)](),_0x2597e5=_0xffca37[_0x5f12dc(0x661)][_0x5f12dc(0x567)]===0x1?_0xffca37['selectedIds'][0x0]:void 0x0;if(!_0xffca37['context']||!_0x2597e5)return!0x1;let _0x51ba0c=_0x20f135[_0x5f12dc(0x334)]({..._0xffca37[_0x5f12dc(0x3ac)],'drawingId':_0x2597e5});if((_0x51ba0c==null?void 0x0:_0x51ba0c[_0x5f12dc(0x1f0)]['type'])!==_0x5ddaa8[_0x5f12dc(0x230)])return!0x1;let _0x135bf0=_0x20f135[_0x5f12dc(0x438)](_0xffca37[_0x5f12dc(0x3ac)][_0x5f12dc(0x264)],_0xffca37[_0x5f12dc(0x3ac)][_0x5f12dc(0x602)]),_0xd16265=_0x135bf0[_0x5f12dc(0x1fd)](_0x2597e5);if(_0xd16265<0x0)return!0x1;let _0x5e4902=[..._0x135bf0];if(_0x419cd2===_0x5b3e14[_0x5f12dc(0x680)]&&_0xd16265<_0x5e4902['length']-0x1)[_0x5e4902[_0xd16265],_0x5e4902[_0xd16265+0x1]]=[_0x5e4902[_0xd16265+0x1],_0x5e4902[_0xd16265]];else{if(_0x419cd2===_0x5b3e14[_0x5f12dc(0x5b9)]&&_0xd16265>0x0)[_0x5e4902[_0xd16265],_0x5e4902[_0xd16265-0x1]]=[_0x5e4902[_0xd16265-0x1],_0x5e4902[_0xd16265]];else{if(_0x419cd2===_0x5b3e14['front']&&_0xd16265<_0x5e4902[_0x5f12dc(0x567)]-0x1)_0x5e4902[_0x5f12dc(0x300)](_0xd16265,0x1),_0x5e4902['push'](_0x2597e5);else{if(_0x419cd2===_0x5b3e14[_0x5f12dc(0x408)]&&_0xd16265>0x0)_0x5e4902[_0x5f12dc(0x300)](_0xd16265,0x1),_0x5e4902[_0x5f12dc(0x3c0)](_0x2597e5);else return!0x1;}}}return _0x3d1470[_0x5f12dc(0x57d)](_0x24e1b6)['executeCommand'](_0x3f3ca9['id'],{'unitId':_0xffca37[_0x5f12dc(0x3ac)]['unitId'],'subUnitId':_0xffca37['context'][_0x5f12dc(0x602)],'drawingIds':_0x5e4902});}};}const aa=ia(_0x3cd2e0(0x2f5),_0x5b3e14['forward']),oa=ia(_0x3cd2e0(0x37d),_0x5b3e14[_0x3cd2e0(0x5b9)]),sa=ia(_0x3cd2e0(0x296),_0x5b3e14[_0x3cd2e0(0x61e)]),ca=ia('slide-table.operation.arrange-back',_0x5b3e14[_0x3cd2e0(0x408)]),la=Ta(_0x3cd2e0(0x51f),_0x20ac30[_0x3cd2e0(0x201)]),ua=Ta('slide-table.operation.border-outer',_0x20ac30['Outer']),da=Ta(_0x3cd2e0(0x56d),_0x20ac30['Inner']),fa=Ta(_0x3cd2e0(0x260),_0x20ac30['None']),pa=Ea(_0x3cd2e0(0x4c4),{'axis':_0x3cd2e0(0x4de),'value':_0x213d9e[_0x3cd2e0(0x5c8)]}),ma=Ea('slide-table.operation.align-center',{'axis':'horizontal','value':_0x213d9e[_0x3cd2e0(0x3ae)]}),ha=Ea(_0x3cd2e0(0x392),{'axis':_0x3cd2e0(0x4de),'value':_0x213d9e[_0x3cd2e0(0x47a)]}),ga=Ea(_0x3cd2e0(0x591),{'axis':_0x3cd2e0(0x3d4),'value':_0x456b59['TOP']}),_a=Ea(_0x3cd2e0(0x1e9),{'axis':'vertical','value':_0x456b59[_0x3cd2e0(0x3e4)]}),va=Ea(_0x3cd2e0(0x508),{'axis':_0x3cd2e0(0x3d4),'value':_0x456b59[_0x3cd2e0(0x607)]}),ya=Ui['map']((_0x2c72c5,_0x4d487f)=>Da(_0x3cd2e0(0x4c7)+_0x4d487f,_0x2c72c5)),ba=Wi['map']((_0x95c65,_0x3cf90d)=>Oa(_0x3cd2e0(0x1bf)+_0x3cf90d,_0x95c65)),xa=[Gi,Ki,qi,Ji,Yi,Xi,Zi,Qi,$i,ea,ta,na,ra,aa,oa,sa,ca,la,ua,da,fa,pa,ma,ha,ga,_a,va,...ya,...ba];function Sa(_0x3b12db){const _0x5b2ec=_0x3cd2e0;return Z(_0x3b12db[_0x5b2ec(0x5b1)]());}function Ca(_0x127e41,_0x27eab0,_0x4e6676){return li(_0x127e41,_0x27eab0,_0x4e6676,Hi);}function wa(_0x11c485,_0x238c38){return{'id':_0x11c485,'type':_0x1d5d41['OPERATION'],'handler'(_0x51d03d){const _0x280cbd=_0x5473;let _0x2919c2=_0x51d03d[_0x280cbd(0x57d)](J)[_0x280cbd(0x5b1)](),_0x48bfb2=Z(_0x2919c2);if(!_0x48bfb2)return!0x1;let _0x459e64=Ca(_0x51d03d[_0x280cbd(0x57d)](_0x3837ee)[_0x280cbd(0x6c1)](_0x48bfb2[_0x280cbd(0x264)],_0x48bfb2[_0x280cbd(0x37b)]),_0x2919c2,_0x238c38);return _0x459e64?_0x51d03d[_0x280cbd(0x57d)](_0x24e1b6)[_0x280cbd(0x6af)](_0x459e64[_0x280cbd(0x27d)],_0x459e64['params']):!0x1;}};}function Ta(_0x50781d,_0x1d7eb4){const _0x5d2dc6=_0x3cd2e0;return{'id':_0x50781d,'type':_0x1d5d41[_0x5d2dc6(0x5ff)],'handler':_0x112894=>{const _0x2a535d=_0x5d2dc6;let _0x546846=Sa(_0x112894[_0x2a535d(0x57d)](J));if(!_0x546846)return!0x1;let _0x46df1d=_0x112894[_0x2a535d(0x57d)](_0x3837ee)[_0x2a535d(0x6c1)](_0x546846[_0x2a535d(0x264)],_0x546846['tableId']);return _0x46df1d?_0x112894[_0x2a535d(0x57d)](_0x24e1b6)['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x546846[_0x2a535d(0x264)],'tableId':_0x546846['tableId'],'patch':bi(_0x46df1d,_0x546846[_0x2a535d(0x3f8)],_0x1d7eb4)}):!0x1;}};}function Ea(_0x468ccf,_0x92a9f9){const _0x2ad597=_0x3cd2e0;return{'id':_0x468ccf,'type':_0x1d5d41[_0x2ad597(0x5ff)],'handler':_0x40845f=>{const _0x553c89=_0x2ad597;let _0x4e40bd=Sa(_0x40845f[_0x553c89(0x57d)](J));if(!_0x4e40bd)return!0x1;let _0x43457b=_0x40845f['get'](_0x3837ee)[_0x553c89(0x6c1)](_0x4e40bd[_0x553c89(0x264)],_0x4e40bd['tableId']);return _0x43457b?_0x40845f[_0x553c89(0x57d)](_0x24e1b6)[_0x553c89(0x6af)](_0x5c9d7f['id'],{'unitId':_0x4e40bd['unitId'],'tableId':_0x4e40bd[_0x553c89(0x37b)],'patch':di(_0x43457b,_0x4e40bd['range'],_0x92a9f9)}):!0x1;}};}function Da(_0x2207b6,_0x3018be){const _0x291dc7=_0x3cd2e0;return{'id':_0x2207b6,'title':_0x3018be[_0x291dc7(0x4d3)],'type':_0x1d5d41[_0x291dc7(0x5ff)],'handler':_0x31e608=>{const _0x3fbf5c=_0x291dc7;let _0x34d736=Sa(_0x31e608[_0x3fbf5c(0x57d)](J));if(!_0x34d736)return!0x1;let _0x413a46=_0x31e608['get'](_0x3837ee)[_0x3fbf5c(0x6c1)](_0x34d736[_0x3fbf5c(0x264)],_0x34d736[_0x3fbf5c(0x37b)]);return _0x413a46?_0x31e608['get'](_0x24e1b6)['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x34d736[_0x3fbf5c(0x264)],'tableId':_0x34d736['tableId'],'patch':hi(_0x413a46,_0x34d736[_0x3fbf5c(0x3f8)],ka(_0x31e608,_0x3018be[_0x3fbf5c(0x565)]))}):!0x1;}};}function Oa(_0x510d6b,_0x51808b){const _0x4e973a=_0x3cd2e0;return{'id':_0x510d6b,'title':_0x51808b[_0x4e973a(0x4d3)],'type':_0x1d5d41[_0x4e973a(0x5ff)],'handler':_0x16df46=>{const _0x3ced99=_0x4e973a;let _0x143d3b=Sa(_0x16df46[_0x3ced99(0x57d)](J));if(!_0x143d3b)return!0x1;let _0x42389a=_0x16df46[_0x3ced99(0x57d)](_0x3837ee)['getTable'](_0x143d3b[_0x3ced99(0x264)],_0x143d3b[_0x3ced99(0x37b)]);return _0x42389a?_0x16df46[_0x3ced99(0x57d)](_0x24e1b6)[_0x3ced99(0x6af)](_0x5c9d7f['id'],{'unitId':_0x143d3b[_0x3ced99(0x264)],'tableId':_0x143d3b[_0x3ced99(0x37b)],'patch':_i(_0x42389a,_0x143d3b[_0x3ced99(0x3f8)],ka(_0x16df46,_0x51808b[_0x3ced99(0x565)]))}):!0x1;}};}function ka(_0x4fbbe0,_0x210527){const _0x391285=_0x3cd2e0;if(!_0x210527)return;let _0x41d23e=_0x4fbbe0[_0x391285(0x57d)](_0xa87bea);return _0x41d23e['isValidThemeColor'](_0x210527)?_0x41d23e[_0x391285(0x33d)](_0x210527):_0x210527;}function Aa(_0x2cf03b){const _0x304036=_0x3cd2e0;let _0x161246=_0x2cf03b[_0x304036(0x57d)](J)[_0x304036(0x5b1)](),_0x411baa=Z(_0x161246);return Ci(_0x161246,_0x411baa?_0x2cf03b[_0x304036(0x57d)](_0x3837ee)['getTable'](_0x411baa['unitId'],_0x411baa[_0x304036(0x37b)]):null);}function ja(_0x4b3f4b){const _0x549241=_0x3cd2e0;let _0x3a5c50=_0x4b3f4b[_0x549241(0x57d)](J)[_0x549241(0x5b1)](),_0x2c492b=Z(_0x3a5c50);return wi(_0x2c492b?_0x4b3f4b[_0x549241(0x57d)](_0x3837ee)[_0x549241(0x6c1)](_0x2c492b[_0x549241(0x264)],_0x2c492b[_0x549241(0x37b)]):null,_0x3a5c50);}function Ma(_0x43e30f){const _0x3b8b87=_0x3cd2e0;let _0x1c8e48=_0x43e30f[_0x3b8b87(0x57d)](J)[_0x3b8b87(0x5b1)](),_0x19341d=Z(_0x1c8e48);return Ti(_0x19341d?_0x43e30f[_0x3b8b87(0x57d)](_0x3837ee)[_0x3b8b87(0x6c1)](_0x19341d[_0x3b8b87(0x264)],_0x19341d[_0x3b8b87(0x37b)]):null,_0x1c8e48);}function Na(_0x2f9bc7){const _0x4070e7=_0x3cd2e0;let _0x1cbc84=_0x2f9bc7[_0x4070e7(0x57d)](J)['getSelection'](),_0x11c4cb=Z(_0x1cbc84);return Ei(_0x11c4cb?_0x2f9bc7[_0x4070e7(0x57d)](_0x3837ee)[_0x4070e7(0x6c1)](_0x11c4cb['unitId'],_0x11c4cb[_0x4070e7(0x37b)]):null,_0x1cbc84);}function Pa(_0x1d71ce){const _0x3dd36e=_0x3cd2e0;let _0x408f5e=_0x1d71ce[_0x3dd36e(0x57d)](J)[_0x3dd36e(0x5b1)](),_0x50e5f6=Z(_0x408f5e);return Di(_0x50e5f6?_0x1d71ce['get'](_0x3837ee)[_0x3dd36e(0x6c1)](_0x50e5f6[_0x3dd36e(0x264)],_0x50e5f6[_0x3dd36e(0x37b)]):null,_0x408f5e);}function Fa(_0x2ed242){const _0x28c08d=_0x3cd2e0;let _0x1db86a=_0x2ed242['get'](J)[_0x28c08d(0x5b1)](),_0x4f37fd=Z(_0x1db86a);return Oi(_0x4f37fd?_0x2ed242[_0x28c08d(0x57d)](_0x3837ee)['getTable'](_0x4f37fd[_0x28c08d(0x264)],_0x4f37fd[_0x28c08d(0x37b)]):null,_0x1db86a);}function Ia(_0x73daf){const _0x2cec9a=_0x3cd2e0;return _0x73daf[_0x2cec9a(0x5e4)][_0x2cec9a(0x567)]===0x1&&!_0x73daf[_0x2cec9a(0x39d)]&&!_0x73daf[_0x2cec9a(0x299)]&&!_0x73daf['metaKey'];}function La(_0x2ac75c){const _0x3c52bb=_0x3cd2e0;return _0x2ac75c==='insertText'||_0x2ac75c===_0x3c52bb(0x589);}function Ra(_0x49560b){const _0x178929=_0x3cd2e0;if(typeof HTMLElement>'u'||!(_0x49560b instanceof HTMLElement))return!0x1;let _0x27dccd=_0x49560b[_0x178929(0x1d3)][_0x178929(0x1c1)]();return _0x27dccd==='input'||_0x27dccd==='textarea'||_0x27dccd===_0x178929(0x345)||Ba(_0x49560b);}function za(_0x333544){const _0x13d70a=_0x3cd2e0;return typeof HTMLElement>'u'||!(_0x333544 instanceof HTMLElement)||!Ba(_0x333544)?!0x1:_0x333544[_0x13d70a(0x2c3)]['uComp']==='editor'||_0x333544['id']['startsWith']('__editor_');}function Ba(_0x4c3a8f){const _0x3e8289=_0x3cd2e0;return _0x4c3a8f[_0x3e8289(0x1dd)]||_0x4c3a8f[_0x3e8289(0x1a9)]('contenteditable')===_0x3e8289(0x5b5);}var Va=class extends _0x166661{constructor(){super(),q(this,'_handler',null),q(this,'_inputHandler',null),this['_initNativeInputListeners']();}[_0x3cd2e0(0x613)](_0x47e0fb){const _0x45e62d=_0x3cd2e0;return this[_0x45e62d(0x1f6)]=_0x47e0fb,_0x5386fa(()=>{const _0x3ccde7=_0x45e62d;this['_handler']===_0x47e0fb&&(this[_0x3ccde7(0x1f6)]=null);});}[_0x3cd2e0(0x219)](_0x5ee862){const _0x563577=_0x3cd2e0;return this[_0x563577(0x3a8)]=_0x5ee862,_0x5386fa(()=>{const _0x2b1f44=_0x563577;this[_0x2b1f44(0x3a8)]===_0x5ee862&&(this[_0x2b1f44(0x3a8)]=null);});}[_0x3cd2e0(0x612)](_0x41f21c){const _0x57fcd4=_0x3cd2e0;var _0x470328;return((_0x470328=this[_0x57fcd4(0x1f6)])==null?void 0x0:_0x470328[_0x57fcd4(0x5cd)](this,_0x41f21c))??!0x1;}[_0x3cd2e0(0x4b2)](_0x174ad5){const _0x48b533=_0x3cd2e0;var _0x4c8cb3;return((_0x4c8cb3=this['_inputHandler'])==null?void 0x0:_0x4c8cb3[_0x48b533(0x5cd)](this,_0x174ad5))??!0x1;}['_initNativeInputListeners'](){const _0x235c48=_0x3cd2e0;if(typeof document>'u')return;let _0xc26952=_0x294b6c=>{const _0x1284f4=_0x5473;this[_0x1284f4(0x23b)](_0x294b6c)&&!_0x294b6c['isComposing']&&Ia(_0x294b6c)&&this['handleInput']({'kind':_0x1284f4(0x45d),'text':_0x294b6c[_0x1284f4(0x5e4)]})&&(_0x294b6c[_0x1284f4(0x2ac)](),_0x294b6c[_0x1284f4(0x18f)]());},_0x40a4f0=_0x23af82=>{const _0x2d9678=_0x5473;this['canHandleNativeInput'](_0x23af82)&&_0x23af82['data']&&La(_0x23af82[_0x2d9678(0x2c7)])&&this[_0x2d9678(0x4b2)]({'kind':_0x2d9678(0x45d),'text':_0x23af82[_0x2d9678(0x6ae)]})&&(_0x23af82[_0x2d9678(0x2ac)](),_0x23af82[_0x2d9678(0x18f)]());},_0x1dcf51=_0x365904=>{const _0x176b95=_0x5473;this[_0x176b95(0x23b)](_0x365904,{'allowDocsEditor':!0x0})&&this[_0x176b95(0x4b2)]({'kind':_0x176b95(0x696)});},_0x5b9310=_0x9a40e6=>{const _0x4b0712=_0x5473;this[_0x4b0712(0x23b)](_0x9a40e6)&&_0x9a40e6[_0x4b0712(0x6ae)]&&this['handleInput']({'kind':_0x4b0712(0x54a),'text':_0x9a40e6[_0x4b0712(0x6ae)]})&&(_0x9a40e6[_0x4b0712(0x2ac)](),_0x9a40e6[_0x4b0712(0x18f)]());};document[_0x235c48(0x642)]('keydown',_0xc26952,!0x0),document[_0x235c48(0x642)]('beforeinput',_0x40a4f0,!0x0),document[_0x235c48(0x642)](_0x235c48(0x39f),_0x1dcf51,!0x0),document[_0x235c48(0x642)]('compositionend',_0x5b9310,!0x0),this[_0x235c48(0x544)](_0x5386fa(()=>{const _0x8549f1=_0x235c48;document[_0x8549f1(0x40a)](_0x8549f1(0x33c),_0xc26952,!0x0),document[_0x8549f1(0x40a)](_0x8549f1(0x53d),_0x40a4f0,!0x0),document['removeEventListener'](_0x8549f1(0x39f),_0x1dcf51,!0x0),document[_0x8549f1(0x40a)](_0x8549f1(0x1d7),_0x5b9310,!0x0);}));}};function Q(_0x5008de,_0x33414a){return function(_0x15de7e,_0x4f6ecb){_0x33414a(_0x15de7e,_0x4f6ecb,_0x5008de);};}function Ha(_0x3a4502,_0xeac6ec,_0x138d0b,_0x4e73c6){const _0x19c37b=_0x3cd2e0;var _0x338afd=arguments['length'],_0x443eb6=_0x338afd<0x3?_0xeac6ec:_0x4e73c6===null?_0x4e73c6=Object['getOwnPropertyDescriptor'](_0xeac6ec,_0x138d0b):_0x4e73c6,_0x1e613b;if(typeof Reflect==_0x19c37b(0x3d7)&&typeof Reflect['decorate']==_0x19c37b(0x2f2))_0x443eb6=Reflect[_0x19c37b(0x393)](_0x3a4502,_0xeac6ec,_0x138d0b,_0x4e73c6);else{for(var _0x289e70=_0x3a4502['length']-0x1;_0x289e70>=0x0;_0x289e70--)(_0x1e613b=_0x3a4502[_0x289e70])&&(_0x443eb6=(_0x338afd<0x3?_0x1e613b(_0x443eb6):_0x338afd>0x3?_0x1e613b(_0xeac6ec,_0x138d0b,_0x443eb6):_0x1e613b(_0xeac6ec,_0x138d0b))||_0x443eb6);}return _0x338afd>0x3&&_0x443eb6&&Object[_0x19c37b(0x686)](_0xeac6ec,_0x138d0b,_0x443eb6),_0x443eb6;}let Ua=class extends Va{constructor(_0x27d6c6){super(),this['_contextService']=_0x27d6c6;}[_0x3cd2e0(0x23b)](_0x5d7bb4,_0x32884f){const _0x2a0ee4=_0x3cd2e0;return!this[_0x2a0ee4(0x2a0)][_0x2a0ee4(0x2b5)](_0x3a133d)||!this[_0x2a0ee4(0x2a0)][_0x2a0ee4(0x2b5)]('FOCUSING_SLIDE_TABLE')?!0x1:_0x32884f!=null&&_0x32884f[_0x2a0ee4(0x16c)]&&za(_0x5d7bb4[_0x2a0ee4(0x669)])?!0x0:!Ra(_0x5d7bb4['target']);}};Ua=Ha([Q(0x0,_0x363d37)],Ua);const Wa=[{'key':_0x3cd2e0(0x6c7),'action':'move-left'},{'key':_0x3cd2e0(0x6cf),'action':_0x3cd2e0(0x177)},{'key':_0x3cd2e0(0x4d0),'action':_0x3cd2e0(0x69e)},{'key':_0x3cd2e0(0x235),'action':_0x3cd2e0(0x2bf)},{'key':'shift-arrow-left','action':'extend-left'},{'key':_0x3cd2e0(0x4ea),'action':_0x3cd2e0(0x6b8)},{'key':_0x3cd2e0(0x1a6),'action':_0x3cd2e0(0x2a2)},{'key':_0x3cd2e0(0x36f),'action':_0x3cd2e0(0x1a3)},{'key':'tab','action':_0x3cd2e0(0x2ab)},{'key':_0x3cd2e0(0x54e),'action':'tab-backward'},{'key':_0x3cd2e0(0x1ae),'action':_0x3cd2e0(0x5bd)},{'key':'f2','action':_0x3cd2e0(0x5bd)},{'key':_0x3cd2e0(0x67c),'action':_0x3cd2e0(0x191)},{'key':_0x3cd2e0(0x5a3),'action':_0x3cd2e0(0x191)}];function Ga(_0x50d245){return Wa['map'](_0x11051e=>({'action':_0x11051e['action'],'binding':_0x50d245[_0x11051e['key']]}));}function Ka(_0x182240){const _0x493d02=_0x3cd2e0;switch(_0x182240){case'move-left':return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1};case _0x493d02(0x177):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1};case'move-up':return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x1};case _0x493d02(0x2bf):return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x1};case _0x493d02(0x233):return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x0};case'extend-right':return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x0};case _0x493d02(0x2a2):return{'rowDelta':-0x1,'columnDelta':0x0,'extend':!0x0};case'extend-down':return{'rowDelta':0x1,'columnDelta':0x0,'extend':!0x0};case _0x493d02(0x2ab):return{'rowDelta':0x0,'columnDelta':0x1,'extend':!0x1,'wrap':!0x0};case'tab-backward':return{'rowDelta':0x0,'columnDelta':-0x1,'extend':!0x1,'wrap':!0x0};default:return null;}}function qa(_0xedf400,_0x1fbd91,_0x138688,_0x190df4){const _0x4c4e7e=_0x3cd2e0;return _0x1fbd91[_0x4c4e7e(0x574)]?Ya(_0xedf400,_0x1fbd91,_0x138688,_0x190df4):{'row':Math['min'](Math[_0x4c4e7e(0x379)](0x0,_0xedf400['row']+_0x1fbd91['rowDelta']),Math[_0x4c4e7e(0x379)](0x0,_0x138688-0x1)),'column':Math[_0x4c4e7e(0x61f)](Math[_0x4c4e7e(0x379)](0x0,_0xedf400[_0x4c4e7e(0x6ad)]+_0x1fbd91[_0x4c4e7e(0x56a)]),Math[_0x4c4e7e(0x379)](0x0,_0x190df4-0x1))};}function Ja(_0x4aab2c,_0x548b59,_0x11bf8f){const _0x3995d9=_0x3cd2e0;let _0x5a6a14=Math[_0x3995d9(0x379)](0x1,_0x548b59),_0x40381d=Math[_0x3995d9(0x379)](0x1,_0x11bf8f),_0x44c11c=_0x4aab2c['row']*_0x40381d+_0x4aab2c[_0x3995d9(0x6ad)],_0x5d0078=_0x5a6a14*_0x40381d-0x1,_0x213d69=Math['min'](_0x5d0078,Math[_0x3995d9(0x379)](0x0,_0x44c11c));return{'row':Math[_0x3995d9(0x4d7)](_0x213d69/_0x40381d),'column':_0x213d69%_0x40381d};}function Ya(_0x2884ec,_0x5296b9,_0x388404,_0x13dbba){const _0x5d4b8f=_0x3cd2e0;let _0x23821b=Math[_0x5d4b8f(0x379)](0x1,_0x388404),_0x271f70=Math['max'](0x1,_0x13dbba);if(_0x5296b9[_0x5d4b8f(0x56a)]!==0x0&&_0x5296b9[_0x5d4b8f(0x210)]===0x0){let _0x1903c1=_0x23821b*_0x271f70,_0xb6d18a=Ja(_0x2884ec,_0x23821b,_0x271f70),_0xa9bfc4=Xa(_0xb6d18a['row']*_0x271f70+_0xb6d18a[_0x5d4b8f(0x6ad)]+_0x5296b9[_0x5d4b8f(0x56a)],_0x1903c1);return{'row':Math['floor'](_0xa9bfc4/_0x271f70),'column':_0xa9bfc4%_0x271f70};}return{'row':Xa(_0x2884ec[_0x5d4b8f(0x3a3)]+_0x5296b9[_0x5d4b8f(0x210)],_0x23821b),'column':Xa(_0x2884ec[_0x5d4b8f(0x6ad)]+_0x5296b9[_0x5d4b8f(0x56a)],_0x271f70)};}function Xa(_0x320a3f,_0x1c392e){return(_0x320a3f%_0x1c392e+_0x1c392e)%_0x1c392e;}const Za={'id':_0x3cd2e0(0x5ad),'type':_0x1d5d41['OPERATION'],'handler':(_0xed8e37,_0x35cd15)=>_0x35cd15!=null&&_0x35cd15['action']?_0xed8e37['get'](Ua)[_0x3cd2e0(0x612)](_0x35cd15[_0x3cd2e0(0x5da)]):!0x1},Qa=[Za],$a=Ga({'arrow-left':_0x3760e6[_0x3cd2e0(0x670)],'arrow-right':_0x3760e6[_0x3cd2e0(0x2fc)],'arrow-up':_0x3760e6[_0x3cd2e0(0x1f9)],'arrow-down':_0x3760e6['ARROW_DOWN'],'shift-arrow-left':_0x3760e6['ARROW_LEFT']|_0x11d370['SHIFT'],'shift-arrow-right':_0x3760e6[_0x3cd2e0(0x2fc)]|_0x11d370[_0x3cd2e0(0x6eb)],'shift-arrow-up':_0x3760e6[_0x3cd2e0(0x1f9)]|_0x11d370[_0x3cd2e0(0x6eb)],'shift-arrow-down':_0x3760e6[_0x3cd2e0(0x368)]|_0x11d370[_0x3cd2e0(0x6eb)],'tab':_0x3760e6[_0x3cd2e0(0x1fa)],'shift-tab':_0x3760e6[_0x3cd2e0(0x1fa)]|_0x11d370[_0x3cd2e0(0x6eb)],'enter':_0x3760e6[_0x3cd2e0(0x1d6)],'f2':_0x3760e6['F2'],'delete':_0x3760e6['DELETE'],'backspace':_0x3760e6[_0x3cd2e0(0x419)]})[_0x3cd2e0(0x37f)](({binding:_0x401068,action:_0x8d6ec9})=>to(_0x401068,_0x8d6ec9)),eo=[_0x3760e6[_0x3cd2e0(0x2b0)],_0x3760e6[_0x3cd2e0(0x419)]][_0x3cd2e0(0x37f)](_0x5e1b42=>({'id':ra['id'],'binding':_0x5e1b42,'priority':0x82,'preconditions':ro}));function to(_0x98cf63,_0x4688e8){return{'id':Za['id'],'binding':_0x98cf63,'priority':0x82,'preconditions':no,'staticParameters':{'action':_0x4688e8}};}function no(_0x49c4fd){return!!(_0x49c4fd['getContextValue'](_0x3a133d)&&_0x49c4fd['getContextValue']('FOCUSING_SLIDE_TABLE'));}function ro(_0x387821){const _0x463871=_0x3cd2e0;return!!(_0x387821['getContextValue'](_0x3a133d)&&_0x387821[_0x463871(0x2b5)](_0x40bef6)&&_0x387821[_0x463871(0x2b5)](_0x463871(0x4cf))&&!_0x387821[_0x463871(0x2b5)](_0x495c68));}const io=_0x3cd2e0(0x220);function ao(_0xc141ff,_0x31c617,_0x1c8510){const _0x1c828e=_0x3cd2e0;return Number[_0x1c828e(0x2cd)](_0xc141ff)?Math[_0x1c828e(0x61f)](Math['max'](Math[_0x1c828e(0x4d7)](_0xc141ff),_0x31c617),_0x1c8510):_0x31c617;}function oo(_0x82b378){const _0x1b97f8=_0x3cd2e0;let {initialRows:_0x22e3b1=0x3,initialColumns:_0x40c97d=0x5,maxGridRows:_0x2f08ce=0xa,maxGridColumns:_0x4f7fa1=0xe,minRows:_0x36feab=0x1,minColumns:_0x53bbad=0x1,maxRows:_0x1b3c04=0x32,maxColumns:_0x1f0af7=0x32,variant:_0xad21ee=_0x1b97f8(0x1d8),direction:_0x3fdc77=_0x1b97f8(0x530),title:_0x3599cd,confirmAction:_0xee00e0='insert',onConfirm:_0x51dc28}=_0x82b378,_0x2a55cc=_0x55e2b7(_0x54db7d),[_0x35c405,_0x14cac4]=_0x18aa5b(()=>ao(_0x22e3b1,_0x36feab,_0x1b3c04)),[_0x182ab4,_0x5d95af]=_0x18aa5b(()=>ao(_0x40c97d,_0x53bbad,_0x1f0af7)),[_0x17669c,_0x59472f]=_0x18aa5b(null);return{'localeService':_0x2a55cc,'direction':_0x3fdc77,'title':_0x3599cd,'confirmAction':_0xee00e0,'rows':_0x35c405,'columns':_0x182ab4,'minRows':_0x36feab,'minColumns':_0x53bbad,'maxRows':_0x1b3c04,'maxColumns':_0x1f0af7,'maxGridRows':_0x2f08ce,'maxGridColumns':_0x4f7fa1,'setRows':_0x14cac4,'setColumns':_0x5d95af,'hoverSize':_0x17669c,'setHoverSize':_0x59472f,'selectedRows':(_0x17669c==null?void 0x0:_0x17669c[_0x1b97f8(0x400)])??_0x35c405,'selectedColumns':(_0x17669c==null?void 0x0:_0x17669c[_0x1b97f8(0x581)])??_0x182ab4,'isDropdown':_0xad21ee===_0x1b97f8(0x496),'updateRows':_0x33cd0f=>_0x14cac4(ao(_0x33cd0f,_0x36feab,_0x1b3c04)),'updateColumns':_0x430a70=>_0x5d95af(ao(_0x430a70,_0x53bbad,_0x1f0af7)),'handleConfirm':()=>_0x51dc28({'rows':_0x35c405,'columns':_0x182ab4}),'onConfirm':_0x51dc28};}function so(_0x15b02e){const _0x394130=_0x3cd2e0;let {localeService:_0x48a5a4,direction:_0x50ffca,title:_0x24654c,confirmAction:_0x20d542,rows:_0x5f3e7b,columns:_0x2679e8,minRows:_0x32a178,minColumns:_0x4aa9c9,maxRows:_0x41bfbb,maxColumns:_0x587a91,maxGridRows:_0x4c7684,maxGridColumns:_0x2478d9,setHoverSize:_0x275bfb,selectedRows:_0x3fb619,selectedColumns:_0x43b9a5,isDropdown:_0x22e0c8,updateRows:_0x252ee2,updateColumns:_0x8dfb25,handleConfirm:_0x44f2e7,onConfirm:_0x2513e0}=oo(_0x15b02e),_0x516d86=_0x16f61f=>_0x2c0852(_0x394130(0x6d2),{'className':_0x16f61f?'univer-grid\x20univer-gap-0.5':_0x394130(0x2c6),'style':{'gridTemplateColumns':_0x394130(0x3e5)+_0x2478d9+_0x394130(0x23a)},'children':Array[_0x394130(0x268)]({'length':_0x4c7684})[_0x394130(0x37f)]((_0x176fa6,_0x6b0b72)=>Array[_0x394130(0x268)]({'length':_0x2478d9})['map']((_0x27a719,_0x11b4cb)=>{const _0x3bb2dc=_0x394130;let _0x19c770=_0x6b0b72+0x1,_0x366f3d=_0x11b4cb+0x1,_0x1f1a26=_0x19c770<=_0x3fb619&&_0x366f3d<=_0x43b9a5;return _0x2c0852(_0x3bb2dc(0x251),{'type':_0x3bb2dc(0x251),'aria-label':_0x366f3d+_0x3bb2dc(0x4bd)+_0x19c770,'data-selected':_0x1f1a26,'className':_0x2cb544('univer-cursor-pointer\x20univer-border\x20univer-border-solid\x20univer-p-0\x20univer-transition-colors',_0x16f61f?_0x3bb2dc(0x553):_0x3bb2dc(0x5a1),_0x1f1a26?_0x16f61f?_0x3bb2dc(0x66c):_0x3bb2dc(0x218):_0x3bb2dc(0x2f4),!_0x16f61f&&'dark:!univer-border-gray-700\x20dark:!univer-bg-gray-800'),'onMouseEnter':()=>_0x275bfb({'rows':_0x19c770,'columns':_0x366f3d}),'onFocus':()=>_0x275bfb({'rows':_0x19c770,'columns':_0x366f3d}),'onClick':()=>_0x2513e0({'rows':_0x19c770,'columns':_0x366f3d})},_0x19c770+':'+_0x366f3d);}))});return _0x22e0c8?_0x12e0bf(_0x394130(0x492),{'className':_0x394130(0x43f),'data-u-comp':_0x394130(0x2a5),'dir':_0x50ffca,'onClick':_0x5eb1ad=>_0x5eb1ad[_0x394130(0x18f)](),'onMouseDown':_0x2a66d7=>_0x2a66d7['stopPropagation'](),'onMouseLeave':()=>_0x275bfb(null),'children':[_0x516d86(!0x0),_0x12e0bf(_0x394130(0x6d2),{'dir':_0x394130(0x530),'className':'univer-mt-2\x20univer-text-center\x20univer-text-sm\x20univer-font-medium','children':[_0x43b9a5,_0x394130(0x65c),_0x3fb619]}),_0x12e0bf(_0x394130(0x6d2),{'className':'univer-mt-2\x20univer-border-0\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3','children':[_0x2c0852('div',{'className':_0x394130(0x5d2),'children':_0x48a5a4['t'](_0x394130(0x395))}),_0x12e0bf(_0x394130(0x6d2),{'className':_0x394130(0x650),'children':[_0x12e0bf(_0x394130(0x4b5),{'className':_0x394130(0x16a),'children':[_0x2c0852(_0x394130(0x1f3),{'children':_0x48a5a4['t'](_0x394130(0x43d))}),_0x2c0852(_0x48a657,{'className':_0x394130(0x333),'min':_0x32a178,'max':_0x41bfbb,'precision':0x0,'value':_0x5f3e7b,'onChange':_0x2080f8=>_0x252ee2(_0x2080f8??_0x32a178)})]}),_0x12e0bf(_0x394130(0x4b5),{'className':_0x394130(0x16a),'children':[_0x2c0852(_0x394130(0x1f3),{'children':_0x48a5a4['t'](_0x394130(0x15b))}),_0x2c0852(_0x48a657,{'className':'univer-w-full','min':_0x4aa9c9,'max':_0x587a91,'precision':0x0,'value':_0x2679e8,'onChange':_0x4eb6bb=>_0x8dfb25(_0x4eb6bb??_0x4aa9c9)})]}),_0x2c0852(_0x2e12a2,{'className':_0x394130(0x2cf),'variant':_0x394130(0x35a),'onClick':_0x44f2e7,'children':_0x48a5a4['t'](_0x394130(0x5f9)+_0x20d542)})]})]})]}):_0x12e0bf(_0x394130(0x6d2),{'className':_0x394130(0x257),'data-u-comp':_0x394130(0x2a5),'dir':_0x50ffca,'onMouseLeave':()=>_0x275bfb(null),'children':[_0x24654c&&_0x2c0852(_0x394130(0x6d2),{'className':_0x394130(0x2ea),'children':_0x24654c}),_0x12e0bf('div',{'className':_0x394130(0x67d),'children':[_0x516d86(!0x1),_0x12e0bf(_0x394130(0x6d2),{'dir':_0x394130(0x530),'className':'univer-mt-4\x20univer-text-xl\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','children':[_0x43b9a5,_0x394130(0x65c),_0x3fb619]})]}),_0x2c0852(_0x10a77a,{}),_0x2c0852(_0x394130(0x6d2),{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-300','children':_0x48a5a4['t'](_0x394130(0x395))}),_0x12e0bf(_0x394130(0x6d2),{'className':_0x394130(0x5b8),'children':[_0x12e0bf(_0x394130(0x4b5),{'className':'univer-block\x20univer-min-w-0','children':[_0x2c0852(_0x394130(0x1f3),{'className':_0x394130(0x3c2),'children':_0x48a5a4['t'](_0x394130(0x43d))}),_0x2c0852(_0x48a657,{'className':'univer-w-full','min':_0x32a178,'max':_0x41bfbb,'precision':0x0,'value':_0x5f3e7b,'onChange':_0x581ae6=>_0x252ee2(_0x581ae6??_0x32a178)})]}),_0x12e0bf('label',{'className':_0x394130(0x6ba),'children':[_0x2c0852(_0x394130(0x1f3),{'className':_0x394130(0x3c2),'children':_0x48a5a4['t'](_0x394130(0x15b))}),_0x2c0852(_0x48a657,{'className':'univer-w-full','min':_0x4aa9c9,'max':_0x587a91,'precision':0x0,'value':_0x2679e8,'onChange':_0x38dd9d=>_0x8dfb25(_0x38dd9d??_0x4aa9c9)})]})]}),_0x2c0852(_0x2e12a2,{'className':_0x394130(0x69f),'variant':_0x394130(0x35a),'onClick':_0x44f2e7,'children':_0x48a5a4['t'](_0x394130(0x5f9)+_0x20d542)})]});}function co(_0x5d6d72,_0x24e90e,_0x1e6fe2,_0x1a0b4a,_0x47dfd6,_0x1bf74b){const _0x21112b=_0x3cd2e0;return{'id':_0x21112b(0x220),'title':{'title':_0x5d6d72},'width':0x1a4,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x0,'children':{'label':{'name':io,'props':{'unitId':_0x24e90e,'tableId':_0x1e6fe2,'initialRows':_0x1a0b4a,'initialColumns':_0x47dfd6,'title':_0x5d6d72,'onClose':_0x1bf74b}}},'onClose':_0x1bf74b};}function lo({PickerComponent:_0x141735=so,..._0x3b833b}){const _0x429c92=_0x3cd2e0;let {initialColumns:_0x5f1cb7,initialRows:_0x74ab44,onClose:_0x2947aa,tableId:_0x56d94b,title:_0x52a6f2,unitId:_0x706e02}=_0x3b833b,_0x181707=_0x55e2b7(_0x54db7d),_0x58c738=_0x191c45(_0x181707[_0x429c92(0x6c5)],_0x181707[_0x429c92(0x43c)]()),_0x2ac3b=_0x55e2b7(_0x24e1b6),_0x539332=_0x55e2b7(_0x3837ee);return _0x2c0852(_0x429c92(0x6d2),{'className':_0x429c92(0x17e),'data-u-comp':_0x429c92(0x4db),'children':_0x2c0852(_0x141735,{'initialRows':_0x74ab44,'initialColumns':_0x5f1cb7,'direction':_0x58c738,'title':_0x52a6f2,'confirmAction':_0x429c92(0x490),'onConfirm':async _0x54538a=>{const _0x47754d=_0x429c92;let _0x14d98a=_0x539332[_0x47754d(0x6c1)](_0x706e02,_0x56d94b);if(!_0x14d98a){_0x2947aa==null||_0x2947aa();return;}let _0x39d0eb=_0x5438e3(_0x14d98a,_0x54538a[_0x47754d(0x400)],_0x54538a[_0x47754d(0x581)]);(_0x39d0eb[_0x47754d(0x400)]['length']===_0x14d98a[_0x47754d(0x400)][_0x47754d(0x567)]&&_0x39d0eb['columns'][_0x47754d(0x567)]===_0x14d98a[_0x47754d(0x581)]['length']||await _0x2ac3b[_0x47754d(0x6af)](_0x5c9d7f['id'],{'unitId':_0x706e02,'tableId':_0x56d94b,'patch':{'rows':_0x39d0eb[_0x47754d(0x400)],'columns':_0x39d0eb[_0x47754d(0x581)]}}))&&(_0x2947aa==null||_0x2947aa());}})});}const uo={'id':_0x3cd2e0(0x605),'type':_0x1d5d41[_0x3cd2e0(0x5ff)],'handler':_0xc2e603=>{const _0x4c0ab2=_0x3cd2e0;let _0x5e93ad=_0xc2e603['get'](_0x50ebf5),_0x5ab0ec=_0xc2e603[_0x4c0ab2(0x57d)](_0x3837ee),_0x2f0644=_0xc2e603[_0x4c0ab2(0x57d)](_0x118e04),_0x97ea2=_0xc2e603['get'](_0x54db7d),_0x37cac5=_0x5e93ad[_0x4c0ab2(0x41a)](),_0x29aa92=_0x37cac5[_0x4c0ab2(0x567)]===0x1?_0x37cac5[0x0]:void 0x0;if(!_0x29aa92)return!0x1;let _0x581ca6=_0x5e93ad[_0x4c0ab2(0x1cc)](_0x29aa92[_0x4c0ab2(0x264)],_0x29aa92[_0x4c0ab2(0x602)])[_0x29aa92[_0x4c0ab2(0x193)]];if(!_0x581ca6||_0x581ca6[_0x4c0ab2(0x1f0)][_0x4c0ab2(0x278)]!==_0x5ddaa8[_0x4c0ab2(0x230)])return!0x1;let _0x340885=_0x5ab0ec[_0x4c0ab2(0x6c1)](_0x29aa92[_0x4c0ab2(0x264)],_0x581ca6[_0x4c0ab2(0x1f0)][_0x4c0ab2(0x37b)]);if(!_0x340885)return!0x1;let _0x12923d=null;return _0x12923d=_0x2f0644['open'](co(_0x97ea2['t']('slides-table-ui.tableSizePicker.title'),_0x29aa92['unitId'],_0x340885['id'],_0x340885['rows']['length'],_0x340885[_0x4c0ab2(0x581)][_0x4c0ab2(0x567)],()=>{const _0x1111cd=_0x4c0ab2;_0x12923d==null||_0x12923d[_0x1111cd(0x362)](),_0x12923d=null;})),!0x0;}};let fo=class extends _0x166661{constructor(_0x4deef0){const _0x212e0c=_0x3cd2e0;super(),q(this,'_enabled$',void 0x0),q(this,'_fallbackVisible$',new _0x14c8a8(!0x1)),q(this,'_fallbackVisibleSources',new Set()),q(this,_0x212e0c(0x665),void 0x0),q(this,_0x212e0c(0x626),void 0x0);let _0x49dd0f=_0x4deef0[_0x212e0c(0x4f1)](ei);this['_enabled$']=new _0x14c8a8((_0x49dd0f==null?void 0x0:_0x49dd0f[_0x212e0c(0x46c)])??!0x1),this[_0x212e0c(0x665)]=this[_0x212e0c(0x5cf)]['asObservable'](),this[_0x212e0c(0x626)]=_0x350a1f([this['_enabled$'],this[_0x212e0c(0x2ed)]])[_0x212e0c(0x432)](_0x396369(([_0x315875,_0x5b0a87])=>_0x315875||_0x5b0a87));}[_0x3cd2e0(0x5df)](){const _0x57f38e=_0x3cd2e0;return this[_0x57f38e(0x5cf)][_0x57f38e(0x5d3)]();}[_0x3cd2e0(0x15f)](_0x5698bb){const _0x4824e6=_0x3cd2e0;this[_0x4824e6(0x5df)]()!==_0x5698bb&&this[_0x4824e6(0x5cf)]['next'](_0x5698bb);}['getVisible'](){const _0x154c3b=_0x3cd2e0;return this[_0x154c3b(0x5df)]()||this[_0x154c3b(0x2ed)][_0x154c3b(0x5d3)]();}[_0x3cd2e0(0x63a)](_0x2822f7,_0xcc1417=_0x3cd2e0(0x42e)){const _0x324dfa=_0x3cd2e0;_0x2822f7?this[_0x324dfa(0x2a8)][_0x324dfa(0x180)](_0xcc1417):this['_fallbackVisibleSources'][_0x324dfa(0x67c)](_0xcc1417);let _0x31d7f4=this[_0x324dfa(0x2a8)][_0x324dfa(0x585)]>0x0;this['_fallbackVisible$']['getValue']()!==_0x31d7f4&&this[_0x324dfa(0x2ed)]['next'](_0x31d7f4);}['toggle'](){const _0x4dcc64=_0x3cd2e0;this[_0x4dcc64(0x15f)](!this[_0x4dcc64(0x5df)]());}[_0x3cd2e0(0x362)](){const _0xa32846=_0x3cd2e0;this[_0xa32846(0x5cf)][_0xa32846(0x4b8)](),this[_0xa32846(0x2a8)][_0xa32846(0x2b4)](),this[_0xa32846(0x2ed)][_0xa32846(0x4b8)](),super[_0xa32846(0x362)]();}};fo=Ha([Q(0x0,_0x31c1a4)],fo);const po={'id':_0x3cd2e0(0x2f7),'type':_0x1d5d41['OPERATION'],'handler':_0x3cc75e=>(_0x3cc75e[_0x3cd2e0(0x57d)](fo)['toggle'](),!0x0)};let mo=class{constructor(_0x25e26f,_0xe14104,_0x585f92){const _0x49f7fe=_0x3cd2e0;this['_instanceService']=_0x25e26f,this[_0x49f7fe(0x263)]=_0xe14104,this['_drawingStateService']=_0x585f92;}[_0x3cd2e0(0x4c2)](_0x4bf244={}){const _0xf581a=_0x3cd2e0;let _0x54fd2c=this['_getActiveSlideContext']();if(!_0x54fd2c)return!0x1;let {rows:_0x19a397,columns:_0x247357,columnWidth:_0x485e16,rowHeight:_0x480cfe}=_0x4a9f69(_0x4bf244),_0x3811fc=_0x53e099(0x6);return this['_commandService']['syncExecuteCommand'](_0x4b333c['id'],{'unitId':_0x54fd2c[_0xf581a(0x264)],'subUnitId':_0x54fd2c['subUnitId'],'createOptions':{'rows':_0x19a397,'columns':_0x247357,'columnWidth':_0x485e16,'rowHeight':_0x480cfe,'options':{'firstRow':!0x0,'bandRow':!0x0}},'element':{'id':_0x3811fc,'transform':this[_0xf581a(0x51d)](_0x54fd2c['pageWidth'],_0x54fd2c['pageHeight'],_0x247357*_0x485e16,_0x19a397*_0x480cfe)}})?(this[_0xf581a(0x1fc)][_0xf581a(0x5d0)]({'unitId':_0x54fd2c['unitId'],'subUnitId':_0x54fd2c[_0xf581a(0x602)]},[_0x3811fc],_0x3811fc),!0x0):!0x1;}[_0x3cd2e0(0x1a7)](_0x5e3824){const _0x5aceeb=_0x3cd2e0;let _0x49543e=this['_getActiveSlideContext']();if(!_0x49543e||_0x5e3824[_0x5aceeb(0x400)][_0x5aceeb(0x567)]===0x0||_0x5e3824[_0x5aceeb(0x581)][_0x5aceeb(0x567)]===0x0)return!0x1;let _0x4d0a0c=_0x53e099(0x6),_0x589dca=_0x53e099(0x6),_0x77cc80=_0x5e3824['columns'][_0x5aceeb(0x170)]((_0x525fb9,_0x7996d6)=>_0x525fb9+_0x7996d6[_0x5aceeb(0x172)],0x0),_0xc68364=_0x5e3824[_0x5aceeb(0x400)][_0x5aceeb(0x170)]((_0x1f0143,_0x5dd6d7)=>_0x1f0143+(_0x5dd6d7[_0x5aceeb(0x276)]??0x18),0x0),_0x26eba9=this[_0x5aceeb(0x3ab)](_0x77cc80,_0xc68364,_0x49543e[_0x5aceeb(0x19c)]*0.8,_0x49543e[_0x5aceeb(0x288)]*0.8),_0x47c6a4=this[_0x5aceeb(0x263)][_0x5aceeb(0x414)](_0x4b333c['id'],{'unitId':_0x49543e[_0x5aceeb(0x264)],'subUnitId':_0x49543e[_0x5aceeb(0x602)],'createOptions':{'id':_0x4d0a0c,'rows':_0x5e3824[_0x5aceeb(0x400)][_0x5aceeb(0x567)],'columns':_0x5e3824[_0x5aceeb(0x581)][_0x5aceeb(0x567)],'styleId':null},'table':{..._0x5e3824,'id':_0x4d0a0c,'rev':0x0},'element':{'id':_0x589dca,'transform':this['_getCenteredTransform'](_0x49543e[_0x5aceeb(0x19c)],_0x49543e[_0x5aceeb(0x288)],_0x26eba9[_0x5aceeb(0x172)],_0x26eba9[_0x5aceeb(0x276)])}});return _0x47c6a4&&this[_0x5aceeb(0x1fc)][_0x5aceeb(0x5d0)]({'unitId':_0x49543e[_0x5aceeb(0x264)],'subUnitId':_0x49543e[_0x5aceeb(0x602)]},[_0x589dca],_0x589dca),_0x47c6a4;}[_0x3cd2e0(0x3d3)](){const _0x30bd95=_0x3cd2e0;let _0x245b08=this['_instanceService']['getCurrentUnitOfType'](_0xd672cc[_0x30bd95(0x35d)]),_0x54b591=_0x245b08==null?void 0x0:_0x245b08[_0x30bd95(0x2b9)][_0x30bd95(0x244)]();if(!_0x245b08||!_0x54b591)return null;let _0x3ed1cd=_0x387c10(_0x245b08['getSnapshot']()[_0x30bd95(0x317)]);return{'unitId':_0x245b08[_0x30bd95(0x49f)](),'subUnitId':_0x54b591[_0x30bd95(0x272)](),'pageWidth':_0x3ed1cd['width'],'pageHeight':_0x3ed1cd[_0x30bd95(0x276)]};}[_0x3cd2e0(0x51d)](_0x3c42a1,_0x5c6fed,_0x4f6915,_0x120a0e){const _0x439eaf=_0x3cd2e0;return{'left':Math[_0x439eaf(0x379)](_0x225094[_0x439eaf(0x536)],Math['round']((_0x3c42a1-_0x4f6915)/0x2)),'top':Math[_0x439eaf(0x379)](_0x225094[_0x439eaf(0x536)],Math[_0x439eaf(0x578)]((_0x5c6fed-_0x120a0e)/0x2)),'width':_0x4f6915,'height':_0x120a0e,'rotation':0x0};}[_0x3cd2e0(0x3ab)](_0x6c7e8c,_0x5818ae,_0x51fedb,_0x21c930){const _0x24577a=_0x3cd2e0;let _0x5b85a8=Number[_0x24577a(0x2cd)](_0x6c7e8c)&&_0x6c7e8c>0x0?_0x6c7e8c:_0x225094[_0x24577a(0x56b)],_0x347cb3=Number[_0x24577a(0x2cd)](_0x5818ae)&&_0x5818ae>0x0?_0x5818ae:_0x225094[_0x24577a(0x2e7)],_0x2bb3a4=Math[_0x24577a(0x61f)](_0x51fedb/_0x5b85a8,_0x21c930/_0x347cb3,0x1);return{'width':Math['max'](_0x225094[_0x24577a(0x1c0)],Math[_0x24577a(0x578)](_0x5b85a8*_0x2bb3a4)),'height':Math[_0x24577a(0x379)](_0x225094[_0x24577a(0x1c0)],Math['round'](_0x347cb3*_0x2bb3a4))};}};mo=Ha([Q(0x0,_0x2a475c),Q(0x1,_0x24e1b6),Q(0x2,_0x50674c)],mo);const ho='slide.insert-ribbon.table';function go({PickerComponent:_0x458512=so}={}){const _0x3a4c66=_0x3cd2e0;let _0x4c7da2=_0x55e2b7(_0x54db7d),_0xd628b2=_0x55e2b7(mo),_0x394b1a=_0x191c45(_0x4c7da2[_0x3a4c66(0x6c5)],_0x4c7da2[_0x3a4c66(0x43c)]());return _0x2c0852(_0x458512,{'initialRows':0x3,'initialColumns':0x5,'direction':_0x394b1a,'variant':_0x3a4c66(0x496),'title':_0x4c7da2['t']('slides-table-ui.insertToolbar.table'),'onConfirm':_0x4841cf=>_0xd628b2[_0x3a4c66(0x4c2)](_0x4841cf)});}function _o(_0x185f17){const _0x3dd84c=_0x3cd2e0;let {localeService:_0x5a98d1,direction:_0x17ab72,title:_0x588491,confirmAction:_0x567b4e,rows:_0x2e3032,columns:_0x1e9c7a,minRows:_0x46b376,minColumns:_0x2b7ded,maxRows:_0x29d468,maxColumns:_0x3189ad,isDropdown:_0x44a7dd,updateRows:_0x57022c,updateColumns:_0x3be75f,handleConfirm:_0x5dd156}=oo(_0x185f17);return _0x12e0bf('section',{'className':_0x3dd84c(0x528),'dir':_0x17ab72,'children':[_0x588491&&!_0x44a7dd&&_0x2c0852('h3',{'className':'univer-m-0\x20univer-text-base\x20univer-font-medium','children':_0x588491}),_0x2c0852('div',{'className':'univer-sticky\x20univer-top-0\x20univer-z-10\x20univer-bg-gray-0\x20univer-py-1\x20dark:!univer-bg-gray-800','children':_0x2c0852(_0x2e12a2,{'className':'univer-h-12\x20univer-w-full','variant':'primary','onClick':_0x5dd156,'children':_0x5a98d1['t'](_0x3dd84c(0x5f9)+_0x567b4e)})}),_0x12e0bf(_0x3dd84c(0x6d2),{'className':_0x3dd84c(0x5b8),'children':[_0x12e0bf(_0x3dd84c(0x4b5),{'className':_0x3dd84c(0x23f),'children':[_0x5a98d1['t'](_0x3dd84c(0x43d)),_0x2c0852(_0x48a657,{'className':_0x3dd84c(0x56c),'controls':!0x1,'min':_0x46b376,'max':_0x29d468,'precision':0x0,'value':_0x2e3032,'onChange':_0x409511=>_0x57022c(_0x409511??_0x46b376)})]}),_0x12e0bf(_0x3dd84c(0x4b5),{'className':_0x3dd84c(0x23f),'children':[_0x5a98d1['t'](_0x3dd84c(0x15b)),_0x2c0852(_0x48a657,{'className':_0x3dd84c(0x56c),'controls':!0x1,'min':_0x2b7ded,'max':_0x3189ad,'precision':0x0,'value':_0x1e9c7a,'onChange':_0x29181f=>_0x3be75f(_0x29181f??_0x2b7ded)})]})]})]});}function vo(_0x1c3612){return _0x2c0852(lo,{..._0x1c3612,'PickerComponent':_o});}function yo(){return _0x2c0852(go,{'PickerComponent':_o});}const bo=_0x3cd2e0(0x4f9),xo=_0x3cd2e0(0x64a),So=[_0x3cd2e0(0x3c6),'backgroundFill','borderColor','borderDash',_0x3cd2e0(0x1c4),_0x3cd2e0(0x56e),_0x3cd2e0(0x46b),'fontSize',_0x3cd2e0(0x25f),'italic',_0x3cd2e0(0x461),_0x3cd2e0(0x273),_0x3cd2e0(0x458),_0x3cd2e0(0x15d),_0x3cd2e0(0x267),_0x3cd2e0(0x68c)];function Co(){const _0x1dac3b=_0x3cd2e0;return{'backgroundColor':bo,'backgroundFill':{'type':_0x3f8470[_0x1dac3b(0x199)],'color':bo,'alpha':0x1},'borderColor':'#1F1F1F','borderDash':_0x138dfb[_0x1dac3b(0x199)],'borderWidth':0x1,'bold':!0x1,'fontFamily':_0xdbbd15['ff'],'fontSize':_0xdbbd15['fs'],'horizontalAlign':_0x213d9e[_0x1dac3b(0x5c8)],'italic':!0x1,'strike':!0x1,'textBackgroundColor':_0xdbbd15['bg']['rgb'],'textColor':xo,'textFill':{'type':'solid','color':xo,'opacity':0x1},'underline':!0x1,'verticalAlign':_0x456b59['MIDDLE'],'mixed':{}};}function wo(_0x3cbb73,_0x3e51d8){const _0x23d8e7=_0x3cd2e0;let _0xb8ad1b=Co();if(!_0x3cbb73||!_0x3e51d8)return _0xb8ad1b;let _0x5eb58b=Math[_0x23d8e7(0x61f)](_0x3e51d8[_0x23d8e7(0x290)],_0x3e51d8[_0x23d8e7(0x616)]),_0x52acf8=Math['max'](_0x3e51d8[_0x23d8e7(0x290)],_0x3e51d8[_0x23d8e7(0x616)]),_0x5b78fa=Math['min'](_0x3e51d8[_0x23d8e7(0x4dd)],_0x3e51d8[_0x23d8e7(0x655)]),_0x59e1d8=Math[_0x23d8e7(0x379)](_0x3e51d8[_0x23d8e7(0x4dd)],_0x3e51d8[_0x23d8e7(0x655)]),_0x4ffef7=To(_0x3cbb73,_0x5eb58b,_0x5b78fa,_0xb8ad1b);for(let _0xdd4c76=_0x5eb58b;_0xdd4c76<=_0x52acf8;_0xdd4c76++)for(let _0x390d15=_0x5b78fa;_0x390d15<=_0x59e1d8;_0x390d15++){let _0x5a86cf=To(_0x3cbb73,_0xdd4c76,_0x390d15,_0xb8ad1b);for(let _0x18c5ec of So)ko(_0x4ffef7[_0x18c5ec],_0x5a86cf[_0x18c5ec])||(_0x4ffef7['mixed'][_0x18c5ec]=!0x0);}return _0x4ffef7;}function To(_0x23a1ce,_0x1363e5,_0x3b7fec,_0x2ab1da){const _0x217494=_0x3cd2e0;var _0xc2b20b;let _0x26f3ee=(_0xc2b20b=_0x23a1ce[_0x217494(0x400)][_0x1363e5])==null?void 0x0:_0xc2b20b[_0x217494(0x329)][_0x3b7fec];return{...Eo(_0x26f3ee,_0x2ab1da),...Oo(_0x26f3ee==null?void 0x0:_0x26f3ee[_0x217494(0x4eb)],_0x2ab1da),'mixed':{}};}function Eo(_0x2b121c,_0x480ba0){const _0x4163c4=_0x3cd2e0;let _0x3f18d4=_0x2b121c==null?void 0x0:_0x2b121c['style'],_0x1ccd6e=Do(_0x3f18d4==null?void 0x0:_0x3f18d4[_0x4163c4(0x2d5)]);return{'backgroundColor':No(_0x3f18d4==null?void 0x0:_0x3f18d4[_0x4163c4(0x2e8)],_0x480ba0[_0x4163c4(0x3c6)]),'backgroundFill':(_0x3f18d4==null?void 0x0:_0x3f18d4[_0x4163c4(0x2e8)])??_0x480ba0[_0x4163c4(0x2ad)],'borderColor':(_0x1ccd6e==null?void 0x0:_0x1ccd6e['color'])??_0x480ba0[_0x4163c4(0x4b9)],'borderDash':(_0x1ccd6e==null?void 0x0:_0x1ccd6e[_0x4163c4(0x586)])??_0x480ba0[_0x4163c4(0x474)],'borderWidth':(_0x1ccd6e==null?void 0x0:_0x1ccd6e[_0x4163c4(0x172)])??_0x480ba0[_0x4163c4(0x1c4)],'verticalAlign':Fo(_0x3f18d4==null?void 0x0:_0x3f18d4[_0x4163c4(0x68c)])??_0x480ba0[_0x4163c4(0x68c)]};}function Do(_0x4e3df9){const _0x5b39c3=_0x3cd2e0;return(_0x4e3df9==null?void 0x0:_0x4e3df9[_0x5b39c3(0x649)])??(_0x4e3df9==null?void 0x0:_0x4e3df9[_0x5b39c3(0x3b6)])??(_0x4e3df9==null?void 0x0:_0x4e3df9['right'])??(_0x4e3df9==null?void 0x0:_0x4e3df9[_0x5b39c3(0x5fd)]);}function Oo(_0xce5c38,_0x150329){const _0x365e99=_0x3cd2e0;let _0x5f5615=Ao(_0xce5c38);return{'bold':_0x5f5615[_0x365e99(0x56e)]??_0x150329[_0x365e99(0x56e)],'fontFamily':_0x5f5615[_0x365e99(0x46b)]??_0x150329[_0x365e99(0x46b)],'fontSize':_0x5f5615['fontSize']??_0x150329['fontSize'],'horizontalAlign':jo(_0xce5c38)??_0x150329['horizontalAlign'],'italic':_0x5f5615[_0x365e99(0x58f)]??_0x150329['italic'],'strike':_0x5f5615[_0x365e99(0x461)]??_0x150329[_0x365e99(0x461)],'textBackgroundColor':_0x5f5615[_0x365e99(0x273)]??_0x150329[_0x365e99(0x273)],'textColor':_0x5f5615[_0x365e99(0x458)]??Po(_0x5f5615['textFill'],_0x150329[_0x365e99(0x458)]),'textFill':_0x5f5615['textFill']??_0x150329[_0x365e99(0x15d)],'underline':_0x5f5615[_0x365e99(0x267)]??_0x150329['underline']};}function ko(_0x29d15a,_0x440bf4){const _0x578082=_0x3cd2e0;return typeof _0x29d15a==_0x578082(0x3d7)||typeof _0x440bf4=='object'?JSON[_0x578082(0x5f8)](_0x29d15a)===JSON[_0x578082(0x5f8)](_0x440bf4):_0x29d15a===_0x440bf4;}function Ao(_0x40ec00){const _0x35190e=_0x3cd2e0;var _0x38df5b,_0xdb7a37,_0x5dc093,_0x43d23d,_0x47b533,_0x194903;let _0x10414b=_0x40ec00==null||(_0x38df5b=_0x40ec00[_0x35190e(0x424)])==null?void 0x0:_0x38df5b['textStyle'],_0x2814ea=_0x40ec00==null||(_0xdb7a37=_0x40ec00['body'])==null||(_0xdb7a37=_0xdb7a37[_0x35190e(0x4ef)])==null||(_0xdb7a37=_0xdb7a37[_0x35190e(0x587)](_0x5f4abf=>_0x5f4abf['ts']))==null?void 0x0:_0xdb7a37['ts'],_0x20e1a2={..._0x10414b,..._0x2814ea};return{'bold':_0x20e1a2['bl']===_0x3953dc[_0x35190e(0x425)],'fontFamily':typeof _0x20e1a2['ff']==_0x35190e(0x5a0)?_0x20e1a2['ff']:void 0x0,'fontSize':typeof _0x20e1a2['fs']==_0x35190e(0x59d)?_0x20e1a2['fs']:void 0x0,'italic':_0x20e1a2['it']===_0x3953dc['TRUE'],'strike':((_0x5dc093=_0x20e1a2['st'])==null?void 0x0:_0x5dc093['s'])===_0x3953dc[_0x35190e(0x425)],'textBackgroundColor':typeof((_0x43d23d=_0x20e1a2['bg'])==null?void 0x0:_0x43d23d[_0x35190e(0x5a2)])==_0x35190e(0x5a0)?_0x20e1a2['bg'][_0x35190e(0x5a2)]:void 0x0,'textColor':((_0x47b533=_0x20e1a2['cl'])==null?void 0x0:_0x47b533[_0x35190e(0x5a2)])??Po(_0x20e1a2[_0x35190e(0x15d)],void 0x0),'textFill':_0x20e1a2[_0x35190e(0x15d)],'underline':((_0x194903=_0x20e1a2['ul'])==null?void 0x0:_0x194903['s'])===_0x3953dc[_0x35190e(0x425)]};}function jo(_0x42bf15){const _0x47e9c0=_0x3cd2e0;var _0x36ff7a,_0x5b6ad7;let _0x5c55a7=_0x42bf15==null||(_0x36ff7a=_0x42bf15[_0x47e9c0(0x424)])==null||(_0x36ff7a=_0x36ff7a[_0x47e9c0(0x4df)])==null?void 0x0:_0x36ff7a['horizontalAlign'];return _0x5c55a7===void 0x0?_0x42bf15==null||(_0x5b6ad7=_0x42bf15[_0x47e9c0(0x15e)])==null||(_0x5b6ad7=_0x5b6ad7[_0x47e9c0(0x2d4)])==null||(_0x5b6ad7=_0x5b6ad7['find'](_0x3eca80=>{const _0x59ce54=_0x47e9c0;var _0x40e590;return((_0x40e590=_0x3eca80[_0x59ce54(0x3ea)])==null?void 0x0:_0x40e590[_0x59ce54(0x25f)])!==void 0x0;}))==null||(_0x5b6ad7=_0x5b6ad7[_0x47e9c0(0x3ea)])==null?void 0x0:_0x5b6ad7['horizontalAlign']:_0x5c55a7;}function Mo(_0x3fca59){const _0x58b162=_0x3cd2e0;var _0x3dcf0f,_0xeaade1;return!_0x3fca59||_0x3fca59[_0x58b162(0x278)]===_0x3f8470[_0x58b162(0x291)]?_0x58b162(0x238):_0x3fca59['type']===_0x3f8470[_0x58b162(0x2b3)]||(_0x3dcf0f=_0x3fca59[_0x58b162(0x258)])!=null&&_0x3dcf0f[_0x58b162(0x186)]||_0x3fca59[_0x58b162(0x258)]?'picture':_0x3fca59[_0x58b162(0x278)]===_0x3f8470[_0x58b162(0x3f2)]||(_0xeaade1=_0x3fca59[_0x58b162(0x6db)])!=null&&(_0xeaade1=_0xeaade1[_0x58b162(0x59e)])!=null&&_0xeaade1['length']?_0x58b162(0x6db):_0x58b162(0x27f);}function No(_0x531ca3,_0x42b4a3){const _0x350692=_0x3cd2e0;var _0x1b1959;return(_0x531ca3==null?void 0x0:_0x531ca3[_0x350692(0x278)])===_0x3f8470['None']?_0x42b4a3:(_0x531ca3==null||(_0x1b1959=_0x531ca3['gradient'])==null||(_0x1b1959=_0x1b1959[_0x350692(0x59e)])==null||(_0x1b1959=_0x1b1959[0x0])==null?void 0x0:_0x1b1959['color'])??(_0x531ca3==null?void 0x0:_0x531ca3[_0x350692(0x565)])??_0x42b4a3;}function Po(_0xc2f3d8,_0x439b80){const _0x2ac4b4=_0x3cd2e0;var _0x268fcb;return(_0xc2f3d8==null?void 0x0:_0xc2f3d8[_0x2ac4b4(0x278)])===_0x2ac4b4(0x238)?_0x2ac4b4(0x5dd):(_0xc2f3d8==null||(_0x268fcb=_0xc2f3d8[_0x2ac4b4(0x6db)])==null||(_0x268fcb=_0x268fcb[_0x2ac4b4(0x59e)])==null||(_0x268fcb=_0x268fcb[0x0])==null?void 0x0:_0x268fcb[_0x2ac4b4(0x565)])??(_0xc2f3d8==null?void 0x0:_0xc2f3d8[_0x2ac4b4(0x565)])??_0x439b80??_0x2ac4b4(0x64a);}function Fo(_0xd0a2f6){const _0x561811=_0x3cd2e0;if(_0xd0a2f6===_0x26db87[_0x561811(0x604)])return _0x456b59[_0x561811(0x448)];if(_0xd0a2f6===_0x26db87[_0x561811(0x451)])return _0x456b59[_0x561811(0x607)];if(_0xd0a2f6===_0x26db87[_0x561811(0x243)])return _0x456b59[_0x561811(0x3e4)];}function Io(_0x2acc4b,_0x3fbee9){const _0x15eb9f=_0x3cd2e0;var _0x2a4ac2,_0x32e474,_0x3903d1;return{'type':(_0x2acc4b==null||(_0x2a4ac2=_0x2acc4b[_0x15eb9f(0x6db)])==null?void 0x0:_0x2a4ac2[_0x15eb9f(0x278)])??_0x15eb9f(0x42c),'angle':(_0x2acc4b==null||(_0x32e474=_0x2acc4b[_0x15eb9f(0x6db)])==null?void 0x0:_0x32e474[_0x15eb9f(0x2fe)])??0x0,'stops':_0x2acc4b!=null&&(_0x3903d1=_0x2acc4b[_0x15eb9f(0x6db)])!=null&&(_0x3903d1=_0x3903d1[_0x15eb9f(0x59e)])!=null&&_0x3903d1[_0x15eb9f(0x567)]?_0x2acc4b['gradient'][_0x15eb9f(0x59e)]['map'](_0xe77ce8=>({'color':_0xe77ce8['color'],'offset':_0xe77ce8[_0x15eb9f(0x4c3)],'opacity':_0xe77ce8[_0x15eb9f(0x391)]})):[{'color':(_0x2acc4b==null?void 0x0:_0x2acc4b['color'])??_0x3fbee9,'offset':0x0,'opacity':(_0x2acc4b==null?void 0x0:_0x2acc4b[_0x15eb9f(0x33a)])??0x1},{'color':_0x15eb9f(0x246),'offset':0x64,'opacity':0x1}]};}function Lo(_0x5be509){const _0x295461=_0x3cd2e0;let _0x1f02f5=_0x5be509[_0x295461(0x59e)][0x0];return{'type':_0x3f8470[_0x295461(0x3f2)],'color':(_0x1f02f5==null?void 0x0:_0x1f02f5[_0x295461(0x565)])??'#FFFFFF','alpha':(_0x1f02f5==null?void 0x0:_0x1f02f5['opacity'])??0x1,'picture':void 0x0,'gradient':{'type':_0x5be509[_0x295461(0x278)],'angle':_0x5be509[_0x295461(0x2fe)],'stops':_0x5be509[_0x295461(0x59e)][_0x295461(0x37f)](_0x3ab1a9=>({'color':_0x3ab1a9['color'],'offset':_0x3ab1a9['offset'],'opacity':_0x3ab1a9['opacity']}))}};}function Ro(_0x528ad4,_0x2cd760){const _0x7f277=_0x3cd2e0;var _0x4a2663,_0x3056a9;if((_0x528ad4==null?void 0x0:_0x528ad4[_0x7f277(0x278)])===_0x7f277(0x238))return{'backgroundColor':_0x7f277(0x633),'backgroundImage':'linear-gradient(135deg,\x20transparent\x2045%,\x20#ef4444\x2045%,\x20#ef4444\x2055%,\x20transparent\x2055%)'};let _0x3d7bf1=_0x528ad4==null||(_0x4a2663=_0x528ad4['picture'])==null?void 0x0:_0x4a2663['source'];return _0x3d7bf1&&/^(?:data:|https?:)/[_0x7f277(0x1ed)](_0x3d7bf1)?{'backgroundImage':_0x7f277(0x52c)+_0x3d7bf1+'\x22)','backgroundPosition':_0x7f277(0x497),'backgroundSize':_0x7f277(0x551)}:_0x528ad4!=null&&(_0x3056a9=_0x528ad4[_0x7f277(0x6db)])!=null&&(_0x3056a9=_0x3056a9[_0x7f277(0x59e)])!=null&&_0x3056a9['length']?{'backgroundImage':zo(Io(_0x528ad4,_0x2cd760))}:{'backgroundColor':(_0x528ad4==null?void 0x0:_0x528ad4[_0x7f277(0x565)])??_0x2cd760};}function zo(_0x25bb06){const _0x485897=_0x3cd2e0;let _0x5592aa=_0x25bb06[_0x485897(0x59e)][_0x485897(0x37f)](_0x191158=>Bo(_0x191158['color'],_0x191158[_0x485897(0x391)]??0x1)+'\x20'+_0x191158['offset']+'%')['join'](',\x20');return _0x25bb06['type']==='radial'||_0x25bb06['type']===_0x485897(0x6bc)?_0x485897(0x4aa)+_0x5592aa+')':_0x485897(0x1ad)+((_0x25bb06[_0x485897(0x2fe)]??0x0)+0x5a)%0x168+'deg,\x20'+_0x5592aa+')';}function Bo(_0x343334,_0x316fef){const _0x4d4938=_0x3cd2e0;if(_0x316fef>=0x1)return _0x343334;let _0x1b0aba=new _0x54f28a(_0x343334);return _0x1b0aba[_0x4d4938(0x187)]?_0x1b0aba[_0x4d4938(0x361)](_0x316fef)['toRgbString']():_0x343334;}function Vo(_0x3eacf2,_0x1f1e7b){return _0x3eacf2['some'](_0x1ec768=>_0x1ec768['value']===_0x1f1e7b)?_0x3eacf2:[{'label':_0x1f1e7b,'value':_0x1f1e7b},..._0x3eacf2];}const Ho={'MergeCells':_0x3cd2e0(0x223),'UnmergeCells':'unmerge-cells','SetCellStyle':_0x3cd2e0(0x1b2),'SetBorderPreset':_0x3cd2e0(0x6c8)};function Uo(_0x4d2acf,_0x2d0561){const _0x4a285c=_0x3cd2e0;return[{'id':Ho[_0x4a285c(0x328)],'commandId':_0x2d0561['mergeCells'],'enabled':$o(_0x4d2acf)},{'id':Ho[_0x4a285c(0x4f4)],'commandId':_0x2d0561[_0x4a285c(0x1d0)],'enabled':Qo(_0x4d2acf)},{'id':Ho[_0x4a285c(0x49b)],'commandId':_0x2d0561['setCellStyle'],'enabled':Qo(_0x4d2acf)},{'id':Ho['SetBorderPreset'],'commandId':_0x2d0561['setBorderPreset'],'enabled':Qo(_0x4d2acf)}];}function Wo(_0x548779){const _0x4fedf3=_0x3cd2e0;let _0x2a22b2=es(_0x548779);return!_0x548779||!_0x2a22b2?null:{'unitId':_0x548779[_0x4fedf3(0x264)],'tableId':_0x548779[_0x4fedf3(0x37b)],'range':_0x2a22b2};}function Go(_0x17c172){const _0x574ab8=_0x3cd2e0;let _0x30f346=es(_0x17c172);return!_0x17c172||!_0x30f346?null:{'unitId':_0x17c172[_0x574ab8(0x264)],'tableId':_0x17c172['tableId'],'range':_0x30f346};}function Ko(_0x5af49d,_0x3cd14f,_0x4f2632){const _0x63b9e0=_0x3cd2e0;if(!_0x5af49d||!_0x3cd14f)return null;if(_0x3cd14f[_0x63b9e0(0x5da)]===_0x63b9e0(0x24b)){let _0x557f75=Go({..._0x5af49d,'ranges':[_0x3cd14f['range']],'anchor':{'row':_0x3cd14f['range'][_0x63b9e0(0x290)],'column':_0x3cd14f[_0x63b9e0(0x3f8)]['startColumn']},'focus':{'row':_0x3cd14f['range'][_0x63b9e0(0x290)],'column':_0x3cd14f[_0x63b9e0(0x3f8)][_0x63b9e0(0x4dd)]}});return _0x557f75?{'commandId':_0x4f2632[_0x63b9e0(0x1d0)],'params':_0x557f75}:null;}let _0x2abccc=Wo({..._0x5af49d,'ranges':[_0x3cd14f['range']]});return _0x2abccc?{'commandId':_0x4f2632[_0x63b9e0(0x653)],'params':_0x2abccc}:null;}function qo(_0x5a0433,_0x1b478f,_0x59a3d5){const _0x4ac70f=_0x3cd2e0;let _0x45e62f=es(_0x1b478f);return!_0x1b478f||!_0x45e62f||!_0x5a0433?null:_0x1b478f['kind']===_0x4ac70f(0x3a3)?_0x5a0433[_0x4ac70f(0x400)][_0x4ac70f(0x567)]<=_0x45e62f[_0x4ac70f(0x616)]-_0x45e62f[_0x4ac70f(0x290)]+0x1?null:{'commandId':_0x59a3d5[_0x4ac70f(0x45b)],'params':{'unitId':_0x1b478f[_0x4ac70f(0x264)],'tableId':_0x1b478f[_0x4ac70f(0x37b)],'startRow':_0x45e62f[_0x4ac70f(0x290)],'endRow':_0x45e62f[_0x4ac70f(0x616)]},'kind':_0x4ac70f(0x3a3)}:_0x1b478f[_0x4ac70f(0x1b6)]===_0x4ac70f(0x6ad)?_0x5a0433[_0x4ac70f(0x581)][_0x4ac70f(0x567)]<=_0x45e62f[_0x4ac70f(0x655)]-_0x45e62f[_0x4ac70f(0x4dd)]+0x1?null:{'commandId':_0x59a3d5[_0x4ac70f(0x315)],'params':{'unitId':_0x1b478f['unitId'],'tableId':_0x1b478f[_0x4ac70f(0x37b)],'startColumn':_0x45e62f['startColumn'],'endColumn':_0x45e62f[_0x4ac70f(0x655)]},'kind':_0x4ac70f(0x6ad)}:null;}function Jo(_0x16d694,_0xb9c09a){const _0x35ce7f=_0x3cd2e0;let _0x3a7906=es(_0x16d694);return!_0x16d694||!_0x3a7906?null:{'unitId':_0x16d694['unitId'],'tableId':_0x16d694[_0x35ce7f(0x37b)],'range':_0x3a7906,'style':_0xb9c09a};}function Yo(_0x56cbc2,_0x1607bd,_0x12b94d){const _0x4f9446=_0x3cd2e0;let _0x5d989f=es(_0x56cbc2);return!_0x56cbc2||!_0x5d989f?null:{'unitId':_0x56cbc2[_0x4f9446(0x264)],'tableId':_0x56cbc2[_0x4f9446(0x37b)],'range':_0x5d989f,'preset':_0x1607bd,..._0x12b94d?{'border':_0x12b94d}:{}};}function Xo(_0x31c33a,_0x53a337){const _0x4f9ae5=_0x3cd2e0;let _0x4b1fa6=es(_0x53a337);if(!_0x4b1fa6)return null;let _0x342d81=_0x31c33a?Zo(_0x31c33a,_0x4b1fa6):null;return _0x342d81?{'action':_0x4f9ae5(0x24b),'range':_0x342d81}:_0x257927(_0x4b1fa6)?{'action':_0x4f9ae5(0x3dd),'range':_0x4b1fa6}:null;}function Zo(_0x404f12,_0x5a7b4b){const _0x3b9270=_0x3cd2e0;let _0x165d26=_0x21e29d(_0x5a7b4b);for(let _0x5bc2d2=_0x165d26['startRow'];_0x5bc2d2<=_0x165d26['endRow'];_0x5bc2d2+=0x1)for(let _0x2f58af=_0x165d26[_0x3b9270(0x4dd)];_0x2f58af<=_0x165d26['endColumn'];_0x2f58af+=0x1){let _0xccef63=_0x2a9fc9(_0x404f12,_0x5bc2d2,_0x2f58af);if(_0xccef63&&_0x257927(_0xccef63))return _0xccef63;}return null;}function Qo(_0x2dddba){return!!es(_0x2dddba);}function $o(_0x2d212f){const _0xf2077d=_0x3cd2e0;let _0x2c97eb=es(_0x2d212f);return _0x2c97eb?_0x2c97eb[_0xf2077d(0x290)]!==_0x2c97eb[_0xf2077d(0x616)]||_0x2c97eb[_0xf2077d(0x4dd)]!==_0x2c97eb[_0xf2077d(0x655)]:!0x1;}function es(_0x571089){const _0x581322=_0x3cd2e0;return(_0x571089==null?void 0x0:_0x571089[_0x581322(0x289)][0x0])??null;}function ts(_0x56bc64){return Uo(_0x56bc64,{'mergeCells':_0x37d790['id'],'unmergeCells':_0x908320['id'],'setCellStyle':_0x5c9d7f['id'],'setBorderPreset':_0x5c9d7f['id']});}function ns(_0x4e4f8f,_0x2da0a2){const _0x188302=_0x3cd2e0;return{'actions':ts(_0x2da0a2),'mergeState':Xo(_0x4e4f8f,_0x2da0a2),'values':wo(_0x4e4f8f,_0x2da0a2==null?void 0x0:_0x2da0a2[_0x188302(0x289)][0x0])};}function rs(_0x285d69,_0x1266f4,_0x2611db){return!_0x285d69||!_0x1266f4||!_0x2611db?null:Ko(_0x285d69,{'action':_0x1266f4,'range':_0x2611db},{'mergeCells':_0x37d790['id'],'unmergeCells':_0x908320['id']});}function is(_0x41436e,_0x3c108b){return qo(_0x41436e,_0x3c108b,{'deleteRows':_0x3e91e9['id'],'deleteColumns':_0x27d5ae['id']});}function as(_0x1d6a76){let _0x1c88dd=_0x42f38f(!0x1),_0x42aaca=_0x42f38f(null),_0x467896=_0x55e2b7(J);return _0x14546c(()=>()=>{const _0x4e08fa=_0x5473;_0x42aaca[_0x4e08fa(0x483)]&&clearTimeout(_0x42aaca['current']);},[]),_0x1d6a76['children']({'handleOpenChange':_0x423dea=>{(_0x423dea||!_0x1c88dd['current'])&&_0x1d6a76['onOpenChange'](_0x423dea);},'markInternalInteraction':()=>{const _0x559d08=_0x5473;_0x467896[_0x559d08(0x5f3)](),_0x1c88dd[_0x559d08(0x483)]=!0x0,_0x42aaca[_0x559d08(0x483)]&&clearTimeout(_0x42aaca[_0x559d08(0x483)]),_0x42aaca[_0x559d08(0x483)]=setTimeout(()=>{const _0x23f020=_0x559d08;_0x1c88dd[_0x23f020(0x483)]=!0x1,_0x42aaca[_0x23f020(0x483)]=null;},0x1f4);}});}const os={'none':_0x3cd2e0(0x238),'solid':_0x3cd2e0(0x27f),'gradient':_0x3cd2e0(0x6db),'picture':_0x3cd2e0(0x258)};function ss(_0xe105d){const _0xdacb3d=_0x3cd2e0;var _0x54d566,_0x1cb4ab;let {children:_0x53d8a2,color:_0x2493bf,gradientValue:_0x448b73,previewStyle:_0x445e4f,showPreview:_0x137969=!0x0,tableFill:_0x8f743b,textFill:_0x1249ad,open:_0x1b3502,value:_0x3233b2,onOpenChange:_0x30aa6a,onTableFillChange:_0x3c4ad0,onTextFillChange:_0x4419c9}=_0xe105d,_0x16ed5d=_0x55e2b7(_0x54db7d),_0x3bde48={'noFill':_0x16ed5d['t'](_0xdacb3d(0x22a)),'solidFill':_0x16ed5d['t']('slides-table-ui.shapePanel.fill.solidFill'),'gradientFill':_0x16ed5d['t']('slides-table-ui.shapePanel.fill.gradientFill'),'pictureFill':_0x16ed5d['t'](_0xdacb3d(0x6a0)),'color':_0x16ed5d['t'](_0xdacb3d(0x48e)),'transparency':_0x16ed5d['t'](_0xdacb3d(0x69d)),'pictureSource':_0x16ed5d['t'](_0xdacb3d(0x454)),'pictureInsert':_0x16ed5d['t']('slides-table-ui.shapePanel.fill.picture.insert')},_0x94c192=(_0x8f743b==null||(_0x54d566=_0x8f743b[_0xdacb3d(0x258)])==null?void 0x0:_0x54d566['opacity'])??(_0x8f743b==null?void 0x0:_0x8f743b['alpha'])??(_0x1249ad==null||(_0x1cb4ab=_0x1249ad['picture'])==null?void 0x0:_0x1cb4ab[_0xdacb3d(0x391)])??(_0x1249ad==null?void 0x0:_0x1249ad['opacity'])??0x1,_0x13850d=_0x112c69=>_0x3c4ad0==null?void 0x0:_0x3c4ad0(_0x112c69),_0x29b04c=_0x1db854=>_0x4419c9==null?void 0x0:_0x4419c9(_0x1db854);return _0x2c0852(as,{'onOpenChange':_0x30aa6a,'children':({handleOpenChange:_0x17a24c,markInternalInteraction:_0x31d87d})=>_0x2c0852(_0x1ada0f,{'overlay':_0x2c0852(_0xdacb3d(0x6d2),{'className':_0x2cb544(_0xdacb3d(0x19e),_0xdacb3d(0x678),_0x1b82c1),'data-u-comp':'slide-table-floating-toolbar-popup','onMouseDown':_0x40e190=>{_0x31d87d(),_0x586207(_0x40e190);},'onPointerDown':_0xdf286=>{_0x31d87d(),_0x586207(_0xdf286);},'children':_0x2c0852(_0x2aedb9,{'compact':!0x0,'direction':_0x16ed5d[_0xdacb3d(0x43c)](),'keepColorPickerOpenOnChange':!0x0,'value':_0x3233b2,'typeValues':os,'color':_0x2493bf,'transparency':Math[_0xdacb3d(0x578)]((0x1-_0x94c192)*0x64),'gradientValue':_0x448b73,'labels':_0x3bde48,'tabLabels':_0x3bde48,'onChange':_0x3dc625=>{const _0x3850a4=_0xdacb3d;if(_0x3dc625==='none')_0x13850d({..._0x8f743b,'type':_0x3f8470['None'],'gradient':void 0x0,'picture':void 0x0}),_0x29b04c({..._0x1249ad,'type':_0x3850a4(0x238)});else{if(_0x3dc625===_0x3850a4(0x27f))_0x13850d({..._0x8f743b,'type':_0x3f8470['Solid'],'color':_0x2493bf,'alpha':_0x94c192,'gradient':void 0x0,'picture':void 0x0}),_0x29b04c({..._0x1249ad,'type':'solid','color':_0x2493bf,'opacity':_0x94c192});else{if(_0x3dc625===_0x3850a4(0x6db))_0x13850d(Lo(_0x448b73)),_0x29b04c(ds(_0x448b73));else{if(_0x3dc625===_0x3850a4(0x258)){var _0x5aa471,_0x1de8dd;_0x13850d({..._0x8f743b,'type':_0x3f8470['Picture'],'color':_0x2493bf,'alpha':_0x94c192,'gradient':void 0x0,'picture':{..._0x8f743b==null?void 0x0:_0x8f743b[_0x3850a4(0x258)],'opacity':_0x94c192,'mode':(_0x8f743b==null||(_0x5aa471=_0x8f743b[_0x3850a4(0x258)])==null?void 0x0:_0x5aa471['mode'])??_0x220309[_0x3850a4(0x247)]}}),_0x29b04c({..._0x1249ad,'type':_0x3850a4(0x258),'color':_0x2493bf,'opacity':_0x94c192,'picture':{..._0x1249ad==null?void 0x0:_0x1249ad[_0x3850a4(0x258)],'opacity':_0x94c192,'mode':(_0x1249ad==null||(_0x1de8dd=_0x1249ad[_0x3850a4(0x258)])==null?void 0x0:_0x1de8dd[_0x3850a4(0x5c1)])??_0x220309['Stretch']}});}}}}},'onColorChange':_0x453250=>{const _0x2bef59=_0xdacb3d;_0x13850d({..._0x8f743b,'type':_0x3f8470[_0x2bef59(0x199)],'color':_0x453250,'alpha':_0x94c192,'gradient':void 0x0,'picture':void 0x0}),_0x29b04c({..._0x1249ad,'type':'solid','color':_0x453250,'opacity':_0x94c192});},'onTransparencyChange':_0x4f4be2=>{const _0x3d1987=_0xdacb3d;let _0x291432=(0x64-Math['max'](0x0,Math[_0x3d1987(0x61f)](0x64,_0x4f4be2)))/0x64;if(_0x3233b2==='picture'){var _0x13d23d,_0x4cafe;_0x13850d({..._0x8f743b,'type':_0x3f8470[_0x3d1987(0x2b3)],'picture':{..._0x8f743b==null?void 0x0:_0x8f743b['picture'],'opacity':_0x291432,'mode':(_0x8f743b==null||(_0x13d23d=_0x8f743b[_0x3d1987(0x258)])==null?void 0x0:_0x13d23d[_0x3d1987(0x5c1)])??_0x220309[_0x3d1987(0x247)]}}),_0x29b04c({..._0x1249ad,'type':'picture','picture':{..._0x1249ad==null?void 0x0:_0x1249ad[_0x3d1987(0x258)],'opacity':_0x291432,'mode':(_0x1249ad==null||(_0x4cafe=_0x1249ad['picture'])==null?void 0x0:_0x4cafe[_0x3d1987(0x5c1)])??_0x3d1987(0x212)}});return;}_0x13850d({..._0x8f743b,'type':_0x3f8470[_0x3d1987(0x199)],'color':_0x2493bf,'alpha':_0x291432,'gradient':void 0x0,'picture':void 0x0}),_0x29b04c({..._0x1249ad,'type':_0x3d1987(0x27f),'color':_0x2493bf,'opacity':_0x291432});},'onGradientChange':_0x476ce3=>{_0x13850d(Lo(_0x476ce3)),_0x29b04c(ds(_0x476ce3));},'pictureFillEditor':_0x3c4ad0?_0x2c0852(cs,{'fill':_0x8f743b,'labels':_0x3bde48,'onChange':_0x13850d}):_0x2c0852(ls,{'fallbackColor':_0x2493bf,'fill':_0x1249ad,'labels':_0x3bde48,'onChange':_0x29b04c})})}),'open':_0x1b3502,'onOpenChange':_0x17a24c,'children':_0x2c0852(_0xdacb3d(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0xe105d[_0xdacb3d(0x4b5)]??_0x16ed5d['t'](_0xdacb3d(0x547)),'placement':_0xdacb3d(0x5fd),'children':_0x12e0bf(_0x2e12a2,{'size':_0xdacb3d(0x590),'variant':'ghost','aria-expanded':_0x1b3502,'aria-label':_0xe105d['label']??_0x16ed5d['t'](_0xdacb3d(0x547)),'className':_0x2cb544({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1b3502}),'title':_0xe105d[_0xdacb3d(0x4b5)]??_0x16ed5d['t'](_0xdacb3d(0x547)),'type':'button','onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0xe105d[_0xdacb3d(0x688)]?_0x2c0852('span',{'aria-hidden':'true','children':'—'}):_0x53d8a2,_0xe105d[_0xdacb3d(0x4b5)]&&_0x2c0852('span',{'className':_0xdacb3d(0x285),'children':_0xe105d[_0xdacb3d(0x4b5)]}),_0x137969&&!_0xe105d[_0xdacb3d(0x688)]?_0x2c0852(_0xdacb3d(0x1f3),{'className':_0xdacb3d(0x38c),'style':_0x445e4f}):null,_0x2c0852(_0x4ce851,{'className':_0xdacb3d(0x185)})]})})})})});}function cs(_0x44d215){const _0x442bc8=_0x3cd2e0;let {fill:_0x5e2cf7,labels:_0x17501f,onChange:_0x12ee62}=_0x44d215,_0x837ed5=_0x55e2b7(_0x544e17),_0x244d17=_0x42f38f(null),_0x56b69e=_0x5e2cf7==null?void 0x0:_0x5e2cf7[_0x442bc8(0x258)],_0x6adbec=(_0x56b69e==null?void 0x0:_0x56b69e[_0x442bc8(0x391)])??(_0x5e2cf7==null?void 0x0:_0x5e2cf7[_0x442bc8(0x33a)])??0x1,_0x46ddea=_0x56b69e!=null&&_0x56b69e['source']&&/^(?:data:|https?:)/[_0x442bc8(0x1ed)](_0x56b69e[_0x442bc8(0x186)])?_0x56b69e[_0x442bc8(0x186)]:void 0x0;return _0x12e0bf(_0x442bc8(0x6d2),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x12e0bf(_0x442bc8(0x6d2),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x2c0852(_0x442bc8(0x1f3),{'className':'univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x17501f['pictureSource']}),_0x2c0852(_0x442bc8(0x1b5),{'ref':_0x244d17,'type':_0x442bc8(0x324),'accept':_0x442bc8(0x405),'className':_0x442bc8(0x545),'onChange':async _0x39e6d8=>{const _0x3ed873=_0x442bc8;var _0x2aef8f;let _0x1cc39f=(_0x2aef8f=_0x39e6d8['target'][_0x3ed873(0x450)])==null?void 0x0:_0x2aef8f[0x0];if(!_0x1cc39f)return;_0x39e6d8[_0x3ed873(0x669)]['value']='';let _0x3cbda4=await _0x837ed5[_0x3ed873(0x61a)](_0x1cc39f);if(_0x3cbda4==null)return;let {imageSourceType:_0x2ec9f6,source:_0x35a638,base64Cache:_0x24812b}=_0x3cbda4;if(_0x24812b){let {image:_0x2fbe51}=await _0x2eef47(_0x24812b);_0x837ed5[_0x3ed873(0x441)](_0x35a638,_0x2ec9f6,_0x2fbe51);}_0x12ee62({..._0x5e2cf7,'type':_0x3f8470[_0x3ed873(0x2b3)],'gradient':void 0x0,'picture':{..._0x56b69e,'source':_0x35a638,'sourceType':_0x2ec9f6,'opacity':_0x6adbec,'mode':(_0x56b69e==null?void 0x0:_0x56b69e['mode'])??_0x220309['Stretch']}});}}),_0x2c0852(_0x2e12a2,{'size':'small','type':'button','onClick':()=>{const _0x1bfed2=_0x442bc8;var _0x2161c1;return(_0x2161c1=_0x244d17[_0x1bfed2(0x483)])==null?void 0x0:_0x2161c1[_0x1bfed2(0x356)]();},'children':_0x17501f[_0x442bc8(0x21d)]})]}),_0x46ddea&&_0x2c0852(_0x442bc8(0x1c7),{'src':_0x46ddea,'alt':'','className':_0x442bc8(0x5ee)}),_0x2c0852(us,{'label':_0x17501f['transparency'],'opacity':_0x6adbec,'onChange':_0x32907b=>_0x12ee62({..._0x5e2cf7,'picture':{..._0x56b69e,'opacity':_0x32907b,'mode':(_0x56b69e==null?void 0x0:_0x56b69e['mode'])??_0x220309[_0x442bc8(0x247)]}})})]});}function ls(_0x35eff5){const _0x2ac1cc=_0x3cd2e0;let {fallbackColor:_0x54df84,fill:_0x2a904e,labels:_0x5d141b,onChange:_0x41a093}=_0x35eff5,_0x2cbfe7=_0x55e2b7(_0x544e17),_0x528917=_0x42f38f(null),_0x411ca5=_0x2a904e==null?void 0x0:_0x2a904e[_0x2ac1cc(0x258)],_0x318921=(_0x411ca5==null?void 0x0:_0x411ca5[_0x2ac1cc(0x391)])??(_0x2a904e==null?void 0x0:_0x2a904e[_0x2ac1cc(0x391)])??0x1,_0x546c69=_0x411ca5!=null&&_0x411ca5['source']&&/^(?:data:|https?:)/[_0x2ac1cc(0x1ed)](_0x411ca5[_0x2ac1cc(0x186)])?_0x411ca5[_0x2ac1cc(0x186)]:void 0x0;return _0x12e0bf('div',{'className':_0x2ac1cc(0x2ce),'children':[_0x12e0bf(_0x2ac1cc(0x6d2),{'className':_0x2ac1cc(0x4d5),'children':[_0x2c0852(_0x2ac1cc(0x1f3),{'className':_0x2ac1cc(0x426),'children':_0x5d141b[_0x2ac1cc(0x622)]}),_0x2c0852(_0x2ac1cc(0x1b5),{'ref':_0x528917,'type':_0x2ac1cc(0x324),'accept':_0x2ac1cc(0x405),'className':'univer-hidden','onChange':async _0x54cb64=>{const _0x12af8f=_0x2ac1cc;var _0x29de47;let _0x401481=(_0x29de47=_0x54cb64[_0x12af8f(0x669)][_0x12af8f(0x450)])==null?void 0x0:_0x29de47[0x0];if(!_0x401481)return;_0x54cb64[_0x12af8f(0x669)][_0x12af8f(0x1bc)]='';let _0x6124b2=await _0x2cbfe7['saveImage'](_0x401481);if(_0x6124b2==null)return;let {imageSourceType:_0x5b237b,source:_0x31e176,base64Cache:_0xba6092}=_0x6124b2;_0x41a093({..._0x2a904e,'type':_0x12af8f(0x258),'color':(_0x2a904e==null?void 0x0:_0x2a904e[_0x12af8f(0x565)])??_0x54df84,'picture':{..._0x411ca5,'source':_0xba6092||_0x31e176,'sourceType':_0x5b237b,'opacity':_0x318921,'mode':(_0x411ca5==null?void 0x0:_0x411ca5[_0x12af8f(0x5c1)])??_0x12af8f(0x212)}});}}),_0x2c0852(_0x2e12a2,{'size':_0x2ac1cc(0x590),'type':_0x2ac1cc(0x251),'onClick':()=>{const _0x3c4cf9=_0x2ac1cc;var _0x117c34;return(_0x117c34=_0x528917['current'])==null?void 0x0:_0x117c34[_0x3c4cf9(0x356)]();},'children':_0x5d141b[_0x2ac1cc(0x21d)]})]}),_0x546c69&&_0x2c0852(_0x2ac1cc(0x1c7),{'src':_0x546c69,'alt':'','className':'univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover'}),_0x2c0852(us,{'label':_0x5d141b[_0x2ac1cc(0x2b8)],'opacity':_0x318921,'onChange':_0x4fe847=>_0x41a093({..._0x2a904e,'type':'picture','color':(_0x2a904e==null?void 0x0:_0x2a904e[_0x2ac1cc(0x565)])??_0x54df84,'picture':{..._0x411ca5,'opacity':_0x4fe847,'mode':(_0x411ca5==null?void 0x0:_0x411ca5[_0x2ac1cc(0x5c1)])??_0x2ac1cc(0x212)}})})]});}function us(_0x2c6c07){const _0x1d557e=_0x3cd2e0;return _0x12e0bf(_0x1d557e(0x6d2),{'className':_0x1d557e(0x4d5),'children':[_0x2c0852('span',{'className':_0x1d557e(0x426),'children':_0x2c6c07[_0x1d557e(0x4b5)]}),_0x2c0852(_0x1d557e(0x6d2),{'className':_0x1d557e(0x6f1),'children':_0x2c0852(_0x48a657,{'className':_0x1d557e(0x333),'value':Math[_0x1d557e(0x578)]((0x1-_0x2c6c07[_0x1d557e(0x391)])*0x64),'min':0x0,'max':0x64,'step':0xa,'formatter':_0x34d353=>_0x34d353+'%','parser':_0x1df519=>(_0x1df519==null?void 0x0:_0x1df519['replace']('%',''))||'','onChange':_0x270ba9=>{const _0x3598c6=_0x1d557e;let _0x7a8311=Math[_0x3598c6(0x379)](0x0,Math[_0x3598c6(0x61f)](0x64,_0x270ba9??0x0));_0x2c6c07['onChange']((0x64-_0x7a8311)/0x64);}})})]});}function ds(_0x528d9a){const _0x28874a=_0x3cd2e0;var _0x339939;return{'type':'gradient','color':((_0x339939=_0x528d9a['stops'][0x0])==null?void 0x0:_0x339939['color'])??_0x28874a(0x64a),'gradient':{'type':_0x528d9a[_0x28874a(0x278)],'angle':_0x528d9a[_0x28874a(0x2fe)],'stops':_0x528d9a[_0x28874a(0x59e)][_0x28874a(0x37f)](_0x212cf6=>({'offset':_0x212cf6[_0x28874a(0x4c3)],'color':_0x212cf6[_0x28874a(0x565)],'opacity':_0x212cf6[_0x28874a(0x391)]}))}};}const fs=_0x55baa6[_0x3cd2e0(0x37f)](_0x299f7d=>({'label':_0x299f7d[_0x3cd2e0(0x4b5)],'value':String(_0x299f7d['value'])})),ps=[0x0,0x1,0x2,0x3,0x4,0x6],ms=[{'labelKey':'slides-table-ui.editorToolbar.borderStyleSolid','value':_0x138dfb[_0x3cd2e0(0x199)]},{'labelKey':_0x3cd2e0(0x2c1),'value':_0x138dfb[_0x3cd2e0(0x1d4)]},{'labelKey':_0x3cd2e0(0x389),'value':_0x138dfb[_0x3cd2e0(0x46f)]},{'labelKey':_0x3cd2e0(0x284),'value':_0x138dfb[_0x3cd2e0(0x550)]},{'labelKey':'slides-table-ui.editorToolbar.noBorder','value':_0x138dfb[_0x3cd2e0(0x291)]}],hs=[{'labelKey':'slides-table-ui.editorToolbar.borderPresetAll','preset':_0x20ac30[_0x3cd2e0(0x201)]},{'labelKey':_0x3cd2e0(0x3f9),'preset':_0x20ac30[_0x3cd2e0(0x32e)]},{'labelKey':'slides-table-ui.editorToolbar.borderPresetOuter','preset':_0x20ac30['Outer']},{'labelKey':_0x3cd2e0(0x17f),'preset':_0x20ac30[_0x3cd2e0(0x604)]},{'labelKey':_0x3cd2e0(0x527),'preset':_0x20ac30[_0x3cd2e0(0x451)]},{'labelKey':_0x3cd2e0(0x596),'preset':_0x20ac30[_0x3cd2e0(0x525)]},{'labelKey':_0x3cd2e0(0x365),'preset':_0x20ac30[_0x3cd2e0(0x162)]},{'labelKey':_0x3cd2e0(0x1c5),'preset':_0x20ac30[_0x3cd2e0(0x548)]},{'labelKey':_0x3cd2e0(0x202),'preset':_0x20ac30['InnerVertical']},{'labelKey':_0x3cd2e0(0x4e8),'preset':_0x20ac30[_0x3cd2e0(0x291)]}],gs={[_0x20ac30[_0x3cd2e0(0x201)]]:_0x1952e5,[_0x20ac30[_0x3cd2e0(0x32e)]]:_0x27d62b,[_0x20ac30[_0x3cd2e0(0x30c)]]:_0x558a50,[_0x20ac30[_0x3cd2e0(0x604)]]:_0x19664c,[_0x20ac30['Bottom']]:_0x1e4bdb,[_0x20ac30[_0x3cd2e0(0x525)]]:_0x1a3c73,[_0x20ac30['Right']]:_0x42ac87,[_0x20ac30['InnerHorizontal']]:_0x18c8f5,[_0x20ac30[_0x3cd2e0(0x416)]]:_0x4670f6,[_0x20ac30[_0x3cd2e0(0x291)]]:_0x32c558},_s={'colorChannel1':_0x3cd2e0(0x44d)},vs='\x0a\x20\x20\x20\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-shadow-lg\x0a\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a';function ys(_0x47b19d){const _0x3b7f10=_0x3cd2e0;return _0x2c0852(_0x3b7f10(0x6d2),{'className':_0x3b7f10(0x479),'children':_0x47b19d[_0x3b7f10(0x2cb)]});}function bs(_0x5c9dcf){const _0x1aaa5f=_0x3cd2e0;return _0x2c0852(_0xb5e71d,{'title':_0x5c9dcf[_0x1aaa5f(0x4d3)],'placement':'bottom','children':_0x2c0852(_0x1aaa5f(0x1f3),{'children':_0x2c0852(_0x2e12a2,{'size':'small','variant':_0x1aaa5f(0x1db),'type':'button','data-toolbar-item':_0x5c9dcf['data-toolbar-item'],'aria-label':_0x5c9dcf[_0x1aaa5f(0x4d3)],'title':_0x5c9dcf[_0x1aaa5f(0x4d3)],'onClick':_0x3e851d=>{const _0x39371c=_0x1aaa5f;_0x3e851d[_0x39371c(0x2ac)](),_0x5c9dcf[_0x39371c(0x689)]();},'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':_0x5c9dcf['children']})})});}function xs(_0x5771f7){const _0x1052e6=_0x3cd2e0;return _0x2c0852(_0xb5e71d,{'title':_0x5771f7[_0x1052e6(0x4d3)],'placement':'bottom','children':_0x2c0852(_0x2e12a2,{'size':_0x1052e6(0x590),'variant':_0x1052e6(0x1db),'type':'button','aria-label':_0x5771f7['title'],'className':_0x2cb544({'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x5771f7[_0x1052e6(0x325)]}),'onClick':_0x28e645=>{const _0x13f923=_0x1052e6;_0x28e645[_0x13f923(0x2ac)](),_0x5771f7[_0x13f923(0x689)]();},'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':_0x5771f7[_0x1052e6(0x2cb)]})});}function Ss(_0x177920){const _0x324855=_0x3cd2e0;let _0x21e2cc=_0x55e2b7(_0x54db7d);return _0x2c0852(as,{'onOpenChange':_0x177920[_0x324855(0x1b9)],'children':({handleOpenChange:_0x270347,markInternalInteraction:_0x4e57d8})=>_0x2c0852(_0x1ada0f,{'open':_0x177920[_0x324855(0x685)],'onOpenChange':_0x270347,'overlay':_0x12e0bf('section',{'className':_0x2cb544(vs,'univer-grid\x20univer-gap-2\x20univer-p-2',_0x1b82c1),'data-u-comp':_0x324855(0x3a0),'onMouseDown':_0x13ce1b=>{_0x4e57d8(),_0x586207(_0x13ce1b);},'onPointerDown':_0x59347e=>{_0x4e57d8(),_0x586207(_0x59347e);},'children':[_0x12e0bf(_0x324855(0x6d2),{'className':_0x324855(0x64e),'children':[_0x2c0852(xs,{'active':!_0x177920[_0x324855(0x3d5)]['mixed'][_0x324855(0x56e)]&&_0x177920[_0x324855(0x3d5)]['bold'],'title':_0x21e2cc['t'](_0x324855(0x52d)),'onClick':()=>_0x177920[_0x324855(0x23c)]({'bl':_0x177920[_0x324855(0x3d5)]['mixed'][_0x324855(0x56e)]||!_0x177920[_0x324855(0x3d5)][_0x324855(0x56e)]?_0x3953dc['TRUE']:_0x3953dc[_0x324855(0x646)]}),'children':_0x2c0852(_0x1e2a9e,{})}),_0x2c0852(xs,{'active':!_0x177920[_0x324855(0x3d5)][_0x324855(0x688)]['italic']&&_0x177920['values'][_0x324855(0x58f)],'title':_0x21e2cc['t'](_0x324855(0x1ea)),'onClick':()=>_0x177920['onToggleStyle']({'it':_0x177920[_0x324855(0x3d5)][_0x324855(0x688)][_0x324855(0x58f)]||!_0x177920[_0x324855(0x3d5)][_0x324855(0x58f)]?_0x3953dc['TRUE']:_0x3953dc[_0x324855(0x646)]}),'children':_0x2c0852(_0xbdb01a,{})}),_0x2c0852(xs,{'active':!_0x177920[_0x324855(0x3d5)][_0x324855(0x688)]['underline']&&_0x177920[_0x324855(0x3d5)][_0x324855(0x267)],'title':_0x21e2cc['t'](_0x324855(0x645)),'onClick':()=>_0x177920[_0x324855(0x23c)]({'ul':{'s':_0x177920['values'][_0x324855(0x688)]['underline']||!_0x177920[_0x324855(0x3d5)][_0x324855(0x267)]?_0x3953dc[_0x324855(0x425)]:_0x3953dc[_0x324855(0x646)]}}),'children':_0x2c0852(_0x2a4a21,{})}),_0x2c0852(xs,{'active':!_0x177920[_0x324855(0x3d5)]['mixed'][_0x324855(0x461)]&&_0x177920[_0x324855(0x3d5)][_0x324855(0x461)],'title':_0x21e2cc['t'](_0x324855(0x3d1)),'onClick':()=>_0x177920[_0x324855(0x23c)]({'st':{'s':_0x177920[_0x324855(0x3d5)][_0x324855(0x688)][_0x324855(0x461)]||!_0x177920['values'][_0x324855(0x461)]?_0x3953dc[_0x324855(0x425)]:_0x3953dc['FALSE']}}),'children':_0x2c0852(_0x5e47b0,{})})]}),_0x2c0852(_0x10a77a,{}),_0x2c0852('div',{'className':_0x324855(0x64e),'children':_0x177920[_0x324855(0x184)][_0x324855(0x37f)](_0x59045c=>_0x2c0852(xs,{'active':!_0x177920['values'][_0x324855(0x688)][_0x324855(0x25f)]&&_0x177920[_0x324855(0x3d5)]['horizontalAlign']===_0x59045c[_0x324855(0x1bc)],'title':_0x21e2cc['t'](_0x59045c[_0x324855(0x1d1)]),'onClick':()=>_0x177920['onHorizontalAlign'](_0x59045c[_0x324855(0x1bc)]),'children':_0x59045c['icon']},_0x59045c['value']))}),_0x2c0852(_0x10a77a,{}),_0x2c0852(_0x324855(0x6d2),{'className':_0x324855(0x64e),'children':_0x177920[_0x324855(0x44a)][_0x324855(0x37f)](_0x5eb5b2=>_0x2c0852(xs,{'active':!_0x177920[_0x324855(0x3d5)][_0x324855(0x688)][_0x324855(0x68c)]&&_0x177920[_0x324855(0x3d5)]['verticalAlign']===_0x5eb5b2[_0x324855(0x1bc)],'title':_0x21e2cc['t'](_0x5eb5b2[_0x324855(0x1d1)]),'onClick':()=>_0x177920[_0x324855(0x66d)](_0x5eb5b2['value']),'children':_0x5eb5b2[_0x324855(0x2a1)]},_0x5eb5b2[_0x324855(0x1bc)]))})]}),'children':_0x2c0852(_0x324855(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0x21e2cc['t']('slides-table-ui.editorToolbar.textFormat'),'placement':_0x324855(0x5fd),'children':_0x12e0bf(_0x2e12a2,{'size':_0x324855(0x590),'variant':_0x324855(0x1db),'type':_0x324855(0x251),'aria-expanded':_0x177920[_0x324855(0x685)],'aria-label':_0x21e2cc['t'](_0x324855(0x619)),'className':_0x2cb544({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x177920[_0x324855(0x685)]}),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x2c0852(_0x317370,{}),_0x2c0852(_0x4ce851,{'className':_0x324855(0x185)})]})})})})});}function Cs(_0x1b31db){const _0x5189ae=_0x3cd2e0;let _0x59b089=_0x55e2b7(_0x54db7d);return _0x2c0852(as,{'onOpenChange':_0x1b31db['onOpenChange'],'children':({handleOpenChange:_0x56035a,markInternalInteraction:_0x530dd5})=>_0x2c0852(_0x1ada0f,{'open':_0x1b31db[_0x5189ae(0x685)],'onOpenChange':_0x56035a,'overlay':_0x2c0852(_0x5189ae(0x492),{'className':_0x2cb544(vs,_0x1b82c1),'data-u-comp':_0x5189ae(0x3a0),'onMouseDown':_0x459a3c=>{_0x530dd5(),_0x586207(_0x459a3c);},'onPointerDown':_0xf7980e=>{_0x530dd5(),_0x586207(_0xf7980e);},'children':_0x1b31db[_0x5189ae(0x2cb)]}),'children':_0x2c0852(_0x5189ae(0x1f3),{'className':_0x2cb544({'[&>span]:univer-h-full\x20[&>span]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full':_0x1b31db[_0x5189ae(0x2ae)]}),'children':_0x2c0852(_0xb5e71d,{'title':_0x1b31db[_0x5189ae(0x4b5)]??_0x59b089['t'](_0x5189ae(0x625)),'placement':_0x5189ae(0x5fd),'children':_0x12e0bf(_0x2e12a2,{'size':_0x5189ae(0x590),'variant':_0x5189ae(0x1db),'type':_0x5189ae(0x251),'data-toolbar-item':'table-theme','aria-expanded':_0x1b31db[_0x5189ae(0x685)],'aria-label':_0x1b31db[_0x5189ae(0x4b5)]??_0x59b089['t']('slides-table-ui.editorToolbar.tableTheme'),'title':_0x1b31db[_0x5189ae(0x4b5)]??_0x59b089['t'](_0x5189ae(0x625)),'className':_0x2cb544({'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-h-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-min-w-28\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-col\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-px-1.5\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-py-1':_0x1b31db[_0x5189ae(0x2ae)],'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1b31db[_0x5189ae(0x685)]}),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x2c0852(_0x5189ae(0x1f3),{'className':_0x2cb544(_0x5189ae(0x2b6),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-3xl':_0x1b31db[_0x5189ae(0x2ae)]}),'children':_0x1b31db[_0x5189ae(0x2a1)]??_0x2c0852(_0x5f5811,{})}),_0x12e0bf(_0x5189ae(0x1f3),{'className':_0x2cb544(_0x5189ae(0x1ba),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-center':_0x1b31db['ribbon']}),'children':[_0x1b31db[_0x5189ae(0x4b5)]&&_0x2c0852('span',{'className':_0x2cb544(_0x5189ae(0x285),{'[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-flex-none\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-text-xs':_0x1b31db['ribbon']}),'children':_0x1b31db[_0x5189ae(0x4b5)]}),_0x2c0852(_0x4ce851,{'className':'univer-text-xs'})]})]})})})})});}function ws(_0x4b5bfb){const _0x5218d2=_0x3cd2e0;let _0x13800c=_0x55e2b7(_0x54db7d),_0x10edb5=ms[_0x5218d2(0x587)](_0x324b2a=>_0x324b2a[_0x5218d2(0x1bc)]===_0x4b5bfb['dash'])??ms[0x0];return _0x2c0852(as,{'onOpenChange':_0x4b5bfb[_0x5218d2(0x1b9)],'children':({handleOpenChange:_0x6d35a3,markInternalInteraction:_0x531c32})=>_0x2c0852(_0x1ada0f,{'open':_0x4b5bfb[_0x5218d2(0x685)],'onOpenChange':_0x6d35a3,'overlay':_0x12e0bf(_0x5218d2(0x492),{'className':_0x2cb544(vs,_0x5218d2(0x65e),_0x1b82c1),'data-u-comp':_0x5218d2(0x3a0),'dir':_0x4b5bfb[_0x5218d2(0x286)],'onMouseDown':_0x4cfca7=>{_0x531c32(),_0x586207(_0x4cfca7);},'onPointerDown':_0x5214e0=>{_0x531c32(),_0x586207(_0x5214e0);},'children':[_0x2c0852(_0x5218d2(0x6d2),{'className':_0x5218d2(0x6b1),'children':_0x4b5bfb[_0x5218d2(0x692)][_0x5218d2(0x37f)](({labelKey:_0x423ccb,preset:_0x485eea})=>{const _0x30b95a=_0x5218d2;let _0x4b5ecc=gs[_0x485eea];return _0x2c0852(_0xb5e71d,{'title':_0x13800c['t'](_0x423ccb),'placement':'bottom','children':_0x2c0852(_0x2e12a2,{'size':_0x30b95a(0x2a1),'variant':_0x30b95a(0x1db),'type':_0x30b95a(0x251),'aria-label':_0x13800c['t'](_0x423ccb),'onClick':()=>{const _0x5a3fc2=_0x30b95a;_0x4b5bfb['onSelectPreset'](_0x485eea),_0x4b5bfb[_0x5a3fc2(0x1b9)](!0x1);},'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':_0x2c0852(_0x4b5ecc,{'className':_0x30b95a(0x203),'extend':_s})})},_0x485eea);})}),_0x2c0852(_0x10a77a,{}),_0x12e0bf('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2c0852(Ts,{'title':_0x13800c['t'](_0x5218d2(0x31c)),'direction':_0x4b5bfb['direction'],'color':_0x4b5bfb[_0x5218d2(0x565)],'onChange':_0x4b5bfb[_0x5218d2(0x66b)],'children':_0x2c0852(_0x5f5811,{'extend':{'colorChannel1':_0x4b5bfb[_0x5218d2(0x565)]}})}),_0x2c0852(Ds,{'title':_0x13800c['t'](_0x5218d2(0x4c0)),'direction':_0x4b5bfb[_0x5218d2(0x286)],'value':String(_0x4b5bfb[_0x5218d2(0x172)]),'options':ps[_0x5218d2(0x37f)](_0x449fb3=>({'label':_0x449fb3===0x0?_0x13800c['t'](_0x5218d2(0x4e8)):_0x449fb3+'px','value':String(_0x449fb3),'icon':_0x2c0852(_0x5218d2(0x1f3),{'className':_0x5218d2(0x39b),'style':{'height':Math[_0x5218d2(0x379)](0x1,_0x449fb3||0x1)}})})),'onChange':_0x73fc47=>_0x4b5bfb[_0x5218d2(0x390)](Number(_0x73fc47)),'children':_0x12e0bf('span',{'className':_0x5218d2(0x185),'children':[_0x4b5bfb[_0x5218d2(0x172)],'px']})}),_0x2c0852(Ds,{'title':_0x13800c['t']('slides-table-ui.editorToolbar.borderStyle'),'direction':_0x4b5bfb[_0x5218d2(0x286)],'value':_0x4b5bfb[_0x5218d2(0x586)],'options':ms[_0x5218d2(0x37f)](_0x23801f=>({'label':_0x13800c['t'](_0x23801f['labelKey']),'value':_0x23801f[_0x5218d2(0x1bc)],'icon':_0x2c0852(ks,{'dash':_0x23801f[_0x5218d2(0x1bc)]})})),'onChange':_0x4b5bfb[_0x5218d2(0x2eb)],'children':_0x10edb5?_0x2c0852(ks,{'dash':_0x10edb5[_0x5218d2(0x1bc)]}):_0x2c0852(_0x1952e5,{})})]})]}),'children':_0x2c0852(_0x5218d2(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0x4b5bfb[_0x5218d2(0x4b5)]??_0x13800c['t']('slides-table-ui.editorToolbar.border'),'placement':'bottom','children':_0x12e0bf(_0x2e12a2,{'size':_0x5218d2(0x590),'variant':_0x5218d2(0x1db),'type':_0x5218d2(0x251),'aria-expanded':_0x4b5bfb[_0x5218d2(0x685)],'aria-label':_0x4b5bfb[_0x5218d2(0x4b5)]??_0x13800c['t'](_0x5218d2(0x6f0)),'title':_0x4b5bfb['label']??_0x13800c['t']('slides-table-ui.editorToolbar.border'),'className':_0x2cb544({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x4b5bfb['open']}),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x4b5bfb[_0x5218d2(0x688)]?_0x2c0852(_0x5218d2(0x1f3),{'aria-hidden':_0x5218d2(0x5b5),'children':'—'}):_0x2c0852(_0x1952e5,{}),_0x4b5bfb[_0x5218d2(0x4b5)]&&_0x2c0852(_0x5218d2(0x1f3),{'className':_0x5218d2(0x285),'children':_0x4b5bfb[_0x5218d2(0x4b5)]}),_0x2c0852(_0x4ce851,{'className':_0x5218d2(0x185)})]})})})})});}function Ts(_0x5ab6d4){const _0x460bcd=_0x3cd2e0;let {children:_0x223833,color:_0x3cd200,onChange:_0x586d1e}=_0x5ab6d4,[_0xec2ae1,_0x4d771f]=_0x18aa5b(!0x1),_0x255f11=_0x5ab6d4['open']??_0xec2ae1,_0x5bc718=_0x5ab6d4[_0x460bcd(0x1b9)]??_0x4d771f;return _0x2c0852(as,{'onOpenChange':_0x5bc718,'children':({handleOpenChange:_0x374995,markInternalInteraction:_0x19a1ef})=>_0x2c0852(_0x1ada0f,{'overlay':_0x2c0852(_0x460bcd(0x6d2),{'className':_0x2cb544(vs,'univer-p-3',_0x1b82c1),'data-u-comp':_0x460bcd(0x3a0),'dir':_0x5ab6d4[_0x460bcd(0x286)],'onMouseDown':_0x4eb478=>{_0x19a1ef(),_0x586207(_0x4eb478);},'onPointerDown':_0x4e8c1f=>{_0x19a1ef(),_0x586207(_0x4e8c1f);},'children':_0x2c0852(_0x1589e5,{'value':_0x3cd200,'onChange':_0x586d1e})}),'open':_0x255f11,'onOpenChange':_0x374995,'children':_0x2c0852(_0x460bcd(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0x5ab6d4[_0x460bcd(0x4d3)],'placement':'bottom','children':_0x12e0bf(_0x2e12a2,{'size':'small','variant':'ghost','aria-expanded':_0x255f11,'aria-label':_0x5ab6d4[_0x460bcd(0x4d3)],'className':_0x2cb544({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x255f11}),'title':_0x5ab6d4[_0x460bcd(0x4d3)],'type':_0x460bcd(0x251),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x223833,_0x2c0852(_0x460bcd(0x1f3),{'className':_0x460bcd(0x38c),'style':{'backgroundColor':_0x3cd200}}),_0x2c0852(_0x4ce851,{'className':_0x460bcd(0x185)})]})})})})});}function Es(_0xe65679){const _0x1d657f=_0x3cd2e0;return _0x2c0852(as,{'onOpenChange':_0xe65679[_0x1d657f(0x1b9)],'children':({handleOpenChange:_0x46769f,markInternalInteraction:_0x1a5c94})=>_0x2c0852(_0x1ada0f,{'open':_0xe65679['open'],'onOpenChange':_0x46769f,'overlay':_0x2c0852(_0x1d657f(0x6d2),{'className':_0x2cb544(vs,_0x1d657f(0x17e),_0x1b82c1),'data-u-comp':'slide-table-floating-toolbar-popup','onMouseDown':_0xdbddd4=>{_0x1a5c94(),_0x586207(_0xdbddd4);},'onPointerDown':_0x2bb93c=>{_0x1a5c94(),_0x586207(_0x2bb93c);},'children':_0x2c0852(_0x1589e5,{'value':_0xe65679[_0x1d657f(0x565)],'onChange':_0xe65679['onChange']})}),'children':_0x2c0852(_0x1d657f(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0xe65679['title'],'placement':_0x1d657f(0x5fd),'children':_0x12e0bf(_0x2e12a2,{'size':_0x1d657f(0x590),'variant':'ghost','type':_0x1d657f(0x251),'data-toolbar-item':_0xe65679[_0x1d657f(0x495)],'aria-expanded':_0xe65679[_0x1d657f(0x685)],'aria-label':_0xe65679['title'],'className':_0x2cb544({'univer-bg-gray-100\x20dark:!univer-bg-gray-700':_0xe65679[_0x1d657f(0x685)]}),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0xe65679[_0x1d657f(0x688)]?_0x2c0852(_0x1d657f(0x1f3),{'aria-hidden':'true','children':'—'}):_0xe65679[_0x1d657f(0x2a1)]===_0x1d657f(0x178)?_0x2c0852(_0x1634e4,{'className':'univer-fill-primary-600','extend':{'colorChannel1':_0xe65679['color']}}):_0x2c0852(_0x5f5811,{'className':_0x1d657f(0x42b),'extend':{'colorChannel1':_0x1d657f(0x60f)}}),_0x2c0852(_0x4ce851,{'className':'univer-text-xs'})]})})})})});}function Ds(_0x128069){const _0x177107=_0x3cd2e0;let {children:_0x5872ee,direction:_0x46fe56,title:_0x2bd9ab,value:_0x112db4,open:_0x4d389d,options:_0x30f447,onChange:_0x1bedff,onOpenChange:_0x2464df}=_0x128069,[_0x4817ad,_0x1d955e]=_0x18aa5b(!0x1),_0x58600b=_0x4d389d??_0x4817ad,_0x2190da=_0x2464df??_0x1d955e,_0x581d1d=_0x30f447[_0x177107(0x587)](_0x206dc1=>_0x206dc1[_0x177107(0x1bc)]===_0x112db4)??_0x30f447[0x0];return _0x581d1d?_0x2c0852(as,{'onOpenChange':_0x2190da,'children':({handleOpenChange:_0x429c96,markInternalInteraction:_0x13f893})=>_0x2c0852(_0x1ada0f,{'open':_0x58600b,'onOpenChange':_0x429c96,'overlay':_0x2c0852('div',{'className':_0x2cb544(vs,_0x177107(0x20b),_0x1b82c1),'dir':_0x46fe56,'onMouseDown':_0x53d054=>{_0x13f893(),_0x586207(_0x53d054);},'onPointerDown':_0x2ac0bd=>{_0x13f893(),_0x586207(_0x2ac0bd);},'children':_0x30f447[_0x177107(0x37f)](_0x35699f=>_0x12e0bf(_0x2e12a2,{'size':'middle','variant':_0x177107(0x1db),'type':_0x177107(0x251),'onClick':()=>{const _0x3efa6b=_0x177107;_0x1bedff(_0x35699f[_0x3efa6b(0x1bc)]),_0x2190da(!0x1);},'onMouseDown':_0x586207,'onPointerDown':_0x586207,'className':_0x2cb544(_0x177107(0x4cd),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x35699f['value']===_0x112db4}),'children':[_0x2c0852(_0x177107(0x1f3),{'className':_0x177107(0x3a7),'children':_0x35699f[_0x177107(0x2a1)]}),_0x2c0852(_0x177107(0x1f3),{'className':_0x177107(0x311),'children':_0x35699f[_0x177107(0x4b5)]})]},_0x35699f[_0x177107(0x1bc)]))}),'children':_0x2c0852(_0x177107(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0x2bd9ab,'placement':_0x177107(0x5fd),'children':_0x12e0bf(_0x2e12a2,{'size':'small','variant':_0x177107(0x1db),'type':'button','aria-expanded':_0x58600b,'aria-label':_0x2bd9ab,'title':_0x2bd9ab,'className':_0x2cb544({'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x58600b}),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x5872ee??_0x581d1d[_0x177107(0x2a1)],_0x2c0852(_0x4ce851,{'className':'univer-text-xs'})]})})})})}):null;}function Os(_0x15c5de){const _0x42e02c=_0x3cd2e0;return _0x2c0852(_0xb5e71d,{'title':_0x15c5de[_0x42e02c(0x4d3)],'placement':_0x42e02c(0x5fd),'children':_0x2c0852(_0x42e02c(0x1f3),{'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':_0x2c0852(_0x33736c,{'borderless':!0x0,'className':_0x2cb544(_0x42e02c(0x53b),_0x15c5de[_0x42e02c(0x5f6)]),'value':_0x15c5de[_0x42e02c(0x1bc)],'options':_0x15c5de['options'],'onChange':_0x15c5de['onChange']})})});}function ks(_0x5180eb){const _0x4a9f1d=_0x3cd2e0;let _0x21b133=_0x55e2b7(_0x54db7d),_0x3c8ab2=_0x5180eb['dash']===_0x4a9f1d(0x295)?'1\x203':_0x5180eb[_0x4a9f1d(0x586)]===_0x4a9f1d(0x586)?_0x4a9f1d(0x491):_0x5180eb[_0x4a9f1d(0x586)]==='dashDot'?_0x4a9f1d(0x3f0):void 0x0;return _0x5180eb[_0x4a9f1d(0x586)]===_0x4a9f1d(0x238)?_0x2c0852(_0x4a9f1d(0x1f3),{'className':_0x4a9f1d(0x185),'children':_0x21b133['t'](_0x4a9f1d(0x3c4))}):_0x2c0852(_0x4a9f1d(0x5a4),{'aria-hidden':_0x4a9f1d(0x5b5),'height':'16','viewBox':_0x4a9f1d(0x4f0),'width':'24','children':_0x2c0852(_0x4a9f1d(0x5ae),{'d':_0x4a9f1d(0x498),'stroke':'currentColor','strokeDasharray':_0x3c8ab2,'strokeLinecap':_0x4a9f1d(0x578),'strokeWidth':'2'})});}const As=[_0x3cd2e0(0x412),_0x3cd2e0(0x42d),'medium',_0x3cd2e0(0x562)],js={'bestMatch':_0x3cd2e0(0x183),'light':_0x3cd2e0(0x4b4),'medium':_0x3cd2e0(0x274),'minimal':_0x3cd2e0(0x600)},Ms=[{'key':_0x3cd2e0(0x1fb),'labelKey':_0x3cd2e0(0x240)},{'key':_0x3cd2e0(0x68d),'labelKey':_0x3cd2e0(0x559)},{'key':_0x3cd2e0(0x636),'labelKey':'slides-table-ui.editorToolbar.bandedRows'},{'key':_0x3cd2e0(0x517),'labelKey':_0x3cd2e0(0x50c)},{'key':'lastCol','labelKey':_0x3cd2e0(0x24c)},{'key':'bandCol','labelKey':_0x3cd2e0(0x48a)}];function Ns(_0x5dd245){const _0x2eb0cd=_0x3cd2e0;let {currentOptions:_0x5a5760,currentStyleId:_0x54a82b,direction:_0x2f7d9a=_0x2eb0cd(0x530),palette:_0x50a6c0,showOptions:_0x104b12=!0x0,showThemes:_0x3649c8=!0x0,onApplyTheme:_0x240830,onChangeOptions:_0x4391f0}=_0x5dd245,_0x326bb7=_0x55e2b7(_0x54db7d),_0x390f1f=_0x103548(_0x50a6c0),_0x3c4d79=_0x4b1c09=>{_0x4391f0({..._0x5a5760,[_0x4b1c09]:!_0x5a5760[_0x4b1c09]});};return _0x12e0bf(_0x2eb0cd(0x6d2),{'className':_0x2cb544('univer-flex\x20univer-flex-col\x20univer-text-gray-900\x20dark:!univer-text-gray-100',_0x2eb0cd(0x2e3)),'data-u-comp':_0x2eb0cd(0x262),'dir':_0x2f7d9a,'style':{'direction':_0x2f7d9a},'children':[_0x104b12&&_0x12e0bf(_0x2eb0cd(0x6d2),{'className':_0x2cb544(_0x2eb0cd(0x447),_0x2eb0cd(0x421)),'children':[_0x12e0bf(_0x2eb0cd(0x6d2),{'className':_0x2eb0cd(0x41b),'children':[_0x2c0852(_0x2eb0cd(0x6d2),{'className':_0x2eb0cd(0x25b),'children':_0x326bb7['t'](_0x2eb0cd(0x625))}),_0x2c0852(_0x2eb0cd(0x6d2),{'className':_0x2eb0cd(0x21a),'children':_0x326bb7['t']('slides-table-ui.editorToolbar.tableLook')})]}),_0x2c0852('div',{'className':_0x2cb544(_0x2eb0cd(0x2bb),_0x2eb0cd(0x6ca)),'children':Ms[_0x2eb0cd(0x37f)](_0x453a88=>_0x2c0852(Ps,{'active':!!_0x5a5760[_0x453a88['key']],'label':_0x326bb7['t'](_0x453a88['labelKey']),'onClick':()=>_0x3c4d79(_0x453a88[_0x2eb0cd(0x5e4)])},_0x453a88[_0x2eb0cd(0x5e4)]))})]}),_0x3649c8&&_0x2c0852('div',{'className':_0x2cb544(_0x2eb0cd(0x443),_0x2eb0cd(0x6c9)),'children':As[_0x2eb0cd(0x37f)](_0x5a748e=>{const _0x52052c=_0x2eb0cd;let _0x1a8fdc=_0x44c4de['filter'](_0xf8b154=>_0xf8b154['group']===_0x5a748e);return _0x1a8fdc[_0x52052c(0x567)]?_0x12e0bf(_0x52052c(0x6d2),{'className':_0x52052c(0x69c),'children':[_0x2c0852(_0x52052c(0x6d2),{'className':'univer-mb-1\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x326bb7['t'](js[_0x5a748e])}),_0x2c0852(_0x52052c(0x6d2),{'className':_0x2cb544('univer-grid\x20univer-gap-2','univer-grid-cols-4'),'children':_0x1a8fdc[_0x52052c(0x37f)]((_0x5cf6f5,_0x5cc7e2)=>{const _0x5a65f7=_0x52052c;if(!_0x390f1f[_0x5cf6f5['id']])return null;let _0xa5bc32=_0x5a5760,_0x3e525c=_0x54a82b===_0x5cf6f5['id'],_0x400b14=_0x326bb7['t'](js[_0x5a748e])+'\x20'+(_0x5cc7e2+0x1);return _0x12e0bf(_0x5a65f7(0x251),{'type':_0x5a65f7(0x251),'aria-label':_0x400b14,'title':_0x400b14,'className':_0x2cb544(_0x5a65f7(0x29f),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-shadow-sm\x20dark:!univer-bg-gray-800':_0x3e525c}),'onClick':()=>_0x240830(_0x5cf6f5['id']),'children':[_0x3e525c&&_0x2c0852('span',{'className':_0x5a65f7(0x5fe),'children':_0x2c0852(_0x92eb1f,{'className':_0x5a65f7(0x3d9)})}),_0x2c0852(Fs,{'styleId':_0x5cf6f5['id'],'options':_0xa5bc32,'direction':_0x2f7d9a,'palette':_0x50a6c0})]},_0x5cf6f5['id']);})})]},_0x5a748e):null;})})]});}function Ps(_0x279011){const _0x54dfe1=_0x3cd2e0;return _0x2c0852(_0x54dfe1(0x6d2),{'aria-pressed':_0x279011[_0x54dfe1(0x325)],'role':_0x54dfe1(0x251),'tabIndex':0x0,'className':_0x2cb544(_0x54dfe1(0x3a9),{'univer-border-primary-600\x20univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-border-primary-500\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x279011['active']}),'onClick':_0x279011['onClick'],'onKeyDown':_0x13c248=>{const _0x4dbc56=_0x54dfe1;(_0x13c248['key']===_0x4dbc56(0x209)||_0x13c248[_0x4dbc56(0x5e4)]==='\x20')&&(_0x13c248[_0x4dbc56(0x2ac)](),_0x279011[_0x4dbc56(0x689)]());},'children':_0x2c0852(_0x20a34d,{'checked':_0x279011[_0x54dfe1(0x325)],'className':_0x54dfe1(0x207),'contentClassName':_0x2cb544('univer-truncate',_0x279011[_0x54dfe1(0x325)]&&'!univer-text-primary-600\x20dark:!univer-text-primary-300'),'onChange':()=>void 0x0,'children':_0x279011[_0x54dfe1(0x4b5)]})});}function Fs(_0x5ee13b){const _0x1e8c29=_0x3cd2e0;let _0x51ba19={'id':'theme-preview','rev':0x0,'styleId':_0x5ee13b['styleId'],'options':_0x5ee13b[_0x1e8c29(0x6ab)],'columns':Array['from']({'length':0x5},()=>({'width':0x1})),'rows':Array['from']({'length':0x4},()=>({'height':0x1,'cells':Array['from']({'length':0x5},()=>({}))}))},_0x5b10f2=_0x237cc5(_0x51ba19,{'themes':_0x103548(_0x5ee13b[_0x1e8c29(0x215)])});return _0x2c0852(_0x1e8c29(0x1f3),{'className':'univer-grid\x20univer-h-11\x20univer-w-full\x20univer-grid-cols-5\x20univer-overflow-hidden\x20univer-rounded-sm','children':_0x5b10f2[_0x1e8c29(0x329)][_0x1e8c29(0x37f)](_0x2ff9e7=>{const _0x78eb0=_0x1e8c29;var _0xf03cbd,_0x5a0a7c,_0x44f9dd,_0x1e38e4,_0x55b1cb,_0x5efbfc,_0x24d695,_0x55485a,_0x3fb00d,_0x24c76a;let _0x530d23=((_0xf03cbd=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0xf03cbd[_0x78eb0(0x3ec)])??((_0x5a0a7c=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0x5a0a7c[_0x78eb0(0x5fd)])??((_0x44f9dd=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0x44f9dd['top'])??((_0x1e38e4=_0x2ff9e7['style'][_0x78eb0(0x2d5)])==null?void 0x0:_0x1e38e4['left']),_0x315a04=(_0x55b1cb=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0x55b1cb[_0x78eb0(0x649)],_0x3d0803=(_0x5efbfc=_0x2ff9e7['style'][_0x78eb0(0x2d5)])==null?void 0x0:_0x5efbfc[_0x78eb0(0x3ec)],_0x41ec65=(_0x24d695=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0x24d695[_0x78eb0(0x5fd)],_0x30cad5=(_0x55485a=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2d5)])==null?void 0x0:_0x55485a[_0x78eb0(0x3b6)],_0x345681=_0x5ee13b[_0x78eb0(0x286)]==='rtl',_0x5e5102={'background':((_0x3fb00d=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2e8)])==null?void 0x0:_0x3fb00d[_0x78eb0(0x278)])===_0x3f8470['None']?_0x78eb0(0x633):((_0x24c76a=_0x2ff9e7[_0x78eb0(0x36d)][_0x78eb0(0x2e8)])==null?void 0x0:_0x24c76a[_0x78eb0(0x565)])??_0x78eb0(0x633),'borderTop':_0x2ff9e7['row']===0x0?_0x78eb0(0x51e)+((_0x315a04==null?void 0x0:_0x315a04[_0x78eb0(0x565)])??(_0x530d23==null?void 0x0:_0x530d23[_0x78eb0(0x565)])??_0x78eb0(0x633)):void 0x0,'borderRight':_0x345681?_0x2ff9e7[_0x78eb0(0x6ad)]===0x0?_0x78eb0(0x51e)+((_0x30cad5==null?void 0x0:_0x30cad5[_0x78eb0(0x565)])??(_0x530d23==null?void 0x0:_0x530d23[_0x78eb0(0x565)])??_0x78eb0(0x633)):void 0x0:'1px\x20solid\x20'+((_0x3d0803==null?void 0x0:_0x3d0803[_0x78eb0(0x565)])??(_0x530d23==null?void 0x0:_0x530d23[_0x78eb0(0x565)])??_0x78eb0(0x633)),'borderBottom':_0x78eb0(0x51e)+((_0x41ec65==null?void 0x0:_0x41ec65['color'])??(_0x530d23==null?void 0x0:_0x530d23['color'])??_0x78eb0(0x633)),'borderLeft':_0x345681?_0x78eb0(0x51e)+((_0x3d0803==null?void 0x0:_0x3d0803[_0x78eb0(0x565)])??(_0x530d23==null?void 0x0:_0x530d23[_0x78eb0(0x565)])??_0x78eb0(0x633)):_0x2ff9e7[_0x78eb0(0x6ad)]===0x0?_0x78eb0(0x51e)+((_0x30cad5==null?void 0x0:_0x30cad5[_0x78eb0(0x565)])??(_0x530d23==null?void 0x0:_0x530d23[_0x78eb0(0x565)])??_0x78eb0(0x633)):void 0x0};return _0x2c0852(_0x78eb0(0x1f3),{'style':_0x5e5102},_0x2ff9e7['row']+':'+_0x2ff9e7[_0x78eb0(0x6ad)]);})});}const Is=_0x3cd2e0(0x5f4),Ls=_0x3cd2e0(0x5a7),Rs=_0x3cd2e0(0x332);function zs(_0x45e1c0){const _0x280863=_0x3cd2e0;return _0x45e1c0['element'][_0x280863(0x278)]===_0x5ddaa8[_0x280863(0x230)];}function Bs(){const _0x155f86=_0x3cd2e0;let _0x4e03cc=_0x55e2b7(_0x31c1a4),_0x5c219a=_0x55e2b7(_0x50ebf5),_0x3fdbec=_0x55e2b7(_0x50674c),_0xb061dd=_0x55e2b7(_0x1fa43c),_0x31c544=_0x55e2b7(_0x3837ee),_0x5386d4=_0x55e2b7(J),_0x4ea687=()=>{const _0x1b1667=_0x5473;var _0x25f8e0;let _0x328593=_0x3fdbec['getSnapshot'](),_0x15101f=_0x328593[_0x1b1667(0x3ac)];if(!_0x15101f||_0x328593['selectedIds'][_0x1b1667(0x567)]!==0x1)return null;let _0x21388b=_0x5c219a['getDrawingByParam']({'unitId':_0x15101f[_0x1b1667(0x264)],'subUnitId':_0x15101f[_0x1b1667(0x602)],'drawingId':_0x328593['selectedIds'][0x0]});if(!_0x21388b||!zs(_0x21388b))return null;let _0x43a6a8=_0x31c544['getTable'](_0x21388b[_0x1b1667(0x264)],_0x21388b[_0x1b1667(0x1f0)][_0x1b1667(0x37b)]);if(!_0x43a6a8)return null;let _0x46313e=_0x5386d4[_0x1b1667(0x5b1)](),_0x8eb7a1=(_0x46313e==null?void 0x0:_0x46313e[_0x1b1667(0x264)])===_0x21388b[_0x1b1667(0x264)]&&_0x46313e[_0x1b1667(0x602)]===_0x21388b[_0x1b1667(0x602)]&&_0x46313e[_0x1b1667(0x6ec)]===_0x21388b[_0x1b1667(0x193)]&&_0x46313e[_0x1b1667(0x37b)]===_0x21388b[_0x1b1667(0x1f0)][_0x1b1667(0x37b)]?_0x46313e:null,_0x3ad66a=_0x4e03cc['getConfig'](_0x4dedda);return{'drawing':_0x21388b,'editable':(_0x3ad66a==null||(_0x25f8e0=_0x3ad66a[_0x1b1667(0x3ee)])==null?void 0x0:_0x25f8e0[_0x1b1667(0x427)])!==!0x1,'selection':_0x8eb7a1,'table':_0x43a6a8};};return _0x191c45(()=>_0x555e01(_0x3fdbec['state$'],_0x5386d4[_0x155f86(0x312)],_0xb061dd['tableChange$'])[_0x155f86(0x432)](_0x496618(void 0x0),_0x396369(_0x4ea687)),_0x4ea687(),!0x1,[_0x5c219a,_0x3fdbec,_0xb061dd,_0x31c544,_0x5386d4]);}function Vs(_0x234890){const _0x2f9659=_0x3cd2e0;let _0x313ee8=_0x55e2b7(J);return _0x2c0852(_0x2f9659(0x648),{'disabled':_0x234890[_0x2f9659(0x566)],'className':_0x2f9659(0x6c3),'onMouseDownCapture':()=>_0x313ee8[_0x2f9659(0x5f3)](),'onPointerDownCapture':()=>_0x313ee8[_0x2f9659(0x5f3)](),'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':_0x234890[_0x2f9659(0x2cb)]});}function Hs(){const _0x959f3a=_0x3cd2e0;var _0x13189d;let _0x30b143=_0x55e2b7(_0x24e1b6),_0x305a8b=_0x55e2b7(_0x54db7d),_0x504e0e=_0x55e2b7(_0xa87bea),_0x4bda9f=Bs(),[_0x26961e,_0x4a56a4]=_0x18aa5b(!0x1),_0x349bb0=_0x512300(()=>_0x6f0e35(_0xe34a3f=>_0x504e0e[_0x959f3a(0x33d)](_0xe34a3f)),[_0x504e0e]),_0x5a89c1=!(_0x4bda9f!=null&&_0x4bda9f[_0x959f3a(0x658)])||((_0x13189d=_0x4bda9f['selection'])==null?void 0x0:_0x13189d[_0x959f3a(0x1b6)])===_0x959f3a(0x45d),_0xa1a565=_0x138674=>{const _0x2d02e2=_0x959f3a;_0x4bda9f&&!_0x5a89c1&&_0x30b143[_0x2d02e2(0x6af)](_0x5c9d7f['id'],{'unitId':_0x4bda9f[_0x2d02e2(0x538)][_0x2d02e2(0x264)],'tableId':_0x4bda9f[_0x2d02e2(0x38a)]['id'],'patch':{'styleId':_0x138674}});};return _0x2c0852(Vs,{'disabled':_0x5a89c1,'children':_0x2c0852(Cs,{'icon':_0x2c0852(_0x3c03be,{'className':_0x959f3a(0x241)}),'label':_0x305a8b['t'](_0x959f3a(0x625)),'ribbon':!0x0,'open':_0x26961e,'onOpenChange':_0x4a56a4,'children':_0x4bda9f?_0x2c0852(Ns,{'currentStyleId':_0x4bda9f[_0x959f3a(0x38a)]['styleId'],'currentOptions':_0x4bda9f[_0x959f3a(0x38a)][_0x959f3a(0x6ab)]??{},'direction':_0x305a8b[_0x959f3a(0x43c)](),'palette':_0x349bb0,'onApplyTheme':_0x530cba=>{_0xa1a565(_0x530cba),_0x4a56a4(!0x1);},'onChangeOptions':_0x351386=>{const _0x1feeeb=_0x959f3a;_0x4bda9f&&!_0x5a89c1&&_0x30b143['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x4bda9f[_0x1feeeb(0x538)][_0x1feeeb(0x264)],'tableId':_0x4bda9f['table']['id'],'patch':{'options':_0x351386}});}}):null})});}function Us(_0x26adf0){let _0x189be3=_0x55e2b7(_0x24e1b6),_0x223c32=_0x55e2b7(_0x3837ee);return _0x1dab20=>{const _0x3dcabf=_0x5473;var _0x27aa19;let _0x2188f3=_0x26adf0==null||(_0x27aa19=_0x26adf0[_0x3dcabf(0x38b)])==null?void 0x0:_0x27aa19[_0x3dcabf(0x289)][0x0];if(!_0x26adf0||!_0x2188f3)return;let _0xf61320=_0x223c32[_0x3dcabf(0x6c1)](_0x26adf0[_0x3dcabf(0x538)][_0x3dcabf(0x264)],_0x26adf0[_0x3dcabf(0x38a)]['id']);_0xf61320&&_0x189be3['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x26adf0[_0x3dcabf(0x538)][_0x3dcabf(0x264)],'tableId':_0x26adf0[_0x3dcabf(0x38a)]['id'],'patch':_0x1dab20(_0xf61320,_0x2188f3)});};}function Ws(){const _0x4490c1=_0x3cd2e0;let _0x456164=_0x55e2b7(_0x54db7d),_0x1aa2f0=_0x191c45(_0x456164['direction$'],_0x456164[_0x4490c1(0x43c)]()),_0x1f7965=Bs(),_0x2e0311=Us(_0x1f7965),[_0x36c5d1,_0x4d43b4]=_0x18aa5b(null),_0x1417c1=ns(_0x1f7965==null?void 0x0:_0x1f7965[_0x4490c1(0x38a)],(_0x1f7965==null?void 0x0:_0x1f7965[_0x4490c1(0x38b)])??null)[_0x4490c1(0x3d5)],_0x5be014=!(_0x1f7965!=null&&_0x1f7965[_0x4490c1(0x658)])||!_0x1f7965['selection']||_0x1f7965[_0x4490c1(0x38b)]['kind']==='text';return _0x2c0852(Vs,{'disabled':_0x5be014,'children':_0x12e0bf('div',{'className':_0x4490c1(0x67a),'children':[_0x2c0852(ss,{'color':_0x1417c1[_0x4490c1(0x3c6)],'value':Mo(_0x1417c1['backgroundFill']),'gradientValue':Io(_0x1417c1[_0x4490c1(0x2ad)],_0x1417c1[_0x4490c1(0x3c6)]),'previewStyle':Ro(_0x1417c1[_0x4490c1(0x2ad)],_0x1417c1[_0x4490c1(0x3c6)]),'showPreview':!0x1,'tableFill':_0x1417c1['backgroundFill'],'mixed':!!_0x1417c1['mixed'][_0x4490c1(0x2ad)],'open':_0x36c5d1===_0x4490c1(0x44f),'onOpenChange':_0xa081e2=>_0x4d43b4(_0xa081e2?_0x4490c1(0x44f):null),'onTableFillChange':_0x209ae5=>_0x2e0311((_0x402c19,_0x10f925)=>gi(_0x402c19,_0x10f925,_0x209ae5)),'children':_0x2c0852(_0x4888da,{'extend':{'colorChannel1':_0x1417c1[_0x4490c1(0x3c6)]}})}),_0x2c0852(ws,{'direction':_0x1aa2f0,'color':_0x1417c1[_0x4490c1(0x4b9)],'width':_0x1417c1['borderWidth'],'dash':_0x1417c1[_0x4490c1(0x474)]??_0x138dfb[_0x4490c1(0x199)],'presets':hs,'open':_0x36c5d1===_0x4490c1(0x609),'mixed':!!(_0x1417c1[_0x4490c1(0x688)][_0x4490c1(0x4b9)]||_0x1417c1['mixed'][_0x4490c1(0x1c4)]||_0x1417c1[_0x4490c1(0x688)][_0x4490c1(0x474)]),'onOpenChange':_0x318c3a=>_0x4d43b4(_0x318c3a?_0x4490c1(0x609):null),'onSelectPreset':_0x377ba7=>_0x2e0311((_0x177afa,_0x523215)=>bi(_0x177afa,_0x523215,_0x377ba7)),'onChangeColor':_0x466d07=>_0x2e0311((_0x3f00c1,_0x14bab8)=>yi(_0x3f00c1,_0x14bab8,{'color':_0x466d07})),'onChangeWidth':_0x10e6fd=>_0x2e0311((_0x13e55e,_0x46e665)=>yi(_0x13e55e,_0x46e665,{'width':_0x10e6fd,'dash':_0x10e6fd===0x0?_0x138dfb[_0x4490c1(0x291)]:void 0x0})),'onChangeDash':_0xd4171f=>_0x2e0311((_0x1b735c,_0x16de88)=>yi(_0x1b735c,_0x16de88,{'dash':_0xd4171f}))})]})});}function Gs(_0x4c081f){const _0x12b6f0=_0x3cd2e0;return _0x2c0852(_0xb5e71d,{'title':_0x4c081f[_0x12b6f0(0x4d3)],'placement':_0x12b6f0(0x5fd),'children':_0x2c0852(_0x12b6f0(0x251),{'type':_0x12b6f0(0x251),'aria-label':_0x4c081f[_0x12b6f0(0x4d3)],'aria-pressed':_0x4c081f[_0x12b6f0(0x688)]?_0x12b6f0(0x688):_0x4c081f[_0x12b6f0(0x325)],'onClick':_0x4c081f[_0x12b6f0(0x689)],'onMouseDown':_0xb721d8=>_0xb721d8['preventDefault'](),'className':_0x2cb544('univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20hover:univer-text-primary-600\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',(_0x4c081f[_0x12b6f0(0x325)]||_0x4c081f[_0x12b6f0(0x688)])&&'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300'),'children':_0x4c081f[_0x12b6f0(0x2cb)]})});}function Ks(_0x521075){const _0x4f5714=_0x3cd2e0;let [_0xb0c46,_0x5a482c]=_0x18aa5b(!0x1),_0x226dda=_0x521075[_0x4f5714(0x6ab)][_0x4f5714(0x587)](_0x341ccc=>_0x341ccc[_0x4f5714(0x1bc)]===_0x521075[_0x4f5714(0x1bc)])??_0x521075[_0x4f5714(0x6ab)][0x0];return _0x2c0852(_0x1ada0f,{'open':_0xb0c46,'onOpenChange':_0x5a482c,'side':'bottom','avoidCollisions':!0x0,'overlay':_0x2c0852('div',{'className':'univer-flex\x20univer-flex-col\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':_0x521075[_0x4f5714(0x6ab)][_0x4f5714(0x37f)](_0x3d6bf8=>_0x12e0bf(_0x4f5714(0x251),{'type':_0x4f5714(0x251),'aria-label':_0x3d6bf8[_0x4f5714(0x4b5)],'aria-pressed':_0x3d6bf8[_0x4f5714(0x1bc)]===_0x521075[_0x4f5714(0x1bc)],'className':_0x2cb544(_0x4f5714(0x292),_0x3d6bf8[_0x4f5714(0x1bc)]===_0x521075['value']&&_0x4f5714(0x380)),'onClick':()=>{const _0x2610a9=_0x4f5714;_0x521075[_0x2610a9(0x5e6)](_0x3d6bf8[_0x2610a9(0x1bc)]),_0x5a482c(!0x1);},'onMouseDown':_0x519d4a=>_0x519d4a[_0x4f5714(0x2ac)](),'children':[_0x2c0852(_0x4f5714(0x1f3),{'className':_0x4f5714(0x66e),'children':_0x3d6bf8[_0x4f5714(0x2a1)]}),_0x2c0852(_0x4f5714(0x1f3),{'children':_0x3d6bf8[_0x4f5714(0x4b5)]})]},_0x3d6bf8[_0x4f5714(0x1bc)]))}),'children':_0x2c0852(_0x4f5714(0x1f3),{'children':_0x2c0852(_0xb5e71d,{'title':_0x226dda==null?void 0x0:_0x226dda['label'],'placement':_0x4f5714(0x5fd),'children':_0x12e0bf('button',{'type':_0x4f5714(0x251),'aria-expanded':_0xb0c46,'aria-label':_0x226dda==null?void 0x0:_0x226dda[_0x4f5714(0x4b5)],'className':_0x2cb544(_0x4f5714(0x2be),(_0xb0c46||_0x521075[_0x4f5714(0x688)])&&_0x4f5714(0x380)),'onMouseDown':_0x1108fc=>_0x1108fc[_0x4f5714(0x2ac)](),'children':[_0x521075['mixed']?_0x2c0852('span',{'aria-hidden':_0x4f5714(0x5b5),'children':'—'}):_0x226dda==null?void 0x0:_0x226dda[_0x4f5714(0x2a1)],_0x2c0852(_0x4ce851,{'className':_0x4f5714(0x185)})]})})})});}function qs(_0x1fd74f){const _0x4f8da9=_0x3cd2e0;let [_0xb30d98,_0x3c6cb5]=_0x18aa5b(!0x1);return _0x12e0bf(_0x4f8da9(0x6d2),{'className':_0x4f8da9(0x43a),'children':[_0x2c0852(Gs,{'active':_0x1fd74f[_0x4f8da9(0x325)],'mixed':_0x1fd74f['mixed'],'title':_0x1fd74f['title'],'onClick':_0x1fd74f[_0x4f8da9(0x283)],'children':_0x1fd74f[_0x4f8da9(0x2a1)]}),_0x2c0852(_0x1ada0f,{'open':_0xb30d98,'onOpenChange':_0x3c6cb5,'side':_0x4f8da9(0x5fd),'avoidCollisions':!0x0,'overlay':_0x1fd74f[_0x4f8da9(0x28e)](()=>_0x3c6cb5(!0x1)),'children':_0x2c0852(_0x4f8da9(0x251),{'type':_0x4f8da9(0x251),'aria-expanded':_0xb30d98,'aria-label':_0x1fd74f[_0x4f8da9(0x4d3)],'className':_0x2cb544(_0x4f8da9(0x1b1),_0xb30d98&&_0x4f8da9(0x380)),'onMouseDown':_0x2434c2=>_0x2434c2['preventDefault'](),'children':_0x2c0852(_0x4ce851,{})})})]});}function Js(_0x21aa5a,_0x2ce676){const _0x1054f0=_0x3cd2e0;let _0xecc90f=_0x55baa6[_0x1054f0(0x37f)](_0x346302=>_0x346302['value']);return _0x2ce676>0x0?_0xecc90f[_0x1054f0(0x587)](_0x314dd4=>_0x314dd4>_0x21aa5a)??_0xecc90f[_0xecc90f[_0x1054f0(0x567)]-0x1]??_0x21aa5a:[..._0xecc90f]['reverse']()[_0x1054f0(0x587)](_0x46f7ab=>_0x46f7ab<_0x21aa5a)??_0xecc90f[0x0]??_0x21aa5a;}function Ys(){const _0xc70efd=_0x3cd2e0;var _0x2b22a3;let _0x23d2bb=_0x55e2b7(_0x54db7d),_0x3d3fd9=Bs(),_0x50dfbe=Us(_0x3d3fd9),[_0x23259f,_0x4376c3]=_0x18aa5b(null),_0x1e8b57=ns(_0x3d3fd9==null?void 0x0:_0x3d3fd9[_0xc70efd(0x38a)],(_0x3d3fd9==null?void 0x0:_0x3d3fd9[_0xc70efd(0x38b)])??null)['values'],_0x33d114=!(_0x3d3fd9!=null&&_0x3d3fd9[_0xc70efd(0x658)])||!_0x3d3fd9[_0xc70efd(0x38b)],_0x29755b=[{'label':_0x23d2bb['t'](_0xc70efd(0x342)),'value':_0x213d9e[_0xc70efd(0x5c8)],'icon':_0x2c0852(_0x232c1f,{})},{'label':_0x23d2bb['t'](_0xc70efd(0x4d8)),'value':_0x213d9e[_0xc70efd(0x3ae)],'icon':_0x2c0852(_0x58b40b,{})},{'label':_0x23d2bb['t'](_0xc70efd(0x161)),'value':_0x213d9e['RIGHT'],'icon':_0x2c0852(_0x74ac65,{})},{'label':_0x23d2bb['t']('slides-table-ui.editorToolbar.alignJustify'),'value':_0x213d9e[_0xc70efd(0x314)],'icon':_0x2c0852(_0x4b8b82,{})}],_0x2094e7=[{'label':_0x23d2bb['t'](_0xc70efd(0x48c)),'value':_0x456b59[_0xc70efd(0x448)],'icon':_0x2c0852(_0xefa4f0,{})},{'label':_0x23d2bb['t']('slides-table-ui.editorToolbar.alignMiddle'),'value':_0x456b59[_0xc70efd(0x3e4)],'icon':_0x2c0852(_0xbea59a,{})},{'label':_0x23d2bb['t'](_0xc70efd(0x16b)),'value':_0x456b59[_0xc70efd(0x607)],'icon':_0x2c0852(_0xe02021,{})}],_0x570656=_0x3d3fd9==null||(_0x2b22a3=_0x3d3fd9['selection'])==null?void 0x0:_0x2b22a3[_0xc70efd(0x289)][0x0],_0x4e92b1=pi(_0x3d3fd9==null?void 0x0:_0x3d3fd9[_0xc70efd(0x38a)],_0x570656,_0x1f0354[_0xc70efd(0x476)]),_0x44d612=pi(_0x3d3fd9==null?void 0x0:_0x3d3fd9['table'],_0x570656,_0x1f0354['BULLET_LIST']),_0x210650=[{'key':_0xc70efd(0x56e),'title':_0x23d2bb['t'](_0xc70efd(0x52d)),'active':_0x1e8b57[_0xc70efd(0x56e)],'mixed':!!_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x56e)],'icon':_0x2c0852(_0x1e2a9e,{}),'patch':{'bl':_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x56e)]||!_0x1e8b57[_0xc70efd(0x56e)]?_0x3953dc[_0xc70efd(0x425)]:_0x3953dc[_0xc70efd(0x646)]}},{'key':_0xc70efd(0x58f),'title':_0x23d2bb['t'](_0xc70efd(0x1ea)),'active':_0x1e8b57[_0xc70efd(0x58f)],'mixed':!!_0x1e8b57['mixed'][_0xc70efd(0x58f)],'icon':_0x2c0852(_0xbdb01a,{}),'patch':{'it':_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x58f)]||!_0x1e8b57['italic']?_0x3953dc['TRUE']:_0x3953dc['FALSE']}},{'key':_0xc70efd(0x267),'title':_0x23d2bb['t'](_0xc70efd(0x645)),'active':_0x1e8b57[_0xc70efd(0x267)],'mixed':!!_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x267)],'icon':_0x2c0852(_0x2a4a21,{}),'patch':{'ul':{'s':_0x1e8b57['mixed']['underline']||!_0x1e8b57[_0xc70efd(0x267)]?_0x3953dc[_0xc70efd(0x425)]:_0x3953dc[_0xc70efd(0x646)]}}},{'key':_0xc70efd(0x34d),'title':_0x23d2bb['t'](_0xc70efd(0x3d1)),'active':_0x1e8b57['strike'],'mixed':!!_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x461)],'icon':_0x2c0852(_0x5e47b0,{}),'patch':{'st':{'s':_0x1e8b57['mixed']['strike']||!_0x1e8b57['strike']?_0x3953dc[_0xc70efd(0x425)]:_0x3953dc['FALSE']}}}];return _0x2c0852(Vs,{'disabled':_0x33d114,'children':_0x12e0bf(_0xc70efd(0x6d2),{'className':'univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2','children':[_0x12e0bf(_0xc70efd(0x6d2),{'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','children':[_0x2c0852(_0x53761e,{'ariaLabel':_0x23d2bb['t'](_0xc70efd(0x226)),'className':_0xc70efd(0x541),'inputClassName':_0xc70efd(0x4af),'value':_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x46b)]?'':_0x1e8b57[_0xc70efd(0x46b)],'onChange':_0x3f2deb=>_0x50dfbe((_0x34179f,_0x4375f5)=>xi(_0x34179f,_0x4375f5,_0x3f2deb))}),_0x12e0bf(_0xc70efd(0x6d2),{'className':_0xc70efd(0x617),'children':[_0x2c0852(Os,{'title':_0x23d2bb['t'](_0xc70efd(0x620)),'widthClassName':_0xc70efd(0x319),'value':_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x377)]?'':String(_0x1e8b57[_0xc70efd(0x377)]),'options':_0x1e8b57[_0xc70efd(0x688)][_0xc70efd(0x377)]?[{'label':'—','value':''},...fs]:Vo(fs,String(_0x1e8b57[_0xc70efd(0x377)])),'onChange':_0x449c70=>{const _0x77f090=_0xc70efd;let _0x2c1992=Number(_0x449c70);_0x449c70&&!Number[_0x77f090(0x3c5)](_0x2c1992)&&_0x50dfbe((_0x3af88d,_0x291ccc)=>Si(_0x3af88d,_0x291ccc,_0x2c1992));}}),_0x2c0852(Gs,{'title':_0x23d2bb['t']('slides-table-ui.editorToolbar.increaseFontSize'),'onClick':()=>_0x50dfbe((_0x738b0,_0x4eb9ad)=>Si(_0x738b0,_0x4eb9ad,Js(_0x1e8b57[_0xc70efd(0x377)],0x1))),'children':_0x2c0852(_0x4f7aa1,{})}),_0x2c0852(Gs,{'title':_0x23d2bb['t'](_0xc70efd(0x67e)),'onClick':()=>_0x50dfbe((_0x4405ca,_0x2eb65f)=>Si(_0x4405ca,_0x2eb65f,Js(_0x1e8b57[_0xc70efd(0x377)],-0x1))),'children':_0x2c0852(_0x3589c5,{})})]})]}),_0x2c0852(_0xc70efd(0x6d2),{'className':_0xc70efd(0x501),'children':_0x210650[_0xc70efd(0x37f)](_0x31ca8c=>_0x2c0852(Gs,{'title':_0x31ca8c[_0xc70efd(0x4d3)],'active':_0x31ca8c[_0xc70efd(0x325)],'mixed':_0x31ca8c[_0xc70efd(0x688)],'onClick':()=>_0x50dfbe((_0x45bf98,_0x532d6d)=>Li(_0x45bf98,_0x532d6d,_0x31ca8c['patch'])),'children':_0x31ca8c['icon']},_0x31ca8c['key']))}),_0x12e0bf(_0xc70efd(0x6d2),{'className':_0xc70efd(0x29d),'children':[_0x2c0852(Es,{'data-toolbar-item':_0xc70efd(0x36c),'title':_0x23d2bb['t'](_0xc70efd(0x36b)),'color':_0x1e8b57['textColor'],'mixed':!!(_0x1e8b57[_0xc70efd(0x688)]['textColor']||_0x1e8b57[_0xc70efd(0x688)]['textFill']),'icon':_0xc70efd(0x178),'open':_0x23259f===_0xc70efd(0x458),'onOpenChange':_0x33e316=>_0x4376c3(_0x33e316?_0xc70efd(0x458):null),'onChange':_0x1c8617=>_0x50dfbe((_0x2445fa,_0x2c0711)=>vi(_0x2445fa,_0x2c0711,{'type':_0xc70efd(0x27f),'color':_0x1c8617,'opacity':0x1}))}),_0x2c0852(Es,{'data-toolbar-item':_0xc70efd(0x6de),'title':_0x23d2bb['t'](_0xc70efd(0x5eb)),'color':_0x1e8b57['textBackgroundColor'],'mixed':!!_0x1e8b57['mixed'][_0xc70efd(0x273)],'icon':_0xc70efd(0x606),'open':_0x23259f===_0xc70efd(0x375),'onOpenChange':_0x5e8cd9=>_0x4376c3(_0x5e8cd9?_0xc70efd(0x375):null),'onChange':_0x371782=>_0x50dfbe((_0x1fb87b,_0x592922)=>Li(_0x1fb87b,_0x592922,{'bg':{'rgb':_0x371782}}))})]}),_0x12e0bf(_0xc70efd(0x6d2),{'className':_0xc70efd(0x563),'children':[_0x2c0852(Ks,{'options':_0x29755b,'value':_0x1e8b57['horizontalAlign'],'mixed':!!_0x1e8b57['mixed'][_0xc70efd(0x25f)],'onChange':_0x218879=>_0x50dfbe((_0x1a4bd6,_0x22d092)=>di(_0x1a4bd6,_0x22d092,{'axis':_0xc70efd(0x4de),'value':_0x218879}))}),_0x2c0852(qs,{'title':_0x23d2bb['t']('slides-table-ui.editorToolbar.orderedList'),'icon':_0x2c0852(_0x145830,{}),'active':_0x4e92b1[_0xc70efd(0x325)],'mixed':_0x4e92b1[_0xc70efd(0x688)],'onToggle':()=>_0x50dfbe((_0x3b67dc,_0xb4a14a)=>fi(_0x3b67dc,_0xb4a14a,_0x4e92b1[_0xc70efd(0x325)]?null:_0x1f0354[_0xc70efd(0x476)])),'picker':_0x573f2e=>_0x2c0852(_0x22d8f1,{'value':_0x4e92b1[_0xc70efd(0x1bc)],'onChange':_0x2a33ae=>{_0x2a33ae&&(_0x50dfbe((_0x269436,_0x8b68e1)=>fi(_0x269436,_0x8b68e1,_0x2a33ae)),_0x573f2e());}})}),_0x2c0852(Ks,{'options':_0x2094e7,'value':_0x1e8b57[_0xc70efd(0x68c)],'mixed':!!_0x1e8b57['mixed'][_0xc70efd(0x68c)],'onChange':_0x21d66e=>_0x50dfbe((_0x40f76d,_0x5cac0f)=>di(_0x40f76d,_0x5cac0f,{'axis':_0xc70efd(0x3d4),'value':_0x21d66e}))}),_0x2c0852(qs,{'title':_0x23d2bb['t'](_0xc70efd(0x216)),'icon':_0x2c0852(_0x5f0db4,{}),'active':_0x44d612[_0xc70efd(0x325)],'mixed':_0x44d612[_0xc70efd(0x688)],'onToggle':()=>_0x50dfbe((_0x5a5322,_0x4f97b3)=>fi(_0x5a5322,_0x4f97b3,_0x44d612[_0xc70efd(0x325)]?null:_0x1f0354[_0xc70efd(0x321)])),'picker':_0x5da7ea=>_0x2c0852(_0x41d570,{'value':_0x44d612[_0xc70efd(0x1bc)],'onChange':_0x592052=>{_0x592052&&(_0x50dfbe((_0xf1ed80,_0x531d6b)=>fi(_0xf1ed80,_0x531d6b,_0x592052)),_0x5da7ea());}})})]})]})});}let Xs=class extends _0x166661{constructor(_0x394657,_0x94a57f){const _0x42e826=_0x3cd2e0;super(),this[_0x42e826(0x6da)]=_0x394657,this[_0x42e826(0x60c)]=_0x94a57f,this[_0x42e826(0x544)](this['_iconManager'][_0x42e826(0x4c6)]({'AdjustHeightDoubleIcon':_0xeccbfc,'AdjustWidthDoubleIcon':_0x3cd1e4,'CancelMergeIcon':_0x36ae53,'DeleteColumnDoubleIcon':_0xc7c8ac,'DeleteRowDoubleIcon':_0x539fb9,'InsertRowAboveDoubleIcon':_0x1de59d,'InsertRowBelowDoubleIcon':_0x53d5a9,'LeftInsertColumnDoubleIcon':_0x1296ab,'MergeAllIcon':_0x95c20,'RightInsertColumnDoubleIcon':_0x3a80a5,'TableIcon':_0x3de5d6})),this[_0x42e826(0x544)](this[_0x42e826(0x6da)][_0x42e826(0x4c6)](ho,yo)),this[_0x42e826(0x544)](this[_0x42e826(0x6da)][_0x42e826(0x4c6)](io,vo)),this[_0x42e826(0x544)](this[_0x42e826(0x6da)]['register'](Is,Hs)),this['disposeWithMe'](this[_0x42e826(0x6da)][_0x42e826(0x4c6)](Ls,Ws)),this[_0x42e826(0x544)](this[_0x42e826(0x6da)][_0x42e826(0x4c6)](Rs,Ys));}};Xs=Ha([Q(0x0,_0x3caafe(_0x57c4ba)),Q(0x1,_0x3caafe(_0x50ca23))],Xs);function Zs(_0x4b7cb1,_0x37c33a,_0x1bb63e){const _0x3d03c2=_0x3cd2e0;if(_0x37c33a<0x0||_0x1bb63e<0x0||_0x37c33a>_0x4b7cb1[_0x3d03c2(0x172)]||_0x1bb63e>_0x4b7cb1[_0x3d03c2(0x276)])return null;let _0x530f5b=_0x4b7cb1['cells'][_0x3d03c2(0x587)](_0x219a85=>!_0x219a85[_0x3d03c2(0x50f)]&&Qs(_0x219a85,_0x37c33a,_0x1bb63e));return _0x530f5b?{'kind':_0x3d03c2(0x6cc),'row':_0x530f5b[_0x3d03c2(0x3a3)],'column':_0x530f5b[_0x3d03c2(0x6ad)]}:null;}function Qs(_0xa3bde2,_0x2da478,_0x3b4742){const _0x3cae2c=_0x3cd2e0;return _0x2da478>=_0xa3bde2[_0x3cae2c(0x335)][_0x3cae2c(0x3b6)]&&_0x2da478<=_0xa3bde2[_0x3cae2c(0x335)]['left']+_0xa3bde2['bounds']['width']&&_0x3b4742>=_0xa3bde2['bounds']['top']&&_0x3b4742<=_0xa3bde2[_0x3cae2c(0x335)][_0x3cae2c(0x649)]+_0xa3bde2[_0x3cae2c(0x335)][_0x3cae2c(0x276)];}function $s(_0x34dc57){const _0x587c69=_0x3cd2e0;var _0x305d8b;let {selection:_0x4e01e2,table:_0x586f67,tableHeight:_0x4b2e0e,tableWidth:_0x401162}=_0x34dc57,_0x5710b1=_0x4e01e2==null?void 0x0:_0x4e01e2[_0x587c69(0x289)][0x0];if(!_0x4e01e2||!_0x586f67||!_0x5710b1)return null;let _0x556216=_0x4e01e2[_0x587c69(0x640)]??_0x4e01e2[_0x587c69(0x352)]??dc(_0x5710b1);if(!_0x556216)return null;let _0x230f65=_0x237cc5(_0x586f67),_0x5919aa=_0x230f65[_0x587c69(0x329)]['find'](_0x4cfc0b=>!_0x4cfc0b[_0x587c69(0x50f)]&&_0x4cfc0b[_0x587c69(0x3a3)]===_0x556216[_0x587c69(0x3a3)]&&_0x4cfc0b[_0x587c69(0x6ad)]===_0x556216['column'])??_0x230f65['cells'][_0x587c69(0x587)](_0x23b17e=>!_0x23b17e[_0x587c69(0x50f)]&&_0x556216[_0x587c69(0x3a3)]>=_0x23b17e[_0x587c69(0x3a3)]&&_0x556216['row']<_0x23b17e[_0x587c69(0x3a3)]+_0x23b17e[_0x587c69(0x5c0)]&&_0x556216[_0x587c69(0x6ad)]>=_0x23b17e['column']&&_0x556216[_0x587c69(0x6ad)]<_0x23b17e[_0x587c69(0x6ad)]+_0x23b17e[_0x587c69(0x457)]);if(!_0x5919aa)return null;let _0x1fcb80=mc(_0x401162/_0x230f65[_0x587c69(0x172)],0x1),_0x129c67=mc(_0x4b2e0e/_0x230f65[_0x587c69(0x276)],0x1),_0x105ee5=(_0x305d8b=_0x586f67[_0x587c69(0x400)][_0x5919aa[_0x587c69(0x3a3)]])==null?void 0x0:_0x305d8b[_0x587c69(0x329)][_0x5919aa['column']];return{'row':_0x5919aa[_0x587c69(0x3a3)],'column':_0x5919aa['column'],'cellStyle':_0x5919aa['style'],'rect':fc({'left':_0x5919aa['bounds'][_0x587c69(0x3b6)]*_0x1fcb80,'top':_0x5919aa['bounds']['top']*_0x129c67,'width':_0x5919aa[_0x587c69(0x335)][_0x587c69(0x172)]*_0x1fcb80,'height':_0x5919aa[_0x587c69(0x335)][_0x587c69(0x276)]*_0x129c67},_0x5919aa[_0x587c69(0x36d)][_0x587c69(0x2db)]),'documentData':ic(_0x105ee5==null?void 0x0:_0x105ee5[_0x587c69(0x4eb)],uc(_0x586f67['id'],_0x5919aa['row'],_0x5919aa[_0x587c69(0x6ad)]))};}function ec(_0x5883c2,_0x9acc51,_0x23d494,_0x33802c=''){return ic({'id':uc(_0x5883c2,_0x9acc51,_0x23d494),'body':{'dataStream':_0x33802c+'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}},uc(_0x5883c2,_0x9acc51,_0x23d494));}function tc(_0x31ed35,_0x363f88){const _0x5721ee=_0x3cd2e0;var _0x4bed04;let _0x5473fe=_0x363f88[_0x5721ee(0x33b)](/\r\n/g,'\x0d')[_0x5721ee(0x33b)](/\n/g,'\x0d')+'\x0d\x0a',_0x4b27cc=Math[_0x5721ee(0x379)](0x0,_0x5473fe[_0x5721ee(0x567)]-0x2),_0x531ae1=(_0x4bed04=_0x31ed35[_0x5721ee(0x15e)])==null||(_0x4bed04=_0x4bed04[_0x5721ee(0x4ef)])==null||(_0x4bed04=_0x4bed04[_0x5721ee(0x587)](_0x49de51=>_0x49de51['ts']))==null?void 0x0:_0x4bed04['ts'];return ic({..._0x43911b[_0x5721ee(0x4a2)](_0x31ed35),'body':{..._0x31ed35[_0x5721ee(0x15e)],'dataStream':_0x5473fe,'paragraphs':ac(_0x5473fe),'textRuns':_0x531ae1&&_0x4b27cc>0x0?[{'st':0x0,'ed':_0x4b27cc,'ts':{..._0x531ae1}}]:[]}},_0x31ed35['id']??_0x5721ee(0x4cc));}function nc(_0x15f64c){const _0x4f1c98=_0x3cd2e0;var _0x19565f,_0x347789;let {rect:_0x5c2827,scenePointToViewportPoint:_0x2120e2,tableTransform:_0x43dfb9}=_0x15f64c,_0x1dc73c=pc(_0x43dfb9[_0x4f1c98(0x3b6)],0x0),_0x18b8f5=pc(_0x43dfb9[_0x4f1c98(0x649)],0x0),_0x5867e5=mc(_0x43dfb9[_0x4f1c98(0x172)],0x1),_0x53d79b=mc(_0x43dfb9[_0x4f1c98(0x276)],0x1),_0x21fdb6=mc(_0x5c2827[_0x4f1c98(0x172)],0x1),_0x37d585=mc(_0x5c2827[_0x4f1c98(0x276)],0x1),_0x102289=_0x5c2827[_0x4f1c98(0x3b6)]+_0x21fdb6/0x2-_0x5867e5/0x2,_0x3e6375=_0x5c2827['top']+_0x37d585/0x2-_0x53d79b/0x2,_0x43c123=pc(_0x43dfb9[_0x4f1c98(0x2fe)],0x0)*Math['PI']/0xb4,_0x1ee605=_0x102289*Math['cos'](_0x43c123)-_0x3e6375*Math[_0x4f1c98(0x4e7)](_0x43c123),_0x33893c=_0x102289*Math[_0x4f1c98(0x4e7)](_0x43c123)+_0x3e6375*Math[_0x4f1c98(0x24f)](_0x43c123),_0x37e1f8=_0x2120e2({'x':_0x1dc73c+_0x5867e5/0x2+_0x1ee605,'y':_0x18b8f5+_0x53d79b/0x2+_0x33893c});return{'rect':{'left':_0x37e1f8['x']-_0x21fdb6/0x2,'top':_0x37e1f8['y']-_0x37d585/0x2,'width':_0x21fdb6,'height':_0x37d585},'scale':{'scaleX':mc((_0x19565f=_0x15f64c[_0x4f1c98(0x570)])==null?void 0x0:_0x19565f[_0x4f1c98(0x417)],0x1),'scaleY':mc((_0x347789=_0x15f64c[_0x4f1c98(0x570)])==null?void 0x0:_0x347789['scaleY'],0x1)},'transform':{'angle':0x0,'flipX':!0x1,'flipY':_0x43dfb9[_0x4f1c98(0x449)]}};}function rc(_0x2b7398,_0x5a5bba,_0x24a05e){const _0x2e7191=_0x3cd2e0;return _0x2b7398?{'commandId':_0x24a05e,'params':{'unitId':_0x2b7398['unitId'],'tableId':_0x2b7398[_0x2e7191(0x37b)],'row':_0x2b7398[_0x2e7191(0x3a3)],'column':_0x2b7398[_0x2e7191(0x6ad)],'textData':_0x5a5bba}}:null;}function ic(_0x39b69c,_0x1566d2){const _0x34edea=_0x3cd2e0;var _0x25c69c,_0x262af8,_0x3069d9,_0x49dc31,_0x3739a4;let _0x409171=_0x15d561(_0x43911b[_0x34edea(0x4a2)](_0x39b69c??{'id':_0x1566d2,'body':{'dataStream':'\x0d\x0a','paragraphs':[lc()],'textRuns':[]},'documentStyle':{}})),_0x4f9d3a=((_0x25c69c=_0x409171[_0x34edea(0x15e)])==null?void 0x0:_0x25c69c['dataStream'])??'\x0d\x0a',_0x13e88c=(_0x262af8=_0x409171['documentStyle'])==null||(_0x262af8=_0x262af8['renderConfig'])==null?void 0x0:_0x262af8['horizontalAlign'],_0x2baaf7={..._0x409171[_0x34edea(0x15e)],'dataStream':_0x4f9d3a,'paragraphs':oc(cc((_0x3069d9=_0x409171['body'])!=null&&(_0x3069d9=_0x3069d9['paragraphs'])!=null&&_0x3069d9[_0x34edea(0x567)]?_0x409171[_0x34edea(0x15e)][_0x34edea(0x2d4)]:ac(_0x4f9d3a)),_0x13e88c),'textRuns':sc(((_0x49dc31=_0x409171[_0x34edea(0x15e)])==null?void 0x0:_0x49dc31['textRuns'])??[])},_0x5bdbec=_0x409171[_0x34edea(0x424)]?{..._0x409171[_0x34edea(0x424)]}:{};return(_0x3739a4=_0x5bdbec[_0x34edea(0x349)])!=null&&_0x3739a4['bg']&&(_0x5bdbec[_0x34edea(0x349)]={..._0x5bdbec[_0x34edea(0x349)]},delete _0x5bdbec[_0x34edea(0x349)]['bg']),{..._0x409171,'id':_0x409171['id']??_0x1566d2,'body':_0x2baaf7,'documentStyle':{..._0x5bdbec,'documentFlavor':_0x4cebe4['UNSPECIFIED']}};}function ac(_0x3c0e8a){const _0x12377e=_0x3cd2e0;let _0x1e2dcf=Math['max'](0x1,_0x3c0e8a[_0x12377e(0x697)]('\x0d')['length']-0x1),_0x56d682=0x0;return Array['from']({'length':_0x1e2dcf},()=>{const _0x2746e9=_0x12377e;let _0x15dcc0=lc(_0x56d682),_0x4c9f60=_0x3c0e8a[_0x2746e9(0x1fd)]('\x0d',_0x56d682);return _0x56d682=_0x4c9f60>=0x0?_0x4c9f60+0x1:_0x3c0e8a[_0x2746e9(0x567)],_0x15dcc0;});}function oc(_0x69f089,_0x39f605){const _0x3a9851=_0x3cd2e0;return _0x39f605===void 0x0?_0x69f089:_0x69f089['map'](_0x115484=>({..._0x115484,'paragraphStyle':{..._0x115484[_0x3a9851(0x3ea)],'horizontalAlign':_0x39f605}}));}function sc(_0xa57c7d){const _0xc8a81c=_0x3cd2e0;return _0xa57c7d[_0xc8a81c(0x37f)](_0x55fce3=>{var _0x353aa2;if(!((_0x353aa2=_0x55fce3['ts'])!=null&&_0x353aa2['bg']))return _0x55fce3;let _0x4bee1a={..._0x55fce3['ts']};return delete _0x4bee1a['bg'],{..._0x55fce3,'ts':_0x4bee1a};});}function cc(_0x28cf20){const _0x9e02bb=_0x3cd2e0;return _0x28cf20!=null&&_0x28cf20[_0x9e02bb(0x567)]?_0x28cf20[_0x9e02bb(0x37f)]((_0x34335f,_0x286e2b)=>({..._0x34335f,'startIndex':typeof _0x34335f[_0x9e02bb(0x47f)]=='number'?_0x34335f[_0x9e02bb(0x47f)]:_0x286e2b,'paragraphId':_0x34335f[_0x9e02bb(0x464)]??_0x2e008c(new Set())})):[lc()];}function lc(_0xfcbcd8=0x0){return{'startIndex':_0xfcbcd8,'paragraphId':_0x2e008c(new Set())};}function uc(_0x2cceb2,_0x427b57,_0x284b46){const _0x3576ea=_0x3cd2e0;return _0x3576ea(0x5a9)+_0x2cceb2+'_'+_0x427b57+'_'+_0x284b46;}function dc(_0x22cae9){const _0x407679=_0x3cd2e0;let _0x129ecb=_0x21e29d(_0x22cae9);return{'row':_0x129ecb[_0x407679(0x290)],'column':_0x129ecb[_0x407679(0x4dd)]};}function fc(_0x78ca74,_0x29f17b){const _0x7e542e=_0x3cd2e0;let _0x2044f7=pc(_0x29f17b==null?void 0x0:_0x29f17b[_0x7e542e(0x3b6)],0x4),_0x432c08=pc(_0x29f17b==null?void 0x0:_0x29f17b[_0x7e542e(0x3ec)],0x4),_0x530f25=pc(_0x29f17b==null?void 0x0:_0x29f17b[_0x7e542e(0x649)],0x4),_0xaa6ab4=pc(_0x29f17b==null?void 0x0:_0x29f17b[_0x7e542e(0x5fd)],0x4);return{'left':_0x78ca74['left']+_0x2044f7,'top':_0x78ca74['top']+_0x530f25,'width':Math[_0x7e542e(0x379)](0x1,_0x78ca74[_0x7e542e(0x172)]-_0x2044f7-_0x432c08),'height':Math[_0x7e542e(0x379)](0x1,_0x78ca74[_0x7e542e(0x276)]-_0x530f25-_0xaa6ab4)};}function pc(_0x121e71,_0x53bb9b){const _0x39712c=_0x3cd2e0;return typeof _0x121e71==_0x39712c(0x59d)&&Number[_0x39712c(0x2cd)](_0x121e71)?_0x121e71:_0x53bb9b;}function mc(_0x4baae4,_0x4690fd){let _0x2fecaf=pc(_0x4baae4,_0x4690fd);return _0x2fecaf>0x0?_0x2fecaf:Math['max'](0x1,_0x4690fd);}function hc(_0x246a95){return _0x246a95===!0x0||_0x246a95===0x1;}function gc(_0x6ea436){const _0x19a73f=_0x3cd2e0;return typeof(_0x6ea436==null?void 0x0:_0x6ea436[_0x19a73f(0x2b1)])==_0x19a73f(0x5a0)&&_0x6ea436[_0x19a73f(0x2b1)][_0x19a73f(0x337)]()[_0x19a73f(0x567)]>0x0;}function _c(_0x41bec4,_0x590311){const _0x825c2e=_0x3cd2e0;let _0x19da53=_0x41bec4==null?void 0x0:_0x41bec4[_0x825c2e(0x68b)],_0x22efde=(_0x19da53==null?void 0x0:_0x19da53[_0x825c2e(0x47c)])||(_0x19da53==null?void 0x0:_0x19da53['ba'])||_0x590311[_0x825c2e(0x26a)]||0x0,_0x44e611=(_0x19da53==null?void 0x0:_0x19da53[_0x825c2e(0x322)])||(_0x19da53==null?void 0x0:_0x19da53['bd'])||_0x590311[_0x825c2e(0x297)]||0x0;return _0x22efde===0x0&&_0x44e611===0x0?null:{'ascent':_0x22efde,'descent':_0x44e611};}function vc(_0x2b2979,_0x4d4448,_0x31c964){const _0x4f31ea=_0x3cd2e0;var _0x33982a;if(_0x31c964===void 0x0||_0x31c964===_0x456b59[_0x4f31ea(0x2af)])return 0x0;let _0xb10b27=_0x2b2979[_0x4f31ea(0x17d)]();if(!(_0xb10b27!=null&&(_0x33982a=_0xb10b27['pages'])!=null&&_0x33982a['length']))return 0x0;let _0x2a8961=0x1/0x0,_0xf18868=-0x1/0x0,_0x382cbb=0x0;for(let _0x221401 of _0xb10b27[_0x4f31ea(0x355)]){let _0x4a61e3=_0x221401[_0x4f31ea(0x6e5)]??0x0;for(let _0x1db102 of _0x221401[_0x4f31ea(0x413)]??[]){let _0x12416a=_0x1db102['top']??0x0;for(let _0x28b453 of _0x1db102[_0x4f31ea(0x581)]??[])for(let _0x5b38ab of _0x28b453['lines']??[]){let _0x11e6b3=_0x382cbb+_0x4a61e3+_0x12416a+(_0x5b38ab[_0x4f31ea(0x649)]??0x0)+(_0x5b38ab['marginTop']??0x0)+(_0x5b38ab[_0x4f31ea(0x17a)]??0x0)+(_0x5b38ab[_0x4f31ea(0x26a)]??0x0);for(let _0x40605c of _0x5b38ab[_0x4f31ea(0x6d8)]??[])for(let _0x154924 of _0x40605c['glyphGroup']??[]){if(!gc(_0x154924))continue;let _0x277b76=_c(_0x154924,_0x5b38ab);_0x277b76&&(_0x2a8961=Math[_0x4f31ea(0x61f)](_0x2a8961,_0x11e6b3-_0x277b76[_0x4f31ea(0x397)]),_0xf18868=Math[_0x4f31ea(0x379)](_0xf18868,_0x11e6b3+_0x277b76[_0x4f31ea(0x4a1)]));}}}let _0x594a3c=Number['isFinite'](_0x221401['pageHeight'])?_0x221401[_0x4f31ea(0x288)]:_0x221401[_0x4f31ea(0x276)];_0x382cbb+=_0x594a3c??0x0;}return!Number['isFinite'](_0x2a8961)||!Number['isFinite'](_0xf18868)?0x0:_0x31c964===_0x456b59[_0x4f31ea(0x607)]?_0x4d4448-_0xf18868:_0x31c964===_0x456b59[_0x4f31ea(0x3e4)]?_0x4d4448/0x2-(_0x2a8961+_0xf18868)/0x2:_0x31c964===_0x456b59[_0x4f31ea(0x448)]?-_0x2a8961:0x0;}function yc(_0x22affc,_0x13af4a){const _0xb67474=_0x3cd2e0;let _0x4880fb=_0x43911b[_0xb67474(0x4a2)](_0x22affc),_0x485bfa=_0x4880fb['documentStyle']??{},_0x53b2bf={..._0x485bfa[_0xb67474(0x4df)]};if(_0x13af4a[_0xb67474(0x25f)]!==void 0x0){_0x53b2bf['horizontalAlign']=_0x13af4a['horizontalAlign'];let _0x441e4d=_0x4880fb[_0xb67474(0x15e)],_0x525ed3=_0x441e4d==null?void 0x0:_0x441e4d[_0xb67474(0x2d4)];_0x525ed3&&(_0x441e4d['paragraphs']=_0x525ed3['map'](_0x11bd55=>{const _0xfd049c=_0xb67474;var _0x2b17a3;return((_0x2b17a3=_0x11bd55[_0xfd049c(0x3ea)])==null?void 0x0:_0x2b17a3[_0xfd049c(0x25f)])===void 0x0?{..._0x11bd55,'paragraphStyle':{..._0x11bd55['paragraphStyle'],'horizontalAlign':_0x13af4a['horizontalAlign']}}:_0x11bd55;}));}return _0x13af4a[_0xb67474(0x68c)]!==void 0x0&&(_0x53b2bf[_0xb67474(0x68c)]=_0x13af4a[_0xb67474(0x68c)]),_0x4880fb[_0xb67474(0x424)]={..._0x485bfa,'renderConfig':Object[_0xb67474(0x440)](_0x53b2bf)[_0xb67474(0x567)]>0x0?_0x53b2bf:void 0x0},_0x4880fb;}function bc(_0xfeaf8f){const _0x14f546=_0x3cd2e0;let _0x468b7f=_0xfeaf8f[_0x14f546(0x15e)],_0x778c95=_0x468b7f==null?void 0x0:_0x468b7f[_0x14f546(0x2d4)],_0x30a9e8=_0x468b7f==null?void 0x0:_0x468b7f['dataStream'];if(!_0x468b7f||!_0x30a9e8)return;let _0x1bcce7=[];for(let _0x15e96e=0x0;_0x15e96e<_0x30a9e8['length'];_0x15e96e++)_0x30a9e8[_0x15e96e]==='\x0d'&&_0x1bcce7[_0x14f546(0x249)](_0x15e96e);let _0x420c54=new Set((_0x778c95??[])[_0x14f546(0x37f)](_0x160bb9=>_0x160bb9[_0x14f546(0x464)])[_0x14f546(0x22b)](_0x3e5cbe=>!!_0x3e5cbe));_0x468b7f[_0x14f546(0x2d4)]=_0x1bcce7[_0x14f546(0x37f)]((_0x23e2c2,_0x2fec02)=>{const _0xb8ee11=_0x14f546;var _0x5e2c05;return{..._0x778c95==null?void 0x0:_0x778c95[_0x2fec02],'startIndex':_0x23e2c2,'paragraphId':(_0x778c95==null||(_0x5e2c05=_0x778c95[_0x2fec02])==null?void 0x0:_0x5e2c05[_0xb8ee11(0x464)])??_0x2e008c(_0x420c54)};});}function xc(_0x33e2ba,_0x5ab418){const _0x43a50b=_0x3cd2e0;var _0x611c9b,_0x35820f;let _0x3d8ce2=(_0x611c9b=_0x33e2ba['documentStyle'])==null?void 0x0:_0x611c9b[_0x43a50b(0x4df)],_0x16d55a=yc(_0x33e2ba,{'horizontalAlign':_0x5ab418[_0x43a50b(0x25f)]??(_0x3d8ce2==null?void 0x0:_0x3d8ce2[_0x43a50b(0x25f)]),'verticalAlign':_0x5ab418[_0x43a50b(0x68c)]});bc(_0x16d55a);let _0x4764be=_0x16d55a[_0x43a50b(0x424)]??{},_0x291706=_0x5ab418['isHorizontal']!==!0x1,_0x43a124={..._0x4764be[_0x43a50b(0x4df)],'wrapStrategy':_0x5ab418['wrapStrategy']??((_0x35820f=_0x4764be[_0x43a50b(0x4df)])==null?void 0x0:_0x35820f['wrapStrategy'])??_0x190661[_0x43a50b(0x5cb)]};return delete _0x43a124[_0x43a50b(0x25f)],_0x291706?(delete _0x43a124[_0x43a50b(0x2ba)],delete _0x43a124[_0x43a50b(0x513)]):(_0x43a124[_0x43a50b(0x2ba)]=_0xe62061,_0x43a124[_0x43a50b(0x513)]=_0xe62061),_0x16d55a[_0x43a50b(0x424)]={..._0x4764be,'documentFlavor':_0x4cebe4[_0x43a50b(0x36e)],'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x291706?_0x5ab418[_0x43a50b(0x172)]:_0x5ab418['height'],'height':0x1/0x0},'renderConfig':_0x43a124},_0x16d55a;}function Sc(_0x1c5509){const _0x8cecd=_0x3cd2e0;var _0x399cfa;let {documentData:_0x355839,id:_0x128b0b=_0x8cecd(0x588),isHorizontal:_0x2f4e1f,localeService:_0x5a63b5,horizontalAlign:_0x5ebdba,verticalAlign:_0x5be292,size:_0x35bd05}=_0x1c5509,_0x52e81d={'width':_0x35bd05[_0x8cecd(0x172)],'height':_0x35bd05[_0x8cecd(0x276)]},_0x3718f7=(_0x399cfa=_0x355839[_0x8cecd(0x424)])==null?void 0x0:_0x399cfa[_0x8cecd(0x4df)],_0x15a827=_0x5be292??(_0x3718f7==null?void 0x0:_0x3718f7[_0x8cecd(0x68c)]),_0x35c79d=hc(_0x1c5509[_0x8cecd(0x677)]??(_0x3718f7==null?void 0x0:_0x3718f7[_0x8cecd(0x677)])),_0x1a0c62=xc(_0x355839,{'width':_0x52e81d[_0x8cecd(0x172)],'height':_0x52e81d['height'],'verticalAlign':_0x35c79d?_0x456b59['TOP']:_0x15a827,'horizontalAlign':_0x5ebdba,'isHorizontal':_0x2f4e1f,'wrapStrategy':_0x1c5509[_0x8cecd(0x271)]}),_0x17ac84=new _0x3e2e14(_0x1a0c62),_0x5c382b=new _0x5de03a(_0x17ac84),_0x1c942b=_0x33016d[_0x8cecd(0x66f)](_0x5c382b,_0x5a63b5);_0x1c942b[_0x8cecd(0x639)]();let _0x36664e=_0x1c942b[_0x8cecd(0x6b2)]()[_0x8cecd(0x1c2)],_0x4a49bb=Math[_0x8cecd(0x379)](_0x52e81d[_0x8cecd(0x276)],_0x36664e),_0x13d4e3=0x0;!_0x35c79d&&_0x36664e<_0x52e81d[_0x8cecd(0x276)]&&(_0x15a827===_0x456b59['MIDDLE']?_0x13d4e3=(_0x52e81d[_0x8cecd(0x276)]-_0x36664e)/0x2:_0x15a827===_0x456b59[_0x8cecd(0x607)]&&(_0x13d4e3=_0x52e81d[_0x8cecd(0x276)]-_0x36664e)),_0x17ac84[_0x8cecd(0x24a)]({'pageSize':{'width':_0x2f4e1f===!0x1?_0x52e81d[_0x8cecd(0x276)]:_0x52e81d['width'],'height':_0x5045ef(_0x355839,_0x4a49bb)}}),_0x17ac84[_0x8cecd(0x628)]({'t':_0x13d4e3}),_0x1c942b[_0x8cecd(0x639)]();let _0x16f2dd=new _0x50861d(_0x128b0b,_0x1c942b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x16f2dd[_0x8cecd(0x472)](_0x52e81d['width'],_0x4a49bb);let _0x58fd9d=_0x35c79d?vc(_0x1c942b,_0x52e81d[_0x8cecd(0x276)],_0x15a827):0x0;return{'documents':_0x16f2dd,'skeleton':_0x1c942b,'docViewModel':_0x5c382b,'docModel':_0x17ac84,'width':_0x52e81d['width'],'minHeight':_0x52e81d[_0x8cecd(0x276)],'actualHeight':_0x36664e,'contentHeight':_0x4a49bb,'marginTop':_0x13d4e3,'opticalVerticalOffset':_0x58fd9d,'dispose':()=>{const _0x4f718e=_0x8cecd;_0x16f2dd[_0x4f718e(0x362)](),_0x1c942b[_0x4f718e(0x362)](),_0x5c382b[_0x4f718e(0x362)](),_0x17ac84[_0x4f718e(0x362)]();}};}function Cc(_0x9f275e,_0x6a1502){const _0x4ac571=_0x3cd2e0;if(_0x6a1502!==void 0x0)return{'top':0x0,'height':_0x6a1502};let _0x4ac9f1=_0x9f275e[_0x4ac571(0x1c2)]>_0x9f275e[_0x4ac571(0x176)]&&_0x9f275e[_0x4ac571(0x2f0)]<0x0?_0x9f275e[_0x4ac571(0x2f0)]:0x0;return{'top':_0x4ac9f1,'height':_0x9f275e[_0x4ac571(0x298)]-_0x4ac9f1};}function wc(_0x2b52ad,_0x2cd3f4,_0x1fe2e7,_0x1f85f4,_0x273756,_0x2f408e){const _0x41425e=_0x3cd2e0;if(_0x2b52ad[_0x41425e(0x195)](),_0x2b52ad[_0x41425e(0x48f)](_0x1fe2e7,_0x1f85f4),_0x273756){let _0x381fa4=Cc(_0x2cd3f4,_0x2f408e);_0x2b52ad['beginPath'](),_0x2b52ad['rect'](0x0,_0x381fa4[_0x41425e(0x649)],_0x2cd3f4[_0x41425e(0x172)],_0x381fa4[_0x41425e(0x276)]),_0x2b52ad[_0x41425e(0x4fe)]();}_0x2cd3f4[_0x41425e(0x2f0)]&&_0x2b52ad['translateWithPrecision'](0x0,_0x2cd3f4['opticalVerticalOffset']),_0x2cd3f4['documents'][_0x41425e(0x1f1)](_0x2b52ad),_0x2b52ad['restore']();}function Tc(_0x12df23){const _0x169787=_0x3cd2e0;try{return JSON[_0x169787(0x5f8)](_0x12df23);}catch{return String(_0x12df23);}}function Ec(_0x307912){const _0x5a5469=_0x3cd2e0;let _0x3f3033=_0x307912;return typeof _0x3f3033['getCurrentLocale']==_0x5a5469(0x2f2)?_0x3f3033[_0x5a5469(0x160)]():'';}function Dc(_0x1f8ccc,_0x23e25c,_0x4efa84){const _0x238153=_0x3cd2e0;var _0x11fd30;let _0x4b4560=(_0x11fd30=_0x23e25c['documentStyle'])==null?void 0x0:_0x11fd30['renderConfig'];return Tc({'cacheKey':_0x1f8ccc[_0x238153(0x197)],'key':_0x1f8ccc[_0x238153(0x5e4)],'text':_0x1f8ccc[_0x238153(0x45d)],'documentData':_0x1f8ccc[_0x238153(0x197)]===void 0x0?_0x23e25c:void 0x0,'left':_0x1f8ccc[_0x238153(0x3b6)],'top':_0x1f8ccc[_0x238153(0x649)],'width':_0x1f8ccc[_0x238153(0x172)],'height':_0x1f8ccc['height'],'horizontalAlign':_0x1f8ccc['horizontalAlign']??(_0x4b4560==null?void 0x0:_0x4b4560[_0x238153(0x25f)]),'verticalAlign':_0x1f8ccc[_0x238153(0x68c)]??(_0x4b4560==null?void 0x0:_0x4b4560[_0x238153(0x68c)]),'isHorizontal':_0x1f8ccc[_0x238153(0x358)],'wrapStrategy':_0x1f8ccc[_0x238153(0x271)],'clip':_0x1f8ccc[_0x238153(0x4fe)],'viewportHeight':_0x1f8ccc[_0x238153(0x6e6)],'shapeTextOpticalVerticalAlign':_0x1f8ccc['shapeTextOpticalVerticalAlign']??(_0x4b4560==null?void 0x0:_0x4b4560[_0x238153(0x677)]),'locale':Ec(_0x4efa84)});}function Oc(_0x59c70d,_0x52abde){const _0x277053=_0x3cd2e0;var _0x39ede6;if(_0x59c70d[_0x277053(0x4fe)]!==void 0x0)return _0x59c70d[_0x277053(0x4fe)];let _0x3f387f=(_0x39ede6=_0x52abde[_0x277053(0x424)])==null?void 0x0:_0x39ede6[_0x277053(0x4df)];return(_0x59c70d[_0x277053(0x271)]??(_0x3f387f==null?void 0x0:_0x3f387f[_0x277053(0x271)]))!==_0x190661[_0x277053(0x376)];}function kc(_0x476b0d){const _0x26730d=_0x3cd2e0;var _0xb71022;_0x476b0d==null||(_0xb71022=_0x476b0d[_0x26730d(0x2d8)])==null||_0xb71022[_0x26730d(0x362)](),_0x476b0d&&(_0x476b0d['signature']=void 0x0,_0x476b0d[_0x26730d(0x2d8)]=void 0x0);}function Ac(_0x11b749,_0x1d2967,_0x3da02a){const _0x13c813=_0x3cd2e0;var _0x2cb2d5;let {documentData:_0x5578cb,height:_0x39c5ff,horizontalAlign:_0x1d0589,isHorizontal:_0xfcedfb,key:_0xa5b23b,left:_0x20356a,localeService:_0xa0d2d6,text:_0x5d8cf1,top:_0x3225f2,verticalAlign:_0x9ef5e1,width:_0x24632e}=_0x1d2967;if(!_0xa0d2d6||_0x24632e<=0x0||_0x39c5ff<=0x0||!_0x5578cb&&!_0x5d8cf1)return!0x1;let _0x211d14=_0x15d561(_0x5578cb??ec(_0xa5b23b,0x0,0x0,_0x5d8cf1??'')),_0x1511f6=(_0x2cb2d5=_0x211d14['documentStyle'])==null?void 0x0:_0x2cb2d5[_0x13c813(0x4df)],_0xe9dd7a=_0x1d0589??(_0x1511f6==null?void 0x0:_0x1511f6[_0x13c813(0x25f)]),_0x96ebef=_0x9ef5e1??(_0x1511f6==null?void 0x0:_0x1511f6['verticalAlign']),_0x2db944=_0x3da02a?Dc(_0x1d2967,_0x211d14,_0xa0d2d6):void 0x0,_0x31f062=Oc(_0x1d2967,_0x211d14);if(_0x3da02a!=null&&_0x3da02a[_0x13c813(0x2d8)]&&_0x3da02a['signature']===_0x2db944)return wc(_0x11b749,_0x3da02a[_0x13c813(0x2d8)],_0x20356a,_0x3225f2,_0x31f062,_0x1d2967['viewportHeight']),!0x0;_0x3da02a!=null&&_0x3da02a[_0x13c813(0x2d8)]&&kc(_0x3da02a);let _0x59a002=Sc({'id':'slide-table-text-'+_0xa5b23b,'documentData':_0x211d14,'size':{'width':_0x24632e,'height':_0x39c5ff},'localeService':_0xa0d2d6,'horizontalAlign':_0xe9dd7a,'verticalAlign':_0x96ebef,'isHorizontal':_0xfcedfb,'wrapStrategy':_0x1d2967[_0x13c813(0x271)],'shapeTextOpticalVerticalAlign':_0x1d2967[_0x13c813(0x677)]??(_0x1511f6==null?void 0x0:_0x1511f6[_0x13c813(0x677)])});return wc(_0x11b749,_0x59a002,_0x20356a,_0x3225f2,_0x31f062,_0x1d2967[_0x13c813(0x6e6)]),_0x3da02a?(_0x3da02a[_0x13c813(0x5de)]=_0x2db944,_0x3da02a[_0x13c813(0x2d8)]=_0x59a002):_0x59a002[_0x13c813(0x362)](),!0x0;}function jc(_0x1f27be,_0x38f037,_0x144c83,_0x4161cf,_0x237bd4){const _0x35446a=_0x3cd2e0;let _0x35b08d=_0x1f27be[_0x35446a(0x581)][_0x35446a(0x170)]((_0x7b5019,_0x516768)=>_0x7b5019+_0x516768[_0x35446a(0x172)],0x0),_0x548f8a=_0x1f27be[_0x35446a(0x400)][_0x35446a(0x170)]((_0x58cfa5,_0x5b06ab)=>_0x58cfa5+(_0x5b06ab['height']??0x18),0x0);if(_0x35b08d<=0x0||_0x548f8a<=0x0||_0x38f037<=0x0||_0x144c83<=0x0)return _0x1f27be;let _0xa044a0={..._0x1f27be,'columns':_0x1f27be[_0x35446a(0x581)][_0x35446a(0x37f)](_0x2d0fe8=>({..._0x2d0fe8,'width':_0x2d0fe8[_0x35446a(0x172)]*_0x38f037/_0x35b08d})),'rows':_0x1f27be[_0x35446a(0x400)][_0x35446a(0x37f)](_0x237e8f=>({..._0x237e8f,'height':(_0x237e8f[_0x35446a(0x276)]??0x18)*Math[_0x35446a(0x379)](0x1,_0x144c83/_0x548f8a)}))},_0x3b5080=_0x237cc5(_0xa044a0,{'themes':_0x237bd4})['cells'][_0x35446a(0x22b)](_0x58bace=>!_0x58bace[_0x35446a(0x50f)])[_0x35446a(0x660)]((_0x18c8e4,_0x527fee)=>_0x18c8e4[_0x35446a(0x5c0)]-_0x527fee['rowSpan']);for(let _0x5af74a of _0x3b5080){var _0xc41f3f;let _0x4b083=(_0xc41f3f=_0x1f27be['rows'][_0x5af74a['row']])==null||(_0xc41f3f=_0xc41f3f['cells'][_0x5af74a['column']])==null?void 0x0:_0xc41f3f[_0x35446a(0x4eb)],_0x49d699=_0x5af74a[_0x35446a(0x36d)][_0x35446a(0x59b)];if(!_0x4b083||_0x49d699===_0x352aa8[_0x35446a(0x387)]||_0x49d699===_0x352aa8[_0x35446a(0x2c0)])continue;let _0x47bcfa=_0x2e3b2a(_0x5af74a[_0x35446a(0x36d)][_0x35446a(0x2db)]),_0x4693d0=_0x5af74a['bounds'][_0x35446a(0x172)]-_0x47bcfa[_0x35446a(0x3b6)]-_0x47bcfa[_0x35446a(0x3ec)];if(_0x4693d0<=0x0)continue;let _0x2e2781=Sc({'documentData':_0x15d561(_0x4b083),'size':{'width':_0x4693d0,'height':Math[_0x35446a(0x379)](0x1,_0x5af74a[_0x35446a(0x335)]['height']-_0x47bcfa[_0x35446a(0x649)]-_0x47bcfa['bottom'])},'localeService':_0x4161cf,'verticalAlign':_0x456b59[_0x35446a(0x448)],'wrapStrategy':_0x190661[_0x35446a(0x5cb)]});try{let _0x1cff45=_0x2e2781['actualHeight']+_0x47bcfa[_0x35446a(0x649)]+_0x47bcfa['bottom'],_0x1a98ff=Math[_0x35446a(0x61f)](_0xa044a0['rows'][_0x35446a(0x567)],_0x5af74a['row']+_0x5af74a[_0x35446a(0x5c0)]),_0x48955a=_0xa044a0[_0x35446a(0x400)][_0x35446a(0x5b4)](_0x5af74a['row'],_0x1a98ff)[_0x35446a(0x170)]((_0x38ad77,_0x1d6a5b)=>_0x38ad77+_0x1d6a5b[_0x35446a(0x276)],0x0);Number[_0x35446a(0x2cd)](_0x1cff45)&&_0x1cff45>_0x48955a&&_0x1a98ff>_0x5af74a['row']&&(_0xa044a0['rows'][_0x1a98ff-0x1]['height']+=_0x1cff45-_0x48955a);}finally{_0x2e2781['dispose']();}}return _0xa044a0;}const Mc=_0x3cd2e0(0x336),Nc=_0x3cd2e0(0x3a2),Pc=_0x3cd2e0(0x1e1),Fc=_0x3cd2e0(0x242),Ic=_0x3cd2e0(0x253),Lc=_0x3cd2e0(0x1e1),Rc=_0x3cd2e0(0x253),zc=_0x3cd2e0(0x403),Bc='#0b57d0',Vc=_0x3cd2e0(0x6d3),Hc=_0x3cd2e0(0x1e1),Uc=0.5;function Wc(_0x5f3d3a,_0x2ee23e){const _0x27b40b=_0x3cd2e0;let _0x2d0369=_0x5f3d3a[_0x27b40b(0x3a3)]+Math[_0x27b40b(0x379)](0x1,_0x5f3d3a[_0x27b40b(0x5c0)])-0x1,_0x3a90fa=_0x5f3d3a['column']+Math[_0x27b40b(0x379)](0x1,_0x5f3d3a[_0x27b40b(0x457)])-0x1;return _0x2ee23e['some'](_0x92b117=>{const _0x210b97=_0x27b40b;let _0xbcb172=Math['min'](_0x92b117[_0x210b97(0x290)],_0x92b117['endRow']),_0x25e052=Math['max'](_0x92b117[_0x210b97(0x290)],_0x92b117['endRow']),_0x5e903c=Math[_0x210b97(0x61f)](_0x92b117[_0x210b97(0x4dd)],_0x92b117[_0x210b97(0x655)]),_0x28b609=Math[_0x210b97(0x379)](_0x92b117[_0x210b97(0x4dd)],_0x92b117['endColumn']);return _0x5f3d3a[_0x210b97(0x3a3)]<=_0x25e052&&_0x2d0369>=_0xbcb172&&_0x5f3d3a[_0x210b97(0x6ad)]<=_0x28b609&&_0x3a90fa>=_0x5e903c;});}var Gc=class e extends _0x5bbd2e{constructor(_0x28d828,_0x82c00c){const _0x4b13b1=_0x3cd2e0;super(_0x28d828,{..._0x82c00c,'fill':Pc,'stroke':Mc,'strokeWidth':0x1,'evented':!0x0}),q(this,_0x4b13b1(0x5c2),!0x0),q(this,'_controlButtonMode',void 0x0),q(this,'_imageIoService',void 0x0),q(this,_0x4b13b1(0x26d),new _0xf0d8fe()),q(this,_0x4b13b1(0x481),void 0x0),q(this,_0x4b13b1(0x3ef),null),q(this,'_layoutTable',null),q(this,'_layoutSource',void 0x0),q(this,'_layoutRevision',void 0x0),q(this,_0x4b13b1(0x505),0x0),q(this,_0x4b13b1(0x231),0x0),q(this,_0x4b13b1(0x1a8),0x0),q(this,'_selection',null),q(this,_0x4b13b1(0x357),null),q(this,_0x4b13b1(0x431),null),q(this,_0x4b13b1(0x1eb),null),q(this,'_controlState',null),q(this,'_localeService',void 0x0),q(this,'_tableThemePalette',void 0x0),q(this,_0x4b13b1(0x629),void 0x0),q(this,'_themeService',void 0x0),q(this,'_renderModelCache',null),q(this,'_visibleCellCache',null),q(this,'_textRenderCaches',new Map()),this['_controlButtonMode']=_0x82c00c[_0x4b13b1(0x4c5)]??_0x4b13b1(0x39c),this[_0x4b13b1(0x54f)]=_0x82c00c['imageIoService'],this[_0x4b13b1(0x481)]=_0x82c00c[_0x4b13b1(0x38a)]??null,this['_localeService']=_0x82c00c['localeService'],this[_0x4b13b1(0x5c4)]=_0x82c00c[_0x4b13b1(0x38f)],this[_0x4b13b1(0x629)]=_0x82c00c[_0x4b13b1(0x20a)],this[_0x4b13b1(0x30f)]=_0x82c00c['themeService'],this[_0x4b13b1(0x1a8)]=this['height'],this[_0x4b13b1(0x3ba)]();}[_0x3cd2e0(0x228)](){return[{'x':0.5,'y':0x0,'idx':0x0,'ang':0x10e},{'x':0x1,'y':0.5,'idx':0x1,'ang':0x0},{'x':0.5,'y':0x1,'idx':0x2,'ang':0x5a},{'x':0x0,'y':0.5,'idx':0x3,'ang':0xb4}];}[_0x3cd2e0(0x6d9)](_0x4b3f59){const _0x1c9c72=_0x3cd2e0;this[_0x1c9c72(0x481)]=_0x4b3f59??null,this[_0x1c9c72(0x6dc)](!0x0);}[_0x3cd2e0(0x1bb)](_0xcbdc6b){const _0x25fe68=_0x3cd2e0;this['_tableThemes']=_0xcbdc6b,this[_0x25fe68(0x3c9)]=void 0x0,this['makeDirty'](!0x0);}[_0x3cd2e0(0x6c1)](){return this['_table'];}[_0x3cd2e0(0x583)](_0x3f047){const _0x37da20=_0x3cd2e0;this[_0x37da20(0x3ef)]=_0x3f047,this[_0x37da20(0x6dc)](!0x0);}[_0x3cd2e0(0x58a)](_0x2cf03e){const _0x41f3ce=_0x3cd2e0;this[_0x41f3ce(0x6e9)]!==_0x2cf03e&&(this[_0x41f3ce(0x6e9)]=_0x2cf03e,this[_0x41f3ce(0x62d)](),this[_0x41f3ce(0x6dc)](!0x0));}[_0x3cd2e0(0x5cc)](_0x196f4e){this['_tableThemePalette']=_0x196f4e,this['makeDirty'](!0x0);}[_0x3cd2e0(0x62b)](_0x280aff){const _0x5f21ea=_0x3cd2e0;this['_selection']=_0x280aff?{'kind':_0x280aff[_0x5f21ea(0x1b6)],'ranges':_0x280aff['ranges'][_0x5f21ea(0x37f)](_0x27cc7f=>({..._0x27cc7f})),'active':_0x280aff[_0x5f21ea(0x325)]?{..._0x280aff[_0x5f21ea(0x325)]}:void 0x0}:null,_0x280aff||(this[_0x5f21ea(0x357)]=null,this[_0x5f21ea(0x5dc)]=null),this[_0x5f21ea(0x6dc)](!0x0);}[_0x3cd2e0(0x564)](){const _0x368c85=_0x3cd2e0;return this['_selection']?{'kind':this[_0x368c85(0x18c)][_0x368c85(0x1b6)],'ranges':this['_selection'][_0x368c85(0x289)][_0x368c85(0x37f)](_0x93f9c2=>({..._0x93f9c2})),'active':this[_0x368c85(0x18c)][_0x368c85(0x325)]?{...this[_0x368c85(0x18c)][_0x368c85(0x325)]}:void 0x0}:null;}[_0x3cd2e0(0x20e)](){const _0x139731=_0x3cd2e0;let _0xb8a3cb=this['_getRenderTable']();return _0xb8a3cb?this[_0x139731(0x386)](_0xb8a3cb):null;}[_0x3cd2e0(0x399)](){const _0x16558b=_0x3cd2e0;var _0x1a5f30;return((_0x1a5f30=this[_0x16558b(0x30f)])==null?void 0x0:_0x1a5f30[_0x16558b(0x33d)](_0x16558b(0x651)))??Fc;}['setEditingCell'](_0x11c32d){const _0x199aee=_0x3cd2e0;var _0x328f48,_0x4679a9;let _0x1efcf2=(_0x11c32d==null?void 0x0:_0x11c32d[_0x199aee(0x3a3)])??null,_0x590f91=(_0x11c32d==null?void 0x0:_0x11c32d['column'])??null,_0xc3a45e=((_0x328f48=this[_0x199aee(0x431)])==null?void 0x0:_0x328f48[_0x199aee(0x3a3)])??null,_0xc3ee4e=((_0x4679a9=this[_0x199aee(0x431)])==null?void 0x0:_0x4679a9[_0x199aee(0x6ad)])??null;(_0x1efcf2!==_0xc3a45e||_0x590f91!==_0xc3ee4e)&&(this[_0x199aee(0x431)]=_0x11c32d?{'row':_0x11c32d[_0x199aee(0x3a3)],'column':_0x11c32d['column']}:null,this['makeDirty'](!0x0));}[_0x3cd2e0(0x459)](){const _0x1ca5b9=_0x3cd2e0;return this[_0x1ca5b9(0x431)]?{...this[_0x1ca5b9(0x431)]}:null;}[_0x3cd2e0(0x250)](_0x23375d){const _0x55eb43=_0x3cd2e0;var _0xfd8695,_0x5aac8f,_0x10fde9;let _0x59c35b=(_0x23375d==null?void 0x0:_0x23375d[_0x55eb43(0x1b6)])??null,_0xaac0ff=(_0x23375d==null?void 0x0:_0x23375d[_0x55eb43(0x3a3)])??null,_0x4a707f=(_0x23375d==null?void 0x0:_0x23375d[_0x55eb43(0x6ad)])??null,_0x13e566=((_0xfd8695=this['_controlHover'])==null?void 0x0:_0xfd8695[_0x55eb43(0x1b6)])??null,_0x1aac13=((_0x5aac8f=this[_0x55eb43(0x1eb)])==null?void 0x0:_0x5aac8f[_0x55eb43(0x3a3)])??null,_0x3431d5=((_0x10fde9=this[_0x55eb43(0x1eb)])==null?void 0x0:_0x10fde9[_0x55eb43(0x6ad)])??null;return _0x59c35b===_0x13e566&&_0xaac0ff===_0x1aac13&&_0x4a707f===_0x3431d5?!0x1:(this[_0x55eb43(0x1eb)]=_0x59c35b===null&&_0xaac0ff===null&&_0x4a707f===null?null:{'kind':_0x23375d==null?void 0x0:_0x23375d[_0x55eb43(0x1b6)],'row':_0xaac0ff,'column':_0x4a707f},this['makeDirty'](!0x0),!0x0);}[_0x3cd2e0(0x3eb)](_0x5abf4e){const _0x4dca01=_0x3cd2e0;var _0x533a61,_0x3a5c17;let _0x197129=((_0x533a61=this[_0x4dca01(0x357)])==null?void 0x0:_0x533a61[_0x4dca01(0x3a3)])??null,_0x4eb7e2=((_0x3a5c17=this[_0x4dca01(0x357)])==null?void 0x0:_0x3a5c17[_0x4dca01(0x6ad)])??null,_0x52f5c5=(_0x5abf4e==null?void 0x0:_0x5abf4e[_0x4dca01(0x3a3)])??null,_0x26af32=(_0x5abf4e==null?void 0x0:_0x5abf4e['column'])??null;return _0x197129===_0x52f5c5&&_0x4eb7e2===_0x26af32?!0x1:(this[_0x4dca01(0x357)]=_0x5abf4e?{'row':_0x5abf4e[_0x4dca01(0x3a3)],'column':_0x5abf4e[_0x4dca01(0x6ad)]}:null,this['makeDirty'](!0x0),!0x0);}['setTableControlState'](_0x977703){const _0x5939ec=_0x3cd2e0;let _0xd04d75=Ml(_0x977703);return!Nl(this[_0x5939ec(0x5dc)],_0xd04d75)&&(this['_controlState']=_0xd04d75,this[_0x5939ec(0x6dc)](!0x0),!0x0);}[_0x3cd2e0(0x662)](_0x1d5af9){const _0x2d5001=_0x3cd2e0;this[_0x2d5001(0x3ba)]();let _0x9809ef=this[_0x2d5001(0x5a8)](),_0x4de78d=_0x9809ef['left']+_0x9809ef[_0x2d5001(0x172)]/0x2,_0x50951d=_0x9809ef[_0x2d5001(0x649)]+_0x9809ef[_0x2d5001(0x276)]/0x2,_0xdeaaf2=this['transform'][_0x2d5001(0x477)](),_0x3235d9=new _0x2a321b([_0xdeaaf2[0x0],_0xdeaaf2[0x1],_0xdeaaf2[0x2],_0xdeaaf2[0x3],_0x4de78d,_0x50951d]),_0x1a28a8=this[_0x2d5001(0x27c)]();return(this[_0x2d5001(0x6e0)]&&(_0x1a28a8==null?void 0x0:_0x1a28a8[_0x2d5001(0x61b)])===_0x2a9624[_0x2d5001(0x5ab)]?_0x1a28a8['ancestorTransform'][_0x2d5001(0x63b)](_0x3235d9):_0x3235d9)[_0x2d5001(0x1df)]()[_0x2d5001(0x3f3)](_0x1d5af9);}[_0x3cd2e0(0x4ff)](_0x3cdb37){const _0x2c6773=_0x3cd2e0;let _0x425d90=this[_0x2c6773(0x662)](_0x3cdb37),_0x58d98b=this['width']/0x2,_0x31064d=this['height']/0x2;return _0x425d90['x']>=-_0x58d98b-this[_0x2c6773(0x4bc)]/0x2&&_0x425d90['x']<=_0x58d98b+this[_0x2c6773(0x4bc)]/0x2&&_0x425d90['y']>=-_0x31064d-this[_0x2c6773(0x4bc)]/0x2&&_0x425d90['y']<=_0x31064d+this['strokeWidth']/0x2||this[_0x2c6773(0x560)](_0x425d90);}[_0x3cd2e0(0x473)](_0x1748ab,_0xcc62e0,_0x1a1c60,_0x537a54){const _0x1c8484=_0x3cd2e0;var _0x4abafa,_0x25f28b;let _0x35b65f=this['_getRenderTable']();if(!_0x35b65f)return null;let _0x2eccff=this[_0x1c8484(0x386)](_0x35b65f),_0xd8f929=this[_0x1c8484(0x6c0)](_0x2eccff),_0x427074=this[_0x1c8484(0x222)]===_0x1c8484(0x348)?(_0x4abafa=_0xd8f929[_0x1c8484(0x2ec)][_0x1748ab])==null?void 0x0:_0x4abafa[_0xcc62e0]:(_0x25f28b=_0xd8f929[_0x1c8484(0x4f3)][_0x1748ab])==null?void 0x0:_0x25f28b[_0xcc62e0];return _0x427074?kl(_0x427074,_0x2eccff,_0x1a1c60??this[_0x1c8484(0x172)],_0x537a54??this[_0x1c8484(0x276)]):null;}[_0x3cd2e0(0x362)](){const _0x3fa44b=_0x3cd2e0;this['_imageLoadSubscriptions'][_0x3fa44b(0x33e)](),this[_0x3fa44b(0x62d)](),super['dispose']();}[_0x3cd2e0(0x6c0)](_0xd7b7d1){const _0x254b5c=_0x3cd2e0;var _0x3b61f8;if(((_0x3b61f8=this['_visibleCellCache'])==null?void 0x0:_0x3b61f8[_0x254b5c(0x3d2)])===_0xd7b7d1)return this['_visibleCellCache'];let _0x1862be=_0xd7b7d1[_0x254b5c(0x329)][_0x254b5c(0x22b)](_0x251569=>!_0x251569[_0x254b5c(0x50f)]),_0xaf5f3a=[],_0x36db50=[];return _0x1862be['forEach'](_0xe4e6f9=>{const _0x4a8571=_0x254b5c;(_0x36db50[_0xe4e6f9[_0x4a8571(0x3a3)]]??=[])[_0xe4e6f9[_0x4a8571(0x6ad)]]=_0xe4e6f9;let _0x3bff89=_0xe4e6f9[_0x4a8571(0x3a3)]+Math[_0x4a8571(0x379)](0x1,_0xe4e6f9['rowSpan']),_0x303902=_0xe4e6f9[_0x4a8571(0x6ad)]+Math[_0x4a8571(0x379)](0x1,_0xe4e6f9[_0x4a8571(0x457)]);for(let _0x52ce88=_0xe4e6f9[_0x4a8571(0x3a3)];_0x52ce88<_0x3bff89;_0x52ce88+=0x1){let _0x9825ac=_0xaf5f3a[_0x52ce88]??=[];for(let _0x31ffa7=_0xe4e6f9['column'];_0x31ffa7<_0x303902;_0x31ffa7+=0x1)_0x9825ac[_0x31ffa7]=_0xe4e6f9;}}),this[_0x254b5c(0x6bd)]={'cells':_0x1862be,'cellAtPosition':_0xaf5f3a,'cellByOrigin':_0x36db50,'model':_0xd7b7d1},this['_visibleCellCache'];}[_0x3cd2e0(0x339)](_0x1e7ad0,_0x3b2e2d=this[_0x3cd2e0(0x172)],_0x5ce164=this['height']){const _0x13f36f=_0x3cd2e0;let _0x4a6bdb=this[_0x13f36f(0x31f)]();if(!_0x4a6bdb)return null;let _0x147974=this[_0x13f36f(0x386)](_0x4a6bdb),_0x1370ed=this[_0x13f36f(0x662)](_0x1e7ad0);return Zs(_0x147974,(_0x1370ed['x']+_0x3b2e2d/0x2)*$(_0x147974[_0x13f36f(0x172)]/_0x3b2e2d,0x1),(_0x1370ed['y']+_0x5ce164/0x2)*$(_0x147974[_0x13f36f(0x276)]/_0x5ce164,0x1));}[_0x3cd2e0(0x307)](_0x239e26,_0x54b50e=this['width'],_0x27b2ca=this['height']){const _0x498545=_0x3cd2e0;let _0x2c61c6=this[_0x498545(0x31f)]();if(!_0x2c61c6)return null;let _0x4c359d=this[_0x498545(0x386)](_0x2c61c6),_0x455cd5=this[_0x498545(0x662)](_0x239e26),_0xe3a82f=this[_0x498545(0x4bb)](_0x4c359d,_0x54b50e,_0x27b2ca,{'showAll':!0x0});return _0x145d5b(_0xe3a82f,_0x455cd5['x']+_0x54b50e/0x2,_0x455cd5['y']+_0x27b2ca/0x2);}[_0x3cd2e0(0x4e1)](_0x1f25b5,_0x210c40=this[_0x3cd2e0(0x172)],_0x104cf5=this['height']){const _0x36dd4f=_0x3cd2e0;let _0x511d4f=this[_0x36dd4f(0x31f)]();if(!_0x511d4f)return null;let _0x5c3020=this[_0x36dd4f(0x386)](_0x511d4f),_0xa51e74=this[_0x36dd4f(0x662)](_0x1f25b5),_0x337a03=this[_0x36dd4f(0x4fa)](_0x5c3020,_0x210c40,_0x104cf5,Kc(_0x511d4f,_0x210c40),qc(_0x511d4f,_0x104cf5));return _0x3cc087(_0x337a03,_0xa51e74['x']+_0x210c40/0x2,_0xa51e74['y']+_0x104cf5/0x2);}[_0x3cd2e0(0x546)](_0x7e9b0f,_0x4616ac=this[_0x3cd2e0(0x172)],_0x5e3f45=this[_0x3cd2e0(0x276)]){const _0x328a9a=_0x3cd2e0;let _0x517999=this[_0x328a9a(0x31f)]();if(!_0x517999)return null;let _0x254c84=this[_0x328a9a(0x386)](_0x517999),_0x21f4e2=this[_0x328a9a(0x662)](_0x7e9b0f),_0x47a10f=this[_0x328a9a(0x4fa)](_0x254c84,_0x4616ac,_0x5e3f45,Kc(_0x517999,_0x4616ac),qc(_0x517999,_0x5e3f45));return _0x523671(_0x47a10f,_0x21f4e2['x']+_0x4616ac/0x2,_0x21f4e2['y']+_0x5e3f45/0x2);}[_0x3cd2e0(0x3dc)](_0x1b051d,_0x2280ec){const _0x4472ff=_0x3cd2e0;if(!this[_0x4472ff(0x637)])return this[_0x4472ff(0x6dc)](!0x1),this;this[_0x4472ff(0x3ba)]();let _0xed5976=this['getRealBound'](),_0x312ed4=this['_hasActiveStructuralControlState']()?0x18:0x0;if(this[_0x4472ff(0x2ff)](_0x2280ec)){let {top:_0x2e74e5,left:_0x304474,bottom:_0x58176b,right:_0x24022a}=_0x2280ec[_0x4472ff(0x16d)];if(_0xed5976[_0x4472ff(0x3b6)]+_0xed5976[_0x4472ff(0x172)]+this[_0x4472ff(0x4bc)]+_0x312ed4<_0x304474||_0x24022a<_0xed5976['left']-this[_0x4472ff(0x4bc)]-_0x312ed4||_0xed5976[_0x4472ff(0x649)]+_0xed5976[_0x4472ff(0x276)]+this[_0x4472ff(0x4bc)]+_0x312ed4<_0x2e74e5||_0x58176b<_0xed5976['top']-this['strokeWidth']-_0x312ed4)return this;}let _0x5ac6e6=this[_0x4472ff(0x6e3)]['getMatrix'](),_0x563704=_0xed5976[_0x4472ff(0x3b6)]+_0xed5976['width']/0x2,_0x540101=_0xed5976[_0x4472ff(0x649)]+_0xed5976['height']/0x2;return _0x1b051d[_0x4472ff(0x195)](),_0x1b051d[_0x4472ff(0x6e3)](_0x5ac6e6[0x0],_0x5ac6e6[0x1],_0x5ac6e6[0x2],_0x5ac6e6[0x3],_0x563704,_0x540101),this['_draw'](_0x1b051d,_0x2280ec,_0xed5976[_0x4472ff(0x172)],_0xed5976[_0x4472ff(0x276)]),_0x1b051d[_0x4472ff(0x59a)](),this[_0x4472ff(0x6dc)](!0x1),this;}['_draw'](_0x40be54,_0x272a9c,_0x9e9f83,_0x3d7c79){const _0x2a4975=_0x3cd2e0;let _0x47cba7=_0x9e9f83??this[_0x2a4975(0x172)],_0x5b2422=_0x3d7c79??this[_0x2a4975(0x276)],_0xc8f92b=this[_0x2a4975(0x31f)](),_0x9cdba9=_0xc8f92b?this[_0x2a4975(0x386)](_0xc8f92b):null,_0x5d89c7=Kc(_0xc8f92b,_0x47cba7),_0x3cff25=qc(_0xc8f92b,_0x5b2422),_0x4bd7bb=Zc(_0xc8f92b),_0x4b6145=Qc(_0xc8f92b);this[_0x2a4975(0x5bf)](_0x40be54,_0x47cba7,_0x5b2422),_0x40be54['save'](),_0x40be54['beginPath'](),al(_0x40be54,-_0x47cba7/0x2,-_0x5b2422/0x2,_0x47cba7,_0x5b2422,(_0x4bd7bb==null?void 0x0:_0x4bd7bb['borderRadius'])??0x0),_0x40be54[_0x2a4975(0x4fe)](),_0x9cdba9?(this[_0x2a4975(0x1a1)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422),this['_drawCellTexts'](_0x40be54,_0xc8f92b,_0x9cdba9,_0x47cba7,_0x5b2422),this[_0x2a4975(0x1f8)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422),this[_0x2a4975(0x6b4)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422),this[_0x2a4975(0x55c)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422)):(this[_0x2a4975(0x2d6)](_0x40be54,null,_0x3cff25,_0x47cba7,_0x5b2422),this[_0x2a4975(0x49c)](_0x40be54,_0x5d89c7,_0x3cff25,_0x47cba7,_0x5b2422)),_0x40be54[_0x2a4975(0x59a)](),_0x4bd7bb&&rl(_0x40be54,_0x47cba7,_0x5b2422,_0x4bd7bb),_0x4b6145&&il(_0x40be54,_0x47cba7,_0x5b2422,_0x5d89c7,_0x3cff25,_0x4b6145),_0x9cdba9&&(this[_0x2a4975(0x1e0)](_0x40be54,_0x47cba7,_0x5b2422,_0x5d89c7,_0x3cff25),this[_0x2a4975(0x173)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422,_0x5d89c7,_0x3cff25),this[_0x2a4975(0x466)](_0x40be54,_0x47cba7,_0x5b2422,_0x5d89c7,_0x3cff25),this[_0x2a4975(0x49e)](_0x40be54,_0x47cba7,_0x5b2422,_0x5d89c7,_0x3cff25),this[_0x2a4975(0x35e)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422),this[_0x2a4975(0x41f)](_0x40be54,_0x9cdba9,_0x47cba7,_0x5b2422));}[_0x3cd2e0(0x5bf)](_0x40bcf7,_0x2167d0,_0x10b7c5){const _0x2b6d55=_0x3cd2e0;var _0x80d0e3;let _0x2a510a=(_0x80d0e3=this[_0x2b6d55(0x31f)]())==null?void 0x0:_0x80d0e3[_0x2b6d55(0x30d)],_0x27600e=_0x2a510a==null?void 0x0:_0x2a510a['outerShadow'],_0xd53674=_0xdae59e(_0x2a510a==null?void 0x0:_0x2a510a[_0x2b6d55(0x6a7)],_0x27600e?{..._0x27600e,'color':_0x27600e['color']??_0x2b6d55(0x6ed)}:void 0x0);for(let _0x2d8bbb of _0xd53674)_0x4adfdc(_0x40bcf7,_0x2167d0,_0x10b7c5,_0x2d8bbb,()=>{const _0x33aed2=_0x2b6d55;_0x40bcf7[_0x33aed2(0x1e6)](),_0x40bcf7[_0x33aed2(0x1af)](-_0x2167d0/0x2,-_0x10b7c5/0x2,_0x2167d0,_0x10b7c5),_0x40bcf7[_0x33aed2(0x16f)]=_0x2d8bbb['color'],_0x40bcf7[_0x33aed2(0x2e8)]();});}[_0x3cd2e0(0x31f)](){return this['getLayoutTable']();}[_0x3cd2e0(0x3ba)](){const _0x376da5=_0x3cd2e0;var _0x605fbc;let _0x33c132=this[_0x376da5(0x3ef)]??this[_0x376da5(0x481)];if(!_0x33c132||!this[_0x376da5(0x6e9)])return _0x33c132;if(this[_0x376da5(0x3c9)]===_0x33c132&&this[_0x376da5(0x52f)]===_0x33c132[_0x376da5(0x169)]&&this[_0x376da5(0x505)]===this[_0x376da5(0x172)]&&this['_layoutHeight']===this[_0x376da5(0x276)])return this['_layoutTable'];!this[_0x376da5(0x3ef)]&&this[_0x376da5(0x276)]!==this[_0x376da5(0x231)]&&(this[_0x376da5(0x1a8)]=this[_0x376da5(0x276)]);let _0x3a73ae=this[_0x376da5(0x3ef)]&&(_0x33c132[_0x376da5(0x400)][_0x376da5(0x567)]!==((_0x605fbc=this['_table'])==null?void 0x0:_0x605fbc[_0x376da5(0x400)][_0x376da5(0x567)])||_0x33c132[_0x376da5(0x400)][_0x376da5(0x674)]((_0x1a5acb,_0x5bc4ba)=>{const _0x17f9ca=_0x376da5;var _0x3bd379;return _0x1a5acb[_0x17f9ca(0x276)]!==((_0x3bd379=this['_table'])==null||(_0x3bd379=_0x3bd379[_0x17f9ca(0x400)][_0x5bc4ba])==null?void 0x0:_0x3bd379[_0x17f9ca(0x276)]);}))?_0x33c132[_0x376da5(0x400)]['reduce']((_0x1ccbd0,_0x1e5aad)=>_0x1ccbd0+(_0x1e5aad[_0x376da5(0x276)]??0x18),0x0):this['_requestedHeight'],_0x5a7cdc=jc(_0x33c132,this[_0x376da5(0x172)],_0x3a73ae,this[_0x376da5(0x6e9)],{..._0x103548(this[_0x376da5(0x5c4)]),...this[_0x376da5(0x629)]??{}}),_0x5691bf=_0x5a7cdc[_0x376da5(0x400)][_0x376da5(0x170)]((_0x34aa59,_0x4ca05e)=>_0x34aa59+(_0x4ca05e['height']??0x18),0x0);return this[_0x376da5(0x3c9)]=_0x33c132,this['_layoutRevision']=_0x33c132['rev'],this['_layoutWidth']=this[_0x376da5(0x172)],this['_layoutHeight']=_0x5691bf,this['_layoutTable']=_0x5a7cdc,_0x5691bf!==this[_0x376da5(0x276)]&&this[_0x376da5(0x472)](void 0x0,_0x5691bf),_0x5a7cdc;}[_0x3cd2e0(0x386)](_0x1006ee){const _0xb7b7c=_0x3cd2e0;let _0x3ac6e9=this[_0xb7b7c(0x3fb)];if((_0x3ac6e9==null?void 0x0:_0x3ac6e9[_0xb7b7c(0x38a)])===_0x1006ee&&_0x3ac6e9[_0xb7b7c(0x26b)]===_0x1006ee[_0xb7b7c(0x169)]&&_0x3ac6e9[_0xb7b7c(0x215)]===this[_0xb7b7c(0x5c4)]&&_0x3ac6e9['themes']===this['_tableThemes'])return _0x3ac6e9[_0xb7b7c(0x3d2)];let _0x36cbe6=_0x237cc5(_0x1006ee,{'themes':{..._0x103548(this[_0xb7b7c(0x5c4)]),...this[_0xb7b7c(0x629)]}});return this[_0xb7b7c(0x3fb)]={'model':_0x36cbe6,'palette':this[_0xb7b7c(0x5c4)],'revision':_0x1006ee[_0xb7b7c(0x169)],'table':_0x1006ee,'themes':this[_0xb7b7c(0x629)]},_0x36cbe6;}[_0x3cd2e0(0x2d6)](_0x4cd1f4,_0x2dd36c,_0x55d6fd,_0x19923f,_0x42507b){let _0x54ed5e=-_0x42507b/0x2;_0x55d6fd['forEach']((_0x45384a,_0x204dbb)=>{const _0x1e6d54=_0x5473;_0x4cd1f4[_0x1e6d54(0x1e6)](),_0x4cd1f4[_0x1e6d54(0x1af)](-_0x19923f/0x2,_0x54ed5e,_0x19923f,_0x45384a),_0x4cd1f4['fillStyle']=ol(_0x2dd36c,_0x204dbb),_0x4cd1f4[_0x1e6d54(0x2e8)](),_0x54ed5e+=_0x45384a;});}[_0x3cd2e0(0x1a1)](_0x1ea267,_0x327c4d,_0x49bce1,_0x645782){const _0x4e463a=_0x3cd2e0;let _0x278bea=this[_0x4e463a(0x31f)](),_0x45e5ba=$(_0x49bce1/_0x327c4d[_0x4e463a(0x172)],0x1),_0x2ef213=$(_0x645782/_0x327c4d[_0x4e463a(0x276)],0x1);_0x327c4d[_0x4e463a(0x329)]['forEach'](_0x21d7b9=>{const _0x453708=_0x4e463a;if(_0x21d7b9['hidden'])return;let _0x5303f9=-_0x49bce1/0x2+_0x21d7b9[_0x453708(0x335)][_0x453708(0x3b6)]*_0x45e5ba,_0x34e795=-_0x645782/0x2+_0x21d7b9[_0x453708(0x335)][_0x453708(0x649)]*_0x2ef213,_0x42c484=_0x21d7b9['bounds'][_0x453708(0x172)]*_0x45e5ba,_0x1f0305=_0x21d7b9[_0x453708(0x335)][_0x453708(0x276)]*_0x2ef213,_0x2a3742=this[_0x453708(0x4e9)](_0x21d7b9[_0x453708(0x36d)][_0x453708(0x2e8)]);if(_0x2a3742&&sl(_0x1ea267,_0x21d7b9[_0x453708(0x36d)][_0x453708(0x2e8)],_0x2a3742,_0x5303f9,_0x34e795,_0x42c484,_0x1f0305))return;let _0x17cea4=_0x21d7b9[_0x453708(0x36d)][_0x453708(0x2e8)]?cl(_0x1ea267,_0x21d7b9[_0x453708(0x36d)]['fill'],_0x5303f9,_0x34e795,_0x42c484,_0x1f0305):ol(_0x278bea,_0x21d7b9[_0x453708(0x3a3)]);_0x17cea4&&(_0x1ea267[_0x453708(0x1e6)](),_0x1ea267[_0x453708(0x1af)](_0x5303f9,_0x34e795,_0x42c484,_0x1f0305),_0x1ea267['fillStyle']=_0x17cea4,_0x1ea267['fill']());}),this[_0x4e463a(0x482)](_0x1ea267,_0x327c4d,_0x49bce1,_0x645782,_0x45e5ba,_0x2ef213);}[_0x3cd2e0(0x482)](_0xef8c51,_0x27e582,_0x365829,_0x589d90,_0x51a35b,_0x5078c7){const _0x1cf4ec=_0x3cd2e0;let _0x4b40f0=this[_0x1cf4ec(0x31f)](),{cells:_0x49659f,cellAtPosition:_0x12cf56}=this['_resolveVisibleCellCache'](_0x27e582);_0x49659f[_0x1cf4ec(0x5a6)](_0x20d72f=>{const _0x2f2080=_0x1cf4ec;var _0x19b855,_0x211fd3;let _0x479eaa=ll(_0x20d72f[_0x2f2080(0x36d)]['fill'],_0x4b40f0,_0x20d72f[_0x2f2080(0x3a3)]);if(!_0x479eaa)return;let _0x1b089e=-_0x365829/0x2+_0x20d72f[_0x2f2080(0x335)][_0x2f2080(0x3b6)]*_0x51a35b,_0x36aa3e=-_0x589d90/0x2+_0x20d72f[_0x2f2080(0x335)][_0x2f2080(0x649)]*_0x5078c7,_0xa1fb2a=_0x1b089e+_0x20d72f[_0x2f2080(0x335)][_0x2f2080(0x172)]*_0x51a35b,_0x2a8ceb=_0x36aa3e+_0x20d72f['bounds']['height']*_0x5078c7,_0x2e2637=(_0x19b855=_0x12cf56[_0x20d72f[_0x2f2080(0x3a3)]])==null?void 0x0:_0x19b855[_0x20d72f['column']+_0x20d72f[_0x2f2080(0x457)]],_0x379a61=(_0x211fd3=_0x12cf56[_0x20d72f['row']+_0x20d72f[_0x2f2080(0x5c0)]])==null?void 0x0:_0x211fd3[_0x20d72f[_0x2f2080(0x6ad)]];vl(_0x20d72f,_0x2e2637,_0x4b40f0,_0x479eaa)&&(_0xef8c51['beginPath'](),_0xef8c51['rect'](_0xa1fb2a-Uc,_0x36aa3e,Uc*0x2,_0x20d72f[_0x2f2080(0x335)]['height']*_0x5078c7),_0xef8c51['fillStyle']=_0x479eaa,_0xef8c51[_0x2f2080(0x2e8)]()),yl(_0x20d72f,_0x379a61,_0x4b40f0,_0x479eaa)&&(_0xef8c51[_0x2f2080(0x1e6)](),_0xef8c51['rect'](_0x1b089e,_0x2a8ceb-Uc,_0x20d72f[_0x2f2080(0x335)][_0x2f2080(0x172)]*_0x51a35b,Uc*0x2),_0xef8c51[_0x2f2080(0x16f)]=_0x479eaa,_0xef8c51[_0x2f2080(0x2e8)]());});}['_drawCellTexts'](_0x54dcfc,_0x5367de,_0x4e2bfa,_0x410839,_0x5e852f){const _0x491204=_0x3cd2e0;_0x4e2bfa[_0x491204(0x329)]['forEach'](_0x1be5f1=>{const _0x3e440d=_0x491204;var _0x46c3a6,_0x3c609c;if(_0x1be5f1['hidden']||this['_shouldHideCellTextForEditor'](_0x1be5f1))return;let _0x590279=kl(_0x1be5f1,_0x4e2bfa,_0x410839,_0x5e852f),_0x2a9e17=(_0x46c3a6=_0x5367de['rows'][_0x1be5f1[_0x3e440d(0x3a3)]])==null||(_0x46c3a6=_0x46c3a6[_0x3e440d(0x329)][_0x1be5f1[_0x3e440d(0x6ad)]])==null?void 0x0:_0x46c3a6['textData'];_0x2a9e17&&this[_0x3e440d(0x6e9)]&&Ac(_0x54dcfc,{'key':this['oKey']+'-cell-'+_0x1be5f1['row']+'-'+_0x1be5f1[_0x3e440d(0x6ad)],'documentData':_0x2a9e17,'left':-_0x410839/0x2+_0x590279[_0x3e440d(0x3b6)],'top':-_0x5e852f/0x2+_0x590279[_0x3e440d(0x649)],'width':_0x590279[_0x3e440d(0x172)],'height':_0x590279['height'],'localeService':this[_0x3e440d(0x6e9)],'horizontalAlign':jo(_0x2a9e17),'verticalAlign':Fo(_0x1be5f1[_0x3e440d(0x36d)]['verticalAlign'])??((_0x3c609c=_0x2a9e17['documentStyle'])==null||(_0x3c609c=_0x3c609c[_0x3e440d(0x4df)])==null?void 0x0:_0x3c609c[_0x3e440d(0x68c)]),'isHorizontal':_0x1be5f1[_0x3e440d(0x36d)][_0x3e440d(0x59b)]!==_0x352aa8['Vertical']&&_0x1be5f1['style']['textDirection']!==_0x352aa8[_0x3e440d(0x2c0)],'wrapStrategy':_0x190661['WRAP'],'clip':!0x0,'cacheKey':_0x5367de[_0x3e440d(0x169)],'viewportHeight':_0x590279[_0x3e440d(0x276)]},this[_0x3e440d(0x363)](_0x1be5f1[_0x3e440d(0x3a3)],_0x1be5f1[_0x3e440d(0x6ad)]));});}[_0x3cd2e0(0x493)](_0x6e08f7){const _0x136b4c=_0x3cd2e0;var _0x4a02c3;return this[_0x136b4c(0x431)]&&Cl(this[_0x136b4c(0x431)],_0x6e08f7)?!0x0:((_0x4a02c3=this[_0x136b4c(0x18c)])==null?void 0x0:_0x4a02c3['kind'])===_0x136b4c(0x45d)&&this[_0x136b4c(0x18c)][_0x136b4c(0x289)]['some'](_0x255d3d=>_0x255d3d[_0x136b4c(0x290)]<=_0x6e08f7[_0x136b4c(0x3a3)]+_0x6e08f7[_0x136b4c(0x5c0)]-0x1&&_0x255d3d[_0x136b4c(0x616)]>=_0x6e08f7[_0x136b4c(0x3a3)]&&_0x255d3d[_0x136b4c(0x4dd)]<=_0x6e08f7[_0x136b4c(0x6ad)]+_0x6e08f7[_0x136b4c(0x457)]-0x1&&_0x255d3d[_0x136b4c(0x655)]>=_0x6e08f7[_0x136b4c(0x6ad)]);}[_0x3cd2e0(0x363)](_0x5b59ce,_0x3c6fc6){const _0x48e1c1=_0x3cd2e0;let _0x1246bb=_0x5b59ce+':'+_0x3c6fc6,_0xfda302=this[_0x48e1c1(0x18a)][_0x48e1c1(0x57d)](_0x1246bb);if(_0xfda302)return _0xfda302;let _0x5f0d2a={};return this[_0x48e1c1(0x18a)][_0x48e1c1(0x330)](_0x1246bb,_0x5f0d2a),_0x5f0d2a;}['_disposeTextRenderCaches'](){const _0x5ba00e=_0x3cd2e0;this[_0x5ba00e(0x18a)][_0x5ba00e(0x5a6)](_0x4c3074=>kc(_0x4c3074)),this[_0x5ba00e(0x18a)]['clear']();}['_drawCellBorders'](_0x53f747,_0x2d1e20,_0x430667,_0x1a9673){const _0x72e562=_0x3cd2e0;let _0x500dc0=$(_0x430667/_0x2d1e20[_0x72e562(0x172)],0x1),_0x560078=$(_0x1a9673/_0x2d1e20[_0x72e562(0x276)],0x1),{cells:_0x2ef55c,cellAtPosition:_0x588860}=this[_0x72e562(0x6c0)](_0x2d1e20);_0x2ef55c[_0x72e562(0x5a6)](_0x4e73c7=>{const _0xa249a4=_0x72e562;var _0x56d944,_0x1dfd33;let _0x4cefd4=-_0x430667/0x2+_0x4e73c7[_0xa249a4(0x335)][_0xa249a4(0x3b6)]*_0x500dc0,_0x2c32f5=-_0x1a9673/0x2+_0x4e73c7[_0xa249a4(0x335)][_0xa249a4(0x649)]*_0x560078,_0x5b871e=_0x4cefd4+_0x4e73c7[_0xa249a4(0x335)][_0xa249a4(0x172)]*_0x500dc0,_0x267c07=_0x2c32f5+_0x4e73c7[_0xa249a4(0x335)][_0xa249a4(0x276)]*_0x560078,_0x3bebe4=_0x4e73c7[_0xa249a4(0x36d)][_0xa249a4(0x2d5)],_0x4b3219=(_0x56d944=_0x588860[_0x4e73c7[_0xa249a4(0x3a3)]])==null?void 0x0:_0x56d944[_0x4e73c7['column']+_0x4e73c7[_0xa249a4(0x457)]],_0x4ca134=(_0x1dfd33=_0x588860[_0x4e73c7[_0xa249a4(0x3a3)]+_0x4e73c7['rowSpan']])==null?void 0x0:_0x1dfd33[_0x4e73c7[_0xa249a4(0x6ad)]],_0x470368=_0x3bebe4==null?void 0x0:_0x3bebe4['top'],_0x235c97=bl(_0x3bebe4,_0x4b3219),_0x4bd2f0=xl(_0x3bebe4,_0x4ca134),_0x14ccc8=_0x3bebe4==null?void 0x0:_0x3bebe4['left'];if(_0x4e73c7[_0xa249a4(0x3a3)]===0x0){let _0x4b8f42=_0x2c32f5+wl(_0x470368);_l(_0x53f747,_0x470368,_0x4cefd4,_0x4b8f42,_0x5b871e,_0x4b8f42);}{let _0x3f3e32=_0x4b3219?_0x5b871e:_0x5b871e-wl(_0x235c97);_l(_0x53f747,_0x235c97,_0x3f3e32,_0x2c32f5,_0x3f3e32,_0x267c07);}{let _0x1e955d=_0x4ca134?_0x267c07:_0x267c07-wl(_0x4bd2f0);_l(_0x53f747,_0x4bd2f0,_0x4cefd4,_0x1e955d,_0x5b871e,_0x1e955d);}if(_0x4e73c7[_0xa249a4(0x6ad)]===0x0){let _0x1725ae=_0x4cefd4+wl(_0x14ccc8);_l(_0x53f747,_0x14ccc8,_0x1725ae,_0x2c32f5,_0x1725ae,_0x267c07);}});}[_0x3cd2e0(0x49c)](_0x524254,_0x263a21,_0x45e495,_0x32308d,_0x5b3467){const _0x3af338=_0x3cd2e0;let _0x72c016=-_0x32308d/0x2,_0x433c95=-_0x5b3467/0x2,_0xef09e4=_0x32308d/0x2,_0x1fe220=_0x5b3467/0x2;_0x524254[_0x3af338(0x1e6)](),_0x524254[_0x3af338(0x341)]([]),_0x524254[_0x3af338(0x3c3)]=Nc,_0x524254[_0x3af338(0x28b)]=0x1;let _0x2c8051=_0x72c016;_0x263a21[_0x3af338(0x5b4)](0x0,-0x1)[_0x3af338(0x5a6)](_0x10be47=>{const _0x513e41=_0x3af338;_0x2c8051+=_0x10be47,_0x524254['moveTo'](_0x2c8051,_0x433c95),_0x524254[_0x513e41(0x3c8)](_0x2c8051,_0x1fe220);});let _0x2fc628=_0x433c95;_0x45e495[_0x3af338(0x5b4)](0x0,-0x1)['forEach'](_0x39a6f2=>{const _0x204987=_0x3af338;_0x2fc628+=_0x39a6f2,_0x524254[_0x204987(0x17c)](_0x72c016,_0x2fc628),_0x524254[_0x204987(0x3c8)](_0xef09e4,_0x2fc628);}),_0x524254['stroke'](),this[_0x3af338(0x181)](_0x524254,_0x72c016,_0x433c95,_0x32308d,_0x5b3467);}[_0x3cd2e0(0x181)](_0x1a6099,_0x580a3f,_0xe4ca2c,_0x155145,_0x498063){const _0x4c83dd=_0x3cd2e0;_0x1a6099[_0x4c83dd(0x1e6)](),_0x1a6099[_0x4c83dd(0x3c3)]=Mc,_0x1a6099[_0x4c83dd(0x28b)]=1.5,_0x1a6099[_0x4c83dd(0x1af)](_0x580a3f,_0xe4ca2c,_0x155145,_0x498063),_0x1a6099[_0x4c83dd(0x34f)]();}[_0x3cd2e0(0x6b4)](_0x31a8af,_0x4763ec,_0xa1ba30,_0x178cff){const _0x346708=_0x3cd2e0;var _0x38d921,_0x34e526;if(!((_0x38d921=this[_0x346708(0x18c)])!=null&&_0x38d921[_0x346708(0x289)][_0x346708(0x567)])||this[_0x346708(0x18c)][_0x346708(0x1b6)]===_0x346708(0x45d))return;let _0x26185b=((_0x34e526=this[_0x346708(0x30f)])==null?void 0x0:_0x34e526['getColorFromTheme'](_0x346708(0x651)))??Fc,_0x464c52=new _0x54f28a(_0x26185b)[_0x346708(0x361)](0.07)['toRgbString'](),_0x29b446=$(_0xa1ba30/_0x4763ec[_0x346708(0x172)],0x1),_0x55b293=$(_0x178cff/_0x4763ec[_0x346708(0x276)],0x1);if(this[_0x346708(0x18c)][_0x346708(0x1b6)]===_0x346708(0x38a)){_0x31a8af[_0x346708(0x1e6)](),_0x31a8af[_0x346708(0x1af)](-_0xa1ba30/0x2,-_0x178cff/0x2,_0xa1ba30,_0x178cff),_0x31a8af[_0x346708(0x16f)]=_0x464c52,_0x31a8af[_0x346708(0x2e8)](),Dl(_0x31a8af,-_0xa1ba30/0x2,-_0x178cff/0x2,_0xa1ba30,_0x178cff,_0x26185b,_0xa1ba30,_0x178cff);return;}let _0x3c88da=_0x4763ec[_0x346708(0x329)][_0x346708(0x22b)](_0x326fa8=>!_0x326fa8[_0x346708(0x50f)]);_0x3c88da[_0x346708(0x22b)](_0x15b1cb=>{const _0x44852f=_0x346708;var _0x11c908;return Wc(_0x15b1cb,((_0x11c908=this[_0x44852f(0x18c)])==null?void 0x0:_0x11c908['ranges'])??[]);})[_0x346708(0x5a6)](_0x5a5bbe=>{const _0x1e41f9=_0x346708;_0x31a8af['beginPath'](),_0x31a8af[_0x1e41f9(0x1af)](-_0xa1ba30/0x2+_0x5a5bbe['bounds'][_0x1e41f9(0x3b6)]*_0x29b446,-_0x178cff/0x2+_0x5a5bbe[_0x1e41f9(0x335)]['top']*_0x55b293,_0x5a5bbe[_0x1e41f9(0x335)][_0x1e41f9(0x172)]*_0x29b446,_0x5a5bbe[_0x1e41f9(0x335)][_0x1e41f9(0x276)]*_0x55b293),_0x31a8af[_0x1e41f9(0x16f)]=_0x464c52,_0x31a8af[_0x1e41f9(0x2e8)]();}),this['_selection']['ranges'][_0x346708(0x5a6)](_0x554f2b=>{const _0x3555a3=_0x346708;let _0x42ebb2=_0x3c88da[_0x3555a3(0x22b)](_0x4b856e=>Wc(_0x4b856e,[_0x554f2b]));if(!_0x42ebb2[_0x3555a3(0x567)])return;let _0x487108=-_0xa1ba30/0x2+Math[_0x3555a3(0x61f)](..._0x42ebb2[_0x3555a3(0x37f)](_0x4e3801=>_0x4e3801[_0x3555a3(0x335)][_0x3555a3(0x3b6)]))*_0x29b446,_0x4901c6=-_0x178cff/0x2+Math[_0x3555a3(0x61f)](..._0x42ebb2['map'](_0x29841b=>_0x29841b[_0x3555a3(0x335)][_0x3555a3(0x649)]))*_0x55b293,_0x2e8457=-_0xa1ba30/0x2+Math['max'](..._0x42ebb2[_0x3555a3(0x37f)](_0x5cf8f7=>_0x5cf8f7[_0x3555a3(0x335)][_0x3555a3(0x3b6)]+_0x5cf8f7[_0x3555a3(0x335)][_0x3555a3(0x172)]))*_0x29b446,_0x4dc317=-_0x178cff/0x2+Math[_0x3555a3(0x379)](..._0x42ebb2[_0x3555a3(0x37f)](_0x1646fb=>_0x1646fb[_0x3555a3(0x335)][_0x3555a3(0x649)]+_0x1646fb['bounds'][_0x3555a3(0x276)]))*_0x55b293;Dl(_0x31a8af,_0x487108,_0x4901c6,_0x2e8457-_0x487108,_0x4dc317-_0x4901c6,_0x26185b,_0xa1ba30,_0x178cff);});}[_0x3cd2e0(0x55c)](_0x130aaa,_0xb957d,_0x45cbdd,_0x50bb06){const _0x53b774=_0x3cd2e0;var _0x729a1d;if(!this[_0x53b774(0x357)])return;let _0x505751=(_0x729a1d=this['_resolveVisibleCellCache'](_0xb957d)[_0x53b774(0x2ec)][this[_0x53b774(0x357)][_0x53b774(0x3a3)]])==null?void 0x0:_0x729a1d[this[_0x53b774(0x357)][_0x53b774(0x6ad)]];if(!_0x505751)return;let _0x2a805f=$(_0x45cbdd/_0xb957d[_0x53b774(0x172)],0x1),_0x438a35=$(_0x50bb06/_0xb957d['height'],0x1);_0x130aaa['beginPath'](),_0x130aaa['rect'](-_0x45cbdd/0x2+_0x505751[_0x53b774(0x335)][_0x53b774(0x3b6)]*_0x2a805f,-_0x50bb06/0x2+_0x505751[_0x53b774(0x335)][_0x53b774(0x649)]*_0x438a35,_0x505751[_0x53b774(0x335)]['width']*_0x2a805f,_0x505751[_0x53b774(0x335)][_0x53b774(0x276)]*_0x438a35),_0x130aaa[_0x53b774(0x3c3)]=_0x53b774(0x5ec),_0x130aaa[_0x53b774(0x28b)]=0x1,_0x130aaa[_0x53b774(0x34f)]();}[_0x3cd2e0(0x41f)](_0x240f03,_0x2a2999,_0x59a433,_0x5b26c4){const _0x2ca095=_0x3cd2e0;this[_0x2ca095(0x632)]()&&this['_buildControlButtons'](_0x2a2999,_0x59a433,_0x5b26c4,{'showAll':!0x0})[_0x2ca095(0x22b)](_0x2c6e64=>_0x2c6e64[_0x2ca095(0x1b6)]!=='table-handle')['forEach'](_0x170895=>{const _0x181c4c=_0x2ca095;let _0x12f0a6=-_0x59a433/0x2+_0x170895['rect']['x'],_0x1cbc9e=-_0x5b26c4/0x2+_0x170895['rect']['y'],_0x15897a=this[_0x181c4c(0x28a)](_0x170895),_0x37d061=this[_0x181c4c(0x429)](_0x170895);_0x240f03['beginPath'](),_0x240f03['rect'](_0x12f0a6,_0x1cbc9e,_0x170895[_0x181c4c(0x1af)]['width'],_0x170895['rect'][_0x181c4c(0x276)]),_0x240f03[_0x181c4c(0x16f)]=_0x37d061?'#d8e8ff':_0x15897a?Rc:Lc,_0x240f03[_0x181c4c(0x2e8)](),_0x240f03[_0x181c4c(0x3c3)]=_0x15897a||_0x37d061?Bc:zc,_0x240f03[_0x181c4c(0x28b)]=0x1,_0x240f03[_0x181c4c(0x34f)]();});}[_0x3cd2e0(0x1e0)](_0x409267,_0x34cf5b,_0x4ad720,_0x38d095,_0x53fca2){const _0x22cc53=_0x3cd2e0;if(!this[_0x22cc53(0x229)]())return;let _0x1095d1=$c(this[_0x22cc53(0x31f)]());if(_0x1095d1[_0x22cc53(0x400)]){let _0x28e6ce=-_0x4ad720/0x2;_0x53fca2[_0x22cc53(0x5a6)]((_0x1ed1ec,_0x40c837)=>{const _0xa0f88b=_0x22cc53;this[_0xa0f88b(0x344)](_0x409267,{'kind':_0xa0f88b(0x3a3),'index':_0x40c837,'x':-_0x34cf5b/0x2-0xa,'y':_0x28e6ce,'width':0xa,'height':_0x1ed1ec}),_0x28e6ce+=_0x1ed1ec;});}if(_0x1095d1['columns']){let _0x251dec=-_0x34cf5b/0x2;_0x38d095[_0x22cc53(0x5a6)]((_0x3a7ddb,_0x25656b)=>{const _0x47c4b3=_0x22cc53;this[_0x47c4b3(0x344)](_0x409267,{'kind':_0x47c4b3(0x6ad),'index':_0x25656b,'x':_0x251dec,'y':-_0x4ad720/0x2-0xa,'width':_0x3a7ddb,'height':0xa}),_0x251dec+=_0x3a7ddb;});}}[_0x3cd2e0(0x344)](_0x84f008,_0x2d7a8f){const _0x144ab1=_0x3cd2e0;_0x84f008[_0x144ab1(0x1e6)](),_0x84f008[_0x144ab1(0x1af)](_0x2d7a8f['x'],_0x2d7a8f['y'],_0x2d7a8f[_0x144ab1(0x172)],_0x2d7a8f[_0x144ab1(0x276)]),_0x84f008[_0x144ab1(0x16f)]=this['_isStructuralRangeSelected'](_0x2d7a8f[_0x144ab1(0x1b6)],_0x2d7a8f[_0x144ab1(0x510)])?'#1a73e8':this[_0x144ab1(0x4a8)](_0x2d7a8f['kind'],_0x2d7a8f[_0x144ab1(0x510)])?_0x144ab1(0x5c5):_0x144ab1(0x6d0),_0x84f008[_0x144ab1(0x2e8)]();}[_0x3cd2e0(0x173)](_0x18110e,_0xb8c93d,_0x93c017,_0x51b6ab,_0x1e8451,_0xa05dce){const _0x55791b=_0x3cd2e0;if(!this[_0x55791b(0x507)]())return;let _0x58f903=this[_0x55791b(0x1cf)]();this[_0x55791b(0x4fa)](_0xb8c93d,_0x93c017,_0x51b6ab,_0x1e8451,_0xa05dce)['filter'](_0x4f9948=>_0x4f9948[_0x55791b(0x1b6)]===_0x55791b(0x428)||_0x4f9948[_0x55791b(0x1b6)]==='column-insert-dot')[_0x55791b(0x5a6)](_0x281919=>{const _0x56f421=_0x55791b;let _0x560f09=-_0x93c017/0x2+_0x281919[_0x56f421(0x1af)]['x']+_0x281919[_0x56f421(0x1af)]['width']/0x2,_0x577963=-_0x51b6ab/0x2+_0x281919[_0x56f421(0x1af)]['y']+_0x281919['rect'][_0x56f421(0x276)]/0x2,_0x419341=this['_isHoveredStructuralTrigger'](_0x281919),_0x267f94=_0x419341?Math['min'](_0x281919[_0x56f421(0x1af)][_0x56f421(0x172)],_0x281919[_0x56f421(0x1af)][_0x56f421(0x276)])/0x2:0x2/_0x58f903;if(_0x18110e[_0x56f421(0x1e6)](),_0x18110e['arc'](_0x560f09,_0x577963,_0x267f94,0x0,Math['PI']*0x2),_0x18110e[_0x56f421(0x16f)]=_0x419341?Ic:_0x56f421(0x5f2),_0x18110e[_0x56f421(0x2e8)](),!_0x419341)return;_0x18110e[_0x56f421(0x1e6)](),_0x18110e['strokeStyle']=Hc,_0x18110e[_0x56f421(0x28b)]=1.5/_0x58f903;let _0x65634f=0x3/_0x58f903;_0x18110e[_0x56f421(0x17c)](_0x560f09-_0x65634f,_0x577963),_0x18110e[_0x56f421(0x3c8)](_0x560f09+_0x65634f,_0x577963),_0x18110e[_0x56f421(0x17c)](_0x560f09,_0x577963-_0x65634f),_0x18110e[_0x56f421(0x3c8)](_0x560f09,_0x577963+_0x65634f),_0x18110e[_0x56f421(0x34f)]();});}[_0x3cd2e0(0x466)](_0x268b53,_0x3c71e2,_0x2b4f71,_0x153048,_0x54544c){const _0x10dc8a=_0x3cd2e0;var _0xa5f2b5;(_0xa5f2b5=this[_0x10dc8a(0x5dc)])!=null&&_0xa5f2b5['visible']&&this[_0x10dc8a(0x5dc)][_0x10dc8a(0x68e)]&&nl(this['_controlState'][_0x10dc8a(0x68e)],$c(this[_0x10dc8a(0x31f)]()))&&this[_0x10dc8a(0x6ef)](_0x268b53,this['_controlState'][_0x10dc8a(0x68e)],_0x3c71e2,_0x2b4f71,_0x153048,_0x54544c);}[_0x3cd2e0(0x49e)](_0x54e7a8,_0x551e24,_0x35159e,_0x195f45,_0x46cdb3){const _0x4a91df=_0x3cd2e0;var _0x576f1c;(_0x576f1c=this['_controlState'])!=null&&_0x576f1c[_0x4a91df(0x637)]&&this[_0x4a91df(0x5dc)][_0x4a91df(0x6c6)]&&nl(this[_0x4a91df(0x5dc)][_0x4a91df(0x6c6)],$c(this['_getRenderTable']()))&&this[_0x4a91df(0x6ef)](_0x54e7a8,this[_0x4a91df(0x5dc)]['reorderGuide'],_0x551e24,_0x35159e,_0x195f45,_0x46cdb3);}[_0x3cd2e0(0x6ef)](_0x2f5a14,_0x47242c,_0x396864,_0x5c050f,_0x380156,_0x27eda1){const _0x3013ed=_0x3cd2e0;let _0x13be0d=-_0x396864/0x2,_0x2b2695=-_0x5c050f/0x2;if(_0x2f5a14['beginPath'](),_0x2f5a14['setLineDash']([]),_0x2f5a14[_0x3013ed(0x3c3)]=Ic,_0x2f5a14[_0x3013ed(0x28b)]=0x2,_0x47242c[_0x3013ed(0x1b6)]===_0x3013ed(0x3a3)){let _0x5f40a6=_0x2b2695+El(_0x27eda1,_0x47242c[_0x3013ed(0x510)]);_0x2f5a14[_0x3013ed(0x17c)](_0x13be0d,_0x5f40a6),_0x2f5a14[_0x3013ed(0x3c8)](_0x13be0d+_0x396864,_0x5f40a6);}else{let _0x29c3f2=_0x13be0d+El(_0x380156,_0x47242c[_0x3013ed(0x510)]);_0x2f5a14['moveTo'](_0x29c3f2,_0x2b2695),_0x2f5a14[_0x3013ed(0x3c8)](_0x29c3f2,_0x2b2695+_0x5c050f);}_0x2f5a14[_0x3013ed(0x34f)]();}[_0x3cd2e0(0x35e)](_0x4b8102,_0x1a9896,_0x31093a,_0x2467c8){const _0x2b8dc5=_0x3cd2e0;var _0x23ae21;if(!this[_0x2b8dc5(0x18c)]||this[_0x2b8dc5(0x302)]())return;let _0x2e648b=this[_0x2b8dc5(0x4bb)](_0x1a9896,_0x31093a,_0x2467c8)['find'](_0x3d6231=>_0x3d6231['kind']==='table-handle');if(!_0x2e648b)return;let {rect:_0x557e79}=_0x2e648b,_0x4c2ee9=-_0x31093a/0x2+_0x557e79['x'],_0x45827c=-_0x2467c8/0x2+_0x557e79['y'],_0x40df80=((_0x23ae21=this['_controlHover'])==null?void 0x0:_0x23ae21[_0x2b8dc5(0x1b6)])==='table-handle';jl(_0x4b8102,_0x4c2ee9,_0x45827c,_0x557e79[_0x2b8dc5(0x172)],_0x557e79[_0x2b8dc5(0x276)],_0x40df80),Al(_0x4b8102,_0x4c2ee9,_0x45827c,_0x557e79[_0x2b8dc5(0x172)],_0x557e79[_0x2b8dc5(0x276)],_0x40df80?Hc:Vc);}[_0x3cd2e0(0x632)](){const _0x97bc5c=_0x3cd2e0;var _0x1544a1,_0x342fde;return this[_0x97bc5c(0x302)]()?!0x1:!!((_0x1544a1=this[_0x97bc5c(0x18c)])!=null&&_0x1544a1['ranges'][_0x97bc5c(0x567)])||!!this[_0x97bc5c(0x1eb)]||!!((_0x342fde=this[_0x97bc5c(0x5dc)])!=null&&_0x342fde[_0x97bc5c(0x637)]);}[_0x3cd2e0(0x229)](){const _0x201ec8=_0x3cd2e0;var _0x52fcc5,_0x4d6b13;if(this[_0x201ec8(0x302)]())return!0x1;let _0x50197e=this[_0x201ec8(0x5dc)];return this['_selection']?!0x0:!!(_0x50197e!=null&&_0x50197e[_0x201ec8(0x637)])&&!!(_0x50197e[_0x201ec8(0x592)]||((_0x52fcc5=_0x50197e[_0x201ec8(0x6aa)])==null?void 0x0:_0x52fcc5[_0x201ec8(0x1b6)])===_0x201ec8(0x3de)||((_0x4d6b13=_0x50197e['hoveredTrigger'])==null?void 0x0:_0x4d6b13[_0x201ec8(0x1b6)])==='column-header');}[_0x3cd2e0(0x507)](){const _0x47cb6b=_0x3cd2e0;var _0x2ed629;return!this[_0x47cb6b(0x302)]()&&(!!this[_0x47cb6b(0x18c)]||!!((_0x2ed629=this[_0x47cb6b(0x5dc)])!=null&&_0x2ed629[_0x47cb6b(0x637)]));}[_0x3cd2e0(0x560)](_0x37dc6d){const _0xfbd74a=_0x3cd2e0;var _0xa0d2e0;if(this[_0xfbd74a(0x302)]()||!this[_0xfbd74a(0x18c)]&&!((_0xa0d2e0=this['_controlState'])!=null&&_0xa0d2e0[_0xfbd74a(0x637)]))return!0x1;let _0x5dde2e=this[_0xfbd74a(0x172)],_0x2de915=this[_0xfbd74a(0x276)],_0x5261de=this[_0xfbd74a(0x31f)]();if(!_0x5261de)return!0x1;let _0x45c86e={'x':_0x37dc6d['x']+_0x5dde2e/0x2,'y':_0x37dc6d['y']+_0x2de915/0x2},_0x59dcde=this[_0xfbd74a(0x386)](_0x5261de),_0x44cfb7=this[_0xfbd74a(0x4fa)](_0x59dcde,_0x5dde2e,_0x2de915,Kc(_0x5261de,_0x5dde2e),qc(_0x5261de,_0x2de915)),_0x13349b=_0x3cc087(_0x44cfb7,_0x45c86e['x'],_0x45c86e['y']);if(_0x13349b&&Pl(_0x13349b)||_0x44cfb7['some'](_0x38f600=>this[_0xfbd74a(0x486)](_0x38f600,_0x45c86e['x'],_0x45c86e['y'])))return!0x0;let _0x329e07=this[_0xfbd74a(0x4bb)](_0x59dcde,_0x5dde2e,_0x2de915)[_0xfbd74a(0x22b)](_0x48c62d=>_0x48c62d[_0xfbd74a(0x1b6)]==='table-handle');return!!_0x145d5b(_0x329e07,_0x45c86e['x'],_0x45c86e['y']);}[_0x3cd2e0(0x4bb)](_0x52a98d,_0x47c2fc,_0x15a72e,_0x3ab0f1){const _0x4d100d=_0x3cd2e0;let _0x5c9c91=$c(this[_0x4d100d(0x31f)]()),_0x504628=_0x1301e2(_0x52a98d,_0x47c2fc,_0x15a72e,_0x3ab0f1)[_0x4d100d(0x22b)](_0x28a06c=>el(_0x28a06c,_0x5c9c91));return this[_0x4d100d(0x222)]==='all'?_0x504628:_0x504628[_0x4d100d(0x22b)](_0x304f61=>_0x304f61[_0x4d100d(0x1b6)]===_0x4d100d(0x40f));}[_0x3cd2e0(0x486)](_0x3cf753,_0xbf44dd,_0x13db29){return Pl(_0x3cf753)?_0x15c921(_0xbf44dd,_0x13db29,_0x3cf753['rect']):!0x1;}[_0x3cd2e0(0x28a)](_0x5a433a){const _0x5b19d2=_0x3cd2e0;return!this[_0x5b19d2(0x1eb)]||_0x5a433a[_0x5b19d2(0x1b6)]!==this[_0x5b19d2(0x1eb)][_0x5b19d2(0x1b6)]?!0x1:_0x5a433a[_0x5b19d2(0x1b6)]===_0x5b19d2(0x2e6)?_0x5a433a[_0x5b19d2(0x3a3)]===this['_controlHover'][_0x5b19d2(0x3a3)]:_0x5a433a[_0x5b19d2(0x1b6)]!==_0x5b19d2(0x189)||_0x5a433a[_0x5b19d2(0x6ad)]===this[_0x5b19d2(0x1eb)][_0x5b19d2(0x6ad)];}['_isControlSelected'](_0x43c900){const _0x5a3316=_0x3cd2e0;return this[_0x5a3316(0x18c)]?_0x43c900[_0x5a3316(0x1b6)]===_0x5a3316(0x40f)?this[_0x5a3316(0x18c)][_0x5a3316(0x1b6)]===_0x5a3316(0x38a):_0x43c900[_0x5a3316(0x1b6)]===_0x5a3316(0x2e6)?this[_0x5a3316(0x18c)]['kind']===_0x5a3316(0x3a3)&&_0x43c900[_0x5a3316(0x3a3)]!==void 0x0&&this[_0x5a3316(0x18c)][_0x5a3316(0x289)][_0x5a3316(0x674)](_0x27955f=>_0x43c900[_0x5a3316(0x3a3)]>=Math['min'](_0x27955f[_0x5a3316(0x290)],_0x27955f[_0x5a3316(0x616)])&&_0x43c900[_0x5a3316(0x3a3)]<=Math['max'](_0x27955f[_0x5a3316(0x290)],_0x27955f[_0x5a3316(0x616)])):_0x43c900[_0x5a3316(0x1b6)]==='column-select'&&this[_0x5a3316(0x18c)]['kind']===_0x5a3316(0x6ad)&&_0x43c900['column']!==void 0x0&&this[_0x5a3316(0x18c)][_0x5a3316(0x289)][_0x5a3316(0x674)](_0x1ff4fa=>_0x43c900[_0x5a3316(0x6ad)]>=Math[_0x5a3316(0x61f)](_0x1ff4fa[_0x5a3316(0x4dd)],_0x1ff4fa[_0x5a3316(0x655)])&&_0x43c900['column']<=Math[_0x5a3316(0x379)](_0x1ff4fa[_0x5a3316(0x4dd)],_0x1ff4fa[_0x5a3316(0x655)])):!0x1;}[_0x3cd2e0(0x4a8)](_0x1d2469,_0x1b06a2){const _0x3a12aa=_0x3cd2e0;var _0x12d4ac;let _0x33fc7a=(_0x12d4ac=this[_0x3a12aa(0x5dc)])==null?void 0x0:_0x12d4ac[_0x3a12aa(0x6aa)];return _0x1d2469===_0x3a12aa(0x3a3)?(_0x33fc7a==null?void 0x0:_0x33fc7a[_0x3a12aa(0x1b6)])===_0x3a12aa(0x3de)&&_0x33fc7a[_0x3a12aa(0x3a3)]===_0x1b06a2:(_0x33fc7a==null?void 0x0:_0x33fc7a['kind'])===_0x3a12aa(0x2f1)&&_0x33fc7a['column']===_0x1b06a2;}[_0x3cd2e0(0x22f)](_0x24819a){const _0x3942fa=_0x3cd2e0;var _0x2fb394;let _0x3835da=(_0x2fb394=this[_0x3942fa(0x5dc)])==null?void 0x0:_0x2fb394[_0x3942fa(0x6aa)];return!_0x3835da||_0x3835da[_0x3942fa(0x1b6)]!==_0x24819a[_0x3942fa(0x1b6)]?!0x1:_0x24819a[_0x3942fa(0x1b6)]==='row-header'||_0x24819a[_0x3942fa(0x1b6)]===_0x3942fa(0x428)?_0x3835da[_0x3942fa(0x3a3)]!==void 0x0&&_0x3835da[_0x3942fa(0x3a3)]===_0x24819a[_0x3942fa(0x3a3)]:_0x24819a[_0x3942fa(0x1b6)]===_0x3942fa(0x2f1)||_0x24819a[_0x3942fa(0x1b6)]===_0x3942fa(0x4ca)?_0x3835da['column']!==void 0x0&&_0x3835da[_0x3942fa(0x6ad)]===_0x24819a[_0x3942fa(0x6ad)]:!0x1;}['_isStructuralRangeSelected'](_0x4fd68b,_0x164433){const _0x385e46=_0x3cd2e0;var _0x9deca6;let _0x4d4bd3=(_0x9deca6=this[_0x385e46(0x5dc)])==null?void 0x0:_0x9deca6['selectedStructuralRange'];return!_0x4d4bd3||_0x4d4bd3[_0x385e46(0x1b6)]!==_0x4fd68b?!0x1:_0x164433>=Math[_0x385e46(0x61f)](_0x4d4bd3[_0x385e46(0x35f)],_0x4d4bd3['end'])&&_0x164433<=Math[_0x385e46(0x379)](_0x4d4bd3[_0x385e46(0x35f)],_0x4d4bd3[_0x385e46(0x488)]);}[_0x3cd2e0(0x4fa)](_0x2bf110,_0x4053fd,_0x362f08,_0x1d57d8,_0x7bb6d2){const _0x5e8d78=_0x3cd2e0;var _0x19f8a4;let _0x531b27=$c(this[_0x5e8d78(0x31f)]());return _0x340c54({'tableId':(_0x19f8a4=this[_0x5e8d78(0x31f)]())==null?void 0x0:_0x19f8a4['id'],'tableWidth':_0x4053fd,'tableHeight':_0x362f08,'rowHeights':_0x7bb6d2,'columnWidths':_0x1d57d8,'mergedCells':_0x2bf110['cells']['filter'](_0x4c0411=>!_0x4c0411[_0x5e8d78(0x50f)]&&(_0x4c0411[_0x5e8d78(0x5c0)]>0x1||_0x4c0411[_0x5e8d78(0x457)]>0x1))[_0x5e8d78(0x37f)](_0x8fea24=>({'startRow':_0x8fea24['row'],'endRow':_0x8fea24[_0x5e8d78(0x3a3)]+_0x8fea24['rowSpan']-0x1,'startColumn':_0x8fea24[_0x5e8d78(0x6ad)],'endColumn':_0x8fea24[_0x5e8d78(0x6ad)]+_0x8fea24[_0x5e8d78(0x457)]-0x1})),'zoom':this['_getStructuralControlZoom']()})['filter'](_0xeb5255=>tl(_0xeb5255,_0x531b27));}[_0x3cd2e0(0x1cf)](){const _0x5304d4=_0x3cd2e0;var _0x4e6210,_0x3e936c;let _0x5c30fc=(_0x4e6210=this[_0x5304d4(0x67f)]())==null||(_0x3e936c=_0x4e6210[_0x5304d4(0x4fd)])==null?void 0x0:_0x3e936c[_0x5304d4(0x5cd)](_0x4e6210);return $((_0x5c30fc==null?void 0x0:_0x5c30fc[_0x5304d4(0x417)])??(_0x5c30fc==null?void 0x0:_0x5c30fc[_0x5304d4(0x489)]),0x1);}['_hasActiveStructuralControlState'](){const _0x4dd567=_0x3cd2e0;var _0x254e6c,_0x6b62cc;return this[_0x4dd567(0x229)]()||this[_0x4dd567(0x507)]()||!!((_0x254e6c=this['_controlState'])!=null&&_0x254e6c[_0x4dd567(0x68e)])||!!((_0x6b62cc=this[_0x4dd567(0x5dc)])!=null&&_0x6b62cc[_0x4dd567(0x6c6)]);}[_0x3cd2e0(0x302)](){const _0x2f8ca3=_0x3cd2e0;var _0x3df81c;return!!this['_editingCell']||((_0x3df81c=this[_0x2f8ca3(0x18c)])==null?void 0x0:_0x3df81c[_0x2f8ca3(0x1b6)])==='text';}['_resolvePictureFill'](_0x8eee9b){const _0x38bca6=_0x3cd2e0;var _0x5b558e,_0x24d9b9;let _0x3241ec=_0x8eee9b==null||(_0x5b558e=_0x8eee9b[_0x38bca6(0x258)])==null?void 0x0:_0x5b558e[_0x38bca6(0x186)];if(!_0x3241ec)return;let _0x3fec40=((_0x24d9b9=_0x8eee9b[_0x38bca6(0x258)])==null?void 0x0:_0x24d9b9['sourceType'])??_0x3595c6[_0x38bca6(0x3cc)],_0xaab1a2=_0x3fec40+':'+_0x3241ec,_0x3f7db3=this[_0x38bca6(0x54f)]['getImageSourceCache'](_0x3241ec,_0x3fec40);if(_0x3f7db3)return e[_0x38bca6(0x373)][_0x38bca6(0x330)](_0xaab1a2,_0x3f7db3),_0x3f7db3;let _0x4c4bf3=e[_0x38bca6(0x373)][_0x38bca6(0x57d)](_0xaab1a2);if(_0x4c4bf3)return this[_0x38bca6(0x54f)][_0x38bca6(0x441)](_0x3241ec,_0x3fec40,_0x4c4bf3),_0x4c4bf3;if(!e[_0x38bca6(0x55e)][_0x38bca6(0x5e8)](_0xaab1a2)){let _0x592884=this['_createImagePromise'](_0xaab1a2,_0x3241ec,_0x3fec40);e[_0x38bca6(0x55e)][_0x38bca6(0x330)](_0xaab1a2,_0x592884),this[_0x38bca6(0x26d)]['add'](_0x576a9f(_0x592884)[_0x38bca6(0x18d)]({'error':()=>void 0x0,'next':_0x36f1de=>{_0x36f1de&&this['makeDirty'](!0x0);}}));}}async[_0x3cd2e0(0x182)](_0x22149b,_0x577704,_0x281f29){const _0x1b3f4e=_0x3cd2e0;try{let _0x4bf386=_0x281f29===_0x3595c6[_0x1b3f4e(0x31e)]?await this[_0x1b3f4e(0x54f)]['getImage'](_0x577704):_0x577704;if(!_0x4bf386)return null;let _0x2374f4=await new Promise(_0x5d2120=>{const _0x559b2a=_0x1b3f4e;let _0x15c37c=document[_0x559b2a(0x1e5)](_0x559b2a(0x1c7));_0x15c37c[_0x559b2a(0x27a)]=_0x559b2a(0x687),_0x15c37c[_0x559b2a(0x1aa)]=()=>_0x5d2120(_0x15c37c),_0x15c37c['onerror']=()=>_0x5d2120(null),_0x15c37c[_0x559b2a(0x2f6)]=_0x4bf386;});return _0x2374f4&&(e[_0x1b3f4e(0x373)]['set'](_0x22149b,_0x2374f4),this[_0x1b3f4e(0x54f)][_0x1b3f4e(0x441)](_0x577704,_0x281f29,_0x2374f4)),_0x2374f4;}finally{e['_imageLoadingCache']['delete'](_0x22149b);}}};q(Gc,_0x3cd2e0(0x373),new Map()),q(Gc,'_imageLoadingCache',new Map());function Kc(_0x49100d,_0x408444){const _0x595d24=_0x3cd2e0;let _0x270896=_0x49100d==null?void 0x0:_0x49100d[_0x595d24(0x581)][_0x595d24(0x37f)](_0x20b592=>_0x20b592[_0x595d24(0x172)])[_0x595d24(0x22b)](_0x36178f=>_0x36178f>0x0);return Jc(_0x270896!=null&&_0x270896[_0x595d24(0x567)]?_0x270896:[0x1,0x1,0x1],_0x408444);}function qc(_0x7b6134,_0x359283){const _0x116cbd=_0x3cd2e0;let _0x5caaf3=_0x7b6134==null?void 0x0:_0x7b6134['rows'][_0x116cbd(0x37f)](_0x33746e=>_0x33746e['height']??0x18)['filter'](_0x1de3d2=>_0x1de3d2>0x0);return Jc(_0x5caaf3!=null&&_0x5caaf3[_0x116cbd(0x567)]?_0x5caaf3:[0x1,0x1,0x1],_0x359283);}function Jc(_0x2f4999,_0x44413e){const _0x26ce91=_0x3cd2e0;let _0xbcab68=_0x2f4999[_0x26ce91(0x170)]((_0x4952ae,_0x45453b)=>_0x4952ae+_0x45453b,0x0);return _0xbcab68<=0x0?[_0x44413e]:_0x2f4999[_0x26ce91(0x37f)](_0xc655c5=>_0xc655c5/_0xbcab68*_0x44413e);}function Yc(_0x3c03e8,_0xc7486b=0x0){const _0x16b47f=_0x3cd2e0;return typeof _0x3c03e8==_0x16b47f(0x59d)&&Number[_0x16b47f(0x2cd)](_0x3c03e8)?_0x3c03e8:_0xc7486b;}function $(_0x465a6a,_0x3c12cf){let _0x26fde2=Yc(_0x465a6a,_0x3c12cf);return _0x26fde2>0x0?_0x26fde2:_0x3c12cf;}function Xc(_0x375d7c){return _0x375d7c&&typeof _0x375d7c=='object'?_0x375d7c:null;}function Zc(_0x1d536a){const _0x359cff=_0x3cd2e0;let _0x2331e5=Xc(_0x1d536a==null?void 0x0:_0x1d536a[_0x359cff(0x485)]);if(!_0x2331e5)return null;let _0x4d2795=Yc(_0x2331e5[_0x359cff(0x4a4)],0x0);return _0x4d2795>0x0||typeof _0x2331e5[_0x359cff(0x45e)]==_0x359cff(0x59d)||typeof _0x2331e5['outerBorderColor']==_0x359cff(0x5a0)?{'borderRadius':Math[_0x359cff(0x379)](0x0,_0x4d2795),'borderWidth':$(_0x2331e5[_0x359cff(0x45e)],1.5),'borderColor':typeof _0x2331e5['outerBorderColor']=='string'?_0x2331e5[_0x359cff(0x627)]:Mc}:null;}function Qc(_0x5de0b3){const _0x584738=_0x3cd2e0;let _0x4df1ff=Xc(_0x5de0b3==null?void 0x0:_0x5de0b3[_0x584738(0x485)]);if(!_0x4df1ff)return null;let _0x38052a=Xc(_0x4df1ff[_0x584738(0x1f5)]);return _0x38052a?{'titleRow':Math['max'](0x0,Math[_0x584738(0x4d7)](Yc(_0x38052a[_0x584738(0x557)],0x0))),'titleColumn':Math[_0x584738(0x379)](0x0,Math['floor'](Yc(_0x38052a['titleColumn'],0x0))),'notchWidth':$(_0x38052a[_0x584738(0x6ea)],0x18),'borderWidth':$(_0x4df1ff[_0x584738(0x45e)],1.5),'borderColor':typeof _0x4df1ff[_0x584738(0x627)]=='string'?_0x4df1ff[_0x584738(0x627)]:Mc}:null;}function $c(_0x59b7ba){const _0x4cad3c=_0x3cd2e0;let _0x5d94e9=Xc(_0x59b7ba==null?void 0x0:_0x59b7ba[_0x4cad3c(0x485)]);if(!_0x5d94e9)return{'rows':!0x0,'columns':!0x0};let _0x56af8e=Xc(_0x5d94e9['structuralControls']);return _0x56af8e?{'rows':_0x56af8e[_0x4cad3c(0x400)]!==!0x1,'columns':_0x56af8e[_0x4cad3c(0x581)]!==!0x1}:{'rows':!0x0,'columns':!0x0};}function el(_0x3fd2b5,_0x2a56b1){const _0x42d05b=_0x3cd2e0;return _0x3fd2b5[_0x42d05b(0x1b6)]==='row-select'?_0x2a56b1[_0x42d05b(0x400)]:_0x3fd2b5[_0x42d05b(0x1b6)]!==_0x42d05b(0x189)||_0x2a56b1['columns'];}function tl(_0x5bab28,_0x55ebf5){const _0x2c16c6=_0x3cd2e0;return _0x5bab28[_0x2c16c6(0x1b6)]===_0x2c16c6(0x3de)||_0x5bab28[_0x2c16c6(0x1b6)]===_0x2c16c6(0x428)||_0x5bab28['kind']===_0x2c16c6(0x30a)?_0x55ebf5[_0x2c16c6(0x400)]:_0x5bab28[_0x2c16c6(0x1b6)]==='column-header'||_0x5bab28[_0x2c16c6(0x1b6)]===_0x2c16c6(0x4ca)||_0x5bab28[_0x2c16c6(0x1b6)]===_0x2c16c6(0x53c)?_0x55ebf5[_0x2c16c6(0x581)]:!0x0;}function nl(_0x26585d,_0x19ba13){const _0x302ea0=_0x3cd2e0;return _0x26585d['kind']===_0x302ea0(0x3a3)?_0x19ba13[_0x302ea0(0x400)]:_0x19ba13[_0x302ea0(0x581)];}function rl(_0x1baee2,_0x7dc0aa,_0x15acfd,_0x186898){const _0x391ae1=_0x3cd2e0;_0x1baee2['beginPath'](),al(_0x1baee2,-_0x7dc0aa/0x2,-_0x15acfd/0x2,_0x7dc0aa,_0x15acfd,_0x186898[_0x391ae1(0x15a)]),_0x1baee2[_0x391ae1(0x341)]([]),_0x1baee2[_0x391ae1(0x3c3)]=_0x186898['borderColor'],_0x1baee2[_0x391ae1(0x28b)]=_0x186898[_0x391ae1(0x1c4)],_0x1baee2['stroke']();}function il(_0x205afa,_0x103f3c,_0x45e80d,_0x8e6951,_0x25a5cb,_0x125bcb){const _0x11f105=_0x3cd2e0;let _0x249d7f=-_0x103f3c/0x2+El(_0x8e6951,_0x125bcb[_0x11f105(0x434)]),_0x161e89=-_0x45e80d/0x2+El(_0x25a5cb,_0x125bcb[_0x11f105(0x557)]),_0x3b7316=_0x8e6951[_0x125bcb[_0x11f105(0x434)]],_0x2ead66=_0x25a5cb[_0x125bcb['titleRow']];if(!_0x3b7316||!_0x2ead66)return;let _0x970608=_0x249d7f+_0x3b7316,_0x18b6b4=_0x161e89+_0x2ead66,_0x1dfbd4=Math[_0x11f105(0x61f)](_0x125bcb[_0x11f105(0x6ea)],Math[_0x11f105(0x379)](0x0,_0x3b7316-0x1),Math[_0x11f105(0x379)](0x0,_0x2ead66-0x1));_0x205afa['beginPath'](),_0x205afa[_0x11f105(0x341)]([]),_0x205afa[_0x11f105(0x3c3)]=_0x125bcb[_0x11f105(0x4b9)],_0x205afa['lineWidth']=_0x125bcb[_0x11f105(0x1c4)],_0x205afa[_0x11f105(0x17c)](_0x249d7f,_0x161e89),_0x205afa['lineTo'](_0x970608,_0x161e89),_0x205afa[_0x11f105(0x3c8)](_0x970608,_0x18b6b4-_0x1dfbd4),_0x205afa[_0x11f105(0x3c8)](_0x970608-_0x1dfbd4,_0x18b6b4),_0x205afa[_0x11f105(0x3c8)](_0x249d7f,_0x18b6b4),_0x205afa[_0x11f105(0x3c8)](_0x249d7f,_0x161e89),_0x205afa[_0x11f105(0x34f)]();}function al(_0x147fde,_0x4f87f8,_0x3ce85a,_0x869a7f,_0x42f8cd,_0x460794){const _0xc2138d=_0x3cd2e0;let _0x5d62b9=_0x4f87f8+_0x869a7f,_0x3327e5=_0x3ce85a+_0x42f8cd,_0x1eee3e=Math[_0xc2138d(0x61f)](Math[_0xc2138d(0x379)](0x0,_0x460794),_0x869a7f/0x2,_0x42f8cd/0x2);if(_0x1eee3e<=0x0){_0x147fde['rect'](_0x4f87f8,_0x3ce85a,_0x869a7f,_0x42f8cd);return;}_0x147fde[_0xc2138d(0x17c)](_0x4f87f8+_0x1eee3e,_0x3ce85a),_0x147fde[_0xc2138d(0x3c8)](_0x5d62b9-_0x1eee3e,_0x3ce85a),_0x147fde[_0xc2138d(0x32c)](_0x5d62b9,_0x3ce85a,_0x5d62b9,_0x3ce85a+_0x1eee3e),_0x147fde['lineTo'](_0x5d62b9,_0x3327e5-_0x1eee3e),_0x147fde['quadraticCurveTo'](_0x5d62b9,_0x3327e5,_0x5d62b9-_0x1eee3e,_0x3327e5),_0x147fde['lineTo'](_0x4f87f8+_0x1eee3e,_0x3327e5),_0x147fde['quadraticCurveTo'](_0x4f87f8,_0x3327e5,_0x4f87f8,_0x3327e5-_0x1eee3e),_0x147fde['lineTo'](_0x4f87f8,_0x3ce85a+_0x1eee3e),_0x147fde[_0xc2138d(0x32c)](_0x4f87f8,_0x3ce85a,_0x4f87f8+_0x1eee3e,_0x3ce85a);}function ol(_0x47c3e5,_0x3500f3){const _0x36db46=_0x3cd2e0;return _0x47c3e5!=null&&_0x47c3e5[_0x36db46(0x6ab)]['firstRow']&&_0x3500f3===0x0?_0x36db46(0x4a6):_0x47c3e5!=null&&_0x47c3e5[_0x36db46(0x6ab)]['bandRow']&&_0x3500f3%0x2==0x1?_0x36db46(0x63d):Pc;}function sl(_0x232b82,_0x28d1e7,_0x4ea7ce,_0x2a7254,_0x2679ef,_0x8c017c,_0x21b5ee){const _0x49e299=_0x3cd2e0;var _0xca0e0f;if(!(_0x28d1e7!=null&&(_0xca0e0f=_0x28d1e7['picture'])!=null&&_0xca0e0f[_0x49e299(0x186)]))return!0x1;if(_0x232b82[_0x49e299(0x195)](),_0x232b82[_0x49e299(0x1e6)](),_0x232b82[_0x49e299(0x1af)](_0x2a7254,_0x2679ef,_0x8c017c,_0x21b5ee),_0x232b82['clip'](),_0x232b82['globalAlpha']=pl(_0x28d1e7[_0x49e299(0x258)]['opacity']??_0x28d1e7['alpha']??0x1)??0x1,_0x28d1e7[_0x49e299(0x258)]['mode']==='tile'){let _0x41feea=_0x232b82[_0x49e299(0x1a2)](_0x4ea7ce,_0x49e299(0x2c5));return _0x41feea?(_0x232b82[_0x49e299(0x16f)]=_0x41feea,_0x232b82[_0x49e299(0x38e)](_0x2a7254,_0x2679ef,_0x8c017c,_0x21b5ee),_0x232b82[_0x49e299(0x59a)](),!0x0):(_0x232b82[_0x49e299(0x59a)](),!0x1);}return _0x232b82[_0x49e299(0x1bd)](_0x4ea7ce,_0x2a7254,_0x2679ef,_0x8c017c,_0x21b5ee),_0x232b82[_0x49e299(0x59a)](),!0x0;}function cl(_0x44b509,_0x2fd938,_0x365b1a,_0x3d84cc,_0x313b89,_0x229279){const _0x2278e0=_0x3cd2e0;var _0xcb8570;if((_0x2fd938==null?void 0x0:_0x2fd938[_0x2278e0(0x278)])===_0x2278e0(0x238))return;if(_0x2fd938!=null&&(_0xcb8570=_0x2fd938[_0x2278e0(0x6db)])!=null&&(_0xcb8570=_0xcb8570[_0x2278e0(0x59e)])!=null&&_0xcb8570[_0x2278e0(0x567)]){let _0x165a2b=ul(_0x44b509,_0x2fd938['gradient'],_0x365b1a,_0x3d84cc,_0x313b89,_0x229279);return _0x2fd938[_0x2278e0(0x6db)]['stops']['forEach'](_0x134e5e=>{const _0x16cf73=_0x2278e0;_0x165a2b[_0x16cf73(0x57c)](dl(_0x134e5e[_0x16cf73(0x4c3)]),fl(_0x134e5e[_0x16cf73(0x565)],_0x134e5e['opacity']??_0x2fd938[_0x16cf73(0x33a)]??0x1));}),_0x165a2b;}let _0x1bb025=_0x2fd938==null?void 0x0:_0x2fd938[_0x2278e0(0x565)];if(!_0x1bb025)return;let _0x268a14=pl(_0x2fd938[_0x2278e0(0x33a)]);if(_0x268a14===void 0x0||_0x268a14>=0x1)return _0x1bb025;let _0x2d826e=gl(_0x1bb025);return _0x2d826e?_0x2278e0(0x60a)+_0x2d826e['r']+',\x20'+_0x2d826e['g']+',\x20'+_0x2d826e['b']+',\x20'+hl(_0x268a14)+')':_0x1bb025;}function ll(_0xa91dd5,_0x22c3e8,_0x2e5074){const _0x594d35=_0x3cd2e0;var _0x42bd67;if(!_0xa91dd5)return ol(_0x22c3e8,_0x2e5074);if(_0xa91dd5[_0x594d35(0x278)]==='none'||(_0x42bd67=_0xa91dd5[_0x594d35(0x6db)])!=null&&(_0x42bd67=_0x42bd67[_0x594d35(0x59e)])!=null&&_0x42bd67[_0x594d35(0x567)]||_0xa91dd5['picture'])return;let _0x225702=_0xa91dd5[_0x594d35(0x565)];if(!_0x225702)return;let _0x5b43ff=pl(_0xa91dd5[_0x594d35(0x33a)]);if(_0x5b43ff===void 0x0||_0x5b43ff>=0x1)return _0x225702;let _0x380590=gl(_0x225702);return _0x380590?_0x594d35(0x60a)+_0x380590['r']+',\x20'+_0x380590['g']+',\x20'+_0x380590['b']+',\x20'+hl(_0x5b43ff)+')':_0x225702;}function ul(_0x30b838,_0x9f60f9,_0x316480,_0x32376a,_0x241d72,_0x1162c0){const _0x4db10c=_0x3cd2e0;if(_0x9f60f9[_0x4db10c(0x278)]===_0x4db10c(0x65a)||_0x9f60f9[_0x4db10c(0x278)]===_0x4db10c(0x6bc)){let _0x370e24=Math['max'](_0x241d72,_0x1162c0)/0x2;return _0x30b838[_0x4db10c(0x6b5)](_0x316480+_0x241d72/0x2,_0x32376a+_0x1162c0/0x2,0x0,_0x316480+_0x241d72/0x2,_0x32376a+_0x1162c0/0x2,_0x370e24);}let _0x8b19b5=((_0x9f60f9[_0x4db10c(0x2fe)]??0x0)+0x5a)%0x168*Math['PI']/0xb4,_0xb333fc=_0x316480+_0x241d72/0x2,_0x2d7561=_0x32376a+_0x1162c0/0x2,_0x52e3d4=Math[_0x4db10c(0x23d)](_0x241d72*_0x241d72+_0x1162c0*_0x1162c0)/0x2,_0x43549=Math[_0x4db10c(0x24f)](_0x8b19b5)*_0x52e3d4,_0x8a6d6f=Math['sin'](_0x8b19b5)*_0x52e3d4;return _0x30b838[_0x4db10c(0x575)](_0xb333fc-_0x43549,_0x2d7561-_0x8a6d6f,_0xb333fc+_0x43549,_0x2d7561+_0x8a6d6f);}function dl(_0x235dc4){const _0x38e7aa=_0x3cd2e0;return Number['isFinite'](_0x235dc4)?_0x235dc4<=0x1?Math['min'](0x1,Math[_0x38e7aa(0x379)](0x0,_0x235dc4)):Math[_0x38e7aa(0x61f)](0x1,Math[_0x38e7aa(0x379)](0x0,_0x235dc4/0x64)):0x0;}function fl(_0x42e352,_0x20eb38){const _0x4fa189=_0x3cd2e0;let _0x450468=_0x42e352[_0x4fa189(0x337)](),_0x59a06e=ml(_0x20eb38);if(/^#[0-9a-f]{3}$/i[_0x4fa189(0x1ed)](_0x450468)){let [,_0x1a28fb,_0x56c70b,_0x28df68]=_0x450468;return _0x4fa189(0x60a)+Number[_0x4fa189(0x354)](_0x1a28fb+_0x1a28fb,0x10)+',\x20'+Number['parseInt'](_0x56c70b+_0x56c70b,0x10)+',\x20'+Number[_0x4fa189(0x354)](_0x28df68+_0x28df68,0x10)+',\x20'+hl(_0x59a06e)+')';}return/^#[0-9a-f]{6}$/i[_0x4fa189(0x1ed)](_0x450468)?'rgba('+Number[_0x4fa189(0x354)](_0x450468[_0x4fa189(0x5b4)](0x1,0x3),0x10)+',\x20'+Number[_0x4fa189(0x354)](_0x450468[_0x4fa189(0x5b4)](0x3,0x5),0x10)+',\x20'+Number[_0x4fa189(0x354)](_0x450468[_0x4fa189(0x5b4)](0x5,0x7),0x10)+',\x20'+hl(_0x59a06e)+')':_0x42e352;}function pl(_0x5b2104){if(typeof _0x5b2104=='number'&&Number['isFinite'](_0x5b2104))return ml(_0x5b2104<=0x1?_0x5b2104:_0x5b2104<=0x64?_0x5b2104/0x64:_0x5b2104/0x186a0);}function ml(_0x281544){const _0x55e423=_0x3cd2e0;return Math[_0x55e423(0x61f)](0x1,Math[_0x55e423(0x379)](0x0,_0x281544));}function hl(_0x410656){const _0x23fe93=_0x3cd2e0;return Number(_0x410656[_0x23fe93(0x3c7)](0x4))[_0x23fe93(0x597)]();}function gl(_0x355417){const _0x4ed7f6=_0x3cd2e0;let _0x3ba3d4=_0x355417[_0x4ed7f6(0x337)](),_0x20e251=/^#([0-9a-f]{3})$/i[_0x4ed7f6(0x691)](_0x3ba3d4);if(_0x20e251){let [_0x4eba8b,_0x56b66c,_0x58e728]=_0x20e251[0x1][_0x4ed7f6(0x697)]('')[_0x4ed7f6(0x37f)](_0xaa4057=>Number['parseInt'](''+_0xaa4057+_0xaa4057,0x10));return{'r':_0x4eba8b,'g':_0x56b66c,'b':_0x58e728};}let _0x1b6a52=/^#([0-9a-f]{6})$/i[_0x4ed7f6(0x691)](_0x3ba3d4);if(_0x1b6a52)return{'r':Number[_0x4ed7f6(0x354)](_0x1b6a52[0x1]['slice'](0x0,0x2),0x10),'g':Number[_0x4ed7f6(0x354)](_0x1b6a52[0x1][_0x4ed7f6(0x5b4)](0x2,0x4),0x10),'b':Number[_0x4ed7f6(0x354)](_0x1b6a52[0x1][_0x4ed7f6(0x5b4)](0x4,0x6),0x10)};}function _l(_0x405a20,_0x296c94,_0x1ba0d5,_0x24ff5b,_0x1d8c6b,_0x3d37e3){const _0x2b5bd0=_0x3cd2e0;_0x296c94&&_0x296c94[_0x2b5bd0(0x586)]!==_0x2b5bd0(0x238)&&(_0x405a20[_0x2b5bd0(0x1e6)](),_0x405a20[_0x2b5bd0(0x341)](Tl(_0x296c94[_0x2b5bd0(0x586)])),_0x405a20[_0x2b5bd0(0x3c3)]=_0x296c94[_0x2b5bd0(0x565)]||Nc,_0x405a20[_0x2b5bd0(0x28b)]=$(_0x296c94[_0x2b5bd0(0x172)],0x1),_0x405a20['moveTo'](_0x1ba0d5,_0x24ff5b),_0x405a20[_0x2b5bd0(0x3c8)](_0x1d8c6b,_0x3d37e3),_0x405a20[_0x2b5bd0(0x34f)](),_0x405a20['setLineDash']([]));}function vl(_0x223fe2,_0xa1f5f4,_0x454d2e,_0x1a4fa6){const _0x1a3d3a=_0x3cd2e0;var _0x49c5cf,_0x32a56a,_0x563f52,_0x883c7b;return!_0xa1f5f4||_0xa1f5f4[_0x1a3d3a(0x3a3)]!==_0x223fe2[_0x1a3d3a(0x3a3)]||_0xa1f5f4[_0x1a3d3a(0x5c0)]!==_0x223fe2[_0x1a3d3a(0x5c0)]?!0x1:_0x1a4fa6===ll(_0xa1f5f4['style'][_0x1a3d3a(0x2e8)],_0x454d2e,_0xa1f5f4[_0x1a3d3a(0x3a3)])&&!Sl((_0x49c5cf=_0x223fe2[_0x1a3d3a(0x36d)][_0x1a3d3a(0x2d5)])==null?void 0x0:_0x49c5cf[_0x1a3d3a(0x3ec)],(_0x32a56a=_0xa1f5f4[_0x1a3d3a(0x36d)][_0x1a3d3a(0x2d5)])==null?void 0x0:_0x32a56a[_0x1a3d3a(0x3b6)],(_0x563f52=_0x223fe2[_0x1a3d3a(0x36d)][_0x1a3d3a(0x2d5)])==null?void 0x0:_0x563f52[_0x1a3d3a(0x5aa)],(_0x883c7b=_0xa1f5f4[_0x1a3d3a(0x36d)]['borders'])==null?void 0x0:_0x883c7b[_0x1a3d3a(0x5aa)]);}function yl(_0x4ea8ec,_0x56a89c,_0x34c898,_0x178e67){const _0x56f0cc=_0x3cd2e0;var _0x26b9a6,_0x449685,_0x468c27,_0x255aec;return!_0x56a89c||_0x56a89c[_0x56f0cc(0x6ad)]!==_0x4ea8ec[_0x56f0cc(0x6ad)]||_0x56a89c['columnSpan']!==_0x4ea8ec[_0x56f0cc(0x457)]?!0x1:_0x178e67===ll(_0x56a89c[_0x56f0cc(0x36d)][_0x56f0cc(0x2e8)],_0x34c898,_0x56a89c[_0x56f0cc(0x3a3)])&&!Sl((_0x26b9a6=_0x4ea8ec[_0x56f0cc(0x36d)][_0x56f0cc(0x2d5)])==null?void 0x0:_0x26b9a6[_0x56f0cc(0x5fd)],(_0x449685=_0x56a89c['style'][_0x56f0cc(0x2d5)])==null?void 0x0:_0x449685['top'],(_0x468c27=_0x4ea8ec[_0x56f0cc(0x36d)][_0x56f0cc(0x2d5)])==null?void 0x0:_0x468c27['insideH'],(_0x255aec=_0x56a89c['style'][_0x56f0cc(0x2d5)])==null?void 0x0:_0x255aec[_0x56f0cc(0x4e3)]);}function bl(_0x1fb8c9,_0xe33ca4){const _0x38a91f=_0x3cd2e0;var _0x545339,_0x5596fb;return _0xe33ca4?Sl(_0x1fb8c9==null?void 0x0:_0x1fb8c9[_0x38a91f(0x3ec)],(_0x545339=_0xe33ca4['style'][_0x38a91f(0x2d5)])==null?void 0x0:_0x545339[_0x38a91f(0x3b6)],_0x1fb8c9==null?void 0x0:_0x1fb8c9[_0x38a91f(0x5aa)],(_0x5596fb=_0xe33ca4[_0x38a91f(0x36d)][_0x38a91f(0x2d5)])==null?void 0x0:_0x5596fb[_0x38a91f(0x5aa)]):_0x322338(_0x1fb8c9==null?void 0x0:_0x1fb8c9[_0x38a91f(0x3ec)],void 0x0);}function xl(_0x553299,_0x2c87f3){const _0x503131=_0x3cd2e0;var _0x2181ad,_0x449243;return _0x2c87f3?Sl(_0x553299==null?void 0x0:_0x553299[_0x503131(0x5fd)],(_0x2181ad=_0x2c87f3[_0x503131(0x36d)][_0x503131(0x2d5)])==null?void 0x0:_0x2181ad[_0x503131(0x649)],_0x553299==null?void 0x0:_0x553299[_0x503131(0x4e3)],(_0x449243=_0x2c87f3[_0x503131(0x36d)][_0x503131(0x2d5)])==null?void 0x0:_0x449243['insideH']):_0x322338(_0x553299==null?void 0x0:_0x553299['bottom'],void 0x0);}function Sl(..._0x3372eb){const _0x2f8572=_0x3cd2e0;return _0x3372eb[_0x2f8572(0x170)]((_0x24b527,_0x150ba6)=>_0x322338(_0x24b527,_0x150ba6),void 0x0);}function Cl(_0x1dc5d8,_0x15f61b){const _0x6e41d=_0x3cd2e0;return _0x1dc5d8[_0x6e41d(0x3a3)]>=_0x15f61b[_0x6e41d(0x3a3)]&&_0x1dc5d8[_0x6e41d(0x3a3)]<_0x15f61b[_0x6e41d(0x3a3)]+_0x15f61b[_0x6e41d(0x5c0)]&&_0x1dc5d8['column']>=_0x15f61b['column']&&_0x1dc5d8[_0x6e41d(0x6ad)]<_0x15f61b[_0x6e41d(0x6ad)]+_0x15f61b[_0x6e41d(0x457)];}function wl(_0x3dad61){const _0x2a8871=_0x3cd2e0;return!_0x3dad61||_0x3dad61[_0x2a8871(0x586)]==='none'?0x0:$(_0x3dad61[_0x2a8871(0x172)],0x1)/0x2;}function Tl(_0x1f0d27){const _0x3f3115=_0x3cd2e0;return _0x1f0d27===_0x3f3115(0x586)?[0x6,0x3]:_0x1f0d27===_0x3f3115(0x295)?[0x1,0x3]:_0x1f0d27==='dashDot'?[0x6,0x3,0x1,0x3]:[];}function El(_0x6323ae,_0x1d6bf7){const _0x3cd3b9=_0x3cd2e0;let _0x4c4671=Math[_0x3cd3b9(0x61f)](_0x6323ae[_0x3cd3b9(0x567)],Math[_0x3cd3b9(0x379)](0x0,_0x1d6bf7));return _0x6323ae[_0x3cd3b9(0x5b4)](0x0,_0x4c4671)[_0x3cd3b9(0x170)]((_0x32215d,_0x593437)=>_0x32215d+_0x593437,0x0);}function Dl(_0x382dff,_0x427625,_0x584ae2,_0x7ff0b5,_0x2f5e95,_0x30abc5,_0x5d3fd8,_0x339506){const _0x5742a7=_0x3cd2e0;let _0x1a25da=0.5,_0x4219a7=Math[_0x5742a7(0x379)](_0x427625,-_0x5d3fd8/0x2+_0x1a25da),_0xfb6c7d=Math[_0x5742a7(0x379)](_0x584ae2,-_0x339506/0x2+_0x1a25da),_0x43d5fc=Math['min'](_0x427625+_0x7ff0b5,_0x5d3fd8/0x2-_0x1a25da),_0x471a87=Math[_0x5742a7(0x61f)](_0x584ae2+_0x2f5e95,_0x339506/0x2-_0x1a25da);_0x43d5fc<=_0x4219a7||_0x471a87<=_0xfb6c7d||(_0x382dff['beginPath'](),_0x382dff[_0x5742a7(0x341)]([]),_0x382dff['rect'](_0x4219a7,_0xfb6c7d,_0x43d5fc-_0x4219a7,_0x471a87-_0xfb6c7d),_0x382dff[_0x5742a7(0x3c3)]=_0x30abc5,_0x382dff['lineWidth']=0x1,_0x382dff[_0x5742a7(0x34f)]());}function Ol(_0x50c367,_0x442b5b){const _0x6371be=_0x3cd2e0;let {bottom:_0x37327d,left:_0x5a9a8c,right:_0x29f27d,top:_0xb5a107}=_0x2e3b2a(_0x442b5b);return{'left':_0x50c367[_0x6371be(0x3b6)]+_0x5a9a8c,'top':_0x50c367[_0x6371be(0x649)]+_0xb5a107,'width':Math['max'](0x1,_0x50c367[_0x6371be(0x172)]-_0x5a9a8c-_0x29f27d),'height':Math[_0x6371be(0x379)](0x1,_0x50c367[_0x6371be(0x276)]-_0xb5a107-_0x37327d)};}function kl(_0x3212bf,_0x5c88c2,_0x26d6b0,_0x117410){const _0x15e857=_0x3cd2e0;let _0x199f2f=$(_0x26d6b0/_0x5c88c2[_0x15e857(0x172)],0x1),_0x4039cb=$(_0x117410/_0x5c88c2['height'],0x1);return{...Ol({'left':_0x3212bf[_0x15e857(0x335)][_0x15e857(0x3b6)]*_0x199f2f,'top':_0x3212bf['bounds'][_0x15e857(0x649)]*_0x4039cb,'width':_0x3212bf[_0x15e857(0x335)][_0x15e857(0x172)]*_0x199f2f,'height':_0x3212bf['bounds']['height']*_0x4039cb},_0x3212bf[_0x15e857(0x36d)][_0x15e857(0x2db)]),'row':_0x3212bf[_0x15e857(0x3a3)],'column':_0x3212bf['column']};}function Al(_0x41617b,_0x223fd2,_0x49c814,_0x37f26b,_0x226f43,_0x400a09=Vc){const _0xc8e8d8=_0x3cd2e0;let _0xa6ec89=_0x223fd2+_0x37f26b/0x2-0x3,_0x1ab4f8=_0x49c814+_0x226f43/0x2-0x3;_0x41617b[_0xc8e8d8(0x16f)]=_0x400a09;for(let _0x428269=0x0;_0x428269<0x2;_0x428269+=0x1)for(let _0x4b4a54=0x0;_0x4b4a54<0x2;_0x4b4a54+=0x1)_0x41617b[_0xc8e8d8(0x1e6)](),_0x41617b[_0xc8e8d8(0x2da)](_0xa6ec89+_0x4b4a54*0x6,_0x1ab4f8+_0x428269*0x6,1.5,0x0,Math['PI']*0x2),_0x41617b[_0xc8e8d8(0x2e8)]();}function jl(_0x7ec45,_0x3066a3,_0x32cb79,_0x182f0d,_0x3b9f6e,_0x122bd1=!0x1){const _0x20b873=_0x3cd2e0;var _0x342028;_0x7ec45[_0x20b873(0x195)](),_0x7ec45['shadowColor']=_0x122bd1?_0x20b873(0x5e0):_0x20b873(0x2a7),_0x7ec45['shadowBlur']=_0x122bd1?0xa:0x8,_0x7ec45[_0x20b873(0x561)]=0x2,_0x7ec45[_0x20b873(0x1e6)](),(_0x342028=_0x7ec45['roundRect'])==null||_0x342028['call'](_0x7ec45,_0x3066a3,_0x32cb79,_0x182f0d,_0x3b9f6e,0x6),_0x7ec45['roundRect']||_0x7ec45[_0x20b873(0x1af)](_0x3066a3,_0x32cb79,_0x182f0d,_0x3b9f6e),_0x7ec45[_0x20b873(0x16f)]=_0x122bd1?Rc:Lc,_0x7ec45[_0x20b873(0x2e8)](),_0x7ec45['shadowBlur']=0x0,_0x7ec45[_0x20b873(0x561)]=0x0,_0x7ec45['strokeStyle']=_0x122bd1?Bc:zc,_0x7ec45[_0x20b873(0x28b)]=0x1,_0x7ec45[_0x20b873(0x34f)](),_0x7ec45['restore']();}function Ml(_0x33fc81){const _0x5fbb1e=_0x3cd2e0;return _0x33fc81?{'visible':_0x33fc81[_0x5fbb1e(0x637)],'hoveredTrigger':_0x33fc81[_0x5fbb1e(0x6aa)]?{..._0x33fc81[_0x5fbb1e(0x6aa)],'rect':{..._0x33fc81[_0x5fbb1e(0x6aa)][_0x5fbb1e(0x1af)]}}:null,'selectedStructuralRange':_0x33fc81['selectedStructuralRange']?{..._0x33fc81[_0x5fbb1e(0x592)]}:null,'insertGuide':_0x33fc81['insertGuide']?{..._0x33fc81[_0x5fbb1e(0x68e)]}:null,'reorderGuide':_0x33fc81[_0x5fbb1e(0x6c6)]?{..._0x33fc81['reorderGuide']}:null}:null;}function Nl(_0xe8e836,_0x3ab83b){const _0xb128f1=_0x3cd2e0;return JSON[_0xb128f1(0x5f8)](_0xe8e836)===JSON[_0xb128f1(0x5f8)](_0x3ab83b);}function Pl(_0x159390){const _0x483e11=_0x3cd2e0;return _0x159390[_0x483e11(0x1b6)]==='row-header'||_0x159390[_0x483e11(0x1b6)]===_0x483e11(0x2f1)||_0x159390[_0x483e11(0x1b6)]===_0x483e11(0x428)||_0x159390[_0x483e11(0x1b6)]==='column-insert-dot';}var Fl=class{constructor(_0x1192f0,_0x3c46b2){const _0x4ff986=_0x3cd2e0;this['_object']=_0x1192f0,this[_0x4ff986(0x21b)]=_0x3c46b2,q(this,_0x4ff986(0x64c),!0x1),q(this,_0x4ff986(0x4d9),null);}[_0x3cd2e0(0x6a8)](_0x30cd28){const _0x4fb661=_0x3cd2e0;this[_0x4fb661(0x4d9)]=_0x30cd28,this[_0x4fb661(0x39a)]['makeDirty'](!0x0);}['setEnabled'](_0x2c9817){const _0xb55e6a=_0x3cd2e0;this[_0xb55e6a(0x64c)]!==_0x2c9817&&(this[_0xb55e6a(0x64c)]=_0x2c9817,this[_0xb55e6a(0x39a)][_0xb55e6a(0x6dc)](!0x0));}[_0x3cd2e0(0x554)](_0x470b8e){const _0x4d12eb=_0x3cd2e0;let _0x1a0450=this[_0x4d12eb(0x39a)][_0x4d12eb(0x662)](_0x470b8e),_0x4df8ef=0x16,_0x1a920d=null;for(let _0x21a222 of this['_getHandles']()){let _0x28962a=Math[_0x4d12eb(0x611)](_0x1a0450['x']-_0x21a222['x'],_0x1a0450['y']-_0x21a222['y'])*this[_0x4d12eb(0x45c)];_0x28962a<_0x4df8ef&&(_0x4df8ef=_0x28962a,_0x1a920d=_0x21a222['anchor']);}return _0x1a920d;}[_0x3cd2e0(0x2d9)](_0x31e4c4){const _0x37172f=_0x3cd2e0;let _0x35cd18=this[_0x37172f(0x64c)]?this[_0x37172f(0x21b)]():null;if(!_0x35cd18)return null;let {table:_0x4070de,model:_0x1f816f}=_0x35cd18,{width:_0x30eb4a,height:_0x27d794}=this[_0x37172f(0x39a)],_0x3fbf93=this[_0x37172f(0x39a)][_0x37172f(0x662)](_0x31e4c4),_0x2e05ae=_0x3fbf93['x']+_0x30eb4a/0x2,_0xa8ff93=_0x3fbf93['y']+_0x27d794/0x2;if(_0x2e05ae<0x0||_0xa8ff93<0x0||_0x2e05ae>_0x30eb4a||_0xa8ff93>_0x27d794)return null;let _0x42074c=_0x4070de[_0x37172f(0x400)][_0x37172f(0x37f)](_0x470947=>(_0x470947[_0x37172f(0x276)]??0x18)*_0x27d794/_0x1f816f['height']),_0x289181=_0x4070de[_0x37172f(0x581)][_0x37172f(0x37f)](_0x13f50b=>_0x13f50b[_0x37172f(0x172)]*_0x30eb4a/_0x1f816f[_0x37172f(0x172)]),_0x29c050=_0x340c54({'tableWidth':_0x30eb4a,'tableHeight':_0x27d794,'rowHeights':_0x42074c,'columnWidths':_0x289181,'mergedCells':_0x44009d(_0x4070de),'zoom':this[_0x37172f(0x45c)]}),_0x241f9f=null,_0x4717c5=0x1/0x0;for(let _0x207748 of _0x29c050){let {rect:_0x16b8f2}=_0x207748,_0x133422,_0x1a49ae;if(_0x207748[_0x37172f(0x1b6)]==='resize-row'&&_0x207748[_0x37172f(0x3a3)]!==void 0x0&&_0x2e05ae>=_0x16b8f2['x']&&_0x2e05ae<=_0x16b8f2['x']+_0x16b8f2[_0x37172f(0x172)])_0x133422=Math[_0x37172f(0x51c)](_0xa8ff93-_0x16b8f2['y']-_0x16b8f2[_0x37172f(0x276)]/0x2),_0x1a49ae=Math['min'](0x8/this[_0x37172f(0x45c)],_0x42074c[_0x207748[_0x37172f(0x3a3)]]/0x4,_0x42074c[_0x207748[_0x37172f(0x3a3)]+0x1]/0x4);else{if(_0x207748['kind']==='resize-column'&&_0x207748[_0x37172f(0x6ad)]!==void 0x0&&_0xa8ff93>=_0x16b8f2['y']&&_0xa8ff93<=_0x16b8f2['y']+_0x16b8f2[_0x37172f(0x276)])_0x133422=Math['abs'](_0x2e05ae-_0x16b8f2['x']-_0x16b8f2[_0x37172f(0x172)]/0x2),_0x1a49ae=Math[_0x37172f(0x61f)](0x8/this[_0x37172f(0x45c)],_0x289181[_0x207748[_0x37172f(0x6ad)]]/0x4,_0x289181[_0x207748[_0x37172f(0x6ad)]+0x1]/0x4);else continue;}_0x133422<=_0x1a49ae&&_0x133422<_0x4717c5&&(_0x241f9f=_0x207748,_0x4717c5=_0x133422);}return _0x241f9f;}[_0x3cd2e0(0x1f1)](_0x28834c,_0x3f8799){const _0x3c76b5=_0x3cd2e0;let _0x41546f=this[_0x3c76b5(0x64c)]?this['_getState']():null,_0xe3f3bd=this[_0x3c76b5(0x4d9)];if(_0x41546f&&_0xe3f3bd){let {width:_0x5e62eb,height:_0x124fb8}=this[_0x3c76b5(0x39a)];if(_0x28834c['beginPath'](),_0xe3f3bd[_0x3c76b5(0x338)]===_0x3c76b5(0x3a3)){let _0x5cd52a=_0x41546f[_0x3c76b5(0x38a)][_0x3c76b5(0x400)][_0x3c76b5(0x5b4)](0x0,_0xe3f3bd[_0x3c76b5(0x510)])[_0x3c76b5(0x170)]((_0x222894,_0x102632)=>_0x222894+(_0x102632['height']??0x18),0x0),_0x17c590=-_0x124fb8/0x2+_0x5cd52a*_0x124fb8/_0x41546f['model'][_0x3c76b5(0x276)];_0x28834c[_0x3c76b5(0x17c)](-_0x5e62eb/0x2,_0x17c590),_0x28834c[_0x3c76b5(0x3c8)](_0x5e62eb/0x2,_0x17c590);}else{let _0x390434=_0x41546f['table'][_0x3c76b5(0x581)][_0x3c76b5(0x5b4)](0x0,_0xe3f3bd[_0x3c76b5(0x510)])[_0x3c76b5(0x170)]((_0x3ac12c,_0x38ac57)=>_0x3ac12c+_0x38ac57[_0x3c76b5(0x172)],0x0),_0xe868bb=-_0x5e62eb/0x2+_0x390434*_0x5e62eb/_0x41546f[_0x3c76b5(0x3d2)][_0x3c76b5(0x172)];_0x28834c[_0x3c76b5(0x17c)](_0xe868bb,-_0x124fb8/0x2),_0x28834c[_0x3c76b5(0x3c8)](_0xe868bb,_0x124fb8/0x2);}_0x28834c[_0x3c76b5(0x3c3)]=_0x3f8799,_0x28834c['lineWidth']=0x2/this[_0x3c76b5(0x45c)],_0x28834c['stroke']();return;}for(let _0x114460 of this[_0x3c76b5(0x25e)]())_0x28834c['beginPath'](),_0x28834c[_0x3c76b5(0x2da)](_0x114460['x'],_0x114460['y'],0x5/this[_0x3c76b5(0x45c)],0x0,Math['PI']*0x2),_0x28834c[_0x3c76b5(0x16f)]=_0x3f8799,_0x28834c[_0x3c76b5(0x2e8)]();}get['_zoom'](){const _0x2dbb29=_0x3cd2e0;var _0x151062;return((_0x151062=this[_0x2dbb29(0x39a)][_0x2dbb29(0x67f)]())==null?void 0x0:_0x151062[_0x2dbb29(0x4fd)]()[_0x2dbb29(0x417)])||0x1;}[_0x3cd2e0(0x25e)](){const _0x529b3e=_0x3cd2e0;let _0x5c4bde=this[_0x529b3e(0x64c)]?this[_0x529b3e(0x21b)]():null;if(!(_0x5c4bde!=null&&_0x5c4bde[_0x529b3e(0x3f8)]))return[];let {range:_0x45534e,model:_0x2f43a1}=_0x5c4bde,_0x129533=_0x2f43a1['cells']['filter'](_0x204d2e=>!_0x204d2e[_0x529b3e(0x50f)]&&_0x204d2e[_0x529b3e(0x3a3)]<=Math[_0x529b3e(0x379)](_0x45534e[_0x529b3e(0x290)],_0x45534e[_0x529b3e(0x616)])&&_0x204d2e[_0x529b3e(0x3a3)]+_0x204d2e[_0x529b3e(0x5c0)]>Math['min'](_0x45534e[_0x529b3e(0x290)],_0x45534e[_0x529b3e(0x616)])&&_0x204d2e[_0x529b3e(0x6ad)]<=Math[_0x529b3e(0x379)](_0x45534e[_0x529b3e(0x4dd)],_0x45534e['endColumn'])&&_0x204d2e[_0x529b3e(0x6ad)]+_0x204d2e[_0x529b3e(0x457)]>Math[_0x529b3e(0x61f)](_0x45534e[_0x529b3e(0x4dd)],_0x45534e[_0x529b3e(0x655)]));if(!_0x129533[_0x529b3e(0x567)])return[];let {width:_0x37519d,height:_0x4d4fcb}=this[_0x529b3e(0x39a)],_0x1d3e1c=_0x37519d/_0x2f43a1[_0x529b3e(0x172)],_0x3c07d5=_0x4d4fcb/_0x2f43a1['height'];return[{'x':-_0x37519d/0x2+Math[_0x529b3e(0x61f)](..._0x129533['map'](_0x206821=>_0x206821[_0x529b3e(0x335)][_0x529b3e(0x3b6)]))*_0x1d3e1c,'y':-_0x4d4fcb/0x2+Math[_0x529b3e(0x61f)](..._0x129533[_0x529b3e(0x37f)](_0x3bfbd0=>_0x3bfbd0[_0x529b3e(0x335)][_0x529b3e(0x649)]))*_0x3c07d5,'anchor':{'row':Math[_0x529b3e(0x379)](_0x45534e[_0x529b3e(0x290)],_0x45534e[_0x529b3e(0x616)]),'column':Math[_0x529b3e(0x379)](_0x45534e['startColumn'],_0x45534e['endColumn'])}},{'x':-_0x37519d/0x2+Math[_0x529b3e(0x379)](..._0x129533['map'](_0x43e092=>_0x43e092[_0x529b3e(0x335)][_0x529b3e(0x3b6)]+_0x43e092[_0x529b3e(0x335)][_0x529b3e(0x172)]))*_0x1d3e1c,'y':-_0x4d4fcb/0x2+Math[_0x529b3e(0x379)](..._0x129533[_0x529b3e(0x37f)](_0x1de86b=>_0x1de86b[_0x529b3e(0x335)][_0x529b3e(0x649)]+_0x1de86b[_0x529b3e(0x335)][_0x529b3e(0x276)]))*_0x3c07d5,'anchor':{'row':Math[_0x529b3e(0x61f)](_0x45534e[_0x529b3e(0x290)],_0x45534e[_0x529b3e(0x616)]),'column':Math[_0x529b3e(0x61f)](_0x45534e[_0x529b3e(0x4dd)],_0x45534e[_0x529b3e(0x655)])}}];}},Il=class extends Gc{constructor(..._0x5ef029){const _0x7ba03b=_0x3cd2e0;super(..._0x5ef029),q(this,_0x7ba03b(0x206),new Fl(this,()=>{const _0x36b710=_0x7ba03b;let _0x2627ba=this[_0x36b710(0x6c1)](),_0x246c40=this[_0x36b710(0x20e)](),_0x3a8b24=this['getTableSelection'](),_0x3e019e=(_0x3a8b24==null?void 0x0:_0x3a8b24[_0x36b710(0x289)][0x0])??null;return!_0x2627ba||!_0x246c40||!_0x3a8b24||this[_0x36b710(0x459)]()||_0x3a8b24[_0x36b710(0x1b6)]==='text'?null:{'table':_0x2627ba,'model':_0x246c40,'range':_0x3a8b24[_0x36b710(0x1b6)]===_0x36b710(0x38a)?null:_0x3e019e};}));}[_0x3cd2e0(0x4ff)](_0x395fe8){const _0x35e7ee=_0x3cd2e0;return super[_0x35e7ee(0x4ff)](_0x395fe8)||this[_0x35e7ee(0x206)][_0x35e7ee(0x554)](_0x395fe8)!=null;}[_0x3cd2e0(0x1ca)](_0x31c959,_0x23d570,_0x1a7ac0,_0xe2bd35){const _0x56b429=_0x3cd2e0;super[_0x56b429(0x1ca)](_0x31c959,_0x23d570,_0x1a7ac0,_0xe2bd35),this['mobileSelection'][_0x56b429(0x1f1)](_0x31c959,this['getTableSelectionColor']());}};function Ll(_0x55a158,_0x34fe7b){const _0x121f1a=_0x3cd2e0;let _0x143c21=Wl(_0x55a158,_0x34fe7b);if(!_0x55a158||!_0x143c21)return'';let _0x59fdc6=[];for(let _0x471286=_0x143c21[_0x121f1a(0x290)];_0x471286<=_0x143c21[_0x121f1a(0x616)];_0x471286+=0x1){let _0x14e040=[];for(let _0x38792a=_0x143c21[_0x121f1a(0x4dd)];_0x38792a<=_0x143c21[_0x121f1a(0x655)];_0x38792a+=0x1){var _0x47b092;let _0x4ccd83=(_0x47b092=_0x55a158[_0x121f1a(0x400)][_0x471286])==null?void 0x0:_0x47b092[_0x121f1a(0x329)][_0x38792a];if(_0x4ccd83!=null&&_0x4ccd83[_0x121f1a(0x634)]||_0x4ccd83!=null&&_0x4ccd83[_0x121f1a(0x420)]){_0x14e040[_0x121f1a(0x249)]('');continue;}_0x14e040[_0x121f1a(0x249)](Jl(Ul(_0x4ccd83==null?void 0x0:_0x4ccd83[_0x121f1a(0x4eb)])));}_0x59fdc6[_0x121f1a(0x249)](_0x14e040[_0x121f1a(0x323)]('\x09'));}return _0x59fdc6[_0x121f1a(0x323)]('\x0a');}function Rl(_0x3fa3ed,_0x4592ed){const _0x37793e=_0x3cd2e0;let _0x20356c=Wl(_0x3fa3ed,_0x4592ed);if(!_0x3fa3ed||!_0x20356c)return'';let _0x26e45e=_0x3fa3ed[_0x37793e(0x581)][_0x37793e(0x5b4)](_0x20356c['startColumn'],_0x20356c['endColumn']+0x1)[_0x37793e(0x37f)](_0x3d96f6=>_0x37793e(0x346)+_0x3d96f6['width']+_0x37793e(0x3ca))[_0x37793e(0x323)](''),_0x2bed69=[];for(let _0x578649=_0x20356c['startRow'];_0x578649<=_0x20356c['endRow'];_0x578649+=0x1){let _0xc6e00=_0x3fa3ed[_0x37793e(0x400)][_0x578649];if(!_0xc6e00)continue;let _0x10fb2e=[];for(let _0x309e77=_0x20356c[_0x37793e(0x4dd)];_0x309e77<=_0x20356c[_0x37793e(0x655)];_0x309e77+=0x1){let _0x1f0029=_0xc6e00[_0x37793e(0x329)][_0x309e77];if(!_0x1f0029||_0x1f0029[_0x37793e(0x634)]||_0x1f0029['vMerge'])continue;let _0x3187f6=Math[_0x37793e(0x61f)](_0x1f0029[_0x37793e(0x5c0)]??0x1,_0x20356c[_0x37793e(0x616)]-_0x578649+0x1),_0x3a6680=Math[_0x37793e(0x61f)](_0x1f0029['columnSpan']??0x1,_0x20356c[_0x37793e(0x655)]-_0x309e77+0x1),_0x5508f8=[_0x3187f6>0x1?_0x37793e(0x3cf)+_0x3187f6+'\x22':'',_0x3a6680>0x1?_0x37793e(0x6e2)+_0x3a6680+'\x22':'',zl(_0x1f0029)][_0x37793e(0x22b)](Boolean)[_0x37793e(0x323)]('\x20'),_0x29a410=_0x1f0029[_0x37793e(0x4eb)]?_0x505226(_0x43911b['deepClone'](_0x1f0029[_0x37793e(0x4eb)])):'';_0x10fb2e[_0x37793e(0x249)](_0x37793e(0x4a0)+(_0x5508f8?'\x20'+_0x5508f8:'')+'>'+_0x29a410+'</td>');}_0x2bed69[_0x37793e(0x249)](_0x37793e(0x542)+(_0xc6e00[_0x37793e(0x276)]?_0x37793e(0x5bb)+_0xc6e00[_0x37793e(0x276)]+_0x37793e(0x41c):'')+'>'+_0x10fb2e['join']('')+_0x37793e(0x1dc));}return _0x37793e(0x59f)+_0x26e45e+_0x37793e(0x381)+_0x2bed69[_0x37793e(0x323)]('')+_0x37793e(0x6cb);}function zl(_0x21dc56){const _0x2c8938=_0x3cd2e0;var _0x3454a0,_0x384851;let _0x4384a0=[];((_0x3454a0=_0x21dc56[_0x2c8938(0x36d)])==null||(_0x3454a0=_0x3454a0[_0x2c8938(0x2e8)])==null?void 0x0:_0x3454a0[_0x2c8938(0x278)])===_0x3f8470['Solid']&&_0x21dc56[_0x2c8938(0x36d)][_0x2c8938(0x2e8)][_0x2c8938(0x565)]&&_0x4384a0[_0x2c8938(0x249)](_0x2c8938(0x519)+_0x21dc56[_0x2c8938(0x36d)][_0x2c8938(0x2e8)][_0x2c8938(0x565)]);let _0x323427=(_0x384851=_0x21dc56[_0x2c8938(0x36d)])==null?void 0x0:_0x384851['borders'];return _0x323427&&[_0x2c8938(0x649),_0x2c8938(0x3ec),_0x2c8938(0x5fd),_0x2c8938(0x3b6)][_0x2c8938(0x5a6)](_0x452114=>{const _0x337e3e=_0x2c8938;let _0x124f4f=_0x323427[_0x452114];_0x124f4f!=null&&_0x124f4f[_0x337e3e(0x565)]&&_0x124f4f['width']!==void 0x0&&_0x4384a0[_0x337e3e(0x249)](_0x337e3e(0x595)+_0x452114+':\x20'+_0x124f4f[_0x337e3e(0x172)]+_0x337e3e(0x601)+_0x124f4f['color']);}),_0x4384a0[_0x2c8938(0x567)]>0x0?_0x2c8938(0x3b5)+Zl(_0x4384a0[_0x2c8938(0x323)](';\x20'))+'\x22':'';}function Bl(_0x1b25f6,_0x291ad9,_0xb3a757){const _0x63e96e=_0x3cd2e0;if(!_0x1b25f6||!_0x291ad9||_0xb3a757[_0x63e96e(0x567)]===0x0)return null;let _0x1ab4cb=Kl(_0x1b25f6,_0x291ad9);if(!_0x1ab4cb)return null;let _0x5cf489=ql(_0xb3a757);if(_0x5cf489[_0x63e96e(0x567)]===0x0)return null;let _0x4c66db=_0x43911b['deepClone'](_0x1b25f6[_0x63e96e(0x400)]),_0x16f976=!0x1;return _0x5cf489[_0x63e96e(0x5a6)]((_0x314f7d,_0x2c800f)=>{const _0x1ef35c=_0x63e96e;let _0x5834a7=_0x1ab4cb['row']+_0x2c800f;_0x5834a7<0x0||_0x5834a7>=_0x4c66db[_0x1ef35c(0x567)]||_0x314f7d[_0x1ef35c(0x5a6)]((_0x30f8d7,_0x53f725)=>{const _0x351d5e=_0x1ef35c;let _0x366c33=_0x1ab4cb[_0x351d5e(0x6ad)]+_0x53f725;if(_0x366c33<0x0||_0x366c33>=_0x1b25f6[_0x351d5e(0x581)][_0x351d5e(0x567)])return;let _0x58fb34=_0x4c66db[_0x5834a7],_0x4ecc5f=_0x58fb34==null?void 0x0:_0x58fb34[_0x351d5e(0x329)][_0x366c33];_0x58fb34&&_0x4ecc5f&&!_0x4ecc5f['hMerge']&&!_0x4ecc5f['vMerge']&&(_0x58fb34['cells'][_0x366c33]={..._0x4ecc5f,'textData':_0x4ecc5f[_0x351d5e(0x4eb)]?tc(_0x4ecc5f[_0x351d5e(0x4eb)],_0x30f8d7):ec(_0x1b25f6['id'],_0x5834a7,_0x366c33,_0x30f8d7)},_0x16f976=!0x0);});}),_0x16f976?{'rows':_0x4c66db}:null;}function _0x3862(){const _0x29955d=['stringify','slides-table-ui.tableSizePicker.','descriptor','text/html','_config','bottom','univer-absolute\x20univer-right-0.5\x20univer-top-0.5\x20univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-full\x20univer-bg-primary-600\x20univer-text-gray-0\x20univer-shadow-sm\x20rtl:univer-left-0.5\x20rtl:univer-right-auto','OPERATION','slides-table-ui.editorToolbar.minimal','px\x20solid\x20','subUnitId','tab-backward','Top','slide-table.operation.open-size-dialog','bucket','BOTTOM','_updatePendingStage1TableDrag','border','rgba(','getObject','_iconManager','canvasRect','slides-table-ui.contextMenu.insertColumnRight','var(--univer-primary-600)','packageName','hypot','handle','setHandler','_pendingHeaderSelection','_menuManagerService','endRow','univer-flex\x20univer-items-center\x20univer-gap-1','focusUnit','slides-table-ui.editorToolbar.textFormat','saveImage','classType','_isCurrentEditorSession','hideContextMenu','front','min','slides-table-ui.editorToolbar.fontSize','clientY','pictureSource','univer-pointer-events-none\x20univer-fixed\x20univer-inset-0\x20univer-z-[1080]','ROW_RESIZE','slides-table-ui.editorToolbar.tableTheme','visible$','outerBorderColor','updateDocumentDataMargin','_tableThemes','oKey','setTableSelection','hideContextualTab','_disposeTextRenderCaches','_syncActiveTableFromDrawingState','_setTableKeyboardFocus','green.600','_session$','_shouldDrawControls','transparent','hMerge','DeleteColumns','bandRow','visible','DeleteRowDoubleIcon','calculate','setFallbackVisible','multiply','alignCenter','#f7faff','InsertRowBelowDoubleIcon','isInteger','focus','themeId','addEventListener','_isLastActiveTableSelected','_handleDoubleClick','slides-table-ui.editorToolbar.underline','FALSE','_clearTableControlHover','fieldset','top','#111827','_resolveCellDocumentData','_enabled','slides-table-ui.ribbon.arrangeBackward','univer-flex\x20univer-items-center\x20univer-gap-2','startPoint','univer-grid\x20univer-grid-cols-2\x20univer-gap-2','primary.600','_isTableTextEditing','mergeCells','clientX','endColumn','slides-table-ui.ribbon.cellStyle','resolve','editable','_syncTableMoveTransformerControls','radial','_handleSelectedTableBodyPointer','\x20×\x20','_startSelectionHandleDrag','univer-grid\x20univer-gap-2\x20univer-p-2','DeleteRows','sort','selectedIds','getInverseCoord','dataStream','_handleTablePointerDown','enabled$','layout','targetRow','preferOffset','target','slideTable','onChangeColor','univer-border-primary-500\x20univer-bg-primary-100\x20hover:univer-bg-primary-200','onVerticalAlign','univer-flex\x20univer-size-5\x20univer-items-center\x20univer-justify-center\x20univer-text-lg','create','ARROW_LEFT','alignBottom','onDblclick$','unmerge-cells','some','resolved','_bindRangeDragWindowEvents','shapeTextOpticalVerticalAlign','univer-w-[280px]\x20univer-p-3','_rangeDragContext','univer-flex\x20univer-h-full\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-content-center\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-justify-items-stretch\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','_handleHitTestPointerDown','delete','univer-flex\x20univer-flex-col\x20univer-items-center','slides-table-ui.editorToolbar.decreaseFontSize','getScene','forward','univer-bg-primary-50\x20univer-text-primary-600','_floatingToolbarService','red.600','flatMap','open','defineProperty','anonymous','mixed','onClick','_scheduleActiveEditorLayoutSync','bBox','verticalAlign','lastRow','insertGuide','_startStage1TableBodyPointer','tableChange$','exec','presets','selectRange','yellow.100','noBorder','composition-start','split','slide.operation.slide-table-insert-row-above','getAbsoluteVector','_contextMenuService','_enterCellStage','univer-mb-3\x20last:univer-mb-0','slides-table-ui.shapePanel.fill.transparency','move-up','univer-mt-3\x20univer-w-full','slides-table-ui.shapePanel.fill.pictureFill','_resolvePointerViewportPoint','_handleCellContextMenuPointerDown','DeleteColumnDoubleIcon','195538LMSzBj','gray.100','univer-flex\x20univer-flex-col\x20univer-gap-3','glow','setResizeBoundary','_resizeWireScheduled','hoveredTrigger','options','preparePaste','column','data','executeCommand','_rowColumnMoveState','univer-grid\x20univer-grid-cols-5\x20univer-gap-1','getActualSize','_isIsolatedEmbedChildSelection','_drawSelection','createRadialGradient','_syncTableSelectionToObject','START','extend-right','setEditingCell','univer-block\x20univer-min-w-0','pointermove','diamond','_visibleCellCache','measurement','minSize','_resolveVisibleCellCache','getTable','_updateResizeDrag','univer-m-0\x20univer-flex\x20univer-h-full\x20univer-items-center\x20univer-gap-1\x20univer-border-none\x20univer-p-0\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50','_selectRows','direction$','reorderGuide','arrow-left','set-border-preset','univer-overflow-y-auto','univer-grid-cols-3','</tbody></table>','cell','_renderManagerService','viewportScrollY','arrow-right','#f1f3f4','_clearSelectedCellContents','div','#5f6368','order$','_resolveTablePoint','expand','guideIndex','divides','setTable','_componentManager','gradient','makeDirty','_handleActiveTableControlPointerDown','ribbon-text-background','enableObjectsEvent','isInGroup','_editorDisposable','colspan=\x22','transform','_shouldShowTransformerForDrawing','marginTop','viewportHeight','_createContextMenuEvent','_syncActivationStageFromSelection','_localeService','notchWidth','SHIFT','elementId','rgba(0,\x200,\x200,\x201)','_headerSelectionDragCleanup','_drawGuideLine','slides-table-ui.editorToolbar.border','univer-w-20','_openSelectionEditor','_handleCellEditorPointerMove','borderRadius','slides-table-ui.tableSizePicker.columns','getViewports','textFill','body','setEnabled','getCurrentLocale','slides-table-ui.editorToolbar.alignRight','Right','_initPointerDownContextMenu','collect','close','_handleDirectResizePointerDown','_hideTableDesignTab','showOptions','rev','univer-grid\x20univer-gap-1\x20univer-text-xs\x20univer-text-gray-500','slides-table-ui.editorToolbar.alignBottom','allowDocsEditor','viewBound','slides-table-ui.structuralControls.selectColumn','fillStyle','reduce','slides-table-ui.mobile.edit','width','_drawInsertDots','_handleKeyboardAction','univer-h-12','minHeight','move-right','font','_configService','paddingTop','univer-h-12\x20univer-min-w-0\x20univer-text-base','moveTo','getSkeletonData','univer-p-3','slides-table-ui.editorToolbar.borderPresetTop','add','_drawTableOutline','_createImagePromise','slides-table-ui.editorToolbar.bestMatch','horizontalAlignOptions','univer-text-xs','source','isValid','_updateRowColumnMoveDrag','column-select','_textRenderCaches','SUBITEMS','_selection','subscribe','text-color','stopPropagation','columnWidths','clear-cells','_updateTableControlHover','drawingId','cancel','save','univer-border-primary-600\x20univer-bg-primary-50','cacheKey','borderPresetAll','Solid','_registerComponents','observe','pageWidth','insert-row-above','\x0a\x20\x20\x20\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-shadow-lg\x0a\x20\x20\x20\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x0a','slide.operation.slide-table-merge-cells','yellow.700','_drawCellFills','createPattern','extend-down','slides-table-ui.editorToolbar.alignJustify','SLIDE_TABLE_EDITOR_UNIT_ID','shift-arrow-up','insertTableSnapshot','_requestedHeight','getAttribute','onload','slides-table-ui.contextMenu.insert','defaultPrevented','linear-gradient(','enter','rect','tableTransform','univer-flex\x20univer-h-6\x20univer-w-4\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-xs\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','set-cell-style','getBoundingClientRect','pptxTable','input','kind','textContent','insertRows','onOpenChange','univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-0.5','setTableThemes','value','drawImage','isTableInternalInteractionActive','slide-table.operation.text-color-','minImageEdge','toLowerCase','actualHeight','_editorUIService','borderWidth','slides-table-ui.editorToolbar.borderPresetInnerHorizontal','_tableMoveDragContext','img','slide.menu.insert.table','_tableResourceService','_draw','slides-table-ui.mobile.close','getDrawingData','disconnect','triggerContextMenu','_getStructuralControlZoom','unmergeCells','labelKey','onApplyTheme','tagName','Dash','_configureSelectionControls','ENTER','compositionend','card','addObject$','tab','ghost','</tr>','isContentEditable','slide.operation.slide-table-distribute-rows','invert','_drawStructuralHeaders','#ffffff','toolbar','_isActiveFloatingEmbedHostSelection','delete-table','createElement','beginPath','_setResizeCursor','registerShortcut','slide-table.operation.align-middle','slides-table-ui.editorToolbar.italic','_controlHover','_resolveActiveTableObject','test','_headerSelectionDragState','_finishRangeDrag','element','draw','_resolvePointerScenePoint','span','MergeAllIcon','sequenceFrame','_handler','_handleClipboardCut','_drawCellBorders','ARROW_UP','TAB','firstRow','_drawingStateService','indexOf','html','white','slides-table-ui.mobile.back','All','slides-table-ui.editorToolbar.borderPresetInnerVertical','univer-size-4\x20univer-text-current','_selectColumns','selectRows','mobileSelection','univer-pointer-events-none\x20univer-w-full\x20univer-min-w-0\x20univer-text-xs','_hitTestService','Enter','tableThemes','univer-min-w-32\x20univer-p-1','univer-grid\x20univer-grid-cols-4\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','getActive','getTableRenderModel','1.0.3','rowDelta','translateX(-50%)','stretch','childUnitId','getData','palette','slides-table-ui.editorToolbar.bulletList','_tableActivationStage','univer-border-primary-500\x20univer-bg-primary-50','setInputHandler','univer-text-xs\x20univer-text-gray-500\x20dark:!univer-text-gray-400','_getState','pluginName','pictureInsert','onPointerMove$','selectionKey','slide.table-size.dialog','themes','_controlButtonMode','merge-cells','_keyboardService','point','slides-table-ui.editorToolbar.fontFamily','POINTER','getConnectionSites','_shouldDrawStructuralHeaders','slides-table-ui.shapePanel.fill.noFill','filter','_restoreTableDrawingSelection','_resolveActiveSelectionForKeyboard','innerWidth','_isHoveredStructuralTrigger','Table','_layoutHeight','getSelectedObjectMap','extend-left','slide-table','arrow-down','offsetY','univer-size-11','none','_listenSelection',',\x20minmax(0,\x201fr))','canHandleNativeInput','onToggleStyle','sqrt','univer-h-12\x20univer-w-full\x20univer-justify-between\x20univer-text-base','univer-grid\x20univer-min-w-0\x20univer-gap-2\x20univer-text-sm','slides-table-ui.editorToolbar.headerRow','[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:!univer-size-8','#409cff','Middle','getActiveSlide','univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','#000000','Stretch','engine','push','updateDocumentStyle','unmerge','slides-table-ui.editorToolbar.lastColumn','_finishPendingStage1TableDrag','borderPresetInner','cos','setTableControlHover','button','move','#1a73e8','insertImage','3fqBZta','_resolveTableObjectFromContext','univer-box-border\x20univer-w-[360px]\x20univer-rounded-lg\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','picture','2008578emRlOT','_scheduleWireResizeObjects','univer-text-sm\x20univer-font-medium','tables','colSpan','_getHandles','horizontalAlign','slide-table.operation.border-none','_syncActiveEditorLayout','slide-table-theme-gallery','_commandService','unitId','slide-table.menu.insert','after','underline','from','_activeEditorContextKey','asc','revision','max-content','_imageLoadSubscriptions','onReady','ShowToolbarIcon','currentOptions','wrapStrategy','getId','textBackgroundColor','slides-table-ui.editorToolbar.medium','_getMoveGestureScale','height','tableBackgroundColor','type','24entbHs','crossOrigin','onPointerUp$','getParent','commandId','slides-table-ui.ribbon.text-control','solid','_startTableMoveDrag','delete-rows','_activateDrawingTable','onToggle','slides-table-ui.editorToolbar.borderStyleDashDot','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-left\x20rtl:univer-text-right','direction','_pendingStage1TableDragContext','pageHeight','ranges','_isControlHovered','lineWidth','boundaryIndex','_startSelectionRangeDrag','picker','distance','startRow','None','univer-flex\x20univer-h-8\x20univer-w-32\x20univer-items-center\x20univer-justify-start\x20univer-gap-2\x20univer-rounded-md\x20univer-border-0\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-700','now','startObjectTop','dot','slide-table.operation.arrange-front','dsc','contentHeight','ctrlKey','_lastActiveTableContext','translate','_transformerVisibilityService','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-11\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','_openCellEditor','univer-relative\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20dark:hover:!univer-bg-gray-800','_contextService','icon','extend-up','_selectTable','registerCommand','slide-table-size-picker','&','rgba(60,\x2064,\x2067,\x200.16)','_fallbackVisibleSources','_commitClipboardPatch','slides-table-ui.config','tab-forward','preventDefault','backgroundFill','ribbon','UNSPECIFIED','DELETE','content','_isCellSelection','Picture','clear','getContextValue','univer-flex\x20univer-items-center\x20univer-justify-center','_activateWholeTableSelection','transparency','pageManager','centerAngle','univer-grid\x20univer-gap-2','_finishTableMoveDrag','_embedFloatingActiveService','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center\x20univer-justify-center\x20univer-gap-0.5\x20univer-rounded-md\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-lg\x20univer-text-gray-700\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','move-down','Vertical270','slides-table-ui.editorToolbar.borderStyleDash','updateTable','dataset','groupId','repeat','univer-grid\x20univer-gap-1','inputType','padStart','_isTableDrawingActive','parseFromString','children','mergeState','isFinite','univer-flex\x20univer-flex-col\x20univer-gap-2','univer-col-span-2\x20univer-w-full','querySelector','middle','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','elements','paragraphs','borders','_drawRowFills','ArrowDown','resources','hitTestResizeBoundary','arc','margins','_resolveRowColumnMoveTarget','refreshTransformNotification','elementIdMap','_slideDrawingService','remove','_resolveInsertDotAtScenePoint','_setTableControlHover','univer-max-h-[420px]\x20univer-w-[420px]','metaKey','gray.900','row-select','fallbackImageHeight','fill','_resolveScenePoint','univer-mb-3\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-100','onChangeDash','cellAtPosition','_fallbackVisible$','slides-table-ui.mobile.collapse','CONTEXT_MENU','opticalVerticalOffset','column-header','function','columnCount','univer-border-gray-200\x20univer-bg-gray-50\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50','slide-table.operation.arrange-forward','src','slides-table-ui.operation.toggle-floating-toolbar','_initCommands','skipNextObservers','_commitCellStyle','initialText','ARROW_RIGHT','LAYOUT','angle','isRender','splice','delete-column','_isTextEditing','selectCell','_handleResizeHover','_handleCellEditorPointerDown','FOCUSING_SLIDE_TABLE','hitTestControlAtScenePoint','getViewport','querySelectorAll','resize-row','_executeRowColumnMove','Outer','effects','_slideInsertService','_themeService','distribute-columns','univer-flex-1','selection$','slide-table.menu.distribute','JUSTIFIED','deleteColumns','asObservable','defaultPageSize','green.100','univer-w-14','_wireResizeObjects','>','slides-table-ui.editorToolbar.tableBorderColor','editorId','UUID','_getRenderTable','_handleTableControlPointerDown','BULLET_LIST','abd','join','file','active','setCollapsedIds','_setTableCellHover','MergeCells','cells','_setTableControlState','_handleCellEditorKeyDown','quadraticCurveTo','getCanvasElement','Inner','_initSelectionSynchronization','set','slide-table-floating-toolbar','slides-table-ui.table-design.text-control','univer-w-full','getDrawingByParam','bounds','#7f8ea3','trim','axis','hitTestCellAtScenePoint','alpha','replace','keydown','getColorFromTheme','unsubscribe','_univerInstanceService','onStarting','setLineDash','slides-table-ui.editorToolbar.alignLeft','_resolveCurrentTableDrawing','_drawStructuralHeaderRect','select','<col\x20style=\x22width:\x20','_registerIcons','structural','textStyle','format','onChangeOptions','pointercancel','strikethrough','_handleClipboardCopy','stroke','targetColumn','_createViewportPointerEvent','anchor','text/plain','parseInt','pages','click','_cellHover','isHorizontal','cut','primary','trigger','skewY','UNIVER_SLIDE','_drawTableHandle','start','documentData','setAlpha','dispose','_getTextRenderCache','_isSingleTableSelection','slides-table-ui.editorToolbar.borderPresetRight','getTheme','primary.100','ARROW_DOWN','DistributeColumns','tableBorderColor','slides-table-ui.editorToolbar.textColor','ribbon-text-color','style','DRAWINGML','shift-arrow-down','scene','slides-table-ui.insertToolbar.table','univer-h-11\x20univer-min-w-0\x20univer-flex-1\x20univer-text-sm','_imageNativeCache','_commitCellDocument','textBackground','OVERFLOW','fontSize','startTransform','max','tab-peer','tableId','clickFallbackTimer','slide-table.operation.arrange-backward','_hideContextMenu','map','univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300','</colgroup><tbody>','14yryLQa','getOrderedTopLevelDrawings','_resetResizeCursor','_handleCellEditorPointerUp','_resolveRenderModel','Vertical','_init','slides-table-ui.editorToolbar.borderStyleDot','table','selection','univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x20univer-border-gray-300\x20dark:!univer-border-gray-600','InsertRowAbove','fillRect','tableThemePalette','onChangeWidth','opacity','slide-table.operation.align-right','decorate','slides-table-ui.ribbon.cell-style-control','slides-table-ui.tableSizePicker.customSize','slides-table-ui.contextMenu.insertColumnLeft','ascent','InsertColumnLeft','getTableSelectionColor','_object','univer-block\x20univer-w-5\x20univer-rounded-full\x20univer-bg-current','all','altKey','rotation','compositionstart','slide-table-floating-toolbar-popup','_rowColumnMoveTarget','#c7d2e3','row','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','toUpperCase','getResource','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','_inputHandler','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-xs\x20univer-transition-colors\x20hover:univer-border-primary-300\x20hover:univer-bg-primary-50\x20focus-visible:univer-outline\x20focus-visible:univer-outline-2\x20focus-visible:univer-outline-offset-1\x20focus-visible:univer-outline-primary-500\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900\x20dark:hover:!univer-bg-gray-800','bullet','_fitSize','context','onComplete','CENTER','styles','_activateTableObject','_setStructuralCursor','slides-table-ui.contextMenu.resetColor','selectColumns','univer-size-6\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','style=\x22','left','_embedMountService','_isNonFullscreenFloatingEmbedChildSelection','_handleResizePointerDown','getLayoutTable','Copy','_embedFocusOwnerService','slides-table-ui.contextMenu.deleteRow','purple.600','getVisible','unshift','stage','univer-mb-1\x20univer-block\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-300','strokeStyle','slides-table-ui.editorToolbar.none','isNaN','backgroundColor','toFixed','lineTo','_layoutSource','px\x22>','includes','URL','_resourceService','TableIcon','rowspan=\x22','_resolveInsertDotTriggerForObject','slides-table-ui.editorToolbar.strikethrough','model','_getActiveSlideContext','vertical','values','CONTENT','object','next','univer-size-3','cellStyle','UniverSlidesTableUIPlugin','render','merge','row-header','theme','resetCursor','_handleClipboardPaste','_alignmentGuideService','univer-m-0\x20univer-text-sm\x20univer-font-medium','MIDDLE','repeat(','InsertRowBelow','insertColumns','slides-table-ui.editorToolbar.borderPresetAll','paste','paragraphStyle','setTableCellHover','right','setData','editor','_previewTable','4\x202\x201\x202','AdjustWidthDoubleIcon','Gradient','applyPoint','cleanup','slides-table-ui.tableSizePicker.title','hostUnitId','clearSelectedObjects','range','slides-table-ui.editorToolbar.borderPresetInner','delete-columns','_renderModelCache','_clearResizeBoundary','_hoveredTrigger','DeleteIcon','min(760px,\x20calc(100vw\x20-\x2024px))','rows','_isExternalDrawingSelection','_cancelTableMoveDrag','#9fb2cc','edit','image/*','selectTable','slides-table-ui.ribbon.styles','back','setConfig','removeEventListener','subscribeEvent','prototype','currentStyleId','styleId','table-handle','RightInsertColumnDoubleIcon','_getSelectedHeaderRange','bestMatch','sections','syncExecuteCommand','slides-table-ui.contextual-ribbon','InnerVertical','scaleX','inactive','BACKSPACE','getFocusDrawings','univer-mb-2\x20univer-flex\x20univer-items-center\x20univer-justify-between','px\x22','slide.operation.slide-table-delete-rows','slide.operation.slide-table-unmerge-cells','_drawControls','vMerge','univer-sticky\x20univer-top-0\x20univer-z-10','showContextualTab','MoveDownIcon','documentStyle','TRUE','univer-shrink-0\x20univer-text-xs\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enabled','row-insert-dot','_isControlSelected','AdjustHeightDoubleIcon','univer-fill-primary-600','linear','light','default','_resizeDragListeners','_editorLayoutSyncScheduled','_editingCell','pipe','update','titleColumn','copy','_canCopyTable','onPointerDown$','getDrawingOrder','slides-table-ui.ribbon.floatingToolbar','univer-flex\x20univer-h-6\x20univer-w-10\x20univer-items-center','609775FUtWmn','getDirection','slides-table-ui.tableSizePicker.rows','OTHERS','univer-box-border\x20univer-w-[300px]\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-p-2\x20univer-text-gray-900\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','keys','addImageSourceCache','_updateRangeDrag','univer-p-2\x20univer-pt-1','getTransformer','getSnapshot','slide.operation.slide-table-insert-column-left','univer-bg-gray-0\x20univer-p-2\x20dark:!univer-bg-gray-900','TOP','flipY','verticalAlignOptions','slides-table-ui.contextMenu.deleteTable','ArrowUp','#9ca3af','slides-table-ui.ribbon.bringToFront','background','files','Bottom','flipX','slides-table-ui.ribbon.sendToBack','slides-table-ui.shapePanel.fill.picture.source','_finishHeaderSelectionDrag','BUTTON','columnSpan','textColor','getEditingCell','alignLeft','deleteRows','_zoom','text','outerBorderWidth','insert-column-right','textFormat','strike','insertIndex','nativeEvent','paragraphId','_updateTableMoveDrag','_drawInsertGuide','_ribbonService','blue.100','extend','slide.operation.slide-table-copy-table','fontFamily','floatingToolbar','min(240px,\x20calc(100vw\x20-\x2024px))','zIndex','Dot','vertical270','univer-flex\x20univer-items-center\x20univer-gap-3','resize','getCellTextRect','borderDash','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','ORDER_LIST','getMatrix','_setTableObjectKeyboardFocus','univer-flex\x20univer-h-7\x20univer-flex-nowrap\x20univer-items-center\x20univer-gap-1\x20univer-px-1','RIGHT','_getInteractionController','aba','!univer-h-12\x20univer-bg-gray-0','blue.600','startIndex','setCursor','_table','_drawMatchingCellFillSeams','current','focusCell','custom','_isPointInStructuralTriggerEnvelope','_finishCellEditing','end','scaleY','slides-table-ui.editorToolbar.bandedColumns','_updateCellHover','slides-table-ui.editorToolbar.alignTop','univer-grid\x20univer-grid-cols-3\x20univer-gap-2','slides-table-ui.shapePanel.fill.color','translateWithPrecision','apply','4\x203','section','_shouldHideCellTextForEditor','onPointerCancel$','data-toolbar-item','dropdown','center','M3\x208H21','alignTop','_rangeDragWindowCleanup','SetCellStyle','_drawGrid','_clearStructuralInsertHoverObject','_drawReorderGuide','getUnitId','<td','descent','deepClone','toolbarWidth','outerBorderRadius','then','#e8f1ff','parseFloat','_isStructuralHeaderHovered','_handleStructuralHeaderPointerDown','radial-gradient(circle,\x20','_updateStructuralControlHover','univer-w-28','gray.500','_retainActiveCellEditor','univer-w-auto','onBack','_tableInternalInteractionUntil','handleInput','DistributeRows','slides-table-ui.editorToolbar.light','label','activationStage','_updateHeaderSelectionDrag','complete','borderColor','InsertColumnRight','_buildControlButtons','strokeWidth','\x20x\x20','_scheduleResizeHold','univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-text-sm','slides-table-ui.editorToolbar.borderWidth','slides-table-ui.mobile.selectCell','insertTable','offset','slide-table.operation.align-left','controlButtonMode','register','slide-table.operation.background-color-','_resolveTableControlHit','disableObjectsEvent','column-insert-dot','payload','SLIDE_TABLE_CELL','univer-w-full\x20univer-justify-start\x20rtl:univer-justify-end','SELECTOR','FOCUSING_SLIDE_TABLE_OBJECT','arrow-up','_handleTextEditingCellPointerDown','_shortcutService','title','offsetX','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','_resetTableInteraction','floor','slides-table-ui.editorToolbar.alignCenter','_resizeBoundary','onSelect','slide-table-size-dialog','position','startColumn','horizontal','renderConfig','DRAWING','hitTestStructuralTriggerAtScenePoint','isArray','insideH','check','slides-table-ui.editorToolbar.unmergeCells','slide-table.contextMenu.cell','sin','slides-table-ui.editorToolbar.noBorder','_resolvePictureFill','shift-arrow-right','textData','before','_handleSceneDoubleClick','slides-table-ui.contextMenu.insertRowBelow','textRuns','0\x200\x2024\x2016','getConfig','alignRight','cellByOrigin','UnmergeCells','hitTest','_refreshRegistry','_tableSelectionService','version','#FFFFFF','_buildStructuralTriggers','registerAdapter','moved','getAncestorScale','clip','isHit','895308ARlOzL','univer-flex\x20univer-items-center\x20univer-gap-1\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2','_resizeHoverActive','startsWith','_applyRangeDragSelection','_layoutWidth','delta','_shouldDrawInsertDots','slide-table.operation.align-bottom','_resolveCellHit','_slideDrawingStateService','_finishResizeDrag','slides-table-ui.editorToolbar.firstColumn','_tableDesignVisible','findIndex','hidden','index','_buildActiveTableTriggers','_resolveEditorLayout','vertexAngle','listSessions','_getDependencies','_hideTableTransformerControls','firstCol','_insertService','background-color:\x20','_resolveTableTriggerHit','_injector','abs','_getCenteredTransform','1px\x20solid\x20','slide-table.operation.border-all','_resolveResizeHit','slides-table-ui.editorToolbar.mergeCells','447052WjWYPf','_permissionService','slides-table-ui.ribbon.styles-control','Left','_renderContext','slides-table-ui.editorToolbar.borderPresetBottom','univer-box-border\x20univer-grid\x20univer-w-full\x20univer-gap-4\x20univer-p-4','toPrimitive','univer-bg-gray-50\x20univer-pb-3\x20dark:!univer-bg-gray-900','_editorSessionId','url(\x22','slides-table-ui.editorToolbar.bold','serialize','_layoutRevision','ltr','_handoffCellEditorToRangeSelection','focus$','1255509aduwpY','onTransformChange$','delete-row','minPositionOffset','symbol','drawing','_resolveObjectPoint','_isTableInteractionInProgress','!univer-h-6\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-border-transparent\x20!univer-bg-transparent\x20!univer-px-1.5','resize-column','beforeinput','slides-table-ui.contextMenu.insertRowAbove','slides-table-ui.ribbon.tableDesign','tablist','!univer-h-6\x20univer-w-[120px]\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-w-full','<tr','insert-column-left','disposeWithMe','univer-hidden','hitTestFloatingStructuralTriggerAtScenePoint','slides-table-ui.editorToolbar.tableBackgroundColor','InnerHorizontal','slides-table-ui.ribbon.text','composition','tableIdByElementId','pointerup','_handleKeyboardInput','shift-tab','_imageIoService','DashDot','cover','enterTextMode','univer-size-4\x20univer-rounded-sm','hitTestHandle','convert','objectKey','titleRow','_selectResolvedCell','slides-table-ui.editorToolbar.footerRow','canvasScale','hostAnchorId','_drawCellHover','Tab','_imageLoadingCache','mergeMenu','_isActiveOuterChromeHit','shadowOffsetY','minimal','univer-flex\x20univer-items-center\x20univer-gap-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-cols-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-grid-rows-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-x-2\x20[[data-u-comp=\x27ribbon-grid-toolbar\x27]_&]:univer-gap-y-2','getTableSelection','color','disabled','length','listType','alignMiddle','columnDelta','fallbackImageWidth','univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','slide-table.operation.border-inner','bold','_openContextMenu','scale','getSession','operations','slides-table-ui.contextMenu.distributeRows','wrap','createLinearGradient','sessionId','_selection$','round','setSelectedControl','slides-table-ui.contextMenu.deleteColumn','slide.operation.slide-table-delete-table','addColorStop','get','targetUnitId','buttons','_initResizeInteraction','columns','univer-min-h-12\x20univer-whitespace-normal\x20univer-text-sm','setPreviewTable','slides-table-ui.mobile.operations','size','dash','find','slide-table-document-renderer','insertCompositionText','setLocaleService','univer-appearance-none\x20univer-rounded-md\x20univer-border\x20univer-border-solid\x20univer-border-transparent\x20univer-bg-transparent\x20univer-p-1\x20active:univer-bg-primary-50','_buildSelection','getActiveViewportByCoord','slides-table-ui.editorToolbar.alignMiddle','italic','small','slide-table.operation.align-top','selectedStructuralRange','orderIndex','embedId','border-','slides-table-ui.editorToolbar.borderPresetLeft','toString','clipboardData','_resolveResizeHandle','restore','textDirection','_resolveSelectedTableDrawing','number','stops','<table><colgroup>','string','univer-size-5\x20univer-rounded','rgb','backspace','svg','_prepareResizeSelection','forEach','slides-table-ui.table-design.cell-style-control','getRealBound','SLIDE_TABLE_CELL_','insideV','GROUP','pageOffsetTop','slide-table.operation.keyboard','path','685288mUJOEe','stopTextSelectionDrag','getSelection','session$','_resolveTableSnapshot','slice','true','move-left','_resolveScenePointToEditorPoint','univer-grid\x20univer-grid-cols-2\x20univer-gap-3','backward','_makeSceneDirty','\x20style=\x22height:\x20','pageOffsetLeft','edit-cell','startObjectLeft','_drawTableEffects','rowSpan','mode','isDrawingObject','red.100','_tableThemePalette','#d2e3fc','_structuralInsertHoverObject','canvas','LEFT','selectColumn','setContextValue','WRAP','setTableThemePalette','call','univer-pointer-events-auto','_enabled$','selectDrawings','context-bar','univer-mb-2\x20univer-text-xs\x20univer-text-gray-500','getValue','_resizeDragContext','lastPoint','LeftInsertColumnDoubleIcon','params','_handleStructuralInsertTrigger','_uiPartsService','action','onCancel','_controlState','rgba(0,\x200,\x200,\x200)','signature','getEnabled','rgba(26,\x20115,\x20232,\x200.22)','_resolveTableClipboardTarget','"','_wiredResizeObjectRefs','key','slides-table-ui.contextMenu.delete','onChange','ArrowRight','has','stage2','slide.operation.slide-table-insert-row-below','slides-table-ui.editorToolbar.textBackgroundColor','rgba(64,\x20156,\x20255,\x200.42)','_ownsStructuralCursor','univer-h-14\x20univer-w-full\x20univer-rounded\x20univer-object-cover','#E8F1FF','getRenderUnitById','4cHUPMI','rgba(95,\x2099,\x20104,\x200.45)','markTableInternalInteraction','slides-table-ui.table-design.styles-control','20eLxcpk','widthClassName','_insertClipboardImages'];_0x3862=function(){return _0x29955d;};return _0x3862();}function Vl(_0x363a46,_0x18a38b,_0x407ae8){const _0x2871e8=_0x3cd2e0;if(!_0x363a46||!_0x18a38b||!_0x407ae8)return null;let _0x3ddeff=Kl(_0x363a46,_0x18a38b);if(!_0x3ddeff)return null;let _0x3c5603=_0x4d9801(_0x407ae8),_0x49f209=_0x3c5603[_0x2871e8(0x400)][_0x2871e8(0x567)]>0x0?_0x3c5603[_0x2871e8(0x400)][_0x2871e8(0x37f)](_0x471f4c=>_0x471f4c['cells']):[[{'html':_0x407ae8,'text':'','rowSpan':0x1,'colSpan':0x1}]];if(!_0x49f209[_0x2871e8(0x674)](_0x35edbd=>_0x35edbd['some'](_0x117466=>_0x117466!==null)))return null;let _0x40e080=Math[_0x2871e8(0x379)](0x1,..._0x49f209[_0x2871e8(0x37f)](_0xf3966e=>_0xf3966e[_0x2871e8(0x567)])),_0x43c9a0={'startRow':_0x3ddeff[_0x2871e8(0x3a3)],'endRow':Math[_0x2871e8(0x61f)](_0x363a46[_0x2871e8(0x400)][_0x2871e8(0x567)]-0x1,_0x3ddeff[_0x2871e8(0x3a3)]+_0x49f209[_0x2871e8(0x567)]-0x1),'startColumn':_0x3ddeff[_0x2871e8(0x6ad)],'endColumn':Math[_0x2871e8(0x61f)](_0x363a46['columns'][_0x2871e8(0x567)]-0x1,_0x3ddeff['column']+_0x40e080-0x1)},_0x2e931d=_0x44009d(_0x363a46)[_0x2871e8(0x22b)](_0x41a678=>Ql(_0x41a678,_0x43c9a0))[_0x2871e8(0x170)]((_0x5bb385,_0x59632d)=>_0x460447(_0x5bb385,_0x59632d[_0x2871e8(0x290)],_0x59632d[_0x2871e8(0x4dd)]),_0x43911b['deepClone'](_0x363a46)),_0x51057f=[],_0x474663=!0x1;return _0x49f209[_0x2871e8(0x5a6)]((_0x1bc640,_0x525752)=>{_0x1bc640['forEach']((_0xbe7990,_0x5ba53d)=>{const _0x3611af=_0x5473;var _0x23b758;let _0x5f308a=_0x3ddeff[_0x3611af(0x3a3)]+_0x525752,_0x37af1f=_0x3ddeff[_0x3611af(0x6ad)]+_0x5ba53d,_0x1a204e=(_0x23b758=_0x2e931d['rows'][_0x5f308a])==null?void 0x0:_0x23b758['cells'][_0x37af1f];if(!_0xbe7990||!_0x1a204e)return;let _0x35afe0=Yl(_0x558966(_0xbe7990['html']))??ec(_0x363a46['id'],_0x5f308a,_0x37af1f,_0xbe7990[_0x3611af(0x45d)]);_0x2e931d[_0x3611af(0x400)][_0x5f308a]['cells'][_0x37af1f]={..._0x1a204e,'textData':ic(_0x35afe0,_0x363a46['id']+'-'+_0x5f308a+'-'+_0x37af1f),'style':Xl(_0x1a204e[_0x3611af(0x36d)],_0xbe7990)};let _0x405f05=Math[_0x3611af(0x61f)](_0xbe7990['rowSpan'],_0x363a46[_0x3611af(0x400)]['length']-_0x5f308a),_0x596935=Math[_0x3611af(0x61f)](_0xbe7990[_0x3611af(0x25d)],_0x363a46['columns'][_0x3611af(0x567)]-_0x37af1f);(_0x405f05>0x1||_0x596935>0x1)&&_0x51057f['push']({'startRow':_0x5f308a,'endRow':_0x5f308a+_0x405f05-0x1,'startColumn':_0x37af1f,'endColumn':_0x37af1f+_0x596935-0x1}),_0x474663=!0x0;});}),_0x51057f[_0x2871e8(0x5a6)](_0xc3c871=>{_0x2e931d=_0x1fab76(_0x2e931d,_0xc3c871);}),_0x474663?{'rows':_0x2e931d[_0x2871e8(0x400)]}:null;}function Hl(_0x3baa16,_0x354e71){const _0x32254f=_0x3cd2e0;let _0x38e3ca=Gl(_0x3baa16,_0x354e71);if(!_0x3baa16||_0x38e3ca['length']===0x0)return null;let _0xe1e9c2=_0x43911b[_0x32254f(0x4a2)](_0x3baa16['rows']),_0xde834e=!0x1;return _0x38e3ca[_0x32254f(0x5a6)](_0x369150=>{const _0x2d5133=_0x32254f;for(let _0x2c2f2c=_0x369150['startRow'];_0x2c2f2c<=_0x369150[_0x2d5133(0x616)];_0x2c2f2c+=0x1){let _0x405dc2=_0xe1e9c2[_0x2c2f2c];if(_0x405dc2)for(let _0x156f80=_0x369150['startColumn'];_0x156f80<=_0x369150[_0x2d5133(0x655)];_0x156f80+=0x1){let _0x39ee12=_0x405dc2['cells'][_0x156f80];if(!(_0x39ee12!=null&&_0x39ee12['textData']))continue;let _0x17a8af={..._0x39ee12};delete _0x17a8af['textData'],_0x405dc2['cells'][_0x156f80]=_0x17a8af,_0xde834e=!0x0;}}}),_0xde834e?{'rows':_0xe1e9c2}:null;}function Ul(_0x30a02c){const _0x506a6a=_0x3cd2e0;var _0x3eeae8;let _0x41306f=_0x30a02c==null||(_0x3eeae8=_0x30a02c[_0x506a6a(0x15e)])==null?void 0x0:_0x3eeae8['dataStream'];return _0x41306f?_0x41306f[_0x506a6a(0x33b)](/\r\n/g,'\x0a')[_0x506a6a(0x33b)](/\r/g,'\x0a')[_0x506a6a(0x33b)](/[\u0000-\u0008\u000B\u000C\u000E-\u001F]/g,'')[_0x506a6a(0x33b)](/\n+$/g,''):'';}function Wl(_0x2c69c9,_0xd6af87){return Gl(_0x2c69c9,_0xd6af87)[0x0]??null;}function Gl(_0x2dea74,_0x36a0a6){const _0x2d9ce8=_0x3cd2e0;if(!_0x2dea74||!(_0x36a0a6!=null&&_0x36a0a6[_0x2d9ce8(0x289)][_0x2d9ce8(0x567)]))return[];let _0x1c824e=_0x2dea74[_0x2d9ce8(0x400)]['length']-0x1,_0x37b37c=_0x2dea74[_0x2d9ce8(0x581)][_0x2d9ce8(0x567)]-0x1;return _0x1c824e<0x0||_0x37b37c<0x0?[]:_0x36a0a6[_0x2d9ce8(0x289)]['map'](_0x18303c=>{const _0x336e0b=_0x2d9ce8;let _0x4ac42f=_0x21e29d(_0x18303c);return{'startRow':Math[_0x336e0b(0x379)](0x0,Math[_0x336e0b(0x61f)](_0x4ac42f['startRow'],_0x1c824e)),'endRow':Math[_0x336e0b(0x379)](0x0,Math[_0x336e0b(0x61f)](_0x4ac42f[_0x336e0b(0x616)],_0x1c824e)),'startColumn':Math[_0x336e0b(0x379)](0x0,Math[_0x336e0b(0x61f)](_0x4ac42f[_0x336e0b(0x4dd)],_0x37b37c)),'endColumn':Math['max'](0x0,Math[_0x336e0b(0x61f)](_0x4ac42f[_0x336e0b(0x655)],_0x37b37c))};});}function Kl(_0xf23c38,_0x2ebbb1){const _0x217a8b=_0x3cd2e0;let _0x2774e2=Wl(_0xf23c38,_0x2ebbb1);if(!_0x2774e2)return null;let _0x43e40d=_0x2ebbb1[_0x217a8b(0x640)]??_0x2ebbb1['anchor'];return _0x43e40d?{'row':Math[_0x217a8b(0x379)](_0x2774e2['startRow'],Math['min'](_0x43e40d[_0x217a8b(0x3a3)],_0x2774e2[_0x217a8b(0x616)])),'column':Math[_0x217a8b(0x379)](_0x2774e2[_0x217a8b(0x4dd)],Math[_0x217a8b(0x61f)](_0x43e40d['column'],_0x2774e2['endColumn']))}:{'row':_0x2774e2['startRow'],'column':_0x2774e2[_0x217a8b(0x4dd)]};}function ql(_0x3b5534){const _0x4e8a59=_0x3cd2e0;let _0x3930ba=_0x3b5534[_0x4e8a59(0x33b)](/\r\n/g,'\x0a')[_0x4e8a59(0x33b)](/\r/g,'\x0a')['replace'](/\n$/g,'');return _0x3930ba?_0x3930ba[_0x4e8a59(0x697)]('\x0a')[_0x4e8a59(0x37f)](_0x1bab6f=>_0x1bab6f['split']('\x09')):[];}function Jl(_0x446f59){const _0x59516a=_0x3cd2e0;return _0x446f59[_0x59516a(0x33b)](/\t/g,'\x20')[_0x59516a(0x33b)](/\n/g,'\x20');}function Yl(_0x2230b3){const _0x6cc876=_0x3cd2e0;try{var _0x7869a8;let _0x80c0bc=_0x5f4d52(_0x2230b3);return(_0x7869a8=_0x80c0bc[_0x6cc876(0x15e)])!=null&&_0x7869a8[_0x6cc876(0x663)]?{..._0x80c0bc,'id':_0x80c0bc['id']||_0x53e099(0x6),'body':_0x80c0bc[_0x6cc876(0x15e)],'documentStyle':_0x80c0bc[_0x6cc876(0x424)]??{}}:null;}catch{return null;}}function Xl(_0x2c0d3b,_0x5d3516){const _0x144560=_0x3cd2e0;let _0x578c34=_0x5d3516[_0x144560(0x4b9)]||_0x5d3516[_0x144560(0x1c4)]?{'color':_0x5d3516['borderColor'],'width':_0x5d3516['borderWidth'],'dash':_0x138dfb[_0x144560(0x199)]}:void 0x0;return!_0x5d3516[_0x144560(0x3c6)]&&!_0x578c34?_0x2c0d3b:{..._0x2c0d3b,'fill':_0x5d3516[_0x144560(0x3c6)]?{'type':_0x3f8470[_0x144560(0x199)],'color':_0x5d3516[_0x144560(0x3c6)]}:_0x2c0d3b==null?void 0x0:_0x2c0d3b[_0x144560(0x2e8)],'borders':_0x578c34?{'top':_0x578c34,'right':_0x578c34,'bottom':_0x578c34,'left':_0x578c34}:_0x2c0d3b==null?void 0x0:_0x2c0d3b[_0x144560(0x2d5)]};}function Zl(_0x4abb3d){const _0x1d7075=_0x3cd2e0;return _0x4abb3d[_0x1d7075(0x33b)](/&/g,_0x1d7075(0x2a6))[_0x1d7075(0x33b)](/"/g,_0x1d7075(0x5e2))[_0x1d7075(0x33b)](/</g,'<')[_0x1d7075(0x33b)](/>/g,_0x1d7075(0x31b));}function Ql(_0x83e8e9,_0x49243c){const _0x1e6e77=_0x3cd2e0;return _0x83e8e9['startRow']<=_0x49243c[_0x1e6e77(0x616)]&&_0x83e8e9[_0x1e6e77(0x616)]>=_0x49243c['startRow']&&_0x83e8e9[_0x1e6e77(0x4dd)]<=_0x49243c[_0x1e6e77(0x655)]&&_0x83e8e9[_0x1e6e77(0x655)]>=_0x49243c[_0x1e6e77(0x4dd)];}function $l(_0x5ac07d){const _0x235ead=_0x3cd2e0;return(_0x5ac07d==null?void 0x0:_0x5ac07d[_0x235ead(0x1b6)])===_0x235ead(0x428)&&_0x5ac07d[_0x235ead(0x3a3)]!==void 0x0||(_0x5ac07d==null?void 0x0:_0x5ac07d['kind'])===_0x235ead(0x4ca)&&_0x5ac07d['column']!==void 0x0;}function eu(_0x29cbea){const _0xe8c047=_0x3cd2e0;return _0x29cbea[_0xe8c047(0x1b6)]===_0xe8c047(0x428)?{'visible':!0x0,'hoveredTrigger':_0x29cbea,'insertGuide':{'kind':_0xe8c047(0x3a3),'index':_0x29cbea[_0xe8c047(0x3a3)]+0x1}}:{'visible':!0x0,'hoveredTrigger':_0x29cbea,'insertGuide':{'kind':'column','index':_0x29cbea[_0xe8c047(0x6ad)]+0x1}};}const tu=_0x3cd2e0(0x1a5),nu=-0x2710;function ru(_0x5efc32){const _0x4adaae=_0x3cd2e0;if(typeof _0x5efc32[_0x4adaae(0x462)]==_0x4adaae(0x59d)&&Number[_0x4adaae(0x63f)](_0x5efc32[_0x4adaae(0x462)]))return _0x5efc32[_0x4adaae(0x462)];let _0x125f4f=_0x5efc32['kind']===_0x4adaae(0x428)?_0x5efc32[_0x4adaae(0x3a3)]:_0x5efc32[_0x4adaae(0x6ad)];return typeof _0x125f4f==_0x4adaae(0x59d)&&Number[_0x4adaae(0x63f)](_0x125f4f)?_0x125f4f+0x1:null;}function iu(_0x48d913,_0x17408a,_0x4ea111,_0x41546d,_0x5d69af,_0x24cf8c=0x6){const _0x477eb7=_0x3cd2e0;if(_0x41546d<0x0||_0x5d69af<0x0||_0x41546d>_0x17408a||_0x5d69af>_0x4ea111)return null;let _0xc9c550=mu(_0x48d913[_0x477eb7(0x581)][_0x477eb7(0x37f)](_0x2aeac9=>_0x2aeac9['width']),_0x17408a),_0x4c7c85=mu(_0x48d913[_0x477eb7(0x400)][_0x477eb7(0x37f)](_0x4bebf8=>_0x4bebf8[_0x477eb7(0x276)]??0x18),_0x4ea111),_0x3b840c=gu(_0xc9c550,_0x41546d,_0x24cf8c),_0x4e1035=gu(_0x4c7c85,_0x5d69af,_0x24cf8c);return!_0x3b840c&&!_0x4e1035?null:_0x3b840c&&(!_0x4e1035||_0x3b840c[_0x477eb7(0x28f)]<=_0x4e1035[_0x477eb7(0x28f)])?{'axis':'column','boundaryIndex':_0x3b840c[_0x477eb7(0x28c)]}:{'axis':_0x477eb7(0x3a3),'boundaryIndex':_0x4e1035[_0x477eb7(0x28c)]};}function au(_0x5e82e2,_0x4c61c6,_0x531872,_0x2528f3){const _0x3bc057=_0x3cd2e0;let _0x2fd468=_0x43911b[_0x3bc057(0x4a2)](_0x5e82e2),_0xa227b7=Math[_0x3bc057(0x379)](0x1,_0x2528f3[_0x3bc057(0x6bf)]??0xc);if(_0x2528f3[_0x3bc057(0x338)]===_0x3bc057(0x6ad))_0x2fd468['columns']=_u(mu(_0x5e82e2[_0x3bc057(0x581)][_0x3bc057(0x37f)](_0x20f1b1=>_0x20f1b1[_0x3bc057(0x172)]),_0x4c61c6),_0x2528f3[_0x3bc057(0x28c)],_0x2528f3['delta'],_0xa227b7)[_0x3bc057(0x37f)](_0x4dc4f6=>({'width':_0x4dc4f6}));else{let _0x3a7b06=_u(mu(_0x5e82e2[_0x3bc057(0x400)]['map'](_0x4c3df1=>_0x4c3df1[_0x3bc057(0x276)]??0x18),_0x531872),_0x2528f3[_0x3bc057(0x28c)],_0x2528f3[_0x3bc057(0x506)],_0xa227b7);_0x2fd468[_0x3bc057(0x400)]=_0x2fd468['rows']['map']((_0x55c651,_0x5d5906)=>({..._0x55c651,'height':_0x3a7b06[_0x5d5906]??_0x55c651[_0x3bc057(0x276)]??0x18}));}return _0x2fd468;}let ou=class extends _0x1bf94d{constructor(_0x5b511b,_0x24a809,_0x120b18,_0x1b05e0,_0x436714,_0x5f0256,_0xfabc7c,_0x562054,_0x19239b,_0x294b0a,_0x4985b6,_0x225c54,_0x282621,_0x3402f7,_0x364978,_0x577ada){const _0x273a8b=_0x3cd2e0;super(),this[_0x273a8b(0x526)]=_0x5b511b,this[_0x273a8b(0x208)]=_0x24a809,this[_0x273a8b(0x1c9)]=_0x120b18,this[_0x273a8b(0x4f7)]=_0x1b05e0,this[_0x273a8b(0x1c3)]=_0x436714,this['_drawingStateService']=_0x5f0256,this[_0x273a8b(0x69a)]=_0xfabc7c,this['_commandService']=_0x562054,this['_keyboardService']=_0x19239b,this[_0x273a8b(0x2a0)]=_0x294b0a,this[_0x273a8b(0x33f)]=_0x4985b6,this[_0x273a8b(0x2df)]=_0x225c54,this['_transformerVisibilityService']=_0x282621,this['_permissionService']=_0x3402f7,this['_alignmentGuideService']=_0x364978,this[_0x273a8b(0x30e)]=_0x577ada,q(this,_0x273a8b(0x6e1),null),q(this,_0x273a8b(0x5d4),null),q(this,'_resizeDragListeners',null),q(this,_0x273a8b(0x679),null),q(this,'_rangeDragWindowCleanup',null),q(this,_0x273a8b(0x1c6),null),q(this,'_editorSessionId',0x0),q(this,'_activeEditorContextKey',null),q(this,'_lastActiveTableContext',null),q(this,'_tableActivationStage',null),q(this,_0x273a8b(0x287),null),q(this,_0x273a8b(0x3fd),null),q(this,'_headerSelectionDragState',null),q(this,_0x273a8b(0x614),null),q(this,_0x273a8b(0x6b0),null),q(this,'_rowColumnMoveTarget',null),q(this,_0x273a8b(0x6ee),null),q(this,'_resizeHoverActive',!0x1),q(this,_0x273a8b(0x5ed),!0x1),q(this,'_resizeWireScheduled',!0x1),q(this,_0x273a8b(0x430),!0x1),q(this,_0x273a8b(0x5c6),null),q(this,_0x273a8b(0x5e3),new Map()),q(this,_0x273a8b(0x34e),_0xaac3cd=>{const _0x273329=_0x273a8b;let _0x487e0e=this[_0x273329(0x5e1)](_0xaac3cd);_0x487e0e&&_0xaac3cd[_0x273329(0x598)]&&this[_0x273329(0x436)](_0x487e0e['selection'])&&(_0xaac3cd[_0x273329(0x598)][_0x273329(0x3ed)](_0x273329(0x353),Ll(_0x487e0e[_0x273329(0x38a)],_0x487e0e[_0x273329(0x38b)])),_0xaac3cd[_0x273329(0x598)]['setData'](_0x273329(0x5fb),Rl(_0x487e0e[_0x273329(0x38a)],_0x487e0e[_0x273329(0x38b)])),_0xaac3cd[_0x273329(0x2ac)](),_0xaac3cd[_0x273329(0x18f)]());}),q(this,'_handleClipboardCut',async _0x5d3c7b=>{const _0x5f2c50=_0x273a8b;let _0x5f0cdd=this[_0x5f2c50(0x5e1)](_0x5d3c7b);if(!_0x5f0cdd||!_0x5d3c7b['clipboardData']||!this[_0x5f2c50(0x436)](_0x5f0cdd[_0x5f2c50(0x38b)]))return;let _0x5f473e=Hl(_0x5f0cdd['table'],_0x5f0cdd[_0x5f2c50(0x38b)]);_0x5f473e&&(_0x5d3c7b['clipboardData'][_0x5f2c50(0x3ed)](_0x5f2c50(0x353),Ll(_0x5f0cdd[_0x5f2c50(0x38a)],_0x5f0cdd['selection'])),_0x5d3c7b[_0x5f2c50(0x598)][_0x5f2c50(0x3ed)](_0x5f2c50(0x5fb),Rl(_0x5f0cdd['table'],_0x5f0cdd['selection'])),_0x5d3c7b[_0x5f2c50(0x2ac)](),_0x5d3c7b[_0x5f2c50(0x18f)](),await this[_0x5f2c50(0x2a9)](_0x5f0cdd,_0x5f473e));}),q(this,_0x273a8b(0x3e1),async _0x31ff3d=>{const _0x4f6b31=_0x273a8b;let _0x5554d0=this[_0x4f6b31(0x5e1)](_0x31ff3d);if(!_0x5554d0||!_0x31ff3d[_0x4f6b31(0x598)])return;let _0x286ec3=_0x31ff3d['clipboardData'][_0x4f6b31(0x214)](_0x4f6b31(0x5fb)),_0x41ea05=_0x31ff3d[_0x4f6b31(0x598)][_0x4f6b31(0x214)](_0x4f6b31(0x353)),_0x5a8b17=_0xbd7548(_0x41ea05)?await _0x32f883(_0x41ea05):null,_0x685def=_0x5a8b17?null:(_0x286ec3?Vl(_0x5554d0['table'],_0x5554d0[_0x4f6b31(0x38b)],_0x286ec3):null)??Bl(_0x5554d0[_0x4f6b31(0x38a)],_0x5554d0[_0x4f6b31(0x38b)],_0x41ea05),_0x2e72e9=_0x5a8b17?[_0x5a8b17]:await Iu(_0x31ff3d[_0x4f6b31(0x598)],_0x286ec3);(_0x685def||_0x2e72e9['length']!==0x0)&&(_0x31ff3d[_0x4f6b31(0x2ac)](),_0x31ff3d['stopPropagation'](),(!_0x685def||await this['_commitClipboardPatch'](_0x5554d0,_0x685def))&&await this[_0x4f6b31(0x5f7)](_0x2e72e9,+!!_0x685def));}),this[_0x273a8b(0x388)]();}[_0x3cd2e0(0x362)](){this['_editorLayoutSyncScheduled']=!0x1,this['_resetTableInteraction'](),super['dispose']();}[_0x3cd2e0(0x388)](){const _0x13a7e4=_0x3cd2e0;var _0xa752dc,_0x13695a;document['addEventListener'](_0x13a7e4(0x435),this[_0x13a7e4(0x34e)],!0x0),document[_0x13a7e4(0x642)](_0x13a7e4(0x359),this[_0x13a7e4(0x1f7)],!0x0),document[_0x13a7e4(0x642)](_0x13a7e4(0x3e9),this[_0x13a7e4(0x3e1)],!0x0),this[_0x13a7e4(0x544)](_0x5386fa(()=>{const _0x3cce4a=_0x13a7e4;document[_0x3cce4a(0x40a)]('copy',this[_0x3cce4a(0x34e)],!0x0),document[_0x3cce4a(0x40a)](_0x3cce4a(0x359),this['_handleClipboardCut'],!0x0),document[_0x3cce4a(0x40a)](_0x3cce4a(0x3e9),this[_0x3cce4a(0x3e1)],!0x0);})),this[_0x13a7e4(0x544)](this[_0x13a7e4(0x224)][_0x13a7e4(0x613)](_0x1ac5a9=>this[_0x13a7e4(0x174)](_0x1ac5a9))),this[_0x13a7e4(0x544)](this[_0x13a7e4(0x224)][_0x13a7e4(0x219)](_0x118d84=>this['_handleKeyboardInput'](_0x118d84)));let _0x1acae4=(_0xa752dc=(_0x13695a=this[_0x13a7e4(0x29c)])['registerGuard'])==null?void 0x0:_0xa752dc[_0x13a7e4(0x5cd)](_0x13695a,_0xd87203=>this[_0x13a7e4(0x6e4)](_0xd87203));_0x1acae4&&this['disposeWithMe'](_0x1acae4),this[_0x13a7e4(0x544)](this[_0x13a7e4(0x224)][_0x13a7e4(0x613)](_0x4141d3=>this['_handleKeyboardAction'](_0x4141d3))),this['disposeWithMe'](this['_renderContext']['scene'][_0x13a7e4(0x672)]['subscribeEvent'](_0x2df8d9=>{const _0x3b119=_0x13a7e4;this[_0x3b119(0x4ed)](_0x2df8d9);})),this[_0x13a7e4(0x544)](this[_0x13a7e4(0x526)][_0x13a7e4(0x248)]['onTransformChange$'][_0x13a7e4(0x40b)](()=>{const _0x121e17=_0x13a7e4;this[_0x121e17(0x68a)]();}));let _0x103160=this['_drawingStateService']['state$'];if(_0x103160){let _0x40fc17=_0x103160['subscribe'](_0x231162=>{const _0x142d67=_0x13a7e4;var _0x542220;this[_0x142d67(0x62e)](_0x231162);let _0x7f787d=this[_0x142d67(0x4f7)][_0x142d67(0x5b1)]();if(!_0x7f787d){var _0x41d247,_0x441a4d;let _0xde2aef=((_0x41d247=(_0x441a4d=this[_0x142d67(0x4f7)])['isTableInternalInteractionActive'])==null?void 0x0:_0x41d247['call'](_0x441a4d))??!0x1;this[_0x142d67(0x29a)]&&this['_tableActivationStage']&&!this[_0x142d67(0x643)](_0x231162)&&!_0xde2aef&&this[_0x142d67(0x4d6)]();return;}if(!(((_0x542220=_0x231162[_0x142d67(0x3ac)])==null?void 0x0:_0x542220[_0x142d67(0x264)])===_0x7f787d[_0x142d67(0x264)]&&_0x231162[_0x142d67(0x3ac)][_0x142d67(0x602)]===_0x7f787d[_0x142d67(0x602)]&&_0x231162[_0x142d67(0x661)]['includes'](_0x7f787d[_0x142d67(0x6ec)]))){if(!this[_0x142d67(0x401)](_0x231162,_0x7f787d)&&this['_isTableInteractionInProgress'](_0x7f787d))return;this[_0x142d67(0x4d6)]();}});this[_0x13a7e4(0x544)]({'dispose':()=>_0x40fc17[_0x13a7e4(0x33e)]()});}this[_0x13a7e4(0x580)](),this['_initSelectionSynchronization'](),this['_initPointerDownContextMenu']();}['_initSelectionSynchronization'](){}[_0x3cd2e0(0x282)](_0x48ad77,_0x3fdfcb){const _0x417391=_0x3cd2e0;this[_0x417391(0x3b0)](_0x3fdfcb);}[_0x3cd2e0(0x1d5)](_0x283e3e){}[_0x3cd2e0(0x166)](..._0x44670d){const _0x228922=_0x3cd2e0;return this[_0x228922(0x3b9)](..._0x44670d);}[_0x3cd2e0(0x5a5)](_0x426cad,_0x16e93c){const _0x1d6cf0=_0x3cd2e0;var _0x1fe688;this[_0x1d6cf0(0x4f7)][_0x1d6cf0(0x2b4)](),(_0x1fe688=_0x426cad['setTableSelection'])==null||_0x1fe688[_0x1d6cf0(0x5cd)](_0x426cad,null);}[_0x3cd2e0(0x599)](_0xd7530c,_0xc8c1fd,_0x121573,_0x1c0011){const _0x54e3de=_0x3cd2e0;let _0x3e12fe=this[_0x54e3de(0x539)](_0xc8c1fd,_0x121573,_0x1c0011);return iu(_0xd7530c,_0xc8c1fd[_0x54e3de(0x172)],_0xc8c1fd[_0x54e3de(0x276)],_0x3e12fe['x'],_0x3e12fe['y'],0x6);}['_scheduleResizeHold'](_0x5c4f70,_0x378928,_0x2b4503,_0x589efd,_0x2c665d){}[_0x3cd2e0(0x275)](){return 0x1;}[_0x3cd2e0(0x2b7)](_0xfdcd3){const _0x2d5c8b=_0x3cd2e0;this[_0x2d5c8b(0x69b)]();}[_0x3cd2e0(0x2b2)](_0x3144d2){const _0x3dd1a6=_0x3cd2e0;var _0x79b1c8;return _0x3144d2[_0x3dd1a6(0x1b6)]===_0x3dd1a6(0x45d)||!!((_0x79b1c8=_0x3144d2['ranges'])!=null&&_0x79b1c8[_0x3dd1a6(0x567)]);}['_retainActiveCellEditor'](){return!0x1;}[_0x3cd2e0(0x65d)](_0x25a04c,_0x44d81f,_0x376578,_0x35cbb2){return!0x1;}[_0x3cd2e0(0x3fc)](_0x4ecffc){}[_0x3cd2e0(0x68a)](){const _0x39ed80=_0x3cd2e0;this['_editorLayoutSyncScheduled']||(this[_0x39ed80(0x430)]=!0x0,Promise[_0x39ed80(0x657)]()[_0x39ed80(0x4a5)](()=>{const _0x41738e=_0x39ed80;this[_0x41738e(0x430)]&&(this['_editorLayoutSyncScheduled']=!0x1,this[_0x41738e(0x261)]());}));}[_0x3cd2e0(0x261)](){const _0x453182=_0x3cd2e0;var _0x2ce0cc;let _0x4b07cb=this[_0x453182(0x1c3)][_0x453182(0x571)](),_0x51f925=_0x4b07cb==null?void 0x0:_0x4b07cb[_0x453182(0x3ac)];if(!_0x4b07cb||!_0x51f925||!this[_0x453182(0x61c)](_0x51f925))return;let _0x5af788=this[_0x453182(0x256)](_0x51f925);if(!_0x5af788)return;let {object:_0x2c722e,table:_0x577434}=_0x5af788,_0x44eb0e=_0x237cc5(((_0x2ce0cc=_0x2c722e[_0x453182(0x3ba)])==null?void 0x0:_0x2ce0cc[_0x453182(0x5cd)](_0x2c722e))??_0x577434),_0x2f6824=_0x44eb0e['cells'][_0x453182(0x587)](_0x3a70ee=>_0x3a70ee[_0x453182(0x3a3)]===_0x51f925[_0x453182(0x3a3)]&&_0x3a70ee[_0x453182(0x6ad)]===_0x51f925[_0x453182(0x6ad)]&&!_0x3a70ee[_0x453182(0x50f)]);if(!_0x2f6824)return;let _0xe9a11e=this[_0x453182(0x512)](_0x2c722e,_0x44eb0e,_0x2f6824,_0x4b07cb[_0x453182(0x360)]);_0xe9a11e&&this[_0x453182(0x1c3)][_0x453182(0x433)]({'layout':_0xe9a11e});}[_0x3cd2e0(0x62e)](_0x491afd){const _0x3fb7a9=_0x3cd2e0;if(!_0x491afd[_0x3fb7a9(0x3ac)]||_0x491afd['selectedIds'][_0x3fb7a9(0x567)]!==0x1)return;let [_0x359190]=_0x491afd['selectedIds'],_0x5e2057=this[_0x3fb7a9(0x526)][_0x3fb7a9(0x370)][_0x3fb7a9(0x60b)](_0x452a45(_0x491afd[_0x3fb7a9(0x3ac)]['unitId'],_0x491afd['context'][_0x3fb7a9(0x602)],_0x359190));if(!_0x5e2057)return;let _0x1026ab=this[_0x3fb7a9(0x59c)](_0x491afd[_0x3fb7a9(0x3ac)][_0x3fb7a9(0x264)],_0x491afd[_0x3fb7a9(0x3ac)][_0x3fb7a9(0x602)],_0x359190);if(!_0x1026ab||_0x1026ab[_0x3fb7a9(0x1f0)][_0x3fb7a9(0x278)]!==_0x5ddaa8[_0x3fb7a9(0x230)])return;let _0x1b7955=this[_0x3fb7a9(0x4f7)][_0x3fb7a9(0x5b1)]();if((_0x1b7955==null?void 0x0:_0x1b7955[_0x3fb7a9(0x264)])===_0x1026ab['unitId']&&_0x1b7955[_0x3fb7a9(0x602)]===_0x1026ab[_0x3fb7a9(0x602)]&&_0x1b7955[_0x3fb7a9(0x6ec)]===_0x1026ab[_0x3fb7a9(0x193)]){this[_0x3fb7a9(0x6b6)](_0x1026ab,_0x5e2057,_0x1b7955),this[_0x3fb7a9(0x6e8)](_0x1b7955);return;}(_0x1b7955==null?void 0x0:_0x1b7955[_0x3fb7a9(0x1b6)])==='table'&&this[_0x3fb7a9(0x4f7)][_0x3fb7a9(0x2b4)](),this[_0x3fb7a9(0x29a)]={'unitId':_0x1026ab[_0x3fb7a9(0x264)],'subUnitId':_0x1026ab[_0x3fb7a9(0x602)],'elementId':_0x1026ab['drawingId']},this[_0x3fb7a9(0x282)](_0x1026ab,_0x5e2057);}[_0x3cd2e0(0x643)](_0x26871d){const _0x4c611c=_0x3cd2e0;var _0x134fd9;let _0x430058=this[_0x4c611c(0x29a)];return!!_0x430058&&((_0x134fd9=_0x26871d['context'])==null?void 0x0:_0x134fd9['unitId'])===_0x430058[_0x4c611c(0x264)]&&_0x26871d[_0x4c611c(0x3ac)]['subUnitId']===_0x430058[_0x4c611c(0x602)]&&_0x26871d[_0x4c611c(0x661)][_0x4c611c(0x3cb)](_0x430058['elementId']);}[_0x3cd2e0(0x401)](_0x47b99f,_0x2b3388){const _0x3ee058=_0x3cd2e0;if(_0x47b99f[_0x3ee058(0x661)]['length']===0x0)return!0x0;if(!_0x47b99f['context'])return!0x1;let _0x3c4f53=this['_renderContext'][_0x3ee058(0x370)][_0x3ee058(0x60b)](_0x452a45(_0x2b3388[_0x3ee058(0x264)],_0x2b3388[_0x3ee058(0x602)],_0x2b3388[_0x3ee058(0x6ec)]));return _0x47b99f[_0x3ee058(0x661)]['some'](_0x288e7a=>{const _0x2021a9=_0x3ee058;if(_0x288e7a===_0x2b3388['elementId'])return!0x1;let _0x227e1c=this[_0x2021a9(0x526)][_0x2021a9(0x370)][_0x2021a9(0x60b)](_0x452a45(_0x47b99f['context'][_0x2021a9(0x264)],_0x47b99f[_0x2021a9(0x3ac)][_0x2021a9(0x602)],_0x288e7a));return!!_0x227e1c&&_0x227e1c!==_0x3c4f53;});}['_resolveSelectedTableDrawing'](_0x1c5311,_0x43aa5a,_0x315c73){const _0x37dd47=_0x3cd2e0;var _0x5e6e44,_0x445b5d;let _0x3c77df=(_0x5e6e44=this[_0x37dd47(0x208)])==null?void 0x0:_0x5e6e44[_0x37dd47(0x383)];return(_0x3c77df==null||(_0x445b5d=_0x3c77df[_0x37dd47(0x5cd)](this[_0x37dd47(0x208)]))==null?void 0x0:_0x445b5d['find'](_0x5b38c3=>_0x5b38c3[_0x37dd47(0x264)]===_0x1c5311&&_0x5b38c3[_0x37dd47(0x602)]===_0x43aa5a&&_0x5b38c3[_0x37dd47(0x193)]===_0x315c73))??null;}[_0x3cd2e0(0x2e1)](_0x23821f){const _0x2100b7=_0x3cd2e0;var _0x43e71c;let _0x4941b0=(_0x43e71c=this['_hitTestService'])==null?void 0x0:_0x43e71c['getOrderedTopLevelDrawings'],_0x497501=(_0x4941b0==null?void 0x0:_0x4941b0[_0x2100b7(0x5cd)](this[_0x2100b7(0x208)]))??[],_0xf52c50=new _0x107851(_0x23821f['x'],_0x23821f['y']);for(let _0x2ef232=_0x497501['length']-0x1;_0x2ef232>=0x0;_0x2ef232--){let _0x16ab13=_0x497501[_0x2ef232];if(!_0x16ab13||_0x16ab13[_0x2100b7(0x264)]!==this[_0x2100b7(0x526)][_0x2100b7(0x264)]||_0x16ab13[_0x2100b7(0x1f0)][_0x2100b7(0x278)]!==_0x5ddaa8['Table']||_0x16ab13[_0x2100b7(0x2c4)]||!this[_0x2100b7(0x1c9)][_0x2100b7(0x6c1)](_0x16ab13['unitId'],_0x16ab13[_0x2100b7(0x1f0)][_0x2100b7(0x37b)]))continue;let _0x688fa4=this[_0x2100b7(0x526)][_0x2100b7(0x370)][_0x2100b7(0x60b)](_0x452a45(_0x16ab13['unitId'],_0x16ab13['subUnitId'],_0x16ab13[_0x2100b7(0x193)]));if(!_0x688fa4||_0x688fa4['isInGroup'])continue;let _0x3ab0ed=this[_0x2100b7(0x3d0)](_0x688fa4,_0xf52c50);if(_0x3ab0ed)return{'drawing':_0x16ab13,'object':_0x688fa4,'trigger':_0x3ab0ed};}return null;}['_resolveInsertDotTriggerForObject'](_0xda667c,_0x278e58){const _0x326eeb=_0x3cd2e0;var _0x336e50;let _0x104510=(_0x336e50=_0xda667c[_0x326eeb(0x4e1)])==null?void 0x0:_0x336e50[_0x326eeb(0x5cd)](_0xda667c,_0x278e58);return $l(_0x104510)?_0x104510:null;}[_0x3cd2e0(0x163)](){const _0x31ba80=_0x3cd2e0;let _0x165f0f=this['_renderContext'][_0x31ba80(0x370)];_0x165f0f[_0x31ba80(0x437)]&&this[_0x31ba80(0x544)](_0x165f0f['onPointerDown$'][_0x31ba80(0x40b)]({'priority':nu,'next':([_0x46cace,_0x4398b5])=>{const _0x3e46e8=_0x31ba80;this[_0x3e46e8(0x6dd)](_0x46cace,_0x4398b5);}}));let _0x47c08b=this[_0x31ba80(0x208)][_0x31ba80(0x437)];if(!_0x47c08b)return;let _0x1397e7=_0x47c08b[_0x31ba80(0x18d)](_0x2417d4=>this[_0x31ba80(0x67b)](_0x2417d4));this['disposeWithMe']({'dispose':()=>_0x1397e7['unsubscribe']()});}[_0x3cd2e0(0x6dd)](_0x424c48,_0x3cf677){const _0xdca981=_0x3cd2e0;let _0x1e3af4=_0x424c48[_0xdca981(0x251)]??0x0;if(_0x1e3af4!==0x0&&_0x1e3af4!==0x2)return!0x1;let _0x20fafe=this['_resolvePointerViewportPoint'](_0x424c48),_0x213694=this[_0xdca981(0x2e9)](_0x20fafe['x'],_0x20fafe['y']),_0x3924f4=this['_resolveActiveTableObject']();if(_0x3924f4&&this['_startSelectionHandleDrag'](_0x3924f4[_0xdca981(0x538)],_0x3924f4[_0xdca981(0x3d7)],_0x424c48,_0x3cf677))return!0x0;if(_0x1e3af4===0x0&&!this[_0xdca981(0x652)]()){let _0x158036=this['_resolveInsertDotAtScenePoint'](_0x213694);if(_0x158036){var _0x5dd28d,_0x3d498e;return _0x3cf677[_0xdca981(0x18f)](),_0x3cf677[_0xdca981(0x2f9)]=!0x0,(_0x5dd28d=_0x424c48[_0xdca981(0x18f)])==null||_0x5dd28d[_0xdca981(0x5cd)](_0x424c48),(_0x3d498e=_0x424c48['preventDefault'])==null||_0x3d498e[_0xdca981(0x5cd)](_0x424c48),this[_0xdca981(0x37e)](),this[_0xdca981(0x1c3)][_0xdca981(0x4b8)](),this[_0xdca981(0x29a)]={'unitId':_0x158036['drawing'][_0xdca981(0x264)],'subUnitId':_0x158036[_0xdca981(0x538)]['subUnitId'],'elementId':_0x158036['drawing'][_0xdca981(0x193)]},this[_0xdca981(0x5d8)](_0x158036['drawing'],_0x158036[_0xdca981(0x3d7)],_0x158036[_0xdca981(0x35b)],_0x213694),!0x0;}}let _0x2befc5=this['_resolveActiveTableObject']();if(!_0x2befc5||_0x2befc5[_0xdca981(0x538)][_0xdca981(0x1f0)][_0xdca981(0x278)]!==_0x5ddaa8['Table'])return!0x1;let {drawing:_0x251e5b,object:_0x444c25}=_0x2befc5,_0x4f404a=_0x452a45(_0x251e5b[_0xdca981(0x264)],_0x251e5b[_0xdca981(0x602)],_0x251e5b[_0xdca981(0x193)]),_0x23dbbc=this[_0xdca981(0x4c8)](_0x251e5b,_0x444c25,_0x213694['x'],_0x213694['y']),_0x15cfb9=_0x23dbbc?null:this['_resolveCellHit'](_0x251e5b,_0x4f404a,_0x213694['x'],_0x213694['y']);if(!_0x23dbbc&&!_0x15cfb9)return!0x1;if(!this[_0xdca981(0x2c9)](_0x251e5b)){var _0xb51c26,_0xc0dc8b;return this[_0xdca981(0x1fc)]['selectDrawings']({'unitId':_0x251e5b['unitId'],'subUnitId':_0x251e5b[_0xdca981(0x602)]},[_0x251e5b['drawingId']],_0x251e5b[_0xdca981(0x193)]),_0x3cf677[_0xdca981(0x18f)](),_0x3cf677['skipNextObservers']=!0x0,(_0xb51c26=_0x424c48[_0xdca981(0x18f)])==null||_0xb51c26[_0xdca981(0x5cd)](_0x424c48),(_0xc0dc8b=_0x424c48[_0xdca981(0x2ac)])==null||_0xc0dc8b[_0xdca981(0x5cd)](_0x424c48),this['_hideContextMenu'](),this['_editorUIService'][_0xdca981(0x4b8)](),this['_lastActiveTableContext']={'unitId':_0x251e5b[_0xdca981(0x264)],'subUnitId':_0x251e5b[_0xdca981(0x602)],'elementId':_0x251e5b[_0xdca981(0x193)]},this[_0xdca981(0x3b0)](_0x444c25),!0x0;}return this['_handleTablePointerDown'](_0x251e5b,_0x4f404a,_0x444c25,this[_0xdca981(0x351)](_0x424c48,_0x20fafe),_0x3cf677,_0x23dbbc),!0x0;}['_handleHitTestPointerDown'](_0x1f19b6){const _0x269c22=_0x3cd2e0;let _0x2ee440=_0x1f19b6['nativeEvent'][_0x269c22(0x251)]??0x0;if(_0x2ee440!==0x0&&_0x2ee440!==0x2)return;let _0x43ff36=_0x1f19b6[_0x269c22(0x463)];_0x43ff36[_0x269c22(0x4d4)]===void 0x0&&(_0x43ff36[_0x269c22(0x4d4)]=_0x1f19b6[_0x269c22(0x4d4)]),_0x43ff36[_0x269c22(0x236)]===void 0x0&&(_0x43ff36[_0x269c22(0x236)]=_0x1f19b6[_0x269c22(0x236)]);let _0x5d9b66=this[_0x269c22(0x526)][_0x269c22(0x370)]['getObject'](_0x1f19b6['oKey']);_0x5d9b66&&(_0x2ee440!==0x2||_0x1f19b6[_0x269c22(0x538)][_0x269c22(0x1f0)]['type']!==_0x5ddaa8[_0x269c22(0x230)]||this[_0x269c22(0x652)]()||this[_0x269c22(0x6a2)](_0x1f19b6['drawing'],_0x1f19b6[_0x269c22(0x62a)],_0x5d9b66,_0x43ff36,{'stopPropagation':()=>{const _0x3eb04a=_0x269c22;var _0x501ac7;return(_0x501ac7=_0x43ff36[_0x3eb04a(0x18f)])==null?void 0x0:_0x501ac7[_0x3eb04a(0x5cd)](_0x43ff36);},'skipNextObservers':!0x1}));}[_0x3cd2e0(0x580)](){const _0x5a6838=_0x3cd2e0;let _0x12b8c4=this[_0x5a6838(0x526)][_0x5a6838(0x370)];if(_0x12b8c4[_0x5a6838(0x21e)]&&this[_0x5a6838(0x544)](_0x12b8c4[_0x5a6838(0x21e)]['subscribeEvent']({'priority':nu,'next':([_0x372962])=>{const _0x1754bd=_0x5a6838;this[_0x1754bd(0x304)](_0x372962),this[_0x1754bd(0x192)](_0x372962);}})),_0x12b8c4[_0x5a6838(0x1d9)]){let _0x123df9=_0x12b8c4[_0x5a6838(0x1d9)]['subscribe'](()=>this[_0x5a6838(0x25a)]());this[_0x5a6838(0x544)]({'dispose':()=>_0x123df9[_0x5a6838(0x33e)]()});}this['_scheduleWireResizeObjects']();}[_0x3cd2e0(0x25a)](){const _0x1311ff=_0x3cd2e0;this[_0x1311ff(0x6a9)]||(this[_0x1311ff(0x6a9)]=!0x0,Promise[_0x1311ff(0x657)]()[_0x1311ff(0x4a5)](()=>{const _0x1631bd=_0x1311ff;this[_0x1631bd(0x6a9)]=!0x1,this[_0x1631bd(0x31a)]();}));}[_0x3cd2e0(0x31a)](){const _0x2f5349=_0x3cd2e0;let _0x129708=this[_0x2f5349(0x208)][_0x2f5349(0x383)];((_0x129708==null?void 0x0:_0x129708[_0x2f5349(0x5cd)](this['_hitTestService']))??[])[_0x2f5349(0x5a6)](_0x2bd61d=>{const _0x22966e=_0x2f5349;if(_0x2bd61d[_0x22966e(0x1f0)][_0x22966e(0x278)]!==_0x5ddaa8['Table'])return;let _0xae68d4=_0x452a45(_0x2bd61d[_0x22966e(0x264)],_0x2bd61d[_0x22966e(0x602)],_0x2bd61d['drawingId']),_0x82342e=this['_renderContext']['scene']['getObject'](_0xae68d4);if(!_0x82342e||_0x82342e[_0x22966e(0x6e0)]||(this[_0x22966e(0x1d5)](_0x82342e),this['_syncTableSelectionToObject'](_0x2bd61d,_0x82342e),this[_0x22966e(0x5e3)][_0x22966e(0x57d)](_0xae68d4)===_0x82342e))return;let _0x1e1c5d=_0x82342e[_0x22966e(0x437)]['subscribeEvent']({'priority':nu,'next':([_0x1bbdf1,_0x5c926e])=>{const _0x215135=_0x22966e;this[_0x215135(0x664)](_0x2bd61d,_0xae68d4,_0x82342e,_0x1bbdf1,_0x5c926e);}});this['disposeWithMe'](_0x1e1c5d),this['_wiredResizeObjectRefs']['set'](_0xae68d4,_0x82342e);});}[_0x3cd2e0(0x4ed)](_0x410f2b){const _0x369faf=_0x3cd2e0;let _0x5d9f5d=this[_0x369faf(0x208)][_0x369faf(0x4f5)](_0x410f2b['offsetX'],_0x410f2b[_0x369faf(0x236)]);if(!_0x5d9f5d)return;let _0x45946a=this[_0x369faf(0x2e9)](_0x410f2b[_0x369faf(0x4d4)],_0x410f2b['offsetY']);this[_0x369faf(0x644)]({'drawing':_0x5d9f5d['drawing'],'oKey':_0x5d9f5d['oKey'],'offsetX':_0x45946a['x'],'offsetY':_0x45946a['y'],'nativeEvent':_0x410f2b});}[_0x3cd2e0(0x2e9)](_0x5306b9,_0x57923b){const _0x5df79a=_0x3cd2e0;var _0x47e43d,_0x38f994,_0x53969a;let _0x156b77=new _0x107851(_0x5306b9,_0x57923b),_0x11edac=this[_0x5df79a(0x526)][_0x5df79a(0x370)],_0x3158b4=((_0x47e43d=_0x11edac[_0x5df79a(0x58d)])==null?void 0x0:_0x47e43d[_0x5df79a(0x5cd)](_0x11edac,_0x156b77))??((_0x38f994=_0x11edac[_0x5df79a(0x15c)])==null?void 0x0:_0x38f994['call'](_0x11edac)[0x0]),_0x4c4b99=(_0x3158b4==null||(_0x53969a=_0x3158b4['transformVector2SceneCoord'])==null?void 0x0:_0x53969a[_0x5df79a(0x5cd)](_0x3158b4,_0x156b77))??_0x156b77;return{'x':_0x4c4b99['x'],'y':_0x4c4b99['y']};}['_handleResizeHover'](_0x54f1d4){const _0xb707c3=_0x3cd2e0;if(this['_resizeDragContext'])return;if(this['_isTableTextEditing']()){this[_0xb707c3(0x384)]();return;}let _0x113e6f=this[_0xb707c3(0x208)][_0xb707c3(0x4f5)](_0x54f1d4[_0xb707c3(0x4d4)],_0x54f1d4[_0xb707c3(0x236)]);if(!_0x113e6f||_0x113e6f['drawing'][_0xb707c3(0x1f0)][_0xb707c3(0x278)]!==_0x5ddaa8[_0xb707c3(0x230)]){this[_0xb707c3(0x384)]();return;}if(!this[_0xb707c3(0x2c9)](_0x113e6f['drawing'])){this[_0xb707c3(0x384)]();return;}let _0x302ac6=this[_0xb707c3(0x526)][_0xb707c3(0x370)][_0xb707c3(0x60b)](_0x113e6f[_0xb707c3(0x62a)]);if(!_0x302ac6){this[_0xb707c3(0x384)]();return;}let _0x239d41=this['_resolveScenePoint'](_0x54f1d4[_0xb707c3(0x4d4)],_0x54f1d4[_0xb707c3(0x236)]),_0x16ae93=this[_0xb707c3(0x520)](_0x113e6f['drawing'],_0x302ac6,_0x239d41['x'],_0x239d41['y']);if(!_0x16ae93){this[_0xb707c3(0x384)]();return;}this[_0xb707c3(0x1e7)](_0x16ae93[_0xb707c3(0x612)][_0xb707c3(0x338)]);}[_0x3cd2e0(0x664)](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23,_0x5d2abe){const _0x3a3392=_0x3cd2e0;let _0xacae6c=_0x5ad62b['button']??0x0;if(this[_0x3a3392(0x65d)](_0x404a55,_0x4d3b6b,_0x5ad62b,_0x4e6a23)||this[_0x3a3392(0x320)](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23,_0x5d2abe)||this[_0x3a3392(0x4d1)](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23)||_0xacae6c===0x2&&this['_handleCellContextMenuPointerDown'](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23)||this[_0x3a3392(0x166)](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23)||_0xacae6c!==0x0||this[_0x3a3392(0x652)]()||!this['_isTableDrawingActive'](_0x404a55))return;let _0x1ad74c=this['_resolveScenePoint'](_0x5ad62b[_0x3a3392(0x4d4)],_0x5ad62b[_0x3a3392(0x236)]),_0x93bb81=this[_0x3a3392(0x509)](_0x404a55,_0x5dc884,_0x1ad74c['x'],_0x1ad74c['y']);_0x93bb81&&this['_handleSelectedTableBodyPointer'](_0x404a55,_0x5dc884,_0x4d3b6b,_0x5ad62b,_0x4e6a23,_0x93bb81);}[_0x3cd2e0(0x65b)](_0x4cb7a2,_0x2a2413,_0x1a0501,_0x51e4b9,_0x139ca4,_0x4d473e){const _0x42634f=_0x3cd2e0;var _0x3ca767,_0x21175d;if(this[_0x42634f(0x217)]==='table'){this[_0x42634f(0x68f)](_0x4cb7a2,_0x1a0501,_0x51e4b9,_0x139ca4,_0x4d473e);return;}_0x139ca4[_0x42634f(0x18f)](),_0x139ca4[_0x42634f(0x2f9)]=!0x0,(_0x3ca767=_0x51e4b9['stopPropagation'])==null||_0x3ca767[_0x42634f(0x5cd)](_0x51e4b9),(_0x21175d=_0x51e4b9[_0x42634f(0x2ac)])==null||_0x21175d['call'](_0x51e4b9),this['_hideContextMenu'](),this['_editorUIService'][_0x42634f(0x4b8)](),this['_selectResolvedCell'](_0x4cb7a2,_0x1a0501,_0x4d473e),this[_0x42634f(0x679)]={'drawing':_0x4cb7a2,'objectKey':_0x2a2413,'object':_0x1a0501,'table':_0x4d473e[_0x42634f(0x38a)],'anchor':{'row':_0x4d473e[_0x42634f(0x3a3)],'column':_0x4d473e[_0x42634f(0x6ad)]},'current':{'row':_0x4d473e[_0x42634f(0x3a3)],'column':_0x4d473e[_0x42634f(0x6ad)]}},this[_0x42634f(0x676)]();}[_0x3cd2e0(0x28d)](_0x13bd29,_0x17b99b,_0x4c531c,_0x4db81e,_0x4d2eb9){const _0x2fe7cf=_0x3cd2e0;var _0x4a033b,_0x74bbd6;if((_0x4db81e[_0x2fe7cf(0x251)]??0x0)!==0x0||this['_isTableTextEditing']())return!0x1;let _0x3dee53=_0x13bd29['element'][_0x2fe7cf(0x278)]===_0x5ddaa8[_0x2fe7cf(0x230)]?this[_0x2fe7cf(0x1c9)][_0x2fe7cf(0x6c1)](_0x13bd29[_0x2fe7cf(0x264)],_0x13bd29['element'][_0x2fe7cf(0x37b)]):null;return _0x3dee53?(_0x4d2eb9[_0x2fe7cf(0x18f)](),_0x4d2eb9[_0x2fe7cf(0x2f9)]=!0x0,(_0x4a033b=_0x4db81e[_0x2fe7cf(0x2ac)])==null||_0x4a033b['call'](_0x4db81e),(_0x74bbd6=_0x4db81e[_0x2fe7cf(0x18f)])==null||_0x74bbd6[_0x2fe7cf(0x5cd)](_0x4db81e),this['_hideContextMenu'](),this['_rangeDragContext']={'drawing':_0x13bd29,'objectKey':_0x17b99b[_0x2fe7cf(0x62a)],'object':_0x17b99b,'table':_0x3dee53,'anchor':_0x4c531c,'current':_0x4c531c},this[_0x2fe7cf(0x676)](),!0x0):!0x1;}['_handleTextEditingCellPointerDown'](_0x1bc75c,_0x1859e2,_0x1bf7c2,_0x484ec0,_0x20d049){const _0xb1f70f=_0x3cd2e0;var _0x2a12f8,_0x365a2d;if((_0x484ec0['button']??0x0)!==0x0||!this[_0xb1f70f(0x652)]()||!this[_0xb1f70f(0x2c9)](_0x1bc75c)||_0x1bc75c['element'][_0xb1f70f(0x278)]!==_0x5ddaa8[_0xb1f70f(0x230)])return!0x1;let _0x40bfa1=this[_0xb1f70f(0x2e9)](_0x484ec0[_0xb1f70f(0x4d4)],_0x484ec0['offsetY']),_0x416252=this['_resolveCellHit'](_0x1bc75c,_0x1859e2,_0x40bfa1['x'],_0x40bfa1['y']);if(!_0x416252)return!0x1;_0x20d049[_0xb1f70f(0x18f)](),_0x20d049['skipNextObservers']=!0x0,this['_hideContextMenu']();let _0x1fe0d4=this[_0xb1f70f(0x4f7)][_0xb1f70f(0x5b1)]();return(_0x1fe0d4==null?void 0x0:_0x1fe0d4['kind'])===_0xb1f70f(0x45d)&&((_0x2a12f8=_0x1fe0d4[_0xb1f70f(0x640)])==null?void 0x0:_0x2a12f8[_0xb1f70f(0x3a3)])===_0x416252[_0xb1f70f(0x3a3)]&&_0x1fe0d4[_0xb1f70f(0x640)]['column']===_0x416252[_0xb1f70f(0x6ad)]||((_0x365a2d=_0x1bf7c2[_0xb1f70f(0x6b9)])==null||_0x365a2d[_0xb1f70f(0x5cd)](_0x1bf7c2,null),this['_openCellEditor'](_0x1bc75c,_0x416252,{'handoffCurrent':!0x0}),!0x0);}[_0x3cd2e0(0x320)](_0xb7f4bb,_0x285459,_0x5915b7,_0x213198,_0x524bee,_0x15d4ef){const _0x2dd417=_0x3cd2e0;var _0x27f2e0,_0x230ef6;if((_0x213198[_0x2dd417(0x251)]??0x0)!==0x0||this[_0x2dd417(0x652)]()||_0xb7f4bb['element']['type']!==_0x5ddaa8[_0x2dd417(0x230)])return!0x1;let _0x388c11=this['_resolvePointerScenePoint'](_0x213198),_0x36ce42=_0x15d4ef??this[_0x2dd417(0x4c8)](_0xb7f4bb,_0x5915b7,_0x388c11['x'],_0x388c11['y']);if(!_0x36ce42)return!0x1;if($l(_0x36ce42)){var _0x418199,_0x1e6be1;return _0x524bee[_0x2dd417(0x18f)](),_0x524bee[_0x2dd417(0x2f9)]=!0x0,(_0x418199=_0x213198[_0x2dd417(0x18f)])==null||_0x418199['call'](_0x213198),(_0x1e6be1=_0x213198[_0x2dd417(0x2ac)])==null||_0x1e6be1[_0x2dd417(0x5cd)](_0x213198),this[_0x2dd417(0x37e)](),this['_editorUIService']['complete'](),this[_0x2dd417(0x29a)]={'unitId':_0xb7f4bb[_0x2dd417(0x264)],'subUnitId':_0xb7f4bb[_0x2dd417(0x602)],'elementId':_0xb7f4bb[_0x2dd417(0x193)]},this[_0x2dd417(0x5d8)](_0xb7f4bb,_0x5915b7,_0x36ce42,_0x388c11);}return this['_isTableDrawingActive'](_0xb7f4bb)?(_0x524bee['stopPropagation'](),_0x524bee[_0x2dd417(0x2f9)]=!0x0,(_0x27f2e0=_0x213198[_0x2dd417(0x18f)])==null||_0x27f2e0['call'](_0x213198),(_0x230ef6=_0x213198['preventDefault'])==null||_0x230ef6[_0x2dd417(0x5cd)](_0x213198),this[_0x2dd417(0x37e)](),this[_0x2dd417(0x1c3)]['complete'](),_0x36ce42[_0x2dd417(0x1b6)]===_0x2dd417(0x3de)||_0x36ce42[_0x2dd417(0x1b6)]===_0x2dd417(0x2f1)?(this[_0x2dd417(0x4a9)](_0xb7f4bb,_0x5915b7,_0x36ce42,_0x388c11),!0x0):_0x36ce42['kind']===_0x2dd417(0x40f)&&(this[_0x2dd417(0x280)](_0xb7f4bb,_0x5915b7,_0x213198),!0x0)):!0x1;}[_0x3cd2e0(0x6a2)](_0xe98318,_0x3fad72,_0x241e54,_0xe7cc9e,_0x5b5272){const _0x242b87=_0x3cd2e0;if(!this['_isTableDrawingActive'](_0xe98318)||_0xe98318[_0x242b87(0x1f0)]['type']!==_0x5ddaa8[_0x242b87(0x230)])return!0x1;let _0x5c984b=this[_0x242b87(0x1f2)](_0xe7cc9e),_0xdf513=this[_0x242b87(0x509)](_0xe98318,_0x3fad72,_0x5c984b['x'],_0x5c984b['y']);return _0xdf513?(_0x5b5272['stopPropagation'](),_0x5b5272[_0x242b87(0x2f9)]=!0x0,this[_0x242b87(0x37e)](),this[_0x242b87(0x1c3)][_0x242b87(0x4b8)](),this['_selectResolvedCell'](_0xe98318,_0x241e54,_0xdf513),this[_0x242b87(0x56f)](_0xe7cc9e,_0x242b87(0x4e6)),!0x0):!0x1;}[_0x3cd2e0(0x3b9)](_0x51dc15,_0xc415f,_0x30d73c,_0xcb8b4d,_0x261cb7){const _0x262efd=_0x3cd2e0;var _0x12020c;if((_0xcb8b4d[_0x262efd(0x251)]??0x0)!==0x0||this['_isTableTextEditing']()||!this[_0x262efd(0x2c9)](_0x51dc15))return!0x1;let _0x366ded=this[_0x262efd(0x2e9)](_0xcb8b4d['offsetX'],_0xcb8b4d[_0x262efd(0x236)]),_0x188338=this[_0x262efd(0x520)](_0x51dc15,_0x30d73c,_0x366ded['x'],_0x366ded['y']);if(!_0x188338||_0x51dc15['element']['type']!==_0x5ddaa8[_0x262efd(0x230)])return!0x1;_0x261cb7['stopPropagation'](),_0x261cb7[_0x262efd(0x2f9)]=!0x0,this['_hideContextMenu'](),this['_editorUIService'][_0x262efd(0x4b8)](),this[_0x262efd(0x5a5)](_0x30d73c,_0x188338),(_0x12020c=this['_resizeDragListeners'])==null||_0x12020c['dispose'](),this[_0x262efd(0x5d4)]={'unitId':_0x51dc15[_0x262efd(0x264)],'tableId':_0x51dc15['element'][_0x262efd(0x37b)],'object':_0x30d73c,'table':_0x188338['table'],'handle':_0x188338[_0x262efd(0x612)],'startPoint':_0x188338[_0x262efd(0x225)],'pendingTable':_0x188338['table']},this[_0x262efd(0x1e7)](_0x188338[_0x262efd(0x612)][_0x262efd(0x338)]);let _0x2b5b06=this['_renderContext'][_0x262efd(0x370)],_0x570f69=new _0x7b6e49();return this['_resizeDragListeners']=_0x570f69,_0x2b5b06[_0x262efd(0x4c9)](),_0x570f69[_0x262efd(0x180)](_0x5386fa(()=>{const _0x5786dd=_0x262efd;var _0x2e81e7,_0x197d14,_0x4ab638;_0x2b5b06[_0x5786dd(0x6df)](),this['_clearResizeBoundary'](_0x30d73c),(_0x2e81e7=this[_0x5786dd(0x5d4)])==null||(_0x4ab638=(_0x197d14=_0x2e81e7[_0x5786dd(0x3d7)])[_0x5786dd(0x583)])==null||_0x4ab638[_0x5786dd(0x5cd)](_0x197d14,null),this[_0x5786dd(0x5d4)]=null,this['_resetResizeCursor']();})),_0x570f69[_0x262efd(0x180)](_0x2b5b06[_0x262efd(0x21e)]['subscribeEvent'](_0x2b0711=>this[_0x262efd(0x6c2)](_0x2b0711))),_0x570f69[_0x262efd(0x180)](_0x2b5b06[_0x262efd(0x27b)]['subscribeEvent'](_0x9c9349=>{const _0x10d20c=_0x262efd;this[_0x10d20c(0x50b)](_0x9c9349),_0x570f69['dispose']();})),_0x570f69[_0x262efd(0x180)](_0x2b5b06[_0x262efd(0x494)][_0x262efd(0x40b)](()=>_0x570f69[_0x262efd(0x362)]())),!0x0;}[_0x3cd2e0(0x520)](_0x2985d2,_0x357b66,_0x2528c4,_0x1f169d){const _0x21ffe1=_0x3cd2e0;var _0x10ed37;if(_0x2985d2[_0x21ffe1(0x264)]!==this['_renderContext'][_0x21ffe1(0x264)]||_0x2985d2[_0x21ffe1(0x1f0)][_0x21ffe1(0x278)]!==_0x5ddaa8[_0x21ffe1(0x230)]||!this[_0x21ffe1(0x2c9)](_0x2985d2)||_0x2985d2[_0x21ffe1(0x2c4)]||_0x357b66['isInGroup'])return null;let _0x469e42=this[_0x21ffe1(0x1c9)][_0x21ffe1(0x6c1)](_0x2985d2[_0x21ffe1(0x264)],_0x2985d2['element'][_0x21ffe1(0x37b)]);if(!_0x469e42)return null;let _0x23ad61=((_0x10ed37=_0x357b66[_0x21ffe1(0x3ba)])==null?void 0x0:_0x10ed37['call'](_0x357b66))??_0x469e42,_0x40c608=this[_0x21ffe1(0x539)](_0x357b66,_0x2528c4,_0x1f169d),_0x1b678e=this[_0x21ffe1(0x599)](_0x23ad61,_0x357b66,_0x2528c4,_0x1f169d);return _0x1b678e?{'table':_0x23ad61,'handle':_0x1b678e,'point':_0x40c608}:null;}[_0x3cd2e0(0x539)](_0x1e431d,_0x32df4a,_0x47538e){let _0x28c77d=_0x1e431d['getInverseCoord'](new _0x107851(_0x32df4a,_0x47538e));return{'x':_0x28c77d['x']+_0x1e431d['width']/0x2,'y':_0x28c77d['y']+_0x1e431d['height']/0x2};}['_resolveTableControlHit'](_0x5ab39d,_0x59809d,_0x3af615,_0x28af70){const _0x497448=_0x3cd2e0;if(_0x5ab39d[_0x497448(0x1f0)]['type']!==_0x5ddaa8[_0x497448(0x230)])return null;let _0x4bfa97=this[_0x497448(0x1c9)]['getTable'](_0x5ab39d['unitId'],_0x5ab39d[_0x497448(0x1f0)][_0x497448(0x37b)]);if(!_0x4bfa97)return null;let _0x3330c7=this['_resolveObjectPoint'](_0x59809d,_0x3af615,_0x28af70),_0x310c8b=this['_resolveTableTriggerHit'](_0x4bfa97,_0x59809d,_0x3330c7['x'],_0x3330c7['y']);if(_0x310c8b&&(_0x310c8b[_0x497448(0x1b6)]==='table-handle'||_0x310c8b['kind']==='row-header'||_0x310c8b['kind']==='column-header'||_0x310c8b[_0x497448(0x1b6)]==='row-insert-dot'||_0x310c8b[_0x497448(0x1b6)]===_0x497448(0x4ca)))return _0x310c8b;let _0x48ed98=_0x1301e2(_0x237cc5(_0x4bfa97),_0x59809d['width'],_0x59809d['height'])[_0x497448(0x22b)](_0xbfd3e9=>_0xbfd3e9[_0x497448(0x1b6)]===_0x497448(0x40f));return _0x145d5b(_0x48ed98,_0x3330c7['x'],_0x3330c7['y']);}[_0x3cd2e0(0x192)](_0x34e228){const _0x47ee60=_0x3cd2e0;if(this[_0x47ee60(0x652)]()){this['_clearTableControlHover']();return;}let _0x5468f6=this[_0x47ee60(0x1f2)](_0x34e228),_0x4656fa=this[_0x47ee60(0x2e1)](_0x5468f6);if(_0x4656fa){this[_0x47ee60(0x49d)](_0x4656fa[_0x47ee60(0x3d7)]),this['_structuralInsertHoverObject']=_0x4656fa['object'],this[_0x47ee60(0x4ab)](_0x4656fa[_0x47ee60(0x3d7)],_0x4656fa[_0x47ee60(0x35b)]),this['_setTableControlHover'](_0x4656fa['object'],null),this[_0x47ee60(0x327)](_0x4656fa[_0x47ee60(0x3d7)],null);return;}let _0x54642a=this[_0x47ee60(0x1ec)]();if(!_0x54642a){this[_0x47ee60(0x647)]();return;}this[_0x47ee60(0x49d)](_0x54642a[_0x47ee60(0x3d7)]);let _0x3dc15d=this[_0x47ee60(0x4c8)](_0x54642a['drawing'],_0x54642a[_0x47ee60(0x3d7)],_0x5468f6['x'],_0x5468f6['y']),_0x1133a2=_0x3dc15d&&(_0x3dc15d[_0x47ee60(0x1b6)]===_0x47ee60(0x3de)||_0x3dc15d[_0x47ee60(0x1b6)]===_0x47ee60(0x2f1)||_0x3dc15d[_0x47ee60(0x1b6)]===_0x47ee60(0x428)||_0x3dc15d[_0x47ee60(0x1b6)]==='column-insert-dot')?_0x3dc15d:null;this[_0x47ee60(0x4ab)](_0x54642a['object'],_0x1133a2),this['_setTableControlHover'](_0x54642a[_0x47ee60(0x3d7)],(_0x3dc15d==null?void 0x0:_0x3dc15d[_0x47ee60(0x1b6)])==='table-handle'?{'kind':'table-handle'}:null),this[_0x47ee60(0x48b)](_0x54642a['drawing'],_0x54642a[_0x47ee60(0x3d7)],_0x5468f6['x'],_0x5468f6['y'],!!_0x3dc15d);}[_0x3cd2e0(0x647)](){const _0x611ab8=_0x3cd2e0;this[_0x611ab8(0x3b1)](!0x1);let _0x3db076=this[_0x611ab8(0x1ec)]();this[_0x611ab8(0x49d)]((_0x3db076==null?void 0x0:_0x3db076[_0x611ab8(0x3d7)])??null),_0x3db076&&(this[_0x611ab8(0x3fd)]=null,this[_0x611ab8(0x32a)](_0x3db076[_0x611ab8(0x3d7)],null),this[_0x611ab8(0x2e2)](_0x3db076[_0x611ab8(0x3d7)],null),this[_0x611ab8(0x327)](_0x3db076[_0x611ab8(0x3d7)],null));}['_clearStructuralInsertHoverObject'](_0x5a4c7a=null){const _0x1bbbb0=_0x3cd2e0;let _0x750c07=this[_0x1bbbb0(0x5c6)];_0x750c07&&(this['_structuralInsertHoverObject']=null,_0x750c07!==_0x5a4c7a&&(this[_0x1bbbb0(0x3fd)]=null,this[_0x1bbbb0(0x32a)](_0x750c07,null),this['_setTableControlHover'](_0x750c07,null),this['_setTableCellHover'](_0x750c07,null)));}[_0x3cd2e0(0x2e2)](_0x536b79,_0x104eb2){const _0x329ab9=_0x3cd2e0;var _0x3cdc2a;if((_0x3cdc2a=_0x536b79['setTableControlHover'])!=null&&_0x3cdc2a[_0x329ab9(0x5cd)](_0x536b79,_0x104eb2)){var _0x3c6e6a,_0x4e7313;(_0x3c6e6a=(_0x4e7313=this[_0x329ab9(0x526)]['scene'])[_0x329ab9(0x6dc)])==null||_0x3c6e6a['call'](_0x4e7313,!0x0);}}[_0x3cd2e0(0x48b)](_0x2d127f,_0x20212,_0x1fdc12,_0x450a70,_0xe81b33){const _0x4f029c=_0x3cd2e0;if(_0xe81b33||!this[_0x4f029c(0x217)]){this[_0x4f029c(0x327)](_0x20212,null);return;}let _0x1ea814=this[_0x4f029c(0x509)](_0x2d127f,_0x452a45(_0x2d127f[_0x4f029c(0x264)],_0x2d127f[_0x4f029c(0x602)],_0x2d127f[_0x4f029c(0x193)]),_0x1fdc12,_0x450a70);this['_setTableCellHover']((_0x1ea814==null?void 0x0:_0x1ea814[_0x4f029c(0x3d7)])??_0x20212,_0x1ea814?{'row':_0x1ea814[_0x4f029c(0x6cc)][_0x4f029c(0x3a3)],'column':_0x1ea814[_0x4f029c(0x6cc)][_0x4f029c(0x6ad)]}:null);}[_0x3cd2e0(0x327)](_0x15a111,_0x564e38){const _0x59ba4b=_0x3cd2e0;var _0x40cfc3;if((_0x40cfc3=_0x15a111[_0x59ba4b(0x3eb)])!=null&&_0x40cfc3[_0x59ba4b(0x5cd)](_0x15a111,_0x564e38)){var _0x7ec6ad,_0x5d7ff3;(_0x7ec6ad=(_0x5d7ff3=this[_0x59ba4b(0x526)]['scene'])['makeDirty'])==null||_0x7ec6ad[_0x59ba4b(0x5cd)](_0x5d7ff3,!0x0);}}[_0x3cd2e0(0x511)](_0x5f0ab4,_0x39b07c){const _0x27c8f7=_0x3cd2e0;var _0x25d5b9,_0x30fb98,_0x281915;let _0x500b83=((_0x25d5b9=_0x39b07c[_0x27c8f7(0x3ba)])==null?void 0x0:_0x25d5b9[_0x27c8f7(0x5cd)](_0x39b07c))??_0x5f0ab4,_0x287b38=_0x237cc5(_0x500b83),_0x257a3b=(_0x30fb98=(_0x281915=this[_0x27c8f7(0x526)]['scene'])['getAncestorScale'])==null?void 0x0:_0x30fb98[_0x27c8f7(0x5cd)](_0x281915),_0x5e59df=du((_0x257a3b==null?void 0x0:_0x257a3b['scaleX'])??(_0x257a3b==null?void 0x0:_0x257a3b[_0x27c8f7(0x489)]),0x1);return _0x340c54({'tableId':_0x5f0ab4['id'],'tableWidth':_0x39b07c[_0x27c8f7(0x172)],'tableHeight':_0x39b07c['height'],'rowHeights':mu(_0x500b83[_0x27c8f7(0x400)][_0x27c8f7(0x37f)](_0x1528dd=>_0x1528dd[_0x27c8f7(0x276)]??0x18),_0x39b07c['height']),'columnWidths':mu(_0x500b83[_0x27c8f7(0x581)][_0x27c8f7(0x37f)](_0x4ad5f3=>_0x4ad5f3[_0x27c8f7(0x172)]),_0x39b07c[_0x27c8f7(0x172)]),'mergedCells':_0x287b38[_0x27c8f7(0x329)]['filter'](_0x410692=>!_0x410692['hidden']&&(_0x410692[_0x27c8f7(0x5c0)]>0x1||_0x410692[_0x27c8f7(0x457)]>0x1))[_0x27c8f7(0x37f)](_0x51db04=>({'startRow':_0x51db04[_0x27c8f7(0x3a3)],'endRow':_0x51db04['row']+_0x51db04['rowSpan']-0x1,'startColumn':_0x51db04['column'],'endColumn':_0x51db04[_0x27c8f7(0x6ad)]+_0x51db04[_0x27c8f7(0x457)]-0x1})),'zoom':_0x5e59df});}[_0x3cd2e0(0x51a)](_0x1321e2,_0x4330a4,_0x1681f9,_0x316599){const _0x3d6193=_0x3cd2e0;return _0x3cc087(this[_0x3d6193(0x511)](_0x1321e2,_0x4330a4),_0x1681f9,_0x316599);}[_0x3cd2e0(0x4ab)](_0x3f9c7b,_0x21b7a7){const _0x469b59=_0x3cd2e0;let _0x189793=_0x21b7a7&&(_0x21b7a7[_0x469b59(0x1b6)]===_0x469b59(0x3de)||_0x21b7a7['kind']===_0x469b59(0x2f1)||_0x21b7a7['kind']===_0x469b59(0x428)||_0x21b7a7[_0x469b59(0x1b6)]===_0x469b59(0x4ca))?_0x21b7a7:null;this[_0x469b59(0x3fd)]=_0x189793;let _0x430278=_0x189793?ru(_0x189793):null,_0x15bc5b=(_0x189793==null?void 0x0:_0x189793['kind'])==='row-insert-dot'&&_0x430278!==null?{'kind':_0x469b59(0x3a3),'index':_0x430278}:(_0x189793==null?void 0x0:_0x189793[_0x469b59(0x1b6)])===_0x469b59(0x4ca)&&_0x430278!==null?{'kind':'column','index':_0x430278}:null,_0x11eaf2=this[_0x469b59(0x1ee)]?{'kind':this[_0x469b59(0x1ee)][_0x469b59(0x1b6)],'start':Math[_0x469b59(0x61f)](this[_0x469b59(0x1ee)][_0x469b59(0x352)],this[_0x469b59(0x1ee)]['current']),'end':Math[_0x469b59(0x379)](this['_headerSelectionDragState'][_0x469b59(0x352)],this['_headerSelectionDragState']['current'])}:null,_0x1b27c3=this['_rowColumnMoveTarget']?{'kind':this[_0x469b59(0x3a1)]['kind'],'index':this[_0x469b59(0x3a1)][_0x469b59(0x6d7)]}:null,_0x2cd7fb=!!_0x189793||!!_0x11eaf2||!!_0x15bc5b||!!_0x1b27c3;this[_0x469b59(0x32a)](_0x3f9c7b,_0x2cd7fb?{'visible':!0x0,'hoveredTrigger':_0x189793,'selectedStructuralRange':_0x11eaf2,'insertGuide':_0x15bc5b,'reorderGuide':_0x1b27c3}:null),this['_setStructuralCursor'](!!_0x189793);}[_0x3cd2e0(0x3b1)](_0x3a4f06){const _0x115f63=_0x3cd2e0;let _0x2c749c=this[_0x115f63(0x526)][_0x115f63(0x370)];if(_0x3a4f06){this[_0x115f63(0x5ed)]=!0x0,_0x2c749c['setCursor'](_0x10e061[_0x115f63(0x227)]);return;}this[_0x115f63(0x5ed)]&&(this[_0x115f63(0x5ed)]=!0x1,!this['_resizeHoverActive']&&_0x2c749c['getCursor']()===_0x10e061[_0x115f63(0x227)]&&_0x2c749c['resetCursor']());}[_0x3cd2e0(0x32a)](_0x36294b,_0x1f9b98){const _0x17818b=_0x3cd2e0;var _0x5eaba7;if((_0x5eaba7=_0x36294b['setTableControlState'])!=null&&_0x5eaba7['call'](_0x36294b,_0x1f9b98)){var _0x17660a,_0x565128;(_0x17660a=(_0x565128=this[_0x17818b(0x526)][_0x17818b(0x370)])['makeDirty'])==null||_0x17660a[_0x17818b(0x5cd)](_0x565128,!0x0);}}['_handleStructuralHeaderPointerDown'](_0x561421,_0x23a55a,_0x19d14c,_0x11aa9c){const _0x324472=_0x3cd2e0;var _0x2ea816;if(this[_0x324472(0x455)](),_0x19d14c[_0x324472(0x1b6)]===_0x324472(0x3de)&&_0x19d14c[_0x324472(0x3a3)]!==void 0x0){let _0x3e4f4a=this[_0x324472(0x411)](_0x561421,'row',_0x19d14c[_0x324472(0x3a3)]);_0x3e4f4a?this['_pendingHeaderSelection']={'drawing':_0x561421,'object':_0x23a55a,'kind':_0x324472(0x3a3),'start':_0x3e4f4a[_0x324472(0x35f)],'end':_0x3e4f4a[_0x324472(0x488)],'startPoint':_0x11aa9c}:(this['_selectRows'](_0x561421,_0x23a55a,_0x19d14c[_0x324472(0x3a3)],_0x19d14c[_0x324472(0x3a3)]),this[_0x324472(0x1ee)]={'drawing':_0x561421,'object':_0x23a55a,'kind':'row','anchor':_0x19d14c['row'],'current':_0x19d14c[_0x324472(0x3a3)]});}else{if(_0x19d14c['kind']===_0x324472(0x2f1)&&_0x19d14c[_0x324472(0x6ad)]!==void 0x0){let _0x5d8afc=this['_getSelectedHeaderRange'](_0x561421,'column',_0x19d14c[_0x324472(0x6ad)]);_0x5d8afc?this[_0x324472(0x614)]={'drawing':_0x561421,'object':_0x23a55a,'kind':_0x324472(0x6ad),'start':_0x5d8afc[_0x324472(0x35f)],'end':_0x5d8afc[_0x324472(0x488)],'startPoint':_0x11aa9c}:(this[_0x324472(0x204)](_0x561421,_0x23a55a,_0x19d14c['column'],_0x19d14c[_0x324472(0x6ad)]),this[_0x324472(0x1ee)]={'drawing':_0x561421,'object':_0x23a55a,'kind':'column','anchor':_0x19d14c[_0x324472(0x6ad)],'current':_0x19d14c[_0x324472(0x6ad)]});}else return;}this[_0x324472(0x32a)](_0x23a55a,{'visible':!0x0,'hoveredTrigger':_0x19d14c,'selectedStructuralRange':this[_0x324472(0x1ee)]?{'kind':this[_0x324472(0x1ee)][_0x324472(0x1b6)],'start':this[_0x324472(0x1ee)][_0x324472(0x352)],'end':this[_0x324472(0x1ee)][_0x324472(0x483)]}:this[_0x324472(0x614)]?{'kind':this[_0x324472(0x614)][_0x324472(0x1b6)],'start':this[_0x324472(0x614)]['start'],'end':this[_0x324472(0x614)][_0x324472(0x488)]}:null});let _0x26ad38=this[_0x324472(0x526)][_0x324472(0x370)];if(!_0x26ad38[_0x324472(0x21e)]||!_0x26ad38[_0x324472(0x27b)])return;(_0x2ea816=_0x26ad38[_0x324472(0x4c9)])==null||_0x2ea816['call'](_0x26ad38);let _0x1024ad=_0x26ad38[_0x324472(0x21e)][_0x324472(0x40b)](_0xe5821b=>this['_updateHeaderSelectionDrag'](_0xe5821b)),_0x193b54=_0x26ad38[_0x324472(0x27b)][_0x324472(0x40b)](()=>this[_0x324472(0x455)](_0x23a55a));this['_headerSelectionDragCleanup']=()=>{const _0x9d29e3=_0x324472;var _0x768b3d;_0x1024ad==null||_0x1024ad['unsubscribe'](),_0x193b54==null||_0x193b54[_0x9d29e3(0x33e)](),(_0x768b3d=_0x26ad38[_0x9d29e3(0x6df)])==null||_0x768b3d[_0x9d29e3(0x5cd)](_0x26ad38);},this[_0x324472(0x544)]({'dispose':()=>_0x1024ad[_0x324472(0x33e)]()}),this[_0x324472(0x544)]({'dispose':()=>_0x193b54[_0x324472(0x33e)]()});}['_finishHeaderSelectionDrag'](_0x31f767,_0x2b2ee6){const _0x45e7ca=_0x3cd2e0;var _0x894864,_0xae8555,_0x19b63d;let _0x17b57f=this[_0x45e7ca(0x6ee)];this[_0x45e7ca(0x6ee)]=null,_0x17b57f==null||_0x17b57f();let _0xe29ac5=_0x31f767??((_0x894864=this[_0x45e7ca(0x6b0)])==null?void 0x0:_0x894864[_0x45e7ca(0x3d7)])??((_0xae8555=this['_pendingHeaderSelection'])==null?void 0x0:_0xae8555[_0x45e7ca(0x3d7)])??((_0x19b63d=this['_headerSelectionDragState'])==null?void 0x0:_0x19b63d[_0x45e7ca(0x3d7)]);(_0x2b2ee6==null?void 0x0:_0x2b2ee6['commitMove'])!==!0x1&&this[_0x45e7ca(0x30b)](),this[_0x45e7ca(0x1ee)]=null,this[_0x45e7ca(0x614)]=null,this[_0x45e7ca(0x6b0)]=null,this[_0x45e7ca(0x3a1)]=null,_0xe29ac5&&this['_updateStructuralControlHover'](_0xe29ac5,this[_0x45e7ca(0x3fd)]);}[_0x3cd2e0(0x4b7)](_0x10e282){const _0x260dc0=_0x3cd2e0;let _0x18c6d0=this[_0x260dc0(0x614)],_0x46ef58=this[_0x260dc0(0x6b0)];if(_0x18c6d0||_0x46ef58){this[_0x260dc0(0x188)](_0x10e282);return;}let _0x2aee3f=this['_headerSelectionDragState'];if(!_0x2aee3f||_0x2aee3f[_0x260dc0(0x538)][_0x260dc0(0x1f0)][_0x260dc0(0x278)]!==_0x5ddaa8[_0x260dc0(0x230)])return;if(_0x260dc0(0x57f)in _0x10e282&&_0x10e282[_0x260dc0(0x57f)]!==void 0x0&&(_0x10e282[_0x260dc0(0x57f)]&0x1)!=0x1){this[_0x260dc0(0x455)](_0x2aee3f[_0x260dc0(0x3d7)]);return;}let _0x568a96=this['_tableResourceService'][_0x260dc0(0x6c1)](_0x2aee3f[_0x260dc0(0x538)][_0x260dc0(0x264)],_0x2aee3f[_0x260dc0(0x538)][_0x260dc0(0x1f0)]['tableId']);if(!_0x568a96)return;let _0x25739c=this['_resolvePointerScenePoint'](_0x10e282),_0x5497f6=this['_resolveObjectPoint'](_0x2aee3f[_0x260dc0(0x3d7)],_0x25739c['x'],_0x25739c['y']),_0x6386fa=_0x523671(this[_0x260dc0(0x511)](_0x568a96,_0x2aee3f['object']),_0x5497f6['x'],_0x5497f6['y']);if(_0x6386fa){if(_0x2aee3f[_0x260dc0(0x1b6)]===_0x260dc0(0x3a3)&&_0x6386fa[_0x260dc0(0x1b6)]===_0x260dc0(0x3de)&&_0x6386fa[_0x260dc0(0x3a3)]!==void 0x0)_0x2aee3f[_0x260dc0(0x483)]=_0x6386fa[_0x260dc0(0x3a3)],this[_0x260dc0(0x6c4)](_0x2aee3f[_0x260dc0(0x538)],_0x2aee3f[_0x260dc0(0x3d7)],_0x2aee3f[_0x260dc0(0x352)],_0x6386fa[_0x260dc0(0x3a3)]);else{if(_0x2aee3f[_0x260dc0(0x1b6)]===_0x260dc0(0x6ad)&&_0x6386fa[_0x260dc0(0x1b6)]===_0x260dc0(0x2f1)&&_0x6386fa[_0x260dc0(0x6ad)]!==void 0x0)_0x2aee3f[_0x260dc0(0x483)]=_0x6386fa[_0x260dc0(0x6ad)],this[_0x260dc0(0x204)](_0x2aee3f[_0x260dc0(0x538)],_0x2aee3f[_0x260dc0(0x3d7)],_0x2aee3f[_0x260dc0(0x352)],_0x6386fa['column']);else return;}this[_0x260dc0(0x32a)](_0x2aee3f[_0x260dc0(0x3d7)],{'visible':!0x0,'hoveredTrigger':_0x6386fa,'selectedStructuralRange':{'kind':_0x2aee3f['kind'],'start':Math[_0x260dc0(0x61f)](_0x2aee3f[_0x260dc0(0x352)],_0x2aee3f['current']),'end':Math[_0x260dc0(0x379)](_0x2aee3f[_0x260dc0(0x352)],_0x2aee3f[_0x260dc0(0x483)])}});}}['_updateRowColumnMoveDrag'](_0x5a13f6){const _0x52c086=_0x3cd2e0;let _0x1e722d=this[_0x52c086(0x614)],_0x2e8054=this[_0x52c086(0x6b0)],_0x2f5e05=_0x2e8054??_0x1e722d;if(!_0x2f5e05||_0x2f5e05[_0x52c086(0x538)]['element'][_0x52c086(0x278)]!==_0x5ddaa8[_0x52c086(0x230)])return;if('buttons'in _0x5a13f6&&_0x5a13f6[_0x52c086(0x57f)]!==void 0x0&&(_0x5a13f6[_0x52c086(0x57f)]&0x1)!=0x1){this[_0x52c086(0x455)](_0x2f5e05[_0x52c086(0x3d7)],{'commitMove':!0x1});return;}let _0x4cdb75=this[_0x52c086(0x1f2)](_0x5a13f6);if(!_0x2e8054&&_0x1e722d){let _0x5e0636=_0x4cdb75['x']-_0x1e722d[_0x52c086(0x64f)]['x'],_0x562f6e=_0x4cdb75['y']-_0x1e722d[_0x52c086(0x64f)]['y'];if(Math[_0x52c086(0x611)](_0x5e0636,_0x562f6e)<0x8)return;this[_0x52c086(0x6b0)]={'drawing':_0x1e722d[_0x52c086(0x538)],'object':_0x1e722d['object'],'kind':_0x1e722d['kind'],'start':_0x1e722d['start'],'end':_0x1e722d['end']},this[_0x52c086(0x614)]=null;}let _0x58c67e=this[_0x52c086(0x6b0)];if(!_0x58c67e||_0x58c67e[_0x52c086(0x538)][_0x52c086(0x1f0)][_0x52c086(0x278)]!==_0x5ddaa8[_0x52c086(0x230)])return;let _0x401ded=this['_tableResourceService'][_0x52c086(0x6c1)](_0x58c67e[_0x52c086(0x538)]['unitId'],_0x58c67e[_0x52c086(0x538)]['element']['tableId']);if(!_0x401ded){this[_0x52c086(0x3a1)]=null,this[_0x52c086(0x32a)](_0x58c67e[_0x52c086(0x3d7)],null);return;}let _0x2fc28f=this[_0x52c086(0x2dc)](_0x401ded,_0x58c67e[_0x52c086(0x3d7)],_0x58c67e[_0x52c086(0x1b6)],_0x4cdb75),_0x44cfca=!!_0x2fc28f&&(_0x2fc28f['kind']===_0x52c086(0x3a3)?_0x3f2dbc(_0x401ded,{'startRow':_0x58c67e[_0x52c086(0x35f)],'endRow':_0x58c67e['end']},{'row':_0x2fc28f[_0x52c086(0x667)],'position':_0x2fc28f[_0x52c086(0x4dc)]}):_0xc7decd(_0x401ded,{'startColumn':_0x58c67e['start'],'endColumn':_0x58c67e[_0x52c086(0x488)]},{'column':_0x2fc28f[_0x52c086(0x350)],'position':_0x2fc28f[_0x52c086(0x4dc)]}));this[_0x52c086(0x3a1)]=_0x44cfca?_0x2fc28f:null,this[_0x52c086(0x32a)](_0x58c67e[_0x52c086(0x3d7)],_0x44cfca&&_0x2fc28f?{'visible':!0x0,'selectedStructuralRange':{'kind':_0x58c67e['kind'],'start':_0x58c67e[_0x52c086(0x35f)],'end':_0x58c67e['end']},'reorderGuide':{'kind':_0x2fc28f['kind'],'index':_0x2fc28f['guideIndex']}}:null);}[_0x3cd2e0(0x30b)](){const _0x470cd4=_0x3cd2e0;let _0x55d214=this[_0x470cd4(0x6b0)],_0x2d7f65=this[_0x470cd4(0x3a1)];_0x55d214&&_0x2d7f65&&_0x55d214[_0x470cd4(0x538)][_0x470cd4(0x1f0)]['type']===_0x5ddaa8[_0x470cd4(0x230)]&&(_0x55d214[_0x470cd4(0x1b6)]===_0x470cd4(0x3a3)&&_0x2d7f65[_0x470cd4(0x1b6)]==='row'?this['_commandService'][_0x470cd4(0x6af)](_0x580314['id'],{'unitId':_0x55d214['drawing'][_0x470cd4(0x264)],'tableId':_0x55d214['drawing']['element'][_0x470cd4(0x37b)],'startRow':_0x55d214[_0x470cd4(0x35f)],'endRow':_0x55d214[_0x470cd4(0x488)],'targetRow':_0x2d7f65[_0x470cd4(0x667)],'position':_0x2d7f65['position']}):_0x55d214[_0x470cd4(0x1b6)]===_0x470cd4(0x6ad)&&_0x2d7f65[_0x470cd4(0x1b6)]===_0x470cd4(0x6ad)&&this[_0x470cd4(0x263)]['executeCommand'](_0x5b861b['id'],{'unitId':_0x55d214['drawing'][_0x470cd4(0x264)],'tableId':_0x55d214[_0x470cd4(0x538)][_0x470cd4(0x1f0)]['tableId'],'startColumn':_0x55d214[_0x470cd4(0x35f)],'endColumn':_0x55d214[_0x470cd4(0x488)],'targetColumn':_0x2d7f65[_0x470cd4(0x350)],'position':_0x2d7f65['position']}));}[_0x3cd2e0(0x411)](_0x7418d,_0x555d2b,_0x5e7009){const _0x55bc49=_0x3cd2e0;if(_0x7418d[_0x55bc49(0x1f0)]['type']!==_0x5ddaa8['Table'])return null;let _0x30b180=this[_0x55bc49(0x4f7)][_0x55bc49(0x5b1)]();if(!_0x30b180||_0x30b180[_0x55bc49(0x1b6)]!==_0x555d2b||_0x30b180[_0x55bc49(0x264)]!==_0x7418d['unitId']||_0x30b180[_0x55bc49(0x602)]!==_0x7418d[_0x55bc49(0x602)]||_0x30b180[_0x55bc49(0x6ec)]!==_0x7418d[_0x55bc49(0x193)]||_0x30b180[_0x55bc49(0x37b)]!==_0x7418d[_0x55bc49(0x1f0)]['tableId'])return null;for(let _0x564b39 of _0x30b180[_0x55bc49(0x289)]){let _0x13b91f=_0x555d2b===_0x55bc49(0x3a3)?Math[_0x55bc49(0x61f)](_0x564b39[_0x55bc49(0x290)],_0x564b39[_0x55bc49(0x616)]):Math['min'](_0x564b39[_0x55bc49(0x4dd)],_0x564b39[_0x55bc49(0x655)]),_0x5b9ef5=_0x555d2b===_0x55bc49(0x3a3)?Math[_0x55bc49(0x379)](_0x564b39['startRow'],_0x564b39[_0x55bc49(0x616)]):Math[_0x55bc49(0x379)](_0x564b39[_0x55bc49(0x4dd)],_0x564b39['endColumn']);if(_0x5e7009>=_0x13b91f&&_0x5e7009<=_0x5b9ef5)return{'start':_0x13b91f,'end':_0x5b9ef5};}return null;}['_resolveRowColumnMoveTarget'](_0xaf457a,_0x103eaa,_0x22169b,_0x53e6fa){const _0x31f0af=_0x3cd2e0;var _0x5d2ce9;let _0x207341=((_0x5d2ce9=_0x103eaa[_0x31f0af(0x3ba)])==null?void 0x0:_0x5d2ce9[_0x31f0af(0x5cd)](_0x103eaa))??_0xaf457a,_0x3e350c=this[_0x31f0af(0x539)](_0x103eaa,_0x53e6fa['x'],_0x53e6fa['y']),_0x5bbf34=_0x22169b===_0x31f0af(0x3a3)?mu(_0x207341[_0x31f0af(0x400)][_0x31f0af(0x37f)](_0x41cf71=>_0x41cf71[_0x31f0af(0x276)]??0x18),_0x103eaa[_0x31f0af(0x276)]):mu(_0x207341[_0x31f0af(0x581)][_0x31f0af(0x37f)](_0x332317=>_0x332317[_0x31f0af(0x172)]),_0x103eaa[_0x31f0af(0x172)]);if(_0x5bbf34['length']===0x0)return null;let _0x58e9e5=hu(_0x5bbf34,_0x22169b==='row'?_0x3e350c['y']:_0x3e350c['x']),_0x43e6a8=_0x58e9e5<=0x0?0x0:_0x58e9e5>=_0x5bbf34[_0x31f0af(0x567)]?_0x5bbf34[_0x31f0af(0x567)]-0x1:_0x58e9e5,_0x5e5d15=_0x58e9e5<=0x0?_0x31f0af(0x4ec):_0x58e9e5>=_0x5bbf34[_0x31f0af(0x567)]?_0x31f0af(0x266):_0x31f0af(0x4ec);return _0x22169b===_0x31f0af(0x3a3)?{'kind':_0x22169b,'targetRow':_0x43e6a8,'position':_0x5e5d15,'guideIndex':_0x58e9e5}:{'kind':_0x22169b,'targetColumn':_0x43e6a8,'position':_0x5e5d15,'guideIndex':_0x58e9e5};}['_handleStructuralInsertTrigger'](_0x2dbd28,_0x4c3335,_0xbdd38,_0x2ced5a){const _0x2792e9=_0x3cd2e0;var _0x29e0cd;if(_0x2dbd28['element'][_0x2792e9(0x278)]!==_0x5ddaa8[_0x2792e9(0x230)])return!0x1;let _0x4f0c5a=ru(_0xbdd38),_0x2e8e76=!0x1;if(_0xbdd38['kind']==='row-insert-dot'&&_0x4f0c5a!==null?_0x2e8e76=!!this[_0x2792e9(0x263)][_0x2792e9(0x6af)](_0x1ead7f['id'],{'unitId':_0x2dbd28[_0x2792e9(0x264)],'subUnitId':_0x2dbd28[_0x2792e9(0x602)],'elementId':_0x2dbd28[_0x2792e9(0x193)],'tableId':_0x2dbd28[_0x2792e9(0x1f0)][_0x2792e9(0x37b)],'rowIndex':_0x4f0c5a,'count':0x1}):_0xbdd38['kind']===_0x2792e9(0x4ca)&&_0x4f0c5a!==null&&(_0x2e8e76=!!this[_0x2792e9(0x263)]['executeCommand'](_0x460de1['id'],{'unitId':_0x2dbd28['unitId'],'subUnitId':_0x2dbd28[_0x2792e9(0x602)],'elementId':_0x2dbd28[_0x2792e9(0x193)],'tableId':_0x2dbd28[_0x2792e9(0x1f0)][_0x2792e9(0x37b)],'columnIndex':_0x4f0c5a,'count':0x1})),!_0x2e8e76)return!0x1;let _0x276531=this[_0x2792e9(0x1c9)][_0x2792e9(0x6c1)](_0x2dbd28[_0x2792e9(0x264)],_0x2dbd28[_0x2792e9(0x1f0)][_0x2792e9(0x37b)]);(_0x29e0cd=_0x4c3335[_0x2792e9(0x6d9)])==null||_0x29e0cd['call'](_0x4c3335,_0x276531);let _0x67a51=eu((_0x2ced5a?this[_0x2792e9(0x3d0)](_0x4c3335,new _0x107851(_0x2ced5a['x'],_0x2ced5a['y'])):null)??_0xbdd38);return this['_structuralInsertHoverObject']=_0x4c3335,this[_0x2792e9(0x32a)](_0x4c3335,_0x67a51),this[_0x2792e9(0x2e2)](_0x4c3335,null),this[_0x2792e9(0x327)](_0x4c3335,null),!0x0;}[_0x3cd2e0(0x1ec)](){const _0x58a999=_0x3cd2e0;var _0x5a5559,_0x222cd0;let _0x32c70e=(_0x5a5559=(_0x222cd0=this['_drawingStateService'])[_0x58a999(0x445)])==null?void 0x0:_0x5a5559[_0x58a999(0x5cd)](_0x222cd0),_0x36db55=this['_tableSelectionService'][_0x58a999(0x5b1)](),_0x3be5c2=(_0x32c70e==null?void 0x0:_0x32c70e['context'])??(_0x36db55?{'unitId':_0x36db55[_0x58a999(0x264)],'subUnitId':_0x36db55[_0x58a999(0x602)]}:null),_0x307a2c=(_0x32c70e==null?void 0x0:_0x32c70e[_0x58a999(0x661)][_0x58a999(0x567)])===0x1?_0x32c70e[_0x58a999(0x661)][0x0]:_0x36db55==null?void 0x0:_0x36db55[_0x58a999(0x6ec)];return!_0x3be5c2||!_0x307a2c?this[_0x58a999(0x256)](this[_0x58a999(0x29a)]):this['_resolveTableObjectFromContext']({..._0x3be5c2,'elementId':_0x307a2c})??this[_0x58a999(0x256)](this[_0x58a999(0x29a)]);}['_resolveTableObjectFromContext'](_0x5360ba){const _0x4bbf90=_0x3cd2e0;if(!_0x5360ba)return null;let _0x3ee917=this['_resolveSelectedTableDrawing'](_0x5360ba[_0x4bbf90(0x264)],_0x5360ba[_0x4bbf90(0x602)],_0x5360ba['elementId']);if(!_0x3ee917||_0x3ee917[_0x4bbf90(0x1f0)][_0x4bbf90(0x278)]!==_0x5ddaa8[_0x4bbf90(0x230)])return null;let _0x28b5d3=this['_tableResourceService']['getTable'](_0x3ee917[_0x4bbf90(0x264)],_0x3ee917[_0x4bbf90(0x1f0)][_0x4bbf90(0x37b)]);if(!_0x28b5d3)return null;let _0x45ec8a=this[_0x4bbf90(0x526)]['scene']['getObject'](_0x452a45(_0x5360ba[_0x4bbf90(0x264)],_0x5360ba['subUnitId'],_0x5360ba['elementId']));return _0x45ec8a?{'drawing':_0x3ee917,'object':_0x45ec8a,'table':_0x28b5d3}:null;}[_0x3cd2e0(0x56f)](_0x2834c0,_0x46de69){const _0x3442c9=_0x3cd2e0;var _0x4f6292;let _0x48faa6=this[_0x3442c9(0x6e7)](_0x2834c0);(_0x4f6292=_0x48faa6['preventDefault'])==null||_0x4f6292[_0x3442c9(0x5cd)](_0x48faa6),this[_0x3442c9(0x69a)][_0x3442c9(0x1ce)](_0x48faa6,_0x46de69);}['_createContextMenuEvent'](_0x48ea06){const _0x575fba=_0x3cd2e0;var _0x36c66c,_0x23928b,_0x1a8a15;let _0x20ca79=_0x48ea06;if(Du(_0x20ca79['clientX'])&&Du(_0x20ca79[_0x575fba(0x621)]))return{..._0x20ca79,'clientX':_0x20ca79['clientX'],'clientY':_0x20ca79['clientY'],'preventDefault':()=>{const _0x4ab0d3=_0x575fba;var _0x340ec3;return(_0x340ec3=_0x20ca79[_0x4ab0d3(0x2ac)])==null?void 0x0:_0x340ec3[_0x4ab0d3(0x5cd)](_0x20ca79);},'stopPropagation':()=>{var _0x2a0055;return(_0x2a0055=_0x20ca79['stopPropagation'])==null?void 0x0:_0x2a0055['call'](_0x20ca79);}};let _0x4764dc=(_0x36c66c=this[_0x575fba(0x526)][_0x575fba(0x248)])==null||(_0x23928b=_0x36c66c[_0x575fba(0x32d)])==null||(_0x23928b=_0x23928b['call'](_0x36c66c))==null||(_0x1a8a15=_0x23928b[_0x575fba(0x1b3)])==null?void 0x0:_0x1a8a15['call'](_0x23928b),_0x561ca4=((_0x4764dc==null?void 0x0:_0x4764dc[_0x575fba(0x3b6)])??0x0)+(_0x48ea06[_0x575fba(0x4d4)]??0x0),_0x2aaa6a=((_0x4764dc==null?void 0x0:_0x4764dc['top'])??0x0)+(_0x48ea06[_0x575fba(0x236)]??0x0);return{..._0x20ca79,'clientX':_0x561ca4,'clientY':_0x2aaa6a,'preventDefault':()=>{const _0x33aa28=_0x575fba;var _0x4534cf;return(_0x4534cf=_0x20ca79[_0x33aa28(0x2ac)])==null?void 0x0:_0x4534cf['call'](_0x20ca79);},'stopPropagation':()=>{const _0x25cae6=_0x575fba;var _0x19e17d;return(_0x19e17d=_0x20ca79[_0x25cae6(0x18f)])==null?void 0x0:_0x19e17d[_0x25cae6(0x5cd)](_0x20ca79);}};}[_0x3cd2e0(0x37e)](){const _0x4c6360=_0x3cd2e0;var _0x35b974,_0x56583c;(_0x35b974=this[_0x4c6360(0x69a)])==null||(_0x56583c=_0x35b974[_0x4c6360(0x61d)])==null||_0x56583c[_0x4c6360(0x5cd)](_0x35b974);}[_0x3cd2e0(0x68f)](_0x164cc9,_0x640618,_0x406659,_0x53d9f0,_0x42b59f){const _0x3ee6b1=_0x3cd2e0;var _0xbeddae,_0x2f66f1;this['_finishPendingStage1TableDrag']({'focusCell':!0x1}),_0x53d9f0[_0x3ee6b1(0x18f)](),_0x53d9f0[_0x3ee6b1(0x2f9)]=!0x0,(_0xbeddae=_0x406659[_0x3ee6b1(0x18f)])==null||_0xbeddae[_0x3ee6b1(0x5cd)](_0x406659),(_0x2f66f1=_0x406659[_0x3ee6b1(0x2ac)])==null||_0x2f66f1['call'](_0x406659),this[_0x3ee6b1(0x37e)](),this[_0x3ee6b1(0x1c3)][_0x3ee6b1(0x4b8)]();let _0x37f830=this[_0x3ee6b1(0x526)][_0x3ee6b1(0x370)],_0x40d921=new _0x7b6e49(),_0x31b21a=typeof window>'u'?null:window,_0x433e3f=_0x4077f3=>this[_0x3ee6b1(0x608)](_0x4077f3),_0x517990=()=>this['_finishPendingStage1TableDrag']({'focusCell':!0x0}),_0x2c813e=()=>this[_0x3ee6b1(0x24d)]({'focusCell':!0x1});this[_0x3ee6b1(0x287)]={'drawing':_0x164cc9,'object':_0x640618,'resolved':_0x42b59f,'startEvent':_0x406659,'startPoint':this[_0x3ee6b1(0x1f2)](_0x406659),'cleanup':()=>_0x40d921['dispose']()},_0x40d921[_0x3ee6b1(0x180)](_0x37f830[_0x3ee6b1(0x21e)][_0x3ee6b1(0x40b)](_0x433e3f)),_0x40d921[_0x3ee6b1(0x180)](_0x37f830[_0x3ee6b1(0x27b)][_0x3ee6b1(0x40b)](_0x517990)),_0x37f830[_0x3ee6b1(0x494)]&&_0x40d921['add'](_0x37f830[_0x3ee6b1(0x494)][_0x3ee6b1(0x40b)](_0x2c813e)),_0x31b21a==null||_0x31b21a[_0x3ee6b1(0x642)](_0x3ee6b1(0x54c),_0x517990,{'once':!0x0}),_0x31b21a==null||_0x31b21a[_0x3ee6b1(0x642)](_0x3ee6b1(0x34c),_0x2c813e,{'once':!0x0}),_0x40d921[_0x3ee6b1(0x180)](_0x5386fa(()=>{const _0xd618e9=_0x3ee6b1;_0x31b21a==null||_0x31b21a[_0xd618e9(0x40a)]('pointerup',_0x517990),_0x31b21a==null||_0x31b21a[_0xd618e9(0x40a)](_0xd618e9(0x34c),_0x2c813e);})),this[_0x3ee6b1(0x4be)](_0x164cc9,_0x640618,_0x406659,_0x53d9f0,_0x40d921);}[_0x3cd2e0(0x608)](_0x47e01b){const _0x3fd737=_0x3cd2e0;let _0x32f04e=this[_0x3fd737(0x287)];if(!_0x32f04e)return;if(_0x3fd737(0x57f)in _0x47e01b&&_0x47e01b[_0x3fd737(0x57f)]!==void 0x0&&(_0x47e01b[_0x3fd737(0x57f)]&0x1)!=0x1){this[_0x3fd737(0x24d)]({'focusCell':!0x0});return;}let _0x1cd971=this[_0x3fd737(0x1f2)](_0x47e01b),_0x294b8e=_0x1cd971['x']-_0x32f04e['startPoint']['x'],_0x56af92=_0x1cd971['y']-_0x32f04e[_0x3fd737(0x64f)]['y'],_0x39e360=this[_0x3fd737(0x275)]();Math[_0x3fd737(0x611)](_0x294b8e,_0x56af92)*_0x39e360<0x8||(this[_0x3fd737(0x24d)]({'focusCell':!0x1}),this[_0x3fd737(0x280)](_0x32f04e['drawing'],_0x32f04e[_0x3fd737(0x3d7)],_0x32f04e['startEvent']),this[_0x3fd737(0x465)](_0x47e01b));}[_0x3cd2e0(0x24d)](_0x2c826c){const _0x53cd96=_0x3cd2e0;let _0xbaaa73=this['_pendingStage1TableDragContext'];_0xbaaa73&&(this[_0x53cd96(0x287)]=null,_0xbaaa73[_0x53cd96(0x3f4)](),_0x2c826c[_0x53cd96(0x484)]&&this['_selectResolvedCell'](_0xbaaa73[_0x53cd96(0x538)],_0xbaaa73[_0x53cd96(0x3d7)],_0xbaaa73[_0x53cd96(0x675)]));}[_0x3cd2e0(0x280)](_0x30e044,_0x595b9c,_0x55467b){const _0x27ae71=_0x3cd2e0;this[_0x27ae71(0x402)]();let _0x80764c=new _0x7b6e49(),_0x46f56d=this['_resolvePointerScenePoint'](_0x55467b),_0x4dbe45=lu(this[_0x27ae71(0x343)](_0x30e044),_0x595b9c);this[_0x27ae71(0x1c6)]={'drawing':_0x30e044,'object':_0x595b9c,'activationStage':this[_0x27ae71(0x217)],'startEvent':_0x55467b,'startPoint':_0x46f56d,'lastPoint':_0x46f56d,'startObjectLeft':_0x595b9c['left'],'startObjectTop':_0x595b9c[_0x27ae71(0x649)],'startTransform':_0x4dbe45,'moved':!0x1,'clickFallbackTimer':null,'cleanup':()=>_0x80764c[_0x27ae71(0x362)]()},this[_0x27ae71(0x3e2)][_0x27ae71(0x35f)](this[_0x27ae71(0x526)]['unitId'],new Map([[_0x595b9c['oKey'],_0x595b9c]]));let _0xefee6b=this[_0x27ae71(0x526)][_0x27ae71(0x370)];_0xefee6b['disableObjectsEvent']();let _0x3280ad=typeof window>'u'?null:window,_0x4aebf0=_0x2f5dd8=>this[_0x27ae71(0x2bc)](_0x2f5dd8),_0x11f06f=()=>this[_0x27ae71(0x402)]();_0x80764c['add'](_0xefee6b['onPointerMove$']['subscribeEvent'](_0x11a566=>this[_0x27ae71(0x465)](_0x11a566))),_0x80764c['add'](_0xefee6b[_0x27ae71(0x27b)]['subscribeEvent'](_0x4aebf0)),_0xefee6b['onPointerCancel$']&&_0x80764c[_0x27ae71(0x180)](_0xefee6b[_0x27ae71(0x494)][_0x27ae71(0x40b)](_0x11f06f)),_0x3280ad==null||_0x3280ad[_0x27ae71(0x642)](_0x27ae71(0x54c),_0x4aebf0,{'once':!0x0}),_0x3280ad==null||_0x3280ad[_0x27ae71(0x642)](_0x27ae71(0x34c),_0x11f06f,{'once':!0x0}),_0x80764c[_0x27ae71(0x180)](_0x5386fa(()=>{const _0x20712f=_0x27ae71;_0xefee6b[_0x20712f(0x6df)](),_0x3280ad==null||_0x3280ad[_0x20712f(0x40a)](_0x20712f(0x54c),_0x4aebf0),_0x3280ad==null||_0x3280ad[_0x20712f(0x40a)](_0x20712f(0x34c),_0x11f06f);})),this[_0x27ae71(0x1c6)][_0x27ae71(0x37c)]=setTimeout(_0x4aebf0,0xb4);}['_resolveCurrentTableDrawing'](_0x384554){const _0xfe8372=_0x3cd2e0;return this[_0xfe8372(0x2df)][_0xfe8372(0x334)]({'unitId':_0x384554['unitId'],'subUnitId':_0x384554['subUnitId'],'drawingId':_0x384554[_0xfe8372(0x193)]})??_0x384554;}[_0x3cd2e0(0x465)](_0x1ddb51){const _0x179da7=_0x3cd2e0;var _0x1a528a,_0x1ffef4;let _0x302f5f=this[_0x179da7(0x1c6)];if(!_0x302f5f)return;let _0x3d690c=this[_0x179da7(0x1f2)](_0x1ddb51),_0x238e06=_0x3d690c['x']-_0x302f5f[_0x179da7(0x64f)]['x'],_0xa70322=_0x3d690c['y']-_0x302f5f['startPoint']['y'],_0x4b63d2=this['_getMoveGestureScale']();if(!_0x302f5f[_0x179da7(0x4fc)]&&Math['hypot'](_0x238e06,_0xa70322)*_0x4b63d2<0x8)return;_0x302f5f['moved']||(_0x302f5f[_0x179da7(0x37c)]&&=(clearTimeout(_0x302f5f['clickFallbackTimer']),null),this[_0x179da7(0x37e)]());let _0xba81b4=_0x3d690c['x']-_0x302f5f[_0x179da7(0x5d5)]['x'],_0x630cb4=_0x3d690c['y']-_0x302f5f[_0x179da7(0x5d5)]['y'],_0x550961=_0x302f5f['object'];_0x550961['translate'](_0x550961[_0x179da7(0x3b6)]+_0xba81b4,_0x550961[_0x179da7(0x649)]+_0x630cb4),_0x550961['makeDirty'](!0x0),_0x302f5f[_0x179da7(0x4b6)]===_0x179da7(0x38a)&&this[_0x179da7(0x659)](_0x302f5f['object']),_0x302f5f[_0x179da7(0x4fc)]=!0x0,_0x302f5f[_0x179da7(0x5d5)]=_0x3d690c,this[_0x179da7(0x3e2)][_0x179da7(0x252)](this[_0x179da7(0x526)]['unitId'],new Map([[_0x302f5f['object'][_0x179da7(0x62a)],_0x302f5f['object']]])),this['_slideDrawingService'][_0x179da7(0x2dd)]([{...this[_0x179da7(0x343)](_0x302f5f['drawing']),'transform':{..._0x302f5f[_0x179da7(0x378)],'left':(_0x302f5f[_0x179da7(0x378)][_0x179da7(0x3b6)]??0x0)+_0x550961[_0x179da7(0x3b6)]-_0x302f5f['startObjectLeft'],'top':(_0x302f5f[_0x179da7(0x378)][_0x179da7(0x649)]??0x0)+_0x550961[_0x179da7(0x649)]-_0x302f5f[_0x179da7(0x294)]}}]),(_0x1a528a=(_0x1ffef4=this[_0x179da7(0x526)]['scene'])[_0x179da7(0x6dc)])==null||_0x1a528a[_0x179da7(0x5cd)](_0x1ffef4,!0x0);}['_syncTableMoveTransformerControls'](_0xff7e4c){const _0xea6c7a=_0x3cd2e0;var _0xf9d13,_0xea9e25,_0x1d7049,_0x56e667;let _0x5b16d2=(_0xf9d13=(_0xea9e25=this[_0xea6c7a(0x526)]['scene'])['getTransformer'])==null?void 0x0:_0xf9d13[_0xea6c7a(0x5cd)](_0xea9e25);if(!_0x5b16d2||_0xff7e4c[_0xea6c7a(0x6e0)])return;let _0x4f9a58=_0x5b16d2,_0x35287d=(_0x1d7049=_0x4f9a58[_0xea6c7a(0x232)])==null?void 0x0:_0x1d7049[_0xea6c7a(0x5cd)](_0x4f9a58);if(_0x35287d&&!_0x35287d['has'](_0xff7e4c[_0xea6c7a(0x62a)])){var _0x53e00a;(_0x53e00a=_0x4f9a58[_0xea6c7a(0x579)])==null||_0x53e00a[_0xea6c7a(0x5cd)](_0x4f9a58,_0xff7e4c);}(_0x56e667=_0x4f9a58['updateControl'])==null||_0x56e667[_0xea6c7a(0x5cd)](_0x4f9a58);}[_0x3cd2e0(0x2bc)](_0x2fcf9c){const _0x1840a9=_0x3cd2e0;_0x2fcf9c&&this[_0x1840a9(0x465)](_0x2fcf9c);let _0x3aea62=this['_tableMoveDragContext'];if(!_0x3aea62)return;if(this[_0x1840a9(0x1c6)]=null,_0x3aea62['cleanup'](),_0x3aea62[_0x1840a9(0x37c)]&&=(clearTimeout(_0x3aea62[_0x1840a9(0x37c)]),null),!_0x3aea62[_0x1840a9(0x4fc)]){this[_0x1840a9(0x3e2)][_0x1840a9(0x488)](this[_0x1840a9(0x526)][_0x1840a9(0x264)],new Map([[_0x3aea62[_0x1840a9(0x3d7)][_0x1840a9(0x62a)],_0x3aea62[_0x1840a9(0x3d7)]]])),this[_0x1840a9(0x2a3)](_0x3aea62[_0x1840a9(0x538)],_0x3aea62[_0x1840a9(0x3d7)]);return;}let _0x516b1d=_0x3aea62[_0x1840a9(0x378)][_0x1840a9(0x3b6)]??0x0,_0x37a69e=_0x3aea62[_0x1840a9(0x378)]['top']??0x0,_0x261c28=_0x3aea62[_0x1840a9(0x3d7)],_0x338e34=_0x261c28['left']-_0x3aea62['startObjectLeft'],_0x4e58b5=_0x261c28[_0x1840a9(0x649)]-_0x3aea62[_0x1840a9(0x294)];this[_0x1840a9(0x3e2)][_0x1840a9(0x488)](this[_0x1840a9(0x526)]['unitId'],new Map([[_0x3aea62[_0x1840a9(0x3d7)][_0x1840a9(0x62a)],_0x3aea62[_0x1840a9(0x3d7)]]]));let _0x3da19f=this[_0x1840a9(0x343)](_0x3aea62[_0x1840a9(0x538)]),_0x3a5ce8={..._0x3aea62[_0x1840a9(0x378)],'left':_0x516b1d+_0x338e34,'top':_0x37a69e+_0x4e58b5};this['_commandService'][_0x1840a9(0x6af)](_0x25a298['id'],{'patches':[{'unitId':_0x3aea62[_0x1840a9(0x538)][_0x1840a9(0x264)],'subUnitId':_0x3aea62[_0x1840a9(0x538)][_0x1840a9(0x602)],'drawingId':_0x3aea62[_0x1840a9(0x538)][_0x1840a9(0x193)],'element':{..._0x3da19f[_0x1840a9(0x1f0)],'transform':{..._0x3da19f[_0x1840a9(0x1f0)][_0x1840a9(0x6e3)],'left':_0x3a5ce8[_0x1840a9(0x3b6)],'top':_0x3a5ce8[_0x1840a9(0x649)]}},'transform':_0x3a5ce8}]});}[_0x3cd2e0(0x402)](){const _0x128f89=_0x3cd2e0;let _0x450a3c=this[_0x128f89(0x1c6)];_0x450a3c&&(this[_0x128f89(0x1c6)]=null,_0x450a3c['cleanup'](),_0x450a3c[_0x128f89(0x37c)]&&clearTimeout(_0x450a3c[_0x128f89(0x37c)]),_0x450a3c['object'][_0x128f89(0x29b)](_0x450a3c[_0x128f89(0x5be)],_0x450a3c['startObjectTop']),_0x450a3c[_0x128f89(0x3d7)][_0x128f89(0x6dc)](!0x0),this[_0x128f89(0x3e2)][_0x128f89(0x488)](this[_0x128f89(0x526)][_0x128f89(0x264)],new Map([[_0x450a3c[_0x128f89(0x3d7)][_0x128f89(0x62a)],_0x450a3c['object']]])),this[_0x128f89(0x2df)][_0x128f89(0x2dd)]([{...this[_0x128f89(0x343)](_0x450a3c['drawing']),'transform':_0x450a3c[_0x128f89(0x378)]}]));}['_resolvePointerScenePoint'](_0x226962,_0x38fff3){const _0x4ce854=_0x3cd2e0;let _0xb9f97d=_0x226962;if(_0x38fff3!=null&&_0x38fff3[_0x4ce854(0x668)]&&Du(_0xb9f97d[_0x4ce854(0x4d4)])&&Du(_0xb9f97d[_0x4ce854(0x236)]))return this['_resolveScenePoint'](_0xb9f97d[_0x4ce854(0x4d4)],_0xb9f97d[_0x4ce854(0x236)]);if(Du(_0xb9f97d['clientX'])&&Du(_0xb9f97d[_0x4ce854(0x621)])){var _0x48f4cf,_0x17ce02,_0x5e44d1;let _0x6d0130=(_0x48f4cf=this['_renderContext'][_0x4ce854(0x248)])==null||(_0x17ce02=_0x48f4cf['getCanvasElement'])==null||(_0x17ce02=_0x17ce02[_0x4ce854(0x5cd)](_0x48f4cf))==null||(_0x5e44d1=_0x17ce02[_0x4ce854(0x1b3)])==null?void 0x0:_0x5e44d1[_0x4ce854(0x5cd)](_0x17ce02);if(_0x6d0130)return this[_0x4ce854(0x2e9)](_0xb9f97d[_0x4ce854(0x654)]-_0x6d0130[_0x4ce854(0x3b6)],_0xb9f97d[_0x4ce854(0x621)]-_0x6d0130[_0x4ce854(0x649)]);}return this[_0x4ce854(0x2e9)](_0xb9f97d[_0x4ce854(0x4d4)]??0x0,_0xb9f97d[_0x4ce854(0x236)]??0x0);}[_0x3cd2e0(0x6a1)](_0x13988d){const _0x1122ca=_0x3cd2e0;let _0x241d6f=_0x13988d;if(Du(_0x241d6f[_0x1122ca(0x654)])&&Du(_0x241d6f[_0x1122ca(0x621)])){var _0x42453c,_0x3d5951,_0x4c4f23;let _0xb0e632=(_0x42453c=this['_renderContext'][_0x1122ca(0x248)])==null||(_0x3d5951=_0x42453c[_0x1122ca(0x32d)])==null||(_0x3d5951=_0x3d5951[_0x1122ca(0x5cd)](_0x42453c))==null||(_0x4c4f23=_0x3d5951[_0x1122ca(0x1b3)])==null?void 0x0:_0x4c4f23['call'](_0x3d5951);return{'x':_0x241d6f['clientX']-((_0xb0e632==null?void 0x0:_0xb0e632['left'])??0x0),'y':_0x241d6f[_0x1122ca(0x621)]-((_0xb0e632==null?void 0x0:_0xb0e632[_0x1122ca(0x649)])??0x0)};}return{'x':_0x241d6f[_0x1122ca(0x4d4)]??0x0,'y':_0x241d6f['offsetY']??0x0};}[_0x3cd2e0(0x351)](_0x88749b,_0x4b2647){const _0x1f7f8e=_0x3cd2e0;let _0xc5c10e=_0x88749b;return{..._0xc5c10e,'button':_0xc5c10e[_0x1f7f8e(0x251)],'buttons':_0xc5c10e['buttons'],'offsetX':_0x4b2647['x'],'offsetY':_0x4b2647['y'],'clientX':void 0x0,'clientY':void 0x0,'preventDefault':()=>{const _0x456f05=_0x1f7f8e;var _0x2c3280;return(_0x2c3280=_0xc5c10e[_0x456f05(0x2ac)])==null?void 0x0:_0x2c3280['call'](_0xc5c10e);},'stopPropagation':()=>{const _0x45dc1d=_0x1f7f8e;var _0x432b4e;return(_0x432b4e=_0xc5c10e[_0x45dc1d(0x18f)])==null?void 0x0:_0x432b4e[_0x45dc1d(0x5cd)](_0xc5c10e);}};}[_0x3cd2e0(0x6c2)](_0x3d4665){const _0x408214=_0x3cd2e0;var _0x23b32d,_0x2a6395,_0x1c93cc,_0x317c70;let _0x42e168=this['_resizeDragContext'];if(!_0x42e168)return;let _0x209de2=this[_0x408214(0x2e9)](_0x3d4665[_0x408214(0x4d4)],_0x3d4665[_0x408214(0x236)]),_0x16a167=this[_0x408214(0x539)](_0x42e168[_0x408214(0x3d7)],_0x209de2['x'],_0x209de2['y']),_0x174a9c=_0x42e168[_0x408214(0x612)][_0x408214(0x338)]===_0x408214(0x6ad)?_0x16a167['x']-_0x42e168[_0x408214(0x64f)]['x']:_0x16a167['y']-_0x42e168[_0x408214(0x64f)]['y'],_0x19549a=au(_0x42e168[_0x408214(0x38a)],_0x42e168[_0x408214(0x3d7)][_0x408214(0x172)],_0x42e168[_0x408214(0x3d7)][_0x408214(0x276)],{..._0x42e168[_0x408214(0x612)],'delta':_0x174a9c,'minSize':0xc});_0x42e168['pendingTable']=_0x19549a,(_0x23b32d=(_0x2a6395=_0x42e168[_0x408214(0x3d7)])[_0x408214(0x583)])==null||_0x23b32d[_0x408214(0x5cd)](_0x2a6395,_0x19549a),this[_0x408214(0x1e7)](_0x42e168[_0x408214(0x612)][_0x408214(0x338)]),(_0x1c93cc=(_0x317c70=this[_0x408214(0x526)]['scene'])[_0x408214(0x6dc)])==null||_0x1c93cc[_0x408214(0x5cd)](_0x317c70,!0x0);}[_0x3cd2e0(0x50b)](_0x57dd9c){const _0x4ce540=_0x3cd2e0;var _0x2f0cf4,_0x5089cc;let _0x1476be=this[_0x4ce540(0x5d4)];if(!_0x1476be)return;this[_0x4ce540(0x6c2)](_0x57dd9c);let _0x568798=_0x1476be['pendingTable'];(_0x2f0cf4=(_0x5089cc=_0x1476be[_0x4ce540(0x3d7)])[_0x4ce540(0x583)])==null||_0x2f0cf4[_0x4ce540(0x5cd)](_0x5089cc,null),this[_0x4ce540(0x5d4)]=null,this[_0x4ce540(0x384)](),vu(_0x1476be[_0x4ce540(0x38a)],_0x568798,_0x1476be[_0x4ce540(0x612)][_0x4ce540(0x338)])&&this[_0x4ce540(0x263)]['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x1476be[_0x4ce540(0x264)],'tableId':_0x1476be['tableId'],'patch':_0x1476be[_0x4ce540(0x612)][_0x4ce540(0x338)]===_0x4ce540(0x6ad)?{'columns':_0x568798['columns']}:{'rows':_0x568798['rows']}});}[_0x3cd2e0(0x1e7)](_0x4b8778){const _0x2e3629=_0x3cd2e0;this[_0x2e3629(0x502)]=!0x0,this['_renderContext'][_0x2e3629(0x370)][_0x2e3629(0x480)](_0x4b8778===_0x2e3629(0x6ad)?_0x10e061['COLUMN_RESIZE']:_0x10e061[_0x2e3629(0x624)]);}[_0x3cd2e0(0x384)](){const _0x6a15b3=_0x3cd2e0;this[_0x6a15b3(0x502)]&&(this[_0x6a15b3(0x502)]=!0x1,this[_0x6a15b3(0x526)][_0x6a15b3(0x370)][_0x6a15b3(0x3e0)]());}['_isTableTextEditing'](){const _0x1fa096=_0x3cd2e0;var _0x590bf0;return((_0x590bf0=this[_0x1fa096(0x4f7)][_0x1fa096(0x5b1)]())==null?void 0x0:_0x590bf0[_0x1fa096(0x1b6)])==='text';}[_0x3cd2e0(0x2c9)](_0x12dad4){const _0x54edad=_0x3cd2e0;var _0x5c5f62,_0xbf7b5f,_0x1fdc6f,_0x4918bf,_0x2f9da8;let _0x12b23f=(_0x5c5f62=this[_0x54edad(0x4f7)])==null||(_0xbf7b5f=_0x5c5f62[_0x54edad(0x5b1)])==null?void 0x0:_0xbf7b5f['call'](_0x5c5f62);if((_0x12b23f==null?void 0x0:_0x12b23f[_0x54edad(0x1b6)])===_0x54edad(0x45d)&&_0x12b23f[_0x54edad(0x264)]===_0x12dad4[_0x54edad(0x264)]&&_0x12b23f[_0x54edad(0x602)]===_0x12dad4[_0x54edad(0x602)]&&_0x12b23f['elementId']===_0x12dad4[_0x54edad(0x193)]&&_0x12dad4[_0x54edad(0x1f0)][_0x54edad(0x278)]===_0x5ddaa8[_0x54edad(0x230)]&&_0x12b23f[_0x54edad(0x37b)]===_0x12dad4[_0x54edad(0x1f0)][_0x54edad(0x37b)])return!0x0;let _0x316d79=(_0x1fdc6f=this[_0x54edad(0x1fc)])==null||(_0x4918bf=_0x1fdc6f[_0x54edad(0x445)])==null?void 0x0:_0x4918bf[_0x54edad(0x5cd)](_0x1fdc6f);return!_0x316d79||((_0x2f9da8=_0x316d79[_0x54edad(0x3ac)])==null?void 0x0:_0x2f9da8[_0x54edad(0x264)])===_0x12dad4[_0x54edad(0x264)]&&_0x316d79[_0x54edad(0x3ac)][_0x54edad(0x602)]===_0x12dad4[_0x54edad(0x602)]&&_0x316d79[_0x54edad(0x661)][_0x54edad(0x3cb)](_0x12dad4[_0x54edad(0x193)]);}[_0x3cd2e0(0x53a)](_0x5f3fbb){const _0x3b338b=_0x3cd2e0;var _0x501c1b,_0x59f767;let _0x54a2a9=_0x363dbb=>_0x363dbb?_0x363dbb['drawing']?_0x363dbb['drawing'][_0x3b338b(0x264)]===_0x5f3fbb[_0x3b338b(0x264)]&&_0x363dbb[_0x3b338b(0x538)][_0x3b338b(0x602)]===_0x5f3fbb[_0x3b338b(0x602)]&&_0x363dbb[_0x3b338b(0x538)]['drawingId']===_0x5f3fbb[_0x3b338b(0x6ec)]:_0x363dbb['unitId']===_0x5f3fbb[_0x3b338b(0x264)]&&_0x363dbb[_0x3b338b(0x37b)]===_0x5f3fbb[_0x3b338b(0x37b)]:!0x1,_0x460d44=((_0x501c1b=(_0x59f767=this['_tableSelectionService'])[_0x3b338b(0x1be)])==null?void 0x0:_0x501c1b[_0x3b338b(0x5cd)](_0x59f767))??!0x1;return _0x5f3fbb[_0x3b338b(0x1b6)]==='text'||_0x460d44||_0x54a2a9(this[_0x3b338b(0x679)])||_0x54a2a9(this['_pendingStage1TableDragContext'])||_0x54a2a9(this[_0x3b338b(0x1c6)])||_0x54a2a9(this[_0x3b338b(0x5d4)])||_0x54a2a9(this[_0x3b338b(0x614)])||_0x54a2a9(this[_0x3b338b(0x6b0)]);}[_0x3cd2e0(0x558)](_0x569482,_0x15b873,_0x4a3942){const _0x160357=_0x3cd2e0;var _0x514c74,_0x3f1863,_0x3df2cf;if(_0x569482['element'][_0x160357(0x278)]!==_0x5ddaa8[_0x160357(0x230)])return;this[_0x160357(0x69b)]();let _0xdd164c=this[_0x160357(0x4f7)]['selectCell']({'unitId':_0x569482[_0x160357(0x264)],'subUnitId':_0x569482[_0x160357(0x602)],'elementId':_0x569482[_0x160357(0x193)],'tableId':_0x569482[_0x160357(0x1f0)][_0x160357(0x37b)],'row':_0x4a3942[_0x160357(0x3a3)],'column':_0x4a3942[_0x160357(0x6ad)]});(_0x514c74=_0x15b873[_0x160357(0x62b)])==null||_0x514c74[_0x160357(0x5cd)](_0x15b873,{'kind':fu(_0xdd164c[_0x160357(0x1b6)]),'ranges':_0xdd164c[_0x160357(0x289)],'active':{'row':_0x4a3942[_0x160357(0x3a3)],'column':_0x4a3942['column']}}),this[_0x160357(0x62f)](!0x0),(_0x3f1863=(_0x3df2cf=this[_0x160357(0x526)][_0x160357(0x370)])[_0x160357(0x6dc)])==null||_0x3f1863['call'](_0x3df2cf,!0x0);}[_0x3cd2e0(0x6b6)](_0x344f90,_0x32db97,_0x43a6da=this[_0x3cd2e0(0x4f7)]['getSelection']()){const _0x25f71b=_0x3cd2e0;var _0x1a943d,_0x3b5913;if(!_0x43a6da||_0x344f90[_0x25f71b(0x1f0)][_0x25f71b(0x278)]!==_0x5ddaa8[_0x25f71b(0x230)]||_0x43a6da[_0x25f71b(0x264)]!==_0x344f90[_0x25f71b(0x264)]||_0x43a6da['subUnitId']!==_0x344f90[_0x25f71b(0x602)]||_0x43a6da[_0x25f71b(0x6ec)]!==_0x344f90[_0x25f71b(0x193)]||_0x43a6da[_0x25f71b(0x37b)]!==_0x344f90[_0x25f71b(0x1f0)][_0x25f71b(0x37b)])return;let _0x71abd=_0x43a6da[_0x25f71b(0x640)]??_0x43a6da[_0x25f71b(0x352)]??pu(_0x43a6da['ranges']);(_0x1a943d=_0x32db97[_0x25f71b(0x62b)])==null||_0x1a943d['call'](_0x32db97,{'kind':fu(_0x43a6da[_0x25f71b(0x1b6)]),'ranges':_0x43a6da['ranges'],'active':_0x71abd}),(_0x3b5913=_0x32db97[_0x25f71b(0x6b9)])==null||_0x3b5913['call'](_0x32db97,_0x43a6da[_0x25f71b(0x1b6)]===_0x25f71b(0x45d)?_0x71abd??null:null);}[_0x3cd2e0(0x6c4)](_0x54ac78,_0x19d086,_0x2be8d9,_0x51acab){const _0x45958a=_0x3cd2e0;var _0x3f9715,_0x5bcd7a,_0x249c85;if(_0x54ac78[_0x45958a(0x1f0)][_0x45958a(0x278)]!==_0x5ddaa8[_0x45958a(0x230)])return;let _0x31b938=this['_tableResourceService']['getTable'](_0x54ac78[_0x45958a(0x264)],_0x54ac78[_0x45958a(0x1f0)]['tableId']);if(!_0x31b938)return;this[_0x45958a(0x69b)]();let _0x36264b=_0x5941a1(_0x31b938,{'startRow':_0x2be8d9,'endRow':_0x51acab,'startColumn':0x0,'endColumn':Math['max'](0x0,_0x31b938[_0x45958a(0x581)]['length']-0x1)}),_0x175290=this[_0x45958a(0x4f7)][_0x45958a(0x205)]({'unitId':_0x54ac78[_0x45958a(0x264)],'subUnitId':_0x54ac78['subUnitId'],'elementId':_0x54ac78[_0x45958a(0x193)],'tableId':_0x54ac78['element']['tableId'],'startRow':_0x36264b[_0x45958a(0x290)],'endRow':_0x36264b[_0x45958a(0x616)],'columnCount':_0x31b938['columns']['length']});(_0x3f9715=_0x19d086[_0x45958a(0x62b)])==null||_0x3f9715[_0x45958a(0x5cd)](_0x19d086,{'kind':fu(_0x175290['kind']),'ranges':_0x175290[_0x45958a(0x289)]}),this[_0x45958a(0x62f)](!0x0),(_0x5bcd7a=(_0x249c85=this[_0x45958a(0x526)][_0x45958a(0x370)])[_0x45958a(0x6dc)])==null||_0x5bcd7a[_0x45958a(0x5cd)](_0x249c85,!0x0);}[_0x3cd2e0(0x204)](_0x510b0e,_0x44d5ed,_0x2ed679,_0x4f005c){const _0x136921=_0x3cd2e0;var _0x423b29,_0xcf92e2,_0x2f51ac;if(_0x510b0e[_0x136921(0x1f0)]['type']!==_0x5ddaa8[_0x136921(0x230)])return;let _0x6c193=this[_0x136921(0x1c9)][_0x136921(0x6c1)](_0x510b0e['unitId'],_0x510b0e[_0x136921(0x1f0)][_0x136921(0x37b)]);if(!_0x6c193)return;this[_0x136921(0x69b)]();let _0x55705d=_0x5941a1(_0x6c193,{'startRow':0x0,'endRow':Math[_0x136921(0x379)](0x0,_0x6c193[_0x136921(0x400)][_0x136921(0x567)]-0x1),'startColumn':_0x2ed679,'endColumn':_0x4f005c}),_0x5c4c69=this['_tableSelectionService']['selectColumns']({'unitId':_0x510b0e[_0x136921(0x264)],'subUnitId':_0x510b0e[_0x136921(0x602)],'elementId':_0x510b0e[_0x136921(0x193)],'tableId':_0x510b0e[_0x136921(0x1f0)][_0x136921(0x37b)],'startColumn':_0x55705d['startColumn'],'endColumn':_0x55705d[_0x136921(0x655)],'rowCount':_0x6c193[_0x136921(0x400)][_0x136921(0x567)]});(_0x423b29=_0x44d5ed[_0x136921(0x62b)])==null||_0x423b29[_0x136921(0x5cd)](_0x44d5ed,{'kind':fu(_0x5c4c69['kind']),'ranges':_0x5c4c69[_0x136921(0x289)]}),this['_setTableKeyboardFocus'](!0x0),(_0xcf92e2=(_0x2f51ac=this['_renderContext']['scene'])[_0x136921(0x6dc)])==null||_0xcf92e2[_0x136921(0x5cd)](_0x2f51ac,!0x0);}[_0x3cd2e0(0x2a3)](_0x5bbf15,_0x3b6d13){const _0x408d13=_0x3cd2e0;var _0x2f2f1f,_0x41c04a,_0xb55718;if(_0x5bbf15['element']['type']!==_0x5ddaa8[_0x408d13(0x230)])return;let _0x36e674=this['_tableResourceService'][_0x408d13(0x6c1)](_0x5bbf15[_0x408d13(0x264)],_0x5bbf15[_0x408d13(0x1f0)][_0x408d13(0x37b)]);if(!_0x36e674)return;this[_0x408d13(0x2b7)](_0x3b6d13);let _0x559b54=this[_0x408d13(0x4f7)][_0x408d13(0x406)]({'unitId':_0x5bbf15[_0x408d13(0x264)],'subUnitId':_0x5bbf15[_0x408d13(0x602)],'elementId':_0x5bbf15['drawingId'],'tableId':_0x5bbf15[_0x408d13(0x1f0)][_0x408d13(0x37b)],'rowCount':_0x36e674[_0x408d13(0x400)]['length'],'columnCount':_0x36e674[_0x408d13(0x581)][_0x408d13(0x567)]});(_0x2f2f1f=_0x3b6d13[_0x408d13(0x62b)])==null||_0x2f2f1f['call'](_0x3b6d13,{'kind':fu(_0x559b54[_0x408d13(0x1b6)]),'ranges':_0x559b54[_0x408d13(0x289)]}),this['_setTableKeyboardFocus'](!0x0),(_0x41c04a=(_0xb55718=this[_0x408d13(0x526)][_0x408d13(0x370)])['makeDirty'])==null||_0x41c04a[_0x408d13(0x5cd)](_0xb55718,!0x0);}['_activateTableObject'](_0x3678fc){const _0x243fcf=_0x3cd2e0;var _0x45d395,_0x37d3fb,_0x33fbc4;this[_0x243fcf(0x217)]=_0x243fcf(0x38a),(_0x45d395=_0x3678fc['setTableSelection'])==null||_0x45d395[_0x243fcf(0x5cd)](_0x3678fc,{'ranges':[]}),this['_setTableKeyboardFocus'](!0x1),this[_0x243fcf(0x478)](!0x0),(_0x37d3fb=(_0x33fbc4=this[_0x243fcf(0x526)]['scene'])[_0x243fcf(0x6dc)])==null||_0x37d3fb[_0x243fcf(0x5cd)](_0x33fbc4,!0x0);}[_0x3cd2e0(0x69b)](){const _0x5560f6=_0x3cd2e0;this[_0x5560f6(0x217)]!=='cell'&&(this['_tableActivationStage']='cell'),this[_0x5560f6(0x478)](!0x1),this[_0x5560f6(0x516)]();}[_0x3cd2e0(0x6e8)](_0x489444){const _0xa150fd=_0x3cd2e0;let _0x3deb4b=this['_isCellSelection'](_0x489444);this[_0xa150fd(0x217)]=_0x3deb4b?_0xa150fd(0x6cc):_0xa150fd(0x38a),this[_0xa150fd(0x62f)](_0x3deb4b&&_0x489444[_0xa150fd(0x1b6)]!==_0xa150fd(0x45d)),this['_setTableObjectKeyboardFocus'](!_0x3deb4b),_0x3deb4b&&this[_0xa150fd(0x516)]();}[_0x3cd2e0(0x6e4)](_0x24a583){const _0x2b2318=_0x3cd2e0;var _0x2d232a;if(_0x24a583[_0x2b2318(0x1f0)][_0x2b2318(0x278)]!==_0x5ddaa8[_0x2b2318(0x230)])return!0x0;let _0x2842b0=this['_tableSelectionService'][_0x2b2318(0x5b1)]();return!(_0x2842b0&&_0x2842b0[_0x2b2318(0x264)]===_0x24a583[_0x2b2318(0x264)]&&_0x2842b0['subUnitId']===_0x24a583[_0x2b2318(0x602)]&&_0x2842b0['elementId']===_0x24a583[_0x2b2318(0x193)]&&this['_isCellSelection'](_0x2842b0)||((_0x2d232a=this['_lastActiveTableContext'])==null?void 0x0:_0x2d232a[_0x2b2318(0x264)])===_0x24a583[_0x2b2318(0x264)]&&this[_0x2b2318(0x29a)][_0x2b2318(0x602)]===_0x24a583[_0x2b2318(0x602)]&&this[_0x2b2318(0x29a)][_0x2b2318(0x6ec)]===_0x24a583[_0x2b2318(0x193)]&&this['_tableActivationStage']===_0x2b2318(0x6cc));}[_0x3cd2e0(0x516)](){const _0x2bccbd=_0x3cd2e0;var _0x2b865d,_0x543195,_0x4cb472,_0x593753,_0xc6baf4;let _0x32e9c6=(_0x2b865d=(_0x543195=this[_0x2bccbd(0x526)][_0x2bccbd(0x370)])[_0x2bccbd(0x444)])==null?void 0x0:_0x2b865d[_0x2bccbd(0x5cd)](_0x543195);_0x32e9c6==null||(_0x4cb472=_0x32e9c6[_0x2bccbd(0x3f7)])==null||_0x4cb472[_0x2bccbd(0x5cd)](_0x32e9c6),(_0x593753=(_0xc6baf4=this[_0x2bccbd(0x526)][_0x2bccbd(0x370)])[_0x2bccbd(0x6dc)])==null||_0x593753[_0x2bccbd(0x5cd)](_0xc6baf4,!0x0);}['_handleKeyboardAction'](_0x9a6766){const _0xec2c1e=_0x3cd2e0;var _0x4070f8,_0x4f81c3;if(this['_isTableTextEditing']()){let _0x1fdbdb=this[_0xec2c1e(0x1c3)]['getSession'](),_0x53b96e=cu(_0x9a6766);return!_0x1fdbdb||!_0x53b96e?!0x1:this[_0xec2c1e(0x32b)](_0x53b96e,_0x1fdbdb['context'],this[_0xec2c1e(0x52b)]);}if(_0x9a6766===_0xec2c1e(0x5bd))return this[_0xec2c1e(0x6f2)]();let _0x4777a0=this[_0xec2c1e(0x22d)]();if(!_0x4777a0||_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x1f0)]['type']!==_0x5ddaa8[_0xec2c1e(0x230)])return!0x1;if(_0x9a6766===_0xec2c1e(0x191))return this['_clearSelectedCellContents'](_0x4777a0);let _0x40d0d6=Ka(_0x9a6766);if(!_0x40d0d6)return!0x1;if(_0x40d0d6[_0xec2c1e(0x469)]){var _0x168b03,_0x54b1e2;let _0x30071d=_0x4777a0[_0xec2c1e(0x38b)]['anchor']??_0x4777a0['focus'],_0x48e02e=qa(_0x4777a0[_0xec2c1e(0x640)],_0x40d0d6,_0x4777a0['table'][_0xec2c1e(0x400)][_0xec2c1e(0x567)],_0x4777a0[_0xec2c1e(0x38a)][_0xec2c1e(0x581)][_0xec2c1e(0x567)]),_0x3c8912=_0x5941a1(_0x4777a0[_0xec2c1e(0x38a)],{'startRow':_0x30071d[_0xec2c1e(0x3a3)],'startColumn':_0x30071d[_0xec2c1e(0x6ad)],'endRow':_0x48e02e[_0xec2c1e(0x3a3)],'endColumn':_0x48e02e[_0xec2c1e(0x6ad)]}),_0xc200b6=this[_0xec2c1e(0x4f7)][_0xec2c1e(0x693)]({'unitId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x264)],'subUnitId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x602)],'elementId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x193)],'tableId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x1f0)][_0xec2c1e(0x37b)],..._0x3c8912});(_0x168b03=(_0x54b1e2=_0x4777a0[_0xec2c1e(0x3d7)])[_0xec2c1e(0x62b)])==null||_0x168b03['call'](_0x54b1e2,{'kind':fu(_0xc200b6['kind']),'ranges':_0xc200b6[_0xec2c1e(0x289)],'active':_0x48e02e});}else{var _0x254f05,_0x150c50;let _0xf8b5a3=qa(_0x4777a0[_0xec2c1e(0x640)],_0x40d0d6,_0x4777a0[_0xec2c1e(0x38a)][_0xec2c1e(0x400)][_0xec2c1e(0x567)],_0x4777a0[_0xec2c1e(0x38a)][_0xec2c1e(0x581)][_0xec2c1e(0x567)]),_0x57ed16=this[_0xec2c1e(0x4f7)]['selectCell']({'unitId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x264)],'subUnitId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x602)],'elementId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x193)],'tableId':_0x4777a0[_0xec2c1e(0x538)][_0xec2c1e(0x1f0)][_0xec2c1e(0x37b)],'row':_0xf8b5a3[_0xec2c1e(0x3a3)],'column':_0xf8b5a3[_0xec2c1e(0x6ad)]});(_0x254f05=(_0x150c50=_0x4777a0[_0xec2c1e(0x3d7)])[_0xec2c1e(0x62b)])==null||_0x254f05[_0xec2c1e(0x5cd)](_0x150c50,{'kind':fu(_0x57ed16[_0xec2c1e(0x1b6)]),'ranges':_0x57ed16[_0xec2c1e(0x289)],'active':_0xf8b5a3});}return this[_0xec2c1e(0x62f)](!0x0),(_0x4070f8=(_0x4f81c3=this['_renderContext'][_0xec2c1e(0x370)])[_0xec2c1e(0x6dc)])==null||_0x4070f8[_0xec2c1e(0x5cd)](_0x4f81c3,!0x0),!0x0;}[_0x3cd2e0(0x5e1)](_0x37fa35){const _0x42b1fe=_0x3cd2e0;if(_0x37fa35[_0x42b1fe(0x1ac)]||!this[_0x42b1fe(0x2a0)][_0x42b1fe(0x2b5)](_0x42b1fe(0x306))||this[_0x42b1fe(0x652)]())return null;let _0x52ba1d=this[_0x42b1fe(0x22d)]();return(_0x52ba1d==null?void 0x0:_0x52ba1d['selection']['unitId'])===this[_0x42b1fe(0x526)][_0x42b1fe(0x264)]?_0x52ba1d:null;}[_0x3cd2e0(0x436)](_0x4f4341){const _0x1b42d6=_0x3cd2e0;return _0x32a141(this[_0x1b42d6(0x523)],_0x4f4341['unitId'],_0x4f4341[_0x1b42d6(0x264)],_0xea5141[_0x1b42d6(0x3bb)]);}async[_0x3cd2e0(0x2a9)](_0xffcd71,_0x47e260){const _0xa04346=_0x3cd2e0;var _0x5086c3,_0x1bbff6,_0x17be59,_0x3b2a4d;return await this[_0xa04346(0x263)][_0xa04346(0x6af)](_0x5c9d7f['id'],{'unitId':_0xffcd71[_0xa04346(0x38b)]['unitId'],'tableId':_0xffcd71[_0xa04346(0x38b)][_0xa04346(0x37b)],'patch':_0x47e260})?((_0x5086c3=(_0x1bbff6=_0xffcd71[_0xa04346(0x3d7)])[_0xa04346(0x62b)])==null||_0x5086c3[_0xa04346(0x5cd)](_0x1bbff6,{'kind':fu(_0xffcd71[_0xa04346(0x38b)][_0xa04346(0x1b6)]),'ranges':_0xffcd71[_0xa04346(0x38b)][_0xa04346(0x289)],'active':_0xffcd71[_0xa04346(0x38b)][_0xa04346(0x640)]}),this[_0xa04346(0x62f)](!0x0),(_0x17be59=(_0x3b2a4d=this['_renderContext'][_0xa04346(0x370)])['makeDirty'])==null||_0x17be59[_0xa04346(0x5cd)](_0x3b2a4d,!0x0),!0x0):!0x1;}async[_0x3cd2e0(0x5f7)](_0x509f30,_0x8ca613=0x0){const _0x5a7291=_0x3cd2e0;for(let _0x5b7821=0x0;_0x5b7821<_0x509f30[_0x5a7291(0x567)];_0x5b7821++){let _0x575734=_0x509f30[_0x5b7821],_0x261aa2=await _0x3ab743(_0x575734);if(_0x261aa2){let _0x29d492=(_0x8ca613+_0x5b7821)*0x20;_0x29d492===0x0?await this[_0x5a7291(0x30e)][_0x5a7291(0x254)](_0x261aa2):await this[_0x5a7291(0x30e)]['insertImage'](_0x261aa2,{'offset':{'x':_0x29d492,'y':_0x29d492}});}}}[_0x3cd2e0(0x54d)](_0x2d359b){const _0xc7a0ec=_0x3cd2e0;return _0x2d359b[_0xc7a0ec(0x1b6)]===_0xc7a0ec(0x696)?this[_0xc7a0ec(0x6f2)]():this[_0xc7a0ec(0x652)]()||!_0x2d359b['text']?!0x1:this[_0xc7a0ec(0x6f2)]({'initialText':_0x2d359b[_0xc7a0ec(0x45d)]});}[_0x3cd2e0(0x6d1)](_0x49ccbf){const _0xc4d1bf=_0x3cd2e0;var _0x571837,_0x4729b5,_0xecf1fd,_0x34c528;let _0xc43f17=Hl(_0x49ccbf[_0xc4d1bf(0x38a)],_0x49ccbf['selection']);return _0xc43f17&&this[_0xc4d1bf(0x263)][_0xc4d1bf(0x6af)](_0x5c9d7f['id'],{'unitId':_0x49ccbf[_0xc4d1bf(0x38b)][_0xc4d1bf(0x264)],'tableId':_0x49ccbf[_0xc4d1bf(0x38b)][_0xc4d1bf(0x37b)],'patch':_0xc43f17}),(_0x571837=(_0x4729b5=_0x49ccbf[_0xc4d1bf(0x3d7)])['setTableSelection'])==null||_0x571837[_0xc4d1bf(0x5cd)](_0x4729b5,{'kind':fu(_0x49ccbf['selection'][_0xc4d1bf(0x1b6)]),'ranges':_0x49ccbf[_0xc4d1bf(0x38b)][_0xc4d1bf(0x289)],'active':_0x49ccbf[_0xc4d1bf(0x38b)][_0xc4d1bf(0x640)]}),this[_0xc4d1bf(0x62f)](!0x0),(_0xecf1fd=(_0x34c528=this[_0xc4d1bf(0x526)][_0xc4d1bf(0x370)])[_0xc4d1bf(0x6dc)])==null||_0xecf1fd[_0xc4d1bf(0x5cd)](_0x34c528,!0x0),!0x0;}[_0x3cd2e0(0x6f2)](_0xeb3e13){const _0x291761=_0x3cd2e0;var _0x5f37a2,_0x7aba78;let _0x509117=this[_0x291761(0x22d)]();if(!_0x509117||_0x509117[_0x291761(0x538)][_0x291761(0x1f0)][_0x291761(0x278)]!==_0x5ddaa8[_0x291761(0x230)])return!0x1;let _0x379398=_0x237cc5(((_0x5f37a2=(_0x7aba78=_0x509117[_0x291761(0x3d7)])[_0x291761(0x3ba)])==null?void 0x0:_0x5f37a2[_0x291761(0x5cd)](_0x7aba78))??_0x509117[_0x291761(0x38a)]),_0xf34c7b=_0x379398[_0x291761(0x329)][_0x291761(0x587)](_0x3446f8=>_0x3446f8['row']===_0x509117[_0x291761(0x640)][_0x291761(0x3a3)]&&_0x3446f8[_0x291761(0x6ad)]===_0x509117[_0x291761(0x640)][_0x291761(0x6ad)]&&!_0x3446f8[_0x291761(0x50f)])??_0x379398[_0x291761(0x329)]['find'](_0x142627=>!_0x142627['hidden']&&_0x509117[_0x291761(0x640)][_0x291761(0x3a3)]>=_0x142627[_0x291761(0x3a3)]&&_0x509117[_0x291761(0x640)][_0x291761(0x3a3)]<_0x142627[_0x291761(0x3a3)]+_0x142627['rowSpan']&&_0x509117['focus'][_0x291761(0x6ad)]>=_0x142627['column']&&_0x509117[_0x291761(0x640)][_0x291761(0x6ad)]<_0x142627[_0x291761(0x6ad)]+_0x142627[_0x291761(0x457)]);return _0xf34c7b?(this['_openCellEditor'](_0x509117['drawing'],{'table':_0x509117['table'],'model':_0x379398,'cell':_0xf34c7b,'row':_0xf34c7b[_0x291761(0x3a3)],'column':_0xf34c7b['column'],'object':_0x509117[_0x291761(0x3d7)]},_0xeb3e13),!0x0):!0x1;}[_0x3cd2e0(0x22d)](){const _0x24c571=_0x3cd2e0;let _0x51954f=this[_0x24c571(0x4f7)]['getSelection'](),_0x88739b=_0x51954f==null?void 0x0:_0x51954f['ranges'][0x0];if(!_0x51954f||!_0x88739b||_0x51954f[_0x24c571(0x1b6)]===_0x24c571(0x45d))return null;let _0x5d3b74=this['_resolveSelectedTableDrawing'](_0x51954f[_0x24c571(0x264)],_0x51954f[_0x24c571(0x602)],_0x51954f['elementId']);if(!_0x5d3b74||_0x5d3b74[_0x24c571(0x1f0)]['type']!==_0x5ddaa8[_0x24c571(0x230)]||!this[_0x24c571(0x2c9)](_0x5d3b74))return null;let _0x1ab858=this[_0x24c571(0x1c9)][_0x24c571(0x6c1)](_0x51954f[_0x24c571(0x264)],_0x51954f[_0x24c571(0x37b)]),_0x28db13=this[_0x24c571(0x526)][_0x24c571(0x370)]['getObject'](_0x452a45(_0x51954f[_0x24c571(0x264)],_0x51954f[_0x24c571(0x602)],_0x51954f[_0x24c571(0x6ec)]));return!_0x1ab858||!_0x28db13?null:{'drawing':_0x5d3b74,'object':_0x28db13,'table':_0x1ab858,'selection':_0x51954f,'focus':Ja(_0x51954f[_0x24c571(0x640)]??{'row':Math[_0x24c571(0x61f)](_0x88739b['startRow'],_0x88739b[_0x24c571(0x616)]),'column':Math['min'](_0x88739b[_0x24c571(0x4dd)],_0x88739b[_0x24c571(0x655)])},_0x1ab858[_0x24c571(0x400)][_0x24c571(0x567)],_0x1ab858[_0x24c571(0x581)]['length'])};}[_0x3cd2e0(0x62f)](_0x47bb43){const _0x989426=_0x3cd2e0;this[_0x989426(0x2a0)][_0x989426(0x5ca)]('FOCUSING_SLIDE_TABLE',_0x47bb43);}[_0x3cd2e0(0x478)](_0xe4eea5){const _0x3f7a50=_0x3cd2e0;this[_0x3f7a50(0x2a0)][_0x3f7a50(0x5ca)]('FOCUSING_SLIDE_TABLE_OBJECT',_0xe4eea5);}[_0x3cd2e0(0x442)](_0x14b350){const _0x1ef2c9=_0x3cd2e0;let _0x104e6a=this[_0x1ef2c9(0x679)];if(!_0x104e6a||_0x104e6a[_0x1ef2c9(0x538)][_0x1ef2c9(0x1f0)][_0x1ef2c9(0x278)]!==_0x5ddaa8['Table'])return;if(_0x1ef2c9(0x57f)in _0x14b350&&_0x14b350[_0x1ef2c9(0x57f)]!==void 0x0&&(_0x14b350[_0x1ef2c9(0x57f)]&0x1)!=0x1){this[_0x1ef2c9(0x1ef)]();return;}let _0x40ccb6=this[_0x1ef2c9(0x1f2)](_0x14b350),_0x22ab4d=this[_0x1ef2c9(0x509)](_0x104e6a['drawing'],_0x104e6a[_0x1ef2c9(0x556)],_0x40ccb6['x'],_0x40ccb6['y']);_0x22ab4d&&this['_applyRangeDragSelection'](_0x104e6a,{'row':_0x22ab4d[_0x1ef2c9(0x3a3)],'column':_0x22ab4d['column']});}['_applyRangeDragSelection'](_0x95653e,_0x57a15f){const _0x365307=_0x3cd2e0;var _0x38e97b,_0x34789c,_0x1ea5b1,_0x436754,_0x1bd5e7;if(_0x95653e['drawing'][_0x365307(0x1f0)][_0x365307(0x278)]!==_0x5ddaa8[_0x365307(0x230)]||_0x95653e['current'][_0x365307(0x3a3)]===_0x57a15f[_0x365307(0x3a3)]&&_0x95653e[_0x365307(0x483)][_0x365307(0x6ad)]===_0x57a15f[_0x365307(0x6ad)]&&((_0x38e97b=this[_0x365307(0x4f7)]['getSelection']())==null?void 0x0:_0x38e97b[_0x365307(0x1b6)])==='range')return;_0x95653e[_0x365307(0x483)]=_0x57a15f;let _0x536554=_0x5941a1(_0x95653e[_0x365307(0x38a)],{'startRow':_0x95653e[_0x365307(0x352)][_0x365307(0x3a3)],'startColumn':_0x95653e['anchor'][_0x365307(0x6ad)],'endRow':_0x57a15f['row'],'endColumn':_0x57a15f['column']}),_0x2f94ce=this[_0x365307(0x4f7)][_0x365307(0x693)]({'unitId':_0x95653e[_0x365307(0x538)][_0x365307(0x264)],'subUnitId':_0x95653e[_0x365307(0x538)]['subUnitId'],'elementId':_0x95653e['drawing'][_0x365307(0x193)],'tableId':_0x95653e[_0x365307(0x538)][_0x365307(0x1f0)][_0x365307(0x37b)],..._0x536554});(_0x34789c=(_0x1ea5b1=_0x95653e[_0x365307(0x3d7)])['setTableSelection'])==null||_0x34789c[_0x365307(0x5cd)](_0x1ea5b1,{'kind':fu(_0x2f94ce[_0x365307(0x1b6)]),'ranges':_0x2f94ce['ranges'],'active':_0x57a15f}),this[_0x365307(0x62f)](!0x0),(_0x436754=(_0x1bd5e7=this['_renderContext'][_0x365307(0x370)])[_0x365307(0x6dc)])==null||_0x436754[_0x365307(0x5cd)](_0x1bd5e7,!0x0);}[_0x3cd2e0(0x4d6)](){const _0x1c4fae=_0x3cd2e0;var _0x471b8a,_0x58cc23,_0x380aab,_0x44a8b9,_0x2a771b,_0x3d192b,_0x581862;(_0x471b8a=this[_0x1c4fae(0x42f)])==null||_0x471b8a[_0x1c4fae(0x362)](),this['_resizeDragListeners']=null;let _0x295469=this['_tableSelectionService']['getSelection'](),_0x3a1b1b=[_0x295469?{'unitId':_0x295469[_0x1c4fae(0x264)],'subUnitId':_0x295469[_0x1c4fae(0x602)],'elementId':_0x295469[_0x1c4fae(0x6ec)]}:null,this[_0x1c4fae(0x29a)]]['filter'](_0x29bf3f=>!!_0x29bf3f),_0x2e90f3=_0x3a1b1b[_0x1c4fae(0x22b)]((_0x2506d6,_0x1a4430)=>_0x3a1b1b[_0x1c4fae(0x50e)](_0x36bae0=>_0x36bae0['unitId']===_0x2506d6['unitId']&&_0x36bae0['subUnitId']===_0x2506d6[_0x1c4fae(0x602)]&&_0x36bae0[_0x1c4fae(0x6ec)]===_0x2506d6[_0x1c4fae(0x6ec)])===_0x1a4430);(_0x58cc23=this[_0x1c4fae(0x6e1)])==null||_0x58cc23[_0x1c4fae(0x362)](),this[_0x1c4fae(0x6e1)]=null,this[_0x1c4fae(0x52b)]+=0x1,this['_activeEditorContextKey']=null,this['_finishRangeDrag'](),this[_0x1c4fae(0x679)]=null,this[_0x1c4fae(0x24d)]({'focusCell':!0x1}),this[_0x1c4fae(0x3fd)]=null,this[_0x1c4fae(0x455)](void 0x0,{'commitMove':!0x1}),this['_tableActivationStage']=null,this[_0x1c4fae(0x29a)]=null,this[_0x1c4fae(0x402)](),(_0x380aab=this['_resizeDragContext'])==null||(_0x2a771b=(_0x44a8b9=_0x380aab['object'])[_0x1c4fae(0x583)])==null||_0x2a771b['call'](_0x44a8b9,null),this[_0x1c4fae(0x5d4)]=null,this[_0x1c4fae(0x384)](),this['_setStructuralCursor'](!0x1),this[_0x1c4fae(0x62f)](!0x1),this[_0x1c4fae(0x478)](!0x1),_0x2e90f3[_0x1c4fae(0x5a6)](_0x482b89=>{const _0xefa0ec=_0x1c4fae;var _0x3a5d75,_0x33a5b7,_0x20a883,_0x6a2708,_0x36ba4a,_0x457526;let _0x570e63=this[_0xefa0ec(0x526)][_0xefa0ec(0x370)]['getObject'](_0x452a45(_0x482b89[_0xefa0ec(0x264)],_0x482b89[_0xefa0ec(0x602)],_0x482b89[_0xefa0ec(0x6ec)]));_0x570e63==null||(_0x3a5d75=_0x570e63[_0xefa0ec(0x6b9)])==null||_0x3a5d75[_0xefa0ec(0x5cd)](_0x570e63,null),_0x570e63==null||(_0x33a5b7=_0x570e63[_0xefa0ec(0x583)])==null||_0x33a5b7[_0xefa0ec(0x5cd)](_0x570e63,null),_0x570e63==null||(_0x20a883=_0x570e63['setTableSelection'])==null||_0x20a883[_0xefa0ec(0x5cd)](_0x570e63,null),_0x570e63==null||(_0x6a2708=_0x570e63[_0xefa0ec(0x3eb)])==null||_0x6a2708['call'](_0x570e63,null),_0x570e63==null||(_0x36ba4a=_0x570e63['setTableControlState'])==null||_0x36ba4a[_0xefa0ec(0x5cd)](_0x570e63,null),_0x570e63==null||(_0x457526=_0x570e63[_0xefa0ec(0x250)])==null||_0x457526['call'](_0x570e63,null);}),this[_0x1c4fae(0x4f7)]['clear'](),(_0x3d192b=(_0x581862=this[_0x1c4fae(0x526)][_0x1c4fae(0x370)])['makeDirty'])==null||_0x3d192b[_0x1c4fae(0x5cd)](_0x581862,!0x0);}['_handleDoubleClick'](_0x49aaca){const _0x4a11a2=_0x3cd2e0;if(_0x49aaca[_0x4a11a2(0x538)]['unitId']!==this[_0x4a11a2(0x526)]['unitId']||_0x49aaca['drawing'][_0x4a11a2(0x1f0)]['type']!==_0x5ddaa8[_0x4a11a2(0x230)]||!this['_isTableDrawingActive'](_0x49aaca[_0x4a11a2(0x538)]))return;let _0x57aceb=this[_0x4a11a2(0x509)](_0x49aaca[_0x4a11a2(0x538)],_0x49aaca[_0x4a11a2(0x62a)],_0x49aaca[_0x4a11a2(0x4d4)],_0x49aaca[_0x4a11a2(0x236)]);if(!_0x57aceb)return;let _0x7c6b30=this[_0x4a11a2(0x1c3)][_0x4a11a2(0x571)](),_0x54dbc3=_0x7c6b30==null?void 0x0:_0x7c6b30['context'];this[_0x4a11a2(0x4ae)]()&&(_0x7c6b30==null?void 0x0:_0x7c6b30[_0x4a11a2(0x31d)])===tu&&(_0x54dbc3==null?void 0x0:_0x54dbc3['unitId'])===_0x49aaca[_0x4a11a2(0x538)][_0x4a11a2(0x264)]&&_0x54dbc3[_0x4a11a2(0x602)]===_0x49aaca[_0x4a11a2(0x538)][_0x4a11a2(0x602)]&&_0x54dbc3[_0x4a11a2(0x6ec)]===_0x49aaca['drawing']['drawingId']&&_0x54dbc3[_0x4a11a2(0x3a3)]===_0x57aceb[_0x4a11a2(0x3a3)]&&_0x54dbc3[_0x4a11a2(0x6ad)]===_0x57aceb[_0x4a11a2(0x6ad)]||this[_0x4a11a2(0x29e)](_0x49aaca[_0x4a11a2(0x538)],_0x57aceb);}[_0x3cd2e0(0x29e)](_0x50418,_0x1cf183,_0x1465a6){const _0x271103=_0x3cd2e0;var _0x587af8,_0x542414,_0x2fdce7,_0x8ce4c5;if(_0x50418[_0x271103(0x1f0)][_0x271103(0x278)]!==_0x5ddaa8[_0x271103(0x230)])return;let _0x419d5a=_0x50418['element'],_0x557870={'unitId':_0x50418[_0x271103(0x264)],'subUnitId':_0x50418[_0x271103(0x602)],'elementId':_0x50418[_0x271103(0x193)],'tableId':_0x419d5a[_0x271103(0x37b)],'row':_0x1cf183['row'],'column':_0x1cf183[_0x271103(0x6ad)],'drawingTransform':_0x50418['transform']},_0x3b2398=(_0x1465a6==null?void 0x0:_0x1465a6[_0x271103(0x2fb)])===void 0x0?this[_0x271103(0x64b)](_0x1cf183[_0x271103(0x38a)],_0x1cf183['row'],_0x1cf183[_0x271103(0x6ad)]):tc(this['_resolveCellDocumentData'](_0x1cf183[_0x271103(0x38a)],_0x1cf183[_0x271103(0x3a3)],_0x1cf183['column']),_0x1465a6[_0x271103(0x2fb)]),_0xe8be0e=this[_0x271103(0x512)](_0x1cf183[_0x271103(0x3d7)],_0x1cf183[_0x271103(0x3d2)],_0x1cf183[_0x271103(0x6cc)],_0x3b2398);if(!_0xe8be0e)return;this[_0x271103(0x69b)]();let _0x344934=yu(_0x557870);this[_0x271103(0x37e)]();let _0x516264=(this[_0x271103(0x52b)]??0x0)+0x1;if(this[_0x271103(0x52b)]=_0x516264,this[_0x271103(0x269)]=_0x344934,_0x1465a6!=null&&_0x1465a6['handoffCurrent']){var _0x4c5e61,_0x4912ab;let _0x1baac1=(_0x4c5e61=(_0x4912ab=this['_editorUIService'])[_0x271103(0x571)])==null?void 0x0:_0x4c5e61[_0x271103(0x5cd)](_0x4912ab);this['_editorUIService'][_0x271103(0x4b8)](_0x1baac1==null?void 0x0:_0x1baac1[_0x271103(0x360)],_0x1baac1==null?void 0x0:_0x1baac1[_0x271103(0x6be)],_0x1baac1==null?void 0x0:_0x1baac1[_0x271103(0x576)]);}else this[_0x271103(0x1c3)][_0x271103(0x4b8)]();(_0x587af8=(_0x542414=_0x1cf183[_0x271103(0x3d7)])['setEditingCell'])==null||_0x587af8[_0x271103(0x5cd)](_0x542414,{'row':_0x1cf183[_0x271103(0x6cc)][_0x271103(0x3a3)],'column':_0x1cf183[_0x271103(0x6cc)][_0x271103(0x6ad)]});let _0x4d8718=this['_tableSelectionService'][_0x271103(0x552)](_0x557870);(_0x2fdce7=(_0x8ce4c5=_0x1cf183[_0x271103(0x3d7)])['setTableSelection'])==null||_0x2fdce7['call'](_0x8ce4c5,{'kind':fu(_0x4d8718[_0x271103(0x1b6)]),'ranges':_0x4d8718['ranges'],'active':{'row':_0x1cf183[_0x271103(0x3a3)],'column':_0x1cf183[_0x271103(0x6ad)]}}),this[_0x271103(0x5ba)](),this[_0x271103(0x62f)](!0x1),this[_0x271103(0x6e1)]=this[_0x271103(0x1c3)][_0x271103(0x685)]({'editorId':tu,'documentData':_0x3b2398,'layout':_0xe8be0e,'context':_0x557870,'appearance':'table-cell','autoFocus':!0x0,'hideFloatingToolbarAlignment':!0x0,'cellFillColor':Tu(_0x1cf183[_0x271103(0x38a)],_0x1cf183[_0x271103(0x6cc)]),'isSingle':!0x1,'onCellFillColorChange':(_0x55a606,_0x5a7aa9)=>{const _0x33c147=_0x271103;this[_0x33c147(0x2fa)](_0x5a7aa9,{'fill':wu(_0x55a606)});},'onChange':(_0x446d98,_0x22d64b)=>{this['_previewCellDocument'](_0x446d98,_0x22d64b,_0x516264);},'onComplete':(_0x297f82,_0x4a04cd)=>{const _0x4dadb7=_0x271103;this[_0x4dadb7(0x374)](_0x297f82,_0x4a04cd,_0x516264);},'onCancel':_0x391619=>{this['_finishCellEditing'](_0x391619,_0x516264);},'onPointerDown':(_0xb6cd24,_0x1c77fb)=>this['_handleCellEditorPointerDown'](_0xb6cd24,_0x1c77fb,_0x516264),'onKeyDown':(_0x5aa93e,_0xb4e107)=>this[_0x271103(0x32b)](_0x5aa93e,_0xb4e107,_0x516264)});}[_0x3cd2e0(0x305)](_0x351145,_0x18b30c,_0x50339c){const _0x39e973=_0x3cd2e0;var _0x10cf1f;if(!_0x18b30c||!this[_0x39e973(0x61c)](_0x18b30c,_0x50339c))return!0x1;let _0x1f3071=this[_0x39e973(0x1c9)]['getTable'](_0x18b30c[_0x39e973(0x264)],_0x18b30c[_0x39e973(0x37b)]),_0x39d955=this[_0x39e973(0x59c)](_0x18b30c[_0x39e973(0x264)],_0x18b30c['subUnitId'],_0x18b30c['elementId']);if(!_0x1f3071||!_0x39d955||_0x39d955[_0x39e973(0x1f0)]['type']!==_0x5ddaa8[_0x39e973(0x230)])return!0x1;let _0xfddc48=_0x452a45(_0x18b30c[_0x39e973(0x264)],_0x18b30c[_0x39e973(0x602)],_0x18b30c[_0x39e973(0x6ec)]),_0x5f3e8b=this[_0x39e973(0x526)][_0x39e973(0x370)]['getObject'](_0xfddc48);if(!_0x5f3e8b)return!0x1;let _0x228050=this[_0x39e973(0x1f2)](_0x351145),_0x1d718d=this[_0x39e973(0x509)](_0x39d955,_0xfddc48,_0x228050['x'],_0x228050['y']);return!_0x1d718d||_0x1d718d['row']===_0x18b30c[_0x39e973(0x3a3)]&&_0x1d718d[_0x39e973(0x6ad)]===_0x18b30c[_0x39e973(0x6ad)]?!0x1:((_0x10cf1f=_0x351145[_0x39e973(0x5b0)])==null||_0x10cf1f[_0x39e973(0x5cd)](_0x351145),this[_0x39e973(0x29e)](_0x39d955,{'table':_0x1f3071,'model':_0x1d718d['model'],'cell':_0x1d718d[_0x39e973(0x6cc)],'row':_0x1d718d[_0x39e973(0x3a3)],'column':_0x1d718d['column'],'object':_0x5f3e8b},{'handoffCurrent':!0x0}),!0x0);}[_0x3cd2e0(0x32b)](_0x54bc72,_0x25ddb9,_0x205897){const _0x13017f=_0x3cd2e0;var _0x25c063,_0x5b77fb;if(!_0x25ddb9||!this[_0x13017f(0x61c)](_0x25ddb9,_0x205897))return!0x1;let _0x2634da=su(_0x54bc72);if(!_0x2634da)return!0x1;let _0x10c48c=this[_0x13017f(0x1c9)][_0x13017f(0x6c1)](_0x25ddb9[_0x13017f(0x264)],_0x25ddb9[_0x13017f(0x37b)]),_0x57291d=this[_0x13017f(0x59c)](_0x25ddb9['unitId'],_0x25ddb9[_0x13017f(0x602)],_0x25ddb9[_0x13017f(0x6ec)]);if(!_0x10c48c||!_0x57291d||_0x57291d[_0x13017f(0x1f0)][_0x13017f(0x278)]!==_0x5ddaa8['Table'])return!0x1;let _0x23461c=qa({'row':_0x25ddb9['row'],'column':_0x25ddb9[_0x13017f(0x6ad)]},{'rowDelta':_0x2634da[_0x13017f(0x210)],'columnDelta':_0x2634da['columnDelta'],'wrap':_0x2634da['wrap']},_0x10c48c[_0x13017f(0x400)][_0x13017f(0x567)],_0x10c48c['columns'][_0x13017f(0x567)]);if(_0x23461c[_0x13017f(0x3a3)]===_0x25ddb9['row']&&_0x23461c['column']===_0x25ddb9[_0x13017f(0x6ad)])return!0x1;let _0x37643c=_0x452a45(_0x25ddb9[_0x13017f(0x264)],_0x25ddb9[_0x13017f(0x602)],_0x25ddb9[_0x13017f(0x6ec)]),_0x25e280=this[_0x13017f(0x526)][_0x13017f(0x370)][_0x13017f(0x60b)](_0x37643c);if(!_0x25e280)return!0x1;let _0x2b240e=_0x237cc5(((_0x25c063=_0x25e280[_0x13017f(0x3ba)])==null?void 0x0:_0x25c063[_0x13017f(0x5cd)](_0x25e280))??_0x10c48c),_0x38679e=_0x2b240e[_0x13017f(0x329)][_0x13017f(0x587)](_0x48da35=>_0x48da35['row']===_0x23461c[_0x13017f(0x3a3)]&&_0x48da35['column']===_0x23461c[_0x13017f(0x6ad)]&&!_0x48da35[_0x13017f(0x50f)])??_0x2b240e[_0x13017f(0x329)][_0x13017f(0x587)](_0x1cb6b4=>!_0x1cb6b4['hidden']&&_0x23461c[_0x13017f(0x3a3)]>=_0x1cb6b4[_0x13017f(0x3a3)]&&_0x23461c[_0x13017f(0x3a3)]<_0x1cb6b4[_0x13017f(0x3a3)]+_0x1cb6b4[_0x13017f(0x5c0)]&&_0x23461c['column']>=_0x1cb6b4[_0x13017f(0x6ad)]&&_0x23461c[_0x13017f(0x6ad)]<_0x1cb6b4['column']+_0x1cb6b4[_0x13017f(0x457)]);if(!_0x38679e)return!0x1;let _0x15deba=this[_0x13017f(0x1c3)]['getSession']();if(!_0x15deba)return!0x1;_0x54bc72[_0x13017f(0x2ac)](),_0x54bc72[_0x13017f(0x18f)](),this[_0x13017f(0x1c3)]['complete'](_0x15deba['documentData'],_0x15deba[_0x13017f(0x6be)],_0x15deba[_0x13017f(0x576)]);let _0x429f0b=this['_tableSelectionService'][_0x13017f(0x303)]({'unitId':_0x57291d[_0x13017f(0x264)],'subUnitId':_0x57291d[_0x13017f(0x602)],'elementId':_0x57291d[_0x13017f(0x193)],'tableId':_0x57291d[_0x13017f(0x1f0)]['tableId'],'row':_0x38679e[_0x13017f(0x3a3)],'column':_0x38679e['column']});return(_0x5b77fb=_0x25e280['setTableSelection'])==null||_0x5b77fb[_0x13017f(0x5cd)](_0x25e280,{'kind':fu(_0x429f0b[_0x13017f(0x1b6)]),'ranges':_0x429f0b[_0x13017f(0x289)],'active':{'row':_0x38679e[_0x13017f(0x3a3)],'column':_0x38679e['column']}}),this[_0x13017f(0x69b)](),this[_0x13017f(0x62f)](!0x0),this[_0x13017f(0x5ba)](),!0x0;}[_0x3cd2e0(0x509)](_0x45720f,_0x52019d,_0xe60a78,_0xb73977){const _0x3b52d1=_0x3cd2e0;var _0x5703a8;if(_0x45720f[_0x3b52d1(0x1f0)][_0x3b52d1(0x278)]!==_0x5ddaa8['Table']||_0x45720f[_0x3b52d1(0x2c4)])return null;let _0x46c820=this[_0x3b52d1(0x1c9)][_0x3b52d1(0x6c1)](_0x45720f[_0x3b52d1(0x264)],_0x45720f[_0x3b52d1(0x1f0)][_0x3b52d1(0x37b)]);if(!_0x46c820)return null;let _0x3a72dc=this['_renderContext'][_0x3b52d1(0x370)][_0x3b52d1(0x60b)](_0x52019d);if(!_0x3a72dc||_0x3a72dc[_0x3b52d1(0x6e0)])return null;let _0x312bec=_0x237cc5(((_0x5703a8=_0x3a72dc[_0x3b52d1(0x3ba)])==null?void 0x0:_0x5703a8[_0x3b52d1(0x5cd)](_0x3a72dc))??_0x46c820),_0x61a318=this['_resolveTablePoint'](_0x3a72dc,_0x312bec,_0xe60a78,_0xb73977),_0x1b5beb=Zs(_0x312bec,_0x61a318['x'],_0x61a318['y']);if(!_0x1b5beb)return null;let _0x3abce0=_0x312bec[_0x3b52d1(0x329)][_0x3b52d1(0x587)](_0x4ca71d=>_0x4ca71d[_0x3b52d1(0x3a3)]===_0x1b5beb[_0x3b52d1(0x3a3)]&&_0x4ca71d['column']===_0x1b5beb[_0x3b52d1(0x6ad)]&&!_0x4ca71d['hidden']);return _0x3abce0?{'table':_0x46c820,'model':_0x312bec,'cell':_0x3abce0,'row':_0x1b5beb['row'],'column':_0x1b5beb['column'],'object':_0x3a72dc}:null;}[_0x3cd2e0(0x6d5)](_0x52b6fb,_0x2a7006,_0x3f305c,_0x2a2b9e){const _0x14bb17=_0x3cd2e0;let _0x169a63=_0x52b6fb[_0x14bb17(0x662)](new _0x107851(_0x3f305c,_0x2a2b9e)),_0x5aa8a2=_0x169a63['x']+_0x52b6fb['width']/0x2,_0x1ca84e=_0x169a63['y']+_0x52b6fb['height']/0x2,_0x242c27=du(_0x2a7006['width']/_0x52b6fb['width'],0x1),_0x5ba383=du(_0x2a7006[_0x14bb17(0x276)]/_0x52b6fb['height'],0x1);return{'x':_0x5aa8a2*_0x242c27,'y':_0x1ca84e*_0x5ba383};}[_0x3cd2e0(0x512)](_0xbbe2b,_0x204055,_0x488e3f,_0x3da996){const _0x5a6af8=_0x3cd2e0;var _0x27e96e,_0x2b405c;if(!this[_0x5a6af8(0x526)][_0x5a6af8(0x248)][_0x5a6af8(0x32d)]())return null;let _0x2a311b=this[_0x5a6af8(0x526)][_0x5a6af8(0x370)][_0x5a6af8(0x4fd)](),_0xf7784e=du(_0x2a311b[_0x5a6af8(0x417)],0x1),_0x429c19=du(_0x2a311b[_0x5a6af8(0x489)],0x1),_0x284dcb=nc({'rect':((_0x27e96e=_0xbbe2b['getCellTextRect'])==null?void 0x0:_0x27e96e['call'](_0xbbe2b,_0x488e3f[_0x5a6af8(0x3a3)],_0x488e3f[_0x5a6af8(0x6ad)],_0xbbe2b[_0x5a6af8(0x172)],_0xbbe2b['height']))??_0x5afc94({'cell':_0x488e3f,'tableWidth':_0x204055[_0x5a6af8(0x172)],'tableHeight':_0x204055[_0x5a6af8(0x276)],'targetWidth':_0xbbe2b[_0x5a6af8(0x172)],'targetHeight':_0xbbe2b[_0x5a6af8(0x276)],'includeMargins':!0x0}),'tableTransform':{'left':_0xbbe2b[_0x5a6af8(0x3b6)],'top':_0xbbe2b['top'],'width':_0xbbe2b[_0x5a6af8(0x172)],'height':_0xbbe2b[_0x5a6af8(0x276)],'angle':_0xbbe2b[_0x5a6af8(0x2fe)],'flipX':_0xbbe2b['flipX'],'flipY':_0xbbe2b[_0x5a6af8(0x449)]},'scale':{'scaleX':_0xf7784e,'scaleY':_0x429c19},'scenePointToViewportPoint':_0x132562=>this['_resolveScenePointToEditorPoint'](_0x132562)}),_0x4b5cc4=_0x488e3f[_0x5a6af8(0x36d)][_0x5a6af8(0x59b)],_0x7a9192=(_0x2b405c=_0x3da996[_0x5a6af8(0x424)])==null?void 0x0:_0x2b405c[_0x5a6af8(0x4df)];return{..._0x284dcb,'horizontalAlign':_0x7a9192==null?void 0x0:_0x7a9192[_0x5a6af8(0x25f)],'isHorizontal':_0x4b5cc4!==_0x5a6af8(0x3d4)&&_0x4b5cc4!==_0x5a6af8(0x470),'verticalAlign':bu(_0x488e3f[_0x5a6af8(0x36d)]['verticalAlign'])??(_0x7a9192==null?void 0x0:_0x7a9192[_0x5a6af8(0x68c)])};}[_0x3cd2e0(0x5b7)](_0x2708e7){const _0x15e75f=_0x3cd2e0;var _0x30a657,_0x2c09c3,_0x1965ea;let _0x6fe58d=this['_renderContext'][_0x15e75f(0x370)],_0xfe94=(_0x30a657=_0x6fe58d[_0x15e75f(0x15c)])==null?void 0x0:_0x30a657[_0x15e75f(0x5cd)](_0x6fe58d)[0x0],_0x5f699=_0xfe94==null||(_0x2c09c3=_0xfe94[_0x15e75f(0x699)])==null?void 0x0:_0x2c09c3[_0x15e75f(0x5cd)](_0xfe94,new _0x107851(_0x2708e7['x'],_0x2708e7['y']));if(_0x5f699)return{'x':_0x5f699['x'],'y':_0x5f699['y']};let _0x7ab11d=this[_0x15e75f(0x526)][_0x15e75f(0x248)][_0x15e75f(0x32d)](),_0x532054=(_0x7ab11d==null||(_0x1965ea=_0x7ab11d['getBoundingClientRect'])==null?void 0x0:_0x1965ea[_0x15e75f(0x5cd)](_0x7ab11d))??{'left':0x0,'top':0x0},_0x5c925f=_0x6fe58d[_0x15e75f(0x4fd)](),_0x2aed9d=du(_0x5c925f['scaleX'],0x1),_0xda5d19=du(_0x5c925f[_0x15e75f(0x489)],0x1);return{'x':_0x532054['left']+_0x2708e7['x']*_0x2aed9d,'y':_0x532054[_0x15e75f(0x649)]+_0x2708e7['y']*_0xda5d19};}[_0x3cd2e0(0x64b)](_0x5a26e5,_0x381803,_0x194d11){const _0x2abd4a=_0x3cd2e0;var _0x17e84f;let _0x445636=tu+'_'+_0x5a26e5['id']+'_'+_0x381803+'_'+_0x194d11;return ic(((_0x17e84f=_0x5a26e5[_0x2abd4a(0x400)][_0x381803])==null||(_0x17e84f=_0x17e84f[_0x2abd4a(0x329)][_0x194d11])==null?void 0x0:_0x17e84f[_0x2abd4a(0x4eb)])||{'id':_0x445636,'body':{'dataStream':'\x0d\x0a'},'documentStyle':{}},_0x445636);}[_0x3cd2e0(0x374)](_0x2a0cb4,_0x34d5bf,_0x1240e4){const _0xf9251c=_0x3cd2e0;var _0x439e85;if(!_0x34d5bf)return;let _0x171c69=this[_0xf9251c(0x1c9)][_0xf9251c(0x6c1)](_0x34d5bf[_0xf9251c(0x264)],_0x34d5bf[_0xf9251c(0x37b)]);if(!_0x171c69){this[_0xf9251c(0x61c)](_0x34d5bf,_0x1240e4)&&this[_0xf9251c(0x4f7)][_0xf9251c(0x2b4)]();return;}let _0x55e81d=tu+'_'+_0x171c69['id']+'_'+_0x34d5bf[_0xf9251c(0x3a3)]+'_'+_0x34d5bf[_0xf9251c(0x6ad)],_0x5f1e05=ic(_0x489e95(_0x2a0cb4),_0x55e81d),_0x3d468a=xu((_0x439e85=_0x5f1e05[_0xf9251c(0x424)])==null||(_0x439e85=_0x439e85[_0xf9251c(0x4df)])==null?void 0x0:_0x439e85[_0xf9251c(0x68c)]),_0x464460=_0x58e122(_0x171c69,_0x34d5bf[_0xf9251c(0x3a3)],_0x34d5bf[_0xf9251c(0x6ad)],_0x5f1e05,{'verticalAlign':_0x3d468a});if(!_0x464460){this[_0xf9251c(0x61c)](_0x34d5bf,_0x1240e4)&&this[_0xf9251c(0x4f7)][_0xf9251c(0x2b4)]();return;}this[_0xf9251c(0x263)]['syncExecuteCommand'](_0x5c9d7f['id'],{'unitId':_0x34d5bf[_0xf9251c(0x264)],'tableId':_0x34d5bf[_0xf9251c(0x37b)],'patch':_0x464460}),this[_0xf9251c(0x487)](_0x34d5bf,_0x1240e4);}['_previewCellDocument'](_0xfd3de3,_0x323d26,_0x954837){const _0x246dbc=_0x3cd2e0;var _0xf1d4df,_0x5f2c5c;if(!_0x323d26||!this[_0x246dbc(0x61c)](_0x323d26,_0x954837))return;let _0x64865a=this['_tableResourceService'][_0x246dbc(0x6c1)](_0x323d26[_0x246dbc(0x264)],_0x323d26[_0x246dbc(0x37b)]);if(!_0x64865a)return;let _0x379e97=tu+'_'+_0x64865a['id']+'_'+_0x323d26['row']+'_'+_0x323d26['column'],_0x2b6a68=ic(_0x489e95(_0xfd3de3),_0x379e97),_0x3d875f=xu((_0xf1d4df=_0x2b6a68[_0x246dbc(0x424)])==null||(_0xf1d4df=_0xf1d4df[_0x246dbc(0x4df)])==null?void 0x0:_0xf1d4df[_0x246dbc(0x68c)]),_0x4215b6=_0x58e122(_0x64865a,_0x323d26[_0x246dbc(0x3a3)],_0x323d26[_0x246dbc(0x6ad)],_0x2b6a68,{'verticalAlign':_0x3d875f});if(!_0x4215b6)return;let _0x3c6847=this['_renderContext']['scene'][_0x246dbc(0x60b)](_0x452a45(_0x323d26[_0x246dbc(0x264)],_0x323d26[_0x246dbc(0x602)],_0x323d26['elementId']));_0x3c6847==null||(_0x5f2c5c=_0x3c6847['setPreviewTable'])==null||_0x5f2c5c[_0x246dbc(0x5cd)](_0x3c6847,{..._0x64865a,..._0x4215b6}),this[_0x246dbc(0x68a)](),this[_0x246dbc(0x5ba)]();}[_0x3cd2e0(0x6f3)](_0x91d86f,_0x555d74,_0x21f9ef){}[_0x3cd2e0(0x531)](_0x20a1ec,_0x429b07,_0x195bf0,_0x1577ae,_0x4f60fd,_0x99f0a2,_0x3316f2,_0x3f1b07){const _0x5cff8c=_0x3cd2e0;var _0xe849a1;let _0x40b608=this[_0x5cff8c(0x1c3)]['getSession']();_0x40b608&&this['_isCurrentEditorSession'](_0x40b608[_0x5cff8c(0x3ac)],_0x195bf0)&&((_0xe849a1=_0x20a1ec['stopTextSelectionDrag'])==null||_0xe849a1[_0x5cff8c(0x5cd)](_0x20a1ec),this[_0x5cff8c(0x1c3)][_0x5cff8c(0x4b8)](_0x40b608[_0x5cff8c(0x360)],_0x40b608[_0x5cff8c(0x6be)]),this[_0x5cff8c(0x679)]={'drawing':_0x1577ae,'objectKey':_0x4f60fd,'object':_0x99f0a2,'table':_0x3316f2,'anchor':{'row':_0x429b07[_0x5cff8c(0x3a3)],'column':_0x429b07[_0x5cff8c(0x6ad)]},'current':{'row':_0x429b07[_0x5cff8c(0x3a3)],'column':_0x429b07[_0x5cff8c(0x6ad)]}},this[_0x5cff8c(0x676)](),this[_0x5cff8c(0x504)](this[_0x5cff8c(0x679)],{'row':_0x3f1b07[_0x5cff8c(0x3a3)],'column':_0x3f1b07['column']}));}['_bindRangeDragWindowEvents'](){const _0x512434=_0x3cd2e0;if(this[_0x512434(0x49a)]||typeof window>'u')return;let _0xc96b56=_0x1b46fe=>{const _0x7a20a9=_0x512434;this[_0x7a20a9(0x442)](_0x1b46fe);},_0xda9f6=()=>{const _0x3dc638=_0x512434;this[_0x3dc638(0x1ef)]();};window[_0x512434(0x642)]('pointermove',_0xc96b56),window[_0x512434(0x642)](_0x512434(0x54c),_0xda9f6),window[_0x512434(0x642)]('pointercancel',_0xda9f6),this[_0x512434(0x49a)]=()=>{const _0x161f70=_0x512434;window[_0x161f70(0x40a)](_0x161f70(0x6bb),_0xc96b56),window[_0x161f70(0x40a)]('pointerup',_0xda9f6),window[_0x161f70(0x40a)](_0x161f70(0x34c),_0xda9f6),this[_0x161f70(0x49a)]=null;};}[_0x3cd2e0(0x1ef)](){let _0x19e9c6=this['_rangeDragWindowCleanup'];_0x19e9c6&&_0x19e9c6(),this['_rangeDragContext']=null;}[_0x3cd2e0(0x385)](_0xdfb4c6,_0x263340){const _0x1bac07=_0x3cd2e0;var _0xa02311;_0xdfb4c6&&((_0xa02311=this['_rangeDragContext'])==null?void 0x0:_0xa02311[_0x1bac07(0x538)][_0x1bac07(0x264)])===_0xdfb4c6[_0x1bac07(0x264)]&&this['_rangeDragContext'][_0x1bac07(0x538)][_0x1bac07(0x193)]===_0xdfb4c6['elementId']&&this[_0x1bac07(0x1ef)]();}['_commitCellStyle'](_0x1fefe2,_0x2f47bc){const _0x31806f=_0x3cd2e0;if(!_0x1fefe2)return;let _0x2eb2e3=this[_0x31806f(0x1c9)][_0x31806f(0x6c1)](_0x1fefe2[_0x31806f(0x264)],_0x1fefe2[_0x31806f(0x37b)]);if(!_0x2eb2e3){this[_0x31806f(0x4f7)]['clear']();return;}let _0x7b5e0a=_0x43911b['deepClone'](_0x2eb2e3[_0x31806f(0x400)]),_0x4cbf36=_0x7b5e0a[_0x1fefe2['row']],_0x2ce265=_0x4cbf36==null?void 0x0:_0x4cbf36[_0x31806f(0x329)][_0x1fefe2['column']];_0x4cbf36&&_0x2ce265&&(_0x4cbf36['cells'][_0x1fefe2[_0x31806f(0x6ad)]]={..._0x2ce265,'style':Su(_0x2ce265['style'],_0x2f47bc)},this[_0x31806f(0x263)]['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x1fefe2[_0x31806f(0x264)],'tableId':_0x1fefe2[_0x31806f(0x37b)],'patch':{'rows':_0x7b5e0a}}));}[_0x3cd2e0(0x487)](_0xc31f44,_0x53e39c){const _0x55a625=_0x3cd2e0;var _0x4d9619,_0x347dd7,_0xaeadfc,_0x55d297;if(!this[_0x55a625(0x61c)](_0xc31f44,_0x53e39c)||(this['_tableSelectionService'][_0x55a625(0x2b4)](),this['_editorDisposable']=null,this[_0x55a625(0x269)]=null,this['_setTableKeyboardFocus'](!0x1),!_0xc31f44))return;this[_0x55a625(0x33f)][_0x55a625(0x618)](_0xc31f44[_0x55a625(0x264)]);let _0x4d5c0f=this['_renderContext'][_0x55a625(0x370)][_0x55a625(0x60b)](_0x452a45(_0xc31f44['unitId'],_0xc31f44[_0x55a625(0x602)],_0xc31f44[_0x55a625(0x6ec)]));_0x4d5c0f==null||(_0x4d9619=_0x4d5c0f[_0x55a625(0x6b9)])==null||_0x4d9619[_0x55a625(0x5cd)](_0x4d5c0f,null),_0x4d5c0f==null||(_0x347dd7=_0x4d5c0f[_0x55a625(0x62b)])==null||_0x347dd7[_0x55a625(0x5cd)](_0x4d5c0f,null),_0x4d5c0f==null||(_0xaeadfc=_0x4d5c0f[_0x55a625(0x250)])==null||_0xaeadfc[_0x55a625(0x5cd)](_0x4d5c0f,null),_0x4d5c0f==null||(_0x55d297=_0x4d5c0f['setPreviewTable'])==null||_0x55d297[_0x55a625(0x5cd)](_0x4d5c0f,null),this[_0x55a625(0x22c)](_0xc31f44),this['_makeSceneDirty']();}[_0x3cd2e0(0x61c)](_0x3d3eaa,_0x4dfa24){const _0x4d801c=_0x3cd2e0;return _0x3d3eaa?_0x4dfa24!==void 0x0&&_0x4dfa24!==this[_0x4d801c(0x52b)]?!0x1:this[_0x4d801c(0x269)]===yu(_0x3d3eaa):_0x4dfa24===void 0x0||_0x4dfa24===this[_0x4d801c(0x52b)];}[_0x3cd2e0(0x22c)](_0x3d8c53){const _0x857ae5=_0x3cd2e0;var _0x4fd8f5;this['_drawingStateService'][_0x857ae5(0x5d0)]({'unitId':_0x3d8c53[_0x857ae5(0x264)],'subUnitId':_0x3d8c53[_0x857ae5(0x602)]},[_0x3d8c53[_0x857ae5(0x6ec)]],_0x3d8c53['elementId']);let _0x495711=this[_0x857ae5(0x526)]['scene'][_0x857ae5(0x444)](),_0x435b3e=this[_0x857ae5(0x526)]['scene'][_0x857ae5(0x60b)](_0x452a45(_0x3d8c53['unitId'],_0x3d8c53[_0x857ae5(0x602)],_0x3d8c53[_0x857ae5(0x6ec)]));_0x495711&&_0x435b3e&&!_0x435b3e['isInGroup']&&((_0x4fd8f5=_0x495711[_0x857ae5(0x579)])==null||_0x4fd8f5[_0x857ae5(0x5cd)](_0x495711,_0x435b3e));}['_makeSceneDirty'](){const _0x4585d7=_0x3cd2e0;var _0x2c5250,_0x3a2a28;(_0x2c5250=(_0x3a2a28=this[_0x4585d7(0x526)][_0x4585d7(0x370)])[_0x4585d7(0x6dc)])==null||_0x2c5250['call'](_0x3a2a28,!0x0);}};ou=Ha([Q(0x1,_0x3caafe(_0x32dab6)),Q(0x2,_0x3caafe(_0x3837ee)),Q(0x3,_0x3caafe(J)),Q(0x4,_0x44ccc3),Q(0x5,_0x3caafe(_0x50674c)),Q(0x6,_0x1dfd9e),Q(0x7,_0x24e1b6),Q(0x8,_0x3caafe(Ua)),Q(0x9,_0x363d37),Q(0xa,_0x2a475c),Q(0xb,_0x3caafe(_0x50ebf5)),Q(0xc,_0x7c4ce4),Q(0xd,_0x2e0c48),Q(0xe,_0x317288),Q(0xf,_0x3caafe(_0x21bf58))],ou);function su(_0x1438ff){const _0xdce01b=_0x3cd2e0;if(_0x1438ff[_0xdce01b(0x39d)]||_0x1438ff['ctrlKey']||_0x1438ff[_0xdce01b(0x2e4)])return null;switch(_0x1438ff[_0xdce01b(0x5e4)]){case _0xdce01b(0x55d):return{'rowDelta':0x0,'columnDelta':_0x1438ff['shiftKey']?-0x1:0x1,'wrap':!0x0};default:return null;}}function cu(_0x2c620e){const _0x3719ce=_0x3cd2e0;let _0x9b3503={'preventDefault':()=>{},'stopPropagation':()=>{}};switch(_0x2c620e){case _0x3719ce(0x5b6):case'extend-left':return{..._0x9b3503,'key':'ArrowLeft'};case _0x3719ce(0x177):case'extend-right':return{..._0x9b3503,'key':_0x3719ce(0x5e7)};case _0x3719ce(0x69e):case _0x3719ce(0x2a2):return{..._0x9b3503,'key':_0x3719ce(0x44c)};case _0x3719ce(0x2bf):case _0x3719ce(0x1a3):return{..._0x9b3503,'key':_0x3719ce(0x2d7)};case _0x3719ce(0x2ab):return{..._0x9b3503,'key':'Tab'};case _0x3719ce(0x603):return{..._0x9b3503,'key':_0x3719ce(0x55d),'shiftKey':!0x0};case _0x3719ce(0x5bd):return{..._0x9b3503,'key':'Enter'};default:return null;}}function lu(_0x4f3f22,_0x3e67bd){const _0x46da31=_0x3cd2e0;let _0x483fd1=_0x4f3f22[_0x46da31(0x1f0)][_0x46da31(0x6e3)],_0x36fd63=_0x4f3f22[_0x46da31(0x6e3)];return{'left':_0x483fd1[_0x46da31(0x3b6)]??(_0x36fd63==null?void 0x0:_0x36fd63[_0x46da31(0x3b6)])??0x0,'top':_0x483fd1['top']??(_0x36fd63==null?void 0x0:_0x36fd63[_0x46da31(0x649)])??0x0,'width':_0x483fd1[_0x46da31(0x172)]??(_0x36fd63==null?void 0x0:_0x36fd63[_0x46da31(0x172)])??(_0x3e67bd==null?void 0x0:_0x3e67bd['width']),'height':_0x483fd1[_0x46da31(0x276)]??(_0x36fd63==null?void 0x0:_0x36fd63[_0x46da31(0x276)])??(_0x3e67bd==null?void 0x0:_0x3e67bd['height']),'angle':_0x483fd1[_0x46da31(0x39e)]??(_0x36fd63==null?void 0x0:_0x36fd63['angle'])??0x0,'flipX':_0x483fd1[_0x46da31(0x452)]??(_0x36fd63==null?void 0x0:_0x36fd63[_0x46da31(0x452)]),'flipY':_0x483fd1[_0x46da31(0x449)]??(_0x36fd63==null?void 0x0:_0x36fd63['flipY'])};}function uu(_0x3375fd,_0x336c3f=0x0){const _0x4a7653=_0x3cd2e0;return typeof _0x3375fd==_0x4a7653(0x59d)&&Number[_0x4a7653(0x2cd)](_0x3375fd)?_0x3375fd:_0x336c3f;}function du(_0x2af19d,_0x4b06eb){let _0x35e465=uu(_0x2af19d,_0x4b06eb);return _0x35e465>0x0?_0x35e465:_0x4b06eb;}function fu(_0x54d01e){const _0x580fa8=_0x3cd2e0;return _0x54d01e===_0x580fa8(0x238)?void 0x0:_0x54d01e;}function pu(_0x3d453a){const _0x49278f=_0x3cd2e0;let _0xd25f5c=_0x3d453a[0x0];if(_0xd25f5c)return{'row':Math[_0x49278f(0x61f)](_0xd25f5c['startRow'],_0xd25f5c[_0x49278f(0x616)]),'column':Math[_0x49278f(0x61f)](_0xd25f5c[_0x49278f(0x4dd)],_0xd25f5c[_0x49278f(0x655)])};}function mu(_0x306e38,_0x489868){const _0x186a77=_0x3cd2e0;let _0x2b765c=du(_0x489868,0x1),_0x3309e0=_0x306e38[_0x186a77(0x37f)](_0x50f201=>du(_0x50f201,0x1)),_0x5dda3c=_0x3309e0[_0x186a77(0x170)]((_0x75c1a5,_0x29aa99)=>_0x75c1a5+_0x29aa99,0x0);return _0x3309e0[_0x186a77(0x37f)](_0xc36b99=>_0xc36b99/_0x5dda3c*_0x2b765c);}function hu(_0xb0a2a4,_0x13bb9e){const _0x49aa5b=_0x3cd2e0;let _0x556df4=0x0,_0x3d4897={'index':0x0,'distance':Math['abs'](_0x13bb9e)};for(let _0x47b637=0x0;_0x47b637<_0xb0a2a4[_0x49aa5b(0x567)];_0x47b637+=0x1){_0x556df4+=_0xb0a2a4[_0x47b637];let _0xd53141=Math[_0x49aa5b(0x51c)](_0x13bb9e-_0x556df4);_0xd53141<_0x3d4897[_0x49aa5b(0x28f)]&&(_0x3d4897={'index':_0x47b637+0x1,'distance':_0xd53141});}return _0x3d4897[_0x49aa5b(0x510)];}function gu(_0x1c3a13,_0x10f8a,_0x11b61e){const _0x57c79a=_0x3cd2e0;let _0x316124=0x0,_0x89cf3a=null;for(let _0x430035=0x0;_0x430035<_0x1c3a13[_0x57c79a(0x567)]-0x1;_0x430035+=0x1){_0x316124+=_0x1c3a13[_0x430035];let _0x25fe10=Math[_0x57c79a(0x51c)](_0x10f8a-_0x316124);_0x25fe10>_0x11b61e||(!_0x89cf3a||_0x25fe10<_0x89cf3a['distance'])&&(_0x89cf3a={'boundaryIndex':_0x430035+0x1,'distance':_0x25fe10});}return _0x89cf3a;}function _u(_0x5a66e9,_0xac33fc,_0x465f0c,_0x7e9f29){const _0x2cfe73=_0x3cd2e0;let _0x4369af=_0xac33fc-0x1,_0x48fdbe=_0xac33fc;if(_0x4369af<0x0||_0x48fdbe>=_0x5a66e9[_0x2cfe73(0x567)])return _0x5a66e9;let _0x263269=_0x5a66e9[_0x4369af],_0x1579bd=_0x5a66e9[_0x48fdbe],_0x1585ca=_0x7e9f29-_0x263269,_0x21889e=_0x1579bd-_0x7e9f29,_0xdf56ef=Math[_0x2cfe73(0x61f)](Math[_0x2cfe73(0x379)](_0x465f0c,_0x1585ca),_0x21889e),_0x4fc18a=_0x5a66e9[_0x2cfe73(0x5b4)]();return _0x4fc18a[_0x4369af]=_0x263269+_0xdf56ef,_0x4fc18a[_0x48fdbe]=_0x1579bd-_0xdf56ef,_0x4fc18a;}function vu(_0x5616ab,_0x464450,_0x164a99){const _0x146e1a=_0x3cd2e0;return _0x164a99===_0x146e1a(0x6ad)?_0x5616ab[_0x146e1a(0x581)]['some']((_0x504f1b,_0x5c7ed7)=>{const _0x5d83be=_0x146e1a;var _0x55c1f9;return _0x504f1b[_0x5d83be(0x172)]!==((_0x55c1f9=_0x464450['columns'][_0x5c7ed7])==null?void 0x0:_0x55c1f9['width']);}):_0x5616ab[_0x146e1a(0x400)][_0x146e1a(0x674)]((_0x5dbcc3,_0x462b38)=>{const _0x153969=_0x146e1a;var _0x3ad009;return(_0x5dbcc3['height']??0x18)!==(((_0x3ad009=_0x464450['rows'][_0x462b38])==null?void 0x0:_0x3ad009[_0x153969(0x276)])??0x18);});}function yu(_0x51948b){const _0x3b802b=_0x3cd2e0;return _0x51948b['unitId']+':'+_0x51948b[_0x3b802b(0x602)]+':'+_0x51948b[_0x3b802b(0x6ec)]+':'+_0x51948b['tableId']+':'+_0x51948b[_0x3b802b(0x3a3)]+':'+_0x51948b[_0x3b802b(0x6ad)];}function bu(_0x4f944f){const _0xd7db=_0x3cd2e0;if(_0x4f944f===_0xd7db(0x2d1))return _0x456b59[_0xd7db(0x3e4)];if(_0x4f944f===_0xd7db(0x5fd))return _0x456b59[_0xd7db(0x607)];if(_0x4f944f==='top')return _0x456b59['TOP'];}function xu(_0x2789a4){const _0x599f4a=_0x3cd2e0;if(_0x2789a4===_0x456b59[_0x599f4a(0x3e4)])return _0x26db87[_0x599f4a(0x243)];if(_0x2789a4===_0x456b59[_0x599f4a(0x607)])return _0x26db87[_0x599f4a(0x451)];if(_0x2789a4===_0x456b59[_0x599f4a(0x448)])return _0x26db87[_0x599f4a(0x604)];}function Su(_0x4a4b38,_0x476c29){const _0x238a07=_0x3cd2e0;return{..._0x4a4b38,..._0x476c29,..._0x476c29['fill']?{'fill':{..._0x4a4b38==null?void 0x0:_0x4a4b38['fill'],..._0x476c29['fill']}}:{},..._0x476c29[_0x238a07(0x2d5)]?{'borders':{..._0x4a4b38==null?void 0x0:_0x4a4b38[_0x238a07(0x2d5)],..._0x476c29[_0x238a07(0x2d5)]}}:{},..._0x476c29['margins']?{'margins':{..._0x4a4b38==null?void 0x0:_0x4a4b38[_0x238a07(0x2db)],..._0x476c29['margins']}}:{}};}function Cu(_0x3febc8){const _0x4f53f1=_0x3cd2e0;if((_0x3febc8==null?void 0x0:_0x3febc8[_0x4f53f1(0x278)])===_0x4f53f1(0x238))return _0x4f53f1(0x633);let _0x4029c2=_0x3febc8==null?void 0x0:_0x3febc8[_0x4f53f1(0x565)];if(!_0x4029c2)return;let _0x1d034e=Ou(_0x4029c2);if(_0x1d034e){let _0x1d9bfc=Mu(_0x1d034e['a'])??0x1;return _0x4f53f1(0x60a)+_0x1d034e['r']+',\x20'+_0x1d034e['g']+',\x20'+_0x1d034e['b']+',\x20'+Pu(_0x1d9bfc)+')';}let _0x1220b7=ku(_0x4029c2);if(!_0x1220b7)return _0x4029c2;let _0x2304ce=Mu(_0x3febc8[_0x4f53f1(0x33a)])??0x1;return _0x4f53f1(0x60a)+_0x1220b7['r']+',\x20'+_0x1220b7['g']+',\x20'+_0x1220b7['b']+',\x20'+Pu(_0x2304ce)+')';}function wu(_0x52ae26){let _0x5a5507=Ou(_0x52ae26);if(_0x5a5507)return{'color':Au(_0x5a5507['r'],_0x5a5507['g'],_0x5a5507['b']),'alpha':Mu(_0x5a5507['a'])??0x1};let _0x322249=ku(_0x52ae26);return _0x322249?{'color':Au(_0x322249['r'],_0x322249['g'],_0x322249['b'])}:{'color':_0x52ae26};}function Tu(_0x5c4682,_0x2b6ff2){const _0x27a4ab=_0x3cd2e0;return Cu(_0x2b6ff2[_0x27a4ab(0x36d)]['fill'])??Eu(_0x5c4682,_0x2b6ff2[_0x27a4ab(0x3a3)]);}function Eu(_0x350370,_0x50589a){const _0x535211=_0x3cd2e0;return _0x350370[_0x535211(0x6ab)][_0x535211(0x1fb)]&&_0x50589a===0x0?_0x535211(0x5ef):_0x350370[_0x535211(0x6ab)][_0x535211(0x636)]&&_0x50589a%0x2==0x0?'#F7FAFF':_0x535211(0x4f9);}function Du(_0x5e5b3e){const _0x48928a=_0x3cd2e0;return typeof _0x5e5b3e==_0x48928a(0x59d)&&Number['isFinite'](_0x5e5b3e);}function Ou(_0x551593){const _0x30fd5a=_0x3cd2e0;let _0xf430a6=/^rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})(?:\s*,\s*(\d+(?:\.\d+)?|\.\d+))?\s*\)$/i['exec'](_0x551593[_0x30fd5a(0x337)]());if(_0xf430a6)return{'r':ju(Number['parseInt'](_0xf430a6[0x1],0xa)),'g':ju(Number['parseInt'](_0xf430a6[0x2],0xa)),'b':ju(Number['parseInt'](_0xf430a6[0x3],0xa)),'a':_0xf430a6[0x4]===void 0x0?0x1:Number[_0x30fd5a(0x4a7)](_0xf430a6[0x4])};}function ku(_0x2c83a3){const _0x56ae74=_0x3cd2e0;let _0xf0a4b0=_0x2c83a3[_0x56ae74(0x337)](),_0x2840d5=/^#([0-9a-f]{3})$/i[_0x56ae74(0x691)](_0xf0a4b0);if(_0x2840d5){let [_0x2bc824,_0x181147,_0x2ea931]=_0x2840d5[0x1][_0x56ae74(0x697)]('')[_0x56ae74(0x37f)](_0xe91846=>Number['parseInt'](''+_0xe91846+_0xe91846,0x10));return{'r':_0x2bc824,'g':_0x181147,'b':_0x2ea931};}let _0x46ac7e=/^#([0-9a-f]{6})$/i[_0x56ae74(0x691)](_0xf0a4b0);if(_0x46ac7e)return{'r':Number[_0x56ae74(0x354)](_0x46ac7e[0x1]['slice'](0x0,0x2),0x10),'g':Number[_0x56ae74(0x354)](_0x46ac7e[0x1]['slice'](0x2,0x4),0x10),'b':Number['parseInt'](_0x46ac7e[0x1]['slice'](0x4,0x6),0x10)};}function Au(_0x12b6c1,_0x5812cb,_0x5a3b5e){const _0x2c34a6=_0x3cd2e0;return('#'+[_0x12b6c1,_0x5812cb,_0x5a3b5e][_0x2c34a6(0x37f)](_0x180d2d=>ju(_0x180d2d)['toString'](0x10)[_0x2c34a6(0x2c8)](0x2,'0'))[_0x2c34a6(0x323)](''))[_0x2c34a6(0x3a5)]();}function ju(_0x5c575c){const _0x54d2aa=_0x3cd2e0;return Number[_0x54d2aa(0x2cd)](_0x5c575c)?Math[_0x54d2aa(0x61f)](0xff,Math[_0x54d2aa(0x379)](0x0,Math[_0x54d2aa(0x578)](_0x5c575c))):0x0;}function Mu(_0x59f9bc){const _0x698bc8=_0x3cd2e0;if(typeof _0x59f9bc=='number'&&Number[_0x698bc8(0x2cd)](_0x59f9bc))return Nu(_0x59f9bc<=0x1?_0x59f9bc:_0x59f9bc<=0x64?_0x59f9bc/0x64:_0x59f9bc/0x186a0);}function Nu(_0x8dea56){const _0x1a264e=_0x3cd2e0;return Math['min'](0x1,Math[_0x1a264e(0x379)](0x0,_0x8dea56));}function Pu(_0x1c37c8){const _0x340eab=_0x3cd2e0;return Number(_0x1c37c8[_0x340eab(0x3c7)](0x4))['toString']();}function Fu(_0x5d0e0d){const _0x1ff652=_0x3cd2e0;return new DOMParser()[_0x1ff652(0x2ca)](_0x5d0e0d,_0x1ff652(0x5fb))[_0x1ff652(0x2d0)]('img')!==null;}async function Iu(_0x19dbab,_0x508864){const _0x50bdc0=_0x3cd2e0;let _0x3b8173=_0x453584(_0x19dbab);return _0x508864?Fu(_0x508864)?_0x3b8173[_0x50bdc0(0x567)]>0x0?_0x3b8173:_0x58afd4(_0x508864):[]:_0x3b8173;}var Lu=class extends ou{[_0x3cd2e0(0x32f)](){const _0x31bc33=_0x3cd2e0;this[_0x31bc33(0x544)](_0x5386fa(this['_tableSelectionService']['selection$']['subscribe'](_0x540783=>{const _0x5acd5a=_0x31bc33;if(!_0x540783||_0x540783[_0x5acd5a(0x264)]!==this['_renderContext']['unitId'])return;let _0x4bfd3b=this[_0x5acd5a(0x256)](_0x540783);_0x4bfd3b&&(this['_syncTableSelectionToObject'](_0x4bfd3b[_0x5acd5a(0x538)],_0x4bfd3b[_0x5acd5a(0x3d7)],_0x540783),this[_0x5acd5a(0x6e8)](_0x540783),this[_0x5acd5a(0x526)][_0x5acd5a(0x370)]['makeDirty'](!0x0));})));}['_activateDrawingTable'](...[_0x32074b,_0x293518]){const _0x14a1c0=_0x3cd2e0;this[_0x14a1c0(0x2a3)](_0x32074b,_0x293518);}[_0x3cd2e0(0x1d5)](...[_0x27f448]){const _0x88b763=_0x3cd2e0;_0x27f448 instanceof Il&&_0x27f448['mobileSelection'][_0x88b763(0x15f)](!0x0);}[_0x3cd2e0(0x166)](){return!0x1;}[_0x3cd2e0(0x65b)](...[_0x431889,_0x3d83cd,_0x687bbe,_0x36f657,_0x3ad7cf,_0x2eddd7]){this['_startStage1TableBodyPointer'](_0x431889,_0x687bbe,_0x36f657,_0x3ad7cf,_0x2eddd7);}[_0x3cd2e0(0x5a5)](...[_0x29ef6b,_0x34b0a9]){const _0x31eb67=_0x3cd2e0;_0x29ef6b instanceof Il&&_0x29ef6b[_0x31eb67(0x206)]['setResizeBoundary']({'axis':_0x34b0a9[_0x31eb67(0x612)][_0x31eb67(0x338)],'index':_0x34b0a9[_0x31eb67(0x612)][_0x31eb67(0x28c)]});}['_resolveResizeHandle'](...[_0x59e822,_0xc98492,_0x4c8b86,_0x1829b2]){const _0x536484=_0x3cd2e0;let _0x50c9d1=_0xc98492 instanceof Il?_0xc98492[_0x536484(0x206)]['hitTestResizeBoundary'](new _0x107851(_0x4c8b86,_0x1829b2)):null;return(_0x50c9d1==null?void 0x0:_0x50c9d1[_0x536484(0x1b6)])===_0x536484(0x30a)&&_0x50c9d1[_0x536484(0x3a3)]!==void 0x0?{'axis':_0x536484(0x3a3),'boundaryIndex':_0x50c9d1[_0x536484(0x3a3)]+0x1}:(_0x50c9d1==null?void 0x0:_0x50c9d1[_0x536484(0x1b6)])===_0x536484(0x53c)&&_0x50c9d1[_0x536484(0x6ad)]!==void 0x0?{'axis':_0x536484(0x6ad),'boundaryIndex':_0x50c9d1[_0x536484(0x6ad)]+0x1}:null;}['_handleStructuralHeaderPointerDown'](...[_0x226ad0,_0x516da7,_0x5bf9cb]){const _0x129bde=_0x3cd2e0;this[_0x129bde(0x455)](),_0x5bf9cb[_0x129bde(0x1b6)]==='row-header'&&_0x5bf9cb[_0x129bde(0x3a3)]!==void 0x0?this[_0x129bde(0x6c4)](_0x226ad0,_0x516da7,_0x5bf9cb[_0x129bde(0x3a3)],_0x5bf9cb[_0x129bde(0x3a3)]):_0x5bf9cb[_0x129bde(0x1b6)]===_0x129bde(0x2f1)&&_0x5bf9cb[_0x129bde(0x6ad)]!==void 0x0&&this[_0x129bde(0x204)](_0x226ad0,_0x516da7,_0x5bf9cb[_0x129bde(0x6ad)],_0x5bf9cb[_0x129bde(0x6ad)]);}['_scheduleResizeHold'](...[_0x3ac1e0,_0x3d97d8,_0x2c6bd0,_0x543d93,_0x2f6450]){let _0x1ff6e6=this['_resolvePointerScenePoint'](_0x2c6bd0);if(this['_resolveResizeHit'](_0x3ac1e0,_0x3d97d8,_0x1ff6e6['x'],_0x1ff6e6['y'])){let _0x12cf65=setTimeout(()=>{const _0x403496=_0x5473;this[_0x403496(0x24d)]({'focusCell':!0x1}),this[_0x403496(0x3b9)](_0x3ac1e0,_0x3d97d8[_0x403496(0x62a)],_0x3d97d8,_0x2c6bd0,_0x543d93);},0x1c2);_0x2f6450['add'](_0x5386fa(()=>clearTimeout(_0x12cf65)));}}[_0x3cd2e0(0x275)](){const _0x45a922=_0x3cd2e0;return this[_0x45a922(0x526)]['scene'][_0x45a922(0x4fd)]()['scaleX'];}[_0x3cd2e0(0x2b7)](...[_0x255056]){const _0x218d64=_0x3cd2e0;this[_0x218d64(0x3b0)](_0x255056);}[_0x3cd2e0(0x2b2)](...[_0x3a252d]){const _0x38a9bb=_0x3cd2e0;return _0x3a252d[_0x38a9bb(0x1b6)]!==_0x38a9bb(0x38a)&&super[_0x38a9bb(0x2b2)](_0x3a252d);}[_0x3cd2e0(0x4ae)](){return!0x0;}[_0x3cd2e0(0x65d)](...[_0x40407d,_0x73f82,_0x543885,_0x2203a8]){const _0x3145fe=_0x3cd2e0;if(!(_0x73f82 instanceof Il))return!0x1;let _0x4d51a6=this['_resolvePointerScenePoint'](_0x543885),_0x367f8a=_0x73f82[_0x3145fe(0x206)][_0x3145fe(0x554)](new _0x107851(_0x4d51a6['x'],_0x4d51a6['y']));return _0x367f8a?this[_0x3145fe(0x28d)](_0x40407d,_0x73f82,_0x367f8a,_0x543885,_0x2203a8):!0x1;}[_0x3cd2e0(0x3fc)](...[_0x44e98a]){const _0x1f2bbc=_0x3cd2e0;_0x44e98a instanceof Il&&_0x44e98a[_0x1f2bbc(0x206)][_0x1f2bbc(0x6a8)](null);}};const Ru=_0x3cd2e0(0x53f),zu=_0x3cd2e0(0x524),Bu=_0x3cd2e0(0x394),Vu=_0x3cd2e0(0x27e);function Hu(_0x5c03f7,_0x1aadc1){const _0x4dded0=_0x3cd2e0;return{'id':_0x5c03f7,'type':_0xb4a2a3[_0x4dded0(0x456)],'label':{'name':_0x1aadc1,'hoverable':!0x1,'selectable':!0x1}};}function Uu(){return Hu(zu,Is);}function Wu(){return Hu(Bu,Ls);}function Gu(){return Hu(Vu,Rs);}function Ku(_0x4496af){const _0x4e16e1=_0x3cd2e0;var _0x536fab;let _0x5f17c5=_0x4496af[_0x4e16e1(0x57d)](fo),_0x981fa6=((_0x536fab=_0x4496af[_0x4e16e1(0x57d)](_0x31c1a4)[_0x4e16e1(0x4f1)](_0x4dedda))==null||(_0x536fab=_0x536fab['editor'])==null?void 0x0:_0x536fab[_0x4e16e1(0x427)])!==!0x1;return{'id':po['id'],'type':_0xb4a2a3[_0x4e16e1(0x456)],'icon':_0x4e16e1(0x26f),'title':_0x4e16e1(0x439),'tooltip':_0x4e16e1(0x439),'activated$':_0x5f17c5[_0x4e16e1(0x665)],'disabled$':_0x981fa6?void 0x0:_0x57a1ef(!0x0)};}const qu={'forward':{'id':aa['id'],'icon':'MoveUpIcon','title':'slides-table-ui.ribbon.arrangeForward'},'backward':{'id':oa['id'],'icon':_0x3cd2e0(0x423),'title':_0x3cd2e0(0x64d)},'front':{'id':sa['id'],'icon':'TopmostIcon','title':_0x3cd2e0(0x44e)},'back':{'id':ca['id'],'icon':'BottomIcon','title':_0x3cd2e0(0x453)}};function Ju(_0x5e47e0,_0x5d8975){const _0x16d6a6=_0x3cd2e0;let _0x5f5713=_0x5e47e0[_0x16d6a6(0x57d)](_0x31c1a4),_0x2ed7d1=_0x5e47e0[_0x16d6a6(0x57d)](_0x50ebf5),_0x16bdac=_0x5e47e0[_0x16d6a6(0x57d)](_0x50674c),_0x1a9c68=_0x5e47e0[_0x16d6a6(0x57d)](J);return _0x350a1f([_0x16bdac['state$'],_0x2ed7d1[_0x16d6a6(0x6d4)]['pipe'](_0x496618(void 0x0)),_0x1a9c68[_0x16d6a6(0x312)][_0x16d6a6(0x432)](_0x496618(null))])['pipe'](_0x396369(([_0x3244b9,,_0x50b835])=>{const _0x576f17=_0x16d6a6;var _0x2f5217;if(((_0x2f5217=_0x5f5713[_0x576f17(0x4f1)](_0x4dedda))==null||(_0x2f5217=_0x2f5217[_0x576f17(0x3ee)])==null?void 0x0:_0x2f5217[_0x576f17(0x427)])===!0x1||(_0x50b835==null?void 0x0:_0x50b835[_0x576f17(0x1b6)])==='text')return!0x0;let _0x2e3b60=_0x3244b9['context'];if(!_0x2e3b60||_0x3244b9['selectedIds'][_0x576f17(0x567)]!==0x1)return!0x0;let _0x4171a9=_0x3244b9['selectedIds'][0x0],_0x1843fb=_0x2ed7d1['getDrawingByParam']({'unitId':_0x2e3b60[_0x576f17(0x264)],'subUnitId':_0x2e3b60[_0x576f17(0x602)],'drawingId':_0x4171a9});if((_0x1843fb==null?void 0x0:_0x1843fb[_0x576f17(0x1f0)][_0x576f17(0x278)])!==_0x5ddaa8[_0x576f17(0x230)])return!0x0;let _0x3c950d=_0x2ed7d1[_0x576f17(0x438)](_0x2e3b60[_0x576f17(0x264)],_0x2e3b60['subUnitId']),_0x4ca4a8=_0x3c950d['indexOf'](_0x4171a9);return _0x4ca4a8<0x0||(_0x5d8975==='forward'||_0x5d8975===_0x576f17(0x61e)?_0x4ca4a8===_0x3c950d[_0x576f17(0x567)]-0x1:_0x4ca4a8===0x0);}));}function Yu(_0x4352d8,_0x403c50){const _0x277adf=_0x3cd2e0;let _0x142de6=qu[_0x403c50];return{'id':_0x142de6['id'],'type':_0xb4a2a3[_0x277adf(0x456)],'icon':_0x142de6[_0x277adf(0x2a1)],'title':_0x142de6[_0x277adf(0x4d3)],'tooltip':_0x142de6[_0x277adf(0x4d3)],'disabled$':Ju(_0x4352d8,_0x403c50)};}const Xu=_0xd39eb2=>Yu(_0xd39eb2,_0x3cd2e0(0x680)),Zu=_0x2b5b88=>Yu(_0x2b5b88,'backward'),Qu=_0x3ffd26=>Yu(_0x3ffd26,_0x3cd2e0(0x61e)),$u=_0x4bfec1=>Yu(_0x4bfec1,_0x3cd2e0(0x408));function ed(_0x48681a,_0x5d1882){const _0x21cb80=_0x3cd2e0;let _0x267cc2=_0x48681a[_0x21cb80(0x57d)](_0x31c1a4),_0x5b077d=_0x48681a[_0x21cb80(0x57d)](_0x1fa43c),_0x3d6e8b=_0x48681a['get'](J);return _0x350a1f([_0x3d6e8b['selection$'],_0x5b077d[_0x21cb80(0x690)][_0x21cb80(0x432)](_0x496618(void 0x0))])[_0x21cb80(0x432)](_0x396369(([_0x9caf25])=>{const _0x7b5a9c=_0x21cb80;var _0x574ff9;return((_0x574ff9=_0x267cc2[_0x7b5a9c(0x4f1)](_0x4dedda))==null||(_0x574ff9=_0x574ff9['editor'])==null?void 0x0:_0x574ff9[_0x7b5a9c(0x427)])===!0x1||(_0x9caf25==null?void 0x0:_0x9caf25[_0x7b5a9c(0x1b6)])===_0x7b5a9c(0x45d)||!_0x5d1882(_0x48681a);}));}const td=_0x3cd2e0(0x265),nd='slide-table.menu.delete',rd=_0x3cd2e0(0x313);function id(_0x500869){const _0x3c7ff1=_0x3cd2e0;return{'id':td,'type':_0xb4a2a3[_0x3c7ff1(0x18b)],'title':_0x3c7ff1(0x1ab),'hidden$':ad(_0x500869)};}function ad(_0x15b9bb){const _0x4f4a12=_0x3cd2e0;if(!_0x15b9bb)return _0x57a1ef(!0x0);let _0x1d9fad=_0x15b9bb[_0x4f4a12(0x57d)](J),_0x38c875=_0x15b9bb[_0x4f4a12(0x57d)](_0x3837ee);return _0x1d9fad[_0x4f4a12(0x312)][_0x4f4a12(0x432)](_0x396369(_0x2ff65f=>{const _0x5b3d57=_0x4f4a12;let _0x495f0a=Z(_0x2ff65f);return!_0x495f0a||!_0x38c875[_0x5b3d57(0x6c1)](_0x495f0a[_0x5b3d57(0x264)],_0x495f0a['tableId']);}));}function od(){const _0x1c03b2=_0x3cd2e0;return{'id':nd,'type':_0xb4a2a3[_0x1c03b2(0x18b)],'icon':_0x1c03b2(0x3fe),'title':_0x1c03b2(0x5e5),'tooltip':'slides-table-ui.contextMenu.delete'};}function sd(_0x2028c9){const _0x1399f8=_0x3cd2e0;let _0x4bef00=_0x350a1f([ed(_0x2028c9,Ma),ed(_0x2028c9,Na)])[_0x1399f8(0x432)](_0x396369(([_0x2cdd30,_0x471b59])=>[{'id':Yi['id'],'value':Yi['id'],'icon':_0x1399f8(0x638),'label':{'name':'slides-table-ui.contextMenu.deleteRow','selectable':!0x1},'params':{},'disabled':_0x2cdd30},{'id':Xi['id'],'value':Xi['id'],'icon':_0x1399f8(0x6a3),'label':{'name':_0x1399f8(0x57a),'selectable':!0x1},'params':{},'disabled':_0x471b59}]));return{...od(),'selections':_0x4bef00};}function cd(){return{'id':rd,'type':_0xb4a2a3['SUBITEMS'],'icon':'AdjustHeightDoubleIcon','title':'slides-table-ui.contextMenu.distribute'};}function ld(_0x2cc6ce){const _0x32a5b6=_0x3cd2e0;var _0x402147;let _0x1fc171=((_0x402147=_0x2cc6ce[_0x32a5b6(0x57d)](_0x31c1a4)[_0x32a5b6(0x4f1)](_0x4dedda))==null||(_0x402147=_0x402147[_0x32a5b6(0x3ee)])==null?void 0x0:_0x402147[_0x32a5b6(0x427)])===!0x1,_0xd81a94=_0x2cc6ce[_0x32a5b6(0x57d)](J)['selection$'][_0x32a5b6(0x432)](_0x496618(null),_0x396369(_0x1cedb7=>_0x1fc171||(_0x1cedb7==null?void 0x0:_0x1cedb7[_0x32a5b6(0x1b6)])==='text'));return{'id':ra['id'],'type':_0xb4a2a3[_0x32a5b6(0x456)],'icon':_0x32a5b6(0x3fe),'title':_0x32a5b6(0x44b),'tooltip':_0x32a5b6(0x44b),'disabled$':_0xd81a94};}function ud(_0x56f9ff){const _0x56782e=_0x3cd2e0;return{'id':Gi['id'],'type':_0xb4a2a3[_0x56782e(0x456)],'icon':'InsertRowAboveDoubleIcon','title':_0x56782e(0x53e),'tooltip':_0x56782e(0x53e),'disabled$':_0x56f9ff?ed(_0x56f9ff,bd):void 0x0};}function dd(_0x2ebc41){const _0x507666=_0x3cd2e0;return{'id':Ki['id'],'type':_0xb4a2a3[_0x507666(0x456)],'icon':_0x507666(0x63e),'title':_0x507666(0x4ee),'tooltip':_0x507666(0x4ee),'disabled$':_0x2ebc41?ed(_0x2ebc41,bd):void 0x0};}function fd(_0x53f49c){const _0x2bd194=_0x3cd2e0;return{'id':qi['id'],'type':_0xb4a2a3[_0x2bd194(0x456)],'icon':_0x2bd194(0x5d6),'title':_0x2bd194(0x396),'tooltip':_0x2bd194(0x396),'disabled$':_0x53f49c?ed(_0x53f49c,bd):void 0x0};}function pd(_0x1d9e72){const _0x5f2baf=_0x3cd2e0;return{'id':Ji['id'],'type':_0xb4a2a3[_0x5f2baf(0x456)],'icon':_0x5f2baf(0x410),'title':'slides-table-ui.contextMenu.insertColumnRight','tooltip':_0x5f2baf(0x60e),'disabled$':_0x1d9e72?ed(_0x1d9e72,bd):void 0x0};}function md(_0x536e14){const _0x381ab2=_0x3cd2e0;return{'id':Yi['id'],'type':_0xb4a2a3[_0x381ab2(0x456)],'icon':_0x381ab2(0x638),'title':_0x381ab2(0x3bd),'tooltip':'slides-table-ui.contextMenu.deleteRow','disabled$':_0x536e14?ed(_0x536e14,Ma):void 0x0};}function hd(_0x45255e){const _0x2835dd=_0x3cd2e0;return{'id':Xi['id'],'type':_0xb4a2a3[_0x2835dd(0x456)],'icon':_0x2835dd(0x6a3),'title':_0x2835dd(0x57a),'tooltip':_0x2835dd(0x57a),'disabled$':_0x45255e?ed(_0x45255e,Na):void 0x0};}function gd(_0x30ddcc){const _0x5653a9=_0x3cd2e0;return{'id':Zi['id'],'type':_0xb4a2a3[_0x5653a9(0x456)],'icon':_0x5653a9(0x1f4),'title':_0x5653a9(0x521),'tooltip':_0x5653a9(0x521),'disabled$':_0x30ddcc?ed(_0x30ddcc,Aa):void 0x0};}function _d(_0x3fbdec){const _0x502718=_0x3cd2e0;return{'id':Qi['id'],'type':_0xb4a2a3['BUTTON'],'icon':'CancelMergeIcon','title':_0x502718(0x4e5),'tooltip':_0x502718(0x4e5),'disabled$':_0x3fbdec?ed(_0x3fbdec,ja):void 0x0};}function vd(_0x28f645){const _0x3b2683=_0x3cd2e0;return{'id':$i['id'],'type':_0xb4a2a3[_0x3b2683(0x456)],'icon':_0x3b2683(0x42a),'title':_0x3b2683(0x573),'tooltip':_0x3b2683(0x573),'disabled$':_0x28f645?ed(_0x28f645,Pa):void 0x0};}function yd(_0x1c2974){const _0x2e89da=_0x3cd2e0;return{'id':ea['id'],'type':_0xb4a2a3['BUTTON'],'icon':_0x2e89da(0x3f1),'title':'slides-table-ui.contextMenu.distributeColumns','tooltip':'slides-table-ui.contextMenu.distributeColumns','disabled$':_0x1c2974?ed(_0x1c2974,Fa):void 0x0};}function bd(_0x4b7e8b){const _0x91fdd5=_0x3cd2e0;let _0x23fc16=_0x4b7e8b[_0x91fdd5(0x57d)](J)[_0x91fdd5(0x5b1)]();return!!_0x23fc16&&_0x23fc16[_0x91fdd5(0x1b6)]!=='text'&&_0x23fc16[_0x91fdd5(0x289)][_0x91fdd5(0x567)]>0x0;}const xd=_0x3cd2e0(0x1c8);function Sd(_0xc17380){const _0x3fd078=_0x3cd2e0;return{'id':xd,'type':_0xb4a2a3[_0x3fd078(0x4ce)],'icon':'TableIcon','tooltip':_0x3fd078(0x371),'slot':!0x0,'hidden$':_0x2924d8(_0xc17380,_0xd672cc['UNIVER_SLIDE']),'selections':[{'label':{'name':ho,'hoverable':!0x1,'selectable':!0x1}}]};}function Cd(_0x3d0ea1){const _0x4f5400=_0x3cd2e0;let _0x2d0beb=_0x3d0ea1[_0x4f5400(0x57d)](_0x50ebf5);return{'id':uo['id'],'type':_0xb4a2a3[_0x4f5400(0x456)],'icon':_0x4f5400(0x3ce),'title':_0x4f5400(0x3f5),'hidden$':new _0x3561ed(_0xbdcf6f=>{const _0x4a9aed=_0x4f5400;let _0x38c7d6=()=>{const _0x27cb5d=_0x5473;var _0xe9c9af;let _0x39cd7f=_0x2d0beb[_0x27cb5d(0x41a)]();if(_0x39cd7f[_0x27cb5d(0x567)]!==0x1){_0xbdcf6f['next'](!0x0);return;}let _0x110e9f=_0x39cd7f[0x0];_0xbdcf6f[_0x27cb5d(0x3d8)](((_0xe9c9af=_0x2d0beb[_0x27cb5d(0x334)](_0x110e9f))==null?void 0x0:_0xe9c9af['element'][_0x27cb5d(0x278)])!==_0x5ddaa8[_0x27cb5d(0x230)]);},_0x5b157b=_0x2d0beb[_0x4a9aed(0x532)][_0x4a9aed(0x18d)](_0x38c7d6);return _0x38c7d6(),()=>_0x5b157b['unsubscribe']();})};}const wd={[_0x4c3245[_0x3cd2e0(0x6b7)]]:{[_0x21d16c[_0x3cd2e0(0x2fd)]]:{[xd]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x5},'menuItemFactory':_0x383170(Sd)}}},[_0x57b220[_0x3cd2e0(0x4e0)]]:{[_0x3861b0[_0x3cd2e0(0x43e)]]:{[uo['id']]:{'order':0x5,'menuItemFactory':_0x383170(Cd)}}},[_0x55f5a6[_0x3cd2e0(0x2ef)]]:{'slide-table.contextMenu.cell':{'order':0x17,[_0x3861b0[_0x3cd2e0(0x2fd)]]:{'order':0x0,[td]:{'order':0x0,'menuItemFactory':_0x383170(id),'slide-table.menu.insert-row-above':{'order':0x0,'menuItemFactory':_0x383170(ud)},'slide-table.menu.insert-row-below':{'order':0x1,'menuItemFactory':_0x383170(dd)},'slide-table.menu.insert-column-left':{'order':0x2,'menuItemFactory':_0x383170(fd)},'slide-table.menu.insert-column-right':{'order':0x3,'menuItemFactory':_0x383170(pd)}},[nd]:{'order':0x1,'menuItemFactory':_0x383170(od),'slide-table.menu.delete-rows':{'order':0x0,'menuItemFactory':_0x383170(md)},'slide-table.menu.delete-columns':{'order':0x1,'menuItemFactory':_0x383170(hd)}},'slide-table.menu.merge-cells':{'order':0x2,'menuItemFactory':_0x383170(gd)},'slide-table.menu.unmerge-cells':{'order':0x3,'menuItemFactory':_0x383170(_d)},[rd]:{'order':0x4,'menuItemFactory':_0x383170(cd),'slide-table.menu.distribute-rows':{'order':0x0,'menuItemFactory':_0x383170(vd)},'slide-table.menu.distribute-columns':{'order':0x1,'menuItemFactory':_0x383170(yd)}}},[_0x3861b0[_0x3cd2e0(0x43e)]]:{'order':0x1,[ra['id']]:{'order':0x0,'menuItemFactory':_0x383170(ld)}}}}},Td={[_0x55f5a6['RIBBON']]:{[Ru]:{'order':0x65,'contextual':!0x0,'slides-table-ui.ribbon.styles':{'order':0x0,[zu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'columnSpan':0x2,'width':0x70},'menuItemFactory':_0x383170(Uu)}},'slides-table-ui.ribbon.cellStyle':{'order':0x1,[Bu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x38},'menuItemFactory':_0x383170(Wu)}},'slides-table-ui.ribbon.text':{'order':0x2,[Vu]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x383170(Gu)}},'slides-table-ui.ribbon.layout':{'order':0x3,'slide-table.ribbon.insert-row-above':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x383170(ud)},'slide-table.ribbon.insert-row-below':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x383170(dd)},'slide-table.ribbon.insert-column-left':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x383170(fd)},'slide-table.ribbon.insert-column-right':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x383170(pd)},'slide-table.ribbon.merge-cells':{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x383170(gd)},'slide-table.ribbon.unmerge-cells':{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x383170(_d)},'slide-table.ribbon.distribute-rows':{'order':0x6,'gridLayout':{'row':0x1,'column':0x4},'menuItemFactory':_0x383170(vd)},'slide-table.ribbon.distribute-columns':{'order':0x7,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x383170(yd)}},'slides-table-ui.ribbon.arrange':{'order':0x4,'slide-table.ribbon.arrange-forward':{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x383170(Xu)},'slide-table.ribbon.arrange-backward':{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x383170(Zu)},'slide-table.ribbon.arrange-front':{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0x383170(Qu)},'slide-table.ribbon.arrange-back':{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x383170($u)}},'slides-table-ui.ribbon.panel':{'order':0x5,[nd]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x383170(sd),[ra['id']]:{'order':0x0,'menuItemFactory':_0x383170(ld)}},[po['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':Ku}}}}},Ed=_0x3cd2e0(0x415);let Dd=class extends _0x166661{constructor(_0x38c8be,_0x446873,_0x4aaa3f,_0x146c51,_0x178fa5,_0x2901b6,_0x149581,_0x36f950){const _0x415039=_0x3cd2e0;super(),this[_0x415039(0x615)]=_0x38c8be,this[_0x415039(0x467)]=_0x446873,this[_0x415039(0x50a)]=_0x4aaa3f,this['_slideDrawingService']=_0x146c51,this[_0x415039(0x682)]=_0x178fa5,this[_0x415039(0x3bc)]=_0x2901b6,this[_0x415039(0x2bd)]=_0x149581,this[_0x415039(0x3b7)]=_0x36f950,q(this,_0x415039(0x50d),!0x1),this[_0x415039(0x615)][_0x415039(0x55f)](Td),this[_0x415039(0x239)]();}[_0x3cd2e0(0x362)](){const _0x8b362c=_0x3cd2e0;this[_0x8b362c(0x682)][_0x8b362c(0x63a)](!0x1,Ed),this[_0x8b362c(0x167)](),super[_0x8b362c(0x362)]();}[_0x3cd2e0(0x239)](){const _0x580423=_0x3cd2e0;this[_0x580423(0x544)](_0x5386fa(this[_0x580423(0x50a)]['state$'][_0x580423(0x18d)](_0x1d4749=>{const _0x425977=_0x580423;var _0x47384b;if(!this[_0x425977(0x364)](_0x1d4749)||this[_0x425977(0x1e3)](_0x1d4749)){this[_0x425977(0x682)][_0x425977(0x63a)](!0x1,Ed),this[_0x425977(0x167)]();return;}let _0x310739=(_0x47384b=_0x1d4749['context'])==null?void 0x0:_0x47384b['unitId'];if(_0x310739&&this[_0x425977(0x6b3)](_0x310739)){this[_0x425977(0x682)][_0x425977(0x63a)](!0x0,Ed),this['_hideTableDesignTab']();return;}this[_0x425977(0x682)][_0x425977(0x63a)](!0x1,Ed),this['_tableDesignVisible']||(this[_0x425977(0x50d)]=!0x0,this[_0x425977(0x467)][_0x425977(0x422)](Ru,{'activate':!0x0}));})));}[_0x3cd2e0(0x364)](_0x1b5b86){const _0x436a78=_0x3cd2e0;var _0x1d9eaf;let _0x516cab=_0x1b5b86[_0x436a78(0x3ac)];return!_0x516cab||_0x1b5b86[_0x436a78(0x661)][_0x436a78(0x567)]!==0x1?!0x1:((_0x1d9eaf=this[_0x436a78(0x2df)][_0x436a78(0x334)]({'unitId':_0x516cab[_0x436a78(0x264)],'subUnitId':_0x516cab['subUnitId'],'drawingId':_0x1b5b86[_0x436a78(0x661)][0x0]}))==null?void 0x0:_0x1d9eaf[_0x436a78(0x1f0)]['type'])===_0x5ddaa8[_0x436a78(0x230)];}['_isNonFullscreenFloatingEmbedChildSelection'](_0x274b5d){const _0x17429e=_0x3cd2e0;var _0x3186c5,_0xda39e0;let _0x5d4922=(_0x3186c5=this[_0x17429e(0x3bc)])==null?void 0x0:_0x3186c5['getFocusOwner'](),_0x20fc2d=(_0xda39e0=this[_0x17429e(0x2bd)])==null?void 0x0:_0xda39e0[_0x17429e(0x20d)]();return(_0x5d4922==null?void 0x0:_0x5d4922['childUnitId'])===_0x274b5d&&(_0x20fc2d==null?void 0x0:_0x20fc2d[_0x17429e(0x213)])===_0x274b5d&&_0x20fc2d[_0x17429e(0x3c1)]===_0x17429e(0x5e9);}['_isIsolatedEmbedChildSelection'](_0x3eaeab){const _0x3459fe=_0x3cd2e0;var _0x57622f;return this[_0x3459fe(0x3b8)](_0x3eaeab)?!0x0:((_0x57622f=this['_embedMountService'])==null?void 0x0:_0x57622f[_0x3459fe(0x514)]()[_0x3459fe(0x674)](_0x5d67e7=>_0x5d67e7[_0x3459fe(0x213)]===_0x3eaeab&&_0x5d67e7[_0x3459fe(0x666)]!==_0x3459fe(0x37a)))??!0x1;}[_0x3cd2e0(0x1e3)](_0x3f4599){const _0x4b4f13=_0x3cd2e0;var _0x3bcd82,_0x554120,_0xa7e48c,_0x3b4db1;let _0x55b830=(_0x3bcd82=this[_0x4b4f13(0x2bd)])==null?void 0x0:_0x3bcd82['getActive']();if(!_0x55b830||_0x55b830[_0x4b4f13(0x3c1)]===_0x4b4f13(0x418)||((_0x554120=_0x3f4599[_0x4b4f13(0x3ac)])==null?void 0x0:_0x554120['unitId'])!==_0x55b830[_0x4b4f13(0x3f6)]||_0x3f4599['selectedIds'][_0x4b4f13(0x567)]!==0x1)return!0x1;let _0x4661b2=(_0xa7e48c=this[_0x4b4f13(0x3b7)])==null?void 0x0:_0xa7e48c[_0x4b4f13(0x514)]()[_0x4b4f13(0x587)](_0x75a448=>_0x75a448[_0x4b4f13(0x3f6)]===_0x55b830['hostUnitId']&&_0x75a448[_0x4b4f13(0x594)]===_0x55b830['embedId']&&_0x75a448['childUnitId']===_0x55b830[_0x4b4f13(0x213)]),_0x4dcc4a=_0x4661b2==null||(_0x3b4db1=_0x4661b2[_0x4b4f13(0x3ac)])==null?void 0x0:_0x3b4db1[_0x4b4f13(0x5fa)][_0x4b4f13(0x55b)];return!!_0x4dcc4a&&_0x3f4599[_0x4b4f13(0x661)][0x0]===_0x4dcc4a;}['_hideTableDesignTab'](){const _0x336461=_0x3cd2e0;this[_0x336461(0x50d)]&&(this[_0x336461(0x50d)]=!0x1,this[_0x336461(0x467)][_0x336461(0x62c)](Ru),this[_0x336461(0x467)][_0x336461(0x326)]([]));}};Dd=Ha([Q(0x0,_0x1c2395),Q(0x1,_0x2be325),Q(0x2,_0x3caafe(_0x50674c)),Q(0x3,_0x3caafe(_0x50ebf5)),Q(0x4,_0x3caafe(fo)),Q(0x5,_0x389413(_0x50e363)),Q(0x6,_0x389413(_0x5bd939)),Q(0x7,_0x389413(_0x48f225))],Dd);let Od=class extends _0x166661{constructor(_0x12977c,_0x171ff5){const _0x246e70=_0x3cd2e0;super(),this[_0x246e70(0x2df)]=_0x12977c,this[_0x246e70(0x4f6)]=_0x171ff5,this[_0x246e70(0x544)](this[_0x246e70(0x4f6)][_0x246e70(0x4c6)]((_0x35bdf2,_0x1893ff)=>{const _0x3d8e47=_0x246e70;var _0x2f7130;if(_0x35bdf2['id']!==_0xc2e22a['id'])return!0x1;let _0x4f4dfc=_0x35bdf2[_0x3d8e47(0x5d7)],_0xfc1c1b=_0x4f4dfc==null||(_0x2f7130=_0x4f4dfc[_0x3d8e47(0x38a)])==null?void 0x0:_0x2f7130['id'];if((_0x4f4dfc==null?void 0x0:_0x4f4dfc['unitId'])!==_0x1893ff['unitId']||!_0xfc1c1b)return!0x1;let _0x16d361=this[_0x3d8e47(0x2df)][_0x3d8e47(0x1cc)](_0x1893ff['unitId'],_0x1893ff[_0x3d8e47(0x602)]);return Object['values'](_0x16d361)[_0x3d8e47(0x674)](_0x4563c2=>_0x4563c2[_0x3d8e47(0x1f0)]['type']===_0x5ddaa8['Table']&&_0x4563c2[_0x3d8e47(0x1f0)][_0x3d8e47(0x37b)]===_0xfc1c1b);}));}};Od=Ha([Q(0x0,_0x50ebf5),Q(0x1,_0x3caafe(_0x4bb0b5))],Od);let kd=class extends _0x585979{constructor(_0x3006e3,_0x57c242,_0x3b1f07,_0x5491e7){const _0x331430=_0x3cd2e0;super(),this[_0x331430(0x6e9)]=_0x3006e3,this[_0x331430(0x30f)]=_0x57c242,this[_0x331430(0x54f)]=_0x3b1f07,this['_tableResourceService']=_0x5491e7,q(this,_0x331430(0x46e),0x9);}[_0x3cd2e0(0x4e4)](_0x255fbc){const _0x265380=_0x3cd2e0;return _0x255fbc[_0x265380(0x1f0)][_0x265380(0x278)]===_0x5ddaa8[_0x265380(0x230)];}[_0x3cd2e0(0x555)](_0x5b0e00,_0x511736){const _0x577ba3=_0x3cd2e0;if(_0x5b0e00['hidden']||_0x5b0e00[_0x577ba3(0x1f0)][_0x577ba3(0x278)]!==_0x5ddaa8[_0x577ba3(0x230)])return null;let _0x5890b8=_0x5b0e00[_0x577ba3(0x1f0)],_0x37b2e7=_0x5890b8[_0x577ba3(0x6e3)],_0x45207b='slide-drawing-'+_0x511736['unitId']+'-'+_0x511736[_0x577ba3(0x602)]+'-'+_0x5b0e00[_0x577ba3(0x193)],_0x27b8d2=this[_0x577ba3(0x5b3)](_0x511736['unitId'],_0x5890b8),_0x2f652d=this[_0x577ba3(0x1c9)][_0x577ba3(0x3a6)](_0x511736[_0x577ba3(0x264)]),_0xb4b963={'controlButtonMode':_0x577ba3(0x348),'left':_0x511736['pageOffsetLeft']+(_0x37b2e7['left']??0x0),'top':_0x511736[_0x577ba3(0x5ac)]+(_0x37b2e7['top']??0x0),'width':_0x37b2e7['width']??0x0,'height':_0x37b2e7[_0x577ba3(0x276)]??0x0,'angle':_0x37b2e7[_0x577ba3(0x39e)]??0x0,'flipX':_0x37b2e7[_0x577ba3(0x452)],'flipY':_0x37b2e7['flipY'],'skewX':_0x37b2e7['skewX'],'skewY':_0x37b2e7[_0x577ba3(0x35c)],'zIndex':_0x511736[_0x577ba3(0x593)],'visible':!_0x5b0e00[_0x577ba3(0x50f)],'evented':!0x0,'imageIoService':this[_0x577ba3(0x54f)],'localeService':this['_localeService'],'tableThemes':_0x2f652d==null?void 0x0:_0x2f652d['themes'],'tableThemePalette':_0x6f0e35(_0x530f8d=>this[_0x577ba3(0x30f)][_0x577ba3(0x33d)](_0x530f8d)),'themeService':this['_themeService']};return _0x27b8d2&&(_0xb4b963[_0x577ba3(0x38a)]=_0x27b8d2),new Il(_0x45207b,_0xb4b963);}['_resolveTableSnapshot'](_0x9c01b2,_0x160c49){const _0x5626e6=_0x3cd2e0;let _0x48d6e3=Ad(_0x160c49),_0x31fdf1=jd(_0x48d6e3==null?void 0x0:_0x48d6e3['tableId']),_0x140807=_0x31fdf1?this[_0x5626e6(0x1c9)]['getTable'](_0x9c01b2,_0x31fdf1):void 0x0;if(_0x140807){let _0x120c5e=_0x1dd2e2(_0x140807,{'id':_0x31fdf1,'rowCount':0x3,'columnCount':0x3});if(_0x120c5e)return _0x120c5e;}let _0x1c7428=Ad(_0x48d6e3==null?void 0x0:_0x48d6e3[_0x5626e6(0x485)]),_0x5b2b1a=_0x31fdf1??jd(_0x48d6e3==null?void 0x0:_0x48d6e3['id']),_0xe59f90=[_0x48d6e3==null?void 0x0:_0x48d6e3[_0x5626e6(0x38a)],_0x1c7428==null?void 0x0:_0x1c7428[_0x5626e6(0x38a)],_0x1c7428==null?void 0x0:_0x1c7428[_0x5626e6(0x66a)],_0x1c7428==null?void 0x0:_0x1c7428[_0x5626e6(0x1b4)],_0x48d6e3];for(let _0x281861 of _0xe59f90){let _0x476902=_0x1dd2e2(_0x281861,{'id':_0x5b2b1a});if(_0x476902)return _0x476902;}}};kd=Ha([Q(0x0,_0x3caafe(_0x54db7d)),Q(0x1,_0x3caafe(_0xa87bea)),Q(0x2,_0x544e17),Q(0x3,_0x3caafe(_0x3837ee))],kd);function Ad(_0x1713dd){const _0x23b65b=_0x3cd2e0;return _0x1713dd&&typeof _0x1713dd==_0x23b65b(0x3d7)&&!Array[_0x23b65b(0x4e2)](_0x1713dd)?_0x1713dd:void 0x0;}function jd(_0x50c1a7){const _0xf56df=_0x3cd2e0;return typeof _0x50c1a7=='string'&&_0x50c1a7[_0xf56df(0x337)]()?_0x50c1a7:void 0x0;}function Md(_0x34eb27){const _0x1ee05d=_0x3cd2e0;return _0x34eb27[_0x1ee05d(0x278)]===_0x5ddaa8[_0x1ee05d(0x230)];}let Nd=class{constructor(_0x19c61b,_0x28fb9a){const _0x230041=_0x3cd2e0;this[_0x230041(0x3cd)]=_0x19c61b,this['_insertService']=_0x28fb9a,q(this,'key',_0x230041(0x234));}['pasteStandard'](_0x4f6a97){const _0x362069=_0x3cd2e0;if(_0x4f6a97[_0x362069(0x34a)]===_0x362069(0x1fe)){let _0x62a96f=Id(_0x4f6a97[_0x362069(0x6ae)]);return _0x62a96f?this[_0x362069(0x518)]['insertTableSnapshot'](Ld(_0x62a96f)):!0x1;}let _0x160509=_0x2e37e8(_0x4f6a97[_0x362069(0x6ae)]);if(!_0x160509)return!0x1;let _0x4e15ee=_0x4d9801(_0x160509);return this[_0x362069(0x518)][_0x362069(0x1a7)](Ld(_0x4e15ee));}[_0x3cd2e0(0x164)](_0x53a25c){const _0x645001=_0x3cd2e0;let _0x1d4e63={},_0x1bd26e={},_0x403b2a={};return _0x53a25c[_0x645001(0x2d3)][_0x645001(0x5a6)](_0x3dd105=>{const _0x30ac3b=_0x645001;if(!Md(_0x3dd105))return;let _0x29d422=this[_0x30ac3b(0x3cd)][_0x30ac3b(0x6c1)](_0x53a25c[_0x30ac3b(0x264)],_0x3dd105[_0x30ac3b(0x37b)]);if(_0x29d422&&(_0x1d4e63[_0x29d422['id']]=_0x43911b[_0x30ac3b(0x4a2)](_0x29d422),_0x403b2a[_0x3dd105['id']]=_0x29d422['id'],_0x29d422[_0x30ac3b(0x641)])){let _0x46e060=this['_resourceService'][_0x30ac3b(0x366)](_0x53a25c[_0x30ac3b(0x264)],_0x29d422[_0x30ac3b(0x641)]);_0x46e060&&(_0x1bd26e[_0x46e060['id']]=_0x43911b['deepClone'](_0x46e060));}}),Object['keys'](_0x1d4e63)['length']===0x0?null:{'tables':_0x1d4e63,'themes':_0x1bd26e,'tableIdByElementId':_0x403b2a};}[_0x3cd2e0(0x52e)](_0x1b7426){const _0x1df9e1=_0x3cd2e0;let _0x703ff9=_0x1b7426[_0x1df9e1(0x2d3)][_0x1df9e1(0x22b)](Md)[_0x1df9e1(0x37f)](_0x5d995b=>this[_0x1df9e1(0x3cd)][_0x1df9e1(0x6c1)](_0x1b7426[_0x1df9e1(0x264)],_0x5d995b[_0x1df9e1(0x37b)]))[_0x1df9e1(0x22b)](_0x552e1e=>_0x552e1e!==void 0x0);return _0x703ff9['length']>0x0?{'html':_0x703ff9[_0x1df9e1(0x37f)](Hd)['join']('<br>'),'plainText':_0x703ff9['map'](Vd)[_0x1df9e1(0x323)]('\x0a')}:null;}[_0x3cd2e0(0x6ac)](_0x395a63){const _0x25cc82=_0x3cd2e0;if(!Pd(_0x395a63[_0x25cc82(0x4cb)]))return null;let _0x750870=_0x395a63[_0x25cc82(0x4cb)],_0x32e719=new Map();_0x395a63[_0x25cc82(0x2de)]['forEach']((_0x3e414e,_0x104d9b)=>_0x32e719['set'](_0x3e414e,_0x104d9b));let _0x27ce62=new Map(),_0x24e45e=new Map(),_0x38513b=_0x395a63[_0x25cc82(0x2d3)]['map'](_0x183442=>{const _0x212697=_0x25cc82;if(!Md(_0x183442))return _0x183442;let _0x1a2e5a=_0x32e719[_0x212697(0x57d)](_0x183442['id']),_0x1467b8=_0x1a2e5a?_0x750870[_0x212697(0x54b)][_0x1a2e5a]:void 0x0;if(!_0x1467b8||!_0x750870[_0x212697(0x25c)][_0x1467b8])return _0x183442;let _0x42d102=_0x27ce62['get'](_0x1467b8);return _0x42d102||(_0x42d102=_0x53e099(0x6),_0x27ce62['set'](_0x1467b8,_0x42d102)),{..._0x183442,'tableId':_0x42d102};}),_0x3e7e2c=[];return _0x27ce62['forEach']((_0x5e6ba6,_0x37b2c7)=>{const _0x1c30a9=_0x25cc82;let _0x131b58=_0x750870['tables'][_0x37b2c7];if(!_0x131b58)return;let _0x3f0303=_0x43911b[_0x1c30a9(0x4a2)](_0x131b58);_0x3f0303['id']=_0x5e6ba6;let _0x58e134;if(_0x131b58['themeId']){let _0x1ae50f=_0x750870[_0x1c30a9(0x221)][_0x131b58['themeId']];if(_0x1ae50f){let _0x11ff2b=_0x24e45e[_0x1c30a9(0x57d)](_0x1ae50f['id']);_0x11ff2b||(_0x11ff2b=_0x488d03(_0x53e099(0x6),_0x1ae50f)['id'],_0x24e45e[_0x1c30a9(0x330)](_0x1ae50f['id'],_0x11ff2b)),_0x58e134={..._0x43911b[_0x1c30a9(0x4a2)](_0x1ae50f),'id':_0x11ff2b},_0x3f0303[_0x1c30a9(0x641)]=_0x11ff2b;}else delete _0x3f0303[_0x1c30a9(0x641)];}_0x3e7e2c['push']({'table':_0x3f0303,'theme':_0x58e134});}),_0x3e7e2c[_0x25cc82(0x567)]===0x0?null:{'elements':_0x38513b,'redoMutations':_0x3e7e2c[_0x25cc82(0x37f)](({table:_0x30900f,theme:_0x363d3b})=>({'id':_0xc2e22a['id'],'params':{'unitId':_0x395a63[_0x25cc82(0x57e)],'table':_0x30900f,'theme':_0x363d3b}})),'undoMutations':[..._0x3e7e2c]['reverse']()[_0x25cc82(0x37f)](({table:_0x1194a4})=>({'id':_0x170082['id'],'params':{'unitId':_0x395a63['targetUnitId'],'tableId':_0x1194a4['id']}}))};}};Nd=Ha([Q(0x0,_0x3caafe(_0x3837ee)),Q(0x1,_0x3caafe(mo))],Nd);function Pd(_0x594974){const _0x526743=_0x3cd2e0;return!_0x594974||typeof _0x594974!=_0x526743(0x3d7)?!0x1:_0x526743(0x25c)in _0x594974&&Fd(_0x594974[_0x526743(0x25c)])&&_0x526743(0x221)in _0x594974&&Fd(_0x594974[_0x526743(0x221)])&&'tableIdByElementId'in _0x594974&&Fd(_0x594974['tableIdByElementId']);}function Fd(_0x2b0d8b){const _0x402652=_0x3cd2e0;return typeof _0x2b0d8b==_0x402652(0x3d7)&&!!_0x2b0d8b&&!Array[_0x402652(0x4e2)](_0x2b0d8b);}function Id(_0x3f5eaf){const _0x4e9fc8=_0x3cd2e0;let _0x44126b=new DOMParser()[_0x4e9fc8(0x2ca)](_0x3f5eaf,_0x4e9fc8(0x5fb)),_0x5d4f93=_0x44126b[_0x4e9fc8(0x309)](_0x4e9fc8(0x38a));if(_0x5d4f93[_0x4e9fc8(0x567)]!==0x1||(_0x5d4f93[0x0][_0x4e9fc8(0x2e0)](),(_0x44126b[_0x4e9fc8(0x15e)][_0x4e9fc8(0x1b7)]??'')[_0x4e9fc8(0x337)]()||_0x44126b[_0x4e9fc8(0x15e)][_0x4e9fc8(0x2d0)](_0x4e9fc8(0x1c7))))return null;let _0x55fcca=_0x4d9801(_0x3f5eaf);return _0x55fcca['rows'][_0x4e9fc8(0x567)]>0x0&&_0x55fcca[_0x4e9fc8(0x190)][_0x4e9fc8(0x567)]>0x0?_0x55fcca:null;}function Ld(_0xa5cd92){const _0x2a6151=_0x3cd2e0;let _0xa1622=_0xa5cd92[_0x2a6151(0x190)][_0x2a6151(0x37f)](_0x5b3319=>({'width':Bd(_0x5b3319??0x64,0x18,0x140)})),_0xe61cf6=_0xa5cd92[_0x2a6151(0x400)][_0x2a6151(0x37f)](_0x41da86=>({'height':Bd(_0x41da86[_0x2a6151(0x276)]??0x1c,0x14,0xb4),'cells':_0x41da86[_0x2a6151(0x329)][_0x2a6151(0x37f)](_0x2d59b9=>Rd(_0x2d59b9))}));return _0xa5cd92[_0x2a6151(0x400)][_0x2a6151(0x5a6)]((_0x10a08e,_0x34148f)=>{const _0x208566=_0x2a6151;_0x10a08e[_0x208566(0x329)]['forEach']((_0x2c8e11,_0x5f5cb3)=>{const _0x268f80=_0x208566;if(_0x2c8e11){for(let _0xc94fad=0x0;_0xc94fad<_0x2c8e11[_0x268f80(0x5c0)];_0xc94fad+=0x1)for(let _0x4842a8=0x0;_0x4842a8<_0x2c8e11[_0x268f80(0x25d)];_0x4842a8+=0x1){var _0x12f089;if(_0xc94fad===0x0&&_0x4842a8===0x0)continue;let _0x52a455=(_0x12f089=_0xe61cf6[_0x34148f+_0xc94fad])==null?void 0x0:_0x12f089[_0x268f80(0x329)][_0x5f5cb3+_0x4842a8];_0x52a455&&(_0x52a455['hMerge']=_0x4842a8>0x0,_0x52a455[_0x268f80(0x420)]=_0xc94fad>0x0);}}});}),{'options':{},'columns':_0xa1622,'rows':_0xe61cf6};}function Rd(_0x1fe3a8){const _0x44b630=_0x3cd2e0;if(!_0x1fe3a8)return{};let _0x4390ee=zd(_0x558966(_0x1fe3a8[_0x44b630(0x1fe)]))??_0x1a50eb(_0x1fe3a8[_0x44b630(0x45d)]),_0x51adee=_0x1fe3a8[_0x44b630(0x4b9)]||_0x1fe3a8[_0x44b630(0x1c4)]?{'color':_0x1fe3a8[_0x44b630(0x4b9)],'width':_0x1fe3a8[_0x44b630(0x1c4)],'dash':_0x138dfb[_0x44b630(0x199)]}:void 0x0;return{'textData':_0x4390ee,'rowSpan':_0x1fe3a8['rowSpan']>0x1?_0x1fe3a8[_0x44b630(0x5c0)]:void 0x0,'columnSpan':_0x1fe3a8[_0x44b630(0x25d)]>0x1?_0x1fe3a8[_0x44b630(0x25d)]:void 0x0,'style':_0x1fe3a8[_0x44b630(0x3c6)]||_0x51adee?{'fill':_0x1fe3a8[_0x44b630(0x3c6)]?{'type':_0x3f8470[_0x44b630(0x199)],'color':_0x1fe3a8[_0x44b630(0x3c6)]}:void 0x0,'borders':_0x51adee?{'top':_0x51adee,'right':_0x51adee,'bottom':_0x51adee,'left':_0x51adee}:void 0x0}:void 0x0};}function zd(_0x492e4a){const _0x706ffe=_0x3cd2e0;try{var _0x5f0b38;let _0x19f62c=_0x5f4d52(_0x492e4a,_0x53e099(0x6));return(_0x5f0b38=_0x19f62c[_0x706ffe(0x15e)])!=null&&_0x5f0b38[_0x706ffe(0x663)]?{..._0x19f62c,'id':_0x19f62c['id']||_0x53e099(0x6),'body':_0x19f62c['body'],'documentStyle':_0x19f62c[_0x706ffe(0x424)]??{}}:null;}catch{return null;}}function Bd(_0x4f4378,_0x1419b1,_0x58dd6d){const _0x74ddec=_0x3cd2e0;return Math[_0x74ddec(0x61f)](_0x58dd6d,Math[_0x74ddec(0x379)](_0x1419b1,_0x4f4378));}function Vd(_0x31bf24){const _0x53698b=_0x3cd2e0;return _0x31bf24[_0x53698b(0x400)][_0x53698b(0x37f)](_0x15de71=>_0x15de71[_0x53698b(0x329)][_0x53698b(0x37f)](_0x554e9f=>_0x554e9f[_0x53698b(0x634)]||_0x554e9f['vMerge']?'':_0x554e9f[_0x53698b(0x4eb)]?_0x1b862c(_0x554e9f[_0x53698b(0x4eb)])[_0x53698b(0x33b)](/[\t\r\n]+/g,'\x20'):'')[_0x53698b(0x323)]('\x09'))[_0x53698b(0x323)]('\x0a');}function Hd(_0x1d6eaf){const _0xdb2aa4=_0x3cd2e0;return _0xdb2aa4(0x59f)+_0x1d6eaf[_0xdb2aa4(0x581)][_0xdb2aa4(0x37f)](_0x5be3bc=>_0xdb2aa4(0x346)+_0x5be3bc[_0xdb2aa4(0x172)]+_0xdb2aa4(0x3ca))[_0xdb2aa4(0x323)]('')+'</colgroup><tbody>'+_0x1d6eaf[_0xdb2aa4(0x400)]['map'](_0x2f26c9=>{const _0x14b560=_0xdb2aa4;let _0x36ea7d=_0x2f26c9['cells'][_0x14b560(0x37f)](_0xd8f217=>{const _0x11cfec=_0x14b560;if(_0xd8f217[_0x11cfec(0x634)]||_0xd8f217[_0x11cfec(0x420)])return'';let _0x5010e3=[_0xd8f217[_0x11cfec(0x5c0)]&&_0xd8f217[_0x11cfec(0x5c0)]>0x1?'rowspan=\x22'+_0xd8f217[_0x11cfec(0x5c0)]+'\x22':'',_0xd8f217[_0x11cfec(0x457)]&&_0xd8f217['columnSpan']>0x1?'colspan=\x22'+_0xd8f217[_0x11cfec(0x457)]+'\x22':'',zl(_0xd8f217)][_0x11cfec(0x22b)](Boolean)[_0x11cfec(0x323)]('\x20'),_0x360b34=_0xd8f217[_0x11cfec(0x4eb)]?_0x505226(_0x43911b[_0x11cfec(0x4a2)](_0xd8f217[_0x11cfec(0x4eb)])):'';return _0x11cfec(0x4a0)+(_0x5010e3?'\x20'+_0x5010e3:'')+'>'+_0x360b34+'</td>';})[_0x14b560(0x323)]('');return'<tr'+(_0x2f26c9['height']?'\x20style=\x22height:\x20'+_0x2f26c9[_0x14b560(0x276)]+'px\x22':'')+'>'+_0x36ea7d+_0x14b560(0x1dc);})['join']('')+'</tbody></table>';}function Ud(_0x411fde,_0x23c152,_0x43d124){const _0x1ee76d=_0x3cd2e0;let _0x49a5a0=_0x23c152[_0x1ee76d(0x684)](_0x37a0f4=>_0x37a0f4?[_0x37a0f4['subscribeEvent'](_0x411fde)]:[]),_0x4d4252=_0x43d124&&typeof ResizeObserver<'u'?new ResizeObserver(_0x411fde):null;return _0x43d124&&(_0x4d4252==null||_0x4d4252[_0x1ee76d(0x19b)](_0x43d124)),()=>{const _0x41fd61=_0x1ee76d;_0x49a5a0['forEach'](_0x477a1f=>_0x477a1f[_0x41fd61(0x33e)]()),_0x4d4252==null||_0x4d4252[_0x41fd61(0x1cd)]();};}function Wd(_0x1e7874){const _0x5b49f7=_0x3cd2e0;let _0x343e2=Gd(_0x1e7874[_0x5b49f7(0x3d7)],_0x1e7874[_0x5b49f7(0x38a)],_0x1e7874[_0x5b49f7(0x38b)]),_0x2cbcae=_0x1e7874[_0x5b49f7(0x570)][_0x5b49f7(0x417)]*_0x1e7874['canvasScale'],_0x5adc1d=_0x1e7874[_0x5b49f7(0x570)][_0x5b49f7(0x489)]*_0x1e7874[_0x5b49f7(0x55a)],_0xa63992=_0x1e7874[_0x5b49f7(0x60d)][_0x5b49f7(0x3b6)]+(_0x343e2['centerX']-_0x1e7874['scroll']['x'])*_0x2cbcae,_0x46d040=_0x1e7874[_0x5b49f7(0x60d)][_0x5b49f7(0x649)]+(_0x343e2['top']-_0x1e7874['scroll']['y']-_0xf69597)*_0x5adc1d-0x2a-0x5,_0x53c157=(_0x1e7874[_0x5b49f7(0x4a3)]??0x2a8)/0x2,_0x3300db=0xc+_0x53c157,_0x22768f=Math[_0x5b49f7(0x379)](_0x3300db,_0x1e7874['viewportWidth']-_0x53c157-0xc);return{'left':Math['min'](Math[_0x5b49f7(0x379)](_0x3300db,_0xa63992),_0x22768f),'top':Math[_0x5b49f7(0x379)](0xc,_0x46d040)};}function Gd(_0x14443b,_0x69dfdd,_0x49812c){const _0xb56908=_0x3cd2e0;if(!_0x69dfdd||_0x49812c['kind']!=='row'&&_0x49812c[_0xb56908(0x1b6)]!=='column')return{'centerX':_0x14443b[_0xb56908(0x3b6)]+_0x14443b[_0xb56908(0x172)]/0x2,'top':_0x14443b['top']};let _0x23dc18=_0x49812c[_0xb56908(0x289)][0x0];if(!_0x23dc18)return{'centerX':_0x14443b[_0xb56908(0x3b6)]+_0x14443b[_0xb56908(0x172)]/0x2,'top':_0x14443b['top']};let _0x48eea2=_0x21e29d(_0x23dc18),_0x1e725c=Kd(_0x69dfdd[_0xb56908(0x581)][_0xb56908(0x37f)](_0x407039=>_0x407039[_0xb56908(0x172)]),_0x14443b[_0xb56908(0x172)],_0x48eea2['startColumn'],_0x48eea2[_0xb56908(0x655)]),_0x4bea7d=Kd(_0x69dfdd[_0xb56908(0x400)][_0xb56908(0x37f)](_0x1e7b8e=>_0x1e7b8e['height']??0x18),_0x14443b['height'],_0x48eea2[_0xb56908(0x290)],_0x48eea2['endRow']);return{'centerX':_0x14443b[_0xb56908(0x3b6)]+_0x1e725c[_0xb56908(0x35f)]+_0x1e725c[_0xb56908(0x585)]/0x2,'top':_0x14443b[_0xb56908(0x649)]+_0x4bea7d[_0xb56908(0x35f)]};}function Kd(_0x2dbe98,_0x19e7df,_0x45a7f9,_0x4d0080){const _0x4c00c0=_0x3cd2e0;let _0x57c4b0=_0x2dbe98['reduce']((_0x19472d,_0x140733)=>_0x19472d+_0x140733,0x0);if(_0x57c4b0<=0x0||_0x2dbe98[_0x4c00c0(0x567)]===0x0)return{'start':0x0,'size':_0x19e7df};let _0xa9a4f=Math[_0x4c00c0(0x379)](0x0,Math['min'](_0x45a7f9,_0x2dbe98[_0x4c00c0(0x567)]-0x1)),_0x2ee5ae=Math['max'](_0xa9a4f,Math['min'](_0x4d0080,_0x2dbe98[_0x4c00c0(0x567)]-0x1)),_0x2343c8=_0x2dbe98[_0x4c00c0(0x5b4)](0x0,_0xa9a4f)[_0x4c00c0(0x170)]((_0x571352,_0x1d8926)=>_0x571352+_0x1d8926,0x0),_0x228a86=_0x2dbe98[_0x4c00c0(0x5b4)](_0xa9a4f,_0x2ee5ae+0x1)[_0x4c00c0(0x170)]((_0x3b50e7,_0x2d58e5)=>_0x3b50e7+_0x2d58e5,0x0);return{'start':_0x2343c8/_0x57c4b0*_0x19e7df,'size':_0x228a86/_0x57c4b0*_0x19e7df};}function qd(_0x533d12,_0x33c0f4=0x2a8){const _0x168394=_0x3cd2e0;let _0x28b75b=_0x55e2b7(J),_0x3c0f58=_0x55e2b7(_0x3837ee),_0x4eadc7=_0x55e2b7(_0x24e1b6),_0x586b77=_0x55e2b7(_0x1fbd90),_0x58b85b=_0x55e2b7(_0x54db7d),_0x3f74a7=_0x191c45(_0x58b85b[_0x168394(0x6c5)],_0x58b85b[_0x168394(0x43c)]()),_0x115124=_0x55e2b7(_0xa87bea),_0x337073=_0x55e2b7(_0x1fa43c),_0x2f723f=_0x191c45(_0x28b75b['selection$'],null);_0x191c45(_0x337073[_0x168394(0x690)]);let [_0x33db23,_0x1cfc4e]=_0x18aa5b(null),[_0x14ff4b,_0x1a24e4]=_0x18aa5b({'selectionKey':null,'value':null}),_0x12ddc4=_0x158685(()=>{const _0x27a2db=_0x168394;_0x28b75b[_0x27a2db(0x5f3)]();},[_0x28b75b]),_0x201da2=!_0x533d12||!_0x2f723f||_0x2f723f[_0x168394(0x1b6)]===_0x168394(0x45d)||!_0x2f723f[_0x168394(0x289)][_0x168394(0x567)]?null:_0x2f723f,_0x3a805e=_0x201da2?[_0x201da2[_0x168394(0x264)],_0x201da2[_0x168394(0x602)],_0x201da2[_0x168394(0x6ec)],_0x201da2['tableId'],...Object[_0x168394(0x3d5)](_0x201da2[_0x168394(0x289)][0x0]??{})][_0x168394(0x323)]('|'):null,_0x5c7501=_0x14ff4b[_0x168394(0x21f)]===_0x3a805e?_0x14ff4b[_0x168394(0x1bc)]:null,_0x3e2c39=_0x158685(()=>{const _0x3b4593=_0x168394;var _0x437728,_0x1618d5,_0x2266d3,_0xfa1b72,_0x52d07c;if(!_0x201da2){_0x1cfc4e(null);return;}let _0x47b0c1=_0x586b77[_0x3b4593(0x5f0)](_0x201da2[_0x3b4593(0x264)]),_0x47fdad=_0x47b0c1==null?void 0x0:_0x47b0c1['scene'],_0x1d8d1e=_0x47fdad==null?void 0x0:_0x47fdad[_0x3b4593(0x60b)](_0x452a45(_0x201da2[_0x3b4593(0x264)],_0x201da2['subUnitId'],_0x201da2[_0x3b4593(0x6ec)]));if(!_0x47fdad||!_0x1d8d1e){_0x1cfc4e(null);return;}let _0xeac3e9=_0x47b0c1==null||(_0x437728=_0x47b0c1[_0x3b4593(0x248)])==null||(_0x1618d5=_0x437728['getCanvasElement'])==null?void 0x0:_0x1618d5[_0x3b4593(0x5cd)](_0x437728),_0x273b9a=(_0xeac3e9==null||(_0x2266d3=_0xeac3e9[_0x3b4593(0x1b3)])==null?void 0x0:_0x2266d3[_0x3b4593(0x5cd)](_0xeac3e9))??{'left':0x0,'top':0x0,'width':0x0},_0x54c60a=_0xbda415((_0xeac3e9==null?void 0x0:_0xeac3e9[_0x3b4593(0x36d)]['width'])??''),_0x3501d6=_0x54c60a>0x0?_0x273b9a[_0x3b4593(0x172)]/_0x54c60a:0x1,_0x136d1f=((_0xfa1b72=_0x47fdad[_0x3b4593(0x4fd)])==null?void 0x0:_0xfa1b72['call'](_0x47fdad))??{'scaleX':0x1,'scaleY':0x1},_0x2931f4=(_0x52d07c=_0x47fdad[_0x3b4593(0x308)])==null?void 0x0:_0x52d07c[_0x3b4593(0x5cd)](_0x47fdad,_0x5b426a),_0x325ce6=_0x3c0f58[_0x3b4593(0x6c1)](_0x201da2['unitId'],_0x201da2['tableId']);_0x1cfc4e(Wd({'canvasRect':_0x273b9a,'canvasScale':_0x3501d6,'object':_0x1d8d1e,'scale':_0x136d1f,'scroll':{'x':(_0x2931f4==null?void 0x0:_0x2931f4['viewportScrollX'])??0x0,'y':(_0x2931f4==null?void 0x0:_0x2931f4[_0x3b4593(0x6ce)])??0x0},'selection':_0x201da2,'table':_0x325ce6,'viewportWidth':window[_0x3b4593(0x22e)],'toolbarWidth':_0x33c0f4}));},[_0x33c0f4,_0x586b77,_0x3c0f58,_0x201da2]);_0x14546c(()=>{const _0xc8bd02=_0x168394;var _0xa7373f;let _0x5b2b22=requestAnimationFrame(_0x3e2c39);if(!_0x201da2)return()=>cancelAnimationFrame(_0x5b2b22);let _0x3bed63=_0x586b77[_0xc8bd02(0x5f0)](_0x201da2[_0xc8bd02(0x264)]),_0x5f2df9=_0x3bed63==null?void 0x0:_0x3bed63[_0xc8bd02(0x370)],_0x57e9f9=_0x5f2df9==null?void 0x0:_0x5f2df9['getObject'](_0x452a45(_0x201da2[_0xc8bd02(0x264)],_0x201da2[_0xc8bd02(0x602)],_0x201da2[_0xc8bd02(0x6ec)])),_0x147699=Ud(_0x3e2c39,[_0x3bed63==null?void 0x0:_0x3bed63[_0xc8bd02(0x248)][_0xc8bd02(0x534)],_0x5f2df9==null?void 0x0:_0x5f2df9[_0xc8bd02(0x534)],_0x57e9f9==null?void 0x0:_0x57e9f9['onTransformChange$'],_0x5f2df9==null||(_0xa7373f=_0x5f2df9[_0xc8bd02(0x308)](_0x5b426a))==null?void 0x0:_0xa7373f['onScrollAfter$']],_0x3bed63==null?void 0x0:_0x3bed63[_0xc8bd02(0x248)]['getCanvasElement']());return window['addEventListener'](_0xc8bd02(0x472),_0x3e2c39),()=>{const _0x4613fb=_0xc8bd02;cancelAnimationFrame(_0x5b2b22),_0x147699(),window[_0x4613fb(0x40a)](_0x4613fb(0x472),_0x3e2c39);};},[_0x3e2c39,_0x586b77,_0x201da2]);let _0x51adf9=_0x201da2?_0x3c0f58[_0x168394(0x6c1)](_0x201da2[_0x168394(0x264)],_0x201da2['tableId']):null,_0x2c56d5=ns(_0x51adf9,_0x201da2),_0x21ec54=_0x2c56d5[_0x168394(0x3d5)],_0x2c01c0=_0x158685(_0x5f4da6=>{const _0x19180c=_0x168394;if(!_0x201da2)return;let _0xa7d328=_0x201da2['ranges'][0x0],_0x39fca5=_0x3c0f58['getTable'](_0x201da2[_0x19180c(0x264)],_0x201da2[_0x19180c(0x37b)]);_0xa7d328&&_0x39fca5&&_0x4eadc7[_0x19180c(0x6af)](_0x5c9d7f['id'],{'unitId':_0x201da2[_0x19180c(0x264)],'tableId':_0x201da2[_0x19180c(0x37b)],'patch':_0x5f4da6(_0x39fca5,_0xa7d328)});},[_0x4eadc7,_0x3c0f58,_0x201da2]),_0x32445e=_0x158685(_0x295c8b=>{const _0x4a0772=_0x168394;_0x201da2&&_0x4eadc7['executeCommand'](_0x5c9d7f['id'],{'unitId':_0x201da2['unitId'],'tableId':_0x201da2[_0x4a0772(0x37b)],'patch':{'styleId':_0x295c8b}});},[_0x4eadc7,_0x201da2]),_0x36f99c=_0x158685(_0x2fb718=>{const _0x9a55fc=_0x168394;_0x201da2&&_0x4eadc7[_0x9a55fc(0x6af)](_0x5c9d7f['id'],{'unitId':_0x201da2[_0x9a55fc(0x264)],'tableId':_0x201da2[_0x9a55fc(0x37b)],'patch':{'options':_0x2fb718}});},[_0x4eadc7,_0x201da2]),_0x98b516=_0x158685((_0x5b2852,_0x3425e4)=>{_0x1a24e4({'selectionKey':_0x3a805e,'value':_0x3425e4?_0x5b2852:null});},[_0x3a805e]);return{'selectionService':_0x28b75b,'commandService':_0x4eadc7,'localeService':_0x58b85b,'direction':_0x3f74a7,'position':_0x33db23,'visibleSelection':_0x201da2,'table':_0x51adf9,'firstCellValues':_0x21ec54,'toolbarState':_0x2c56d5,'tableThemePalette':_0x512300(()=>_0x6f0e35(_0x57901a=>_0x115124['getColorFromTheme'](_0x57901a)),[_0x115124]),'applyPatch':_0x2c01c0,'applyTableTheme':_0x32445e,'applyTableLook':_0x36f99c,'handleDropdownOpenChange':_0x98b516,'markTableInternalInteraction':_0x12ddc4,'openDropdown':_0x5c7501};}function Jd(){const _0x5ace4b=_0x3cd2e0;let _0xd29718=_0x55e2b7(fo),{commandService:_0x5e7d2f,localeService:_0xd4a78d,direction:_0xa2ca67,position:_0x250a1,visibleSelection:_0x588fd6,table:_0x4611ed,firstCellValues:_0x3a93ab,toolbarState:_0x5eaec7,tableThemePalette:_0x426a5e,applyPatch:_0x187146,applyTableTheme:_0x5b25b1,applyTableLook:_0x141a32,handleDropdownOpenChange:_0x430b3e,markTableInternalInteraction:_0x35291d,openDropdown:_0x4c9e4e}=qd(_0x191c45(_0xd29718[_0x5ace4b(0x626)],_0xd29718[_0x5ace4b(0x3bf)]()));if(!_0x588fd6||!_0x250a1||!_0x4611ed)return null;let _0xb11ad9={'left':_0x250a1[_0x5ace4b(0x3b6)],'top':_0x250a1[_0x5ace4b(0x649)],'width':_0x5ace4b(0x26c),'maxWidth':_0x5ace4b(0x3ff),'minHeight':0x2a,'transform':_0x5ace4b(0x211),'zIndex':0x2742},_0x32f4b3=[{'labelKey':'slides-table-ui.editorToolbar.alignLeft','value':_0x213d9e[_0x5ace4b(0x5c8)],'icon':_0x2c0852(_0x232c1f,{})},{'labelKey':_0x5ace4b(0x4d8),'value':_0x213d9e[_0x5ace4b(0x3ae)],'icon':_0x2c0852(_0x58b40b,{})},{'labelKey':_0x5ace4b(0x161),'value':_0x213d9e[_0x5ace4b(0x47a)],'icon':_0x2c0852(_0x74ac65,{})},{'labelKey':_0x5ace4b(0x1a4),'value':_0x213d9e[_0x5ace4b(0x314)],'icon':_0x2c0852(_0x4b8b82,{})}],_0x3ab6d3=[{'labelKey':_0x5ace4b(0x48c),'value':_0x456b59[_0x5ace4b(0x448)],'icon':_0x2c0852(_0xefa4f0,{})},{'labelKey':_0x5ace4b(0x58e),'value':_0x456b59[_0x5ace4b(0x3e4)],'icon':_0x2c0852(_0xbea59a,{})},{'labelKey':_0x5ace4b(0x16b),'value':_0x456b59[_0x5ace4b(0x607)],'icon':_0x2c0852(_0xe02021,{})}],_0x355184=_0x588fd6[_0x5ace4b(0x289)][0x0],_0x462902=_0x5eaec7[_0x5ace4b(0x2cc)],_0x5a703d=is(_0x4611ed,_0x588fd6),_0x533f89=(_0x5a703d==null?void 0x0:_0x5a703d['kind'])===_0x5ace4b(0x3a3)?_0xd4a78d['t'](_0x5ace4b(0x3bd)):(_0x5a703d==null?void 0x0:_0x5a703d[_0x5ace4b(0x1b6)])===_0x5ace4b(0x6ad)?_0xd4a78d['t']('slides-table-ui.contextMenu.deleteColumn'):null,_0x5f4774=()=>{const _0x324903=_0x5ace4b;_0x5a703d&&_0x5e7d2f[_0x324903(0x6af)](_0x5a703d[_0x324903(0x27d)],_0x5a703d[_0x324903(0x5d7)]);},_0x111e6b=(_0x462902==null?void 0x0:_0x462902['action'])===_0x5ace4b(0x24b)?_0xd4a78d['t']('slides-table-ui.editorToolbar.unmergeCells'):(_0x462902==null?void 0x0:_0x462902[_0x5ace4b(0x5da)])==='merge'?_0xd4a78d['t'](_0x5ace4b(0x521)):null,_0x1a144a=()=>{const _0x2f20c1=_0x5ace4b;let _0x4ca4ce=rs(_0x588fd6,(_0x462902==null?void 0x0:_0x462902[_0x2f20c1(0x5da)])??null,(_0x462902==null?void 0x0:_0x462902[_0x2f20c1(0x3f8)])??_0x355184??null);_0x4ca4ce&&_0x5e7d2f['executeCommand'](_0x4ca4ce[_0x2f20c1(0x27d)],_0x4ca4ce['params']);};return _0x12e0bf('div',{'data-u-comp':_0x5ace4b(0x331),'role':_0x5ace4b(0x1e2),'className':_0x2cb544('univer-fixed\x20univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-nowrap\x20univer-items-center\x20univer-rounded\x20univer-bg-gray-0\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900',_0x1b82c1),'dir':_0xa2ca67,'style':{..._0xb11ad9,'direction':_0xa2ca67},'onMouseDownCapture':_0x35291d,'onPointerDownCapture':_0x35291d,'onMouseDown':_0x586207,'onPointerDown':_0x586207,'children':[_0x5a703d&&_0x533f89?_0x12e0bf(_0xf0f611,{'children':[_0x2c0852(ys,{'children':_0x2c0852(bs,{'data-toolbar-item':_0x5a703d[_0x5ace4b(0x1b6)]===_0x5ace4b(0x3a3)?_0x5ace4b(0x535):_0x5ace4b(0x301),'title':_0x533f89,'onClick':_0x5f4774,'children':_0x2c0852(_0x4e7988,{})})}),_0x2c0852(_0x10a77a,{'orientation':_0x5ace4b(0x3d4)})]}):null,_0x111e6b?_0x12e0bf(_0xf0f611,{'children':[_0x2c0852(ys,{'children':_0x2c0852(bs,{'data-toolbar-item':_0x5ace4b(0x223),'title':_0x111e6b,'onClick':_0x1a144a,'children':(_0x462902==null?void 0x0:_0x462902[_0x5ace4b(0x5da)])===_0x5ace4b(0x24b)?_0x2c0852(_0x36ae53,{}):_0x2c0852(_0x95c20,{})})}),_0x2c0852(_0x10a77a,{'orientation':_0x5ace4b(0x3d4)})]}):null,_0x12e0bf(ys,{'children':[_0x2c0852(ss,{'color':_0x3a93ab[_0x5ace4b(0x3c6)],'value':Mo(_0x3a93ab[_0x5ace4b(0x2ad)]),'gradientValue':Io(_0x3a93ab[_0x5ace4b(0x2ad)],_0x3a93ab[_0x5ace4b(0x3c6)]),'previewStyle':Ro(_0x3a93ab[_0x5ace4b(0x2ad)],_0x3a93ab['backgroundColor']),'showPreview':!0x1,'tableFill':_0x3a93ab['backgroundFill'],'mixed':!!_0x3a93ab['mixed']['backgroundFill'],'open':_0x4c9e4e===_0x5ace4b(0x44f),'onOpenChange':_0x2a1620=>_0x430b3e(_0x5ace4b(0x44f),_0x2a1620),'onTableFillChange':_0x498338=>_0x187146((_0x3dc225,_0x3b8ee6)=>gi(_0x3dc225,_0x3b8ee6,_0x498338)),'children':_0x2c0852(_0x4888da,{'extend':{'colorChannel1':_0x3a93ab[_0x5ace4b(0x3c6)]}})}),_0x2c0852(ws,{'direction':_0xa2ca67,'color':_0x3a93ab[_0x5ace4b(0x4b9)],'width':_0x3a93ab[_0x5ace4b(0x1c4)],'dash':_0x3a93ab[_0x5ace4b(0x474)],'presets':hs,'open':_0x4c9e4e===_0x5ace4b(0x609),'mixed':!!(_0x3a93ab[_0x5ace4b(0x688)]['borderColor']||_0x3a93ab[_0x5ace4b(0x688)][_0x5ace4b(0x1c4)]||_0x3a93ab[_0x5ace4b(0x688)][_0x5ace4b(0x474)]),'onOpenChange':_0x589a38=>_0x430b3e(_0x5ace4b(0x609),_0x589a38),'onSelectPreset':_0x11fc1d=>_0x187146((_0x4e4481,_0x5d198e)=>bi(_0x4e4481,_0x5d198e,_0x11fc1d)),'onChangeColor':_0x34e6d3=>_0x187146((_0x473c13,_0x33e33d)=>yi(_0x473c13,_0x33e33d,{'color':_0x34e6d3})),'onChangeWidth':_0xf26f68=>_0x187146((_0x162bf5,_0x31cc8d)=>yi(_0x162bf5,_0x31cc8d,{'width':_0xf26f68,'dash':_0xf26f68===0x0?_0x138dfb['None']:void 0x0})),'onChangeDash':_0x394787=>_0x187146((_0x3455b3,_0x26f89b)=>yi(_0x3455b3,_0x26f89b,{'dash':_0x394787}))})]}),_0x2c0852(_0x10a77a,{'orientation':_0x5ace4b(0x3d4)}),_0x12e0bf(ys,{'children':[_0x2c0852(_0x53761e,{'ariaLabel':_0xd4a78d['t'](_0x5ace4b(0x226)),'className':_0x5ace4b(0x4ac),'inputClassName':'univer-w-auto','value':_0x3a93ab[_0x5ace4b(0x688)]['fontFamily']?'':_0x3a93ab[_0x5ace4b(0x46b)],'onChange':_0x54a93d=>_0x187146((_0x24c391,_0x4cdde0)=>xi(_0x24c391,_0x4cdde0,_0x54a93d)),'onMouseDown':_0x586207,'onPointerDown':_0x586207}),_0x2c0852(Os,{'title':_0xd4a78d['t']('slides-table-ui.editorToolbar.fontSize'),'widthClassName':_0x5ace4b(0x319),'value':_0x3a93ab[_0x5ace4b(0x688)]['fontSize']?'':String(_0x3a93ab['fontSize']),'options':_0x3a93ab[_0x5ace4b(0x688)]['fontSize']?[{'label':'—','value':''},...fs]:Vo(fs,String(_0x3a93ab[_0x5ace4b(0x377)])),'onChange':_0x51b858=>{const _0x395cc7=_0x5ace4b;let _0x42e26b=Number(_0x51b858);_0x51b858&&!Number[_0x395cc7(0x3c5)](_0x42e26b)&&_0x187146((_0x369bc9,_0x4b9532)=>Si(_0x369bc9,_0x4b9532,_0x42e26b));}}),_0x2c0852(Ss,{'open':_0x4c9e4e==='textFormat','values':_0x3a93ab,'horizontalAlignOptions':_0x32f4b3,'verticalAlignOptions':_0x3ab6d3,'onOpenChange':_0x50267c=>_0x430b3e(_0x5ace4b(0x460),_0x50267c),'onToggleStyle':_0x25ba10=>_0x187146((_0x15843d,_0x51cfc5)=>Li(_0x15843d,_0x51cfc5,_0x25ba10)),'onHorizontalAlign':_0x398458=>_0x187146((_0x3e5787,_0x53225b)=>di(_0x3e5787,_0x53225b,{'axis':_0x5ace4b(0x4de),'value':_0x398458})),'onVerticalAlign':_0x131cd5=>_0x187146((_0xe86487,_0x48213c)=>di(_0xe86487,_0x48213c,{'axis':_0x5ace4b(0x3d4),'value':_0x131cd5}))})]}),_0x2c0852(_0x10a77a,{'orientation':'vertical'}),_0x12e0bf(ys,{'children':[_0x2c0852(Es,{'data-toolbar-item':_0x5ace4b(0x18e),'title':_0xd4a78d['t'](_0x5ace4b(0x36b)),'color':_0x3a93ab[_0x5ace4b(0x458)],'mixed':!!(_0x3a93ab[_0x5ace4b(0x688)][_0x5ace4b(0x458)]||_0x3a93ab['mixed'][_0x5ace4b(0x15d)]),'icon':'font','open':_0x4c9e4e===_0x5ace4b(0x458),'onOpenChange':_0x2ba484=>_0x430b3e('textColor',_0x2ba484),'onChange':_0x2a96f7=>_0x187146((_0x52798c,_0x137e8a)=>vi(_0x52798c,_0x137e8a,{'type':_0x5ace4b(0x27f),'color':_0x2a96f7,'opacity':0x1}))}),_0x2c0852(Es,{'data-toolbar-item':'text-background','title':_0xd4a78d['t'](_0x5ace4b(0x5eb)),'color':_0x3a93ab[_0x5ace4b(0x273)],'mixed':!!_0x3a93ab['mixed']['textBackgroundColor'],'icon':_0x5ace4b(0x606),'open':_0x4c9e4e===_0x5ace4b(0x375),'onOpenChange':_0x95a486=>_0x430b3e('textBackground',_0x95a486),'onChange':_0x323f5d=>_0x187146((_0x3b6f1c,_0x2eb09d)=>Li(_0x3b6f1c,_0x2eb09d,{'bg':{'rgb':_0x323f5d}}))})]}),_0x2c0852(_0x10a77a,{'orientation':'vertical'}),_0x2c0852(ys,{'children':_0x2c0852(Cs,{'open':_0x4c9e4e===_0x5ace4b(0x3df),'onOpenChange':_0x15de26=>_0x430b3e(_0x5ace4b(0x3df),_0x15de26),'children':_0x2c0852(Ns,{'currentStyleId':_0x4611ed[_0x5ace4b(0x40e)],'currentOptions':_0x4611ed[_0x5ace4b(0x6ab)]??{},'direction':_0xa2ca67,'palette':_0x426a5e,'onApplyTheme':_0x14c554=>{_0x5b25b1(_0x14c554),_0x430b3e('theme',!0x1);},'onChangeOptions':_0x141a32})})}),_0x2c0852(_0x10a77a,{'orientation':_0x5ace4b(0x3d4)}),_0x2c0852(ys,{'children':_0x2c0852(bs,{'data-toolbar-item':_0x5ace4b(0x1e4),'title':_0xd4a78d['t'](_0x5ace4b(0x44b)),'onClick':()=>_0x5e7d2f[_0x5ace4b(0x6af)](ra['id']),'children':_0x2c0852(_0x4e7988,{})})})]});}function Yd(_0xcfd765){const _0x2670f6=_0x3cd2e0;let {labels:_0x42b995,values:_0x40a3b9,onChange:_0xb53df5,onInteraction:_0x5bacca,onDelete:_0x456f5d,menuType:_0x18af6b,themeGallery:_0x5cb990}=_0xcfd765,{mountContainer:_0x152269}=_0x3f7f5b(_0x58ad4f),_0x4a5b50=_0x55e2b7(_0x24e1b6),[_0xa9cb9c,_0x579df7]=_0x18aa5b(null),[_0x21aef8,_0x37eb9f]=_0x18aa5b(_0x2670f6(0x45d)),[_0xe94f11,_0x45b30c]=_0x18aa5b('compact'),[_0x124b0d,_0x41a563]=_0x18aa5b(null),[_0x43e076,_0x398107]=_0x18aa5b(null),_0x2e81e3=()=>{_0x579df7(null),_0x41a563(null),_0x398107(null);},_0x17816e=_0x23d4be=>_0xb53df5((_0x4eb8fd,_0xddfcc5)=>Li(_0x4eb8fd,_0xddfcc5,{..._0x23d4be})),_0xaab4ea=[{'key':_0x2670f6(0x56e),'label':_0x42b995[_0x2670f6(0x56e)],'icon':_0x2c0852(_0x1e2a9e,{}),'active':_0x40a3b9['bold'],'patch':{'bl':_0x40a3b9[_0x2670f6(0x56e)]?_0x3953dc[_0x2670f6(0x646)]:_0x3953dc[_0x2670f6(0x425)]}},{'key':_0x2670f6(0x58f),'label':_0x42b995[_0x2670f6(0x58f)],'icon':_0x2c0852(_0xbdb01a,{}),'active':_0x40a3b9[_0x2670f6(0x58f)],'patch':{'it':_0x40a3b9[_0x2670f6(0x58f)]?_0x3953dc[_0x2670f6(0x646)]:_0x3953dc[_0x2670f6(0x425)]}},{'key':_0x2670f6(0x267),'label':_0x42b995[_0x2670f6(0x267)],'icon':_0x2c0852(_0x2a4a21,{}),'active':_0x40a3b9[_0x2670f6(0x267)],'patch':{'ul':{'s':_0x40a3b9[_0x2670f6(0x267)]?_0x3953dc[_0x2670f6(0x646)]:_0x3953dc['TRUE']}}},{'key':_0x2670f6(0x461),'label':_0x42b995[_0x2670f6(0x34d)],'icon':_0x2c0852(_0x5e47b0,{}),'active':_0x40a3b9[_0x2670f6(0x461)],'patch':{'st':{'s':_0x40a3b9[_0x2670f6(0x461)]?_0x3953dc[_0x2670f6(0x646)]:_0x3953dc['TRUE']}}}],_0x5c63e0={'textColor':_0x40a3b9['textColor'],'textBackgroundColor':_0x40a3b9[_0x2670f6(0x273)],'tableBackgroundColor':_0x40a3b9[_0x2670f6(0x3c6)],'tableBorderColor':_0x40a3b9[_0x2670f6(0x4b9)]},_0x35559d=_0x21aef8===_0x2670f6(0x45d)?['textColor',_0x2670f6(0x273)]:[_0x2670f6(0x277),_0x2670f6(0x36a)];return _0xa9cb9c?_0x152269?_0x3c0348(_0x2c0852(_0x2670f6(0x6d2),{'className':_0x2670f6(0x623),'onPointerDownCapture':_0x5bacca,'children':_0x12e0bf(_0x10a2b3,{'layout':_0x2670f6(0x5c7),'snap':_0xe94f11,'onSnapChange':_0x45b30c,'onClose':_0x2e81e3,'expandLabel':_0x42b995[_0x2670f6(0x6d6)],'collapseLabel':_0x42b995['collapse'],'role':'region','panelClassName':_0x2670f6(0x5ce),'ariaLabel':_0x42b995[_0xa9cb9c],'header':_0x12e0bf(_0x2670f6(0x6d2),{'className':'univer-flex\x20univer-h-12\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-px-3','children':[(_0x124b0d||_0x43e076)&&_0x2c0852(_0x2e12a2,{'variant':_0x2670f6(0x1db),'className':_0x2670f6(0x237),'aria-label':_0x42b995[_0x2670f6(0x408)],'onClick':()=>_0x124b0d?_0x41a563(null):_0x43e076==null?void 0x0:_0x43e076[_0x2670f6(0x4b0)](),'children':_0x2c0852(_0x3e5f14,{})}),_0x2c0852(_0x2670f6(0x1f3),{'className':'univer-flex-1\x20univer-text-base\x20univer-font-medium','children':_0x124b0d?_0x42b995[_0x124b0d]:(_0x43e076==null?void 0x0:_0x43e076[_0x2670f6(0x4d3)])??_0x42b995[_0xa9cb9c]}),_0x2c0852(_0x2e12a2,{'variant':_0x2670f6(0x1db),'className':_0x2670f6(0x237),'aria-label':_0x42b995[_0x2670f6(0x165)],'onClick':_0x2e81e3,'children':_0x2c0852(_0xa4ccaa,{})})]}),'children':[_0xa9cb9c===_0x2670f6(0x404)&&!_0x124b0d&&!_0x43e076&&_0x2c0852(_0x2670f6(0x6d2),{'className':_0x2670f6(0x52a),'children':_0x2c0852(_0x2670f6(0x6d2),{'role':_0x2670f6(0x540),'aria-label':_0x42b995[_0x2670f6(0x404)],'className':'univer-flex\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':[_0x2670f6(0x45d),_0x2670f6(0x3da),_0x2670f6(0x3af)][_0x2670f6(0x37f)](_0x48bcd2=>_0x2c0852(_0x2e12a2,{'role':_0x2670f6(0x1da),'aria-selected':_0x21aef8===_0x48bcd2,'variant':_0x2670f6(0x1db),'className':_0x2cb544(_0x2670f6(0x372),_0x21aef8===_0x48bcd2&&_0x2670f6(0x681)),'onClick':()=>_0x37eb9f(_0x48bcd2),'children':_0x42b995[_0x48bcd2]},_0x48bcd2))})}),_0x124b0d?_0x2c0852(_0x2f59aa,{'value':_0x5c63e0[_0x124b0d],'onChange':_0x198e90=>{_0xb53df5((_0x5679ae,_0xc4b800)=>{const _0x3344e0=_0x5473;switch(_0x124b0d){case'textColor':return _i(_0x5679ae,_0xc4b800,_0x198e90);case'textBackgroundColor':return Li(_0x5679ae,_0xc4b800,{'bg':{'rgb':_0x198e90}});case _0x3344e0(0x277):return gi(_0x5679ae,_0xc4b800,{'type':_0x3f8470['Solid'],'color':_0x198e90,'alpha':0x1});case'tableBorderColor':return yi(_0x5679ae,_0xc4b800,{'color':_0x198e90});default:return{};}});}}):_0x12e0bf(_0x2670f6(0x6d2),{'className':_0x2670f6(0x6a6),'children':[_0xa9cb9c===_0x2670f6(0x404)&&!_0x43e076&&_0x21aef8!==_0x2670f6(0x3af)&&_0x12e0bf(_0xf0f611,{'children':[_0x21aef8===_0x2670f6(0x45d)&&_0x12e0bf(_0xf0f611,{'children':[_0x2c0852(_0x2670f6(0x6d2),{'className':_0x2670f6(0x20c),'children':_0xaab4ea[_0x2670f6(0x37f)](({key:_0xb5001d,label:_0x132fdf,icon:_0x29b3cd,active:_0x16e3f0,patch:_0xa8ded4})=>_0x2c0852(_0x2e12a2,{'variant':_0x2670f6(0x1db),'className':_0x2cb544('univer-h-12\x20univer-text-lg',_0x16e3f0&&_0x2670f6(0x681)),'aria-label':_0x132fdf,'aria-pressed':_0x16e3f0,'onClick':()=>_0x17816e(_0xa8ded4),'children':_0x29b3cd},_0xb5001d))}),_0x12e0bf(_0x2670f6(0x6d2),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-3','children':[_0x12e0bf(_0x2670f6(0x4b5),{'className':_0x2670f6(0x2d2),'children':[_0x42b995['fontFamily'],_0x2c0852(_0x549472,{'ariaLabel':_0x42b995[_0x2670f6(0x46b)],'className':_0x2670f6(0x47d),'inputClassName':'!univer-text-base','value':_0x40a3b9[_0x2670f6(0x46b)],'onChange':_0x5b9e0c=>_0xb53df5((_0x43f1b7,_0x2be9c0)=>xi(_0x43f1b7,_0x2be9c0,_0x5b9e0c))})]}),_0x12e0bf(_0x2670f6(0x4b5),{'className':_0x2670f6(0x2d2),'children':[_0x42b995[_0x2670f6(0x377)],_0x2c0852(_0x48a657,{'className':'univer-w-full\x20[&_input]:!univer-h-12\x20[&_input]:!univer-text-base','controls':!0x1,'min':0x1,'max':0x190,'value':_0x40a3b9['fontSize'],'onChange':_0x28148d=>{_0x28148d!=null&&_0xb53df5((_0x2d38e3,_0xa5de90)=>Si(_0x2d38e3,_0xa5de90,_0x28148d));}})]})]})]}),_0x2c0852(_0x2670f6(0x6d2),{'className':_0x2670f6(0x245),'children':[{'label':_0x42b995[_0x2670f6(0x45a)],'value':_0x213d9e[_0x2670f6(0x5c8)],'icon':_0x2c0852(_0x232c1f,{})},{'label':_0x42b995[_0x2670f6(0x63c)],'value':_0x213d9e[_0x2670f6(0x3ae)],'icon':_0x2c0852(_0x58b40b,{})},{'label':_0x42b995[_0x2670f6(0x4f2)],'value':_0x213d9e[_0x2670f6(0x47a)],'icon':_0x2c0852(_0x74ac65,{})}][_0x2670f6(0x37f)](({label:_0x55cb3e,value:_0x3c396d,icon:_0x3d45c9})=>_0x2c0852(_0x2e12a2,{'variant':'ghost','className':_0x2cb544(_0x2670f6(0x175),_0x40a3b9[_0x2670f6(0x25f)]===_0x3c396d&&_0x2670f6(0x681)),'aria-label':_0x55cb3e,'aria-pressed':_0x40a3b9[_0x2670f6(0x25f)]===_0x3c396d,'onClick':()=>_0xb53df5((_0x5d662b,_0x342b98)=>di(_0x5d662b,_0x342b98,{'axis':_0x2670f6(0x4de),'value':_0x3c396d})),'children':_0x3d45c9},_0x3c396d))}),_0x2c0852('div',{'className':'univer-grid\x20univer-grid-cols-3\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':[{'label':_0x42b995[_0x2670f6(0x499)],'value':_0x456b59[_0x2670f6(0x448)],'icon':_0x2c0852(_0xefa4f0,{})},{'label':_0x42b995[_0x2670f6(0x569)],'value':_0x456b59[_0x2670f6(0x3e4)],'icon':_0x2c0852(_0xbea59a,{})},{'label':_0x42b995[_0x2670f6(0x671)],'value':_0x456b59['BOTTOM'],'icon':_0x2c0852(_0xe02021,{})}][_0x2670f6(0x37f)](({label:_0x1ed9ca,value:_0x428eae,icon:_0x4621ba})=>_0x2c0852(_0x2e12a2,{'variant':'ghost','className':_0x2cb544(_0x2670f6(0x175),_0x40a3b9[_0x2670f6(0x68c)]===_0x428eae&&'univer-bg-primary-50\x20univer-text-primary-600'),'aria-label':_0x1ed9ca,'aria-pressed':_0x40a3b9[_0x2670f6(0x68c)]===_0x428eae,'onClick':()=>_0xb53df5((_0x182b4e,_0x58b0c3)=>di(_0x182b4e,_0x58b0c3,{'axis':_0x2670f6(0x3d4),'value':_0x428eae})),'children':_0x4621ba},_0x428eae))}),_0x2c0852(_0x2670f6(0x6d2),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-1\x20dark:!univer-bg-gray-800','children':_0x35559d[_0x2670f6(0x37f)](_0xa16c01=>_0x12e0bf(_0x2e12a2,{'variant':_0x2670f6(0x1db),'className':_0x2670f6(0x23e),'onClick':()=>_0x41a563(_0xa16c01),'children':[_0x42b995[_0xa16c01],_0x12e0bf(_0x2670f6(0x1f3),{'className':_0x2670f6(0x471),'children':[_0x2c0852(_0x2670f6(0x1f3),{'className':_0x2670f6(0x3b4),'style':{'backgroundColor':_0x5c63e0[_0xa16c01]}}),_0x2c0852(_0x29e472,{})]})]},_0xa16c01))}),_0x21aef8===_0x2670f6(0x3da)&&_0x12e0bf(_0x2670f6(0x6d2),{'className':_0x2670f6(0x5b8),'children':[_0x12e0bf(_0x2670f6(0x4b5),{'className':_0x2670f6(0x4bf),'children':[_0x42b995[_0x2670f6(0x609)],_0x2c0852(_0x2af4b3,{'className':_0x2670f6(0x17b),'aria-label':_0x42b995[_0x2670f6(0x609)],'value':'','options':[{'value':'','label':_0x42b995[_0x2670f6(0x609)],'disabled':!0x0},{'value':_0x20ac30[_0x2670f6(0x201)],'label':_0x42b995[_0x2670f6(0x198)]},{'value':_0x20ac30['Outer'],'label':_0x42b995['borderPresetOuter']},{'value':_0x20ac30['Inner'],'label':_0x42b995[_0x2670f6(0x24e)]},{'value':_0x20ac30['None'],'label':_0x42b995[_0x2670f6(0x695)]}],'onChange':_0x5875fe=>{const _0x5c5fe7=_0x2670f6;let _0x40171b=Object[_0x5c5fe7(0x3d5)](_0x20ac30)['find'](_0x5d05db=>_0x5d05db===_0x5875fe);_0x40171b&&_0xb53df5((_0x66914c,_0x1575e6)=>bi(_0x66914c,_0x1575e6,_0x40171b));}})]}),_0x12e0bf(_0x2670f6(0x4b5),{'className':_0x2670f6(0x4bf),'children':[_0x42b995[_0x2670f6(0x1c4)],_0x2c0852(_0x48a657,{'className':_0x2670f6(0x56c),'controls':!0x1,'min':0x0,'value':_0x40a3b9[_0x2670f6(0x1c4)],'onChange':_0x401b76=>{_0x401b76!=null&&_0xb53df5((_0x28dd8b,_0x44dd3a)=>yi(_0x28dd8b,_0x44dd3a,{'width':_0x401b76}));}})]})]})]}),_0xa9cb9c===_0x2670f6(0x572)&&!_0x43e076&&_0x12e0bf(_0x2670f6(0x6d2),{'className':_0x2670f6(0x650),'children':[_0x2c0852(_0x2e12a2,{'className':_0x2670f6(0x175),'onClick':()=>{const _0x1a455a=_0x2670f6;_0xcfd765[_0x1a455a(0x4da)](_0x1a455a(0x6cc));},'children':_0x42b995[_0x2670f6(0x303)]}),_0x2c0852(_0x2e12a2,{'className':'univer-h-12','onClick':()=>{const _0x2ca565=_0x2670f6;_0xcfd765[_0x2ca565(0x4da)]('column');},'children':_0x42b995[_0x2670f6(0x5c9)]})]}),_0xa9cb9c===_0x2670f6(0x572)&&_0x2c0852(_0x42a8e4,{'menuType':_0x18af6b,'showHeader':!0x1,'onNavigationChange':_0x398107,'onOptionSelect':async _0x45d4b4=>{const _0x191a90=_0x2670f6;let _0x343a76=_0x45d4b4[_0x191a90(0x27d)]??_0x45d4b4['id'];if(!_0x343a76)return;let _0x524c4a=typeof _0x45d4b4[_0x191a90(0x5d7)]==_0x191a90(0x2f2)?_0x45d4b4[_0x191a90(0x5d7)](_0x45d4b4[_0x191a90(0x1bc)]):_0x45d4b4[_0x191a90(0x5d7)];await _0x4a5b50['executeCommand'](_0x343a76,_0x524c4a);}}),_0xa9cb9c===_0x2670f6(0x404)&&_0x21aef8==='styles'&&!_0x43e076&&_0x5cb990]})]})}),_0x152269):null:_0x2c0852(_0x2670f6(0x6d2),{'onPointerDownCapture':_0x5bacca,'children':_0x2c0852(_0x42a8e4,{'presentation':_0x2670f6(0x5d1),'schemas':[{'key':_0x2670f6(0x404),'order':0x0,'item':{'id':_0x2670f6(0x404),'type':_0xb4a2a3[_0x2670f6(0x456)],'title':_0x42b995['edit']}},{'key':_0x2670f6(0x572),'order':0x1,'item':{'id':_0x2670f6(0x572),'type':_0xb4a2a3[_0x2670f6(0x456)],'title':_0x42b995['operations']}},{'key':_0x2670f6(0x67c),'order':0x2,'item':{'id':_0x2670f6(0x67c),'type':_0xb4a2a3['BUTTON'],'title':_0x42b995[_0x2670f6(0x67c)]}}],'onOptionSelect':({id:_0x220d7b})=>{const _0x3c281a=_0x2670f6;_0x220d7b===_0x3c281a(0x404)?_0x579df7(_0x3c281a(0x404)):_0x220d7b==='operations'?_0x579df7(_0x3c281a(0x572)):_0x220d7b===_0x3c281a(0x67c)&&_0x456f5d();}})});}function Xd(_0x2846d0){const _0x55a9e4=_0x3cd2e0;let _0x427bae=_0x55e2b7(_0x54db7d);return _0x12e0bf(_0x55a9e4(0x6d2),{'className':_0x55a9e4(0x475),'dir':_0x2846d0['direction'],'children':[_0x2846d0[_0x55a9e4(0x168)]!==!0x1&&_0x2c0852(_0x55a9e4(0x6d2),{'className':_0x55a9e4(0x650),'children':Ms[_0x55a9e4(0x37f)](({key:_0x534768,labelKey:_0x8cb325})=>_0x12e0bf(_0x2e12a2,{'className':_0x2cb544(_0x55a9e4(0x582),_0x2846d0[_0x55a9e4(0x270)][_0x534768]&&_0x55a9e4(0x681)),'aria-pressed':!!_0x2846d0[_0x55a9e4(0x270)][_0x534768],'onClick':()=>_0x2846d0[_0x55a9e4(0x34b)]({..._0x2846d0[_0x55a9e4(0x270)],[_0x534768]:!_0x2846d0[_0x55a9e4(0x270)][_0x534768]}),'children':[_0x2846d0[_0x55a9e4(0x270)][_0x534768]&&_0x2c0852(_0x92eb1f,{}),_0x427bae['t'](_0x8cb325)]},_0x534768))}),_0x2846d0['showThemes']!==!0x1&&As['map'](_0x210f54=>_0x12e0bf(_0x55a9e4(0x492),{'className':_0x55a9e4(0x2ce),'children':[_0x2c0852('h3',{'className':_0x55a9e4(0x3e3),'children':_0x427bae['t'](js[_0x210f54])}),_0x2c0852(_0x55a9e4(0x6d2),{'className':_0x55a9e4(0x48d),'children':_0x44c4de[_0x55a9e4(0x22b)](_0x1219ec=>_0x1219ec['group']===_0x210f54)['map']((_0x56e2c4,_0x592874)=>_0x2c0852(_0x55a9e4(0x251),{'type':_0x55a9e4(0x251),'aria-label':_0x427bae['t'](js[_0x210f54])+'\x20'+(_0x592874+0x1),'aria-pressed':_0x2846d0['currentStyleId']===_0x56e2c4['id'],'className':_0x2cb544(_0x55a9e4(0x58b),_0x2846d0[_0x55a9e4(0x40d)]===_0x56e2c4['id']&&_0x55a9e4(0x196)),'onClick':()=>_0x2846d0[_0x55a9e4(0x1d2)](_0x56e2c4['id']),'children':_0x2c0852(Fs,{'styleId':_0x56e2c4['id'],'options':_0x2846d0[_0x55a9e4(0x270)],'direction':_0x2846d0[_0x55a9e4(0x286)]??_0x55a9e4(0x530),'palette':_0x2846d0[_0x55a9e4(0x215)]})},_0x56e2c4['id']))})]},_0x210f54))]});}function Zd(){const _0x40c8c2=_0x3cd2e0;let {selectionService:_0x1d2c26,localeService:_0x2e36d9,direction:_0x9950c9,position:_0x231946,visibleSelection:_0x4d9347,table:_0x3a1b5c,firstCellValues:_0x3c0777,tableThemePalette:_0x4fd6f1,applyPatch:_0x172c89,applyTableTheme:_0x2d7b0a,applyTableLook:_0x2d0eca}=qd(!0x0,0xf0),_0xe9a83d=_0x55e2b7(_0x24e1b6);if(!_0x4d9347||!_0x231946||!_0x3a1b5c)return null;let _0x57efe8={'left':_0x231946[_0x40c8c2(0x3b6)],'top':_0x231946[_0x40c8c2(0x649)],'width':_0x40c8c2(0x26c),'maxWidth':_0x40c8c2(0x46d),'minHeight':0x24,'transform':_0x40c8c2(0x211),'zIndex':0x2742};return _0x2c0852(_0x40c8c2(0x6d2),{'style':{..._0x57efe8,'left':Math[_0x40c8c2(0x61f)](Math[_0x40c8c2(0x379)](0xc,_0x231946[_0x40c8c2(0x3b6)]),window['innerWidth']-0xc)},'className':'univer-fixed','children':_0x2c0852(Yd,{'values':_0x3c0777,'menuType':'slide-table.contextMenu.cell','onInteraction':()=>_0x1d2c26['markTableInternalInteraction'](),'onChange':_0x172c89,'onDelete':()=>_0xe9a83d['executeCommand'](ra['id']),'onSelect':_0x1d19e1=>{const _0x5a276b=_0x40c8c2;let _0x530399=_0x4d9347['ranges'][0x0];if(_0x1d19e1===_0x5a276b(0x6ad)){var _0x3d3eb1,_0x234361;_0x1d2c26[_0x5a276b(0x3b3)]({..._0x4d9347,'startColumn':((_0x3d3eb1=_0x4d9347['focus'])==null?void 0x0:_0x3d3eb1[_0x5a276b(0x6ad)])??_0x530399[_0x5a276b(0x4dd)],'endColumn':((_0x234361=_0x4d9347[_0x5a276b(0x640)])==null?void 0x0:_0x234361['column'])??_0x530399[_0x5a276b(0x4dd)],'rowCount':_0x3a1b5c[_0x5a276b(0x400)]['length']});}else _0x1d2c26['selectCell']({..._0x4d9347,'row':_0x530399[_0x5a276b(0x290)],'column':_0x530399[_0x5a276b(0x4dd)]});},'labels':{'text':_0x2e36d9['t'](_0x40c8c2(0x549)),'cellStyle':_0x2e36d9['t'](_0x40c8c2(0x656)),'styles':_0x2e36d9['t'](_0x40c8c2(0x407)),'operations':_0x2e36d9['t'](_0x40c8c2(0x584)),'selectCell':_0x2e36d9['t'](_0x40c8c2(0x4c1)),'selectColumn':_0x2e36d9['t'](_0x40c8c2(0x16e)),'edit':_0x2e36d9['t'](_0x40c8c2(0x171)),'close':_0x2e36d9['t'](_0x40c8c2(0x1cb)),'expand':_0x2e36d9['t']('slides-table-ui.mobile.expand'),'collapse':_0x2e36d9['t'](_0x40c8c2(0x2ee)),'back':_0x2e36d9['t'](_0x40c8c2(0x200)),'delete':_0x2e36d9['t']('slides-table-ui.contextMenu.delete'),'fontFamily':_0x2e36d9['t']('slides-table-ui.editorToolbar.fontFamily'),'fontSize':_0x2e36d9['t'](_0x40c8c2(0x620)),'bold':_0x2e36d9['t'](_0x40c8c2(0x52d)),'italic':_0x2e36d9['t']('slides-table-ui.editorToolbar.italic'),'underline':_0x2e36d9['t']('slides-table-ui.editorToolbar.underline'),'strikethrough':_0x2e36d9['t'](_0x40c8c2(0x3d1)),'alignLeft':_0x2e36d9['t'](_0x40c8c2(0x342)),'alignCenter':_0x2e36d9['t'](_0x40c8c2(0x4d8)),'alignRight':_0x2e36d9['t'](_0x40c8c2(0x161)),'alignTop':_0x2e36d9['t'](_0x40c8c2(0x48c)),'alignMiddle':_0x2e36d9['t'](_0x40c8c2(0x58e)),'alignBottom':_0x2e36d9['t'](_0x40c8c2(0x16b)),'textColor':_0x2e36d9['t'](_0x40c8c2(0x36b)),'textBackgroundColor':_0x2e36d9['t'](_0x40c8c2(0x5eb)),'tableBackgroundColor':_0x2e36d9['t']('slides-table-ui.editorToolbar.tableBackgroundColor'),'tableBorderColor':_0x2e36d9['t']('slides-table-ui.editorToolbar.tableBorderColor'),'border':_0x2e36d9['t'](_0x40c8c2(0x6f0)),'borderWidth':_0x2e36d9['t']('slides-table-ui.editorToolbar.borderWidth'),'borderPresetAll':_0x2e36d9['t'](_0x40c8c2(0x3e8)),'borderPresetOuter':_0x2e36d9['t']('slides-table-ui.editorToolbar.borderPresetOuter'),'borderPresetInner':_0x2e36d9['t']('slides-table-ui.editorToolbar.borderPresetInner'),'noBorder':_0x2e36d9['t'](_0x40c8c2(0x4e8))},'themeGallery':_0x2c0852(Xd,{'currentStyleId':_0x3a1b5c[_0x40c8c2(0x40e)],'currentOptions':_0x3a1b5c[_0x40c8c2(0x6ab)]??{},'direction':_0x9950c9,'palette':_0x4fd6f1,'onApplyTheme':_0x2d7b0a,'onChangeOptions':_0x2d0eca})},_0x4d9347['tableId'])});}let Qd=class extends _0x528e02{constructor(_0x51f4a9=ti,_0x2ccd03,_0x317c32,_0x3c78d6,_0x1982bb,_0x102477,_0x19e14f,_0x25b17c){const _0x2fc674=_0x3cd2e0;super(),this[_0x2fc674(0x5fc)]=_0x51f4a9,this[_0x2fc674(0x51b)]=_0x2ccd03,this[_0x2fc674(0x179)]=_0x317c32,this[_0x2fc674(0x6cd)]=_0x3c78d6,this[_0x2fc674(0x263)]=_0x1982bb,this[_0x2fc674(0x615)]=_0x102477,this[_0x2fc674(0x4d2)]=_0x19e14f,this[_0x2fc674(0x5d9)]=_0x25b17c;let {..._0x352649}=_0x5380c8({},ti,this['_config']);this['_configService']['setConfig'](ei,_0x352649),[...xa,...Qa,uo,po]['forEach'](_0x4e7021=>this['disposeWithMe'](this['_commandService'][_0x2fc674(0x2a4)](_0x4e7021))),[...$a,...eo][_0x2fc674(0x5a6)](_0x3b7d61=>this['disposeWithMe'](this[_0x2fc674(0x4d2)][_0x2fc674(0x1e8)](_0x3b7d61)));}[_0x3cd2e0(0x340)](){const _0x38a7c7=_0x3cd2e0;[[fo],[Xs],[Dd],[J],[Ua],[Nd],[mo],[Od]]['forEach'](_0x5f4274=>this[_0x38a7c7(0x51b)][_0x38a7c7(0x180)](_0x5f4274)),this['disposeWithMe'](this[_0x38a7c7(0x51b)]['get'](_0x22df00)[_0x38a7c7(0x4c6)](kd)),_0x371bc8(this[_0x38a7c7(0x51b)],[[Xs],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x38a7c7(0x544)](this['_injector'][_0x38a7c7(0x57d)](_0x27ef96)[_0x38a7c7(0x4fb)](this[_0x38a7c7(0x51b)][_0x38a7c7(0x57d)](Nd)));}[_0x3cd2e0(0x26e)](){const _0x3cdcc4=_0x3cd2e0;this[_0x3cdcc4(0x615)][_0x3cdcc4(0x55f)](wd),this[_0x3cdcc4(0x51b)][_0x3cdcc4(0x57d)](Dd),this[_0x3cdcc4(0x544)](this[_0x3cdcc4(0x6cd)]['registerRenderModule'](_0xd672cc[_0x3cdcc4(0x35d)],[Lu])),this[_0x3cdcc4(0x544)](this['_uiPartsService']['registerComponent'](_0x41dc27[_0x3cdcc4(0x3d6)],()=>_0x2ef75c(Zd,this['_injector'])));}};q(Qd,_0x3cd2e0(0x278),_0xd672cc[_0x3cd2e0(0x35d)]),q(Qd,_0x3cd2e0(0x21c),_0x3cd2e0(0x3db)),q(Qd,_0x3cd2e0(0x610),ni),q(Qd,_0x3cd2e0(0x4f8),ri),Qd=Ha([_0x1fbcd2(_0x2fdfc7,_0x3ec9c5,_0x48e539,_0x13b7ba,_0x1b95f4),Q(0x1,_0x3caafe(_0x5781ba)),Q(0x2,_0x31c1a4),Q(0x3,_0x1fbd90),Q(0x4,_0x24e1b6),Q(0x5,_0x1c2395),Q(0x6,_0x247869),Q(0x7,_0x3638bd)],Qd);let $d=class extends _0x166661{constructor(_0xbb8efb,_0x2644de){const _0x4bee68=_0x3cd2e0;super(),this[_0x4bee68(0x6da)]=_0xbb8efb,this['_iconManager']=_0x2644de,this[_0x4bee68(0x347)](),this['_registerComponents']();}[_0x3cd2e0(0x347)](){const _0x1e35cd=_0x3cd2e0;this['disposeWithMe'](this[_0x1e35cd(0x60c)]['register']({'AdjustHeightDoubleIcon':_0xeccbfc,'AdjustWidthDoubleIcon':_0x3cd1e4,'CancelMergeIcon':_0x36ae53,'DeleteColumnDoubleIcon':_0xc7c8ac,'DeleteRowDoubleIcon':_0x539fb9,'InsertRowAboveDoubleIcon':_0x1de59d,'InsertRowBelowDoubleIcon':_0x53d5a9,'LeftInsertColumnDoubleIcon':_0x1296ab,'MergeAllIcon':_0x95c20,'RightInsertColumnDoubleIcon':_0x3a80a5,'TableIcon':_0x3de5d6}));}[_0x3cd2e0(0x19a)](){const _0x3ba4aa=_0x3cd2e0;this[_0x3ba4aa(0x544)](this[_0x3ba4aa(0x6da)]['register'](ho,go)),this['disposeWithMe'](this[_0x3ba4aa(0x6da)][_0x3ba4aa(0x4c6)](io,lo)),this[_0x3ba4aa(0x544)](this[_0x3ba4aa(0x6da)][_0x3ba4aa(0x4c6)](Is,Hs)),this['disposeWithMe'](this[_0x3ba4aa(0x6da)][_0x3ba4aa(0x4c6)](Ls,Ws)),this[_0x3ba4aa(0x544)](this[_0x3ba4aa(0x6da)]['register'](Rs,Ys));}};$d=Ha([Q(0x0,_0x3caafe(_0x57c4ba)),Q(0x1,_0x3caafe(_0x50ca23))],$d);let ef=class extends _0x585979{constructor(_0x4d8ee1,_0x389b2,_0x32b7c4,_0xd907f){const _0x34c6f1=_0x3cd2e0;super(),this[_0x34c6f1(0x6e9)]=_0x4d8ee1,this[_0x34c6f1(0x30f)]=_0x389b2,this[_0x34c6f1(0x54f)]=_0x32b7c4,this[_0x34c6f1(0x1c9)]=_0xd907f,q(this,_0x34c6f1(0x46e),0xa);}['check'](_0x42a4e1){const _0x31006e=_0x3cd2e0;return _0x42a4e1[_0x31006e(0x1f0)][_0x31006e(0x278)]===_0x5ddaa8[_0x31006e(0x230)];}[_0x3cd2e0(0x555)](_0x37c920,_0xa287f3){const _0x407704=_0x3cd2e0;if(_0x37c920[_0x407704(0x50f)]||_0x37c920[_0x407704(0x1f0)][_0x407704(0x278)]!==_0x5ddaa8['Table'])return null;let _0x4513ad=_0x37c920[_0x407704(0x1f0)],_0x14df01=_0x4513ad[_0x407704(0x6e3)],_0x4efecf='slide-drawing-'+_0xa287f3[_0x407704(0x264)]+'-'+_0xa287f3[_0x407704(0x602)]+'-'+_0x37c920[_0x407704(0x193)],_0x24abf5=this[_0x407704(0x5b3)](_0xa287f3['unitId'],_0x4513ad),_0x27d3f7=this[_0x407704(0x1c9)]['getResource'](_0xa287f3['unitId']),_0x533a02=_0x27d3f7==null?void 0x0:_0x27d3f7['themes'],_0x33a4e9=_0x6f0e35(_0x565018=>this['_themeService'][_0x407704(0x33d)](_0x565018)),_0x373f27={'controlButtonMode':'structural','left':_0xa287f3[_0x407704(0x5bc)]+(_0x14df01[_0x407704(0x3b6)]??0x0),'top':_0xa287f3[_0x407704(0x5ac)]+(_0x14df01[_0x407704(0x649)]??0x0),'width':_0x14df01['width']??0x0,'height':_0x14df01['height']??0x0,'angle':_0x14df01[_0x407704(0x39e)]??0x0,'flipX':_0x14df01[_0x407704(0x452)],'flipY':_0x14df01[_0x407704(0x449)],'skewX':_0x14df01['skewX'],'skewY':_0x14df01[_0x407704(0x35c)],'zIndex':_0xa287f3['orderIndex'],'visible':!_0x37c920[_0x407704(0x50f)],'evented':!0x0,'imageIoService':this[_0x407704(0x54f)],'localeService':this['_localeService'],'tableThemes':_0x533a02,'tableThemePalette':_0x33a4e9,'themeService':this[_0x407704(0x30f)]};return _0x24abf5&&(_0x373f27[_0x407704(0x38a)]=_0x24abf5),new Gc(_0x4efecf,_0x373f27);}[_0x3cd2e0(0x5b3)](_0x226f53,_0x1bd34a){const _0x59bb22=_0x3cd2e0;let _0x5e9123=tf(_0x1bd34a),_0x4ff054=nf(_0x5e9123==null?void 0x0:_0x5e9123[_0x59bb22(0x37b)]),_0x3ee3aa=_0x4ff054?this['_tableResourceService'][_0x59bb22(0x6c1)](_0x226f53,_0x4ff054):void 0x0;if(_0x3ee3aa){let _0xd2f727=_0x1dd2e2(_0x3ee3aa,{'id':_0x4ff054,'rowCount':0x3,'columnCount':0x3});if(_0xd2f727)return _0xd2f727;}let _0x150c95=tf(_0x5e9123==null?void 0x0:_0x5e9123[_0x59bb22(0x485)]),_0x1c3a2f=_0x4ff054??nf(_0x5e9123==null?void 0x0:_0x5e9123['id']),_0x380694=[_0x5e9123==null?void 0x0:_0x5e9123[_0x59bb22(0x38a)],_0x150c95==null?void 0x0:_0x150c95[_0x59bb22(0x38a)],_0x150c95==null?void 0x0:_0x150c95[_0x59bb22(0x66a)],_0x150c95==null?void 0x0:_0x150c95[_0x59bb22(0x1b4)],_0x5e9123];for(let _0x45bddf of _0x380694){let _0x597efe=_0x1dd2e2(_0x45bddf,{'id':_0x1c3a2f});if(_0x597efe)return _0x597efe;}}};ef=Ha([Q(0x0,_0x3caafe(_0x54db7d)),Q(0x1,_0x3caafe(_0xa87bea)),Q(0x2,_0x544e17),Q(0x3,_0x3caafe(_0x3837ee))],ef);function tf(_0x165cd0){const _0x5486d9=_0x3cd2e0;return _0x165cd0&&typeof _0x165cd0==_0x5486d9(0x3d7)&&!Array[_0x5486d9(0x4e2)](_0x165cd0)?_0x165cd0:void 0x0;}function nf(_0x343c31){const _0x42cc67=_0x3cd2e0;return typeof _0x343c31==_0x42cc67(0x5a0)&&_0x343c31[_0x42cc67(0x337)]()?_0x343c31:void 0x0;}let rf=class extends _0x528e02{constructor(_0x467738=ti,_0x36c345,_0x39617e,_0x48880e,_0x173512,_0x45e6a6,_0x579037,_0x48faec){const _0x563e12=_0x3cd2e0;super(),this['_config']=_0x467738,this[_0x563e12(0x51b)]=_0x36c345,this[_0x563e12(0x179)]=_0x39617e,this['_renderManagerService']=_0x48880e,this[_0x563e12(0x263)]=_0x173512,this['_menuManagerService']=_0x45e6a6,this[_0x563e12(0x4d2)]=_0x579037,this[_0x563e12(0x5d9)]=_0x48faec;let {..._0x20b044}=_0x5380c8({},ti,this['_config']);this['_configService'][_0x563e12(0x409)](ei,_0x20b044),this['_initCommands'](),this['_initShortcuts']();}['onStarting'](){const _0x267604=_0x3cd2e0;let _0x5efb24=this[_0x267604(0x51b)];this['_getDependencies']()['forEach'](_0x10155a=>_0x5efb24['add'](_0x10155a)),this[_0x267604(0x544)](_0x5efb24[_0x267604(0x57d)](_0x22df00)[_0x267604(0x4c6)](ef)),_0x371bc8(_0x5efb24,[[$d],[J],[Ua],[fo],[Nd],[mo],[Od]]),this[_0x267604(0x544)](_0x5efb24[_0x267604(0x57d)](_0x27ef96)[_0x267604(0x4fb)](_0x5efb24[_0x267604(0x57d)](Nd)));}[_0x3cd2e0(0x26e)](){const _0x17e6a4=_0x3cd2e0;this[_0x17e6a4(0x615)][_0x17e6a4(0x55f)](wd),this[_0x17e6a4(0x51b)]['get'](Dd),this[_0x17e6a4(0x544)](this['_renderManagerService']['registerRenderModule'](_0xd672cc[_0x17e6a4(0x35d)],this[_0x17e6a4(0x47b)]())),this[_0x17e6a4(0x544)](this[_0x17e6a4(0x5d9)]['registerComponent'](_0x41dc27[_0x17e6a4(0x3d6)],()=>_0x2ef75c(this['_getFloatingToolbarComponent'](),this[_0x17e6a4(0x51b)])));}[_0x3cd2e0(0x515)](){return[[fo],[$d],[Dd],[J],[Ua],[Nd],[mo],[Od]];}[_0x3cd2e0(0x47b)](){return[ou];}['_getFloatingToolbarComponent'](){return Jd;}[_0x3cd2e0(0x2f8)](){const _0x5441e8=_0x3cd2e0;[...xa,...Qa,uo,po][_0x5441e8(0x5a6)](_0x19e6f7=>{const _0x543c96=_0x5441e8;this[_0x543c96(0x544)](this[_0x543c96(0x263)][_0x543c96(0x2a4)](_0x19e6f7));});}['_initShortcuts'](){const _0x5a1ce1=_0x3cd2e0;[...$a,...eo][_0x5a1ce1(0x5a6)](_0x11e18b=>{const _0xb9b1df=_0x5a1ce1;this[_0xb9b1df(0x544)](this[_0xb9b1df(0x4d2)][_0xb9b1df(0x1e8)](_0x11e18b));});}};q(rf,_0x3cd2e0(0x278),_0xd672cc[_0x3cd2e0(0x35d)]),q(rf,_0x3cd2e0(0x21c),_0x3cd2e0(0x3db)),q(rf,_0x3cd2e0(0x610),ni),q(rf,'version',ri),rf=Ha([_0x1fbcd2(_0x2fdfc7,_0x3ec9c5,_0x48e539,_0x13b7ba,_0x508484),Q(0x1,_0x3caafe(_0x5781ba)),Q(0x2,_0x31c1a4),Q(0x3,_0x1fbd90),Q(0x4,_0x24e1b6),Q(0x5,_0x1c2395),Q(0x6,_0x247869),Q(0x7,_0x3638bd)],rf);var af=class extends _0x166661{constructor(..._0x18bd3e){const _0x257506=_0x3cd2e0;super(..._0x18bd3e),q(this,'_session$',new _0x14c8a8(null)),q(this,_0x257506(0x5b2),this['_session$'][_0x257506(0x316)]());}[_0x3cd2e0(0x685)](_0xe28564){const _0x4ee704=_0x3cd2e0;let _0x88dadc=of(_0xe28564);return this[_0x4ee704(0x631)][_0x4ee704(0x3d8)](_0x88dadc),_0x5386fa(()=>{const _0x2aaa53=_0x4ee704;this['_session$'][_0x2aaa53(0x5d3)]()===_0x88dadc&&this[_0x2aaa53(0x165)]();});}[_0x3cd2e0(0x433)](_0x156e6b){const _0x5d46d6=_0x3cd2e0;var _0xf59de0;let _0x348b9c=this[_0x5d46d6(0x631)]['getValue']();if(!_0x348b9c)return;let _0x547570=of({..._0x348b9c,..._0x156e6b,'documentData':_0x156e6b[_0x5d46d6(0x360)]??_0x348b9c['documentData'],'measurement':_0x156e6b[_0x5d46d6(0x6be)]??_0x348b9c[_0x5d46d6(0x6be)],'rect':_0x156e6b[_0x5d46d6(0x1af)]??_0x348b9c[_0x5d46d6(0x1af)],'tableTransform':_0x156e6b[_0x5d46d6(0x1b0)]??_0x348b9c[_0x5d46d6(0x1b0)]});this[_0x5d46d6(0x631)][_0x5d46d6(0x3d8)](_0x547570),(_0xf59de0=_0x348b9c[_0x5d46d6(0x5e6)])==null||_0xf59de0[_0x5d46d6(0x5cd)](_0x348b9c,of(_0x547570));}[_0x3cd2e0(0x4b8)](_0x2396ef){const _0x23adbe=_0x3cd2e0;var _0x24e816;let _0x2432c4=this[_0x23adbe(0x631)][_0x23adbe(0x5d3)]();if(!_0x2432c4)return;let _0x306231=of({..._0x2432c4,'documentData':_0x2396ef??_0x2432c4[_0x23adbe(0x360)]});(_0x24e816=_0x2432c4[_0x23adbe(0x3ad)])==null||_0x24e816['call'](_0x2432c4,_0x306231),this[_0x23adbe(0x165)]();}[_0x3cd2e0(0x194)](){const _0x14e629=_0x3cd2e0;var _0xd22a9b;let _0x2de2eb=this[_0x14e629(0x631)][_0x14e629(0x5d3)]();_0x2de2eb&&((_0xd22a9b=_0x2de2eb[_0x14e629(0x5db)])==null||_0xd22a9b[_0x14e629(0x5cd)](_0x2de2eb,of(_0x2de2eb)),this[_0x14e629(0x165)]());}['close'](){const _0x162f36=_0x3cd2e0;this[_0x162f36(0x631)][_0x162f36(0x3d8)](null);}[_0x3cd2e0(0x571)](){const _0x2fc253=_0x3cd2e0;let _0x12639c=this[_0x2fc253(0x631)][_0x2fc253(0x5d3)]();return _0x12639c?of(_0x12639c):null;}[_0x3cd2e0(0x18d)](_0x1d643d){const _0x594a39=_0x3cd2e0;let _0x4ea27d=this[_0x594a39(0x5b2)][_0x594a39(0x18d)](_0x2ff3d8=>{_0x1d643d(_0x2ff3d8?of(_0x2ff3d8):null);});return _0x5386fa(()=>_0x4ea27d[_0x594a39(0x33e)]());}[_0x3cd2e0(0x362)](){const _0x1a28dd=_0x3cd2e0;this[_0x1a28dd(0x165)](),this[_0x1a28dd(0x631)][_0x1a28dd(0x4b8)](),super[_0x1a28dd(0x362)]();}};function of(_0x3f45ce){const _0x9b72aa=_0x3cd2e0;return{..._0x3f45ce,'measurement':_0x3f45ce[_0x9b72aa(0x6be)]?{..._0x3f45ce[_0x9b72aa(0x6be)]}:void 0x0,'rect':{..._0x3f45ce[_0x9b72aa(0x1af)]},'tableTransform':{..._0x3f45ce[_0x9b72aa(0x1b0)]},'documentData':_0x43911b[_0x9b72aa(0x4a2)](_0x3f45ce['documentData'])};}function sf(_0x42361c){const _0x1d600e=_0x3cd2e0;return!_0x42361c||_0x42361c[_0x1d600e(0x1b6)]==='none'||!_0x42361c[_0x1d600e(0x289)][_0x1d600e(0x567)]?null:{'kind':_0x42361c[_0x1d600e(0x1b6)],'ranges':_0x42361c[_0x1d600e(0x289)][_0x1d600e(0x37f)](_0x2289d1=>({..._0x2289d1})),'active':_0x42361c[_0x1d600e(0x640)]??_0x42361c[_0x1d600e(0x352)]??(lf(_0x42361c[_0x1d600e(0x1b6)])?cf(_0x42361c):void 0x0)};}function cf(_0x2c266f){const _0x48bbaa=_0x3cd2e0;let _0x399b2f=_0x2c266f[_0x48bbaa(0x289)][0x0];if(_0x399b2f)return{'row':Math[_0x48bbaa(0x61f)](_0x399b2f['startRow'],_0x399b2f[_0x48bbaa(0x616)]),'column':Math[_0x48bbaa(0x61f)](_0x399b2f[_0x48bbaa(0x4dd)],_0x399b2f['endColumn'])};}function lf(_0xa239b4){const _0x2af7e8=_0x3cd2e0;return _0xa239b4==='cell'||_0xa239b4===_0x2af7e8(0x3f8)||_0xa239b4===_0x2af7e8(0x45d);}export{Yd as MobileTableMenu,Xd as MobileTableThemeGallery,ei as SLIDES_TABLE_UI_PLUGIN_CONFIG_KEY,X as SLIDE_TABLE_CONTEXT_MENU_ACTIONS,bo as SLIDE_TABLE_DEFAULT_BACKGROUND_COLOR,Wa as SLIDE_TABLE_KEYBOARD_SHORTCUT_DESCRIPTORS,Ho as SLIDE_TABLE_TOOLBAR_ACTIONS,af as SlideTableCellEditorService,Fl as SlideTableMobileSelection,Gc as SlideTableObject,J as SlideTableSelectionService,Va as TableKeyboardServiceBase,Ns as TableThemeGallery,as as TableToolbarDropdownInteractionGuard,Qd as UniverSlidesTableMobileUIPlugin,rf as UniverSlidesTableUIPlugin,hi as buildSlideTableBackgroundColorPatch,gi as buildSlideTableBackgroundFillPatch,Yo as buildSlideTableBorderPresetCommandParams,bi as buildSlideTableBorderPresetPatch,yi as buildSlideTableBorderStylePatch,rc as buildSlideTableCellEditorCommitCommand,Jo as buildSlideTableCellStyleCommandParams,Hl as buildSlideTableClearTextPatch,li as buildSlideTableContextMenuCommand,qo as buildSlideTableDeleteToolbarCommand,xi as buildSlideTableFontFamilyPatch,Si as buildSlideTableFontSizePatch,eu as buildSlideTableInsertDotControlState,Ga as buildSlideTableKeyboardShortcutBindings,Wo as buildSlideTableMergeCellsCommandParams,Ko as buildSlideTableMergeToolbarCommand,Vl as buildSlideTablePasteHtmlPatch,Bl as buildSlideTablePasteTextPatch,di as buildSlideTableTextAlignPatch,_i as buildSlideTableTextColorPatch,vi as buildSlideTableTextFillPatch,Li as buildSlideTableTextStylePatch,Go as buildSlideTableUnmergeCellsCommandParams,ti as defaultPluginConfig,Vo as ensureOption,Ro as getSlideTableFillPreviewStyle,Mo as getSlideTableFillType,Io as getSlideTableGradientValue,Z as getSlideTableSelectionContext,Lo as gradientValueToSlideTableFill,za as isSlideTableDocumentEditorTarget,Ra as isSlideTableEditableTarget,$l as isSlideTableInsertDotTrigger,ic as normalizeSlideTableCellDocumentData,tc as replaceSlideTableCellDocumentText,cf as resolveFirstSlideTableSelectionCell,qa as resolveNextSlideTableKeyboardCell,nc as resolveSlideTableCellEditorLayout,$s as resolveSlideTableCellEditorTarget,ci as resolveSlideTableContextMenuActions,jo as resolveSlideTableDocumentHorizontalAlign,Ka as resolveSlideTableKeyboardMovement,Xo as resolveSlideTableMergeToolbarAction,sf as resolveSlideTableObjectSelection,wo as resolveSlideTableSelectionValues,Uo as resolveSlideTableToolbarActions,zl as serializeSlideTableCellStyleAttribute,Rl as serializeSlideTableSelectionToHtml,Ll as serializeSlideTableSelectionToText,Fo as toCoreVerticalAlign};
|