@univerjs-pro/sheets-shape-ui 1.0.0-alpha.0 → 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/views/shapes.d.ts +8 -43
  62. package/lib/umd/index.js +1 -1
  63. package/lib/umd/locale/ar-SA.js +1 -1
  64. package/lib/umd/locale/ca-ES.js +1 -1
  65. package/lib/umd/locale/de-DE.js +1 -1
  66. package/lib/umd/locale/en-US.js +1 -1
  67. package/lib/umd/locale/es-ES.js +1 -1
  68. package/lib/umd/locale/fa-IR.js +1 -1
  69. package/lib/umd/locale/fr-FR.js +1 -1
  70. package/lib/umd/locale/id-ID.js +1 -1
  71. package/lib/umd/locale/it-IT.js +1 -1
  72. package/lib/umd/locale/ja-JP.js +1 -1
  73. package/lib/umd/locale/ko-KR.js +1 -1
  74. package/lib/umd/locale/pl-PL.js +1 -1
  75. package/lib/umd/locale/pt-BR.js +1 -1
  76. package/lib/umd/locale/ru-RU.js +1 -1
  77. package/lib/umd/locale/sk-SK.js +1 -1
  78. package/lib/umd/locale/vi-VN.js +1 -1
  79. package/lib/umd/locale/zh-CN.js +1 -1
  80. package/lib/umd/locale/zh-HK.js +1 -1
  81. package/lib/umd/locale/zh-TW.js +1 -1
  82. package/package.json +18 -18
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- function _0xa61a(_0x1e621a,_0x74d38b){_0x1e621a=_0x1e621a-0x1ea;const _0x415e6f=_0x415e();let _0xa61ac1=_0x415e6f[_0x1e621a];return _0xa61ac1;}const _0x1e4b59=_0xa61a;(function(_0x185e17,_0x979217){const _0x550c70=_0xa61a,_0x4cf2d3=_0x185e17();while(!![]){try{const _0x106de9=-parseInt(_0x550c70(0x57c))/0x1*(-parseInt(_0x550c70(0x467))/0x2)+parseInt(_0x550c70(0x477))/0x3+-parseInt(_0x550c70(0x490))/0x4*(-parseInt(_0x550c70(0x41c))/0x5)+-parseInt(_0x550c70(0x458))/0x6*(-parseInt(_0x550c70(0x460))/0x7)+parseInt(_0x550c70(0x56a))/0x8*(-parseInt(_0x550c70(0x26d))/0x9)+parseInt(_0x550c70(0x243))/0xa*(-parseInt(_0x550c70(0x3ef))/0xb)+parseInt(_0x550c70(0x382))/0xc*(-parseInt(_0x550c70(0x568))/0xd);if(_0x106de9===_0x979217)break;else _0x4cf2d3['push'](_0x4cf2d3['shift']());}catch(_0x39d973){_0x4cf2d3['push'](_0x4cf2d3['shift']());}}}(_0x415e,0xd1080));import{InsertShapeCommand as _0x368421,InsertSheetsShapeMutation as _0x215d73,RemoveSheetsShapeMutation as _0x4e21e6,SetShapeDrawingDataCommand as _0x1c0103,SetSheetsShapeRotateCommand as _0x326f25,SetSheetsShapeTextVerticalToggleCommand as _0x48a6b0,SheetsShapeService as _0x114e41,ToggleSheetsShapeFlipCommand as _0x4475bc,UniverSheetsShapePlugin as _0x54eb2e,UpdateConnectorRelationCommand as _0x3b868c,UpdateLineShapeResizeCommand as _0x2906c4,UpdateSheetsShapeDataMutation as _0x34adc6}from'@univerjs-pro/sheets-shape';import{BooleanNumber as _0x2147b9,CommandType as _0x10ee86,DependentOn as _0xef694,Disposable as _0x2d969b,DocumentDataModel as _0x320d15,DrawingTypeEnum as _0x44ab60,FOCUSING_COMMON_DRAWINGS as _0x174548,FOCUSING_SHAPE_TEXT_EDITOR as _0x440c37,GridType as _0x2b85c0,HorizontalAlign as _0x32f1d8,ICommandService as _0x229c27,IConfigService as _0x152b95,IContextService as _0x1b0873,IURLImageService as _0x15bb02,IUndoRedoService as _0x464373,IUniverInstanceService as _0x2b0f26,Inject as _0x49bdac,Injector as _0x2ea32b,LocaleService as _0x10276c,Plugin as _0x40b34e,ThemeService as _0x816f27,Tools as _0x4809b3,UniverInstanceType as _0x45bf6b,VerticalAlign as _0x3e15ec,WrapStrategy as _0x63018e,createInternalEditorID as _0x4e7289,generateRandomId as _0x111adf,merge as _0x47be0f,toDisposable as _0x38994f,touchDependencies as _0x58fa53}from'@univerjs/core';import{CopySheetCommand as _0x316634,RemoveSheetCommand as _0x4e06c5,SheetInterceptorService as _0x1e0430,SheetPermissionCheckController as _0x5429b9,SheetSkeletonService as _0x10f70c,SheetsSelectionsService as _0x2a638c,WorkbookEditablePermission as _0x3326f9,WorksheetEditPermission as _0x6e8fe4,attachRangeWithCoord as _0x5a99f9,discreteRangeToRange as _0x4d5024,getSheetCommandTarget as _0x423d93}from'@univerjs/sheets';import{DrawingApplyType as _0x1d0ecf,ISheetDrawingService as _0x113402,RemoveSheetDrawingCommand as _0x408d74,SetDrawingApplyMutation as _0x279d0c,transformToDrawingPosition as _0x2e64cd}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x54f86d,EMPTY as _0x35918a,Observable as _0x573178,map as _0x320f72,of as _0x2b1548,startWith as _0x103d57,switchMap as _0x4ee608}from'rxjs';import{IDrawingManagerService as _0xd6b9bd,IImageIoService as _0x56938d,getDrawingShapeKeyByDrawingSearch as _0x79bce2}from'@univerjs/drawing';import{CURSOR_TYPE as _0x3f8d29,Circle as _0x2d28b6,DRAWING_OBJECT_LAYER_INDEX as _0x11e46b,DocumentSkeleton as _0x4f12b1,DocumentViewModel as _0x398c66,Documents as _0x6d87e6,IRenderManagerService as _0x2302c1,Image as _0x3a684b,RENDER_CLASS_TYPE as _0x168bd7,SHEET_VIEWPORT_KEY as _0x27ee17,Shape as _0x3596e1,Transform as _0x2a1afe,VERTICAL_ROTATE_ANGLE as _0x1b8d23,Vector2 as _0xa2893b}from'@univerjs/engine-render';import{AlignOperationCommand as _0x26f8a6,DocCanvasPopManagerService as _0x5b58ae,DocSelectionRenderService as _0x320a6c,ResetInlineFormatTextBackgroundColorCommand as _0x351a43,SetInlineFormatTextBackgroundColorCommand as _0x45d415}from'@univerjs/docs-ui';import{COPY_TYPE as _0x2ba362,ISheetClipboardService as _0x12792d,PREDEFINED_HOOK_NAME as _0x82e4b5,SheetCanvasPopManagerService as _0x3d2b95,SheetScrollManagerService as _0x3a611d,SheetSkeletonManagerService as _0x3da40f,deriveStateFromActiveSheet$ as _0x5cb814,getCurrentRangeDisable$ as _0x3ebf28,getViewportByCell as _0x30fe0a}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x194822,ComponentManager as _0x30b3f7,IFontService as _0x4c16c9,IMenuManagerService as _0xca6cc4,ISidebarService as _0x966260,IconManager as _0x5b7817,MenuItemType as _0x5dfa3c,RibbonInsertGroup as _0x4c5a89,RibbonPosition as _0x2690d6,RibbonStartGroup as _0x2ceb11,getMenuHiddenObservable as _0x1d3e36,useDependency as _0x51983f}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x26c87d,ImageSourceTypeEnum as _0x1605f8,ShapeArrowSizeEnum as _0x374c23,ShapeArrowTypeEnum as _0x589d4e,ShapeDefaultConfig as _0xf02888,ShapeFillEnum as _0x355fa8,ShapeLineTypeEnum as _0x4778ad,ShapeModel as _0x32ec93,ShapeRenderModeEnum as _0x11876d,ShapeTypeEnum as _0x4d29db,computeConnectorRouteLayout as _0x30d37b,getBasicShapeRotateBound as _0x1b6222,isConnectorShape as _0x241b3b,isCurvedConnectorShape as _0x1c7eb9,routeConnectorLineShape as _0x4361af}from'@univerjs-pro/engine-shape';import{DrawingCommonPanel as _0x447bc8,DrawingImageClipService as _0x23d7c6,DrawingRenderService as _0x2f32d0,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x2cb1a7,getCurrentUnitInfo as _0x309101,insertGroupObject as _0x50426c}from'@univerjs/drawing-ui';import{DocSelectionManagerService as _0x5b4d6a}from'@univerjs/docs';import{Button as _0x2d018f,Dropdown as _0x20f71f}from'@univerjs/design';import{memo as _0xa99130,useEffect as _0x47891a,useMemo as _0x14e766,useState as _0x4fd01b}from'react';import{jsx as _0x5a567d,jsxs as _0x96059a}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x5d9940,SheetsDrawingGroupCopyPasteController as _0x4e32fe,UniverSheetsDrawingUIPlugin as _0x508bb9}from'@univerjs/sheets-drawing-ui';import{ShapeAccentBorderCallout1Icon as _0x5a7718,ShapeAccentBorderCallout2Icon as _0x5cca02,ShapeAccentBorderCallout3Icon as _0x3b9a36,ShapeAccentCallout1Icon as _0x49f470,ShapeAccentCallout2Icon as _0x3d20a3,ShapeAccentCallout3Icon as _0x1ff446,ShapeActionButtonBackPreviousIcon as _0x473d8e,ShapeActionButtonBeginningIcon as _0x441b77,ShapeActionButtonBlankIcon as _0x4939c2,ShapeActionButtonDocumentIcon as _0x3d8b20,ShapeActionButtonEndIcon as _0x42373f,ShapeActionButtonForwardNextIcon as _0x1f8a92,ShapeActionButtonHelpIcon as _0x1e608b,ShapeActionButtonHomeIcon as _0x40d9db,ShapeActionButtonInformationIcon as _0x38a03f,ShapeActionButtonMovieIcon as _0x200da6,ShapeActionButtonReturnIcon as _0x322990,ShapeActionButtonSoundIcon as _0x5295a8,ShapeArcIcon as _0x1d3ba6,ShapeBentArrowIcon as _0x4e4162,ShapeBentConnector3Arrow1Icon as _0x53f538,ShapeBentConnector3Arrow2Icon as _0x34a528,ShapeBentConnector3Icon as _0x464758,ShapeBentUpArrowIcon as _0x13f6c9,ShapeBevelIcon as _0x50738e,ShapeBlockArcIcon as _0x445d9c,ShapeBorderCallout1Icon as _0x399257,ShapeBorderCallout2Icon as _0x482eda,ShapeBorderCallout3Icon as _0x5a2d28,ShapeBracePairIcon as _0x257d04,ShapeBracketPairIcon as _0xdb09ca,ShapeCallout1Icon as _0x1aba50,ShapeCallout2Icon as _0x2a373c,ShapeCallout3Icon as _0x2887b4,ShapeCanIcon as _0x2f6d61,ShapeChartPlusIcon as _0xfb1cc5,ShapeChartStarIcon as _0x2affb6,ShapeChartXIcon as _0x14ee9a,ShapeChevronIcon as _0x49f4b9,ShapeChordIcon as _0x377a34,ShapeCircularArrowIcon as _0xd6b70d,ShapeCloudCalloutIcon as _0x581f3b,ShapeCloudIcon as _0x32a944,ShapeCornerIcon as _0x3c870a,ShapeCornerTabsIcon as _0x524ca2,ShapeCubeIcon as _0x353482,ShapeCurvedConnector3Arrow1Icon as _0x95af42,ShapeCurvedConnector3Arrow2Icon as _0x5e0643,ShapeCurvedConnector3Icon as _0x30677f,ShapeCurvedDownArrowIcon as _0x42a44b,ShapeCurvedLeftArrowIcon as _0x3c4d5b,ShapeCurvedRightArrowIcon as _0x3b7296,ShapeCurvedUpArrowIcon as _0xf4325a,ShapeDecagonIcon as _0x1f3d9a,ShapeDiagStripeIcon as _0x8bba66,ShapeDiamondIcon as _0x47564d,ShapeDodecagonIcon as _0x42d141,ShapeDonutIcon as _0x570395,ShapeDoubleWaveIcon as _0x531569,ShapeDownArrowCalloutIcon as _0x49cbed,ShapeDownArrowIcon as _0x20d0db,ShapeEllipseIcon as _0x1dc659,ShapeEllipseRibbon2Icon as _0x502b0e,ShapeEllipseRibbonIcon as _0x3ebfa2,ShapeFlowChartAlternateProcessIcon as _0x1a0ef6,ShapeFlowChartCollateIcon as _0x5aec04,ShapeFlowChartConnectorIcon as _0x477800,ShapeFlowChartDecisionIcon as _0x5a5356,ShapeFlowChartDelayIcon as _0x50fb9d,ShapeFlowChartDisplayIcon as _0x3665ee,ShapeFlowChartDocumentIcon as _0x3f6b40,ShapeFlowChartExtractIcon as _0xef870f,ShapeFlowChartInputOutputIcon as _0x289147,ShapeFlowChartInternalStorageIcon as _0x2948fb,ShapeFlowChartMagneticDiskIcon as _0x10a1d4,ShapeFlowChartMagneticDrumIcon as _0x3b88a0,ShapeFlowChartMagneticTapeIcon as _0x1f2474,ShapeFlowChartManualInputIcon as _0xdc0368,ShapeFlowChartManualOperationIcon as _0x2e507f,ShapeFlowChartMergeIcon as _0x589766,ShapeFlowChartMultidocumentIcon as _0x544f54,ShapeFlowChartOfflineStorageIcon as _0x227b33,ShapeFlowChartOffpageConnectorIcon as _0x2d1ab2,ShapeFlowChartOnlineStorageIcon as _0x2d35e9,ShapeFlowChartOrIcon as _0x416f31,ShapeFlowChartPredefinedProcessIcon as _0x1a297e,ShapeFlowChartPreparationIcon as _0x12faa9,ShapeFlowChartProcessIcon as _0x374757,ShapeFlowChartPunchedCardIcon as _0x2ed3ac,ShapeFlowChartPunchedTapeIcon as _0x19137e,ShapeFlowChartSortIcon as _0x4ee04b,ShapeFlowChartSummingJunctionIcon as _0x309a25,ShapeFlowChartTerminatorIcon as _0x2b42f5,ShapeFolderCornerIcon as _0x20b4e8,ShapeFrameIcon as _0x3946f3,ShapeFunnelIcon as _0x3a53f4,ShapeGear6Icon as _0x22326d,ShapeGear9Icon as _0x461a4b,ShapeHalfFrameIcon as _0x2ea8f7,ShapeHeartIcon as _0x2cdc8d,ShapeHeptagonIcon as _0x11c0ce,ShapeHexagonIcon as _0x595ae9,ShapeHomePlateIcon as _0x3909af,ShapeHorizontalScrollIcon as _0x261b89,ShapeIrregularSeal1Icon as _0xdd4a1c,ShapeIrregularSeal2Icon as _0x388272,ShapeLeftArrowCalloutIcon as _0x52a9cd,ShapeLeftArrowIcon as _0x2397bb,ShapeLeftBraceIcon as _0x134200,ShapeLeftBracketIcon as _0x410653,ShapeLeftCircularArrowIcon as _0xa59228,ShapeLeftRightArrowCalloutIcon as _0x4a4f85,ShapeLeftRightArrowIcon as _0x52e6c5,ShapeLeftRightCircularArrowIcon as _0x5382a2,ShapeLeftRightRibbonIcon as _0x55686a,ShapeLeftRightUpArrowIcon as _0x5a9443,ShapeLeftUpArrowIcon as _0xbfb7f1,ShapeLightningBoltIcon as _0x1d7acb,ShapeLineIcon as _0x41e039,ShapeLineInvIcon as _0x2babf2,ShapeMathDivideIcon as _0x483e97,ShapeMathEqualIcon as _0x27735f,ShapeMathMinusIcon as _0x314194,ShapeMathMultiplyIcon as _0x6d62d4,ShapeMathNotEqualIcon as _0x4ce577,ShapeMathPlusIcon as _0x3cfbef,ShapeMoonIcon as _0x2ae464,ShapeNoSmokingIcon as _0x3fa26a,ShapeNonIsoscelesTrapezoidIcon as _0x3f6e4d,ShapeNotchedRightArrowIcon as _0x4022e4,ShapeOctagonIcon as _0x3d7e3c,ShapeParallelogramIcon as _0x442c37,ShapePentagonIcon as _0x1edcc1,ShapePieIcon as _0x1b7495,ShapePieWedgeIcon as _0x5c3afa,ShapePlaqueIcon as _0x1c6abd,ShapePlaqueTabsIcon as _0x457c6f,ShapePlusIcon as _0xa0f15c,ShapeQuadArrowCalloutIcon as _0xdfe963,ShapeQuadArrowIcon as _0x1ea32f,ShapeRectIcon as _0xd79c1b,ShapeRectTextboxHorizontalIcon as _0x168013,ShapeRectTextboxVerticalIcon as _0x1dfd66,ShapeRibbon2Icon as _0x64c14d,ShapeRibbonIcon as _0x1ae969,ShapeRightArrowCalloutIcon as _0x49733c,ShapeRightArrowIcon as _0x37c9d5,ShapeRightBraceIcon as _0x128041,ShapeRightBracketIcon as _0x27c6fe,ShapeRound1RectIcon as _0x324ad2,ShapeRound2DiagRectIcon as _0x1febd5,ShapeRound2SameRectIcon as _0x478b4e,ShapeRoundRectIcon as _0x40eeb0,ShapeRtTriangleIcon as _0x409ae7,ShapeSmileyFaceIcon as _0x541e16,ShapeSnip1RectIcon as _0x593276,ShapeSnip2DiagRectIcon as _0x4ce311,ShapeSnip2SameRectIcon as _0x26cae4,ShapeSnipRoundRectIcon as _0x3f1ec0,ShapeSquareTabsIcon as _0x3a773c,ShapeStar10Icon as _0x2548f6,ShapeStar12Icon as _0x60d749,ShapeStar16Icon as _0x272f73,ShapeStar24Icon as _0x48e88b,ShapeStar32Icon as _0x2b7e79,ShapeStar4Icon as _0x3e4d6b,ShapeStar5Icon as _0x48f7cc,ShapeStar6Icon as _0x286548,ShapeStar7Icon as _0x56ca36,ShapeStar8Icon as _0x47ce15,ShapeStraightConnector1Icon as _0x529511,ShapeStraightConnector2Icon as _0x17ec07,ShapeStripedRightArrowIcon as _0x58f51f,ShapeSunIcon as _0x2361ae,ShapeSwooshArrowIcon as _0x22ef17,ShapeTeardropIcon as _0x4336be,ShapeTrapezoidIcon as _0x221518,ShapeTriangleIcon as _0x156e0c,ShapeUpArrowCalloutIcon as _0x374b2f,ShapeUpArrowIcon as _0x2551b1,ShapeUpDownArrowCalloutIcon as _0xb61e52,ShapeUpDownArrowIcon as _0x2858fa,ShapeUturnArrowIcon as _0x13996a,ShapeVerticalScrollIcon as _0xe712a,ShapeWaveIcon as _0x1b14b2,ShapeWedgeEllipseCalloutIcon as _0xabce82,ShapeWedgeRectCalloutIcon as _0x4641d8,ShapeWedgeRoundRectCalloutIcon as _0x3eaa18}from'@univerjs/icons';import{ShapeEditPanel as _0x5e9017,ShapeFloatingToolbar as _0x172aab,ShapeTextEditorContainer as _0x363eb1,ShapeTextFloatMenuRenderControllerBase as _0x5928a8,ShapeTextFloatToolbar as _0x5ce8ef,buildShapeTextDataUpdate as _0x5bab21}from'@univerjs-pro/shape-editor-ui';function xa(_0x37851a){'@babel/helpers - typeof';const _0x317259=_0xa61a;return xa=typeof Symbol=='function'&&typeof Symbol[_0x317259(0x48c)]==_0x317259(0x33f)?function(_0x1a0125){return typeof _0x1a0125;}:function(_0x2196d2){const _0x3ec577=_0x317259;return _0x2196d2&&typeof Symbol==_0x3ec577(0x3ae)&&_0x2196d2[_0x3ec577(0x3a3)]===Symbol&&_0x2196d2!==Symbol[_0x3ec577(0x39c)]?_0x3ec577(0x33f):typeof _0x2196d2;},xa(_0x37851a);}function Sa(_0x3b8492,_0x5482de){const _0x436e33=_0xa61a;if(xa(_0x3b8492)!=_0x436e33(0x4e8)||!_0x3b8492)return _0x3b8492;var _0x52e75e=_0x3b8492[Symbol['toPrimitive']];if(_0x52e75e!==void 0x0){var _0x333df2=_0x52e75e[_0x436e33(0x38d)](_0x3b8492,_0x5482de||_0x436e33(0x5a4));if(xa(_0x333df2)!=_0x436e33(0x4e8))return _0x333df2;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5482de==='string'?String:Number)(_0x3b8492);}function Ca(_0x41d79e){const _0x4bbc59=_0xa61a;var _0x224660=Sa(_0x41d79e,_0x4bbc59(0x59b));return xa(_0x224660)==_0x4bbc59(0x33f)?_0x224660:_0x224660+'';}function G(_0x1e6646,_0x45cb9d,_0xadb920){const _0x3682eb=_0xa61a;return(_0x45cb9d=Ca(_0x45cb9d))in _0x1e6646?Object[_0x3682eb(0x393)](_0x1e6646,_0x45cb9d,{'value':_0xadb920,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e6646[_0x45cb9d]=_0xadb920,_0x1e6646;}var K=class extends _0x2d969b{constructor(..._0x475f4e){const _0x50676e=_0xa61a;super(..._0x475f4e),G(this,_0x50676e(0x47d),new _0x54f86d(null)),G(this,_0x50676e(0x41a),this[_0x50676e(0x47d)][_0x50676e(0x23b)]()),G(this,'_onSavingEditorData$',new _0x54f86d(!0x1)),G(this,_0x50676e(0x5d8),this[_0x50676e(0x583)][_0x50676e(0x23b)]());}[_0x1e4b59(0x301)](){const _0x2eacdc=_0x1e4b59;this[_0x2eacdc(0x47d)]['next'](null),this[_0x2eacdc(0x47d)]['complete'](),this['_onSavingEditorData$']['next'](!0x1),this[_0x2eacdc(0x583)][_0x2eacdc(0x24b)](),super[_0x2eacdc(0x301)]();}[_0x1e4b59(0x537)](_0x4b506e){const _0x50d4e4=_0x1e4b59;this['_editingParams$'][_0x50d4e4(0x3af)](_0x4b506e),_0x4b506e==null&&this[_0x50d4e4(0x583)][_0x50d4e4(0x3af)](!0x1);}['setOnSavingEditorData'](_0x2e29fd){const _0x21dca5=_0x1e4b59;this[_0x21dca5(0x583)]['next'](_0x2e29fd);}[_0x1e4b59(0x38b)](){const _0x21da00=_0x1e4b59;return this[_0x21da00(0x47d)][_0x21da00(0x5b3)]();}};function wa(_0x49120b,_0xfc52f){const _0x1d1fbe=_0x1e4b59;let _0x38ae97={};for(let _0x30161e of Object['keys'](_0xfc52f)){let _0x53c637=_0xfc52f[_0x30161e],_0x1f30d2=_0x49120b[_0x30161e];if(_0x53c637!==void 0x0){if(_0x1f30d2===void 0x0){_0x38ae97[_0x30161e]=void 0x0;continue;}typeof _0x53c637=='object'&&_0x53c637&&!Array[_0x1d1fbe(0x556)](_0x53c637)&&typeof _0x1f30d2=='object'&&_0x1f30d2&&!Array['isArray'](_0x1f30d2)?_0x38ae97[_0x30161e]=wa(_0x1f30d2,_0x53c637):_0x38ae97[_0x30161e]=_0x1f30d2;}}return _0x38ae97;}const q={'type':_0x10ee86[_0x1e4b59(0x499)],'id':'sheet.command.update-shape-data','handler':(_0x13ee57,_0x15d571)=>{const _0x15bf87=_0x1e4b59;let _0x1793ff=_0x13ee57['get'](_0x114e41),{unitId:_0x8ee83d,subUnitId:_0x3f7485,shapeType:_0xa54b68,shapeId:_0x42bef4,shapeData:_0x58cdf5,oldShapeJSON:_0x6a75d9}=_0x15d571;if(!_0x1793ff[_0x15bf87(0x58f)](_0x8ee83d,_0x3f7485,_0x42bef4))return!0x1;let _0x3dad70=_0x13ee57[_0x15bf87(0x4f9)](_0x229c27),_0x40e3cd=_0x13ee57[_0x15bf87(0x4f9)](_0x464373),{oldShapeType:_0x1c561d,oldShapeData:_0x3fe700={}}=_0x6a75d9,_0x205ff1=wa(_0x3fe700,_0x58cdf5||{}),_0x29d1fb={'id':_0x34adc6['id'],'params':{'unitId':_0x8ee83d,'subUnitId':_0x3f7485,'shapeId':_0x42bef4,'shapeType':_0xa54b68,'shapeData':_0x58cdf5}},_0xb44261={'id':_0x34adc6['id'],'params':{'unitId':_0x8ee83d,'subUnitId':_0x3f7485,'shapeId':_0x42bef4,'shapeType':_0x1c561d,'shapeData':_0x205ff1}};return _0x3dad70[_0x15bf87(0x432)](_0x29d1fb['id'],_0x29d1fb['params'])?(_0x40e3cd[_0x15bf87(0x2c6)]({'unitID':_0x8ee83d,'undoMutations':[_0xb44261],'redoMutations':[_0x29d1fb]}),!0x0):!0x1;}},Ta={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x39b),'handler':async(_0x3e3e8b,_0x5a7c67)=>{const _0x2274db=_0x1e4b59;var _0x34b585;if(!_0x423d93(_0x3e3e8b[_0x2274db(0x4f9)](_0x2b0f26)))return!0x1;let _0x156e9f=_0x3e3e8b['get'](_0x113402)[_0x2274db(0x5b1)]()[_0x2274db(0x451)](_0x365c71=>_0x365c71[_0x2274db(0x356)]===_0x44ab60[_0x2274db(0x526)]);if(_0x156e9f[_0x2274db(0x270)]!==0x1)return!0x1;let _0x29a665=_0x3e3e8b['get'](K)[_0x2274db(0x38b)](),_0x55e3c1=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x294)])||_0x156e9f[0x0][_0x2274db(0x294)],_0x1a0fd1=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x51e)])||_0x156e9f[0x0][_0x2274db(0x51e)],_0x15b66a=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x543)])||_0x156e9f[0x0][_0x2274db(0x23e)],_0x5bd5e1=_0x3e3e8b[_0x2274db(0x4f9)](_0x114e41)[_0x2274db(0x58f)](_0x55e3c1,_0x1a0fd1,_0x15b66a);if(!_0x5bd5e1)return!0x1;let _0x2f6363=_0x5bd5e1[_0x2274db(0x4d2)]();if(!_0x2f6363||!(_0x2274db(0x3f1)in _0x2f6363))return!0x1;let _0x3f81b0=_0x3e3e8b[_0x2274db(0x4f9)](_0x229c27),{value:_0x3aa6f7}=_0x5a7c67,_0x31da72=_0x5bd5e1[_0x2274db(0x3e4)](),_0x3640f3=_0x5bd5e1[_0x2274db(0x3b6)](),_0x1779f6={..._0x2f6363[_0x2274db(0x3f1)],'ha':_0x3aa6f7};return await _0x3f81b0[_0x2274db(0x361)](q['id'],{'unitId':_0x55e3c1,'subUnitId':_0x1a0fd1,'shapeId':_0x15b66a,'shapeType':_0x31da72,'shapeData':{'shapeText':{'isHorizontal':(_0x34b585=_0x2f6363['isHorizontal'])==null?!0x0:_0x34b585,'dataModel':_0x1779f6}},'oldShapeJSON':{'oldShapeType':_0x31da72,'oldShapeData':_0x3640f3}});}},Ea={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x58a),'handler':async(_0x222df5,_0x221389)=>{const _0x3d8d86=_0x1e4b59;var _0x5d4cc5;if(!_0x221389)return!0x1;let {value:_0x31b5a6}=_0x221389,_0x210647=_0x222df5['get'](_0x229c27),_0x367aeb=_0x222df5[_0x3d8d86(0x4f9)](K),_0x22337a=_0x222df5[_0x3d8d86(0x4f9)](_0x114e41),_0x5cab20=_0x222df5[_0x3d8d86(0x4f9)](_0x2302c1),_0x3aa672=_0x367aeb[_0x3d8d86(0x38b)]();if(!_0x3aa672)return!0x1;let {unitId:_0x5c8bb0,subUnitId:_0x48cd46,shapeId:_0x5455b8}=_0x3aa672,_0x3f5ef8=_0x22337a['getShapeModel'](_0x5c8bb0,_0x48cd46,_0x5455b8);if(!_0x3f5ef8)return!0x1;let _0x31565d=_0x3f5ef8[_0x3d8d86(0x4d2)]();if(!_0x31565d||!('dataModel'in _0x31565d))return!0x1;let _0x4a6d3e=_0x31565d[_0x3d8d86(0x3f1)];if(!_0x4a6d3e)return!0x1;let _0x1498fd={..._0x4a6d3e,'fs':_0x31b5a6},_0x564599=await _0x210647[_0x3d8d86(0x361)](q['id'],{'unitId':_0x5c8bb0,'subUnitId':_0x48cd46,'shapeId':_0x5455b8,'shapeData':{'shapeText':{'isHorizontal':(_0x5d4cc5=_0x31565d['isHorizontal'])==null?!0x0:_0x5d4cc5,'dataModel':_0x1498fd}}});if(_0x564599){let _0x5a7156=_0x5cab20[_0x3d8d86(0x2f6)](_0x5c8bb0);if(_0x5a7156!=null&&_0x5a7156[_0x3d8d86(0x37d)]){let _0xed2645=_0x79bce2({'unitId':_0x5c8bb0,'subUnitId':_0x48cd46,'drawingId':_0x5455b8}),_0xd63fdd=_0x5a7156[_0x3d8d86(0x37d)][_0x3d8d86(0x4c0)](_0xed2645);_0xd63fdd&&_0xd63fdd[_0x3d8d86(0x44c)](!0x0);}}return _0x564599;}},Da={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x444),'handler':async _0x18b715=>{const _0x4c2c58=_0x1e4b59;var _0x2d76c1;let _0x1f16a4=_0x18b715['get'](K),_0x29eddf=_0x18b715[_0x4c2c58(0x4f9)](_0x114e41),_0x44a76b=_0x18b715[_0x4c2c58(0x4f9)](_0x229c27),_0x29f2cb=_0x1f16a4[_0x4c2c58(0x38b)]();if(!_0x29f2cb)return!0x1;let {unitId:_0x183408,subUnitId:_0xf2a609,shapeId:_0x59968d}=_0x29f2cb,_0x4b0fa4=_0x29eddf[_0x4c2c58(0x58f)](_0x183408,_0xf2a609,_0x59968d);if(!_0x4b0fa4)return!0x1;let _0x5a3040=_0x4b0fa4['getShapeTextData']();if(!_0x5a3040||!(_0x4c2c58(0x3f1)in _0x5a3040))return!0x1;let _0xda2e32=_0x5a3040['dataModel'],_0x3c851e=(_0x2d76c1=_0xda2e32==null?void 0x0:_0xda2e32['fs'])==null?0xe:_0x2d76c1,_0xe03837=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x18caa2=_0x3c851e,_0x3a3010=_0xe03837[_0x4c2c58(0x40e)](_0x3c851e);return _0x3a3010!==-0x1&&_0x3a3010<_0xe03837[_0x4c2c58(0x270)]-0x1?_0x18caa2=_0xe03837[_0x3a3010+0x1]:_0x3a3010===-0x1&&(_0x18caa2=Math[_0x4c2c58(0x577)](_0x3c851e)+0x1),_0x44a76b['executeCommand'](Ea['id'],{'value':_0x18caa2});}},Oa={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x56c),'handler':async _0x4ffada=>{const _0x5374ad=_0x1e4b59;var _0x3108a9;let _0x3dce4d=_0x4ffada['get'](K),_0x228bd5=_0x4ffada['get'](_0x114e41),_0x5bda2b=_0x4ffada[_0x5374ad(0x4f9)](_0x229c27),_0xe488f1=_0x3dce4d[_0x5374ad(0x38b)]();if(!_0xe488f1)return!0x1;let {unitId:_0x1e4db4,subUnitId:_0x72a917,shapeId:_0x22474f}=_0xe488f1,_0x1458bf=_0x228bd5[_0x5374ad(0x58f)](_0x1e4db4,_0x72a917,_0x22474f);if(!_0x1458bf)return!0x1;let _0x9602a8=_0x1458bf['getShapeTextData']();if(!_0x9602a8||!(_0x5374ad(0x3f1)in _0x9602a8))return!0x1;let _0x125fc0=_0x9602a8[_0x5374ad(0x3f1)],_0x20b12c=(_0x3108a9=_0x125fc0==null?void 0x0:_0x125fc0['fs'])==null?0xe:_0x3108a9,_0x2866aa=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x18be15=_0x20b12c,_0x56face=_0x2866aa[_0x5374ad(0x40e)](_0x20b12c);return _0x56face!==-0x1&&_0x56face>0x0?_0x18be15=_0x2866aa[_0x56face-0x1]:_0x56face===-0x1&&(_0x18be15=Math['floor'](_0x20b12c)-0x1),_0x18be15<0x1&&(_0x18be15=0x1),_0x5bda2b[_0x5374ad(0x361)](Ea['id'],{'value':_0x18be15});}},J={'type':_0x10ee86['COMMAND'],'id':_0x1e4b59(0x3d8),'handler':async(_0x363527,_0x1789e2)=>{const _0xd436f8=_0x1e4b59;var _0x1429e2;if(!_0x423d93(_0x363527[_0xd436f8(0x4f9)](_0x2b0f26)))return!0x1;let _0x514d7b=_0x363527[_0xd436f8(0x4f9)](_0x113402)['getFocusDrawings']()[_0xd436f8(0x451)](_0x257bf1=>_0x257bf1['drawingType']===_0x44ab60[_0xd436f8(0x526)]);if(_0x514d7b[_0xd436f8(0x270)]!==0x1)return!0x1;let _0x868c4b=_0x363527['get'](K)[_0xd436f8(0x38b)](),_0x48c653=(_0x868c4b==null?void 0x0:_0x868c4b['unitId'])||_0x514d7b[0x0][_0xd436f8(0x294)],_0x2b12cc=(_0x868c4b==null?void 0x0:_0x868c4b[_0xd436f8(0x51e)])||_0x514d7b[0x0][_0xd436f8(0x51e)],_0x4ecb93=(_0x868c4b==null?void 0x0:_0x868c4b[_0xd436f8(0x543)])||_0x514d7b[0x0]['drawingId'],_0x1dec48=_0x363527[_0xd436f8(0x4f9)](_0x114e41)[_0xd436f8(0x58f)](_0x48c653,_0x2b12cc,_0x4ecb93);if(!_0x1dec48)return!0x1;let _0x177b72=_0x1dec48[_0xd436f8(0x4d2)]();if(!_0x177b72||!(_0xd436f8(0x3f1)in _0x177b72))return!0x1;let _0x5f5108=_0x363527[_0xd436f8(0x4f9)](_0x229c27),{value:_0x11ba32}=_0x1789e2,_0x5ef752=_0x1dec48[_0xd436f8(0x3e4)](),_0x339cc5=_0x1dec48[_0xd436f8(0x3b6)](),_0x289d92={..._0x177b72[_0xd436f8(0x3f1)],'va':_0x11ba32};return await _0x5f5108[_0xd436f8(0x361)](q['id'],{'unitId':_0x48c653,'subUnitId':_0x2b12cc,'shapeId':_0x4ecb93,'shapeType':_0x5ef752,'shapeData':{'shapeText':{'isHorizontal':(_0x1429e2=_0x177b72[_0xd436f8(0x59f)])==null?!0x0:_0x1429e2,'dataModel':_0x289d92}},'oldShapeJSON':{'oldShapeType':_0x5ef752,'oldShapeData':_0x339cc5}});}},ka={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x41e),'handler':(_0x4c479c,_0xb945c8)=>{const _0x44e3e4=_0x1e4b59;if(!_0xb945c8)return!0x1;let {value:_0x5dfc58}=_0xb945c8;return _0x4c479c['get'](_0x229c27)[_0x44e3e4(0x432)](_0x26f8a6['id'],{'alignType':_0x5dfc58});}},Aa={'type':_0x10ee86['OPERATION'],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}},ja={'type':_0x10ee86[_0x1e4b59(0x3cc)],'id':'sheet.operation.open-sheet-shape-format-panel','handler'(){return!0x0;}},Ma=_0x1e4b59(0x40f),Na=_0x1e4b59(0x488),Pa=_0x4e7289('SHAPE_TEXT');function Fa(_0x42fba7,_0x4ced2b,_0x388f79,_0x5e181a,_0x5ce617,_0x932c9){const _0x2a7783=_0x1e4b59;let _0x15e6bc={'unitId':_0x4ced2b,'subUnitId':_0x388f79,'shapeId':_0x5e181a,'shapeData':_0x932c9,'oldShapeJSON':_0x5ce617};return _0x42fba7[_0x2a7783(0x361)](q['id'],_0x15e6bc);}function Ia(_0x16f931,_0x2016f4,_0x5eb18b,_0x1b7a27,_0x98cd65,_0x3c7999){const _0x41775c=_0x1e4b59;let _0x4464f9={'unitId':_0x2016f4,'subUnitId':_0x5eb18b,'shapeId':_0x1b7a27,'shapeData':_0x3c7999,'oldShapeJSON':_0x98cd65};return _0x16f931[_0x41775c(0x361)](q['id'],_0x4464f9);}function La(_0x12266e){const _0x103f6a=_0x1e4b59;var _0x57289b,_0x4d449a,_0x24eecb,_0x1c7af2;let _0x3c9a8d=(_0x57289b=(_0x4d449a=_0x12266e[_0x103f6a(0x46c)])==null||(_0x4d449a=_0x4d449a['dataStream'])==null?void 0x0:_0x4d449a[_0x103f6a(0x270)])==null?0x0:_0x57289b,_0x18f866=(_0x24eecb=_0x12266e[_0x103f6a(0x46c)])==null?void 0x0:_0x24eecb[_0x103f6a(0x582)];if(_0x18f866!=null&&_0x18f866[_0x103f6a(0x270)])for(let _0x1d1460 of _0x18f866){var _0x4744d0;_0x1d1460['gridType']=(_0x4744d0=_0x1d1460[_0x103f6a(0x2b3)])==null?_0x2b85c0[_0x103f6a(0x449)]:_0x4744d0;}else _0x12266e['body']&&(_0x12266e['body'][_0x103f6a(0x582)]=[{'startIndex':Math[_0x103f6a(0x4cf)](0x0,_0x3c9a8d-0x1),'gridType':_0x2b85c0[_0x103f6a(0x449)]}]);let _0x3cbcc3=(_0x1c7af2=_0x12266e[_0x103f6a(0x46c)])==null?void 0x0:_0x1c7af2['paragraphs'];if(_0x3cbcc3)for(let _0x178b62 of _0x3cbcc3){var _0x10df34,_0x1bc3a0,_0x169cfb,_0xe5512,_0x599b2b,_0x1f76b5,_0x3da699,_0x279aff;_0x178b62[_0x103f6a(0x4d9)]={..._0x178b62['paragraphStyle'],'lineSpacing':(_0x10df34=(_0x1bc3a0=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0x1bc3a0['lineSpacing'])==null?0x1:_0x10df34,'snapToGrid':(_0x169cfb=(_0xe5512=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0xe5512[_0x103f6a(0x466)])==null?_0x2147b9[_0x103f6a(0x4b4)]:_0x169cfb,'spaceAbove':(_0x599b2b=(_0x1f76b5=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0x1f76b5[_0x103f6a(0x4ae)])==null?{'v':0x0}:_0x599b2b,'spaceBelow':(_0x3da699=(_0x279aff=_0x178b62['paragraphStyle'])==null?void 0x0:_0x279aff[_0x103f6a(0x341)])==null?{'v':0x0}:_0x3da699};}}function Ra(_0x1516ab){const _0x2e2ed2=_0x1e4b59;let _0x4b4ee1=_0x1516ab[_0x2e2ed2(0x46c)],_0xa7517e=_0x4b4ee1==null?void 0x0:_0x4b4ee1['paragraphs'],_0x4f9266=_0x4b4ee1==null?void 0x0:_0x4b4ee1[_0x2e2ed2(0x317)];if(!_0x4b4ee1||!(_0xa7517e!=null&&_0xa7517e[_0x2e2ed2(0x270)])||!_0x4f9266)return;let _0x3c8859=[];for(let _0x5b5922=0x0;_0x5b5922<_0x4f9266[_0x2e2ed2(0x270)];_0x5b5922++)_0x4f9266[_0x5b5922]==='\x0d'&&_0x3c8859[_0x2e2ed2(0x350)](_0x5b5922);_0x3c8859[_0x2e2ed2(0x270)]===_0xa7517e[_0x2e2ed2(0x270)]&&(_0x4b4ee1['paragraphs']=_0xa7517e[_0x2e2ed2(0x48a)]((_0xf10ca8,_0x57192c)=>({..._0xf10ca8,'startIndex':_0x3c8859[_0x57192c]})));}function za(_0x1ac704,_0x583f56){const _0x4d45dc=_0x1e4b59;var _0x1e764a,_0xc0b0f1,_0x469f77;let {isHorizontal:_0x44154e,textRect:_0x1235be,verticalAlign:_0x19bbf3}=_0x583f56,_0x10e685=_0x44154e?_0x1235be[_0x4d45dc(0x381)]:_0x1235be['height'],_0x3f2817=_0x4809b3[_0x4d45dc(0x54f)](_0x1ac704),_0x29df5d=(_0x1e764a=_0x3f2817[_0x4d45dc(0x52a)])==null?{}:_0x1e764a,_0x5e38f4={..._0x29df5d['renderConfig'],'centerAngle':_0x44154e?0x0:_0x1b8d23,'vertexAngle':_0x44154e?0x0:_0x1b8d23,'wrapStrategy':_0x63018e[_0x4d45dc(0x594)],'zeroWidthParagraphBreak':(_0xc0b0f1=(_0x469f77=_0x29df5d[_0x4d45dc(0x3c4)])==null?void 0x0:_0x469f77['zeroWidthParagraphBreak'])==null?_0x2147b9[_0x4d45dc(0x384)]:_0xc0b0f1};if(_0x19bbf3!==void 0x0&&(_0x5e38f4[_0x4d45dc(0x5c0)]=_0x19bbf3),_0x583f56[_0x4d45dc(0x231)]!==void 0x0){var _0x1dc5b0;_0x5e38f4[_0x4d45dc(0x231)]=_0x583f56[_0x4d45dc(0x231)];let _0x27e01e=(_0x1dc5b0=_0x3f2817['body'])==null?void 0x0:_0x1dc5b0['paragraphs'];if(_0x27e01e){for(let _0xa2a231 of _0x27e01e)_0xa2a231[_0x4d45dc(0x4d9)]||(_0xa2a231[_0x4d45dc(0x4d9)]={}),_0xa2a231[_0x4d45dc(0x4d9)][_0x4d45dc(0x231)]=_0x583f56[_0x4d45dc(0x231)];}}return _0x3f2817[_0x4d45dc(0x52a)]={..._0x29df5d,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x10e685,'height':0x1/0x0},'renderConfig':_0x5e38f4},Ra(_0x3f2817),La(_0x3f2817),_0x3f2817;}var Ba=class extends _0x3596e1{constructor(_0x3f154e,_0x496680){const _0x54fe7a=_0x1e4b59;super(_0x3f154e,_0x496680),G(this,_0x54fe7a(0x399),void 0x0),G(this,_0x54fe7a(0x527),!0x0),G(this,'_drawingType',_0x44ab60[_0x54fe7a(0x526)]),G(this,_0x54fe7a(0x3d4),!0x0),this['_props']={..._0x496680},this['_init']();}[_0x1e4b59(0x51b)](){const _0x2f33ea=_0x1e4b59;this[_0x2f33ea(0x4ea)][_0x2f33ea(0x573)](_0x2b67e7=>{const _0x5a25ba=_0x2f33ea;this[_0x5a25ba(0x5af)](_0x2b67e7);});}['setPrstGeom'](_0xc2accc){const _0x56166b=_0x1e4b59;this[_0x56166b(0x399)]['prstGeom']=_0xc2accc;}[_0x1e4b59(0x537)](_0x43d29b){const _0x3c1ec7=_0x1e4b59;this['_props'][_0x3c1ec7(0x322)]=_0x43d29b,this['makeDirty'](!0x0);}get[_0x1e4b59(0x294)](){const _0x570f24=_0x1e4b59;return this[_0x570f24(0x399)][_0x570f24(0x294)];}get[_0x1e4b59(0x51e)](){const _0x5f24e2=_0x1e4b59;return this[_0x5f24e2(0x399)]['subUnitId'];}[_0x1e4b59(0x5af)](_0x4fb0ab){const _0x31ffbf=_0x1e4b59;if(this[_0x31ffbf(0x399)][_0x31ffbf(0x49c)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x1c191e,height:_0x4d4a88}=this,{width:_0x3ae358=0x0,height:_0x37570d=0x0}=_0x4fb0ab[_0x31ffbf(0x461)],{left:_0x2338e6=0x0,top:_0x1897cc=0x0,right:_0xc262c9=0x0,bottom:_0x5f0938=0x0}=this[_0x31ffbf(0x399)][_0x31ffbf(0x49c)],_0x196c6b=_0x2338e6,_0x297c9c=_0x1897cc,_0x22bdf9=_0xc262c9,_0x13125e=_0x5f0938,_0xe33f10=!0x1;if(_0x3ae358!==0x0&&_0x3ae358!==_0x1c191e){let _0x2745f3=_0x2338e6/_0x3ae358,_0x11e6b3=_0xc262c9/_0x3ae358;_0x196c6b=_0x1c191e*_0x2745f3,_0x22bdf9=_0x1c191e*_0x11e6b3,_0xe33f10=!0x0;}if(_0x37570d!==0x0&&_0x37570d!==_0x4d4a88){let _0x9582fd=_0x1897cc/_0x37570d,_0x487f79=_0x5f0938/_0x37570d;_0x297c9c=_0x4d4a88*_0x9582fd,_0x13125e=_0x4d4a88*_0x487f79,_0xe33f10=!0x0;}_0xe33f10&&this[_0x31ffbf(0x5c7)]({'left':_0x196c6b,'top':_0x297c9c,'right':_0x22bdf9,'bottom':_0x13125e});}[_0x1e4b59(0x5c7)](_0x71674f){const _0xe92448=_0x1e4b59;this[_0xe92448(0x399)]['srcRect']=_0x71674f,this[_0xe92448(0x44c)](!0x0);}['setFillImage'](_0x9599d7){const _0x3a143a=_0x1e4b59;this[_0x3a143a(0x399)][_0x3a143a(0x2bb)]=_0x9599d7,this[_0x3a143a(0x44c)](!0x0);}set[_0x1e4b59(0x44d)](_0x3b6741){const _0xb8c2a1=_0x1e4b59;this[_0xb8c2a1(0x244)]=_0x3b6741;}get['transform'](){const _0x4580c2=_0x1e4b59;this[_0x4580c2(0x244)]||this[_0x4580c2(0x31c)]();let _0x4ed742=this['_transform'][_0x4580c2(0x5f5)]();return this[_0x4580c2(0x261)](_0x4ed742);}get[_0x1e4b59(0x3bb)](){const _0x5672cc=_0x1e4b59;return this['_props'][_0x5672cc(0x3bb)];}get['shapeId'](){return this['_props']['shapeId'];}get[_0x1e4b59(0x40b)](){const _0x51cf56=_0x1e4b59;return _0x168bd7[_0x51cf56(0x42f)];}[_0x1e4b59(0x21b)](_0x1e4631,_0x324837,_0x2f5be5,_0x2b033c){const _0x3f157e=_0x1e4b59;let _0x3c0b26=this[_0x3f157e(0x399)]['shapeModel'];if(!_0x3c0b26||!_0x324837)return;let _0x562d60=_0x2f5be5==null?this['width']:_0x2f5be5,_0x5d3d5c=_0x2b033c==null?this[_0x3f157e(0x310)]:_0x2b033c,_0xb28502={'shapeType':_0x3c0b26['getShapeType'](),'width':_0x562d60,'height':_0x5d3d5c},_0x3e9fea={'renderMode':_0x11876d[_0x3f157e(0x4a1)],'oKey':this[_0x3f157e(0x2fc)],'image':this['_props'][_0x3f157e(0x2bb)],'angle':this['angle']};_0x3c0b26['updateContext'](_0xb28502),_0x1e4631[_0x3f157e(0x1f7)]();let _0x1287a5={'top':0x0,'left':0x0,'width':_0x562d60,'height':_0x5d3d5c};_0x3c0b26['render'](_0x1e4631,_0x1287a5,_0x3e9fea),_0x1e4631[_0x3f157e(0x3a2)]();let _0x39a96c=_0x3c0b26[_0x3f157e(0x4d2)](),_0x3f9ea7=_0x3c0b26[_0x3f157e(0x229)](_0x1287a5),_0x24c513=_0x3c0b26['isLineShape']();if(_0x39a96c&&_0x3f9ea7&&!_0x24c513){_0x1e4631[_0x3f157e(0x1f7)](),this[_0x3f157e(0x37f)]()['flipX']&&_0x1e4631[_0x3f157e(0x3c7)](-0x1,0x1);let _0x360c17=_0x562d60/0x2,_0x4a4226=_0x5d3d5c/0x2;_0x1e4631[_0x3f157e(0x37a)](-_0x360c17,-_0x4a4226),_0x1e4631[_0x3f157e(0x254)](),this[_0x3f157e(0x47b)](_0x1e4631,_0x39a96c,_0x3f9ea7),_0x1e4631[_0x3f157e(0x3a2)]();}}[_0x1e4b59(0x2bd)](_0x12f61e){}[_0x1e4b59(0x47b)](_0x45112f,_0x301e5f,_0x3d068f){const _0xe36a98=_0x1e4b59;this[_0xe36a98(0x399)][_0xe36a98(0x322)]||(_0xe36a98(0x227)in _0x301e5f&&_0x301e5f[_0xe36a98(0x227)]===!0x1?this['_drawSimpleText'](_0x45112f,_0x301e5f,_0x3d068f):this[_0xe36a98(0x53e)](_0x45112f,_0x301e5f,_0x3d068f));}[_0x1e4b59(0x53b)](_0xe42147,_0xba84,_0x2a8227){}[_0x1e4b59(0x53e)](_0x1542e6,_0x264894,_0x30f945){const _0x17b13d=_0x1e4b59;var _0x5e5694,_0x319e00;let _0x172342=this[_0x17b13d(0x399)][_0x17b13d(0x219)];if(!_0x264894[_0x17b13d(0x3f1)]||!_0x172342)return;let _0x5e3202=_0x264894['dataModel'],_0x3df2ae=_0x5e3202[_0x17b13d(0x39d)],_0x5911a0=(_0x5e5694=_0x5e3202['va'])==null?_0x3e15ec[_0x17b13d(0x2ad)]:_0x5e5694,_0x38977e=(_0x319e00=_0x5e3202['ha'])==null?_0x32f1d8[_0x17b13d(0x45a)]:_0x319e00;if(!_0x3df2ae)return;let _0x2da44d=_0x264894[_0x17b13d(0x59f)],_0x268d1e=new _0x320d15(za(_0x3df2ae,{'isHorizontal':_0x2da44d!==!0x1,'textRect':_0x30f945,'verticalAlign':_0x5911a0,'horizontalAlign':_0x38977e})),_0x2db76b=new _0x398c66(_0x268d1e),_0x2723bd=_0x4f12b1['create'](_0x2db76b,_0x172342);_0x2723bd[_0x17b13d(0x494)]();let _0x5ed5dd=new _0x6d87e6('shape-text-'+this[_0x17b13d(0x2fc)],_0x2723bd,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x5ed5dd[_0x17b13d(0x50f)](_0x30f945[_0x17b13d(0x381)],_0x30f945[_0x17b13d(0x310)]),_0x1542e6[_0x17b13d(0x1f7)](),_0x1542e6['translateWithPrecision'](_0x30f945[_0x17b13d(0x5ec)],_0x30f945[_0x17b13d(0x57b)]),_0x1542e6[_0x17b13d(0x254)](),_0x1542e6[_0x17b13d(0x1f4)](0x0,0x0,_0x30f945[_0x17b13d(0x381)],_0x30f945[_0x17b13d(0x310)]),_0x1542e6['clip'](),_0x5ed5dd[_0x17b13d(0x54a)](_0x1542e6),_0x1542e6[_0x17b13d(0x3a2)](),_0x5ed5dd[_0x17b13d(0x301)](),_0x2723bd['dispose'](),_0x2db76b[_0x17b13d(0x301)](),_0x268d1e[_0x17b13d(0x301)]();}['render'](_0x20ec46,_0x1ec115,_0x1d2007=!0x1){const _0xca5ca7=_0x1e4b59;if(!this[_0xca5ca7(0x4f5)])return this[_0xca5ca7(0x44c)](!0x1),this;let {width:_0x121980,height:_0x3cfef2,left:_0x56fc91,top:_0x266006}=this,_0x5cab4e=this[_0xca5ca7(0x3d1)]();if(_0x121980=_0x5cab4e['width'],_0x3cfef2=_0x5cab4e['height'],_0x56fc91=_0x5cab4e[_0xca5ca7(0x5ec)],_0x266006=_0x5cab4e['top'],this[_0xca5ca7(0x509)](_0x1ec115)){let {top:_0x25ff86,left:_0x15b7c4,bottom:_0x13104e,right:_0x1d42ac}=_0x1ec115[_0xca5ca7(0x491)];if(_0x121980+this['strokeWidth']+_0x56fc91<_0x15b7c4||_0x1d42ac<_0x56fc91||_0x3cfef2+this[_0xca5ca7(0x5bf)]+_0x266006<_0x25ff86||_0x13104e<_0x266006)return this;}let _0x34b655=_0x56fc91+_0x121980/0x2,_0x293f86=_0x266006+_0x3cfef2/0x2,_0x48eeba=this['transform'][_0xca5ca7(0x508)]();if(this[_0xca5ca7(0x399)][_0xca5ca7(0x322)]){let _0x8224f5=this['getState'](),_0x44c8bb=new _0x2a1afe();_0x44c8bb['composeMatrix']({..._0x8224f5}),_0x48eeba=_0x44c8bb[_0xca5ca7(0x508)]();}return _0x20ec46['save'](),this['_props'][_0xca5ca7(0x3bb)][_0xca5ca7(0x3b5)]===!0x0||_0x20ec46[_0xca5ca7(0x44d)](_0x48eeba[0x0],_0x48eeba[0x1],_0x48eeba[0x2],_0x48eeba[0x3],_0x34b655,_0x293f86),this[_0xca5ca7(0x21b)](_0x20ec46,_0x1ec115,_0x121980,_0x3cfef2),_0x20ec46[_0xca5ca7(0x3a2)](),this[_0xca5ca7(0x44c)](!0x1),this;}['getInverseCoord'](_0x3fc7fc){const _0x14bdfa=_0x1e4b59;let {left:_0x3c1d39,top:_0x49e7a2,width:_0x496a1c,height:_0x5b0e92}=this['getRealBound'](),_0x2ebef6=this[_0x14bdfa(0x44d)][_0x14bdfa(0x508)](),_0x78761b=_0x3c1d39+_0x496a1c/0x2,_0x1738f1=_0x49e7a2+_0x5b0e92/0x2,_0x2a7810=new _0x2a1afe([_0x2ebef6[0x0],_0x2ebef6[0x1],_0x2ebef6[0x2],_0x2ebef6[0x3],_0x78761b,_0x1738f1]),_0x55337d=this[_0x14bdfa(0x54e)]();return(this[_0x14bdfa(0x391)]&&(_0x55337d==null?void 0x0:_0x55337d[_0x14bdfa(0x40b)])===_0x168bd7['GROUP']?_0x55337d[_0x14bdfa(0x32f)][_0x14bdfa(0x3f6)](_0x2a7810):_0x2a7810)[_0x14bdfa(0x206)]()['applyPoint'](_0x3fc7fc);}['isHit'](_0x47eb49){const _0x2e8b05=_0x1e4b59;let {left:_0x1d8b5d,top:_0x5bb905,width:_0x2c8be4,height:_0x20a31b}=this[_0x2e8b05(0x3d1)](),_0x223c5d=_0x1d8b5d+_0x2c8be4/0x2,_0x1adc38=_0x5bb905+_0x20a31b/0x2,_0xf2d478=this[_0x2e8b05(0x44d)][_0x2e8b05(0x508)](),_0x8a55=new _0x2a1afe([_0xf2d478[0x0],_0xf2d478[0x1],_0xf2d478[0x2],_0xf2d478[0x3],_0x223c5d,_0x1adc38]),_0x3b6fec=this[_0x2e8b05(0x54e)](),_0x2833a7=(this[_0x2e8b05(0x391)]&&(_0x3b6fec==null?void 0x0:_0x3b6fec[_0x2e8b05(0x40b)])===_0x168bd7[_0x2e8b05(0x21d)]?_0x3b6fec[_0x2e8b05(0x32f)]['multiply'](_0x8a55):_0x8a55)[_0x2e8b05(0x206)]()[_0x2e8b05(0x425)](_0x47eb49),_0x4a5d18=_0x2c8be4/0x2,_0x2dd674=_0x20a31b/0x2,_0x1e2617=this[_0x2e8b05(0x399)][_0x2e8b05(0x3bb)];return _0x1e2617&&_0x1e2617[_0x2e8b05(0x561)]()?_0x1e2617[_0x2e8b05(0x443)](_0x2833a7['x'],_0x2833a7['y'],_0x2c8be4,_0x20a31b):_0x2833a7['x']>=-_0x4a5d18-this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['x']<=_0x4a5d18+this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['y']>=-_0x2dd674-this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['y']<=_0x2dd674+this[_0x2e8b05(0x5bf)]/0x2;}['dispose'](){const _0x5734c4=_0x1e4b59;this[_0x5734c4(0x399)][_0x5734c4(0x3bb)]=null,super[_0x5734c4(0x301)]();}},Va=class extends _0x3596e1{constructor(_0x936df7,_0x36b81b){const _0x59e3c7=_0x1e4b59;super(_0x936df7,_0x36b81b),G(this,_0x59e3c7(0x412),null),G(this,_0x59e3c7(0x523),null),G(this,'_unitId',null),G(this,_0x59e3c7(0x2d9),null),_0x36b81b&&this[_0x59e3c7(0x217)](_0x36b81b);}[_0x1e4b59(0x2ed)](){const _0x4ed726=_0x1e4b59;return{'unitId':this[_0x4ed726(0x289)],'subUnitId':this[_0x4ed726(0x2d9)],'drawingId':this[_0x4ed726(0x412)]};}[_0x1e4b59(0x217)](_0x5b67a1){const _0x2f0dd9=_0x1e4b59;_0x5b67a1[_0x2f0dd9(0x543)]!==void 0x0&&(this[_0x2f0dd9(0x412)]=_0x5b67a1['shapeId']),_0x5b67a1['adjName']!==void 0x0&&(this[_0x2f0dd9(0x523)]=_0x5b67a1['adjName']),_0x5b67a1['unitId']!==void 0x0&&(this['_unitId']=_0x5b67a1[_0x2f0dd9(0x294)]),_0x5b67a1['subUnitId']!==void 0x0&&(this[_0x2f0dd9(0x2d9)]=_0x5b67a1['subUnitId']),this[_0x2f0dd9(0x2a1)]({'width':_0x5b67a1[_0x2f0dd9(0x381)],'height':_0x5b67a1[_0x2f0dd9(0x310)]});}['_draw'](_0x15a1a3){const _0x43cb18=_0x1e4b59;_0x2d28b6['drawWith'](_0x15a1a3,{'radius':_0xf02888[_0x43cb18(0x535)],'fill':_0xf02888[_0x43cb18(0x574)],'stroke':_0xf02888[_0x43cb18(0x498)],'strokeWidth':0x1,'evented':!0x0});}};function Y(_0x2780db,_0x2d1d61){return function(_0x3b4bc0,_0x5858ce){_0x2d1d61(_0x3b4bc0,_0x5858ce,_0x2780db);};}function X(_0x5ca68d,_0x2b4314,_0x1031fa,_0x41e051){const _0x47f383=_0x1e4b59;var _0x47611c=arguments[_0x47f383(0x270)],_0x1642f5=_0x47611c<0x3?_0x2b4314:_0x41e051===null?_0x41e051=Object[_0x47f383(0x321)](_0x2b4314,_0x1031fa):_0x41e051,_0x2390f2;if(typeof Reflect=='object'&&typeof Reflect[_0x47f383(0x5b4)]==_0x47f383(0x3ae))_0x1642f5=Reflect['decorate'](_0x5ca68d,_0x2b4314,_0x1031fa,_0x41e051);else{for(var _0x148fb0=_0x5ca68d[_0x47f383(0x270)]-0x1;_0x148fb0>=0x0;_0x148fb0--)(_0x2390f2=_0x5ca68d[_0x148fb0])&&(_0x1642f5=(_0x47611c<0x3?_0x2390f2(_0x1642f5):_0x47611c>0x3?_0x2390f2(_0x2b4314,_0x1031fa,_0x1642f5):_0x2390f2(_0x2b4314,_0x1031fa))||_0x1642f5);}return _0x47611c>0x3&&_0x1642f5&&Object[_0x47f383(0x393)](_0x2b4314,_0x1031fa,_0x1642f5),_0x1642f5;}let Z=class extends _0x2d969b{constructor(_0x235743,_0x1d91cc,_0x14f023,_0x35a88d,_0x1b07b9){const _0x409657=_0x1e4b59;super(),this[_0x409657(0x557)]=_0x235743,this['_sheetsShapeService']=_0x1d91cc,this['_localeService']=_0x14f023,this[_0x409657(0x316)]=_0x35a88d,this[_0x409657(0x424)]=_0x1b07b9;}[_0x1e4b59(0x5ae)](_0x2b97d6,_0x30ebe3){const _0x2d6e8a=_0x1e4b59;let {transform:_0x158351,drawingType:_0x1a882f,srcRect:_0x39d70b,prstGeom:_0xa8f129,groupId:_0x14c7db,unitId:_0x6dff7a,subUnitId:_0x509b52,drawingId:_0x445457,isMultiTransform:_0x3cb1ad,transforms:_0x2b0220,hidden:_0x19add1}=_0x2b97d6;if(_0x1a882f!==_0x44ab60[_0x2d6e8a(0x526)]||!this[_0x2d6e8a(0x557)][_0x2d6e8a(0x41f)]()||_0x158351==null)return;let _0x5bf939=_0x3cb1ad&&_0x2b0220?_0x2b0220:[_0x158351],_0x12749a=[];for(let _0x33a2fc of _0x5bf939){let {left:_0x346ab5,top:_0x53c462,width:_0x4f7064,height:_0x22bcd8,angle:_0x496fda,flipX:_0x367048,flipY:_0x57dcc5,skewX:_0x1e994a,skewY:_0x2475fe}=_0x33a2fc,_0x3a1ecb=_0x5bf939[_0x2d6e8a(0x40e)](_0x33a2fc),_0x32326d=_0x79bce2({'unitId':_0x6dff7a,'subUnitId':_0x509b52,'drawingId':_0x445457},_0x3cb1ad?_0x3a1ecb:void 0x0),_0x1f7419=_0x30ebe3['getObjectIncludeInGroup'](_0x32326d);if(_0x1f7419!=null){_0x1f7419['transformByState']({'left':_0x346ab5,'top':_0x53c462,'width':_0x4f7064,'height':_0x22bcd8,'angle':_0x496fda,'flipX':_0x367048,'flipY':_0x57dcc5,'skewX':_0x1e994a,'skewY':_0x2475fe});continue;}let _0x39084a=this[_0x2d6e8a(0x557)][_0x2d6e8a(0x29c)](_0x6dff7a,_0x509b52),_0x53431a=_0x39084a[_0x2d6e8a(0x40e)](_0x445457);if(_0x30ebe3[_0x2d6e8a(0x4c0)](_0x32326d)||!this[_0x2d6e8a(0x557)][_0x2d6e8a(0x41f)]())continue;let _0x5549f8=this[_0x2d6e8a(0x593)][_0x2d6e8a(0x58f)](_0x6dff7a,_0x509b52,_0x445457);if(!_0x5549f8)continue;let _0x4d7cba=new Ba(_0x32326d,{..._0x241b3b(_0x5549f8[_0x2d6e8a(0x3e4)]())?{..._0x33a2fc,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x33a2fc},'zIndex':_0x53431a===-0x1?_0x39084a[_0x2d6e8a(0x270)]-0x1:_0x53431a,'shapeModel':_0x5549f8,'localeService':this[_0x2d6e8a(0x4a7)],'shapeId':_0x445457,'unitId':_0x6dff7a,'subUnitId':_0x509b52,'visible':_0x19add1!==!0x0});_0x30ebe3[_0x2d6e8a(0x5f6)](_0x4d7cba,_0x11e46b),this[_0x2d6e8a(0x557)][_0x2d6e8a(0x2c7)]()&&_0x30ebe3['attachTransformerTo'](_0x4d7cba),_0x14c7db&&_0x50426c({'drawingId':_0x14c7db,'unitId':_0x6dff7a,'subUnitId':_0x509b52},_0x4d7cba,_0x30ebe3,this[_0x2d6e8a(0x557)]),_0xa8f129!=null&&_0x4d7cba[_0x2d6e8a(0x218)](_0xa8f129),_0x39d70b!=null&&_0x4d7cba['setSrcRect'](_0x39d70b),this[_0x2d6e8a(0x258)](_0x4d7cba,_0x5549f8[_0x2d6e8a(0x3b6)]()),_0x12749a['push'](_0x4d7cba);}return _0x12749a;}['_loadShapePictureFill'](_0x4cd039,_0xa286f7){const _0x1905a3=_0x1e4b59;var _0x310f1a;let _0x129c5c=_0xa286f7[_0x1905a3(0x3b1)];if(!_0x129c5c||_0x129c5c[_0x1905a3(0x566)]!==_0x355fa8[_0x1905a3(0x51f)]||!_0x129c5c[_0x1905a3(0x4c2)])return;let _0x34463f=_0x129c5c[_0x1905a3(0x4c2)],_0xd07d00=(_0x310f1a=_0x129c5c[_0x1905a3(0x3be)])==null?_0x1605f8[_0x1905a3(0x510)]:_0x310f1a,_0x2b2b3c=this['_imageIoService'][_0x1905a3(0x4f0)](_0x34463f,_0xd07d00);if(_0x2b2b3c){_0x4cd039['setFillImage'](_0x2b2b3c);return;}this[_0x1905a3(0x35c)](_0x4cd039,_0x34463f,_0xd07d00);}async[_0x1e4b59(0x35c)](_0x298cd3,_0x52b342,_0x394ae7){const _0x44a3c2=_0x1e4b59;let _0x37e698;try{if(_0x394ae7===_0x1605f8['UUID'])_0x37e698=await this[_0x44a3c2(0x316)][_0x44a3c2(0x5f3)](_0x52b342);else{if(_0x394ae7===_0x1605f8['URL'])try{_0x37e698=await this[_0x44a3c2(0x424)][_0x44a3c2(0x5f3)](_0x52b342);}catch{_0x37e698=_0x52b342;}else _0x37e698=_0x52b342;}}catch(_0x346464){console['error'](_0x44a3c2(0x540),_0x346464);return;}let _0x15311a=new window['Image']();_0x15311a[_0x44a3c2(0x4dd)]=()=>{const _0x554ebd=_0x44a3c2;this['_imageIoService'][_0x554ebd(0x282)](_0x52b342,_0x394ae7,_0x15311a),_0x298cd3[_0x554ebd(0x352)](_0x15311a);},_0x15311a['onerror']=()=>{const _0x5a51a6=_0x44a3c2;console[_0x5a51a6(0x55f)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x52b342);},_0x15311a[_0x44a3c2(0x4cd)]=_0x37e698;}};Z=X([Y(0x0,_0xd6b9bd),Y(0x1,_0x49bdac(_0x114e41)),Y(0x2,_0x49bdac(_0x10276c)),Y(0x3,_0x56938d),Y(0x4,_0x15bb02)],Z);let Ha=class extends _0x2d969b{constructor(_0x47e83c,_0x5ce494,_0x241626,_0x18b757,_0x5b8832,_0x50dd9f,_0xd206b7,_0x4c3801){const _0x5af618=_0x1e4b59;super(),this[_0x5af618(0x30c)]=_0x47e83c,this[_0x5af618(0x5ed)]=_0x5ce494,this[_0x5af618(0x557)]=_0x241626,this['_sheetsShapeService']=_0x18b757,this['_renderManagerService']=_0x5b8832,this[_0x5af618(0x5d2)]=_0x50dd9f,this[_0x5af618(0x204)]=_0xd206b7,this['_commandService']=_0x4c3801,G(this,_0x5af618(0x4a2),null),G(this,'_unitId',null),G(this,_0x5af618(0x2d9),null),G(this,_0x5af618(0x471),void 0x0),G(this,'_shapes',[]),G(this,_0x5af618(0x263),0x0),G(this,_0x5af618(0x511),0x0),G(this,_0x5af618(0x485),0x0),G(this,_0x5af618(0x408),0x0),G(this,_0x5af618(0x564),!0x1),G(this,_0x5af618(0x25e),void 0x0),G(this,_0x5af618(0x5c9),void 0x0),G(this,_0x5af618(0x5dd),void 0x0),G(this,'_adjHandlerPointerUp',void 0x0),G(this,_0x5af618(0x272),!0x1),this[_0x5af618(0x28f)](),this[_0x5af618(0x3d0)]();}[_0x1e4b59(0x3a5)](_0x564471,_0x537ed6,_0x4e3a79){const _0x266b5e=_0x1e4b59;let _0x4ce0a4=this[_0x266b5e(0x593)]['getShapeModel'](_0x564471,_0x537ed6,_0x4e3a79);if(_0x4ce0a4)return _0x4ce0a4[_0x266b5e(0x2bd)]();}[_0x1e4b59(0x547)](){this['_clearShapeAdjustControls']();}[_0x1e4b59(0x5f4)](){const _0x3b7e0b=_0x1e4b59;this[_0x3b7e0b(0x5c2)](!0x0);}['setShouldShowAdjust'](_0x3e8fc5){const _0x5f1c57=_0x1e4b59;this[_0x5f1c57(0x272)]=_0x3e8fc5;}[_0x1e4b59(0x47c)](_0x588e7b,_0x58e713,_0x926e1a,_0x2ac779){const _0x4a3761=_0x1e4b59;let _0x588160=this[_0x4a3761(0x593)][_0x4a3761(0x58f)](_0x588e7b,_0x58e713,_0x926e1a);if(_0x588160)return _0x588160['getAdjustInfoByName'](_0x2ac779);}[_0x1e4b59(0x4b1)](_0x38e852=!0x1){const _0x26acf6=_0x1e4b59;if(this[_0x26acf6(0x289)]===null||this[_0x26acf6(0x2d9)]===null||this[_0x26acf6(0x4a2)]===null)return;let _0x82fffa=this[_0x26acf6(0x1f0)]['getRenderById'](this['_unitId']);if(!_0x82fffa||!_0x82fffa[_0x26acf6(0x22c)](_0x3da40f)[_0x26acf6(0x300)]())return;let {scene:_0x872b7c}=_0x82fffa,_0x5c7497={'unitId':this['_unitId'],'subUnitId':this[_0x26acf6(0x2d9)],'drawingId':this['_activeShapeId']},_0x25461f=this['_drawingManagerService'][_0x26acf6(0x329)](_0x5c7497),{transform:_0x450a3d}=_0x25461f;if(!_0x450a3d||_0x25461f[_0x26acf6(0x356)]!==_0x44ab60[_0x26acf6(0x526)])return;let {left:_0x5bdccc,top:_0x158e4b,width:_0x9947c1,height:_0x1df5f3,flipX:_0x3a5498,flipY:_0x1c412c,angle:_0x15acca=0x0}=_0x450a3d;if(_0x5bdccc===void 0x0||_0x158e4b===void 0x0)return;_0x38e852&&(this[_0x26acf6(0x471)]=this[_0x26acf6(0x3a5)](this[_0x26acf6(0x289)],this[_0x26acf6(0x2d9)],this[_0x26acf6(0x4a2)]));let _0x443693=this['_activeShapeAdjustPointList'];for(let _0x3200a0=0x0;_0x3200a0<_0x443693[_0x26acf6(0x270)];_0x3200a0++){let _0x35dfb8=_0x443693[_0x3200a0],_0x4f36a1=_0x35dfb8['x'],_0x2a1697=_0x35dfb8['y'];if(_0x3a5498&&(_0x4f36a1=(_0x9947c1||0x0)-_0x4f36a1),_0x1c412c&&(_0x2a1697=(_0x1df5f3||0x0)-_0x2a1697),_0x15acca!==0x0){let _0x13715e=(_0x9947c1||0x0)/0x2,_0x5cfdaf=(_0x1df5f3||0x0)/0x2,_0x1f18c7=_0x15acca*Math['PI']/0xb4,_0x534239=Math[_0x26acf6(0x33d)](_0x1f18c7),_0x51b307=Math[_0x26acf6(0x34d)](_0x1f18c7),_0x135630=_0x4f36a1-_0x13715e,_0x2dcfb0=_0x2a1697-_0x5cfdaf;_0x4f36a1=_0x13715e+(_0x135630*_0x534239-_0x2dcfb0*_0x51b307),_0x2a1697=_0x5cfdaf+(_0x135630*_0x51b307+_0x2dcfb0*_0x534239);}let _0x46898d={'x':_0x4f36a1,'y':_0x2a1697,'adjName':_0x35dfb8[_0x26acf6(0x23c)]};this[_0x26acf6(0x5ee)](_0x872b7c,_0x46898d,_0x46898d[_0x26acf6(0x23c)],_0x5bdccc,_0x158e4b,this[_0x26acf6(0x289)],this[_0x26acf6(0x2d9)]);}}[_0x1e4b59(0x5c2)](_0x524166=!0x1){const _0x1d4489=_0x1e4b59;_0x524166&&(this[_0x1d4489(0x5b9)](),this[_0x1d4489(0x4b1)](_0x524166));}['_addShapeAdjustControl'](_0x5d7ae9,_0x5c214f,_0x236d58,_0x19a920,_0x2d9665,_0x22c535,_0x468fcc){const _0x1ff392=_0x1e4b59;if(!this[_0x1ff392(0x4a2)])return;let _0x32baa3=_0x5d7ae9[_0x1ff392(0x4c0)](_0x1ff392(0x4c8)+this[_0x1ff392(0x4a2)]+'-'+_0x236d58);if(_0x32baa3){_0x32baa3[_0x1ff392(0x2a1)]({'left':_0x5c214f['x']+_0x19a920-_0xf02888['adjHandleSize'],'top':_0x5c214f['y']+_0x2d9665-_0xf02888['adjHandleSize']});return;}let _0x4d6978={'left':_0x5c214f['x']+_0x19a920-_0xf02888[_0x1ff392(0x535)],'top':_0x5c214f['y']+_0x2d9665-_0xf02888[_0x1ff392(0x535)],'adjName':_0x236d58,'shapeId':this['_activeShapeId'],'unitId':_0x22c535,'subUnitId':_0x468fcc,'width':_0xf02888['adjHandleSize']+0x8,'height':_0xf02888['adjHandleSize']+0x8,'zIndex':_0x11e46b+0x1,'evented':!0x0},_0xfcdeea=new Va(_0x1ff392(0x4c8)+this['_activeShapeId']+'-'+_0x236d58,_0x4d6978);this[_0x1ff392(0x4a6)]['push'](_0xfcdeea),this[_0x1ff392(0x2be)](_0xfcdeea,_0x5d7ae9,_0x236d58),_0x5d7ae9['addObject'](_0xfcdeea,_0x11e46b+0x1);}[_0x1e4b59(0x5b9)](){const _0x4ba79a=_0x1e4b59;this[_0x4ba79a(0x4a6)][_0x4ba79a(0x270)]!==0x0&&(this[_0x4ba79a(0x4a6)]['forEach'](_0x28e30f=>{const _0x3e3308=_0x4ba79a;_0x28e30f[_0x3e3308(0x301)]();}),this[_0x4ba79a(0x4a6)]=[]);}[_0x1e4b59(0x2e4)](){const _0x1054ee=_0x1e4b59;this[_0x1054ee(0x4b1)]();}[_0x1e4b59(0x52e)](_0x4f80ba,_0xe5e7f2){const _0x1cf439=_0x1e4b59;var _0x522965;let _0x4e9d27={'x':0x0,'y':0x0};if(!_0x4f80ba||!_0xe5e7f2)return _0x4e9d27;let _0x3fe17c=this[_0x1cf439(0x1f0)][_0x1cf439(0x2f6)](_0x4f80ba);if(!_0x3fe17c||!_0x3fe17c[_0x1cf439(0x22c)](_0x3da40f)['getSkeleton'](_0xe5e7f2))return _0x4e9d27;let _0x35e97a=_0x3fe17c[_0x1cf439(0x22c)](_0x3a611d),_0x200b0e=_0x35e97a==null?void 0x0:_0x35e97a[_0x1cf439(0x576)]();if(!_0x200b0e)return _0x4e9d27;let _0x4e9b53=(_0x522965=this[_0x1cf439(0x204)][_0x1cf439(0x551)](_0x4f80ba))==null?void 0x0:_0x522965[_0x1cf439(0x1f3)](_0xe5e7f2);if(!_0x4e9b53)return _0x4e9d27;let _0xa6b236=_0x30fe0a(_0x200b0e['sheetViewStartRow'],_0x200b0e[_0x1cf439(0x33b)],_0x3fe17c['scene'],_0x4e9b53);return _0xa6b236?{'x':_0xa6b236['viewportScrollX'],'y':_0xa6b236[_0x1cf439(0x2ef)]}:_0x4e9d27;}[_0x1e4b59(0x394)](_0x1f2cd9,_0x289ea1){const _0x352ff2=_0x1e4b59;var _0x15c864,_0x4a7a79;let _0xcdaadf=(_0x15c864=this[_0x352ff2(0x204)][_0x352ff2(0x551)](_0x1f2cd9))==null?void 0x0:_0x15c864[_0x352ff2(0x1f3)](_0x289ea1);return(_0x4a7a79=_0xcdaadf==null?void 0x0:_0xcdaadf[_0x352ff2(0x366)]())==null?0x1:_0x4a7a79;}[_0x1e4b59(0x2be)](_0x4bd04b,_0x4217cb,_0x110b42){const _0x28ab88=_0x1e4b59;this[_0x28ab88(0x502)](_0x38994f(_0x4bd04b[_0x28ab88(0x5ca)][_0x28ab88(0x573)]((_0x4197fb,_0xbbf77f)=>{const _0x39d0cb=_0x28ab88;var _0x2487c3,_0x4df26a,_0x929ab9,_0x4ddd35;let _0x15fbb4=_0x4bd04b['getDrawingSearch']();this['_activeAdjustInfo']=this[_0x39d0cb(0x47c)](_0x15fbb4[_0x39d0cb(0x294)],_0x15fbb4[_0x39d0cb(0x51e)],_0x15fbb4[_0x39d0cb(0x23e)],_0x110b42),this['_activeShapeModel']=this['_sheetsShapeService'][_0x39d0cb(0x58f)](_0x15fbb4[_0x39d0cb(0x294)],_0x15fbb4[_0x39d0cb(0x51e)],_0x15fbb4[_0x39d0cb(0x23e)]);let _0x244d9a=this[_0x39d0cb(0x557)][_0x39d0cb(0x329)]({'unitId':this['_unitId'],'subUnitId':this[_0x39d0cb(0x2d9)],'drawingId':this['_activeShapeId']}),{transform:_0x1b009a}=_0x244d9a;if(_0x1b009a){let {left:_0x1a6bd2,top:_0x473ee1,width:_0x4d33ff,height:_0x1e5be3}=_0x1b009a;this[_0x39d0cb(0x263)]=_0x1a6bd2||0x0,this['_baseShapeTop']=_0x473ee1||0x0,this['_baseShapeWidth']=_0x4d33ff||0x0,this[_0x39d0cb(0x408)]=_0x1e5be3||0x0;}let _0x54b2a1=!!((_0x2487c3=_0x244d9a[_0x39d0cb(0x44d)])!=null&&_0x2487c3[_0x39d0cb(0x2bf)]),_0x58239d=!!((_0x4df26a=_0x244d9a[_0x39d0cb(0x44d)])!=null&&_0x4df26a['flipY']),_0x4f7063=((_0x929ab9=_0x244d9a['transform'])==null?void 0x0:_0x929ab9[_0x39d0cb(0x452)])||0x0;this[_0x39d0cb(0x564)]=!0x0,_0x4217cb['disableObjectsEvent']();let _0x1dae3f=(_0x4ddd35=this['_activeShapeModel'])==null?void 0x0:_0x4ddd35[_0x39d0cb(0x5e8)](_0x110b42),_0x1b4f02={[_0x110b42]:_0x1dae3f};this['_adjHandlerPointerMove']=_0x4217cb[_0x39d0cb(0x5e2)][_0x39d0cb(0x573)]((_0x6ce15b,_0x3325ff)=>{const _0x446881=_0x39d0cb;if(!this[_0x446881(0x564)])return;let {offsetX:_0x5429c7,offsetY:_0x5ac437}=_0x6ce15b,_0x3f3843=this[_0x446881(0x25e)];if(this[_0x446881(0x5c9)]&&_0x3f3843){_0x4217cb['disableObjectsEvent'](),_0x4217cb[_0x446881(0x49d)](_0x3f8d29[_0x446881(0x4bb)]);let _0x557fa9={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x446881(0x408)]},_0x12749d=this[_0x446881(0x52e)](this['_unitId'],this[_0x446881(0x2d9)]),_0x2c94f9=this[_0x446881(0x394)](this[_0x446881(0x289)],this[_0x446881(0x2d9)]),_0x1d1d01=_0x5429c7/_0x2c94f9+_0x12749d['x']-this[_0x446881(0x263)],_0x189f2c=_0x5ac437/_0x2c94f9+_0x12749d['y']-this[_0x446881(0x511)];if(_0x4f7063!==0x0){let _0x1485ca=this[_0x446881(0x485)]/0x2,_0x526d0c=this[_0x446881(0x408)]/0x2,_0x133a55=_0x4f7063*Math['PI']/0xb4,_0x5c3bef=Math['cos'](_0x133a55),_0x227d7a=Math[_0x446881(0x34d)](_0x133a55),_0x5c3213=_0x1d1d01-_0x1485ca,_0x589180=_0x189f2c-_0x526d0c;_0x1d1d01=_0x1485ca+(_0x5c3213*_0x5c3bef+_0x589180*_0x227d7a),_0x189f2c=_0x526d0c+(-_0x5c3213*_0x227d7a+_0x589180*_0x5c3bef);}_0x54b2a1&&(_0x1d1d01=this[_0x446881(0x485)]-_0x1d1d01),_0x58239d&&(_0x189f2c=this['_baseShapeHeight']-_0x189f2c);let _0x23faed={'x':_0x1d1d01,'y':_0x189f2c},_0x5c2385=this[_0x446881(0x5c9)][_0x446881(0x2fe)](_0x557fa9,_0x23faed,_0x3f3843,_0x54b2a1,_0x58239d),_0x37b31f=_0x3f3843[_0x446881(0x445)]||_0x3f3843['gdRefY']||_0x3f3843[_0x446881(0x598)]||_0x3f3843[_0x446881(0x3e2)];if(_0x37b31f===void 0x0)return;this[_0x446881(0x5c9)][_0x446881(0x522)](_0x37b31f,_0x5c2385);let _0x2c2685=this[_0x446881(0x557)][_0x446881(0x329)]({'unitId':_0x15fbb4[_0x446881(0x294)],'subUnitId':_0x15fbb4[_0x446881(0x51e)],'drawingId':_0x15fbb4[_0x446881(0x23e)]});_0x2c2685&&(this[_0x446881(0x5d2)]['renderDrawingShape'](_0x2c2685,_0x4217cb),this[_0x446881(0x471)]=this['_getShapeAdjustPointListById'](_0x15fbb4[_0x446881(0x294)],_0x15fbb4['subUnitId'],_0x15fbb4['drawingId']),this[_0x446881(0x2e4)]());}_0x3325ff['stopPropagation']();}),this['_adjHandlerPointerUp']=_0x4217cb['onPointerUp$'][_0x39d0cb(0x573)]((_0x1f0a07,_0xbacc25)=>{const _0x5f2ec4=_0x39d0cb;this[_0x5f2ec4(0x5dd)][_0x5f2ec4(0x4ac)](),this['_adjHandlerPointerUp'][_0x5f2ec4(0x4ac)](),_0x4217cb[_0x5f2ec4(0x474)]();let _0x202dcc=this[_0x5f2ec4(0x25e)];if(_0x202dcc){let _0x54f4fb=_0x15fbb4[_0x5f2ec4(0x294)],_0x317cd0=_0x15fbb4['subUnitId'],_0x106cbf=_0x15fbb4[_0x5f2ec4(0x23e)],_0x20b294=_0x202dcc['gdRefX']||_0x202dcc['gdRefY']||_0x202dcc['gdRefAng']||_0x202dcc[_0x5f2ec4(0x3e2)];if(_0x20b294!==void 0x0){var _0x19ec26;let _0x81606f=(_0x19ec26=this['_activeShapeModel'])==null?void 0x0:_0x19ec26[_0x5f2ec4(0x5e8)](_0x20b294);_0x81606f!==void 0x0&&Fa(this[_0x5f2ec4(0x43e)],_0x54f4fb,_0x317cd0,_0x106cbf,{'oldShapeData':{'adjustValues':_0x1b4f02}},{'adjustValues':{[_0x20b294]:_0x81606f}});}}this[_0x5f2ec4(0x25e)]=void 0x0,this[_0x5f2ec4(0x5c9)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xbacc25[_0x5f2ec4(0x288)](),_0x4217cb[_0x5f2ec4(0x2a5)]();}),_0xbbf77f['stopPropagation']();})));}[_0x1e4b59(0x3d0)](){const _0x54f1dc=_0x1e4b59;let _0x2a5f23=this[_0x54f1dc(0x204)][_0x54f1dc(0x3c0)](_0x45bf6b['UNIVER_SHEET']);this[_0x54f1dc(0x502)](_0x2a5f23['pipe'](_0x4ee608(_0x3b6d8a=>_0x3b6d8a?_0x3b6d8a[_0x54f1dc(0x4b5)]['pipe'](_0x4ee608(_0x2ee4b1=>{const _0x3a9119=_0x54f1dc;if(!_0x2ee4b1)return _0x35918a;let _0x13b1cd=_0x3b6d8a['getUnitId'](),_0x5868f0=this[_0x3a9119(0x1f0)][_0x3a9119(0x2f6)](_0x13b1cd),_0x5199e6=_0x5868f0==null?void 0x0:_0x5868f0['scene'];return _0x5199e6?_0x2b1548(_0x5199e6):_0x35918a;})):_0x35918a))[_0x54f1dc(0x4da)](_0x190a41=>{const _0x30d6d7=_0x54f1dc;let _0x19e477=_0x190a41['getTransformerByCreate']();this[_0x30d6d7(0x502)](_0x190a41['onPointerMove$'][_0x30d6d7(0x573)](()=>{const _0x2e5b77=_0x30d6d7;this[_0x2e5b77(0x272)];})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x203)][_0x30d6d7(0x4da)](_0x49dc5b=>{const _0x147f30=_0x30d6d7;let {objects:_0x1564b6}=_0x49dc5b;this[_0x147f30(0x4b1)](),_0x1564b6!==null&&_0x1564b6['size']===0x1&&_0x1564b6[_0x147f30(0x536)]()[_0x147f30(0x3af)]()[_0x147f30(0x35e)]instanceof Ba&&this[_0x147f30(0x323)](!0x0);})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x2d8)]['subscribe'](()=>{const _0x44a1e0=_0x30d6d7;this[_0x44a1e0(0x272)]&&this[_0x44a1e0(0x5b9)]();})),this[_0x30d6d7(0x502)](_0x190a41[_0x30d6d7(0x2de)]['subscribeEvent'](()=>{const _0x1e4ac2=_0x30d6d7;this[_0x1e4ac2(0x272)]&&(this[_0x1e4ac2(0x323)](!0x1),this[_0x1e4ac2(0x4b1)]());})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x33a)][_0x30d6d7(0x4da)](()=>{const _0x231a77=_0x30d6d7;this['_unitId']&&this['_subUnitId']&&this[_0x231a77(0x4a2)]&&this[_0x231a77(0x557)]['getDrawingByParam']({'unitId':this[_0x231a77(0x289)],'subUnitId':this[_0x231a77(0x2d9)],'drawingId':this[_0x231a77(0x4a2)]})&&(this[_0x231a77(0x471)]=this[_0x231a77(0x3a5)](this[_0x231a77(0x289)],this[_0x231a77(0x2d9)],this[_0x231a77(0x4a2)]),this[_0x231a77(0x2e4)]());}));}));}[_0x1e4b59(0x28f)](){const _0x219334=_0x1e4b59;this[_0x219334(0x502)](this[_0x219334(0x557)][_0x219334(0x291)][_0x219334(0x4da)](_0x2798df=>{const _0x2e17a0=_0x219334;if(_0x2798df[_0x2e17a0(0x270)]===0x1){let _0x6cb971=_0x2798df[0x0];if(_0x6cb971[_0x2e17a0(0x356)]===_0x44ab60['DRAWING_SHAPE']){this[_0x2e17a0(0x4a2)]=_0x6cb971[_0x2e17a0(0x23e)];let {unitId:_0x43d7ec,subUnitId:_0x23c433}=_0x6cb971;this['_activeShapeAdjustPointList']=this[_0x2e17a0(0x3a5)](_0x43d7ec,_0x23c433,this['_activeShapeId']),this['_unitId']=_0x43d7ec,this[_0x2e17a0(0x2d9)]=_0x23c433,this[_0x2e17a0(0x5b9)](),this[_0x2e17a0(0x4b1)]();}else this[_0x2e17a0(0x4a2)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2e17a0(0x289)]=null,this[_0x2e17a0(0x2d9)]=null,this[_0x2e17a0(0x5b9)]();}(_0x2798df[_0x2e17a0(0x270)]>0x1||_0x2798df['length']===0x0)&&(this['_activeShapeId']=null,this[_0x2e17a0(0x471)]=void 0x0,this[_0x2e17a0(0x289)]=null,this[_0x2e17a0(0x2d9)]=null,this[_0x2e17a0(0x5b9)]());})),this[_0x219334(0x502)](this[_0x219334(0x557)][_0x219334(0x2eb)][_0x219334(0x4da)](_0xa31f8d=>{const _0x2c62ea=_0x219334;if(_0xa31f8d[_0x2c62ea(0x270)]===0x1){var _0x17c380;let _0x11206f=_0xa31f8d[0x0];((_0x17c380=this[_0x2c62ea(0x557)][_0x2c62ea(0x329)](_0x11206f))==null?void 0x0:_0x17c380[_0x2c62ea(0x356)])===_0x44ab60['DRAWING_SHAPE']&&this[_0x2c62ea(0x5c2)](!0x0);}})),this[_0x219334(0x502)](this['_drawingManagerService'][_0x219334(0x5d9)][_0x219334(0x4da)](_0x550fbd=>{const _0x159fa1=_0x219334;for(let _0x2b2fad of _0x550fbd)this[_0x159fa1(0x4a2)]===_0x2b2fad[_0x159fa1(0x23e)]&&(this[_0x159fa1(0x4a2)]=null,this[_0x159fa1(0x471)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']());}));}};Ha=X([Y(0x1,_0x1b0873),Y(0x2,_0xd6b9bd),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x2302c1)),Y(0x5,_0x49bdac(Z)),Y(0x6,_0x2b0f26),Y(0x7,_0x229c27)],Ha);const Ua={'id':'drawing.operation.set-drawing-active','type':_0x10ee86[_0x1e4b59(0x3cc)],'handler':(_0x2c13f3,_0x144872)=>{const _0x53a128=_0x1e4b59;let _0x31219d=_0x2c13f3['get'](_0xd6b9bd),_0x29811f=_0x2c13f3[_0x53a128(0x4f9)](_0x2302c1),_0x1903ec=_0x2c13f3[_0x53a128(0x4f9)](Ha);if(_0x144872==null)return!0x0;if(_0x144872[_0x53a128(0x270)]>0x0){var _0x4b2c13;let _0x312adb=(_0x4b2c13=_0x29811f[_0x53a128(0x2f6)](_0x144872[0x0][_0x53a128(0x294)]))==null?void 0x0:_0x4b2c13[_0x53a128(0x37d)];if(_0x312adb){let {unitId:_0x30ae78,subUnitId:_0x1726cb,drawingId:_0x1a1971}=_0x144872[0x0],_0x4520e4=_0x79bce2({'unitId':_0x30ae78,'subUnitId':_0x1726cb,'drawingId':_0x1a1971},void 0x0),_0x5dafbb=_0x312adb['getObjectIncludeInGroup'](_0x4520e4);if(_0x5dafbb){var _0x1e670d;(_0x1e670d=_0x29811f[_0x53a128(0x2f6)](_0x144872[0x0]['unitId']))==null||(_0x1e670d=_0x1e670d[_0x53a128(0x37d)][_0x53a128(0x35a)]())==null||_0x1e670d[_0x53a128(0x256)](_0x5dafbb);}}_0x31219d[_0x53a128(0x2e1)](_0x144872),_0x1903ec['setShouldShowAdjust'](!0x1);}return!0x0;}},Wa={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x497),'handler':async(_0x2b8d7f,_0x35a4a2)=>{const _0x3fc276=_0x1e4b59;let _0x18f551=_0x423d93(_0x2b8d7f[_0x3fc276(0x4f9)](_0x2b0f26));if(!_0x18f551)return!0x1;let _0x88e96d=_0x2b8d7f[_0x3fc276(0x4f9)](_0x2a638c)[_0x3fc276(0x26b)]();if(!_0x88e96d)return!0x1;let _0x1c611a=_0x2b8d7f['get'](_0x229c27),{unitId:_0x192c43,subUnitId:_0x147333}=_0x18f551,{value:_0x4fb146,enhanceParams:_0x50197c}=_0x35a4a2,{range:_0x74ef95}=_0x88e96d,_0x2910d8={'unitId':_0x192c43,'subUnitId':_0x147333,'shapeType':_0x4fb146,'range':_0x74ef95,'shapeId':_0x111adf()};if(_0x50197c){let _0x59ad50=_0x241b3b(_0x4fb146),_0x426134=_0x4fb146===_0x4d29db[_0x3fc276(0x5b8)];_0x59ad50&&(_0x50197c['startArrow']||_0x50197c[_0x3fc276(0x464)])&&(_0x2910d8[_0x3fc276(0x4c1)]={'ln':{'startArrow':_0x50197c[_0x3fc276(0x57d)]?{'type':_0x589d4e['Arrow'],'size':_0x374c23[_0x3fc276(0x4d6)]}:void 0x0,'endArrow':_0x50197c[_0x3fc276(0x464)]?{'type':_0x589d4e[_0x3fc276(0x504)],'size':_0x374c23[_0x3fc276(0x279)]}:void 0x0}}),_0x426134&&(_0x50197c[_0x3fc276(0x349)]||_0x50197c[_0x3fc276(0x400)])&&(_0x2910d8['shapeData']={'fill':{'fillType':_0x355fa8['SolidFill'],'color':'#FFFFFF'},'stroke':{'lineStrokeType':_0x4778ad[_0x3fc276(0x3b7)],'width':0x1,'color':_0x3fc276(0x4aa)},'shapeText':{'isHorizontal':!!_0x50197c[_0x3fc276(0x349)]}});}let _0x3c380f=_0x1c611a['syncExecuteCommand'](_0x368421['id'],_0x2910d8);return setTimeout(()=>{const _0x232a55=_0x3fc276;_0x1c611a[_0x232a55(0x361)](Ua['id'],[{'unitId':_0x192c43,'subUnitId':_0x147333,'drawingId':_0x2910d8['shapeId']}]);},0xc8),_0x3c380f;}};_0x32f1d8['LEFT'],_0x32f1d8[_0x1e4b59(0x457)],_0x32f1d8['RIGHT'];function Ga(_0xc49af2){const _0x1ba976=_0x1e4b59;let _0x54c7fe=_0xc49af2['get'](_0x1b0873),_0x1972a3=_0xc49af2[_0x1ba976(0x4f9)](_0x816f27);return{'id':_0x45d415['id'],'tooltip':_0x1ba976(0x589),'type':_0x5dfa3c['BUTTON_SELECTOR'],'icon':'PaintBucketDoubleIcon','selections':[{'label':{'name':_0x194822,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x573178(_0xd7f8ed=>{const _0x1b34e6=_0x1ba976;_0xd7f8ed[_0x1b34e6(0x3af)](_0x1972a3[_0x1b34e6(0x239)](_0x1b34e6(0x2b7)));}),'hidden$':_0x54c7fe[_0x1ba976(0x37b)](_0x174548)[_0x1ba976(0x3b4)](_0x103d57(_0x54c7fe[_0x1ba976(0x588)](_0x174548)),_0x320f72(_0x4407fd=>!_0x4407fd))};}function Ka(_0x96b217){const _0x501f83=_0x1e4b59;let _0x5ead42=_0x96b217[_0x501f83(0x4f9)](_0x1b0873);return{'id':_0x351a43['id'],'type':_0x5dfa3c[_0x501f83(0x2f4)],'title':_0x501f83(0x5cb),'hidden$':_0x5ead42[_0x501f83(0x37b)](_0x174548)[_0x501f83(0x3b4)](_0x103d57(_0x5ead42[_0x501f83(0x588)](_0x174548)),_0x320f72(_0x2adb3d=>!_0x2adb3d))};}const qa=[{'label':'sheets-shape-ui.align.left','icon':_0x1e4b59(0x2df),'value':_0x32f1d8[_0x1e4b59(0x45a)]},{'label':_0x1e4b59(0x43d),'icon':_0x1e4b59(0x2ec),'value':_0x32f1d8[_0x1e4b59(0x457)]},{'label':_0x1e4b59(0x5c6),'icon':_0x1e4b59(0x5e9),'value':_0x32f1d8['RIGHT']}];function Ja(_0x4d2903){const _0x494559=_0x1e4b59;var _0x459e4c;let _0x9ca2b8=_0x4d2903['get'](_0x229c27),_0x91a940=_0x4d2903[_0x494559(0x4f9)](_0x1b0873),_0x3fc6de=_0x4d2903[_0x494559(0x4f9)](_0x113402),_0x10fdd8=_0x4d2903[_0x494559(0x4f9)](K),_0x112c57=_0x4d2903[_0x494559(0x4f9)](_0x114e41),_0x557ec2=_0x32f1d8['LEFT'],_0xaa9398=()=>{const _0x5334e7=_0x494559;var _0x3f390c;let _0x6d4bec=_0x3fc6de[_0x5334e7(0x5b1)]()['filter'](_0x2230f7=>_0x2230f7[_0x5334e7(0x356)]===_0x44ab60['DRAWING_SHAPE']);if(_0x6d4bec[_0x5334e7(0x270)]!==0x1)return _0x557ec2;let _0x30ae27=_0x10fdd8[_0x5334e7(0x38b)](),_0x50e05e=(_0x30ae27==null?void 0x0:_0x30ae27['unitId'])||_0x6d4bec[0x0][_0x5334e7(0x294)],_0x548bfb=(_0x30ae27==null?void 0x0:_0x30ae27[_0x5334e7(0x51e)])||_0x6d4bec[0x0][_0x5334e7(0x51e)],_0x3ddacd=(_0x30ae27==null?void 0x0:_0x30ae27['shapeId'])||_0x6d4bec[0x0][_0x5334e7(0x23e)],_0x11a502=_0x112c57['getShapeModel'](_0x50e05e,_0x548bfb,_0x3ddacd);if(!_0x11a502)return _0x557ec2;let _0x248724=_0x11a502[_0x5334e7(0x4d2)]();if(!_0x248724||!(_0x5334e7(0x3f1)in _0x248724))return _0x557ec2;let _0x5298a8=_0x248724[_0x5334e7(0x3f1)];return(_0x3f390c=_0x5298a8==null?void 0x0:_0x5298a8['ha'])==null?_0x557ec2:_0x3f390c;};return{'id':Ta['id'],'icon':(_0x459e4c=qa[_0x494559(0x34e)](_0x23ad44=>_0x23ad44[_0x494559(0x35e)]===_0x557ec2))==null?void 0x0:_0x459e4c[_0x494559(0x36b)],'tooltip':_0x494559(0x3ac),'type':_0x5dfa3c[_0x494559(0x52c)],'selections':qa,'value$':new _0x573178(_0xf37d9e=>{const _0x32e648=_0x494559;let _0x18e957=_0x9ca2b8[_0x32e648(0x36d)](_0x1890c4=>{_0x1890c4['id']===Ta['id']&&_0xf37d9e['next'](_0xaa9398());}),_0x55e33e=_0x10fdd8[_0x32e648(0x41a)][_0x32e648(0x4da)](()=>{const _0x52a822=_0x32e648;_0xf37d9e[_0x52a822(0x3af)](_0xaa9398());});return _0xf37d9e[_0x32e648(0x3af)](_0xaa9398()),()=>{const _0x238f12=_0x32e648;_0x18e957[_0x238f12(0x301)](),_0x55e33e[_0x238f12(0x4ac)]();};}),'hidden$':_0x91a940[_0x494559(0x37b)](_0x174548)[_0x494559(0x3b4)](_0x320f72(_0x23840f=>!_0x23840f))};}const Ya=[{'label':_0x1e4b59(0x2a8),'icon':'AlignTopIcon','value':_0x3e15ec[_0x1e4b59(0x2ad)]},{'label':_0x1e4b59(0x440),'icon':_0x1e4b59(0x5cf),'value':_0x3e15ec[_0x1e4b59(0x363)]},{'label':_0x1e4b59(0x355),'icon':_0x1e4b59(0x46b),'value':_0x3e15ec[_0x1e4b59(0x230)]}];function Xa(_0x59231e){const _0x478b17=_0x1e4b59;var _0x4d1f2e;let _0x1f30e1=_0x59231e['get'](_0x229c27),_0x148cef=_0x59231e[_0x478b17(0x4f9)](_0x1b0873),_0x155cc4=_0x59231e[_0x478b17(0x4f9)](_0x113402),_0x3f8d2e=_0x59231e[_0x478b17(0x4f9)](K),_0x30e8fd=_0x59231e[_0x478b17(0x4f9)](_0x114e41),_0x8f4e4d=_0x3e15ec[_0x478b17(0x2ad)],_0x50bfc6=()=>{const _0x2c5419=_0x478b17;var _0x22d543;let _0x333f27=_0x155cc4[_0x2c5419(0x5b1)]()[_0x2c5419(0x451)](_0x1bbde7=>_0x1bbde7[_0x2c5419(0x356)]===_0x44ab60[_0x2c5419(0x526)]);if(_0x333f27[_0x2c5419(0x270)]!==0x1)return _0x8f4e4d;let _0x44806a=_0x3f8d2e[_0x2c5419(0x38b)](),_0x49b9f9=(_0x44806a==null?void 0x0:_0x44806a['unitId'])||_0x333f27[0x0][_0x2c5419(0x294)],_0x508ae1=(_0x44806a==null?void 0x0:_0x44806a[_0x2c5419(0x51e)])||_0x333f27[0x0]['subUnitId'],_0x4e1e64=(_0x44806a==null?void 0x0:_0x44806a[_0x2c5419(0x543)])||_0x333f27[0x0]['drawingId'],_0x112cd0=_0x30e8fd[_0x2c5419(0x58f)](_0x49b9f9,_0x508ae1,_0x4e1e64);if(!_0x112cd0)return _0x8f4e4d;let _0x3122a6=_0x112cd0[_0x2c5419(0x4d2)]();if(!_0x3122a6||!(_0x2c5419(0x3f1)in _0x3122a6))return _0x8f4e4d;let _0x489d36=_0x3122a6['dataModel'];return(_0x22d543=_0x489d36==null?void 0x0:_0x489d36['va'])==null?_0x8f4e4d:_0x22d543;};return{'id':J['id'],'icon':(_0x4d1f2e=Ya[_0x478b17(0x34e)](_0x288574=>_0x288574[_0x478b17(0x35e)]===_0x8f4e4d))==null?void 0x0:_0x4d1f2e[_0x478b17(0x36b)],'tooltip':_0x478b17(0x2c1),'type':_0x5dfa3c['SELECTOR'],'selections':Ya,'value$':new _0x573178(_0x384b5a=>{const _0x451f36=_0x478b17;let _0x5d11e0=_0x1f30e1[_0x451f36(0x36d)](_0x341576=>{const _0x34de78=_0x451f36;_0x341576['id']===J['id']&&_0x384b5a[_0x34de78(0x3af)](_0x50bfc6());}),_0x45e5fd=_0x3f8d2e[_0x451f36(0x41a)][_0x451f36(0x4da)](()=>{const _0x1f2dda=_0x451f36;_0x384b5a[_0x1f2dda(0x3af)](_0x50bfc6());});return _0x384b5a[_0x451f36(0x3af)](_0x50bfc6()),()=>{const _0x4c33ed=_0x451f36;_0x5d11e0[_0x4c33ed(0x301)](),_0x45e5fd[_0x4c33ed(0x4ac)]();};}),'hidden$':_0x148cef['subscribeContextValue$'](_0x174548)[_0x478b17(0x3b4)](_0x320f72(_0x256ee0=>!_0x256ee0))};}let Za=class extends _0x2d969b{constructor(_0x3a2667,_0x11208a){const _0x41b857=_0x1e4b59;super(),this[_0x41b857(0x299)]=_0x3a2667,this[_0x41b857(0x557)]=_0x11208a,this['_registerImageShapeClipDelegate'](),this[_0x41b857(0x299)][_0x41b857(0x478)](!0x0),this[_0x41b857(0x502)]({'dispose':()=>this[_0x41b857(0x299)][_0x41b857(0x478)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x5bbdc2=_0x1e4b59;let _0x18e0f4=this[_0x5bbdc2(0x299)],_0x2ce0e1=new Map(),_0x20e161=_0x18e0f4[_0x5bbdc2(0x296)]((_0x2b255f,_0xca70fb,_0x43cb88,_0x2c4c01,_0x5e065e)=>{const _0x46c706=_0x5bbdc2;let _0x46c1c6=_0xca70fb;if(_0x46c1c6===_0x4d29db['None']||_0xca70fb==='custom')return!0x1;try{let _0xcaeb5b=_0x2ce0e1[_0x46c706(0x4f9)](_0xca70fb);return _0xcaeb5b||(_0xcaeb5b=new _0x32ec93(_0x46c1c6,_0x46c706(0x469)+_0xca70fb),_0x2ce0e1[_0x46c706(0x281)](_0xca70fb,_0xcaeb5b)),_0x5e065e&&_0xcaeb5b[_0x46c706(0x417)]({'adjustValues':_0x5e065e},!0x0),_0xcaeb5b[_0x46c706(0x3a1)]({'width':_0x43cb88,'height':_0x2c4c01}),_0xcaeb5b[_0x46c706(0x2e5)](_0x2b255f,{'left':0x0,'top':0x0,'width':_0x43cb88,'height':_0x2c4c01});}catch{return!0x1;}});this[_0x5bbdc2(0x502)](_0x20e161),this['disposeWithMe']({'dispose':()=>_0x2ce0e1[_0x5bbdc2(0x223)]()});}[_0x1e4b59(0x27f)](_0xb8aec,_0x4da244,_0x3dd3e3,_0x198a44,_0x3c0221){const _0x276354=_0x1e4b59;let _0x33ca08=this[_0x276354(0x557)][_0x276354(0x520)](_0xb8aec,_0x4da244);if(!_0x33ca08[_0x3dd3e3])return;let _0x5024af={..._0x33ca08[_0x3dd3e3],'prstGeom':_0x198a44,'adjustValues':_0x3c0221};this[_0x276354(0x557)][_0x276354(0x215)]([_0x5024af]);}};Za=X([Y(0x0,_0x49bdac(_0x23d7c6)),Y(0x1,_0x49bdac(_0xd6b9bd))],Za);const Qa=[{'group':'line','type':_0x4d29db[_0x1e4b59(0x354)],'icon':_0x1e4b59(0x454),'name':_0x1e4b59(0x5cc)},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db['StraightConnector1'],'icon':'ShapeStraightConnector1Icon','name':_0x1e4b59(0x27b),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x2db)],'icon':_0x1e4b59(0x387),'name':_0x1e4b59(0x264),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x377)],'icon':'ShapeBentConnector3Icon','name':_0x1e4b59(0x58c)},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x377)],'icon':_0x1e4b59(0x34b),'name':_0x1e4b59(0x549),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db['BentConnector3'],'icon':_0x1e4b59(0x2ee),'name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x5f9),'name':'sheets-shape-ui.shape.type.curved-connector3'},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x31d),'name':_0x1e4b59(0x57a),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x30a),'name':_0x1e4b59(0x4f2),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':_0x1e4b59(0x524),'name':_0x1e4b59(0x41d)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x4a0)],'icon':_0x1e4b59(0x216),'name':_0x1e4b59(0x423)},{'group':'rectangle','type':_0x4d29db[_0x1e4b59(0x534)],'icon':_0x1e4b59(0x3bc),'name':_0x1e4b59(0x2d1)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x58b)],'icon':_0x1e4b59(0x5ba),'name':_0x1e4b59(0x4db)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x4b3)],'icon':_0x1e4b59(0x54d),'name':_0x1e4b59(0x376)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x2bc)],'icon':_0x1e4b59(0x302),'name':_0x1e4b59(0x3eb)},{'group':_0x1e4b59(0x209),'type':_0x4d29db['Round1Rect'],'icon':_0x1e4b59(0x3a8),'name':_0x1e4b59(0x240)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x414)],'icon':_0x1e4b59(0x389),'name':_0x1e4b59(0x447)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x286)],'icon':'ShapeRound2DiagRectIcon','name':_0x1e4b59(0x482)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x1e4b59(0x53c),'horizontal':!0x0},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':_0x1e4b59(0x35d),'name':_0x1e4b59(0x353),'vertical':!0x0},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Ellipse'],'icon':'ShapeEllipseIcon','name':_0x1e4b59(0x4f1)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x5c3)],'icon':'ShapeTriangleIcon','name':'sheets-shape-ui.shape.type.triangle'},{'group':'basicShape','type':_0x4d29db['RightTriangle'],'icon':_0x1e4b59(0x514),'name':_0x1e4b59(0x2cc)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x250)],'icon':_0x1e4b59(0x4ce),'name':_0x1e4b59(0x367)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x311)],'icon':_0x1e4b59(0x46a),'name':_0x1e4b59(0x496)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x295)],'icon':_0x1e4b59(0x3b9),'name':_0x1e4b59(0x308)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x336)],'icon':_0x1e4b59(0x326),'name':_0x1e4b59(0x50e)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x386)],'icon':_0x1e4b59(0x405),'name':_0x1e4b59(0x31e)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Heptagon'],'icon':'ShapeHeptagonIcon','name':_0x1e4b59(0x1f5)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x56b)],'icon':_0x1e4b59(0x2c9),'name':'sheets-shape-ui.shape.type.octagon'},{'group':'basicShape','type':_0x4d29db['Decagon'],'icon':_0x1e4b59(0x5db),'name':_0x1e4b59(0x2c3)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x525)],'icon':_0x1e4b59(0x483),'name':_0x1e4b59(0x554)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Pie'],'icon':_0x1e4b59(0x337),'name':_0x1e4b59(0x345)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x314)],'icon':_0x1e4b59(0x33e),'name':_0x1e4b59(0x3c6)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Teardrop'],'icon':_0x1e4b59(0x30f),'name':'sheets-shape-ui.shape.type.teardrop'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x39a)],'icon':_0x1e4b59(0x4cb),'name':'sheets-shape-ui.shape.type.frame'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5d3)],'icon':_0x1e4b59(0x3e3),'name':_0x1e4b59(0x5c5)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x441)],'icon':'ShapeCornerIcon','name':_0x1e4b59(0x493)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x4e5)],'icon':_0x1e4b59(0x415),'name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x214)],'icon':_0x1e4b59(0x20a),'name':_0x1e4b59(0x5ad)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x365)],'icon':_0x1e4b59(0x2e3),'name':'sheets-shape-ui.shape.type.plaque'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x572)],'icon':'ShapeCanIcon','name':_0x1e4b59(0x3e6)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x42b)],'icon':_0x1e4b59(0x2cd),'name':'sheets-shape-ui.shape.type.cube'},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Bevel'],'icon':_0x1e4b59(0x5cd),'name':_0x1e4b59(0x34a)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Donut'],'icon':_0x1e4b59(0x40d),'name':_0x1e4b59(0x271)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x36f)],'icon':_0x1e4b59(0x519),'name':'sheets-shape-ui.shape.type.no-smoking'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x47e)],'icon':'ShapeBlockArcIcon','name':_0x1e4b59(0x24e)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x4a3)],'icon':_0x1e4b59(0x45c),'name':'sheets-shape-ui.shape.type.folder-corner'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x305)],'icon':_0x1e4b59(0x2f9),'name':_0x1e4b59(0x3a6)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x42c)],'icon':_0x1e4b59(0x26c),'name':_0x1e4b59(0x200)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x3ec)],'icon':'ShapeLightningBoltIcon','name':_0x1e4b59(0x34c)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x3f7)],'icon':_0x1e4b59(0x3ab),'name':_0x1e4b59(0x54c)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5fb)],'icon':_0x1e4b59(0x590),'name':'sheets-shape-ui.shape.type.moon'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x570)],'icon':'ShapeCloudIcon','name':'sheets-shape-ui.shape.type.cloud'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x407)],'icon':_0x1e4b59(0x5bc),'name':_0x1e4b59(0x48b)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x56f)],'icon':_0x1e4b59(0x5b7),'name':_0x1e4b59(0x435)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x4d5)],'icon':_0x1e4b59(0x2d4),'name':_0x1e4b59(0x506)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0x1e4b59(0x5be)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['RightBracket'],'icon':_0x1e4b59(0x2f3),'name':'sheets-shape-ui.shape.type.right-bracket'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x357)],'icon':_0x1e4b59(0x1f8),'name':_0x1e4b59(0x5a0)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x53f)],'icon':_0x1e4b59(0x4e6),'name':_0x1e4b59(0x5ce)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x42d)],'icon':_0x1e4b59(0x221),'name':_0x1e4b59(0x5e1)},{'group':'blockArrow','type':_0x4d29db['LeftArrow'],'icon':_0x1e4b59(0x5a9),'name':_0x1e4b59(0x55e)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x4d3)],'icon':'ShapeUpArrowIcon','name':_0x1e4b59(0x4b6)},{'group':'blockArrow','type':_0x4d29db['DownArrow'],'icon':_0x1e4b59(0x2d6),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x529)],'icon':'ShapeLeftRightArrowIcon','name':_0x1e4b59(0x292)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['UpDownArrow'],'icon':_0x1e4b59(0x5a5),'name':'sheets-shape-ui.shape.type.up-down-arrow'},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x5e3)],'icon':_0x1e4b59(0x2c5),'name':'sheets-shape-ui.shape.type.quad-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db['LeftRightUpArrow'],'icon':_0x1e4b59(0x21f),'name':_0x1e4b59(0x20b)},{'group':'blockArrow','type':_0x4d29db['BentArrow'],'icon':_0x1e4b59(0x3e7),'name':_0x1e4b59(0x5b6)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x531)],'icon':'ShapeUturnArrowIcon','name':_0x1e4b59(0x4df)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x30b)],'icon':_0x1e4b59(0x32d),'name':_0x1e4b59(0x559)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x29e)],'icon':'ShapeBentUpArrowIcon','name':_0x1e4b59(0x380)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x205)],'icon':'ShapeCurvedRightArrowIcon','name':_0x1e4b59(0x38a)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x255)],'icon':_0x1e4b59(0x260),'name':_0x1e4b59(0x2f7)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x542)],'icon':'ShapeCurvedUpArrowIcon','name':_0x1e4b59(0x53d)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x2fa)],'icon':_0x1e4b59(0x383),'name':_0x1e4b59(0x456)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['StripedRightArrow'],'icon':_0x1e4b59(0x5d4),'name':_0x1e4b59(0x347)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x56e)],'icon':_0x1e4b59(0x3ce),'name':'sheets-shape-ui.shape.type.notched-right-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x280)],'icon':_0x1e4b59(0x335),'name':_0x1e4b59(0x287)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['Chevron'],'icon':_0x1e4b59(0x25b),'name':_0x1e4b59(0x2ae)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x3f2)],'icon':'ShapeRightArrowCalloutIcon','name':_0x1e4b59(0x58d)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x3f4)],'icon':_0x1e4b59(0x3ad),'name':_0x1e4b59(0x20c)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x2c0)],'icon':_0x1e4b59(0x501),'name':_0x1e4b59(0x585)},{'group':'blockArrow','type':_0x4d29db['UpArrowCallout'],'icon':_0x1e4b59(0x4e2),'name':_0x1e4b59(0x552)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x278)],'icon':'ShapeLeftRightArrowCalloutIcon','name':_0x1e4b59(0x33c)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x591)],'icon':_0x1e4b59(0x4dc),'name':_0x1e4b59(0x3c9)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x596)],'icon':'ShapeCircularArrowIcon','name':_0x1e4b59(0x220)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x3d5)],'icon':_0x1e4b59(0x397),'name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x3cd)],'icon':_0x1e4b59(0x35f),'name':_0x1e4b59(0x22a)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x246)],'icon':'ShapeMathMultiplyIcon','name':_0x1e4b59(0x4ca)},{'group':'equationShape','type':_0x4d29db[_0x1e4b59(0x4d0)],'icon':_0x1e4b59(0x59c),'name':_0x1e4b59(0x374)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db['MathEqual'],'icon':_0x1e4b59(0x1ff),'name':_0x1e4b59(0x235)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db['MathNotEqual'],'icon':_0x1e4b59(0x49a),'name':_0x1e4b59(0x5d0)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartProcess'],'icon':_0x1e4b59(0x4ba),'name':_0x1e4b59(0x4af)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x3a9)],'icon':_0x1e4b59(0x2f0),'name':_0x1e4b59(0x25f)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x1fb)],'icon':_0x1e4b59(0x555),'name':'sheets-shape-ui.shape.type.flow-chart-decision'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x44f)],'icon':_0x1e4b59(0x3f5),'name':_0x1e4b59(0x3a4)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x2a9)],'icon':_0x1e4b59(0x237),'name':_0x1e4b59(0x3dd)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x541)],'icon':_0x1e4b59(0x5a7),'name':_0x1e4b59(0x45f)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartDocument'],'icon':_0x1e4b59(0x562),'name':'sheets-shape-ui.shape.type.flow-chart-document'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2ce)],'icon':_0x1e4b59(0x38e),'name':_0x1e4b59(0x208)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartTerminator'],'icon':_0x1e4b59(0x49b),'name':_0x1e4b59(0x2cb)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartPreparation'],'icon':_0x1e4b59(0x20d),'name':'sheets-shape-ui.shape.type.flow-chart-preparation'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x4c4)],'icon':_0x1e4b59(0x48e),'name':_0x1e4b59(0x370)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x396)],'icon':'ShapeFlowChartManualOperationIcon','name':_0x1e4b59(0x55a)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x5d6)],'icon':_0x1e4b59(0x46e),'name':_0x1e4b59(0x571)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x236)],'icon':_0x1e4b59(0x23f),'name':_0x1e4b59(0x495)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2ca)],'icon':'ShapeFlowChartPunchedCardIcon','name':'sheets-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x599)],'icon':_0x1e4b59(0x50d),'name':_0x1e4b59(0x238)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartSummingJunction'],'icon':_0x1e4b59(0x5d7),'name':_0x1e4b59(0x27c)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartOr'],'icon':_0x1e4b59(0x32c),'name':_0x1e4b59(0x3a0)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x4c6)],'icon':_0x1e4b59(0x1ed),'name':'sheets-shape-ui.shape.type.flow-chart-collate'},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x4be)],'icon':'ShapeFlowChartSortIcon','name':'sheets-shape-ui.shape.type.flow-chart-sort'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x5b2)],'icon':_0x1e4b59(0x558),'name':_0x1e4b59(0x580)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2c8)],'icon':_0x1e4b59(0x38c),'name':_0x1e4b59(0x252)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x1eb)],'icon':'ShapeFlowChartOnlineStorageIcon','name':'sheets-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x4e1)],'icon':_0x1e4b59(0x3cb),'name':_0x1e4b59(0x2dc)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x285)],'icon':_0x1e4b59(0x2dd),'name':_0x1e4b59(0x24c)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartMagneticDisk'],'icon':'ShapeFlowChartMagneticDiskIcon','name':'sheets-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartMagneticDrum'],'icon':_0x1e4b59(0x5dc),'name':_0x1e4b59(0x3de)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartDisplay'],'icon':_0x1e4b59(0x333),'name':_0x1e4b59(0x419)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x54b)],'icon':_0x1e4b59(0x5de),'name':_0x1e4b59(0x315)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['IrregularSeal2'],'icon':_0x1e4b59(0x224),'name':'sheets-shape-ui.shape.type.irregular-seal2'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x2e8)],'icon':_0x1e4b59(0x420),'name':_0x1e4b59(0x2e9)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x1fe)],'icon':_0x1e4b59(0x2f1),'name':_0x1e4b59(0x53a)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x2e6)],'icon':_0x1e4b59(0x1f9),'name':'sheets-shape-ui.shape.type.star6'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x259)],'icon':_0x1e4b59(0x5c1),'name':_0x1e4b59(0x3f3)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x3c3)],'icon':'ShapeStar8Icon','name':_0x1e4b59(0x4fb)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x404)],'icon':_0x1e4b59(0x328),'name':_0x1e4b59(0x5e0)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x409)],'icon':_0x1e4b59(0x248),'name':_0x1e4b59(0x476)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x276)],'icon':_0x1e4b59(0x4fd),'name':_0x1e4b59(0x3da)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x518)],'icon':_0x1e4b59(0x4bc),'name':_0x1e4b59(0x318)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x3f8)],'icon':_0x1e4b59(0x1fa),'name':_0x1e4b59(0x253)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x5e4)],'icon':'ShapeRibbon2Icon','name':_0x1e4b59(0x392)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['Ribbon'],'icon':_0x1e4b59(0x4d7),'name':'sheets-shape-ui.shape.type.ribbon'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x507)],'icon':_0x1e4b59(0x27a),'name':_0x1e4b59(0x2af)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x3fa)],'icon':_0x1e4b59(0x52b),'name':_0x1e4b59(0x411)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['VerticalScroll'],'icon':'ShapeVerticalScrollIcon','name':_0x1e4b59(0x2b8)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x26f)],'icon':_0x1e4b59(0x3d7),'name':_0x1e4b59(0x2b2)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['Wave'],'icon':'ShapeWaveIcon','name':_0x1e4b59(0x2a6)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x1e4b59(0x50a)},{'group':'callout','type':_0x4d29db['WedgeRectCallout'],'icon':_0x1e4b59(0x55c),'name':_0x1e4b59(0x241)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x29b)],'icon':'ShapeWedgeRoundRectCalloutIcon','name':_0x1e4b59(0x427)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x4a5)],'icon':_0x1e4b59(0x1ec),'name':_0x1e4b59(0x4ff)},{'group':'callout','type':_0x4d29db[_0x1e4b59(0x5a6)],'icon':_0x1e4b59(0x45b),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x5d5)],'icon':'ShapeBorderCallout1Icon','name':_0x1e4b59(0x575)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['BorderCallout2'],'icon':_0x1e4b59(0x5f8),'name':_0x1e4b59(0x202)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x3b0)],'icon':_0x1e4b59(0x283),'name':_0x1e4b59(0x3f0)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['AccentCallout1'],'icon':_0x1e4b59(0x430),'name':_0x1e4b59(0x34f)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x262)],'icon':_0x1e4b59(0x359),'name':_0x1e4b59(0x1fc)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x5ac)],'icon':'ShapeAccentCallout3Icon','name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x26a)],'icon':_0x1e4b59(0x4cc),'name':_0x1e4b59(0x521)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['Callout2'],'icon':'ShapeCallout2Icon','name':_0x1e4b59(0x274)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x31f)],'icon':_0x1e4b59(0x416),'name':_0x1e4b59(0x58e)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x319)],'icon':_0x1e4b59(0x52f),'name':_0x1e4b59(0x538)},{'group':'callout','type':_0x4d29db[_0x1e4b59(0x2c2)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x1e4b59(0x2d2)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['AccentBorderCallout3'],'icon':'ShapeAccentBorderCallout3Icon','name':_0x1e4b59(0x5c4)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4a4)],'icon':_0x1e4b59(0x402),'name':'sheets-shape-ui.shape.type.left-circular-arrow'},{'group':'other','type':_0x4d29db[_0x1e4b59(0x22d)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x1e4b59(0x284)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x550)],'icon':_0x1e4b59(0x581),'name':_0x1e4b59(0x59e)},{'group':_0x1e4b59(0x545),'type':_0x4d29db['LeftRightRibbon'],'icon':_0x1e4b59(0x5b0),'name':_0x1e4b59(0x24f)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x453)],'icon':'ShapePieWedgeIcon','name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':_0x1e4b59(0x545),'type':_0x4d29db['Funnel'],'icon':_0x1e4b59(0x38f),'name':_0x1e4b59(0x586)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x459)],'icon':_0x1e4b59(0x3ff),'name':_0x1e4b59(0x298)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x5e7)],'icon':_0x1e4b59(0x2b9),'name':_0x1e4b59(0x29f)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4ed)],'icon':'ShapeCornerTabsIcon','name':'sheets-shape-ui.shape.type.corner-tabs'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x4de)],'icon':_0x1e4b59(0x475),'name':'sheets-shape-ui.shape.type.action-button-back-previous'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x2f8)],'icon':_0x1e4b59(0x273),'name':_0x1e4b59(0x418)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3d9)],'icon':_0x1e4b59(0x348),'name':'sheets-shape-ui.shape.type.action-button-beginning'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x222)],'icon':_0x1e4b59(0x446),'name':_0x1e4b59(0x29a)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3aa)],'icon':_0x1e4b59(0x5b5),'name':_0x1e4b59(0x463)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x257)],'icon':'ShapeActionButtonInformationIcon','name':'sheets-shape-ui.shape.type.action-button-information'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x210)],'icon':_0x1e4b59(0x59d),'name':_0x1e4b59(0x3e5)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x421)],'icon':_0x1e4b59(0x21c),'name':_0x1e4b59(0x4c5)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3dc)],'icon':_0x1e4b59(0x2d3),'name':_0x1e4b59(0x37c)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x303)],'icon':'ShapeActionButtonSoundIcon','name':_0x1e4b59(0x533)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4ab)],'icon':'ShapeActionButtonHelpIcon','name':_0x1e4b59(0x346)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x48f)],'icon':'ShapeActionButtonBlankIcon','name':'sheets-shape-ui.shape.type.action-button-blank'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x5a1)],'icon':'ShapeChartPlusIcon','name':_0x1e4b59(0x489)},{'group':'other','type':_0x4d29db['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x1e4b59(0x546)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x434)],'icon':_0x1e4b59(0x5eb),'name':_0x1e4b59(0x513)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3db)],'icon':_0x1e4b59(0x4ad),'name':_0x1e4b59(0x3e0)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x1ee)],'icon':_0x1e4b59(0x2ab),'name':_0x1e4b59(0x455)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x2d5)],'icon':_0x1e4b59(0x362),'name':'sheets-shape-ui.shape.type.plaque-tabs'},{'group':'other','type':_0x4d29db[_0x1e4b59(0x578)],'icon':_0x1e4b59(0x515),'name':_0x1e4b59(0x268)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x43c)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x1e4b59(0x406)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x59a)],'icon':_0x1e4b59(0x4eb),'name':_0x1e4b59(0x43b)}],$a='sheet.shape.picker.component';function eo({onShapeClick:_0x593ef1,excludeGroups:_0x32c050}){const _0xc183af=_0x1e4b59;let _0x3287d7=_0x51983f(_0x10276c),_0x7124b4=_0x51983f(_0x5b7817),_0x2e37f4=(_0x32c050?Qa[_0xc183af(0x451)](_0x45ac71=>!_0x32c050[_0xc183af(0x233)](_0x45ac71[_0xc183af(0x584)])):Qa)['reduce']((_0x3df87f,_0x150668)=>(_0x3df87f[_0x150668[_0xc183af(0x584)]]||(_0x3df87f[_0x150668[_0xc183af(0x584)]]=[]),_0x3df87f[_0x150668[_0xc183af(0x584)]][_0xc183af(0x350)](_0x150668),_0x3df87f),{});return _0x5a567d('div',{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0xc183af(0x242)](_0x2e37f4)[_0xc183af(0x48a)](([_0xab6749,_0x2d08db])=>_0x96059a('div',{'className':'univer-mb-2','children':[_0x5a567d(_0xc183af(0x1fd),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x3287d7['t'](_0xc183af(0x368)+_0xab6749)}),_0x5a567d('div',{'className':_0xc183af(0x5d1),'children':_0x2d08db[_0xc183af(0x48a)](_0x3046a2=>{const _0x5e46af=_0xc183af;let _0xf78c89=_0x7124b4[_0x5e46af(0x4f9)](_0x3046a2['icon']);return _0x5a567d(_0x5e46af(0x1fd),{'title':_0x3287d7['t'](_0x3046a2['name']),'onClick':()=>_0x593ef1(_0x3046a2),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0xf78c89&&_0x5a567d(_0xf78c89,{'className':_0x5e46af(0x22f)})},_0x3046a2[_0x5e46af(0x462)]);})})]},_0xab6749))});}function to(){const _0x4c6b12=_0x1e4b59;let _0x901c0a=_0x51983f(_0x10276c),_0x35f0b6=_0x51983f(_0xd6b9bd),_0x1aaea3=_0x51983f(Za),[_0x5acd98,_0x1ba929]=_0x4fd01b(!0x1);return _0x5a567d(_0x20f71f,{'side':_0x4c6b12(0x5ec),'open':_0x5acd98,'onOpenChange':_0x1ba929,'overlay':_0x5a567d(eo,{'onShapeClick':_0x15ff72=>{const _0x386dbc=_0x4c6b12;let _0x307bb6=_0x35f0b6[_0x386dbc(0x5b1)]()['find'](_0x4ec328=>_0x4ec328['drawingType']===_0x44ab60[_0x386dbc(0x40a)]);if(!_0x307bb6)return;let {unitId:_0x2499b4,subUnitId:_0x3da8ce,drawingId:_0x240699}=_0x307bb6;_0x1aaea3[_0x386dbc(0x27f)](_0x2499b4,_0x3da8ce,_0x240699,_0x15ff72[_0x386dbc(0x3cf)]),_0x1ba929(!0x1);},'excludeGroups':['line']}),'children':_0x5a567d(_0x2d018f,{'children':_0x901c0a['t'](_0x4c6b12(0x2b4))})});}function no(){let _0x132a09=_0x51983f(_0x229c27);return _0x5a567d(eo,{'onShapeClick':_0x1dc6b8=>{const _0x34e8d6=_0xa61a;_0x132a09['executeCommand'](Wa['id'],{'value':_0x1dc6b8[_0x34e8d6(0x3cf)],'enhanceParams':{'endArrow':_0x1dc6b8[_0x34e8d6(0x464)],'startArrow':_0x1dc6b8['startArrow'],'horizontal':_0x1dc6b8[_0x34e8d6(0x349)],'vertical':_0x1dc6b8[_0x34e8d6(0x400)]}});}});}function ro(_0x1240f5){const _0x4118aa=_0x1e4b59;let _0x1879e5=_0x1240f5[_0x4118aa(0x4f9)](_0x2b0f26);return{'id':Wa['id'],'type':_0x5dfa3c[_0x4118aa(0x52c)],'selections':[{'label':{'name':$a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':Wa['id']}}}],'icon':_0x4118aa(0x232),'tooltip':_0x4118aa(0x1ea),'activated$':_0x5cb814(_0x1879e5,!0x1,()=>new _0x573178(_0x2c2866=>{_0x2c2866['next'](!0x1);})),'hidden$':_0x1d3e36(_0x1240f5,_0x45bf6b[_0x4118aa(0x3df)]),'disabled$':_0x3ebf28(_0x1240f5)};}const io={[_0x2690d6[_0x1e4b59(0x50b)]]:{[_0x2ceb11['LAYOUT']]:{[J['id']]:{'order':3.5,'menuItemFactory':Xa},[Ta['id']]:{'order':3.4,'menuItemFactory':Ja}},[_0x2ceb11[_0x1e4b59(0x4f7)]]:{[_0x45d415['id']]:{'order':0x1,'menuItemFactory':Ga,[_0x351a43['id']]:{'order':0x0,'menuItemFactory':Ka}}}},[_0x4c5a89[_0x1e4b59(0x472)]]:{[Wa['id']]:{'order':0x4,'menuItemFactory':ro}}};function _0x415e(){const _0x26e166=['LeftRightArrow','documentStyle','ShapeEllipseRibbonIcon','SELECTOR','connection-site-','_getScrollInfo','ShapeAccentBorderCallout1Icon','_menuManagerService','UturnArrow','_addControl','sheets-shape-ui.shape.type.action-button-sound','Snip1Rect','adjHandleSize','values','setEditing','sheets-shape-ui.shape.type.accent-border-callout1','_activeImageId','sheets-shape-ui.shape.type.star5','_drawSimpleText','sheets-shape-ui.shape.type.rect-textbox-horizontal','sheets-shape-ui.shape.type.curved-up-arrow','_drawRichText','RightBrace','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','FlowchartInternalStorage','CurvedUpArrow','shapeId','packageName','other','sheets-shape-ui.shape.type.chart-star','clearAdjustControls','undo','sheets-shape-ui.shape.type.bent-connector3-arrow1','draw','IrregularSeal1','sheets-shape-ui.shape.type.sun','ShapeSnip2DiagRectIcon','getParent','deepClone','SwooshArrow','getUnit','sheets-shape-ui.shape.type.up-arrow-callout','add$','sheets-shape-ui.shape.type.dodecagon','ShapeFlowChartDecisionIcon','isArray','_drawingManagerService','ShapeFlowChartExtractIcon','sheets-shape-ui.shape.type.left-up-arrow','sheets-shape-ui.shape.type.flow-chart-manual-operation','sheets-shape-ui.permission.editErr','ShapeWedgeRectCalloutIcon','getShapeTypeById','sheets-shape-ui.shape.type.left-arrow','error','_createShapePopupMenu','isLineShape','ShapeFlowChartDocumentIcon','_handleConnectedEndpointPointerUp','_isStartAdjusting','add','fillType','register','545597KJSzdR','data','8vxCXPM','Octagon','sheet.command.set-shape-text-font-size-decrease','onStarting','NotchedRightArrow','BracketPair','Cloud','sheets-shape-ui.shape.type.flow-chart-connector','Can','subscribeEvent','adjHandleFill','sheets-shape-ui.shape.type.border-callout1','getCurrentScrollState','floor','SquareTabs','_registerFocusChangeHandler','sheets-shape-ui.shape.type.curved-connector3-arrow1','top','833047WzVKds','startArrow','_handleFreeEndpointPointerUp','clearControl$','sheets-shape-ui.shape.type.flow-chart-extract','ShapeSwooshArrowIcon','sectionBreaks','_onSavingEditorData$','group','sheets-shape-ui.shape.type.left-arrow-callout','sheets-shape-ui.shape.type.funnel','isStartConnectorPoint','getContextValue','sheets-shape-ui.toolbar.fillColor.main','sheet.command.set-shape-text-font-size','Snip2SameRect','sheets-shape-ui.shape.type.bent-connector3','sheets-shape-ui.shape.type.right-arrow-callout','sheets-shape-ui.shape.type.callout3','getShapeModel','ShapeMoonIcon','QuadArrowCallout','_initPermission','_sheetsShapeService','WRAP','_initialize','CircularArrow','_currentConnectionTarget','gdRefAng','FlowchartPunchedTape','NonIsoscelesTrapezoid','string','ShapeMathDivideIcon','ShapeActionButtonReturnIcon','sheets-shape-ui.shape.type.swoosh-arrow','isHorizontal','sheets-shape-ui.shape.type.left-brace','ChartPlus','_getOrCreateShapeModel','close','default','ShapeUpDownArrowIcon','CloudCallout','ShapeFlowChartInternalStorageIcon','cxnPointStroke','ShapeLeftArrowIcon','popup','sqrt','AccentCallout3','sheets-shape-ui.shape.type.plus','renderDrawingShape','_updateSrcRectByTransform','ShapeLeftRightRibbonIcon','getFocusDrawings','FlowchartExtract','getValue','decorate','ShapeActionButtonHomeIcon','sheets-shape-ui.shape.type.bent-arrow','ShapeBracketPairIcon','Rect','_clearShapeAdjustControls','ShapeSnip2SameRectIcon','callout','ShapeArcIcon','line','sheets-shape-ui.shape.type.left-bracket','strokeWidth','verticalAlign','ShapeStar7Icon','_updateShapeAdjustControls','Triangle','sheets-shape-ui.shape.type.accent-border-callout3','sheets-shape-ui.shape.type.half-frame','sheets-shape-ui.align.right','setSrcRect','setHighlighted','_activeShapeModel','onPointerDown$','sheets-shape-ui.toolbar.resetColor','sheets-shape-ui.shape.type.line','ShapeBevelIcon','sheets-shape-ui.shape.type.right-brace','VerticalCenterIcon','sheets-shape-ui.shape.type.math-not-equal','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','_sheetDrawingShapeRenderController','HalfFrame','ShapeStripedRightArrowIcon','BorderCallout1','FlowchartConnector','ShapeFlowChartSummingJunctionIcon','onSavingEditorData$','remove$','index','ShapeDecagonIcon','ShapeFlowChartMagneticDrumIcon','_adjHandlerPointerMove','ShapeIrregularSeal1Icon','_addShapeConnectorHandlerObject','sheets-shape-ui.shape.type.star10','sheets-shape-ui.shape.type.right-arrow','onPointerMove$','QuadArrow','Ribbon2','createControl$','_getDrawingRect','Gear9','getAdjustValueByName','RightJustifyingIcon','_focusedDrawings','ShapeChartXIcon','left','_contextService','_addShapeAdjustControl','_currentScene','from','_executeResizeCommand','onReady','getImage','refreshAdjustControls','clone','addObject','bind','ShapeBorderCallout2Icon','ShapeCurvedConnector3Icon','getAdjustInfoByName','Moon','sheets-shape-ui.insertShape','FlowchartOnlineStorage','ShapeWedgeEllipseCalloutIcon','ShapeFlowChartCollateIcon','LineInv','_handleFreeEndpointMove','_renderManagerService','abs','getEndConnectInfo','getSheetBySheetId','rect','sheets-shape-ui.shape.type.heptagon','_injector','save','ShapeLeftBraceIcon','ShapeStar6Icon','ShapeStar32Icon','FlowchartDecision','sheets-shape-ui.shape.type.accent-callout2','div','Star5','ShapeMathEqualIcon','sheets-shape-ui.shape.type.heart','_activeAdjustPointList','sheets-shape-ui.shape.type.border-callout2','changeStart$','_univerInstanceService','CurvedRightArrow','invert','mergeMenu','sheets-shape-ui.shape.type.flow-chart-multidocument','rectangle','ShapePlusIcon','sheets-shape-ui.shape.type.left-right-up-arrow','sheets-shape-ui.shape.type.down-arrow-callout','ShapeFlowChartPreparationIcon','_attachConnectorObjectEvent','_isHighlighted','ActionButtonReturn','_findShapeAtPoint','offsetX','_initCopyPaste','Plus','featurePluginUpdateNotification','ShapeRoundRectIcon','setShapeProps','setPrstGeom','localeService','pick','_draw','ShapeActionButtonMovieIcon','GROUP','_sheetShapeAdjustController','ShapeLeftRightUpArrowIcon','sheets-shape-ui.shape.type.circular-arrow','ShapeRightArrowIcon','ActionButtonEnd','clear','ShapeIrregularSeal2Icon','_configService','@univerjs-pro/sheets-shape-ui','isRichText','relation','getShapeTextRect','sheets-shape-ui.shape.type.math-minus','_targetShapeId','with','LeftRightCircularArrow','removeLinePoints','univer-size-full','BOTTOM','horizontalAlign','ShapeIcon','includes','sheets-shape-ui.hidePanel','sheets-shape-ui.shape.type.math-equal','FlowchartOffPageConnector','ShapeFlowChartPredefinedProcessIcon','sheets-shape-ui.shape.type.flow-chart-punched-tape','getColorFromTheme','isHighlighted','asObservable','adjName','worldPoint','drawingId','ShapeFlowChartOffpageConnectorIcon','sheets-shape-ui.shape.type.round1-rect','sheets-shape-ui.shape.type.wedge-rect-callout','entries','42620jhsasg','_transform','parse','MathMultiply','_sheetDrawingService','ShapeStar12Icon','_shapeTextEditingService','_createCopyInfoByRange','complete','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','getFonts','sheets-shape-ui.shape.type.block-arc','sheets-shape-ui.shape.type.left-right-ribbon','Parallelogram','_cxtHandlerPointerMove','sheets-shape-ui.shape.type.flow-chart-merge','sheets-shape-ui.shape.type.star32','beginPath','CurvedLeftArrow','activeAnObject','ActionButtonInformation','_loadShapePictureFill','Star7','_config','ShapeChevronIcon','refreshTransform','params','_activeAdjustInfo','sheets-shape-ui.shape.type.flow-chart-alternate-process','ShapeCurvedLeftArrowIcon','transformForAngle','AccentCallout2','_baseShapeLeft','sheets-shape-ui.shape.type.straight-connector2','shapeText','point','prstGeomAdjValues','sheets-shape-ui.shape.type.square-tabs','REMOVE','Callout1','getCurrentLastSelection','ShapeHeartIcon','833526mgDxvO','registerFeatureMenu','HorizontalScroll','length','sheets-shape-ui.shape.type.donut','_isShouldShowDrawingShapeAdjust','ShapeActionButtonForwardNextIcon','sheets-shape-ui.shape.type.callout2','_baseTop','Star16','_connectionSiteObjects','LeftRightArrowCallout','Large','ShapeEllipseRibbon2Icon','sheets-shape-ui.shape.type.straight-connector1','sheets-shape-ui.shape.type.flow-chart-summing-junction','_iconManager','shapeType','clipByShape','HomePlate','set','addImageSourceCache','ShapeBorderCallout3Icon','sheets-shape-ui.shape.type.left-right-circular-arrow','FlowchartMagneticTape','Round2DiagRect','sheets-shape-ui.shape.type.home-plate','stopPropagation','_unitId','interceptCommand','_hasReset','_cxtHandlerPointerUp','startY','_registerOperations','_registerDrawingFocusChangeHandler','_cxnIndex','focus$','sheets-shape-ui.shape.type.left-right-arrow','objects','unitId','Diamond','registerClipDelegate','None','sheets-shape-ui.shape.type.gear6','_clipService','sheets-shape-ui.shape.type.action-button-end','WedgeRoundRectCallout','getDrawingOrder','_isConnecting','BentUpArrow','sheets-shape-ui.shape.type.gear9','_clearControls','transformByState','_getConnectPointInfo','cxnPointRadius','adjustValues','enableObjectsEvent','sheets-shape-ui.shape.type.wave','stringify','sheets-shape-ui.align.top','FlowchartPredefinedProcess','_draggingConnectorId','ShapeLineInvIcon','_highlightedSiteIndex','TOP','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.shape.type.ellipse-ribbon2','_popupMenuListener','_reset','sheets-shape-ui.shape.type.horizontal-scroll','gridType','sheets-shape-ui.imagePanel.crop.shape','sheets-shape-ui.deleteShape','FromArray','primary.600','sheets-shape-ui.shape.type.vertical-scroll','ShapeGear9Icon','_componentManager','image','SnipRoundRect','getDrawingPoints','_attachAdjustEvent','flipX','LeftArrowCallout','sheets-shape-ui.toolbar.verticalAlignMode.main','AccentBorderCallout2','sheets-shape-ui.shape.type.decagon','ShapeTextEditorContainer','ShapeQuadArrowIcon','pushUndoRedo','getDrawingEditable','FlowchartMerge','ShapeOctagonIcon','FlowchartPunchedCard','sheets-shape-ui.shape.type.flow-chart-terminator','sheets-shape-ui.shape.type.rt-triangle','ShapeCubeIcon','FlowchartMultiDocument','_lastEditingShapeKey','_generateCopyPasteMutations','sheets-shape-ui.shape.type.snip1-rect','sheets-shape-ui.shape.type.accent-border-callout2','ShapeActionButtonDocumentIcon','ShapeBracePairIcon','PlaqueTabs','ShapeDownArrowIcon','custom','changing$','_subUnitId','updateLinePoints','StraightConnector1','sheets-shape-ui.shape.type.flow-chart-delay','ShapeFlowChartMagneticTapeIcon','onPointerUp$','LeftJustifyingIcon','_baseWidth','focusDrawing','endConnectionDetection','ShapePlaqueIcon','_updateAdjustControlPositions','buildClipPath','Star6','getBatchUpdateOp','Star4','sheets-shape-ui.shape.type.star4','sheetTransform','update$','HorizontallyIcon','getDrawingSearch','ShapeBentConnector3Arrow2Icon','viewportScrollY','ShapeFlowChartAlternateProcessIcon','ShapeStar5Icon','sheets-shape-ui','ShapeRightBracketIcon','BUTTON','top-center','getRenderById','sheets-shape-ui.shape.type.curved-left-arrow','ActionButtonForwardNext','ShapeSmileyFaceIcon','CurvedDownArrow','_baseLeft','oKey','_addShapeConnectorHandlerObjects','calcAdjValue','_getConnectionSiteAngle','getCurrentSkeleton','dispose','ShapeSnipRoundRectIcon','ActionButtonSound','_registerIcons','SmileyFace','_initSelection','blockArrow','sheets-shape-ui.shape.type.diamond','sheets-shape-ui.formatShape','ShapeCurvedConnector3Arrow2Icon','LeftUpArrow','_context','_sidebarDisposable','forEach','ShapeTeardropIcon','height','Trapezoid','UPDATE','end','Chord','sheets-shape-ui.shape.type.irregular-seal1','_imageIoService','dataStream','sheets-shape-ui.shape.type.star24','AccentBorderCallout1','_registerMoveHandler','_getImageDrawingInfo','_setTransForm','ShapeCurvedConnector3Arrow1Icon','sheets-shape-ui.shape.type.hexagon','Callout3','computeConnectorResizeLayout','getOwnPropertyDescriptor','isEditing','setShouldShowAdjust','getSkeletonParam','setContextValue','ShapePentagonIcon','_handleBasicShapeUpdateConnectorLineShape','ShapeStar10Icon','getDrawingByParam','computeStraightConnectorLayout','beforeCommandExecuted','ShapeFlowChartOrIcon','ShapeLeftUpArrowIcon','_sheetClipboardService','ancestorTransform','lineType','lineShapeId','_executeConnectedRouteConnectionCommand','ShapeFlowChartDisplayIcon','onSteady','ShapeHomePlateIcon','Pentagon','ShapePieIcon','sheetViewStartRow','start','changeEnd$','sheetViewStartColumn','sheets-shape-ui.shape.type.left-right-arrow-callout','cos','ShapeChordIcon','symbol','getUnitId','spaceBelow','viewportScrollX','_drawingRenderService','_sheetCanvasPopManagerService','sheets-shape-ui.shape.type.pie','sheets-shape-ui.shape.type.action-button-help','sheets-shape-ui.shape.type.striped-right-arrow','ShapeActionButtonBeginningIcon','horizontal','sheets-shape-ui.shape.type.bevel','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.lightning-bolt','sin','find','sheets-shape-ui.shape.type.accent-callout1','push','_shapeUpdateListener','setFillImage','sheets-shape-ui.shape.type.rect-textbox-vertical','Line','sheets-shape-ui.align.bottom','drawingType','LeftBrace','attachPopupToObject','ShapeAccentCallout2Icon','getTransformer','rotation','_loadAndSetImage','ShapeRectTextboxVerticalIcon','value','ShapeMathMinusIcon','_adjHandlerPointerUp','executeCommand','ShapePlaqueTabsIcon','MIDDLE','_calculateFreeEndpointAngle','Plaque','getZoomRatio','sheets-shape-ui.shape.type.parallelogram','sheets-shape-ui.shape.group.','_shapeEditPanelVersion','copyType','icon','flowchart','onCommandExecuted','connector-handler-','NoSmoking','sheets-shape-ui.shape.type.flow-chart-manual-input','_registerGroupFeaturePasteHook','_initCommands','sheets-shape-ui.rotateLeft90','sheets-shape-ui.shape.type.math-divide','_executeConnectedRouteResizeCommand','sheets-shape-ui.shape.type.snip2-diag-rect','BentConnector3','_groupCopyPasteController','_rerouteConnectorLine','translate','subscribeContextValue$','sheets-shape-ui.shape.type.action-button-document','scene','_createControls','getState','sheets-shape-ui.shape.type.bent-up-arrow','width','348OEqOoU','ShapeCurvedDownArrowIcon','TRUE','_handleConnectorPointerUp','Hexagon','ShapeStraightConnector2Icon','_isDrawingShapePointDown','ShapeRound2SameRectIcon','sheets-shape-ui.shape.type.curved-right-arrow','getEditing','ShapeFlowChartMergeIcon','call','ShapeFlowChartMultidocumentIcon','ShapeFunnelIcon','addClipboardHook','isInGroup','sheets-shape-ui.shape.type.ribbon2','defineProperty','_getZoomRatio','startX','FlowchartManualOperation','ShapeMathPlusIcon','skeleton','_props','Frame','sheet.command.set-shape-text-horizontal-align','prototype','doc','_generateCutPasteMutations','_initSheetChange','sheets-shape-ui.shape.type.flow-chart-or','updateContext','restore','constructor','sheets-shape-ui.shape.type.flow-chart-input-output','_getShapeAdjustPointListById','sheets-shape-ui.shape.type.smiley-face','_isImagePointerDown','ShapeRound1RectIcon','FlowchartAlternateProcess','ActionButtonHome','ShapeSunIcon','sheets-shape-ui.toolbar.horizontalAlignMode.main','ShapeDownArrowCalloutIcon','function','next','BorderCallout3','fill','_activeTargetShapeId','fonts$','pipe','isRenderLinePointsMode','getShapeData','SolidLine','_drawingAddListener','ShapeDiamondIcon','cxnPointStrokeWidth','shapeModel','ShapeSnip1RectIcon','_openShapeEditPanel','fillImageSourceType','_insertShapes','getCurrentTypeOfUnit$','VIEW_MAIN_LEFT','1.0.0-alpha.0','Star8','renderConfig','highlighted','sheets-shape-ui.shape.type.chord','scale','some','sheets-shape-ui.shape.type.quad-arrow-callout','worldRect','ShapeFlowChartDelayIcon','OPERATION','MathMinus','ShapeNotchedRightArrowIcon','type','_registerDrawingMoveHandler','getRealBound','setPrstGeomAdjValues','_initEvents','isDrawingObject','MathPlus','getDrawingOKey','ShapeHorizontalScrollIcon','sheet.command.set-shape-text-vertical-align','ActionButtonBeginning','sheets-shape-ui.shape.type.star16','FlowChartOfflineStorage','ActionButtonDocument','sheets-shape-ui.shape.type.flow-chart-predefined-process','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','UNIVER_SHEET','sheets-shape-ui.shape.type.flow-chart-offline-storage','_disposePopups','gdRefR','ShapeHalfFrameIcon','getShapeType','sheets-shape-ui.shape.type.action-button-return','sheets-shape-ui.shape.type.can','ShapeBentArrowIcon','updateConnectionDetection','_sheetBasicShapeConnectionPointController','setOnSavingEditorData','sheets-shape-ui.shape.type.snip-round-rect','LightningBolt','_clearPopups','ang','2134ElTqsY','sheets-shape-ui.shape.type.border-callout3','dataModel','RightArrowCallout','sheets-shape-ui.shape.type.star7','DownArrowCallout','ShapeFlowChartInputOutputIcon','multiply','Sun','Star32','_connectorObjects','EllipseRibbon','getConnectionInfo','registerCommand','_findNearestConnectionSite','getBatchRemoveOp','ShapeGear6Icon','vertical','starAndBanner','ShapeLeftCircularArrowIcon','_initEditingParams','Star10','ShapeHexagonIcon','sheets-shape-ui.shape.type.up-down-arrow-callout','Arc','_baseShapeHeight','Star12','DRAWING_IMAGE','classType','#1a73e8','ShapeDonutIcon','indexOf','sheet.shape.edit.panel','_initializedShapePopupMenu','sheets-shape-ui.shape.type.ellipse-ribbon','_shapeId','getStartConnectInfo','Round2SameRect','ShapeDiagStripeIcon','ShapeCallout3Icon','setShapeData','sheets-shape-ui.shape.type.action-button-forward-next','sheets-shape-ui.shape.type.flow-chart-display','editingParams$','getConnectionRelation','334045tPDhuj','sheets-shape-ui.shape.type.rect','sheet.command.shape-doc-align','getDrawingVisible','ShapeStar4Icon','ActionButtonMovie','localToWorld','sheets-shape-ui.shape.type.round-rect','_urlImageService','applyPoint','_sidebarService','sheets-shape-ui.shape.type.wedge-round-rect-callout','#111827','getBentTypeFromPoints','sheets-shape-ui.toggleFlipV','Cube','Heart','RightArrow','CurvedConnector3','SHAPE','ShapeAccentCallout1Icon','prstGeom','syncExecuteCommand','_currentUniverService','ChartX','sheets-shape-ui.shape.type.bracket-pair','getSkeleton','getConnectionSiteList','keys','slice','_updateImageAdjValues','sheets-shape-ui.shape.type.non-isosceles-trapezoid','UpDownArrowCallout','sheets-shape-ui.align.center','_commandService','clearAdjustValue','sheets-shape-ui.align.middle','Corner','_getImagePrstGeom','isHitLine','sheet.command.set-shape-text-font-size-increase','gdRefX','ShapeActionButtonEndIcon','sheets-shape-ui.shape.type.round2-same-rect','_handleConnectedEndpointMove','DEFAULT','cxnPointFill','INSERT','makeDirty','transform','DRAWING_DOM','FlowChartInputOutput','CUT','filter','angle','PieWedge','ShapeLineIcon','sheets-shape-ui.shape.type.line-inv','sheets-shape-ui.shape.type.curved-down-arrow','CENTER','1050RkyjgM','Gear6','LEFT','ShapeCloudCalloutIcon','ShapeFolderCornerIcon','has','_getShapeInfo','sheets-shape-ui.shape.type.flow-chart-internal-storage','16310CkFrNk','preValue','name','sheets-shape-ui.shape.type.action-button-home','endArrow','_activeShapeInfo','snapToGrid','2bxUwMf','getAdjustNames','clip-','ShapeTrapezoidIcon','AlignBottomIcon','body','sheets-shape-ui.toggleFlipH','ShapeFlowChartConnectorIcon','drawWith','basicShape','_activeShapeAdjustPointList','MEDIA','disableObjectsEvent','resetCursor','ShapeActionButtonBackPreviousIcon','sheets-shape-ui.shape.type.star12','445566abikbo','setCanUseShapeClip','getTransformerByCreate','getBatchAddOp','_drawShapeText','_getShapeAdjustInfosById','_editingParams$','BlockArc','getShapePopupMenus','blockExecuteWithoutPermission','_copyInfo','sheets-shape-ui.shape.type.round2-diag-rect','ShapeDodecagonIcon','getShapeDataById','_baseShapeWidth','flipY','sheets-shape-ui.toggleTextVertical','sheet.shape.floating-toolbar','sheets-shape-ui.shape.type.chart-plus','map','sheets-shape-ui.shape.type.arc','iterator','stroke','ShapeFlowChartManualInputIcon','ActionButtonBlank','96qpNqHC','viewBound','redo','sheets-shape-ui.shape.type.corner','calculate','sheets-shape-ui.shape.type.flow-chart-offpage-connector','sheets-shape-ui.shape.type.trapezoid','sheet.command.menu-insert-shape','adjHandleStroke','COMMAND','ShapeMathNotEqualIcon','ShapeFlowChartTerminatorIcon','srcRect','setCursor','_showConnectionSites','_baseDrawingRect','RoundRect','Path','_activeShapeId','FoldedCorner','LeftCircularArrow','WedgeEllipseCallout','_shapes','_localeService','_executeConnectionCommand','_commandExecutedListener','#bcbcbc','ActionButtonHelp','unsubscribe','ShapeFlowChartOfflineStorageIcon','spaceAbove','sheets-shape-ui.shape.type.flow-chart-process','targetShapeId','_createShapeAdjustControls','cxnIndex','Snip2DiagRect','FALSE','activeSheet$','sheets-shape-ui.shape.type.up-arrow','_resetState','_isOpenedShapeEditPanel','label','ShapeFlowChartProcessIcon','CROSSHAIR','ShapeStar24Icon','univer-box-border\x20univer-px-4\x20univer-text-sm','FlowchartSort','size','getObjectIncludeInGroup','shapeData','fillImageSource','updateShapeFillImage','FlowchartManualInput','sheets-shape-ui.shape.type.action-button-movie','FlowchartCollate','shapeKey','shape-adjust-point-','registerFeaturePasteHook','sheets-shape-ui.shape.type.math-multiply','ShapeFrameIcon','ShapeCallout1Icon','src','ShapeParallelogramIcon','max','MathDivide','_sheetPermissionCheckController','getShapeTextData','UpArrow','sheets-shape-ui.config','BracePair','Medium','ShapeRibbonIcon','_closeShapeEditPanel','paragraphStyle','subscribe','sheets-shape-ui.shape.type.snip2-same-rect','ShapeQuadArrowCalloutIcon','onload','ActionButtonBackPrevious','sheets-shape-ui.shape.type.uturn-arrow','VIEW_MAIN','FlowchartDelay','ShapeUpArrowCalloutIcon','VIEW_MAIN_TOP','equationShape','DiagStripe','ShapeRightBraceIcon','sheet.shape.text.float-menu','object','pluginName','onTransformChange$','ShapeNonIsoscelesTrapezoidIcon','registerRenderModule','CornerTabs','_shapeService','getConnectorLinePoints','getImageSourceCache','sheets-shape-ui.shape.type.ellipse','sheets-shape-ui.shape.type.curved-connector3-arrow2','offsetY','_sheetSkeletonService','visible','worldPoints','FORMAT','_baseHeight','get','_registerShapeMenu','sheets-shape-ui.shape.type.star8','changeShapeType','ShapeStar16Icon','_clearConnectionSites','sheets-shape-ui.shape.type.wedge-ellipse-callout','getAllUnitsForType','ShapeLeftArrowCalloutIcon','disposeWithMe','_generatePasteMutations','Arrow','_getSceneAndTransformerByDrawingSearch','sheets-shape-ui.shape.type.brace-pair','EllipseRibbon2','getMatrix','isRender','sheets-shape-ui.shape.type.double-wave','START','open','ShapeFlowChartPunchedTapeIcon','sheets-shape-ui.shape.type.pentagon','resize','URL','_baseShapeTop','_moveConnectorWithShape','sheets-shape-ui.shape.type.chart-x','ShapeRtTriangleIcon','ShapeSquareTabsIcon','initShapePopupMenu','version','Star24','ShapeNoSmokingIcon','_isStartConnectorPoint','_init','startConnectionDetection','onDblclick$','subUnitId','PictureFill','getDrawingData','sheets-shape-ui.shape.type.callout1','setAdjustValueByName','_adjName','ShapeRectIcon','Dodecagon','DRAWING_SHAPE','_transformCalculateSrcRect','_clearShapeConnectorHandlerObjects'];_0x415e=function(){return _0x26e166;};return _0x415e();}let Q=class extends _0x2d969b{constructor(_0x4962a5,_0x5dc2be,_0x10e639,_0x906b2b,_0x4233ee,_0x1b3ab6,_0x1cbc0e,_0x12bcbd,_0x396a0d,_0x590f57,_0x5dd970){const _0x418d51=_0x1e4b59;super(),this[_0x418d51(0x204)]=_0x4962a5,this[_0x418d51(0x426)]=_0x5dc2be,this[_0x418d51(0x530)]=_0x10e639,this[_0x418d51(0x593)]=_0x906b2b,this[_0x418d51(0x4a7)]=_0x4233ee,this[_0x418d51(0x43e)]=_0x1b3ab6,this[_0x418d51(0x557)]=_0x1cbc0e,this[_0x418d51(0x344)]=_0x12bcbd,this[_0x418d51(0x5ed)]=_0x396a0d,this['_renderManagerService']=_0x590f57,this[_0x418d51(0x249)]=_0x5dd970,G(this,_0x418d51(0x30d),null),G(this,_0x418d51(0x465),null),G(this,_0x418d51(0x4b8),!0x1),G(this,_0x418d51(0x369),0x0),G(this,_0x418d51(0x410),new Set()),G(this,_0x418d51(0x3e1),[]),this['_initMenu'](),this[_0x418d51(0x502)](this[_0x418d51(0x204)][_0x418d51(0x3c0)](_0x45bf6b[_0x418d51(0x3df)])[_0x418d51(0x4da)](_0x25db4d=>{const _0xd25909=_0x418d51;if(!_0x25db4d){var _0x535929;(_0x535929=this[_0xd25909(0x30d)])==null||_0x535929[_0xd25909(0x301)]();return;}this[_0xd25909(0x560)](_0x25db4d);})),this[_0x418d51(0x28e)](),this[_0x418d51(0x4fa)](),this[_0x418d51(0x516)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x418d51(0x41a)][_0x418d51(0x4da)](_0x1fa8df=>{const _0x14b985=_0x418d51;_0x1fa8df&&this[_0x14b985(0x3ed)]();}));}['_initMenu'](){const _0x152e64=_0x1e4b59;this[_0x152e64(0x530)][_0x152e64(0x207)](io);}['_registerShapeMenu'](){const _0x37aa4b=_0x1e4b59;this[_0x37aa4b(0x344)][_0x37aa4b(0x26e)](_0x44ab60[_0x37aa4b(0x526)],this[_0x37aa4b(0x47f)][_0x37aa4b(0x5f7)](this)),this['_sheetCanvasPopManagerService']['registerFeatureMenuOffset'](_0x44ab60[_0x37aa4b(0x526)],0x6,0x4);}[_0x1e4b59(0x516)](){const _0x2f1fd3=_0x1e4b59;this['_univerInstanceService'][_0x2f1fd3(0x500)](_0x45bf6b[_0x2f1fd3(0x3df)])[_0x2f1fd3(0x30e)](_0x301833=>this[_0x2f1fd3(0x560)](_0x301833));}['getShapePopupMenus'](_0x8b1a3e,_0x47c7ef,_0x4c49ec,_0x4e8ff6){const _0xed6e88=_0x1e4b59;return[{'label':'sheets-shape-ui.openPanel','index':0x0,'commandId':ja['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec},'disable':_0x4e8ff6===_0x44ab60[_0xed6e88(0x44e)]},{'label':_0xed6e88(0x2b5),'index':0x1,'commandId':_0x408d74['id'],'commandParams':{'unitId':_0x8b1a3e,'drawings':[{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec,'drawingType':_0x4e8ff6}]},'disable':!0x1},{'label':_0xed6e88(0x234),'index':0x2,'commandId':Aa['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec},'disable':!0x1},{'label':_0xed6e88(0x46d),'index':0x3,'commandId':_0x4475bc['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'flipH':!0x0},'disable':!0x1},{'label':_0xed6e88(0x42a),'index':0x4,'commandId':_0x4475bc['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'flipV':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.rotateRight90','index':0x4,'commandId':_0x326f25['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'rotate':0x5a},'disable':!0x1},{'label':_0xed6e88(0x373),'index':0x4,'commandId':_0x326f25['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'rotate':-0x5a},'disable':!0x1},{'label':_0xed6e88(0x487),'index':0x4,'commandId':_0x48a6b0['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec},'disable':!0x1}];}['_getShapeInfo'](_0x29c50b,_0x377d93,_0x2f2b9b){const _0x933a78=_0x1e4b59;let _0x3cf602=this[_0x933a78(0x593)][_0x933a78(0x55d)](_0x29c50b,_0x377d93,_0x2f2b9b),_0x542d7b=this[_0x933a78(0x593)][_0x933a78(0x484)](_0x29c50b,_0x377d93,_0x2f2b9b);return _0x3cf602!==void 0x0&&_0x542d7b!==void 0x0?{'shapeData':_0x542d7b,'shapeId':_0x2f2b9b,'shapeType':_0x3cf602,'unitId':_0x29c50b,'subUnitId':_0x377d93,'version':this[_0x933a78(0x369)],'disableShapeOption':!0x1}:null;}[_0x1e4b59(0x560)](_0x587bc8){const _0x32c8de=_0x1e4b59;if(!_0x587bc8)return;let _0x1c857c=_0x587bc8[_0x32c8de(0x340)]();this['_renderManagerService'][_0x32c8de(0x45d)](_0x1c857c)&&!this[_0x32c8de(0x410)][_0x32c8de(0x45d)](_0x1c857c)&&(this['_popupMenuListener'](_0x1c857c),this['_initializedShapePopupMenu'][_0x32c8de(0x565)](_0x1c857c));}[_0x1e4b59(0x3ed)](){const _0x171b04=_0x1e4b59;this[_0x171b04(0x3e1)][_0x171b04(0x30e)](_0x447ccf=>_0x447ccf['dispose']()),this['_disposePopups'][_0x171b04(0x270)]=0x0;}[_0x1e4b59(0x2b0)](_0x8fe97){const _0x2b873b=_0x1e4b59;var _0x135812;let _0x5d6092=(_0x135812=this[_0x2b873b(0x1f0)][_0x2b873b(0x2f6)](_0x8fe97))==null?void 0x0:_0x135812[_0x2b873b(0x37d)],_0x2d570c=_0x5d6092==null?void 0x0:_0x5d6092[_0x2b873b(0x479)]();!_0x5d6092||!_0x2d570c||(this[_0x2b873b(0x502)](_0x2d570c[_0x2b873b(0x5e5)]['subscribe'](()=>{const _0x11b562=_0x2b873b;let _0x3c0abf=_0x2d570c['getSelectedObjectMap']();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x3c0abf[_0x11b562(0x4bf)]>0x1)return;let _0xf2d8cc=_0x3c0abf['values']()[_0x11b562(0x3af)]()[_0x11b562(0x35e)];if(!_0xf2d8cc)return;let _0x9ec20a=this[_0x11b562(0x557)][_0x11b562(0x3d6)](_0xf2d8cc['oKey']);if(!_0x9ec20a||_0x9ec20a[_0x11b562(0x356)]!==_0x44ab60[_0x11b562(0x526)])return;let {unitId:_0x3e67fd,subUnitId:_0x23f4a9,drawingId:_0x4feb91,drawingType:_0x174214}=_0x9ec20a,_0x181722=this[_0x11b562(0x45e)](_0x3e67fd,_0x23f4a9,_0x4feb91);if(!_0x181722)return;this['_contextService'][_0x11b562(0x325)](_0x174548,!0x0);let _0x163a76=this['_sheetCanvasPopManagerService'][_0x11b562(0x358)](_0xf2d8cc,{'componentKey':Na,'direction':_0x11b562(0x2f5),'offset':[0x0,0x8],'extraProps':{'unitId':_0x3e67fd,'subUnitId':_0x23f4a9,'drawingId':_0x4feb91,'drawingType':_0x174214,'shapeType':_0x181722[_0x11b562(0x27e)],'shapeData':_0x181722[_0x11b562(0x4c1)]}});this['_disposePopups']['push'](this[_0x11b562(0x502)](_0x163a76)),this[_0x11b562(0x557)][_0x11b562(0x5b1)]()[_0x11b562(0x34e)](_0x211df3=>_0x211df3[_0x11b562(0x294)]===_0x3e67fd&&_0x211df3[_0x11b562(0x51e)]===_0x23f4a9&&_0x211df3[_0x11b562(0x23e)]===_0x4feb91)||this[_0x11b562(0x557)][_0x11b562(0x2e1)]([{'unitId':_0x3e67fd,'subUnitId':_0x23f4a9,'drawingId':_0x4feb91}]);})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x57f)][_0x2b873b(0x4da)](()=>{const _0x5618d8=_0x2b873b;this[_0x5618d8(0x3ed)](),this[_0x5618d8(0x5ed)][_0x5618d8(0x325)](_0x174548,!0x1),this['_drawingManagerService'][_0x5618d8(0x2e1)](null);})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x2d8)]['subscribe'](()=>{this['_clearPopups']();})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x203)][_0x2b873b(0x4da)](()=>{const _0xef551f=_0x2b873b;this[_0xef551f(0x3ed)]();})));}[_0x1e4b59(0x28e)](){const _0x31d0e6=_0x1e4b59;this[_0x31d0e6(0x502)](this['_commandService'][_0x31d0e6(0x36d)](_0x3cdc59=>{const _0x52b291=_0x31d0e6;if(_0x3cdc59['id']===ja['id']){let {unitId:_0x561b20,subUnitId:_0x2e0f57,drawingId:_0x5303cd}=_0x3cdc59[_0x52b291(0x25d)];this[_0x52b291(0x369)]+=0x1,this[_0x52b291(0x465)]=this['_getShapeInfo'](_0x561b20,_0x2e0f57,_0x5303cd),this[_0x52b291(0x3ed)](),this[_0x52b291(0x3bd)]();}if(_0x3cdc59['id']===Aa['id']&&(this[_0x52b291(0x465)]=null,this[_0x52b291(0x4d8)]()),_0x3cdc59['id']===_0x34adc6['id']){let {unitId:_0xe3cce,subUnitId:_0x3861af,shapeId:_0xd5089d}=_0x3cdc59['params'];if(this[_0x52b291(0x465)]&&this[_0x52b291(0x465)][_0x52b291(0x543)]===_0xd5089d){let _0x3b49d2=this[_0x52b291(0x45e)](_0xe3cce,_0x3861af,_0xd5089d);_0x3b49d2&&(this['_shapeEditPanelVersion']+=0x1,_0x3b49d2[_0x52b291(0x517)]=this[_0x52b291(0x369)],this['_activeShapeInfo']=_0x3b49d2,this[_0x52b291(0x4b8)]&&this[_0x52b291(0x3bd)]());}}})),this['disposeWithMe'](this['_drawingManagerService'][_0x31d0e6(0x291)][_0x31d0e6(0x4da)](_0x3a231d=>{const _0x329c76=_0x31d0e6;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3a231d[_0x329c76(0x270)]===0x0){this[_0x329c76(0x465)]=null,this[_0x329c76(0x4d8)]();return;}if(_0x3a231d[_0x329c76(0x270)]===0x1&&_0x3a231d[0x0][_0x329c76(0x356)]===_0x44ab60[_0x329c76(0x526)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x329c76(0x465)]=this[_0x329c76(0x45e)](_0x3a231d[0x0][_0x329c76(0x294)],_0x3a231d[0x0][_0x329c76(0x51e)],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)])){this[_0x329c76(0x3bd)]();return;}let _0x36c280=_0x3a231d['filter'](_0x5d8818=>_0x5d8818[_0x329c76(0x356)]===_0x44ab60[_0x329c76(0x526)]);if(_0x3a231d[_0x329c76(0x270)]>0x1&&_0x36c280['length']===_0x3a231d[_0x329c76(0x270)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x329c76(0x465)]=this['_getShapeInfo'](_0x3a231d[0x0]['unitId'],_0x3a231d[0x0]['subUnitId'],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)]){this[_0x329c76(0x3bd)]();return;}}else{if(this[_0x329c76(0x369)]+=0x1,this[_0x329c76(0x465)]=this[_0x329c76(0x45e)](_0x3a231d[0x0][_0x329c76(0x294)],_0x3a231d[0x0][_0x329c76(0x51e)],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)]){this[_0x329c76(0x465)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x329c76(0x4d8)]();}));}[_0x1e4b59(0x3bd)](){const _0x4103d5=_0x1e4b59;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this[_0x4103d5(0x426)][_0x4103d5(0x50c)]({'id':Ma,'header':{'title':this[_0x4103d5(0x4a7)]['t'](_0x4103d5(0x309))},'width':0x184,'children':{'label':Ma,...this[_0x4103d5(0x465)]},'onClose':()=>{const _0x31f6e6=_0x4103d5;this[_0x31f6e6(0x557)]['focusDrawing'](null),this['_contextService'][_0x31f6e6(0x325)](_0x174548,!0x1),this[_0x31f6e6(0x30d)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x1e4b59(0x4d8)](){const _0x18d901=_0x1e4b59;this[_0x18d901(0x4b8)]=!0x1,this[_0x18d901(0x426)][_0x18d901(0x5a3)](Ma),this[_0x18d901(0x30d)]=null,this[_0x18d901(0x5ed)][_0x18d901(0x325)](_0x174548,!0x1),this['_drawingManagerService']['focusDrawing'](null);}};Q=X([Y(0x0,_0x2b0f26),Y(0x1,_0x49bdac(_0x966260)),Y(0x2,_0xca6cc4),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x10276c)),Y(0x5,_0x229c27),Y(0x6,_0xd6b9bd),Y(0x7,_0x49bdac(_0x3d2b95)),Y(0x8,_0x1b0873),Y(0x9,_0x2302c1),Y(0xa,_0x49bdac(K))],Q);var ao=_0x1e4b59(0x226),oo=_0x1e4b59(0x3c2);const so={};let co=class extends _0x2d969b{constructor(_0x4140ce,_0x2dd9be,_0x467a41,_0x18fefa,_0x588c5c,_0x5f0bb4){const _0x41ba4f=_0x1e4b59;super(),this[_0x41ba4f(0x43e)]=_0x4140ce,this[_0x41ba4f(0x1f0)]=_0x2dd9be,this[_0x41ba4f(0x557)]=_0x467a41,this[_0x41ba4f(0x433)]=_0x18fefa,this[_0x41ba4f(0x343)]=_0x588c5c,this[_0x41ba4f(0x5d2)]=_0x5f0bb4,this[_0x41ba4f(0x595)]();}['_initialize'](){const _0x3eff47=_0x1e4b59;this[_0x3eff47(0x3b8)](),this[_0x3eff47(0x4a9)](),this[_0x3eff47(0x351)]();}[_0x1e4b59(0x3b8)](){const _0x5d5521=_0x1e4b59;this['disposeWithMe'](this['_drawingManagerService'][_0x5d5521(0x553)][_0x5d5521(0x4da)](_0x17dfec=>{const _0x44a733=_0x5d5521;this[_0x44a733(0x3bf)](_0x17dfec);}));}['_commandExecutedListener'](){const _0x3020a6=_0x1e4b59;this['disposeWithMe'](this[_0x3020a6(0x43e)][_0x3020a6(0x36d)](_0x1d4bbd=>{const _0x2fbf7a=_0x3020a6;if(_0x1d4bbd['id']===_0x215d73['id']){var _0x1998e5;let {unitId:_0x78f351,subUnitId:_0x5e91dd,shapeId:_0x55e715}=_0x1d4bbd[_0x2fbf7a(0x25d)],_0x39f42b=this[_0x2fbf7a(0x505)](_0x78f351);if(_0x39f42b==null)return;let {scene:_0xe49586}=_0x39f42b,_0xb0628a=_0x79bce2({'unitId':_0x78f351,'subUnitId':_0x5e91dd,'drawingId':_0x55e715}),_0x2ae492=_0xe49586[_0x2fbf7a(0x4c0)](_0xb0628a);if(!((_0x1998e5=this[_0x2fbf7a(0x1f0)][_0x2fbf7a(0x2f6)](_0x78f351))!=null&&_0x1998e5[_0x2fbf7a(0x22c)](_0x3da40f)[_0x2fbf7a(0x436)](_0x5e91dd)))return!0x1;if(_0x2ae492)return;this['_insertShapes']([{'unitId':_0x78f351,'subUnitId':_0x5e91dd,'drawingId':_0x55e715}]);}}));}[_0x1e4b59(0x351)](){const _0x54eadf=_0x1e4b59;this[_0x54eadf(0x502)](this['_drawingManagerService'][_0x54eadf(0x2eb)]['subscribe'](_0x32b05f=>{_0x32b05f['forEach'](_0x299161=>{const _0x31bb5e=_0xa61a;let {unitId:_0x5a74f0,subUnitId:_0x4e99f4,drawingId:_0x2d82a7}=_0x299161,_0x39acb2=this[_0x31bb5e(0x557)][_0x31bb5e(0x329)](_0x299161);if(_0x39acb2==null)return;let {transform:_0x4981a5,drawingType:_0x5bc83f,srcRect:_0x79d52f,prstGeom:_0x5a6cc3}=_0x39acb2;if(_0x5bc83f!==_0x44ab60[_0x31bb5e(0x526)])return;let _0x3cb71c=this[_0x31bb5e(0x505)](_0x5a74f0);if(_0x3cb71c==null)return;let {scene:_0x3acaaf,transformer:_0x5c6415}=_0x3cb71c;if(_0x4981a5==null)return!0x0;let _0x19be8b=_0x79bce2({'unitId':_0x5a74f0,'subUnitId':_0x4e99f4,'drawingId':_0x2d82a7}),_0x209a05=_0x3acaaf[_0x31bb5e(0x4c0)](_0x19be8b);if(_0x209a05==null)return!0x0;_0x209a05[_0x31bb5e(0x5c7)](_0x79d52f),_0x209a05[_0x31bb5e(0x218)](_0x5a6cc3);});}));}[_0x1e4b59(0x4c3)](_0x38be70,_0x34399c){const _0x4c38ef=_0x1e4b59;let {unitId:_0x27b81e,subUnitId:_0x1a287,drawingId:_0x165e6f}=_0x38be70,_0x25187d=this[_0x4c38ef(0x505)](_0x27b81e);if(_0x25187d==null)return;let {scene:_0x529fe8}=_0x25187d,_0x5d7a42=_0x79bce2({'unitId':_0x27b81e,'subUnitId':_0x1a287,'drawingId':_0x165e6f}),_0x3508a0=_0x529fe8[_0x4c38ef(0x4c0)](_0x5d7a42);_0x3508a0!=null&&_0x3508a0[_0x4c38ef(0x352)](_0x34399c);}[_0x1e4b59(0x3bf)](_0x3d272c){_0x3d272c['forEach'](async _0x5dac41=>{const _0x12345=_0xa61a;var _0x1eb5fa;let {unitId:_0x5e560f,subUnitId:_0xa1b3b8}=_0x5dac41,_0x5b610c=this[_0x12345(0x505)](_0x5e560f),_0x2855f3=(_0x1eb5fa=_0x309101(this[_0x12345(0x433)],_0x5e560f))==null?void 0x0:_0x1eb5fa[_0x12345(0x51e)];if(_0x5b610c==null||_0x2855f3!==_0xa1b3b8)return;let _0x445a6a=this[_0x12345(0x557)][_0x12345(0x329)](_0x5dac41);if(_0x445a6a!=null&&_0x445a6a[_0x12345(0x356)]===_0x44ab60[_0x12345(0x526)]){if(_0x241b3b((_0x445a6a[_0x12345(0x569)]||{})[_0x12345(0x27e)])){let _0x1a5039=_0x445a6a[_0x12345(0x44d)];_0x1a5039&&(_0x445a6a['transform']={..._0x1a5039,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_drawingManagerService'][_0x12345(0x25c)]([_0x445a6a]),this[_0x12345(0x5d2)]['renderDrawingShape'](_0x445a6a,_0x5b610c[_0x12345(0x37d)]);}});}['_getSceneAndTransformerByDrawingSearch'](_0x41c431){const _0x48d88b=_0x1e4b59;if(_0x41c431==null)return;let _0x758442=this[_0x48d88b(0x1f0)]['getRenderById'](_0x41c431),_0x22016b=_0x758442==null?void 0x0:_0x758442[_0x48d88b(0x37d)];return _0x22016b==null?null:{'scene':_0x22016b,'transformer':_0x22016b[_0x48d88b(0x479)]()};}};co=X([Y(0x0,_0x229c27),Y(0x1,_0x2302c1),Y(0x2,_0xd6b9bd),Y(0x3,_0x2b0f26),Y(0x4,_0x49bdac(_0x2f32d0)),Y(0x5,_0x49bdac(Z))],co);function lo(){const _0x360617=_0x1e4b59;let _0x184213=_0x51983f(_0xd6b9bd),[_0x18f2d3,_0x233fbf]=_0x4fd01b(_0x184213[_0x360617(0x5b1)]());return _0x47891a(()=>{let _0x5e574a=_0x184213['focus$']['subscribe'](_0x4ea265=>{_0x233fbf(_0x4ea265);});return()=>{const _0x33a5bc=_0xa61a;_0x5e574a[_0x33a5bc(0x4ac)]();};},[]),_0x18f2d3[_0x360617(0x270)]===0x0?null:_0x5a567d(_0x360617(0x1fd),{'children':_0x96059a('div',{'className':_0x360617(0x4bd),'children':[_0x5a567d(_0x447bc8,{'drawings':_0x18f2d3,'hasCropper':!0x1}),_0x5a567d(_0x5d9940,{'drawings':_0x18f2d3})]})});}function uo(_0x340889){let {unitId:_0x468cad,subUnitId:_0x54cbdc,shapeId:_0x2a4d72}=_0x340889,_0x3a627c=_0x51983f(_0x229c27),_0x173793=_0x51983f(co);return _0x5a567d(_0x5e9017,{..._0x340889,'positionEditor':_0x5a567d(lo,{}),'onUpdateShapeData':(_0x377585,_0x25ccea)=>{Fa(_0x3a627c,_0x468cad,_0x54cbdc,_0x2a4d72,_0x377585,_0x25ccea);},'onUpdateLineShapeData':(_0x460914,_0x1b4059)=>{Ia(_0x3a627c,_0x468cad,_0x54cbdc,_0x2a4d72,_0x460914,_0x1b4059);},'onUpdateShapeFillImage':_0x937b01=>{const _0x19d1f5=_0xa61a;_0x173793[_0x19d1f5(0x4c3)]({'unitId':_0x468cad,'subUnitId':_0x54cbdc,'drawingId':_0x2a4d72},_0x937b01);}});}function fo(_0x12e242){const _0x365aef=_0x1e4b59;let _0x21ab4f=_0x12e242[_0x365aef(0x265)];return _0x21ab4f&&_0x365aef(0x3f1)in _0x21ab4f&&_0x21ab4f[_0x365aef(0x3f1)]?_0x21ab4f[_0x365aef(0x3f1)]:null;}function po(_0x35153b){const _0x5a3b75=_0x1e4b59;var _0x42f713,_0x30f2ee,_0x582931,_0x293c0a;let _0x15f029=(_0x42f713=fo(_0x35153b))==null?void 0x0:_0x42f713[_0x5a3b75(0x39d)],_0x1f00d2=(_0x30f2ee=_0x15f029==null||(_0x582931=_0x15f029[_0x5a3b75(0x46c)])==null||(_0x582931=_0x582931['textRuns'])==null||(_0x582931=_0x582931[0x0])==null?void 0x0:_0x582931['ts'])==null?{}:_0x30f2ee;return{..._0x15f029==null||(_0x293c0a=_0x15f029[_0x5a3b75(0x52a)])==null?void 0x0:_0x293c0a['textStyle'],..._0x1f00d2};}function mo(_0x4abd41){const _0x23fcb7=_0x1e4b59;let _0x484dd1=_0x4abd41[_0x23fcb7(0x5aa)]['extraProps'];return _0x484dd1?_0x5a567d(ho,{..._0x484dd1}):null;}function ho(_0x420973){const _0x160fc0=_0x1e4b59;var _0x27af68,_0x39045e;let _0x149af5=_0x51983f(_0x229c27),_0x1a94f6=_0x51983f(_0x10276c),_0xacbe61=_0x51983f(_0x114e41),_0x479a57=_0x51983f(_0x4c16c9),{unitId:_0x57fee2,subUnitId:_0x4cde71,drawingId:_0x4bfbc9,drawingType:_0x4d8b58,shapeType:_0x45722b}=_0x420973,[_0x5aa241,_0x4eefe9]=_0x4fd01b(_0x420973['shapeData']),[_0x17c3c6,_0x3a0ddc]=_0x4fd01b(()=>_0x479a57[_0x160fc0(0x24d)]()),_0x33da89=_0x14e766(()=>po(_0x5aa241),[_0x5aa241]),_0x373a14=_0x14e766(()=>fo(_0x5aa241),[_0x5aa241]);_0x47891a(()=>{const _0x5e7429=_0x160fc0;let _0x1f3a6d=_0x149af5[_0x5e7429(0x36d)](_0x2ef216=>{const _0x21c8e0=_0x5e7429;if(_0x2ef216['id']!==_0x34adc6['id'])return;let _0x22d9a9=_0xacbe61[_0x21c8e0(0x484)](_0x57fee2,_0x4cde71,_0x4bfbc9);_0x22d9a9&&_0x4eefe9(_0x22d9a9);});return()=>_0x1f3a6d[_0x5e7429(0x301)]();},[_0x149af5,_0x4bfbc9,_0xacbe61,_0x4cde71,_0x57fee2]),_0x47891a(()=>{const _0xa9e8cc=_0x160fc0;let _0x4ef1eb=_0x479a57[_0xa9e8cc(0x3b3)][_0xa9e8cc(0x4da)](_0x44b387=>{_0x3a0ddc(_0x44b387);});return()=>_0x4ef1eb[_0xa9e8cc(0x4ac)]();},[_0x479a57]);let _0x357336=_0x192568=>{_0x4eefe9(_0x4f8594=>({..._0x4f8594,..._0x192568}));},_0x167af8=_0x240700=>{const _0x553919=_0x160fc0;let _0x4c740d=_0x5bab21(_0x5aa241,_0x240700);Fa(_0x149af5,_0x57fee2,_0x4cde71,_0x4bfbc9,{'oldShapeData':{'shapeText':_0x5aa241[_0x553919(0x265)]}},_0x4c740d),_0x357336(_0x4c740d);},_0x5a7cc7=_0x17c3c6[_0x160fc0(0x48a)](_0x5688f4=>({'label':_0x1a94f6['t'](_0x5688f4[_0x160fc0(0x4b9)]),'value':_0x5688f4[_0x160fc0(0x35e)]}));return _0x5a567d(_0x172aab,{'shapeData':_0x5aa241,'shapeType':_0x45722b,'textStyle':{'cl':{'rgb':_0x160fc0(0x428)},..._0x33da89},'textModel':_0x373a14?{'ha':(_0x27af68=_0x373a14['ha'])==null?_0x32f1d8[_0x160fc0(0x45a)]:_0x27af68,'va':(_0x39045e=_0x373a14['va'])==null?_0x3e15ec['TOP']:_0x39045e}:null,'fontOptions':_0x5a7cc7,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x24637a,_0x48f579)=>{Fa(_0x149af5,_0x57fee2,_0x4cde71,_0x4bfbc9,_0x24637a,_0x48f579),_0x48f579&&_0x357336(_0x48f579);},'onUpdateText':_0x167af8,'onOpenPanel':()=>{const _0x19c7ce=_0x160fc0;_0x149af5[_0x19c7ce(0x361)](ja['id'],{'unitId':_0x57fee2,'subUnitId':_0x4cde71,'drawingId':_0x4bfbc9});},'onDelete':()=>{const _0x215978=_0x160fc0;_0x149af5[_0x215978(0x361)](_0x408d74['id'],{'unitId':_0x57fee2,'drawings':[{'unitId':_0x57fee2,'subUnitId':_0x4cde71,'drawingId':_0x4bfbc9,'drawingType':_0x4d8b58}]});}});}const go=_0xa99130(()=>{const _0x25059a=_0x1e4b59;let _0x4cd8b6=_0x51983f(K),_0x4d6d3a=_0x51983f(_0x114e41),_0x799db2=_0x51983f(_0xd6b9bd),_0x1dd560=_0x51983f(_0x229c27);return _0x5a567d(_0x363eb1,{'adapter':_0x14e766(()=>({'getShapeModel':(_0x32e0dd,_0x46bdd5,_0x350a4b)=>_0x4d6d3a[_0x25059a(0x58f)](_0x32e0dd,_0x46bdd5,_0x350a4b),'getDrawingTransform':(_0xc5d09b,_0x485ae6,_0x16d2ac)=>{const _0x45678f=_0x25059a;let _0x1e8261=_0x799db2[_0x45678f(0x329)]({'unitId':_0xc5d09b,'subUnitId':_0x485ae6,'drawingId':_0x16d2ac});return _0x1e8261==null?void 0x0:_0x1e8261[_0x45678f(0x44d)];},'updateShapeText':({unitId:_0x353659,subUnitId:_0x274acd,shapeId:_0x5531ff,shapeText:_0x4bb14d,oldShapeText:_0x405d5a})=>{const _0x2d776a=_0x25059a;_0x1dd560[_0x2d776a(0x361)](q['id'],{'unitId':_0x353659,'subUnitId':_0x274acd,'shapeId':_0x5531ff,'shapeData':{'shapeText':_0x4bb14d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x405d5a}}});}}),[_0x1dd560,_0x799db2,_0x4d6d3a]),'editingService':_0x4cd8b6,'editorUnitId':Pa,'positionOptions':_0x14e766(()=>({'viewportKeys':{'main':_0x27ee17[_0x25059a(0x4e0)],'leftTop':_0x27ee17['VIEW_MAIN_LEFT_TOP'],'top':_0x27ee17[_0x25059a(0x4e3)],'left':_0x27ee17[_0x25059a(0x3c1)]},'getSkeleton':(_0x102425,_0x1e9c00)=>{const _0x45c6ec=_0x25059a;var _0x3d66fb,_0x3dcb8f;return(_0x3d66fb=(_0x3dcb8f=_0x102425[_0x45c6ec(0x22c)](_0x3da40f)[_0x45c6ec(0x324)](_0x1e9c00['subUnitId']))==null?void 0x0:_0x3dcb8f[_0x45c6ec(0x398)])==null?null:_0x3d66fb;}}),[]),'verticalAlignCommandId':J['id']});});let _o=class extends _0x2d969b{constructor(_0x2fef64,_0x72b6a0){const _0x90e8dc=_0x1e4b59;super(),this[_0x90e8dc(0x2ba)]=_0x2fef64,this['_iconManager']=_0x72b6a0,this[_0x90e8dc(0x304)](),this['_registerComponents']();}[_0x1e4b59(0x304)](){const _0x3948db=_0x1e4b59;this[_0x3948db(0x502)](this[_0x3948db(0x27d)][_0x3948db(0x567)]({'ShapeAccentBorderCallout1Icon':_0x5a7718,'ShapeAccentBorderCallout2Icon':_0x5cca02,'ShapeAccentBorderCallout3Icon':_0x3b9a36,'ShapeAccentCallout1Icon':_0x49f470,'ShapeAccentCallout2Icon':_0x3d20a3,'ShapeAccentCallout3Icon':_0x1ff446,'ShapeActionButtonBackPreviousIcon':_0x473d8e,'ShapeActionButtonBeginningIcon':_0x441b77,'ShapeActionButtonBlankIcon':_0x4939c2,'ShapeActionButtonDocumentIcon':_0x3d8b20,'ShapeActionButtonEndIcon':_0x42373f,'ShapeActionButtonForwardNextIcon':_0x1f8a92,'ShapeActionButtonHelpIcon':_0x1e608b,'ShapeActionButtonHomeIcon':_0x40d9db,'ShapeActionButtonInformationIcon':_0x38a03f,'ShapeActionButtonMovieIcon':_0x200da6,'ShapeActionButtonReturnIcon':_0x322990,'ShapeActionButtonSoundIcon':_0x5295a8,'ShapeArcIcon':_0x1d3ba6,'ShapeBentArrowIcon':_0x4e4162,'ShapeBentConnector3Arrow1Icon':_0x53f538,'ShapeBentConnector3Arrow2Icon':_0x34a528,'ShapeBentConnector3Icon':_0x464758,'ShapeBentUpArrowIcon':_0x13f6c9,'ShapeBevelIcon':_0x50738e,'ShapeBlockArcIcon':_0x445d9c,'ShapeBorderCallout1Icon':_0x399257,'ShapeBorderCallout2Icon':_0x482eda,'ShapeBorderCallout3Icon':_0x5a2d28,'ShapeBracePairIcon':_0x257d04,'ShapeBracketPairIcon':_0xdb09ca,'ShapeCallout1Icon':_0x1aba50,'ShapeCallout2Icon':_0x2a373c,'ShapeCallout3Icon':_0x2887b4,'ShapeCanIcon':_0x2f6d61,'ShapeChartPlusIcon':_0xfb1cc5,'ShapeChartStarIcon':_0x2affb6,'ShapeChartXIcon':_0x14ee9a,'ShapeChevronIcon':_0x49f4b9,'ShapeChordIcon':_0x377a34,'ShapeCircularArrowIcon':_0xd6b70d,'ShapeCloudCalloutIcon':_0x581f3b,'ShapeCloudIcon':_0x32a944,'ShapeCornerIcon':_0x3c870a,'ShapeCornerTabsIcon':_0x524ca2,'ShapeCubeIcon':_0x353482,'ShapeCurvedConnector3Arrow1Icon':_0x95af42,'ShapeCurvedConnector3Arrow2Icon':_0x5e0643,'ShapeCurvedConnector3Icon':_0x30677f,'ShapeCurvedDownArrowIcon':_0x42a44b,'ShapeCurvedLeftArrowIcon':_0x3c4d5b,'ShapeCurvedRightArrowIcon':_0x3b7296,'ShapeCurvedUpArrowIcon':_0xf4325a,'ShapeDecagonIcon':_0x1f3d9a,'ShapeDiagStripeIcon':_0x8bba66,'ShapeDiamondIcon':_0x47564d,'ShapeDodecagonIcon':_0x42d141,'ShapeDonutIcon':_0x570395,'ShapeDoubleWaveIcon':_0x531569,'ShapeDownArrowCalloutIcon':_0x49cbed,'ShapeDownArrowIcon':_0x20d0db,'ShapeEllipseIcon':_0x1dc659,'ShapeEllipseRibbon2Icon':_0x502b0e,'ShapeEllipseRibbonIcon':_0x3ebfa2,'ShapeFlowChartAlternateProcessIcon':_0x1a0ef6,'ShapeFlowChartCollateIcon':_0x5aec04,'ShapeFlowChartConnectorIcon':_0x477800,'ShapeFlowChartDecisionIcon':_0x5a5356,'ShapeFlowChartDelayIcon':_0x50fb9d,'ShapeFlowChartDisplayIcon':_0x3665ee,'ShapeFlowChartDocumentIcon':_0x3f6b40,'ShapeFlowChartExtractIcon':_0xef870f,'ShapeFlowChartInputOutputIcon':_0x289147,'ShapeFlowChartInternalStorageIcon':_0x2948fb,'ShapeFlowChartMagneticDiskIcon':_0x10a1d4,'ShapeFlowChartMagneticDrumIcon':_0x3b88a0,'ShapeFlowChartMagneticTapeIcon':_0x1f2474,'ShapeFlowChartManualInputIcon':_0xdc0368,'ShapeFlowChartManualOperationIcon':_0x2e507f,'ShapeFlowChartMergeIcon':_0x589766,'ShapeFlowChartMultidocumentIcon':_0x544f54,'ShapeFlowChartOfflineStorageIcon':_0x227b33,'ShapeFlowChartOffpageConnectorIcon':_0x2d1ab2,'ShapeFlowChartOnlineStorageIcon':_0x2d35e9,'ShapeFlowChartOrIcon':_0x416f31,'ShapeFlowChartPredefinedProcessIcon':_0x1a297e,'ShapeFlowChartPreparationIcon':_0x12faa9,'ShapeFlowChartProcessIcon':_0x374757,'ShapeFlowChartPunchedCardIcon':_0x2ed3ac,'ShapeFlowChartPunchedTapeIcon':_0x19137e,'ShapeFlowChartSortIcon':_0x4ee04b,'ShapeFlowChartSummingJunctionIcon':_0x309a25,'ShapeFlowChartTerminatorIcon':_0x2b42f5,'ShapeFolderCornerIcon':_0x20b4e8,'ShapeFrameIcon':_0x3946f3,'ShapeFunnelIcon':_0x3a53f4,'ShapeGear6Icon':_0x22326d,'ShapeGear9Icon':_0x461a4b,'ShapeHalfFrameIcon':_0x2ea8f7,'ShapeHeartIcon':_0x2cdc8d,'ShapeHeptagonIcon':_0x11c0ce,'ShapeHexagonIcon':_0x595ae9,'ShapeHomePlateIcon':_0x3909af,'ShapeHorizontalScrollIcon':_0x261b89,'ShapeIrregularSeal1Icon':_0xdd4a1c,'ShapeIrregularSeal2Icon':_0x388272,'ShapeLeftArrowCalloutIcon':_0x52a9cd,'ShapeLeftArrowIcon':_0x2397bb,'ShapeLeftBraceIcon':_0x134200,'ShapeLeftBracketIcon':_0x410653,'ShapeLeftCircularArrowIcon':_0xa59228,'ShapeLeftRightArrowCalloutIcon':_0x4a4f85,'ShapeLeftRightArrowIcon':_0x52e6c5,'ShapeLeftRightCircularArrowIcon':_0x5382a2,'ShapeLeftRightRibbonIcon':_0x55686a,'ShapeLeftRightUpArrowIcon':_0x5a9443,'ShapeLeftUpArrowIcon':_0xbfb7f1,'ShapeLightningBoltIcon':_0x1d7acb,'ShapeLineIcon':_0x41e039,'ShapeLineInvIcon':_0x2babf2,'ShapeMathDivideIcon':_0x483e97,'ShapeMathEqualIcon':_0x27735f,'ShapeMathMinusIcon':_0x314194,'ShapeMathMultiplyIcon':_0x6d62d4,'ShapeMathNotEqualIcon':_0x4ce577,'ShapeMathPlusIcon':_0x3cfbef,'ShapeMoonIcon':_0x2ae464,'ShapeNoSmokingIcon':_0x3fa26a,'ShapeNonIsoscelesTrapezoidIcon':_0x3f6e4d,'ShapeNotchedRightArrowIcon':_0x4022e4,'ShapeOctagonIcon':_0x3d7e3c,'ShapeParallelogramIcon':_0x442c37,'ShapePentagonIcon':_0x1edcc1,'ShapePieIcon':_0x1b7495,'ShapePieWedgeIcon':_0x5c3afa,'ShapePlaqueIcon':_0x1c6abd,'ShapePlaqueTabsIcon':_0x457c6f,'ShapePlusIcon':_0xa0f15c,'ShapeQuadArrowCalloutIcon':_0xdfe963,'ShapeQuadArrowIcon':_0x1ea32f,'ShapeRectIcon':_0xd79c1b,'ShapeRectTextboxHorizontalIcon':_0x168013,'ShapeRectTextboxVerticalIcon':_0x1dfd66,'ShapeRibbon2Icon':_0x64c14d,'ShapeRibbonIcon':_0x1ae969,'ShapeRightArrowCalloutIcon':_0x49733c,'ShapeRightArrowIcon':_0x37c9d5,'ShapeRightBraceIcon':_0x128041,'ShapeRightBracketIcon':_0x27c6fe,'ShapeRound1RectIcon':_0x324ad2,'ShapeRound2DiagRectIcon':_0x1febd5,'ShapeRound2SameRectIcon':_0x478b4e,'ShapeRoundRectIcon':_0x40eeb0,'ShapeRtTriangleIcon':_0x409ae7,'ShapeSmileyFaceIcon':_0x541e16,'ShapeSnip1RectIcon':_0x593276,'ShapeSnip2DiagRectIcon':_0x4ce311,'ShapeSnip2SameRectIcon':_0x26cae4,'ShapeSnipRoundRectIcon':_0x3f1ec0,'ShapeSquareTabsIcon':_0x3a773c,'ShapeStar10Icon':_0x2548f6,'ShapeStar12Icon':_0x60d749,'ShapeStar16Icon':_0x272f73,'ShapeStar24Icon':_0x48e88b,'ShapeStar32Icon':_0x2b7e79,'ShapeStar4Icon':_0x3e4d6b,'ShapeStar5Icon':_0x48f7cc,'ShapeStar6Icon':_0x286548,'ShapeStar7Icon':_0x56ca36,'ShapeStar8Icon':_0x47ce15,'ShapeStraightConnector1Icon':_0x529511,'ShapeStraightConnector2Icon':_0x17ec07,'ShapeStripedRightArrowIcon':_0x58f51f,'ShapeSunIcon':_0x2361ae,'ShapeSwooshArrowIcon':_0x22ef17,'ShapeTeardropIcon':_0x4336be,'ShapeTrapezoidIcon':_0x221518,'ShapeTriangleIcon':_0x156e0c,'ShapeUpArrowCalloutIcon':_0x374b2f,'ShapeUpArrowIcon':_0x2551b1,'ShapeUpDownArrowCalloutIcon':_0xb61e52,'ShapeUpDownArrowIcon':_0x2858fa,'ShapeUturnArrowIcon':_0x13996a,'ShapeVerticalScrollIcon':_0xe712a,'ShapeWaveIcon':_0x1b14b2,'ShapeWedgeEllipseCalloutIcon':_0xabce82,'ShapeWedgeRectCalloutIcon':_0x4641d8,'ShapeWedgeRoundRectCalloutIcon':_0x3eaa18}));}['_registerComponents'](){const _0x149fb1=_0x1e4b59;this[_0x149fb1(0x502)](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](Ma,uo)),this['disposeWithMe'](this[_0x149fb1(0x2ba)]['register']($a,no)),this['disposeWithMe'](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](_0x2cb1a7,to)),this[_0x149fb1(0x502)](this['_componentManager']['register'](Na,mo)),this[_0x149fb1(0x502)](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](_0x149fb1(0x2c4),go));}};_o=X([Y(0x0,_0x49bdac(_0x30b3f7)),Y(0x1,_0x49bdac(_0x5b7817))],_o);let vo=class extends _0x2d969b{constructor(_0x2f5cee,_0x4c1bab,_0x11e7cd,_0x13d09d,_0xae3e12){const _0x373076=_0x1e4b59;super(),this[_0x373076(0x30c)]=_0x2f5cee,this[_0x373076(0x557)]=_0x4c1bab,this[_0x373076(0x1f0)]=_0x11e7cd,this['_univerInstanceService']=_0x13d09d,this['_imageShapeClipController']=_0xae3e12,G(this,_0x373076(0x539),null),G(this,_0x373076(0x289),null),G(this,'_subUnitId',null),G(this,_0x373076(0x201),void 0x0),G(this,'_shapes',[]),G(this,_0x373076(0x2fb),0x0),G(this,_0x373076(0x275),0x0),G(this,'_baseWidth',0x0),G(this,_0x373076(0x4f8),0x0),G(this,_0x373076(0x564),!0x1),G(this,_0x373076(0x25e),void 0x0),G(this,_0x373076(0x5c9),void 0x0),G(this,'_adjHandlerPointerMove',void 0x0),G(this,_0x373076(0x360),void 0x0),G(this,_0x373076(0x3a7),!0x1),this[_0x373076(0x579)](),this[_0x373076(0x31a)]();}[_0x1e4b59(0x547)](){this['_clearControls']();}[_0x1e4b59(0x5f4)](){const _0x30cbf9=_0x1e4b59;this[_0x30cbf9(0x2a0)](),this['_createControls'](!0x0);}[_0x1e4b59(0x5a2)](_0x59a7f7,_0x48a1e5,_0x17f33f,_0x4476fd){const _0x44c347=_0x1e4b59;let _0x5de8c7=_0x59a7f7;if(!(_0x5de8c7===_0x4d29db[_0x44c347(0x297)]||_0x59a7f7===_0x44c347(0x2d7)))try{let _0x3c2b1e=new _0x32ec93(_0x5de8c7,'clip-adj-'+_0x59a7f7);return _0x4476fd&&_0x3c2b1e[_0x44c347(0x417)]({'adjustValues':_0x4476fd},!0x0),_0x3c2b1e[_0x44c347(0x3a1)]({'width':_0x48a1e5,'height':_0x17f33f}),_0x3c2b1e;}catch{return;}}[_0x1e4b59(0x31b)](_0x2fb6d4,_0x4bcd7d,_0x11a204){const _0x26432d=_0x1e4b59;let _0x5015c6={'unitId':_0x2fb6d4,'subUnitId':_0x4bcd7d,'drawingId':_0x11a204},_0x3c21fb=this[_0x26432d(0x557)][_0x26432d(0x329)](_0x5015c6);if(!(!_0x3c21fb||_0x3c21fb['drawingType']!==_0x44ab60[_0x26432d(0x40a)]))return _0x3c21fb;}['_getImagePrstGeom'](_0x71153b,_0x569dc7,_0x1024a5){const _0x35b932=_0x1e4b59;let _0x233c0b=this[_0x35b932(0x1f0)][_0x35b932(0x2f6)](_0x71153b);if(!_0x233c0b)return;let {scene:_0x895ae4}=_0x233c0b,_0x237f0d=_0x79bce2({'unitId':_0x71153b,'subUnitId':_0x569dc7,'drawingId':_0x1024a5}),_0x3331ad=_0x895ae4['getObject'](_0x237f0d);if(_0x3331ad instanceof _0x3a684b){let _0x52ec55=_0x3331ad[_0x35b932(0x431)];if(_0x52ec55)return{'prstGeom':_0x52ec55,'adjustValues':_0x3331ad[_0x35b932(0x267)]};}}[_0x1e4b59(0x37e)](_0x5c7ede=!0x1){const _0x4e68e9=_0x1e4b59;if(!this[_0x4e68e9(0x289)]||!this['_subUnitId']||!this['_activeImageId'])return;let _0x369050=this['_renderManagerService']['getRenderById'](this[_0x4e68e9(0x289)]);if(!_0x369050||!_0x369050[_0x4e68e9(0x22c)](_0x3da40f)[_0x4e68e9(0x300)]())return;let {scene:_0x24ad36}=_0x369050,_0x42f105=this[_0x4e68e9(0x31b)](this['_unitId'],this[_0x4e68e9(0x2d9)],this['_activeImageId']);if(!_0x42f105)return;let {transform:_0x499a58}=_0x42f105;if(!_0x499a58)return;let {left:_0x3f9ba4,top:_0x166c71,width:_0x37e8b3,height:_0x118231,flipX:_0x2ea191,flipY:_0x5cf9e4,angle:_0x4df0df=0x0}=_0x499a58;if(_0x3f9ba4===void 0x0||_0x166c71===void 0x0)return;let _0xb99716=this[_0x4e68e9(0x442)](this['_unitId'],this[_0x4e68e9(0x2d9)],this[_0x4e68e9(0x539)]);if(!_0xb99716)return;if(_0x5c7ede){let _0x865852=this[_0x4e68e9(0x5a2)](_0xb99716[_0x4e68e9(0x431)],_0x37e8b3||0x0,_0x118231||0x0,_0xb99716[_0x4e68e9(0x2a4)]);if(!_0x865852)return;this[_0x4e68e9(0x201)]=_0x865852['getDrawingPoints']();}let _0x5d53e2=this['_activeAdjustPointList'];if(!(!_0x5d53e2||_0x5d53e2[_0x4e68e9(0x270)]===0x0))for(let _0x269a1e=0x0;_0x269a1e<_0x5d53e2[_0x4e68e9(0x270)];_0x269a1e++){let _0xb64ef6=_0x5d53e2[_0x269a1e],_0x48b19f=_0xb64ef6['x'],_0x126146=_0xb64ef6['y'];if(_0x2ea191&&(_0x48b19f=(_0x37e8b3||0x0)-_0x48b19f),_0x5cf9e4&&(_0x126146=(_0x118231||0x0)-_0x126146),_0x4df0df!==0x0){let _0xb1f975=(_0x37e8b3||0x0)/0x2,_0x5dae6e=(_0x118231||0x0)/0x2,_0x5d0980=_0x4df0df*Math['PI']/0xb4,_0x578f26=Math[_0x4e68e9(0x33d)](_0x5d0980),_0x43abcc=Math[_0x4e68e9(0x34d)](_0x5d0980),_0x2b8876=_0x48b19f-_0xb1f975,_0x347530=_0x126146-_0x5dae6e;_0x48b19f=_0xb1f975+(_0x2b8876*_0x578f26-_0x347530*_0x43abcc),_0x126146=_0x5dae6e+(_0x2b8876*_0x43abcc+_0x347530*_0x578f26);}let _0x2e63e9={'x':_0x48b19f,'y':_0x126146,'adjName':_0xb64ef6[_0x4e68e9(0x23c)]};this[_0x4e68e9(0x532)](_0x24ad36,_0x2e63e9,_0x2e63e9[_0x4e68e9(0x23c)],_0x3f9ba4,_0x166c71,this[_0x4e68e9(0x289)],this[_0x4e68e9(0x2d9)]);}}['_addControl'](_0x457a4a,_0x1e2c84,_0x236fdd,_0x50a77d,_0x2d0694,_0x2b8b15,_0x1aae40){const _0x39f8eb=_0x1e4b59;if(!this[_0x39f8eb(0x539)])return;let _0x1d548b='image-clip-adjust-point-'+this[_0x39f8eb(0x539)]+'-'+_0x236fdd,_0x385115=_0x457a4a[_0x39f8eb(0x4c0)](_0x1d548b);if(_0x385115){_0x385115['transformByState']({'left':_0x1e2c84['x']+_0x50a77d-_0xf02888[_0x39f8eb(0x535)],'top':_0x1e2c84['y']+_0x2d0694-_0xf02888[_0x39f8eb(0x535)]});return;}let _0x3cbad9=new Va(_0x1d548b,{'left':_0x1e2c84['x']+_0x50a77d-_0xf02888[_0x39f8eb(0x535)],'top':_0x1e2c84['y']+_0x2d0694-_0xf02888[_0x39f8eb(0x535)],'adjName':_0x236fdd,'shapeId':this[_0x39f8eb(0x539)],'unitId':_0x2b8b15,'subUnitId':_0x1aae40,'width':_0xf02888['adjHandleSize']+0x8,'height':_0xf02888['adjHandleSize']+0x8,'zIndex':_0x11e46b+0x1,'evented':!0x0});this['_shapes']['push'](_0x3cbad9),this[_0x39f8eb(0x2be)](_0x3cbad9,_0x457a4a,_0x236fdd),_0x457a4a['addObject'](_0x3cbad9,_0x11e46b+0x1);}[_0x1e4b59(0x2a0)](){const _0x3658bb=_0x1e4b59;this[_0x3658bb(0x4a6)]['length']!==0x0&&(this[_0x3658bb(0x4a6)][_0x3658bb(0x30e)](_0x35ab81=>_0x35ab81[_0x3658bb(0x301)]()),this[_0x3658bb(0x4a6)]=[]);}[_0x1e4b59(0x52e)](_0x155d27,_0x166f41){const _0x5a2c29=_0x1e4b59;var _0x4e381f;let _0x194194={'x':0x0,'y':0x0},_0x5c998e=this['_renderManagerService'][_0x5a2c29(0x2f6)](_0x155d27);if(!_0x5c998e||!_0x5c998e[_0x5a2c29(0x22c)](_0x3da40f)[_0x5a2c29(0x436)](_0x166f41))return _0x194194;let _0x3fc94a=_0x5c998e['with'](_0x3a611d),_0x218f98=_0x3fc94a==null?void 0x0:_0x3fc94a['getCurrentScrollState']();if(!_0x218f98)return _0x194194;let _0x38aa06=(_0x4e381f=this[_0x5a2c29(0x204)][_0x5a2c29(0x551)](_0x155d27))==null?void 0x0:_0x4e381f[_0x5a2c29(0x1f3)](_0x166f41);if(!_0x38aa06)return _0x194194;let _0x53dc9b=_0x30fe0a(_0x218f98[_0x5a2c29(0x338)],_0x218f98[_0x5a2c29(0x33b)],_0x5c998e[_0x5a2c29(0x37d)],_0x38aa06);return _0x53dc9b?{'x':_0x53dc9b[_0x5a2c29(0x342)],'y':_0x53dc9b[_0x5a2c29(0x2ef)]}:_0x194194;}[_0x1e4b59(0x394)](_0xa1d9fd,_0x576c8f){const _0x14d945=_0x1e4b59;var _0x25f416,_0x51b31a;let _0x136d92=(_0x25f416=this[_0x14d945(0x204)][_0x14d945(0x551)](_0xa1d9fd))==null?void 0x0:_0x25f416[_0x14d945(0x1f3)](_0x576c8f);return(_0x51b31a=_0x136d92==null?void 0x0:_0x136d92[_0x14d945(0x366)]())==null?0x1:_0x51b31a;}['_attachAdjustEvent'](_0x3bc100,_0x237efc,_0x3fd5e4){const _0x8eef96=_0x1e4b59;this['disposeWithMe'](_0x38994f(_0x3bc100[_0x8eef96(0x5ca)][_0x8eef96(0x573)]((_0x420348,_0x104f0e)=>{const _0x136060=_0x8eef96;var _0x5195f4,_0x15e869,_0x790cdf;let {unitId:_0x4969e4,subUnitId:_0x46d154,drawingId:_0x49a632}=_0x3bc100['getDrawingSearch'](),_0x4390a4=this[_0x136060(0x31b)](_0x4969e4,_0x46d154,_0x49a632);if(!(_0x4390a4!=null&&_0x4390a4['transform']))return;let {left:_0x2933ec,top:_0x5cd579,width:_0x86f3f3,height:_0x2468bf}=_0x4390a4['transform'];this[_0x136060(0x2fb)]=_0x2933ec||0x0,this[_0x136060(0x275)]=_0x5cd579||0x0,this[_0x136060(0x2e0)]=_0x86f3f3||0x0,this['_baseHeight']=_0x2468bf||0x0;let _0x6d0546=!!((_0x5195f4=_0x4390a4[_0x136060(0x44d)])!=null&&_0x5195f4['flipX']),_0x3936f5=!!((_0x15e869=_0x4390a4['transform'])!=null&&_0x15e869[_0x136060(0x486)]),_0x3e9b57=((_0x790cdf=_0x4390a4['transform'])==null?void 0x0:_0x790cdf[_0x136060(0x452)])||0x0,_0x13eccd=this[_0x136060(0x442)](_0x4969e4,_0x46d154,_0x49a632);if(!_0x13eccd)return;let _0x1ac304=this[_0x136060(0x5a2)](_0x13eccd[_0x136060(0x431)],this['_baseWidth'],this['_baseHeight'],_0x13eccd['adjustValues']);if(!_0x1ac304||(this[_0x136060(0x5c9)]=_0x1ac304,this['_activeAdjustInfo']=_0x1ac304[_0x136060(0x5fa)](_0x3fd5e4),!this['_activeAdjustInfo']))return;this[_0x136060(0x564)]=!0x0,_0x237efc[_0x136060(0x473)]();let _0x5b5773=_0x13eccd[_0x136060(0x431)];this[_0x136060(0x5dd)]=_0x237efc['onPointerMove$'][_0x136060(0x573)]((_0x56bd80,_0x73112c)=>{const _0x700960=_0x136060;if(!this[_0x700960(0x564)])return;let {offsetX:_0x272193,offsetY:_0x49adf9}=_0x56bd80,_0x321a81=this[_0x700960(0x25e)];if(!this[_0x700960(0x5c9)]||!_0x321a81)return;_0x237efc[_0x700960(0x473)](),_0x237efc[_0x700960(0x49d)](_0x3f8d29[_0x700960(0x4bb)]);let _0x280700={'left':0x0,'top':0x0,'width':this[_0x700960(0x2e0)],'height':this[_0x700960(0x4f8)]},_0x30f040=this['_getScrollInfo'](_0x4969e4,_0x46d154),_0x35c3f4=this[_0x700960(0x394)](_0x4969e4,_0x46d154),_0x5ca3c0=_0x272193/_0x35c3f4+_0x30f040['x']-this[_0x700960(0x2fb)],_0x506ebb=_0x49adf9/_0x35c3f4+_0x30f040['y']-this['_baseTop'];if(_0x3e9b57!==0x0){let _0x379cdf=this[_0x700960(0x2e0)]/0x2,_0x10df2c=this[_0x700960(0x4f8)]/0x2,_0x1873b8=_0x3e9b57*Math['PI']/0xb4,_0x11b936=Math['cos'](_0x1873b8),_0x5cc962=Math['sin'](_0x1873b8),_0x2e4416=_0x5ca3c0-_0x379cdf,_0x3c0b8c=_0x506ebb-_0x10df2c;_0x5ca3c0=_0x379cdf+(_0x2e4416*_0x11b936+_0x3c0b8c*_0x5cc962),_0x506ebb=_0x10df2c+(-_0x2e4416*_0x5cc962+_0x3c0b8c*_0x11b936);}_0x6d0546&&(_0x5ca3c0=this['_baseWidth']-_0x5ca3c0),_0x3936f5&&(_0x506ebb=this[_0x700960(0x4f8)]-_0x506ebb);let _0x367037=this[_0x700960(0x5c9)][_0x700960(0x2fe)](_0x280700,{'x':_0x5ca3c0,'y':_0x506ebb},_0x321a81,_0x6d0546,_0x3936f5),_0x3fe698=_0x321a81['gdRefX']||_0x321a81['gdRefY']||_0x321a81[_0x700960(0x598)]||_0x321a81[_0x700960(0x3e2)];_0x3fe698!==void 0x0&&(this[_0x700960(0x5c9)][_0x700960(0x522)](_0x3fe698,_0x367037),this['_activeShapeModel'][_0x700960(0x3a1)]({'width':this[_0x700960(0x2e0)],'height':this[_0x700960(0x4f8)]}),this[_0x700960(0x43a)](_0x4969e4,_0x46d154,_0x49a632,_0x3fe698,_0x367037),this[_0x700960(0x201)]=this['_activeShapeModel'][_0x700960(0x2bd)](),this[_0x700960(0x25e)]=this[_0x700960(0x5c9)][_0x700960(0x5fa)](_0x3fd5e4),this[_0x700960(0x37e)](),_0x73112c[_0x700960(0x288)]());}),this['_adjHandlerPointerUp']=_0x237efc[_0x136060(0x2de)][_0x136060(0x573)]((_0x5ccc3d,_0x47f1c6)=>{const _0x1ec4a3=_0x136060;if(this['_adjHandlerPointerMove'][_0x1ec4a3(0x4ac)](),this[_0x1ec4a3(0x360)][_0x1ec4a3(0x4ac)](),_0x237efc[_0x1ec4a3(0x474)](),this['_activeShapeModel']){let _0x5b1b77=this[_0x1ec4a3(0x5c9)][_0x1ec4a3(0x468)](),_0x147b37={};for(let _0x555bce of _0x5b1b77){let _0xf4e508=this[_0x1ec4a3(0x5c9)][_0x1ec4a3(0x5e8)](_0x555bce);_0xf4e508!==void 0x0&&(_0x147b37[_0x555bce]=_0xf4e508);}this['_imageShapeClipController'][_0x1ec4a3(0x27f)](_0x4969e4,_0x46d154,_0x49a632,_0x5b5773,_0x147b37);}this[_0x1ec4a3(0x25e)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x1ec4a3(0x564)]=!0x1,_0x47f1c6['stopPropagation'](),_0x237efc[_0x1ec4a3(0x2a5)]();}),_0x104f0e[_0x136060(0x288)]();})));}[_0x1e4b59(0x43a)](_0x682b09,_0x4b967e,_0x112966,_0x48add9,_0x33f761){const _0x4bbcda=_0x1e4b59;let _0x404cc0=this[_0x4bbcda(0x1f0)]['getRenderById'](_0x682b09);if(!_0x404cc0)return;let {scene:_0x2f3274}=_0x404cc0,_0x4efad7=_0x79bce2({'unitId':_0x682b09,'subUnitId':_0x4b967e,'drawingId':_0x112966}),_0x424fc2=_0x2f3274['getObject'](_0x4efad7);if(_0x424fc2 instanceof _0x3a684b){var _0x488e09;let _0x23d0ae=(_0x488e09=_0x424fc2[_0x4bbcda(0x267)])==null?{}:_0x488e09;_0x424fc2[_0x4bbcda(0x3d2)]({..._0x23d0ae,[_0x48add9]:_0x33f761}),_0x424fc2['makeDirty'](!0x0);}}[_0x1e4b59(0x31a)](){const _0x302bb8=_0x1e4b59;let _0x59975d=this[_0x302bb8(0x204)][_0x302bb8(0x3c0)](_0x45bf6b[_0x302bb8(0x3df)]);this[_0x302bb8(0x502)](_0x59975d['pipe'](_0x4ee608(_0x40e8c2=>_0x40e8c2?_0x40e8c2['activeSheet$'][_0x302bb8(0x3b4)](_0x4ee608(_0x3d4c48=>{const _0xb194f3=_0x302bb8;if(!_0x3d4c48)return _0x35918a;let _0x11f657=_0x40e8c2[_0xb194f3(0x340)](),_0x2a2f46=this[_0xb194f3(0x1f0)]['getRenderById'](_0x11f657),_0x5f3c14=_0x2a2f46==null?void 0x0:_0x2a2f46['scene'];return _0x5f3c14?_0x2b1548(_0x5f3c14):_0x35918a;})):_0x35918a))['subscribe'](_0x5eaee2=>{const _0x225807=_0x302bb8;let _0x17c29d=_0x5eaee2['getTransformerByCreate']();this[_0x225807(0x502)](_0x5eaee2[_0x225807(0x5e2)]['subscribeEvent'](()=>{const _0x3719c7=_0x225807;this[_0x3719c7(0x3a7)]&&this[_0x3719c7(0x2a0)]();})),this[_0x225807(0x502)](_0x17c29d[_0x225807(0x203)]['subscribe'](_0x196d1f=>{const _0x4d16f1=_0x225807;let {objects:_0x3d7c3f}=_0x196d1f;if(this[_0x4d16f1(0x37e)](),_0x3d7c3f!==null&&_0x3d7c3f[_0x4d16f1(0x4bf)]===0x1){let _0x4d9a83=_0x3d7c3f[_0x4d16f1(0x536)]()[_0x4d16f1(0x3af)]()[_0x4d16f1(0x35e)];_0x4d9a83 instanceof _0x3a684b&&_0x4d9a83['prstGeom']&&(this[_0x4d16f1(0x3a7)]=!0x0);}})),this['disposeWithMe'](_0x17c29d[_0x225807(0x2d8)]['subscribe'](()=>{const _0x5751f4=_0x225807;this[_0x5751f4(0x3a7)]&&this[_0x5751f4(0x2a0)]();})),this['disposeWithMe'](_0x5eaee2['onPointerUp$']['subscribeEvent'](()=>{const _0x4c3fb2=_0x225807;this[_0x4c3fb2(0x3a7)]&&(this[_0x4c3fb2(0x3a7)]=!0x1,this[_0x4c3fb2(0x37e)]());})),this['disposeWithMe'](_0x17c29d[_0x225807(0x33a)][_0x225807(0x4da)](()=>{const _0x1c93a4=_0x225807;if(this[_0x1c93a4(0x289)]&&this[_0x1c93a4(0x2d9)]&&this[_0x1c93a4(0x539)]){let _0x26e12a=this[_0x1c93a4(0x442)](this[_0x1c93a4(0x289)],this['_subUnitId'],this[_0x1c93a4(0x539)]);if(_0x26e12a){var _0x5ef81c,_0x36defe;let _0x22b75f=this[_0x1c93a4(0x31b)](this[_0x1c93a4(0x289)],this[_0x1c93a4(0x2d9)],this[_0x1c93a4(0x539)]),_0x5e5af9=(_0x22b75f==null||(_0x5ef81c=_0x22b75f[_0x1c93a4(0x44d)])==null?void 0x0:_0x5ef81c[_0x1c93a4(0x381)])||0x0,_0x5128f8=(_0x22b75f==null||(_0x36defe=_0x22b75f[_0x1c93a4(0x44d)])==null?void 0x0:_0x36defe[_0x1c93a4(0x310)])||0x0,_0x3aad71=this[_0x1c93a4(0x5a2)](_0x26e12a[_0x1c93a4(0x431)],_0x5e5af9,_0x5128f8,_0x26e12a[_0x1c93a4(0x2a4)]);_0x3aad71&&(this['_activeAdjustPointList']=_0x3aad71[_0x1c93a4(0x2bd)](),this[_0x1c93a4(0x2a0)](),this[_0x1c93a4(0x37e)](!0x0));}}}));}));}[_0x1e4b59(0x579)](){const _0xfbdf20=_0x1e4b59;this[_0xfbdf20(0x502)](this['_drawingManagerService'][_0xfbdf20(0x291)]['subscribe'](_0x48e47e=>{const _0x46b2ca=_0xfbdf20;if(_0x48e47e['length']===0x1){let _0xadf1b3=_0x48e47e[0x0];if(_0xadf1b3['drawingType']===_0x44ab60[_0x46b2ca(0x40a)]){let {unitId:_0xe29735,subUnitId:_0x57a72a,drawingId:_0x46c7df}=_0xadf1b3,_0x4dcb4b=this[_0x46b2ca(0x442)](_0xe29735,_0x57a72a,_0x46c7df);if(_0x4dcb4b){var _0xc3fe3e,_0x547411;this[_0x46b2ca(0x539)]=_0x46c7df,this[_0x46b2ca(0x289)]=_0xe29735,this[_0x46b2ca(0x2d9)]=_0x57a72a;let _0x2bc68c=this[_0x46b2ca(0x31b)](_0xe29735,_0x57a72a,_0x46c7df),_0xa8be0b=(_0x2bc68c==null||(_0xc3fe3e=_0x2bc68c['transform'])==null?void 0x0:_0xc3fe3e[_0x46b2ca(0x381)])||0x0,_0x3cc1a4=(_0x2bc68c==null||(_0x547411=_0x2bc68c['transform'])==null?void 0x0:_0x547411['height'])||0x0,_0x146e21=this[_0x46b2ca(0x5a2)](_0x4dcb4b[_0x46b2ca(0x431)],_0xa8be0b,_0x3cc1a4,_0x4dcb4b[_0x46b2ca(0x2a4)]);_0x146e21&&(this[_0x46b2ca(0x201)]=_0x146e21[_0x46b2ca(0x2bd)]()),this[_0x46b2ca(0x2a0)](),this[_0x46b2ca(0x37e)](!0x0);}else this[_0x46b2ca(0x4b7)]();}else this[_0x46b2ca(0x4b7)]();}else this[_0x46b2ca(0x4b7)]();})),this[_0xfbdf20(0x502)](this[_0xfbdf20(0x557)]['update$'][_0xfbdf20(0x4da)](_0x5c7fdb=>{const _0x4fac18=_0xfbdf20;if(_0x5c7fdb[_0x4fac18(0x270)]===0x1){let _0x55e598=_0x5c7fdb[0x0],_0x2ff55e=this[_0x4fac18(0x557)][_0x4fac18(0x329)](_0x55e598);(_0x2ff55e==null?void 0x0:_0x2ff55e['drawingType'])===_0x44ab60['DRAWING_IMAGE']&&this[_0x4fac18(0x539)]===_0x55e598['drawingId']&&(this['_clearControls'](),this[_0x4fac18(0x37e)](!0x0));}})),this[_0xfbdf20(0x502)](this[_0xfbdf20(0x557)][_0xfbdf20(0x5d9)]['subscribe'](_0x587673=>{const _0x315649=_0xfbdf20;for(let _0x46154d of _0x587673)this[_0x315649(0x539)]===_0x46154d[_0x315649(0x23e)]&&this[_0x315649(0x4b7)]();}));}['_resetState'](){const _0x2feb96=_0x1e4b59;this[_0x2feb96(0x539)]=null,this[_0x2feb96(0x289)]=null,this['_subUnitId']=null,this['_activeAdjustPointList']=void 0x0,this[_0x2feb96(0x2a0)]();}};vo=X([Y(0x1,_0xd6b9bd),Y(0x2,_0x49bdac(_0x2302c1)),Y(0x3,_0x2b0f26),Y(0x4,_0x49bdac(Za))],vo);let yo=class extends _0x2d969b{constructor(_0x400c84,_0x1e2a55,_0x71ecf3,_0x317286){const _0x437735=_0x1e4b59;super(),this['_univerInstanceService']=_0x400c84,this['_sheetInterceptorService']=_0x1e2a55,this[_0x437735(0x247)]=_0x71ecf3,this[_0x437735(0x593)]=_0x317286,this[_0x437735(0x39f)]();}[_0x1e4b59(0x39f)](){const _0x8512c=_0x1e4b59;this['disposeWithMe'](this['_sheetInterceptorService'][_0x8512c(0x28a)]({'getMutations':_0x3da65c=>{const _0x334a9a=_0x8512c;if(_0x3da65c['id']===_0x4e06c5['id']){let _0xee6da4=_0x423d93(this[_0x334a9a(0x204)],_0x3da65c[_0x334a9a(0x25d)]);if(!_0xee6da4)return{'redos':[],'undos':[]};let {unitId:_0xe7ecd2,subUnitId:_0x4c2bc8}=_0xee6da4,_0x1c66b3=this[_0x334a9a(0x247)]['getDrawingData'](_0xe7ecd2,_0x4c2bc8),_0x54543a=Object[_0x334a9a(0x536)](_0x1c66b3)[_0x334a9a(0x451)](_0x1d1aec=>_0x1d1aec[_0x334a9a(0x356)]===_0x44ab60[_0x334a9a(0x526)]);if(_0x54543a[_0x334a9a(0x270)]===0x0)return{'redos':[],'undos':[]};let _0x7ab58b=[],_0x4125ee=[];for(let _0x610287=0x0;_0x610287<_0x54543a[_0x334a9a(0x270)];_0x610287++){let _0x38237f=_0x54543a[_0x610287],_0x7311dd=this[_0x334a9a(0x593)]['getShapeModel'](_0x38237f[_0x334a9a(0x294)],_0x38237f[_0x334a9a(0x51e)],_0x38237f[_0x334a9a(0x23e)]);if(!_0x7311dd)continue;let {redo:_0x3086c1,undo:_0x3e0948,objects:_0x4a977e}=this[_0x334a9a(0x247)][_0x334a9a(0x3fe)]([_0x38237f]);_0x7ab58b[_0x334a9a(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'shapeId':_0x38237f[_0x334a9a(0x23e)]}}),_0x7ab58b[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'type':_0x1d0ecf['REMOVE'],'op':_0x3086c1,'objects':_0x4a977e}}),_0x4125ee['push']({'id':_0x279d0c['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'type':_0x1d0ecf[_0x334a9a(0x44b)],'op':_0x3e0948,'objects':_0x4a977e}}),_0x4125ee[_0x334a9a(0x350)]({'id':_0x215d73['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'shapeId':_0x38237f[_0x334a9a(0x23e)],'shapeType':_0x7311dd['getShapeType'](),'shapeData':JSON[_0x334a9a(0x245)](JSON[_0x334a9a(0x2a7)](_0x7311dd[_0x334a9a(0x3b6)]()))}});}return{'redos':_0x7ab58b,'undos':_0x4125ee};}else{if(_0x3da65c['id']===_0x316634['id']){let {unitId:_0x37d340,subUnitId:_0x37101a,targetSubUnitId:_0xa63067}=_0x3da65c[_0x334a9a(0x25d)];if(!_0x37d340||!_0x37101a||!_0xa63067)return{'redos':[],'undos':[]};let _0x351fb3=this[_0x334a9a(0x247)][_0x334a9a(0x520)](_0x37d340,_0x37101a),_0x4a3e7d=Object['values'](_0x351fb3)[_0x334a9a(0x451)](_0x2f319c=>_0x2f319c[_0x334a9a(0x356)]===_0x44ab60['DRAWING_SHAPE']);if(_0x4a3e7d[_0x334a9a(0x270)]===0x0)return{'redos':[],'undos':[]};let _0x3b776f=[],_0x43164b=[];for(let _0x145d09=0x0;_0x145d09<_0x4a3e7d[_0x334a9a(0x270)];_0x145d09++){let _0xde9861=_0x4a3e7d[_0x145d09],_0xe94e9d=this['_sheetsShapeService'][_0x334a9a(0x58f)](_0xde9861[_0x334a9a(0x294)],_0xde9861[_0x334a9a(0x51e)],_0xde9861['drawingId']);if(!_0xe94e9d)continue;let _0x2a26f5=_0x111adf(),_0x46a0de={..._0xde9861,'unitId':_0x37d340,'subUnitId':_0xa63067,'drawingId':_0x2a26f5},{redo:_0xa44344,undo:_0x40695b,objects:_0x7ab237}=this[_0x334a9a(0x247)][_0x334a9a(0x47a)]([_0x46a0de]);_0x3b776f[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'type':_0x1d0ecf[_0x334a9a(0x44b)],'op':_0xa44344,'objects':_0x7ab237}}),_0x3b776f['push']({'id':_0x215d73['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'shapeId':_0x2a26f5,'shapeType':_0xe94e9d[_0x334a9a(0x3e4)](),'shapeData':JSON[_0x334a9a(0x245)](JSON['stringify'](_0xe94e9d[_0x334a9a(0x3b6)]()))}}),_0x43164b[_0x334a9a(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'shapeId':_0x2a26f5}}),_0x43164b[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'type':_0x1d0ecf[_0x334a9a(0x269)],'op':_0x40695b,'objects':_0x7ab237}});}return{'redos':_0x3b776f,'undos':_0x43164b};}}return{'redos':[],'undos':[]};}}));}};yo=X([Y(0x0,_0x49bdac(_0x2b0f26)),Y(0x1,_0x49bdac(_0x1e0430)),Y(0x2,_0x49bdac(_0x113402)),Y(0x3,_0x49bdac(_0x114e41))],yo);let bo=class extends _0x2d969b{constructor(_0x3079b4,_0x5cb166,_0x491f1b,_0x4d46e0,_0x5a5b77){const _0x42e8ed=_0x1e4b59;super(),this[_0x42e8ed(0x30c)]=_0x3079b4,this['_shapeTextEditingService']=_0x5cb166,this['_drawingManagerService']=_0x491f1b,this['_contextService']=_0x4d46e0,this[_0x42e8ed(0x593)]=_0x5a5b77,G(this,_0x42e8ed(0x2cf),null),this[_0x42e8ed(0x3d3)](),this['_initSelection'](),this[_0x42e8ed(0x403)]();}[_0x1e4b59(0x3d3)](){const _0x43a541=_0x1e4b59;let {scene:_0xe81541}=this[_0x43a541(0x30c)];this[_0x43a541(0x502)](_0xe81541[_0x43a541(0x51d)]['subscribeEvent'](_0x212905=>{const _0x2c8e37=_0x43a541;let {offsetX:_0x2cf4c5,offsetY:_0x5e9351}=_0x212905,_0x107693=_0xe81541[_0x2c8e37(0x21a)](_0xa2893b[_0x2c8e37(0x2b6)]([_0x2cf4c5,_0x5e9351]));if(_0x107693 instanceof Ba){if(_0x241b3b(this[_0x2c8e37(0x593)]['getShapeType'](_0x107693[_0x2c8e37(0x294)],_0x107693[_0x2c8e37(0x51e)],_0x107693[_0x2c8e37(0x543)])))return;this['_shapeTextEditingService'][_0x2c8e37(0x537)]({'visible':!0x0,'unitId':_0x107693['unitId'],'subUnitId':_0x107693[_0x2c8e37(0x51e)],'shapeId':_0x107693[_0x2c8e37(0x543)],'shapeKey':_0x107693[_0x2c8e37(0x2fc)]});}}));}[_0x1e4b59(0x306)](){const _0x4b1070=_0x1e4b59;this[_0x4b1070(0x502)](this[_0x4b1070(0x557)][_0x4b1070(0x291)]['subscribe'](_0xc9f470=>{const _0x29d055=_0x4b1070;if(_0xc9f470[_0x29d055(0x270)]===0x1){let _0x3500ec=_0xc9f470[0x0],_0x46fecc=this['_drawingManagerService'][_0x29d055(0x329)](_0x3500ec);if((_0x46fecc==null?void 0x0:_0x46fecc[_0x29d055(0x356)])===_0x44ab60['DRAWING_SHAPE']){let _0x5101f4=this[_0x29d055(0x249)]['getEditing']();if((_0x5101f4==null?void 0x0:_0x5101f4[_0x29d055(0x543)])===_0x3500ec[_0x29d055(0x23e)]&&_0x5101f4[_0x29d055(0x4f5)])return;_0x241b3b(this[_0x29d055(0x593)][_0x29d055(0x3e4)](_0x3500ec[_0x29d055(0x294)],_0x3500ec[_0x29d055(0x51e)],_0x3500ec[_0x29d055(0x23e)]))&&this[_0x29d055(0x249)]['setEditing'](null);}else this['_shapeTextEditingService'][_0x29d055(0x38b)]()&&(this[_0x29d055(0x249)][_0x29d055(0x3ea)](!0x0),requestAnimationFrame(()=>{const _0x4934e5=_0x29d055;this[_0x4934e5(0x249)]['setEditing'](null);}));}else this[_0x29d055(0x249)][_0x29d055(0x38b)]()&&(this[_0x29d055(0x249)][_0x29d055(0x3ea)](!0x0),requestAnimationFrame(()=>{const _0x47ead5=_0x29d055;this[_0x47ead5(0x249)][_0x47ead5(0x537)](null);}));})),this[_0x4b1070(0x502)](this[_0x4b1070(0x557)]['remove$']['subscribe'](_0x28e01c=>{const _0x47ca00=_0x4b1070;let _0x3903f9=this[_0x47ca00(0x249)][_0x47ca00(0x38b)]();_0x3903f9&&_0x28e01c[_0x47ca00(0x3c8)](_0xdb1b4c=>_0xdb1b4c[_0x47ca00(0x23e)]===_0x3903f9[_0x47ca00(0x543)])&&this[_0x47ca00(0x249)][_0x47ca00(0x537)](null);}));}[_0x1e4b59(0x403)](){const _0x25a6d8=_0x1e4b59;this['disposeWithMe'](this[_0x25a6d8(0x249)][_0x25a6d8(0x41a)][_0x25a6d8(0x4da)](_0x4efe24=>{const _0x185394=_0x25a6d8;let {scene:_0x4bec71}=this[_0x185394(0x30c)];if(this['_lastEditingShapeKey']){let _0x8e7cf5=_0x4bec71['getObjectIncludeInGroup'](this[_0x185394(0x2cf)]);_0x8e7cf5&&_0x8e7cf5[_0x185394(0x537)](!0x1);}if(_0x4efe24){let _0x2df950=!!_0x4efe24[_0x185394(0x4f5)],_0x26cff9=_0x4bec71['getObjectIncludeInGroup'](_0x4efe24['shapeKey']);_0x26cff9&&(_0x26cff9[_0x185394(0x537)](_0x2df950),this['_lastEditingShapeKey']=_0x4efe24[_0x185394(0x4c7)]),this[_0x185394(0x5ed)][_0x185394(0x325)](_0x440c37,_0x2df950);}else this[_0x185394(0x2cf)]=null,this['_contextService']['setContextValue'](_0x440c37,!0x1);}));}};bo=X([Y(0x1,_0x49bdac(K)),Y(0x2,_0xd6b9bd),Y(0x3,_0x1b0873),Y(0x4,_0x49bdac(_0x114e41))],bo);function xo(){return _0x5a567d(_0x5ce8ef,{});}let So=class extends _0x5928a8{constructor(_0x33bdf1,_0x172264,_0x1dd1cb,_0x26abdc,_0x480878){const _0x30e90c=_0x1e4b59;super(_0x33bdf1,_0x172264,_0x1dd1cb,_0x26abdc,_0x480878,{'componentKey':_0x30e90c(0x4e7),'editorUnitId':Pa,'toolbarComponent':xo});}};So=X([Y(0x1,_0x49bdac(_0x5b4d6a)),Y(0x2,_0x49bdac(_0x5b58ae)),Y(0x3,_0x49bdac(_0x30b3f7)),Y(0x4,_0x49bdac(_0x320a6c))],So);const Co={'normal':{'fill':_0xf02888['cxnPointFill'],'stroke':_0xf02888[_0x1e4b59(0x5a8)],'strokeWidth':_0xf02888['cxnPointStrokeWidth']},'highlighted':{'fill':'#4285f4','stroke':_0x1e4b59(0x40c),'strokeWidth':0x2}};var wo=class extends _0x3596e1{constructor(_0x55a51e,_0x5e208b){const _0x4315f4=_0x1e4b59;super(_0x55a51e,_0x5e208b),G(this,_0x4315f4(0x22b),''),G(this,_0x4315f4(0x290),-0x1),G(this,'_unitId',''),G(this,_0x4315f4(0x2d9),''),G(this,'_isHighlighted',!0x1),_0x5e208b&&this[_0x4315f4(0x217)](_0x5e208b);}[_0x1e4b59(0x3fb)](){const _0x321574=_0x1e4b59;return{'unitId':this[_0x321574(0x289)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x321574(0x22b)],'cxnIndex':this[_0x321574(0x290)]};}[_0x1e4b59(0x5c8)](_0x3e8263){const _0x1a692c=_0x1e4b59;this['_isHighlighted']!==_0x3e8263&&(this[_0x1a692c(0x20f)]=_0x3e8263,this[_0x1a692c(0x44c)](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x1e4b59(0x217)](_0x5404a2){const _0x2c6840=_0x1e4b59;var _0x5e7e7f,_0x380cc4;_0x5404a2['targetShapeId']!==void 0x0&&(this[_0x2c6840(0x22b)]=_0x5404a2[_0x2c6840(0x4b0)]),_0x5404a2[_0x2c6840(0x4b2)]!==void 0x0&&(this[_0x2c6840(0x290)]=_0x5404a2[_0x2c6840(0x4b2)]),_0x5404a2['unitId']!==void 0x0&&(this['_unitId']=_0x5404a2[_0x2c6840(0x294)]),_0x5404a2[_0x2c6840(0x51e)]!==void 0x0&&(this[_0x2c6840(0x2d9)]=_0x5404a2[_0x2c6840(0x51e)]),_0x5404a2[_0x2c6840(0x23a)]!==void 0x0&&(this['_isHighlighted']=_0x5404a2[_0x2c6840(0x23a)]),this['transformByState']({'width':(_0x5e7e7f=_0x5404a2['width'])==null?_0xf02888[_0x2c6840(0x2a3)]*0x2:_0x5e7e7f,'height':(_0x380cc4=_0x5404a2[_0x2c6840(0x310)])==null?_0xf02888[_0x2c6840(0x2a3)]*0x2:_0x380cc4});}['_draw'](_0x456ecd){const _0x4b4bc9=_0x1e4b59;let _0x191026=this['_isHighlighted']?Co[_0x4b4bc9(0x3c5)]:Co['normal'];_0x2d28b6[_0x4b4bc9(0x46f)](_0x456ecd,{'radius':_0xf02888[_0x4b4bc9(0x2a3)],'fill':_0x191026[_0x4b4bc9(0x3b1)],'stroke':_0x191026[_0x4b4bc9(0x48d)],'strokeWidth':_0x191026[_0x4b4bc9(0x5bf)],'evented':!0x0});}};let To=class extends _0x2d969b{constructor(_0xba3336,_0x24f4ff,_0x332bf5,_0x1150b5){const _0x41cb51=_0x1e4b59;super(),this[_0x41cb51(0x30c)]=_0xba3336,this['_renderManagerService']=_0x24f4ff,this['_drawingManagerService']=_0x332bf5,this['_sheetsShapeService']=_0x1150b5,G(this,_0x41cb51(0x277),[]),G(this,_0x41cb51(0x3b2),null),G(this,'_highlightedSiteIndex',-0x1),G(this,'_currentScene',null),G(this,'_unitId',''),G(this,'_subUnitId',''),G(this,'_draggingConnectorId',null);}[_0x1e4b59(0x51c)](_0x1df705,_0x34c09b,_0x2600b0,_0x5d7ae4){const _0x165172=_0x1e4b59;this[_0x165172(0x5ef)]=_0x1df705,this['_unitId']=_0x34c09b,this[_0x165172(0x2d9)]=_0x2600b0,this['_draggingConnectorId']=_0x5d7ae4;}[_0x1e4b59(0x3e8)](_0x3c15cc){const _0x424d64=_0x1e4b59;if(!this[_0x424d64(0x5ef)])return null;let _0x3bcd5c=this[_0x424d64(0x211)](_0x3c15cc);return _0x3bcd5c?(this[_0x424d64(0x3b2)]!==_0x3bcd5c['shapeId']&&(this[_0x424d64(0x4fe)](),this[_0x424d64(0x49e)](_0x3bcd5c['shapeId'],_0x3bcd5c[_0x424d64(0x3bb)]),this[_0x424d64(0x3b2)]=_0x3bcd5c['shapeId']),this[_0x424d64(0x3fd)](_0x3c15cc)):(this['_activeTargetShapeId']!==null&&(this[_0x424d64(0x4fe)](),this[_0x424d64(0x3b2)]=null),null);}['endConnectionDetection'](){const _0x1a267d=_0x1e4b59;this[_0x1a267d(0x4fe)](),this['_currentScene']=null,this[_0x1a267d(0x3b2)]=null,this[_0x1a267d(0x2ac)]=-0x1,this[_0x1a267d(0x2aa)]=null;}[_0x1e4b59(0x41b)](){return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this['_highlightedSiteIndex']};}[_0x1e4b59(0x211)](_0x2f045d){const _0x5cd097=_0x1e4b59;let _0x4fca0f=this[_0x5cd097(0x557)][_0x5cd097(0x520)](this['_unitId'],this[_0x5cd097(0x2d9)]);for(let _0x50379c of Object[_0x5cd097(0x438)](_0x4fca0f)){if(_0x50379c===this[_0x5cd097(0x2aa)]||_0x4fca0f[_0x50379c][_0x5cd097(0x356)]!==_0x44ab60[_0x5cd097(0x526)])continue;let _0x108419=this[_0x5cd097(0x593)][_0x5cd097(0x58f)](this[_0x5cd097(0x289)],this[_0x5cd097(0x2d9)],_0x50379c);if(!_0x108419||_0x241b3b(_0x108419[_0x5cd097(0x3e4)]())||_0x108419[_0x5cd097(0x437)]()[_0x5cd097(0x270)]===0x0||!this['_currentScene'])continue;let _0x4e4541=_0x79bce2({'unitId':this[_0x5cd097(0x289)],'subUnitId':this[_0x5cd097(0x2d9)],'drawingId':_0x50379c}),_0x17127a=this[_0x5cd097(0x5ef)][_0x5cd097(0x4c0)](_0x4e4541);if(!_0x17127a)continue;let {left:_0x278cba,top:_0x2951ff,width:_0x46cb13,height:_0x3ec069}=_0x17127a[_0x5cd097(0x3d1)](),_0x243bc1=_0x278cba+_0x46cb13/0x2,_0x379d3d=_0x2951ff+_0x3ec069/0x2,_0x223f26=_0x17127a[_0x5cd097(0x44d)][_0x5cd097(0x508)](),_0x5ea552=new _0x2a1afe([_0x223f26[0x0],_0x223f26[0x1],_0x223f26[0x2],_0x223f26[0x3],_0x243bc1,_0x379d3d]),_0x2fead5=_0x17127a[_0x5cd097(0x54e)](),_0x2f3d62=(_0x17127a[_0x5cd097(0x391)]&&(_0x2fead5==null?void 0x0:_0x2fead5[_0x5cd097(0x40b)])===_0x168bd7[_0x5cd097(0x21d)]?_0x2fead5['ancestorTransform'][_0x5cd097(0x3f6)](_0x5ea552):_0x5ea552)[_0x5cd097(0x206)]()[_0x5cd097(0x425)](_0x2f045d),_0x472ce0=_0x46cb13/0x2,_0x6b9ec6=_0x3ec069/0x2;if(_0x2f3d62['x']>=-_0x472ce0-0x5&&_0x2f3d62['x']<=_0x472ce0+0x5&&_0x2f3d62['y']>=-_0x6b9ec6-0x5&&_0x2f3d62['y']<=_0x6b9ec6+0x5)return{'shapeId':_0x50379c,'shapeModel':_0x108419};}return null;}[_0x1e4b59(0x49e)](_0x3813be,_0x497e12){const _0x2071d9=_0x1e4b59;if(!this[_0x2071d9(0x5ef)])return;let _0x1ac5ad=_0x79bce2({'unitId':this[_0x2071d9(0x289)],'subUnitId':this[_0x2071d9(0x2d9)],'drawingId':_0x3813be}),_0x322165=this['_currentScene']['getObjectIncludeInGroup'](_0x1ac5ad);if(!_0x322165)return;let {left:_0xf0cd61,top:_0x17a98e,width:_0x47661f,height:_0x3a3df4}=_0x322165[_0x2071d9(0x3d1)](),_0x444db4=_0xf0cd61+_0x47661f/0x2,_0x1b7f63=_0x17a98e+_0x3a3df4/0x2,_0x498b31=_0x322165[_0x2071d9(0x44d)][_0x2071d9(0x508)](),_0x2bec09=new _0x2a1afe([_0x498b31[0x0],_0x498b31[0x1],_0x498b31[0x2],_0x498b31[0x3],_0x444db4,_0x1b7f63]),_0x1df29d=_0x322165[_0x2071d9(0x54e)](),_0x29ce90=_0x322165[_0x2071d9(0x391)]&&(_0x1df29d==null?void 0x0:_0x1df29d[_0x2071d9(0x40b)])===_0x168bd7[_0x2071d9(0x21d)]?_0x1df29d[_0x2071d9(0x32f)][_0x2071d9(0x3f6)](_0x2bec09):_0x2bec09;_0x497e12[_0x2071d9(0x3a1)]({'width':_0x47661f,'height':_0x3a3df4});let _0x5785a1=_0x497e12['getConnectionSiteList']();for(let _0x331bfd of _0x5785a1){let _0x2f8981=_0x331bfd['x']-_0x47661f/0x2,_0x3fa098=_0x331bfd['y']-_0x3a3df4/0x2,_0x3fa036=_0x29ce90['applyPoint']({'x':_0x2f8981,'y':_0x3fa098}),_0x3522f4=_0x3fa036['x'],_0x34b7d4=_0x3fa036['y'],_0x3346f0=new wo(_0x2071d9(0x52d)+_0x3813be+'-'+_0x331bfd[_0x2071d9(0x5da)],{'left':_0x3522f4-_0xf02888[_0x2071d9(0x2a3)],'top':_0x34b7d4-_0xf02888[_0x2071d9(0x2a3)],'targetShapeId':_0x3813be,'cxnIndex':_0x331bfd[_0x2071d9(0x5da)],'unitId':this[_0x2071d9(0x289)],'subUnitId':this[_0x2071d9(0x2d9)],'width':_0xf02888[_0x2071d9(0x2a3)]*0x2,'height':_0xf02888[_0x2071d9(0x2a3)]*0x2,'zIndex':_0x11e46b+0x2,'evented':!0x1});this[_0x2071d9(0x277)]['push'](_0x3346f0),this['_currentScene'][_0x2071d9(0x5f6)](_0x3346f0,_0x11e46b+0x2);}}[_0x1e4b59(0x3fd)](_0x573255){const _0xc77b42=_0x1e4b59;let _0x1a5c00=null,_0x3fe85b=0x1/0x0,_0x162821=null;for(let _0x24f82f of this['_connectionSiteObjects']){let _0x3c9715=_0x24f82f[_0xc77b42(0x5ec)]+_0xf02888[_0xc77b42(0x2a3)],_0x59d1f2=_0x24f82f[_0xc77b42(0x57b)]+_0xf02888[_0xc77b42(0x2a3)],_0x226fd4=_0x573255['x']-_0x3c9715,_0x182b3b=_0x573255['y']-_0x59d1f2,_0x479b15=Math[_0xc77b42(0x5ab)](_0x226fd4*_0x226fd4+_0x182b3b*_0x182b3b);_0x479b15<_0x3fe85b&&(_0x3fe85b=_0x479b15,_0x1a5c00=_0x24f82f,_0x162821={'x':_0x3c9715,'y':_0x59d1f2});}let _0x1656d4=_0x3fe85b<=0xa&&_0x1a5c00?_0x1a5c00['getConnectionInfo']()[_0xc77b42(0x4b2)]:-0x1;if(_0x1656d4!==this[_0xc77b42(0x2ac)]){for(let _0x2e433b of this[_0xc77b42(0x277)]){let _0x4846e4=_0x2e433b['getConnectionInfo']();_0x2e433b[_0xc77b42(0x5c8)](_0x4846e4[_0xc77b42(0x4b2)]===_0x1656d4);}this['_highlightedSiteIndex']=_0x1656d4;}if(_0x3fe85b<=0xa&&_0x1a5c00&&_0x162821){let _0x5f50e9=_0x1a5c00[_0xc77b42(0x3fb)](),_0x4ca06f=this[_0xc77b42(0x2ff)](_0x5f50e9[_0xc77b42(0x543)],_0x5f50e9[_0xc77b42(0x4b2)]);return{'shapeId':_0x5f50e9[_0xc77b42(0x543)],'cxnIndex':_0x5f50e9[_0xc77b42(0x4b2)],'unitId':_0x5f50e9['unitId'],'subUnitId':_0x5f50e9[_0xc77b42(0x51e)],'worldPoint':_0x162821,'angle':_0x4ca06f};}return null;}[_0x1e4b59(0x2ff)](_0x5bf8ca,_0x484e8c){const _0x43a1c1=_0x1e4b59;let _0xddffd8=this[_0x43a1c1(0x593)][_0x43a1c1(0x58f)](this[_0x43a1c1(0x289)],this[_0x43a1c1(0x2d9)],_0x5bf8ca);if(!_0xddffd8)return 0x0;let _0x2e6411=this[_0x43a1c1(0x557)][_0x43a1c1(0x329)]({'unitId':this[_0x43a1c1(0x289)],'subUnitId':this[_0x43a1c1(0x2d9)],'drawingId':_0x5bf8ca});if(!(_0x2e6411!=null&&_0x2e6411[_0x43a1c1(0x44d)]))return 0x0;let {width:_0x244d92=0x0,height:_0x5df5fb=0x0,flipX:_0x135ad2=!0x1,flipY:_0x4587b1=!0x1}=_0x2e6411[_0x43a1c1(0x44d)];_0xddffd8[_0x43a1c1(0x3a1)]({'width':_0x244d92,'height':_0x5df5fb});let _0x333676=_0xddffd8[_0x43a1c1(0x437)]()[_0x43a1c1(0x34e)](_0x36c736=>_0x36c736['index']===_0x484e8c);if(!_0x333676)return 0x0;let _0x19d090=_0x333676[_0x43a1c1(0x3ee)]/0xea60;return _0x135ad2&&(_0x19d090=0xb4-_0x19d090),_0x4587b1&&(_0x19d090=-_0x19d090),_0x19d090=(_0x19d090%0x168+0x168)%0x168,_0x19d090;}['_clearConnectionSites'](){const _0xcdd9a6=_0x1e4b59;for(let _0x366803 of this[_0xcdd9a6(0x277)])_0x366803[_0xcdd9a6(0x301)]();this[_0xcdd9a6(0x277)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x1e4b59(0x301)](){const _0x11736f=_0x1e4b59;this[_0x11736f(0x4fe)](),super[_0x11736f(0x301)]();}};To=X([Y(0x1,_0x49bdac(_0x2302c1)),Y(0x2,_0x49bdac(_0xd6b9bd)),Y(0x3,_0x49bdac(_0x114e41))],To);let Eo=class extends _0x2d969b{constructor(_0x53f775,_0xa796ea,_0x396cc5,_0xf5a9c7,_0x14f1dd){const _0x3c51c0=_0x1e4b59;super(),this[_0x3c51c0(0x4f4)]=_0x53f775,this['_sheetClipboardService']=_0xa796ea,this[_0x3c51c0(0x247)]=_0x396cc5,this[_0x3c51c0(0x4ee)]=_0xf5a9c7,this['_groupCopyPasteController']=_0x14f1dd,G(this,_0x3c51c0(0x481),void 0x0),this[_0x3c51c0(0x213)](),this['_registerGroupFeaturePasteHook']();}get[_0x1e4b59(0x5ea)](){return this['_sheetDrawingService']['getFocusDrawings']();}[_0x1e4b59(0x371)](){const _0x48609c=_0x1e4b59;this[_0x48609c(0x378)][_0x48609c(0x4c9)](({fromUnitId:_0x1184ca,fromSubUnitId:_0x31fad7,toUnitId:_0x5f7905,toSubUnitId:_0x47187e,idMap:_0x574026})=>{const _0x4b8c07=_0x48609c;let _0x5ec0a1=[],_0x2314ab=[];for(let [_0x39f834,_0x6b6494]of _0x574026[_0x4b8c07(0x242)]()){let _0x26e829=this[_0x4b8c07(0x4ee)][_0x4b8c07(0x58f)](_0x1184ca,_0x31fad7,_0x39f834);if(!_0x26e829)continue;let _0x3be126=_0x26e829[_0x4b8c07(0x3e4)](),_0x150b63=JSON[_0x4b8c07(0x245)](JSON[_0x4b8c07(0x2a7)](_0x26e829[_0x4b8c07(0x3b6)]()));if(_0x150b63[_0x4b8c07(0x228)]){var _0x14f7db,_0x1d8c13;let _0x40c94b=(_0x14f7db=_0x150b63[_0x4b8c07(0x228)][_0x4b8c07(0x5f0)])==null?void 0x0:_0x14f7db['shapeId'],_0x2e43e7=(_0x1d8c13=_0x150b63[_0x4b8c07(0x228)]['to'])==null?void 0x0:_0x1d8c13[_0x4b8c07(0x543)],_0xf2d4b4=_0x40c94b?_0x574026['has'](_0x40c94b):!0x0,_0x5d46cb=_0x2e43e7?_0x574026['has'](_0x2e43e7):!0x0;_0xf2d4b4&&_0x40c94b&&_0x150b63['relation'][_0x4b8c07(0x5f0)]?_0x150b63[_0x4b8c07(0x228)]['from']={..._0x150b63[_0x4b8c07(0x228)][_0x4b8c07(0x5f0)],'shapeId':_0x574026[_0x4b8c07(0x4f9)](_0x40c94b)}:_0x150b63['relation'][_0x4b8c07(0x5f0)]=void 0x0,_0x5d46cb&&_0x2e43e7&&_0x150b63['relation']['to']?_0x150b63[_0x4b8c07(0x228)]['to']={..._0x150b63[_0x4b8c07(0x228)]['to'],'shapeId':_0x574026[_0x4b8c07(0x4f9)](_0x2e43e7)}:_0x150b63['relation']['to']=void 0x0;}_0x5ec0a1[_0x4b8c07(0x350)]({'id':_0x215d73['id'],'params':{'unitId':_0x5f7905,'subUnitId':_0x47187e,'shapeId':_0x6b6494,'shapeType':_0x3be126,'shapeData':_0x150b63}}),_0x2314ab[_0x4b8c07(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0x5f7905,'subUnitId':_0x47187e,'shapeId':_0x6b6494}});}return{'redos':_0x5ec0a1,'undos':_0x2314ab};});}[_0x1e4b59(0x213)](){const _0x56f5ef=_0x1e4b59;this[_0x56f5ef(0x502)](this[_0x56f5ef(0x32e)][_0x56f5ef(0x390)]({'id':_0x56f5ef(0x2f2),'onBeforeCopy':(_0x52e495,_0x44ce48,_0x198fc8,_0x3be99c)=>{const _0x3eb1d6=_0x56f5ef;this['_copyInfo']=null;let _0x300f45=this['_focusedDrawings'];if(_0x300f45[_0x3eb1d6(0x270)]){let _0x2bb8dc=_0x300f45[_0x3eb1d6(0x451)](_0x2d53cc=>_0x2d53cc[_0x3eb1d6(0x356)]===_0x44ab60[_0x3eb1d6(0x526)]);if(_0x2bb8dc[_0x3eb1d6(0x270)]===0x0)return;this[_0x3eb1d6(0x481)]={'unitId':_0x52e495,'subUnitId':_0x44ce48,'copyType':_0x3be99c,'drawings':_0x2bb8dc};}else this[_0x3eb1d6(0x24a)](_0x52e495,_0x44ce48,_0x198fc8,_0x3be99c);},'onPasteCells':(_0x239e83,_0x522f16,_0x20086c,_0x185767)=>{const _0x2b0223=_0x56f5ef;if(!this[_0x2b0223(0x481)])return{'redos':[],'undos':[]};let {pasteType:_0x429e73}=_0x185767;return _0x429e73===_0x82e4b5['DEFAULT_PASTE']?this[_0x2b0223(0x503)](_0x522f16,this['_copyInfo']['copyType']===_0x2ba362[_0x2b0223(0x450)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x5c42df=>this[_0x56f5ef(0x481)]?this[_0x56f5ef(0x503)](_0x5c42df,this[_0x56f5ef(0x481)][_0x56f5ef(0x36a)]===_0x2ba362[_0x56f5ef(0x450)]):{'redos':[],'undos':[]}}));}[_0x1e4b59(0x24a)](_0x569fd8,_0x1c8c5,_0x548df1,_0x18ddb2){const _0x303562=_0x1e4b59;let _0x1342ca=this[_0x303562(0x4f4)]['getSkeleton'](_0x569fd8,_0x1c8c5);if(!_0x1342ca)return;let _0x707aa=_0x5a99f9(_0x1342ca,_0x548df1);if(!_0x707aa)return;let {startX:_0x41f240,endX:_0x32ad38,startY:_0x48227e,endY:_0x51fa58}=_0x707aa,_0x1c6e81=this[_0x303562(0x247)]['getDrawingData'](_0x569fd8,_0x1c8c5),_0x24f04a=this[_0x303562(0x5ea)][_0x303562(0x439)]();for(let [_0x5f0fe2,_0x2a9532]of Object[_0x303562(0x242)](_0x1c6e81)){if(_0x2a9532[_0x303562(0x356)]!==_0x44ab60[_0x303562(0x526)])continue;let {transform:_0x3cf14b}=_0x2a9532;if(!_0x3cf14b)continue;let {left:_0x2980fe=0x0,top:_0x1eb5aa=0x0,width:_0x3879b8=0x0,height:_0xe2fd87=0x0}=_0x3cf14b;_0x41f240<=_0x2980fe&&_0x32ad38>=_0x2980fe+_0x3879b8&&_0x48227e<=_0x1eb5aa&&_0x51fa58>=_0x1eb5aa+_0xe2fd87&&_0x24f04a['push'](_0x2a9532);}_0x24f04a[_0x303562(0x270)]>0x0&&(this[_0x303562(0x481)]={'unitId':_0x569fd8,'subUnitId':_0x1c8c5,'copyType':_0x18ddb2,'copyRange':_0x548df1,'drawings':_0x24f04a});}[_0x1e4b59(0x503)](_0x2bf96f,_0x190595){const _0x41db5b=_0x1e4b59;let {unitId:_0x5c9bea,subUnitId:_0x1fef82,range:_0x1874bc}=_0x2bf96f,_0x2dc7b0=this['_sheetSkeletonService'][_0x41db5b(0x436)](_0x5c9bea,_0x1fef82);if(!_0x2dc7b0)return{'redos':[],'undos':[]};let _0x1e634e=_0x4d5024(_0x1874bc),{unitId:_0x8e30ef,subUnitId:_0x283c8f,copyRange:_0x40f50e,drawings:_0x5352be}=this['_copyInfo'],_0x582925=this['_sheetSkeletonService'][_0x41db5b(0x436)](_0x8e30ef,_0x283c8f);if(!_0x582925)return{'redos':[],'undos':[]};let _0x49ddb1;if(!_0x40f50e){let _0x32a044=0x1/0x0,_0x5aba05=0x1/0x0;for(let _0x9c06e6 of _0x5352be){var _0x21486a;let {left:_0x138cc8=0x0,top:_0x18d3f7=0x0}=(_0x21486a=_0x9c06e6[_0x41db5b(0x44d)])==null?{}:_0x21486a;_0x138cc8<_0x32a044&&(_0x32a044=_0x138cc8),_0x18d3f7<_0x5aba05&&(_0x5aba05=_0x18d3f7);}_0x32a044!==0x1/0x0&&_0x5aba05!==0x1/0x0&&(_0x49ddb1={'left':_0x32a044,'top':_0x5aba05});}let _0x5267c0=new Map();if(!_0x190595){for(let _0x89c530 of _0x5352be)_0x5267c0[_0x41db5b(0x281)](_0x89c530[_0x41db5b(0x23e)],_0x111adf());}let _0x376fc9=[],_0x4b845d=[];for(let _0xb7e7a3 of _0x5352be){let {drawingId:_0x39f2e3,transform:_0x4a027d,sheetTransform:_0x5ade06}=_0xb7e7a3;if(!_0x4a027d||!_0x5ade06)continue;let _0x1625ba=this['_updateTransform']({'transform':_0x4a027d,'sheetTransform':_0x5ade06},{'skeleton':_0x582925,'range':_0x40f50e},{'skeleton':_0x2dc7b0,'range':_0x1e634e},_0x49ddb1);if(_0x190595){let {redos:_0x42c01a,undos:_0x32c200}=this[_0x41db5b(0x39e)]({'fromUnitId':_0x8e30ef,'fromSubUnitId':_0x283c8f,'toUnitId':_0x5c9bea,'toSubUnitId':_0x1fef82,'drawing':_0xb7e7a3,'newTransforms':_0x1625ba});_0x376fc9['push'](..._0x42c01a),_0x4b845d[_0x41db5b(0x350)](..._0x32c200);continue;}let {redos:_0x4b9a8f,undos:_0x46f22a}=this[_0x41db5b(0x2d0)]({'toUnitId':_0x5c9bea,'toSubUnitId':_0x1fef82,'drawing':_0xb7e7a3,'newTransforms':_0x1625ba,'newDrawingId':_0x5267c0[_0x41db5b(0x4f9)](_0x39f2e3),'idMap':_0x5267c0});_0x376fc9[_0x41db5b(0x350)](..._0x4b9a8f),_0x4b845d['push'](..._0x46f22a);}return{'redos':_0x376fc9,'undos':_0x4b845d};}[_0x1e4b59(0x39e)](_0x1d6e98){const _0x2667e1=_0x1e4b59;let {fromUnitId:_0x31a511,fromSubUnitId:_0x4d43a2,toUnitId:_0x12998a,toSubUnitId:_0x2f011c,drawing:_0x5bd660,newTransforms:_0x299549}=_0x1d6e98,_0x85cc73={..._0x5bd660,'unitId':_0x12998a,'subUnitId':_0x2f011c,'transform':_0x299549[_0x2667e1(0x44d)],'sheetTransform':_0x299549[_0x2667e1(0x2ea)]};if(_0x12998a===_0x31a511&&_0x2f011c===_0x4d43a2){let {redo:_0x1307bf,undo:_0x29e1b6,objects:_0x439890}=this[_0x2667e1(0x247)][_0x2667e1(0x2e7)]([_0x85cc73]);return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x312)],'op':_0x1307bf,'objects':_0x439890}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf['UPDATE'],'op':_0x29e1b6,'objects':_0x439890}}]};}else{let _0xb567b=this[_0x2667e1(0x247)][_0x2667e1(0x3fe)]([_0x5bd660]),_0xacb174=this[_0x2667e1(0x247)][_0x2667e1(0x47a)]([_0x85cc73]),_0xb64766=this[_0x2667e1(0x4ee)][_0x2667e1(0x58f)](_0x5bd660['unitId'],_0x5bd660['subUnitId'],_0x5bd660[_0x2667e1(0x23e)]);if(!_0xb64766)return{'redos':[],'undos':[]};let _0xa1b2f6=_0xb64766[_0x2667e1(0x3e4)](),_0x3f5a95=JSON[_0x2667e1(0x245)](JSON['stringify'](_0xb64766[_0x2667e1(0x3b6)]()));return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'type':_0x1d0ecf[_0x2667e1(0x269)],'op':_0xb567b[_0x2667e1(0x492)],'objects':_0xb567b[_0x2667e1(0x293)]}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'shapeId':_0x5bd660[_0x2667e1(0x23e)]}},{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x44b)],'op':_0xacb174[_0x2667e1(0x492)],'objects':_0xacb174[_0x2667e1(0x293)]}},{'id':_0x215d73['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'shapeId':_0x5bd660[_0x2667e1(0x23e)],'shapeType':_0xa1b2f6,'shapeData':_0x3f5a95}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'type':_0x1d0ecf[_0x2667e1(0x44b)],'op':_0xb567b[_0x2667e1(0x548)],'objects':_0xb567b[_0x2667e1(0x293)]}},{'id':_0x215d73['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'shapeId':_0x5bd660['drawingId'],'shapeType':_0xa1b2f6,'shapeData':_0x3f5a95}},{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x269)],'op':_0xacb174[_0x2667e1(0x548)],'objects':_0xacb174['objects']}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'shapeId':_0x5bd660[_0x2667e1(0x23e)]}}]};}}['_generateCopyPasteMutations'](_0x51f1cb){const _0x14f02e=_0x1e4b59;let {toUnitId:_0x5c308b,toSubUnitId:_0x44caf4,drawing:_0x5dac1b,newTransforms:_0xdf1173,newDrawingId:_0x17e73c,idMap:_0x72435f}=_0x51f1cb,_0x15f423={..._0x5dac1b,'unitId':_0x5c308b,'subUnitId':_0x44caf4,'drawingId':_0x17e73c,'transform':_0xdf1173[_0x14f02e(0x44d)],'sheetTransform':_0xdf1173[_0x14f02e(0x2ea)]},{redo:_0x40386c,undo:_0x6f40b7,objects:_0x3a1d39}=this['_sheetDrawingService'][_0x14f02e(0x47a)]([_0x15f423]),_0x46d715=this[_0x14f02e(0x4ee)]['getShapeModel'](_0x5dac1b[_0x14f02e(0x294)],_0x5dac1b[_0x14f02e(0x51e)],_0x5dac1b[_0x14f02e(0x23e)]);if(!_0x46d715)return{'redos':[],'undos':[]};let _0x219d3c=_0x46d715[_0x14f02e(0x3e4)](),_0x240fd6=JSON['parse'](JSON[_0x14f02e(0x2a7)](_0x46d715['getShapeData']()));if(_0x240fd6[_0x14f02e(0x228)]){var _0x370f7f,_0x502d35;let _0x201859=(_0x370f7f=_0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)])==null?void 0x0:_0x370f7f[_0x14f02e(0x543)],_0x1e5ddc=(_0x502d35=_0x240fd6['relation']['to'])==null?void 0x0:_0x502d35[_0x14f02e(0x543)],_0x4e72d9=_0x201859?_0x72435f[_0x14f02e(0x45d)](_0x201859):!0x0,_0x5830ca=_0x1e5ddc?_0x72435f['has'](_0x1e5ddc):!0x0;_0x4e72d9&&_0x201859&&_0x240fd6[_0x14f02e(0x228)]['from']?_0x240fd6['relation'][_0x14f02e(0x5f0)]={..._0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)],'shapeId':_0x72435f[_0x14f02e(0x4f9)](_0x201859)}:_0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)]=void 0x0,_0x5830ca&&_0x1e5ddc&&_0x240fd6[_0x14f02e(0x228)]['to']?_0x240fd6[_0x14f02e(0x228)]['to']={..._0x240fd6['relation']['to'],'shapeId':_0x72435f[_0x14f02e(0x4f9)](_0x1e5ddc)}:_0x240fd6[_0x14f02e(0x228)]['to']=void 0x0;}return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'type':_0x1d0ecf[_0x14f02e(0x44b)],'op':_0x40386c,'objects':_0x3a1d39}},{'id':_0x215d73['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'shapeId':_0x17e73c,'shapeType':_0x219d3c,'shapeData':_0x240fd6}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'type':_0x1d0ecf['REMOVE'],'op':_0x6f40b7,'objects':_0x3a1d39}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'shapeId':_0x17e73c}}]};}['_updateTransform'](_0x2d99ff,_0x243767,_0x4a93a4,_0xfa1d0b){const _0x3b673a=_0x1e4b59;var _0x47e97f;let {range:_0x358675,skeleton:_0x1d1443}=_0x243767,{range:_0x293c53,skeleton:_0x2beba1}=_0x4a93a4,{transform:_0xdd2eb2,sheetTransform:_0x1511f8}=_0x2d99ff,_0xa1d22c={..._0xdd2eb2};if(_0x358675){let _0x932102=_0x5a99f9(_0x1d1443,_0x358675),_0xbb3329=_0x5a99f9(_0x2beba1,_0x293c53);if(_0x932102&&_0xbb3329){var _0x4cc917,_0x325c31;let _0x4f5f7d=_0xbb3329[_0x3b673a(0x395)]-_0x932102[_0x3b673a(0x395)],_0x1526c4=_0xbb3329[_0x3b673a(0x28d)]-_0x932102[_0x3b673a(0x28d)];_0xa1d22c[_0x3b673a(0x5ec)]=((_0x4cc917=_0xa1d22c[_0x3b673a(0x5ec)])==null?0x0:_0x4cc917)+_0x4f5f7d,_0xa1d22c[_0x3b673a(0x57b)]=((_0x325c31=_0xa1d22c[_0x3b673a(0x57b)])==null?0x0:_0x325c31)+_0x1526c4;}}else{let _0x277ee2=_0x5a99f9(_0x2beba1,_0x293c53);if(_0xfa1d0b&&_0x277ee2){var _0x3e99c4,_0x11032e;let _0x1f598c=((_0x3e99c4=_0xa1d22c['left'])==null?0x0:_0x3e99c4)-_0xfa1d0b[_0x3b673a(0x5ec)],_0x5bbdd3=((_0x11032e=_0xa1d22c[_0x3b673a(0x57b)])==null?0x0:_0x11032e)-_0xfa1d0b[_0x3b673a(0x57b)];_0xa1d22c[_0x3b673a(0x5ec)]=_0x277ee2[_0x3b673a(0x395)]+_0x1f598c,_0xa1d22c[_0x3b673a(0x57b)]=_0x277ee2[_0x3b673a(0x28d)]+_0x5bbdd3;}else _0xa1d22c['left']=_0x277ee2==null?void 0x0:_0x277ee2['startX'],_0xa1d22c[_0x3b673a(0x57b)]=_0x277ee2==null?void 0x0:_0x277ee2[_0x3b673a(0x28d)];}return{'transform':_0xa1d22c,'sheetTransform':(_0x47e97f=_0x2e64cd(_0xa1d22c,_0x2beba1))==null?_0x1511f8:_0x47e97f};}};Eo=X([Y(0x0,_0x49bdac(_0x10f70c)),Y(0x1,_0x49bdac(_0x12792d)),Y(0x2,_0x49bdac(_0x113402)),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x4e32fe))],Eo);var Do=class extends _0x3596e1{constructor(_0x37d5c4,_0xb1e68d){const _0x17a0bd=_0x1e4b59;super(_0x37d5c4,_0xb1e68d),G(this,_0x17a0bd(0x412),null),G(this,'_index',null),G(this,_0x17a0bd(0x289),null),G(this,_0x17a0bd(0x2d9),null),G(this,_0x17a0bd(0x51a),!0x1),_0xb1e68d&&this[_0x17a0bd(0x217)](_0xb1e68d);}[_0x1e4b59(0x2ed)](){const _0xa9a0bd=_0x1e4b59;return{'unitId':this[_0xa9a0bd(0x289)],'subUnitId':this[_0xa9a0bd(0x2d9)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x4655d5){const _0x45840d=_0x1e4b59;_0x4655d5[_0x45840d(0x543)]!==void 0x0&&(this[_0x45840d(0x412)]=_0x4655d5[_0x45840d(0x543)]),_0x4655d5[_0x45840d(0x294)]!==void 0x0&&(this[_0x45840d(0x289)]=_0x4655d5[_0x45840d(0x294)]),_0x4655d5[_0x45840d(0x51e)]!==void 0x0&&(this['_subUnitId']=_0x4655d5[_0x45840d(0x51e)]),_0x4655d5[_0x45840d(0x587)]!==void 0x0&&(this[_0x45840d(0x51a)]=_0x4655d5[_0x45840d(0x587)]),this['transformByState']({'width':_0x4655d5[_0x45840d(0x381)],'height':_0x4655d5[_0x45840d(0x310)]});}[_0x1e4b59(0x21b)](_0x29b802){const _0x35c62b=_0x1e4b59;_0x2d28b6[_0x35c62b(0x46f)](_0x29b802,{'radius':_0xf02888[_0x35c62b(0x2a3)],'fill':_0xf02888[_0x35c62b(0x44a)],'stroke':_0xf02888[_0x35c62b(0x5a8)],'strokeWidth':_0xf02888[_0x35c62b(0x3ba)],'evented':!0x0});}};let Oo=class extends _0x2d969b{constructor(_0x5de090,_0x414846,_0x29fbc3,_0x5576df,_0x99487d,_0x496065,_0x1c304d,_0xa7c088){const _0x271d9c=_0x1e4b59;super(),this[_0x271d9c(0x30c)]=_0x5de090,this[_0x271d9c(0x43e)]=_0x414846,this[_0x271d9c(0x1f0)]=_0x29fbc3,this['_drawingManagerService']=_0x5576df,this[_0x271d9c(0x204)]=_0x99487d,this['_sheetsShapeService']=_0x496065,this[_0x271d9c(0x21e)]=_0x1c304d,this[_0x271d9c(0x3e9)]=_0xa7c088,G(this,_0x271d9c(0x4a2),void 0x0),G(this,_0x271d9c(0x289),void 0x0),G(this,_0x271d9c(0x2d9),void 0x0),G(this,_0x271d9c(0x3f9),[]),G(this,_0x271d9c(0x49f),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),G(this,_0x271d9c(0x5c9),void 0x0),G(this,_0x271d9c(0x29d),!0x1),G(this,_0x271d9c(0x388),!0x1),G(this,'_hasReset',!0x1),G(this,_0x271d9c(0x251),void 0x0),G(this,_0x271d9c(0x28c),void 0x0),G(this,_0x271d9c(0x597),null),this[_0x271d9c(0x595)]();}[_0x1e4b59(0x595)](){const _0x4239dc=_0x1e4b59;this[_0x4239dc(0x28f)](),this[_0x4239dc(0x3d0)]();}[_0x1e4b59(0x5e6)](){const _0x520997=_0x1e4b59;if(!this[_0x520997(0x289)]||!this['_subUnitId']||!this['_activeShapeId'])return;let _0x147c5e={'unitId':this[_0x520997(0x289)],'subUnitId':this[_0x520997(0x2d9)],'drawingId':this[_0x520997(0x4a2)]},{transform:_0x257773}=this['_drawingManagerService']['getDrawingByParam'](_0x147c5e);if(_0x257773)return{'left':_0x257773['left']||0x0,'top':_0x257773[_0x520997(0x57b)]||0x0,'width':_0x257773['width']||0x0,'height':_0x257773[_0x520997(0x310)]||0x0,'flipX':_0x257773[_0x520997(0x2bf)]||!0x1,'flipY':_0x257773[_0x520997(0x486)]||!0x1,'angle':_0x257773[_0x520997(0x452)]};}[_0x1e4b59(0x2fd)](){const _0x268b3a=_0x1e4b59;if(this[_0x268b3a(0x289)]===void 0x0||this[_0x268b3a(0x2d9)]===void 0x0||this[_0x268b3a(0x4a2)]===void 0x0)return;let _0x502141=this['_renderManagerService'][_0x268b3a(0x2f6)](this[_0x268b3a(0x289)]);if(!_0x502141||!_0x502141[_0x268b3a(0x22c)](_0x3da40f)[_0x268b3a(0x300)]())return;let {scene:_0x1aa42c}=_0x502141,_0x1883b1=this[_0x268b3a(0x5e6)]();if(!_0x1883b1)return;let _0x2326f0=this[_0x268b3a(0x593)][_0x268b3a(0x58f)](this[_0x268b3a(0x289)],this[_0x268b3a(0x2d9)],this['_activeShapeId']);if(!_0x2326f0||!_0x241b3b(_0x2326f0['getShapeType']()))return;let _0x2c4b12=_0x2326f0['getConnectorLinePoints']();if(_0x2c4b12[_0x268b3a(0x270)]<0x2)return;let _0x5c0ccd=new _0x26c87d(_0x1883b1),_0x34d7f8=_0x2c4b12[0x0],_0x22fbbe=_0x2c4b12[_0x2c4b12['length']-0x1],_0x2c4d22=_0x5c0ccd[_0x268b3a(0x422)](_0x34d7f8),_0x444338=_0x5c0ccd[_0x268b3a(0x422)](_0x22fbbe);this[_0x268b3a(0x5df)](_0x1aa42c,{..._0x2c4d22},!0x0),this[_0x268b3a(0x5df)](_0x1aa42c,{..._0x444338},!0x1);}[_0x1e4b59(0x5df)](_0x1d24f6,_0x4eae82,_0x22c078){const _0x440b9e=_0x1e4b59;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x440b9e(0x2d9)]===void 0x0)return;let _0x350ef8=_0x440b9e(0x36e)+this[_0x440b9e(0x289)]+'-'+this[_0x440b9e(0x2d9)]+'-'+this[_0x440b9e(0x4a2)]+'-'+(_0x22c078?_0x440b9e(0x339):_0x440b9e(0x313)),_0x5b3a25=_0x1d24f6['getObjectIncludeInGroup'](_0x350ef8);if(_0x5b3a25){_0x5b3a25[_0x440b9e(0x2a1)]({'left':_0x4eae82['x']-_0xf02888[_0x440b9e(0x2a3)],'top':_0x4eae82['y']-_0xf02888[_0x440b9e(0x2a3)]});return;}let _0x48db85=new Do(_0x350ef8,{'left':_0x4eae82['x']-_0xf02888[_0x440b9e(0x2a3)],'top':_0x4eae82['y']-_0xf02888[_0x440b9e(0x2a3)],'shapeId':this[_0x440b9e(0x4a2)],'unitId':this[_0x440b9e(0x289)],'subUnitId':this[_0x440b9e(0x2d9)],'isStartConnectorPoint':_0x22c078,'width':_0xf02888[_0x440b9e(0x2a3)]*0x2,'height':_0xf02888[_0x440b9e(0x2a3)]*0x2,'zIndex':_0x11e46b+0x1,'evented':!0x0});this[_0x440b9e(0x3f9)][_0x440b9e(0x350)](_0x48db85),this['_attachConnectorObjectEvent'](_0x48db85,_0x1d24f6,_0x22c078),_0x1d24f6[_0x440b9e(0x5f6)](_0x48db85,_0x11e46b+0x1);}[_0x1e4b59(0x52e)](_0x464f58,_0x248189){const _0x2ab3e9=_0x1e4b59;var _0x4befdf;let _0x4fbbe3={'x':0x0,'y':0x0};if(!_0x464f58||!_0x248189)return _0x4fbbe3;let _0x1e4c51=this[_0x2ab3e9(0x1f0)]['getRenderById'](_0x464f58);if(!_0x1e4c51||!_0x1e4c51['with'](_0x3da40f)[_0x2ab3e9(0x436)](_0x248189))return _0x4fbbe3;let _0x58ed53=_0x1e4c51[_0x2ab3e9(0x22c)](_0x3a611d),_0x2c1d9c=_0x58ed53==null?void 0x0:_0x58ed53[_0x2ab3e9(0x576)]();if(!_0x2c1d9c)return _0x4fbbe3;let _0x3afd1e=(_0x4befdf=this[_0x2ab3e9(0x204)]['getUnit'](_0x464f58))==null?void 0x0:_0x4befdf[_0x2ab3e9(0x1f3)](_0x248189);if(!_0x3afd1e)return _0x4fbbe3;let _0x3b2384=_0x30fe0a(_0x2c1d9c[_0x2ab3e9(0x338)],_0x2c1d9c['sheetViewStartColumn'],_0x1e4c51[_0x2ab3e9(0x37d)],_0x3afd1e);return _0x3b2384?{'x':_0x3b2384[_0x2ab3e9(0x342)],'y':_0x3b2384[_0x2ab3e9(0x2ef)]}:_0x4fbbe3;}[_0x1e4b59(0x394)](_0x494c6a,_0x14f1ee){const _0x225eae=_0x1e4b59;var _0x506b0b,_0x33f19f;let _0x320b5f=(_0x506b0b=this[_0x225eae(0x204)][_0x225eae(0x551)](_0x494c6a))==null?void 0x0:_0x506b0b[_0x225eae(0x1f3)](_0x14f1ee);return(_0x33f19f=_0x320b5f==null?void 0x0:_0x320b5f['getZoomRatio']())==null?0x1:_0x33f19f;}[_0x1e4b59(0x385)](_0x44db14,_0x193063,_0x4248d2,_0xd5d0b7,_0x454381){const _0x1d4843=_0x1e4b59;this[_0x1d4843(0x251)][_0x1d4843(0x4ac)](),this[_0x1d4843(0x28c)][_0x1d4843(0x4ac)](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x145362=this[_0x1d4843(0x597)];this[_0x1d4843(0x3e9)][_0x1d4843(0x2e2)]();let _0x4af713=this['_getScrollInfo'](this[_0x1d4843(0x289)],this['_subUnitId']),_0x56c36d=this[_0x1d4843(0x394)](this[_0x1d4843(0x289)],this[_0x1d4843(0x2d9)]),_0x34b15f={'x':_0x4248d2[_0x1d4843(0x212)]/_0x56c36d+_0x4af713['x'],'y':_0x4248d2[_0x1d4843(0x4f3)]/_0x56c36d+_0x4af713['y']},_0xf71d0e=_0x145362?_0x145362[_0x1d4843(0x23d)]:_0x34b15f,_0x13ab5f=_0xd5d0b7?this[_0x1d4843(0x5c9)][_0x1d4843(0x1f2)]():this[_0x1d4843(0x5c9)][_0x1d4843(0x413)](),_0x9b3b34=this[_0x1d4843(0x5c9)][_0x1d4843(0x3e4)]();_0x13ab5f?this[_0x1d4843(0x563)](_0x13ab5f,_0xf71d0e,_0xd5d0b7,_0x145362,_0x454381):this[_0x1d4843(0x57e)](_0x193063,_0xf71d0e,_0xd5d0b7,_0x145362,_0x454381,_0x9b3b34),this[_0x1d4843(0x29d)]=!0x1,this['_hasReset']=!0x1,this[_0x1d4843(0x597)]=null,_0x44db14[_0x1d4843(0x2a5)]();}[_0x1e4b59(0x57e)](_0xde837c,_0x28c98c,_0x575b1b,_0x3abbea,_0xc10335,_0x42719f){const _0x3eb136=_0x1e4b59;let _0x45f289=_0x42719f===_0x4d29db[_0x3eb136(0x354)]||_0x42719f===_0x4d29db[_0x3eb136(0x2db)],_0x3ac64f=_0x575b1b?_0x28c98c:_0xde837c,_0xf27fe2=_0x575b1b?_0xde837c:_0x28c98c,_0x42d261=this[_0x3eb136(0x5c9)][_0x3eb136(0x4ef)](),_0x39076a=_0x1c7eb9(this[_0x3eb136(0x5c9)][_0x3eb136(0x3e4)]()),_0x48bf20=_0x26c87d[_0x3eb136(0x429)](_0x42d261,_0x39076a),_0x4c456d=_0x45f289?_0x26c87d[_0x3eb136(0x32a)](_0x3ac64f,_0xf27fe2):_0x26c87d['computeConnectorResizeLayout'](_0xde837c,_0x28c98c,_0x575b1b,_0x48bf20);_0x3abbea?this[_0x3eb136(0x4a8)](_0x4c456d,_0x3abbea,_0x575b1b,_0xc10335):this[_0x3eb136(0x5f1)](_0x4c456d,_0xc10335);}[_0x1e4b59(0x563)](_0x4aa128,_0x1ee2be,_0x1ee86b,_0x4a7468,_0x10067a){const _0x31aa04=_0x1e4b59;let _0x180317=this[_0x31aa04(0x2a2)](_0x4aa128);if(!_0x180317)return;let _0x2c2082=_0x4a7468?_0x4a7468[_0x31aa04(0x452)]:this[_0x31aa04(0x364)](_0x180317[_0x31aa04(0x266)],_0x1ee2be),_0x2a35fb;if(_0x4a7468){let _0x27e0ee=this['_drawingManagerService'][_0x31aa04(0x329)]({'unitId':_0x4a7468['unitId'],'subUnitId':_0x4a7468[_0x31aa04(0x51e)],'drawingId':_0x4a7468[_0x31aa04(0x543)]});if(_0x27e0ee!=null&&_0x27e0ee['transform']){let {left:_0xdf3304=0x0,top:_0x5327a0=0x0,width:_0x2f4d26=0x0,height:_0x4212ad=0x0,angle:_0x5cdd91}=_0x27e0ee[_0x31aa04(0x44d)];_0x2a35fb=_0x1b6222({'left':_0xdf3304,'top':_0x5327a0,'width':_0x2f4d26,'height':_0x4212ad},_0x5cdd91||0x0);}else _0x2a35fb={'left':_0x1ee2be['x'],'top':_0x1ee2be['y'],'width':0x0,'height':0x0};}else _0x2a35fb={'left':_0x1ee2be['x'],'top':_0x1ee2be['y'],'width':0x0,'height':0x0};let _0x1a644b={'point':_0x1ee2be,'angle':_0x2c2082,'bounds':_0x2a35fb},_0x5bacc7=_0x1ee86b?_0x1a644b:_0x180317,_0x45765f=_0x1ee86b?_0x180317:_0x1a644b,_0x57fed7=this[_0x31aa04(0x5c9)][_0x31aa04(0x3e4)](),_0x21d5ad=_0x4361af(_0x5bacc7,_0x45765f,_0x57fed7);this[_0x31aa04(0x5c9)][_0x31aa04(0x22e)]();let _0x4e7abd=_0x30d37b(_0x21d5ad,_0x57fed7);_0x4a7468?this[_0x31aa04(0x332)](_0x4e7abd,_0x4a7468,_0x4aa128,_0x1ee86b,_0x10067a):this[_0x31aa04(0x375)](_0x4e7abd,_0x4aa128,_0x1ee86b,_0x10067a);}[_0x1e4b59(0x4a8)](_0x285e1b,_0x4be161,_0x5559a8,_0x2b4638){const _0x59481d=_0x1e4b59;let _0x306efc=this[_0x59481d(0x5c9)][_0x59481d(0x3b6)]()[_0x59481d(0x228)],_0x1abdbc={..._0x306efc},_0xd34596={'shapeId':_0x4be161[_0x59481d(0x543)],'cxnIndex':_0x4be161['cxnIndex']};_0x5559a8?_0x1abdbc[_0x59481d(0x5f0)]=_0xd34596:_0x1abdbc['to']=_0xd34596;let _0x5b0597=this['_activeShapeModel'][_0x59481d(0x3e4)](),_0x4ef3c2=_0x30d37b(_0x285e1b[_0x59481d(0x4f6)],_0x5b0597),_0x27da61={'unitId':this[_0x59481d(0x289)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x59481d(0x4a2)],'width':_0x285e1b[_0x59481d(0x3ca)]['width'],'height':_0x285e1b[_0x59481d(0x3ca)]['height'],'left':_0x285e1b['worldRect'][_0x59481d(0x5ec)],'top':_0x285e1b[_0x59481d(0x3ca)]['top'],'flipX':_0x285e1b[_0x59481d(0x3ca)][_0x59481d(0x2bf)]||!0x1,'flipY':_0x285e1b[_0x59481d(0x3ca)]['flipY']||!0x1,'newAdjustValues':_0x4ef3c2[_0x59481d(0x2a4)],'oldAdjustValues':_0x2b4638,'oldRelation':_0x306efc,'newRelation':_0x1abdbc,'newLineType':_0x4ef3c2[_0x59481d(0x330)],'oldLineType':_0x5b0597};this[_0x59481d(0x43e)][_0x59481d(0x361)](_0x3b868c['id'],_0x27da61);}[_0x1e4b59(0x5f1)](_0x345971,_0x144e6d){const _0x2d4bc6=_0x1e4b59;let _0x58d035=this['_activeShapeModel']['getShapeType'](),_0x444459=_0x30d37b(_0x345971[_0x2d4bc6(0x4f6)],_0x58d035),_0x4365bc={'unitId':this['_unitId'],'subUnitId':this[_0x2d4bc6(0x2d9)],'shapeId':this[_0x2d4bc6(0x4a2)],'width':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x381)],'height':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x310)],'left':_0x345971[_0x2d4bc6(0x3ca)]['left'],'top':_0x345971[_0x2d4bc6(0x3ca)]['top'],'flipX':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x2bf)]||!0x1,'flipY':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x486)]||!0x1,'angle':_0x345971['worldRect'][_0x2d4bc6(0x452)]||0x0,'newAdjustValues':_0x444459['adjustValues'],'oldAdjustValues':_0x144e6d,'newLineType':_0x444459[_0x2d4bc6(0x330)],'oldLineType':_0x58d035};this['_commandService'][_0x2d4bc6(0x361)](_0x2906c4['id'],_0x4365bc);}[_0x1e4b59(0x332)](_0x50f3f4,_0x2be2e5,_0x1cc073,_0x5e0554,_0x24a64b){const _0x200a28=_0x1e4b59;let _0x2b8d35=this['_activeShapeModel'][_0x200a28(0x3b6)]()[_0x200a28(0x228)],_0x30a751={..._0x2b8d35},_0x531bd3={'shapeId':_0x2be2e5[_0x200a28(0x543)],'cxnIndex':_0x2be2e5['cxnIndex']};_0x5e0554?(_0x30a751['from']=_0x531bd3,_0x30a751['to']=_0x1cc073):(_0x30a751[_0x200a28(0x5f0)]=_0x1cc073,_0x30a751['to']=_0x531bd3);let _0x110567={'unitId':this[_0x200a28(0x289)],'subUnitId':this[_0x200a28(0x2d9)],'connectorShapeId':this[_0x200a28(0x4a2)],'width':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x381)],'height':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x310)],'left':_0x50f3f4[_0x200a28(0x3ca)]['left'],'top':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x57b)],'flipX':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x2bf)]||!0x1,'flipY':_0x50f3f4['worldRect']['flipY']||!0x1,'oldAdjustValues':_0x24a64b,'newAdjustValues':_0x50f3f4['adjustValues'],'newLineType':_0x50f3f4['lineType'],'rotation':_0x50f3f4['rotation'],'oldRelation':_0x2b8d35,'newRelation':_0x30a751};this[_0x200a28(0x43e)][_0x200a28(0x361)](_0x3b868c['id'],_0x110567);}[_0x1e4b59(0x375)](_0x56e151,_0x156594,_0x150f03,_0x2ee364){const _0x288655=_0x1e4b59;let _0x320ce9=this[_0x288655(0x5c9)][_0x288655(0x3b6)]()['relation'],_0x3af936={};_0x150f03?(_0x3af936['to']=_0x156594,_0x3af936[_0x288655(0x5f0)]=void 0x0):(_0x3af936[_0x288655(0x5f0)]=_0x156594,_0x3af936['to']=void 0x0);let _0x49b9b0={'unitId':this[_0x288655(0x289)],'subUnitId':this[_0x288655(0x2d9)],'connectorShapeId':this['_activeShapeId'],'width':_0x56e151[_0x288655(0x3ca)][_0x288655(0x381)],'height':_0x56e151[_0x288655(0x3ca)][_0x288655(0x310)],'left':_0x56e151[_0x288655(0x3ca)][_0x288655(0x5ec)],'top':_0x56e151[_0x288655(0x3ca)][_0x288655(0x57b)],'flipX':_0x56e151[_0x288655(0x3ca)][_0x288655(0x2bf)]||!0x1,'flipY':_0x56e151[_0x288655(0x3ca)][_0x288655(0x486)]||!0x1,'oldAdjustValues':_0x2ee364,'newAdjustValues':_0x56e151[_0x288655(0x2a4)],'newLineType':_0x56e151['lineType'],'rotation':_0x56e151['rotation'],'oldRelation':_0x320ce9,'newRelation':_0x3af936};this['_commandService']['executeCommand'](_0x3b868c['id'],_0x49b9b0);}[_0x1e4b59(0x20e)](_0x47992e,_0x252e21,_0x54b07b){const _0xf59345=_0x1e4b59;this[_0xf59345(0x502)](_0x38994f(_0x47992e['onPointerDown$'][_0xf59345(0x573)]((_0x204fe7,_0x331a95)=>{const _0x3f2a14=_0xf59345;let _0x1d93b7=_0x47992e['getDrawingSearch']();if(this[_0x3f2a14(0x5c9)]=this[_0x3f2a14(0x593)][_0x3f2a14(0x58f)](_0x1d93b7[_0x3f2a14(0x294)],_0x1d93b7[_0x3f2a14(0x51e)],_0x1d93b7[_0x3f2a14(0x23e)]),!this[_0x3f2a14(0x5c9)])return;let _0x1d5e74={};this[_0x3f2a14(0x5c9)]['getAdjustNames']()[_0x3f2a14(0x30e)](_0x5b217a=>{const _0x1137d1=_0x3f2a14;let _0x585271=this[_0x1137d1(0x5c9)][_0x1137d1(0x5e8)](_0x5b217a);_0x585271!==void 0x0&&(_0x1d5e74[_0x5b217a]=_0x585271);});let _0x50f524=this[_0x3f2a14(0x5e6)]();if(!_0x50f524)return;this[_0x3f2a14(0x49f)]={..._0x50f524};let _0x217201=new _0x26c87d(this[_0x3f2a14(0x49f)]),_0xf53eee=_0x79bce2({'unitId':this[_0x3f2a14(0x289)],'subUnitId':this[_0x3f2a14(0x2d9)],'drawingId':this[_0x3f2a14(0x4a2)]}),_0x2c5122=_0x252e21[_0x3f2a14(0x4c0)](_0xf53eee);this[_0x3f2a14(0x29d)]=!0x0,_0x252e21[_0x3f2a14(0x473)](),this[_0x3f2a14(0x3e9)][_0x3f2a14(0x51c)](_0x252e21,this[_0x3f2a14(0x289)],this[_0x3f2a14(0x2d9)],this[_0x3f2a14(0x4a2)]),this[_0x3f2a14(0x597)]=null;let _0x1bce75=this[_0x3f2a14(0x5c9)]['getConnectorLinePoints'](),_0x5dbc68=_0x1bce75[0x0],_0x37e13d=_0x1bce75[_0x1bce75[_0x3f2a14(0x270)]-0x1],_0x2f028f=_0x54b07b?_0x217201[_0x3f2a14(0x422)](_0x37e13d):_0x217201[_0x3f2a14(0x422)](_0x5dbc68);this[_0x3f2a14(0x251)]=_0x252e21[_0x3f2a14(0x5e2)][_0x3f2a14(0x573)]((_0x29bb01,_0x50042a)=>{const _0x2f239d=_0x3f2a14;if(!this['_isConnecting']||!this[_0x2f239d(0x5c9)])return;this['_hasReset']||(this[_0x2f239d(0x21e)][_0x2f239d(0x547)](),this[_0x2f239d(0x5c9)][_0x2f239d(0x43f)](),this[_0x2f239d(0x28b)]=!0x0);let _0x50377a=this[_0x2f239d(0x52e)](this['_unitId'],this['_subUnitId']),_0xd35fee=this['_getZoomRatio'](this[_0x2f239d(0x289)],this[_0x2f239d(0x2d9)]),_0x5772e5={'x':_0x29bb01[_0x2f239d(0x212)]/_0xd35fee+_0x50377a['x'],'y':_0x29bb01[_0x2f239d(0x4f3)]/_0xd35fee+_0x50377a['y']},_0x3ddcc3=this['_sheetBasicShapeConnectionPointController'][_0x2f239d(0x3e8)](_0x5772e5);if(_0x3ddcc3){let {shapeId:_0x38ed49,unitId:_0x57c2bc,subUnitId:_0x2fdc82}=_0x3ddcc3;if(_0x38ed49&&_0x57c2bc&&_0x2fdc82){let _0x11a8bb=_0x79bce2({'unitId':_0x57c2bc,'subUnitId':_0x2fdc82,'drawingId':_0x38ed49});_0x3ddcc3[_0x2f239d(0x452)]=(_0x252e21[_0x2f239d(0x4c0)](_0x11a8bb)[_0x2f239d(0x452)]||0x0)+_0x3ddcc3[_0x2f239d(0x452)];}}this['_currentConnectionTarget']=_0x3ddcc3;let _0x2e50fa=_0x54b07b?this[_0x2f239d(0x5c9)][_0x2f239d(0x1f2)]():this['_activeShapeModel'][_0x2f239d(0x413)]();if(_0x2e50fa){this[_0x2f239d(0x448)](_0x2e50fa,_0x5772e5,_0x54b07b,_0x2c5122,_0x47992e);return;}this[_0x2f239d(0x1ef)](_0x5772e5,_0x2f028f,_0x54b07b,_0x2c5122,_0x47992e);}),this[_0x3f2a14(0x28c)]=_0x252e21[_0x3f2a14(0x2de)][_0x3f2a14(0x573)]((_0x58f7a4,_0x40039c)=>{const _0xf89da5=_0x3f2a14;this[_0xf89da5(0x385)](_0x252e21,_0x2f028f,_0x58f7a4,_0x54b07b,_0x1d5e74);}),_0x331a95[_0x3f2a14(0x288)]();})));}[_0x1e4b59(0x327)](_0x5a469f,_0x36a523,_0x48e09f){const _0x20d72c=_0x1e4b59;let _0x3f9c09=this[_0x20d72c(0x593)]['getBasicShapeRelation'](_0x5a469f,_0x36a523,_0x48e09f);if(!_0x3f9c09||_0x3f9c09[_0x20d72c(0x270)]===0x0)return;let _0x3abcc6=this[_0x20d72c(0x1f0)][_0x20d72c(0x2f6)](_0x5a469f);if(!_0x3abcc6)return;let {scene:_0x5322ec}=_0x3abcc6;for(let _0x350d37 of _0x3f9c09){let _0x386691=_0x350d37[_0x20d72c(0x331)],_0x4add00=this[_0x20d72c(0x593)][_0x20d72c(0x58f)](_0x5a469f,_0x36a523,_0x386691);if(!_0x4add00)continue;let _0x109780=_0x4add00[_0x20d72c(0x413)](),_0x444a3d=_0x4add00[_0x20d72c(0x1f2)](),_0x43ee3d=(_0x109780==null?void 0x0:_0x109780[_0x20d72c(0x543)])===_0x48e09f,_0x27d655=_0x79bce2({'unitId':_0x5a469f,'subUnitId':_0x36a523,'drawingId':_0x386691}),_0x458361=_0x5322ec[_0x20d72c(0x4c0)](_0x27d655);if(!_0x458361)continue;let _0x126fb6=this[_0x20d72c(0x557)]['getDrawingByParam']({'unitId':_0x5a469f,'subUnitId':_0x36a523,'drawingId':_0x386691});_0x126fb6!=null&&_0x126fb6[_0x20d72c(0x44d)]&&(_0x109780&&_0x444a3d?this[_0x20d72c(0x379)](_0x5a469f,_0x36a523,_0x386691,_0x4add00,_0x109780,_0x444a3d,_0x458361):this[_0x20d72c(0x512)](_0x5a469f,_0x36a523,_0x386691,_0x4add00,_0x43ee3d?_0x109780:_0x444a3d,_0x43ee3d,_0x126fb6,_0x458361));}}[_0x1e4b59(0x379)](_0x4b6a25,_0x20bd9a,_0x4b386b,_0x2e4e46,_0x5192e8,_0x299b45,_0x491ad6){const _0x3380eb=_0x1e4b59;let _0x2a3d51=this[_0x3380eb(0x289)],_0xee9adf=this[_0x3380eb(0x2d9)];this['_unitId']=_0x4b6a25,this['_subUnitId']=_0x20bd9a;let _0x2cda61=this[_0x3380eb(0x2a2)](_0x5192e8),_0x1beaeb=this[_0x3380eb(0x2a2)](_0x299b45);if(this[_0x3380eb(0x289)]=_0x2a3d51,this['_subUnitId']=_0xee9adf,!_0x2cda61||!_0x1beaeb)return;let _0x2052c7=_0x2e4e46[_0x3380eb(0x3e4)](),_0x465fee=_0x4361af(_0x2cda61,_0x1beaeb,_0x2052c7);_0x465fee&&_0x2e4e46[_0x3380eb(0x2da)](_0x465fee);let _0x7f01c=_0x30d37b(_0x465fee,_0x2052c7);_0x7f01c[_0x3380eb(0x330)]!==_0x2052c7&&_0x2e4e46[_0x3380eb(0x4fc)](_0x7f01c['lineType']),_0x2e4e46[_0x3380eb(0x43f)]();for(let [_0x36793a,_0x1e4ed5]of Object[_0x3380eb(0x242)](_0x7f01c[_0x3380eb(0x2a4)]))_0x2e4e46[_0x3380eb(0x522)](_0x36793a,_0x1e4ed5);_0x2e4e46[_0x3380eb(0x3a1)]({'width':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x381)],'height':_0x7f01c[_0x3380eb(0x3ca)]['height']}),_0x491ad6[_0x3380eb(0x2a1)]({'flipX':_0x7f01c['worldRect'][_0x3380eb(0x2bf)],'flipY':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x486)],'left':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x5ec)],'top':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x57b)],'width':_0x7f01c[_0x3380eb(0x3ca)]['width'],'height':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x310)],'angle':_0x7f01c[_0x3380eb(0x35b)]}),_0x2e4e46['removeLinePoints']();}[_0x1e4b59(0x512)](_0x3431b4,_0x9a3399,_0x37b004,_0x487fe6,_0x540027,_0xe7f58b,_0x51703b,_0xcb6984){const _0x1a217e=_0x1e4b59;let _0x24b2f8=this['_unitId'],_0x3596d5=this[_0x1a217e(0x2d9)];this[_0x1a217e(0x289)]=_0x3431b4,this[_0x1a217e(0x2d9)]=_0x9a3399;let _0x404498=this[_0x1a217e(0x2a2)](_0x540027);if(this[_0x1a217e(0x289)]=_0x24b2f8,this[_0x1a217e(0x2d9)]=_0x3596d5,!_0x404498)return;let {left:_0x73eff6=0x0,top:_0x4ebf84=0x0,width:_0x37483e=0x0,height:_0x3c4489=0x0,flipX:_0x1eecc6=!0x1,flipY:_0x198c79=!0x1}=_0x51703b[_0x1a217e(0x44d)],_0x248099=_0x487fe6[_0x1a217e(0x4ef)]();if(_0x248099[_0x1a217e(0x270)]<0x2)return;let _0x33a8f2=new _0x26c87d({'left':_0x73eff6,'top':_0x4ebf84,'width':_0x37483e,'height':_0x3c4489,'flipX':_0x1eecc6,'flipY':_0x198c79}),_0x4f0518=_0xe7f58b?_0x248099[_0x248099['length']-0x1]:_0x248099[0x0],_0x51f78c=_0x33a8f2[_0x1a217e(0x422)](_0x4f0518),_0x4ac74e=_0x26c87d[_0x1a217e(0x320)](_0x51f78c,_0x404498[_0x1a217e(0x266)],!_0xe7f58b);_0xcb6984[_0x1a217e(0x2a1)]({'flipX':_0x4ac74e[_0x1a217e(0x3ca)]['flipX'],'flipY':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x486)],'left':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x5ec)],'top':_0x4ac74e[_0x1a217e(0x3ca)]['top'],'width':_0x4ac74e[_0x1a217e(0x3ca)]['width'],'height':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x310)],'angle':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x452)]}),_0xcb6984[_0x1a217e(0x44c)](!0x0);}[_0x1e4b59(0x528)](){const _0x344cbe=_0x1e4b59;this[_0x344cbe(0x3f9)][_0x344cbe(0x270)]!==0x0&&(this['_connectorObjects'][_0x344cbe(0x30e)](_0x3e438c=>{const _0x236b73=_0x344cbe;_0x3e438c[_0x236b73(0x301)]();}),this[_0x344cbe(0x3f9)]=[]);}[_0x1e4b59(0x3d0)](){const _0x3403f5=_0x1e4b59;let _0x25c4ed=this['_univerInstanceService'][_0x3403f5(0x3c0)](_0x45bf6b[_0x3403f5(0x3df)]);this['disposeWithMe'](_0x25c4ed[_0x3403f5(0x3b4)](_0x4ee608(_0x1f2e82=>_0x1f2e82?_0x1f2e82[_0x3403f5(0x4b5)][_0x3403f5(0x3b4)](_0x4ee608(_0x1c7a54=>{const _0x148fe6=_0x3403f5;if(!_0x1c7a54)return _0x35918a;let _0x2b8294=_0x1f2e82[_0x148fe6(0x340)](),_0x311a86=this[_0x148fe6(0x1f0)][_0x148fe6(0x2f6)](_0x2b8294),_0x30a92c=_0x311a86==null?void 0x0:_0x311a86['scene'];return _0x30a92c?_0x2b1548(_0x30a92c):_0x35918a;})):_0x35918a))[_0x3403f5(0x4da)](_0x47bd64=>{const _0x18bb6a=_0x3403f5;let _0x3c7567=_0x47bd64[_0x18bb6a(0x479)]();this['disposeWithMe'](_0x47bd64[_0x18bb6a(0x5e2)]['subscribeEvent'](_0x171904=>{const _0x1f7212=_0x18bb6a;this[_0x1f7212(0x388)]&&this['_activeShapeId']&&this[_0x1f7212(0x528)]();})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x203)][_0x18bb6a(0x4da)](_0x51b80b=>{const _0x43e09d=_0x18bb6a;let {objects:_0x386b02}=_0x51b80b;this[_0x43e09d(0x528)](),_0x386b02!==null&&_0x386b02[_0x43e09d(0x4bf)]===0x1&&_0x386b02['values']()['next']()[_0x43e09d(0x35e)]instanceof Ba&&(this[_0x43e09d(0x388)]=!0x0);})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x2d8)]['subscribe'](_0x22e8a=>{const _0x4cd9aa=_0x18bb6a;this[_0x4cd9aa(0x388)]&&this[_0x4cd9aa(0x528)]();})),this[_0x18bb6a(0x502)](_0x47bd64[_0x18bb6a(0x2de)]['subscribeEvent'](()=>{const _0x41f405=_0x18bb6a;this[_0x41f405(0x388)]&&(this[_0x41f405(0x388)]=!0x1,this[_0x41f405(0x2fd)]());})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x33a)][_0x18bb6a(0x4da)](()=>{const _0x6b9530=_0x18bb6a;this[_0x6b9530(0x289)]&&this[_0x6b9530(0x2d9)]&&this[_0x6b9530(0x4a2)]&&this['_drawingManagerService'][_0x6b9530(0x329)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x6b9530(0x4a2)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x6b9530(0x2fd)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x4efc3c=_0x1e4b59;this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)][_0x4efc3c(0x291)]['subscribe'](_0x3afc97=>{const _0x5ef086=_0x4efc3c;if(_0x3afc97['length']===0x1){let _0x1ba4f7=_0x3afc97[0x0];if(_0x1ba4f7[_0x5ef086(0x356)]===_0x44ab60[_0x5ef086(0x526)]){let _0x1bd606=this[_0x5ef086(0x593)][_0x5ef086(0x58f)](_0x1ba4f7[_0x5ef086(0x294)],_0x1ba4f7[_0x5ef086(0x51e)],_0x1ba4f7[_0x5ef086(0x23e)]);if(_0x1bd606&&_0x241b3b(_0x1bd606[_0x5ef086(0x3e4)]())){this[_0x5ef086(0x4a2)]=_0x1ba4f7[_0x5ef086(0x23e)],this[_0x5ef086(0x289)]=_0x1ba4f7['unitId'],this[_0x5ef086(0x2d9)]=_0x1ba4f7[_0x5ef086(0x51e)],this['_clearShapeConnectorHandlerObjects'](),this['_addShapeConnectorHandlerObjects']();return;}}}this['_activeShapeId']=void 0x0,this[_0x5ef086(0x289)]=void 0x0,this[_0x5ef086(0x2d9)]=void 0x0,this[_0x5ef086(0x528)]();})),this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)]['update$']['subscribe'](_0x1475de=>{const _0x6ef362=_0x4efc3c;if(_0x1475de[_0x6ef362(0x270)]===0x1){var _0x1e2e84;let _0x123b79=_0x1475de[0x0],_0x174526=(_0x1e2e84=this[_0x6ef362(0x557)][_0x6ef362(0x329)](_0x123b79))==null?void 0x0:_0x1e2e84['drawingType'];_0x174526===_0x44ab60[_0x6ef362(0x526)]&&_0x123b79[_0x6ef362(0x23e)]===this[_0x6ef362(0x4a2)]?(this[_0x6ef362(0x528)](),this['_addShapeConnectorHandlerObjects']()):!this[_0x6ef362(0x4a2)]&&_0x174526===_0x44ab60[_0x6ef362(0x526)]&&this['_handleBasicShapeUpdateConnectorLineShape'](_0x123b79[_0x6ef362(0x294)],_0x123b79[_0x6ef362(0x51e)],_0x123b79[_0x6ef362(0x23e)]);}})),this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)][_0x4efc3c(0x5d9)][_0x4efc3c(0x4da)](_0xaf4d16=>{const _0x168d1f=_0x4efc3c;for(let _0x2657a0 of _0xaf4d16){let {drawingId:_0x157e15}=_0x2657a0;if(this[_0x168d1f(0x4a2)]===_0x157e15){this[_0x168d1f(0x2b1)]();return;}}}));}[_0x1e4b59(0x448)](_0x5c2438,_0x43845f,_0x1fde50,_0x1c6e0a,_0x5313d0){const _0x44e96b=_0x1e4b59;var _0x5e13ca,_0x4bcdc1;if(!this[_0x44e96b(0x5c9)])return;let _0x5f2a8e=this['_getConnectPointInfo'](_0x5c2438);if(!_0x5f2a8e)return;let _0x42151b=this[_0x44e96b(0x597)]?this['_currentConnectionTarget'][_0x44e96b(0x23d)]:_0x43845f,_0x377307=this[_0x44e96b(0x597)]?this[_0x44e96b(0x597)][_0x44e96b(0x452)]:this[_0x44e96b(0x364)](_0x5f2a8e['point'],_0x42151b),_0x1608a0;if(this[_0x44e96b(0x597)]){let _0x32766e=this['_drawingManagerService'][_0x44e96b(0x329)]({'unitId':this[_0x44e96b(0x597)][_0x44e96b(0x294)],'subUnitId':this[_0x44e96b(0x597)]['subUnitId'],'drawingId':this[_0x44e96b(0x597)]['shapeId']});if(_0x32766e!=null&&_0x32766e[_0x44e96b(0x44d)]){let {left:_0x173e3c=0x0,top:_0x57506a=0x0,width:_0x433591=0x0,height:_0xde549b=0x0,angle:_0x15f07e}=_0x32766e['transform'];_0x1608a0=_0x1b6222({'left':_0x173e3c,'top':_0x57506a,'width':_0x433591,'height':_0xde549b},_0x15f07e||0x0);}else _0x1608a0={'left':_0x42151b['x'],'top':_0x42151b['y'],'width':0x0,'height':0x0};}else _0x1608a0={'left':_0x42151b['x'],'top':_0x42151b['y'],'width':0x0,'height':0x0};let _0x103ec1={'point':_0x42151b,'angle':_0x377307,'bounds':_0x1608a0},_0x3497c9=_0x1fde50?_0x103ec1:_0x5f2a8e,_0x24c425=_0x1fde50?_0x5f2a8e:_0x103ec1,_0x2ac780=this['_activeShapeModel'][_0x44e96b(0x3e4)](),_0x4bd037=_0x4361af(_0x3497c9,_0x24c425,_0x2ac780);_0x4bd037&&this['_activeShapeModel'][_0x44e96b(0x2da)](_0x4bd037);let _0x167f92=_0x30d37b(_0x4bd037,_0x2ac780);_0x167f92['lineType']!==_0x2ac780&&this[_0x44e96b(0x5c9)][_0x44e96b(0x4fc)](_0x167f92[_0x44e96b(0x330)]);for(let [_0x402b73,_0x48ff2b]of Object[_0x44e96b(0x242)](_0x167f92[_0x44e96b(0x2a4)]))this[_0x44e96b(0x5c9)][_0x44e96b(0x522)](_0x402b73,_0x48ff2b);this[_0x44e96b(0x5c9)]['updateContext']({'width':_0x167f92['worldRect']['width'],'height':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x310)]}),_0x1c6e0a[_0x44e96b(0x2a1)]({'flipX':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x2bf)],'flipY':_0x167f92['worldRect'][_0x44e96b(0x486)],'left':_0x167f92[_0x44e96b(0x3ca)]['left'],'top':_0x167f92['worldRect']['top'],'width':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x381)],'height':_0x167f92[_0x44e96b(0x3ca)]['height'],'angle':_0x167f92[_0x44e96b(0x35b)]}),_0x1c6e0a[_0x44e96b(0x44c)](!0x0);let _0x4f8e13=(_0x5e13ca=(_0x4bcdc1=this[_0x44e96b(0x597)])==null?void 0x0:_0x4bcdc1['worldPoint'])==null?_0x43845f:_0x5e13ca;_0x5313d0[_0x44e96b(0x2a1)]({'left':_0x4f8e13['x']-_0xf02888['cxnPointRadius'],'top':_0x4f8e13['y']-_0xf02888['cxnPointRadius']});}[_0x1e4b59(0x1ef)](_0x45025f,_0x2fca62,_0x1f2d68,_0x40c954,_0x152cc0){const _0x39c7c2=_0x1e4b59;var _0x3f126d,_0x32a621,_0x30807d,_0x187601;let _0x5201e7=(_0x3f126d=(_0x32a621=this[_0x39c7c2(0x597)])==null?void 0x0:_0x32a621[_0x39c7c2(0x23d)])==null?_0x45025f:_0x3f126d,_0x5aed26=_0x26c87d[_0x39c7c2(0x320)](_0x2fca62,_0x5201e7,_0x1f2d68);_0x40c954['transformByState']({'flipX':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x2bf)],'flipY':_0x5aed26[_0x39c7c2(0x3ca)]['flipY'],'left':_0x5aed26['worldRect'][_0x39c7c2(0x5ec)],'top':_0x5aed26['worldRect'][_0x39c7c2(0x57b)],'width':_0x5aed26[_0x39c7c2(0x3ca)]['width'],'height':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x310)],'angle':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x452)]});let _0x4877c9=(_0x30807d=(_0x187601=this[_0x39c7c2(0x597)])==null?void 0x0:_0x187601[_0x39c7c2(0x23d)])==null?_0x45025f:_0x30807d;_0x152cc0[_0x39c7c2(0x2a1)]({'left':_0x4877c9['x']-_0xf02888[_0x39c7c2(0x2a3)],'top':_0x4877c9['y']-_0xf02888[_0x39c7c2(0x2a3)]});}[_0x1e4b59(0x2a2)](_0x51691a){const _0x1db186=_0x1e4b59;if(!this[_0x1db186(0x289)]||!this[_0x1db186(0x2d9)])return null;let {shapeId:_0x84d6e4,cxnIndex:_0xa8539d}=_0x51691a,_0x150db3=this['_sheetsShapeService'][_0x1db186(0x58f)](this[_0x1db186(0x289)],this[_0x1db186(0x2d9)],_0x84d6e4);if(!_0x150db3)return null;let _0x30d73d=this[_0x1db186(0x557)][_0x1db186(0x329)]({'unitId':this['_unitId'],'subUnitId':this[_0x1db186(0x2d9)],'drawingId':_0x84d6e4});if(!(_0x30d73d!=null&&_0x30d73d['transform']))return null;let {left:_0x553a98=0x0,top:_0x5565ed=0x0,width:_0x4a6079=0x0,height:_0x1d8296=0x0,flipX:_0x1c3692=!0x1,flipY:_0x1511be=!0x1,angle:_0x5ca37a}=_0x30d73d[_0x1db186(0x44d)];_0x150db3[_0x1db186(0x3a1)]({'width':_0x4a6079,'height':_0x1d8296});let _0x2d78e6=_0x150db3['getConnectionSiteList']()[_0x1db186(0x34e)](_0x292ea8=>_0x292ea8[_0x1db186(0x5da)]===_0xa8539d);if(!_0x2d78e6)return null;let _0x35655e=_0x1c3692?_0x4a6079-_0x2d78e6['x']:_0x2d78e6['x'],_0x4cbb65=_0x1511be?_0x1d8296-_0x2d78e6['y']:_0x2d78e6['y'];if(_0x5ca37a!==0x0&&_0x5ca37a!=null){let _0x25029f=_0x5ca37a*Math['PI']/0xb4,_0x220b50=Math['cos'](_0x25029f),_0x319c8f=Math[_0x1db186(0x34d)](_0x25029f),_0x38679d=_0x4a6079/0x2,_0x2b8b31=_0x1d8296/0x2,_0x4f6edf=_0x35655e-_0x38679d,_0x47a96e=_0x4cbb65-_0x2b8b31;_0x35655e=_0x38679d+_0x4f6edf*_0x220b50-_0x47a96e*_0x319c8f,_0x4cbb65=_0x2b8b31+_0x4f6edf*_0x319c8f+_0x47a96e*_0x220b50;}_0x35655e+=_0x553a98,_0x4cbb65+=_0x5565ed;let _0x2ad776=_0x2d78e6[_0x1db186(0x3ee)]/0xea60;_0x1c3692&&(_0x2ad776=0xb4-_0x2ad776),_0x1511be&&(_0x2ad776=-_0x2ad776),_0x2ad776+=_0x5ca37a||0x0,_0x2ad776=(_0x2ad776%0x168+0x168)%0x168;let _0x2e3fbd=_0x1b6222({'left':_0x553a98,'top':_0x5565ed,'width':_0x4a6079,'height':_0x1d8296},_0x5ca37a||0x0);return{'point':{'x':_0x35655e,'y':_0x4cbb65},'angle':_0x2ad776,'bounds':_0x2e3fbd};}[_0x1e4b59(0x364)](_0xc478b3,_0x17811f){const _0x1585c5=_0x1e4b59;let _0x252fa5=_0x17811f['x']-_0xc478b3['x'],_0x293e3e=_0x17811f['y']-_0xc478b3['y'];return Math[_0x1585c5(0x1f1)](_0x252fa5)>=Math[_0x1585c5(0x1f1)](_0x293e3e)?_0x252fa5>=0x0?0xb4:0x0:_0x293e3e>=0x0?0x10e:0x5a;}[_0x1e4b59(0x2b1)](){const _0x17a79b=_0x1e4b59;this['_activeShapeId']=void 0x0,this[_0x17a79b(0x289)]=void 0x0,this[_0x17a79b(0x2d9)]=void 0x0,this[_0x17a79b(0x528)]();}[_0x1e4b59(0x301)](){const _0x204e4e=_0x1e4b59;this[_0x204e4e(0x528)](),super['dispose']();}};Oo=X([Y(0x1,_0x229c27),Y(0x2,_0x2302c1),Y(0x3,_0xd6b9bd),Y(0x4,_0x2b0f26),Y(0x5,_0x49bdac(_0x114e41)),Y(0x6,_0x49bdac(Ha)),Y(0x7,_0x49bdac(To))],Oo);let ko=class extends _0x2d969b{constructor(_0x231d27,_0x3b0632,_0x538891){const _0x1c08e2=_0x1e4b59;super(),this[_0x1c08e2(0x43e)]=_0x231d27,this['_localeService']=_0x3b0632,this[_0x1c08e2(0x4d1)]=_0x538891,this[_0x1c08e2(0x592)]();}['_initPermission'](){const _0x42406c=_0x1e4b59;this[_0x42406c(0x502)](this[_0x42406c(0x43e)][_0x42406c(0x32b)](_0x42fcba=>{const _0x322849=_0x42406c;let _0x10fac3,_0x29de4b;if(_0x42fcba['id']===_0x368421['id']||_0x42fcba['id']===_0x1c0103['id']||_0x42fcba['id']===_0x3b868c['id']){let _0xc31142=_0x42fcba[_0x322849(0x25d)];_0x10fac3=_0xc31142[_0x322849(0x294)],_0x29de4b=_0xc31142[_0x322849(0x51e)];}!_0x10fac3||!_0x29de4b||this[_0x322849(0x4d1)]['permissionCheckWithoutRange']({'workbookTypes':[_0x3326f9],'worksheetTypes':[_0x6e8fe4]},_0x10fac3,_0x29de4b)||this[_0x322849(0x4d1)][_0x322849(0x480)](this[_0x322849(0x4a7)]['t'](_0x322849(0x55b)));}));}};ko=X([Y(0x0,_0x49bdac(_0x229c27)),Y(0x1,_0x49bdac(_0x10276c)),Y(0x2,_0x49bdac(_0x5429b9))],ko);let $=class extends _0x40b34e{constructor(_0x18d700=so,_0xab269c,_0x4148d8,_0x42693d,_0x5979a0){const _0xa226a6=_0x1e4b59;super(),this['_config']=_0x18d700,this[_0xa226a6(0x1f6)]=_0xab269c,this[_0xa226a6(0x43e)]=_0x4148d8,this[_0xa226a6(0x225)]=_0x42693d,this[_0xa226a6(0x1f0)]=_0x5979a0;let {..._0xcd84a4}=_0x47be0f({},so,this[_0xa226a6(0x25a)]);this[_0xa226a6(0x225)]['setConfig'](_0xa226a6(0x4d4),_0xcd84a4),this['_initCommands']();}['onRendered'](){const _0xdaddd0=_0x1e4b59;_0x58fa53(this[_0xdaddd0(0x1f6)],[[Q],[co],[Z]]);}[_0x1e4b59(0x334)](){const _0x264d41=_0x1e4b59;this[_0x264d41(0x1f6)][_0x264d41(0x4f9)](Q)[_0x264d41(0x516)]();}[_0x1e4b59(0x5f2)](){const _0x30317e=_0x1e4b59;[[To],[Ha],[Eo]][_0x30317e(0x30e)](_0x16c3bb=>this[_0x30317e(0x1f6)][_0x30317e(0x565)](_0x16c3bb)),_0x58fa53(this['_injector'],[[Eo]]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[To]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[Ha]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b[_0x30317e(0x3df)],[vo]),this['_renderManagerService'][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[Oo]),this['_renderManagerService']['registerRenderModule'](_0x45bf6b[_0x30317e(0x3df)],[bo]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_DOC'],[So]);}[_0x1e4b59(0x56d)](){const _0x2aa346=_0x1e4b59;this['_injector'][_0x2aa346(0x565)]([_o]),this[_0x2aa346(0x1f6)][_0x2aa346(0x4f9)](_o);let _0x27cf79=this[_0x2aa346(0x1f6)];[[Q],[co],[Z],[K],[yo],[Za],[ko]][_0x2aa346(0x30e)](_0x57a341=>_0x27cf79[_0x2aa346(0x565)](_0x57a341)),_0x58fa53(this['_injector'],[[Q],[co],[Z],[K],[yo],[Za],[ko]]);}[_0x1e4b59(0x372)](){const _0x5dfd79=_0x1e4b59;[Wa,q,J,Ta,Ea,Oa,Da,Aa,ja,ka,Ua][_0x5dfd79(0x30e)](_0x52d5a0=>this[_0x5dfd79(0x502)](this[_0x5dfd79(0x43e)][_0x5dfd79(0x3fc)](_0x52d5a0)));}};G($,_0x1e4b59(0x3cf),_0x45bf6b['UNIVER_SHEET']),G($,_0x1e4b59(0x4e9),'SHEET_SHAPE_UI_PLUGIN'),G($,_0x1e4b59(0x544),ao),G($,_0x1e4b59(0x517),oo),$=X([_0xef694(_0x508bb9,_0x54eb2e),Y(0x1,_0x49bdac(_0x2ea32b)),Y(0x2,_0x229c27),Y(0x3,_0x152b95),Y(0x4,_0x2302c1)],$);export{Ea as SetShapeTextFontSizeCommand,Oa as SetShapeTextFontSizeDecreaseCommand,Da as SetShapeTextFontSizeIncreaseCommand,Ta as SetShapeTextHorizontalAlignCommand,J as SetShapeTextVerticalAlignCommand,ka as ShapeDocAlignCommand,Q as SheetsShapeUIController,$ as UniverSheetsShapeUIPlugin,q as UpdateShapeDataCommand};
1
+ const _0xb24152=_0x2a10;(function(_0x3f3667,_0x171f84){const _0x3a1335=_0x2a10,_0x2248ce=_0x3f3667();while(!![]){try{const _0x25ab3b=parseInt(_0x3a1335(0x3ce))/0x1*(-parseInt(_0x3a1335(0x2e1))/0x2)+parseInt(_0x3a1335(0x171))/0x3+parseInt(_0x3a1335(0x3c3))/0x4+parseInt(_0x3a1335(0x25a))/0x5*(-parseInt(_0x3a1335(0x103))/0x6)+parseInt(_0x3a1335(0x386))/0x7+parseInt(_0x3a1335(0x32d))/0x8*(parseInt(_0x3a1335(0x496))/0x9)+-parseInt(_0x3a1335(0x412))/0xa*(parseInt(_0x3a1335(0x3ae))/0xb);if(_0x25ab3b===_0x171f84)break;else _0x2248ce['push'](_0x2248ce['shift']());}catch(_0x1fdb04){_0x2248ce['push'](_0x2248ce['shift']());}}}(_0x2680,0xd8340));import{InsertShapeCommand as _0xe2fd8c,InsertSheetsShapeMutation as _0x5acc7e,RemoveSheetsShapeMutation as _0x40615a,SetShapeDrawingDataCommand as _0x2daa49,SetSheetsShapeRotateCommand as _0x291eec,SetSheetsShapeTextVerticalToggleCommand as _0x1a1e91,SheetsShapeService as _0x2acfb5,ToggleSheetsShapeFlipCommand as _0x379cbb,UniverSheetsShapePlugin as _0x585860,UpdateConnectorRelationCommand as _0x295562,UpdateLineShapeResizeCommand as _0x4642fd,UpdateSheetsShapeDataMutation as _0x10c449}from'@univerjs-pro/sheets-shape';import{BooleanNumber as _0x4cc797,CommandType as _0x2ffb40,DependentOn as _0x5cca95,Disposable as _0x1fdd93,DocumentDataModel as _0x45d846,DrawingTypeEnum as _0x23b778,FOCUSING_COMMON_DRAWINGS as _0x2a80f0,FOCUSING_SHAPE_TEXT_EDITOR as _0x23ee81,GridType as _0x5cd34e,HorizontalAlign as _0x1cb9e9,ICommandService as _0x5e6bce,IConfigService as _0xa171cd,IContextService as _0x286a43,IURLImageService as _0x11ed25,IUndoRedoService as _0x26a418,IUniverInstanceService as _0x3dd1dc,Inject as _0x4429c1,Injector as _0x5cb6b8,LocaleService as _0x46ddff,Plugin as _0xfd2081,ThemeService as _0x51c9be,Tools as _0xeca26c,UniverInstanceType as _0xc8ef66,VerticalAlign as _0x223565,WrapStrategy as _0x591546,createInternalEditorID as _0x2a83b2,generateRandomId as _0x4f8964,merge as _0x19b1f3,toDisposable as _0x4540fc,touchDependencies as _0x1ecec8}from'@univerjs/core';import{CopySheetCommand as _0x4b62bb,RemoveSheetCommand as _0x17234d,SheetInterceptorService as _0x1a0dcb,SheetPermissionCheckController as _0x478e3c,SheetSkeletonService as _0x58db95,SheetsSelectionsService as _0x4e3e74,WorkbookEditablePermission as _0x1f0293,WorksheetEditPermission as _0x703eb3,attachRangeWithCoord as _0x224747,discreteRangeToRange as _0x5abc61,getSheetCommandTarget as _0x69d88}from'@univerjs/sheets';import{DrawingApplyType as _0x47eaf3,ISheetDrawingService as _0x3e392c,RemoveSheetDrawingCommand as _0x564422,SetDrawingApplyMutation as _0x1d222d,transformToDrawingPosition as _0x1a58ba}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x2e7016,EMPTY as _0x3cbe4d,Observable as _0x1238ac,map as _0x272b09,of as _0x30147e,startWith as _0x46f243,switchMap as _0x3b82eb}from'rxjs';import{IDrawingManagerService as _0x1f7427,IImageIoService as _0x40ee49,getDrawingShapeKeyByDrawingSearch as _0x32b74c}from'@univerjs/drawing';import{CURSOR_TYPE as _0x5f2daa,Circle as _0x1de444,DRAWING_OBJECT_LAYER_INDEX as _0x536557,DocumentSkeleton as _0x1aec54,DocumentViewModel as _0x200a26,Documents as _0x186102,IRenderManagerService as _0x2dae0a,Image as _0x1b123c,RENDER_CLASS_TYPE as _0x5e305e,SHEET_VIEWPORT_KEY as _0x2f9f10,Shape as _0x5786d8,Transform as _0x25068e,VERTICAL_ROTATE_ANGLE as _0x31b71d,Vector2 as _0x33a6a0}from'@univerjs/engine-render';import{AlignOperationCommand as _0x5a801b,DocCanvasPopManagerService as _0x12f403,DocSelectionRenderService as _0x3b49d7,ResetInlineFormatTextBackgroundColorCommand as _0x3950f5,SetInlineFormatTextBackgroundColorCommand as _0x162333}from'@univerjs/docs-ui';import{COPY_TYPE as _0x50ead0,ISheetClipboardService as _0x3d04df,PREDEFINED_HOOK_NAME as _0x12ebda,SheetCanvasPopManagerService as _0xc746b0,SheetScrollManagerService as _0x163695,SheetSkeletonManagerService as _0x2948b6,deriveStateFromActiveSheet$ as _0x198a05,getCurrentRangeDisable$ as _0x58ee95,getViewportByCell as _0x2bbbe9}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x19ed00,ComponentManager as _0x373853,IFontService as _0x2dafbe,IMenuManagerService as _0x2a59cb,ISidebarService as _0x3e2e98,IconManager as _0x53069b,MenuItemType as _0x132af5,RibbonInsertGroup as _0xdee9e5,RibbonPosition as _0x14adbd,RibbonStartGroup as _0x125055,getMenuHiddenObservable as _0x1c2017,useDependency as _0x201e51}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x2f5cd5,ImageSourceTypeEnum as _0xeadb0f,ShapeArrowSizeEnum as _0x21c673,ShapeArrowTypeEnum as _0x244a79,ShapeDefaultConfig as _0x2dd83f,ShapeFillEnum as _0x573481,ShapeLineTypeEnum as _0x428c9b,ShapeModel as _0x14f89a,ShapeRenderModeEnum as _0x47351f,ShapeTypeEnum as _0x34fa26,computeConnectorRouteLayout as _0x2ef101,getBasicShapeRotateBound as _0x141ee0,isConnectorShape as _0x59a416,isCurvedConnectorShape as _0x456e13,routeConnectorLineShape as _0x2a8f13}from'@univerjs-pro/engine-shape';import{DrawingCommonPanel as _0x58b395,DrawingImageClipService as _0x40d146,DrawingRenderService as _0xdfb1f0,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x44f4fc,getCurrentUnitInfo as _0x3a49ea,insertGroupObject as _0x362e26}from'@univerjs/drawing-ui';import{DocSelectionManagerService as _0x4acbf2}from'@univerjs/docs';import{Button as _0x51e438,Dropdown as _0x115395}from'@univerjs/design';function _0x2a10(_0x47f70b,_0x4cc7a7){_0x47f70b=_0x47f70b-0xe6;const _0x26802c=_0x2680();let _0x2a1077=_0x26802c[_0x47f70b];return _0x2a1077;}import{memo as _0x40c052,useEffect as _0x338c88,useMemo as _0x5c9ce9,useState as _0x18d62f}from'react';import{jsx as _0x56f3e7,jsxs as _0x1999e9}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x398757,SheetsDrawingGroupCopyPasteController as _0x12261d,UniverSheetsDrawingUIPlugin as _0x34ca0a}from'@univerjs/sheets-drawing-ui';import{ShapeAccentBorderCallout1Icon as _0x4d1fe9,ShapeAccentBorderCallout2Icon as _0x1839c6,ShapeAccentBorderCallout3Icon as _0x2527fe,ShapeAccentCallout1Icon as _0x3d7b47,ShapeAccentCallout2Icon as _0x4c725b,ShapeAccentCallout3Icon as _0x2e3f89,ShapeActionButtonBackPreviousIcon as _0x4e9e74,ShapeActionButtonBeginningIcon as _0x3fe5f1,ShapeActionButtonBlankIcon as _0xd84f56,ShapeActionButtonDocumentIcon as _0x17617a,ShapeActionButtonEndIcon as _0x9a17d1,ShapeActionButtonForwardNextIcon as _0x50eb00,ShapeActionButtonHelpIcon as _0x46d284,ShapeActionButtonHomeIcon as _0x4ec1c9,ShapeActionButtonInformationIcon as _0x590631,ShapeActionButtonMovieIcon as _0x1da91a,ShapeActionButtonReturnIcon as _0x321a7c,ShapeActionButtonSoundIcon as _0x4f3b60,ShapeArcIcon as _0x1797a9,ShapeBentArrowIcon as _0x2ec581,ShapeBentConnector3Arrow1Icon as _0x3c8d4f,ShapeBentConnector3Arrow2Icon as _0x2409ae,ShapeBentConnector3Icon as _0x53f5fb,ShapeBentUpArrowIcon as _0x3e7926,ShapeBevelIcon as _0x3156fa,ShapeBlockArcIcon as _0x8762c0,ShapeBorderCallout1Icon as _0x55ca52,ShapeBorderCallout2Icon as _0x31ff4c,ShapeBorderCallout3Icon as _0x5cd687,ShapeBracePairIcon as _0x2e91be,ShapeBracketPairIcon as _0x54e541,ShapeCallout1Icon as _0x12ee0f,ShapeCallout2Icon as _0x178899,ShapeCallout3Icon as _0x3cab8f,ShapeCanIcon as _0x367755,ShapeChartPlusIcon as _0x4b39dd,ShapeChartStarIcon as _0x5f45be,ShapeChartXIcon as _0x3088ad,ShapeChevronIcon as _0x192389,ShapeChordIcon as _0x37c88b,ShapeCircularArrowIcon as _0x2e96ab,ShapeCloudCalloutIcon as _0x543e49,ShapeCloudIcon as _0x16ea4b,ShapeCornerIcon as _0x42c258,ShapeCornerTabsIcon as _0x3fd10b,ShapeCubeIcon as _0x3808d8,ShapeCurvedConnector3Arrow1Icon as _0x162e6b,ShapeCurvedConnector3Arrow2Icon as _0x1c9c1c,ShapeCurvedConnector3Icon as _0x3cb835,ShapeCurvedDownArrowIcon as _0x3a83c4,ShapeCurvedLeftArrowIcon as _0x2bd73a,ShapeCurvedRightArrowIcon as _0x3430d4,ShapeCurvedUpArrowIcon as _0x256f87,ShapeDecagonIcon as _0x285405,ShapeDiagStripeIcon as _0x50d3a5,ShapeDiamondIcon as _0x46571c,ShapeDodecagonIcon as _0x223b08,ShapeDonutIcon as _0x1e3a4d,ShapeDoubleWaveIcon as _0x345e06,ShapeDownArrowCalloutIcon as _0x578ec1,ShapeDownArrowIcon as _0x2bf539,ShapeEllipseIcon as _0xde6dd,ShapeEllipseRibbon2Icon as _0x2c9438,ShapeEllipseRibbonIcon as _0x1e8428,ShapeFlowChartAlternateProcessIcon as _0x15e15c,ShapeFlowChartCollateIcon as _0xb9a67e,ShapeFlowChartConnectorIcon as _0x4a91a5,ShapeFlowChartDecisionIcon as _0x17462c,ShapeFlowChartDelayIcon as _0xc6890d,ShapeFlowChartDisplayIcon as _0x56773a,ShapeFlowChartDocumentIcon as _0x23742f,ShapeFlowChartExtractIcon as _0x513926,ShapeFlowChartInputOutputIcon as _0x1d4427,ShapeFlowChartInternalStorageIcon as _0x2930d0,ShapeFlowChartMagneticDiskIcon as _0x3d37dc,ShapeFlowChartMagneticDrumIcon as _0x5876f2,ShapeFlowChartMagneticTapeIcon as _0x1cf5c9,ShapeFlowChartManualInputIcon as _0x59e3af,ShapeFlowChartManualOperationIcon as _0x13f321,ShapeFlowChartMergeIcon as _0x3f1776,ShapeFlowChartMultidocumentIcon as _0xeecae7,ShapeFlowChartOfflineStorageIcon as _0x34347d,ShapeFlowChartOffpageConnectorIcon as _0x484b74,ShapeFlowChartOnlineStorageIcon as _0x7cd1f7,ShapeFlowChartOrIcon as _0x5a0c8c,ShapeFlowChartPredefinedProcessIcon as _0x170a63,ShapeFlowChartPreparationIcon as _0x4cf59c,ShapeFlowChartProcessIcon as _0x128df9,ShapeFlowChartPunchedCardIcon as _0x21ebe4,ShapeFlowChartPunchedTapeIcon as _0x546db5,ShapeFlowChartSortIcon as _0x297253,ShapeFlowChartSummingJunctionIcon as _0x42e9ce,ShapeFlowChartTerminatorIcon as _0x56b563,ShapeFolderCornerIcon as _0x3d0aea,ShapeFrameIcon as _0x55a5ad,ShapeFunnelIcon as _0x4f2852,ShapeGear6Icon as _0x4095d9,ShapeGear9Icon as _0x1ebb6e,ShapeHalfFrameIcon as _0x36379e,ShapeHeartIcon as _0x34c417,ShapeHeptagonIcon as _0x1b2294,ShapeHexagonIcon as _0x37c944,ShapeHomePlateIcon as _0x184c0b,ShapeHorizontalScrollIcon as _0x3b2253,ShapeIrregularSeal1Icon as _0x13f80a,ShapeIrregularSeal2Icon as _0x1d3cb6,ShapeLeftArrowCalloutIcon as _0x5aee8e,ShapeLeftArrowIcon as _0x46302f,ShapeLeftBraceIcon as _0x1b9e42,ShapeLeftBracketIcon as _0x58a562,ShapeLeftCircularArrowIcon as _0x35ba78,ShapeLeftRightArrowCalloutIcon as _0x82d833,ShapeLeftRightArrowIcon as _0x538c7d,ShapeLeftRightCircularArrowIcon as _0x29ca6a,ShapeLeftRightRibbonIcon as _0x478b30,ShapeLeftRightUpArrowIcon as _0x3d3305,ShapeLeftUpArrowIcon as _0x5f2602,ShapeLightningBoltIcon as _0xb97439,ShapeLineIcon as _0x4c4fbd,ShapeLineInvIcon as _0x50dda2,ShapeMathDivideIcon as _0x4173f5,ShapeMathEqualIcon as _0xe0f9f0,ShapeMathMinusIcon as _0x275b0d,ShapeMathMultiplyIcon as _0x2bd146,ShapeMathNotEqualIcon as _0x454d79,ShapeMathPlusIcon as _0x201734,ShapeMoonIcon as _0xe9af53,ShapeNoSmokingIcon as _0x2507b1,ShapeNonIsoscelesTrapezoidIcon as _0x26da29,ShapeNotchedRightArrowIcon as _0x17c71f,ShapeOctagonIcon as _0x4bf37b,ShapeParallelogramIcon as _0x2aaf74,ShapePentagonIcon as _0x38f90c,ShapePieIcon as _0x17510c,ShapePieWedgeIcon as _0x34f925,ShapePlaqueIcon as _0x34a415,ShapePlaqueTabsIcon as _0x32ade1,ShapePlusIcon as _0x42555c,ShapeQuadArrowCalloutIcon as _0x513d64,ShapeQuadArrowIcon as _0xfd6617,ShapeRectIcon as _0x2d96fc,ShapeRectTextboxHorizontalIcon as _0x471afd,ShapeRectTextboxVerticalIcon as _0xc04f9f,ShapeRibbon2Icon as _0x5e04be,ShapeRibbonIcon as _0x171160,ShapeRightArrowCalloutIcon as _0x1612c9,ShapeRightArrowIcon as _0xe6e78,ShapeRightBraceIcon as _0x573c90,ShapeRightBracketIcon as _0x4e44fe,ShapeRound1RectIcon as _0x3104bf,ShapeRound2DiagRectIcon as _0x153bd3,ShapeRound2SameRectIcon as _0x1e96c3,ShapeRoundRectIcon as _0x17216c,ShapeRtTriangleIcon as _0x3002ad,ShapeSmileyFaceIcon as _0x52d1f8,ShapeSnip1RectIcon as _0x5e17de,ShapeSnip2DiagRectIcon as _0x54d006,ShapeSnip2SameRectIcon as _0x2770dc,ShapeSnipRoundRectIcon as _0x3c34e2,ShapeSquareTabsIcon as _0x4db119,ShapeStar10Icon as _0x5ae7b6,ShapeStar12Icon as _0x5e9192,ShapeStar16Icon as _0x38b3b7,ShapeStar24Icon as _0x27af90,ShapeStar32Icon as _0x1fb442,ShapeStar4Icon as _0x482cfa,ShapeStar5Icon as _0x3089f3,ShapeStar6Icon as _0x1ef6fc,ShapeStar7Icon as _0x54ecda,ShapeStar8Icon as _0x5ec7c5,ShapeStraightConnector1Icon as _0x4bff66,ShapeStraightConnector2Icon as _0x5995ba,ShapeStripedRightArrowIcon as _0x3381b4,ShapeSunIcon as _0x3d18bb,ShapeSwooshArrowIcon as _0x37056a,ShapeTeardropIcon as _0x207689,ShapeTrapezoidIcon as _0x2063a4,ShapeTriangleIcon as _0x4dc479,ShapeUpArrowCalloutIcon as _0x324808,ShapeUpArrowIcon as _0x4d5ecb,ShapeUpDownArrowCalloutIcon as _0x14056a,ShapeUpDownArrowIcon as _0xe12ec8,ShapeUturnArrowIcon as _0x346e4b,ShapeVerticalScrollIcon as _0x22fa52,ShapeWaveIcon as _0x445705,ShapeWedgeEllipseCalloutIcon as _0x8927f8,ShapeWedgeRectCalloutIcon as _0x330239,ShapeWedgeRoundRectCalloutIcon as _0x2c6171}from'@univerjs/icons';import{ShapeEditPanel as _0x152674,ShapeFloatingToolbar as _0x2aadf3,ShapeTextEditorContainer as _0x5833fb,ShapeTextFloatMenuRenderControllerBase as _0x3024e8,ShapeTextFloatToolbar as _0x3f2767,buildShapeTextDataUpdate as _0x2a890e}from'@univerjs-pro/shape-editor-ui';function xa(_0x551234){'@babel/helpers - typeof';const _0x37d552=_0x2a10;return xa=typeof Symbol==_0x37d552(0x2b5)&&typeof Symbol[_0x37d552(0x30c)]==_0x37d552(0x388)?function(_0x1c88e){return typeof _0x1c88e;}:function(_0x516236){const _0x3eed48=_0x37d552;return _0x516236&&typeof Symbol==_0x3eed48(0x2b5)&&_0x516236[_0x3eed48(0x456)]===Symbol&&_0x516236!==Symbol['prototype']?_0x3eed48(0x388):typeof _0x516236;},xa(_0x551234);}function Sa(_0x3441f1,_0x4a12ef){const _0x2db897=_0x2a10;if(xa(_0x3441f1)!=_0x2db897(0x49b)||!_0x3441f1)return _0x3441f1;var _0x39aa2d=_0x3441f1[Symbol[_0x2db897(0x4e1)]];if(_0x39aa2d!==void 0x0){var _0x1cca59=_0x39aa2d[_0x2db897(0x1b0)](_0x3441f1,_0x4a12ef||_0x2db897(0x2e4));if(xa(_0x1cca59)!=_0x2db897(0x49b))return _0x1cca59;throw TypeError(_0x2db897(0x3da));}return(_0x4a12ef===_0x2db897(0x3a6)?String:Number)(_0x3441f1);}function Ca(_0x4bb1da){const _0x1a9e8d=_0x2a10;var _0x33e7f7=Sa(_0x4bb1da,_0x1a9e8d(0x3a6));return xa(_0x33e7f7)==_0x1a9e8d(0x388)?_0x33e7f7:_0x33e7f7+'';}function G(_0xae7c0c,_0x37db50,_0x518baf){const _0x137919=_0x2a10;return(_0x37db50=Ca(_0x37db50))in _0xae7c0c?Object[_0x137919(0x376)](_0xae7c0c,_0x37db50,{'value':_0x518baf,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xae7c0c[_0x37db50]=_0x518baf,_0xae7c0c;}var K=class extends _0x1fdd93{constructor(..._0x5a35f6){const _0x41043b=_0x2a10;super(..._0x5a35f6),G(this,_0x41043b(0x401),new _0x2e7016(null)),G(this,_0x41043b(0x191),this[_0x41043b(0x401)][_0x41043b(0x3b4)]()),G(this,_0x41043b(0x111),new _0x2e7016(!0x1)),G(this,'onSavingEditorData$',this[_0x41043b(0x111)][_0x41043b(0x3b4)]());}[_0xb24152(0x3fd)](){const _0x444a8a=_0xb24152;this['_editingParams$'][_0x444a8a(0x1c5)](null),this[_0x444a8a(0x401)][_0x444a8a(0x31e)](),this['_onSavingEditorData$'][_0x444a8a(0x1c5)](!0x1),this[_0x444a8a(0x111)]['complete'](),super[_0x444a8a(0x3fd)]();}[_0xb24152(0x272)](_0x5cae02){const _0x5c19d9=_0xb24152;this['_editingParams$'][_0x5c19d9(0x1c5)](_0x5cae02),_0x5cae02==null&&this[_0x5c19d9(0x111)][_0x5c19d9(0x1c5)](!0x1);}[_0xb24152(0x436)](_0x1b378b){const _0x3f651b=_0xb24152;this[_0x3f651b(0x111)][_0x3f651b(0x1c5)](_0x1b378b);}[_0xb24152(0x489)](){const _0x3712a0=_0xb24152;return this[_0x3712a0(0x401)][_0x3712a0(0x21f)]();}};function wa(_0x4004f0,_0x13faee){const _0x5a5c64=_0xb24152;let _0x52a287={};for(let _0x3a357a of Object['keys'](_0x13faee)){let _0x51e0e0=_0x13faee[_0x3a357a],_0x1a7897=_0x4004f0[_0x3a357a];if(_0x51e0e0!==void 0x0){if(_0x1a7897===void 0x0){_0x52a287[_0x3a357a]=void 0x0;continue;}typeof _0x51e0e0==_0x5a5c64(0x49b)&&_0x51e0e0&&!Array['isArray'](_0x51e0e0)&&typeof _0x1a7897==_0x5a5c64(0x49b)&&_0x1a7897&&!Array['isArray'](_0x1a7897)?_0x52a287[_0x3a357a]=wa(_0x1a7897,_0x51e0e0):_0x52a287[_0x3a357a]=_0x1a7897;}}return _0x52a287;}const q={'type':_0x2ffb40['COMMAND'],'id':_0xb24152(0x1ca),'handler':(_0x11b146,_0x1a1c4f)=>{const _0x2a2ad3=_0xb24152;let _0x542ed0=_0x11b146[_0x2a2ad3(0x4b5)](_0x2acfb5),{unitId:_0x1fb93e,subUnitId:_0x3f5b61,shapeType:_0x56931d,shapeId:_0xbc7de,shapeData:_0x56492c,oldShapeJSON:_0x9ec4cf}=_0x1a1c4f;if(!_0x542ed0[_0x2a2ad3(0x2ce)](_0x1fb93e,_0x3f5b61,_0xbc7de))return!0x1;let _0x25b75e=_0x11b146[_0x2a2ad3(0x4b5)](_0x5e6bce),_0x17d391=_0x11b146['get'](_0x26a418),{oldShapeType:_0x1cb569,oldShapeData:_0x530d71={}}=_0x9ec4cf,_0x1437d1=wa(_0x530d71,_0x56492c||{}),_0x3261e6={'id':_0x10c449['id'],'params':{'unitId':_0x1fb93e,'subUnitId':_0x3f5b61,'shapeId':_0xbc7de,'shapeType':_0x56931d,'shapeData':_0x56492c}},_0x5df260={'id':_0x10c449['id'],'params':{'unitId':_0x1fb93e,'subUnitId':_0x3f5b61,'shapeId':_0xbc7de,'shapeType':_0x1cb569,'shapeData':_0x1437d1}};return _0x25b75e[_0x2a2ad3(0x2f9)](_0x3261e6['id'],_0x3261e6[_0x2a2ad3(0x3d3)])?(_0x17d391['pushUndoRedo']({'unitID':_0x1fb93e,'undoMutations':[_0x5df260],'redoMutations':[_0x3261e6]}),!0x0):!0x1;}},Ta={'type':_0x2ffb40[_0xb24152(0x38d)],'id':_0xb24152(0x27e),'handler':async(_0x2dfb5a,_0x4fcdbf)=>{const _0x5a907a=_0xb24152;var _0x12b9a1;if(!_0x69d88(_0x2dfb5a[_0x5a907a(0x4b5)](_0x3dd1dc)))return!0x1;let _0x2db9f4=_0x2dfb5a[_0x5a907a(0x4b5)](_0x3e392c)[_0x5a907a(0x148)]()[_0x5a907a(0x114)](_0x38ab31=>_0x38ab31[_0x5a907a(0x1dd)]===_0x23b778[_0x5a907a(0x170)]);if(_0x2db9f4[_0x5a907a(0x424)]!==0x1)return!0x1;let _0x5c3395=_0x2dfb5a[_0x5a907a(0x4b5)](K)['getEditing'](),_0x13747d=(_0x5c3395==null?void 0x0:_0x5c3395[_0x5a907a(0x371)])||_0x2db9f4[0x0][_0x5a907a(0x371)],_0x8f1642=(_0x5c3395==null?void 0x0:_0x5c3395[_0x5a907a(0x4a5)])||_0x2db9f4[0x0][_0x5a907a(0x4a5)],_0x4ad838=(_0x5c3395==null?void 0x0:_0x5c3395[_0x5a907a(0x440)])||_0x2db9f4[0x0][_0x5a907a(0x428)],_0x4f2411=_0x2dfb5a[_0x5a907a(0x4b5)](_0x2acfb5)['getShapeModel'](_0x13747d,_0x8f1642,_0x4ad838);if(!_0x4f2411)return!0x1;let _0x2682a9=_0x4f2411['getShapeTextData']();if(!_0x2682a9||!('dataModel'in _0x2682a9))return!0x1;let _0x4ddc6a=_0x2dfb5a[_0x5a907a(0x4b5)](_0x5e6bce),{value:_0x38898f}=_0x4fcdbf,_0x5cf2bb=_0x4f2411['getShapeType'](),_0x531557=_0x4f2411[_0x5a907a(0x1f5)](),_0x2fe92c={..._0x2682a9[_0x5a907a(0x1f3)],'ha':_0x38898f};return await _0x4ddc6a[_0x5a907a(0x378)](q['id'],{'unitId':_0x13747d,'subUnitId':_0x8f1642,'shapeId':_0x4ad838,'shapeType':_0x5cf2bb,'shapeData':{'shapeText':{'isHorizontal':(_0x12b9a1=_0x2682a9[_0x5a907a(0x275)])==null?!0x0:_0x12b9a1,'dataModel':_0x2fe92c}},'oldShapeJSON':{'oldShapeType':_0x5cf2bb,'oldShapeData':_0x531557}});}},Ea={'type':_0x2ffb40[_0xb24152(0x38d)],'id':_0xb24152(0x184),'handler':async(_0x5419b6,_0x457354)=>{const _0x1c8857=_0xb24152;var _0x12d35f;if(!_0x457354)return!0x1;let {value:_0x31caa2}=_0x457354,_0x1275e5=_0x5419b6[_0x1c8857(0x4b5)](_0x5e6bce),_0x21050a=_0x5419b6[_0x1c8857(0x4b5)](K),_0x403fb7=_0x5419b6[_0x1c8857(0x4b5)](_0x2acfb5),_0x46688b=_0x5419b6[_0x1c8857(0x4b5)](_0x2dae0a),_0x7b2746=_0x21050a[_0x1c8857(0x489)]();if(!_0x7b2746)return!0x1;let {unitId:_0x4f7a66,subUnitId:_0x1e34cc,shapeId:_0x4ce2c6}=_0x7b2746,_0x2b820e=_0x403fb7[_0x1c8857(0x2ce)](_0x4f7a66,_0x1e34cc,_0x4ce2c6);if(!_0x2b820e)return!0x1;let _0x580039=_0x2b820e['getShapeTextData']();if(!_0x580039||!(_0x1c8857(0x1f3)in _0x580039))return!0x1;let _0x346435=_0x580039[_0x1c8857(0x1f3)];if(!_0x346435)return!0x1;let _0x29fce8={..._0x346435,'fs':_0x31caa2},_0x1e1278=await _0x1275e5[_0x1c8857(0x378)](q['id'],{'unitId':_0x4f7a66,'subUnitId':_0x1e34cc,'shapeId':_0x4ce2c6,'shapeData':{'shapeText':{'isHorizontal':(_0x12d35f=_0x580039[_0x1c8857(0x275)])==null?!0x0:_0x12d35f,'dataModel':_0x29fce8}}});if(_0x1e1278){let _0x53b89f=_0x46688b[_0x1c8857(0x2ba)](_0x4f7a66);if(_0x53b89f!=null&&_0x53b89f[_0x1c8857(0x138)]){let _0x35f6b5=_0x32b74c({'unitId':_0x4f7a66,'subUnitId':_0x1e34cc,'drawingId':_0x4ce2c6}),_0x323c3c=_0x53b89f[_0x1c8857(0x138)][_0x1c8857(0x305)](_0x35f6b5);_0x323c3c&&_0x323c3c['makeDirty'](!0x0);}}return _0x1e1278;}},Da={'type':_0x2ffb40[_0xb24152(0x38d)],'id':'sheet.command.set-shape-text-font-size-increase','handler':async _0x296e2c=>{const _0x31e562=_0xb24152;var _0x383b0c;let _0x57ff3f=_0x296e2c[_0x31e562(0x4b5)](K),_0x516f63=_0x296e2c[_0x31e562(0x4b5)](_0x2acfb5),_0x5eeb57=_0x296e2c[_0x31e562(0x4b5)](_0x5e6bce),_0x2d8a61=_0x57ff3f[_0x31e562(0x489)]();if(!_0x2d8a61)return!0x1;let {unitId:_0x224b04,subUnitId:_0x497be3,shapeId:_0x28db71}=_0x2d8a61,_0x205b9e=_0x516f63[_0x31e562(0x2ce)](_0x224b04,_0x497be3,_0x28db71);if(!_0x205b9e)return!0x1;let _0x12dc28=_0x205b9e[_0x31e562(0x47e)]();if(!_0x12dc28||!(_0x31e562(0x1f3)in _0x12dc28))return!0x1;let _0x4f23bc=_0x12dc28[_0x31e562(0x1f3)],_0x591f76=(_0x383b0c=_0x4f23bc==null?void 0x0:_0x4f23bc['fs'])==null?0xe:_0x383b0c,_0x215b69=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x3dd61e=_0x591f76,_0x5f2dd2=_0x215b69['indexOf'](_0x591f76);return _0x5f2dd2!==-0x1&&_0x5f2dd2<_0x215b69[_0x31e562(0x424)]-0x1?_0x3dd61e=_0x215b69[_0x5f2dd2+0x1]:_0x5f2dd2===-0x1&&(_0x3dd61e=Math[_0x31e562(0xf8)](_0x591f76)+0x1),_0x5eeb57[_0x31e562(0x378)](Ea['id'],{'value':_0x3dd61e});}},Oa={'type':_0x2ffb40[_0xb24152(0x38d)],'id':_0xb24152(0x1cf),'handler':async _0x3f4186=>{const _0x33502a=_0xb24152;var _0x5e6289;let _0x2b386d=_0x3f4186[_0x33502a(0x4b5)](K),_0x288794=_0x3f4186[_0x33502a(0x4b5)](_0x2acfb5),_0x44d1c8=_0x3f4186[_0x33502a(0x4b5)](_0x5e6bce),_0xd74242=_0x2b386d[_0x33502a(0x489)]();if(!_0xd74242)return!0x1;let {unitId:_0x3dbd8a,subUnitId:_0x272be9,shapeId:_0x33d882}=_0xd74242,_0x5e4572=_0x288794[_0x33502a(0x2ce)](_0x3dbd8a,_0x272be9,_0x33d882);if(!_0x5e4572)return!0x1;let _0x476d9f=_0x5e4572[_0x33502a(0x47e)]();if(!_0x476d9f||!(_0x33502a(0x1f3)in _0x476d9f))return!0x1;let _0x1a94e4=_0x476d9f[_0x33502a(0x1f3)],_0x797c65=(_0x5e6289=_0x1a94e4==null?void 0x0:_0x1a94e4['fs'])==null?0xe:_0x5e6289,_0x410a97=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x3614b6=_0x797c65,_0x11f5be=_0x410a97[_0x33502a(0x2d2)](_0x797c65);return _0x11f5be!==-0x1&&_0x11f5be>0x0?_0x3614b6=_0x410a97[_0x11f5be-0x1]:_0x11f5be===-0x1&&(_0x3614b6=Math[_0x33502a(0xf8)](_0x797c65)-0x1),_0x3614b6<0x1&&(_0x3614b6=0x1),_0x44d1c8[_0x33502a(0x378)](Ea['id'],{'value':_0x3614b6});}},J={'type':_0x2ffb40[_0xb24152(0x38d)],'id':'sheet.command.set-shape-text-vertical-align','handler':async(_0x535c94,_0x27d56a)=>{const _0x24f0f4=_0xb24152;var _0x43113c;if(!_0x69d88(_0x535c94['get'](_0x3dd1dc)))return!0x1;let _0x260cc8=_0x535c94[_0x24f0f4(0x4b5)](_0x3e392c)[_0x24f0f4(0x148)]()[_0x24f0f4(0x114)](_0x20e4ab=>_0x20e4ab[_0x24f0f4(0x1dd)]===_0x23b778[_0x24f0f4(0x170)]);if(_0x260cc8['length']!==0x1)return!0x1;let _0x54ffc4=_0x535c94[_0x24f0f4(0x4b5)](K)['getEditing'](),_0x11e49e=(_0x54ffc4==null?void 0x0:_0x54ffc4[_0x24f0f4(0x371)])||_0x260cc8[0x0]['unitId'],_0x5adaa8=(_0x54ffc4==null?void 0x0:_0x54ffc4['subUnitId'])||_0x260cc8[0x0][_0x24f0f4(0x4a5)],_0x515f57=(_0x54ffc4==null?void 0x0:_0x54ffc4['shapeId'])||_0x260cc8[0x0][_0x24f0f4(0x428)],_0x47e3fb=_0x535c94['get'](_0x2acfb5)['getShapeModel'](_0x11e49e,_0x5adaa8,_0x515f57);if(!_0x47e3fb)return!0x1;let _0x1eb2cb=_0x47e3fb[_0x24f0f4(0x47e)]();if(!_0x1eb2cb||!('dataModel'in _0x1eb2cb))return!0x1;let _0x1bde1e=_0x535c94[_0x24f0f4(0x4b5)](_0x5e6bce),{value:_0x5091a7}=_0x27d56a,_0xe6aa57=_0x47e3fb['getShapeType'](),_0x39b627=_0x47e3fb[_0x24f0f4(0x1f5)](),_0x287176={..._0x1eb2cb['dataModel'],'va':_0x5091a7};return await _0x1bde1e[_0x24f0f4(0x378)](q['id'],{'unitId':_0x11e49e,'subUnitId':_0x5adaa8,'shapeId':_0x515f57,'shapeType':_0xe6aa57,'shapeData':{'shapeText':{'isHorizontal':(_0x43113c=_0x1eb2cb[_0x24f0f4(0x275)])==null?!0x0:_0x43113c,'dataModel':_0x287176}},'oldShapeJSON':{'oldShapeType':_0xe6aa57,'oldShapeData':_0x39b627}});}},ka={'type':_0x2ffb40[_0xb24152(0x38d)],'id':'sheet.command.shape-doc-align','handler':(_0x2c9379,_0x38daa7)=>{const _0x10fc16=_0xb24152;if(!_0x38daa7)return!0x1;let {value:_0x32a932}=_0x38daa7;return _0x2c9379[_0x10fc16(0x4b5)](_0x5e6bce)[_0x10fc16(0x2f9)](_0x5a801b['id'],{'alignType':_0x32a932});}},Aa={'type':_0x2ffb40[_0xb24152(0x3b9)],'id':_0xb24152(0x1aa),'handler'(){return!0x0;}},ja={'type':_0x2ffb40[_0xb24152(0x3b9)],'id':'sheet.operation.open-sheet-shape-format-panel','handler'(){return!0x0;}},Ma=_0xb24152(0x26b),Na=_0xb24152(0x3ca),Pa=_0x2a83b2(_0xb24152(0x189));function Fa(_0x1bb499,_0x5c17b9,_0xc2a45c,_0x5cdef5,_0x6d897e,_0x667026){const _0x34c57b=_0xb24152;let _0xc7ada5={'unitId':_0x5c17b9,'subUnitId':_0xc2a45c,'shapeId':_0x5cdef5,'shapeData':_0x667026,'oldShapeJSON':_0x6d897e};return _0x1bb499[_0x34c57b(0x378)](q['id'],_0xc7ada5);}function Ia(_0x1b487d,_0x54e8f6,_0x186801,_0x13e561,_0x1b5963,_0x264c04){const _0x4b71ae=_0xb24152;let _0x447dab={'unitId':_0x54e8f6,'subUnitId':_0x186801,'shapeId':_0x13e561,'shapeData':_0x264c04,'oldShapeJSON':_0x1b5963};return _0x1b487d[_0x4b71ae(0x378)](q['id'],_0x447dab);}function La(_0x35c803){const _0x3708b2=_0xb24152;var _0x50e4f8,_0x50a2bd,_0x377908,_0x42b22c;let _0x47d885=(_0x50e4f8=(_0x50a2bd=_0x35c803[_0x3708b2(0x1fb)])==null||(_0x50a2bd=_0x50a2bd[_0x3708b2(0x333)])==null?void 0x0:_0x50a2bd[_0x3708b2(0x424)])==null?0x0:_0x50e4f8,_0x405426=(_0x377908=_0x35c803[_0x3708b2(0x1fb)])==null?void 0x0:_0x377908[_0x3708b2(0x499)];if(_0x405426!=null&&_0x405426[_0x3708b2(0x424)])for(let _0x1c1551 of _0x405426){var _0x1dabc2;_0x1c1551[_0x3708b2(0x229)]=(_0x1dabc2=_0x1c1551[_0x3708b2(0x229)])==null?_0x5cd34e['DEFAULT']:_0x1dabc2;}else _0x35c803[_0x3708b2(0x1fb)]&&(_0x35c803[_0x3708b2(0x1fb)][_0x3708b2(0x499)]=[{'startIndex':Math['max'](0x0,_0x47d885-0x1),'gridType':_0x5cd34e[_0x3708b2(0x46a)]}]);let _0x135132=(_0x42b22c=_0x35c803['body'])==null?void 0x0:_0x42b22c[_0x3708b2(0x246)];if(_0x135132)for(let _0x5ab2a7 of _0x135132){var _0x277c40,_0x12eb3a,_0x5a2051,_0x1221e6,_0x2de7a2,_0x137914,_0x21dfba,_0x40d19d;_0x5ab2a7[_0x3708b2(0x4c4)]={..._0x5ab2a7[_0x3708b2(0x4c4)],'lineSpacing':(_0x277c40=(_0x12eb3a=_0x5ab2a7['paragraphStyle'])==null?void 0x0:_0x12eb3a['lineSpacing'])==null?0x1:_0x277c40,'snapToGrid':(_0x5a2051=(_0x1221e6=_0x5ab2a7[_0x3708b2(0x4c4)])==null?void 0x0:_0x1221e6[_0x3708b2(0x4d5)])==null?_0x4cc797[_0x3708b2(0x4f0)]:_0x5a2051,'spaceAbove':(_0x2de7a2=(_0x137914=_0x5ab2a7['paragraphStyle'])==null?void 0x0:_0x137914[_0x3708b2(0x1dc)])==null?{'v':0x0}:_0x2de7a2,'spaceBelow':(_0x21dfba=(_0x40d19d=_0x5ab2a7[_0x3708b2(0x4c4)])==null?void 0x0:_0x40d19d['spaceBelow'])==null?{'v':0x0}:_0x21dfba};}}function Ra(_0x4ab714){const _0x256a69=_0xb24152;let _0x479a49=_0x4ab714[_0x256a69(0x1fb)],_0x461765=_0x479a49==null?void 0x0:_0x479a49[_0x256a69(0x246)],_0x211866=_0x479a49==null?void 0x0:_0x479a49[_0x256a69(0x333)];if(!_0x479a49||!(_0x461765!=null&&_0x461765['length'])||!_0x211866)return;let _0x49ca13=[];for(let _0x140bea=0x0;_0x140bea<_0x211866[_0x256a69(0x424)];_0x140bea++)_0x211866[_0x140bea]==='\x0d'&&_0x49ca13[_0x256a69(0x3ad)](_0x140bea);_0x49ca13[_0x256a69(0x424)]===_0x461765[_0x256a69(0x424)]&&(_0x479a49[_0x256a69(0x246)]=_0x461765[_0x256a69(0x2f2)]((_0x1c30c1,_0x4634bb)=>({..._0x1c30c1,'startIndex':_0x49ca13[_0x4634bb]})));}function za(_0x5ce333,_0x259112){const _0x3acd76=_0xb24152;var _0xb52765,_0x6a51de,_0x4bb722;let {isHorizontal:_0x33f54b,textRect:_0x4abb3d,verticalAlign:_0x59e4ca}=_0x259112,_0x2d9792=_0x33f54b?_0x4abb3d[_0x3acd76(0x41c)]:_0x4abb3d[_0x3acd76(0x19e)],_0x2572b1=_0xeca26c['deepClone'](_0x5ce333),_0x1f014=(_0xb52765=_0x2572b1[_0x3acd76(0x4b0)])==null?{}:_0xb52765,_0x453e5b={..._0x1f014[_0x3acd76(0x112)],'centerAngle':_0x33f54b?0x0:_0x31b71d,'vertexAngle':_0x33f54b?0x0:_0x31b71d,'wrapStrategy':_0x591546[_0x3acd76(0x32a)],'zeroWidthParagraphBreak':(_0x6a51de=(_0x4bb722=_0x1f014[_0x3acd76(0x112)])==null?void 0x0:_0x4bb722[_0x3acd76(0x233)])==null?_0x4cc797['TRUE']:_0x6a51de};if(_0x59e4ca!==void 0x0&&(_0x453e5b[_0x3acd76(0x359)]=_0x59e4ca),_0x259112[_0x3acd76(0x34a)]!==void 0x0){var _0x4b1bd2;_0x453e5b[_0x3acd76(0x34a)]=_0x259112[_0x3acd76(0x34a)];let _0x3b919b=(_0x4b1bd2=_0x2572b1[_0x3acd76(0x1fb)])==null?void 0x0:_0x4b1bd2[_0x3acd76(0x246)];if(_0x3b919b){for(let _0x48e773 of _0x3b919b)_0x48e773[_0x3acd76(0x4c4)]||(_0x48e773[_0x3acd76(0x4c4)]={}),_0x48e773['paragraphStyle']['horizontalAlign']=_0x259112[_0x3acd76(0x34a)];}}return _0x2572b1[_0x3acd76(0x4b0)]={..._0x1f014,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2d9792,'height':0x1/0x0},'renderConfig':_0x453e5b},Ra(_0x2572b1),La(_0x2572b1),_0x2572b1;}var Ba=class extends _0x5786d8{constructor(_0x155f1a,_0x47787e){const _0x45522a=_0xb24152;super(_0x155f1a,_0x47787e),G(this,_0x45522a(0x483),void 0x0),G(this,_0x45522a(0x4bb),!0x0),G(this,_0x45522a(0x44c),_0x23b778[_0x45522a(0x170)]),G(this,_0x45522a(0x304),!0x0),this[_0x45522a(0x483)]={..._0x47787e},this[_0x45522a(0x251)]();}[_0xb24152(0x251)](){const _0x3ae4ca=_0xb24152;this[_0x3ae4ca(0x15c)]['subscribeEvent'](_0x131799=>{const _0x5c3089=_0x3ae4ca;this[_0x5c3089(0x391)](_0x131799);});}[_0xb24152(0x31c)](_0x3cd57a){const _0x13fe79=_0xb24152;this[_0x13fe79(0x483)]['prstGeom']=_0x3cd57a;}[_0xb24152(0x272)](_0xd2fa34){const _0x2360c4=_0xb24152;this[_0x2360c4(0x483)]['isEditing']=_0xd2fa34,this[_0x2360c4(0x28b)](!0x0);}get[_0xb24152(0x371)](){const _0x39ea2d=_0xb24152;return this[_0x39ea2d(0x483)]['unitId'];}get[_0xb24152(0x4a5)](){const _0x1bed33=_0xb24152;return this[_0x1bed33(0x483)][_0x1bed33(0x4a5)];}[_0xb24152(0x391)](_0x567e91){const _0x15c5a0=_0xb24152;if(this[_0x15c5a0(0x483)][_0x15c5a0(0x312)]==null||!this[_0x15c5a0(0x4bb)])return;let {width:_0x2c276c,height:_0x4f044a}=this,{width:_0xd19fee=0x0,height:_0x43fc5a=0x0}=_0x567e91[_0x15c5a0(0x116)],{left:_0x4d7b10=0x0,top:_0x3c2947=0x0,right:_0x3db33f=0x0,bottom:_0xf6c785=0x0}=this[_0x15c5a0(0x483)][_0x15c5a0(0x312)],_0x232512=_0x4d7b10,_0x5b6fa2=_0x3c2947,_0x5f373d=_0x3db33f,_0x452cbd=_0xf6c785,_0x463273=!0x1;if(_0xd19fee!==0x0&&_0xd19fee!==_0x2c276c){let _0xc50bd6=_0x4d7b10/_0xd19fee,_0x1d1423=_0x3db33f/_0xd19fee;_0x232512=_0x2c276c*_0xc50bd6,_0x5f373d=_0x2c276c*_0x1d1423,_0x463273=!0x0;}if(_0x43fc5a!==0x0&&_0x43fc5a!==_0x4f044a){let _0x33190d=_0x3c2947/_0x43fc5a,_0x577e25=_0xf6c785/_0x43fc5a;_0x5b6fa2=_0x4f044a*_0x33190d,_0x452cbd=_0x4f044a*_0x577e25,_0x463273=!0x0;}_0x463273&&this['setSrcRect']({'left':_0x232512,'top':_0x5b6fa2,'right':_0x5f373d,'bottom':_0x452cbd});}['setSrcRect'](_0x1233c8){const _0x3127ae=_0xb24152;this[_0x3127ae(0x483)][_0x3127ae(0x312)]=_0x1233c8,this[_0x3127ae(0x28b)](!0x0);}[_0xb24152(0x42c)](_0xfe5f73){const _0x4f9d32=_0xb24152;this[_0x4f9d32(0x483)][_0x4f9d32(0x1f6)]=_0xfe5f73,this['makeDirty'](!0x0);}set[_0xb24152(0x1e4)](_0x5cc151){const _0x3c9a6a=_0xb24152;this[_0x3c9a6a(0xe8)]=_0x5cc151;}get[_0xb24152(0x1e4)](){const _0x250d61=_0xb24152;this[_0x250d61(0xe8)]||this[_0x250d61(0x36d)]();let _0x10a9a3=this[_0x250d61(0xe8)][_0x250d61(0x17d)]();return this[_0x250d61(0x3c0)](_0x10a9a3);}get['shapeModel'](){return this['_props']['shapeModel'];}get[_0xb24152(0x440)](){return this['_props']['shapeId'];}get[_0xb24152(0x2e8)](){const _0x10577c=_0xb24152;return _0x5e305e[_0x10577c(0x40c)];}[_0xb24152(0x218)](_0x2a147e,_0x97f62b,_0x22f865,_0xd22942){const _0x423aa7=_0xb24152;let _0x2a1ad6=this[_0x423aa7(0x483)][_0x423aa7(0x26a)];if(!_0x2a1ad6||!_0x97f62b)return;let _0x427422=_0x22f865==null?this[_0x423aa7(0x41c)]:_0x22f865,_0x4f5f4c=_0xd22942==null?this['height']:_0xd22942,_0xa16f57={'shapeType':_0x2a1ad6[_0x423aa7(0xf9)](),'width':_0x427422,'height':_0x4f5f4c},_0x1931db={'renderMode':_0x47351f[_0x423aa7(0x451)],'oKey':this['oKey'],'image':this[_0x423aa7(0x483)][_0x423aa7(0x1f6)],'angle':this[_0x423aa7(0xfe)]};_0x2a1ad6[_0x423aa7(0x37f)](_0xa16f57),_0x2a147e[_0x423aa7(0x3e5)]();let _0x5cfb33={'top':0x0,'left':0x0,'width':_0x427422,'height':_0x4f5f4c};_0x2a1ad6[_0x423aa7(0x109)](_0x2a147e,_0x5cfb33,_0x1931db),_0x2a147e[_0x423aa7(0x1b1)]();let _0x435cca=_0x2a1ad6[_0x423aa7(0x47e)](),_0x4c1e5b=_0x2a1ad6[_0x423aa7(0x1f4)](_0x5cfb33),_0x240ba0=_0x2a1ad6[_0x423aa7(0xe7)]();if(_0x435cca&&_0x4c1e5b&&!_0x240ba0){_0x2a147e[_0x423aa7(0x3e5)](),this[_0x423aa7(0x1b4)]()[_0x423aa7(0x366)]&&_0x2a147e[_0x423aa7(0x459)](-0x1,0x1);let _0x420c4f=_0x427422/0x2,_0x8b1146=_0x4f5f4c/0x2;_0x2a147e[_0x423aa7(0x245)](-_0x420c4f,-_0x8b1146),_0x2a147e['beginPath'](),this['_drawShapeText'](_0x2a147e,_0x435cca,_0x4c1e5b),_0x2a147e['restore']();}}[_0xb24152(0x3b0)](_0x460023){}[_0xb24152(0x350)](_0x120b41,_0x42df9a,_0x38cbb6){const _0x4a16ac=_0xb24152;this['_props'][_0x4a16ac(0x211)]||(_0x4a16ac(0xeb)in _0x42df9a&&_0x42df9a[_0x4a16ac(0xeb)]===!0x1?this[_0x4a16ac(0x181)](_0x120b41,_0x42df9a,_0x38cbb6):this[_0x4a16ac(0x409)](_0x120b41,_0x42df9a,_0x38cbb6));}[_0xb24152(0x181)](_0x5a3948,_0x25ad97,_0xf14a90){}[_0xb24152(0x409)](_0x502752,_0x5287f1,_0x1d544f){const _0x55cb47=_0xb24152;var _0x24a0c2,_0x49afa7;let _0x5ebb30=this[_0x55cb47(0x483)][_0x55cb47(0x40d)];if(!_0x5287f1[_0x55cb47(0x1f3)]||!_0x5ebb30)return;let _0x3dfa14=_0x5287f1[_0x55cb47(0x1f3)],_0x269b3d=_0x3dfa14[_0x55cb47(0x48e)],_0x44d077=(_0x24a0c2=_0x3dfa14['va'])==null?_0x223565[_0x55cb47(0x447)]:_0x24a0c2,_0x44fc60=(_0x49afa7=_0x3dfa14['ha'])==null?_0x1cb9e9[_0x55cb47(0x480)]:_0x49afa7;if(!_0x269b3d)return;let _0x4e6445=_0x5287f1[_0x55cb47(0x275)],_0x481991=new _0x45d846(za(_0x269b3d,{'isHorizontal':_0x4e6445!==!0x1,'textRect':_0x1d544f,'verticalAlign':_0x44d077,'horizontalAlign':_0x44fc60})),_0x49b67d=new _0x200a26(_0x481991),_0x47d745=_0x1aec54[_0x55cb47(0xfd)](_0x49b67d,_0x5ebb30);_0x47d745[_0x55cb47(0x175)]();let _0x259a55=new _0x186102(_0x55cb47(0x3a2)+this['oKey'],_0x47d745,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x259a55['resize'](_0x1d544f[_0x55cb47(0x41c)],_0x1d544f[_0x55cb47(0x19e)]),_0x502752['save'](),_0x502752[_0x55cb47(0x21a)](_0x1d544f[_0x55cb47(0x17a)],_0x1d544f[_0x55cb47(0x408)]),_0x502752['beginPath'](),_0x502752[_0x55cb47(0x234)](0x0,0x0,_0x1d544f['width'],_0x1d544f['height']),_0x502752[_0x55cb47(0x237)](),_0x259a55[_0x55cb47(0x146)](_0x502752),_0x502752['restore'](),_0x259a55[_0x55cb47(0x3fd)](),_0x47d745[_0x55cb47(0x3fd)](),_0x49b67d[_0x55cb47(0x3fd)](),_0x481991[_0x55cb47(0x3fd)]();}[_0xb24152(0x109)](_0x81ceaa,_0x462704,_0x3f9c6d=!0x1){const _0x270b48=_0xb24152;if(!this[_0x270b48(0x1e8)])return this[_0x270b48(0x28b)](!0x1),this;let {width:_0xb41191,height:_0x1ae6dd,left:_0x57d30f,top:_0x387f2e}=this,_0x1a18af=this[_0x270b48(0x4d7)]();if(_0xb41191=_0x1a18af['width'],_0x1ae6dd=_0x1a18af['height'],_0x57d30f=_0x1a18af[_0x270b48(0x17a)],_0x387f2e=_0x1a18af[_0x270b48(0x408)],this['isRender'](_0x462704)){let {top:_0x27d8a1,left:_0x5b0a83,bottom:_0x44f30d,right:_0x1c88c1}=_0x462704[_0x270b48(0x121)];if(_0xb41191+this[_0x270b48(0x349)]+_0x57d30f<_0x5b0a83||_0x1c88c1<_0x57d30f||_0x1ae6dd+this[_0x270b48(0x349)]+_0x387f2e<_0x27d8a1||_0x44f30d<_0x387f2e)return this;}let _0x50878d=_0x57d30f+_0xb41191/0x2,_0x15d2db=_0x387f2e+_0x1ae6dd/0x2,_0x318313=this['transform'][_0x270b48(0x11e)]();if(this[_0x270b48(0x483)][_0x270b48(0x211)]){let _0x469e30=this[_0x270b48(0x1b4)](),_0x3fa92a=new _0x25068e();_0x3fa92a['composeMatrix']({..._0x469e30}),_0x318313=_0x3fa92a[_0x270b48(0x11e)]();}return _0x81ceaa['save'](),this[_0x270b48(0x483)][_0x270b48(0x26a)][_0x270b48(0x329)]===!0x0||_0x81ceaa[_0x270b48(0x1e4)](_0x318313[0x0],_0x318313[0x1],_0x318313[0x2],_0x318313[0x3],_0x50878d,_0x15d2db),this['_draw'](_0x81ceaa,_0x462704,_0xb41191,_0x1ae6dd),_0x81ceaa[_0x270b48(0x1b1)](),this['makeDirty'](!0x1),this;}[_0xb24152(0x49e)](_0x29fb62){const _0x574370=_0xb24152;let {left:_0x587a40,top:_0x3be913,width:_0x480fde,height:_0x494624}=this[_0x574370(0x4d7)](),_0x5aa7e4=this[_0x574370(0x1e4)][_0x574370(0x11e)](),_0x5ac466=_0x587a40+_0x480fde/0x2,_0x54baa8=_0x3be913+_0x494624/0x2,_0x5dda66=new _0x25068e([_0x5aa7e4[0x0],_0x5aa7e4[0x1],_0x5aa7e4[0x2],_0x5aa7e4[0x3],_0x5ac466,_0x54baa8]),_0x21437a=this['getParent']();return(this[_0x574370(0x39d)]&&(_0x21437a==null?void 0x0:_0x21437a[_0x574370(0x2e8)])===_0x5e305e[_0x574370(0x3dd)]?_0x21437a[_0x574370(0x341)]['multiply'](_0x5dda66):_0x5dda66)[_0x574370(0x4b1)]()[_0x574370(0x15d)](_0x29fb62);}[_0xb24152(0x12c)](_0xc25c99){const _0x18daba=_0xb24152;let {left:_0x5c9bba,top:_0x5b839f,width:_0x521027,height:_0x11d261}=this[_0x18daba(0x4d7)](),_0x224bbc=_0x5c9bba+_0x521027/0x2,_0x62d10e=_0x5b839f+_0x11d261/0x2,_0x14770e=this['transform'][_0x18daba(0x11e)](),_0x13f075=new _0x25068e([_0x14770e[0x0],_0x14770e[0x1],_0x14770e[0x2],_0x14770e[0x3],_0x224bbc,_0x62d10e]),_0x1b7c55=this[_0x18daba(0x4e6)](),_0x5a1c44=(this[_0x18daba(0x39d)]&&(_0x1b7c55==null?void 0x0:_0x1b7c55[_0x18daba(0x2e8)])===_0x5e305e[_0x18daba(0x3dd)]?_0x1b7c55[_0x18daba(0x341)][_0x18daba(0x45d)](_0x13f075):_0x13f075)[_0x18daba(0x4b1)]()[_0x18daba(0x15d)](_0xc25c99),_0x552604=_0x521027/0x2,_0x4b347d=_0x11d261/0x2,_0x13e493=this['_props'][_0x18daba(0x26a)];return _0x13e493&&_0x13e493[_0x18daba(0xe7)]()?_0x13e493[_0x18daba(0x100)](_0x5a1c44['x'],_0x5a1c44['y'],_0x521027,_0x11d261):_0x5a1c44['x']>=-_0x552604-this[_0x18daba(0x349)]/0x2&&_0x5a1c44['x']<=_0x552604+this['strokeWidth']/0x2&&_0x5a1c44['y']>=-_0x4b347d-this[_0x18daba(0x349)]/0x2&&_0x5a1c44['y']<=_0x4b347d+this[_0x18daba(0x349)]/0x2;}[_0xb24152(0x3fd)](){const _0xd9cb7e=_0xb24152;this[_0xd9cb7e(0x483)][_0xd9cb7e(0x26a)]=null,super['dispose']();}},Va=class extends _0x5786d8{constructor(_0x16f81b,_0x56eceb){const _0x30ef4e=_0xb24152;super(_0x16f81b,_0x56eceb),G(this,_0x30ef4e(0x3f6),null),G(this,_0x30ef4e(0x282),null),G(this,_0x30ef4e(0x337),null),G(this,_0x30ef4e(0x3e7),null),_0x56eceb&&this['setShapeProps'](_0x56eceb);}[_0xb24152(0x49c)](){const _0x5a9a8a=_0xb24152;return{'unitId':this[_0x5a9a8a(0x337)],'subUnitId':this[_0x5a9a8a(0x3e7)],'drawingId':this['_shapeId']};}[_0xb24152(0x4cd)](_0x39f5e9){const _0x3c9a5c=_0xb24152;_0x39f5e9[_0x3c9a5c(0x440)]!==void 0x0&&(this['_shapeId']=_0x39f5e9[_0x3c9a5c(0x440)]),_0x39f5e9['adjName']!==void 0x0&&(this['_adjName']=_0x39f5e9[_0x3c9a5c(0x178)]),_0x39f5e9['unitId']!==void 0x0&&(this[_0x3c9a5c(0x337)]=_0x39f5e9[_0x3c9a5c(0x371)]),_0x39f5e9['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x39f5e9[_0x3c9a5c(0x4a5)]),this[_0x3c9a5c(0x36b)]({'width':_0x39f5e9[_0x3c9a5c(0x41c)],'height':_0x39f5e9[_0x3c9a5c(0x19e)]});}[_0xb24152(0x218)](_0x4ae9cd){const _0xed0c4b=_0xb24152;_0x1de444['drawWith'](_0x4ae9cd,{'radius':_0x2dd83f[_0xed0c4b(0x348)],'fill':_0x2dd83f[_0xed0c4b(0x427)],'stroke':_0x2dd83f[_0xed0c4b(0x25f)],'strokeWidth':0x1,'evented':!0x0});}};function Y(_0x566125,_0x4520c6){return function(_0x5d3eeb,_0x49db19){_0x4520c6(_0x5d3eeb,_0x49db19,_0x566125);};}function X(_0x250482,_0xb522ee,_0x5d3594,_0x44ca64){const _0x4f1875=_0xb24152;var _0x5e66bd=arguments[_0x4f1875(0x424)],_0x291a96=_0x5e66bd<0x3?_0xb522ee:_0x44ca64===null?_0x44ca64=Object[_0x4f1875(0x4a7)](_0xb522ee,_0x5d3594):_0x44ca64,_0x5015d5;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x4f1875(0x2b5))_0x291a96=Reflect['decorate'](_0x250482,_0xb522ee,_0x5d3594,_0x44ca64);else{for(var _0xfa6e78=_0x250482[_0x4f1875(0x424)]-0x1;_0xfa6e78>=0x0;_0xfa6e78--)(_0x5015d5=_0x250482[_0xfa6e78])&&(_0x291a96=(_0x5e66bd<0x3?_0x5015d5(_0x291a96):_0x5e66bd>0x3?_0x5015d5(_0xb522ee,_0x5d3594,_0x291a96):_0x5015d5(_0xb522ee,_0x5d3594))||_0x291a96);}return _0x5e66bd>0x3&&_0x291a96&&Object[_0x4f1875(0x376)](_0xb522ee,_0x5d3594,_0x291a96),_0x291a96;}let Z=class extends _0x1fdd93{constructor(_0x348cef,_0x543d09,_0xea6eec,_0x5ca269,_0x58347f){const _0x253027=_0xb24152;super(),this[_0x253027(0x2a2)]=_0x348cef,this[_0x253027(0x288)]=_0x543d09,this[_0x253027(0x4be)]=_0xea6eec,this[_0x253027(0x2c7)]=_0x5ca269,this['_urlImageService']=_0x58347f;}[_0xb24152(0x2d5)](_0x57be3f,_0x3a8ac3){const _0x46eb97=_0xb24152;let {transform:_0x17b103,drawingType:_0x3cdc9c,srcRect:_0x299f16,prstGeom:_0x4ea000,groupId:_0x5a8ed7,unitId:_0x367aab,subUnitId:_0x4e6710,drawingId:_0x313e6f,isMultiTransform:_0x42fc3b,transforms:_0x4ee2a1,hidden:_0x331604}=_0x57be3f;if(_0x3cdc9c!==_0x23b778[_0x46eb97(0x170)]||!this[_0x46eb97(0x2a2)][_0x46eb97(0x31d)]()||_0x17b103==null)return;let _0x3302a9=_0x42fc3b&&_0x4ee2a1?_0x4ee2a1:[_0x17b103],_0x3aedf8=[];for(let _0x24610e of _0x3302a9){let {left:_0x4cf822,top:_0x1d4299,width:_0x391b29,height:_0x27628f,angle:_0x57906a,flipX:_0x20d5e6,flipY:_0x3a7c96,skewX:_0x1ec9f9,skewY:_0x5e6623}=_0x24610e,_0x1e2bfb=_0x3302a9[_0x46eb97(0x2d2)](_0x24610e),_0x59d098=_0x32b74c({'unitId':_0x367aab,'subUnitId':_0x4e6710,'drawingId':_0x313e6f},_0x42fc3b?_0x1e2bfb:void 0x0),_0x2ea440=_0x3a8ac3[_0x46eb97(0x305)](_0x59d098);if(_0x2ea440!=null){_0x2ea440[_0x46eb97(0x36b)]({'left':_0x4cf822,'top':_0x1d4299,'width':_0x391b29,'height':_0x27628f,'angle':_0x57906a,'flipX':_0x20d5e6,'flipY':_0x3a7c96,'skewX':_0x1ec9f9,'skewY':_0x5e6623});continue;}let _0x5082e2=this[_0x46eb97(0x2a2)][_0x46eb97(0x1a0)](_0x367aab,_0x4e6710),_0x287e6f=_0x5082e2[_0x46eb97(0x2d2)](_0x313e6f);if(_0x3a8ac3[_0x46eb97(0x305)](_0x59d098)||!this[_0x46eb97(0x2a2)][_0x46eb97(0x31d)]())continue;let _0x58e51e=this['_sheetsShapeService'][_0x46eb97(0x2ce)](_0x367aab,_0x4e6710,_0x313e6f);if(!_0x58e51e)continue;let _0x543761=new Ba(_0x59d098,{..._0x59a416(_0x58e51e[_0x46eb97(0xf9)]())?{..._0x24610e,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x24610e},'zIndex':_0x287e6f===-0x1?_0x5082e2['length']-0x1:_0x287e6f,'shapeModel':_0x58e51e,'localeService':this[_0x46eb97(0x4be)],'shapeId':_0x313e6f,'unitId':_0x367aab,'subUnitId':_0x4e6710,'visible':_0x331604!==!0x0});_0x3a8ac3[_0x46eb97(0x150)](_0x543761,_0x536557),this[_0x46eb97(0x2a2)][_0x46eb97(0x174)]()&&_0x3a8ac3[_0x46eb97(0x1cb)](_0x543761),_0x5a8ed7&&_0x362e26({'drawingId':_0x5a8ed7,'unitId':_0x367aab,'subUnitId':_0x4e6710},_0x543761,_0x3a8ac3,this[_0x46eb97(0x2a2)]),_0x4ea000!=null&&_0x543761[_0x46eb97(0x31c)](_0x4ea000),_0x299f16!=null&&_0x543761[_0x46eb97(0x1e2)](_0x299f16),this[_0x46eb97(0xf7)](_0x543761,_0x58e51e[_0x46eb97(0x1f5)]()),_0x3aedf8['push'](_0x543761);}return _0x3aedf8;}[_0xb24152(0xf7)](_0x5bad14,_0x596267){const _0x302b83=_0xb24152;var _0x5a7142;let _0xaf73c1=_0x596267[_0x302b83(0x22d)];if(!_0xaf73c1||_0xaf73c1['fillType']!==_0x573481[_0x302b83(0x356)]||!_0xaf73c1[_0x302b83(0x4d9)])return;let _0x174ea9=_0xaf73c1['fillImageSource'],_0x5e007e=(_0x5a7142=_0xaf73c1[_0x302b83(0x133)])==null?_0xeadb0f[_0x302b83(0x4ef)]:_0x5a7142,_0x4043c8=this['_imageIoService'][_0x302b83(0x2cc)](_0x174ea9,_0x5e007e);if(_0x4043c8){_0x5bad14[_0x302b83(0x42c)](_0x4043c8);return;}this['_loadAndSetImage'](_0x5bad14,_0x174ea9,_0x5e007e);}async[_0xb24152(0x3f2)](_0xfc705c,_0x1f097f,_0x2dcedd){const _0x1dfda0=_0xb24152;let _0x343c57;try{if(_0x2dcedd===_0xeadb0f[_0x1dfda0(0x4c7)])_0x343c57=await this[_0x1dfda0(0x2c7)][_0x1dfda0(0x4a1)](_0x1f097f);else{if(_0x2dcedd===_0xeadb0f[_0x1dfda0(0x4ef)])try{_0x343c57=await this['_urlImageService']['getImage'](_0x1f097f);}catch{_0x343c57=_0x1f097f;}else _0x343c57=_0x1f097f;}}catch(_0x3e474c){console[_0x1dfda0(0x22e)](_0x1dfda0(0x463),_0x3e474c);return;}let _0x2c4b1e=new window[(_0x1dfda0(0x4ce))]();_0x2c4b1e[_0x1dfda0(0x11d)]=()=>{const _0x175497=_0x1dfda0;this[_0x175497(0x2c7)]['addImageSourceCache'](_0x1f097f,_0x2dcedd,_0x2c4b1e),_0xfc705c[_0x175497(0x42c)](_0x2c4b1e);},_0x2c4b1e['onerror']=()=>{const _0x18bff6=_0x1dfda0;console[_0x18bff6(0x22e)](_0x18bff6(0x41e),_0x1f097f);},_0x2c4b1e['src']=_0x343c57;}};Z=X([Y(0x0,_0x1f7427),Y(0x1,_0x4429c1(_0x2acfb5)),Y(0x2,_0x4429c1(_0x46ddff)),Y(0x3,_0x40ee49),Y(0x4,_0x11ed25)],Z);let Ha=class extends _0x1fdd93{constructor(_0x1df943,_0x26bcab,_0x337398,_0x2a59c0,_0x5433ac,_0x303b26,_0x345ec0,_0xf12ae4){const _0x26a2ba=_0xb24152;super(),this['_context']=_0x1df943,this[_0x26a2ba(0x286)]=_0x26bcab,this[_0x26a2ba(0x2a2)]=_0x337398,this[_0x26a2ba(0x288)]=_0x2a59c0,this[_0x26a2ba(0x2b9)]=_0x5433ac,this[_0x26a2ba(0xf1)]=_0x303b26,this[_0x26a2ba(0x295)]=_0x345ec0,this[_0x26a2ba(0x12a)]=_0xf12ae4,G(this,_0x26a2ba(0x13c),null),G(this,'_unitId',null),G(this,'_subUnitId',null),G(this,_0x26a2ba(0x122),void 0x0),G(this,_0x26a2ba(0x204),[]),G(this,'_baseShapeLeft',0x0),G(this,_0x26a2ba(0xf6),0x0),G(this,_0x26a2ba(0x3a0),0x0),G(this,'_baseShapeHeight',0x0),G(this,_0x26a2ba(0x2bd),!0x1),G(this,'_activeAdjustInfo',void 0x0),G(this,'_activeShapeModel',void 0x0),G(this,_0x26a2ba(0x11f),void 0x0),G(this,_0x26a2ba(0x367),void 0x0),G(this,'_isShouldShowDrawingShapeAdjust',!0x1),this[_0x26a2ba(0x20d)](),this[_0x26a2ba(0x46c)]();}[_0xb24152(0x2e7)](_0xbaaed3,_0x4f4956,_0x3a8d23){const _0x2e7437=_0xb24152;let _0x195c9d=this[_0x2e7437(0x288)][_0x2e7437(0x2ce)](_0xbaaed3,_0x4f4956,_0x3a8d23);if(_0x195c9d)return _0x195c9d[_0x2e7437(0x3b0)]();}['clearAdjustControls'](){this['_clearShapeAdjustControls']();}[_0xb24152(0x294)](){const _0x5eb308=_0xb24152;this[_0x5eb308(0x27a)](!0x0);}[_0xb24152(0xea)](_0x410d34){this['_isShouldShowDrawingShapeAdjust']=_0x410d34;}[_0xb24152(0x2a6)](_0x4ac4b4,_0x5cfed9,_0x276c62,_0x1946a5){const _0x197f59=_0xb24152;let _0x2949b6=this[_0x197f59(0x288)][_0x197f59(0x2ce)](_0x4ac4b4,_0x5cfed9,_0x276c62);if(_0x2949b6)return _0x2949b6[_0x197f59(0x438)](_0x1946a5);}[_0xb24152(0x420)](_0x2270d3=!0x1){const _0x40ba6c=_0xb24152;if(this[_0x40ba6c(0x337)]===null||this[_0x40ba6c(0x3e7)]===null||this[_0x40ba6c(0x13c)]===null)return;let _0x51e9a2=this[_0x40ba6c(0x2b9)][_0x40ba6c(0x2ba)](this[_0x40ba6c(0x337)]);if(!_0x51e9a2||!_0x51e9a2[_0x40ba6c(0x394)](_0x2948b6)[_0x40ba6c(0x3e6)]())return;let {scene:_0x19830f}=_0x51e9a2,_0x4107ed={'unitId':this[_0x40ba6c(0x337)],'subUnitId':this[_0x40ba6c(0x3e7)],'drawingId':this['_activeShapeId']},_0x5d0f95=this[_0x40ba6c(0x2a2)]['getDrawingByParam'](_0x4107ed),{transform:_0x42c6b0}=_0x5d0f95;if(!_0x42c6b0||_0x5d0f95['drawingType']!==_0x23b778[_0x40ba6c(0x170)])return;let {left:_0x54215e,top:_0x4984d7,width:_0x4ab6d6,height:_0x1beb8b,flipX:_0x1e5ebb,flipY:_0xb659b0,angle:_0x46d28b=0x0}=_0x42c6b0;if(_0x54215e===void 0x0||_0x4984d7===void 0x0)return;_0x2270d3&&(this[_0x40ba6c(0x122)]=this[_0x40ba6c(0x2e7)](this['_unitId'],this['_subUnitId'],this[_0x40ba6c(0x13c)]));let _0x2d5712=this['_activeShapeAdjustPointList'];for(let _0x16925e=0x0;_0x16925e<_0x2d5712['length'];_0x16925e++){let _0x1a7a7f=_0x2d5712[_0x16925e],_0x40dfc1=_0x1a7a7f['x'],_0x15eb69=_0x1a7a7f['y'];if(_0x1e5ebb&&(_0x40dfc1=(_0x4ab6d6||0x0)-_0x40dfc1),_0xb659b0&&(_0x15eb69=(_0x1beb8b||0x0)-_0x15eb69),_0x46d28b!==0x0){let _0x1eee5e=(_0x4ab6d6||0x0)/0x2,_0x37608e=(_0x1beb8b||0x0)/0x2,_0x23f9e8=_0x46d28b*Math['PI']/0xb4,_0x40f8a8=Math[_0x40ba6c(0x1af)](_0x23f9e8),_0xd5620a=Math[_0x40ba6c(0x12f)](_0x23f9e8),_0x2f06ba=_0x40dfc1-_0x1eee5e,_0x1ef82c=_0x15eb69-_0x37608e;_0x40dfc1=_0x1eee5e+(_0x2f06ba*_0x40f8a8-_0x1ef82c*_0xd5620a),_0x15eb69=_0x37608e+(_0x2f06ba*_0xd5620a+_0x1ef82c*_0x40f8a8);}let _0x56ed2d={'x':_0x40dfc1,'y':_0x15eb69,'adjName':_0x1a7a7f['adjName']};this[_0x40ba6c(0x13b)](_0x19830f,_0x56ed2d,_0x56ed2d[_0x40ba6c(0x178)],_0x54215e,_0x4984d7,this[_0x40ba6c(0x337)],this[_0x40ba6c(0x3e7)]);}}[_0xb24152(0x27a)](_0x58a790=!0x1){const _0x4b8063=_0xb24152;_0x58a790&&(this[_0x4b8063(0x2d3)](),this[_0x4b8063(0x420)](_0x58a790));}[_0xb24152(0x13b)](_0x507a0c,_0x782136,_0x1c9ab5,_0x59ef0e,_0x5be02c,_0x57cc48,_0x19dfdc){const _0x2fae27=_0xb24152;if(!this['_activeShapeId'])return;let _0x589ea7=_0x507a0c[_0x2fae27(0x305)]('shape-adjust-point-'+this[_0x2fae27(0x13c)]+'-'+_0x1c9ab5);if(_0x589ea7){_0x589ea7['transformByState']({'left':_0x782136['x']+_0x59ef0e-_0x2dd83f[_0x2fae27(0x348)],'top':_0x782136['y']+_0x5be02c-_0x2dd83f[_0x2fae27(0x348)]});return;}let _0x4d5b6e={'left':_0x782136['x']+_0x59ef0e-_0x2dd83f[_0x2fae27(0x348)],'top':_0x782136['y']+_0x5be02c-_0x2dd83f[_0x2fae27(0x348)],'adjName':_0x1c9ab5,'shapeId':this['_activeShapeId'],'unitId':_0x57cc48,'subUnitId':_0x19dfdc,'width':_0x2dd83f[_0x2fae27(0x348)]+0x8,'height':_0x2dd83f[_0x2fae27(0x348)]+0x8,'zIndex':_0x536557+0x1,'evented':!0x0},_0x4dfbc4=new Va(_0x2fae27(0x322)+this['_activeShapeId']+'-'+_0x1c9ab5,_0x4d5b6e);this[_0x2fae27(0x204)]['push'](_0x4dfbc4),this[_0x2fae27(0x4b6)](_0x4dfbc4,_0x507a0c,_0x1c9ab5),_0x507a0c['addObject'](_0x4dfbc4,_0x536557+0x1);}[_0xb24152(0x2d3)](){const _0x18701f=_0xb24152;this[_0x18701f(0x204)][_0x18701f(0x424)]!==0x0&&(this['_shapes'][_0x18701f(0x4fa)](_0x51e09c=>{const _0x24176e=_0x18701f;_0x51e09c[_0x24176e(0x3fd)]();}),this[_0x18701f(0x204)]=[]);}[_0xb24152(0x455)](){const _0x16e5dc=_0xb24152;this[_0x16e5dc(0x420)]();}['_getScrollInfo'](_0x7eb67c,_0x8b957a){const _0x2eb4ea=_0xb24152;var _0x465a2b;let _0x48bab9={'x':0x0,'y':0x0};if(!_0x7eb67c||!_0x8b957a)return _0x48bab9;let _0x281648=this['_renderManagerService']['getRenderById'](_0x7eb67c);if(!_0x281648||!_0x281648['with'](_0x2948b6)[_0x2eb4ea(0x213)](_0x8b957a))return _0x48bab9;let _0x1ef6e6=_0x281648[_0x2eb4ea(0x394)](_0x163695),_0x3a3986=_0x1ef6e6==null?void 0x0:_0x1ef6e6['getCurrentScrollState']();if(!_0x3a3986)return _0x48bab9;let _0x94b070=(_0x465a2b=this[_0x2eb4ea(0x295)][_0x2eb4ea(0x257)](_0x7eb67c))==null?void 0x0:_0x465a2b['getSheetBySheetId'](_0x8b957a);if(!_0x94b070)return _0x48bab9;let _0xc015a9=_0x2bbbe9(_0x3a3986['sheetViewStartRow'],_0x3a3986['sheetViewStartColumn'],_0x281648[_0x2eb4ea(0x138)],_0x94b070);return _0xc015a9?{'x':_0xc015a9[_0x2eb4ea(0x142)],'y':_0xc015a9['viewportScrollY']}:_0x48bab9;}[_0xb24152(0x454)](_0x4205ee,_0x50638f){const _0xfb7139=_0xb24152;var _0x238ecb,_0x5941a0;let _0x1aa40d=(_0x238ecb=this[_0xfb7139(0x295)][_0xfb7139(0x257)](_0x4205ee))==null?void 0x0:_0x238ecb[_0xfb7139(0x379)](_0x50638f);return(_0x5941a0=_0x1aa40d==null?void 0x0:_0x1aa40d[_0xfb7139(0x467)]())==null?0x1:_0x5941a0;}[_0xb24152(0x4b6)](_0x244ef4,_0x1809ab,_0x3d1191){const _0x60ade=_0xb24152;this[_0x60ade(0x292)](_0x4540fc(_0x244ef4[_0x60ade(0x317)][_0x60ade(0x2c1)]((_0x40237d,_0x42ed38)=>{const _0x4e3b56=_0x60ade;var _0x1414a6,_0x1928b3,_0x4b0a90,_0x142f5f;let _0x51a38b=_0x244ef4[_0x4e3b56(0x49c)]();this[_0x4e3b56(0x259)]=this['_getShapeAdjustInfosById'](_0x51a38b[_0x4e3b56(0x371)],_0x51a38b[_0x4e3b56(0x4a5)],_0x51a38b[_0x4e3b56(0x428)],_0x3d1191),this[_0x4e3b56(0x1a9)]=this[_0x4e3b56(0x288)]['getShapeModel'](_0x51a38b['unitId'],_0x51a38b[_0x4e3b56(0x4a5)],_0x51a38b[_0x4e3b56(0x428)]);let _0x1f4305=this[_0x4e3b56(0x2a2)][_0x4e3b56(0x297)]({'unitId':this['_unitId'],'subUnitId':this[_0x4e3b56(0x3e7)],'drawingId':this[_0x4e3b56(0x13c)]}),{transform:_0x15f4ce}=_0x1f4305;if(_0x15f4ce){let {left:_0x57d462,top:_0x46a255,width:_0x4c7556,height:_0x196461}=_0x15f4ce;this[_0x4e3b56(0x368)]=_0x57d462||0x0,this[_0x4e3b56(0xf6)]=_0x46a255||0x0,this[_0x4e3b56(0x3a0)]=_0x4c7556||0x0,this['_baseShapeHeight']=_0x196461||0x0;}let _0x42bb95=!!((_0x1414a6=_0x1f4305[_0x4e3b56(0x1e4)])!=null&&_0x1414a6['flipX']),_0x9d38b4=!!((_0x1928b3=_0x1f4305[_0x4e3b56(0x1e4)])!=null&&_0x1928b3['flipY']),_0x4ea7e1=((_0x4b0a90=_0x1f4305[_0x4e3b56(0x1e4)])==null?void 0x0:_0x4b0a90[_0x4e3b56(0xfe)])||0x0;this[_0x4e3b56(0x2bd)]=!0x0,_0x1809ab['disableObjectsEvent']();let _0x5bd574=(_0x142f5f=this[_0x4e3b56(0x1a9)])==null?void 0x0:_0x142f5f[_0x4e3b56(0x2d1)](_0x3d1191),_0x183a67={[_0x3d1191]:_0x5bd574};this[_0x4e3b56(0x11f)]=_0x1809ab[_0x4e3b56(0x340)][_0x4e3b56(0x2c1)]((_0x545a7e,_0x5c4280)=>{const _0x37a6a6=_0x4e3b56;if(!this['_isStartAdjusting'])return;let {offsetX:_0x590e30,offsetY:_0xffc66}=_0x545a7e,_0x406d9b=this[_0x37a6a6(0x259)];if(this['_activeShapeModel']&&_0x406d9b){_0x1809ab[_0x37a6a6(0x1da)](),_0x1809ab[_0x37a6a6(0x147)](_0x5f2daa[_0x37a6a6(0x139)]);let _0x2a171b={'left':0x0,'top':0x0,'width':this[_0x37a6a6(0x3a0)],'height':this[_0x37a6a6(0x448)]},_0x58e30d=this['_getScrollInfo'](this[_0x37a6a6(0x337)],this[_0x37a6a6(0x3e7)]),_0x44f4ca=this['_getZoomRatio'](this['_unitId'],this[_0x37a6a6(0x3e7)]),_0x5368be=_0x590e30/_0x44f4ca+_0x58e30d['x']-this[_0x37a6a6(0x368)],_0x39b41a=_0xffc66/_0x44f4ca+_0x58e30d['y']-this['_baseShapeTop'];if(_0x4ea7e1!==0x0){let _0x940467=this[_0x37a6a6(0x3a0)]/0x2,_0x181496=this[_0x37a6a6(0x448)]/0x2,_0x461be3=_0x4ea7e1*Math['PI']/0xb4,_0x20848a=Math['cos'](_0x461be3),_0x46ede5=Math['sin'](_0x461be3),_0x5a1f0d=_0x5368be-_0x940467,_0x1dcf9e=_0x39b41a-_0x181496;_0x5368be=_0x940467+(_0x5a1f0d*_0x20848a+_0x1dcf9e*_0x46ede5),_0x39b41a=_0x181496+(-_0x5a1f0d*_0x46ede5+_0x1dcf9e*_0x20848a);}_0x42bb95&&(_0x5368be=this[_0x37a6a6(0x3a0)]-_0x5368be),_0x9d38b4&&(_0x39b41a=this[_0x37a6a6(0x448)]-_0x39b41a);let _0x5bd3eb={'x':_0x5368be,'y':_0x39b41a},_0x136c3f=this[_0x37a6a6(0x1a9)][_0x37a6a6(0x1ce)](_0x2a171b,_0x5bd3eb,_0x406d9b,_0x42bb95,_0x9d38b4),_0x417fe5=_0x406d9b['gdRefX']||_0x406d9b[_0x37a6a6(0x222)]||_0x406d9b[_0x37a6a6(0x46f)]||_0x406d9b['gdRefR'];if(_0x417fe5===void 0x0)return;this[_0x37a6a6(0x1a9)][_0x37a6a6(0x2a5)](_0x417fe5,_0x136c3f);let _0x56499e=this[_0x37a6a6(0x2a2)][_0x37a6a6(0x297)]({'unitId':_0x51a38b['unitId'],'subUnitId':_0x51a38b['subUnitId'],'drawingId':_0x51a38b[_0x37a6a6(0x428)]});_0x56499e&&(this[_0x37a6a6(0xf1)]['renderDrawingShape'](_0x56499e,_0x1809ab),this[_0x37a6a6(0x122)]=this[_0x37a6a6(0x2e7)](_0x51a38b[_0x37a6a6(0x371)],_0x51a38b[_0x37a6a6(0x4a5)],_0x51a38b[_0x37a6a6(0x428)]),this[_0x37a6a6(0x455)]());}_0x5c4280[_0x37a6a6(0x31b)]();}),this[_0x4e3b56(0x367)]=_0x1809ab[_0x4e3b56(0x2cd)]['subscribeEvent']((_0x2e6dee,_0x2287f2)=>{const _0x12b2c4=_0x4e3b56;this[_0x12b2c4(0x11f)][_0x12b2c4(0x151)](),this['_adjHandlerPointerUp'][_0x12b2c4(0x151)](),_0x1809ab['resetCursor']();let _0x158639=this[_0x12b2c4(0x259)];if(_0x158639){let _0x35ee0d=_0x51a38b[_0x12b2c4(0x371)],_0x127bb8=_0x51a38b['subUnitId'],_0x543c7b=_0x51a38b[_0x12b2c4(0x428)],_0x138575=_0x158639[_0x12b2c4(0x1f0)]||_0x158639[_0x12b2c4(0x222)]||_0x158639[_0x12b2c4(0x46f)]||_0x158639[_0x12b2c4(0x300)];if(_0x138575!==void 0x0){var _0x1d76aa;let _0x419519=(_0x1d76aa=this[_0x12b2c4(0x1a9)])==null?void 0x0:_0x1d76aa[_0x12b2c4(0x2d1)](_0x138575);_0x419519!==void 0x0&&Fa(this[_0x12b2c4(0x12a)],_0x35ee0d,_0x127bb8,_0x543c7b,{'oldShapeData':{'adjustValues':_0x183a67}},{'adjustValues':{[_0x138575]:_0x419519}});}}this['_activeAdjustInfo']=void 0x0,this[_0x12b2c4(0x1a9)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x2287f2[_0x12b2c4(0x31b)](),_0x1809ab[_0x12b2c4(0x19b)]();}),_0x42ed38[_0x4e3b56(0x31b)]();})));}[_0xb24152(0x46c)](){const _0x36e3e1=_0xb24152;let _0x5bfbd1=this[_0x36e3e1(0x295)][_0x36e3e1(0x1ea)](_0xc8ef66[_0x36e3e1(0x1c8)]);this[_0x36e3e1(0x292)](_0x5bfbd1['pipe'](_0x3b82eb(_0x3d2308=>_0x3d2308?_0x3d2308['activeSheet$'][_0x36e3e1(0x4e5)](_0x3b82eb(_0x15db39=>{const _0x54cc86=_0x36e3e1;if(!_0x15db39)return _0x3cbe4d;let _0x4159a2=_0x3d2308['getUnitId'](),_0x2db360=this[_0x54cc86(0x2b9)][_0x54cc86(0x2ba)](_0x4159a2),_0x39094d=_0x2db360==null?void 0x0:_0x2db360[_0x54cc86(0x138)];return _0x39094d?_0x30147e(_0x39094d):_0x3cbe4d;})):_0x3cbe4d))['subscribe'](_0x2bccdf=>{const _0x5a60e8=_0x36e3e1;let _0x3d1285=_0x2bccdf[_0x5a60e8(0x2af)]();this['disposeWithMe'](_0x2bccdf['onPointerMove$']['subscribeEvent'](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x5a60e8(0x292)](_0x3d1285[_0x5a60e8(0x302)][_0x5a60e8(0x4c6)](_0x5513d2=>{const _0x6935e9=_0x5a60e8;let {objects:_0x4e6e72}=_0x5513d2;this[_0x6935e9(0x420)](),_0x4e6e72!==null&&_0x4e6e72[_0x6935e9(0x487)]===0x1&&_0x4e6e72['values']()['next']()[_0x6935e9(0x39a)]instanceof Ba&&this[_0x6935e9(0xea)](!0x0);})),this[_0x5a60e8(0x292)](_0x3d1285['changing$'][_0x5a60e8(0x4c6)](()=>{const _0x37e79c=_0x5a60e8;this[_0x37e79c(0x2c2)]&&this['_clearShapeAdjustControls']();})),this[_0x5a60e8(0x292)](_0x2bccdf[_0x5a60e8(0x2cd)]['subscribeEvent'](()=>{const _0x5703d9=_0x5a60e8;this[_0x5703d9(0x2c2)]&&(this[_0x5703d9(0xea)](!0x1),this[_0x5703d9(0x420)]());})),this[_0x5a60e8(0x292)](_0x3d1285[_0x5a60e8(0x276)][_0x5a60e8(0x4c6)](()=>{const _0x2c4eaa=_0x5a60e8;this[_0x2c4eaa(0x337)]&&this[_0x2c4eaa(0x3e7)]&&this[_0x2c4eaa(0x13c)]&&this[_0x2c4eaa(0x2a2)][_0x2c4eaa(0x297)]({'unitId':this[_0x2c4eaa(0x337)],'subUnitId':this[_0x2c4eaa(0x3e7)],'drawingId':this[_0x2c4eaa(0x13c)]})&&(this[_0x2c4eaa(0x122)]=this[_0x2c4eaa(0x2e7)](this[_0x2c4eaa(0x337)],this[_0x2c4eaa(0x3e7)],this[_0x2c4eaa(0x13c)]),this[_0x2c4eaa(0x455)]());}));}));}[_0xb24152(0x20d)](){const _0xc922ee=_0xb24152;this[_0xc922ee(0x292)](this['_drawingManagerService'][_0xc922ee(0x1c3)][_0xc922ee(0x4c6)](_0x15e9e1=>{const _0x1dbaa3=_0xc922ee;if(_0x15e9e1['length']===0x1){let _0x26402b=_0x15e9e1[0x0];if(_0x26402b[_0x1dbaa3(0x1dd)]===_0x23b778['DRAWING_SHAPE']){this[_0x1dbaa3(0x13c)]=_0x26402b[_0x1dbaa3(0x428)];let {unitId:_0x9b56fb,subUnitId:_0x32da3b}=_0x26402b;this[_0x1dbaa3(0x122)]=this['_getShapeAdjustPointListById'](_0x9b56fb,_0x32da3b,this['_activeShapeId']),this[_0x1dbaa3(0x337)]=_0x9b56fb,this[_0x1dbaa3(0x3e7)]=_0x32da3b,this[_0x1dbaa3(0x2d3)](),this['_createShapeAdjustControls']();}else this[_0x1dbaa3(0x13c)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x1dbaa3(0x3e7)]=null,this['_clearShapeAdjustControls']();}(_0x15e9e1[_0x1dbaa3(0x424)]>0x1||_0x15e9e1[_0x1dbaa3(0x424)]===0x0)&&(this[_0x1dbaa3(0x13c)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x1dbaa3(0x337)]=null,this[_0x1dbaa3(0x3e7)]=null,this['_clearShapeAdjustControls']());})),this[_0xc922ee(0x292)](this[_0xc922ee(0x2a2)]['update$'][_0xc922ee(0x4c6)](_0x3930b9=>{const _0x4e497f=_0xc922ee;if(_0x3930b9[_0x4e497f(0x424)]===0x1){var _0x1e7a7f;let _0x1e6174=_0x3930b9[0x0];((_0x1e7a7f=this[_0x4e497f(0x2a2)][_0x4e497f(0x297)](_0x1e6174))==null?void 0x0:_0x1e7a7f['drawingType'])===_0x23b778[_0x4e497f(0x170)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0xc922ee(0x292)](this['_drawingManagerService'][_0xc922ee(0x4a6)][_0xc922ee(0x4c6)](_0x446d04=>{const _0x3fc9ef=_0xc922ee;for(let _0x5b8970 of _0x446d04)this['_activeShapeId']===_0x5b8970[_0x3fc9ef(0x428)]&&(this[_0x3fc9ef(0x13c)]=null,this[_0x3fc9ef(0x122)]=void 0x0,this[_0x3fc9ef(0x337)]=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']());}));}};Ha=X([Y(0x1,_0x286a43),Y(0x2,_0x1f7427),Y(0x3,_0x4429c1(_0x2acfb5)),Y(0x4,_0x4429c1(_0x2dae0a)),Y(0x5,_0x4429c1(Z)),Y(0x6,_0x3dd1dc),Y(0x7,_0x5e6bce)],Ha);const Ua={'id':_0xb24152(0x478),'type':_0x2ffb40[_0xb24152(0x3b9)],'handler':(_0xe90402,_0x423bfa)=>{const _0x176908=_0xb24152;let _0x277254=_0xe90402['get'](_0x1f7427),_0x525505=_0xe90402[_0x176908(0x4b5)](_0x2dae0a),_0x4fc392=_0xe90402[_0x176908(0x4b5)](Ha);if(_0x423bfa==null)return!0x0;if(_0x423bfa[_0x176908(0x424)]>0x0){var _0x5befc8;let _0x2ad8c8=(_0x5befc8=_0x525505[_0x176908(0x2ba)](_0x423bfa[0x0][_0x176908(0x371)]))==null?void 0x0:_0x5befc8['scene'];if(_0x2ad8c8){let {unitId:_0x37d63f,subUnitId:_0x1bd16f,drawingId:_0x56ef3e}=_0x423bfa[0x0],_0x594986=_0x32b74c({'unitId':_0x37d63f,'subUnitId':_0x1bd16f,'drawingId':_0x56ef3e},void 0x0),_0x50a06f=_0x2ad8c8[_0x176908(0x305)](_0x594986);if(_0x50a06f){var _0x47a938;(_0x47a938=_0x525505['getRenderById'](_0x423bfa[0x0]['unitId']))==null||(_0x47a938=_0x47a938[_0x176908(0x138)][_0x176908(0x37a)]())==null||_0x47a938[_0x176908(0x4f5)](_0x50a06f);}}_0x277254[_0x176908(0x393)](_0x423bfa),_0x4fc392[_0x176908(0xea)](!0x1);}return!0x0;}},Wa={'type':_0x2ffb40[_0xb24152(0x38d)],'id':'sheet.command.menu-insert-shape','handler':async(_0x8b05c6,_0x2b3b74)=>{const _0x5e36fe=_0xb24152;let _0x49886e=_0x69d88(_0x8b05c6[_0x5e36fe(0x4b5)](_0x3dd1dc));if(!_0x49886e)return!0x1;let _0x3af61e=_0x8b05c6[_0x5e36fe(0x4b5)](_0x4e3e74)[_0x5e36fe(0x410)]();if(!_0x3af61e)return!0x1;let _0x4b98c4=_0x8b05c6[_0x5e36fe(0x4b5)](_0x5e6bce),{unitId:_0x1e7ea9,subUnitId:_0x4ce411}=_0x49886e,{value:_0xa8cba1,enhanceParams:_0x102741}=_0x2b3b74,{range:_0x191ee9}=_0x3af61e,_0x224858={'unitId':_0x1e7ea9,'subUnitId':_0x4ce411,'shapeType':_0xa8cba1,'range':_0x191ee9,'shapeId':_0x4f8964()};if(_0x102741){let _0x387227=_0x59a416(_0xa8cba1),_0x543ffe=_0xa8cba1===_0x34fa26[_0x5e36fe(0x134)];_0x387227&&(_0x102741[_0x5e36fe(0x271)]||_0x102741[_0x5e36fe(0x3e2)])&&(_0x224858['shapeData']={'ln':{'startArrow':_0x102741[_0x5e36fe(0x271)]?{'type':_0x244a79['Arrow'],'size':_0x21c673[_0x5e36fe(0x19c)]}:void 0x0,'endArrow':_0x102741[_0x5e36fe(0x3e2)]?{'type':_0x244a79[_0x5e36fe(0x22c)],'size':_0x21c673[_0x5e36fe(0x439)]}:void 0x0}}),_0x543ffe&&(_0x102741['horizontal']||_0x102741[_0x5e36fe(0x16a)])&&(_0x224858[_0x5e36fe(0x2b0)]={'fill':{'fillType':_0x573481[_0x5e36fe(0x22a)],'color':_0x5e36fe(0x354)},'stroke':{'lineStrokeType':_0x428c9b[_0x5e36fe(0x1c1)],'width':0x1,'color':_0x5e36fe(0x195)},'shapeText':{'isHorizontal':!!_0x102741[_0x5e36fe(0x278)]}});}let _0x354f63=_0x4b98c4['syncExecuteCommand'](_0xe2fd8c['id'],_0x224858);return setTimeout(()=>{const _0x16cf86=_0x5e36fe;_0x4b98c4[_0x16cf86(0x378)](Ua['id'],[{'unitId':_0x1e7ea9,'subUnitId':_0x4ce411,'drawingId':_0x224858['shapeId']}]);},0xc8),_0x354f63;}};_0x1cb9e9['LEFT'],_0x1cb9e9['CENTER'],_0x1cb9e9[_0xb24152(0x1d7)];function Ga(_0x1aaad6){const _0x36db8e=_0xb24152;let _0x3a6807=_0x1aaad6[_0x36db8e(0x4b5)](_0x286a43),_0x28a8f0=_0x1aaad6[_0x36db8e(0x4b5)](_0x51c9be);return{'id':_0x162333['id'],'tooltip':'sheets-shape-ui.toolbar.fillColor.main','type':_0x132af5[_0x36db8e(0xe6)],'icon':'PaintBucketDoubleIcon','selections':[{'label':{'name':_0x19ed00,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x1238ac(_0x13ab24=>{const _0x9c2dcb=_0x36db8e;_0x13ab24['next'](_0x28a8f0[_0x9c2dcb(0x2b6)]('primary.600'));}),'hidden$':_0x3a6807[_0x36db8e(0x2e2)](_0x2a80f0)[_0x36db8e(0x4e5)](_0x46f243(_0x3a6807[_0x36db8e(0x256)](_0x2a80f0)),_0x272b09(_0x44bfc9=>!_0x44bfc9))};}function Ka(_0x3e8219){const _0x1ae37a=_0xb24152;let _0x5123d1=_0x3e8219[_0x1ae37a(0x4b5)](_0x286a43);return{'id':_0x3950f5['id'],'type':_0x132af5[_0x1ae37a(0x3f1)],'title':_0x1ae37a(0x12e),'hidden$':_0x5123d1['subscribeContextValue$'](_0x2a80f0)[_0x1ae37a(0x4e5)](_0x46f243(_0x5123d1[_0x1ae37a(0x256)](_0x2a80f0)),_0x272b09(_0x2a937d=>!_0x2a937d))};}const qa=[{'label':_0xb24152(0x2ca),'icon':_0xb24152(0x45c),'value':_0x1cb9e9['LEFT']},{'label':_0xb24152(0x319),'icon':_0xb24152(0x4ea),'value':_0x1cb9e9[_0xb24152(0x2bb)]},{'label':'sheets-shape-ui.align.right','icon':_0xb24152(0x4b3),'value':_0x1cb9e9[_0xb24152(0x1d7)]}];function Ja(_0x277262){const _0x696152=_0xb24152;var _0x1c72bc;let _0x3c6341=_0x277262[_0x696152(0x4b5)](_0x5e6bce),_0x342cf7=_0x277262[_0x696152(0x4b5)](_0x286a43),_0x5b91c7=_0x277262[_0x696152(0x4b5)](_0x3e392c),_0x388453=_0x277262[_0x696152(0x4b5)](K),_0x1bf084=_0x277262['get'](_0x2acfb5),_0xf89c3b=_0x1cb9e9[_0x696152(0x480)],_0x2fe095=()=>{const _0x7f476d=_0x696152;var _0x21ab18;let _0x2ddf48=_0x5b91c7['getFocusDrawings']()[_0x7f476d(0x114)](_0x353f22=>_0x353f22[_0x7f476d(0x1dd)]===_0x23b778[_0x7f476d(0x170)]);if(_0x2ddf48['length']!==0x1)return _0xf89c3b;let _0xfa1bf4=_0x388453[_0x7f476d(0x489)](),_0xd7524e=(_0xfa1bf4==null?void 0x0:_0xfa1bf4[_0x7f476d(0x371)])||_0x2ddf48[0x0][_0x7f476d(0x371)],_0x4f8ce3=(_0xfa1bf4==null?void 0x0:_0xfa1bf4[_0x7f476d(0x4a5)])||_0x2ddf48[0x0]['subUnitId'],_0x3326ff=(_0xfa1bf4==null?void 0x0:_0xfa1bf4[_0x7f476d(0x440)])||_0x2ddf48[0x0]['drawingId'],_0x58c837=_0x1bf084[_0x7f476d(0x2ce)](_0xd7524e,_0x4f8ce3,_0x3326ff);if(!_0x58c837)return _0xf89c3b;let _0x3eb9fe=_0x58c837[_0x7f476d(0x47e)]();if(!_0x3eb9fe||!('dataModel'in _0x3eb9fe))return _0xf89c3b;let _0x192dd1=_0x3eb9fe[_0x7f476d(0x1f3)];return(_0x21ab18=_0x192dd1==null?void 0x0:_0x192dd1['ha'])==null?_0xf89c3b:_0x21ab18;};return{'id':Ta['id'],'icon':(_0x1c72bc=qa[_0x696152(0x3bf)](_0x10f835=>_0x10f835[_0x696152(0x39a)]===_0xf89c3b))==null?void 0x0:_0x1c72bc[_0x696152(0x194)],'tooltip':_0x696152(0x221),'type':_0x132af5[_0x696152(0x2bc)],'selections':qa,'value$':new _0x1238ac(_0x36deec=>{const _0x2f819b=_0x696152;let _0x38073e=_0x3c6341[_0x2f819b(0x199)](_0x462342=>{const _0x3cbf2b=_0x2f819b;_0x462342['id']===Ta['id']&&_0x36deec[_0x3cbf2b(0x1c5)](_0x2fe095());}),_0x3fa8de=_0x388453[_0x2f819b(0x191)][_0x2f819b(0x4c6)](()=>{const _0x4951c2=_0x2f819b;_0x36deec[_0x4951c2(0x1c5)](_0x2fe095());});return _0x36deec[_0x2f819b(0x1c5)](_0x2fe095()),()=>{const _0x190cda=_0x2f819b;_0x38073e[_0x190cda(0x3fd)](),_0x3fa8de['unsubscribe']();};}),'hidden$':_0x342cf7[_0x696152(0x2e2)](_0x2a80f0)['pipe'](_0x272b09(_0xabe1d=>!_0xabe1d))};}const Ya=[{'label':_0xb24152(0x3d9),'icon':_0xb24152(0x2c4),'value':_0x223565[_0xb24152(0x447)]},{'label':_0xb24152(0x365),'icon':'VerticalCenterIcon','value':_0x223565[_0xb24152(0x20c)]},{'label':_0xb24152(0xef),'icon':_0xb24152(0x49a),'value':_0x223565['BOTTOM']}];function Xa(_0x16df8d){const _0x5c67a7=_0xb24152;var _0x1e8294;let _0x460a13=_0x16df8d[_0x5c67a7(0x4b5)](_0x5e6bce),_0x17f3f8=_0x16df8d[_0x5c67a7(0x4b5)](_0x286a43),_0x568c2c=_0x16df8d[_0x5c67a7(0x4b5)](_0x3e392c),_0x2f1c26=_0x16df8d['get'](K),_0x160b8a=_0x16df8d[_0x5c67a7(0x4b5)](_0x2acfb5),_0x43218e=_0x223565['TOP'],_0x3cbbbf=()=>{const _0x15f557=_0x5c67a7;var _0x2378f0;let _0x190b08=_0x568c2c[_0x15f557(0x148)]()[_0x15f557(0x114)](_0x133702=>_0x133702[_0x15f557(0x1dd)]===_0x23b778['DRAWING_SHAPE']);if(_0x190b08[_0x15f557(0x424)]!==0x1)return _0x43218e;let _0x2037f0=_0x2f1c26['getEditing'](),_0x38ed32=(_0x2037f0==null?void 0x0:_0x2037f0[_0x15f557(0x371)])||_0x190b08[0x0][_0x15f557(0x371)],_0x812f66=(_0x2037f0==null?void 0x0:_0x2037f0[_0x15f557(0x4a5)])||_0x190b08[0x0][_0x15f557(0x4a5)],_0x2d78c4=(_0x2037f0==null?void 0x0:_0x2037f0[_0x15f557(0x440)])||_0x190b08[0x0][_0x15f557(0x428)],_0x40d5c4=_0x160b8a['getShapeModel'](_0x38ed32,_0x812f66,_0x2d78c4);if(!_0x40d5c4)return _0x43218e;let _0x2041e6=_0x40d5c4[_0x15f557(0x47e)]();if(!_0x2041e6||!('dataModel'in _0x2041e6))return _0x43218e;let _0x1e8cf0=_0x2041e6[_0x15f557(0x1f3)];return(_0x2378f0=_0x1e8cf0==null?void 0x0:_0x1e8cf0['va'])==null?_0x43218e:_0x2378f0;};return{'id':J['id'],'icon':(_0x1e8294=Ya[_0x5c67a7(0x3bf)](_0x33fa8c=>_0x33fa8c[_0x5c67a7(0x39a)]===_0x43218e))==null?void 0x0:_0x1e8294['icon'],'tooltip':_0x5c67a7(0x435),'type':_0x132af5['SELECTOR'],'selections':Ya,'value$':new _0x1238ac(_0x8ce21e=>{const _0x1fa470=_0x5c67a7;let _0x97197a=_0x460a13[_0x1fa470(0x199)](_0x35bff1=>{_0x35bff1['id']===J['id']&&_0x8ce21e['next'](_0x3cbbbf());}),_0x385878=_0x2f1c26['editingParams$'][_0x1fa470(0x4c6)](()=>{const _0x555d51=_0x1fa470;_0x8ce21e[_0x555d51(0x1c5)](_0x3cbbbf());});return _0x8ce21e[_0x1fa470(0x1c5)](_0x3cbbbf()),()=>{const _0x246f2f=_0x1fa470;_0x97197a[_0x246f2f(0x3fd)](),_0x385878[_0x246f2f(0x151)]();};}),'hidden$':_0x17f3f8[_0x5c67a7(0x2e2)](_0x2a80f0)[_0x5c67a7(0x4e5)](_0x272b09(_0x5769c6=>!_0x5769c6))};}let Za=class extends _0x1fdd93{constructor(_0x330588,_0x365bc1){const _0x2695b0=_0xb24152;super(),this[_0x2695b0(0x442)]=_0x330588,this[_0x2695b0(0x2a2)]=_0x365bc1,this[_0x2695b0(0x44a)](),this[_0x2695b0(0x442)][_0x2695b0(0x47b)](!0x0),this[_0x2695b0(0x292)]({'dispose':()=>this[_0x2695b0(0x442)][_0x2695b0(0x47b)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x1b8fab=_0xb24152;let _0x3689b3=this[_0x1b8fab(0x442)],_0x488e4b=new Map(),_0x5ba6e0=_0x3689b3[_0x1b8fab(0x406)]((_0x3de97e,_0x3ad70a,_0x4229d3,_0x5234d7,_0x451021)=>{const _0x25f505=_0x1b8fab;let _0x5b3c5d=_0x3ad70a;if(_0x5b3c5d===_0x34fa26[_0x25f505(0x289)]||_0x3ad70a===_0x25f505(0x403))return!0x1;try{let _0x1c4352=_0x488e4b[_0x25f505(0x4b5)](_0x3ad70a);return _0x1c4352||(_0x1c4352=new _0x14f89a(_0x5b3c5d,_0x25f505(0x4a0)+_0x3ad70a),_0x488e4b[_0x25f505(0x23e)](_0x3ad70a,_0x1c4352)),_0x451021&&_0x1c4352[_0x25f505(0x10a)]({'adjustValues':_0x451021},!0x0),_0x1c4352['updateContext']({'width':_0x4229d3,'height':_0x5234d7}),_0x1c4352[_0x25f505(0x1b3)](_0x3de97e,{'left':0x0,'top':0x0,'width':_0x4229d3,'height':_0x5234d7});}catch{return!0x1;}});this[_0x1b8fab(0x292)](_0x5ba6e0),this['disposeWithMe']({'dispose':()=>_0x488e4b['clear']()});}[_0xb24152(0x4fc)](_0x5b2c52,_0x3b943d,_0x1f77c0,_0x2363a5,_0x1a954a){const _0x4c0968=_0xb24152;let _0x27c558=this[_0x4c0968(0x2a2)][_0x4c0968(0x347)](_0x5b2c52,_0x3b943d);if(!_0x27c558[_0x1f77c0])return;let _0x26dd7b={..._0x27c558[_0x1f77c0],'prstGeom':_0x2363a5,'adjustValues':_0x1a954a};this[_0x4c0968(0x2a2)]['featurePluginUpdateNotification']([_0x26dd7b]);}};Za=X([Y(0x0,_0x4429c1(_0x40d146)),Y(0x1,_0x4429c1(_0x1f7427))],Za);const Qa=[{'group':_0xb24152(0x21b),'type':_0x34fa26[_0xb24152(0x4f2)],'icon':_0xb24152(0x1ab),'name':_0xb24152(0x2ad)},{'group':'line','type':_0x34fa26[_0xb24152(0x2b3)],'icon':_0xb24152(0x20f),'name':_0xb24152(0x1d5),'endArrow':!0x0},{'group':_0xb24152(0x21b),'type':_0x34fa26[_0xb24152(0x2b3)],'icon':_0xb24152(0x1bf),'name':_0xb24152(0x1b6),'endArrow':!0x0,'startArrow':!0x0},{'group':_0xb24152(0x21b),'type':_0x34fa26['BentConnector3'],'icon':_0xb24152(0x26e),'name':_0xb24152(0x40e)},{'group':_0xb24152(0x21b),'type':_0x34fa26[_0xb24152(0x46b)],'icon':_0xb24152(0x327),'name':_0xb24152(0x124),'endArrow':!0x0},{'group':_0xb24152(0x21b),'type':_0x34fa26[_0xb24152(0x46b)],'icon':_0xb24152(0x2f3),'name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0xb24152(0x21b),'type':_0x34fa26['CurvedConnector3'],'icon':_0xb24152(0x383),'name':_0xb24152(0x307)},{'group':_0xb24152(0x21b),'type':_0x34fa26[_0xb24152(0x385)],'icon':_0xb24152(0x4e3),'name':_0xb24152(0x475),'endArrow':!0x0},{'group':'line','type':_0x34fa26[_0xb24152(0x385)],'icon':_0xb24152(0x4e9),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0xb24152(0x29e),'type':_0x34fa26['Rect'],'icon':_0xb24152(0x104),'name':_0xb24152(0x277)},{'group':_0xb24152(0x29e),'type':_0x34fa26[_0xb24152(0x4f6)],'icon':_0xb24152(0x143),'name':_0xb24152(0x32b)},{'group':'rectangle','type':_0x34fa26[_0xb24152(0x2be)],'icon':'ShapeSnip1RectIcon','name':_0xb24152(0x2ec)},{'group':_0xb24152(0x29e),'type':_0x34fa26[_0xb24152(0xf5)],'icon':_0xb24152(0x1a5),'name':_0xb24152(0x1f2)},{'group':_0xb24152(0x29e),'type':_0x34fa26[_0xb24152(0x227)],'icon':'ShapeSnip2DiagRectIcon','name':_0xb24152(0x1a2)},{'group':_0xb24152(0x29e),'type':_0x34fa26[_0xb24152(0x2d6)],'icon':_0xb24152(0x158),'name':_0xb24152(0x311)},{'group':_0xb24152(0x29e),'type':_0x34fa26['Round1Rect'],'icon':_0xb24152(0x330),'name':_0xb24152(0x205)},{'group':_0xb24152(0x29e),'type':_0x34fa26[_0xb24152(0x425)],'icon':_0xb24152(0x3f3),'name':_0xb24152(0x2d4)},{'group':'rectangle','type':_0x34fa26[_0xb24152(0x1e0)],'icon':_0xb24152(0x162),'name':_0xb24152(0x3ec)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x134)],'icon':_0xb24152(0x2cb),'name':_0xb24152(0x192),'horizontal':!0x0},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x134)],'icon':_0xb24152(0x335),'name':_0xb24152(0x1ae),'vertical':!0x0},{'group':_0xb24152(0x4d0),'type':_0x34fa26['Ellipse'],'icon':_0xb24152(0x38a),'name':_0xb24152(0x23b)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0xfa)],'icon':_0xb24152(0x4ad),'name':_0xb24152(0x32f)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x443)],'icon':_0xb24152(0x445),'name':_0xb24152(0x253)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x473)],'icon':'ShapeParallelogramIcon','name':_0xb24152(0x200)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x258)],'icon':_0xb24152(0x1eb),'name':_0xb24152(0x35e)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x2bf)],'icon':_0xb24152(0x40f),'name':_0xb24152(0x4cc)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x252)],'icon':_0xb24152(0x165),'name':_0xb24152(0x2ac)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x31a)],'icon':_0xb24152(0x3db),'name':_0xb24152(0x27f)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x14b)],'icon':'ShapeHeptagonIcon','name':'sheets-shape-ui.shape.type.heptagon'},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x141)],'icon':_0xb24152(0x255),'name':'sheets-shape-ui.shape.type.octagon'},{'group':_0xb24152(0x4d0),'type':_0x34fa26['Decagon'],'icon':_0xb24152(0x24b),'name':_0xb24152(0x4f7)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x306)],'icon':_0xb24152(0x177),'name':_0xb24152(0x4e2)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x262)],'icon':_0xb24152(0x3f5),'name':_0xb24152(0x4dc)},{'group':'basicShape','type':_0x34fa26['Chord'],'icon':_0xb24152(0x4a2),'name':_0xb24152(0x263)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x152)],'icon':_0xb24152(0x1b9),'name':'sheets-shape-ui.shape.type.teardrop'},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x2fe)],'icon':_0xb24152(0x173),'name':_0xb24152(0x2f0)},{'group':_0xb24152(0x4d0),'type':_0x34fa26['HalfFrame'],'icon':'ShapeHalfFrameIcon','name':'sheets-shape-ui.shape.type.half-frame'},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x1d0)],'icon':'ShapeCornerIcon','name':_0xb24152(0x2d0)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x488)],'icon':_0xb24152(0x2c6),'name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x411)],'icon':'ShapePlusIcon','name':'sheets-shape-ui.shape.type.plus'},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x1d4)],'icon':_0xb24152(0x25b),'name':'sheets-shape-ui.shape.type.plaque'},{'group':'basicShape','type':_0x34fa26['Can'],'icon':'ShapeCanIcon','name':'sheets-shape-ui.shape.type.can'},{'group':_0xb24152(0x4d0),'type':_0x34fa26['Cube'],'icon':_0xb24152(0x11b),'name':_0xb24152(0x3de)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x22b)],'icon':_0xb24152(0xed),'name':_0xb24152(0x223)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x458)],'icon':_0xb24152(0x30e),'name':_0xb24152(0x3aa)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x202)],'icon':_0xb24152(0x17e),'name':_0xb24152(0x3e8)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x4af)],'icon':_0xb24152(0x353),'name':_0xb24152(0x11c)},{'group':_0xb24152(0x4d0),'type':_0x34fa26['FoldedCorner'],'icon':'ShapeFolderCornerIcon','name':_0xb24152(0x3e0)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x46e)],'icon':'ShapeSmileyFaceIcon','name':_0xb24152(0xfc)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x2c0)],'icon':_0xb24152(0x2a7),'name':'sheets-shape-ui.shape.type.heart'},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x2ed)],'icon':_0xb24152(0x2c3),'name':'sheets-shape-ui.shape.type.lightning-bolt'},{'group':'basicShape','type':_0x34fa26['Sun'],'icon':'ShapeSunIcon','name':'sheets-shape-ui.shape.type.sun'},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x2eb)],'icon':_0xb24152(0x179),'name':_0xb24152(0x437)},{'group':_0xb24152(0x4d0),'type':_0x34fa26['Cloud'],'icon':'ShapeCloudIcon','name':'sheets-shape-ui.shape.type.cloud'},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x235)],'icon':_0xb24152(0x4bc),'name':_0xb24152(0x4c9)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x4da)],'icon':_0xb24152(0x38e),'name':_0xb24152(0x457)},{'group':_0xb24152(0x4d0),'type':_0x34fa26['BracePair'],'icon':_0xb24152(0x498),'name':_0xb24152(0x26c)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x1d3)],'icon':_0xb24152(0x4e8),'name':_0xb24152(0x15e)},{'group':'basicShape','type':_0x34fa26[_0xb24152(0x468)],'icon':_0xb24152(0x43b),'name':_0xb24152(0x4e0)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x2ae)],'icon':_0xb24152(0x4f1),'name':_0xb24152(0x432)},{'group':_0xb24152(0x4d0),'type':_0x34fa26[_0xb24152(0x154)],'icon':_0xb24152(0x25c),'name':_0xb24152(0x493)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x2a0)],'icon':_0xb24152(0x239),'name':_0xb24152(0x29b)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x2e0)],'icon':'ShapeLeftArrowIcon','name':_0xb24152(0x372)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x4b4)],'icon':_0xb24152(0x2f5),'name':'sheets-shape-ui.shape.type.up-arrow'},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x285)],'icon':_0xb24152(0x4d6),'name':_0xb24152(0x33e)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x4ac)],'icon':_0xb24152(0x43c),'name':_0xb24152(0x1b8)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x249)],'icon':_0xb24152(0x3dc),'name':_0xb24152(0x35c)},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x363)],'icon':_0xb24152(0x315),'name':'sheets-shape-ui.shape.type.quad-arrow'},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x39b)],'icon':_0xb24152(0x12b),'name':_0xb24152(0x168)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x1f1)],'icon':_0xb24152(0x39e),'name':_0xb24152(0x1df)},{'group':_0xb24152(0x19f),'type':_0x34fa26['UturnArrow'],'icon':'ShapeUturnArrowIcon','name':'sheets-shape-ui.shape.type.uturn-arrow'},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x2fc)],'icon':_0xb24152(0x185),'name':_0xb24152(0x3b2)},{'group':_0xb24152(0x19f),'type':_0x34fa26['BentUpArrow'],'icon':'ShapeBentUpArrowIcon','name':_0xb24152(0x3bc)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x1ba)],'icon':_0xb24152(0x328),'name':'sheets-shape-ui.shape.type.curved-right-arrow'},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x35b)],'icon':'ShapeCurvedLeftArrowIcon','name':_0xb24152(0x462)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x34b)],'icon':'ShapeCurvedUpArrowIcon','name':_0xb24152(0x4c8)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x30d)],'icon':'ShapeCurvedDownArrowIcon','name':_0xb24152(0x1de)},{'group':_0xb24152(0x19f),'type':_0x34fa26['StripedRightArrow'],'icon':_0xb24152(0x10d),'name':_0xb24152(0x25d)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0xff)],'icon':_0xb24152(0x183),'name':'sheets-shape-ui.shape.type.notched-right-arrow'},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x45e)],'icon':_0xb24152(0x2a9),'name':_0xb24152(0x336)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x4a9)],'icon':_0xb24152(0x36e),'name':_0xb24152(0x4d8)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x273)],'icon':'ShapeRightArrowCalloutIcon','name':_0xb24152(0x224)},{'group':'blockArrow','type':_0x34fa26['DownArrowCallout'],'icon':'ShapeDownArrowCalloutIcon','name':_0xb24152(0x471)},{'group':_0xb24152(0x19f),'type':_0x34fa26[_0xb24152(0x217)],'icon':_0xb24152(0x1bb),'name':_0xb24152(0x3b1)},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0xf4)],'icon':_0xb24152(0x4b8),'name':_0xb24152(0x220)},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x19d)],'icon':_0xb24152(0x47d),'name':_0xb24152(0x18a)},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x33a)],'icon':'ShapeQuadArrowCalloutIcon','name':_0xb24152(0x2ef)},{'group':'blockArrow','type':_0x34fa26[_0xb24152(0x264)],'icon':_0xb24152(0x3f0),'name':_0xb24152(0x4d1)},{'group':_0xb24152(0x2da),'type':_0x34fa26['MathPlus'],'icon':_0xb24152(0x303),'name':_0xb24152(0x2d9)},{'group':_0xb24152(0x2da),'type':_0x34fa26[_0xb24152(0x293)],'icon':_0xb24152(0x417),'name':_0xb24152(0x4c0)},{'group':_0xb24152(0x2da),'type':_0x34fa26[_0xb24152(0x10f)],'icon':_0xb24152(0x400),'name':'sheets-shape-ui.shape.type.math-multiply'},{'group':_0xb24152(0x2da),'type':_0x34fa26[_0xb24152(0x2a8)],'icon':_0xb24152(0x4ec),'name':_0xb24152(0x193)},{'group':_0xb24152(0x2da),'type':_0x34fa26[_0xb24152(0x4d3)],'icon':'ShapeMathEqualIcon','name':_0xb24152(0x43f)},{'group':_0xb24152(0x2da),'type':_0x34fa26[_0xb24152(0x269)],'icon':_0xb24152(0x34f),'name':_0xb24152(0x398)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x210)],'icon':_0xb24152(0xfb),'name':_0xb24152(0x274)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x377)],'icon':_0xb24152(0x21e),'name':_0xb24152(0x266)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x2f4)],'icon':_0xb24152(0x28e),'name':_0xb24152(0x339)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0xf2)],'icon':_0xb24152(0x14c),'name':_0xb24152(0x1ff)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x280)],'icon':_0xb24152(0x4bd),'name':_0xb24152(0x299)},{'group':'flowchart','type':_0x34fa26[_0xb24152(0x4e4)],'icon':_0xb24152(0x3e9),'name':_0xb24152(0x182)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x1d6)],'icon':_0xb24152(0x466),'name':_0xb24152(0x1bc)},{'group':'flowchart','type':_0x34fa26['FlowchartMultiDocument'],'icon':_0xb24152(0x3d7),'name':_0xb24152(0x1ed)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x1bd)],'icon':'ShapeFlowChartTerminatorIcon','name':_0xb24152(0xf0)},{'group':_0xb24152(0x3c2),'type':_0x34fa26['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':_0xb24152(0x201)},{'group':_0xb24152(0x3c2),'type':_0x34fa26['FlowchartManualInput'],'icon':'ShapeFlowChartManualInputIcon','name':_0xb24152(0x3a7)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x4ee)],'icon':_0xb24152(0x3a3),'name':_0xb24152(0x1e6)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x357)],'icon':_0xb24152(0x279),'name':_0xb24152(0x3c1)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x140)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':'sheets-shape-ui.shape.type.flow-chart-offpage-connector'},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x283)],'icon':_0xb24152(0x2fb),'name':_0xb24152(0x172)},{'group':'flowchart','type':_0x34fa26[_0xb24152(0x461)],'icon':_0xb24152(0x188),'name':_0xb24152(0x167)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x15a)],'icon':'ShapeFlowChartSummingJunctionIcon','name':_0xb24152(0x18c)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x453)],'icon':_0xb24152(0x45b),'name':'sheets-shape-ui.shape.type.flow-chart-or'},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x3a9)],'icon':_0xb24152(0x3df),'name':_0xb24152(0x287)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x464)],'icon':'ShapeFlowChartSortIcon','name':'sheets-shape-ui.shape.type.flow-chart-sort'},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x1e1)],'icon':_0xb24152(0x24a),'name':_0xb24152(0x1fc)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x49d)],'icon':_0xb24152(0x127),'name':_0xb24152(0x232)},{'group':'flowchart','type':_0x34fa26['FlowchartOnlineStorage'],'icon':'ShapeFlowChartOnlineStorageIcon','name':_0xb24152(0x47a)},{'group':_0xb24152(0x3c2),'type':_0x34fa26['FlowchartDelay'],'icon':'ShapeFlowChartDelayIcon','name':'sheets-shape-ui.shape.type.flow-chart-delay'},{'group':'flowchart','type':_0x34fa26[_0xb24152(0x47c)],'icon':'ShapeFlowChartMagneticTapeIcon','name':_0xb24152(0x296)},{'group':_0xb24152(0x3c2),'type':_0x34fa26['FlowchartMagneticDisk'],'icon':_0xb24152(0x323),'name':_0xb24152(0x203)},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x14e)],'icon':_0xb24152(0x2de),'name':'sheets-shape-ui.shape.type.flow-chart-magnetic-drum'},{'group':_0xb24152(0x3c2),'type':_0x34fa26[_0xb24152(0x486)],'icon':'ShapeFlowChartDisplayIcon','name':_0xb24152(0x470)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x477)],'icon':_0xb24152(0x485),'name':_0xb24152(0x132)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x31f)],'icon':_0xb24152(0x2d7),'name':_0xb24152(0x1a7)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x113)],'icon':_0xb24152(0x41d),'name':_0xb24152(0x465)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x105)],'icon':'ShapeStar5Icon','name':_0xb24152(0x1e9)},{'group':_0xb24152(0x36c),'type':_0x34fa26['Star6'],'icon':_0xb24152(0x3f9),'name':_0xb24152(0x389)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x2df)],'icon':_0xb24152(0x4a4),'name':_0xb24152(0x157)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x1ee)],'icon':_0xb24152(0x313),'name':'sheets-shape-ui.shape.type.star8'},{'group':'starAndBanner','type':_0x34fa26['Star10'],'icon':_0xb24152(0x343),'name':_0xb24152(0x352)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x3d5)],'icon':_0xb24152(0x469),'name':_0xb24152(0x331)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x241)],'icon':_0xb24152(0x4dd),'name':_0xb24152(0x40a)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x4f3)],'icon':_0xb24152(0x310),'name':_0xb24152(0x1c4)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x1c9)],'icon':_0xb24152(0x446),'name':_0xb24152(0x364)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x345)],'icon':'ShapeRibbon2Icon','name':'sheets-shape-ui.shape.type.ribbon2'},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x149)],'icon':_0xb24152(0x4b7),'name':_0xb24152(0x2dc)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x10c)],'icon':_0xb24152(0x35a),'name':_0xb24152(0x479)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x476)],'icon':_0xb24152(0x390),'name':_0xb24152(0x190)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x4fb)],'icon':'ShapeVerticalScrollIcon','name':_0xb24152(0x260)},{'group':'starAndBanner','type':_0x34fa26[_0xb24152(0x265)],'icon':_0xb24152(0x334),'name':_0xb24152(0x492)},{'group':_0xb24152(0x36c),'type':_0x34fa26['Wave'],'icon':_0xb24152(0x362),'name':_0xb24152(0x1fa)},{'group':_0xb24152(0x36c),'type':_0x34fa26[_0xb24152(0x3d1)],'icon':'ShapeDoubleWaveIcon','name':_0xb24152(0x16c)},{'group':'callout','type':_0x34fa26[_0xb24152(0x18f)],'icon':_0xb24152(0x2f1),'name':_0xb24152(0x43a)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x37c)],'icon':_0xb24152(0x24e),'name':'sheets-shape-ui.shape.type.wedge-round-rect-callout'},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x160)],'icon':_0xb24152(0x4fe),'name':_0xb24152(0x4aa)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x145)],'icon':_0xb24152(0x244),'name':_0xb24152(0x3b3)},{'group':'callout','type':_0x34fa26[_0xb24152(0x1a3)],'icon':_0xb24152(0x481),'name':_0xb24152(0x1b7)},{'group':'callout','type':_0x34fa26[_0xb24152(0x40b)],'icon':'ShapeBorderCallout2Icon','name':_0xb24152(0x43e)},{'group':_0xb24152(0x2ea),'type':_0x34fa26['BorderCallout3'],'icon':_0xb24152(0x3e3),'name':_0xb24152(0x3d0)},{'group':'callout','type':_0x34fa26[_0xb24152(0x3a8)],'icon':'ShapeAccentCallout1Icon','name':_0xb24152(0x4c1)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x267)],'icon':_0xb24152(0x166),'name':_0xb24152(0x196)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x3e1)],'icon':_0xb24152(0x230),'name':_0xb24152(0x3fc)},{'group':'callout','type':_0x34fa26[_0xb24152(0x16e)],'icon':_0xb24152(0x369),'name':_0xb24152(0x3bb)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x29d)],'icon':_0xb24152(0x126),'name':_0xb24152(0x1cc)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x23a)],'icon':'ShapeCallout3Icon','name':'sheets-shape-ui.shape.type.callout3'},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x325)],'icon':_0xb24152(0x35d),'name':_0xb24152(0x2ab)},{'group':_0xb24152(0x2ea),'type':_0x34fa26[_0xb24152(0x24d)],'icon':_0xb24152(0x28f),'name':'sheets-shape-ui.shape.type.accent-border-callout2'},{'group':_0xb24152(0x2ea),'type':_0x34fa26['AccentBorderCallout3'],'icon':_0xb24152(0x15f),'name':_0xb24152(0x34c)},{'group':'other','type':_0x34fa26[_0xb24152(0x1ec)],'icon':_0xb24152(0x216),'name':_0xb24152(0x4d2)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x3c7)],'icon':_0xb24152(0x4b9),'name':_0xb24152(0x4cb)},{'group':'other','type':_0x34fa26[_0xb24152(0x1f7)],'icon':_0xb24152(0x290),'name':'sheets-shape-ui.shape.type.swoosh-arrow'},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x42a)],'icon':_0xb24152(0x136),'name':_0xb24152(0x1a1)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x402)],'icon':_0xb24152(0x2d8),'name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x21c)],'icon':'ShapeFunnelIcon','name':_0xb24152(0x4ba)},{'group':_0xb24152(0x415),'type':_0x34fa26['Gear6'],'icon':_0xb24152(0x1db),'name':_0xb24152(0x407)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x106)],'icon':_0xb24152(0x20b),'name':'sheets-shape-ui.shape.type.gear9'},{'group':'other','type':_0x34fa26['CornerTabs'],'icon':_0xb24152(0x17b),'name':_0xb24152(0x2c5)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x144)],'icon':_0xb24152(0x3b7),'name':'sheets-shape-ui.shape.type.action-button-back-previous'},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x11a)],'icon':_0xb24152(0x3c4),'name':'sheets-shape-ui.shape.type.action-button-forward-next'},{'group':'other','type':_0x34fa26[_0xb24152(0x18b)],'icon':_0xb24152(0x418),'name':_0xb24152(0x115)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x39c)],'icon':'ShapeActionButtonEndIcon','name':_0xb24152(0x226)},{'group':_0xb24152(0x415),'type':_0x34fa26['ActionButtonHome'],'icon':'ShapeActionButtonHomeIcon','name':_0xb24152(0x413)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x338)],'icon':_0xb24152(0x2dd),'name':_0xb24152(0x107)},{'group':'other','type':_0x34fa26[_0xb24152(0x2ff)],'icon':_0xb24152(0x450),'name':_0xb24152(0x28c)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x37d)],'icon':_0xb24152(0x1ef),'name':_0xb24152(0x49f)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x373)],'icon':_0xb24152(0x176),'name':_0xb24152(0x4db)},{'group':_0xb24152(0x415),'type':_0x34fa26['ActionButtonSound'],'icon':_0xb24152(0x125),'name':_0xb24152(0x355)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x16d)],'icon':_0xb24152(0x19a),'name':_0xb24152(0x342)},{'group':'other','type':_0x34fa26[_0xb24152(0x3d4)],'icon':_0xb24152(0x430),'name':'sheets-shape-ui.shape.type.action-button-blank'},{'group':_0xb24152(0x415),'type':_0x34fa26['ChartPlus'],'icon':'ShapeChartPlusIcon','name':'sheets-shape-ui.shape.type.chart-plus'},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x13a)],'icon':_0xb24152(0x1c0),'name':_0xb24152(0x26d)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x3e4)],'icon':_0xb24152(0x29c),'name':_0xb24152(0x4df)},{'group':_0xb24152(0x415),'type':_0x34fa26['FlowChartOfflineStorage'],'icon':_0xb24152(0x18e),'name':_0xb24152(0x2b1)},{'group':'other','type':_0x34fa26[_0xb24152(0x3cd)],'icon':'ShapeLineInvIcon','name':'sheets-shape-ui.shape.type.line-inv'},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x3f4)],'icon':_0xb24152(0x130),'name':_0xb24152(0x1d2)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x35f)],'icon':_0xb24152(0x460),'name':_0xb24152(0x236)},{'group':'other','type':_0x34fa26[_0xb24152(0x324)],'icon':_0xb24152(0x30a),'name':_0xb24152(0x45f)},{'group':_0xb24152(0x415),'type':_0x34fa26[_0xb24152(0x219)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':'sheets-shape-ui.shape.type.non-isosceles-trapezoid'}],$a='sheet.shape.picker.component';function eo({onShapeClick:_0x5ed857,excludeGroups:_0x5d630d}){const _0x492f88=_0xb24152;let _0x1320fd=_0x201e51(_0x46ddff),_0x54ffeb=_0x201e51(_0x53069b),_0x511679=(_0x5d630d?Qa[_0x492f88(0x114)](_0x396da7=>!_0x5d630d['includes'](_0x396da7[_0x492f88(0x4bf)])):Qa)[_0x492f88(0x3fa)]((_0xf01c8a,_0xde33eb)=>(_0xf01c8a[_0xde33eb['group']]||(_0xf01c8a[_0xde33eb[_0x492f88(0x4bf)]]=[]),_0xf01c8a[_0xde33eb['group']][_0x492f88(0x3ad)](_0xde33eb),_0xf01c8a),{});return _0x56f3e7('div',{'className':_0x492f88(0x404),'children':Object[_0x492f88(0x45a)](_0x511679)['map'](([_0x2a3862,_0x3c605b])=>_0x1999e9(_0x492f88(0x3bd),{'className':'univer-mb-2','children':[_0x56f3e7(_0x492f88(0x3bd),{'className':_0x492f88(0x449),'children':_0x1320fd['t'](_0x492f88(0x4e7)+_0x2a3862)}),_0x56f3e7(_0x492f88(0x3bd),{'className':_0x492f88(0x32e),'children':_0x3c605b[_0x492f88(0x2f2)](_0x9bfbd2=>{const _0x679f58=_0x492f88;let _0x592ae5=_0x54ffeb['get'](_0x9bfbd2[_0x679f58(0x194)]);return _0x56f3e7(_0x679f58(0x3bd),{'title':_0x1320fd['t'](_0x9bfbd2['name']),'onClick':()=>_0x5ed857(_0x9bfbd2),'className':_0x679f58(0x3ea),'children':_0x592ae5&&_0x56f3e7(_0x592ae5,{'className':'univer-size-full'})},_0x9bfbd2[_0x679f58(0x2fd)]);})})]},_0x2a3862))});}function to(){const _0xce3ebb=_0xb24152;let _0xf14852=_0x201e51(_0x46ddff),_0x4ea1da=_0x201e51(_0x1f7427),_0x18fb0e=_0x201e51(Za),[_0x2b2582,_0x5d542f]=_0x18d62f(!0x1);return _0x56f3e7(_0x115395,{'side':_0xce3ebb(0x17a),'open':_0x2b2582,'onOpenChange':_0x5d542f,'overlay':_0x56f3e7(eo,{'onShapeClick':_0x37c169=>{const _0xbc319b=_0xce3ebb;let _0x5a11e0=_0x4ea1da['getFocusDrawings']()[_0xbc319b(0x3bf)](_0x1f941e=>_0x1f941e[_0xbc319b(0x1dd)]===_0x23b778[_0xbc319b(0x2e6)]);if(!_0x5a11e0)return;let {unitId:_0x5d73dd,subUnitId:_0x272baa,drawingId:_0x396d3e}=_0x5a11e0;_0x18fb0e[_0xbc319b(0x4fc)](_0x5d73dd,_0x272baa,_0x396d3e,_0x37c169[_0xbc319b(0x27d)]),_0x5d542f(!0x1);},'excludeGroups':['line']}),'children':_0x56f3e7(_0x51e438,{'children':_0xf14852['t'](_0xce3ebb(0x247))})});}function no(){let _0x5423d8=_0x201e51(_0x5e6bce);return _0x56f3e7(eo,{'onShapeClick':_0x3c99eb=>{const _0x1c6ab1=_0x2a10;_0x5423d8[_0x1c6ab1(0x378)](Wa['id'],{'value':_0x3c99eb[_0x1c6ab1(0x27d)],'enhanceParams':{'endArrow':_0x3c99eb[_0x1c6ab1(0x3e2)],'startArrow':_0x3c99eb[_0x1c6ab1(0x271)],'horizontal':_0x3c99eb[_0x1c6ab1(0x278)],'vertical':_0x3c99eb['vertical']}});}});}function ro(_0x55fd25){const _0x174ff6=_0xb24152;let _0x2554ee=_0x55fd25[_0x174ff6(0x4b5)](_0x3dd1dc);return{'id':Wa['id'],'type':_0x132af5[_0x174ff6(0x2bc)],'selections':[{'label':{'name':$a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':Wa['id']}}}],'icon':'ShapeIcon','tooltip':_0x174ff6(0x13e),'activated$':_0x198a05(_0x2554ee,!0x1,()=>new _0x1238ac(_0x46ca63=>{const _0x194b19=_0x174ff6;_0x46ca63[_0x194b19(0x1c5)](!0x1);})),'hidden$':_0x1c2017(_0x55fd25,_0xc8ef66[_0x174ff6(0x1c8)]),'disabled$':_0x58ee95(_0x55fd25)};}const io={[_0x14adbd[_0xb24152(0x42d)]]:{[_0x125055['LAYOUT']]:{[J['id']]:{'order':3.5,'menuItemFactory':Xa},[Ta['id']]:{'order':3.4,'menuItemFactory':Ja}},[_0x125055[_0xb24152(0x396)]]:{[_0x162333['id']]:{'order':0x1,'menuItemFactory':Ga,[_0x3950f5['id']]:{'order':0x0,'menuItemFactory':Ka}}}},[_0xdee9e5[_0xb24152(0x321)]]:{[Wa['id']]:{'order':0x4,'menuItemFactory':ro}}};let Q=class extends _0x1fdd93{constructor(_0x1d1039,_0x263229,_0x4264b7,_0xc919cb,_0x454f84,_0x7da951,_0x3bf9aa,_0x32364c,_0x1a4d82,_0x43099b,_0x68952d){const _0x412217=_0xb24152;super(),this[_0x412217(0x295)]=_0x1d1039,this[_0x412217(0x2aa)]=_0x263229,this[_0x412217(0x42f)]=_0x4264b7,this[_0x412217(0x288)]=_0xc919cb,this['_localeService']=_0x454f84,this['_commandService']=_0x7da951,this[_0x412217(0x2a2)]=_0x3bf9aa,this[_0x412217(0x1be)]=_0x32364c,this[_0x412217(0x286)]=_0x1a4d82,this['_renderManagerService']=_0x43099b,this[_0x412217(0x316)]=_0x68952d,G(this,'_sidebarDisposable',null),G(this,_0x412217(0x3eb),null),G(this,_0x412217(0x23d),!0x1),G(this,_0x412217(0x101),0x0),G(this,'_initializedShapePopupMenu',new Set()),G(this,_0x412217(0x291),[]),this[_0x412217(0x4c5)](),this[_0x412217(0x292)](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0xc8ef66[_0x412217(0x1c8)])[_0x412217(0x4c6)](_0x57d2f4=>{if(!_0x57d2f4){var _0x15911a;(_0x15911a=this['_sidebarDisposable'])==null||_0x15911a['dispose']();return;}this['_createShapePopupMenu'](_0x57d2f4);})),this[_0x412217(0x452)](),this[_0x412217(0x308)](),this[_0x412217(0x414)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x412217(0x191)][_0x412217(0x4c6)](_0x4a921d=>{_0x4a921d&&this['_clearPopups']();}));}[_0xb24152(0x4c5)](){const _0x3ff2d3=_0xb24152;this['_menuManagerService'][_0x3ff2d3(0x28a)](io);}['_registerShapeMenu'](){const _0x2e515d=_0xb24152;this[_0x2e515d(0x1be)][_0x2e515d(0x20a)](_0x23b778['DRAWING_SHAPE'],this['getShapePopupMenus'][_0x2e515d(0x110)](this)),this['_sheetCanvasPopManagerService'][_0x2e515d(0x387)](_0x23b778[_0x2e515d(0x170)],0x6,0x4);}['initShapePopupMenu'](){const _0x5f30f7=_0xb24152;this[_0x5f30f7(0x295)]['getAllUnitsForType'](_0xc8ef66[_0x5f30f7(0x1c8)])[_0x5f30f7(0x4fa)](_0x238c0e=>this[_0x5f30f7(0x3fe)](_0x238c0e));}['getShapePopupMenus'](_0xf5d862,_0x1aa3cb,_0x92241,_0x55c593){const _0x13778c=_0xb24152;return[{'label':_0x13778c(0x2b2),'index':0x0,'commandId':ja['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'drawingId':_0x92241},'disable':_0x55c593===_0x23b778['DRAWING_DOM']},{'label':'sheets-shape-ui.deleteShape','index':0x1,'commandId':_0x564422['id'],'commandParams':{'unitId':_0xf5d862,'drawings':[{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'drawingId':_0x92241,'drawingType':_0x55c593}]},'disable':!0x1},{'label':_0x13778c(0x44f),'index':0x2,'commandId':Aa['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'drawingId':_0x92241},'disable':!0x1},{'label':'sheets-shape-ui.toggleFlipH','index':0x3,'commandId':_0x379cbb['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'shapeId':_0x92241,'flipH':!0x0},'disable':!0x1},{'label':_0x13778c(0x186),'index':0x4,'commandId':_0x379cbb['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'shapeId':_0x92241,'flipV':!0x0},'disable':!0x1},{'label':_0x13778c(0x4ed),'index':0x4,'commandId':_0x291eec['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'shapeId':_0x92241,'rotate':0x5a},'disable':!0x1},{'label':_0x13778c(0x419),'index':0x4,'commandId':_0x291eec['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'shapeId':_0x92241,'rotate':-0x5a},'disable':!0x1},{'label':_0x13778c(0x119),'index':0x4,'commandId':_0x1a1e91['id'],'commandParams':{'unitId':_0xf5d862,'subUnitId':_0x1aa3cb,'shapeId':_0x92241},'disable':!0x1}];}[_0xb24152(0x20e)](_0x36a3f8,_0x28830d,_0x255b18){const _0x22f6cd=_0xb24152;let _0x35cac6=this[_0x22f6cd(0x288)][_0x22f6cd(0xec)](_0x36a3f8,_0x28830d,_0x255b18),_0xfc9a7e=this[_0x22f6cd(0x288)]['getShapeDataById'](_0x36a3f8,_0x28830d,_0x255b18);return _0x35cac6!==void 0x0&&_0xfc9a7e!==void 0x0?{'shapeData':_0xfc9a7e,'shapeId':_0x255b18,'shapeType':_0x35cac6,'unitId':_0x36a3f8,'subUnitId':_0x28830d,'version':this[_0x22f6cd(0x101)],'disableShapeOption':!0x1}:null;}[_0xb24152(0x3fe)](_0x48903d){const _0x3738b1=_0xb24152;if(!_0x48903d)return;let _0xd53aae=_0x48903d[_0x3738b1(0x1ad)]();this[_0x3738b1(0x2b9)][_0x3738b1(0x206)](_0xd53aae)&&!this['_initializedShapePopupMenu'][_0x3738b1(0x206)](_0xd53aae)&&(this[_0x3738b1(0x2a1)](_0xd53aae),this[_0x3738b1(0x24c)][_0x3738b1(0x22f)](_0xd53aae));}[_0xb24152(0x243)](){const _0x356831=_0xb24152;this[_0x356831(0x291)]['forEach'](_0x1ba11b=>_0x1ba11b[_0x356831(0x3fd)]()),this[_0x356831(0x291)][_0x356831(0x424)]=0x0;}[_0xb24152(0x2a1)](_0x49a7a1){const _0x3a056b=_0xb24152;var _0x21089d;let _0xd1824c=(_0x21089d=this['_renderManagerService'][_0x3a056b(0x2ba)](_0x49a7a1))==null?void 0x0:_0x21089d[_0x3a056b(0x138)],_0x316005=_0xd1824c==null?void 0x0:_0xd1824c[_0x3a056b(0x2af)]();!_0xd1824c||!_0x316005||(this[_0x3a056b(0x292)](_0x316005['createControl$'][_0x3a056b(0x4c6)](()=>{const _0x57b91e=_0x3a056b;let _0x1279fc=_0x316005['getSelectedObjectMap']();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x1279fc[_0x57b91e(0x487)]>0x1)return;let _0x2c32e0=_0x1279fc[_0x57b91e(0x118)]()[_0x57b91e(0x1c5)]()[_0x57b91e(0x39a)];if(!_0x2c32e0)return;let _0x3e1327=this[_0x57b91e(0x2a2)][_0x57b91e(0x4de)](_0x2c32e0[_0x57b91e(0x2e3)]);if(!_0x3e1327||_0x3e1327[_0x57b91e(0x1dd)]!==_0x23b778['DRAWING_SHAPE'])return;let {unitId:_0x411178,subUnitId:_0x30e96c,drawingId:_0x4ada0b,drawingType:_0x130255}=_0x3e1327,_0xe547ef=this[_0x57b91e(0x20e)](_0x411178,_0x30e96c,_0x4ada0b);if(!_0xe547ef)return;this[_0x57b91e(0x286)]['setContextValue'](_0x2a80f0,!0x0);let _0x12a170=this['_sheetCanvasPopManagerService'][_0x57b91e(0x4c3)](_0x2c32e0,{'componentKey':Na,'direction':_0x57b91e(0x39f),'offset':[0x0,0x8],'extraProps':{'unitId':_0x411178,'subUnitId':_0x30e96c,'drawingId':_0x4ada0b,'drawingType':_0x130255,'shapeType':_0xe547ef[_0x57b91e(0x309)],'shapeData':_0xe547ef[_0x57b91e(0x2b0)]}});this[_0x57b91e(0x291)][_0x57b91e(0x3ad)](this[_0x57b91e(0x292)](_0x12a170)),this[_0x57b91e(0x2a2)]['getFocusDrawings']()[_0x57b91e(0x3bf)](_0x2e69ef=>_0x2e69ef[_0x57b91e(0x371)]===_0x411178&&_0x2e69ef[_0x57b91e(0x4a5)]===_0x30e96c&&_0x2e69ef[_0x57b91e(0x428)]===_0x4ada0b)||this[_0x57b91e(0x2a2)][_0x57b91e(0x393)]([{'unitId':_0x411178,'subUnitId':_0x30e96c,'drawingId':_0x4ada0b}]);})),this[_0x3a056b(0x292)](_0x316005['clearControl$'][_0x3a056b(0x4c6)](()=>{const _0x3d87eb=_0x3a056b;this['_clearPopups'](),this[_0x3d87eb(0x286)][_0x3d87eb(0x433)](_0x2a80f0,!0x1),this[_0x3d87eb(0x2a2)][_0x3d87eb(0x393)](null);})),this[_0x3a056b(0x292)](_0x316005[_0x3a056b(0xf3)][_0x3a056b(0x4c6)](()=>{const _0x334707=_0x3a056b;this[_0x334707(0x243)]();})),this[_0x3a056b(0x292)](_0x316005[_0x3a056b(0x302)]['subscribe'](()=>{const _0x470b61=_0x3a056b;this[_0x470b61(0x243)]();})));}[_0xb24152(0x452)](){const _0x1645a3=_0xb24152;this[_0x1645a3(0x292)](this[_0x1645a3(0x12a)][_0x1645a3(0x199)](_0x19a185=>{const _0x2386c2=_0x1645a3;if(_0x19a185['id']===ja['id']){let {unitId:_0x2b6f51,subUnitId:_0x2aa24c,drawingId:_0x40adc1}=_0x19a185[_0x2386c2(0x3d3)];this['_shapeEditPanelVersion']+=0x1,this[_0x2386c2(0x3eb)]=this[_0x2386c2(0x20e)](_0x2b6f51,_0x2aa24c,_0x40adc1),this['_clearPopups'](),this[_0x2386c2(0x37e)]();}if(_0x19a185['id']===Aa['id']&&(this[_0x2386c2(0x3eb)]=null,this[_0x2386c2(0x1e7)]()),_0x19a185['id']===_0x10c449['id']){let {unitId:_0xbcf78a,subUnitId:_0x5d28bc,shapeId:_0x296af1}=_0x19a185['params'];if(this['_activeShapeInfo']&&this[_0x2386c2(0x3eb)]['shapeId']===_0x296af1){let _0x1225f7=this[_0x2386c2(0x20e)](_0xbcf78a,_0x5d28bc,_0x296af1);_0x1225f7&&(this['_shapeEditPanelVersion']+=0x1,_0x1225f7[_0x2386c2(0x13f)]=this[_0x2386c2(0x101)],this[_0x2386c2(0x3eb)]=_0x1225f7,this[_0x2386c2(0x23d)]&&this[_0x2386c2(0x37e)]());}}})),this[_0x1645a3(0x292)](this['_drawingManagerService'][_0x1645a3(0x1c3)][_0x1645a3(0x4c6)](_0x1fe7a0=>{const _0x1a2918=_0x1645a3;if(this[_0x1a2918(0x23d)]===!0x1)return;if(_0x1fe7a0[_0x1a2918(0x424)]===0x0){this['_activeShapeInfo']=null,this[_0x1a2918(0x1e7)]();return;}if(_0x1fe7a0['length']===0x1&&_0x1fe7a0[0x0]['drawingType']===_0x23b778['DRAWING_SHAPE']&&(this[_0x1a2918(0x101)]+=0x1,this['_activeShapeInfo']=this[_0x1a2918(0x20e)](_0x1fe7a0[0x0][_0x1a2918(0x371)],_0x1fe7a0[0x0][_0x1a2918(0x4a5)],_0x1fe7a0[0x0]['drawingId']),this[_0x1a2918(0x3eb)])){this[_0x1a2918(0x37e)]();return;}let _0x30e953=_0x1fe7a0[_0x1a2918(0x114)](_0x3a5bf1=>_0x3a5bf1['drawingType']===_0x23b778[_0x1a2918(0x170)]);if(_0x1fe7a0[_0x1a2918(0x424)]>0x1&&_0x30e953[_0x1a2918(0x424)]===_0x1fe7a0['length']){if(this[_0x1a2918(0x101)]+=0x1,this[_0x1a2918(0x3eb)]=this[_0x1a2918(0x20e)](_0x1fe7a0[0x0][_0x1a2918(0x371)],_0x1fe7a0[0x0][_0x1a2918(0x4a5)],_0x1fe7a0[0x0][_0x1a2918(0x428)]),this['_activeShapeInfo']){this[_0x1a2918(0x37e)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x1a2918(0x3eb)]=this['_getShapeInfo'](_0x1fe7a0[0x0]['unitId'],_0x1fe7a0[0x0]['subUnitId'],_0x1fe7a0[0x0][_0x1a2918(0x428)]),this[_0x1a2918(0x3eb)]){this['_activeShapeInfo'][_0x1a2918(0x17f)]=!0x0,this[_0x1a2918(0x37e)]();return;}}this['_closeShapeEditPanel']();}));}['_openShapeEditPanel'](){const _0xa30eee=_0xb24152;this[_0xa30eee(0x3eb)]&&(this[_0xa30eee(0x214)]=this['_sidebarService'][_0xa30eee(0x314)]({'id':Ma,'header':{'title':this[_0xa30eee(0x4be)]['t'](_0xa30eee(0x14a))},'width':0x184,'children':{'label':Ma,...this[_0xa30eee(0x3eb)]},'onClose':()=>{const _0x2b8562=_0xa30eee;this['_drawingManagerService'][_0x2b8562(0x393)](null),this['_contextService'][_0x2b8562(0x433)](_0x2a80f0,!0x1),this[_0x2b8562(0x214)]=null;}}),this[_0xa30eee(0x23d)]=!0x0);}[_0xb24152(0x1e7)](){const _0x11e028=_0xb24152;this[_0x11e028(0x23d)]=!0x1,this[_0x11e028(0x2aa)][_0x11e028(0x374)](Ma),this[_0x11e028(0x214)]=null,this[_0x11e028(0x286)][_0x11e028(0x433)](_0x2a80f0,!0x1),this['_drawingManagerService']['focusDrawing'](null);}};Q=X([Y(0x0,_0x3dd1dc),Y(0x1,_0x4429c1(_0x3e2e98)),Y(0x2,_0x2a59cb),Y(0x3,_0x4429c1(_0x2acfb5)),Y(0x4,_0x4429c1(_0x46ddff)),Y(0x5,_0x5e6bce),Y(0x6,_0x1f7427),Y(0x7,_0x4429c1(_0xc746b0)),Y(0x8,_0x286a43),Y(0x9,_0x2dae0a),Y(0xa,_0x4429c1(K))],Q);var ao=_0xb24152(0x484),oo=_0xb24152(0x3ef);const so={};let co=class extends _0x1fdd93{constructor(_0x181d30,_0x464e9b,_0x4ec036,_0x44b67f,_0x117c70,_0x43da9b){const _0x35958a=_0xb24152;super(),this[_0x35958a(0x12a)]=_0x181d30,this[_0x35958a(0x2b9)]=_0x464e9b,this['_drawingManagerService']=_0x4ec036,this[_0x35958a(0x1e5)]=_0x44b67f,this[_0x35958a(0x361)]=_0x117c70,this[_0x35958a(0xf1)]=_0x43da9b,this[_0x35958a(0x2db)]();}[_0xb24152(0x2db)](){const _0x308fa9=_0xb24152;this[_0x308fa9(0x3ff)](),this['_commandExecutedListener'](),this[_0x308fa9(0x4f9)]();}[_0xb24152(0x3ff)](){const _0x42ed86=_0xb24152;this[_0x42ed86(0x292)](this['_drawingManagerService']['add$'][_0x42ed86(0x4c6)](_0x543f6a=>{this['_insertShapes'](_0x543f6a);}));}['_commandExecutedListener'](){const _0x46f1f2=_0xb24152;this[_0x46f1f2(0x292)](this['_commandService'][_0x46f1f2(0x199)](_0x16be27=>{const _0x417f69=_0x46f1f2;if(_0x16be27['id']===_0x5acc7e['id']){var _0x252bcd;let {unitId:_0x1c5f9d,subUnitId:_0x449b0d,shapeId:_0x272200}=_0x16be27[_0x417f69(0x3d3)],_0xbb501b=this[_0x417f69(0x4c2)](_0x1c5f9d);if(_0xbb501b==null)return;let {scene:_0xe89bf}=_0xbb501b,_0x2ca462=_0x32b74c({'unitId':_0x1c5f9d,'subUnitId':_0x449b0d,'drawingId':_0x272200}),_0x19d650=_0xe89bf[_0x417f69(0x305)](_0x2ca462);if(!((_0x252bcd=this[_0x417f69(0x2b9)][_0x417f69(0x2ba)](_0x1c5f9d))!=null&&_0x252bcd['with'](_0x2948b6)[_0x417f69(0x213)](_0x449b0d)))return!0x1;if(_0x19d650)return;this[_0x417f69(0x2c9)]([{'unitId':_0x1c5f9d,'subUnitId':_0x449b0d,'drawingId':_0x272200}]);}}));}[_0xb24152(0x4f9)](){const _0xe41e13=_0xb24152;this[_0xe41e13(0x292)](this['_drawingManagerService']['update$'][_0xe41e13(0x4c6)](_0x51b857=>{const _0x18e45e=_0xe41e13;_0x51b857[_0x18e45e(0x4fa)](_0x468dea=>{const _0x92d790=_0x18e45e;let {unitId:_0x83c2,subUnitId:_0x34f65f,drawingId:_0x191a71}=_0x468dea,_0x46ae43=this['_drawingManagerService'][_0x92d790(0x297)](_0x468dea);if(_0x46ae43==null)return;let {transform:_0x3b8d05,drawingType:_0x27c5df,srcRect:_0x48cf34,prstGeom:_0x5cbe9a}=_0x46ae43;if(_0x27c5df!==_0x23b778['DRAWING_SHAPE'])return;let _0x42ee56=this['_getSceneAndTransformerByDrawingSearch'](_0x83c2);if(_0x42ee56==null)return;let {scene:_0x237d96,transformer:_0x5a20b8}=_0x42ee56;if(_0x3b8d05==null)return!0x0;let _0x3918d3=_0x32b74c({'unitId':_0x83c2,'subUnitId':_0x34f65f,'drawingId':_0x191a71}),_0x428ea4=_0x237d96[_0x92d790(0x305)](_0x3918d3);if(_0x428ea4==null)return!0x0;_0x428ea4[_0x92d790(0x1e2)](_0x48cf34),_0x428ea4[_0x92d790(0x31c)](_0x5cbe9a);});}));}[_0xb24152(0x47f)](_0xf3276c,_0x3b25e3){const _0x65f28d=_0xb24152;let {unitId:_0x46024a,subUnitId:_0x3c32df,drawingId:_0x2b1bc6}=_0xf3276c,_0x268e1b=this['_getSceneAndTransformerByDrawingSearch'](_0x46024a);if(_0x268e1b==null)return;let {scene:_0x10c795}=_0x268e1b,_0x3c5505=_0x32b74c({'unitId':_0x46024a,'subUnitId':_0x3c32df,'drawingId':_0x2b1bc6}),_0x22339f=_0x10c795['getObjectIncludeInGroup'](_0x3c5505);_0x22339f!=null&&_0x22339f[_0x65f28d(0x42c)](_0x3b25e3);}[_0xb24152(0x2c9)](_0x3231fb){const _0x56eaff=_0xb24152;_0x3231fb[_0x56eaff(0x4fa)](async _0x4ae0e7=>{const _0x3de104=_0x56eaff;var _0x920063;let {unitId:_0x5742a3,subUnitId:_0x4bc38d}=_0x4ae0e7,_0x19ac05=this['_getSceneAndTransformerByDrawingSearch'](_0x5742a3),_0x48dc48=(_0x920063=_0x3a49ea(this[_0x3de104(0x1e5)],_0x5742a3))==null?void 0x0:_0x920063['subUnitId'];if(_0x19ac05==null||_0x48dc48!==_0x4bc38d)return;let _0x23ee0a=this['_drawingManagerService']['getDrawingByParam'](_0x4ae0e7);if(_0x23ee0a!=null&&_0x23ee0a[_0x3de104(0x1dd)]===_0x23b778[_0x3de104(0x170)]){if(_0x59a416((_0x23ee0a['data']||{})[_0x3de104(0x309)])){let _0x368f6c=_0x23ee0a[_0x3de104(0x1e4)];_0x368f6c&&(_0x23ee0a['transform']={..._0x368f6c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x3de104(0x2a2)][_0x3de104(0x42e)]([_0x23ee0a]),this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x23ee0a,_0x19ac05[_0x3de104(0x138)]);}});}[_0xb24152(0x4c2)](_0x24a531){const _0x430f66=_0xb24152;if(_0x24a531==null)return;let _0x31a15b=this[_0x430f66(0x2b9)]['getRenderById'](_0x24a531),_0x36a6ae=_0x31a15b==null?void 0x0:_0x31a15b[_0x430f66(0x138)];return _0x36a6ae==null?null:{'scene':_0x36a6ae,'transformer':_0x36a6ae['getTransformerByCreate']()};}};co=X([Y(0x0,_0x5e6bce),Y(0x1,_0x2dae0a),Y(0x2,_0x1f7427),Y(0x3,_0x3dd1dc),Y(0x4,_0x4429c1(_0xdfb1f0)),Y(0x5,_0x4429c1(Z))],co);function lo(){const _0xd904a8=_0xb24152;let _0x2f1e6a=_0x201e51(_0x1f7427),[_0x472d57,_0x2bdf88]=_0x18d62f(_0x2f1e6a[_0xd904a8(0x148)]());return _0x338c88(()=>{const _0x169d86=_0xd904a8;let _0x507d26=_0x2f1e6a['focus$'][_0x169d86(0x4c6)](_0x491447=>{_0x2bdf88(_0x491447);});return()=>{_0x507d26['unsubscribe']();};},[]),_0x472d57[_0xd904a8(0x424)]===0x0?null:_0x56f3e7(_0xd904a8(0x3bd),{'children':_0x1999e9(_0xd904a8(0x3bd),{'className':_0xd904a8(0x38b),'children':[_0x56f3e7(_0x58b395,{'drawings':_0x472d57,'hasCropper':!0x1}),_0x56f3e7(_0x398757,{'drawings':_0x472d57})]})});}function uo(_0xaf1fff){let {unitId:_0x1bd1b9,subUnitId:_0x2a0a10,shapeId:_0x397230}=_0xaf1fff,_0x4e65b1=_0x201e51(_0x5e6bce),_0x5be438=_0x201e51(co);return _0x56f3e7(_0x152674,{..._0xaf1fff,'positionEditor':_0x56f3e7(lo,{}),'onUpdateShapeData':(_0x5d874e,_0xaf386f)=>{Fa(_0x4e65b1,_0x1bd1b9,_0x2a0a10,_0x397230,_0x5d874e,_0xaf386f);},'onUpdateLineShapeData':(_0x26d5f6,_0x50e52a)=>{Ia(_0x4e65b1,_0x1bd1b9,_0x2a0a10,_0x397230,_0x26d5f6,_0x50e52a);},'onUpdateShapeFillImage':_0x2290d6=>{const _0x2e5265=_0x2a10;_0x5be438[_0x2e5265(0x47f)]({'unitId':_0x1bd1b9,'subUnitId':_0x2a0a10,'drawingId':_0x397230},_0x2290d6);}});}function fo(_0x2c6e56){const _0x473e88=_0xb24152;let _0x482bd9=_0x2c6e56['shapeText'];return _0x482bd9&&_0x473e88(0x1f3)in _0x482bd9&&_0x482bd9[_0x473e88(0x1f3)]?_0x482bd9['dataModel']:null;}function po(_0x31eadd){const _0x53218a=_0xb24152;var _0x541276,_0x1822f2,_0x1b5fb2,_0x28472a;let _0x219c6f=(_0x541276=fo(_0x31eadd))==null?void 0x0:_0x541276[_0x53218a(0x48e)],_0x4693c4=(_0x1822f2=_0x219c6f==null||(_0x1b5fb2=_0x219c6f[_0x53218a(0x1fb)])==null||(_0x1b5fb2=_0x1b5fb2['textRuns'])==null||(_0x1b5fb2=_0x1b5fb2[0x0])==null?void 0x0:_0x1b5fb2['ts'])==null?{}:_0x1822f2;return{..._0x219c6f==null||(_0x28472a=_0x219c6f[_0x53218a(0x4b0)])==null?void 0x0:_0x28472a['textStyle'],..._0x4693c4};}function mo(_0xacfc74){const _0x135b29=_0xb24152;let _0x2cb8e1=_0xacfc74[_0x135b29(0x10b)][_0x135b29(0x3c5)];return _0x2cb8e1?_0x56f3e7(ho,{..._0x2cb8e1}):null;}function ho(_0x5af0ba){const _0x4abe3e=_0xb24152;var _0x1819b7,_0x2d3ef0;let _0x372f84=_0x201e51(_0x5e6bce),_0x5aa29a=_0x201e51(_0x46ddff),_0x2292f1=_0x201e51(_0x2acfb5),_0x525914=_0x201e51(_0x2dafbe),{unitId:_0x3b44f4,subUnitId:_0x3a48c7,drawingId:_0x5b509b,drawingType:_0x25cc4a,shapeType:_0x53853b}=_0x5af0ba,[_0x380c99,_0x2afc5b]=_0x18d62f(_0x5af0ba[_0x4abe3e(0x2b0)]),[_0x1c3f39,_0x1a41ed]=_0x18d62f(()=>_0x525914[_0x4abe3e(0x207)]()),_0x5d614f=_0x5c9ce9(()=>po(_0x380c99),[_0x380c99]),_0x1a4068=_0x5c9ce9(()=>fo(_0x380c99),[_0x380c99]);_0x338c88(()=>{const _0x52f95f=_0x4abe3e;let _0x3bfd21=_0x372f84[_0x52f95f(0x199)](_0x263907=>{if(_0x263907['id']!==_0x10c449['id'])return;let _0x130212=_0x2292f1['getShapeDataById'](_0x3b44f4,_0x3a48c7,_0x5b509b);_0x130212&&_0x2afc5b(_0x130212);});return()=>_0x3bfd21[_0x52f95f(0x3fd)]();},[_0x372f84,_0x5b509b,_0x2292f1,_0x3a48c7,_0x3b44f4]),_0x338c88(()=>{const _0x4b5bad=_0x4abe3e;let _0x2afe45=_0x525914[_0x4b5bad(0x33c)]['subscribe'](_0x5d5cf6=>{_0x1a41ed(_0x5d5cf6);});return()=>_0x2afe45[_0x4b5bad(0x151)]();},[_0x525914]);let _0x337f3d=_0x3a246a=>{_0x2afc5b(_0x27030b=>({..._0x27030b,..._0x3a246a}));},_0x12bf84=_0x40f4a1=>{const _0x268040=_0x4abe3e;let _0x47afca=_0x2a890e(_0x380c99,_0x40f4a1);Fa(_0x372f84,_0x3b44f4,_0x3a48c7,_0x5b509b,{'oldShapeData':{'shapeText':_0x380c99[_0x268040(0x4f4)]}},_0x47afca),_0x337f3d(_0x47afca);},_0x190649=_0x1c3f39[_0x4abe3e(0x2f2)](_0x1bbe60=>({'label':_0x5aa29a['t'](_0x1bbe60[_0x4abe3e(0x1f8)]),'value':_0x1bbe60[_0x4abe3e(0x39a)]}));return _0x56f3e7(_0x2aadf3,{'shapeData':_0x380c99,'shapeType':_0x53853b,'textStyle':{'cl':{'rgb':'#111827'},..._0x5d614f},'textModel':_0x1a4068?{'ha':(_0x1819b7=_0x1a4068['ha'])==null?_0x1cb9e9[_0x4abe3e(0x480)]:_0x1819b7,'va':(_0x2d3ef0=_0x1a4068['va'])==null?_0x223565['TOP']:_0x2d3ef0}:null,'fontOptions':_0x190649,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x4ff297,_0x3e1c32)=>{Fa(_0x372f84,_0x3b44f4,_0x3a48c7,_0x5b509b,_0x4ff297,_0x3e1c32),_0x3e1c32&&_0x337f3d(_0x3e1c32);},'onUpdateText':_0x12bf84,'onOpenPanel':()=>{const _0x578b71=_0x4abe3e;_0x372f84[_0x578b71(0x378)](ja['id'],{'unitId':_0x3b44f4,'subUnitId':_0x3a48c7,'drawingId':_0x5b509b});},'onDelete':()=>{const _0x58643a=_0x4abe3e;_0x372f84[_0x58643a(0x378)](_0x564422['id'],{'unitId':_0x3b44f4,'drawings':[{'unitId':_0x3b44f4,'subUnitId':_0x3a48c7,'drawingId':_0x5b509b,'drawingType':_0x25cc4a}]});}});}const go=_0x40c052(()=>{const _0x1c77a9=_0xb24152;let _0x587585=_0x201e51(K),_0x51fb28=_0x201e51(_0x2acfb5),_0x5457d6=_0x201e51(_0x1f7427),_0x171339=_0x201e51(_0x5e6bce);return _0x56f3e7(_0x5833fb,{'adapter':_0x5c9ce9(()=>({'getShapeModel':(_0x3cd08e,_0x23921c,_0x1fcae6)=>_0x51fb28[_0x1c77a9(0x2ce)](_0x3cd08e,_0x23921c,_0x1fcae6),'getDrawingTransform':(_0x658f2c,_0xf88050,_0x2e5aa9)=>{const _0x1b6fe4=_0x1c77a9;let _0x4936a5=_0x5457d6[_0x1b6fe4(0x297)]({'unitId':_0x658f2c,'subUnitId':_0xf88050,'drawingId':_0x2e5aa9});return _0x4936a5==null?void 0x0:_0x4936a5[_0x1b6fe4(0x1e4)];},'updateShapeText':({unitId:_0x24b16d,subUnitId:_0x417736,shapeId:_0x3095ca,shapeText:_0x5b5a66,oldShapeText:_0x3e6823})=>{const _0x197a81=_0x1c77a9;_0x171339[_0x197a81(0x378)](q['id'],{'unitId':_0x24b16d,'subUnitId':_0x417736,'shapeId':_0x3095ca,'shapeData':{'shapeText':_0x5b5a66},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x3e6823}}});}}),[_0x171339,_0x5457d6,_0x51fb28]),'editingService':_0x587585,'editorUnitId':Pa,'positionOptions':_0x5c9ce9(()=>({'viewportKeys':{'main':_0x2f9f10[_0x1c77a9(0x3af)],'leftTop':_0x2f9f10[_0x1c77a9(0x3be)],'top':_0x2f9f10['VIEW_MAIN_TOP'],'left':_0x2f9f10[_0x1c77a9(0x3b5)]},'getSkeleton':(_0x387245,_0x4cb711)=>{const _0x3a56d3=_0x1c77a9;var _0x15fa9f,_0x2a1ef6;return(_0x15fa9f=(_0x2a1ef6=_0x387245[_0x3a56d3(0x394)](_0x2948b6)[_0x3a56d3(0x3cb)](_0x4cb711[_0x3a56d3(0x4a5)]))==null?void 0x0:_0x2a1ef6['skeleton'])==null?null:_0x15fa9f;}}),[]),'verticalAlignCommandId':J['id']});});let _o=class extends _0x1fdd93{constructor(_0x28cc9e,_0x4a67a1){const _0xe83131=_0xb24152;super(),this[_0xe83131(0x3a4)]=_0x28cc9e,this[_0xe83131(0x3fb)]=_0x4a67a1,this['_registerIcons'](),this[_0xe83131(0x3f7)]();}[_0xb24152(0x34e)](){const _0x2cf985=_0xb24152;this[_0x2cf985(0x292)](this[_0x2cf985(0x3fb)][_0x2cf985(0x4cf)]({'ShapeAccentBorderCallout1Icon':_0x4d1fe9,'ShapeAccentBorderCallout2Icon':_0x1839c6,'ShapeAccentBorderCallout3Icon':_0x2527fe,'ShapeAccentCallout1Icon':_0x3d7b47,'ShapeAccentCallout2Icon':_0x4c725b,'ShapeAccentCallout3Icon':_0x2e3f89,'ShapeActionButtonBackPreviousIcon':_0x4e9e74,'ShapeActionButtonBeginningIcon':_0x3fe5f1,'ShapeActionButtonBlankIcon':_0xd84f56,'ShapeActionButtonDocumentIcon':_0x17617a,'ShapeActionButtonEndIcon':_0x9a17d1,'ShapeActionButtonForwardNextIcon':_0x50eb00,'ShapeActionButtonHelpIcon':_0x46d284,'ShapeActionButtonHomeIcon':_0x4ec1c9,'ShapeActionButtonInformationIcon':_0x590631,'ShapeActionButtonMovieIcon':_0x1da91a,'ShapeActionButtonReturnIcon':_0x321a7c,'ShapeActionButtonSoundIcon':_0x4f3b60,'ShapeArcIcon':_0x1797a9,'ShapeBentArrowIcon':_0x2ec581,'ShapeBentConnector3Arrow1Icon':_0x3c8d4f,'ShapeBentConnector3Arrow2Icon':_0x2409ae,'ShapeBentConnector3Icon':_0x53f5fb,'ShapeBentUpArrowIcon':_0x3e7926,'ShapeBevelIcon':_0x3156fa,'ShapeBlockArcIcon':_0x8762c0,'ShapeBorderCallout1Icon':_0x55ca52,'ShapeBorderCallout2Icon':_0x31ff4c,'ShapeBorderCallout3Icon':_0x5cd687,'ShapeBracePairIcon':_0x2e91be,'ShapeBracketPairIcon':_0x54e541,'ShapeCallout1Icon':_0x12ee0f,'ShapeCallout2Icon':_0x178899,'ShapeCallout3Icon':_0x3cab8f,'ShapeCanIcon':_0x367755,'ShapeChartPlusIcon':_0x4b39dd,'ShapeChartStarIcon':_0x5f45be,'ShapeChartXIcon':_0x3088ad,'ShapeChevronIcon':_0x192389,'ShapeChordIcon':_0x37c88b,'ShapeCircularArrowIcon':_0x2e96ab,'ShapeCloudCalloutIcon':_0x543e49,'ShapeCloudIcon':_0x16ea4b,'ShapeCornerIcon':_0x42c258,'ShapeCornerTabsIcon':_0x3fd10b,'ShapeCubeIcon':_0x3808d8,'ShapeCurvedConnector3Arrow1Icon':_0x162e6b,'ShapeCurvedConnector3Arrow2Icon':_0x1c9c1c,'ShapeCurvedConnector3Icon':_0x3cb835,'ShapeCurvedDownArrowIcon':_0x3a83c4,'ShapeCurvedLeftArrowIcon':_0x2bd73a,'ShapeCurvedRightArrowIcon':_0x3430d4,'ShapeCurvedUpArrowIcon':_0x256f87,'ShapeDecagonIcon':_0x285405,'ShapeDiagStripeIcon':_0x50d3a5,'ShapeDiamondIcon':_0x46571c,'ShapeDodecagonIcon':_0x223b08,'ShapeDonutIcon':_0x1e3a4d,'ShapeDoubleWaveIcon':_0x345e06,'ShapeDownArrowCalloutIcon':_0x578ec1,'ShapeDownArrowIcon':_0x2bf539,'ShapeEllipseIcon':_0xde6dd,'ShapeEllipseRibbon2Icon':_0x2c9438,'ShapeEllipseRibbonIcon':_0x1e8428,'ShapeFlowChartAlternateProcessIcon':_0x15e15c,'ShapeFlowChartCollateIcon':_0xb9a67e,'ShapeFlowChartConnectorIcon':_0x4a91a5,'ShapeFlowChartDecisionIcon':_0x17462c,'ShapeFlowChartDelayIcon':_0xc6890d,'ShapeFlowChartDisplayIcon':_0x56773a,'ShapeFlowChartDocumentIcon':_0x23742f,'ShapeFlowChartExtractIcon':_0x513926,'ShapeFlowChartInputOutputIcon':_0x1d4427,'ShapeFlowChartInternalStorageIcon':_0x2930d0,'ShapeFlowChartMagneticDiskIcon':_0x3d37dc,'ShapeFlowChartMagneticDrumIcon':_0x5876f2,'ShapeFlowChartMagneticTapeIcon':_0x1cf5c9,'ShapeFlowChartManualInputIcon':_0x59e3af,'ShapeFlowChartManualOperationIcon':_0x13f321,'ShapeFlowChartMergeIcon':_0x3f1776,'ShapeFlowChartMultidocumentIcon':_0xeecae7,'ShapeFlowChartOfflineStorageIcon':_0x34347d,'ShapeFlowChartOffpageConnectorIcon':_0x484b74,'ShapeFlowChartOnlineStorageIcon':_0x7cd1f7,'ShapeFlowChartOrIcon':_0x5a0c8c,'ShapeFlowChartPredefinedProcessIcon':_0x170a63,'ShapeFlowChartPreparationIcon':_0x4cf59c,'ShapeFlowChartProcessIcon':_0x128df9,'ShapeFlowChartPunchedCardIcon':_0x21ebe4,'ShapeFlowChartPunchedTapeIcon':_0x546db5,'ShapeFlowChartSortIcon':_0x297253,'ShapeFlowChartSummingJunctionIcon':_0x42e9ce,'ShapeFlowChartTerminatorIcon':_0x56b563,'ShapeFolderCornerIcon':_0x3d0aea,'ShapeFrameIcon':_0x55a5ad,'ShapeFunnelIcon':_0x4f2852,'ShapeGear6Icon':_0x4095d9,'ShapeGear9Icon':_0x1ebb6e,'ShapeHalfFrameIcon':_0x36379e,'ShapeHeartIcon':_0x34c417,'ShapeHeptagonIcon':_0x1b2294,'ShapeHexagonIcon':_0x37c944,'ShapeHomePlateIcon':_0x184c0b,'ShapeHorizontalScrollIcon':_0x3b2253,'ShapeIrregularSeal1Icon':_0x13f80a,'ShapeIrregularSeal2Icon':_0x1d3cb6,'ShapeLeftArrowCalloutIcon':_0x5aee8e,'ShapeLeftArrowIcon':_0x46302f,'ShapeLeftBraceIcon':_0x1b9e42,'ShapeLeftBracketIcon':_0x58a562,'ShapeLeftCircularArrowIcon':_0x35ba78,'ShapeLeftRightArrowCalloutIcon':_0x82d833,'ShapeLeftRightArrowIcon':_0x538c7d,'ShapeLeftRightCircularArrowIcon':_0x29ca6a,'ShapeLeftRightRibbonIcon':_0x478b30,'ShapeLeftRightUpArrowIcon':_0x3d3305,'ShapeLeftUpArrowIcon':_0x5f2602,'ShapeLightningBoltIcon':_0xb97439,'ShapeLineIcon':_0x4c4fbd,'ShapeLineInvIcon':_0x50dda2,'ShapeMathDivideIcon':_0x4173f5,'ShapeMathEqualIcon':_0xe0f9f0,'ShapeMathMinusIcon':_0x275b0d,'ShapeMathMultiplyIcon':_0x2bd146,'ShapeMathNotEqualIcon':_0x454d79,'ShapeMathPlusIcon':_0x201734,'ShapeMoonIcon':_0xe9af53,'ShapeNoSmokingIcon':_0x2507b1,'ShapeNonIsoscelesTrapezoidIcon':_0x26da29,'ShapeNotchedRightArrowIcon':_0x17c71f,'ShapeOctagonIcon':_0x4bf37b,'ShapeParallelogramIcon':_0x2aaf74,'ShapePentagonIcon':_0x38f90c,'ShapePieIcon':_0x17510c,'ShapePieWedgeIcon':_0x34f925,'ShapePlaqueIcon':_0x34a415,'ShapePlaqueTabsIcon':_0x32ade1,'ShapePlusIcon':_0x42555c,'ShapeQuadArrowCalloutIcon':_0x513d64,'ShapeQuadArrowIcon':_0xfd6617,'ShapeRectIcon':_0x2d96fc,'ShapeRectTextboxHorizontalIcon':_0x471afd,'ShapeRectTextboxVerticalIcon':_0xc04f9f,'ShapeRibbon2Icon':_0x5e04be,'ShapeRibbonIcon':_0x171160,'ShapeRightArrowCalloutIcon':_0x1612c9,'ShapeRightArrowIcon':_0xe6e78,'ShapeRightBraceIcon':_0x573c90,'ShapeRightBracketIcon':_0x4e44fe,'ShapeRound1RectIcon':_0x3104bf,'ShapeRound2DiagRectIcon':_0x153bd3,'ShapeRound2SameRectIcon':_0x1e96c3,'ShapeRoundRectIcon':_0x17216c,'ShapeRtTriangleIcon':_0x3002ad,'ShapeSmileyFaceIcon':_0x52d1f8,'ShapeSnip1RectIcon':_0x5e17de,'ShapeSnip2DiagRectIcon':_0x54d006,'ShapeSnip2SameRectIcon':_0x2770dc,'ShapeSnipRoundRectIcon':_0x3c34e2,'ShapeSquareTabsIcon':_0x4db119,'ShapeStar10Icon':_0x5ae7b6,'ShapeStar12Icon':_0x5e9192,'ShapeStar16Icon':_0x38b3b7,'ShapeStar24Icon':_0x27af90,'ShapeStar32Icon':_0x1fb442,'ShapeStar4Icon':_0x482cfa,'ShapeStar5Icon':_0x3089f3,'ShapeStar6Icon':_0x1ef6fc,'ShapeStar7Icon':_0x54ecda,'ShapeStar8Icon':_0x5ec7c5,'ShapeStraightConnector1Icon':_0x4bff66,'ShapeStraightConnector2Icon':_0x5995ba,'ShapeStripedRightArrowIcon':_0x3381b4,'ShapeSunIcon':_0x3d18bb,'ShapeSwooshArrowIcon':_0x37056a,'ShapeTeardropIcon':_0x207689,'ShapeTrapezoidIcon':_0x2063a4,'ShapeTriangleIcon':_0x4dc479,'ShapeUpArrowCalloutIcon':_0x324808,'ShapeUpArrowIcon':_0x4d5ecb,'ShapeUpDownArrowCalloutIcon':_0x14056a,'ShapeUpDownArrowIcon':_0xe12ec8,'ShapeUturnArrowIcon':_0x346e4b,'ShapeVerticalScrollIcon':_0x22fa52,'ShapeWaveIcon':_0x445705,'ShapeWedgeEllipseCalloutIcon':_0x8927f8,'ShapeWedgeRectCalloutIcon':_0x330239,'ShapeWedgeRoundRectCalloutIcon':_0x2c6171}));}[_0xb24152(0x3f7)](){const _0x28cd68=_0xb24152;this['disposeWithMe'](this['_componentManager'][_0x28cd68(0x4cf)](Ma,uo)),this['disposeWithMe'](this[_0x28cd68(0x3a4)][_0x28cd68(0x4cf)]($a,no)),this[_0x28cd68(0x292)](this[_0x28cd68(0x3a4)][_0x28cd68(0x4cf)](_0x44f4fc,to)),this[_0x28cd68(0x292)](this[_0x28cd68(0x3a4)][_0x28cd68(0x4cf)](Na,mo)),this[_0x28cd68(0x292)](this[_0x28cd68(0x3a4)][_0x28cd68(0x4cf)](_0x28cd68(0x32c),go));}};_o=X([Y(0x0,_0x4429c1(_0x373853)),Y(0x1,_0x4429c1(_0x53069b))],_o);let vo=class extends _0x1fdd93{constructor(_0x1a44e3,_0x13b831,_0x2e2502,_0x421af0,_0x3c27c5){const _0x218add=_0xb24152;super(),this[_0x218add(0x41a)]=_0x1a44e3,this[_0x218add(0x2a2)]=_0x13b831,this[_0x218add(0x2b9)]=_0x2e2502,this['_univerInstanceService']=_0x421af0,this[_0x218add(0x2cf)]=_0x3c27c5,G(this,_0x218add(0x3a5),null),G(this,_0x218add(0x337),null),G(this,_0x218add(0x3e7),null),G(this,_0x218add(0x161),void 0x0),G(this,_0x218add(0x204),[]),G(this,_0x218add(0x4b2),0x0),G(this,_0x218add(0x370),0x0),G(this,'_baseWidth',0x0),G(this,_0x218add(0x48f),0x0),G(this,_0x218add(0x2bd),!0x1),G(this,'_activeAdjustInfo',void 0x0),G(this,_0x218add(0x1a9),void 0x0),G(this,_0x218add(0x11f),void 0x0),G(this,_0x218add(0x367),void 0x0),G(this,_0x218add(0x346),!0x1),this['_registerFocusChangeHandler'](),this[_0x218add(0x421)]();}[_0xb24152(0x27c)](){const _0x1c5085=_0xb24152;this[_0x1c5085(0x3ed)]();}['refreshAdjustControls'](){const _0x59a07a=_0xb24152;this[_0x59a07a(0x3ed)](),this[_0x59a07a(0x2a3)](!0x0);}[_0xb24152(0x30f)](_0x436e94,_0x3618af,_0x1bd283,_0x27c925){const _0x734d1e=_0xb24152;let _0x2118aa=_0x436e94;if(!(_0x2118aa===_0x34fa26[_0x734d1e(0x289)]||_0x436e94==='custom'))try{let _0x316830=new _0x14f89a(_0x2118aa,_0x734d1e(0x48b)+_0x436e94);return _0x27c925&&_0x316830[_0x734d1e(0x10a)]({'adjustValues':_0x27c925},!0x0),_0x316830['updateContext']({'width':_0x3618af,'height':_0x1bd283}),_0x316830;}catch{return;}}[_0xb24152(0x14f)](_0xeee204,_0x3924f6,_0x1dcfc2){const _0x388d1f=_0xb24152;let _0x19d3e6={'unitId':_0xeee204,'subUnitId':_0x3924f6,'drawingId':_0x1dcfc2},_0x41e455=this[_0x388d1f(0x2a2)][_0x388d1f(0x297)](_0x19d3e6);if(!(!_0x41e455||_0x41e455[_0x388d1f(0x1dd)]!==_0x23b778['DRAWING_IMAGE']))return _0x41e455;}[_0xb24152(0x128)](_0x550bed,_0x14fc30,_0xf4f229){const _0x4ae860=_0xb24152;let _0x398380=this[_0x4ae860(0x2b9)][_0x4ae860(0x2ba)](_0x550bed);if(!_0x398380)return;let {scene:_0x40e048}=_0x398380,_0x1b1dc8=_0x32b74c({'unitId':_0x550bed,'subUnitId':_0x14fc30,'drawingId':_0xf4f229}),_0x349699=_0x40e048[_0x4ae860(0x3cf)](_0x1b1dc8);if(_0x349699 instanceof _0x1b123c){let _0x262728=_0x349699[_0x4ae860(0x129)];if(_0x262728)return{'prstGeom':_0x262728,'adjustValues':_0x349699[_0x4ae860(0x268)]};}}['_createControls'](_0x20c99b=!0x1){const _0x2da980=_0xb24152;if(!this['_unitId']||!this[_0x2da980(0x3e7)]||!this[_0x2da980(0x3a5)])return;let _0x30fb0d=this['_renderManagerService']['getRenderById'](this[_0x2da980(0x337)]);if(!_0x30fb0d||!_0x30fb0d[_0x2da980(0x394)](_0x2948b6)[_0x2da980(0x3e6)]())return;let {scene:_0x42e504}=_0x30fb0d,_0x22f525=this[_0x2da980(0x14f)](this[_0x2da980(0x337)],this[_0x2da980(0x3e7)],this[_0x2da980(0x3a5)]);if(!_0x22f525)return;let {transform:_0x3117a3}=_0x22f525;if(!_0x3117a3)return;let {left:_0x4180d2,top:_0x5cf7c7,width:_0x2fd837,height:_0xd3259a,flipX:_0x828b76,flipY:_0x59bec9,angle:_0x111b5b=0x0}=_0x3117a3;if(_0x4180d2===void 0x0||_0x5cf7c7===void 0x0)return;let _0x380466=this['_getImagePrstGeom'](this[_0x2da980(0x337)],this['_subUnitId'],this[_0x2da980(0x3a5)]);if(!_0x380466)return;if(_0x20c99b){let _0x56bbd1=this[_0x2da980(0x30f)](_0x380466[_0x2da980(0x129)],_0x2fd837||0x0,_0xd3259a||0x0,_0x380466['adjustValues']);if(!_0x56bbd1)return;this[_0x2da980(0x161)]=_0x56bbd1['getDrawingPoints']();}let _0x7d0bbf=this[_0x2da980(0x161)];if(!(!_0x7d0bbf||_0x7d0bbf['length']===0x0))for(let _0x362e7a=0x0;_0x362e7a<_0x7d0bbf[_0x2da980(0x424)];_0x362e7a++){let _0xb5e369=_0x7d0bbf[_0x362e7a],_0xe1ffd9=_0xb5e369['x'],_0x4f6b9d=_0xb5e369['y'];if(_0x828b76&&(_0xe1ffd9=(_0x2fd837||0x0)-_0xe1ffd9),_0x59bec9&&(_0x4f6b9d=(_0xd3259a||0x0)-_0x4f6b9d),_0x111b5b!==0x0){let _0x3dcda2=(_0x2fd837||0x0)/0x2,_0x29366e=(_0xd3259a||0x0)/0x2,_0x9028b4=_0x111b5b*Math['PI']/0xb4,_0x2682bb=Math[_0x2da980(0x1af)](_0x9028b4),_0x5ab5b8=Math[_0x2da980(0x12f)](_0x9028b4),_0x4b164c=_0xe1ffd9-_0x3dcda2,_0x887ad9=_0x4f6b9d-_0x29366e;_0xe1ffd9=_0x3dcda2+(_0x4b164c*_0x2682bb-_0x887ad9*_0x5ab5b8),_0x4f6b9d=_0x29366e+(_0x4b164c*_0x5ab5b8+_0x887ad9*_0x2682bb);}let _0xe370a5={'x':_0xe1ffd9,'y':_0x4f6b9d,'adjName':_0xb5e369['adjName']};this['_addControl'](_0x42e504,_0xe370a5,_0xe370a5[_0x2da980(0x178)],_0x4180d2,_0x5cf7c7,this[_0x2da980(0x337)],this[_0x2da980(0x3e7)]);}}[_0xb24152(0x1a6)](_0x33e416,_0x4b5cea,_0x1ca10c,_0x27e7d3,_0xcc9972,_0xdf83aa,_0x2bb1de){const _0x2ef398=_0xb24152;if(!this['_activeImageId'])return;let _0x263ea6=_0x2ef398(0x44d)+this['_activeImageId']+'-'+_0x1ca10c,_0x22de03=_0x33e416[_0x2ef398(0x305)](_0x263ea6);if(_0x22de03){_0x22de03['transformByState']({'left':_0x4b5cea['x']+_0x27e7d3-_0x2dd83f[_0x2ef398(0x348)],'top':_0x4b5cea['y']+_0xcc9972-_0x2dd83f['adjHandleSize']});return;}let _0x32fa2a=new Va(_0x263ea6,{'left':_0x4b5cea['x']+_0x27e7d3-_0x2dd83f[_0x2ef398(0x348)],'top':_0x4b5cea['y']+_0xcc9972-_0x2dd83f[_0x2ef398(0x348)],'adjName':_0x1ca10c,'shapeId':this[_0x2ef398(0x3a5)],'unitId':_0xdf83aa,'subUnitId':_0x2bb1de,'width':_0x2dd83f[_0x2ef398(0x348)]+0x8,'height':_0x2dd83f[_0x2ef398(0x348)]+0x8,'zIndex':_0x536557+0x1,'evented':!0x0});this['_shapes'][_0x2ef398(0x3ad)](_0x32fa2a),this[_0x2ef398(0x4b6)](_0x32fa2a,_0x33e416,_0x1ca10c),_0x33e416['addObject'](_0x32fa2a,_0x536557+0x1);}['_clearControls'](){const _0x5054e7=_0xb24152;this[_0x5054e7(0x204)][_0x5054e7(0x424)]!==0x0&&(this['_shapes'][_0x5054e7(0x4fa)](_0x2526a1=>_0x2526a1[_0x5054e7(0x3fd)]()),this[_0x5054e7(0x204)]=[]);}[_0xb24152(0x254)](_0x2dbb75,_0x1f65f4){const _0x4622a2=_0xb24152;var _0x3b6f2c;let _0x68b867={'x':0x0,'y':0x0},_0x33f426=this[_0x4622a2(0x2b9)][_0x4622a2(0x2ba)](_0x2dbb75);if(!_0x33f426||!_0x33f426[_0x4622a2(0x394)](_0x2948b6)[_0x4622a2(0x213)](_0x1f65f4))return _0x68b867;let _0x4d899e=_0x33f426[_0x4622a2(0x394)](_0x163695),_0x2f21af=_0x4d899e==null?void 0x0:_0x4d899e[_0x4622a2(0x318)]();if(!_0x2f21af)return _0x68b867;let _0x128591=(_0x3b6f2c=this[_0x4622a2(0x295)][_0x4622a2(0x257)](_0x2dbb75))==null?void 0x0:_0x3b6f2c['getSheetBySheetId'](_0x1f65f4);if(!_0x128591)return _0x68b867;let _0x355199=_0x2bbbe9(_0x2f21af[_0x4622a2(0x16f)],_0x2f21af[_0x4622a2(0x123)],_0x33f426[_0x4622a2(0x138)],_0x128591);return _0x355199?{'x':_0x355199['viewportScrollX'],'y':_0x355199[_0x4622a2(0x2b4)]}:_0x68b867;}[_0xb24152(0x454)](_0x2e0d1a,_0x2d5390){const _0xc275bb=_0xb24152;var _0x40a2cb,_0x5c97a0;let _0x3e9ed2=(_0x40a2cb=this[_0xc275bb(0x295)][_0xc275bb(0x257)](_0x2e0d1a))==null?void 0x0:_0x40a2cb[_0xc275bb(0x379)](_0x2d5390);return(_0x5c97a0=_0x3e9ed2==null?void 0x0:_0x3e9ed2[_0xc275bb(0x467)]())==null?0x1:_0x5c97a0;}[_0xb24152(0x4b6)](_0xee8e70,_0x1d7ee1,_0x47455e){const _0x2dcdf0=_0xb24152;this[_0x2dcdf0(0x292)](_0x4540fc(_0xee8e70['onPointerDown$']['subscribeEvent']((_0x47511d,_0x54c577)=>{const _0xe32943=_0x2dcdf0;var _0x271c5b,_0x2c96df,_0x4d79f7;let {unitId:_0x418f39,subUnitId:_0x5be80f,drawingId:_0x33f8fa}=_0xee8e70[_0xe32943(0x49c)](),_0x26e23a=this[_0xe32943(0x14f)](_0x418f39,_0x5be80f,_0x33f8fa);if(!(_0x26e23a!=null&&_0x26e23a[_0xe32943(0x1e4)]))return;let {left:_0x242284,top:_0x3aa256,width:_0xe1d163,height:_0x83622b}=_0x26e23a[_0xe32943(0x1e4)];this[_0xe32943(0x4b2)]=_0x242284||0x0,this['_baseTop']=_0x3aa256||0x0,this[_0xe32943(0x41f)]=_0xe1d163||0x0,this['_baseHeight']=_0x83622b||0x0;let _0x9641dc=!!((_0x271c5b=_0x26e23a[_0xe32943(0x1e4)])!=null&&_0x271c5b[_0xe32943(0x366)]),_0x13870e=!!((_0x2c96df=_0x26e23a[_0xe32943(0x1e4)])!=null&&_0x2c96df[_0xe32943(0x405)]),_0x3cd360=((_0x4d79f7=_0x26e23a[_0xe32943(0x1e4)])==null?void 0x0:_0x4d79f7[_0xe32943(0xfe)])||0x0,_0x479848=this[_0xe32943(0x128)](_0x418f39,_0x5be80f,_0x33f8fa);if(!_0x479848)return;let _0x224e87=this['_getOrCreateShapeModel'](_0x479848['prstGeom'],this[_0xe32943(0x41f)],this['_baseHeight'],_0x479848[_0xe32943(0x153)]);if(!_0x224e87||(this[_0xe32943(0x1a9)]=_0x224e87,this[_0xe32943(0x259)]=_0x224e87[_0xe32943(0x438)](_0x47455e),!this[_0xe32943(0x259)]))return;this[_0xe32943(0x2bd)]=!0x0,_0x1d7ee1[_0xe32943(0x1da)]();let _0x2a07b9=_0x479848[_0xe32943(0x129)];this[_0xe32943(0x11f)]=_0x1d7ee1[_0xe32943(0x340)][_0xe32943(0x2c1)]((_0x194d2a,_0x505ea6)=>{const _0x4e9688=_0xe32943;if(!this[_0x4e9688(0x2bd)])return;let {offsetX:_0x1de4aa,offsetY:_0x59b28b}=_0x194d2a,_0x5e6a5d=this[_0x4e9688(0x259)];if(!this['_activeShapeModel']||!_0x5e6a5d)return;_0x1d7ee1[_0x4e9688(0x1da)](),_0x1d7ee1[_0x4e9688(0x147)](_0x5f2daa['CROSSHAIR']);let _0x454cb9={'left':0x0,'top':0x0,'width':this[_0x4e9688(0x41f)],'height':this[_0x4e9688(0x48f)]},_0x32b0c0=this[_0x4e9688(0x254)](_0x418f39,_0x5be80f),_0x7b3961=this[_0x4e9688(0x454)](_0x418f39,_0x5be80f),_0x2f6186=_0x1de4aa/_0x7b3961+_0x32b0c0['x']-this[_0x4e9688(0x4b2)],_0x457554=_0x59b28b/_0x7b3961+_0x32b0c0['y']-this['_baseTop'];if(_0x3cd360!==0x0){let _0x35e418=this[_0x4e9688(0x41f)]/0x2,_0x1526fb=this[_0x4e9688(0x48f)]/0x2,_0x35407f=_0x3cd360*Math['PI']/0xb4,_0x16899e=Math[_0x4e9688(0x1af)](_0x35407f),_0x1b8099=Math[_0x4e9688(0x12f)](_0x35407f),_0x16d155=_0x2f6186-_0x35e418,_0x4e6dac=_0x457554-_0x1526fb;_0x2f6186=_0x35e418+(_0x16d155*_0x16899e+_0x4e6dac*_0x1b8099),_0x457554=_0x1526fb+(-_0x16d155*_0x1b8099+_0x4e6dac*_0x16899e);}_0x9641dc&&(_0x2f6186=this[_0x4e9688(0x41f)]-_0x2f6186),_0x13870e&&(_0x457554=this[_0x4e9688(0x48f)]-_0x457554);let _0x16a518=this['_activeShapeModel']['calcAdjValue'](_0x454cb9,{'x':_0x2f6186,'y':_0x457554},_0x5e6a5d,_0x9641dc,_0x13870e),_0x5008a9=_0x5e6a5d['gdRefX']||_0x5e6a5d['gdRefY']||_0x5e6a5d[_0x4e9688(0x46f)]||_0x5e6a5d[_0x4e9688(0x300)];_0x5008a9!==void 0x0&&(this[_0x4e9688(0x1a9)][_0x4e9688(0x2a5)](_0x5008a9,_0x16a518),this[_0x4e9688(0x1a9)]['updateContext']({'width':this['_baseWidth'],'height':this[_0x4e9688(0x48f)]}),this[_0x4e9688(0x2b8)](_0x418f39,_0x5be80f,_0x33f8fa,_0x5008a9,_0x16a518),this[_0x4e9688(0x161)]=this['_activeShapeModel'][_0x4e9688(0x3b0)](),this[_0x4e9688(0x259)]=this['_activeShapeModel'][_0x4e9688(0x438)](_0x47455e),this['_createControls'](),_0x505ea6[_0x4e9688(0x31b)]());}),this[_0xe32943(0x367)]=_0x1d7ee1[_0xe32943(0x2cd)][_0xe32943(0x2c1)]((_0x4a6b28,_0xb71bb9)=>{const _0x4067a3=_0xe32943;if(this[_0x4067a3(0x11f)][_0x4067a3(0x151)](),this[_0x4067a3(0x367)][_0x4067a3(0x151)](),_0x1d7ee1[_0x4067a3(0x13d)](),this[_0x4067a3(0x1a9)]){let _0x52a81d=this[_0x4067a3(0x1a9)][_0x4067a3(0x44b)](),_0x131bde={};for(let _0x5aad31 of _0x52a81d){let _0x5a848d=this[_0x4067a3(0x1a9)][_0x4067a3(0x2d1)](_0x5aad31);_0x5a848d!==void 0x0&&(_0x131bde[_0x5aad31]=_0x5a848d);}this[_0x4067a3(0x2cf)][_0x4067a3(0x4fc)](_0x418f39,_0x5be80f,_0x33f8fa,_0x2a07b9,_0x131bde);}this[_0x4067a3(0x259)]=void 0x0,this[_0x4067a3(0x1a9)]=void 0x0,this[_0x4067a3(0x2bd)]=!0x1,_0xb71bb9[_0x4067a3(0x31b)](),_0x1d7ee1[_0x4067a3(0x19b)]();}),_0x54c577['stopPropagation']();})));}[_0xb24152(0x2b8)](_0x2a9f50,_0x311f16,_0x5209b1,_0x37ed96,_0x138aa1){const _0x3e5f02=_0xb24152;let _0xca505=this[_0x3e5f02(0x2b9)][_0x3e5f02(0x2ba)](_0x2a9f50);if(!_0xca505)return;let {scene:_0x58d690}=_0xca505,_0x38ad46=_0x32b74c({'unitId':_0x2a9f50,'subUnitId':_0x311f16,'drawingId':_0x5209b1}),_0x488359=_0x58d690[_0x3e5f02(0x3cf)](_0x38ad46);if(_0x488359 instanceof _0x1b123c){var _0x53e4e1;let _0x29fc5b=(_0x53e4e1=_0x488359['prstGeomAdjValues'])==null?{}:_0x53e4e1;_0x488359['setPrstGeomAdjValues']({..._0x29fc5b,[_0x37ed96]:_0x138aa1}),_0x488359[_0x3e5f02(0x28b)](!0x0);}}['_registerMoveHandler'](){const _0x1a9a7b=_0xb24152;let _0x1ec3c3=this[_0x1a9a7b(0x295)][_0x1a9a7b(0x1ea)](_0xc8ef66[_0x1a9a7b(0x1c8)]);this[_0x1a9a7b(0x292)](_0x1ec3c3[_0x1a9a7b(0x4e5)](_0x3b82eb(_0x91d2e6=>_0x91d2e6?_0x91d2e6['activeSheet$'][_0x1a9a7b(0x4e5)](_0x3b82eb(_0x3621a8=>{const _0x2773ae=_0x1a9a7b;if(!_0x3621a8)return _0x3cbe4d;let _0x5a88fa=_0x91d2e6[_0x2773ae(0x1ad)](),_0x21d473=this[_0x2773ae(0x2b9)]['getRenderById'](_0x5a88fa),_0x120b48=_0x21d473==null?void 0x0:_0x21d473['scene'];return _0x120b48?_0x30147e(_0x120b48):_0x3cbe4d;})):_0x3cbe4d))['subscribe'](_0x1f6af1=>{const _0x2f245e=_0x1a9a7b;let _0x3f74c8=_0x1f6af1[_0x2f245e(0x2af)]();this[_0x2f245e(0x292)](_0x1f6af1['onPointerMove$'][_0x2f245e(0x2c1)](()=>{const _0x5b1372=_0x2f245e;this[_0x5b1372(0x346)]&&this[_0x5b1372(0x3ed)]();})),this[_0x2f245e(0x292)](_0x3f74c8[_0x2f245e(0x302)]['subscribe'](_0x348f9f=>{const _0x4116fa=_0x2f245e;let {objects:_0x1fd3c5}=_0x348f9f;if(this[_0x4116fa(0x2a3)](),_0x1fd3c5!==null&&_0x1fd3c5[_0x4116fa(0x487)]===0x1){let _0x4372e6=_0x1fd3c5[_0x4116fa(0x118)]()[_0x4116fa(0x1c5)]()[_0x4116fa(0x39a)];_0x4372e6 instanceof _0x1b123c&&_0x4372e6[_0x4116fa(0x129)]&&(this[_0x4116fa(0x346)]=!0x0);}})),this[_0x2f245e(0x292)](_0x3f74c8[_0x2f245e(0xf3)][_0x2f245e(0x4c6)](()=>{this['_isImagePointerDown']&&this['_clearControls']();})),this[_0x2f245e(0x292)](_0x1f6af1[_0x2f245e(0x2cd)][_0x2f245e(0x2c1)](()=>{const _0x4fd9a1=_0x2f245e;this[_0x4fd9a1(0x346)]&&(this[_0x4fd9a1(0x346)]=!0x1,this[_0x4fd9a1(0x2a3)]());})),this['disposeWithMe'](_0x3f74c8[_0x2f245e(0x276)]['subscribe'](()=>{const _0x1acd29=_0x2f245e;if(this['_unitId']&&this[_0x1acd29(0x3e7)]&&this[_0x1acd29(0x3a5)]){let _0x573da0=this[_0x1acd29(0x128)](this[_0x1acd29(0x337)],this[_0x1acd29(0x3e7)],this[_0x1acd29(0x3a5)]);if(_0x573da0){var _0x34b615,_0x4a3b52;let _0x3907b4=this['_getImageDrawingInfo'](this[_0x1acd29(0x337)],this[_0x1acd29(0x3e7)],this[_0x1acd29(0x3a5)]),_0x4a3cdc=(_0x3907b4==null||(_0x34b615=_0x3907b4[_0x1acd29(0x1e4)])==null?void 0x0:_0x34b615[_0x1acd29(0x41c)])||0x0,_0x522b60=(_0x3907b4==null||(_0x4a3b52=_0x3907b4['transform'])==null?void 0x0:_0x4a3b52[_0x1acd29(0x19e)])||0x0,_0x320460=this[_0x1acd29(0x30f)](_0x573da0[_0x1acd29(0x129)],_0x4a3cdc,_0x522b60,_0x573da0['adjustValues']);_0x320460&&(this[_0x1acd29(0x161)]=_0x320460['getDrawingPoints'](),this[_0x1acd29(0x3ed)](),this[_0x1acd29(0x2a3)](!0x0));}}}));}));}[_0xb24152(0x3ee)](){const _0x5618d0=_0xb24152;this[_0x5618d0(0x292)](this[_0x5618d0(0x2a2)][_0x5618d0(0x1c3)][_0x5618d0(0x4c6)](_0x4da896=>{const _0x7b220a=_0x5618d0;if(_0x4da896[_0x7b220a(0x424)]===0x1){let _0x36d9e2=_0x4da896[0x0];if(_0x36d9e2['drawingType']===_0x23b778[_0x7b220a(0x2e6)]){let {unitId:_0x1d7973,subUnitId:_0x56d254,drawingId:_0x491470}=_0x36d9e2,_0x396bd2=this['_getImagePrstGeom'](_0x1d7973,_0x56d254,_0x491470);if(_0x396bd2){var _0x34749d,_0x50abdc;this[_0x7b220a(0x3a5)]=_0x491470,this[_0x7b220a(0x337)]=_0x1d7973,this[_0x7b220a(0x3e7)]=_0x56d254;let _0x34f351=this[_0x7b220a(0x14f)](_0x1d7973,_0x56d254,_0x491470),_0x46923a=(_0x34f351==null||(_0x34749d=_0x34f351[_0x7b220a(0x1e4)])==null?void 0x0:_0x34749d[_0x7b220a(0x41c)])||0x0,_0x1766e7=(_0x34f351==null||(_0x50abdc=_0x34f351[_0x7b220a(0x1e4)])==null?void 0x0:_0x50abdc[_0x7b220a(0x19e)])||0x0,_0x31c26d=this[_0x7b220a(0x30f)](_0x396bd2[_0x7b220a(0x129)],_0x46923a,_0x1766e7,_0x396bd2[_0x7b220a(0x153)]);_0x31c26d&&(this['_activeAdjustPointList']=_0x31c26d[_0x7b220a(0x3b0)]()),this[_0x7b220a(0x3ed)](),this[_0x7b220a(0x2a3)](!0x0);}else this[_0x7b220a(0x344)]();}else this[_0x7b220a(0x344)]();}else this[_0x7b220a(0x344)]();})),this['disposeWithMe'](this[_0x5618d0(0x2a2)][_0x5618d0(0x12d)][_0x5618d0(0x4c6)](_0x40beca=>{const _0x31e8a6=_0x5618d0;if(_0x40beca[_0x31e8a6(0x424)]===0x1){let _0x4071ee=_0x40beca[0x0],_0x7a38=this[_0x31e8a6(0x2a2)][_0x31e8a6(0x297)](_0x4071ee);(_0x7a38==null?void 0x0:_0x7a38[_0x31e8a6(0x1dd)])===_0x23b778['DRAWING_IMAGE']&&this[_0x31e8a6(0x3a5)]===_0x4071ee[_0x31e8a6(0x428)]&&(this['_clearControls'](),this[_0x31e8a6(0x2a3)](!0x0));}})),this[_0x5618d0(0x292)](this['_drawingManagerService'][_0x5618d0(0x4a6)]['subscribe'](_0x2fe847=>{const _0x1b0870=_0x5618d0;for(let _0x174f3a of _0x2fe847)this[_0x1b0870(0x3a5)]===_0x174f3a[_0x1b0870(0x428)]&&this[_0x1b0870(0x344)]();}));}[_0xb24152(0x344)](){const _0x566018=_0xb24152;this['_activeImageId']=null,this[_0x566018(0x337)]=null,this[_0x566018(0x3e7)]=null,this[_0x566018(0x161)]=void 0x0,this[_0x566018(0x3ed)]();}};vo=X([Y(0x1,_0x1f7427),Y(0x2,_0x4429c1(_0x2dae0a)),Y(0x3,_0x3dd1dc),Y(0x4,_0x4429c1(Za))],vo);let yo=class extends _0x1fdd93{constructor(_0x403a21,_0x162404,_0x254281,_0xab4e95){const _0x4ad307=_0xb24152;super(),this[_0x4ad307(0x295)]=_0x403a21,this[_0x4ad307(0x434)]=_0x162404,this[_0x4ad307(0x494)]=_0x254281,this[_0x4ad307(0x288)]=_0xab4e95,this[_0x4ad307(0x474)]();}[_0xb24152(0x474)](){const _0x2ce2df=_0xb24152;this[_0x2ce2df(0x292)](this['_sheetInterceptorService'][_0x2ce2df(0x187)]({'getMutations':_0x4d885f=>{const _0x2da060=_0x2ce2df;if(_0x4d885f['id']===_0x17234d['id']){let _0x2057dc=_0x69d88(this[_0x2da060(0x295)],_0x4d885f[_0x2da060(0x3d3)]);if(!_0x2057dc)return{'redos':[],'undos':[]};let {unitId:_0x2c9ea7,subUnitId:_0x3f8bac}=_0x2057dc,_0x4bcef2=this[_0x2da060(0x494)][_0x2da060(0x347)](_0x2c9ea7,_0x3f8bac),_0x54533d=Object[_0x2da060(0x118)](_0x4bcef2)[_0x2da060(0x114)](_0x2b8bb8=>_0x2b8bb8[_0x2da060(0x1dd)]===_0x23b778['DRAWING_SHAPE']);if(_0x54533d['length']===0x0)return{'redos':[],'undos':[]};let _0x2452fc=[],_0x3d37f7=[];for(let _0x3a7137=0x0;_0x3a7137<_0x54533d[_0x2da060(0x424)];_0x3a7137++){let _0x23d79e=_0x54533d[_0x3a7137],_0x4dda59=this[_0x2da060(0x288)][_0x2da060(0x2ce)](_0x23d79e[_0x2da060(0x371)],_0x23d79e[_0x2da060(0x4a5)],_0x23d79e[_0x2da060(0x428)]);if(!_0x4dda59)continue;let {redo:_0x24d7b2,undo:_0x5efe07,objects:_0x3dc120}=this[_0x2da060(0x494)]['getBatchRemoveOp']([_0x23d79e]);_0x2452fc[_0x2da060(0x3ad)]({'id':_0x40615a['id'],'params':{'unitId':_0x2c9ea7,'subUnitId':_0x3f8bac,'shapeId':_0x23d79e[_0x2da060(0x428)]}}),_0x2452fc[_0x2da060(0x3ad)]({'id':_0x1d222d['id'],'params':{'unitId':_0x2c9ea7,'subUnitId':_0x3f8bac,'type':_0x47eaf3[_0x2da060(0x46d)],'op':_0x24d7b2,'objects':_0x3dc120}}),_0x3d37f7[_0x2da060(0x3ad)]({'id':_0x1d222d['id'],'params':{'unitId':_0x2c9ea7,'subUnitId':_0x3f8bac,'type':_0x47eaf3['INSERT'],'op':_0x5efe07,'objects':_0x3dc120}}),_0x3d37f7[_0x2da060(0x3ad)]({'id':_0x5acc7e['id'],'params':{'unitId':_0x2c9ea7,'subUnitId':_0x3f8bac,'shapeId':_0x23d79e[_0x2da060(0x428)],'shapeType':_0x4dda59[_0x2da060(0xf9)](),'shapeData':JSON['parse'](JSON[_0x2da060(0x3d2)](_0x4dda59[_0x2da060(0x1f5)]()))}});}return{'redos':_0x2452fc,'undos':_0x3d37f7};}else{if(_0x4d885f['id']===_0x4b62bb['id']){let {unitId:_0x516198,subUnitId:_0x39040e,targetSubUnitId:_0x37beed}=_0x4d885f[_0x2da060(0x3d3)];if(!_0x516198||!_0x39040e||!_0x37beed)return{'redos':[],'undos':[]};let _0x4b0a9c=this[_0x2da060(0x494)]['getDrawingData'](_0x516198,_0x39040e),_0x2806bc=Object[_0x2da060(0x118)](_0x4b0a9c)[_0x2da060(0x114)](_0xfd60a5=>_0xfd60a5[_0x2da060(0x1dd)]===_0x23b778[_0x2da060(0x170)]);if(_0x2806bc[_0x2da060(0x424)]===0x0)return{'redos':[],'undos':[]};let _0x1d8e3f=[],_0x23c865=[];for(let _0x1affd9=0x0;_0x1affd9<_0x2806bc[_0x2da060(0x424)];_0x1affd9++){let _0x2f82e4=_0x2806bc[_0x1affd9],_0x25b7e2=this[_0x2da060(0x288)]['getShapeModel'](_0x2f82e4[_0x2da060(0x371)],_0x2f82e4['subUnitId'],_0x2f82e4['drawingId']);if(!_0x25b7e2)continue;let _0x584497=_0x4f8964(),_0x15005c={..._0x2f82e4,'unitId':_0x516198,'subUnitId':_0x37beed,'drawingId':_0x584497},{redo:_0x17ebcc,undo:_0x19d2ed,objects:_0x2b10cb}=this[_0x2da060(0x494)][_0x2da060(0x1f9)]([_0x15005c]);_0x1d8e3f[_0x2da060(0x3ad)]({'id':_0x1d222d['id'],'params':{'unitId':_0x516198,'subUnitId':_0x37beed,'type':_0x47eaf3[_0x2da060(0x16b)],'op':_0x17ebcc,'objects':_0x2b10cb}}),_0x1d8e3f[_0x2da060(0x3ad)]({'id':_0x5acc7e['id'],'params':{'unitId':_0x516198,'subUnitId':_0x37beed,'shapeId':_0x584497,'shapeType':_0x25b7e2[_0x2da060(0xf9)](),'shapeData':JSON['parse'](JSON[_0x2da060(0x3d2)](_0x25b7e2[_0x2da060(0x1f5)]()))}}),_0x23c865[_0x2da060(0x3ad)]({'id':_0x40615a['id'],'params':{'unitId':_0x516198,'subUnitId':_0x37beed,'shapeId':_0x584497}}),_0x23c865[_0x2da060(0x3ad)]({'id':_0x1d222d['id'],'params':{'unitId':_0x516198,'subUnitId':_0x37beed,'type':_0x47eaf3[_0x2da060(0x46d)],'op':_0x19d2ed,'objects':_0x2b10cb}});}return{'redos':_0x1d8e3f,'undos':_0x23c865};}}return{'redos':[],'undos':[]};}}));}};yo=X([Y(0x0,_0x4429c1(_0x3dd1dc)),Y(0x1,_0x4429c1(_0x1a0dcb)),Y(0x2,_0x4429c1(_0x3e392c)),Y(0x3,_0x4429c1(_0x2acfb5))],yo);let bo=class extends _0x1fdd93{constructor(_0x3ceccb,_0x16e310,_0x10e592,_0x15eda6,_0x63c15d){const _0x323b77=_0xb24152;super(),this['_context']=_0x3ceccb,this[_0x323b77(0x316)]=_0x16e310,this[_0x323b77(0x2a2)]=_0x10e592,this[_0x323b77(0x286)]=_0x15eda6,this[_0x323b77(0x288)]=_0x63c15d,G(this,_0x323b77(0x21d),null),this[_0x323b77(0x472)](),this[_0x323b77(0x1d8)](),this[_0x323b77(0xee)]();}[_0xb24152(0x472)](){const _0x863a69=_0xb24152;let {scene:_0x493a14}=this['_context'];this[_0x863a69(0x292)](_0x493a14[_0x863a69(0x423)][_0x863a69(0x2c1)](_0x388110=>{const _0xe55aa8=_0x863a69;let {offsetX:_0x1430bf,offsetY:_0xeb37d5}=_0x388110,_0x352a76=_0x493a14[_0xe55aa8(0x270)](_0x33a6a0[_0xe55aa8(0x429)]([_0x1430bf,_0xeb37d5]));if(_0x352a76 instanceof Ba){if(_0x59a416(this['_sheetsShapeService']['getShapeType'](_0x352a76['unitId'],_0x352a76[_0xe55aa8(0x4a5)],_0x352a76[_0xe55aa8(0x440)])))return;this[_0xe55aa8(0x316)][_0xe55aa8(0x272)]({'visible':!0x0,'unitId':_0x352a76['unitId'],'subUnitId':_0x352a76[_0xe55aa8(0x4a5)],'shapeId':_0x352a76[_0xe55aa8(0x440)],'shapeKey':_0x352a76['oKey']});}}));}[_0xb24152(0x1d8)](){const _0xd4356f=_0xb24152;this[_0xd4356f(0x292)](this['_drawingManagerService'][_0xd4356f(0x1c3)][_0xd4356f(0x4c6)](_0x75b441=>{const _0x175efd=_0xd4356f;if(_0x75b441['length']===0x1){let _0x280bb=_0x75b441[0x0],_0x10ad07=this[_0x175efd(0x2a2)]['getDrawingByParam'](_0x280bb);if((_0x10ad07==null?void 0x0:_0x10ad07[_0x175efd(0x1dd)])===_0x23b778[_0x175efd(0x170)]){let _0x435fbf=this[_0x175efd(0x316)]['getEditing']();if((_0x435fbf==null?void 0x0:_0x435fbf[_0x175efd(0x440)])===_0x280bb[_0x175efd(0x428)]&&_0x435fbf[_0x175efd(0x1e8)])return;_0x59a416(this[_0x175efd(0x288)][_0x175efd(0xf9)](_0x280bb[_0x175efd(0x371)],_0x280bb[_0x175efd(0x4a5)],_0x280bb[_0x175efd(0x428)]))&&this[_0x175efd(0x316)][_0x175efd(0x272)](null);}else this['_shapeTextEditingService'][_0x175efd(0x489)]()&&(this['_shapeTextEditingService'][_0x175efd(0x436)](!0x0),requestAnimationFrame(()=>{const _0x135076=_0x175efd;this[_0x135076(0x316)][_0x135076(0x272)](null);}));}else this['_shapeTextEditingService'][_0x175efd(0x489)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x31d3dc=_0x175efd;this[_0x31d3dc(0x316)][_0x31d3dc(0x272)](null);}));})),this[_0xd4356f(0x292)](this['_drawingManagerService'][_0xd4356f(0x4a6)][_0xd4356f(0x4c6)](_0x271061=>{const _0x16b9e8=_0xd4356f;let _0x3c161b=this[_0x16b9e8(0x316)]['getEditing']();_0x3c161b&&_0x271061[_0x16b9e8(0x4ae)](_0x20ded1=>_0x20ded1[_0x16b9e8(0x428)]===_0x3c161b['shapeId'])&&this['_shapeTextEditingService'][_0x16b9e8(0x272)](null);}));}[_0xb24152(0xee)](){const _0x573469=_0xb24152;this['disposeWithMe'](this[_0x573469(0x316)][_0x573469(0x191)][_0x573469(0x4c6)](_0x1ac73f=>{const _0x92dac=_0x573469;let {scene:_0x5ea313}=this['_context'];if(this[_0x92dac(0x21d)]){let _0x284ccf=_0x5ea313[_0x92dac(0x305)](this[_0x92dac(0x21d)]);_0x284ccf&&_0x284ccf[_0x92dac(0x272)](!0x1);}if(_0x1ac73f){let _0x54cb2e=!!_0x1ac73f['visible'],_0x3dd472=_0x5ea313[_0x92dac(0x305)](_0x1ac73f[_0x92dac(0x3c9)]);_0x3dd472&&(_0x3dd472['setEditing'](_0x54cb2e),this[_0x92dac(0x21d)]=_0x1ac73f[_0x92dac(0x3c9)]),this[_0x92dac(0x286)][_0x92dac(0x433)](_0x23ee81,_0x54cb2e);}else this['_lastEditingShapeKey']=null,this['_contextService'][_0x92dac(0x433)](_0x23ee81,!0x1);}));}};bo=X([Y(0x1,_0x4429c1(K)),Y(0x2,_0x1f7427),Y(0x3,_0x286a43),Y(0x4,_0x4429c1(_0x2acfb5))],bo);function xo(){return _0x56f3e7(_0x3f2767,{});}let So=class extends _0x3024e8{constructor(_0x502bb4,_0x3bca91,_0x46aaf2,_0x96b61f,_0x414d30){super(_0x502bb4,_0x3bca91,_0x46aaf2,_0x96b61f,_0x414d30,{'componentKey':'sheet.shape.text.float-menu','editorUnitId':Pa,'toolbarComponent':xo});}};So=X([Y(0x1,_0x4429c1(_0x4acbf2)),Y(0x2,_0x4429c1(_0x12f403)),Y(0x3,_0x4429c1(_0x373853)),Y(0x4,_0x4429c1(_0x3b49d7))],So);const Co={'normal':{'fill':_0x2dd83f['cxnPointFill'],'stroke':_0x2dd83f[_0xb24152(0x3c8)],'strokeWidth':_0x2dd83f[_0xb24152(0x18d)]},'highlighted':{'fill':'#4285f4','stroke':'#1a73e8','strokeWidth':0x2}};var wo=class extends _0x5786d8{constructor(_0x19acbe,_0x14146b){const _0x19f9b0=_0xb24152;super(_0x19acbe,_0x14146b),G(this,_0x19f9b0(0x24f),''),G(this,_0x19f9b0(0x4f8),-0x1),G(this,'_unitId',''),G(this,_0x19f9b0(0x3e7),''),G(this,_0x19f9b0(0x34d),!0x1),_0x14146b&&this[_0x19f9b0(0x4cd)](_0x14146b);}[_0xb24152(0x238)](){const _0x1a31bc=_0xb24152;return{'unitId':this[_0x1a31bc(0x337)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x1a31bc(0x24f)],'cxnIndex':this[_0x1a31bc(0x4f8)]};}[_0xb24152(0x37b)](_0x54a9cc){const _0x50d0a6=_0xb24152;this[_0x50d0a6(0x34d)]!==_0x54a9cc&&(this['_isHighlighted']=_0x54a9cc,this['makeDirty'](!0x0));}[_0xb24152(0x2f7)](){return this['_isHighlighted'];}[_0xb24152(0x4cd)](_0x26ef1d){const _0x50a639=_0xb24152;var _0x34c498,_0x1cb401;_0x26ef1d[_0x50a639(0x137)]!==void 0x0&&(this['_targetShapeId']=_0x26ef1d[_0x50a639(0x137)]),_0x26ef1d[_0x50a639(0x1c2)]!==void 0x0&&(this[_0x50a639(0x4f8)]=_0x26ef1d[_0x50a639(0x1c2)]),_0x26ef1d['unitId']!==void 0x0&&(this['_unitId']=_0x26ef1d[_0x50a639(0x371)]),_0x26ef1d[_0x50a639(0x4a5)]!==void 0x0&&(this[_0x50a639(0x3e7)]=_0x26ef1d['subUnitId']),_0x26ef1d[_0x50a639(0x2f7)]!==void 0x0&&(this['_isHighlighted']=_0x26ef1d[_0x50a639(0x2f7)]),this[_0x50a639(0x36b)]({'width':(_0x34c498=_0x26ef1d[_0x50a639(0x41c)])==null?_0x2dd83f[_0x50a639(0x495)]*0x2:_0x34c498,'height':(_0x1cb401=_0x26ef1d[_0x50a639(0x19e)])==null?_0x2dd83f[_0x50a639(0x495)]*0x2:_0x1cb401});}[_0xb24152(0x218)](_0x10a357){const _0x21c710=_0xb24152;let _0x1510d3=this['_isHighlighted']?Co['highlighted']:Co[_0x21c710(0x4ca)];_0x1de444[_0x21c710(0x3a1)](_0x10a357,{'radius':_0x2dd83f[_0x21c710(0x495)],'fill':_0x1510d3[_0x21c710(0x22d)],'stroke':_0x1510d3[_0x21c710(0x375)],'strokeWidth':_0x1510d3[_0x21c710(0x349)],'evented':!0x0});}};let To=class extends _0x1fdd93{constructor(_0x50be55,_0x4ee3bd,_0x3cb9f5,_0x1429e4){const _0x4b3862=_0xb24152;super(),this[_0x4b3862(0x41a)]=_0x50be55,this['_renderManagerService']=_0x4ee3bd,this[_0x4b3862(0x2a2)]=_0x3cb9f5,this['_sheetsShapeService']=_0x1429e4,G(this,_0x4b3862(0x395),[]),G(this,_0x4b3862(0x431),null),G(this,_0x4b3862(0x3ab),-0x1),G(this,_0x4b3862(0x3d8),null),G(this,_0x4b3862(0x337),''),G(this,'_subUnitId',''),G(this,_0x4b3862(0x250),null);}['startConnectionDetection'](_0xb39c4b,_0x275af5,_0x549e0d,_0x5d5024){const _0x5aa99d=_0xb24152;this[_0x5aa99d(0x3d8)]=_0xb39c4b,this[_0x5aa99d(0x337)]=_0x275af5,this[_0x5aa99d(0x3e7)]=_0x549e0d,this['_draggingConnectorId']=_0x5d5024;}[_0xb24152(0x30b)](_0x1a0e20){const _0x3fd948=_0xb24152;if(!this['_currentScene'])return null;let _0xf45aa=this[_0x3fd948(0x1a8)](_0x1a0e20);return _0xf45aa?(this[_0x3fd948(0x431)]!==_0xf45aa[_0x3fd948(0x440)]&&(this[_0x3fd948(0x1e3)](),this[_0x3fd948(0x198)](_0xf45aa[_0x3fd948(0x440)],_0xf45aa[_0x3fd948(0x26a)]),this[_0x3fd948(0x431)]=_0xf45aa['shapeId']),this[_0x3fd948(0x1d9)](_0x1a0e20)):(this[_0x3fd948(0x431)]!==null&&(this[_0x3fd948(0x1e3)](),this[_0x3fd948(0x431)]=null),null);}[_0xb24152(0x33f)](){const _0x203251=_0xb24152;this['_clearConnectionSites'](),this['_currentScene']=null,this[_0x203251(0x431)]=null,this[_0x203251(0x3ab)]=-0x1,this[_0x203251(0x250)]=null;}[_0xb24152(0x48c)](){const _0x29914c=_0xb24152;return this['_activeTargetShapeId']===null||this[_0x29914c(0x3ab)]<0x0?null:{'shapeId':this[_0x29914c(0x431)],'cxnIndex':this[_0x29914c(0x3ab)]};}[_0xb24152(0x1a8)](_0x274212){const _0x2a556a=_0xb24152;let _0x542978=this['_drawingManagerService'][_0x2a556a(0x347)](this[_0x2a556a(0x337)],this['_subUnitId']);for(let _0x2e880a of Object[_0x2a556a(0x26f)](_0x542978)){if(_0x2e880a===this['_draggingConnectorId']||_0x542978[_0x2e880a][_0x2a556a(0x1dd)]!==_0x23b778[_0x2a556a(0x170)])continue;let _0x410814=this[_0x2a556a(0x288)][_0x2a556a(0x2ce)](this[_0x2a556a(0x337)],this[_0x2a556a(0x3e7)],_0x2e880a);if(!_0x410814||_0x59a416(_0x410814[_0x2a556a(0xf9)]())||_0x410814[_0x2a556a(0x164)]()['length']===0x0||!this[_0x2a556a(0x3d8)])continue;let _0x11c1e1=_0x32b74c({'unitId':this[_0x2a556a(0x337)],'subUnitId':this[_0x2a556a(0x3e7)],'drawingId':_0x2e880a}),_0x47e7fe=this[_0x2a556a(0x3d8)][_0x2a556a(0x305)](_0x11c1e1);if(!_0x47e7fe)continue;let {left:_0x4a659f,top:_0x214dd8,width:_0x447a74,height:_0x351f1e}=_0x47e7fe[_0x2a556a(0x4d7)](),_0x1ee545=_0x4a659f+_0x447a74/0x2,_0x1f91fa=_0x214dd8+_0x351f1e/0x2,_0x51145d=_0x47e7fe['transform'][_0x2a556a(0x11e)](),_0x215c48=new _0x25068e([_0x51145d[0x0],_0x51145d[0x1],_0x51145d[0x2],_0x51145d[0x3],_0x1ee545,_0x1f91fa]),_0x549465=_0x47e7fe['getParent'](),_0x19a481=(_0x47e7fe[_0x2a556a(0x39d)]&&(_0x549465==null?void 0x0:_0x549465['classType'])===_0x5e305e['GROUP']?_0x549465['ancestorTransform']['multiply'](_0x215c48):_0x215c48)[_0x2a556a(0x4b1)]()['applyPoint'](_0x274212),_0x19839b=_0x447a74/0x2,_0x3afb92=_0x351f1e/0x2;if(_0x19a481['x']>=-_0x19839b-0x5&&_0x19a481['x']<=_0x19839b+0x5&&_0x19a481['y']>=-_0x3afb92-0x5&&_0x19a481['y']<=_0x3afb92+0x5)return{'shapeId':_0x2e880a,'shapeModel':_0x410814};}return null;}[_0xb24152(0x198)](_0x301877,_0x47a20f){const _0x4609d0=_0xb24152;if(!this[_0x4609d0(0x3d8)])return;let _0x3e1e04=_0x32b74c({'unitId':this[_0x4609d0(0x337)],'subUnitId':this[_0x4609d0(0x3e7)],'drawingId':_0x301877}),_0x5ce288=this[_0x4609d0(0x3d8)][_0x4609d0(0x305)](_0x3e1e04);if(!_0x5ce288)return;let {left:_0x5382a3,top:_0x4b4c12,width:_0x1022b1,height:_0xa5609a}=_0x5ce288['getRealBound'](),_0x31cb95=_0x5382a3+_0x1022b1/0x2,_0x41761f=_0x4b4c12+_0xa5609a/0x2,_0x536a37=_0x5ce288[_0x4609d0(0x1e4)]['getMatrix'](),_0x51561c=new _0x25068e([_0x536a37[0x0],_0x536a37[0x1],_0x536a37[0x2],_0x536a37[0x3],_0x31cb95,_0x41761f]),_0x6e4389=_0x5ce288[_0x4609d0(0x4e6)](),_0x3fae79=_0x5ce288['isInGroup']&&(_0x6e4389==null?void 0x0:_0x6e4389['classType'])===_0x5e305e[_0x4609d0(0x3dd)]?_0x6e4389[_0x4609d0(0x341)][_0x4609d0(0x45d)](_0x51561c):_0x51561c;_0x47a20f['updateContext']({'width':_0x1022b1,'height':_0xa5609a});let _0x294473=_0x47a20f[_0x4609d0(0x164)]();for(let _0x167744 of _0x294473){let _0xee7694=_0x167744['x']-_0x1022b1/0x2,_0x200fb0=_0x167744['y']-_0xa5609a/0x2,_0x20c6fa=_0x3fae79[_0x4609d0(0x15d)]({'x':_0xee7694,'y':_0x200fb0}),_0x38a7f6=_0x20c6fa['x'],_0x21ba79=_0x20c6fa['y'],_0x3b1fc8=new wo('connection-site-'+_0x301877+'-'+_0x167744['index'],{'left':_0x38a7f6-_0x2dd83f['cxnPointRadius'],'top':_0x21ba79-_0x2dd83f['cxnPointRadius'],'targetShapeId':_0x301877,'cxnIndex':_0x167744[_0x4609d0(0x2e9)],'unitId':this['_unitId'],'subUnitId':this[_0x4609d0(0x3e7)],'width':_0x2dd83f[_0x4609d0(0x495)]*0x2,'height':_0x2dd83f[_0x4609d0(0x495)]*0x2,'zIndex':_0x536557+0x2,'evented':!0x1});this['_connectionSiteObjects'][_0x4609d0(0x3ad)](_0x3b1fc8),this[_0x4609d0(0x3d8)]['addObject'](_0x3b1fc8,_0x536557+0x2);}}[_0xb24152(0x1d9)](_0x3a2b0a){const _0x511bf6=_0xb24152;let _0x13acb1=null,_0xd0b9=0x1/0x0,_0x442369=null;for(let _0x5117e0 of this[_0x511bf6(0x395)]){let _0x539a63=_0x5117e0['left']+_0x2dd83f[_0x511bf6(0x495)],_0x5f5a02=_0x5117e0['top']+_0x2dd83f['cxnPointRadius'],_0x6806b5=_0x3a2b0a['x']-_0x539a63,_0x5c70e8=_0x3a2b0a['y']-_0x5f5a02,_0x5d8482=Math[_0x511bf6(0x2b7)](_0x6806b5*_0x6806b5+_0x5c70e8*_0x5c70e8);_0x5d8482<_0xd0b9&&(_0xd0b9=_0x5d8482,_0x13acb1=_0x5117e0,_0x442369={'x':_0x539a63,'y':_0x5f5a02});}let _0xe347b6=_0xd0b9<=0xa&&_0x13acb1?_0x13acb1[_0x511bf6(0x238)]()[_0x511bf6(0x1c2)]:-0x1;if(_0xe347b6!==this['_highlightedSiteIndex']){for(let _0x18b522 of this['_connectionSiteObjects']){let _0x245253=_0x18b522[_0x511bf6(0x238)]();_0x18b522[_0x511bf6(0x37b)](_0x245253[_0x511bf6(0x1c2)]===_0xe347b6);}this[_0x511bf6(0x3ab)]=_0xe347b6;}if(_0xd0b9<=0xa&&_0x13acb1&&_0x442369){let _0x3f7ffa=_0x13acb1[_0x511bf6(0x238)](),_0x537c4a=this[_0x511bf6(0x399)](_0x3f7ffa[_0x511bf6(0x440)],_0x3f7ffa[_0x511bf6(0x1c2)]);return{'shapeId':_0x3f7ffa[_0x511bf6(0x440)],'cxnIndex':_0x3f7ffa[_0x511bf6(0x1c2)],'unitId':_0x3f7ffa['unitId'],'subUnitId':_0x3f7ffa[_0x511bf6(0x4a5)],'worldPoint':_0x442369,'angle':_0x537c4a};}return null;}[_0xb24152(0x399)](_0x2b32f5,_0xb91878){const _0xd70bf7=_0xb24152;let _0x59c289=this[_0xd70bf7(0x288)][_0xd70bf7(0x2ce)](this[_0xd70bf7(0x337)],this[_0xd70bf7(0x3e7)],_0x2b32f5);if(!_0x59c289)return 0x0;let _0x35bedc=this[_0xd70bf7(0x2a2)][_0xd70bf7(0x297)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':_0x2b32f5});if(!(_0x35bedc!=null&&_0x35bedc['transform']))return 0x0;let {width:_0x2a9289=0x0,height:_0x489bf9=0x0,flipX:_0x108939=!0x1,flipY:_0xc54ac5=!0x1}=_0x35bedc[_0xd70bf7(0x1e4)];_0x59c289[_0xd70bf7(0x37f)]({'width':_0x2a9289,'height':_0x489bf9});let _0x4733bf=_0x59c289[_0xd70bf7(0x164)]()[_0xd70bf7(0x3bf)](_0xce0f1=>_0xce0f1[_0xd70bf7(0x2e9)]===_0xb91878);if(!_0x4733bf)return 0x0;let _0xe908a3=_0x4733bf['ang']/0xea60;return _0x108939&&(_0xe908a3=0xb4-_0xe908a3),_0xc54ac5&&(_0xe908a3=-_0xe908a3),_0xe908a3=(_0xe908a3%0x168+0x168)%0x168,_0xe908a3;}['_clearConnectionSites'](){const _0x366a4a=_0xb24152;for(let _0x93087b of this[_0x366a4a(0x395)])_0x93087b['dispose']();this['_connectionSiteObjects']=[],this[_0x366a4a(0x3ab)]=-0x1;}[_0xb24152(0x3fd)](){const _0x209259=_0xb24152;this[_0x209259(0x1e3)](),super[_0x209259(0x3fd)]();}};To=X([Y(0x1,_0x4429c1(_0x2dae0a)),Y(0x2,_0x4429c1(_0x1f7427)),Y(0x3,_0x4429c1(_0x2acfb5))],To);let Eo=class extends _0x1fdd93{constructor(_0x2c949d,_0x529350,_0x320d7d,_0x166838,_0x21ef9e){const _0xad7d0e=_0xb24152;super(),this['_sheetSkeletonService']=_0x2c949d,this[_0xad7d0e(0x281)]=_0x529350,this[_0xad7d0e(0x494)]=_0x320d7d,this[_0xad7d0e(0x2f6)]=_0x166838,this[_0xad7d0e(0x180)]=_0x21ef9e,G(this,_0xad7d0e(0x1b5),void 0x0),this[_0xad7d0e(0x163)](),this[_0xad7d0e(0x384)]();}get[_0xb24152(0x380)](){const _0x194231=_0xb24152;return this[_0x194231(0x494)][_0x194231(0x148)]();}[_0xb24152(0x384)](){const _0x1f7256=_0xb24152;this[_0x1f7256(0x180)]['registerFeaturePasteHook'](({fromUnitId:_0x23e32e,fromSubUnitId:_0x5a16c8,toUnitId:_0x139770,toSubUnitId:_0x4fb71a,idMap:_0x190946})=>{const _0x56762d=_0x1f7256;let _0xe8b95b=[],_0x367b0d=[];for(let [_0x21d815,_0x2c3b07]of _0x190946['entries']()){let _0x3814c2=this[_0x56762d(0x2f6)][_0x56762d(0x2ce)](_0x23e32e,_0x5a16c8,_0x21d815);if(!_0x3814c2)continue;let _0x2c14e4=_0x3814c2[_0x56762d(0xf9)](),_0x4aaf02=JSON[_0x56762d(0x17c)](JSON[_0x56762d(0x3d2)](_0x3814c2[_0x56762d(0x1f5)]()));if(_0x4aaf02[_0x56762d(0x2ee)]){var _0x398438,_0x23ba57;let _0x3014f2=(_0x398438=_0x4aaf02[_0x56762d(0x2ee)]['from'])==null?void 0x0:_0x398438[_0x56762d(0x440)],_0x5633b0=(_0x23ba57=_0x4aaf02['relation']['to'])==null?void 0x0:_0x23ba57['shapeId'],_0x41843f=_0x3014f2?_0x190946[_0x56762d(0x206)](_0x3014f2):!0x0,_0x191bb7=_0x5633b0?_0x190946[_0x56762d(0x206)](_0x5633b0):!0x0;_0x41843f&&_0x3014f2&&_0x4aaf02[_0x56762d(0x2ee)]['from']?_0x4aaf02[_0x56762d(0x2ee)]['from']={..._0x4aaf02[_0x56762d(0x2ee)][_0x56762d(0x48a)],'shapeId':_0x190946[_0x56762d(0x4b5)](_0x3014f2)}:_0x4aaf02['relation'][_0x56762d(0x48a)]=void 0x0,_0x191bb7&&_0x5633b0&&_0x4aaf02['relation']['to']?_0x4aaf02[_0x56762d(0x2ee)]['to']={..._0x4aaf02[_0x56762d(0x2ee)]['to'],'shapeId':_0x190946[_0x56762d(0x4b5)](_0x5633b0)}:_0x4aaf02[_0x56762d(0x2ee)]['to']=void 0x0;}_0xe8b95b['push']({'id':_0x5acc7e['id'],'params':{'unitId':_0x139770,'subUnitId':_0x4fb71a,'shapeId':_0x2c3b07,'shapeType':_0x2c14e4,'shapeData':_0x4aaf02}}),_0x367b0d[_0x56762d(0x3ad)]({'id':_0x40615a['id'],'params':{'unitId':_0x139770,'subUnitId':_0x4fb71a,'shapeId':_0x2c3b07}});}return{'redos':_0xe8b95b,'undos':_0x367b0d};});}[_0xb24152(0x163)](){const _0x2e91d1=_0xb24152;this[_0x2e91d1(0x292)](this[_0x2e91d1(0x281)][_0x2e91d1(0x426)]({'id':_0x2e91d1(0x1fd),'onBeforeCopy':(_0x44af8d,_0x678d6b,_0x524f3f,_0x3f6cec)=>{const _0x35c846=_0x2e91d1;this[_0x35c846(0x1b5)]=null;let _0x4e90e7=this[_0x35c846(0x380)];if(_0x4e90e7[_0x35c846(0x424)]){let _0x4e2109=_0x4e90e7[_0x35c846(0x114)](_0x3ea1b1=>_0x3ea1b1[_0x35c846(0x1dd)]===_0x23b778[_0x35c846(0x170)]);if(_0x4e2109[_0x35c846(0x424)]===0x0)return;this[_0x35c846(0x1b5)]={'unitId':_0x44af8d,'subUnitId':_0x678d6b,'copyType':_0x3f6cec,'drawings':_0x4e2109};}else this[_0x35c846(0x2fa)](_0x44af8d,_0x678d6b,_0x524f3f,_0x3f6cec);},'onPasteCells':(_0x113716,_0x166584,_0x466699,_0x21b950)=>{const _0x4f17d4=_0x2e91d1;if(!this[_0x4f17d4(0x1b5)])return{'redos':[],'undos':[]};let {pasteType:_0x330dbf}=_0x21b950;return _0x330dbf===_0x12ebda[_0x4f17d4(0x4eb)]?this['_generatePasteMutations'](_0x166584,this[_0x4f17d4(0x1b5)][_0x4f17d4(0x102)]===_0x50ead0[_0x4f17d4(0x10e)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x20f210=>this[_0x2e91d1(0x1b5)]?this[_0x2e91d1(0x25e)](_0x20f210,this[_0x2e91d1(0x1b5)]['copyType']===_0x50ead0[_0x2e91d1(0x10e)]):{'redos':[],'undos':[]}}));}[_0xb24152(0x2fa)](_0x492a0a,_0x2abfc9,_0x41e416,_0x2cf0d4){const _0x23b3fe=_0xb24152;let _0x479372=this[_0x23b3fe(0x159)]['getSkeleton'](_0x492a0a,_0x2abfc9);if(!_0x479372)return;let _0x43c085=_0x224747(_0x479372,_0x41e416);if(!_0x43c085)return;let {startX:_0x514019,endX:_0x2cc973,startY:_0x239965,endY:_0x11fdac}=_0x43c085,_0x27d9ff=this['_sheetDrawingService'][_0x23b3fe(0x347)](_0x492a0a,_0x2abfc9),_0x182d6=this[_0x23b3fe(0x380)][_0x23b3fe(0x491)]();for(let [_0x472987,_0x4a57b0]of Object[_0x23b3fe(0x45a)](_0x27d9ff)){if(_0x4a57b0[_0x23b3fe(0x1dd)]!==_0x23b778[_0x23b3fe(0x170)])continue;let {transform:_0x40bfb4}=_0x4a57b0;if(!_0x40bfb4)continue;let {left:_0x3d0040=0x0,top:_0x174c4a=0x0,width:_0x214859=0x0,height:_0x296da0=0x0}=_0x40bfb4;_0x514019<=_0x3d0040&&_0x2cc973>=_0x3d0040+_0x214859&&_0x239965<=_0x174c4a&&_0x11fdac>=_0x174c4a+_0x296da0&&_0x182d6[_0x23b3fe(0x3ad)](_0x4a57b0);}_0x182d6[_0x23b3fe(0x424)]>0x0&&(this['_copyInfo']={'unitId':_0x492a0a,'subUnitId':_0x2abfc9,'copyType':_0x2cf0d4,'copyRange':_0x41e416,'drawings':_0x182d6});}[_0xb24152(0x25e)](_0x56e280,_0x45633a){const _0x51638d=_0xb24152;let {unitId:_0x4161e3,subUnitId:_0x4895e5,range:_0x19e0cc}=_0x56e280,_0x2c2501=this[_0x51638d(0x159)]['getSkeleton'](_0x4161e3,_0x4895e5);if(!_0x2c2501)return{'redos':[],'undos':[]};let _0x198af9=_0x5abc61(_0x19e0cc),{unitId:_0x5d1aab,subUnitId:_0x12ec58,copyRange:_0x428880,drawings:_0x33d74e}=this[_0x51638d(0x1b5)],_0x1ad760=this['_sheetSkeletonService'][_0x51638d(0x213)](_0x5d1aab,_0x12ec58);if(!_0x1ad760)return{'redos':[],'undos':[]};let _0x11b712;if(!_0x428880){let _0x66252a=0x1/0x0,_0x223e82=0x1/0x0;for(let _0x2c81bc of _0x33d74e){var _0x5e7f6e;let {left:_0x3df40a=0x0,top:_0x1c96aa=0x0}=(_0x5e7f6e=_0x2c81bc[_0x51638d(0x1e4)])==null?{}:_0x5e7f6e;_0x3df40a<_0x66252a&&(_0x66252a=_0x3df40a),_0x1c96aa<_0x223e82&&(_0x223e82=_0x1c96aa);}_0x66252a!==0x1/0x0&&_0x223e82!==0x1/0x0&&(_0x11b712={'left':_0x66252a,'top':_0x223e82});}let _0x2b4f7f=new Map();if(!_0x45633a){for(let _0x31d413 of _0x33d74e)_0x2b4f7f[_0x51638d(0x23e)](_0x31d413[_0x51638d(0x428)],_0x4f8964());}let _0x189201=[],_0x4183f1=[];for(let _0x358977 of _0x33d74e){let {drawingId:_0x343590,transform:_0x30e663,sheetTransform:_0x4e4a07}=_0x358977;if(!_0x30e663||!_0x4e4a07)continue;let _0x28ecce=this[_0x51638d(0x441)]({'transform':_0x30e663,'sheetTransform':_0x4e4a07},{'skeleton':_0x1ad760,'range':_0x428880},{'skeleton':_0x2c2501,'range':_0x198af9},_0x11b712);if(_0x45633a){let {redos:_0x1ad245,undos:_0x3264a6}=this[_0x51638d(0x41b)]({'fromUnitId':_0x5d1aab,'fromSubUnitId':_0x12ec58,'toUnitId':_0x4161e3,'toSubUnitId':_0x4895e5,'drawing':_0x358977,'newTransforms':_0x28ecce});_0x189201[_0x51638d(0x3ad)](..._0x1ad245),_0x4183f1['push'](..._0x3264a6);continue;}let {redos:_0x501ab4,undos:_0x1c7ae4}=this[_0x51638d(0x298)]({'toUnitId':_0x4161e3,'toSubUnitId':_0x4895e5,'drawing':_0x358977,'newTransforms':_0x28ecce,'newDrawingId':_0x2b4f7f['get'](_0x343590),'idMap':_0x2b4f7f});_0x189201[_0x51638d(0x3ad)](..._0x501ab4),_0x4183f1['push'](..._0x1c7ae4);}return{'redos':_0x189201,'undos':_0x4183f1};}['_generateCutPasteMutations'](_0x1558c8){const _0x7564f3=_0xb24152;let {fromUnitId:_0x43e739,fromSubUnitId:_0xf123a8,toUnitId:_0x4105b0,toSubUnitId:_0x11d7a2,drawing:_0x20b8cc,newTransforms:_0x39b49f}=_0x1558c8,_0xd1efb3={..._0x20b8cc,'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'transform':_0x39b49f['transform'],'sheetTransform':_0x39b49f[_0x7564f3(0x23f)]};if(_0x4105b0===_0x43e739&&_0x11d7a2===_0xf123a8){let {redo:_0x5f59f9,undo:_0x577de8,objects:_0x2f52bf}=this['_sheetDrawingService'][_0x7564f3(0x48d)]([_0xd1efb3]);return{'redos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'type':_0x47eaf3[_0x7564f3(0x14d)],'op':_0x5f59f9,'objects':_0x2f52bf}}],'undos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'type':_0x47eaf3['UPDATE'],'op':_0x577de8,'objects':_0x2f52bf}}]};}else{let _0x1f2be7=this[_0x7564f3(0x494)][_0x7564f3(0x1fe)]([_0x20b8cc]),_0x11da5a=this[_0x7564f3(0x494)][_0x7564f3(0x1f9)]([_0xd1efb3]),_0x3f8e41=this[_0x7564f3(0x2f6)]['getShapeModel'](_0x20b8cc[_0x7564f3(0x371)],_0x20b8cc[_0x7564f3(0x4a5)],_0x20b8cc[_0x7564f3(0x428)]);if(!_0x3f8e41)return{'redos':[],'undos':[]};let _0x1ba8f0=_0x3f8e41[_0x7564f3(0xf9)](),_0x48daa6=JSON[_0x7564f3(0x17c)](JSON['stringify'](_0x3f8e41[_0x7564f3(0x1f5)]()));return{'redos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x43e739,'subUnitId':_0xf123a8,'type':_0x47eaf3[_0x7564f3(0x46d)],'op':_0x1f2be7[_0x7564f3(0x1b2)],'objects':_0x1f2be7[_0x7564f3(0x43d)]}},{'id':_0x40615a['id'],'params':{'unitId':_0x43e739,'subUnitId':_0xf123a8,'shapeId':_0x20b8cc[_0x7564f3(0x428)]}},{'id':_0x1d222d['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'type':_0x47eaf3[_0x7564f3(0x16b)],'op':_0x11da5a['redo'],'objects':_0x11da5a[_0x7564f3(0x43d)]}},{'id':_0x5acc7e['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'shapeId':_0x20b8cc[_0x7564f3(0x428)],'shapeType':_0x1ba8f0,'shapeData':_0x48daa6}}],'undos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x43e739,'subUnitId':_0xf123a8,'type':_0x47eaf3[_0x7564f3(0x16b)],'op':_0x1f2be7['undo'],'objects':_0x1f2be7[_0x7564f3(0x43d)]}},{'id':_0x5acc7e['id'],'params':{'unitId':_0x43e739,'subUnitId':_0xf123a8,'shapeId':_0x20b8cc[_0x7564f3(0x428)],'shapeType':_0x1ba8f0,'shapeData':_0x48daa6}},{'id':_0x1d222d['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'type':_0x47eaf3['REMOVE'],'op':_0x11da5a['undo'],'objects':_0x11da5a[_0x7564f3(0x43d)]}},{'id':_0x40615a['id'],'params':{'unitId':_0x4105b0,'subUnitId':_0x11d7a2,'shapeId':_0x20b8cc['drawingId']}}]};}}[_0xb24152(0x298)](_0x5f2c1d){const _0x58e090=_0xb24152;let {toUnitId:_0x43ac5c,toSubUnitId:_0x706287,drawing:_0x35513c,newTransforms:_0x27faef,newDrawingId:_0x1d2c20,idMap:_0x466496}=_0x5f2c1d,_0x3403ac={..._0x35513c,'unitId':_0x43ac5c,'subUnitId':_0x706287,'drawingId':_0x1d2c20,'transform':_0x27faef[_0x58e090(0x1e4)],'sheetTransform':_0x27faef['sheetTransform']},{redo:_0x5bdc38,undo:_0x201dc9,objects:_0x395042}=this['_sheetDrawingService'][_0x58e090(0x1f9)]([_0x3403ac]),_0x58196c=this[_0x58e090(0x2f6)]['getShapeModel'](_0x35513c[_0x58e090(0x371)],_0x35513c[_0x58e090(0x4a5)],_0x35513c[_0x58e090(0x428)]);if(!_0x58196c)return{'redos':[],'undos':[]};let _0x1f1ea4=_0x58196c['getShapeType'](),_0x4179e8=JSON[_0x58e090(0x17c)](JSON[_0x58e090(0x3d2)](_0x58196c[_0x58e090(0x1f5)]()));if(_0x4179e8[_0x58e090(0x2ee)]){var _0x1be047,_0x89870d;let _0x4a7dab=(_0x1be047=_0x4179e8[_0x58e090(0x2ee)]['from'])==null?void 0x0:_0x1be047[_0x58e090(0x440)],_0x3267f5=(_0x89870d=_0x4179e8['relation']['to'])==null?void 0x0:_0x89870d[_0x58e090(0x440)],_0x5d8eaa=_0x4a7dab?_0x466496[_0x58e090(0x206)](_0x4a7dab):!0x0,_0x1ed195=_0x3267f5?_0x466496[_0x58e090(0x206)](_0x3267f5):!0x0;_0x5d8eaa&&_0x4a7dab&&_0x4179e8[_0x58e090(0x2ee)]['from']?_0x4179e8['relation'][_0x58e090(0x48a)]={..._0x4179e8[_0x58e090(0x2ee)][_0x58e090(0x48a)],'shapeId':_0x466496[_0x58e090(0x4b5)](_0x4a7dab)}:_0x4179e8['relation'][_0x58e090(0x48a)]=void 0x0,_0x1ed195&&_0x3267f5&&_0x4179e8[_0x58e090(0x2ee)]['to']?_0x4179e8[_0x58e090(0x2ee)]['to']={..._0x4179e8['relation']['to'],'shapeId':_0x466496[_0x58e090(0x4b5)](_0x3267f5)}:_0x4179e8[_0x58e090(0x2ee)]['to']=void 0x0;}return{'redos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x43ac5c,'subUnitId':_0x706287,'type':_0x47eaf3[_0x58e090(0x16b)],'op':_0x5bdc38,'objects':_0x395042}},{'id':_0x5acc7e['id'],'params':{'unitId':_0x43ac5c,'subUnitId':_0x706287,'shapeId':_0x1d2c20,'shapeType':_0x1f1ea4,'shapeData':_0x4179e8}}],'undos':[{'id':_0x1d222d['id'],'params':{'unitId':_0x43ac5c,'subUnitId':_0x706287,'type':_0x47eaf3['REMOVE'],'op':_0x201dc9,'objects':_0x395042}},{'id':_0x40615a['id'],'params':{'unitId':_0x43ac5c,'subUnitId':_0x706287,'shapeId':_0x1d2c20}}]};}[_0xb24152(0x441)](_0x39e28e,_0x2be060,_0x1e1f45,_0x39c982){const _0x19432c=_0xb24152;var _0x43507f;let {range:_0xef2dad,skeleton:_0x36a350}=_0x2be060,{range:_0x33ce3d,skeleton:_0x5171ad}=_0x1e1f45,{transform:_0x5ccb39,sheetTransform:_0x91405d}=_0x39e28e,_0x1f9b58={..._0x5ccb39};if(_0xef2dad){let _0x552022=_0x224747(_0x36a350,_0xef2dad),_0xc98261=_0x224747(_0x5171ad,_0x33ce3d);if(_0x552022&&_0xc98261){var _0x1fd1f9,_0x4f040f;let _0x3409ad=_0xc98261['startX']-_0x552022[_0x19432c(0x169)],_0x4777ef=_0xc98261[_0x19432c(0x27b)]-_0x552022[_0x19432c(0x27b)];_0x1f9b58[_0x19432c(0x17a)]=((_0x1fd1f9=_0x1f9b58[_0x19432c(0x17a)])==null?0x0:_0x1fd1f9)+_0x3409ad,_0x1f9b58[_0x19432c(0x408)]=((_0x4f040f=_0x1f9b58['top'])==null?0x0:_0x4f040f)+_0x4777ef;}}else{let _0x4a7805=_0x224747(_0x5171ad,_0x33ce3d);if(_0x39c982&&_0x4a7805){var _0x46f5e2,_0x2721e2;let _0x3c4523=((_0x46f5e2=_0x1f9b58[_0x19432c(0x17a)])==null?0x0:_0x46f5e2)-_0x39c982[_0x19432c(0x17a)],_0x49739d=((_0x2721e2=_0x1f9b58[_0x19432c(0x408)])==null?0x0:_0x2721e2)-_0x39c982[_0x19432c(0x408)];_0x1f9b58[_0x19432c(0x17a)]=_0x4a7805['startX']+_0x3c4523,_0x1f9b58[_0x19432c(0x408)]=_0x4a7805['startY']+_0x49739d;}else _0x1f9b58[_0x19432c(0x17a)]=_0x4a7805==null?void 0x0:_0x4a7805[_0x19432c(0x169)],_0x1f9b58[_0x19432c(0x408)]=_0x4a7805==null?void 0x0:_0x4a7805[_0x19432c(0x27b)];}return{'transform':_0x1f9b58,'sheetTransform':(_0x43507f=_0x1a58ba(_0x1f9b58,_0x5171ad))==null?_0x91405d:_0x43507f};}};Eo=X([Y(0x0,_0x4429c1(_0x58db95)),Y(0x1,_0x4429c1(_0x3d04df)),Y(0x2,_0x4429c1(_0x3e392c)),Y(0x3,_0x4429c1(_0x2acfb5)),Y(0x4,_0x4429c1(_0x12261d))],Eo);var Do=class extends _0x5786d8{constructor(_0x258bac,_0x3daef5){const _0x1bb59e=_0xb24152;super(_0x258bac,_0x3daef5),G(this,_0x1bb59e(0x3f6),null),G(this,_0x1bb59e(0x1cd),null),G(this,_0x1bb59e(0x337),null),G(this,_0x1bb59e(0x3e7),null),G(this,_0x1bb59e(0x3b6),!0x1),_0x3daef5&&this[_0x1bb59e(0x4cd)](_0x3daef5);}[_0xb24152(0x49c)](){const _0xd69250=_0xb24152;return{'unitId':this[_0xd69250(0x337)],'subUnitId':this[_0xd69250(0x3e7)],'drawingId':this[_0xd69250(0x3f6)]};}[_0xb24152(0x4cd)](_0x24ebb1){const _0x1ff8f3=_0xb24152;_0x24ebb1['shapeId']!==void 0x0&&(this[_0x1ff8f3(0x3f6)]=_0x24ebb1['shapeId']),_0x24ebb1[_0x1ff8f3(0x371)]!==void 0x0&&(this['_unitId']=_0x24ebb1[_0x1ff8f3(0x371)]),_0x24ebb1[_0x1ff8f3(0x4a5)]!==void 0x0&&(this[_0x1ff8f3(0x3e7)]=_0x24ebb1['subUnitId']),_0x24ebb1[_0x1ff8f3(0x3f8)]!==void 0x0&&(this[_0x1ff8f3(0x3b6)]=_0x24ebb1['isStartConnectorPoint']),this['transformByState']({'width':_0x24ebb1[_0x1ff8f3(0x41c)],'height':_0x24ebb1['height']});}['_draw'](_0x2b74ce){const _0x1f7ad4=_0xb24152;_0x1de444[_0x1f7ad4(0x3a1)](_0x2b74ce,{'radius':_0x2dd83f['cxnPointRadius'],'fill':_0x2dd83f['cxnPointFill'],'stroke':_0x2dd83f[_0x1f7ad4(0x3c8)],'strokeWidth':_0x2dd83f[_0x1f7ad4(0x18d)],'evented':!0x0});}};let Oo=class extends _0x1fdd93{constructor(_0x252992,_0x16bd52,_0x17057d,_0x4ea2bd,_0x37fb37,_0x1444cc,_0x205ef3,_0x5c0631){const _0x4f4dda=_0xb24152;super(),this[_0x4f4dda(0x41a)]=_0x252992,this[_0x4f4dda(0x12a)]=_0x16bd52,this[_0x4f4dda(0x2b9)]=_0x17057d,this[_0x4f4dda(0x2a2)]=_0x4ea2bd,this[_0x4f4dda(0x295)]=_0x37fb37,this['_sheetsShapeService']=_0x1444cc,this[_0x4f4dda(0x351)]=_0x205ef3,this['_sheetBasicShapeConnectionPointController']=_0x5c0631,G(this,_0x4f4dda(0x13c),void 0x0),G(this,_0x4f4dda(0x337),void 0x0),G(this,'_subUnitId',void 0x0),G(this,'_connectorObjects',[]),G(this,_0x4f4dda(0x117),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),G(this,_0x4f4dda(0x1a9),void 0x0),G(this,_0x4f4dda(0x3ac),!0x1),G(this,'_isDrawingShapePointDown',!0x1),G(this,_0x4f4dda(0x42b),!0x1),G(this,_0x4f4dda(0x482),void 0x0),G(this,_0x4f4dda(0x197),void 0x0),G(this,'_currentConnectionTarget',null),this['_initialize']();}[_0xb24152(0x2db)](){const _0x3aad8a=_0xb24152;this[_0x3aad8a(0x20d)](),this[_0x3aad8a(0x46c)]();}[_0xb24152(0x3cc)](){const _0x566578=_0xb24152;if(!this[_0x566578(0x337)]||!this['_subUnitId']||!this[_0x566578(0x13c)])return;let _0x37837a={'unitId':this[_0x566578(0x337)],'subUnitId':this[_0x566578(0x3e7)],'drawingId':this[_0x566578(0x13c)]},{transform:_0x19fae8}=this[_0x566578(0x2a2)][_0x566578(0x297)](_0x37837a);if(_0x19fae8)return{'left':_0x19fae8[_0x566578(0x17a)]||0x0,'top':_0x19fae8[_0x566578(0x408)]||0x0,'width':_0x19fae8['width']||0x0,'height':_0x19fae8[_0x566578(0x19e)]||0x0,'flipX':_0x19fae8['flipX']||!0x1,'flipY':_0x19fae8[_0x566578(0x405)]||!0x1,'angle':_0x19fae8[_0x566578(0xfe)]};}['_addShapeConnectorHandlerObjects'](){const _0xc73795=_0xb24152;if(this[_0xc73795(0x337)]===void 0x0||this[_0xc73795(0x3e7)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x417fde=this[_0xc73795(0x2b9)]['getRenderById'](this[_0xc73795(0x337)]);if(!_0x417fde||!_0x417fde[_0xc73795(0x394)](_0x2948b6)[_0xc73795(0x3e6)]())return;let {scene:_0x2eba03}=_0x417fde,_0x23d226=this['_getDrawingRect']();if(!_0x23d226)return;let _0x4f1165=this[_0xc73795(0x288)]['getShapeModel'](this['_unitId'],this[_0xc73795(0x3e7)],this[_0xc73795(0x13c)]);if(!_0x4f1165||!_0x59a416(_0x4f1165[_0xc73795(0xf9)]()))return;let _0x133679=_0x4f1165[_0xc73795(0x44e)]();if(_0x133679[_0xc73795(0x424)]<0x2)return;let _0x370e0a=new _0x2f5cd5(_0x23d226),_0x58d8f2=_0x133679[0x0],_0x5e2123=_0x133679[_0x133679[_0xc73795(0x424)]-0x1],_0x4a7c7e=_0x370e0a[_0xc73795(0x3c6)](_0x58d8f2),_0x1fc3fb=_0x370e0a[_0xc73795(0x3c6)](_0x5e2123);this[_0xc73795(0x2f8)](_0x2eba03,{..._0x4a7c7e},!0x0),this[_0xc73795(0x2f8)](_0x2eba03,{..._0x1fc3fb},!0x1);}[_0xb24152(0x2f8)](_0xf79c3b,_0x1e9280,_0x1ddf1f){const _0x5b52e1=_0xb24152;if(this[_0x5b52e1(0x13c)]===void 0x0||this['_unitId']===void 0x0||this[_0x5b52e1(0x3e7)]===void 0x0)return;let _0x250f30=_0x5b52e1(0x1c6)+this[_0x5b52e1(0x337)]+'-'+this[_0x5b52e1(0x3e7)]+'-'+this[_0x5b52e1(0x13c)]+'-'+(_0x1ddf1f?_0x5b52e1(0xe9):'end'),_0x56fdb2=_0xf79c3b['getObjectIncludeInGroup'](_0x250f30);if(_0x56fdb2){_0x56fdb2['transformByState']({'left':_0x1e9280['x']-_0x2dd83f[_0x5b52e1(0x495)],'top':_0x1e9280['y']-_0x2dd83f[_0x5b52e1(0x495)]});return;}let _0x57d019=new Do(_0x250f30,{'left':_0x1e9280['x']-_0x2dd83f[_0x5b52e1(0x495)],'top':_0x1e9280['y']-_0x2dd83f[_0x5b52e1(0x495)],'shapeId':this['_activeShapeId'],'unitId':this[_0x5b52e1(0x337)],'subUnitId':this[_0x5b52e1(0x3e7)],'isStartConnectorPoint':_0x1ddf1f,'width':_0x2dd83f['cxnPointRadius']*0x2,'height':_0x2dd83f[_0x5b52e1(0x495)]*0x2,'zIndex':_0x536557+0x1,'evented':!0x0});this[_0x5b52e1(0x4a8)][_0x5b52e1(0x3ad)](_0x57d019),this['_attachConnectorObjectEvent'](_0x57d019,_0xf79c3b,_0x1ddf1f),_0xf79c3b[_0x5b52e1(0x150)](_0x57d019,_0x536557+0x1);}[_0xb24152(0x254)](_0x398c8e,_0x55736a){const _0x54fb81=_0xb24152;var _0x3de2ca;let _0x5f4477={'x':0x0,'y':0x0};if(!_0x398c8e||!_0x55736a)return _0x5f4477;let _0x4a8b7c=this[_0x54fb81(0x2b9)][_0x54fb81(0x2ba)](_0x398c8e);if(!_0x4a8b7c||!_0x4a8b7c[_0x54fb81(0x394)](_0x2948b6)[_0x54fb81(0x213)](_0x55736a))return _0x5f4477;let _0x48e7c9=_0x4a8b7c[_0x54fb81(0x394)](_0x163695),_0x10e6f4=_0x48e7c9==null?void 0x0:_0x48e7c9[_0x54fb81(0x318)]();if(!_0x10e6f4)return _0x5f4477;let _0x13ffab=(_0x3de2ca=this['_univerInstanceService'][_0x54fb81(0x257)](_0x398c8e))==null?void 0x0:_0x3de2ca[_0x54fb81(0x379)](_0x55736a);if(!_0x13ffab)return _0x5f4477;let _0x1f3c75=_0x2bbbe9(_0x10e6f4[_0x54fb81(0x16f)],_0x10e6f4[_0x54fb81(0x123)],_0x4a8b7c[_0x54fb81(0x138)],_0x13ffab);return _0x1f3c75?{'x':_0x1f3c75[_0x54fb81(0x142)],'y':_0x1f3c75[_0x54fb81(0x2b4)]}:_0x5f4477;}[_0xb24152(0x454)](_0x160d1d,_0x3c5e7c){const _0x13cb01=_0xb24152;var _0x2f7b27,_0x17c556;let _0x168d6b=(_0x2f7b27=this[_0x13cb01(0x295)][_0x13cb01(0x257)](_0x160d1d))==null?void 0x0:_0x2f7b27['getSheetBySheetId'](_0x3c5e7c);return(_0x17c556=_0x168d6b==null?void 0x0:_0x168d6b[_0x13cb01(0x467)]())==null?0x1:_0x17c556;}['_handleConnectorPointerUp'](_0x5483ae,_0x3d5c3f,_0x20f563,_0xb4e334,_0x811cc4){const _0x5eaf4b=_0xb24152;this['_cxtHandlerPointerMove'][_0x5eaf4b(0x151)](),this[_0x5eaf4b(0x197)][_0x5eaf4b(0x151)](),this[_0x5eaf4b(0x351)]['refreshAdjustControls']();let _0x1602ab=this['_currentConnectionTarget'];this[_0x5eaf4b(0x225)][_0x5eaf4b(0x33f)]();let _0x2d77c0=this[_0x5eaf4b(0x254)](this[_0x5eaf4b(0x337)],this[_0x5eaf4b(0x3e7)]),_0x1f887e=this[_0x5eaf4b(0x454)](this[_0x5eaf4b(0x337)],this['_subUnitId']),_0x1189c5={'x':_0x20f563[_0x5eaf4b(0x38f)]/_0x1f887e+_0x2d77c0['x'],'y':_0x20f563[_0x5eaf4b(0x23c)]/_0x1f887e+_0x2d77c0['y']},_0x310a2f=_0x1602ab?_0x1602ab[_0x5eaf4b(0x1ac)]:_0x1189c5,_0x55e0b4=_0xb4e334?this[_0x5eaf4b(0x1a9)][_0x5eaf4b(0x131)]():this[_0x5eaf4b(0x1a9)][_0x5eaf4b(0x155)](),_0x3b1fed=this[_0x5eaf4b(0x1a9)][_0x5eaf4b(0xf9)]();_0x55e0b4?this[_0x5eaf4b(0x4a3)](_0x55e0b4,_0x310a2f,_0xb4e334,_0x1602ab,_0x811cc4):this[_0x5eaf4b(0x28d)](_0x3d5c3f,_0x310a2f,_0xb4e334,_0x1602ab,_0x811cc4,_0x3b1fed),this[_0x5eaf4b(0x3ac)]=!0x1,this[_0x5eaf4b(0x42b)]=!0x1,this[_0x5eaf4b(0x1c7)]=null,_0x5483ae[_0x5eaf4b(0x19b)]();}[_0xb24152(0x28d)](_0x11e257,_0x3a604e,_0x18827c,_0x3479fd,_0x22bca3,_0x8b6928){const _0x300f2b=_0xb24152;let _0xf77315=_0x8b6928===_0x34fa26[_0x300f2b(0x4f2)]||_0x8b6928===_0x34fa26[_0x300f2b(0x2b3)],_0x41635e=_0x18827c?_0x3a604e:_0x11e257,_0x3c996d=_0x18827c?_0x11e257:_0x3a604e,_0x2bf562=this[_0x300f2b(0x1a9)][_0x300f2b(0x44e)](),_0x11e56d=_0x456e13(this[_0x300f2b(0x1a9)][_0x300f2b(0xf9)]()),_0x1b6fc8=_0x2f5cd5['getBentTypeFromPoints'](_0x2bf562,_0x11e56d),_0x36f45a=_0xf77315?_0x2f5cd5[_0x300f2b(0x416)](_0x41635e,_0x3c996d):_0x2f5cd5[_0x300f2b(0x36f)](_0x11e257,_0x3a604e,_0x18827c,_0x1b6fc8);_0x3479fd?this[_0x300f2b(0x360)](_0x36f45a,_0x3479fd,_0x18827c,_0x22bca3):this['_executeResizeCommand'](_0x36f45a,_0x22bca3);}['_handleConnectedEndpointPointerUp'](_0x1cdd5e,_0x38a8d2,_0x270665,_0x12a822,_0x39b45a){const _0x3b0507=_0xb24152;let _0x14a125=this[_0x3b0507(0x209)](_0x1cdd5e);if(!_0x14a125)return;let _0x15b2c1=_0x12a822?_0x12a822['angle']:this[_0x3b0507(0x392)](_0x14a125[_0x3b0507(0x120)],_0x38a8d2),_0x296d0d;if(_0x12a822){let _0x26b1cb=this[_0x3b0507(0x2a2)][_0x3b0507(0x297)]({'unitId':_0x12a822[_0x3b0507(0x371)],'subUnitId':_0x12a822['subUnitId'],'drawingId':_0x12a822[_0x3b0507(0x440)]});if(_0x26b1cb!=null&&_0x26b1cb['transform']){let {left:_0x4f6939=0x0,top:_0x492c0=0x0,width:_0x537cc0=0x0,height:_0x331dfa=0x0,angle:_0xf2fdf4}=_0x26b1cb['transform'];_0x296d0d=_0x141ee0({'left':_0x4f6939,'top':_0x492c0,'width':_0x537cc0,'height':_0x331dfa},_0xf2fdf4||0x0);}else _0x296d0d={'left':_0x38a8d2['x'],'top':_0x38a8d2['y'],'width':0x0,'height':0x0};}else _0x296d0d={'left':_0x38a8d2['x'],'top':_0x38a8d2['y'],'width':0x0,'height':0x0};let _0xe396d8={'point':_0x38a8d2,'angle':_0x15b2c1,'bounds':_0x296d0d},_0x172905=_0x270665?_0xe396d8:_0x14a125,_0x3c10e6=_0x270665?_0x14a125:_0xe396d8,_0xb9be7b=this['_activeShapeModel'][_0x3b0507(0xf9)](),_0x5030f4=_0x2a8f13(_0x172905,_0x3c10e6,_0xb9be7b);this['_activeShapeModel']['removeLinePoints']();let _0x29be95=_0x2ef101(_0x5030f4,_0xb9be7b);_0x12a822?this[_0x3b0507(0x1a4)](_0x29be95,_0x12a822,_0x1cdd5e,_0x270665,_0x39b45a):this[_0x3b0507(0x248)](_0x29be95,_0x1cdd5e,_0x270665,_0x39b45a);}[_0xb24152(0x360)](_0x3c242b,_0x44cfb5,_0x12b7ad,_0x46592f){const _0x359ade=_0xb24152;let _0x597752=this['_activeShapeModel'][_0x359ade(0x1f5)]()['relation'],_0x297f9f={..._0x597752},_0x29255d={'shapeId':_0x44cfb5[_0x359ade(0x440)],'cxnIndex':_0x44cfb5[_0x359ade(0x1c2)]};_0x12b7ad?_0x297f9f[_0x359ade(0x48a)]=_0x29255d:_0x297f9f['to']=_0x29255d;let _0x234484=this[_0x359ade(0x1a9)][_0x359ade(0xf9)](),_0x510163=_0x2ef101(_0x3c242b[_0x359ade(0x4d4)],_0x234484),_0x370ab8={'unitId':this[_0x359ade(0x337)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x359ade(0x13c)],'width':_0x3c242b['worldRect'][_0x359ade(0x41c)],'height':_0x3c242b['worldRect'][_0x359ade(0x19e)],'left':_0x3c242b[_0x359ade(0x29f)][_0x359ade(0x17a)],'top':_0x3c242b[_0x359ade(0x29f)][_0x359ade(0x408)],'flipX':_0x3c242b[_0x359ade(0x29f)]['flipX']||!0x1,'flipY':_0x3c242b['worldRect'][_0x359ade(0x405)]||!0x1,'newAdjustValues':_0x510163[_0x359ade(0x153)],'oldAdjustValues':_0x46592f,'oldRelation':_0x597752,'newRelation':_0x297f9f,'newLineType':_0x510163[_0x359ade(0x301)],'oldLineType':_0x234484};this[_0x359ade(0x12a)][_0x359ade(0x378)](_0x295562['id'],_0x370ab8);}[_0xb24152(0x29a)](_0x324082,_0x2bd699){const _0x503b25=_0xb24152;let _0x2b9baa=this['_activeShapeModel'][_0x503b25(0xf9)](),_0x309a06=_0x2ef101(_0x324082[_0x503b25(0x4d4)],_0x2b9baa),_0x249827={'unitId':this[_0x503b25(0x337)],'subUnitId':this[_0x503b25(0x3e7)],'shapeId':this[_0x503b25(0x13c)],'width':_0x324082[_0x503b25(0x29f)][_0x503b25(0x41c)],'height':_0x324082[_0x503b25(0x29f)]['height'],'left':_0x324082[_0x503b25(0x29f)]['left'],'top':_0x324082[_0x503b25(0x29f)]['top'],'flipX':_0x324082[_0x503b25(0x29f)][_0x503b25(0x366)]||!0x1,'flipY':_0x324082[_0x503b25(0x29f)][_0x503b25(0x405)]||!0x1,'angle':_0x324082['worldRect']['angle']||0x0,'newAdjustValues':_0x309a06['adjustValues'],'oldAdjustValues':_0x2bd699,'newLineType':_0x309a06[_0x503b25(0x301)],'oldLineType':_0x2b9baa};this[_0x503b25(0x12a)]['executeCommand'](_0x4642fd['id'],_0x249827);}[_0xb24152(0x1a4)](_0x4bf3f5,_0xcc114a,_0x276c3f,_0x2ef73c,_0x34679e){const _0x86dbdd=_0xb24152;let _0x10b9d1=this[_0x86dbdd(0x1a9)][_0x86dbdd(0x1f5)]()[_0x86dbdd(0x2ee)],_0xe43dca={..._0x10b9d1},_0x579264={'shapeId':_0xcc114a[_0x86dbdd(0x440)],'cxnIndex':_0xcc114a[_0x86dbdd(0x1c2)]};_0x2ef73c?(_0xe43dca[_0x86dbdd(0x48a)]=_0x579264,_0xe43dca['to']=_0x276c3f):(_0xe43dca[_0x86dbdd(0x48a)]=_0x276c3f,_0xe43dca['to']=_0x579264);let _0x24e0db={'unitId':this[_0x86dbdd(0x337)],'subUnitId':this[_0x86dbdd(0x3e7)],'connectorShapeId':this[_0x86dbdd(0x13c)],'width':_0x4bf3f5[_0x86dbdd(0x29f)]['width'],'height':_0x4bf3f5['worldRect']['height'],'left':_0x4bf3f5['worldRect'][_0x86dbdd(0x17a)],'top':_0x4bf3f5[_0x86dbdd(0x29f)]['top'],'flipX':_0x4bf3f5[_0x86dbdd(0x29f)][_0x86dbdd(0x366)]||!0x1,'flipY':_0x4bf3f5['worldRect'][_0x86dbdd(0x405)]||!0x1,'oldAdjustValues':_0x34679e,'newAdjustValues':_0x4bf3f5[_0x86dbdd(0x153)],'newLineType':_0x4bf3f5['lineType'],'rotation':_0x4bf3f5[_0x86dbdd(0x4ab)],'oldRelation':_0x10b9d1,'newRelation':_0xe43dca};this[_0x86dbdd(0x12a)][_0x86dbdd(0x378)](_0x295562['id'],_0x24e0db);}[_0xb24152(0x248)](_0x2a3773,_0x1344bd,_0x4853f7,_0x478ed0){const _0x186241=_0xb24152;let _0x923b0d=this[_0x186241(0x1a9)][_0x186241(0x1f5)]()['relation'],_0x1354bb={};_0x4853f7?(_0x1354bb['to']=_0x1344bd,_0x1354bb[_0x186241(0x48a)]=void 0x0):(_0x1354bb['from']=_0x1344bd,_0x1354bb['to']=void 0x0);let _0x3baf63={'unitId':this[_0x186241(0x337)],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x2a3773[_0x186241(0x29f)]['width'],'height':_0x2a3773[_0x186241(0x29f)][_0x186241(0x19e)],'left':_0x2a3773[_0x186241(0x29f)][_0x186241(0x17a)],'top':_0x2a3773[_0x186241(0x29f)][_0x186241(0x408)],'flipX':_0x2a3773['worldRect'][_0x186241(0x366)]||!0x1,'flipY':_0x2a3773['worldRect'][_0x186241(0x405)]||!0x1,'oldAdjustValues':_0x478ed0,'newAdjustValues':_0x2a3773[_0x186241(0x153)],'newLineType':_0x2a3773[_0x186241(0x301)],'rotation':_0x2a3773[_0x186241(0x4ab)],'oldRelation':_0x923b0d,'newRelation':_0x1354bb};this[_0x186241(0x12a)][_0x186241(0x378)](_0x295562['id'],_0x3baf63);}[_0xb24152(0x261)](_0x3d691d,_0x2e36d7,_0x52a229){const _0xec4bee=_0xb24152;this['disposeWithMe'](_0x4540fc(_0x3d691d[_0xec4bee(0x317)][_0xec4bee(0x2c1)]((_0x24c52e,_0x430fb9)=>{const _0x365be5=_0xec4bee;let _0x10fb76=_0x3d691d[_0x365be5(0x49c)]();if(this[_0x365be5(0x1a9)]=this[_0x365be5(0x288)][_0x365be5(0x2ce)](_0x10fb76[_0x365be5(0x371)],_0x10fb76[_0x365be5(0x4a5)],_0x10fb76[_0x365be5(0x428)]),!this[_0x365be5(0x1a9)])return;let _0x43ed5f={};this['_activeShapeModel']['getAdjustNames']()[_0x365be5(0x4fa)](_0x2be1f3=>{const _0x42693e=_0x365be5;let _0x348dfd=this[_0x42693e(0x1a9)][_0x42693e(0x2d1)](_0x2be1f3);_0x348dfd!==void 0x0&&(_0x43ed5f[_0x2be1f3]=_0x348dfd);});let _0x4f3e10=this[_0x365be5(0x3cc)]();if(!_0x4f3e10)return;this[_0x365be5(0x117)]={..._0x4f3e10};let _0x138863=new _0x2f5cd5(this[_0x365be5(0x117)]),_0x3141c2=_0x32b74c({'unitId':this[_0x365be5(0x337)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']}),_0x1961e9=_0x2e36d7['getObjectIncludeInGroup'](_0x3141c2);this[_0x365be5(0x3ac)]=!0x0,_0x2e36d7['disableObjectsEvent'](),this[_0x365be5(0x225)]['startConnectionDetection'](_0x2e36d7,this[_0x365be5(0x337)],this['_subUnitId'],this[_0x365be5(0x13c)]),this['_currentConnectionTarget']=null;let _0x31e922=this[_0x365be5(0x1a9)][_0x365be5(0x44e)](),_0x1a9eee=_0x31e922[0x0],_0x4cd15c=_0x31e922[_0x31e922[_0x365be5(0x424)]-0x1],_0x5152e1=_0x52a229?_0x138863[_0x365be5(0x3c6)](_0x4cd15c):_0x138863[_0x365be5(0x3c6)](_0x1a9eee);this[_0x365be5(0x482)]=_0x2e36d7[_0x365be5(0x340)][_0x365be5(0x2c1)]((_0x17b786,_0x4299a4)=>{const _0x35fd2f=_0x365be5;if(!this[_0x35fd2f(0x3ac)]||!this[_0x35fd2f(0x1a9)])return;this[_0x35fd2f(0x42b)]||(this[_0x35fd2f(0x351)][_0x35fd2f(0x27c)](),this[_0x35fd2f(0x1a9)][_0x35fd2f(0x108)](),this[_0x35fd2f(0x42b)]=!0x0);let _0x130c5f=this[_0x35fd2f(0x254)](this[_0x35fd2f(0x337)],this[_0x35fd2f(0x3e7)]),_0x173737=this['_getZoomRatio'](this[_0x35fd2f(0x337)],this[_0x35fd2f(0x3e7)]),_0x304776={'x':_0x17b786[_0x35fd2f(0x38f)]/_0x173737+_0x130c5f['x'],'y':_0x17b786[_0x35fd2f(0x23c)]/_0x173737+_0x130c5f['y']},_0x2c359b=this[_0x35fd2f(0x225)][_0x35fd2f(0x30b)](_0x304776);if(_0x2c359b){let {shapeId:_0x51e312,unitId:_0x49f084,subUnitId:_0xdf964f}=_0x2c359b;if(_0x51e312&&_0x49f084&&_0xdf964f){let _0x4d7970=_0x32b74c({'unitId':_0x49f084,'subUnitId':_0xdf964f,'drawingId':_0x51e312});_0x2c359b[_0x35fd2f(0xfe)]=(_0x2e36d7[_0x35fd2f(0x305)](_0x4d7970)[_0x35fd2f(0xfe)]||0x0)+_0x2c359b['angle'];}}this[_0x35fd2f(0x1c7)]=_0x2c359b;let _0x3d6492=_0x52a229?this['_activeShapeModel']['getEndConnectInfo']():this['_activeShapeModel'][_0x35fd2f(0x155)]();if(_0x3d6492){this['_handleConnectedEndpointMove'](_0x3d6492,_0x304776,_0x52a229,_0x1961e9,_0x3d691d);return;}this[_0x35fd2f(0x332)](_0x304776,_0x5152e1,_0x52a229,_0x1961e9,_0x3d691d);}),this[_0x365be5(0x197)]=_0x2e36d7[_0x365be5(0x2cd)]['subscribeEvent']((_0x11cf1c,_0x21343c)=>{const _0x4144d7=_0x365be5;this[_0x4144d7(0x36a)](_0x2e36d7,_0x5152e1,_0x11cf1c,_0x52a229,_0x43ed5f);}),_0x430fb9['stopPropagation']();})));}[_0xb24152(0x242)](_0x33b7f3,_0x5ec134,_0x1c632e){const _0x9a2738=_0xb24152;let _0x535236=this['_sheetsShapeService'][_0x9a2738(0x208)](_0x33b7f3,_0x5ec134,_0x1c632e);if(!_0x535236||_0x535236[_0x9a2738(0x424)]===0x0)return;let _0x28dd26=this[_0x9a2738(0x2b9)]['getRenderById'](_0x33b7f3);if(!_0x28dd26)return;let {scene:_0x4c2579}=_0x28dd26;for(let _0x937e16 of _0x535236){let _0x185aab=_0x937e16[_0x9a2738(0x240)],_0xef717d=this[_0x9a2738(0x288)]['getShapeModel'](_0x33b7f3,_0x5ec134,_0x185aab);if(!_0xef717d)continue;let _0x5706ae=_0xef717d['getStartConnectInfo'](),_0x142fb6=_0xef717d[_0x9a2738(0x131)](),_0x313335=(_0x5706ae==null?void 0x0:_0x5706ae['shapeId'])===_0x1c632e,_0x44d92b=_0x32b74c({'unitId':_0x33b7f3,'subUnitId':_0x5ec134,'drawingId':_0x185aab}),_0x320d51=_0x4c2579[_0x9a2738(0x305)](_0x44d92b);if(!_0x320d51)continue;let _0x77cc2a=this[_0x9a2738(0x2a2)][_0x9a2738(0x297)]({'unitId':_0x33b7f3,'subUnitId':_0x5ec134,'drawingId':_0x185aab});_0x77cc2a!=null&&_0x77cc2a[_0x9a2738(0x1e4)]&&(_0x5706ae&&_0x142fb6?this[_0x9a2738(0x381)](_0x33b7f3,_0x5ec134,_0x185aab,_0xef717d,_0x5706ae,_0x142fb6,_0x320d51):this[_0x9a2738(0x33b)](_0x33b7f3,_0x5ec134,_0x185aab,_0xef717d,_0x313335?_0x5706ae:_0x142fb6,_0x313335,_0x77cc2a,_0x320d51));}}[_0xb24152(0x381)](_0x2b9212,_0x744a12,_0x9bff19,_0x8ab3e4,_0x571b90,_0x3b7e32,_0x596d29){const _0x21e856=_0xb24152;let _0x3c390e=this[_0x21e856(0x337)],_0x1ae9e2=this[_0x21e856(0x3e7)];this[_0x21e856(0x337)]=_0x2b9212,this[_0x21e856(0x3e7)]=_0x744a12;let _0x481c7f=this[_0x21e856(0x209)](_0x571b90),_0x47b19b=this[_0x21e856(0x209)](_0x3b7e32);if(this[_0x21e856(0x337)]=_0x3c390e,this['_subUnitId']=_0x1ae9e2,!_0x481c7f||!_0x47b19b)return;let _0x34a563=_0x8ab3e4['getShapeType'](),_0x372220=_0x2a8f13(_0x481c7f,_0x47b19b,_0x34a563);_0x372220&&_0x8ab3e4['updateLinePoints'](_0x372220);let _0x54c95f=_0x2ef101(_0x372220,_0x34a563);_0x54c95f[_0x21e856(0x301)]!==_0x34a563&&_0x8ab3e4[_0x21e856(0x284)](_0x54c95f['lineType']),_0x8ab3e4['clearAdjustValue']();for(let [_0x11fb0d,_0x16bdb4]of Object['entries'](_0x54c95f[_0x21e856(0x153)]))_0x8ab3e4['setAdjustValueByName'](_0x11fb0d,_0x16bdb4);_0x8ab3e4[_0x21e856(0x37f)]({'width':_0x54c95f[_0x21e856(0x29f)]['width'],'height':_0x54c95f['worldRect'][_0x21e856(0x19e)]}),_0x596d29[_0x21e856(0x36b)]({'flipX':_0x54c95f[_0x21e856(0x29f)][_0x21e856(0x366)],'flipY':_0x54c95f[_0x21e856(0x29f)][_0x21e856(0x405)],'left':_0x54c95f[_0x21e856(0x29f)][_0x21e856(0x17a)],'top':_0x54c95f[_0x21e856(0x29f)][_0x21e856(0x408)],'width':_0x54c95f['worldRect'][_0x21e856(0x41c)],'height':_0x54c95f[_0x21e856(0x29f)][_0x21e856(0x19e)],'angle':_0x54c95f['rotation']}),_0x8ab3e4['removeLinePoints']();}[_0xb24152(0x33b)](_0x571bb5,_0x1c927f,_0x1512e0,_0x45ff0b,_0x24393a,_0x31c694,_0x4279fb,_0x153839){const _0x6255a3=_0xb24152;let _0x4d0903=this['_unitId'],_0x25b8a7=this[_0x6255a3(0x3e7)];this[_0x6255a3(0x337)]=_0x571bb5,this['_subUnitId']=_0x1c927f;let _0x5ed80f=this[_0x6255a3(0x209)](_0x24393a);if(this['_unitId']=_0x4d0903,this['_subUnitId']=_0x25b8a7,!_0x5ed80f)return;let {left:_0x5997a7=0x0,top:_0x1fcd92=0x0,width:_0x4f3e2d=0x0,height:_0x6a115f=0x0,flipX:_0x1508a8=!0x1,flipY:_0x38fcba=!0x1}=_0x4279fb[_0x6255a3(0x1e4)],_0x18932c=_0x45ff0b[_0x6255a3(0x44e)]();if(_0x18932c['length']<0x2)return;let _0x527d10=new _0x2f5cd5({'left':_0x5997a7,'top':_0x1fcd92,'width':_0x4f3e2d,'height':_0x6a115f,'flipX':_0x1508a8,'flipY':_0x38fcba}),_0x3406e9=_0x31c694?_0x18932c[_0x18932c[_0x6255a3(0x424)]-0x1]:_0x18932c[0x0],_0x64ab0a=_0x527d10['localToWorld'](_0x3406e9),_0x496045=_0x2f5cd5[_0x6255a3(0x36f)](_0x64ab0a,_0x5ed80f[_0x6255a3(0x120)],!_0x31c694);_0x153839[_0x6255a3(0x36b)]({'flipX':_0x496045[_0x6255a3(0x29f)]['flipX'],'flipY':_0x496045[_0x6255a3(0x29f)]['flipY'],'left':_0x496045[_0x6255a3(0x29f)][_0x6255a3(0x17a)],'top':_0x496045['worldRect'][_0x6255a3(0x408)],'width':_0x496045[_0x6255a3(0x29f)][_0x6255a3(0x41c)],'height':_0x496045[_0x6255a3(0x29f)][_0x6255a3(0x19e)],'angle':_0x496045[_0x6255a3(0x29f)]['angle']}),_0x153839[_0x6255a3(0x28b)](!0x0);}[_0xb24152(0x212)](){const _0x7077b4=_0xb24152;this[_0x7077b4(0x4a8)][_0x7077b4(0x424)]!==0x0&&(this[_0x7077b4(0x4a8)][_0x7077b4(0x4fa)](_0x438497=>{_0x438497['dispose']();}),this[_0x7077b4(0x4a8)]=[]);}[_0xb24152(0x46c)](){const _0x5f2916=_0xb24152;let _0x3f7bab=this[_0x5f2916(0x295)][_0x5f2916(0x1ea)](_0xc8ef66[_0x5f2916(0x1c8)]);this['disposeWithMe'](_0x3f7bab['pipe'](_0x3b82eb(_0x1275f1=>_0x1275f1?_0x1275f1[_0x5f2916(0x1d1)][_0x5f2916(0x4e5)](_0x3b82eb(_0xd0a0d8=>{const _0xdee9f1=_0x5f2916;if(!_0xd0a0d8)return _0x3cbe4d;let _0xf02bdb=_0x1275f1[_0xdee9f1(0x1ad)](),_0x1768d1=this[_0xdee9f1(0x2b9)]['getRenderById'](_0xf02bdb),_0x53a3e1=_0x1768d1==null?void 0x0:_0x1768d1[_0xdee9f1(0x138)];return _0x53a3e1?_0x30147e(_0x53a3e1):_0x3cbe4d;})):_0x3cbe4d))[_0x5f2916(0x4c6)](_0x27a734=>{const _0x28c70b=_0x5f2916;let _0x485a48=_0x27a734[_0x28c70b(0x2af)]();this[_0x28c70b(0x292)](_0x27a734['onPointerMove$'][_0x28c70b(0x2c1)](_0x23b95f=>{const _0x37e27a=_0x28c70b;this['_isDrawingShapePointDown']&&this[_0x37e27a(0x13c)]&&this[_0x37e27a(0x212)]();})),this[_0x28c70b(0x292)](_0x485a48[_0x28c70b(0x302)][_0x28c70b(0x4c6)](_0x446b7b=>{const _0x3f2a92=_0x28c70b;let {objects:_0xe01ad3}=_0x446b7b;this['_clearShapeConnectorHandlerObjects'](),_0xe01ad3!==null&&_0xe01ad3[_0x3f2a92(0x487)]===0x1&&_0xe01ad3['values']()[_0x3f2a92(0x1c5)]()[_0x3f2a92(0x39a)]instanceof Ba&&(this['_isDrawingShapePointDown']=!0x0);})),this[_0x28c70b(0x292)](_0x485a48[_0x28c70b(0xf3)][_0x28c70b(0x4c6)](_0x11add7=>{const _0x2cc1cd=_0x28c70b;this[_0x2cc1cd(0x215)]&&this[_0x2cc1cd(0x212)]();})),this[_0x28c70b(0x292)](_0x27a734[_0x28c70b(0x2cd)][_0x28c70b(0x2c1)](()=>{const _0x100d21=_0x28c70b;this[_0x100d21(0x215)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x100d21(0x231)]());})),this[_0x28c70b(0x292)](_0x485a48[_0x28c70b(0x276)][_0x28c70b(0x4c6)](()=>{const _0x2b90ff=_0x28c70b;this[_0x2b90ff(0x337)]&&this[_0x2b90ff(0x3e7)]&&this[_0x2b90ff(0x13c)]&&this['_drawingManagerService']['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x2b90ff(0x3e7)],'drawingId':this[_0x2b90ff(0x13c)]})&&(this[_0x2b90ff(0x212)](),this['_addShapeConnectorHandlerObjects']());}));}));}[_0xb24152(0x20d)](){const _0x4d7509=_0xb24152;this[_0x4d7509(0x292)](this['_drawingManagerService'][_0x4d7509(0x1c3)]['subscribe'](_0x2f6906=>{const _0x123719=_0x4d7509;if(_0x2f6906[_0x123719(0x424)]===0x1){let _0x366e0b=_0x2f6906[0x0];if(_0x366e0b[_0x123719(0x1dd)]===_0x23b778[_0x123719(0x170)]){let _0x27fcad=this[_0x123719(0x288)][_0x123719(0x2ce)](_0x366e0b[_0x123719(0x371)],_0x366e0b[_0x123719(0x4a5)],_0x366e0b[_0x123719(0x428)]);if(_0x27fcad&&_0x59a416(_0x27fcad['getShapeType']())){this[_0x123719(0x13c)]=_0x366e0b[_0x123719(0x428)],this[_0x123719(0x337)]=_0x366e0b['unitId'],this[_0x123719(0x3e7)]=_0x366e0b[_0x123719(0x4a5)],this[_0x123719(0x212)](),this[_0x123719(0x231)]();return;}}}this[_0x123719(0x13c)]=void 0x0,this[_0x123719(0x337)]=void 0x0,this[_0x123719(0x3e7)]=void 0x0,this[_0x123719(0x212)]();})),this[_0x4d7509(0x292)](this[_0x4d7509(0x2a2)][_0x4d7509(0x12d)][_0x4d7509(0x4c6)](_0x1511c1=>{const _0x5c3fd7=_0x4d7509;if(_0x1511c1[_0x5c3fd7(0x424)]===0x1){var _0x276a92;let _0x31678d=_0x1511c1[0x0],_0x4fa846=(_0x276a92=this[_0x5c3fd7(0x2a2)][_0x5c3fd7(0x297)](_0x31678d))==null?void 0x0:_0x276a92[_0x5c3fd7(0x1dd)];_0x4fa846===_0x23b778[_0x5c3fd7(0x170)]&&_0x31678d[_0x5c3fd7(0x428)]===this[_0x5c3fd7(0x13c)]?(this[_0x5c3fd7(0x212)](),this[_0x5c3fd7(0x231)]()):!this[_0x5c3fd7(0x13c)]&&_0x4fa846===_0x23b778[_0x5c3fd7(0x170)]&&this['_handleBasicShapeUpdateConnectorLineShape'](_0x31678d[_0x5c3fd7(0x371)],_0x31678d[_0x5c3fd7(0x4a5)],_0x31678d[_0x5c3fd7(0x428)]);}})),this[_0x4d7509(0x292)](this[_0x4d7509(0x2a2)]['remove$']['subscribe'](_0x10fe30=>{const _0x390f6b=_0x4d7509;for(let _0x466dc7 of _0x10fe30){let {drawingId:_0x1830ac}=_0x466dc7;if(this[_0x390f6b(0x13c)]===_0x1830ac){this[_0x390f6b(0x358)]();return;}}}));}[_0xb24152(0x135)](_0x11a53a,_0x4e6ab1,_0x597889,_0x18ab99,_0x447848){const _0x3e983b=_0xb24152;var _0xdc753e,_0x3ee3b2;if(!this[_0x3e983b(0x1a9)])return;let _0x2c4b79=this[_0x3e983b(0x209)](_0x11a53a);if(!_0x2c4b79)return;let _0x185f2b=this[_0x3e983b(0x1c7)]?this[_0x3e983b(0x1c7)][_0x3e983b(0x1ac)]:_0x4e6ab1,_0x232110=this[_0x3e983b(0x1c7)]?this[_0x3e983b(0x1c7)]['angle']:this[_0x3e983b(0x392)](_0x2c4b79[_0x3e983b(0x120)],_0x185f2b),_0x15f85f;if(this[_0x3e983b(0x1c7)]){let _0x2ac1c6=this[_0x3e983b(0x2a2)][_0x3e983b(0x297)]({'unitId':this[_0x3e983b(0x1c7)]['unitId'],'subUnitId':this[_0x3e983b(0x1c7)][_0x3e983b(0x4a5)],'drawingId':this[_0x3e983b(0x1c7)][_0x3e983b(0x440)]});if(_0x2ac1c6!=null&&_0x2ac1c6['transform']){let {left:_0x5c5e8d=0x0,top:_0x392981=0x0,width:_0x15a89a=0x0,height:_0x48a5e8=0x0,angle:_0x184c52}=_0x2ac1c6[_0x3e983b(0x1e4)];_0x15f85f=_0x141ee0({'left':_0x5c5e8d,'top':_0x392981,'width':_0x15a89a,'height':_0x48a5e8},_0x184c52||0x0);}else _0x15f85f={'left':_0x185f2b['x'],'top':_0x185f2b['y'],'width':0x0,'height':0x0};}else _0x15f85f={'left':_0x185f2b['x'],'top':_0x185f2b['y'],'width':0x0,'height':0x0};let _0x9c9bed={'point':_0x185f2b,'angle':_0x232110,'bounds':_0x15f85f},_0x47b29b=_0x597889?_0x9c9bed:_0x2c4b79,_0x2130e9=_0x597889?_0x2c4b79:_0x9c9bed,_0x2031a8=this[_0x3e983b(0x1a9)][_0x3e983b(0xf9)](),_0x2e63f2=_0x2a8f13(_0x47b29b,_0x2130e9,_0x2031a8);_0x2e63f2&&this[_0x3e983b(0x1a9)][_0x3e983b(0x490)](_0x2e63f2);let _0x452b51=_0x2ef101(_0x2e63f2,_0x2031a8);_0x452b51['lineType']!==_0x2031a8&&this[_0x3e983b(0x1a9)][_0x3e983b(0x284)](_0x452b51[_0x3e983b(0x301)]);for(let [_0xbe3c7,_0x531d2b]of Object[_0x3e983b(0x45a)](_0x452b51['adjustValues']))this[_0x3e983b(0x1a9)][_0x3e983b(0x2a5)](_0xbe3c7,_0x531d2b);this[_0x3e983b(0x1a9)][_0x3e983b(0x37f)]({'width':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x41c)],'height':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x19e)]}),_0x18ab99['transformByState']({'flipX':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x366)],'flipY':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x405)],'left':_0x452b51[_0x3e983b(0x29f)]['left'],'top':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x408)],'width':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x41c)],'height':_0x452b51[_0x3e983b(0x29f)][_0x3e983b(0x19e)],'angle':_0x452b51[_0x3e983b(0x4ab)]}),_0x18ab99[_0x3e983b(0x28b)](!0x0);let _0x5bb455=(_0xdc753e=(_0x3ee3b2=this[_0x3e983b(0x1c7)])==null?void 0x0:_0x3ee3b2[_0x3e983b(0x1ac)])==null?_0x4e6ab1:_0xdc753e;_0x447848[_0x3e983b(0x36b)]({'left':_0x5bb455['x']-_0x2dd83f['cxnPointRadius'],'top':_0x5bb455['y']-_0x2dd83f[_0x3e983b(0x495)]});}['_handleFreeEndpointMove'](_0x77c98b,_0x2f58f1,_0x43ea6c,_0x1b3369,_0x32401e){const _0x442301=_0xb24152;var _0x3b90f9,_0xacc85e,_0x46b9bf,_0x17cff4;let _0xd12347=(_0x3b90f9=(_0xacc85e=this['_currentConnectionTarget'])==null?void 0x0:_0xacc85e[_0x442301(0x1ac)])==null?_0x77c98b:_0x3b90f9,_0x41c6f0=_0x2f5cd5['computeConnectorResizeLayout'](_0x2f58f1,_0xd12347,_0x43ea6c);_0x1b3369[_0x442301(0x36b)]({'flipX':_0x41c6f0[_0x442301(0x29f)]['flipX'],'flipY':_0x41c6f0[_0x442301(0x29f)][_0x442301(0x405)],'left':_0x41c6f0[_0x442301(0x29f)][_0x442301(0x17a)],'top':_0x41c6f0['worldRect'][_0x442301(0x408)],'width':_0x41c6f0[_0x442301(0x29f)][_0x442301(0x41c)],'height':_0x41c6f0[_0x442301(0x29f)][_0x442301(0x19e)],'angle':_0x41c6f0[_0x442301(0x29f)][_0x442301(0xfe)]});let _0x1d0fb6=(_0x46b9bf=(_0x17cff4=this['_currentConnectionTarget'])==null?void 0x0:_0x17cff4[_0x442301(0x1ac)])==null?_0x77c98b:_0x46b9bf;_0x32401e[_0x442301(0x36b)]({'left':_0x1d0fb6['x']-_0x2dd83f[_0x442301(0x495)],'top':_0x1d0fb6['y']-_0x2dd83f[_0x442301(0x495)]});}[_0xb24152(0x209)](_0x5ea3d1){const _0x17406f=_0xb24152;if(!this['_unitId']||!this[_0x17406f(0x3e7)])return null;let {shapeId:_0x5ce47c,cxnIndex:_0xe86f6b}=_0x5ea3d1,_0x494eec=this[_0x17406f(0x288)][_0x17406f(0x2ce)](this[_0x17406f(0x337)],this['_subUnitId'],_0x5ce47c);if(!_0x494eec)return null;let _0x260b99=this['_drawingManagerService'][_0x17406f(0x297)]({'unitId':this[_0x17406f(0x337)],'subUnitId':this[_0x17406f(0x3e7)],'drawingId':_0x5ce47c});if(!(_0x260b99!=null&&_0x260b99[_0x17406f(0x1e4)]))return null;let {left:_0x17ab85=0x0,top:_0x3b026d=0x0,width:_0x17a968=0x0,height:_0x5c3470=0x0,flipX:_0x39733b=!0x1,flipY:_0x1ccb4f=!0x1,angle:_0x3ad83f}=_0x260b99['transform'];_0x494eec[_0x17406f(0x37f)]({'width':_0x17a968,'height':_0x5c3470});let _0x121782=_0x494eec[_0x17406f(0x164)]()['find'](_0x256820=>_0x256820['index']===_0xe86f6b);if(!_0x121782)return null;let _0x46d927=_0x39733b?_0x17a968-_0x121782['x']:_0x121782['x'],_0x2f2481=_0x1ccb4f?_0x5c3470-_0x121782['y']:_0x121782['y'];if(_0x3ad83f!==0x0&&_0x3ad83f!=null){let _0x22a441=_0x3ad83f*Math['PI']/0xb4,_0x1ef9d0=Math[_0x17406f(0x1af)](_0x22a441),_0x51b0a8=Math[_0x17406f(0x12f)](_0x22a441),_0x60551b=_0x17a968/0x2,_0x27766d=_0x5c3470/0x2,_0x471c1=_0x46d927-_0x60551b,_0x1eb29b=_0x2f2481-_0x27766d;_0x46d927=_0x60551b+_0x471c1*_0x1ef9d0-_0x1eb29b*_0x51b0a8,_0x2f2481=_0x27766d+_0x471c1*_0x51b0a8+_0x1eb29b*_0x1ef9d0;}_0x46d927+=_0x17ab85,_0x2f2481+=_0x3b026d;let _0x4e8668=_0x121782[_0x17406f(0x38c)]/0xea60;_0x39733b&&(_0x4e8668=0xb4-_0x4e8668),_0x1ccb4f&&(_0x4e8668=-_0x4e8668),_0x4e8668+=_0x3ad83f||0x0,_0x4e8668=(_0x4e8668%0x168+0x168)%0x168;let _0x207cc7=_0x141ee0({'left':_0x17ab85,'top':_0x3b026d,'width':_0x17a968,'height':_0x5c3470},_0x3ad83f||0x0);return{'point':{'x':_0x46d927,'y':_0x2f2481},'angle':_0x4e8668,'bounds':_0x207cc7};}[_0xb24152(0x392)](_0x50a2b5,_0x2dafd0){const _0x314e7f=_0xb24152;let _0x2cad0e=_0x2dafd0['x']-_0x50a2b5['x'],_0x585ebd=_0x2dafd0['y']-_0x50a2b5['y'];return Math[_0x314e7f(0x2e5)](_0x2cad0e)>=Math['abs'](_0x585ebd)?_0x2cad0e>=0x0?0xb4:0x0:_0x585ebd>=0x0?0x10e:0x5a;}[_0xb24152(0x358)](){const _0x2447cf=_0xb24152;this[_0x2447cf(0x13c)]=void 0x0,this[_0x2447cf(0x337)]=void 0x0,this[_0x2447cf(0x3e7)]=void 0x0,this[_0x2447cf(0x212)]();}[_0xb24152(0x3fd)](){const _0xab8bc4=_0xb24152;this[_0xab8bc4(0x212)](),super[_0xab8bc4(0x3fd)]();}};function _0x2680(){const _0x260320=['_shapeId','_registerComponents','isStartConnectorPoint','ShapeStar6Icon','reduce','_iconManager','sheets-shape-ui.shape.type.accent-callout3','dispose','_createShapePopupMenu','_drawingAddListener','ShapeMathMultiplyIcon','_editingParams$','PieWedge','custom','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','flipY','registerClipDelegate','sheets-shape-ui.shape.type.gear6','top','_drawRichText','sheets-shape-ui.shape.type.star16','BorderCallout2','SHAPE','localeService','sheets-shape-ui.shape.type.bent-connector3','ShapeDiamondIcon','getCurrentLastSelection','Plus','527370enEmeN','sheets-shape-ui.shape.type.action-button-home','initShapePopupMenu','other','computeStraightConnectorLayout','ShapeMathMinusIcon','ShapeActionButtonBeginningIcon','sheets-shape-ui.rotateLeft90','_context','_generateCutPasteMutations','width','ShapeStar4Icon','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_baseWidth','_createShapeAdjustControls','_registerMoveHandler','beforeCommandExecuted','onDblclick$','length','Round2SameRect','addClipboardHook','adjHandleFill','drawingId','FromArray','LeftRightRibbon','_hasReset','setFillImage','START','refreshTransform','_menuManagerService','ShapeActionButtonBlankIcon','_activeTargetShapeId','sheets-shape-ui.shape.type.left-brace','setContextValue','_sheetInterceptorService','sheets-shape-ui.toolbar.verticalAlignMode.main','setOnSavingEditorData','sheets-shape-ui.shape.type.moon','getAdjustInfoByName','Large','sheets-shape-ui.shape.type.wedge-rect-callout','ShapeRightBracketIcon','ShapeLeftRightArrowIcon','objects','sheets-shape-ui.shape.type.border-callout2','sheets-shape-ui.shape.type.math-equal','shapeId','_updateTransform','_clipService','RightTriangle','_config','ShapeRtTriangleIcon','ShapeStar32Icon','TOP','_baseShapeHeight','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','_registerImageShapeClipDelegate','getAdjustNames','_drawingType','image-clip-adjust-point-','getConnectorLinePoints','sheets-shape-ui.hidePanel','ShapeActionButtonReturnIcon','Path','_registerOperations','FlowchartOr','_getZoomRatio','_updateAdjustControlPositions','constructor','sheets-shape-ui.shape.type.bracket-pair','Donut','scale','entries','ShapeFlowChartOrIcon','LeftJustifyingIcon','multiply','HomePlate','sheets-shape-ui.shape.type.up-down-arrow-callout','ShapeSquareTabsIcon','FlowchartPunchedTape','sheets-shape-ui.shape.type.curved-left-arrow','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','FlowchartSort','sheets-shape-ui.shape.type.star4','ShapeFlowChartDocumentIcon','getZoomRatio','RightBracket','ShapeStar12Icon','DEFAULT','BentConnector3','_registerDrawingMoveHandler','REMOVE','SmileyFace','gdRefAng','sheets-shape-ui.shape.type.flow-chart-display','sheets-shape-ui.shape.type.down-arrow-callout','_initEvents','Parallelogram','_initSheetChange','sheets-shape-ui.shape.type.curved-connector3-arrow1','EllipseRibbon','IrregularSeal1','drawing.operation.set-drawing-active','sheets-shape-ui.shape.type.ellipse-ribbon2','sheets-shape-ui.shape.type.flow-chart-online-storage','setCanUseShapeClip','FlowchartMagneticTape','ShapeLeftRightArrowCalloutIcon','getShapeTextData','updateShapeFillImage','LEFT','ShapeBorderCallout1Icon','_cxtHandlerPointerMove','_props','@univerjs-pro/sheets-shape-ui','ShapeIrregularSeal1Icon','FlowchartDisplay','size','DiagStripe','getEditing','from','clip-adj-','getConnectionRelation','getBatchUpdateOp','doc','_baseHeight','updateLinePoints','slice','sheets-shape-ui.shape.type.horizontal-scroll','sheets-shape-ui.shape.type.right-brace','_sheetDrawingService','cxnPointRadius','3697371EOAeKv','onSteady','ShapeBracePairIcon','sectionBreaks','AlignBottomIcon','object','getDrawingSearch','FlowchartMerge','getInverseCoord','sheets-shape-ui.shape.type.action-button-movie','clip-','getImage','ShapeChordIcon','_handleConnectedEndpointPointerUp','ShapeStar7Icon','subUnitId','remove$','getOwnPropertyDescriptor','_connectorObjects','Chevron','sheets-shape-ui.shape.type.wedge-ellipse-callout','rotation','LeftRightArrow','ShapeTriangleIcon','some','BlockArc','documentStyle','invert','_baseLeft','RightJustifyingIcon','UpArrow','get','_attachAdjustEvent','ShapeRibbonIcon','ShapeUpArrowCalloutIcon','ShapeLeftRightCircularArrowIcon','sheets-shape-ui.shape.type.funnel','_transformCalculateSrcRect','ShapeArcIcon','ShapeFlowChartPredefinedProcessIcon','_localeService','group','sheets-shape-ui.shape.type.math-minus','sheets-shape-ui.shape.type.accent-callout1','_getSceneAndTransformerByDrawingSearch','attachPopupToObject','paragraphStyle','_initMenu','subscribe','UUID','sheets-shape-ui.shape.type.curved-up-arrow','sheets-shape-ui.shape.type.arc','normal','sheets-shape-ui.shape.type.left-right-circular-arrow','sheets-shape-ui.shape.type.diamond','setShapeProps','Image','register','basicShape','sheets-shape-ui.shape.type.circular-arrow','sheets-shape-ui.shape.type.left-circular-arrow','MathEqual','worldPoints','snapToGrid','ShapeDownArrowIcon','getRealBound','sheets-shape-ui.shape.type.chevron','fillImageSource','BracketPair','sheets-shape-ui.shape.type.action-button-document','sheets-shape-ui.shape.type.pie','ShapeStar16Icon','getDrawingOKey','sheets-shape-ui.shape.type.chart-x','sheets-shape-ui.shape.type.right-bracket','toPrimitive','sheets-shape-ui.shape.type.dodecagon','ShapeCurvedConnector3Arrow1Icon','FlowchartInternalStorage','pipe','getParent','sheets-shape-ui.shape.group.','ShapeLeftBracketIcon','ShapeCurvedConnector3Arrow2Icon','HorizontallyIcon','DEFAULT_PASTE','ShapeMathDivideIcon','sheets-shape-ui.rotateRight90','FlowchartManualOperation','URL','FALSE','ShapeLeftBraceIcon','Line','Star24','shapeText','activeAnObject','RoundRect','sheets-shape-ui.shape.type.decagon','_cxnIndex','_shapeUpdateListener','forEach','VerticalScroll','clipByShape','onRendered','ShapeWedgeEllipseCalloutIcon','BUTTON_SELECTOR','isLineShape','_transform','start','setShouldShowAdjust','isRichText','getShapeTypeById','ShapeBevelIcon','_initEditingParams','sheets-shape-ui.align.bottom','sheets-shape-ui.shape.type.flow-chart-terminator','_sheetDrawingShapeRenderController','FlowChartInputOutput','changing$','UpArrowCallout','Snip2SameRect','_baseShapeTop','_loadShapePictureFill','floor','getShapeType','Triangle','ShapeFlowChartProcessIcon','sheets-shape-ui.shape.type.smiley-face','create','angle','NotchedRightArrow','isHitLine','_shapeEditPanelVersion','copyType','6SOZHwb','ShapeRectIcon','Star5','Gear9','sheets-shape-ui.shape.type.action-button-information','clearAdjustValue','render','setShapeData','popup','EllipseRibbon2','ShapeStripedRightArrowIcon','CUT','MathMultiply','bind','_onSavingEditorData$','renderConfig','Star4','filter','sheets-shape-ui.shape.type.action-button-beginning','preValue','_baseDrawingRect','values','sheets-shape-ui.toggleTextVertical','ActionButtonForwardNext','ShapeCubeIcon','sheets-shape-ui.shape.type.block-arc','onload','getMatrix','_adjHandlerPointerMove','point','viewBound','_activeShapeAdjustPointList','sheetViewStartColumn','sheets-shape-ui.shape.type.bent-connector3-arrow1','ShapeActionButtonSoundIcon','ShapeCallout2Icon','ShapeFlowChartMergeIcon','_getImagePrstGeom','prstGeom','_commandService','ShapeLeftRightUpArrowIcon','isHit','update$','sheets-shape-ui.toolbar.resetColor','sin','ShapePlaqueTabsIcon','getEndConnectInfo','sheets-shape-ui.shape.type.irregular-seal1','fillImageSourceType','Rect','_handleConnectedEndpointMove','ShapeLeftRightRibbonIcon','targetShapeId','scene','CROSSHAIR','ChartStar','_addShapeAdjustControl','_activeShapeId','resetCursor','sheets-shape-ui.insertShape','version','FlowchartOffPageConnector','Octagon','viewportScrollX','ShapeRoundRectIcon','ActionButtonBackPrevious','CloudCallout','draw','setCursor','getFocusDrawings','Ribbon','sheets-shape-ui.formatShape','Heptagon','ShapeFlowChartInputOutputIcon','UPDATE','FlowchartMagneticDrum','_getImageDrawingInfo','addObject','unsubscribe','Teardrop','adjustValues','RightBrace','getStartConnectInfo','_injector','sheets-shape-ui.shape.type.star7','ShapeSnipRoundRectIcon','_sheetSkeletonService','FlowchartSummingJunction','_initCommands','onTransformChange$','applyPoint','sheets-shape-ui.shape.type.left-bracket','ShapeAccentBorderCallout3Icon','WedgeEllipseCallout','_activeAdjustPointList','ShapeRound2DiagRectIcon','_initCopyPaste','getConnectionSiteList','ShapePentagonIcon','ShapeAccentCallout2Icon','sheets-shape-ui.shape.type.flow-chart-punched-tape','sheets-shape-ui.shape.type.left-right-up-arrow','startX','vertical','INSERT','sheets-shape-ui.shape.type.double-wave','ActionButtonHelp','Callout1','sheetViewStartRow','DRAWING_SHAPE','3202236plWWyh','sheets-shape-ui.shape.type.flow-chart-punched-card','ShapeFrameIcon','getDrawingEditable','calculate','ShapeActionButtonDocumentIcon','ShapeDodecagonIcon','adjName','ShapeMoonIcon','left','ShapeCornerTabsIcon','parse','clone','ShapeNoSmokingIcon','disableShapeOption','_groupCopyPasteController','_drawSimpleText','sheets-shape-ui.shape.type.flow-chart-internal-storage','ShapeNotchedRightArrowIcon','sheet.command.set-shape-text-font-size','ShapeLeftUpArrowIcon','sheets-shape-ui.toggleFlipV','interceptCommand','ShapeFlowChartPunchedTapeIcon','SHAPE_TEXT','sheets-shape-ui.shape.type.left-right-arrow-callout','ActionButtonBeginning','sheets-shape-ui.shape.type.flow-chart-summing-junction','cxnPointStrokeWidth','ShapeFlowChartOfflineStorageIcon','WedgeRectCallout','sheets-shape-ui.shape.type.ellipse-ribbon','editingParams$','sheets-shape-ui.shape.type.rect-textbox-horizontal','sheets-shape-ui.shape.type.math-divide','icon','#bcbcbc','sheets-shape-ui.shape.type.accent-callout2','_cxtHandlerPointerUp','_showConnectionSites','onCommandExecuted','ShapeActionButtonHelpIcon','enableObjectsEvent','Medium','LeftRightArrowCallout','height','blockArrow','getDrawingOrder','sheets-shape-ui.shape.type.left-right-ribbon','sheets-shape-ui.shape.type.snip2-diag-rect','BorderCallout1','_executeConnectedRouteConnectionCommand','ShapeSnip2SameRectIcon','_addControl','sheets-shape-ui.shape.type.irregular-seal2','_findShapeAtPoint','_activeShapeModel','sheet.operation.close-sheet-shape-format-panel','ShapeLineIcon','worldPoint','getUnitId','sheets-shape-ui.shape.type.rect-textbox-vertical','cos','call','restore','redo','buildClipPath','getState','_copyInfo','sheets-shape-ui.shape.type.straight-connector2','sheets-shape-ui.shape.type.border-callout1','sheets-shape-ui.shape.type.left-right-arrow','ShapeTeardropIcon','CurvedRightArrow','ShapeLeftArrowCalloutIcon','sheets-shape-ui.shape.type.flow-chart-document','FlowchartTerminator','_sheetCanvasPopManagerService','ShapeStraightConnector2Icon','ShapeChartStarIcon','SolidLine','cxnIndex','focus$','sheets-shape-ui.shape.type.star24','next','connector-handler-','_currentConnectionTarget','UNIVER_SHEET','Star32','sheet.command.update-shape-data','attachTransformerTo','sheets-shape-ui.shape.type.callout2','_index','calcAdjValue','sheet.command.set-shape-text-font-size-decrease','Corner','activeSheet$','sheets-shape-ui.shape.type.plaque-tabs','LeftBracket','Plaque','sheets-shape-ui.shape.type.straight-connector1','FlowchartDocument','RIGHT','_initSelection','_findNearestConnectionSite','disableObjectsEvent','ShapeGear6Icon','spaceAbove','drawingType','sheets-shape-ui.shape.type.curved-down-arrow','sheets-shape-ui.shape.type.bent-arrow','Round2DiagRect','FlowchartExtract','setSrcRect','_clearConnectionSites','transform','_currentUniverService','sheets-shape-ui.shape.type.flow-chart-manual-operation','_closeShapeEditPanel','visible','sheets-shape-ui.shape.type.star5','getCurrentTypeOfUnit$','ShapeTrapezoidIcon','LeftCircularArrow','sheets-shape-ui.shape.type.flow-chart-multidocument','Star8','ShapeActionButtonMovieIcon','gdRefX','BentArrow','sheets-shape-ui.shape.type.snip2-same-rect','dataModel','getShapeTextRect','getShapeData','image','SwooshArrow','label','getBatchAddOp','sheets-shape-ui.shape.type.wave','body','sheets-shape-ui.shape.type.flow-chart-extract','sheets-shape-ui','getBatchRemoveOp','sheets-shape-ui.shape.type.flow-chart-input-output','sheets-shape-ui.shape.type.parallelogram','sheets-shape-ui.shape.type.flow-chart-preparation','NoSmoking','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','_shapes','sheets-shape-ui.shape.type.round1-rect','has','getFonts','getBasicShapeRelation','_getConnectPointInfo','registerFeatureMenu','ShapeGear9Icon','MIDDLE','_registerDrawingFocusChangeHandler','_getShapeInfo','ShapeStraightConnector1Icon','FlowchartProcess','isEditing','_clearShapeConnectorHandlerObjects','getSkeleton','_sidebarDisposable','_isDrawingShapePointDown','ShapeLeftCircularArrowIcon','LeftArrowCallout','_draw','NonIsoscelesTrapezoid','translateWithPrecision','line','Funnel','_lastEditingShapeKey','ShapeFlowChartAlternateProcessIcon','getValue','sheets-shape-ui.shape.type.up-arrow-callout','sheets-shape-ui.toolbar.horizontalAlignMode.main','gdRefY','sheets-shape-ui.shape.type.bevel','sheets-shape-ui.shape.type.right-arrow-callout','_sheetBasicShapeConnectionPointController','sheets-shape-ui.shape.type.action-button-end','Snip2DiagRect','permissionCheckWithoutRange','gridType','SolidFill','Bevel','Arrow','fill','error','add','ShapeAccentCallout3Icon','_addShapeConnectorHandlerObjects','sheets-shape-ui.shape.type.flow-chart-merge','zeroWidthParagraphBreak','rect','Arc','sheets-shape-ui.shape.type.square-tabs','clip','getConnectionInfo','ShapeRightArrowIcon','Callout3','sheets-shape-ui.shape.type.ellipse','offsetY','_isOpenedShapeEditPanel','set','sheetTransform','lineShapeId','Star16','_handleBasicShapeUpdateConnectorLineShape','_clearPopups','ShapeCloudCalloutIcon','translate','paragraphs','sheets-shape-ui.imagePanel.crop.shape','_executeConnectedRouteResizeCommand','UpDownArrow','ShapeFlowChartExtractIcon','ShapeDecagonIcon','_initializedShapePopupMenu','AccentBorderCallout2','ShapeWedgeRoundRectCalloutIcon','_targetShapeId','_draggingConnectorId','_init','Pentagon','sheets-shape-ui.shape.type.rt-triangle','_getScrollInfo','ShapeOctagonIcon','getContextValue','getUnit','Trapezoid','_activeAdjustInfo','3976795XdFPrq','ShapePlaqueIcon','ShapeRightBraceIcon','sheets-shape-ui.shape.type.striped-right-arrow','_generatePasteMutations','adjHandleStroke','sheets-shape-ui.shape.type.vertical-scroll','_attachConnectorObjectEvent','Pie','sheets-shape-ui.shape.type.chord','CircularArrow','HorizontalScroll','sheets-shape-ui.shape.type.flow-chart-alternate-process','AccentCallout2','prstGeomAdjValues','MathNotEqual','shapeModel','sheet.shape.edit.panel','sheets-shape-ui.shape.type.brace-pair','sheets-shape-ui.shape.type.chart-star','ShapeBentConnector3Icon','keys','pick','startArrow','setEditing','RightArrowCallout','sheets-shape-ui.shape.type.flow-chart-process','isHorizontal','changeEnd$','sheets-shape-ui.shape.type.rect','horizontal','ShapeFlowChartConnectorIcon','_updateShapeAdjustControls','startY','clearAdjustControls','type','sheet.command.set-shape-text-horizontal-align','sheets-shape-ui.shape.type.hexagon','FlowchartPredefinedProcess','_sheetClipboardService','_adjName','FlowchartPunchedCard','changeShapeType','DownArrow','_contextService','sheets-shape-ui.shape.type.flow-chart-collate','_sheetsShapeService','None','mergeMenu','makeDirty','sheets-shape-ui.shape.type.action-button-return','_handleFreeEndpointPointerUp','ShapeFlowChartDecisionIcon','ShapeAccentBorderCallout2Icon','ShapeSwooshArrowIcon','_disposePopups','disposeWithMe','MathMinus','refreshAdjustControls','_univerInstanceService','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','getDrawingByParam','_generateCopyPasteMutations','sheets-shape-ui.shape.type.flow-chart-predefined-process','_executeResizeCommand','sheets-shape-ui.shape.type.right-arrow','ShapeChartXIcon','Callout2','rectangle','worldRect','RightArrow','_popupMenuListener','_drawingManagerService','_createControls','registerCommand','setAdjustValueByName','_getShapeAdjustInfosById','ShapeHeartIcon','MathDivide','ShapeHomePlateIcon','_sidebarService','sheets-shape-ui.shape.type.accent-border-callout1','sheets-shape-ui.shape.type.pentagon','sheets-shape-ui.shape.type.line','LeftBrace','getTransformerByCreate','shapeData','sheets-shape-ui.shape.type.flow-chart-offline-storage','sheets-shape-ui.openPanel','StraightConnector1','viewportScrollY','function','getColorFromTheme','sqrt','_updateImageAdjValues','_renderManagerService','getRenderById','CENTER','SELECTOR','_isStartAdjusting','Snip1Rect','Diamond','Heart','subscribeEvent','_isShouldShowDrawingShapeAdjust','ShapeLightningBoltIcon','AlignTopIcon','sheets-shape-ui.shape.type.corner-tabs','ShapeDiagStripeIcon','_imageIoService','setConfig','_insertShapes','sheets-shape-ui.align.left','ShapeRectTextboxHorizontalIcon','getImageSourceCache','onPointerUp$','getShapeModel','_imageShapeClipController','sheets-shape-ui.shape.type.corner','getAdjustValueByName','indexOf','_clearShapeAdjustControls','sheets-shape-ui.shape.type.round2-same-rect','renderDrawingShape','SnipRoundRect','ShapeIrregularSeal2Icon','ShapePieWedgeIcon','sheets-shape-ui.shape.type.math-plus','equationShape','_initialize','sheets-shape-ui.shape.type.ribbon','ShapeActionButtonInformationIcon','ShapeFlowChartMagneticDrumIcon','Star7','LeftArrow','2fdUIkR','subscribeContextValue$','oKey','default','abs','DRAWING_IMAGE','_getShapeAdjustPointListById','classType','index','callout','Moon','sheets-shape-ui.shape.type.snip1-rect','LightningBolt','relation','sheets-shape-ui.shape.type.quad-arrow-callout','sheets-shape-ui.shape.type.frame','ShapeWedgeRectCalloutIcon','map','ShapeBentConnector3Arrow2Icon','FlowchartDecision','ShapeUpArrowIcon','_shapeService','isHighlighted','_addShapeConnectorHandlerObject','syncExecuteCommand','_createCopyInfoByRange','ShapeFlowChartPunchedCardIcon','LeftUpArrow','name','Frame','ActionButtonReturn','gdRefR','lineType','changeStart$','ShapeMathPlusIcon','isDrawingObject','getObjectIncludeInGroup','Dodecagon','sheets-shape-ui.shape.type.curved-connector3','_registerShapeMenu','shapeType','ShapeUpDownArrowCalloutIcon','updateConnectionDetection','iterator','CurvedDownArrow','ShapeDonutIcon','_getOrCreateShapeModel','ShapeStar24Icon','sheets-shape-ui.shape.type.snip-round-rect','srcRect','ShapeStar8Icon','open','ShapeQuadArrowIcon','_shapeTextEditingService','onPointerDown$','getCurrentScrollState','sheets-shape-ui.align.center','Hexagon','stopPropagation','setPrstGeom','getDrawingVisible','complete','IrregularSeal2','SHEET_SHAPE_UI_PLUGIN','MEDIA','shape-adjust-point-','ShapeFlowChartMagneticDiskIcon','UpDownArrowCallout','AccentBorderCallout1','registerRenderModule','ShapeBentConnector3Arrow1Icon','ShapeCurvedRightArrowIcon','isRenderLinePointsMode','WRAP','sheets-shape-ui.shape.type.round-rect','ShapeTextEditorContainer','16JWrFCV','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','sheets-shape-ui.shape.type.triangle','ShapeRound1RectIcon','sheets-shape-ui.shape.type.star12','_handleFreeEndpointMove','dataStream','ShapeHorizontalScrollIcon','ShapeRectTextboxVerticalIcon','sheets-shape-ui.shape.type.home-plate','_unitId','ActionButtonInformation','sheets-shape-ui.shape.type.flow-chart-decision','QuadArrowCallout','_moveConnectorWithShape','fonts$','UNIVER_DOC','sheets-shape-ui.shape.type.down-arrow','endConnectionDetection','onPointerMove$','ancestorTransform','sheets-shape-ui.shape.type.action-button-help','ShapeStar10Icon','_resetState','Ribbon2','_isImagePointerDown','getDrawingData','adjHandleSize','strokeWidth','horizontalAlign','CurvedUpArrow','sheets-shape-ui.shape.type.accent-border-callout3','_isHighlighted','_registerIcons','ShapeMathNotEqualIcon','_drawShapeText','_sheetShapeAdjustController','sheets-shape-ui.shape.type.star10','ShapeBlockArcIcon','#FFFFFF','sheets-shape-ui.shape.type.action-button-sound','PictureFill','FlowchartConnector','_reset','verticalAlign','ShapeEllipseRibbon2Icon','CurvedLeftArrow','sheets-shape-ui.shape.type.up-down-arrow','ShapeAccentBorderCallout1Icon','sheets-shape-ui.shape.type.trapezoid','SquareTabs','_executeConnectionCommand','_drawingRenderService','ShapeWaveIcon','QuadArrow','sheets-shape-ui.shape.type.star32','sheets-shape-ui.align.middle','flipX','_adjHandlerPointerUp','_baseShapeLeft','ShapeCallout1Icon','_handleConnectorPointerUp','transformByState','starAndBanner','_setTransForm','ShapeChevronIcon','computeConnectorResizeLayout','_baseTop','unitId','sheets-shape-ui.shape.type.left-arrow','ActionButtonDocument','close','stroke','defineProperty','FlowchartAlternateProcess','executeCommand','getSheetBySheetId','getTransformer','setHighlighted','WedgeRoundRectCallout','ActionButtonMovie','_openShapeEditPanel','updateContext','_focusedDrawings','_rerouteConnectorLine','_sheetPermissionCheckController','ShapeCurvedConnector3Icon','_registerGroupFeaturePasteHook','CurvedConnector3','5690076NyJXzn','registerFeatureMenuOffset','symbol','sheets-shape-ui.shape.type.star6','ShapeEllipseIcon','univer-box-border\x20univer-px-4\x20univer-text-sm','ang','COMMAND','ShapeBracketPairIcon','offsetX','ShapeEllipseRibbonIcon','_updateSrcRectByTransform','_calculateFreeEndpointAngle','focusDrawing','with','_connectionSiteObjects','FORMAT','sheets-shape-ui.permission.editErr','sheets-shape-ui.shape.type.math-not-equal','_getConnectionSiteAngle','value','LeftRightUpArrow','ActionButtonEnd','isInGroup','ShapeBentArrowIcon','top-center','_baseShapeWidth','drawWith','shape-text-','ShapeFlowChartManualOperationIcon','_componentManager','_activeImageId','string','sheets-shape-ui.shape.type.flow-chart-manual-input','AccentCallout1','FlowchartCollate','sheets-shape-ui.shape.type.donut','_highlightedSiteIndex','_isConnecting','push','22DZabDv','VIEW_MAIN','getDrawingPoints','sheets-shape-ui.shape.type.left-arrow-callout','sheets-shape-ui.shape.type.left-up-arrow','sheets-shape-ui.shape.type.cloud-callout','asObservable','VIEW_MAIN_LEFT','_isStartConnectorPoint','ShapeActionButtonBackPreviousIcon','packageName','OPERATION','onReady','sheets-shape-ui.shape.type.callout1','sheets-shape-ui.shape.type.bent-up-arrow','div','VIEW_MAIN_LEFT_TOP','find','transformForAngle','sheets-shape-ui.shape.type.flow-chart-connector','flowchart','3059916rrugGz','ShapeActionButtonForwardNextIcon','extraProps','localToWorld','LeftRightCircularArrow','cxnPointStroke','shapeKey','sheet.shape.floating-toolbar','getSkeletonParam','_getDrawingRect','LineInv','1680496lmlfHL','getObject','sheets-shape-ui.shape.type.border-callout3','DoubleWave','stringify','params','ActionButtonBlank','Star12','_configService','ShapeFlowChartMultidocumentIcon','_currentScene','sheets-shape-ui.align.top','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ShapeHexagonIcon','ShapeUpDownArrowIcon','GROUP','sheets-shape-ui.shape.type.cube','ShapeFlowChartCollateIcon','sheets-shape-ui.shape.type.folder-corner','AccentCallout3','endArrow','ShapeBorderCallout3Icon','ChartX','save','getCurrentSkeleton','_subUnitId','sheets-shape-ui.shape.type.no-smoking','ShapeFlowChartInternalStorageIcon','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','_activeShapeInfo','sheets-shape-ui.shape.type.round2-diag-rect','_clearControls','_registerFocusChangeHandler','1.0.0-alpha.1','ShapeCircularArrowIcon','BUTTON','_loadAndSetImage','ShapeRound2SameRectIcon','PlaqueTabs','ShapePieIcon'];_0x2680=function(){return _0x260320;};return _0x2680();}Oo=X([Y(0x1,_0x5e6bce),Y(0x2,_0x2dae0a),Y(0x3,_0x1f7427),Y(0x4,_0x3dd1dc),Y(0x5,_0x4429c1(_0x2acfb5)),Y(0x6,_0x4429c1(Ha)),Y(0x7,_0x4429c1(To))],Oo);let ko=class extends _0x1fdd93{constructor(_0x586f51,_0x2d62f6,_0x59de74){const _0x25d722=_0xb24152;super(),this[_0x25d722(0x12a)]=_0x586f51,this['_localeService']=_0x2d62f6,this[_0x25d722(0x382)]=_0x59de74,this['_initPermission']();}['_initPermission'](){const _0x36e76f=_0xb24152;this[_0x36e76f(0x292)](this[_0x36e76f(0x12a)][_0x36e76f(0x422)](_0x379b37=>{const _0x3975cc=_0x36e76f;let _0x555ac9,_0xd97669;if(_0x379b37['id']===_0xe2fd8c['id']||_0x379b37['id']===_0x2daa49['id']||_0x379b37['id']===_0x295562['id']){let _0x3fa7b6=_0x379b37[_0x3975cc(0x3d3)];_0x555ac9=_0x3fa7b6['unitId'],_0xd97669=_0x3fa7b6[_0x3975cc(0x4a5)];}!_0x555ac9||!_0xd97669||this['_sheetPermissionCheckController'][_0x3975cc(0x228)]({'workbookTypes':[_0x1f0293],'worksheetTypes':[_0x703eb3]},_0x555ac9,_0xd97669)||this['_sheetPermissionCheckController']['blockExecuteWithoutPermission'](this[_0x3975cc(0x4be)]['t'](_0x3975cc(0x397)));}));}};ko=X([Y(0x0,_0x4429c1(_0x5e6bce)),Y(0x1,_0x4429c1(_0x46ddff)),Y(0x2,_0x4429c1(_0x478e3c))],ko);let $=class extends _0xfd2081{constructor(_0x500689=so,_0x5d6997,_0x332d78,_0x5d60f9,_0x10b2ef){const _0xb7474f=_0xb24152;super(),this[_0xb7474f(0x444)]=_0x500689,this[_0xb7474f(0x156)]=_0x5d6997,this[_0xb7474f(0x12a)]=_0x332d78,this['_configService']=_0x5d60f9,this[_0xb7474f(0x2b9)]=_0x10b2ef;let {..._0x3b4555}=_0x19b1f3({},so,this['_config']);this[_0xb7474f(0x3d6)][_0xb7474f(0x2c8)]('sheets-shape-ui.config',_0x3b4555),this[_0xb7474f(0x15b)]();}[_0xb24152(0x4fd)](){const _0x23425e=_0xb24152;_0x1ecec8(this[_0x23425e(0x156)],[[Q],[co],[Z]]);}[_0xb24152(0x497)](){const _0xf440f4=_0xb24152;this[_0xf440f4(0x156)][_0xf440f4(0x4b5)](Q)['initShapePopupMenu']();}[_0xb24152(0x3ba)](){const _0x5d4d4e=_0xb24152;[[To],[Ha],[Eo]][_0x5d4d4e(0x4fa)](_0x5ddd37=>this[_0x5d4d4e(0x156)][_0x5d4d4e(0x22f)](_0x5ddd37)),_0x1ecec8(this['_injector'],[[Eo]]),this[_0x5d4d4e(0x2b9)][_0x5d4d4e(0x326)](_0xc8ef66[_0x5d4d4e(0x1c8)],[To]),this[_0x5d4d4e(0x2b9)][_0x5d4d4e(0x326)](_0xc8ef66[_0x5d4d4e(0x1c8)],[Ha]),this['_renderManagerService'][_0x5d4d4e(0x326)](_0xc8ef66[_0x5d4d4e(0x1c8)],[vo]),this[_0x5d4d4e(0x2b9)]['registerRenderModule'](_0xc8ef66[_0x5d4d4e(0x1c8)],[Oo]),this[_0x5d4d4e(0x2b9)][_0x5d4d4e(0x326)](_0xc8ef66['UNIVER_SHEET'],[bo]),this['_renderManagerService']['registerRenderModule'](_0xc8ef66[_0x5d4d4e(0x33d)],[So]);}['onStarting'](){const _0x43aa2a=_0xb24152;this['_injector'][_0x43aa2a(0x22f)]([_o]),this[_0x43aa2a(0x156)][_0x43aa2a(0x4b5)](_o);let _0x17c7fd=this[_0x43aa2a(0x156)];[[Q],[co],[Z],[K],[yo],[Za],[ko]][_0x43aa2a(0x4fa)](_0x5b4bdb=>_0x17c7fd[_0x43aa2a(0x22f)](_0x5b4bdb)),_0x1ecec8(this[_0x43aa2a(0x156)],[[Q],[co],[Z],[K],[yo],[Za],[ko]]);}[_0xb24152(0x15b)](){const _0x4dc00f=_0xb24152;[Wa,q,J,Ta,Ea,Oa,Da,Aa,ja,ka,Ua][_0x4dc00f(0x4fa)](_0xb4059b=>this['disposeWithMe'](this[_0x4dc00f(0x12a)][_0x4dc00f(0x2a4)](_0xb4059b)));}};G($,'type',_0xc8ef66[_0xb24152(0x1c8)]),G($,'pluginName',_0xb24152(0x320)),G($,_0xb24152(0x3b8),ao),G($,_0xb24152(0x13f),oo),$=X([_0x5cca95(_0x34ca0a,_0x585860),Y(0x1,_0x4429c1(_0x5cb6b8)),Y(0x2,_0x5e6bce),Y(0x3,_0xa171cd),Y(0x4,_0x2dae0a)],$);export{Ea as SetShapeTextFontSizeCommand,Oa as SetShapeTextFontSizeDecreaseCommand,Da as SetShapeTextFontSizeIncreaseCommand,Ta as SetShapeTextHorizontalAlignCommand,J as SetShapeTextVerticalAlignCommand,ka as ShapeDocAlignCommand,Q as SheetsShapeUIController,$ as UniverSheetsShapeUIPlugin,q as UpdateShapeDataCommand};