@univerjs-pro/docs-shape-ui 0.25.1 → 0.25.2

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 (81) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/umd/index.js +1 -1
  62. package/lib/umd/locale/ar-SA.js +1 -1
  63. package/lib/umd/locale/ca-ES.js +1 -1
  64. package/lib/umd/locale/de-DE.js +1 -1
  65. package/lib/umd/locale/en-US.js +1 -1
  66. package/lib/umd/locale/es-ES.js +1 -1
  67. package/lib/umd/locale/fa-IR.js +1 -1
  68. package/lib/umd/locale/fr-FR.js +1 -1
  69. package/lib/umd/locale/id-ID.js +1 -1
  70. package/lib/umd/locale/it-IT.js +1 -1
  71. package/lib/umd/locale/ja-JP.js +1 -1
  72. package/lib/umd/locale/ko-KR.js +1 -1
  73. package/lib/umd/locale/pl-PL.js +1 -1
  74. package/lib/umd/locale/pt-BR.js +1 -1
  75. package/lib/umd/locale/ru-RU.js +1 -1
  76. package/lib/umd/locale/sk-SK.js +1 -1
  77. package/lib/umd/locale/vi-VN.js +1 -1
  78. package/lib/umd/locale/zh-CN.js +1 -1
  79. package/lib/umd/locale/zh-HK.js +1 -1
  80. package/lib/umd/locale/zh-TW.js +1 -1
  81. package/package.json +14 -14
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
+ const _0x33398b=_0x4f67;(function(_0x1b2670,_0x29955e){const _0x44c918=_0x4f67,_0xa688e4=_0x1b2670();while(!![]){try{const _0x3e4f4f=parseInt(_0x44c918(0x3b5))/0x1+-parseInt(_0x44c918(0x15d))/0x2*(parseInt(_0x44c918(0x1ce))/0x3)+-parseInt(_0x44c918(0x239))/0x4*(-parseInt(_0x44c918(0x244))/0x5)+-parseInt(_0x44c918(0x379))/0x6+-parseInt(_0x44c918(0x468))/0x7+parseInt(_0x44c918(0x19c))/0x8*(-parseInt(_0x44c918(0x2e3))/0x9)+parseInt(_0x44c918(0x18f))/0xa;if(_0x3e4f4f===_0x29955e)break;else _0xa688e4['push'](_0xa688e4['shift']());}catch(_0x2ce3ac){_0xa688e4['push'](_0xa688e4['shift']());}}}(_0x1916,0x853d2));import{ImageFillModeEnum as _0x3badc8,ImageSourceTypeEnum as _0x1d04ee,ShapeArrowSizeEnum as _0x2faec4,ShapeArrowTypeEnum as _0x5544b7,ShapeDefaultConfig as _0x42f46a,ShapeFillEnum as _0x4784e1,ShapeGradientTypeEnum as _0x3bebab,ShapeLineCapEnum as _0x575639,ShapeLineDashEnum as _0xbe4313,ShapeLineJoinEnum as _0x3cf0d2,ShapeLineTypeEnum as _0xdfb148,ShapeModel as _0x173d3b,ShapeRenderModeEnum as _0x5b3855,ShapeSketchTypeEnum as _0x342142,ShapeTypeEnum as _0x26dc85,isConnectorShape as _0x59899f}from'@univerjs-pro/engine-shape';import{DEFAULT_DOC_SHAPE_HEIGHT as _0x3b2744,DEFAULT_DOC_SHAPE_WIDTH as _0x399efa,DocsShapeService as _0x3e64dd,InsertDocShapeMutation as _0x2a6e47,UniverDocsShapePlugin as _0x352251,UpdateDocShapeDataCommand as _0x4b2cdf,UpdateDocShapeDataMutation as _0x294395}from'@univerjs-pro/docs-shape';import{BooleanNumber as _0x5503c6,CommandType as _0x377e68,DependentOn as _0x3a01bd,Disposable as _0x5a4164,DocumentDataModel as _0x3e47fb,DrawingTypeEnum as _0x2cfc35,FOCUSING_COMMON_DRAWINGS as _0x167805,FOCUSING_PANEL_EDITOR as _0x56bd1e,FOCUSING_SHAPE_TEXT_EDITOR as _0x165209,HorizontalAlign as _0x1c6b12,ICommandService as _0x557e3b,IConfigService as _0x50f1ff,IContextService as _0x34a8dd,IURLImageService as _0x14d097,IUniverInstanceService as _0x135189,Inject as _0x7cac4f,Injector as _0x1ae4f1,LocaleService as _0x180d67,ObjectRelativeFromH as _0x5364b8,ObjectRelativeFromV as _0x47ec21,Plugin as _0x5ca230,PositionedObjectLayoutType as _0x4a8c75,RedoCommand as _0x17a404,Tools as _0x15e06a,UndoCommand as _0x311e96,UniverInstanceType as _0xc4517f,VerticalAlign as _0x48e091,WrapStrategy as _0x60bbd6,WrapTextType as _0x1a57d1,createInternalEditorID as _0x1cd4e9,deepCompare as _0x5f4dec,generateRandomId as _0x397ae9,merge as _0x3bdc97,registerDependencies as _0x157049,toDisposable as _0x59cf0b,touchDependencies as _0x2ca2b0}from'@univerjs/core';import{DocDrawingPosition as _0x20a8a8,DocDrawingTextWrap as _0x25feb3,InsertDocDrawingCommand as _0x1c5e13,RemoveDocDrawingCommand as _0x3cf27f,UniverDocsDrawingUIPlugin as _0xf1ceb2}from'@univerjs/docs-drawing-ui';import{AlignCenterCommand as _0x3655ae,AlignJustifyCommand as _0x551257,AlignLeftCommand as _0x564dcb,AlignRightCommand as _0x4d1896,BreakLineCommand as _0x227423,BulletListCommand as _0x369c76,DOC_CONTENT_INSERT_MENU_ID as _0x31f96a,DeleteLeftCommand as _0x500258,DeleteRightCommand as _0x427090,DocCanvasPopManagerService as _0x446c52,DocContentInsertService as _0x6501cf,DocParagraphMenuService as _0x4e86f7,DocSelectAllCommand as _0x2f2091,DocSelectionRenderService as _0x342eea,EMPTY_PARAGRAPH_MENU_ID as _0x27636c,FLOAT_TEXT_STYLE_MENU_ID as _0x9bc2f8,FLOAT_TOOLBAR_MENU_POSITION as _0x242cfd,IEditorService as _0x2c48b3,INSERT_BELLOW_MENU_ID as _0x58da4d,OrderListCommand as _0x148d46,SetInlineFormatBoldCommand as _0x581204,SetInlineFormatFontSizeCommand as _0x35cad7,SetInlineFormatItalicCommand as _0x4777fb,SetInlineFormatStrikethroughCommand as _0x37be57,SetInlineFormatSubscriptCommand as _0x44fa07,SetInlineFormatSuperscriptCommand as _0x59ec50,SetInlineFormatTextBackgroundColorCommand as _0x5b35fb,SetInlineFormatTextColorCommand as _0x189435,SetInlineFormatUnderlineCommand as _0x14e5e8,VIEWPORT_KEY as _0x3ac0d1,docDrawingPositionToTransform as _0x389b42,useEditor as _0x61938e,useIsFocusing as _0x47fd30,useKeyboardEvent as _0x5ac6f2,useLeftAndRightArrow as _0x4e7cbc}from'@univerjs/docs-ui';import{CURSOR_TYPE as _0x4f6a44,Circle as _0x5f6a48,DRAWING_OBJECT_LAYER_INDEX as _0x3deeaf,DocumentSkeleton as _0x25b4d4,DocumentViewModel as _0x56ddd0,Documents as _0x27b5be,IRenderManagerService as _0x11e46a,RENDER_CLASS_TYPE as _0x956864,Shape as _0x15ab10,Transform as _0x26603f,VERTICAL_ROTATE_ANGLE as _0xca23f,Vector2 as _0xa94bfd}from'@univerjs/engine-render';import{IDrawingManagerService as _0x34cbe0,IImageIoService as _0x182335,getDrawingShapeKeyByDrawingSearch as _0x241096,getImageSize as _0xf32961}from'@univerjs/drawing';import{AlignBottomIcon as _0x5753c7,AlignTextBothIcon as _0x5999d0,AlignTopIcon as _0x20ef6f,BoldIcon as _0x332b27,DeleteIcon as _0x2f599f,DocSettingIcon as _0x4318be,FontColorDoubleIcon as _0x4a3a5b,HorizontallyIcon as _0xb03298,ItalicIcon as _0x45af6b,LeftJustifyingIcon as _0x192fd6,MoreDownIcon as _0x54b0ad,PaintBucketDoubleIcon as _0x9c4acd,RightJustifyingIcon as _0x329195,ShapeAccentBorderCallout1Icon as _0x4a6b15,ShapeAccentBorderCallout2Icon as _0x50a136,ShapeAccentBorderCallout3Icon as _0x3863b2,ShapeAccentCallout1Icon as _0x2cbf5e,ShapeAccentCallout2Icon as _0xf4f47e,ShapeAccentCallout3Icon as _0x122628,ShapeActionButtonBackPreviousIcon as _0x377ec0,ShapeActionButtonBeginningIcon as _0xbd3111,ShapeActionButtonBlankIcon as _0x242f49,ShapeActionButtonDocumentIcon as _0x541f76,ShapeActionButtonEndIcon as _0x230881,ShapeActionButtonForwardNextIcon as _0x9d70f1,ShapeActionButtonHelpIcon as _0x5581cd,ShapeActionButtonHomeIcon as _0x1beaf0,ShapeActionButtonInformationIcon as _0x4d0612,ShapeActionButtonMovieIcon as _0x1100f0,ShapeActionButtonReturnIcon as _0x102f13,ShapeActionButtonSoundIcon as _0x37c7f9,ShapeArcIcon as _0x3190a2,ShapeBentArrowIcon as _0x5190f9,ShapeBentConnector3Arrow1Icon as _0x172516,ShapeBentConnector3Arrow2Icon as _0x3af101,ShapeBentConnector3Icon as _0x554ab0,ShapeBentUpArrowIcon as _0x16b347,ShapeBevelIcon as _0x224397,ShapeBlockArcIcon as _0x4ae9f6,ShapeBorderCallout1Icon as _0x4233ef,ShapeBorderCallout2Icon as _0x19fdce,ShapeBorderCallout3Icon as _0x2d82f3,ShapeBracePairIcon as _0x4d1389,ShapeBracketPairIcon as _0x339a5e,ShapeCallout1Icon as _0x44c9b6,ShapeCallout2Icon as _0x27ce9a,ShapeCallout3Icon as _0x1b95f0,ShapeCanIcon as _0x4071e1,ShapeChartPlusIcon as _0x4270a1,ShapeChartStarIcon as _0x39b76f,ShapeChartXIcon as _0x3e8cc4,ShapeChevronIcon as _0x552bab,ShapeChordIcon as _0x46f920,ShapeCircularArrowIcon as _0x234c0a,ShapeCloudCalloutIcon as _0x4f934c,ShapeCloudIcon as _0xed80c1,ShapeCornerIcon as _0x1befd4,ShapeCornerTabsIcon as _0x5d1f5d,ShapeCubeIcon as _0x21448f,ShapeCurvedConnector3Arrow1Icon as _0x5949c6,ShapeCurvedConnector3Arrow2Icon as _0x2152ec,ShapeCurvedConnector3Icon as _0x100f5f,ShapeCurvedDownArrowIcon as _0x22f010,ShapeCurvedLeftArrowIcon as _0x15c46d,ShapeCurvedRightArrowIcon as _0x54d79a,ShapeCurvedUpArrowIcon as _0x14e86c,ShapeDecagonIcon as _0x386773,ShapeDiagStripeIcon as _0x3cdb20,ShapeDiamondIcon as _0x56d00f,ShapeDodecagonIcon as _0x700b2e,ShapeDonutIcon as _0x2d9a1a,ShapeDoubleWaveIcon as _0xe4c6f5,ShapeDownArrowCalloutIcon as _0x4907a7,ShapeDownArrowIcon as _0x5431b9,ShapeEllipseIcon as _0x193701,ShapeEllipseRibbon2Icon as _0x4830a1,ShapeEllipseRibbonIcon as _0x579f48,ShapeFlowChartAlternateProcessIcon as _0x365c4b,ShapeFlowChartCollateIcon as _0x58f2f7,ShapeFlowChartConnectorIcon as _0x415e43,ShapeFlowChartDecisionIcon as _0x496022,ShapeFlowChartDelayIcon as _0x16fd64,ShapeFlowChartDisplayIcon as _0x40acfc,ShapeFlowChartDocumentIcon as _0x35afa9,ShapeFlowChartExtractIcon as _0x58b0f9,ShapeFlowChartInputOutputIcon as _0x46eb79,ShapeFlowChartInternalStorageIcon as _0x5a53b7,ShapeFlowChartMagneticDiskIcon as _0x2fdc95,ShapeFlowChartMagneticDrumIcon as _0x11fdc5,ShapeFlowChartMagneticTapeIcon as _0xe992b0,ShapeFlowChartManualInputIcon as _0x435463,ShapeFlowChartManualOperationIcon as _0x51968e,ShapeFlowChartMergeIcon as _0x4c1d41,ShapeFlowChartMultidocumentIcon as _0x302430,ShapeFlowChartOfflineStorageIcon as _0xcc25ea,ShapeFlowChartOffpageConnectorIcon as _0x16d5c4,ShapeFlowChartOnlineStorageIcon as _0x2f9b3d,ShapeFlowChartOrIcon as _0x3b81bc,ShapeFlowChartPredefinedProcessIcon as _0x13618a,ShapeFlowChartPreparationIcon as _0x192e82,ShapeFlowChartProcessIcon as _0x1db259,ShapeFlowChartPunchedCardIcon as _0x3e6a92,ShapeFlowChartPunchedTapeIcon as _0x26ee87,ShapeFlowChartSortIcon as _0x4a4bf6,ShapeFlowChartSummingJunctionIcon as _0x2039e7,ShapeFlowChartTerminatorIcon as _0x107f43,ShapeFolderCornerIcon as _0x2737fe,ShapeFrameIcon as _0x571a64,ShapeFunnelIcon as _0x2ea2b9,ShapeGear6Icon as _0x1310e9,ShapeGear9Icon as _0x147c33,ShapeHalfFrameIcon as _0x350b67,ShapeHeartIcon as _0x3df545,ShapeHeptagonIcon as _0x3031ac,ShapeHexagonIcon as _0x38c519,ShapeHomePlateIcon as _0x176332,ShapeHorizontalScrollIcon as _0x177867,ShapeIcon as _0x33c41c,ShapeIrregularSeal1Icon as _0x3a485,ShapeIrregularSeal2Icon as _0xdd16ff,ShapeLeftArrowCalloutIcon as _0x307cd6,ShapeLeftArrowIcon as _0x390129,ShapeLeftBraceIcon as _0x3a1890,ShapeLeftBracketIcon as _0x1585a5,ShapeLeftCircularArrowIcon as _0x5853bd,ShapeLeftRightArrowCalloutIcon as _0xb2d15e,ShapeLeftRightArrowIcon as _0x5416fc,ShapeLeftRightCircularArrowIcon as _0x1a88e3,ShapeLeftRightRibbonIcon as _0x165097,ShapeLeftRightUpArrowIcon as _0x3add02,ShapeLeftUpArrowIcon as _0x2fbf29,ShapeLightningBoltIcon as _0x27c8cf,ShapeLineIcon as _0x482822,ShapeLineInvIcon as _0x3902e1,ShapeMathDivideIcon as _0x125783,ShapeMathEqualIcon as _0x25fae6,ShapeMathMinusIcon as _0x8b659e,ShapeMathMultiplyIcon as _0xd350a7,ShapeMathNotEqualIcon as _0x1e800a,ShapeMathPlusIcon as _0x55b081,ShapeMoonIcon as _0xe16718,ShapeNoSmokingIcon as _0x1cc7e9,ShapeNonIsoscelesTrapezoidIcon as _0x2fe45c,ShapeNotchedRightArrowIcon as _0x4259af,ShapeOctagonIcon as _0x438ced,ShapeParallelogramIcon as _0x330ee9,ShapePentagonIcon as _0x5830b2,ShapePieIcon as _0xab584f,ShapePieWedgeIcon as _0x423993,ShapePlaqueIcon as _0x51be3a,ShapePlaqueTabsIcon as _0x4c5159,ShapePlusIcon as _0x5747f4,ShapeQuadArrowCalloutIcon as _0x37b490,ShapeQuadArrowIcon as _0x53448f,ShapeRectIcon as _0x486679,ShapeRectTextboxHorizontalIcon as _0x5803bf,ShapeRectTextboxVerticalIcon as _0x48dabb,ShapeRibbon2Icon as _0x5a4213,ShapeRibbonIcon as _0x374d72,ShapeRightArrowCalloutIcon as _0x3cfece,ShapeRightArrowIcon as _0xb4dd96,ShapeRightBraceIcon as _0xec1210,ShapeRightBracketIcon as _0x526a1f,ShapeRound1RectIcon as _0x300dc4,ShapeRound2DiagRectIcon as _0x41cca9,ShapeRound2SameRectIcon as _0xaa2009,ShapeRoundRectIcon as _0x2603aa,ShapeRtTriangleIcon as _0x228147,ShapeSmileyFaceIcon as _0x3ccdb3,ShapeSnip1RectIcon as _0x21a7c5,ShapeSnip2DiagRectIcon as _0x47ab4e,ShapeSnip2SameRectIcon as _0x2aef29,ShapeSnipRoundRectIcon as _0x3928a2,ShapeSquareTabsIcon as _0x14230f,ShapeStar10Icon as _0x497dd4,ShapeStar12Icon as _0x1c4b65,ShapeStar16Icon as _0x272a55,ShapeStar24Icon as _0x3787c0,ShapeStar32Icon as _0xfae9ba,ShapeStar4Icon as _0x3a881e,ShapeStar5Icon as _0x55cc68,ShapeStar6Icon as _0x48d9da,ShapeStar7Icon as _0x483094,ShapeStar8Icon as _0x4d2e3d,ShapeStraightConnector1Icon as _0x59e132,ShapeStraightConnector2Icon as _0x45fda1,ShapeStripedRightArrowIcon as _0x1284d5,ShapeSunIcon as _0x1145e5,ShapeSwooshArrowIcon as _0x528412,ShapeTeardropIcon as _0x3a712d,ShapeTrapezoidIcon as _0x185eb2,ShapeTriangleIcon as _0x46563c,ShapeUpArrowCalloutIcon as _0x3c55e7,ShapeUpArrowIcon as _0x253a6a,ShapeUpDownArrowCalloutIcon as _0xaa4702,ShapeUpDownArrowIcon as _0x57a6be,ShapeUturnArrowIcon as _0x40e964,ShapeVerticalScrollIcon as _0x3b4f23,ShapeWaveIcon as _0x107c42,ShapeWedgeEllipseCalloutIcon as _0x1c29f9,ShapeWedgeRectCalloutIcon as _0x4d5a98,ShapeWedgeRoundRectCalloutIcon as _0x31b201,StrikethroughIcon as _0x3d49ce,UnderlineIcon as _0x57438f,VerticalCenterIcon as _0x251cf3}from'@univerjs/icons';import{BuiltInUIPart as _0x268b5f,ComponentManager as _0x4e1606,ContextMenuGroup as _0x23dcd7,ContextMenuPosition as _0x343723,FONT_SIZE_LIST as _0x516cbf,IFontService as _0x589d77,IMenuManagerService as _0x54b677,ISidebarService as _0x401ba3,IUIPartsService as _0x11b98c,KeyCode as _0x474172,MenuItemType as _0x484cff,MenuManagerPosition as _0x28943f,MetaKeys as _0x4c8cc3,RibbonInsertGroup as _0x304116,ToolbarItem as _0x3f069b,connectInjector as _0x20dcd1,getMenuHiddenObservable as _0x23870a,useDependency as _0x1713c6,useObservable as _0x3f8211}from'@univerjs/ui';import{BehaviorSubject as _0x4787f2}from'rxjs';import{Accordion as _0x4011d1,Button as _0x1ebe2a,Checkbox as _0x2481af,ColorPicker as _0x4ce32e,Dropdown as _0x40cd3e,GradientColorPicker as _0x2c6b4c,InputNumber as _0x462112,Radio as _0x3368ac,RadioGroup as _0x9aec01,Select as _0x341d44,Tooltip as _0x1e88cc,borderClassName as _0x3476d2,clsx as _0x10bfbb}from'@univerjs/design';import{memo as _0x24ba57,useCallback as _0xde8e53,useEffect as _0x16da6b,useMemo as _0x559b10,useRef as _0x57cd21,useState as _0x1fc818}from'react';import{DrawingCommonPanel as _0x1e8987,DrawingImageClipService as _0x1ee254,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x4922dd,insertGroupObject as _0x20e7b3}from'@univerjs/drawing-ui';import{Fragment as _0x424f81,jsx as _0x296c54,jsxs as _0x11cded}from'react/jsx-runtime';import{UniverLicensePlugin as _0x414a6e}from'@univerjs-pro/license';import{DocSelectionManagerService as _0x44927b,DocSkeletonManagerService as _0x32b67f,RichTextEditingMutation as _0x541eb7}from'@univerjs/docs';const Xa=_0x33398b(0x197),Za=_0x33398b(0x4ed);function Qa(_0x96fbd3,_0x5dad1d){const _0x54ad58=_0x33398b;if(_0x5dad1d){if(_0x59899f(_0x96fbd3)&&(_0x5dad1d['startArrow']||_0x5dad1d['endArrow']))return{'ln':{'startArrow':_0x5dad1d[_0x54ad58(0x4db)]?{'type':_0x5544b7['Arrow'],'size':_0x2faec4[_0x54ad58(0x20d)]}:void 0x0,'endArrow':_0x5dad1d[_0x54ad58(0x44b)]?{'type':_0x5544b7['Arrow'],'size':_0x2faec4['Large']}:void 0x0}};if(_0x96fbd3===_0x26dc85['Rect']&&(_0x5dad1d[_0x54ad58(0x1f7)]||_0x5dad1d[_0x54ad58(0x262)]))return{'fill':{'fillType':_0x4784e1[_0x54ad58(0x109)],'color':Xa},'stroke':{'lineStrokeType':_0xdfb148['SolidLine'],'width':0x1,'color':Za},'shapeText':{'isHorizontal':!!_0x5dad1d[_0x54ad58(0x1f7)]}};}}function $a(_0x4cfde3,_0x36ae90){const _0x144927=_0x33398b;var _0x1836b3;let _0x16e50a=_0x4cfde3['get'](_0x11e46a)['getRenderById'](_0x36ae90),_0x2b49ca=_0x16e50a==null||(_0x1836b3=_0x16e50a[_0x144927(0x359)](_0x342eea)[_0x144927(0x51a)]())==null?void 0x0:_0x1836b3['getAbsolutePosition']();return _0x2b49ca?{'left':_0x2b49ca[_0x144927(0x4ee)],'top':_0x2b49ca[_0x144927(0x1c2)]}:null;}function eo(_0xad753a,_0x1f11b2,_0x372a1b){const _0x178726=_0x33398b;var _0xa00c31,_0x598254,_0x3e8387;if(!_0x372a1b)return null;let _0x5cdaef=_0xad753a[_0x178726(0x3f8)](_0x11e46a)['getRenderById'](_0x1f11b2),_0xdfebec=_0x5cdaef==null?void 0x0:_0x5cdaef[_0x178726(0x359)](_0x4e86f7)[_0x178726(0x157)];if(!_0xdfebec)return null;let _0x18f1d1=_0x372a1b==='below'?{'startOffset':_0xdfebec[_0x178726(0x479)][_0x178726(0x513)],'endOffset':_0xdfebec[_0x178726(0x479)][_0x178726(0x513)]}:_0xdfebec[_0x178726(0x102)];return{'range':{'unitId':_0x1f11b2,'startOffset':_0x18f1d1[_0x178726(0x3ce)],'endOffset':_0x18f1d1[_0x178726(0x513)],'segmentId':(_0xa00c31=(_0x598254=_0xdfebec[_0x178726(0x2ee)])==null?void 0x0:_0x598254[_0x178726(0x4d2)])==null?'':_0xa00c31},'position':(_0x3e8387=_0xdfebec[_0x178726(0x2ee)])!=null&&_0x3e8387[_0x178726(0x178)]?{'left':_0xdfebec[_0x178726(0x2ee)][_0x178726(0x178)][_0x178726(0x4ee)],'top':_0x372a1b==='below'?_0xdfebec[_0x178726(0x2ee)][_0x178726(0x178)][_0x178726(0x1a1)]:_0xdfebec[_0x178726(0x2ee)]['rect'][_0x178726(0x1c2)]}:null};}function to(_0x2b1f1c,_0xab1ecc,_0x4ae490){const _0xa0b475=_0x33398b;var _0x20f2bb;return{'size':{'width':_0x2b1f1c,'height':_0xab1ecc},'positionH':{'relativeFrom':_0x5364b8[_0xa0b475(0xa4)],'posOffset':(_0x20f2bb=_0x4ae490==null?void 0x0:_0x4ae490[_0xa0b475(0x4ee)])==null?0x0:_0x20f2bb},'positionV':{'relativeFrom':_0x47ec21[_0xa0b475(0x1ac)],'posOffset':0x0},'angle':0x0};}const no={'type':_0x377e68['COMMAND'],'id':_0x33398b(0x11b),'handler':async(_0x1c8890,_0x3afa1c)=>{const _0x1e36bf=_0x33398b;var _0x4969df,_0x56e0b3,_0x41e022,_0x4cd38b,_0x370d1b,_0x4d3041;let _0x177102=_0x1c8890['get'](_0x135189)[_0x1e36bf(0x2c4)]();if(!_0x177102)return!0x1;let _0x373738=_0x1c8890['get'](_0x557e3b),_0x135a8a=_0x177102[_0x1e36bf(0x529)](),_0x21796c=_0x135a8a,_0x175542=(_0x4969df=_0x3afa1c[_0x1e36bf(0xcd)])==null?_0x397ae9():_0x4969df,_0x3b9216=(_0x56e0b3=_0x3afa1c[_0x1e36bf(0x297)])==null?_0x399efa:_0x56e0b3,_0x3036b7=(_0x41e022=_0x3afa1c[_0x1e36bf(0x299)])==null?_0x3b2744:_0x41e022,_0x3f8cf4=(_0x4cd38b=(_0x370d1b=_0x3afa1c[_0x1e36bf(0x2f2)])==null?Qa(_0x3afa1c[_0x1e36bf(0x404)],_0x3afa1c[_0x1e36bf(0x2e7)]):_0x370d1b)==null?{'fill':{'fillType':_0x4784e1[_0x1e36bf(0x109)],'color':Xa},'stroke':{'lineStrokeType':_0xdfb148['SolidLine'],'width':0x1,'color':Za}}:_0x4cd38b,_0x547fb4=eo(_0x1c8890,_0x135a8a,_0x3afa1c[_0x1e36bf(0x14e)]),_0x2f86b1=(_0x4d3041=_0x547fb4==null?void 0x0:_0x547fb4['position'])==null?$a(_0x1c8890,_0x135a8a):_0x4d3041,_0x73dfca=to(_0x3b9216,_0x3036b7,_0x2f86b1),_0x4ab395=_0x389b42(_0x73dfca);_0x4ab395&&_0x2f86b1&&(_0x4ab395['top']=_0x2f86b1['top']),_0x373738[_0x1e36bf(0x496)](_0x2a6e47['id'],{'unitId':_0x135a8a,'shapeId':_0x175542,'shapeType':_0x3afa1c['value'],'shapeData':_0x3f8cf4}),_0x547fb4&&_0x1c8890[_0x1e36bf(0x3f8)](_0x6501cf)[_0x1e36bf(0x3b3)](_0x547fb4[_0x1e36bf(0x483)]);let _0x584fc7={'unitId':_0x135a8a,'subUnitId':_0x21796c,'drawingId':_0x175542,'drawingType':_0x2cfc35[_0x1e36bf(0x428)],'transform':_0x4ab395,'docTransform':_0x73dfca,'data':{'shapeType':_0x3afa1c[_0x1e36bf(0x404)],'shapeData':_0x3f8cf4},'behindDoc':_0x5503c6['FALSE'],'title':'','description':'','layoutType':_0x4a8c75[_0x1e36bf(0x2e4)],'wrapText':_0x1a57d1['BOTH_SIDES'],'distB':0x0,'distL':0x0,'distR':0x0,'distT':0x0,'allowTransform':!0x0};return!!_0x373738[_0x1e36bf(0x496)](_0x1c5e13['id'],{'unitId':_0x135a8a,'drawings':[_0x584fc7]});}},ro={'type':_0x377e68[_0x33398b(0x326)],'id':'doc.operation.close-doc-shape-format-panel','handler'(){return!0x0;}},io={'type':_0x377e68[_0x33398b(0x326)],'id':_0x33398b(0x4b2),'handler'(){return!0x0;}},ao=_0x33398b(0x3a5),oo=_0x1cd4e9(_0x33398b(0x29a));function so(_0x7a83ab){'@babel/helpers - typeof';const _0x3844eb=_0x33398b;return so=typeof Symbol==_0x3844eb(0x2dd)&&typeof Symbol[_0x3844eb(0x253)]==_0x3844eb(0x430)?function(_0x44ab19){return typeof _0x44ab19;}:function(_0x4bea32){const _0x5e2548=_0x3844eb;return _0x4bea32&&typeof Symbol==_0x5e2548(0x2dd)&&_0x4bea32[_0x5e2548(0x491)]===Symbol&&_0x4bea32!==Symbol[_0x5e2548(0x10f)]?_0x5e2548(0x430):typeof _0x4bea32;},so(_0x7a83ab);}function co(_0x4330f5,_0x195823){const _0x3bed87=_0x33398b;if(so(_0x4330f5)!=_0x3bed87(0x3a3)||!_0x4330f5)return _0x4330f5;var _0x42b137=_0x4330f5[Symbol[_0x3bed87(0x380)]];if(_0x42b137!==void 0x0){var _0x2fd45b=_0x42b137['call'](_0x4330f5,_0x195823||_0x3bed87(0x45e));if(so(_0x2fd45b)!=_0x3bed87(0x3a3))return _0x2fd45b;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x195823===_0x3bed87(0x3e0)?String:Number)(_0x4330f5);}function lo(_0x16c3e7){const _0x490add=_0x33398b;var _0x96da5a=co(_0x16c3e7,'string');return so(_0x96da5a)==_0x490add(0x430)?_0x96da5a:_0x96da5a+'';}function Z(_0x244864,_0xd59d1d,_0xe033e8){const _0x27be4e=_0x33398b;return(_0xd59d1d=lo(_0xd59d1d))in _0x244864?Object[_0x27be4e(0x1da)](_0x244864,_0xd59d1d,{'value':_0xe033e8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x244864[_0xd59d1d]=_0xe033e8,_0x244864;}var uo=class extends _0x5a4164{constructor(..._0x28cc06){const _0x1a78f0=_0x33398b;super(..._0x28cc06),Z(this,_0x1a78f0(0x142),new _0x4787f2(null)),Z(this,_0x1a78f0(0xa5),this[_0x1a78f0(0x142)][_0x1a78f0(0xc3)]()),Z(this,_0x1a78f0(0x1d0),new _0x4787f2(!0x1)),Z(this,_0x1a78f0(0x3d6),this[_0x1a78f0(0x1d0)][_0x1a78f0(0xc3)]());}['dispose'](){const _0xa64db4=_0x33398b;this['_editingParams$'][_0xa64db4(0x37a)](null),this[_0xa64db4(0x142)][_0xa64db4(0xe1)](),this[_0xa64db4(0x1d0)]['next'](!0x1),this[_0xa64db4(0x1d0)]['complete'](),super[_0xa64db4(0x2db)]();}[_0x33398b(0x3ea)](_0x240028){const _0x14174d=_0x33398b;this[_0x14174d(0x142)][_0x14174d(0x37a)](_0x240028),_0x240028==null&&this[_0x14174d(0x1d0)]['next'](!0x1);}[_0x33398b(0x4d0)](_0x903bc5){const _0x4cf26=_0x33398b;this[_0x4cf26(0x1d0)][_0x4cf26(0x37a)](_0x903bc5);}[_0x33398b(0x227)](){const _0x573921=_0x33398b;return this['_editingParams$'][_0x573921(0x23a)]();}};function Q(_0x1a5f13,_0x3ea37e,_0x4733f3,_0x22fcc6,_0x1b98c2,_0x5ec742){const _0x3cce7f=_0x33398b;let _0x75e7d0={'unitId':_0x3ea37e,'shapeId':_0x22fcc6,'shapeData':_0x5ec742,'oldShapeJSON':_0x1b98c2};return _0x1a5f13[_0x3cce7f(0x4e7)](_0x4b2cdf['id'],_0x75e7d0);}function fo(_0x553b5d,_0x104a7d,_0x6dd905,_0x1aa33f,_0x454352,_0x155aa2){const _0x3f7137=_0x33398b;let _0x3c4ae1={'unitId':_0x104a7d,'shapeId':_0x1aa33f,'shapeData':_0x155aa2,'oldShapeJSON':_0x454352};return _0x553b5d[_0x3f7137(0x4e7)](_0x4b2cdf['id'],_0x3c4ae1);}function po(_0x8bb211,_0x144b78){const _0x46879c=_0x33398b;var _0x2293e3;let {isHorizontal:_0x18aab4,textRect:_0x3a1039,verticalAlign:_0x28f676}=_0x144b78,_0x3b0a53=_0x18aab4?_0x3a1039[_0x46879c(0x297)]:_0x3a1039[_0x46879c(0x299)],_0x51be9b=_0x15e06a[_0x46879c(0x480)](_0x8bb211),_0x91c64e=(_0x2293e3=_0x51be9b[_0x46879c(0x3c1)])==null?{}:_0x2293e3,_0xf48612={..._0x91c64e['renderConfig'],'centerAngle':_0x18aab4?0x0:_0xca23f,'vertexAngle':_0x18aab4?0x0:_0xca23f,'wrapStrategy':_0x60bbd6['WRAP']};if(_0x28f676!==void 0x0&&(_0xf48612[_0x46879c(0x159)]=_0x28f676),_0x144b78['horizontalAlign']!==void 0x0){var _0x447b97;_0xf48612[_0x46879c(0x2d3)]=_0x144b78[_0x46879c(0x2d3)];let _0xcfcefd=(_0x447b97=_0x51be9b[_0x46879c(0x11a)])==null?void 0x0:_0x447b97[_0x46879c(0x11e)];if(_0xcfcefd){for(let _0x3a5223 of _0xcfcefd)_0x3a5223['paragraphStyle']||(_0x3a5223[_0x46879c(0x4da)]={}),_0x3a5223[_0x46879c(0x4da)][_0x46879c(0x2d3)]=_0x144b78[_0x46879c(0x2d3)];}}return _0x51be9b[_0x46879c(0x3c1)]={..._0x91c64e,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x3b0a53,'height':0x1/0x0},'renderConfig':_0xf48612},_0x51be9b;}function mo(_0xcf91ff){const _0x368cce=_0x33398b;var _0x3c4b10;let _0x5cdcc2=_0x15e06a[_0x368cce(0x480)](_0xcf91ff),_0xa229f=(_0x3c4b10=_0x5cdcc2[_0x368cce(0x3c1)])==null?{}:_0x3c4b10,_0x4740e9={..._0xa229f[_0x368cce(0x2a2)]};return delete _0x4740e9[_0x368cce(0x218)],delete _0x4740e9[_0x368cce(0xec)],delete _0x4740e9[_0x368cce(0x159)],delete _0x4740e9[_0x368cce(0x302)],_0x5cdcc2[_0x368cce(0x3c1)]={..._0xa229f,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x368cce(0x3a2)](_0x4740e9)[_0x368cce(0x366)]>0x0?_0x4740e9:void 0x0},_0x5cdcc2;}function _0x4f67(_0x40316d,_0x2665ee){_0x40316d=_0x40316d-0xa1;const _0x191659=_0x1916();let _0x4f67d2=_0x191659[_0x40316d];return _0x4f67d2;}var ho=class extends _0x15ab10{constructor(_0x3dd539,_0x331eed){const _0x4e75a4=_0x33398b;super(_0x3dd539,_0x331eed),Z(this,_0x4e75a4(0x420),void 0x0),Z(this,_0x4e75a4(0x2bd),!0x0),Z(this,_0x4e75a4(0x2e0),_0x2cfc35['DRAWING_SHAPE']),Z(this,_0x4e75a4(0x182),!0x0),this[_0x4e75a4(0x420)]={..._0x331eed},this['_init']();}[_0x33398b(0x27a)](){const _0x159a9f=_0x33398b;this[_0x159a9f(0x223)][_0x159a9f(0x1a3)](_0x153b5f=>{this['_updateSrcRectByTransform'](_0x153b5f);});}[_0x33398b(0x1ef)](_0x4d4a4c){const _0x5078bb=_0x33398b;this[_0x5078bb(0x420)][_0x5078bb(0xd1)]=_0x4d4a4c;}[_0x33398b(0x3ea)](_0x281257){const _0x4e26c0=_0x33398b;this[_0x4e26c0(0x420)][_0x4e26c0(0x28e)]=_0x281257,this[_0x4e26c0(0x330)](!0x0);}get['unitId'](){const _0x18dca4=_0x33398b;return this[_0x18dca4(0x420)][_0x18dca4(0x121)];}get[_0x33398b(0x40a)](){return this['_props']['subUnitId'];}[_0x33398b(0x234)](_0x23e989){const _0x1fa99d=_0x33398b;if(this[_0x1fa99d(0x420)][_0x1fa99d(0x41d)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x21d364,height:_0x51fdd5}=this,{width:_0x3905b0=0x0,height:_0x3d1280=0x0}=_0x23e989[_0x1fa99d(0x2b1)],{left:_0x5d58fe=0x0,top:_0x30ffa2=0x0,right:_0x174ef6=0x0,bottom:_0x459aa3=0x0}=this[_0x1fa99d(0x420)][_0x1fa99d(0x41d)],_0x54af95=_0x5d58fe,_0x2a2ec8=_0x30ffa2,_0x3d1e4b=_0x174ef6,_0x7bf153=_0x459aa3,_0x3e842c=!0x1;if(_0x3905b0!==0x0&&_0x3905b0!==_0x21d364){let _0x276159=_0x5d58fe/_0x3905b0,_0x1e769d=_0x174ef6/_0x3905b0;_0x54af95=_0x21d364*_0x276159,_0x3d1e4b=_0x21d364*_0x1e769d,_0x3e842c=!0x0;}if(_0x3d1280!==0x0&&_0x3d1280!==_0x51fdd5){let _0x2e5295=_0x30ffa2/_0x3d1280,_0x50b07e=_0x459aa3/_0x3d1280;_0x2a2ec8=_0x51fdd5*_0x2e5295,_0x7bf153=_0x51fdd5*_0x50b07e,_0x3e842c=!0x0;}_0x3e842c&&this[_0x1fa99d(0xc2)]({'left':_0x54af95,'top':_0x2a2ec8,'right':_0x3d1e4b,'bottom':_0x7bf153});}[_0x33398b(0xc2)](_0x1f0580){const _0x3c2113=_0x33398b;this[_0x3c2113(0x420)]['srcRect']=_0x1f0580,this['makeDirty'](!0x0);}[_0x33398b(0x207)](_0x58738a){const _0x11adce=_0x33398b;this['_props'][_0x11adce(0x49b)]=_0x58738a,this[_0x11adce(0x330)](!0x0);}set[_0x33398b(0x2bc)](_0x9786be){this['_transform']=_0x9786be;}get[_0x33398b(0x2bc)](){const _0x50090b=_0x33398b;this[_0x50090b(0xb9)]||this['_setTransForm']();let _0x444221=this[_0x50090b(0xb9)]['clone']();return this[_0x50090b(0x18b)](_0x444221);}get['shapeModel'](){const _0x46e6df=_0x33398b;return this['_props'][_0x46e6df(0x1f8)];}get[_0x33398b(0xcd)](){const _0x43011e=_0x33398b;return this[_0x43011e(0x420)]['shapeId'];}get[_0x33398b(0x4c4)](){const _0x395c09=_0x33398b;return _0x956864[_0x395c09(0xf8)];}[_0x33398b(0x272)](_0xaa1d10,_0x15e71e,_0x479264,_0x223615){const _0x30c315=_0x33398b;let _0x1b2f0c=this['_props'][_0x30c315(0x1f8)];if(!_0x1b2f0c||!_0x15e71e)return;let _0x5814b7=_0x479264==null?this[_0x30c315(0x297)]:_0x479264,_0x43b37b=_0x223615==null?this['height']:_0x223615,_0x56efd8={'shapeType':_0x1b2f0c[_0x30c315(0xef)](),'width':_0x5814b7,'height':_0x43b37b},_0x133cd8={'renderMode':_0x5b3855['Path'],'oKey':this[_0x30c315(0x35e)],'image':this[_0x30c315(0x420)]['image'],'angle':this[_0x30c315(0x494)]};_0x1b2f0c['updateContext'](_0x56efd8),_0xaa1d10['save']();let _0x24d059={'top':0x0,'left':0x0,'width':_0x5814b7,'height':_0x43b37b};_0x1b2f0c['render'](_0xaa1d10,_0x24d059,_0x133cd8),_0xaa1d10['restore']();let _0x47f083=_0x1b2f0c['getShapeTextData'](),_0xe6787f=_0x1b2f0c['getShapeTextRect'](_0x24d059),_0xc91411=_0x1b2f0c['isLineShape']();if(_0x47f083&&_0xe6787f&&!_0xc91411){_0xaa1d10[_0x30c315(0x324)](),this[_0x30c315(0x499)]()[_0x30c315(0x477)]&&_0xaa1d10[_0x30c315(0x3b8)](-0x1,0x1);let _0x5ac7d5=_0x5814b7/0x2,_0x856986=_0x43b37b/0x2;_0xaa1d10['translate'](-_0x5ac7d5,-_0x856986),_0xaa1d10[_0x30c315(0x1dd)](),this['_drawShapeText'](_0xaa1d10,_0x47f083,_0xe6787f),_0xaa1d10[_0x30c315(0x3f9)]();}}[_0x33398b(0x3e2)](_0x48b766){}['_drawShapeText'](_0x24853a,_0x2a28f4,_0x15ff35){const _0x5e4f6e=_0x33398b;this['_props'][_0x5e4f6e(0x28e)]||(_0x5e4f6e(0x230)in _0x2a28f4&&_0x2a28f4[_0x5e4f6e(0x230)]===!0x1?this[_0x5e4f6e(0x344)](_0x24853a,_0x2a28f4,_0x15ff35):this[_0x5e4f6e(0x43e)](_0x24853a,_0x2a28f4,_0x15ff35));}[_0x33398b(0x344)](_0x20cc8a,_0x32fe77,_0x666fc3){}['_drawRichText'](_0x1c1600,_0x216d41,_0x2a2748){const _0x7c14db=_0x33398b;var _0x413c4a,_0xf2768a;let _0x4cdc42=this[_0x7c14db(0x420)][_0x7c14db(0x435)];if(!_0x216d41[_0x7c14db(0x4e1)]||!_0x4cdc42){_0x4cdc42||console[_0x7c14db(0x2f9)](_0x7c14db(0x43d));return;}let _0x458c3e=_0x216d41[_0x7c14db(0x4e1)],_0x175c4e=_0x458c3e[_0x7c14db(0x2ad)],_0x3213ce=(_0x413c4a=_0x458c3e['va'])==null?_0x48e091['TOP']:_0x413c4a,_0x674bb2=(_0xf2768a=_0x458c3e['ha'])==null?_0x1c6b12[_0x7c14db(0x313)]:_0xf2768a;if(!_0x175c4e)return;let _0x4ca229=_0x216d41[_0x7c14db(0x2c9)],_0x3fa6a3=new _0x3e47fb(po(_0x175c4e,{'isHorizontal':_0x4ca229!==!0x1,'textRect':_0x2a2748,'verticalAlign':_0x3213ce,'horizontalAlign':_0x674bb2})),_0x36cc6b=new _0x56ddd0(_0x3fa6a3),_0x1f6214=_0x25b4d4['create'](_0x36cc6b,_0x4cdc42);_0x1f6214[_0x7c14db(0x164)]();let _0x47ebb2=new _0x27b5be(_0x7c14db(0x1cd)+this[_0x7c14db(0x35e)],_0x1f6214,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x47ebb2[_0x7c14db(0x3d1)](_0x2a2748[_0x7c14db(0x297)],_0x2a2748[_0x7c14db(0x299)]),_0x1c1600[_0x7c14db(0x324)](),_0x1c1600[_0x7c14db(0x245)](_0x2a2748[_0x7c14db(0x4ee)],_0x2a2748[_0x7c14db(0x1c2)]),_0x1c1600[_0x7c14db(0x1dd)](),_0x1c1600['rect'](0x0,0x0,_0x2a2748[_0x7c14db(0x297)],_0x2a2748[_0x7c14db(0x299)]),_0x1c1600[_0x7c14db(0x199)](),_0x47ebb2[_0x7c14db(0x426)](_0x1c1600),_0x1c1600[_0x7c14db(0x3f9)](),_0x47ebb2[_0x7c14db(0x2db)](),_0x1f6214[_0x7c14db(0x2db)](),_0x36cc6b[_0x7c14db(0x2db)](),_0x3fa6a3[_0x7c14db(0x2db)]();}['render'](_0x5f2f12,_0x51d5d0,_0x5bfba6=!0x1){const _0x485f9a=_0x33398b;if(!this[_0x485f9a(0x33a)])return this[_0x485f9a(0x330)](!0x1),this;let {width:_0x5eb990,height:_0x1a927b,left:_0x24f086,top:_0x3c1eb4}=this,_0x163968=this[_0x485f9a(0xe6)]();if(_0x5eb990=_0x163968['width'],_0x1a927b=_0x163968['height'],_0x24f086=_0x163968[_0x485f9a(0x4ee)],_0x3c1eb4=_0x163968[_0x485f9a(0x1c2)],this[_0x485f9a(0x447)](_0x51d5d0)){let {top:_0x331cda,left:_0x2a6fe6,bottom:_0x2ec8e8,right:_0x415de5}=_0x51d5d0[_0x485f9a(0x49c)];if(_0x5eb990+this['strokeWidth']+_0x24f086<_0x2a6fe6||_0x415de5<_0x24f086||_0x1a927b+this['strokeWidth']+_0x3c1eb4<_0x331cda||_0x2ec8e8<_0x3c1eb4)return this;}let _0x3145ab=_0x24f086+_0x5eb990/0x2,_0x51d0a3=_0x3c1eb4+_0x1a927b/0x2,_0x1aea7e=this[_0x485f9a(0x2bc)][_0x485f9a(0x46b)]();if(this[_0x485f9a(0x420)][_0x485f9a(0x28e)]){let _0x34c634=this[_0x485f9a(0x499)](),_0x80045e=new _0x26603f();_0x80045e[_0x485f9a(0x434)]({..._0x34c634}),_0x1aea7e=_0x80045e[_0x485f9a(0x46b)]();}return _0x5f2f12[_0x485f9a(0x324)](),this['_props'][_0x485f9a(0x1f8)][_0x485f9a(0xe9)]===!0x0||_0x5f2f12[_0x485f9a(0x2bc)](_0x1aea7e[0x0],_0x1aea7e[0x1],_0x1aea7e[0x2],_0x1aea7e[0x3],_0x3145ab,_0x51d0a3),this[_0x485f9a(0x272)](_0x5f2f12,_0x51d5d0,_0x5eb990,_0x1a927b),_0x5f2f12[_0x485f9a(0x3f9)](),this['makeDirty'](!0x1),this;}[_0x33398b(0x397)](_0x584c9f){const _0x3b4cfc=_0x33398b;let {left:_0x98b30d,top:_0xb9fd9,width:_0x2cf543,height:_0x48d03e}=this[_0x3b4cfc(0xe6)](),_0x4ad9a1=this['transform']['getMatrix'](),_0x3d9972=_0x98b30d+_0x2cf543/0x2,_0x373131=_0xb9fd9+_0x48d03e/0x2,_0x3aa3d1=new _0x26603f([_0x4ad9a1[0x0],_0x4ad9a1[0x1],_0x4ad9a1[0x2],_0x4ad9a1[0x3],_0x3d9972,_0x373131]),_0x4623c5=this[_0x3b4cfc(0x115)]();return(this[_0x3b4cfc(0x286)]&&(_0x4623c5==null?void 0x0:_0x4623c5[_0x3b4cfc(0x4c4)])===_0x956864['GROUP']?_0x4623c5[_0x3b4cfc(0x3a6)][_0x3b4cfc(0x155)](_0x3aa3d1):_0x3aa3d1)[_0x3b4cfc(0x165)]()[_0x3b4cfc(0x49f)](_0x584c9f);}['isHit'](_0x5afc96){const _0x2512c6=_0x33398b;let {left:_0x35459f,top:_0x43cb46,width:_0xc99fa3,height:_0xdc82e4}=this[_0x2512c6(0xe6)](),_0xd302eb=_0x35459f+_0xc99fa3/0x2,_0x316ad1=_0x43cb46+_0xdc82e4/0x2,_0x4da54d=this[_0x2512c6(0x2bc)][_0x2512c6(0x46b)](),_0x2ad78a=new _0x26603f([_0x4da54d[0x0],_0x4da54d[0x1],_0x4da54d[0x2],_0x4da54d[0x3],_0xd302eb,_0x316ad1]),_0x437bd1=this[_0x2512c6(0x115)](),_0x14fbe1=(this[_0x2512c6(0x286)]&&(_0x437bd1==null?void 0x0:_0x437bd1['classType'])===_0x956864['GROUP']?_0x437bd1[_0x2512c6(0x3a6)][_0x2512c6(0x155)](_0x2ad78a):_0x2ad78a)[_0x2512c6(0x165)]()[_0x2512c6(0x49f)](_0x5afc96),_0x35f439=_0xc99fa3/0x2,_0x40e071=_0xdc82e4/0x2,_0x3a6ade=this[_0x2512c6(0x420)][_0x2512c6(0x1f8)];return _0x3a6ade&&_0x3a6ade[_0x2512c6(0x28d)]()?_0x3a6ade[_0x2512c6(0xae)](_0x14fbe1['x'],_0x14fbe1['y'],_0xc99fa3,_0xdc82e4):_0x14fbe1['x']>=-_0x35f439-this[_0x2512c6(0x394)]/0x2&&_0x14fbe1['x']<=_0x35f439+this['strokeWidth']/0x2&&_0x14fbe1['y']>=-_0x40e071-this[_0x2512c6(0x394)]/0x2&&_0x14fbe1['y']<=_0x40e071+this[_0x2512c6(0x394)]/0x2;}[_0x33398b(0x2db)](){const _0x1073ee=_0x33398b;this[_0x1073ee(0x420)][_0x1073ee(0x1f8)]=null,super[_0x1073ee(0x2db)]();}};function $(_0x53329d,_0x4fa7bf){return function(_0x274fef,_0x48a2b6){_0x4fa7bf(_0x274fef,_0x48a2b6,_0x53329d);};}function go(_0x5bb19a,_0x4f6430,_0x368f69,_0x283a7e){const _0x810394=_0x33398b;var _0x385111=arguments[_0x810394(0x366)],_0x568873=_0x385111<0x3?_0x4f6430:_0x283a7e===null?_0x283a7e=Object[_0x810394(0x2ec)](_0x4f6430,_0x368f69):_0x283a7e,_0x305d40;if(typeof Reflect==_0x810394(0x3a3)&&typeof Reflect['decorate']==_0x810394(0x2dd))_0x568873=Reflect[_0x810394(0x175)](_0x5bb19a,_0x4f6430,_0x368f69,_0x283a7e);else{for(var _0x2d6a4a=_0x5bb19a[_0x810394(0x366)]-0x1;_0x2d6a4a>=0x0;_0x2d6a4a--)(_0x305d40=_0x5bb19a[_0x2d6a4a])&&(_0x568873=(_0x385111<0x3?_0x305d40(_0x568873):_0x385111>0x3?_0x305d40(_0x4f6430,_0x368f69,_0x568873):_0x305d40(_0x4f6430,_0x368f69))||_0x568873);}return _0x385111>0x3&&_0x568873&&Object[_0x810394(0x1da)](_0x4f6430,_0x368f69,_0x568873),_0x568873;}let _o=class extends _0x5a4164{constructor(_0x141337,_0x51e1aa,_0x4bbda4,_0x4fae49,_0x38a970,_0x48dcc8){const _0x30790d=_0x33398b;super(),this[_0x30790d(0x304)]=_0x141337,this['_docsShapeService']=_0x51e1aa,this['_localeService']=_0x4bbda4,this['_imageIoService']=_0x4fae49,this[_0x30790d(0x114)]=_0x38a970,this[_0x30790d(0x3e8)]=_0x48dcc8;}[_0x33398b(0x383)](_0x93f517,_0x12167f){const _0x3627d7=_0x33398b;let {transform:_0x3fc11f,drawingType:_0x2786e4,srcRect:_0x1b568d,prstGeom:_0x50e6e9,groupId:_0x33d10f,unitId:_0x152710,subUnitId:_0x2f682c,drawingId:_0x1d7ff9,isMultiTransform:_0x179754,transforms:_0x2311e3,hidden:_0xdac987}=_0x93f517;if(_0x2786e4!==_0x2cfc35['DRAWING_SHAPE']||!this['_drawingManagerService']['getDrawingVisible']()||_0x3fc11f==null)return;let _0x4ab32e=_0x179754&&_0x2311e3?_0x2311e3:[_0x3fc11f],_0x322009=[];for(let _0x17f3b4 of _0x4ab32e){let {left:_0xe8be30,top:_0x486ad6,width:_0xd92a6f,height:_0x4268de,angle:_0x39ab89,flipX:_0x4f0c54,flipY:_0x405e19,skewX:_0x29ce0a,skewY:_0x5a94ad}=_0x17f3b4,_0xbdda7a=_0x4ab32e[_0x3627d7(0x16b)](_0x17f3b4),_0x1f9641=_0x241096({'unitId':_0x152710,'subUnitId':_0x2f682c,'drawingId':_0x1d7ff9},_0x179754?_0xbdda7a:void 0x0),_0x13d7bc=_0x12167f[_0x3627d7(0x28b)](_0x1f9641);if(_0x13d7bc!=null){_0x13d7bc[_0x3627d7(0x22d)]({'left':_0xe8be30,'top':_0x486ad6,'width':_0xd92a6f,'height':_0x4268de,'angle':_0x39ab89,'flipX':_0x4f0c54,'flipY':_0x405e19,'skewX':_0x29ce0a,'skewY':_0x5a94ad});continue;}let _0x56edba=this[_0x3627d7(0x304)][_0x3627d7(0x1a0)](_0x152710,_0x2f682c),_0x40c20f=_0x56edba[_0x3627d7(0x16b)](_0x1d7ff9);if(_0x12167f[_0x3627d7(0x28b)](_0x1f9641)||!this[_0x3627d7(0x304)][_0x3627d7(0x23b)]())continue;let _0xe8a1b=this[_0x3627d7(0x3be)][_0x3627d7(0x137)](_0x152710,_0x2f682c,_0x1d7ff9);if(!_0xe8a1b)continue;let _0x3c9ea9=new ho(_0x1f9641,{..._0x59899f(_0xe8a1b[_0x3627d7(0xef)]())?{..._0x17f3b4,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x17f3b4},'zIndex':_0x40c20f===-0x1?_0x56edba['length']-0x1:_0x40c20f,'shapeModel':_0xe8a1b,'localeService':this[_0x3627d7(0x334)],'shapeId':_0x1d7ff9,'unitId':_0x152710,'subUnitId':_0x2f682c,'visible':_0xdac987!==!0x0});this['disposeWithMe'](_0x59cf0b(_0x3c9ea9['onDblclick$'][_0x3627d7(0x1a3)]((_0x25f4ce,_0x1bb047)=>{const _0x585d28=_0x3627d7;_0xe8a1b[_0x585d28(0x28d)]()||(this[_0x585d28(0x3e8)][_0x585d28(0x3ea)]({'visible':!0x0,'unitId':_0x152710,'subUnitId':_0x2f682c,'shapeId':_0x1d7ff9,'shapeKey':_0x3c9ea9['oKey']}),_0x1bb047[_0x585d28(0x229)]());}))),_0x12167f[_0x3627d7(0x4fc)](_0x3c9ea9,_0x3deeaf),this['_drawingManagerService'][_0x3627d7(0xa8)]()&&_0x12167f['attachTransformerTo'](_0x3c9ea9),_0x33d10f&&_0x20e7b3({'drawingId':_0x33d10f,'unitId':_0x152710,'subUnitId':_0x2f682c},_0x3c9ea9,_0x12167f,this[_0x3627d7(0x304)]),_0x50e6e9!=null&&_0x3c9ea9[_0x3627d7(0x1ef)](_0x50e6e9),_0x1b568d!=null&&_0x3c9ea9[_0x3627d7(0xc2)](_0x1b568d),this[_0x3627d7(0x4b9)](_0x3c9ea9,_0xe8a1b['getShapeData']()),_0x322009[_0x3627d7(0x396)](_0x3c9ea9);}return _0x322009;}[_0x33398b(0x134)](_0xf3c68c){const _0x2de621=_0x33398b;let _0x2d59cb=_0xf3c68c[_0x2de621(0x1f8)][_0x2de621(0x3c4)](),_0x1671e9=_0x2d59cb[_0x2de621(0x4c8)];if(!_0x1671e9||_0x1671e9[_0x2de621(0x478)]!==_0x4784e1[_0x2de621(0x1fc)]||!_0x1671e9['fillImageSource']){_0xf3c68c['setFillImage'](void 0x0);return;}this[_0x2de621(0x4b9)](_0xf3c68c,_0x2d59cb);}[_0x33398b(0x4b9)](_0x2888a4,_0x5e12b6){const _0xe5838b=_0x33398b;var _0x1adc6b;let _0x4bb13a=_0x5e12b6[_0xe5838b(0x4c8)];if(!_0x4bb13a||_0x4bb13a[_0xe5838b(0x478)]!==_0x4784e1[_0xe5838b(0x1fc)]||!_0x4bb13a['fillImageSource'])return;let _0x4e8081=_0x4bb13a[_0xe5838b(0xeb)],_0x3c65db=(_0x1adc6b=_0x4bb13a['fillImageSourceType'])==null?_0x1d04ee[_0xe5838b(0x4c5)]:_0x1adc6b,_0x53f8e3=this[_0xe5838b(0x19e)][_0xe5838b(0x261)](_0x4e8081,_0x3c65db);if(_0x53f8e3){_0x2888a4[_0xe5838b(0x207)](_0x53f8e3);return;}this[_0xe5838b(0x3ac)](_0x2888a4,_0x4e8081,_0x3c65db);}async['_loadAndSetImage'](_0x133d3f,_0x4152df,_0x47ad58){const _0xb40b04=_0x33398b;let _0x43c0fa;try{if(_0x47ad58===_0x1d04ee[_0xb40b04(0x4bc)])_0x43c0fa=await this[_0xb40b04(0x19e)][_0xb40b04(0x1c3)](_0x4152df);else{if(_0x47ad58===_0x1d04ee[_0xb40b04(0x4c5)])try{_0x43c0fa=await this[_0xb40b04(0x114)][_0xb40b04(0x1c3)](_0x4152df);}catch{_0x43c0fa=_0x4152df;}else _0x43c0fa=_0x4152df;}}catch(_0x26c8f6){console[_0xb40b04(0x338)](_0xb40b04(0x450),_0x26c8f6);return;}let _0x41076c=new window[(_0xb40b04(0x280))]();_0x41076c[_0xb40b04(0x4bd)]=()=>{const _0x4b02fd=_0xb40b04;this[_0x4b02fd(0x19e)][_0x4b02fd(0x3e5)](_0x4152df,_0x47ad58,_0x41076c),_0x133d3f[_0x4b02fd(0x207)](_0x41076c);},_0x41076c['onerror']=()=>{const _0x5c9fa2=_0xb40b04;console[_0x5c9fa2(0x338)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x4152df);},_0x41076c[_0xb40b04(0x16c)]=_0x43c0fa;}};_o=go([$(0x0,_0x34cbe0),$(0x1,_0x7cac4f(_0x3e64dd)),$(0x2,_0x7cac4f(_0x180d67)),$(0x3,_0x182335),$(0x4,_0x14d097),$(0x5,_0x7cac4f(uo))],_o);let vo=class extends _0x5a4164{constructor(_0x453d68,_0x3ddfad,_0x108f67,_0x2b756b){const _0x3c1225=_0x33398b;super(),this[_0x3c1225(0x3bb)]=_0x453d68,this[_0x3c1225(0x2fd)]=_0x3ddfad,this[_0x3c1225(0x304)]=_0x108f67,this[_0x3c1225(0x3d5)]=_0x2b756b,this[_0x3c1225(0x38e)]();}[_0x33398b(0x38e)](){const _0x26ad97=_0x33398b;this[_0x26ad97(0xaa)](this[_0x26ad97(0x304)][_0x26ad97(0x163)][_0x26ad97(0x2ea)](_0x24a64a=>this[_0x26ad97(0x484)](_0x24a64a))),this['disposeWithMe'](this[_0x26ad97(0x304)]['update$'][_0x26ad97(0x2ea)](_0x159ed1=>{const _0x3185be=_0x26ad97;_0x159ed1[_0x3185be(0x136)](_0x150f7e=>this[_0x3185be(0xfb)](_0x150f7e));})),this[_0x26ad97(0xaa)](this['_commandService']['onCommandExecuted'](_0x598f6b=>{const _0x2e25de=_0x26ad97;if(_0x598f6b['id']!==_0x294395['id'])return;let {unitId:_0x1c281c,shapeId:_0x4a10f6}=_0x598f6b[_0x2e25de(0x52c)];this['_refreshShapeData']({'unitId':_0x1c281c,'subUnitId':_0x1c281c,'drawingId':_0x4a10f6});}));}['updateShapeFillImage'](_0x4dbc4b,_0x579228){const _0x228e40=_0x33398b;let _0x5081d9=this[_0x228e40(0x215)](_0x4dbc4b['unitId']),_0x4a8790=_0x241096(_0x4dbc4b),_0x30237b=_0x5081d9==null?void 0x0:_0x5081d9[_0x228e40(0x1a7)]['getObjectIncludeInGroup'](_0x4a8790);_0x30237b==null||_0x30237b[_0x228e40(0x207)](_0x579228);}[_0x33398b(0x484)](_0x4a24f3){_0x4a24f3['forEach'](_0x43dcf3=>{const _0x95bfd=_0x4f67;var _0x27c4af;let _0x3fbd91=this[_0x95bfd(0x215)](_0x43dcf3['unitId']);if(!_0x3fbd91)return;let _0x2b3be4=this[_0x95bfd(0x304)]['getDrawingByParam'](_0x43dcf3);(_0x2b3be4==null?void 0x0:_0x2b3be4[_0x95bfd(0x429)])===_0x2cfc35['DRAWING_SHAPE']&&(_0x59899f((_0x27c4af=_0x2b3be4[_0x95bfd(0xf6)])==null?void 0x0:_0x27c4af[_0x95bfd(0xd7)])&&_0x2b3be4[_0x95bfd(0x2bc)]&&(_0x2b3be4[_0x95bfd(0x2bc)]={..._0x2b3be4[_0x95bfd(0x2bc)],'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}),this[_0x95bfd(0x304)][_0x95bfd(0x39f)]([_0x2b3be4]),this[_0x95bfd(0x3d5)][_0x95bfd(0x383)](_0x2b3be4,_0x3fbd91[_0x95bfd(0x1a7)]));});}[_0x33398b(0xfb)](_0x1e2573){const _0x17ae0b=_0x33398b;let _0x322346=this[_0x17ae0b(0x304)][_0x17ae0b(0x530)](_0x1e2573);if((_0x322346==null?void 0x0:_0x322346[_0x17ae0b(0x429)])!==_0x2cfc35[_0x17ae0b(0x428)])return;let _0x5ed51e=this[_0x17ae0b(0x215)](_0x1e2573[_0x17ae0b(0x121)]);if(!_0x5ed51e||_0x322346['transform']==null)return;let _0x40b556=_0x241096(_0x1e2573),_0x4568c0=_0x5ed51e[_0x17ae0b(0x1a7)][_0x17ae0b(0x28b)](_0x40b556);_0x4568c0&&(_0x4568c0[_0x17ae0b(0xc2)](_0x322346[_0x17ae0b(0x41d)]),_0x4568c0['setPrstGeom'](_0x322346['prstGeom']),_0x4568c0[_0x17ae0b(0x330)](!0x0));}[_0x33398b(0x301)](_0x1f7266){const _0x2bd096=_0x33398b;let _0x384970=this[_0x2bd096(0x215)](_0x1f7266['unitId']);if(!_0x384970)return;let _0x2835d8=_0x241096(_0x1f7266),_0x382df1=_0x384970[_0x2bd096(0x1a7)][_0x2bd096(0x28b)](_0x2835d8);_0x382df1&&(this[_0x2bd096(0x3d5)]['refreshShapeFillImage'](_0x382df1),_0x382df1[_0x2bd096(0x330)](!0x0));}[_0x33398b(0x215)](_0xb26b83){const _0x4613e6=_0x33398b;if(_0xb26b83==null)return null;let _0x280c75=this[_0x4613e6(0x2fd)][_0x4613e6(0x221)](_0xb26b83),_0x263b92=_0x280c75==null?void 0x0:_0x280c75[_0x4613e6(0x1a7)];return _0x263b92==null?null:{'scene':_0x263b92};}};vo=go([$(0x0,_0x557e3b),$(0x1,_0x11e46a),$(0x2,_0x34cbe0),$(0x3,_0x7cac4f(_o))],vo);function yo(_0x5b7545){const _0x327ed8=_0x33398b;var _0x225e5a,_0x18e19a,_0x34e139,_0x5bce91,_0x4e14a0,_0x4887e9,_0xe09c59,_0x2e6226,_0x3453a8,_0x2ae0a9,_0x5033b3,_0x28a244,_0x44fd3c;let {unitId:_0x319f6c,subUnitId:_0xaf383b,shapeId:_0xecfc8f,shapeData:_0x48773a,disableShapeOption:_0x1466da}=_0x5b7545,_0x144939=_0x1713c6(_0x180d67),_0x4ac4fc=_0x1713c6(_0x557e3b),_0x5d5ff2=_0x1713c6(_0x34a8dd),_0x33419c=_0x1713c6(vo),_0x33d277=_0x1713c6(_0x182335),_0x35da11=_0x57cd21(null),_0x167a62=_0x48773a[_0x327ed8(0x4c8)],_0x53fb7d=!!(_0x167a62!=null&&_0x167a62['fillImageSource']),[_0x13fca7,_0x5afb8c]=_0x1fc818((_0x225e5a=_0x167a62==null?void 0x0:_0x167a62[_0x327ed8(0x48e)])==null?0x1:_0x225e5a),[_0x59d9d8,_0x21b0fe]=_0x1fc818((_0x18e19a=_0x167a62==null?void 0x0:_0x167a62['imageFillMode'])==null?_0x3badc8[_0x327ed8(0x2e1)]:_0x18e19a),[_0x110603,_0x511c6e]=_0x1fc818((_0x34e139=_0x167a62==null?void 0x0:_0x167a62[_0x327ed8(0x3d7)])==null?!0x1:_0x34e139),[_0x693e1,_0x3d828b]=_0x1fc818((_0x5bce91=_0x167a62==null||(_0x4e14a0=_0x167a62[_0x327ed8(0x43a)])==null?void 0x0:_0x4e14a0['offsetX'])==null?0x0:_0x5bce91),[_0x364054,_0x1dd523]=_0x1fc818((_0x4887e9=_0x167a62==null||(_0xe09c59=_0x167a62[_0x327ed8(0x43a)])==null?void 0x0:_0xe09c59['offsetY'])==null?0x0:_0x4887e9),[_0x5c36f6,_0x50e677]=_0x1fc818((_0x2e6226=_0x167a62==null||(_0x3453a8=_0x167a62[_0x327ed8(0x43a)])==null?void 0x0:_0x3453a8[_0x327ed8(0x128)])==null?0x1:_0x2e6226),[_0x21d311,_0x147e6c]=_0x1fc818((_0x2ae0a9=_0x167a62==null||(_0x5033b3=_0x167a62[_0x327ed8(0x43a)])==null?void 0x0:_0x5033b3[_0x327ed8(0x536)])==null?0x1:_0x2ae0a9),[_0x27f1d2,_0x1e7311]=_0x1fc818((_0x28a244=_0x167a62==null||(_0x44fd3c=_0x167a62[_0x327ed8(0x43a)])==null?void 0x0:_0x44fd3c['alignment'])==null?'tl':_0x28a244),_0x56758e=_0x59d9d8===_0x3badc8[_0x327ed8(0x4d6)],_0x1a859e=Math['round']((0x1-_0x13fca7)*0x64),_0x4d792f=Math[_0x327ed8(0x18d)](_0x5c36f6*0x64),_0x67970c=Math['round'](_0x21d311*0x64),_0xaa1c6d=_0x1567a2=>_0x144939['t'](_0x1567a2),_0xe22ab7=[{'label':_0xaa1c6d(_0x327ed8(0x40c)),'value':'tl'},{'label':_0xaa1c6d(_0x327ed8(0x52b)),'value':'t'},{'label':_0xaa1c6d(_0x327ed8(0x246)),'value':'tr'},{'label':_0xaa1c6d(_0x327ed8(0x45d)),'value':'l'},{'label':_0xaa1c6d(_0x327ed8(0x3b6)),'value':_0x327ed8(0x285)},{'label':_0xaa1c6d(_0x327ed8(0xb5)),'value':'r'},{'label':_0xaa1c6d(_0x327ed8(0x460)),'value':'bl'},{'label':_0xaa1c6d(_0x327ed8(0x321)),'value':'b'},{'label':_0xaa1c6d('docs-shape-ui.fill.picture.align.br'),'value':'br'}],_0x2deae1=_0x51d59f=>{Q(_0x4ac4fc,_0x319f6c,_0xaf383b,_0xecfc8f,{'oldShapeData':{'fill':_0x167a62?{..._0x167a62}:void 0x0}},{'fill':{..._0x167a62,..._0x51d59f}});},_0x43ce78=_0x3940f1=>{const _0x16f341=_0x327ed8;_0x2deae1({'imageTile':{..._0x167a62==null?void 0x0:_0x167a62[_0x16f341(0x43a)],..._0x3940f1}});},_0x591039=()=>{const _0x394776=_0x327ed8;var _0x10e790;return(_0x10e790=_0x35da11[_0x394776(0x2a1)])==null?void 0x0:_0x10e790[_0x394776(0x537)]();},_0x281eae=async _0x4a3a96=>{const _0x12662d=_0x327ed8;var _0x58ee83;let _0x3a2df0=(_0x58ee83=_0x4a3a96[_0x12662d(0x4fa)][_0x12662d(0x507)])==null?void 0x0:_0x58ee83[0x0];if(!_0x3a2df0)return;_0x4a3a96[_0x12662d(0x4fa)][_0x12662d(0x404)]='';let _0x2edc90=await _0x33d277[_0x12662d(0x4d4)](_0x3a2df0);if(_0x2edc90==null)return;let {imageSourceType:_0x2cc9fa,source:_0x489196,base64Cache:_0x2941b9}=_0x2edc90,{image:_0x17a698}=await _0xf32961(_0x2941b9||'');_0x33d277[_0x12662d(0x3e5)](_0x489196,_0x2cc9fa,_0x17a698),Q(_0x4ac4fc,_0x319f6c,_0xaf383b,_0xecfc8f,{'oldShapeData':{'fill':_0x167a62?{..._0x167a62}:void 0x0}},{'fill':{..._0x167a62,'fillType':_0x4784e1[_0x12662d(0x1fc)],'fillImageSource':_0x489196,'fillImageSourceType':_0x2cc9fa}}),_0x33419c[_0x12662d(0x3ab)]({'unitId':_0x319f6c,'subUnitId':_0xaf383b,'drawingId':_0xecfc8f},_0x17a698);},_0x194ce4=_0x327ed8(0x1af),_0x397292=_0x327ed8(0x4a0);return _0x11cded(_0x327ed8(0xff),{'className':_0x327ed8(0x35b),'children':[_0x11cded(_0x327ed8(0xff),{'className':_0x327ed8(0x46f),'children':[_0x296c54(_0x327ed8(0x485),{'className':_0x194ce4,'children':_0xaa1c6d('docs-shape-ui.fill.picture.source')}),_0x11cded('div',{'className':_0x327ed8(0x476),'children':[_0x296c54(_0x327ed8(0x16d),{'ref':_0x35da11,'type':_0x327ed8(0x41a),'accept':_0x327ed8(0x52a),'className':_0x327ed8(0x213),'onChange':_0x281eae}),_0x11cded(_0x327ed8(0xff),{'className':'group\x20univer-relative\x20univer-inline-block','children':[_0x296c54(_0x327ed8(0x4a8),{'type':'button','disabled':_0x1466da,'className':_0x327ed8(0x32b),'onClick':_0x591039,'children':_0x11cded('span',{'children':[_0xaa1c6d(_0x327ed8(0x48c)),'\x20']})}),_0x53fb7d&&_0x296c54(_0x327ed8(0xff),{'className':_0x327ed8(0x490),'children':_0x296c54(_0x327ed8(0x28f),{'src':_0x167a62==null?void 0x0:_0x167a62['fillImageSource'],'alt':'','className':_0x327ed8(0x3b0)})})]})]})]}),_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54('span',{'className':_0x194ce4,'children':_0xaa1c6d(_0x327ed8(0x370))}),_0x296c54('div',{'className':_0x327ed8(0x4e9),'children':_0x296c54(_0x462112,{'className':'univer-w-full','value':_0x1a859e,'disabled':_0x1466da,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x4c5b37=>_0x4c5b37+'%','parser':_0x27f3f0=>(_0x27f3f0==null?void 0x0:_0x27f3f0[_0x327ed8(0x24a)]('%',''))||'','onChange':_0x20cc56=>{const _0x5226e4=_0x327ed8;let _0xa515fa=(0x64-Math[_0x5226e4(0x225)](0x0,Math[_0x5226e4(0x132)](0x64,_0x20cc56==null?0x0:_0x20cc56)))/0x64;_0x5afb8c(_0xa515fa),_0x2deae1({'imageOpacity':_0xa515fa}),_0x5d5ff2['setContextValue'](_0x56bd1e,!0x1);},'onFocus':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x0),'onBlur':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x1)})})]}),_0x296c54(_0x2481af,{'checked':_0x56758e,'disabled':_0x1466da,'onChange':_0x4bd2e6=>{const _0x506a0e=_0x327ed8;let _0x939a1=_0x4bd2e6?_0x3badc8['Tile']:_0x3badc8[_0x506a0e(0x2e1)];_0x21b0fe(_0x939a1),_0x2deae1({'imageFillMode':_0x939a1});},'children':_0x296c54(_0x327ed8(0x485),{'className':'univer-text-sm','children':_0xaa1c6d(_0x327ed8(0x32d))})}),_0x56758e&&_0x11cded('div',{'className':_0x327ed8(0x1fb),'children':[_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54(_0x327ed8(0x485),{'className':_0x194ce4,'children':_0xaa1c6d('docs-shape-ui.fill.picture.offsetX')}),_0x296c54(_0x327ed8(0xff),{'className':_0x327ed8(0x4e9),'children':_0x296c54(_0x462112,{'className':'univer-w-full','value':_0x693e1,'disabled':_0x1466da,'step':0x1,'onChange':_0x20d574=>{_0x43ce78({'offsetX':_0x20d574==null?0x0:_0x20d574}),_0x3d828b(_0x20d574==null?0x0:_0x20d574);},'onFocus':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x0),'onBlur':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x1)})})]}),_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54(_0x327ed8(0x485),{'className':_0x194ce4,'children':_0xaa1c6d(_0x327ed8(0x1bf))}),_0x296c54(_0x327ed8(0xff),{'className':'univer-w-20','children':_0x296c54(_0x462112,{'className':'univer-w-full','value':_0x364054,'disabled':_0x1466da,'step':0x1,'onChange':_0x522394=>{_0x43ce78({'offsetY':_0x522394==null?0x0:_0x522394}),_0x1dd523(_0x522394==null?0x0:_0x522394);},'onFocus':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x0),'onBlur':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x1)})})]}),_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54('span',{'className':_0x194ce4,'children':_0xaa1c6d(_0x327ed8(0xf4))}),_0x296c54('div',{'className':_0x327ed8(0x4e9),'children':_0x296c54(_0x462112,{'className':_0x327ed8(0x2c1),'value':_0x4d792f,'disabled':_0x1466da,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x124165=>_0x124165+'%','parser':_0x359974=>(_0x359974==null?void 0x0:_0x359974['replace']('%',''))||'','onChange':_0x4d90ef=>{const _0x233ee7=_0x327ed8;let _0x578a4f=Math[_0x233ee7(0x225)](0.01,(_0x4d90ef==null?0x64:_0x4d90ef)/0x64);_0x50e677(_0x578a4f),_0x43ce78({'scaleX':_0x578a4f}),_0x5d5ff2[_0x233ee7(0x260)](_0x56bd1e,!0x1);},'onFocus':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x0),'onBlur':()=>_0x5d5ff2['setContextValue'](_0x56bd1e,!0x1)})})]}),_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54(_0x327ed8(0x485),{'className':_0x194ce4,'children':_0xaa1c6d(_0x327ed8(0x14f))}),_0x296c54(_0x327ed8(0xff),{'className':_0x327ed8(0x4e9),'children':_0x296c54(_0x462112,{'className':_0x327ed8(0x2c1),'value':_0x67970c,'disabled':_0x1466da,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3c30b3=>_0x3c30b3+'%','parser':_0x358a17=>(_0x358a17==null?void 0x0:_0x358a17['replace']('%',''))||'','onChange':_0x33df18=>{const _0x922329=_0x327ed8;let _0x2b6192=Math[_0x922329(0x225)](0.01,(_0x33df18==null?0x64:_0x33df18)/0x64);_0x147e6c(_0x2b6192),_0x43ce78({'scaleY':_0x2b6192}),_0x5d5ff2[_0x922329(0x260)](_0x56bd1e,!0x1);},'onFocus':()=>_0x5d5ff2[_0x327ed8(0x260)](_0x56bd1e,!0x0),'onBlur':()=>_0x5d5ff2['setContextValue'](_0x56bd1e,!0x1)})})]}),_0x11cded(_0x327ed8(0xff),{'className':_0x397292,'children':[_0x296c54('span',{'className':_0x194ce4,'children':_0xaa1c6d(_0x327ed8(0x1d8))}),_0x296c54(_0x327ed8(0xff),{'className':_0x327ed8(0x3c3),'children':_0x296c54(_0x341d44,{'className':_0x327ed8(0x2c1),'value':_0x27f1d2,'options':_0xe22ab7,'disabled':_0x1466da,'onChange':_0x3fb64f=>{_0x1e7311(_0x3fb64f),_0x43ce78({'alignment':_0x3fb64f});}})})]})]}),_0x296c54(_0x2481af,{'checked':_0x110603,'disabled':_0x1466da,'onChange':_0x284bc1=>{_0x511c6e(_0x284bc1),_0x2deae1({'imageRotateWithShape':_0x284bc1});},'children':_0x296c54('span',{'className':_0x327ed8(0x1be),'children':_0xaa1c6d(_0x327ed8(0x2f3))})})]});}function bo(_0x2982a4){const _0x260655=_0x33398b;var _0x27ee50,_0x87e2e7;return(_0x27ee50=(_0x87e2e7=_0x2982a4[_0x260655(0x4c8)])==null?void 0x0:_0x87e2e7[_0x260655(0x478)])==null?_0x4784e1[_0x260655(0xc5)]:_0x27ee50;}function xo(_0x2c8da0){const _0x392583=_0x33398b;var _0x449360,_0x16d097,_0x432eea,_0x109408;let _0x272212=_0x1713c6(_0x180d67),_0xe7f606=_0x1713c6(_0x557e3b),_0x3b6465=_0x1713c6(_0x34a8dd),{shapeData:_0x8fcab6,isLineShape:_0x4607fd,unitId:_0x192c57,subUnitId:_0x102044,shapeId:_0x36226e,disableShapeOption:_0x180a29}=_0x2c8da0,[_0x33e97e,_0x505ff5]=_0x1fc818(bo(_0x8fcab6)),[_0x3430e8,_0x1da601]=_0x1fc818((_0x449360=(_0x16d097=_0x8fcab6['fill'])==null?void 0x0:_0x16d097[_0x392583(0x232)])==null?_0x42f46a[_0x392583(0x4c8)]:_0x449360),[_0x54671e,_0x46ff97]=_0x1fc818((_0x432eea=(_0x109408=_0x8fcab6[_0x392583(0x4c8)])==null?void 0x0:_0x109408[_0x392583(0x185)])==null?0x1:_0x432eea),[_0x2e8c34,_0xcc09a9]=_0x1fc818(!0x1);if(_0x4607fd)return null;let _0x17becb=0x64-_0x54671e*0x64;return _0x11cded(_0x392583(0xff),{'className':_0x392583(0x2d1),'children':[_0x11cded(_0x9aec01,{'value':_0x33e97e,'disabled':_0x180a29,'onChange':_0x3a762a=>{const _0x495b04=_0x392583;var _0x146c45;Q(_0xe7f606,_0x192c57,_0x102044,_0x36226e,{'oldShapeData':{'fill':{'fillType':(_0x146c45=_0x8fcab6['fill'])==null?void 0x0:_0x146c45[_0x495b04(0x478)]}}},{'fill':{'fillType':_0x3a762a}}),_0x505ff5(_0x3a762a);},'direction':_0x392583(0x262),'children':[_0x296c54(_0x3368ac,{'value':_0x4784e1[_0x392583(0xc5)],'children':_0x296c54(_0x392583(0x485),{'className':_0x392583(0x1be),'children':_0x272212['t'](_0x392583(0x4c1))})}),_0x296c54(_0x3368ac,{'value':_0x4784e1[_0x392583(0x109)],'children':_0x296c54(_0x392583(0x485),{'className':'univer-text-sm','children':_0x272212['t']('docs-shape-ui.fill.solidFill')})}),_0x296c54(_0x3368ac,{'value':_0x4784e1['GradientFill'],'children':_0x296c54(_0x392583(0x485),{'className':_0x392583(0x1be),'children':_0x272212['t'](_0x392583(0x47d))})}),_0x296c54(_0x3368ac,{'value':_0x4784e1[_0x392583(0x1fc)],'children':_0x296c54('span',{'className':_0x392583(0x1be),'children':_0x272212['t']('docs-shape-ui.fill.pictureFill')})})]}),_0x33e97e===_0x4784e1['SolidFill']&&_0x11cded(_0x392583(0xff),{'className':_0x392583(0x526),'children':[_0x11cded(_0x392583(0xff),{'className':_0x392583(0x243),'children':[_0x296c54('span',{'className':_0x392583(0x3c2),'children':_0x272212['t'](_0x392583(0x497))}),_0x296c54(_0x40cd3e,{'disabled':_0x180a29,'overlay':_0x296c54(_0x392583(0xff),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x296c54(_0x4ce32e,{'value':_0x3430e8,'onChange':_0x1a2f7c=>{const _0x3004ab=_0x392583;var _0x46cced;Q(_0xe7f606,_0x192c57,_0x102044,_0x36226e,{'oldShapeData':{'fill':{'color':(_0x46cced=_0x8fcab6['fill'])==null?void 0x0:_0x46cced[_0x3004ab(0x232)]}}},{'fill':{'color':_0x1a2f7c}}),_0x1da601(_0x1a2f7c),_0xcc09a9(!0x1);}})}),'open':_0x2e8c34,'onOpenChange':_0xcc09a9,'children':_0x11cded('a',{'className':_0x392583(0x228),'children':[_0x296c54(_0x9c4acd,{'className':_0x392583(0x3c6),'extend':{'colorChannel1':_0x3430e8}}),_0x296c54(_0x54b0ad,{'className':_0x10bfbb(_0x392583(0x4d1),{'univer-rotate-180':_0x2e8c34})})]})})]}),_0x11cded(_0x392583(0xff),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x296c54(_0x392583(0x485),{'className':_0x392583(0x1af),'children':_0x272212['t']('docs-shape-ui.fill.transparency')}),_0x296c54('div',{'className':_0x392583(0x32f),'children':_0x296c54(_0x392583(0xff),{'className':_0x392583(0x4e9),'children':_0x296c54(_0x462112,{'className':_0x392583(0x2c1),'value':_0x17becb,'disabled':_0x180a29,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x54da15=>_0x54da15+'%','parser':_0x5560b6=>(_0x5560b6==null?void 0x0:_0x5560b6[_0x392583(0x24a)]('%',''))||'','onChange':_0x43365a=>{const _0xfa26e3=_0x392583;let _0x5cdf24=(0x64-Math[_0xfa26e3(0x225)](0x0,Math[_0xfa26e3(0x132)](0x64,_0x43365a==null?0x0:_0x43365a)))/0x64;_0x46ff97(_0x5cdf24),Q(_0xe7f606,_0x192c57,_0x102044,_0x36226e,{'oldShapeData':{'fill':{..._0x8fcab6[_0xfa26e3(0x4c8)],'fillType':_0x33e97e}}},{'fill':{..._0x8fcab6['fill'],'fillType':_0x33e97e,'opacity':_0x5cdf24}}),_0x3b6465[_0xfa26e3(0x260)](_0x56bd1e,!0x1);},'onFocus':()=>_0x3b6465[_0x392583(0x260)](_0x56bd1e,!0x0),'onBlur':()=>{const _0x1f6836=_0x392583;_0x3b6465[_0x1f6836(0x260)](_0x56bd1e,!0x1);}})})})]})]}),_0x33e97e===_0x4784e1[_0x392583(0x242)]&&_0x296c54(wo,{'shapeData':_0x8fcab6,'disableShapeOption':_0x180a29,'onUpdate':_0x5ddba1=>{const _0x3fbaf6=_0x392583;Q(_0xe7f606,_0x192c57,_0x102044,_0x36226e,{'oldShapeData':{'fill':{..._0x8fcab6[_0x3fbaf6(0x4c8)]}}},{'fill':{..._0x8fcab6['fill'],..._0x5ddba1}});}}),_0x33e97e===_0x4784e1[_0x392583(0x1fc)]&&_0x296c54(yo,{'unitId':_0x192c57,'subUnitId':_0x102044,'shapeId':_0x36226e,'shapeData':_0x8fcab6,'disableShapeOption':_0x180a29})]});}function So(_0x23691b){const _0x48146a=_0x33398b;switch(_0x23691b){case _0x3bebab[_0x48146a(0x192)]:return _0x48146a(0x2ab);case _0x3bebab[_0x48146a(0x217)]:return _0x48146a(0x138);case _0x3bebab[_0x48146a(0x24c)]:return _0x48146a(0x173);case _0x3bebab[_0x48146a(0x116)]:return'diamond';default:return _0x48146a(0x2ab);}}function Co(_0x376331){const _0x49dd52=_0x33398b;switch(_0x376331){case _0x49dd52(0x2ab):return _0x3bebab[_0x49dd52(0x192)];case'radial':return _0x3bebab[_0x49dd52(0x217)];case _0x49dd52(0x173):return _0x3bebab[_0x49dd52(0x24c)];case _0x49dd52(0x449):return _0x3bebab[_0x49dd52(0x116)];default:return _0x3bebab['Linear'];}}function wo(_0x51f7bf){const _0x54b56d=_0x33398b;let {shapeData:_0x515306,disableShapeOption:_0x3d6aba,onUpdate:_0x37bd57}=_0x51f7bf;return _0x296c54(_0x54b56d(0xff),{'className':_0x54b56d(0x126),'children':_0x296c54(_0x2c6b4c,{'value':_0x559b10(()=>{const _0x381cc4=_0x54b56d;var _0x2c5667;let _0x269d1c=_0x515306['fill'];return{'type':So(_0x269d1c==null?void 0x0:_0x269d1c[_0x381cc4(0x2d0)]),'angle':(_0x2c5667=_0x269d1c==null?void 0x0:_0x269d1c[_0x381cc4(0xd5)])==null?0x5a:_0x2c5667,'stops':_0x269d1c!=null&&_0x269d1c[_0x381cc4(0x4d8)]&&_0x269d1c[_0x381cc4(0x4d8)][_0x381cc4(0x366)]>=0x2?_0x269d1c[_0x381cc4(0x4d8)][_0x381cc4(0x4b6)](_0x33f22a=>({'color':_0x33f22a['color'],'offset':_0x33f22a[_0x381cc4(0x504)]*0x64})):[{'color':(_0x269d1c==null?void 0x0:_0x269d1c[_0x381cc4(0x232)])||_0x381cc4(0x432),'offset':0x0},{'color':_0x381cc4(0x241),'offset':0x64}]};},[_0x515306[_0x54b56d(0x4c8)]]),'onChange':_0x3aec1c=>{const _0x10e111=_0x54b56d;let _0x4a258e=Co(_0x3aec1c[_0x10e111(0x2a4)]),_0x3117da=_0x3aec1c[_0x10e111(0x494)];_0x37bd57({'gradientType':_0x4a258e,'gradientAngle':_0x3117da,'gradientStops':_0x3aec1c[_0x10e111(0x42d)][_0x10e111(0x4b6)](_0x5333d4=>({'color':_0x5333d4[_0x10e111(0x232)],'position':_0x5333d4[_0x10e111(0x179)]/0x64}))});}})});}function To(_0x1e6de5){const _0x3723a4=_0x33398b;var _0x541152,_0x941339,_0x3da5f4,_0x43c0be,_0x15564c,_0x2f9c86,_0x4763d7,_0x251577,_0x2a60dc,_0x219c98,_0x4e65c6,_0x1065a0,_0x5eed6a,_0x3ad2e8,_0xd34a8c,_0x3abd1f;let _0x195477=_0x1713c6(_0x180d67),_0x25e585=_0x1713c6(_0x557e3b),_0x262291=_0x1713c6(_0x34a8dd),{shapeData:_0xa93291,isLineShape:_0x3022e3,unitId:_0x5de094,subUnitId:_0x5b930d,shapeId:_0x57106a,disableShapeOption:_0x95fbe2}=_0x1e6de5,_0x51c5b4=_0xa93291[_0x3723a4(0x403)],[_0x23e838,_0x41c0ff]=_0x1fc818((_0x541152=_0x51c5b4==null?void 0x0:_0x51c5b4['lineStrokeType'])==null?_0xdfb148[_0x3723a4(0x393)]:_0x541152),[_0x5551cd,_0x225d87]=_0x1fc818((_0x941339=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x232)])==null?_0x42f46a[_0x3723a4(0x403)]:_0x941339),[_0x21114e,_0x2ded26]=_0x1fc818((_0x3da5f4=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x185)])==null?0x1:_0x3da5f4),[_0x8b4f26,_0x1b4a6d]=_0x1fc818((_0x43c0be=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x297)])==null?_0x42f46a['strokeWidth']:_0x43c0be),[_0x2a225d,_0x1bd067]=_0x1fc818((_0x15564c=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x11f)])==null?_0xbe4313[_0x3723a4(0x40b)]:_0x15564c),[_0x71d6c2,_0x43f434]=_0x1fc818((_0x2f9c86=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x203)])==null?_0x575639[_0x3723a4(0x4b3)]:_0x2f9c86),[_0xbe2e61,_0x2220a4]=_0x1fc818((_0x4763d7=_0x51c5b4==null?void 0x0:_0x51c5b4[_0x3723a4(0x399)])==null?_0x3cf0d2[_0x3723a4(0x4c0)]:_0x4763d7),[_0x506d33,_0x5f3f8b]=_0x1fc818((_0x251577=_0x51c5b4==null?void 0x0:_0x51c5b4['sketchType'])==null?_0x342142['None']:_0x251577),_0x15910d=_0xa93291,[_0x2fd28c,_0x23ce00]=_0x1fc818((_0x2a60dc=(_0x219c98=_0x15910d['ln'])==null||(_0x219c98=_0x219c98[_0x3723a4(0x4db)])==null?void 0x0:_0x219c98['type'])==null?_0x5544b7[_0x3723a4(0x4d3)]:_0x2a60dc),[_0x34b64b,_0x342c7a]=_0x1fc818((_0x4e65c6=(_0x1065a0=_0x15910d['ln'])==null||(_0x1065a0=_0x1065a0['startArrow'])==null?void 0x0:_0x1065a0[_0x3723a4(0x1fd)])==null?_0x2faec4[_0x3723a4(0x20d)]:_0x4e65c6),[_0x2f6eae,_0x47b249]=_0x1fc818((_0x5eed6a=(_0x3ad2e8=_0x15910d['ln'])==null||(_0x3ad2e8=_0x3ad2e8['endArrow'])==null?void 0x0:_0x3ad2e8['type'])==null?_0x5544b7[_0x3723a4(0x4d3)]:_0x5eed6a),[_0x20239a,_0x195d05]=_0x1fc818((_0xd34a8c=(_0x3abd1f=_0x15910d['ln'])==null||(_0x3abd1f=_0x3abd1f['endArrow'])==null?void 0x0:_0x3abd1f[_0x3723a4(0x1fd)])==null?_0x2faec4[_0x3723a4(0x20d)]:_0xd34a8c),[_0x1c34cd,_0x12406d]=_0x1fc818(!0x1),_0x6893f=0x64-_0x21114e*0x64,_0x4a7b58=[{'label':_0x195477['t']('docs-shape-ui.line.dashType.solid'),'value':String(_0xbe4313[_0x3723a4(0x40b)])},{'label':_0x195477['t'](_0x3723a4(0x1b7)),'value':String(_0xbe4313['RoundDot'])},{'label':_0x195477['t'](_0x3723a4(0x2be)),'value':String(_0xbe4313['SquareDot'])},{'label':_0x195477['t'](_0x3723a4(0x166)),'value':String(_0xbe4313[_0x3723a4(0x2b3)])},{'label':_0x195477['t'](_0x3723a4(0x43c)),'value':String(_0xbe4313[_0x3723a4(0x4a5)])},{'label':_0x195477['t']('docs-shape-ui.line.dashType.longDash'),'value':String(_0xbe4313[_0x3723a4(0x335)])},{'label':_0x195477['t'](_0x3723a4(0x3c7)),'value':String(_0xbe4313['LongDashDot'])},{'label':_0x195477['t']('docs-shape-ui.line.dashType.longDashDotDot'),'value':String(_0xbe4313[_0x3723a4(0x3cd)])}],_0x48cdb5=[{'label':_0x195477['t'](_0x3723a4(0x2ba)),'value':String(_0x575639[_0x3723a4(0x4b3)])},{'label':_0x195477['t'](_0x3723a4(0x278)),'value':String(_0x575639[_0x3723a4(0x37d)])},{'label':_0x195477['t']('docs-shape-ui.line.capType.square'),'value':String(_0x575639[_0x3723a4(0x167)])}],_0x480a2c=[{'label':_0x195477['t']('docs-shape-ui.line.sketchType.none'),'value':String(_0x342142['None'])},{'label':_0x195477['t'](_0x3723a4(0x333)),'value':String(_0x342142[_0x3723a4(0x20a)])},{'label':_0x195477['t'](_0x3723a4(0x2cf)),'value':String(_0x342142['Freehand'])},{'label':_0x195477['t'](_0x3723a4(0x4bb)),'value':String(_0x342142['HandDrawn'])}],_0x358385=[{'label':_0x195477['t'](_0x3723a4(0x382)),'value':String(_0x3cf0d2[_0x3723a4(0x4c0)])},{'label':_0x195477['t'](_0x3723a4(0x13e)),'value':String(_0x3cf0d2[_0x3723a4(0x37d)])},{'label':_0x195477['t'](_0x3723a4(0x275)),'value':String(_0x3cf0d2['Bevel'])}],_0xb4494e=[{'label':_0x195477['t'](_0x3723a4(0x345)),'value':String(_0x5544b7[_0x3723a4(0x4d3)])},{'label':_0x195477['t'](_0x3723a4(0x3f3)),'value':String(_0x5544b7[_0x3723a4(0x1e0)])},{'label':_0x195477['t'](_0x3723a4(0x1a6)),'value':String(_0x5544b7[_0x3723a4(0x2f5)])},{'label':_0x195477['t']('docs-shape-ui.line.arrowType.stealthArrow'),'value':String(_0x5544b7[_0x3723a4(0x2d2)])},{'label':_0x195477['t']('docs-shape-ui.line.arrowType.diamondArrow'),'value':String(_0x5544b7['DiamondArrow'])},{'label':_0x195477['t'](_0x3723a4(0x38d)),'value':String(_0x5544b7[_0x3723a4(0x4bf)])}],_0x186ce9=[{'label':_0x195477['t'](_0x3723a4(0x4ae)),'value':String(_0x2faec4[_0x3723a4(0x2f4)])},{'label':_0x195477['t'](_0x3723a4(0x1fe)),'value':String(_0x2faec4[_0x3723a4(0x20d)])},{'label':_0x195477['t'](_0x3723a4(0x36f)),'value':String(_0x2faec4[_0x3723a4(0x24e)])}];return _0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x2d1),'children':[_0x11cded(_0x9aec01,{'value':String(_0x23e838),'disabled':_0x95fbe2,'onChange':_0x581320=>{const _0x5a07b7=_0x3723a4;var _0x156b0d;_0x41c0ff(Number(_0x581320)),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x156b0d=_0xa93291[_0x5a07b7(0x403)])==null?void 0x0:_0x156b0d['lineStrokeType']}}},{'stroke':{'lineStrokeType':Number(_0x581320)}});},'direction':'vertical','children':[_0x296c54(_0x3368ac,{'value':String(_0xdfb148[_0x3723a4(0x40d)]),'children':_0x296c54('span',{'className':_0x3723a4(0x1be),'children':_0x195477['t']('docs-shape-ui.line.noLine')})}),_0x296c54(_0x3368ac,{'value':String(_0xdfb148[_0x3723a4(0x393)]),'children':_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x1be),'children':_0x195477['t'](_0x3723a4(0x265))})})]}),_0x23e838!==_0xdfb148[_0x3723a4(0x40d)]&&_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x526),'children':[_0x11cded('div',{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x161))}),_0x296c54(_0x40cd3e,{'disabled':_0x95fbe2,'overlay':_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x4ac),'children':_0x296c54(_0x4ce32e,{'value':_0x5551cd,'onChange':_0x52b3c9=>{const _0x4fa891=_0x3723a4;var _0x4af40f;Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'color':(_0x4af40f=_0xa93291['stroke'])==null?void 0x0:_0x4af40f[_0x4fa891(0x232)]}}},{'stroke':{'color':_0x52b3c9}}),_0x225d87(_0x52b3c9),_0x12406d(!0x1);}})}),'open':_0x1c34cd,'onOpenChange':_0x12406d,'children':_0x11cded('a',{'className':_0x3723a4(0x228),'children':[_0x296c54(_0x9c4acd,{'className':_0x3723a4(0x2a3),'extend':{'colorChannel1':_0x5551cd}}),_0x296c54(_0x54b0ad,{'className':_0x10bfbb(_0x3723a4(0x4d1),{'univer-rotate-180':_0x1c34cd})})]})})]}),_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x4a0),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x1af),'children':_0x195477['t']('docs-shape-ui.line.transparency')}),_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x4a0),'children':_0x296c54(_0x3723a4(0xff),{'className':'univer-w-20\x20univer-flex-1','children':_0x296c54(_0x462112,{'className':'univer-w-full','value':_0x6893f,'disabled':_0x95fbe2,'min':0x0,'max':0x64,'formatter':_0xe03f93=>_0xe03f93+'%','parser':_0x5ddea6=>(_0x5ddea6==null?void 0x0:_0x5ddea6[_0x3723a4(0x24a)]('%',''))||'','onChange':_0x3f74b7=>{const _0x2ae55e=_0x3723a4;var _0x47ad2e;let _0x43b1d2=(0x64-Math[_0x2ae55e(0x225)](0x0,Math['min'](0x64,_0x3f74b7==null?0x0:_0x3f74b7)))/0x64;_0x2ded26(_0x43b1d2),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'opacity':(_0x47ad2e=_0xa93291[_0x2ae55e(0x403)])==null?void 0x0:_0x47ad2e[_0x2ae55e(0x185)]}}},{'stroke':{'opacity':_0x43b1d2}}),_0x262291[_0x2ae55e(0x260)](_0x56bd1e,!0x1);},'onFocus':()=>_0x262291['setContextValue'](_0x56bd1e,!0x0),'onBlur':_0x1f2550=>{const _0x34b9d7=_0x3723a4;_0x262291[_0x34b9d7(0x260)](_0x56bd1e,!0x1);}})})})]}),_0x11cded('div',{'className':_0x3723a4(0x4a0),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x123))}),_0x296c54(_0x3723a4(0xff),{'className':'univer-w-20','children':_0x296c54(_0x462112,{'className':_0x3723a4(0x2c1),'disabled':_0x95fbe2,'value':_0x8b4f26,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x4ef837=>_0x4ef837+_0x3723a4(0x170),'parser':_0x3aa07c=>(_0x3aa07c==null?void 0x0:_0x3aa07c['replace'](_0x3723a4(0x170),''))||'','onChange':_0x961308=>{const _0x4edf0a=_0x3723a4;if(!Number[_0x4edf0a(0x124)](_0x961308)&&_0x961308!==null){var _0x580b89;Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'width':(_0x580b89=_0xa93291['stroke'])==null?void 0x0:_0x580b89[_0x4edf0a(0x297)]}}},{'stroke':{'width':_0x961308}});}_0x262291[_0x4edf0a(0x260)](_0x56bd1e,!0x1);},'onFocus':()=>_0x262291[_0x3723a4(0x260)](_0x56bd1e,!0x0),'onBlur':_0x38ecc0=>{const _0xe5cbd3=_0x3723a4;_0x262291[_0xe5cbd3(0x260)](_0x56bd1e,!0x1);}})})]}),_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x24f))}),_0x296c54('div',{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':'univer-w-full','value':String(_0x2a225d),'options':_0x4a7b58,'disabled':_0x95fbe2,'onChange':_0x118dc9=>{const _0x3280e6=_0x3723a4;var _0x1884b3;_0x1bd067(Number(_0x118dc9)),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'dashType':(_0x1884b3=_0xa93291[_0x3280e6(0x403)])==null?void 0x0:_0x1884b3[_0x3280e6(0x11f)]}}},{'stroke':{'dashType':Number(_0x118dc9)}});}})})]}),_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x4e6))}),_0x296c54('div',{'className':'univer-w-28','children':_0x296c54(_0x341d44,{'className':'univer-w-full','value':String(_0x71d6c2),'options':_0x48cdb5,'disabled':_0x95fbe2,'onChange':_0x29be5a=>{const _0x2f7d77=_0x3723a4;var _0x53b7c4;_0x43f434(Number(_0x29be5a)),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'capType':(_0x53b7c4=_0xa93291[_0x2f7d77(0x403)])==null?void 0x0:_0x53b7c4['capType']}}},{'stroke':{'capType':Number(_0x29be5a)}});}})})]}),_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x195477['t']('docs-shape-ui.line.joinType.title')}),_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':_0x3723a4(0x2c1),'value':String(_0xbe2e61),'options':_0x358385,'disabled':_0x95fbe2,'onChange':_0x13f8ed=>{const _0x4faa4e=_0x3723a4;var _0x1a4b9b;_0x2220a4(Number(_0x13f8ed)),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'lineJoinType':(_0x1a4b9b=_0xa93291['stroke'])==null?void 0x0:_0x1a4b9b[_0x4faa4e(0x399)]}}},{'stroke':{'lineJoinType':Number(_0x13f8ed)}});}})})]}),!_0x3022e3&&_0x11cded('div',{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x284))}),_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':_0x3723a4(0x2c1),'value':String(_0x506d33),'options':_0x480a2c,'disabled':_0x95fbe2,'onChange':_0x31df2c=>{const _0x19cf2e=_0x3723a4;var _0xf1c2db;_0x5f3f8b(Number(_0x31df2c)),Q(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'stroke':{'sketchType':(_0xf1c2db=_0xa93291['stroke'])==null?void 0x0:_0xf1c2db[_0x19cf2e(0x32c)]}}},{'stroke':{'sketchType':Number(_0x31df2c)}});}})})]}),_0x3022e3&&_0x11cded(_0x424f81,{'children':[_0x11cded('div',{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x4f3))}),_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':'univer-w-full','value':String(_0x2fd28c),'options':_0xb4494e,'onChange':_0x5bfa89=>{const _0x3a9488=_0x3723a4;var _0xd8e7eb;_0x23ce00(Number(_0x5bfa89)),fo(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'ln':{'startArrow':{'type':(_0xd8e7eb=_0xa93291['ln'])==null||(_0xd8e7eb=_0xd8e7eb[_0x3a9488(0x4db)])==null?void 0x0:_0xd8e7eb[_0x3a9488(0x2a4)]}}}},{'ln':{'startArrow':{'type':Number(_0x5bfa89)}}});}})})]}),_0x11cded(_0x3723a4(0xff),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x296c54('span',{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0xd6))}),_0x296c54(_0x3723a4(0xff),{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':'univer-w-full','value':String(_0x34b64b),'options':_0x186ce9,'onChange':_0x5c01e9=>{const _0x4c3fbd=_0x3723a4;var _0x328c27;_0x342c7a(Number(_0x5c01e9)),fo(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x328c27=_0xa93291['ln'])==null||(_0x328c27=_0x328c27[_0x4c3fbd(0x4db)])==null?void 0x0:_0x328c27['size']}}}},{'ln':{'startArrow':{'size':Number(_0x5c01e9)}}});}})})]}),_0x11cded(_0x3723a4(0xff),{'className':_0x3723a4(0x243),'children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x385))}),_0x296c54(_0x3723a4(0xff),{'className':'univer-w-28','children':_0x296c54(_0x341d44,{'className':_0x3723a4(0x2c1),'value':String(_0x2f6eae),'options':_0xb4494e,'onChange':_0xc11722=>{const _0x54d149=_0x3723a4;var _0x4e3324;_0x47b249(Number(_0xc11722)),fo(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x4e3324=_0xa93291['ln'])==null||(_0x4e3324=_0x4e3324[_0x54d149(0x44b)])==null?void 0x0:_0x4e3324[_0x54d149(0x2a4)]}}}},{'ln':{'endArrow':{'type':Number(_0xc11722)}}});}})})]}),_0x11cded(_0x3723a4(0xff),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x296c54(_0x3723a4(0x485),{'className':_0x3723a4(0x3c2),'children':_0x195477['t'](_0x3723a4(0x156))}),_0x296c54('div',{'className':_0x3723a4(0x3c3),'children':_0x296c54(_0x341d44,{'className':'univer-w-full','value':String(_0x20239a),'options':_0x186ce9,'onChange':_0x2c1b18=>{const _0x47aad0=_0x3723a4;var _0x3f1bad;_0x195d05(Number(_0x2c1b18)),fo(_0x25e585,_0x5de094,_0x5b930d,_0x57106a,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x3f1bad=_0xa93291['ln'])==null||(_0x3f1bad=_0x3f1bad[_0x47aad0(0x44b)])==null?void 0x0:_0x3f1bad[_0x47aad0(0x1fd)]}}}},{'ln':{'endArrow':{'size':Number(_0x2c1b18)}}});}})})]})]})]})]});}function Eo(){const _0x13655a=_0x33398b;let _0x55ed52=_0x1713c6(_0x34cbe0),[_0x117de3,_0x2e4661]=_0x1fc818(_0x55ed52['getFocusDrawings']());return _0x16da6b(()=>{let _0x34ddf1=_0x55ed52['focus$']['subscribe'](_0x52fa0d=>{_0x2e4661(_0x52fa0d);});return()=>{_0x34ddf1['unsubscribe']();};},[]),_0x117de3[_0x13655a(0x366)]===0x0?null:_0x296c54(_0x13655a(0xff),{'children':_0x11cded(_0x13655a(0xff),{'className':_0x13655a(0x1ae),'children':[_0x296c54(_0x1e8987,{'drawings':_0x117de3,'hasCropper':!0x1}),_0x296c54(_0x25feb3,{'drawings':_0x117de3}),_0x296c54(_0x20a8a8,{'drawings':_0x117de3})]})});}function Do(_0x44d687){const _0x334163=_0x33398b;let {shapeData:_0x5dc4fb,shapeId:_0x496411,shapeType:_0x2fa115,version:_0x218c48,unitId:_0x21db73,subUnitId:_0x318919,disableShapeOption:_0x520b12}=_0x44d687,_0x406e5c=_0x1713c6(_0x180d67),_0x485fa4=_0x59899f(_0x2fa115),[_0x37ef3d,_0x2c0ec0]=_0x1fc818(0x0),_0x17d1aa=[{'label':_0x296c54(_0x334163(0xff),{'children':_0x406e5c['t'](_0x334163(0x187))}),'children':_0x296c54(_0x334163(0x510),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x296c54(xo,{'shapeId':_0x496411,'shapeData':_0x5dc4fb,'isLineShape':_0x485fa4,'subUnitId':_0x318919,'unitId':_0x21db73,'disableShapeOption':_0x520b12},_0x496411)})},{'label':_0x296c54(_0x334163(0xff),{'children':_0x406e5c['t']('docs-shape-ui.line.title')}),'children':_0x296c54(_0x334163(0x510),{'className':_0x334163(0x13b),'children':_0x296c54(To,{'shapeId':_0x496411,'shapeData':_0x5dc4fb,'isLineShape':_0x485fa4,'subUnitId':_0x318919,'unitId':_0x21db73,'disableShapeOption':_0x520b12},_0x496411)})}];return _0x11cded(_0x334163(0xff),{'className':_0x334163(0x337),'children':[_0x11cded(_0x334163(0xff),{'className':_0x334163(0x4be),'children':[_0x11cded(_0x334163(0xff),{'className':_0x10bfbb(_0x334163(0x33e),_0x37ef3d===0x0?'univer-text-primary-600':_0x334163(0x2a3)),'onClick':()=>_0x2c0ec0(0x0),'children':[_0x406e5c['t']('docs-shape-ui.shapeStyle'),_0x296c54('div',{'className':_0x10bfbb('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x37ef3d===0x0,'univer-bg-transparent':_0x37ef3d!==0x0})})]}),_0x11cded(_0x334163(0xff),{'className':_0x10bfbb(_0x334163(0x33e),{'univer-text-primary-600':_0x37ef3d===0x1,'univer-text-gray-500':_0x37ef3d!==0x1}),'onClick':()=>_0x2c0ec0(0x1),'children':[_0x406e5c['t'](_0x334163(0x45b)),_0x296c54(_0x334163(0xff),{'className':_0x10bfbb(_0x334163(0x25c),{'univer-bg-primary-600':_0x37ef3d===0x1,'univer-bg-transparent':_0x37ef3d!==0x1})})]})]}),_0x296c54(_0x334163(0xff),{'className':_0x334163(0xa3),'children':_0x37ef3d===0x0?_0x296c54(_0x334163(0xff),{'className':'','children':_0x296c54(_0x4011d1,{'items':_0x17d1aa})},_0x218c48):_0x296c54(Eo,{})})]});}function Oo(_0x34560d,_0x23a13f=_0x1c6b12['LEFT']){const _0x51186b=_0x33398b;return{'id':_0x51186b(0x416),'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0,'paragraphStyle':{'horizontalAlign':_0x23a13f}}]},'documentStyle':{'textStyle':_0x34560d?{..._0x34560d}:void 0x0}};}function ko(_0x4d973d,_0x194493){const _0x81aa5f=_0x33398b;var _0x3fc1b9,_0x591b1f;let _0x316315=_0x4d973d[_0x81aa5f(0xf0)],_0xcb0146=_0x316315&&_0x81aa5f(0x4e1)in _0x316315?_0x316315[_0x81aa5f(0x4e1)]:void 0x0,_0x2e5f51=(_0x3fc1b9=(_0x591b1f=_0x194493[_0x81aa5f(0x2d3)])==null?_0xcb0146==null?void 0x0:_0xcb0146['ha']:_0x591b1f)==null?_0x1c6b12[_0x81aa5f(0x313)]:_0x3fc1b9;if(_0xcb0146!=null&&_0xcb0146[_0x81aa5f(0x2ad)]){var _0x48a6e5,_0x3d2dc8;return{'va':(_0x48a6e5=_0xcb0146['va'])==null?_0x48e091[_0x81aa5f(0x400)]:_0x48a6e5,'ha':(_0x3d2dc8=_0xcb0146['ha'])==null?_0x1c6b12['LEFT']:_0x3d2dc8,'doc':_0x15e06a['deepClone'](_0xcb0146[_0x81aa5f(0x2ad)])};}return{'va':_0x48e091[_0x81aa5f(0x400)],'ha':_0x2e5f51,'doc':Oo(_0x194493[_0x81aa5f(0x455)],_0x2e5f51)};}function Ao(_0x3cd3d7,_0x34d180){const _0x176bb7=_0x33398b;var _0x3184d9,_0x1f747d,_0x5f1c90,_0x2834c7;let _0x3ba462=_0x3cd3d7['shapeText'],_0x48a056=ko(_0x3cd3d7,_0x34d180),_0x253f5e=(_0x3184d9=_0x34d180['horizontalAlign'])==null?_0x48a056['ha']:_0x3184d9,_0x576d64=(_0x1f747d=_0x34d180[_0x176bb7(0x159)])==null?_0x48a056['va']:_0x1f747d,_0xeefff0=_0x48a056[_0x176bb7(0x2ad)];if(_0x34d180[_0x176bb7(0x455)]){var _0x26ee7d,_0x25864a;_0xeefff0[_0x176bb7(0x3c1)]={..._0xeefff0[_0x176bb7(0x3c1)],'textStyle':{...(_0x26ee7d=_0xeefff0[_0x176bb7(0x3c1)])==null?void 0x0:_0x26ee7d[_0x176bb7(0x455)],..._0x34d180[_0x176bb7(0x455)]}};let _0x162183=(_0x25864a=_0xeefff0[_0x176bb7(0x11a)])==null?void 0x0:_0x25864a['textRuns'];if(_0x162183){for(let _0xd312f7 of _0x162183)_0xd312f7['ts']={..._0xd312f7['ts'],..._0x34d180['textStyle']};}}let _0x178cb7=(_0x5f1c90=_0xeefff0[_0x176bb7(0x11a)])==null?void 0x0:_0x5f1c90['paragraphs'];if(_0x178cb7){for(let _0x18385a of _0x178cb7)_0x18385a[_0x176bb7(0x4da)]={..._0x18385a[_0x176bb7(0x4da)],'horizontalAlign':_0x253f5e};}return{'shapeText':{'isHorizontal':(_0x2834c7=_0x3ba462==null?void 0x0:_0x3ba462[_0x176bb7(0x2c9)])==null?!0x0:_0x2834c7,'dataModel':{'va':_0x576d64,'ha':_0x253f5e,'doc':_0xeefff0}}};}const jo=_0x33398b(0x2cd);function Mo(_0x11f709){const _0x3ee139=_0x33398b;let _0x3c89ab=_0x11f709[_0x3ee139(0xf0)];return _0x3c89ab&&_0x3ee139(0x4e1)in _0x3c89ab&&_0x3c89ab[_0x3ee139(0x4e1)]?_0x3c89ab[_0x3ee139(0x4e1)]:null;}function No(_0x3a0c90){const _0x59affa=_0x33398b;var _0x3f4611,_0x32511b,_0x1ff5d9,_0xa966f3;let _0x36a3bb=(_0x3f4611=Mo(_0x3a0c90))==null?void 0x0:_0x3f4611[_0x59affa(0x2ad)],_0x2b1d1b=(_0x32511b=_0x36a3bb==null||(_0x1ff5d9=_0x36a3bb[_0x59affa(0x11a)])==null||(_0x1ff5d9=_0x1ff5d9[_0x59affa(0x3f1)])==null||(_0x1ff5d9=_0x1ff5d9[0x0])==null?void 0x0:_0x1ff5d9['ts'])==null?{}:_0x32511b;return{..._0x36a3bb==null||(_0xa966f3=_0x36a3bb[_0x59affa(0x3c1)])==null?void 0x0:_0xa966f3['textStyle'],..._0x2b1d1b};}function Po(_0x50fd31,_0x4f3319){const _0x1531ac=_0x33398b;var _0x2f7627;let _0x550a64=_0x50fd31==null||(_0x2f7627=_0x50fd31[_0x1531ac(0x4c9)]()['drawings'])==null?void 0x0:_0x2f7627[_0x4f3319];return _0x550a64?_0x550a64['layoutType']===_0x4a8c75['WRAP_NONE']?_0x550a64[_0x1531ac(0x34a)]===_0x5503c6[_0x1531ac(0x255)]?_0x1531ac(0x2af):_0x1531ac(0x418):_0x550a64['layoutType']===_0x4a8c75[_0x1531ac(0x362)]?_0x1531ac(0x31c):_0x550a64[_0x1531ac(0x27d)]===_0x4a8c75['WRAP_TOP_AND_BOTTOM']?_0x1531ac(0x495):_0x1531ac(0x36a):_0x1531ac(0x36a);}function Fo(){const _0x1c4993=_0x33398b;return _0x296c54(_0x1c4993(0x485),{'className':_0x1c4993(0x12d)});}function Io(){const _0x866f41=_0x33398b;return _0x11cded('svg',{'viewBox':_0x866f41(0x30c),'width':_0x866f41(0x14d),'height':'1em','fill':_0x866f41(0x1c4),'aria-hidden':_0x866f41(0x405),'children':[_0x296c54(_0x866f41(0x3ed),{'d':_0x866f41(0x1eb),'stroke':'currentColor','strokeWidth':'1.4','strokeLinecap':'round'}),_0x296c54(_0x866f41(0x3ed),{'d':_0x866f41(0x236),'stroke':_0x866f41(0xdf),'strokeWidth':_0x866f41(0x503),'strokeLinecap':_0x866f41(0x18d)}),_0x296c54(_0x866f41(0x3ed),{'d':_0x866f41(0x532),'stroke':_0x866f41(0xdf),'strokeWidth':_0x866f41(0x503),'strokeLinecap':_0x866f41(0x18d)}),_0x296c54(_0x866f41(0x3ed),{'d':'M14.3\x2010H17.5','stroke':_0x866f41(0xdf),'strokeWidth':'1.4','strokeLinecap':'round'}),_0x296c54(_0x866f41(0x3ed),{'d':_0x866f41(0x439),'stroke':_0x866f41(0xdf),'strokeWidth':_0x866f41(0x503),'strokeLinecap':'round'}),_0x296c54('path',{'d':_0x866f41(0x12a),'stroke':_0x866f41(0xdf),'strokeWidth':'1.4','strokeLinecap':_0x866f41(0x18d)}),_0x296c54('rect',{'x':_0x866f41(0x184),'y':'7','width':_0x866f41(0xb3),'height':'6','rx':'1','stroke':_0x866f41(0xdf),'strokeWidth':_0x866f41(0x503)})]});}function Lo(_0x36f285){const _0x43259c=_0x33398b;return _0x36f285 instanceof HTMLElement?!!_0x36f285[_0x43259c(0x489)](_0x43259c(0x49a)):!0x1;}function Ro(_0x329e69){const _0x1dd101=_0x33398b;return _0x296c54(_0x1dd101(0xff),{'className':_0x1dd101(0x288),'children':_0x329e69[_0x1dd101(0x514)]});}function _0x1916(){const _0x4583fd=['RightArrow','CTRL_COMMAND','equationShape','2126424uBjcuC','next','StraightConnector1','ShapeFlowChartOffpageConnectorIcon','Round','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','WedgeEllipseCallout','toPrimitive','Chord','docs-shape-ui.line.joinType.miter','renderDrawingShape','blockArrow','docs-shape-ui.line.endArrowType','docs-shape-ui.shape.type.curved-connector3','ShapeCallout3Icon','UturnArrow','ShapeHomePlateIcon','docs-shape-ui.shape.type.chart-star','docs-shape-ui.shape.type.bent-up-arrow','ShapeLeftRightRibbonIcon','docs-shape-ui.line.arrowType.ovalArrow','_initialize','\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','docs-shape-ui.shape.type.lightning-bolt','docs-shape-ui.shape.type.math-not-equal','getCurrentTypeOfUnit$','SolidLine','strokeWidth','_activeShapeModel','push','getInverseCoord','docs-shape-ui.shape.type.border-callout2','lineJoinType','_initEvents','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','ShapeIcon','fonts$','ShapeCurvedConnector3Arrow1Icon','refreshTransform','ShapeMoonIcon','clearAdjustControls','keys','object','transformVector2SceneCoord','doc.shape.edit.panel','ancestorTransform','clip-','ShapeWedgeRectCalloutIcon','_initUIPart','onChange','updateShapeFillImage','_loadAndSetImage','ShapeActionButtonHelpIcon','_adjName','ShapeActionButtonBeginningIcon','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','FlowChartOfflineStorage','monospace','setInsertRange','docs-shape-ui.shape.type.action-button-information','996689OEakrB','docs-shape-ui.fill.picture.align.ctr','ShapeAccentBorderCallout1Icon','scale','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','adjName','_commandService','_initCommands','ShapePieWedgeIcon','_docsShapeService','docs-shape-ui.shape.type.math-equal','clearControl$','documentStyle','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','univer-w-28','getShapeData','enableObjectsEvent','univer-text-xl\x20univer-text-gray-500','docs-shape-ui.line.dashType.longDashDot','Snip2DiagRect','RIBBON','docs-shape-ui.shape.type.rect','docs-shape-ui.shape.type.flow-chart-offpage-connector','ShapeBorderCallout3Icon','LongDashDotDot','startOffset','ShapeCornerTabsIcon','getAdjustValueByName','resize','disableObjectsEvent','setZoomRatio','_registerImageShapeClipDelegate','_docDrawingShapeRenderController','onSavingEditorData$','imageRotateWithShape','docs-shape-ui.shape.type.curved-connector3-arrow2','_baseShapeHeight','ShapeFlowChartPunchedCardIcon','getDrawingSearch','focusDrawing','getAllUnitsForType','ShapeFlowChartAlternateProcessIcon','custom','string','docs-shape-ui.shape.type.flow-chart-collate','getDrawingPoints','ShapeEllipseRibbonIcon','docs-shape-ui.shape.type.bent-connector3-arrow1','addImageSourceCache','ShapeRound2SameRectIcon','_initShapePopupMenu','_shapeTextEditingService','_activeShapeInfo','setEditing','setShapeProps','Round2DiagRect','path','ShapeAccentCallout1Icon','docs-shape-ui.shape.type.diamond','docs-shape-ui.shape.type.arc','textRuns','docs-shape-ui.align.bottom','docs-shape-ui.line.arrowType.arrow','docs-shape-ui.shape.type.callout3','setTimeout','updateDocumentStyle','textSelection$','get','restore','docs-shape-ui.shape.type.flow-chart-input-output','ShapeCurvedConnector3Icon','extraProps','docs-shape-ui.textWrap.inline','ShapeBracePairIcon','starAndBanner','TOP','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','CurvedLeftArrow','stroke','value','true','ChartPlus','ShapeHexagonIcon','_registerOperations','open','subUnitId','Solid','docs-shape-ui.fill.picture.align.tl','NoLine','docs-shape-ui.shape.type.rect-textbox-vertical','ShapeChartPlusIcon','docs-shape-ui.shape.type.flow-chart-punched-tape','ShapeFlowChartPreparationIcon','ShapeFlowChartInternalStorageIcon','mergeMenu','docs-shape-ui.shape.type.non-isosceles-trapezoid','ShapeQuadArrowCalloutIcon','shape-text','_contextService','inFrontOfText','ShapeStar16Icon','file','BlockArc','docs-shape-ui.shape.type.flow-chart-magnetic-drum','srcRect','MIDDLE','FlowchartMultiDocument','_props','_activeAdjustInfo','offsetX','docs-shape-ui.shape.type.accent-callout2','DiagStripe','FALSE','draw','ShapeStar12Icon','DRAWING_SHAPE','drawingType','ShapeMathMinusIcon','univer-flex-1','getObject','stops','docs-shape-ui.shape.type.right-arrow-callout','docs-shape-ui.shape.type.teardrop','symbol','ShapeGear6Icon','#ffffff','docs-shape-ui.insertShape','composeMatrix','localeService','changing$','Plus','docs-shape-ui.line.title','M2.5\x2015.5H8.2','imageTile','ShapeFlowChartMagneticDrumIcon','docs-shape-ui.line.dashType.dashDot','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','_drawRichText','_isOpenedShapeEditPanel','docs-shape-ui.shape.type.snip1-rect','CurvedRightArrow','ShapeQuadArrowIcon','key','docs-shape-ui.align.top','AccentBorderCallout3','_initMenu','isRender','ShapeSnip2SameRectIcon','diamond','docs-shape-ui.shape.type.trapezoid','endArrow','Rect','register','LeftRightRibbon','ShapeFlowChartDecisionIcon','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeLeftUpArrowIcon','ShapeIrregularSeal2Icon','_injector','Star6','textStyle','ShapeTeardropIcon','SwooshArrow','ShapeDecagonIcon','onScrollAfter$','FlowchartOffPageConnector','docs-shape-ui.shapePosition','_closeShapeEditPanel','docs-shape-ui.fill.picture.align.l','default','docs-shape-ui.shape.type.bent-connector3','docs-shape-ui.fill.picture.align.bl','getViewport','docs-shape-ui.shape.type.up-arrow-callout','_getShapeInfo','HomePlate','NonIsoscelesTrapezoid','docs-shape-ui.shape.type.action-button-home','docs-shape-ui.shape.type.action-button-sound','244398XxOgqy','setConfig','icon','getMatrix','UpDownArrow','ShapeUpArrowIcon','docs-shape-ui.shape.type.curved-down-arrow','univer-flex\x20univer-flex-col\x20univer-gap-2','ShapeFlowChartMultidocumentIcon','ShapeSunIcon','docs-shape-ui.shape.type.right-brace','docs-shape-ui.shape.type.flow-chart-document','setCursor','docs-shape-ui.shape.type.gear6','univer-flex\x20univer-items-center\x20univer-gap-2','flipX','fillType','moveRange','ShapeWedgeRoundRectCalloutIcon','ShapeLeftBraceIcon','Decagon','docs-shape-ui.fill.gradientFill','LeftArrow','top-center','deepClone','docs-shape-ui.shape.type.ellipse-ribbon2','FlowchartTerminator','range','_insertShapes','span','getAncestorScale','ShapeAccentBorderCallout3Icon','_subUnitId','closest','version','QuadArrowCallout','docs-shape-ui.fill.picture.insert','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','imageOpacity','transparent','\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','constructor','COMMA','docs-shape-ui.shape.type.straight-connector2','angle','wrapTopAndBottom','syncExecuteCommand','docs-shape-ui.fill.color','ActionButtonBeginning','getState','input,\x20textarea,\x20[contenteditable=\x22true\x22],\x20[role=\x22combobox\x22],\x20.univer-select','image','viewBound','getDrawingData','_clipService','applyPoint','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','docs-shape-ui.shape.type.wedge-rect-callout','ShapeCircularArrowIcon','textRect','docs-shape-ui.shape.type.action-button-movie','DashDot','docs-shape-ui.shape.type.left-right-arrow','ShapeChartStarIcon','button','ShapeLeftArrowIcon','changeEnd$','ShapeActionButtonBlankIcon','univer-rounded-lg\x20univer-p-3','calcAdjValue','docs-shape-ui.line.arrowSize.small','MathPlus','_unitId','viewportScrollY','doc.operation.open-doc-shape-format-panel','Flat','mainComponent','ActionButtonBlank','map','Arc','StripedRightArrow','_loadShapePictureFill','Frame','docs-shape-ui.line.sketchType.handDrawn','UUID','onload','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','OvalArrow','Miter','docs-shape-ui.fill.noFill','PieWedge','ShapeSnip1RectIcon','classType','URL','ShapeLeftArrowCalloutIcon','ShapeLightningBoltIcon','fill','getSnapshot','isHit','getUnit','ShapeCurvedUpArrowIcon','ShapeRibbon2Icon','DownArrowCallout','RightBracket','setOnSavingEditorData','univer-text-gray-600\x20univer-transition-transform','segmentId','None','saveImage','docs-shape-ui.shape.type.bevel','Tile','ShapeDoubleWaveIcon','gradientStops','_activeShapeAdjustPointList','paragraphStyle','startArrow','docs-shape-ui.shape.type.striped-right-arrow','_initEditingParams','shape-text-editor-position-wrapper','Digit8','onClick','dataModel','ShapeSnipRoundRectIcon','_sidebarService','docs-shape-ui.shape.type.accent-callout3','title','docs-shape-ui.line.capType.title','executeCommand','flowchart','univer-w-20','ShapeStraightConnector1Icon','onCommandExecuted','docs-shape-ui.toolbar.underline','#2563EB','left','docs-shape-ui.shape.type.action-button-back-previous','DownArrow','_updateAdjustControlPositions','docs-shape-ui.shape.type.bent-arrow','docs-shape-ui.line.beginArrowType','LeftRightCircularArrow','Star7','Teardrop','ShapeChordIcon','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','_activeShapeId','target','docs-shape-ui.shape.type.action-button-document','addObject','registerClipDelegate','docs-shape-ui.shape.type.diag-stripe','docs-shape-ui.shape.type.pentagon','docs-shape-ui.shape.type.line','MathEqual','getShapeDataById','1.4','position','docs-shape-ui.shape.type.ellipse','ShapePlusIcon','files','docs-shape-ui.config','_configService','ShapeFlowChartConnectorIcon','call','_disposePopups','univer-mb-2','ShapeChevronIcon','docs-shape-ui.shape.type.no-smoking','section','_registerDrawingFocusChangeHandler','FlowchartConnector','endOffset','children','docs-shape-ui.shape.type.folder-corner','BracketPair','Star10','docs-shape-ui.shape.type.sun','docs-shape-ui.shape.type.left-right-arrow-callout','getActiveTextRange','ShapeActionButtonInformationIcon','docs-shape-ui.shape.type.corner-tabs','_toScenePoint','docs-shape-ui.shape.type.left-brace','clear','ShapeFlowChartManualOperationIcon','onPointerUp$','ShapeAccentBorderCallout2Icon','ShapeFlowChartPredefinedProcessIcon','isFinite','menuChanged$','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','ShapeStar8Icon','reduce','getUnitId','image/*','docs-shape-ui.fill.picture.align.t','params','gdRefAng','adjHandleFill','Moon','getDrawingByParam','some','M2.5\x2010H5.7','Cube','ShapeBentConnector3Icon','docs-shape-ui.shape.type.flow-chart-terminator','scaleY','click','BentConnector3','docs-shape-ui.shape.type.action-button-return','univer-flex-1\x20univer-overflow-auto','PAGE','editingParams$','PERIOD','_baseShapeTop','getDrawingEditable','_addShapeAdjustControl','disposeWithMe','ShapeBorderCallout1Icon','menu','_isStartAdjusting','isHitLine','ShapeActionButtonSoundIcon','add','disposable','ShapeBlockArcIcon','6.4','docs-shape-ui.shape.type.callout1','docs-shape-ui.fill.picture.align.r','Round1Rect','ShapeRectTextboxHorizontalIcon','setCanUseShapeClip','_transform','getShapeTextRect','ShapeActionButtonHomeIcon','ShapeStripedRightArrowIcon','univer-absolute','Chevron','_registerDrawingTransformHandler','FromArray','docs-shape-ui.shape.type.snip2-same-rect','setSrcRect','asObservable','ShapeCurvedLeftArrowIcon','NoFill','docs-shape-ui.shape.type.star32','ShapeFlowChartCollateIcon','docs-shape-ui.deleteShape','ActionButtonHelp','univer-relative\x20univer-size-full\x20univer-overflow-visible','ShapeStar32Icon','\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','shapeId','ShapeHeartIcon','SHIFT','NoSmoking','prstGeom','drawingId','docs-shape-ui.shape.type.pie','blur','gradientAngle','docs-shape-ui.line.beginArrowSize','shapeType','_context','getShapePopupMenus','Bevel','ShapeFlowChartProcessIcon','onStarting','Dodecagon','_openShapeEditPanel','currentColor','update$','complete','refreshAdjustControls','Heart','docs-shape-ui.shape.type.plaque','ShapeSquareTabsIcon','getRealBound','ShapeActionButtonReturnIcon','docs-shape-ui.shape.type.smiley-face','isRenderLinePointsMode','changeStart$','fillImageSource','vertexAngle','ShapeLineInvIcon','Pentagon','getShapeType','shapeText','ShapeRightArrowCalloutIcon','WRAP','ShapeStar6Icon','docs-shape-ui.fill.picture.scaleX','ShapePlaqueIcon','data','_config','SHAPE','CurvedUpArrow','attachPopupToRange','_updateShape','IrregularSeal1','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','docs-shape-ui.shape.type.heart','div','ShapeActionButtonForwardNextIcon','CONTENT','menuRange','BorderCallout3','docs-shape-ui.shape.type.flow-chart-merge','_baseShapeWidth','ShapeLineIcon','ShapePentagonIcon','start','SolidFill','SnipRoundRect','univer-flex\x20univer-size-4\x20univer-items-center\x20univer-justify-center','docs-shape-ui.shape.type.left-right-circular-arrow','ShapeCallout2Icon','backward','prototype','FlowchartCollate','docs-shape-ui.shape.type.wedge-ellipse-callout','ShapeActionButtonBackPreviousIcon','ShapeRoundRectIcon','_urlImageService','getParent','Diamond','docs-shape-ui.shape.type.cube','docs-shape-ui.shape.type.border-callout1','ShapeRound2DiagRectIcon','body','doc.command.menu-insert-shape','ShapeFlowChartExtractIcon','_adjHandlerPointerUp','paragraphs','dashType','getFlatMenuByPositionKey','unitId','FlowchartMagneticTape','docs-shape-ui.line.width','isNaN','ActionButtonBackPrevious','univer-pt-2','set','scaleX','ActionButtonReturn','M11.8\x2015.5H17.5','Can','ShapeDonutIcon','\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','ShapeCallout1Icon','FlowchartMagneticDisk','CENTER','docs-shape-ui.shape.type.cloud-callout','min','_univerInstanceService','refreshShapeFillImage','Trapezoid','forEach','getShapeModel','radial','doc.shape.picker.component','drawWith','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeFlowChartTerminatorIcon','Corner','docs-shape-ui.line.joinType.round','options','focus','ShapeDownArrowIcon','_editingParams$','docs-shape-ui.shape.type.flow-chart-manual-operation','ShapeStar24Icon','_adjustPointObjects','ShapeRightBracketIcon','group','docs-shape-ui.shape.type.action-button-beginning','FlowchartSort','docs-shape-ui.shape.type.line-inv','Callout3','RightArrowCallout','1em','paragraphMenuPlacement','docs-shape-ui.fill.picture.scaleY','adjHandleStroke','docs-shape-ui.shape.type.flow-chart-decision','FlowchartPredefinedProcess','FlowchartDelay','docs-shape-ui.shape.type.star16','multiply','docs-shape-ui.line.endArrowSize','activeTarget','docs-shape-ui.shape.type.rect-textbox-horizontal','verticalAlign','_clearShapeAdjustControls','gdRefR','docs-shape-ui.shape.type.action-button-help','43006OmdQib','getFocusDrawings','ShapeBentArrowIcon','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','docs-shape-ui.line.color','ShapeMathPlusIcon','add$','calculate','invert','docs-shape-ui.line.dashType.dash','Square','docs-shape-ui.shape.type.star24','_initSelectionChange','docs-shape-ui.shape.type.star5','indexOf','src','input','docs-shape-ui.shape.type.swoosh-arrow','ChartStar','\x20px','getDocumentData','_createShapePopupMenu','angular','EllipseRibbon2','decorate','docs-shape-ui.shape.type.flow-chart-preparation','ShapeMathEqualIcon','rect','offset','docs-shape-ui.shape.type.plus','ShapeGear9Icon','ShapeRightBraceIcon','ShapeSmileyFaceIcon','onSelectionStart$','pluginName','engine','ShapeFlowChartInputOutputIcon','isDrawingObject','docs-shape-ui.shape.type.circular-arrow','6.8','opacity','RIGHT','docs-shape-ui.fill.title','_getShapeAdjustInfosById','docs-shape-ui.shape.type.flow-chart-punched-card','LeftRightUpArrow','transformForAngle','FlowchartOnlineStorage','round','_attachAdjustEvent','663320osYVab','docs-shape-ui.shape.type.flow-chart-summing-junction','ShapeFlowChartSortIcon','Linear','docs-shape-ui.textWrap.square','objects','ShapeCurvedConnector3Arrow2Icon','shapeKey','#3B82F6','docs-shape-ui.shape.type.donut','clip','getSkeleton','docs-shape-ui.shape.type.uturn-arrow','8phlaEQ','setAdjustValueByName','_imageIoService','flipY','getDrawingOrder','bottom','setShapeData','subscribeEvent','ShapeFolderCornerIcon','SmileyFace','docs-shape-ui.line.arrowType.openArrow','scene','_adjHandlerPointerMove','ShapeArcIcon','createControl$','docs-shape-ui.shape.type.pie-wedge','PARAGRAPH','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','univer-box-border\x20univer-px-4\x20univer-text-sm','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','packageName','ShapeLeftRightArrowIcon','_componentManager','docs-shape-ui.shape.type.flow-chart-delay','ShapeNoSmokingIcon','ShapeCanIcon','docs-shape-ui.shape.type.star12','docs-shape-ui.line.dashType.roundDot','Donut','NotchedRightArrow','LAYOUT','ShapeDownArrowCalloutIcon','docs-shape-ui.shape.type.left-arrow-callout','setDocumentData','univer-text-sm','docs-shape-ui.fill.picture.offsetY','_docCanvasPopManagerService','ShapeFlowChartDelayIcon','top','getImage','none','style','_sidebarDisposable','LeftCircularArrow','Star32','getCanvasElement','focus$','ShapeWaveIcon','unsubscribe','shape-text-','57CRZHvi','docs-shape-ui.shape.type.flow-chart-magnetic-disk','_onSavingEditorData$','ShapeFrameIcon','docs-shape-ui.shape.type.math-plus','_initSelection','_updateShapeAdjustControls','ShapeBentUpArrowIcon','ChartX','updateDocumentDataMargin','docs-shape-ui.fill.picture.alignment','CircularArrow','defineProperty','docs-shape-ui.shape.type.horizontal-scroll','ShapeFlowChartPunchedTapeIcon','beginPath','values','IrregularSeal2','Arrow','ShapeWedgeEllipseCalloutIcon','ShapeFlowChartMagneticTapeIcon','docs-shape-ui.toolbar.alignCenter','_registerComponent','docs-shape-ui.shape.type.action-button-forward-next','ShapeStar5Icon','ShapeEllipseIcon','ShapeUpDownArrowIcon','ShapeTextEditorContainer','VerticalScroll','M2.5\x204.5H8.2','ShapeCurvedRightArrowIcon','getActiveViewportByCoord','_shapeId','setPrstGeom','FlowChartInputOutput','Triangle','_clearPopups','docs-shape-ui.shape.type.can','ShapeLeftBracketIcon','ShapePieIcon','CurvedConnector3','horizontal','shapeModel','sin','docs-shape-ui.shape.type.plaque-tabs','\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','PictureFill','size','docs-shape-ui.line.arrowSize.medium','collapsed','_getActiveDrawingParam','basicShape','UpDownArrowCallout','capType','docs-shape-ui.openPanel','shape-text-editor','FlowchartDecision','setFillImage','ShapeBracketPairIcon','offsetY','Curved','docs-shape-ui.shape.type.flow-chart-alternate-process','ShapeFunnelIcon','Medium','Star4','UNIVER_DOC','docs-shape-ui.toolbar.bold','ShapeUturnArrowIcon','docs-shape-ui.shape.type.up-down-arrow-callout','univer-hidden','Cloud','_getSceneByUnitId','BracePair','Radial','centerAngle','ShapeEllipseRibbon2Icon','ShapeStar4Icon','docs-shape-ui.shape.type.straight-connector1','onDblclick$','VIEW_MAIN','MathMinus','LineInv','_menuManagerService','getRenderById','docs-shape-ui.shape.type.bracket-pair','onTransformChange$','_baseShapeLeft','max','UpArrowCallout','getEditing','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','stopPropagation','docs-shape-ui.shape.type.octagon','ShapeHalfFrameIcon','docs-shape-ui.shape.type.wedge-round-rect-callout','transformByState','docs-shape-ui.shape.type.square-tabs','cos','isRichText','AccentCallout1','color','ShapeRtTriangleIcon','_updateSrcRectByTransform','dataStream','M11.8\x204.5H17.5','FlowchartOr','_toVisualAdjustPoint','20TfKeof','getValue','getDrawingVisible','docs-shape-ui.shape.type.block-arc','ShapeCurvedDownArrowIcon','docs-shape-ui.align.middle','ShapeRightArrowIcon','docs-shape-ui.shape.type.flow-chart-internal-storage','#000000','GradientFill','univer-flex\x20univer-items-center\x20univer-justify-between','734065EbMfbn','translateWithPrecision','docs-shape-ui.fill.picture.align.tr','ShapeActionButtonDocumentIcon','ActionButtonDocument','below','replace','docs-shape-ui.shape.type.half-frame','Angular','docs-shape-ui.shape.type.left-right-ribbon','Large','docs-shape-ui.line.dashType.title','univer-text-xs','ShapeCloudIcon','ShapeFlowChartMagneticDiskIcon','iterator','Ribbon2','TRUE','BentUpArrow','docs-shape-ui.shape.type.left-circular-arrow','BACKSPACE','active','ShapeDiamondIcon','_hideFloatMenu','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','BOTTOM','ShapeVerticalScrollIcon','ShapeFlowChartDocumentIcon','setContextValue','getImageSourceCache','vertical','docs-shape-ui.shape.type.triangle','ShapeAccentCallout2Icon','docs-shape-ui.line.solidLine','ShapeFlowChartMergeIcon','resetCursor','AccentCallout2','docs-shape-ui.textWrap.behindText','ActionButtonEnd','rectangle','_isShouldShowDrawingShapeAdjust','BentArrow','docs-shape-ui.shape.type.flow-chart-offline-storage','setSelectionRanges','ShapeBentConnector3Arrow2Icon','getFonts','_draw','ShapeFlowChartOnlineStorageIcon','Sun','docs-shape-ui.line.joinType.bevel','docs-shape-ui.shape.type.chord','_docSelectionRenderService','docs-shape-ui.line.capType.round','docs-shape-ui.toolbar.italic','_init','JUSTIFIED','Hexagon','layoutType','docs-shape-ui.textWrap.topAndBottom','docs-shape-ui.toolbar.strikethrough','Image','disabled','AccentCallout3','getAdjustInfoByName','docs-shape-ui.line.sketchType.title','ctr','isInGroup','FlowchartDisplay','univer-flex\x20univer-h-7\x20univer-items-center\x20univer-gap-1\x20univer-px-1','docs-shape-ui.shape.type.snip2-diag-rect','BorderCallout2','getObjectIncludeInGroup','docs-shape-ui.title','isLineShape','isEditing','img','docs-shape-ui.shape.type.star8','ShapeParallelogramIcon','docs-shape-ui.shape.type.frame','docs-shape-ui.shape.type.parallelogram','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','docs-shape-ui.shape.type.dodecagon','ShapeNotchedRightArrowIcon','width','Gear6','height','SHAPE_TEXT','onPointerMove$','docs-shape-ui.shape.type.star4','SELECTOR','ShapeTriangleIcon','other','docs-shape-ui.shape.type.left-up-arrow','current','renderConfig','univer-text-gray-500','type','auto','clearTimeout','_popupMenuListener','close','ActionButtonHome','docs-shape-ui.shape.type.border-callout3','linear','label','doc','startNodePosition','behindText','item','preValue','CornerTabs','Dash','name','onReady','docs-shape-ui.toolbar.alignJustify','getViewports','ShapeFlowChartOfflineStorageIcon','FlowchartDocument','docs-shape-ui.line.capType.flat','ShapeFlowChartOrIcon','transform','_transformCalculateSrcRect','docs-shape-ui.line.dashType.squareDot','ShapeLeftRightUpArrowIcon','docs-shape-ui.shape.type.quad-arrow','univer-w-full','ShapeMathDivideIcon','ShapeRectTextboxVerticalIcon','getCurrentUniverDocInstance','docs-shape-ui.shape.type.flow-chart-online-storage','FlowchartManualOperation','adjHandleSize','ShapeTrapezoidIcon','isHorizontal','ShapeFlowChartSummingJunctionIcon','featurePluginUpdateNotification','preventDefault','doc.shape.floating-toolbar','registerRenderModule','docs-shape-ui.line.sketchType.freehand','gradientType','univer-flex\x20univer-flex-col\x20univer-gap-3','StealthArrow','horizontalAlign','LeftRightArrowCallout','Star5','FlowchartManualInput','ShapeRibbonIcon','rgb','ShapeBevelIcon','docs-shape-ui.shape.type.accent-border-callout2','dispose','end','function','attachPopupToObject','docs-shape-ui.toolbar.alignLeft','_drawingType','Stretch','ShapeUpArrowCalloutIcon','4081185BEXqxP','INLINE','docs-shape-ui.shape.type.moon','getSelectedObjectMap','enhanceParams','remove$','docs-shape-ui.shape.type.flow-chart-connector','subscribe','docs-shape-ui.shape.type.left-right-up-arrow','getOwnPropertyDescriptor','MathDivide','paragraph','Star8','docs-shape-ui.shape.type.wave','docs-shape-ui.shape.type.ellipse-ribbon','shapeData','docs-shape-ui.fill.picture.rotateWithShape','Small','OpenArrow','ShapeLeftCircularArrowIcon','getTransformerByCreate','backgroundColor','warn','docs-shape-ui.shape.type.accent-callout1','getActualSize','ShapeRound1RectIcon','_renderManagerService','docs-shape-ui.shape.type.brace-pair','getSelectionRanges','ShapeLeftRightCircularArrowIcon','_refreshShapeData','wrapStrategy','registerCommand','_drawingManagerService','docs-shape-ui.shape.type.ribbon2','ShapeBentConnector3Arrow1Icon','ShapePlaqueTabsIcon','_createShapeAdjustControls','docs-shape-ui.toolbar.textColor','docs-shape-ui.shape.type.heptagon','docs-shape-ui.shape.type.flow-chart-manual-input','0\x200\x2020\x2020','_showFloatMenu','ShapeIrregularSeal1Icon','doc-shape-adjust-point-','Snip2SameRect','shape-text-editor-content','find','LEFT','ShapeBorderCallout2Icon','LeftArrowCallout','ShapeRectIcon','docs-shape-ui.shape.type.home-plate','Octagon','DRAWING_IMAGE','FoldedCorner','CloudCallout','wrapSquare','DOCS_SHAPE_UI_PLUGIN','_floatMenu','_getFocusedShapeAtPoint','LeftUpArrow','docs-shape-ui.fill.picture.align.b','docs-shape-ui.shape.type.hexagon','callout','save','getShapeTextData','OPERATION','docs-shape-ui.shape.type.accent-border-callout3','gdRefX','Digit7','docs-shape-ui.shape.type.math-minus','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','sketchType','docs-shape-ui.fill.picture.tileAsTexture','Heptagon','univer-flex\x20univer-items-center\x20univer-gap-3','makeDirty','HalfFrame','direction','docs-shape-ui.line.sketchType.curved','_localeService','LongDash','CurvedDownArrow','univer-size-full','error','line','visible','FlowchartPreparation','Wave','MEDIA','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','ActionButtonForwardNext','disableShapeOption','docs-shape-ui.shape.type.corner','_lastEditingShapeKey','includes','_drawSimpleText','docs-shape-ui.line.arrowType.none','docs-shape-ui.shape.type.round1-rect','ShapeActionButtonMovieIcon','docs-shape-ui.shape.type.up-arrow','_initializedShapePopupMenu','behindDoc','ShapeLeftRightArrowCalloutIcon','WedgeRectCallout','ShapeCornerIcon','parseFloat','gdRefY','docs-shape-ui.toolbar.fillColor','ShapeSnip2DiagRectIcon','ShapeDiagStripeIcon','FlowchartPunchedCard','docs-shape-ui.shape.type.left-bracket','docs-shape-ui.shape.type.irregular-seal1','deg)\x20scaleY(','ShapeOctagonIcon','#111827','with','LeftBracket','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','docs-shape-ui.shape.type.star7','_docSelectionManagerService','oKey','docs-shape-ui.shape.type.decagon','ShapeCubeIcon','updateContext','WRAP_SQUARE','docs-shape-ui.shape.type.right-bracket','_getShapeAdjustPointListById','MathNotEqual','length','docs-shape-ui.shape.type.curved-up-arrow','ShapeFlowChartDisplayIcon','ENTER','inline','docs-shape-ui.shape.type.curved-left-arrow','docs-shape-ui.shape.type.curved-right-arrow','Star12','clipByShape','docs-shape-ui.line.arrowSize.large','docs-shape-ui.fill.transparency','ShapeNonIsoscelesTrapezoidIcon','LightningBolt','ShapeFlowChartManualInputIcon','LeftBrace','filter'];_0x1916=function(){return _0x4583fd;};return _0x1916();}function zo(_0xcf7598){const _0x5f45e9=_0x33398b;return _0x296c54(_0x1e88cc,{'title':_0xcf7598[_0x5f45e9(0x4e5)],'placement':_0x5f45e9(0x1a1),'children':_0x296c54(_0x5f45e9(0x4a8),{'type':_0x5f45e9(0x4a8),'disabled':_0xcf7598[_0x5f45e9(0x281)],'onClick':_0xcf7598[_0x5f45e9(0x4e0)],'className':_0x10bfbb(_0x5f45e9(0x3b9),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0xcf7598[_0x5f45e9(0x259)]}),'children':_0xcf7598[_0x5f45e9(0x514)]})});}function Bo(_0x515ca4){const _0x3618c1=_0x33398b;let [_0x10946b,_0x27300b]=_0x1fc818(!0x1);return _0x296c54(_0x40cd3e,{'disabled':_0x515ca4[_0x3618c1(0x281)],'open':_0x10946b,'onOpenChange':_0x27300b,'overlay':_0x296c54(_0x3618c1(0xff),{'className':_0x3618c1(0x38f),'children':_0x296c54(_0x4ce32e,{'value':_0x515ca4[_0x3618c1(0x232)],'onChange':_0x42af62=>{const _0xbaa245=_0x3618c1;_0x515ca4[_0xbaa245(0x3aa)](_0x42af62),_0x27300b(!0x1);}})}),'children':_0x296c54(_0x3618c1(0x485),{'children':_0x296c54(_0x1e88cc,{'title':_0x515ca4[_0x3618c1(0x4e5)],'placement':_0x3618c1(0x1a1),'children':_0x11cded(_0x3618c1(0x4a8),{'type':_0x3618c1(0x4a8),'disabled':_0x515ca4[_0x3618c1(0x281)],'className':'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','children':[_0x515ca4[_0x3618c1(0x514)],_0x296c54(_0x3618c1(0x485),{'className':_0x3618c1(0xcc),'style':{'backgroundColor':_0x515ca4['color']}})]})})})});}function Vo(_0x22ba3b){const _0x293a2a=_0x33398b;var _0x589e9c;let [_0x486ee9,_0x1c5189]=_0x1fc818(!0x1),_0xac4f78=(_0x589e9c=_0x22ba3b[_0x293a2a(0x13f)][_0x293a2a(0x312)](_0x2d1e89=>_0x2d1e89[_0x293a2a(0x404)]===_0x22ba3b[_0x293a2a(0x404)]))==null?_0x22ba3b[_0x293a2a(0x13f)][0x0]:_0x589e9c;return _0x296c54(_0x40cd3e,{'open':_0x486ee9,'onOpenChange':_0x1c5189,'overlay':_0x296c54(_0x293a2a(0xff),{'className':_0x293a2a(0x294),'children':_0x22ba3b['options'][_0x293a2a(0x4b6)](_0x142cda=>_0x11cded(_0x293a2a(0x4a8),{'type':'button','onClick':()=>{const _0x5ee884=_0x293a2a;_0x22ba3b[_0x5ee884(0x3aa)](_0x142cda['value']),_0x1c5189(!0x1);},'className':_0x10bfbb(_0x293a2a(0x37e),{'univer-bg-primary-50\x20univer-text-primary-600\x20dark:!univer-bg-gray-800\x20dark:!univer-text-primary-300':_0x142cda[_0x293a2a(0x404)]===_0x22ba3b[_0x293a2a(0x404)]}),'children':[_0x296c54(_0x293a2a(0x485),{'className':_0x293a2a(0x10b),'children':_0x142cda[_0x293a2a(0x46a)]}),_0x296c54(_0x293a2a(0x485),{'className':_0x293a2a(0x42b),'children':_0x142cda['label']})]},_0x142cda['value']))}),'children':_0x296c54('span',{'children':_0x296c54(_0x1e88cc,{'title':_0x22ba3b[_0x293a2a(0x4e5)],'placement':_0x293a2a(0x1a1),'children':_0x11cded(_0x293a2a(0x4a8),{'type':'button','className':_0x10bfbb(_0x293a2a(0x48d),{'univer-bg-gray-100\x20univer-text-primary-600\x20dark:!univer-bg-gray-700\x20dark:!univer-text-primary-300':_0x486ee9}),'children':[_0xac4f78[_0x293a2a(0x46a)],_0x296c54(_0x54b0ad,{'className':_0x293a2a(0x250)})]})})})});}function Ho(_0x3d66ad){const _0x221ea7=_0x33398b;var _0x271c1d,_0x1101ef,_0x47c3b9,_0x4c9a82,_0x2ec910,_0x1456a2,_0xbf15fd,_0x2b0288,_0x49d319,_0x27cbc7,_0x510e9e,_0x12c101,_0x4df2d6,_0x96617b,_0x47c08e,_0x2c2dd7,_0x503d13,_0x5786e0,_0x3c393c,_0x4a0d26,_0x461406;let _0x2a0103=_0x3d66ad['popup'][_0x221ea7(0x3fc)];if(!_0x2a0103)return null;let _0x4b55af=_0x1713c6(_0x557e3b),_0x37e9c6=_0x1713c6(_0x180d67),_0x2fa8d1=_0x1713c6(_0x3e64dd),_0x5791b2=_0x1713c6(_0x135189),_0x10b592=_0x1713c6(_0x34a8dd),_0x3ae4df=_0x1713c6(_0x589d77),{unitId:_0x3a817b,subUnitId:_0x284fcb,drawingId:_0x5626ca,shapeType:_0x5cb28d}=_0x2a0103,[_0x55df6e,_0x359b81]=_0x1fc818(_0x2a0103['shapeData']),[_0x3ee328,_0x31ac83]=_0x1fc818(!0x1),[_0x1f9018,_0x13fc16]=_0x1fc818(()=>_0x3ae4df[_0x221ea7(0x271)]()),_0x5bda8f=(_0x271c1d=_0x5791b2[_0x221ea7(0x4cb)](_0x3a817b,_0xc4517f[_0x221ea7(0x20f)]))==null?void 0x0:_0x271c1d,[_0x33f1d7,_0x356372]=_0x1fc818(()=>Po(_0x5bda8f,_0x5626ca)),_0x5b7ada=_0x59899f(_0x5cb28d),_0x48ec1f=_0x559b10(()=>No(_0x55df6e),[_0x55df6e]),_0x28cb26=_0x559b10(()=>Mo(_0x55df6e),[_0x55df6e]);_0x16da6b(()=>{const _0x9e3c81=_0x221ea7;let _0x3c0820=_0x4b55af[_0x9e3c81(0x4eb)](_0x29864d=>{const _0x569fde=_0x9e3c81;if(_0x29864d['id']!==_0x294395['id'])return;let _0x40bd5a=_0x2fa8d1[_0x569fde(0x502)](_0x3a817b,_0x284fcb,_0x5626ca);_0x40bd5a&&_0x359b81(_0x40bd5a);});return()=>_0x3c0820[_0x9e3c81(0x2db)]();},[_0x4b55af,_0x2fa8d1,_0x5626ca,_0x284fcb,_0x3a817b]),_0x16da6b(()=>{const _0x39115a=_0x221ea7;let _0x19a18d=_0x3ae4df[_0x39115a(0x39d)]['subscribe'](_0x168aa2=>{_0x13fc16(_0x168aa2);});return()=>_0x19a18d[_0x39115a(0x1cc)]();},[_0x3ae4df]);let _0x4d643f=_0x53d385=>{_0x359b81(_0x424698=>({..._0x424698,..._0x53d385}));},_0x3a82b4=_0x12e284=>{let _0x117590=Ao(_0x55df6e,_0x12e284);Q(_0x4b55af,_0x3a817b,_0x284fcb,_0x5626ca,{'oldShapeData':{'shapeText':_0x55df6e['shapeText']}},_0x117590),_0x4d643f(_0x117590);},_0x391e56=_0x24c563=>{const _0x5f106b=_0x221ea7;_0x356372(_0x24c563),_0x4b55af[_0x5f106b(0x4e7)]('doc.command.update-doc-drawing-wrapping-style',{'unitId':_0x3a817b,'subUnitId':_0x284fcb,'drawings':[{'unitId':_0x3a817b,'subUnitId':_0x284fcb,'drawingId':_0x5626ca}],'wrappingStyle':_0x24c563});};if(_0x3ee328)return null;let _0x2466d2=(_0x1101ef=(_0x47c3b9=_0x55df6e['fill'])==null?void 0x0:_0x47c3b9[_0x221ea7(0x232)])==null?_0x221ea7(0x197):_0x1101ef,_0x19eabe=(_0x4c9a82=(_0x2ec910=_0x55df6e[_0x221ea7(0x403)])==null?void 0x0:_0x2ec910[_0x221ea7(0x232)])==null?'#2563EB':_0x4c9a82,_0x14e677=(_0x1456a2=(_0xbf15fd=_0x48ec1f['cl'])==null?void 0x0:_0xbf15fd['rgb'])==null?_0x221ea7(0x358):_0x1456a2,_0x4ecbb7=(_0x2b0288=(_0x49d319=_0x48ec1f['bg'])==null?void 0x0:_0x49d319[_0x221ea7(0x2d8)])==null?'#ffffff':_0x2b0288,_0x4cd597=(_0x27cbc7=_0x48ec1f['ff'])==null?_0x221ea7(0x3b2):_0x27cbc7,_0x125a88=(_0x510e9e=_0x48ec1f['fs'])==null?0xe:_0x510e9e,_0x58ed40=_0x48ec1f['bl']===_0x5503c6[_0x221ea7(0x255)],_0x51de4f=_0x48ec1f['it']===_0x5503c6[_0x221ea7(0x255)],_0x43fbc4=((_0x12c101=_0x48ec1f['ul'])==null?void 0x0:_0x12c101['s'])===_0x5503c6['TRUE'],_0x4f6b22=((_0x4df2d6=_0x48ec1f['st'])==null?void 0x0:_0x4df2d6['s'])===_0x5503c6['TRUE'],_0x367f37=_0x1f9018['map'](_0x3192c2=>({'label':_0x37e9c6['t'](_0x3192c2[_0x221ea7(0x2ac)]),'value':_0x3192c2[_0x221ea7(0x404)]})),_0x1e0db8=_0x516cbf[_0x221ea7(0x4b6)](_0x3df469=>({'label':_0x3df469[_0x221ea7(0x2ac)],'value':String(_0x3df469[_0x221ea7(0x404)])})),_0x4c3271=(_0x96617b=_0x28cb26==null?void 0x0:_0x28cb26['ha'])==null?_0x1c6b12[_0x221ea7(0x313)]:_0x96617b,_0x38b45e=(_0x47c08e=_0x28cb26==null?void 0x0:_0x28cb26['va'])==null?_0x48e091[_0x221ea7(0x400)]:_0x47c08e,_0x4bb3b3=[{'label':_0x37e9c6['t']('docs-shape-ui.toolbar.alignLeft'),'value':_0x1c6b12[_0x221ea7(0x313)],'icon':_0x296c54(_0x192fd6,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x1e3)),'value':_0x1c6b12[_0x221ea7(0x130)],'icon':_0x296c54(_0xb03298,{})},{'label':_0x37e9c6['t']('docs-shape-ui.toolbar.alignRight'),'value':_0x1c6b12[_0x221ea7(0x186)],'icon':_0x296c54(_0x329195,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x2b6)),'value':_0x1c6b12[_0x221ea7(0x27b)],'icon':_0x296c54(_0x5999d0,{})}],_0x17ac9b=[{'label':_0x37e9c6['t'](_0x221ea7(0x444)),'value':_0x48e091[_0x221ea7(0x400)],'icon':_0x296c54(_0x20ef6f,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x23e)),'value':_0x48e091[_0x221ea7(0x41e)],'icon':_0x296c54(_0x251cf3,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x3f2)),'value':_0x48e091[_0x221ea7(0x25d)],'icon':_0x296c54(_0x5753c7,{})}],_0x354f78=[{'label':_0x37e9c6['t']('docs-shape-ui.textWrap.inline'),'value':_0x221ea7(0x36a),'icon':_0x296c54(Io,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x193)),'value':_0x221ea7(0x31c),'icon':_0x296c54(Io,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x27e)),'value':_0x221ea7(0x495),'icon':_0x296c54(Io,{})},{'label':_0x37e9c6['t'](_0x221ea7(0x269)),'value':_0x221ea7(0x2af),'icon':_0x296c54(Io,{})},{'label':_0x37e9c6['t']('docs-shape-ui.textWrap.inFrontText'),'value':_0x221ea7(0x418),'icon':_0x296c54(Io,{})}];return _0x11cded(_0x221ea7(0xff),{'data-u-comp':'shape-floating-toolbar','onMouseDown':_0x27ea70=>{const _0xf3ad3c=_0x221ea7;_0x27ea70[_0xf3ad3c(0x229)](),Lo(_0x27ea70['target'])||_0x27ea70[_0xf3ad3c(0x2cc)]();},'className':_0x10bfbb(_0x221ea7(0x4f8),_0x3476d2),'children':[_0x11cded(Ro,{'compact':!0x0,'children':[_0x296c54(Bo,{'title':_0x37e9c6['t'](_0x221ea7(0x187)),'color':_0x2466d2,'disabled':_0x5b7ada,'onChange':_0x3fa9c0=>{const _0x2c7212=_0x221ea7;let _0x224c74={'fill':{..._0x55df6e[_0x2c7212(0x4c8)],'fillType':_0x4784e1[_0x2c7212(0x109)],'color':_0x3fa9c0}};Q(_0x4b55af,_0x3a817b,_0x284fcb,_0x5626ca,{'oldShapeData':{'fill':_0x55df6e['fill']}},_0x224c74),_0x4d643f(_0x224c74);},'children':_0x296c54(_0x9c4acd,{'extend':{'colorChannel1':_0x2466d2}})}),_0x296c54(Bo,{'title':_0x37e9c6['t'](_0x221ea7(0x438)),'color':_0x19eabe,'onChange':_0x27b635=>{const _0x25b8c9=_0x221ea7;let _0x4c3a30={'stroke':{..._0x55df6e[_0x25b8c9(0x403)],'lineStrokeType':_0xdfb148['SolidLine'],'color':_0x27b635}};Q(_0x4b55af,_0x3a817b,_0x284fcb,_0x5626ca,{'oldShapeData':{'stroke':_0x55df6e[_0x25b8c9(0x403)]}},_0x4c3a30),_0x4d643f(_0x4c3a30);},'children':_0x296c54(_0x482822,{})})]}),_0x296c54(Fo,{}),_0x11cded(Ro,{'children':[_0x296c54(_0x341d44,{'className':'!univer-h-6\x20univer-w-24\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':_0x4cd597,'options':_0x367f37,'onChange':_0x81435=>_0x3a82b4({'textStyle':{'ff':String(_0x81435)}})}),_0x296c54(_0x341d44,{'className':'!univer-h-6\x20univer-w-14\x20!univer-min-w-0\x20!univer-rounded-md\x20!univer-px-1.5','value':String(_0x125a88),'options':_0x1e0db8,'onChange':_0x99741=>{const _0x179cd3=_0x221ea7;let _0x26c22a=Number(_0x99741);Number[_0x179cd3(0x124)](_0x26c22a)||_0x3a82b4({'textStyle':{'fs':_0x26c22a}}),_0x10b592[_0x179cd3(0x260)](_0x56bd1e,!0x1);}})]}),_0x296c54(Fo,{}),_0x11cded(Ro,{'compact':!0x0,'children':[_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0x210)),'active':_0x58ed40,'onClick':()=>_0x3a82b4({'textStyle':{'bl':_0x58ed40?_0x5503c6[_0x221ea7(0x425)]:_0x5503c6['TRUE']}}),'children':_0x296c54(_0x332b27,{})}),_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0x279)),'active':_0x51de4f,'onClick':()=>_0x3a82b4({'textStyle':{'it':_0x51de4f?_0x5503c6['FALSE']:_0x5503c6[_0x221ea7(0x255)]}}),'children':_0x296c54(_0x45af6b,{})}),_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0x4ec)),'active':_0x43fbc4,'onClick':()=>_0x3a82b4({'textStyle':{'ul':{'s':_0x43fbc4?_0x5503c6['FALSE']:_0x5503c6['TRUE']}}}),'children':_0x296c54(_0x57438f,{})}),_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0x27f)),'active':_0x4f6b22,'onClick':()=>_0x3a82b4({'textStyle':{'st':{'s':_0x4f6b22?_0x5503c6[_0x221ea7(0x425)]:_0x5503c6[_0x221ea7(0x255)]}}}),'children':_0x296c54(_0x3d49ce,{})})]}),_0x296c54(Fo,{}),_0x11cded(Ro,{'compact':!0x0,'children':[_0x296c54(Bo,{'title':_0x37e9c6['t'](_0x221ea7(0x309)),'color':_0x14e677,'onChange':_0x4302c5=>_0x3a82b4({'textStyle':{'cl':{'rgb':_0x4302c5}}}),'children':_0x296c54(_0x4a3a5b,{'extend':{'colorChannel1':_0x14e677}})}),_0x296c54(Bo,{'title':_0x37e9c6['t'](_0x221ea7(0x350)),'color':_0x4ecbb7,'onChange':_0x1f6867=>_0x3a82b4({'textStyle':{'bg':{'rgb':_0x1f6867}}}),'children':_0x296c54(_0x9c4acd,{'extend':{'colorChannel1':_0x4ecbb7}})})]}),_0x296c54(Fo,{}),_0x11cded(Ro,{'compact':!0x0,'children':[_0x296c54(Vo,{'title':(_0x2c2dd7=(_0x503d13=_0x4bb3b3['find'](_0x117fef=>_0x117fef['value']===_0x4c3271))==null?void 0x0:_0x503d13[_0x221ea7(0x2ac)])==null?_0x37e9c6['t'](_0x221ea7(0x2df)):_0x2c2dd7,'value':_0x4c3271,'options':_0x4bb3b3,'onChange':_0x5e93e4=>_0x3a82b4({'horizontalAlign':_0x5e93e4})}),_0x296c54(Vo,{'title':(_0x5786e0=(_0x3c393c=_0x17ac9b[_0x221ea7(0x312)](_0xb75a83=>_0xb75a83[_0x221ea7(0x404)]===_0x38b45e))==null?void 0x0:_0x3c393c['label'])==null?_0x37e9c6['t'](_0x221ea7(0x444)):_0x5786e0,'value':_0x38b45e,'options':_0x17ac9b,'onChange':_0xb48f69=>_0x3a82b4({'verticalAlign':_0xb48f69})})]}),_0x296c54(Fo,{}),_0x296c54(Ro,{'compact':!0x0,'children':_0x296c54(Vo,{'title':(_0x4a0d26=(_0x461406=_0x354f78[_0x221ea7(0x312)](_0x19baef=>_0x19baef[_0x221ea7(0x404)]===_0x33f1d7))==null?void 0x0:_0x461406[_0x221ea7(0x2ac)])==null?_0x37e9c6['t'](_0x221ea7(0x3fd)):_0x4a0d26,'value':_0x33f1d7,'options':_0x354f78,'onChange':_0x391e56})}),_0x296c54(Fo,{}),_0x11cded(Ro,{'compact':!0x0,'children':[_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0x204)),'onClick':()=>{const _0x1ff1b3=_0x221ea7;_0x31ac83(!0x0),_0x4b55af[_0x1ff1b3(0x4e7)](io['id'],{'unitId':_0x3a817b,'subUnitId':_0x284fcb,'drawingId':_0x5626ca});},'children':_0x296c54(_0x4318be,{})}),_0x296c54(zo,{'title':_0x37e9c6['t'](_0x221ea7(0xc8)),'onClick':()=>{_0x4b55af['executeCommand'](_0x3cf27f['id'],{'unitId':_0x3a817b,'drawings':[{'unitId':_0x3a817b,'subUnitId':_0x284fcb,'drawingId':_0x5626ca}]});},'children':_0x296c54(_0x2f599f,{})})]})]});}let Uo=class extends _0x5a4164{constructor(_0x47e6fe,_0xc72854){const _0x4fd4f6=_0x33398b;super(),this[_0x4fd4f6(0x49e)]=_0x47e6fe,this['_drawingManagerService']=_0xc72854,this[_0x4fd4f6(0x3d4)](),this[_0x4fd4f6(0x49e)]['setCanUseShapeClip'](!0x0),this[_0x4fd4f6(0xaa)]({'dispose':()=>this[_0x4fd4f6(0x49e)][_0x4fd4f6(0xb8)](!0x1)});}[_0x33398b(0x3d4)](){const _0x2c05cd=_0x33398b;let _0x30ebb8=new Map(),_0x456df3=this[_0x2c05cd(0x49e)][_0x2c05cd(0x4fd)]((_0x187dda,_0xd11cd0,_0x419ca8,_0x123903,_0x4c7098)=>{const _0x2b617a=_0x2c05cd;let _0x3ee956=_0xd11cd0;if(_0x3ee956===_0x26dc85[_0x2b617a(0x4d3)]||_0xd11cd0===_0x2b617a(0x3df))return!0x1;try{let _0x2f10b8=_0x30ebb8[_0x2b617a(0x3f8)](_0xd11cd0);return _0x2f10b8||(_0x2f10b8=new _0x173d3b(_0x3ee956,_0x2b617a(0x3a7)+_0xd11cd0),_0x30ebb8[_0x2b617a(0x127)](_0xd11cd0,_0x2f10b8)),_0x4c7098&&_0x2f10b8[_0x2b617a(0x1a2)]({'adjustValues':_0x4c7098},!0x0),_0x2f10b8[_0x2b617a(0x361)]({'width':_0x419ca8,'height':_0x123903}),_0x2f10b8['buildClipPath'](_0x187dda,{'left':0x0,'top':0x0,'width':_0x419ca8,'height':_0x123903});}catch{return!0x1;}});this['disposeWithMe'](_0x456df3),this[_0x2c05cd(0xaa)]({'dispose':()=>_0x30ebb8[_0x2c05cd(0x51f)]()});}[_0x33398b(0x36e)](_0x200497,_0x150bbc,_0x10320f,_0x2f8d34,_0x52f0c2){const _0x11fb25=_0x33398b;let _0x50a379=this[_0x11fb25(0x304)][_0x11fb25(0x49d)](_0x200497,_0x150bbc)[_0x10320f];!_0x50a379||_0x50a379[_0x11fb25(0x429)]!==_0x2cfc35['DRAWING_IMAGE']||this[_0x11fb25(0x304)][_0x11fb25(0x2cb)]([{..._0x50a379,'prstGeom':_0x2f8d34,'adjustValues':_0x52f0c2}]);}};Uo=go([$(0x0,_0x7cac4f(_0x1ee254)),$(0x1,_0x7cac4f(_0x34cbe0))],Uo);const Wo=[{'group':_0x33398b(0x339),'type':_0x26dc85['Line'],'icon':_0x33398b(0x106),'name':_0x33398b(0x500)},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0x37b)],'icon':_0x33398b(0x4ea),'name':_0x33398b(0x21b),'endArrow':!0x0},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0x37b)],'icon':'ShapeStraightConnector2Icon','name':_0x33398b(0x493),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':_0x26dc85[_0x33398b(0xa1)],'icon':_0x33398b(0x534),'name':_0x33398b(0x45f)},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0xa1)],'icon':_0x33398b(0x306),'name':_0x33398b(0x3e4),'endArrow':!0x0},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0xa1)],'icon':_0x33398b(0x270),'name':'docs-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x33398b(0x339),'type':_0x26dc85['CurvedConnector3'],'icon':'ShapeCurvedConnector3Icon','name':_0x33398b(0x386)},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0x1f6)],'icon':_0x33398b(0x39e),'name':'docs-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':_0x33398b(0x339),'type':_0x26dc85[_0x33398b(0x1f6)],'icon':_0x33398b(0x195),'name':_0x33398b(0x3d8),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x33398b(0x26b),'type':_0x26dc85['Rect'],'icon':_0x33398b(0x316),'name':_0x33398b(0x3ca)},{'group':_0x33398b(0x26b),'type':_0x26dc85['RoundRect'],'icon':_0x33398b(0x113),'name':'docs-shape-ui.shape.type.round-rect'},{'group':'rectangle','type':_0x26dc85['Snip1Rect'],'icon':_0x33398b(0x4c3),'name':_0x33398b(0x440)},{'group':'rectangle','type':_0x26dc85[_0x33398b(0x310)],'icon':_0x33398b(0x448),'name':_0x33398b(0xc1)},{'group':_0x33398b(0x26b),'type':_0x26dc85[_0x33398b(0x3c8)],'icon':'ShapeSnip2DiagRectIcon','name':_0x33398b(0x289)},{'group':_0x33398b(0x26b),'type':_0x26dc85[_0x33398b(0x10a)],'icon':'ShapeSnipRoundRectIcon','name':'docs-shape-ui.shape.type.snip-round-rect'},{'group':_0x33398b(0x26b),'type':_0x26dc85[_0x33398b(0xb6)],'icon':_0x33398b(0x2fc),'name':_0x33398b(0x346)},{'group':_0x33398b(0x26b),'type':_0x26dc85['Round2SameRect'],'icon':_0x33398b(0x3e6),'name':'docs-shape-ui.shape.type.round2-same-rect'},{'group':_0x33398b(0x26b),'type':_0x26dc85[_0x33398b(0x3ec)],'icon':_0x33398b(0x119),'name':'docs-shape-ui.shape.type.round2-diag-rect'},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x44c)],'icon':_0x33398b(0xb7),'name':_0x33398b(0x158),'horizontal':!0x0},{'group':'basicShape','type':_0x26dc85['Rect'],'icon':_0x33398b(0x2c3),'name':_0x33398b(0x40e),'vertical':!0x0},{'group':_0x33398b(0x201),'type':_0x26dc85['Ellipse'],'icon':'ShapeEllipseIcon','name':_0x33398b(0x505)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0x1f1)],'icon':_0x33398b(0x29e),'name':_0x33398b(0x263)},{'group':_0x33398b(0x201),'type':_0x26dc85['RightTriangle'],'icon':_0x33398b(0x233),'name':'docs-shape-ui.shape.type.rt-triangle'},{'group':_0x33398b(0x201),'type':_0x26dc85['Parallelogram'],'icon':_0x33398b(0x291),'name':_0x33398b(0x293)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0x135)],'icon':_0x33398b(0x2c8),'name':_0x33398b(0x44a)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0x116)],'icon':_0x33398b(0x25a),'name':_0x33398b(0x3ef)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0xee)],'icon':_0x33398b(0x107),'name':_0x33398b(0x4ff)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x27c)],'icon':_0x33398b(0x407),'name':_0x33398b(0x322)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x32e)],'icon':'ShapeHeptagonIcon','name':_0x33398b(0x30a)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x318)],'icon':_0x33398b(0x357),'name':_0x33398b(0x22a)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x47c)],'icon':'ShapeDecagonIcon','name':_0x33398b(0x35f)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0xdd)],'icon':'ShapeDodecagonIcon','name':_0x33398b(0x295)},{'group':_0x33398b(0x201),'type':_0x26dc85['Pie'],'icon':'ShapePieIcon','name':_0x33398b(0xd3)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x381)],'icon':_0x33398b(0x4f7),'name':_0x33398b(0x276)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x4f6)],'icon':_0x33398b(0x456),'name':_0x33398b(0x42f)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x4ba)],'icon':'ShapeFrameIcon','name':_0x33398b(0x292)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x331)],'icon':'ShapeHalfFrameIcon','name':_0x33398b(0x24b)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x13d)],'icon':_0x33398b(0x34d),'name':_0x33398b(0x341)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x424)],'icon':_0x33398b(0x352),'name':_0x33398b(0x4fe)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x437)],'icon':_0x33398b(0x506),'name':_0x33398b(0x17a)},{'group':_0x33398b(0x201),'type':_0x26dc85['Plaque'],'icon':_0x33398b(0xf5),'name':_0x33398b(0xe4)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x12b)],'icon':_0x33398b(0x1b5),'name':_0x33398b(0x1f3)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x533)],'icon':_0x33398b(0x360),'name':_0x33398b(0x117)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0xda)],'icon':_0x33398b(0x2d9),'name':_0x33398b(0x4d5)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0x1b8)],'icon':_0x33398b(0x12c),'name':_0x33398b(0x198)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0xd0)],'icon':_0x33398b(0x1b4),'name':_0x33398b(0x50f)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x41b)],'icon':_0x33398b(0xb2),'name':_0x33398b(0x23c)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x31a)],'icon':_0x33398b(0x1a4),'name':_0x33398b(0x515)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x1a5)],'icon':_0x33398b(0x17d),'name':_0x33398b(0xe8)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0xe3)],'icon':'ShapeHeartIcon','name':_0x33398b(0xfe)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x372)],'icon':'ShapeLightningBoltIcon','name':_0x33398b(0x390)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x274)],'icon':'ShapeSunIcon','name':_0x33398b(0x518)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x52f)],'icon':_0x33398b(0x3a0),'name':_0x33398b(0x2e5)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x214)],'icon':_0x33398b(0x251),'name':'docs-shape-ui.shape.type.cloud'},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x4b7)],'icon':_0x33398b(0x1a9),'name':_0x33398b(0x3f0)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x516)],'icon':_0x33398b(0x208),'name':_0x33398b(0x222)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x216)],'icon':_0x33398b(0x3fe),'name':_0x33398b(0x2fe)},{'group':'basicShape','type':_0x26dc85[_0x33398b(0x35a)],'icon':_0x33398b(0x1f4),'name':_0x33398b(0x354)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x4cf)],'icon':_0x33398b(0x146),'name':_0x33398b(0x363)},{'group':_0x33398b(0x201),'type':_0x26dc85[_0x33398b(0x374)],'icon':_0x33398b(0x47b),'name':_0x33398b(0x51e)},{'group':_0x33398b(0x201),'type':_0x26dc85['RightBrace'],'icon':_0x33398b(0x17c),'name':_0x33398b(0x472)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x376)],'icon':_0x33398b(0x23f),'name':'docs-shape-ui.shape.type.right-arrow'},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x47e)],'icon':_0x33398b(0x4a9),'name':'docs-shape-ui.shape.type.left-arrow'},{'group':_0x33398b(0x384),'type':_0x26dc85['UpArrow'],'icon':'ShapeUpArrowIcon','name':_0x33398b(0x348)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x4f0)],'icon':_0x33398b(0x141),'name':'docs-shape-ui.shape.type.down-arrow'},{'group':_0x33398b(0x384),'type':_0x26dc85['LeftRightArrow'],'icon':_0x33398b(0x1b1),'name':_0x33398b(0x4a6)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x46c)],'icon':'ShapeUpDownArrowIcon','name':'docs-shape-ui.shape.type.up-down-arrow'},{'group':_0x33398b(0x384),'type':_0x26dc85['QuadArrow'],'icon':_0x33398b(0x442),'name':_0x33398b(0x2c0)},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x18a)],'icon':_0x33398b(0x2bf),'name':_0x33398b(0x2eb)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x26d)],'icon':'ShapeBentArrowIcon','name':_0x33398b(0x4f2)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x388)],'icon':'ShapeUturnArrowIcon','name':_0x33398b(0x19b)},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x320)],'icon':_0x33398b(0x451),'name':_0x33398b(0x2a0)},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x256)],'icon':'ShapeBentUpArrowIcon','name':_0x33398b(0x38b)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x441)],'icon':_0x33398b(0x1ec),'name':_0x33398b(0x36c)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x402)],'icon':_0x33398b(0xc4),'name':_0x33398b(0x36b)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0xf9)],'icon':'ShapeCurvedUpArrowIcon','name':_0x33398b(0x367)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x336)],'icon':_0x33398b(0x23d),'name':_0x33398b(0x46e)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x4b8)],'icon':_0x33398b(0xbc),'name':_0x33398b(0x4dc)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x1b9)],'icon':_0x33398b(0x296),'name':'docs-shape-ui.shape.type.notched-right-arrow'},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x464)],'icon':_0x33398b(0x389),'name':_0x33398b(0x317)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0xbe)],'icon':_0x33398b(0x50e),'name':'docs-shape-ui.shape.type.chevron'},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x14c)],'icon':_0x33398b(0xf1),'name':_0x33398b(0x42e)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x4ce)],'icon':_0x33398b(0x1bb),'name':'docs-shape-ui.shape.type.down-arrow-callout'},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x315)],'icon':'ShapeLeftArrowCalloutIcon','name':_0x33398b(0x1bc)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x226)],'icon':'ShapeUpArrowCalloutIcon','name':_0x33398b(0x462)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x2d4)],'icon':_0x33398b(0x34b),'name':_0x33398b(0x519)},{'group':_0x33398b(0x384),'type':_0x26dc85[_0x33398b(0x48b)],'icon':_0x33398b(0x415),'name':'docs-shape-ui.shape.type.quad-arrow-callout'},{'group':'blockArrow','type':_0x26dc85[_0x33398b(0x1d9)],'icon':_0x33398b(0x4a2),'name':_0x33398b(0x183)},{'group':_0x33398b(0x378),'type':_0x26dc85[_0x33398b(0x4af)],'icon':_0x33398b(0x162),'name':_0x33398b(0x1d2)},{'group':'equationShape','type':_0x26dc85[_0x33398b(0x21e)],'icon':_0x33398b(0x42a),'name':_0x33398b(0x32a)},{'group':_0x33398b(0x378),'type':_0x26dc85['MathMultiply'],'icon':'ShapeMathMultiplyIcon','name':'docs-shape-ui.shape.type.math-multiply'},{'group':_0x33398b(0x378),'type':_0x26dc85[_0x33398b(0x2ed)],'icon':_0x33398b(0x2c2),'name':'docs-shape-ui.shape.type.math-divide'},{'group':'equationShape','type':_0x26dc85[_0x33398b(0x501)],'icon':_0x33398b(0x177),'name':_0x33398b(0x3bf)},{'group':_0x33398b(0x378),'type':_0x26dc85[_0x33398b(0x365)],'icon':'ShapeMathNotEqualIcon','name':_0x33398b(0x391)},{'group':_0x33398b(0x4e8),'type':_0x26dc85['FlowchartProcess'],'icon':_0x33398b(0xdb),'name':'docs-shape-ui.shape.type.flow-chart-process'},{'group':_0x33398b(0x4e8),'type':_0x26dc85['FlowchartAlternateProcess'],'icon':_0x33398b(0x3de),'name':_0x33398b(0x20b)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x206)],'icon':_0x33398b(0x44f),'name':_0x33398b(0x151)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x1f0)],'icon':_0x33398b(0x181),'name':_0x33398b(0x3fa)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x152)],'icon':_0x33398b(0x523),'name':'docs-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':_0x26dc85['FlowchartInternalStorage'],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x33398b(0x240)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x2b9)],'icon':'ShapeFlowChartDocumentIcon','name':_0x33398b(0x473)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x41f)],'icon':_0x33398b(0x470),'name':'docs-shape-ui.shape.type.flow-chart-multidocument'},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x482)],'icon':_0x33398b(0x13c),'name':_0x33398b(0x535)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x33b)],'icon':'ShapeFlowChartPreparationIcon','name':_0x33398b(0x176)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x2d6)],'icon':_0x33398b(0x373),'name':_0x33398b(0x30b)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x2c6)],'icon':_0x33398b(0x520),'name':_0x33398b(0x143)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x512)],'icon':_0x33398b(0x50a),'name':_0x33398b(0x2e9)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x45a)],'icon':_0x33398b(0x37c),'name':_0x33398b(0x3cb)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x353)],'icon':_0x33398b(0x3da),'name':_0x33398b(0x189)},{'group':_0x33398b(0x4e8),'type':_0x26dc85['FlowchartPunchedTape'],'icon':_0x33398b(0x1dc),'name':_0x33398b(0x410)},{'group':'flowchart','type':_0x26dc85['FlowchartSummingJunction'],'icon':_0x33398b(0x2ca),'name':_0x33398b(0x190)},{'group':'flowchart','type':_0x26dc85[_0x33398b(0x237)],'icon':'ShapeFlowChartOrIcon','name':'docs-shape-ui.shape.type.flow-chart-or'},{'group':'flowchart','type':_0x26dc85[_0x33398b(0x110)],'icon':'ShapeFlowChartCollateIcon','name':_0x33398b(0x3e1)},{'group':'flowchart','type':_0x26dc85[_0x33398b(0x149)],'icon':_0x33398b(0x191),'name':'docs-shape-ui.shape.type.flow-chart-sort'},{'group':_0x33398b(0x4e8),'type':_0x26dc85['FlowchartExtract'],'icon':_0x33398b(0x11c),'name':'docs-shape-ui.shape.type.flow-chart-extract'},{'group':_0x33398b(0x4e8),'type':_0x26dc85['FlowchartMerge'],'icon':_0x33398b(0x266),'name':_0x33398b(0x104)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x18c)],'icon':_0x33398b(0x273),'name':_0x33398b(0x2c5)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x153)],'icon':_0x33398b(0x1c1),'name':_0x33398b(0x1b3)},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x122)],'icon':_0x33398b(0x1e2),'name':'docs-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':_0x33398b(0x4e8),'type':_0x26dc85[_0x33398b(0x12f)],'icon':_0x33398b(0x252),'name':_0x33398b(0x1cf)},{'group':'flowchart','type':_0x26dc85['FlowchartMagneticDrum'],'icon':'ShapeFlowChartMagneticDrumIcon','name':_0x33398b(0x41c)},{'group':'flowchart','type':_0x26dc85[_0x33398b(0x287)],'icon':_0x33398b(0x368),'name':'docs-shape-ui.shape.type.flow-chart-display'},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0xfc)],'icon':_0x33398b(0x30e),'name':_0x33398b(0x355)},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x1df)],'icon':_0x33398b(0x452),'name':'docs-shape-ui.shape.type.irregular-seal2'},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x20e)],'icon':_0x33398b(0x21a),'name':_0x33398b(0x29c)},{'group':'starAndBanner','type':_0x26dc85[_0x33398b(0x2d5)],'icon':_0x33398b(0x1e6),'name':_0x33398b(0x16a)},{'group':'starAndBanner','type':_0x26dc85[_0x33398b(0x454)],'icon':_0x33398b(0xf3),'name':'docs-shape-ui.shape.type.star6'},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x4f5)],'icon':'ShapeStar7Icon','name':_0x33398b(0x35c)},{'group':'starAndBanner','type':_0x26dc85[_0x33398b(0x2ef)],'icon':_0x33398b(0x527),'name':_0x33398b(0x290)},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x517)],'icon':'ShapeStar10Icon','name':'docs-shape-ui.shape.type.star10'},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x36d)],'icon':'ShapeStar12Icon','name':_0x33398b(0x1b6)},{'group':'starAndBanner','type':_0x26dc85['Star16'],'icon':_0x33398b(0x419),'name':_0x33398b(0x154)},{'group':'starAndBanner','type':_0x26dc85['Star24'],'icon':_0x33398b(0x144),'name':_0x33398b(0x168)},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x1c8)],'icon':_0x33398b(0xcb),'name':_0x33398b(0xc6)},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x254)],'icon':'ShapeRibbon2Icon','name':_0x33398b(0x305)},{'group':'starAndBanner','type':_0x26dc85['Ribbon'],'icon':_0x33398b(0x2d7),'name':'docs-shape-ui.shape.type.ribbon'},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x174)],'icon':_0x33398b(0x219),'name':_0x33398b(0x481)},{'group':'starAndBanner','type':_0x26dc85['EllipseRibbon'],'icon':_0x33398b(0x3e3),'name':_0x33398b(0x2f1)},{'group':'starAndBanner','type':_0x26dc85[_0x33398b(0x1ea)],'icon':_0x33398b(0x25e),'name':'docs-shape-ui.shape.type.vertical-scroll'},{'group':_0x33398b(0x3ff),'type':_0x26dc85['HorizontalScroll'],'icon':'ShapeHorizontalScrollIcon','name':_0x33398b(0x1db)},{'group':_0x33398b(0x3ff),'type':_0x26dc85[_0x33398b(0x33c)],'icon':'ShapeWaveIcon','name':_0x33398b(0x2f0)},{'group':_0x33398b(0x3ff),'type':_0x26dc85['DoubleWave'],'icon':_0x33398b(0x4d7),'name':'docs-shape-ui.shape.type.double-wave'},{'group':'callout','type':_0x26dc85[_0x33398b(0x34c)],'icon':'ShapeWedgeRectCalloutIcon','name':_0x33398b(0x4a1)},{'group':_0x33398b(0x323),'type':_0x26dc85['WedgeRoundRectCallout'],'icon':_0x33398b(0x47a),'name':_0x33398b(0x22c)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x37f)],'icon':_0x33398b(0x1e1),'name':_0x33398b(0x111)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x31b)],'icon':'ShapeCloudCalloutIcon','name':_0x33398b(0x131)},{'group':_0x33398b(0x323),'type':_0x26dc85['BorderCallout1'],'icon':_0x33398b(0xab),'name':_0x33398b(0x118)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x28a)],'icon':_0x33398b(0x314),'name':_0x33398b(0x398)},{'group':'callout','type':_0x26dc85[_0x33398b(0x103)],'icon':_0x33398b(0x3cc),'name':_0x33398b(0x2aa)},{'group':'callout','type':_0x26dc85[_0x33398b(0x231)],'icon':'ShapeAccentCallout1Icon','name':_0x33398b(0x2fa)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x268)],'icon':_0x33398b(0x264),'name':_0x33398b(0x423)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x282)],'icon':'ShapeAccentCallout3Icon','name':_0x33398b(0x4e4)},{'group':_0x33398b(0x323),'type':_0x26dc85['Callout1'],'icon':_0x33398b(0x12e),'name':_0x33398b(0xb4)},{'group':_0x33398b(0x323),'type':_0x26dc85['Callout2'],'icon':_0x33398b(0x10d),'name':'docs-shape-ui.shape.type.callout2'},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x14b)],'icon':'ShapeCallout3Icon','name':_0x33398b(0x3f4)},{'group':'callout','type':_0x26dc85['AccentBorderCallout1'],'icon':_0x33398b(0x3b7),'name':'docs-shape-ui.shape.type.accent-border-callout1'},{'group':_0x33398b(0x323),'type':_0x26dc85['AccentBorderCallout2'],'icon':_0x33398b(0x522),'name':_0x33398b(0x2da)},{'group':_0x33398b(0x323),'type':_0x26dc85[_0x33398b(0x445)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x33398b(0x327)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x1c7)],'icon':_0x33398b(0x2f6),'name':_0x33398b(0x257)},{'group':'other','type':_0x26dc85[_0x33398b(0x4f4)],'icon':_0x33398b(0x300),'name':_0x33398b(0x10c)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x457)],'icon':'ShapeSwooshArrowIcon','name':_0x33398b(0x16e)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x44e)],'icon':'ShapeLeftRightRibbonIcon','name':_0x33398b(0x24d)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x4c2)],'icon':_0x33398b(0x3bd),'name':_0x33398b(0x1ab)},{'group':'other','type':_0x26dc85['Funnel'],'icon':_0x33398b(0x20c),'name':'docs-shape-ui.shape.type.funnel'},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x298)],'icon':_0x33398b(0x431),'name':_0x33398b(0x475)},{'group':'other','type':_0x26dc85['Gear9'],'icon':_0x33398b(0x17b),'name':'docs-shape-ui.shape.type.gear9'},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x2b2)],'icon':_0x33398b(0x3cf),'name':_0x33398b(0x51c)},{'group':'other','type':_0x26dc85[_0x33398b(0x125)],'icon':'ShapeActionButtonBackPreviousIcon','name':_0x33398b(0x4ef)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x33f)],'icon':'ShapeActionButtonForwardNextIcon','name':_0x33398b(0x1e5)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x498)],'icon':'ShapeActionButtonBeginningIcon','name':_0x33398b(0x148)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x26a)],'icon':'ShapeActionButtonEndIcon','name':'docs-shape-ui.shape.type.action-button-end'},{'group':'other','type':_0x26dc85[_0x33398b(0x2a9)],'icon':'ShapeActionButtonHomeIcon','name':_0x33398b(0x466)},{'group':_0x33398b(0x29f),'type':_0x26dc85['ActionButtonInformation'],'icon':'ShapeActionButtonInformationIcon','name':_0x33398b(0x3b4)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x129)],'icon':'ShapeActionButtonReturnIcon','name':_0x33398b(0xa2)},{'group':_0x33398b(0x29f),'type':_0x26dc85['ActionButtonMovie'],'icon':_0x33398b(0x347),'name':_0x33398b(0x4a4)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x248)],'icon':_0x33398b(0x247),'name':_0x33398b(0x4fb)},{'group':'other','type':_0x26dc85['ActionButtonSound'],'icon':'ShapeActionButtonSoundIcon','name':_0x33398b(0x467)},{'group':'other','type':_0x26dc85[_0x33398b(0xc9)],'icon':_0x33398b(0x3ad),'name':_0x33398b(0x15c)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x4b5)],'icon':_0x33398b(0x4ab),'name':'docs-shape-ui.shape.type.action-button-blank'},{'group':'other','type':_0x26dc85[_0x33398b(0x406)],'icon':'ShapeChartPlusIcon','name':'docs-shape-ui.shape.type.chart-plus'},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x16f)],'icon':_0x33398b(0x4a7),'name':_0x33398b(0x38a)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x1d6)],'icon':'ShapeChartXIcon','name':'docs-shape-ui.shape.type.chart-x'},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x3b1)],'icon':_0x33398b(0x2b8),'name':_0x33398b(0x26e)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x21f)],'icon':_0x33398b(0xed),'name':_0x33398b(0x14a)},{'group':'other','type':_0x26dc85['PlaqueTabs'],'icon':_0x33398b(0x307),'name':_0x33398b(0x1fa)},{'group':_0x33398b(0x29f),'type':_0x26dc85['SquareTabs'],'icon':'ShapeSquareTabsIcon','name':_0x33398b(0x22e)},{'group':'other','type':_0x26dc85[_0x33398b(0x202)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x33398b(0x212)},{'group':_0x33398b(0x29f),'type':_0x26dc85[_0x33398b(0x465)],'icon':_0x33398b(0x371),'name':_0x33398b(0x414)}],Go=_0x33398b(0x139);function Ko({onShapeClick:_0x725044,excludeGroups:_0x768fb6}){const _0x5acd34=_0x33398b;let _0x24c43d=_0x1713c6(_0x180d67),_0x30d7a0=_0x1713c6(_0x4e1606),_0x50e2e1=(_0x768fb6?Wo[_0x5acd34(0x375)](_0x592d35=>!_0x768fb6[_0x5acd34(0x343)](_0x592d35[_0x5acd34(0x147)])):Wo)[_0x5acd34(0x528)]((_0x30bf59,_0x44bc71)=>(_0x30bf59[_0x44bc71[_0x5acd34(0x147)]]||(_0x30bf59[_0x44bc71[_0x5acd34(0x147)]]=[]),_0x30bf59[_0x44bc71[_0x5acd34(0x147)]][_0x5acd34(0x396)](_0x44bc71),_0x30bf59),{});return _0x296c54(_0x5acd34(0xff),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object['entries'](_0x50e2e1)[_0x5acd34(0x4b6)](([_0x201b2a,_0x37aed6])=>_0x11cded(_0x5acd34(0xff),{'className':_0x5acd34(0x50d),'children':[_0x296c54(_0x5acd34(0xff),{'className':_0x5acd34(0x39b),'children':_0x24c43d['t']('docs-shape-ui.shape.group.'+_0x201b2a)}),_0x296c54(_0x5acd34(0xff),{'className':_0x5acd34(0x1ad),'children':_0x37aed6[_0x5acd34(0x4b6)](_0x5997cd=>{const _0x54a84c=_0x5acd34;let _0x174fd6=_0x30d7a0[_0x54a84c(0x3f8)](_0x5997cd[_0x54a84c(0x46a)]);return _0x296c54('div',{'title':_0x24c43d['t'](_0x5997cd['name']),'onClick':()=>_0x725044(_0x5997cd),'className':_0x54a84c(0x160),'children':_0x174fd6&&_0x296c54(_0x174fd6,{'className':_0x54a84c(0x337)})},_0x5997cd[_0x54a84c(0x2b4)]);})})]},_0x201b2a))});}function qo(){const _0x27cab3=_0x33398b;let _0x423962=_0x1713c6(_0x180d67),_0x4f40ef=_0x1713c6(_0x34cbe0),_0x26fe24=_0x1713c6(Uo),[_0x8830de,_0x2d024c]=_0x1fc818(!0x1);return _0x296c54(_0x40cd3e,{'side':'left','open':_0x8830de,'onOpenChange':_0x2d024c,'overlay':_0x296c54(Ko,{'onShapeClick':_0xca5788=>{const _0x8d8d1e=_0x4f67;let _0x1103f6=_0x4f40ef['getFocusDrawings']()[_0x8d8d1e(0x312)](_0x256a3c=>_0x256a3c[_0x8d8d1e(0x429)]===_0x2cfc35[_0x8d8d1e(0x319)]);if(!_0x1103f6)return;let {unitId:_0x4ad66e,subUnitId:_0x250b32,drawingId:_0x54bf58}=_0x1103f6;_0x26fe24['clipByShape'](_0x4ad66e,_0x250b32,_0x54bf58,_0xca5788[_0x8d8d1e(0x2a4)]),_0x2d024c(!0x1);},'excludeGroups':[_0x27cab3(0x339)]}),'children':_0x296c54(_0x1ebe2a,{'children':_0x423962['t']('docs-shape-ui.crop.shape')})});}function Jo({paragraphMenuPlacement:_0x5acfa6}){let _0x5db6e8=_0x1713c6(_0x557e3b);return _0x296c54(Ko,{'onShapeClick':_0x1b4c5b=>{const _0x1c8f59=_0x4f67;_0x5db6e8[_0x1c8f59(0x4e7)](no['id'],{'paragraphMenuPlacement':_0x5acfa6,'value':_0x1b4c5b[_0x1c8f59(0x2a4)],'enhanceParams':{'endArrow':_0x1b4c5b[_0x1c8f59(0x44b)],'startArrow':_0x1b4c5b[_0x1c8f59(0x4db)],'horizontal':_0x1b4c5b[_0x1c8f59(0x1f7)],'vertical':_0x1b4c5b[_0x1c8f59(0x262)]}});}});}function Yo(_0x5414d7){const _0x1da0a7=_0x33398b;return _0x4bea70=>({'id':no['id'],'type':_0x484cff[_0x1da0a7(0x29d)],'selections':[{'label':{'name':Go,'hoverable':!0x1,'selectable':!0x1,'props':_0x5414d7?{'id':no['id'],'paragraphMenuPlacement':_0x5414d7}:{'id':no['id']}}}],'icon':'ShapeIcon','title':_0x1da0a7(0x28c),'tooltip':_0x1da0a7(0x433),'hidden$':_0x23870a(_0x4bea70,_0xc4517f['UNIVER_DOC'])});}const Xo=Yo(),Zo=Yo(_0x33398b(0x249)),Qo=Yo(_0x33398b(0x4fa)),$o={[_0x304116[_0x33398b(0x33d)]]:{[no['id']]:{'order':0x4,'menuItemFactory':Xo}},[_0x343723[_0x33398b(0x1ac)]]:{[_0x23dcd7[_0x33398b(0x1ba)]]:{[_0x58da4d]:{[no['id']]:{'order':0x8,'menuItemFactory':Zo}}},[_0x31f96a]:{[_0x23dcd7[_0x33398b(0x1ba)]]:{[no['id']]:{'order':0x8,'menuItemFactory':Zo}}},[_0x27636c]:{[_0x23dcd7['LAYOUT']]:{[no['id']]:{'order':0x8,'menuItemFactory':Qo}}}}};let es=class extends _0x5a4164{constructor(_0x23089b,_0x437cac,_0x3d7921,_0x941276,_0x5e19a8,_0xa7a314,_0x2a5fb4,_0x158bbf,_0x1ba700,_0x4e234a,_0x5a4612,_0x251efc){const _0x4df09f=_0x33398b;super(),this[_0x4df09f(0x133)]=_0x23089b,this[_0x4df09f(0x4e3)]=_0x437cac,this[_0x4df09f(0x220)]=_0x3d7921,this['_docsShapeService']=_0x941276,this[_0x4df09f(0x334)]=_0x5e19a8,this[_0x4df09f(0x1b2)]=_0xa7a314,this[_0x4df09f(0x3bb)]=_0x2a5fb4,this[_0x4df09f(0x304)]=_0x158bbf,this['_docCanvasPopManagerService']=_0x1ba700,this[_0x4df09f(0x2fd)]=_0x4e234a,this[_0x4df09f(0x417)]=_0x5a4612,this[_0x4df09f(0x3e8)]=_0x251efc,Z(this,_0x4df09f(0x1c6),null),Z(this,_0x4df09f(0x3e9),null),Z(this,_0x4df09f(0x43f),!0x1),Z(this,_0x4df09f(0x349),new Set()),Z(this,_0x4df09f(0x50c),[]),this[_0x4df09f(0x1e4)](),this[_0x4df09f(0x446)](),this[_0x4df09f(0xaa)](this[_0x4df09f(0x133)][_0x4df09f(0x392)](_0xc4517f[_0x4df09f(0x20f)])[_0x4df09f(0x2ea)](_0xf7ee8=>{const _0x4e70d6=_0x4df09f;if(!_0xf7ee8){var _0x43a723;(_0x43a723=this[_0x4e70d6(0x1c6)])==null||_0x43a723[_0x4e70d6(0x2db)]();return;}this[_0x4e70d6(0x172)](_0xf7ee8);})),this[_0x4df09f(0x408)](),this[_0x4df09f(0x3e7)](),this[_0x4df09f(0xaa)](this['_shapeTextEditingService']['editingParams$'][_0x4df09f(0x2ea)](_0x9c38d8=>{_0x9c38d8&&this['_clearPopups']();}));}[_0x33398b(0x446)](){const _0x3de3d7=_0x33398b;this[_0x3de3d7(0x220)][_0x3de3d7(0x413)]($o);}['_initShapePopupMenu'](){const _0x585ba5=_0x33398b;this[_0x585ba5(0x133)][_0x585ba5(0x3dd)](_0xc4517f['UNIVER_DOC'])[_0x585ba5(0x136)](_0xe2e6a9=>this[_0x585ba5(0x172)](_0xe2e6a9));}[_0x33398b(0xd9)](_0x2f4c4f,_0x2dd500,_0x913fc,_0x43119d){const _0x1b85b0=_0x33398b;return[{'label':'docs-shape-ui.openPanel','index':0x0,'commandId':io['id'],'commandParams':{'unitId':_0x2f4c4f,'subUnitId':_0x2dd500,'drawingId':_0x913fc},'disable':_0x43119d===_0x2cfc35['DRAWING_DOM']},{'label':_0x1b85b0(0xc8),'index':0x1,'commandId':_0x3cf27f['id'],'commandParams':{'unitId':_0x2f4c4f,'drawings':[{'unitId':_0x2f4c4f,'subUnitId':_0x2dd500,'drawingId':_0x913fc}]},'disable':!0x1},{'label':'docs-shape-ui.hidePanel','index':0x2,'commandId':ro['id'],'commandParams':{'unitId':_0x2f4c4f,'subUnitId':_0x2dd500,'drawingId':_0x913fc},'disable':!0x1}];}[_0x33398b(0x463)](_0x3b75f8,_0x1c35a3,_0x44d0fa){const _0x2f4895=_0x33398b;let _0x4fdca0=this[_0x2f4895(0x3be)]['getShapeTypeById'](_0x3b75f8,_0x1c35a3,_0x44d0fa),_0x407246=this[_0x2f4895(0x3be)]['getShapeDataById'](_0x3b75f8,_0x1c35a3,_0x44d0fa);return _0x4fdca0!==void 0x0&&_0x407246!==void 0x0?{'shapeData':_0x407246,'shapeId':_0x44d0fa,'shapeType':_0x4fdca0,'unitId':_0x3b75f8,'subUnitId':_0x1c35a3,'disableShapeOption':!0x1}:null;}[_0x33398b(0x172)](_0x257038){const _0x5847af=_0x33398b;if(!_0x257038)return;let _0xd932be=_0x257038[_0x5847af(0x529)]();this['_renderManagerService']['has'](_0xd932be)&&!this['_initializedShapePopupMenu']['has'](_0xd932be)&&(this[_0x5847af(0x2a7)](_0xd932be),this[_0x5847af(0x349)][_0x5847af(0xb0)](_0xd932be));}['_clearPopups'](){const _0xf9b3d=_0x33398b;this[_0xf9b3d(0x50c)][_0xf9b3d(0x136)](_0x409a9c=>_0x409a9c['dispose']()),this[_0xf9b3d(0x50c)][_0xf9b3d(0x366)]=0x0;}['_popupMenuListener'](_0x5cbd9d){const _0x26ff88=_0x33398b;var _0x4435f2;let _0xfbb03d=(_0x4435f2=this['_renderManagerService'][_0x26ff88(0x221)](_0x5cbd9d))==null?void 0x0:_0x4435f2[_0x26ff88(0x1a7)],_0xc55e1d=_0xfbb03d==null?void 0x0:_0xfbb03d[_0x26ff88(0x2f7)]();!_0xfbb03d||!_0xc55e1d||(this[_0x26ff88(0xaa)](_0xc55e1d[_0x26ff88(0x1aa)][_0x26ff88(0x2ea)](()=>{const _0xfb0c89=_0x26ff88;let _0x5cf673=_0xc55e1d[_0xfb0c89(0x2e6)]();if(this[_0xfb0c89(0x1f2)](),this[_0xfb0c89(0x43f)]||_0x5cf673[_0xfb0c89(0x1fd)]>0x1)return;let _0x295e13=_0x5cf673[_0xfb0c89(0x1de)]()[_0xfb0c89(0x37a)]()['value'];if(!_0x295e13)return;let _0x5e8a72=this['_drawingManagerService']['getDrawingOKey'](_0x295e13[_0xfb0c89(0x35e)]);if(!_0x5e8a72||_0x5e8a72[_0xfb0c89(0x429)]!==_0x2cfc35['DRAWING_SHAPE'])return;let {unitId:_0x5cd550,subUnitId:_0x5ccf02,drawingId:_0x4c7466,drawingType:_0x42a3ad}=_0x5e8a72,_0x5f5fa6=this['_getShapeInfo'](_0x5cd550,_0x5ccf02,_0x4c7466);if(!_0x5f5fa6)return;let _0x3f46b7=this[_0xfb0c89(0x1c0)][_0xfb0c89(0x2de)](_0x295e13,{'componentKey':jo,'direction':_0xfb0c89(0x47f),'offset':[0x0,0x8],'extraProps':{'unitId':_0x5cd550,'subUnitId':_0x5ccf02,'drawingId':_0x4c7466,'drawingType':_0x42a3ad,'shapeType':_0x5f5fa6['shapeType'],'shapeData':_0x5f5fa6[_0xfb0c89(0x2f2)]}},_0x5cd550);this['_disposePopups'][_0xfb0c89(0x396)](this[_0xfb0c89(0xaa)](_0x3f46b7)),this[_0xfb0c89(0x304)][_0xfb0c89(0x15e)]()[_0xfb0c89(0x312)](_0x599ce2=>_0x599ce2[_0xfb0c89(0x121)]===_0x5cd550&&_0x599ce2[_0xfb0c89(0x40a)]===_0x5ccf02&&_0x599ce2[_0xfb0c89(0xd2)]===_0x4c7466)||this[_0xfb0c89(0x304)][_0xfb0c89(0x3dc)]([{'unitId':_0x5cd550,'subUnitId':_0x5ccf02,'drawingId':_0x4c7466}]);})),this[_0x26ff88(0xaa)](_0xc55e1d[_0x26ff88(0x3c0)][_0x26ff88(0x2ea)](()=>{const _0x18f16a=_0x26ff88;this[_0x18f16a(0x1f2)](),this[_0x18f16a(0x417)][_0x18f16a(0x260)](_0x167805,!0x1),this[_0x18f16a(0x304)][_0x18f16a(0x3dc)](null);})),this[_0x26ff88(0xaa)](_0xc55e1d[_0x26ff88(0x436)][_0x26ff88(0x2ea)](()=>{const _0x16909c=_0x26ff88;this[_0x16909c(0x1f2)]();})),this[_0x26ff88(0xaa)](_0xc55e1d[_0x26ff88(0xea)][_0x26ff88(0x2ea)](()=>{const _0x51086e=_0x26ff88;this[_0x51086e(0x1f2)]();})));}[_0x33398b(0x408)](){const _0x34c49e=_0x33398b;this[_0x34c49e(0xaa)](this['_commandService'][_0x34c49e(0x4eb)](_0xb83ca4=>{const _0x8ffb06=_0x34c49e;if(_0xb83ca4['id']===io['id']){let {unitId:_0x44cf16,subUnitId:_0xe62e36,drawingId:_0xbe5c3c}=_0xb83ca4[_0x8ffb06(0x52c)];this[_0x8ffb06(0x3e9)]=this['_getShapeInfo'](_0x44cf16,_0xe62e36,_0xbe5c3c),this[_0x8ffb06(0x1f2)](),this[_0x8ffb06(0xde)]();}if(_0xb83ca4['id']===ro['id']&&(this[_0x8ffb06(0x3e9)]=null,this[_0x8ffb06(0x45c)]()),_0xb83ca4['id']===_0x294395['id']){let {unitId:_0x58d349,shapeId:_0x51a0b1}=_0xb83ca4[_0x8ffb06(0x52c)];if(this[_0x8ffb06(0x3e9)]&&this[_0x8ffb06(0x3e9)][_0x8ffb06(0xcd)]===_0x51a0b1){let _0x2b6df0=this[_0x8ffb06(0x463)](_0x58d349,this['_activeShapeInfo'][_0x8ffb06(0x40a)],_0x51a0b1);_0x2b6df0&&(this[_0x8ffb06(0x3e9)]=_0x2b6df0);}}})),this[_0x34c49e(0xaa)](this[_0x34c49e(0x304)][_0x34c49e(0x1ca)]['subscribe'](_0x4093ac=>{const _0x590df1=_0x34c49e;if(this[_0x590df1(0x43f)]===!0x1)return;if(_0x4093ac[_0x590df1(0x366)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x4093ac[_0x590df1(0x366)]===0x1&&_0x4093ac[0x0][_0x590df1(0x429)]===_0x2cfc35[_0x590df1(0x428)]&&(this[_0x590df1(0x3e9)]=this[_0x590df1(0x463)](_0x4093ac[0x0][_0x590df1(0x121)],_0x4093ac[0x0][_0x590df1(0x40a)],_0x4093ac[0x0][_0x590df1(0xd2)]),this[_0x590df1(0x3e9)])){this['_openShapeEditPanel']();return;}let _0x445646=_0x4093ac[_0x590df1(0x375)](_0x39d7dd=>_0x39d7dd[_0x590df1(0x429)]===_0x2cfc35[_0x590df1(0x428)]);if(_0x4093ac[_0x590df1(0x366)]>0x1&&_0x445646[_0x590df1(0x366)]===_0x4093ac['length']){if(this[_0x590df1(0x3e9)]=this[_0x590df1(0x463)](_0x4093ac[0x0][_0x590df1(0x121)],_0x4093ac[0x0]['subUnitId'],_0x4093ac[0x0][_0x590df1(0xd2)]),this[_0x590df1(0x3e9)]){this[_0x590df1(0xde)]();return;}}else{if(this[_0x590df1(0x3e9)]=this[_0x590df1(0x463)](_0x4093ac[0x0]['unitId'],_0x4093ac[0x0][_0x590df1(0x40a)],_0x4093ac[0x0][_0x590df1(0xd2)]),this[_0x590df1(0x3e9)]){this[_0x590df1(0x3e9)][_0x590df1(0x340)]=!0x0,this[_0x590df1(0xde)]();return;}}this[_0x590df1(0x45c)]();}));}['_registerComponent'](){const _0x3b55b6=_0x33398b;[[_0x3b55b6(0x39c),_0x33c41c],[_0x3b55b6(0x3b7),_0x4a6b15],[_0x3b55b6(0x522),_0x50a136],[_0x3b55b6(0x487),_0x3863b2],[_0x3b55b6(0x3ee),_0x2cbf5e],[_0x3b55b6(0x264),_0xf4f47e],['ShapeAccentCallout3Icon',_0x122628],[_0x3b55b6(0x112),_0x377ec0],[_0x3b55b6(0x3af),_0xbd3111],[_0x3b55b6(0x4ab),_0x242f49],['ShapeActionButtonDocumentIcon',_0x541f76],['ShapeActionButtonEndIcon',_0x230881],[_0x3b55b6(0x100),_0x9d70f1],['ShapeActionButtonHelpIcon',_0x5581cd],[_0x3b55b6(0xbb),_0x1beaf0],[_0x3b55b6(0x51b),_0x4d0612],['ShapeActionButtonMovieIcon',_0x1100f0],[_0x3b55b6(0xe7),_0x102f13],[_0x3b55b6(0xaf),_0x37c7f9],[_0x3b55b6(0x1a9),_0x3190a2],[_0x3b55b6(0x15f),_0x5190f9],[_0x3b55b6(0x306),_0x172516],['ShapeBentConnector3Arrow2Icon',_0x3af101],['ShapeBentConnector3Icon',_0x554ab0],[_0x3b55b6(0x1d5),_0x16b347],[_0x3b55b6(0x2d9),_0x224397],[_0x3b55b6(0xb2),_0x4ae9f6],[_0x3b55b6(0xab),_0x4233ef],[_0x3b55b6(0x314),_0x19fdce],['ShapeBorderCallout3Icon',_0x2d82f3],[_0x3b55b6(0x3fe),_0x4d1389],['ShapeBracketPairIcon',_0x339a5e],[_0x3b55b6(0x12e),_0x44c9b6],[_0x3b55b6(0x10d),_0x27ce9a],[_0x3b55b6(0x387),_0x1b95f0],[_0x3b55b6(0x1b5),_0x4071e1],[_0x3b55b6(0x40f),_0x4270a1],[_0x3b55b6(0x4a7),_0x39b76f],['ShapeChartXIcon',_0x3e8cc4],[_0x3b55b6(0x50e),_0x552bab],[_0x3b55b6(0x4f7),_0x46f920],[_0x3b55b6(0x4a2),_0x234c0a],['ShapeCloudCalloutIcon',_0x4f934c],['ShapeCloudIcon',_0xed80c1],['ShapeCornerIcon',_0x1befd4],[_0x3b55b6(0x3cf),_0x5d1f5d],[_0x3b55b6(0x360),_0x21448f],[_0x3b55b6(0x39e),_0x5949c6],[_0x3b55b6(0x195),_0x2152ec],[_0x3b55b6(0x3fb),_0x100f5f],[_0x3b55b6(0x23d),_0x22f010],[_0x3b55b6(0xc4),_0x15c46d],['ShapeCurvedRightArrowIcon',_0x54d79a],[_0x3b55b6(0x4cc),_0x14e86c],[_0x3b55b6(0x458),_0x386773],['ShapeDiagStripeIcon',_0x3cdb20],[_0x3b55b6(0x25a),_0x56d00f],['ShapeDodecagonIcon',_0x700b2e],[_0x3b55b6(0x12c),_0x2d9a1a],[_0x3b55b6(0x4d7),_0xe4c6f5],[_0x3b55b6(0x1bb),_0x4907a7],[_0x3b55b6(0x141),_0x5431b9],[_0x3b55b6(0x1e7),_0x193701],[_0x3b55b6(0x219),_0x4830a1],[_0x3b55b6(0x3e3),_0x579f48],[_0x3b55b6(0x3de),_0x365c4b],[_0x3b55b6(0xc7),_0x58f2f7],[_0x3b55b6(0x50a),_0x415e43],[_0x3b55b6(0x44f),_0x496022],[_0x3b55b6(0x1c1),_0x16fd64],[_0x3b55b6(0x368),_0x40acfc],[_0x3b55b6(0x25f),_0x35afa9],[_0x3b55b6(0x11c),_0x58b0f9],['ShapeFlowChartInputOutputIcon',_0x46eb79],[_0x3b55b6(0x412),_0x5a53b7],[_0x3b55b6(0x252),_0x2fdc95],[_0x3b55b6(0x43b),_0x11fdc5],['ShapeFlowChartMagneticTapeIcon',_0xe992b0],[_0x3b55b6(0x373),_0x435463],[_0x3b55b6(0x520),_0x51968e],[_0x3b55b6(0x266),_0x4c1d41],[_0x3b55b6(0x470),_0x302430],[_0x3b55b6(0x2b8),_0xcc25ea],[_0x3b55b6(0x37c),_0x16d5c4],[_0x3b55b6(0x273),_0x2f9b3d],[_0x3b55b6(0x2bb),_0x3b81bc],[_0x3b55b6(0x523),_0x13618a],[_0x3b55b6(0x411),_0x192e82],[_0x3b55b6(0xdb),_0x1db259],['ShapeFlowChartPunchedCardIcon',_0x3e6a92],[_0x3b55b6(0x1dc),_0x26ee87],[_0x3b55b6(0x191),_0x4a4bf6],[_0x3b55b6(0x2ca),_0x2039e7],['ShapeFlowChartTerminatorIcon',_0x107f43],[_0x3b55b6(0x1a4),_0x2737fe],[_0x3b55b6(0x1d1),_0x571a64],[_0x3b55b6(0x20c),_0x2ea2b9],[_0x3b55b6(0x431),_0x1310e9],['ShapeGear9Icon',_0x147c33],[_0x3b55b6(0x22b),_0x350b67],[_0x3b55b6(0xce),_0x3df545],['ShapeHeptagonIcon',_0x3031ac],[_0x3b55b6(0x407),_0x38c519],[_0x3b55b6(0x389),_0x176332],['ShapeHorizontalScrollIcon',_0x177867],[_0x3b55b6(0x30e),_0x3a485],[_0x3b55b6(0x452),_0xdd16ff],[_0x3b55b6(0x4c6),_0x307cd6],[_0x3b55b6(0x4a9),_0x390129],[_0x3b55b6(0x47b),_0x3a1890],['ShapeLeftBracketIcon',_0x1585a5],['ShapeLeftCircularArrowIcon',_0x5853bd],[_0x3b55b6(0x34b),_0xb2d15e],[_0x3b55b6(0x1b1),_0x5416fc],[_0x3b55b6(0x300),_0x1a88e3],[_0x3b55b6(0x38c),_0x165097],[_0x3b55b6(0x2bf),_0x3add02],[_0x3b55b6(0x451),_0x2fbf29],[_0x3b55b6(0x4c7),_0x27c8cf],['ShapeLineIcon',_0x482822],[_0x3b55b6(0xed),_0x3902e1],[_0x3b55b6(0x2c2),_0x125783],[_0x3b55b6(0x177),_0x25fae6],[_0x3b55b6(0x42a),_0x8b659e],['ShapeMathMultiplyIcon',_0xd350a7],['ShapeMathNotEqualIcon',_0x1e800a],['ShapeMathPlusIcon',_0x55b081],['ShapeMoonIcon',_0xe16718],[_0x3b55b6(0x1b4),_0x1cc7e9],[_0x3b55b6(0x371),_0x2fe45c],['ShapeNotchedRightArrowIcon',_0x4259af],[_0x3b55b6(0x357),_0x438ced],[_0x3b55b6(0x291),_0x330ee9],[_0x3b55b6(0x107),_0x5830b2],[_0x3b55b6(0x1f5),_0xab584f],['ShapePieWedgeIcon',_0x423993],['ShapePlaqueIcon',_0x51be3a],['ShapePlaqueTabsIcon',_0x4c5159],[_0x3b55b6(0x506),_0x5747f4],[_0x3b55b6(0x415),_0x37b490],[_0x3b55b6(0x442),_0x53448f],[_0x3b55b6(0x316),_0x486679],['ShapeRectTextboxHorizontalIcon',_0x5803bf],[_0x3b55b6(0x2c3),_0x48dabb],[_0x3b55b6(0x4cd),_0x5a4213],[_0x3b55b6(0x2d7),_0x374d72],[_0x3b55b6(0xf1),_0x3cfece],[_0x3b55b6(0x23f),_0xb4dd96],[_0x3b55b6(0x17c),_0xec1210],['ShapeRightBracketIcon',_0x526a1f],['ShapeRound1RectIcon',_0x300dc4],['ShapeRound2DiagRectIcon',_0x41cca9],['ShapeRound2SameRectIcon',_0xaa2009],[_0x3b55b6(0x113),_0x2603aa],[_0x3b55b6(0x233),_0x228147],[_0x3b55b6(0x17d),_0x3ccdb3],[_0x3b55b6(0x4c3),_0x21a7c5],[_0x3b55b6(0x351),_0x47ab4e],[_0x3b55b6(0x448),_0x2aef29],[_0x3b55b6(0x4e2),_0x3928a2],[_0x3b55b6(0xe5),_0x14230f],['ShapeStar10Icon',_0x497dd4],[_0x3b55b6(0x427),_0x1c4b65],[_0x3b55b6(0x419),_0x272a55],[_0x3b55b6(0x144),_0x3787c0],[_0x3b55b6(0xcb),_0xfae9ba],[_0x3b55b6(0x21a),_0x3a881e],[_0x3b55b6(0x1e6),_0x55cc68],[_0x3b55b6(0xf3),_0x48d9da],['ShapeStar7Icon',_0x483094],[_0x3b55b6(0x527),_0x4d2e3d],[_0x3b55b6(0x4ea),_0x59e132],['ShapeStraightConnector2Icon',_0x45fda1],[_0x3b55b6(0xbc),_0x1284d5],[_0x3b55b6(0x471),_0x1145e5],['ShapeSwooshArrowIcon',_0x528412],[_0x3b55b6(0x456),_0x3a712d],[_0x3b55b6(0x2c8),_0x185eb2],['ShapeTriangleIcon',_0x46563c],[_0x3b55b6(0x2e2),_0x3c55e7],[_0x3b55b6(0x46d),_0x253a6a],['ShapeUpDownArrowCalloutIcon',_0xaa4702],[_0x3b55b6(0x1e8),_0x57a6be],[_0x3b55b6(0x211),_0x40e964],[_0x3b55b6(0x25e),_0x3b4f23],[_0x3b55b6(0x1cb),_0x107c42],['ShapeWedgeEllipseCalloutIcon',_0x1c29f9],[_0x3b55b6(0x3a8),_0x4d5a98],['ShapeWedgeRoundRectCalloutIcon',_0x31b201],[ao,Do],[jo,Ho],[Go,Jo],[_0x4922dd,qo]][_0x3b55b6(0x136)](([_0x4799a3,_0xe2e18b])=>{const _0x3b2b01=_0x3b55b6;this[_0x3b2b01(0xaa)](this['_componentManager'][_0x3b2b01(0x44d)](_0x4799a3,_0xe2e18b));});}[_0x33398b(0xde)](){const _0x6411dd=_0x33398b;this['_sidebarDisposable']=this[_0x6411dd(0x4e3)][_0x6411dd(0x409)]({'id':ao,'header':{'title':this['_localeService']['t']('docs-shape-ui.formatShape')},'width':0x184,'children':{'label':ao,...this[_0x6411dd(0x3e9)]},'onClose':()=>{const _0x4c3e72=_0x6411dd;this[_0x4c3e72(0x304)]['focusDrawing'](null),this[_0x4c3e72(0x417)][_0x4c3e72(0x260)](_0x167805,!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0;}['_closeShapeEditPanel'](){const _0x40ba8d=_0x33398b;this[_0x40ba8d(0x43f)]=!0x1,this[_0x40ba8d(0x4e3)][_0x40ba8d(0x2a8)](ao),this[_0x40ba8d(0x1c6)]=null,this[_0x40ba8d(0x417)]['setContextValue'](_0x167805,!0x1),this[_0x40ba8d(0x304)][_0x40ba8d(0x3dc)](null);}};es=go([$(0x0,_0x135189),$(0x1,_0x7cac4f(_0x401ba3)),$(0x2,_0x54b677),$(0x3,_0x7cac4f(_0x3e64dd)),$(0x4,_0x7cac4f(_0x180d67)),$(0x5,_0x7cac4f(_0x4e1606)),$(0x6,_0x557e3b),$(0x7,_0x34cbe0),$(0x8,_0x7cac4f(_0x446c52)),$(0x9,_0x11e46a),$(0xa,_0x34a8dd),$(0xb,_0x7cac4f(uo))],es);var ts='@univerjs-pro/docs-shape-ui',ns='0.25.2';const rs={};var is=class extends _0x15ab10{constructor(_0x4b9db5,_0x1bb6f9){const _0xd1ffa=_0x33398b;super(_0x4b9db5,_0x1bb6f9),Z(this,'_shapeId',null),Z(this,_0xd1ffa(0x3ae),null),Z(this,_0xd1ffa(0x4b0),null),Z(this,'_subUnitId',null),_0x1bb6f9&&this[_0xd1ffa(0x3eb)](_0x1bb6f9);}['getDrawingSearch'](){const _0x4ed5df=_0x33398b;return{'unitId':this[_0x4ed5df(0x4b0)],'subUnitId':this['_subUnitId'],'drawingId':this['_shapeId']};}[_0x33398b(0x3eb)](_0x373f5a){const _0x4d582e=_0x33398b;_0x373f5a['shapeId']!==void 0x0&&(this[_0x4d582e(0x1ee)]=_0x373f5a[_0x4d582e(0xcd)]),_0x373f5a[_0x4d582e(0x3ba)]!==void 0x0&&(this[_0x4d582e(0x3ae)]=_0x373f5a['adjName']),_0x373f5a['unitId']!==void 0x0&&(this[_0x4d582e(0x4b0)]=_0x373f5a[_0x4d582e(0x121)]),_0x373f5a[_0x4d582e(0x40a)]!==void 0x0&&(this['_subUnitId']=_0x373f5a['subUnitId']),this['transformByState']({'width':_0x373f5a[_0x4d582e(0x297)],'height':_0x373f5a[_0x4d582e(0x299)]});}[_0x33398b(0x272)](_0x5a4e52){const _0x3de07b=_0x33398b;_0x5f6a48[_0x3de07b(0x13a)](_0x5a4e52,{'radius':_0x42f46a[_0x3de07b(0x2c7)],'fill':_0x42f46a[_0x3de07b(0x52e)],'stroke':_0x42f46a[_0x3de07b(0x150)],'strokeWidth':0x1,'evented':!0x0});}};let as=class extends _0x5a4164{constructor(_0x3749cc,_0x29d6f3,_0xa57d8f,_0x5a1a6b){const _0x67f250=_0x33398b;super(),this[_0x67f250(0xd8)]=_0x3749cc,this[_0x67f250(0x304)]=_0x29d6f3,this[_0x67f250(0x3be)]=_0xa57d8f,this[_0x67f250(0x3bb)]=_0x5a1a6b,Z(this,'_activeShapeId',null),Z(this,'_unitId',null),Z(this,_0x67f250(0x488),null),Z(this,'_activeShapeAdjustPointList',void 0x0),Z(this,_0x67f250(0x145),[]),Z(this,_0x67f250(0x224),0x0),Z(this,_0x67f250(0xa7),0x0),Z(this,'_baseShapeWidth',0x0),Z(this,_0x67f250(0x3d9),0x0),Z(this,_0x67f250(0xad),!0x1),Z(this,_0x67f250(0x26c),!0x1),Z(this,'_activeAdjustInfo',void 0x0),Z(this,_0x67f250(0x395),void 0x0),Z(this,_0x67f250(0x1a8),void 0x0),Z(this,_0x67f250(0x11d),void 0x0),this['_registerDrawingFocusChangeHandler'](),this[_0x67f250(0xbf)]();}[_0x33398b(0x3a1)](){this['_clearShapeAdjustControls']();}[_0x33398b(0xe2)](){const _0x3e791e=_0x33398b;this[_0x3e791e(0x1d4)](!0x0);}[_0x33398b(0x364)](_0x42a9de,_0x48c71e,_0x23aa1a){const _0x5c6e87=_0x33398b;var _0x1750e4;return(_0x1750e4=this[_0x5c6e87(0x3be)][_0x5c6e87(0x137)](_0x42a9de,_0x48c71e,_0x23aa1a))==null?void 0x0:_0x1750e4[_0x5c6e87(0x3e2)]();}[_0x33398b(0x188)](_0x5c2b18,_0x5b83b3,_0x359b6,_0x143d88){const _0x3596c9=_0x33398b;var _0x4c6a03;return(_0x4c6a03=this[_0x3596c9(0x3be)][_0x3596c9(0x137)](_0x5c2b18,_0x5b83b3,_0x359b6))==null?void 0x0:_0x4c6a03[_0x3596c9(0x283)](_0x143d88);}[_0x33398b(0x200)](){const _0xc4820e=_0x33398b;if(this[_0xc4820e(0x4b0)]===null||this[_0xc4820e(0x488)]===null||this[_0xc4820e(0x4f9)]===null)return null;let _0x69330c=this[_0xc4820e(0x304)]['getDrawingByParam']({'unitId':this[_0xc4820e(0x4b0)],'subUnitId':this['_subUnitId'],'drawingId':this[_0xc4820e(0x4f9)]});return _0x69330c==null?null:_0x69330c;}['_getActiveDrawingShape'](_0x10eb44){const _0x5bd10d=_0x33398b;if(this[_0x5bd10d(0x4b0)]===null||this[_0x5bd10d(0x488)]===null||this[_0x5bd10d(0x4f9)]===null)return null;let _0x5aa8c7=_0x241096({'unitId':this['_unitId'],'subUnitId':this[_0x5bd10d(0x488)],'drawingId':this[_0x5bd10d(0x4f9)]}),_0x1e21d4=_0x10eb44[_0x5bd10d(0x28b)](_0x5aa8c7);return _0x1e21d4 instanceof ho?_0x1e21d4:null;}[_0x33398b(0x308)](_0x3767e0=!0x1){const _0x43436c=_0x33398b;if(this[_0x43436c(0x4b0)]===null||this['_subUnitId']===null||this[_0x43436c(0x4f9)]===null)return;let _0x5c1ad8=this[_0x43436c(0x200)]();if((_0x5c1ad8==null?void 0x0:_0x5c1ad8[_0x43436c(0x429)])!==_0x2cfc35[_0x43436c(0x428)]||!_0x5c1ad8[_0x43436c(0x2bc)])return;let _0x2cf8c5=this[_0x43436c(0x3be)][_0x43436c(0x137)](this[_0x43436c(0x4b0)],this[_0x43436c(0x488)],this['_activeShapeId']);if(!_0x2cf8c5||_0x2cf8c5['isLineShape']())return;(_0x3767e0||!this[_0x43436c(0x4d9)])&&(this[_0x43436c(0x4d9)]=this[_0x43436c(0x364)](this[_0x43436c(0x4b0)],this[_0x43436c(0x488)],this['_activeShapeId']));let _0x56e191=this[_0x43436c(0x4d9)];if(!(_0x56e191!=null&&_0x56e191[_0x43436c(0x366)]))return;let {scene:_0x56aee2}=this[_0x43436c(0xd8)],{left:_0x5565d5=0x0,top:_0x51669f=0x0,width:_0x11c114=0x0,height:_0x25f11c=0x0,flipX:_0x491bd9,flipY:_0x4458d9,angle:_0x5b4f30=0x0}=_0x5c1ad8['transform'];for(let _0x1d53d9 of _0x56e191){let _0x4616ff=this[_0x43436c(0x238)](_0x1d53d9,_0x11c114,_0x25f11c,!!_0x491bd9,!!_0x4458d9,_0x5b4f30);this[_0x43436c(0xa9)](_0x56aee2,_0x4616ff,_0x4616ff[_0x43436c(0x3ba)],_0x5565d5,_0x51669f,this[_0x43436c(0x4b0)],this[_0x43436c(0x488)]);}}['_toVisualAdjustPoint'](_0xa1f5dc,_0x213835,_0x432b3f,_0x383182,_0x5deaf6,_0x39fea5){const _0x49a4ec=_0x33398b;let _0x251537=_0xa1f5dc['x'],_0x24ae38=_0xa1f5dc['y'];if(_0x383182&&(_0x251537=_0x213835-_0x251537),_0x5deaf6&&(_0x24ae38=_0x432b3f-_0x24ae38),_0x39fea5!==0x0){let _0x1f74d3=_0x213835/0x2,_0x3a70f5=_0x432b3f/0x2,_0x20a1a6=_0x39fea5*Math['PI']/0xb4,_0x11b617=Math['cos'](_0x20a1a6),_0x3afada=Math[_0x49a4ec(0x1f9)](_0x20a1a6),_0x4ba6cc=_0x251537-_0x1f74d3,_0x2d7852=_0x24ae38-_0x3a70f5;_0x251537=_0x1f74d3+(_0x4ba6cc*_0x11b617-_0x2d7852*_0x3afada),_0x24ae38=_0x3a70f5+(_0x4ba6cc*_0x3afada+_0x2d7852*_0x11b617);}return{'x':_0x251537,'y':_0x24ae38,'adjName':_0xa1f5dc[_0x49a4ec(0x3ba)]};}[_0x33398b(0x1d4)](_0x4e2207=!0x1){const _0xd06dcf=_0x33398b;_0x4e2207&&this['_clearShapeAdjustControls'](),this[_0xd06dcf(0x308)](_0x4e2207);}[_0x33398b(0xa9)](_0x35a56a,_0x43f5c9,_0xef2398,_0x4390b3,_0x3fd323,_0x1d7897,_0x28c02e){const _0x2dbf55=_0x33398b;if(!this['_activeShapeId'])return;let _0x3cfbc5=_0x2dbf55(0x30f)+this['_activeShapeId']+'-'+_0xef2398,_0x5e4744=_0x35a56a['getObjectIncludeInGroup'](_0x3cfbc5);if(_0x5e4744){_0x5e4744[_0x2dbf55(0x22d)]({'left':_0x43f5c9['x']+_0x4390b3-_0x42f46a[_0x2dbf55(0x2c7)],'top':_0x43f5c9['y']+_0x3fd323-_0x42f46a[_0x2dbf55(0x2c7)]}),_0x5e4744[_0x2dbf55(0x330)](!0x0);return;}let _0x44a985=new is(_0x3cfbc5,{'left':_0x43f5c9['x']+_0x4390b3-_0x42f46a['adjHandleSize'],'top':_0x43f5c9['y']+_0x3fd323-_0x42f46a[_0x2dbf55(0x2c7)],'adjName':_0xef2398,'shapeId':this[_0x2dbf55(0x4f9)],'unitId':_0x1d7897,'subUnitId':_0x28c02e,'width':_0x42f46a['adjHandleSize']+0x8,'height':_0x42f46a[_0x2dbf55(0x2c7)]+0x8,'zIndex':_0x3deeaf+0x1,'evented':!0x0});this[_0x2dbf55(0x145)][_0x2dbf55(0x396)](_0x44a985),this[_0x2dbf55(0x18e)](_0x44a985,_0x35a56a,_0xef2398),_0x35a56a[_0x2dbf55(0x4fc)](_0x44a985,_0x3deeaf+0x1);}['_clearShapeAdjustControls'](){const _0x224406=_0x33398b;this['_adjustPointObjects'][_0x224406(0x136)](_0x740d99=>_0x740d99[_0x224406(0x2db)]()),this[_0x224406(0x145)]=[];}[_0x33398b(0x4f1)](){this['_createShapeAdjustControls']();}[_0x33398b(0x51d)](_0x460a6c,_0x1202c2,_0x26e696){const _0x218d3b=_0x33398b;var _0x4ba3fa,_0x31c4f5;let _0x724215=_0xa94bfd[_0x218d3b(0xc0)]([_0x1202c2,_0x26e696]),_0x28e35f=(_0x4ba3fa=_0x460a6c[_0x218d3b(0x1ed)](_0x724215))==null?_0x460a6c[_0x218d3b(0x2b7)]()[0x0]:_0x4ba3fa;return(_0x31c4f5=_0x28e35f==null?void 0x0:_0x28e35f[_0x218d3b(0x3a4)](_0x724215))==null?_0x724215:_0x31c4f5;}[_0x33398b(0x18e)](_0x4a7ffa,_0x54f769,_0x105b67){const _0x181f43=_0x33398b;this[_0x181f43(0xaa)](_0x59cf0b(_0x4a7ffa['onPointerDown$']['subscribeEvent']((_0x44ded3,_0x4a22e8)=>{const _0x3735fc=_0x181f43;var _0xae634,_0x1cf112,_0x4631eb,_0x53eb84;let _0x32c850=_0x4a7ffa[_0x3735fc(0x3db)]();this[_0x3735fc(0x421)]=this[_0x3735fc(0x188)](_0x32c850[_0x3735fc(0x121)],_0x32c850[_0x3735fc(0x40a)],_0x32c850[_0x3735fc(0xd2)],_0x105b67),this[_0x3735fc(0x395)]=this[_0x3735fc(0x3be)]['getShapeModel'](_0x32c850[_0x3735fc(0x121)],_0x32c850[_0x3735fc(0x40a)],_0x32c850[_0x3735fc(0xd2)]);let _0x2de546=this[_0x3735fc(0x200)](),_0x4b968c=_0x2de546==null?void 0x0:_0x2de546[_0x3735fc(0x2bc)];if(!_0x2de546||!_0x4b968c||!this['_activeShapeModel'])return;this[_0x3735fc(0x224)]=_0x4b968c['left']||0x0,this[_0x3735fc(0xa7)]=_0x4b968c[_0x3735fc(0x1c2)]||0x0,this[_0x3735fc(0x105)]=_0x4b968c[_0x3735fc(0x297)]||0x0,this[_0x3735fc(0x3d9)]=_0x4b968c['height']||0x0;let _0x24897a=!!_0x4b968c[_0x3735fc(0x477)],_0x500cc8=!!_0x4b968c[_0x3735fc(0x19f)],_0x1c0536=_0x4b968c[_0x3735fc(0x494)]||0x0,_0x1350b7=((_0xae634=this[_0x3735fc(0x421)])==null?void 0x0:_0xae634[_0x3735fc(0x328)])||((_0x1cf112=this['_activeAdjustInfo'])==null?void 0x0:_0x1cf112[_0x3735fc(0x34f)])||((_0x4631eb=this['_activeAdjustInfo'])==null?void 0x0:_0x4631eb[_0x3735fc(0x52d)])||((_0x53eb84=this[_0x3735fc(0x421)])==null?void 0x0:_0x53eb84[_0x3735fc(0x15b)])||_0x105b67,_0x1bf8a1=this['_activeShapeModel'][_0x3735fc(0x3d0)](_0x1350b7),_0xdb4efa={[_0x1350b7]:_0x1bf8a1};this[_0x3735fc(0xad)]=!0x0,_0x54f769[_0x3735fc(0x3d2)](),this[_0x3735fc(0x1a8)]=_0x54f769[_0x3735fc(0x29b)][_0x3735fc(0x1a3)]((_0x5750cf,_0xda0a28)=>{const _0x2bc3d5=_0x3735fc;var _0xea41d3;if(!this[_0x2bc3d5(0xad)]||!this[_0x2bc3d5(0x395)]||!this[_0x2bc3d5(0x421)])return;_0x54f769[_0x2bc3d5(0x3d2)](),_0x54f769[_0x2bc3d5(0x474)](_0x4f6a44['CROSSHAIR']);let _0x36050a=this[_0x2bc3d5(0x51d)](_0x54f769,_0x5750cf[_0x2bc3d5(0x422)],_0x5750cf[_0x2bc3d5(0x209)]),_0x3ea219=_0x36050a['x']-this[_0x2bc3d5(0x224)],_0x4cda1d=_0x36050a['y']-this[_0x2bc3d5(0xa7)];if(_0x1c0536!==0x0){let _0x584000=this[_0x2bc3d5(0x105)]/0x2,_0x5909fe=this['_baseShapeHeight']/0x2,_0xef59d=_0x1c0536*Math['PI']/0xb4,_0x3dae7a=Math[_0x2bc3d5(0x22f)](_0xef59d),_0x59005c=Math['sin'](_0xef59d),_0x30c67b=_0x3ea219-_0x584000,_0xcdba9e=_0x4cda1d-_0x5909fe;_0x3ea219=_0x584000+(_0x30c67b*_0x3dae7a+_0xcdba9e*_0x59005c),_0x4cda1d=_0x5909fe+(-_0x30c67b*_0x59005c+_0xcdba9e*_0x3dae7a);}_0x24897a&&(_0x3ea219=this[_0x2bc3d5(0x105)]-_0x3ea219),_0x500cc8&&(_0x4cda1d=this[_0x2bc3d5(0x3d9)]-_0x4cda1d);let _0x21fd28={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x2bc3d5(0x3d9)]},_0x32b2e8=this[_0x2bc3d5(0x395)][_0x2bc3d5(0x4ad)](_0x21fd28,{'x':_0x3ea219,'y':_0x4cda1d},this[_0x2bc3d5(0x421)],_0x24897a,_0x500cc8),_0x291b8b=this[_0x2bc3d5(0x421)][_0x2bc3d5(0x328)]||this[_0x2bc3d5(0x421)][_0x2bc3d5(0x34f)]||this['_activeAdjustInfo'][_0x2bc3d5(0x52d)]||this['_activeAdjustInfo'][_0x2bc3d5(0x15b)];_0x291b8b!==void 0x0&&(this[_0x2bc3d5(0x395)][_0x2bc3d5(0x19d)](_0x291b8b,_0x32b2e8),(_0xea41d3=this['_getActiveDrawingShape'](_0x54f769))==null||_0xea41d3[_0x2bc3d5(0x330)](!0x0),this[_0x2bc3d5(0x4d9)]=this[_0x2bc3d5(0x364)](_0x32c850[_0x2bc3d5(0x121)],_0x32c850[_0x2bc3d5(0x40a)],_0x32c850[_0x2bc3d5(0xd2)]),this[_0x2bc3d5(0x4f1)](),_0xda0a28[_0x2bc3d5(0x229)]());}),this[_0x3735fc(0x11d)]=_0x54f769['onPointerUp$'][_0x3735fc(0x1a3)]((_0x354d49,_0x56d478)=>{const _0x464ea9=_0x3735fc;var _0x94d588,_0x465156;(_0x94d588=this['_adjHandlerPointerMove'])==null||_0x94d588[_0x464ea9(0x1cc)](),(_0x465156=this[_0x464ea9(0x11d)])==null||_0x465156['unsubscribe'](),_0x54f769[_0x464ea9(0x267)]();let _0x12e461=this[_0x464ea9(0x421)];if(_0x12e461&&this['_activeShapeModel']){let _0x1db456=_0x12e461[_0x464ea9(0x328)]||_0x12e461['gdRefY']||_0x12e461['gdRefAng']||_0x12e461[_0x464ea9(0x15b)];if(_0x1db456!==void 0x0){let _0x1f7f7b=this[_0x464ea9(0x395)][_0x464ea9(0x3d0)](_0x1db456);_0x1f7f7b!==void 0x0&&Q(this[_0x464ea9(0x3bb)],_0x32c850[_0x464ea9(0x121)],_0x32c850[_0x464ea9(0x40a)],_0x32c850['drawingId'],{'oldShapeData':{'adjustValues':_0xdb4efa}},{'adjustValues':{[_0x1db456]:_0x1f7f7b}});}}this[_0x464ea9(0x421)]=void 0x0,this[_0x464ea9(0x395)]=void 0x0,this[_0x464ea9(0xad)]=!0x1,_0x54f769[_0x464ea9(0x3c5)](),_0x56d478['stopPropagation']();}),_0x4a22e8[_0x3735fc(0x229)]();})));}['_registerDrawingTransformHandler'](){const _0x5f5934=_0x33398b;let {scene:_0x594ce0}=this[_0x5f5934(0xd8)],_0x165916=_0x594ce0['getTransformerByCreate']();this[_0x5f5934(0xaa)](_0x165916['changeStart$'][_0x5f5934(0x2ea)](_0x333028=>{const _0x14f2d7=_0x5f5934;this[_0x14f2d7(0x308)](),_0x333028[_0x14f2d7(0x194)]!==null&&_0x333028['objects']['size']===0x1&&_0x333028[_0x14f2d7(0x194)]['values']()[_0x14f2d7(0x37a)]()['value']instanceof ho&&(this[_0x14f2d7(0x26c)]=!0x0);})),this['disposeWithMe'](_0x165916[_0x5f5934(0x436)][_0x5f5934(0x2ea)](()=>{const _0x203351=_0x5f5934;this['_isShouldShowDrawingShapeAdjust']&&this[_0x203351(0x15a)]();})),this['disposeWithMe'](_0x594ce0[_0x5f5934(0x521)][_0x5f5934(0x1a3)](()=>{const _0x3b531c=_0x5f5934;this[_0x3b531c(0x26c)]&&(this[_0x3b531c(0x26c)]=!0x1,this[_0x3b531c(0x308)]());})),this[_0x5f5934(0xaa)](_0x165916[_0x5f5934(0x4aa)][_0x5f5934(0x2ea)](()=>{const _0x5f335e=_0x5f5934;this['_unitId']&&this[_0x5f335e(0x488)]&&this[_0x5f335e(0x4f9)]&&(this[_0x5f335e(0x4d9)]=this[_0x5f335e(0x364)](this[_0x5f335e(0x4b0)],this[_0x5f335e(0x488)],this['_activeShapeId']),this[_0x5f335e(0x4f1)]());}));}[_0x33398b(0x511)](){const _0x1c6055=_0x33398b;this[_0x1c6055(0xaa)](this['_drawingManagerService'][_0x1c6055(0x1ca)][_0x1c6055(0x2ea)](_0x50ee55=>{const _0x4b9c37=_0x1c6055;if(_0x50ee55[_0x4b9c37(0x366)]===0x1){let _0x2a184c=_0x50ee55[0x0],_0x2e0ffa=this[_0x4b9c37(0x304)][_0x4b9c37(0x530)](_0x2a184c);if((_0x2e0ffa==null?void 0x0:_0x2e0ffa[_0x4b9c37(0x429)])===_0x2cfc35['DRAWING_SHAPE']){this['_activeShapeId']=_0x2a184c[_0x4b9c37(0xd2)],this[_0x4b9c37(0x4b0)]=_0x2a184c[_0x4b9c37(0x121)],this['_subUnitId']=_0x2a184c[_0x4b9c37(0x40a)],this[_0x4b9c37(0x4d9)]=this[_0x4b9c37(0x364)](_0x2a184c[_0x4b9c37(0x121)],_0x2a184c['subUnitId'],_0x2a184c[_0x4b9c37(0xd2)]),this[_0x4b9c37(0x15a)](),this[_0x4b9c37(0x308)]();return;}}this[_0x4b9c37(0x4f9)]=null,this[_0x4b9c37(0x4d9)]=void 0x0,this[_0x4b9c37(0x4b0)]=null,this[_0x4b9c37(0x488)]=null,this['_clearShapeAdjustControls']();})),this[_0x1c6055(0xaa)](this[_0x1c6055(0x304)][_0x1c6055(0xe0)][_0x1c6055(0x2ea)](_0x3d4b66=>{const _0x7a2a49=_0x1c6055;if(_0x3d4b66[_0x7a2a49(0x366)]===0x1){var _0x573fef;((_0x573fef=this[_0x7a2a49(0x304)][_0x7a2a49(0x530)](_0x3d4b66[0x0]))==null?void 0x0:_0x573fef[_0x7a2a49(0x429)])===_0x2cfc35[_0x7a2a49(0x428)]&&this[_0x7a2a49(0x1d4)](!0x0);}})),this[_0x1c6055(0xaa)](this['_drawingManagerService'][_0x1c6055(0x2e8)]['subscribe'](_0x2a4082=>{const _0x333f6f=_0x1c6055;for(let _0x2e7294 of _0x2a4082)this[_0x333f6f(0x4f9)]===_0x2e7294['drawingId']&&(this[_0x333f6f(0x4f9)]=null,this[_0x333f6f(0x4d9)]=void 0x0,this[_0x333f6f(0x4b0)]=null,this[_0x333f6f(0x488)]=null,this[_0x333f6f(0x15a)]());}));}};as=go([$(0x1,_0x34cbe0),$(0x2,_0x7cac4f(_0x3e64dd)),$(0x3,_0x557e3b)],as);function os(_0x29a5fb,_0x5efdaa){const _0x244c26=_0x33398b;let _0x2609be=_0x29a5fb;for(;_0x2609be;){if(_0x5efdaa(_0x2609be))return _0x2609be;_0x2609be=typeof _0x2609be[_0x244c26(0x115)]==_0x244c26(0x2dd)?_0x2609be[_0x244c26(0x115)]():null;}return null;}function ss(_0x47a237){return os(_0x47a237,_0x4121be=>_0x4121be instanceof ho);}let cs=class extends _0x5a4164{constructor(_0x15bc6f,_0x513b1e,_0x5039ac,_0x81fc8e,_0x1386e1){const _0x449dab=_0x33398b;super(),this[_0x449dab(0xd8)]=_0x15bc6f,this[_0x449dab(0x3e8)]=_0x513b1e,this['_drawingManagerService']=_0x5039ac,this[_0x449dab(0x417)]=_0x81fc8e,this['_docsShapeService']=_0x1386e1,Z(this,_0x449dab(0x342),null),this['_initEvents'](),this['_initSelection'](),this['_initEditingParams']();}[_0x33398b(0x39a)](){const _0x15f8e3=_0x33398b;let {scene:_0x3e74d8}=this[_0x15f8e3(0xd8)];this['disposeWithMe'](_0x3e74d8[_0x15f8e3(0x21c)]['subscribeEvent'](_0x3597e6=>{const _0x49c75d=_0x15f8e3;var _0x4d7f3a;let {offsetX:_0x2e9efc,offsetY:_0xc1aa9d}=_0x3597e6,_0x242111=_0xa94bfd[_0x49c75d(0xc0)]([_0x2e9efc,_0xc1aa9d]),_0xf51ebb=(_0x4d7f3a=ss(_0x3e74d8['pick'](_0x242111)))==null?this[_0x49c75d(0x31f)](_0x242111):_0x4d7f3a;if(_0xf51ebb){if(_0x59899f(this[_0x49c75d(0x3be)][_0x49c75d(0xef)](_0xf51ebb[_0x49c75d(0x121)],_0xf51ebb[_0x49c75d(0x40a)],_0xf51ebb[_0x49c75d(0xcd)])))return;this[_0x49c75d(0x3e8)][_0x49c75d(0x3ea)]({'visible':!0x0,'unitId':_0xf51ebb[_0x49c75d(0x121)],'subUnitId':_0xf51ebb[_0x49c75d(0x40a)],'shapeId':_0xf51ebb['shapeId'],'shapeKey':_0xf51ebb[_0x49c75d(0x35e)]});}}));}[_0x33398b(0x31f)](_0x44d067){const _0x4ab1c5=_0x33398b;let {scene:_0xd264a2}=this[_0x4ab1c5(0xd8)],_0x3b0f91=this[_0x4ab1c5(0x304)][_0x4ab1c5(0x15e)]()[_0x4ab1c5(0x4b6)](_0x11e49d=>_0xd264a2[_0x4ab1c5(0x28b)](_0x241096(_0x11e49d)))[_0x4ab1c5(0x312)](_0x4bfcc8=>_0x4bfcc8 instanceof ho&&_0x4bfcc8[_0x4ab1c5(0x4ca)](_0x44d067));return _0x3b0f91==null?null:_0x3b0f91;}[_0x33398b(0x1d3)](){const _0x413ab3=_0x33398b;this['disposeWithMe'](this[_0x413ab3(0x304)][_0x413ab3(0x1ca)][_0x413ab3(0x2ea)](_0x219341=>{const _0x20b8f0=_0x413ab3;if(_0x219341[_0x20b8f0(0x366)]===0x1){let _0x429709=_0x219341[0x0],_0x41ad10=this[_0x20b8f0(0x304)][_0x20b8f0(0x530)](_0x429709);if((_0x41ad10==null?void 0x0:_0x41ad10['drawingType'])===_0x2cfc35[_0x20b8f0(0x428)]){let _0x2ce645=this['_shapeTextEditingService'][_0x20b8f0(0x227)]();if((_0x2ce645==null?void 0x0:_0x2ce645[_0x20b8f0(0xcd)])===_0x429709[_0x20b8f0(0xd2)]&&_0x2ce645['visible'])return;_0x59899f(this['_docsShapeService'][_0x20b8f0(0xef)](_0x429709['unitId'],_0x429709[_0x20b8f0(0x40a)],_0x429709[_0x20b8f0(0xd2)]))&&this[_0x20b8f0(0x3e8)][_0x20b8f0(0x3ea)](null);}else this[_0x20b8f0(0x3e8)][_0x20b8f0(0x227)]()&&(this['_shapeTextEditingService'][_0x20b8f0(0x4d0)](!0x0),requestAnimationFrame(()=>{const _0x3f8c9b=_0x20b8f0;this[_0x3f8c9b(0x3e8)][_0x3f8c9b(0x3ea)](null);}));}else this['_shapeTextEditingService'][_0x20b8f0(0x227)]()&&(this[_0x20b8f0(0x3e8)][_0x20b8f0(0x4d0)](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this[_0x413ab3(0xaa)](this[_0x413ab3(0x304)][_0x413ab3(0x2e8)][_0x413ab3(0x2ea)](_0x4349a4=>{const _0x2c2c16=_0x413ab3;let _0x5cb83e=this[_0x2c2c16(0x3e8)][_0x2c2c16(0x227)]();_0x5cb83e&&_0x4349a4[_0x2c2c16(0x531)](_0x326567=>_0x326567['drawingId']===_0x5cb83e[_0x2c2c16(0xcd)])&&this[_0x2c2c16(0x3e8)][_0x2c2c16(0x3ea)](null);}));}[_0x33398b(0x4dd)](){const _0x4653b2=_0x33398b;this['disposeWithMe'](this[_0x4653b2(0x3e8)][_0x4653b2(0xa5)][_0x4653b2(0x2ea)](_0xf80970=>{const _0x6ba87d=_0x4653b2;let {scene:_0x2013bc}=this[_0x6ba87d(0xd8)];if(this['_lastEditingShapeKey']){let _0x3eb82b=_0x2013bc[_0x6ba87d(0x28b)](this['_lastEditingShapeKey']);_0x3eb82b&&_0x3eb82b[_0x6ba87d(0x3ea)](!0x1);}if(_0xf80970){let _0x3ad83b=!!_0xf80970['visible'],_0x16b8b0=_0x2013bc['getObjectIncludeInGroup'](_0xf80970[_0x6ba87d(0x196)]);_0x16b8b0&&(_0x16b8b0[_0x6ba87d(0x3ea)](_0x3ad83b),this[_0x6ba87d(0x342)]=_0xf80970[_0x6ba87d(0x196)]),this[_0x6ba87d(0x417)][_0x6ba87d(0x260)](_0x165209,_0x3ad83b);}else this[_0x6ba87d(0x342)]=null,this[_0x6ba87d(0x417)][_0x6ba87d(0x260)](_0x165209,!0x1);}));}};cs=go([$(0x1,_0x7cac4f(uo)),$(0x2,_0x34cbe0),$(0x3,_0x34a8dd),$(0x4,_0x7cac4f(_0x3e64dd))],cs);const ls=[_0x9bc2f8,_0x35cad7['id'],_0x581204['id'],_0x4777fb['id'],_0x14e5e8['id'],_0x37be57['id'],_0x44fa07['id'],_0x59ec50['id'],_0x189435['id'],_0x5b35fb['id']];function us(){const _0x1fe845=_0x33398b;let _0x27c804=_0x1713c6(_0x54b677),[_0x7eca6c,_0x30f6cd]=_0x1fc818([]);return _0x16da6b(()=>{const _0x1122ec=_0x4f67;function _0x569fc5(){const _0x9ffe2d=_0x4f67;let _0x4ee5b2=[..._0x27c804[_0x9ffe2d(0x120)](_0x242cfd),..._0x27c804[_0x9ffe2d(0x120)](_0x28943f[_0x9ffe2d(0x3c9)])];_0x30f6cd(ls[_0x9ffe2d(0x4b6)](_0x465488=>_0x4ee5b2[_0x9ffe2d(0x312)](_0x222d08=>_0x222d08[_0x9ffe2d(0x443)]===_0x465488))[_0x9ffe2d(0x375)](_0x3d65ee=>!!(_0x3d65ee!=null&&_0x3d65ee[_0x9ffe2d(0x2b0)])));}_0x569fc5();let _0x20916b=_0x27c804[_0x1122ec(0x525)][_0x1122ec(0x2ea)](_0x569fc5);return()=>_0x20916b['unsubscribe']();},[_0x27c804]),_0x296c54(_0x1fe845(0xff),{'className':_0x10bfbb(_0x1fe845(0xfd),_0x3476d2),'children':_0x7eca6c[_0x1fe845(0x4b6)](_0x5a83d9=>_0x5a83d9[_0x1fe845(0x2b0)]&&_0x296c54(_0x1fe845(0xff),{'className':'univer-flex\x20univer-flex-nowrap\x20univer-gap-2\x20univer-px-2','children':_0x296c54(_0x3f069b,{..._0x5a83d9[_0x1fe845(0x2b0)]},_0x5a83d9[_0x1fe845(0x443)])},_0x5a83d9[_0x1fe845(0x443)]))});}const ds='doc.shape.text.float-menu';function fs(_0x1a3c92,_0x3e6c0b){if(_0x1a3c92==null||_0x3e6c0b==null)return!0x1;let {glyph:_0x9ada19,..._0x3e0cd2}=_0x1a3c92,{glyph:_0x757fe9,..._0x1a4bc6}=_0x3e6c0b;return _0x5f4dec(_0x3e0cd2,_0x1a4bc6);}let ps=class extends _0x5a4164{constructor(_0x1053fe,_0x3bbd54,_0x4ba09f,_0x33cdf9,_0x4d3afc){const _0x89d024=_0x33398b;super(),this[_0x89d024(0xd8)]=_0x1053fe,this[_0x89d024(0x35d)]=_0x3bbd54,this[_0x89d024(0x1c0)]=_0x4ba09f,this[_0x89d024(0x1b2)]=_0x33cdf9,this['_docSelectionRenderService']=_0x4d3afc,Z(this,'_floatMenu',null),this[_0x89d024(0xd8)][_0x89d024(0x121)]===oo&&(this[_0x89d024(0xaa)](this[_0x89d024(0x1b2)][_0x89d024(0x44d)](ds,us)),this[_0x89d024(0x169)](),this[_0x89d024(0xaa)](()=>this[_0x89d024(0x25b)]()));}[_0x33398b(0x169)](){const _0x356745=_0x33398b;this[_0x356745(0xaa)](this[_0x356745(0x277)][_0x356745(0x17e)]['subscribe'](()=>{const _0x3c137d=_0x356745;this[_0x3c137d(0x25b)]();})),this[_0x356745(0xaa)](this[_0x356745(0x35d)][_0x356745(0x3f7)][_0x356745(0x2ea)](_0x3bf497=>{const _0x1b079f=_0x356745;var _0x129325,_0x5aaf64;let {unitId:_0x24a106,textRanges:_0x4ab243}=_0x3bf497;if(_0x24a106!==this['_context'][_0x1b079f(0x121)])return;let _0x39ebc8=_0x4ab243[_0x1b079f(0x312)](_0x1766aa=>!_0x1766aa[_0x1b079f(0x1ff)]);if(!_0x39ebc8){this[_0x1b079f(0x25b)]();return;}_0x39ebc8['startOffset']===((_0x129325=this[_0x1b079f(0x31e)])==null?void 0x0:_0x129325[_0x1b079f(0x108)])&&_0x39ebc8['endOffset']===((_0x5aaf64=this[_0x1b079f(0x31e)])==null?void 0x0:_0x5aaf64[_0x1b079f(0x2dc)])||(this['_hideFloatMenu'](),this['_showFloatMenu'](_0x24a106,_0x39ebc8));}));}[_0x33398b(0x25b)](){const _0x47f6cb=_0x33398b;var _0x4d2c4c;(_0x4d2c4c=this[_0x47f6cb(0x31e)])==null||_0x4d2c4c[_0x47f6cb(0xb1)][_0x47f6cb(0x2db)](),this[_0x47f6cb(0x31e)]=null;}[_0x33398b(0x30d)](_0x175639,_0x52b503){const _0x3ec239=_0x33398b;this[_0x3ec239(0x31e)]={'disposable':this['_docCanvasPopManagerService'][_0x3ec239(0xfa)](_0x52b503,{'componentKey':ds,'direction':_0x52b503[_0x3ec239(0x332)]===_0x3ec239(0x10e)||fs(_0x52b503[_0x3ec239(0x2ae)],_0x52b503['endNodePosition'])?'top-center':'bottom-center','offset':[0x0,0x4]},_0x175639),'start':_0x52b503[_0x3ec239(0x3ce)],'end':_0x52b503[_0x3ec239(0x513)]};}};ps=go([$(0x1,_0x7cac4f(_0x44927b)),$(0x2,_0x7cac4f(_0x446c52)),$(0x3,_0x7cac4f(_0x4e1606)),$(0x4,_0x7cac4f(_0x342eea))],ps);function ms(_0x343fc3,_0x47a9ee){const _0x2ac456=_0x33398b;return{'top':0x0,'left':0x0,'width':_0x343fc3,'height':_0x47a9ee,'borderColor':'transparent','outlineColor':_0x2ac456(0x48f),'backgroundColor':_0x2ac456(0x48f)};}function hs(_0x413a8d){const _0x2801a1=_0x33398b;var _0x5419ef,_0x5ca2f6;let _0x9c49c5=_0x413a8d==null||(_0x5419ef=_0x413a8d[_0x2801a1(0x180)])==null||(_0x5ca2f6=_0x5419ef[_0x2801a1(0x1c9)])==null?void 0x0:_0x5ca2f6[_0x2801a1(0x50b)](_0x5419ef);_0x9c49c5&&(_0x9c49c5['style'][_0x2801a1(0x2f8)]='transparent');}function gs(_0xca22ab){const _0x38b6c9=_0x33398b;let _0x40fd1e=_0x4c8cc3[_0x38b6c9(0x377)],_0x1a0903=_0x4c8cc3[_0x38b6c9(0x377)]|_0x4c8cc3[_0x38b6c9(0xcf)];return{'keyCodes':[{'keyCode':_0x474172[_0x38b6c9(0x369)]},{'keyCode':_0x474172[_0x38b6c9(0x258)]},{'keyCode':_0x474172['DELETE']},{'keyCode':_0x474172['A'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['B'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['I'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['U'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['X'],'metaKey':_0x1a0903},{'keyCode':_0x474172[_0x38b6c9(0x492)],'metaKey':_0x40fd1e},{'keyCode':_0x474172[_0x38b6c9(0xa6)],'metaKey':_0x40fd1e},{'keyCode':_0x474172['L'],'metaKey':_0x1a0903},{'keyCode':_0x474172['R'],'metaKey':_0x1a0903},{'keyCode':_0x474172['E'],'metaKey':_0x1a0903},{'keyCode':_0x474172['J'],'metaKey':_0x1a0903},{'keyCode':_0x474172[_0x38b6c9(0x329)],'metaKey':_0x1a0903},{'keyCode':_0x474172['Digit8'],'metaKey':_0x1a0903},{'keyCode':_0x474172['Z'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['Y'],'metaKey':_0x40fd1e},{'keyCode':_0x474172['Z'],'metaKey':_0x1a0903}],'handler':(_0x2c95ec,_0x7d9d3e)=>{const _0x899d36=_0x38b6c9;switch(_0x2c95ec+':'+(_0x7d9d3e==null?0x0:_0x7d9d3e)){case _0x474172['ENTER']+':0':_0xca22ab[_0x899d36(0x4e7)](_0x227423['id']);break;case _0x474172['BACKSPACE']+':0':_0xca22ab[_0x899d36(0x4e7)](_0x500258['id']);break;case _0x474172['DELETE']+':0':_0xca22ab[_0x899d36(0x4e7)](_0x427090['id']);break;case _0x474172['A']+':'+_0x40fd1e:_0xca22ab[_0x899d36(0x4e7)](_0x2f2091['id']);break;case _0x474172['B']+':'+_0x40fd1e:_0xca22ab['executeCommand'](_0x581204['id']);break;case _0x474172['I']+':'+_0x40fd1e:_0xca22ab[_0x899d36(0x4e7)](_0x4777fb['id']);break;case _0x474172['U']+':'+_0x40fd1e:_0xca22ab[_0x899d36(0x4e7)](_0x14e5e8['id']);break;case _0x474172['X']+':'+_0x1a0903:_0xca22ab[_0x899d36(0x4e7)](_0x37be57['id']);break;case _0x474172[_0x899d36(0x492)]+':'+_0x40fd1e:_0xca22ab[_0x899d36(0x4e7)](_0x44fa07['id']);break;case _0x474172[_0x899d36(0xa6)]+':'+_0x40fd1e:_0xca22ab['executeCommand'](_0x59ec50['id']);break;case _0x474172['L']+':'+_0x1a0903:_0xca22ab['executeCommand'](_0x564dcb['id']);break;case _0x474172['R']+':'+_0x1a0903:_0xca22ab[_0x899d36(0x4e7)](_0x4d1896['id']);break;case _0x474172['E']+':'+_0x1a0903:_0xca22ab['executeCommand'](_0x3655ae['id']);break;case _0x474172['J']+':'+_0x1a0903:_0xca22ab['executeCommand'](_0x551257['id']);break;case _0x474172[_0x899d36(0x329)]+':'+_0x1a0903:_0xca22ab['executeCommand'](_0x148d46['id']);break;case _0x474172[_0x899d36(0x4df)]+':'+_0x1a0903:_0xca22ab[_0x899d36(0x4e7)](_0x369c76['id']);break;case _0x474172['Z']+':'+_0x40fd1e:_0xca22ab['executeCommand'](_0x311e96['id']);break;case _0x474172['Y']+':'+_0x40fd1e:case _0x474172['Z']+':'+_0x1a0903:_0xca22ab[_0x899d36(0x4e7)](_0x17a404['id']);break;}}};}const _s=function(_0x375d37){const _0x242d6e=_0x33398b;let {containerWidth:_0x1f4156,containerHeight:_0x1ab013,scaleX:_0x3029e6,scaleY:_0x489d97}=_0x375d37,_0x937f6f=_0x3029e6||0x1,_0x5029fa=_0x489d97||0x1,_0x19c73c=_0x1713c6(uo),_0x40033a=_0x1713c6(_0x2c48b3),_0x57f20e=_0x1713c6(_0x11e46a),_0x3d1d10=_0x1713c6(_0x135189),_0x2a571f=_0x1713c6(_0x34cbe0),_0xb9c2bc=_0x1713c6(_0x3e64dd),_0x55096d=_0x1713c6(_0x557e3b),_0x3d9bc8=_0x3f8211(_0x19c73c[_0x242d6e(0xa5)]),_0x253045=_0x3f8211(_0x19c73c[_0x242d6e(0x3d6)]),_0x2ca3ae=_0x57cd21(null),_0x5922f2=_0x57cd21(null),_0x4953bb=_0x57cd21(null),_0x111372=_0x57cd21(null),_0xca3c36=_0x57cd21(null),_0x5543de=_0x57cd21(null),[,_0x156526]=_0x1fc818({'editorHeight':_0x1ab013,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x2cffb1=_0xde8e53(_0x12ce8c=>{queueMicrotask(()=>{_0x156526(_0x12ce8c);});},[]),_0x24a5b2=_0xde8e53(()=>_0x3d1d10[_0x242d6e(0x4cb)](oo,_0xc4517f['UNIVER_DOC']),[_0x3d1d10]),_0xb7e4e=_0xde8e53(()=>{const _0xd08258=_0x242d6e;var _0x30cc99;let _0x515d03=_0x937f6f,_0x1e36da=_0x5029fa;if(!_0x3d9bc8)return{'scaleAdjust':0x1,'renderScaleX':_0x515d03,'renderScaleY':_0x1e36da};let _0x47e985=_0x57f20e[_0xd08258(0x221)](_0x3d9bc8[_0xd08258(0x121)]),_0x1009a4=_0x47e985==null?void 0x0:_0x47e985['scene'][_0xd08258(0x486)](),_0x21db9d=_0x47e985==null?void 0x0:_0x47e985[_0xd08258(0x180)][_0xd08258(0x1c9)](),_0x1fdd8a=_0x21db9d?Number[_0xd08258(0x34e)](_0x21db9d[_0xd08258(0x1c5)][_0xd08258(0x297)]||''):0x0,_0xc2d3ca=(_0x30cc99=_0x21db9d==null?void 0x0:_0x21db9d['getBoundingClientRect']()[_0xd08258(0x297)])==null?0x0:_0x30cc99,_0xbb7c7=_0x1fdd8a>0x0&&_0xc2d3ca>0x0?_0xc2d3ca/_0x1fdd8a:0x1;return{'scaleAdjust':Number[_0xd08258(0x524)](_0xbb7c7)&&_0xbb7c7>0x0?_0xbb7c7:0x1,'renderScaleX':(_0x1009a4==null?void 0x0:_0x1009a4[_0xd08258(0x128)])||_0x515d03,'renderScaleY':(_0x1009a4==null?void 0x0:_0x1009a4['scaleY'])||_0x1e36da};},[_0x937f6f,_0x5029fa,_0x3d9bc8,_0x57f20e]),_0x4a820a=_0xde8e53(()=>{const _0x2ee754=_0x242d6e;if(!_0x3d9bc8)return{'left':0x0,'top':0x0,'width':_0x1f4156/_0x937f6f,'height':_0x1ab013/_0x5029fa};let {unitId:_0x261ae3,subUnitId:_0x2539e5,shapeId:_0xb68798}=_0x3d9bc8,_0x2d0a19=_0xb9c2bc[_0x2ee754(0x137)](_0x261ae3,_0x2539e5,_0xb68798);if(!_0x2d0a19)return{'left':0x0,'top':0x0,'width':_0x1f4156/_0x937f6f,'height':_0x1ab013/_0x5029fa};let _0x24e9b1={'left':0x0,'top':0x0,'width':_0x1f4156/_0x937f6f,'height':_0x1ab013/_0x5029fa};return _0x2d0a19['getShapeTextRect'](_0x24e9b1);},[_0x3d9bc8,_0x1f4156,_0x1ab013,_0x937f6f,_0x5029fa,_0xb9c2bc]),_0x34923a=_0xde8e53(()=>{const _0x1b24ce=_0x242d6e;if(!_0x3d9bc8)return null;let {unitId:_0xe4d164,subUnitId:_0x473747,shapeId:_0x16c5c9}=_0x3d9bc8,_0x47f345=_0xb9c2bc[_0x1b24ce(0x137)](_0xe4d164,_0x473747,_0x16c5c9);if(!_0x47f345)return null;let _0x1e37b1=_0x47f345[_0x1b24ce(0x325)]();if(!_0x1e37b1)return null;let _0x1594df={'unitId':_0xe4d164,'subUnitId':_0x473747,'drawingId':_0x16c5c9},_0x583aa9=_0x2a571f[_0x1b24ce(0x530)](_0x1594df),_0x39b42f={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x583aa9&&_0x583aa9[_0x1b24ce(0x2bc)]&&(_0x39b42f=_0x583aa9[_0x1b24ce(0x2bc)]);let _0x2d24e6={'left':0x0,'top':0x0,'width':_0x1f4156/_0x937f6f,'height':_0x1ab013/_0x5029fa},_0xc0f73a=_0x47f345[_0x1b24ce(0xba)](_0x2d24e6),_0x8c83f1,_0x32f5f7=_0x48e091[_0x1b24ce(0x400)],_0x3bb781=_0x1c6b12[_0x1b24ce(0x313)];if(_0x1b24ce(0x4e1)in _0x1e37b1&&_0x1e37b1[_0x1b24ce(0x4e1)]){var _0x54e052,_0x4ee80a;let _0x2861b0=_0x1e37b1['dataModel'];_0x2861b0!=null&&_0x2861b0[_0x1b24ce(0x2ad)]&&(_0x8c83f1=_0x2861b0[_0x1b24ce(0x2ad)]),_0x32f5f7=(_0x54e052=_0x2861b0==null?void 0x0:_0x2861b0['va'])==null?_0x48e091[_0x1b24ce(0x400)]:_0x54e052,_0x3bb781=(_0x4ee80a=_0x2861b0==null?void 0x0:_0x2861b0['ha'])==null?_0x1c6b12[_0x1b24ce(0x313)]:_0x4ee80a;}return{'doc':_0x8c83f1,'verticalAlign':_0x32f5f7,'horizontalAlign':_0x3bb781,'textRect':_0xc0f73a,'transform':_0x39b42f,'isHorizontal':_0x1e37b1['isHorizontal']};},[_0x3d9bc8,_0xb9c2bc,_0x2a571f,_0x1f4156,_0x1ab013,_0x937f6f,_0x5029fa]),_0x2abd68=_0x559b10(()=>{const _0x37c91f=_0x242d6e;let _0x2556f8=_0x34923a();return _0x2556f8!=null&&_0x2556f8[_0x37c91f(0x2ad)]?po(_0x2556f8[_0x37c91f(0x2ad)],{'isHorizontal':!0x0,'textRect':_0x2556f8[_0x37c91f(0x4a3)],'verticalAlign':_0x2556f8[_0x37c91f(0x159)],'horizontalAlign':_0x2556f8['horizontalAlign']}):{'id':oo,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x1f4156/_0x937f6f,'height':0x1/0x0}}};},[_0x34923a,_0x1f4156,_0x937f6f]),_0x1f29b0=_0x61938e({'editorId':oo,'initialValue':_0x2abd68,'container':_0x5922f2,'autoFocus':!0x1,'canvasStyle':{'backgroundColor':'transparent'},'isSingle':!0x1});_0x16da6b(()=>{const _0x5b9cea=_0x242d6e;_0x1f29b0&&hs(_0x57f20e[_0x5b9cea(0x221)](oo));},[_0x1f29b0,_0x57f20e]);let _0x2ecc70=_0x47fd30(oo);_0x5ac6f2(_0x2ecc70,_0x559b10(()=>gs(_0x55096d),[_0x55096d]),_0x1f29b0),_0x4e7cbc(_0x2ecc70,!0x1,_0x1f29b0);let _0x504a07=_0xde8e53((_0x6324ec=!0x0)=>{const _0x313d07=_0x242d6e;var _0x44639f,_0x4f5881,_0x4f81bb;if(!_0x1f29b0)return;let _0x3ffd35=_0x1f29b0[_0x313d07(0x2ff)]()[_0x313d07(0x312)](_0x576112=>_0x576112[_0x313d07(0x1ff)]),_0x2ccdaf=((_0x44639f=(_0x4f5881=_0x1f29b0[_0x313d07(0x171)]()[_0x313d07(0x11a)])==null?void 0x0:_0x4f5881[_0x313d07(0x235)][_0x313d07(0x366)])==null?0x2:_0x44639f)-0x2,_0x96b69e=(_0x4f81bb=_0x3ffd35==null?void 0x0:_0x3ffd35['startOffset'])==null?_0x6324ec?_0x2ccdaf:null:_0x4f81bb;_0x96b69e!==null&&_0x1f29b0[_0x313d07(0x26f)]([{'startOffset':_0x96b69e,'endOffset':_0x96b69e}],!0x1);},[_0x1f29b0]),_0x13b100=_0xde8e53(()=>{const _0x2e68f7=_0x242d6e;_0xca3c36[_0x2e68f7(0x2a1)]!==null&&(cancelAnimationFrame(_0xca3c36[_0x2e68f7(0x2a1)]),_0xca3c36[_0x2e68f7(0x2a1)]=null),_0x5543de[_0x2e68f7(0x2a1)]!==null&&(window[_0x2e68f7(0x2a6)](_0x5543de[_0x2e68f7(0x2a1)]),_0x5543de[_0x2e68f7(0x2a1)]=null);},[]),_0x3087e8=_0xde8e53(()=>{const _0xce76d7=_0x242d6e;var _0x3dfb5c,_0x479920,_0x3db095;if(!_0x1f29b0)return;let _0xc76609=_0x57f20e[_0xce76d7(0x221)](oo),_0x36b524=_0xc76609==null?void 0x0:_0xc76609[_0xce76d7(0x359)](_0x32b67f);if(!_0x36b524)return;let _0x3a8bcb=_0x36b524[_0xce76d7(0x19a)](),_0x112e1f=_0x24a5b2(),{renderScaleX:_0xecf85a,renderScaleY:_0x2259bf,scaleAdjust:_0xbeefe}=_0xb7e4e(),_0x1ca410=_0x34923a(),_0x5ea6b7=(_0x3dfb5c=_0x1ca410==null?void 0x0:_0x1ca410[_0xce76d7(0x159)])==null?_0x48e091[_0xce76d7(0x400)]:_0x3dfb5c,_0x3c9b04=(_0x479920=_0x1ca410==null?void 0x0:_0x1ca410[_0xce76d7(0x2d3)])==null?_0x1c6b12[_0xce76d7(0x313)]:_0x479920,_0xb5d05=(_0x3db095=_0x4a820a())==null?{'left':0x0,'top':0x0,'width':_0x1f4156/_0x937f6f,'height':_0x1ab013/_0x5029fa}:_0x3db095,_0x371a6f=_0x1f4156/_0x937f6f,_0x4d001a=_0x1ab013/_0x5029fa;_0x112e1f&&(_0x112e1f[_0xce76d7(0x3d3)](Math[_0xce76d7(0x225)](_0xecf85a,_0x2259bf)),_0x112e1f[_0xce76d7(0x3f6)]({'marginLeft':0x0,'marginRight':0x0,'marginBottom':0x0,'pageSize':{'width':_0xb5d05['width'],'height':0x1/0x0}}),_0x112e1f['updateDocumentRenderConfig']({'verticalAlign':_0x5ea6b7,'horizontalAlign':_0x3c9b04,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x60bbd6[_0xce76d7(0xf2)]})),_0x3a8bcb[_0xce76d7(0x164)]();let {actualHeight:_0xa9e523}=_0x3a8bcb[_0xce76d7(0x2fb)](),_0x3c6db6=_0xb5d05[_0xce76d7(0x299)],_0x47e2b7=0x0;if(_0xa9e523<=_0x3c6db6)_0x5ea6b7===_0x48e091['MIDDLE']?_0x47e2b7=(_0x3c6db6-_0xa9e523)/0x2:_0x5ea6b7===_0x48e091['BOTTOM']&&(_0x47e2b7=_0x3c6db6-_0xa9e523),_0x2cffb1({'editorHeight':_0xb5d05['height']*_0x5029fa,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x381be7=0x0;_0x5ea6b7===_0x48e091[_0xce76d7(0x41e)]?_0x381be7=(_0x3c6db6-_0xa9e523)/0x2:_0x5ea6b7===_0x48e091['BOTTOM']&&(_0x381be7=_0x3c6db6-_0xa9e523),_0x47e2b7=0x0,_0x2cffb1({'editorHeight':_0xa9e523*_0x5029fa,'marginTop':_0x381be7*_0x5029fa,'useAbsolutePosition':!0x0});}if(_0x112e1f){let _0x5856b6=Math[_0xce76d7(0x225)](0x0,_0xb5d05['left']),_0x3c5d21=Math['max'](0x0,_0xb5d05[_0xce76d7(0x1c2)]+_0x47e2b7);_0x112e1f[_0xce76d7(0x3f6)]({'marginLeft':_0x5856b6,'marginRight':Math[_0xce76d7(0x225)](0x0,_0x371a6f-_0xb5d05[_0xce76d7(0x4ee)]-_0xb5d05['width']),'marginBottom':Math[_0xce76d7(0x225)](0x0,_0x4d001a-_0xb5d05['top']-_0xb5d05[_0xce76d7(0x299)]),'pageSize':{'width':_0x371a6f,'height':_0x4d001a}}),_0x112e1f[_0xce76d7(0x1d7)]({'t':_0x3c5d21}),_0x3a8bcb[_0xce76d7(0x164)]();}if(_0xc76609){let _0x4ac63c=_0x1f4156,_0x586825=_0x1ab013;_0xc76609[_0xce76d7(0x1a7)][_0xce76d7(0x22d)]({'width':_0x4ac63c*_0xbeefe/_0xecf85a,'height':_0x586825*_0xbeefe/_0x2259bf,'scaleX':_0xecf85a*_0xbeefe,'scaleY':_0x2259bf*_0xbeefe}),_0xc76609['mainComponent']&&_0xc76609[_0xce76d7(0x4b4)][_0xce76d7(0x3d1)](_0x4ac63c*_0xbeefe/_0xecf85a,_0x586825*_0xbeefe/_0x2259bf);}},[_0x1f29b0,_0x57f20e,_0x24a5b2,_0xb7e4e,_0x34923a,_0x4a820a,_0x1f4156,_0x1ab013,_0x937f6f,_0x5029fa,_0x2cffb1]),_0x767ea0=_0xde8e53((_0x5e073f=!0x1)=>{const _0x18717c=_0x242d6e;_0x13b100(),_0xca3c36[_0x18717c(0x2a1)]=requestAnimationFrame(()=>{const _0x34d95b=_0x18717c;_0x3087e8(),_0x5e073f&&_0x504a07(!0x1),_0xca3c36['current']=null,_0x5543de[_0x34d95b(0x2a1)]=window[_0x34d95b(0x3f5)](()=>{_0x3087e8(),_0x5e073f&&_0x504a07(!0x1),_0x5543de['current']=null;},0x14);});},[_0x3087e8,_0x13b100,_0x504a07]);_0x16da6b(()=>{const _0x537d96=_0x242d6e;if(!_0x1f29b0||!_0x3d9bc8)return;let {shapeId:_0x2b01d5,unitId:_0x26f6f4}=_0x3d9bc8;if(_0x253045){var _0x1c8da1,_0x16bac3,_0xac3ebe,_0x19930c;let _0x46e958=mo(_0x1f29b0['getDocumentData']()),_0x26e71e=_0x34923a(),_0x3d42ff={'va':(_0x1c8da1=_0x26e71e==null?void 0x0:_0x26e71e[_0x537d96(0x159)])==null?_0x48e091[_0x537d96(0x400)]:_0x1c8da1,'ha':(_0x16bac3=_0x26e71e==null?void 0x0:_0x26e71e[_0x537d96(0x2d3)])==null?_0x1c6b12['LEFT']:_0x16bac3,'doc':_0x46e958};_0x55096d[_0x537d96(0x4e7)](_0x4b2cdf['id'],{'unitId':_0x26f6f4,'shapeId':_0x2b01d5,'shapeData':{'shapeText':{'isHorizontal':(_0xac3ebe=_0x26e71e==null?void 0x0:_0x26e71e[_0x537d96(0x2c9)])==null?!0x0:_0xac3ebe,'dataModel':_0x3d42ff}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x19930c=_0x26e71e==null?void 0x0:_0x26e71e[_0x537d96(0x2c9)])==null?!0x0:_0x19930c,'dataModel':_0x4953bb[_0x537d96(0x2a1)]}}}});return;}let _0x33f669=_0x34923a();if(_0x33f669!=null&&_0x33f669[_0x537d96(0x2ad)]){_0x4953bb[_0x537d96(0x2a1)]={'va':_0x33f669['verticalAlign'],'ha':_0x33f669['horizontalAlign'],'doc':_0x15e06a['deepClone'](_0x33f669['doc'])};let _0x25070c=po(_0x33f669[_0x537d96(0x2ad)],{'isHorizontal':!0x0,'textRect':_0x33f669[_0x537d96(0x4a3)],'verticalAlign':_0x33f669[_0x537d96(0x159)],'horizontalAlign':_0x33f669[_0x537d96(0x2d3)]});return _0x1f29b0[_0x537d96(0x1bd)](_0x25070c,null),()=>{const _0x3bf422=_0x537d96;var _0x11c201,_0xa1500a,_0x1f94e6,_0x23d581;let _0x5dc3b4=mo(_0x1f29b0[_0x3bf422(0x171)]()),_0x5540f6=_0x34923a(),_0x1d0813={'va':(_0x11c201=_0x5540f6==null?void 0x0:_0x5540f6['verticalAlign'])==null?_0x48e091[_0x3bf422(0x400)]:_0x11c201,'ha':(_0xa1500a=_0x5540f6==null?void 0x0:_0x5540f6[_0x3bf422(0x2d3)])==null?_0x1c6b12['LEFT']:_0xa1500a,'doc':_0x5dc3b4};_0x55096d[_0x3bf422(0x4e7)](_0x4b2cdf['id'],{'unitId':_0x26f6f4,'shapeId':_0x2b01d5,'shapeData':{'shapeText':{'isHorizontal':(_0x1f94e6=_0x5540f6==null?void 0x0:_0x5540f6[_0x3bf422(0x2c9)])==null?!0x0:_0x1f94e6,'dataModel':_0x1d0813}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x23d581=_0x5540f6==null?void 0x0:_0x5540f6[_0x3bf422(0x2c9)])==null?!0x0:_0x23d581,'dataModel':_0x4953bb[_0x3bf422(0x2a1)]}}}});};}else _0x1f29b0[_0x537d96(0x1bd)](_0x2abd68,null);},[_0x1f29b0,_0x3d9bc8,_0x253045]),_0x16da6b(()=>{const _0x12500c=_0x242d6e;if(!(!_0x1f29b0||!_0x3d9bc8))return _0x40033a['blur'](!0x0),_0x3087e8(),_0x111372[_0x12500c(0x2a1)]=requestAnimationFrame(()=>{const _0x2b0f4f=_0x12500c;_0x40033a[_0x2b0f4f(0x140)](oo),_0x504a07(),_0x767ea0(),_0x111372[_0x2b0f4f(0x2a1)]=null;}),()=>{const _0x5b7edf=_0x12500c;_0x111372['current']!==null&&(cancelAnimationFrame(_0x111372[_0x5b7edf(0x2a1)]),_0x111372['current']=null),_0x13b100(),_0x40033a[_0x5b7edf(0xd4)](!0x0);};},[_0x1f29b0,_0x3d9bc8,_0x40033a,_0x3087e8,_0x504a07,_0x767ea0,_0x13b100]),_0x16da6b(()=>{const _0x18c5c1=_0x242d6e;if(!_0x1f29b0)return;let _0x2a1e3b=_0x55096d[_0x18c5c1(0x4eb)](_0x13d72f=>{const _0x6d28c3=_0x18c5c1;_0x13d72f['id']===_0x541eb7['id']&&_0x13d72f[_0x6d28c3(0x52c)][_0x6d28c3(0x121)]===oo&&_0x3d9bc8&&(_0x3d9bc8['visible']?_0x3087e8():_0x19c73c['setEditing']({..._0x3d9bc8,'visible':!0x0}));});return()=>{const _0x62402d=_0x18c5c1;_0x2a1e3b[_0x62402d(0x2db)]();};},[_0x1f29b0,_0x3087e8,_0x3d9bc8,_0x767ea0,_0x19c73c]),_0x16da6b(()=>(_0x3087e8(),_0x767ea0(),()=>{_0x13b100();}),[_0x3087e8,_0x767ea0,_0x13b100]);let _0x33163a=_0x559b10(()=>ms(_0x1f4156,_0x1ab013),[_0x1f4156,_0x1ab013]),_0x6f7a86=_0x559b10(()=>{const _0x537496=_0x242d6e;let _0x9671c=_0x34923a(),_0x214ae0=_0x9671c==null?void 0x0:_0x9671c[_0x537496(0x2bc)];return _0x214ae0&&_0x214ae0||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x34923a]);return _0x296c54(_0x242d6e(0xff),{'ref':_0x2ca3ae,'data-u-comp':_0x242d6e(0x205),'className':_0x242d6e(0xca),'style':{'transform':'rotate('+_0x6f7a86[_0x242d6e(0x494)]+_0x242d6e(0x356)+(_0x6f7a86[_0x242d6e(0x19f)]?-0x1:0x1)+')'},'children':_0x296c54('div',{'ref':_0x5922f2,'className':_0x242d6e(0xbd),'data-u-comp':_0x242d6e(0x311),'style':_0x33163a,'data-editorid':oo})});},vs={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function ys(_0x49eccf,_0x3d13f2,_0x56c72f,_0x18bab5,_0x45a1a3,_0x2950e3){const _0x455e85=_0x33398b;var _0x5a77fe,_0x1e81fb;let {scaleX:_0x26449e,scaleY:_0x5065c4}=_0x2950e3[_0x455e85(0x486)](),_0x3d8ff7=_0x2950e3['getViewport'](_0x3ac0d1[_0x455e85(0x21d)]),_0x2b0da0=(_0x5a77fe=_0x3d8ff7==null?void 0x0:_0x3d8ff7['viewportScrollX'])==null?0x0:_0x5a77fe,_0x390136=(_0x1e81fb=_0x3d8ff7==null?void 0x0:_0x3d8ff7[_0x455e85(0x4b1)])==null?0x0:_0x1e81fb;return{'left':(_0x49eccf-_0x2b0da0)*_0x26449e,'top':(_0x3d13f2-_0x390136)*_0x5065c4,'width':_0x56c72f*_0x26449e,'height':_0x18bab5*_0x5065c4,'angle':_0x45a1a3,'scaleX':_0x26449e,'scaleY':_0x5065c4};}function bs(_0x15cffe){const _0x4b55dc=_0x33398b;let {editingParams:_0xc800e6,scene:_0x2b7b49,getShapeTransform:_0x1f653b}=_0x15cffe,[_0x1065fa,_0x4e0cb3]=_0x1fc818(vs),_0x46d178=_0x57cd21(_0x1065fa);_0x46d178[_0x4b55dc(0x2a1)]=_0x1065fa;let _0x316c47=_0xde8e53(()=>{const _0x3bbb76=_0x4b55dc;if(!_0xc800e6||!_0x2b7b49){_0x46d178[_0x3bbb76(0x2a1)]!==vs&&_0x4e0cb3(vs);return;}let _0x2ec4b6=_0x1f653b();if(!_0x2ec4b6){_0x46d178[_0x3bbb76(0x2a1)]!==vs&&_0x4e0cb3(vs);return;}let {left:_0x145694,top:_0x250241,width:_0x5e062e,height:_0x3a158a,angle:_0x34c017}=_0x2ec4b6,{scaleX:_0x1d942f,scaleY:_0x3dd923}=_0x2b7b49['getAncestorScale']();if(!_0xc800e6[_0x3bbb76(0x33a)]){_0x4e0cb3({'left':-0x270f,'top':-0x270f,'width':_0x5e062e*_0x1d942f,'height':_0x3a158a*_0x3dd923,'angle':0x0,'scaleX':_0x1d942f,'scaleY':_0x3dd923});return;}_0x4e0cb3(ys(_0x145694,_0x250241,_0x5e062e,_0x3a158a,_0x34c017,_0x2b7b49));},[_0xc800e6,_0x2b7b49,_0x1f653b]);return _0x16da6b(()=>{_0x316c47();},[_0xc800e6,_0x316c47]),{'position':_0x1065fa,'updatePosition':_0x316c47};}const xs=_0x24ba57(_0x15e735=>{const _0x29c32f=_0x33398b;let {children:_0x5005a1,onPositionUpdate:_0x272fb5}=_0x15e735,_0x35f3b1=_0x57cd21(null),_0x5ef804=_0x1713c6(uo),_0x4b8497=_0x1713c6(_0x11e46a),_0x1aab9b=_0x3f8211(_0x5ef804[_0x29c32f(0xa5)]),_0x3d197e=_0x559b10(()=>_0x1aab9b?_0x4b8497['getRenderById'](_0x1aab9b[_0x29c32f(0x121)]):null,[_0x1aab9b,_0x4b8497]),_0x56dd61=_0x559b10(()=>{const _0x44e461=_0x29c32f;var _0x3393bb;return(_0x3393bb=_0x3d197e==null?void 0x0:_0x3d197e[_0x44e461(0x1a7)])==null?null:_0x3393bb;},[_0x3d197e]),{position:_0x1453b3,updatePosition:_0x7212da}=bs({'editingParams':_0x1aab9b,'scene':_0x56dd61,'getShapeTransform':_0xde8e53(()=>{const _0x22692c=_0x29c32f;if(!_0x1aab9b||!_0x56dd61)return null;let _0x4516fe=_0x1aab9b['shapeKey'],_0x3fde0d=_0x56dd61[_0x22692c(0x42c)](_0x4516fe);return _0x3fde0d instanceof ho?{'left':_0x3fde0d[_0x22692c(0x4ee)],'top':_0x3fde0d[_0x22692c(0x1c2)],'width':_0x3fde0d[_0x22692c(0x297)],'height':_0x3fde0d[_0x22692c(0x299)],'angle':_0x3fde0d[_0x22692c(0x494)]}:null;},[_0x1aab9b,_0x56dd61])}),_0x4c5722=_0xde8e53(()=>{const _0x45ab91=_0x29c32f;let _0x2e0dc8=_0x35f3b1[_0x45ab91(0x2a1)];_0x2e0dc8&&(_0x2e0dc8[_0x45ab91(0x1c5)]['left']=_0x1453b3[_0x45ab91(0x4ee)]+'px',_0x2e0dc8[_0x45ab91(0x1c5)]['top']=_0x1453b3[_0x45ab91(0x1c2)]+'px',_0x2e0dc8['style'][_0x45ab91(0x297)]=_0x1453b3[_0x45ab91(0x297)]+'px',_0x2e0dc8['style']['height']=_0x1453b3[_0x45ab91(0x299)]+'px');},[_0x1453b3]);return _0x16da6b(()=>{const _0x235547=_0x29c32f;_0x4c5722(),_0x272fb5==null||_0x272fb5({'width':_0x1453b3[_0x235547(0x297)],'height':_0x1453b3[_0x235547(0x299)],'scaleX':_0x1453b3[_0x235547(0x128)],'scaleY':_0x1453b3['scaleY']});},[_0x1453b3,_0x4c5722,_0x272fb5]),_0x16da6b(()=>{const _0x1ca189=_0x29c32f;if(!_0x56dd61)return;let _0x168aa9=_0x56dd61[_0x1ca189(0x461)](_0x3ac0d1[_0x1ca189(0x21d)]);if(!_0x168aa9)return;let _0x1d8942=_0x168aa9[_0x1ca189(0x459)][_0x1ca189(0x1a3)](()=>{_0x7212da();});return()=>{const _0x55518c=_0x1ca189;_0x1d8942[_0x55518c(0x1cc)]();};},[_0x56dd61,_0x7212da]),_0x16da6b(()=>{const _0x3ed7c5=_0x29c32f;if(!_0x1aab9b||!_0x56dd61)return;let _0x52d6fd=_0x1aab9b[_0x3ed7c5(0x196)],_0x1099a0=_0x56dd61['getObject'](_0x52d6fd);if(_0x1099a0 instanceof ho){let _0x520e52=_0x1099a0[_0x3ed7c5(0x223)][_0x3ed7c5(0x1a3)](()=>{_0x7212da();});return()=>{const _0x2c8a69=_0x3ed7c5;_0x520e52[_0x2c8a69(0x1cc)]();};}},[_0x1aab9b,_0x56dd61,_0x7212da]),_0x296c54(_0x29c32f(0xff),{'ref':_0x35f3b1,'data-u-comp':_0x29c32f(0x4de),'className':_0x29c32f(0x401),'style':_0x559b10(()=>({'left':_0x1453b3[_0x29c32f(0x4ee)],'top':_0x1453b3[_0x29c32f(0x1c2)],'width':_0x1453b3[_0x29c32f(0x297)],'height':_0x1453b3[_0x29c32f(0x299)],'pointerEvents':_0x1aab9b!=null&&_0x1aab9b['visible']?_0x29c32f(0x2a5):'none'}),[_0x1453b3,_0x1aab9b==null?void 0x0:_0x1aab9b[_0x29c32f(0x33a)]]),'children':_0x5005a1});}),Ss=_0x24ba57(()=>{const _0x51ecf4=_0x33398b;let _0x522063=_0x3f8211(_0x1713c6(uo)[_0x51ecf4(0xa5)]),[_0x5ad1af,_0x14fdec]=_0x1fc818({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x4a2d13=_0xde8e53(_0x2cca9c=>{const _0x1686f4=_0x51ecf4;_0x14fdec({'width':_0x2cca9c[_0x1686f4(0x297)],'height':_0x2cca9c[_0x1686f4(0x299)],'scaleX':_0x2cca9c['scaleX'],'scaleY':_0x2cca9c[_0x1686f4(0x536)]});},[]);return _0x522063!=null&&_0x522063[_0x51ecf4(0x33a)]?_0x296c54(xs,{'onPositionUpdate':_0x4a2d13,'children':_0x296c54(_s,{'containerWidth':_0x5ad1af[_0x51ecf4(0x297)],'containerHeight':_0x5ad1af[_0x51ecf4(0x299)],'scaleX':_0x5ad1af[_0x51ecf4(0x128)],'scaleY':_0x5ad1af[_0x51ecf4(0x536)]})}):null;});let Cs=class extends _0x5ca230{constructor(_0x4b3850=rs,_0x4b77fe,_0x4f0bf5,_0x2be4ad,_0x54d4c3){const _0x52fca9=_0x33398b;super(),this[_0x52fca9(0xf7)]=_0x4b3850,this['_injector']=_0x4b77fe,this[_0x52fca9(0x3bb)]=_0x4f0bf5,this[_0x52fca9(0x509)]=_0x2be4ad,this[_0x52fca9(0x2fd)]=_0x54d4c3;let {menu:_0xb2741c,..._0x23bc89}=_0x3bdc97({},rs,this['_config']);_0xb2741c&&this[_0x52fca9(0x509)][_0x52fca9(0x469)](_0x52fca9(0xac),_0xb2741c,{'merge':!0x0}),this[_0x52fca9(0x509)][_0x52fca9(0x469)](_0x52fca9(0x508),_0x23bc89),this[_0x52fca9(0x3bc)]();}[_0x33398b(0xdc)](){const _0x464a8d=_0x33398b;_0x157049(this[_0x464a8d(0x453)],[[es],[vo],[_o],[as],[Uo],[uo]]),this[_0x464a8d(0x3a9)]();}[_0x33398b(0x2b5)](){const _0x5e0a2c=_0x33398b;this[_0x5e0a2c(0x2fd)][_0x5e0a2c(0x2ce)](_0xc4517f[_0x5e0a2c(0x20f)],[as]),this[_0x5e0a2c(0x2fd)][_0x5e0a2c(0x2ce)](_0xc4517f[_0x5e0a2c(0x20f)],[cs]),this['_renderManagerService'][_0x5e0a2c(0x2ce)](_0xc4517f[_0x5e0a2c(0x20f)],[ps]),_0x2ca2b0(this['_injector'],[[es],[vo],[_o],[Uo],[uo]]);}[_0x33398b(0x3bc)](){const _0x2adc9e=_0x33398b;[no,ro,io][_0x2adc9e(0x136)](_0x12a98d=>this[_0x2adc9e(0xaa)](this[_0x2adc9e(0x3bb)][_0x2adc9e(0x303)](_0x12a98d)));}[_0x33398b(0x3a9)](){const _0x57926c=_0x33398b;let _0x33fa6d=this[_0x57926c(0x453)],_0x367d6c=_0x33fa6d[_0x57926c(0x3f8)](_0x4e1606),_0x1fa4b0=_0x33fa6d[_0x57926c(0x3f8)](_0x11b98c);this[_0x57926c(0xaa)](_0x367d6c[_0x57926c(0x44d)](_0x57926c(0x1e9),Ss)),this[_0x57926c(0xaa)](_0x1fa4b0['registerComponent'](_0x268b5f[_0x57926c(0x101)],()=>_0x20dcd1(Ss,_0x33fa6d)));}};Z(Cs,_0x33398b(0x2a4),_0xc4517f[_0x33398b(0x20f)]),Z(Cs,_0x33398b(0x17f),_0x33398b(0x31d)),Z(Cs,_0x33398b(0x1b0),ts),Z(Cs,_0x33398b(0x48a),ns),Cs=go([_0x3a01bd(_0x414a6e,_0xf1ceb2,_0x352251),$(0x1,_0x7cac4f(_0x1ae4f1)),$(0x2,_0x557e3b),$(0x3,_0x50f1ff),$(0x4,_0x11e46a)],Cs);export{ro as CloseDocShapeFormatPanelOperation,es as DocsShapeUIController,no as MenuInsertShapeCommand,io as OpenDocShapeFormatPanelOperation,Cs as UniverDocsShapeUIPlugin};