@univerjs-pro/docs-shape-ui 0.25.1 → 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 (108) 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.css +0 -491
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/components.controller.d.ts +9 -0
  63. package/lib/types/controllers/doc-shape-render.controller.d.ts +8 -1
  64. package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +4 -13
  65. package/lib/types/controllers/{docs-shape-ui.controller.d.ts → ui.controller.d.ts} +3 -4
  66. package/lib/types/index.d.ts +2 -2
  67. package/lib/types/locale/en-US.d.ts +1 -0
  68. package/lib/types/locale/types.d.ts +3 -0
  69. package/lib/types/plugin.d.ts +1 -1
  70. package/lib/types/views/ShapeOptions.d.ts +1 -5
  71. package/lib/types/views/ShapePicker.d.ts +2 -2
  72. package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
  73. package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +3 -4
  74. package/lib/types/views/shape-editor-panel/ShapeImageFillEditor.d.ts +1 -1
  75. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
  76. package/lib/types/views/shape-editor-panel/ShapePositionEditor.d.ts +1 -1
  77. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +2 -2
  78. package/lib/types/views/shape-menu/shape-menu-factory.d.ts +4 -3
  79. package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +1 -1
  80. package/lib/types/views/shape-text-editor/index.d.ts +1 -5
  81. package/lib/types/views/shapes.d.ts +8 -43
  82. package/lib/umd/index.js +1 -1
  83. package/lib/umd/locale/ar-SA.js +1 -1
  84. package/lib/umd/locale/ca-ES.js +1 -1
  85. package/lib/umd/locale/de-DE.js +1 -1
  86. package/lib/umd/locale/en-US.js +1 -1
  87. package/lib/umd/locale/es-ES.js +1 -1
  88. package/lib/umd/locale/fa-IR.js +1 -1
  89. package/lib/umd/locale/fr-FR.js +1 -1
  90. package/lib/umd/locale/id-ID.js +1 -1
  91. package/lib/umd/locale/it-IT.js +1 -1
  92. package/lib/umd/locale/ja-JP.js +1 -1
  93. package/lib/umd/locale/ko-KR.js +1 -1
  94. package/lib/umd/locale/pl-PL.js +1 -1
  95. package/lib/umd/locale/pt-BR.js +1 -1
  96. package/lib/umd/locale/ru-RU.js +1 -1
  97. package/lib/umd/locale/sk-SK.js +1 -1
  98. package/lib/umd/locale/vi-VN.js +1 -1
  99. package/lib/umd/locale/zh-CN.js +1 -1
  100. package/lib/umd/locale/zh-HK.js +1 -1
  101. package/lib/umd/locale/zh-TW.js +1 -1
  102. package/package.json +19 -18
  103. package/lib/types/views/shape-floating-toolbar/shape-floating-toolbar-utils.d.ts +0 -10
  104. package/lib/types/views/shape-text-editor/Editor.d.ts +0 -21
  105. package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
  106. package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -29
  107. /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
  108. /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x16f7f1=_0x165c;(function(_0x1c6f75,_0x19a97f){const _0x324a9a=_0x165c,_0x199884=_0x1c6f75();while(!![]){try{const _0x161712=-parseInt(_0x324a9a(0x181))/0x1+-parseInt(_0x324a9a(0x12c))/0x2+-parseInt(_0x324a9a(0xd5))/0x3*(parseInt(_0x324a9a(0x343))/0x4)+-parseInt(_0x324a9a(0x297))/0x5*(parseInt(_0x324a9a(0x31d))/0x6)+parseInt(_0x324a9a(0x246))/0x7+-parseInt(_0x324a9a(0x7b))/0x8*(-parseInt(_0x324a9a(0x3aa))/0x9)+parseInt(_0x324a9a(0xf0))/0xa*(parseInt(_0x324a9a(0x380))/0xb);if(_0x161712===_0x19a97f)break;else _0x199884['push'](_0x199884['shift']());}catch(_0x929f2b){_0x199884['push'](_0x199884['shift']());}}}(_0x51c8,0xd7a46));import{ImageFillModeEnum as _0x386b9c,ImageSourceTypeEnum as _0x4f40e5,ShapeArrowSizeEnum as _0x26aa78,ShapeArrowTypeEnum as _0x3b6f5e,ShapeDefaultConfig as _0x261a0a,ShapeFillEnum as _0xf0398b,ShapeGradientTypeEnum as _0x105550,ShapeLineCapEnum as _0x421d87,ShapeLineDashEnum as _0x4c732a,ShapeLineJoinEnum as _0x252f29,ShapeLineTypeEnum as _0xae9842,ShapeModel as _0xb587ab,ShapeRenderModeEnum as _0x5f1a62,ShapeSketchTypeEnum as _0x510a04,ShapeTypeEnum as _0x360129,isConnectorShape as _0x163121}from'@univerjs-pro/engine-shape';import{DEFAULT_DOC_SHAPE_HEIGHT as _0x136010,DEFAULT_DOC_SHAPE_WIDTH as _0x28e4c1,DocsShapeService as _0x3c18a4,InsertDocShapeMutation as _0x5b774d,UniverDocsShapePlugin as _0x21ce02,UpdateDocShapeDataCommand as _0x33f250,UpdateDocShapeDataMutation as _0x23d787}from'@univerjs-pro/docs-shape';import{BooleanNumber as _0x3ff23e,CommandType as _0x18e9d7,DependentOn as _0x285e89,Disposable as _0x19fa94,DocumentDataModel as _0x3f18c7,DrawingTypeEnum as _0x585e26,FOCUSING_COMMON_DRAWINGS as _0x3e9ae6,FOCUSING_PANEL_EDITOR as _0x1f4379,FOCUSING_SHAPE_TEXT_EDITOR as _0x5e6b88,HorizontalAlign as _0x2a6bb4,ICommandService as _0x24c807,IConfigService as _0x3728aa,IContextService as _0x23b81c,IURLImageService as _0x1df2be,IUniverInstanceService as _0x36e98e,Inject as _0x3bd34c,Injector as _0x1e326c,LocaleService as _0x3e881f,ObjectRelativeFromH as _0x416570,ObjectRelativeFromV as _0x2d86c6,Plugin as _0x13d786,PositionedObjectLayoutType as _0x32d8cc,RedoCommand as _0x1b8575,Tools as _0x4db755,UndoCommand as _0x316203,UniverInstanceType as _0x300c45,VerticalAlign as _0x3a5684,WrapStrategy as _0x461ec8,WrapTextType as _0x56329e,createInternalEditorID as _0x1f22f1,deepCompare as _0x1078d3,generateRandomId as _0x11ea93,merge as _0x24c354,registerDependencies as _0x38930a,toDisposable as _0x31e856,touchDependencies as _0x29a576}from'@univerjs/core';import{DocDrawingPosition as _0x2e2711,DocDrawingTextWrap as _0x120005,InsertDocDrawingCommand as _0x5b423a,RemoveDocDrawingCommand as _0x296298,UniverDocsDrawingUIPlugin as _0x537f21}from'@univerjs/docs-drawing-ui';import{AlignCenterCommand as _0x59ba4d,AlignJustifyCommand as _0x2be610,AlignLeftCommand as _0x2613c2,AlignRightCommand as _0x51f050,BreakLineCommand as _0x54ab39,BulletListCommand as _0xaef0c3,DOC_CONTENT_INSERT_MENU_ID as _0x2a68d0,DeleteLeftCommand as _0x4c4b49,DeleteRightCommand as _0x5b150f,DocCanvasPopManagerService as _0xf1857d,DocContentInsertService as _0x4d4d41,DocParagraphMenuService as _0x91b091,DocSelectAllCommand as _0x576632,DocSelectionRenderService as _0x3df34c,EMPTY_PARAGRAPH_MENU_ID as _0x3e710c,FLOAT_TEXT_STYLE_MENU_ID as _0x3aa219,FLOAT_TOOLBAR_MENU_POSITION as _0x3eddad,IEditorService as _0x517c94,INSERT_BELLOW_MENU_ID as _0x2b556e,OrderListCommand as _0x3096aa,SetInlineFormatBoldCommand as _0x16096e,SetInlineFormatFontSizeCommand as _0x2dfb96,SetInlineFormatItalicCommand as _0x212e5c,SetInlineFormatStrikethroughCommand as _0xe2b1ad,SetInlineFormatSubscriptCommand as _0x568fac,SetInlineFormatSuperscriptCommand as _0x1c97ec,SetInlineFormatTextBackgroundColorCommand as _0x5838fc,SetInlineFormatTextColorCommand as _0x419778,SetInlineFormatUnderlineCommand as _0x161b9f,VIEWPORT_KEY as _0x5c21fd,docDrawingPositionToTransform as _0x3b2189,useEditor as _0x5c4044,useIsFocusing as _0x51a539,useKeyboardEvent as _0x329f19,useLeftAndRightArrow as _0x5a01f6}from'@univerjs/docs-ui';import{CURSOR_TYPE as _0xfd9f8d,Circle as _0x1c07ce,DRAWING_OBJECT_LAYER_INDEX as _0x46d010,DocumentSkeleton as _0x588cb5,DocumentViewModel as _0x3852f2,Documents as _0x46389d,IRenderManagerService as _0x58e500,RENDER_CLASS_TYPE as _0x23d32c,Shape as _0x2e4afd,Transform as _0x2b1262,VERTICAL_ROTATE_ANGLE as _0x3f37de,Vector2 as _0xd45663}from'@univerjs/engine-render';import{IDrawingManagerService as _0x16de2e,IImageIoService as _0x5730e8,getDrawingShapeKeyByDrawingSearch as _0x131e54,getImageSize as _0x5c9263}from'@univerjs/drawing';import{AlignBottomIcon as _0x3e13f7,AlignTextBothIcon as _0x27a6fb,AlignTopIcon as _0x113044,BoldIcon as _0x2dab96,DeleteIcon as _0x202aa5,DocSettingIcon as _0x221ef2,FontColorDoubleIcon as _0x1bdced,HorizontallyIcon as _0x1991f2,ItalicIcon as _0xb896ab,LeftJustifyingIcon as _0xc727b7,MoreDownIcon as _0x2c89b4,PaintBucketDoubleIcon as _0x2f2907,RightJustifyingIcon as _0x371830,ShapeAccentBorderCallout1Icon as _0x29f127,ShapeAccentBorderCallout2Icon as _0x5c9b12,ShapeAccentBorderCallout3Icon as _0x261c00,ShapeAccentCallout1Icon as _0x178d55,ShapeAccentCallout2Icon as _0x35d771,ShapeAccentCallout3Icon as _0x3c4000,ShapeActionButtonBackPreviousIcon as _0x521246,ShapeActionButtonBeginningIcon as _0x42f38b,ShapeActionButtonBlankIcon as _0x18f7aa,ShapeActionButtonDocumentIcon as _0x1e038c,ShapeActionButtonEndIcon as _0x39428d,ShapeActionButtonForwardNextIcon as _0x3b940c,ShapeActionButtonHelpIcon as _0x1377e8,ShapeActionButtonHomeIcon as _0x838fc9,ShapeActionButtonInformationIcon as _0x243f3e,ShapeActionButtonMovieIcon as _0x2654b4,ShapeActionButtonReturnIcon as _0x28a9ab,ShapeActionButtonSoundIcon as _0x4a26ea,ShapeArcIcon as _0x369bf9,ShapeBentArrowIcon as _0x243bea,ShapeBentConnector3Arrow1Icon as _0x46f2f1,ShapeBentConnector3Arrow2Icon as _0x146dd5,ShapeBentConnector3Icon as _0x474760,ShapeBentUpArrowIcon as _0x22397e,ShapeBevelIcon as _0x5c3603,ShapeBlockArcIcon as _0x1d3f9c,ShapeBorderCallout1Icon as _0xbd8762,ShapeBorderCallout2Icon as _0x952c4a,ShapeBorderCallout3Icon as _0x5df820,ShapeBracePairIcon as _0xee0b0a,ShapeBracketPairIcon as _0x35a221,ShapeCallout1Icon as _0x3754ab,ShapeCallout2Icon as _0x5b6a97,ShapeCallout3Icon as _0x344e06,ShapeCanIcon as _0x45b82e,ShapeChartPlusIcon as _0xa460e6,ShapeChartStarIcon as _0x490b6c,ShapeChartXIcon as _0x3e0ee5,ShapeChevronIcon as _0x33e27d,ShapeChordIcon as _0x387448,ShapeCircularArrowIcon as _0x55a08d,ShapeCloudCalloutIcon as _0x563b4a,ShapeCloudIcon as _0x457171,ShapeCornerIcon as _0x3ba052,ShapeCornerTabsIcon as _0xc47ffe,ShapeCubeIcon as _0x55c926,ShapeCurvedConnector3Arrow1Icon as _0x40e942,ShapeCurvedConnector3Arrow2Icon as _0x3c7323,ShapeCurvedConnector3Icon as _0x2110ba,ShapeCurvedDownArrowIcon as _0x34651a,ShapeCurvedLeftArrowIcon as _0x25bd3b,ShapeCurvedRightArrowIcon as _0x8a30be,ShapeCurvedUpArrowIcon as _0x42a693,ShapeDecagonIcon as _0x44bfd7,ShapeDiagStripeIcon as _0x4cda0e,ShapeDiamondIcon as _0x133223,ShapeDodecagonIcon as _0x1cf0bb,ShapeDonutIcon as _0x250804,ShapeDoubleWaveIcon as _0x4f9b1d,ShapeDownArrowCalloutIcon as _0x40e1f6,ShapeDownArrowIcon as _0x314b68,ShapeEllipseIcon as _0x2aced2,ShapeEllipseRibbon2Icon as _0xcf2491,ShapeEllipseRibbonIcon as _0x594773,ShapeFlowChartAlternateProcessIcon as _0x5d1efa,ShapeFlowChartCollateIcon as _0x570937,ShapeFlowChartConnectorIcon as _0x2b2197,ShapeFlowChartDecisionIcon as _0x34054e,ShapeFlowChartDelayIcon as _0x405892,ShapeFlowChartDisplayIcon as _0xa54189,ShapeFlowChartDocumentIcon as _0x49dfb3,ShapeFlowChartExtractIcon as _0x7bdacd,ShapeFlowChartInputOutputIcon as _0x271cbc,ShapeFlowChartInternalStorageIcon as _0xde0804,ShapeFlowChartMagneticDiskIcon as _0x30cc5a,ShapeFlowChartMagneticDrumIcon as _0x30b25e,ShapeFlowChartMagneticTapeIcon as _0x3ffc05,ShapeFlowChartManualInputIcon as _0x5a921f,ShapeFlowChartManualOperationIcon as _0x2ca35f,ShapeFlowChartMergeIcon as _0x245e1d,ShapeFlowChartMultidocumentIcon as _0x28ef3c,ShapeFlowChartOfflineStorageIcon as _0x261cbb,ShapeFlowChartOffpageConnectorIcon as _0x3d8ff0,ShapeFlowChartOnlineStorageIcon as _0x3d40c4,ShapeFlowChartOrIcon as _0x35dbf2,ShapeFlowChartPredefinedProcessIcon as _0x3b831a,ShapeFlowChartPreparationIcon as _0x38aaeb,ShapeFlowChartProcessIcon as _0x483be0,ShapeFlowChartPunchedCardIcon as _0x5804b9,ShapeFlowChartPunchedTapeIcon as _0x1d9635,ShapeFlowChartSortIcon as _0x3e3c88,ShapeFlowChartSummingJunctionIcon as _0x108f73,ShapeFlowChartTerminatorIcon as _0x32fdd1,ShapeFolderCornerIcon as _0xa2d387,ShapeFrameIcon as _0x11b81b,ShapeFunnelIcon as _0x2ad0f7,ShapeGear6Icon as _0x541065,ShapeGear9Icon as _0x1899bc,ShapeHalfFrameIcon as _0x20f69f,ShapeHeartIcon as _0x56a847,ShapeHeptagonIcon as _0x49a95e,ShapeHexagonIcon as _0x365837,ShapeHomePlateIcon as _0x215f19,ShapeHorizontalScrollIcon as _0x110ecd,ShapeIcon as _0x13344d,ShapeIrregularSeal1Icon as _0x47e64c,ShapeIrregularSeal2Icon as _0x196d43,ShapeLeftArrowCalloutIcon as _0x9ac195,ShapeLeftArrowIcon as _0x109f16,ShapeLeftBraceIcon as _0x1728fc,ShapeLeftBracketIcon as _0x50b7b6,ShapeLeftCircularArrowIcon as _0x26ab12,ShapeLeftRightArrowCalloutIcon as _0x2c5c61,ShapeLeftRightArrowIcon as _0x51839c,ShapeLeftRightCircularArrowIcon as _0x34b35d,ShapeLeftRightRibbonIcon as _0x51e0c7,ShapeLeftRightUpArrowIcon as _0x211791,ShapeLeftUpArrowIcon as _0x164d07,ShapeLightningBoltIcon as _0xb887df,ShapeLineIcon as _0x1dd2a5,ShapeLineInvIcon as _0x20fc0b,ShapeMathDivideIcon as _0xf905ff,ShapeMathEqualIcon as _0x338a3f,ShapeMathMinusIcon as _0xbc2378,ShapeMathMultiplyIcon as _0x3b9cfe,ShapeMathNotEqualIcon as _0xa1bc6d,ShapeMathPlusIcon as _0x1f2973,ShapeMoonIcon as _0xab761b,ShapeNoSmokingIcon as _0x1335ad,ShapeNonIsoscelesTrapezoidIcon as _0xfd91,ShapeNotchedRightArrowIcon as _0x101fb2,ShapeOctagonIcon as _0x4ccfa,ShapeParallelogramIcon as _0x34cec9,ShapePentagonIcon as _0x581267,ShapePieIcon as _0x5d3215,ShapePieWedgeIcon as _0x3564e3,ShapePlaqueIcon as _0x3e65af,ShapePlaqueTabsIcon as _0x283544,ShapePlusIcon as _0x2c1745,ShapeQuadArrowCalloutIcon as _0x22b972,ShapeQuadArrowIcon as _0x18f5bf,ShapeRectIcon as _0x381cbf,ShapeRectTextboxHorizontalIcon as _0x169443,ShapeRectTextboxVerticalIcon as _0x553e23,ShapeRibbon2Icon as _0x2c3ad5,ShapeRibbonIcon as _0xeccb49,ShapeRightArrowCalloutIcon as _0x24e266,ShapeRightArrowIcon as _0x545feb,ShapeRightBraceIcon as _0x2a6cda,ShapeRightBracketIcon as _0x53f29c,ShapeRound1RectIcon as _0x23fc2d,ShapeRound2DiagRectIcon as _0x2abc57,ShapeRound2SameRectIcon as _0xcce73e,ShapeRoundRectIcon as _0x1ee94b,ShapeRtTriangleIcon as _0x3a2200,ShapeSmileyFaceIcon as _0x53d134,ShapeSnip1RectIcon as _0x41c950,ShapeSnip2DiagRectIcon as _0x5eb26a,ShapeSnip2SameRectIcon as _0x46e063,ShapeSnipRoundRectIcon as _0x336fde,ShapeSquareTabsIcon as _0x5cd5d3,ShapeStar10Icon as _0x726841,ShapeStar12Icon as _0x1b6cde,ShapeStar16Icon as _0x343fd9,ShapeStar24Icon as _0x4cbb28,ShapeStar32Icon as _0x1b1743,ShapeStar4Icon as _0x40eee7,ShapeStar5Icon as _0x225831,ShapeStar6Icon as _0x11df36,ShapeStar7Icon as _0xfa5eb3,ShapeStar8Icon as _0x1c2a1e,ShapeStraightConnector1Icon as _0xbdb40b,ShapeStraightConnector2Icon as _0x3d59aa,ShapeStripedRightArrowIcon as _0x6ee1e2,ShapeSunIcon as _0x2a3212,ShapeSwooshArrowIcon as _0x3d90df,ShapeTeardropIcon as _0x1d5328,ShapeTrapezoidIcon as _0x4d3eb2,ShapeTriangleIcon as _0x303ddb,ShapeUpArrowCalloutIcon as _0x5d9757,ShapeUpArrowIcon as _0x3381f,ShapeUpDownArrowCalloutIcon as _0x5ae16b,ShapeUpDownArrowIcon as _0x255b96,ShapeUturnArrowIcon as _0x4c361e,ShapeVerticalScrollIcon as _0x437c3b,ShapeWaveIcon as _0x4c8afc,ShapeWedgeEllipseCalloutIcon as _0x16c509,ShapeWedgeRectCalloutIcon as _0x1dfcad,ShapeWedgeRoundRectCalloutIcon as _0x46b1d6,StrikethroughIcon as _0x489313,UnderlineIcon as _0x328f9e,VerticalCenterIcon as _0x143060}from'@univerjs/icons';import{BuiltInUIPart as _0x3ed698,ComponentManager as _0x49e5bf,ContextMenuGroup as _0x2ecff5,ContextMenuPosition as _0x414500,FONT_SIZE_LIST as _0x37dadf,IFontService as _0x48d64c,IMenuManagerService as _0x180e8e,ISidebarService as _0x329c1e,IUIPartsService as _0x29a319,KeyCode as _0x4f8f6d,MenuItemType as _0x258e4e,MenuManagerPosition as _0x24deac,MetaKeys as _0x5d842f,RibbonInsertGroup as _0x532659,ToolbarItem as _0x2740db,connectInjector as _0x548b46,getMenuHiddenObservable as _0xe48ac0,useDependency as _0x4beb35,useObservable as _0x1a174b}from'@univerjs/ui';import{BehaviorSubject as _0x267b38}from'rxjs';import{Accordion as _0x1660f8,Button as _0x3ed779,Checkbox as _0x199ae6,ColorPicker as _0x9dc16e,Dropdown as _0x1a67c4,GradientColorPicker as _0x10f223,InputNumber as _0x2bfc25,Radio as _0x4d1fa9,RadioGroup as _0x379676,Select as _0x5c2f6f,Tooltip as _0x56d752,borderClassName as _0x2ab778,clsx as _0x4f03e7}from'@univerjs/design';import{memo as _0x3fc9c6,useCallback as _0x43b97b,useEffect as _0x1db944,useMemo as _0xe6bc0e,useRef as _0x2cc0d0,useState as _0x1ee196}from'react';import{DrawingCommonPanel as _0xde0a6e,DrawingImageClipService as _0x4d54f4,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x5c66cf,insertGroupObject as _0x11c214}from'@univerjs/drawing-ui';import{Fragment as _0x3cbc5d,jsx as _0x4fd747,jsxs as _0x4ab1dd}from'react/jsx-runtime';import{UniverLicensePlugin as _0x481834}from'@univerjs-pro/license';import{DocSelectionManagerService as _0x41a13b,DocSkeletonManagerService as _0x22cbee,RichTextEditingMutation as _0xdd4495}from'@univerjs/docs';const Xa=_0x16f7f1(0x306),Za=_0x16f7f1(0x1a9);function Qa(_0x452043,_0x2c961f){const _0x13d7f1=_0x16f7f1;if(_0x2c961f){if(_0x163121(_0x452043)&&(_0x2c961f[_0x13d7f1(0x222)]||_0x2c961f[_0x13d7f1(0xa0)]))return{'ln':{'startArrow':_0x2c961f['startArrow']?{'type':_0x3b6f5e[_0x13d7f1(0x1c4)],'size':_0x26aa78['Medium']}:void 0x0,'endArrow':_0x2c961f['endArrow']?{'type':_0x3b6f5e['Arrow'],'size':_0x26aa78[_0x13d7f1(0x481)]}:void 0x0}};if(_0x452043===_0x360129[_0x13d7f1(0xb8)]&&(_0x2c961f[_0x13d7f1(0x1d0)]||_0x2c961f['vertical']))return{'fill':{'fillType':_0xf0398b['SolidFill'],'color':Xa},'stroke':{'lineStrokeType':_0xae9842[_0x13d7f1(0x78)],'width':0x1,'color':Za},'shapeText':{'isHorizontal':!!_0x2c961f['horizontal']}};}}function $a(_0x1db419,_0x4398f4){const _0x51a6b6=_0x16f7f1;var _0x31c396;let _0x3b2c83=_0x1db419[_0x51a6b6(0xd8)](_0x58e500)[_0x51a6b6(0x251)](_0x4398f4),_0x386136=_0x3b2c83==null||(_0x31c396=_0x3b2c83[_0x51a6b6(0x4d0)](_0x3df34c)[_0x51a6b6(0x111)]())==null?void 0x0:_0x31c396['getAbsolutePosition']();return _0x386136?{'left':_0x386136[_0x51a6b6(0x379)],'top':_0x386136['top']}:null;}function eo(_0x3991af,_0x667d67,_0x2f225e){const _0x4d61be=_0x16f7f1;var _0x34413d,_0x4772f8,_0x37b8f1;if(!_0x2f225e)return null;let _0x4b9c16=_0x3991af[_0x4d61be(0xd8)](_0x58e500)[_0x4d61be(0x251)](_0x667d67),_0x15e9ad=_0x4b9c16==null?void 0x0:_0x4b9c16[_0x4d61be(0x4d0)](_0x91b091)[_0x4d61be(0x1d4)];if(!_0x15e9ad)return null;let _0x430d84=_0x2f225e===_0x4d61be(0x2cd)?{'startOffset':_0x15e9ad[_0x4d61be(0x495)][_0x4d61be(0x1bd)],'endOffset':_0x15e9ad[_0x4d61be(0x495)][_0x4d61be(0x1bd)]}:_0x15e9ad[_0x4d61be(0x454)];return{'range':{'unitId':_0x667d67,'startOffset':_0x430d84[_0x4d61be(0x15c)],'endOffset':_0x430d84['endOffset'],'segmentId':(_0x34413d=(_0x4772f8=_0x15e9ad['paragraph'])==null?void 0x0:_0x4772f8[_0x4d61be(0x25f)])==null?'':_0x34413d},'position':(_0x37b8f1=_0x15e9ad[_0x4d61be(0x3ba)])!=null&&_0x37b8f1[_0x4d61be(0x174)]?{'left':_0x15e9ad[_0x4d61be(0x3ba)][_0x4d61be(0x174)][_0x4d61be(0x379)],'top':_0x2f225e===_0x4d61be(0x2cd)?_0x15e9ad[_0x4d61be(0x3ba)][_0x4d61be(0x174)][_0x4d61be(0x4c6)]:_0x15e9ad[_0x4d61be(0x3ba)][_0x4d61be(0x174)]['top']}:null};}function to(_0xdb80cb,_0x3c46c8,_0x3f0de6){const _0x327516=_0x16f7f1;var _0x544045;return{'size':{'width':_0xdb80cb,'height':_0x3c46c8},'positionH':{'relativeFrom':_0x416570[_0x327516(0x9e)],'posOffset':(_0x544045=_0x3f0de6==null?void 0x0:_0x3f0de6[_0x327516(0x379)])==null?0x0:_0x544045},'positionV':{'relativeFrom':_0x2d86c6[_0x327516(0x2a9)],'posOffset':0x0},'angle':0x0};}const no={'type':_0x18e9d7['COMMAND'],'id':_0x16f7f1(0x468),'handler':async(_0x97cc34,_0x5e592e)=>{const _0x16c678=_0x16f7f1;var _0x40d4f1,_0x30175a,_0x2b85fa,_0x4deb0a,_0x24e252,_0x3c034c;let _0x5f487a=_0x97cc34['get'](_0x36e98e)[_0x16c678(0xba)]();if(!_0x5f487a)return!0x1;let _0x321b62=_0x97cc34[_0x16c678(0xd8)](_0x24c807),_0x2b86d4=_0x5f487a['getUnitId'](),_0x3435d1=_0x2b86d4,_0x176c8f=(_0x40d4f1=_0x5e592e['shapeId'])==null?_0x11ea93():_0x40d4f1,_0x55bb2b=(_0x30175a=_0x5e592e[_0x16c678(0x42b)])==null?_0x28e4c1:_0x30175a,_0x1ad3dd=(_0x2b85fa=_0x5e592e['height'])==null?_0x136010:_0x2b85fa,_0xcca0ff=(_0x4deb0a=(_0x24e252=_0x5e592e[_0x16c678(0x16a)])==null?Qa(_0x5e592e['value'],_0x5e592e[_0x16c678(0x4d7)]):_0x24e252)==null?{'fill':{'fillType':_0xf0398b[_0x16c678(0x267)],'color':Xa},'stroke':{'lineStrokeType':_0xae9842[_0x16c678(0x78)],'width':0x1,'color':Za}}:_0x4deb0a,_0x476b5d=eo(_0x97cc34,_0x2b86d4,_0x5e592e['paragraphMenuPlacement']),_0xb44d62=(_0x3c034c=_0x476b5d==null?void 0x0:_0x476b5d[_0x16c678(0x41c)])==null?$a(_0x97cc34,_0x2b86d4):_0x3c034c,_0x3e2c49=to(_0x55bb2b,_0x1ad3dd,_0xb44d62),_0x3c3a1c=_0x3b2189(_0x3e2c49);_0x3c3a1c&&_0xb44d62&&(_0x3c3a1c['top']=_0xb44d62[_0x16c678(0x20d)]),_0x321b62[_0x16c678(0x226)](_0x5b774d['id'],{'unitId':_0x2b86d4,'shapeId':_0x176c8f,'shapeType':_0x5e592e[_0x16c678(0x438)],'shapeData':_0xcca0ff}),_0x476b5d&&_0x97cc34[_0x16c678(0xd8)](_0x4d4d41)[_0x16c678(0x15a)](_0x476b5d[_0x16c678(0x4a2)]);let _0x113701={'unitId':_0x2b86d4,'subUnitId':_0x3435d1,'drawingId':_0x176c8f,'drawingType':_0x585e26[_0x16c678(0x47b)],'transform':_0x3c3a1c,'docTransform':_0x3e2c49,'data':{'shapeType':_0x5e592e[_0x16c678(0x438)],'shapeData':_0xcca0ff},'behindDoc':_0x3ff23e[_0x16c678(0x2ed)],'title':'','description':'','layoutType':_0x32d8cc[_0x16c678(0xaa)],'wrapText':_0x56329e['BOTH_SIDES'],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x321b62['syncExecuteCommand'](_0x5b423a['id'],{'unitId':_0x2b86d4,'drawings':[_0x113701]});}},ro={'type':_0x18e9d7[_0x16f7f1(0x26b)],'id':_0x16f7f1(0x294),'handler'(){return!0x0;}},io={'type':_0x18e9d7[_0x16f7f1(0x26b)],'id':_0x16f7f1(0x87),'handler'(){return!0x0;}},ao=_0x16f7f1(0xf4),oo=_0x1f22f1(_0x16f7f1(0x3a6));function so(_0x5e49af){'@babel/helpers - typeof';const _0x1c1091=_0x16f7f1;return so=typeof Symbol==_0x1c1091(0x464)&&typeof Symbol[_0x1c1091(0x23e)]==_0x1c1091(0x186)?function(_0x47fcda){return typeof _0x47fcda;}:function(_0x2e3347){const _0x15ba12=_0x1c1091;return _0x2e3347&&typeof Symbol==_0x15ba12(0x464)&&_0x2e3347[_0x15ba12(0x310)]===Symbol&&_0x2e3347!==Symbol['prototype']?_0x15ba12(0x186):typeof _0x2e3347;},so(_0x5e49af);}function co(_0x39cba4,_0x1bfd80){const _0x2e293e=_0x16f7f1;if(so(_0x39cba4)!=_0x2e293e(0x176)||!_0x39cba4)return _0x39cba4;var _0x35d4c4=_0x39cba4[Symbol[_0x2e293e(0x2d0)]];if(_0x35d4c4!==void 0x0){var _0x369011=_0x35d4c4[_0x2e293e(0x4dd)](_0x39cba4,_0x1bfd80||_0x2e293e(0x446));if(so(_0x369011)!=_0x2e293e(0x176))return _0x369011;throw TypeError(_0x2e293e(0x37d));}return(_0x1bfd80===_0x2e293e(0xf7)?String:Number)(_0x39cba4);}function lo(_0x2ce708){const _0x3b6655=_0x16f7f1;var _0x3767a0=co(_0x2ce708,_0x3b6655(0xf7));return so(_0x3767a0)==_0x3b6655(0x186)?_0x3767a0:_0x3767a0+'';}function Z(_0x411cce,_0x583817,_0xf444a8){return(_0x583817=lo(_0x583817))in _0x411cce?Object['defineProperty'](_0x411cce,_0x583817,{'value':_0xf444a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x411cce[_0x583817]=_0xf444a8,_0x411cce;}var uo=class extends _0x19fa94{constructor(..._0xc94991){const _0x53d103=_0x16f7f1;super(..._0xc94991),Z(this,_0x53d103(0x466),new _0x267b38(null)),Z(this,_0x53d103(0x2f6),this[_0x53d103(0x466)][_0x53d103(0xf8)]()),Z(this,_0x53d103(0x1d2),new _0x267b38(!0x1)),Z(this,_0x53d103(0x6f),this[_0x53d103(0x1d2)][_0x53d103(0xf8)]());}[_0x16f7f1(0x451)](){const _0x441213=_0x16f7f1;this['_editingParams$'][_0x441213(0x200)](null),this[_0x441213(0x466)][_0x441213(0x18d)](),this[_0x441213(0x1d2)][_0x441213(0x200)](!0x1),this[_0x441213(0x1d2)]['complete'](),super[_0x441213(0x451)]();}[_0x16f7f1(0x73)](_0x1000b8){const _0x1c1f6b=_0x16f7f1;this['_editingParams$'][_0x1c1f6b(0x200)](_0x1000b8),_0x1000b8==null&&this[_0x1c1f6b(0x1d2)][_0x1c1f6b(0x200)](!0x1);}[_0x16f7f1(0xe6)](_0x14f21c){const _0x2b52d8=_0x16f7f1;this[_0x2b52d8(0x1d2)][_0x2b52d8(0x200)](_0x14f21c);}[_0x16f7f1(0x354)](){const _0x54dfae=_0x16f7f1;return this[_0x54dfae(0x466)][_0x54dfae(0x3e3)]();}};function Q(_0x1f0075,_0x52c0c1,_0x978cf9,_0x56f467,_0x286973,_0x4f29c7){const _0x8e066c=_0x16f7f1;let _0x2327f9={'unitId':_0x52c0c1,'shapeId':_0x56f467,'shapeData':_0x4f29c7,'oldShapeJSON':_0x286973};return _0x1f0075[_0x8e066c(0x46b)](_0x33f250['id'],_0x2327f9);}function fo(_0x4ac3fb,_0x1966ee,_0x545766,_0xc4a9b0,_0x298161,_0x5bfabc){const _0x20a4bc=_0x16f7f1;let _0x353ffa={'unitId':_0x1966ee,'shapeId':_0xc4a9b0,'shapeData':_0x5bfabc,'oldShapeJSON':_0x298161};return _0x4ac3fb[_0x20a4bc(0x46b)](_0x33f250['id'],_0x353ffa);}function po(_0x187209,_0x202c14){const _0x591e4e=_0x16f7f1;var _0x40de95;let {isHorizontal:_0x2aaa2e,textRect:_0x183596,verticalAlign:_0x23e404}=_0x202c14,_0x56247b=_0x2aaa2e?_0x183596['width']:_0x183596['height'],_0x312ae7=_0x4db755[_0x591e4e(0x34c)](_0x187209),_0x18948f=(_0x40de95=_0x312ae7[_0x591e4e(0x332)])==null?{}:_0x40de95,_0x165e87={..._0x18948f[_0x591e4e(0xd4)],'centerAngle':_0x2aaa2e?0x0:_0x3f37de,'vertexAngle':_0x2aaa2e?0x0:_0x3f37de,'wrapStrategy':_0x461ec8[_0x591e4e(0x177)]};if(_0x23e404!==void 0x0&&(_0x165e87[_0x591e4e(0x39c)]=_0x23e404),_0x202c14['horizontalAlign']!==void 0x0){var _0x17c789;_0x165e87[_0x591e4e(0x3b6)]=_0x202c14['horizontalAlign'];let _0x1c248b=(_0x17c789=_0x312ae7[_0x591e4e(0x4c1)])==null?void 0x0:_0x17c789[_0x591e4e(0x440)];if(_0x1c248b){for(let _0x58d03e of _0x1c248b)_0x58d03e[_0x591e4e(0x3ce)]||(_0x58d03e[_0x591e4e(0x3ce)]={}),_0x58d03e['paragraphStyle'][_0x591e4e(0x3b6)]=_0x202c14[_0x591e4e(0x3b6)];}}return _0x312ae7[_0x591e4e(0x332)]={..._0x18948f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x56247b,'height':0x1/0x0},'renderConfig':_0x165e87},_0x312ae7;}function mo(_0x320742){const _0x28b249=_0x16f7f1;var _0x1a1c58;let _0x18f371=_0x4db755[_0x28b249(0x34c)](_0x320742),_0x1a2c12=(_0x1a1c58=_0x18f371[_0x28b249(0x332)])==null?{}:_0x1a1c58,_0x404019={..._0x1a2c12['renderConfig']};return delete _0x404019[_0x28b249(0x2bc)],delete _0x404019[_0x28b249(0x409)],delete _0x404019[_0x28b249(0x39c)],delete _0x404019[_0x28b249(0x3a7)],_0x18f371[_0x28b249(0x332)]={..._0x1a2c12,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x28b249(0x1ff)](_0x404019)['length']>0x0?_0x404019:void 0x0},_0x18f371;}var ho=class extends _0x2e4afd{constructor(_0xb38653,_0x1ac6c3){const _0xd914d4=_0x16f7f1;super(_0xb38653,_0x1ac6c3),Z(this,'_props',void 0x0),Z(this,_0xd914d4(0x290),!0x0),Z(this,_0xd914d4(0x3af),_0x585e26[_0xd914d4(0x47b)]),Z(this,'isDrawingObject',!0x0),this[_0xd914d4(0x16e)]={..._0x1ac6c3},this[_0xd914d4(0x10c)]();}[_0x16f7f1(0x10c)](){const _0x26b471=_0x16f7f1;this[_0x26b471(0x194)]['subscribeEvent'](_0x2f7d70=>{const _0x1d1199=_0x26b471;this[_0x1d1199(0x13d)](_0x2f7d70);});}['setPrstGeom'](_0x3857fb){const _0x2480d8=_0x16f7f1;this['_props'][_0x2480d8(0x38b)]=_0x3857fb;}[_0x16f7f1(0x73)](_0x52bb3e){const _0x439c1e=_0x16f7f1;this[_0x439c1e(0x16e)][_0x439c1e(0x112)]=_0x52bb3e,this[_0x439c1e(0x2d2)](!0x0);}get['unitId'](){const _0x2f0d26=_0x16f7f1;return this[_0x2f0d26(0x16e)][_0x2f0d26(0x17d)];}get[_0x16f7f1(0x17b)](){const _0x139f63=_0x16f7f1;return this[_0x139f63(0x16e)][_0x139f63(0x17b)];}[_0x16f7f1(0x13d)](_0x2cf133){const _0x580ece=_0x16f7f1;if(this[_0x580ece(0x16e)][_0x580ece(0x34b)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x36b055,height:_0x177de8}=this,{width:_0x1b1262=0x0,height:_0x57c435=0x0}=_0x2cf133[_0x580ece(0x4e6)],{left:_0x518d2c=0x0,top:_0x1b402c=0x0,right:_0x5514b9=0x0,bottom:_0x347028=0x0}=this['_props'][_0x580ece(0x34b)],_0x18c7a1=_0x518d2c,_0x30dc27=_0x1b402c,_0xb92403=_0x5514b9,_0x3172c6=_0x347028,_0x45e03d=!0x1;if(_0x1b1262!==0x0&&_0x1b1262!==_0x36b055){let _0x227e6d=_0x518d2c/_0x1b1262,_0x1121e0=_0x5514b9/_0x1b1262;_0x18c7a1=_0x36b055*_0x227e6d,_0xb92403=_0x36b055*_0x1121e0,_0x45e03d=!0x0;}if(_0x57c435!==0x0&&_0x57c435!==_0x177de8){let _0x56c48c=_0x1b402c/_0x57c435,_0x407bbc=_0x347028/_0x57c435;_0x30dc27=_0x177de8*_0x56c48c,_0x3172c6=_0x177de8*_0x407bbc,_0x45e03d=!0x0;}_0x45e03d&&this['setSrcRect']({'left':_0x18c7a1,'top':_0x30dc27,'right':_0xb92403,'bottom':_0x3172c6});}[_0x16f7f1(0x367)](_0x127510){const _0x15373e=_0x16f7f1;this[_0x15373e(0x16e)][_0x15373e(0x34b)]=_0x127510,this[_0x15373e(0x2d2)](!0x0);}[_0x16f7f1(0x44e)](_0x264a9a){const _0x1752a6=_0x16f7f1;this[_0x1752a6(0x16e)]['image']=_0x264a9a,this[_0x1752a6(0x2d2)](!0x0);}set['transform'](_0x2fdd59){const _0x120298=_0x16f7f1;this[_0x120298(0x463)]=_0x2fdd59;}get['transform'](){const _0x14deb0=_0x16f7f1;this[_0x14deb0(0x463)]||this[_0x14deb0(0x29a)]();let _0x2da677=this[_0x14deb0(0x463)][_0x14deb0(0x220)]();return this[_0x14deb0(0x104)](_0x2da677);}get['shapeModel'](){const _0x18b81a=_0x16f7f1;return this[_0x18b81a(0x16e)][_0x18b81a(0x94)];}get['shapeId'](){const _0x37f10e=_0x16f7f1;return this[_0x37f10e(0x16e)][_0x37f10e(0x2e3)];}get['classType'](){const _0x7cf700=_0x16f7f1;return _0x23d32c[_0x7cf700(0x19c)];}[_0x16f7f1(0xa6)](_0x386505,_0x4d8fec,_0x79e20c,_0x4870ba){const _0x8806a9=_0x16f7f1;let _0x5dabaa=this['_props'][_0x8806a9(0x94)];if(!_0x5dabaa||!_0x4d8fec)return;let _0x3ec07c=_0x79e20c==null?this[_0x8806a9(0x42b)]:_0x79e20c,_0x35ef03=_0x4870ba==null?this['height']:_0x4870ba,_0x50b7bf={'shapeType':_0x5dabaa[_0x8806a9(0x3d7)](),'width':_0x3ec07c,'height':_0x35ef03},_0x21111a={'renderMode':_0x5f1a62[_0x8806a9(0x3d1)],'oKey':this[_0x8806a9(0x408)],'image':this[_0x8806a9(0x16e)][_0x8806a9(0x1e3)],'angle':this['angle']};_0x5dabaa['updateContext'](_0x50b7bf),_0x386505['save']();let _0x43d127={'top':0x0,'left':0x0,'width':_0x3ec07c,'height':_0x35ef03};_0x5dabaa[_0x8806a9(0x390)](_0x386505,_0x43d127,_0x21111a),_0x386505[_0x8806a9(0x2b4)]();let _0x494245=_0x5dabaa['getShapeTextData'](),_0x32d0de=_0x5dabaa[_0x8806a9(0x3a8)](_0x43d127),_0x4b9e19=_0x5dabaa['isLineShape']();if(_0x494245&&_0x32d0de&&!_0x4b9e19){_0x386505[_0x8806a9(0x1f0)](),this['getState']()[_0x8806a9(0x428)]&&_0x386505['scale'](-0x1,0x1);let _0x50e785=_0x3ec07c/0x2,_0x3f7350=_0x35ef03/0x2;_0x386505[_0x8806a9(0xf5)](-_0x50e785,-_0x3f7350),_0x386505['beginPath'](),this[_0x8806a9(0x4da)](_0x386505,_0x494245,_0x32d0de),_0x386505['restore']();}}[_0x16f7f1(0x245)](_0x45a97d){}['_drawShapeText'](_0x3ebe98,_0x439246,_0x57c74e){const _0x1689d9=_0x16f7f1;this[_0x1689d9(0x16e)][_0x1689d9(0x112)]||(_0x1689d9(0xa4)in _0x439246&&_0x439246[_0x1689d9(0xa4)]===!0x1?this[_0x1689d9(0x40b)](_0x3ebe98,_0x439246,_0x57c74e):this[_0x1689d9(0x14e)](_0x3ebe98,_0x439246,_0x57c74e));}[_0x16f7f1(0x40b)](_0x1e6407,_0x437f1e,_0x5721e5){}[_0x16f7f1(0x14e)](_0x22b542,_0x43993b,_0x49ffa4){const _0x9db11=_0x16f7f1;var _0x4f6132,_0x2a4afb;let _0x1537bc=this[_0x9db11(0x16e)]['localeService'];if(!_0x43993b['dataModel']||!_0x1537bc){_0x1537bc||console[_0x9db11(0x30e)](_0x9db11(0xbb));return;}let _0x10d981=_0x43993b['dataModel'],_0x337e81=_0x10d981[_0x9db11(0x2ff)],_0x362b35=(_0x4f6132=_0x10d981['va'])==null?_0x3a5684['TOP']:_0x4f6132,_0x27dc6c=(_0x2a4afb=_0x10d981['ha'])==null?_0x2a6bb4[_0x9db11(0x3e9)]:_0x2a4afb;if(!_0x337e81)return;let _0xf729cb=_0x43993b[_0x9db11(0x45f)],_0xdee46a=new _0x3f18c7(po(_0x337e81,{'isHorizontal':_0xf729cb!==!0x1,'textRect':_0x49ffa4,'verticalAlign':_0x362b35,'horizontalAlign':_0x27dc6c})),_0x507eea=new _0x3852f2(_0xdee46a),_0x3310a7=_0x588cb5[_0x9db11(0x166)](_0x507eea,_0x1537bc);_0x3310a7[_0x9db11(0x137)]();let _0x25ac82=new _0x46389d(_0x9db11(0x4a0)+this['oKey'],_0x3310a7,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x25ac82[_0x9db11(0x1f9)](_0x49ffa4[_0x9db11(0x42b)],_0x49ffa4[_0x9db11(0x3b1)]),_0x22b542[_0x9db11(0x1f0)](),_0x22b542[_0x9db11(0x4d1)](_0x49ffa4[_0x9db11(0x379)],_0x49ffa4[_0x9db11(0x20d)]),_0x22b542['beginPath'](),_0x22b542[_0x9db11(0x174)](0x0,0x0,_0x49ffa4[_0x9db11(0x42b)],_0x49ffa4['height']),_0x22b542['clip'](),_0x25ac82[_0x9db11(0x221)](_0x22b542),_0x22b542[_0x9db11(0x2b4)](),_0x25ac82['dispose'](),_0x3310a7[_0x9db11(0x451)](),_0x507eea[_0x9db11(0x451)](),_0xdee46a[_0x9db11(0x451)]();}[_0x16f7f1(0x390)](_0x20f484,_0x37fc14,_0xdfb09d=!0x1){const _0x249d27=_0x16f7f1;if(!this[_0x249d27(0x8a)])return this[_0x249d27(0x2d2)](!0x1),this;let {width:_0x3f00bb,height:_0xbf313,left:_0x3bd37f,top:_0x210b4e}=this,_0x5ba4f0=this['getRealBound']();if(_0x3f00bb=_0x5ba4f0[_0x249d27(0x42b)],_0xbf313=_0x5ba4f0[_0x249d27(0x3b1)],_0x3bd37f=_0x5ba4f0['left'],_0x210b4e=_0x5ba4f0[_0x249d27(0x20d)],this[_0x249d27(0x3d3)](_0x37fc14)){let {top:_0x30dd3d,left:_0x3b9a2e,bottom:_0x5d28a3,right:_0x4e7a4e}=_0x37fc14[_0x249d27(0x35e)];if(_0x3f00bb+this[_0x249d27(0x46d)]+_0x3bd37f<_0x3b9a2e||_0x4e7a4e<_0x3bd37f||_0xbf313+this[_0x249d27(0x46d)]+_0x210b4e<_0x30dd3d||_0x5d28a3<_0x210b4e)return this;}let _0x526a90=_0x3bd37f+_0x3f00bb/0x2,_0x40cb58=_0x210b4e+_0xbf313/0x2,_0xcca88c=this['transform'][_0x249d27(0x48a)]();if(this[_0x249d27(0x16e)][_0x249d27(0x112)]){let _0x479d8f=this[_0x249d27(0x232)](),_0x13027c=new _0x2b1262();_0x13027c[_0x249d27(0x42d)]({..._0x479d8f}),_0xcca88c=_0x13027c[_0x249d27(0x48a)]();}return _0x20f484['save'](),this[_0x249d27(0x16e)][_0x249d27(0x94)][_0x249d27(0xdb)]===!0x0||_0x20f484[_0x249d27(0x449)](_0xcca88c[0x0],_0xcca88c[0x1],_0xcca88c[0x2],_0xcca88c[0x3],_0x526a90,_0x40cb58),this[_0x249d27(0xa6)](_0x20f484,_0x37fc14,_0x3f00bb,_0xbf313),_0x20f484[_0x249d27(0x2b4)](),this[_0x249d27(0x2d2)](!0x1),this;}[_0x16f7f1(0x10e)](_0x379b70){const _0x7ce187=_0x16f7f1;let {left:_0x390d9f,top:_0x52f91b,width:_0x3c4faf,height:_0x302cd1}=this['getRealBound'](),_0x1a39c6=this[_0x7ce187(0x449)][_0x7ce187(0x48a)](),_0x5cf623=_0x390d9f+_0x3c4faf/0x2,_0x316264=_0x52f91b+_0x302cd1/0x2,_0x1c09ea=new _0x2b1262([_0x1a39c6[0x0],_0x1a39c6[0x1],_0x1a39c6[0x2],_0x1a39c6[0x3],_0x5cf623,_0x316264]),_0x1150be=this['getParent']();return(this[_0x7ce187(0x9b)]&&(_0x1150be==null?void 0x0:_0x1150be[_0x7ce187(0x240)])===_0x23d32c['GROUP']?_0x1150be[_0x7ce187(0x88)][_0x7ce187(0x102)](_0x1c09ea):_0x1c09ea)[_0x7ce187(0x3c8)]()['applyPoint'](_0x379b70);}[_0x16f7f1(0x234)](_0x24a3b0){const _0x205263=_0x16f7f1;let {left:_0x11b941,top:_0x40c18b,width:_0x40d48b,height:_0x23de6a}=this[_0x205263(0x333)](),_0x2d37fe=_0x11b941+_0x40d48b/0x2,_0x45194e=_0x40c18b+_0x23de6a/0x2,_0x42b367=this['transform']['getMatrix'](),_0x21ffe9=new _0x2b1262([_0x42b367[0x0],_0x42b367[0x1],_0x42b367[0x2],_0x42b367[0x3],_0x2d37fe,_0x45194e]),_0x177cfd=this['getParent'](),_0x512b71=(this[_0x205263(0x9b)]&&(_0x177cfd==null?void 0x0:_0x177cfd[_0x205263(0x240)])===_0x23d32c[_0x205263(0x48b)]?_0x177cfd[_0x205263(0x88)]['multiply'](_0x21ffe9):_0x21ffe9)[_0x205263(0x3c8)]()[_0x205263(0xe1)](_0x24a3b0),_0x150d74=_0x40d48b/0x2,_0x4ef0c2=_0x23de6a/0x2,_0x48ec48=this['_props'][_0x205263(0x94)];return _0x48ec48&&_0x48ec48[_0x205263(0xf6)]()?_0x48ec48[_0x205263(0x365)](_0x512b71['x'],_0x512b71['y'],_0x40d48b,_0x23de6a):_0x512b71['x']>=-_0x150d74-this[_0x205263(0x46d)]/0x2&&_0x512b71['x']<=_0x150d74+this[_0x205263(0x46d)]/0x2&&_0x512b71['y']>=-_0x4ef0c2-this[_0x205263(0x46d)]/0x2&&_0x512b71['y']<=_0x4ef0c2+this[_0x205263(0x46d)]/0x2;}['dispose'](){const _0x1bebb9=_0x16f7f1;this['_props']['shapeModel']=null,super[_0x1bebb9(0x451)]();}};function $(_0x5f3026,_0x4d004f){return function(_0x2630a0,_0x3ff5ee){_0x4d004f(_0x2630a0,_0x3ff5ee,_0x5f3026);};}function go(_0x4a44d8,_0x440180,_0x2737fd,_0x56daaa){const _0x46f59e=_0x16f7f1;var _0x480de2=arguments[_0x46f59e(0x230)],_0x38c1cf=_0x480de2<0x3?_0x440180:_0x56daaa===null?_0x56daaa=Object[_0x46f59e(0x188)](_0x440180,_0x2737fd):_0x56daaa,_0x34325a;if(typeof Reflect==_0x46f59e(0x176)&&typeof Reflect[_0x46f59e(0x197)]==_0x46f59e(0x464))_0x38c1cf=Reflect[_0x46f59e(0x197)](_0x4a44d8,_0x440180,_0x2737fd,_0x56daaa);else{for(var _0x1f894e=_0x4a44d8['length']-0x1;_0x1f894e>=0x0;_0x1f894e--)(_0x34325a=_0x4a44d8[_0x1f894e])&&(_0x38c1cf=(_0x480de2<0x3?_0x34325a(_0x38c1cf):_0x480de2>0x3?_0x34325a(_0x440180,_0x2737fd,_0x38c1cf):_0x34325a(_0x440180,_0x2737fd))||_0x38c1cf);}return _0x480de2>0x3&&_0x38c1cf&&Object[_0x46f59e(0x3c5)](_0x440180,_0x2737fd,_0x38c1cf),_0x38c1cf;}let _o=class extends _0x19fa94{constructor(_0x40ecc6,_0x368e66,_0x475133,_0x77f01,_0x1a9a50,_0x3f58c7){const _0x2f300a=_0x16f7f1;super(),this[_0x2f300a(0x36f)]=_0x40ecc6,this[_0x2f300a(0x39e)]=_0x368e66,this['_localeService']=_0x475133,this['_imageIoService']=_0x77f01,this[_0x2f300a(0x4d8)]=_0x1a9a50,this[_0x2f300a(0x206)]=_0x3f58c7;}['renderDrawingShape'](_0x1d4209,_0x1bc49e){const _0x39e241=_0x16f7f1;let {transform:_0xed02d7,drawingType:_0x59e519,srcRect:_0x55441c,prstGeom:_0x351495,groupId:_0x5d4ae4,unitId:_0x3b9a84,subUnitId:_0x210643,drawingId:_0x15adb6,isMultiTransform:_0x167e3c,transforms:_0x54218e,hidden:_0xafaec8}=_0x1d4209;if(_0x59e519!==_0x585e26[_0x39e241(0x47b)]||!this[_0x39e241(0x36f)]['getDrawingVisible']()||_0xed02d7==null)return;let _0x596be0=_0x167e3c&&_0x54218e?_0x54218e:[_0xed02d7],_0x46453c=[];for(let _0x1e1f96 of _0x596be0){let {left:_0x4ab783,top:_0x1e3011,width:_0x40c83f,height:_0x4676b7,angle:_0x134a85,flipX:_0x53c917,flipY:_0x5a051e,skewX:_0x9b7125,skewY:_0x1f0e92}=_0x1e1f96,_0x434b14=_0x596be0[_0x39e241(0x1cc)](_0x1e1f96),_0x25a395=_0x131e54({'unitId':_0x3b9a84,'subUnitId':_0x210643,'drawingId':_0x15adb6},_0x167e3c?_0x434b14:void 0x0),_0x4d674f=_0x1bc49e[_0x39e241(0x3df)](_0x25a395);if(_0x4d674f!=null){_0x4d674f[_0x39e241(0x219)]({'left':_0x4ab783,'top':_0x1e3011,'width':_0x40c83f,'height':_0x4676b7,'angle':_0x134a85,'flipX':_0x53c917,'flipY':_0x5a051e,'skewX':_0x9b7125,'skewY':_0x1f0e92});continue;}let _0x1affb3=this['_drawingManagerService'][_0x39e241(0x496)](_0x3b9a84,_0x210643),_0x585eb2=_0x1affb3[_0x39e241(0x1cc)](_0x15adb6);if(_0x1bc49e['getObjectIncludeInGroup'](_0x25a395)||!this[_0x39e241(0x36f)][_0x39e241(0x41a)]())continue;let _0x4a125e=this[_0x39e241(0x39e)][_0x39e241(0x3db)](_0x3b9a84,_0x210643,_0x15adb6);if(!_0x4a125e)continue;let _0x2cecf3=new ho(_0x25a395,{..._0x163121(_0x4a125e[_0x39e241(0x3d7)]())?{..._0x1e1f96,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x1e1f96},'zIndex':_0x585eb2===-0x1?_0x1affb3[_0x39e241(0x230)]-0x1:_0x585eb2,'shapeModel':_0x4a125e,'localeService':this[_0x39e241(0x366)],'shapeId':_0x15adb6,'unitId':_0x3b9a84,'subUnitId':_0x210643,'visible':_0xafaec8!==!0x0});this[_0x39e241(0x4bd)](_0x31e856(_0x2cecf3[_0x39e241(0x4b9)][_0x39e241(0xc5)]((_0x3d8e44,_0x6ceb91)=>{const _0x50cb13=_0x39e241;_0x4a125e[_0x50cb13(0xf6)]()||(this[_0x50cb13(0x206)]['setEditing']({'visible':!0x0,'unitId':_0x3b9a84,'subUnitId':_0x210643,'shapeId':_0x15adb6,'shapeKey':_0x2cecf3['oKey']}),_0x6ceb91[_0x50cb13(0x4c5)]());}))),_0x1bc49e[_0x39e241(0x107)](_0x2cecf3,_0x46d010),this[_0x39e241(0x36f)][_0x39e241(0x3b0)]()&&_0x1bc49e[_0x39e241(0x1c5)](_0x2cecf3),_0x5d4ae4&&_0x11c214({'drawingId':_0x5d4ae4,'unitId':_0x3b9a84,'subUnitId':_0x210643},_0x2cecf3,_0x1bc49e,this[_0x39e241(0x36f)]),_0x351495!=null&&_0x2cecf3[_0x39e241(0x3e0)](_0x351495),_0x55441c!=null&&_0x2cecf3[_0x39e241(0x367)](_0x55441c),this['_loadShapePictureFill'](_0x2cecf3,_0x4a125e[_0x39e241(0x237)]()),_0x46453c[_0x39e241(0x369)](_0x2cecf3);}return _0x46453c;}[_0x16f7f1(0x424)](_0x3d9d44){const _0x1c3871=_0x16f7f1;let _0x3aac04=_0x3d9d44[_0x1c3871(0x94)][_0x1c3871(0x237)](),_0x5a14fc=_0x3aac04[_0x1c3871(0x100)];if(!_0x5a14fc||_0x5a14fc[_0x1c3871(0x439)]!==_0xf0398b['PictureFill']||!_0x5a14fc[_0x1c3871(0x4a7)]){_0x3d9d44[_0x1c3871(0x44e)](void 0x0);return;}this[_0x1c3871(0x3e8)](_0x3d9d44,_0x3aac04);}[_0x16f7f1(0x3e8)](_0x3e13f5,_0x3a805e){const _0xf9e68a=_0x16f7f1;var _0x48fc58;let _0x1647af=_0x3a805e[_0xf9e68a(0x100)];if(!_0x1647af||_0x1647af[_0xf9e68a(0x439)]!==_0xf0398b[_0xf9e68a(0x21d)]||!_0x1647af[_0xf9e68a(0x4a7)])return;let _0x285751=_0x1647af[_0xf9e68a(0x4a7)],_0x5be5e6=(_0x48fc58=_0x1647af['fillImageSourceType'])==null?_0x4f40e5[_0xf9e68a(0x4b5)]:_0x48fc58,_0x88c9b4=this['_imageIoService']['getImageSourceCache'](_0x285751,_0x5be5e6);if(_0x88c9b4){_0x3e13f5[_0xf9e68a(0x44e)](_0x88c9b4);return;}this[_0xf9e68a(0x3f2)](_0x3e13f5,_0x285751,_0x5be5e6);}async['_loadAndSetImage'](_0x328202,_0x29e598,_0x5adf77){const _0x3fc0a1=_0x16f7f1;let _0x352a5c;try{if(_0x5adf77===_0x4f40e5['UUID'])_0x352a5c=await this[_0x3fc0a1(0x19b)][_0x3fc0a1(0x474)](_0x29e598);else{if(_0x5adf77===_0x4f40e5['URL'])try{_0x352a5c=await this[_0x3fc0a1(0x4d8)][_0x3fc0a1(0x474)](_0x29e598);}catch{_0x352a5c=_0x29e598;}else _0x352a5c=_0x29e598;}}catch(_0x3ce1f2){console[_0x3fc0a1(0x3ff)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x3ce1f2);return;}let _0xf07573=new window[(_0x3fc0a1(0x1d1))]();_0xf07573['onload']=()=>{const _0x3bb3ab=_0x3fc0a1;this[_0x3bb3ab(0x19b)][_0x3bb3ab(0x292)](_0x29e598,_0x5adf77,_0xf07573),_0x328202[_0x3bb3ab(0x44e)](_0xf07573);},_0xf07573[_0x3fc0a1(0x29e)]=()=>{const _0x19a9e3=_0x3fc0a1;console[_0x19a9e3(0x3ff)](_0x19a9e3(0x4c2),_0x29e598);},_0xf07573[_0x3fc0a1(0x218)]=_0x352a5c;}};_o=go([$(0x0,_0x16de2e),$(0x1,_0x3bd34c(_0x3c18a4)),$(0x2,_0x3bd34c(_0x3e881f)),$(0x3,_0x5730e8),$(0x4,_0x1df2be),$(0x5,_0x3bd34c(uo))],_o);let vo=class extends _0x19fa94{constructor(_0x573986,_0x38b6a2,_0x278347,_0x5b841d){const _0x3ed338=_0x16f7f1;super(),this[_0x3ed338(0x257)]=_0x573986,this['_renderManagerService']=_0x38b6a2,this[_0x3ed338(0x36f)]=_0x278347,this[_0x3ed338(0xe4)]=_0x5b841d,this['_initialize']();}[_0x16f7f1(0x33e)](){const _0x272ec5=_0x16f7f1;this[_0x272ec5(0x4bd)](this[_0x272ec5(0x36f)][_0x272ec5(0x2fc)]['subscribe'](_0x532291=>this[_0x272ec5(0x26c)](_0x532291))),this[_0x272ec5(0x4bd)](this[_0x272ec5(0x36f)]['update$'][_0x272ec5(0x2cb)](_0x4634b4=>{const _0x842721=_0x272ec5;_0x4634b4[_0x842721(0x1ca)](_0x370672=>this['_updateShape'](_0x370672));})),this[_0x272ec5(0x4bd)](this[_0x272ec5(0x257)][_0x272ec5(0x482)](_0xcd54b1=>{const _0x58baff=_0x272ec5;if(_0xcd54b1['id']!==_0x23d787['id'])return;let {unitId:_0x3234b7,shapeId:_0x3f1739}=_0xcd54b1[_0x58baff(0x358)];this[_0x58baff(0x76)]({'unitId':_0x3234b7,'subUnitId':_0x3234b7,'drawingId':_0x3f1739});}));}['updateShapeFillImage'](_0x2c1c95,_0x477306){const _0x15815=_0x16f7f1;let _0x190732=this['_getSceneByUnitId'](_0x2c1c95[_0x15815(0x17d)]),_0x3c6cb3=_0x131e54(_0x2c1c95),_0x2bba5b=_0x190732==null?void 0x0:_0x190732[_0x15815(0x4c9)][_0x15815(0x3df)](_0x3c6cb3);_0x2bba5b==null||_0x2bba5b[_0x15815(0x44e)](_0x477306);}[_0x16f7f1(0x26c)](_0x47ea84){const _0x15bfe5=_0x16f7f1;_0x47ea84[_0x15bfe5(0x1ca)](_0x4024e6=>{const _0x7c1580=_0x15bfe5;var _0x283226;let _0x4d8740=this[_0x7c1580(0x124)](_0x4024e6[_0x7c1580(0x17d)]);if(!_0x4d8740)return;let _0x31dab9=this[_0x7c1580(0x36f)][_0x7c1580(0x26a)](_0x4024e6);(_0x31dab9==null?void 0x0:_0x31dab9[_0x7c1580(0x4b4)])===_0x585e26[_0x7c1580(0x47b)]&&(_0x163121((_0x283226=_0x31dab9[_0x7c1580(0x491)])==null?void 0x0:_0x283226[_0x7c1580(0x270)])&&_0x31dab9[_0x7c1580(0x449)]&&(_0x31dab9[_0x7c1580(0x449)]={..._0x31dab9['transform'],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x7c1580(0x36f)][_0x7c1580(0x19f)]([_0x31dab9]),this[_0x7c1580(0xe4)][_0x7c1580(0x18c)](_0x31dab9,_0x4d8740[_0x7c1580(0x4c9)]));});}['_updateShape'](_0x565be9){const _0x9eb5bd=_0x16f7f1;let _0x519ada=this[_0x9eb5bd(0x36f)][_0x9eb5bd(0x26a)](_0x565be9);if((_0x519ada==null?void 0x0:_0x519ada[_0x9eb5bd(0x4b4)])!==_0x585e26[_0x9eb5bd(0x47b)])return;let _0xe46c2e=this['_getSceneByUnitId'](_0x565be9[_0x9eb5bd(0x17d)]);if(!_0xe46c2e||_0x519ada[_0x9eb5bd(0x449)]==null)return;let _0x39e0cf=_0x131e54(_0x565be9),_0x3c1ecc=_0xe46c2e[_0x9eb5bd(0x4c9)][_0x9eb5bd(0x3df)](_0x39e0cf);_0x3c1ecc&&(_0x3c1ecc[_0x9eb5bd(0x367)](_0x519ada[_0x9eb5bd(0x34b)]),_0x3c1ecc[_0x9eb5bd(0x3e0)](_0x519ada[_0x9eb5bd(0x38b)]),_0x3c1ecc['makeDirty'](!0x0));}[_0x16f7f1(0x76)](_0x12e013){const _0x364eb1=_0x16f7f1;let _0x2847fb=this['_getSceneByUnitId'](_0x12e013[_0x364eb1(0x17d)]);if(!_0x2847fb)return;let _0xe71beb=_0x131e54(_0x12e013),_0x38908d=_0x2847fb['scene']['getObjectIncludeInGroup'](_0xe71beb);_0x38908d&&(this[_0x364eb1(0xe4)][_0x364eb1(0x424)](_0x38908d),_0x38908d[_0x364eb1(0x2d2)](!0x0));}['_getSceneByUnitId'](_0x332c5d){const _0x378025=_0x16f7f1;if(_0x332c5d==null)return null;let _0x42fc9e=this[_0x378025(0x110)]['getRenderById'](_0x332c5d),_0x164df2=_0x42fc9e==null?void 0x0:_0x42fc9e[_0x378025(0x4c9)];return _0x164df2==null?null:{'scene':_0x164df2};}};vo=go([$(0x0,_0x24c807),$(0x1,_0x58e500),$(0x2,_0x16de2e),$(0x3,_0x3bd34c(_o))],vo);function yo(_0x4f68a6){const _0x465c97=_0x16f7f1;var _0x5b8142,_0x5ade12,_0x1e3744,_0x98461,_0x4afb07,_0x6e377f,_0x36d3df,_0x4c87d1,_0x4aca8a,_0x99612d,_0x3bac87,_0x139c59,_0x6d6eaa;let {unitId:_0x5ee3e1,subUnitId:_0x106faa,shapeId:_0x1b1ec2,shapeData:_0x435535,disableShapeOption:_0xa42b27}=_0x4f68a6,_0xdab0b0=_0x4beb35(_0x3e881f),_0x18774d=_0x4beb35(_0x24c807),_0x1a5a57=_0x4beb35(_0x23b81c),_0x12f1f6=_0x4beb35(vo),_0x2c4f61=_0x4beb35(_0x5730e8),_0x4165a7=_0x2cc0d0(null),_0x2d64a5=_0x435535[_0x465c97(0x100)],_0x2c3002=!!(_0x2d64a5!=null&&_0x2d64a5[_0x465c97(0x4a7)]),[_0xa7bce6,_0x16c683]=_0x1ee196((_0x5b8142=_0x2d64a5==null?void 0x0:_0x2d64a5['imageOpacity'])==null?0x1:_0x5b8142),[_0x3533d9,_0x5d0908]=_0x1ee196((_0x5ade12=_0x2d64a5==null?void 0x0:_0x2d64a5[_0x465c97(0x32b)])==null?_0x386b9c[_0x465c97(0x316)]:_0x5ade12),[_0x2a7296,_0x4d0988]=_0x1ee196((_0x1e3744=_0x2d64a5==null?void 0x0:_0x2d64a5[_0x465c97(0x4d5)])==null?!0x1:_0x1e3744),[_0x25c6c3,_0x49de70]=_0x1ee196((_0x98461=_0x2d64a5==null||(_0x4afb07=_0x2d64a5[_0x465c97(0x2fb)])==null?void 0x0:_0x4afb07[_0x465c97(0x233)])==null?0x0:_0x98461),[_0x9d224,_0xf2e39f]=_0x1ee196((_0x6e377f=_0x2d64a5==null||(_0x36d3df=_0x2d64a5['imageTile'])==null?void 0x0:_0x36d3df[_0x465c97(0x1e4)])==null?0x0:_0x6e377f),[_0xc6253e,_0x321100]=_0x1ee196((_0x4c87d1=_0x2d64a5==null||(_0x4aca8a=_0x2d64a5['imageTile'])==null?void 0x0:_0x4aca8a[_0x465c97(0x2c1)])==null?0x1:_0x4c87d1),[_0x1c8310,_0x289ded]=_0x1ee196((_0x99612d=_0x2d64a5==null||(_0x3bac87=_0x2d64a5['imageTile'])==null?void 0x0:_0x3bac87['scaleY'])==null?0x1:_0x99612d),[_0x249060,_0x12904d]=_0x1ee196((_0x139c59=_0x2d64a5==null||(_0x6d6eaa=_0x2d64a5[_0x465c97(0x2fb)])==null?void 0x0:_0x6d6eaa[_0x465c97(0x376)])==null?'tl':_0x139c59),_0x53d1c1=_0x3533d9===_0x386b9c[_0x465c97(0xf9)],_0x4a6848=Math['round']((0x1-_0xa7bce6)*0x64),_0x1df2e8=Math[_0x465c97(0x3ab)](_0xc6253e*0x64),_0x11531c=Math[_0x465c97(0x3ab)](_0x1c8310*0x64),_0x360adb=_0x576a4b=>_0xdab0b0['t'](_0x576a4b),_0x548d6a=[{'label':_0x360adb('docs-shape-ui.fill.picture.align.tl'),'value':'tl'},{'label':_0x360adb(_0x465c97(0x476)),'value':'t'},{'label':_0x360adb('docs-shape-ui.fill.picture.align.tr'),'value':'tr'},{'label':_0x360adb(_0x465c97(0x155)),'value':'l'},{'label':_0x360adb(_0x465c97(0x375)),'value':_0x465c97(0x35f)},{'label':_0x360adb(_0x465c97(0x28d)),'value':'r'},{'label':_0x360adb(_0x465c97(0x475)),'value':'bl'},{'label':_0x360adb(_0x465c97(0x462)),'value':'b'},{'label':_0x360adb(_0x465c97(0x3bd)),'value':'br'}],_0x3ef03b=_0x2a60f7=>{Q(_0x18774d,_0x5ee3e1,_0x106faa,_0x1b1ec2,{'oldShapeData':{'fill':_0x2d64a5?{..._0x2d64a5}:void 0x0}},{'fill':{..._0x2d64a5,..._0x2a60f7}});},_0x3b4dbc=_0x31f6f0=>{const _0x45f961=_0x465c97;_0x3ef03b({'imageTile':{..._0x2d64a5==null?void 0x0:_0x2d64a5[_0x45f961(0x2fb)],..._0x31f6f0}});},_0x18071e=()=>{var _0x1fbf4d;return(_0x1fbf4d=_0x4165a7['current'])==null?void 0x0:_0x1fbf4d['click']();},_0x22889e=async _0x2f35f1=>{const _0x4024c5=_0x465c97;var _0x2be7a9;let _0x457df3=(_0x2be7a9=_0x2f35f1['target'][_0x4024c5(0x11f)])==null?void 0x0:_0x2be7a9[0x0];if(!_0x457df3)return;_0x2f35f1[_0x4024c5(0x348)][_0x4024c5(0x438)]='';let _0x4f0e8a=await _0x2c4f61[_0x4024c5(0x2d6)](_0x457df3);if(_0x4f0e8a==null)return;let {imageSourceType:_0x51cb82,source:_0xeab964,base64Cache:_0x2e2302}=_0x4f0e8a,{image:_0x471f97}=await _0x5c9263(_0x2e2302||'');_0x2c4f61['addImageSourceCache'](_0xeab964,_0x51cb82,_0x471f97),Q(_0x18774d,_0x5ee3e1,_0x106faa,_0x1b1ec2,{'oldShapeData':{'fill':_0x2d64a5?{..._0x2d64a5}:void 0x0}},{'fill':{..._0x2d64a5,'fillType':_0xf0398b[_0x4024c5(0x21d)],'fillImageSource':_0xeab964,'fillImageSourceType':_0x51cb82}}),_0x12f1f6[_0x4024c5(0x85)]({'unitId':_0x5ee3e1,'subUnitId':_0x106faa,'drawingId':_0x1b1ec2},_0x471f97);},_0x36ad91=_0x465c97(0xcd),_0x31b2f2=_0x465c97(0x401);return _0x4ab1dd('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','children':[_0x4ab1dd(_0x465c97(0x255),{'className':_0x465c97(0x247),'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb('docs-shape-ui.fill.picture.source')}),_0x4ab1dd(_0x465c97(0x255),{'className':_0x465c97(0x3bf),'children':[_0x4fd747(_0x465c97(0x10d),{'ref':_0x4165a7,'type':'file','accept':_0x465c97(0x1b9),'className':_0x465c97(0x3e4),'onChange':_0x22889e}),_0x4ab1dd('div',{'className':_0x465c97(0x419),'children':[_0x4fd747(_0x465c97(0x130),{'type':_0x465c97(0x130),'disabled':_0xa42b27,'className':_0x465c97(0x3f7),'onClick':_0x18071e,'children':_0x4ab1dd('span',{'children':[_0x360adb(_0x465c97(0x46a)),'\x20']})}),_0x2c3002&&_0x4fd747(_0x465c97(0x255),{'className':_0x465c97(0x4b2),'children':_0x4fd747(_0x465c97(0x83),{'src':_0x2d64a5==null?void 0x0:_0x2d64a5[_0x465c97(0x4a7)],'alt':'','className':_0x465c97(0x434)})})]})]})]}),_0x4ab1dd(_0x465c97(0x255),{'className':_0x31b2f2,'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb('docs-shape-ui.fill.transparency')}),_0x4fd747('div',{'className':_0x465c97(0x4ed),'children':_0x4fd747(_0x2bfc25,{'className':'univer-w-full','value':_0x4a6848,'disabled':_0xa42b27,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x9f41de=>_0x9f41de+'%','parser':_0x5684db=>(_0x5684db==null?void 0x0:_0x5684db['replace']('%',''))||'','onChange':_0xc50c4f=>{const _0x5343d=_0x465c97;let _0x31b4cc=(0x64-Math[_0x5343d(0x1e0)](0x0,Math['min'](0x64,_0xc50c4f==null?0x0:_0xc50c4f)))/0x64;_0x16c683(_0x31b4cc),_0x3ef03b({'imageOpacity':_0x31b4cc}),_0x1a5a57[_0x5343d(0x43d)](_0x1f4379,!0x1);},'onFocus':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x0),'onBlur':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x1)})})]}),_0x4fd747(_0x199ae6,{'checked':_0x53d1c1,'disabled':_0xa42b27,'onChange':_0x3923bd=>{const _0x22d5d7=_0x465c97;let _0x24672b=_0x3923bd?_0x386b9c['Tile']:_0x386b9c[_0x22d5d7(0x316)];_0x5d0908(_0x24672b),_0x3ef03b({'imageFillMode':_0x24672b});},'children':_0x4fd747(_0x465c97(0x352),{'className':_0x465c97(0x28e),'children':_0x360adb(_0x465c97(0x15d))})}),_0x53d1c1&&_0x4ab1dd(_0x465c97(0x255),{'className':_0x465c97(0x274),'children':[_0x4ab1dd(_0x465c97(0x255),{'className':_0x31b2f2,'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb('docs-shape-ui.fill.picture.offsetX')}),_0x4fd747(_0x465c97(0x255),{'className':'univer-w-20','children':_0x4fd747(_0x2bfc25,{'className':_0x465c97(0xe8),'value':_0x25c6c3,'disabled':_0xa42b27,'step':0x1,'onChange':_0x5ec72e=>{_0x3b4dbc({'offsetX':_0x5ec72e==null?0x0:_0x5ec72e}),_0x49de70(_0x5ec72e==null?0x0:_0x5ec72e);},'onFocus':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x0),'onBlur':()=>_0x1a5a57['setContextValue'](_0x1f4379,!0x1)})})]}),_0x4ab1dd(_0x465c97(0x255),{'className':_0x31b2f2,'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb(_0x465c97(0x22c))}),_0x4fd747('div',{'className':'univer-w-20','children':_0x4fd747(_0x2bfc25,{'className':_0x465c97(0xe8),'value':_0x9d224,'disabled':_0xa42b27,'step':0x1,'onChange':_0x57f2ba=>{_0x3b4dbc({'offsetY':_0x57f2ba==null?0x0:_0x57f2ba}),_0xf2e39f(_0x57f2ba==null?0x0:_0x57f2ba);},'onFocus':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x0),'onBlur':()=>_0x1a5a57['setContextValue'](_0x1f4379,!0x1)})})]}),_0x4ab1dd('div',{'className':_0x31b2f2,'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb('docs-shape-ui.fill.picture.scaleX')}),_0x4fd747('div',{'className':_0x465c97(0x4ed),'children':_0x4fd747(_0x2bfc25,{'className':_0x465c97(0xe8),'value':_0x1df2e8,'disabled':_0xa42b27,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x34ce5a=>_0x34ce5a+'%','parser':_0x435f1b=>(_0x435f1b==null?void 0x0:_0x435f1b['replace']('%',''))||'','onChange':_0xec8519=>{let _0x5d72e4=Math['max'](0.01,(_0xec8519==null?0x64:_0xec8519)/0x64);_0x321100(_0x5d72e4),_0x3b4dbc({'scaleX':_0x5d72e4}),_0x1a5a57['setContextValue'](_0x1f4379,!0x1);},'onFocus':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x0),'onBlur':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x1)})})]}),_0x4ab1dd(_0x465c97(0x255),{'className':_0x31b2f2,'children':[_0x4fd747('span',{'className':_0x36ad91,'children':_0x360adb('docs-shape-ui.fill.picture.scaleY')}),_0x4fd747('div',{'className':'univer-w-20','children':_0x4fd747(_0x2bfc25,{'className':_0x465c97(0xe8),'value':_0x11531c,'disabled':_0xa42b27,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x11bb09=>_0x11bb09+'%','parser':_0x50f868=>(_0x50f868==null?void 0x0:_0x50f868[_0x465c97(0x404)]('%',''))||'','onChange':_0x1e35d0=>{const _0x6016cd=_0x465c97;let _0xda247e=Math[_0x6016cd(0x1e0)](0.01,(_0x1e35d0==null?0x64:_0x1e35d0)/0x64);_0x289ded(_0xda247e),_0x3b4dbc({'scaleY':_0xda247e}),_0x1a5a57[_0x6016cd(0x43d)](_0x1f4379,!0x1);},'onFocus':()=>_0x1a5a57['setContextValue'](_0x1f4379,!0x0),'onBlur':()=>_0x1a5a57[_0x465c97(0x43d)](_0x1f4379,!0x1)})})]}),_0x4ab1dd(_0x465c97(0x255),{'className':_0x31b2f2,'children':[_0x4fd747(_0x465c97(0x352),{'className':_0x36ad91,'children':_0x360adb(_0x465c97(0x13a))}),_0x4fd747(_0x465c97(0x255),{'className':_0x465c97(0x4db),'children':_0x4fd747(_0x5c2f6f,{'className':'univer-w-full','value':_0x249060,'options':_0x548d6a,'disabled':_0xa42b27,'onChange':_0x4dbb2c=>{_0x12904d(_0x4dbb2c),_0x3b4dbc({'alignment':_0x4dbb2c});}})})]})]}),_0x4fd747(_0x199ae6,{'checked':_0x2a7296,'disabled':_0xa42b27,'onChange':_0x450ebd=>{_0x4d0988(_0x450ebd),_0x3ef03b({'imageRotateWithShape':_0x450ebd});},'children':_0x4fd747('span',{'className':_0x465c97(0x28e),'children':_0x360adb('docs-shape-ui.fill.picture.rotateWithShape')})})]});}function bo(_0x1a13e1){const _0x31b5e5=_0x16f7f1;var _0x4b5023,_0x1bae6b;return(_0x4b5023=(_0x1bae6b=_0x1a13e1[_0x31b5e5(0x100)])==null?void 0x0:_0x1bae6b[_0x31b5e5(0x439)])==null?_0xf0398b['NoFill']:_0x4b5023;}function xo(_0x23d78c){const _0x571ac5=_0x16f7f1;var _0x4a3011,_0x1a3767,_0x5c2b32,_0x440c80;let _0x21a278=_0x4beb35(_0x3e881f),_0x958b06=_0x4beb35(_0x24c807),_0x5a5586=_0x4beb35(_0x23b81c),{shapeData:_0x5c96bd,isLineShape:_0x335b7f,unitId:_0x2747ac,subUnitId:_0x41c42e,shapeId:_0x15da1a,disableShapeOption:_0x37ce58}=_0x23d78c,[_0x195cb2,_0x2f23b7]=_0x1ee196(bo(_0x5c96bd)),[_0x4bf942,_0x1894c5]=_0x1ee196((_0x4a3011=(_0x1a3767=_0x5c96bd[_0x571ac5(0x100)])==null?void 0x0:_0x1a3767[_0x571ac5(0x325)])==null?_0x261a0a['fill']:_0x4a3011),[_0x2869a1,_0x2e7402]=_0x1ee196((_0x5c2b32=(_0x440c80=_0x5c96bd['fill'])==null?void 0x0:_0x440c80[_0x571ac5(0x4a6)])==null?0x1:_0x5c2b32),[_0x345058,_0x4c5695]=_0x1ee196(!0x1);if(_0x335b7f)return null;let _0x26faf8=0x64-_0x2869a1*0x64;return _0x4ab1dd(_0x571ac5(0x255),{'className':_0x571ac5(0x42e),'children':[_0x4ab1dd(_0x379676,{'value':_0x195cb2,'disabled':_0x37ce58,'onChange':_0x5c8637=>{const _0x25e02c=_0x571ac5;var _0x1475e6;Q(_0x958b06,_0x2747ac,_0x41c42e,_0x15da1a,{'oldShapeData':{'fill':{'fillType':(_0x1475e6=_0x5c96bd[_0x25e02c(0x100)])==null?void 0x0:_0x1475e6[_0x25e02c(0x439)]}}},{'fill':{'fillType':_0x5c8637}}),_0x2f23b7(_0x5c8637);},'direction':_0x571ac5(0x1da),'children':[_0x4fd747(_0x4d1fa9,{'value':_0xf0398b[_0x571ac5(0x2e9)],'children':_0x4fd747(_0x571ac5(0x352),{'className':_0x571ac5(0x28e),'children':_0x21a278['t'](_0x571ac5(0x156))})}),_0x4fd747(_0x4d1fa9,{'value':_0xf0398b[_0x571ac5(0x267)],'children':_0x4fd747(_0x571ac5(0x352),{'className':_0x571ac5(0x28e),'children':_0x21a278['t'](_0x571ac5(0x1ce))})}),_0x4fd747(_0x4d1fa9,{'value':_0xf0398b[_0x571ac5(0x163)],'children':_0x4fd747(_0x571ac5(0x352),{'className':_0x571ac5(0x28e),'children':_0x21a278['t']('docs-shape-ui.fill.gradientFill')})}),_0x4fd747(_0x4d1fa9,{'value':_0xf0398b[_0x571ac5(0x21d)],'children':_0x4fd747(_0x571ac5(0x352),{'className':'univer-text-sm','children':_0x21a278['t']('docs-shape-ui.fill.pictureFill')})})]}),_0x195cb2===_0xf0398b[_0x571ac5(0x267)]&&_0x4ab1dd(_0x571ac5(0x255),{'className':_0x571ac5(0x168),'children':[_0x4ab1dd(_0x571ac5(0x255),{'className':_0x571ac5(0x20a),'children':[_0x4fd747(_0x571ac5(0x352),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x21a278['t']('docs-shape-ui.fill.color')}),_0x4fd747(_0x1a67c4,{'disabled':_0x37ce58,'overlay':_0x4fd747(_0x571ac5(0x255),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x4fd747(_0x9dc16e,{'value':_0x4bf942,'onChange':_0x4c8c21=>{const _0x367df6=_0x571ac5;var _0x20579b;Q(_0x958b06,_0x2747ac,_0x41c42e,_0x15da1a,{'oldShapeData':{'fill':{'color':(_0x20579b=_0x5c96bd['fill'])==null?void 0x0:_0x20579b[_0x367df6(0x325)]}}},{'fill':{'color':_0x4c8c21}}),_0x1894c5(_0x4c8c21),_0x4c5695(!0x1);}})}),'open':_0x345058,'onOpenChange':_0x4c5695,'children':_0x4ab1dd('a',{'className':_0x571ac5(0x1d9),'children':[_0x4fd747(_0x2f2907,{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x4bf942}}),_0x4fd747(_0x2c89b4,{'className':_0x4f03e7(_0x571ac5(0x3ae),{'univer-rotate-180':_0x345058})})]})})]}),_0x4ab1dd(_0x571ac5(0x255),{'className':_0x571ac5(0x401),'children':[_0x4fd747(_0x571ac5(0x352),{'className':_0x571ac5(0xcd),'children':_0x21a278['t'](_0x571ac5(0x27e))}),_0x4fd747('div',{'className':_0x571ac5(0x4b6),'children':_0x4fd747(_0x571ac5(0x255),{'className':_0x571ac5(0x4ed),'children':_0x4fd747(_0x2bfc25,{'className':'univer-w-full','value':_0x26faf8,'disabled':_0x37ce58,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x2a43b8=>_0x2a43b8+'%','parser':_0x3bb4e6=>(_0x3bb4e6==null?void 0x0:_0x3bb4e6[_0x571ac5(0x404)]('%',''))||'','onChange':_0x5a50ae=>{const _0x3d2621=_0x571ac5;let _0x444994=(0x64-Math[_0x3d2621(0x1e0)](0x0,Math['min'](0x64,_0x5a50ae==null?0x0:_0x5a50ae)))/0x64;_0x2e7402(_0x444994),Q(_0x958b06,_0x2747ac,_0x41c42e,_0x15da1a,{'oldShapeData':{'fill':{..._0x5c96bd[_0x3d2621(0x100)],'fillType':_0x195cb2}}},{'fill':{..._0x5c96bd['fill'],'fillType':_0x195cb2,'opacity':_0x444994}}),_0x5a5586[_0x3d2621(0x43d)](_0x1f4379,!0x1);},'onFocus':()=>_0x5a5586[_0x571ac5(0x43d)](_0x1f4379,!0x0),'onBlur':()=>{const _0x2597d1=_0x571ac5;_0x5a5586[_0x2597d1(0x43d)](_0x1f4379,!0x1);}})})})]})]}),_0x195cb2===_0xf0398b[_0x571ac5(0x163)]&&_0x4fd747(wo,{'shapeData':_0x5c96bd,'disableShapeOption':_0x37ce58,'onUpdate':_0x55fb=>{const _0x387564=_0x571ac5;Q(_0x958b06,_0x2747ac,_0x41c42e,_0x15da1a,{'oldShapeData':{'fill':{..._0x5c96bd[_0x387564(0x100)]}}},{'fill':{..._0x5c96bd[_0x387564(0x100)],..._0x55fb}});}}),_0x195cb2===_0xf0398b[_0x571ac5(0x21d)]&&_0x4fd747(yo,{'unitId':_0x2747ac,'subUnitId':_0x41c42e,'shapeId':_0x15da1a,'shapeData':_0x5c96bd,'disableShapeOption':_0x37ce58})]});}function So(_0x34eeee){const _0x499e28=_0x16f7f1;switch(_0x34eeee){case _0x105550[_0x499e28(0x23f)]:return'linear';case _0x105550['Radial']:return _0x499e28(0x450);case _0x105550[_0x499e28(0x381)]:return'angular';case _0x105550[_0x499e28(0x11c)]:return'diamond';default:return _0x499e28(0x7c);}}function Co(_0x3387bf){const _0x75f409=_0x16f7f1;switch(_0x3387bf){case _0x75f409(0x7c):return _0x105550[_0x75f409(0x23f)];case'radial':return _0x105550[_0x75f409(0x39f)];case _0x75f409(0x273):return _0x105550[_0x75f409(0x381)];case _0x75f409(0x2b3):return _0x105550[_0x75f409(0x11c)];default:return _0x105550['Linear'];}}function wo(_0x50709f){const _0x46ade9=_0x16f7f1;let {shapeData:_0x4a4acc,disableShapeOption:_0x60f837,onUpdate:_0x123cbf}=_0x50709f;return _0x4fd747(_0x46ade9(0x255),{'className':_0x46ade9(0x2ef),'children':_0x4fd747(_0x10f223,{'value':_0xe6bc0e(()=>{const _0x4e321e=_0x46ade9;var _0x34d125;let _0x31d3f6=_0x4a4acc[_0x4e321e(0x100)];return{'type':So(_0x31d3f6==null?void 0x0:_0x31d3f6[_0x4e321e(0x282)]),'angle':(_0x34d125=_0x31d3f6==null?void 0x0:_0x31d3f6[_0x4e321e(0x420)])==null?0x5a:_0x34d125,'stops':_0x31d3f6!=null&&_0x31d3f6[_0x4e321e(0x338)]&&_0x31d3f6[_0x4e321e(0x338)][_0x4e321e(0x230)]>=0x2?_0x31d3f6[_0x4e321e(0x338)]['map'](_0x10ac25=>({'color':_0x10ac25['color'],'offset':_0x10ac25['position']*0x64})):[{'color':(_0x31d3f6==null?void 0x0:_0x31d3f6[_0x4e321e(0x325)])||'#ffffff','offset':0x0},{'color':_0x4e321e(0x224),'offset':0x64}]};},[_0x4a4acc[_0x46ade9(0x100)]]),'onChange':_0x2f9b87=>{const _0x4d9839=_0x46ade9;let _0x3a43c8=Co(_0x2f9b87[_0x4d9839(0x128)]),_0x30515a=_0x2f9b87['angle'];_0x123cbf({'gradientType':_0x3a43c8,'gradientAngle':_0x30515a,'gradientStops':_0x2f9b87[_0x4d9839(0x1fa)]['map'](_0x3c45c5=>({'color':_0x3c45c5['color'],'position':_0x3c45c5[_0x4d9839(0x32c)]/0x64}))});}})});}function To(_0x49df8c){const _0x410644=_0x16f7f1;var _0x29fa98,_0x382bbe,_0x5bae33,_0x39a95a,_0x5ad2cf,_0x2ce59d,_0x530fa0,_0x59e07e,_0x25f6e9,_0x5d0af3,_0x3bfc64,_0x470928,_0x242e97,_0x564e1a,_0x5a516b,_0x3db65e;let _0x464754=_0x4beb35(_0x3e881f),_0x1068d0=_0x4beb35(_0x24c807),_0x39428c=_0x4beb35(_0x23b81c),{shapeData:_0x41a796,isLineShape:_0x4471a8,unitId:_0x4f1956,subUnitId:_0x309166,shapeId:_0x2ce7e4,disableShapeOption:_0x4d94e9}=_0x49df8c,_0x35a497=_0x41a796[_0x410644(0x14a)],[_0x45ae3c,_0x32753b]=_0x1ee196((_0x29fa98=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0xd6)])==null?_0xae9842[_0x410644(0x78)]:_0x29fa98),[_0x3f5331,_0x3b0e74]=_0x1ee196((_0x382bbe=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0x325)])==null?_0x261a0a[_0x410644(0x14a)]:_0x382bbe),[_0x23e980,_0x560790]=_0x1ee196((_0x5bae33=_0x35a497==null?void 0x0:_0x35a497['opacity'])==null?0x1:_0x5bae33),[_0x3ff37d,_0x5ba13b]=_0x1ee196((_0x39a95a=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0x42b)])==null?_0x261a0a[_0x410644(0x46d)]:_0x39a95a),[_0xae69b4,_0x4c1def]=_0x1ee196((_0x5ad2cf=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0x3e1)])==null?_0x4c732a['Solid']:_0x5ad2cf),[_0x4b9c3e,_0x26f217]=_0x1ee196((_0x2ce59d=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0xad)])==null?_0x421d87[_0x410644(0x2ce)]:_0x2ce59d),[_0x24bce7,_0x20f8b8]=_0x1ee196((_0x530fa0=_0x35a497==null?void 0x0:_0x35a497['lineJoinType'])==null?_0x252f29[_0x410644(0x1de)]:_0x530fa0),[_0x584ccb,_0x3ae91d]=_0x1ee196((_0x59e07e=_0x35a497==null?void 0x0:_0x35a497[_0x410644(0x47c)])==null?_0x510a04[_0x410644(0x21e)]:_0x59e07e),_0x5ead9d=_0x41a796,[_0x166b65,_0x104021]=_0x1ee196((_0x25f6e9=(_0x5d0af3=_0x5ead9d['ln'])==null||(_0x5d0af3=_0x5d0af3[_0x410644(0x222)])==null?void 0x0:_0x5d0af3[_0x410644(0x128)])==null?_0x3b6f5e[_0x410644(0x21e)]:_0x25f6e9),[_0x3a9761,_0x2caefb]=_0x1ee196((_0x3bfc64=(_0x470928=_0x5ead9d['ln'])==null||(_0x470928=_0x470928[_0x410644(0x222)])==null?void 0x0:_0x470928[_0x410644(0x499)])==null?_0x26aa78[_0x410644(0x30d)]:_0x3bfc64),[_0x4376fa,_0x1f0739]=_0x1ee196((_0x242e97=(_0x564e1a=_0x5ead9d['ln'])==null||(_0x564e1a=_0x564e1a['endArrow'])==null?void 0x0:_0x564e1a['type'])==null?_0x3b6f5e[_0x410644(0x21e)]:_0x242e97),[_0x4e765c,_0x41ba97]=_0x1ee196((_0x5a516b=(_0x3db65e=_0x5ead9d['ln'])==null||(_0x3db65e=_0x3db65e[_0x410644(0xa0)])==null?void 0x0:_0x3db65e[_0x410644(0x499)])==null?_0x26aa78[_0x410644(0x30d)]:_0x5a516b),[_0x3ce9bc,_0x23e917]=_0x1ee196(!0x1),_0x225bf7=0x64-_0x23e980*0x64,_0x1856df=[{'label':_0x464754['t'](_0x410644(0x1e7)),'value':String(_0x4c732a[_0x410644(0x4e7)])},{'label':_0x464754['t'](_0x410644(0x29d)),'value':String(_0x4c732a[_0x410644(0x40a)])},{'label':_0x464754['t'](_0x410644(0x2d7)),'value':String(_0x4c732a[_0x410644(0x2e2)])},{'label':_0x464754['t']('docs-shape-ui.line.dashType.dash'),'value':String(_0x4c732a[_0x410644(0x4bf)])},{'label':_0x464754['t'](_0x410644(0x295)),'value':String(_0x4c732a['DashDot'])},{'label':_0x464754['t'](_0x410644(0x1df)),'value':String(_0x4c732a['LongDash'])},{'label':_0x464754['t'](_0x410644(0x1af)),'value':String(_0x4c732a[_0x410644(0x4e8)])},{'label':_0x464754['t'](_0x410644(0x465)),'value':String(_0x4c732a[_0x410644(0x6b)])}],_0x9d5fad=[{'label':_0x464754['t'](_0x410644(0x3d8)),'value':String(_0x421d87[_0x410644(0x2ce)])},{'label':_0x464754['t'](_0x410644(0x383)),'value':String(_0x421d87[_0x410644(0x461)])},{'label':_0x464754['t'](_0x410644(0x314)),'value':String(_0x421d87['Square'])}],_0x4d2261=[{'label':_0x464754['t']('docs-shape-ui.line.sketchType.none'),'value':String(_0x510a04[_0x410644(0x21e)])},{'label':_0x464754['t'](_0x410644(0x1ae)),'value':String(_0x510a04[_0x410644(0x97)])},{'label':_0x464754['t'](_0x410644(0xda)),'value':String(_0x510a04[_0x410644(0x3bb)])},{'label':_0x464754['t'](_0x410644(0x92)),'value':String(_0x510a04['HandDrawn'])}],_0x2dfec8=[{'label':_0x464754['t'](_0x410644(0x152)),'value':String(_0x252f29[_0x410644(0x1de)])},{'label':_0x464754['t']('docs-shape-ui.line.joinType.round'),'value':String(_0x252f29['Round'])},{'label':_0x464754['t']('docs-shape-ui.line.joinType.bevel'),'value':String(_0x252f29[_0x410644(0x490)])}],_0x35fd97=[{'label':_0x464754['t'](_0x410644(0x4ba)),'value':String(_0x3b6f5e[_0x410644(0x21e)])},{'label':_0x464754['t'](_0x410644(0x122)),'value':String(_0x3b6f5e[_0x410644(0x1c4)])},{'label':_0x464754['t'](_0x410644(0x192)),'value':String(_0x3b6f5e[_0x410644(0x82)])},{'label':_0x464754['t']('docs-shape-ui.line.arrowType.stealthArrow'),'value':String(_0x3b6f5e[_0x410644(0x391)])},{'label':_0x464754['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(_0x3b6f5e['DiamondArrow'])},{'label':_0x464754['t'](_0x410644(0x410)),'value':String(_0x3b6f5e[_0x410644(0x303)])}],_0x47538f=[{'label':_0x464754['t'](_0x410644(0x204)),'value':String(_0x26aa78['Small'])},{'label':_0x464754['t'](_0x410644(0x1c0)),'value':String(_0x26aa78[_0x410644(0x30d)])},{'label':_0x464754['t'](_0x410644(0x187)),'value':String(_0x26aa78[_0x410644(0x481)])}];return _0x4ab1dd(_0x410644(0x255),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[_0x4ab1dd(_0x379676,{'value':String(_0x45ae3c),'disabled':_0x4d94e9,'onChange':_0x38eff5=>{const _0x18a9cc=_0x410644;var _0x452716;_0x32753b(Number(_0x38eff5)),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x452716=_0x41a796[_0x18a9cc(0x14a)])==null?void 0x0:_0x452716[_0x18a9cc(0xd6)]}}},{'stroke':{'lineStrokeType':Number(_0x38eff5)}});},'direction':_0x410644(0x1da),'children':[_0x4fd747(_0x4d1fa9,{'value':String(_0xae9842['NoLine']),'children':_0x4fd747('span',{'className':'univer-text-sm','children':_0x464754['t'](_0x410644(0x4b1))})}),_0x4fd747(_0x4d1fa9,{'value':String(_0xae9842[_0x410644(0x78)]),'children':_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x28e),'children':_0x464754['t']('docs-shape-ui.line.solidLine')})})]}),_0x45ae3c!==_0xae9842[_0x410644(0x259)]&&_0x4ab1dd(_0x410644(0x255),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x32d))}),_0x4fd747(_0x1a67c4,{'disabled':_0x4d94e9,'overlay':_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x35b),'children':_0x4fd747(_0x9dc16e,{'value':_0x3f5331,'onChange':_0x116975=>{const _0x385e6f=_0x410644;var _0x3e6f33;Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'color':(_0x3e6f33=_0x41a796[_0x385e6f(0x14a)])==null?void 0x0:_0x3e6f33['color']}}},{'stroke':{'color':_0x116975}}),_0x3b0e74(_0x116975),_0x23e917(!0x1);}})}),'open':_0x3ce9bc,'onOpenChange':_0x23e917,'children':_0x4ab1dd('a',{'className':_0x410644(0x1d9),'children':[_0x4fd747(_0x2f2907,{'className':_0x410644(0x2f3),'extend':{'colorChannel1':_0x3f5331}}),_0x4fd747(_0x2c89b4,{'className':_0x4f03e7(_0x410644(0x3ae),{'univer-rotate-180':_0x3ce9bc})})]})})]}),_0x4ab1dd(_0x410644(0x255),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x4fd747('span',{'className':_0x410644(0xcd),'children':_0x464754['t'](_0x410644(0x96))}),_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x401),'children':_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x4be),'children':_0x4fd747(_0x2bfc25,{'className':_0x410644(0xe8),'value':_0x225bf7,'disabled':_0x4d94e9,'min':0x0,'max':0x64,'formatter':_0x3ebe4d=>_0x3ebe4d+'%','parser':_0x2fc78e=>(_0x2fc78e==null?void 0x0:_0x2fc78e[_0x410644(0x404)]('%',''))||'','onChange':_0x4ec4ce=>{const _0x19a2c2=_0x410644;var _0x4367fa;let _0x178276=(0x64-Math[_0x19a2c2(0x1e0)](0x0,Math['min'](0x64,_0x4ec4ce==null?0x0:_0x4ec4ce)))/0x64;_0x560790(_0x178276),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'opacity':(_0x4367fa=_0x41a796[_0x19a2c2(0x14a)])==null?void 0x0:_0x4367fa[_0x19a2c2(0x4a6)]}}},{'stroke':{'opacity':_0x178276}}),_0x39428c[_0x19a2c2(0x43d)](_0x1f4379,!0x1);},'onFocus':()=>_0x39428c[_0x410644(0x43d)](_0x1f4379,!0x0),'onBlur':_0x23addf=>{_0x39428c['setContextValue'](_0x1f4379,!0x1);}})})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x401),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t']('docs-shape-ui.line.width')}),_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x4ed),'children':_0x4fd747(_0x2bfc25,{'className':'univer-w-full','disabled':_0x4d94e9,'value':_0x3ff37d,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x4a326d=>_0x4a326d+'\x20px','parser':_0x2d4427=>(_0x2d4427==null?void 0x0:_0x2d4427[_0x410644(0x404)](_0x410644(0x330),''))||'','onChange':_0x188c7=>{const _0x179357=_0x410644;if(!Number[_0x179357(0xd9)](_0x188c7)&&_0x188c7!==null){var _0x122e34;Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'width':(_0x122e34=_0x41a796[_0x179357(0x14a)])==null?void 0x0:_0x122e34[_0x179357(0x42b)]}}},{'stroke':{'width':_0x188c7}});}_0x39428c[_0x179357(0x43d)](_0x1f4379,!0x1);},'onFocus':()=>_0x39428c[_0x410644(0x43d)](_0x1f4379,!0x0),'onBlur':_0x216eb9=>{const _0x1e74fc=_0x410644;_0x39428c[_0x1e74fc(0x43d)](_0x1f4379,!0x1);}})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x284))}),_0x4fd747(_0x410644(0x255),{'className':'univer-w-28','children':_0x4fd747(_0x5c2f6f,{'className':_0x410644(0xe8),'value':String(_0xae69b4),'options':_0x1856df,'disabled':_0x4d94e9,'onChange':_0x366431=>{const _0x49d9c0=_0x410644;var _0x439194;_0x4c1def(Number(_0x366431)),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'dashType':(_0x439194=_0x41a796['stroke'])==null?void 0x0:_0x439194[_0x49d9c0(0x3e1)]}}},{'stroke':{'dashType':Number(_0x366431)}});}})})]}),_0x4ab1dd('div',{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x12f))}),_0x4fd747('div',{'className':_0x410644(0x4db),'children':_0x4fd747(_0x5c2f6f,{'className':_0x410644(0xe8),'value':String(_0x4b9c3e),'options':_0x9d5fad,'disabled':_0x4d94e9,'onChange':_0x233291=>{const _0x2094b2=_0x410644;var _0x32decf;_0x26f217(Number(_0x233291)),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'capType':(_0x32decf=_0x41a796[_0x2094b2(0x14a)])==null?void 0x0:_0x32decf[_0x2094b2(0xad)]}}},{'stroke':{'capType':Number(_0x233291)}});}})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x307))}),_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x4db),'children':_0x4fd747(_0x5c2f6f,{'className':'univer-w-full','value':String(_0x24bce7),'options':_0x2dfec8,'disabled':_0x4d94e9,'onChange':_0x210c1f=>{const _0x412fd5=_0x410644;var _0x3ba530;_0x20f8b8(Number(_0x210c1f)),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'lineJoinType':(_0x3ba530=_0x41a796[_0x412fd5(0x14a)])==null?void 0x0:_0x3ba530[_0x412fd5(0x1ac)]}}},{'stroke':{'lineJoinType':Number(_0x210c1f)}});}})})]}),!_0x4471a8&&_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x464754['t'](_0x410644(0x3dd))}),_0x4fd747(_0x410644(0x255),{'className':_0x410644(0x4db),'children':_0x4fd747(_0x5c2f6f,{'className':_0x410644(0xe8),'value':String(_0x584ccb),'options':_0x4d2261,'disabled':_0x4d94e9,'onChange':_0x24d183=>{const _0x4f4572=_0x410644;var _0x4f719b;_0x3ae91d(Number(_0x24d183)),Q(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'stroke':{'sketchType':(_0x4f719b=_0x41a796[_0x4f4572(0x14a)])==null?void 0x0:_0x4f719b[_0x4f4572(0x47c)]}}},{'stroke':{'sketchType':Number(_0x24d183)}});}})})]}),_0x4471a8&&_0x4ab1dd(_0x3cbc5d,{'children':[_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x464754['t'](_0x410644(0xac))}),_0x4fd747('div',{'className':'univer-w-28','children':_0x4fd747(_0x5c2f6f,{'className':_0x410644(0xe8),'value':String(_0x166b65),'options':_0x35fd97,'onChange':_0x155ec8=>{const _0x4fd6e5=_0x410644;var _0x52f79f;_0x104021(Number(_0x155ec8)),fo(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x52f79f=_0x41a796['ln'])==null||(_0x52f79f=_0x52f79f['startArrow'])==null?void 0x0:_0x52f79f[_0x4fd6e5(0x128)]}}}},{'ln':{'startArrow':{'type':Number(_0x155ec8)}}});}})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x464754['t'](_0x410644(0x158))}),_0x4fd747(_0x410644(0x255),{'className':'univer-w-28','children':_0x4fd747(_0x5c2f6f,{'className':'univer-w-full','value':String(_0x3a9761),'options':_0x47538f,'onChange':_0x12b28f=>{const _0x37792a=_0x410644;var _0x319861;_0x2caefb(Number(_0x12b28f)),fo(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x319861=_0x41a796['ln'])==null||(_0x319861=_0x319861[_0x37792a(0x222)])==null?void 0x0:_0x319861[_0x37792a(0x499)]}}}},{'ln':{'startArrow':{'size':Number(_0x12b28f)}}});}})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x1bb))}),_0x4fd747(_0x410644(0x255),{'className':'univer-w-28','children':_0x4fd747(_0x5c2f6f,{'className':'univer-w-full','value':String(_0x4376fa),'options':_0x35fd97,'onChange':_0x3a5d83=>{const _0x17ad27=_0x410644;var _0x575239;_0x1f0739(Number(_0x3a5d83)),fo(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x575239=_0x41a796['ln'])==null||(_0x575239=_0x575239[_0x17ad27(0xa0)])==null?void 0x0:_0x575239['type']}}}},{'ln':{'endArrow':{'type':Number(_0x3a5d83)}}});}})})]}),_0x4ab1dd(_0x410644(0x255),{'className':_0x410644(0x20a),'children':[_0x4fd747(_0x410644(0x352),{'className':_0x410644(0x1a3),'children':_0x464754['t'](_0x410644(0x108))}),_0x4fd747(_0x410644(0x255),{'className':'univer-w-28','children':_0x4fd747(_0x5c2f6f,{'className':_0x410644(0xe8),'value':String(_0x4e765c),'options':_0x47538f,'onChange':_0x3f38ae=>{const _0x585de4=_0x410644;var _0x3c22c4;_0x41ba97(Number(_0x3f38ae)),fo(_0x1068d0,_0x4f1956,_0x309166,_0x2ce7e4,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x3c22c4=_0x41a796['ln'])==null||(_0x3c22c4=_0x3c22c4[_0x585de4(0xa0)])==null?void 0x0:_0x3c22c4['size']}}}},{'ln':{'endArrow':{'size':Number(_0x3f38ae)}}});}})})]})]})]})]});}function Eo(){const _0x1e9921=_0x16f7f1;let _0x5a487b=_0x4beb35(_0x16de2e),[_0x425749,_0x1b066f]=_0x1ee196(_0x5a487b[_0x1e9921(0x1f4)]());return _0x1db944(()=>{const _0xaf347d=_0x1e9921;let _0x3cebde=_0x5a487b[_0xaf347d(0x356)][_0xaf347d(0x2cb)](_0x12f31c=>{_0x1b066f(_0x12f31c);});return()=>{const _0x22c498=_0xaf347d;_0x3cebde[_0x22c498(0x493)]();};},[]),_0x425749['length']===0x0?null:_0x4fd747(_0x1e9921(0x255),{'children':_0x4ab1dd(_0x1e9921(0x255),{'className':_0x1e9921(0x445),'children':[_0x4fd747(_0xde0a6e,{'drawings':_0x425749,'hasCropper':!0x1}),_0x4fd747(_0x120005,{'drawings':_0x425749}),_0x4fd747(_0x2e2711,{'drawings':_0x425749})]})});}function Do(_0x11a435){const _0x51fe77=_0x16f7f1;let {shapeData:_0x422f8b,shapeId:_0x24facc,shapeType:_0x1f32b5,version:_0x4c1bd7,unitId:_0x5e8f0a,subUnitId:_0x11d278,disableShapeOption:_0x88fa33}=_0x11a435,_0x28d9bb=_0x4beb35(_0x3e881f),_0x2014ce=_0x163121(_0x1f32b5),[_0x573d04,_0x1ff401]=_0x1ee196(0x0),_0x1c2c76=[{'label':_0x4fd747(_0x51fe77(0x255),{'children':_0x28d9bb['t'](_0x51fe77(0x3ef))}),'children':_0x4fd747(_0x51fe77(0x355),{'className':_0x51fe77(0x3e7),'children':_0x4fd747(xo,{'shapeId':_0x24facc,'shapeData':_0x422f8b,'isLineShape':_0x2014ce,'subUnitId':_0x11d278,'unitId':_0x5e8f0a,'disableShapeOption':_0x88fa33},_0x24facc)})},{'label':_0x4fd747('div',{'children':_0x28d9bb['t'](_0x51fe77(0x345))}),'children':_0x4fd747(_0x51fe77(0x355),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4fd747(To,{'shapeId':_0x24facc,'shapeData':_0x422f8b,'isLineShape':_0x2014ce,'subUnitId':_0x11d278,'unitId':_0x5e8f0a,'disableShapeOption':_0x88fa33},_0x24facc)})}];return _0x4ab1dd(_0x51fe77(0x255),{'className':_0x51fe77(0x3d6),'children':[_0x4ab1dd('div',{'className':_0x51fe77(0x4d6),'children':[_0x4ab1dd('div',{'className':_0x4f03e7(_0x51fe77(0x256),_0x573d04===0x0?_0x51fe77(0x3d5):_0x51fe77(0x2f3)),'onClick':()=>_0x1ff401(0x0),'children':[_0x28d9bb['t']('docs-shape-ui.shapeStyle'),_0x4fd747('div',{'className':_0x4f03e7(_0x51fe77(0x8f),{'univer-bg-primary-600':_0x573d04===0x0,'univer-bg-transparent':_0x573d04!==0x0})})]}),_0x4ab1dd(_0x51fe77(0x255),{'className':_0x4f03e7(_0x51fe77(0x256),{'univer-text-primary-600':_0x573d04===0x1,'univer-text-gray-500':_0x573d04!==0x1}),'onClick':()=>_0x1ff401(0x1),'children':[_0x28d9bb['t'](_0x51fe77(0x4e3)),_0x4fd747(_0x51fe77(0x255),{'className':_0x4f03e7('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600',{'univer-bg-primary-600':_0x573d04===0x1,'univer-bg-transparent':_0x573d04!==0x1})})]})]}),_0x4fd747(_0x51fe77(0x255),{'className':'univer-flex-1\x20univer-overflow-auto','children':_0x573d04===0x0?_0x4fd747(_0x51fe77(0x255),{'className':'','children':_0x4fd747(_0x1660f8,{'items':_0x1c2c76})},_0x4c1bd7):_0x4fd747(Eo,{})})]});}function Oo(_0x347e1f,_0x2b304f=_0x2a6bb4[_0x16f7f1(0x3e9)]){const _0x1a7c29=_0x16f7f1;return{'id':_0x1a7c29(0x3ad),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x2b304f}}]},'documentStyle':{'textStyle':_0x347e1f?{..._0x347e1f}:void 0x0}};}function ko(_0x538e70,_0x68b6e8){const _0x12a102=_0x16f7f1;var _0x255fa0,_0x4e4a0d;let _0x5bf854=_0x538e70[_0x12a102(0x2f9)],_0x1a34b1=_0x5bf854&&_0x12a102(0x1bf)in _0x5bf854?_0x5bf854[_0x12a102(0x1bf)]:void 0x0,_0xb0d39b=(_0x255fa0=(_0x4e4a0d=_0x68b6e8[_0x12a102(0x3b6)])==null?_0x1a34b1==null?void 0x0:_0x1a34b1['ha']:_0x4e4a0d)==null?_0x2a6bb4[_0x12a102(0x3e9)]:_0x255fa0;if(_0x1a34b1!=null&&_0x1a34b1[_0x12a102(0x2ff)]){var _0x3ffcde,_0x592d32;return{'va':(_0x3ffcde=_0x1a34b1['va'])==null?_0x3a5684[_0x12a102(0x212)]:_0x3ffcde,'ha':(_0x592d32=_0x1a34b1['ha'])==null?_0x2a6bb4[_0x12a102(0x3e9)]:_0x592d32,'doc':_0x4db755[_0x12a102(0x34c)](_0x1a34b1[_0x12a102(0x2ff)])};}return{'va':_0x3a5684['TOP'],'ha':_0xb0d39b,'doc':Oo(_0x68b6e8[_0x12a102(0x117)],_0xb0d39b)};}function Ao(_0x5960d8,_0x2867da){const _0x5a28bc=_0x16f7f1;var _0x16d5a7,_0xeabcd8,_0x45607c,_0x3e395f;let _0x201886=_0x5960d8[_0x5a28bc(0x2f9)],_0x5dbdb5=ko(_0x5960d8,_0x2867da),_0x538065=(_0x16d5a7=_0x2867da['horizontalAlign'])==null?_0x5dbdb5['ha']:_0x16d5a7,_0x3d8999=(_0xeabcd8=_0x2867da[_0x5a28bc(0x39c)])==null?_0x5dbdb5['va']:_0xeabcd8,_0x24966d=_0x5dbdb5[_0x5a28bc(0x2ff)];if(_0x2867da[_0x5a28bc(0x117)]){var _0x56ea06,_0x4a02da;_0x24966d[_0x5a28bc(0x332)]={..._0x24966d[_0x5a28bc(0x332)],'textStyle':{...(_0x56ea06=_0x24966d[_0x5a28bc(0x332)])==null?void 0x0:_0x56ea06['textStyle'],..._0x2867da['textStyle']}};let _0x17ff84=(_0x4a02da=_0x24966d[_0x5a28bc(0x4c1)])==null?void 0x0:_0x4a02da[_0x5a28bc(0x346)];if(_0x17ff84){for(let _0x125c48 of _0x17ff84)_0x125c48['ts']={..._0x125c48['ts'],..._0x2867da['textStyle']};}}let _0x5acb98=(_0x45607c=_0x24966d['body'])==null?void 0x0:_0x45607c[_0x5a28bc(0x440)];if(_0x5acb98){for(let _0x1414be of _0x5acb98)_0x1414be[_0x5a28bc(0x3ce)]={..._0x1414be[_0x5a28bc(0x3ce)],'horizontalAlign':_0x538065};}return{'shapeText':{'isHorizontal':(_0x3e395f=_0x201886==null?void 0x0:_0x201886['isHorizontal'])==null?!0x0:_0x3e395f,'dataModel':{'va':_0x3d8999,'ha':_0x538065,'doc':_0x24966d}}};}const jo=_0x16f7f1(0x2f7);function Mo(_0x17eb32){const _0xbd55fc=_0x16f7f1;let _0x52bee0=_0x17eb32[_0xbd55fc(0x2f9)];return _0x52bee0&&_0xbd55fc(0x1bf)in _0x52bee0&&_0x52bee0['dataModel']?_0x52bee0[_0xbd55fc(0x1bf)]:null;}function No(_0x4b7dc3){const _0x438fb5=_0x16f7f1;var _0x348450,_0x2ff7ab,_0x30ad4d,_0x10e2db;let _0x2d5660=(_0x348450=Mo(_0x4b7dc3))==null?void 0x0:_0x348450[_0x438fb5(0x2ff)],_0x45eb9b=(_0x2ff7ab=_0x2d5660==null||(_0x30ad4d=_0x2d5660[_0x438fb5(0x4c1)])==null||(_0x30ad4d=_0x30ad4d[_0x438fb5(0x346)])==null||(_0x30ad4d=_0x30ad4d[0x0])==null?void 0x0:_0x30ad4d['ts'])==null?{}:_0x2ff7ab;return{..._0x2d5660==null||(_0x10e2db=_0x2d5660[_0x438fb5(0x332)])==null?void 0x0:_0x10e2db[_0x438fb5(0x117)],..._0x45eb9b};}function Po(_0x29f426,_0x1d66ca){const _0x1ffb28=_0x16f7f1;var _0x16c8c5;let _0x1b72d0=_0x29f426==null||(_0x16c8c5=_0x29f426['getSnapshot']()[_0x1ffb28(0x136)])==null?void 0x0:_0x16c8c5[_0x1d66ca];return _0x1b72d0?_0x1b72d0['layoutType']===_0x32d8cc[_0x1ffb28(0x21b)]?_0x1b72d0[_0x1ffb28(0x309)]===_0x3ff23e[_0x1ffb28(0x95)]?_0x1ffb28(0x403):_0x1ffb28(0x37b):_0x1b72d0['layoutType']===_0x32d8cc['WRAP_SQUARE']?_0x1ffb28(0x142):_0x1b72d0['layoutType']===_0x32d8cc[_0x1ffb28(0x80)]?_0x1ffb28(0x300):_0x1ffb28(0x14c):_0x1ffb28(0x14c);}function Fo(){const _0x798a41=_0x16f7f1;return _0x4fd747(_0x798a41(0x352),{'className':_0x798a41(0x1c7)});}function Io(){const _0x1a09aa=_0x16f7f1;return _0x4ab1dd(_0x1a09aa(0x13e),{'viewBox':_0x1a09aa(0x350),'width':_0x1a09aa(0x2a3),'height':'1em','fill':'none','aria-hidden':_0x1a09aa(0x2e5),'children':[_0x4fd747(_0x1a09aa(0x357),{'d':'M2.5\x204.5H8.2','stroke':_0x1a09aa(0x89),'strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':_0x1a09aa(0x3ab)}),_0x4fd747(_0x1a09aa(0x357),{'d':_0x1a09aa(0x21f),'stroke':'currentColor','strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':_0x1a09aa(0x3ab)}),_0x4fd747('path',{'d':_0x1a09aa(0x10f),'stroke':_0x1a09aa(0x89),'strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':'round'}),_0x4fd747(_0x1a09aa(0x357),{'d':_0x1a09aa(0x2cf),'stroke':_0x1a09aa(0x89),'strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':'round'}),_0x4fd747(_0x1a09aa(0x357),{'d':_0x1a09aa(0x1dc),'stroke':_0x1a09aa(0x89),'strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':'round'}),_0x4fd747(_0x1a09aa(0x357),{'d':_0x1a09aa(0x159),'stroke':'currentColor','strokeWidth':_0x1a09aa(0x49f),'strokeLinecap':_0x1a09aa(0x3ab)}),_0x4fd747(_0x1a09aa(0x174),{'x':'6.8','y':'7','width':_0x1a09aa(0x3d4),'height':'6','rx':'1','stroke':_0x1a09aa(0x89),'strokeWidth':_0x1a09aa(0x49f)})]});}function Lo(_0x417901){const _0x1f484c=_0x16f7f1;return _0x417901 instanceof HTMLElement?!!_0x417901[_0x1f484c(0x195)](_0x1f484c(0x377)):!0x1;}function Ro(_0x280463){const _0x5d5fbc=_0x16f7f1;return _0x4fd747('div',{'className':_0x5d5fbc(0x37c),'children':_0x280463['children']});}function zo(_0x313924){const _0x5cffda=_0x16f7f1;return _0x4fd747(_0x56d752,{'title':_0x313924[_0x5cffda(0x312)],'placement':_0x5cffda(0x4c6),'children':_0x4fd747(_0x5cffda(0x130),{'type':'button','disabled':_0x313924[_0x5cffda(0xe7)],'onClick':_0x313924[_0x5cffda(0x2b0)],'className':_0x4f03e7('univer-flex\x20univer-h-6\x20univer-w-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700',{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x313924[_0x5cffda(0x4f2)]}),'children':_0x313924['children']})});}function Bo(_0x2fe822){const _0x4cabc8=_0x16f7f1;let [_0x1e6cca,_0x47c6f1]=_0x1ee196(!0x1);return _0x4fd747(_0x1a67c4,{'disabled':_0x2fe822[_0x4cabc8(0xe7)],'open':_0x1e6cca,'onOpenChange':_0x47c6f1,'overlay':_0x4fd747(_0x4cabc8(0x255),{'className':_0x4cabc8(0x3fc),'children':_0x4fd747(_0x9dc16e,{'value':_0x2fe822['color'],'onChange':_0x464aef=>{_0x2fe822['onChange'](_0x464aef),_0x47c6f1(!0x1);}})}),'children':_0x4fd747('span',{'children':_0x4fd747(_0x56d752,{'title':_0x2fe822[_0x4cabc8(0x312)],'placement':_0x4cabc8(0x4c6),'children':_0x4ab1dd(_0x4cabc8(0x130),{'type':_0x4cabc8(0x130),'disabled':_0x2fe822['disabled'],'className':_0x4cabc8(0x3f9),'children':[_0x2fe822[_0x4cabc8(0x39b)],_0x4fd747('span',{'className':_0x4cabc8(0x17c),'style':{'backgroundColor':_0x2fe822[_0x4cabc8(0x325)]}})]})})})});}function Vo(_0x3541dd){const _0x25fa0c=_0x16f7f1;var _0x3f8c7a;let [_0x1cb26f,_0x169088]=_0x1ee196(!0x1),_0x29f6b5=(_0x3f8c7a=_0x3541dd['options'][_0x25fa0c(0xdc)](_0x123436=>_0x123436[_0x25fa0c(0x438)]===_0x3541dd[_0x25fa0c(0x438)]))==null?_0x3541dd[_0x25fa0c(0x2e0)][0x0]:_0x3f8c7a;return _0x4fd747(_0x1a67c4,{'open':_0x1cb26f,'onOpenChange':_0x169088,'overlay':_0x4fd747(_0x25fa0c(0x255),{'className':_0x25fa0c(0x2bf),'children':_0x3541dd[_0x25fa0c(0x2e0)][_0x25fa0c(0x37f)](_0x382e4b=>_0x4ab1dd(_0x25fa0c(0x130),{'type':_0x25fa0c(0x130),'onClick':()=>{const _0x197df5=_0x25fa0c;_0x3541dd[_0x197df5(0x2ba)](_0x382e4b[_0x197df5(0x438)]),_0x169088(!0x1);},'className':_0x4f03e7(_0x25fa0c(0x3e5),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x382e4b[_0x25fa0c(0x438)]===_0x3541dd[_0x25fa0c(0x438)]}),'children':[_0x4fd747(_0x25fa0c(0x352),{'className':_0x25fa0c(0x1c1),'children':_0x382e4b[_0x25fa0c(0x231)]}),_0x4fd747(_0x25fa0c(0x352),{'className':'univer-flex-1','children':_0x382e4b[_0x25fa0c(0x4a3)]})]},_0x382e4b[_0x25fa0c(0x438)]))}),'children':_0x4fd747(_0x25fa0c(0x352),{'children':_0x4fd747(_0x56d752,{'title':_0x3541dd[_0x25fa0c(0x312)],'placement':_0x25fa0c(0x4c6),'children':_0x4ab1dd(_0x25fa0c(0x130),{'type':_0x25fa0c(0x130),'className':_0x4f03e7(_0x25fa0c(0x432),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x1cb26f}),'children':[_0x29f6b5[_0x25fa0c(0x231)],_0x4fd747(_0x2c89b4,{'className':_0x25fa0c(0x3ec)})]})})})});}function Ho(_0x57282f){const _0x2e0165=_0x16f7f1;var _0x4b505c,_0x352b0c,_0x57770d,_0x2faa98,_0x3be4fd,_0x3aed74,_0x21139a,_0x296f47,_0x2d53ef,_0x47a91e,_0x16c1c0,_0x2070e5,_0x5f1e2d,_0x46bfaf,_0x469f34,_0x345412,_0x2daea6,_0x123beb,_0x262bc5,_0x7ac814,_0x584c8c;let _0x535b6f=_0x57282f[_0x2e0165(0x4eb)][_0x2e0165(0x388)];if(!_0x535b6f)return null;let _0x2346de=_0x4beb35(_0x24c807),_0x1eb5f2=_0x4beb35(_0x3e881f),_0x175706=_0x4beb35(_0x3c18a4),_0x2166da=_0x4beb35(_0x36e98e),_0x3b2fe7=_0x4beb35(_0x23b81c),_0x942043=_0x4beb35(_0x48d64c),{unitId:_0x261bab,subUnitId:_0x64afa6,drawingId:_0x248786,shapeType:_0x5b0e67}=_0x535b6f,[_0x2e0d44,_0x43279c]=_0x1ee196(_0x535b6f[_0x2e0165(0x16a)]),[_0x2e51b1,_0x5eb475]=_0x1ee196(!0x1),[_0x12f017,_0x264b51]=_0x1ee196(()=>_0x942043[_0x2e0165(0x275)]()),_0x24b242=(_0x4b505c=_0x2166da[_0x2e0165(0x21c)](_0x261bab,_0x300c45[_0x2e0165(0x483)]))==null?void 0x0:_0x4b505c,[_0x5d3bef,_0x54a221]=_0x1ee196(()=>Po(_0x24b242,_0x248786)),_0x5f1b8c=_0x163121(_0x5b0e67),_0x126875=_0xe6bc0e(()=>No(_0x2e0d44),[_0x2e0d44]),_0x3e749e=_0xe6bc0e(()=>Mo(_0x2e0d44),[_0x2e0d44]);_0x1db944(()=>{const _0x3b193a=_0x2e0165;let _0x1ef955=_0x2346de[_0x3b193a(0x482)](_0x4a7b4d=>{const _0x2e7007=_0x3b193a;if(_0x4a7b4d['id']!==_0x23d787['id'])return;let _0x7245a4=_0x175706[_0x2e7007(0x244)](_0x261bab,_0x64afa6,_0x248786);_0x7245a4&&_0x43279c(_0x7245a4);});return()=>_0x1ef955[_0x3b193a(0x451)]();},[_0x2346de,_0x175706,_0x248786,_0x64afa6,_0x261bab]),_0x1db944(()=>{const _0x385233=_0x2e0165;let _0x3b23d8=_0x942043[_0x385233(0x180)][_0x385233(0x2cb)](_0x4bf5c2=>{_0x264b51(_0x4bf5c2);});return()=>_0x3b23d8[_0x385233(0x493)]();},[_0x942043]);let _0x445c62=_0x417045=>{_0x43279c(_0x38242a=>({..._0x38242a,..._0x417045}));},_0x497d4d=_0xa9a23c=>{let _0x12c01c=Ao(_0x2e0d44,_0xa9a23c);Q(_0x2346de,_0x261bab,_0x64afa6,_0x248786,{'oldShapeData':{'shapeText':_0x2e0d44['shapeText']}},_0x12c01c),_0x445c62(_0x12c01c);},_0x4c19f8=_0x21a31e=>{const _0x46a588=_0x2e0165;_0x54a221(_0x21a31e),_0x2346de[_0x46a588(0x46b)](_0x46a588(0x248),{'unitId':_0x261bab,'subUnitId':_0x64afa6,'drawings':[{'unitId':_0x261bab,'subUnitId':_0x64afa6,'drawingId':_0x248786}],'wrappingStyle':_0x21a31e});};if(_0x2e51b1)return null;let _0x4482ec=(_0x352b0c=(_0x57770d=_0x2e0d44['fill'])==null?void 0x0:_0x57770d[_0x2e0165(0x325)])==null?_0x2e0165(0x306):_0x352b0c,_0xdb3e4=(_0x2faa98=(_0x3be4fd=_0x2e0d44[_0x2e0165(0x14a)])==null?void 0x0:_0x3be4fd[_0x2e0165(0x325)])==null?_0x2e0165(0x1a9):_0x2faa98,_0x3b2385=(_0x3aed74=(_0x21139a=_0x126875['cl'])==null?void 0x0:_0x21139a[_0x2e0165(0x35c)])==null?'#111827':_0x3aed74,_0x53cdd2=(_0x296f47=(_0x2d53ef=_0x126875['bg'])==null?void 0x0:_0x2d53ef[_0x2e0165(0x35c)])==null?_0x2e0165(0x4ef):_0x296f47,_0x5cd4c5=(_0x47a91e=_0x126875['ff'])==null?_0x2e0165(0x2b8):_0x47a91e,_0x300aaa=(_0x16c1c0=_0x126875['fs'])==null?0xe:_0x16c1c0,_0x33ac12=_0x126875['bl']===_0x3ff23e[_0x2e0165(0x95)],_0x3673f4=_0x126875['it']===_0x3ff23e[_0x2e0165(0x95)],_0x478973=((_0x2070e5=_0x126875['ul'])==null?void 0x0:_0x2070e5['s'])===_0x3ff23e['TRUE'],_0x241333=((_0x5f1e2d=_0x126875['st'])==null?void 0x0:_0x5f1e2d['s'])===_0x3ff23e['TRUE'],_0x3aa052=_0x12f017[_0x2e0165(0x37f)](_0x20c9a5=>({'label':_0x1eb5f2['t'](_0x20c9a5['label']),'value':_0x20c9a5['value']})),_0x518b68=_0x37dadf['map'](_0x5ea6ba=>({'label':_0x5ea6ba['label'],'value':String(_0x5ea6ba[_0x2e0165(0x438)])})),_0x36420e=(_0x46bfaf=_0x3e749e==null?void 0x0:_0x3e749e['ha'])==null?_0x2a6bb4[_0x2e0165(0x3e9)]:_0x46bfaf,_0x5e05bf=(_0x469f34=_0x3e749e==null?void 0x0:_0x3e749e['va'])==null?_0x3a5684[_0x2e0165(0x212)]:_0x469f34,_0x1018f1=[{'label':_0x1eb5f2['t'](_0x2e0165(0x4c8)),'value':_0x2a6bb4[_0x2e0165(0x3e9)],'icon':_0x4fd747(_0xc727b7,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x1e9)),'value':_0x2a6bb4['CENTER'],'icon':_0x4fd747(_0x1991f2,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x4ab)),'value':_0x2a6bb4['RIGHT'],'icon':_0x4fd747(_0x371830,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x1cf)),'value':_0x2a6bb4[_0x2e0165(0x143)],'icon':_0x4fd747(_0x27a6fb,{})}],_0x59c472=[{'label':_0x1eb5f2['t'](_0x2e0165(0x489)),'value':_0x3a5684['TOP'],'icon':_0x4fd747(_0x113044,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x98)),'value':_0x3a5684['MIDDLE'],'icon':_0x4fd747(_0x143060,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x30b)),'value':_0x3a5684['BOTTOM'],'icon':_0x4fd747(_0x3e13f7,{})}],_0x4a2062=[{'label':_0x1eb5f2['t'](_0x2e0165(0x193)),'value':'inline','icon':_0x4fd747(Io,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x14d)),'value':_0x2e0165(0x142),'icon':_0x4fd747(Io,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0x25b)),'value':_0x2e0165(0x300),'icon':_0x4fd747(Io,{})},{'label':_0x1eb5f2['t'](_0x2e0165(0xc9)),'value':_0x2e0165(0x403),'icon':_0x4fd747(Io,{})},{'label':_0x1eb5f2['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x2e0165(0x37b),'icon':_0x4fd747(Io,{})}];return _0x4ab1dd('div',{'data-u-comp':'shape-floating-toolbar','onMouseDown':_0xd93b3=>{const _0x5c1d4b=_0x2e0165;_0xd93b3[_0x5c1d4b(0x4c5)](),Lo(_0xd93b3[_0x5c1d4b(0x348)])||_0xd93b3[_0x5c1d4b(0x30a)]();},'className':_0x4f03e7(_0x2e0165(0x1e5),_0x2ab778),'children':[_0x4ab1dd(Ro,{'compact':!0x0,'children':[_0x4fd747(Bo,{'title':_0x1eb5f2['t']('docs-shape-ui.fill.title'),'color':_0x4482ec,'disabled':_0x5f1b8c,'onChange':_0x29953e=>{const _0x24a192=_0x2e0165;let _0x553461={'fill':{..._0x2e0d44[_0x24a192(0x100)],'fillType':_0xf0398b['SolidFill'],'color':_0x29953e}};Q(_0x2346de,_0x261bab,_0x64afa6,_0x248786,{'oldShapeData':{'fill':_0x2e0d44[_0x24a192(0x100)]}},_0x553461),_0x445c62(_0x553461);},'children':_0x4fd747(_0x2f2907,{'extend':{'colorChannel1':_0x4482ec}})}),_0x4fd747(Bo,{'title':_0x1eb5f2['t']('docs-shape-ui.line.title'),'color':_0xdb3e4,'onChange':_0x3aa7b9=>{const _0x35601f=_0x2e0165;let _0x48fe50={'stroke':{..._0x2e0d44[_0x35601f(0x14a)],'lineStrokeType':_0xae9842[_0x35601f(0x78)],'color':_0x3aa7b9}};Q(_0x2346de,_0x261bab,_0x64afa6,_0x248786,{'oldShapeData':{'stroke':_0x2e0d44[_0x35601f(0x14a)]}},_0x48fe50),_0x445c62(_0x48fe50);},'children':_0x4fd747(_0x1dd2a5,{})})]}),_0x4fd747(Fo,{}),_0x4ab1dd(Ro,{'children':[_0x4fd747(_0x5c2f6f,{'className':'!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':_0x5cd4c5,'options':_0x3aa052,'onChange':_0x29f20a=>_0x497d4d({'textStyle':{'ff':String(_0x29f20a)}})}),_0x4fd747(_0x5c2f6f,{'className':_0x2e0165(0x386),'value':String(_0x300aaa),'options':_0x518b68,'onChange':_0x16ff1d=>{let _0x545bbf=Number(_0x16ff1d);Number['isNaN'](_0x545bbf)||_0x497d4d({'textStyle':{'fs':_0x545bbf}}),_0x3b2fe7['setContextValue'](_0x1f4379,!0x1);}})]}),_0x4fd747(Fo,{}),_0x4ab1dd(Ro,{'compact':!0x0,'children':[_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x3f6)),'active':_0x33ac12,'onClick':()=>_0x497d4d({'textStyle':{'bl':_0x33ac12?_0x3ff23e[_0x2e0165(0x2ed)]:_0x3ff23e[_0x2e0165(0x95)]}}),'children':_0x4fd747(_0x2dab96,{})}),_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x24c)),'active':_0x3673f4,'onClick':()=>_0x497d4d({'textStyle':{'it':_0x3673f4?_0x3ff23e['FALSE']:_0x3ff23e['TRUE']}}),'children':_0x4fd747(_0xb896ab,{})}),_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x3a0)),'active':_0x478973,'onClick':()=>_0x497d4d({'textStyle':{'ul':{'s':_0x478973?_0x3ff23e[_0x2e0165(0x2ed)]:_0x3ff23e[_0x2e0165(0x95)]}}}),'children':_0x4fd747(_0x328f9e,{})}),_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x2ab)),'active':_0x241333,'onClick':()=>_0x497d4d({'textStyle':{'st':{'s':_0x241333?_0x3ff23e[_0x2e0165(0x2ed)]:_0x3ff23e[_0x2e0165(0x95)]}}}),'children':_0x4fd747(_0x489313,{})})]}),_0x4fd747(Fo,{}),_0x4ab1dd(Ro,{'compact':!0x0,'children':[_0x4fd747(Bo,{'title':_0x1eb5f2['t'](_0x2e0165(0xa7)),'color':_0x3b2385,'onChange':_0x119d80=>_0x497d4d({'textStyle':{'cl':{'rgb':_0x119d80}}}),'children':_0x4fd747(_0x1bdced,{'extend':{'colorChannel1':_0x3b2385}})}),_0x4fd747(Bo,{'title':_0x1eb5f2['t'](_0x2e0165(0x196)),'color':_0x53cdd2,'onChange':_0x2ff925=>_0x497d4d({'textStyle':{'bg':{'rgb':_0x2ff925}}}),'children':_0x4fd747(_0x2f2907,{'extend':{'colorChannel1':_0x53cdd2}})})]}),_0x4fd747(Fo,{}),_0x4ab1dd(Ro,{'compact':!0x0,'children':[_0x4fd747(Vo,{'title':(_0x345412=(_0x2daea6=_0x1018f1['find'](_0x57009e=>_0x57009e['value']===_0x36420e))==null?void 0x0:_0x2daea6[_0x2e0165(0x4a3)])==null?_0x1eb5f2['t'](_0x2e0165(0x4c8)):_0x345412,'value':_0x36420e,'options':_0x1018f1,'onChange':_0x1c33cc=>_0x497d4d({'horizontalAlign':_0x1c33cc})}),_0x4fd747(Vo,{'title':(_0x123beb=(_0x262bc5=_0x59c472[_0x2e0165(0xdc)](_0x2e2f32=>_0x2e2f32[_0x2e0165(0x438)]===_0x5e05bf))==null?void 0x0:_0x262bc5['label'])==null?_0x1eb5f2['t'](_0x2e0165(0x489)):_0x123beb,'value':_0x5e05bf,'options':_0x59c472,'onChange':_0x391d3d=>_0x497d4d({'verticalAlign':_0x391d3d})})]}),_0x4fd747(Fo,{}),_0x4fd747(Ro,{'compact':!0x0,'children':_0x4fd747(Vo,{'title':(_0x7ac814=(_0x584c8c=_0x4a2062['find'](_0x2a218a=>_0x2a218a[_0x2e0165(0x438)]===_0x5d3bef))==null?void 0x0:_0x584c8c[_0x2e0165(0x4a3)])==null?_0x1eb5f2['t']('docs-shape-ui.textWrap.inline'):_0x7ac814,'value':_0x5d3bef,'options':_0x4a2062,'onChange':_0x4c19f8})}),_0x4fd747(Fo,{}),_0x4ab1dd(Ro,{'compact':!0x0,'children':[_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x453)),'onClick':()=>{const _0x41a67e=_0x2e0165;_0x5eb475(!0x0),_0x2346de[_0x41a67e(0x46b)](io['id'],{'unitId':_0x261bab,'subUnitId':_0x64afa6,'drawingId':_0x248786});},'children':_0x4fd747(_0x221ef2,{})}),_0x4fd747(zo,{'title':_0x1eb5f2['t'](_0x2e0165(0x37a)),'onClick':()=>{const _0x8f5596=_0x2e0165;_0x2346de[_0x8f5596(0x46b)](_0x296298['id'],{'unitId':_0x261bab,'drawings':[{'unitId':_0x261bab,'subUnitId':_0x64afa6,'drawingId':_0x248786}]});},'children':_0x4fd747(_0x202aa5,{})})]})]});}let Uo=class extends _0x19fa94{constructor(_0xe7d260,_0x8a0d82){const _0x339d1c=_0x16f7f1;super(),this[_0x339d1c(0xdf)]=_0xe7d260,this[_0x339d1c(0x36f)]=_0x8a0d82,this['_registerImageShapeClipDelegate'](),this[_0x339d1c(0xdf)][_0x339d1c(0x22b)](!0x0),this[_0x339d1c(0x4bd)]({'dispose':()=>this['_clipService']['setCanUseShapeClip'](!0x1)});}[_0x16f7f1(0x1a8)](){const _0x528555=_0x16f7f1;let _0x13c97d=new Map(),_0x405618=this[_0x528555(0xdf)]['registerClipDelegate']((_0x22fe64,_0x39d2f1,_0x5ea962,_0x584ff3,_0x37aa27)=>{const _0x237bbd=_0x528555;let _0xc8af7b=_0x39d2f1;if(_0xc8af7b===_0x360129[_0x237bbd(0x21e)]||_0x39d2f1===_0x237bbd(0x397))return!0x1;try{let _0x22a1e9=_0x13c97d[_0x237bbd(0xd8)](_0x39d2f1);return _0x22a1e9||(_0x22a1e9=new _0xb587ab(_0xc8af7b,'clip-'+_0x39d2f1),_0x13c97d[_0x237bbd(0x119)](_0x39d2f1,_0x22a1e9)),_0x37aa27&&_0x22a1e9[_0x237bbd(0x1ba)]({'adjustValues':_0x37aa27},!0x0),_0x22a1e9[_0x237bbd(0x2d5)]({'width':_0x5ea962,'height':_0x584ff3}),_0x22a1e9[_0x237bbd(0x24f)](_0x22fe64,{'left':0x0,'top':0x0,'width':_0x5ea962,'height':_0x584ff3});}catch{return!0x1;}});this['disposeWithMe'](_0x405618),this[_0x528555(0x4bd)]({'dispose':()=>_0x13c97d[_0x528555(0x145)]()});}[_0x16f7f1(0x3d0)](_0x593f46,_0x3b8c37,_0x3020ed,_0x40c78e,_0xe7a1a5){const _0x1f4967=_0x16f7f1;let _0x3fa50e=this[_0x1f4967(0x36f)][_0x1f4967(0x4bc)](_0x593f46,_0x3b8c37)[_0x3020ed];!_0x3fa50e||_0x3fa50e[_0x1f4967(0x4b4)]!==_0x585e26[_0x1f4967(0x146)]||this['_drawingManagerService'][_0x1f4967(0x223)]([{..._0x3fa50e,'prstGeom':_0x40c78e,'adjustValues':_0xe7a1a5}]);}};Uo=go([$(0x0,_0x3bd34c(_0x4d54f4)),$(0x1,_0x3bd34c(_0x16de2e))],Uo);const Wo=[{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x129)],'icon':_0x16f7f1(0x1e1),'name':_0x16f7f1(0x455)},{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x4d4)],'icon':_0x16f7f1(0x472),'name':_0x16f7f1(0x90),'endArrow':!0x0},{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x4d4)],'icon':_0x16f7f1(0x2c2),'name':_0x16f7f1(0x43c),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x487)],'icon':_0x16f7f1(0x412),'name':'docs-shape-ui.shape.type.bent-connector3'},{'group':'line','type':_0x360129[_0x16f7f1(0x487)],'icon':_0x16f7f1(0xf1),'name':_0x16f7f1(0x3c2),'endArrow':!0x0},{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x487)],'icon':_0x16f7f1(0x49d),'name':_0x16f7f1(0x48f),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':_0x360129[_0x16f7f1(0x3fd)],'icon':'ShapeCurvedConnector3Icon','name':_0x16f7f1(0x4f0)},{'group':_0x16f7f1(0xfc),'type':_0x360129['CurvedConnector3'],'icon':_0x16f7f1(0x106),'name':_0x16f7f1(0x1d5),'endArrow':!0x0},{'group':_0x16f7f1(0xfc),'type':_0x360129[_0x16f7f1(0x3fd)],'icon':_0x16f7f1(0x17a),'name':_0x16f7f1(0x1e8),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0xb8)],'icon':'ShapeRectIcon','name':_0x16f7f1(0x81)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x36c)],'icon':_0x16f7f1(0x3d9),'name':_0x16f7f1(0x324)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x2a1)],'icon':'ShapeSnip1RectIcon','name':_0x16f7f1(0xec)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x7a)],'icon':_0x16f7f1(0x2da),'name':_0x16f7f1(0x359)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x3bc)],'icon':_0x16f7f1(0x121),'name':_0x16f7f1(0x23c)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x243)],'icon':_0x16f7f1(0xd7),'name':_0x16f7f1(0x43b)},{'group':_0x16f7f1(0x448),'type':_0x360129['Round1Rect'],'icon':_0x16f7f1(0x198),'name':_0x16f7f1(0x3b5)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x3b3)],'icon':_0x16f7f1(0x161),'name':_0x16f7f1(0x153)},{'group':_0x16f7f1(0x448),'type':_0x360129[_0x16f7f1(0x3d2)],'icon':_0x16f7f1(0x6c),'name':_0x16f7f1(0x3e6)},{'group':_0x16f7f1(0x239),'type':_0x360129['Rect'],'icon':_0x16f7f1(0x418),'name':_0x16f7f1(0x139),'horizontal':!0x0},{'group':'basicShape','type':_0x360129[_0x16f7f1(0xb8)],'icon':_0x16f7f1(0x1ee),'name':_0x16f7f1(0x373),'vertical':!0x0},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x12b)],'icon':_0x16f7f1(0x4ac),'name':_0x16f7f1(0x1f6)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x3a9)],'icon':_0x16f7f1(0x2fa),'name':_0x16f7f1(0x4a1)},{'group':'basicShape','type':_0x360129['RightTriangle'],'icon':'ShapeRtTriangleIcon','name':_0x16f7f1(0x486)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x25d)],'icon':'ShapeParallelogramIcon','name':_0x16f7f1(0x22a)},{'group':'basicShape','type':_0x360129['Trapezoid'],'icon':'ShapeTrapezoidIcon','name':'docs-shape-ui.shape.type.trapezoid'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x11c)],'icon':_0x16f7f1(0x236),'name':'docs-shape-ui.shape.type.diamond'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x1a1)],'icon':'ShapePentagonIcon','name':'docs-shape-ui.shape.type.pentagon'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x70)],'icon':_0x16f7f1(0x313),'name':_0x16f7f1(0x3cc)},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x1d3)],'icon':'ShapeHeptagonIcon','name':_0x16f7f1(0x113)},{'group':'basicShape','type':_0x360129['Octagon'],'icon':_0x16f7f1(0x3ca),'name':_0x16f7f1(0x20f)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x40e)],'icon':_0x16f7f1(0x4e9),'name':_0x16f7f1(0x323)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x42f)],'icon':_0x16f7f1(0x4cb),'name':'docs-shape-ui.shape.type.dodecagon'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x34e)],'icon':'ShapePieIcon','name':_0x16f7f1(0x305)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x262)],'icon':_0x16f7f1(0x3fe),'name':_0x16f7f1(0x308)},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x46c)],'icon':_0x16f7f1(0x1db),'name':_0x16f7f1(0x20c)},{'group':_0x16f7f1(0x239),'type':_0x360129['Frame'],'icon':_0x16f7f1(0x144),'name':_0x16f7f1(0x480)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x235)],'icon':'ShapeHalfFrameIcon','name':_0x16f7f1(0xb5)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x115)],'icon':_0x16f7f1(0x470),'name':_0x16f7f1(0x435)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x12a)],'icon':_0x16f7f1(0x138),'name':'docs-shape-ui.shape.type.diag-stripe'},{'group':_0x16f7f1(0x239),'type':_0x360129['Plus'],'icon':_0x16f7f1(0x36a),'name':'docs-shape-ui.shape.type.plus'},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x497)],'icon':_0x16f7f1(0x1a4),'name':'docs-shape-ui.shape.type.plaque'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x1ec)],'icon':'ShapeCanIcon','name':_0x16f7f1(0x271)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x7f)],'icon':_0x16f7f1(0x45c),'name':_0x16f7f1(0x329)},{'group':_0x16f7f1(0x239),'type':_0x360129['Bevel'],'icon':_0x16f7f1(0x276),'name':'docs-shape-ui.shape.type.bevel'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x15b)],'icon':_0x16f7f1(0x4ee),'name':_0x16f7f1(0x14b)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x1a0)],'icon':'ShapeNoSmokingIcon','name':_0x16f7f1(0x32a)},{'group':_0x16f7f1(0x239),'type':_0x360129['BlockArc'],'icon':_0x16f7f1(0x43f),'name':_0x16f7f1(0xb4)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x39d)],'icon':'ShapeFolderCornerIcon','name':'docs-shape-ui.shape.type.folder-corner'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x48e)],'icon':_0x16f7f1(0x238),'name':_0x16f7f1(0x228)},{'group':'basicShape','type':_0x360129[_0x16f7f1(0xea)],'icon':_0x16f7f1(0x149),'name':_0x16f7f1(0x4ca)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x1ab)],'icon':'ShapeLightningBoltIcon','name':_0x16f7f1(0x3da)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x2b9)],'icon':_0x16f7f1(0x23a),'name':'docs-shape-ui.shape.type.sun'},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x492)],'icon':'ShapeMoonIcon','name':_0x16f7f1(0x101)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x19d)],'icon':_0x16f7f1(0x2a5),'name':_0x16f7f1(0x131)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x301)],'icon':_0x16f7f1(0x40d),'name':'docs-shape-ui.shape.type.arc'},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x2fe)],'icon':_0x16f7f1(0xbd),'name':_0x16f7f1(0x1a7)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x93)],'icon':_0x16f7f1(0x36b),'name':_0x16f7f1(0x3f4)},{'group':'basicShape','type':_0x360129[_0x16f7f1(0x46e)],'icon':_0x16f7f1(0x1d6),'name':'docs-shape-ui.shape.type.left-bracket'},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0xe0)],'icon':'ShapeRightBracketIcon','name':_0x16f7f1(0x249)},{'group':_0x16f7f1(0x239),'type':_0x360129['LeftBrace'],'icon':_0x16f7f1(0x3b2),'name':_0x16f7f1(0x150)},{'group':_0x16f7f1(0x239),'type':_0x360129[_0x16f7f1(0x268)],'icon':_0x16f7f1(0x459),'name':_0x16f7f1(0x498)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x39a)],'icon':_0x16f7f1(0x400),'name':_0x16f7f1(0x3b9)},{'group':_0x16f7f1(0x335),'type':_0x360129['LeftArrow'],'icon':_0x16f7f1(0x4ad),'name':_0x16f7f1(0x43a)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0xfe)],'icon':'ShapeUpArrowIcon','name':_0x16f7f1(0x4a4)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x2db)],'icon':_0x16f7f1(0x33c),'name':_0x16f7f1(0x1b7)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x40f)],'icon':'ShapeLeftRightArrowIcon','name':_0x16f7f1(0x349)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x84)],'icon':_0x16f7f1(0x4b0),'name':_0x16f7f1(0x1b3)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x3f5)],'icon':_0x16f7f1(0x2c0),'name':_0x16f7f1(0x44c)},{'group':'blockArrow','type':_0x360129['LeftRightUpArrow'],'icon':_0x16f7f1(0x2e6),'name':'docs-shape-ui.shape.type.left-right-up-arrow'},{'group':_0x16f7f1(0x335),'type':_0x360129['BentArrow'],'icon':_0x16f7f1(0x28c),'name':_0x16f7f1(0x202)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x6d)],'icon':_0x16f7f1(0x406),'name':'docs-shape-ui.shape.type.uturn-arrow'},{'group':_0x16f7f1(0x335),'type':_0x360129['LeftUpArrow'],'icon':_0x16f7f1(0x291),'name':_0x16f7f1(0xb9)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x227)],'icon':_0x16f7f1(0x126),'name':'docs-shape-ui.shape.type.bent-up-arrow'},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x4aa)],'icon':'ShapeCurvedRightArrowIcon','name':_0x16f7f1(0x4cd)},{'group':_0x16f7f1(0x335),'type':_0x360129['CurvedLeftArrow'],'icon':_0x16f7f1(0x2dd),'name':_0x16f7f1(0x229)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x23d)],'icon':_0x16f7f1(0x387),'name':_0x16f7f1(0x38d)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x289)],'icon':'ShapeCurvedDownArrowIcon','name':_0x16f7f1(0x45e)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x437)],'icon':_0x16f7f1(0x2b1),'name':_0x16f7f1(0x2d9)},{'group':'blockArrow','type':_0x360129[_0x16f7f1(0x1c6)],'icon':'ShapeNotchedRightArrowIcon','name':_0x16f7f1(0xc7)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x8e)],'icon':_0x16f7f1(0x4bb),'name':_0x16f7f1(0x34d)},{'group':'blockArrow','type':_0x360129['Chevron'],'icon':_0x16f7f1(0x21a),'name':_0x16f7f1(0x214)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x2a0)],'icon':_0x16f7f1(0x4de),'name':_0x16f7f1(0x160)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x272)],'icon':'ShapeDownArrowCalloutIcon','name':_0x16f7f1(0x2f0)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x15e)],'icon':'ShapeLeftArrowCalloutIcon','name':'docs-shape-ui.shape.type.left-arrow-callout'},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x278)],'icon':_0x16f7f1(0x29b),'name':_0x16f7f1(0xa1)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x25e)],'icon':_0x16f7f1(0x26f),'name':_0x16f7f1(0x33d)},{'group':_0x16f7f1(0x335),'type':_0x360129[_0x16f7f1(0x48d)],'icon':_0x16f7f1(0x40c),'name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':_0x16f7f1(0x335),'type':_0x360129['CircularArrow'],'icon':_0x16f7f1(0x38f),'name':'docs-shape-ui.shape.type.circular-arrow'},{'group':'equationShape','type':_0x360129[_0x16f7f1(0x4e2)],'icon':_0x16f7f1(0x342),'name':_0x16f7f1(0x444)},{'group':_0x16f7f1(0x1ad),'type':_0x360129[_0x16f7f1(0x27d)],'icon':'ShapeMathMinusIcon','name':'docs-shape-ui.shape.type.math-minus'},{'group':_0x16f7f1(0x1ad),'type':_0x360129[_0x16f7f1(0x3cb)],'icon':_0x16f7f1(0x34f),'name':_0x16f7f1(0x2f8)},{'group':_0x16f7f1(0x1ad),'type':_0x360129[_0x16f7f1(0x2a8)],'icon':'ShapeMathDivideIcon','name':_0x16f7f1(0x3b7)},{'group':_0x16f7f1(0x1ad),'type':_0x360129[_0x16f7f1(0x339)],'icon':_0x16f7f1(0x415),'name':'docs-shape-ui.shape.type.math-equal'},{'group':'equationShape','type':_0x360129[_0x16f7f1(0x182)],'icon':_0x16f7f1(0x75),'name':'docs-shape-ui.shape.type.math-not-equal'},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x1cd)],'icon':_0x16f7f1(0x46f),'name':_0x16f7f1(0x38a)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x31c)],'icon':_0x16f7f1(0xcf),'name':_0x16f7f1(0x260)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x33b)],'icon':_0x16f7f1(0x393),'name':_0x16f7f1(0x452)},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowChartInputOutput'],'icon':_0x16f7f1(0x165),'name':_0x16f7f1(0x208)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x286)],'icon':_0x16f7f1(0x45a),'name':_0x16f7f1(0x398)},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowchartInternalStorage'],'icon':_0x16f7f1(0x2f1),'name':_0x16f7f1(0x205)},{'group':'flowchart','type':_0x360129['FlowchartDocument'],'icon':_0x16f7f1(0x362),'name':_0x16f7f1(0x116)},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowchartMultiDocument'],'icon':_0x16f7f1(0x4b8),'name':_0x16f7f1(0x351)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x3f1)],'icon':'ShapeFlowChartTerminatorIcon','name':'docs-shape-ui.shape.type.flow-chart-terminator'},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x399)],'icon':_0x16f7f1(0x471),'name':_0x16f7f1(0x22f)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x4e0)],'icon':_0x16f7f1(0x35a),'name':_0x16f7f1(0x25c)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x253)],'icon':_0x16f7f1(0x105),'name':_0x16f7f1(0x277)},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowchartConnector'],'icon':_0x16f7f1(0x3a5),'name':'docs-shape-ui.shape.type.flow-chart-connector'},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x35d)],'icon':_0x16f7f1(0x28b),'name':_0x16f7f1(0x395)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x241)],'icon':_0x16f7f1(0x1ed),'name':_0x16f7f1(0x207)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0xce)],'icon':'ShapeFlowChartPunchedTapeIcon','name':'docs-shape-ui.shape.type.flow-chart-punched-tape'},{'group':'flowchart','type':_0x360129[_0x16f7f1(0x15f)],'icon':_0x16f7f1(0x79),'name':_0x16f7f1(0x4ea)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x269)],'icon':_0x16f7f1(0xee),'name':_0x16f7f1(0xef)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x416)],'icon':_0x16f7f1(0x1b8),'name':_0x16f7f1(0x32f)},{'group':'flowchart','type':_0x360129[_0x16f7f1(0x170)],'icon':_0x16f7f1(0x4d9),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x135)],'icon':'ShapeFlowChartExtractIcon','name':_0x16f7f1(0xc8)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x1d7)],'icon':'ShapeFlowChartMergeIcon','name':_0x16f7f1(0x280)},{'group':'flowchart','type':_0x360129['FlowchartOnlineStorage'],'icon':_0x16f7f1(0x2a7),'name':_0x16f7f1(0x31e)},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowchartDelay'],'icon':_0x16f7f1(0x368),'name':_0x16f7f1(0x485)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x296)],'icon':'ShapeFlowChartMagneticTapeIcon','name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x16f7f1(0x45d),'type':_0x360129['FlowchartMagneticDisk'],'icon':_0x16f7f1(0x494),'name':_0x16f7f1(0x132)},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x2dc)],'icon':_0x16f7f1(0x457),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-drum'},{'group':_0x16f7f1(0x45d),'type':_0x360129[_0x16f7f1(0x361)],'icon':'ShapeFlowChartDisplayIcon','name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x469)],'icon':'ShapeIrregularSeal1Icon','name':_0x16f7f1(0x34a)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0xfd)],'icon':_0x16f7f1(0x3fa),'name':_0x16f7f1(0x216)},{'group':_0x16f7f1(0x1eb),'type':_0x360129['Star4'],'icon':_0x16f7f1(0x6e),'name':'docs-shape-ui.shape.type.star4'},{'group':_0x16f7f1(0x1eb),'type':_0x360129['Star5'],'icon':_0x16f7f1(0x473),'name':_0x16f7f1(0x189)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0xbe)],'icon':'ShapeStar6Icon','name':_0x16f7f1(0x2ea)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x2aa)],'icon':_0x16f7f1(0x3b8),'name':_0x16f7f1(0x47e)},{'group':_0x16f7f1(0x1eb),'type':_0x360129['Star8'],'icon':_0x16f7f1(0x16b),'name':_0x16f7f1(0x298)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x302)],'icon':_0x16f7f1(0x169),'name':'docs-shape-ui.shape.type.star10'},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x9d)],'icon':_0x16f7f1(0x423),'name':_0x16f7f1(0x2cc)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x6a)],'icon':'ShapeStar16Icon','name':_0x16f7f1(0xb2)},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x364)],'icon':_0x16f7f1(0x1ef),'name':_0x16f7f1(0x407)},{'group':'starAndBanner','type':_0x360129['Star32'],'icon':_0x16f7f1(0x125),'name':_0x16f7f1(0x319)},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x3fb)],'icon':_0x16f7f1(0x18e),'name':'docs-shape-ui.shape.type.ribbon2'},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x44a)],'icon':_0x16f7f1(0x157),'name':_0x16f7f1(0x28a)},{'group':_0x16f7f1(0x1eb),'type':_0x360129['EllipseRibbon2'],'icon':_0x16f7f1(0x210),'name':_0x16f7f1(0x4ae)},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x4b7)],'icon':_0x16f7f1(0x185),'name':_0x16f7f1(0x4dc)},{'group':_0x16f7f1(0x1eb),'type':_0x360129['VerticalScroll'],'icon':_0x16f7f1(0x371),'name':_0x16f7f1(0x141)},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x213)],'icon':'ShapeHorizontalScrollIcon','name':_0x16f7f1(0x38e)},{'group':'starAndBanner','type':_0x360129[_0x16f7f1(0x484)],'icon':_0x16f7f1(0x2c7),'name':'docs-shape-ui.shape.type.wave'},{'group':_0x16f7f1(0x1eb),'type':_0x360129[_0x16f7f1(0x431)],'icon':_0x16f7f1(0x1f7),'name':'docs-shape-ui.shape.type.double-wave'},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x19a)],'icon':_0x16f7f1(0x49b),'name':_0x16f7f1(0x360)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0xcb)],'icon':'ShapeWedgeRoundRectCalloutIcon','name':_0x16f7f1(0x402)},{'group':_0x16f7f1(0x25a),'type':_0x360129['WedgeEllipseCallout'],'icon':_0x16f7f1(0x4c0),'name':_0x16f7f1(0x20b)},{'group':_0x16f7f1(0x25a),'type':_0x360129['CloudCallout'],'icon':'ShapeCloudCalloutIcon','name':_0x16f7f1(0x22e)},{'group':_0x16f7f1(0x25a),'type':_0x360129['BorderCallout1'],'icon':_0x16f7f1(0x147),'name':'docs-shape-ui.shape.type.border-callout1'},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x13b)],'icon':_0x16f7f1(0x1fb),'name':_0x16f7f1(0x2a4)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x24e)],'icon':_0x16f7f1(0x178),'name':_0x16f7f1(0x41d)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x2a2)],'icon':_0x16f7f1(0x1fc),'name':_0x16f7f1(0x12e)},{'group':'callout','type':_0x360129[_0x16f7f1(0x2f4)],'icon':_0x16f7f1(0x384),'name':'docs-shape-ui.shape.type.accent-callout2'},{'group':'callout','type':_0x360129[_0x16f7f1(0x3f8)],'icon':'ShapeAccentCallout3Icon','name':'docs-shape-ui.shape.type.accent-callout3'},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x18b)],'icon':_0x16f7f1(0x1a2),'name':_0x16f7f1(0x11a)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x1bc)],'icon':_0x16f7f1(0x2e8),'name':'docs-shape-ui.shape.type.callout2'},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x3c6)],'icon':_0x16f7f1(0x422),'name':_0x16f7f1(0xc1)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x167)],'icon':_0x16f7f1(0xc3),'name':_0x16f7f1(0x1b5)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x2b2)],'icon':_0x16f7f1(0x2a6),'name':_0x16f7f1(0x27f)},{'group':_0x16f7f1(0x25a),'type':_0x360129[_0x16f7f1(0x317)],'icon':_0x16f7f1(0x2c4),'name':_0x16f7f1(0x109)},{'group':'other','type':_0x360129[_0x16f7f1(0x1fd)],'icon':_0x16f7f1(0x374),'name':_0x16f7f1(0x1b4)},{'group':'other','type':_0x360129[_0x16f7f1(0x3a1)],'icon':_0x16f7f1(0x19e),'name':_0x16f7f1(0x4a8)},{'group':'other','type':_0x360129[_0x16f7f1(0x1c3)],'icon':_0x16f7f1(0x2c3),'name':_0x16f7f1(0x27a)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x392)],'icon':_0x16f7f1(0x215),'name':_0x16f7f1(0x1f1)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x2d1)],'icon':_0x16f7f1(0x11e),'name':_0x16f7f1(0x467)},{'group':_0x16f7f1(0x30f),'type':_0x360129['Funnel'],'icon':_0x16f7f1(0x4d2),'name':'docs-shape-ui.shape.type.funnel'},{'group':_0x16f7f1(0x30f),'type':_0x360129['Gear6'],'icon':'ShapeGear6Icon','name':_0x16f7f1(0x120)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x341)],'icon':'ShapeGear9Icon','name':'docs-shape-ui.shape.type.gear9'},{'group':'other','type':_0x360129[_0x16f7f1(0x421)],'icon':'ShapeCornerTabsIcon','name':_0x16f7f1(0x24d)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x12d)],'icon':'ShapeActionButtonBackPreviousIcon','name':'docs-shape-ui.shape.type.action-button-back-previous'},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x140)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x16f7f1(0x13f)},{'group':'other','type':_0x360129[_0x16f7f1(0x26d)],'icon':_0x16f7f1(0x258),'name':_0x16f7f1(0xae)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0xd0)],'icon':'ShapeActionButtonEndIcon','name':_0x16f7f1(0x394)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x24b)],'icon':_0x16f7f1(0x42a),'name':_0x16f7f1(0x2e1)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x3dc)],'icon':_0x16f7f1(0x447),'name':'docs-shape-ui.shape.type.action-button-information'},{'group':_0x16f7f1(0x30f),'type':_0x360129['ActionButtonReturn'],'icon':_0x16f7f1(0x1e6),'name':_0x16f7f1(0x1fe)},{'group':'other','type':_0x360129[_0x16f7f1(0x413)],'icon':_0x16f7f1(0xe2),'name':_0x16f7f1(0x2bb)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0xeb)],'icon':'ShapeActionButtonDocumentIcon','name':_0x16f7f1(0x4ec)},{'group':'other','type':_0x360129[_0x16f7f1(0x3c0)],'icon':_0x16f7f1(0x148),'name':_0x16f7f1(0x41f)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x41b)],'icon':_0x16f7f1(0x123),'name':_0x16f7f1(0x336)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x2f5)],'icon':_0x16f7f1(0xa8),'name':_0x16f7f1(0xbf)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x2c6)],'icon':_0x16f7f1(0x2af),'name':'docs-shape-ui.shape.type.chart-plus'},{'group':'other','type':_0x360129['ChartStar'],'icon':_0x16f7f1(0x9f),'name':_0x16f7f1(0x31f)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x211)],'icon':_0x16f7f1(0xca),'name':_0x16f7f1(0x460)},{'group':'other','type':_0x360129[_0x16f7f1(0x2ac)],'icon':_0x16f7f1(0x1d8),'name':_0x16f7f1(0xa5)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x154)],'icon':'ShapeLineInvIcon','name':_0x16f7f1(0x71)},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x3f0)],'icon':_0x16f7f1(0x74),'name':_0x16f7f1(0x27b)},{'group':'other','type':_0x360129[_0x16f7f1(0x1f8)],'icon':'ShapeSquareTabsIcon','name':'docs-shape-ui.shape.type.square-tabs'},{'group':_0x16f7f1(0x30f),'type':_0x360129[_0x16f7f1(0x33f)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x16f7f1(0x99)},{'group':_0x16f7f1(0x30f),'type':_0x360129['NonIsoscelesTrapezoid'],'icon':_0x16f7f1(0xb7),'name':_0x16f7f1(0x441)}],Go=_0x16f7f1(0x11d);function Ko({onShapeClick:_0x9a389,excludeGroups:_0x445d0a}){const _0x365883=_0x16f7f1;let _0x404e0c=_0x4beb35(_0x3e881f),_0x138eba=_0x4beb35(_0x49e5bf),_0x3e2fd2=(_0x445d0a?Wo['filter'](_0x209759=>!_0x445d0a[_0x365883(0x7d)](_0x209759[_0x365883(0x320)])):Wo)['reduce']((_0x523407,_0x3f9379)=>(_0x523407[_0x3f9379[_0x365883(0x320)]]||(_0x523407[_0x3f9379[_0x365883(0x320)]]=[]),_0x523407[_0x3f9379[_0x365883(0x320)]][_0x365883(0x369)](_0x3f9379),_0x523407),{});return _0x4fd747('div',{'className':_0x365883(0x191),'children':Object[_0x365883(0x1dd)](_0x3e2fd2)[_0x365883(0x37f)](([_0x4e8613,_0x9abb5b])=>_0x4ab1dd(_0x365883(0x255),{'className':_0x365883(0x4f3),'children':[_0x4fd747(_0x365883(0x255),{'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':_0x404e0c['t'](_0x365883(0x11b)+_0x4e8613)}),_0x4fd747(_0x365883(0x255),{'className':_0x365883(0x283),'children':_0x9abb5b[_0x365883(0x37f)](_0x153569=>{const _0x5b3c94=_0x365883;let _0x23222f=_0x138eba[_0x5b3c94(0xd8)](_0x153569[_0x5b3c94(0x231)]);return _0x4fd747(_0x5b3c94(0x255),{'title':_0x404e0c['t'](_0x153569[_0x5b3c94(0x4af)]),'onClick':()=>_0x9a389(_0x153569),'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':_0x23222f&&_0x4fd747(_0x23222f,{'className':_0x5b3c94(0x3d6)})},_0x153569[_0x5b3c94(0x4af)]);})})]},_0x4e8613))});}function qo(){const _0x377cde=_0x16f7f1;let _0xb0c5d2=_0x4beb35(_0x3e881f),_0x128d48=_0x4beb35(_0x16de2e),_0x80c610=_0x4beb35(Uo),[_0x3e789a,_0x19e589]=_0x1ee196(!0x1);return _0x4fd747(_0x1a67c4,{'side':_0x377cde(0x379),'open':_0x3e789a,'onOpenChange':_0x19e589,'overlay':_0x4fd747(Ko,{'onShapeClick':_0x1f59c5=>{const _0x3c3c85=_0x377cde;let _0x256c4e=_0x128d48['getFocusDrawings']()[_0x3c3c85(0xdc)](_0x39f849=>_0x39f849['drawingType']===_0x585e26[_0x3c3c85(0x146)]);if(!_0x256c4e)return;let {unitId:_0x4f68a3,subUnitId:_0x4aa24e,drawingId:_0x2000f7}=_0x256c4e;_0x80c610[_0x3c3c85(0x3d0)](_0x4f68a3,_0x4aa24e,_0x2000f7,_0x1f59c5[_0x3c3c85(0x128)]),_0x19e589(!0x1);},'excludeGroups':['line']}),'children':_0x4fd747(_0x3ed779,{'children':_0xb0c5d2['t']('docs-shape-ui.crop.shape')})});}function Jo({paragraphMenuPlacement:_0x41d35a}){let _0x26069f=_0x4beb35(_0x24c807);return _0x4fd747(Ko,{'onShapeClick':_0x4227ed=>{const _0x52011f=_0x165c;_0x26069f['executeCommand'](no['id'],{'paragraphMenuPlacement':_0x41d35a,'value':_0x4227ed[_0x52011f(0x128)],'enhanceParams':{'endArrow':_0x4227ed[_0x52011f(0xa0)],'startArrow':_0x4227ed[_0x52011f(0x222)],'horizontal':_0x4227ed[_0x52011f(0x1d0)],'vertical':_0x4227ed[_0x52011f(0x1da)]}});}});}function Yo(_0x3fcc1d){const _0x3ac893=_0x16f7f1;return _0x2e1226=>({'id':no['id'],'type':_0x258e4e[_0x3ac893(0x436)],'selections':[{'label':{'name':Go,'hoverable':!0x1,'selectable':!0x1,'props':_0x3fcc1d?{'id':no['id'],'paragraphMenuPlacement':_0x3fcc1d}:{'id':no['id']}}}],'icon':_0x3ac893(0x353),'title':'docs-shape-ui.title','tooltip':_0x3ac893(0x264),'hidden$':_0xe48ac0(_0x2e1226,_0x300c45[_0x3ac893(0x483)])});}const Xo=Yo(),Zo=Yo(_0x16f7f1(0x2cd)),Qo=Yo(_0x16f7f1(0x348)),$o={[_0x532659[_0x16f7f1(0x442)]]:{[no['id']]:{'order':0x4,'menuItemFactory':Xo}},[_0x414500[_0x16f7f1(0x2a9)]]:{[_0x2ecff5[_0x16f7f1(0x1c2)]]:{[_0x2b556e]:{[no['id']]:{'order':0x8,'menuItemFactory':Zo}}},[_0x2a68d0]:{[_0x2ecff5[_0x16f7f1(0x1c2)]]:{[no['id']]:{'order':0x8,'menuItemFactory':Zo}}},[_0x3e710c]:{[_0x2ecff5[_0x16f7f1(0x1c2)]]:{[no['id']]:{'order':0x8,'menuItemFactory':Qo}}}}};let es=class extends _0x19fa94{constructor(_0x168f36,_0x2a77a8,_0x32ffad,_0x286df0,_0x35037b,_0x18a409,_0x137782,_0x517311,_0x3ca17c,_0x73dcd1,_0x30c936,_0x2e5092){const _0x22542e=_0x16f7f1;super(),this[_0x22542e(0x13c)]=_0x168f36,this[_0x22542e(0xed)]=_0x2a77a8,this[_0x22542e(0x3cf)]=_0x32ffad,this[_0x22542e(0x39e)]=_0x286df0,this[_0x22542e(0x366)]=_0x35037b,this[_0x22542e(0xfa)]=_0x18a409,this['_commandService']=_0x137782,this[_0x22542e(0x36f)]=_0x517311,this[_0x22542e(0x337)]=_0x3ca17c,this[_0x22542e(0x110)]=_0x73dcd1,this[_0x22542e(0x347)]=_0x30c936,this['_shapeTextEditingService']=_0x2e5092,Z(this,'_sidebarDisposable',null),Z(this,_0x22542e(0x18a),null),Z(this,_0x22542e(0x44f),!0x1),Z(this,_0x22542e(0x24a),new Set()),Z(this,_0x22542e(0x29f),[]),this[_0x22542e(0x209)](),this[_0x22542e(0x48c)](),this[_0x22542e(0x4bd)](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x300c45[_0x22542e(0x483)])[_0x22542e(0x2cb)](_0x3ffb08=>{const _0x4c66ef=_0x22542e;if(!_0x3ffb08){var _0x25e4ec;(_0x25e4ec=this[_0x4c66ef(0x173)])==null||_0x25e4ec[_0x4c66ef(0x451)]();return;}this['_createShapePopupMenu'](_0x3ffb08);})),this[_0x22542e(0x37e)](),this[_0x22542e(0x3c4)](),this['disposeWithMe'](this[_0x22542e(0x206)][_0x22542e(0x2f6)][_0x22542e(0x2cb)](_0x329518=>{_0x329518&&this['_clearPopups']();}));}[_0x16f7f1(0x48c)](){const _0x3ecdd1=_0x16f7f1;this['_menuManagerService'][_0x3ecdd1(0x91)]($o);}['_initShapePopupMenu'](){const _0x598c7c=_0x16f7f1;this[_0x598c7c(0x13c)]['getAllUnitsForType'](_0x300c45[_0x598c7c(0x483)])[_0x598c7c(0x1ca)](_0x53f4f8=>this[_0x598c7c(0x1aa)](_0x53f4f8));}['getShapePopupMenus'](_0x9f5b99,_0x8a9f47,_0xde89a0,_0x2f8d55){const _0x50e38e=_0x16f7f1;return[{'label':_0x50e38e(0x453),'index':0x0,'commandId':io['id'],'commandParams':{'unitId':_0x9f5b99,'subUnitId':_0x8a9f47,'drawingId':_0xde89a0},'disable':_0x2f8d55===_0x585e26[_0x50e38e(0xb6)]},{'label':_0x50e38e(0x37a),'index':0x1,'commandId':_0x296298['id'],'commandParams':{'unitId':_0x9f5b99,'drawings':[{'unitId':_0x9f5b99,'subUnitId':_0x8a9f47,'drawingId':_0xde89a0}]},'disable':!0x1},{'label':_0x50e38e(0x2be),'index':0x2,'commandId':ro['id'],'commandParams':{'unitId':_0x9f5b99,'subUnitId':_0x8a9f47,'drawingId':_0xde89a0},'disable':!0x1}];}['_getShapeInfo'](_0x4fd289,_0x56a695,_0x2e8285){const _0x5b7a33=_0x16f7f1;let _0x4b06e0=this['_docsShapeService'][_0x5b7a33(0xd2)](_0x4fd289,_0x56a695,_0x2e8285),_0x14a723=this[_0x5b7a33(0x39e)]['getShapeDataById'](_0x4fd289,_0x56a695,_0x2e8285);return _0x4b06e0!==void 0x0&&_0x14a723!==void 0x0?{'shapeData':_0x14a723,'shapeId':_0x2e8285,'shapeType':_0x4b06e0,'unitId':_0x4fd289,'subUnitId':_0x56a695,'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x4acecd){const _0x3edc23=_0x16f7f1;if(!_0x4acecd)return;let _0x11b4ef=_0x4acecd[_0x3edc23(0x179)]();this[_0x3edc23(0x110)][_0x3edc23(0x1f3)](_0x11b4ef)&&!this[_0x3edc23(0x24a)]['has'](_0x11b4ef)&&(this[_0x3edc23(0x4c3)](_0x11b4ef),this['_initializedShapePopupMenu'][_0x3edc23(0x3e2)](_0x11b4ef));}[_0x16f7f1(0x32e)](){const _0x44f003=_0x16f7f1;this[_0x44f003(0x29f)][_0x44f003(0x1ca)](_0x437c25=>_0x437c25[_0x44f003(0x451)]()),this[_0x44f003(0x29f)][_0x44f003(0x230)]=0x0;}['_popupMenuListener'](_0x233ff9){const _0x1c3d84=_0x16f7f1;var _0x410676;let _0x1a832a=(_0x410676=this[_0x1c3d84(0x110)][_0x1c3d84(0x251)](_0x233ff9))==null?void 0x0:_0x410676['scene'],_0x4fa719=_0x1a832a==null?void 0x0:_0x1a832a[_0x1c3d84(0x16d)]();!_0x1a832a||!_0x4fa719||(this['disposeWithMe'](_0x4fa719[_0x1c3d84(0x2b5)][_0x1c3d84(0x2cb)](()=>{const _0x4131e5=_0x1c3d84;let _0x5f1ba1=_0x4fa719[_0x4131e5(0x433)]();if(this[_0x4131e5(0x32e)](),this['_isOpenedShapeEditPanel']||_0x5f1ba1[_0x4131e5(0x499)]>0x1)return;let _0x1553c4=_0x5f1ba1[_0x4131e5(0x4ce)]()[_0x4131e5(0x200)]()[_0x4131e5(0x438)];if(!_0x1553c4)return;let _0x31990c=this[_0x4131e5(0x36f)][_0x4131e5(0x31b)](_0x1553c4[_0x4131e5(0x408)]);if(!_0x31990c||_0x31990c[_0x4131e5(0x4b4)]!==_0x585e26[_0x4131e5(0x47b)])return;let {unitId:_0xf6bc,subUnitId:_0x54eb2b,drawingId:_0x177012,drawingType:_0x35c0a6}=_0x31990c,_0x25e512=this['_getShapeInfo'](_0xf6bc,_0x54eb2b,_0x177012);if(!_0x25e512)return;let _0x4ec54f=this[_0x4131e5(0x337)][_0x4131e5(0x3ee)](_0x1553c4,{'componentKey':jo,'direction':_0x4131e5(0xc2),'offset':[0x0,0x8],'extraProps':{'unitId':_0xf6bc,'subUnitId':_0x54eb2b,'drawingId':_0x177012,'drawingType':_0x35c0a6,'shapeType':_0x25e512[_0x4131e5(0x270)],'shapeData':_0x25e512[_0x4131e5(0x16a)]}},_0xf6bc);this[_0x4131e5(0x29f)]['push'](this['disposeWithMe'](_0x4ec54f)),this['_drawingManagerService'][_0x4131e5(0x1f4)]()['find'](_0x277059=>_0x277059[_0x4131e5(0x17d)]===_0xf6bc&&_0x277059[_0x4131e5(0x17b)]===_0x54eb2b&&_0x277059[_0x4131e5(0x43e)]===_0x177012)||this['_drawingManagerService']['focusDrawing']([{'unitId':_0xf6bc,'subUnitId':_0x54eb2b,'drawingId':_0x177012}]);})),this[_0x1c3d84(0x4bd)](_0x4fa719['clearControl$'][_0x1c3d84(0x2cb)](()=>{const _0x33a079=_0x1c3d84;this[_0x33a079(0x32e)](),this[_0x33a079(0x347)][_0x33a079(0x43d)](_0x3e9ae6,!0x1),this[_0x33a079(0x36f)][_0x33a079(0x3a3)](null);})),this['disposeWithMe'](_0x4fa719[_0x1c3d84(0x4e5)][_0x1c3d84(0x2cb)](()=>{const _0x1d29b6=_0x1c3d84;this[_0x1d29b6(0x32e)]();})),this[_0x1c3d84(0x4bd)](_0x4fa719[_0x1c3d84(0x3c9)][_0x1c3d84(0x2cb)](()=>{const _0x59919b=_0x1c3d84;this[_0x59919b(0x32e)]();})));}['_registerOperations'](){const _0x172a1a=_0x16f7f1;this[_0x172a1a(0x4bd)](this[_0x172a1a(0x257)][_0x172a1a(0x482)](_0xae7f4d=>{const _0x118371=_0x172a1a;if(_0xae7f4d['id']===io['id']){let {unitId:_0x2360a6,subUnitId:_0x4a0a10,drawingId:_0x3409b2}=_0xae7f4d[_0x118371(0x358)];this[_0x118371(0x18a)]=this[_0x118371(0x430)](_0x2360a6,_0x4a0a10,_0x3409b2),this[_0x118371(0x32e)](),this['_openShapeEditPanel']();}if(_0xae7f4d['id']===ro['id']&&(this[_0x118371(0x18a)]=null,this[_0x118371(0x1a6)]()),_0xae7f4d['id']===_0x23d787['id']){let {unitId:_0x1f05db,shapeId:_0x429547}=_0xae7f4d[_0x118371(0x358)];if(this['_activeShapeInfo']&&this[_0x118371(0x18a)][_0x118371(0x2e3)]===_0x429547){let _0x5724f6=this['_getShapeInfo'](_0x1f05db,this[_0x118371(0x18a)]['subUnitId'],_0x429547);_0x5724f6&&(this[_0x118371(0x18a)]=_0x5724f6);}}})),this['disposeWithMe'](this[_0x172a1a(0x36f)][_0x172a1a(0x356)][_0x172a1a(0x2cb)](_0xd715ca=>{const _0x572ef3=_0x172a1a;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0xd715ca[_0x572ef3(0x230)]===0x0){this[_0x572ef3(0x18a)]=null,this['_closeShapeEditPanel']();return;}if(_0xd715ca[_0x572ef3(0x230)]===0x1&&_0xd715ca[0x0][_0x572ef3(0x4b4)]===_0x585e26[_0x572ef3(0x47b)]&&(this[_0x572ef3(0x18a)]=this[_0x572ef3(0x430)](_0xd715ca[0x0][_0x572ef3(0x17d)],_0xd715ca[0x0][_0x572ef3(0x17b)],_0xd715ca[0x0][_0x572ef3(0x43e)]),this[_0x572ef3(0x18a)])){this[_0x572ef3(0x4df)]();return;}let _0x3eed60=_0xd715ca[_0x572ef3(0x4b3)](_0x16fcdf=>_0x16fcdf[_0x572ef3(0x4b4)]===_0x585e26[_0x572ef3(0x47b)]);if(_0xd715ca[_0x572ef3(0x230)]>0x1&&_0x3eed60[_0x572ef3(0x230)]===_0xd715ca['length']){if(this[_0x572ef3(0x18a)]=this[_0x572ef3(0x430)](_0xd715ca[0x0][_0x572ef3(0x17d)],_0xd715ca[0x0]['subUnitId'],_0xd715ca[0x0][_0x572ef3(0x43e)]),this[_0x572ef3(0x18a)]){this[_0x572ef3(0x4df)]();return;}}else{if(this[_0x572ef3(0x18a)]=this[_0x572ef3(0x430)](_0xd715ca[0x0]['unitId'],_0xd715ca[0x0]['subUnitId'],_0xd715ca[0x0][_0x572ef3(0x43e)]),this['_activeShapeInfo']){this[_0x572ef3(0x18a)]['disableShapeOption']=!0x0,this[_0x572ef3(0x4df)]();return;}}this[_0x572ef3(0x1a6)]();}));}[_0x16f7f1(0x209)](){const _0x2fc369=_0x16f7f1;[['ShapeIcon',_0x13344d],['ShapeAccentBorderCallout1Icon',_0x29f127],[_0x2fc369(0x2a6),_0x5c9b12],[_0x2fc369(0x2c4),_0x261c00],[_0x2fc369(0x1fc),_0x178d55],[_0x2fc369(0x384),_0x35d771],['ShapeAccentCallout3Icon',_0x3c4000],[_0x2fc369(0x1be),_0x521246],[_0x2fc369(0x258),_0x42f38b],[_0x2fc369(0xa8),_0x18f7aa],[_0x2fc369(0xfb),_0x1e038c],[_0x2fc369(0x44d),_0x39428d],[_0x2fc369(0x47d),_0x3b940c],[_0x2fc369(0x123),_0x1377e8],['ShapeActionButtonHomeIcon',_0x838fc9],[_0x2fc369(0x447),_0x243f3e],['ShapeActionButtonMovieIcon',_0x2654b4],['ShapeActionButtonReturnIcon',_0x28a9ab],['ShapeActionButtonSoundIcon',_0x4a26ea],['ShapeArcIcon',_0x369bf9],[_0x2fc369(0x28c),_0x243bea],[_0x2fc369(0xf1),_0x46f2f1],[_0x2fc369(0x49d),_0x146dd5],[_0x2fc369(0x412),_0x474760],[_0x2fc369(0x126),_0x22397e],[_0x2fc369(0x276),_0x5c3603],['ShapeBlockArcIcon',_0x1d3f9c],[_0x2fc369(0x147),_0xbd8762],[_0x2fc369(0x1fb),_0x952c4a],['ShapeBorderCallout3Icon',_0x5df820],[_0x2fc369(0x36b),_0xee0b0a],[_0x2fc369(0xbd),_0x35a221],[_0x2fc369(0x1a2),_0x3754ab],['ShapeCallout2Icon',_0x5b6a97],[_0x2fc369(0x422),_0x344e06],[_0x2fc369(0x3c1),_0x45b82e],[_0x2fc369(0x2af),_0xa460e6],[_0x2fc369(0x9f),_0x490b6c],[_0x2fc369(0xca),_0x3e0ee5],[_0x2fc369(0x21a),_0x33e27d],[_0x2fc369(0x3fe),_0x387448],[_0x2fc369(0x38f),_0x55a08d],[_0x2fc369(0x16c),_0x563b4a],[_0x2fc369(0x2a5),_0x457171],[_0x2fc369(0x470),_0x3ba052],['ShapeCornerTabsIcon',_0xc47ffe],[_0x2fc369(0x45c),_0x55c926],[_0x2fc369(0x106),_0x40e942],[_0x2fc369(0x17a),_0x3c7323],[_0x2fc369(0x426),_0x2110ba],['ShapeCurvedDownArrowIcon',_0x34651a],[_0x2fc369(0x2dd),_0x25bd3b],[_0x2fc369(0xc0),_0x8a30be],[_0x2fc369(0x387),_0x42a693],['ShapeDecagonIcon',_0x44bfd7],[_0x2fc369(0x138),_0x4cda0e],['ShapeDiamondIcon',_0x133223],['ShapeDodecagonIcon',_0x1cf0bb],['ShapeDonutIcon',_0x250804],['ShapeDoubleWaveIcon',_0x4f9b1d],[_0x2fc369(0x10a),_0x40e1f6],[_0x2fc369(0x33c),_0x314b68],[_0x2fc369(0x4ac),_0x2aced2],[_0x2fc369(0x210),_0xcf2491],[_0x2fc369(0x185),_0x594773],['ShapeFlowChartAlternateProcessIcon',_0x5d1efa],['ShapeFlowChartCollateIcon',_0x570937],[_0x2fc369(0x3a5),_0x2b2197],[_0x2fc369(0x393),_0x34054e],[_0x2fc369(0x368),_0x405892],[_0x2fc369(0x201),_0xa54189],[_0x2fc369(0x362),_0x49dfb3],[_0x2fc369(0x3a2),_0x7bdacd],[_0x2fc369(0x165),_0x271cbc],[_0x2fc369(0x2f1),_0xde0804],[_0x2fc369(0x494),_0x30cc5a],[_0x2fc369(0x457),_0x30b25e],['ShapeFlowChartMagneticTapeIcon',_0x3ffc05],[_0x2fc369(0x35a),_0x5a921f],['ShapeFlowChartManualOperationIcon',_0x2ca35f],['ShapeFlowChartMergeIcon',_0x245e1d],[_0x2fc369(0x4b8),_0x28ef3c],[_0x2fc369(0x1d8),_0x261cbb],[_0x2fc369(0x28b),_0x3d8ff0],[_0x2fc369(0x2a7),_0x3d40c4],[_0x2fc369(0xee),_0x35dbf2],[_0x2fc369(0x45a),_0x3b831a],[_0x2fc369(0x471),_0x38aaeb],['ShapeFlowChartProcessIcon',_0x483be0],[_0x2fc369(0x1ed),_0x5804b9],[_0x2fc369(0x2c9),_0x1d9635],[_0x2fc369(0x4d9),_0x3e3c88],[_0x2fc369(0x79),_0x108f73],['ShapeFlowChartTerminatorIcon',_0x32fdd1],[_0x2fc369(0xab),_0xa2d387],[_0x2fc369(0x144),_0x11b81b],[_0x2fc369(0x4d2),_0x2ad0f7],['ShapeGear6Icon',_0x541065],[_0x2fc369(0x4c7),_0x1899bc],[_0x2fc369(0x2f2),_0x20f69f],[_0x2fc369(0x149),_0x56a847],[_0x2fc369(0xa3),_0x49a95e],[_0x2fc369(0x313),_0x365837],[_0x2fc369(0x4bb),_0x215f19],[_0x2fc369(0x8c),_0x110ecd],['ShapeIrregularSeal1Icon',_0x47e64c],[_0x2fc369(0x3fa),_0x196d43],[_0x2fc369(0x458),_0x9ac195],[_0x2fc369(0x4ad),_0x109f16],[_0x2fc369(0x3b2),_0x1728fc],[_0x2fc369(0x1d6),_0x50b7b6],[_0x2fc369(0x374),_0x26ab12],[_0x2fc369(0x26f),_0x2c5c61],[_0x2fc369(0x1b2),_0x51839c],[_0x2fc369(0x19e),_0x34b35d],['ShapeLeftRightRibbonIcon',_0x51e0c7],[_0x2fc369(0x2e6),_0x211791],['ShapeLeftUpArrowIcon',_0x164d07],[_0x2fc369(0x315),_0xb887df],[_0x2fc369(0x1e1),_0x1dd2a5],['ShapeLineInvIcon',_0x20fc0b],[_0x2fc369(0x3c7),_0xf905ff],[_0x2fc369(0x415),_0x338a3f],[_0x2fc369(0x3eb),_0xbc2378],[_0x2fc369(0x34f),_0x3b9cfe],[_0x2fc369(0x75),_0xa1bc6d],[_0x2fc369(0x342),_0x1f2973],['ShapeMoonIcon',_0xab761b],[_0x2fc369(0x2e7),_0x1335ad],['ShapeNonIsoscelesTrapezoidIcon',_0xfd91],['ShapeNotchedRightArrowIcon',_0x101fb2],[_0x2fc369(0x3ca),_0x4ccfa],[_0x2fc369(0xf3),_0x34cec9],[_0x2fc369(0x2b6),_0x581267],[_0x2fc369(0x4e4),_0x5d3215],['ShapePieWedgeIcon',_0x3564e3],['ShapePlaqueIcon',_0x3e65af],['ShapePlaqueTabsIcon',_0x283544],[_0x2fc369(0x36a),_0x2c1745],[_0x2fc369(0x40c),_0x22b972],[_0x2fc369(0x2c0),_0x18f5bf],[_0x2fc369(0xe5),_0x381cbf],['ShapeRectTextboxHorizontalIcon',_0x169443],[_0x2fc369(0x1ee),_0x553e23],[_0x2fc369(0x18e),_0x2c3ad5],['ShapeRibbonIcon',_0xeccb49],['ShapeRightArrowCalloutIcon',_0x24e266],[_0x2fc369(0x400),_0x545feb],[_0x2fc369(0x459),_0x2a6cda],[_0x2fc369(0x328),_0x53f29c],[_0x2fc369(0x198),_0x23fc2d],[_0x2fc369(0x6c),_0x2abc57],[_0x2fc369(0x161),_0xcce73e],['ShapeRoundRectIcon',_0x1ee94b],[_0x2fc369(0xc6),_0x3a2200],['ShapeSmileyFaceIcon',_0x53d134],['ShapeSnip1RectIcon',_0x41c950],[_0x2fc369(0x121),_0x5eb26a],[_0x2fc369(0x2da),_0x46e063],[_0x2fc369(0xd7),_0x336fde],[_0x2fc369(0xf2),_0x5cd5d3],['ShapeStar10Icon',_0x726841],[_0x2fc369(0x423),_0x1b6cde],[_0x2fc369(0x203),_0x343fd9],[_0x2fc369(0x1ef),_0x4cbb28],['ShapeStar32Icon',_0x1b1743],[_0x2fc369(0x6e),_0x40eee7],[_0x2fc369(0x473),_0x225831],[_0x2fc369(0x16f),_0x11df36],[_0x2fc369(0x3b8),_0xfa5eb3],[_0x2fc369(0x16b),_0x1c2a1e],[_0x2fc369(0x472),_0xbdb40b],[_0x2fc369(0x2c2),_0x3d59aa],[_0x2fc369(0x2b1),_0x6ee1e2],[_0x2fc369(0x23a),_0x2a3212],[_0x2fc369(0x2c3),_0x3d90df],['ShapeTeardropIcon',_0x1d5328],['ShapeTrapezoidIcon',_0x4d3eb2],[_0x2fc369(0x2fa),_0x303ddb],[_0x2fc369(0x29b),_0x5d9757],[_0x2fc369(0x17e),_0x3381f],[_0x2fc369(0x151),_0x5ae16b],[_0x2fc369(0x4b0),_0x255b96],['ShapeUturnArrowIcon',_0x4c361e],[_0x2fc369(0x371),_0x437c3b],[_0x2fc369(0x2c7),_0x4c8afc],[_0x2fc369(0x4c0),_0x16c509],[_0x2fc369(0x49b),_0x1dfcad],[_0x2fc369(0x30c),_0x46b1d6],[ao,Do],[jo,Ho],[Go,Jo],[_0x5c66cf,qo]][_0x2fc369(0x1ca)](([_0x2a71cf,_0x9dbe7d])=>{const _0x3fc6cc=_0x2fc369;this['disposeWithMe'](this['_componentManager'][_0x3fc6cc(0x322)](_0x2a71cf,_0x9dbe7d));});}[_0x16f7f1(0x4df)](){const _0x5494d0=_0x16f7f1;this['_sidebarDisposable']=this[_0x5494d0(0xed)]['open']({'id':ao,'header':{'title':this[_0x5494d0(0x366)]['t'](_0x5494d0(0xb0))},'width':0x184,'children':{'label':ao,...this[_0x5494d0(0x18a)]},'onClose':()=>{const _0x3292db=_0x5494d0;this['_drawingManagerService'][_0x3292db(0x3a3)](null),this[_0x3292db(0x347)][_0x3292db(0x43d)](_0x3e9ae6,!0x1),this[_0x3292db(0x173)]=null;}}),this[_0x5494d0(0x44f)]=!0x0;}[_0x16f7f1(0x1a6)](){const _0x545bd2=_0x16f7f1;this[_0x545bd2(0x44f)]=!0x1,this[_0x545bd2(0xed)]['close'](ao),this[_0x545bd2(0x173)]=null,this[_0x545bd2(0x347)]['setContextValue'](_0x3e9ae6,!0x1),this[_0x545bd2(0x36f)][_0x545bd2(0x3a3)](null);}};es=go([$(0x0,_0x36e98e),$(0x1,_0x3bd34c(_0x329c1e)),$(0x2,_0x180e8e),$(0x3,_0x3bd34c(_0x3c18a4)),$(0x4,_0x3bd34c(_0x3e881f)),$(0x5,_0x3bd34c(_0x49e5bf)),$(0x6,_0x24c807),$(0x7,_0x16de2e),$(0x8,_0x3bd34c(_0xf1857d)),$(0x9,_0x58e500),$(0xa,_0x23b81c),$(0xb,_0x3bd34c(uo))],es);var ts=_0x16f7f1(0x18f),ns=_0x16f7f1(0x184);const rs={};var is=class extends _0x2e4afd{constructor(_0x26c47a,_0x995642){const _0x4e9ccc=_0x16f7f1;super(_0x26c47a,_0x995642),Z(this,'_shapeId',null),Z(this,'_adjName',null),Z(this,'_unitId',null),Z(this,_0x4e9ccc(0xcc),null),_0x995642&&this[_0x4e9ccc(0x405)](_0x995642);}[_0x16f7f1(0x3a4)](){const _0x5d3f65=_0x16f7f1;return{'unitId':this[_0x5d3f65(0x254)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x5d3f65(0x456)]};}[_0x16f7f1(0x405)](_0x1722eb){const _0x58003c=_0x16f7f1;_0x1722eb[_0x58003c(0x2e3)]!==void 0x0&&(this['_shapeId']=_0x1722eb[_0x58003c(0x2e3)]),_0x1722eb[_0x58003c(0x4a5)]!==void 0x0&&(this[_0x58003c(0x3cd)]=_0x1722eb[_0x58003c(0x4a5)]),_0x1722eb[_0x58003c(0x17d)]!==void 0x0&&(this[_0x58003c(0x254)]=_0x1722eb[_0x58003c(0x17d)]),_0x1722eb[_0x58003c(0x17b)]!==void 0x0&&(this[_0x58003c(0xcc)]=_0x1722eb[_0x58003c(0x17b)]),this[_0x58003c(0x219)]({'width':_0x1722eb[_0x58003c(0x42b)],'height':_0x1722eb[_0x58003c(0x3b1)]});}['_draw'](_0x1e5d12){const _0x578eb1=_0x16f7f1;_0x1c07ce[_0x578eb1(0x2bd)](_0x1e5d12,{'radius':_0x261a0a[_0x578eb1(0x2d4)],'fill':_0x261a0a[_0x578eb1(0x2e4)],'stroke':_0x261a0a[_0x578eb1(0xaf)],'strokeWidth':0x1,'evented':!0x0});}};let as=class extends _0x19fa94{constructor(_0x173741,_0x28689c,_0x2798d2,_0x1d5097){const _0x26148=_0x16f7f1;super(),this[_0x26148(0x127)]=_0x173741,this[_0x26148(0x36f)]=_0x28689c,this[_0x26148(0x39e)]=_0x2798d2,this[_0x26148(0x257)]=_0x1d5097,Z(this,_0x26148(0x171),null),Z(this,_0x26148(0x254),null),Z(this,_0x26148(0xcc),null),Z(this,_0x26148(0xff),void 0x0),Z(this,'_adjustPointObjects',[]),Z(this,_0x26148(0x175),0x0),Z(this,_0x26148(0x27c),0x0),Z(this,_0x26148(0x417),0x0),Z(this,_0x26148(0x1f5),0x0),Z(this,_0x26148(0x190),!0x1),Z(this,'_isShouldShowDrawingShapeAdjust',!0x1),Z(this,_0x26148(0x340),void 0x0),Z(this,_0x26148(0x1b6),void 0x0),Z(this,'_adjHandlerPointerMove',void 0x0),Z(this,_0x26148(0xde),void 0x0),this[_0x26148(0x304)](),this['_registerDrawingTransformHandler']();}[_0x16f7f1(0x1c9)](){const _0x2e7746=_0x16f7f1;this[_0x2e7746(0x33a)]();}['refreshAdjustControls'](){const _0xc33540=_0x16f7f1;this[_0xc33540(0x17f)](!0x0);}['_getShapeAdjustPointListById'](_0x279311,_0xe8d5e0,_0x38602e){const _0x203d43=_0x16f7f1;var _0x3d4a52;return(_0x3d4a52=this[_0x203d43(0x39e)][_0x203d43(0x3db)](_0x279311,_0xe8d5e0,_0x38602e))==null?void 0x0:_0x3d4a52[_0x203d43(0x245)]();}[_0x16f7f1(0x4a9)](_0x25a7f9,_0x4e59a4,_0x47b482,_0x2e74a9){const _0x1401bb=_0x16f7f1;var _0x321f1b;return(_0x321f1b=this[_0x1401bb(0x39e)][_0x1401bb(0x3db)](_0x25a7f9,_0x4e59a4,_0x47b482))==null?void 0x0:_0x321f1b['getAdjustInfoByName'](_0x2e74a9);}[_0x16f7f1(0x2c8)](){const _0x2079a1=_0x16f7f1;if(this[_0x2079a1(0x254)]===null||this[_0x2079a1(0xcc)]===null||this[_0x2079a1(0x171)]===null)return null;let _0x24dbb7=this[_0x2079a1(0x36f)][_0x2079a1(0x26a)]({'unitId':this[_0x2079a1(0x254)],'subUnitId':this[_0x2079a1(0xcc)],'drawingId':this['_activeShapeId']});return _0x24dbb7==null?null:_0x24dbb7;}[_0x16f7f1(0x14f)](_0x1aaf5e){const _0x4112cc=_0x16f7f1;if(this[_0x4112cc(0x254)]===null||this['_subUnitId']===null||this[_0x4112cc(0x171)]===null)return null;let _0x39724d=_0x131e54({'unitId':this['_unitId'],'subUnitId':this[_0x4112cc(0xcc)],'drawingId':this[_0x4112cc(0x171)]}),_0x145dbf=_0x1aaf5e[_0x4112cc(0x3df)](_0x39724d);return _0x145dbf instanceof ho?_0x145dbf:null;}[_0x16f7f1(0x266)](_0x5eac04=!0x1){const _0x168aa3=_0x16f7f1;if(this['_unitId']===null||this['_subUnitId']===null||this[_0x168aa3(0x171)]===null)return;let _0xaba51e=this[_0x168aa3(0x2c8)]();if((_0xaba51e==null?void 0x0:_0xaba51e[_0x168aa3(0x4b4)])!==_0x585e26[_0x168aa3(0x47b)]||!_0xaba51e[_0x168aa3(0x449)])return;let _0x59f201=this[_0x168aa3(0x39e)][_0x168aa3(0x3db)](this[_0x168aa3(0x254)],this[_0x168aa3(0xcc)],this[_0x168aa3(0x171)]);if(!_0x59f201||_0x59f201[_0x168aa3(0xf6)]())return;(_0x5eac04||!this[_0x168aa3(0xff)])&&(this[_0x168aa3(0xff)]=this[_0x168aa3(0xc4)](this[_0x168aa3(0x254)],this[_0x168aa3(0xcc)],this['_activeShapeId']));let _0xdda83e=this[_0x168aa3(0xff)];if(!(_0xdda83e!=null&&_0xdda83e[_0x168aa3(0x230)]))return;let {scene:_0xb7308f}=this[_0x168aa3(0x127)],{left:_0x4d5ad0=0x0,top:_0x31e491=0x0,width:_0x281edd=0x0,height:_0x465bf7=0x0,flipX:_0x2c23ad,flipY:_0x3b6cb4,angle:_0x416641=0x0}=_0xaba51e[_0x168aa3(0x449)];for(let _0xeb1ec8 of _0xdda83e){let _0x22c5aa=this[_0x168aa3(0x3ac)](_0xeb1ec8,_0x281edd,_0x465bf7,!!_0x2c23ad,!!_0x3b6cb4,_0x416641);this[_0x168aa3(0xbc)](_0xb7308f,_0x22c5aa,_0x22c5aa['adjName'],_0x4d5ad0,_0x31e491,this['_unitId'],this[_0x168aa3(0xcc)]);}}[_0x16f7f1(0x3ac)](_0xb81b25,_0x4b4fe9,_0x48e34d,_0x3b4faa,_0x2b985d,_0x13346d){const _0x4fb930=_0x16f7f1;let _0x5a25bf=_0xb81b25['x'],_0x485e8b=_0xb81b25['y'];if(_0x3b4faa&&(_0x5a25bf=_0x4b4fe9-_0x5a25bf),_0x2b985d&&(_0x485e8b=_0x48e34d-_0x485e8b),_0x13346d!==0x0){let _0x8fb3b1=_0x4b4fe9/0x2,_0x11fde1=_0x48e34d/0x2,_0x443b44=_0x13346d*Math['PI']/0xb4,_0x332fa1=Math['cos'](_0x443b44),_0x24838f=Math[_0x4fb930(0xa2)](_0x443b44),_0x19b9a1=_0x5a25bf-_0x8fb3b1,_0x1d63e3=_0x485e8b-_0x11fde1;_0x5a25bf=_0x8fb3b1+(_0x19b9a1*_0x332fa1-_0x1d63e3*_0x24838f),_0x485e8b=_0x11fde1+(_0x19b9a1*_0x24838f+_0x1d63e3*_0x332fa1);}return{'x':_0x5a25bf,'y':_0x485e8b,'adjName':_0xb81b25['adjName']};}[_0x16f7f1(0x17f)](_0x1aa4be=!0x1){const _0xd882ec=_0x16f7f1;_0x1aa4be&&this[_0xd882ec(0x33a)](),this[_0xd882ec(0x266)](_0x1aa4be);}[_0x16f7f1(0xbc)](_0x305220,_0x31f20c,_0x3d8ba5,_0x2a0220,_0x489954,_0x4fe0ae,_0x254048){const _0x1adfd4=_0x16f7f1;if(!this['_activeShapeId'])return;let _0x49276e=_0x1adfd4(0x1b1)+this[_0x1adfd4(0x171)]+'-'+_0x3d8ba5,_0x17d98a=_0x305220['getObjectIncludeInGroup'](_0x49276e);if(_0x17d98a){_0x17d98a[_0x1adfd4(0x219)]({'left':_0x31f20c['x']+_0x2a0220-_0x261a0a[_0x1adfd4(0x2d4)],'top':_0x31f20c['y']+_0x489954-_0x261a0a[_0x1adfd4(0x2d4)]}),_0x17d98a[_0x1adfd4(0x2d2)](!0x0);return;}let _0x58c235=new is(_0x49276e,{'left':_0x31f20c['x']+_0x2a0220-_0x261a0a[_0x1adfd4(0x2d4)],'top':_0x31f20c['y']+_0x489954-_0x261a0a[_0x1adfd4(0x2d4)],'adjName':_0x3d8ba5,'shapeId':this[_0x1adfd4(0x171)],'unitId':_0x4fe0ae,'subUnitId':_0x254048,'width':_0x261a0a[_0x1adfd4(0x2d4)]+0x8,'height':_0x261a0a[_0x1adfd4(0x2d4)]+0x8,'zIndex':_0x46d010+0x1,'evented':!0x0});this[_0x1adfd4(0x1e2)][_0x1adfd4(0x369)](_0x58c235),this[_0x1adfd4(0xb1)](_0x58c235,_0x305220,_0x3d8ba5),_0x305220[_0x1adfd4(0x107)](_0x58c235,_0x46d010+0x1);}[_0x16f7f1(0x33a)](){const _0x21635b=_0x16f7f1;this[_0x21635b(0x1e2)][_0x21635b(0x1ca)](_0x4ffb76=>_0x4ffb76[_0x21635b(0x451)]()),this['_adjustPointObjects']=[];}[_0x16f7f1(0x334)](){this['_createShapeAdjustControls']();}['_toScenePoint'](_0x8dccdf,_0x13da36,_0x5d34a7){const _0x450769=_0x16f7f1;var _0xd7152b,_0x3d17a3;let _0x1258d4=_0xd45663[_0x450769(0x344)]([_0x13da36,_0x5d34a7]),_0x59a199=(_0xd7152b=_0x8dccdf[_0x450769(0x3ed)](_0x1258d4))==null?_0x8dccdf[_0x450769(0x2d8)]()[0x0]:_0xd7152b;return(_0x3d17a3=_0x59a199==null?void 0x0:_0x59a199[_0x450769(0x479)](_0x1258d4))==null?_0x1258d4:_0x3d17a3;}[_0x16f7f1(0xb1)](_0x1be79e,_0xe2d481,_0x31f1c7){const _0x3e3dbd=_0x16f7f1;this['disposeWithMe'](_0x31e856(_0x1be79e[_0x3e3dbd(0x261)]['subscribeEvent']((_0x2f9f1b,_0x1b265f)=>{const _0x5f4456=_0x3e3dbd;var _0x5a474f,_0xd371bf,_0x4f6666,_0x523bf1;let _0x22ba32=_0x1be79e[_0x5f4456(0x3a4)]();this[_0x5f4456(0x340)]=this[_0x5f4456(0x4a9)](_0x22ba32[_0x5f4456(0x17d)],_0x22ba32[_0x5f4456(0x17b)],_0x22ba32[_0x5f4456(0x43e)],_0x31f1c7),this[_0x5f4456(0x1b6)]=this['_docsShapeService'][_0x5f4456(0x3db)](_0x22ba32[_0x5f4456(0x17d)],_0x22ba32['subUnitId'],_0x22ba32['drawingId']);let _0x8cc544=this['_getActiveDrawingParam'](),_0x26bb28=_0x8cc544==null?void 0x0:_0x8cc544['transform'];if(!_0x8cc544||!_0x26bb28||!this[_0x5f4456(0x1b6)])return;this['_baseShapeLeft']=_0x26bb28[_0x5f4456(0x379)]||0x0,this[_0x5f4456(0x27c)]=_0x26bb28[_0x5f4456(0x20d)]||0x0,this[_0x5f4456(0x417)]=_0x26bb28[_0x5f4456(0x42b)]||0x0,this[_0x5f4456(0x1f5)]=_0x26bb28[_0x5f4456(0x3b1)]||0x0;let _0x535748=!!_0x26bb28[_0x5f4456(0x428)],_0xcbad38=!!_0x26bb28[_0x5f4456(0x225)],_0x51b0f8=_0x26bb28[_0x5f4456(0x86)]||0x0,_0x19819f=((_0x5a474f=this[_0x5f4456(0x340)])==null?void 0x0:_0x5a474f[_0x5f4456(0x318)])||((_0xd371bf=this[_0x5f4456(0x340)])==null?void 0x0:_0xd371bf['gdRefY'])||((_0x4f6666=this[_0x5f4456(0x340)])==null?void 0x0:_0x4f6666[_0x5f4456(0x1a5)])||((_0x523bf1=this[_0x5f4456(0x340)])==null?void 0x0:_0x523bf1[_0x5f4456(0x477)])||_0x31f1c7,_0x1d7af8=this[_0x5f4456(0x1b6)][_0x5f4456(0x3f3)](_0x19819f),_0x531c02={[_0x19819f]:_0x1d7af8};this['_isStartAdjusting']=!0x0,_0xe2d481['disableObjectsEvent'](),this[_0x5f4456(0x372)]=_0xe2d481[_0x5f4456(0x242)][_0x5f4456(0xc5)]((_0x5f476a,_0x486599)=>{const _0x2f24d9=_0x5f4456;var _0x590564;if(!this[_0x2f24d9(0x190)]||!this[_0x2f24d9(0x1b6)]||!this[_0x2f24d9(0x340)])return;_0xe2d481['disableObjectsEvent'](),_0xe2d481[_0x2f24d9(0x9a)](_0xfd9f8d['CROSSHAIR']);let _0x4e5d78=this['_toScenePoint'](_0xe2d481,_0x5f476a[_0x2f24d9(0x233)],_0x5f476a[_0x2f24d9(0x1e4)]),_0x21a428=_0x4e5d78['x']-this['_baseShapeLeft'],_0x557866=_0x4e5d78['y']-this[_0x2f24d9(0x27c)];if(_0x51b0f8!==0x0){let _0x2b18b2=this[_0x2f24d9(0x417)]/0x2,_0x4d104b=this[_0x2f24d9(0x1f5)]/0x2,_0x1a8d26=_0x51b0f8*Math['PI']/0xb4,_0x292280=Math[_0x2f24d9(0x22d)](_0x1a8d26),_0x20f284=Math[_0x2f24d9(0xa2)](_0x1a8d26),_0x56df8b=_0x21a428-_0x2b18b2,_0x38d1ff=_0x557866-_0x4d104b;_0x21a428=_0x2b18b2+(_0x56df8b*_0x292280+_0x38d1ff*_0x20f284),_0x557866=_0x4d104b+(-_0x56df8b*_0x20f284+_0x38d1ff*_0x292280);}_0x535748&&(_0x21a428=this[_0x2f24d9(0x417)]-_0x21a428),_0xcbad38&&(_0x557866=this['_baseShapeHeight']-_0x557866);let _0x31816b={'left':0x0,'top':0x0,'width':this[_0x2f24d9(0x417)],'height':this['_baseShapeHeight']},_0x40688d=this['_activeShapeModel'][_0x2f24d9(0x4c4)](_0x31816b,{'x':_0x21a428,'y':_0x557866},this[_0x2f24d9(0x340)],_0x535748,_0xcbad38),_0x50b63b=this[_0x2f24d9(0x340)][_0x2f24d9(0x318)]||this[_0x2f24d9(0x340)][_0x2f24d9(0x72)]||this[_0x2f24d9(0x340)][_0x2f24d9(0x1a5)]||this[_0x2f24d9(0x340)][_0x2f24d9(0x477)];_0x50b63b!==void 0x0&&(this[_0x2f24d9(0x1b6)]['setAdjustValueByName'](_0x50b63b,_0x40688d),(_0x590564=this['_getActiveDrawingShape'](_0xe2d481))==null||_0x590564[_0x2f24d9(0x2d2)](!0x0),this['_activeShapeAdjustPointList']=this[_0x2f24d9(0xc4)](_0x22ba32[_0x2f24d9(0x17d)],_0x22ba32[_0x2f24d9(0x17b)],_0x22ba32[_0x2f24d9(0x43e)]),this['_updateAdjustControlPositions'](),_0x486599[_0x2f24d9(0x4c5)]());}),this[_0x5f4456(0xde)]=_0xe2d481['onPointerUp$'][_0x5f4456(0xc5)]((_0x179132,_0x5a18c8)=>{const _0x4e6517=_0x5f4456;var _0x2787cb,_0x39d8bb;(_0x2787cb=this[_0x4e6517(0x372)])==null||_0x2787cb[_0x4e6517(0x493)](),(_0x39d8bb=this['_adjHandlerPointerUp'])==null||_0x39d8bb[_0x4e6517(0x493)](),_0xe2d481[_0x4e6517(0x118)]();let _0x352d67=this[_0x4e6517(0x340)];if(_0x352d67&&this['_activeShapeModel']){let _0x40904f=_0x352d67[_0x4e6517(0x318)]||_0x352d67['gdRefY']||_0x352d67['gdRefAng']||_0x352d67[_0x4e6517(0x477)];if(_0x40904f!==void 0x0){let _0x510c91=this[_0x4e6517(0x1b6)][_0x4e6517(0x3f3)](_0x40904f);_0x510c91!==void 0x0&&Q(this[_0x4e6517(0x257)],_0x22ba32['unitId'],_0x22ba32[_0x4e6517(0x17b)],_0x22ba32[_0x4e6517(0x43e)],{'oldShapeData':{'adjustValues':_0x531c02}},{'adjustValues':{[_0x40904f]:_0x510c91}});}}this[_0x4e6517(0x340)]=void 0x0,this[_0x4e6517(0x1b6)]=void 0x0,this[_0x4e6517(0x190)]=!0x1,_0xe2d481['enableObjectsEvent'](),_0x5a18c8['stopPropagation']();}),_0x1b265f[_0x5f4456(0x4c5)]();})));}[_0x16f7f1(0x9c)](){const _0x21ca4c=_0x16f7f1;let {scene:_0x40777d}=this['_context'],_0xd866cd=_0x40777d['getTransformerByCreate']();this[_0x21ca4c(0x4bd)](_0xd866cd[_0x21ca4c(0x3c9)][_0x21ca4c(0x2cb)](_0x353311=>{const _0x3a33a1=_0x21ca4c;this['_createShapeAdjustControls'](),_0x353311[_0x3a33a1(0x114)]!==null&&_0x353311[_0x3a33a1(0x114)][_0x3a33a1(0x499)]===0x1&&_0x353311[_0x3a33a1(0x114)][_0x3a33a1(0x4ce)]()[_0x3a33a1(0x200)]()[_0x3a33a1(0x438)]instanceof ho&&(this['_isShouldShowDrawingShapeAdjust']=!0x0);})),this[_0x21ca4c(0x4bd)](_0xd866cd[_0x21ca4c(0x4e5)]['subscribe'](()=>{const _0x811b41=_0x21ca4c;this[_0x811b41(0xd1)]&&this['_clearShapeAdjustControls']();})),this[_0x21ca4c(0x4bd)](_0x40777d[_0x21ca4c(0x414)][_0x21ca4c(0xc5)](()=>{const _0x563782=_0x21ca4c;this[_0x563782(0xd1)]&&(this[_0x563782(0xd1)]=!0x1,this[_0x563782(0x266)]());})),this[_0x21ca4c(0x4bd)](_0xd866cd[_0x21ca4c(0xd3)][_0x21ca4c(0x2cb)](()=>{const _0x2a1520=_0x21ca4c;this[_0x2a1520(0x254)]&&this[_0x2a1520(0xcc)]&&this[_0x2a1520(0x171)]&&(this[_0x2a1520(0xff)]=this[_0x2a1520(0xc4)](this[_0x2a1520(0x254)],this[_0x2a1520(0xcc)],this['_activeShapeId']),this[_0x2a1520(0x334)]());}));}['_registerDrawingFocusChangeHandler'](){const _0x513b2f=_0x16f7f1;this['disposeWithMe'](this['_drawingManagerService'][_0x513b2f(0x356)][_0x513b2f(0x2cb)](_0x568d59=>{const _0x54ea3e=_0x513b2f;if(_0x568d59[_0x54ea3e(0x230)]===0x1){let _0x306532=_0x568d59[0x0],_0x2b40a7=this[_0x54ea3e(0x36f)][_0x54ea3e(0x26a)](_0x306532);if((_0x2b40a7==null?void 0x0:_0x2b40a7['drawingType'])===_0x585e26['DRAWING_SHAPE']){this['_activeShapeId']=_0x306532[_0x54ea3e(0x43e)],this[_0x54ea3e(0x254)]=_0x306532[_0x54ea3e(0x17d)],this['_subUnitId']=_0x306532[_0x54ea3e(0x17b)],this['_activeShapeAdjustPointList']=this[_0x54ea3e(0xc4)](_0x306532[_0x54ea3e(0x17d)],_0x306532[_0x54ea3e(0x17b)],_0x306532[_0x54ea3e(0x43e)]),this[_0x54ea3e(0x33a)](),this[_0x54ea3e(0x266)]();return;}}this[_0x54ea3e(0x171)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x54ea3e(0x254)]=null,this['_subUnitId']=null,this[_0x54ea3e(0x33a)]();})),this[_0x513b2f(0x4bd)](this['_drawingManagerService']['update$'][_0x513b2f(0x2cb)](_0x270e74=>{const _0x42472d=_0x513b2f;if(_0x270e74[_0x42472d(0x230)]===0x1){var _0x7bc156;((_0x7bc156=this[_0x42472d(0x36f)][_0x42472d(0x26a)](_0x270e74[0x0]))==null?void 0x0:_0x7bc156[_0x42472d(0x4b4)])===_0x585e26['DRAWING_SHAPE']&&this[_0x42472d(0x17f)](!0x0);}})),this['disposeWithMe'](this[_0x513b2f(0x36f)][_0x513b2f(0x183)]['subscribe'](_0x10e18b=>{const _0x5b4390=_0x513b2f;for(let _0x58d868 of _0x10e18b)this[_0x5b4390(0x171)]===_0x58d868[_0x5b4390(0x43e)]&&(this[_0x5b4390(0x171)]=null,this[_0x5b4390(0xff)]=void 0x0,this[_0x5b4390(0x254)]=null,this[_0x5b4390(0xcc)]=null,this[_0x5b4390(0x33a)]());}));}};as=go([$(0x1,_0x16de2e),$(0x2,_0x3bd34c(_0x3c18a4)),$(0x3,_0x24c807)],as);function os(_0x342ce8,_0x1970ff){const _0x461bf6=_0x16f7f1;let _0x3665b4=_0x342ce8;for(;_0x3665b4;){if(_0x1970ff(_0x3665b4))return _0x3665b4;_0x3665b4=typeof _0x3665b4['getParent']==_0x461bf6(0x464)?_0x3665b4[_0x461bf6(0x370)]():null;}return null;}function ss(_0x298e9a){return os(_0x298e9a,_0x2f3617=>_0x2f3617 instanceof ho);}let cs=class extends _0x19fa94{constructor(_0x594d55,_0x166d8d,_0x58d999,_0x2a2e87,_0x24057e){const _0xe382e1=_0x16f7f1;super(),this[_0xe382e1(0x127)]=_0x594d55,this[_0xe382e1(0x206)]=_0x166d8d,this[_0xe382e1(0x36f)]=_0x58d999,this[_0xe382e1(0x347)]=_0x2a2e87,this[_0xe382e1(0x39e)]=_0x24057e,Z(this,_0xe382e1(0x49a),null),this[_0xe382e1(0x293)](),this[_0xe382e1(0x1c8)](),this[_0xe382e1(0x31a)]();}[_0x16f7f1(0x293)](){const _0x16b21f=_0x16f7f1;let {scene:_0xacb07a}=this[_0x16b21f(0x127)];this[_0x16b21f(0x4bd)](_0xacb07a['onDblclick$'][_0x16b21f(0xc5)](_0x1b29fb=>{const _0x578670=_0x16b21f;var _0x3c75a2;let {offsetX:_0x512683,offsetY:_0x5205aa}=_0x1b29fb,_0x38092d=_0xd45663[_0x578670(0x344)]([_0x512683,_0x5205aa]),_0x59d75e=(_0x3c75a2=ss(_0xacb07a[_0x578670(0x263)](_0x38092d)))==null?this[_0x578670(0x1b0)](_0x38092d):_0x3c75a2;if(_0x59d75e){if(_0x163121(this[_0x578670(0x39e)][_0x578670(0x3d7)](_0x59d75e[_0x578670(0x17d)],_0x59d75e[_0x578670(0x17b)],_0x59d75e[_0x578670(0x2e3)])))return;this[_0x578670(0x206)][_0x578670(0x73)]({'visible':!0x0,'unitId':_0x59d75e[_0x578670(0x17d)],'subUnitId':_0x59d75e['subUnitId'],'shapeId':_0x59d75e[_0x578670(0x2e3)],'shapeKey':_0x59d75e[_0x578670(0x408)]});}}));}[_0x16f7f1(0x1b0)](_0x352067){const _0x1e3888=_0x16f7f1;let {scene:_0x1fea7d}=this[_0x1e3888(0x127)],_0xb4027e=this[_0x1e3888(0x36f)]['getFocusDrawings']()[_0x1e3888(0x37f)](_0x20a2dd=>_0x1fea7d[_0x1e3888(0x3df)](_0x131e54(_0x20a2dd)))[_0x1e3888(0xdc)](_0x3e61fc=>_0x3e61fc instanceof ho&&_0x3e61fc['isHit'](_0x352067));return _0xb4027e==null?null:_0xb4027e;}[_0x16f7f1(0x1c8)](){const _0x3db095=_0x16f7f1;this[_0x3db095(0x4bd)](this[_0x3db095(0x36f)][_0x3db095(0x356)][_0x3db095(0x2cb)](_0x5915f5=>{const _0x337602=_0x3db095;if(_0x5915f5[_0x337602(0x230)]===0x1){let _0x325d81=_0x5915f5[0x0],_0x2c946c=this[_0x337602(0x36f)][_0x337602(0x26a)](_0x325d81);if((_0x2c946c==null?void 0x0:_0x2c946c[_0x337602(0x4b4)])===_0x585e26['DRAWING_SHAPE']){let _0x2f7a47=this['_shapeTextEditingService'][_0x337602(0x354)]();if((_0x2f7a47==null?void 0x0:_0x2f7a47[_0x337602(0x2e3)])===_0x325d81[_0x337602(0x43e)]&&_0x2f7a47['visible'])return;_0x163121(this['_docsShapeService'][_0x337602(0x3d7)](_0x325d81[_0x337602(0x17d)],_0x325d81['subUnitId'],_0x325d81['drawingId']))&&this[_0x337602(0x206)][_0x337602(0x73)](null);}else this['_shapeTextEditingService'][_0x337602(0x354)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x23f68c=_0x337602;this[_0x23f68c(0x206)][_0x23f68c(0x73)](null);}));}else this[_0x337602(0x206)]['getEditing']()&&(this[_0x337602(0x206)][_0x337602(0xe6)](!0x0),requestAnimationFrame(()=>{const _0x4c380c=_0x337602;this[_0x4c380c(0x206)][_0x4c380c(0x73)](null);}));})),this['disposeWithMe'](this[_0x3db095(0x36f)]['remove$'][_0x3db095(0x2cb)](_0x1fc16e=>{const _0x4b4b52=_0x3db095;let _0xb85553=this[_0x4b4b52(0x206)][_0x4b4b52(0x354)]();_0xb85553&&_0x1fc16e[_0x4b4b52(0x162)](_0x2ee011=>_0x2ee011[_0x4b4b52(0x43e)]===_0xb85553[_0x4b4b52(0x2e3)])&&this[_0x4b4b52(0x206)][_0x4b4b52(0x73)](null);}));}[_0x16f7f1(0x31a)](){const _0x1d4e7d=_0x16f7f1;this[_0x1d4e7d(0x4bd)](this[_0x1d4e7d(0x206)][_0x1d4e7d(0x2f6)][_0x1d4e7d(0x2cb)](_0x4618a6=>{const _0x1a85e2=_0x1d4e7d;let {scene:_0x195864}=this[_0x1a85e2(0x127)];if(this[_0x1a85e2(0x49a)]){let _0x1f7ec8=_0x195864['getObjectIncludeInGroup'](this[_0x1a85e2(0x49a)]);_0x1f7ec8&&_0x1f7ec8['setEditing'](!0x1);}if(_0x4618a6){let _0x7d85a9=!!_0x4618a6[_0x1a85e2(0x8a)],_0x5db194=_0x195864['getObjectIncludeInGroup'](_0x4618a6[_0x1a85e2(0x2ec)]);_0x5db194&&(_0x5db194[_0x1a85e2(0x73)](_0x7d85a9),this[_0x1a85e2(0x49a)]=_0x4618a6[_0x1a85e2(0x2ec)]),this['_contextService']['setContextValue'](_0x5e6b88,_0x7d85a9);}else this[_0x1a85e2(0x49a)]=null,this[_0x1a85e2(0x347)][_0x1a85e2(0x43d)](_0x5e6b88,!0x1);}));}};cs=go([$(0x1,_0x3bd34c(uo)),$(0x2,_0x16de2e),$(0x3,_0x23b81c),$(0x4,_0x3bd34c(_0x3c18a4))],cs);const ls=[_0x3aa219,_0x2dfb96['id'],_0x16096e['id'],_0x212e5c['id'],_0x161b9f['id'],_0xe2b1ad['id'],_0x568fac['id'],_0x1c97ec['id'],_0x419778['id'],_0x5838fc['id']];function us(){const _0x5db87a=_0x16f7f1;let _0x3cb0a6=_0x4beb35(_0x180e8e),[_0x434f0b,_0x43c0a6]=_0x1ee196([]);return _0x1db944(()=>{const _0x3bc844=_0x165c;function _0x269960(){const _0x4d0881=_0x165c;let _0x6911b3=[..._0x3cb0a6['getFlatMenuByPositionKey'](_0x3eddad),..._0x3cb0a6[_0x4d0881(0x327)](_0x24deac[_0x4d0881(0x47f)])];_0x43c0a6(ls[_0x4d0881(0x37f)](_0xc29291=>_0x6911b3[_0x4d0881(0xdc)](_0x2be1ad=>_0x2be1ad[_0x4d0881(0x443)]===_0xc29291))[_0x4d0881(0x4b3)](_0x5b2533=>!!(_0x5b2533!=null&&_0x5b2533[_0x4d0881(0x172)])));}_0x269960();let _0x311291=_0x3cb0a6['menuChanged$'][_0x3bc844(0x2cb)](_0x269960);return()=>_0x311291[_0x3bc844(0x493)]();},[_0x3cb0a6]),_0x4fd747(_0x5db87a(0x255),{'className':_0x4f03e7(_0x5db87a(0x8d),_0x2ab778),'children':_0x434f0b['map'](_0x62388c=>_0x62388c[_0x5db87a(0x172)]&&_0x4fd747(_0x5db87a(0x255),{'className':_0x5db87a(0x7e),'children':_0x4fd747(_0x2740db,{..._0x62388c[_0x5db87a(0x172)]},_0x62388c[_0x5db87a(0x443)])},_0x62388c[_0x5db87a(0x443)]))});}const ds=_0x16f7f1(0x2d3);function fs(_0x43dc27,_0x9caa1a){if(_0x43dc27==null||_0x9caa1a==null)return!0x1;let {glyph:_0x2320f8,..._0x575ecb}=_0x43dc27,{glyph:_0x3bb16d,..._0x59e37c}=_0x9caa1a;return _0x1078d3(_0x575ecb,_0x59e37c);}function _0x51c8(){const _0x38fd05=['44HInoZZ','Angular','focus','docs-shape-ui.line.capType.round','ShapeAccentCallout2Icon','setConfig','!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','ShapeCurvedUpArrowIcon','extraProps','menu','docs-shape-ui.shape.type.flow-chart-process','prstGeom','BACKSPACE','docs-shape-ui.shape.type.curved-up-arrow','docs-shape-ui.shape.type.horizontal-scroll','ShapeCircularArrowIcon','render','StealthArrow','LeftRightRibbon','ShapeFlowChartDecisionIcon','docs-shape-ui.shape.type.action-button-end','docs-shape-ui.shape.type.flow-chart-offpage-connector','transparent','custom','docs-shape-ui.shape.type.flow-chart-predefined-process','FlowchartPreparation','RightArrow','children','verticalAlign','FoldedCorner','_docsShapeService','Radial','docs-shape-ui.toolbar.underline','LeftRightCircularArrow','ShapeFlowChartExtractIcon','focusDrawing','getDrawingSearch','ShapeFlowChartConnectorIcon','SHAPE_TEXT','wrapStrategy','getShapeTextRect','Triangle','9kdeINx','round','_toVisualAdjustPoint','shape-text','univer-text-gray-600\x20univer-transition-transform','_drawingType','getDrawingEditable','height','ShapeLeftBraceIcon','Round2SameRect','ENTER','docs-shape-ui.shape.type.round1-rect','horizontalAlign','docs-shape-ui.shape.type.math-divide','ShapeStar7Icon','docs-shape-ui.shape.type.right-arrow','paragraph','Freehand','Snip2DiagRect','docs-shape-ui.fill.picture.align.br','direction','univer-flex\x20univer-items-center\x20univer-gap-2','ActionButtonSound','ShapeCanIcon','docs-shape-ui.shape.type.bent-connector3-arrow1','_initSelectionChange','_initShapePopupMenu','defineProperty','Callout3','ShapeMathDivideIcon','invert','changeStart$','ShapeOctagonIcon','MathMultiply','docs-shape-ui.shape.type.hexagon','_adjName','paragraphStyle','_menuManagerService','clipByShape','Path','Round2DiagRect','isRender','6.4','univer-text-primary-600','univer-size-full','getShapeType','docs-shape-ui.line.capType.flat','ShapeRoundRectIcon','docs-shape-ui.shape.type.lightning-bolt','getShapeModel','ActionButtonInformation','docs-shape-ui.line.sketchType.title','deg)\x20scaleY(','getObjectIncludeInGroup','setPrstGeom','dashType','add','getValue','univer-hidden','univer-flex\x20univer-h-8\x20univer-w-full\x20univer-items-center\x20univer-gap-2\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-text-left\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-800','docs-shape-ui.shape.type.round2-diag-rect','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_loadShapePictureFill','LEFT','CONTENT','ShapeMathMinusIcon','univer-text-xs','getActiveViewportByCoord','attachPopupToObject','docs-shape-ui.fill.title','PlaqueTabs','FlowchartTerminator','_loadAndSetImage','getAdjustValueByName','docs-shape-ui.shape.type.brace-pair','QuadArrow','docs-shape-ui.toolbar.bold','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','AccentCallout3','univer-flex\x20univer-h-6\x20univer-min-w-7\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-40\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','ShapeIrregularSeal2Icon','Ribbon2','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded-lg\x20univer-bg-white\x20univer-p-3\x20univer-shadow-lg\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CurvedConnector3','ShapeChordIcon','error','ShapeRightArrowIcon','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','docs-shape-ui.shape.type.wedge-round-rect-callout','behindText','replace','setShapeProps','ShapeUturnArrowIcon','docs-shape-ui.shape.type.star24','oKey','vertexAngle','RoundDot','_drawSimpleText','ShapeQuadArrowCalloutIcon','ShapeArcIcon','Decagon','LeftRightArrow','docs-shape-ui.line.arrowType.ovalArrow','shape-text-editor','ShapeBentConnector3Icon','ActionButtonMovie','onPointerUp$','ShapeMathEqualIcon','FlowchartCollate','_baseShapeWidth','ShapeRectTextboxHorizontalIcon','group\x20univer-relative\x20univer-inline-block','getDrawingVisible','ActionButtonHelp','position','docs-shape-ui.shape.type.border-callout3','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape.type.action-button-sound','gradientAngle','CornerTabs','ShapeCallout3Icon','ShapeStar12Icon','refreshShapeFillImage','getDocumentData','ShapeCurvedConnector3Icon','none','flipX','_hideFloatMenu','ShapeActionButtonHomeIcon','width','disposable','composeMatrix','univer-flex\x20univer-flex-col\x20univer-gap-3','Dodecagon','_getShapeInfo','DoubleWave','univer-flex\x20univer-h-6\x20univer-min-w-9\x20univer-items-center\x20univer-justify-center\x20univer-gap-1\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-px-1.5\x20univer-text-sm\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','getSelectedObjectMap','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','docs-shape-ui.shape.type.corner','SELECTOR','StripedRightArrow','value','fillType','docs-shape-ui.shape.type.left-arrow','docs-shape-ui.shape.type.snip-round-rect','docs-shape-ui.shape.type.straight-connector2','setContextValue','drawingId','ShapeBlockArcIcon','paragraphs','docs-shape-ui.shape.type.non-isosceles-trapezoid','MEDIA','key','docs-shape-ui.shape.type.math-plus','univer-box-border\x20univer-px-4\x20univer-text-sm','default','ShapeActionButtonInformationIcon','rectangle','transform','Ribbon','current','docs-shape-ui.shape.type.quad-arrow','ShapeActionButtonEndIcon','setFillImage','_isOpenedShapeEditPanel','radial','dispose','docs-shape-ui.shape.type.flow-chart-decision','docs-shape-ui.openPanel','menuRange','docs-shape-ui.shape.type.line','_shapeId','ShapeFlowChartMagneticDrumIcon','ShapeLeftArrowCalloutIcon','ShapeRightBraceIcon','ShapeFlowChartPredefinedProcessIcon','style','ShapeCubeIcon','flowchart','docs-shape-ui.shape.type.curved-down-arrow','isHorizontal','docs-shape-ui.shape.type.chart-x','Round','docs-shape-ui.fill.picture.align.b','_transform','function','docs-shape-ui.line.dashType.longDashDotDot','_editingParams$','docs-shape-ui.shape.type.pie-wedge','doc.command.menu-insert-shape','IrregularSeal1','docs-shape-ui.fill.picture.insert','executeCommand','Teardrop','strokeWidth','LeftBracket','ShapeFlowChartProcessIcon','ShapeCornerIcon','ShapeFlowChartPreparationIcon','ShapeStraightConnector1Icon','ShapeStar5Icon','getImage','docs-shape-ui.fill.picture.align.bl','docs-shape-ui.fill.picture.align.t','gdRefR','getActualSize','transformVector2SceneCoord','VIEW_MAIN','DRAWING_SHAPE','sketchType','ShapeActionButtonForwardNextIcon','docs-shape-ui.shape.type.star7','RIBBON','docs-shape-ui.shape.type.frame','Large','onCommandExecuted','UNIVER_DOC','Wave','docs-shape-ui.shape.type.flow-chart-delay','docs-shape-ui.shape.type.rt-triangle','BentConnector3','end','docs-shape-ui.align.top','getMatrix','GROUP','_initMenu','QuadArrowCallout','SmileyFace','docs-shape-ui.shape.type.bent-connector3-arrow2','Bevel','data','Moon','unsubscribe','ShapeFlowChartMagneticDiskIcon','moveRange','getDrawingOrder','Plaque','docs-shape-ui.shape.type.right-brace','size','_lastEditingShapeKey','ShapeWedgeRectCalloutIcon','collapsed','ShapeBentConnector3Arrow2Icon','BOTTOM','1.4','shape-text-','docs-shape-ui.shape.type.triangle','range','label','docs-shape-ui.shape.type.up-arrow','adjName','opacity','fillImageSource','docs-shape-ui.shape.type.left-right-circular-arrow','_getShapeAdjustInfosById','CurvedRightArrow','docs-shape-ui.toolbar.alignRight','ShapeEllipseIcon','ShapeLeftArrowIcon','docs-shape-ui.shape.type.ellipse-ribbon2','name','ShapeUpDownArrowIcon','docs-shape-ui.line.noLine','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','filter','drawingType','URL','univer-flex\x20univer-items-center\x20univer-gap-3','EllipseRibbon','ShapeFlowChartMultidocumentIcon','onDblclick$','docs-shape-ui.line.arrowType.none','ShapeHomePlateIcon','getDrawingData','disposeWithMe','univer-w-20\x20univer-flex-1','Dash','ShapeWedgeEllipseCalloutIcon','body','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_popupMenuListener','calcAdjValue','stopPropagation','bottom','ShapeGear9Icon','docs-shape-ui.toolbar.alignLeft','scene','docs-shape-ui.shape.type.heart','ShapeDodecagonIcon','registerRenderModule','docs-shape-ui.shape.type.curved-right-arrow','values','setZoomRatio','with','translateWithPrecision','ShapeFunnelIcon','getViewport','StraightConnector1','imageRotateWithShape','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','enhanceParams','_urlImageService','ShapeFlowChartSortIcon','_drawShapeText','univer-w-28','docs-shape-ui.shape.type.ellipse-ribbon','call','ShapeRightArrowCalloutIcon','_openShapeEditPanel','FlowchartManualInput','ShapeTextEditorContainer','MathPlus','docs-shape-ui.shapePosition','ShapePieIcon','changing$','preValue','Solid','LongDashDot','ShapeDecagonIcon','docs-shape-ui.shape.type.flow-chart-summing-junction','popup','docs-shape-ui.shape.type.action-button-document','univer-w-20','ShapeDonutIcon','#ffffff','docs-shape-ui.shape.type.curved-connector3','dataStream','active','univer-mb-2','Star16','LongDashDotDot','ShapeRound2DiagRectIcon','UturnArrow','ShapeStar4Icon','onSavingEditorData$','Hexagon','docs-shape-ui.shape.type.line-inv','gdRefY','setEditing','ShapePlaqueTabsIcon','ShapeMathNotEqualIcon','_refreshShapeData','_docSelectionRenderService','SolidLine','ShapeFlowChartSummingJunctionIcon','Snip2SameRect','10754656HMUOJg','linear','includes','univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','Cube','WRAP_TOP_AND_BOTTOM','docs-shape-ui.shape.type.rect','OpenArrow','img','UpDownArrow','updateShapeFillImage','angle','doc.operation.open-doc-shape-format-panel','ancestorTransform','currentColor','visible','_initCommands','ShapeHorizontalScrollIcon','univer-box-border\x20univer-flex\x20univer-rounded\x20univer-bg-white\x20univer-py-1.5\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','HomePlate','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','docs-shape-ui.shape.type.straight-connector1','mergeMenu','docs-shape-ui.line.sketchType.handDrawn','BracePair','shapeModel','TRUE','docs-shape-ui.line.transparency','Curved','docs-shape-ui.align.middle','docs-shape-ui.shape.type.up-down-arrow-callout','setCursor','isInGroup','_registerDrawingTransformHandler','Star12','PAGE','ShapeChartStarIcon','endArrow','docs-shape-ui.shape.type.up-arrow-callout','sin','ShapeHeptagonIcon','isRichText','docs-shape-ui.shape.type.flow-chart-offline-storage','_draw','docs-shape-ui.toolbar.textColor','ShapeActionButtonBlankIcon','viewportScrollY','INLINE','ShapeFolderCornerIcon','docs-shape-ui.line.beginArrowType','capType','docs-shape-ui.shape.type.action-button-beginning','adjHandleStroke','docs-shape-ui.formatShape','_attachAdjustEvent','docs-shape-ui.shape.type.star16','setTimeout','docs-shape-ui.shape.type.block-arc','docs-shape-ui.shape.type.half-frame','DRAWING_DOM','ShapeNonIsoscelesTrapezoidIcon','Rect','docs-shape-ui.shape.type.left-up-arrow','getCurrentUniverDocInstance','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','_addShapeAdjustControl','ShapeBracketPairIcon','Star6','docs-shape-ui.shape.type.action-button-blank','ShapeCurvedRightArrowIcon','docs-shape-ui.shape.type.callout3','top-center','ShapeAccentBorderCallout1Icon','_getShapeAdjustPointListById','subscribeEvent','ShapeRtTriangleIcon','docs-shape-ui.shape.type.notched-right-arrow','docs-shape-ui.shape.type.flow-chart-extract','docs-shape-ui.textWrap.behindText','ShapeChartXIcon','WedgeRoundRectCallout','_subUnitId','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','FlowchartPunchedTape','ShapeFlowChartAlternateProcessIcon','ActionButtonEnd','_isShouldShowDrawingShapeAdjust','getShapeTypeById','changeEnd$','renderConfig','1336458BceBhP','lineStrokeType','ShapeSnipRoundRectIcon','get','isNaN','docs-shape-ui.line.sketchType.freehand','isRenderLinePointsMode','find','packageName','_adjHandlerPointerUp','_clipService','RightBracket','applyPoint','ShapeActionButtonMovieIcon','shape-text-editor-content','_docDrawingShapeRenderController','ShapeRectIcon','setOnSavingEditorData','disabled','univer-w-full','version','Heart','ActionButtonDocument','docs-shape-ui.shape.type.snip1-rect','_sidebarService','ShapeFlowChartOrIcon','docs-shape-ui.shape.type.flow-chart-or','6476470dvgcJX','ShapeBentConnector3Arrow1Icon','ShapeSquareTabsIcon','ShapeParallelogramIcon','doc.shape.edit.panel','translate','isLineShape','string','asObservable','Tile','_componentManager','ShapeActionButtonDocumentIcon','line','IrregularSeal2','UpArrow','_activeShapeAdjustPointList','fill','docs-shape-ui.shape.type.moon','multiply','updateDocumentStyle','transformForAngle','ShapeFlowChartManualOperationIcon','ShapeCurvedConnector3Arrow1Icon','addObject','docs-shape-ui.line.endArrowSize','docs-shape-ui.shape.type.accent-border-callout3','ShapeDownArrowCalloutIcon','Digit8','_init','input','getInverseCoord','M2.5\x2010H5.7','_renderManagerService','getActiveTextRange','isEditing','docs-shape-ui.shape.type.heptagon','objects','Corner','docs-shape-ui.shape.type.flow-chart-document','textStyle','resetCursor','set','docs-shape-ui.shape.type.callout1','docs-shape-ui.shape.group.','Diamond','doc.shape.picker.component','ShapePieWedgeIcon','files','docs-shape-ui.shape.type.gear6','ShapeSnip2DiagRectIcon','docs-shape-ui.line.arrowType.arrow','ShapeActionButtonHelpIcon','_getSceneByUnitId','ShapeStar32Icon','ShapeBentUpArrowIcon','_context','type','Line','DiagStripe','Ellipse','2180280XngsfR','ActionButtonBackPrevious','docs-shape-ui.shape.type.accent-callout1','docs-shape-ui.line.capType.title','button','docs-shape-ui.shape.type.cloud','docs-shape-ui.shape.type.flow-chart-magnetic-disk','scaleY','_showFloatMenu','FlowchartExtract','drawings','calculate','ShapeDiagStripeIcon','docs-shape-ui.shape.type.rect-textbox-horizontal','docs-shape-ui.fill.picture.alignment','BorderCallout2','_univerInstanceService','_updateSrcRectByTransform','svg','docs-shape-ui.shape.type.action-button-forward-next','ActionButtonForwardNext','docs-shape-ui.shape.type.vertical-scroll','wrapSquare','JUSTIFIED','ShapeFrameIcon','clear','DRAWING_IMAGE','ShapeBorderCallout1Icon','ShapeActionButtonSoundIcon','ShapeHeartIcon','stroke','docs-shape-ui.shape.type.donut','inline','docs-shape-ui.textWrap.square','_drawRichText','_getActiveDrawingShape','docs-shape-ui.shape.type.left-brace','ShapeUpDownArrowCalloutIcon','docs-shape-ui.line.joinType.miter','docs-shape-ui.shape.type.round2-same-rect','LineInv','docs-shape-ui.fill.picture.align.l','docs-shape-ui.fill.noFill','ShapeRibbonIcon','docs-shape-ui.line.beginArrowSize','M11.8\x2015.5H17.5','setInsertRange','Donut','startOffset','docs-shape-ui.fill.picture.tileAsTexture','LeftArrowCallout','FlowchartSummingJunction','docs-shape-ui.shape.type.right-arrow-callout','ShapeRound2SameRectIcon','some','GradientFill','Digit7','ShapeFlowChartInputOutputIcon','create','AccentBorderCallout1','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','ShapeStar10Icon','shapeData','ShapeStar8Icon','ShapeCloudCalloutIcon','getTransformerByCreate','_props','ShapeStar6Icon','FlowchartSort','_activeShapeId','item','_sidebarDisposable','rect','_baseShapeLeft','object','WRAP','ShapeBorderCallout3Icon','getUnitId','ShapeCurvedConnector3Arrow2Icon','subUnitId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-3\x20univer-w-3\x20univer-rounded-sm\x20univer-border\x20univer-border-solid\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-gray-300\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','unitId','ShapeUpArrowIcon','_updateShapeAdjustControls','fonts$','1572051dPZMzr','MathNotEqual','remove$','0.25.1','ShapeEllipseRibbonIcon','symbol','docs-shape-ui.line.arrowSize.large','getOwnPropertyDescriptor','docs-shape-ui.shape.type.star5','_activeShapeInfo','Callout1','renderDrawingShape','complete','ShapeRibbon2Icon','@univerjs-pro/docs-shape-ui','_isStartAdjusting','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','docs-shape-ui.line.arrowType.openArrow','docs-shape-ui.textWrap.inline','onTransformChange$','closest','docs-shape-ui.toolbar.fillColor','decorate','ShapeRound1RectIcon','registerCommand','WedgeRectCallout','_imageIoService','SHAPE','Cloud','ShapeLeftRightCircularArrowIcon','refreshTransform','NoSmoking','Pentagon','ShapeCallout1Icon','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapePlaqueIcon','gdRefAng','_closeShapeEditPanel','docs-shape-ui.shape.type.bracket-pair','_registerImageShapeClipDelegate','#2563EB','_createShapePopupMenu','LightningBolt','lineJoinType','equationShape','docs-shape-ui.line.sketchType.curved','docs-shape-ui.line.dashType.longDashDot','_getFocusedShapeAtPoint','doc-shape-adjust-point-','ShapeLeftRightArrowIcon','docs-shape-ui.shape.type.up-down-arrow','docs-shape-ui.shape.type.left-circular-arrow','docs-shape-ui.shape.type.accent-border-callout1','_activeShapeModel','docs-shape-ui.shape.type.down-arrow','ShapeFlowChartCollateIcon','image/*','setShapeData','docs-shape-ui.line.endArrowType','Callout2','endOffset','ShapeActionButtonBackPreviousIcon','dataModel','docs-shape-ui.line.arrowSize.medium','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','LAYOUT','SwooshArrow','Arrow','attachTransformerTo','NotchedRightArrow','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-5\x20univer-w-px\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-700\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initSelection','clearAdjustControls','forEach','textRect','indexOf','FlowchartProcess','docs-shape-ui.fill.solidFill','docs-shape-ui.toolbar.alignJustify','horizontal','Image','_onSavingEditorData$','Heptagon','activeTarget','docs-shape-ui.shape.type.curved-connector3-arrow1','ShapeLeftBracketIcon','FlowchartMerge','ShapeFlowChartOfflineStorageIcon','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','vertical','ShapeTeardropIcon','M2.5\x2015.5H8.2','entries','Miter','docs-shape-ui.line.dashType.longDash','max','ShapeLineIcon','_adjustPointObjects','image','offsetY','univer-box-border\x20univer-flex\x20univer-max-w-[760px]\x20univer-flex-wrap\x20univer-items-center\x20univer-rounded\x20univer-bg-white\x20univer-px-1\x20univer-py-1\x20univer-shadow-sm\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','ShapeActionButtonReturnIcon','docs-shape-ui.line.dashType.solid','docs-shape-ui.shape.type.curved-connector3-arrow2','docs-shape-ui.toolbar.alignCenter','setDocumentData','starAndBanner','Can','ShapeFlowChartPunchedCardIcon','ShapeRectTextboxVerticalIcon','ShapeStar24Icon','save','docs-shape-ui.shape.type.left-right-ribbon','DELETE','has','getFocusDrawings','_baseShapeHeight','docs-shape-ui.shape.type.ellipse','ShapeDoubleWaveIcon','SquareTabs','resize','stops','ShapeBorderCallout2Icon','ShapeAccentCallout1Icon','LeftCircularArrow','docs-shape-ui.shape.type.action-button-return','keys','next','ShapeFlowChartDisplayIcon','docs-shape-ui.shape.type.bent-arrow','ShapeStar16Icon','docs-shape-ui.line.arrowSize.small','docs-shape-ui.shape.type.flow-chart-internal-storage','_shapeTextEditingService','docs-shape-ui.shape.type.flow-chart-punched-card','docs-shape-ui.shape.type.flow-chart-input-output','_registerComponent','univer-flex\x20univer-items-center\x20univer-justify-between','docs-shape-ui.shape.type.wedge-ellipse-callout','docs-shape-ui.shape.type.teardrop','top','getShapeTextData','docs-shape-ui.shape.type.octagon','ShapeEllipseRibbon2Icon','ChartX','TOP','HorizontalScroll','docs-shape-ui.shape.type.chevron','ShapeLeftRightRibbonIcon','docs-shape-ui.shape.type.irregular-seal2','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','src','transformByState','ShapeChevronIcon','WRAP_NONE','getUnit','PictureFill','None','M11.8\x204.5H17.5','clone','draw','startArrow','featurePluginUpdateNotification','#000000','flipY','syncExecuteCommand','BentUpArrow','docs-shape-ui.shape.type.smiley-face','docs-shape-ui.shape.type.curved-left-arrow','docs-shape-ui.shape.type.parallelogram','setCanUseShapeClip','docs-shape-ui.fill.picture.offsetY','cos','docs-shape-ui.shape.type.cloud-callout','docs-shape-ui.shape.type.flow-chart-preparation','length','icon','getState','offsetX','isHit','HalfFrame','ShapeDiamondIcon','getShapeData','ShapeSmileyFaceIcon','basicShape','ShapeSunIcon','docs-shape-ui.config','docs-shape-ui.shape.type.snip2-diag-rect','CurvedUpArrow','iterator','Linear','classType','FlowchartPunchedCard','onPointerMove$','SnipRoundRect','getShapeDataById','getDrawingPoints','4264176WjddsB','univer-flex\x20univer-flex-col\x20univer-gap-2','doc.command.update-doc-drawing-wrapping-style','docs-shape-ui.shape.type.right-bracket','_initializedShapePopupMenu','ActionButtonHome','docs-shape-ui.toolbar.italic','docs-shape-ui.shape.type.corner-tabs','BorderCallout3','buildClipPath','onStarting','getRenderById','PERIOD','FlowchartManualOperation','_unitId','div','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','_commandService','ShapeActionButtonBeginningIcon','NoLine','callout','docs-shape-ui.textWrap.topAndBottom','docs-shape-ui.shape.type.flow-chart-manual-input','Parallelogram','LeftRightArrowCallout','segmentId','docs-shape-ui.shape.type.flow-chart-alternate-process','onPointerDown$','Chord','pick','docs-shape-ui.insertShape','SHIFT','_createShapeAdjustControls','SolidFill','RightBrace','FlowchartOr','getDrawingByParam','OPERATION','_insertShapes','ActionButtonBeginning','getAncestorScale','ShapeLeftRightArrowCalloutIcon','shapeType','docs-shape-ui.shape.type.can','DownArrowCallout','angular','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getFonts','ShapeBevelIcon','docs-shape-ui.shape.type.flow-chart-manual-operation','UpArrowCallout','getCanvasElement','docs-shape-ui.shape.type.swoosh-arrow','docs-shape-ui.shape.type.plaque-tabs','_baseShapeTop','MathMinus','docs-shape-ui.fill.transparency','docs-shape-ui.shape.type.accent-border-callout2','docs-shape-ui.shape.type.flow-chart-merge','rotate(','gradientType','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','docs-shape-ui.line.dashType.title','getObject','FlowchartPredefinedProcess','_configService','onSelectionStart$','CurvedDownArrow','docs-shape-ui.shape.type.ribbon','ShapeFlowChartOffpageConnectorIcon','ShapeBentArrowIcon','docs-shape-ui.fill.picture.align.r','univer-text-sm','MIDDLE','_transformCalculateSrcRect','ShapeLeftUpArrowIcon','addImageSourceCache','_initEvents','doc.operation.close-doc-shape-format-panel','docs-shape-ui.line.dashType.dashDot','FlowchartMagneticTape','5qowwHG','docs-shape-ui.shape.type.star8','bottom-center','_setTransForm','ShapeUpArrowCalloutIcon','_docSelectionManagerService','docs-shape-ui.line.dashType.roundDot','onerror','_disposePopups','RightArrowCallout','Snip1Rect','AccentCallout1','1em','docs-shape-ui.shape.type.border-callout2','ShapeCloudIcon','ShapeAccentBorderCallout2Icon','ShapeFlowChartOnlineStorageIcon','MathDivide','PARAGRAPH','Star7','docs-shape-ui.toolbar.strikethrough','FlowChartOfflineStorage','CTRL_COMMAND','start','ShapeChartPlusIcon','onClick','ShapeStripedRightArrowIcon','AccentBorderCallout2','diamond','restore','createControl$','ShapePentagonIcon','updateDocumentDataMargin','monospace','Sun','onChange','docs-shape-ui.shape.type.action-button-movie','centerAngle','drawWith','docs-shape-ui.hidePanel','univer-min-w-32\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-1\x20univer-shadow-lg\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','ShapeQuadArrowIcon','scaleX','ShapeStraightConnector2Icon','ShapeSwooshArrowIcon','ShapeAccentBorderCallout3Icon','engine','ChartPlus','ShapeWaveIcon','_getActiveDrawingParam','ShapeFlowChartPunchedTapeIcon','setSelectionRanges','subscribe','docs-shape-ui.shape.type.star12','below','Flat','M14.3\x2010H17.5','toPrimitive','PieWedge','makeDirty','doc.shape.text.float-menu','adjHandleSize','updateContext','saveImage','docs-shape-ui.line.dashType.squareDot','getViewports','docs-shape-ui.shape.type.striped-right-arrow','ShapeSnip2SameRectIcon','DownArrow','FlowchartMagneticDrum','ShapeCurvedLeftArrowIcon','registerComponent','onScrollAfter$','options','docs-shape-ui.shape.type.action-button-home','SquareDot','shapeId','adjHandleFill','true','ShapeLeftRightUpArrowIcon','ShapeNoSmokingIcon','ShapeCallout2Icon','NoFill','docs-shape-ui.shape.type.star6','COMMA','shapeKey','FALSE','textSelection$','univer-pt-2','docs-shape-ui.shape.type.down-arrow-callout','ShapeFlowChartInternalStorageIcon','ShapeHalfFrameIcon','univer-text-gray-500','AccentCallout2','ActionButtonBlank','editingParams$','doc.shape.floating-toolbar','docs-shape-ui.shape.type.math-multiply','shapeText','ShapeTriangleIcon','imageTile','add$','viewportScrollX','BracketPair','doc','wrapTopAndBottom','Arc','Star10','OvalArrow','_registerDrawingFocusChangeHandler','docs-shape-ui.shape.type.pie','#3B82F6','docs-shape-ui.line.joinType.title','docs-shape-ui.shape.type.chord','behindDoc','preventDefault','docs-shape-ui.align.bottom','ShapeWedgeRoundRectCalloutIcon','Medium','warn','other','constructor','parseFloat','title','ShapeHexagonIcon','docs-shape-ui.line.capType.square','ShapeLightningBoltIcon','Stretch','AccentBorderCallout3','gdRefX','docs-shape-ui.shape.type.star32','_initEditingParams','getDrawingOKey','FlowchartAlternateProcess','3318846XHjggB','docs-shape-ui.shape.type.flow-chart-online-storage','docs-shape-ui.shape.type.chart-star','group','mainComponent','register','docs-shape-ui.shape.type.decagon','docs-shape-ui.shape.type.round-rect','color','_floatMenu','getFlatMenuByPositionKey','ShapeRightBracketIcon','docs-shape-ui.shape.type.cube','docs-shape-ui.shape.type.no-smoking','imageFillMode','offset','docs-shape-ui.line.color','_clearPopups','docs-shape-ui.shape.type.flow-chart-collate','\x20px','getSkeleton','documentStyle','getRealBound','_updateAdjustControlPositions','blockArrow','docs-shape-ui.shape.type.action-button-help','_docCanvasPopManagerService','gradientStops','MathEqual','_clearShapeAdjustControls','FlowchartDecision','ShapeDownArrowIcon','docs-shape-ui.shape.type.left-right-arrow-callout','_initialize','UpDownArrowCallout','_activeAdjustInfo','Gear9','ShapeMathPlusIcon','4BOCuLn','FromArray','docs-shape-ui.line.title','textRuns','_contextService','target','docs-shape-ui.shape.type.left-right-arrow','docs-shape-ui.shape.type.irregular-seal1','srcRect','deepClone','docs-shape-ui.shape.type.home-plate','Pie','ShapeMathMultiplyIcon','0\x200\x2020\x2020','docs-shape-ui.shape.type.flow-chart-multidocument','span','ShapeIcon','getEditing','section','focus$','path','params','docs-shape-ui.shape.type.snip2-same-rect','ShapeFlowChartManualInputIcon','univer-rounded-lg\x20univer-p-3','rgb','FlowchartOffPageConnector','viewBound','ctr','docs-shape-ui.shape.type.wedge-rect-callout','FlowchartDisplay','ShapeFlowChartDocumentIcon','_injector','Star24','isHitLine','_localeService','setSrcRect','ShapeFlowChartDelayIcon','push','ShapePlusIcon','ShapeBracePairIcon','RoundRect','getBoundingClientRect','_config','_drawingManagerService','getParent','ShapeVerticalScrollIcon','_adjHandlerPointerMove','docs-shape-ui.shape.type.rect-textbox-vertical','ShapeLeftCircularArrowIcon','docs-shape-ui.fill.picture.align.ctr','alignment','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','blur','left','docs-shape-ui.deleteShape','inFrontOfText','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_registerOperations','map'];_0x51c8=function(){return _0x38fd05;};return _0x51c8();}let ps=class extends _0x19fa94{constructor(_0x42f246,_0x532a92,_0x265282,_0x46cf09,_0x10aace){const _0x4978a3=_0x16f7f1;super(),this[_0x4978a3(0x127)]=_0x42f246,this[_0x4978a3(0x29c)]=_0x532a92,this[_0x4978a3(0x337)]=_0x265282,this['_componentManager']=_0x46cf09,this[_0x4978a3(0x77)]=_0x10aace,Z(this,_0x4978a3(0x326),null),this[_0x4978a3(0x127)][_0x4978a3(0x17d)]===oo&&(this[_0x4978a3(0x4bd)](this[_0x4978a3(0xfa)][_0x4978a3(0x322)](ds,us)),this[_0x4978a3(0x3c3)](),this[_0x4978a3(0x4bd)](()=>this[_0x4978a3(0x429)]()));}[_0x16f7f1(0x3c3)](){const _0x2437f1=_0x16f7f1;this[_0x2437f1(0x4bd)](this[_0x2437f1(0x77)][_0x2437f1(0x288)][_0x2437f1(0x2cb)](()=>{const _0x2cac5d=_0x2437f1;this[_0x2cac5d(0x429)]();})),this[_0x2437f1(0x4bd)](this[_0x2437f1(0x29c)][_0x2437f1(0x2ee)][_0x2437f1(0x2cb)](_0x118728=>{const _0x2288cc=_0x2437f1;var _0x561d2e,_0x3858a8;let {unitId:_0x96eb63,textRanges:_0x233473}=_0x118728;if(_0x96eb63!==this['_context'][_0x2288cc(0x17d)])return;let _0x35623e=_0x233473[_0x2288cc(0xdc)](_0x192d1a=>!_0x192d1a[_0x2288cc(0x49c)]);if(!_0x35623e){this['_hideFloatMenu']();return;}_0x35623e[_0x2288cc(0x15c)]===((_0x561d2e=this[_0x2288cc(0x326)])==null?void 0x0:_0x561d2e[_0x2288cc(0x2ae)])&&_0x35623e[_0x2288cc(0x1bd)]===((_0x3858a8=this['_floatMenu'])==null?void 0x0:_0x3858a8[_0x2288cc(0x488)])||(this[_0x2288cc(0x429)](),this[_0x2288cc(0x134)](_0x96eb63,_0x35623e));}));}[_0x16f7f1(0x429)](){const _0x158980=_0x16f7f1;var _0x3f3342;(_0x3f3342=this[_0x158980(0x326)])==null||_0x3f3342[_0x158980(0x42c)][_0x158980(0x451)](),this[_0x158980(0x326)]=null;}[_0x16f7f1(0x134)](_0x7c120,_0x429e61){const _0x1cdc03=_0x16f7f1;this[_0x1cdc03(0x326)]={'disposable':this[_0x1cdc03(0x337)]['attachPopupToRange'](_0x429e61,{'componentKey':ds,'direction':_0x429e61[_0x1cdc03(0x3be)]==='backward'||fs(_0x429e61['startNodePosition'],_0x429e61['endNodePosition'])?_0x1cdc03(0xc2):_0x1cdc03(0x299),'offset':[0x0,0x4]},_0x7c120),'start':_0x429e61[_0x1cdc03(0x15c)],'end':_0x429e61[_0x1cdc03(0x1bd)]};}};ps=go([$(0x1,_0x3bd34c(_0x41a13b)),$(0x2,_0x3bd34c(_0xf1857d)),$(0x3,_0x3bd34c(_0x49e5bf)),$(0x4,_0x3bd34c(_0x3df34c))],ps);function ms(_0x2b3ba2,_0x51b6b2){const _0x2db6c8=_0x16f7f1;return{'top':0x0,'left':0x0,'width':_0x2b3ba2,'height':_0x51b6b2,'borderColor':_0x2db6c8(0x396),'outlineColor':'transparent','backgroundColor':'transparent'};}function _0x165c(_0xcca1a2,_0x1770c6){_0xcca1a2=_0xcca1a2-0x6a;const _0x51c880=_0x51c8();let _0x165ced=_0x51c880[_0xcca1a2];return _0x165ced;}function hs(_0x5f4638){const _0x17d00c=_0x16f7f1;var _0x147870,_0xda9bb0;let _0x2920e4=_0x5f4638==null||(_0x147870=_0x5f4638[_0x17d00c(0x2c5)])==null||(_0xda9bb0=_0x147870[_0x17d00c(0x279)])==null?void 0x0:_0xda9bb0[_0x17d00c(0x4dd)](_0x147870);_0x2920e4&&(_0x2920e4[_0x17d00c(0x45b)]['backgroundColor']='transparent');}function gs(_0xda6e8b){const _0xd1807d=_0x16f7f1;let _0x514cfe=_0x5d842f[_0xd1807d(0x2ad)],_0x497a56=_0x5d842f[_0xd1807d(0x2ad)]|_0x5d842f[_0xd1807d(0x265)];return{'keyCodes':[{'keyCode':_0x4f8f6d[_0xd1807d(0x3b4)]},{'keyCode':_0x4f8f6d[_0xd1807d(0x38c)]},{'keyCode':_0x4f8f6d[_0xd1807d(0x1f2)]},{'keyCode':_0x4f8f6d['A'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['B'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['I'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['U'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['X'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['COMMA'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['PERIOD'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['L'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['R'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['E'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['J'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['Digit7'],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d[_0xd1807d(0x10b)],'metaKey':_0x497a56},{'keyCode':_0x4f8f6d['Z'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['Y'],'metaKey':_0x514cfe},{'keyCode':_0x4f8f6d['Z'],'metaKey':_0x497a56}],'handler':(_0x2c9c6d,_0x1980ff)=>{const _0x32ef9c=_0xd1807d;switch(_0x2c9c6d+':'+(_0x1980ff==null?0x0:_0x1980ff)){case _0x4f8f6d[_0x32ef9c(0x3b4)]+':0':_0xda6e8b[_0x32ef9c(0x46b)](_0x54ab39['id']);break;case _0x4f8f6d[_0x32ef9c(0x38c)]+':0':_0xda6e8b[_0x32ef9c(0x46b)](_0x4c4b49['id']);break;case _0x4f8f6d[_0x32ef9c(0x1f2)]+':0':_0xda6e8b[_0x32ef9c(0x46b)](_0x5b150f['id']);break;case _0x4f8f6d['A']+':'+_0x514cfe:_0xda6e8b['executeCommand'](_0x576632['id']);break;case _0x4f8f6d['B']+':'+_0x514cfe:_0xda6e8b[_0x32ef9c(0x46b)](_0x16096e['id']);break;case _0x4f8f6d['I']+':'+_0x514cfe:_0xda6e8b['executeCommand'](_0x212e5c['id']);break;case _0x4f8f6d['U']+':'+_0x514cfe:_0xda6e8b[_0x32ef9c(0x46b)](_0x161b9f['id']);break;case _0x4f8f6d['X']+':'+_0x497a56:_0xda6e8b['executeCommand'](_0xe2b1ad['id']);break;case _0x4f8f6d[_0x32ef9c(0x2eb)]+':'+_0x514cfe:_0xda6e8b['executeCommand'](_0x568fac['id']);break;case _0x4f8f6d[_0x32ef9c(0x252)]+':'+_0x514cfe:_0xda6e8b[_0x32ef9c(0x46b)](_0x1c97ec['id']);break;case _0x4f8f6d['L']+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x2613c2['id']);break;case _0x4f8f6d['R']+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x51f050['id']);break;case _0x4f8f6d['E']+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x59ba4d['id']);break;case _0x4f8f6d['J']+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x2be610['id']);break;case _0x4f8f6d[_0x32ef9c(0x164)]+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x3096aa['id']);break;case _0x4f8f6d[_0x32ef9c(0x10b)]+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0xaef0c3['id']);break;case _0x4f8f6d['Z']+':'+_0x514cfe:_0xda6e8b[_0x32ef9c(0x46b)](_0x316203['id']);break;case _0x4f8f6d['Y']+':'+_0x514cfe:case _0x4f8f6d['Z']+':'+_0x497a56:_0xda6e8b[_0x32ef9c(0x46b)](_0x1b8575['id']);break;}}};}const _s=function(_0x12c451){const _0x8882ae=_0x16f7f1;let {containerWidth:_0x3c0a39,containerHeight:_0x39987d,scaleX:_0x354e41,scaleY:_0x272dd3}=_0x12c451,_0x5a46c6=_0x354e41||0x1,_0x4987e8=_0x272dd3||0x1,_0x1eb3e3=_0x4beb35(uo),_0x10b465=_0x4beb35(_0x517c94),_0x18f2de=_0x4beb35(_0x58e500),_0x42aeba=_0x4beb35(_0x36e98e),_0x1ba0e7=_0x4beb35(_0x16de2e),_0x156b2a=_0x4beb35(_0x3c18a4),_0x1b7f71=_0x4beb35(_0x24c807),_0x46b241=_0x1a174b(_0x1eb3e3['editingParams$']),_0xb4c047=_0x1a174b(_0x1eb3e3[_0x8882ae(0x6f)]),_0x1d09d6=_0x2cc0d0(null),_0x152422=_0x2cc0d0(null),_0x714e85=_0x2cc0d0(null),_0x216499=_0x2cc0d0(null),_0x2a8f79=_0x2cc0d0(null),_0x448a69=_0x2cc0d0(null),[,_0x5b8263]=_0x1ee196({'editorHeight':_0x39987d,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x151969=_0x43b97b(_0x1a5d0d=>{queueMicrotask(()=>{_0x5b8263(_0x1a5d0d);});},[]),_0x1b74d7=_0x43b97b(()=>_0x42aeba[_0x8882ae(0x21c)](oo,_0x300c45[_0x8882ae(0x483)]),[_0x42aeba]),_0x516b1d=_0x43b97b(()=>{const _0x51c977=_0x8882ae;var _0x3fe652;let _0x4cea63=_0x5a46c6,_0x29fc7c=_0x4987e8;if(!_0x46b241)return{'scaleAdjust':0x1,'renderScaleX':_0x4cea63,'renderScaleY':_0x29fc7c};let _0x5678df=_0x18f2de[_0x51c977(0x251)](_0x46b241[_0x51c977(0x17d)]),_0x3793e7=_0x5678df==null?void 0x0:_0x5678df['scene'][_0x51c977(0x26e)](),_0x14903d=_0x5678df==null?void 0x0:_0x5678df[_0x51c977(0x2c5)]['getCanvasElement'](),_0x2d4966=_0x14903d?Number[_0x51c977(0x311)](_0x14903d['style']['width']||''):0x0,_0x48dc72=(_0x3fe652=_0x14903d==null?void 0x0:_0x14903d[_0x51c977(0x36d)]()['width'])==null?0x0:_0x3fe652,_0x35dafb=_0x2d4966>0x0&&_0x48dc72>0x0?_0x48dc72/_0x2d4966:0x1;return{'scaleAdjust':Number['isFinite'](_0x35dafb)&&_0x35dafb>0x0?_0x35dafb:0x1,'renderScaleX':(_0x3793e7==null?void 0x0:_0x3793e7[_0x51c977(0x2c1)])||_0x4cea63,'renderScaleY':(_0x3793e7==null?void 0x0:_0x3793e7[_0x51c977(0x133)])||_0x29fc7c};},[_0x5a46c6,_0x4987e8,_0x46b241,_0x18f2de]),_0x56979a=_0x43b97b(()=>{const _0x292256=_0x8882ae;if(!_0x46b241)return{'left':0x0,'top':0x0,'width':_0x3c0a39/_0x5a46c6,'height':_0x39987d/_0x4987e8};let {unitId:_0x1678b8,subUnitId:_0xfc8ada,shapeId:_0x184ab3}=_0x46b241,_0x5d9868=_0x156b2a[_0x292256(0x3db)](_0x1678b8,_0xfc8ada,_0x184ab3);if(!_0x5d9868)return{'left':0x0,'top':0x0,'width':_0x3c0a39/_0x5a46c6,'height':_0x39987d/_0x4987e8};let _0x2c50ee={'left':0x0,'top':0x0,'width':_0x3c0a39/_0x5a46c6,'height':_0x39987d/_0x4987e8};return _0x5d9868[_0x292256(0x3a8)](_0x2c50ee);},[_0x46b241,_0x3c0a39,_0x39987d,_0x5a46c6,_0x4987e8,_0x156b2a]),_0x48e9b1=_0x43b97b(()=>{const _0x3066e1=_0x8882ae;if(!_0x46b241)return null;let {unitId:_0x35b99c,subUnitId:_0x481bac,shapeId:_0x1c6891}=_0x46b241,_0x41d2a7=_0x156b2a[_0x3066e1(0x3db)](_0x35b99c,_0x481bac,_0x1c6891);if(!_0x41d2a7)return null;let _0x4508c8=_0x41d2a7[_0x3066e1(0x20e)]();if(!_0x4508c8)return null;let _0x34d55e={'unitId':_0x35b99c,'subUnitId':_0x481bac,'drawingId':_0x1c6891},_0x4dd840=_0x1ba0e7[_0x3066e1(0x26a)](_0x34d55e),_0x992464={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x4dd840&&_0x4dd840[_0x3066e1(0x449)]&&(_0x992464=_0x4dd840[_0x3066e1(0x449)]);let _0x48bc38={'left':0x0,'top':0x0,'width':_0x3c0a39/_0x5a46c6,'height':_0x39987d/_0x4987e8},_0x89ff90=_0x41d2a7[_0x3066e1(0x3a8)](_0x48bc38),_0x53e1f3,_0x247a40=_0x3a5684[_0x3066e1(0x212)],_0x3ed204=_0x2a6bb4[_0x3066e1(0x3e9)];if(_0x3066e1(0x1bf)in _0x4508c8&&_0x4508c8[_0x3066e1(0x1bf)]){var _0x4404aa,_0x57d179;let _0x5887fa=_0x4508c8[_0x3066e1(0x1bf)];_0x5887fa!=null&&_0x5887fa['doc']&&(_0x53e1f3=_0x5887fa[_0x3066e1(0x2ff)]),_0x247a40=(_0x4404aa=_0x5887fa==null?void 0x0:_0x5887fa['va'])==null?_0x3a5684['TOP']:_0x4404aa,_0x3ed204=(_0x57d179=_0x5887fa==null?void 0x0:_0x5887fa['ha'])==null?_0x2a6bb4[_0x3066e1(0x3e9)]:_0x57d179;}return{'doc':_0x53e1f3,'verticalAlign':_0x247a40,'horizontalAlign':_0x3ed204,'textRect':_0x89ff90,'transform':_0x992464,'isHorizontal':_0x4508c8[_0x3066e1(0x45f)]};},[_0x46b241,_0x156b2a,_0x1ba0e7,_0x3c0a39,_0x39987d,_0x5a46c6,_0x4987e8]),_0x13ed07=_0xe6bc0e(()=>{const _0x19e50e=_0x8882ae;let _0x354565=_0x48e9b1();return _0x354565!=null&&_0x354565[_0x19e50e(0x2ff)]?po(_0x354565[_0x19e50e(0x2ff)],{'isHorizontal':!0x0,'textRect':_0x354565['textRect'],'verticalAlign':_0x354565[_0x19e50e(0x39c)],'horizontalAlign':_0x354565[_0x19e50e(0x3b6)]}):{'id':oo,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x3c0a39/_0x5a46c6,'height':0x1/0x0}}};},[_0x48e9b1,_0x3c0a39,_0x5a46c6]),_0x2763fd=_0x5c4044({'editorId':oo,'initialValue':_0x13ed07,'container':_0x152422,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':_0x8882ae(0x396)},'isSingle':!0x1});_0x1db944(()=>{const _0x5891c6=_0x8882ae;_0x2763fd&&hs(_0x18f2de[_0x5891c6(0x251)](oo));},[_0x2763fd,_0x18f2de]);let _0x2a0011=_0x51a539(oo);_0x329f19(_0x2a0011,_0xe6bc0e(()=>gs(_0x1b7f71),[_0x1b7f71]),_0x2763fd),_0x5a01f6(_0x2a0011,!0x1,_0x2763fd);let _0x54638=_0x43b97b((_0x533965=!0x0)=>{const _0x16ac87=_0x8882ae;var _0x26faef,_0x27a443,_0x144a61;if(!_0x2763fd)return;let _0x3a05d7=_0x2763fd['getSelectionRanges']()[_0x16ac87(0xdc)](_0x58477c=>_0x58477c[_0x16ac87(0x49c)]),_0x3ab2f5=((_0x26faef=(_0x27a443=_0x2763fd[_0x16ac87(0x425)]()[_0x16ac87(0x4c1)])==null?void 0x0:_0x27a443[_0x16ac87(0x4f1)][_0x16ac87(0x230)])==null?0x2:_0x26faef)-0x2,_0xdcb570=(_0x144a61=_0x3a05d7==null?void 0x0:_0x3a05d7[_0x16ac87(0x15c)])==null?_0x533965?_0x3ab2f5:null:_0x144a61;_0xdcb570!==null&&_0x2763fd[_0x16ac87(0x2ca)]([{'startOffset':_0xdcb570,'endOffset':_0xdcb570}],!0x1);},[_0x2763fd]),_0x164c67=_0x43b97b(()=>{const _0x37fb65=_0x8882ae;_0x2a8f79['current']!==null&&(cancelAnimationFrame(_0x2a8f79[_0x37fb65(0x44b)]),_0x2a8f79[_0x37fb65(0x44b)]=null),_0x448a69[_0x37fb65(0x44b)]!==null&&(window['clearTimeout'](_0x448a69[_0x37fb65(0x44b)]),_0x448a69[_0x37fb65(0x44b)]=null);},[]),_0x4cdcb6=_0x43b97b(()=>{const _0x16ba89=_0x8882ae;var _0x5563ae,_0x1f7b51,_0x5b6e81;if(!_0x2763fd)return;let _0x1bb590=_0x18f2de[_0x16ba89(0x251)](oo),_0x204bf4=_0x1bb590==null?void 0x0:_0x1bb590[_0x16ba89(0x4d0)](_0x22cbee);if(!_0x204bf4)return;let _0x13e590=_0x204bf4[_0x16ba89(0x331)](),_0xc0fa=_0x1b74d7(),{renderScaleX:_0x142055,renderScaleY:_0x38bc41,scaleAdjust:_0x3934ff}=_0x516b1d(),_0x1d998c=_0x48e9b1(),_0x4a31fe=(_0x5563ae=_0x1d998c==null?void 0x0:_0x1d998c['verticalAlign'])==null?_0x3a5684[_0x16ba89(0x212)]:_0x5563ae,_0x30d2de=(_0x1f7b51=_0x1d998c==null?void 0x0:_0x1d998c[_0x16ba89(0x3b6)])==null?_0x2a6bb4[_0x16ba89(0x3e9)]:_0x1f7b51,_0x12ca28=(_0x5b6e81=_0x56979a())==null?{'left':0x0,'top':0x0,'width':_0x3c0a39/_0x5a46c6,'height':_0x39987d/_0x4987e8}:_0x5b6e81,_0x3ecbb2=_0x3c0a39/_0x5a46c6,_0x4bc3aa=_0x39987d/_0x4987e8;_0xc0fa&&(_0xc0fa[_0x16ba89(0x4cf)](Math[_0x16ba89(0x1e0)](_0x142055,_0x38bc41)),_0xc0fa[_0x16ba89(0x103)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0x12ca28['width'],'height':0x1/0x0}}),_0xc0fa['updateDocumentRenderConfig']({'verticalAlign':_0x4a31fe,'horizontalAlign':_0x30d2de,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x461ec8[_0x16ba89(0x177)]})),_0x13e590['calculate']();let {actualHeight:_0x58abd0}=_0x13e590[_0x16ba89(0x478)](),_0x5c9687=_0x12ca28[_0x16ba89(0x3b1)],_0x2daa5a=0x0;if(_0x58abd0<=_0x5c9687)_0x4a31fe===_0x3a5684[_0x16ba89(0x28f)]?_0x2daa5a=(_0x5c9687-_0x58abd0)/0x2:_0x4a31fe===_0x3a5684[_0x16ba89(0x49e)]&&(_0x2daa5a=_0x5c9687-_0x58abd0),_0x151969({'editorHeight':_0x12ca28[_0x16ba89(0x3b1)]*_0x4987e8,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x5a2b8f=0x0;_0x4a31fe===_0x3a5684[_0x16ba89(0x28f)]?_0x5a2b8f=(_0x5c9687-_0x58abd0)/0x2:_0x4a31fe===_0x3a5684['BOTTOM']&&(_0x5a2b8f=_0x5c9687-_0x58abd0),_0x2daa5a=0x0,_0x151969({'editorHeight':_0x58abd0*_0x4987e8,'marginTop':_0x5a2b8f*_0x4987e8,'useAbsolutePosition':!0x0});}if(_0xc0fa){let _0x1ad8e7=Math[_0x16ba89(0x1e0)](0x0,_0x12ca28['left']),_0x18ff32=Math[_0x16ba89(0x1e0)](0x0,_0x12ca28[_0x16ba89(0x20d)]+_0x2daa5a);_0xc0fa[_0x16ba89(0x103)]({'marginLeft':_0x1ad8e7,'marginRight':Math[_0x16ba89(0x1e0)](0x0,_0x3ecbb2-_0x12ca28[_0x16ba89(0x379)]-_0x12ca28[_0x16ba89(0x42b)]),'marginBottom':Math[_0x16ba89(0x1e0)](0x0,_0x4bc3aa-_0x12ca28[_0x16ba89(0x20d)]-_0x12ca28[_0x16ba89(0x3b1)]),'pageSize':{'width':_0x3ecbb2,'height':_0x4bc3aa}}),_0xc0fa[_0x16ba89(0x2b7)]({'t':_0x18ff32}),_0x13e590['calculate']();}if(_0x1bb590){let _0x550768=_0x3c0a39,_0x5d66a6=_0x39987d;_0x1bb590[_0x16ba89(0x4c9)][_0x16ba89(0x219)]({'width':_0x550768*_0x3934ff/_0x142055,'height':_0x5d66a6*_0x3934ff/_0x38bc41,'scaleX':_0x142055*_0x3934ff,'scaleY':_0x38bc41*_0x3934ff}),_0x1bb590['mainComponent']&&_0x1bb590[_0x16ba89(0x321)]['resize'](_0x550768*_0x3934ff/_0x142055,_0x5d66a6*_0x3934ff/_0x38bc41);}},[_0x2763fd,_0x18f2de,_0x1b74d7,_0x516b1d,_0x48e9b1,_0x56979a,_0x3c0a39,_0x39987d,_0x5a46c6,_0x4987e8,_0x151969]),_0x59175b=_0x43b97b((_0x3cbb8d=!0x1)=>{_0x164c67(),_0x2a8f79['current']=requestAnimationFrame(()=>{const _0x3c8c8e=_0x165c;_0x4cdcb6(),_0x3cbb8d&&_0x54638(!0x1),_0x2a8f79['current']=null,_0x448a69[_0x3c8c8e(0x44b)]=window[_0x3c8c8e(0xb3)](()=>{const _0x9b8096=_0x3c8c8e;_0x4cdcb6(),_0x3cbb8d&&_0x54638(!0x1),_0x448a69[_0x9b8096(0x44b)]=null;},0x14);});},[_0x4cdcb6,_0x164c67,_0x54638]);_0x1db944(()=>{const _0x10b18b=_0x8882ae;if(!_0x2763fd||!_0x46b241)return;let {shapeId:_0x397139,unitId:_0x931b59}=_0x46b241;if(_0xb4c047){var _0x367276,_0x20b94e,_0x1b31c4,_0x2afd62;let _0x335a14=mo(_0x2763fd['getDocumentData']()),_0x598cda=_0x48e9b1(),_0x319e0c={'va':(_0x367276=_0x598cda==null?void 0x0:_0x598cda[_0x10b18b(0x39c)])==null?_0x3a5684['TOP']:_0x367276,'ha':(_0x20b94e=_0x598cda==null?void 0x0:_0x598cda[_0x10b18b(0x3b6)])==null?_0x2a6bb4[_0x10b18b(0x3e9)]:_0x20b94e,'doc':_0x335a14};_0x1b7f71['executeCommand'](_0x33f250['id'],{'unitId':_0x931b59,'shapeId':_0x397139,'shapeData':{'shapeText':{'isHorizontal':(_0x1b31c4=_0x598cda==null?void 0x0:_0x598cda[_0x10b18b(0x45f)])==null?!0x0:_0x1b31c4,'dataModel':_0x319e0c}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x2afd62=_0x598cda==null?void 0x0:_0x598cda[_0x10b18b(0x45f)])==null?!0x0:_0x2afd62,'dataModel':_0x714e85[_0x10b18b(0x44b)]}}}});return;}let _0x21d3a6=_0x48e9b1();if(_0x21d3a6!=null&&_0x21d3a6[_0x10b18b(0x2ff)]){_0x714e85[_0x10b18b(0x44b)]={'va':_0x21d3a6[_0x10b18b(0x39c)],'ha':_0x21d3a6['horizontalAlign'],'doc':_0x4db755['deepClone'](_0x21d3a6[_0x10b18b(0x2ff)])};let _0x27988d=po(_0x21d3a6[_0x10b18b(0x2ff)],{'isHorizontal':!0x0,'textRect':_0x21d3a6[_0x10b18b(0x1cb)],'verticalAlign':_0x21d3a6[_0x10b18b(0x39c)],'horizontalAlign':_0x21d3a6['horizontalAlign']});return _0x2763fd[_0x10b18b(0x1ea)](_0x27988d,null),()=>{const _0x943c3d=_0x10b18b;var _0x263e00,_0x554fed,_0x41e4e0,_0x35d09c;let _0x23b057=mo(_0x2763fd[_0x943c3d(0x425)]()),_0x3c28b4=_0x48e9b1(),_0x7bfd6c={'va':(_0x263e00=_0x3c28b4==null?void 0x0:_0x3c28b4[_0x943c3d(0x39c)])==null?_0x3a5684['TOP']:_0x263e00,'ha':(_0x554fed=_0x3c28b4==null?void 0x0:_0x3c28b4[_0x943c3d(0x3b6)])==null?_0x2a6bb4[_0x943c3d(0x3e9)]:_0x554fed,'doc':_0x23b057};_0x1b7f71[_0x943c3d(0x46b)](_0x33f250['id'],{'unitId':_0x931b59,'shapeId':_0x397139,'shapeData':{'shapeText':{'isHorizontal':(_0x41e4e0=_0x3c28b4==null?void 0x0:_0x3c28b4[_0x943c3d(0x45f)])==null?!0x0:_0x41e4e0,'dataModel':_0x7bfd6c}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x35d09c=_0x3c28b4==null?void 0x0:_0x3c28b4[_0x943c3d(0x45f)])==null?!0x0:_0x35d09c,'dataModel':_0x714e85['current']}}}});};}else _0x2763fd[_0x10b18b(0x1ea)](_0x13ed07,null);},[_0x2763fd,_0x46b241,_0xb4c047]),_0x1db944(()=>{const _0x2f04d7=_0x8882ae;if(!(!_0x2763fd||!_0x46b241))return _0x10b465[_0x2f04d7(0x378)](!0x0),_0x4cdcb6(),_0x216499[_0x2f04d7(0x44b)]=requestAnimationFrame(()=>{const _0x48559b=_0x2f04d7;_0x10b465[_0x48559b(0x382)](oo),_0x54638(),_0x59175b(),_0x216499[_0x48559b(0x44b)]=null;}),()=>{const _0x330a3f=_0x2f04d7;_0x216499[_0x330a3f(0x44b)]!==null&&(cancelAnimationFrame(_0x216499['current']),_0x216499['current']=null),_0x164c67(),_0x10b465[_0x330a3f(0x378)](!0x0);};},[_0x2763fd,_0x46b241,_0x10b465,_0x4cdcb6,_0x54638,_0x59175b,_0x164c67]),_0x1db944(()=>{const _0x18493f=_0x8882ae;if(!_0x2763fd)return;let _0x134c93=_0x1b7f71[_0x18493f(0x482)](_0x1c24da=>{const _0x1980a2=_0x18493f;_0x1c24da['id']===_0xdd4495['id']&&_0x1c24da['params']['unitId']===oo&&_0x46b241&&(_0x46b241[_0x1980a2(0x8a)]?_0x4cdcb6():_0x1eb3e3[_0x1980a2(0x73)]({..._0x46b241,'visible':!0x0}));});return()=>{const _0x3ff4e6=_0x18493f;_0x134c93[_0x3ff4e6(0x451)]();};},[_0x2763fd,_0x4cdcb6,_0x46b241,_0x59175b,_0x1eb3e3]),_0x1db944(()=>(_0x4cdcb6(),_0x59175b(),()=>{_0x164c67();}),[_0x4cdcb6,_0x59175b,_0x164c67]);let _0x4b10a7=_0xe6bc0e(()=>ms(_0x3c0a39,_0x39987d),[_0x3c0a39,_0x39987d]),_0x524da2=_0xe6bc0e(()=>{const _0x3b7c68=_0x8882ae;let _0x207d48=_0x48e9b1(),_0x47af45=_0x207d48==null?void 0x0:_0x207d48[_0x3b7c68(0x449)];return _0x47af45&&_0x47af45||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x48e9b1]);return _0x4fd747(_0x8882ae(0x255),{'ref':_0x1d09d6,'data-u-comp':_0x8882ae(0x411),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':_0x8882ae(0x281)+_0x524da2['angle']+_0x8882ae(0x3de)+(_0x524da2['flipY']?-0x1:0x1)+')'},'children':_0x4fd747(_0x8882ae(0x255),{'ref':_0x152422,'className':'univer-absolute','data-u-comp':_0x8882ae(0xe3),'style':_0x4b10a7,'data-editorid':oo})});},vs={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ys(_0x301b64,_0x36b43e,_0x37b12e,_0x38f320,_0x2398e2,_0x5baf89){const _0x12cf8c=_0x16f7f1;var _0x1d0897,_0x1e9412;let {scaleX:_0x3cb0ae,scaleY:_0xe2f9df}=_0x5baf89[_0x12cf8c(0x26e)](),_0x272daf=_0x5baf89[_0x12cf8c(0x4d3)](_0x5c21fd[_0x12cf8c(0x47a)]),_0x2b067e=(_0x1d0897=_0x272daf==null?void 0x0:_0x272daf[_0x12cf8c(0x2fd)])==null?0x0:_0x1d0897,_0x1ba246=(_0x1e9412=_0x272daf==null?void 0x0:_0x272daf[_0x12cf8c(0xa9)])==null?0x0:_0x1e9412;return{'left':(_0x301b64-_0x2b067e)*_0x3cb0ae,'top':(_0x36b43e-_0x1ba246)*_0xe2f9df,'width':_0x37b12e*_0x3cb0ae,'height':_0x38f320*_0xe2f9df,'angle':_0x2398e2,'scaleX':_0x3cb0ae,'scaleY':_0xe2f9df};}function bs(_0x5d64ba){const _0x5500da=_0x16f7f1;let {editingParams:_0x3ab7f4,scene:_0x521ca6,getShapeTransform:_0x5aa02a}=_0x5d64ba,[_0x153236,_0x21ea35]=_0x1ee196(vs),_0x40c96b=_0x2cc0d0(_0x153236);_0x40c96b[_0x5500da(0x44b)]=_0x153236;let _0x29de7e=_0x43b97b(()=>{const _0x39e999=_0x5500da;if(!_0x3ab7f4||!_0x521ca6){_0x40c96b[_0x39e999(0x44b)]!==vs&&_0x21ea35(vs);return;}let _0x2dbab8=_0x5aa02a();if(!_0x2dbab8){_0x40c96b[_0x39e999(0x44b)]!==vs&&_0x21ea35(vs);return;}let {left:_0x26034,top:_0x2ec2e8,width:_0x44bac2,height:_0x114161,angle:_0x54d526}=_0x2dbab8,{scaleX:_0x447349,scaleY:_0x3f126f}=_0x521ca6[_0x39e999(0x26e)]();if(!_0x3ab7f4[_0x39e999(0x8a)]){_0x21ea35({'left':-0x270f,'top':-0x270f,'width':_0x44bac2*_0x447349,'height':_0x114161*_0x3f126f,'angle':0x0,'scaleX':_0x447349,'scaleY':_0x3f126f});return;}_0x21ea35(ys(_0x26034,_0x2ec2e8,_0x44bac2,_0x114161,_0x54d526,_0x521ca6));},[_0x3ab7f4,_0x521ca6,_0x5aa02a]);return _0x1db944(()=>{_0x29de7e();},[_0x3ab7f4,_0x29de7e]),{'position':_0x153236,'updatePosition':_0x29de7e};}const xs=_0x3fc9c6(_0x3b229a=>{const _0x1e6425=_0x16f7f1;let {children:_0x14805a,onPositionUpdate:_0x320abe}=_0x3b229a,_0x5a9c93=_0x2cc0d0(null),_0x2a9a15=_0x4beb35(uo),_0x8cc1bd=_0x4beb35(_0x58e500),_0x3c7ab4=_0x1a174b(_0x2a9a15[_0x1e6425(0x2f6)]),_0x4e879a=_0xe6bc0e(()=>_0x3c7ab4?_0x8cc1bd[_0x1e6425(0x251)](_0x3c7ab4[_0x1e6425(0x17d)]):null,[_0x3c7ab4,_0x8cc1bd]),_0x3255da=_0xe6bc0e(()=>{const _0x2c30df=_0x1e6425;var _0x3a7a71;return(_0x3a7a71=_0x4e879a==null?void 0x0:_0x4e879a[_0x2c30df(0x4c9)])==null?null:_0x3a7a71;},[_0x4e879a]),{position:_0xe90d09,updatePosition:_0x57cf5f}=bs({'editingParams':_0x3c7ab4,'scene':_0x3255da,'getShapeTransform':_0x43b97b(()=>{const _0x3cc23c=_0x1e6425;if(!_0x3c7ab4||!_0x3255da)return null;let _0x31bc26=_0x3c7ab4['shapeKey'],_0x5a03a0=_0x3255da[_0x3cc23c(0x285)](_0x31bc26);return _0x5a03a0 instanceof ho?{'left':_0x5a03a0[_0x3cc23c(0x379)],'top':_0x5a03a0[_0x3cc23c(0x20d)],'width':_0x5a03a0[_0x3cc23c(0x42b)],'height':_0x5a03a0[_0x3cc23c(0x3b1)],'angle':_0x5a03a0['angle']}:null;},[_0x3c7ab4,_0x3255da])}),_0x4fe775=_0x43b97b(()=>{const _0x2243b0=_0x1e6425;let _0x460b80=_0x5a9c93[_0x2243b0(0x44b)];_0x460b80&&(_0x460b80[_0x2243b0(0x45b)]['left']=_0xe90d09[_0x2243b0(0x379)]+'px',_0x460b80[_0x2243b0(0x45b)][_0x2243b0(0x20d)]=_0xe90d09[_0x2243b0(0x20d)]+'px',_0x460b80['style']['width']=_0xe90d09['width']+'px',_0x460b80[_0x2243b0(0x45b)][_0x2243b0(0x3b1)]=_0xe90d09[_0x2243b0(0x3b1)]+'px');},[_0xe90d09]);return _0x1db944(()=>{const _0x4e09b7=_0x1e6425;_0x4fe775(),_0x320abe==null||_0x320abe({'width':_0xe90d09['width'],'height':_0xe90d09[_0x4e09b7(0x3b1)],'scaleX':_0xe90d09[_0x4e09b7(0x2c1)],'scaleY':_0xe90d09[_0x4e09b7(0x133)]});},[_0xe90d09,_0x4fe775,_0x320abe]),_0x1db944(()=>{const _0x5224ce=_0x1e6425;if(!_0x3255da)return;let _0x2d13fd=_0x3255da[_0x5224ce(0x4d3)](_0x5c21fd[_0x5224ce(0x47a)]);if(!_0x2d13fd)return;let _0x13174d=_0x2d13fd[_0x5224ce(0x2df)][_0x5224ce(0xc5)](()=>{_0x57cf5f();});return()=>{const _0x167b6d=_0x5224ce;_0x13174d[_0x167b6d(0x493)]();};},[_0x3255da,_0x57cf5f]),_0x1db944(()=>{const _0x3df196=_0x1e6425;if(!_0x3c7ab4||!_0x3255da)return;let _0x253d8b=_0x3c7ab4[_0x3df196(0x2ec)],_0x4706a7=_0x3255da[_0x3df196(0x285)](_0x253d8b);if(_0x4706a7 instanceof ho){let _0x58c9ab=_0x4706a7['onTransformChange$'][_0x3df196(0xc5)](()=>{_0x57cf5f();});return()=>{const _0x51a9c0=_0x3df196;_0x58c9ab[_0x51a9c0(0x493)]();};}},[_0x3c7ab4,_0x3255da,_0x57cf5f]),_0x4fd747(_0x1e6425(0x255),{'ref':_0x5a9c93,'data-u-comp':'shape-text-editor-position-wrapper','className':_0x1e6425(0x217),'style':_0xe6bc0e(()=>({'left':_0xe90d09['left'],'top':_0xe90d09[_0x1e6425(0x20d)],'width':_0xe90d09[_0x1e6425(0x42b)],'height':_0xe90d09[_0x1e6425(0x3b1)],'pointerEvents':_0x3c7ab4!=null&&_0x3c7ab4[_0x1e6425(0x8a)]?'auto':_0x1e6425(0x427)}),[_0xe90d09,_0x3c7ab4==null?void 0x0:_0x3c7ab4['visible']]),'children':_0x14805a});}),Ss=_0x3fc9c6(()=>{const _0x443234=_0x16f7f1;let _0x1d9ef1=_0x1a174b(_0x4beb35(uo)[_0x443234(0x2f6)]),[_0x49f9e0,_0x39b3d6]=_0x1ee196({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x1077b8=_0x43b97b(_0x25c18a=>{const _0x1af5ae=_0x443234;_0x39b3d6({'width':_0x25c18a['width'],'height':_0x25c18a[_0x1af5ae(0x3b1)],'scaleX':_0x25c18a[_0x1af5ae(0x2c1)],'scaleY':_0x25c18a[_0x1af5ae(0x133)]});},[]);return _0x1d9ef1!=null&&_0x1d9ef1['visible']?_0x4fd747(xs,{'onPositionUpdate':_0x1077b8,'children':_0x4fd747(_s,{'containerWidth':_0x49f9e0[_0x443234(0x42b)],'containerHeight':_0x49f9e0[_0x443234(0x3b1)],'scaleX':_0x49f9e0[_0x443234(0x2c1)],'scaleY':_0x49f9e0[_0x443234(0x133)]})}):null;});let Cs=class extends _0x13d786{constructor(_0x1ab874=rs,_0x3605f6,_0x466f68,_0x56efd3,_0x12ec34){const _0x161c80=_0x16f7f1;super(),this[_0x161c80(0x36e)]=_0x1ab874,this[_0x161c80(0x363)]=_0x3605f6,this[_0x161c80(0x257)]=_0x466f68,this[_0x161c80(0x287)]=_0x56efd3,this['_renderManagerService']=_0x12ec34;let {menu:_0x4810f3,..._0x58c4fe}=_0x24c354({},rs,this[_0x161c80(0x36e)]);_0x4810f3&&this['_configService']['setConfig'](_0x161c80(0x389),_0x4810f3,{'merge':!0x0}),this[_0x161c80(0x287)][_0x161c80(0x385)](_0x161c80(0x23b),_0x58c4fe),this['_initCommands']();}[_0x16f7f1(0x250)](){const _0x54fd65=_0x16f7f1;_0x38930a(this[_0x54fd65(0x363)],[[es],[vo],[_o],[as],[Uo],[uo]]),this['_initUIPart']();}['onReady'](){const _0x52a4d6=_0x16f7f1;this[_0x52a4d6(0x110)][_0x52a4d6(0x4cc)](_0x300c45[_0x52a4d6(0x483)],[as]),this[_0x52a4d6(0x110)][_0x52a4d6(0x4cc)](_0x300c45[_0x52a4d6(0x483)],[cs]),this[_0x52a4d6(0x110)][_0x52a4d6(0x4cc)](_0x300c45[_0x52a4d6(0x483)],[ps]),_0x29a576(this[_0x52a4d6(0x363)],[[es],[vo],[_o],[Uo],[uo]]);}[_0x16f7f1(0x8b)](){const _0x217e1e=_0x16f7f1;[no,ro,io]['forEach'](_0x213e3e=>this[_0x217e1e(0x4bd)](this[_0x217e1e(0x257)][_0x217e1e(0x199)](_0x213e3e)));}['_initUIPart'](){const _0x3751eb=_0x16f7f1;let _0x4f9304=this['_injector'],_0x502f6f=_0x4f9304['get'](_0x49e5bf),_0x3156cd=_0x4f9304[_0x3751eb(0xd8)](_0x29a319);this['disposeWithMe'](_0x502f6f[_0x3751eb(0x322)](_0x3751eb(0x4e1),Ss)),this[_0x3751eb(0x4bd)](_0x3156cd[_0x3751eb(0x2de)](_0x3ed698[_0x3751eb(0x3ea)],()=>_0x548b46(Ss,_0x4f9304)));}};Z(Cs,'type',_0x300c45[_0x16f7f1(0x483)]),Z(Cs,'pluginName',_0x16f7f1(0x41e)),Z(Cs,_0x16f7f1(0xdd),ts),Z(Cs,_0x16f7f1(0xe9),ns),Cs=go([_0x285e89(_0x481834,_0x537f21,_0x21ce02),$(0x1,_0x3bd34c(_0x1e326c)),$(0x2,_0x24c807),$(0x3,_0x3728aa),$(0x4,_0x58e500)],Cs);export{ro as CloseDocShapeFormatPanelOperation,es as DocsShapeUIController,no as MenuInsertShapeCommand,io as OpenDocShapeFormatPanelOperation,Cs as UniverDocsShapeUIPlugin};
1
+ function _0x4c8b(_0x3f1a3e,_0x2057d9){_0x3f1a3e=_0x3f1a3e-0x6b;const _0xc6620d=_0xc662();let _0x4c8b77=_0xc6620d[_0x3f1a3e];return _0x4c8b77;}const _0x16658a=_0x4c8b;(function(_0x4763bf,_0x5d5b2c){const _0x256294=_0x4c8b,_0x3f7790=_0x4763bf();while(!![]){try{const _0xfbc7a=parseInt(_0x256294(0x16c))/0x1+-parseInt(_0x256294(0x1c6))/0x2+parseInt(_0x256294(0xc2))/0x3+-parseInt(_0x256294(0x16d))/0x4+-parseInt(_0x256294(0x369))/0x5*(parseInt(_0x256294(0x20c))/0x6)+parseInt(_0x256294(0x328))/0x7*(-parseInt(_0x256294(0xc9))/0x8)+parseInt(_0x256294(0x32e))/0x9;if(_0xfbc7a===_0x5d5b2c)break;else _0x3f7790['push'](_0x3f7790['shift']());}catch(_0x947e24){_0x3f7790['push'](_0x3f7790['shift']());}}}(_0xc662,0x66f07));import{DEFAULT_DOC_SHAPE_HEIGHT as _0x4e3c27,DEFAULT_DOC_SHAPE_WIDTH as _0x5bb50a,DocsShapeService as _0x24d037,InsertDocShapeMutation as _0x3c76b5,UniverDocsShapePlugin as _0x7c41d3,UpdateDocShapeDataCommand as _0x5ad227,UpdateDocShapeDataMutation as _0x525b71}from'@univerjs-pro/docs-shape';import{ImageSourceTypeEnum as _0x2e5d4f,ShapeArrowSizeEnum as _0x58d88e,ShapeArrowTypeEnum as _0x5f067d,ShapeDefaultConfig as _0x4b4a6c,ShapeFillEnum as _0x3098ec,ShapeLineTypeEnum as _0x585b4e,ShapeModel as _0xe0ca9e,ShapeRenderModeEnum as _0x32c821,ShapeTypeEnum as _0x579b63,isConnectorShape as _0x3d96f8}from'@univerjs-pro/engine-shape';import{BooleanNumber as _0x26d619,CommandType as _0x49ec85,DependentOn as _0x441f76,Disposable as _0x1e2586,DocumentDataModel as _0x70c71a,DrawingTypeEnum as _0x1ec8b5,FOCUSING_COMMON_DRAWINGS as _0x14aa69,FOCUSING_SHAPE_TEXT_EDITOR as _0x24f629,GridType as _0x221af7,HorizontalAlign as _0x3dd034,ICommandService as _0x44ffa4,IConfigService as _0x2675aa,IContextService as _0x8b2d1e,IURLImageService as _0x15fbfd,IUniverInstanceService as _0x236f41,Inject as _0x15b52f,Injector as _0x4dfdab,LocaleService as _0x4cdcfe,ObjectRelativeFromH as _0x3e2465,ObjectRelativeFromV as _0x15f131,Plugin as _0x445366,PositionedObjectLayoutType as _0x1bec57,Tools as _0x122eeb,UniverInstanceType as _0x3e815f,VerticalAlign as _0x55788f,WrapStrategy as _0x5f12db,WrapTextType as _0x39e877,createInternalEditorID as _0x178c3e,generateRandomId as _0x22b79c,merge as _0x34694b,registerDependencies as _0x129652,toDisposable as _0x1dcf7c,touchDependencies as _0x1e913b}from'@univerjs/core';import{DocContentInsertService as _0x2520b1,DocSelectionManagerService as _0x80837d}from'@univerjs/docs';import{DocDrawingPosition as _0x547edd,DocDrawingTextWrap as _0x3d4ee4,InsertDocDrawingCommand as _0x384ba0,RemoveDocDrawingCommand as _0xf44785,UniverDocsDrawingUIPlugin as _0x20f802}from'@univerjs/docs-drawing-ui';import{DOCS_COMPONENT_MAIN_LAYER_INDEX as _0x3e69da,DOC_CONTENT_INSERT_MENU_ID as _0x48c6d2,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x596bfe,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x53684d,DocCanvasPopManagerService as _0x3f84e2,DocParagraphMenuService as _0x17fcc9,DocSelectionRenderService as _0xff4989,EMPTY_PARAGRAPH_MENU_ID as _0x4144a1,INSERT_BELLOW_MENU_ID as _0x32bef1,VIEWPORT_KEY as _0x49d9be,docDrawingPositionToTransform as _0xab9510}from'@univerjs/docs-ui';import{CURSOR_TYPE as _0x5eba90,Circle as _0x442210,DRAWING_OBJECT_LAYER_INDEX as _0x9365ac,DocumentSkeleton as _0x2ba86b,DocumentViewModel as _0x2b5e86,Documents as _0x5686fd,IRenderManagerService as _0x2e40c6,RENDER_CLASS_TYPE as _0x166d66,Shape as _0x4d368a,Transform as _0x27fe9f,VERTICAL_ROTATE_ANGLE as _0x14d207,Vector2 as _0x3a2650}from'@univerjs/engine-render';import{IDrawingManagerService as _0x441a82,IImageIoService as _0x209190,getDrawingShapeKeyByDrawingSearch as _0x37e322}from'@univerjs/drawing';import{BuiltInUIPart as _0x21500d,ComponentManager as _0x169c16,ContextMenuGroup as _0x1e7d95,ContextMenuPosition as _0x5efae2,IFontService as _0x4d3925,IMenuManagerService as _0x59d4d1,ISidebarService as _0x30f27e,IUIPartsService as _0xda7b61,IconManager as _0x2d714f,MenuItemType as _0x3e142a,RibbonInsertGroup as _0x33e92f,connectInjector as _0x197648,getMenuHiddenObservable as _0x317481,useDependency as _0x4451a1}from'@univerjs/ui';import{Button as _0x548ee1,Dropdown as _0x440415}from'@univerjs/design';import{DrawingCommonPanel as _0xb3134,DrawingImageClipService as _0x25d8d6,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x3b22ba,insertGroupObject as _0x4d2eb5}from'@univerjs/drawing-ui';import{memo as _0x34514b,useEffect as _0x53c466,useMemo as _0x21d7e4,useState as _0x247e81}from'react';import{jsx as _0x44fa53,jsxs as _0x40634d}from'react/jsx-runtime';import{BehaviorSubject as _0x55e024}from'rxjs';import{ShapeEditPanel as _0x1e1596,ShapeFloatingToolbar as _0x34828e,ShapeTextEditorContainer as _0x4caede,ShapeTextFloatMenuRenderControllerBase as _0x28b878,ShapeTextFloatToolbar as _0x50b5c7,TextWrapShapeIcon as _0x46c592,buildShapeTextDataUpdate as _0x19c78f}from'@univerjs-pro/shape-editor-ui';import{UniverLicensePlugin as _0x18b2d3}from'@univerjs-pro/license';import{ShapeAccentBorderCallout1Icon as _0x5b8823,ShapeAccentBorderCallout2Icon as _0x54651d,ShapeAccentBorderCallout3Icon as _0x3f65b2,ShapeAccentCallout1Icon as _0x3cf6fc,ShapeAccentCallout2Icon as _0x46df5d,ShapeAccentCallout3Icon as _0x4c149d,ShapeActionButtonBackPreviousIcon as _0x265efa,ShapeActionButtonBeginningIcon as _0x41c47a,ShapeActionButtonBlankIcon as _0x436196,ShapeActionButtonDocumentIcon as _0x3814fc,ShapeActionButtonEndIcon as _0x309a58,ShapeActionButtonForwardNextIcon as _0x2d604c,ShapeActionButtonHelpIcon as _0x1ee73b,ShapeActionButtonHomeIcon as _0x31c689,ShapeActionButtonInformationIcon as _0x55c3be,ShapeActionButtonMovieIcon as _0x16e591,ShapeActionButtonReturnIcon as _0x3b6497,ShapeActionButtonSoundIcon as _0x5546e0,ShapeArcIcon as _0x55599c,ShapeBentArrowIcon as _0x378b53,ShapeBentConnector3Arrow1Icon as _0x510d7b,ShapeBentConnector3Arrow2Icon as _0x289027,ShapeBentConnector3Icon as _0x3bd55f,ShapeBentUpArrowIcon as _0x147512,ShapeBevelIcon as _0x4fa64b,ShapeBlockArcIcon as _0x26758e,ShapeBorderCallout1Icon as _0x2e51e2,ShapeBorderCallout2Icon as _0x2e89a3,ShapeBorderCallout3Icon as _0x1d35b6,ShapeBracePairIcon as _0xaf90e5,ShapeBracketPairIcon as _0x3916ef,ShapeCallout1Icon as _0x35fc99,ShapeCallout2Icon as _0x192cec,ShapeCallout3Icon as _0x180492,ShapeCanIcon as _0x5723e1,ShapeChartPlusIcon as _0x5d1eca,ShapeChartStarIcon as _0x567791,ShapeChartXIcon as _0x16672e,ShapeChevronIcon as _0x178655,ShapeChordIcon as _0x50dc84,ShapeCircularArrowIcon as _0x1d0624,ShapeCloudCalloutIcon as _0x82d67c,ShapeCloudIcon as _0x45e718,ShapeCornerIcon as _0x73c816,ShapeCornerTabsIcon as _0x1cb03e,ShapeCubeIcon as _0x5597da,ShapeCurvedConnector3Arrow1Icon as _0x4e73b0,ShapeCurvedConnector3Arrow2Icon as _0x497944,ShapeCurvedConnector3Icon as _0x13b19b,ShapeCurvedDownArrowIcon as _0x4ef6db,ShapeCurvedLeftArrowIcon as _0x5dad60,ShapeCurvedRightArrowIcon as _0x4b948c,ShapeCurvedUpArrowIcon as _0x1bcbb8,ShapeDecagonIcon as _0x4f4349,ShapeDiagStripeIcon as _0x32c42b,ShapeDiamondIcon as _0x244ecc,ShapeDodecagonIcon as _0x26aaf5,ShapeDonutIcon as _0x2c695c,ShapeDoubleWaveIcon as _0x771e93,ShapeDownArrowCalloutIcon as _0x27566a,ShapeDownArrowIcon as _0x4da57c,ShapeEllipseIcon as _0x24e4a8,ShapeEllipseRibbon2Icon as _0xc1b709,ShapeEllipseRibbonIcon as _0x1658c6,ShapeFlowChartAlternateProcessIcon as _0x472b68,ShapeFlowChartCollateIcon as _0x33210f,ShapeFlowChartConnectorIcon as _0x18f6ca,ShapeFlowChartDecisionIcon as _0x30e00b,ShapeFlowChartDelayIcon as _0x38c1a2,ShapeFlowChartDisplayIcon as _0x4db7c1,ShapeFlowChartDocumentIcon as _0x847751,ShapeFlowChartExtractIcon as _0x116c57,ShapeFlowChartInputOutputIcon as _0x50db84,ShapeFlowChartInternalStorageIcon as _0x30c4d2,ShapeFlowChartMagneticDiskIcon as _0x17ba7c,ShapeFlowChartMagneticDrumIcon as _0x347be0,ShapeFlowChartMagneticTapeIcon as _0x254f04,ShapeFlowChartManualInputIcon as _0x3d9e4e,ShapeFlowChartManualOperationIcon as _0x2696ce,ShapeFlowChartMergeIcon as _0x1651bc,ShapeFlowChartMultidocumentIcon as _0x1ee59b,ShapeFlowChartOfflineStorageIcon as _0x3c74a4,ShapeFlowChartOffpageConnectorIcon as _0x57ab56,ShapeFlowChartOnlineStorageIcon as _0x39bc29,ShapeFlowChartOrIcon as _0x47d9c1,ShapeFlowChartPredefinedProcessIcon as _0x277275,ShapeFlowChartPreparationIcon as _0x32e987,ShapeFlowChartProcessIcon as _0x5e47f8,ShapeFlowChartPunchedCardIcon as _0x27905c,ShapeFlowChartPunchedTapeIcon as _0xe2a396,ShapeFlowChartSortIcon as _0x296059,ShapeFlowChartSummingJunctionIcon as _0x5cb6c7,ShapeFlowChartTerminatorIcon as _0x1a42cc,ShapeFolderCornerIcon as _0x15792f,ShapeFrameIcon as _0x506279,ShapeFunnelIcon as _0x1388be,ShapeGear6Icon as _0x45c419,ShapeGear9Icon as _0xe71435,ShapeHalfFrameIcon as _0xf3b42f,ShapeHeartIcon as _0x41f64c,ShapeHeptagonIcon as _0x2d315c,ShapeHexagonIcon as _0x39d617,ShapeHomePlateIcon as _0x3d991f,ShapeHorizontalScrollIcon as _0x2e3290,ShapeIrregularSeal1Icon as _0x4ca65e,ShapeIrregularSeal2Icon as _0x530cd0,ShapeLeftArrowCalloutIcon as _0x391d52,ShapeLeftArrowIcon as _0xa95d58,ShapeLeftBraceIcon as _0x46c5d1,ShapeLeftBracketIcon as _0x4b33c0,ShapeLeftCircularArrowIcon as _0x74f66a,ShapeLeftRightArrowCalloutIcon as _0x1a1180,ShapeLeftRightArrowIcon as _0x26b24d,ShapeLeftRightCircularArrowIcon as _0x1ce7b8,ShapeLeftRightRibbonIcon as _0x3e284d,ShapeLeftRightUpArrowIcon as _0x24b0aa,ShapeLeftUpArrowIcon as _0x132a1b,ShapeLightningBoltIcon as _0x1fa692,ShapeLineIcon as _0x229f11,ShapeLineInvIcon as _0x1d307c,ShapeMathDivideIcon as _0x160353,ShapeMathEqualIcon as _0x588939,ShapeMathMinusIcon as _0x51ffba,ShapeMathMultiplyIcon as _0x582d06,ShapeMathNotEqualIcon as _0x4ae928,ShapeMathPlusIcon as _0x4840b3,ShapeMoonIcon as _0x1d5203,ShapeNoSmokingIcon as _0x6b479a,ShapeNonIsoscelesTrapezoidIcon as _0x32cef5,ShapeNotchedRightArrowIcon as _0x5bc6e9,ShapeOctagonIcon as _0x566370,ShapeParallelogramIcon as _0x3fbd8c,ShapePentagonIcon as _0x23992c,ShapePieIcon as _0x3b8117,ShapePieWedgeIcon as _0x34bb68,ShapePlaqueIcon as _0xfc42c,ShapePlaqueTabsIcon as _0x187eee,ShapePlusIcon as _0x5698ac,ShapeQuadArrowCalloutIcon as _0x7f02f4,ShapeQuadArrowIcon as _0x27a34a,ShapeRectIcon as _0x4043b2,ShapeRectTextboxHorizontalIcon as _0xeac023,ShapeRectTextboxVerticalIcon as _0x3ef691,ShapeRibbon2Icon as _0x2eac0d,ShapeRibbonIcon as _0x5a00b2,ShapeRightArrowCalloutIcon as _0x152af9,ShapeRightArrowIcon as _0x4925ac,ShapeRightBraceIcon as _0x3156fa,ShapeRightBracketIcon as _0xc28aeb,ShapeRound1RectIcon as _0x21429c,ShapeRound2DiagRectIcon as _0x27f843,ShapeRound2SameRectIcon as _0x576d44,ShapeRoundRectIcon as _0x3fdda6,ShapeRtTriangleIcon as _0x63e75b,ShapeSmileyFaceIcon as _0x5edb5c,ShapeSnip1RectIcon as _0xe35f57,ShapeSnip2DiagRectIcon as _0x35966d,ShapeSnip2SameRectIcon as _0x462d95,ShapeSnipRoundRectIcon as _0x246584,ShapeSquareTabsIcon as _0x3da3bf,ShapeStar10Icon as _0x15e306,ShapeStar12Icon as _0x403bf8,ShapeStar16Icon as _0x3c29c4,ShapeStar24Icon as _0x468bb8,ShapeStar32Icon as _0x3e3dd0,ShapeStar4Icon as _0x4c7299,ShapeStar5Icon as _0x1cfce5,ShapeStar6Icon as _0x23d32a,ShapeStar7Icon as _0x10359b,ShapeStar8Icon as _0x1a86d0,ShapeStraightConnector1Icon as _0x58f4bc,ShapeStraightConnector2Icon as _0x311327,ShapeStripedRightArrowIcon as _0x151c73,ShapeSunIcon as _0x3355b0,ShapeSwooshArrowIcon as _0x94f0da,ShapeTeardropIcon as _0x32a410,ShapeTrapezoidIcon as _0x42a08f,ShapeTriangleIcon as _0xe0a2ce,ShapeUpArrowCalloutIcon as _0x371ffa,ShapeUpArrowIcon as _0x55319a,ShapeUpDownArrowCalloutIcon as _0x111b35,ShapeUpDownArrowIcon as _0x533fa1,ShapeUturnArrowIcon as _0x29b19d,ShapeVerticalScrollIcon as _0x51797e,ShapeWaveIcon as _0x2141d8,ShapeWedgeEllipseCalloutIcon as _0x1f44d6,ShapeWedgeRectCalloutIcon as _0x2c4f60,ShapeWedgeRoundRectCalloutIcon as _0x32e76d}from'@univerjs/icons';const Zi=_0x16658a(0x18c),Qi='#2563EB';function $i(_0x5f1892,_0x40d2e8){const _0x578fa9=_0x16658a;if(_0x40d2e8){if(_0x3d96f8(_0x5f1892)&&(_0x40d2e8[_0x578fa9(0xcf)]||_0x40d2e8[_0x578fa9(0x327)]))return{'ln':{'startArrow':_0x40d2e8['startArrow']?{'type':_0x5f067d[_0x578fa9(0x293)],'size':_0x58d88e[_0x578fa9(0x209)]}:void 0x0,'endArrow':_0x40d2e8[_0x578fa9(0x327)]?{'type':_0x5f067d['Arrow'],'size':_0x58d88e[_0x578fa9(0xc4)]}:void 0x0}};if(_0x5f1892===_0x579b63[_0x578fa9(0xc0)]&&(_0x40d2e8['horizontal']||_0x40d2e8[_0x578fa9(0x38c)]))return{'fill':{'fillType':_0x3098ec[_0x578fa9(0x357)],'color':Zi},'stroke':{'lineStrokeType':_0x585b4e[_0x578fa9(0xc1)],'width':0x1,'color':Qi},'shapeText':{'isHorizontal':!!_0x40d2e8[_0x578fa9(0x372)]}};}}function ea(_0x3c79d1,_0x1c279b){const _0x288ce1=_0x16658a;var _0x269112;let _0x5dc109=_0x3c79d1[_0x288ce1(0x250)](_0x2e40c6)[_0x288ce1(0x1c7)](_0x1c279b),_0x751c98=_0x5dc109==null||(_0x269112=_0x5dc109[_0x288ce1(0x113)](_0xff4989)[_0x288ce1(0x35a)]())==null?void 0x0:_0x269112[_0x288ce1(0x1e8)]();return _0x751c98?{'left':_0x751c98['left'],'top':_0x751c98[_0x288ce1(0x288)]}:null;}function ta(_0x25d5e1,_0x2db566,_0x22050f){const _0x134b77=_0x16658a;var _0x23b0f7,_0x137a05,_0x70e40;if(!_0x22050f)return null;let _0x378d99=_0x25d5e1[_0x134b77(0x250)](_0x2e40c6)['getRenderById'](_0x2db566),_0x1c8a02=_0x378d99==null?void 0x0:_0x378d99[_0x134b77(0x113)](_0x17fcc9)[_0x134b77(0x214)];if(!_0x1c8a02)return null;let _0x12f290=_0x22050f===_0x134b77(0x364)?{'startOffset':_0x1c8a02[_0x134b77(0x34f)][_0x134b77(0x284)],'endOffset':_0x1c8a02['moveRange']['endOffset']}:_0x1c8a02[_0x134b77(0x2ea)];return{'range':{'unitId':_0x2db566,'startOffset':_0x12f290[_0x134b77(0x2c0)],'endOffset':_0x12f290['endOffset'],'segmentId':(_0x23b0f7=(_0x137a05=_0x1c8a02[_0x134b77(0x2da)])==null?void 0x0:_0x137a05['segmentId'])==null?'':_0x23b0f7},'position':(_0x70e40=_0x1c8a02[_0x134b77(0x2da)])!=null&&_0x70e40[_0x134b77(0x9b)]?{'left':_0x1c8a02[_0x134b77(0x2da)][_0x134b77(0x9b)][_0x134b77(0xfc)],'top':_0x22050f===_0x134b77(0x364)?_0x1c8a02[_0x134b77(0x2da)][_0x134b77(0x9b)][_0x134b77(0x22d)]:_0x1c8a02['paragraph'][_0x134b77(0x9b)][_0x134b77(0x288)]}:null};}function na(_0x350129,_0x2b09d2,_0x2fdc60){const _0x5641df=_0x16658a;var _0xd2fd2f;return{'size':{'width':_0x350129,'height':_0x2b09d2},'positionH':{'relativeFrom':_0x3e2465[_0x5641df(0x266)],'posOffset':(_0xd2fd2f=_0x2fdc60==null?void 0x0:_0x2fdc60[_0x5641df(0xfc)])==null?0x0:_0xd2fd2f},'positionV':{'relativeFrom':_0x15f131[_0x5641df(0x235)],'posOffset':0x0},'angle':0x0};}const B={'type':_0x49ec85['COMMAND'],'id':_0x16658a(0x217),'handler':async(_0x399dd2,_0x58ccb6)=>{const _0x53be7b=_0x16658a;var _0x9b2c9a,_0x2f27fd,_0x2c4a36,_0x55388d,_0x596a53,_0x17a767;let _0x4320a2=_0x399dd2[_0x53be7b(0x250)](_0x236f41)[_0x53be7b(0x289)]();if(!_0x4320a2)return!0x1;let _0x1ca10d=_0x399dd2[_0x53be7b(0x250)](_0x44ffa4),_0x483ab7=_0x4320a2[_0x53be7b(0x6b)](),_0x303deb=_0x483ab7,_0xf96492=(_0x9b2c9a=_0x58ccb6[_0x53be7b(0x123)])==null?_0x22b79c():_0x9b2c9a,_0x47f50f=(_0x2f27fd=_0x58ccb6[_0x53be7b(0x24b)])==null?_0x5bb50a:_0x2f27fd,_0x477820=(_0x2c4a36=_0x58ccb6[_0x53be7b(0x296)])==null?_0x4e3c27:_0x2c4a36,_0x52cd53=(_0x55388d=(_0x596a53=_0x58ccb6[_0x53be7b(0x136)])==null?$i(_0x58ccb6[_0x53be7b(0xf0)],_0x58ccb6[_0x53be7b(0x197)]):_0x596a53)==null?{'fill':{'fillType':_0x3098ec['SolidFill'],'color':Zi},'stroke':{'lineStrokeType':_0x585b4e[_0x53be7b(0xc1)],'width':0x1,'color':Qi}}:_0x55388d,_0x233044=ta(_0x399dd2,_0x483ab7,_0x58ccb6[_0x53be7b(0x12a)]),_0x5171b5=(_0x17a767=_0x233044==null?void 0x0:_0x233044[_0x53be7b(0x337)])==null?ea(_0x399dd2,_0x483ab7):_0x17a767,_0x619fdc=na(_0x47f50f,_0x477820,_0x5171b5),_0x285d05=_0xab9510(_0x619fdc);_0x285d05&&_0x5171b5&&(_0x285d05[_0x53be7b(0x288)]=_0x5171b5[_0x53be7b(0x288)]),_0x1ca10d[_0x53be7b(0x2a5)](_0x3c76b5['id'],{'unitId':_0x483ab7,'shapeId':_0xf96492,'shapeType':_0x58ccb6['value'],'shapeData':_0x52cd53}),_0x233044&&_0x399dd2[_0x53be7b(0x250)](_0x2520b1)[_0x53be7b(0xe8)](_0x233044[_0x53be7b(0x23b)]);let _0x63cd46={'unitId':_0x483ab7,'subUnitId':_0x303deb,'drawingId':_0xf96492,'drawingType':_0x1ec8b5['DRAWING_SHAPE'],'transform':_0x285d05,'docTransform':_0x619fdc,'data':{'shapeType':_0x58ccb6[_0x53be7b(0xf0)],'shapeData':_0x52cd53},'behindDoc':_0x26d619[_0x53be7b(0x307)],'title':'','description':'','layoutType':_0x1bec57[_0x53be7b(0x10a)],'wrapText':_0x39e877[_0x53be7b(0x302)],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x1ca10d['syncExecuteCommand'](_0x384ba0['id'],{'unitId':_0x483ab7,'drawings':[_0x63cd46]});}},ra={'type':_0x49ec85[_0x16658a(0x153)],'id':_0x16658a(0xda),'handler'(){return!0x0;}},V={'type':_0x49ec85['OPERATION'],'id':_0x16658a(0x200),'handler'(){return!0x0;}},H=_0x16658a(0x30c),ia=_0x178c3e('SHAPE_TEXT');function U(_0x4c4cfc,_0x46492a){return function(_0xca3f41,_0x3fba52){_0x46492a(_0xca3f41,_0x3fba52,_0x4c4cfc);};}function W(_0x45785c,_0x505833,_0x43b1b4,_0x5eb9fd){const _0x73038d=_0x16658a;var _0x534f94=arguments['length'],_0x337a73=_0x534f94<0x3?_0x505833:_0x5eb9fd===null?_0x5eb9fd=Object[_0x73038d(0x3ac)](_0x505833,_0x43b1b4):_0x5eb9fd,_0x5f4846;if(typeof Reflect==_0x73038d(0x33b)&&typeof Reflect[_0x73038d(0x2d2)]==_0x73038d(0x10b))_0x337a73=Reflect[_0x73038d(0x2d2)](_0x45785c,_0x505833,_0x43b1b4,_0x5eb9fd);else{for(var _0x18cf34=_0x45785c[_0x73038d(0x3b8)]-0x1;_0x18cf34>=0x0;_0x18cf34--)(_0x5f4846=_0x45785c[_0x18cf34])&&(_0x337a73=(_0x534f94<0x3?_0x5f4846(_0x337a73):_0x534f94>0x3?_0x5f4846(_0x505833,_0x43b1b4,_0x337a73):_0x5f4846(_0x505833,_0x43b1b4))||_0x337a73);}return _0x534f94>0x3&&_0x337a73&&Object[_0x73038d(0x1e1)](_0x505833,_0x43b1b4,_0x337a73),_0x337a73;}let G=class extends _0x1e2586{constructor(_0x537d87,_0x226fbd){const _0x3d3937=_0x16658a;super(),this[_0x3d3937(0x2c1)]=_0x537d87,this[_0x3d3937(0x2ff)]=_0x226fbd,this['_registerImageShapeClipDelegate'](),this['_clipService'][_0x3d3937(0xab)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x3d3937(0x2c1)][_0x3d3937(0xab)](!0x1)});}[_0x16658a(0x126)](){const _0x250bb5=_0x16658a;let _0x475e65=new Map(),_0x3e9637=this['_clipService'][_0x250bb5(0x3c4)]((_0x301e92,_0x5a0358,_0x50ad78,_0x4309f9,_0x377a13)=>{const _0x5f4895=_0x250bb5;let _0x28214a=_0x5a0358;if(_0x28214a===_0x579b63[_0x5f4895(0x2f7)]||_0x5a0358==='custom')return!0x1;try{let _0x31e6b5=_0x475e65['get'](_0x5a0358);return _0x31e6b5||(_0x31e6b5=new _0xe0ca9e(_0x28214a,'clip-'+_0x5a0358),_0x475e65[_0x5f4895(0x323)](_0x5a0358,_0x31e6b5)),_0x377a13&&_0x31e6b5[_0x5f4895(0x3bf)]({'adjustValues':_0x377a13},!0x0),_0x31e6b5[_0x5f4895(0x192)]({'width':_0x50ad78,'height':_0x4309f9}),_0x31e6b5[_0x5f4895(0x256)](_0x301e92,{'left':0x0,'top':0x0,'width':_0x50ad78,'height':_0x4309f9});}catch{return!0x1;}});this[_0x250bb5(0x28d)](_0x3e9637),this['disposeWithMe']({'dispose':()=>_0x475e65['clear']()});}[_0x16658a(0x86)](_0x2e7af1,_0x31bd30,_0x5909bd,_0x2075e9,_0x145d10){const _0x43801d=_0x16658a;let _0x1097b5=this['_drawingManagerService'][_0x43801d(0x173)](_0x2e7af1,_0x31bd30)[_0x5909bd];!_0x1097b5||_0x1097b5[_0x43801d(0x37f)]!==_0x1ec8b5[_0x43801d(0x18e)]||this[_0x43801d(0x2ff)]['featurePluginUpdateNotification']([{..._0x1097b5,'prstGeom':_0x2075e9,'adjustValues':_0x145d10}]);}};G=W([U(0x0,_0x15b52f(_0x25d8d6)),U(0x1,_0x15b52f(_0x441a82))],G);const aa=[{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0xd9)],'icon':_0x16658a(0x2ce),'name':_0x16658a(0x35c)},{'group':'line','type':_0x579b63[_0x16658a(0x1f6)],'icon':_0x16658a(0xe7),'name':_0x16658a(0x12f),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1f6)],'icon':'ShapeStraightConnector2Icon','name':'docs-shape-ui.shape.type.straight-connector2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1fd)],'icon':_0x16658a(0x294),'name':_0x16658a(0x317)},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x1fd)],'icon':_0x16658a(0x281),'name':_0x16658a(0x3ad),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63['BentConnector3'],'icon':_0x16658a(0x13e),'name':_0x16658a(0xc5),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':_0x579b63['CurvedConnector3'],'icon':_0x16658a(0x2bb),'name':_0x16658a(0x23c)},{'group':_0x16658a(0x3b0),'type':_0x579b63['CurvedConnector3'],'icon':_0x16658a(0x2de),'name':_0x16658a(0x9c),'endArrow':!0x0},{'group':_0x16658a(0x3b0),'type':_0x579b63[_0x16658a(0x8b)],'icon':_0x16658a(0x23d),'name':_0x16658a(0x25f),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x16658a(0x107),'type':_0x579b63['Rect'],'icon':_0x16658a(0x169),'name':_0x16658a(0x7b)},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0x1c2)],'icon':_0x16658a(0x299),'name':'docs-shape-ui.shape.type.round-rect'},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0xbd)],'icon':_0x16658a(0x83),'name':_0x16658a(0x2a3)},{'group':_0x16658a(0x107),'type':_0x579b63['Snip2SameRect'],'icon':'ShapeSnip2SameRectIcon','name':'docs-shape-ui.shape.type.snip2-same-rect'},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0x159)],'icon':_0x16658a(0x141),'name':_0x16658a(0x390)},{'group':_0x16658a(0x107),'type':_0x579b63['SnipRoundRect'],'icon':_0x16658a(0x34c),'name':_0x16658a(0x160)},{'group':_0x16658a(0x107),'type':_0x579b63[_0x16658a(0xe6)],'icon':_0x16658a(0x90),'name':_0x16658a(0x17b)},{'group':_0x16658a(0x107),'type':_0x579b63['Round2SameRect'],'icon':'ShapeRound2SameRectIcon','name':_0x16658a(0x33d)},{'group':_0x16658a(0x107),'type':_0x579b63['Round2DiagRect'],'icon':'ShapeRound2DiagRectIcon','name':_0x16658a(0x146)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xc0)],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x16658a(0x380),'horizontal':!0x0},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xc0)],'icon':_0x16658a(0x1b0),'name':'docs-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x32c)],'icon':_0x16658a(0x194),'name':_0x16658a(0x305)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x178)],'icon':_0x16658a(0x12c),'name':_0x16658a(0x11d)},{'group':'basicShape','type':_0x579b63['RightTriangle'],'icon':_0x16658a(0x331),'name':_0x16658a(0x170)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x353)],'icon':_0x16658a(0xa0),'name':_0x16658a(0x285)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x22b)],'icon':'ShapeTrapezoidIcon','name':_0x16658a(0x2bd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2dc)],'icon':_0x16658a(0x2f4),'name':_0x16658a(0x172)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x379)],'icon':_0x16658a(0x2e4),'name':_0x16658a(0x259)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2d7)],'icon':_0x16658a(0x3c0),'name':'docs-shape-ui.shape.type.hexagon'},{'group':_0x16658a(0x358),'type':_0x579b63['Heptagon'],'icon':_0x16658a(0x3aa),'name':_0x16658a(0x10f)},{'group':_0x16658a(0x358),'type':_0x579b63['Octagon'],'icon':'ShapeOctagonIcon','name':_0x16658a(0x267)},{'group':_0x16658a(0x358),'type':_0x579b63['Decagon'],'icon':_0x16658a(0x143),'name':_0x16658a(0x261)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x166)],'icon':_0x16658a(0x17c),'name':_0x16658a(0x346)},{'group':_0x16658a(0x358),'type':_0x579b63['Pie'],'icon':'ShapePieIcon','name':_0x16658a(0xcd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x26b)],'icon':_0x16658a(0x397),'name':_0x16658a(0x386)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2b8)],'icon':_0x16658a(0x25a),'name':'docs-shape-ui.shape.type.teardrop'},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2ed)],'icon':_0x16658a(0x1e3),'name':_0x16658a(0x2aa)},{'group':'basicShape','type':_0x579b63['HalfFrame'],'icon':_0x16658a(0x389),'name':'docs-shape-ui.shape.type.half-frame'},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2fb)],'icon':'ShapeCornerIcon','name':_0x16658a(0x2d6)},{'group':_0x16658a(0x358),'type':_0x579b63['DiagStripe'],'icon':_0x16658a(0x1c8),'name':_0x16658a(0x3c1)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xaa)],'icon':_0x16658a(0x6d),'name':_0x16658a(0x28a)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x1c4)],'icon':'ShapePlaqueIcon','name':_0x16658a(0x290)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x17e)],'icon':'ShapeCanIcon','name':_0x16658a(0x2ae)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x130)],'icon':_0x16658a(0xa9),'name':'docs-shape-ui.shape.type.cube'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x38b)],'icon':_0x16658a(0x1c1),'name':'docs-shape-ui.shape.type.bevel'},{'group':_0x16658a(0x358),'type':_0x579b63['Donut'],'icon':_0x16658a(0x210),'name':_0x16658a(0x1ef)},{'group':'basicShape','type':_0x579b63['NoSmoking'],'icon':_0x16658a(0x131),'name':_0x16658a(0x38a)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xdc)],'icon':_0x16658a(0x3b2),'name':'docs-shape-ui.shape.type.block-arc'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x274)],'icon':'ShapeFolderCornerIcon','name':_0x16658a(0x371)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2b7)],'icon':_0x16658a(0x3a4),'name':_0x16658a(0x265)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x2a2)],'icon':_0x16658a(0x8e),'name':_0x16658a(0x20d)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x3a5)],'icon':_0x16658a(0x355),'name':_0x16658a(0xa4)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x25e)],'icon':'ShapeSunIcon','name':_0x16658a(0x1e2)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x103)],'icon':_0x16658a(0x29c),'name':_0x16658a(0x348)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xd2)],'icon':_0x16658a(0xef),'name':_0x16658a(0x32d)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0xea)],'icon':_0x16658a(0x233),'name':_0x16658a(0x351)},{'group':_0x16658a(0x358),'type':_0x579b63['BracketPair'],'icon':_0x16658a(0x1c9),'name':_0x16658a(0x3b4)},{'group':'basicShape','type':_0x579b63[_0x16658a(0x25b)],'icon':'ShapeBracePairIcon','name':'docs-shape-ui.shape.type.brace-pair'},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x1fe)],'icon':_0x16658a(0x255),'name':_0x16658a(0x3a0)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x2f9)],'icon':'ShapeRightBracketIcon','name':_0x16658a(0x73)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x182)],'icon':_0x16658a(0x253),'name':_0x16658a(0x1bd)},{'group':_0x16658a(0x358),'type':_0x579b63[_0x16658a(0x17f)],'icon':_0x16658a(0x82),'name':'docs-shape-ui.shape.type.right-brace'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x1c0)],'icon':_0x16658a(0x1c3),'name':_0x16658a(0x343)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x345)],'icon':_0x16658a(0x77),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x252)],'icon':'ShapeUpArrowIcon','name':_0x16658a(0x2a6)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x2a1)],'icon':_0x16658a(0x2cb),'name':_0x16658a(0x2c4)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x111)],'icon':_0x16658a(0x1af),'name':_0x16658a(0x163)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xa5)],'icon':'ShapeUpDownArrowIcon','name':_0x16658a(0x205)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x152)],'icon':_0x16658a(0x1fa),'name':'docs-shape-ui.shape.type.quad-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xd1)],'icon':'ShapeLeftRightUpArrowIcon','name':_0x16658a(0x89)},{'group':_0x16658a(0x2ca),'type':_0x579b63['BentArrow'],'icon':_0x16658a(0x203),'name':'docs-shape-ui.shape.type.bent-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63['UturnArrow'],'icon':'ShapeUturnArrowIcon','name':_0x16658a(0x1a1)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x232)],'icon':'ShapeLeftUpArrowIcon','name':_0x16658a(0x8d)},{'group':_0x16658a(0x2ca),'type':_0x579b63['BentUpArrow'],'icon':_0x16658a(0x177),'name':_0x16658a(0x322)},{'group':'blockArrow','type':_0x579b63['CurvedRightArrow'],'icon':_0x16658a(0x376),'name':_0x16658a(0xe0)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x3ae)],'icon':_0x16658a(0x242),'name':_0x16658a(0x3c3)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0xfb)],'icon':'ShapeCurvedUpArrowIcon','name':_0x16658a(0x14c)},{'group':_0x16658a(0x2ca),'type':_0x579b63['CurvedDownArrow'],'icon':_0x16658a(0x257),'name':_0x16658a(0x20a)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x10c)],'icon':'ShapeStripedRightArrowIcon','name':'docs-shape-ui.shape.type.striped-right-arrow'},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x98)],'icon':_0x16658a(0x1b9),'name':_0x16658a(0x2e8)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0xf2)],'icon':'ShapeHomePlateIcon','name':_0x16658a(0x225)},{'group':_0x16658a(0x2ca),'type':_0x579b63['Chevron'],'icon':_0x16658a(0x1ee),'name':_0x16658a(0x26e)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x14d)],'icon':_0x16658a(0x269),'name':_0x16658a(0xa6)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x1d3)],'icon':_0x16658a(0x14a),'name':_0x16658a(0x32f)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0x196)],'icon':'ShapeLeftArrowCalloutIcon','name':_0x16658a(0x110)},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x1e5)],'icon':_0x16658a(0x2af),'name':_0x16658a(0x158)},{'group':'blockArrow','type':_0x579b63['LeftRightArrowCallout'],'icon':_0x16658a(0x1a9),'name':'docs-shape-ui.shape.type.left-right-arrow-callout'},{'group':'blockArrow','type':_0x579b63[_0x16658a(0x304)],'icon':_0x16658a(0x1ac),'name':_0x16658a(0x33c)},{'group':_0x16658a(0x2ca),'type':_0x579b63[_0x16658a(0xee)],'icon':_0x16658a(0x2b1),'name':_0x16658a(0xc6)},{'group':_0x16658a(0x27e),'type':_0x579b63['MathPlus'],'icon':_0x16658a(0x251),'name':_0x16658a(0x37c)},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x13c)],'icon':'ShapeMathMinusIcon','name':_0x16658a(0x321)},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x19b)],'icon':_0x16658a(0x199),'name':_0x16658a(0x12e)},{'group':'equationShape','type':_0x579b63[_0x16658a(0x15f)],'icon':_0x16658a(0xec),'name':'docs-shape-ui.shape.type.math-divide'},{'group':_0x16658a(0x27e),'type':_0x579b63[_0x16658a(0x34a)],'icon':_0x16658a(0x17d),'name':_0x16658a(0x361)},{'group':_0x16658a(0x27e),'type':_0x579b63['MathNotEqual'],'icon':_0x16658a(0x341),'name':_0x16658a(0x38e)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x2d4)],'icon':_0x16658a(0x1b8),'name':'docs-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':_0x579b63[_0x16658a(0x11b)],'icon':_0x16658a(0x132),'name':_0x16658a(0x80)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x275)],'icon':'ShapeFlowChartDecisionIcon','name':_0x16658a(0x35f)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x20f)],'icon':'ShapeFlowChartInputOutputIcon','name':_0x16658a(0x2dd)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x28e)],'icon':_0x16658a(0x104),'name':_0x16658a(0xb8)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x36f)],'icon':_0x16658a(0x19a),'name':'docs-shape-ui.shape.type.flow-chart-internal-storage'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartDocument'],'icon':'ShapeFlowChartDocumentIcon','name':_0x16658a(0xd0)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x35d)],'icon':_0x16658a(0x12b),'name':_0x16658a(0x21d)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x1b5)],'icon':_0x16658a(0xa2),'name':_0x16658a(0x133)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartPreparation'],'icon':'ShapeFlowChartPreparationIcon','name':_0x16658a(0x9d)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartManualInput'],'icon':_0x16658a(0x25d),'name':_0x16658a(0x1b2)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x311)],'icon':_0x16658a(0x125),'name':_0x16658a(0x2f2)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartConnector'],'icon':_0x16658a(0x30e),'name':_0x16658a(0x29e)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x14b)],'icon':'ShapeFlowChartOffpageConnectorIcon','name':_0x16658a(0x1f4)},{'group':'flowchart','type':_0x579b63[_0x16658a(0x36b)],'icon':_0x16658a(0x308),'name':_0x16658a(0x128)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartPunchedTape'],'icon':_0x16658a(0x21a),'name':'docs-shape-ui.shape.type.flow-chart-punched-tape'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartSummingJunction'],'icon':_0x16658a(0x316),'name':_0x16658a(0x39f)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x8f)],'icon':_0x16658a(0xae),'name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartCollate'],'icon':_0x16658a(0x157),'name':_0x16658a(0x243)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x280)],'icon':_0x16658a(0xdf),'name':_0x16658a(0xe3)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x13b)],'icon':_0x16658a(0x394),'name':_0x16658a(0x2f5)},{'group':_0x16658a(0x310),'type':_0x579b63['FlowchartMerge'],'icon':_0x16658a(0x363),'name':_0x16658a(0xb7)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x1ad)],'icon':_0x16658a(0x3b9),'name':'docs-shape-ui.shape.type.flow-chart-online-storage'},{'group':'flowchart','type':_0x579b63[_0x16658a(0xaf)],'icon':_0x16658a(0x334),'name':_0x16658a(0xe4)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x2ad)],'icon':_0x16658a(0x365),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x329)],'icon':_0x16658a(0x27d),'name':_0x16658a(0x2c7)},{'group':_0x16658a(0x310),'type':_0x579b63[_0x16658a(0x387)],'icon':'ShapeFlowChartMagneticDrumIcon','name':_0x16658a(0x101)},{'group':'flowchart','type':_0x579b63[_0x16658a(0xb2)],'icon':_0x16658a(0xce),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x287)],'icon':_0x16658a(0x27f),'name':_0x16658a(0x118)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x148)],'icon':_0x16658a(0x29d),'name':_0x16658a(0x2fd)},{'group':_0x16658a(0x315),'type':_0x579b63['Star4'],'icon':_0x16658a(0x8a),'name':_0x16658a(0x271)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x336)],'icon':_0x16658a(0x16a),'name':_0x16658a(0x1ab)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x245)],'icon':_0x16658a(0x124),'name':_0x16658a(0x21c)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x30f)],'icon':_0x16658a(0x270),'name':'docs-shape-ui.shape.type.star7'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0xd8)],'icon':_0x16658a(0x11e),'name':_0x16658a(0x14e)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x1e9)],'icon':'ShapeStar10Icon','name':'docs-shape-ui.shape.type.star10'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x71)],'icon':_0x16658a(0x3bd),'name':_0x16658a(0x10d)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x332)],'icon':'ShapeStar16Icon','name':'docs-shape-ui.shape.type.star16'},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x32a)],'icon':_0x16658a(0x1de),'name':_0x16658a(0x325)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x1d0)],'icon':_0x16658a(0x31d),'name':_0x16658a(0x164)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x356)],'icon':'ShapeRibbon2Icon','name':_0x16658a(0x246)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x2ef)],'icon':_0x16658a(0x171),'name':_0x16658a(0xf5)},{'group':'starAndBanner','type':_0x579b63[_0x16658a(0x1d9)],'icon':_0x16658a(0x7f),'name':_0x16658a(0x165)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x190)],'icon':'ShapeEllipseRibbonIcon','name':_0x16658a(0x2e1)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x37d)],'icon':'ShapeVerticalScrollIcon','name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':'starAndBanner','type':_0x579b63['HorizontalScroll'],'icon':_0x16658a(0xe5),'name':_0x16658a(0x1b3)},{'group':_0x16658a(0x315),'type':_0x579b63[_0x16658a(0x167)],'icon':_0x16658a(0x18d),'name':_0x16658a(0x212)},{'group':'starAndBanner','type':_0x579b63['DoubleWave'],'icon':_0x16658a(0x91),'name':'docs-shape-ui.shape.type.double-wave'},{'group':'callout','type':_0x579b63[_0x16658a(0x201)],'icon':'ShapeWedgeRectCalloutIcon','name':_0x16658a(0x1ff)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x342)],'icon':_0x16658a(0x7d),'name':_0x16658a(0x362)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0xe1)],'icon':_0x16658a(0x26f),'name':'docs-shape-ui.shape.type.wedge-ellipse-callout'},{'group':_0x16658a(0xb6),'type':_0x579b63['CloudCallout'],'icon':_0x16658a(0x382),'name':_0x16658a(0xff)},{'group':_0x16658a(0xb6),'type':_0x579b63['BorderCallout1'],'icon':_0x16658a(0x97),'name':'docs-shape-ui.shape.type.border-callout1'},{'group':_0x16658a(0xb6),'type':_0x579b63['BorderCallout2'],'icon':'ShapeBorderCallout2Icon','name':_0x16658a(0x384)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x2e5)],'icon':'ShapeBorderCallout3Icon','name':'docs-shape-ui.shape.type.border-callout3'},{'group':'callout','type':_0x579b63['AccentCallout1'],'icon':_0x16658a(0x2e0),'name':_0x16658a(0x2e9)},{'group':_0x16658a(0xb6),'type':_0x579b63['AccentCallout2'],'icon':_0x16658a(0x366),'name':_0x16658a(0xd5)},{'group':'callout','type':_0x579b63[_0x16658a(0x2a7)],'icon':_0x16658a(0xc7),'name':_0x16658a(0x191)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x354)],'icon':_0x16658a(0x37b),'name':_0x16658a(0x312)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x155)],'icon':_0x16658a(0x94),'name':_0x16658a(0x19c)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x138)],'icon':_0x16658a(0x1bb),'name':_0x16658a(0x23a)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x207)],'icon':_0x16658a(0xd7),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':'callout','type':_0x579b63['AccentBorderCallout2'],'icon':_0x16658a(0x20e),'name':_0x16658a(0x119)},{'group':_0x16658a(0xb6),'type':_0x579b63[_0x16658a(0x1d7)],'icon':_0x16658a(0x1b6),'name':_0x16658a(0x1d6)},{'group':_0x16658a(0x21e),'type':_0x579b63['LeftCircularArrow'],'icon':_0x16658a(0x15a),'name':'docs-shape-ui.shape.type.left-circular-arrow'},{'group':_0x16658a(0x21e),'type':_0x579b63['LeftRightCircularArrow'],'icon':_0x16658a(0x24c),'name':'docs-shape-ui.shape.type.left-right-circular-arrow'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x1bc)],'icon':_0x16658a(0x2e7),'name':'docs-shape-ui.shape.type.swoosh-arrow'},{'group':'other','type':_0x579b63['LeftRightRibbon'],'icon':_0x16658a(0x106),'name':'docs-shape-ui.shape.type.left-right-ribbon'},{'group':_0x16658a(0x21e),'type':_0x579b63['PieWedge'],'icon':'ShapePieWedgeIcon','name':'docs-shape-ui.shape.type.pie-wedge'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x84)],'icon':'ShapeFunnelIcon','name':'docs-shape-ui.shape.type.funnel'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x28b)],'icon':_0x16658a(0x31c),'name':'docs-shape-ui.shape.type.gear6'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x263)],'icon':_0x16658a(0xbc),'name':_0x16658a(0x3c2)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x28c)],'icon':_0x16658a(0x184),'name':_0x16658a(0x29b)},{'group':'other','type':_0x579b63[_0x16658a(0x9a)],'icon':_0x16658a(0x350),'name':_0x16658a(0x175)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x279)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x16658a(0x202)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x10e)],'icon':_0x16658a(0x2e6),'name':_0x16658a(0x27b)},{'group':'other','type':_0x579b63[_0x16658a(0x396)],'icon':_0x16658a(0x326),'name':_0x16658a(0x2c3)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x1bf)],'icon':_0x16658a(0x187),'name':_0x16658a(0x22a)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x347)],'icon':_0x16658a(0x179),'name':_0x16658a(0x224)},{'group':'other','type':_0x579b63[_0x16658a(0x1ca)],'icon':_0x16658a(0xb5),'name':_0x16658a(0x156)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x399)],'icon':_0x16658a(0xdb),'name':'docs-shape-ui.shape.type.action-button-movie'},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x340)],'icon':_0x16658a(0x272),'name':_0x16658a(0xe2)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x339)],'icon':_0x16658a(0x1d8),'name':_0x16658a(0x22e)},{'group':_0x16658a(0x21e),'type':_0x579b63['ActionButtonHelp'],'icon':_0x16658a(0x120),'name':_0x16658a(0x258)},{'group':'other','type':_0x579b63[_0x16658a(0x333)],'icon':_0x16658a(0x330),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':'other','type':_0x579b63[_0x16658a(0x223)],'icon':'ShapeChartPlusIcon','name':_0x16658a(0x142)},{'group':_0x16658a(0x21e),'type':_0x579b63['ChartStar'],'icon':_0x16658a(0x39d),'name':_0x16658a(0x2ab)},{'group':'other','type':_0x579b63['ChartX'],'icon':_0x16658a(0x1ed),'name':_0x16658a(0x168)},{'group':_0x16658a(0x21e),'type':_0x579b63['FlowChartOfflineStorage'],'icon':'ShapeFlowChartOfflineStorageIcon','name':'docs-shape-ui.shape.type.flow-chart-offline-storage'},{'group':_0x16658a(0x21e),'type':_0x579b63['LineInv'],'icon':'ShapeLineInvIcon','name':_0x16658a(0xca)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x6f)],'icon':_0x16658a(0x188),'name':_0x16658a(0x2be)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x3b7)],'icon':'ShapeSquareTabsIcon','name':_0x16658a(0x2ec)},{'group':_0x16658a(0x21e),'type':_0x579b63[_0x16658a(0x218)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x16658a(0x228)},{'group':'other','type':_0x579b63[_0x16658a(0x176)],'icon':'ShapeNonIsoscelesTrapezoidIcon','name':_0x16658a(0x34b)}],oa=_0x16658a(0x1d2);function sa({onShapeClick:_0x210b88,excludeGroups:_0x3a5663}){const _0x50fada=_0x16658a;let _0x12c3bb=_0x4451a1(_0x4cdcfe),_0x2ac88f=_0x4451a1(_0x2d714f),_0xafa46c=(_0x3a5663?aa[_0x50fada(0x2fe)](_0x3e578c=>!_0x3a5663[_0x50fada(0x22c)](_0x3e578c[_0x50fada(0x23e)])):aa)[_0x50fada(0xc8)]((_0x4bbeca,_0xa278e)=>(_0x4bbeca[_0xa278e[_0x50fada(0x23e)]]||(_0x4bbeca[_0xa278e['group']]=[]),_0x4bbeca[_0xa278e[_0x50fada(0x23e)]][_0x50fada(0x2f3)](_0xa278e),_0x4bbeca),{});return _0x44fa53('div',{'className':_0x50fada(0x2d3),'children':Object[_0x50fada(0x1dd)](_0xafa46c)[_0x50fada(0x375)](([_0x541977,_0x1ce760])=>_0x40634d(_0x50fada(0x174),{'className':_0x50fada(0x1df),'children':[_0x44fa53(_0x50fada(0x174),{'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':_0x12c3bb['t'](_0x50fada(0x1dc)+_0x541977)}),_0x44fa53('div',{'className':_0x50fada(0x370),'children':_0x1ce760[_0x50fada(0x375)](_0x501752=>{const _0x859596=_0x50fada;let _0xcd9cdc=_0x2ac88f[_0x859596(0x250)](_0x501752[_0x859596(0x237)]);return _0x44fa53(_0x859596(0x174),{'title':_0x12c3bb['t'](_0x501752['name']),'onClick':()=>_0x210b88(_0x501752),'className':_0x859596(0x39c),'children':_0xcd9cdc&&_0x44fa53(_0xcd9cdc,{'className':_0x859596(0x244)})},_0x501752[_0x859596(0x7a)]);})})]},_0x541977))});}function ca(){const _0x3382b1=_0x16658a;let _0x1bb58e=_0x4451a1(_0x4cdcfe),_0x17e415=_0x4451a1(_0x441a82),_0x137dc4=_0x4451a1(G),[_0x3dd51c,_0x20610b]=_0x247e81(!0x1);return _0x44fa53(_0x440415,{'side':_0x3382b1(0xfc),'open':_0x3dd51c,'onOpenChange':_0x20610b,'overlay':_0x44fa53(sa,{'onShapeClick':_0x217db5=>{const _0x42a05a=_0x3382b1;let _0x596565=_0x17e415[_0x42a05a(0x102)]()[_0x42a05a(0x1e0)](_0xb1d275=>_0xb1d275[_0x42a05a(0x37f)]===_0x1ec8b5[_0x42a05a(0x18e)]);if(!_0x596565)return;let {unitId:_0xa51213,subUnitId:_0xaa162d,drawingId:_0x1551ff}=_0x596565;_0x137dc4[_0x42a05a(0x86)](_0xa51213,_0xaa162d,_0x1551ff,_0x217db5[_0x42a05a(0x229)]),_0x20610b(!0x1);},'excludeGroups':['line']}),'children':_0x44fa53(_0x548ee1,{'children':_0x1bb58e['t'](_0x3382b1(0xb0))})});}function la({paragraphMenuPlacement:_0x7bcdd6}){let _0x522f1a=_0x4451a1(_0x44ffa4);return _0x44fa53(sa,{'onShapeClick':_0x5eb3a4=>{const _0x3b449b=_0x4c8b;_0x522f1a[_0x3b449b(0x204)](B['id'],{'paragraphMenuPlacement':_0x7bcdd6,'value':_0x5eb3a4[_0x3b449b(0x229)],'enhanceParams':{'endArrow':_0x5eb3a4[_0x3b449b(0x327)],'startArrow':_0x5eb3a4[_0x3b449b(0xcf)],'horizontal':_0x5eb3a4[_0x3b449b(0x372)],'vertical':_0x5eb3a4['vertical']}});}});}function ua(_0x52ed54){const _0x2bae7a=_0x16658a;return _0x2257b1=>({'id':B['id'],'type':_0x3e142a['SELECTOR'],'selections':[{'label':{'name':oa,'hoverable':!0x1,'selectable':!0x1,'props':_0x52ed54?{'id':B['id'],'paragraphMenuPlacement':_0x52ed54}:{'id':B['id']}}}],'icon':'ShapeIcon','title':_0x2bae7a(0x1f0),'tooltip':_0x2bae7a(0x1f0),'hidden$':_0x317481(_0x2257b1,_0x3e815f[_0x2bae7a(0x2a0)])});}const da=ua(),fa=ua(_0x16658a(0x364)),pa=ua('target'),ma={[_0x33e92f[_0x16658a(0xa3)]]:{[B['id']]:{'order':0x4,'menuItemFactory':da}},[_0x5efae2[_0x16658a(0x235)]]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[_0x32bef1]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x48c6d2]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':fa}}},[_0x4144a1]:{[_0x1e7d95[_0x16658a(0xa1)]]:{[B['id']]:{'replace':!0x0,'order':0x8,'menuItemFactory':pa}}},[_0x53684d]:{'insert':{[B['id']]:{'replace':!0x0,'order':0x2,'menuItemFactory':da}}},[_0x596bfe]:{'insert':{[B['id']+'.below']:{'replace':!0x0,'order':0x2,'menuItemFactory':fa}}}}};function K(_0x71030){'@babel/helpers - typeof';const _0x381ede=_0x16658a;return K=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x381ede(0x2cc)?function(_0x15be69){return typeof _0x15be69;}:function(_0x59d05f){const _0x188cc4=_0x381ede;return _0x59d05f&&typeof Symbol==_0x188cc4(0x10b)&&_0x59d05f['constructor']===Symbol&&_0x59d05f!==Symbol[_0x188cc4(0x2d8)]?'symbol':typeof _0x59d05f;},K(_0x71030);}function ha(_0x43a0d2,_0x3f3d84){const _0x2b48ae=_0x16658a;if(K(_0x43a0d2)!='object'||!_0x43a0d2)return _0x43a0d2;var _0x3f2c44=_0x43a0d2[Symbol[_0x2b48ae(0x301)]];if(_0x3f2c44!==void 0x0){var _0x52d8b7=_0x3f2c44[_0x2b48ae(0x264)](_0x43a0d2,_0x3f3d84||_0x2b48ae(0x319));if(K(_0x52d8b7)!=_0x2b48ae(0x33b))return _0x52d8b7;throw TypeError(_0x2b48ae(0x25c));}return(_0x3f3d84===_0x2b48ae(0x1a4)?String:Number)(_0x43a0d2);}function ga(_0x4d721f){const _0x2c7f74=_0x16658a;var _0x34cf4e=ha(_0x4d721f,_0x2c7f74(0x1a4));return K(_0x34cf4e)==_0x2c7f74(0x2cc)?_0x34cf4e:_0x34cf4e+'';}function q(_0x5dc134,_0x27f48d,_0x1cd750){const _0x30f048=_0x16658a;return(_0x27f48d=ga(_0x27f48d))in _0x5dc134?Object[_0x30f048(0x1e1)](_0x5dc134,_0x27f48d,{'value':_0x1cd750,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5dc134[_0x27f48d]=_0x1cd750,_0x5dc134;}var J=class extends _0x1e2586{constructor(..._0x490516){const _0x56dc4f=_0x16658a;super(..._0x490516),q(this,_0x56dc4f(0x282),new _0x55e024(null)),q(this,_0x56dc4f(0x13a),this['_editingParams$'][_0x56dc4f(0x2c2)]()),q(this,_0x56dc4f(0x9f),new _0x55e024(!0x1)),q(this,_0x56dc4f(0x391),this[_0x56dc4f(0x9f)][_0x56dc4f(0x2c2)]());}[_0x16658a(0x2f1)](){const _0x112fb1=_0x16658a;this[_0x112fb1(0x282)]['next'](null),this[_0x112fb1(0x282)][_0x112fb1(0xfd)](),this['_onSavingEditorData$'][_0x112fb1(0x213)](!0x1),this[_0x112fb1(0x9f)][_0x112fb1(0xfd)](),super[_0x112fb1(0x2f1)]();}[_0x16658a(0x335)](_0x49028b){const _0x21d8c4=_0x16658a;this[_0x21d8c4(0x282)][_0x21d8c4(0x213)](_0x49028b),_0x49028b==null&&this[_0x21d8c4(0x9f)][_0x21d8c4(0x213)](!0x1);}[_0x16658a(0x195)](_0x48d3cc){const _0x15564e=_0x16658a;this['_onSavingEditorData$'][_0x15564e(0x213)](_0x48d3cc);}[_0x16658a(0x2c9)](){return this['_editingParams$']['getValue']();}};function _a(_0x2bd95e,_0x48b460,_0x3e32f3,_0x2ab4c8,_0x146c3a,_0x2032d6){const _0x2a16e9=_0x16658a;let _0x2b08e2={'unitId':_0x48b460,'shapeId':_0x2ab4c8,'shapeData':_0x2032d6,'oldShapeJSON':_0x146c3a};return _0x2bd95e[_0x2a16e9(0x204)](_0x5ad227['id'],_0x2b08e2);}function va(_0x245e7c,_0x227faf,_0x5bd672,_0xa93fa3,_0x5ce30b,_0x5b29cb){const _0x2618a6=_0x16658a;let _0x4960fe={'unitId':_0x227faf,'shapeId':_0xa93fa3,'shapeData':_0x5b29cb,'oldShapeJSON':_0x5ce30b};return _0x245e7c[_0x2618a6(0x204)](_0x5ad227['id'],_0x4960fe);}const ya='doc.shape.floating-toolbar';function ba(_0x483557){const _0x1097c7=_0x16658a;let _0x2e25b0=_0x483557[_0x1097c7(0x116)];return _0x2e25b0&&_0x1097c7(0x139)in _0x2e25b0&&_0x2e25b0['dataModel']?_0x2e25b0[_0x1097c7(0x139)]:null;}function xa(_0x11889d){const _0x4ddeaf=_0x16658a;var _0x5f2785,_0x218eea,_0x2cb334,_0x54726d;let _0x1743c7=(_0x5f2785=ba(_0x11889d))==null?void 0x0:_0x5f2785[_0x4ddeaf(0x1a8)],_0x3c163f=(_0x218eea=_0x1743c7==null||(_0x2cb334=_0x1743c7[_0x4ddeaf(0x15b)])==null||(_0x2cb334=_0x2cb334[_0x4ddeaf(0x2cd)])==null||(_0x2cb334=_0x2cb334[0x0])==null?void 0x0:_0x2cb334['ts'])==null?{}:_0x218eea;return{..._0x1743c7==null||(_0x54726d=_0x1743c7[_0x4ddeaf(0x12d)])==null?void 0x0:_0x54726d['textStyle'],..._0x3c163f};}function Sa(_0x201281,_0x3daebb){const _0x4c5ed5=_0x16658a;var _0x4a8a8c;let _0x1dd618=_0x201281==null||(_0x4a8a8c=_0x201281[_0x4c5ed5(0x349)]()[_0x4c5ed5(0x283)])==null?void 0x0:_0x4a8a8c[_0x3daebb];return _0x1dd618?_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57['WRAP_NONE']?_0x1dd618[_0x4c5ed5(0x2a8)]===_0x26d619['TRUE']?'behindText':_0x4c5ed5(0x1aa):_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57['WRAP_SQUARE']?_0x4c5ed5(0x7e):_0x1dd618[_0x4c5ed5(0x30b)]===_0x1bec57[_0x4c5ed5(0x3be)]?'wrapTopAndBottom':_0x4c5ed5(0x39b):'inline';}function Ca(_0xd087e3){const _0x1cfca9=_0x16658a;var _0x3d4863,_0xa86026,_0x4990b6;let _0xff7e4e=_0xd087e3[_0x1cfca9(0xf8)][_0x1cfca9(0x36d)],_0x3caf9a=_0x4451a1(_0x44ffa4),_0x4fac01=_0x4451a1(_0x4cdcfe),_0x50dc46=_0x4451a1(_0x24d037),_0x58141c=_0x4451a1(_0x236f41),_0x41d21b=_0x4451a1(_0x4d3925),{unitId:_0x5114f5,subUnitId:_0x25a149,drawingId:_0x137318,shapeType:_0x5cfb36}=_0xff7e4e,[_0x17b101,_0x376aa7]=_0x247e81(_0xff7e4e[_0x1cfca9(0x136)]),[_0x3b9f13,_0x5b56a5]=_0x247e81(()=>_0x41d21b[_0x1cfca9(0x2bc)]()),_0x1e181f=(_0x3d4863=_0x58141c['getUnit'](_0x5114f5,_0x3e815f[_0x1cfca9(0x2a0)]))==null?void 0x0:_0x3d4863,[_0x907fc8,_0x3c8465]=_0x247e81(()=>Sa(_0x1e181f,_0x137318)),_0x1a28b6=_0x21d7e4(()=>xa(_0x17b101),[_0x17b101]),_0x3f3efc=_0x21d7e4(()=>ba(_0x17b101),[_0x17b101]);_0x53c466(()=>{const _0x3ec9ec=_0x1cfca9;let _0x1c0661=_0x3caf9a['onCommandExecuted'](_0x4b8dc3=>{const _0x41ceac=_0x4c8b;if(_0x4b8dc3['id']!==_0x525b71['id'])return;let _0x17ac37=_0x50dc46[_0x41ceac(0x87)](_0x5114f5,_0x25a149,_0x137318);_0x17ac37&&_0x376aa7(_0x17ac37);});return()=>_0x1c0661[_0x3ec9ec(0x2f1)]();},[_0x3caf9a,_0x50dc46,_0x137318,_0x25a149,_0x5114f5]),_0x53c466(()=>{const _0x3138aa=_0x1cfca9;let _0x24b361=_0x41d21b['fonts$']['subscribe'](_0x3684cb=>{_0x5b56a5(_0x3684cb);});return()=>_0x24b361[_0x3138aa(0x1fb)]();},[_0x41d21b]);let _0x301aa8=_0x4f25d0=>{_0x376aa7(_0x4f8fb6=>({..._0x4f8fb6,..._0x4f25d0}));},_0x1947e0=_0x60ded7=>{const _0x2d5e64=_0x1cfca9;let _0x23c5b9=_0x19c78f(_0x17b101,_0x60ded7);_a(_0x3caf9a,_0x5114f5,_0x25a149,_0x137318,{'oldShapeData':{'shapeText':_0x17b101[_0x2d5e64(0x116)]}},_0x23c5b9),_0x301aa8(_0x23c5b9);},_0x257ae0=_0x4cb08e=>{const _0xf92af4=_0x1cfca9;_0x3c8465(_0x4cb08e),_0x3caf9a['executeCommand'](_0xf92af4(0x2b0),{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawings':[{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318}],'wrappingStyle':_0x4cb08e});},_0x139e1d=_0x3b9f13['map'](_0x11a1d9=>({'label':_0x4fac01['t'](_0x11a1d9[_0x1cfca9(0x18b)]),'value':_0x11a1d9[_0x1cfca9(0xf0)]})),_0x4e854f=[{'label':_0x4fac01['t']('docs-shape-ui.textWrap.inline'),'value':_0x1cfca9(0x39b),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.square'),'value':_0x1cfca9(0x7e),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.topAndBottom'),'value':'wrapTopAndBottom','icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t'](_0x1cfca9(0x140)),'value':_0x1cfca9(0x19d),'icon':_0x44fa53(_0x46c592,{})},{'label':_0x4fac01['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x1cfca9(0x1aa),'icon':_0x44fa53(_0x46c592,{})}];return _0x44fa53(_0x34828e,{'shapeData':_0x17b101,'shapeType':_0x5cfb36,'textStyle':{'cl':{'rgb':_0x1cfca9(0x3a9)},..._0x1a28b6},'textModel':_0x3f3efc?{'ha':(_0xa86026=_0x3f3efc['ha'])==null?_0x3dd034[_0x1cfca9(0x2b4)]:_0xa86026,'va':(_0x4990b6=_0x3f3efc['va'])==null?_0x55788f[_0x1cfca9(0x1cc)]:_0x4990b6}:null,'fontOptions':_0x139e1d,'wrappingStyle':_0x907fc8,'wrappingStyleOptions':_0x4e854f,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x2c194c,_0x2437d5)=>{_a(_0x3caf9a,_0x5114f5,_0x25a149,_0x137318,_0x2c194c,_0x2437d5),_0x2437d5&&_0x301aa8(_0x2437d5);},'onUpdateText':_0x1947e0,'onUpdateWrappingStyle':_0x27f8c6=>_0x257ae0(_0x27f8c6),'onOpenPanel':()=>{_0x3caf9a['executeCommand'](V['id'],{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318});},'onDelete':()=>{const _0x3c596e=_0x1cfca9;_0x3caf9a[_0x3c596e(0x204)](_0xf44785['id'],{'unitId':_0x5114f5,'drawings':[{'unitId':_0x5114f5,'subUnitId':_0x25a149,'drawingId':_0x137318}]});}});}let Y=class extends _0x1e2586{constructor(_0x445cd4,_0x1af157,_0x3d09ea,_0x30c125,_0x40b05e,_0x552474,_0x574348,_0x1e391e,_0x46df9f,_0xc8fc21,_0x4f38f7){const _0x52df55=_0x16658a;super(),this[_0x52df55(0x8c)]=_0x445cd4,this[_0x52df55(0x96)]=_0x1af157,this['_menuManagerService']=_0x3d09ea,this[_0x52df55(0x378)]=_0x30c125,this['_localeService']=_0x40b05e,this[_0x52df55(0x313)]=_0x552474,this['_drawingManagerService']=_0x574348,this[_0x52df55(0xb3)]=_0x1e391e,this[_0x52df55(0xdd)]=_0x46df9f,this[_0x52df55(0xad)]=_0xc8fc21,this[_0x52df55(0x309)]=_0x4f38f7,q(this,'_sidebarDisposable',null),q(this,_0x52df55(0x31b),null),q(this,_0x52df55(0x17a),!0x1),q(this,'_shapeEditPanelVersion',0x0),q(this,'_initializedShapePopupMenu',new Set()),q(this,_0x52df55(0x1eb),[]),this[_0x52df55(0x16f)](),this['disposeWithMe'](this[_0x52df55(0x8c)]['getCurrentTypeOfUnit$'](_0x3e815f[_0x52df55(0x2a0)])[_0x52df55(0x1d5)](_0x45217e=>{const _0x17a35a=_0x52df55;if(!_0x45217e){var _0x42b3fd;(_0x42b3fd=this[_0x17a35a(0x1a6)])==null||_0x42b3fd[_0x17a35a(0x2f1)]();return;}this[_0x17a35a(0x1f5)](_0x45217e);})),this[_0x52df55(0x300)](),this[_0x52df55(0x11a)](),this[_0x52df55(0x28d)](this[_0x52df55(0x309)][_0x52df55(0x13a)][_0x52df55(0x1d5)](_0x464d46=>{const _0x2577c0=_0x52df55;_0x464d46&&this[_0x2577c0(0x112)]();}));}[_0x16658a(0x16f)](){const _0x306a8c=_0x16658a;this['_menuManagerService'][_0x306a8c(0x383)](ma);}[_0x16658a(0x11a)](){const _0x1e67a8=_0x16658a;this['_univerInstanceService'][_0x1e67a8(0x1d1)](_0x3e815f['UNIVER_DOC'])[_0x1e67a8(0x122)](_0x14c041=>this['_createShapePopupMenu'](_0x14c041));}[_0x16658a(0x39e)](_0x59d71d,_0x1bbc6c,_0x23060b,_0x420187){const _0xd70f37=_0x16658a;return[{'label':_0xd70f37(0x135),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b},'disable':_0x420187===_0x1ec8b5[_0xd70f37(0x11f)]},{'label':_0xd70f37(0x314),'index':0x1,'commandId':_0xf44785['id'],'commandParams':{'unitId':_0x59d71d,'drawings':[{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':ra['id'],'commandParams':{'unitId':_0x59d71d,'subUnitId':_0x1bbc6c,'drawingId':_0x23060b},'disable':!0x1}];}[_0x16658a(0xfa)](_0x3facd8,_0x2f589b,_0x4fa92b){const _0x21c2e5=_0x16658a;let _0x5d5c68=this[_0x21c2e5(0x378)]['getShapeTypeById'](_0x3facd8,_0x2f589b,_0x4fa92b),_0x5d62b8=this[_0x21c2e5(0x378)][_0x21c2e5(0x87)](_0x3facd8,_0x2f589b,_0x4fa92b);return _0x5d5c68!==void 0x0&&_0x5d62b8!==void 0x0?{'shapeData':_0x5d62b8,'shapeId':_0x4fa92b,'shapeType':_0x5d5c68,'unitId':_0x3facd8,'subUnitId':_0x2f589b,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0x1d6d4f){const _0x5737d4=_0x16658a;if(!_0x1d6d4f)return;let _0x37c4fe=_0x1d6d4f[_0x5737d4(0x6b)]();this[_0x5737d4(0xdd)][_0x5737d4(0xd3)](_0x37c4fe)&&!this[_0x5737d4(0xcb)][_0x5737d4(0xd3)](_0x37c4fe)&&(this[_0x5737d4(0x344)](_0x37c4fe),this['_initializedShapePopupMenu'][_0x5737d4(0x2fc)](_0x37c4fe));}['_clearPopups'](){const _0x5c2a7c=_0x16658a;this['_disposePopups']['forEach'](_0x581a05=>_0x581a05['dispose']()),this[_0x5c2a7c(0x1eb)][_0x5c2a7c(0x3b8)]=0x0;}[_0x16658a(0x344)](_0x4f30b0){const _0x11ae1c=_0x16658a;var _0x4baf4c;let _0x2d92c8=(_0x4baf4c=this['_renderManagerService']['getRenderById'](_0x4f30b0))==null?void 0x0:_0x4baf4c[_0x11ae1c(0xd4)],_0x321a2c=_0x2d92c8==null?void 0x0:_0x2d92c8[_0x11ae1c(0x234)]();!_0x2d92c8||!_0x321a2c||(this[_0x11ae1c(0x28d)](_0x321a2c[_0x11ae1c(0xb1)]['subscribe'](()=>{const _0x2e62b2=_0x11ae1c;let _0x2113fc=_0x321a2c[_0x2e62b2(0x262)]();if(this['_clearPopups'](),this[_0x2e62b2(0x17a)]||_0x2113fc[_0x2e62b2(0x352)]>0x1)return;let _0x241438=_0x2113fc['values']()[_0x2e62b2(0x213)]()[_0x2e62b2(0xf0)];if(!_0x241438)return;let _0x5ec556=this[_0x2e62b2(0x2ff)][_0x2e62b2(0x1cd)](_0x241438[_0x2e62b2(0x220)]);if(!_0x5ec556||_0x5ec556[_0x2e62b2(0x37f)]!==_0x1ec8b5[_0x2e62b2(0x2b5)])return;let {unitId:_0x422e75,subUnitId:_0x4da130,drawingId:_0x534b8d,drawingType:_0x325c81}=_0x5ec556,_0x2f6c73=this['_getShapeInfo'](_0x422e75,_0x4da130,_0x534b8d);if(!_0x2f6c73)return;let _0x5c6f04=this['_docCanvasPopManagerService'][_0x2e62b2(0x3b5)](_0x241438,{'componentKey':ya,'direction':_0x2e62b2(0x2ee),'offset':[0x0,0x8],'extraProps':{'unitId':_0x422e75,'subUnitId':_0x4da130,'drawingId':_0x534b8d,'drawingType':_0x325c81,'shapeType':_0x2f6c73[_0x2e62b2(0x208)],'shapeData':_0x2f6c73['shapeData']}},_0x422e75);this[_0x2e62b2(0x1eb)][_0x2e62b2(0x2f3)](this[_0x2e62b2(0x28d)](_0x5c6f04)),this[_0x2e62b2(0x2ff)][_0x2e62b2(0x102)]()[_0x2e62b2(0x1e0)](_0x56b3b7=>_0x56b3b7[_0x2e62b2(0x392)]===_0x422e75&&_0x56b3b7['subUnitId']===_0x4da130&&_0x56b3b7['drawingId']===_0x534b8d)||this[_0x2e62b2(0x2ff)][_0x2e62b2(0x36a)]([{'unitId':_0x422e75,'subUnitId':_0x4da130,'drawingId':_0x534b8d}]);})),this[_0x11ae1c(0x28d)](_0x321a2c['clearControl$'][_0x11ae1c(0x1d5)](()=>{const _0x3f7015=_0x11ae1c;this['_clearPopups'](),this[_0x3f7015(0xad)][_0x3f7015(0x15e)](_0x14aa69,!0x1),this['_drawingManagerService']['focusDrawing'](null);})),this['disposeWithMe'](_0x321a2c[_0x11ae1c(0x198)][_0x11ae1c(0x1d5)](()=>{const _0x2d095c=_0x11ae1c;this[_0x2d095c(0x112)]();})),this[_0x11ae1c(0x28d)](_0x321a2c[_0x11ae1c(0x108)][_0x11ae1c(0x1d5)](()=>{this['_clearPopups']();})));}['_registerOperations'](){const _0xb8465d=_0x16658a;this[_0xb8465d(0x28d)](this[_0xb8465d(0x313)][_0xb8465d(0x338)](_0x35834f=>{const _0x5194d6=_0xb8465d;if(_0x35834f['id']===V['id']){let {unitId:_0x233b61,subUnitId:_0x226c83,drawingId:_0x570e19}=_0x35834f[_0x5194d6(0x99)];this['_shapeEditPanelVersion']+=0x1,this[_0x5194d6(0x31b)]=this[_0x5194d6(0xfa)](_0x233b61,_0x226c83,_0x570e19),this[_0x5194d6(0x112)](),this[_0x5194d6(0x15c)]();}if(_0x35834f['id']===ra['id']&&(this[_0x5194d6(0x31b)]=null,this[_0x5194d6(0x35e)]()),_0x35834f['id']===_0x525b71['id']){let {unitId:_0x35147b,shapeId:_0x5b84bb}=_0x35834f[_0x5194d6(0x99)];if(this[_0x5194d6(0x31b)]&&this['_activeShapeInfo'][_0x5194d6(0x123)]===_0x5b84bb){let _0x4639f2=this['_getShapeInfo'](_0x35147b,this[_0x5194d6(0x31b)][_0x5194d6(0x183)],_0x5b84bb);_0x4639f2&&(this['_shapeEditPanelVersion']+=0x1,_0x4639f2[_0x5194d6(0x28f)]=this['_shapeEditPanelVersion'],this['_activeShapeInfo']=_0x4639f2,this['_isOpenedShapeEditPanel']&&this[_0x5194d6(0x15c)]());}}})),this['disposeWithMe'](this[_0xb8465d(0x2ff)][_0xb8465d(0x1f9)]['subscribe'](_0x3a071c=>{const _0x533310=_0xb8465d;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3a071c[_0x533310(0x3b8)]===0x0){this[_0x533310(0x31b)]=null,this[_0x533310(0x35e)]();return;}if(_0x3a071c[_0x533310(0x3b8)]===0x1&&_0x3a071c[0x0][_0x533310(0x37f)]===_0x1ec8b5['DRAWING_SHAPE']&&(this[_0x533310(0x29f)]+=0x1,this['_activeShapeInfo']=this[_0x533310(0xfa)](_0x3a071c[0x0][_0x533310(0x392)],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this['_activeShapeInfo'])){this['_openShapeEditPanel']();return;}let _0x331355=_0x3a071c[_0x533310(0x2fe)](_0x2c8dfb=>_0x2c8dfb[_0x533310(0x37f)]===_0x1ec8b5[_0x533310(0x2b5)]);if(_0x3a071c[_0x533310(0x3b8)]>0x1&&_0x331355[_0x533310(0x3b8)]===_0x3a071c[_0x533310(0x3b8)]){if(this[_0x533310(0x29f)]+=0x1,this[_0x533310(0x31b)]=this['_getShapeInfo'](_0x3a071c[0x0][_0x533310(0x392)],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this['_activeShapeInfo']){this[_0x533310(0x15c)]();return;}}else{if(this[_0x533310(0x29f)]+=0x1,this[_0x533310(0x31b)]=this[_0x533310(0xfa)](_0x3a071c[0x0]['unitId'],_0x3a071c[0x0][_0x533310(0x183)],_0x3a071c[0x0][_0x533310(0x109)]),this[_0x533310(0x31b)]){this[_0x533310(0x31b)]['disableShapeOption']=!0x0,this[_0x533310(0x15c)]();return;}}this['_closeShapeEditPanel']();}));}[_0x16658a(0x15c)](){const _0x535ae8=_0x16658a;this[_0x535ae8(0x31b)]&&(this[_0x535ae8(0x1a6)]=this[_0x535ae8(0x96)]['open']({'id':H,'header':{'title':this[_0x535ae8(0x240)]['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':H,...this[_0x535ae8(0x31b)]},'onClose':()=>{const _0xd29e4=_0x535ae8;this['_drawingManagerService'][_0xd29e4(0x36a)](null),this[_0xd29e4(0xad)]['setContextValue'](_0x14aa69,!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x16658a(0x35e)](){const _0x525c8e=_0x16658a;this[_0x525c8e(0x17a)]=!0x1,this[_0x525c8e(0x96)]['close'](H),this['_sidebarDisposable']=null,this['_contextService'][_0x525c8e(0x15e)](_0x14aa69,!0x1),this[_0x525c8e(0x2ff)][_0x525c8e(0x36a)](null);}};Y=W([U(0x0,_0x236f41),U(0x1,_0x15b52f(_0x30f27e)),U(0x2,_0x59d4d1),U(0x3,_0x15b52f(_0x24d037)),U(0x4,_0x15b52f(_0x4cdcfe)),U(0x5,_0x44ffa4),U(0x6,_0x441a82),U(0x7,_0x15b52f(_0x3f84e2)),U(0x8,_0x2e40c6),U(0x9,_0x8b2d1e),U(0xa,_0x15b52f(J))],Y);var wa=_0x16658a(0x239),Ta=_0x16658a(0x324);const Ea={};function Da(_0x1478f0){const _0x180b6=_0x16658a;var _0x517e65,_0x2c8dcf,_0x49abe0,_0x503593;let _0x43a98b=(_0x517e65=(_0x2c8dcf=_0x1478f0[_0x180b6(0x15b)])==null||(_0x2c8dcf=_0x2c8dcf[_0x180b6(0x2f0)])==null?void 0x0:_0x2c8dcf[_0x180b6(0x3b8)])==null?0x0:_0x517e65,_0x48337e=(_0x49abe0=_0x1478f0[_0x180b6(0x15b)])==null?void 0x0:_0x49abe0[_0x180b6(0x206)];if(_0x48337e!=null&&_0x48337e['length'])for(let _0x1cde2d of _0x48337e){var _0x2a38bd;_0x1cde2d['gridType']=(_0x2a38bd=_0x1cde2d[_0x180b6(0x2b6)])==null?_0x221af7['DEFAULT']:_0x2a38bd;}else _0x1478f0[_0x180b6(0x15b)]&&(_0x1478f0[_0x180b6(0x15b)]['sectionBreaks']=[{'startIndex':Math[_0x180b6(0xba)](0x0,_0x43a98b-0x1),'gridType':_0x221af7[_0x180b6(0x31f)]}]);let _0xb97825=(_0x503593=_0x1478f0[_0x180b6(0x15b)])==null?void 0x0:_0x503593[_0x180b6(0x3bc)];if(_0xb97825)for(let _0x499ee5 of _0xb97825){var _0x2b7dc5,_0x85676f,_0x406fe6,_0x18253d,_0x1a8e10,_0x3bca3e,_0x4db34e,_0x23041f;_0x499ee5['paragraphStyle']={..._0x499ee5['paragraphStyle'],'lineSpacing':(_0x2b7dc5=(_0x85676f=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x85676f[_0x180b6(0x2f6)])==null?0x1:_0x2b7dc5,'snapToGrid':(_0x406fe6=(_0x18253d=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x18253d[_0x180b6(0x1e7)])==null?_0x26d619[_0x180b6(0x307)]:_0x406fe6,'spaceAbove':(_0x1a8e10=(_0x3bca3e=_0x499ee5[_0x180b6(0x3b3)])==null?void 0x0:_0x3bca3e[_0x180b6(0x85)])==null?{'v':0x0}:_0x1a8e10,'spaceBelow':(_0x4db34e=(_0x23041f=_0x499ee5['paragraphStyle'])==null?void 0x0:_0x23041f[_0x180b6(0x1a3)])==null?{'v':0x0}:_0x4db34e};}}function Oa(_0x73d96c){const _0x5d87a8=_0x16658a;let _0x1d205d=_0x73d96c[_0x5d87a8(0x15b)],_0xbdcbd1=_0x1d205d==null?void 0x0:_0x1d205d['paragraphs'],_0x2ac0af=_0x1d205d==null?void 0x0:_0x1d205d[_0x5d87a8(0x2f0)];if(!_0x1d205d||!(_0xbdcbd1!=null&&_0xbdcbd1['length'])||!_0x2ac0af)return;let _0x19e0a8=[];for(let _0x5606fd=0x0;_0x5606fd<_0x2ac0af[_0x5d87a8(0x3b8)];_0x5606fd++)_0x2ac0af[_0x5606fd]==='\x0d'&&_0x19e0a8[_0x5d87a8(0x2f3)](_0x5606fd);_0x19e0a8[_0x5d87a8(0x3b8)]===_0xbdcbd1[_0x5d87a8(0x3b8)]&&(_0x1d205d['paragraphs']=_0xbdcbd1[_0x5d87a8(0x375)]((_0x2fbcd0,_0xa81384)=>({..._0x2fbcd0,'startIndex':_0x19e0a8[_0xa81384]})));}function ka(_0x3af5cd,_0x13d135){const _0x30d4a7=_0x16658a;var _0x28240c,_0x3dd5b8,_0x202a66;let {isHorizontal:_0x404dd5,textRect:_0x2da318,verticalAlign:_0x49383e}=_0x13d135,_0x52a1c5=_0x404dd5?_0x2da318['width']:_0x2da318[_0x30d4a7(0x296)],_0x8743e4=_0x122eeb[_0x30d4a7(0x2d5)](_0x3af5cd),_0x35a52f=(_0x28240c=_0x8743e4[_0x30d4a7(0x12d)])==null?{}:_0x28240c,_0x29deb4={..._0x35a52f['renderConfig'],'centerAngle':_0x404dd5?0x0:_0x14d207,'vertexAngle':_0x404dd5?0x0:_0x14d207,'wrapStrategy':_0x5f12db[_0x30d4a7(0x16b)],'zeroWidthParagraphBreak':(_0x3dd5b8=(_0x202a66=_0x35a52f['renderConfig'])==null?void 0x0:_0x202a66[_0x30d4a7(0x3b6)])==null?_0x26d619[_0x30d4a7(0x260)]:_0x3dd5b8};if(_0x49383e!==void 0x0&&(_0x29deb4[_0x30d4a7(0x273)]=_0x49383e),_0x13d135['horizontalAlign']!==void 0x0){var _0x3897a0;_0x29deb4[_0x30d4a7(0x222)]=_0x13d135['horizontalAlign'];let _0x4a92cc=(_0x3897a0=_0x8743e4[_0x30d4a7(0x15b)])==null?void 0x0:_0x3897a0[_0x30d4a7(0x3bc)];if(_0x4a92cc){for(let _0x511d88 of _0x4a92cc)_0x511d88[_0x30d4a7(0x3b3)]||(_0x511d88[_0x30d4a7(0x3b3)]={}),_0x511d88[_0x30d4a7(0x3b3)][_0x30d4a7(0x222)]=_0x13d135[_0x30d4a7(0x222)];}}return _0x8743e4[_0x30d4a7(0x12d)]={..._0x35a52f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x52a1c5,'height':0x1/0x0},'renderConfig':_0x29deb4},Oa(_0x8743e4),Da(_0x8743e4),_0x8743e4;}var X=class extends _0x4d368a{constructor(_0x1059f1,_0x35fb9a){const _0x104c7f=_0x16658a;super(_0x1059f1,_0x35fb9a),q(this,_0x104c7f(0x1a5),void 0x0),q(this,'_transformCalculateSrcRect',!0x0),q(this,_0x104c7f(0x115),_0x1ec8b5['DRAWING_SHAPE']),q(this,_0x104c7f(0x27c),!0x0),this['_props']={..._0x35fb9a},this['_init']();}['_init'](){const _0x26e3f1=_0x16658a;this['onTransformChange$'][_0x26e3f1(0x3bb)](_0xfdcbc9=>{const _0x426410=_0x26e3f1;this[_0x426410(0x7c)](_0xfdcbc9);});}[_0x16658a(0x3a7)](_0x1c493f){const _0x1ee101=_0x16658a;this[_0x1ee101(0x1a5)]['prstGeom']=_0x1c493f;}['setEditing'](_0x4968f2){this['_props']['isEditing']=_0x4968f2,this['makeDirty'](!0x0);}get['unitId'](){const _0x4624d1=_0x16658a;return this['_props'][_0x4624d1(0x392)];}get[_0x16658a(0x183)](){const _0x4498e1=_0x16658a;return this[_0x4498e1(0x1a5)][_0x4498e1(0x183)];}[_0x16658a(0x7c)](_0x1a3fbc){const _0xb04508=_0x16658a;if(this[_0xb04508(0x1a5)]['srcRect']==null||!this[_0xb04508(0x1ae)])return;let {width:_0x300381,height:_0x3d2cab}=this,{width:_0x5e6547=0x0,height:_0x5f0b13=0x0}=_0x1a3fbc[_0xb04508(0x134)],{left:_0x5dc427=0x0,top:_0x28fe2c=0x0,right:_0x2f83d9=0x0,bottom:_0x4cc380=0x0}=this['_props']['srcRect'],_0x185b22=_0x5dc427,_0xfd7aa8=_0x28fe2c,_0x15027d=_0x2f83d9,_0x1f5fbe=_0x4cc380,_0x2db08b=!0x1;if(_0x5e6547!==0x0&&_0x5e6547!==_0x300381){let _0x2fb187=_0x5dc427/_0x5e6547,_0x954b73=_0x2f83d9/_0x5e6547;_0x185b22=_0x300381*_0x2fb187,_0x15027d=_0x300381*_0x954b73,_0x2db08b=!0x0;}if(_0x5f0b13!==0x0&&_0x5f0b13!==_0x3d2cab){let _0x2a7446=_0x28fe2c/_0x5f0b13,_0x3051a5=_0x4cc380/_0x5f0b13;_0xfd7aa8=_0x3d2cab*_0x2a7446,_0x1f5fbe=_0x3d2cab*_0x3051a5,_0x2db08b=!0x0;}_0x2db08b&&this[_0xb04508(0x193)]({'left':_0x185b22,'top':_0xfd7aa8,'right':_0x15027d,'bottom':_0x1f5fbe});}[_0x16658a(0x193)](_0x57fea4){const _0x163c58=_0x16658a;this[_0x163c58(0x1a5)][_0x163c58(0x13d)]=_0x57fea4,this[_0x163c58(0x185)](!0x0);}[_0x16658a(0x27a)](_0x165062){const _0x3a0226=_0x16658a;this[_0x3a0226(0x1a5)][_0x3a0226(0x226)]=_0x165062,this[_0x3a0226(0x185)](!0x0);}set[_0x16658a(0x76)](_0x49358e){const _0x1766c6=_0x16658a;this[_0x1766c6(0x298)]=_0x49358e;}get[_0x16658a(0x76)](){const _0x47323e=_0x16658a;this[_0x47323e(0x298)]||this[_0x47323e(0x227)]();let _0x4b7e9d=this[_0x47323e(0x298)][_0x47323e(0x2b2)]();return this['transformForAngle'](_0x4b7e9d);}get['shapeModel'](){const _0xbd752d=_0x16658a;return this[_0xbd752d(0x1a5)][_0xbd752d(0x38f)];}get[_0x16658a(0x123)](){const _0x20c004=_0x16658a;return this['_props'][_0x20c004(0x123)];}get[_0x16658a(0x1a7)](){const _0x20afef=_0x16658a;return _0x166d66[_0x20afef(0x3a2)];}[_0x16658a(0x215)](_0xd613f9,_0xd17100,_0x38eb04,_0x10f1e2){const _0x3a23b9=_0x16658a;let _0x38f9ab=this[_0x3a23b9(0x1a5)][_0x3a23b9(0x38f)];if(!_0x38f9ab||!_0xd17100)return;let _0x37324e=_0x38eb04==null?this['width']:_0x38eb04,_0x1cd25b=_0x10f1e2==null?this['height']:_0x10f1e2,_0xd7c7a={'shapeType':_0x38f9ab[_0x3a23b9(0x292)](),'width':_0x37324e,'height':_0x1cd25b},_0x466243={'renderMode':_0x32c821[_0x3a23b9(0x1ec)],'oKey':this[_0x3a23b9(0x220)],'image':this[_0x3a23b9(0x1a5)][_0x3a23b9(0x226)],'angle':this[_0x3a23b9(0x121)]};_0x38f9ab[_0x3a23b9(0x192)](_0xd7c7a),_0xd613f9[_0x3a23b9(0x360)]();let _0x29369b={'top':0x0,'left':0x0,'width':_0x37324e,'height':_0x1cd25b};_0x38f9ab[_0x3a23b9(0x2d0)](_0xd613f9,_0x29369b,_0x466243),_0xd613f9[_0x3a23b9(0x291)]();let _0x3a6ec9=_0x38f9ab['getShapeTextData'](),_0x4a953f=_0x38f9ab[_0x3a23b9(0x374)](_0x29369b),_0x3a5080=_0x38f9ab[_0x3a23b9(0x72)]();if(_0x3a6ec9&&_0x4a953f&&!_0x3a5080){_0xd613f9[_0x3a23b9(0x360)](),this[_0x3a23b9(0x1e4)]()[_0x3a23b9(0x385)]&&_0xd613f9[_0x3a23b9(0x2db)](-0x1,0x1);let _0x4ba971=_0x37324e/0x2,_0x33487a=_0x1cd25b/0x2;_0xd613f9[_0x3a23b9(0x368)](-_0x4ba971,-_0x33487a),_0xd613f9['beginPath'](),this[_0x3a23b9(0x1b1)](_0xd613f9,_0x3a6ec9,_0x4a953f),_0xd613f9[_0x3a23b9(0x291)]();}}[_0x16658a(0x1fc)](_0x5cc3ce){}[_0x16658a(0x1b1)](_0x139117,_0x218ca1,_0x2e937a){const _0x225b4d=_0x16658a;this[_0x225b4d(0x1a5)][_0x225b4d(0x154)]||(_0x225b4d(0x180)in _0x218ca1&&_0x218ca1[_0x225b4d(0x180)]===!0x1?this[_0x225b4d(0x247)](_0x139117,_0x218ca1,_0x2e937a):this['_drawRichText'](_0x139117,_0x218ca1,_0x2e937a));}[_0x16658a(0x247)](_0x5e433b,_0x55595a,_0x4425f7){}['_drawRichText'](_0x3bf74e,_0x419b3c,_0x426f4d){const _0x2eb618=_0x16658a;var _0x27fd9e,_0x3f01d9;let _0x42f64a=this[_0x2eb618(0x1a5)][_0x2eb618(0x1a0)];if(!_0x419b3c[_0x2eb618(0x139)]||!_0x42f64a){_0x42f64a||console['warn'](_0x2eb618(0x1ba));return;}let _0x8ed4b1=_0x419b3c[_0x2eb618(0x139)],_0x271429=_0x8ed4b1[_0x2eb618(0x1a8)],_0x20b398=(_0x27fd9e=_0x8ed4b1['va'])==null?_0x55788f[_0x2eb618(0x1cc)]:_0x27fd9e,_0x376231=(_0x3f01d9=_0x8ed4b1['ha'])==null?_0x3dd034[_0x2eb618(0x2b4)]:_0x3f01d9;if(!_0x271429)return;let _0x26877e=_0x419b3c['isHorizontal'],_0x569788=new _0x70c71a(ka(_0x271429,{'isHorizontal':_0x26877e!==!0x1,'textRect':_0x426f4d,'verticalAlign':_0x20b398,'horizontalAlign':_0x376231})),_0x5cccf1=new _0x2b5e86(_0x569788),_0x14ad1b=_0x2ba86b[_0x2eb618(0x88)](_0x5cccf1,_0x42f64a);_0x14ad1b[_0x2eb618(0xf6)]();let _0x377e70=new _0x5686fd(_0x2eb618(0xf9)+this['oKey'],_0x14ad1b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x377e70[_0x2eb618(0x32b)](_0x426f4d[_0x2eb618(0x24b)],_0x426f4d[_0x2eb618(0x296)]),_0x3bf74e['save'](),_0x3bf74e[_0x2eb618(0x151)](_0x426f4d['left'],_0x426f4d[_0x2eb618(0x288)]),_0x3bf74e[_0x2eb618(0x181)](),_0x3bf74e[_0x2eb618(0x9b)](0x0,0x0,_0x426f4d[_0x2eb618(0x24b)],_0x426f4d[_0x2eb618(0x296)]),_0x3bf74e[_0x2eb618(0x3b1)](),_0x377e70[_0x2eb618(0x24f)](_0x3bf74e),_0x3bf74e[_0x2eb618(0x291)](),_0x377e70[_0x2eb618(0x2f1)](),_0x14ad1b[_0x2eb618(0x2f1)](),_0x5cccf1[_0x2eb618(0x2f1)](),_0x569788[_0x2eb618(0x2f1)]();}['render'](_0x54ea18,_0x3c4405,_0x847592=!0x1){const _0x1033cf=_0x16658a;if(!this[_0x1033cf(0x19e)])return this[_0x1033cf(0x185)](!0x1),this;let {width:_0x2fde5e,height:_0x582766,left:_0x1fe4a4,top:_0x171976}=this,_0x4157fc=this[_0x1033cf(0x2d1)]();if(_0x2fde5e=_0x4157fc[_0x1033cf(0x24b)],_0x582766=_0x4157fc['height'],_0x1fe4a4=_0x4157fc['left'],_0x171976=_0x4157fc[_0x1033cf(0x288)],this[_0x1033cf(0x74)](_0x3c4405)){let {top:_0x2bff4d,left:_0x496a34,bottom:_0x509ba0,right:_0x1763fa}=_0x3c4405[_0x1033cf(0x1a2)];if(_0x2fde5e+this['strokeWidth']+_0x1fe4a4<_0x496a34||_0x1763fa<_0x1fe4a4||_0x582766+this['strokeWidth']+_0x171976<_0x2bff4d||_0x509ba0<_0x171976)return this;}let _0x433ef3=_0x1fe4a4+_0x2fde5e/0x2,_0x26f9a0=_0x171976+_0x582766/0x2,_0x26bb43=this['transform']['getMatrix']();if(this[_0x1033cf(0x1a5)][_0x1033cf(0x154)]){let _0x190e02=this['getState'](),_0x56c1f9=new _0x27fe9f();_0x56c1f9[_0x1033cf(0x24a)]({..._0x190e02}),_0x26bb43=_0x56c1f9['getMatrix']();}return _0x54ea18[_0x1033cf(0x360)](),this[_0x1033cf(0x1a5)][_0x1033cf(0x38f)][_0x1033cf(0x377)]===!0x0||_0x54ea18[_0x1033cf(0x76)](_0x26bb43[0x0],_0x26bb43[0x1],_0x26bb43[0x2],_0x26bb43[0x3],_0x433ef3,_0x26f9a0),this['_draw'](_0x54ea18,_0x3c4405,_0x2fde5e,_0x582766),_0x54ea18['restore'](),this[_0x1033cf(0x185)](!0x1),this;}['getInverseCoord'](_0x4675ba){const _0x2907ee=_0x16658a;let {left:_0x1264ea,top:_0xb474ff,width:_0x558ff8,height:_0x17e6ac}=this[_0x2907ee(0x2d1)](),_0x5d6a29=this[_0x2907ee(0x76)]['getMatrix'](),_0x5ee91b=_0x1264ea+_0x558ff8/0x2,_0x55c51c=_0xb474ff+_0x17e6ac/0x2,_0x151f6b=new _0x27fe9f([_0x5d6a29[0x0],_0x5d6a29[0x1],_0x5d6a29[0x2],_0x5d6a29[0x3],_0x5ee91b,_0x55c51c]),_0x1608a1=this[_0x2907ee(0xeb)]();return(this[_0x2907ee(0x6c)]&&(_0x1608a1==null?void 0x0:_0x1608a1['classType'])===_0x166d66[_0x2907ee(0x30a)]?_0x1608a1[_0x2907ee(0x36e)][_0x2907ee(0x30d)](_0x151f6b):_0x151f6b)[_0x2907ee(0x2f8)]()[_0x2907ee(0x219)](_0x4675ba);}[_0x16658a(0x34e)](_0x2e72d2){const _0x59101d=_0x16658a;let {left:_0x6877ca,top:_0x422dee,width:_0x4c4826,height:_0x36c2c6}=this[_0x59101d(0x2d1)](),_0xa13f82=_0x6877ca+_0x4c4826/0x2,_0x45dd2b=_0x422dee+_0x36c2c6/0x2,_0x3c372f=this[_0x59101d(0x76)][_0x59101d(0x3a6)](),_0x189021=new _0x27fe9f([_0x3c372f[0x0],_0x3c372f[0x1],_0x3c372f[0x2],_0x3c372f[0x3],_0xa13f82,_0x45dd2b]),_0x43054a=this[_0x59101d(0xeb)](),_0xa97e93=(this[_0x59101d(0x6c)]&&(_0x43054a==null?void 0x0:_0x43054a['classType'])===_0x166d66[_0x59101d(0x30a)]?_0x43054a[_0x59101d(0x36e)][_0x59101d(0x30d)](_0x189021):_0x189021)[_0x59101d(0x2f8)]()[_0x59101d(0x219)](_0x2e72d2),_0x21bbec=_0x4c4826/0x2,_0x4daf40=_0x36c2c6/0x2,_0x32e650=this[_0x59101d(0x1a5)][_0x59101d(0x38f)];return _0x32e650&&_0x32e650[_0x59101d(0x72)]()?_0x32e650[_0x59101d(0x105)](_0xa97e93['x'],_0xa97e93['y'],_0x4c4826,_0x36c2c6):_0xa97e93['x']>=-_0x21bbec-this[_0x59101d(0x367)]/0x2&&_0xa97e93['x']<=_0x21bbec+this[_0x59101d(0x367)]/0x2&&_0xa97e93['y']>=-_0x4daf40-this[_0x59101d(0x367)]/0x2&&_0xa97e93['y']<=_0x4daf40+this[_0x59101d(0x367)]/0x2;}['dispose'](){const _0x103c0f=_0x16658a;this[_0x103c0f(0x1a5)][_0x103c0f(0x38f)]=null,super['dispose']();}};function Aa(_0x3de5d7){const _0x50c408=_0x16658a;return _0x3de5d7[_0x50c408(0x19d)]===!0x0||_0x3de5d7[_0x50c408(0x19d)]===_0x26d619[_0x50c408(0x260)]||_0x3de5d7[_0x50c408(0x30b)]===_0x1bec57[_0x50c408(0xc3)]&&_0x3de5d7[_0x50c408(0x2a8)]===_0x26d619[_0x50c408(0x260)]?_0x3e69da-0x1:_0x9365ac;}let Z=class extends _0x1e2586{constructor(_0x2c3f41,_0x213262,_0x27fedd,_0x364340,_0x28acec,_0x189e3c){const _0x2e6302=_0x16658a;super(),this[_0x2e6302(0x2ff)]=_0x2c3f41,this['_docsShapeService']=_0x213262,this['_localeService']=_0x27fedd,this['_imageIoService']=_0x364340,this['_urlImageService']=_0x28acec,this[_0x2e6302(0x309)]=_0x189e3c;}[_0x16658a(0xde)](_0x5ed5e9,_0x50e2ea){const _0xde2cb5=_0x16658a;let {transform:_0xaa33fe,drawingType:_0x8870e0,srcRect:_0x5d3b9d,prstGeom:_0x543121,groupId:_0x3a63bd,unitId:_0x4d9677,subUnitId:_0x56171b,drawingId:_0x590d0f,isMultiTransform:_0x2476dc,transforms:_0x345eaf,hidden:_0x4f9f78}=_0x5ed5e9;if(_0x8870e0!==_0x1ec8b5['DRAWING_SHAPE']||!this[_0xde2cb5(0x2ff)][_0xde2cb5(0x306)]()||_0xaa33fe==null)return;let _0x2abbc6=_0x2476dc&&_0x345eaf?_0x345eaf:[_0xaa33fe],_0x437e97=[];for(let _0x22ef07 of _0x2abbc6){let {left:_0xe8b911,top:_0x873b74,width:_0x5335b6,height:_0x3561b2,angle:_0x148065,flipX:_0x1be646,flipY:_0x129809,skewX:_0xd1d21d,skewY:_0x1d8a73}=_0x22ef07,_0x353f38=_0x2abbc6[_0xde2cb5(0x127)](_0x22ef07),_0x14cfd6=_0x37e322({'unitId':_0x4d9677,'subUnitId':_0x56171b,'drawingId':_0x590d0f},_0x2476dc?_0x353f38:void 0x0),_0x4ab30e=_0x50e2ea[_0xde2cb5(0x373)](_0x14cfd6);if(_0x4ab30e!=null){_0x4ab30e[_0xde2cb5(0x3ba)]({'left':_0xe8b911,'top':_0x873b74,'width':_0x5335b6,'height':_0x3561b2,'angle':_0x148065,'flipX':_0x1be646,'flipY':_0x129809,'skewX':_0xd1d21d,'skewY':_0x1d8a73});continue;}let _0x270329=this[_0xde2cb5(0x2ff)][_0xde2cb5(0x1f3)](_0x4d9677,_0x56171b),_0x100a7=_0x270329[_0xde2cb5(0x127)](_0x590d0f);if(_0x50e2ea[_0xde2cb5(0x373)](_0x14cfd6)||!this[_0xde2cb5(0x2ff)][_0xde2cb5(0x306)]())continue;let _0xb765ca=this[_0xde2cb5(0x378)][_0xde2cb5(0x278)](_0x4d9677,_0x56171b,_0x590d0f);if(!_0xb765ca)continue;let _0x2b3766=new X(_0x14cfd6,{..._0x3d96f8(_0xb765ca[_0xde2cb5(0x292)]())?{..._0x22ef07,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x22ef07},'zIndex':_0x100a7===-0x1?_0x270329[_0xde2cb5(0x3b8)]-0x1:_0x100a7,'shapeModel':_0xb765ca,'localeService':this[_0xde2cb5(0x240)],'shapeId':_0x590d0f,'unitId':_0x4d9677,'subUnitId':_0x56171b,'visible':_0x4f9f78!==!0x0});this[_0xde2cb5(0x28d)](_0x1dcf7c(_0x2b3766[_0xde2cb5(0x21b)]['subscribeEvent']((_0x551bda,_0x3bfc74)=>{const _0x3fe20b=_0xde2cb5;_0xb765ca[_0x3fe20b(0x72)]()||(this[_0x3fe20b(0x309)][_0x3fe20b(0x335)]({'visible':!0x0,'unitId':_0x4d9677,'subUnitId':_0x56171b,'shapeId':_0x590d0f,'shapeKey':_0x2b3766['oKey']}),_0x3bfc74[_0x3fe20b(0x26c)]());}))),_0x50e2ea[_0xde2cb5(0x1f2)](_0x2b3766,Aa(_0x5ed5e9)),this['_drawingManagerService'][_0xde2cb5(0x3af)]()&&_0x50e2ea[_0xde2cb5(0xa7)](_0x2b3766),_0x3a63bd&&_0x4d2eb5({'drawingId':_0x3a63bd,'unitId':_0x4d9677,'subUnitId':_0x56171b},_0x2b3766,_0x50e2ea,this[_0xde2cb5(0x2ff)]),_0x543121!=null&&_0x2b3766[_0xde2cb5(0x3a7)](_0x543121),_0x5d3b9d!=null&&_0x2b3766[_0xde2cb5(0x193)](_0x5d3b9d),this[_0xde2cb5(0x248)](_0x2b3766,_0xb765ca['getShapeData']()),_0x437e97[_0xde2cb5(0x2f3)](_0x2b3766);}return _0x437e97;}[_0x16658a(0x15d)](_0x43de07){const _0x567527=_0x16658a;let _0x3422f8=_0x43de07[_0x567527(0x38f)][_0x567527(0x26a)](),_0x313e48=_0x3422f8[_0x567527(0x320)];if(!_0x313e48||_0x313e48[_0x567527(0x79)]!==_0x3098ec[_0x567527(0x303)]||!_0x313e48[_0x567527(0x393)]){_0x43de07['setFillImage'](void 0x0);return;}this[_0x567527(0x248)](_0x43de07,_0x3422f8);}[_0x16658a(0x248)](_0x2ea752,_0x1152d4){const _0x10b663=_0x16658a;var _0x2b2e27;let _0x37b894=_0x1152d4['fill'];if(!_0x37b894||_0x37b894[_0x10b663(0x79)]!==_0x3098ec[_0x10b663(0x303)]||!_0x37b894['fillImageSource'])return;let _0x4cca76=_0x37b894[_0x10b663(0x393)],_0x4caa2d=(_0x2b2e27=_0x37b894[_0x10b663(0x35b)])==null?_0x2e5d4f['URL']:_0x2b2e27,_0x5dbfdb=this[_0x10b663(0x221)][_0x10b663(0xbe)](_0x4cca76,_0x4caa2d);if(_0x5dbfdb){_0x2ea752[_0x10b663(0x27a)](_0x5dbfdb);return;}this[_0x10b663(0x33e)](_0x2ea752,_0x4cca76,_0x4caa2d);}async['_loadAndSetImage'](_0x37f6a2,_0xe0f008,_0x4eaeca){const _0x5e205c=_0x16658a;let _0x702d51;try{if(_0x4eaeca===_0x2e5d4f[_0x5e205c(0xf7)])_0x702d51=await this[_0x5e205c(0x221)][_0x5e205c(0x3a1)](_0xe0f008);else{if(_0x4eaeca===_0x2e5d4f[_0x5e205c(0x2c6)])try{_0x702d51=await this[_0x5e205c(0x22f)][_0x5e205c(0x3a1)](_0xe0f008);}catch{_0x702d51=_0xe0f008;}else _0x702d51=_0xe0f008;}}catch(_0xa03bb3){console[_0x5e205c(0x1ce)](_0x5e205c(0x388),_0xa03bb3);return;}let _0x2f63da=new window[(_0x5e205c(0x295))]();_0x2f63da[_0x5e205c(0x2b9)]=()=>{const _0x3350eb=_0x5e205c;this[_0x3350eb(0x221)][_0x3350eb(0x92)](_0xe0f008,_0x4eaeca,_0x2f63da),_0x37f6a2[_0x3350eb(0x27a)](_0x2f63da);},_0x2f63da['onerror']=()=>{const _0x490873=_0x5e205c;console['error'](_0x490873(0x145),_0xe0f008);},_0x2f63da[_0x5e205c(0x2a9)]=_0x702d51;}};Z=W([U(0x0,_0x441a82),U(0x1,_0x15b52f(_0x24d037)),U(0x2,_0x15b52f(_0x4cdcfe)),U(0x3,_0x209190),U(0x4,_0x15fbfd),U(0x5,_0x15b52f(J))],Z);function _0xc662(){const _0x17d22c=['_activeShapeId','LEFT','DRAWING_SHAPE','gridType','SmileyFace','Teardrop','onload','_baseShapeWidth','ShapeCurvedConnector3Icon','getFonts','docs-shape-ui.shape.type.trapezoid','docs-shape-ui.shape.type.plaque-tabs','gdRefY','startOffset','_clipService','asObservable','docs-shape-ui.shape.type.action-button-end','docs-shape-ui.shape.type.down-arrow','_clearShapeAdjustControls','URL','docs-shape-ui.shape.type.flow-chart-magnetic-disk','_getActiveDrawingShape','getEditing','blockArrow','ShapeDownArrowIcon','symbol','textRuns','ShapeLineIcon','disableObjectsEvent','render','getRealBound','decorate','univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','FlowchartProcess','deepClone','docs-shape-ui.shape.type.corner','Hexagon','prototype','cos','paragraph','scale','Diamond','docs-shape-ui.shape.type.flow-chart-input-output','ShapeCurvedConnector3Arrow1Icon','_initEvents','ShapeAccentCallout1Icon','docs-shape-ui.shape.type.ellipse-ribbon','getDrawingSearch','CONTENT','ShapePentagonIcon','BorderCallout3','ShapeActionButtonBeginningIcon','ShapeSwooshArrowIcon','docs-shape-ui.shape.type.notched-right-arrow','docs-shape-ui.shape.type.accent-callout1','menuRange','clearAdjustControls','docs-shape-ui.shape.type.square-tabs','Frame','top-center','Ribbon','dataStream','dispose','docs-shape-ui.shape.type.flow-chart-manual-operation','push','ShapeDiamondIcon','docs-shape-ui.shape.type.flow-chart-extract','lineSpacing','None','invert','RightBracket','_docDrawingShapeRenderController','Corner','add','docs-shape-ui.shape.type.irregular-seal2','filter','_drawingManagerService','_registerOperations','toPrimitive','BOTH_SIDES','PictureFill','QuadArrowCallout','docs-shape-ui.shape.type.ellipse','getDrawingVisible','FALSE','ShapeFlowChartPunchedCardIcon','_shapeTextEditingService','GROUP','layoutType','doc.shape.edit.panel','multiply','ShapeFlowChartConnectorIcon','Star7','flowchart','FlowchartManualOperation','docs-shape-ui.shape.type.callout1','_commandService','docs-shape-ui.deleteShape','starAndBanner','ShapeFlowChartSummingJunctionIcon','docs-shape-ui.shape.type.bent-connector3','_adjustPointObjects','default','_insertShapes','_activeShapeInfo','ShapeGear6Icon','ShapeStar32Icon','_adjName','DEFAULT','fill','docs-shape-ui.shape.type.math-minus','docs-shape-ui.shape.type.bent-up-arrow','set','1.0.0-alpha.1','docs-shape-ui.shape.type.star24','ShapeActionButtonEndIcon','endArrow','5481brqCgn','FlowchartMagneticDisk','Star24','resize','Ellipse','docs-shape-ui.shape.type.cloud','12884058YjBxaW','docs-shape-ui.shape.type.down-arrow-callout','ShapeActionButtonBlankIcon','ShapeRtTriangleIcon','Star16','ActionButtonBlank','ShapeFlowChartDelayIcon','setEditing','Star5','position','onCommandExecuted','ActionButtonSound','registerRenderModule','object','docs-shape-ui.shape.type.quad-arrow-callout','docs-shape-ui.shape.type.round2-same-rect','_loadAndSetImage','onPointerMove$','ActionButtonDocument','ShapeMathNotEqualIcon','WedgeRoundRectCallout','docs-shape-ui.shape.type.right-arrow','_popupMenuListener','LeftArrow','docs-shape-ui.shape.type.dodecagon','ActionButtonInformation','docs-shape-ui.shape.type.moon','getSnapshot','MathEqual','docs-shape-ui.shape.type.non-isosceles-trapezoid','ShapeSnipRoundRectIcon','setCursor','isHit','moveRange','ShapeActionButtonBackPreviousIcon','docs-shape-ui.shape.type.arc','size','Parallelogram','Callout1','ShapeLightningBoltIcon','Ribbon2','SolidFill','basicShape','doc.shape.text.float-menu','getActiveTextRange','fillImageSourceType','docs-shape-ui.shape.type.line','FlowchartMultiDocument','_closeShapeEditPanel','docs-shape-ui.shape.type.flow-chart-decision','save','docs-shape-ui.shape.type.math-equal','docs-shape-ui.shape.type.wedge-round-rect-callout','ShapeFlowChartMergeIcon','below','ShapeFlowChartMagneticTapeIcon','ShapeAccentCallout2Icon','strokeWidth','translate','1090wedyDO','focusDrawing','FlowchartPunchedCard','flipY','extraProps','ancestorTransform','FlowchartInternalStorage','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','docs-shape-ui.shape.type.folder-corner','horizontal','getObjectIncludeInGroup','getShapeTextRect','map','ShapeCurvedRightArrowIcon','isRenderLinePointsMode','_docsShapeService','Pentagon','_configService','ShapeCallout1Icon','docs-shape-ui.shape.type.math-plus','VerticalScroll','_toScenePoint','drawingType','docs-shape-ui.shape.type.rect-textbox-horizontal','_createShapeAdjustControls','ShapeCloudCalloutIcon','mergeMenu','docs-shape-ui.shape.type.border-callout2','flipX','docs-shape-ui.shape.type.chord','FlowchartMagneticDrum','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeHalfFrameIcon','docs-shape-ui.shape.type.no-smoking','Bevel','vertical','_baseShapeTop','docs-shape-ui.shape.type.math-not-equal','shapeModel','docs-shape-ui.shape.type.snip2-diag-rect','onSavingEditorData$','unitId','fillImageSource','ShapeFlowChartExtractIcon','_adjHandlerPointerUp','ActionButtonEnd','ShapeChordIcon','registerComponent','ActionButtonMovie','_baseShapeLeft','inline','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','ShapeChartStarIcon','getShapePopupMenus','docs-shape-ui.shape.type.flow-chart-summing-junction','docs-shape-ui.shape.type.left-bracket','getImage','SHAPE','adjName','ShapeSmileyFaceIcon','LightningBolt','getMatrix','setPrstGeom','_updateShape','#111827','ShapeHeptagonIcon','refreshAdjustControls','getOwnPropertyDescriptor','docs-shape-ui.shape.type.bent-connector3-arrow1','CurvedLeftArrow','getDrawingEditable','line','clip','ShapeBlockArcIcon','paragraphStyle','docs-shape-ui.shape.type.bracket-pair','attachPopupToObject','zeroWidthParagraphBreak','SquareTabs','length','ShapeFlowChartOnlineStorageIcon','transformByState','subscribeEvent','paragraphs','ShapeStar12Icon','WRAP_TOP_AND_BOTTOM','setShapeData','ShapeHexagonIcon','docs-shape-ui.shape.type.diag-stripe','docs-shape-ui.shape.type.gear9','docs-shape-ui.shape.type.curved-left-arrow','registerClipDelegate','_baseShapeHeight','getUnitId','isInGroup','ShapePlusIcon','_context','PlaqueTabs','getAdjustValueByName','Star12','isLineShape','docs-shape-ui.shape.type.right-bracket','isRender','onPointerUp$','transform','ShapeLeftArrowIcon','pluginName','fillType','name','docs-shape-ui.shape.type.rect','_updateSrcRectByTransform','ShapeWedgeRoundRectCalloutIcon','wrapSquare','ShapeEllipseRibbon2Icon','docs-shape-ui.shape.type.flow-chart-alternate-process','_registerDrawingFocusChangeHandler','ShapeRightBraceIcon','ShapeSnip1RectIcon','Funnel','spaceAbove','clipByShape','getShapeDataById','create','docs-shape-ui.shape.type.left-right-up-arrow','ShapeStar4Icon','CurvedConnector3','_univerInstanceService','docs-shape-ui.shape.type.left-up-arrow','ShapeHeartIcon','FlowchartOr','ShapeRound1RectIcon','ShapeDoubleWaveIcon','addImageSourceCache','sin','ShapeCallout2Icon','_getSceneByUnitId','_sidebarService','ShapeBorderCallout1Icon','NotchedRightArrow','params','ActionButtonBackPrevious','rect','docs-shape-ui.shape.type.curved-connector3-arrow1','docs-shape-ui.shape.type.flow-chart-preparation','_adjHandlerPointerMove','_onSavingEditorData$','ShapeParallelogramIcon','LAYOUT','ShapeFlowChartTerminatorIcon','MEDIA','docs-shape-ui.shape.type.lightning-bolt','UpDownArrow','docs-shape-ui.shape.type.right-arrow-callout','attachTransformerTo','VIEW_MAIN','ShapeCubeIcon','Plus','setCanUseShapeClip','_initSelection','_contextService','ShapeFlowChartOrIcon','FlowchartDelay','docs-shape-ui.crop.shape','createControl$','FlowchartDisplay','_docCanvasPopManagerService','_initEditingParams','ShapeActionButtonReturnIcon','callout','docs-shape-ui.shape.type.flow-chart-merge','docs-shape-ui.shape.type.flow-chart-predefined-process','packageName','max','onReady','ShapeGear9Icon','Snip1Rect','getImageSourceCache','_subUnitId','Rect','SolidLine','1969344ahvkAw','WRAP_NONE','Large','docs-shape-ui.shape.type.bent-connector3-arrow2','docs-shape-ui.shape.type.circular-arrow','ShapeAccentCallout3Icon','reduce','4648GlAuPv','docs-shape-ui.shape.type.line-inv','_initializedShapePopupMenu','_toVisualAdjustPoint','docs-shape-ui.shape.type.pie','ShapeFlowChartDisplayIcon','startArrow','docs-shape-ui.shape.type.flow-chart-document','LeftRightUpArrow','Cloud','has','scene','docs-shape-ui.shape.type.accent-callout2','_registerComponents','ShapeAccentBorderCallout1Icon','Star8','Line','doc.operation.close-doc-shape-format-panel','ShapeActionButtonMovieIcon','BlockArc','_renderManagerService','renderDrawingShape','ShapeFlowChartSortIcon','docs-shape-ui.shape.type.curved-right-arrow','WedgeEllipseCallout','docs-shape-ui.shape.type.action-button-document','docs-shape-ui.shape.type.flow-chart-sort','docs-shape-ui.shape.type.flow-chart-delay','ShapeHorizontalScrollIcon','Round1Rect','ShapeStraightConnector1Icon','setInsertRange','_activeShapeModel','Arc','getParent','ShapeMathDivideIcon','_getShapeAdjustPointListById','CircularArrow','ShapeCloudIcon','value','ShapeTextEditorContainer','HomePlate','_iconManager','some','docs-shape-ui.shape.type.ribbon','calculate','UUID','popup','shape-text-','_getShapeInfo','CurvedUpArrow','left','complete','calcAdjValue','docs-shape-ui.shape.type.cloud-callout','_isShouldShowDrawingShapeAdjust','docs-shape-ui.shape.type.flow-chart-magnetic-drum','getFocusDrawings','Moon','ShapeFlowChartPredefinedProcessIcon','isHitLine','ShapeLeftRightRibbonIcon','rectangle','changeStart$','drawingId','INLINE','function','StripedRightArrow','docs-shape-ui.shape.type.star12','ActionButtonBeginning','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.left-arrow-callout','LeftRightArrow','_clearPopups','with','setConfig','_drawingType','shapeText','DOCS_SHAPE_UI_PLUGIN','docs-shape-ui.shape.type.irregular-seal1','docs-shape-ui.shape.type.accent-border-callout2','_initShapePopupMenu','FlowchartAlternateProcess','update$','docs-shape-ui.shape.type.triangle','ShapeStar8Icon','DRAWING_DOM','ShapeActionButtonHelpIcon','angle','forEach','shapeId','ShapeStar6Icon','ShapeFlowChartManualOperationIcon','_registerImageShapeClipDelegate','indexOf','docs-shape-ui.shape.type.flow-chart-punched-card','_injector','paragraphMenuPlacement','ShapeFlowChartMultidocumentIcon','ShapeTriangleIcon','documentStyle','docs-shape-ui.shape.type.math-multiply','docs-shape-ui.shape.type.straight-connector1','Cube','ShapeNoSmokingIcon','ShapeFlowChartAlternateProcessIcon','docs-shape-ui.shape.type.flow-chart-terminator','preValue','docs-shape-ui.openPanel','shapeData','setShapeProps','Callout3','dataModel','editingParams$','FlowchartExtract','MathMinus','srcRect','ShapeBentConnector3Arrow2Icon','docs-shape-ui.config','docs-shape-ui.textWrap.behindText','ShapeSnip2DiagRectIcon','docs-shape-ui.shape.type.chart-plus','ShapeDecagonIcon','_initialize','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','docs-shape-ui.shape.type.round2-diag-rect','_refreshShapeData','IrregularSeal2','transformVector2SceneCoord','ShapeDownArrowCalloutIcon','FlowchartOffPageConnector','docs-shape-ui.shape.type.curved-up-arrow','RightArrowCallout','docs-shape-ui.shape.type.star8','_activeAdjustInfo','add$','translateWithPrecision','QuadArrow','OPERATION','isEditing','Callout2','docs-shape-ui.shape.type.action-button-return','ShapeFlowChartCollateIcon','docs-shape-ui.shape.type.up-arrow-callout','Snip2DiagRect','ShapeLeftCircularArrowIcon','body','_openShapeEditPanel','refreshShapeFillImage','setContextValue','MathDivide','docs-shape-ui.shape.type.snip-round-rect','_updateShapeAdjustControls','getDrawingByParam','docs-shape-ui.shape.type.left-right-arrow','docs-shape-ui.shape.type.star32','docs-shape-ui.shape.type.ellipse-ribbon2','Dodecagon','Wave','docs-shape-ui.shape.type.chart-x','ShapeRectIcon','ShapeStar5Icon','WRAP','621898anEVPB','2180060mxJVTQ','doc-shape-adjust-point-','_initMenu','docs-shape-ui.shape.type.rt-triangle','ShapeRibbonIcon','docs-shape-ui.shape.type.diamond','getDrawingData','div','docs-shape-ui.shape.type.action-button-back-previous','NonIsoscelesTrapezoid','ShapeBentUpArrowIcon','Triangle','ShapeActionButtonInformationIcon','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.round1-rect','ShapeDodecagonIcon','ShapeMathEqualIcon','Can','RightBrace','isRichText','beginPath','LeftBrace','subUnitId','ShapeCornerTabsIcon','makeDirty','updateShapeFillImage','ShapeActionButtonHomeIcon','ShapePlaqueTabsIcon','_getShapeAdjustInfosById','gdRefX','label','#3B82F6','ShapeWaveIcon','DRAWING_IMAGE','_componentManager','EllipseRibbon','docs-shape-ui.shape.type.accent-callout3','updateContext','setSrcRect','ShapeEllipseIcon','setOnSavingEditorData','LeftArrowCallout','enhanceParams','changing$','ShapeMathMultiplyIcon','ShapeFlowChartInternalStorageIcon','MathMultiply','docs-shape-ui.shape.type.callout2','behindText','visible','_lastEditingShapeKey','localeService','docs-shape-ui.shape.type.uturn-arrow','viewBound','spaceBelow','string','_props','_sidebarDisposable','classType','doc','ShapeLeftRightArrowCalloutIcon','inFrontOfText','docs-shape-ui.shape.type.star5','ShapeQuadArrowCalloutIcon','FlowchartOnlineStorage','_transformCalculateSrcRect','ShapeLeftRightArrowIcon','ShapeRectTextboxVerticalIcon','_drawShapeText','docs-shape-ui.shape.type.flow-chart-manual-input','docs-shape-ui.shape.type.horizontal-scroll','_attachAdjustEvent','FlowchartTerminator','ShapeAccentBorderCallout3Icon','_unitId','ShapeFlowChartProcessIcon','ShapeNotchedRightArrowIcon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeCallout3Icon','SwooshArrow','docs-shape-ui.shape.type.left-brace','_isStartAdjusting','ActionButtonHome','RightArrow','ShapeBevelIcon','RoundRect','ShapeRightArrowIcon','Plaque','enableObjectsEvent','1460938eVQeZJ','getRenderById','ShapeDiagStripeIcon','ShapeBracketPairIcon','ActionButtonReturn','offsetY','TOP','getDrawingOKey','error','_registerDrawingTransformHandler','Star32','getAllUnitsForType','doc.shape.picker.component','DownArrowCallout','CROSSHAIR','subscribe','docs-shape-ui.shape.type.accent-border-callout3','AccentBorderCallout3','ShapeActionButtonSoundIcon','EllipseRibbon2','gdRefAng','getActiveViewportByCoord','docs-shape-ui.shape.group.','entries','ShapeStar24Icon','univer-mb-2','find','defineProperty','docs-shape-ui.shape.type.sun','ShapeFrameIcon','getState','UpArrowCallout','gdRefR','snapToGrid','getAbsolutePosition','Star10','changeEnd$','_disposePopups','Path','ShapeChartXIcon','ShapeChevronIcon','docs-shape-ui.shape.type.donut','docs-shape-ui.insertShape','setAdjustValueByName','addObject','getDrawingOrder','docs-shape-ui.shape.type.flow-chart-offpage-connector','_createShapePopupMenu','StraightConnector1','_addShapeAdjustControl','menu','focus$','ShapeQuadArrowIcon','unsubscribe','getDrawingPoints','BentConnector3','LeftBracket','docs-shape-ui.shape.type.wedge-rect-callout','doc.operation.open-doc-shape-format-panel','WedgeRectCallout','docs-shape-ui.shape.type.action-button-forward-next','ShapeBentArrowIcon','executeCommand','docs-shape-ui.shape.type.up-down-arrow','sectionBreaks','AccentBorderCallout1','shapeType','Medium','docs-shape-ui.shape.type.curved-down-arrow','getViewports','15354SVzYTb','docs-shape-ui.shape.type.heart','ShapeAccentBorderCallout2Icon','FlowChartInputOutput','ShapeDonutIcon','shapeKey','docs-shape-ui.shape.type.wave','next','activeTarget','_draw','prstGeom','doc.command.menu-insert-shape','UpDownArrowCallout','applyPoint','ShapeFlowChartPunchedTapeIcon','onDblclick$','docs-shape-ui.shape.type.star6','docs-shape-ui.shape.type.flow-chart-multidocument','other','adjHandleFill','oKey','_imageIoService','horizontalAlign','ChartPlus','docs-shape-ui.shape.type.action-button-information','docs-shape-ui.shape.type.home-plate','image','_setTransForm','docs-shape-ui.shape.type.up-down-arrow-callout','type','docs-shape-ui.shape.type.action-button-home','Trapezoid','includes','bottom','docs-shape-ui.shape.type.action-button-sound','_urlImageService','refreshTransform','values','LeftUpArrow','ShapeArcIcon','getTransformerByCreate','PARAGRAPH','FromArray','icon','onPointerDown$','@univerjs-pro/docs-shape-ui','docs-shape-ui.shape.type.callout3','range','docs-shape-ui.shape.type.curved-connector3','ShapeCurvedConnector3Arrow2Icon','group','objects','_localeService','_initCommands','ShapeCurvedLeftArrowIcon','docs-shape-ui.shape.type.flow-chart-collate','univer-size-full','Star6','docs-shape-ui.shape.type.ribbon2','_drawSimpleText','_loadShapePictureFill','data','composeMatrix','width','ShapeLeftRightCircularArrowIcon','register','_getFocusedShapeAtPoint','draw','get','ShapeMathPlusIcon','UpArrow','ShapeLeftBraceIcon','_initUIPart','ShapeLeftBracketIcon','buildClipPath','ShapeCurvedDownArrowIcon','docs-shape-ui.shape.type.action-button-help','docs-shape-ui.shape.type.pentagon','ShapeTeardropIcon','BracePair','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ShapeFlowChartManualInputIcon','Sun','docs-shape-ui.shape.type.curved-connector3-arrow2','TRUE','docs-shape-ui.shape.type.decagon','getSelectedObjectMap','Gear9','call','docs-shape-ui.shape.type.smiley-face','PAGE','docs-shape-ui.shape.type.octagon','_updateAdjustControlPositions','ShapeRightArrowCalloutIcon','getShapeData','Chord','stopPropagation','adjHandleStroke','docs-shape-ui.shape.type.chevron','ShapeWedgeEllipseCalloutIcon','ShapeStar7Icon','docs-shape-ui.shape.type.star4','ShapeActionButtonDocumentIcon','verticalAlign','FoldedCorner','FlowchartDecision','_registerIcons','_shapeId','getShapeModel','ActionButtonForwardNext','setFillImage','docs-shape-ui.shape.type.action-button-beginning','isDrawingObject','ShapeFlowChartMagneticDiskIcon','equationShape','ShapeIrregularSeal1Icon','FlowchartSort','ShapeBentConnector3Arrow1Icon','_editingParams$','drawings','endOffset','docs-shape-ui.shape.type.parallelogram','getAdjustInfoByName','IrregularSeal1','top','getCurrentUniverDocInstance','docs-shape-ui.shape.type.plus','Gear6','CornerTabs','disposeWithMe','FlowchartPredefinedProcess','version','docs-shape-ui.shape.type.plaque','restore','getShapeType','Arrow','ShapeBentConnector3Icon','Image','height','_getActiveDrawingParam','_transform','ShapeRoundRectIcon','remove$','docs-shape-ui.shape.type.corner-tabs','ShapeMoonIcon','ShapeIrregularSeal2Icon','docs-shape-ui.shape.type.flow-chart-connector','_shapeEditPanelVersion','UNIVER_DOC','DownArrow','Heart','docs-shape-ui.shape.type.snip1-rect','adjHandleSize','syncExecuteCommand','docs-shape-ui.shape.type.up-arrow','AccentCallout3','behindDoc','src','docs-shape-ui.shape.type.frame','docs-shape-ui.shape.type.chart-star','_activeShapeAdjustPointList','FlowchartMagneticTape','docs-shape-ui.shape.type.can','ShapeUpArrowCalloutIcon','doc.command.update-doc-drawing-wrapping-style','ShapeCircularArrowIcon','clone'];_0xc662=function(){return _0x17d22c;};return _0xc662();}let Q=class extends _0x1e2586{constructor(_0x148e40,_0x1c3383,_0x37fa2,_0x34e7ce){const _0x281bdb=_0x16658a;super(),this[_0x281bdb(0x313)]=_0x148e40,this[_0x281bdb(0xdd)]=_0x1c3383,this[_0x281bdb(0x2ff)]=_0x37fa2,this[_0x281bdb(0x2fa)]=_0x34e7ce,this[_0x281bdb(0x144)]();}[_0x16658a(0x144)](){const _0x13b44a=_0x16658a;this[_0x13b44a(0x28d)](this['_drawingManagerService'][_0x13b44a(0x150)][_0x13b44a(0x1d5)](_0x299560=>this[_0x13b44a(0x31a)](_0x299560))),this[_0x13b44a(0x28d)](this[_0x13b44a(0x2ff)][_0x13b44a(0x11c)][_0x13b44a(0x1d5)](_0x32debb=>{const _0x3443f3=_0x13b44a;_0x32debb[_0x3443f3(0x122)](_0x57980e=>this[_0x3443f3(0x3a8)](_0x57980e));})),this[_0x13b44a(0x28d)](this[_0x13b44a(0x313)][_0x13b44a(0x338)](_0x49fc8c=>{const _0x5dbcb5=_0x13b44a;if(_0x49fc8c['id']!==_0x525b71['id'])return;let {unitId:_0x29257e,shapeId:_0x2f07c0}=_0x49fc8c[_0x5dbcb5(0x99)];this[_0x5dbcb5(0x147)]({'unitId':_0x29257e,'subUnitId':_0x29257e,'drawingId':_0x2f07c0});}));}[_0x16658a(0x186)](_0x89453d,_0x2039b0){const _0xce9b4b=_0x16658a;let _0x500477=this[_0xce9b4b(0x95)](_0x89453d[_0xce9b4b(0x392)]),_0x3ea6ee=_0x37e322(_0x89453d),_0x44ab90=_0x500477==null?void 0x0:_0x500477['scene'][_0xce9b4b(0x373)](_0x3ea6ee);_0x44ab90==null||_0x44ab90[_0xce9b4b(0x27a)](_0x2039b0);}[_0x16658a(0x31a)](_0x53a752){const _0x14cd16=_0x16658a;_0x53a752[_0x14cd16(0x122)](_0x341597=>{const _0x4bc0fe=_0x14cd16;var _0xbacc09;let _0x474c11=this[_0x4bc0fe(0x95)](_0x341597['unitId']);if(!_0x474c11)return;let _0x31eeae=this['_drawingManagerService'][_0x4bc0fe(0x162)](_0x341597);(_0x31eeae==null?void 0x0:_0x31eeae['drawingType'])===_0x1ec8b5['DRAWING_SHAPE']&&(_0x3d96f8((_0xbacc09=_0x31eeae[_0x4bc0fe(0x249)])==null?void 0x0:_0xbacc09['shapeType'])&&_0x31eeae[_0x4bc0fe(0x76)]&&(_0x31eeae[_0x4bc0fe(0x76)]={..._0x31eeae[_0x4bc0fe(0x76)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x4bc0fe(0x2ff)][_0x4bc0fe(0x230)]([_0x31eeae]),this['_docDrawingShapeRenderController'][_0x4bc0fe(0xde)](_0x31eeae,_0x474c11[_0x4bc0fe(0xd4)]));});}[_0x16658a(0x3a8)](_0x240380){const _0x232ef1=_0x16658a;let _0x18e2ce=this[_0x232ef1(0x2ff)]['getDrawingByParam'](_0x240380);if((_0x18e2ce==null?void 0x0:_0x18e2ce[_0x232ef1(0x37f)])!==_0x1ec8b5['DRAWING_SHAPE'])return;let _0x57a6ff=this[_0x232ef1(0x95)](_0x240380[_0x232ef1(0x392)]);if(!_0x57a6ff||_0x18e2ce[_0x232ef1(0x76)]==null)return;let _0x22c5f9=_0x37e322(_0x240380),_0x8b6fd4=_0x57a6ff['scene']['getObjectIncludeInGroup'](_0x22c5f9);_0x8b6fd4&&(_0x8b6fd4[_0x232ef1(0x193)](_0x18e2ce[_0x232ef1(0x13d)]),_0x8b6fd4[_0x232ef1(0x3a7)](_0x18e2ce[_0x232ef1(0x216)]),_0x8b6fd4[_0x232ef1(0x185)](!0x0));}['_refreshShapeData'](_0x90b123){const _0x274462=_0x16658a;let _0x574971=this['_getSceneByUnitId'](_0x90b123[_0x274462(0x392)]);if(!_0x574971)return;let _0x220ec9=_0x37e322(_0x90b123),_0x2d59d5=_0x574971[_0x274462(0xd4)][_0x274462(0x373)](_0x220ec9);_0x2d59d5&&(this[_0x274462(0x2fa)][_0x274462(0x15d)](_0x2d59d5),_0x2d59d5[_0x274462(0x185)](!0x0));}[_0x16658a(0x95)](_0x43a47a){const _0x4f32d3=_0x16658a;if(_0x43a47a==null)return null;let _0x484f43=this[_0x4f32d3(0xdd)]['getRenderById'](_0x43a47a),_0x29bc0e=_0x484f43==null?void 0x0:_0x484f43[_0x4f32d3(0xd4)];return _0x29bc0e==null?null:{'scene':_0x29bc0e};}};Q=W([U(0x0,_0x44ffa4),U(0x1,_0x2e40c6),U(0x2,_0x441a82),U(0x3,_0x15b52f(Z))],Q);function ja(){const _0x45682e=_0x16658a;let _0x3a6b0f=_0x4451a1(_0x441a82),[_0x482010,_0x3312be]=_0x247e81(_0x3a6b0f[_0x45682e(0x102)]());return _0x53c466(()=>{const _0x1d3887=_0x45682e;let _0x112a76=_0x3a6b0f['focus$'][_0x1d3887(0x1d5)](_0x49801b=>{_0x3312be(_0x49801b);});return()=>{_0x112a76['unsubscribe']();};},[]),_0x482010[_0x45682e(0x3b8)]===0x0?null:_0x44fa53(_0x45682e(0x174),{'children':_0x40634d(_0x45682e(0x174),{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[_0x44fa53(_0xb3134,{'drawings':_0x482010,'hasCropper':!0x1}),_0x44fa53(_0x3d4ee4,{'drawings':_0x482010}),_0x44fa53(_0x547edd,{'drawings':_0x482010})]})});}function Ma(_0x1f3c8f){let {unitId:_0x5b7200,subUnitId:_0xd9de49,shapeId:_0xca82d8}=_0x1f3c8f,_0x4771ab=_0x4451a1(_0x44ffa4),_0x89ffb0=_0x4451a1(Q);return _0x44fa53(_0x1e1596,{..._0x1f3c8f,'positionEditor':_0x44fa53(ja,{}),'onUpdateShapeData':(_0x1475d7,_0x363494)=>{_a(_0x4771ab,_0x5b7200,_0xd9de49,_0xca82d8,_0x1475d7,_0x363494);},'onUpdateLineShapeData':(_0x291cad,_0x1537db)=>{va(_0x4771ab,_0x5b7200,_0xd9de49,_0xca82d8,_0x291cad,_0x1537db);},'onUpdateShapeFillImage':_0x52f730=>{const _0x1d9c2a=_0x4c8b;_0x89ffb0[_0x1d9c2a(0x186)]({'unitId':_0x5b7200,'subUnitId':_0xd9de49,'drawingId':_0xca82d8},_0x52f730);}});}const Na=_0x34514b(()=>{const _0x62dd46=_0x16658a;let _0xd1cf67=_0x4451a1(J),_0x2cc1c9=_0x4451a1(_0x24d037),_0x449a49=_0x4451a1(_0x441a82),_0x384257=_0x4451a1(_0x44ffa4);return _0x44fa53(_0x4caede,{'adapter':_0x21d7e4(()=>({'getShapeModel':(_0x478f0c,_0x554f3f,_0x41afc7)=>_0x2cc1c9['getShapeModel'](_0x478f0c,_0x554f3f,_0x41afc7),'getDrawingTransform':(_0x27fb45,_0xa1ded2,_0xd17801)=>{const _0x4f81ec=_0x4c8b;let _0x353d7a=_0x449a49['getDrawingByParam']({'unitId':_0x27fb45,'subUnitId':_0xa1ded2,'drawingId':_0xd17801});return _0x353d7a==null?void 0x0:_0x353d7a[_0x4f81ec(0x76)];},'updateShapeText':({unitId:_0x2dbb01,shapeId:_0x21e58c,shapeText:_0x4cdda9,oldShapeText:_0x5f2929})=>{const _0xcae526=_0x4c8b;_0x384257[_0xcae526(0x204)](_0x5ad227['id'],{'unitId':_0x2dbb01,'shapeId':_0x21e58c,'shapeData':{'shapeText':_0x4cdda9},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x5f2929}}});}}),[_0x384257,_0x2cc1c9,_0x449a49]),'editingService':_0xd1cf67,'editorUnitId':ia,'positionOptions':_0x21d7e4(()=>({'viewportKeys':{'main':_0x49d9be[_0x62dd46(0xa8)]}}),[])});});let Pa=class extends _0x1e2586{constructor(_0x3afe82,_0x108f99){const _0x43e042=_0x16658a;super(),this[_0x43e042(0x18f)]=_0x3afe82,this[_0x43e042(0xf3)]=_0x108f99,this[_0x43e042(0x276)](),this[_0x43e042(0xd6)]();}[_0x16658a(0x276)](){const _0x39b601=_0x16658a;this['disposeWithMe'](this[_0x39b601(0xf3)][_0x39b601(0x24d)]({'ShapeAccentBorderCallout1Icon':_0x5b8823,'ShapeAccentBorderCallout2Icon':_0x54651d,'ShapeAccentBorderCallout3Icon':_0x3f65b2,'ShapeAccentCallout1Icon':_0x3cf6fc,'ShapeAccentCallout2Icon':_0x46df5d,'ShapeAccentCallout3Icon':_0x4c149d,'ShapeActionButtonBackPreviousIcon':_0x265efa,'ShapeActionButtonBeginningIcon':_0x41c47a,'ShapeActionButtonBlankIcon':_0x436196,'ShapeActionButtonDocumentIcon':_0x3814fc,'ShapeActionButtonEndIcon':_0x309a58,'ShapeActionButtonForwardNextIcon':_0x2d604c,'ShapeActionButtonHelpIcon':_0x1ee73b,'ShapeActionButtonHomeIcon':_0x31c689,'ShapeActionButtonInformationIcon':_0x55c3be,'ShapeActionButtonMovieIcon':_0x16e591,'ShapeActionButtonReturnIcon':_0x3b6497,'ShapeActionButtonSoundIcon':_0x5546e0,'ShapeArcIcon':_0x55599c,'ShapeBentArrowIcon':_0x378b53,'ShapeBentConnector3Arrow1Icon':_0x510d7b,'ShapeBentConnector3Arrow2Icon':_0x289027,'ShapeBentConnector3Icon':_0x3bd55f,'ShapeBentUpArrowIcon':_0x147512,'ShapeBevelIcon':_0x4fa64b,'ShapeBlockArcIcon':_0x26758e,'ShapeBorderCallout1Icon':_0x2e51e2,'ShapeBorderCallout2Icon':_0x2e89a3,'ShapeBorderCallout3Icon':_0x1d35b6,'ShapeBracePairIcon':_0xaf90e5,'ShapeBracketPairIcon':_0x3916ef,'ShapeCallout1Icon':_0x35fc99,'ShapeCallout2Icon':_0x192cec,'ShapeCallout3Icon':_0x180492,'ShapeCanIcon':_0x5723e1,'ShapeChartPlusIcon':_0x5d1eca,'ShapeChartStarIcon':_0x567791,'ShapeChartXIcon':_0x16672e,'ShapeChevronIcon':_0x178655,'ShapeChordIcon':_0x50dc84,'ShapeCircularArrowIcon':_0x1d0624,'ShapeCloudCalloutIcon':_0x82d67c,'ShapeCloudIcon':_0x45e718,'ShapeCornerIcon':_0x73c816,'ShapeCornerTabsIcon':_0x1cb03e,'ShapeCubeIcon':_0x5597da,'ShapeCurvedConnector3Arrow1Icon':_0x4e73b0,'ShapeCurvedConnector3Arrow2Icon':_0x497944,'ShapeCurvedConnector3Icon':_0x13b19b,'ShapeCurvedDownArrowIcon':_0x4ef6db,'ShapeCurvedLeftArrowIcon':_0x5dad60,'ShapeCurvedRightArrowIcon':_0x4b948c,'ShapeCurvedUpArrowIcon':_0x1bcbb8,'ShapeDecagonIcon':_0x4f4349,'ShapeDiagStripeIcon':_0x32c42b,'ShapeDiamondIcon':_0x244ecc,'ShapeDodecagonIcon':_0x26aaf5,'ShapeDonutIcon':_0x2c695c,'ShapeDoubleWaveIcon':_0x771e93,'ShapeDownArrowCalloutIcon':_0x27566a,'ShapeDownArrowIcon':_0x4da57c,'ShapeEllipseIcon':_0x24e4a8,'ShapeEllipseRibbon2Icon':_0xc1b709,'ShapeEllipseRibbonIcon':_0x1658c6,'ShapeFlowChartAlternateProcessIcon':_0x472b68,'ShapeFlowChartCollateIcon':_0x33210f,'ShapeFlowChartConnectorIcon':_0x18f6ca,'ShapeFlowChartDecisionIcon':_0x30e00b,'ShapeFlowChartDelayIcon':_0x38c1a2,'ShapeFlowChartDisplayIcon':_0x4db7c1,'ShapeFlowChartDocumentIcon':_0x847751,'ShapeFlowChartExtractIcon':_0x116c57,'ShapeFlowChartInputOutputIcon':_0x50db84,'ShapeFlowChartInternalStorageIcon':_0x30c4d2,'ShapeFlowChartMagneticDiskIcon':_0x17ba7c,'ShapeFlowChartMagneticDrumIcon':_0x347be0,'ShapeFlowChartMagneticTapeIcon':_0x254f04,'ShapeFlowChartManualInputIcon':_0x3d9e4e,'ShapeFlowChartManualOperationIcon':_0x2696ce,'ShapeFlowChartMergeIcon':_0x1651bc,'ShapeFlowChartMultidocumentIcon':_0x1ee59b,'ShapeFlowChartOfflineStorageIcon':_0x3c74a4,'ShapeFlowChartOffpageConnectorIcon':_0x57ab56,'ShapeFlowChartOnlineStorageIcon':_0x39bc29,'ShapeFlowChartOrIcon':_0x47d9c1,'ShapeFlowChartPredefinedProcessIcon':_0x277275,'ShapeFlowChartPreparationIcon':_0x32e987,'ShapeFlowChartProcessIcon':_0x5e47f8,'ShapeFlowChartPunchedCardIcon':_0x27905c,'ShapeFlowChartPunchedTapeIcon':_0xe2a396,'ShapeFlowChartSortIcon':_0x296059,'ShapeFlowChartSummingJunctionIcon':_0x5cb6c7,'ShapeFlowChartTerminatorIcon':_0x1a42cc,'ShapeFolderCornerIcon':_0x15792f,'ShapeFrameIcon':_0x506279,'ShapeFunnelIcon':_0x1388be,'ShapeGear6Icon':_0x45c419,'ShapeGear9Icon':_0xe71435,'ShapeHalfFrameIcon':_0xf3b42f,'ShapeHeartIcon':_0x41f64c,'ShapeHeptagonIcon':_0x2d315c,'ShapeHexagonIcon':_0x39d617,'ShapeHomePlateIcon':_0x3d991f,'ShapeHorizontalScrollIcon':_0x2e3290,'ShapeIrregularSeal1Icon':_0x4ca65e,'ShapeIrregularSeal2Icon':_0x530cd0,'ShapeLeftArrowCalloutIcon':_0x391d52,'ShapeLeftArrowIcon':_0xa95d58,'ShapeLeftBraceIcon':_0x46c5d1,'ShapeLeftBracketIcon':_0x4b33c0,'ShapeLeftCircularArrowIcon':_0x74f66a,'ShapeLeftRightArrowCalloutIcon':_0x1a1180,'ShapeLeftRightArrowIcon':_0x26b24d,'ShapeLeftRightCircularArrowIcon':_0x1ce7b8,'ShapeLeftRightRibbonIcon':_0x3e284d,'ShapeLeftRightUpArrowIcon':_0x24b0aa,'ShapeLeftUpArrowIcon':_0x132a1b,'ShapeLightningBoltIcon':_0x1fa692,'ShapeLineIcon':_0x229f11,'ShapeLineInvIcon':_0x1d307c,'ShapeMathDivideIcon':_0x160353,'ShapeMathEqualIcon':_0x588939,'ShapeMathMinusIcon':_0x51ffba,'ShapeMathMultiplyIcon':_0x582d06,'ShapeMathNotEqualIcon':_0x4ae928,'ShapeMathPlusIcon':_0x4840b3,'ShapeMoonIcon':_0x1d5203,'ShapeNoSmokingIcon':_0x6b479a,'ShapeNonIsoscelesTrapezoidIcon':_0x32cef5,'ShapeNotchedRightArrowIcon':_0x5bc6e9,'ShapeOctagonIcon':_0x566370,'ShapeParallelogramIcon':_0x3fbd8c,'ShapePentagonIcon':_0x23992c,'ShapePieIcon':_0x3b8117,'ShapePieWedgeIcon':_0x34bb68,'ShapePlaqueIcon':_0xfc42c,'ShapePlaqueTabsIcon':_0x187eee,'ShapePlusIcon':_0x5698ac,'ShapeQuadArrowCalloutIcon':_0x7f02f4,'ShapeQuadArrowIcon':_0x27a34a,'ShapeRectIcon':_0x4043b2,'ShapeRectTextboxHorizontalIcon':_0xeac023,'ShapeRectTextboxVerticalIcon':_0x3ef691,'ShapeRibbon2Icon':_0x2eac0d,'ShapeRibbonIcon':_0x5a00b2,'ShapeRightArrowCalloutIcon':_0x152af9,'ShapeRightArrowIcon':_0x4925ac,'ShapeRightBraceIcon':_0x3156fa,'ShapeRightBracketIcon':_0xc28aeb,'ShapeRound1RectIcon':_0x21429c,'ShapeRound2DiagRectIcon':_0x27f843,'ShapeRound2SameRectIcon':_0x576d44,'ShapeRoundRectIcon':_0x3fdda6,'ShapeRtTriangleIcon':_0x63e75b,'ShapeSmileyFaceIcon':_0x5edb5c,'ShapeSnip1RectIcon':_0xe35f57,'ShapeSnip2DiagRectIcon':_0x35966d,'ShapeSnip2SameRectIcon':_0x462d95,'ShapeSnipRoundRectIcon':_0x246584,'ShapeSquareTabsIcon':_0x3da3bf,'ShapeStar10Icon':_0x15e306,'ShapeStar12Icon':_0x403bf8,'ShapeStar16Icon':_0x3c29c4,'ShapeStar24Icon':_0x468bb8,'ShapeStar32Icon':_0x3e3dd0,'ShapeStar4Icon':_0x4c7299,'ShapeStar5Icon':_0x1cfce5,'ShapeStar6Icon':_0x23d32a,'ShapeStar7Icon':_0x10359b,'ShapeStar8Icon':_0x1a86d0,'ShapeStraightConnector1Icon':_0x58f4bc,'ShapeStraightConnector2Icon':_0x311327,'ShapeStripedRightArrowIcon':_0x151c73,'ShapeSunIcon':_0x3355b0,'ShapeSwooshArrowIcon':_0x94f0da,'ShapeTeardropIcon':_0x32a410,'ShapeTrapezoidIcon':_0x42a08f,'ShapeTriangleIcon':_0xe0a2ce,'ShapeUpArrowCalloutIcon':_0x371ffa,'ShapeUpArrowIcon':_0x55319a,'ShapeUpDownArrowCalloutIcon':_0x111b35,'ShapeUpDownArrowIcon':_0x533fa1,'ShapeUturnArrowIcon':_0x29b19d,'ShapeVerticalScrollIcon':_0x51797e,'ShapeWaveIcon':_0x2141d8,'ShapeWedgeEllipseCalloutIcon':_0x1f44d6,'ShapeWedgeRectCalloutIcon':_0x2c4f60,'ShapeWedgeRoundRectCalloutIcon':_0x32e76d}));}['_registerComponents'](){const _0x1c22ab=_0x16658a;this['disposeWithMe'](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](H,Ma)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](ya,Ca)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](oa,la)),this[_0x1c22ab(0x28d)](this[_0x1c22ab(0x18f)][_0x1c22ab(0x24d)](_0x3b22ba,ca)),this['disposeWithMe'](this['_componentManager']['register'](_0x1c22ab(0xf1),Na));}};Pa=W([U(0x0,_0x15b52f(_0x169c16)),U(0x1,_0x15b52f(_0x2d714f))],Pa);var Fa=class extends _0x4d368a{constructor(_0x1f9447,_0x651896){const _0x2b4b14=_0x16658a;super(_0x1f9447,_0x651896),q(this,_0x2b4b14(0x277),null),q(this,'_adjName',null),q(this,_0x2b4b14(0x1b7),null),q(this,_0x2b4b14(0xbf),null),_0x651896&&this[_0x2b4b14(0x137)](_0x651896);}[_0x16658a(0x2e2)](){const _0x1d0682=_0x16658a;return{'unitId':this[_0x1d0682(0x1b7)],'subUnitId':this[_0x1d0682(0xbf)],'drawingId':this[_0x1d0682(0x277)]};}[_0x16658a(0x137)](_0x5c8def){const _0xeb75e0=_0x16658a;_0x5c8def['shapeId']!==void 0x0&&(this[_0xeb75e0(0x277)]=_0x5c8def[_0xeb75e0(0x123)]),_0x5c8def[_0xeb75e0(0x3a3)]!==void 0x0&&(this[_0xeb75e0(0x31e)]=_0x5c8def[_0xeb75e0(0x3a3)]),_0x5c8def['unitId']!==void 0x0&&(this[_0xeb75e0(0x1b7)]=_0x5c8def['unitId']),_0x5c8def[_0xeb75e0(0x183)]!==void 0x0&&(this[_0xeb75e0(0xbf)]=_0x5c8def[_0xeb75e0(0x183)]),this[_0xeb75e0(0x3ba)]({'width':_0x5c8def['width'],'height':_0x5c8def['height']});}[_0x16658a(0x215)](_0x584216){const _0x13eb3a=_0x16658a;_0x442210['drawWith'](_0x584216,{'radius':_0x4b4a6c['adjHandleSize'],'fill':_0x4b4a6c[_0x13eb3a(0x21f)],'stroke':_0x4b4a6c[_0x13eb3a(0x26d)],'strokeWidth':0x1,'evented':!0x0});}};let Ia=class extends _0x1e2586{constructor(_0x556e6a,_0x429776,_0x5da49d,_0xed2607){const _0x4a33ef=_0x16658a;super(),this['_context']=_0x556e6a,this[_0x4a33ef(0x2ff)]=_0x429776,this[_0x4a33ef(0x378)]=_0x5da49d,this['_commandService']=_0xed2607,q(this,_0x4a33ef(0x2b3),null),q(this,_0x4a33ef(0x1b7),null),q(this,_0x4a33ef(0xbf),null),q(this,_0x4a33ef(0x2ac),void 0x0),q(this,'_adjustPointObjects',[]),q(this,_0x4a33ef(0x39a),0x0),q(this,_0x4a33ef(0x38d),0x0),q(this,_0x4a33ef(0x2ba),0x0),q(this,_0x4a33ef(0x3c5),0x0),q(this,_0x4a33ef(0x1be),!0x1),q(this,_0x4a33ef(0x100),!0x1),q(this,_0x4a33ef(0x14f),void 0x0),q(this,_0x4a33ef(0xe9),void 0x0),q(this,'_adjHandlerPointerMove',void 0x0),q(this,_0x4a33ef(0x395),void 0x0),this[_0x4a33ef(0x81)](),this[_0x4a33ef(0x1cf)]();}[_0x16658a(0x2eb)](){const _0x165bd6=_0x16658a;this[_0x165bd6(0x2c5)]();}[_0x16658a(0x3ab)](){const _0x557d2c=_0x16658a;this[_0x557d2c(0x161)](!0x0);}['_getShapeAdjustPointListById'](_0x45bcb8,_0x21259a,_0x18eeb5){const _0x3e2a23=_0x16658a;var _0x56b6e1;return(_0x56b6e1=this[_0x3e2a23(0x378)]['getShapeModel'](_0x45bcb8,_0x21259a,_0x18eeb5))==null?void 0x0:_0x56b6e1[_0x3e2a23(0x1fc)]();}[_0x16658a(0x189)](_0x4988bf,_0x2452c0,_0x44a86e,_0xcab404){const _0x5db4ef=_0x16658a;var _0x166656;return(_0x166656=this['_docsShapeService'][_0x5db4ef(0x278)](_0x4988bf,_0x2452c0,_0x44a86e))==null?void 0x0:_0x166656[_0x5db4ef(0x286)](_0xcab404);}[_0x16658a(0x297)](){const _0x1c7c0f=_0x16658a;if(this['_unitId']===null||this[_0x1c7c0f(0xbf)]===null||this[_0x1c7c0f(0x2b3)]===null)return null;let _0x6cbf65=this[_0x1c7c0f(0x2ff)][_0x1c7c0f(0x162)]({'unitId':this[_0x1c7c0f(0x1b7)],'subUnitId':this[_0x1c7c0f(0xbf)],'drawingId':this[_0x1c7c0f(0x2b3)]});return _0x6cbf65==null?null:_0x6cbf65;}[_0x16658a(0x2c8)](_0x356915){const _0x4d0c8b=_0x16658a;if(this[_0x4d0c8b(0x1b7)]===null||this[_0x4d0c8b(0xbf)]===null||this[_0x4d0c8b(0x2b3)]===null)return null;let _0x6410e7=_0x37e322({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4d0c8b(0x2b3)]}),_0x4c4635=_0x356915[_0x4d0c8b(0x373)](_0x6410e7);return _0x4c4635 instanceof X?_0x4c4635:null;}['_createShapeAdjustControls'](_0x2d522f=!0x1){const _0x4e351e=_0x16658a;if(this['_unitId']===null||this[_0x4e351e(0xbf)]===null||this[_0x4e351e(0x2b3)]===null)return;let _0x14a3df=this['_getActiveDrawingParam']();if((_0x14a3df==null?void 0x0:_0x14a3df[_0x4e351e(0x37f)])!==_0x1ec8b5['DRAWING_SHAPE']||!_0x14a3df[_0x4e351e(0x76)])return;let _0x2ad217=this[_0x4e351e(0x378)][_0x4e351e(0x278)](this[_0x4e351e(0x1b7)],this[_0x4e351e(0xbf)],this[_0x4e351e(0x2b3)]);if(!_0x2ad217||_0x2ad217[_0x4e351e(0x72)]())return;(_0x2d522f||!this[_0x4e351e(0x2ac)])&&(this[_0x4e351e(0x2ac)]=this[_0x4e351e(0xed)](this[_0x4e351e(0x1b7)],this['_subUnitId'],this['_activeShapeId']));let _0x15de2d=this[_0x4e351e(0x2ac)];if(!(_0x15de2d!=null&&_0x15de2d['length']))return;let {scene:_0x4b84de}=this['_context'],{left:_0x41cbe2=0x0,top:_0x56709c=0x0,width:_0x2c50b2=0x0,height:_0x10a254=0x0,flipX:_0x1138e9,flipY:_0x2ff879,angle:_0x4e3aef=0x0}=_0x14a3df[_0x4e351e(0x76)];for(let _0xb53afc of _0x15de2d){let _0x261325=this[_0x4e351e(0xcc)](_0xb53afc,_0x2c50b2,_0x10a254,!!_0x1138e9,!!_0x2ff879,_0x4e3aef);this[_0x4e351e(0x1f7)](_0x4b84de,_0x261325,_0x261325['adjName'],_0x41cbe2,_0x56709c,this['_unitId'],this[_0x4e351e(0xbf)]);}}[_0x16658a(0xcc)](_0x2c0168,_0x30f43b,_0x23f0c4,_0x38e724,_0x3424c7,_0xa06e63){const _0x17d5e8=_0x16658a;let _0x78ace1=_0x2c0168['x'],_0xee5fcd=_0x2c0168['y'];if(_0x38e724&&(_0x78ace1=_0x30f43b-_0x78ace1),_0x3424c7&&(_0xee5fcd=_0x23f0c4-_0xee5fcd),_0xa06e63!==0x0){let _0x12d90e=_0x30f43b/0x2,_0x88a1a3=_0x23f0c4/0x2,_0x1541f4=_0xa06e63*Math['PI']/0xb4,_0x151efa=Math['cos'](_0x1541f4),_0x574e61=Math[_0x17d5e8(0x93)](_0x1541f4),_0x215617=_0x78ace1-_0x12d90e,_0x4915f6=_0xee5fcd-_0x88a1a3;_0x78ace1=_0x12d90e+(_0x215617*_0x151efa-_0x4915f6*_0x574e61),_0xee5fcd=_0x88a1a3+(_0x215617*_0x574e61+_0x4915f6*_0x151efa);}return{'x':_0x78ace1,'y':_0xee5fcd,'adjName':_0x2c0168[_0x17d5e8(0x3a3)]};}[_0x16658a(0x161)](_0x523bf6=!0x1){const _0x4d5020=_0x16658a;_0x523bf6&&this[_0x4d5020(0x2c5)](),this[_0x4d5020(0x381)](_0x523bf6);}[_0x16658a(0x1f7)](_0x2e8900,_0x23b174,_0x46d761,_0x460f43,_0x17ab0f,_0x39eef7,_0x389e22){const _0x18bce2=_0x16658a;if(!this[_0x18bce2(0x2b3)])return;let _0x59a2c9=_0x18bce2(0x16e)+this['_activeShapeId']+'-'+_0x46d761,_0x13e4a3=_0x2e8900[_0x18bce2(0x373)](_0x59a2c9);if(_0x13e4a3){_0x13e4a3['transformByState']({'left':_0x23b174['x']+_0x460f43-_0x4b4a6c[_0x18bce2(0x2a4)],'top':_0x23b174['y']+_0x17ab0f-_0x4b4a6c['adjHandleSize']}),_0x13e4a3['makeDirty'](!0x0);return;}let _0x245614=new Fa(_0x59a2c9,{'left':_0x23b174['x']+_0x460f43-_0x4b4a6c[_0x18bce2(0x2a4)],'top':_0x23b174['y']+_0x17ab0f-_0x4b4a6c[_0x18bce2(0x2a4)],'adjName':_0x46d761,'shapeId':this['_activeShapeId'],'unitId':_0x39eef7,'subUnitId':_0x389e22,'width':_0x4b4a6c['adjHandleSize']+0x8,'height':_0x4b4a6c[_0x18bce2(0x2a4)]+0x8,'zIndex':_0x9365ac+0x1,'evented':!0x0});this['_adjustPointObjects'][_0x18bce2(0x2f3)](_0x245614),this[_0x18bce2(0x1b4)](_0x245614,_0x2e8900,_0x46d761),_0x2e8900[_0x18bce2(0x1f2)](_0x245614,_0x9365ac+0x1);}[_0x16658a(0x2c5)](){const _0x2e1452=_0x16658a;this[_0x2e1452(0x318)][_0x2e1452(0x122)](_0xd3f874=>_0xd3f874[_0x2e1452(0x2f1)]()),this['_adjustPointObjects']=[];}[_0x16658a(0x268)](){this['_createShapeAdjustControls']();}[_0x16658a(0x37e)](_0x35518f,_0x40e726,_0x50309b){const _0x4319fb=_0x16658a;var _0x2a5c80,_0x70602e;let _0x2f9a55=_0x3a2650['FromArray']([_0x40e726,_0x50309b]),_0x428961=(_0x2a5c80=_0x35518f[_0x4319fb(0x1db)](_0x2f9a55))==null?_0x35518f[_0x4319fb(0x20b)]()[0x0]:_0x2a5c80;return(_0x70602e=_0x428961==null?void 0x0:_0x428961[_0x4319fb(0x149)](_0x2f9a55))==null?_0x2f9a55:_0x70602e;}[_0x16658a(0x1b4)](_0x22e1ee,_0x21160f,_0x402db1){const _0x3e380c=_0x16658a;this['disposeWithMe'](_0x1dcf7c(_0x22e1ee[_0x3e380c(0x238)][_0x3e380c(0x3bb)]((_0x13f5d8,_0x198681)=>{const _0x2d065d=_0x3e380c;var _0x2a44e6,_0x3b8dc1,_0x321296,_0xd195a1;let _0x5323e2=_0x22e1ee[_0x2d065d(0x2e2)]();this[_0x2d065d(0x14f)]=this[_0x2d065d(0x189)](_0x5323e2['unitId'],_0x5323e2[_0x2d065d(0x183)],_0x5323e2['drawingId'],_0x402db1),this[_0x2d065d(0xe9)]=this[_0x2d065d(0x378)][_0x2d065d(0x278)](_0x5323e2[_0x2d065d(0x392)],_0x5323e2[_0x2d065d(0x183)],_0x5323e2['drawingId']);let _0x15df9c=this[_0x2d065d(0x297)](),_0x408042=_0x15df9c==null?void 0x0:_0x15df9c[_0x2d065d(0x76)];if(!_0x15df9c||!_0x408042||!this['_activeShapeModel'])return;this['_baseShapeLeft']=_0x408042[_0x2d065d(0xfc)]||0x0,this[_0x2d065d(0x38d)]=_0x408042[_0x2d065d(0x288)]||0x0,this[_0x2d065d(0x2ba)]=_0x408042[_0x2d065d(0x24b)]||0x0,this[_0x2d065d(0x3c5)]=_0x408042[_0x2d065d(0x296)]||0x0;let _0xc9a3ae=!!_0x408042[_0x2d065d(0x385)],_0x1d7d76=!!_0x408042[_0x2d065d(0x36c)],_0x3ed68e=_0x408042[_0x2d065d(0x121)]||0x0,_0x442568=((_0x2a44e6=this[_0x2d065d(0x14f)])==null?void 0x0:_0x2a44e6['gdRefX'])||((_0x3b8dc1=this[_0x2d065d(0x14f)])==null?void 0x0:_0x3b8dc1[_0x2d065d(0x2bf)])||((_0x321296=this[_0x2d065d(0x14f)])==null?void 0x0:_0x321296[_0x2d065d(0x1da)])||((_0xd195a1=this['_activeAdjustInfo'])==null?void 0x0:_0xd195a1[_0x2d065d(0x1e6)])||_0x402db1,_0x502678=this[_0x2d065d(0xe9)][_0x2d065d(0x70)](_0x442568),_0x575649={[_0x442568]:_0x502678};this[_0x2d065d(0x1be)]=!0x0,_0x21160f[_0x2d065d(0x2cf)](),this[_0x2d065d(0x9e)]=_0x21160f[_0x2d065d(0x33f)][_0x2d065d(0x3bb)]((_0xaed9eb,_0x36a44a)=>{const _0x4b5c90=_0x2d065d;var _0x3cf703;if(!this[_0x4b5c90(0x1be)]||!this[_0x4b5c90(0xe9)]||!this[_0x4b5c90(0x14f)])return;_0x21160f[_0x4b5c90(0x2cf)](),_0x21160f[_0x4b5c90(0x34d)](_0x5eba90[_0x4b5c90(0x1d4)]);let _0x5efde6=this[_0x4b5c90(0x37e)](_0x21160f,_0xaed9eb['offsetX'],_0xaed9eb[_0x4b5c90(0x1cb)]),_0x2594ef=_0x5efde6['x']-this[_0x4b5c90(0x39a)],_0x2be3b8=_0x5efde6['y']-this[_0x4b5c90(0x38d)];if(_0x3ed68e!==0x0){let _0xf30e38=this[_0x4b5c90(0x2ba)]/0x2,_0x224174=this[_0x4b5c90(0x3c5)]/0x2,_0x29d94b=_0x3ed68e*Math['PI']/0xb4,_0x62704d=Math[_0x4b5c90(0x2d9)](_0x29d94b),_0x46180c=Math[_0x4b5c90(0x93)](_0x29d94b),_0x315bc1=_0x2594ef-_0xf30e38,_0x1d6387=_0x2be3b8-_0x224174;_0x2594ef=_0xf30e38+(_0x315bc1*_0x62704d+_0x1d6387*_0x46180c),_0x2be3b8=_0x224174+(-_0x315bc1*_0x46180c+_0x1d6387*_0x62704d);}_0xc9a3ae&&(_0x2594ef=this[_0x4b5c90(0x2ba)]-_0x2594ef),_0x1d7d76&&(_0x2be3b8=this[_0x4b5c90(0x3c5)]-_0x2be3b8);let _0x21d94a={'left':0x0,'top':0x0,'width':this[_0x4b5c90(0x2ba)],'height':this[_0x4b5c90(0x3c5)]},_0x5dd354=this['_activeShapeModel'][_0x4b5c90(0xfe)](_0x21d94a,{'x':_0x2594ef,'y':_0x2be3b8},this['_activeAdjustInfo'],_0xc9a3ae,_0x1d7d76),_0x4f0dbf=this[_0x4b5c90(0x14f)][_0x4b5c90(0x18a)]||this['_activeAdjustInfo'][_0x4b5c90(0x2bf)]||this[_0x4b5c90(0x14f)][_0x4b5c90(0x1da)]||this[_0x4b5c90(0x14f)][_0x4b5c90(0x1e6)];_0x4f0dbf!==void 0x0&&(this['_activeShapeModel'][_0x4b5c90(0x1f1)](_0x4f0dbf,_0x5dd354),(_0x3cf703=this[_0x4b5c90(0x2c8)](_0x21160f))==null||_0x3cf703[_0x4b5c90(0x185)](!0x0),this[_0x4b5c90(0x2ac)]=this[_0x4b5c90(0xed)](_0x5323e2[_0x4b5c90(0x392)],_0x5323e2[_0x4b5c90(0x183)],_0x5323e2[_0x4b5c90(0x109)]),this[_0x4b5c90(0x268)](),_0x36a44a[_0x4b5c90(0x26c)]());}),this['_adjHandlerPointerUp']=_0x21160f[_0x2d065d(0x75)][_0x2d065d(0x3bb)]((_0x2bcfed,_0x141348)=>{const _0x4064ad=_0x2d065d;var _0x1bc85b,_0x456d4f;(_0x1bc85b=this['_adjHandlerPointerMove'])==null||_0x1bc85b[_0x4064ad(0x1fb)](),(_0x456d4f=this['_adjHandlerPointerUp'])==null||_0x456d4f['unsubscribe'](),_0x21160f['resetCursor']();let _0x34a39f=this['_activeAdjustInfo'];if(_0x34a39f&&this[_0x4064ad(0xe9)]){let _0x4f7aa7=_0x34a39f[_0x4064ad(0x18a)]||_0x34a39f[_0x4064ad(0x2bf)]||_0x34a39f[_0x4064ad(0x1da)]||_0x34a39f[_0x4064ad(0x1e6)];if(_0x4f7aa7!==void 0x0){let _0x195c25=this[_0x4064ad(0xe9)][_0x4064ad(0x70)](_0x4f7aa7);_0x195c25!==void 0x0&&_a(this[_0x4064ad(0x313)],_0x5323e2[_0x4064ad(0x392)],_0x5323e2[_0x4064ad(0x183)],_0x5323e2[_0x4064ad(0x109)],{'oldShapeData':{'adjustValues':_0x575649}},{'adjustValues':{[_0x4f7aa7]:_0x195c25}});}}this[_0x4064ad(0x14f)]=void 0x0,this[_0x4064ad(0xe9)]=void 0x0,this[_0x4064ad(0x1be)]=!0x1,_0x21160f[_0x4064ad(0x1c5)](),_0x141348[_0x4064ad(0x26c)]();}),_0x198681[_0x2d065d(0x26c)]();})));}[_0x16658a(0x1cf)](){const _0x2c74dc=_0x16658a;let {scene:_0x472ee0}=this[_0x2c74dc(0x6e)],_0x3d7f0a=_0x472ee0[_0x2c74dc(0x234)]();this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x108)][_0x2c74dc(0x1d5)](_0x32e554=>{const _0x2600f9=_0x2c74dc;this[_0x2600f9(0x381)](),_0x32e554[_0x2600f9(0x23f)]!==null&&_0x32e554['objects'][_0x2600f9(0x352)]===0x1&&_0x32e554[_0x2600f9(0x23f)][_0x2600f9(0x231)]()[_0x2600f9(0x213)]()[_0x2600f9(0xf0)]instanceof X&&(this[_0x2600f9(0x100)]=!0x0);})),this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x198)][_0x2c74dc(0x1d5)](()=>{const _0x598041=_0x2c74dc;this[_0x598041(0x100)]&&this[_0x598041(0x2c5)]();})),this[_0x2c74dc(0x28d)](_0x472ee0['onPointerUp$'][_0x2c74dc(0x3bb)](()=>{const _0x3b58ff=_0x2c74dc;this[_0x3b58ff(0x100)]&&(this[_0x3b58ff(0x100)]=!0x1,this[_0x3b58ff(0x381)]());})),this[_0x2c74dc(0x28d)](_0x3d7f0a[_0x2c74dc(0x1ea)][_0x2c74dc(0x1d5)](()=>{const _0x3d1f84=_0x2c74dc;this[_0x3d1f84(0x1b7)]&&this[_0x3d1f84(0xbf)]&&this[_0x3d1f84(0x2b3)]&&(this['_activeShapeAdjustPointList']=this[_0x3d1f84(0xed)](this[_0x3d1f84(0x1b7)],this[_0x3d1f84(0xbf)],this[_0x3d1f84(0x2b3)]),this['_updateAdjustControlPositions']());}));}[_0x16658a(0x81)](){const _0x5cc652=_0x16658a;this[_0x5cc652(0x28d)](this[_0x5cc652(0x2ff)][_0x5cc652(0x1f9)][_0x5cc652(0x1d5)](_0x5a285c=>{const _0x2dc8c9=_0x5cc652;if(_0x5a285c[_0x2dc8c9(0x3b8)]===0x1){let _0x2e0738=_0x5a285c[0x0],_0x202f85=this[_0x2dc8c9(0x2ff)][_0x2dc8c9(0x162)](_0x2e0738);if((_0x202f85==null?void 0x0:_0x202f85[_0x2dc8c9(0x37f)])===_0x1ec8b5[_0x2dc8c9(0x2b5)]){this[_0x2dc8c9(0x2b3)]=_0x2e0738[_0x2dc8c9(0x109)],this[_0x2dc8c9(0x1b7)]=_0x2e0738[_0x2dc8c9(0x392)],this[_0x2dc8c9(0xbf)]=_0x2e0738[_0x2dc8c9(0x183)],this[_0x2dc8c9(0x2ac)]=this[_0x2dc8c9(0xed)](_0x2e0738['unitId'],_0x2e0738[_0x2dc8c9(0x183)],_0x2e0738[_0x2dc8c9(0x109)]),this[_0x2dc8c9(0x2c5)](),this['_createShapeAdjustControls']();return;}}this[_0x2dc8c9(0x2b3)]=null,this[_0x2dc8c9(0x2ac)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this[_0x2dc8c9(0x2c5)]();})),this[_0x5cc652(0x28d)](this['_drawingManagerService']['update$'][_0x5cc652(0x1d5)](_0x62b49c=>{const _0x39d802=_0x5cc652;if(_0x62b49c[_0x39d802(0x3b8)]===0x1){var _0x585af9;((_0x585af9=this['_drawingManagerService'][_0x39d802(0x162)](_0x62b49c[0x0]))==null?void 0x0:_0x585af9[_0x39d802(0x37f)])===_0x1ec8b5[_0x39d802(0x2b5)]&&this[_0x39d802(0x161)](!0x0);}})),this['disposeWithMe'](this[_0x5cc652(0x2ff)][_0x5cc652(0x29a)][_0x5cc652(0x1d5)](_0x3e3f93=>{const _0x4aa9b5=_0x5cc652;for(let _0x4b2f33 of _0x3e3f93)this[_0x4aa9b5(0x2b3)]===_0x4b2f33[_0x4aa9b5(0x109)]&&(this[_0x4aa9b5(0x2b3)]=null,this[_0x4aa9b5(0x2ac)]=void 0x0,this[_0x4aa9b5(0x1b7)]=null,this['_subUnitId']=null,this[_0x4aa9b5(0x2c5)]());}));}};Ia=W([U(0x1,_0x441a82),U(0x2,_0x15b52f(_0x24d037)),U(0x3,_0x44ffa4)],Ia);function La(_0x3468a2,_0x2a75f9){const _0xfe77b4=_0x16658a;let _0x28e425=_0x3468a2;for(;_0x28e425;){if(_0x2a75f9(_0x28e425))return _0x28e425;_0x28e425=typeof _0x28e425['getParent']=='function'?_0x28e425[_0xfe77b4(0xeb)]():null;}return null;}function Ra(_0x4cd05f){return La(_0x4cd05f,_0x575a1f=>_0x575a1f instanceof X);}let za=class extends _0x1e2586{constructor(_0x522063,_0x63bec1,_0x7e2820,_0x29819e,_0x54d06c){const _0x1a1266=_0x16658a;super(),this[_0x1a1266(0x6e)]=_0x522063,this['_shapeTextEditingService']=_0x63bec1,this[_0x1a1266(0x2ff)]=_0x7e2820,this['_contextService']=_0x29819e,this['_docsShapeService']=_0x54d06c,q(this,_0x1a1266(0x19f),null),this[_0x1a1266(0x2df)](),this[_0x1a1266(0xac)](),this['_initEditingParams']();}['_initEvents'](){const _0x351666=_0x16658a;let {scene:_0x3926c5}=this['_context'];this[_0x351666(0x28d)](_0x3926c5['onDblclick$'][_0x351666(0x3bb)](_0x110e96=>{const _0x228b81=_0x351666;var _0x3706ff;let {offsetX:_0x1aa974,offsetY:_0x1b73b2}=_0x110e96,_0x4a115b=_0x3a2650[_0x228b81(0x236)]([_0x1aa974,_0x1b73b2]),_0x1e9764=(_0x3706ff=Ra(_0x3926c5['pick'](_0x4a115b)))==null?this[_0x228b81(0x24e)](_0x4a115b):_0x3706ff;if(_0x1e9764){if(_0x3d96f8(this[_0x228b81(0x378)][_0x228b81(0x292)](_0x1e9764[_0x228b81(0x392)],_0x1e9764[_0x228b81(0x183)],_0x1e9764[_0x228b81(0x123)])))return;this[_0x228b81(0x309)][_0x228b81(0x335)]({'visible':!0x0,'unitId':_0x1e9764[_0x228b81(0x392)],'subUnitId':_0x1e9764['subUnitId'],'shapeId':_0x1e9764[_0x228b81(0x123)],'shapeKey':_0x1e9764[_0x228b81(0x220)]});}}));}['_getFocusedShapeAtPoint'](_0x16385c){const _0x1b8633=_0x16658a;let {scene:_0xe20e76}=this[_0x1b8633(0x6e)],_0x5e8266=this[_0x1b8633(0x2ff)][_0x1b8633(0x102)]()[_0x1b8633(0x375)](_0x3107a3=>_0xe20e76[_0x1b8633(0x373)](_0x37e322(_0x3107a3)))[_0x1b8633(0x1e0)](_0x4c05a3=>_0x4c05a3 instanceof X&&_0x4c05a3[_0x1b8633(0x34e)](_0x16385c));return _0x5e8266==null?null:_0x5e8266;}['_initSelection'](){const _0x293d75=_0x16658a;this[_0x293d75(0x28d)](this[_0x293d75(0x2ff)][_0x293d75(0x1f9)][_0x293d75(0x1d5)](_0x3cf295=>{const _0x5383a5=_0x293d75;if(_0x3cf295['length']===0x1){let _0x422a9f=_0x3cf295[0x0],_0x31995e=this[_0x5383a5(0x2ff)]['getDrawingByParam'](_0x422a9f);if((_0x31995e==null?void 0x0:_0x31995e[_0x5383a5(0x37f)])===_0x1ec8b5[_0x5383a5(0x2b5)]){let _0x3cd364=this[_0x5383a5(0x309)]['getEditing']();if((_0x3cd364==null?void 0x0:_0x3cd364[_0x5383a5(0x123)])===_0x422a9f['drawingId']&&_0x3cd364[_0x5383a5(0x19e)])return;_0x3d96f8(this['_docsShapeService'][_0x5383a5(0x292)](_0x422a9f[_0x5383a5(0x392)],_0x422a9f[_0x5383a5(0x183)],_0x422a9f[_0x5383a5(0x109)]))&&this[_0x5383a5(0x309)][_0x5383a5(0x335)](null);}else this[_0x5383a5(0x309)][_0x5383a5(0x2c9)]()&&(this[_0x5383a5(0x309)][_0x5383a5(0x195)](!0x0),requestAnimationFrame(()=>{const _0x3802d7=_0x5383a5;this[_0x3802d7(0x309)][_0x3802d7(0x335)](null);}));}else this[_0x5383a5(0x309)]['getEditing']()&&(this[_0x5383a5(0x309)][_0x5383a5(0x195)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this['disposeWithMe'](this[_0x293d75(0x2ff)][_0x293d75(0x29a)]['subscribe'](_0x4f7896=>{const _0x5e089b=_0x293d75;let _0x59dc43=this[_0x5e089b(0x309)]['getEditing']();_0x59dc43&&_0x4f7896[_0x5e089b(0xf4)](_0x25306b=>_0x25306b['drawingId']===_0x59dc43[_0x5e089b(0x123)])&&this['_shapeTextEditingService'][_0x5e089b(0x335)](null);}));}[_0x16658a(0xb4)](){const _0x5e02e8=_0x16658a;this[_0x5e02e8(0x28d)](this[_0x5e02e8(0x309)]['editingParams$'][_0x5e02e8(0x1d5)](_0x2531e6=>{const _0x4f8e23=_0x5e02e8;let {scene:_0x580ee4}=this[_0x4f8e23(0x6e)];if(this[_0x4f8e23(0x19f)]){let _0x19807f=_0x580ee4['getObjectIncludeInGroup'](this[_0x4f8e23(0x19f)]);_0x19807f&&_0x19807f['setEditing'](!0x1);}if(_0x2531e6){let _0x425fdd=!!_0x2531e6[_0x4f8e23(0x19e)],_0x36e022=_0x580ee4[_0x4f8e23(0x373)](_0x2531e6[_0x4f8e23(0x211)]);_0x36e022&&(_0x36e022['setEditing'](_0x425fdd),this[_0x4f8e23(0x19f)]=_0x2531e6[_0x4f8e23(0x211)]),this[_0x4f8e23(0xad)][_0x4f8e23(0x15e)](_0x24f629,_0x425fdd);}else this['_lastEditingShapeKey']=null,this[_0x4f8e23(0xad)][_0x4f8e23(0x15e)](_0x24f629,!0x1);}));}};za=W([U(0x1,_0x15b52f(J)),U(0x2,_0x441a82),U(0x3,_0x8b2d1e),U(0x4,_0x15b52f(_0x24d037))],za);function Ba(){return _0x44fa53(_0x50b5c7,{});}let Va=class extends _0x28b878{constructor(_0x223e44,_0x35bf05,_0x545f52,_0x5b8327,_0x2d68d0){const _0x15387d=_0x16658a;super(_0x223e44,_0x35bf05,_0x545f52,_0x5b8327,_0x2d68d0,{'componentKey':_0x15387d(0x359),'editorUnitId':ia,'toolbarComponent':Ba});}};Va=W([U(0x1,_0x15b52f(_0x80837d)),U(0x2,_0x15b52f(_0x3f84e2)),U(0x3,_0x15b52f(_0x169c16)),U(0x4,_0x15b52f(_0xff4989))],Va);let $=class extends _0x445366{constructor(_0x395ed0=Ea,_0x571037,_0x544624,_0x361a6a,_0x131f98){const _0x1f854f=_0x16658a;super(),this['_config']=_0x395ed0,this[_0x1f854f(0x129)]=_0x571037,this[_0x1f854f(0x313)]=_0x544624,this[_0x1f854f(0x37a)]=_0x361a6a,this[_0x1f854f(0xdd)]=_0x131f98;let {menu:_0x498b04,..._0x199820}=_0x34694b({},Ea,this['_config']);_0x498b04&&this['_configService'][_0x1f854f(0x114)](_0x1f854f(0x1f8),_0x498b04,{'merge':!0x0}),this[_0x1f854f(0x37a)][_0x1f854f(0x114)](_0x1f854f(0x13f),_0x199820),this[_0x1f854f(0x241)]();}['onStarting'](){const _0x53ec9b=_0x16658a;this[_0x53ec9b(0x129)][_0x53ec9b(0x2fc)]([Pa]),this[_0x53ec9b(0x129)][_0x53ec9b(0x250)](Pa),_0x129652(this[_0x53ec9b(0x129)],[[Y],[Q],[Z],[Ia],[G],[J]]),this[_0x53ec9b(0x254)]();}[_0x16658a(0xbb)](){const _0x2bd3dd=_0x16658a;this['_renderManagerService']['registerRenderModule'](_0x3e815f[_0x2bd3dd(0x2a0)],[Ia]),this[_0x2bd3dd(0xdd)]['registerRenderModule'](_0x3e815f[_0x2bd3dd(0x2a0)],[za]),this[_0x2bd3dd(0xdd)][_0x2bd3dd(0x33a)](_0x3e815f[_0x2bd3dd(0x2a0)],[Va]),_0x1e913b(this[_0x2bd3dd(0x129)],[[Y],[Q],[Z],[G],[J]]);}[_0x16658a(0x241)](){const _0x25d8b9=_0x16658a;[B,ra,V]['forEach'](_0x3c0dc4=>this['disposeWithMe'](this[_0x25d8b9(0x313)]['registerCommand'](_0x3c0dc4)));}[_0x16658a(0x254)](){const _0x11154b=_0x16658a;let _0x3c38fb=this[_0x11154b(0x129)],_0x53ac01=_0x3c38fb[_0x11154b(0x250)](_0xda7b61);this[_0x11154b(0x28d)](_0x53ac01[_0x11154b(0x398)](_0x21500d[_0x11154b(0x2e3)],()=>_0x197648(Na,_0x3c38fb)));}};q($,_0x16658a(0x229),_0x3e815f[_0x16658a(0x2a0)]),q($,_0x16658a(0x78),_0x16658a(0x117)),q($,_0x16658a(0xb9),wa),q($,_0x16658a(0x28f),Ta),$=W([_0x441f76(_0x18b2d3,_0x20f802,_0x7c41d3),U(0x1,_0x15b52f(_0x4dfdab)),U(0x2,_0x44ffa4),U(0x3,_0x2675aa),U(0x4,_0x2e40c6)],$);export{ra as CloseDocShapeFormatPanelOperation,Y as DocsShapeUIController,B as MenuInsertShapeCommand,V as OpenDocShapeFormatPanelOperation,$ as UniverDocsShapeUIPlugin};