@univerjs-pro/sheets-shape-ui 0.25.0 → 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 +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5a7f20=_0x2c06;(function(_0x187766,_0x42b41a){const _0x419989=_0x2c06,_0x355d10=_0x187766();while(!![]){try{const _0x35991f=-parseInt(_0x419989(0x560))/0x1+parseInt(_0x419989(0x5aa))/0x2*(-parseInt(_0x419989(0x60a))/0x3)+parseInt(_0x419989(0x297))/0x4+-parseInt(_0x419989(0x464))/0x5+parseInt(_0x419989(0x305))/0x6*(-parseInt(_0x419989(0x272))/0x7)+parseInt(_0x419989(0x574))/0x8+parseInt(_0x419989(0x3dd))/0x9*(parseInt(_0x419989(0x34e))/0xa);if(_0x35991f===_0x42b41a)break;else _0x355d10['push'](_0x355d10['shift']());}catch(_0x3f79bc){_0x355d10['push'](_0x355d10['shift']());}}}(_0x5354,0x4dd04));import{InsertShapeCommand as _0x5a3ad6,InsertSheetsShapeMutation as _0x265a48,RemoveSheetsShapeMutation as _0x1afa91,SetShapeDrawingDataCommand as _0x30ee7d,SetSheetsShapeRotateCommand as _0x102a47,SetSheetsShapeTextVerticalToggleCommand as _0x1acfd0,SheetsShapeService as _0xc9428c,ToggleSheetsShapeFlipCommand as _0x2e47d3,UniverSheetsShapePlugin as _0x4ac018,UpdateConnectorRelationCommand as _0x9e59c9,UpdateLineShapeResizeCommand as _0x110f42,UpdateSheetsShapeDataMutation as _0x1b6401}from'@univerjs-pro/sheets-shape';import{CommandType as _0x90c7cf,DependentOn as _0xc07bae,Disposable as _0x185401,DocumentDataModel as _0x2d9804,DrawingTypeEnum as _0x5d8611,FOCUSING_COMMON_DRAWINGS as _0x180a18,FOCUSING_PANEL_EDITOR as _0x1e0e6e,FOCUSING_SHAPE_TEXT_EDITOR as _0x414a62,HorizontalAlign as _0xbfeb53,ICommandService as _0x2e069e,IConfigService as _0x1d4840,IContextService as _0x2d6196,IURLImageService as _0x863706,IUndoRedoService as _0x478971,IUniverInstanceService as _0x1005f5,Inject as _0x1e77ba,Injector as _0x54d8ad,LocaleService as _0x2e65fd,Plugin as _0x3a89bd,ThemeService as _0x52db0,Tools as _0x2c82c8,UniverInstanceType as _0x162ef7,VerticalAlign as _0x583d52,WrapStrategy as _0x491404,createInternalEditorID as _0x2ee237,generateRandomId as _0x1ecc78,merge as _0x4738e3,toDisposable as _0x162f95,touchDependencies as _0x249b7b}from'@univerjs/core';import{CopySheetCommand as _0xd48fc4,RemoveSheetCommand as _0x2f1184,SheetInterceptorService as _0x345a24,SheetPermissionCheckController as _0x1a30ea,SheetSkeletonService as _0x5294fa,SheetsSelectionsService as _0x3e5ae1,WorkbookEditablePermission as _0x34a758,WorksheetEditPermission as _0x343b12,attachRangeWithCoord as _0xc6d9d5,discreteRangeToRange as _0x5d3fa2,getSheetCommandTarget as _0x4ed56f}from'@univerjs/sheets';import{DrawingApplyType as _0x25351c,ISheetDrawingService as _0x1aa5fa,RemoveSheetDrawingCommand as _0x1941fd,SetDrawingApplyMutation as _0x423692,transformToDrawingPosition as _0x222d67}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x1bbae1,EMPTY as _0x502183,Observable as _0x2a4797,map as _0x3c7675,of as _0x570989,startWith as _0x104f12,switchMap as _0x1e398}from'rxjs';import{IDrawingManagerService as _0x2ac48c,IImageIoService as _0x5e714a,getDrawingShapeKeyByDrawingSearch as _0x46e3e9,getImageSize as _0x1d0b19}from'@univerjs/drawing';import{CURSOR_TYPE as _0x1b0deb,Circle as _0x574c0f,DRAWING_OBJECT_LAYER_INDEX as _0x3929c9,DocumentSkeleton as _0x327840,DocumentViewModel as _0x7f0de6,Documents as _0x58a7a8,IRenderManagerService as _0x43fdcf,Image as _0x4b0b23,RENDER_CLASS_TYPE as _0x558a8a,SHEET_VIEWPORT_KEY as _0x443ad0,Shape as _0xe1d4df,Transform as _0x155f20,VERTICAL_ROTATE_ANGLE as _0x3d7355,Vector2 as _0x140ff4}from'@univerjs/engine-render';import{AlignOperationCommand as _0x4afefb,BreakLineCommand as _0x102157,IEditorService as _0x2d2c99,ResetInlineFormatTextBackgroundColorCommand as _0x18ca3c,SetInlineFormatTextBackgroundColorCommand as _0x822770,useEditor as _0x534063,useIsFocusing as _0x53c7cc,useKeyboardEvent as _0x43c3cc,useLeftAndRightArrow as _0xb89232}from'@univerjs/docs-ui';import{MoreDownIcon as _0x3e4f53,PaintBucketDoubleIcon as _0x2507f7,ShapeAccentBorderCallout1Icon as _0x49c694,ShapeAccentBorderCallout2Icon as _0x24217b,ShapeAccentBorderCallout3Icon as _0x3ebc4b,ShapeAccentCallout1Icon as _0xa45fc7,ShapeAccentCallout2Icon as _0x3adfc8,ShapeAccentCallout3Icon as _0x1c498c,ShapeActionButtonBackPreviousIcon as _0x5d1d99,ShapeActionButtonBeginningIcon as _0x168e98,ShapeActionButtonBlankIcon as _0x459144,ShapeActionButtonDocumentIcon as _0x521819,ShapeActionButtonEndIcon as _0x409cbb,ShapeActionButtonForwardNextIcon as _0x4faf12,ShapeActionButtonHelpIcon as _0x5260a1,ShapeActionButtonHomeIcon as _0x15766d,ShapeActionButtonInformationIcon as _0x329996,ShapeActionButtonMovieIcon as _0x50ab91,ShapeActionButtonReturnIcon as _0x57d13d,ShapeActionButtonSoundIcon as _0x41a356,ShapeArcIcon as _0x3f87c1,ShapeBentArrowIcon as _0x33e81e,ShapeBentConnector3Arrow1Icon as _0x432d2c,ShapeBentConnector3Arrow2Icon as _0x51eeb9,ShapeBentConnector3Icon as _0x333014,ShapeBentUpArrowIcon as _0x3eb7c6,ShapeBevelIcon as _0x3f073f,ShapeBlockArcIcon as _0xcb7fe5,ShapeBorderCallout1Icon as _0x3ac5d2,ShapeBorderCallout2Icon as _0x354cf7,ShapeBorderCallout3Icon as _0x51b46d,ShapeBracePairIcon as _0x4a6799,ShapeBracketPairIcon as _0xfd1d85,ShapeCallout1Icon as _0x26c766,ShapeCallout2Icon as _0x51bf9e,ShapeCallout3Icon as _0x3193c4,ShapeCanIcon as _0x23515e,ShapeChartPlusIcon as _0x3ffa6a,ShapeChartStarIcon as _0x219e7e,ShapeChartXIcon as _0x4dddd6,ShapeChevronIcon as _0x153fb4,ShapeChordIcon as _0x452356,ShapeCircularArrowIcon as _0x306544,ShapeCloudCalloutIcon as _0x10c388,ShapeCloudIcon as _0x360ebe,ShapeCornerIcon as _0x422e98,ShapeCornerTabsIcon as _0x1fe2a2,ShapeCubeIcon as _0xc014b1,ShapeCurvedConnector3Arrow1Icon as _0x156d69,ShapeCurvedConnector3Arrow2Icon as _0x368a2e,ShapeCurvedConnector3Icon as _0x2758a3,ShapeCurvedDownArrowIcon as _0x5f2714,ShapeCurvedLeftArrowIcon as _0x166686,ShapeCurvedRightArrowIcon as _0x453bca,ShapeCurvedUpArrowIcon as _0x92711a,ShapeDecagonIcon as _0x275b6d,ShapeDiagStripeIcon as _0x195305,ShapeDiamondIcon as _0x51a238,ShapeDodecagonIcon as _0x43a7f7,ShapeDonutIcon as _0x40810c,ShapeDoubleWaveIcon as _0x7f1196,ShapeDownArrowCalloutIcon as _0x4a2f6c,ShapeDownArrowIcon as _0x213c9c,ShapeEllipseIcon as _0x1c5a25,ShapeEllipseRibbon2Icon as _0x3c2f85,ShapeEllipseRibbonIcon as _0x58077d,ShapeFlowChartAlternateProcessIcon as _0x21350f,ShapeFlowChartCollateIcon as _0x14c27a,ShapeFlowChartConnectorIcon as _0x4c5a39,ShapeFlowChartDecisionIcon as _0x436148,ShapeFlowChartDelayIcon as _0x25e7a9,ShapeFlowChartDisplayIcon as _0x56da35,ShapeFlowChartDocumentIcon as _0x439f1c,ShapeFlowChartExtractIcon as _0x34da00,ShapeFlowChartInputOutputIcon as _0x4dd2f4,ShapeFlowChartInternalStorageIcon as _0x21bcac,ShapeFlowChartMagneticDiskIcon as _0x4ac4ef,ShapeFlowChartMagneticDrumIcon as _0x46a58e,ShapeFlowChartMagneticTapeIcon as _0x2fea43,ShapeFlowChartManualInputIcon as _0x40bab9,ShapeFlowChartManualOperationIcon as _0x2ae98e,ShapeFlowChartMergeIcon as _0x79620e,ShapeFlowChartMultidocumentIcon as _0x40980d,ShapeFlowChartOfflineStorageIcon as _0xedb022,ShapeFlowChartOffpageConnectorIcon as _0x496318,ShapeFlowChartOnlineStorageIcon as _0x4449dc,ShapeFlowChartOrIcon as _0x2c653a,ShapeFlowChartPredefinedProcessIcon as _0x16dc1a,ShapeFlowChartPreparationIcon as _0x483bb5,ShapeFlowChartProcessIcon as _0x4c747b,ShapeFlowChartPunchedCardIcon as _0x278b80,ShapeFlowChartPunchedTapeIcon as _0x5ce091,ShapeFlowChartSortIcon as _0x5ca430,ShapeFlowChartSummingJunctionIcon as _0x5056f8,ShapeFlowChartTerminatorIcon as _0x26dfeb,ShapeFolderCornerIcon as _0xff17da,ShapeFrameIcon as _0x4a6029,ShapeFunnelIcon as _0x492f0a,ShapeGear6Icon as _0x46344f,ShapeGear9Icon as _0x16ad45,ShapeHalfFrameIcon as _0x2868e1,ShapeHeartIcon as _0x172d7e,ShapeHeptagonIcon as _0x36ef8a,ShapeHexagonIcon as _0x56714b,ShapeHomePlateIcon as _0x59ae39,ShapeHorizontalScrollIcon as _0x140d52,ShapeIcon as _0x443271,ShapeIrregularSeal1Icon as _0x19a668,ShapeIrregularSeal2Icon as _0x3ebe05,ShapeLeftArrowCalloutIcon as _0x18e07a,ShapeLeftArrowIcon as _0x3d3b38,ShapeLeftBraceIcon as _0x299ab5,ShapeLeftBracketIcon as _0x351d9e,ShapeLeftCircularArrowIcon as _0x1d3fd1,ShapeLeftRightArrowCalloutIcon as _0x336d75,ShapeLeftRightArrowIcon as _0x188829,ShapeLeftRightCircularArrowIcon as _0x2ad4d3,ShapeLeftRightRibbonIcon as _0x39ee42,ShapeLeftRightUpArrowIcon as _0x34a3ff,ShapeLeftUpArrowIcon as _0x3b41cc,ShapeLightningBoltIcon as _0x16fcd2,ShapeLineIcon as _0x28c21d,ShapeLineInvIcon as _0x2562e0,ShapeMathDivideIcon as _0x40aa8b,ShapeMathEqualIcon as _0x1d854d,ShapeMathMinusIcon as _0x1b3427,ShapeMathMultiplyIcon as _0x2ee12d,ShapeMathNotEqualIcon as _0x59ccb4,ShapeMathPlusIcon as _0x2fbc6d,ShapeMoonIcon as _0x1f98d4,ShapeNoSmokingIcon as _0x143692,ShapeNonIsoscelesTrapezoidIcon as _0x9d3655,ShapeNotchedRightArrowIcon as _0x2a3ff9,ShapeOctagonIcon as _0xae140a,ShapeParallelogramIcon as _0x4fa0fb,ShapePentagonIcon as _0x285b70,ShapePieIcon as _0x1eeecc,ShapePieWedgeIcon as _0x3a5c3d,ShapePlaqueIcon as _0x1a95ed,ShapePlaqueTabsIcon as _0x5d1d0f,ShapePlusIcon as _0xb92428,ShapeQuadArrowCalloutIcon as _0x25409b,ShapeQuadArrowIcon as _0x4bf1ee,ShapeRectIcon as _0x53c07e,ShapeRectTextboxHorizontalIcon as _0x4fa9ff,ShapeRectTextboxVerticalIcon as _0x290b6,ShapeRibbon2Icon as _0xb08b96,ShapeRibbonIcon as _0x2998e8,ShapeRightArrowCalloutIcon as _0x1d983e,ShapeRightArrowIcon as _0x31f326,ShapeRightBraceIcon as _0x49539f,ShapeRightBracketIcon as _0x30b4cd,ShapeRound1RectIcon as _0x2f33e2,ShapeRound2DiagRectIcon as _0x8f39a3,ShapeRound2SameRectIcon as _0x4a566a,ShapeRoundRectIcon as _0x12ae7a,ShapeRtTriangleIcon as _0x4a73aa,ShapeSmileyFaceIcon as _0x288ae9,ShapeSnip1RectIcon as _0x30648b,ShapeSnip2DiagRectIcon as _0x4998a6,ShapeSnip2SameRectIcon as _0x3508cd,ShapeSnipRoundRectIcon as _0x386b6c,ShapeSquareTabsIcon as _0x26972e,ShapeStar10Icon as _0x3765a8,ShapeStar12Icon as _0x5c0c63,ShapeStar16Icon as _0x38791b,ShapeStar24Icon as _0x524247,ShapeStar32Icon as _0xa04ca0,ShapeStar4Icon as _0x19e8f2,ShapeStar5Icon as _0x35ec0c,ShapeStar6Icon as _0x19b7a3,ShapeStar7Icon as _0x361fcd,ShapeStar8Icon as _0x23a3fc,ShapeStraightConnector1Icon as _0x18620e,ShapeStraightConnector2Icon as _0x3c51e9,ShapeStripedRightArrowIcon as _0x2dcd10,ShapeSunIcon as _0x123440,ShapeSwooshArrowIcon as _0x21e466,ShapeTeardropIcon as _0x2675e5,ShapeTrapezoidIcon as _0xb9f4c0,ShapeTriangleIcon as _0x3666e8,ShapeUpArrowCalloutIcon as _0x4a0541,ShapeUpArrowIcon as _0x58b05,ShapeUpDownArrowCalloutIcon as _0x26cefa,ShapeUpDownArrowIcon as _0x42201a,ShapeUturnArrowIcon as _0xa93d64,ShapeVerticalScrollIcon as _0x3cccba,ShapeWaveIcon as _0x5de847,ShapeWedgeEllipseCalloutIcon as _0x58469f,ShapeWedgeRectCalloutIcon as _0x192b27,ShapeWedgeRoundRectCalloutIcon as _0x11ac0b}from'@univerjs/icons';import{COPY_TYPE as _0x1be5d9,ISheetClipboardService as _0x291ef0,PREDEFINED_HOOK_NAME as _0x2c01a3,SheetCanvasPopManagerService as _0x292339,SheetScrollManagerService as _0x13c1a9,SheetSkeletonManagerService as _0x4e2ed9,deriveStateFromActiveSheet$ as _0x3ff24c,getCurrentRangeDisable$ as _0x4e5e72,getViewportByCell as _0x5cde96}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x33268d,ComponentManager as _0x5b38e3,IMenuManagerService as _0x5ce143,ISidebarService as _0x3f3778,KeyCode as _0x1a9450,MenuItemType as _0x24710b,RibbonInsertGroup as _0x20bf3c,RibbonPosition as _0x562207,RibbonStartGroup as _0x388c9e,getMenuHiddenObservable as _0x99fa14,useDependency as _0x5bcd39,useObservable as _0x4c8d63}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x22c5d0,ImageFillModeEnum as _0x158edf,ImageSourceTypeEnum as _0x24f6a5,ShapeArrowSizeEnum as _0x193749,ShapeArrowTypeEnum as _0x285f09,ShapeDefaultConfig as _0x9a1b85,ShapeFillEnum as _0x1a4c7e,ShapeGradientTypeEnum as _0x3feb4e,ShapeLineCapEnum as _0x11f170,ShapeLineDashEnum as _0x140eee,ShapeLineJoinEnum as _0x46ca3e,ShapeLineTypeEnum as _0xbaf4f3,ShapeModel as _0x198c5a,ShapeRenderModeEnum as _0x3ad569,ShapeSketchTypeEnum as _0x3e9582,ShapeTypeEnum as _0x5c87c5,computeConnectorRouteLayout as _0x1498f5,getBasicShapeRotateBound as _0x137faa,isConnectorShape as _0x39df67,isCurvedConnectorShape as _0x594cf4,routeConnectorLineShape as _0x374a50}from'@univerjs-pro/engine-shape';import{Accordion as _0xa8f5b0,Button as _0x466dea,Checkbox as _0x2353cb,ColorPicker as _0x21f13b,Dropdown as _0x5c8dc3,GradientColorPicker as _0x2be8f6,InputNumber as _0x1f6580,Radio as _0xd58fe9,RadioGroup as _0x2ecbb7,Select as _0x30c735,clsx as _0x45e4e0}from'@univerjs/design';import{memo as _0xc22a53,useCallback as _0x79c09a,useEffect as _0x45aacf,useMemo as _0x5652b4,useRef as _0xd3b7d0,useState as _0x39af17}from'react';import{DrawingCommonPanel as _0x1e005d,DrawingImageClipService as _0x25daf2,DrawingRenderService as _0x3298dc,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x124c3f,getCurrentUnitInfo as _0x285cd7,insertGroupObject as _0x240a96}from'@univerjs/drawing-ui';import{Fragment as _0x7b339f,jsx as _0x20f703,jsxs as _0xb4dd11}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x498cce,SheetsDrawingGroupCopyPasteController as _0x2bf67b,UniverSheetsDrawingUIPlugin as _0x2073ff}from'@univerjs/sheets-drawing-ui';import{DocSkeletonManagerService as _0x2abcb8,RichTextEditingMutation as _0x4d10e0}from'@univerjs/docs';function La(_0x1b44b5){'@babel/helpers - typeof';const _0x58d7c3=_0x2c06;return La=typeof Symbol==_0x58d7c3(0x4b8)&&typeof Symbol[_0x58d7c3(0x363)]==_0x58d7c3(0x31d)?function(_0x5c34be){return typeof _0x5c34be;}:function(_0x3349a3){const _0x3b5bc7=_0x58d7c3;return _0x3349a3&&typeof Symbol=='function'&&_0x3349a3['constructor']===Symbol&&_0x3349a3!==Symbol[_0x3b5bc7(0x3fb)]?'symbol':typeof _0x3349a3;},La(_0x1b44b5);}function Ra(_0x367922,_0xd2b5c4){const _0x9c4775=_0x2c06;if(La(_0x367922)!=_0x9c4775(0x602)||!_0x367922)return _0x367922;var _0x26076c=_0x367922[Symbol[_0x9c4775(0x2fd)]];if(_0x26076c!==void 0x0){var _0x4745f9=_0x26076c[_0x9c4775(0x58b)](_0x367922,_0xd2b5c4||'default');if(La(_0x4745f9)!=_0x9c4775(0x602))return _0x4745f9;throw TypeError(_0x9c4775(0x28c));}return(_0xd2b5c4===_0x9c4775(0x612)?String:Number)(_0x367922);}function za(_0x239ed5){const _0x34af33=_0x2c06;var _0x162a64=Ra(_0x239ed5,_0x34af33(0x612));return La(_0x162a64)==_0x34af33(0x31d)?_0x162a64:_0x162a64+'';}function Y(_0x3e4f9e,_0x409b5a,_0x2753a8){return(_0x409b5a=za(_0x409b5a))in _0x3e4f9e?Object['defineProperty'](_0x3e4f9e,_0x409b5a,{'value':_0x2753a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e4f9e[_0x409b5a]=_0x2753a8,_0x3e4f9e;}var X=class extends _0x185401{constructor(..._0x2c1a29){const _0x491989=_0x2c06;super(..._0x2c1a29),Y(this,_0x491989(0x630),new _0x1bbae1(null)),Y(this,_0x491989(0x3bf),this[_0x491989(0x630)][_0x491989(0x547)]()),Y(this,_0x491989(0x21b),new _0x1bbae1(!0x1)),Y(this,_0x491989(0x654),this['_onSavingEditorData$'][_0x491989(0x547)]());}['dispose'](){const _0x58008b=_0x2c06;this[_0x58008b(0x630)]['next'](null),this['_editingParams$'][_0x58008b(0x522)](),this[_0x58008b(0x21b)]['next'](!0x1),this[_0x58008b(0x21b)][_0x58008b(0x522)](),super[_0x58008b(0x4b5)]();}['setEditing'](_0x1da305){const _0x3193c5=_0x2c06;this['_editingParams$']['next'](_0x1da305),_0x1da305==null&&this[_0x3193c5(0x21b)]['next'](!0x1);}['setOnSavingEditorData'](_0x26a1ef){const _0x45ac25=_0x2c06;this[_0x45ac25(0x21b)][_0x45ac25(0x49b)](_0x26a1ef);}['getEditing'](){const _0xe6ebc=_0x2c06;return this['_editingParams$'][_0xe6ebc(0x27a)]();}};function Ba(_0x28bb99,_0x3f5c9b){const _0x444d07=_0x2c06;let _0x2e3a24={};for(let _0x5a4274 of Object['keys'](_0x3f5c9b)){let _0x3284f5=_0x3f5c9b[_0x5a4274],_0x5dfefa=_0x28bb99[_0x5a4274];if(_0x3284f5!==void 0x0){if(_0x5dfefa===void 0x0){_0x2e3a24[_0x5a4274]=void 0x0;continue;}typeof _0x3284f5=='object'&&_0x3284f5&&!Array[_0x444d07(0x4be)](_0x3284f5)&&typeof _0x5dfefa==_0x444d07(0x602)&&_0x5dfefa&&!Array[_0x444d07(0x4be)](_0x5dfefa)?_0x2e3a24[_0x5a4274]=Ba(_0x5dfefa,_0x3284f5):_0x2e3a24[_0x5a4274]=_0x5dfefa;}}return _0x2e3a24;}const Va={'type':_0x90c7cf['COMMAND'],'id':_0x5a7f20(0x495),'handler':(_0x164a27,_0x194287)=>{const _0x312ed0=_0x5a7f20;let _0x479219=_0x164a27[_0x312ed0(0x2f7)](_0xc9428c),{unitId:_0x423530,subUnitId:_0x3206e1,shapeType:_0x3c2410,shapeId:_0x5b048f,shapeData:_0x4ec7f9,oldShapeJSON:_0x53ff5e}=_0x194287;if(!_0x479219[_0x312ed0(0x2dc)](_0x423530,_0x3206e1,_0x5b048f))return!0x1;let _0x3c4c1e=_0x164a27['get'](_0x2e069e),_0x3295d4=_0x164a27[_0x312ed0(0x2f7)](_0x478971),{oldShapeType:_0x2593a1,oldShapeData:_0x3a8a08={}}=_0x53ff5e,_0x27b46b=Ba(_0x3a8a08,_0x4ec7f9||{}),_0x360815={'id':_0x1b6401['id'],'params':{'unitId':_0x423530,'subUnitId':_0x3206e1,'shapeId':_0x5b048f,'shapeType':_0x3c2410,'shapeData':_0x4ec7f9}},_0x24e790={'id':_0x1b6401['id'],'params':{'unitId':_0x423530,'subUnitId':_0x3206e1,'shapeId':_0x5b048f,'shapeType':_0x2593a1,'shapeData':_0x27b46b}};return _0x3c4c1e['syncExecuteCommand'](_0x360815['id'],_0x360815['params'])?(_0x3295d4[_0x312ed0(0x41d)]({'unitID':_0x423530,'undoMutations':[_0x24e790],'redoMutations':[_0x360815]}),!0x0):!0x1;}},Ha={'type':_0x90c7cf['COMMAND'],'id':'sheet.command.set-shape-text-horizontal-align','handler':async(_0x3d0a38,_0x5a45ec)=>{const _0x5c0a0b=_0x5a7f20;var _0xe1503f;if(!_0x4ed56f(_0x3d0a38[_0x5c0a0b(0x2f7)](_0x1005f5)))return!0x1;let _0x1e7e3d=_0x3d0a38[_0x5c0a0b(0x2f7)](_0x1aa5fa)[_0x5c0a0b(0x43b)]()[_0x5c0a0b(0x20d)](_0x326bc8=>_0x326bc8[_0x5c0a0b(0x526)]===_0x5d8611[_0x5c0a0b(0x415)]);if(_0x1e7e3d[_0x5c0a0b(0x3d6)]!==0x1)return!0x1;let _0x355c72=_0x3d0a38[_0x5c0a0b(0x2f7)](X)[_0x5c0a0b(0x5e0)](),_0xc3025b=(_0x355c72==null?void 0x0:_0x355c72[_0x5c0a0b(0x666)])||_0x1e7e3d[0x0]['unitId'],_0x34dffa=(_0x355c72==null?void 0x0:_0x355c72[_0x5c0a0b(0x279)])||_0x1e7e3d[0x0][_0x5c0a0b(0x279)],_0x176cc7=(_0x355c72==null?void 0x0:_0x355c72['shapeId'])||_0x1e7e3d[0x0][_0x5c0a0b(0x1fb)],_0x3c25f8=_0x3d0a38['get'](_0xc9428c)[_0x5c0a0b(0x2dc)](_0xc3025b,_0x34dffa,_0x176cc7);if(!_0x3c25f8)return!0x1;let _0x96e4ab=_0x3c25f8[_0x5c0a0b(0x570)]();if(!_0x96e4ab||!(_0x5c0a0b(0x3e1)in _0x96e4ab))return!0x1;let _0x2c3725=_0x3d0a38[_0x5c0a0b(0x2f7)](_0x2e069e),{value:_0x401bd9}=_0x5a45ec,_0x434d6e=_0x3c25f8[_0x5c0a0b(0x36f)](),_0x489cef=_0x3c25f8[_0x5c0a0b(0x5d3)](),_0x21aef4={..._0x96e4ab[_0x5c0a0b(0x3e1)],'ha':_0x401bd9};return await _0x2c3725[_0x5c0a0b(0x4eb)](Va['id'],{'unitId':_0xc3025b,'subUnitId':_0x34dffa,'shapeId':_0x176cc7,'shapeType':_0x434d6e,'shapeData':{'shapeText':{'isHorizontal':(_0xe1503f=_0x96e4ab['isHorizontal'])==null?!0x0:_0xe1503f,'dataModel':_0x21aef4}},'oldShapeJSON':{'oldShapeType':_0x434d6e,'oldShapeData':_0x489cef}});}},Ua={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x27f),'handler':async(_0x5ee748,_0x225fc4)=>{const _0x454010=_0x5a7f20;var _0x136fa6;if(!_0x225fc4)return!0x1;let {value:_0x3383aa}=_0x225fc4,_0x2e9905=_0x5ee748[_0x454010(0x2f7)](_0x2e069e),_0xdfe206=_0x5ee748['get'](X),_0x9d7538=_0x5ee748[_0x454010(0x2f7)](_0xc9428c),_0x2692e5=_0x5ee748[_0x454010(0x2f7)](_0x43fdcf),_0x102c86=_0xdfe206['getEditing']();if(!_0x102c86)return!0x1;let {unitId:_0x3ebf4c,subUnitId:_0x5c5651,shapeId:_0x228bb0}=_0x102c86,_0x113859=_0x9d7538[_0x454010(0x2dc)](_0x3ebf4c,_0x5c5651,_0x228bb0);if(!_0x113859)return!0x1;let _0x4422a3=_0x113859['getShapeTextData']();if(!_0x4422a3||!('dataModel'in _0x4422a3))return!0x1;let _0x151cfd=_0x4422a3[_0x454010(0x3e1)];if(!_0x151cfd)return!0x1;let _0x5c83e7={..._0x151cfd,'fs':_0x3383aa},_0x4e2390=await _0x2e9905['executeCommand'](Va['id'],{'unitId':_0x3ebf4c,'subUnitId':_0x5c5651,'shapeId':_0x228bb0,'shapeData':{'shapeText':{'isHorizontal':(_0x136fa6=_0x4422a3[_0x454010(0x3da)])==null?!0x0:_0x136fa6,'dataModel':_0x5c83e7}}});if(_0x4e2390){let _0x208ac2=_0x2692e5[_0x454010(0x36a)](_0x3ebf4c);if(_0x208ac2!=null&&_0x208ac2[_0x454010(0x2a0)]){let _0x4cad1c=_0x46e3e9({'unitId':_0x3ebf4c,'subUnitId':_0x5c5651,'drawingId':_0x228bb0}),_0x54f43d=_0x208ac2[_0x454010(0x2a0)]['getObjectIncludeInGroup'](_0x4cad1c);_0x54f43d&&_0x54f43d['makeDirty'](!0x0);}}return _0x4e2390;}},Wa={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x355),'handler':async _0x4b2117=>{const _0x5867d3=_0x5a7f20;var _0x28f4e7;let _0x38cb34=_0x4b2117[_0x5867d3(0x2f7)](X),_0x93bd3d=_0x4b2117[_0x5867d3(0x2f7)](_0xc9428c),_0x6e356b=_0x4b2117[_0x5867d3(0x2f7)](_0x2e069e),_0x83586c=_0x38cb34[_0x5867d3(0x5e0)]();if(!_0x83586c)return!0x1;let {unitId:_0x4ac667,subUnitId:_0x2fffb0,shapeId:_0x19b5c9}=_0x83586c,_0x8fee08=_0x93bd3d['getShapeModel'](_0x4ac667,_0x2fffb0,_0x19b5c9);if(!_0x8fee08)return!0x1;let _0xe109c6=_0x8fee08[_0x5867d3(0x570)]();if(!_0xe109c6||!(_0x5867d3(0x3e1)in _0xe109c6))return!0x1;let _0x3316ca=_0xe109c6[_0x5867d3(0x3e1)],_0x4a902f=(_0x28f4e7=_0x3316ca==null?void 0x0:_0x3316ca['fs'])==null?0xe:_0x28f4e7,_0x27a372=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x250a99=_0x4a902f,_0x41e900=_0x27a372[_0x5867d3(0x440)](_0x4a902f);return _0x41e900!==-0x1&&_0x41e900<_0x27a372[_0x5867d3(0x3d6)]-0x1?_0x250a99=_0x27a372[_0x41e900+0x1]:_0x41e900===-0x1&&(_0x250a99=Math[_0x5867d3(0x55e)](_0x4a902f)+0x1),_0x6e356b[_0x5867d3(0x4eb)](Ua['id'],{'value':_0x250a99});}},Ga={'type':_0x90c7cf['COMMAND'],'id':_0x5a7f20(0x501),'handler':async _0xe609e9=>{const _0x58458e=_0x5a7f20;var _0x2aca7d;let _0x479592=_0xe609e9[_0x58458e(0x2f7)](X),_0x354e38=_0xe609e9[_0x58458e(0x2f7)](_0xc9428c),_0xa1a261=_0xe609e9[_0x58458e(0x2f7)](_0x2e069e),_0xe2aa4b=_0x479592['getEditing']();if(!_0xe2aa4b)return!0x1;let {unitId:_0x4887df,subUnitId:_0x23aa82,shapeId:_0x4583f7}=_0xe2aa4b,_0x30b5d0=_0x354e38[_0x58458e(0x2dc)](_0x4887df,_0x23aa82,_0x4583f7);if(!_0x30b5d0)return!0x1;let _0x78de2=_0x30b5d0[_0x58458e(0x570)]();if(!_0x78de2||!(_0x58458e(0x3e1)in _0x78de2))return!0x1;let _0x53ef52=_0x78de2[_0x58458e(0x3e1)],_0x50fb96=(_0x2aca7d=_0x53ef52==null?void 0x0:_0x53ef52['fs'])==null?0xe:_0x2aca7d,_0x522fd8=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x1be421=_0x50fb96,_0x4ba6e6=_0x522fd8[_0x58458e(0x440)](_0x50fb96);return _0x4ba6e6!==-0x1&&_0x4ba6e6>0x0?_0x1be421=_0x522fd8[_0x4ba6e6-0x1]:_0x4ba6e6===-0x1&&(_0x1be421=Math[_0x58458e(0x55e)](_0x50fb96)-0x1),_0x1be421<0x1&&(_0x1be421=0x1),_0xa1a261[_0x58458e(0x4eb)](Ua['id'],{'value':_0x1be421});}},Ka={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':'sheet.command.set-shape-text-vertical-align','handler':async(_0xba0ce,_0x2a938f)=>{const _0x47f38f=_0x5a7f20;var _0x3762bb;if(!_0x4ed56f(_0xba0ce['get'](_0x1005f5)))return!0x1;let _0x49050e=_0xba0ce[_0x47f38f(0x2f7)](_0x1aa5fa)[_0x47f38f(0x43b)]()[_0x47f38f(0x20d)](_0x22a9c0=>_0x22a9c0[_0x47f38f(0x526)]===_0x5d8611['DRAWING_SHAPE']);if(_0x49050e[_0x47f38f(0x3d6)]!==0x1)return!0x1;let _0x553621=_0xba0ce[_0x47f38f(0x2f7)](X)[_0x47f38f(0x5e0)](),_0x406301=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x666)])||_0x49050e[0x0][_0x47f38f(0x666)],_0x3dc4fc=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x279)])||_0x49050e[0x0][_0x47f38f(0x279)],_0x26cfac=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x384)])||_0x49050e[0x0][_0x47f38f(0x1fb)],_0x570a13=_0xba0ce[_0x47f38f(0x2f7)](_0xc9428c)['getShapeModel'](_0x406301,_0x3dc4fc,_0x26cfac);if(!_0x570a13)return!0x1;let _0xfaccc6=_0x570a13[_0x47f38f(0x570)]();if(!_0xfaccc6||!(_0x47f38f(0x3e1)in _0xfaccc6))return!0x1;let _0x5b8e1c=_0xba0ce['get'](_0x2e069e),{value:_0x207dae}=_0x2a938f,_0x5348f4=_0x570a13[_0x47f38f(0x36f)](),_0x3713cf=_0x570a13[_0x47f38f(0x5d3)](),_0x2c72cc={..._0xfaccc6['dataModel'],'va':_0x207dae};return await _0x5b8e1c[_0x47f38f(0x4eb)](Va['id'],{'unitId':_0x406301,'subUnitId':_0x3dc4fc,'shapeId':_0x26cfac,'shapeType':_0x5348f4,'shapeData':{'shapeText':{'isHorizontal':(_0x3762bb=_0xfaccc6[_0x47f38f(0x3da)])==null?!0x0:_0x3762bb,'dataModel':_0x2c72cc}},'oldShapeJSON':{'oldShapeType':_0x5348f4,'oldShapeData':_0x3713cf}});}},qa={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x28d),'handler':(_0x157389,_0x2c749f)=>{const _0x199164=_0x5a7f20;if(!_0x2c749f)return!0x1;let {value:_0x30094b}=_0x2c749f;return _0x157389[_0x199164(0x2f7)](_0x2e069e)[_0x199164(0x67d)](_0x4afefb['id'],{'alignType':_0x30094b});}},Ja={'type':_0x90c7cf['OPERATION'],'id':_0x5a7f20(0x587),'handler'(){return!0x0;}},Ya={'type':_0x90c7cf[_0x5a7f20(0x1ce)],'id':_0x5a7f20(0x47d),'handler'(){return!0x0;}},Xa=_0x5a7f20(0x28a),Za=_0x2ee237(_0x5a7f20(0x4f5));function Z(_0x1d9c55,_0x6ecabf,_0x2178a9,_0x153018,_0x5539be,_0x391157){const _0x12f502=_0x5a7f20;let _0x453e11={'unitId':_0x6ecabf,'subUnitId':_0x2178a9,'shapeId':_0x153018,'shapeData':_0x391157,'oldShapeJSON':_0x5539be};return _0x1d9c55[_0x12f502(0x4eb)](Va['id'],_0x453e11);}function Qa(_0x1d6806,_0x58445c,_0x1fb174,_0x1de526,_0x5b162e,_0x3d8c26){const _0x2a9a4a=_0x5a7f20;let _0x38f4de={'unitId':_0x58445c,'subUnitId':_0x1fb174,'shapeId':_0x1de526,'shapeData':_0x3d8c26,'oldShapeJSON':_0x5b162e};return _0x1d6806[_0x2a9a4a(0x4eb)](Va['id'],_0x38f4de);}function $a(_0x4ce965,_0x61144f){const _0x5de405=_0x5a7f20;var _0x387ac8;let {isHorizontal:_0x75f1fd,textRect:_0x1af707,verticalAlign:_0x37f2cd}=_0x61144f,_0x2d89e7=_0x75f1fd?_0x1af707['width']:_0x1af707[_0x5de405(0x4c8)],_0x54b564=_0x2c82c8['deepClone'](_0x4ce965),_0x3f7343=(_0x387ac8=_0x54b564['documentStyle'])==null?{}:_0x387ac8,_0x1fd7ec={..._0x3f7343[_0x5de405(0x3aa)],'centerAngle':_0x75f1fd?0x0:_0x3d7355,'vertexAngle':_0x75f1fd?0x0:_0x3d7355,'wrapStrategy':_0x491404[_0x5de405(0x452)]};if(_0x37f2cd!==void 0x0&&(_0x1fd7ec[_0x5de405(0x448)]=_0x37f2cd),_0x61144f['horizontalAlign']!==void 0x0){var _0x5f0f32;_0x1fd7ec[_0x5de405(0x468)]=_0x61144f[_0x5de405(0x468)];let _0x50f489=(_0x5f0f32=_0x54b564['body'])==null?void 0x0:_0x5f0f32[_0x5de405(0x57a)];if(_0x50f489){for(let _0x3c4d50 of _0x50f489)_0x3c4d50[_0x5de405(0x2fb)]||(_0x3c4d50[_0x5de405(0x2fb)]={}),_0x3c4d50[_0x5de405(0x2fb)][_0x5de405(0x468)]=_0x61144f[_0x5de405(0x468)];}}return _0x54b564['documentStyle']={..._0x3f7343,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2d89e7,'height':0x1/0x0},'renderConfig':_0x1fd7ec},_0x54b564;}function eo(_0x4f08ac){const _0x3f285d=_0x5a7f20;var _0x2b268b;let _0x1bb76d=_0x2c82c8[_0x3f285d(0x1ee)](_0x4f08ac),_0x5cfdaf=(_0x2b268b=_0x1bb76d[_0x3f285d(0x41b)])==null?{}:_0x2b268b,_0x4ce959={..._0x5cfdaf[_0x3f285d(0x3aa)]};return delete _0x4ce959[_0x3f285d(0x4b9)],delete _0x4ce959[_0x3f285d(0x565)],delete _0x4ce959[_0x3f285d(0x448)],delete _0x4ce959['wrapStrategy'],_0x1bb76d[_0x3f285d(0x41b)]={..._0x5cfdaf,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x4ce959)[_0x3f285d(0x3d6)]>0x0?_0x4ce959:void 0x0},_0x1bb76d;}var to=class extends _0xe1d4df{constructor(_0x4f049c,_0x2a6961){const _0x42c01e=_0x5a7f20;super(_0x4f049c,_0x2a6961),Y(this,_0x42c01e(0x57c),void 0x0),Y(this,'_transformCalculateSrcRect',!0x0),Y(this,_0x42c01e(0x3c3),_0x5d8611[_0x42c01e(0x415)]),Y(this,'isDrawingObject',!0x0),this[_0x42c01e(0x57c)]={..._0x2a6961},this[_0x42c01e(0x1de)]();}[_0x5a7f20(0x1de)](){this['onTransformChange$']['subscribeEvent'](_0x578e4f=>{const _0x4138b4=_0x2c06;this[_0x4138b4(0x398)](_0x578e4f);});}['setPrstGeom'](_0x24eeaf){const _0x51c790=_0x5a7f20;this[_0x51c790(0x57c)]['prstGeom']=_0x24eeaf;}[_0x5a7f20(0x59b)](_0x4145af){const _0x347990=_0x5a7f20;this['_props'][_0x347990(0x4f1)]=_0x4145af,this['makeDirty'](!0x0);}get[_0x5a7f20(0x666)](){const _0x6e5fb1=_0x5a7f20;return this[_0x6e5fb1(0x57c)]['unitId'];}get['subUnitId'](){const _0x1ded6d=_0x5a7f20;return this[_0x1ded6d(0x57c)][_0x1ded6d(0x279)];}[_0x5a7f20(0x398)](_0xcacceb){const _0x507619=_0x5a7f20;if(this['_props'][_0x507619(0x2fa)]==null||!this[_0x507619(0x2ad)])return;let {width:_0xfd4be8,height:_0x50ae0f}=this,{width:_0x5eb83d=0x0,height:_0x5f3694=0x0}=_0xcacceb['preValue'],{left:_0x58e558=0x0,top:_0xc6dffd=0x0,right:_0x2c5a77=0x0,bottom:_0x25a770=0x0}=this[_0x507619(0x57c)]['srcRect'],_0x4b1e16=_0x58e558,_0x42a18d=_0xc6dffd,_0x461287=_0x2c5a77,_0x543f04=_0x25a770,_0x7cc90c=!0x1;if(_0x5eb83d!==0x0&&_0x5eb83d!==_0xfd4be8){let _0x53213b=_0x58e558/_0x5eb83d,_0x369f10=_0x2c5a77/_0x5eb83d;_0x4b1e16=_0xfd4be8*_0x53213b,_0x461287=_0xfd4be8*_0x369f10,_0x7cc90c=!0x0;}if(_0x5f3694!==0x0&&_0x5f3694!==_0x50ae0f){let _0x1c3998=_0xc6dffd/_0x5f3694,_0x70326e=_0x25a770/_0x5f3694;_0x42a18d=_0x50ae0f*_0x1c3998,_0x543f04=_0x50ae0f*_0x70326e,_0x7cc90c=!0x0;}_0x7cc90c&&this[_0x507619(0x40a)]({'left':_0x4b1e16,'top':_0x42a18d,'right':_0x461287,'bottom':_0x543f04});}[_0x5a7f20(0x40a)](_0x266e7e){const _0x81deb=_0x5a7f20;this[_0x81deb(0x57c)][_0x81deb(0x2fa)]=_0x266e7e,this[_0x81deb(0x2bb)](!0x0);}[_0x5a7f20(0x4bf)](_0x45bc0b){const _0x56e156=_0x5a7f20;this[_0x56e156(0x57c)]['image']=_0x45bc0b,this[_0x56e156(0x2bb)](!0x0);}set[_0x5a7f20(0x3ba)](_0x35c02c){const _0x1cbfe0=_0x5a7f20;this[_0x1cbfe0(0x65a)]=_0x35c02c;}get['transform'](){const _0x316e61=_0x5a7f20;this[_0x316e61(0x65a)]||this[_0x316e61(0x2fc)]();let _0x401cb5=this[_0x316e61(0x65a)][_0x316e61(0x340)]();return this[_0x316e61(0x330)](_0x401cb5);}get[_0x5a7f20(0x5f1)](){const _0x1f99a9=_0x5a7f20;return this[_0x1f99a9(0x57c)]['shapeModel'];}get[_0x5a7f20(0x384)](){const _0x57c929=_0x5a7f20;return this['_props'][_0x57c929(0x384)];}get[_0x5a7f20(0x250)](){const _0x74bed5=_0x5a7f20;return _0x558a8a[_0x74bed5(0x519)];}[_0x5a7f20(0x260)](_0x3d04bb,_0x29535c,_0x1614f8,_0x528e89){const _0x3fa263=_0x5a7f20;let _0x1f6ab1=this[_0x3fa263(0x57c)][_0x3fa263(0x5f1)];if(!_0x1f6ab1||!_0x29535c)return;let _0x52b462=_0x1614f8==null?this[_0x3fa263(0x3d7)]:_0x1614f8,_0x67af1f=_0x528e89==null?this[_0x3fa263(0x4c8)]:_0x528e89,_0xc692b2={'shapeType':_0x1f6ab1[_0x3fa263(0x36f)](),'width':_0x52b462,'height':_0x67af1f},_0x11faad={'renderMode':_0x3ad569['Path'],'oKey':this[_0x3fa263(0x545)],'image':this[_0x3fa263(0x57c)][_0x3fa263(0x365)],'angle':this[_0x3fa263(0x402)]};_0x1f6ab1[_0x3fa263(0x5ed)](_0xc692b2),_0x3d04bb[_0x3fa263(0x3de)]();let _0x1df276={'top':0x0,'left':0x0,'width':_0x52b462,'height':_0x67af1f};_0x1f6ab1[_0x3fa263(0x56b)](_0x3d04bb,_0x1df276,_0x11faad),_0x3d04bb['restore']();let _0x21e5fb=_0x1f6ab1[_0x3fa263(0x570)](),_0x3e60cb=_0x1f6ab1['getShapeTextRect'](_0x1df276),_0x4fc45b=_0x1f6ab1[_0x3fa263(0x535)]();if(_0x21e5fb&&_0x3e60cb&&!_0x4fc45b){_0x3d04bb['save'](),this[_0x3fa263(0x46c)]()[_0x3fa263(0x51a)]&&_0x3d04bb[_0x3fa263(0x1d9)](-0x1,0x1);let _0x245629=_0x52b462/0x2,_0x396579=_0x67af1f/0x2;_0x3d04bb['translate'](-_0x245629,-_0x396579),_0x3d04bb['beginPath'](),this[_0x3fa263(0x618)](_0x3d04bb,_0x21e5fb,_0x3e60cb),_0x3d04bb[_0x3fa263(0x31e)]();}}['getDrawingPoints'](_0xc9dd08){}[_0x5a7f20(0x618)](_0x49995e,_0x44b034,_0x1dc209){const _0x3cf071=_0x5a7f20;this[_0x3cf071(0x57c)][_0x3cf071(0x4f1)]||('isRichText'in _0x44b034&&_0x44b034['isRichText']===!0x1?this[_0x3cf071(0x349)](_0x49995e,_0x44b034,_0x1dc209):this[_0x3cf071(0x419)](_0x49995e,_0x44b034,_0x1dc209));}[_0x5a7f20(0x349)](_0x36d6d5,_0x513483,_0x3aac44){}[_0x5a7f20(0x419)](_0x3af9d4,_0x37070e,_0x2565e9){const _0x2cb6fc=_0x5a7f20;var _0x49b1ad,_0x4eb4ec;let _0x549b68=this['_props'][_0x2cb6fc(0x41c)];if(!_0x37070e[_0x2cb6fc(0x3e1)]||!_0x549b68){_0x549b68||console[_0x2cb6fc(0x646)](_0x2cb6fc(0x66d));return;}let _0x409459=_0x37070e['dataModel'],_0x107799=_0x409459['doc'],_0x3f626f=(_0x49b1ad=_0x409459['va'])==null?_0x583d52['TOP']:_0x49b1ad,_0x2e29ce=(_0x4eb4ec=_0x409459['ha'])==null?_0xbfeb53[_0x2cb6fc(0x38c)]:_0x4eb4ec;if(!_0x107799)return;let _0x101369=_0x37070e['isHorizontal'],_0x1015b5=new _0x2d9804($a(_0x107799,{'isHorizontal':_0x101369!==!0x1,'textRect':_0x2565e9,'verticalAlign':_0x3f626f,'horizontalAlign':_0x2e29ce})),_0x3ca6d1=new _0x7f0de6(_0x1015b5),_0x27ed6b=_0x327840['create'](_0x3ca6d1,_0x549b68);_0x27ed6b[_0x2cb6fc(0x3c8)]();let _0x58a5ba=new _0x58a7a8(_0x2cb6fc(0x3c6)+this['oKey'],_0x27ed6b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x58a5ba[_0x2cb6fc(0x2e0)](_0x2565e9['width'],_0x2565e9[_0x2cb6fc(0x4c8)]),_0x3af9d4[_0x2cb6fc(0x3de)](),_0x3af9d4[_0x2cb6fc(0x2a2)](_0x2565e9[_0x2cb6fc(0x5af)],_0x2565e9['top']),_0x3af9d4[_0x2cb6fc(0x4e8)](),_0x3af9d4[_0x2cb6fc(0x67f)](0x0,0x0,_0x2565e9[_0x2cb6fc(0x3d7)],_0x2565e9[_0x2cb6fc(0x4c8)]),_0x3af9d4[_0x2cb6fc(0x5c6)](),_0x58a5ba[_0x2cb6fc(0x25f)](_0x3af9d4),_0x3af9d4[_0x2cb6fc(0x31e)](),_0x58a5ba[_0x2cb6fc(0x4b5)](),_0x27ed6b[_0x2cb6fc(0x4b5)](),_0x3ca6d1[_0x2cb6fc(0x4b5)](),_0x1015b5[_0x2cb6fc(0x4b5)]();}[_0x5a7f20(0x56b)](_0x2774ed,_0x41e5cf,_0x108c5e=!0x1){const _0x152c3d=_0x5a7f20;if(!this[_0x152c3d(0x608)])return this[_0x152c3d(0x2bb)](!0x1),this;let {width:_0xe178de,height:_0x3779d1,left:_0x1774cd,top:_0x25b164}=this,_0x350776=this[_0x152c3d(0x3af)]();if(_0xe178de=_0x350776[_0x152c3d(0x3d7)],_0x3779d1=_0x350776['height'],_0x1774cd=_0x350776[_0x152c3d(0x5af)],_0x25b164=_0x350776['top'],this['isRender'](_0x41e5cf)){let {top:_0x5e5a52,left:_0x52e7bf,bottom:_0x454cf3,right:_0x599ffc}=_0x41e5cf['viewBound'];if(_0xe178de+this[_0x152c3d(0x634)]+_0x1774cd<_0x52e7bf||_0x599ffc<_0x1774cd||_0x3779d1+this['strokeWidth']+_0x25b164<_0x5e5a52||_0x454cf3<_0x25b164)return this;}let _0x2d55a9=_0x1774cd+_0xe178de/0x2,_0xe80495=_0x25b164+_0x3779d1/0x2,_0x20c05b=this[_0x152c3d(0x3ba)][_0x152c3d(0x1c5)]();if(this['_props'][_0x152c3d(0x4f1)]){let _0x18563f=this[_0x152c3d(0x46c)](),_0x879dba=new _0x155f20();_0x879dba[_0x152c3d(0x3a3)]({..._0x18563f}),_0x20c05b=_0x879dba['getMatrix']();}return _0x2774ed[_0x152c3d(0x3de)](),this['_props'][_0x152c3d(0x5f1)][_0x152c3d(0x4fd)]===!0x0||_0x2774ed[_0x152c3d(0x3ba)](_0x20c05b[0x0],_0x20c05b[0x1],_0x20c05b[0x2],_0x20c05b[0x3],_0x2d55a9,_0xe80495),this[_0x152c3d(0x260)](_0x2774ed,_0x41e5cf,_0xe178de,_0x3779d1),_0x2774ed[_0x152c3d(0x31e)](),this[_0x152c3d(0x2bb)](!0x1),this;}[_0x5a7f20(0x39a)](_0x7a5eac){const _0x4586cc=_0x5a7f20;let {left:_0x1e4d4a,top:_0x232db3,width:_0x4b66bc,height:_0x40ed45}=this[_0x4586cc(0x3af)](),_0x4221dc=this[_0x4586cc(0x3ba)][_0x4586cc(0x1c5)](),_0x21efe2=_0x1e4d4a+_0x4b66bc/0x2,_0x4386a6=_0x232db3+_0x40ed45/0x2,_0x1075a2=new _0x155f20([_0x4221dc[0x0],_0x4221dc[0x1],_0x4221dc[0x2],_0x4221dc[0x3],_0x21efe2,_0x4386a6]),_0x29ebd4=this[_0x4586cc(0x2ed)]();return(this[_0x4586cc(0x32a)]&&(_0x29ebd4==null?void 0x0:_0x29ebd4[_0x4586cc(0x250)])===_0x558a8a[_0x4586cc(0x441)]?_0x29ebd4[_0x4586cc(0x505)][_0x4586cc(0x3a7)](_0x1075a2):_0x1075a2)[_0x4586cc(0x5de)]()['applyPoint'](_0x7a5eac);}[_0x5a7f20(0x59d)](_0x51737c){const _0x383a30=_0x5a7f20;let {left:_0x5b0b9c,top:_0xeb6834,width:_0x492f4f,height:_0x121be8}=this[_0x383a30(0x3af)](),_0x108c8d=_0x5b0b9c+_0x492f4f/0x2,_0x923f22=_0xeb6834+_0x121be8/0x2,_0x232f18=this[_0x383a30(0x3ba)][_0x383a30(0x1c5)](),_0x1a9b37=new _0x155f20([_0x232f18[0x0],_0x232f18[0x1],_0x232f18[0x2],_0x232f18[0x3],_0x108c8d,_0x923f22]),_0x59248b=this[_0x383a30(0x2ed)](),_0x380b68=(this[_0x383a30(0x32a)]&&(_0x59248b==null?void 0x0:_0x59248b[_0x383a30(0x250)])===_0x558a8a[_0x383a30(0x441)]?_0x59248b[_0x383a30(0x505)]['multiply'](_0x1a9b37):_0x1a9b37)[_0x383a30(0x5de)]()[_0x383a30(0x255)](_0x51737c),_0x437b01=_0x492f4f/0x2,_0x3d850b=_0x121be8/0x2,_0xa4cfa4=this[_0x383a30(0x57c)][_0x383a30(0x5f1)];return _0xa4cfa4&&_0xa4cfa4['isLineShape']()?_0xa4cfa4[_0x383a30(0x1dc)](_0x380b68['x'],_0x380b68['y'],_0x492f4f,_0x121be8):_0x380b68['x']>=-_0x437b01-this[_0x383a30(0x634)]/0x2&&_0x380b68['x']<=_0x437b01+this[_0x383a30(0x634)]/0x2&&_0x380b68['y']>=-_0x3d850b-this[_0x383a30(0x634)]/0x2&&_0x380b68['y']<=_0x3d850b+this['strokeWidth']/0x2;}[_0x5a7f20(0x4b5)](){const _0x5c169d=_0x5a7f20;this['_props'][_0x5c169d(0x5f1)]=null,super['dispose']();}};function Q(_0x3a5012,_0x22d72b){return function(_0x334c7e,_0x17161c){_0x22d72b(_0x334c7e,_0x17161c,_0x3a5012);};}function $(_0x25ec5b,_0x5aa2fe,_0x5baa6c,_0x137183){const _0x1090f3=_0x5a7f20;var _0x5c3a91=arguments[_0x1090f3(0x3d6)],_0x4ccbb1=_0x5c3a91<0x3?_0x5aa2fe:_0x137183===null?_0x137183=Object[_0x1090f3(0x55a)](_0x5aa2fe,_0x5baa6c):_0x137183,_0x147000;if(typeof Reflect==_0x1090f3(0x602)&&typeof Reflect[_0x1090f3(0x647)]==_0x1090f3(0x4b8))_0x4ccbb1=Reflect[_0x1090f3(0x647)](_0x25ec5b,_0x5aa2fe,_0x5baa6c,_0x137183);else{for(var _0x1f3719=_0x25ec5b[_0x1090f3(0x3d6)]-0x1;_0x1f3719>=0x0;_0x1f3719--)(_0x147000=_0x25ec5b[_0x1f3719])&&(_0x4ccbb1=(_0x5c3a91<0x3?_0x147000(_0x4ccbb1):_0x5c3a91>0x3?_0x147000(_0x5aa2fe,_0x5baa6c,_0x4ccbb1):_0x147000(_0x5aa2fe,_0x5baa6c))||_0x4ccbb1);}return _0x5c3a91>0x3&&_0x4ccbb1&&Object[_0x1090f3(0x528)](_0x5aa2fe,_0x5baa6c,_0x4ccbb1),_0x4ccbb1;}let no=class extends _0x185401{constructor(_0x514329,_0x2dd40a,_0x2f015c,_0x3f98a1,_0x2bf45d){const _0x1ea51b=_0x5a7f20;super(),this[_0x1ea51b(0x65c)]=_0x514329,this[_0x1ea51b(0x225)]=_0x2dd40a,this[_0x1ea51b(0x20b)]=_0x2f015c,this['_imageIoService']=_0x3f98a1,this['_urlImageService']=_0x2bf45d;}[_0x5a7f20(0x376)](_0x42c39a,_0x482703){const _0x371b27=_0x5a7f20;let {transform:_0x34d3a7,drawingType:_0x349800,srcRect:_0xc9a546,prstGeom:_0x3f1a4c,groupId:_0x5c81b9,unitId:_0x4e502f,subUnitId:_0x360df8,drawingId:_0x272581,isMultiTransform:_0x4904f4,transforms:_0x3e15e5,hidden:_0x18493b}=_0x42c39a;if(_0x349800!==_0x5d8611[_0x371b27(0x415)]||!this[_0x371b27(0x65c)][_0x371b27(0x308)]()||_0x34d3a7==null)return;let _0x2df251=_0x4904f4&&_0x3e15e5?_0x3e15e5:[_0x34d3a7],_0x10d93f=[];for(let _0x2e035c of _0x2df251){let {left:_0x14f8c2,top:_0x29a18b,width:_0x46528a,height:_0x94b036,angle:_0x9a7ad2,flipX:_0x524c49,flipY:_0x4139ea,skewX:_0x457b5e,skewY:_0x14468e}=_0x2e035c,_0xc79b40=_0x2df251[_0x371b27(0x440)](_0x2e035c),_0x2a7920=_0x46e3e9({'unitId':_0x4e502f,'subUnitId':_0x360df8,'drawingId':_0x272581},_0x4904f4?_0xc79b40:void 0x0),_0x392813=_0x482703['getObjectIncludeInGroup'](_0x2a7920);if(_0x392813!=null){_0x392813['transformByState']({'left':_0x14f8c2,'top':_0x29a18b,'width':_0x46528a,'height':_0x94b036,'angle':_0x9a7ad2,'flipX':_0x524c49,'flipY':_0x4139ea,'skewX':_0x457b5e,'skewY':_0x14468e});continue;}let _0x2d3c4c=this['_drawingManagerService'][_0x371b27(0x2bf)](_0x4e502f,_0x360df8),_0x18f2f1=_0x2d3c4c[_0x371b27(0x440)](_0x272581);if(_0x482703[_0x371b27(0x33c)](_0x2a7920)||!this['_drawingManagerService'][_0x371b27(0x308)]())continue;let _0x41fdb2=this[_0x371b27(0x225)][_0x371b27(0x2dc)](_0x4e502f,_0x360df8,_0x272581);if(!_0x41fdb2)continue;let _0x522f90=new to(_0x2a7920,{..._0x39df67(_0x41fdb2[_0x371b27(0x36f)]())?{..._0x2e035c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x2e035c},'zIndex':_0x18f2f1===-0x1?_0x2d3c4c['length']-0x1:_0x18f2f1,'shapeModel':_0x41fdb2,'localeService':this[_0x371b27(0x20b)],'shapeId':_0x272581,'unitId':_0x4e502f,'subUnitId':_0x360df8,'visible':_0x18493b!==!0x0});_0x482703['addObject'](_0x522f90,_0x3929c9),this['_drawingManagerService'][_0x371b27(0x2d2)]()&&_0x482703['attachTransformerTo'](_0x522f90),_0x5c81b9&&_0x240a96({'drawingId':_0x5c81b9,'unitId':_0x4e502f,'subUnitId':_0x360df8},_0x522f90,_0x482703,this['_drawingManagerService']),_0x3f1a4c!=null&&_0x522f90[_0x371b27(0x652)](_0x3f1a4c),_0xc9a546!=null&&_0x522f90[_0x371b27(0x40a)](_0xc9a546),this[_0x371b27(0x25a)](_0x522f90,_0x41fdb2[_0x371b27(0x5d3)]()),_0x10d93f['push'](_0x522f90);}return _0x10d93f;}[_0x5a7f20(0x25a)](_0x46c75c,_0x198b14){const _0xea7559=_0x5a7f20;var _0x53b21c;let _0x4a6625=_0x198b14[_0xea7559(0x46d)];if(!_0x4a6625||_0x4a6625[_0xea7559(0x430)]!==_0x1a4c7e['PictureFill']||!_0x4a6625['fillImageSource'])return;let _0x4e1214=_0x4a6625[_0xea7559(0x557)],_0x4b20fa=(_0x53b21c=_0x4a6625[_0xea7559(0x4e5)])==null?_0x24f6a5[_0xea7559(0x229)]:_0x53b21c,_0x24c83a=this['_imageIoService'][_0xea7559(0x48b)](_0x4e1214,_0x4b20fa);if(_0x24c83a){_0x46c75c[_0xea7559(0x4bf)](_0x24c83a);return;}this[_0xea7559(0x455)](_0x46c75c,_0x4e1214,_0x4b20fa);}async[_0x5a7f20(0x455)](_0x414034,_0x5ac525,_0x4a58d8){const _0x2cbdc6=_0x5a7f20;let _0x1b5b5d;try{if(_0x4a58d8===_0x24f6a5[_0x2cbdc6(0x35b)])_0x1b5b5d=await this[_0x2cbdc6(0x22d)][_0x2cbdc6(0x65f)](_0x5ac525);else{if(_0x4a58d8===_0x24f6a5[_0x2cbdc6(0x229)])try{_0x1b5b5d=await this['_urlImageService']['getImage'](_0x5ac525);}catch{_0x1b5b5d=_0x5ac525;}else _0x1b5b5d=_0x5ac525;}}catch(_0xe52bc5){console[_0x2cbdc6(0x213)](_0x2cbdc6(0x461),_0xe52bc5);return;}let _0x2ee39b=new window[(_0x2cbdc6(0x2d6))]();_0x2ee39b[_0x2cbdc6(0x483)]=()=>{const _0x3b18e9=_0x2cbdc6;this['_imageIoService'][_0x3b18e9(0x1ef)](_0x5ac525,_0x4a58d8,_0x2ee39b),_0x414034[_0x3b18e9(0x4bf)](_0x2ee39b);},_0x2ee39b['onerror']=()=>{const _0x5d704e=_0x2cbdc6;console[_0x5d704e(0x213)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x5ac525);},_0x2ee39b[_0x2cbdc6(0x59e)]=_0x1b5b5d;}};no=$([Q(0x0,_0x2ac48c),Q(0x1,_0x1e77ba(_0xc9428c)),Q(0x2,_0x1e77ba(_0x2e65fd)),Q(0x3,_0x5e714a),Q(0x4,_0x863706)],no);let ro=class extends _0x185401{constructor(_0x4c9284,_0x5bcbd5,_0x28f174,_0x7badfa,_0x19d60f,_0x3dd40e){const _0x1165f7=_0x5a7f20;super(),this['_commandService']=_0x4c9284,this['_renderManagerService']=_0x5bcbd5,this['_drawingManagerService']=_0x28f174,this[_0x1165f7(0x53b)]=_0x7badfa,this[_0x1165f7(0x2f4)]=_0x19d60f,this[_0x1165f7(0x391)]=_0x3dd40e,this[_0x1165f7(0x2a9)]();}[_0x5a7f20(0x2a9)](){const _0x295590=_0x5a7f20;this[_0x295590(0x43d)](),this[_0x295590(0x536)](),this[_0x295590(0x62c)]();}['_drawingAddListener'](){const _0x3ddde0=_0x5a7f20;this['disposeWithMe'](this[_0x3ddde0(0x65c)][_0x3ddde0(0x2f9)][_0x3ddde0(0x2ab)](_0x39e2a3=>{this['_insertShapes'](_0x39e2a3);}));}['_commandExecutedListener'](){const _0x3cec63=_0x5a7f20;this[_0x3cec63(0x404)](this[_0x3cec63(0x52a)][_0x3cec63(0x2be)](_0x4c90dd=>{const _0x353e7e=_0x3cec63;if(_0x4c90dd['id']===_0x265a48['id']){var _0x1f2095;let {unitId:_0x2961cd,subUnitId:_0x133c15,shapeId:_0x523b9c}=_0x4c90dd[_0x353e7e(0x233)],_0x52fa9c=this['_getSceneAndTransformerByDrawingSearch'](_0x2961cd);if(_0x52fa9c==null)return;let {scene:_0x2d34d3}=_0x52fa9c,_0x29c5bc=_0x46e3e9({'unitId':_0x2961cd,'subUnitId':_0x133c15,'drawingId':_0x523b9c}),_0x27600a=_0x2d34d3[_0x353e7e(0x33c)](_0x29c5bc);if(!((_0x1f2095=this['_renderManagerService'][_0x353e7e(0x36a)](_0x2961cd))!=null&&_0x1f2095['with'](_0x4e2ed9)[_0x353e7e(0x597)](_0x133c15)))return!0x1;if(_0x27600a)return;this[_0x353e7e(0x4ae)]([{'unitId':_0x2961cd,'subUnitId':_0x133c15,'drawingId':_0x523b9c}]);}}));}[_0x5a7f20(0x62c)](){const _0x33be7e=_0x5a7f20;this[_0x33be7e(0x404)](this[_0x33be7e(0x65c)][_0x33be7e(0x47c)][_0x33be7e(0x2ab)](_0x3853c5=>{const _0x13a0ab=_0x33be7e;_0x3853c5[_0x13a0ab(0x2cc)](_0x10cf0e=>{const _0xebdc1=_0x13a0ab;let {unitId:_0x4899eb,subUnitId:_0x53f01c,drawingId:_0x264a11}=_0x10cf0e,_0x337d0a=this[_0xebdc1(0x65c)][_0xebdc1(0x4b2)](_0x10cf0e);if(_0x337d0a==null)return;let {transform:_0x1d8176,drawingType:_0x2ef4a0,srcRect:_0x2dbc5a,prstGeom:_0x4e49da}=_0x337d0a;if(_0x2ef4a0!==_0x5d8611['DRAWING_SHAPE'])return;let _0x1f83ab=this[_0xebdc1(0x639)](_0x4899eb);if(_0x1f83ab==null)return;let {scene:_0x1d4a04,transformer:_0x19ae43}=_0x1f83ab;if(_0x1d8176==null)return!0x0;let _0x431af3=_0x46e3e9({'unitId':_0x4899eb,'subUnitId':_0x53f01c,'drawingId':_0x264a11}),_0x127a78=_0x1d4a04[_0xebdc1(0x33c)](_0x431af3);if(_0x127a78==null)return!0x0;_0x127a78['setSrcRect'](_0x2dbc5a),_0x127a78[_0xebdc1(0x652)](_0x4e49da);});}));}[_0x5a7f20(0x4fe)](_0x1c18d4,_0x12dcaa){const _0x42d984=_0x5a7f20;let {unitId:_0x185c25,subUnitId:_0x7f6c7c,drawingId:_0x3ebd79}=_0x1c18d4,_0x34bb94=this['_getSceneAndTransformerByDrawingSearch'](_0x185c25);if(_0x34bb94==null)return;let {scene:_0x53fd86}=_0x34bb94,_0x4302c9=_0x46e3e9({'unitId':_0x185c25,'subUnitId':_0x7f6c7c,'drawingId':_0x3ebd79}),_0x34bbe6=_0x53fd86[_0x42d984(0x33c)](_0x4302c9);_0x34bbe6!=null&&_0x34bbe6[_0x42d984(0x4bf)](_0x12dcaa);}['_insertShapes'](_0x36e928){const _0x3acc7e=_0x5a7f20;_0x36e928[_0x3acc7e(0x2cc)](async _0x5afb24=>{const _0x2aca6d=_0x3acc7e;var _0x5742a0;let {unitId:_0x50c872,subUnitId:_0xab310}=_0x5afb24,_0x251879=this['_getSceneAndTransformerByDrawingSearch'](_0x50c872),_0x93dbf1=(_0x5742a0=_0x285cd7(this[_0x2aca6d(0x53b)],_0x50c872))==null?void 0x0:_0x5742a0[_0x2aca6d(0x279)];if(_0x251879==null||_0x93dbf1!==_0xab310)return;let _0x35238f=this[_0x2aca6d(0x65c)][_0x2aca6d(0x4b2)](_0x5afb24);if(_0x35238f!=null&&_0x35238f[_0x2aca6d(0x526)]===_0x5d8611[_0x2aca6d(0x415)]){if(_0x39df67((_0x35238f['data']||{})[_0x2aca6d(0x29d)])){let _0x54b89f=_0x35238f['transform'];_0x54b89f&&(_0x35238f['transform']={..._0x54b89f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x2aca6d(0x65c)]['refreshTransform']([_0x35238f]),this[_0x2aca6d(0x391)]['renderDrawingShape'](_0x35238f,_0x251879['scene']);}});}[_0x5a7f20(0x639)](_0x2f7139){const _0x1d83e=_0x5a7f20;if(_0x2f7139==null)return;let _0xadf0e2=this[_0x1d83e(0x33e)][_0x1d83e(0x36a)](_0x2f7139),_0x560d5d=_0xadf0e2==null?void 0x0:_0xadf0e2[_0x1d83e(0x2a0)];return _0x560d5d==null?null:{'scene':_0x560d5d,'transformer':_0x560d5d[_0x1d83e(0x498)]()};}};ro=$([Q(0x0,_0x2e069e),Q(0x1,_0x43fdcf),Q(0x2,_0x2ac48c),Q(0x3,_0x1005f5),Q(0x4,_0x1e77ba(_0x3298dc)),Q(0x5,_0x1e77ba(no))],ro);function io(_0x507932){const _0x5630f9=_0x5a7f20;var _0x59a310,_0x23fa66,_0x23f566,_0x5c6f66,_0x2cf2b1,_0x339130,_0x5aaca8,_0x547024,_0x6540ef,_0x33cd6c,_0x36c142,_0x6c7d74,_0x40fcb3;let {unitId:_0x3da7c4,subUnitId:_0xf362bd,shapeId:_0x3effa8,shapeData:_0x5dff09,disableShapeOption:_0x26e7e4}=_0x507932,_0x2b5fc0=_0x5bcd39(_0x2e65fd),_0x24dbb1=_0x5bcd39(_0x2e069e),_0x106c3b=_0x5bcd39(_0x2d6196),_0x41c09e=_0x5bcd39(ro),_0x9ddf2b=_0x5bcd39(_0x5e714a),_0x5b01e3=_0xd3b7d0(null),_0x2f7b53=_0x5dff09[_0x5630f9(0x46d)],_0x2ab1f7=!!(_0x2f7b53!=null&&_0x2f7b53[_0x5630f9(0x557)]),[_0x3dc517,_0x27601f]=_0x39af17((_0x59a310=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x58c)])==null?0x1:_0x59a310),[_0x4265dc,_0x19537d]=_0x39af17((_0x23fa66=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x234)])==null?_0x158edf['Stretch']:_0x23fa66),[_0xa285b,_0x121955]=_0x39af17((_0x23f566=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x480)])==null?!0x1:_0x23f566),[_0x423956,_0xee25ec]=_0x39af17((_0x5c6f66=_0x2f7b53==null||(_0x2cf2b1=_0x2f7b53['imageTile'])==null?void 0x0:_0x2cf2b1['offsetX'])==null?0x0:_0x5c6f66),[_0x57c9ba,_0x1121fd]=_0x39af17((_0x339130=_0x2f7b53==null||(_0x5aaca8=_0x2f7b53['imageTile'])==null?void 0x0:_0x5aaca8[_0x5630f9(0x478)])==null?0x0:_0x339130),[_0x53c700,_0x239bcb]=_0x39af17((_0x547024=_0x2f7b53==null||(_0x6540ef=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x6540ef[_0x5630f9(0x2af)])==null?0x1:_0x547024),[_0x5ec7a7,_0x2d9a8b]=_0x39af17((_0x33cd6c=_0x2f7b53==null||(_0x36c142=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x36c142[_0x5630f9(0x485)])==null?0x1:_0x33cd6c),[_0x400044,_0x15a4c7]=_0x39af17((_0x6c7d74=_0x2f7b53==null||(_0x40fcb3=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x40fcb3[_0x5630f9(0x4f4)])==null?'tl':_0x6c7d74),_0x2d8424=_0x4265dc===_0x158edf[_0x5630f9(0x5b7)],_0x1695bd=Math['round']((0x1-_0x3dc517)*0x64),_0xf2d33a=Math[_0x5630f9(0x4fa)](_0x53c700*0x64),_0x51dce9=Math[_0x5630f9(0x4fa)](_0x5ec7a7*0x64),_0x4ee2f6=_0x4dab63=>_0x2b5fc0['t'](_0x4dab63),_0x50dad9=[{'label':_0x4ee2f6(_0x5630f9(0x3e7)),'value':'tl'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.t'),'value':'t'},{'label':_0x4ee2f6(_0x5630f9(0x532)),'value':'tr'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.l'),'value':'l'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.ctr'),'value':_0x5630f9(0x2b3)},{'label':_0x4ee2f6(_0x5630f9(0x34f)),'value':'r'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x4ee2f6(_0x5630f9(0x466)),'value':'b'},{'label':_0x4ee2f6(_0x5630f9(0x346)),'value':'br'}],_0x5f58ee=_0x35f7f8=>{Z(_0x24dbb1,_0x3da7c4,_0xf362bd,_0x3effa8,{'oldShapeData':{'fill':_0x2f7b53?{..._0x2f7b53}:void 0x0}},{'fill':{..._0x2f7b53,..._0x35f7f8}});},_0x4e68ae=_0x229c0c=>{const _0x10ef9c=_0x5630f9;_0x5f58ee({'imageTile':{..._0x2f7b53==null?void 0x0:_0x2f7b53[_0x10ef9c(0x2f2)],..._0x229c0c}});},_0x2d6cc8=()=>{const _0x22010a=_0x5630f9;var _0x490417;return(_0x490417=_0x5b01e3['current'])==null?void 0x0:_0x490417[_0x22010a(0x256)]();},_0x5e6a35=async _0x42eb1c=>{const _0x4f93b1=_0x5630f9;var _0x3fe9d1;let _0x41ae10=(_0x3fe9d1=_0x42eb1c[_0x4f93b1(0x1c3)][_0x4f93b1(0x4b7)])==null?void 0x0:_0x3fe9d1[0x0];if(!_0x41ae10)return;_0x42eb1c['target'][_0x4f93b1(0x231)]='';let _0x2a6523=await _0x9ddf2b[_0x4f93b1(0x238)](_0x41ae10);if(_0x2a6523==null)return;let {imageSourceType:_0x27399c,source:_0x10bc41,base64Cache:_0x14f8af}=_0x2a6523,{image:_0x430d9b}=await _0x1d0b19(_0x14f8af||'');_0x9ddf2b[_0x4f93b1(0x1ef)](_0x10bc41,_0x27399c,_0x430d9b),Z(_0x24dbb1,_0x3da7c4,_0xf362bd,_0x3effa8,{'oldShapeData':{'fill':_0x2f7b53?{..._0x2f7b53}:void 0x0}},{'fill':{..._0x2f7b53,'fillType':_0x1a4c7e[_0x4f93b1(0x488)],'fillImageSource':_0x10bc41,'fillImageSourceType':_0x27399c}}),_0x41c09e[_0x4f93b1(0x4fe)]({'unitId':_0x3da7c4,'subUnitId':_0xf362bd,'drawingId':_0x3effa8},_0x430d9b);},_0x11092f=_0x5630f9(0x493),_0x14b1e5=_0x5630f9(0x2a3);return _0xb4dd11(_0x5630f9(0x2ba),{'className':_0x5630f9(0x64c),'children':[_0xb4dd11(_0x5630f9(0x2ba),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x451))}),_0xb4dd11(_0x5630f9(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x20f703(_0x5630f9(0x51d),{'ref':_0x5b01e3,'type':_0x5630f9(0x284),'accept':'image/*','className':_0x5630f9(0x4e0),'onChange':_0x5e6a35}),_0xb4dd11(_0x5630f9(0x2ba),{'className':'group\x20univer-relative\x20univer-inline-block','children':[_0x20f703('button',{'type':_0x5630f9(0x588),'disabled':_0x26e7e4,'className':_0x5630f9(0x41e),'onClick':_0x2d6cc8,'children':_0xb4dd11(_0x5630f9(0x577),{'children':[_0x4ee2f6(_0x5630f9(0x586)),'\x20']})}),_0x2ab1f7&&_0x20f703('div',{'className':'\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','children':_0x20f703(_0x5630f9(0x534),{'src':_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x557)],'alt':'','className':_0x5630f9(0x335)})})]})]})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x3b1))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0x1695bd,'disabled':_0x26e7e4,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1dad71=>_0x1dad71+'%','parser':_0x201ba2=>(_0x201ba2==null?void 0x0:_0x201ba2['replace']('%',''))||'','onChange':_0x32ffb8=>{const _0x4ba3d3=_0x5630f9;let _0x4a0c13=(0x64-Math[_0x4ba3d3(0x42e)](0x0,Math[_0x4ba3d3(0x3e9)](0x64,_0x32ffb8==null?0x0:_0x32ffb8)))/0x64;_0x27601f(_0x4a0c13),_0x5f58ee({'imageOpacity':_0x4a0c13}),_0x106c3b[_0x4ba3d3(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0x20f703(_0x2353cb,{'checked':_0x2d8424,'disabled':_0x26e7e4,'onChange':_0x483463=>{const _0x4950af=_0x5630f9;let _0x3b9d6c=_0x483463?_0x158edf[_0x4950af(0x5b7)]:_0x158edf[_0x4950af(0x22a)];_0x19537d(_0x3b9d6c),_0x5f58ee({'imageFillMode':_0x3b9d6c});},'children':_0x20f703(_0x5630f9(0x577),{'className':'univer-text-sm','children':_0x4ee2f6(_0x5630f9(0x310))})}),_0x2d8424&&_0xb4dd11(_0x5630f9(0x2ba),{'className':'\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','children':[_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x322))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':'univer-w-full','value':_0x423956,'disabled':_0x26e7e4,'step':0x1,'onChange':_0xb9259f=>{_0x4e68ae({'offsetX':_0xb9259f==null?0x0:_0xb9259f}),_0xee25ec(_0xb9259f==null?0x0:_0xb9259f);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x43a))}),_0x20f703('div',{'className':'univer-w-20','children':_0x20f703(_0x1f6580,{'className':'univer-w-full','value':_0x57c9ba,'disabled':_0x26e7e4,'step':0x1,'onChange':_0x26ec5c=>{_0x4e68ae({'offsetY':_0x26ec5c==null?0x0:_0x26ec5c}),_0x1121fd(_0x26ec5c==null?0x0:_0x26ec5c);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x572))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0xf2d33a,'disabled':_0x26e7e4,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x7043e0=>_0x7043e0+'%','parser':_0x3f36e7=>(_0x3f36e7==null?void 0x0:_0x3f36e7[_0x5630f9(0x61c)]('%',''))||'','onChange':_0x25204c=>{const _0x59186d=_0x5630f9;let _0x574b6b=Math[_0x59186d(0x42e)](0.01,(_0x25204c==null?0x64:_0x25204c)/0x64);_0x239bcb(_0x574b6b),_0x4e68ae({'scaleX':_0x574b6b}),_0x106c3b[_0x59186d(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0xb4dd11('div',{'className':_0x14b1e5,'children':[_0x20f703('span',{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x636))}),_0x20f703('div',{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0x51dce9,'disabled':_0x26e7e4,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3860f6=>_0x3860f6+'%','parser':_0x2a03f1=>(_0x2a03f1==null?void 0x0:_0x2a03f1[_0x5630f9(0x61c)]('%',''))||'','onChange':_0x239ee6=>{const _0x3b3a89=_0x5630f9;let _0x2d38f0=Math[_0x3b3a89(0x42e)](0.01,(_0x239ee6==null?0x64:_0x239ee6)/0x64);_0x2d9a8b(_0x2d38f0),_0x4e68ae({'scaleY':_0x2d38f0}),_0x106c3b[_0x3b3a89(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6('sheets-shape-ui.fill.picture.alignment')}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':_0x400044,'options':_0x50dad9,'disabled':_0x26e7e4,'onChange':_0x112677=>{_0x15a4c7(_0x112677),_0x4e68ae({'alignment':_0x112677});}})})]})]}),_0x20f703(_0x2353cb,{'checked':_0xa285b,'disabled':_0x26e7e4,'onChange':_0x189c2c=>{_0x121955(_0x189c2c),_0x5f58ee({'imageRotateWithShape':_0x189c2c});},'children':_0x20f703(_0x5630f9(0x577),{'className':_0x5630f9(0x2c7),'children':_0x4ee2f6('sheets-shape-ui.fill.picture.rotateWithShape')})})]});}function ao(_0x2e1dc4){const _0x1cc856=_0x5a7f20;var _0x11aa4b,_0x3a373e,_0x364838;let _0x2d61d3=_0x5bcd39(_0x2e65fd),_0x283c27=_0x5bcd39(_0x2e069e),_0x20dcec=_0x5bcd39(_0x2d6196),{shapeData:_0x4e6ad6,isLineShape:_0xac2e54,unitId:_0x7cb885,subUnitId:_0x1a87e1,shapeId:_0x139cf8,disableShapeOption:_0x3481e3}=_0x2e1dc4,[_0x5c720e,_0x38aa96]=_0x39af17(((_0x11aa4b=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x11aa4b[_0x1cc856(0x430)])||_0x1a4c7e[_0x1cc856(0x5e1)]),[_0xe3e9ab,_0x245508]=_0x39af17(((_0x3a373e=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x3a373e['color'])||_0x9a1b85[_0x1cc856(0x46d)]),[_0x253ab9,_0x5d1d96]=_0x39af17(((_0x364838=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x364838[_0x1cc856(0x5b9)])||0x1),[_0x2891ed,_0x3dcd32]=_0x39af17(!0x1);if(_0xac2e54)return null;let _0x1cbd5f=0x64-_0x253ab9*0x64;return _0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x54f),'children':[_0xb4dd11(_0x2ecbb7,{'value':_0x5c720e,'disabled':_0x3481e3,'onChange':_0xdfd965=>{const _0x47339c=_0x1cc856;var _0xaeb30f;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{'fillType':(_0xaeb30f=_0x4e6ad6[_0x47339c(0x46d)])==null?void 0x0:_0xaeb30f['fillType']}}},{'fill':{'fillType':_0xdfd965}}),_0x38aa96(_0xdfd965);},'direction':_0x1cc856(0x564),'children':[_0x20f703(_0xd58fe9,{'value':_0x1a4c7e['NoFill'],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x643))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x5e1)],'children':_0x20f703('span',{'className':'univer-text-sm','children':_0x2d61d3['t'](_0x1cc856(0x45a))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x323)],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x208))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x488)],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x313))})})]}),_0x5c720e===_0x1a4c7e[_0x1cc856(0x5e1)]&&_0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x5ce),'children':[_0xb4dd11('div',{'className':_0x1cc856(0x44a),'children':[_0x20f703('span',{'className':_0x1cc856(0x62f),'children':_0x2d61d3['t'](_0x1cc856(0x34c))}),_0x20f703(_0x5c8dc3,{'disabled':_0x3481e3,'overlay':_0x20f703(_0x1cc856(0x2ba),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x20f703(_0x21f13b,{'value':_0xe3e9ab,'onChange':_0x34dc2e=>{const _0x48e035=_0x1cc856;var _0x111dee;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{'color':(_0x111dee=_0x4e6ad6[_0x48e035(0x46d)])==null?void 0x0:_0x111dee['color']}}},{'fill':{'color':_0x34dc2e}}),_0x245508(_0x34dc2e),_0x3dcd32(!0x1);}})}),'open':_0x2891ed,'onOpenChange':_0x3dcd32,'children':_0xb4dd11('a',{'className':_0x1cc856(0x4cd),'children':[_0x20f703(_0x2507f7,{'className':_0x1cc856(0x2f0),'extend':{'colorChannel1':_0xe3e9ab}}),_0x20f703(_0x3e4f53,{'className':_0x45e4e0(_0x1cc856(0x4d8),{'univer-rotate-180':_0x2891ed})})]})})]}),_0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x2a3),'children':[_0x20f703('span',{'className':_0x1cc856(0x493),'children':_0x2d61d3['t']('sheets-shape-ui.fill.transparency')}),_0x20f703(_0x1cc856(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':_0x20f703(_0x1cc856(0x2ba),{'className':_0x1cc856(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x1cc856(0x591),'value':_0x1cbd5f,'disabled':_0x3481e3,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x397030=>_0x397030+'%','parser':_0x4cc2bb=>(_0x4cc2bb==null?void 0x0:_0x4cc2bb[_0x1cc856(0x61c)]('%',''))||'','onChange':_0x35ca23=>{const _0x17ed5b=_0x1cc856;let _0x531ed4=(0x64-Math[_0x17ed5b(0x42e)](0x0,Math[_0x17ed5b(0x3e9)](0x64,_0x35ca23==null?0x0:_0x35ca23)))/0x64;_0x5d1d96(_0x531ed4),Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{..._0x4e6ad6[_0x17ed5b(0x46d)],'fillType':_0x5c720e}}},{'fill':{..._0x4e6ad6[_0x17ed5b(0x46d)],'fillType':_0x5c720e,'opacity':_0x531ed4}}),_0x20dcec[_0x17ed5b(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x20dcec['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>{_0x20dcec['setContextValue'](_0x1e0e6e,!0x1);}})})})]})]}),_0x5c720e===_0x1a4c7e['GradientFill']&&_0x20f703(co,{'shapeData':_0x4e6ad6,'disableShapeOption':_0x3481e3,'onUpdate':_0x284809=>{const _0x2f0970=_0x1cc856;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{..._0x4e6ad6['fill']}}},{'fill':{..._0x4e6ad6[_0x2f0970(0x46d)],..._0x284809}});}}),_0x5c720e===_0x1a4c7e[_0x1cc856(0x488)]&&_0x20f703(io,{'unitId':_0x7cb885,'subUnitId':_0x1a87e1,'shapeId':_0x139cf8,'shapeData':_0x4e6ad6,'disableShapeOption':_0x3481e3})]});}function oo(_0x27838c){const _0x14b34b=_0x5a7f20;switch(_0x27838c){case _0x3feb4e[_0x14b34b(0x5ff)]:return _0x14b34b(0x529);case _0x3feb4e['Radial']:return _0x14b34b(0x366);case _0x3feb4e[_0x14b34b(0x1dd)]:return _0x14b34b(0x228);case _0x3feb4e[_0x14b34b(0x5f0)]:return'diamond';default:return'linear';}}function so(_0x3c720e){const _0x3206ef=_0x5a7f20;switch(_0x3c720e){case _0x3206ef(0x529):return _0x3feb4e['Linear'];case _0x3206ef(0x366):return _0x3feb4e['Radial'];case _0x3206ef(0x228):return _0x3feb4e[_0x3206ef(0x1dd)];case _0x3206ef(0x611):return _0x3feb4e[_0x3206ef(0x5f0)];default:return _0x3feb4e[_0x3206ef(0x5ff)];}}function co(_0x401535){const _0x3a103a=_0x5a7f20;let {shapeData:_0x263ae6,disableShapeOption:_0x58662c,onUpdate:_0x1e818d}=_0x401535;return _0x20f703('div',{'className':_0x3a103a(0x246),'children':_0x20f703(_0x2be8f6,{'value':_0x5652b4(()=>{const _0x2bae6c=_0x3a103a;var _0x5a1660;let _0x17eb67=_0x263ae6[_0x2bae6c(0x46d)];return{'type':oo(_0x17eb67==null?void 0x0:_0x17eb67[_0x2bae6c(0x24a)]),'angle':(_0x5a1660=_0x17eb67==null?void 0x0:_0x17eb67[_0x2bae6c(0x397)])==null?0x5a:_0x5a1660,'stops':_0x17eb67!=null&&_0x17eb67['gradientStops']&&_0x17eb67[_0x2bae6c(0x4c6)][_0x2bae6c(0x3d6)]>=0x2?_0x17eb67[_0x2bae6c(0x4c6)][_0x2bae6c(0x5ac)](_0xcdda4f=>({'color':_0xcdda4f[_0x2bae6c(0x4ce)],'offset':_0xcdda4f['position']*0x64})):[{'color':(_0x17eb67==null?void 0x0:_0x17eb67['color'])||_0x2bae6c(0x26c),'offset':0x0},{'color':_0x2bae6c(0x4c5),'offset':0x64}]};},[_0x263ae6['fill']]),'onChange':_0x3a9135=>{const _0x164728=_0x3a103a;let _0x33120a=so(_0x3a9135[_0x164728(0x52b)]),_0x377ac1=_0x3a9135[_0x164728(0x402)];_0x1e818d({'gradientType':_0x33120a,'gradientAngle':_0x377ac1,'gradientStops':_0x3a9135['stops'][_0x164728(0x5ac)](_0x10971a=>({'color':_0x10971a[_0x164728(0x4ce)],'position':_0x10971a['offset']/0x64}))});}})});}function lo(_0x19ef68){const _0x30f542=_0x5a7f20;var _0x5dbd10,_0x57271c,_0x5ec5c5,_0x219ff1,_0x3e812a,_0x10dc84,_0xb3079c,_0x49289c,_0x19de13,_0x22f3fd,_0x3cbdc9,_0x776173,_0x17de24,_0x25b891,_0x1626c2,_0x529fd8;let _0x1a3ca0=_0x5bcd39(_0x2e65fd),_0xd02b85=_0x5bcd39(_0x2e069e),_0x4c9427=_0x5bcd39(_0x2d6196),{shapeData:_0x3def50,isLineShape:_0x17c500,unitId:_0x336e23,subUnitId:_0x2a6841,shapeId:_0x503ec2,disableShapeOption:_0x8e9c9d}=_0x19ef68,_0x2e8cbf=_0x3def50[_0x30f542(0x2a4)],[_0xab04fa,_0x516700]=_0x39af17((_0x5dbd10=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x258)])==null?_0xbaf4f3[_0x30f542(0x1ff)]:_0x5dbd10),[_0x37d037,_0x5696cb]=_0x39af17((_0x57271c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x4ce)])==null?_0x9a1b85[_0x30f542(0x2a4)]:_0x57271c),[_0x289a9c,_0x9a2aa7]=_0x39af17((_0x5ec5c5=_0x2e8cbf==null?void 0x0:_0x2e8cbf['opacity'])==null?0x1:_0x5ec5c5),[_0x23ee09,_0x14baa3]=_0x39af17((_0x219ff1=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x3d7)])==null?_0x9a1b85['strokeWidth']:_0x219ff1),[_0x19fb5f,_0x4d1bfc]=_0x39af17((_0x3e812a=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x473)])==null?_0x140eee[_0x30f542(0x5d6)]:_0x3e812a),[_0x903efc,_0x4dc42c]=_0x39af17((_0x10dc84=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x245)])==null?_0x11f170['Flat']:_0x10dc84),[_0x2fd830,_0x5e8be0]=_0x39af17((_0xb3079c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x360)])==null?_0x46ca3e['Miter']:_0xb3079c),[_0x516643,_0x464c15]=_0x39af17((_0x49289c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x2a6)])==null?_0x3e9582[_0x30f542(0x4dc)]:_0x49289c),_0x3238fb=_0x3def50,[_0x5b8f10,_0xcb61a6]=_0x39af17((_0x19de13=(_0x22f3fd=_0x3238fb['ln'])==null||(_0x22f3fd=_0x22f3fd[_0x30f542(0x2d4)])==null?void 0x0:_0x22f3fd[_0x30f542(0x52b)])==null?_0x285f09['None']:_0x19de13),[_0x17b8f3,_0x4e6f6a]=_0x39af17((_0x3cbdc9=(_0x776173=_0x3238fb['ln'])==null||(_0x776173=_0x776173[_0x30f542(0x2d4)])==null?void 0x0:_0x776173[_0x30f542(0x352)])==null?_0x193749[_0x30f542(0x2da)]:_0x3cbdc9),[_0xe92df6,_0x2c401e]=_0x39af17((_0x17de24=(_0x25b891=_0x3238fb['ln'])==null||(_0x25b891=_0x25b891[_0x30f542(0x3ab)])==null?void 0x0:_0x25b891[_0x30f542(0x52b)])==null?_0x285f09[_0x30f542(0x4dc)]:_0x17de24),[_0xc8bd0c,_0x186e8d]=_0x39af17((_0x1626c2=(_0x529fd8=_0x3238fb['ln'])==null||(_0x529fd8=_0x529fd8['endArrow'])==null?void 0x0:_0x529fd8[_0x30f542(0x352)])==null?_0x193749[_0x30f542(0x2da)]:_0x1626c2),[_0x22d228,_0x187853]=_0x39af17(!0x1),_0x249865=0x64-_0x289a9c*0x64,_0x5caa48=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.dashType.solid'),'value':String(_0x140eee[_0x30f542(0x5d6)])},{'label':_0x1a3ca0['t'](_0x30f542(0x350)),'value':String(_0x140eee[_0x30f542(0x553)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.dashType.squareDot'),'value':String(_0x140eee[_0x30f542(0x39b)])},{'label':_0x1a3ca0['t'](_0x30f542(0x621)),'value':String(_0x140eee['Dash'])},{'label':_0x1a3ca0['t'](_0x30f542(0x2a5)),'value':String(_0x140eee[_0x30f542(0x507)])},{'label':_0x1a3ca0['t'](_0x30f542(0x497)),'value':String(_0x140eee['LongDash'])},{'label':_0x1a3ca0['t'](_0x30f542(0x47b)),'value':String(_0x140eee[_0x30f542(0x53f)])},{'label':_0x1a3ca0['t'](_0x30f542(0x449)),'value':String(_0x140eee['LongDashDotDot'])}],_0x260fb2=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.capType.flat'),'value':String(_0x11f170[_0x30f542(0x42c)])},{'label':_0x1a3ca0['t'](_0x30f542(0x44f)),'value':String(_0x11f170[_0x30f542(0x550)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.capType.square'),'value':String(_0x11f170[_0x30f542(0x530)])}],_0xbeac6b=[{'label':_0x1a3ca0['t'](_0x30f542(0x3bc)),'value':String(_0x3e9582[_0x30f542(0x4dc)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.sketchType.curved'),'value':String(_0x3e9582['Curved'])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.sketchType.freehand'),'value':String(_0x3e9582[_0x30f542(0x29f)])},{'label':_0x1a3ca0['t'](_0x30f542(0x41a)),'value':String(_0x3e9582[_0x30f542(0x24c)])}],_0x215de3=[{'label':_0x1a3ca0['t'](_0x30f542(0x5f9)),'value':String(_0x46ca3e[_0x30f542(0x2b9)])},{'label':_0x1a3ca0['t'](_0x30f542(0x1bf)),'value':String(_0x46ca3e['Round'])},{'label':_0x1a3ca0['t'](_0x30f542(0x33a)),'value':String(_0x46ca3e[_0x30f542(0x364)])}],_0x6991cc=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.arrowType.none'),'value':String(_0x285f09[_0x30f542(0x4dc)])},{'label':_0x1a3ca0['t'](_0x30f542(0x1f2)),'value':String(_0x285f09['Arrow'])},{'label':_0x1a3ca0['t'](_0x30f542(0x3fc)),'value':String(_0x285f09[_0x30f542(0x309)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.arrowType.stealthArrow'),'value':String(_0x285f09[_0x30f542(0x23d)])},{'label':_0x1a3ca0['t'](_0x30f542(0x568)),'value':String(_0x285f09[_0x30f542(0x554)])},{'label':_0x1a3ca0['t'](_0x30f542(0x3cb)),'value':String(_0x285f09[_0x30f542(0x50c)])}],_0x2bf1ce=[{'label':_0x1a3ca0['t'](_0x30f542(0x32b)),'value':String(_0x193749[_0x30f542(0x48c)])},{'label':_0x1a3ca0['t'](_0x30f542(0x5f6)),'value':String(_0x193749['Medium'])},{'label':_0x1a3ca0['t'](_0x30f542(0x3b8)),'value':String(_0x193749[_0x30f542(0x533)])}];return _0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x54f),'children':[_0xb4dd11(_0x2ecbb7,{'value':String(_0xab04fa),'disabled':_0x8e9c9d,'onChange':_0x29a9e1=>{const _0x523f68=_0x30f542;var _0x356ea3;_0x516700(Number(_0x29a9e1)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x356ea3=_0x3def50[_0x523f68(0x2a4)])==null?void 0x0:_0x356ea3['lineStrokeType']}}},{'stroke':{'lineStrokeType':Number(_0x29a9e1)}});},'direction':'vertical','children':[_0x20f703(_0xd58fe9,{'value':String(_0xbaf4f3[_0x30f542(0x677)]),'children':_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x2c7),'children':_0x1a3ca0['t'](_0x30f542(0x5fa))})}),_0x20f703(_0xd58fe9,{'value':String(_0xbaf4f3[_0x30f542(0x1ff)]),'children':_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm','children':_0x1a3ca0['t']('sheets-shape-ui.line.solidLine')})})]}),_0xab04fa!==_0xbaf4f3['NoLine']&&_0xb4dd11('div',{'className':_0x30f542(0x5ce),'children':[_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t']('sheets-shape-ui.line.color')}),_0x20f703(_0x5c8dc3,{'disabled':_0x8e9c9d,'overlay':_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x336),'children':_0x20f703(_0x21f13b,{'value':_0x37d037,'onChange':_0x35f1b9=>{const _0x48d0ed=_0x30f542;var _0xb4df13;Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'color':(_0xb4df13=_0x3def50['stroke'])==null?void 0x0:_0xb4df13[_0x48d0ed(0x4ce)]}}},{'stroke':{'color':_0x35f1b9}}),_0x5696cb(_0x35f1b9),_0x187853(!0x1);}})}),'open':_0x22d228,'onOpenChange':_0x187853,'children':_0xb4dd11('a',{'className':'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','children':[_0x20f703(_0x2507f7,{'className':_0x30f542(0x58d),'extend':{'colorChannel1':_0x37d037}}),_0x20f703(_0x3e4f53,{'className':_0x45e4e0(_0x30f542(0x4d8),{'univer-rotate-180':_0x22d228})})]})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x571))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-20\x20univer-flex-1','children':_0x20f703(_0x1f6580,{'className':_0x30f542(0x591),'value':_0x249865,'disabled':_0x8e9c9d,'min':0x0,'max':0x64,'formatter':_0x33ac7d=>_0x33ac7d+'%','parser':_0xbb6ec6=>(_0xbb6ec6==null?void 0x0:_0xbb6ec6[_0x30f542(0x61c)]('%',''))||'','onChange':_0x117e7e=>{const _0x299238=_0x30f542;var _0x3cfe06;let _0x2eaac5=(0x64-Math[_0x299238(0x42e)](0x0,Math[_0x299238(0x3e9)](0x64,_0x117e7e==null?0x0:_0x117e7e)))/0x64;_0x9a2aa7(_0x2eaac5),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'opacity':(_0x3cfe06=_0x3def50[_0x299238(0x2a4)])==null?void 0x0:_0x3cfe06['opacity']}}},{'stroke':{'opacity':_0x2eaac5}}),_0x4c9427[_0x299238(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x4c9427[_0x30f542(0x209)](_0x1e0e6e,!0x0),'onBlur':_0x349c58=>{const _0x24d362=_0x30f542;_0x4c9427[_0x24d362(0x209)](_0x1e0e6e,!0x1);}})})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t']('sheets-shape-ui.line.width')}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x30f542(0x591),'disabled':_0x8e9c9d,'value':_0x23ee09,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x3d191f=>_0x3d191f+_0x30f542(0x1ec),'parser':_0x32deda=>(_0x32deda==null?void 0x0:_0x32deda[_0x30f542(0x61c)](_0x30f542(0x1ec),''))||'','onChange':_0x115a62=>{const _0x3352d9=_0x30f542;if(!Number[_0x3352d9(0x24f)](_0x115a62)&&_0x115a62!==null){var _0x34d427;Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'width':(_0x34d427=_0x3def50['stroke'])==null?void 0x0:_0x34d427[_0x3352d9(0x3d7)]}}},{'stroke':{'width':_0x115a62}});}_0x4c9427[_0x3352d9(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x4c9427[_0x30f542(0x209)](_0x1e0e6e,!0x0),'onBlur':_0x18893f=>{const _0x25751a=_0x30f542;_0x4c9427[_0x25751a(0x209)](_0x1e0e6e,!0x1);}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x318))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x19fb5f),'options':_0x5caa48,'disabled':_0x8e9c9d,'onChange':_0x3a1d76=>{const _0x4f71ac=_0x30f542;var _0x3d1267;_0x4d1bfc(Number(_0x3a1d76)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'dashType':(_0x3d1267=_0x3def50[_0x4f71ac(0x2a4)])==null?void 0x0:_0x3d1267['dashType']}}},{'stroke':{'dashType':Number(_0x3a1d76)}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x56e))}),_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-28','children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x903efc),'options':_0x260fb2,'disabled':_0x8e9c9d,'onChange':_0x4938c2=>{const _0x48272f=_0x30f542;var _0x11b452;_0x4dc42c(Number(_0x4938c2)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'capType':(_0x11b452=_0x3def50['stroke'])==null?void 0x0:_0x11b452[_0x48272f(0x245)]}}},{'stroke':{'capType':Number(_0x4938c2)}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x476))}),_0x20f703('div',{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x2fd830),'options':_0x215de3,'disabled':_0x8e9c9d,'onChange':_0x1eb9cc=>{const _0x34c131=_0x30f542;var _0x7b22d7;_0x5e8be0(Number(_0x1eb9cc)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'lineJoinType':(_0x7b22d7=_0x3def50['stroke'])==null?void 0x0:_0x7b22d7[_0x34c131(0x360)]}}},{'stroke':{'lineJoinType':Number(_0x1eb9cc)}});}})})]}),!_0x17c500&&_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x542))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x516643),'options':_0xbeac6b,'disabled':_0x8e9c9d,'onChange':_0xcf4892=>{const _0x4ad6f3=_0x30f542;var _0xe6fca8;_0x464c15(Number(_0xcf4892)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'sketchType':(_0xe6fca8=_0x3def50[_0x4ad6f3(0x2a4)])==null?void 0x0:_0xe6fca8['sketchType']}}},{'stroke':{'sketchType':Number(_0xcf4892)}});}})})]}),_0x17c500&&_0xb4dd11(_0x7b339f,{'children':[_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x230))}),_0x20f703('div',{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x5b8f10),'options':_0x6991cc,'onChange':_0x428816=>{const _0x4efa45=_0x30f542;var _0xa12c86;_0xcb61a6(Number(_0x428816)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'startArrow':{'type':(_0xa12c86=_0x3def50['ln'])==null||(_0xa12c86=_0xa12c86['startArrow'])==null?void 0x0:_0xa12c86[_0x4efa45(0x52b)]}}}},{'ln':{'startArrow':{'type':Number(_0x428816)}}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x669))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x17b8f3),'options':_0x2bf1ce,'onChange':_0x1c8a8f=>{const _0x16ce14=_0x30f542;var _0x5ae8ed;_0x4e6f6a(Number(_0x1c8a8f)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x5ae8ed=_0x3def50['ln'])==null||(_0x5ae8ed=_0x5ae8ed[_0x16ce14(0x2d4)])==null?void 0x0:_0x5ae8ed[_0x16ce14(0x352)]}}}},{'ln':{'startArrow':{'size':Number(_0x1c8a8f)}}});}})})]}),_0xb4dd11('div',{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x3f1))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0xe92df6),'options':_0x6991cc,'onChange':_0x2b0993=>{const _0x4fd960=_0x30f542;var _0x963db0;_0x2c401e(Number(_0x2b0993)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x963db0=_0x3def50['ln'])==null||(_0x963db0=_0x963db0[_0x4fd960(0x3ab)])==null?void 0x0:_0x963db0['type']}}}},{'ln':{'endArrow':{'type':Number(_0x2b0993)}}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x28e))}),_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-28','children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0xc8bd0c),'options':_0x2bf1ce,'onChange':_0x46dce5=>{const _0x325f1c=_0x30f542;var _0x114898;_0x186e8d(Number(_0x46dce5)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x114898=_0x3def50['ln'])==null||(_0x114898=_0x114898[_0x325f1c(0x3ab)])==null?void 0x0:_0x114898[_0x325f1c(0x352)]}}}},{'ln':{'endArrow':{'size':Number(_0x46dce5)}}});}})})]})]})]})]});}function uo(){const _0x5e7eea=_0x5a7f20;let _0x43e841=_0x5bcd39(_0x2ac48c),[_0x5d830e,_0xadfe30]=_0x39af17(_0x43e841[_0x5e7eea(0x43b)]());return _0x45aacf(()=>{const _0x52f49c=_0x5e7eea;let _0x2d040c=_0x43e841[_0x52f49c(0x237)][_0x52f49c(0x2ab)](_0x544c15=>{_0xadfe30(_0x544c15);});return()=>{const _0x2b3467=_0x52f49c;_0x2d040c[_0x2b3467(0x223)]();};},[]),_0x5d830e['length']===0x0?null:_0x20f703('div',{'children':_0xb4dd11(_0x5e7eea(0x2ba),{'className':_0x5e7eea(0x4ee),'children':[_0x20f703(_0x1e005d,{'drawings':_0x5d830e,'hasCropper':!0x1}),_0x20f703(_0x498cce,{'drawings':_0x5d830e})]})});}function fo(_0x2cfbcc){const _0xbdd843=_0x5a7f20;let {shapeData:_0xa6d424,shapeId:_0x227336,shapeType:_0x53975f,version:_0x194a29,unitId:_0x526388,subUnitId:_0x4a732e,disableShapeOption:_0x3765f9}=_0x2cfbcc,_0x1201c1=_0x5bcd39(_0x2e65fd),_0x5dafdc=_0x39df67(_0x53975f),[_0x1b4559,_0x49a288]=_0x39af17(0x0),_0x434253=[{'label':_0x20f703(_0xbdd843(0x2ba),{'children':_0x1201c1['t']('sheets-shape-ui.fill.title')}),'children':_0x20f703(_0xbdd843(0x26e),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x20f703(ao,{'shapeId':_0x227336,'shapeData':_0xa6d424,'isLineShape':_0x5dafdc,'subUnitId':_0x4a732e,'unitId':_0x526388,'disableShapeOption':_0x3765f9},_0x227336)})},{'label':_0x20f703('div',{'children':_0x1201c1['t'](_0xbdd843(0x240))}),'children':_0x20f703(_0xbdd843(0x26e),{'className':_0xbdd843(0x3c4),'children':_0x20f703(lo,{'shapeId':_0x227336,'shapeData':_0xa6d424,'isLineShape':_0x5dafdc,'subUnitId':_0x4a732e,'unitId':_0x526388,'disableShapeOption':_0x3765f9},_0x227336)})}];return _0xb4dd11(_0xbdd843(0x2ba),{'className':_0xbdd843(0x396),'children':[_0xb4dd11('div',{'className':'univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','children':[_0xb4dd11('div',{'className':_0x45e4e0(_0xbdd843(0x4cf),_0x1b4559===0x0?_0xbdd843(0x433):_0xbdd843(0x58d)),'onClick':()=>_0x49a288(0x0),'children':[_0x1201c1['t']('sheets-shape-ui.shapeStyle'),_0x20f703(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x3a5),{'univer-bg-primary-600':_0x1b4559===0x0,'univer-bg-transparent':_0x1b4559!==0x0})})]}),_0xb4dd11(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x4cf),{'univer-text-primary-600':_0x1b4559===0x1,'univer-text-gray-500':_0x1b4559!==0x1}),'onClick':()=>_0x49a288(0x1),'children':[_0x1201c1['t'](_0xbdd843(0x3b0)),_0x20f703(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x54c),{'univer-bg-primary-600':_0x1b4559===0x1,'univer-bg-transparent':_0x1b4559!==0x1})})]})]}),_0x20f703(_0xbdd843(0x2ba),{'className':_0xbdd843(0x314),'children':_0x1b4559===0x0?_0x20f703('div',{'className':'','children':_0x20f703(_0xa8f5b0,{'items':_0x434253})},_0x194a29):_0x20f703(uo,{})})]});}var po=class extends _0xe1d4df{constructor(_0x874e67,_0xd67157){const _0x28b1f4=_0x5a7f20;super(_0x874e67,_0xd67157),Y(this,_0x28b1f4(0x595),null),Y(this,_0x28b1f4(0x635),null),Y(this,_0x28b1f4(0x479),null),Y(this,_0x28b1f4(0x2aa),null),_0xd67157&&this[_0x28b1f4(0x4fc)](_0xd67157);}[_0x5a7f20(0x514)](){const _0x2ab20d=_0x5a7f20;return{'unitId':this[_0x2ab20d(0x479)],'subUnitId':this[_0x2ab20d(0x2aa)],'drawingId':this[_0x2ab20d(0x595)]};}[_0x5a7f20(0x4fc)](_0x302734){const _0x32f166=_0x5a7f20;_0x302734[_0x32f166(0x384)]!==void 0x0&&(this[_0x32f166(0x595)]=_0x302734[_0x32f166(0x384)]),_0x302734[_0x32f166(0x517)]!==void 0x0&&(this[_0x32f166(0x635)]=_0x302734[_0x32f166(0x517)]),_0x302734[_0x32f166(0x666)]!==void 0x0&&(this[_0x32f166(0x479)]=_0x302734[_0x32f166(0x666)]),_0x302734[_0x32f166(0x279)]!==void 0x0&&(this[_0x32f166(0x2aa)]=_0x302734[_0x32f166(0x279)]),this['transformByState']({'width':_0x302734[_0x32f166(0x3d7)],'height':_0x302734[_0x32f166(0x4c8)]});}[_0x5a7f20(0x260)](_0x5dbffa){const _0x4bc77f=_0x5a7f20;_0x574c0f[_0x4bc77f(0x2ce)](_0x5dbffa,{'radius':_0x9a1b85[_0x4bc77f(0x21e)],'fill':_0x9a1b85[_0x4bc77f(0x3d0)],'stroke':_0x9a1b85['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};let mo=class extends _0x185401{constructor(_0x1c1155,_0x3e3856,_0x355765,_0x1985d3,_0x22ffc2,_0x48c250,_0x3faa8d,_0x5db692){const _0x3bbffa=_0x5a7f20;super(),this[_0x3bbffa(0x434)]=_0x1c1155,this[_0x3bbffa(0x1c4)]=_0x3e3856,this[_0x3bbffa(0x65c)]=_0x355765,this[_0x3bbffa(0x225)]=_0x1985d3,this[_0x3bbffa(0x33e)]=_0x22ffc2,this['_sheetDrawingShapeRenderController']=_0x48c250,this[_0x3bbffa(0x4c0)]=_0x3faa8d,this[_0x3bbffa(0x52a)]=_0x5db692,Y(this,_0x3bbffa(0x1be),null),Y(this,_0x3bbffa(0x479),null),Y(this,_0x3bbffa(0x2aa),null),Y(this,_0x3bbffa(0x306),void 0x0),Y(this,'_shapes',[]),Y(this,_0x3bbffa(0x428),0x0),Y(this,_0x3bbffa(0x3ec),0x0),Y(this,_0x3bbffa(0x29c),0x0),Y(this,_0x3bbffa(0x443),0x0),Y(this,_0x3bbffa(0x265),!0x1),Y(this,_0x3bbffa(0x67c),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x3bbffa(0x540),void 0x0),Y(this,'_adjHandlerPointerUp',void 0x0),Y(this,_0x3bbffa(0x436),!0x1),this[_0x3bbffa(0x315)](),this[_0x3bbffa(0x5f3)]();}[_0x5a7f20(0x5b8)](_0x402eaf,_0x20045a,_0xaa9008){const _0x56e502=_0x5a7f20;let _0x41587e=this[_0x56e502(0x225)][_0x56e502(0x2dc)](_0x402eaf,_0x20045a,_0xaa9008);if(_0x41587e)return _0x41587e[_0x56e502(0x295)]();}[_0x5a7f20(0x492)](){const _0x7a9159=_0x5a7f20;this[_0x7a9159(0x38d)]();}[_0x5a7f20(0x383)](){const _0x32655d=_0x5a7f20;this[_0x32655d(0x4ef)](!0x0);}['setShouldShowAdjust'](_0x31f100){this['_isShouldShowDrawingShapeAdjust']=_0x31f100;}[_0x5a7f20(0x211)](_0x3c0e69,_0x5b01f3,_0x4f894c,_0x3b336a){const _0x2298a8=_0x5a7f20;let _0x39ddfc=this[_0x2298a8(0x225)][_0x2298a8(0x2dc)](_0x3c0e69,_0x5b01f3,_0x4f894c);if(_0x39ddfc)return _0x39ddfc['getAdjustInfoByName'](_0x3b336a);}['_createShapeAdjustControls'](_0x4c05d4=!0x1){const _0x2a67af=_0x5a7f20;if(this[_0x2a67af(0x479)]===null||this[_0x2a67af(0x2aa)]===null||this[_0x2a67af(0x1be)]===null)return;let _0x1c51fd=this[_0x2a67af(0x33e)]['getRenderById'](this['_unitId']);if(!_0x1c51fd||!_0x1c51fd[_0x2a67af(0x49a)](_0x4e2ed9)[_0x2a67af(0x54e)]())return;let {scene:_0x59b198}=_0x1c51fd,_0xa72c5d={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2a67af(0x1be)]},_0x4233b9=this[_0x2a67af(0x65c)][_0x2a67af(0x4b2)](_0xa72c5d),{transform:_0x62cd64}=_0x4233b9;if(!_0x62cd64||_0x4233b9[_0x2a67af(0x526)]!==_0x5d8611[_0x2a67af(0x415)])return;let {left:_0x12f3d1,top:_0x4e3d2e,width:_0x5a5c6d,height:_0x3eb76d,flipX:_0x4996df,flipY:_0x2fb068,angle:_0x4c5995=0x0}=_0x62cd64;if(_0x12f3d1===void 0x0||_0x4e3d2e===void 0x0)return;_0x4c05d4&&(this['_activeShapeAdjustPointList']=this[_0x2a67af(0x5b8)](this[_0x2a67af(0x479)],this[_0x2a67af(0x2aa)],this[_0x2a67af(0x1be)]));let _0x149de3=this[_0x2a67af(0x306)];for(let _0x1eb7c2=0x0;_0x1eb7c2<_0x149de3[_0x2a67af(0x3d6)];_0x1eb7c2++){let _0x4c421a=_0x149de3[_0x1eb7c2],_0x222197=_0x4c421a['x'],_0x1ccc4d=_0x4c421a['y'];if(_0x4996df&&(_0x222197=(_0x5a5c6d||0x0)-_0x222197),_0x2fb068&&(_0x1ccc4d=(_0x3eb76d||0x0)-_0x1ccc4d),_0x4c5995!==0x0){let _0x4dd5b5=(_0x5a5c6d||0x0)/0x2,_0x23d8e8=(_0x3eb76d||0x0)/0x2,_0x2d2dcf=_0x4c5995*Math['PI']/0xb4,_0x135923=Math[_0x2a67af(0x3bb)](_0x2d2dcf),_0x38cce7=Math[_0x2a67af(0x4a5)](_0x2d2dcf),_0x4251e5=_0x222197-_0x4dd5b5,_0x52bdc1=_0x1ccc4d-_0x23d8e8;_0x222197=_0x4dd5b5+(_0x4251e5*_0x135923-_0x52bdc1*_0x38cce7),_0x1ccc4d=_0x23d8e8+(_0x4251e5*_0x38cce7+_0x52bdc1*_0x135923);}let _0x4eaa01={'x':_0x222197,'y':_0x1ccc4d,'adjName':_0x4c421a['adjName']};this[_0x2a67af(0x214)](_0x59b198,_0x4eaa01,_0x4eaa01['adjName'],_0x12f3d1,_0x4e3d2e,this[_0x2a67af(0x479)],this[_0x2a67af(0x2aa)]);}}['_updateShapeAdjustControls'](_0x41d7e9=!0x1){const _0xc68170=_0x5a7f20;_0x41d7e9&&(this[_0xc68170(0x38d)](),this['_createShapeAdjustControls'](_0x41d7e9));}[_0x5a7f20(0x214)](_0xa07d6,_0x896824,_0xcf7292,_0x25ac65,_0x325e21,_0x3d6d60,_0x3b74f6){const _0x1d22be=_0x5a7f20;if(!this[_0x1d22be(0x1be)])return;let _0x1c24b5=_0xa07d6[_0x1d22be(0x33c)](_0x1d22be(0x4a7)+this[_0x1d22be(0x1be)]+'-'+_0xcf7292);if(_0x1c24b5){_0x1c24b5[_0x1d22be(0x288)]({'left':_0x896824['x']+_0x25ac65-_0x9a1b85['adjHandleSize'],'top':_0x896824['y']+_0x325e21-_0x9a1b85[_0x1d22be(0x21e)]});return;}let _0xe7a1ac={'left':_0x896824['x']+_0x25ac65-_0x9a1b85[_0x1d22be(0x21e)],'top':_0x896824['y']+_0x325e21-_0x9a1b85['adjHandleSize'],'adjName':_0xcf7292,'shapeId':this[_0x1d22be(0x1be)],'unitId':_0x3d6d60,'subUnitId':_0x3b74f6,'width':_0x9a1b85[_0x1d22be(0x21e)]+0x8,'height':_0x9a1b85['adjHandleSize']+0x8,'zIndex':_0x3929c9+0x1,'evented':!0x0},_0x3ad64b=new po(_0x1d22be(0x4a7)+this[_0x1d22be(0x1be)]+'-'+_0xcf7292,_0xe7a1ac);this['_shapes'][_0x1d22be(0x61f)](_0x3ad64b),this[_0x1d22be(0x65b)](_0x3ad64b,_0xa07d6,_0xcf7292),_0xa07d6['addObject'](_0x3ad64b,_0x3929c9+0x1);}[_0x5a7f20(0x38d)](){const _0x1d0d7a=_0x5a7f20;this[_0x1d0d7a(0x62b)][_0x1d0d7a(0x3d6)]!==0x0&&(this[_0x1d0d7a(0x62b)][_0x1d0d7a(0x2cc)](_0x10af06=>{_0x10af06['dispose']();}),this['_shapes']=[]);}[_0x5a7f20(0x4a2)](){const _0xd3d707=_0x5a7f20;this[_0xd3d707(0x232)]();}[_0x5a7f20(0x43e)](_0x5158e3,_0x20df53){const _0x5d6dd3=_0x5a7f20;var _0x522a27;let _0x53e77f={'x':0x0,'y':0x0};if(!_0x5158e3||!_0x20df53)return _0x53e77f;let _0x21b7f8=this['_renderManagerService'][_0x5d6dd3(0x36a)](_0x5158e3);if(!_0x21b7f8||!_0x21b7f8[_0x5d6dd3(0x49a)](_0x4e2ed9)['getSkeleton'](_0x20df53))return _0x53e77f;let _0x2d7831=_0x21b7f8['with'](_0x13c1a9),_0x403384=_0x2d7831==null?void 0x0:_0x2d7831[_0x5d6dd3(0x51b)]();if(!_0x403384)return _0x53e77f;let _0x2c81f8=(_0x522a27=this[_0x5d6dd3(0x4c0)][_0x5d6dd3(0x4e7)](_0x5158e3))==null?void 0x0:_0x522a27[_0x5d6dd3(0x64e)](_0x20df53);if(!_0x2c81f8)return _0x53e77f;let _0x2e00e6=_0x5cde96(_0x403384['sheetViewStartRow'],_0x403384['sheetViewStartColumn'],_0x21b7f8['scene'],_0x2c81f8);return _0x2e00e6?{'x':_0x2e00e6[_0x5d6dd3(0x5a0)],'y':_0x2e00e6[_0x5d6dd3(0x4b0)]}:_0x53e77f;}[_0x5a7f20(0x5e8)](_0x3d2b08,_0x2ccc7c){const _0x4faab0=_0x5a7f20;var _0x2d2c16,_0x1355b4;let _0x1e80df=(_0x2d2c16=this['_univerInstanceService'][_0x4faab0(0x4e7)](_0x3d2b08))==null?void 0x0:_0x2d2c16['getSheetBySheetId'](_0x2ccc7c);return(_0x1355b4=_0x1e80df==null?void 0x0:_0x1e80df[_0x4faab0(0x22f)]())==null?0x1:_0x1355b4;}[_0x5a7f20(0x65b)](_0x21367d,_0x341c82,_0x1a36bf){const _0x1d19dd=_0x5a7f20;this[_0x1d19dd(0x404)](_0x162f95(_0x21367d[_0x1d19dd(0x1c8)][_0x1d19dd(0x3f0)]((_0x45d196,_0xae214)=>{const _0x2e77ec=_0x1d19dd;var _0x3453fa,_0x542767,_0x1ceb2e,_0x4d688f;let _0x2ea70c=_0x21367d[_0x2e77ec(0x514)]();this[_0x2e77ec(0x67c)]=this[_0x2e77ec(0x211)](_0x2ea70c['unitId'],_0x2ea70c[_0x2e77ec(0x279)],_0x2ea70c[_0x2e77ec(0x1fb)],_0x1a36bf),this[_0x2e77ec(0x3df)]=this[_0x2e77ec(0x225)][_0x2e77ec(0x2dc)](_0x2ea70c[_0x2e77ec(0x666)],_0x2ea70c[_0x2e77ec(0x279)],_0x2ea70c['drawingId']);let _0x5dd288=this[_0x2e77ec(0x65c)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x2e77ec(0x2aa)],'drawingId':this['_activeShapeId']}),{transform:_0x1657a3}=_0x5dd288;if(_0x1657a3){let {left:_0x48159a,top:_0x4381f3,width:_0x14f869,height:_0x10cbb6}=_0x1657a3;this['_baseShapeLeft']=_0x48159a||0x0,this['_baseShapeTop']=_0x4381f3||0x0,this[_0x2e77ec(0x29c)]=_0x14f869||0x0,this['_baseShapeHeight']=_0x10cbb6||0x0;}let _0xd95d06=!!((_0x3453fa=_0x5dd288[_0x2e77ec(0x3ba)])!=null&&_0x3453fa[_0x2e77ec(0x51a)]),_0x18c2d3=!!((_0x542767=_0x5dd288[_0x2e77ec(0x3ba)])!=null&&_0x542767[_0x2e77ec(0x4e4)]),_0x4c707c=((_0x1ceb2e=_0x5dd288[_0x2e77ec(0x3ba)])==null?void 0x0:_0x1ceb2e[_0x2e77ec(0x402)])||0x0;this[_0x2e77ec(0x265)]=!0x0,_0x341c82[_0x2e77ec(0x5d5)]();let _0x4220a8=(_0x4d688f=this['_activeShapeModel'])==null?void 0x0:_0x4d688f[_0x2e77ec(0x257)](_0x1a36bf),_0x210871={[_0x1a36bf]:_0x4220a8};this['_adjHandlerPointerMove']=_0x341c82[_0x2e77ec(0x48a)][_0x2e77ec(0x3f0)]((_0x367ac7,_0x458cd6)=>{const _0x143952=_0x2e77ec;if(!this[_0x143952(0x265)])return;let {offsetX:_0x4a44fc,offsetY:_0x15bc2d}=_0x367ac7,_0x3d5cc0=this[_0x143952(0x67c)];if(this[_0x143952(0x3df)]&&_0x3d5cc0){_0x341c82[_0x143952(0x5d5)](),_0x341c82['setCursor'](_0x1b0deb[_0x143952(0x1f4)]);let _0x594fc4={'left':0x0,'top':0x0,'width':this[_0x143952(0x29c)],'height':this[_0x143952(0x443)]},_0x29a421=this['_getScrollInfo'](this[_0x143952(0x479)],this[_0x143952(0x2aa)]),_0x520d35=this[_0x143952(0x5e8)](this[_0x143952(0x479)],this[_0x143952(0x2aa)]),_0x164da7=_0x4a44fc/_0x520d35+_0x29a421['x']-this[_0x143952(0x428)],_0x242c83=_0x15bc2d/_0x520d35+_0x29a421['y']-this[_0x143952(0x3ec)];if(_0x4c707c!==0x0){let _0x1a06a7=this[_0x143952(0x29c)]/0x2,_0x4970f1=this[_0x143952(0x443)]/0x2,_0x424aae=_0x4c707c*Math['PI']/0xb4,_0x2cc84e=Math['cos'](_0x424aae),_0xd7ad49=Math[_0x143952(0x4a5)](_0x424aae),_0x31a453=_0x164da7-_0x1a06a7,_0x1637ff=_0x242c83-_0x4970f1;_0x164da7=_0x1a06a7+(_0x31a453*_0x2cc84e+_0x1637ff*_0xd7ad49),_0x242c83=_0x4970f1+(-_0x31a453*_0xd7ad49+_0x1637ff*_0x2cc84e);}_0xd95d06&&(_0x164da7=this[_0x143952(0x29c)]-_0x164da7),_0x18c2d3&&(_0x242c83=this['_baseShapeHeight']-_0x242c83);let _0xcdfd3d={'x':_0x164da7,'y':_0x242c83},_0x544469=this[_0x143952(0x3df)][_0x143952(0x3f4)](_0x594fc4,_0xcdfd3d,_0x3d5cc0,_0xd95d06,_0x18c2d3),_0x575f95=_0x3d5cc0['gdRefX']||_0x3d5cc0[_0x143952(0x4a8)]||_0x3d5cc0[_0x143952(0x40f)]||_0x3d5cc0[_0x143952(0x23c)];if(_0x575f95===void 0x0)return;this['_activeShapeModel'][_0x143952(0x348)](_0x575f95,_0x544469);let _0x198554=this[_0x143952(0x65c)]['getDrawingByParam']({'unitId':_0x2ea70c[_0x143952(0x666)],'subUnitId':_0x2ea70c['subUnitId'],'drawingId':_0x2ea70c['drawingId']});_0x198554&&(this[_0x143952(0x391)][_0x143952(0x376)](_0x198554,_0x341c82),this[_0x143952(0x306)]=this['_getShapeAdjustPointListById'](_0x2ea70c[_0x143952(0x666)],_0x2ea70c[_0x143952(0x279)],_0x2ea70c[_0x143952(0x1fb)]),this['_updateAdjustControlPositions']());}_0x458cd6[_0x143952(0x59a)]();}),this['_adjHandlerPointerUp']=_0x341c82[_0x2e77ec(0x442)][_0x2e77ec(0x3f0)]((_0x4b3094,_0x43da9c)=>{const _0x236406=_0x2e77ec;this[_0x236406(0x540)][_0x236406(0x223)](),this[_0x236406(0x409)]['unsubscribe'](),_0x341c82['resetCursor']();let _0x116c66=this[_0x236406(0x67c)];if(_0x116c66){let _0x39b6b2=_0x2ea70c['unitId'],_0x282062=_0x2ea70c['subUnitId'],_0x58eaea=_0x2ea70c[_0x236406(0x1fb)],_0x47c436=_0x116c66[_0x236406(0x4c7)]||_0x116c66[_0x236406(0x4a8)]||_0x116c66['gdRefAng']||_0x116c66[_0x236406(0x23c)];if(_0x47c436!==void 0x0){var _0xc210cf;let _0x5e0f75=(_0xc210cf=this[_0x236406(0x3df)])==null?void 0x0:_0xc210cf[_0x236406(0x257)](_0x47c436);_0x5e0f75!==void 0x0&&Z(this['_commandService'],_0x39b6b2,_0x282062,_0x58eaea,{'oldShapeData':{'adjustValues':_0x210871}},{'adjustValues':{[_0x47c436]:_0x5e0f75}});}}this[_0x236406(0x67c)]=void 0x0,this[_0x236406(0x3df)]=void 0x0,this[_0x236406(0x265)]=!0x1,_0x43da9c['stopPropagation'](),_0x341c82[_0x236406(0x3eb)]();}),_0xae214[_0x2e77ec(0x59a)]();})));}[_0x5a7f20(0x5f3)](){const _0x11737b=_0x5a7f20;let _0x3c57a7=this[_0x11737b(0x4c0)]['getCurrentTypeOfUnit$'](_0x162ef7[_0x11737b(0x627)]);this[_0x11737b(0x404)](_0x3c57a7[_0x11737b(0x254)](_0x1e398(_0x8e5be8=>_0x8e5be8?_0x8e5be8[_0x11737b(0x42a)]['pipe'](_0x1e398(_0x287b00=>{const _0x38ebfe=_0x11737b;if(!_0x287b00)return _0x502183;let _0x369c01=_0x8e5be8['getUnitId'](),_0x1dc622=this['_renderManagerService'][_0x38ebfe(0x36a)](_0x369c01),_0x237bf2=_0x1dc622==null?void 0x0:_0x1dc622[_0x38ebfe(0x2a0)];return _0x237bf2?_0x570989(_0x237bf2):_0x502183;})):_0x502183))[_0x11737b(0x2ab)](_0x1d0427=>{const _0x3cfac4=_0x11737b;let _0x3a3740=_0x1d0427[_0x3cfac4(0x498)]();this[_0x3cfac4(0x404)](_0x1d0427[_0x3cfac4(0x48a)][_0x3cfac4(0x3f0)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this['disposeWithMe'](_0x3a3740[_0x3cfac4(0x518)][_0x3cfac4(0x2ab)](_0x100b6f=>{const _0x4a82ab=_0x3cfac4;let {objects:_0xf2b628}=_0x100b6f;this[_0x4a82ab(0x232)](),_0xf2b628!==null&&_0xf2b628[_0x4a82ab(0x352)]===0x1&&_0xf2b628[_0x4a82ab(0x204)]()[_0x4a82ab(0x49b)]()['value']instanceof to&&this[_0x4a82ab(0x56c)](!0x0);})),this[_0x3cfac4(0x404)](_0x3a3740[_0x3cfac4(0x4e9)][_0x3cfac4(0x2ab)](()=>{const _0x172550=_0x3cfac4;this[_0x172550(0x436)]&&this['_clearShapeAdjustControls']();})),this[_0x3cfac4(0x404)](_0x1d0427[_0x3cfac4(0x442)][_0x3cfac4(0x3f0)](()=>{const _0x22fc3e=_0x3cfac4;this[_0x22fc3e(0x436)]&&(this[_0x22fc3e(0x56c)](!0x1),this[_0x22fc3e(0x232)]());})),this[_0x3cfac4(0x404)](_0x3a3740[_0x3cfac4(0x1f5)]['subscribe'](()=>{const _0x1bec20=_0x3cfac4;this[_0x1bec20(0x479)]&&this['_subUnitId']&&this['_activeShapeId']&&this[_0x1bec20(0x65c)][_0x1bec20(0x4b2)]({'unitId':this[_0x1bec20(0x479)],'subUnitId':this[_0x1bec20(0x2aa)],'drawingId':this[_0x1bec20(0x1be)]})&&(this[_0x1bec20(0x306)]=this['_getShapeAdjustPointListById'](this[_0x1bec20(0x479)],this[_0x1bec20(0x2aa)],this[_0x1bec20(0x1be)]),this[_0x1bec20(0x4a2)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x20aa6a=_0x5a7f20;this[_0x20aa6a(0x404)](this[_0x20aa6a(0x65c)][_0x20aa6a(0x237)]['subscribe'](_0x349be6=>{const _0x140bd8=_0x20aa6a;if(_0x349be6[_0x140bd8(0x3d6)]===0x1){let _0x5be932=_0x349be6[0x0];if(_0x5be932[_0x140bd8(0x526)]===_0x5d8611[_0x140bd8(0x415)]){this[_0x140bd8(0x1be)]=_0x5be932['drawingId'];let {unitId:_0x1ad236,subUnitId:_0x469c29}=_0x5be932;this[_0x140bd8(0x306)]=this[_0x140bd8(0x5b8)](_0x1ad236,_0x469c29,this[_0x140bd8(0x1be)]),this['_unitId']=_0x1ad236,this[_0x140bd8(0x2aa)]=_0x469c29,this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls']();}else this[_0x140bd8(0x1be)]=null,this[_0x140bd8(0x306)]=void 0x0,this[_0x140bd8(0x479)]=null,this[_0x140bd8(0x2aa)]=null,this[_0x140bd8(0x38d)]();}(_0x349be6[_0x140bd8(0x3d6)]>0x1||_0x349be6[_0x140bd8(0x3d6)]===0x0)&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x140bd8(0x2aa)]=null,this[_0x140bd8(0x38d)]());})),this[_0x20aa6a(0x404)](this['_drawingManagerService'][_0x20aa6a(0x47c)][_0x20aa6a(0x2ab)](_0x4ef9a0=>{const _0x2be4a0=_0x20aa6a;if(_0x4ef9a0[_0x2be4a0(0x3d6)]===0x1){var _0x3aef36;let _0x4f000c=_0x4ef9a0[0x0];((_0x3aef36=this[_0x2be4a0(0x65c)][_0x2be4a0(0x4b2)](_0x4f000c))==null?void 0x0:_0x3aef36[_0x2be4a0(0x526)])===_0x5d8611['DRAWING_SHAPE']&&this[_0x2be4a0(0x4ef)](!0x0);}})),this[_0x20aa6a(0x404)](this[_0x20aa6a(0x65c)][_0x20aa6a(0x5bb)][_0x20aa6a(0x2ab)](_0x437087=>{const _0x4caf8d=_0x20aa6a;for(let _0x5ae38a of _0x437087)this[_0x4caf8d(0x1be)]===_0x5ae38a[_0x4caf8d(0x1fb)]&&(this[_0x4caf8d(0x1be)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x4caf8d(0x2aa)]=null,this[_0x4caf8d(0x38d)]());}));}};mo=$([Q(0x1,_0x2d6196),Q(0x2,_0x2ac48c),Q(0x3,_0x1e77ba(_0xc9428c)),Q(0x4,_0x1e77ba(_0x43fdcf)),Q(0x5,_0x1e77ba(no)),Q(0x6,_0x1005f5),Q(0x7,_0x2e069e)],mo);const ho={'id':_0x5a7f20(0x678),'type':_0x90c7cf[_0x5a7f20(0x1ce)],'handler':(_0x150cc0,_0x4df3b8)=>{const _0x37fed6=_0x5a7f20;let _0x2bc6ee=_0x150cc0[_0x37fed6(0x2f7)](_0x2ac48c),_0x2c7824=_0x150cc0['get'](_0x43fdcf),_0x5d14e5=_0x150cc0[_0x37fed6(0x2f7)](mo);if(_0x4df3b8==null)return!0x0;if(_0x4df3b8[_0x37fed6(0x3d6)]>0x0){var _0x1b1c04;let _0x4247f4=(_0x1b1c04=_0x2c7824[_0x37fed6(0x36a)](_0x4df3b8[0x0]['unitId']))==null?void 0x0:_0x1b1c04[_0x37fed6(0x2a0)];if(_0x4247f4){let {unitId:_0x1c6f82,subUnitId:_0x1c888b,drawingId:_0xd01101}=_0x4df3b8[0x0],_0x5c0a60=_0x46e3e9({'unitId':_0x1c6f82,'subUnitId':_0x1c888b,'drawingId':_0xd01101},void 0x0),_0x41118e=_0x4247f4['getObjectIncludeInGroup'](_0x5c0a60);if(_0x41118e){var _0x4f65f8;(_0x4f65f8=_0x2c7824[_0x37fed6(0x36a)](_0x4df3b8[0x0]['unitId']))==null||(_0x4f65f8=_0x4f65f8[_0x37fed6(0x2a0)][_0x37fed6(0x567)]())==null||_0x4f65f8[_0x37fed6(0x5c2)](_0x41118e);}}_0x2bc6ee['focusDrawing'](_0x4df3b8),_0x5d14e5[_0x37fed6(0x56c)](!0x1);}return!0x0;}},go={'type':_0x90c7cf['COMMAND'],'id':'sheet.command.menu-insert-shape','handler':async(_0x32238d,_0x4a89d8)=>{const _0x281a7b=_0x5a7f20;let _0x573bf6=_0x4ed56f(_0x32238d[_0x281a7b(0x2f7)](_0x1005f5));if(!_0x573bf6)return!0x1;let _0x5b241c=_0x32238d['get'](_0x3e5ae1)[_0x281a7b(0x283)]();if(!_0x5b241c)return!0x1;let _0x37ada2=_0x32238d[_0x281a7b(0x2f7)](_0x2e069e),{unitId:_0x418e8e,subUnitId:_0x5641f8}=_0x573bf6,{value:_0x51ea60,enhanceParams:_0x413acd}=_0x4a89d8,{range:_0x3622f6}=_0x5b241c,_0x116972={'unitId':_0x418e8e,'subUnitId':_0x5641f8,'shapeType':_0x51ea60,'range':_0x3622f6,'shapeId':_0x1ecc78()};if(_0x413acd){let _0x1bc8ec=_0x39df67(_0x51ea60),_0x164ed6=_0x51ea60===_0x5c87c5[_0x281a7b(0x2d3)];_0x1bc8ec&&(_0x413acd[_0x281a7b(0x2d4)]||_0x413acd[_0x281a7b(0x3ab)])&&(_0x116972['shapeData']={'ln':{'startArrow':_0x413acd[_0x281a7b(0x2d4)]?{'type':_0x285f09[_0x281a7b(0x4a3)],'size':_0x193749[_0x281a7b(0x2da)]}:void 0x0,'endArrow':_0x413acd[_0x281a7b(0x3ab)]?{'type':_0x285f09[_0x281a7b(0x4a3)],'size':_0x193749[_0x281a7b(0x533)]}:void 0x0}}),_0x164ed6&&(_0x413acd[_0x281a7b(0x21f)]||_0x413acd[_0x281a7b(0x564)])&&(_0x116972[_0x281a7b(0x4ed)]={'fill':{'fillType':_0x1a4c7e[_0x281a7b(0x5e1)],'color':_0x281a7b(0x5bd)},'stroke':{'lineStrokeType':_0xbaf4f3[_0x281a7b(0x1ff)],'width':0x1,'color':_0x281a7b(0x423)},'shapeText':{'isHorizontal':!!_0x413acd[_0x281a7b(0x21f)]}});}let _0x4763e4=_0x37ada2[_0x281a7b(0x67d)](_0x5a3ad6['id'],_0x116972);return setTimeout(()=>{_0x37ada2['executeCommand'](ho['id'],[{'unitId':_0x418e8e,'subUnitId':_0x5641f8,'drawingId':_0x116972['shapeId']}]);},0xc8),_0x4763e4;}};function _0x2c06(_0x47ae0d,_0x495bf4){_0x47ae0d=_0x47ae0d-0x1bd;const _0x53542f=_0x5354();let _0x2c0602=_0x53542f[_0x47ae0d];return _0x2c0602;}let _o=class extends _0x185401{constructor(_0x3c4af5,_0x39e22f){const _0x423d43=_0x5a7f20;super(),this['_clipService']=_0x3c4af5,this[_0x423d43(0x65c)]=_0x39e22f,this[_0x423d43(0x598)](),this[_0x423d43(0x594)][_0x423d43(0x5ab)](!0x0),this[_0x423d43(0x404)]({'dispose':()=>this[_0x423d43(0x594)][_0x423d43(0x5ab)](!0x1)});}[_0x5a7f20(0x598)](){const _0x1e490c=_0x5a7f20;let _0x375b96=this['_clipService'],_0x37809a=new Map(),_0x5c9c99=_0x375b96['registerClipDelegate']((_0x2e01bd,_0x243dd2,_0x11e53d,_0x1e14b0,_0x366327)=>{const _0x4fdf57=_0x2c06;let _0x59d853=_0x243dd2;if(_0x59d853===_0x5c87c5[_0x4fdf57(0x4dc)]||_0x243dd2===_0x4fdf57(0x217))return!0x1;try{let _0x114d35=_0x37809a[_0x4fdf57(0x2f7)](_0x243dd2);return _0x114d35||(_0x114d35=new _0x198c5a(_0x59d853,_0x4fdf57(0x2ec)+_0x243dd2),_0x37809a['set'](_0x243dd2,_0x114d35)),_0x366327&&_0x114d35[_0x4fdf57(0x5b0)]({'adjustValues':_0x366327},!0x0),_0x114d35[_0x4fdf57(0x5ed)]({'width':_0x11e53d,'height':_0x1e14b0}),_0x114d35[_0x4fdf57(0x600)](_0x2e01bd,{'left':0x0,'top':0x0,'width':_0x11e53d,'height':_0x1e14b0});}catch{return!0x1;}});this[_0x1e490c(0x404)](_0x5c9c99),this['disposeWithMe']({'dispose':()=>_0x37809a[_0x1e490c(0x23f)]()});}[_0x5a7f20(0x35e)](_0x40e123,_0xba094a,_0x400544,_0x5b271e,_0x5d26ae){const _0x59849c=_0x5a7f20;let _0x5a4545=this[_0x59849c(0x65c)][_0x59849c(0x642)](_0x40e123,_0xba094a);if(!_0x5a4545[_0x400544])return;let _0x596ee4={..._0x5a4545[_0x400544],'prstGeom':_0x5b271e,'adjustValues':_0x5d26ae};this[_0x59849c(0x65c)][_0x59849c(0x3d4)]([_0x596ee4]);}};_o=$([Q(0x0,_0x1e77ba(_0x25daf2)),Q(0x1,_0x1e77ba(_0x2ac48c))],_o);const vo=[{'group':'line','type':_0x5c87c5['Line'],'icon':_0x5a7f20(0x462),'name':'sheets-shape-ui.shape.type.line'},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x2d0)],'icon':'ShapeStraightConnector1Icon','name':'sheets-shape-ui.shape.type.straight-connector1','endArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5['StraightConnector1'],'icon':_0x5a7f20(0x281),'name':_0x5a7f20(0x252),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x4b6)],'icon':_0x5a7f20(0x5a3),'name':_0x5a7f20(0x1fc)},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5['BentConnector3'],'icon':_0x5a7f20(0x649),'name':'sheets-shape-ui.shape.type.bent-connector3-arrow1','endArrow':!0x0},{'group':'line','type':_0x5c87c5[_0x5a7f20(0x4b6)],'icon':'ShapeBentConnector3Arrow2Icon','name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x4bd),'name':_0x5a7f20(0x50e)},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x26f),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':'line','type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x395),'name':_0x5a7f20(0x62d),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':'ShapeRectIcon','name':_0x5a7f20(0x1e2)},{'group':'rectangle','type':_0x5c87c5[_0x5a7f20(0x39d)],'icon':_0x5a7f20(0x20e),'name':'sheets-shape-ui.shape.type.round-rect'},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x4e3)],'icon':_0x5a7f20(0x3ca),'name':_0x5a7f20(0x66b)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x60c)],'icon':_0x5a7f20(0x60f),'name':_0x5a7f20(0x37b)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5['Snip2DiagRect'],'icon':'ShapeSnip2DiagRectIcon','name':_0x5a7f20(0x50f)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x67e)],'icon':_0x5a7f20(0x353),'name':_0x5a7f20(0x471)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x201)],'icon':_0x5a7f20(0x4f8),'name':_0x5a7f20(0x503)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5['Round2SameRect'],'icon':_0x5a7f20(0x426),'name':_0x5a7f20(0x22c)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x1ca)],'icon':'ShapeRound2DiagRectIcon','name':_0x5a7f20(0x2bc)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':_0x5a7f20(0x42f),'name':_0x5a7f20(0x317),'horizontal':!0x0},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':_0x5a7f20(0x637),'name':_0x5a7f20(0x4d7),'vertical':!0x0},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x63a)],'icon':_0x5a7f20(0x417),'name':_0x5a7f20(0x44b)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x644)],'icon':_0x5a7f20(0x58e),'name':_0x5a7f20(0x65e)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['RightTriangle'],'icon':_0x5a7f20(0x3cd),'name':_0x5a7f20(0x206)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3c0)],'icon':_0x5a7f20(0x327),'name':_0x5a7f20(0x37d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Trapezoid'],'icon':_0x5a7f20(0x5f5),'name':'sheets-shape-ui.shape.type.trapezoid'},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5f0)],'icon':_0x5a7f20(0x4cc),'name':_0x5a7f20(0x3ed)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2d5)],'icon':_0x5a7f20(0x1d3),'name':_0x5a7f20(0x5df)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Hexagon'],'icon':_0x5a7f20(0x648),'name':_0x5a7f20(0x31c)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3e8)],'icon':_0x5a7f20(0x22b),'name':_0x5a7f20(0x491)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3b3)],'icon':_0x5a7f20(0x3f8),'name':_0x5a7f20(0x657)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x53e)],'icon':'ShapeDecagonIcon','name':_0x5a7f20(0x613)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x516)],'icon':'ShapeDodecagonIcon','name':_0x5a7f20(0x4e1)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x1ed)],'icon':_0x5a7f20(0x55c),'name':_0x5a7f20(0x601)},{'group':'basicShape','type':_0x5c87c5['Chord'],'icon':_0x5a7f20(0x1e7),'name':_0x5a7f20(0x64d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x24d)],'icon':_0x5a7f20(0x2ac),'name':_0x5a7f20(0x30a)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Frame'],'icon':_0x5a7f20(0x416),'name':'sheets-shape-ui.shape.type.frame'},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x21a)],'icon':_0x5a7f20(0x422),'name':_0x5a7f20(0x650)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x389)],'icon':_0x5a7f20(0x55b),'name':_0x5a7f20(0x431)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x59f)],'icon':'ShapeDiagStripeIcon','name':_0x5a7f20(0x2fe)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x4ca)],'icon':_0x5a7f20(0x248),'name':_0x5a7f20(0x48f)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Plaque'],'icon':_0x5a7f20(0x671),'name':_0x5a7f20(0x45f)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Can'],'icon':_0x5a7f20(0x325),'name':_0x5a7f20(0x558)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x604)],'icon':_0x5a7f20(0x321),'name':_0x5a7f20(0x52e)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Bevel'],'icon':_0x5a7f20(0x673),'name':_0x5a7f20(0x66a)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x511)],'icon':'ShapeDonutIcon','name':_0x5a7f20(0x4e6)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['NoSmoking'],'icon':_0x5a7f20(0x512),'name':'sheets-shape-ui.shape.type.no-smoking'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x5d4)],'icon':_0x5a7f20(0x333),'name':_0x5a7f20(0x680)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x499)],'icon':_0x5a7f20(0x221),'name':_0x5a7f20(0x531)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['SmileyFace'],'icon':_0x5a7f20(0x446),'name':'sheets-shape-ui.shape.type.smiley-face'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x292)],'icon':'ShapeHeartIcon','name':_0x5a7f20(0x3b4)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x25e)],'icon':'ShapeLightningBoltIcon','name':_0x5a7f20(0x4ea)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x523)],'icon':_0x5a7f20(0x5b4),'name':'sheets-shape-ui.shape.type.sun'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x23b)],'icon':_0x5a7f20(0x48e),'name':'sheets-shape-ui.shape.type.moon'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x2f6)],'icon':'ShapeCloudIcon','name':_0x5a7f20(0x467)},{'group':'basicShape','type':_0x5c87c5['Arc'],'icon':'ShapeArcIcon','name':_0x5a7f20(0x5c4)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5fe)],'icon':_0x5a7f20(0x39f),'name':_0x5a7f20(0x1d4)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x36e)],'icon':'ShapeBracePairIcon','name':_0x5a7f20(0x65d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x414)],'icon':'ShapeLeftBracketIcon','name':_0x5a7f20(0x4af)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x59c)],'icon':'ShapeRightBracketIcon','name':_0x5a7f20(0x458)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2bd)],'icon':_0x5a7f20(0x53c),'name':_0x5a7f20(0x3ad)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5c0)],'icon':_0x5a7f20(0x4da),'name':_0x5a7f20(0x656)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x2a7)],'icon':_0x5a7f20(0x56d),'name':'sheets-shape-ui.shape.type.right-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x392)],'icon':_0x5a7f20(0x2ee),'name':_0x5a7f20(0x684)},{'group':'blockArrow','type':_0x5c87c5['UpArrow'],'icon':_0x5a7f20(0x5f7),'name':_0x5a7f20(0x3d3)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x371)],'icon':_0x5a7f20(0x66e),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x28b)],'icon':_0x5a7f20(0x337),'name':_0x5a7f20(0x4c1)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x4c4)],'icon':_0x5a7f20(0x5b5),'name':_0x5a7f20(0x651)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x2b8)],'icon':_0x5a7f20(0x2b0),'name':_0x5a7f20(0x28f)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x218)],'icon':'ShapeLeftRightUpArrowIcon','name':_0x5a7f20(0x5d9)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x421)],'icon':'ShapeBentArrowIcon','name':_0x5a7f20(0x20f)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x35f)],'icon':_0x5a7f20(0x38e),'name':_0x5a7f20(0x4cb)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x4a9)],'icon':'ShapeLeftUpArrowIcon','name':_0x5a7f20(0x576)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5['BentUpArrow'],'icon':_0x5a7f20(0x5bc),'name':'sheets-shape-ui.shape.type.bent-up-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x291)],'icon':_0x5a7f20(0x274),'name':_0x5a7f20(0x453)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x338)],'icon':_0x5a7f20(0x662),'name':_0x5a7f20(0x474)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x34b)],'icon':_0x5a7f20(0x287),'name':_0x5a7f20(0x3a0)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x496)],'icon':_0x5a7f20(0x61b),'name':'sheets-shape-ui.shape.type.curved-down-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x399)],'icon':_0x5a7f20(0x4d2),'name':_0x5a7f20(0x551)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x513)],'icon':'ShapeNotchedRightArrowIcon','name':_0x5a7f20(0x64a)},{'group':'blockArrow','type':_0x5c87c5['HomePlate'],'icon':_0x5a7f20(0x57f),'name':_0x5a7f20(0x1cb)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x5b1)],'icon':_0x5a7f20(0x212),'name':_0x5a7f20(0x456)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x61d)],'icon':_0x5a7f20(0x1e4),'name':'sheets-shape-ui.shape.type.right-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x34a)],'icon':_0x5a7f20(0x280),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x224)],'icon':_0x5a7f20(0x573),'name':'sheets-shape-ui.shape.type.left-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x367)],'icon':_0x5a7f20(0x35c),'name':'sheets-shape-ui.shape.type.up-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x66f)],'icon':_0x5a7f20(0x42b),'name':_0x5a7f20(0x5d1)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x58f)],'icon':'ShapeQuadArrowCalloutIcon','name':_0x5a7f20(0x457)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x5e7)],'icon':_0x5a7f20(0x43c),'name':_0x5a7f20(0x5cc)},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5[_0x5a7f20(0x681)],'icon':_0x5a7f20(0x2df),'name':_0x5a7f20(0x658)},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5['MathMinus'],'icon':'ShapeMathMinusIcon','name':_0x5a7f20(0x356)},{'group':'equationShape','type':_0x5c87c5['MathMultiply'],'icon':_0x5a7f20(0x401),'name':'sheets-shape-ui.shape.type.math-multiply'},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5['MathDivide'],'icon':'ShapeMathDivideIcon','name':_0x5a7f20(0x39e)},{'group':'equationShape','type':_0x5c87c5['MathEqual'],'icon':_0x5a7f20(0x1e0),'name':'sheets-shape-ui.shape.type.math-equal'},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5[_0x5a7f20(0x3e5)],'icon':_0x5a7f20(0x43f),'name':_0x5a7f20(0x538)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x55f)],'icon':_0x5a7f20(0x2c3),'name':_0x5a7f20(0x481)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x4f9)],'icon':_0x5a7f20(0x33f),'name':_0x5a7f20(0x46e)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x641)],'icon':'ShapeFlowChartDecisionIcon','name':_0x5a7f20(0x5c5)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x285)],'icon':_0x5a7f20(0x23e),'name':'sheets-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x3ac)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1e3)],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x5a7f20(0x62a)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x394)],'icon':_0x5a7f20(0x3ff),'name':_0x5a7f20(0x3b7)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartMultiDocument'],'icon':_0x5a7f20(0x5c7),'name':_0x5a7f20(0x32c)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartTerminator'],'icon':_0x5a7f20(0x5ba),'name':_0x5a7f20(0x2e5)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x3a4)],'icon':_0x5a7f20(0x26d),'name':_0x5a7f20(0x5dd)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x303)],'icon':'ShapeFlowChartManualInputIcon','name':_0x5a7f20(0x42d)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartManualOperation'],'icon':_0x5a7f20(0x3d9),'name':_0x5a7f20(0x5ee)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartConnector'],'icon':_0x5a7f20(0x5d8),'name':'sheets-shape-ui.shape.type.flow-chart-connector'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1c1)],'icon':_0x5a7f20(0x4a0),'name':_0x5a7f20(0x1d1)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x294)],'icon':_0x5a7f20(0x37a),'name':_0x5a7f20(0x36d)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x2cd)],'icon':_0x5a7f20(0x4ec),'name':_0x5a7f20(0x5a2)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x374)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'sheets-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x5f2)],'icon':_0x5a7f20(0x24e),'name':_0x5a7f20(0x623)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x44e)],'icon':_0x5a7f20(0x3b5),'name':_0x5a7f20(0x566)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1f1)],'icon':_0x5a7f20(0x1c6),'name':_0x5a7f20(0x379)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartExtract'],'icon':_0x5a7f20(0x2cf),'name':'sheets-shape-ui.shape.type.flow-chart-extract'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x4d6)],'icon':_0x5a7f20(0x46f),'name':_0x5a7f20(0x583)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x328)],'icon':_0x5a7f20(0x270),'name':_0x5a7f20(0x359)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x463)],'icon':_0x5a7f20(0x31f),'name':_0x5a7f20(0x4f0)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x64b)],'icon':'ShapeFlowChartMagneticTapeIcon','name':'sheets-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x500)],'icon':_0x5a7f20(0x563),'name':_0x5a7f20(0x25b)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x508)],'icon':_0x5a7f20(0x44c),'name':_0x5a7f20(0x603)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x653)],'icon':_0x5a7f20(0x617),'name':_0x5a7f20(0x2ae)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x2e9)],'icon':_0x5a7f20(0x4f3),'name':_0x5a7f20(0x460)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['IrregularSeal2'],'icon':_0x5a7f20(0x24b),'name':_0x5a7f20(0x60d)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x205)],'icon':_0x5a7f20(0x387),'name':_0x5a7f20(0x487)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x244)],'icon':_0x5a7f20(0x525),'name':_0x5a7f20(0x2b7)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x341)],'icon':_0x5a7f20(0x377),'name':'sheets-shape-ui.shape.type.star6'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x316)],'icon':'ShapeStar7Icon','name':_0x5a7f20(0x286)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1ea)],'icon':_0x5a7f20(0x45d),'name':_0x5a7f20(0x64f)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1f7)],'icon':'ShapeStar10Icon','name':_0x5a7f20(0x4f6)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Star12'],'icon':_0x5a7f20(0x215),'name':_0x5a7f20(0x5ef)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x622)],'icon':'ShapeStar16Icon','name':_0x5a7f20(0x264)},{'group':'starAndBanner','type':_0x5c87c5['Star24'],'icon':_0x5a7f20(0x37f),'name':'sheets-shape-ui.shape.type.star24'},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x607)],'icon':_0x5a7f20(0x2b2),'name':_0x5a7f20(0x405)},{'group':'starAndBanner','type':_0x5c87c5['Ribbon2'],'icon':_0x5a7f20(0x5d0),'name':_0x5a7f20(0x4b3)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Ribbon'],'icon':_0x5a7f20(0x273),'name':'sheets-shape-ui.shape.type.ribbon'},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x40c)],'icon':_0x5a7f20(0x4d3),'name':_0x5a7f20(0x4bc)},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x628)],'icon':_0x5a7f20(0x475),'name':'sheets-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1fd)],'icon':_0x5a7f20(0x27b),'name':'sheets-shape-ui.shape.type.vertical-scroll'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['HorizontalScroll'],'icon':_0x5a7f20(0x52d),'name':_0x5a7f20(0x1e8)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Wave'],'icon':_0x5a7f20(0x3c9),'name':_0x5a7f20(0x546)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x4d4)],'icon':_0x5a7f20(0x63b),'name':_0x5a7f20(0x3e4)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x3d1)],'icon':_0x5a7f20(0x412),'name':_0x5a7f20(0x609)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x2d9)],'icon':_0x5a7f20(0x290),'name':'sheets-shape-ui.shape.type.wedge-round-rect-callout'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x504)],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x5a7f20(0x56a)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x293)],'icon':_0x5a7f20(0x26a),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x4ff)],'icon':'ShapeBorderCallout1Icon','name':_0x5a7f20(0x663)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x2b1)],'icon':_0x5a7f20(0x1da),'name':_0x5a7f20(0x25c)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x30c)],'icon':_0x5a7f20(0x5c1),'name':_0x5a7f20(0x469)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x484)],'icon':_0x5a7f20(0x289),'name':_0x5a7f20(0x2d7)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x429)],'icon':_0x5a7f20(0x66c),'name':_0x5a7f20(0x36b)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5['AccentCallout3'],'icon':_0x5a7f20(0x40e),'name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5['Callout1'],'icon':_0x5a7f20(0x606),'name':'sheets-shape-ui.shape.type.callout1'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x425)],'icon':_0x5a7f20(0x470),'name':'sheets-shape-ui.shape.type.callout2'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x34d)],'icon':_0x5a7f20(0x454),'name':_0x5a7f20(0x2ea)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x268)],'icon':_0x5a7f20(0x40d),'name':_0x5a7f20(0x437)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x5cd)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x5a7f20(0x1c0)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x1c9)],'icon':_0x5a7f20(0x5da),'name':_0x5a7f20(0x4c2)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x1d5)],'icon':'ShapeLeftCircularArrowIcon','name':_0x5a7f20(0x1cf)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x1bd)],'icon':_0x5a7f20(0x539),'name':_0x5a7f20(0x227)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x358)],'icon':_0x5a7f20(0x339),'name':'sheets-shape-ui.shape.type.swoosh-arrow'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x2e8)],'icon':_0x5a7f20(0x400),'name':_0x5a7f20(0x4d0)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x589)],'icon':_0x5a7f20(0x3fd),'name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':'other','type':_0x5c87c5['Funnel'],'icon':'ShapeFunnelIcon','name':_0x5a7f20(0x2c8)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x3c2)],'icon':_0x5a7f20(0x47a),'name':_0x5a7f20(0x52c)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['Gear9'],'icon':'ShapeGear9Icon','name':'sheets-shape-ui.shape.type.gear9'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x2ff)],'icon':'ShapeCornerTabsIcon','name':_0x5a7f20(0x510)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['ActionButtonBackPrevious'],'icon':_0x5a7f20(0x5e3),'name':_0x5a7f20(0x4dd)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x235)],'icon':'ShapeActionButtonForwardNextIcon','name':'sheets-shape-ui.shape.type.action-button-forward-next'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x3f9)],'icon':_0x5a7f20(0x2f3),'name':_0x5a7f20(0x21d)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x35a)],'icon':_0x5a7f20(0x51f),'name':_0x5a7f20(0x5f8)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x30e)],'icon':_0x5a7f20(0x537),'name':'sheets-shape-ui.shape.type.action-button-home'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x239)],'icon':_0x5a7f20(0x2f5),'name':_0x5a7f20(0x390)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x38a)],'icon':_0x5a7f20(0x5e9),'name':_0x5a7f20(0x459)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x222)],'icon':'ShapeActionButtonMovieIcon','name':_0x5a7f20(0x616)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x438)],'icon':_0x5a7f20(0x445),'name':_0x5a7f20(0x1e5)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x3a6)],'icon':_0x5a7f20(0x282),'name':_0x5a7f20(0x32e)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x3c1)],'icon':_0x5a7f20(0x420),'name':_0x5a7f20(0x4df)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x5ae)],'icon':_0x5a7f20(0x27c),'name':_0x5a7f20(0x58a)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x345)],'icon':_0x5a7f20(0x304),'name':_0x5a7f20(0x241)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x5a7f20(0x67b)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x298)],'icon':_0x5a7f20(0x482),'name':_0x5a7f20(0x343)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x435)],'icon':_0x5a7f20(0x664),'name':_0x5a7f20(0x4d5)},{'group':'other','type':_0x5c87c5['LineInv'],'icon':'ShapeLineInvIcon','name':_0x5a7f20(0x679)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['PlaqueTabs'],'icon':_0x5a7f20(0x4aa),'name':_0x5a7f20(0x4a1)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x243)],'icon':_0x5a7f20(0x407),'name':_0x5a7f20(0x683)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x638)],'icon':_0x5a7f20(0x301),'name':_0x5a7f20(0x5eb)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x548)],'icon':_0x5a7f20(0x5a4),'name':'sheets-shape-ui.shape.type.non-isosceles-trapezoid'}],yo=_0x5a7f20(0x450);function bo({onShapeClick:_0x3d9e03,excludeGroups:_0x10bf90}){const _0x48adb4=_0x5a7f20;let _0xa52611=_0x5bcd39(_0x2e65fd),_0x4bdb26=_0x5bcd39(_0x5b38e3),_0x5767b0=(_0x10bf90?vo[_0x48adb4(0x20d)](_0x67024e=>!_0x10bf90[_0x48adb4(0x5b3)](_0x67024e['group'])):vo)[_0x48adb4(0x447)]((_0xe526b0,_0x373cb5)=>(_0xe526b0[_0x373cb5['group']]||(_0xe526b0[_0x373cb5[_0x48adb4(0x2dd)]]=[]),_0xe526b0[_0x373cb5[_0x48adb4(0x2dd)]][_0x48adb4(0x61f)](_0x373cb5),_0xe526b0),{});return _0x20f703(_0x48adb4(0x2ba),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object['entries'](_0x5767b0)[_0x48adb4(0x5ac)](([_0x36a6b6,_0x12ddb9])=>_0xb4dd11('div',{'className':_0x48adb4(0x3f5),'children':[_0x20f703(_0x48adb4(0x2ba),{'className':_0x48adb4(0x5e5),'children':_0xa52611['t'](_0x48adb4(0x4b1)+_0x36a6b6)}),_0x20f703(_0x48adb4(0x2ba),{'className':_0x48adb4(0x5e4),'children':_0x12ddb9[_0x48adb4(0x5ac)](_0x460cb9=>{const _0x286be6=_0x48adb4;let _0x429182=_0x4bdb26[_0x286be6(0x2f7)](_0x460cb9[_0x286be6(0x667)]);return _0x20f703(_0x286be6(0x2ba),{'title':_0xa52611['t'](_0x460cb9[_0x286be6(0x29b)]),'onClick':()=>_0x3d9e03(_0x460cb9),'className':_0x286be6(0x249),'children':_0x429182&&_0x20f703(_0x429182,{'className':_0x286be6(0x396)})},_0x460cb9[_0x286be6(0x29b)]);})})]},_0x36a6b6))});}function xo(){const _0x55f388=_0x5a7f20;let _0x256f7a=_0x5bcd39(_0x2e65fd),_0x7b1920=_0x5bcd39(_0x2ac48c),_0x23d212=_0x5bcd39(_o),[_0x424916,_0x13ba8c]=_0x39af17(!0x1);return _0x20f703(_0x5c8dc3,{'side':_0x55f388(0x5af),'open':_0x424916,'onOpenChange':_0x13ba8c,'overlay':_0x20f703(bo,{'onShapeClick':_0x3abb4a=>{const _0x30e264=_0x55f388;let _0xed94c=_0x7b1920[_0x30e264(0x43b)]()[_0x30e264(0x302)](_0x2f9e16=>_0x2f9e16[_0x30e264(0x526)]===_0x5d8611[_0x30e264(0x5f4)]);if(!_0xed94c)return;let {unitId:_0x36c7c0,subUnitId:_0x427ee6,drawingId:_0x3f5fb5}=_0xed94c;_0x23d212[_0x30e264(0x35e)](_0x36c7c0,_0x427ee6,_0x3f5fb5,_0x3abb4a[_0x30e264(0x52b)]),_0x13ba8c(!0x1);},'excludeGroups':[_0x55f388(0x3b6)]}),'children':_0x20f703(_0x466dea,{'children':_0x256f7a['t'](_0x55f388(0x38b))})});}function So(){let _0x2e1288=_0x5bcd39(_0x2e069e);return _0x20f703(bo,{'onShapeClick':_0x461b4c=>{const _0x2a98b6=_0x2c06;_0x2e1288[_0x2a98b6(0x4eb)](go['id'],{'value':_0x461b4c[_0x2a98b6(0x52b)],'enhanceParams':{'endArrow':_0x461b4c[_0x2a98b6(0x3ab)],'startArrow':_0x461b4c[_0x2a98b6(0x2d4)],'horizontal':_0x461b4c[_0x2a98b6(0x21f)],'vertical':_0x461b4c[_0x2a98b6(0x564)]}});}});}_0xbfeb53[_0x5a7f20(0x38c)],_0xbfeb53['CENTER'],_0xbfeb53[_0x5a7f20(0x44d)];function Co(_0x5e0184){const _0x183d35=_0x5a7f20;let _0x1b6bf3=_0x5e0184[_0x183d35(0x2f7)](_0x2d6196),_0x1abfab=_0x5e0184[_0x183d35(0x2f7)](_0x52db0);return{'id':_0x822770['id'],'tooltip':_0x183d35(0x1cc),'type':_0x24710b[_0x183d35(0x521)],'icon':_0x183d35(0x210),'selections':[{'label':{'name':_0x33268d,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x2a4797(_0x2767d1=>{const _0x4cc2da=_0x183d35;_0x2767d1[_0x4cc2da(0x49b)](_0x1abfab[_0x4cc2da(0x5bf)](_0x4cc2da(0x351)));}),'hidden$':_0x1b6bf3[_0x183d35(0x49e)](_0x180a18)[_0x183d35(0x254)](_0x104f12(_0x1b6bf3[_0x183d35(0x1e1)](_0x180a18)),_0x3c7675(_0x19d5cb=>!_0x19d5cb))};}function wo(_0x4a88e7){const _0x5becae=_0x5a7f20;let _0x5219ae=_0x4a88e7[_0x5becae(0x2f7)](_0x2d6196);return{'id':_0x18ca3c['id'],'type':_0x24710b[_0x5becae(0x3db)],'title':'sheets-shape-ui.toolbar.resetColor','hidden$':_0x5219ae[_0x5becae(0x49e)](_0x180a18)[_0x5becae(0x254)](_0x104f12(_0x5219ae[_0x5becae(0x1e1)](_0x180a18)),_0x3c7675(_0x398f14=>!_0x398f14))};}const To=[{'label':_0x5a7f20(0x5a1),'icon':'LeftJustifyingIcon','value':_0xbfeb53['LEFT']},{'label':_0x5a7f20(0x2eb),'icon':_0x5a7f20(0x5d2),'value':_0xbfeb53['CENTER']},{'label':'sheets-shape-ui.align.right','icon':_0x5a7f20(0x61a),'value':_0xbfeb53[_0x5a7f20(0x44d)]}];function Eo(_0x337b49){const _0x48a7bf=_0x5a7f20;var _0x1c7e49;let _0x198cbf=_0x337b49[_0x48a7bf(0x2f7)](_0x2e069e),_0x46c610=_0x337b49[_0x48a7bf(0x2f7)](_0x2d6196),_0x569130=_0x337b49[_0x48a7bf(0x2f7)](_0x1aa5fa),_0x585ce9=_0x337b49[_0x48a7bf(0x2f7)](X),_0x288eed=_0x337b49[_0x48a7bf(0x2f7)](_0xc9428c),_0x5675af=_0xbfeb53['LEFT'],_0x160087=()=>{const _0x40c897=_0x48a7bf;var _0x52a8f1;let _0x21514c=_0x569130['getFocusDrawings']()['filter'](_0x18e5ce=>_0x18e5ce['drawingType']===_0x5d8611[_0x40c897(0x415)]);if(_0x21514c['length']!==0x1)return _0x5675af;let _0x22a94c=_0x585ce9['getEditing'](),_0x22a702=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x666)])||_0x21514c[0x0]['unitId'],_0x40b3ed=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x279)])||_0x21514c[0x0]['subUnitId'],_0x248f25=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x384)])||_0x21514c[0x0][_0x40c897(0x1fb)],_0x56d91f=_0x288eed['getShapeModel'](_0x22a702,_0x40b3ed,_0x248f25);if(!_0x56d91f)return _0x5675af;let _0x2061a9=_0x56d91f['getShapeTextData']();if(!_0x2061a9||!(_0x40c897(0x3e1)in _0x2061a9))return _0x5675af;let _0x35521=_0x2061a9['dataModel'];return(_0x52a8f1=_0x35521==null?void 0x0:_0x35521['ha'])==null?_0x5675af:_0x52a8f1;};return{'id':Ha['id'],'icon':(_0x1c7e49=To['find'](_0x52a526=>_0x52a526['value']===_0x5675af))==null?void 0x0:_0x1c7e49[_0x48a7bf(0x667)],'tooltip':_0x48a7bf(0x1df),'type':_0x24710b[_0x48a7bf(0x311)],'selections':To,'value$':new _0x2a4797(_0x34dc2b=>{const _0x2deb70=_0x48a7bf;let _0x36f5e8=_0x198cbf[_0x2deb70(0x2be)](_0x35e9a9=>{const _0x491699=_0x2deb70;_0x35e9a9['id']===Ha['id']&&_0x34dc2b[_0x491699(0x49b)](_0x160087());}),_0x137eff=_0x585ce9[_0x2deb70(0x3bf)][_0x2deb70(0x2ab)](()=>{_0x34dc2b['next'](_0x160087());});return _0x34dc2b[_0x2deb70(0x49b)](_0x160087()),()=>{const _0x3249a4=_0x2deb70;_0x36f5e8[_0x3249a4(0x4b5)](),_0x137eff[_0x3249a4(0x223)]();};}),'hidden$':_0x46c610[_0x48a7bf(0x49e)](_0x180a18)[_0x48a7bf(0x254)](_0x3c7675(_0x19a685=>!_0x19a685))};}const Do=[{'label':_0x5a7f20(0x1d6),'icon':_0x5a7f20(0x3ae),'value':_0x583d52[_0x5a7f20(0x202)]},{'label':_0x5a7f20(0x57d),'icon':'VerticalCenterIcon','value':_0x583d52[_0x5a7f20(0x4bb)]},{'label':'sheets-shape-ui.align.bottom','icon':_0x5a7f20(0x411),'value':_0x583d52[_0x5a7f20(0x5fc)]}];function Oo(_0x1fede0){const _0x4d7190=_0x5a7f20;var _0x58beb5;let _0x385d04=_0x1fede0['get'](_0x2e069e),_0x1a0b76=_0x1fede0['get'](_0x2d6196),_0x4cd9e6=_0x1fede0[_0x4d7190(0x2f7)](_0x1aa5fa),_0x35f93e=_0x1fede0[_0x4d7190(0x2f7)](X),_0x2f8124=_0x1fede0[_0x4d7190(0x2f7)](_0xc9428c),_0x17c647=_0x583d52[_0x4d7190(0x202)],_0x3eef23=()=>{const _0xaeea=_0x4d7190;var _0x496635;let _0x43e33d=_0x4cd9e6['getFocusDrawings']()['filter'](_0x5f214a=>_0x5f214a[_0xaeea(0x526)]===_0x5d8611[_0xaeea(0x415)]);if(_0x43e33d['length']!==0x1)return _0x17c647;let _0x587f4e=_0x35f93e[_0xaeea(0x5e0)](),_0x2be320=(_0x587f4e==null?void 0x0:_0x587f4e['unitId'])||_0x43e33d[0x0]['unitId'],_0x4da49e=(_0x587f4e==null?void 0x0:_0x587f4e[_0xaeea(0x279)])||_0x43e33d[0x0][_0xaeea(0x279)],_0x3d891f=(_0x587f4e==null?void 0x0:_0x587f4e[_0xaeea(0x384)])||_0x43e33d[0x0]['drawingId'],_0x165045=_0x2f8124[_0xaeea(0x2dc)](_0x2be320,_0x4da49e,_0x3d891f);if(!_0x165045)return _0x17c647;let _0x41cb00=_0x165045['getShapeTextData']();if(!_0x41cb00||!(_0xaeea(0x3e1)in _0x41cb00))return _0x17c647;let _0x28af88=_0x41cb00[_0xaeea(0x3e1)];return(_0x496635=_0x28af88==null?void 0x0:_0x28af88['va'])==null?_0x17c647:_0x496635;};return{'id':Ka['id'],'icon':(_0x58beb5=Do[_0x4d7190(0x302)](_0x40119c=>_0x40119c[_0x4d7190(0x231)]===_0x17c647))==null?void 0x0:_0x58beb5[_0x4d7190(0x667)],'tooltip':_0x4d7190(0x5ad),'type':_0x24710b[_0x4d7190(0x311)],'selections':Do,'value$':new _0x2a4797(_0x1f1306=>{const _0x1d391f=_0x4d7190;let _0x33d1ec=_0x385d04[_0x1d391f(0x2be)](_0x28181c=>{const _0x57f7fe=_0x1d391f;_0x28181c['id']===Ka['id']&&_0x1f1306[_0x57f7fe(0x49b)](_0x3eef23());}),_0x1f3888=_0x35f93e['editingParams$'][_0x1d391f(0x2ab)](()=>{_0x1f1306['next'](_0x3eef23());});return _0x1f1306[_0x1d391f(0x49b)](_0x3eef23()),()=>{_0x33d1ec['dispose'](),_0x1f3888['unsubscribe']();};}),'hidden$':_0x1a0b76[_0x4d7190(0x49e)](_0x180a18)[_0x4d7190(0x254)](_0x3c7675(_0x37de65=>!_0x37de65))};}function ko(_0x261f3c){const _0xcd50d3=_0x5a7f20;let _0x3cf629=_0x261f3c[_0xcd50d3(0x2f7)](_0x1005f5);return{'id':go['id'],'type':_0x24710b[_0xcd50d3(0x311)],'selections':[{'label':{'name':yo,'hoverable':!0x1,'selectable':!0x1,'props':{'id':go['id']}}}],'icon':_0xcd50d3(0x1d0),'tooltip':'sheets-shape-ui.insertShape','activated$':_0x3ff24c(_0x3cf629,!0x1,()=>new _0x2a4797(_0x2f75d2=>{const _0x24023d=_0xcd50d3;_0x2f75d2[_0x24023d(0x49b)](!0x1);})),'hidden$':_0x99fa14(_0x261f3c,_0x162ef7[_0xcd50d3(0x627)]),'disabled$':_0x4e5e72(_0x261f3c)};}const Ao={[_0x562207[_0x5a7f20(0x3f6)]]:{[_0x388c9e[_0x5a7f20(0x2c1)]]:{[Ka['id']]:{'order':3.5,'menuItemFactory':Oo},[Ha['id']]:{'order':3.4,'menuItemFactory':Eo}},[_0x388c9e[_0x5a7f20(0x1fa)]]:{[_0x822770['id']]:{'order':0x1,'menuItemFactory':Co,[_0x18ca3c['id']]:{'order':0x0,'menuItemFactory':wo}}}},[_0x20bf3c[_0x5a7f20(0x2c5)]]:{[go['id']]:{'order':0x4,'menuItemFactory':ko}}};let jo=class extends _0x185401{constructor(_0x310b2e,_0x58fe99,_0x594dfa,_0xf31b8e,_0x32feb4,_0x5cc5c1,_0x18064b,_0x58c74a,_0x407c2f,_0x7e25c0,_0xbd2537){const _0x10df0a=_0x5a7f20;super(),this[_0x10df0a(0x4c0)]=_0x310b2e,this[_0x10df0a(0x661)]=_0x58fe99,this['_sidebarService']=_0x594dfa,this[_0x10df0a(0x3cc)]=_0xf31b8e,this[_0x10df0a(0x225)]=_0x32feb4,this[_0x10df0a(0x20b)]=_0x5cc5c1,this['_componentManager']=_0x18064b,this[_0x10df0a(0x52a)]=_0x58c74a,this[_0x10df0a(0x65c)]=_0x407c2f,this[_0x10df0a(0x57b)]=_0x7e25c0,this[_0x10df0a(0x1c4)]=_0xbd2537,Y(this,_0x10df0a(0x56f),null),Y(this,_0x10df0a(0x4de),null),Y(this,_0x10df0a(0x271),!0x1),this[_0x10df0a(0x319)](),this[_0x10df0a(0x46a)](),this[_0x10df0a(0x404)](this['_univerInstanceService'][_0x10df0a(0x3a1)](_0x162ef7[_0x10df0a(0x627)])['subscribe'](_0x52953e=>{const _0x387a3a=_0x10df0a;var _0x5e1544;_0x52953e||(_0x5e1544=this[_0x387a3a(0x56f)])==null||_0x5e1544[_0x387a3a(0x4b5)]();})),this[_0x10df0a(0x645)](),this['_registerShapeMenu']();}[_0x5a7f20(0x46a)](){const _0x857075=_0x5a7f20;this[_0x857075(0x3cc)][_0x857075(0x312)](Ao);}[_0x5a7f20(0x47f)](){const _0x3a9aed=_0x5a7f20;this[_0x3a9aed(0x57b)]['registerFeatureMenu'](_0x5d8611[_0x3a9aed(0x415)],this[_0x3a9aed(0x3a2)][_0x3a9aed(0x1cd)](this)),this[_0x3a9aed(0x57b)][_0x3a9aed(0x552)](_0x5d8611['DRAWING_SHAPE'],0x6,0x4);}['getShapePopupMenus'](_0x9d22a6,_0x1c78d6,_0x61a8be,_0xc4ab6f){const _0x329553=_0x5a7f20;return[{'label':_0x329553(0x47e),'index':0x0,'commandId':Ya['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be},'disable':_0xc4ab6f===_0x5d8611['DRAWING_DOM']},{'label':'sheets-shape-ui.deleteShape','index':0x1,'commandId':_0x1941fd['id'],'commandParams':{'unitId':_0x9d22a6,'drawings':[{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be,'drawingType':_0xc4ab6f}]},'disable':!0x1},{'label':_0x329553(0x362),'index':0x2,'commandId':Ja['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be},'disable':!0x1},{'label':_0x329553(0x4d1),'index':0x3,'commandId':_0x2e47d3['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'flipH':!0x0},'disable':!0x1},{'label':_0x329553(0x3d5),'index':0x4,'commandId':_0x2e47d3['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'flipV':!0x0},'disable':!0x1},{'label':_0x329553(0x527),'index':0x4,'commandId':_0x102a47['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'rotate':0x5a},'disable':!0x1},{'label':_0x329553(0x585),'index':0x4,'commandId':_0x102a47['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'rotate':-0x5a},'disable':!0x1},{'label':'sheets-shape-ui.toggleTextVertical','index':0x4,'commandId':_0x1acfd0['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be},'disable':!0x1}];}[_0x5a7f20(0x30f)](_0x274808,_0xe71369,_0x549551){const _0x3a5559=_0x5a7f20;let _0x4bf3c6=this['_sheetsShapeService']['getShapeTypeById'](_0x274808,_0xe71369,_0x549551),_0x34cd83=this[_0x3a5559(0x225)][_0x3a5559(0x4b4)](_0x274808,_0xe71369,_0x549551);return _0x4bf3c6!==void 0x0&&_0x34cd83!==void 0x0?{'shapeData':_0x34cd83,'shapeId':_0x549551,'shapeType':_0x4bf3c6,'unitId':_0x274808,'subUnitId':_0xe71369,'disableShapeOption':!0x1}:null;}[_0x5a7f20(0x645)](){const _0x49a888=_0x5a7f20;this[_0x49a888(0x404)](this[_0x49a888(0x52a)][_0x49a888(0x2be)](_0x35588a=>{const _0x49b885=_0x49a888;if(_0x35588a['id']===Ya['id']){let {unitId:_0x2bee3b,subUnitId:_0x1f42f8,drawingId:_0x55ab86}=_0x35588a[_0x49b885(0x233)];this[_0x49b885(0x4de)]=this[_0x49b885(0x30f)](_0x2bee3b,_0x1f42f8,_0x55ab86),this[_0x49b885(0x3f2)]();}if(_0x35588a['id']===Ja['id']&&(this[_0x49b885(0x4de)]=null,this[_0x49b885(0x203)]()),_0x35588a['id']===_0x1b6401['id']){let {unitId:_0x475052,subUnitId:_0x29443b,shapeId:_0x326c0c}=_0x35588a[_0x49b885(0x233)];if(this['_activeShapeInfo']&&this['_activeShapeInfo'][_0x49b885(0x384)]===_0x326c0c){let _0x5eae49=this['_getShapeInfo'](_0x475052,_0x29443b,_0x326c0c);_0x5eae49&&(this[_0x49b885(0x4de)]=_0x5eae49);}}})),this[_0x49a888(0x404)](this[_0x49a888(0x65c)][_0x49a888(0x237)]['subscribe'](_0x493d94=>{const _0xc357ed=_0x49a888;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x493d94[_0xc357ed(0x3d6)]===0x0){this[_0xc357ed(0x4de)]=null,this[_0xc357ed(0x203)]();return;}if(_0x493d94[_0xc357ed(0x3d6)]===0x1&&_0x493d94[0x0][_0xc357ed(0x526)]===_0x5d8611[_0xc357ed(0x415)]&&(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this[_0xc357ed(0x4de)])){this['_openShapeEditPanel']();return;}let _0x435589=_0x493d94[_0xc357ed(0x20d)](_0x29278b=>_0x29278b[_0xc357ed(0x526)]===_0x5d8611['DRAWING_SHAPE']);if(_0x493d94[_0xc357ed(0x3d6)]>0x1&&_0x435589['length']===_0x493d94[_0xc357ed(0x3d6)]){if(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this['_activeShapeInfo']){this[_0xc357ed(0x3f2)]();return;}}else{if(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this['_activeShapeInfo']){this['_activeShapeInfo'][_0xc357ed(0x2d1)]=!0x0,this[_0xc357ed(0x3f2)]();return;}}this[_0xc357ed(0x203)]();}));}['_registerComponent'](){const _0x63f1c3=_0x5a7f20;[['ShapeIcon',_0x443271],[_0x63f1c3(0x40d),_0x49c694],['ShapeAccentBorderCallout2Icon',_0x24217b],[_0x63f1c3(0x5da),_0x3ebc4b],[_0x63f1c3(0x289),_0xa45fc7],[_0x63f1c3(0x66c),_0x3adfc8],[_0x63f1c3(0x40e),_0x1c498c],[_0x63f1c3(0x5e3),_0x5d1d99],['ShapeActionButtonBeginningIcon',_0x168e98],[_0x63f1c3(0x27c),_0x459144],['ShapeActionButtonDocumentIcon',_0x521819],[_0x63f1c3(0x51f),_0x409cbb],['ShapeActionButtonForwardNextIcon',_0x4faf12],['ShapeActionButtonHelpIcon',_0x5260a1],[_0x63f1c3(0x537),_0x15766d],['ShapeActionButtonInformationIcon',_0x329996],[_0x63f1c3(0x3e6),_0x50ab91],[_0x63f1c3(0x5e9),_0x57d13d],['ShapeActionButtonSoundIcon',_0x41a356],['ShapeArcIcon',_0x3f87c1],['ShapeBentArrowIcon',_0x33e81e],[_0x63f1c3(0x649),_0x432d2c],[_0x63f1c3(0x370),_0x51eeb9],[_0x63f1c3(0x5a3),_0x333014],[_0x63f1c3(0x5bc),_0x3eb7c6],['ShapeBevelIcon',_0x3f073f],[_0x63f1c3(0x333),_0xcb7fe5],['ShapeBorderCallout1Icon',_0x3ac5d2],[_0x63f1c3(0x1da),_0x354cf7],[_0x63f1c3(0x5c1),_0x51b46d],[_0x63f1c3(0x275),_0x4a6799],['ShapeBracketPairIcon',_0xfd1d85],['ShapeCallout1Icon',_0x26c766],[_0x63f1c3(0x470),_0x51bf9e],[_0x63f1c3(0x454),_0x3193c4],[_0x63f1c3(0x325),_0x23515e],[_0x63f1c3(0x304),_0x3ffa6a],['ShapeChartStarIcon',_0x219e7e],[_0x63f1c3(0x482),_0x4dddd6],[_0x63f1c3(0x212),_0x153fb4],['ShapeChordIcon',_0x452356],[_0x63f1c3(0x43c),_0x306544],[_0x63f1c3(0x26a),_0x10c388],[_0x63f1c3(0x2e6),_0x360ebe],[_0x63f1c3(0x55b),_0x422e98],[_0x63f1c3(0x45e),_0x1fe2a2],[_0x63f1c3(0x321),_0xc014b1],['ShapeCurvedConnector3Arrow1Icon',_0x156d69],[_0x63f1c3(0x395),_0x368a2e],[_0x63f1c3(0x4bd),_0x2758a3],[_0x63f1c3(0x61b),_0x5f2714],[_0x63f1c3(0x662),_0x166686],[_0x63f1c3(0x274),_0x453bca],['ShapeCurvedUpArrowIcon',_0x92711a],['ShapeDecagonIcon',_0x275b6d],[_0x63f1c3(0x35d),_0x195305],[_0x63f1c3(0x4cc),_0x51a238],[_0x63f1c3(0x592),_0x43a7f7],['ShapeDonutIcon',_0x40810c],[_0x63f1c3(0x63b),_0x7f1196],[_0x63f1c3(0x280),_0x4a2f6c],['ShapeDownArrowIcon',_0x213c9c],[_0x63f1c3(0x417),_0x1c5a25],[_0x63f1c3(0x4d3),_0x3c2f85],[_0x63f1c3(0x475),_0x58077d],[_0x63f1c3(0x33f),_0x21350f],['ShapeFlowChartCollateIcon',_0x14c27a],[_0x63f1c3(0x5d8),_0x4c5a39],[_0x63f1c3(0x50a),_0x436148],[_0x63f1c3(0x31f),_0x25e7a9],['ShapeFlowChartDisplayIcon',_0x56da35],[_0x63f1c3(0x3ff),_0x439f1c],[_0x63f1c3(0x2cf),_0x34da00],[_0x63f1c3(0x23e),_0x4dd2f4],[_0x63f1c3(0x378),_0x21bcac],[_0x63f1c3(0x563),_0x4ac4ef],[_0x63f1c3(0x44c),_0x46a58e],['ShapeFlowChartMagneticTapeIcon',_0x2fea43],['ShapeFlowChartManualInputIcon',_0x40bab9],[_0x63f1c3(0x3d9),_0x2ae98e],[_0x63f1c3(0x46f),_0x79620e],['ShapeFlowChartMultidocumentIcon',_0x40980d],[_0x63f1c3(0x664),_0xedb022],[_0x63f1c3(0x4a0),_0x496318],['ShapeFlowChartOnlineStorageIcon',_0x4449dc],[_0x63f1c3(0x24e),_0x2c653a],[_0x63f1c3(0x388),_0x16dc1a],[_0x63f1c3(0x26d),_0x483bb5],[_0x63f1c3(0x2c3),_0x4c747b],[_0x63f1c3(0x37a),_0x278b80],[_0x63f1c3(0x4ec),_0x5ce091],[_0x63f1c3(0x1c6),_0x5ca430],[_0x63f1c3(0x584),_0x5056f8],[_0x63f1c3(0x5ba),_0x26dfeb],[_0x63f1c3(0x221),_0xff17da],[_0x63f1c3(0x416),_0x4a6029],[_0x63f1c3(0x444),_0x492f0a],[_0x63f1c3(0x47a),_0x46344f],['ShapeGear9Icon',_0x16ad45],['ShapeHalfFrameIcon',_0x2868e1],[_0x63f1c3(0x4a4),_0x172d7e],[_0x63f1c3(0x22b),_0x36ef8a],[_0x63f1c3(0x648),_0x56714b],[_0x63f1c3(0x57f),_0x59ae39],['ShapeHorizontalScrollIcon',_0x140d52],[_0x63f1c3(0x4f3),_0x19a668],[_0x63f1c3(0x24b),_0x3ebe05],[_0x63f1c3(0x573),_0x18e07a],[_0x63f1c3(0x2ee),_0x3d3b38],[_0x63f1c3(0x53c),_0x299ab5],[_0x63f1c3(0x3ce),_0x351d9e],['ShapeLeftCircularArrowIcon',_0x1d3fd1],[_0x63f1c3(0x42b),_0x336d75],[_0x63f1c3(0x337),_0x188829],[_0x63f1c3(0x539),_0x2ad4d3],['ShapeLeftRightRibbonIcon',_0x39ee42],[_0x63f1c3(0x543),_0x34a3ff],[_0x63f1c3(0x2e4),_0x3b41cc],['ShapeLightningBoltIcon',_0x16fcd2],[_0x63f1c3(0x462),_0x28c21d],[_0x63f1c3(0x36c),_0x2562e0],[_0x63f1c3(0x3b2),_0x40aa8b],[_0x63f1c3(0x1e0),_0x1d854d],[_0x63f1c3(0x3be),_0x1b3427],[_0x63f1c3(0x401),_0x2ee12d],[_0x63f1c3(0x43f),_0x59ccb4],[_0x63f1c3(0x2df),_0x2fbc6d],[_0x63f1c3(0x48e),_0x1f98d4],[_0x63f1c3(0x512),_0x143692],[_0x63f1c3(0x5a4),_0x9d3655],[_0x63f1c3(0x5c8),_0x2a3ff9],[_0x63f1c3(0x3f8),_0xae140a],[_0x63f1c3(0x327),_0x4fa0fb],[_0x63f1c3(0x1d3),_0x285b70],[_0x63f1c3(0x55c),_0x1eeecc],[_0x63f1c3(0x3fd),_0x3a5c3d],[_0x63f1c3(0x671),_0x1a95ed],[_0x63f1c3(0x4aa),_0x5d1d0f],[_0x63f1c3(0x248),_0xb92428],[_0x63f1c3(0x599),_0x25409b],[_0x63f1c3(0x2b0),_0x4bf1ee],['ShapeRectIcon',_0x53c07e],[_0x63f1c3(0x42f),_0x4fa9ff],['ShapeRectTextboxVerticalIcon',_0x290b6],[_0x63f1c3(0x5d0),_0xb08b96],[_0x63f1c3(0x273),_0x2998e8],[_0x63f1c3(0x1e4),_0x1d983e],['ShapeRightArrowIcon',_0x31f326],[_0x63f1c3(0x4da),_0x49539f],[_0x63f1c3(0x640),_0x30b4cd],[_0x63f1c3(0x4f8),_0x2f33e2],[_0x63f1c3(0x25d),_0x8f39a3],[_0x63f1c3(0x426),_0x4a566a],[_0x63f1c3(0x20e),_0x12ae7a],[_0x63f1c3(0x3cd),_0x4a73aa],[_0x63f1c3(0x446),_0x288ae9],[_0x63f1c3(0x3ca),_0x30648b],[_0x63f1c3(0x2c0),_0x4998a6],[_0x63f1c3(0x60f),_0x3508cd],[_0x63f1c3(0x353),_0x386b6c],[_0x63f1c3(0x407),_0x26972e],[_0x63f1c3(0x31b),_0x3765a8],['ShapeStar12Icon',_0x5c0c63],['ShapeStar16Icon',_0x38791b],['ShapeStar24Icon',_0x524247],[_0x63f1c3(0x2b2),_0xa04ca0],[_0x63f1c3(0x387),_0x19e8f2],[_0x63f1c3(0x525),_0x35ec0c],[_0x63f1c3(0x377),_0x19b7a3],[_0x63f1c3(0x51e),_0x361fcd],[_0x63f1c3(0x45d),_0x23a3fc],[_0x63f1c3(0x5c9),_0x18620e],[_0x63f1c3(0x281),_0x3c51e9],[_0x63f1c3(0x4d2),_0x2dcd10],['ShapeSunIcon',_0x123440],[_0x63f1c3(0x339),_0x21e466],['ShapeTeardropIcon',_0x2675e5],['ShapeTrapezoidIcon',_0xb9f4c0],[_0x63f1c3(0x58e),_0x3666e8],[_0x63f1c3(0x35c),_0x4a0541],[_0x63f1c3(0x5f7),_0x58b05],[_0x63f1c3(0x301),_0x26cefa],['ShapeUpDownArrowIcon',_0x42201a],['ShapeUturnArrowIcon',_0xa93d64],[_0x63f1c3(0x27b),_0x3cccba],['ShapeWaveIcon',_0x5de847],[_0x63f1c3(0x1db),_0x58469f],['ShapeWedgeRectCalloutIcon',_0x192b27],['ShapeWedgeRoundRectCalloutIcon',_0x11ac0b],[Xa,fo],[yo,So],[_0x124c3f,xo]][_0x63f1c3(0x2cc)](([_0x2d54e3,_0x56599f])=>{const _0x2bdfcc=_0x63f1c3;this['disposeWithMe'](this['_componentManager'][_0x2bdfcc(0x3a8)](_0x2d54e3,_0x56599f));});}['_openShapeEditPanel'](){const _0x5c7765=_0x5a7f20;this[_0x5c7765(0x56f)]=this['_sidebarService']['open']({'id':Xa,'header':{'title':this[_0x5c7765(0x20b)]['t'](_0x5c7765(0x506))},'width':0x184,'children':{'label':Xa,...this['_activeShapeInfo']},'onClose':()=>{const _0x2e7fad=_0x5c7765;this[_0x2e7fad(0x65c)]['focusDrawing'](null),this[_0x2e7fad(0x1c4)][_0x2e7fad(0x209)](_0x180a18,!0x1),this[_0x2e7fad(0x56f)]=null;}}),this[_0x5c7765(0x271)]=!0x0;}[_0x5a7f20(0x203)](){const _0x3c8387=_0x5a7f20;this[_0x3c8387(0x271)]=!0x1,this[_0x3c8387(0x354)][_0x3c8387(0x300)](Xa),this[_0x3c8387(0x56f)]=null,this[_0x3c8387(0x1c4)][_0x3c8387(0x209)](_0x180a18,!0x1),this['_drawingManagerService'][_0x3c8387(0x465)](null);}};jo=$([Q(0x0,_0x1005f5),Q(0x1,_0x1e77ba(_0x345a24)),Q(0x2,_0x1e77ba(_0x3f3778)),Q(0x3,_0x5ce143),Q(0x4,_0x1e77ba(_0xc9428c)),Q(0x5,_0x1e77ba(_0x2e65fd)),Q(0x6,_0x1e77ba(_0x5b38e3)),Q(0x7,_0x2e069e),Q(0x8,_0x2ac48c),Q(0x9,_0x1e77ba(_0x292339)),Q(0xa,_0x2d6196)],jo);var Mo='@univerjs-pro/sheets-shape-ui',No=_0x5a7f20(0x494);const Po={};let Fo=class extends _0x185401{constructor(_0x5cb6b6,_0x3c274a,_0x4cedf1,_0xb98ca9,_0x4825be){const _0x16c578=_0x5a7f20;super(),this['_context']=_0x5cb6b6,this[_0x16c578(0x65c)]=_0x3c274a,this[_0x16c578(0x33e)]=_0x4cedf1,this[_0x16c578(0x4c0)]=_0xb98ca9,this[_0x16c578(0x278)]=_0x4825be,Y(this,'_activeImageId',null),Y(this,_0x16c578(0x479),null),Y(this,_0x16c578(0x2aa),null),Y(this,'_activeAdjustPointList',void 0x0),Y(this,_0x16c578(0x62b),[]),Y(this,'_baseLeft',0x0),Y(this,_0x16c578(0x22e),0x0),Y(this,_0x16c578(0x372),0x0),Y(this,'_baseHeight',0x0),Y(this,'_isStartAdjusting',!0x1),Y(this,_0x16c578(0x67c),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x16c578(0x540),void 0x0),Y(this,_0x16c578(0x409),void 0x0),Y(this,_0x16c578(0x54d),!0x1),this['_registerFocusChangeHandler'](),this[_0x16c578(0x380)]();}[_0x5a7f20(0x492)](){const _0x4d56f7=_0x5a7f20;this[_0x4d56f7(0x30d)]();}[_0x5a7f20(0x383)](){const _0x4f0d3a=_0x5a7f20;this[_0x4f0d3a(0x30d)](),this[_0x4f0d3a(0x3a9)](!0x0);}[_0x5a7f20(0x2b5)](_0x4bf5e8,_0x33798a,_0x586fb7,_0xa9d5fa){const _0x2483a2=_0x5a7f20;let _0x207718=_0x4bf5e8;if(!(_0x207718===_0x5c87c5[_0x2483a2(0x4dc)]||_0x4bf5e8===_0x2483a2(0x217)))try{let _0x5aee7a=new _0x198c5a(_0x207718,'clip-adj-'+_0x4bf5e8);return _0xa9d5fa&&_0x5aee7a['setShapeData']({'adjustValues':_0xa9d5fa},!0x0),_0x5aee7a[_0x2483a2(0x5ed)]({'width':_0x33798a,'height':_0x586fb7}),_0x5aee7a;}catch{return;}}[_0x5a7f20(0x41f)](_0x167cde,_0x310307,_0x23da8f){const _0x111163=_0x5a7f20;let _0x24d2d1={'unitId':_0x167cde,'subUnitId':_0x310307,'drawingId':_0x23da8f},_0x5b55a6=this[_0x111163(0x65c)][_0x111163(0x4b2)](_0x24d2d1);if(!(!_0x5b55a6||_0x5b55a6[_0x111163(0x526)]!==_0x5d8611[_0x111163(0x5f4)]))return _0x5b55a6;}[_0x5a7f20(0x502)](_0x31170e,_0xe36bc5,_0x5eb843){const _0x3d31d1=_0x5a7f20;let _0x2ba500=this[_0x3d31d1(0x33e)]['getRenderById'](_0x31170e);if(!_0x2ba500)return;let {scene:_0x338f62}=_0x2ba500,_0x4144c9=_0x46e3e9({'unitId':_0x31170e,'subUnitId':_0xe36bc5,'drawingId':_0x5eb843}),_0x4d4668=_0x338f62[_0x3d31d1(0x2c4)](_0x4144c9);if(_0x4d4668 instanceof _0x4b0b23){let _0x3c416e=_0x4d4668[_0x3d31d1(0x382)];if(_0x3c416e)return{'prstGeom':_0x3c416e,'adjustValues':_0x4d4668[_0x3d31d1(0x50b)]};}}[_0x5a7f20(0x3a9)](_0x1c5ec4=!0x1){const _0x5e30bc=_0x5a7f20;if(!this['_unitId']||!this[_0x5e30bc(0x2aa)]||!this[_0x5e30bc(0x626)])return;let _0x12bb9a=this['_renderManagerService'][_0x5e30bc(0x36a)](this[_0x5e30bc(0x479)]);if(!_0x12bb9a||!_0x12bb9a[_0x5e30bc(0x49a)](_0x4e2ed9)[_0x5e30bc(0x54e)]())return;let {scene:_0x5d185d}=_0x12bb9a,_0x1d8391=this['_getImageDrawingInfo'](this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)],this[_0x5e30bc(0x626)]);if(!_0x1d8391)return;let {transform:_0x417f3f}=_0x1d8391;if(!_0x417f3f)return;let {left:_0x17e9f7,top:_0x8ed238,width:_0x59df21,height:_0x49e75b,flipX:_0x23db98,flipY:_0x2f2dbb,angle:_0x28c277=0x0}=_0x417f3f;if(_0x17e9f7===void 0x0||_0x8ed238===void 0x0)return;let _0x42cd52=this['_getImagePrstGeom'](this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)],this[_0x5e30bc(0x626)]);if(!_0x42cd52)return;if(_0x1c5ec4){let _0x55f6bb=this[_0x5e30bc(0x2b5)](_0x42cd52[_0x5e30bc(0x382)],_0x59df21||0x0,_0x49e75b||0x0,_0x42cd52[_0x5e30bc(0x344)]);if(!_0x55f6bb)return;this['_activeAdjustPointList']=_0x55f6bb[_0x5e30bc(0x295)]();}let _0x20a6c0=this[_0x5e30bc(0x413)];if(!(!_0x20a6c0||_0x20a6c0[_0x5e30bc(0x3d6)]===0x0))for(let _0x2ef697=0x0;_0x2ef697<_0x20a6c0['length'];_0x2ef697++){let _0x4b0484=_0x20a6c0[_0x2ef697],_0x22d258=_0x4b0484['x'],_0x1623f3=_0x4b0484['y'];if(_0x23db98&&(_0x22d258=(_0x59df21||0x0)-_0x22d258),_0x2f2dbb&&(_0x1623f3=(_0x49e75b||0x0)-_0x1623f3),_0x28c277!==0x0){let _0x53f41a=(_0x59df21||0x0)/0x2,_0x1ef676=(_0x49e75b||0x0)/0x2,_0x248a2f=_0x28c277*Math['PI']/0xb4,_0x4367f4=Math[_0x5e30bc(0x3bb)](_0x248a2f),_0x1e5380=Math[_0x5e30bc(0x4a5)](_0x248a2f),_0xe9f5e=_0x22d258-_0x53f41a,_0x1bd03e=_0x1623f3-_0x1ef676;_0x22d258=_0x53f41a+(_0xe9f5e*_0x4367f4-_0x1bd03e*_0x1e5380),_0x1623f3=_0x1ef676+(_0xe9f5e*_0x1e5380+_0x1bd03e*_0x4367f4);}let _0x21282a={'x':_0x22d258,'y':_0x1623f3,'adjName':_0x4b0484[_0x5e30bc(0x517)]};this[_0x5e30bc(0x670)](_0x5d185d,_0x21282a,_0x21282a[_0x5e30bc(0x517)],_0x17e9f7,_0x8ed238,this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)]);}}['_addControl'](_0x35a620,_0xea7f50,_0x2a8d62,_0x41763a,_0x3ba89d,_0x24c9f0,_0x4f35ca){const _0x268510=_0x5a7f20;if(!this[_0x268510(0x626)])return;let _0x49b372=_0x268510(0x5a7)+this['_activeImageId']+'-'+_0x2a8d62,_0x56f6b4=_0x35a620[_0x268510(0x33c)](_0x49b372);if(_0x56f6b4){_0x56f6b4[_0x268510(0x288)]({'left':_0xea7f50['x']+_0x41763a-_0x9a1b85[_0x268510(0x21e)],'top':_0xea7f50['y']+_0x3ba89d-_0x9a1b85['adjHandleSize']});return;}let _0x4bdb03=new po(_0x49b372,{'left':_0xea7f50['x']+_0x41763a-_0x9a1b85[_0x268510(0x21e)],'top':_0xea7f50['y']+_0x3ba89d-_0x9a1b85['adjHandleSize'],'adjName':_0x2a8d62,'shapeId':this[_0x268510(0x626)],'unitId':_0x24c9f0,'subUnitId':_0x4f35ca,'width':_0x9a1b85[_0x268510(0x21e)]+0x8,'height':_0x9a1b85[_0x268510(0x21e)]+0x8,'zIndex':_0x3929c9+0x1,'evented':!0x0});this[_0x268510(0x62b)]['push'](_0x4bdb03),this[_0x268510(0x65b)](_0x4bdb03,_0x35a620,_0x2a8d62),_0x35a620[_0x268510(0x61e)](_0x4bdb03,_0x3929c9+0x1);}[_0x5a7f20(0x30d)](){const _0x7ca605=_0x5a7f20;this[_0x7ca605(0x62b)]['length']!==0x0&&(this[_0x7ca605(0x62b)][_0x7ca605(0x2cc)](_0x4998dc=>_0x4998dc[_0x7ca605(0x4b5)]()),this[_0x7ca605(0x62b)]=[]);}[_0x5a7f20(0x43e)](_0x3e7722,_0x531b3d){const _0x1b3fb2=_0x5a7f20;var _0x14185c;let _0x4db462={'x':0x0,'y':0x0},_0x43f645=this[_0x1b3fb2(0x33e)]['getRenderById'](_0x3e7722);if(!_0x43f645||!_0x43f645[_0x1b3fb2(0x49a)](_0x4e2ed9)['getSkeleton'](_0x531b3d))return _0x4db462;let _0x4515a9=_0x43f645['with'](_0x13c1a9),_0x144b8e=_0x4515a9==null?void 0x0:_0x4515a9['getCurrentScrollState']();if(!_0x144b8e)return _0x4db462;let _0x1977a1=(_0x14185c=this['_univerInstanceService'][_0x1b3fb2(0x4e7)](_0x3e7722))==null?void 0x0:_0x14185c[_0x1b3fb2(0x64e)](_0x531b3d);if(!_0x1977a1)return _0x4db462;let _0x4d07d5=_0x5cde96(_0x144b8e['sheetViewStartRow'],_0x144b8e[_0x1b3fb2(0x3e3)],_0x43f645[_0x1b3fb2(0x2a0)],_0x1977a1);return _0x4d07d5?{'x':_0x4d07d5['viewportScrollX'],'y':_0x4d07d5[_0x1b3fb2(0x4b0)]}:_0x4db462;}[_0x5a7f20(0x5e8)](_0x1a143a,_0xdf63bd){const _0x4bce7e=_0x5a7f20;var _0x17c6dd,_0x48b09d;let _0x232de1=(_0x17c6dd=this[_0x4bce7e(0x4c0)]['getUnit'](_0x1a143a))==null?void 0x0:_0x17c6dd['getSheetBySheetId'](_0xdf63bd);return(_0x48b09d=_0x232de1==null?void 0x0:_0x232de1[_0x4bce7e(0x22f)]())==null?0x1:_0x48b09d;}[_0x5a7f20(0x65b)](_0x24824b,_0x26e73e,_0x30d598){const _0x4b45ea=_0x5a7f20;this[_0x4b45ea(0x404)](_0x162f95(_0x24824b[_0x4b45ea(0x1c8)][_0x4b45ea(0x3f0)]((_0x130e2c,_0x4e78c1)=>{const _0x1f63d2=_0x4b45ea;var _0x55926a,_0x212a94,_0x329f2e;let {unitId:_0x5b6a33,subUnitId:_0x382be4,drawingId:_0x38f026}=_0x24824b['getDrawingSearch'](),_0xafff7a=this['_getImageDrawingInfo'](_0x5b6a33,_0x382be4,_0x38f026);if(!(_0xafff7a!=null&&_0xafff7a[_0x1f63d2(0x3ba)]))return;let {left:_0x129913,top:_0x5aa377,width:_0x457e18,height:_0x38f801}=_0xafff7a[_0x1f63d2(0x3ba)];this['_baseLeft']=_0x129913||0x0,this['_baseTop']=_0x5aa377||0x0,this[_0x1f63d2(0x372)]=_0x457e18||0x0,this[_0x1f63d2(0x33d)]=_0x38f801||0x0;let _0x5615e6=!!((_0x55926a=_0xafff7a[_0x1f63d2(0x3ba)])!=null&&_0x55926a['flipX']),_0x33a572=!!((_0x212a94=_0xafff7a['transform'])!=null&&_0x212a94[_0x1f63d2(0x4e4)]),_0x1ccbd8=((_0x329f2e=_0xafff7a[_0x1f63d2(0x3ba)])==null?void 0x0:_0x329f2e['angle'])||0x0,_0x32a7c3=this['_getImagePrstGeom'](_0x5b6a33,_0x382be4,_0x38f026);if(!_0x32a7c3)return;let _0x58f324=this['_getOrCreateShapeModel'](_0x32a7c3[_0x1f63d2(0x382)],this[_0x1f63d2(0x372)],this[_0x1f63d2(0x33d)],_0x32a7c3[_0x1f63d2(0x344)]);if(!_0x58f324||(this[_0x1f63d2(0x3df)]=_0x58f324,this['_activeAdjustInfo']=_0x58f324[_0x1f63d2(0x3d2)](_0x30d598),!this[_0x1f63d2(0x67c)]))return;this[_0x1f63d2(0x265)]=!0x0,_0x26e73e[_0x1f63d2(0x5d5)]();let _0x16be3d=_0x32a7c3['prstGeom'];this[_0x1f63d2(0x540)]=_0x26e73e['onPointerMove$'][_0x1f63d2(0x3f0)]((_0xd21990,_0x55a003)=>{const _0xbcea0d=_0x1f63d2;if(!this[_0xbcea0d(0x265)])return;let {offsetX:_0x1ee775,offsetY:_0x3eea8d}=_0xd21990,_0x427524=this['_activeAdjustInfo'];if(!this[_0xbcea0d(0x3df)]||!_0x427524)return;_0x26e73e[_0xbcea0d(0x5d5)](),_0x26e73e[_0xbcea0d(0x2b6)](_0x1b0deb['CROSSHAIR']);let _0x20c804={'left':0x0,'top':0x0,'width':this[_0xbcea0d(0x372)],'height':this[_0xbcea0d(0x33d)]},_0x27251c=this['_getScrollInfo'](_0x5b6a33,_0x382be4),_0x3d57c0=this[_0xbcea0d(0x5e8)](_0x5b6a33,_0x382be4),_0x208073=_0x1ee775/_0x3d57c0+_0x27251c['x']-this['_baseLeft'],_0x4b8ede=_0x3eea8d/_0x3d57c0+_0x27251c['y']-this[_0xbcea0d(0x22e)];if(_0x1ccbd8!==0x0){let _0x97aea4=this[_0xbcea0d(0x372)]/0x2,_0x4f5bfe=this[_0xbcea0d(0x33d)]/0x2,_0x10a911=_0x1ccbd8*Math['PI']/0xb4,_0x2bde32=Math[_0xbcea0d(0x3bb)](_0x10a911),_0x5f4f27=Math['sin'](_0x10a911),_0x5e72cb=_0x208073-_0x97aea4,_0x5ef966=_0x4b8ede-_0x4f5bfe;_0x208073=_0x97aea4+(_0x5e72cb*_0x2bde32+_0x5ef966*_0x5f4f27),_0x4b8ede=_0x4f5bfe+(-_0x5e72cb*_0x5f4f27+_0x5ef966*_0x2bde32);}_0x5615e6&&(_0x208073=this[_0xbcea0d(0x372)]-_0x208073),_0x33a572&&(_0x4b8ede=this[_0xbcea0d(0x33d)]-_0x4b8ede);let _0x5a4ed9=this['_activeShapeModel']['calcAdjValue'](_0x20c804,{'x':_0x208073,'y':_0x4b8ede},_0x427524,_0x5615e6,_0x33a572),_0x8d54cd=_0x427524['gdRefX']||_0x427524[_0xbcea0d(0x4a8)]||_0x427524[_0xbcea0d(0x40f)]||_0x427524[_0xbcea0d(0x23c)];_0x8d54cd!==void 0x0&&(this[_0xbcea0d(0x3df)][_0xbcea0d(0x348)](_0x8d54cd,_0x5a4ed9),this[_0xbcea0d(0x3df)][_0xbcea0d(0x5ed)]({'width':this[_0xbcea0d(0x372)],'height':this[_0xbcea0d(0x33d)]}),this[_0xbcea0d(0x32d)](_0x5b6a33,_0x382be4,_0x38f026,_0x8d54cd,_0x5a4ed9),this[_0xbcea0d(0x413)]=this[_0xbcea0d(0x3df)]['getDrawingPoints'](),this['_activeAdjustInfo']=this[_0xbcea0d(0x3df)][_0xbcea0d(0x3d2)](_0x30d598),this['_createControls'](),_0x55a003['stopPropagation']());}),this[_0x1f63d2(0x409)]=_0x26e73e[_0x1f63d2(0x442)][_0x1f63d2(0x3f0)]((_0x57d800,_0x3fb516)=>{const _0x31a63b=_0x1f63d2;if(this[_0x31a63b(0x540)][_0x31a63b(0x223)](),this[_0x31a63b(0x409)][_0x31a63b(0x223)](),_0x26e73e[_0x31a63b(0x5ec)](),this['_activeShapeModel']){let _0x4cd27e=this[_0x31a63b(0x3df)][_0x31a63b(0x357)](),_0x4aae88={};for(let _0x565e57 of _0x4cd27e){let _0x463944=this[_0x31a63b(0x3df)][_0x31a63b(0x257)](_0x565e57);_0x463944!==void 0x0&&(_0x4aae88[_0x565e57]=_0x463944);}this[_0x31a63b(0x278)][_0x31a63b(0x35e)](_0x5b6a33,_0x382be4,_0x38f026,_0x16be3d,_0x4aae88);}this[_0x31a63b(0x67c)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x31a63b(0x265)]=!0x1,_0x3fb516[_0x31a63b(0x59a)](),_0x26e73e[_0x31a63b(0x3eb)]();}),_0x4e78c1[_0x1f63d2(0x59a)]();})));}[_0x5a7f20(0x32d)](_0x2a1fbc,_0x18c505,_0x45ed25,_0x4a7334,_0x185303){const _0x692e80=_0x5a7f20;let _0x51c9c1=this[_0x692e80(0x33e)][_0x692e80(0x36a)](_0x2a1fbc);if(!_0x51c9c1)return;let {scene:_0x391d7b}=_0x51c9c1,_0x22366e=_0x46e3e9({'unitId':_0x2a1fbc,'subUnitId':_0x18c505,'drawingId':_0x45ed25}),_0x3d1c9a=_0x391d7b['getObject'](_0x22366e);if(_0x3d1c9a instanceof _0x4b0b23){var _0xab78f3;let _0x386a77=(_0xab78f3=_0x3d1c9a[_0x692e80(0x50b)])==null?{}:_0xab78f3;_0x3d1c9a['setPrstGeomAdjValues']({..._0x386a77,[_0x4a7334]:_0x185303}),_0x3d1c9a[_0x692e80(0x2bb)](!0x0);}}[_0x5a7f20(0x380)](){const _0x5c3b7c=_0x5a7f20;let _0x36af53=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x162ef7[_0x5c3b7c(0x627)]);this[_0x5c3b7c(0x404)](_0x36af53[_0x5c3b7c(0x254)](_0x1e398(_0x36c20f=>_0x36c20f?_0x36c20f['activeSheet$'][_0x5c3b7c(0x254)](_0x1e398(_0x3087c4=>{const _0x10efce=_0x5c3b7c;if(!_0x3087c4)return _0x502183;let _0x18788b=_0x36c20f[_0x10efce(0x219)](),_0x58b607=this[_0x10efce(0x33e)][_0x10efce(0x36a)](_0x18788b),_0x43fa75=_0x58b607==null?void 0x0:_0x58b607[_0x10efce(0x2a0)];return _0x43fa75?_0x570989(_0x43fa75):_0x502183;})):_0x502183))['subscribe'](_0x4cd91f=>{const _0x7b0b5a=_0x5c3b7c;let _0x20775e=_0x4cd91f['getTransformerByCreate']();this[_0x7b0b5a(0x404)](_0x4cd91f[_0x7b0b5a(0x48a)]['subscribeEvent'](()=>{const _0x3b6a64=_0x7b0b5a;this['_isImagePointerDown']&&this[_0x3b6a64(0x30d)]();})),this['disposeWithMe'](_0x20775e[_0x7b0b5a(0x518)][_0x7b0b5a(0x2ab)](_0x1cad9f=>{const _0x44b914=_0x7b0b5a;let {objects:_0x5143d6}=_0x1cad9f;if(this[_0x44b914(0x3a9)](),_0x5143d6!==null&&_0x5143d6[_0x44b914(0x352)]===0x1){let _0x10e51e=_0x5143d6[_0x44b914(0x204)]()[_0x44b914(0x49b)]()[_0x44b914(0x231)];_0x10e51e instanceof _0x4b0b23&&_0x10e51e[_0x44b914(0x382)]&&(this['_isImagePointerDown']=!0x0);}})),this[_0x7b0b5a(0x404)](_0x20775e['changing$'][_0x7b0b5a(0x2ab)](()=>{const _0x36f42d=_0x7b0b5a;this[_0x36f42d(0x54d)]&&this[_0x36f42d(0x30d)]();})),this['disposeWithMe'](_0x4cd91f[_0x7b0b5a(0x442)]['subscribeEvent'](()=>{const _0x3088ff=_0x7b0b5a;this[_0x3088ff(0x54d)]&&(this[_0x3088ff(0x54d)]=!0x1,this[_0x3088ff(0x3a9)]());})),this['disposeWithMe'](_0x20775e[_0x7b0b5a(0x1f5)][_0x7b0b5a(0x2ab)](()=>{const _0x553f6c=_0x7b0b5a;if(this[_0x553f6c(0x479)]&&this[_0x553f6c(0x2aa)]&&this[_0x553f6c(0x626)]){let _0x41e030=this['_getImagePrstGeom'](this[_0x553f6c(0x479)],this[_0x553f6c(0x2aa)],this[_0x553f6c(0x626)]);if(_0x41e030){var _0x8dc97,_0x40c998;let _0x539785=this[_0x553f6c(0x41f)](this['_unitId'],this['_subUnitId'],this[_0x553f6c(0x626)]),_0x4b63da=(_0x539785==null||(_0x8dc97=_0x539785[_0x553f6c(0x3ba)])==null?void 0x0:_0x8dc97[_0x553f6c(0x3d7)])||0x0,_0x3c1058=(_0x539785==null||(_0x40c998=_0x539785[_0x553f6c(0x3ba)])==null?void 0x0:_0x40c998['height'])||0x0,_0x5cf60e=this[_0x553f6c(0x2b5)](_0x41e030[_0x553f6c(0x382)],_0x4b63da,_0x3c1058,_0x41e030['adjustValues']);_0x5cf60e&&(this['_activeAdjustPointList']=_0x5cf60e[_0x553f6c(0x295)](),this['_clearControls'](),this[_0x553f6c(0x3a9)](!0x0));}}}));}));}[_0x5a7f20(0x269)](){const _0x1f1a65=_0x5a7f20;this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x237)][_0x1f1a65(0x2ab)](_0x363056=>{const _0xd01b55=_0x1f1a65;if(_0x363056[_0xd01b55(0x3d6)]===0x1){let _0x2b792a=_0x363056[0x0];if(_0x2b792a[_0xd01b55(0x526)]===_0x5d8611[_0xd01b55(0x5f4)]){let {unitId:_0x30efec,subUnitId:_0x5cf3ee,drawingId:_0x21b2d0}=_0x2b792a,_0x1f4d77=this[_0xd01b55(0x502)](_0x30efec,_0x5cf3ee,_0x21b2d0);if(_0x1f4d77){var _0x22bec6,_0xd6af65;this['_activeImageId']=_0x21b2d0,this[_0xd01b55(0x479)]=_0x30efec,this[_0xd01b55(0x2aa)]=_0x5cf3ee;let _0xa9fb7=this[_0xd01b55(0x41f)](_0x30efec,_0x5cf3ee,_0x21b2d0),_0x2ff797=(_0xa9fb7==null||(_0x22bec6=_0xa9fb7['transform'])==null?void 0x0:_0x22bec6[_0xd01b55(0x3d7)])||0x0,_0xa9eba2=(_0xa9fb7==null||(_0xd6af65=_0xa9fb7[_0xd01b55(0x3ba)])==null?void 0x0:_0xd6af65[_0xd01b55(0x4c8)])||0x0,_0x562935=this[_0xd01b55(0x2b5)](_0x1f4d77[_0xd01b55(0x382)],_0x2ff797,_0xa9eba2,_0x1f4d77[_0xd01b55(0x344)]);_0x562935&&(this[_0xd01b55(0x413)]=_0x562935[_0xd01b55(0x295)]()),this['_clearControls'](),this[_0xd01b55(0x3a9)](!0x0);}else this[_0xd01b55(0x32f)]();}else this['_resetState']();}else this[_0xd01b55(0x32f)]();})),this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x47c)]['subscribe'](_0x4f2230=>{const _0x593636=_0x1f1a65;if(_0x4f2230[_0x593636(0x3d6)]===0x1){let _0x23764e=_0x4f2230[0x0],_0x8465c8=this['_drawingManagerService']['getDrawingByParam'](_0x23764e);(_0x8465c8==null?void 0x0:_0x8465c8['drawingType'])===_0x5d8611[_0x593636(0x5f4)]&&this[_0x593636(0x626)]===_0x23764e[_0x593636(0x1fb)]&&(this[_0x593636(0x30d)](),this['_createControls'](!0x0));}})),this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x5bb)][_0x1f1a65(0x2ab)](_0x11868e=>{const _0x348499=_0x1f1a65;for(let _0x40923d of _0x11868e)this['_activeImageId']===_0x40923d[_0x348499(0x1fb)]&&this[_0x348499(0x32f)]();}));}['_resetState'](){const _0x5eecfe=_0x5a7f20;this[_0x5eecfe(0x626)]=null,this[_0x5eecfe(0x479)]=null,this[_0x5eecfe(0x2aa)]=null,this[_0x5eecfe(0x413)]=void 0x0,this['_clearControls']();}};function _0x5354(){const _0x1d9ca8=['parse','Dodecagon','adjName','changeStart$','SHAPE','flipX','getCurrentScrollState','_cxtHandlerPointerUp','input','ShapeStar7Icon','ShapeActionButtonEndIcon','startX','BUTTON_SELECTOR','complete','Sun','_sheetBasicShapeConnectionPointController','ShapeStar5Icon','drawingType','sheets-shape-ui.rotateRight90','defineProperty','linear','_commandService','type','sheets-shape-ui.shape.type.gear6','ShapeHorizontalScrollIcon','sheets-shape-ui.shape.type.cube','focus','Square','sheets-shape-ui.shape.type.folder-corner','sheets-shape-ui.fill.picture.align.tr','Large','img','isLineShape','_commandExecutedListener','ShapeActionButtonHomeIcon','sheets-shape-ui.shape.type.math-not-equal','ShapeLeftRightCircularArrowIcon','sqrt','_currentUniverService','ShapeLeftBraceIcon','blockArrow','Decagon','LongDashDot','_adjHandlerPointerMove','_handleFreeEndpointMove','sheets-shape-ui.line.sketchType.title','ShapeLeftRightUpArrowIcon','_handleFreeEndpointPointerUp','oKey','sheets-shape-ui.shape.type.wave','asObservable','NonIsoscelesTrapezoid','has','_initSheetChange','SHEET_SHAPE_UI_PLUGIN','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','_isImagePointerDown','getCurrentSkeleton','univer-flex\x20univer-flex-col\x20univer-gap-3','Round','sheets-shape-ui.shape.type.striped-right-arrow','registerFeatureMenuOffset','RoundDot','DiamondArrow','onDblclick$','_shapeTextEditingService','fillImageSource','sheets-shape-ui.shape.type.can','_connectorObjects','getOwnPropertyDescriptor','ShapeCornerIcon','ShapePieIcon','_getDrawingRect','floor','FlowchartProcess','127210prETZO','_addShapeConnectorHandlerObjects','_isDrawingShapePointDown','ShapeFlowChartMagneticDiskIcon','vertical','vertexAngle','sheets-shape-ui.shape.type.flow-chart-collate','getTransformer','sheets-shape-ui.line.arrowType.diamondArrow','getBoundingClientRect','sheets-shape-ui.shape.type.wedge-ellipse-callout','render','setShouldShowAdjust','ShapeRightArrowIcon','sheets-shape-ui.line.capType.title','_sidebarDisposable','getShapeTextData','sheets-shape-ui.line.transparency','sheets-shape-ui.fill.picture.scaleX','ShapeLeftArrowCalloutIcon','1537544LlYWyL','current','sheets-shape-ui.shape.type.left-up-arrow','span','keys','_currentScene','paragraphs','_sheetCanvasPopManagerService','_props','sheets-shape-ui.align.middle','_getConnectionSiteAngle','ShapeHomePlateIcon','beforeCommandExecuted','getStartConnectInfo','updateLinePoints','sheets-shape-ui.shape.type.flow-chart-merge','ShapeFlowChartSummingJunctionIcon','sheets-shape-ui.rotateLeft90','sheets-shape-ui.fill.picture.insert','sheet.operation.close-sheet-shape-format-panel','button','PieWedge','sheets-shape-ui.shape.type.action-button-blank','call','imageOpacity','univer-text-gray-500','ShapeTriangleIcon','QuadArrowCallout','_configService','univer-w-full','ShapeDodecagonIcon','_sheetPermissionCheckController','_clipService','_shapeId','_findShapeAtPoint','getSkeleton','_registerImageShapeClipDelegate','ShapeQuadArrowCalloutIcon','stopPropagation','setEditing','RightBracket','isHit','src','DiagStripe','viewportScrollX','sheets-shape-ui.align.left','sheets-shape-ui.shape.type.flow-chart-punched-tape','ShapeBentConnector3Icon','ShapeNonIsoscelesTrapezoidIcon','getConnectionInfo','_createCopyInfoByRange','image-clip-adjust-point-','ang','FromArray','3988zZylYu','setCanUseShapeClip','map','sheets-shape-ui.toolbar.verticalAlignMode.main','ActionButtonBlank','left','setShapeData','Chevron','_initEditingParams','includes','ShapeSunIcon','ShapeUpDownArrowIcon','VIEW_MAIN_LEFT','Tile','_getShapeAdjustPointListById','opacity','ShapeFlowChartTerminatorIcon','remove$','ShapeBentUpArrowIcon','#FFFFFF','UPDATE','getColorFromTheme','RightBrace','ShapeBorderCallout3Icon','activeAnObject','getBentTypeFromPoints','sheets-shape-ui.shape.type.arc','sheets-shape-ui.shape.type.flow-chart-decision','clip','ShapeFlowChartMultidocumentIcon','ShapeNotchedRightArrowIcon','ShapeStraightConnector1Icon','CurvedConnector3','_findNearestConnectionSite','sheets-shape-ui.shape.type.circular-arrow','AccentBorderCallout2','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','VIEW_MAIN_LEFT_TOP','ShapeRibbon2Icon','sheets-shape-ui.shape.type.left-right-arrow-callout','HorizontallyIcon','getShapeData','BlockArc','disableObjectsEvent','Solid','parseFloat','ShapeFlowChartConnectorIcon','sheets-shape-ui.shape.type.left-right-up-arrow','ShapeAccentBorderCallout3Icon','other','basicShape','sheets-shape-ui.shape.type.flow-chart-preparation','invert','sheets-shape-ui.shape.type.pentagon','getEditing','SolidFill','cxnPointRadius','ShapeActionButtonBackPreviousIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','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','localToWorld','CircularArrow','_getZoomRatio','ShapeActionButtonReturnIcon','abs','sheets-shape-ui.shape.type.up-down-arrow-callout','resetCursor','updateContext','sheets-shape-ui.shape.type.flow-chart-manual-operation','sheets-shape-ui.shape.type.star12','Diamond','shapeModel','FlowchartOr','_registerDrawingMoveHandler','DRAWING_IMAGE','ShapeTrapezoidIcon','sheets-shape-ui.line.arrowSize.medium','ShapeUpArrowIcon','sheets-shape-ui.shape.type.action-button-end','sheets-shape-ui.line.joinType.miter','sheets-shape-ui.line.noLine','_registerGroupFeaturePasteHook','BOTTOM','shape-text-editor-position-wrapper','BracketPair','Linear','buildClipPath','sheets-shape-ui.shape.type.pie','object','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','Cube','set','ShapeCallout1Icon','Star32','visible','sheets-shape-ui.shape.type.wedge-rect-callout','711PJimvz','_showConnectionSites','Snip2SameRect','sheets-shape-ui.shape.type.irregular-seal2','editorHeight','ShapeSnip2SameRectIcon','interceptCommand','diamond','string','sheets-shape-ui.shape.type.decagon','_calculateFreeEndpointAngle','registerCommand','sheets-shape-ui.shape.type.action-button-movie','ShapeFlowChartDisplayIcon','_drawShapeText','_executeResizeCommand','RightJustifyingIcon','ShapeCurvedDownArrowIcon','replace','RightArrowCallout','addObject','push','cxnPointFill','sheets-shape-ui.line.dashType.dash','Star16','sheets-shape-ui.shape.type.flow-chart-or','computeConnectorResizeLayout','ShapeTextEditorContainer','_activeImageId','UNIVER_SHEET','EllipseRibbon','entries','sheets-shape-ui.shape.type.flow-chart-internal-storage','_shapes','_shapeUpdateListener','sheets-shape-ui.shape.type.curved-connector3-arrow2','onScrollAfter$','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_editingParams$','sheets-shape-ui','_updateTransform','stringify','strokeWidth','_adjName','sheets-shape-ui.fill.picture.scaleY','ShapeRectTextboxVerticalIcon','UpDownArrowCallout','_getSceneAndTransformerByDrawingSearch','Ellipse','ShapeDoubleWaveIcon','registerRenderModule','_config','computeStraightConnectorLayout','_initEvents','ShapeRightBracketIcon','FlowchartDecision','getDrawingData','sheets-shape-ui.fill.noFill','Triangle','_registerOperations','warn','decorate','ShapeHexagonIcon','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.notched-right-arrow','FlowchartMagneticTape','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','sheets-shape-ui.shape.type.chord','getSheetBySheetId','sheets-shape-ui.shape.type.star8','sheets-shape-ui.shape.type.half-frame','sheets-shape-ui.shape.type.up-down-arrow','setPrstGeom','FlowchartDisplay','onSavingEditorData$','connection-site-','sheets-shape-ui.shape.type.right-brace','sheets-shape-ui.shape.type.octagon','sheets-shape-ui.shape.type.math-plus','permissionCheckWithoutRange','_transform','_attachAdjustEvent','_drawingManagerService','sheets-shape-ui.shape.type.brace-pair','sheets-shape-ui.shape.type.triangle','getImage','getConnectionRelation','_sheetInterceptorService','ShapeCurvedLeftArrowIcon','sheets-shape-ui.shape.type.border-callout1','ShapeFlowChartOfflineStorageIcon','getActualSize','unitId','icon','updateDocumentStyle','sheets-shape-ui.line.beginArrowSize','sheets-shape-ui.shape.type.bevel','sheets-shape-ui.shape.type.snip1-rect','ShapeAccentCallout2Icon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeDownArrowIcon','LeftRightArrowCallout','_addControl','ShapePlaqueIcon','#1a73e8','ShapeBevelIcon','onTransformChange$','cxnPointStrokeWidth','_cxnIndex','NoLine','drawing.operation.set-drawing-active','sheets-shape-ui.shape.type.line-inv','some','sheets-shape-ui.shape.type.chart-star','_activeAdjustInfo','syncExecuteCommand','SnipRoundRect','rect','sheets-shape-ui.shape.type.block-arc','MathPlus','redo','sheets-shape-ui.shape.type.square-tabs','sheets-shape-ui.shape.type.left-arrow','LeftRightCircularArrow','_activeShapeId','sheets-shape-ui.line.joinType.round','sheets-shape-ui.shape.type.accent-border-callout2','FlowchartOffPageConnector','registerFeaturePasteHook','target','_contextService','getMatrix','ShapeFlowChartSortIcon','_handleConnectedEndpointMove','onPointerDown$','AccentBorderCallout3','Round2DiagRect','sheets-shape-ui.shape.type.home-plate','sheets-shape-ui.toolbar.fillColor.main','bind','OPERATION','sheets-shape-ui.shape.type.left-circular-arrow','ShapeIcon','sheets-shape-ui.shape.type.flow-chart-offpage-connector','colStartX','ShapePentagonIcon','sheets-shape-ui.shape.type.bracket-pair','LeftCircularArrow','sheets-shape-ui.align.top','isStartConnectorPoint','_currentConnectionTarget','scale','ShapeBorderCallout2Icon','ShapeWedgeEllipseCalloutIcon','isHitLine','Angular','_init','sheets-shape-ui.toolbar.horizontalAlignMode.main','ShapeMathEqualIcon','getContextValue','sheets-shape-ui.shape.type.rect','FlowchartInternalStorage','ShapeRightArrowCalloutIcon','sheets-shape-ui.shape.type.action-button-document','clearTimeout','ShapeChordIcon','sheets-shape-ui.shape.type.horizontal-scroll','onRendered','Star8','startY','\x20px','Pie','deepClone','addImageSourceCache','version','FlowchartSort','sheets-shape-ui.line.arrowType.arrow','_handleBasicShapeUpdateConnectorLineShape','CROSSHAIR','changeEnd$','_copyInfo','Star10','highlighted','_baseDrawingRect','FORMAT','drawingId','sheets-shape-ui.shape.type.bent-connector3','VerticalScroll','isHighlighted','SolidLine','lineType','Round1Rect','TOP','_closeShapeEditPanel','values','Star4','sheets-shape-ui.shape.type.rt-triangle','_handleConnectorPointerUp','sheets-shape-ui.fill.gradientFill','setContextValue','_injector','_localeService','setZoomRatio','filter','ShapeRoundRectIcon','sheets-shape-ui.shape.type.bent-arrow','PaintBucketDoubleIcon','_getShapeAdjustInfosById','ShapeChevronIcon','error','_addShapeAdjustControl','ShapeStar12Icon','clearAdjustValue','custom','LeftRightUpArrow','getUnitId','HalfFrame','_onSavingEditorData$','updateConnectionDetection','sheets-shape-ui.shape.type.action-button-beginning','adjHandleSize','horizontal','getDocumentData','ShapeFolderCornerIcon','ActionButtonMovie','unsubscribe','LeftArrowCallout','_sheetsShapeService','_handleConnectedEndpointPointerUp','sheets-shape-ui.shape.type.left-right-circular-arrow','angular','URL','Stretch','ShapeHeptagonIcon','sheets-shape-ui.shape.type.round2-same-rect','_imageIoService','_baseTop','getZoomRatio','sheets-shape-ui.line.beginArrowType','value','_createShapeAdjustControls','params','imageFillMode','ActionButtonForwardNext','engine','focus$','saveImage','ActionButtonInformation','getViewport','Moon','gdRefR','StealthArrow','ShapeFlowChartInputOutputIcon','clear','sheets-shape-ui.line.title','sheets-shape-ui.shape.type.chart-plus','_cxtHandlerPointerMove','SquareTabs','Star5','capType','univer-pt-2','cxnPointStroke','ShapePlusIcon','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','gradientType','ShapeIrregularSeal2Icon','HandDrawn','Teardrop','ShapeFlowChartOrIcon','isNaN','classType','_executeConnectedRouteResizeCommand','sheets-shape-ui.shape.type.straight-connector2','UNIVER_DOC','pipe','applyPoint','click','getAdjustValueByName','lineStrokeType','setDocumentData','_loadShapePictureFill','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','sheets-shape-ui.shape.type.border-callout2','ShapeRound2DiagRectIcon','LightningBolt','draw','_draw','_generatePasteMutations','getBatchRemoveOp','connector-handler-','sheets-shape-ui.shape.type.star16','_isStartAdjusting','mainComponent','_rerouteConnectorLine','AccentBorderCallout1','_registerFocusChangeHandler','ShapeCloudCalloutIcon','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','#ffffff','ShapeFlowChartPreparationIcon','section','ShapeCurvedConnector3Arrow1Icon','ShapeFlowChartOnlineStorageIcon','_isOpenedShapeEditPanel','35LPdqsr','ShapeRibbonIcon','ShapeCurvedRightArrowIcon','ShapeBracePairIcon','_isHighlighted','rectangle','_imageShapeClipController','subUnitId','getValue','ShapeVerticalScrollIcon','ShapeActionButtonBlankIcon','start','flowchart','sheet.command.set-shape-text-font-size','ShapeDownArrowCalloutIcon','ShapeStraightConnector2Icon','ShapeActionButtonSoundIcon','getCurrentLastSelection','file','FlowChartInputOutput','sheets-shape-ui.shape.type.star7','ShapeCurvedUpArrowIcon','transformByState','ShapeAccentCallout1Icon','sheet.shape.edit.panel','LeftRightArrow','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheet.command.shape-doc-align','sheets-shape-ui.line.endArrowSize','sheets-shape-ui.shape.type.quad-arrow','ShapeWedgeRoundRectCalloutIcon','CurvedRightArrow','Heart','CloudCallout','FlowchartPunchedCard','getDrawingPoints','_initPermission','1421292ZgfyNP','ChartX','doc','_focusedDrawings','name','_baseShapeWidth','shapeType','startOffset','Freehand','scene','_lastEditingShapeKey','translateWithPrecision','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','stroke','sheets-shape-ui.line.dashType.dashDot','sketchType','RightArrow','getSkeletonParam','_initialize','_subUnitId','subscribe','ShapeTeardropIcon','_transformCalculateSrcRect','sheets-shape-ui.shape.type.flow-chart-display','scaleX','ShapeQuadArrowIcon','BorderCallout2','ShapeStar32Icon','ctr','_index','_getOrCreateShapeModel','setCursor','sheets-shape-ui.shape.type.star5','QuadArrow','Miter','div','makeDirty','sheets-shape-ui.shape.type.round2-diag-rect','LeftBrace','onCommandExecuted','getDrawingOrder','ShapeSnip2DiagRectIcon','LAYOUT','domX','ShapeFlowChartProcessIcon','getObject','MEDIA','_executeConnectedRouteConnectionCommand','univer-text-sm','sheets-shape-ui.shape.type.funnel','_addShapeConnectorHandlerObject','setTimeout','_generateCutPasteMutations','forEach','FlowchartPunchedTape','drawWith','ShapeFlowChartExtractIcon','StraightConnector1','disableShapeOption','getDrawingEditable','Rect','startArrow','Pentagon','Image','sheets-shape-ui.shape.type.accent-callout1','sheets-shape-ui.config','WedgeRoundRectCallout','Medium','_executeConnectionCommand','getShapeModel','group','domY','ShapeMathPlusIcon','resize','_highlightedSiteIndex','getAncestorScale','packageName','ShapeLeftUpArrowIcon','sheets-shape-ui.shape.type.flow-chart-terminator','ShapeCloudIcon','onStarting','LeftRightRibbon','IrregularSeal1','sheets-shape-ui.shape.type.callout3','sheets-shape-ui.align.center','clip-','getParent','ShapeLeftArrowIcon','textRect','univer-text-xl\x20univer-text-gray-500','_targetShapeId','imageTile','ShapeActionButtonBeginningIcon','_drawingRenderService','ShapeActionButtonInformationIcon','Cloud','get','style','add$','srcRect','paragraphStyle','_setTransForm','toPrimitive','sheets-shape-ui.shape.type.diag-stripe','CornerTabs','close','ShapeUpDownArrowCalloutIcon','find','FlowchartManualInput','ShapeChartPlusIcon','297030DYMOQx','_activeShapeAdjustPointList','getBatchUpdateOp','getDrawingVisible','OpenArrow','sheets-shape-ui.shape.type.teardrop','starAndBanner','BorderCallout3','_clearControls','ActionButtonHome','_getShapeInfo','sheets-shape-ui.fill.picture.tileAsTexture','SELECTOR','mergeMenu','sheets-shape-ui.fill.pictureFill','univer-flex-1\x20univer-overflow-auto','_registerDrawingFocusChangeHandler','Star7','sheets-shape-ui.shape.type.rect-textbox-horizontal','sheets-shape-ui.line.dashType.title','_registerComponent','collapsed','ShapeStar10Icon','sheets-shape-ui.shape.type.hexagon','symbol','restore','ShapeFlowChartDelayIcon','endConnectionDetection','ShapeCubeIcon','sheets-shape-ui.fill.picture.offsetX','GradientFill','INSERT','ShapeCanIcon','blockExecuteWithoutPermission','ShapeParallelogramIcon','FlowchartOnlineStorage','#4285f4','isInGroup','sheets-shape-ui.line.arrowSize.small','sheets-shape-ui.shape.type.flow-chart-multidocument','_updateImageAdjValues','sheets-shape-ui.shape.type.action-button-sound','_resetState','transformForAngle','getCanvasElement','_shapeService','ShapeBlockArcIcon','rotation','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','univer-rounded-lg\x20univer-p-3','ShapeLeftRightArrowIcon','CurvedLeftArrow','ShapeSwooshArrowIcon','sheets-shape-ui.line.joinType.bevel','_reset','getObjectIncludeInGroup','_baseHeight','_renderManagerService','ShapeFlowChartAlternateProcessIcon','clone','Star6','_moveConnectorWithShape','sheets-shape-ui.shape.type.chart-x','adjustValues','ChartPlus','sheets-shape-ui.fill.picture.align.br','none','setAdjustValueByName','_drawSimpleText','DownArrowCallout','CurvedUpArrow','sheets-shape-ui.fill.color','Callout3','170TycUaA','sheets-shape-ui.fill.picture.align.r','sheets-shape-ui.line.dashType.roundDot','primary.600','size','ShapeSnipRoundRectIcon','_sidebarService','sheet.command.set-shape-text-font-size-increase','sheets-shape-ui.shape.type.math-minus','getAdjustNames','SwooshArrow','sheets-shape-ui.shape.type.flow-chart-online-storage','ActionButtonEnd','UUID','ShapeUpArrowCalloutIcon','ShapeDiagStripeIcon','clipByShape','UturnArrow','lineJoinType','getBatchAddOp','sheets-shape-ui.hidePanel','iterator','Bevel','image','radial','UpArrowCallout','undo','VIEW_MAIN','getRenderById','sheets-shape-ui.shape.type.accent-callout2','ShapeLineInvIcon','sheets-shape-ui.shape.type.flow-chart-punched-card','BracePair','getShapeType','ShapeBentConnector3Arrow2Icon','DownArrow','_baseWidth','startConnectionDetection','FlowchartSummingJunction','_sheetShapeAdjustController','renderDrawingShape','ShapeStar6Icon','ShapeFlowChartInternalStorageIcon','sheets-shape-ui.shape.type.flow-chart-sort','ShapeFlowChartPunchedCardIcon','sheets-shape-ui.shape.type.snip2-same-rect','setHighlighted','sheets-shape-ui.shape.type.parallelogram','dataStream','ShapeStar24Icon','_registerMoveHandler','sheetTransform','prstGeom','refreshAdjustControls','shapeId','_isConnecting','from','ShapeStar4Icon','ShapeFlowChartPredefinedProcessIcon','Corner','ActionButtonReturn','sheets-shape-ui.imagePanel.crop.shape','LEFT','_clearShapeAdjustControls','ShapeUturnArrowIcon','marginTop','sheets-shape-ui.shape.type.action-button-information','_sheetDrawingShapeRenderController','LeftArrow','changeShapeType','FlowchartDocument','ShapeCurvedConnector3Arrow2Icon','univer-size-full','gradientAngle','_updateSrcRectByTransform','StripedRightArrow','getInverseCoord','SquareDot','skeleton','RoundRect','sheets-shape-ui.shape.type.math-divide','ShapeBracketPairIcon','sheets-shape-ui.shape.type.curved-up-arrow','getCurrentTypeOfUnit$','getShapePopupMenus','composeMatrix','FlowchartPreparation','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','ActionButtonSound','multiply','register','_createControls','renderConfig','endArrow','FlowchartPredefinedProcess','sheets-shape-ui.shape.type.left-brace','AlignTopIcon','getRealBound','sheets-shape-ui.shapePosition','sheets-shape-ui.fill.transparency','ShapeMathDivideIcon','Octagon','sheets-shape-ui.shape.type.heart','ShapeFlowChartCollateIcon','line','sheets-shape-ui.shape.type.flow-chart-document','sheets-shape-ui.line.arrowSize.large','pluginName','transform','cos','sheets-shape-ui.line.sketchType.none','_draggingConnectorId','ShapeMathMinusIcon','editingParams$','Parallelogram','ActionButtonHelp','Gear6','_drawingType','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-text-editor','shape-text-','univer-w-20','calculate','ShapeWaveIcon','ShapeSnip1RectIcon','sheets-shape-ui.line.arrowType.ovalArrow','_menuManagerService','ShapeRtTriangleIcon','ShapeLeftBracketIcon','REMOVE','adjHandleFill','WedgeRectCallout','getAdjustInfoByName','sheets-shape-ui.shape.type.up-arrow','featurePluginUpdateNotification','sheets-shape-ui.toggleFlipV','length','width','getEndConnectInfo','ShapeFlowChartManualOperationIcon','isHorizontal','BUTTON','_clearConnectionSites','484767DZnVfh','save','_activeShapeModel','COMMAND','dataModel','_attachConnectorObjectEvent','sheetViewStartColumn','sheets-shape-ui.shape.type.double-wave','MathNotEqual','ShapeActionButtonMovieIcon','sheets-shape-ui.fill.picture.align.tl','Heptagon','min','point','enableObjectsEvent','_baseShapeTop','sheets-shape-ui.shape.type.diamond','removeLinePoints','getConnectionSiteList','subscribeEvent','sheets-shape-ui.line.endArrowType','_openShapeEditPanel','_sheetSkeletonService','calcAdjValue','univer-mb-2','START','relation','ShapeOctagonIcon','ActionButtonBeginning','body','prototype','sheets-shape-ui.line.arrowType.openArrow','ShapePieWedgeIcon','CUT','ShapeFlowChartDocumentIcon','ShapeLeftRightRibbonIcon','ShapeMathMultiplyIcon','angle','worldRect','disposeWithMe','sheets-shape-ui.shape.type.star32','top','ShapeSquareTabsIcon','_getConnectPointInfo','_adjHandlerPointerUp','setSrcRect','blur','EllipseRibbon2','ShapeAccentBorderCallout1Icon','ShapeAccentCallout3Icon','gdRefAng','_initCommands','AlignBottomIcon','ShapeWedgeRectCalloutIcon','_activeAdjustPointList','LeftBracket','DRAWING_SHAPE','ShapeFrameIcon','ShapeEllipseIcon','slice','_drawRichText','sheets-shape-ui.line.sketchType.handDrawn','documentStyle','localeService','pushUndoRedo','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','_getImageDrawingInfo','ShapeActionButtonHelpIcon','BentArrow','ShapeHalfFrameIcon','#bcbcbc','rowStartY','Callout2','ShapeRound2SameRectIcon','_hasReset','_baseShapeLeft','AccentCallout2','activeSheet$','ShapeLeftRightArrowCalloutIcon','Flat','sheets-shape-ui.shape.type.flow-chart-manual-input','max','ShapeRectTextboxHorizontalIcon','fillType','sheets-shape-ui.shape.type.corner','cxnIndex','univer-text-primary-600','_context','FlowChartOfflineStorage','_isShouldShowDrawingShapeAdjust','sheets-shape-ui.shape.type.accent-border-callout1','ActionButtonDocument','sheets-shape-ui.permission.editErr','sheets-shape-ui.fill.picture.offsetY','getFocusDrawings','ShapeCircularArrowIcon','_drawingAddListener','_getScrollInfo','ShapeMathNotEqualIcon','indexOf','GROUP','onPointerUp$','_baseShapeHeight','ShapeFunnelIcon','ShapeActionButtonDocumentIcon','ShapeSmileyFaceIcon','reduce','verticalAlign','sheets-shape-ui.line.dashType.longDashDotDot','univer-flex\x20univer-items-center\x20univer-justify-between','sheets-shape-ui.shape.type.ellipse','ShapeFlowChartMagneticDrumIcon','RIGHT','FlowchartCollate','sheets-shape-ui.line.capType.round','sheet.shape.picker.component','sheets-shape-ui.fill.picture.source','WRAP','sheets-shape-ui.shape.type.curved-right-arrow','ShapeCallout3Icon','_loadAndSetImage','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.shape.type.quad-arrow-callout','sheets-shape-ui.shape.type.right-bracket','sheets-shape-ui.shape.type.action-button-return','sheets-shape-ui.fill.solidFill','shapeKey','getConnectorLinePoints','ShapeStar8Icon','ShapeCornerTabsIcon','sheets-shape-ui.shape.type.plaque','sheets-shape-ui.shape.type.irregular-seal1','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeLineIcon','FlowchartDelay','1485750mfXFnA','focusDrawing','sheets-shape-ui.fill.picture.align.b','sheets-shape-ui.shape.type.cloud','horizontalAlign','sheets-shape-ui.shape.type.border-callout3','_initMenu','objects','getState','fill','sheets-shape-ui.shape.type.flow-chart-alternate-process','ShapeFlowChartMergeIcon','ShapeCallout2Icon','sheets-shape-ui.shape.type.snip-round-rect','index','dashType','sheets-shape-ui.shape.type.curved-left-arrow','ShapeEllipseRibbonIcon','sheets-shape-ui.line.joinType.title','updateDocumentRenderConfig','offsetY','_unitId','ShapeGear6Icon','sheets-shape-ui.line.dashType.longDashDot','update$','sheet.operation.open-sheet-shape-format-panel','sheets-shape-ui.openPanel','_registerShapeMenu','imageRotateWithShape','sheets-shape-ui.shape.type.flow-chart-process','ShapeChartXIcon','onload','AccentCallout1','scaleY','_sheetClipboardService','sheets-shape-ui.shape.type.star4','PictureFill','_generateCopyPasteMutations','onPointerMove$','getImageSourceCache','Small','setSelectionRanges','ShapeMoonIcon','sheets-shape-ui.shape.type.plus','worldPoint','sheets-shape-ui.shape.type.heptagon','clearAdjustControls','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0.25.0','sheet.command.update-shape-data','CurvedDownArrow','sheets-shape-ui.line.dashType.longDash','getTransformerByCreate','FoldedCorner','with','next','_sheetDrawingService','_activeTargetShapeId','subscribeContextValue$','equationShape','ShapeFlowChartOffpageConnectorIcon','sheets-shape-ui.shape.type.plaque-tabs','_updateAdjustControlPositions','Arrow','ShapeHeartIcon','sin','targetShapeId','shape-adjust-point-','gdRefY','LeftUpArrow','ShapePlaqueTabsIcon','_groupCopyPasteController','_clearShapeConnectorHandlerObjects','univer-w-28','_insertShapes','sheets-shape-ui.shape.type.left-bracket','viewportScrollY','sheets-shape-ui.shape.group.','getDrawingByParam','sheets-shape-ui.shape.type.ribbon2','getShapeDataById','dispose','BentConnector3','files','function','centerAngle','callout','MIDDLE','sheets-shape-ui.shape.type.ellipse-ribbon2','ShapeCurvedConnector3Icon','isArray','setFillImage','_univerInstanceService','sheets-shape-ui.shape.type.left-right-arrow','sheets-shape-ui.shape.type.accent-border-callout3','end','UpDownArrow','#000000','gradientStops','gdRefX','height','getBasicShapeRelation','Plus','sheets-shape-ui.shape.type.uturn-arrow','ShapeDiamondIcon','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','color','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','sheets-shape-ui.shape.type.left-right-ribbon','sheets-shape-ui.toggleFlipH','ShapeStripedRightArrowIcon','ShapeEllipseRibbon2Icon','DoubleWave','sheets-shape-ui.shape.type.flow-chart-offline-storage','FlowchartMerge','sheets-shape-ui.shape.type.rect-textbox-vertical','univer-text-gray-600\x20univer-transition-transform','getShapeTextRect','ShapeRightBraceIcon','add','None','sheets-shape-ui.shape.type.action-button-back-previous','_activeShapeInfo','sheets-shape-ui.shape.type.action-button-help','univer-hidden','sheets-shape-ui.shape.type.dodecagon','_initSelection','Snip1Rect','flipY','fillImageSourceType','sheets-shape-ui.shape.type.donut','getUnit','beginPath','changing$','sheets-shape-ui.shape.type.lightning-bolt','executeCommand','ShapeFlowChartPunchedTapeIcon','shapeData','univer-box-border\x20univer-px-4\x20univer-text-sm','_updateShapeAdjustControls','sheets-shape-ui.shape.type.flow-chart-delay','isEditing','setOnSavingEditorData','ShapeIrregularSeal1Icon','alignment','SHAPE_TEXT','sheets-shape-ui.shape.type.star10','setConfig','ShapeRound1RectIcon','FlowchartAlternateProcess','round','_connectionSiteObjects','setShapeProps','isRenderLinePointsMode','updateShapeFillImage','BorderCallout1','FlowchartMagneticDisk','sheet.command.set-shape-text-font-size-decrease','_getImagePrstGeom','sheets-shape-ui.shape.type.round1-rect','WedgeEllipseCallout','ancestorTransform','sheets-shape-ui.formatShape','DashDot','FlowchartMagneticDrum','pick','ShapeFlowChartDecisionIcon','prstGeomAdjValues','OvalArrow','deg)\x20scaleY(','sheets-shape-ui.shape.type.curved-connector3','sheets-shape-ui.shape.type.snip2-diag-rect','sheets-shape-ui.shape.type.corner-tabs','Donut','ShapeNoSmokingIcon','NotchedRightArrow','getDrawingSearch'];_0x5354=function(){return _0x1d9ca8;};return _0x5354();}Fo=$([Q(0x1,_0x2ac48c),Q(0x2,_0x1e77ba(_0x43fdcf)),Q(0x3,_0x1005f5),Q(0x4,_0x1e77ba(_o))],Fo);let Io=class extends _0x185401{constructor(_0x539dd6,_0x3ef57e,_0x535e8f,_0x5800d8){const _0x23b418=_0x5a7f20;super(),this[_0x23b418(0x4c0)]=_0x539dd6,this[_0x23b418(0x661)]=_0x3ef57e,this[_0x23b418(0x49c)]=_0x535e8f,this['_sheetsShapeService']=_0x5800d8,this['_initSheetChange']();}[_0x5a7f20(0x54a)](){const _0x85297b=_0x5a7f20;this[_0x85297b(0x404)](this['_sheetInterceptorService'][_0x85297b(0x610)]({'getMutations':_0xfe6010=>{const _0x1f9b0b=_0x85297b;if(_0xfe6010['id']===_0x2f1184['id']){let _0x1280e9=_0x4ed56f(this[_0x1f9b0b(0x4c0)],_0xfe6010['params']);if(!_0x1280e9)return{'redos':[],'undos':[]};let {unitId:_0x46a031,subUnitId:_0x12a7e2}=_0x1280e9,_0x17d2ce=this[_0x1f9b0b(0x49c)]['getDrawingData'](_0x46a031,_0x12a7e2),_0x1e0c79=Object[_0x1f9b0b(0x204)](_0x17d2ce)['filter'](_0xe961ff=>_0xe961ff['drawingType']===_0x5d8611[_0x1f9b0b(0x415)]);if(_0x1e0c79[_0x1f9b0b(0x3d6)]===0x0)return{'redos':[],'undos':[]};let _0x116ade=[],_0x2c550a=[];for(let _0x283dd2=0x0;_0x283dd2<_0x1e0c79[_0x1f9b0b(0x3d6)];_0x283dd2++){let _0x2971e4=_0x1e0c79[_0x283dd2],_0x2206eb=this['_sheetsShapeService'][_0x1f9b0b(0x2dc)](_0x2971e4[_0x1f9b0b(0x666)],_0x2971e4[_0x1f9b0b(0x279)],_0x2971e4['drawingId']);if(!_0x2206eb)continue;let {redo:_0x5d766f,undo:_0x3444f9,objects:_0x2a82db}=this[_0x1f9b0b(0x49c)][_0x1f9b0b(0x262)]([_0x2971e4]);_0x116ade[_0x1f9b0b(0x61f)]({'id':_0x1afa91['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'shapeId':_0x2971e4[_0x1f9b0b(0x1fb)]}}),_0x116ade[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'type':_0x25351c['REMOVE'],'op':_0x5d766f,'objects':_0x2a82db}}),_0x2c550a[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'type':_0x25351c[_0x1f9b0b(0x324)],'op':_0x3444f9,'objects':_0x2a82db}}),_0x2c550a[_0x1f9b0b(0x61f)]({'id':_0x265a48['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'shapeId':_0x2971e4[_0x1f9b0b(0x1fb)],'shapeType':_0x2206eb[_0x1f9b0b(0x36f)](),'shapeData':JSON[_0x1f9b0b(0x515)](JSON[_0x1f9b0b(0x633)](_0x2206eb[_0x1f9b0b(0x5d3)]()))}});}return{'redos':_0x116ade,'undos':_0x2c550a};}else{if(_0xfe6010['id']===_0xd48fc4['id']){let {unitId:_0x53bdf2,subUnitId:_0x167a09,targetSubUnitId:_0x3908ad}=_0xfe6010[_0x1f9b0b(0x233)];if(!_0x53bdf2||!_0x167a09||!_0x3908ad)return{'redos':[],'undos':[]};let _0x2e9646=this['_sheetDrawingService'][_0x1f9b0b(0x642)](_0x53bdf2,_0x167a09),_0x24f969=Object['values'](_0x2e9646)['filter'](_0x248b9a=>_0x248b9a[_0x1f9b0b(0x526)]===_0x5d8611[_0x1f9b0b(0x415)]);if(_0x24f969['length']===0x0)return{'redos':[],'undos':[]};let _0x13b7f1=[],_0x43b8a4=[];for(let _0x349df2=0x0;_0x349df2<_0x24f969[_0x1f9b0b(0x3d6)];_0x349df2++){let _0x45d937=_0x24f969[_0x349df2],_0xd37fbd=this[_0x1f9b0b(0x225)][_0x1f9b0b(0x2dc)](_0x45d937[_0x1f9b0b(0x666)],_0x45d937[_0x1f9b0b(0x279)],_0x45d937[_0x1f9b0b(0x1fb)]);if(!_0xd37fbd)continue;let _0x74db59=_0x1ecc78(),_0x38eefd={..._0x45d937,'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'drawingId':_0x74db59},{redo:_0x3b56bf,undo:_0x44d7c4,objects:_0x4ec12c}=this[_0x1f9b0b(0x49c)][_0x1f9b0b(0x361)]([_0x38eefd]);_0x13b7f1[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'type':_0x25351c[_0x1f9b0b(0x324)],'op':_0x3b56bf,'objects':_0x4ec12c}}),_0x13b7f1['push']({'id':_0x265a48['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'shapeId':_0x74db59,'shapeType':_0xd37fbd['getShapeType'](),'shapeData':JSON['parse'](JSON['stringify'](_0xd37fbd[_0x1f9b0b(0x5d3)]()))}}),_0x43b8a4['push']({'id':_0x1afa91['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'shapeId':_0x74db59}}),_0x43b8a4[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'type':_0x25351c[_0x1f9b0b(0x3cf)],'op':_0x44d7c4,'objects':_0x4ec12c}});}return{'redos':_0x13b7f1,'undos':_0x43b8a4};}}return{'redos':[],'undos':[]};}}));}};Io=$([Q(0x0,_0x1e77ba(_0x1005f5)),Q(0x1,_0x1e77ba(_0x345a24)),Q(0x2,_0x1e77ba(_0x1aa5fa)),Q(0x3,_0x1e77ba(_0xc9428c))],Io);let Lo=class extends _0x185401{constructor(_0x55037f,_0x25f42c,_0x1b5d27,_0x4eeea9,_0x5c65bf){const _0x41ac74=_0x5a7f20;super(),this[_0x41ac74(0x434)]=_0x55037f,this['_shapeTextEditingService']=_0x25f42c,this[_0x41ac74(0x65c)]=_0x1b5d27,this[_0x41ac74(0x1c4)]=_0x4eeea9,this[_0x41ac74(0x225)]=_0x5c65bf,Y(this,_0x41ac74(0x2a1),null),this[_0x41ac74(0x63f)](),this['_initSelection'](),this[_0x41ac74(0x5b2)]();}['_initEvents'](){const _0x502b60=_0x5a7f20;let {scene:_0x33ee31}=this['_context'];this[_0x502b60(0x404)](_0x33ee31[_0x502b60(0x555)][_0x502b60(0x3f0)](_0x6c0246=>{const _0x416826=_0x502b60;let {offsetX:_0x5d3943,offsetY:_0x256ec3}=_0x6c0246,_0x40fdbc=_0x33ee31[_0x416826(0x509)](_0x140ff4[_0x416826(0x5a9)]([_0x5d3943,_0x256ec3]));if(_0x40fdbc instanceof to){if(_0x39df67(this[_0x416826(0x225)]['getShapeType'](_0x40fdbc[_0x416826(0x666)],_0x40fdbc[_0x416826(0x279)],_0x40fdbc[_0x416826(0x384)])))return;this[_0x416826(0x556)][_0x416826(0x59b)]({'visible':!0x0,'unitId':_0x40fdbc[_0x416826(0x666)],'subUnitId':_0x40fdbc[_0x416826(0x279)],'shapeId':_0x40fdbc[_0x416826(0x384)],'shapeKey':_0x40fdbc[_0x416826(0x545)]});}}));}[_0x5a7f20(0x4e2)](){const _0x360c4e=_0x5a7f20;this[_0x360c4e(0x404)](this[_0x360c4e(0x65c)][_0x360c4e(0x237)][_0x360c4e(0x2ab)](_0x5b0d8d=>{const _0xa5a9a9=_0x360c4e;if(_0x5b0d8d[_0xa5a9a9(0x3d6)]===0x1){let _0x21ee87=_0x5b0d8d[0x0],_0x11bcf4=this[_0xa5a9a9(0x65c)]['getDrawingByParam'](_0x21ee87);if((_0x11bcf4==null?void 0x0:_0x11bcf4['drawingType'])===_0x5d8611[_0xa5a9a9(0x415)]){let _0x1afdd3=this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]();if((_0x1afdd3==null?void 0x0:_0x1afdd3[_0xa5a9a9(0x384)])===_0x21ee87[_0xa5a9a9(0x1fb)]&&_0x1afdd3['visible'])return;_0x39df67(this['_sheetsShapeService'][_0xa5a9a9(0x36f)](_0x21ee87['unitId'],_0x21ee87[_0xa5a9a9(0x279)],_0x21ee87[_0xa5a9a9(0x1fb)]))&&this[_0xa5a9a9(0x556)]['setEditing'](null);}else this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]()&&(this[_0xa5a9a9(0x556)][_0xa5a9a9(0x4f2)](!0x0),requestAnimationFrame(()=>{const _0x4b68ee=_0xa5a9a9;this['_shapeTextEditingService'][_0x4b68ee(0x59b)](null);}));}else this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]()&&(this[_0xa5a9a9(0x556)][_0xa5a9a9(0x4f2)](!0x0),requestAnimationFrame(()=>{const _0x28b533=_0xa5a9a9;this['_shapeTextEditingService'][_0x28b533(0x59b)](null);}));})),this[_0x360c4e(0x404)](this[_0x360c4e(0x65c)][_0x360c4e(0x5bb)]['subscribe'](_0x2b49bc=>{const _0xe04986=_0x360c4e;let _0x46e8f0=this[_0xe04986(0x556)][_0xe04986(0x5e0)]();_0x46e8f0&&_0x2b49bc[_0xe04986(0x67a)](_0x597cc9=>_0x597cc9[_0xe04986(0x1fb)]===_0x46e8f0['shapeId'])&&this['_shapeTextEditingService'][_0xe04986(0x59b)](null);}));}[_0x5a7f20(0x5b2)](){const _0x59a034=_0x5a7f20;this['disposeWithMe'](this[_0x59a034(0x556)][_0x59a034(0x3bf)][_0x59a034(0x2ab)](_0x510bb5=>{const _0x3d17e3=_0x59a034;let {scene:_0x357ceb}=this[_0x3d17e3(0x434)];if(this[_0x3d17e3(0x2a1)]){let _0xb6ac9=_0x357ceb['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0xb6ac9&&_0xb6ac9[_0x3d17e3(0x59b)](!0x1);}if(_0x510bb5){let _0x3eab21=!!_0x510bb5['visible'],_0x25950a=_0x357ceb[_0x3d17e3(0x33c)](_0x510bb5[_0x3d17e3(0x45b)]);_0x25950a&&(_0x25950a[_0x3d17e3(0x59b)](_0x3eab21),this[_0x3d17e3(0x2a1)]=_0x510bb5[_0x3d17e3(0x45b)]),this['_contextService']['setContextValue'](_0x414a62,_0x3eab21);}else this['_lastEditingShapeKey']=null,this[_0x3d17e3(0x1c4)][_0x3d17e3(0x209)](_0x414a62,!0x1);}));}};Lo=$([Q(0x1,_0x1e77ba(X)),Q(0x2,_0x2ac48c),Q(0x3,_0x2d6196),Q(0x4,_0x1e77ba(_0xc9428c))],Lo);const Ro={'normal':{'fill':_0x9a1b85[_0x5a7f20(0x620)],'stroke':_0x9a1b85['cxnPointStroke'],'strokeWidth':_0x9a1b85[_0x5a7f20(0x675)]},'highlighted':{'fill':_0x5a7f20(0x329),'stroke':_0x5a7f20(0x672),'strokeWidth':0x2}};var zo=class extends _0xe1d4df{constructor(_0x15823b,_0x595711){const _0x3011ae=_0x5a7f20;super(_0x15823b,_0x595711),Y(this,_0x3011ae(0x2f1),''),Y(this,_0x3011ae(0x676),-0x1),Y(this,'_unitId',''),Y(this,_0x3011ae(0x2aa),''),Y(this,_0x3011ae(0x276),!0x1),_0x595711&&this[_0x3011ae(0x4fc)](_0x595711);}[_0x5a7f20(0x5a5)](){const _0x2c69e4=_0x5a7f20;return{'unitId':this['_unitId'],'subUnitId':this[_0x2c69e4(0x2aa)],'shapeId':this['_targetShapeId'],'cxnIndex':this['_cxnIndex']};}['setHighlighted'](_0x4efd02){const _0x2930f5=_0x5a7f20;this[_0x2930f5(0x276)]!==_0x4efd02&&(this['_isHighlighted']=_0x4efd02,this['makeDirty'](!0x0));}[_0x5a7f20(0x1fe)](){const _0x462f25=_0x5a7f20;return this[_0x462f25(0x276)];}[_0x5a7f20(0x4fc)](_0x3d2c5a){const _0xe3b4aa=_0x5a7f20;var _0x30dd62,_0x4aebcb;_0x3d2c5a[_0xe3b4aa(0x4a6)]!==void 0x0&&(this[_0xe3b4aa(0x2f1)]=_0x3d2c5a[_0xe3b4aa(0x4a6)]),_0x3d2c5a[_0xe3b4aa(0x432)]!==void 0x0&&(this[_0xe3b4aa(0x676)]=_0x3d2c5a[_0xe3b4aa(0x432)]),_0x3d2c5a[_0xe3b4aa(0x666)]!==void 0x0&&(this[_0xe3b4aa(0x479)]=_0x3d2c5a['unitId']),_0x3d2c5a['subUnitId']!==void 0x0&&(this[_0xe3b4aa(0x2aa)]=_0x3d2c5a['subUnitId']),_0x3d2c5a[_0xe3b4aa(0x1fe)]!==void 0x0&&(this['_isHighlighted']=_0x3d2c5a[_0xe3b4aa(0x1fe)]),this[_0xe3b4aa(0x288)]({'width':(_0x30dd62=_0x3d2c5a[_0xe3b4aa(0x3d7)])==null?_0x9a1b85[_0xe3b4aa(0x5e2)]*0x2:_0x30dd62,'height':(_0x4aebcb=_0x3d2c5a['height'])==null?_0x9a1b85[_0xe3b4aa(0x5e2)]*0x2:_0x4aebcb});}[_0x5a7f20(0x260)](_0x2098e2){const _0xb816bc=_0x5a7f20;let _0x335b46=this[_0xb816bc(0x276)]?Ro[_0xb816bc(0x1f8)]:Ro['normal'];_0x574c0f[_0xb816bc(0x2ce)](_0x2098e2,{'radius':_0x9a1b85['cxnPointRadius'],'fill':_0x335b46[_0xb816bc(0x46d)],'stroke':_0x335b46[_0xb816bc(0x2a4)],'strokeWidth':_0x335b46[_0xb816bc(0x634)],'evented':!0x0});}};let Bo=class extends _0x185401{constructor(_0x32b241,_0x325870,_0x3a7795,_0x5dd32a){const _0x279a6f=_0x5a7f20;super(),this['_context']=_0x32b241,this['_renderManagerService']=_0x325870,this[_0x279a6f(0x65c)]=_0x3a7795,this['_sheetsShapeService']=_0x5dd32a,Y(this,_0x279a6f(0x4fb),[]),Y(this,_0x279a6f(0x49d),null),Y(this,_0x279a6f(0x2e1),-0x1),Y(this,'_currentScene',null),Y(this,'_unitId',''),Y(this,_0x279a6f(0x2aa),''),Y(this,_0x279a6f(0x3bd),null);}[_0x5a7f20(0x373)](_0x313405,_0x31e5fa,_0x5106ab,_0x414e1d){const _0x308319=_0x5a7f20;this[_0x308319(0x579)]=_0x313405,this[_0x308319(0x479)]=_0x31e5fa,this[_0x308319(0x2aa)]=_0x5106ab,this[_0x308319(0x3bd)]=_0x414e1d;}[_0x5a7f20(0x21c)](_0x2a2f69){const _0x158c14=_0x5a7f20;if(!this['_currentScene'])return null;let _0xbd6c04=this[_0x158c14(0x596)](_0x2a2f69);return _0xbd6c04?(this[_0x158c14(0x49d)]!==_0xbd6c04['shapeId']&&(this[_0x158c14(0x3dc)](),this['_showConnectionSites'](_0xbd6c04[_0x158c14(0x384)],_0xbd6c04['shapeModel']),this[_0x158c14(0x49d)]=_0xbd6c04[_0x158c14(0x384)]),this['_findNearestConnectionSite'](_0x2a2f69)):(this[_0x158c14(0x49d)]!==null&&(this[_0x158c14(0x3dc)](),this[_0x158c14(0x49d)]=null),null);}[_0x5a7f20(0x320)](){const _0x42014d=_0x5a7f20;this[_0x42014d(0x3dc)](),this[_0x42014d(0x579)]=null,this[_0x42014d(0x49d)]=null,this[_0x42014d(0x2e1)]=-0x1,this[_0x42014d(0x3bd)]=null;}[_0x5a7f20(0x660)](){const _0x109dd6=_0x5a7f20;return this[_0x109dd6(0x49d)]===null||this[_0x109dd6(0x2e1)]<0x0?null:{'shapeId':this[_0x109dd6(0x49d)],'cxnIndex':this['_highlightedSiteIndex']};}[_0x5a7f20(0x596)](_0x44823d){const _0x117d66=_0x5a7f20;let _0x26c78c=this[_0x117d66(0x65c)][_0x117d66(0x642)](this[_0x117d66(0x479)],this[_0x117d66(0x2aa)]);for(let _0x359af4 of Object[_0x117d66(0x578)](_0x26c78c)){if(_0x359af4===this[_0x117d66(0x3bd)]||_0x26c78c[_0x359af4]['drawingType']!==_0x5d8611['DRAWING_SHAPE'])continue;let _0x25333b=this[_0x117d66(0x225)][_0x117d66(0x2dc)](this[_0x117d66(0x479)],this[_0x117d66(0x2aa)],_0x359af4);if(!_0x25333b||_0x39df67(_0x25333b[_0x117d66(0x36f)]())||_0x25333b[_0x117d66(0x3ef)]()[_0x117d66(0x3d6)]===0x0||!this[_0x117d66(0x579)])continue;let _0xb2c872=_0x46e3e9({'unitId':this[_0x117d66(0x479)],'subUnitId':this[_0x117d66(0x2aa)],'drawingId':_0x359af4}),_0x44dda6=this[_0x117d66(0x579)][_0x117d66(0x33c)](_0xb2c872);if(!_0x44dda6)continue;let {left:_0x144b4c,top:_0x102834,width:_0x1754fe,height:_0x19077e}=_0x44dda6[_0x117d66(0x3af)](),_0x2000e7=_0x144b4c+_0x1754fe/0x2,_0x113ca1=_0x102834+_0x19077e/0x2,_0x30efd2=_0x44dda6[_0x117d66(0x3ba)][_0x117d66(0x1c5)](),_0xa112bb=new _0x155f20([_0x30efd2[0x0],_0x30efd2[0x1],_0x30efd2[0x2],_0x30efd2[0x3],_0x2000e7,_0x113ca1]),_0x4de3f1=_0x44dda6[_0x117d66(0x2ed)](),_0x1e1d8a=(_0x44dda6[_0x117d66(0x32a)]&&(_0x4de3f1==null?void 0x0:_0x4de3f1[_0x117d66(0x250)])===_0x558a8a['GROUP']?_0x4de3f1[_0x117d66(0x505)]['multiply'](_0xa112bb):_0xa112bb)[_0x117d66(0x5de)]()[_0x117d66(0x255)](_0x44823d),_0x2511dd=_0x1754fe/0x2,_0x590722=_0x19077e/0x2;if(_0x1e1d8a['x']>=-_0x2511dd-0x5&&_0x1e1d8a['x']<=_0x2511dd+0x5&&_0x1e1d8a['y']>=-_0x590722-0x5&&_0x1e1d8a['y']<=_0x590722+0x5)return{'shapeId':_0x359af4,'shapeModel':_0x25333b};}return null;}[_0x5a7f20(0x60b)](_0x518211,_0x521159){const _0x316248=_0x5a7f20;if(!this[_0x316248(0x579)])return;let _0x5928a8=_0x46e3e9({'unitId':this[_0x316248(0x479)],'subUnitId':this[_0x316248(0x2aa)],'drawingId':_0x518211}),_0x156e64=this[_0x316248(0x579)][_0x316248(0x33c)](_0x5928a8);if(!_0x156e64)return;let {left:_0x1c0963,top:_0x24d6af,width:_0x17f81d,height:_0x368fe3}=_0x156e64[_0x316248(0x3af)](),_0x24ffbe=_0x1c0963+_0x17f81d/0x2,_0x4fd42d=_0x24d6af+_0x368fe3/0x2,_0x5da024=_0x156e64['transform'][_0x316248(0x1c5)](),_0xedcbb7=new _0x155f20([_0x5da024[0x0],_0x5da024[0x1],_0x5da024[0x2],_0x5da024[0x3],_0x24ffbe,_0x4fd42d]),_0xfee302=_0x156e64[_0x316248(0x2ed)](),_0x43d8a3=_0x156e64[_0x316248(0x32a)]&&(_0xfee302==null?void 0x0:_0xfee302['classType'])===_0x558a8a[_0x316248(0x441)]?_0xfee302[_0x316248(0x505)]['multiply'](_0xedcbb7):_0xedcbb7;_0x521159[_0x316248(0x5ed)]({'width':_0x17f81d,'height':_0x368fe3});let _0x4665f1=_0x521159[_0x316248(0x3ef)]();for(let _0x48aacc of _0x4665f1){let _0x849a23=_0x48aacc['x']-_0x17f81d/0x2,_0x19bb6d=_0x48aacc['y']-_0x368fe3/0x2,_0x19f818=_0x43d8a3[_0x316248(0x255)]({'x':_0x849a23,'y':_0x19bb6d}),_0x358339=_0x19f818['x'],_0xfe366a=_0x19f818['y'],_0x279aca=new zo(_0x316248(0x655)+_0x518211+'-'+_0x48aacc[_0x316248(0x472)],{'left':_0x358339-_0x9a1b85[_0x316248(0x5e2)],'top':_0xfe366a-_0x9a1b85[_0x316248(0x5e2)],'targetShapeId':_0x518211,'cxnIndex':_0x48aacc[_0x316248(0x472)],'unitId':this[_0x316248(0x479)],'subUnitId':this[_0x316248(0x2aa)],'width':_0x9a1b85[_0x316248(0x5e2)]*0x2,'height':_0x9a1b85[_0x316248(0x5e2)]*0x2,'zIndex':_0x3929c9+0x2,'evented':!0x1});this[_0x316248(0x4fb)][_0x316248(0x61f)](_0x279aca),this['_currentScene'][_0x316248(0x61e)](_0x279aca,_0x3929c9+0x2);}}[_0x5a7f20(0x5cb)](_0x15b5b2){const _0x3965af=_0x5a7f20;let _0x4678f8=null,_0xeff708=0x1/0x0,_0x335a79=null;for(let _0xd51888 of this[_0x3965af(0x4fb)]){let _0x3e41af=_0xd51888[_0x3965af(0x5af)]+_0x9a1b85[_0x3965af(0x5e2)],_0x38a5f1=_0xd51888[_0x3965af(0x406)]+_0x9a1b85[_0x3965af(0x5e2)],_0x5c16c2=_0x15b5b2['x']-_0x3e41af,_0x4cd272=_0x15b5b2['y']-_0x38a5f1,_0x1ae075=Math[_0x3965af(0x53a)](_0x5c16c2*_0x5c16c2+_0x4cd272*_0x4cd272);_0x1ae075<_0xeff708&&(_0xeff708=_0x1ae075,_0x4678f8=_0xd51888,_0x335a79={'x':_0x3e41af,'y':_0x38a5f1});}let _0x13b922=_0xeff708<=0xa&&_0x4678f8?_0x4678f8[_0x3965af(0x5a5)]()[_0x3965af(0x432)]:-0x1;if(_0x13b922!==this[_0x3965af(0x2e1)]){for(let _0x3b84e6 of this[_0x3965af(0x4fb)]){let _0x1efe29=_0x3b84e6[_0x3965af(0x5a5)]();_0x3b84e6[_0x3965af(0x37c)](_0x1efe29[_0x3965af(0x432)]===_0x13b922);}this[_0x3965af(0x2e1)]=_0x13b922;}if(_0xeff708<=0xa&&_0x4678f8&&_0x335a79){let _0x14410b=_0x4678f8[_0x3965af(0x5a5)](),_0x1e9cc7=this[_0x3965af(0x57e)](_0x14410b[_0x3965af(0x384)],_0x14410b[_0x3965af(0x432)]);return{'shapeId':_0x14410b[_0x3965af(0x384)],'cxnIndex':_0x14410b[_0x3965af(0x432)],'unitId':_0x14410b[_0x3965af(0x666)],'subUnitId':_0x14410b['subUnitId'],'worldPoint':_0x335a79,'angle':_0x1e9cc7};}return null;}[_0x5a7f20(0x57e)](_0x28140b,_0x10b8e1){const _0x47c4cd=_0x5a7f20;let _0x53e582=this[_0x47c4cd(0x225)][_0x47c4cd(0x2dc)](this[_0x47c4cd(0x479)],this[_0x47c4cd(0x2aa)],_0x28140b);if(!_0x53e582)return 0x0;let _0x3e4eb9=this['_drawingManagerService'][_0x47c4cd(0x4b2)]({'unitId':this[_0x47c4cd(0x479)],'subUnitId':this[_0x47c4cd(0x2aa)],'drawingId':_0x28140b});if(!(_0x3e4eb9!=null&&_0x3e4eb9['transform']))return 0x0;let {width:_0x3b649c=0x0,height:_0xf549d1=0x0,flipX:_0x53e7a9=!0x1,flipY:_0x1d797a=!0x1}=_0x3e4eb9[_0x47c4cd(0x3ba)];_0x53e582[_0x47c4cd(0x5ed)]({'width':_0x3b649c,'height':_0xf549d1});let _0x44b2e4=_0x53e582[_0x47c4cd(0x3ef)]()['find'](_0x5b911e=>_0x5b911e[_0x47c4cd(0x472)]===_0x10b8e1);if(!_0x44b2e4)return 0x0;let _0x1b11a5=_0x44b2e4['ang']/0xea60;return _0x53e7a9&&(_0x1b11a5=0xb4-_0x1b11a5),_0x1d797a&&(_0x1b11a5=-_0x1b11a5),_0x1b11a5=(_0x1b11a5%0x168+0x168)%0x168,_0x1b11a5;}[_0x5a7f20(0x3dc)](){const _0x337473=_0x5a7f20;for(let _0x299753 of this[_0x337473(0x4fb)])_0x299753[_0x337473(0x4b5)]();this[_0x337473(0x4fb)]=[],this[_0x337473(0x2e1)]=-0x1;}['dispose'](){const _0x4f338e=_0x5a7f20;this[_0x4f338e(0x3dc)](),super[_0x4f338e(0x4b5)]();}};Bo=$([Q(0x1,_0x1e77ba(_0x43fdcf)),Q(0x2,_0x1e77ba(_0x2ac48c)),Q(0x3,_0x1e77ba(_0xc9428c))],Bo);let Vo=class extends _0x185401{constructor(_0x4f2c89,_0x1195eb,_0x39ddaa,_0x58b77e,_0x1a78f8){const _0x44b718=_0x5a7f20;super(),this[_0x44b718(0x3f3)]=_0x4f2c89,this[_0x44b718(0x486)]=_0x1195eb,this[_0x44b718(0x49c)]=_0x39ddaa,this[_0x44b718(0x332)]=_0x58b77e,this[_0x44b718(0x4ab)]=_0x1a78f8,Y(this,'_copyInfo',void 0x0),this['_initCopyPaste'](),this[_0x44b718(0x5fb)]();}get[_0x5a7f20(0x29a)](){const _0x50753c=_0x5a7f20;return this[_0x50753c(0x49c)][_0x50753c(0x43b)]();}[_0x5a7f20(0x5fb)](){const _0xc895bc=_0x5a7f20;this[_0xc895bc(0x4ab)][_0xc895bc(0x1c2)](({fromUnitId:_0x4fcca7,fromSubUnitId:_0x11d6d5,toUnitId:_0x1817fe,toSubUnitId:_0x5a7813,idMap:_0x13ccc2})=>{const _0x3d88ac=_0xc895bc;let _0x44da05=[],_0x2ea72d=[];for(let [_0x416969,_0x114468]of _0x13ccc2[_0x3d88ac(0x629)]()){let _0x4711f1=this[_0x3d88ac(0x332)]['getShapeModel'](_0x4fcca7,_0x11d6d5,_0x416969);if(!_0x4711f1)continue;let _0x8d2a22=_0x4711f1[_0x3d88ac(0x36f)](),_0x15a020=JSON['parse'](JSON['stringify'](_0x4711f1[_0x3d88ac(0x5d3)]()));if(_0x15a020[_0x3d88ac(0x3f7)]){var _0x3090aa,_0x2fed11;let _0x5bf0b5=(_0x3090aa=_0x15a020['relation'][_0x3d88ac(0x386)])==null?void 0x0:_0x3090aa[_0x3d88ac(0x384)],_0x583054=(_0x2fed11=_0x15a020[_0x3d88ac(0x3f7)]['to'])==null?void 0x0:_0x2fed11[_0x3d88ac(0x384)],_0xea6b04=_0x5bf0b5?_0x13ccc2['has'](_0x5bf0b5):!0x0,_0x472b4e=_0x583054?_0x13ccc2[_0x3d88ac(0x549)](_0x583054):!0x0;_0xea6b04&&_0x5bf0b5&&_0x15a020[_0x3d88ac(0x3f7)][_0x3d88ac(0x386)]?_0x15a020['relation'][_0x3d88ac(0x386)]={..._0x15a020['relation'][_0x3d88ac(0x386)],'shapeId':_0x13ccc2['get'](_0x5bf0b5)}:_0x15a020[_0x3d88ac(0x3f7)][_0x3d88ac(0x386)]=void 0x0,_0x472b4e&&_0x583054&&_0x15a020[_0x3d88ac(0x3f7)]['to']?_0x15a020[_0x3d88ac(0x3f7)]['to']={..._0x15a020[_0x3d88ac(0x3f7)]['to'],'shapeId':_0x13ccc2[_0x3d88ac(0x2f7)](_0x583054)}:_0x15a020[_0x3d88ac(0x3f7)]['to']=void 0x0;}_0x44da05[_0x3d88ac(0x61f)]({'id':_0x265a48['id'],'params':{'unitId':_0x1817fe,'subUnitId':_0x5a7813,'shapeId':_0x114468,'shapeType':_0x8d2a22,'shapeData':_0x15a020}}),_0x2ea72d[_0x3d88ac(0x61f)]({'id':_0x1afa91['id'],'params':{'unitId':_0x1817fe,'subUnitId':_0x5a7813,'shapeId':_0x114468}});}return{'redos':_0x44da05,'undos':_0x2ea72d};});}['_initCopyPaste'](){const _0x14ea86=_0x5a7f20;this['disposeWithMe'](this[_0x14ea86(0x486)]['addClipboardHook']({'id':_0x14ea86(0x631),'onBeforeCopy':(_0x22410b,_0x191103,_0x111261,_0x16c035)=>{const _0x3de0f5=_0x14ea86;this[_0x3de0f5(0x1f6)]=null;let _0xf3eddf=this['_focusedDrawings'];if(_0xf3eddf[_0x3de0f5(0x3d6)]){let _0x45ab5f=_0xf3eddf[_0x3de0f5(0x20d)](_0x54cc8e=>_0x54cc8e['drawingType']===_0x5d8611[_0x3de0f5(0x415)]);if(_0x45ab5f[_0x3de0f5(0x3d6)]===0x0)return;this[_0x3de0f5(0x1f6)]={'unitId':_0x22410b,'subUnitId':_0x191103,'copyType':_0x16c035,'drawings':_0x45ab5f};}else this[_0x3de0f5(0x5a6)](_0x22410b,_0x191103,_0x111261,_0x16c035);},'onPasteCells':(_0x2fc83d,_0x3d0795,_0x8aa67e,_0x3dc118)=>{const _0x1a02c7=_0x14ea86;if(!this[_0x1a02c7(0x1f6)])return{'redos':[],'undos':[]};let {pasteType:_0x1711f6}=_0x3dc118;return _0x1711f6===_0x2c01a3['DEFAULT_PASTE']?this[_0x1a02c7(0x261)](_0x3d0795,this[_0x1a02c7(0x1f6)]['copyType']===_0x1be5d9[_0x1a02c7(0x3fe)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x18228b=>this[_0x14ea86(0x1f6)]?this[_0x14ea86(0x261)](_0x18228b,this[_0x14ea86(0x1f6)]['copyType']===_0x1be5d9['CUT']):{'redos':[],'undos':[]}}));}['_createCopyInfoByRange'](_0x89a60b,_0x2dbd95,_0x27ec56,_0xce83ca){const _0x40183a=_0x5a7f20;let _0x19dc1f=this[_0x40183a(0x3f3)][_0x40183a(0x597)](_0x89a60b,_0x2dbd95);if(!_0x19dc1f)return;let _0x2904d1=_0xc6d9d5(_0x19dc1f,_0x27ec56);if(!_0x2904d1)return;let {startX:_0x1dd344,endX:_0x51400c,startY:_0x312db5,endY:_0x150748}=_0x2904d1,_0x4c0959=this[_0x40183a(0x49c)][_0x40183a(0x642)](_0x89a60b,_0x2dbd95),_0x4fce6b=this[_0x40183a(0x29a)][_0x40183a(0x418)]();for(let [_0x310997,_0x584643]of Object[_0x40183a(0x629)](_0x4c0959)){if(_0x584643['drawingType']!==_0x5d8611[_0x40183a(0x415)])continue;let {transform:_0x4fcc24}=_0x584643;if(!_0x4fcc24)continue;let {left:_0x3cb6ab=0x0,top:_0x532b4d=0x0,width:_0x3c62f9=0x0,height:_0x394080=0x0}=_0x4fcc24;_0x1dd344<=_0x3cb6ab&&_0x51400c>=_0x3cb6ab+_0x3c62f9&&_0x312db5<=_0x532b4d&&_0x150748>=_0x532b4d+_0x394080&&_0x4fce6b[_0x40183a(0x61f)](_0x584643);}_0x4fce6b['length']>0x0&&(this[_0x40183a(0x1f6)]={'unitId':_0x89a60b,'subUnitId':_0x2dbd95,'copyType':_0xce83ca,'copyRange':_0x27ec56,'drawings':_0x4fce6b});}[_0x5a7f20(0x261)](_0x3c1512,_0x2f9566){const _0xc0d336=_0x5a7f20;let {unitId:_0x3bf33e,subUnitId:_0x516280,range:_0x278024}=_0x3c1512,_0x185efa=this[_0xc0d336(0x3f3)]['getSkeleton'](_0x3bf33e,_0x516280);if(!_0x185efa)return{'redos':[],'undos':[]};let _0x4418b3=_0x5d3fa2(_0x278024),{unitId:_0x1d85e5,subUnitId:_0x718ffa,copyRange:_0x359237,drawings:_0x120552}=this['_copyInfo'],_0x17b722=this[_0xc0d336(0x3f3)][_0xc0d336(0x597)](_0x1d85e5,_0x718ffa);if(!_0x17b722)return{'redos':[],'undos':[]};let _0x37be6d;if(!_0x359237){let _0xadec29=0x1/0x0,_0x4936b0=0x1/0x0;for(let _0x1c6feb of _0x120552){var _0x28e3d9;let {left:_0x27e538=0x0,top:_0x49ab1e=0x0}=(_0x28e3d9=_0x1c6feb['transform'])==null?{}:_0x28e3d9;_0x27e538<_0xadec29&&(_0xadec29=_0x27e538),_0x49ab1e<_0x4936b0&&(_0x4936b0=_0x49ab1e);}_0xadec29!==0x1/0x0&&_0x4936b0!==0x1/0x0&&(_0x37be6d={'left':_0xadec29,'top':_0x4936b0});}let _0x5407c8=new Map();if(!_0x2f9566){for(let _0x391eb8 of _0x120552)_0x5407c8[_0xc0d336(0x605)](_0x391eb8[_0xc0d336(0x1fb)],_0x1ecc78());}let _0x1a8d27=[],_0x5896f6=[];for(let _0x2b30d5 of _0x120552){let {drawingId:_0x2bbad5,transform:_0xb990d3,sheetTransform:_0x1e3615}=_0x2b30d5;if(!_0xb990d3||!_0x1e3615)continue;let _0x7a0ce=this[_0xc0d336(0x632)]({'transform':_0xb990d3,'sheetTransform':_0x1e3615},{'skeleton':_0x17b722,'range':_0x359237},{'skeleton':_0x185efa,'range':_0x4418b3},_0x37be6d);if(_0x2f9566){let {redos:_0x3c7b5c,undos:_0x1d9fa5}=this[_0xc0d336(0x2cb)]({'fromUnitId':_0x1d85e5,'fromSubUnitId':_0x718ffa,'toUnitId':_0x3bf33e,'toSubUnitId':_0x516280,'drawing':_0x2b30d5,'newTransforms':_0x7a0ce});_0x1a8d27[_0xc0d336(0x61f)](..._0x3c7b5c),_0x5896f6[_0xc0d336(0x61f)](..._0x1d9fa5);continue;}let {redos:_0x41dbce,undos:_0x15d8cd}=this[_0xc0d336(0x489)]({'toUnitId':_0x3bf33e,'toSubUnitId':_0x516280,'drawing':_0x2b30d5,'newTransforms':_0x7a0ce,'newDrawingId':_0x5407c8['get'](_0x2bbad5),'idMap':_0x5407c8});_0x1a8d27[_0xc0d336(0x61f)](..._0x41dbce),_0x5896f6[_0xc0d336(0x61f)](..._0x15d8cd);}return{'redos':_0x1a8d27,'undos':_0x5896f6};}[_0x5a7f20(0x2cb)](_0x4e9c6d){const _0x26a31f=_0x5a7f20;let {fromUnitId:_0x31882d,fromSubUnitId:_0x23085c,toUnitId:_0x33ff86,toSubUnitId:_0x2d6989,drawing:_0x9963c4,newTransforms:_0x4fa031}=_0x4e9c6d,_0x23ee6f={..._0x9963c4,'unitId':_0x33ff86,'subUnitId':_0x2d6989,'transform':_0x4fa031[_0x26a31f(0x3ba)],'sheetTransform':_0x4fa031[_0x26a31f(0x381)]};if(_0x33ff86===_0x31882d&&_0x2d6989===_0x23085c){let {redo:_0x1229f7,undo:_0xf7f135,objects:_0x5f1bd7}=this[_0x26a31f(0x49c)][_0x26a31f(0x307)]([_0x23ee6f]);return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c[_0x26a31f(0x5be)],'op':_0x1229f7,'objects':_0x5f1bd7}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c[_0x26a31f(0x5be)],'op':_0xf7f135,'objects':_0x5f1bd7}}]};}else{let _0x18ce4f=this[_0x26a31f(0x49c)]['getBatchRemoveOp']([_0x9963c4]),_0x426b92=this['_sheetDrawingService'][_0x26a31f(0x361)]([_0x23ee6f]),_0x1d019a=this[_0x26a31f(0x332)]['getShapeModel'](_0x9963c4['unitId'],_0x9963c4[_0x26a31f(0x279)],_0x9963c4[_0x26a31f(0x1fb)]);if(!_0x1d019a)return{'redos':[],'undos':[]};let _0x53d6bb=_0x1d019a[_0x26a31f(0x36f)](),_0x85c402=JSON[_0x26a31f(0x515)](JSON[_0x26a31f(0x633)](_0x1d019a[_0x26a31f(0x5d3)]()));return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'type':_0x25351c['REMOVE'],'op':_0x18ce4f[_0x26a31f(0x682)],'objects':_0x18ce4f[_0x26a31f(0x46b)]}},{'id':_0x1afa91['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'shapeId':_0x9963c4[_0x26a31f(0x1fb)]}},{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c['INSERT'],'op':_0x426b92[_0x26a31f(0x682)],'objects':_0x426b92['objects']}},{'id':_0x265a48['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'shapeId':_0x9963c4[_0x26a31f(0x1fb)],'shapeType':_0x53d6bb,'shapeData':_0x85c402}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'type':_0x25351c[_0x26a31f(0x324)],'op':_0x18ce4f[_0x26a31f(0x368)],'objects':_0x18ce4f[_0x26a31f(0x46b)]}},{'id':_0x265a48['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'shapeId':_0x9963c4[_0x26a31f(0x1fb)],'shapeType':_0x53d6bb,'shapeData':_0x85c402}},{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c['REMOVE'],'op':_0x426b92[_0x26a31f(0x368)],'objects':_0x426b92[_0x26a31f(0x46b)]}},{'id':_0x1afa91['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'shapeId':_0x9963c4['drawingId']}}]};}}[_0x5a7f20(0x489)](_0x238018){const _0x170a78=_0x5a7f20;let {toUnitId:_0x258dcd,toSubUnitId:_0x4c9905,drawing:_0x3e001f,newTransforms:_0x5e20cc,newDrawingId:_0x5eff45,idMap:_0x35d481}=_0x238018,_0x72abdb={..._0x3e001f,'unitId':_0x258dcd,'subUnitId':_0x4c9905,'drawingId':_0x5eff45,'transform':_0x5e20cc['transform'],'sheetTransform':_0x5e20cc[_0x170a78(0x381)]},{redo:_0xc0ff0b,undo:_0x2805ef,objects:_0x22249a}=this[_0x170a78(0x49c)]['getBatchAddOp']([_0x72abdb]),_0x4cdbcd=this['_shapeService'][_0x170a78(0x2dc)](_0x3e001f[_0x170a78(0x666)],_0x3e001f[_0x170a78(0x279)],_0x3e001f[_0x170a78(0x1fb)]);if(!_0x4cdbcd)return{'redos':[],'undos':[]};let _0x56a7cc=_0x4cdbcd[_0x170a78(0x36f)](),_0x441a0f=JSON[_0x170a78(0x515)](JSON[_0x170a78(0x633)](_0x4cdbcd[_0x170a78(0x5d3)]()));if(_0x441a0f[_0x170a78(0x3f7)]){var _0x3a4bb3,_0x5179fd;let _0x56d9dc=(_0x3a4bb3=_0x441a0f['relation'][_0x170a78(0x386)])==null?void 0x0:_0x3a4bb3[_0x170a78(0x384)],_0x79c272=(_0x5179fd=_0x441a0f[_0x170a78(0x3f7)]['to'])==null?void 0x0:_0x5179fd[_0x170a78(0x384)],_0x2ac27b=_0x56d9dc?_0x35d481[_0x170a78(0x549)](_0x56d9dc):!0x0,_0x2f3f8f=_0x79c272?_0x35d481[_0x170a78(0x549)](_0x79c272):!0x0;_0x2ac27b&&_0x56d9dc&&_0x441a0f[_0x170a78(0x3f7)]['from']?_0x441a0f[_0x170a78(0x3f7)][_0x170a78(0x386)]={..._0x441a0f[_0x170a78(0x3f7)][_0x170a78(0x386)],'shapeId':_0x35d481[_0x170a78(0x2f7)](_0x56d9dc)}:_0x441a0f['relation'][_0x170a78(0x386)]=void 0x0,_0x2f3f8f&&_0x79c272&&_0x441a0f[_0x170a78(0x3f7)]['to']?_0x441a0f[_0x170a78(0x3f7)]['to']={..._0x441a0f['relation']['to'],'shapeId':_0x35d481[_0x170a78(0x2f7)](_0x79c272)}:_0x441a0f[_0x170a78(0x3f7)]['to']=void 0x0;}return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'type':_0x25351c[_0x170a78(0x324)],'op':_0xc0ff0b,'objects':_0x22249a}},{'id':_0x265a48['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'shapeId':_0x5eff45,'shapeType':_0x56a7cc,'shapeData':_0x441a0f}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'type':_0x25351c[_0x170a78(0x3cf)],'op':_0x2805ef,'objects':_0x22249a}},{'id':_0x1afa91['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'shapeId':_0x5eff45}}]};}[_0x5a7f20(0x632)](_0x5b85f5,_0x535da3,_0x51cdae,_0x8b8c5){const _0x4499dc=_0x5a7f20;var _0x436120;let {range:_0x25d1e2,skeleton:_0x3fe78b}=_0x535da3,{range:_0x528b90,skeleton:_0xab8711}=_0x51cdae,{transform:_0x1931d8,sheetTransform:_0xe656c7}=_0x5b85f5,_0x4a2c4d={..._0x1931d8};if(_0x25d1e2){let _0x10d2d2=_0xc6d9d5(_0x3fe78b,_0x25d1e2),_0x17d351=_0xc6d9d5(_0xab8711,_0x528b90);if(_0x10d2d2&&_0x17d351){var _0x4f4550,_0x5d5950;let _0x4b597c=_0x17d351['startX']-_0x10d2d2['startX'],_0x3676c2=_0x17d351[_0x4499dc(0x1eb)]-_0x10d2d2[_0x4499dc(0x1eb)];_0x4a2c4d['left']=((_0x4f4550=_0x4a2c4d[_0x4499dc(0x5af)])==null?0x0:_0x4f4550)+_0x4b597c,_0x4a2c4d[_0x4499dc(0x406)]=((_0x5d5950=_0x4a2c4d[_0x4499dc(0x406)])==null?0x0:_0x5d5950)+_0x3676c2;}}else{let _0x644430=_0xc6d9d5(_0xab8711,_0x528b90);if(_0x8b8c5&&_0x644430){var _0x3c0410,_0x176e67;let _0x519ae0=((_0x3c0410=_0x4a2c4d[_0x4499dc(0x5af)])==null?0x0:_0x3c0410)-_0x8b8c5[_0x4499dc(0x5af)],_0x392239=((_0x176e67=_0x4a2c4d[_0x4499dc(0x406)])==null?0x0:_0x176e67)-_0x8b8c5[_0x4499dc(0x406)];_0x4a2c4d['left']=_0x644430[_0x4499dc(0x520)]+_0x519ae0,_0x4a2c4d['top']=_0x644430[_0x4499dc(0x1eb)]+_0x392239;}else _0x4a2c4d[_0x4499dc(0x5af)]=_0x644430==null?void 0x0:_0x644430[_0x4499dc(0x520)],_0x4a2c4d[_0x4499dc(0x406)]=_0x644430==null?void 0x0:_0x644430[_0x4499dc(0x1eb)];}return{'transform':_0x4a2c4d,'sheetTransform':(_0x436120=_0x222d67(_0x4a2c4d,_0xab8711))==null?_0xe656c7:_0x436120};}};Vo=$([Q(0x0,_0x1e77ba(_0x5294fa)),Q(0x1,_0x1e77ba(_0x291ef0)),Q(0x2,_0x1e77ba(_0x1aa5fa)),Q(0x3,_0x1e77ba(_0xc9428c)),Q(0x4,_0x1e77ba(_0x2bf67b))],Vo);var Ho=class extends _0xe1d4df{constructor(_0x24eb43,_0x587da0){const _0x15beda=_0x5a7f20;super(_0x24eb43,_0x587da0),Y(this,_0x15beda(0x595),null),Y(this,_0x15beda(0x2b4),null),Y(this,_0x15beda(0x479),null),Y(this,'_subUnitId',null),Y(this,'_isStartConnectorPoint',!0x1),_0x587da0&&this[_0x15beda(0x4fc)](_0x587da0);}[_0x5a7f20(0x514)](){const _0x1eea6a=_0x5a7f20;return{'unitId':this[_0x1eea6a(0x479)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1eea6a(0x595)]};}[_0x5a7f20(0x4fc)](_0x2aa72c){const _0xb46c13=_0x5a7f20;_0x2aa72c[_0xb46c13(0x384)]!==void 0x0&&(this['_shapeId']=_0x2aa72c[_0xb46c13(0x384)]),_0x2aa72c[_0xb46c13(0x666)]!==void 0x0&&(this[_0xb46c13(0x479)]=_0x2aa72c[_0xb46c13(0x666)]),_0x2aa72c[_0xb46c13(0x279)]!==void 0x0&&(this[_0xb46c13(0x2aa)]=_0x2aa72c[_0xb46c13(0x279)]),_0x2aa72c[_0xb46c13(0x1d7)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x2aa72c[_0xb46c13(0x1d7)]),this[_0xb46c13(0x288)]({'width':_0x2aa72c[_0xb46c13(0x3d7)],'height':_0x2aa72c[_0xb46c13(0x4c8)]});}[_0x5a7f20(0x260)](_0x5f4f01){const _0x2fcfd0=_0x5a7f20;_0x574c0f[_0x2fcfd0(0x2ce)](_0x5f4f01,{'radius':_0x9a1b85['cxnPointRadius'],'fill':_0x9a1b85[_0x2fcfd0(0x620)],'stroke':_0x9a1b85[_0x2fcfd0(0x247)],'strokeWidth':_0x9a1b85[_0x2fcfd0(0x675)],'evented':!0x0});}};let Uo=class extends _0x185401{constructor(_0xa3c0f9,_0x3775ac,_0x105dd8,_0x1c845d,_0x2e0b99,_0x17c3fd,_0x2d83bd,_0x53b397){const _0x212ca3=_0x5a7f20;super(),this['_context']=_0xa3c0f9,this[_0x212ca3(0x52a)]=_0x3775ac,this[_0x212ca3(0x33e)]=_0x105dd8,this[_0x212ca3(0x65c)]=_0x1c845d,this[_0x212ca3(0x4c0)]=_0x2e0b99,this[_0x212ca3(0x225)]=_0x17c3fd,this['_sheetShapeAdjustController']=_0x2d83bd,this['_sheetBasicShapeConnectionPointController']=_0x53b397,Y(this,_0x212ca3(0x1be),void 0x0),Y(this,_0x212ca3(0x479),void 0x0),Y(this,'_subUnitId',void 0x0),Y(this,_0x212ca3(0x559),[]),Y(this,_0x212ca3(0x1f9),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),Y(this,_0x212ca3(0x3df),void 0x0),Y(this,_0x212ca3(0x385),!0x1),Y(this,_0x212ca3(0x562),!0x1),Y(this,_0x212ca3(0x427),!0x1),Y(this,'_cxtHandlerPointerMove',void 0x0),Y(this,'_cxtHandlerPointerUp',void 0x0),Y(this,'_currentConnectionTarget',null),this[_0x212ca3(0x2a9)]();}[_0x5a7f20(0x2a9)](){const _0x308b59=_0x5a7f20;this['_registerDrawingFocusChangeHandler'](),this[_0x308b59(0x5f3)]();}['_getDrawingRect'](){const _0x3dcc56=_0x5a7f20;if(!this[_0x3dcc56(0x479)]||!this['_subUnitId']||!this[_0x3dcc56(0x1be)])return;let _0x164889={'unitId':this[_0x3dcc56(0x479)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3dcc56(0x1be)]},{transform:_0x3627a5}=this[_0x3dcc56(0x65c)]['getDrawingByParam'](_0x164889);if(_0x3627a5)return{'left':_0x3627a5[_0x3dcc56(0x5af)]||0x0,'top':_0x3627a5[_0x3dcc56(0x406)]||0x0,'width':_0x3627a5[_0x3dcc56(0x3d7)]||0x0,'height':_0x3627a5['height']||0x0,'flipX':_0x3627a5['flipX']||!0x1,'flipY':_0x3627a5['flipY']||!0x1,'angle':_0x3627a5[_0x3dcc56(0x402)]};}[_0x5a7f20(0x561)](){const _0x6c821e=_0x5a7f20;if(this['_unitId']===void 0x0||this[_0x6c821e(0x2aa)]===void 0x0||this[_0x6c821e(0x1be)]===void 0x0)return;let _0x36060f=this[_0x6c821e(0x33e)][_0x6c821e(0x36a)](this['_unitId']);if(!_0x36060f||!_0x36060f[_0x6c821e(0x49a)](_0x4e2ed9)[_0x6c821e(0x54e)]())return;let {scene:_0x3ed41d}=_0x36060f,_0x38c9a2=this['_getDrawingRect']();if(!_0x38c9a2)return;let _0x120f35=this[_0x6c821e(0x225)]['getShapeModel'](this[_0x6c821e(0x479)],this[_0x6c821e(0x2aa)],this[_0x6c821e(0x1be)]);if(!_0x120f35||!_0x39df67(_0x120f35[_0x6c821e(0x36f)]()))return;let _0x3764fd=_0x120f35['getConnectorLinePoints']();if(_0x3764fd[_0x6c821e(0x3d6)]<0x2)return;let _0x5e3e71=new _0x22c5d0(_0x38c9a2),_0x329bd5=_0x3764fd[0x0],_0x1af443=_0x3764fd[_0x3764fd['length']-0x1],_0x5c6098=_0x5e3e71['localToWorld'](_0x329bd5),_0x3e0033=_0x5e3e71['localToWorld'](_0x1af443);this[_0x6c821e(0x2c9)](_0x3ed41d,{..._0x5c6098},!0x0),this[_0x6c821e(0x2c9)](_0x3ed41d,{..._0x3e0033},!0x1);}[_0x5a7f20(0x2c9)](_0x4404ba,_0x2b0611,_0x4bb9f2){const _0x1f0c77=_0x5a7f20;if(this['_activeShapeId']===void 0x0||this[_0x1f0c77(0x479)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x10770d=_0x1f0c77(0x263)+this[_0x1f0c77(0x479)]+'-'+this[_0x1f0c77(0x2aa)]+'-'+this['_activeShapeId']+'-'+(_0x4bb9f2?_0x1f0c77(0x27d):_0x1f0c77(0x4c3)),_0x5d41cb=_0x4404ba[_0x1f0c77(0x33c)](_0x10770d);if(_0x5d41cb){_0x5d41cb['transformByState']({'left':_0x2b0611['x']-_0x9a1b85[_0x1f0c77(0x5e2)],'top':_0x2b0611['y']-_0x9a1b85[_0x1f0c77(0x5e2)]});return;}let _0x4b3d3b=new Ho(_0x10770d,{'left':_0x2b0611['x']-_0x9a1b85[_0x1f0c77(0x5e2)],'top':_0x2b0611['y']-_0x9a1b85[_0x1f0c77(0x5e2)],'shapeId':this[_0x1f0c77(0x1be)],'unitId':this[_0x1f0c77(0x479)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x4bb9f2,'width':_0x9a1b85[_0x1f0c77(0x5e2)]*0x2,'height':_0x9a1b85[_0x1f0c77(0x5e2)]*0x2,'zIndex':_0x3929c9+0x1,'evented':!0x0});this[_0x1f0c77(0x559)][_0x1f0c77(0x61f)](_0x4b3d3b),this['_attachConnectorObjectEvent'](_0x4b3d3b,_0x4404ba,_0x4bb9f2),_0x4404ba['addObject'](_0x4b3d3b,_0x3929c9+0x1);}[_0x5a7f20(0x43e)](_0x5eb709,_0x288ecd){const _0xc6916d=_0x5a7f20;var _0x387d46;let _0x1b1327={'x':0x0,'y':0x0};if(!_0x5eb709||!_0x288ecd)return _0x1b1327;let _0xaa9e23=this[_0xc6916d(0x33e)]['getRenderById'](_0x5eb709);if(!_0xaa9e23||!_0xaa9e23[_0xc6916d(0x49a)](_0x4e2ed9)[_0xc6916d(0x597)](_0x288ecd))return _0x1b1327;let _0x44d7b3=_0xaa9e23[_0xc6916d(0x49a)](_0x13c1a9),_0x26a9ea=_0x44d7b3==null?void 0x0:_0x44d7b3[_0xc6916d(0x51b)]();if(!_0x26a9ea)return _0x1b1327;let _0x35dd05=(_0x387d46=this[_0xc6916d(0x4c0)][_0xc6916d(0x4e7)](_0x5eb709))==null?void 0x0:_0x387d46['getSheetBySheetId'](_0x288ecd);if(!_0x35dd05)return _0x1b1327;let _0x46d1d0=_0x5cde96(_0x26a9ea['sheetViewStartRow'],_0x26a9ea[_0xc6916d(0x3e3)],_0xaa9e23[_0xc6916d(0x2a0)],_0x35dd05);return _0x46d1d0?{'x':_0x46d1d0[_0xc6916d(0x5a0)],'y':_0x46d1d0[_0xc6916d(0x4b0)]}:_0x1b1327;}[_0x5a7f20(0x5e8)](_0xccb7cc,_0x3d66b5){const _0x2a8f54=_0x5a7f20;var _0x271995,_0x189519;let _0x22bd1d=(_0x271995=this[_0x2a8f54(0x4c0)][_0x2a8f54(0x4e7)](_0xccb7cc))==null?void 0x0:_0x271995['getSheetBySheetId'](_0x3d66b5);return(_0x189519=_0x22bd1d==null?void 0x0:_0x22bd1d[_0x2a8f54(0x22f)]())==null?0x1:_0x189519;}[_0x5a7f20(0x207)](_0x54a6d6,_0x122442,_0x4aa7b9,_0x134216,_0x15e837){const _0x35cd0a=_0x5a7f20;this[_0x35cd0a(0x242)][_0x35cd0a(0x223)](),this['_cxtHandlerPointerUp'][_0x35cd0a(0x223)](),this[_0x35cd0a(0x375)][_0x35cd0a(0x383)]();let _0x59ed1b=this[_0x35cd0a(0x1d8)];this[_0x35cd0a(0x524)][_0x35cd0a(0x320)]();let _0x11543c=this['_getScrollInfo'](this['_unitId'],this[_0x35cd0a(0x2aa)]),_0x5db41c=this[_0x35cd0a(0x5e8)](this['_unitId'],this[_0x35cd0a(0x2aa)]),_0x17f58c={'x':_0x4aa7b9['offsetX']/_0x5db41c+_0x11543c['x'],'y':_0x4aa7b9[_0x35cd0a(0x478)]/_0x5db41c+_0x11543c['y']},_0x29fb0b=_0x59ed1b?_0x59ed1b['worldPoint']:_0x17f58c,_0x10ad15=_0x134216?this['_activeShapeModel'][_0x35cd0a(0x3d8)]():this[_0x35cd0a(0x3df)][_0x35cd0a(0x581)](),_0x37d9f4=this[_0x35cd0a(0x3df)][_0x35cd0a(0x36f)]();_0x10ad15?this[_0x35cd0a(0x226)](_0x10ad15,_0x29fb0b,_0x134216,_0x59ed1b,_0x15e837):this[_0x35cd0a(0x544)](_0x122442,_0x29fb0b,_0x134216,_0x59ed1b,_0x15e837,_0x37d9f4),this[_0x35cd0a(0x385)]=!0x1,this[_0x35cd0a(0x427)]=!0x1,this['_currentConnectionTarget']=null,_0x54a6d6[_0x35cd0a(0x3eb)]();}['_handleFreeEndpointPointerUp'](_0x3e4cf5,_0x5ce54d,_0x225b44,_0x55778d,_0x39f5da,_0x5e7bfc){const _0x3106df=_0x5a7f20;let _0x50c485=_0x5e7bfc===_0x5c87c5['Line']||_0x5e7bfc===_0x5c87c5[_0x3106df(0x2d0)],_0x3bbbb2=_0x225b44?_0x5ce54d:_0x3e4cf5,_0x23cdfa=_0x225b44?_0x3e4cf5:_0x5ce54d,_0x2e62df=this[_0x3106df(0x3df)][_0x3106df(0x45c)](),_0x1425c2=_0x594cf4(this[_0x3106df(0x3df)]['getShapeType']()),_0x5863f8=_0x22c5d0[_0x3106df(0x5c3)](_0x2e62df,_0x1425c2),_0x24b277=_0x50c485?_0x22c5d0[_0x3106df(0x63e)](_0x3bbbb2,_0x23cdfa):_0x22c5d0['computeConnectorResizeLayout'](_0x3e4cf5,_0x5ce54d,_0x225b44,_0x5863f8);_0x55778d?this['_executeConnectionCommand'](_0x24b277,_0x55778d,_0x225b44,_0x39f5da):this['_executeResizeCommand'](_0x24b277,_0x39f5da);}[_0x5a7f20(0x226)](_0x7eb9aa,_0x4c6339,_0xabbd85,_0x5e16dc,_0x52c756){const _0x1f13c5=_0x5a7f20;let _0x55ad06=this['_getConnectPointInfo'](_0x7eb9aa);if(!_0x55ad06)return;let _0x283624=_0x5e16dc?_0x5e16dc[_0x1f13c5(0x402)]:this[_0x1f13c5(0x614)](_0x55ad06[_0x1f13c5(0x3ea)],_0x4c6339),_0x36eccc;if(_0x5e16dc){let _0x2e7a5f=this[_0x1f13c5(0x65c)][_0x1f13c5(0x4b2)]({'unitId':_0x5e16dc[_0x1f13c5(0x666)],'subUnitId':_0x5e16dc[_0x1f13c5(0x279)],'drawingId':_0x5e16dc['shapeId']});if(_0x2e7a5f!=null&&_0x2e7a5f[_0x1f13c5(0x3ba)]){let {left:_0x547526=0x0,top:_0x4fdd53=0x0,width:_0x47b527=0x0,height:_0x322971=0x0,angle:_0xa1886f}=_0x2e7a5f[_0x1f13c5(0x3ba)];_0x36eccc=_0x137faa({'left':_0x547526,'top':_0x4fdd53,'width':_0x47b527,'height':_0x322971},_0xa1886f||0x0);}else _0x36eccc={'left':_0x4c6339['x'],'top':_0x4c6339['y'],'width':0x0,'height':0x0};}else _0x36eccc={'left':_0x4c6339['x'],'top':_0x4c6339['y'],'width':0x0,'height':0x0};let _0x3d9fde={'point':_0x4c6339,'angle':_0x283624,'bounds':_0x36eccc},_0x22be78=_0xabbd85?_0x3d9fde:_0x55ad06,_0x52efb6=_0xabbd85?_0x55ad06:_0x3d9fde,_0x378bbc=this[_0x1f13c5(0x3df)][_0x1f13c5(0x36f)](),_0xe6ccf1=_0x374a50(_0x22be78,_0x52efb6,_0x378bbc);this[_0x1f13c5(0x3df)][_0x1f13c5(0x3ee)]();let _0x380adb=_0x1498f5(_0xe6ccf1,_0x378bbc);_0x5e16dc?this[_0x1f13c5(0x2c6)](_0x380adb,_0x5e16dc,_0x7eb9aa,_0xabbd85,_0x52c756):this[_0x1f13c5(0x251)](_0x380adb,_0x7eb9aa,_0xabbd85,_0x52c756);}[_0x5a7f20(0x2db)](_0x29fe25,_0x23ee21,_0x3a5523,_0x178ab4){const _0x50c2db=_0x5a7f20;let _0x393671=this[_0x50c2db(0x3df)]['getShapeData']()['relation'],_0x523507={..._0x393671},_0x11caea={'shapeId':_0x23ee21['shapeId'],'cxnIndex':_0x23ee21['cxnIndex']};_0x3a5523?_0x523507['from']=_0x11caea:_0x523507['to']=_0x11caea;let _0x1c43e0=this[_0x50c2db(0x3df)][_0x50c2db(0x36f)](),_0x20b63c=_0x1498f5(_0x29fe25['worldPoints'],_0x1c43e0),_0x2b0f9d={'unitId':this[_0x50c2db(0x479)],'subUnitId':this[_0x50c2db(0x2aa)],'connectorShapeId':this['_activeShapeId'],'width':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x3d7)],'height':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x4c8)],'left':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x5af)],'top':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x406)],'flipX':_0x29fe25[_0x50c2db(0x403)]['flipX']||!0x1,'flipY':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x4e4)]||!0x1,'newAdjustValues':_0x20b63c['adjustValues'],'oldAdjustValues':_0x178ab4,'oldRelation':_0x393671,'newRelation':_0x523507,'newLineType':_0x20b63c[_0x50c2db(0x200)],'oldLineType':_0x1c43e0};this[_0x50c2db(0x52a)]['executeCommand'](_0x9e59c9['id'],_0x2b0f9d);}[_0x5a7f20(0x619)](_0x136659,_0x335897){const _0x2e05ac=_0x5a7f20;let _0x2d45cb=this[_0x2e05ac(0x3df)][_0x2e05ac(0x36f)](),_0x5d2b27=_0x1498f5(_0x136659['worldPoints'],_0x2d45cb),_0x899fcf={'unitId':this[_0x2e05ac(0x479)],'subUnitId':this[_0x2e05ac(0x2aa)],'shapeId':this[_0x2e05ac(0x1be)],'width':_0x136659['worldRect']['width'],'height':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x4c8)],'left':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x5af)],'top':_0x136659['worldRect'][_0x2e05ac(0x406)],'flipX':_0x136659[_0x2e05ac(0x403)]['flipX']||!0x1,'flipY':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x4e4)]||!0x1,'angle':_0x136659['worldRect'][_0x2e05ac(0x402)]||0x0,'newAdjustValues':_0x5d2b27[_0x2e05ac(0x344)],'oldAdjustValues':_0x335897,'newLineType':_0x5d2b27['lineType'],'oldLineType':_0x2d45cb};this[_0x2e05ac(0x52a)][_0x2e05ac(0x4eb)](_0x110f42['id'],_0x899fcf);}['_executeConnectedRouteConnectionCommand'](_0x1e61f2,_0x30eab6,_0x1e5e27,_0x2c6a55,_0x270574){const _0x4df861=_0x5a7f20;let _0x40ad96=this[_0x4df861(0x3df)][_0x4df861(0x5d3)]()[_0x4df861(0x3f7)],_0x4a630d={..._0x40ad96},_0x2041a7={'shapeId':_0x30eab6[_0x4df861(0x384)],'cxnIndex':_0x30eab6[_0x4df861(0x432)]};_0x2c6a55?(_0x4a630d[_0x4df861(0x386)]=_0x2041a7,_0x4a630d['to']=_0x1e5e27):(_0x4a630d['from']=_0x1e5e27,_0x4a630d['to']=_0x2041a7);let _0x37a5ed={'unitId':this[_0x4df861(0x479)],'subUnitId':this[_0x4df861(0x2aa)],'connectorShapeId':this[_0x4df861(0x1be)],'width':_0x1e61f2['worldRect'][_0x4df861(0x3d7)],'height':_0x1e61f2[_0x4df861(0x403)]['height'],'left':_0x1e61f2['worldRect'][_0x4df861(0x5af)],'top':_0x1e61f2['worldRect'][_0x4df861(0x406)],'flipX':_0x1e61f2['worldRect'][_0x4df861(0x51a)]||!0x1,'flipY':_0x1e61f2[_0x4df861(0x403)][_0x4df861(0x4e4)]||!0x1,'oldAdjustValues':_0x270574,'newAdjustValues':_0x1e61f2[_0x4df861(0x344)],'newLineType':_0x1e61f2['lineType'],'rotation':_0x1e61f2[_0x4df861(0x334)],'oldRelation':_0x40ad96,'newRelation':_0x4a630d};this['_commandService'][_0x4df861(0x4eb)](_0x9e59c9['id'],_0x37a5ed);}['_executeConnectedRouteResizeCommand'](_0x88dc0,_0x1aa462,_0x451697,_0x2827b5){const _0x37acb7=_0x5a7f20;let _0x1ab1a3=this[_0x37acb7(0x3df)][_0x37acb7(0x5d3)]()[_0x37acb7(0x3f7)],_0x384d12={};_0x451697?(_0x384d12['to']=_0x1aa462,_0x384d12['from']=void 0x0):(_0x384d12[_0x37acb7(0x386)]=_0x1aa462,_0x384d12['to']=void 0x0);let _0x5f01c4={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x3d7)],'height':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x4c8)],'left':_0x88dc0['worldRect'][_0x37acb7(0x5af)],'top':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x406)],'flipX':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x51a)]||!0x1,'flipY':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x4e4)]||!0x1,'oldAdjustValues':_0x2827b5,'newAdjustValues':_0x88dc0[_0x37acb7(0x344)],'newLineType':_0x88dc0[_0x37acb7(0x200)],'rotation':_0x88dc0[_0x37acb7(0x334)],'oldRelation':_0x1ab1a3,'newRelation':_0x384d12};this[_0x37acb7(0x52a)][_0x37acb7(0x4eb)](_0x9e59c9['id'],_0x5f01c4);}[_0x5a7f20(0x3e2)](_0x5c63b6,_0x2ad04a,_0x54cff8){const _0x485097=_0x5a7f20;this[_0x485097(0x404)](_0x162f95(_0x5c63b6[_0x485097(0x1c8)][_0x485097(0x3f0)]((_0x27a709,_0x48db2b)=>{const _0x860635=_0x485097;let _0x1059ec=_0x5c63b6[_0x860635(0x514)]();if(this['_activeShapeModel']=this[_0x860635(0x225)][_0x860635(0x2dc)](_0x1059ec[_0x860635(0x666)],_0x1059ec['subUnitId'],_0x1059ec[_0x860635(0x1fb)]),!this[_0x860635(0x3df)])return;let _0x46f846={};this[_0x860635(0x3df)][_0x860635(0x357)]()['forEach'](_0x310d1b=>{const _0x1e47c0=_0x860635;let _0x5e444b=this[_0x1e47c0(0x3df)][_0x1e47c0(0x257)](_0x310d1b);_0x5e444b!==void 0x0&&(_0x46f846[_0x310d1b]=_0x5e444b);});let _0x52ff29=this[_0x860635(0x55d)]();if(!_0x52ff29)return;this[_0x860635(0x1f9)]={..._0x52ff29};let _0xd14ebc=new _0x22c5d0(this['_baseDrawingRect']),_0x32df0a=_0x46e3e9({'unitId':this[_0x860635(0x479)],'subUnitId':this[_0x860635(0x2aa)],'drawingId':this['_activeShapeId']}),_0x24dba6=_0x2ad04a[_0x860635(0x33c)](_0x32df0a);this['_isConnecting']=!0x0,_0x2ad04a[_0x860635(0x5d5)](),this['_sheetBasicShapeConnectionPointController'][_0x860635(0x373)](_0x2ad04a,this['_unitId'],this['_subUnitId'],this[_0x860635(0x1be)]),this['_currentConnectionTarget']=null;let _0x2c799e=this[_0x860635(0x3df)][_0x860635(0x45c)](),_0x5c3389=_0x2c799e[0x0],_0x5d52a7=_0x2c799e[_0x2c799e['length']-0x1],_0x49d59a=_0x54cff8?_0xd14ebc[_0x860635(0x5e6)](_0x5d52a7):_0xd14ebc[_0x860635(0x5e6)](_0x5c3389);this[_0x860635(0x242)]=_0x2ad04a['onPointerMove$'][_0x860635(0x3f0)]((_0x249ea1,_0x5bac77)=>{const _0x52ac70=_0x860635;if(!this[_0x52ac70(0x385)]||!this[_0x52ac70(0x3df)])return;this[_0x52ac70(0x427)]||(this[_0x52ac70(0x375)][_0x52ac70(0x492)](),this[_0x52ac70(0x3df)][_0x52ac70(0x216)](),this[_0x52ac70(0x427)]=!0x0);let _0x55b687=this['_getScrollInfo'](this[_0x52ac70(0x479)],this['_subUnitId']),_0x164bc7=this['_getZoomRatio'](this[_0x52ac70(0x479)],this[_0x52ac70(0x2aa)]),_0x3f72ed={'x':_0x249ea1['offsetX']/_0x164bc7+_0x55b687['x'],'y':_0x249ea1[_0x52ac70(0x478)]/_0x164bc7+_0x55b687['y']},_0xf0277f=this[_0x52ac70(0x524)][_0x52ac70(0x21c)](_0x3f72ed);if(_0xf0277f){let {shapeId:_0x2152a9,unitId:_0x5db9bd,subUnitId:_0x4c5f26}=_0xf0277f;if(_0x2152a9&&_0x5db9bd&&_0x4c5f26){let _0x42dd5f=_0x46e3e9({'unitId':_0x5db9bd,'subUnitId':_0x4c5f26,'drawingId':_0x2152a9});_0xf0277f[_0x52ac70(0x402)]=(_0x2ad04a[_0x52ac70(0x33c)](_0x42dd5f)['angle']||0x0)+_0xf0277f[_0x52ac70(0x402)];}}this[_0x52ac70(0x1d8)]=_0xf0277f;let _0x26d47c=_0x54cff8?this[_0x52ac70(0x3df)][_0x52ac70(0x3d8)]():this['_activeShapeModel'][_0x52ac70(0x581)]();if(_0x26d47c){this[_0x52ac70(0x1c7)](_0x26d47c,_0x3f72ed,_0x54cff8,_0x24dba6,_0x5c63b6);return;}this[_0x52ac70(0x541)](_0x3f72ed,_0x49d59a,_0x54cff8,_0x24dba6,_0x5c63b6);}),this[_0x860635(0x51c)]=_0x2ad04a['onPointerUp$'][_0x860635(0x3f0)]((_0x6e230a,_0xb99169)=>{const _0x2bbd9e=_0x860635;this[_0x2bbd9e(0x207)](_0x2ad04a,_0x49d59a,_0x6e230a,_0x54cff8,_0x46f846);}),_0x48db2b['stopPropagation']();})));}[_0x5a7f20(0x1f3)](_0x1c6884,_0x19443c,_0x352384){const _0x356f06=_0x5a7f20;let _0x489750=this[_0x356f06(0x225)][_0x356f06(0x4c9)](_0x1c6884,_0x19443c,_0x352384);if(!_0x489750||_0x489750[_0x356f06(0x3d6)]===0x0)return;let _0x29e78f=this[_0x356f06(0x33e)][_0x356f06(0x36a)](_0x1c6884);if(!_0x29e78f)return;let {scene:_0x2f74bb}=_0x29e78f;for(let _0x1530c1 of _0x489750){let _0x4e2acc=_0x1530c1['lineShapeId'],_0x51bbfd=this[_0x356f06(0x225)][_0x356f06(0x2dc)](_0x1c6884,_0x19443c,_0x4e2acc);if(!_0x51bbfd)continue;let _0xb379ef=_0x51bbfd['getStartConnectInfo'](),_0x532f22=_0x51bbfd[_0x356f06(0x3d8)](),_0x1d3559=(_0xb379ef==null?void 0x0:_0xb379ef['shapeId'])===_0x352384,_0x4e10e1=_0x46e3e9({'unitId':_0x1c6884,'subUnitId':_0x19443c,'drawingId':_0x4e2acc}),_0x21afa2=_0x2f74bb['getObjectIncludeInGroup'](_0x4e10e1);if(!_0x21afa2)continue;let _0x23eb97=this['_drawingManagerService'][_0x356f06(0x4b2)]({'unitId':_0x1c6884,'subUnitId':_0x19443c,'drawingId':_0x4e2acc});_0x23eb97!=null&&_0x23eb97[_0x356f06(0x3ba)]&&(_0xb379ef&&_0x532f22?this[_0x356f06(0x267)](_0x1c6884,_0x19443c,_0x4e2acc,_0x51bbfd,_0xb379ef,_0x532f22,_0x21afa2):this['_moveConnectorWithShape'](_0x1c6884,_0x19443c,_0x4e2acc,_0x51bbfd,_0x1d3559?_0xb379ef:_0x532f22,_0x1d3559,_0x23eb97,_0x21afa2));}}[_0x5a7f20(0x267)](_0x581b76,_0x35aaef,_0x2ee4ea,_0x35c35d,_0x36a0f1,_0x5c977b,_0x527f56){const _0x31eb9b=_0x5a7f20;let _0x24027d=this[_0x31eb9b(0x479)],_0x44f6ce=this[_0x31eb9b(0x2aa)];this['_unitId']=_0x581b76,this[_0x31eb9b(0x2aa)]=_0x35aaef;let _0x265d0e=this[_0x31eb9b(0x408)](_0x36a0f1),_0x448bb4=this[_0x31eb9b(0x408)](_0x5c977b);if(this['_unitId']=_0x24027d,this[_0x31eb9b(0x2aa)]=_0x44f6ce,!_0x265d0e||!_0x448bb4)return;let _0x5ea8d8=_0x35c35d['getShapeType'](),_0x259d98=_0x374a50(_0x265d0e,_0x448bb4,_0x5ea8d8);_0x259d98&&_0x35c35d['updateLinePoints'](_0x259d98);let _0xca73c5=_0x1498f5(_0x259d98,_0x5ea8d8);_0xca73c5[_0x31eb9b(0x200)]!==_0x5ea8d8&&_0x35c35d[_0x31eb9b(0x393)](_0xca73c5[_0x31eb9b(0x200)]),_0x35c35d[_0x31eb9b(0x216)]();for(let [_0x6e203d,_0xf81e55]of Object[_0x31eb9b(0x629)](_0xca73c5[_0x31eb9b(0x344)]))_0x35c35d[_0x31eb9b(0x348)](_0x6e203d,_0xf81e55);_0x35c35d[_0x31eb9b(0x5ed)]({'width':_0xca73c5['worldRect'][_0x31eb9b(0x3d7)],'height':_0xca73c5['worldRect'][_0x31eb9b(0x4c8)]}),_0x527f56['transformByState']({'flipX':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x51a)],'flipY':_0xca73c5[_0x31eb9b(0x403)]['flipY'],'left':_0xca73c5[_0x31eb9b(0x403)]['left'],'top':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x406)],'width':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x3d7)],'height':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x4c8)],'angle':_0xca73c5[_0x31eb9b(0x334)]}),_0x35c35d['removeLinePoints']();}[_0x5a7f20(0x342)](_0xc185e9,_0x2bbcde,_0x1ade14,_0x190b1b,_0x2962c0,_0xbb5523,_0x26ac05,_0x25e1be){const _0x2c0912=_0x5a7f20;let _0x5d7c38=this[_0x2c0912(0x479)],_0x2b601c=this[_0x2c0912(0x2aa)];this['_unitId']=_0xc185e9,this[_0x2c0912(0x2aa)]=_0x2bbcde;let _0x67ec85=this['_getConnectPointInfo'](_0x2962c0);if(this[_0x2c0912(0x479)]=_0x5d7c38,this[_0x2c0912(0x2aa)]=_0x2b601c,!_0x67ec85)return;let {left:_0x1c1e78=0x0,top:_0x22f2c3=0x0,width:_0x52a2d9=0x0,height:_0xf6c886=0x0,flipX:_0x147d1d=!0x1,flipY:_0x13fa30=!0x1}=_0x26ac05[_0x2c0912(0x3ba)],_0x9e6fb1=_0x190b1b[_0x2c0912(0x45c)]();if(_0x9e6fb1['length']<0x2)return;let _0x5e2f03=new _0x22c5d0({'left':_0x1c1e78,'top':_0x22f2c3,'width':_0x52a2d9,'height':_0xf6c886,'flipX':_0x147d1d,'flipY':_0x13fa30}),_0x3512ea=_0xbb5523?_0x9e6fb1[_0x9e6fb1[_0x2c0912(0x3d6)]-0x1]:_0x9e6fb1[0x0],_0x1d68b5=_0x5e2f03[_0x2c0912(0x5e6)](_0x3512ea),_0x47bfd1=_0x22c5d0[_0x2c0912(0x624)](_0x1d68b5,_0x67ec85[_0x2c0912(0x3ea)],!_0xbb5523);_0x25e1be[_0x2c0912(0x288)]({'flipX':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x51a)],'flipY':_0x47bfd1[_0x2c0912(0x403)]['flipY'],'left':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x5af)],'top':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x406)],'width':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x3d7)],'height':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x4c8)],'angle':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x402)]}),_0x25e1be[_0x2c0912(0x2bb)](!0x0);}[_0x5a7f20(0x4ac)](){const _0x223f2c=_0x5a7f20;this['_connectorObjects']['length']!==0x0&&(this[_0x223f2c(0x559)][_0x223f2c(0x2cc)](_0x469a9d=>{const _0x4ba778=_0x223f2c;_0x469a9d[_0x4ba778(0x4b5)]();}),this[_0x223f2c(0x559)]=[]);}[_0x5a7f20(0x5f3)](){const _0x2a7878=_0x5a7f20;let _0x4397ee=this[_0x2a7878(0x4c0)][_0x2a7878(0x3a1)](_0x162ef7['UNIVER_SHEET']);this[_0x2a7878(0x404)](_0x4397ee[_0x2a7878(0x254)](_0x1e398(_0x40fd43=>_0x40fd43?_0x40fd43[_0x2a7878(0x42a)][_0x2a7878(0x254)](_0x1e398(_0x5db0ad=>{const _0x5b8b89=_0x2a7878;if(!_0x5db0ad)return _0x502183;let _0x27b15d=_0x40fd43['getUnitId'](),_0x1e06e0=this[_0x5b8b89(0x33e)][_0x5b8b89(0x36a)](_0x27b15d),_0x41ffcc=_0x1e06e0==null?void 0x0:_0x1e06e0['scene'];return _0x41ffcc?_0x570989(_0x41ffcc):_0x502183;})):_0x502183))[_0x2a7878(0x2ab)](_0x3eb5bd=>{const _0x5d4764=_0x2a7878;let _0x38934f=_0x3eb5bd[_0x5d4764(0x498)]();this[_0x5d4764(0x404)](_0x3eb5bd[_0x5d4764(0x48a)]['subscribeEvent'](_0x50cfe9=>{const _0x5b2b94=_0x5d4764;this[_0x5b2b94(0x562)]&&this[_0x5b2b94(0x1be)]&&this[_0x5b2b94(0x4ac)]();})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x518)][_0x5d4764(0x2ab)](_0x1e19fb=>{const _0x1714ce=_0x5d4764;let {objects:_0x1a7187}=_0x1e19fb;this[_0x1714ce(0x4ac)](),_0x1a7187!==null&&_0x1a7187[_0x1714ce(0x352)]===0x1&&_0x1a7187[_0x1714ce(0x204)]()[_0x1714ce(0x49b)]()[_0x1714ce(0x231)]instanceof to&&(this[_0x1714ce(0x562)]=!0x0);})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x4e9)]['subscribe'](_0x5b45b7=>{const _0x2f2bec=_0x5d4764;this[_0x2f2bec(0x562)]&&this[_0x2f2bec(0x4ac)]();})),this[_0x5d4764(0x404)](_0x3eb5bd['onPointerUp$'][_0x5d4764(0x3f0)](()=>{const _0x26cd3b=_0x5d4764;this[_0x26cd3b(0x562)]&&(this[_0x26cd3b(0x562)]=!0x1,this[_0x26cd3b(0x561)]());})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x1f5)][_0x5d4764(0x2ab)](()=>{const _0x5068d0=_0x5d4764;this[_0x5068d0(0x479)]&&this[_0x5068d0(0x2aa)]&&this[_0x5068d0(0x1be)]&&this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x5068d0(0x479)],'subUnitId':this[_0x5068d0(0x2aa)],'drawingId':this[_0x5068d0(0x1be)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x5068d0(0x561)]());}));}));}[_0x5a7f20(0x315)](){const _0xed64c0=_0x5a7f20;this[_0xed64c0(0x404)](this[_0xed64c0(0x65c)][_0xed64c0(0x237)]['subscribe'](_0x311ef1=>{const _0x5ecef0=_0xed64c0;if(_0x311ef1[_0x5ecef0(0x3d6)]===0x1){let _0x42e962=_0x311ef1[0x0];if(_0x42e962[_0x5ecef0(0x526)]===_0x5d8611[_0x5ecef0(0x415)]){let _0x2004bc=this['_sheetsShapeService']['getShapeModel'](_0x42e962[_0x5ecef0(0x666)],_0x42e962[_0x5ecef0(0x279)],_0x42e962['drawingId']);if(_0x2004bc&&_0x39df67(_0x2004bc[_0x5ecef0(0x36f)]())){this['_activeShapeId']=_0x42e962[_0x5ecef0(0x1fb)],this['_unitId']=_0x42e962[_0x5ecef0(0x666)],this[_0x5ecef0(0x2aa)]=_0x42e962['subUnitId'],this[_0x5ecef0(0x4ac)](),this[_0x5ecef0(0x561)]();return;}}}this['_activeShapeId']=void 0x0,this[_0x5ecef0(0x479)]=void 0x0,this[_0x5ecef0(0x2aa)]=void 0x0,this[_0x5ecef0(0x4ac)]();})),this[_0xed64c0(0x404)](this[_0xed64c0(0x65c)]['update$'][_0xed64c0(0x2ab)](_0x1b51b8=>{const _0x222671=_0xed64c0;if(_0x1b51b8[_0x222671(0x3d6)]===0x1){var _0x27c45b;let _0x155fe7=_0x1b51b8[0x0],_0x14cdb3=(_0x27c45b=this[_0x222671(0x65c)][_0x222671(0x4b2)](_0x155fe7))==null?void 0x0:_0x27c45b[_0x222671(0x526)];_0x14cdb3===_0x5d8611[_0x222671(0x415)]&&_0x155fe7[_0x222671(0x1fb)]===this[_0x222671(0x1be)]?(this[_0x222671(0x4ac)](),this[_0x222671(0x561)]()):!this['_activeShapeId']&&_0x14cdb3===_0x5d8611[_0x222671(0x415)]&&this[_0x222671(0x1f3)](_0x155fe7['unitId'],_0x155fe7[_0x222671(0x279)],_0x155fe7[_0x222671(0x1fb)]);}})),this['disposeWithMe'](this[_0xed64c0(0x65c)][_0xed64c0(0x5bb)][_0xed64c0(0x2ab)](_0x450601=>{for(let _0x55d283 of _0x450601){let {drawingId:_0x355d4f}=_0x55d283;if(this['_activeShapeId']===_0x355d4f){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x3ec848,_0x584967,_0x5ba5e4,_0x3f1622,_0x20fedb){const _0x1012c1=_0x5a7f20;var _0x3cdd26,_0x1cf7c8;if(!this[_0x1012c1(0x3df)])return;let _0x22e176=this['_getConnectPointInfo'](_0x3ec848);if(!_0x22e176)return;let _0x4097ac=this['_currentConnectionTarget']?this['_currentConnectionTarget'][_0x1012c1(0x490)]:_0x584967,_0x609ab5=this[_0x1012c1(0x1d8)]?this[_0x1012c1(0x1d8)]['angle']:this[_0x1012c1(0x614)](_0x22e176['point'],_0x4097ac),_0xc49a9b;if(this[_0x1012c1(0x1d8)]){let _0x5c3282=this[_0x1012c1(0x65c)][_0x1012c1(0x4b2)]({'unitId':this[_0x1012c1(0x1d8)]['unitId'],'subUnitId':this[_0x1012c1(0x1d8)]['subUnitId'],'drawingId':this[_0x1012c1(0x1d8)][_0x1012c1(0x384)]});if(_0x5c3282!=null&&_0x5c3282[_0x1012c1(0x3ba)]){let {left:_0x49c096=0x0,top:_0x2b6073=0x0,width:_0x219001=0x0,height:_0x2ced05=0x0,angle:_0x34a635}=_0x5c3282[_0x1012c1(0x3ba)];_0xc49a9b=_0x137faa({'left':_0x49c096,'top':_0x2b6073,'width':_0x219001,'height':_0x2ced05},_0x34a635||0x0);}else _0xc49a9b={'left':_0x4097ac['x'],'top':_0x4097ac['y'],'width':0x0,'height':0x0};}else _0xc49a9b={'left':_0x4097ac['x'],'top':_0x4097ac['y'],'width':0x0,'height':0x0};let _0x5b7d1f={'point':_0x4097ac,'angle':_0x609ab5,'bounds':_0xc49a9b},_0x46509e=_0x5ba5e4?_0x5b7d1f:_0x22e176,_0x598084=_0x5ba5e4?_0x22e176:_0x5b7d1f,_0x17fabb=this[_0x1012c1(0x3df)][_0x1012c1(0x36f)](),_0x3c3819=_0x374a50(_0x46509e,_0x598084,_0x17fabb);_0x3c3819&&this['_activeShapeModel'][_0x1012c1(0x582)](_0x3c3819);let _0x5ac736=_0x1498f5(_0x3c3819,_0x17fabb);_0x5ac736[_0x1012c1(0x200)]!==_0x17fabb&&this[_0x1012c1(0x3df)][_0x1012c1(0x393)](_0x5ac736[_0x1012c1(0x200)]);for(let [_0x2a1fdf,_0x47dbd2]of Object[_0x1012c1(0x629)](_0x5ac736[_0x1012c1(0x344)]))this[_0x1012c1(0x3df)]['setAdjustValueByName'](_0x2a1fdf,_0x47dbd2);this[_0x1012c1(0x3df)]['updateContext']({'width':_0x5ac736[_0x1012c1(0x403)]['width'],'height':_0x5ac736['worldRect']['height']}),_0x3f1622[_0x1012c1(0x288)]({'flipX':_0x5ac736[_0x1012c1(0x403)]['flipX'],'flipY':_0x5ac736['worldRect'][_0x1012c1(0x4e4)],'left':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x5af)],'top':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x406)],'width':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x3d7)],'height':_0x5ac736['worldRect'][_0x1012c1(0x4c8)],'angle':_0x5ac736[_0x1012c1(0x334)]}),_0x3f1622['makeDirty'](!0x0);let _0x5033e4=(_0x3cdd26=(_0x1cf7c8=this['_currentConnectionTarget'])==null?void 0x0:_0x1cf7c8[_0x1012c1(0x490)])==null?_0x584967:_0x3cdd26;_0x20fedb['transformByState']({'left':_0x5033e4['x']-_0x9a1b85[_0x1012c1(0x5e2)],'top':_0x5033e4['y']-_0x9a1b85[_0x1012c1(0x5e2)]});}[_0x5a7f20(0x541)](_0x47ad80,_0x32109b,_0x3f65f5,_0x4b9f31,_0x29a033){const _0x114986=_0x5a7f20;var _0x1cb06e,_0x3d6cd5,_0x145db5,_0x36778a;let _0x2e28f3=(_0x1cb06e=(_0x3d6cd5=this[_0x114986(0x1d8)])==null?void 0x0:_0x3d6cd5[_0x114986(0x490)])==null?_0x47ad80:_0x1cb06e,_0x27154c=_0x22c5d0[_0x114986(0x624)](_0x32109b,_0x2e28f3,_0x3f65f5);_0x4b9f31[_0x114986(0x288)]({'flipX':_0x27154c['worldRect'][_0x114986(0x51a)],'flipY':_0x27154c[_0x114986(0x403)][_0x114986(0x4e4)],'left':_0x27154c[_0x114986(0x403)]['left'],'top':_0x27154c[_0x114986(0x403)][_0x114986(0x406)],'width':_0x27154c[_0x114986(0x403)][_0x114986(0x3d7)],'height':_0x27154c[_0x114986(0x403)][_0x114986(0x4c8)],'angle':_0x27154c[_0x114986(0x403)][_0x114986(0x402)]});let _0xdc8af=(_0x145db5=(_0x36778a=this[_0x114986(0x1d8)])==null?void 0x0:_0x36778a[_0x114986(0x490)])==null?_0x47ad80:_0x145db5;_0x29a033[_0x114986(0x288)]({'left':_0xdc8af['x']-_0x9a1b85[_0x114986(0x5e2)],'top':_0xdc8af['y']-_0x9a1b85[_0x114986(0x5e2)]});}['_getConnectPointInfo'](_0x204b9f){const _0x1875b9=_0x5a7f20;if(!this[_0x1875b9(0x479)]||!this[_0x1875b9(0x2aa)])return null;let {shapeId:_0x345bb1,cxnIndex:_0x10eac9}=_0x204b9f,_0x3601b2=this[_0x1875b9(0x225)][_0x1875b9(0x2dc)](this[_0x1875b9(0x479)],this[_0x1875b9(0x2aa)],_0x345bb1);if(!_0x3601b2)return null;let _0x9cd0ee=this[_0x1875b9(0x65c)][_0x1875b9(0x4b2)]({'unitId':this[_0x1875b9(0x479)],'subUnitId':this[_0x1875b9(0x2aa)],'drawingId':_0x345bb1});if(!(_0x9cd0ee!=null&&_0x9cd0ee[_0x1875b9(0x3ba)]))return null;let {left:_0x4c3c1b=0x0,top:_0x194051=0x0,width:_0x31a2e4=0x0,height:_0x299203=0x0,flipX:_0x506529=!0x1,flipY:_0x5e675e=!0x1,angle:_0x523f55}=_0x9cd0ee['transform'];_0x3601b2[_0x1875b9(0x5ed)]({'width':_0x31a2e4,'height':_0x299203});let _0x27cde9=_0x3601b2[_0x1875b9(0x3ef)]()[_0x1875b9(0x302)](_0x32bc91=>_0x32bc91['index']===_0x10eac9);if(!_0x27cde9)return null;let _0xaedad0=_0x506529?_0x31a2e4-_0x27cde9['x']:_0x27cde9['x'],_0x6f8446=_0x5e675e?_0x299203-_0x27cde9['y']:_0x27cde9['y'];if(_0x523f55!==0x0&&_0x523f55!=null){let _0x1e4c6c=_0x523f55*Math['PI']/0xb4,_0x5bfb75=Math[_0x1875b9(0x3bb)](_0x1e4c6c),_0x206595=Math['sin'](_0x1e4c6c),_0x1b2873=_0x31a2e4/0x2,_0x3371a4=_0x299203/0x2,_0x150f29=_0xaedad0-_0x1b2873,_0x8b8e81=_0x6f8446-_0x3371a4;_0xaedad0=_0x1b2873+_0x150f29*_0x5bfb75-_0x8b8e81*_0x206595,_0x6f8446=_0x3371a4+_0x150f29*_0x206595+_0x8b8e81*_0x5bfb75;}_0xaedad0+=_0x4c3c1b,_0x6f8446+=_0x194051;let _0x206d4c=_0x27cde9[_0x1875b9(0x5a8)]/0xea60;_0x506529&&(_0x206d4c=0xb4-_0x206d4c),_0x5e675e&&(_0x206d4c=-_0x206d4c),_0x206d4c+=_0x523f55||0x0,_0x206d4c=(_0x206d4c%0x168+0x168)%0x168;let _0x31823b=_0x137faa({'left':_0x4c3c1b,'top':_0x194051,'width':_0x31a2e4,'height':_0x299203},_0x523f55||0x0);return{'point':{'x':_0xaedad0,'y':_0x6f8446},'angle':_0x206d4c,'bounds':_0x31823b};}[_0x5a7f20(0x614)](_0x1ee1a9,_0x454908){const _0x1834c7=_0x5a7f20;let _0x351be4=_0x454908['x']-_0x1ee1a9['x'],_0x3a37fb=_0x454908['y']-_0x1ee1a9['y'];return Math[_0x1834c7(0x5ea)](_0x351be4)>=Math['abs'](_0x3a37fb)?_0x351be4>=0x0?0xb4:0x0:_0x3a37fb>=0x0?0x10e:0x5a;}[_0x5a7f20(0x33b)](){const _0x244b3d=_0x5a7f20;this['_activeShapeId']=void 0x0,this[_0x244b3d(0x479)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x244b3d(0x4ac)]();}[_0x5a7f20(0x4b5)](){const _0x3d6229=_0x5a7f20;this[_0x3d6229(0x4ac)](),super[_0x3d6229(0x4b5)]();}};Uo=$([Q(0x1,_0x2e069e),Q(0x2,_0x43fdcf),Q(0x3,_0x2ac48c),Q(0x4,_0x1005f5),Q(0x5,_0x1e77ba(_0xc9428c)),Q(0x6,_0x1e77ba(mo)),Q(0x7,_0x1e77ba(Bo))],Uo);let Wo=class extends _0x185401{constructor(_0x3ef5dd,_0x344d86,_0x5655b1){const _0x2d63d5=_0x5a7f20;super(),this[_0x2d63d5(0x52a)]=_0x3ef5dd,this[_0x2d63d5(0x20b)]=_0x344d86,this[_0x2d63d5(0x593)]=_0x5655b1,this[_0x2d63d5(0x296)]();}[_0x5a7f20(0x296)](){const _0x4159c3=_0x5a7f20;this['disposeWithMe'](this['_commandService'][_0x4159c3(0x580)](_0x3c2e73=>{const _0x5786e2=_0x4159c3;let _0x30e7fb,_0x15a47c;if(_0x3c2e73['id']===_0x5a3ad6['id']||_0x3c2e73['id']===_0x30ee7d['id']||_0x3c2e73['id']===_0x9e59c9['id']){let _0x3cf67e=_0x3c2e73[_0x5786e2(0x233)];_0x30e7fb=_0x3cf67e[_0x5786e2(0x666)],_0x15a47c=_0x3cf67e[_0x5786e2(0x279)];}!_0x30e7fb||!_0x15a47c||this[_0x5786e2(0x593)][_0x5786e2(0x659)]({'workbookTypes':[_0x34a758],'worksheetTypes':[_0x343b12]},_0x30e7fb,_0x15a47c)||this['_sheetPermissionCheckController'][_0x5786e2(0x326)](this[_0x5786e2(0x20b)]['t'](_0x5786e2(0x439)));}));}};Wo=$([Q(0x0,_0x1e77ba(_0x2e069e)),Q(0x1,_0x1e77ba(_0x2e65fd)),Q(0x2,_0x1e77ba(_0x1a30ea))],Wo);const Go=function(_0x129c31){const _0x393d34=_0x5a7f20;let {containerWidth:_0x4f00c4,containerHeight:_0x4b012c,scaleX:_0x1fa28f,scaleY:_0x501261}=_0x129c31,_0x4e46c9=_0x1fa28f||0x1,_0x2538b1=_0x501261||0x1,_0x5c1877=_0x5bcd39(X),_0x31aa30=_0x5bcd39(_0x2d2c99),_0x20b5c8=_0x5bcd39(_0x43fdcf),_0x5cf88e=_0x5bcd39(_0x1005f5),_0x438833=_0x5bcd39(_0x2ac48c),_0x4c4200=_0x5bcd39(_0xc9428c),_0x4258ff=_0x5bcd39(_0x2e069e),_0x24788d=_0x4c8d63(_0x5c1877[_0x393d34(0x3bf)]),_0x55963b=_0x4c8d63(_0x5c1877['onSavingEditorData$']),_0x367384=_0xd3b7d0(null),_0x780799=_0xd3b7d0(null),_0x4506e4=_0xd3b7d0(null),_0x59fe7d=_0xd3b7d0(null),_0x3f5a9e=_0xd3b7d0(null),_0x138953=_0xd3b7d0(null),[_0x44bb89,_0x47b4ab]=_0x39af17({'editorHeight':_0x4b012c,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x2bdb83=_0x79c09a(_0x255edd=>{queueMicrotask(()=>{_0x47b4ab(_0x255edd);});},[]),_0x43b8ac=_0x79c09a(()=>_0x5cf88e[_0x393d34(0x4e7)](Za,_0x162ef7[_0x393d34(0x253)]),[_0x5cf88e]),_0x4767b5=_0x79c09a(()=>{const _0x402a24=_0x393d34;var _0xbc630;let _0x17ffc8=_0x4e46c9,_0xf35a32=_0x2538b1;if(!_0x24788d)return{'scaleAdjust':0x1,'renderScaleX':_0x17ffc8,'renderScaleY':_0xf35a32};let _0x3544f8=_0x20b5c8[_0x402a24(0x36a)](_0x24788d[_0x402a24(0x666)]),_0x444ae7=_0x3544f8==null?void 0x0:_0x3544f8[_0x402a24(0x2a0)][_0x402a24(0x2e2)](),_0x2aacd6=_0x3544f8==null?void 0x0:_0x3544f8[_0x402a24(0x236)][_0x402a24(0x331)](),_0x1395e1=_0x2aacd6?Number[_0x402a24(0x5d7)](_0x2aacd6[_0x402a24(0x2f8)][_0x402a24(0x3d7)]||''):0x0,_0x5c4cdd=(_0xbc630=_0x2aacd6==null?void 0x0:_0x2aacd6[_0x402a24(0x569)]()[_0x402a24(0x3d7)])==null?0x0:_0xbc630,_0x10507b=_0x1395e1>0x0&&_0x5c4cdd>0x0?_0x5c4cdd/_0x1395e1:0x1;return{'scaleAdjust':Number['isFinite'](_0x10507b)&&_0x10507b>0x0?_0x10507b:0x1,'renderScaleX':(_0x444ae7==null?void 0x0:_0x444ae7[_0x402a24(0x2af)])||_0x17ffc8,'renderScaleY':(_0x444ae7==null?void 0x0:_0x444ae7[_0x402a24(0x485)])||_0xf35a32};},[_0x4e46c9,_0x2538b1,_0x24788d,_0x20b5c8]),_0x590c40=_0x79c09a(()=>{const _0x5e5354=_0x393d34;if(!_0x24788d)return{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};let {unitId:_0x20e847,subUnitId:_0x57ad09,shapeId:_0x4dea84}=_0x24788d,_0x2b02e6=_0x4c4200[_0x5e5354(0x2dc)](_0x20e847,_0x57ad09,_0x4dea84);if(!_0x2b02e6)return{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};let _0x214ef8={'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};return _0x2b02e6['getShapeTextRect'](_0x214ef8);},[_0x24788d,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1,_0x4c4200]),_0x3e4ab4=_0x79c09a(()=>{const _0x7fab0c=_0x393d34;if(!_0x24788d)return null;let {unitId:_0x3c22c0,subUnitId:_0x4d2663,shapeId:_0x26887d}=_0x24788d,_0x542a1c=_0x4c4200['getShapeModel'](_0x3c22c0,_0x4d2663,_0x26887d);if(!_0x542a1c)return null;let _0x47dbd1=_0x542a1c[_0x7fab0c(0x570)]();if(!_0x47dbd1)return null;let _0x25e43e={'unitId':_0x3c22c0,'subUnitId':_0x4d2663,'drawingId':_0x26887d},_0x112103=_0x438833['getDrawingByParam'](_0x25e43e),_0x57f0cc={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x112103&&_0x112103[_0x7fab0c(0x3ba)]&&(_0x57f0cc=_0x112103[_0x7fab0c(0x3ba)]);let _0x30a4fa={'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1},_0x3118b1=_0x542a1c[_0x7fab0c(0x4d9)](_0x30a4fa),_0x640b13,_0x33e2d8=_0x583d52['TOP'],_0x31d207=_0xbfeb53[_0x7fab0c(0x38c)];if('dataModel'in _0x47dbd1&&_0x47dbd1[_0x7fab0c(0x3e1)]){var _0x55d63f,_0x4d0954;let _0x317d76=_0x47dbd1[_0x7fab0c(0x3e1)];_0x317d76!=null&&_0x317d76[_0x7fab0c(0x299)]&&(_0x640b13=_0x317d76[_0x7fab0c(0x299)]),_0x33e2d8=(_0x55d63f=_0x317d76==null?void 0x0:_0x317d76['va'])==null?_0x583d52[_0x7fab0c(0x202)]:_0x55d63f,_0x31d207=(_0x4d0954=_0x317d76==null?void 0x0:_0x317d76['ha'])==null?_0xbfeb53[_0x7fab0c(0x38c)]:_0x4d0954;}return{'doc':_0x640b13,'verticalAlign':_0x33e2d8,'horizontalAlign':_0x31d207,'textRect':_0x3118b1,'transform':_0x57f0cc,'isHorizontal':_0x47dbd1[_0x7fab0c(0x3da)]};},[_0x24788d,_0x4c4200,_0x438833,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1]),_0x2f8e70=_0x5652b4(()=>{const _0x5a5faa=_0x393d34;let _0x567c0a=_0x3e4ab4();return _0x567c0a!=null&&_0x567c0a[_0x5a5faa(0x299)]?$a(_0x567c0a[_0x5a5faa(0x299)],{'isHorizontal':!0x0,'textRect':_0x567c0a['textRect'],'verticalAlign':_0x567c0a['verticalAlign'],'horizontalAlign':_0x567c0a[_0x5a5faa(0x468)]}):{'id':Za,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x4f00c4/_0x4e46c9,'height':0x1/0x0}}};},[_0x3e4ab4,_0x4f00c4,_0x4e46c9]),_0x51d124=_0x534063({'editorId':Za,'initialValue':_0x2f8e70,'container':_0x780799,'autoFocus':!0x1,'isSingle':!0x1}),_0x5de19a=_0x53c7cc(Za);_0x43c3cc(_0x5de19a,{'keyCodes':[{'keyCode':_0x1a9450['ENTER']}],'handler':()=>{const _0x18a832=_0x393d34;_0x4258ff[_0x18a832(0x4eb)](_0x102157['id']);}},_0x51d124),_0xb89232(_0x5de19a,!0x1,_0x51d124);let _0x412690=_0x79c09a((_0x31290c=!0x0)=>{const _0x2c31b9=_0x393d34;var _0x142d7f,_0x50af64,_0x2cab2d;if(!_0x51d124)return;let _0x215784=_0x51d124['getSelectionRanges']()[_0x2c31b9(0x302)](_0xd00ac6=>_0xd00ac6[_0x2c31b9(0x31a)]),_0x3a6e4c=((_0x142d7f=(_0x50af64=_0x51d124['getDocumentData']()[_0x2c31b9(0x3fa)])==null?void 0x0:_0x50af64[_0x2c31b9(0x37e)][_0x2c31b9(0x3d6)])==null?0x2:_0x142d7f)-0x2,_0x3367eb=(_0x2cab2d=_0x215784==null?void 0x0:_0x215784[_0x2c31b9(0x29e)])==null?_0x31290c?_0x3a6e4c:null:_0x2cab2d;_0x3367eb!==null&&_0x51d124[_0x2c31b9(0x48d)]([{'startOffset':_0x3367eb,'endOffset':_0x3367eb}],!0x1);},[_0x51d124]),_0x497335=_0x79c09a(()=>{const _0x49bb56=_0x393d34;_0x3f5a9e[_0x49bb56(0x575)]!==null&&(cancelAnimationFrame(_0x3f5a9e['current']),_0x3f5a9e[_0x49bb56(0x575)]=null),_0x138953[_0x49bb56(0x575)]!==null&&(window[_0x49bb56(0x1e6)](_0x138953['current']),_0x138953[_0x49bb56(0x575)]=null);},[]),_0x54ef95=_0x79c09a(()=>{const _0x3c860e=_0x393d34;var _0x1f5358,_0x1e5ec4,_0x36232e;if(!_0x51d124)return;let _0x586513=_0x20b5c8[_0x3c860e(0x36a)](Za),_0x42f4fc=_0x586513==null?void 0x0:_0x586513[_0x3c860e(0x49a)](_0x2abcb8);if(!_0x42f4fc)return;let _0x440096=_0x42f4fc['getSkeleton'](),_0x52a0a3=_0x43b8ac(),{renderScaleX:_0x138071,renderScaleY:_0x364fa4,scaleAdjust:_0x10e87b}=_0x4767b5(),_0x2f2fa2=_0x3e4ab4(),_0x207508=(_0x1f5358=_0x2f2fa2==null?void 0x0:_0x2f2fa2[_0x3c860e(0x448)])==null?_0x583d52[_0x3c860e(0x202)]:_0x1f5358,_0x5f755d=(_0x1e5ec4=_0x2f2fa2==null?void 0x0:_0x2f2fa2['horizontalAlign'])==null?_0xbfeb53[_0x3c860e(0x38c)]:_0x1e5ec4,_0x22cd96=(_0x36232e=_0x590c40())==null?{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1}:_0x36232e;_0x52a0a3&&(_0x52a0a3[_0x3c860e(0x20c)](Math[_0x3c860e(0x42e)](_0x138071,_0x364fa4)),_0x52a0a3[_0x3c860e(0x668)]({'pageSize':{'width':_0x22cd96['width'],'height':0x1/0x0}}),_0x52a0a3[_0x3c860e(0x477)]({'verticalAlign':_0x207508,'horizontalAlign':_0x5f755d,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x491404['WRAP']})),_0x440096[_0x3c860e(0x3c8)]();let {actualHeight:_0x5daf58}=_0x440096[_0x3c860e(0x665)](),_0x37f6ae=_0x22cd96['height'],_0x51e044=_0x37f6ae,_0x52768b=0x0;if(_0x5daf58<=_0x37f6ae)_0x207508===_0x583d52['MIDDLE']?_0x52768b=(_0x37f6ae-_0x5daf58)/0x2:_0x207508===_0x583d52[_0x3c860e(0x5fc)]&&(_0x52768b=_0x37f6ae-_0x5daf58),_0x51e044=_0x37f6ae,_0x2bdb83({'editorHeight':_0x22cd96[_0x3c860e(0x4c8)]*_0x2538b1,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x34d75d=0x0;_0x207508===_0x583d52[_0x3c860e(0x4bb)]?_0x34d75d=(_0x37f6ae-_0x5daf58)/0x2:_0x207508===_0x583d52[_0x3c860e(0x5fc)]&&(_0x34d75d=_0x37f6ae-_0x5daf58),_0x52768b=0x0,_0x2bdb83({'editorHeight':_0x5daf58*_0x2538b1,'marginTop':_0x34d75d*_0x2538b1,'useAbsolutePosition':!0x0}),_0x51e044=_0x5daf58;}if(_0x52a0a3&&(_0x52a0a3[_0x3c860e(0x668)]({'pageSize':{'width':_0x22cd96[_0x3c860e(0x3d7)],'height':_0x51e044}}),_0x52a0a3['updateDocumentDataMargin']({'t':_0x52768b}),_0x440096[_0x3c860e(0x3c8)]()),_0x586513){let _0x1d27f3=_0x22cd96[_0x3c860e(0x3d7)]*_0x4e46c9,_0xfc66=_0x51e044*_0x2538b1;_0x586513[_0x3c860e(0x2a0)][_0x3c860e(0x288)]({'width':_0x1d27f3*_0x10e87b/_0x138071,'height':_0xfc66*_0x10e87b/_0x364fa4,'scaleX':_0x138071*_0x10e87b,'scaleY':_0x364fa4*_0x10e87b}),_0x586513[_0x3c860e(0x266)]&&_0x586513['mainComponent'][_0x3c860e(0x2e0)](_0x1d27f3*_0x10e87b/_0x138071,_0xfc66*_0x10e87b/_0x364fa4);}},[_0x51d124,_0x20b5c8,_0x43b8ac,_0x4767b5,_0x3e4ab4,_0x590c40,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1,_0x2bdb83]),_0x3a6f47=_0x79c09a((_0xcc9c8c=!0x1)=>{const _0xd5420e=_0x393d34;_0x497335(),_0x3f5a9e[_0xd5420e(0x575)]=requestAnimationFrame(()=>{const _0x23162=_0xd5420e;_0x54ef95(),_0xcc9c8c&&_0x412690(!0x1),_0x3f5a9e[_0x23162(0x575)]=null,_0x138953[_0x23162(0x575)]=window[_0x23162(0x2ca)](()=>{const _0x4cf907=_0x23162;_0x54ef95(),_0xcc9c8c&&_0x412690(!0x1),_0x138953[_0x4cf907(0x575)]=null;},0x14);});},[_0x54ef95,_0x497335,_0x412690]);_0x45aacf(()=>{const _0x2e8dae=_0x393d34;if(!_0x51d124||!_0x24788d)return;let {shapeId:_0x4b99f0,unitId:_0x24182d,subUnitId:_0x48e8d2}=_0x24788d;if(_0x55963b){var _0xbaa359,_0x264c33,_0x246735,_0x51a98a;let _0x42beaf=eo(_0x51d124[_0x2e8dae(0x220)]()),_0x406666=_0x3e4ab4(),_0x86daf4={'va':(_0xbaa359=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x448)])==null?_0x583d52[_0x2e8dae(0x202)]:_0xbaa359,'ha':(_0x264c33=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x468)])==null?_0xbfeb53[_0x2e8dae(0x38c)]:_0x264c33,'doc':_0x42beaf};_0x4258ff[_0x2e8dae(0x4eb)](Va['id'],{'unitId':_0x24182d,'subUnitId':_0x48e8d2,'shapeId':_0x4b99f0,'shapeData':{'shapeText':{'isHorizontal':(_0x246735=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x3da)])==null?!0x0:_0x246735,'dataModel':_0x86daf4}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x51a98a=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x3da)])==null?!0x0:_0x51a98a,'dataModel':_0x4506e4[_0x2e8dae(0x575)]}}}});return;}let _0x47a408=_0x3e4ab4();if(_0x47a408!=null&&_0x47a408[_0x2e8dae(0x299)]){_0x4506e4[_0x2e8dae(0x575)]={'va':_0x47a408['verticalAlign'],'ha':_0x47a408[_0x2e8dae(0x468)],'doc':_0x2c82c8['deepClone'](_0x47a408[_0x2e8dae(0x299)])};let _0x3c8f2e=$a(_0x47a408[_0x2e8dae(0x299)],{'isHorizontal':!0x0,'textRect':_0x47a408[_0x2e8dae(0x2ef)],'verticalAlign':_0x47a408[_0x2e8dae(0x448)],'horizontalAlign':_0x47a408[_0x2e8dae(0x468)]});return _0x51d124[_0x2e8dae(0x259)](_0x3c8f2e,null),()=>{const _0x1b6143=_0x2e8dae;var _0x1136ab,_0x257265,_0x2fb26f,_0x30de89;let _0xfe19c8=eo(_0x51d124[_0x1b6143(0x220)]()),_0x1e7e1e=_0x3e4ab4(),_0x1d1637={'va':(_0x1136ab=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x448)])==null?_0x583d52[_0x1b6143(0x202)]:_0x1136ab,'ha':(_0x257265=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x468)])==null?_0xbfeb53['LEFT']:_0x257265,'doc':_0xfe19c8};_0x4258ff[_0x1b6143(0x4eb)](Va['id'],{'unitId':_0x24182d,'subUnitId':_0x48e8d2,'shapeId':_0x4b99f0,'shapeData':{'shapeText':{'isHorizontal':(_0x2fb26f=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x3da)])==null?!0x0:_0x2fb26f,'dataModel':_0x1d1637}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x30de89=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x3da)])==null?!0x0:_0x30de89,'dataModel':_0x4506e4['current']}}}});};}else _0x51d124[_0x2e8dae(0x259)](_0x2f8e70,null);},[_0x51d124,_0x24788d,_0x55963b]),_0x45aacf(()=>{const _0x2ff49b=_0x393d34;if(!(!_0x51d124||!_0x24788d))return _0x31aa30[_0x2ff49b(0x40b)](!0x0),_0x54ef95(),_0x59fe7d[_0x2ff49b(0x575)]=requestAnimationFrame(()=>{const _0x4f6044=_0x2ff49b;_0x31aa30[_0x4f6044(0x52f)](Za),_0x412690(),_0x3a6f47(),_0x59fe7d[_0x4f6044(0x575)]=null;}),()=>{const _0x564997=_0x2ff49b;_0x59fe7d[_0x564997(0x575)]!==null&&(cancelAnimationFrame(_0x59fe7d['current']),_0x59fe7d[_0x564997(0x575)]=null),_0x497335(),_0x31aa30[_0x564997(0x40b)](!0x0);};},[_0x51d124,_0x24788d,_0x31aa30,_0x54ef95,_0x412690,_0x3a6f47,_0x497335]),_0x45aacf(()=>{const _0x5c56a9=_0x393d34;if(!_0x51d124)return;let _0x127b3f=_0x4258ff[_0x5c56a9(0x2be)](_0x4c9964=>{const _0x1cc318=_0x5c56a9;_0x4c9964['id']===_0x4d10e0['id']&&_0x4c9964[_0x1cc318(0x233)][_0x1cc318(0x666)]===Za&&_0x24788d&&(_0x24788d[_0x1cc318(0x608)]?_0x54ef95():_0x5c1877[_0x1cc318(0x59b)]({..._0x24788d,'visible':!0x0})),_0x4c9964['id']===Ka['id']&&_0x3a6f47(!0x0);});return()=>{_0x127b3f['dispose']();};},[_0x51d124,_0x54ef95,_0x24788d,_0x3a6f47,_0x5c1877]),_0x45aacf(()=>(_0x54ef95(),_0x3a6f47(),()=>{_0x497335();}),[_0x54ef95,_0x3a6f47,_0x497335]);let _0xc22571=_0x5652b4(()=>{const _0x2b0907=_0x393d34;var _0x1ecd53;let _0x4f56ec=(_0x1ecd53=_0x590c40())==null?{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1}:_0x1ecd53,_0x3ecc46=_0x4f56ec[_0x2b0907(0x5af)]*_0x4e46c9,_0x46d608=_0x4f56ec[_0x2b0907(0x406)]*_0x2538b1,_0x490741=_0x4f56ec[_0x2b0907(0x3d7)]*_0x4e46c9;return _0x44bb89['useAbsolutePosition']?{'top':_0x46d608+_0x44bb89[_0x2b0907(0x38f)],'left':_0x3ecc46,'width':_0x490741,'height':_0x44bb89[_0x2b0907(0x60e)]}:{'top':_0x46d608,'left':_0x3ecc46,'width':_0x490741,'height':_0x44bb89[_0x2b0907(0x60e)]};},[_0x44bb89,_0x590c40,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1]),_0x30fd31=_0x5652b4(()=>{const _0x29ad32=_0x393d34;let _0x4b8945=_0x3e4ab4(),_0x550155=_0x4b8945==null?void 0x0:_0x4b8945[_0x29ad32(0x3ba)];return _0x550155&&_0x550155||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x3e4ab4]);return _0x20f703(_0x393d34(0x2ba),{'ref':_0x367384,'data-u-comp':_0x393d34(0x3c5),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':'rotate('+_0x30fd31[_0x393d34(0x402)]+_0x393d34(0x50d)+(_0x30fd31['flipY']?-0x1:0x1)+')'},'children':_0x20f703(_0x393d34(0x2ba),{'ref':_0x780799,'className':'univer-absolute','data-u-comp':'shape-text-editor-content','style':_0xc22571,'data-editorid':Za})});},Ko={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function qo(_0x275a00,_0xf39004,_0x3ff739,_0x1b6212){const _0x4d5759=_0x5a7f20;let {scaleX:_0x317fc5,scaleY:_0x56c15d}=_0x3ff739[_0x4d5759(0x2e2)](),{startColumn:_0x1f38fe,startRow:_0x46f2f3,xSplit:_0x363626,ySplit:_0x52a712}=_0x1b6212['worksheet']['getFreeze'](),_0xd1e1d=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0[_0x4d5759(0x369)]),_0x10f396=_0x3ff739['getViewport'](_0x443ad0[_0x4d5759(0x5cf)]),_0x48f3ee=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0['VIEW_MAIN_TOP']),_0x4d0b34=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0[_0x4d5759(0x5b6)]),{rowHeaderWidth:_0x1b043d,columnHeaderHeight:_0x122adf}=_0x1b6212,_0x4f52b9=_0x1b6212[_0x4d5759(0x424)](_0x46f2f3)+_0x122adf,_0x4d1d1b=_0x1b6212[_0x4d5759(0x1d2)](_0x1f38fe)+_0x1b043d,_0x20e327=_0x1b6212[_0x4d5759(0x424)](_0x46f2f3-_0x52a712)+_0x122adf,_0x2859d1=_0x1b6212[_0x4d5759(0x1d2)](_0x1f38fe-_0x363626)+_0x1b043d,_0x25b982=[],_0x588dee=(_0x1f7910,_0x497d3d,_0x17f8a6)=>{if(!_0x1f7910)return null;let {viewportScrollX:_0x1606f4,viewportScrollY:_0x4cbfe4}=_0x1f7910,_0x5e6366,_0x63d0df;return _0x5e6366=_0x497d3d?(_0x275a00-(_0x2859d1-_0x1b043d))*_0x317fc5:(_0x275a00-_0x1606f4)*_0x317fc5,_0x63d0df=_0x17f8a6?(_0xf39004-(_0x20e327-_0x122adf))*_0x56c15d:(_0xf39004-_0x4cbfe4)*_0x56c15d,{'domX':_0x5e6366,'domY':_0x63d0df};},_0x3ab3ca=_0x275a00<_0x4d1d1b&&_0x363626>0x0,_0x516e6f=_0xf39004<_0x4f52b9&&_0x52a712>0x0,_0x1192a5=_0x275a00>=_0x4d1d1b||_0x363626===0x0,_0x2bae4b=_0xf39004>=_0x4f52b9||_0x52a712===0x0;if(_0x3ab3ca&&_0x516e6f&&_0x10f396){let _0x18399e=_0x588dee(_0x10f396,!0x0,!0x0);_0x18399e&&_0x25b982[_0x4d5759(0x61f)](_0x18399e);}if(_0x516e6f&&_0x1192a5&&_0x48f3ee){let _0x278712=_0x588dee(_0x48f3ee,!0x1,!0x0);_0x278712&&_0x25b982[_0x4d5759(0x61f)](_0x278712);}if(_0x3ab3ca&&_0x2bae4b&&_0x4d0b34){let _0x16983d=_0x588dee(_0x4d0b34,!0x0,!0x1);_0x16983d&&_0x25b982[_0x4d5759(0x61f)](_0x16983d);}if(_0x1192a5&&_0x2bae4b&&_0xd1e1d){let _0x5d0462=_0x588dee(_0xd1e1d,!0x1,!0x1);_0x5d0462&&_0x25b982[_0x4d5759(0x61f)](_0x5d0462);}if(_0x25b982[_0x4d5759(0x3d6)]===0x0){var _0x57f23d,_0x219814;return{'domX':(_0x275a00-((_0x57f23d=_0xd1e1d==null?void 0x0:_0xd1e1d['viewportScrollX'])==null?0x0:_0x57f23d))*_0x317fc5,'domY':(_0xf39004-((_0x219814=_0xd1e1d==null?void 0x0:_0xd1e1d[_0x4d5759(0x4b0)])==null?0x0:_0x219814))*_0x56c15d};}let _0x9d530f=_0x25b982[0x0][_0x4d5759(0x2c2)],_0x2cf2ca=_0x25b982[0x0][_0x4d5759(0x2de)];for(let _0x145a6f of _0x25b982)_0x145a6f[_0x4d5759(0x2c2)]>_0x9d530f&&(_0x9d530f=_0x145a6f[_0x4d5759(0x2c2)]),_0x145a6f['domY']>_0x2cf2ca&&(_0x2cf2ca=_0x145a6f['domY']);return{'domX':_0x9d530f,'domY':_0x2cf2ca};}function Jo(_0xa50773,_0x5082a8,_0x2601dd,_0x55ca7b,_0x3bde14,_0x4b1626,_0x1e661d){const _0x23d0cf=_0x5a7f20;let {scaleX:_0x53dbcc,scaleY:_0x56015f}=_0x4b1626[_0x23d0cf(0x2e2)](),{domX:_0x4bd9b7,domY:_0x40b18c}=qo(_0xa50773,_0x5082a8,_0x4b1626,_0x1e661d);return{'left':_0x4bd9b7,'top':_0x40b18c,'width':_0x2601dd*_0x53dbcc,'height':_0x55ca7b*_0x56015f,'angle':_0x3bde14,'scaleX':_0x53dbcc,'scaleY':_0x56015f};}function Yo(_0x11f624){const _0x34fecc=_0x5a7f20;let {editingParams:_0x2ebf55,scene:_0x58b18c,skeleton:_0x3ed944,getShapeTransform:_0x4e2528}=_0x11f624,[_0x212b5a,_0x1c9910]=_0x39af17(Ko),_0x109855=_0xd3b7d0(_0x212b5a);_0x109855[_0x34fecc(0x575)]=_0x212b5a;let _0x193a6d=_0x79c09a(()=>{const _0x1d5bcc=_0x34fecc;if(!_0x2ebf55||!_0x58b18c||!_0x3ed944){_0x109855['current']!==Ko&&_0x1c9910(Ko);return;}let _0x43b6df=_0x4e2528();if(!_0x43b6df){_0x109855[_0x1d5bcc(0x575)]!==Ko&&_0x1c9910(Ko);return;}let {left:_0x3a2a1f,top:_0x40110a,width:_0x50c907,height:_0x5e9ec1,angle:_0x1167b5}=_0x43b6df;if(!_0x2ebf55[_0x1d5bcc(0x608)]){let {scaleX:_0x585eb3,scaleY:_0x45bd23}=_0x58b18c[_0x1d5bcc(0x2e2)]();_0x1c9910({'left':-0x270f,'top':-0x270f,'width':_0x50c907*_0x585eb3,'height':_0x5e9ec1*_0x45bd23,'angle':0x0,'scaleX':_0x585eb3,'scaleY':_0x45bd23});return;}_0x1c9910(Jo(_0x3a2a1f,_0x40110a,_0x50c907,_0x5e9ec1,_0x1167b5,_0x58b18c,_0x3ed944));},[_0x2ebf55,_0x58b18c,_0x3ed944,_0x4e2528]);return _0x45aacf(()=>{_0x193a6d();},[_0x2ebf55,_0x193a6d]),{'position':_0x212b5a,'updatePosition':_0x193a6d};}const Xo=_0xc22a53(_0x364b5a=>{const _0x11e301=_0x5a7f20;let {children:_0x440e9b,onPositionUpdate:_0x1024fc}=_0x364b5a,_0x259c09=_0xd3b7d0(null),_0x680572=_0x5bcd39(X),_0xcbd7d6=_0x5bcd39(_0x43fdcf),_0x5cacb2=_0x4c8d63(_0x680572[_0x11e301(0x3bf)]),_0x517f58=_0x5652b4(()=>_0x5cacb2?_0xcbd7d6[_0x11e301(0x36a)](_0x5cacb2[_0x11e301(0x666)]):null,[_0x5cacb2,_0xcbd7d6]),_0x314c14=_0x5652b4(()=>{const _0x4992cd=_0x11e301;var _0x5a60ec;return(_0x5a60ec=_0x517f58==null?void 0x0:_0x517f58[_0x4992cd(0x2a0)])==null?null:_0x5a60ec;},[_0x517f58]),{position:_0xe6524a,updatePosition:_0x6664af}=Yo({'editingParams':_0x5cacb2,'scene':_0x314c14,'skeleton':_0x5652b4(()=>{const _0x44e441=_0x11e301;var _0x128790,_0x15198b;return!_0x5cacb2||!_0x517f58||(_0x128790=(_0x15198b=_0x517f58[_0x44e441(0x49a)](_0x4e2ed9)[_0x44e441(0x2a8)](_0x5cacb2[_0x44e441(0x279)]))==null?void 0x0:_0x15198b[_0x44e441(0x39c)])==null?null:_0x128790;},[_0x5cacb2,_0x517f58]),'getShapeTransform':_0x79c09a(()=>{const _0x7ff9a=_0x11e301;if(!_0x5cacb2||!_0x314c14)return null;let _0x5e3b7a=_0x5cacb2[_0x7ff9a(0x45b)],_0x2b9b79=_0x314c14[_0x7ff9a(0x2c4)](_0x5e3b7a);return _0x2b9b79 instanceof to?{'left':_0x2b9b79[_0x7ff9a(0x5af)],'top':_0x2b9b79['top'],'width':_0x2b9b79['width'],'height':_0x2b9b79[_0x7ff9a(0x4c8)],'angle':_0x2b9b79[_0x7ff9a(0x402)]}:null;},[_0x5cacb2,_0x314c14])}),_0x39ef61=_0x79c09a(()=>{const _0x5842df=_0x11e301;let _0x573d2c=_0x259c09[_0x5842df(0x575)];_0x573d2c&&(_0x573d2c['style'][_0x5842df(0x5af)]=_0xe6524a['left']+'px',_0x573d2c['style'][_0x5842df(0x406)]=_0xe6524a[_0x5842df(0x406)]+'px',_0x573d2c[_0x5842df(0x2f8)][_0x5842df(0x3d7)]=_0xe6524a[_0x5842df(0x3d7)]+'px',_0x573d2c[_0x5842df(0x2f8)][_0x5842df(0x4c8)]=_0xe6524a[_0x5842df(0x4c8)]+'px');},[_0xe6524a]);return _0x45aacf(()=>{const _0x39ce20=_0x11e301;_0x39ef61(),_0x1024fc==null||_0x1024fc({'width':_0xe6524a['width'],'height':_0xe6524a[_0x39ce20(0x4c8)],'scaleX':_0xe6524a[_0x39ce20(0x2af)],'scaleY':_0xe6524a[_0x39ce20(0x485)]});},[_0xe6524a,_0x39ef61,_0x1024fc]),_0x45aacf(()=>{const _0xdd62ca=_0x11e301;if(!_0x314c14)return;let _0xb7bb22=_0x314c14['getViewport'](_0x443ad0[_0xdd62ca(0x369)]);if(!_0xb7bb22)return;let _0x33fdf7=_0xb7bb22[_0xdd62ca(0x62e)][_0xdd62ca(0x3f0)](()=>{_0x6664af();});return()=>{const _0x402733=_0xdd62ca;_0x33fdf7[_0x402733(0x223)]();};},[_0x314c14,_0x6664af]),_0x45aacf(()=>{const _0x488bc4=_0x11e301;if(!_0x5cacb2||!_0x314c14)return;let _0xe90e6b=_0x5cacb2[_0x488bc4(0x45b)],_0x49f8ce=_0x314c14[_0x488bc4(0x2c4)](_0xe90e6b);if(_0x49f8ce instanceof to){let _0x4e0ea2=_0x49f8ce[_0x488bc4(0x674)][_0x488bc4(0x3f0)](()=>{_0x6664af();});return()=>{_0x4e0ea2['unsubscribe']();};}},[_0x5cacb2,_0x314c14,_0x6664af]),_0x20f703(_0x11e301(0x2ba),{'ref':_0x259c09,'data-u-comp':_0x11e301(0x5fd),'className':_0x11e301(0x26b),'style':_0x5652b4(()=>({'left':_0xe6524a[_0x11e301(0x5af)],'top':_0xe6524a[_0x11e301(0x406)],'width':_0xe6524a[_0x11e301(0x3d7)],'height':_0xe6524a[_0x11e301(0x4c8)],'pointerEvents':_0x5cacb2!=null&&_0x5cacb2[_0x11e301(0x608)]?'auto':_0x11e301(0x347)}),[_0xe6524a,_0x5cacb2==null?void 0x0:_0x5cacb2[_0x11e301(0x608)]]),'children':_0x440e9b});}),Zo=_0xc22a53(()=>{const _0x9b32c4=_0x5a7f20;let _0x1cfde7=_0x4c8d63(_0x5bcd39(X)[_0x9b32c4(0x3bf)]),[_0x4ce0d1,_0x386344]=_0x39af17({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x423cfb=_0x79c09a(_0x5f55a3=>{const _0x3640e3=_0x9b32c4;_0x386344({'width':_0x5f55a3['width'],'height':_0x5f55a3[_0x3640e3(0x4c8)],'scaleX':_0x5f55a3[_0x3640e3(0x2af)],'scaleY':_0x5f55a3[_0x3640e3(0x485)]});},[]);return _0x1cfde7!=null&&_0x1cfde7[_0x9b32c4(0x608)]?_0x20f703(Xo,{'onPositionUpdate':_0x423cfb,'children':_0x20f703(Go,{'containerWidth':_0x4ce0d1[_0x9b32c4(0x3d7)],'containerHeight':_0x4ce0d1[_0x9b32c4(0x4c8)],'scaleX':_0x4ce0d1['scaleX'],'scaleY':_0x4ce0d1[_0x9b32c4(0x485)]})}):null;});let Qo=class extends _0x3a89bd{constructor(_0x173991=Po,_0x2b933a,_0x56be69,_0xaf42b5,_0x8b76cc){const _0x439ff6=_0x5a7f20;super(),this[_0x439ff6(0x63d)]=_0x173991,this[_0x439ff6(0x20a)]=_0x2b933a,this['_commandService']=_0x56be69,this[_0x439ff6(0x590)]=_0xaf42b5,this[_0x439ff6(0x33e)]=_0x8b76cc;let {..._0x376b6a}=_0x4738e3({},Po,this[_0x439ff6(0x63d)]);this[_0x439ff6(0x590)][_0x439ff6(0x4f7)](_0x439ff6(0x2d8),_0x376b6a),this['_initCommands']();}[_0x5a7f20(0x1e9)](){const _0x4f942d=_0x5a7f20;_0x249b7b(this[_0x4f942d(0x20a)],[[jo],[ro],[no]]);}['onReady'](){const _0x46a9f2=_0x5a7f20;[[Bo],[mo],[Vo]][_0x46a9f2(0x2cc)](_0x29fb4e=>this[_0x46a9f2(0x20a)][_0x46a9f2(0x4db)](_0x29fb4e)),_0x249b7b(this[_0x46a9f2(0x20a)],[[Vo]]),this[_0x46a9f2(0x33e)][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Bo]),this[_0x46a9f2(0x33e)]['registerRenderModule'](_0x162ef7[_0x46a9f2(0x627)],[mo]),this['_renderManagerService'][_0x46a9f2(0x63c)](_0x162ef7['UNIVER_SHEET'],[Fo]),this[_0x46a9f2(0x33e)][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Uo]),this['_renderManagerService'][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Lo]);}[_0x5a7f20(0x2e7)](){const _0x289f39=_0x5a7f20;let _0x367fc9=this['_injector'];_0x367fc9[_0x289f39(0x2f7)](_0x5b38e3)[_0x289f39(0x3a8)](_0x289f39(0x625),Zo),[[jo],[ro],[no],[X],[Io],[_o],[Wo]][_0x289f39(0x2cc)](_0x254d33=>_0x367fc9['add'](_0x254d33)),_0x249b7b(this['_injector'],[[jo],[ro],[no],[X],[Io],[_o],[Wo]]);}[_0x5a7f20(0x410)](){const _0x3858d5=_0x5a7f20;[go,Va,Ka,Ha,Ua,Ga,Wa,Ja,Ya,qa,ho][_0x3858d5(0x2cc)](_0x348f6b=>this['disposeWithMe'](this[_0x3858d5(0x52a)][_0x3858d5(0x615)](_0x348f6b)));}};Y(Qo,'type',_0x162ef7[_0x5a7f20(0x627)]),Y(Qo,_0x5a7f20(0x3b9),_0x5a7f20(0x54b)),Y(Qo,_0x5a7f20(0x2e3),Mo),Y(Qo,_0x5a7f20(0x1f0),No),Qo=$([_0xc07bae(_0x2073ff,_0x4ac018),Q(0x1,_0x1e77ba(_0x54d8ad)),Q(0x2,_0x2e069e),Q(0x3,_0x1d4840),Q(0x4,_0x43fdcf)],Qo);export{Ua as SetShapeTextFontSizeCommand,Ga as SetShapeTextFontSizeDecreaseCommand,Wa as SetShapeTextFontSizeIncreaseCommand,Ha as SetShapeTextHorizontalAlignCommand,Ka as SetShapeTextVerticalAlignCommand,qa as ShapeDocAlignCommand,jo as SheetsShapeUIController,Qo as UniverSheetsShapeUIPlugin,Va as UpdateShapeDataCommand};
1
+ const _0x525a7c=_0xa649;(function(_0x541d4c,_0x3f42e7){const _0x38d5b3=_0xa649,_0x55e55c=_0x541d4c();while(!![]){try{const _0xa7293c=parseInt(_0x38d5b3(0x569))/0x1*(-parseInt(_0x38d5b3(0x5c2))/0x2)+-parseInt(_0x38d5b3(0x52e))/0x3*(parseInt(_0x38d5b3(0x2e2))/0x4)+-parseInt(_0x38d5b3(0x5df))/0x5+-parseInt(_0x38d5b3(0x38e))/0x6+parseInt(_0x38d5b3(0x55e))/0x7*(parseInt(_0x38d5b3(0x4cd))/0x8)+-parseInt(_0x38d5b3(0x348))/0x9+parseInt(_0x38d5b3(0x397))/0xa*(parseInt(_0x38d5b3(0x5a8))/0xb);if(_0xa7293c===_0x3f42e7)break;else _0x55e55c['push'](_0x55e55c['shift']());}catch(_0x135197){_0x55e55c['push'](_0x55e55c['shift']());}}}(_0x2a20,0x50678));import{InsertShapeCommand as _0x19c0b7,InsertSheetsShapeMutation as _0xa7bd4d,RemoveSheetsShapeMutation as _0x16984e,SetShapeDrawingDataCommand as _0x269d59,SetSheetsShapeRotateCommand as _0x255252,SetSheetsShapeTextVerticalToggleCommand as _0x4217ae,SheetsShapeService as _0xbf66b3,ToggleSheetsShapeFlipCommand as _0x594d92,UniverSheetsShapePlugin as _0x3864e9,UpdateConnectorRelationCommand as _0x1dfbfc,UpdateLineShapeResizeCommand as _0x138c14,UpdateSheetsShapeDataMutation as _0x4aed26}from'@univerjs-pro/sheets-shape';import{CommandType as _0x4c1e6f,DependentOn as _0x2990d7,Disposable as _0xb10ffb,DocumentDataModel as _0x803706,DrawingTypeEnum as _0x663dcd,FOCUSING_COMMON_DRAWINGS as _0x3ee166,FOCUSING_PANEL_EDITOR as _0x3b9714,FOCUSING_SHAPE_TEXT_EDITOR as _0x2fd4a1,HorizontalAlign as _0x230fa2,ICommandService as _0x467978,IConfigService as _0x3a0a27,IContextService as _0x58e33a,IURLImageService as _0x16b8eb,IUndoRedoService as _0xefb34,IUniverInstanceService as _0x757fa4,Inject as _0x3293e1,Injector as _0xd8cd0e,LocaleService as _0x3a0ae2,Plugin as _0x189648,ThemeService as _0x31a147,Tools as _0x385f57,UniverInstanceType as _0x482ea2,VerticalAlign as _0x985993,WrapStrategy as _0x3412ba,createInternalEditorID as _0x132126,generateRandomId as _0x176349,merge as _0x597583,toDisposable as _0x1a66ea,touchDependencies as _0x523a8e}from'@univerjs/core';import{CopySheetCommand as _0x13951e,RemoveSheetCommand as _0x1e0a80,SheetInterceptorService as _0x57051e,SheetPermissionCheckController as _0x53bf33,SheetSkeletonService as _0x18e5df,SheetsSelectionsService as _0x37e123,WorkbookEditablePermission as _0x1181b3,WorksheetEditPermission as _0x2624fd,attachRangeWithCoord as _0xb7adf7,discreteRangeToRange as _0x12e87f,getSheetCommandTarget as _0x398ea1}from'@univerjs/sheets';import{DrawingApplyType as _0xf244d9,ISheetDrawingService as _0x1e4c00,RemoveSheetDrawingCommand as _0x2d85cf,SetDrawingApplyMutation as _0xd8d804,transformToDrawingPosition as _0x4c7607}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x1d5515,EMPTY as _0x10bd3c,Observable as _0x5967a1,map as _0x369159,of as _0x327706,startWith as _0x20bc2a,switchMap as _0x26f15b}from'rxjs';import{IDrawingManagerService as _0x40f1b2,IImageIoService as _0x1d9860,getDrawingShapeKeyByDrawingSearch as _0x3e269b,getImageSize as _0x204a69}from'@univerjs/drawing';import{CURSOR_TYPE as _0x1f450c,Circle as _0x33b336,DRAWING_OBJECT_LAYER_INDEX as _0x230c50,DocumentSkeleton as _0x206a53,DocumentViewModel as _0x3ef3fe,Documents as _0x36f7c0,IRenderManagerService as _0x243434,Image as _0x5caf4b,RENDER_CLASS_TYPE as _0x5b5cf6,SHEET_VIEWPORT_KEY as _0x23af47,Shape as _0x257ce2,Transform as _0x4a8695,VERTICAL_ROTATE_ANGLE as _0x56e55b,Vector2 as _0x3f0c8c}from'@univerjs/engine-render';import{AlignOperationCommand as _0x4ef831,BreakLineCommand as _0x442d5a,IEditorService as _0x5bcb2e,ResetInlineFormatTextBackgroundColorCommand as _0x1d32dd,SetInlineFormatTextBackgroundColorCommand as _0x9d2e38,useEditor as _0x2adb6a,useIsFocusing as _0x56dff0,useKeyboardEvent as _0x5b65de,useLeftAndRightArrow as _0x494615}from'@univerjs/docs-ui';import{MoreDownIcon as _0x3caf67,PaintBucketDoubleIcon as _0x3db68c,ShapeAccentBorderCallout1Icon as _0x55bb3b,ShapeAccentBorderCallout2Icon as _0x38548a,ShapeAccentBorderCallout3Icon as _0x182c49,ShapeAccentCallout1Icon as _0xf7acc8,ShapeAccentCallout2Icon as _0x5e7a24,ShapeAccentCallout3Icon as _0x5133aa,ShapeActionButtonBackPreviousIcon as _0x3ea8b2,ShapeActionButtonBeginningIcon as _0x1ceb23,ShapeActionButtonBlankIcon as _0x1bbd7d,ShapeActionButtonDocumentIcon as _0x4c9a00,ShapeActionButtonEndIcon as _0x17207e,ShapeActionButtonForwardNextIcon as _0x22db10,ShapeActionButtonHelpIcon as _0x2860a4,ShapeActionButtonHomeIcon as _0x248339,ShapeActionButtonInformationIcon as _0x4a5d07,ShapeActionButtonMovieIcon as _0x2aecf4,ShapeActionButtonReturnIcon as _0x1a8608,ShapeActionButtonSoundIcon as _0x34c9fe,ShapeArcIcon as _0x5e1c51,ShapeBentArrowIcon as _0x57823f,ShapeBentConnector3Arrow1Icon as _0x5f3d39,ShapeBentConnector3Arrow2Icon as _0x4e1562,ShapeBentConnector3Icon as _0x29e523,ShapeBentUpArrowIcon as _0x332c4b,ShapeBevelIcon as _0x53b992,ShapeBlockArcIcon as _0x5229c5,ShapeBorderCallout1Icon as _0x41a902,ShapeBorderCallout2Icon as _0x442a2b,ShapeBorderCallout3Icon as _0x405aa2,ShapeBracePairIcon as _0x323a2c,ShapeBracketPairIcon as _0x1be90a,ShapeCallout1Icon as _0x1f3432,ShapeCallout2Icon as _0x468103,ShapeCallout3Icon as _0x397b50,ShapeCanIcon as _0x27c9ee,ShapeChartPlusIcon as _0x36efa4,ShapeChartStarIcon as _0x2e41a4,ShapeChartXIcon as _0xa5cb4d,ShapeChevronIcon as _0x50e862,ShapeChordIcon as _0x44faf8,ShapeCircularArrowIcon as _0x2cfda4,ShapeCloudCalloutIcon as _0x3ac255,ShapeCloudIcon as _0x889035,ShapeCornerIcon as _0x4ca5a9,ShapeCornerTabsIcon as _0x577b2b,ShapeCubeIcon as _0x54fe0,ShapeCurvedConnector3Arrow1Icon as _0x57d600,ShapeCurvedConnector3Arrow2Icon as _0x14444a,ShapeCurvedConnector3Icon as _0x1f6c98,ShapeCurvedDownArrowIcon as _0x5b7b24,ShapeCurvedLeftArrowIcon as _0x29ba95,ShapeCurvedRightArrowIcon as _0x52a365,ShapeCurvedUpArrowIcon as _0x865673,ShapeDecagonIcon as _0x586e83,ShapeDiagStripeIcon as _0x3aeb21,ShapeDiamondIcon as _0xbb85fa,ShapeDodecagonIcon as _0x30b33c,ShapeDonutIcon as _0x7423a1,ShapeDoubleWaveIcon as _0x2bf25d,ShapeDownArrowCalloutIcon as _0x3a91e0,ShapeDownArrowIcon as _0x4eed2b,ShapeEllipseIcon as _0x2a5676,ShapeEllipseRibbon2Icon as _0x164820,ShapeEllipseRibbonIcon as _0x20fda0,ShapeFlowChartAlternateProcessIcon as _0x59997a,ShapeFlowChartCollateIcon as _0x25ae09,ShapeFlowChartConnectorIcon as _0x3de4f3,ShapeFlowChartDecisionIcon as _0x120ebb,ShapeFlowChartDelayIcon as _0x471ac3,ShapeFlowChartDisplayIcon as _0x1d4c10,ShapeFlowChartDocumentIcon as _0x4995fc,ShapeFlowChartExtractIcon as _0x337e0e,ShapeFlowChartInputOutputIcon as _0x3005a1,ShapeFlowChartInternalStorageIcon as _0x16e35f,ShapeFlowChartMagneticDiskIcon as _0x4f2703,ShapeFlowChartMagneticDrumIcon as _0x2227ab,ShapeFlowChartMagneticTapeIcon as _0x3f84a5,ShapeFlowChartManualInputIcon as _0x5ac4da,ShapeFlowChartManualOperationIcon as _0x4be2b2,ShapeFlowChartMergeIcon as _0xdc6348,ShapeFlowChartMultidocumentIcon as _0x5eaafc,ShapeFlowChartOfflineStorageIcon as _0x54b967,ShapeFlowChartOffpageConnectorIcon as _0x25b9ab,ShapeFlowChartOnlineStorageIcon as _0x242d8e,ShapeFlowChartOrIcon as _0x20e08d,ShapeFlowChartPredefinedProcessIcon as _0x300012,ShapeFlowChartPreparationIcon as _0x239c59,ShapeFlowChartProcessIcon as _0x129996,ShapeFlowChartPunchedCardIcon as _0x5d49ca,ShapeFlowChartPunchedTapeIcon as _0xd95b70,ShapeFlowChartSortIcon as _0x1da986,ShapeFlowChartSummingJunctionIcon as _0x39b3fc,ShapeFlowChartTerminatorIcon as _0x55a22a,ShapeFolderCornerIcon as _0x21cf33,ShapeFrameIcon as _0x3fa4c2,ShapeFunnelIcon as _0x2d505a,ShapeGear6Icon as _0x40448d,ShapeGear9Icon as _0x6ea3e8,ShapeHalfFrameIcon as _0x3e6294,ShapeHeartIcon as _0x2249f5,ShapeHeptagonIcon as _0x147769,ShapeHexagonIcon as _0x3d89fa,ShapeHomePlateIcon as _0x2e88e8,ShapeHorizontalScrollIcon as _0x1f3a7d,ShapeIcon as _0x59927a,ShapeIrregularSeal1Icon as _0x2886a4,ShapeIrregularSeal2Icon as _0x162b3b,ShapeLeftArrowCalloutIcon as _0x1ab200,ShapeLeftArrowIcon as _0x4d7c91,ShapeLeftBraceIcon as _0x79be61,ShapeLeftBracketIcon as _0x2b9151,ShapeLeftCircularArrowIcon as _0x28a116,ShapeLeftRightArrowCalloutIcon as _0x261352,ShapeLeftRightArrowIcon as _0x370647,ShapeLeftRightCircularArrowIcon as _0x10818c,ShapeLeftRightRibbonIcon as _0x522dc8,ShapeLeftRightUpArrowIcon as _0x4b673f,ShapeLeftUpArrowIcon as _0x7d0c17,ShapeLightningBoltIcon as _0x9d21e4,ShapeLineIcon as _0x54b36a,ShapeLineInvIcon as _0x505681,ShapeMathDivideIcon as _0x47b4c9,ShapeMathEqualIcon as _0xe82e66,ShapeMathMinusIcon as _0x6d9e16,ShapeMathMultiplyIcon as _0x4c7ad7,ShapeMathNotEqualIcon as _0x11d571,ShapeMathPlusIcon as _0x75a223,ShapeMoonIcon as _0x4e5e16,ShapeNoSmokingIcon as _0x1e482d,ShapeNonIsoscelesTrapezoidIcon as _0x3f1eda,ShapeNotchedRightArrowIcon as _0x11d2d1,ShapeOctagonIcon as _0x1dd429,ShapeParallelogramIcon as _0x158138,ShapePentagonIcon as _0x4ff02e,ShapePieIcon as _0x5caf36,ShapePieWedgeIcon as _0x5bf291,ShapePlaqueIcon as _0x2a6e56,ShapePlaqueTabsIcon as _0x5f5046,ShapePlusIcon as _0x1ff1b4,ShapeQuadArrowCalloutIcon as _0x308e2b,ShapeQuadArrowIcon as _0x5c3df8,ShapeRectIcon as _0x73479,ShapeRectTextboxHorizontalIcon as _0x29331d,ShapeRectTextboxVerticalIcon as _0x2c0b89,ShapeRibbon2Icon as _0x43b938,ShapeRibbonIcon as _0x2030e8,ShapeRightArrowCalloutIcon as _0x5f12d7,ShapeRightArrowIcon as _0x285396,ShapeRightBraceIcon as _0x18527a,ShapeRightBracketIcon as _0x491365,ShapeRound1RectIcon as _0x3f178f,ShapeRound2DiagRectIcon as _0xde0a95,ShapeRound2SameRectIcon as _0x454f0b,ShapeRoundRectIcon as _0x2b4aa1,ShapeRtTriangleIcon as _0x46bf33,ShapeSmileyFaceIcon as _0x5b4e95,ShapeSnip1RectIcon as _0x116c79,ShapeSnip2DiagRectIcon as _0x25a2cc,ShapeSnip2SameRectIcon as _0x222ba2,ShapeSnipRoundRectIcon as _0x512389,ShapeSquareTabsIcon as _0xc6e38e,ShapeStar10Icon as _0x1392d2,ShapeStar12Icon as _0x2f5fce,ShapeStar16Icon as _0x230d6a,ShapeStar24Icon as _0x33c97a,ShapeStar32Icon as _0x3277dc,ShapeStar4Icon as _0x3ed714,ShapeStar5Icon as _0x1e57b3,ShapeStar6Icon as _0x5947f9,ShapeStar7Icon as _0x59dd15,ShapeStar8Icon as _0x1de780,ShapeStraightConnector1Icon as _0x2c2581,ShapeStraightConnector2Icon as _0x296eb6,ShapeStripedRightArrowIcon as _0x3efdbf,ShapeSunIcon as _0x23e4a9,ShapeSwooshArrowIcon as _0x5a2d24,ShapeTeardropIcon as _0x3e54c6,ShapeTrapezoidIcon as _0x1175cf,ShapeTriangleIcon as _0x408f31,ShapeUpArrowCalloutIcon as _0x14987f,ShapeUpArrowIcon as _0x537a84,ShapeUpDownArrowCalloutIcon as _0x25612b,ShapeUpDownArrowIcon as _0x569062,ShapeUturnArrowIcon as _0x4510b5,ShapeVerticalScrollIcon as _0x2c2565,ShapeWaveIcon as _0x10264d,ShapeWedgeEllipseCalloutIcon as _0x20c6d3,ShapeWedgeRectCalloutIcon as _0x17beb0,ShapeWedgeRoundRectCalloutIcon as _0x499e62}from'@univerjs/icons';import{COPY_TYPE as _0x2af9ef,ISheetClipboardService as _0x484a94,PREDEFINED_HOOK_NAME as _0x569f8a,SheetCanvasPopManagerService as _0x4d3c7c,SheetScrollManagerService as _0x70e53f,SheetSkeletonManagerService as _0x1c741e,deriveStateFromActiveSheet$ as _0x437d00,getCurrentRangeDisable$ as _0x532fb2,getViewportByCell as _0x15b5d5}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x1d8aab,ComponentManager as _0x5fdd99,IMenuManagerService as _0x1031a9,ISidebarService as _0x202313,KeyCode as _0x386490,MenuItemType as _0x19cab9,RibbonInsertGroup as _0x11fdea,RibbonPosition as _0x1a3c69,RibbonStartGroup as _0x1df94a,getMenuHiddenObservable as _0x584a9a,useDependency as _0x516f3a,useObservable as _0x509107}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x8c8d77,ImageFillModeEnum as _0x3c650f,ImageSourceTypeEnum as _0x4c5c09,ShapeArrowSizeEnum as _0xc154ac,ShapeArrowTypeEnum as _0x1e8a10,ShapeDefaultConfig as _0xd80510,ShapeFillEnum as _0x4176d6,ShapeGradientTypeEnum as _0x162809,ShapeLineCapEnum as _0x186fa5,ShapeLineDashEnum as _0x242c06,ShapeLineJoinEnum as _0x5943ae,ShapeLineTypeEnum as _0x478746,ShapeModel as _0x4e6753,ShapeRenderModeEnum as _0x5ad441,ShapeSketchTypeEnum as _0x7b6ff2,ShapeTypeEnum as _0x160bb4,computeConnectorRouteLayout as _0x2a11fd,getBasicShapeRotateBound as _0x27fdd8,isConnectorShape as _0x40b171,isCurvedConnectorShape as _0x26ab6f,routeConnectorLineShape as _0x287b4e}from'@univerjs-pro/engine-shape';import{Accordion as _0x49cee1,Button as _0x19aa67,Checkbox as _0x32133a,ColorPicker as _0x565071,Dropdown as _0x1cf8a8,GradientColorPicker as _0x887b26,InputNumber as _0x3d6da1,Radio as _0x1980fb,RadioGroup as _0x3534c9,Select as _0x314eb8,clsx as _0x35d5e1}from'@univerjs/design';import{memo as _0x2fd1c2,useCallback as _0x48dc43,useEffect as _0x4954e1,useMemo as _0x46d37a,useRef as _0x3f9c6f,useState as _0x2d71e0}from'react';import{DrawingCommonPanel as _0xfcca9a,DrawingImageClipService as _0x332deb,DrawingRenderService as _0x3761fa,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x3d09cd,getCurrentUnitInfo as _0x587a04,insertGroupObject as _0x31ab18}from'@univerjs/drawing-ui';import{Fragment as _0x17f1f2,jsx as _0x5b0dea,jsxs as _0x29deb6}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x2e3641,SheetsDrawingGroupCopyPasteController as _0x58ec0f,UniverSheetsDrawingUIPlugin as _0x395bbb}from'@univerjs/sheets-drawing-ui';import{DocSkeletonManagerService as _0x355072,RichTextEditingMutation as _0x333896}from'@univerjs/docs';function La(_0xc645c6){'@babel/helpers - typeof';const _0x44ed8e=_0xa649;return La=typeof Symbol==_0x44ed8e(0x245)&&typeof Symbol[_0x44ed8e(0x674)]=='symbol'?function(_0x40dc86){return typeof _0x40dc86;}:function(_0x17c968){const _0x6361c8=_0x44ed8e;return _0x17c968&&typeof Symbol=='function'&&_0x17c968[_0x6361c8(0x632)]===Symbol&&_0x17c968!==Symbol[_0x6361c8(0x417)]?_0x6361c8(0x587):typeof _0x17c968;},La(_0xc645c6);}function Ra(_0x1811db,_0x7d82f8){const _0xa075ca=_0xa649;if(La(_0x1811db)!='object'||!_0x1811db)return _0x1811db;var _0x5231fb=_0x1811db[Symbol['toPrimitive']];if(_0x5231fb!==void 0x0){var _0x36ed29=_0x5231fb['call'](_0x1811db,_0x7d82f8||_0xa075ca(0x2d2));if(La(_0x36ed29)!=_0xa075ca(0x507))return _0x36ed29;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x7d82f8==='string'?String:Number)(_0x1811db);}function za(_0x340608){const _0x38317b=_0xa649;var _0x41b057=Ra(_0x340608,'string');return La(_0x41b057)==_0x38317b(0x587)?_0x41b057:_0x41b057+'';}function Y(_0x3b3297,_0xd03cb3,_0x3d44dc){const _0x3f825c=_0xa649;return(_0xd03cb3=za(_0xd03cb3))in _0x3b3297?Object[_0x3f825c(0x3b5)](_0x3b3297,_0xd03cb3,{'value':_0x3d44dc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3b3297[_0xd03cb3]=_0x3d44dc,_0x3b3297;}var X=class extends _0xb10ffb{constructor(..._0x397ec1){const _0x5588f4=_0xa649;super(..._0x397ec1),Y(this,_0x5588f4(0x499),new _0x1d5515(null)),Y(this,'editingParams$',this[_0x5588f4(0x499)][_0x5588f4(0x30a)]()),Y(this,'_onSavingEditorData$',new _0x1d5515(!0x1)),Y(this,_0x5588f4(0x61a),this[_0x5588f4(0x27d)]['asObservable']());}['dispose'](){const _0x85bea3=_0xa649;this[_0x85bea3(0x499)][_0x85bea3(0x4e5)](null),this['_editingParams$'][_0x85bea3(0x275)](),this['_onSavingEditorData$'][_0x85bea3(0x4e5)](!0x1),this[_0x85bea3(0x27d)][_0x85bea3(0x275)](),super[_0x85bea3(0x301)]();}[_0x525a7c(0x554)](_0x3d35fe){const _0x2986bc=_0x525a7c;this[_0x2986bc(0x499)][_0x2986bc(0x4e5)](_0x3d35fe),_0x3d35fe==null&&this[_0x2986bc(0x27d)][_0x2986bc(0x4e5)](!0x1);}[_0x525a7c(0x5ab)](_0x5d091e){const _0x2ca48a=_0x525a7c;this['_onSavingEditorData$'][_0x2ca48a(0x4e5)](_0x5d091e);}['getEditing'](){return this['_editingParams$']['getValue']();}};function Ba(_0x483375,_0x3603a2){const _0x1f5527=_0x525a7c;let _0x129804={};for(let _0x5bae5a of Object[_0x1f5527(0x47c)](_0x3603a2)){let _0x56506b=_0x3603a2[_0x5bae5a],_0x4f1acf=_0x483375[_0x5bae5a];if(_0x56506b!==void 0x0){if(_0x4f1acf===void 0x0){_0x129804[_0x5bae5a]=void 0x0;continue;}typeof _0x56506b=='object'&&_0x56506b&&!Array[_0x1f5527(0x37a)](_0x56506b)&&typeof _0x4f1acf=='object'&&_0x4f1acf&&!Array['isArray'](_0x4f1acf)?_0x129804[_0x5bae5a]=Ba(_0x4f1acf,_0x56506b):_0x129804[_0x5bae5a]=_0x4f1acf;}}return _0x129804;}const Va={'type':_0x4c1e6f['COMMAND'],'id':_0x525a7c(0x439),'handler':(_0x2717a0,_0x523b6e)=>{const _0x475326=_0x525a7c;let _0x46eb2a=_0x2717a0[_0x475326(0x49c)](_0xbf66b3),{unitId:_0x751a79,subUnitId:_0x2731a9,shapeType:_0x40bcc4,shapeId:_0x352106,shapeData:_0x448ab3,oldShapeJSON:_0xe4bbe4}=_0x523b6e;if(!_0x46eb2a[_0x475326(0x5ff)](_0x751a79,_0x2731a9,_0x352106))return!0x1;let _0x19c304=_0x2717a0[_0x475326(0x49c)](_0x467978),_0x398ba5=_0x2717a0['get'](_0xefb34),{oldShapeType:_0x501e4f,oldShapeData:_0x15499a={}}=_0xe4bbe4,_0x64afb4=Ba(_0x15499a,_0x448ab3||{}),_0x39ad43={'id':_0x4aed26['id'],'params':{'unitId':_0x751a79,'subUnitId':_0x2731a9,'shapeId':_0x352106,'shapeType':_0x40bcc4,'shapeData':_0x448ab3}},_0x20c2c2={'id':_0x4aed26['id'],'params':{'unitId':_0x751a79,'subUnitId':_0x2731a9,'shapeId':_0x352106,'shapeType':_0x501e4f,'shapeData':_0x64afb4}};return _0x19c304['syncExecuteCommand'](_0x39ad43['id'],_0x39ad43[_0x475326(0x2f6)])?(_0x398ba5[_0x475326(0x207)]({'unitID':_0x751a79,'undoMutations':[_0x20c2c2],'redoMutations':[_0x39ad43]}),!0x0):!0x1;}},Ha={'type':_0x4c1e6f[_0x525a7c(0x68d)],'id':_0x525a7c(0x49f),'handler':async(_0x4ab64d,_0x595689)=>{const _0x369ebc=_0x525a7c;var _0x3fb093;if(!_0x398ea1(_0x4ab64d[_0x369ebc(0x49c)](_0x757fa4)))return!0x1;let _0x44ec03=_0x4ab64d[_0x369ebc(0x49c)](_0x1e4c00)['getFocusDrawings']()[_0x369ebc(0x56d)](_0x2ae1fe=>_0x2ae1fe[_0x369ebc(0x626)]===_0x663dcd[_0x369ebc(0x60a)]);if(_0x44ec03[_0x369ebc(0x565)]!==0x1)return!0x1;let _0x3761cf=_0x4ab64d['get'](X)[_0x369ebc(0x255)](),_0x569448=(_0x3761cf==null?void 0x0:_0x3761cf[_0x369ebc(0x358)])||_0x44ec03[0x0][_0x369ebc(0x358)],_0x1fbd99=(_0x3761cf==null?void 0x0:_0x3761cf['subUnitId'])||_0x44ec03[0x0][_0x369ebc(0x2d8)],_0x340039=(_0x3761cf==null?void 0x0:_0x3761cf[_0x369ebc(0x35f)])||_0x44ec03[0x0][_0x369ebc(0x644)],_0x2c7587=_0x4ab64d[_0x369ebc(0x49c)](_0xbf66b3)[_0x369ebc(0x5ff)](_0x569448,_0x1fbd99,_0x340039);if(!_0x2c7587)return!0x1;let _0x57fab7=_0x2c7587['getShapeTextData']();if(!_0x57fab7||!(_0x369ebc(0x4b2)in _0x57fab7))return!0x1;let _0x587fb6=_0x4ab64d[_0x369ebc(0x49c)](_0x467978),{value:_0x3bb758}=_0x595689,_0x4f6499=_0x2c7587[_0x369ebc(0x4b4)](),_0x442935=_0x2c7587[_0x369ebc(0x473)](),_0x5434fe={..._0x57fab7[_0x369ebc(0x4b2)],'ha':_0x3bb758};return await _0x587fb6[_0x369ebc(0x67c)](Va['id'],{'unitId':_0x569448,'subUnitId':_0x1fbd99,'shapeId':_0x340039,'shapeType':_0x4f6499,'shapeData':{'shapeText':{'isHorizontal':(_0x3fb093=_0x57fab7[_0x369ebc(0x673)])==null?!0x0:_0x3fb093,'dataModel':_0x5434fe}},'oldShapeJSON':{'oldShapeType':_0x4f6499,'oldShapeData':_0x442935}});}},Ua={'type':_0x4c1e6f['COMMAND'],'id':_0x525a7c(0x605),'handler':async(_0x4e28d1,_0xb31f91)=>{const _0xdf60c7=_0x525a7c;var _0x2ae0b3;if(!_0xb31f91)return!0x1;let {value:_0x3f7d37}=_0xb31f91,_0x495f05=_0x4e28d1[_0xdf60c7(0x49c)](_0x467978),_0x319782=_0x4e28d1['get'](X),_0x25b476=_0x4e28d1[_0xdf60c7(0x49c)](_0xbf66b3),_0x5eab34=_0x4e28d1[_0xdf60c7(0x49c)](_0x243434),_0x10086a=_0x319782[_0xdf60c7(0x255)]();if(!_0x10086a)return!0x1;let {unitId:_0x982229,subUnitId:_0x2ce35d,shapeId:_0x96afa}=_0x10086a,_0x59bed9=_0x25b476[_0xdf60c7(0x5ff)](_0x982229,_0x2ce35d,_0x96afa);if(!_0x59bed9)return!0x1;let _0xf70945=_0x59bed9[_0xdf60c7(0x313)]();if(!_0xf70945||!(_0xdf60c7(0x4b2)in _0xf70945))return!0x1;let _0x59e16b=_0xf70945[_0xdf60c7(0x4b2)];if(!_0x59e16b)return!0x1;let _0x46df3e={..._0x59e16b,'fs':_0x3f7d37},_0x169d1c=await _0x495f05['executeCommand'](Va['id'],{'unitId':_0x982229,'subUnitId':_0x2ce35d,'shapeId':_0x96afa,'shapeData':{'shapeText':{'isHorizontal':(_0x2ae0b3=_0xf70945['isHorizontal'])==null?!0x0:_0x2ae0b3,'dataModel':_0x46df3e}}});if(_0x169d1c){let _0x14bf8e=_0x5eab34['getRenderById'](_0x982229);if(_0x14bf8e!=null&&_0x14bf8e[_0xdf60c7(0x689)]){let _0x113b40=_0x3e269b({'unitId':_0x982229,'subUnitId':_0x2ce35d,'drawingId':_0x96afa}),_0x4232c3=_0x14bf8e[_0xdf60c7(0x689)][_0xdf60c7(0x54c)](_0x113b40);_0x4232c3&&_0x4232c3[_0xdf60c7(0x615)](!0x0);}}return _0x169d1c;}},Wa={'type':_0x4c1e6f[_0x525a7c(0x68d)],'id':_0x525a7c(0x53b),'handler':async _0x2b971f=>{const _0x42f011=_0x525a7c;var _0x5dca1a;let _0x3a322d=_0x2b971f[_0x42f011(0x49c)](X),_0x824abd=_0x2b971f[_0x42f011(0x49c)](_0xbf66b3),_0x373b91=_0x2b971f[_0x42f011(0x49c)](_0x467978),_0x166c83=_0x3a322d[_0x42f011(0x255)]();if(!_0x166c83)return!0x1;let {unitId:_0x49a2ee,subUnitId:_0x591a24,shapeId:_0x35ce0b}=_0x166c83,_0x2ba818=_0x824abd[_0x42f011(0x5ff)](_0x49a2ee,_0x591a24,_0x35ce0b);if(!_0x2ba818)return!0x1;let _0x34f5d8=_0x2ba818['getShapeTextData']();if(!_0x34f5d8||!(_0x42f011(0x4b2)in _0x34f5d8))return!0x1;let _0x37cb69=_0x34f5d8[_0x42f011(0x4b2)],_0x27b822=(_0x5dca1a=_0x37cb69==null?void 0x0:_0x37cb69['fs'])==null?0xe:_0x5dca1a,_0x26ee79=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x58c68a=_0x27b822,_0x20c1dc=_0x26ee79[_0x42f011(0x403)](_0x27b822);return _0x20c1dc!==-0x1&&_0x20c1dc<_0x26ee79['length']-0x1?_0x58c68a=_0x26ee79[_0x20c1dc+0x1]:_0x20c1dc===-0x1&&(_0x58c68a=Math['floor'](_0x27b822)+0x1),_0x373b91[_0x42f011(0x67c)](Ua['id'],{'value':_0x58c68a});}},Ga={'type':_0x4c1e6f[_0x525a7c(0x68d)],'id':_0x525a7c(0x218),'handler':async _0x58b025=>{const _0x473a8e=_0x525a7c;var _0x22a2fc;let _0x2c06f1=_0x58b025[_0x473a8e(0x49c)](X),_0x2e0e61=_0x58b025[_0x473a8e(0x49c)](_0xbf66b3),_0x294e54=_0x58b025['get'](_0x467978),_0x5d0ccd=_0x2c06f1[_0x473a8e(0x255)]();if(!_0x5d0ccd)return!0x1;let {unitId:_0x4269f4,subUnitId:_0x8e3b27,shapeId:_0x1fa7f4}=_0x5d0ccd,_0x1ea412=_0x2e0e61[_0x473a8e(0x5ff)](_0x4269f4,_0x8e3b27,_0x1fa7f4);if(!_0x1ea412)return!0x1;let _0x470a2e=_0x1ea412['getShapeTextData']();if(!_0x470a2e||!(_0x473a8e(0x4b2)in _0x470a2e))return!0x1;let _0x27aee3=_0x470a2e[_0x473a8e(0x4b2)],_0x2da69c=(_0x22a2fc=_0x27aee3==null?void 0x0:_0x27aee3['fs'])==null?0xe:_0x22a2fc,_0xda5df8=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x3c6b57=_0x2da69c,_0x45474e=_0xda5df8[_0x473a8e(0x403)](_0x2da69c);return _0x45474e!==-0x1&&_0x45474e>0x0?_0x3c6b57=_0xda5df8[_0x45474e-0x1]:_0x45474e===-0x1&&(_0x3c6b57=Math['floor'](_0x2da69c)-0x1),_0x3c6b57<0x1&&(_0x3c6b57=0x1),_0x294e54[_0x473a8e(0x67c)](Ua['id'],{'value':_0x3c6b57});}},Ka={'type':_0x4c1e6f['COMMAND'],'id':_0x525a7c(0x266),'handler':async(_0x5c87bd,_0x2b6676)=>{const _0x96bb26=_0x525a7c;var _0x58245d;if(!_0x398ea1(_0x5c87bd['get'](_0x757fa4)))return!0x1;let _0x57ae57=_0x5c87bd[_0x96bb26(0x49c)](_0x1e4c00)[_0x96bb26(0x559)]()['filter'](_0x34354c=>_0x34354c['drawingType']===_0x663dcd[_0x96bb26(0x60a)]);if(_0x57ae57[_0x96bb26(0x565)]!==0x1)return!0x1;let _0xec7d4d=_0x5c87bd[_0x96bb26(0x49c)](X)[_0x96bb26(0x255)](),_0x5711c5=(_0xec7d4d==null?void 0x0:_0xec7d4d['unitId'])||_0x57ae57[0x0][_0x96bb26(0x358)],_0x5ca7a6=(_0xec7d4d==null?void 0x0:_0xec7d4d[_0x96bb26(0x2d8)])||_0x57ae57[0x0][_0x96bb26(0x2d8)],_0x503a4d=(_0xec7d4d==null?void 0x0:_0xec7d4d[_0x96bb26(0x35f)])||_0x57ae57[0x0][_0x96bb26(0x644)],_0x2bf43a=_0x5c87bd[_0x96bb26(0x49c)](_0xbf66b3)['getShapeModel'](_0x5711c5,_0x5ca7a6,_0x503a4d);if(!_0x2bf43a)return!0x1;let _0x3ecac4=_0x2bf43a[_0x96bb26(0x313)]();if(!_0x3ecac4||!(_0x96bb26(0x4b2)in _0x3ecac4))return!0x1;let _0x12aef8=_0x5c87bd[_0x96bb26(0x49c)](_0x467978),{value:_0x1666a5}=_0x2b6676,_0x110ce4=_0x2bf43a[_0x96bb26(0x4b4)](),_0xc3c2d=_0x2bf43a['getShapeData'](),_0x2960c={..._0x3ecac4[_0x96bb26(0x4b2)],'va':_0x1666a5};return await _0x12aef8['executeCommand'](Va['id'],{'unitId':_0x5711c5,'subUnitId':_0x5ca7a6,'shapeId':_0x503a4d,'shapeType':_0x110ce4,'shapeData':{'shapeText':{'isHorizontal':(_0x58245d=_0x3ecac4['isHorizontal'])==null?!0x0:_0x58245d,'dataModel':_0x2960c}},'oldShapeJSON':{'oldShapeType':_0x110ce4,'oldShapeData':_0xc3c2d}});}},qa={'type':_0x4c1e6f['COMMAND'],'id':'sheet.command.shape-doc-align','handler':(_0x297fe1,_0x177c33)=>{const _0x5f1d89=_0x525a7c;if(!_0x177c33)return!0x1;let {value:_0x4b3944}=_0x177c33;return _0x297fe1[_0x5f1d89(0x49c)](_0x467978)['syncExecuteCommand'](_0x4ef831['id'],{'alignType':_0x4b3944});}},Ja={'type':_0x4c1e6f[_0x525a7c(0x4d3)],'id':_0x525a7c(0x25d),'handler'(){return!0x0;}},Ya={'type':_0x4c1e6f[_0x525a7c(0x4d3)],'id':_0x525a7c(0x5a5),'handler'(){return!0x0;}},Xa=_0x525a7c(0x2ec),Za=_0x132126(_0x525a7c(0x3e1));function Z(_0x3c44be,_0x397ff7,_0x7d3513,_0x4b72dd,_0x30f8bf,_0x440cb0){const _0x41cf65=_0x525a7c;let _0xe064e3={'unitId':_0x397ff7,'subUnitId':_0x7d3513,'shapeId':_0x4b72dd,'shapeData':_0x440cb0,'oldShapeJSON':_0x30f8bf};return _0x3c44be[_0x41cf65(0x67c)](Va['id'],_0xe064e3);}function Qa(_0x3b49fe,_0x241ae1,_0x508b26,_0x50bfa0,_0xe5c593,_0x137e0d){const _0x1b7645=_0x525a7c;let _0x2f8a0d={'unitId':_0x241ae1,'subUnitId':_0x508b26,'shapeId':_0x50bfa0,'shapeData':_0x137e0d,'oldShapeJSON':_0xe5c593};return _0x3b49fe[_0x1b7645(0x67c)](Va['id'],_0x2f8a0d);}function $a(_0x301856,_0x35badd){const _0x1710ba=_0x525a7c;var _0x3015eb;let {isHorizontal:_0x16130f,textRect:_0x11d809,verticalAlign:_0x583320}=_0x35badd,_0x315fe3=_0x16130f?_0x11d809['width']:_0x11d809['height'],_0x4611be=_0x385f57[_0x1710ba(0x5ed)](_0x301856),_0x4bc1a0=(_0x3015eb=_0x4611be[_0x1710ba(0x68c)])==null?{}:_0x3015eb,_0x1cdcb7={..._0x4bc1a0[_0x1710ba(0x235)],'centerAngle':_0x16130f?0x0:_0x56e55b,'vertexAngle':_0x16130f?0x0:_0x56e55b,'wrapStrategy':_0x3412ba[_0x1710ba(0x5be)]};if(_0x583320!==void 0x0&&(_0x1cdcb7[_0x1710ba(0x5cd)]=_0x583320),_0x35badd['horizontalAlign']!==void 0x0){var _0x44fbcf;_0x1cdcb7[_0x1710ba(0x1e9)]=_0x35badd[_0x1710ba(0x1e9)];let _0x5e349c=(_0x44fbcf=_0x4611be[_0x1710ba(0x66c)])==null?void 0x0:_0x44fbcf['paragraphs'];if(_0x5e349c){for(let _0x47eaa7 of _0x5e349c)_0x47eaa7[_0x1710ba(0x35b)]||(_0x47eaa7[_0x1710ba(0x35b)]={}),_0x47eaa7[_0x1710ba(0x35b)][_0x1710ba(0x1e9)]=_0x35badd[_0x1710ba(0x1e9)];}}return _0x4611be[_0x1710ba(0x68c)]={..._0x4bc1a0,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x315fe3,'height':0x1/0x0},'renderConfig':_0x1cdcb7},_0x4611be;}function eo(_0x479789){const _0x481c95=_0x525a7c;var _0x1d3dc0;let _0x3915da=_0x385f57[_0x481c95(0x5ed)](_0x479789),_0x2477c1=(_0x1d3dc0=_0x3915da[_0x481c95(0x68c)])==null?{}:_0x1d3dc0,_0x3bfb10={..._0x2477c1[_0x481c95(0x235)]};return delete _0x3bfb10['centerAngle'],delete _0x3bfb10[_0x481c95(0x2e3)],delete _0x3bfb10[_0x481c95(0x5cd)],delete _0x3bfb10[_0x481c95(0x535)],_0x3915da['documentStyle']={..._0x2477c1,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x481c95(0x47c)](_0x3bfb10)[_0x481c95(0x565)]>0x0?_0x3bfb10:void 0x0},_0x3915da;}var to=class extends _0x257ce2{constructor(_0x5908b7,_0x257c9b){const _0x1ff36f=_0x525a7c;super(_0x5908b7,_0x257c9b),Y(this,'_props',void 0x0),Y(this,_0x1ff36f(0x5b7),!0x0),Y(this,_0x1ff36f(0x23e),_0x663dcd[_0x1ff36f(0x60a)]),Y(this,_0x1ff36f(0x4be),!0x0),this['_props']={..._0x257c9b},this['_init']();}[_0x525a7c(0x5b8)](){this['onTransformChange$']['subscribeEvent'](_0x58ba16=>{const _0x1f2229=_0xa649;this[_0x1f2229(0x3e9)](_0x58ba16);});}['setPrstGeom'](_0x30d8dd){const _0x189724=_0x525a7c;this[_0x189724(0x3aa)][_0x189724(0x45d)]=_0x30d8dd;}[_0x525a7c(0x554)](_0xb85e05){const _0x17cfde=_0x525a7c;this[_0x17cfde(0x3aa)][_0x17cfde(0x611)]=_0xb85e05,this[_0x17cfde(0x615)](!0x0);}get[_0x525a7c(0x358)](){const _0x1fd437=_0x525a7c;return this[_0x1fd437(0x3aa)][_0x1fd437(0x358)];}get[_0x525a7c(0x2d8)](){const _0x4bb7d8=_0x525a7c;return this[_0x4bb7d8(0x3aa)][_0x4bb7d8(0x2d8)];}[_0x525a7c(0x3e9)](_0x71e002){const _0x2ead24=_0x525a7c;if(this[_0x2ead24(0x3aa)]['srcRect']==null||!this[_0x2ead24(0x5b7)])return;let {width:_0x28fb36,height:_0x245ec8}=this,{width:_0x415456=0x0,height:_0x1f6b5b=0x0}=_0x71e002['preValue'],{left:_0x402b30=0x0,top:_0x2dfd32=0x0,right:_0xafc046=0x0,bottom:_0x20dfbd=0x0}=this[_0x2ead24(0x3aa)]['srcRect'],_0x15b876=_0x402b30,_0x5c17fa=_0x2dfd32,_0x4aab3e=_0xafc046,_0x1c8053=_0x20dfbd,_0x243936=!0x1;if(_0x415456!==0x0&&_0x415456!==_0x28fb36){let _0x509904=_0x402b30/_0x415456,_0xc4a4fa=_0xafc046/_0x415456;_0x15b876=_0x28fb36*_0x509904,_0x4aab3e=_0x28fb36*_0xc4a4fa,_0x243936=!0x0;}if(_0x1f6b5b!==0x0&&_0x1f6b5b!==_0x245ec8){let _0x471578=_0x2dfd32/_0x1f6b5b,_0x3de4bc=_0x20dfbd/_0x1f6b5b;_0x5c17fa=_0x245ec8*_0x471578,_0x1c8053=_0x245ec8*_0x3de4bc,_0x243936=!0x0;}_0x243936&&this[_0x2ead24(0x1f9)]({'left':_0x15b876,'top':_0x5c17fa,'right':_0x4aab3e,'bottom':_0x1c8053});}[_0x525a7c(0x1f9)](_0xc20567){const _0x29dcc6=_0x525a7c;this[_0x29dcc6(0x3aa)][_0x29dcc6(0x4fa)]=_0xc20567,this[_0x29dcc6(0x615)](!0x0);}[_0x525a7c(0x548)](_0x32d50a){const _0x99cf3d=_0x525a7c;this[_0x99cf3d(0x3aa)][_0x99cf3d(0x20c)]=_0x32d50a,this[_0x99cf3d(0x615)](!0x0);}set['transform'](_0x1e4fab){const _0x2a92cb=_0x525a7c;this[_0x2a92cb(0x5e1)]=_0x1e4fab;}get[_0x525a7c(0x3f8)](){const _0x1aee12=_0x525a7c;this['_transform']||this[_0x1aee12(0x54d)]();let _0x9b23d0=this[_0x1aee12(0x5e1)]['clone']();return this[_0x1aee12(0x5ef)](_0x9b23d0);}get[_0x525a7c(0x583)](){return this['_props']['shapeModel'];}get['shapeId'](){const _0x491479=_0x525a7c;return this[_0x491479(0x3aa)][_0x491479(0x35f)];}get[_0x525a7c(0x469)](){const _0x1c0573=_0x525a7c;return _0x5b5cf6[_0x1c0573(0x2dd)];}[_0x525a7c(0x2b1)](_0x47b6c9,_0x3501ec,_0x442e3c,_0x3fa55a){const _0x1d3fd3=_0x525a7c;let _0x1cb519=this[_0x1d3fd3(0x3aa)][_0x1d3fd3(0x583)];if(!_0x1cb519||!_0x3501ec)return;let _0x1a0ec5=_0x442e3c==null?this[_0x1d3fd3(0x38b)]:_0x442e3c,_0x55521c=_0x3fa55a==null?this[_0x1d3fd3(0x547)]:_0x3fa55a,_0x30278b={'shapeType':_0x1cb519[_0x1d3fd3(0x4b4)](),'width':_0x1a0ec5,'height':_0x55521c},_0x17d318={'renderMode':_0x5ad441[_0x1d3fd3(0x5cf)],'oKey':this[_0x1d3fd3(0x46d)],'image':this['_props'][_0x1d3fd3(0x20c)],'angle':this[_0x1d3fd3(0x5d8)]};_0x1cb519[_0x1d3fd3(0x4cf)](_0x30278b),_0x47b6c9['save']();let _0x333dba={'top':0x0,'left':0x0,'width':_0x1a0ec5,'height':_0x55521c};_0x1cb519[_0x1d3fd3(0x52f)](_0x47b6c9,_0x333dba,_0x17d318),_0x47b6c9[_0x1d3fd3(0x45b)]();let _0x49af97=_0x1cb519[_0x1d3fd3(0x313)](),_0x3b5def=_0x1cb519[_0x1d3fd3(0x317)](_0x333dba),_0x508626=_0x1cb519[_0x1d3fd3(0x42a)]();if(_0x49af97&&_0x3b5def&&!_0x508626){_0x47b6c9[_0x1d3fd3(0x345)](),this['getState']()['flipX']&&_0x47b6c9['scale'](-0x1,0x1);let _0x4afe74=_0x1a0ec5/0x2,_0x49efeb=_0x55521c/0x2;_0x47b6c9['translate'](-_0x4afe74,-_0x49efeb),_0x47b6c9['beginPath'](),this[_0x1d3fd3(0x690)](_0x47b6c9,_0x49af97,_0x3b5def),_0x47b6c9[_0x1d3fd3(0x45b)]();}}[_0x525a7c(0x49e)](_0x24bc6a){}['_drawShapeText'](_0x37c3e7,_0x57308d,_0x246894){const _0x1931b2=_0x525a7c;this[_0x1931b2(0x3aa)][_0x1931b2(0x611)]||('isRichText'in _0x57308d&&_0x57308d[_0x1931b2(0x540)]===!0x1?this[_0x1931b2(0x2ac)](_0x37c3e7,_0x57308d,_0x246894):this[_0x1931b2(0x3a2)](_0x37c3e7,_0x57308d,_0x246894));}[_0x525a7c(0x2ac)](_0x4bd433,_0x352425,_0x4419de){}[_0x525a7c(0x3a2)](_0x2dc056,_0x12f752,_0x27e708){const _0x4aa273=_0x525a7c;var _0x2c16fb,_0x5008b2;let _0x1e0076=this[_0x4aa273(0x3aa)][_0x4aa273(0x2df)];if(!_0x12f752[_0x4aa273(0x4b2)]||!_0x1e0076){_0x1e0076||console[_0x4aa273(0x493)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x266870=_0x12f752['dataModel'],_0x3b791f=_0x266870[_0x4aa273(0x273)],_0x275d6a=(_0x2c16fb=_0x266870['va'])==null?_0x985993[_0x4aa273(0x660)]:_0x2c16fb,_0x180388=(_0x5008b2=_0x266870['ha'])==null?_0x230fa2['LEFT']:_0x5008b2;if(!_0x3b791f)return;let _0x399b16=_0x12f752[_0x4aa273(0x673)],_0x1bf11b=new _0x803706($a(_0x3b791f,{'isHorizontal':_0x399b16!==!0x1,'textRect':_0x27e708,'verticalAlign':_0x275d6a,'horizontalAlign':_0x180388})),_0x213c03=new _0x3ef3fe(_0x1bf11b),_0x5059d5=_0x206a53[_0x4aa273(0x3a0)](_0x213c03,_0x1e0076);_0x5059d5[_0x4aa273(0x2e0)]();let _0x2c65f6=new _0x36f7c0(_0x4aa273(0x600)+this['oKey'],_0x5059d5,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x2c65f6[_0x4aa273(0x4f8)](_0x27e708[_0x4aa273(0x38b)],_0x27e708[_0x4aa273(0x547)]),_0x2dc056['save'](),_0x2dc056['translateWithPrecision'](_0x27e708[_0x4aa273(0x571)],_0x27e708[_0x4aa273(0x2f8)]),_0x2dc056[_0x4aa273(0x47f)](),_0x2dc056['rect'](0x0,0x0,_0x27e708[_0x4aa273(0x38b)],_0x27e708[_0x4aa273(0x547)]),_0x2dc056['clip'](),_0x2c65f6[_0x4aa273(0x497)](_0x2dc056),_0x2dc056['restore'](),_0x2c65f6[_0x4aa273(0x301)](),_0x5059d5['dispose'](),_0x213c03[_0x4aa273(0x301)](),_0x1bf11b[_0x4aa273(0x301)]();}[_0x525a7c(0x52f)](_0x2e8374,_0x5ba3d8,_0x99a562=!0x1){const _0x11b97e=_0x525a7c;if(!this[_0x11b97e(0x449)])return this[_0x11b97e(0x615)](!0x1),this;let {width:_0x5825d7,height:_0x4a68c9,left:_0x5f2ce1,top:_0x1d9ae1}=this,_0x556af7=this['getRealBound']();if(_0x5825d7=_0x556af7[_0x11b97e(0x38b)],_0x4a68c9=_0x556af7[_0x11b97e(0x547)],_0x5f2ce1=_0x556af7[_0x11b97e(0x571)],_0x1d9ae1=_0x556af7[_0x11b97e(0x2f8)],this[_0x11b97e(0x2c3)](_0x5ba3d8)){let {top:_0x1baee4,left:_0x195901,bottom:_0x1d4bb1,right:_0x4d0a0d}=_0x5ba3d8[_0x11b97e(0x234)];if(_0x5825d7+this[_0x11b97e(0x58d)]+_0x5f2ce1<_0x195901||_0x4d0a0d<_0x5f2ce1||_0x4a68c9+this[_0x11b97e(0x58d)]+_0x1d9ae1<_0x1baee4||_0x1d4bb1<_0x1d9ae1)return this;}let _0x3d7824=_0x5f2ce1+_0x5825d7/0x2,_0x157d49=_0x1d9ae1+_0x4a68c9/0x2,_0x4a9d7c=this[_0x11b97e(0x3f8)][_0x11b97e(0x550)]();if(this['_props']['isEditing']){let _0x394ca1=this[_0x11b97e(0x39c)](),_0x2f53c3=new _0x4a8695();_0x2f53c3[_0x11b97e(0x2a9)]({..._0x394ca1}),_0x4a9d7c=_0x2f53c3[_0x11b97e(0x550)]();}return _0x2e8374[_0x11b97e(0x345)](),this[_0x11b97e(0x3aa)][_0x11b97e(0x583)][_0x11b97e(0x3d6)]===!0x0||_0x2e8374['transform'](_0x4a9d7c[0x0],_0x4a9d7c[0x1],_0x4a9d7c[0x2],_0x4a9d7c[0x3],_0x3d7824,_0x157d49),this[_0x11b97e(0x2b1)](_0x2e8374,_0x5ba3d8,_0x5825d7,_0x4a68c9),_0x2e8374['restore'](),this[_0x11b97e(0x615)](!0x1),this;}[_0x525a7c(0x521)](_0x345b5b){const _0x86a67e=_0x525a7c;let {left:_0x5d3370,top:_0xb16323,width:_0x6650ba,height:_0x4a353b}=this['getRealBound'](),_0x3f0f0d=this['transform'][_0x86a67e(0x550)](),_0x51f738=_0x5d3370+_0x6650ba/0x2,_0x257a15=_0xb16323+_0x4a353b/0x2,_0x1c31c9=new _0x4a8695([_0x3f0f0d[0x0],_0x3f0f0d[0x1],_0x3f0f0d[0x2],_0x3f0f0d[0x3],_0x51f738,_0x257a15]),_0x1d49d6=this['getParent']();return(this['isInGroup']&&(_0x1d49d6==null?void 0x0:_0x1d49d6[_0x86a67e(0x469)])===_0x5b5cf6['GROUP']?_0x1d49d6[_0x86a67e(0x2ee)]['multiply'](_0x1c31c9):_0x1c31c9)[_0x86a67e(0x4ec)]()['applyPoint'](_0x345b5b);}['isHit'](_0x2ea8a2){const _0x43334d=_0x525a7c;let {left:_0x3eb833,top:_0x510211,width:_0x4c00f0,height:_0x165c14}=this[_0x43334d(0x695)](),_0x4a8b79=_0x3eb833+_0x4c00f0/0x2,_0xb19e5e=_0x510211+_0x165c14/0x2,_0x38332d=this[_0x43334d(0x3f8)][_0x43334d(0x550)](),_0x5849fa=new _0x4a8695([_0x38332d[0x0],_0x38332d[0x1],_0x38332d[0x2],_0x38332d[0x3],_0x4a8b79,_0xb19e5e]),_0x31bad8=this[_0x43334d(0x276)](),_0x1c061e=(this['isInGroup']&&(_0x31bad8==null?void 0x0:_0x31bad8[_0x43334d(0x469)])===_0x5b5cf6['GROUP']?_0x31bad8[_0x43334d(0x2ee)][_0x43334d(0x45f)](_0x5849fa):_0x5849fa)['invert']()[_0x43334d(0x563)](_0x2ea8a2),_0x3220e1=_0x4c00f0/0x2,_0x4bbe4b=_0x165c14/0x2,_0x59950d=this[_0x43334d(0x3aa)][_0x43334d(0x583)];return _0x59950d&&_0x59950d['isLineShape']()?_0x59950d[_0x43334d(0x455)](_0x1c061e['x'],_0x1c061e['y'],_0x4c00f0,_0x165c14):_0x1c061e['x']>=-_0x3220e1-this[_0x43334d(0x58d)]/0x2&&_0x1c061e['x']<=_0x3220e1+this[_0x43334d(0x58d)]/0x2&&_0x1c061e['y']>=-_0x4bbe4b-this[_0x43334d(0x58d)]/0x2&&_0x1c061e['y']<=_0x4bbe4b+this[_0x43334d(0x58d)]/0x2;}['dispose'](){const _0x441df3=_0x525a7c;this['_props'][_0x441df3(0x583)]=null,super[_0x441df3(0x301)]();}};function Q(_0x1cc003,_0x73a1){return function(_0xd29f07,_0x48b7ea){_0x73a1(_0xd29f07,_0x48b7ea,_0x1cc003);};}function $(_0x59aee7,_0x1d0751,_0x39cb19,_0x109d07){const _0x523ffc=_0x525a7c;var _0x1bfed4=arguments[_0x523ffc(0x565)],_0x21ad30=_0x1bfed4<0x3?_0x1d0751:_0x109d07===null?_0x109d07=Object['getOwnPropertyDescriptor'](_0x1d0751,_0x39cb19):_0x109d07,_0x21e5ac;if(typeof Reflect==_0x523ffc(0x507)&&typeof Reflect['decorate']=='function')_0x21ad30=Reflect[_0x523ffc(0x59f)](_0x59aee7,_0x1d0751,_0x39cb19,_0x109d07);else{for(var _0x40fd29=_0x59aee7[_0x523ffc(0x565)]-0x1;_0x40fd29>=0x0;_0x40fd29--)(_0x21e5ac=_0x59aee7[_0x40fd29])&&(_0x21ad30=(_0x1bfed4<0x3?_0x21e5ac(_0x21ad30):_0x1bfed4>0x3?_0x21e5ac(_0x1d0751,_0x39cb19,_0x21ad30):_0x21e5ac(_0x1d0751,_0x39cb19))||_0x21ad30);}return _0x1bfed4>0x3&&_0x21ad30&&Object[_0x523ffc(0x3b5)](_0x1d0751,_0x39cb19,_0x21ad30),_0x21ad30;}let no=class extends _0xb10ffb{constructor(_0x361ac5,_0x2f54a8,_0x45da24,_0x571b83,_0x4be356){const _0x455763=_0x525a7c;super(),this['_drawingManagerService']=_0x361ac5,this['_sheetsShapeService']=_0x2f54a8,this[_0x455763(0x38f)]=_0x45da24,this[_0x455763(0x680)]=_0x571b83,this[_0x455763(0x2b2)]=_0x4be356;}[_0x525a7c(0x36c)](_0x577631,_0x23e035){const _0x530d5e=_0x525a7c;let {transform:_0x34cfc6,drawingType:_0x5a04a7,srcRect:_0x410683,prstGeom:_0xdab30d,groupId:_0xd42f62,unitId:_0x145e9a,subUnitId:_0x12d8b0,drawingId:_0x4f0830,isMultiTransform:_0x141639,transforms:_0x188207,hidden:_0x3be6d8}=_0x577631;if(_0x5a04a7!==_0x663dcd[_0x530d5e(0x60a)]||!this['_drawingManagerService']['getDrawingVisible']()||_0x34cfc6==null)return;let _0xa9e934=_0x141639&&_0x188207?_0x188207:[_0x34cfc6],_0x53b3f4=[];for(let _0x3ca992 of _0xa9e934){let {left:_0x2f5033,top:_0x164b17,width:_0x38d184,height:_0x198820,angle:_0x546fc1,flipX:_0x481693,flipY:_0x17a734,skewX:_0xcae87d,skewY:_0x590ef2}=_0x3ca992,_0x261b60=_0xa9e934[_0x530d5e(0x403)](_0x3ca992),_0x104a78=_0x3e269b({'unitId':_0x145e9a,'subUnitId':_0x12d8b0,'drawingId':_0x4f0830},_0x141639?_0x261b60:void 0x0),_0x107079=_0x23e035['getObjectIncludeInGroup'](_0x104a78);if(_0x107079!=null){_0x107079[_0x530d5e(0x44e)]({'left':_0x2f5033,'top':_0x164b17,'width':_0x38d184,'height':_0x198820,'angle':_0x546fc1,'flipX':_0x481693,'flipY':_0x17a734,'skewX':_0xcae87d,'skewY':_0x590ef2});continue;}let _0x40fedb=this[_0x530d5e(0x463)][_0x530d5e(0x427)](_0x145e9a,_0x12d8b0),_0x2a97a5=_0x40fedb[_0x530d5e(0x403)](_0x4f0830);if(_0x23e035[_0x530d5e(0x54c)](_0x104a78)||!this[_0x530d5e(0x463)]['getDrawingVisible']())continue;let _0x24215f=this[_0x530d5e(0x63f)][_0x530d5e(0x5ff)](_0x145e9a,_0x12d8b0,_0x4f0830);if(!_0x24215f)continue;let _0x4ca3e8=new to(_0x104a78,{..._0x40b171(_0x24215f['getShapeType']())?{..._0x3ca992,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x3ca992},'zIndex':_0x2a97a5===-0x1?_0x40fedb[_0x530d5e(0x565)]-0x1:_0x2a97a5,'shapeModel':_0x24215f,'localeService':this[_0x530d5e(0x38f)],'shapeId':_0x4f0830,'unitId':_0x145e9a,'subUnitId':_0x12d8b0,'visible':_0x3be6d8!==!0x0});_0x23e035[_0x530d5e(0x1fb)](_0x4ca3e8,_0x230c50),this[_0x530d5e(0x463)][_0x530d5e(0x270)]()&&_0x23e035['attachTransformerTo'](_0x4ca3e8),_0xd42f62&&_0x31ab18({'drawingId':_0xd42f62,'unitId':_0x145e9a,'subUnitId':_0x12d8b0},_0x4ca3e8,_0x23e035,this['_drawingManagerService']),_0xdab30d!=null&&_0x4ca3e8[_0x530d5e(0x323)](_0xdab30d),_0x410683!=null&&_0x4ca3e8[_0x530d5e(0x1f9)](_0x410683),this[_0x530d5e(0x50d)](_0x4ca3e8,_0x24215f[_0x530d5e(0x473)]()),_0x53b3f4[_0x530d5e(0x564)](_0x4ca3e8);}return _0x53b3f4;}[_0x525a7c(0x50d)](_0x4bcb5b,_0x3d8598){const _0x3fc8bd=_0x525a7c;var _0x311afb;let _0x1262e5=_0x3d8598[_0x3fc8bd(0x20e)];if(!_0x1262e5||_0x1262e5[_0x3fc8bd(0x452)]!==_0x4176d6['PictureFill']||!_0x1262e5[_0x3fc8bd(0x341)])return;let _0x538cec=_0x1262e5[_0x3fc8bd(0x341)],_0x4f5085=(_0x311afb=_0x1262e5[_0x3fc8bd(0x578)])==null?_0x4c5c09[_0x3fc8bd(0x614)]:_0x311afb,_0x5740eb=this['_imageIoService'][_0x3fc8bd(0x544)](_0x538cec,_0x4f5085);if(_0x5740eb){_0x4bcb5b[_0x3fc8bd(0x548)](_0x5740eb);return;}this['_loadAndSetImage'](_0x4bcb5b,_0x538cec,_0x4f5085);}async[_0x525a7c(0x2cf)](_0x1506bd,_0x31e450,_0x13895a){const _0xc46bdb=_0x525a7c;let _0x17fdc7;try{if(_0x13895a===_0x4c5c09[_0xc46bdb(0x3cc)])_0x17fdc7=await this['_imageIoService'][_0xc46bdb(0x675)](_0x31e450);else{if(_0x13895a===_0x4c5c09[_0xc46bdb(0x614)])try{_0x17fdc7=await this[_0xc46bdb(0x2b2)][_0xc46bdb(0x675)](_0x31e450);}catch{_0x17fdc7=_0x31e450;}else _0x17fdc7=_0x31e450;}}catch(_0x1af504){console[_0xc46bdb(0x665)](_0xc46bdb(0x63a),_0x1af504);return;}let _0x6ad2c4=new window['Image']();_0x6ad2c4[_0xc46bdb(0x56c)]=()=>{const _0x43ed5e=_0xc46bdb;this[_0x43ed5e(0x680)]['addImageSourceCache'](_0x31e450,_0x13895a,_0x6ad2c4),_0x1506bd[_0x43ed5e(0x548)](_0x6ad2c4);},_0x6ad2c4['onerror']=()=>{const _0x1106d4=_0xc46bdb;console[_0x1106d4(0x665)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x31e450);},_0x6ad2c4[_0xc46bdb(0x44a)]=_0x17fdc7;}};no=$([Q(0x0,_0x40f1b2),Q(0x1,_0x3293e1(_0xbf66b3)),Q(0x2,_0x3293e1(_0x3a0ae2)),Q(0x3,_0x1d9860),Q(0x4,_0x16b8eb)],no);let ro=class extends _0xb10ffb{constructor(_0x12971a,_0x2a08ff,_0xe5cc02,_0x6b0d94,_0x205d67,_0x1f926e){const _0x41281a=_0x525a7c;super(),this[_0x41281a(0x67e)]=_0x12971a,this[_0x41281a(0x677)]=_0x2a08ff,this[_0x41281a(0x463)]=_0xe5cc02,this[_0x41281a(0x3c3)]=_0x6b0d94,this[_0x41281a(0x26f)]=_0x205d67,this[_0x41281a(0x575)]=_0x1f926e,this[_0x41281a(0x638)]();}[_0x525a7c(0x638)](){const _0x50b7db=_0x525a7c;this[_0x50b7db(0x3ea)](),this[_0x50b7db(0x42f)](),this[_0x50b7db(0x411)]();}[_0x525a7c(0x3ea)](){const _0x553f94=_0x525a7c;this[_0x553f94(0x1eb)](this[_0x553f94(0x463)][_0x553f94(0x29d)][_0x553f94(0x56a)](_0xd76e20=>{this['_insertShapes'](_0xd76e20);}));}[_0x525a7c(0x42f)](){const _0x44ec67=_0x525a7c;this[_0x44ec67(0x1eb)](this[_0x44ec67(0x67e)][_0x44ec67(0x557)](_0x54c0a4=>{const _0x35067d=_0x44ec67;if(_0x54c0a4['id']===_0xa7bd4d['id']){var _0x280740;let {unitId:_0x167131,subUnitId:_0x1438f7,shapeId:_0x1e5987}=_0x54c0a4[_0x35067d(0x2f6)],_0x5b6047=this['_getSceneAndTransformerByDrawingSearch'](_0x167131);if(_0x5b6047==null)return;let {scene:_0x5cf6b7}=_0x5b6047,_0x3a66e0=_0x3e269b({'unitId':_0x167131,'subUnitId':_0x1438f7,'drawingId':_0x1e5987}),_0x3ddd8f=_0x5cf6b7[_0x35067d(0x54c)](_0x3a66e0);if(!((_0x280740=this[_0x35067d(0x677)]['getRenderById'](_0x167131))!=null&&_0x280740[_0x35067d(0x503)](_0x1c741e)[_0x35067d(0x382)](_0x1438f7)))return!0x1;if(_0x3ddd8f)return;this[_0x35067d(0x4f3)]([{'unitId':_0x167131,'subUnitId':_0x1438f7,'drawingId':_0x1e5987}]);}}));}[_0x525a7c(0x411)](){const _0x134a52=_0x525a7c;this[_0x134a52(0x1eb)](this[_0x134a52(0x463)][_0x134a52(0x510)][_0x134a52(0x56a)](_0x5be22a=>{const _0x3e43d8=_0x134a52;_0x5be22a[_0x3e43d8(0x604)](_0x581d71=>{const _0x4fca1b=_0x3e43d8;let {unitId:_0x3644b6,subUnitId:_0x1d3f33,drawingId:_0x212556}=_0x581d71,_0x25d7af=this[_0x4fca1b(0x463)]['getDrawingByParam'](_0x581d71);if(_0x25d7af==null)return;let {transform:_0x247c2f,drawingType:_0x2d151f,srcRect:_0x40ec88,prstGeom:_0x561d9d}=_0x25d7af;if(_0x2d151f!==_0x663dcd['DRAWING_SHAPE'])return;let _0x633bac=this[_0x4fca1b(0x34a)](_0x3644b6);if(_0x633bac==null)return;let {scene:_0x2fa13d,transformer:_0x535157}=_0x633bac;if(_0x247c2f==null)return!0x0;let _0x5085a6=_0x3e269b({'unitId':_0x3644b6,'subUnitId':_0x1d3f33,'drawingId':_0x212556}),_0x44b568=_0x2fa13d[_0x4fca1b(0x54c)](_0x5085a6);if(_0x44b568==null)return!0x0;_0x44b568[_0x4fca1b(0x1f9)](_0x40ec88),_0x44b568[_0x4fca1b(0x323)](_0x561d9d);});}));}[_0x525a7c(0x4c8)](_0x1ae8d9,_0x5233be){const _0x56b935=_0x525a7c;let {unitId:_0x4d422c,subUnitId:_0x4749c5,drawingId:_0xa8a5a7}=_0x1ae8d9,_0x224f84=this[_0x56b935(0x34a)](_0x4d422c);if(_0x224f84==null)return;let {scene:_0x2c403e}=_0x224f84,_0x3e746d=_0x3e269b({'unitId':_0x4d422c,'subUnitId':_0x4749c5,'drawingId':_0xa8a5a7}),_0x4accd8=_0x2c403e[_0x56b935(0x54c)](_0x3e746d);_0x4accd8!=null&&_0x4accd8['setFillImage'](_0x5233be);}['_insertShapes'](_0x7cc9f0){const _0x89feca=_0x525a7c;_0x7cc9f0[_0x89feca(0x604)](async _0x189da6=>{const _0x4bd69f=_0x89feca;var _0x2bb9e7;let {unitId:_0x579332,subUnitId:_0x2c881a}=_0x189da6,_0x1f1ceb=this['_getSceneAndTransformerByDrawingSearch'](_0x579332),_0x158c14=(_0x2bb9e7=_0x587a04(this['_currentUniverService'],_0x579332))==null?void 0x0:_0x2bb9e7[_0x4bd69f(0x2d8)];if(_0x1f1ceb==null||_0x158c14!==_0x2c881a)return;let _0x3ae29a=this['_drawingManagerService'][_0x4bd69f(0x5c1)](_0x189da6);if(_0x3ae29a!=null&&_0x3ae29a['drawingType']===_0x663dcd[_0x4bd69f(0x60a)]){if(_0x40b171((_0x3ae29a[_0x4bd69f(0x228)]||{})[_0x4bd69f(0x2b0)])){let _0x10baab=_0x3ae29a[_0x4bd69f(0x3f8)];_0x10baab&&(_0x3ae29a[_0x4bd69f(0x3f8)]={..._0x10baab,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x4bd69f(0x463)]['refreshTransform']([_0x3ae29a]),this[_0x4bd69f(0x575)][_0x4bd69f(0x36c)](_0x3ae29a,_0x1f1ceb[_0x4bd69f(0x689)]);}});}[_0x525a7c(0x34a)](_0x48368b){const _0x2b19b1=_0x525a7c;if(_0x48368b==null)return;let _0x481e57=this['_renderManagerService'][_0x2b19b1(0x5af)](_0x48368b),_0x439bfc=_0x481e57==null?void 0x0:_0x481e57[_0x2b19b1(0x689)];return _0x439bfc==null?null:{'scene':_0x439bfc,'transformer':_0x439bfc[_0x2b19b1(0x3fb)]()};}};ro=$([Q(0x0,_0x467978),Q(0x1,_0x243434),Q(0x2,_0x40f1b2),Q(0x3,_0x757fa4),Q(0x4,_0x3293e1(_0x3761fa)),Q(0x5,_0x3293e1(no))],ro);function io(_0x293ae2){const _0x483f14=_0x525a7c;var _0x460c9f,_0x5149ed,_0x1a89b0,_0x92389e,_0x39b0ae,_0x25b636,_0x40b6bf,_0x17ee4f,_0x1b807d,_0x2b8461,_0x16aafb,_0x40ee51,_0x5d8715;let {unitId:_0x534ed1,subUnitId:_0x1247b8,shapeId:_0x5646c7,shapeData:_0x2bcd7d,disableShapeOption:_0x1d3639}=_0x293ae2,_0x5e08d8=_0x516f3a(_0x3a0ae2),_0x4b209a=_0x516f3a(_0x467978),_0xa0b90a=_0x516f3a(_0x58e33a),_0x990832=_0x516f3a(ro),_0x3b741b=_0x516f3a(_0x1d9860),_0x61ca7d=_0x3f9c6f(null),_0x49d313=_0x2bcd7d[_0x483f14(0x20e)],_0x48ab5d=!!(_0x49d313!=null&&_0x49d313[_0x483f14(0x341)]),[_0x43b44e,_0x388eb2]=_0x2d71e0((_0x460c9f=_0x49d313==null?void 0x0:_0x49d313[_0x483f14(0x215)])==null?0x1:_0x460c9f),[_0x530507,_0x1b0490]=_0x2d71e0((_0x5149ed=_0x49d313==null?void 0x0:_0x49d313[_0x483f14(0x57c)])==null?_0x3c650f[_0x483f14(0x531)]:_0x5149ed),[_0x439f36,_0x46fc85]=_0x2d71e0((_0x1a89b0=_0x49d313==null?void 0x0:_0x49d313['imageRotateWithShape'])==null?!0x1:_0x1a89b0),[_0x892353,_0x37e5c5]=_0x2d71e0((_0x92389e=_0x49d313==null||(_0x39b0ae=_0x49d313[_0x483f14(0x671)])==null?void 0x0:_0x39b0ae[_0x483f14(0x652)])==null?0x0:_0x92389e),[_0x109952,_0x4ea8ea]=_0x2d71e0((_0x25b636=_0x49d313==null||(_0x40b6bf=_0x49d313[_0x483f14(0x671)])==null?void 0x0:_0x40b6bf['offsetY'])==null?0x0:_0x25b636),[_0x392cc0,_0x1bb13a]=_0x2d71e0((_0x17ee4f=_0x49d313==null||(_0x1b807d=_0x49d313[_0x483f14(0x671)])==null?void 0x0:_0x1b807d[_0x483f14(0x3a5)])==null?0x1:_0x17ee4f),[_0x36ffee,_0x515ad3]=_0x2d71e0((_0x2b8461=_0x49d313==null||(_0x16aafb=_0x49d313[_0x483f14(0x671)])==null?void 0x0:_0x16aafb[_0x483f14(0x2c6)])==null?0x1:_0x2b8461),[_0x45fa96,_0x5f4734]=_0x2d71e0((_0x40ee51=_0x49d313==null||(_0x5d8715=_0x49d313['imageTile'])==null?void 0x0:_0x5d8715[_0x483f14(0x651)])==null?'tl':_0x40ee51),_0x29be7c=_0x530507===_0x3c650f[_0x483f14(0x224)],_0x1514d4=Math[_0x483f14(0x27c)]((0x1-_0x43b44e)*0x64),_0x46a40d=Math[_0x483f14(0x27c)](_0x392cc0*0x64),_0x35c226=Math['round'](_0x36ffee*0x64),_0x2e5b68=_0x52d718=>_0x5e08d8['t'](_0x52d718),_0x48d097=[{'label':_0x2e5b68(_0x483f14(0x4f7)),'value':'tl'},{'label':_0x2e5b68(_0x483f14(0x57f)),'value':'t'},{'label':_0x2e5b68('sheets-shape-ui.fill.picture.align.tr'),'value':'tr'},{'label':_0x2e5b68(_0x483f14(0x45c)),'value':'l'},{'label':_0x2e5b68('sheets-shape-ui.fill.picture.align.ctr'),'value':'ctr'},{'label':_0x2e5b68(_0x483f14(0x48b)),'value':'r'},{'label':_0x2e5b68(_0x483f14(0x3a8)),'value':'bl'},{'label':_0x2e5b68(_0x483f14(0x2f9)),'value':'b'},{'label':_0x2e5b68(_0x483f14(0x3ab)),'value':'br'}],_0x4a7a91=_0x188bb2=>{Z(_0x4b209a,_0x534ed1,_0x1247b8,_0x5646c7,{'oldShapeData':{'fill':_0x49d313?{..._0x49d313}:void 0x0}},{'fill':{..._0x49d313,..._0x188bb2}});},_0x4a3079=_0x57d5e1=>{_0x4a7a91({'imageTile':{..._0x49d313==null?void 0x0:_0x49d313['imageTile'],..._0x57d5e1}});},_0x5324d9=()=>{const _0x50c0a3=_0x483f14;var _0x16971f;return(_0x16971f=_0x61ca7d[_0x50c0a3(0x1f4)])==null?void 0x0:_0x16971f[_0x50c0a3(0x39b)]();},_0x1a7317=async _0x5bcae1=>{const _0x584961=_0x483f14;var _0x4888b0;let _0x5cb08a=(_0x4888b0=_0x5bcae1[_0x584961(0x60f)][_0x584961(0x515)])==null?void 0x0:_0x4888b0[0x0];if(!_0x5cb08a)return;_0x5bcae1[_0x584961(0x60f)][_0x584961(0x607)]='';let _0x324e03=await _0x3b741b[_0x584961(0x2d0)](_0x5cb08a);if(_0x324e03==null)return;let {imageSourceType:_0x20815e,source:_0x31c61b,base64Cache:_0x521fb4}=_0x324e03,{image:_0x3c6fc3}=await _0x204a69(_0x521fb4||'');_0x3b741b['addImageSourceCache'](_0x31c61b,_0x20815e,_0x3c6fc3),Z(_0x4b209a,_0x534ed1,_0x1247b8,_0x5646c7,{'oldShapeData':{'fill':_0x49d313?{..._0x49d313}:void 0x0}},{'fill':{..._0x49d313,'fillType':_0x4176d6[_0x584961(0x49b)],'fillImageSource':_0x31c61b,'fillImageSourceType':_0x20815e}}),_0x990832['updateShapeFillImage']({'unitId':_0x534ed1,'subUnitId':_0x1247b8,'drawingId':_0x5646c7},_0x3c6fc3);},_0x1d82b6='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x318db8=_0x483f14(0x5c0);return _0x29deb6(_0x483f14(0x373),{'className':_0x483f14(0x5e4),'children':[_0x29deb6('div',{'className':_0x483f14(0x619),'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68('sheets-shape-ui.fill.picture.source')}),_0x29deb6('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x5b0dea(_0x483f14(0x29a),{'ref':_0x61ca7d,'type':_0x483f14(0x4ba),'accept':'image/*','className':'univer-hidden','onChange':_0x1a7317}),_0x29deb6(_0x483f14(0x373),{'className':'group\x20univer-relative\x20univer-inline-block','children':[_0x5b0dea('button',{'type':'button','disabled':_0x1d3639,'className':'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','onClick':_0x5324d9,'children':_0x29deb6(_0x483f14(0x265),{'children':[_0x2e5b68(_0x483f14(0x33d)),'\x20']})}),_0x48ab5d&&_0x5b0dea('div',{'className':_0x483f14(0x4d9),'children':_0x5b0dea(_0x483f14(0x3c4),{'src':_0x49d313==null?void 0x0:_0x49d313['fillImageSource'],'alt':'','className':_0x483f14(0x3c2)})})]})]})]}),_0x29deb6(_0x483f14(0x373),{'className':_0x318db8,'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x29f))}),_0x5b0dea('div',{'className':_0x483f14(0x62c),'children':_0x5b0dea(_0x3d6da1,{'className':_0x483f14(0x48d),'value':_0x1514d4,'disabled':_0x1d3639,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x4fb7c4=>_0x4fb7c4+'%','parser':_0xc3d4f9=>(_0xc3d4f9==null?void 0x0:_0xc3d4f9[_0x483f14(0x491)]('%',''))||'','onChange':_0x44044c=>{const _0x56be6f=_0x483f14;let _0x2e809d=(0x64-Math[_0x56be6f(0x4b3)](0x0,Math['min'](0x64,_0x44044c==null?0x0:_0x44044c)))/0x64;_0x388eb2(_0x2e809d),_0x4a7a91({'imageOpacity':_0x2e809d}),_0xa0b90a[_0x56be6f(0x3fd)](_0x3b9714,!0x1);},'onFocus':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x0),'onBlur':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x1)})})]}),_0x5b0dea(_0x32133a,{'checked':_0x29be7c,'disabled':_0x1d3639,'onChange':_0x5c91ef=>{const _0x35ac86=_0x483f14;let _0x5efb8a=_0x5c91ef?_0x3c650f[_0x35ac86(0x224)]:_0x3c650f[_0x35ac86(0x531)];_0x1b0490(_0x5efb8a),_0x4a7a91({'imageFillMode':_0x5efb8a});},'children':_0x5b0dea(_0x483f14(0x265),{'className':'univer-text-sm','children':_0x2e5b68(_0x483f14(0x613))})}),_0x29be7c&&_0x29deb6('div',{'className':'\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','children':[_0x29deb6(_0x483f14(0x373),{'className':_0x318db8,'children':[_0x5b0dea('span',{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x5bf))}),_0x5b0dea('div',{'className':_0x483f14(0x62c),'children':_0x5b0dea(_0x3d6da1,{'className':_0x483f14(0x48d),'value':_0x892353,'disabled':_0x1d3639,'step':0x1,'onChange':_0x530742=>{_0x4a3079({'offsetX':_0x530742==null?0x0:_0x530742}),_0x37e5c5(_0x530742==null?0x0:_0x530742);},'onFocus':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x0),'onBlur':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x1)})})]}),_0x29deb6('div',{'className':_0x318db8,'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x433))}),_0x5b0dea(_0x483f14(0x373),{'className':'univer-w-20','children':_0x5b0dea(_0x3d6da1,{'className':_0x483f14(0x48d),'value':_0x109952,'disabled':_0x1d3639,'step':0x1,'onChange':_0x3764f7=>{_0x4a3079({'offsetY':_0x3764f7==null?0x0:_0x3764f7}),_0x4ea8ea(_0x3764f7==null?0x0:_0x3764f7);},'onFocus':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x0),'onBlur':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x1)})})]}),_0x29deb6('div',{'className':_0x318db8,'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x4c7))}),_0x5b0dea(_0x483f14(0x373),{'className':_0x483f14(0x62c),'children':_0x5b0dea(_0x3d6da1,{'className':_0x483f14(0x48d),'value':_0x46a40d,'disabled':_0x1d3639,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x359ce6=>_0x359ce6+'%','parser':_0x1e428c=>(_0x1e428c==null?void 0x0:_0x1e428c[_0x483f14(0x491)]('%',''))||'','onChange':_0x88097d=>{const _0x1b2aea=_0x483f14;let _0x1c38b1=Math[_0x1b2aea(0x4b3)](0.01,(_0x88097d==null?0x64:_0x88097d)/0x64);_0x1bb13a(_0x1c38b1),_0x4a3079({'scaleX':_0x1c38b1}),_0xa0b90a[_0x1b2aea(0x3fd)](_0x3b9714,!0x1);},'onFocus':()=>_0xa0b90a['setContextValue'](_0x3b9714,!0x0),'onBlur':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x1)})})]}),_0x29deb6('div',{'className':_0x318db8,'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x3be))}),_0x5b0dea(_0x483f14(0x373),{'className':_0x483f14(0x62c),'children':_0x5b0dea(_0x3d6da1,{'className':_0x483f14(0x48d),'value':_0x35c226,'disabled':_0x1d3639,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x147597=>_0x147597+'%','parser':_0x2bc970=>(_0x2bc970==null?void 0x0:_0x2bc970['replace']('%',''))||'','onChange':_0x40bf35=>{const _0xf886ee=_0x483f14;let _0x54b60b=Math[_0xf886ee(0x4b3)](0.01,(_0x40bf35==null?0x64:_0x40bf35)/0x64);_0x515ad3(_0x54b60b),_0x4a3079({'scaleY':_0x54b60b}),_0xa0b90a[_0xf886ee(0x3fd)](_0x3b9714,!0x1);},'onFocus':()=>_0xa0b90a['setContextValue'](_0x3b9714,!0x0),'onBlur':()=>_0xa0b90a[_0x483f14(0x3fd)](_0x3b9714,!0x1)})})]}),_0x29deb6(_0x483f14(0x373),{'className':_0x318db8,'children':[_0x5b0dea(_0x483f14(0x265),{'className':_0x1d82b6,'children':_0x2e5b68(_0x483f14(0x52c))}),_0x5b0dea(_0x483f14(0x373),{'className':_0x483f14(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x483f14(0x48d),'value':_0x45fa96,'options':_0x48d097,'disabled':_0x1d3639,'onChange':_0x185af6=>{_0x5f4734(_0x185af6),_0x4a3079({'alignment':_0x185af6});}})})]})]}),_0x5b0dea(_0x32133a,{'checked':_0x439f36,'disabled':_0x1d3639,'onChange':_0x281638=>{_0x46fc85(_0x281638),_0x4a7a91({'imageRotateWithShape':_0x281638});},'children':_0x5b0dea('span',{'className':_0x483f14(0x464),'children':_0x2e5b68('sheets-shape-ui.fill.picture.rotateWithShape')})})]});}function ao(_0x58e63a){const _0x41d2b5=_0x525a7c;var _0x1f6226,_0x13631b,_0xb8481c;let _0xe335fb=_0x516f3a(_0x3a0ae2),_0x3e859b=_0x516f3a(_0x467978),_0x3356e3=_0x516f3a(_0x58e33a),{shapeData:_0x2c3b0c,isLineShape:_0x3b821e,unitId:_0x176a7c,subUnitId:_0x3ceeef,shapeId:_0x12b22e,disableShapeOption:_0x2d8cdf}=_0x58e63a,[_0x3688fb,_0x44e297]=_0x2d71e0(((_0x1f6226=_0x2c3b0c[_0x41d2b5(0x20e)])==null?void 0x0:_0x1f6226['fillType'])||_0x4176d6[_0x41d2b5(0x333)]),[_0x40ec61,_0x4e86c4]=_0x2d71e0(((_0x13631b=_0x2c3b0c[_0x41d2b5(0x20e)])==null?void 0x0:_0x13631b[_0x41d2b5(0x59b)])||_0xd80510[_0x41d2b5(0x20e)]),[_0x28a6de,_0x54da5b]=_0x2d71e0(((_0xb8481c=_0x2c3b0c[_0x41d2b5(0x20e)])==null?void 0x0:_0xb8481c[_0x41d2b5(0x44f)])||0x1),[_0x25db6f,_0x4d90aa]=_0x2d71e0(!0x1);if(_0x3b821e)return null;let _0x31caa3=0x64-_0x28a6de*0x64;return _0x29deb6(_0x41d2b5(0x373),{'className':_0x41d2b5(0x431),'children':[_0x29deb6(_0x3534c9,{'value':_0x3688fb,'disabled':_0x2d8cdf,'onChange':_0x2fce16=>{var _0x118b72;Z(_0x3e859b,_0x176a7c,_0x3ceeef,_0x12b22e,{'oldShapeData':{'fill':{'fillType':(_0x118b72=_0x2c3b0c['fill'])==null?void 0x0:_0x118b72['fillType']}}},{'fill':{'fillType':_0x2fce16}}),_0x44e297(_0x2fce16);},'direction':_0x41d2b5(0x30d),'children':[_0x5b0dea(_0x1980fb,{'value':_0x4176d6[_0x41d2b5(0x603)],'children':_0x5b0dea('span',{'className':_0x41d2b5(0x464),'children':_0xe335fb['t'](_0x41d2b5(0x641))})}),_0x5b0dea(_0x1980fb,{'value':_0x4176d6[_0x41d2b5(0x333)],'children':_0x5b0dea(_0x41d2b5(0x265),{'className':_0x41d2b5(0x464),'children':_0xe335fb['t']('sheets-shape-ui.fill.solidFill')})}),_0x5b0dea(_0x1980fb,{'value':_0x4176d6[_0x41d2b5(0x30b)],'children':_0x5b0dea(_0x41d2b5(0x265),{'className':_0x41d2b5(0x464),'children':_0xe335fb['t'](_0x41d2b5(0x3de))})}),_0x5b0dea(_0x1980fb,{'value':_0x4176d6[_0x41d2b5(0x49b)],'children':_0x5b0dea('span',{'className':'univer-text-sm','children':_0xe335fb['t']('sheets-shape-ui.fill.pictureFill')})})]}),_0x3688fb===_0x4176d6[_0x41d2b5(0x333)]&&_0x29deb6('div',{'className':_0x41d2b5(0x3d9),'children':[_0x29deb6('div',{'className':_0x41d2b5(0x698),'children':[_0x5b0dea(_0x41d2b5(0x265),{'className':_0x41d2b5(0x686),'children':_0xe335fb['t']('sheets-shape-ui.fill.color')}),_0x5b0dea(_0x1cf8a8,{'disabled':_0x2d8cdf,'overlay':_0x5b0dea(_0x41d2b5(0x373),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x5b0dea(_0x565071,{'value':_0x40ec61,'onChange':_0x3b46a8=>{const _0x3da5fc=_0x41d2b5;var _0x3df551;Z(_0x3e859b,_0x176a7c,_0x3ceeef,_0x12b22e,{'oldShapeData':{'fill':{'color':(_0x3df551=_0x2c3b0c[_0x3da5fc(0x20e)])==null?void 0x0:_0x3df551[_0x3da5fc(0x59b)]}}},{'fill':{'color':_0x3b46a8}}),_0x4e86c4(_0x3b46a8),_0x4d90aa(!0x1);}})}),'open':_0x25db6f,'onOpenChange':_0x4d90aa,'children':_0x29deb6('a',{'className':_0x41d2b5(0x27a),'children':[_0x5b0dea(_0x3db68c,{'className':_0x41d2b5(0x36d),'extend':{'colorChannel1':_0x40ec61}}),_0x5b0dea(_0x3caf67,{'className':_0x35d5e1(_0x41d2b5(0x429),{'univer-rotate-180':_0x25db6f})})]})})]}),_0x29deb6(_0x41d2b5(0x373),{'className':_0x41d2b5(0x5c0),'children':[_0x5b0dea(_0x41d2b5(0x265),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xe335fb['t'](_0x41d2b5(0x29f))}),_0x5b0dea(_0x41d2b5(0x373),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':_0x5b0dea(_0x41d2b5(0x373),{'className':'univer-w-20','children':_0x5b0dea(_0x3d6da1,{'className':_0x41d2b5(0x48d),'value':_0x31caa3,'disabled':_0x2d8cdf,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x28f2b5=>_0x28f2b5+'%','parser':_0x339775=>(_0x339775==null?void 0x0:_0x339775[_0x41d2b5(0x491)]('%',''))||'','onChange':_0x47ab4=>{const _0x181051=_0x41d2b5;let _0x52ab62=(0x64-Math['max'](0x0,Math[_0x181051(0x573)](0x64,_0x47ab4==null?0x0:_0x47ab4)))/0x64;_0x54da5b(_0x52ab62),Z(_0x3e859b,_0x176a7c,_0x3ceeef,_0x12b22e,{'oldShapeData':{'fill':{..._0x2c3b0c[_0x181051(0x20e)],'fillType':_0x3688fb}}},{'fill':{..._0x2c3b0c[_0x181051(0x20e)],'fillType':_0x3688fb,'opacity':_0x52ab62}}),_0x3356e3[_0x181051(0x3fd)](_0x3b9714,!0x1);},'onFocus':()=>_0x3356e3['setContextValue'](_0x3b9714,!0x0),'onBlur':()=>{const _0xf803f9=_0x41d2b5;_0x3356e3[_0xf803f9(0x3fd)](_0x3b9714,!0x1);}})})})]})]}),_0x3688fb===_0x4176d6['GradientFill']&&_0x5b0dea(co,{'shapeData':_0x2c3b0c,'disableShapeOption':_0x2d8cdf,'onUpdate':_0x3e3a42=>{const _0x38522d=_0x41d2b5;Z(_0x3e859b,_0x176a7c,_0x3ceeef,_0x12b22e,{'oldShapeData':{'fill':{..._0x2c3b0c[_0x38522d(0x20e)]}}},{'fill':{..._0x2c3b0c['fill'],..._0x3e3a42}});}}),_0x3688fb===_0x4176d6['PictureFill']&&_0x5b0dea(io,{'unitId':_0x176a7c,'subUnitId':_0x3ceeef,'shapeId':_0x12b22e,'shapeData':_0x2c3b0c,'disableShapeOption':_0x2d8cdf})]});}function oo(_0x27b9e1){const _0x5dc68f=_0x525a7c;switch(_0x27b9e1){case _0x162809[_0x5dc68f(0x59e)]:return _0x5dc68f(0x3f5);case _0x162809[_0x5dc68f(0x5f8)]:return'radial';case _0x162809[_0x5dc68f(0x5c3)]:return _0x5dc68f(0x314);case _0x162809[_0x5dc68f(0x4d2)]:return _0x5dc68f(0x5a7);default:return _0x5dc68f(0x3f5);}}function so(_0x3767ce){const _0xf884d3=_0x525a7c;switch(_0x3767ce){case _0xf884d3(0x3f5):return _0x162809[_0xf884d3(0x59e)];case _0xf884d3(0x52a):return _0x162809[_0xf884d3(0x5f8)];case _0xf884d3(0x314):return _0x162809[_0xf884d3(0x5c3)];case _0xf884d3(0x5a7):return _0x162809[_0xf884d3(0x4d2)];default:return _0x162809['Linear'];}}function co(_0xcd3a){const _0x3fff80=_0x525a7c;let {shapeData:_0x375e67,disableShapeOption:_0x4c7ec0,onUpdate:_0x10ae5d}=_0xcd3a;return _0x5b0dea(_0x3fff80(0x373),{'className':'univer-pt-2','children':_0x5b0dea(_0x887b26,{'value':_0x46d37a(()=>{const _0x59306f=_0x3fff80;var _0x4ff969;let _0x5c58cb=_0x375e67[_0x59306f(0x20e)];return{'type':oo(_0x5c58cb==null?void 0x0:_0x5c58cb[_0x59306f(0x404)]),'angle':(_0x4ff969=_0x5c58cb==null?void 0x0:_0x5c58cb[_0x59306f(0x28f)])==null?0x5a:_0x4ff969,'stops':_0x5c58cb!=null&&_0x5c58cb[_0x59306f(0x41e)]&&_0x5c58cb[_0x59306f(0x41e)]['length']>=0x2?_0x5c58cb[_0x59306f(0x41e)]['map'](_0x54cfd5=>({'color':_0x54cfd5[_0x59306f(0x59b)],'offset':_0x54cfd5[_0x59306f(0x54b)]*0x64})):[{'color':(_0x5c58cb==null?void 0x0:_0x5c58cb['color'])||_0x59306f(0x1e5),'offset':0x0},{'color':_0x59306f(0x3eb),'offset':0x64}]};},[_0x375e67['fill']]),'onChange':_0x3fc963=>{const _0x5b170e=_0x3fff80;let _0x12f63f=so(_0x3fc963[_0x5b170e(0x2d4)]),_0x3b1792=_0x3fc963[_0x5b170e(0x5d8)];_0x10ae5d({'gradientType':_0x12f63f,'gradientAngle':_0x3b1792,'gradientStops':_0x3fc963['stops']['map'](_0x2f3225=>({'color':_0x2f3225[_0x5b170e(0x59b)],'position':_0x2f3225['offset']/0x64}))});}})});}function lo(_0x2d9558){const _0x61777a=_0x525a7c;var _0x42fa99,_0x24ebe8,_0x5b577b,_0x27112e,_0x2ecd2c,_0x14c07e,_0x5be75e,_0xbd9e0c,_0xeefb42,_0x267a5f,_0x25c2d8,_0x1b136f,_0x57eaef,_0x237c30,_0x54e748,_0x55562e;let _0x225950=_0x516f3a(_0x3a0ae2),_0x349241=_0x516f3a(_0x467978),_0x17fa12=_0x516f3a(_0x58e33a),{shapeData:_0x448ad5,isLineShape:_0x22679c,unitId:_0x2e5081,subUnitId:_0x24556b,shapeId:_0x16cbab,disableShapeOption:_0x56b1fa}=_0x2d9558,_0x5a50ea=_0x448ad5[_0x61777a(0x226)],[_0x1d4510,_0x484100]=_0x2d71e0((_0x42fa99=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x286)])==null?_0x478746['SolidLine']:_0x42fa99),[_0x1d92cd,_0x2cae53]=_0x2d71e0((_0x24ebe8=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x59b)])==null?_0xd80510[_0x61777a(0x226)]:_0x24ebe8),[_0x48516b,_0x393096]=_0x2d71e0((_0x5b577b=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x44f)])==null?0x1:_0x5b577b),[_0x8b4489,_0x4618e3]=_0x2d71e0((_0x27112e=_0x5a50ea==null?void 0x0:_0x5a50ea['width'])==null?_0xd80510['strokeWidth']:_0x27112e),[_0xacb950,_0x952877]=_0x2d71e0((_0x2ecd2c=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x670)])==null?_0x242c06[_0x61777a(0x5c5)]:_0x2ecd2c),[_0x5c7b37,_0x57e53d]=_0x2d71e0((_0x14c07e=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x4b0)])==null?_0x186fa5[_0x61777a(0x676)]:_0x14c07e),[_0x5f567d,_0x1b5629]=_0x2d71e0((_0x5be75e=_0x5a50ea==null?void 0x0:_0x5a50ea['lineJoinType'])==null?_0x5943ae[_0x61777a(0x28c)]:_0x5be75e),[_0x8a7cff,_0x2b78d2]=_0x2d71e0((_0xbd9e0c=_0x5a50ea==null?void 0x0:_0x5a50ea[_0x61777a(0x3ec)])==null?_0x7b6ff2['None']:_0xbd9e0c),_0x499095=_0x448ad5,[_0xea2f2a,_0x39602b]=_0x2d71e0((_0xeefb42=(_0x267a5f=_0x499095['ln'])==null||(_0x267a5f=_0x267a5f[_0x61777a(0x577)])==null?void 0x0:_0x267a5f[_0x61777a(0x2d4)])==null?_0x1e8a10[_0x61777a(0x621)]:_0xeefb42),[_0x157180,_0x4842f3]=_0x2d71e0((_0x25c2d8=(_0x1b136f=_0x499095['ln'])==null||(_0x1b136f=_0x1b136f[_0x61777a(0x577)])==null?void 0x0:_0x1b136f[_0x61777a(0x29b)])==null?_0xc154ac[_0x61777a(0x378)]:_0x25c2d8),[_0x461ce7,_0x56e03b]=_0x2d71e0((_0x57eaef=(_0x237c30=_0x499095['ln'])==null||(_0x237c30=_0x237c30[_0x61777a(0x3ac)])==null?void 0x0:_0x237c30[_0x61777a(0x2d4)])==null?_0x1e8a10['None']:_0x57eaef),[_0xe958f7,_0x42d717]=_0x2d71e0((_0x54e748=(_0x55562e=_0x499095['ln'])==null||(_0x55562e=_0x55562e[_0x61777a(0x3ac)])==null?void 0x0:_0x55562e[_0x61777a(0x29b)])==null?_0xc154ac[_0x61777a(0x378)]:_0x54e748),[_0x534533,_0x5575e1]=_0x2d71e0(!0x1),_0x5858c3=0x64-_0x48516b*0x64,_0x40d47f=[{'label':_0x225950['t']('sheets-shape-ui.line.dashType.solid'),'value':String(_0x242c06[_0x61777a(0x5c5)])},{'label':_0x225950['t'](_0x61777a(0x609)),'value':String(_0x242c06[_0x61777a(0x4df)])},{'label':_0x225950['t']('sheets-shape-ui.line.dashType.squareDot'),'value':String(_0x242c06[_0x61777a(0x633)])},{'label':_0x225950['t']('sheets-shape-ui.line.dashType.dash'),'value':String(_0x242c06[_0x61777a(0x62d)])},{'label':_0x225950['t'](_0x61777a(0x596)),'value':String(_0x242c06[_0x61777a(0x3b8)])},{'label':_0x225950['t'](_0x61777a(0x3b2)),'value':String(_0x242c06[_0x61777a(0x271)])},{'label':_0x225950['t'](_0x61777a(0x4e4)),'value':String(_0x242c06['LongDashDot'])},{'label':_0x225950['t']('sheets-shape-ui.line.dashType.longDashDotDot'),'value':String(_0x242c06[_0x61777a(0x4b7)])}],_0x4cf8d1=[{'label':_0x225950['t'](_0x61777a(0x364)),'value':String(_0x186fa5['Flat'])},{'label':_0x225950['t'](_0x61777a(0x1d9)),'value':String(_0x186fa5['Round'])},{'label':_0x225950['t'](_0x61777a(0x424)),'value':String(_0x186fa5['Square'])}],_0xb94797=[{'label':_0x225950['t'](_0x61777a(0x4da)),'value':String(_0x7b6ff2['None'])},{'label':_0x225950['t'](_0x61777a(0x23a)),'value':String(_0x7b6ff2[_0x61777a(0x394)])},{'label':_0x225950['t'](_0x61777a(0x315)),'value':String(_0x7b6ff2[_0x61777a(0x536)])},{'label':_0x225950['t'](_0x61777a(0x5e3)),'value':String(_0x7b6ff2['HandDrawn'])}],_0x2e9619=[{'label':_0x225950['t'](_0x61777a(0x240)),'value':String(_0x5943ae['Miter'])},{'label':_0x225950['t'](_0x61777a(0x56f)),'value':String(_0x5943ae[_0x61777a(0x39d)])},{'label':_0x225950['t'](_0x61777a(0x2d9)),'value':String(_0x5943ae[_0x61777a(0x395)])}],_0x1cee41=[{'label':_0x225950['t'](_0x61777a(0x232)),'value':String(_0x1e8a10[_0x61777a(0x621)])},{'label':_0x225950['t'](_0x61777a(0x40b)),'value':String(_0x1e8a10[_0x61777a(0x320)])},{'label':_0x225950['t'](_0x61777a(0x560)),'value':String(_0x1e8a10[_0x61777a(0x65f)])},{'label':_0x225950['t'](_0x61777a(0x655)),'value':String(_0x1e8a10[_0x61777a(0x299)])},{'label':_0x225950['t']('sheets-shape-ui.line.arrowType.diamondArrow'),'value':String(_0x1e8a10[_0x61777a(0x5f0)])},{'label':_0x225950['t'](_0x61777a(0x454)),'value':String(_0x1e8a10['OvalArrow'])}],_0x24b652=[{'label':_0x225950['t'](_0x61777a(0x5b4)),'value':String(_0xc154ac[_0x61777a(0x2eb)])},{'label':_0x225950['t'](_0x61777a(0x4d1)),'value':String(_0xc154ac['Medium'])},{'label':_0x225950['t'](_0x61777a(0x618)),'value':String(_0xc154ac[_0x61777a(0x410)])}];return _0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x431),'children':[_0x29deb6(_0x3534c9,{'value':String(_0x1d4510),'disabled':_0x56b1fa,'onChange':_0x3f6a2a=>{const _0x46c033=_0x61777a;var _0x1ec346;_0x484100(Number(_0x3f6a2a)),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x1ec346=_0x448ad5[_0x46c033(0x226)])==null?void 0x0:_0x1ec346['lineStrokeType']}}},{'stroke':{'lineStrokeType':Number(_0x3f6a2a)}});},'direction':_0x61777a(0x30d),'children':[_0x5b0dea(_0x1980fb,{'value':String(_0x478746[_0x61777a(0x250)]),'children':_0x5b0dea('span',{'className':_0x61777a(0x464),'children':_0x225950['t'](_0x61777a(0x347))})}),_0x5b0dea(_0x1980fb,{'value':String(_0x478746[_0x61777a(0x41f)]),'children':_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x464),'children':_0x225950['t'](_0x61777a(0x46f))})})]}),_0x1d4510!==_0x478746[_0x61777a(0x250)]&&_0x29deb6('div',{'className':_0x61777a(0x3d9),'children':[_0x29deb6('div',{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x31e))}),_0x5b0dea(_0x1cf8a8,{'disabled':_0x56b1fa,'overlay':_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x3a9),'children':_0x5b0dea(_0x565071,{'value':_0x1d92cd,'onChange':_0x5220f8=>{const _0x25874e=_0x61777a;var _0x38fbfd;Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'color':(_0x38fbfd=_0x448ad5[_0x25874e(0x226)])==null?void 0x0:_0x38fbfd['color']}}},{'stroke':{'color':_0x5220f8}}),_0x2cae53(_0x5220f8),_0x5575e1(!0x1);}})}),'open':_0x534533,'onOpenChange':_0x5575e1,'children':_0x29deb6('a',{'className':'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','children':[_0x5b0dea(_0x3db68c,{'className':'univer-text-gray-500','extend':{'colorChannel1':_0x1d92cd}}),_0x5b0dea(_0x3caf67,{'className':_0x35d5e1(_0x61777a(0x429),{'univer-rotate-180':_0x534533})})]})})]}),_0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x5c0),'children':[_0x5b0dea(_0x61777a(0x265),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x225950['t'](_0x61777a(0x524))}),_0x5b0dea('div',{'className':_0x61777a(0x5c0),'children':_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x2b5),'children':_0x5b0dea(_0x3d6da1,{'className':_0x61777a(0x48d),'value':_0x5858c3,'disabled':_0x56b1fa,'min':0x0,'max':0x64,'formatter':_0x3a509e=>_0x3a509e+'%','parser':_0x570cef=>(_0x570cef==null?void 0x0:_0x570cef[_0x61777a(0x491)]('%',''))||'','onChange':_0x48e2c2=>{const _0x16525f=_0x61777a;var _0x5d3647;let _0x471680=(0x64-Math[_0x16525f(0x4b3)](0x0,Math[_0x16525f(0x573)](0x64,_0x48e2c2==null?0x0:_0x48e2c2)))/0x64;_0x393096(_0x471680),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'opacity':(_0x5d3647=_0x448ad5[_0x16525f(0x226)])==null?void 0x0:_0x5d3647['opacity']}}},{'stroke':{'opacity':_0x471680}}),_0x17fa12[_0x16525f(0x3fd)](_0x3b9714,!0x1);},'onFocus':()=>_0x17fa12[_0x61777a(0x3fd)](_0x3b9714,!0x0),'onBlur':_0x98e89b=>{_0x17fa12['setContextValue'](_0x3b9714,!0x1);}})})})]}),_0x29deb6('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x2ad))}),_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x62c),'children':_0x5b0dea(_0x3d6da1,{'className':_0x61777a(0x48d),'disabled':_0x56b1fa,'value':_0x8b4489,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x555c66=>_0x555c66+_0x61777a(0x1fd),'parser':_0x4c7faf=>(_0x4c7faf==null?void 0x0:_0x4c7faf[_0x61777a(0x491)](_0x61777a(0x1fd),''))||'','onChange':_0x5dd4e0=>{const _0x45c5e5=_0x61777a;if(!Number[_0x45c5e5(0x41a)](_0x5dd4e0)&&_0x5dd4e0!==null){var _0x3cd1ce;Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'width':(_0x3cd1ce=_0x448ad5[_0x45c5e5(0x226)])==null?void 0x0:_0x3cd1ce[_0x45c5e5(0x38b)]}}},{'stroke':{'width':_0x5dd4e0}});}_0x17fa12['setContextValue'](_0x3b9714,!0x1);},'onFocus':()=>_0x17fa12[_0x61777a(0x3fd)](_0x3b9714,!0x0),'onBlur':_0x11a569=>{const _0x4ca2b1=_0x61777a;_0x17fa12[_0x4ca2b1(0x3fd)](_0x3b9714,!0x1);}})})]}),_0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x458))}),_0x5b0dea('div',{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0xacb950),'options':_0x40d47f,'disabled':_0x56b1fa,'onChange':_0x40f029=>{const _0x36f3d0=_0x61777a;var _0x5965ed;_0x952877(Number(_0x40f029)),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'dashType':(_0x5965ed=_0x448ad5[_0x36f3d0(0x226)])==null?void 0x0:_0x5965ed['dashType']}}},{'stroke':{'dashType':Number(_0x40f029)}});}})})]}),_0x29deb6('div',{'className':_0x61777a(0x698),'children':[_0x5b0dea('span',{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x354))}),_0x5b0dea('div',{'className':'univer-w-28','children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0x5c7b37),'options':_0x4cf8d1,'disabled':_0x56b1fa,'onChange':_0x5c3c5f=>{const _0x254000=_0x61777a;var _0x1fbfcb;_0x57e53d(Number(_0x5c3c5f)),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'capType':(_0x1fbfcb=_0x448ad5[_0x254000(0x226)])==null?void 0x0:_0x1fbfcb['capType']}}},{'stroke':{'capType':Number(_0x5c3c5f)}});}})})]}),_0x29deb6('div',{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x43a))}),_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0x5f567d),'options':_0x2e9619,'disabled':_0x56b1fa,'onChange':_0x51b3f0=>{const _0x331cd8=_0x61777a;var _0xcdb0b6;_0x1b5629(Number(_0x51b3f0)),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'lineJoinType':(_0xcdb0b6=_0x448ad5[_0x331cd8(0x226)])==null?void 0x0:_0xcdb0b6[_0x331cd8(0x672)]}}},{'stroke':{'lineJoinType':Number(_0x51b3f0)}});}})})]}),!_0x22679c&&_0x29deb6('div',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x67b))}),_0x5b0dea('div',{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0x8a7cff),'options':_0xb94797,'disabled':_0x56b1fa,'onChange':_0x1647c4=>{const _0x2c02b2=_0x61777a;var _0x2ab48b;_0x2b78d2(Number(_0x1647c4)),Z(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'stroke':{'sketchType':(_0x2ab48b=_0x448ad5['stroke'])==null?void 0x0:_0x2ab48b[_0x2c02b2(0x3ec)]}}},{'stroke':{'sketchType':Number(_0x1647c4)}});}})})]}),_0x22679c&&_0x29deb6(_0x17f1f2,{'children':[_0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x5cb))}),_0x5b0dea('div',{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0xea2f2a),'options':_0x1cee41,'onChange':_0x1d36aa=>{const _0x1a28cb=_0x61777a;var _0x963408;_0x39602b(Number(_0x1d36aa)),Qa(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x963408=_0x448ad5['ln'])==null||(_0x963408=_0x963408[_0x1a28cb(0x577)])==null?void 0x0:_0x963408[_0x1a28cb(0x2d4)]}}}},{'ln':{'startArrow':{'type':Number(_0x1d36aa)}}});}})})]}),_0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t']('sheets-shape-ui.line.beginArrowSize')}),_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':'univer-w-full','value':String(_0x157180),'options':_0x24b652,'onChange':_0x474cd2=>{const _0x3b9af4=_0x61777a;var _0x56a558;_0x4842f3(Number(_0x474cd2)),Qa(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x56a558=_0x448ad5['ln'])==null||(_0x56a558=_0x56a558[_0x3b9af4(0x577)])==null?void 0x0:_0x56a558['size']}}}},{'ln':{'startArrow':{'size':Number(_0x474cd2)}}});}})})]}),_0x29deb6(_0x61777a(0x373),{'className':_0x61777a(0x698),'children':[_0x5b0dea(_0x61777a(0x265),{'className':_0x61777a(0x686),'children':_0x225950['t'](_0x61777a(0x64e))}),_0x5b0dea('div',{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':'univer-w-full','value':String(_0x461ce7),'options':_0x1cee41,'onChange':_0x76202f=>{const _0x589164=_0x61777a;var _0x34fdf9;_0x56e03b(Number(_0x76202f)),Qa(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x34fdf9=_0x448ad5['ln'])==null||(_0x34fdf9=_0x34fdf9[_0x589164(0x3ac)])==null?void 0x0:_0x34fdf9[_0x589164(0x2d4)]}}}},{'ln':{'endArrow':{'type':Number(_0x76202f)}}});}})})]}),_0x29deb6(_0x61777a(0x373),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x5b0dea(_0x61777a(0x265),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x225950['t'](_0x61777a(0x488))}),_0x5b0dea(_0x61777a(0x373),{'className':_0x61777a(0x63e),'children':_0x5b0dea(_0x314eb8,{'className':_0x61777a(0x48d),'value':String(_0xe958f7),'options':_0x24b652,'onChange':_0x43e565=>{const _0x442cd2=_0x61777a;var _0x18a1fe;_0x42d717(Number(_0x43e565)),Qa(_0x349241,_0x2e5081,_0x24556b,_0x16cbab,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x18a1fe=_0x448ad5['ln'])==null||(_0x18a1fe=_0x18a1fe[_0x442cd2(0x3ac)])==null?void 0x0:_0x18a1fe[_0x442cd2(0x29b)]}}}},{'ln':{'endArrow':{'size':Number(_0x43e565)}}});}})})]})]})]})]});}function _0xa649(_0x39787c,_0x26122f){_0x39787c=_0x39787c-0x1d7;const _0x2a200c=_0x2a20();let _0xa649a0=_0x2a200c[_0x39787c];return _0xa649a0;}function uo(){const _0x48ed99=_0x525a7c;let _0x439abb=_0x516f3a(_0x40f1b2),[_0x340c31,_0x41121a]=_0x2d71e0(_0x439abb[_0x48ed99(0x559)]());return _0x4954e1(()=>{const _0x40e825=_0x48ed99;let _0x576fc1=_0x439abb[_0x40e825(0x1fe)][_0x40e825(0x56a)](_0x2538c5=>{_0x41121a(_0x2538c5);});return()=>{_0x576fc1['unsubscribe']();};},[]),_0x340c31[_0x48ed99(0x565)]===0x0?null:_0x5b0dea(_0x48ed99(0x373),{'children':_0x29deb6(_0x48ed99(0x373),{'className':_0x48ed99(0x430),'children':[_0x5b0dea(_0xfcca9a,{'drawings':_0x340c31,'hasCropper':!0x1}),_0x5b0dea(_0x2e3641,{'drawings':_0x340c31})]})});}function fo(_0x4a9207){const _0x386962=_0x525a7c;let {shapeData:_0x245d9c,shapeId:_0x282a53,shapeType:_0x561c8a,version:_0x45a591,unitId:_0x1fe287,subUnitId:_0xfc5a72,disableShapeOption:_0x316db2}=_0x4a9207,_0x1c5a61=_0x516f3a(_0x3a0ae2),_0x25f15a=_0x40b171(_0x561c8a),[_0x4a7f55,_0x33dc02]=_0x2d71e0(0x0),_0x572e72=[{'label':_0x5b0dea(_0x386962(0x373),{'children':_0x1c5a61['t'](_0x386962(0x53e))}),'children':_0x5b0dea('section',{'className':_0x386962(0x5ec),'children':_0x5b0dea(ao,{'shapeId':_0x282a53,'shapeData':_0x245d9c,'isLineShape':_0x25f15a,'subUnitId':_0xfc5a72,'unitId':_0x1fe287,'disableShapeOption':_0x316db2},_0x282a53)})},{'label':_0x5b0dea(_0x386962(0x373),{'children':_0x1c5a61['t']('sheets-shape-ui.line.title')}),'children':_0x5b0dea(_0x386962(0x53a),{'className':_0x386962(0x5ec),'children':_0x5b0dea(lo,{'shapeId':_0x282a53,'shapeData':_0x245d9c,'isLineShape':_0x25f15a,'subUnitId':_0xfc5a72,'unitId':_0x1fe287,'disableShapeOption':_0x316db2},_0x282a53)})}];return _0x29deb6(_0x386962(0x373),{'className':'univer-size-full','children':[_0x29deb6('div',{'className':_0x386962(0x33f),'children':[_0x29deb6(_0x386962(0x373),{'className':_0x35d5e1('univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold',_0x4a7f55===0x0?_0x386962(0x58e):_0x386962(0x336)),'onClick':()=>_0x33dc02(0x0),'children':[_0x1c5a61['t'](_0x386962(0x451)),_0x5b0dea(_0x386962(0x373),{'className':_0x35d5e1('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x4a7f55===0x0,'univer-bg-transparent':_0x4a7f55!==0x0})})]}),_0x29deb6(_0x386962(0x373),{'className':_0x35d5e1(_0x386962(0x4f9),{'univer-text-primary-600':_0x4a7f55===0x1,'univer-text-gray-500':_0x4a7f55!==0x1}),'onClick':()=>_0x33dc02(0x1),'children':[_0x1c5a61['t']('sheets-shape-ui.shapePosition'),_0x5b0dea(_0x386962(0x373),{'className':_0x35d5e1(_0x386962(0x357),{'univer-bg-primary-600':_0x4a7f55===0x1,'univer-bg-transparent':_0x4a7f55!==0x1})})]})]}),_0x5b0dea(_0x386962(0x373),{'className':_0x386962(0x413),'children':_0x4a7f55===0x0?_0x5b0dea(_0x386962(0x373),{'className':'','children':_0x5b0dea(_0x49cee1,{'items':_0x572e72})},_0x45a591):_0x5b0dea(uo,{})})]});}var po=class extends _0x257ce2{constructor(_0x29b03f,_0x3b88e6){const _0x2075c9=_0x525a7c;super(_0x29b03f,_0x3b88e6),Y(this,_0x2075c9(0x54f),null),Y(this,_0x2075c9(0x495),null),Y(this,_0x2075c9(0x476),null),Y(this,'_subUnitId',null),_0x3b88e6&&this[_0x2075c9(0x3fc)](_0x3b88e6);}[_0x525a7c(0x445)](){const _0x4e8186=_0x525a7c;return{'unitId':this[_0x4e8186(0x476)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x4e8186(0x54f)]};}[_0x525a7c(0x3fc)](_0x3d57f1){const _0x324800=_0x525a7c;_0x3d57f1[_0x324800(0x35f)]!==void 0x0&&(this['_shapeId']=_0x3d57f1[_0x324800(0x35f)]),_0x3d57f1[_0x324800(0x2ea)]!==void 0x0&&(this['_adjName']=_0x3d57f1[_0x324800(0x2ea)]),_0x3d57f1[_0x324800(0x358)]!==void 0x0&&(this[_0x324800(0x476)]=_0x3d57f1[_0x324800(0x358)]),_0x3d57f1['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x3d57f1[_0x324800(0x2d8)]),this['transformByState']({'width':_0x3d57f1['width'],'height':_0x3d57f1[_0x324800(0x547)]});}[_0x525a7c(0x2b1)](_0x242f82){const _0x120d3f=_0x525a7c;_0x33b336[_0x120d3f(0x3a4)](_0x242f82,{'radius':_0xd80510[_0x120d3f(0x589)],'fill':_0xd80510[_0x120d3f(0x5b9)],'stroke':_0xd80510['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};let mo=class extends _0xb10ffb{constructor(_0x2bcec5,_0x2e773a,_0x308250,_0x531d29,_0x2d5d74,_0x5df161,_0x2ac60b,_0x35511c){const _0x4c1c15=_0x525a7c;super(),this[_0x4c1c15(0x693)]=_0x2bcec5,this[_0x4c1c15(0x4ed)]=_0x2e773a,this['_drawingManagerService']=_0x308250,this[_0x4c1c15(0x63f)]=_0x531d29,this[_0x4c1c15(0x677)]=_0x2d5d74,this[_0x4c1c15(0x575)]=_0x5df161,this[_0x4c1c15(0x511)]=_0x2ac60b,this[_0x4c1c15(0x67e)]=_0x35511c,Y(this,_0x4c1c15(0x2cd),null),Y(this,_0x4c1c15(0x476),null),Y(this,'_subUnitId',null),Y(this,_0x4c1c15(0x4af),void 0x0),Y(this,_0x4c1c15(0x272),[]),Y(this,'_baseShapeLeft',0x0),Y(this,_0x4c1c15(0x1ec),0x0),Y(this,_0x4c1c15(0x1da),0x0),Y(this,_0x4c1c15(0x3d1),0x0),Y(this,'_isStartAdjusting',!0x1),Y(this,_0x4c1c15(0x471),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x4c1c15(0x3dd),void 0x0),Y(this,_0x4c1c15(0x35c),void 0x0),Y(this,'_isShouldShowDrawingShapeAdjust',!0x1),this['_registerDrawingFocusChangeHandler'](),this[_0x4c1c15(0x3fe)]();}[_0x525a7c(0x479)](_0x42748b,_0x2c9930,_0x1174f7){const _0x4eee23=_0x525a7c;let _0x21b668=this[_0x4eee23(0x63f)][_0x4eee23(0x5ff)](_0x42748b,_0x2c9930,_0x1174f7);if(_0x21b668)return _0x21b668[_0x4eee23(0x49e)]();}[_0x525a7c(0x5b2)](){const _0x2716dd=_0x525a7c;this[_0x2716dd(0x32e)]();}[_0x525a7c(0x522)](){const _0x1680a4=_0x525a7c;this[_0x1680a4(0x5da)](!0x0);}[_0x525a7c(0x390)](_0x20ca18){const _0x48053c=_0x525a7c;this[_0x48053c(0x643)]=_0x20ca18;}[_0x525a7c(0x426)](_0x8a8c54,_0x40a801,_0x205764,_0x18faa7){const _0x34381a=_0x525a7c;let _0x53761a=this['_sheetsShapeService'][_0x34381a(0x5ff)](_0x8a8c54,_0x40a801,_0x205764);if(_0x53761a)return _0x53761a[_0x34381a(0x52d)](_0x18faa7);}['_createShapeAdjustControls'](_0x4c58d5=!0x1){const _0x3cd367=_0x525a7c;if(this['_unitId']===null||this[_0x3cd367(0x4ca)]===null||this[_0x3cd367(0x2cd)]===null)return;let _0x572d22=this[_0x3cd367(0x677)][_0x3cd367(0x5af)](this[_0x3cd367(0x476)]);if(!_0x572d22||!_0x572d22[_0x3cd367(0x503)](_0x1c741e)[_0x3cd367(0x574)]())return;let {scene:_0x3f2811}=_0x572d22,_0x4f6cdc={'unitId':this[_0x3cd367(0x476)],'subUnitId':this[_0x3cd367(0x4ca)],'drawingId':this[_0x3cd367(0x2cd)]},_0x26abf7=this['_drawingManagerService'][_0x3cd367(0x5c1)](_0x4f6cdc),{transform:_0x2898e6}=_0x26abf7;if(!_0x2898e6||_0x26abf7[_0x3cd367(0x626)]!==_0x663dcd[_0x3cd367(0x60a)])return;let {left:_0x40981a,top:_0x414544,width:_0x161c06,height:_0x3f729b,flipX:_0x3a5c31,flipY:_0x5d6526,angle:_0x172d77=0x0}=_0x2898e6;if(_0x40981a===void 0x0||_0x414544===void 0x0)return;_0x4c58d5&&(this['_activeShapeAdjustPointList']=this[_0x3cd367(0x479)](this['_unitId'],this['_subUnitId'],this[_0x3cd367(0x2cd)]));let _0xaa5093=this[_0x3cd367(0x4af)];for(let _0x320fea=0x0;_0x320fea<_0xaa5093[_0x3cd367(0x565)];_0x320fea++){let _0xbbf043=_0xaa5093[_0x320fea],_0x58e6ce=_0xbbf043['x'],_0x28c70d=_0xbbf043['y'];if(_0x3a5c31&&(_0x58e6ce=(_0x161c06||0x0)-_0x58e6ce),_0x5d6526&&(_0x28c70d=(_0x3f729b||0x0)-_0x28c70d),_0x172d77!==0x0){let _0xad18fe=(_0x161c06||0x0)/0x2,_0x4ec69c=(_0x3f729b||0x0)/0x2,_0x2a8487=_0x172d77*Math['PI']/0xb4,_0x348ea3=Math[_0x3cd367(0x294)](_0x2a8487),_0x31834a=Math[_0x3cd367(0x406)](_0x2a8487),_0x2d25a6=_0x58e6ce-_0xad18fe,_0x4a6323=_0x28c70d-_0x4ec69c;_0x58e6ce=_0xad18fe+(_0x2d25a6*_0x348ea3-_0x4a6323*_0x31834a),_0x28c70d=_0x4ec69c+(_0x2d25a6*_0x31834a+_0x4a6323*_0x348ea3);}let _0x1d0c2c={'x':_0x58e6ce,'y':_0x28c70d,'adjName':_0xbbf043[_0x3cd367(0x2ea)]};this[_0x3cd367(0x4a3)](_0x3f2811,_0x1d0c2c,_0x1d0c2c['adjName'],_0x40981a,_0x414544,this[_0x3cd367(0x476)],this['_subUnitId']);}}[_0x525a7c(0x5da)](_0x305b98=!0x1){const _0x10be9b=_0x525a7c;_0x305b98&&(this[_0x10be9b(0x32e)](),this['_createShapeAdjustControls'](_0x305b98));}[_0x525a7c(0x4a3)](_0x404ecf,_0x23dd7e,_0x40e260,_0x5f29b3,_0x1beaf1,_0x2ac9d9,_0x5803ac){const _0x578aa9=_0x525a7c;if(!this['_activeShapeId'])return;let _0x1d1c5a=_0x404ecf[_0x578aa9(0x54c)](_0x578aa9(0x3b1)+this[_0x578aa9(0x2cd)]+'-'+_0x40e260);if(_0x1d1c5a){_0x1d1c5a[_0x578aa9(0x44e)]({'left':_0x23dd7e['x']+_0x5f29b3-_0xd80510[_0x578aa9(0x589)],'top':_0x23dd7e['y']+_0x1beaf1-_0xd80510[_0x578aa9(0x589)]});return;}let _0xfa6e6c={'left':_0x23dd7e['x']+_0x5f29b3-_0xd80510['adjHandleSize'],'top':_0x23dd7e['y']+_0x1beaf1-_0xd80510[_0x578aa9(0x589)],'adjName':_0x40e260,'shapeId':this['_activeShapeId'],'unitId':_0x2ac9d9,'subUnitId':_0x5803ac,'width':_0xd80510[_0x578aa9(0x589)]+0x8,'height':_0xd80510[_0x578aa9(0x589)]+0x8,'zIndex':_0x230c50+0x1,'evented':!0x0},_0x5bd7ca=new po(_0x578aa9(0x3b1)+this[_0x578aa9(0x2cd)]+'-'+_0x40e260,_0xfa6e6c);this['_shapes']['push'](_0x5bd7ca),this[_0x578aa9(0x414)](_0x5bd7ca,_0x404ecf,_0x40e260),_0x404ecf[_0x578aa9(0x1fb)](_0x5bd7ca,_0x230c50+0x1);}[_0x525a7c(0x32e)](){const _0x1ffc3a=_0x525a7c;this['_shapes'][_0x1ffc3a(0x565)]!==0x0&&(this[_0x1ffc3a(0x272)][_0x1ffc3a(0x604)](_0x44688c=>{const _0x50eba0=_0x1ffc3a;_0x44688c[_0x50eba0(0x301)]();}),this[_0x1ffc3a(0x272)]=[]);}[_0x525a7c(0x64d)](){const _0xbdb9ab=_0x525a7c;this[_0xbdb9ab(0x398)]();}[_0x525a7c(0x66b)](_0x5cbee1,_0x43da6b){const _0x1ec40e=_0x525a7c;var _0x2bc13d;let _0x36f81c={'x':0x0,'y':0x0};if(!_0x5cbee1||!_0x43da6b)return _0x36f81c;let _0x58ef9f=this[_0x1ec40e(0x677)]['getRenderById'](_0x5cbee1);if(!_0x58ef9f||!_0x58ef9f['with'](_0x1c741e)[_0x1ec40e(0x382)](_0x43da6b))return _0x36f81c;let _0x534c89=_0x58ef9f[_0x1ec40e(0x503)](_0x70e53f),_0x5ef8a7=_0x534c89==null?void 0x0:_0x534c89[_0x1ec40e(0x310)]();if(!_0x5ef8a7)return _0x36f81c;let _0x92d6a3=(_0x2bc13d=this[_0x1ec40e(0x511)][_0x1ec40e(0x5a2)](_0x5cbee1))==null?void 0x0:_0x2bc13d[_0x1ec40e(0x456)](_0x43da6b);if(!_0x92d6a3)return _0x36f81c;let _0x54271d=_0x15b5d5(_0x5ef8a7[_0x1ec40e(0x66a)],_0x5ef8a7[_0x1ec40e(0x622)],_0x58ef9f['scene'],_0x92d6a3);return _0x54271d?{'x':_0x54271d['viewportScrollX'],'y':_0x54271d[_0x1ec40e(0x311)]}:_0x36f81c;}[_0x525a7c(0x419)](_0x8d1763,_0x295c39){const _0x6f53b0=_0x525a7c;var _0x2d9020,_0x408f04;let _0xd58b0f=(_0x2d9020=this[_0x6f53b0(0x511)][_0x6f53b0(0x5a2)](_0x8d1763))==null?void 0x0:_0x2d9020[_0x6f53b0(0x456)](_0x295c39);return(_0x408f04=_0xd58b0f==null?void 0x0:_0xd58b0f[_0x6f53b0(0x374)]())==null?0x1:_0x408f04;}[_0x525a7c(0x414)](_0x244311,_0x3009e3,_0x5bfdef){const _0x36d8a9=_0x525a7c;this['disposeWithMe'](_0x1a66ea(_0x244311[_0x36d8a9(0x629)][_0x36d8a9(0x5ad)]((_0x4d496a,_0x44e75c)=>{const _0x290a54=_0x36d8a9;var _0x2b2f3b,_0x4f7b37,_0x4bc280,_0x2b7dc2;let _0x448f21=_0x244311[_0x290a54(0x445)]();this['_activeAdjustInfo']=this[_0x290a54(0x426)](_0x448f21[_0x290a54(0x358)],_0x448f21[_0x290a54(0x2d8)],_0x448f21[_0x290a54(0x644)],_0x5bfdef),this[_0x290a54(0x58b)]=this['_sheetsShapeService'][_0x290a54(0x5ff)](_0x448f21[_0x290a54(0x358)],_0x448f21[_0x290a54(0x2d8)],_0x448f21[_0x290a54(0x644)]);let _0x3340c4=this['_drawingManagerService'][_0x290a54(0x5c1)]({'unitId':this[_0x290a54(0x476)],'subUnitId':this[_0x290a54(0x4ca)],'drawingId':this['_activeShapeId']}),{transform:_0x21f2d0}=_0x3340c4;if(_0x21f2d0){let {left:_0x38853e,top:_0xd6529f,width:_0xff14c,height:_0x52ea31}=_0x21f2d0;this[_0x290a54(0x2dc)]=_0x38853e||0x0,this['_baseShapeTop']=_0xd6529f||0x0,this[_0x290a54(0x1da)]=_0xff14c||0x0,this[_0x290a54(0x3d1)]=_0x52ea31||0x0;}let _0x2f2221=!!((_0x2b2f3b=_0x3340c4[_0x290a54(0x3f8)])!=null&&_0x2b2f3b[_0x290a54(0x277)]),_0x3ee644=!!((_0x4f7b37=_0x3340c4['transform'])!=null&&_0x4f7b37[_0x290a54(0x380)]),_0x58db94=((_0x4bc280=_0x3340c4[_0x290a54(0x3f8)])==null?void 0x0:_0x4bc280[_0x290a54(0x5d8)])||0x0;this[_0x290a54(0x51e)]=!0x0,_0x3009e3['disableObjectsEvent']();let _0x57a4a5=(_0x2b7dc2=this[_0x290a54(0x58b)])==null?void 0x0:_0x2b7dc2['getAdjustValueByName'](_0x5bfdef),_0x528360={[_0x5bfdef]:_0x57a4a5};this[_0x290a54(0x3dd)]=_0x3009e3['onPointerMove$']['subscribeEvent']((_0x3aa9d4,_0x36f39d)=>{const _0x42244d=_0x290a54;if(!this[_0x42244d(0x51e)])return;let {offsetX:_0x20b3c4,offsetY:_0x490159}=_0x3aa9d4,_0x1694ee=this[_0x42244d(0x471)];if(this[_0x42244d(0x58b)]&&_0x1694ee){_0x3009e3['disableObjectsEvent'](),_0x3009e3[_0x42244d(0x4c3)](_0x1f450c[_0x42244d(0x2de)]);let _0x394aa7={'left':0x0,'top':0x0,'width':this[_0x42244d(0x1da)],'height':this[_0x42244d(0x3d1)]},_0x36e534=this[_0x42244d(0x66b)](this[_0x42244d(0x476)],this[_0x42244d(0x4ca)]),_0x45a185=this[_0x42244d(0x419)](this[_0x42244d(0x476)],this[_0x42244d(0x4ca)]),_0x1ea467=_0x20b3c4/_0x45a185+_0x36e534['x']-this[_0x42244d(0x2dc)],_0x11c1c0=_0x490159/_0x45a185+_0x36e534['y']-this['_baseShapeTop'];if(_0x58db94!==0x0){let _0x24b6fa=this[_0x42244d(0x1da)]/0x2,_0x488bfb=this[_0x42244d(0x3d1)]/0x2,_0x13cec5=_0x58db94*Math['PI']/0xb4,_0x580355=Math[_0x42244d(0x294)](_0x13cec5),_0x2c817b=Math[_0x42244d(0x406)](_0x13cec5),_0x22a6e5=_0x1ea467-_0x24b6fa,_0x37c0b2=_0x11c1c0-_0x488bfb;_0x1ea467=_0x24b6fa+(_0x22a6e5*_0x580355+_0x37c0b2*_0x2c817b),_0x11c1c0=_0x488bfb+(-_0x22a6e5*_0x2c817b+_0x37c0b2*_0x580355);}_0x2f2221&&(_0x1ea467=this[_0x42244d(0x1da)]-_0x1ea467),_0x3ee644&&(_0x11c1c0=this['_baseShapeHeight']-_0x11c1c0);let _0x6f9256={'x':_0x1ea467,'y':_0x11c1c0},_0x4bdba4=this[_0x42244d(0x58b)][_0x42244d(0x241)](_0x394aa7,_0x6f9256,_0x1694ee,_0x2f2221,_0x3ee644),_0x3fc3ce=_0x1694ee['gdRefX']||_0x1694ee[_0x42244d(0x475)]||_0x1694ee[_0x42244d(0x48a)]||_0x1694ee['gdRefR'];if(_0x3fc3ce===void 0x0)return;this[_0x42244d(0x58b)]['setAdjustValueByName'](_0x3fc3ce,_0x4bdba4);let _0x422aac=this[_0x42244d(0x463)][_0x42244d(0x5c1)]({'unitId':_0x448f21[_0x42244d(0x358)],'subUnitId':_0x448f21[_0x42244d(0x2d8)],'drawingId':_0x448f21['drawingId']});_0x422aac&&(this[_0x42244d(0x575)][_0x42244d(0x36c)](_0x422aac,_0x3009e3),this[_0x42244d(0x4af)]=this[_0x42244d(0x479)](_0x448f21[_0x42244d(0x358)],_0x448f21[_0x42244d(0x2d8)],_0x448f21[_0x42244d(0x644)]),this[_0x42244d(0x64d)]());}_0x36f39d[_0x42244d(0x287)]();}),this[_0x290a54(0x35c)]=_0x3009e3[_0x290a54(0x1ef)][_0x290a54(0x5ad)]((_0x1213e6,_0x1211f2)=>{const _0x1b6673=_0x290a54;this[_0x1b6673(0x3dd)]['unsubscribe'](),this[_0x1b6673(0x35c)]['unsubscribe'](),_0x3009e3[_0x1b6673(0x4a0)]();let _0x30d48f=this[_0x1b6673(0x471)];if(_0x30d48f){let _0x425ff1=_0x448f21[_0x1b6673(0x358)],_0x17ecb5=_0x448f21[_0x1b6673(0x2d8)],_0x94f2e3=_0x448f21[_0x1b6673(0x644)],_0x3e94e0=_0x30d48f[_0x1b6673(0x307)]||_0x30d48f['gdRefY']||_0x30d48f[_0x1b6673(0x48a)]||_0x30d48f[_0x1b6673(0x334)];if(_0x3e94e0!==void 0x0){var _0x1e6880;let _0x630163=(_0x1e6880=this[_0x1b6673(0x58b)])==null?void 0x0:_0x1e6880[_0x1b6673(0x65b)](_0x3e94e0);_0x630163!==void 0x0&&Z(this[_0x1b6673(0x67e)],_0x425ff1,_0x17ecb5,_0x94f2e3,{'oldShapeData':{'adjustValues':_0x528360}},{'adjustValues':{[_0x3e94e0]:_0x630163}});}}this[_0x1b6673(0x471)]=void 0x0,this['_activeShapeModel']=void 0x0,this['_isStartAdjusting']=!0x1,_0x1211f2[_0x1b6673(0x287)](),_0x3009e3[_0x1b6673(0x64c)]();}),_0x44e75c['stopPropagation']();})));}['_registerDrawingMoveHandler'](){const _0x2d46bc=_0x525a7c;let _0x3ae752=this['_univerInstanceService'][_0x2d46bc(0x51c)](_0x482ea2['UNIVER_SHEET']);this[_0x2d46bc(0x1eb)](_0x3ae752['pipe'](_0x26f15b(_0x5bcbb1=>_0x5bcbb1?_0x5bcbb1[_0x2d46bc(0x66f)][_0x2d46bc(0x61f)](_0x26f15b(_0x23bc94=>{const _0x408856=_0x2d46bc;if(!_0x23bc94)return _0x10bd3c;let _0x1581d5=_0x5bcbb1[_0x408856(0x446)](),_0x141cff=this[_0x408856(0x677)][_0x408856(0x5af)](_0x1581d5),_0x53b223=_0x141cff==null?void 0x0:_0x141cff[_0x408856(0x689)];return _0x53b223?_0x327706(_0x53b223):_0x10bd3c;})):_0x10bd3c))['subscribe'](_0x56ee5c=>{const _0x55a6f3=_0x2d46bc;let _0x432315=_0x56ee5c[_0x55a6f3(0x3fb)]();this[_0x55a6f3(0x1eb)](_0x56ee5c[_0x55a6f3(0x4c5)][_0x55a6f3(0x5ad)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x55a6f3(0x1eb)](_0x432315[_0x55a6f3(0x312)][_0x55a6f3(0x56a)](_0x319281=>{const _0x334f12=_0x55a6f3;let {objects:_0x42cc4e}=_0x319281;this[_0x334f12(0x398)](),_0x42cc4e!==null&&_0x42cc4e[_0x334f12(0x29b)]===0x1&&_0x42cc4e[_0x334f12(0x421)]()['next']()[_0x334f12(0x607)]instanceof to&&this[_0x334f12(0x390)](!0x0);})),this[_0x55a6f3(0x1eb)](_0x432315[_0x55a6f3(0x27b)]['subscribe'](()=>{const _0x12b5c1=_0x55a6f3;this[_0x12b5c1(0x643)]&&this['_clearShapeAdjustControls']();})),this['disposeWithMe'](_0x56ee5c[_0x55a6f3(0x1ef)][_0x55a6f3(0x5ad)](()=>{const _0x4f3ab4=_0x55a6f3;this[_0x4f3ab4(0x643)]&&(this[_0x4f3ab4(0x390)](!0x1),this[_0x4f3ab4(0x398)]());})),this[_0x55a6f3(0x1eb)](_0x432315[_0x55a6f3(0x4e8)]['subscribe'](()=>{const _0x38dbd9=_0x55a6f3;this['_unitId']&&this['_subUnitId']&&this[_0x38dbd9(0x2cd)]&&this['_drawingManagerService'][_0x38dbd9(0x5c1)]({'unitId':this[_0x38dbd9(0x476)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x38dbd9(0x2cd)]})&&(this['_activeShapeAdjustPointList']=this[_0x38dbd9(0x479)](this[_0x38dbd9(0x476)],this[_0x38dbd9(0x4ca)],this['_activeShapeId']),this[_0x38dbd9(0x64d)]());}));}));}[_0x525a7c(0x368)](){const _0x7bf70d=_0x525a7c;this[_0x7bf70d(0x1eb)](this[_0x7bf70d(0x463)]['focus$'][_0x7bf70d(0x56a)](_0x583e73=>{const _0x1368a1=_0x7bf70d;if(_0x583e73[_0x1368a1(0x565)]===0x1){let _0x242168=_0x583e73[0x0];if(_0x242168[_0x1368a1(0x626)]===_0x663dcd[_0x1368a1(0x60a)]){this[_0x1368a1(0x2cd)]=_0x242168['drawingId'];let {unitId:_0x1f58ad,subUnitId:_0x3cf118}=_0x242168;this[_0x1368a1(0x4af)]=this['_getShapeAdjustPointListById'](_0x1f58ad,_0x3cf118,this[_0x1368a1(0x2cd)]),this[_0x1368a1(0x476)]=_0x1f58ad,this[_0x1368a1(0x4ca)]=_0x3cf118,this[_0x1368a1(0x32e)](),this[_0x1368a1(0x398)]();}else this[_0x1368a1(0x2cd)]=null,this[_0x1368a1(0x4af)]=void 0x0,this[_0x1368a1(0x476)]=null,this[_0x1368a1(0x4ca)]=null,this[_0x1368a1(0x32e)]();}(_0x583e73[_0x1368a1(0x565)]>0x1||_0x583e73['length']===0x0)&&(this['_activeShapeId']=null,this[_0x1368a1(0x4af)]=void 0x0,this[_0x1368a1(0x476)]=null,this[_0x1368a1(0x4ca)]=null,this[_0x1368a1(0x32e)]());})),this[_0x7bf70d(0x1eb)](this[_0x7bf70d(0x463)]['update$'][_0x7bf70d(0x56a)](_0x481985=>{const _0x22a801=_0x7bf70d;if(_0x481985[_0x22a801(0x565)]===0x1){var _0x109f72;let _0x50ffcb=_0x481985[0x0];((_0x109f72=this['_drawingManagerService'][_0x22a801(0x5c1)](_0x50ffcb))==null?void 0x0:_0x109f72[_0x22a801(0x626)])===_0x663dcd['DRAWING_SHAPE']&&this[_0x22a801(0x5da)](!0x0);}})),this[_0x7bf70d(0x1eb)](this[_0x7bf70d(0x463)][_0x7bf70d(0x662)][_0x7bf70d(0x56a)](_0x24a1b2=>{const _0x271faf=_0x7bf70d;for(let _0x452d3d of _0x24a1b2)this['_activeShapeId']===_0x452d3d[_0x271faf(0x644)]&&(this['_activeShapeId']=null,this[_0x271faf(0x4af)]=void 0x0,this[_0x271faf(0x476)]=null,this[_0x271faf(0x4ca)]=null,this[_0x271faf(0x32e)]());}));}};mo=$([Q(0x1,_0x58e33a),Q(0x2,_0x40f1b2),Q(0x3,_0x3293e1(_0xbf66b3)),Q(0x4,_0x3293e1(_0x243434)),Q(0x5,_0x3293e1(no)),Q(0x6,_0x757fa4),Q(0x7,_0x467978)],mo);const ho={'id':_0x525a7c(0x3c8),'type':_0x4c1e6f[_0x525a7c(0x4d3)],'handler':(_0x65094e,_0x1eea33)=>{const _0x52c369=_0x525a7c;let _0x13a5d3=_0x65094e[_0x52c369(0x49c)](_0x40f1b2),_0x496825=_0x65094e[_0x52c369(0x49c)](_0x243434),_0x1fe028=_0x65094e[_0x52c369(0x49c)](mo);if(_0x1eea33==null)return!0x0;if(_0x1eea33['length']>0x0){var _0x36abe9;let _0x22f416=(_0x36abe9=_0x496825[_0x52c369(0x5af)](_0x1eea33[0x0][_0x52c369(0x358)]))==null?void 0x0:_0x36abe9['scene'];if(_0x22f416){let {unitId:_0x24343c,subUnitId:_0xc0deb1,drawingId:_0x2b1447}=_0x1eea33[0x0],_0x233965=_0x3e269b({'unitId':_0x24343c,'subUnitId':_0xc0deb1,'drawingId':_0x2b1447},void 0x0),_0x3fe4ab=_0x22f416[_0x52c369(0x54c)](_0x233965);if(_0x3fe4ab){var _0x1a57a9;(_0x1a57a9=_0x496825[_0x52c369(0x5af)](_0x1eea33[0x0][_0x52c369(0x358)]))==null||(_0x1a57a9=_0x1a57a9[_0x52c369(0x689)]['getTransformer']())==null||_0x1a57a9[_0x52c369(0x4bd)](_0x3fe4ab);}}_0x13a5d3[_0x52c369(0x23c)](_0x1eea33),_0x1fe028['setShouldShowAdjust'](!0x1);}return!0x0;}},go={'type':_0x4c1e6f[_0x525a7c(0x68d)],'id':_0x525a7c(0x2a8),'handler':async(_0x1aeec4,_0x13b0c8)=>{const _0x1819cf=_0x525a7c;let _0x34d899=_0x398ea1(_0x1aeec4[_0x1819cf(0x49c)](_0x757fa4));if(!_0x34d899)return!0x1;let _0x31aacd=_0x1aeec4['get'](_0x37e123)[_0x1819cf(0x45e)]();if(!_0x31aacd)return!0x1;let _0x40680f=_0x1aeec4['get'](_0x467978),{unitId:_0xb71ed7,subUnitId:_0xd23c33}=_0x34d899,{value:_0x4c9aaf,enhanceParams:_0x561e2c}=_0x13b0c8,{range:_0x1342fe}=_0x31aacd,_0x500333={'unitId':_0xb71ed7,'subUnitId':_0xd23c33,'shapeType':_0x4c9aaf,'range':_0x1342fe,'shapeId':_0x176349()};if(_0x561e2c){let _0x37967b=_0x40b171(_0x4c9aaf),_0x427418=_0x4c9aaf===_0x160bb4[_0x1819cf(0x2a0)];_0x37967b&&(_0x561e2c['startArrow']||_0x561e2c[_0x1819cf(0x3ac)])&&(_0x500333[_0x1819cf(0x4c6)]={'ln':{'startArrow':_0x561e2c[_0x1819cf(0x577)]?{'type':_0x1e8a10['Arrow'],'size':_0xc154ac[_0x1819cf(0x378)]}:void 0x0,'endArrow':_0x561e2c['endArrow']?{'type':_0x1e8a10['Arrow'],'size':_0xc154ac[_0x1819cf(0x410)]}:void 0x0}}),_0x427418&&(_0x561e2c[_0x1819cf(0x685)]||_0x561e2c[_0x1819cf(0x30d)])&&(_0x500333['shapeData']={'fill':{'fillType':_0x4176d6['SolidFill'],'color':_0x1819cf(0x3bd)},'stroke':{'lineStrokeType':_0x478746['SolidLine'],'width':0x1,'color':'#bcbcbc'},'shapeText':{'isHorizontal':!!_0x561e2c[_0x1819cf(0x685)]}});}let _0x2e5b54=_0x40680f[_0x1819cf(0x4fb)](_0x19c0b7['id'],_0x500333);return setTimeout(()=>{const _0x3e43bc=_0x1819cf;_0x40680f[_0x3e43bc(0x67c)](ho['id'],[{'unitId':_0xb71ed7,'subUnitId':_0xd23c33,'drawingId':_0x500333[_0x3e43bc(0x35f)]}]);},0xc8),_0x2e5b54;}};let _o=class extends _0xb10ffb{constructor(_0x237fd8,_0x21656e){const _0x552b50=_0x525a7c;super(),this[_0x552b50(0x322)]=_0x237fd8,this[_0x552b50(0x463)]=_0x21656e,this[_0x552b50(0x5f5)](),this[_0x552b50(0x322)][_0x552b50(0x2be)](!0x0),this[_0x552b50(0x1eb)]({'dispose':()=>this['_clipService'][_0x552b50(0x2be)](!0x1)});}[_0x525a7c(0x5f5)](){const _0xa609cd=_0x525a7c;let _0xf8e712=this[_0xa609cd(0x322)],_0x1df5c2=new Map(),_0x5df2e2=_0xf8e712[_0xa609cd(0x634)]((_0x1fd41f,_0x1729cd,_0x41fc61,_0x3a3b89,_0x357974)=>{const _0x416072=_0xa609cd;let _0x17b6e3=_0x1729cd;if(_0x17b6e3===_0x160bb4[_0x416072(0x621)]||_0x1729cd===_0x416072(0x5aa))return!0x1;try{let _0x38fd8e=_0x1df5c2[_0x416072(0x49c)](_0x1729cd);return _0x38fd8e||(_0x38fd8e=new _0x4e6753(_0x17b6e3,'clip-'+_0x1729cd),_0x1df5c2[_0x416072(0x4aa)](_0x1729cd,_0x38fd8e)),_0x357974&&_0x38fd8e[_0x416072(0x50e)]({'adjustValues':_0x357974},!0x0),_0x38fd8e[_0x416072(0x4cf)]({'width':_0x41fc61,'height':_0x3a3b89}),_0x38fd8e[_0x416072(0x443)](_0x1fd41f,{'left':0x0,'top':0x0,'width':_0x41fc61,'height':_0x3a3b89});}catch{return!0x1;}});this['disposeWithMe'](_0x5df2e2),this[_0xa609cd(0x1eb)]({'dispose':()=>_0x1df5c2[_0xa609cd(0x598)]()});}['clipByShape'](_0x4e19fd,_0x4f3abd,_0x55d96f,_0x1bf940,_0x286be8){const _0x123178=_0x525a7c;let _0x41310d=this[_0x123178(0x463)]['getDrawingData'](_0x4e19fd,_0x4f3abd);if(!_0x41310d[_0x55d96f])return;let _0x12f908={..._0x41310d[_0x55d96f],'prstGeom':_0x1bf940,'adjustValues':_0x286be8};this['_drawingManagerService']['featurePluginUpdateNotification']([_0x12f908]);}};_o=$([Q(0x0,_0x3293e1(_0x332deb)),Q(0x1,_0x3293e1(_0x40f1b2))],_o);const vo=[{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x326)],'icon':_0x525a7c(0x4c0),'name':_0x525a7c(0x5f2)},{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x648)],'icon':_0x525a7c(0x4e9),'name':_0x525a7c(0x34b),'endArrow':!0x0},{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x648)],'icon':_0x525a7c(0x4f1),'name':_0x525a7c(0x48e),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x659)],'icon':_0x525a7c(0x38d),'name':_0x525a7c(0x581)},{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x659)],'icon':_0x525a7c(0x260),'name':_0x525a7c(0x5d2),'endArrow':!0x0},{'group':'line','type':_0x160bb4[_0x525a7c(0x659)],'icon':'ShapeBentConnector3Arrow2Icon','name':_0x525a7c(0x383),'endArrow':!0x0,'startArrow':!0x0},{'group':'line','type':_0x160bb4[_0x525a7c(0x4d5)],'icon':_0x525a7c(0x684),'name':_0x525a7c(0x5e9)},{'group':_0x525a7c(0x1d7),'type':_0x160bb4['CurvedConnector3'],'icon':_0x525a7c(0x55a),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':_0x525a7c(0x1d7),'type':_0x160bb4[_0x525a7c(0x4d5)],'icon':_0x525a7c(0x22f),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x525a7c(0x528),'type':_0x160bb4[_0x525a7c(0x2a0)],'icon':_0x525a7c(0x650),'name':_0x525a7c(0x32a)},{'group':'rectangle','type':_0x160bb4[_0x525a7c(0x3da)],'icon':_0x525a7c(0x440),'name':_0x525a7c(0x3cd)},{'group':_0x525a7c(0x528),'type':_0x160bb4[_0x525a7c(0x39a)],'icon':_0x525a7c(0x50b),'name':'sheets-shape-ui.shape.type.snip1-rect'},{'group':'rectangle','type':_0x160bb4[_0x525a7c(0x377)],'icon':_0x525a7c(0x387),'name':_0x525a7c(0x27f)},{'group':_0x525a7c(0x528),'type':_0x160bb4[_0x525a7c(0x640)],'icon':_0x525a7c(0x5a6),'name':_0x525a7c(0x4de)},{'group':_0x525a7c(0x528),'type':_0x160bb4['SnipRoundRect'],'icon':'ShapeSnipRoundRectIcon','name':_0x525a7c(0x5ba)},{'group':'rectangle','type':_0x160bb4[_0x525a7c(0x284)],'icon':_0x525a7c(0x432),'name':'sheets-shape-ui.shape.type.round1-rect'},{'group':'rectangle','type':_0x160bb4[_0x525a7c(0x5eb)],'icon':_0x525a7c(0x36e),'name':_0x525a7c(0x418)},{'group':_0x525a7c(0x528),'type':_0x160bb4['Round2DiagRect'],'icon':'ShapeRound2DiagRectIcon','name':_0x525a7c(0x68f)},{'group':_0x525a7c(0x267),'type':_0x160bb4['Rect'],'icon':_0x525a7c(0x661),'name':_0x525a7c(0x5f6),'horizontal':!0x0},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x2a0)],'icon':'ShapeRectTextboxVerticalIcon','name':'sheets-shape-ui.shape.type.rect-textbox-vertical','vertical':!0x0},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x49a)],'icon':_0x525a7c(0x5fc),'name':_0x525a7c(0x5ac)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x683)],'icon':'ShapeTriangleIcon','name':_0x525a7c(0x26a)},{'group':_0x525a7c(0x267),'type':_0x160bb4['RightTriangle'],'icon':_0x525a7c(0x38a),'name':_0x525a7c(0x342)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x262)],'icon':_0x525a7c(0x67f),'name':_0x525a7c(0x21c)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x388)],'icon':_0x525a7c(0x4c4),'name':_0x525a7c(0x407)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x4d2)],'icon':'ShapeDiamondIcon','name':_0x525a7c(0x2e7)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x62a)],'icon':_0x525a7c(0x21a),'name':_0x525a7c(0x200)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x5bb)],'icon':'ShapeHexagonIcon','name':_0x525a7c(0x28d)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x23b)],'icon':_0x525a7c(0x5b3),'name':_0x525a7c(0x3ff)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x3d4)],'icon':_0x525a7c(0x409),'name':'sheets-shape-ui.shape.type.octagon'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x46e)],'icon':_0x525a7c(0x50f),'name':_0x525a7c(0x34c)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x21e)],'icon':_0x525a7c(0x2d5),'name':_0x525a7c(0x244)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x33b)],'icon':_0x525a7c(0x2a5),'name':_0x525a7c(0x42d)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x4a8)],'icon':_0x525a7c(0x553),'name':_0x525a7c(0x1e0)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x3e0)],'icon':_0x525a7c(0x2a6),'name':_0x525a7c(0x29c)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x642)],'icon':'ShapeFrameIcon','name':_0x525a7c(0x441)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x514)],'icon':_0x525a7c(0x437),'name':_0x525a7c(0x1ed)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x379)],'icon':_0x525a7c(0x372),'name':_0x525a7c(0x282)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x3db)],'icon':_0x525a7c(0x305),'name':_0x525a7c(0x62f)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x5d7)],'icon':_0x525a7c(0x5e7),'name':_0x525a7c(0x2f5)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x2fa)],'icon':'ShapePlaqueIcon','name':_0x525a7c(0x678)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x532)],'icon':_0x525a7c(0x48c),'name':'sheets-shape-ui.shape.type.can'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x56b)],'icon':_0x525a7c(0x338),'name':_0x525a7c(0x687)},{'group':_0x525a7c(0x267),'type':_0x160bb4['Bevel'],'icon':'ShapeBevelIcon','name':_0x525a7c(0x25a)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x339)],'icon':_0x525a7c(0x462),'name':_0x525a7c(0x3d3)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x49d)],'icon':_0x525a7c(0x351),'name':'sheets-shape-ui.shape.type.no-smoking'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x481)],'icon':_0x525a7c(0x61d),'name':_0x525a7c(0x504)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x620)],'icon':'ShapeFolderCornerIcon','name':_0x525a7c(0x405)},{'group':_0x525a7c(0x267),'type':_0x160bb4['SmileyFace'],'icon':_0x525a7c(0x3e3),'name':_0x525a7c(0x5c8)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x586)],'icon':_0x525a7c(0x1e6),'name':'sheets-shape-ui.shape.type.heart'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x5f1)],'icon':_0x525a7c(0x340),'name':_0x525a7c(0x1ee)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x52b)],'icon':'ShapeSunIcon','name':_0x525a7c(0x696)},{'group':_0x525a7c(0x267),'type':_0x160bb4['Moon'],'icon':_0x525a7c(0x35d),'name':'sheets-shape-ui.shape.type.moon'},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x61e)],'icon':'ShapeCloudIcon','name':'sheets-shape-ui.shape.type.cloud'},{'group':'basicShape','type':_0x160bb4['Arc'],'icon':_0x525a7c(0x4f5),'name':_0x525a7c(0x3e7)},{'group':'basicShape','type':_0x160bb4[_0x525a7c(0x4d0)],'icon':_0x525a7c(0x67a),'name':'sheets-shape-ui.shape.type.bracket-pair'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x337)],'icon':_0x525a7c(0x318),'name':'sheets-shape-ui.shape.type.brace-pair'},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x5d3)],'icon':_0x525a7c(0x60d),'name':_0x525a7c(0x37f)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x5c4)],'icon':'ShapeRightBracketIcon','name':_0x525a7c(0x5ee)},{'group':_0x525a7c(0x267),'type':_0x160bb4[_0x525a7c(0x5d9)],'icon':_0x525a7c(0x308),'name':_0x525a7c(0x32f)},{'group':'basicShape','type':_0x160bb4['RightBrace'],'icon':_0x525a7c(0x2a3),'name':_0x525a7c(0x396)},{'group':_0x525a7c(0x668),'type':_0x160bb4['RightArrow'],'icon':_0x525a7c(0x526),'name':_0x525a7c(0x3cf)},{'group':'blockArrow','type':_0x160bb4[_0x525a7c(0x470)],'icon':_0x525a7c(0x420),'name':_0x525a7c(0x5ae)},{'group':_0x525a7c(0x668),'type':_0x160bb4['UpArrow'],'icon':_0x525a7c(0x2db),'name':_0x525a7c(0x658)},{'group':_0x525a7c(0x668),'type':_0x160bb4['DownArrow'],'icon':'ShapeDownArrowIcon','name':_0x525a7c(0x298)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x516)],'icon':'ShapeLeftRightArrowIcon','name':'sheets-shape-ui.shape.type.left-right-arrow'},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x442)],'icon':'ShapeUpDownArrowIcon','name':_0x525a7c(0x4d6)},{'group':_0x525a7c(0x668),'type':_0x160bb4['QuadArrow'],'icon':_0x525a7c(0x24a),'name':_0x525a7c(0x242)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x576)],'icon':_0x525a7c(0x1fc),'name':_0x525a7c(0x518)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x278)],'icon':_0x525a7c(0x295),'name':_0x525a7c(0x280)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x2d3)],'icon':_0x525a7c(0x206),'name':_0x525a7c(0x279)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x428)],'icon':_0x525a7c(0x43f),'name':_0x525a7c(0x612)},{'group':'blockArrow','type':_0x160bb4[_0x525a7c(0x20a)],'icon':_0x525a7c(0x20b),'name':_0x525a7c(0x303)},{'group':'blockArrow','type':_0x160bb4[_0x525a7c(0x1de)],'icon':_0x525a7c(0x2f4),'name':_0x525a7c(0x570)},{'group':_0x525a7c(0x668),'type':_0x160bb4['CurvedLeftArrow'],'icon':_0x525a7c(0x3af),'name':'sheets-shape-ui.shape.type.curved-left-arrow'},{'group':_0x525a7c(0x668),'type':_0x160bb4['CurvedUpArrow'],'icon':_0x525a7c(0x3f7),'name':_0x525a7c(0x2ab)},{'group':'blockArrow','type':_0x160bb4[_0x525a7c(0x205)],'icon':_0x525a7c(0x412),'name':_0x525a7c(0x519)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x21f)],'icon':'ShapeStripedRightArrowIcon','name':'sheets-shape-ui.shape.type.striped-right-arrow'},{'group':_0x525a7c(0x668),'type':_0x160bb4['NotchedRightArrow'],'icon':_0x525a7c(0x68a),'name':_0x525a7c(0x392)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x371)],'icon':_0x525a7c(0x2bb),'name':_0x525a7c(0x2b9)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x608)],'icon':_0x525a7c(0x38c),'name':'sheets-shape-ui.shape.type.chevron'},{'group':_0x525a7c(0x668),'type':_0x160bb4['RightArrowCallout'],'icon':'ShapeRightArrowCalloutIcon','name':_0x525a7c(0x415)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x3f6)],'icon':_0x525a7c(0x68e),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':'blockArrow','type':_0x160bb4['LeftArrowCallout'],'icon':_0x525a7c(0x4cb),'name':_0x525a7c(0x4a5)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x62e)],'icon':_0x525a7c(0x5c6),'name':_0x525a7c(0x669)},{'group':_0x525a7c(0x668),'type':_0x160bb4[_0x525a7c(0x61c)],'icon':'ShapeLeftRightArrowCalloutIcon','name':_0x525a7c(0x30f)},{'group':'blockArrow','type':_0x160bb4[_0x525a7c(0x627)],'icon':_0x525a7c(0x2a2),'name':_0x525a7c(0x31a)},{'group':'blockArrow','type':_0x160bb4['CircularArrow'],'icon':_0x525a7c(0x2c1),'name':_0x525a7c(0x4a2)},{'group':_0x525a7c(0x486),'type':_0x160bb4['MathPlus'],'icon':'ShapeMathPlusIcon','name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x525a7c(0x486),'type':_0x160bb4[_0x525a7c(0x509)],'icon':_0x525a7c(0x2e4),'name':_0x525a7c(0x5e2)},{'group':_0x525a7c(0x486),'type':_0x160bb4[_0x525a7c(0x21b)],'icon':_0x525a7c(0x63b),'name':'sheets-shape-ui.shape.type.math-multiply'},{'group':'equationShape','type':_0x160bb4[_0x525a7c(0x25c)],'icon':'ShapeMathDivideIcon','name':_0x525a7c(0x20f)},{'group':_0x525a7c(0x486),'type':_0x160bb4[_0x525a7c(0x47b)],'icon':_0x525a7c(0x328),'name':_0x525a7c(0x4b8)},{'group':_0x525a7c(0x486),'type':_0x160bb4['MathNotEqual'],'icon':'ShapeMathNotEqualIcon','name':_0x525a7c(0x500)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x5b0)],'icon':_0x525a7c(0x4a6),'name':_0x525a7c(0x4c2)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x283)],'icon':_0x525a7c(0x5cc),'name':_0x525a7c(0x5fe)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartDecision'],'icon':_0x525a7c(0x367),'name':_0x525a7c(0x58f)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x561)],'icon':_0x525a7c(0x4c9),'name':_0x525a7c(0x5a4)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartPredefinedProcess'],'icon':_0x525a7c(0x230),'name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':'flowchart','type':_0x160bb4['FlowchartInternalStorage'],'icon':_0x525a7c(0x209),'name':_0x525a7c(0x51d)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartDocument'],'icon':_0x525a7c(0x506),'name':'sheets-shape-ui.shape.type.flow-chart-document'},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x1dd)],'icon':'ShapeFlowChartMultidocumentIcon','name':_0x525a7c(0x55b)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x225)],'icon':'ShapeFlowChartTerminatorIcon','name':_0x525a7c(0x588)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x22d)],'icon':_0x525a7c(0x221),'name':_0x525a7c(0x64f)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x694)],'icon':_0x525a7c(0x478),'name':_0x525a7c(0x58a)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x681)],'icon':_0x525a7c(0x5f3),'name':_0x525a7c(0x3dc)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x66d)],'icon':_0x525a7c(0x37e),'name':_0x525a7c(0x654)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x5a1)],'icon':_0x525a7c(0x2fe),'name':_0x525a7c(0x682)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartPunchedCard'],'icon':_0x525a7c(0x5e6),'name':_0x525a7c(0x2ed)},{'group':'flowchart','type':_0x160bb4[_0x525a7c(0x369)],'icon':_0x525a7c(0x4fe),'name':_0x525a7c(0x4e6)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartSummingJunction'],'icon':_0x525a7c(0x55d),'name':_0x525a7c(0x639)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartOr'],'icon':_0x525a7c(0x256),'name':'sheets-shape-ui.shape.type.flow-chart-or'},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x3ba)],'icon':_0x525a7c(0x39f),'name':'sheets-shape-ui.shape.type.flow-chart-collate'},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x4b9)],'icon':_0x525a7c(0x62b),'name':_0x525a7c(0x35a)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x4d8)],'icon':'ShapeFlowChartExtractIcon','name':_0x525a7c(0x647)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x363)],'icon':_0x525a7c(0x517),'name':_0x525a7c(0x434)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x291)],'icon':'ShapeFlowChartOnlineStorageIcon','name':_0x525a7c(0x23f)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartDelay'],'icon':'ShapeFlowChartDelayIcon','name':_0x525a7c(0x21d)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4['FlowchartMagneticTape'],'icon':_0x525a7c(0x360),'name':_0x525a7c(0x5fa)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x39e)],'icon':'ShapeFlowChartMagneticDiskIcon','name':_0x525a7c(0x44b)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x391)],'icon':_0x525a7c(0x3bb),'name':_0x525a7c(0x485)},{'group':_0x525a7c(0x5d4),'type':_0x160bb4[_0x525a7c(0x4b5)],'icon':'ShapeFlowChartDisplayIcon','name':_0x525a7c(0x533)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['IrregularSeal1'],'icon':_0x525a7c(0x288),'name':_0x525a7c(0x1ea)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x525)],'icon':_0x525a7c(0x472),'name':_0x525a7c(0x68b)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x1ff)],'icon':'ShapeStar4Icon','name':_0x525a7c(0x3c9)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['Star5'],'icon':_0x525a7c(0x4cc),'name':_0x525a7c(0x3b0)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x3e5)],'icon':_0x525a7c(0x56e),'name':_0x525a7c(0x4a9)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['Star7'],'icon':'ShapeStar7Icon','name':_0x525a7c(0x227)},{'group':'starAndBanner','type':_0x160bb4[_0x525a7c(0x4fd)],'icon':'ShapeStar8Icon','name':_0x525a7c(0x32d)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x248)],'icon':_0x525a7c(0x356),'name':_0x525a7c(0x202)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['Star12'],'icon':_0x525a7c(0x1e7),'name':_0x525a7c(0x3d8)},{'group':'starAndBanner','type':_0x160bb4[_0x525a7c(0x494)],'icon':_0x525a7c(0x257),'name':_0x525a7c(0x51f)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x542)],'icon':_0x525a7c(0x2a1),'name':_0x525a7c(0x4e3)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['Star32'],'icon':_0x525a7c(0x2fb),'name':'sheets-shape-ui.shape.type.star32'},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x2fd)],'icon':'ShapeRibbon2Icon','name':'sheets-shape-ui.shape.type.ribbon2'},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x4dd)],'icon':_0x525a7c(0x3bc),'name':'sheets-shape-ui.shape.type.ribbon'},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x3e2)],'icon':_0x525a7c(0x555),'name':_0x525a7c(0x332)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x477)],'icon':_0x525a7c(0x67d),'name':'sheets-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x525a7c(0x2bf),'type':_0x160bb4[_0x525a7c(0x5f9)],'icon':_0x525a7c(0x401),'name':_0x525a7c(0x243)},{'group':_0x525a7c(0x2bf),'type':_0x160bb4['HorizontalScroll'],'icon':_0x525a7c(0x389),'name':_0x525a7c(0x53f)},{'group':'starAndBanner','type':_0x160bb4['Wave'],'icon':_0x525a7c(0x1e8),'name':'sheets-shape-ui.shape.type.wave'},{'group':'starAndBanner','type':_0x160bb4['DoubleWave'],'icon':_0x525a7c(0x591),'name':_0x525a7c(0x40a)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x635)],'icon':_0x525a7c(0x1f6),'name':_0x525a7c(0x24b)},{'group':'callout','type':_0x160bb4[_0x525a7c(0x37d)],'icon':_0x525a7c(0x692),'name':_0x525a7c(0x2fc)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x2cb)],'icon':_0x525a7c(0x667),'name':_0x525a7c(0x3a6)},{'group':_0x525a7c(0x36a),'type':_0x160bb4['CloudCallout'],'icon':_0x525a7c(0x293),'name':_0x525a7c(0x5fd)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x3f0)],'icon':_0x525a7c(0x346),'name':_0x525a7c(0x422)},{'group':_0x525a7c(0x36a),'type':_0x160bb4['BorderCallout2'],'icon':_0x525a7c(0x361),'name':'sheets-shape-ui.shape.type.border-callout2'},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x697)],'icon':_0x525a7c(0x219),'name':_0x525a7c(0x3ed)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x631)],'icon':_0x525a7c(0x461),'name':_0x525a7c(0x460)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x484)],'icon':_0x525a7c(0x44d),'name':_0x525a7c(0x5a3)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x5d1)],'icon':_0x525a7c(0x3ae),'name':_0x525a7c(0x3c7)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x399)],'icon':_0x525a7c(0x4f6),'name':_0x525a7c(0x268)},{'group':'callout','type':_0x160bb4['Callout2'],'icon':'ShapeCallout2Icon','name':_0x525a7c(0x5fb)},{'group':'callout','type':_0x160bb4[_0x525a7c(0x247)],'icon':_0x525a7c(0x2f0),'name':_0x525a7c(0x541)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x349)],'icon':_0x525a7c(0x57e),'name':_0x525a7c(0x40e)},{'group':_0x525a7c(0x36a),'type':_0x160bb4[_0x525a7c(0x400)],'icon':_0x525a7c(0x297),'name':'sheets-shape-ui.shape.type.accent-border-callout2'},{'group':'callout','type':_0x160bb4[_0x525a7c(0x4e0)],'icon':'ShapeAccentBorderCallout3Icon','name':_0x525a7c(0x22e)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x527)],'icon':'ShapeLeftCircularArrowIcon','name':'sheets-shape-ui.shape.type.left-circular-arrow'},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x585)],'icon':'ShapeLeftRightCircularArrowIcon','name':'sheets-shape-ui.shape.type.left-right-circular-arrow'},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x258)],'icon':_0x525a7c(0x4dc),'name':_0x525a7c(0x448)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x4ad)],'icon':_0x525a7c(0x57d),'name':'sheets-shape-ui.shape.type.left-right-ribbon'},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x3f1)],'icon':_0x525a7c(0x1e1),'name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x4ea)],'icon':_0x525a7c(0x5e8),'name':_0x525a7c(0x699)},{'group':'other','type':_0x160bb4[_0x525a7c(0x498)],'icon':_0x525a7c(0x203),'name':_0x525a7c(0x59c)},{'group':'other','type':_0x160bb4[_0x525a7c(0x43c)],'icon':_0x525a7c(0x4b1),'name':_0x525a7c(0x216)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x33c)],'icon':_0x525a7c(0x59d),'name':_0x525a7c(0x223)},{'group':'other','type':_0x160bb4[_0x525a7c(0x3a3)],'icon':_0x525a7c(0x625),'name':_0x525a7c(0x5bc)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x23d)],'icon':_0x525a7c(0x296),'name':_0x525a7c(0x3ca)},{'group':_0x525a7c(0x679),'type':_0x160bb4['ActionButtonBeginning'],'icon':'ShapeActionButtonBeginningIcon','name':_0x525a7c(0x623)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x393)],'icon':_0x525a7c(0x229),'name':_0x525a7c(0x25b)},{'group':'other','type':_0x160bb4['ActionButtonHome'],'icon':'ShapeActionButtonHomeIcon','name':_0x525a7c(0x5dc)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x60c)],'icon':_0x525a7c(0x316),'name':_0x525a7c(0x2d6)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x212)],'icon':'ShapeActionButtonReturnIcon','name':'sheets-shape-ui.shape.type.action-button-return'},{'group':_0x525a7c(0x679),'type':_0x160bb4['ActionButtonMovie'],'icon':_0x525a7c(0x54e),'name':'sheets-shape-ui.shape.type.action-button-movie'},{'group':'other','type':_0x160bb4[_0x525a7c(0x1f1)],'icon':_0x525a7c(0x51b),'name':_0x525a7c(0x31b)},{'group':_0x525a7c(0x679),'type':_0x160bb4['ActionButtonSound'],'icon':_0x525a7c(0x5ce),'name':_0x525a7c(0x5ca)},{'group':'other','type':_0x160bb4['ActionButtonHelp'],'icon':_0x525a7c(0x1f2),'name':_0x525a7c(0x37b)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x3bf)],'icon':_0x525a7c(0x2af),'name':_0x525a7c(0x43e)},{'group':'other','type':_0x160bb4[_0x525a7c(0x22c)],'icon':_0x525a7c(0x43d),'name':_0x525a7c(0x3ad)},{'group':'other','type':_0x160bb4[_0x525a7c(0x1db)],'icon':_0x525a7c(0x47a),'name':_0x525a7c(0x691)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x28a)],'icon':_0x525a7c(0x66e),'name':'sheets-shape-ui.shape.type.chart-x'},{'group':_0x525a7c(0x679),'type':_0x160bb4['FlowChartOfflineStorage'],'icon':_0x525a7c(0x249),'name':_0x525a7c(0x28b)},{'group':'other','type':_0x160bb4[_0x525a7c(0x2c9)],'icon':_0x525a7c(0x214),'name':_0x525a7c(0x2b3)},{'group':_0x525a7c(0x679),'type':_0x160bb4['PlaqueTabs'],'icon':'ShapePlaqueTabsIcon','name':_0x525a7c(0x41c)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x344)],'icon':'ShapeSquareTabsIcon','name':'sheets-shape-ui.shape.type.square-tabs'},{'group':'other','type':_0x160bb4[_0x525a7c(0x3c0)],'icon':_0x525a7c(0x26b),'name':_0x525a7c(0x65e)},{'group':_0x525a7c(0x679),'type':_0x160bb4[_0x525a7c(0x552)],'icon':_0x525a7c(0x48f),'name':_0x525a7c(0x353)}],yo=_0x525a7c(0x610);function bo({onShapeClick:_0x29af08,excludeGroups:_0x1f6f41}){const _0x28ab39=_0x525a7c;let _0x46634a=_0x516f3a(_0x3a0ae2),_0x1b8d30=_0x516f3a(_0x5fdd99),_0x31e522=(_0x1f6f41?vo['filter'](_0x146aba=>!_0x1f6f41['includes'](_0x146aba[_0x28ab39(0x520)])):vo)['reduce']((_0x31af7d,_0x535efd)=>(_0x31af7d[_0x535efd[_0x28ab39(0x520)]]||(_0x31af7d[_0x535efd[_0x28ab39(0x520)]]=[]),_0x31af7d[_0x535efd[_0x28ab39(0x520)]][_0x28ab39(0x564)](_0x535efd),_0x31af7d),{});return _0x5b0dea('div',{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0x28ab39(0x34f)](_0x31e522)[_0x28ab39(0x2b4)](([_0x108c50,_0x57eb37])=>_0x29deb6(_0x28ab39(0x373),{'className':'univer-mb-2','children':[_0x5b0dea(_0x28ab39(0x373),{'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':_0x46634a['t']('sheets-shape-ui.shape.group.'+_0x108c50)}),_0x5b0dea(_0x28ab39(0x373),{'className':_0x28ab39(0x584),'children':_0x57eb37[_0x28ab39(0x2b4)](_0xd921c3=>{const _0x99eeaa=_0x28ab39;let _0x16c49a=_0x1b8d30[_0x99eeaa(0x49c)](_0xd921c3[_0x99eeaa(0x50a)]);return _0x5b0dea(_0x99eeaa(0x373),{'title':_0x46634a['t'](_0xd921c3[_0x99eeaa(0x3a7)]),'onClick':()=>_0x29af08(_0xd921c3),'className':_0x99eeaa(0x41d),'children':_0x16c49a&&_0x5b0dea(_0x16c49a,{'className':'univer-size-full'})},_0xd921c3[_0x99eeaa(0x3a7)]);})})]},_0x108c50))});}function xo(){const _0x197410=_0x525a7c;let _0x374ed8=_0x516f3a(_0x3a0ae2),_0x1d13b6=_0x516f3a(_0x40f1b2),_0x3260d0=_0x516f3a(_o),[_0x55531e,_0x5b691b]=_0x2d71e0(!0x1);return _0x5b0dea(_0x1cf8a8,{'side':_0x197410(0x571),'open':_0x55531e,'onOpenChange':_0x5b691b,'overlay':_0x5b0dea(bo,{'onShapeClick':_0x1d0424=>{const _0x4d2741=_0x197410;let _0x211191=_0x1d13b6[_0x4d2741(0x559)]()[_0x4d2741(0x46c)](_0x2e6c4c=>_0x2e6c4c[_0x4d2741(0x626)]===_0x663dcd['DRAWING_IMAGE']);if(!_0x211191)return;let {unitId:_0x3a5ee9,subUnitId:_0x4e0c14,drawingId:_0x5b808e}=_0x211191;_0x3260d0[_0x4d2741(0x636)](_0x3a5ee9,_0x4e0c14,_0x5b808e,_0x1d0424['type']),_0x5b691b(!0x1);},'excludeGroups':[_0x197410(0x1d7)]}),'children':_0x5b0dea(_0x19aa67,{'children':_0x374ed8['t'](_0x197410(0x2f3))})});}function So(){let _0x2f1575=_0x516f3a(_0x467978);return _0x5b0dea(bo,{'onShapeClick':_0x167d53=>{const _0x443539=_0xa649;_0x2f1575[_0x443539(0x67c)](go['id'],{'value':_0x167d53[_0x443539(0x2d4)],'enhanceParams':{'endArrow':_0x167d53['endArrow'],'startArrow':_0x167d53['startArrow'],'horizontal':_0x167d53[_0x443539(0x685)],'vertical':_0x167d53['vertical']}});}});}_0x230fa2[_0x525a7c(0x362)],_0x230fa2['CENTER'],_0x230fa2[_0x525a7c(0x416)];function Co(_0x1f245f){const _0x345332=_0x525a7c;let _0x4973eb=_0x1f245f[_0x345332(0x49c)](_0x58e33a),_0x248665=_0x1f245f[_0x345332(0x49c)](_0x31a147);return{'id':_0x9d2e38['id'],'tooltip':_0x345332(0x34e),'type':_0x19cab9[_0x345332(0x545)],'icon':_0x345332(0x4e7),'selections':[{'label':{'name':_0x1d8aab,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x5967a1(_0x51a189=>{const _0x24329d=_0x345332;_0x51a189['next'](_0x248665[_0x24329d(0x64a)]('primary.600'));}),'hidden$':_0x4973eb[_0x345332(0x4ab)](_0x3ee166)[_0x345332(0x61f)](_0x20bc2a(_0x4973eb[_0x345332(0x2e1)](_0x3ee166)),_0x369159(_0x3f9009=>!_0x3f9009))};}function wo(_0x15b1bc){const _0x10d172=_0x525a7c;let _0x2270b0=_0x15b1bc[_0x10d172(0x49c)](_0x58e33a);return{'id':_0x1d32dd['id'],'type':_0x19cab9[_0x10d172(0x594)],'title':_0x10d172(0x2a4),'hidden$':_0x2270b0[_0x10d172(0x4ab)](_0x3ee166)[_0x10d172(0x61f)](_0x20bc2a(_0x2270b0[_0x10d172(0x2e1)](_0x3ee166)),_0x369159(_0x3a587b=>!_0x3a587b))};}const To=[{'label':_0x525a7c(0x5a0),'icon':_0x525a7c(0x26d),'value':_0x230fa2['LEFT']},{'label':_0x525a7c(0x457),'icon':_0x525a7c(0x252),'value':_0x230fa2['CENTER']},{'label':_0x525a7c(0x231),'icon':_0x525a7c(0x656),'value':_0x230fa2[_0x525a7c(0x416)]}];function Eo(_0x5d2e5f){const _0xd575e8=_0x525a7c;var _0x16fa96;let _0x5a464e=_0x5d2e5f[_0xd575e8(0x49c)](_0x467978),_0x20e405=_0x5d2e5f[_0xd575e8(0x49c)](_0x58e33a),_0x44519e=_0x5d2e5f['get'](_0x1e4c00),_0x51924c=_0x5d2e5f[_0xd575e8(0x49c)](X),_0x19b6eb=_0x5d2e5f[_0xd575e8(0x49c)](_0xbf66b3),_0x4438e2=_0x230fa2[_0xd575e8(0x362)],_0x561b71=()=>{const _0x561165=_0xd575e8;var _0x3ee971;let _0x8f0b18=_0x44519e[_0x561165(0x559)]()[_0x561165(0x56d)](_0x35b10a=>_0x35b10a[_0x561165(0x626)]===_0x663dcd['DRAWING_SHAPE']);if(_0x8f0b18['length']!==0x1)return _0x4438e2;let _0x1f1865=_0x51924c[_0x561165(0x255)](),_0x1dcbb3=(_0x1f1865==null?void 0x0:_0x1f1865[_0x561165(0x358)])||_0x8f0b18[0x0][_0x561165(0x358)],_0x910bfd=(_0x1f1865==null?void 0x0:_0x1f1865[_0x561165(0x2d8)])||_0x8f0b18[0x0]['subUnitId'],_0xd0e0c3=(_0x1f1865==null?void 0x0:_0x1f1865[_0x561165(0x35f)])||_0x8f0b18[0x0][_0x561165(0x644)],_0x52d8d2=_0x19b6eb[_0x561165(0x5ff)](_0x1dcbb3,_0x910bfd,_0xd0e0c3);if(!_0x52d8d2)return _0x4438e2;let _0x3b7b39=_0x52d8d2[_0x561165(0x313)]();if(!_0x3b7b39||!(_0x561165(0x4b2)in _0x3b7b39))return _0x4438e2;let _0x3b881f=_0x3b7b39[_0x561165(0x4b2)];return(_0x3ee971=_0x3b881f==null?void 0x0:_0x3b881f['ha'])==null?_0x4438e2:_0x3ee971;};return{'id':Ha['id'],'icon':(_0x16fa96=To['find'](_0x4467f6=>_0x4467f6['value']===_0x4438e2))==null?void 0x0:_0x16fa96[_0xd575e8(0x50a)],'tooltip':_0xd575e8(0x4bf),'type':_0x19cab9[_0xd575e8(0x42e)],'selections':To,'value$':new _0x5967a1(_0x3c6664=>{const _0x4956f7=_0xd575e8;let _0x34b864=_0x5a464e[_0x4956f7(0x557)](_0x51ae5f=>{_0x51ae5f['id']===Ha['id']&&_0x3c6664['next'](_0x561b71());}),_0x18d0e1=_0x51924c[_0x4956f7(0x327)]['subscribe'](()=>{const _0xc3d928=_0x4956f7;_0x3c6664[_0xc3d928(0x4e5)](_0x561b71());});return _0x3c6664[_0x4956f7(0x4e5)](_0x561b71()),()=>{const _0xd6384=_0x4956f7;_0x34b864[_0xd6384(0x301)](),_0x18d0e1[_0xd6384(0x61b)]();};}),'hidden$':_0x20e405[_0xd575e8(0x4ab)](_0x3ee166)[_0xd575e8(0x61f)](_0x369159(_0x2f6771=>!_0x2f6771))};}const Do=[{'label':_0x525a7c(0x3df),'icon':_0x525a7c(0x3fa),'value':_0x985993['TOP']},{'label':'sheets-shape-ui.align.middle','icon':'VerticalCenterIcon','value':_0x985993[_0x525a7c(0x24d)]},{'label':_0x525a7c(0x53c),'icon':_0x525a7c(0x4e2),'value':_0x985993['BOTTOM']}];function Oo(_0x573ad7){const _0x4ca02a=_0x525a7c;var _0x4e95d6;let _0x3ae768=_0x573ad7[_0x4ca02a(0x49c)](_0x467978),_0x5c0151=_0x573ad7[_0x4ca02a(0x49c)](_0x58e33a),_0x3b9d21=_0x573ad7['get'](_0x1e4c00),_0x306f23=_0x573ad7[_0x4ca02a(0x49c)](X),_0x40e298=_0x573ad7[_0x4ca02a(0x49c)](_0xbf66b3),_0x211e91=_0x985993[_0x4ca02a(0x660)],_0x3188d1=()=>{const _0x2411d9=_0x4ca02a;var _0x3aaa3c;let _0x83b6e6=_0x3b9d21[_0x2411d9(0x559)]()[_0x2411d9(0x56d)](_0x50768c=>_0x50768c[_0x2411d9(0x626)]===_0x663dcd[_0x2411d9(0x60a)]);if(_0x83b6e6[_0x2411d9(0x565)]!==0x1)return _0x211e91;let _0x46fad8=_0x306f23[_0x2411d9(0x255)](),_0x44b68c=(_0x46fad8==null?void 0x0:_0x46fad8[_0x2411d9(0x358)])||_0x83b6e6[0x0][_0x2411d9(0x358)],_0x992ae7=(_0x46fad8==null?void 0x0:_0x46fad8['subUnitId'])||_0x83b6e6[0x0][_0x2411d9(0x2d8)],_0x239399=(_0x46fad8==null?void 0x0:_0x46fad8[_0x2411d9(0x35f)])||_0x83b6e6[0x0]['drawingId'],_0x2d7547=_0x40e298[_0x2411d9(0x5ff)](_0x44b68c,_0x992ae7,_0x239399);if(!_0x2d7547)return _0x211e91;let _0x50e4e1=_0x2d7547[_0x2411d9(0x313)]();if(!_0x50e4e1||!('dataModel'in _0x50e4e1))return _0x211e91;let _0x491081=_0x50e4e1[_0x2411d9(0x4b2)];return(_0x3aaa3c=_0x491081==null?void 0x0:_0x491081['va'])==null?_0x211e91:_0x3aaa3c;};return{'id':Ka['id'],'icon':(_0x4e95d6=Do[_0x4ca02a(0x46c)](_0x4b3830=>_0x4b3830[_0x4ca02a(0x607)]===_0x211e91))==null?void 0x0:_0x4e95d6[_0x4ca02a(0x50a)],'tooltip':_0x4ca02a(0x5f4),'type':_0x19cab9['SELECTOR'],'selections':Do,'value$':new _0x5967a1(_0x369ae1=>{const _0x34abd0=_0x4ca02a;let _0x59af59=_0x3ae768['onCommandExecuted'](_0x5d5c46=>{_0x5d5c46['id']===Ka['id']&&_0x369ae1['next'](_0x3188d1());}),_0x301f94=_0x306f23['editingParams$'][_0x34abd0(0x56a)](()=>{const _0x51c33f=_0x34abd0;_0x369ae1[_0x51c33f(0x4e5)](_0x3188d1());});return _0x369ae1[_0x34abd0(0x4e5)](_0x3188d1()),()=>{const _0x338ea5=_0x34abd0;_0x59af59['dispose'](),_0x301f94[_0x338ea5(0x61b)]();};}),'hidden$':_0x5c0151[_0x4ca02a(0x4ab)](_0x3ee166)[_0x4ca02a(0x61f)](_0x369159(_0x4c1747=>!_0x4c1747))};}function ko(_0x105a88){const _0x544c3e=_0x525a7c;let _0x4d1340=_0x105a88[_0x544c3e(0x49c)](_0x757fa4);return{'id':go['id'],'type':_0x19cab9[_0x544c3e(0x42e)],'selections':[{'label':{'name':yo,'hoverable':!0x1,'selectable':!0x1,'props':{'id':go['id']}}}],'icon':_0x544c3e(0x31c),'tooltip':_0x544c3e(0x25f),'activated$':_0x437d00(_0x4d1340,!0x1,()=>new _0x5967a1(_0x8175e=>{const _0x1fc622=_0x544c3e;_0x8175e[_0x1fc622(0x4e5)](!0x1);})),'hidden$':_0x584a9a(_0x105a88,_0x482ea2['UNIVER_SHEET']),'disabled$':_0x532fb2(_0x105a88)};}const Ao={[_0x1a3c69[_0x525a7c(0x24c)]]:{[_0x1df94a[_0x525a7c(0x3c1)]]:{[Ka['id']]:{'order':3.5,'menuItemFactory':Oo},[Ha['id']]:{'order':3.4,'menuItemFactory':Eo}},[_0x1df94a[_0x525a7c(0x2da)]]:{[_0x9d2e38['id']]:{'order':0x1,'menuItemFactory':Co,[_0x1d32dd['id']]:{'order':0x0,'menuItemFactory':wo}}}},[_0x11fdea[_0x525a7c(0x502)]]:{[go['id']]:{'order':0x4,'menuItemFactory':ko}}};let jo=class extends _0xb10ffb{constructor(_0x251a05,_0x285e51,_0x29a348,_0x10341a,_0x578d3d,_0x3335c6,_0x3c76ac,_0x36f9a4,_0x117665,_0x5f05c2,_0x10db99){const _0x483c07=_0x525a7c;super(),this['_univerInstanceService']=_0x251a05,this[_0x483c07(0x5a9)]=_0x285e51,this['_sidebarService']=_0x29a348,this['_menuManagerService']=_0x10341a,this[_0x483c07(0x63f)]=_0x578d3d,this[_0x483c07(0x38f)]=_0x3335c6,this[_0x483c07(0x496)]=_0x3c76ac,this[_0x483c07(0x67e)]=_0x36f9a4,this[_0x483c07(0x463)]=_0x117665,this[_0x483c07(0x350)]=_0x5f05c2,this[_0x483c07(0x4ed)]=_0x10db99,Y(this,_0x483c07(0x319),null),Y(this,_0x483c07(0x47e),null),Y(this,_0x483c07(0x2c0),!0x1),this[_0x483c07(0x4ff)](),this[_0x483c07(0x1e2)](),this['disposeWithMe'](this[_0x483c07(0x511)][_0x483c07(0x51c)](_0x482ea2[_0x483c07(0x568)])['subscribe'](_0x66575d=>{const _0xdc23c6=_0x483c07;var _0x4cfc69;_0x66575d||(_0x4cfc69=this[_0xdc23c6(0x319)])==null||_0x4cfc69[_0xdc23c6(0x301)]();})),this[_0x483c07(0x4ae)](),this[_0x483c07(0x529)]();}[_0x525a7c(0x1e2)](){const _0x1ad1e6=_0x525a7c;this[_0x1ad1e6(0x63d)][_0x1ad1e6(0x381)](Ao);}[_0x525a7c(0x529)](){const _0x53d043=_0x525a7c;this[_0x53d043(0x350)][_0x53d043(0x309)](_0x663dcd[_0x53d043(0x60a)],this[_0x53d043(0x44c)][_0x53d043(0x60b)](this)),this[_0x53d043(0x350)][_0x53d043(0x53d)](_0x663dcd[_0x53d043(0x60a)],0x6,0x4);}[_0x525a7c(0x44c)](_0xebf5a5,_0x13f499,_0x4b5d0c,_0x12a67e){const _0x59a6f0=_0x525a7c;return[{'label':_0x59a6f0(0x325),'index':0x0,'commandId':Ya['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'drawingId':_0x4b5d0c},'disable':_0x12a67e===_0x663dcd['DRAWING_DOM']},{'label':_0x59a6f0(0x201),'index':0x1,'commandId':_0x2d85cf['id'],'commandParams':{'unitId':_0xebf5a5,'drawings':[{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'drawingId':_0x4b5d0c,'drawingType':_0x12a67e}]},'disable':!0x1},{'label':_0x59a6f0(0x556),'index':0x2,'commandId':Ja['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'drawingId':_0x4b5d0c},'disable':!0x1},{'label':_0x59a6f0(0x3f3),'index':0x3,'commandId':_0x594d92['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'shapeId':_0x4b5d0c,'flipH':!0x0},'disable':!0x1},{'label':_0x59a6f0(0x37c),'index':0x4,'commandId':_0x594d92['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'shapeId':_0x4b5d0c,'flipV':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.rotateRight90','index':0x4,'commandId':_0x255252['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'shapeId':_0x4b5d0c,'rotate':0x5a},'disable':!0x1},{'label':'sheets-shape-ui.rotateLeft90','index':0x4,'commandId':_0x255252['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'shapeId':_0x4b5d0c,'rotate':-0x5a},'disable':!0x1},{'label':_0x59a6f0(0x2d1),'index':0x4,'commandId':_0x4217ae['id'],'commandParams':{'unitId':_0xebf5a5,'subUnitId':_0x13f499,'shapeId':_0x4b5d0c},'disable':!0x1}];}['_getShapeInfo'](_0x5118d0,_0x3e359f,_0x12c31b){const _0x57c163=_0x525a7c;let _0x56e853=this[_0x57c163(0x63f)]['getShapeTypeById'](_0x5118d0,_0x3e359f,_0x12c31b),_0x54e44d=this[_0x57c163(0x63f)]['getShapeDataById'](_0x5118d0,_0x3e359f,_0x12c31b);return _0x56e853!==void 0x0&&_0x54e44d!==void 0x0?{'shapeData':_0x54e44d,'shapeId':_0x12c31b,'shapeType':_0x56e853,'unitId':_0x5118d0,'subUnitId':_0x3e359f,'disableShapeOption':!0x1}:null;}[_0x525a7c(0x4ae)](){const _0x6bd118=_0x525a7c;this[_0x6bd118(0x1eb)](this[_0x6bd118(0x67e)][_0x6bd118(0x557)](_0x4c44e9=>{const _0x1249cf=_0x6bd118;if(_0x4c44e9['id']===Ya['id']){let {unitId:_0x5809b7,subUnitId:_0x1ab24e,drawingId:_0x3a9dfa}=_0x4c44e9[_0x1249cf(0x2f6)];this['_activeShapeInfo']=this[_0x1249cf(0x65d)](_0x5809b7,_0x1ab24e,_0x3a9dfa),this[_0x1249cf(0x5de)]();}if(_0x4c44e9['id']===Ja['id']&&(this[_0x1249cf(0x47e)]=null,this['_closeShapeEditPanel']()),_0x4c44e9['id']===_0x4aed26['id']){let {unitId:_0xf5019f,subUnitId:_0x5eb8d1,shapeId:_0x3a5275}=_0x4c44e9[_0x1249cf(0x2f6)];if(this[_0x1249cf(0x47e)]&&this[_0x1249cf(0x47e)][_0x1249cf(0x35f)]===_0x3a5275){let _0x1420fa=this[_0x1249cf(0x65d)](_0xf5019f,_0x5eb8d1,_0x3a5275);_0x1420fa&&(this[_0x1249cf(0x47e)]=_0x1420fa);}}})),this['disposeWithMe'](this[_0x6bd118(0x463)]['focus$'][_0x6bd118(0x56a)](_0x3aed09=>{const _0x3391cb=_0x6bd118;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3aed09[_0x3391cb(0x565)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x3aed09[_0x3391cb(0x565)]===0x1&&_0x3aed09[0x0][_0x3391cb(0x626)]===_0x663dcd['DRAWING_SHAPE']&&(this[_0x3391cb(0x47e)]=this[_0x3391cb(0x65d)](_0x3aed09[0x0][_0x3391cb(0x358)],_0x3aed09[0x0][_0x3391cb(0x2d8)],_0x3aed09[0x0][_0x3391cb(0x644)]),this['_activeShapeInfo'])){this[_0x3391cb(0x5de)]();return;}let _0x2ec237=_0x3aed09[_0x3391cb(0x56d)](_0x248654=>_0x248654[_0x3391cb(0x626)]===_0x663dcd[_0x3391cb(0x60a)]);if(_0x3aed09[_0x3391cb(0x565)]>0x1&&_0x2ec237[_0x3391cb(0x565)]===_0x3aed09[_0x3391cb(0x565)]){if(this[_0x3391cb(0x47e)]=this[_0x3391cb(0x65d)](_0x3aed09[0x0][_0x3391cb(0x358)],_0x3aed09[0x0][_0x3391cb(0x2d8)],_0x3aed09[0x0][_0x3391cb(0x644)]),this[_0x3391cb(0x47e)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x3391cb(0x47e)]=this[_0x3391cb(0x65d)](_0x3aed09[0x0][_0x3391cb(0x358)],_0x3aed09[0x0][_0x3391cb(0x2d8)],_0x3aed09[0x0][_0x3391cb(0x644)]),this[_0x3391cb(0x47e)]){this[_0x3391cb(0x47e)][_0x3391cb(0x3d5)]=!0x0,this[_0x3391cb(0x5de)]();return;}}this[_0x3391cb(0x546)]();}));}[_0x525a7c(0x4ff)](){const _0x2a1194=_0x525a7c;[['ShapeIcon',_0x59927a],[_0x2a1194(0x57e),_0x55bb3b],[_0x2a1194(0x297),_0x38548a],['ShapeAccentBorderCallout3Icon',_0x182c49],[_0x2a1194(0x461),_0xf7acc8],[_0x2a1194(0x44d),_0x5e7a24],[_0x2a1194(0x3ae),_0x5133aa],[_0x2a1194(0x625),_0x3ea8b2],[_0x2a1194(0x251),_0x1ceb23],[_0x2a1194(0x2af),_0x1bbd7d],[_0x2a1194(0x51b),_0x4c9a00],[_0x2a1194(0x229),_0x17207e],[_0x2a1194(0x296),_0x22db10],[_0x2a1194(0x1f2),_0x2860a4],[_0x2a1194(0x5d5),_0x248339],[_0x2a1194(0x316),_0x4a5d07],[_0x2a1194(0x54e),_0x2aecf4],[_0x2a1194(0x237),_0x1a8608],[_0x2a1194(0x5ce),_0x34c9fe],[_0x2a1194(0x4f5),_0x5e1c51],[_0x2a1194(0x295),_0x57823f],['ShapeBentConnector3Arrow1Icon',_0x5f3d39],[_0x2a1194(0x352),_0x4e1562],[_0x2a1194(0x38d),_0x29e523],[_0x2a1194(0x20b),_0x332c4b],[_0x2a1194(0x36b),_0x53b992],['ShapeBlockArcIcon',_0x5229c5],[_0x2a1194(0x346),_0x41a902],[_0x2a1194(0x361),_0x442a2b],[_0x2a1194(0x219),_0x405aa2],[_0x2a1194(0x318),_0x323a2c],[_0x2a1194(0x67a),_0x1be90a],[_0x2a1194(0x4f6),_0x1f3432],[_0x2a1194(0x2bc),_0x468103],['ShapeCallout3Icon',_0x397b50],[_0x2a1194(0x48c),_0x27c9ee],['ShapeChartPlusIcon',_0x36efa4],[_0x2a1194(0x47a),_0x2e41a4],[_0x2a1194(0x66e),_0xa5cb4d],['ShapeChevronIcon',_0x50e862],['ShapeChordIcon',_0x44faf8],['ShapeCircularArrowIcon',_0x2cfda4],[_0x2a1194(0x293),_0x3ac255],['ShapeCloudIcon',_0x889035],[_0x2a1194(0x372),_0x4ca5a9],[_0x2a1194(0x59d),_0x577b2b],[_0x2a1194(0x338),_0x54fe0],[_0x2a1194(0x55a),_0x57d600],[_0x2a1194(0x22f),_0x14444a],[_0x2a1194(0x684),_0x1f6c98],[_0x2a1194(0x412),_0x5b7b24],['ShapeCurvedLeftArrowIcon',_0x29ba95],[_0x2a1194(0x2f4),_0x52a365],['ShapeCurvedUpArrowIcon',_0x865673],['ShapeDecagonIcon',_0x586e83],[_0x2a1194(0x305),_0x3aeb21],[_0x2a1194(0x355),_0xbb85fa],['ShapeDodecagonIcon',_0x30b33c],[_0x2a1194(0x462),_0x7423a1],[_0x2a1194(0x591),_0x2bf25d],['ShapeDownArrowCalloutIcon',_0x3a91e0],[_0x2a1194(0x24e),_0x4eed2b],[_0x2a1194(0x5fc),_0x2a5676],[_0x2a1194(0x555),_0x164820],[_0x2a1194(0x67d),_0x20fda0],['ShapeFlowChartAlternateProcessIcon',_0x59997a],[_0x2a1194(0x39f),_0x25ae09],[_0x2a1194(0x37e),_0x3de4f3],[_0x2a1194(0x367),_0x120ebb],[_0x2a1194(0x24f),_0x471ac3],[_0x2a1194(0x566),_0x1d4c10],[_0x2a1194(0x506),_0x4995fc],[_0x2a1194(0x438),_0x337e0e],['ShapeFlowChartInputOutputIcon',_0x3005a1],[_0x2a1194(0x209),_0x16e35f],[_0x2a1194(0x3e4),_0x4f2703],[_0x2a1194(0x3bb),_0x2227ab],[_0x2a1194(0x360),_0x3f84a5],[_0x2a1194(0x478),_0x5ac4da],[_0x2a1194(0x5f3),_0x4be2b2],[_0x2a1194(0x517),_0xdc6348],[_0x2a1194(0x688),_0x5eaafc],[_0x2a1194(0x249),_0x54b967],['ShapeFlowChartOffpageConnectorIcon',_0x25b9ab],[_0x2a1194(0x4a4),_0x242d8e],[_0x2a1194(0x256),_0x20e08d],[_0x2a1194(0x230),_0x300012],[_0x2a1194(0x221),_0x239c59],[_0x2a1194(0x4a6),_0x129996],[_0x2a1194(0x5e6),_0x5d49ca],[_0x2a1194(0x4fe),_0xd95b70],['ShapeFlowChartSortIcon',_0x1da986],[_0x2a1194(0x55d),_0x39b3fc],[_0x2a1194(0x501),_0x55a22a],['ShapeFolderCornerIcon',_0x21cf33],[_0x2a1194(0x204),_0x3fa4c2],[_0x2a1194(0x5e8),_0x2d505a],['ShapeGear6Icon',_0x40448d],['ShapeGear9Icon',_0x6ea3e8],['ShapeHalfFrameIcon',_0x3e6294],['ShapeHeartIcon',_0x2249f5],[_0x2a1194(0x5b3),_0x147769],[_0x2a1194(0x408),_0x3d89fa],[_0x2a1194(0x2bb),_0x2e88e8],[_0x2a1194(0x389),_0x1f3a7d],['ShapeIrregularSeal1Icon',_0x2886a4],[_0x2a1194(0x472),_0x162b3b],[_0x2a1194(0x4cb),_0x1ab200],[_0x2a1194(0x420),_0x4d7c91],['ShapeLeftBraceIcon',_0x79be61],[_0x2a1194(0x60d),_0x2b9151],['ShapeLeftCircularArrowIcon',_0x28a116],[_0x2a1194(0x505),_0x261352],[_0x2a1194(0x2c4),_0x370647],[_0x2a1194(0x60e),_0x10818c],[_0x2a1194(0x57d),_0x522dc8],[_0x2a1194(0x1fc),_0x4b673f],[_0x2a1194(0x43f),_0x7d0c17],[_0x2a1194(0x340),_0x9d21e4],[_0x2a1194(0x4c0),_0x54b36a],[_0x2a1194(0x214),_0x505681],[_0x2a1194(0x30e),_0x47b4c9],[_0x2a1194(0x328),_0xe82e66],[_0x2a1194(0x2e4),_0x6d9e16],[_0x2a1194(0x63b),_0x4c7ad7],[_0x2a1194(0x558),_0x11d571],[_0x2a1194(0x3cb),_0x75a223],[_0x2a1194(0x35d),_0x4e5e16],['ShapeNoSmokingIcon',_0x1e482d],['ShapeNonIsoscelesTrapezoidIcon',_0x3f1eda],[_0x2a1194(0x68a),_0x11d2d1],[_0x2a1194(0x409),_0x1dd429],[_0x2a1194(0x67f),_0x158138],['ShapePentagonIcon',_0x4ff02e],[_0x2a1194(0x2a5),_0x5caf36],['ShapePieWedgeIcon',_0x5bf291],[_0x2a1194(0x4b6),_0x2a6e56],[_0x2a1194(0x453),_0x5f5046],[_0x2a1194(0x5e7),_0x1ff1b4],['ShapeQuadArrowCalloutIcon',_0x308e2b],[_0x2a1194(0x24a),_0x5c3df8],[_0x2a1194(0x650),_0x73479],[_0x2a1194(0x661),_0x29331d],[_0x2a1194(0x482),_0x2c0b89],['ShapeRibbon2Icon',_0x43b938],[_0x2a1194(0x3bc),_0x2030e8],['ShapeRightArrowCalloutIcon',_0x5f12d7],[_0x2a1194(0x526),_0x285396],[_0x2a1194(0x2a3),_0x18527a],[_0x2a1194(0x2e5),_0x491365],[_0x2a1194(0x432),_0x3f178f],[_0x2a1194(0x375),_0xde0a95],['ShapeRound2SameRectIcon',_0x454f0b],[_0x2a1194(0x440),_0x2b4aa1],['ShapeRtTriangleIcon',_0x46bf33],[_0x2a1194(0x3e3),_0x5b4e95],['ShapeSnip1RectIcon',_0x116c79],[_0x2a1194(0x5a6),_0x25a2cc],[_0x2a1194(0x387),_0x222ba2],[_0x2a1194(0x2e6),_0x512389],[_0x2a1194(0x3d2),_0xc6e38e],[_0x2a1194(0x356),_0x1392d2],[_0x2a1194(0x1e7),_0x2f5fce],[_0x2a1194(0x257),_0x230d6a],[_0x2a1194(0x2a1),_0x33c97a],[_0x2a1194(0x2fb),_0x3277dc],['ShapeStar4Icon',_0x3ed714],['ShapeStar5Icon',_0x1e57b3],[_0x2a1194(0x56e),_0x5947f9],[_0x2a1194(0x5d0),_0x59dd15],['ShapeStar8Icon',_0x1de780],[_0x2a1194(0x4e9),_0x2c2581],[_0x2a1194(0x4f1),_0x296eb6],[_0x2a1194(0x474),_0x3efdbf],[_0x2a1194(0x2c8),_0x23e4a9],[_0x2a1194(0x4dc),_0x5a2d24],[_0x2a1194(0x2a6),_0x3e54c6],[_0x2a1194(0x4c4),_0x1175cf],['ShapeTriangleIcon',_0x408f31],[_0x2a1194(0x5c6),_0x14987f],['ShapeUpArrowIcon',_0x537a84],[_0x2a1194(0x26b),_0x25612b],[_0x2a1194(0x3b3),_0x569062],['ShapeUturnArrowIcon',_0x4510b5],[_0x2a1194(0x401),_0x2c2565],[_0x2a1194(0x1e8),_0x10264d],['ShapeWedgeEllipseCalloutIcon',_0x20c6d3],['ShapeWedgeRectCalloutIcon',_0x17beb0],[_0x2a1194(0x692),_0x499e62],[Xa,fo],[yo,So],[_0x3d09cd,xo]][_0x2a1194(0x604)](([_0xba519a,_0x59909c])=>{const _0x3c2782=_0x2a1194;this[_0x3c2782(0x1eb)](this[_0x3c2782(0x496)][_0x3c2782(0x3e8)](_0xba519a,_0x59909c));});}[_0x525a7c(0x5de)](){const _0x5b7c1d=_0x525a7c;this[_0x5b7c1d(0x319)]=this[_0x5b7c1d(0x580)][_0x5b7c1d(0x4eb)]({'id':Xa,'header':{'title':this[_0x5b7c1d(0x38f)]['t'](_0x5b7c1d(0x664))},'width':0x184,'children':{'label':Xa,...this[_0x5b7c1d(0x47e)]},'onClose':()=>{const _0x346b94=_0x5b7c1d;this['_drawingManagerService'][_0x346b94(0x23c)](null),this[_0x346b94(0x4ed)][_0x346b94(0x3fd)](_0x3ee166,!0x1),this['_sidebarDisposable']=null;}}),this[_0x5b7c1d(0x2c0)]=!0x0;}[_0x525a7c(0x546)](){const _0x56773b=_0x525a7c;this[_0x56773b(0x2c0)]=!0x1,this[_0x56773b(0x580)][_0x56773b(0x34d)](Xa),this[_0x56773b(0x319)]=null,this[_0x56773b(0x4ed)]['setContextValue'](_0x3ee166,!0x1),this[_0x56773b(0x463)][_0x56773b(0x23c)](null);}};jo=$([Q(0x0,_0x757fa4),Q(0x1,_0x3293e1(_0x57051e)),Q(0x2,_0x3293e1(_0x202313)),Q(0x3,_0x1031a9),Q(0x4,_0x3293e1(_0xbf66b3)),Q(0x5,_0x3293e1(_0x3a0ae2)),Q(0x6,_0x3293e1(_0x5fdd99)),Q(0x7,_0x467978),Q(0x8,_0x40f1b2),Q(0x9,_0x3293e1(_0x4d3c7c)),Q(0xa,_0x58e33a)],jo);var Mo=_0x525a7c(0x220),No='0.25.2';const Po={};let Fo=class extends _0xb10ffb{constructor(_0x37e67b,_0x169c2a,_0x5d60e3,_0x2319f0,_0x2760e3){const _0x19d191=_0x525a7c;super(),this['_context']=_0x37e67b,this[_0x19d191(0x463)]=_0x169c2a,this['_renderManagerService']=_0x5d60e3,this[_0x19d191(0x511)]=_0x2319f0,this[_0x19d191(0x4f4)]=_0x2760e3,Y(this,_0x19d191(0x1df),null),Y(this,_0x19d191(0x476),null),Y(this,_0x19d191(0x4ca),null),Y(this,_0x19d191(0x657),void 0x0),Y(this,_0x19d191(0x272),[]),Y(this,'_baseLeft',0x0),Y(this,'_baseTop',0x0),Y(this,'_baseWidth',0x0),Y(this,'_baseHeight',0x0),Y(this,_0x19d191(0x51e),!0x1),Y(this,_0x19d191(0x471),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x19d191(0x3dd),void 0x0),Y(this,_0x19d191(0x35c),void 0x0),Y(this,_0x19d191(0x435),!0x1),this[_0x19d191(0x562)](),this['_registerMoveHandler']();}[_0x525a7c(0x5b2)](){const _0x5966db=_0x525a7c;this[_0x5966db(0x5e0)]();}[_0x525a7c(0x522)](){const _0x41aff4=_0x525a7c;this[_0x41aff4(0x5e0)](),this[_0x41aff4(0x616)](!0x0);}[_0x525a7c(0x2ca)](_0x5ec3d4,_0x3c3025,_0x2863da,_0x15f675){const _0x1b2fb5=_0x525a7c;let _0x53119e=_0x5ec3d4;if(!(_0x53119e===_0x160bb4[_0x1b2fb5(0x621)]||_0x5ec3d4===_0x1b2fb5(0x5aa)))try{let _0x509301=new _0x4e6753(_0x53119e,'clip-adj-'+_0x5ec3d4);return _0x15f675&&_0x509301[_0x1b2fb5(0x50e)]({'adjustValues':_0x15f675},!0x0),_0x509301[_0x1b2fb5(0x4cf)]({'width':_0x3c3025,'height':_0x2863da}),_0x509301;}catch{return;}}[_0x525a7c(0x5c9)](_0x20e4ab,_0x1cea94,_0x5db6c9){const _0x268412=_0x525a7c;let _0x315d58={'unitId':_0x20e4ab,'subUnitId':_0x1cea94,'drawingId':_0x5db6c9},_0x5c8974=this[_0x268412(0x463)]['getDrawingByParam'](_0x315d58);if(!(!_0x5c8974||_0x5c8974[_0x268412(0x626)]!==_0x663dcd[_0x268412(0x5b6)]))return _0x5c8974;}[_0x525a7c(0x465)](_0x33d77d,_0x276082,_0x286a50){const _0x119a51=_0x525a7c;let _0x21e3a8=this[_0x119a51(0x677)][_0x119a51(0x5af)](_0x33d77d);if(!_0x21e3a8)return;let {scene:_0x4dcdc2}=_0x21e3a8,_0x416127=_0x3e269b({'unitId':_0x33d77d,'subUnitId':_0x276082,'drawingId':_0x286a50}),_0x1570f4=_0x4dcdc2[_0x119a51(0x423)](_0x416127);if(_0x1570f4 instanceof _0x5caf4b){let _0x8ab1ca=_0x1570f4[_0x119a51(0x45d)];if(_0x8ab1ca)return{'prstGeom':_0x8ab1ca,'adjustValues':_0x1570f4['prstGeomAdjValues']};}}[_0x525a7c(0x616)](_0x3be01a=!0x1){const _0x379aab=_0x525a7c;if(!this[_0x379aab(0x476)]||!this[_0x379aab(0x4ca)]||!this[_0x379aab(0x1df)])return;let _0x6854ce=this['_renderManagerService']['getRenderById'](this[_0x379aab(0x476)]);if(!_0x6854ce||!_0x6854ce[_0x379aab(0x503)](_0x1c741e)[_0x379aab(0x574)]())return;let {scene:_0x554e70}=_0x6854ce,_0x58ecdb=this['_getImageDrawingInfo'](this['_unitId'],this[_0x379aab(0x4ca)],this[_0x379aab(0x1df)]);if(!_0x58ecdb)return;let {transform:_0x2599bc}=_0x58ecdb;if(!_0x2599bc)return;let {left:_0x556d58,top:_0x118896,width:_0x3d7c2b,height:_0x329363,flipX:_0x7225cc,flipY:_0x5a4ba0,angle:_0x502894=0x0}=_0x2599bc;if(_0x556d58===void 0x0||_0x118896===void 0x0)return;let _0xfd8359=this[_0x379aab(0x465)](this[_0x379aab(0x476)],this[_0x379aab(0x4ca)],this[_0x379aab(0x1df)]);if(!_0xfd8359)return;if(_0x3be01a){let _0x187c9c=this['_getOrCreateShapeModel'](_0xfd8359[_0x379aab(0x45d)],_0x3d7c2b||0x0,_0x329363||0x0,_0xfd8359[_0x379aab(0x549)]);if(!_0x187c9c)return;this['_activeAdjustPointList']=_0x187c9c[_0x379aab(0x49e)]();}let _0x5e61f8=this[_0x379aab(0x657)];if(!(!_0x5e61f8||_0x5e61f8['length']===0x0))for(let _0x54e567=0x0;_0x54e567<_0x5e61f8['length'];_0x54e567++){let _0x5344b0=_0x5e61f8[_0x54e567],_0x367540=_0x5344b0['x'],_0x408c5d=_0x5344b0['y'];if(_0x7225cc&&(_0x367540=(_0x3d7c2b||0x0)-_0x367540),_0x5a4ba0&&(_0x408c5d=(_0x329363||0x0)-_0x408c5d),_0x502894!==0x0){let _0x4a535a=(_0x3d7c2b||0x0)/0x2,_0x169aef=(_0x329363||0x0)/0x2,_0x293681=_0x502894*Math['PI']/0xb4,_0x397b21=Math[_0x379aab(0x294)](_0x293681),_0x293f5b=Math['sin'](_0x293681),_0x400473=_0x367540-_0x4a535a,_0x4710d5=_0x408c5d-_0x169aef;_0x367540=_0x4a535a+(_0x400473*_0x397b21-_0x4710d5*_0x293f5b),_0x408c5d=_0x169aef+(_0x400473*_0x293f5b+_0x4710d5*_0x397b21);}let _0xff6aa={'x':_0x367540,'y':_0x408c5d,'adjName':_0x5344b0[_0x379aab(0x2ea)]};this[_0x379aab(0x436)](_0x554e70,_0xff6aa,_0xff6aa[_0x379aab(0x2ea)],_0x556d58,_0x118896,this['_unitId'],this[_0x379aab(0x4ca)]);}}[_0x525a7c(0x436)](_0x373d32,_0x163051,_0x5be2de,_0x3fa954,_0x506250,_0x1e53ef,_0x4b2775){const _0x5b7eda=_0x525a7c;if(!this[_0x5b7eda(0x1df)])return;let _0x541450=_0x5b7eda(0x4ee)+this[_0x5b7eda(0x1df)]+'-'+_0x5be2de,_0x2e0ad8=_0x373d32[_0x5b7eda(0x54c)](_0x541450);if(_0x2e0ad8){_0x2e0ad8[_0x5b7eda(0x44e)]({'left':_0x163051['x']+_0x3fa954-_0xd80510[_0x5b7eda(0x589)],'top':_0x163051['y']+_0x506250-_0xd80510[_0x5b7eda(0x589)]});return;}let _0x49fa2a=new po(_0x541450,{'left':_0x163051['x']+_0x3fa954-_0xd80510[_0x5b7eda(0x589)],'top':_0x163051['y']+_0x506250-_0xd80510['adjHandleSize'],'adjName':_0x5be2de,'shapeId':this[_0x5b7eda(0x1df)],'unitId':_0x1e53ef,'subUnitId':_0x4b2775,'width':_0xd80510[_0x5b7eda(0x589)]+0x8,'height':_0xd80510[_0x5b7eda(0x589)]+0x8,'zIndex':_0x230c50+0x1,'evented':!0x0});this[_0x5b7eda(0x272)][_0x5b7eda(0x564)](_0x49fa2a),this['_attachAdjustEvent'](_0x49fa2a,_0x373d32,_0x5be2de),_0x373d32[_0x5b7eda(0x1fb)](_0x49fa2a,_0x230c50+0x1);}['_clearControls'](){const _0xecf750=_0x525a7c;this[_0xecf750(0x272)][_0xecf750(0x565)]!==0x0&&(this[_0xecf750(0x272)]['forEach'](_0x332445=>_0x332445[_0xecf750(0x301)]()),this[_0xecf750(0x272)]=[]);}[_0x525a7c(0x66b)](_0x25ad51,_0x4dc95d){const _0x1a49ac=_0x525a7c;var _0x5307af;let _0x428d9c={'x':0x0,'y':0x0},_0x524c52=this[_0x1a49ac(0x677)][_0x1a49ac(0x5af)](_0x25ad51);if(!_0x524c52||!_0x524c52['with'](_0x1c741e)[_0x1a49ac(0x382)](_0x4dc95d))return _0x428d9c;let _0x23fe77=_0x524c52['with'](_0x70e53f),_0x59cb57=_0x23fe77==null?void 0x0:_0x23fe77[_0x1a49ac(0x310)]();if(!_0x59cb57)return _0x428d9c;let _0x1a1ace=(_0x5307af=this[_0x1a49ac(0x511)][_0x1a49ac(0x5a2)](_0x25ad51))==null?void 0x0:_0x5307af[_0x1a49ac(0x456)](_0x4dc95d);if(!_0x1a1ace)return _0x428d9c;let _0x4873fe=_0x15b5d5(_0x59cb57[_0x1a49ac(0x66a)],_0x59cb57[_0x1a49ac(0x622)],_0x524c52[_0x1a49ac(0x689)],_0x1a1ace);return _0x4873fe?{'x':_0x4873fe[_0x1a49ac(0x3c6)],'y':_0x4873fe[_0x1a49ac(0x311)]}:_0x428d9c;}['_getZoomRatio'](_0x50b4c3,_0x29b645){const _0x56c331=_0x525a7c;var _0x3ab768,_0x17fb0e;let _0x452243=(_0x3ab768=this[_0x56c331(0x511)][_0x56c331(0x5a2)](_0x50b4c3))==null?void 0x0:_0x3ab768['getSheetBySheetId'](_0x29b645);return(_0x17fb0e=_0x452243==null?void 0x0:_0x452243[_0x56c331(0x374)]())==null?0x1:_0x17fb0e;}['_attachAdjustEvent'](_0x45b94c,_0xda15c1,_0x500e4e){const _0x3f5b68=_0x525a7c;this[_0x3f5b68(0x1eb)](_0x1a66ea(_0x45b94c[_0x3f5b68(0x629)][_0x3f5b68(0x5ad)]((_0x27ef9f,_0x45da19)=>{const _0x3a12f4=_0x3f5b68;var _0x45134e,_0x3d17c2,_0x892dbe;let {unitId:_0x221557,subUnitId:_0x5bd4c3,drawingId:_0x5e0ed2}=_0x45b94c[_0x3a12f4(0x445)](),_0x2a3405=this[_0x3a12f4(0x5c9)](_0x221557,_0x5bd4c3,_0x5e0ed2);if(!(_0x2a3405!=null&&_0x2a3405[_0x3a12f4(0x3f8)]))return;let {left:_0x4187be,top:_0x2275e1,width:_0xfda132,height:_0x6f6b21}=_0x2a3405['transform'];this['_baseLeft']=_0x4187be||0x0,this['_baseTop']=_0x2275e1||0x0,this[_0x3a12f4(0x4e1)]=_0xfda132||0x0,this[_0x3a12f4(0x36f)]=_0x6f6b21||0x0;let _0x1682c2=!!((_0x45134e=_0x2a3405[_0x3a12f4(0x3f8)])!=null&&_0x45134e[_0x3a12f4(0x277)]),_0x39a97e=!!((_0x3d17c2=_0x2a3405[_0x3a12f4(0x3f8)])!=null&&_0x3d17c2[_0x3a12f4(0x380)]),_0x26d3fb=((_0x892dbe=_0x2a3405[_0x3a12f4(0x3f8)])==null?void 0x0:_0x892dbe[_0x3a12f4(0x5d8)])||0x0,_0x3a7293=this['_getImagePrstGeom'](_0x221557,_0x5bd4c3,_0x5e0ed2);if(!_0x3a7293)return;let _0x480cbf=this[_0x3a12f4(0x2ca)](_0x3a7293['prstGeom'],this[_0x3a12f4(0x4e1)],this['_baseHeight'],_0x3a7293[_0x3a12f4(0x549)]);if(!_0x480cbf||(this[_0x3a12f4(0x58b)]=_0x480cbf,this[_0x3a12f4(0x471)]=_0x480cbf[_0x3a12f4(0x52d)](_0x500e4e),!this['_activeAdjustInfo']))return;this[_0x3a12f4(0x51e)]=!0x0,_0xda15c1['disableObjectsEvent']();let _0x397d81=_0x3a7293['prstGeom'];this[_0x3a12f4(0x3dd)]=_0xda15c1[_0x3a12f4(0x4c5)][_0x3a12f4(0x5ad)]((_0x93a313,_0x4af3e7)=>{const _0xb4395c=_0x3a12f4;if(!this[_0xb4395c(0x51e)])return;let {offsetX:_0x113ab2,offsetY:_0xcc8958}=_0x93a313,_0x45d552=this['_activeAdjustInfo'];if(!this[_0xb4395c(0x58b)]||!_0x45d552)return;_0xda15c1[_0xb4395c(0x3e6)](),_0xda15c1['setCursor'](_0x1f450c[_0xb4395c(0x2de)]);let _0x1fa16e={'left':0x0,'top':0x0,'width':this['_baseWidth'],'height':this[_0xb4395c(0x36f)]},_0x2ba7c6=this[_0xb4395c(0x66b)](_0x221557,_0x5bd4c3),_0x329ed1=this[_0xb4395c(0x419)](_0x221557,_0x5bd4c3),_0xe076d0=_0x113ab2/_0x329ed1+_0x2ba7c6['x']-this[_0xb4395c(0x259)],_0x2e1889=_0xcc8958/_0x329ed1+_0x2ba7c6['y']-this['_baseTop'];if(_0x26d3fb!==0x0){let _0x5dc805=this[_0xb4395c(0x4e1)]/0x2,_0x5b9ff8=this[_0xb4395c(0x36f)]/0x2,_0x580254=_0x26d3fb*Math['PI']/0xb4,_0x3fe22c=Math[_0xb4395c(0x294)](_0x580254),_0x3abe74=Math[_0xb4395c(0x406)](_0x580254),_0x16e19e=_0xe076d0-_0x5dc805,_0x2b10ef=_0x2e1889-_0x5b9ff8;_0xe076d0=_0x5dc805+(_0x16e19e*_0x3fe22c+_0x2b10ef*_0x3abe74),_0x2e1889=_0x5b9ff8+(-_0x16e19e*_0x3abe74+_0x2b10ef*_0x3fe22c);}_0x1682c2&&(_0xe076d0=this['_baseWidth']-_0xe076d0),_0x39a97e&&(_0x2e1889=this[_0xb4395c(0x36f)]-_0x2e1889);let _0x4ea44f=this[_0xb4395c(0x58b)][_0xb4395c(0x241)](_0x1fa16e,{'x':_0xe076d0,'y':_0x2e1889},_0x45d552,_0x1682c2,_0x39a97e),_0x34426a=_0x45d552['gdRefX']||_0x45d552[_0xb4395c(0x475)]||_0x45d552[_0xb4395c(0x48a)]||_0x45d552[_0xb4395c(0x334)];_0x34426a!==void 0x0&&(this['_activeShapeModel'][_0xb4395c(0x236)](_0x34426a,_0x4ea44f),this['_activeShapeModel'][_0xb4395c(0x4cf)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this['_updateImageAdjValues'](_0x221557,_0x5bd4c3,_0x5e0ed2,_0x34426a,_0x4ea44f),this[_0xb4395c(0x657)]=this[_0xb4395c(0x58b)][_0xb4395c(0x49e)](),this[_0xb4395c(0x471)]=this[_0xb4395c(0x58b)]['getAdjustInfoByName'](_0x500e4e),this[_0xb4395c(0x616)](),_0x4af3e7[_0xb4395c(0x287)]());}),this[_0x3a12f4(0x35c)]=_0xda15c1[_0x3a12f4(0x1ef)][_0x3a12f4(0x5ad)]((_0x3566e9,_0x10c9f4)=>{const _0x487f3e=_0x3a12f4;if(this[_0x487f3e(0x3dd)][_0x487f3e(0x61b)](),this[_0x487f3e(0x35c)]['unsubscribe'](),_0xda15c1[_0x487f3e(0x4a0)](),this[_0x487f3e(0x58b)]){let _0x183490=this[_0x487f3e(0x58b)][_0x487f3e(0x592)](),_0x48a009={};for(let _0x55f62d of _0x183490){let _0x41bda=this[_0x487f3e(0x58b)]['getAdjustValueByName'](_0x55f62d);_0x41bda!==void 0x0&&(_0x48a009[_0x55f62d]=_0x41bda);}this[_0x487f3e(0x4f4)]['clipByShape'](_0x221557,_0x5bd4c3,_0x5e0ed2,_0x397d81,_0x48a009);}this['_activeAdjustInfo']=void 0x0,this[_0x487f3e(0x58b)]=void 0x0,this[_0x487f3e(0x51e)]=!0x1,_0x10c9f4['stopPropagation'](),_0xda15c1['enableObjectsEvent']();}),_0x45da19[_0x3a12f4(0x287)]();})));}[_0x525a7c(0x33a)](_0x13e945,_0x2a4a48,_0x5195cc,_0x2020e4,_0xe3b4e5){const _0x12fae5=_0x525a7c;let _0x495adf=this[_0x12fae5(0x677)][_0x12fae5(0x5af)](_0x13e945);if(!_0x495adf)return;let {scene:_0x1a930b}=_0x495adf,_0x257a50=_0x3e269b({'unitId':_0x13e945,'subUnitId':_0x2a4a48,'drawingId':_0x5195cc}),_0x1ca96f=_0x1a930b[_0x12fae5(0x423)](_0x257a50);if(_0x1ca96f instanceof _0x5caf4b){var _0x4ce9f3;let _0x2fa2d4=(_0x4ce9f3=_0x1ca96f[_0x12fae5(0x365)])==null?{}:_0x4ce9f3;_0x1ca96f['setPrstGeomAdjValues']({..._0x2fa2d4,[_0x2020e4]:_0xe3b4e5}),_0x1ca96f[_0x12fae5(0x615)](!0x0);}}[_0x525a7c(0x292)](){const _0x267d58=_0x525a7c;let _0x239f79=this[_0x267d58(0x511)][_0x267d58(0x51c)](_0x482ea2[_0x267d58(0x568)]);this[_0x267d58(0x1eb)](_0x239f79[_0x267d58(0x61f)](_0x26f15b(_0x307f20=>_0x307f20?_0x307f20[_0x267d58(0x66f)][_0x267d58(0x61f)](_0x26f15b(_0x1428da=>{const _0x4d6e39=_0x267d58;if(!_0x1428da)return _0x10bd3c;let _0x27fb2=_0x307f20[_0x4d6e39(0x446)](),_0x15f3ee=this[_0x4d6e39(0x677)]['getRenderById'](_0x27fb2),_0x386750=_0x15f3ee==null?void 0x0:_0x15f3ee['scene'];return _0x386750?_0x327706(_0x386750):_0x10bd3c;})):_0x10bd3c))[_0x267d58(0x56a)](_0x32a411=>{const _0x520fd5=_0x267d58;let _0x12b873=_0x32a411['getTransformerByCreate']();this['disposeWithMe'](_0x32a411[_0x520fd5(0x4c5)][_0x520fd5(0x5ad)](()=>{const _0x214355=_0x520fd5;this[_0x214355(0x435)]&&this[_0x214355(0x5e0)]();})),this[_0x520fd5(0x1eb)](_0x12b873[_0x520fd5(0x312)][_0x520fd5(0x56a)](_0x56374b=>{const _0x3c9380=_0x520fd5;let {objects:_0x59de36}=_0x56374b;if(this[_0x3c9380(0x616)](),_0x59de36!==null&&_0x59de36[_0x3c9380(0x29b)]===0x1){let _0x3decf1=_0x59de36[_0x3c9380(0x421)]()[_0x3c9380(0x4e5)]()[_0x3c9380(0x607)];_0x3decf1 instanceof _0x5caf4b&&_0x3decf1['prstGeom']&&(this['_isImagePointerDown']=!0x0);}})),this['disposeWithMe'](_0x12b873[_0x520fd5(0x27b)][_0x520fd5(0x56a)](()=>{const _0x24b6aa=_0x520fd5;this[_0x24b6aa(0x435)]&&this[_0x24b6aa(0x5e0)]();})),this['disposeWithMe'](_0x32a411[_0x520fd5(0x1ef)][_0x520fd5(0x5ad)](()=>{const _0x1a94e2=_0x520fd5;this['_isImagePointerDown']&&(this[_0x1a94e2(0x435)]=!0x1,this['_createControls']());})),this[_0x520fd5(0x1eb)](_0x12b873[_0x520fd5(0x4e8)][_0x520fd5(0x56a)](()=>{const _0x2cc8ed=_0x520fd5;if(this[_0x2cc8ed(0x476)]&&this[_0x2cc8ed(0x4ca)]&&this[_0x2cc8ed(0x1df)]){let _0x51e544=this[_0x2cc8ed(0x465)](this[_0x2cc8ed(0x476)],this[_0x2cc8ed(0x4ca)],this[_0x2cc8ed(0x1df)]);if(_0x51e544){var _0x38a8af,_0x21bfd0;let _0x14ac94=this[_0x2cc8ed(0x5c9)](this[_0x2cc8ed(0x476)],this['_subUnitId'],this[_0x2cc8ed(0x1df)]),_0x20e1de=(_0x14ac94==null||(_0x38a8af=_0x14ac94['transform'])==null?void 0x0:_0x38a8af[_0x2cc8ed(0x38b)])||0x0,_0x4c22a6=(_0x14ac94==null||(_0x21bfd0=_0x14ac94[_0x2cc8ed(0x3f8)])==null?void 0x0:_0x21bfd0[_0x2cc8ed(0x547)])||0x0,_0x1e8f54=this[_0x2cc8ed(0x2ca)](_0x51e544[_0x2cc8ed(0x45d)],_0x20e1de,_0x4c22a6,_0x51e544[_0x2cc8ed(0x549)]);_0x1e8f54&&(this[_0x2cc8ed(0x657)]=_0x1e8f54[_0x2cc8ed(0x49e)](),this[_0x2cc8ed(0x5e0)](),this['_createControls'](!0x0));}}}));}));}[_0x525a7c(0x562)](){const _0x2e2376=_0x525a7c;this[_0x2e2376(0x1eb)](this[_0x2e2376(0x463)][_0x2e2376(0x1fe)][_0x2e2376(0x56a)](_0x28fecf=>{const _0x3c3a5c=_0x2e2376;if(_0x28fecf[_0x3c3a5c(0x565)]===0x1){let _0xc346ba=_0x28fecf[0x0];if(_0xc346ba['drawingType']===_0x663dcd[_0x3c3a5c(0x5b6)]){let {unitId:_0x5536a3,subUnitId:_0x27ed30,drawingId:_0xeffa20}=_0xc346ba,_0x87e26b=this[_0x3c3a5c(0x465)](_0x5536a3,_0x27ed30,_0xeffa20);if(_0x87e26b){var _0xb0c509,_0x4076fc;this[_0x3c3a5c(0x1df)]=_0xeffa20,this['_unitId']=_0x5536a3,this[_0x3c3a5c(0x4ca)]=_0x27ed30;let _0x2d346a=this[_0x3c3a5c(0x5c9)](_0x5536a3,_0x27ed30,_0xeffa20),_0x1d49c4=(_0x2d346a==null||(_0xb0c509=_0x2d346a[_0x3c3a5c(0x3f8)])==null?void 0x0:_0xb0c509[_0x3c3a5c(0x38b)])||0x0,_0x4801e2=(_0x2d346a==null||(_0x4076fc=_0x2d346a[_0x3c3a5c(0x3f8)])==null?void 0x0:_0x4076fc[_0x3c3a5c(0x547)])||0x0,_0x350383=this[_0x3c3a5c(0x2ca)](_0x87e26b[_0x3c3a5c(0x45d)],_0x1d49c4,_0x4801e2,_0x87e26b['adjustValues']);_0x350383&&(this[_0x3c3a5c(0x657)]=_0x350383[_0x3c3a5c(0x49e)]()),this[_0x3c3a5c(0x5e0)](),this[_0x3c3a5c(0x616)](!0x0);}else this[_0x3c3a5c(0x304)]();}else this['_resetState']();}else this[_0x3c3a5c(0x304)]();})),this[_0x2e2376(0x1eb)](this[_0x2e2376(0x463)]['update$']['subscribe'](_0x17e07d=>{const _0x22b6ef=_0x2e2376;if(_0x17e07d[_0x22b6ef(0x565)]===0x1){let _0x1e7852=_0x17e07d[0x0],_0x5473d=this['_drawingManagerService'][_0x22b6ef(0x5c1)](_0x1e7852);(_0x5473d==null?void 0x0:_0x5473d[_0x22b6ef(0x626)])===_0x663dcd[_0x22b6ef(0x5b6)]&&this[_0x22b6ef(0x1df)]===_0x1e7852[_0x22b6ef(0x644)]&&(this['_clearControls'](),this['_createControls'](!0x0));}})),this[_0x2e2376(0x1eb)](this[_0x2e2376(0x463)][_0x2e2376(0x662)][_0x2e2376(0x56a)](_0x33d532=>{const _0x871ad7=_0x2e2376;for(let _0xdd19b6 of _0x33d532)this[_0x871ad7(0x1df)]===_0xdd19b6[_0x871ad7(0x644)]&&this['_resetState']();}));}[_0x525a7c(0x304)](){const _0x1d1c9b=_0x525a7c;this[_0x1d1c9b(0x1df)]=null,this[_0x1d1c9b(0x476)]=null,this[_0x1d1c9b(0x4ca)]=null,this[_0x1d1c9b(0x657)]=void 0x0,this[_0x1d1c9b(0x5e0)]();}};Fo=$([Q(0x1,_0x40f1b2),Q(0x2,_0x3293e1(_0x243434)),Q(0x3,_0x757fa4),Q(0x4,_0x3293e1(_o))],Fo);let Io=class extends _0xb10ffb{constructor(_0x4c89f6,_0x51443f,_0x17d86e,_0x5f4086){const _0x514348=_0x525a7c;super(),this[_0x514348(0x511)]=_0x4c89f6,this[_0x514348(0x5a9)]=_0x51443f,this['_sheetDrawingService']=_0x17d86e,this[_0x514348(0x63f)]=_0x5f4086,this[_0x514348(0x331)]();}[_0x525a7c(0x331)](){const _0x5d9c8a=_0x525a7c;this[_0x5d9c8a(0x1eb)](this['_sheetInterceptorService'][_0x5d9c8a(0x57a)]({'getMutations':_0x4b6766=>{const _0x4848b9=_0x5d9c8a;if(_0x4b6766['id']===_0x1e0a80['id']){let _0x4fcfc5=_0x398ea1(this[_0x4848b9(0x511)],_0x4b6766[_0x4848b9(0x2f6)]);if(!_0x4fcfc5)return{'redos':[],'undos':[]};let {unitId:_0x2d76d1,subUnitId:_0x346c98}=_0x4fcfc5,_0x56a4fc=this[_0x4848b9(0x386)][_0x4848b9(0x370)](_0x2d76d1,_0x346c98),_0x5f3980=Object['values'](_0x56a4fc)[_0x4848b9(0x56d)](_0x3e2e84=>_0x3e2e84['drawingType']===_0x663dcd['DRAWING_SHAPE']);if(_0x5f3980[_0x4848b9(0x565)]===0x0)return{'redos':[],'undos':[]};let _0x5eb8a2=[],_0x2f9a5b=[];for(let _0x25bcc4=0x0;_0x25bcc4<_0x5f3980['length'];_0x25bcc4++){let _0x1c7241=_0x5f3980[_0x25bcc4],_0x3bf147=this[_0x4848b9(0x63f)][_0x4848b9(0x5ff)](_0x1c7241[_0x4848b9(0x358)],_0x1c7241[_0x4848b9(0x2d8)],_0x1c7241[_0x4848b9(0x644)]);if(!_0x3bf147)continue;let {redo:_0x5b8a78,undo:_0x563aed,objects:_0x513f6e}=this[_0x4848b9(0x386)]['getBatchRemoveOp']([_0x1c7241]);_0x5eb8a2[_0x4848b9(0x564)]({'id':_0x16984e['id'],'params':{'unitId':_0x2d76d1,'subUnitId':_0x346c98,'shapeId':_0x1c7241[_0x4848b9(0x644)]}}),_0x5eb8a2[_0x4848b9(0x564)]({'id':_0xd8d804['id'],'params':{'unitId':_0x2d76d1,'subUnitId':_0x346c98,'type':_0xf244d9[_0x4848b9(0x539)],'op':_0x5b8a78,'objects':_0x513f6e}}),_0x2f9a5b[_0x4848b9(0x564)]({'id':_0xd8d804['id'],'params':{'unitId':_0x2d76d1,'subUnitId':_0x346c98,'type':_0xf244d9[_0x4848b9(0x2ae)],'op':_0x563aed,'objects':_0x513f6e}}),_0x2f9a5b[_0x4848b9(0x564)]({'id':_0xa7bd4d['id'],'params':{'unitId':_0x2d76d1,'subUnitId':_0x346c98,'shapeId':_0x1c7241[_0x4848b9(0x644)],'shapeType':_0x3bf147[_0x4848b9(0x4b4)](),'shapeData':JSON[_0x4848b9(0x306)](JSON['stringify'](_0x3bf147['getShapeData']()))}});}return{'redos':_0x5eb8a2,'undos':_0x2f9a5b};}else{if(_0x4b6766['id']===_0x13951e['id']){let {unitId:_0x2e9652,subUnitId:_0x37e40d,targetSubUnitId:_0xceaf29}=_0x4b6766['params'];if(!_0x2e9652||!_0x37e40d||!_0xceaf29)return{'redos':[],'undos':[]};let _0x1c618d=this['_sheetDrawingService']['getDrawingData'](_0x2e9652,_0x37e40d),_0x2a20bf=Object[_0x4848b9(0x421)](_0x1c618d)[_0x4848b9(0x56d)](_0x204a5f=>_0x204a5f[_0x4848b9(0x626)]===_0x663dcd[_0x4848b9(0x60a)]);if(_0x2a20bf[_0x4848b9(0x565)]===0x0)return{'redos':[],'undos':[]};let _0x3b8d79=[],_0x39d10b=[];for(let _0x2e2329=0x0;_0x2e2329<_0x2a20bf[_0x4848b9(0x565)];_0x2e2329++){let _0x41105e=_0x2a20bf[_0x2e2329],_0x273afd=this[_0x4848b9(0x63f)][_0x4848b9(0x5ff)](_0x41105e['unitId'],_0x41105e[_0x4848b9(0x2d8)],_0x41105e['drawingId']);if(!_0x273afd)continue;let _0x27db90=_0x176349(),_0x25bc5b={..._0x41105e,'unitId':_0x2e9652,'subUnitId':_0xceaf29,'drawingId':_0x27db90},{redo:_0x166122,undo:_0x5916d3,objects:_0x5ba354}=this[_0x4848b9(0x386)]['getBatchAddOp']([_0x25bc5b]);_0x3b8d79[_0x4848b9(0x564)]({'id':_0xd8d804['id'],'params':{'unitId':_0x2e9652,'subUnitId':_0xceaf29,'type':_0xf244d9[_0x4848b9(0x2ae)],'op':_0x166122,'objects':_0x5ba354}}),_0x3b8d79[_0x4848b9(0x564)]({'id':_0xa7bd4d['id'],'params':{'unitId':_0x2e9652,'subUnitId':_0xceaf29,'shapeId':_0x27db90,'shapeType':_0x273afd[_0x4848b9(0x4b4)](),'shapeData':JSON[_0x4848b9(0x306)](JSON[_0x4848b9(0x46b)](_0x273afd[_0x4848b9(0x473)]()))}}),_0x39d10b[_0x4848b9(0x564)]({'id':_0x16984e['id'],'params':{'unitId':_0x2e9652,'subUnitId':_0xceaf29,'shapeId':_0x27db90}}),_0x39d10b[_0x4848b9(0x564)]({'id':_0xd8d804['id'],'params':{'unitId':_0x2e9652,'subUnitId':_0xceaf29,'type':_0xf244d9[_0x4848b9(0x539)],'op':_0x5916d3,'objects':_0x5ba354}});}return{'redos':_0x3b8d79,'undos':_0x39d10b};}}return{'redos':[],'undos':[]};}}));}};Io=$([Q(0x0,_0x3293e1(_0x757fa4)),Q(0x1,_0x3293e1(_0x57051e)),Q(0x2,_0x3293e1(_0x1e4c00)),Q(0x3,_0x3293e1(_0xbf66b3))],Io);let Lo=class extends _0xb10ffb{constructor(_0x371a18,_0x79d2db,_0x4cb6aa,_0x19f73b,_0x44308d){const _0x42c2a3=_0x525a7c;super(),this[_0x42c2a3(0x693)]=_0x371a18,this[_0x42c2a3(0x335)]=_0x79d2db,this[_0x42c2a3(0x463)]=_0x4cb6aa,this[_0x42c2a3(0x4ed)]=_0x19f73b,this['_sheetsShapeService']=_0x44308d,Y(this,'_lastEditingShapeKey',null),this['_initEvents'](),this[_0x42c2a3(0x208)](),this[_0x42c2a3(0x261)]();}[_0x525a7c(0x40f)](){const _0x24670b=_0x525a7c;let {scene:_0x3b50be}=this[_0x24670b(0x693)];this['disposeWithMe'](_0x3b50be[_0x24670b(0x628)][_0x24670b(0x5ad)](_0x1f6bf9=>{const _0x32dcc9=_0x24670b;let {offsetX:_0x2878ec,offsetY:_0x4b8194}=_0x1f6bf9,_0x588056=_0x3b50be['pick'](_0x3f0c8c['FromArray']([_0x2878ec,_0x4b8194]));if(_0x588056 instanceof to){if(_0x40b171(this[_0x32dcc9(0x63f)][_0x32dcc9(0x4b4)](_0x588056[_0x32dcc9(0x358)],_0x588056[_0x32dcc9(0x2d8)],_0x588056[_0x32dcc9(0x35f)])))return;this['_shapeTextEditingService']['setEditing']({'visible':!0x0,'unitId':_0x588056[_0x32dcc9(0x358)],'subUnitId':_0x588056['subUnitId'],'shapeId':_0x588056['shapeId'],'shapeKey':_0x588056[_0x32dcc9(0x46d)]});}}));}[_0x525a7c(0x208)](){const _0x24b93b=_0x525a7c;this[_0x24b93b(0x1eb)](this[_0x24b93b(0x463)][_0x24b93b(0x1fe)][_0x24b93b(0x56a)](_0x571ae4=>{const _0x55b928=_0x24b93b;if(_0x571ae4[_0x55b928(0x565)]===0x1){let _0xe36505=_0x571ae4[0x0],_0x360c71=this[_0x55b928(0x463)][_0x55b928(0x5c1)](_0xe36505);if((_0x360c71==null?void 0x0:_0x360c71['drawingType'])===_0x663dcd['DRAWING_SHAPE']){let _0x1684a4=this[_0x55b928(0x335)]['getEditing']();if((_0x1684a4==null?void 0x0:_0x1684a4['shapeId'])===_0xe36505[_0x55b928(0x644)]&&_0x1684a4['visible'])return;_0x40b171(this[_0x55b928(0x63f)]['getShapeType'](_0xe36505[_0x55b928(0x358)],_0xe36505[_0x55b928(0x2d8)],_0xe36505[_0x55b928(0x644)]))&&this['_shapeTextEditingService'][_0x55b928(0x554)](null);}else this[_0x55b928(0x335)][_0x55b928(0x255)]()&&(this[_0x55b928(0x335)][_0x55b928(0x5ab)](!0x0),requestAnimationFrame(()=>{const _0x134ddf=_0x55b928;this[_0x134ddf(0x335)]['setEditing'](null);}));}else this[_0x55b928(0x335)][_0x55b928(0x255)]()&&(this[_0x55b928(0x335)][_0x55b928(0x5ab)](!0x0),requestAnimationFrame(()=>{const _0x38449f=_0x55b928;this[_0x38449f(0x335)]['setEditing'](null);}));})),this['disposeWithMe'](this[_0x24b93b(0x463)][_0x24b93b(0x662)][_0x24b93b(0x56a)](_0xab1c63=>{const _0x597599=_0x24b93b;let _0x4efcaa=this[_0x597599(0x335)][_0x597599(0x255)]();_0x4efcaa&&_0xab1c63['some'](_0x3f56da=>_0x3f56da[_0x597599(0x644)]===_0x4efcaa[_0x597599(0x35f)])&&this[_0x597599(0x335)][_0x597599(0x554)](null);}));}[_0x525a7c(0x261)](){const _0x7d9492=_0x525a7c;this[_0x7d9492(0x1eb)](this[_0x7d9492(0x335)][_0x7d9492(0x327)][_0x7d9492(0x56a)](_0x76524b=>{const _0x408d94=_0x7d9492;let {scene:_0xac3379}=this[_0x408d94(0x693)];if(this[_0x408d94(0x646)]){let _0x3b0e12=_0xac3379['getObjectIncludeInGroup'](this[_0x408d94(0x646)]);_0x3b0e12&&_0x3b0e12[_0x408d94(0x554)](!0x1);}if(_0x76524b){let _0x1732bf=!!_0x76524b[_0x408d94(0x449)],_0x4aacf6=_0xac3379['getObjectIncludeInGroup'](_0x76524b[_0x408d94(0x4d7)]);_0x4aacf6&&(_0x4aacf6['setEditing'](_0x1732bf),this[_0x408d94(0x646)]=_0x76524b[_0x408d94(0x4d7)]),this[_0x408d94(0x4ed)][_0x408d94(0x3fd)](_0x2fd4a1,_0x1732bf);}else this[_0x408d94(0x646)]=null,this[_0x408d94(0x4ed)][_0x408d94(0x3fd)](_0x2fd4a1,!0x1);}));}};Lo=$([Q(0x1,_0x3293e1(X)),Q(0x2,_0x40f1b2),Q(0x3,_0x58e33a),Q(0x4,_0x3293e1(_0xbf66b3))],Lo);const Ro={'normal':{'fill':_0xd80510['cxnPointFill'],'stroke':_0xd80510[_0x525a7c(0x538)],'strokeWidth':_0xd80510[_0x525a7c(0x274)]},'highlighted':{'fill':'#4285f4','stroke':_0x525a7c(0x602),'strokeWidth':0x2}};function _0x2a20(){const _0x5b891e=['_copyInfo','BUTTON','worldPoints','sheets-shape-ui.line.dashType.dashDot','getConnectionInfo','clear','getViewport','_initCommands','color','sheets-shape-ui.shape.type.gear6','ShapeCornerTabsIcon','Linear','decorate','sheets-shape-ui.align.left','FlowchartOffPageConnector','getUnit','sheets-shape-ui.shape.type.accent-callout2','sheets-shape-ui.shape.type.flow-chart-input-output','sheet.operation.open-sheet-shape-format-panel','ShapeSnip2DiagRectIcon','diamond','11oGSsCa','_sheetInterceptorService','custom','setOnSavingEditorData','sheets-shape-ui.shape.type.ellipse','subscribeEvent','sheets-shape-ui.shape.type.left-arrow','getRenderById','FlowchartProcess','ENTER','clearAdjustControls','ShapeHeptagonIcon','sheets-shape-ui.line.arrowSize.small','_currentConnectionTarget','DRAWING_IMAGE','_transformCalculateSrcRect','_init','adjHandleFill','sheets-shape-ui.shape.type.snip-round-rect','Hexagon','sheets-shape-ui.shape.type.action-button-back-previous','undo','WRAP','sheets-shape-ui.fill.picture.offsetX','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','getDrawingByParam','1173658FAddtz','Angular','RightBracket','Solid','ShapeUpArrowCalloutIcon','_injector','sheets-shape-ui.shape.type.smiley-face','_getImageDrawingInfo','sheets-shape-ui.shape.type.action-button-sound','sheets-shape-ui.line.beginArrowType','ShapeFlowChartAlternateProcessIcon','verticalAlign','ShapeActionButtonSoundIcon','Path','ShapeStar7Icon','AccentCallout3','sheets-shape-ui.shape.type.bent-connector3-arrow1','LeftBracket','flowchart','ShapeActionButtonHomeIcon','worldRect','Plus','angle','LeftBrace','_updateShapeAdjustControls','SHEET_SHAPE_UI_PLUGIN','sheets-shape-ui.shape.type.action-button-home','GROUP','_openShapeEditPanel','1599310UzsSgl','_clearControls','_transform','sheets-shape-ui.shape.type.math-minus','sheets-shape-ui.line.sketchType.handDrawn','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','VIEW_MAIN_LEFT','ShapeFlowChartPunchedCardIcon','ShapePlusIcon','ShapeFunnelIcon','sheets-shape-ui.shape.type.curved-connector3','_moveConnectorWithShape','Round2SameRect','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','deepClone','sheets-shape-ui.shape.type.right-bracket','transformForAngle','DiamondArrow','LightningBolt','sheets-shape-ui.shape.type.line','ShapeFlowChartManualOperationIcon','sheets-shape-ui.toolbar.verticalAlignMode.main','_registerImageShapeClipDelegate','sheets-shape-ui.shape.type.rect-textbox-horizontal','_cxtHandlerPointerUp','Radial','VerticalScroll','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','sheets-shape-ui.shape.type.callout2','ShapeEllipseIcon','sheets-shape-ui.shape.type.cloud-callout','sheets-shape-ui.shape.type.flow-chart-alternate-process','getShapeModel','shape-text-','_handleFreeEndpointMove','#1a73e8','NoFill','forEach','sheet.command.set-shape-text-font-size','has','value','Chevron','sheets-shape-ui.line.dashType.roundDot','DRAWING_SHAPE','bind','ActionButtonInformation','ShapeLeftBracketIcon','ShapeLeftRightCircularArrowIcon','target','sheet.shape.picker.component','isEditing','sheets-shape-ui.shape.type.left-up-arrow','sheets-shape-ui.fill.picture.tileAsTexture','URL','makeDirty','_createControls','_isConnecting','sheets-shape-ui.line.arrowSize.large','univer-flex\x20univer-flex-col\x20univer-gap-2','onSavingEditorData$','unsubscribe','LeftRightArrowCallout','ShapeBlockArcIcon','Cloud','pipe','FoldedCorner','None','sheetViewStartColumn','sheets-shape-ui.shape.type.action-button-beginning','slice','ShapeActionButtonBackPreviousIcon','drawingType','QuadArrowCallout','onDblclick$','onPointerDown$','Pentagon','ShapeFlowChartSortIcon','univer-w-20','Dash','UpArrowCallout','sheets-shape-ui.shape.type.diag-stripe','beforeCommandExecuted','AccentCallout1','constructor','SquareDot','registerClipDelegate','WedgeRectCallout','clipByShape','_handleConnectorPointerUp','_initialize','sheets-shape-ui.shape.type.flow-chart-summing-junction','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeMathMultiplyIcon','getEndConnectInfo','_menuManagerService','univer-w-28','_sheetsShapeService','Snip2DiagRect','sheets-shape-ui.fill.noFill','Frame','_isShouldShowDrawingShapeAdjust','drawingId','engine','_lastEditingShapeKey','sheets-shape-ui.shape.type.flow-chart-extract','StraightConnector1','getBentTypeFromPoints','getColorFromTheme','blur','enableObjectsEvent','_updateAdjustControlPositions','sheets-shape-ui.line.endArrowType','sheets-shape-ui.shape.type.flow-chart-preparation','ShapeRectIcon','alignment','offsetX','dataStream','sheets-shape-ui.shape.type.flow-chart-connector','sheets-shape-ui.line.arrowType.stealthArrow','RightJustifyingIcon','_activeAdjustPointList','sheets-shape-ui.shape.type.up-arrow','BentConnector3','_configService','getAdjustValueByName','isFinite','_getShapeInfo','sheets-shape-ui.shape.type.up-down-arrow-callout','OpenArrow','TOP','ShapeRectTextboxHorizontalIcon','remove$','_handleConnectedEndpointPointerUp','sheets-shape-ui.formatShape','error','cxnPointRadius','ShapeWedgeEllipseCalloutIcon','blockArrow','sheets-shape-ui.shape.type.up-arrow-callout','sheetViewStartRow','_getScrollInfo','body','FlowchartConnector','ShapeChartXIcon','activeSheet$','dashType','imageTile','lineJoinType','isHorizontal','iterator','getImage','Flat','_renderManagerService','sheets-shape-ui.shape.type.plaque','other','ShapeBracketPairIcon','sheets-shape-ui.line.sketchType.title','executeCommand','ShapeEllipseRibbonIcon','_commandService','ShapeParallelogramIcon','_imageIoService','FlowchartManualOperation','sheets-shape-ui.shape.type.flow-chart-offpage-connector','Triangle','ShapeCurvedConnector3Icon','horizontal','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','sheets-shape-ui.shape.type.cube','ShapeFlowChartMultidocumentIcon','scene','ShapeNotchedRightArrowIcon','sheets-shape-ui.shape.type.irregular-seal2','documentStyle','COMMAND','ShapeDownArrowCalloutIcon','sheets-shape-ui.shape.type.round2-diag-rect','_drawShapeText','sheets-shape-ui.shape.type.chart-star','ShapeWedgeRoundRectCalloutIcon','_context','FlowchartManualInput','getRealBound','sheets-shape-ui.shape.type.sun','BorderCallout3','univer-flex\x20univer-items-center\x20univer-justify-between','sheets-shape-ui.shape.type.funnel','line','_cxnIndex','sheets-shape-ui.line.capType.round','_baseShapeWidth','ChartStar','parseFloat','FlowchartMultiDocument','CurvedRightArrow','_activeImageId','sheets-shape-ui.shape.type.chord','ShapePieWedgeIcon','_initMenu','editorHeight','rowStartY','#ffffff','ShapeHeartIcon','ShapeStar12Icon','ShapeWaveIcon','horizontalAlign','sheets-shape-ui.shape.type.irregular-seal1','disposeWithMe','_baseShapeTop','sheets-shape-ui.shape.type.half-frame','sheets-shape-ui.shape.type.lightning-bolt','onPointerUp$','lineType','ActionButtonDocument','ShapeActionButtonHelpIcon','_focusedDrawings','current','collapsed','ShapeWedgeRectCalloutIcon','_executeConnectedRouteResizeCommand','_baseDrawingRect','setSrcRect','onStarting','addObject','ShapeLeftRightUpArrowIcon','\x20px','focus$','Star4','sheets-shape-ui.shape.type.pentagon','sheets-shape-ui.deleteShape','sheets-shape-ui.shape.type.star10','ShapeGear6Icon','ShapeFrameIcon','CurvedDownArrow','ShapeUturnArrowIcon','pushUndoRedo','_initSelection','ShapeFlowChartInternalStorageIcon','BentUpArrow','ShapeBentUpArrowIcon','image','onTransformChange$','fill','sheets-shape-ui.shape.type.math-divide','registerFeaturePasteHook','updateLinePoints','ActionButtonReturn','_sheetBasicShapeConnectionPointController','ShapeLineInvIcon','imageOpacity','sheets-shape-ui.shape.type.gear9','worldPoint','sheet.command.set-shape-text-font-size-decrease','ShapeBorderCallout3Icon','ShapePentagonIcon','MathMultiply','sheets-shape-ui.shape.type.parallelogram','sheets-shape-ui.shape.type.flow-chart-delay','Dodecagon','StripedRightArrow','@univerjs-pro/sheets-shape-ui','ShapeFlowChartPreparationIcon','skeleton','sheets-shape-ui.shape.type.corner-tabs','Tile','FlowchartTerminator','stroke','sheets-shape-ui.shape.type.star7','data','ShapeActionButtonEndIcon','_highlightedSiteIndex','_clearConnectionSites','ChartPlus','FlowchartPreparation','sheets-shape-ui.shape.type.accent-border-callout3','ShapeCurvedConnector3Arrow2Icon','ShapeFlowChartPredefinedProcessIcon','sheets-shape-ui.align.right','sheets-shape-ui.line.arrowType.none','_hasReset','viewBound','renderConfig','setAdjustValueByName','ShapeActionButtonReturnIcon','onRendered','_groupCopyPasteController','sheets-shape-ui.line.sketchType.curved','Heptagon','focusDrawing','ActionButtonForwardNext','_drawingType','sheets-shape-ui.shape.type.flow-chart-online-storage','sheets-shape-ui.line.joinType.miter','calcAdjValue','sheets-shape-ui.shape.type.quad-arrow','sheets-shape-ui.shape.type.vertical-scroll','sheets-shape-ui.shape.type.dodecagon','function','blockExecuteWithoutPermission','Callout3','Star10','ShapeFlowChartOfflineStorageIcon','ShapeQuadArrowIcon','sheets-shape-ui.shape.type.wedge-rect-callout','START','MIDDLE','ShapeDownArrowIcon','ShapeFlowChartDelayIcon','NoLine','ShapeActionButtonBeginningIcon','HorizontallyIcon','_addShapeConnectorHandlerObject','VIEW_MAIN','getEditing','ShapeFlowChartOrIcon','ShapeStar16Icon','SwooshArrow','_baseLeft','sheets-shape-ui.shape.type.bevel','sheets-shape-ui.shape.type.action-button-end','MathDivide','sheet.operation.close-sheet-shape-format-panel','_draggingConnectorId','sheets-shape-ui.insertShape','ShapeBentConnector3Arrow1Icon','_initEditingParams','Parallelogram','domX','_initCopyPaste','span','sheet.command.set-shape-text-vertical-align','basicShape','sheets-shape-ui.shape.type.callout1','_showConnectionSites','sheets-shape-ui.shape.type.triangle','ShapeUpDownArrowCalloutIcon','_calculateFreeEndpointAngle','LeftJustifyingIcon','getBatchRemoveOp','_drawingRenderService','getDrawingEditable','LongDash','_shapes','doc','cxnPointStrokeWidth','complete','getParent','flipX','BentArrow','sheets-shape-ui.shape.type.uturn-arrow','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','changing$','round','_onSavingEditorData$','none','sheets-shape-ui.shape.type.snip2-same-rect','sheets-shape-ui.shape.type.bent-arrow','_sheetShapeAdjustController','sheets-shape-ui.shape.type.corner','FlowchartAlternateProcess','Round1Rect','clearTimeout','lineStrokeType','stopPropagation','ShapeIrregularSeal1Icon','_sheetClipboardService','ChartX','sheets-shape-ui.shape.type.flow-chart-offline-storage','Miter','sheets-shape-ui.shape.type.hexagon','pluginName','gradientAngle','computeStraightConnectorLayout','FlowchartOnlineStorage','_registerMoveHandler','ShapeCloudCalloutIcon','cos','ShapeBentArrowIcon','ShapeActionButtonForwardNextIcon','ShapeAccentBorderCallout2Icon','sheets-shape-ui.shape.type.down-arrow','StealthArrow','input','size','sheets-shape-ui.shape.type.teardrop','add$','startConnectionDetection','sheets-shape-ui.fill.transparency','Rect','ShapeStar24Icon','ShapeQuadArrowCalloutIcon','ShapeRightBraceIcon','sheets-shape-ui.toolbar.resetColor','ShapePieIcon','ShapeTeardropIcon','isHighlighted','sheet.command.menu-insert-shape','composeMatrix','getBoundingClientRect','sheets-shape-ui.shape.type.curved-up-arrow','_drawSimpleText','sheets-shape-ui.line.width','INSERT','ShapeActionButtonBlankIcon','shapeType','_draw','_urlImageService','sheets-shape-ui.shape.type.line-inv','map','univer-w-20\x20univer-flex-1','useAbsolutePosition','VIEW_MAIN_LEFT_TOP','updateConnectionDetection','sheets-shape-ui.shape.type.home-plate','lineShapeId','ShapeHomePlateIcon','ShapeCallout2Icon','textRect','setCanUseShapeClip','starAndBanner','_isOpenedShapeEditPanel','ShapeCircularArrowIcon','_handleConnectedEndpointMove','isRender','ShapeLeftRightArrowIcon','_reset','scaleY','updateDocumentStyle','ShapeSunIcon','LineInv','_getOrCreateShapeModel','WedgeEllipseCallout','UNIVER_DOC','_activeShapeId','_generateCutPasteMutations','_loadAndSetImage','saveImage','sheets-shape-ui.toggleTextVertical','default','UturnArrow','type','ShapeDodecagonIcon','sheets-shape-ui.shape.type.action-button-information','shape-text-editor-content','subUnitId','sheets-shape-ui.line.joinType.bevel','FORMAT','ShapeUpArrowIcon','_baseShapeLeft','SHAPE','CROSSHAIR','localeService','calculate','getContextValue','188nAgQlW','vertexAngle','ShapeMathMinusIcon','ShapeRightBracketIcon','ShapeSnipRoundRectIcon','sheets-shape-ui.shape.type.diamond','_shapeService','deg)\x20scaleY(','adjName','Small','sheet.shape.edit.panel','sheets-shape-ui.shape.type.flow-chart-punched-card','ancestorTransform','endConnectionDetection','ShapeCallout3Icon','getConnectorLinePoints','copyType','sheets-shape-ui.imagePanel.crop.shape','ShapeCurvedRightArrowIcon','sheets-shape-ui.shape.type.plus','params','rotate(','top','sheets-shape-ui.fill.picture.align.b','Plaque','ShapeStar32Icon','sheets-shape-ui.shape.type.wedge-round-rect-callout','Ribbon2','ShapeFlowChartOffpageConnectorIcon','targetShapeId','setConfig','dispose','getConnectionSiteList','sheets-shape-ui.shape.type.bent-up-arrow','_resetState','ShapeDiagStripeIcon','parse','gdRefX','ShapeLeftBraceIcon','registerFeatureMenu','asObservable','GradientFill','registerCommand','vertical','ShapeMathDivideIcon','sheets-shape-ui.shape.type.left-right-arrow-callout','getCurrentScrollState','viewportScrollY','changeStart$','getShapeTextData','angular','sheets-shape-ui.line.sketchType.freehand','ShapeActionButtonInformationIcon','getShapeTextRect','ShapeBracePairIcon','_sidebarDisposable','sheets-shape-ui.shape.type.quad-arrow-callout','sheets-shape-ui.shape.type.action-button-document','ShapeIcon','setSelectionRanges','sheets-shape-ui.line.color','_clearShapeConnectorHandlerObjects','Arrow','_addShapeConnectorHandlerObjects','_clipService','setPrstGeom','focus','sheets-shape-ui.openPanel','Line','editingParams$','ShapeMathEqualIcon','packageName','sheets-shape-ui.shape.type.rect','_isHighlighted','getBasicShapeRelation','sheets-shape-ui.shape.type.star8','_clearShapeAdjustControls','sheets-shape-ui.shape.type.left-brace','_registerGroupFeaturePasteHook','_initSheetChange','sheets-shape-ui.shape.type.ellipse-ribbon2','SolidFill','gdRefR','_shapeTextEditingService','univer-text-gray-500','BracePair','ShapeCubeIcon','Donut','_updateImageAdjValues','Pie','CornerTabs','sheets-shape-ui.fill.picture.insert','_connectorObjects','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','ShapeLightningBoltIcon','fillImageSource','sheets-shape-ui.shape.type.rt-triangle','_handleFreeEndpointPointerUp','SquareTabs','save','ShapeBorderCallout1Icon','sheets-shape-ui.line.noLine','5917968ZeAdox','AccentBorderCallout1','_getSceneAndTransformerByDrawingSearch','sheets-shape-ui.shape.type.straight-connector1','sheets-shape-ui.shape.type.decagon','close','sheets-shape-ui.toolbar.fillColor.main','entries','_sheetCanvasPopManagerService','ShapeNoSmokingIcon','ShapeBentConnector3Arrow2Icon','sheets-shape-ui.shape.type.non-isosceles-trapezoid','sheets-shape-ui.line.capType.title','ShapeDiamondIcon','ShapeStar10Icon','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','unitId','_sheetSkeletonService','sheets-shape-ui.shape.type.flow-chart-sort','paragraphStyle','_adjHandlerPointerUp','ShapeMoonIcon','getStartConnectInfo','shapeId','ShapeFlowChartMagneticTapeIcon','ShapeBorderCallout2Icon','LEFT','FlowchartMerge','sheets-shape-ui.line.capType.flat','prstGeomAdjValues','domY','ShapeFlowChartDecisionIcon','_registerDrawingFocusChangeHandler','FlowchartPunchedTape','callout','ShapeBevelIcon','renderDrawingShape','univer-text-xl\x20univer-text-gray-500','ShapeRound2SameRectIcon','_baseHeight','getDrawingData','HomePlate','ShapeCornerIcon','div','getZoomRatio','ShapeRound2DiagRectIcon','clearAdjustValue','Snip2SameRect','Medium','Corner','isArray','sheets-shape-ui.shape.type.action-button-help','sheets-shape-ui.toggleFlipV','WedgeRoundRectCallout','ShapeFlowChartConnectorIcon','sheets-shape-ui.shape.type.left-bracket','flipY','mergeMenu','getSkeleton','sheets-shape-ui.shape.type.bent-connector3-arrow2','_rerouteConnectorLine','_initPermission','_sheetDrawingService','ShapeSnip2SameRectIcon','Trapezoid','ShapeHorizontalScrollIcon','ShapeRtTriangleIcon','width','ShapeChevronIcon','ShapeBentConnector3Icon','765978ofLFZJ','_localeService','setShouldShowAdjust','FlowchartMagneticDrum','sheets-shape-ui.shape.type.notched-right-arrow','ActionButtonEnd','Curved','Bevel','sheets-shape-ui.shape.type.right-brace','17768170gSUSOn','_createShapeAdjustControls','Callout1','Snip1Rect','click','getState','Round','FlowchartMagneticDisk','ShapeFlowChartCollateIcon','create','highlighted','_drawRichText','ActionButtonBackPrevious','drawWith','scaleX','sheets-shape-ui.shape.type.wedge-ellipse-callout','name','sheets-shape-ui.fill.picture.align.bl','univer-rounded-lg\x20univer-p-3','_props','sheets-shape-ui.fill.picture.align.br','endArrow','sheets-shape-ui.shape.type.chart-plus','ShapeAccentCallout3Icon','ShapeCurvedLeftArrowIcon','sheets-shape-ui.shape.type.star5','shape-adjust-point-','sheets-shape-ui.line.dashType.longDash','ShapeUpDownArrowIcon','_executeConnectionCommand','defineProperty','_handleBasicShapeUpdateConnectorLineShape','getDocumentData','DashDot','_createCopyInfoByRange','FlowchartCollate','ShapeFlowChartMagneticDrumIcon','ShapeRibbonIcon','#FFFFFF','sheets-shape-ui.fill.picture.scaleY','ActionButtonBlank','UpDownArrowCallout','LAYOUT','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','_currentUniverService','img','_isDrawingShapePointDown','viewportScrollX','sheets-shape-ui.shape.type.accent-callout3','drawing.operation.set-drawing-active','sheets-shape-ui.shape.type.star4','sheets-shape-ui.shape.type.action-button-forward-next','ShapeMathPlusIcon','UUID','sheets-shape-ui.shape.type.round-rect','_activeTargetShapeId','sheets-shape-ui.shape.type.right-arrow','_currentScene','_baseShapeHeight','ShapeSquareTabsIcon','sheets-shape-ui.shape.type.donut','Octagon','disableShapeOption','isRenderLinePointsMode','relation','sheets-shape-ui.shape.type.star12','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','RoundRect','DiagStripe','sheets-shape-ui.shape.type.flow-chart-manual-operation','_adjHandlerPointerMove','sheets-shape-ui.fill.gradientFill','sheets-shape-ui.align.top','Teardrop','SHAPE_TEXT','EllipseRibbon2','ShapeSmileyFaceIcon','ShapeFlowChartMagneticDiskIcon','Star6','disableObjectsEvent','sheets-shape-ui.shape.type.arc','register','_updateSrcRectByTransform','_drawingAddListener','#000000','sketchType','sheets-shape-ui.shape.type.border-callout3','connector-handler-','auto','BorderCallout1','PieWedge','onReady','sheets-shape-ui.toggleFlipH','normal','linear','DownArrowCallout','ShapeCurvedUpArrowIcon','transform','startX','AlignTopIcon','getTransformerByCreate','setShapeProps','setContextValue','_registerDrawingMoveHandler','sheets-shape-ui.shape.type.heptagon','AccentBorderCallout2','ShapeVerticalScrollIcon','index','indexOf','gradientType','sheets-shape-ui.shape.type.folder-corner','sin','sheets-shape-ui.shape.type.trapezoid','ShapeHexagonIcon','ShapeOctagonIcon','sheets-shape-ui.shape.type.double-wave','sheets-shape-ui.line.arrowType.arrow','shape-text-editor','BOTTOM','sheets-shape-ui.shape.type.accent-border-callout1','_initEvents','Large','_shapeUpdateListener','ShapeCurvedDownArrowIcon','univer-flex-1\x20univer-overflow-auto','_attachAdjustEvent','sheets-shape-ui.shape.type.right-arrow-callout','RIGHT','prototype','sheets-shape-ui.shape.type.round2-same-rect','_getZoomRatio','isNaN','marginTop','sheets-shape-ui.shape.type.plaque-tabs','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','gradientStops','SolidLine','ShapeLeftArrowIcon','values','sheets-shape-ui.shape.type.border-callout1','getObject','sheets-shape-ui.line.capType.square','_targetShapeId','_getShapeAdjustInfosById','getDrawingOrder','LeftUpArrow','univer-text-gray-600\x20univer-transition-transform','isLineShape','end','addClipboardHook','sheets-shape-ui.shape.type.pie','SELECTOR','_commandExecutedListener','univer-box-border\x20univer-px-4\x20univer-text-sm','univer-flex\x20univer-flex-col\x20univer-gap-3','ShapeRound1RectIcon','sheets-shape-ui.fill.picture.offsetY','sheets-shape-ui.shape.type.flow-chart-merge','_isImagePointerDown','_addControl','ShapeHalfFrameIcon','ShapeFlowChartExtractIcon','sheet.command.update-shape-data','sheets-shape-ui.line.joinType.title','setDocumentData','Gear9','ShapeChartPlusIcon','sheets-shape-ui.shape.type.action-button-blank','ShapeLeftUpArrowIcon','ShapeRoundRectIcon','sheets-shape-ui.shape.type.frame','UpDownArrow','buildClipPath','_findNearestConnectionSite','getDrawingSearch','getUnitId','CUT','sheets-shape-ui.shape.type.swoosh-arrow','visible','src','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','getShapePopupMenus','ShapeAccentCallout2Icon','transformByState','opacity','style','sheets-shape-ui.shapeStyle','fillType','ShapePlaqueTabsIcon','sheets-shape-ui.line.arrowType.ovalArrow','isHitLine','getSheetBySheetId','sheets-shape-ui.align.center','sheets-shape-ui.line.dashType.title','univer-absolute','mainComponent','restore','sheets-shape-ui.fill.picture.align.l','prstGeom','getCurrentLastSelection','multiply','sheets-shape-ui.shape.type.accent-callout1','ShapeAccentCallout1Icon','ShapeDonutIcon','_drawingManagerService','univer-text-sm','_getImagePrstGeom','colStartX','rotation','sheets-shape-ui.config','classType','localToWorld','stringify','find','oKey','Decagon','sheets-shape-ui.line.solidLine','LeftArrow','_activeAdjustInfo','ShapeIrregularSeal2Icon','getShapeData','ShapeStripedRightArrowIcon','gdRefY','_unitId','EllipseRibbon','ShapeFlowChartManualInputIcon','_getShapeAdjustPointListById','ShapeChartStarIcon','MathEqual','keys','registerRenderModule','_activeShapeInfo','beginPath','_sheetPermissionCheckController','BlockArc','ShapeRectTextboxVerticalIcon','cxnPointFill','AccentCallout2','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','equationShape','worksheet','sheets-shape-ui.line.endArrowSize','getFreeze','gdRefAng','sheets-shape-ui.fill.picture.align.r','ShapeCanIcon','univer-w-full','sheets-shape-ui.shape.type.straight-connector2','ShapeNonIsoscelesTrapezoidIcon','computeConnectorResizeLayout','replace','cxnIndex','warn','Star16','_adjName','_componentManager','draw','Gear6','_editingParams$','Ellipse','PictureFill','get','NoSmoking','getDrawingPoints','sheet.command.set-shape-text-horizontal-align','resetCursor','UPDATE','sheets-shape-ui.shape.type.circular-arrow','_addShapeAdjustControl','ShapeFlowChartOnlineStorageIcon','sheets-shape-ui.shape.type.left-arrow-callout','ShapeFlowChartProcessIcon','getAncestorScale','Chord','sheets-shape-ui.shape.type.star6','set','subscribeContextValue$','updateDocumentRenderConfig','LeftRightRibbon','_registerOperations','_activeShapeAdjustPointList','capType','ShapeGear9Icon','dataModel','max','getShapeType','FlowchartDisplay','ShapePlaqueIcon','LongDashDotDot','sheets-shape-ui.shape.type.math-equal','FlowchartSort','file','ang','objects','activeAnObject','isDrawingObject','sheets-shape-ui.toolbar.horizontalAlignMode.main','ShapeLineIcon','setTimeout','sheets-shape-ui.shape.type.flow-chart-process','setCursor','ShapeTrapezoidIcon','onPointerMove$','shapeData','sheets-shape-ui.fill.picture.scaleX','updateShapeFillImage','ShapeFlowChartInputOutputIcon','_subUnitId','ShapeLeftArrowCalloutIcon','ShapeStar5Icon','3424rIwfJh','connection-site-','updateContext','BracketPair','sheets-shape-ui.line.arrowSize.medium','Diamond','OPERATION','_generatePasteMutations','CurvedConnector3','sheets-shape-ui.shape.type.up-down-arrow','shapeKey','FlowchartExtract','\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','sheets-shape-ui.line.sketchType.none','isStartConnectorPoint','ShapeSwooshArrowIcon','Ribbon','sheets-shape-ui.shape.type.snip2-diag-rect','RoundDot','AccentBorderCallout3','_baseWidth','AlignBottomIcon','sheets-shape-ui.shape.type.star24','sheets-shape-ui.line.dashType.longDashDot','next','sheets-shape-ui.shape.type.flow-chart-punched-tape','PaintBucketDoubleIcon','changeEnd$','ShapeStraightConnector1Icon','Funnel','open','invert','_contextService','image-clip-adjust-point-','ShapeTextEditorContainer','_config','ShapeStraightConnector2Icon','abs','_insertShapes','_imageShapeClipController','ShapeArcIcon','ShapeCallout1Icon','sheets-shape-ui.fill.picture.align.tl','resize','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','srcRect','syncExecuteCommand','_isStartConnectorPoint','Star8','ShapeFlowChartPunchedTapeIcon','_registerComponent','sheets-shape-ui.shape.type.math-not-equal','ShapeFlowChartTerminatorIcon','MEDIA','with','sheets-shape-ui.shape.type.block-arc','ShapeLeftRightArrowCalloutIcon','ShapeFlowChartDocumentIcon','object','getBatchAddOp','MathMinus','icon','ShapeSnip1RectIcon','_generateCopyPasteMutations','_loadShapePictureFill','setShapeData','ShapeDecagonIcon','update$','_univerInstanceService','point','permissionCheckWithoutRange','HalfFrame','files','LeftRightArrow','ShapeFlowChartMergeIcon','sheets-shape-ui.shape.type.left-right-up-arrow','sheets-shape-ui.shape.type.curved-down-arrow','getBatchUpdateOp','ShapeActionButtonDocumentIcon','getCurrentTypeOfUnit$','sheets-shape-ui.shape.type.flow-chart-internal-storage','_isStartAdjusting','sheets-shape-ui.shape.type.star16','group','getInverseCoord','refreshAdjustControls','_getDrawingRect','sheets-shape-ui.line.transparency','IrregularSeal2','ShapeRightArrowIcon','LeftCircularArrow','rectangle','_registerShapeMenu','radial','Sun','sheets-shape-ui.fill.picture.alignment','getAdjustInfoByName','12783NNUtqd','render','setHighlighted','Stretch','Can','sheets-shape-ui.shape.type.flow-chart-display','redo','wrapStrategy','Freehand','_getConnectPointInfo','cxnPointStroke','REMOVE','section','sheet.command.set-shape-text-font-size-increase','sheets-shape-ui.align.bottom','registerFeatureMenuOffset','sheets-shape-ui.fill.title','sheets-shape-ui.shape.type.horizontal-scroll','isRichText','sheets-shape-ui.shape.type.callout3','Star24','from','getImageSourceCache','BUTTON_SELECTOR','_closeShapeEditPanel','height','setFillImage','adjustValues','_connectionSiteObjects','position','getObjectIncludeInGroup','_setTransForm','ShapeActionButtonMovieIcon','_shapeId','getMatrix','startY','NonIsoscelesTrapezoid','ShapeChordIcon','setEditing','ShapeEllipseRibbon2Icon','sheets-shape-ui.hidePanel','onCommandExecuted','ShapeMathNotEqualIcon','getFocusDrawings','ShapeCurvedConnector3Arrow1Icon','sheets-shape-ui.shape.type.flow-chart-multidocument','_getConnectionSiteAngle','ShapeFlowChartSummingJunctionIcon','7273tPMKRW','sqrt','sheets-shape-ui.line.arrowType.openArrow','FlowChartInputOutput','_registerFocusChangeHandler','applyPoint','push','length','ShapeFlowChartDisplayIcon','startOffset','UNIVER_SHEET','1ptRJsi','subscribe','Cube','onload','filter','ShapeStar6Icon','sheets-shape-ui.line.joinType.round','sheets-shape-ui.shape.type.curved-right-arrow','left','setZoomRatio','min','getCurrentSkeleton','_sheetDrawingShapeRenderController','LeftRightUpArrow','startArrow','fillImageSourceType','_findShapeAtPoint','interceptCommand','_executeConnectedRouteConnectionCommand','imageFillMode','ShapeLeftRightRibbonIcon','ShapeAccentBorderCallout1Icon','sheets-shape-ui.fill.picture.align.t','_sidebarService','sheets-shape-ui.shape.type.bent-connector3','offsetY','shapeModel','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','LeftRightCircularArrow','Heart','symbol','sheets-shape-ui.shape.type.flow-chart-terminator','adjHandleSize','sheets-shape-ui.shape.type.flow-chart-manual-input','_activeShapeModel','_cxtHandlerPointerMove','strokeWidth','univer-text-primary-600','sheets-shape-ui.shape.type.flow-chart-decision','version','ShapeDoubleWaveIcon','getAdjustNames'];_0x2a20=function(){return _0x5b891e;};return _0x2a20();}var zo=class extends _0x257ce2{constructor(_0x334638,_0x517570){const _0x327aa8=_0x525a7c;super(_0x334638,_0x517570),Y(this,_0x327aa8(0x425),''),Y(this,_0x327aa8(0x1d8),-0x1),Y(this,'_unitId',''),Y(this,_0x327aa8(0x4ca),''),Y(this,_0x327aa8(0x32b),!0x1),_0x517570&&this[_0x327aa8(0x3fc)](_0x517570);}[_0x525a7c(0x597)](){const _0x432d92=_0x525a7c;return{'unitId':this[_0x432d92(0x476)],'subUnitId':this[_0x432d92(0x4ca)],'shapeId':this[_0x432d92(0x425)],'cxnIndex':this[_0x432d92(0x1d8)]};}['setHighlighted'](_0x2eb7ce){const _0x5bfad9=_0x525a7c;this['_isHighlighted']!==_0x2eb7ce&&(this[_0x5bfad9(0x32b)]=_0x2eb7ce,this['makeDirty'](!0x0));}['isHighlighted'](){const _0x125d83=_0x525a7c;return this[_0x125d83(0x32b)];}[_0x525a7c(0x3fc)](_0x3aee90){const _0x54b1ea=_0x525a7c;var _0x4e52d3,_0x4e24ca;_0x3aee90[_0x54b1ea(0x2ff)]!==void 0x0&&(this['_targetShapeId']=_0x3aee90[_0x54b1ea(0x2ff)]),_0x3aee90[_0x54b1ea(0x492)]!==void 0x0&&(this[_0x54b1ea(0x1d8)]=_0x3aee90[_0x54b1ea(0x492)]),_0x3aee90['unitId']!==void 0x0&&(this[_0x54b1ea(0x476)]=_0x3aee90[_0x54b1ea(0x358)]),_0x3aee90[_0x54b1ea(0x2d8)]!==void 0x0&&(this['_subUnitId']=_0x3aee90[_0x54b1ea(0x2d8)]),_0x3aee90[_0x54b1ea(0x2a7)]!==void 0x0&&(this[_0x54b1ea(0x32b)]=_0x3aee90['isHighlighted']),this[_0x54b1ea(0x44e)]({'width':(_0x4e52d3=_0x3aee90[_0x54b1ea(0x38b)])==null?_0xd80510[_0x54b1ea(0x666)]*0x2:_0x4e52d3,'height':(_0x4e24ca=_0x3aee90[_0x54b1ea(0x547)])==null?_0xd80510['cxnPointRadius']*0x2:_0x4e24ca});}[_0x525a7c(0x2b1)](_0x5af6cd){const _0x140444=_0x525a7c;let _0x116562=this['_isHighlighted']?Ro[_0x140444(0x3a1)]:Ro[_0x140444(0x3f4)];_0x33b336[_0x140444(0x3a4)](_0x5af6cd,{'radius':_0xd80510[_0x140444(0x666)],'fill':_0x116562[_0x140444(0x20e)],'stroke':_0x116562[_0x140444(0x226)],'strokeWidth':_0x116562[_0x140444(0x58d)],'evented':!0x0});}};let Bo=class extends _0xb10ffb{constructor(_0x57944b,_0x394bd7,_0x2fdcae,_0x185f5c){const _0x1776e1=_0x525a7c;super(),this[_0x1776e1(0x693)]=_0x57944b,this[_0x1776e1(0x677)]=_0x394bd7,this[_0x1776e1(0x463)]=_0x2fdcae,this['_sheetsShapeService']=_0x185f5c,Y(this,'_connectionSiteObjects',[]),Y(this,_0x1776e1(0x3ce),null),Y(this,'_highlightedSiteIndex',-0x1),Y(this,'_currentScene',null),Y(this,_0x1776e1(0x476),''),Y(this,'_subUnitId',''),Y(this,_0x1776e1(0x25e),null);}[_0x525a7c(0x29e)](_0x2a37af,_0x22a229,_0x554af5,_0xb29885){const _0x198fd5=_0x525a7c;this[_0x198fd5(0x3d0)]=_0x2a37af,this['_unitId']=_0x22a229,this[_0x198fd5(0x4ca)]=_0x554af5,this[_0x198fd5(0x25e)]=_0xb29885;}[_0x525a7c(0x2b8)](_0x123568){const _0x18b301=_0x525a7c;if(!this[_0x18b301(0x3d0)])return null;let _0x521797=this[_0x18b301(0x579)](_0x123568);return _0x521797?(this['_activeTargetShapeId']!==_0x521797[_0x18b301(0x35f)]&&(this[_0x18b301(0x22b)](),this[_0x18b301(0x269)](_0x521797[_0x18b301(0x35f)],_0x521797[_0x18b301(0x583)]),this[_0x18b301(0x3ce)]=_0x521797['shapeId']),this['_findNearestConnectionSite'](_0x123568)):(this[_0x18b301(0x3ce)]!==null&&(this[_0x18b301(0x22b)](),this[_0x18b301(0x3ce)]=null),null);}['endConnectionDetection'](){const _0x2e72a8=_0x525a7c;this[_0x2e72a8(0x22b)](),this[_0x2e72a8(0x3d0)]=null,this[_0x2e72a8(0x3ce)]=null,this[_0x2e72a8(0x22a)]=-0x1,this[_0x2e72a8(0x25e)]=null;}['getConnectionRelation'](){const _0x4a2255=_0x525a7c;return this['_activeTargetShapeId']===null||this[_0x4a2255(0x22a)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this['_highlightedSiteIndex']};}[_0x525a7c(0x579)](_0x318e74){const _0x25a4d2=_0x525a7c;let _0x5f019d=this[_0x25a4d2(0x463)][_0x25a4d2(0x370)](this[_0x25a4d2(0x476)],this[_0x25a4d2(0x4ca)]);for(let _0x342d7d of Object[_0x25a4d2(0x47c)](_0x5f019d)){if(_0x342d7d===this[_0x25a4d2(0x25e)]||_0x5f019d[_0x342d7d][_0x25a4d2(0x626)]!==_0x663dcd[_0x25a4d2(0x60a)])continue;let _0x5b8860=this['_sheetsShapeService'][_0x25a4d2(0x5ff)](this[_0x25a4d2(0x476)],this[_0x25a4d2(0x4ca)],_0x342d7d);if(!_0x5b8860||_0x40b171(_0x5b8860['getShapeType']())||_0x5b8860[_0x25a4d2(0x302)]()[_0x25a4d2(0x565)]===0x0||!this[_0x25a4d2(0x3d0)])continue;let _0x319de7=_0x3e269b({'unitId':this[_0x25a4d2(0x476)],'subUnitId':this[_0x25a4d2(0x4ca)],'drawingId':_0x342d7d}),_0xa54c05=this[_0x25a4d2(0x3d0)][_0x25a4d2(0x54c)](_0x319de7);if(!_0xa54c05)continue;let {left:_0xb2b917,top:_0x3a6a0a,width:_0x32e2e1,height:_0x19b45b}=_0xa54c05[_0x25a4d2(0x695)](),_0x285ab1=_0xb2b917+_0x32e2e1/0x2,_0x42031f=_0x3a6a0a+_0x19b45b/0x2,_0x1b4abf=_0xa54c05[_0x25a4d2(0x3f8)][_0x25a4d2(0x550)](),_0x18ad31=new _0x4a8695([_0x1b4abf[0x0],_0x1b4abf[0x1],_0x1b4abf[0x2],_0x1b4abf[0x3],_0x285ab1,_0x42031f]),_0x1641b7=_0xa54c05['getParent'](),_0x2afb61=(_0xa54c05['isInGroup']&&(_0x1641b7==null?void 0x0:_0x1641b7[_0x25a4d2(0x469)])===_0x5b5cf6[_0x25a4d2(0x5dd)]?_0x1641b7[_0x25a4d2(0x2ee)]['multiply'](_0x18ad31):_0x18ad31)[_0x25a4d2(0x4ec)]()[_0x25a4d2(0x563)](_0x318e74),_0x4bbb2c=_0x32e2e1/0x2,_0x16e074=_0x19b45b/0x2;if(_0x2afb61['x']>=-_0x4bbb2c-0x5&&_0x2afb61['x']<=_0x4bbb2c+0x5&&_0x2afb61['y']>=-_0x16e074-0x5&&_0x2afb61['y']<=_0x16e074+0x5)return{'shapeId':_0x342d7d,'shapeModel':_0x5b8860};}return null;}[_0x525a7c(0x269)](_0x16b0ee,_0x26c35c){const _0x2c536a=_0x525a7c;if(!this[_0x2c536a(0x3d0)])return;let _0xcc424f=_0x3e269b({'unitId':this[_0x2c536a(0x476)],'subUnitId':this['_subUnitId'],'drawingId':_0x16b0ee}),_0x1b2561=this['_currentScene'][_0x2c536a(0x54c)](_0xcc424f);if(!_0x1b2561)return;let {left:_0x1868e5,top:_0x328737,width:_0x5ec95e,height:_0x12c77b}=_0x1b2561['getRealBound'](),_0x2128c6=_0x1868e5+_0x5ec95e/0x2,_0x47f376=_0x328737+_0x12c77b/0x2,_0x274cb7=_0x1b2561[_0x2c536a(0x3f8)][_0x2c536a(0x550)](),_0x2a89b2=new _0x4a8695([_0x274cb7[0x0],_0x274cb7[0x1],_0x274cb7[0x2],_0x274cb7[0x3],_0x2128c6,_0x47f376]),_0x286dfa=_0x1b2561['getParent'](),_0x40a944=_0x1b2561['isInGroup']&&(_0x286dfa==null?void 0x0:_0x286dfa['classType'])===_0x5b5cf6[_0x2c536a(0x5dd)]?_0x286dfa[_0x2c536a(0x2ee)][_0x2c536a(0x45f)](_0x2a89b2):_0x2a89b2;_0x26c35c[_0x2c536a(0x4cf)]({'width':_0x5ec95e,'height':_0x12c77b});let _0x8612f6=_0x26c35c['getConnectionSiteList']();for(let _0x2fb486 of _0x8612f6){let _0x4724bc=_0x2fb486['x']-_0x5ec95e/0x2,_0x364123=_0x2fb486['y']-_0x12c77b/0x2,_0x43d9a1=_0x40a944[_0x2c536a(0x563)]({'x':_0x4724bc,'y':_0x364123}),_0x4cbcf6=_0x43d9a1['x'],_0x32623b=_0x43d9a1['y'],_0x1eb76b=new zo(_0x2c536a(0x4ce)+_0x16b0ee+'-'+_0x2fb486[_0x2c536a(0x402)],{'left':_0x4cbcf6-_0xd80510[_0x2c536a(0x666)],'top':_0x32623b-_0xd80510['cxnPointRadius'],'targetShapeId':_0x16b0ee,'cxnIndex':_0x2fb486[_0x2c536a(0x402)],'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'width':_0xd80510[_0x2c536a(0x666)]*0x2,'height':_0xd80510['cxnPointRadius']*0x2,'zIndex':_0x230c50+0x2,'evented':!0x1});this[_0x2c536a(0x54a)][_0x2c536a(0x564)](_0x1eb76b),this[_0x2c536a(0x3d0)]['addObject'](_0x1eb76b,_0x230c50+0x2);}}[_0x525a7c(0x444)](_0x17b3ca){const _0x4925a1=_0x525a7c;let _0x2ca0ac=null,_0x5c225c=0x1/0x0,_0x16c175=null;for(let _0x5dc114 of this[_0x4925a1(0x54a)]){let _0x4ad277=_0x5dc114[_0x4925a1(0x571)]+_0xd80510['cxnPointRadius'],_0x9f4fdf=_0x5dc114[_0x4925a1(0x2f8)]+_0xd80510[_0x4925a1(0x666)],_0x436b08=_0x17b3ca['x']-_0x4ad277,_0x3fc776=_0x17b3ca['y']-_0x9f4fdf,_0x2eaf93=Math[_0x4925a1(0x55f)](_0x436b08*_0x436b08+_0x3fc776*_0x3fc776);_0x2eaf93<_0x5c225c&&(_0x5c225c=_0x2eaf93,_0x2ca0ac=_0x5dc114,_0x16c175={'x':_0x4ad277,'y':_0x9f4fdf});}let _0x3c9787=_0x5c225c<=0xa&&_0x2ca0ac?_0x2ca0ac[_0x4925a1(0x597)]()[_0x4925a1(0x492)]:-0x1;if(_0x3c9787!==this[_0x4925a1(0x22a)]){for(let _0x3c302b of this['_connectionSiteObjects']){let _0x1c4fe5=_0x3c302b[_0x4925a1(0x597)]();_0x3c302b[_0x4925a1(0x530)](_0x1c4fe5[_0x4925a1(0x492)]===_0x3c9787);}this['_highlightedSiteIndex']=_0x3c9787;}if(_0x5c225c<=0xa&&_0x2ca0ac&&_0x16c175){let _0x12bb13=_0x2ca0ac[_0x4925a1(0x597)](),_0x5842b1=this[_0x4925a1(0x55c)](_0x12bb13[_0x4925a1(0x35f)],_0x12bb13[_0x4925a1(0x492)]);return{'shapeId':_0x12bb13[_0x4925a1(0x35f)],'cxnIndex':_0x12bb13[_0x4925a1(0x492)],'unitId':_0x12bb13['unitId'],'subUnitId':_0x12bb13[_0x4925a1(0x2d8)],'worldPoint':_0x16c175,'angle':_0x5842b1};}return null;}[_0x525a7c(0x55c)](_0xa51558,_0x2c396e){const _0xf6512e=_0x525a7c;let _0xbe2085=this[_0xf6512e(0x63f)][_0xf6512e(0x5ff)](this[_0xf6512e(0x476)],this[_0xf6512e(0x4ca)],_0xa51558);if(!_0xbe2085)return 0x0;let _0x1f1d2f=this[_0xf6512e(0x463)][_0xf6512e(0x5c1)]({'unitId':this[_0xf6512e(0x476)],'subUnitId':this[_0xf6512e(0x4ca)],'drawingId':_0xa51558});if(!(_0x1f1d2f!=null&&_0x1f1d2f[_0xf6512e(0x3f8)]))return 0x0;let {width:_0x556cd6=0x0,height:_0x1a5d28=0x0,flipX:_0x1cb4b7=!0x1,flipY:_0x18521b=!0x1}=_0x1f1d2f[_0xf6512e(0x3f8)];_0xbe2085[_0xf6512e(0x4cf)]({'width':_0x556cd6,'height':_0x1a5d28});let _0x3aa8aa=_0xbe2085[_0xf6512e(0x302)]()[_0xf6512e(0x46c)](_0x3ac2c4=>_0x3ac2c4[_0xf6512e(0x402)]===_0x2c396e);if(!_0x3aa8aa)return 0x0;let _0x4248e4=_0x3aa8aa['ang']/0xea60;return _0x1cb4b7&&(_0x4248e4=0xb4-_0x4248e4),_0x18521b&&(_0x4248e4=-_0x4248e4),_0x4248e4=(_0x4248e4%0x168+0x168)%0x168,_0x4248e4;}[_0x525a7c(0x22b)](){const _0x513256=_0x525a7c;for(let _0x52a0ca of this[_0x513256(0x54a)])_0x52a0ca['dispose']();this[_0x513256(0x54a)]=[],this[_0x513256(0x22a)]=-0x1;}['dispose'](){const _0x1ff58c=_0x525a7c;this[_0x1ff58c(0x22b)](),super[_0x1ff58c(0x301)]();}};Bo=$([Q(0x1,_0x3293e1(_0x243434)),Q(0x2,_0x3293e1(_0x40f1b2)),Q(0x3,_0x3293e1(_0xbf66b3))],Bo);let Vo=class extends _0xb10ffb{constructor(_0xd4945a,_0x2c907c,_0x19baa7,_0x210f0f,_0x1c34ee){const _0x40c9b6=_0x525a7c;super(),this[_0x40c9b6(0x359)]=_0xd4945a,this[_0x40c9b6(0x289)]=_0x2c907c,this[_0x40c9b6(0x386)]=_0x19baa7,this[_0x40c9b6(0x2e8)]=_0x210f0f,this['_groupCopyPasteController']=_0x1c34ee,Y(this,_0x40c9b6(0x593),void 0x0),this[_0x40c9b6(0x264)](),this[_0x40c9b6(0x330)]();}get['_focusedDrawings'](){const _0x1433df=_0x525a7c;return this[_0x1433df(0x386)][_0x1433df(0x559)]();}[_0x525a7c(0x330)](){const _0x28a35e=_0x525a7c;this[_0x28a35e(0x239)][_0x28a35e(0x210)](({fromUnitId:_0x3ca0b1,fromSubUnitId:_0x5f3334,toUnitId:_0x232ac1,toSubUnitId:_0x1b82ba,idMap:_0x1651c4})=>{const _0x307aaf=_0x28a35e;let _0x5d935e=[],_0x5e3cf1=[];for(let [_0x421818,_0x3f0b2d]of _0x1651c4[_0x307aaf(0x34f)]()){let _0x1f9572=this['_shapeService'][_0x307aaf(0x5ff)](_0x3ca0b1,_0x5f3334,_0x421818);if(!_0x1f9572)continue;let _0x46005a=_0x1f9572[_0x307aaf(0x4b4)](),_0x5b3e99=JSON[_0x307aaf(0x306)](JSON['stringify'](_0x1f9572['getShapeData']()));if(_0x5b3e99[_0x307aaf(0x3d7)]){var _0x28432f,_0x59165d;let _0x3eb5ed=(_0x28432f=_0x5b3e99[_0x307aaf(0x3d7)][_0x307aaf(0x543)])==null?void 0x0:_0x28432f[_0x307aaf(0x35f)],_0x5be715=(_0x59165d=_0x5b3e99[_0x307aaf(0x3d7)]['to'])==null?void 0x0:_0x59165d['shapeId'],_0x46a9f4=_0x3eb5ed?_0x1651c4['has'](_0x3eb5ed):!0x0,_0x3cabb4=_0x5be715?_0x1651c4[_0x307aaf(0x606)](_0x5be715):!0x0;_0x46a9f4&&_0x3eb5ed&&_0x5b3e99[_0x307aaf(0x3d7)]['from']?_0x5b3e99['relation'][_0x307aaf(0x543)]={..._0x5b3e99[_0x307aaf(0x3d7)][_0x307aaf(0x543)],'shapeId':_0x1651c4[_0x307aaf(0x49c)](_0x3eb5ed)}:_0x5b3e99['relation'][_0x307aaf(0x543)]=void 0x0,_0x3cabb4&&_0x5be715&&_0x5b3e99['relation']['to']?_0x5b3e99[_0x307aaf(0x3d7)]['to']={..._0x5b3e99[_0x307aaf(0x3d7)]['to'],'shapeId':_0x1651c4[_0x307aaf(0x49c)](_0x5be715)}:_0x5b3e99[_0x307aaf(0x3d7)]['to']=void 0x0;}_0x5d935e[_0x307aaf(0x564)]({'id':_0xa7bd4d['id'],'params':{'unitId':_0x232ac1,'subUnitId':_0x1b82ba,'shapeId':_0x3f0b2d,'shapeType':_0x46005a,'shapeData':_0x5b3e99}}),_0x5e3cf1[_0x307aaf(0x564)]({'id':_0x16984e['id'],'params':{'unitId':_0x232ac1,'subUnitId':_0x1b82ba,'shapeId':_0x3f0b2d}});}return{'redos':_0x5d935e,'undos':_0x5e3cf1};});}[_0x525a7c(0x264)](){const _0x3c5841=_0x525a7c;this['disposeWithMe'](this[_0x3c5841(0x289)][_0x3c5841(0x42c)]({'id':'sheets-shape-ui','onBeforeCopy':(_0x8729d6,_0x3d98db,_0x5a705f,_0x566510)=>{const _0x4b3a51=_0x3c5841;this[_0x4b3a51(0x593)]=null;let _0x473c1f=this[_0x4b3a51(0x1f3)];if(_0x473c1f[_0x4b3a51(0x565)]){let _0x3f7684=_0x473c1f[_0x4b3a51(0x56d)](_0x5b3f18=>_0x5b3f18['drawingType']===_0x663dcd[_0x4b3a51(0x60a)]);if(_0x3f7684[_0x4b3a51(0x565)]===0x0)return;this[_0x4b3a51(0x593)]={'unitId':_0x8729d6,'subUnitId':_0x3d98db,'copyType':_0x566510,'drawings':_0x3f7684};}else this[_0x4b3a51(0x3b9)](_0x8729d6,_0x3d98db,_0x5a705f,_0x566510);},'onPasteCells':(_0xec7bf,_0x48791b,_0x4484c2,_0x8557ff)=>{const _0x354700=_0x3c5841;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x28d88b}=_0x8557ff;return _0x28d88b===_0x569f8a['DEFAULT_PASTE']?this[_0x354700(0x4d4)](_0x48791b,this[_0x354700(0x593)][_0x354700(0x2f2)]===_0x2af9ef[_0x354700(0x447)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x3ae5d0=>this[_0x3c5841(0x593)]?this['_generatePasteMutations'](_0x3ae5d0,this['_copyInfo']['copyType']===_0x2af9ef[_0x3c5841(0x447)]):{'redos':[],'undos':[]}}));}[_0x525a7c(0x3b9)](_0x3b17b2,_0x2ca120,_0x5339ca,_0x42c68a){const _0x141a4d=_0x525a7c;let _0x123457=this[_0x141a4d(0x359)][_0x141a4d(0x382)](_0x3b17b2,_0x2ca120);if(!_0x123457)return;let _0x589ffb=_0xb7adf7(_0x123457,_0x5339ca);if(!_0x589ffb)return;let {startX:_0x53762d,endX:_0x14a81f,startY:_0x2818f8,endY:_0xd2e5ba}=_0x589ffb,_0x3be6b9=this[_0x141a4d(0x386)][_0x141a4d(0x370)](_0x3b17b2,_0x2ca120),_0x20b0e9=this[_0x141a4d(0x1f3)][_0x141a4d(0x624)]();for(let [_0x315726,_0x6e82fb]of Object[_0x141a4d(0x34f)](_0x3be6b9)){if(_0x6e82fb[_0x141a4d(0x626)]!==_0x663dcd[_0x141a4d(0x60a)])continue;let {transform:_0x47a3f8}=_0x6e82fb;if(!_0x47a3f8)continue;let {left:_0x4e2932=0x0,top:_0x4720d8=0x0,width:_0x37e9a6=0x0,height:_0x497cb1=0x0}=_0x47a3f8;_0x53762d<=_0x4e2932&&_0x14a81f>=_0x4e2932+_0x37e9a6&&_0x2818f8<=_0x4720d8&&_0xd2e5ba>=_0x4720d8+_0x497cb1&&_0x20b0e9[_0x141a4d(0x564)](_0x6e82fb);}_0x20b0e9['length']>0x0&&(this[_0x141a4d(0x593)]={'unitId':_0x3b17b2,'subUnitId':_0x2ca120,'copyType':_0x42c68a,'copyRange':_0x5339ca,'drawings':_0x20b0e9});}[_0x525a7c(0x4d4)](_0xbc7b69,_0x57d7c9){const _0xb67596=_0x525a7c;let {unitId:_0x3029dd,subUnitId:_0x4e57e2,range:_0x4697fd}=_0xbc7b69,_0x26ccb8=this[_0xb67596(0x359)][_0xb67596(0x382)](_0x3029dd,_0x4e57e2);if(!_0x26ccb8)return{'redos':[],'undos':[]};let _0x5b6270=_0x12e87f(_0x4697fd),{unitId:_0x5c0ec5,subUnitId:_0x1e162d,copyRange:_0x374a01,drawings:_0x4327df}=this[_0xb67596(0x593)],_0x39773d=this['_sheetSkeletonService'][_0xb67596(0x382)](_0x5c0ec5,_0x1e162d);if(!_0x39773d)return{'redos':[],'undos':[]};let _0x1c9135;if(!_0x374a01){let _0x4ae34d=0x1/0x0,_0xa93ddb=0x1/0x0;for(let _0x19311c of _0x4327df){var _0x2abd52;let {left:_0x367fc7=0x0,top:_0x5cd4ea=0x0}=(_0x2abd52=_0x19311c['transform'])==null?{}:_0x2abd52;_0x367fc7<_0x4ae34d&&(_0x4ae34d=_0x367fc7),_0x5cd4ea<_0xa93ddb&&(_0xa93ddb=_0x5cd4ea);}_0x4ae34d!==0x1/0x0&&_0xa93ddb!==0x1/0x0&&(_0x1c9135={'left':_0x4ae34d,'top':_0xa93ddb});}let _0x2bd0c4=new Map();if(!_0x57d7c9){for(let _0x4f6b27 of _0x4327df)_0x2bd0c4[_0xb67596(0x4aa)](_0x4f6b27[_0xb67596(0x644)],_0x176349());}let _0x3d0588=[],_0x569900=[];for(let _0xff6476 of _0x4327df){let {drawingId:_0x3e1c17,transform:_0x266f23,sheetTransform:_0x3db4a3}=_0xff6476;if(!_0x266f23||!_0x3db4a3)continue;let _0x1bdc0c=this['_updateTransform']({'transform':_0x266f23,'sheetTransform':_0x3db4a3},{'skeleton':_0x39773d,'range':_0x374a01},{'skeleton':_0x26ccb8,'range':_0x5b6270},_0x1c9135);if(_0x57d7c9){let {redos:_0x1ff4a3,undos:_0x4021d4}=this[_0xb67596(0x2ce)]({'fromUnitId':_0x5c0ec5,'fromSubUnitId':_0x1e162d,'toUnitId':_0x3029dd,'toSubUnitId':_0x4e57e2,'drawing':_0xff6476,'newTransforms':_0x1bdc0c});_0x3d0588[_0xb67596(0x564)](..._0x1ff4a3),_0x569900[_0xb67596(0x564)](..._0x4021d4);continue;}let {redos:_0xf754d6,undos:_0x87a5d3}=this['_generateCopyPasteMutations']({'toUnitId':_0x3029dd,'toSubUnitId':_0x4e57e2,'drawing':_0xff6476,'newTransforms':_0x1bdc0c,'newDrawingId':_0x2bd0c4[_0xb67596(0x49c)](_0x3e1c17),'idMap':_0x2bd0c4});_0x3d0588[_0xb67596(0x564)](..._0xf754d6),_0x569900[_0xb67596(0x564)](..._0x87a5d3);}return{'redos':_0x3d0588,'undos':_0x569900};}[_0x525a7c(0x2ce)](_0x3ba49c){const _0x27dd7d=_0x525a7c;let {fromUnitId:_0x3bf121,fromSubUnitId:_0x206fd1,toUnitId:_0x47ec10,toSubUnitId:_0x59a1a7,drawing:_0x5078aa,newTransforms:_0x1aadc8}=_0x3ba49c,_0x21e2e1={..._0x5078aa,'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'transform':_0x1aadc8[_0x27dd7d(0x3f8)],'sheetTransform':_0x1aadc8['sheetTransform']};if(_0x47ec10===_0x3bf121&&_0x59a1a7===_0x206fd1){let {redo:_0xa6c929,undo:_0x19c729,objects:_0x1282d6}=this[_0x27dd7d(0x386)][_0x27dd7d(0x51a)]([_0x21e2e1]);return{'redos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'type':_0xf244d9[_0x27dd7d(0x4a1)],'op':_0xa6c929,'objects':_0x1282d6}}],'undos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'type':_0xf244d9[_0x27dd7d(0x4a1)],'op':_0x19c729,'objects':_0x1282d6}}]};}else{let _0x427aa4=this[_0x27dd7d(0x386)][_0x27dd7d(0x26e)]([_0x5078aa]),_0x2949da=this['_sheetDrawingService'][_0x27dd7d(0x508)]([_0x21e2e1]),_0x5be851=this['_shapeService'][_0x27dd7d(0x5ff)](_0x5078aa[_0x27dd7d(0x358)],_0x5078aa['subUnitId'],_0x5078aa['drawingId']);if(!_0x5be851)return{'redos':[],'undos':[]};let _0x38734a=_0x5be851['getShapeType'](),_0x5ec86a=JSON['parse'](JSON['stringify'](_0x5be851[_0x27dd7d(0x473)]()));return{'redos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x3bf121,'subUnitId':_0x206fd1,'type':_0xf244d9[_0x27dd7d(0x539)],'op':_0x427aa4[_0x27dd7d(0x534)],'objects':_0x427aa4[_0x27dd7d(0x4bc)]}},{'id':_0x16984e['id'],'params':{'unitId':_0x3bf121,'subUnitId':_0x206fd1,'shapeId':_0x5078aa[_0x27dd7d(0x644)]}},{'id':_0xd8d804['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'type':_0xf244d9[_0x27dd7d(0x2ae)],'op':_0x2949da[_0x27dd7d(0x534)],'objects':_0x2949da[_0x27dd7d(0x4bc)]}},{'id':_0xa7bd4d['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'shapeId':_0x5078aa['drawingId'],'shapeType':_0x38734a,'shapeData':_0x5ec86a}}],'undos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x3bf121,'subUnitId':_0x206fd1,'type':_0xf244d9[_0x27dd7d(0x2ae)],'op':_0x427aa4[_0x27dd7d(0x5bd)],'objects':_0x427aa4[_0x27dd7d(0x4bc)]}},{'id':_0xa7bd4d['id'],'params':{'unitId':_0x3bf121,'subUnitId':_0x206fd1,'shapeId':_0x5078aa[_0x27dd7d(0x644)],'shapeType':_0x38734a,'shapeData':_0x5ec86a}},{'id':_0xd8d804['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'type':_0xf244d9['REMOVE'],'op':_0x2949da[_0x27dd7d(0x5bd)],'objects':_0x2949da[_0x27dd7d(0x4bc)]}},{'id':_0x16984e['id'],'params':{'unitId':_0x47ec10,'subUnitId':_0x59a1a7,'shapeId':_0x5078aa[_0x27dd7d(0x644)]}}]};}}[_0x525a7c(0x50c)](_0x538f6a){const _0x472902=_0x525a7c;let {toUnitId:_0x5b70c9,toSubUnitId:_0x42a55d,drawing:_0x3b0dbb,newTransforms:_0x17d232,newDrawingId:_0x1dfb5d,idMap:_0x377514}=_0x538f6a,_0x1636de={..._0x3b0dbb,'unitId':_0x5b70c9,'subUnitId':_0x42a55d,'drawingId':_0x1dfb5d,'transform':_0x17d232[_0x472902(0x3f8)],'sheetTransform':_0x17d232['sheetTransform']},{redo:_0x3860e3,undo:_0x52693c,objects:_0x2291ad}=this['_sheetDrawingService'][_0x472902(0x508)]([_0x1636de]),_0x23f340=this[_0x472902(0x2e8)][_0x472902(0x5ff)](_0x3b0dbb['unitId'],_0x3b0dbb[_0x472902(0x2d8)],_0x3b0dbb[_0x472902(0x644)]);if(!_0x23f340)return{'redos':[],'undos':[]};let _0x53efef=_0x23f340[_0x472902(0x4b4)](),_0x5459ed=JSON[_0x472902(0x306)](JSON['stringify'](_0x23f340[_0x472902(0x473)]()));if(_0x5459ed[_0x472902(0x3d7)]){var _0x218b72,_0x26a2ca;let _0x4b7214=(_0x218b72=_0x5459ed[_0x472902(0x3d7)][_0x472902(0x543)])==null?void 0x0:_0x218b72[_0x472902(0x35f)],_0x452f7c=(_0x26a2ca=_0x5459ed['relation']['to'])==null?void 0x0:_0x26a2ca[_0x472902(0x35f)],_0x20c35f=_0x4b7214?_0x377514[_0x472902(0x606)](_0x4b7214):!0x0,_0x163f10=_0x452f7c?_0x377514[_0x472902(0x606)](_0x452f7c):!0x0;_0x20c35f&&_0x4b7214&&_0x5459ed[_0x472902(0x3d7)][_0x472902(0x543)]?_0x5459ed[_0x472902(0x3d7)][_0x472902(0x543)]={..._0x5459ed[_0x472902(0x3d7)][_0x472902(0x543)],'shapeId':_0x377514['get'](_0x4b7214)}:_0x5459ed['relation']['from']=void 0x0,_0x163f10&&_0x452f7c&&_0x5459ed[_0x472902(0x3d7)]['to']?_0x5459ed['relation']['to']={..._0x5459ed[_0x472902(0x3d7)]['to'],'shapeId':_0x377514[_0x472902(0x49c)](_0x452f7c)}:_0x5459ed[_0x472902(0x3d7)]['to']=void 0x0;}return{'redos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x5b70c9,'subUnitId':_0x42a55d,'type':_0xf244d9[_0x472902(0x2ae)],'op':_0x3860e3,'objects':_0x2291ad}},{'id':_0xa7bd4d['id'],'params':{'unitId':_0x5b70c9,'subUnitId':_0x42a55d,'shapeId':_0x1dfb5d,'shapeType':_0x53efef,'shapeData':_0x5459ed}}],'undos':[{'id':_0xd8d804['id'],'params':{'unitId':_0x5b70c9,'subUnitId':_0x42a55d,'type':_0xf244d9['REMOVE'],'op':_0x52693c,'objects':_0x2291ad}},{'id':_0x16984e['id'],'params':{'unitId':_0x5b70c9,'subUnitId':_0x42a55d,'shapeId':_0x1dfb5d}}]};}['_updateTransform'](_0x524829,_0x4c0e1a,_0x4ce67e,_0x18a8e4){const _0x170f70=_0x525a7c;var _0x47a0be;let {range:_0x1c7a10,skeleton:_0x1300f1}=_0x4c0e1a,{range:_0x556cc3,skeleton:_0x311195}=_0x4ce67e,{transform:_0xecf453,sheetTransform:_0x190389}=_0x524829,_0x3df8f6={..._0xecf453};if(_0x1c7a10){let _0x34fb63=_0xb7adf7(_0x1300f1,_0x1c7a10),_0x336cf9=_0xb7adf7(_0x311195,_0x556cc3);if(_0x34fb63&&_0x336cf9){var _0x1f2733,_0x4dab28;let _0x2a56c4=_0x336cf9[_0x170f70(0x3f9)]-_0x34fb63['startX'],_0x429587=_0x336cf9[_0x170f70(0x551)]-_0x34fb63[_0x170f70(0x551)];_0x3df8f6['left']=((_0x1f2733=_0x3df8f6[_0x170f70(0x571)])==null?0x0:_0x1f2733)+_0x2a56c4,_0x3df8f6['top']=((_0x4dab28=_0x3df8f6[_0x170f70(0x2f8)])==null?0x0:_0x4dab28)+_0x429587;}}else{let _0x57d05d=_0xb7adf7(_0x311195,_0x556cc3);if(_0x18a8e4&&_0x57d05d){var _0x3b6815,_0x37de14;let _0xeea71b=((_0x3b6815=_0x3df8f6[_0x170f70(0x571)])==null?0x0:_0x3b6815)-_0x18a8e4['left'],_0x53e070=((_0x37de14=_0x3df8f6['top'])==null?0x0:_0x37de14)-_0x18a8e4[_0x170f70(0x2f8)];_0x3df8f6[_0x170f70(0x571)]=_0x57d05d['startX']+_0xeea71b,_0x3df8f6[_0x170f70(0x2f8)]=_0x57d05d[_0x170f70(0x551)]+_0x53e070;}else _0x3df8f6['left']=_0x57d05d==null?void 0x0:_0x57d05d[_0x170f70(0x3f9)],_0x3df8f6[_0x170f70(0x2f8)]=_0x57d05d==null?void 0x0:_0x57d05d['startY'];}return{'transform':_0x3df8f6,'sheetTransform':(_0x47a0be=_0x4c7607(_0x3df8f6,_0x311195))==null?_0x190389:_0x47a0be};}};Vo=$([Q(0x0,_0x3293e1(_0x18e5df)),Q(0x1,_0x3293e1(_0x484a94)),Q(0x2,_0x3293e1(_0x1e4c00)),Q(0x3,_0x3293e1(_0xbf66b3)),Q(0x4,_0x3293e1(_0x58ec0f))],Vo);var Ho=class extends _0x257ce2{constructor(_0x40d749,_0x1b2954){const _0x5aceb4=_0x525a7c;super(_0x40d749,_0x1b2954),Y(this,_0x5aceb4(0x54f),null),Y(this,'_index',null),Y(this,_0x5aceb4(0x476),null),Y(this,_0x5aceb4(0x4ca),null),Y(this,_0x5aceb4(0x4fc),!0x1),_0x1b2954&&this['setShapeProps'](_0x1b2954);}[_0x525a7c(0x445)](){const _0x2e1f88=_0x525a7c;return{'unitId':this[_0x2e1f88(0x476)],'subUnitId':this[_0x2e1f88(0x4ca)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x5b87ca){const _0x3305ce=_0x525a7c;_0x5b87ca['shapeId']!==void 0x0&&(this[_0x3305ce(0x54f)]=_0x5b87ca[_0x3305ce(0x35f)]),_0x5b87ca['unitId']!==void 0x0&&(this[_0x3305ce(0x476)]=_0x5b87ca[_0x3305ce(0x358)]),_0x5b87ca[_0x3305ce(0x2d8)]!==void 0x0&&(this[_0x3305ce(0x4ca)]=_0x5b87ca[_0x3305ce(0x2d8)]),_0x5b87ca[_0x3305ce(0x4db)]!==void 0x0&&(this[_0x3305ce(0x4fc)]=_0x5b87ca[_0x3305ce(0x4db)]),this[_0x3305ce(0x44e)]({'width':_0x5b87ca[_0x3305ce(0x38b)],'height':_0x5b87ca[_0x3305ce(0x547)]});}[_0x525a7c(0x2b1)](_0xef2f54){const _0x207319=_0x525a7c;_0x33b336[_0x207319(0x3a4)](_0xef2f54,{'radius':_0xd80510[_0x207319(0x666)],'fill':_0xd80510[_0x207319(0x483)],'stroke':_0xd80510[_0x207319(0x538)],'strokeWidth':_0xd80510[_0x207319(0x274)],'evented':!0x0});}};let Uo=class extends _0xb10ffb{constructor(_0x1013a9,_0x234bf9,_0x300a30,_0x191e36,_0x59a2ee,_0x23439f,_0x3a4e4a,_0x14b8e6){const _0x28a5c9=_0x525a7c;super(),this[_0x28a5c9(0x693)]=_0x1013a9,this['_commandService']=_0x234bf9,this[_0x28a5c9(0x677)]=_0x300a30,this[_0x28a5c9(0x463)]=_0x191e36,this[_0x28a5c9(0x511)]=_0x59a2ee,this['_sheetsShapeService']=_0x23439f,this[_0x28a5c9(0x281)]=_0x3a4e4a,this[_0x28a5c9(0x213)]=_0x14b8e6,Y(this,'_activeShapeId',void 0x0),Y(this,_0x28a5c9(0x476),void 0x0),Y(this,'_subUnitId',void 0x0),Y(this,_0x28a5c9(0x33e),[]),Y(this,_0x28a5c9(0x1f8),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),Y(this,_0x28a5c9(0x58b),void 0x0),Y(this,_0x28a5c9(0x617),!0x1),Y(this,'_isDrawingShapePointDown',!0x1),Y(this,_0x28a5c9(0x233),!0x1),Y(this,_0x28a5c9(0x58c),void 0x0),Y(this,'_cxtHandlerPointerUp',void 0x0),Y(this,_0x28a5c9(0x5b5),null),this[_0x28a5c9(0x638)]();}[_0x525a7c(0x638)](){const _0x2a0b55=_0x525a7c;this[_0x2a0b55(0x368)](),this[_0x2a0b55(0x3fe)]();}[_0x525a7c(0x523)](){const _0x1e69d3=_0x525a7c;if(!this['_unitId']||!this['_subUnitId']||!this['_activeShapeId'])return;let _0x316b68={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1e69d3(0x2cd)]},{transform:_0x18a7a0}=this[_0x1e69d3(0x463)][_0x1e69d3(0x5c1)](_0x316b68);if(_0x18a7a0)return{'left':_0x18a7a0[_0x1e69d3(0x571)]||0x0,'top':_0x18a7a0['top']||0x0,'width':_0x18a7a0[_0x1e69d3(0x38b)]||0x0,'height':_0x18a7a0['height']||0x0,'flipX':_0x18a7a0[_0x1e69d3(0x277)]||!0x1,'flipY':_0x18a7a0[_0x1e69d3(0x380)]||!0x1,'angle':_0x18a7a0[_0x1e69d3(0x5d8)]};}[_0x525a7c(0x321)](){const _0xd3b125=_0x525a7c;if(this['_unitId']===void 0x0||this[_0xd3b125(0x4ca)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x12917f=this['_renderManagerService'][_0xd3b125(0x5af)](this[_0xd3b125(0x476)]);if(!_0x12917f||!_0x12917f[_0xd3b125(0x503)](_0x1c741e)['getCurrentSkeleton']())return;let {scene:_0x135675}=_0x12917f,_0x5f112b=this[_0xd3b125(0x523)]();if(!_0x5f112b)return;let _0x330d92=this['_sheetsShapeService']['getShapeModel'](this['_unitId'],this[_0xd3b125(0x4ca)],this['_activeShapeId']);if(!_0x330d92||!_0x40b171(_0x330d92[_0xd3b125(0x4b4)]()))return;let _0x18385c=_0x330d92[_0xd3b125(0x2f1)]();if(_0x18385c['length']<0x2)return;let _0x51b7ea=new _0x8c8d77(_0x5f112b),_0x64dd3=_0x18385c[0x0],_0x185915=_0x18385c[_0x18385c[_0xd3b125(0x565)]-0x1],_0x346ca2=_0x51b7ea[_0xd3b125(0x46a)](_0x64dd3),_0x1463b1=_0x51b7ea[_0xd3b125(0x46a)](_0x185915);this[_0xd3b125(0x253)](_0x135675,{..._0x346ca2},!0x0),this[_0xd3b125(0x253)](_0x135675,{..._0x1463b1},!0x1);}['_addShapeConnectorHandlerObject'](_0x461173,_0x26c6dd,_0x51d8bb){const _0x1e4499=_0x525a7c;if(this['_activeShapeId']===void 0x0||this[_0x1e4499(0x476)]===void 0x0||this[_0x1e4499(0x4ca)]===void 0x0)return;let _0x4b1bab=_0x1e4499(0x3ee)+this[_0x1e4499(0x476)]+'-'+this[_0x1e4499(0x4ca)]+'-'+this[_0x1e4499(0x2cd)]+'-'+(_0x51d8bb?'start':_0x1e4499(0x42b)),_0x72022c=_0x461173['getObjectIncludeInGroup'](_0x4b1bab);if(_0x72022c){_0x72022c['transformByState']({'left':_0x26c6dd['x']-_0xd80510[_0x1e4499(0x666)],'top':_0x26c6dd['y']-_0xd80510[_0x1e4499(0x666)]});return;}let _0x273198=new Ho(_0x4b1bab,{'left':_0x26c6dd['x']-_0xd80510[_0x1e4499(0x666)],'top':_0x26c6dd['y']-_0xd80510[_0x1e4499(0x666)],'shapeId':this[_0x1e4499(0x2cd)],'unitId':this[_0x1e4499(0x476)],'subUnitId':this[_0x1e4499(0x4ca)],'isStartConnectorPoint':_0x51d8bb,'width':_0xd80510[_0x1e4499(0x666)]*0x2,'height':_0xd80510[_0x1e4499(0x666)]*0x2,'zIndex':_0x230c50+0x1,'evented':!0x0});this[_0x1e4499(0x33e)][_0x1e4499(0x564)](_0x273198),this['_attachConnectorObjectEvent'](_0x273198,_0x461173,_0x51d8bb),_0x461173[_0x1e4499(0x1fb)](_0x273198,_0x230c50+0x1);}[_0x525a7c(0x66b)](_0x52aa2e,_0x9b2fa7){const _0x48b9fa=_0x525a7c;var _0x2abc71;let _0x3a7fe1={'x':0x0,'y':0x0};if(!_0x52aa2e||!_0x9b2fa7)return _0x3a7fe1;let _0x254089=this[_0x48b9fa(0x677)][_0x48b9fa(0x5af)](_0x52aa2e);if(!_0x254089||!_0x254089['with'](_0x1c741e)[_0x48b9fa(0x382)](_0x9b2fa7))return _0x3a7fe1;let _0xf7f46c=_0x254089[_0x48b9fa(0x503)](_0x70e53f),_0x12d522=_0xf7f46c==null?void 0x0:_0xf7f46c[_0x48b9fa(0x310)]();if(!_0x12d522)return _0x3a7fe1;let _0x4e5a4c=(_0x2abc71=this[_0x48b9fa(0x511)][_0x48b9fa(0x5a2)](_0x52aa2e))==null?void 0x0:_0x2abc71[_0x48b9fa(0x456)](_0x9b2fa7);if(!_0x4e5a4c)return _0x3a7fe1;let _0x243840=_0x15b5d5(_0x12d522[_0x48b9fa(0x66a)],_0x12d522[_0x48b9fa(0x622)],_0x254089[_0x48b9fa(0x689)],_0x4e5a4c);return _0x243840?{'x':_0x243840[_0x48b9fa(0x3c6)],'y':_0x243840['viewportScrollY']}:_0x3a7fe1;}['_getZoomRatio'](_0xf1bbb1,_0x1513e9){const _0x1ac3f7=_0x525a7c;var _0x4bb95e,_0x18d3a8;let _0xf62054=(_0x4bb95e=this['_univerInstanceService']['getUnit'](_0xf1bbb1))==null?void 0x0:_0x4bb95e[_0x1ac3f7(0x456)](_0x1513e9);return(_0x18d3a8=_0xf62054==null?void 0x0:_0xf62054[_0x1ac3f7(0x374)]())==null?0x1:_0x18d3a8;}[_0x525a7c(0x637)](_0x4127d2,_0xe99880,_0x2634e4,_0x168498,_0x4e3c2a){const _0x3b043c=_0x525a7c;this[_0x3b043c(0x58c)][_0x3b043c(0x61b)](),this['_cxtHandlerPointerUp'][_0x3b043c(0x61b)](),this[_0x3b043c(0x281)]['refreshAdjustControls']();let _0x4a567b=this['_currentConnectionTarget'];this[_0x3b043c(0x213)][_0x3b043c(0x2ef)]();let _0x2696da=this[_0x3b043c(0x66b)](this[_0x3b043c(0x476)],this[_0x3b043c(0x4ca)]),_0x5d48e5=this['_getZoomRatio'](this[_0x3b043c(0x476)],this[_0x3b043c(0x4ca)]),_0x162b1a={'x':_0x2634e4[_0x3b043c(0x652)]/_0x5d48e5+_0x2696da['x'],'y':_0x2634e4[_0x3b043c(0x582)]/_0x5d48e5+_0x2696da['y']},_0xd4523=_0x4a567b?_0x4a567b[_0x3b043c(0x217)]:_0x162b1a,_0x349fb6=_0x168498?this[_0x3b043c(0x58b)]['getEndConnectInfo']():this[_0x3b043c(0x58b)][_0x3b043c(0x35e)](),_0x307ed3=this[_0x3b043c(0x58b)]['getShapeType']();_0x349fb6?this[_0x3b043c(0x663)](_0x349fb6,_0xd4523,_0x168498,_0x4a567b,_0x4e3c2a):this[_0x3b043c(0x343)](_0xe99880,_0xd4523,_0x168498,_0x4a567b,_0x4e3c2a,_0x307ed3),this[_0x3b043c(0x617)]=!0x1,this[_0x3b043c(0x233)]=!0x1,this[_0x3b043c(0x5b5)]=null,_0x4127d2[_0x3b043c(0x64c)]();}['_handleFreeEndpointPointerUp'](_0x24d051,_0x33e8ba,_0x1c2e1f,_0x11067c,_0x501db4,_0xd8b545){const _0x48214c=_0x525a7c;let _0x5259ec=_0xd8b545===_0x160bb4[_0x48214c(0x326)]||_0xd8b545===_0x160bb4[_0x48214c(0x648)],_0x233b66=_0x1c2e1f?_0x33e8ba:_0x24d051,_0x5cd4d9=_0x1c2e1f?_0x24d051:_0x33e8ba,_0x17b6d4=this['_activeShapeModel'][_0x48214c(0x2f1)](),_0x21a044=_0x26ab6f(this[_0x48214c(0x58b)][_0x48214c(0x4b4)]()),_0x201d72=_0x8c8d77[_0x48214c(0x649)](_0x17b6d4,_0x21a044),_0x4e4bab=_0x5259ec?_0x8c8d77[_0x48214c(0x290)](_0x233b66,_0x5cd4d9):_0x8c8d77[_0x48214c(0x490)](_0x24d051,_0x33e8ba,_0x1c2e1f,_0x201d72);_0x11067c?this[_0x48214c(0x3b4)](_0x4e4bab,_0x11067c,_0x1c2e1f,_0x501db4):this['_executeResizeCommand'](_0x4e4bab,_0x501db4);}[_0x525a7c(0x663)](_0x575e64,_0x575d4f,_0x1eab17,_0x3cc1d8,_0xe9d0fc){const _0x2a94ec=_0x525a7c;let _0x3ad679=this[_0x2a94ec(0x537)](_0x575e64);if(!_0x3ad679)return;let _0x52039e=_0x3cc1d8?_0x3cc1d8['angle']:this['_calculateFreeEndpointAngle'](_0x3ad679[_0x2a94ec(0x512)],_0x575d4f),_0x446a95;if(_0x3cc1d8){let _0x492662=this[_0x2a94ec(0x463)][_0x2a94ec(0x5c1)]({'unitId':_0x3cc1d8['unitId'],'subUnitId':_0x3cc1d8[_0x2a94ec(0x2d8)],'drawingId':_0x3cc1d8[_0x2a94ec(0x35f)]});if(_0x492662!=null&&_0x492662[_0x2a94ec(0x3f8)]){let {left:_0x17cecc=0x0,top:_0x2cc7db=0x0,width:_0x32b43a=0x0,height:_0x373ca2=0x0,angle:_0xb5ce93}=_0x492662['transform'];_0x446a95=_0x27fdd8({'left':_0x17cecc,'top':_0x2cc7db,'width':_0x32b43a,'height':_0x373ca2},_0xb5ce93||0x0);}else _0x446a95={'left':_0x575d4f['x'],'top':_0x575d4f['y'],'width':0x0,'height':0x0};}else _0x446a95={'left':_0x575d4f['x'],'top':_0x575d4f['y'],'width':0x0,'height':0x0};let _0x2b169c={'point':_0x575d4f,'angle':_0x52039e,'bounds':_0x446a95},_0x320302=_0x1eab17?_0x2b169c:_0x3ad679,_0x1dd580=_0x1eab17?_0x3ad679:_0x2b169c,_0x528823=this['_activeShapeModel']['getShapeType'](),_0x591c45=_0x287b4e(_0x320302,_0x1dd580,_0x528823);this[_0x2a94ec(0x58b)]['removeLinePoints']();let _0x51e7a6=_0x2a11fd(_0x591c45,_0x528823);_0x3cc1d8?this['_executeConnectedRouteConnectionCommand'](_0x51e7a6,_0x3cc1d8,_0x575e64,_0x1eab17,_0xe9d0fc):this['_executeConnectedRouteResizeCommand'](_0x51e7a6,_0x575e64,_0x1eab17,_0xe9d0fc);}['_executeConnectionCommand'](_0xa02cc,_0x3bc888,_0x169920,_0x547079){const _0x3b298c=_0x525a7c;let _0x444ee6=this[_0x3b298c(0x58b)][_0x3b298c(0x473)]()[_0x3b298c(0x3d7)],_0x178d09={..._0x444ee6},_0x84f10f={'shapeId':_0x3bc888['shapeId'],'cxnIndex':_0x3bc888[_0x3b298c(0x492)]};_0x169920?_0x178d09[_0x3b298c(0x543)]=_0x84f10f:_0x178d09['to']=_0x84f10f;let _0x40f4eb=this[_0x3b298c(0x58b)][_0x3b298c(0x4b4)](),_0xae2eed=_0x2a11fd(_0xa02cc['worldPoints'],_0x40f4eb),_0x3bb7bc={'unitId':this[_0x3b298c(0x476)],'subUnitId':this[_0x3b298c(0x4ca)],'connectorShapeId':this['_activeShapeId'],'width':_0xa02cc['worldRect']['width'],'height':_0xa02cc['worldRect'][_0x3b298c(0x547)],'left':_0xa02cc[_0x3b298c(0x5d6)][_0x3b298c(0x571)],'top':_0xa02cc[_0x3b298c(0x5d6)][_0x3b298c(0x2f8)],'flipX':_0xa02cc['worldRect'][_0x3b298c(0x277)]||!0x1,'flipY':_0xa02cc[_0x3b298c(0x5d6)][_0x3b298c(0x380)]||!0x1,'newAdjustValues':_0xae2eed[_0x3b298c(0x549)],'oldAdjustValues':_0x547079,'oldRelation':_0x444ee6,'newRelation':_0x178d09,'newLineType':_0xae2eed[_0x3b298c(0x1f0)],'oldLineType':_0x40f4eb};this[_0x3b298c(0x67e)][_0x3b298c(0x67c)](_0x1dfbfc['id'],_0x3bb7bc);}['_executeResizeCommand'](_0x173079,_0x1b1c03){const _0xd1522f=_0x525a7c;let _0x44191d=this['_activeShapeModel']['getShapeType'](),_0xbbbbd3=_0x2a11fd(_0x173079[_0xd1522f(0x595)],_0x44191d),_0x1a5302={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this[_0xd1522f(0x2cd)],'width':_0x173079[_0xd1522f(0x5d6)]['width'],'height':_0x173079[_0xd1522f(0x5d6)]['height'],'left':_0x173079[_0xd1522f(0x5d6)][_0xd1522f(0x571)],'top':_0x173079[_0xd1522f(0x5d6)][_0xd1522f(0x2f8)],'flipX':_0x173079[_0xd1522f(0x5d6)][_0xd1522f(0x277)]||!0x1,'flipY':_0x173079[_0xd1522f(0x5d6)][_0xd1522f(0x380)]||!0x1,'angle':_0x173079[_0xd1522f(0x5d6)][_0xd1522f(0x5d8)]||0x0,'newAdjustValues':_0xbbbbd3[_0xd1522f(0x549)],'oldAdjustValues':_0x1b1c03,'newLineType':_0xbbbbd3['lineType'],'oldLineType':_0x44191d};this[_0xd1522f(0x67e)][_0xd1522f(0x67c)](_0x138c14['id'],_0x1a5302);}[_0x525a7c(0x57b)](_0x9ade57,_0x382856,_0x2bee1f,_0x5c2a12,_0x6f308b){const _0x1fa509=_0x525a7c;let _0x40ffc3=this[_0x1fa509(0x58b)]['getShapeData']()[_0x1fa509(0x3d7)],_0x86930d={..._0x40ffc3},_0x47c58e={'shapeId':_0x382856['shapeId'],'cxnIndex':_0x382856[_0x1fa509(0x492)]};_0x5c2a12?(_0x86930d[_0x1fa509(0x543)]=_0x47c58e,_0x86930d['to']=_0x2bee1f):(_0x86930d[_0x1fa509(0x543)]=_0x2bee1f,_0x86930d['to']=_0x47c58e);let _0x5c9936={'unitId':this['_unitId'],'subUnitId':this[_0x1fa509(0x4ca)],'connectorShapeId':this[_0x1fa509(0x2cd)],'width':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x38b)],'height':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x547)],'left':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x571)],'top':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x2f8)],'flipX':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x277)]||!0x1,'flipY':_0x9ade57[_0x1fa509(0x5d6)][_0x1fa509(0x380)]||!0x1,'oldAdjustValues':_0x6f308b,'newAdjustValues':_0x9ade57[_0x1fa509(0x549)],'newLineType':_0x9ade57[_0x1fa509(0x1f0)],'rotation':_0x9ade57[_0x1fa509(0x467)],'oldRelation':_0x40ffc3,'newRelation':_0x86930d};this[_0x1fa509(0x67e)][_0x1fa509(0x67c)](_0x1dfbfc['id'],_0x5c9936);}[_0x525a7c(0x1f7)](_0x55f335,_0x225bec,_0x5cf81f,_0x53c284){const _0x12ea5a=_0x525a7c;let _0x631905=this['_activeShapeModel'][_0x12ea5a(0x473)]()[_0x12ea5a(0x3d7)],_0xee5a64={};_0x5cf81f?(_0xee5a64['to']=_0x225bec,_0xee5a64[_0x12ea5a(0x543)]=void 0x0):(_0xee5a64[_0x12ea5a(0x543)]=_0x225bec,_0xee5a64['to']=void 0x0);let _0x5b5024={'unitId':this[_0x12ea5a(0x476)],'subUnitId':this[_0x12ea5a(0x4ca)],'connectorShapeId':this[_0x12ea5a(0x2cd)],'width':_0x55f335[_0x12ea5a(0x5d6)][_0x12ea5a(0x38b)],'height':_0x55f335['worldRect'][_0x12ea5a(0x547)],'left':_0x55f335[_0x12ea5a(0x5d6)][_0x12ea5a(0x571)],'top':_0x55f335['worldRect']['top'],'flipX':_0x55f335[_0x12ea5a(0x5d6)]['flipX']||!0x1,'flipY':_0x55f335[_0x12ea5a(0x5d6)][_0x12ea5a(0x380)]||!0x1,'oldAdjustValues':_0x53c284,'newAdjustValues':_0x55f335[_0x12ea5a(0x549)],'newLineType':_0x55f335[_0x12ea5a(0x1f0)],'rotation':_0x55f335[_0x12ea5a(0x467)],'oldRelation':_0x631905,'newRelation':_0xee5a64};this[_0x12ea5a(0x67e)][_0x12ea5a(0x67c)](_0x1dfbfc['id'],_0x5b5024);}['_attachConnectorObjectEvent'](_0x155d0d,_0x315279,_0x4bb28e){const _0x50e4cf=_0x525a7c;this[_0x50e4cf(0x1eb)](_0x1a66ea(_0x155d0d['onPointerDown$'][_0x50e4cf(0x5ad)]((_0x3f0478,_0x28c070)=>{const _0x3a23e7=_0x50e4cf;let _0x1fe780=_0x155d0d[_0x3a23e7(0x445)]();if(this[_0x3a23e7(0x58b)]=this[_0x3a23e7(0x63f)]['getShapeModel'](_0x1fe780['unitId'],_0x1fe780['subUnitId'],_0x1fe780['drawingId']),!this[_0x3a23e7(0x58b)])return;let _0x49c209={};this[_0x3a23e7(0x58b)][_0x3a23e7(0x592)]()['forEach'](_0x4046bd=>{const _0xddc236=_0x3a23e7;let _0x4188c0=this['_activeShapeModel'][_0xddc236(0x65b)](_0x4046bd);_0x4188c0!==void 0x0&&(_0x49c209[_0x4046bd]=_0x4188c0);});let _0x4dc776=this['_getDrawingRect']();if(!_0x4dc776)return;this['_baseDrawingRect']={..._0x4dc776};let _0x476fcf=new _0x8c8d77(this[_0x3a23e7(0x1f8)]),_0x25ecf4=_0x3e269b({'unitId':this[_0x3a23e7(0x476)],'subUnitId':this['_subUnitId'],'drawingId':this['_activeShapeId']}),_0xa6ecae=_0x315279[_0x3a23e7(0x54c)](_0x25ecf4);this['_isConnecting']=!0x0,_0x315279['disableObjectsEvent'](),this[_0x3a23e7(0x213)][_0x3a23e7(0x29e)](_0x315279,this[_0x3a23e7(0x476)],this[_0x3a23e7(0x4ca)],this[_0x3a23e7(0x2cd)]),this['_currentConnectionTarget']=null;let _0x4561f6=this[_0x3a23e7(0x58b)][_0x3a23e7(0x2f1)](),_0xa71e7b=_0x4561f6[0x0],_0x478d62=_0x4561f6[_0x4561f6[_0x3a23e7(0x565)]-0x1],_0x5690ee=_0x4bb28e?_0x476fcf[_0x3a23e7(0x46a)](_0x478d62):_0x476fcf[_0x3a23e7(0x46a)](_0xa71e7b);this[_0x3a23e7(0x58c)]=_0x315279[_0x3a23e7(0x4c5)][_0x3a23e7(0x5ad)]((_0x51296b,_0x2f87be)=>{const _0x2403ed=_0x3a23e7;if(!this[_0x2403ed(0x617)]||!this[_0x2403ed(0x58b)])return;this[_0x2403ed(0x233)]||(this[_0x2403ed(0x281)][_0x2403ed(0x5b2)](),this[_0x2403ed(0x58b)]['clearAdjustValue'](),this[_0x2403ed(0x233)]=!0x0);let _0x2fe7f8=this[_0x2403ed(0x66b)](this[_0x2403ed(0x476)],this['_subUnitId']),_0xd3e5ce=this[_0x2403ed(0x419)](this[_0x2403ed(0x476)],this[_0x2403ed(0x4ca)]),_0x35289f={'x':_0x51296b[_0x2403ed(0x652)]/_0xd3e5ce+_0x2fe7f8['x'],'y':_0x51296b[_0x2403ed(0x582)]/_0xd3e5ce+_0x2fe7f8['y']},_0x13bcb7=this[_0x2403ed(0x213)][_0x2403ed(0x2b8)](_0x35289f);if(_0x13bcb7){let {shapeId:_0x5442cc,unitId:_0x489b08,subUnitId:_0x17be77}=_0x13bcb7;if(_0x5442cc&&_0x489b08&&_0x17be77){let _0x180505=_0x3e269b({'unitId':_0x489b08,'subUnitId':_0x17be77,'drawingId':_0x5442cc});_0x13bcb7[_0x2403ed(0x5d8)]=(_0x315279[_0x2403ed(0x54c)](_0x180505)[_0x2403ed(0x5d8)]||0x0)+_0x13bcb7['angle'];}}this[_0x2403ed(0x5b5)]=_0x13bcb7;let _0x5b11c3=_0x4bb28e?this[_0x2403ed(0x58b)][_0x2403ed(0x63c)]():this[_0x2403ed(0x58b)]['getStartConnectInfo']();if(_0x5b11c3){this[_0x2403ed(0x2c2)](_0x5b11c3,_0x35289f,_0x4bb28e,_0xa6ecae,_0x155d0d);return;}this[_0x2403ed(0x601)](_0x35289f,_0x5690ee,_0x4bb28e,_0xa6ecae,_0x155d0d);}),this[_0x3a23e7(0x5f7)]=_0x315279[_0x3a23e7(0x1ef)][_0x3a23e7(0x5ad)]((_0x3d8b62,_0x273f22)=>{const _0x1ea3d3=_0x3a23e7;this[_0x1ea3d3(0x637)](_0x315279,_0x5690ee,_0x3d8b62,_0x4bb28e,_0x49c209);}),_0x28c070['stopPropagation']();})));}[_0x525a7c(0x3b6)](_0x45164b,_0x184f3e,_0x19d1cf){const _0x70e94b=_0x525a7c;let _0x4db3d0=this['_sheetsShapeService'][_0x70e94b(0x32c)](_0x45164b,_0x184f3e,_0x19d1cf);if(!_0x4db3d0||_0x4db3d0['length']===0x0)return;let _0x27c30d=this[_0x70e94b(0x677)][_0x70e94b(0x5af)](_0x45164b);if(!_0x27c30d)return;let {scene:_0xd00740}=_0x27c30d;for(let _0x137f19 of _0x4db3d0){let _0x35b017=_0x137f19[_0x70e94b(0x2ba)],_0x496dda=this[_0x70e94b(0x63f)]['getShapeModel'](_0x45164b,_0x184f3e,_0x35b017);if(!_0x496dda)continue;let _0xb28cdb=_0x496dda[_0x70e94b(0x35e)](),_0x5a9acd=_0x496dda[_0x70e94b(0x63c)](),_0x439a1b=(_0xb28cdb==null?void 0x0:_0xb28cdb['shapeId'])===_0x19d1cf,_0x2f9a3d=_0x3e269b({'unitId':_0x45164b,'subUnitId':_0x184f3e,'drawingId':_0x35b017}),_0x1c0fa3=_0xd00740['getObjectIncludeInGroup'](_0x2f9a3d);if(!_0x1c0fa3)continue;let _0x14019c=this[_0x70e94b(0x463)][_0x70e94b(0x5c1)]({'unitId':_0x45164b,'subUnitId':_0x184f3e,'drawingId':_0x35b017});_0x14019c!=null&&_0x14019c[_0x70e94b(0x3f8)]&&(_0xb28cdb&&_0x5a9acd?this['_rerouteConnectorLine'](_0x45164b,_0x184f3e,_0x35b017,_0x496dda,_0xb28cdb,_0x5a9acd,_0x1c0fa3):this[_0x70e94b(0x5ea)](_0x45164b,_0x184f3e,_0x35b017,_0x496dda,_0x439a1b?_0xb28cdb:_0x5a9acd,_0x439a1b,_0x14019c,_0x1c0fa3));}}[_0x525a7c(0x384)](_0xbb88ae,_0x5321ac,_0x389720,_0x4a4e5a,_0x42f5ba,_0x153cd8,_0x5be298){const _0x292670=_0x525a7c;let _0x26d9c6=this[_0x292670(0x476)],_0x437b61=this[_0x292670(0x4ca)];this[_0x292670(0x476)]=_0xbb88ae,this['_subUnitId']=_0x5321ac;let _0x3e312f=this[_0x292670(0x537)](_0x42f5ba),_0x349881=this['_getConnectPointInfo'](_0x153cd8);if(this[_0x292670(0x476)]=_0x26d9c6,this[_0x292670(0x4ca)]=_0x437b61,!_0x3e312f||!_0x349881)return;let _0x5a8c97=_0x4a4e5a['getShapeType'](),_0x7facb2=_0x287b4e(_0x3e312f,_0x349881,_0x5a8c97);_0x7facb2&&_0x4a4e5a[_0x292670(0x211)](_0x7facb2);let _0x162e9f=_0x2a11fd(_0x7facb2,_0x5a8c97);_0x162e9f[_0x292670(0x1f0)]!==_0x5a8c97&&_0x4a4e5a['changeShapeType'](_0x162e9f[_0x292670(0x1f0)]),_0x4a4e5a[_0x292670(0x376)]();for(let [_0x510416,_0x93b32a]of Object[_0x292670(0x34f)](_0x162e9f[_0x292670(0x549)]))_0x4a4e5a[_0x292670(0x236)](_0x510416,_0x93b32a);_0x4a4e5a[_0x292670(0x4cf)]({'width':_0x162e9f[_0x292670(0x5d6)][_0x292670(0x38b)],'height':_0x162e9f['worldRect'][_0x292670(0x547)]}),_0x5be298['transformByState']({'flipX':_0x162e9f['worldRect'][_0x292670(0x277)],'flipY':_0x162e9f[_0x292670(0x5d6)][_0x292670(0x380)],'left':_0x162e9f[_0x292670(0x5d6)][_0x292670(0x571)],'top':_0x162e9f[_0x292670(0x5d6)][_0x292670(0x2f8)],'width':_0x162e9f['worldRect']['width'],'height':_0x162e9f['worldRect'][_0x292670(0x547)],'angle':_0x162e9f[_0x292670(0x467)]}),_0x4a4e5a['removeLinePoints']();}[_0x525a7c(0x5ea)](_0x531720,_0x1a7c54,_0x5e03f0,_0x17b483,_0x29a606,_0x29bc93,_0x361ab5,_0x5943cc){const _0x1921a2=_0x525a7c;let _0x55b448=this[_0x1921a2(0x476)],_0x19e876=this[_0x1921a2(0x4ca)];this[_0x1921a2(0x476)]=_0x531720,this[_0x1921a2(0x4ca)]=_0x1a7c54;let _0x560efc=this[_0x1921a2(0x537)](_0x29a606);if(this[_0x1921a2(0x476)]=_0x55b448,this[_0x1921a2(0x4ca)]=_0x19e876,!_0x560efc)return;let {left:_0x3215f9=0x0,top:_0x2b2992=0x0,width:_0x141116=0x0,height:_0x2bcce8=0x0,flipX:_0x5cba1=!0x1,flipY:_0x2ae168=!0x1}=_0x361ab5[_0x1921a2(0x3f8)],_0x2c38f7=_0x17b483['getConnectorLinePoints']();if(_0x2c38f7[_0x1921a2(0x565)]<0x2)return;let _0x161170=new _0x8c8d77({'left':_0x3215f9,'top':_0x2b2992,'width':_0x141116,'height':_0x2bcce8,'flipX':_0x5cba1,'flipY':_0x2ae168}),_0x2e3b7c=_0x29bc93?_0x2c38f7[_0x2c38f7[_0x1921a2(0x565)]-0x1]:_0x2c38f7[0x0],_0x29953d=_0x161170[_0x1921a2(0x46a)](_0x2e3b7c),_0x29475d=_0x8c8d77['computeConnectorResizeLayout'](_0x29953d,_0x560efc[_0x1921a2(0x512)],!_0x29bc93);_0x5943cc['transformByState']({'flipX':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x277)],'flipY':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x380)],'left':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x571)],'top':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x2f8)],'width':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x38b)],'height':_0x29475d['worldRect']['height'],'angle':_0x29475d[_0x1921a2(0x5d6)][_0x1921a2(0x5d8)]}),_0x5943cc[_0x1921a2(0x615)](!0x0);}[_0x525a7c(0x31f)](){const _0x56eb21=_0x525a7c;this[_0x56eb21(0x33e)][_0x56eb21(0x565)]!==0x0&&(this[_0x56eb21(0x33e)][_0x56eb21(0x604)](_0x2b5c67=>{const _0x198830=_0x56eb21;_0x2b5c67[_0x198830(0x301)]();}),this['_connectorObjects']=[]);}[_0x525a7c(0x3fe)](){const _0x54944b=_0x525a7c;let _0x56b95e=this[_0x54944b(0x511)]['getCurrentTypeOfUnit$'](_0x482ea2['UNIVER_SHEET']);this['disposeWithMe'](_0x56b95e[_0x54944b(0x61f)](_0x26f15b(_0x2629d4=>_0x2629d4?_0x2629d4[_0x54944b(0x66f)][_0x54944b(0x61f)](_0x26f15b(_0x216fd0=>{const _0x3828ca=_0x54944b;if(!_0x216fd0)return _0x10bd3c;let _0x34c830=_0x2629d4[_0x3828ca(0x446)](),_0x7edebe=this[_0x3828ca(0x677)][_0x3828ca(0x5af)](_0x34c830),_0x5c908f=_0x7edebe==null?void 0x0:_0x7edebe[_0x3828ca(0x689)];return _0x5c908f?_0x327706(_0x5c908f):_0x10bd3c;})):_0x10bd3c))[_0x54944b(0x56a)](_0x353ffb=>{const _0x583770=_0x54944b;let _0x2499a6=_0x353ffb['getTransformerByCreate']();this[_0x583770(0x1eb)](_0x353ffb['onPointerMove$'][_0x583770(0x5ad)](_0x4be03f=>{const _0x25b6cc=_0x583770;this['_isDrawingShapePointDown']&&this[_0x25b6cc(0x2cd)]&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x583770(0x1eb)](_0x2499a6[_0x583770(0x312)]['subscribe'](_0x5edfda=>{const _0x2769a4=_0x583770;let {objects:_0x503114}=_0x5edfda;this[_0x2769a4(0x31f)](),_0x503114!==null&&_0x503114[_0x2769a4(0x29b)]===0x1&&_0x503114[_0x2769a4(0x421)]()[_0x2769a4(0x4e5)]()[_0x2769a4(0x607)]instanceof to&&(this[_0x2769a4(0x3c5)]=!0x0);})),this['disposeWithMe'](_0x2499a6['changing$'][_0x583770(0x56a)](_0xf64c8c=>{const _0x4f07f6=_0x583770;this[_0x4f07f6(0x3c5)]&&this[_0x4f07f6(0x31f)]();})),this['disposeWithMe'](_0x353ffb[_0x583770(0x1ef)][_0x583770(0x5ad)](()=>{const _0x433eda=_0x583770;this[_0x433eda(0x3c5)]&&(this[_0x433eda(0x3c5)]=!0x1,this[_0x433eda(0x321)]());})),this[_0x583770(0x1eb)](_0x2499a6[_0x583770(0x4e8)][_0x583770(0x56a)](()=>{const _0x35ef76=_0x583770;this[_0x35ef76(0x476)]&&this[_0x35ef76(0x4ca)]&&this[_0x35ef76(0x2cd)]&&this[_0x35ef76(0x463)][_0x35ef76(0x5c1)]({'unitId':this[_0x35ef76(0x476)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x35ef76(0x2cd)]})&&(this[_0x35ef76(0x31f)](),this[_0x35ef76(0x321)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x1138cf=_0x525a7c;this['disposeWithMe'](this[_0x1138cf(0x463)]['focus$'][_0x1138cf(0x56a)](_0x1c9389=>{const _0x143c09=_0x1138cf;if(_0x1c9389['length']===0x1){let _0x2e5fd2=_0x1c9389[0x0];if(_0x2e5fd2['drawingType']===_0x663dcd[_0x143c09(0x60a)]){let _0x4dff53=this[_0x143c09(0x63f)][_0x143c09(0x5ff)](_0x2e5fd2['unitId'],_0x2e5fd2[_0x143c09(0x2d8)],_0x2e5fd2[_0x143c09(0x644)]);if(_0x4dff53&&_0x40b171(_0x4dff53[_0x143c09(0x4b4)]())){this['_activeShapeId']=_0x2e5fd2[_0x143c09(0x644)],this[_0x143c09(0x476)]=_0x2e5fd2[_0x143c09(0x358)],this[_0x143c09(0x4ca)]=_0x2e5fd2['subUnitId'],this[_0x143c09(0x31f)](),this[_0x143c09(0x321)]();return;}}}this[_0x143c09(0x2cd)]=void 0x0,this['_unitId']=void 0x0,this[_0x143c09(0x4ca)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](this[_0x1138cf(0x463)][_0x1138cf(0x510)][_0x1138cf(0x56a)](_0x5c9dc2=>{const _0x1ef5f1=_0x1138cf;if(_0x5c9dc2['length']===0x1){var _0xfb6662;let _0x505905=_0x5c9dc2[0x0],_0x175e55=(_0xfb6662=this[_0x1ef5f1(0x463)][_0x1ef5f1(0x5c1)](_0x505905))==null?void 0x0:_0xfb6662[_0x1ef5f1(0x626)];_0x175e55===_0x663dcd[_0x1ef5f1(0x60a)]&&_0x505905[_0x1ef5f1(0x644)]===this[_0x1ef5f1(0x2cd)]?(this[_0x1ef5f1(0x31f)](),this['_addShapeConnectorHandlerObjects']()):!this[_0x1ef5f1(0x2cd)]&&_0x175e55===_0x663dcd[_0x1ef5f1(0x60a)]&&this[_0x1ef5f1(0x3b6)](_0x505905[_0x1ef5f1(0x358)],_0x505905[_0x1ef5f1(0x2d8)],_0x505905[_0x1ef5f1(0x644)]);}})),this[_0x1138cf(0x1eb)](this['_drawingManagerService']['remove$'][_0x1138cf(0x56a)](_0x5d4a28=>{const _0x4c50be=_0x1138cf;for(let _0x1940a1 of _0x5d4a28){let {drawingId:_0x54c15d}=_0x1940a1;if(this[_0x4c50be(0x2cd)]===_0x54c15d){this['_reset']();return;}}}));}[_0x525a7c(0x2c2)](_0x5e1c9f,_0x214ef1,_0x5e795e,_0x250624,_0x30eb63){const _0x1014e2=_0x525a7c;var _0x50a15f,_0x4c0d83;if(!this['_activeShapeModel'])return;let _0x209353=this['_getConnectPointInfo'](_0x5e1c9f);if(!_0x209353)return;let _0x26ae79=this[_0x1014e2(0x5b5)]?this['_currentConnectionTarget'][_0x1014e2(0x217)]:_0x214ef1,_0x2c2876=this[_0x1014e2(0x5b5)]?this[_0x1014e2(0x5b5)][_0x1014e2(0x5d8)]:this[_0x1014e2(0x26c)](_0x209353[_0x1014e2(0x512)],_0x26ae79),_0xf09e13;if(this[_0x1014e2(0x5b5)]){let _0x50fe65=this[_0x1014e2(0x463)][_0x1014e2(0x5c1)]({'unitId':this[_0x1014e2(0x5b5)][_0x1014e2(0x358)],'subUnitId':this['_currentConnectionTarget'][_0x1014e2(0x2d8)],'drawingId':this['_currentConnectionTarget']['shapeId']});if(_0x50fe65!=null&&_0x50fe65[_0x1014e2(0x3f8)]){let {left:_0x42042e=0x0,top:_0x4c2755=0x0,width:_0x4905ca=0x0,height:_0x208e51=0x0,angle:_0x9004b9}=_0x50fe65['transform'];_0xf09e13=_0x27fdd8({'left':_0x42042e,'top':_0x4c2755,'width':_0x4905ca,'height':_0x208e51},_0x9004b9||0x0);}else _0xf09e13={'left':_0x26ae79['x'],'top':_0x26ae79['y'],'width':0x0,'height':0x0};}else _0xf09e13={'left':_0x26ae79['x'],'top':_0x26ae79['y'],'width':0x0,'height':0x0};let _0x83ff8b={'point':_0x26ae79,'angle':_0x2c2876,'bounds':_0xf09e13},_0x3a2a9c=_0x5e795e?_0x83ff8b:_0x209353,_0xa3c875=_0x5e795e?_0x209353:_0x83ff8b,_0x2591ce=this[_0x1014e2(0x58b)][_0x1014e2(0x4b4)](),_0x579664=_0x287b4e(_0x3a2a9c,_0xa3c875,_0x2591ce);_0x579664&&this[_0x1014e2(0x58b)]['updateLinePoints'](_0x579664);let _0x157d2b=_0x2a11fd(_0x579664,_0x2591ce);_0x157d2b[_0x1014e2(0x1f0)]!==_0x2591ce&&this['_activeShapeModel']['changeShapeType'](_0x157d2b[_0x1014e2(0x1f0)]);for(let [_0xf0034d,_0x3a0658]of Object['entries'](_0x157d2b[_0x1014e2(0x549)]))this[_0x1014e2(0x58b)][_0x1014e2(0x236)](_0xf0034d,_0x3a0658);this[_0x1014e2(0x58b)]['updateContext']({'width':_0x157d2b['worldRect'][_0x1014e2(0x38b)],'height':_0x157d2b[_0x1014e2(0x5d6)][_0x1014e2(0x547)]}),_0x250624[_0x1014e2(0x44e)]({'flipX':_0x157d2b[_0x1014e2(0x5d6)]['flipX'],'flipY':_0x157d2b[_0x1014e2(0x5d6)][_0x1014e2(0x380)],'left':_0x157d2b['worldRect'][_0x1014e2(0x571)],'top':_0x157d2b[_0x1014e2(0x5d6)]['top'],'width':_0x157d2b[_0x1014e2(0x5d6)]['width'],'height':_0x157d2b[_0x1014e2(0x5d6)]['height'],'angle':_0x157d2b[_0x1014e2(0x467)]}),_0x250624[_0x1014e2(0x615)](!0x0);let _0x5de998=(_0x50a15f=(_0x4c0d83=this['_currentConnectionTarget'])==null?void 0x0:_0x4c0d83['worldPoint'])==null?_0x214ef1:_0x50a15f;_0x30eb63[_0x1014e2(0x44e)]({'left':_0x5de998['x']-_0xd80510[_0x1014e2(0x666)],'top':_0x5de998['y']-_0xd80510[_0x1014e2(0x666)]});}[_0x525a7c(0x601)](_0x17e91e,_0x1fd3d3,_0x1eab6a,_0x59e869,_0x565b3c){const _0x9a1dcf=_0x525a7c;var _0x4f53ff,_0x58f7ac,_0x4b4e32,_0x647975;let _0x57d3c4=(_0x4f53ff=(_0x58f7ac=this[_0x9a1dcf(0x5b5)])==null?void 0x0:_0x58f7ac[_0x9a1dcf(0x217)])==null?_0x17e91e:_0x4f53ff,_0x32b2ef=_0x8c8d77[_0x9a1dcf(0x490)](_0x1fd3d3,_0x57d3c4,_0x1eab6a);_0x59e869[_0x9a1dcf(0x44e)]({'flipX':_0x32b2ef[_0x9a1dcf(0x5d6)][_0x9a1dcf(0x277)],'flipY':_0x32b2ef[_0x9a1dcf(0x5d6)][_0x9a1dcf(0x380)],'left':_0x32b2ef[_0x9a1dcf(0x5d6)]['left'],'top':_0x32b2ef[_0x9a1dcf(0x5d6)][_0x9a1dcf(0x2f8)],'width':_0x32b2ef[_0x9a1dcf(0x5d6)][_0x9a1dcf(0x38b)],'height':_0x32b2ef[_0x9a1dcf(0x5d6)][_0x9a1dcf(0x547)],'angle':_0x32b2ef['worldRect'][_0x9a1dcf(0x5d8)]});let _0x128f8f=(_0x4b4e32=(_0x647975=this[_0x9a1dcf(0x5b5)])==null?void 0x0:_0x647975[_0x9a1dcf(0x217)])==null?_0x17e91e:_0x4b4e32;_0x565b3c[_0x9a1dcf(0x44e)]({'left':_0x128f8f['x']-_0xd80510['cxnPointRadius'],'top':_0x128f8f['y']-_0xd80510[_0x9a1dcf(0x666)]});}[_0x525a7c(0x537)](_0x43fc34){const _0x568a00=_0x525a7c;if(!this[_0x568a00(0x476)]||!this[_0x568a00(0x4ca)])return null;let {shapeId:_0x390b39,cxnIndex:_0x406bff}=_0x43fc34,_0x2333bf=this[_0x568a00(0x63f)][_0x568a00(0x5ff)](this[_0x568a00(0x476)],this[_0x568a00(0x4ca)],_0x390b39);if(!_0x2333bf)return null;let _0x421677=this[_0x568a00(0x463)][_0x568a00(0x5c1)]({'unitId':this['_unitId'],'subUnitId':this[_0x568a00(0x4ca)],'drawingId':_0x390b39});if(!(_0x421677!=null&&_0x421677[_0x568a00(0x3f8)]))return null;let {left:_0x4637f8=0x0,top:_0x390d4f=0x0,width:_0x2ea9d9=0x0,height:_0x3c378f=0x0,flipX:_0x2d3c74=!0x1,flipY:_0x147c18=!0x1,angle:_0x4451ef}=_0x421677[_0x568a00(0x3f8)];_0x2333bf[_0x568a00(0x4cf)]({'width':_0x2ea9d9,'height':_0x3c378f});let _0x2aeecf=_0x2333bf[_0x568a00(0x302)]()[_0x568a00(0x46c)](_0x1ffb3a=>_0x1ffb3a[_0x568a00(0x402)]===_0x406bff);if(!_0x2aeecf)return null;let _0x46db2c=_0x2d3c74?_0x2ea9d9-_0x2aeecf['x']:_0x2aeecf['x'],_0x28e013=_0x147c18?_0x3c378f-_0x2aeecf['y']:_0x2aeecf['y'];if(_0x4451ef!==0x0&&_0x4451ef!=null){let _0x3586ab=_0x4451ef*Math['PI']/0xb4,_0x5ed825=Math[_0x568a00(0x294)](_0x3586ab),_0x5de34f=Math['sin'](_0x3586ab),_0x3eb668=_0x2ea9d9/0x2,_0x2a0610=_0x3c378f/0x2,_0x213d86=_0x46db2c-_0x3eb668,_0x4e4d3e=_0x28e013-_0x2a0610;_0x46db2c=_0x3eb668+_0x213d86*_0x5ed825-_0x4e4d3e*_0x5de34f,_0x28e013=_0x2a0610+_0x213d86*_0x5de34f+_0x4e4d3e*_0x5ed825;}_0x46db2c+=_0x4637f8,_0x28e013+=_0x390d4f;let _0x679fb5=_0x2aeecf[_0x568a00(0x4bb)]/0xea60;_0x2d3c74&&(_0x679fb5=0xb4-_0x679fb5),_0x147c18&&(_0x679fb5=-_0x679fb5),_0x679fb5+=_0x4451ef||0x0,_0x679fb5=(_0x679fb5%0x168+0x168)%0x168;let _0x351987=_0x27fdd8({'left':_0x4637f8,'top':_0x390d4f,'width':_0x2ea9d9,'height':_0x3c378f},_0x4451ef||0x0);return{'point':{'x':_0x46db2c,'y':_0x28e013},'angle':_0x679fb5,'bounds':_0x351987};}[_0x525a7c(0x26c)](_0x42e818,_0x528eae){const _0x518d95=_0x525a7c;let _0x2fa550=_0x528eae['x']-_0x42e818['x'],_0xdc24a=_0x528eae['y']-_0x42e818['y'];return Math[_0x518d95(0x4f2)](_0x2fa550)>=Math[_0x518d95(0x4f2)](_0xdc24a)?_0x2fa550>=0x0?0xb4:0x0:_0xdc24a>=0x0?0x10e:0x5a;}[_0x525a7c(0x2c5)](){const _0x29cace=_0x525a7c;this[_0x29cace(0x2cd)]=void 0x0,this[_0x29cace(0x476)]=void 0x0,this[_0x29cace(0x4ca)]=void 0x0,this['_clearShapeConnectorHandlerObjects']();}['dispose'](){const _0x1f99fa=_0x525a7c;this[_0x1f99fa(0x31f)](),super[_0x1f99fa(0x301)]();}};Uo=$([Q(0x1,_0x467978),Q(0x2,_0x243434),Q(0x3,_0x40f1b2),Q(0x4,_0x757fa4),Q(0x5,_0x3293e1(_0xbf66b3)),Q(0x6,_0x3293e1(mo)),Q(0x7,_0x3293e1(Bo))],Uo);let Wo=class extends _0xb10ffb{constructor(_0x2d945f,_0x46a163,_0x220241){const _0x4f2a45=_0x525a7c;super(),this['_commandService']=_0x2d945f,this[_0x4f2a45(0x38f)]=_0x46a163,this[_0x4f2a45(0x480)]=_0x220241,this[_0x4f2a45(0x385)]();}[_0x525a7c(0x385)](){const _0x9d65d5=_0x525a7c;this[_0x9d65d5(0x1eb)](this[_0x9d65d5(0x67e)][_0x9d65d5(0x630)](_0x37d044=>{const _0x589f69=_0x9d65d5;let _0x272bd1,_0x4502d8;if(_0x37d044['id']===_0x19c0b7['id']||_0x37d044['id']===_0x269d59['id']||_0x37d044['id']===_0x1dfbfc['id']){let _0x341810=_0x37d044['params'];_0x272bd1=_0x341810[_0x589f69(0x358)],_0x4502d8=_0x341810[_0x589f69(0x2d8)];}!_0x272bd1||!_0x4502d8||this['_sheetPermissionCheckController'][_0x589f69(0x513)]({'workbookTypes':[_0x1181b3],'worksheetTypes':[_0x2624fd]},_0x272bd1,_0x4502d8)||this['_sheetPermissionCheckController'][_0x589f69(0x246)](this[_0x589f69(0x38f)]['t']('sheets-shape-ui.permission.editErr'));}));}};Wo=$([Q(0x0,_0x3293e1(_0x467978)),Q(0x1,_0x3293e1(_0x3a0ae2)),Q(0x2,_0x3293e1(_0x53bf33))],Wo);const Go=function(_0x251246){const _0x440101=_0x525a7c;let {containerWidth:_0x434ca5,containerHeight:_0x106ae4,scaleX:_0x5ccd34,scaleY:_0x5b69d6}=_0x251246,_0x141f75=_0x5ccd34||0x1,_0x1a7717=_0x5b69d6||0x1,_0x379ec6=_0x516f3a(X),_0x1ed1a9=_0x516f3a(_0x5bcb2e),_0x2086d0=_0x516f3a(_0x243434),_0x275c88=_0x516f3a(_0x757fa4),_0x12c3bb=_0x516f3a(_0x40f1b2),_0x2b215d=_0x516f3a(_0xbf66b3),_0x4322ba=_0x516f3a(_0x467978),_0x42ff54=_0x509107(_0x379ec6['editingParams$']),_0x3b5ca6=_0x509107(_0x379ec6[_0x440101(0x61a)]),_0xfa4d4d=_0x3f9c6f(null),_0x3c9346=_0x3f9c6f(null),_0x527caf=_0x3f9c6f(null),_0x4e57a8=_0x3f9c6f(null),_0x12d10e=_0x3f9c6f(null),_0x101586=_0x3f9c6f(null),[_0x14d73f,_0x13c00b]=_0x2d71e0({'editorHeight':_0x106ae4,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x53dc98=_0x48dc43(_0x22c068=>{queueMicrotask(()=>{_0x13c00b(_0x22c068);});},[]),_0x518e08=_0x48dc43(()=>_0x275c88['getUnit'](Za,_0x482ea2[_0x440101(0x2cc)]),[_0x275c88]),_0x51cf94=_0x48dc43(()=>{const _0xae0c17=_0x440101;var _0x4374ca;let _0x15505c=_0x141f75,_0x366a09=_0x1a7717;if(!_0x42ff54)return{'scaleAdjust':0x1,'renderScaleX':_0x15505c,'renderScaleY':_0x366a09};let _0x225c8d=_0x2086d0[_0xae0c17(0x5af)](_0x42ff54['unitId']),_0xcb57f6=_0x225c8d==null?void 0x0:_0x225c8d[_0xae0c17(0x689)][_0xae0c17(0x4a7)](),_0x13cca8=_0x225c8d==null?void 0x0:_0x225c8d[_0xae0c17(0x645)]['getCanvasElement'](),_0x2076f9=_0x13cca8?Number[_0xae0c17(0x1dc)](_0x13cca8[_0xae0c17(0x450)][_0xae0c17(0x38b)]||''):0x0,_0x33fd03=(_0x4374ca=_0x13cca8==null?void 0x0:_0x13cca8[_0xae0c17(0x2aa)]()[_0xae0c17(0x38b)])==null?0x0:_0x4374ca,_0x273369=_0x2076f9>0x0&&_0x33fd03>0x0?_0x33fd03/_0x2076f9:0x1;return{'scaleAdjust':Number[_0xae0c17(0x65c)](_0x273369)&&_0x273369>0x0?_0x273369:0x1,'renderScaleX':(_0xcb57f6==null?void 0x0:_0xcb57f6['scaleX'])||_0x15505c,'renderScaleY':(_0xcb57f6==null?void 0x0:_0xcb57f6[_0xae0c17(0x2c6)])||_0x366a09};},[_0x141f75,_0x1a7717,_0x42ff54,_0x2086d0]),_0x31a521=_0x48dc43(()=>{const _0x12047d=_0x440101;if(!_0x42ff54)return{'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717};let {unitId:_0x245b83,subUnitId:_0x40660b,shapeId:_0x2d8e1c}=_0x42ff54,_0x5cec9c=_0x2b215d[_0x12047d(0x5ff)](_0x245b83,_0x40660b,_0x2d8e1c);if(!_0x5cec9c)return{'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717};let _0x27c3e7={'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717};return _0x5cec9c[_0x12047d(0x317)](_0x27c3e7);},[_0x42ff54,_0x434ca5,_0x106ae4,_0x141f75,_0x1a7717,_0x2b215d]),_0x2e6b51=_0x48dc43(()=>{const _0x46393d=_0x440101;if(!_0x42ff54)return null;let {unitId:_0xd72104,subUnitId:_0x23a4b2,shapeId:_0x54b250}=_0x42ff54,_0x4679cb=_0x2b215d['getShapeModel'](_0xd72104,_0x23a4b2,_0x54b250);if(!_0x4679cb)return null;let _0x1e0f35=_0x4679cb['getShapeTextData']();if(!_0x1e0f35)return null;let _0x4906b2={'unitId':_0xd72104,'subUnitId':_0x23a4b2,'drawingId':_0x54b250},_0x1670ae=_0x12c3bb['getDrawingByParam'](_0x4906b2),_0x426486={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x1670ae&&_0x1670ae['transform']&&(_0x426486=_0x1670ae[_0x46393d(0x3f8)]);let _0xd37696={'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717},_0x18e961=_0x4679cb[_0x46393d(0x317)](_0xd37696),_0x277fcb,_0x53c458=_0x985993['TOP'],_0x27cb05=_0x230fa2['LEFT'];if(_0x46393d(0x4b2)in _0x1e0f35&&_0x1e0f35[_0x46393d(0x4b2)]){var _0x28a790,_0x5483f9;let _0x530421=_0x1e0f35['dataModel'];_0x530421!=null&&_0x530421[_0x46393d(0x273)]&&(_0x277fcb=_0x530421[_0x46393d(0x273)]),_0x53c458=(_0x28a790=_0x530421==null?void 0x0:_0x530421['va'])==null?_0x985993[_0x46393d(0x660)]:_0x28a790,_0x27cb05=(_0x5483f9=_0x530421==null?void 0x0:_0x530421['ha'])==null?_0x230fa2['LEFT']:_0x5483f9;}return{'doc':_0x277fcb,'verticalAlign':_0x53c458,'horizontalAlign':_0x27cb05,'textRect':_0x18e961,'transform':_0x426486,'isHorizontal':_0x1e0f35[_0x46393d(0x673)]};},[_0x42ff54,_0x2b215d,_0x12c3bb,_0x434ca5,_0x106ae4,_0x141f75,_0x1a7717]),_0x5f4396=_0x46d37a(()=>{const _0x4a45b3=_0x440101;let _0x539ef8=_0x2e6b51();return _0x539ef8!=null&&_0x539ef8[_0x4a45b3(0x273)]?$a(_0x539ef8['doc'],{'isHorizontal':!0x0,'textRect':_0x539ef8[_0x4a45b3(0x2bd)],'verticalAlign':_0x539ef8[_0x4a45b3(0x5cd)],'horizontalAlign':_0x539ef8[_0x4a45b3(0x1e9)]}):{'id':Za,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x434ca5/_0x141f75,'height':0x1/0x0}}};},[_0x2e6b51,_0x434ca5,_0x141f75]),_0x1a2cde=_0x2adb6a({'editorId':Za,'initialValue':_0x5f4396,'container':_0x3c9346,'autoFocus':!0x1,'isSingle':!0x1}),_0x4c01cb=_0x56dff0(Za);_0x5b65de(_0x4c01cb,{'keyCodes':[{'keyCode':_0x386490[_0x440101(0x5b1)]}],'handler':()=>{const _0x1bba34=_0x440101;_0x4322ba[_0x1bba34(0x67c)](_0x442d5a['id']);}},_0x1a2cde),_0x494615(_0x4c01cb,!0x1,_0x1a2cde);let _0x202bf8=_0x48dc43((_0x10ab0e=!0x0)=>{const _0x36e9fa=_0x440101;var _0x214a23,_0x2277cd,_0x29c630;if(!_0x1a2cde)return;let _0x4363e0=_0x1a2cde['getSelectionRanges']()[_0x36e9fa(0x46c)](_0x17de96=>_0x17de96[_0x36e9fa(0x1f5)]),_0x26be95=((_0x214a23=(_0x2277cd=_0x1a2cde[_0x36e9fa(0x3b7)]()['body'])==null?void 0x0:_0x2277cd[_0x36e9fa(0x653)]['length'])==null?0x2:_0x214a23)-0x2,_0x349621=(_0x29c630=_0x4363e0==null?void 0x0:_0x4363e0[_0x36e9fa(0x567)])==null?_0x10ab0e?_0x26be95:null:_0x29c630;_0x349621!==null&&_0x1a2cde[_0x36e9fa(0x31d)]([{'startOffset':_0x349621,'endOffset':_0x349621}],!0x1);},[_0x1a2cde]),_0x4c0d46=_0x48dc43(()=>{const _0x3ced5e=_0x440101;_0x12d10e['current']!==null&&(cancelAnimationFrame(_0x12d10e[_0x3ced5e(0x1f4)]),_0x12d10e['current']=null),_0x101586['current']!==null&&(window[_0x3ced5e(0x285)](_0x101586[_0x3ced5e(0x1f4)]),_0x101586[_0x3ced5e(0x1f4)]=null);},[]),_0x320f40=_0x48dc43(()=>{const _0x7cf2bb=_0x440101;var _0x596245,_0x456f3c,_0x3d693d;if(!_0x1a2cde)return;let _0xa6a396=_0x2086d0[_0x7cf2bb(0x5af)](Za),_0x53c38f=_0xa6a396==null?void 0x0:_0xa6a396[_0x7cf2bb(0x503)](_0x355072);if(!_0x53c38f)return;let _0x54bc50=_0x53c38f['getSkeleton'](),_0x39ca86=_0x518e08(),{renderScaleX:_0x15b0f6,renderScaleY:_0x4a887c,scaleAdjust:_0x86d943}=_0x51cf94(),_0x431a30=_0x2e6b51(),_0x419e34=(_0x596245=_0x431a30==null?void 0x0:_0x431a30[_0x7cf2bb(0x5cd)])==null?_0x985993[_0x7cf2bb(0x660)]:_0x596245,_0x1cbcd3=(_0x456f3c=_0x431a30==null?void 0x0:_0x431a30['horizontalAlign'])==null?_0x230fa2[_0x7cf2bb(0x362)]:_0x456f3c,_0x3d444c=(_0x3d693d=_0x31a521())==null?{'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717}:_0x3d693d;_0x39ca86&&(_0x39ca86[_0x7cf2bb(0x572)](Math['max'](_0x15b0f6,_0x4a887c)),_0x39ca86[_0x7cf2bb(0x2c7)]({'pageSize':{'width':_0x3d444c[_0x7cf2bb(0x38b)],'height':0x1/0x0}}),_0x39ca86[_0x7cf2bb(0x4ac)]({'verticalAlign':_0x419e34,'horizontalAlign':_0x1cbcd3,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x3412ba[_0x7cf2bb(0x5be)]})),_0x54bc50[_0x7cf2bb(0x2e0)]();let {actualHeight:_0x1cd307}=_0x54bc50['getActualSize'](),_0x312aff=_0x3d444c['height'],_0x4ee24c=_0x312aff,_0x8cb76e=0x0;if(_0x1cd307<=_0x312aff)_0x419e34===_0x985993[_0x7cf2bb(0x24d)]?_0x8cb76e=(_0x312aff-_0x1cd307)/0x2:_0x419e34===_0x985993[_0x7cf2bb(0x40d)]&&(_0x8cb76e=_0x312aff-_0x1cd307),_0x4ee24c=_0x312aff,_0x53dc98({'editorHeight':_0x3d444c[_0x7cf2bb(0x547)]*_0x1a7717,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x59bca9=0x0;_0x419e34===_0x985993[_0x7cf2bb(0x24d)]?_0x59bca9=(_0x312aff-_0x1cd307)/0x2:_0x419e34===_0x985993[_0x7cf2bb(0x40d)]&&(_0x59bca9=_0x312aff-_0x1cd307),_0x8cb76e=0x0,_0x53dc98({'editorHeight':_0x1cd307*_0x1a7717,'marginTop':_0x59bca9*_0x1a7717,'useAbsolutePosition':!0x0}),_0x4ee24c=_0x1cd307;}if(_0x39ca86&&(_0x39ca86[_0x7cf2bb(0x2c7)]({'pageSize':{'width':_0x3d444c['width'],'height':_0x4ee24c}}),_0x39ca86['updateDocumentDataMargin']({'t':_0x8cb76e}),_0x54bc50[_0x7cf2bb(0x2e0)]()),_0xa6a396){let _0x1c4328=_0x3d444c['width']*_0x141f75,_0x42ab7a=_0x4ee24c*_0x1a7717;_0xa6a396[_0x7cf2bb(0x689)][_0x7cf2bb(0x44e)]({'width':_0x1c4328*_0x86d943/_0x15b0f6,'height':_0x42ab7a*_0x86d943/_0x4a887c,'scaleX':_0x15b0f6*_0x86d943,'scaleY':_0x4a887c*_0x86d943}),_0xa6a396[_0x7cf2bb(0x45a)]&&_0xa6a396['mainComponent']['resize'](_0x1c4328*_0x86d943/_0x15b0f6,_0x42ab7a*_0x86d943/_0x4a887c);}},[_0x1a2cde,_0x2086d0,_0x518e08,_0x51cf94,_0x2e6b51,_0x31a521,_0x434ca5,_0x106ae4,_0x141f75,_0x1a7717,_0x53dc98]),_0x1bba27=_0x48dc43((_0x50741e=!0x1)=>{_0x4c0d46(),_0x12d10e['current']=requestAnimationFrame(()=>{const _0x48edc2=_0xa649;_0x320f40(),_0x50741e&&_0x202bf8(!0x1),_0x12d10e[_0x48edc2(0x1f4)]=null,_0x101586[_0x48edc2(0x1f4)]=window[_0x48edc2(0x4c1)](()=>{const _0x3b04b9=_0x48edc2;_0x320f40(),_0x50741e&&_0x202bf8(!0x1),_0x101586[_0x3b04b9(0x1f4)]=null;},0x14);});},[_0x320f40,_0x4c0d46,_0x202bf8]);_0x4954e1(()=>{const _0x1c234c=_0x440101;if(!_0x1a2cde||!_0x42ff54)return;let {shapeId:_0x80edf2,unitId:_0x3d9814,subUnitId:_0xd38f81}=_0x42ff54;if(_0x3b5ca6){var _0x369599,_0x31efda,_0x42cfd1,_0x123ae3;let _0x1c3294=eo(_0x1a2cde['getDocumentData']()),_0x169f95=_0x2e6b51(),_0x2384e0={'va':(_0x369599=_0x169f95==null?void 0x0:_0x169f95[_0x1c234c(0x5cd)])==null?_0x985993['TOP']:_0x369599,'ha':(_0x31efda=_0x169f95==null?void 0x0:_0x169f95[_0x1c234c(0x1e9)])==null?_0x230fa2[_0x1c234c(0x362)]:_0x31efda,'doc':_0x1c3294};_0x4322ba[_0x1c234c(0x67c)](Va['id'],{'unitId':_0x3d9814,'subUnitId':_0xd38f81,'shapeId':_0x80edf2,'shapeData':{'shapeText':{'isHorizontal':(_0x42cfd1=_0x169f95==null?void 0x0:_0x169f95[_0x1c234c(0x673)])==null?!0x0:_0x42cfd1,'dataModel':_0x2384e0}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x123ae3=_0x169f95==null?void 0x0:_0x169f95['isHorizontal'])==null?!0x0:_0x123ae3,'dataModel':_0x527caf[_0x1c234c(0x1f4)]}}}});return;}let _0x14c751=_0x2e6b51();if(_0x14c751!=null&&_0x14c751[_0x1c234c(0x273)]){_0x527caf[_0x1c234c(0x1f4)]={'va':_0x14c751[_0x1c234c(0x5cd)],'ha':_0x14c751[_0x1c234c(0x1e9)],'doc':_0x385f57[_0x1c234c(0x5ed)](_0x14c751[_0x1c234c(0x273)])};let _0x25ad83=$a(_0x14c751['doc'],{'isHorizontal':!0x0,'textRect':_0x14c751['textRect'],'verticalAlign':_0x14c751[_0x1c234c(0x5cd)],'horizontalAlign':_0x14c751[_0x1c234c(0x1e9)]});return _0x1a2cde[_0x1c234c(0x43b)](_0x25ad83,null),()=>{const _0x3cabbd=_0x1c234c;var _0x2bd358,_0x4d6382,_0x36f6aa,_0x3db101;let _0x26a857=eo(_0x1a2cde[_0x3cabbd(0x3b7)]()),_0x477e54=_0x2e6b51(),_0x44edbc={'va':(_0x2bd358=_0x477e54==null?void 0x0:_0x477e54[_0x3cabbd(0x5cd)])==null?_0x985993[_0x3cabbd(0x660)]:_0x2bd358,'ha':(_0x4d6382=_0x477e54==null?void 0x0:_0x477e54[_0x3cabbd(0x1e9)])==null?_0x230fa2[_0x3cabbd(0x362)]:_0x4d6382,'doc':_0x26a857};_0x4322ba[_0x3cabbd(0x67c)](Va['id'],{'unitId':_0x3d9814,'subUnitId':_0xd38f81,'shapeId':_0x80edf2,'shapeData':{'shapeText':{'isHorizontal':(_0x36f6aa=_0x477e54==null?void 0x0:_0x477e54[_0x3cabbd(0x673)])==null?!0x0:_0x36f6aa,'dataModel':_0x44edbc}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x3db101=_0x477e54==null?void 0x0:_0x477e54[_0x3cabbd(0x673)])==null?!0x0:_0x3db101,'dataModel':_0x527caf[_0x3cabbd(0x1f4)]}}}});};}else _0x1a2cde['setDocumentData'](_0x5f4396,null);},[_0x1a2cde,_0x42ff54,_0x3b5ca6]),_0x4954e1(()=>{const _0x2123e8=_0x440101;if(!(!_0x1a2cde||!_0x42ff54))return _0x1ed1a9[_0x2123e8(0x64b)](!0x0),_0x320f40(),_0x4e57a8[_0x2123e8(0x1f4)]=requestAnimationFrame(()=>{const _0x4ceeab=_0x2123e8;_0x1ed1a9[_0x4ceeab(0x324)](Za),_0x202bf8(),_0x1bba27(),_0x4e57a8[_0x4ceeab(0x1f4)]=null;}),()=>{const _0x260e11=_0x2123e8;_0x4e57a8[_0x260e11(0x1f4)]!==null&&(cancelAnimationFrame(_0x4e57a8[_0x260e11(0x1f4)]),_0x4e57a8[_0x260e11(0x1f4)]=null),_0x4c0d46(),_0x1ed1a9[_0x260e11(0x64b)](!0x0);};},[_0x1a2cde,_0x42ff54,_0x1ed1a9,_0x320f40,_0x202bf8,_0x1bba27,_0x4c0d46]),_0x4954e1(()=>{const _0x3c18da=_0x440101;if(!_0x1a2cde)return;let _0x358ba4=_0x4322ba[_0x3c18da(0x557)](_0x440a55=>{const _0x105939=_0x3c18da;_0x440a55['id']===_0x333896['id']&&_0x440a55['params'][_0x105939(0x358)]===Za&&_0x42ff54&&(_0x42ff54['visible']?_0x320f40():_0x379ec6[_0x105939(0x554)]({..._0x42ff54,'visible':!0x0})),_0x440a55['id']===Ka['id']&&_0x1bba27(!0x0);});return()=>{const _0x3d1fd1=_0x3c18da;_0x358ba4[_0x3d1fd1(0x301)]();};},[_0x1a2cde,_0x320f40,_0x42ff54,_0x1bba27,_0x379ec6]),_0x4954e1(()=>(_0x320f40(),_0x1bba27(),()=>{_0x4c0d46();}),[_0x320f40,_0x1bba27,_0x4c0d46]);let _0x472d13=_0x46d37a(()=>{const _0x2a17d4=_0x440101;var _0x3a60f8;let _0x1dde79=(_0x3a60f8=_0x31a521())==null?{'left':0x0,'top':0x0,'width':_0x434ca5/_0x141f75,'height':_0x106ae4/_0x1a7717}:_0x3a60f8,_0x40e70f=_0x1dde79[_0x2a17d4(0x571)]*_0x141f75,_0x5c9597=_0x1dde79[_0x2a17d4(0x2f8)]*_0x1a7717,_0x45ddf8=_0x1dde79[_0x2a17d4(0x38b)]*_0x141f75;return _0x14d73f[_0x2a17d4(0x2b6)]?{'top':_0x5c9597+_0x14d73f[_0x2a17d4(0x41b)],'left':_0x40e70f,'width':_0x45ddf8,'height':_0x14d73f[_0x2a17d4(0x1e3)]}:{'top':_0x5c9597,'left':_0x40e70f,'width':_0x45ddf8,'height':_0x14d73f['editorHeight']};},[_0x14d73f,_0x31a521,_0x434ca5,_0x106ae4,_0x141f75,_0x1a7717]),_0x2490af=_0x46d37a(()=>{const _0x49aca4=_0x440101;let _0x24ff04=_0x2e6b51(),_0x5ac036=_0x24ff04==null?void 0x0:_0x24ff04[_0x49aca4(0x3f8)];return _0x5ac036&&_0x5ac036||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x2e6b51]);return _0x5b0dea(_0x440101(0x373),{'ref':_0xfa4d4d,'data-u-comp':_0x440101(0x40c),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':_0x440101(0x2f7)+_0x2490af[_0x440101(0x5d8)]+_0x440101(0x2e9)+(_0x2490af[_0x440101(0x380)]?-0x1:0x1)+')'},'children':_0x5b0dea(_0x440101(0x373),{'ref':_0x3c9346,'className':_0x440101(0x459),'data-u-comp':_0x440101(0x2d7),'style':_0x472d13,'data-editorid':Za})});},Ko={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function qo(_0x23d080,_0x10aa80,_0x1bfbd7,_0x4abb11){const _0x1b4e11=_0x525a7c;let {scaleX:_0x3dedbb,scaleY:_0x207f7f}=_0x1bfbd7['getAncestorScale'](),{startColumn:_0x38bd2a,startRow:_0x5244f3,xSplit:_0x12d736,ySplit:_0x2eff9f}=_0x4abb11[_0x1b4e11(0x487)][_0x1b4e11(0x489)](),_0x52c488=_0x1bfbd7[_0x1b4e11(0x599)](_0x23af47[_0x1b4e11(0x254)]),_0x576777=_0x1bfbd7[_0x1b4e11(0x599)](_0x23af47[_0x1b4e11(0x2b7)]),_0x56da95=_0x1bfbd7['getViewport'](_0x23af47['VIEW_MAIN_TOP']),_0x5d32a9=_0x1bfbd7[_0x1b4e11(0x599)](_0x23af47[_0x1b4e11(0x5e5)]),{rowHeaderWidth:_0x591b2e,columnHeaderHeight:_0x34f2ee}=_0x4abb11,_0x38cea4=_0x4abb11[_0x1b4e11(0x1e4)](_0x5244f3)+_0x34f2ee,_0x42f5f0=_0x4abb11[_0x1b4e11(0x466)](_0x38bd2a)+_0x591b2e,_0x22f8d2=_0x4abb11[_0x1b4e11(0x1e4)](_0x5244f3-_0x2eff9f)+_0x34f2ee,_0x4c5e34=_0x4abb11['colStartX'](_0x38bd2a-_0x12d736)+_0x591b2e,_0x5ef4c6=[],_0x5c8c56=(_0x2adc46,_0x4faf22,_0x53a586)=>{if(!_0x2adc46)return null;let {viewportScrollX:_0xc15c13,viewportScrollY:_0x9aed04}=_0x2adc46,_0x1778dc,_0x29d0e8;return _0x1778dc=_0x4faf22?(_0x23d080-(_0x4c5e34-_0x591b2e))*_0x3dedbb:(_0x23d080-_0xc15c13)*_0x3dedbb,_0x29d0e8=_0x53a586?(_0x10aa80-(_0x22f8d2-_0x34f2ee))*_0x207f7f:(_0x10aa80-_0x9aed04)*_0x207f7f,{'domX':_0x1778dc,'domY':_0x29d0e8};},_0x3221d7=_0x23d080<_0x42f5f0&&_0x12d736>0x0,_0x4e7345=_0x10aa80<_0x38cea4&&_0x2eff9f>0x0,_0x593b8e=_0x23d080>=_0x42f5f0||_0x12d736===0x0,_0x843aa5=_0x10aa80>=_0x38cea4||_0x2eff9f===0x0;if(_0x3221d7&&_0x4e7345&&_0x576777){let _0x1a724b=_0x5c8c56(_0x576777,!0x0,!0x0);_0x1a724b&&_0x5ef4c6['push'](_0x1a724b);}if(_0x4e7345&&_0x593b8e&&_0x56da95){let _0x394b3a=_0x5c8c56(_0x56da95,!0x1,!0x0);_0x394b3a&&_0x5ef4c6['push'](_0x394b3a);}if(_0x3221d7&&_0x843aa5&&_0x5d32a9){let _0x1b4fd8=_0x5c8c56(_0x5d32a9,!0x0,!0x1);_0x1b4fd8&&_0x5ef4c6['push'](_0x1b4fd8);}if(_0x593b8e&&_0x843aa5&&_0x52c488){let _0x5fc990=_0x5c8c56(_0x52c488,!0x1,!0x1);_0x5fc990&&_0x5ef4c6['push'](_0x5fc990);}if(_0x5ef4c6['length']===0x0){var _0x1b6b55,_0x27feae;return{'domX':(_0x23d080-((_0x1b6b55=_0x52c488==null?void 0x0:_0x52c488[_0x1b4e11(0x3c6)])==null?0x0:_0x1b6b55))*_0x3dedbb,'domY':(_0x10aa80-((_0x27feae=_0x52c488==null?void 0x0:_0x52c488[_0x1b4e11(0x311)])==null?0x0:_0x27feae))*_0x207f7f};}let _0xc1d6af=_0x5ef4c6[0x0][_0x1b4e11(0x263)],_0x4d54a5=_0x5ef4c6[0x0][_0x1b4e11(0x366)];for(let _0x34681b of _0x5ef4c6)_0x34681b[_0x1b4e11(0x263)]>_0xc1d6af&&(_0xc1d6af=_0x34681b['domX']),_0x34681b[_0x1b4e11(0x366)]>_0x4d54a5&&(_0x4d54a5=_0x34681b[_0x1b4e11(0x366)]);return{'domX':_0xc1d6af,'domY':_0x4d54a5};}function Jo(_0x4584b4,_0xe50dbd,_0x2380dd,_0x3a31f4,_0x2a3ae8,_0x5b0875,_0x488451){const _0x27efb1=_0x525a7c;let {scaleX:_0x572913,scaleY:_0x45d3aa}=_0x5b0875[_0x27efb1(0x4a7)](),{domX:_0x433407,domY:_0x5a80dd}=qo(_0x4584b4,_0xe50dbd,_0x5b0875,_0x488451);return{'left':_0x433407,'top':_0x5a80dd,'width':_0x2380dd*_0x572913,'height':_0x3a31f4*_0x45d3aa,'angle':_0x2a3ae8,'scaleX':_0x572913,'scaleY':_0x45d3aa};}function Yo(_0x4ea127){let {editingParams:_0x5310c0,scene:_0x44a9c3,skeleton:_0x4ed170,getShapeTransform:_0x1dbbdb}=_0x4ea127,[_0x7ce0f0,_0x3f6b6f]=_0x2d71e0(Ko),_0x3be8cd=_0x3f9c6f(_0x7ce0f0);_0x3be8cd['current']=_0x7ce0f0;let _0x19afd6=_0x48dc43(()=>{const _0x304da6=_0xa649;if(!_0x5310c0||!_0x44a9c3||!_0x4ed170){_0x3be8cd[_0x304da6(0x1f4)]!==Ko&&_0x3f6b6f(Ko);return;}let _0x3fdae3=_0x1dbbdb();if(!_0x3fdae3){_0x3be8cd[_0x304da6(0x1f4)]!==Ko&&_0x3f6b6f(Ko);return;}let {left:_0x3d366c,top:_0x255110,width:_0x33562f,height:_0x2510f6,angle:_0x22fa8d}=_0x3fdae3;if(!_0x5310c0[_0x304da6(0x449)]){let {scaleX:_0x3b806c,scaleY:_0x3eb03c}=_0x44a9c3[_0x304da6(0x4a7)]();_0x3f6b6f({'left':-0x270f,'top':-0x270f,'width':_0x33562f*_0x3b806c,'height':_0x2510f6*_0x3eb03c,'angle':0x0,'scaleX':_0x3b806c,'scaleY':_0x3eb03c});return;}_0x3f6b6f(Jo(_0x3d366c,_0x255110,_0x33562f,_0x2510f6,_0x22fa8d,_0x44a9c3,_0x4ed170));},[_0x5310c0,_0x44a9c3,_0x4ed170,_0x1dbbdb]);return _0x4954e1(()=>{_0x19afd6();},[_0x5310c0,_0x19afd6]),{'position':_0x7ce0f0,'updatePosition':_0x19afd6};}const Xo=_0x2fd1c2(_0x2f91ca=>{const _0x2de307=_0x525a7c;let {children:_0x24291f,onPositionUpdate:_0x3cbf99}=_0x2f91ca,_0x3791d9=_0x3f9c6f(null),_0x4d86a3=_0x516f3a(X),_0x15902e=_0x516f3a(_0x243434),_0x5af394=_0x509107(_0x4d86a3['editingParams$']),_0xd7b2a6=_0x46d37a(()=>_0x5af394?_0x15902e[_0x2de307(0x5af)](_0x5af394[_0x2de307(0x358)]):null,[_0x5af394,_0x15902e]),_0x25127a=_0x46d37a(()=>{const _0x39f5ab=_0x2de307;var _0x1819af;return(_0x1819af=_0xd7b2a6==null?void 0x0:_0xd7b2a6[_0x39f5ab(0x689)])==null?null:_0x1819af;},[_0xd7b2a6]),{position:_0x46b733,updatePosition:_0x38a2c6}=Yo({'editingParams':_0x5af394,'scene':_0x25127a,'skeleton':_0x46d37a(()=>{const _0x497324=_0x2de307;var _0xfec4fa,_0x10c089;return!_0x5af394||!_0xd7b2a6||(_0xfec4fa=(_0x10c089=_0xd7b2a6[_0x497324(0x503)](_0x1c741e)['getSkeletonParam'](_0x5af394[_0x497324(0x2d8)]))==null?void 0x0:_0x10c089[_0x497324(0x222)])==null?null:_0xfec4fa;},[_0x5af394,_0xd7b2a6]),'getShapeTransform':_0x48dc43(()=>{const _0x3dd2dc=_0x2de307;if(!_0x5af394||!_0x25127a)return null;let _0x3e6ef9=_0x5af394[_0x3dd2dc(0x4d7)],_0x1460d5=_0x25127a[_0x3dd2dc(0x423)](_0x3e6ef9);return _0x1460d5 instanceof to?{'left':_0x1460d5['left'],'top':_0x1460d5[_0x3dd2dc(0x2f8)],'width':_0x1460d5[_0x3dd2dc(0x38b)],'height':_0x1460d5[_0x3dd2dc(0x547)],'angle':_0x1460d5[_0x3dd2dc(0x5d8)]}:null;},[_0x5af394,_0x25127a])}),_0x3ea809=_0x48dc43(()=>{const _0x3544c5=_0x2de307;let _0x5447f7=_0x3791d9['current'];_0x5447f7&&(_0x5447f7[_0x3544c5(0x450)]['left']=_0x46b733[_0x3544c5(0x571)]+'px',_0x5447f7[_0x3544c5(0x450)][_0x3544c5(0x2f8)]=_0x46b733[_0x3544c5(0x2f8)]+'px',_0x5447f7[_0x3544c5(0x450)][_0x3544c5(0x38b)]=_0x46b733[_0x3544c5(0x38b)]+'px',_0x5447f7[_0x3544c5(0x450)][_0x3544c5(0x547)]=_0x46b733[_0x3544c5(0x547)]+'px');},[_0x46b733]);return _0x4954e1(()=>{const _0x4e9677=_0x2de307;_0x3ea809(),_0x3cbf99==null||_0x3cbf99({'width':_0x46b733[_0x4e9677(0x38b)],'height':_0x46b733[_0x4e9677(0x547)],'scaleX':_0x46b733[_0x4e9677(0x3a5)],'scaleY':_0x46b733[_0x4e9677(0x2c6)]});},[_0x46b733,_0x3ea809,_0x3cbf99]),_0x4954e1(()=>{const _0x577dde=_0x2de307;if(!_0x25127a)return;let _0x242d20=_0x25127a[_0x577dde(0x599)](_0x23af47[_0x577dde(0x254)]);if(!_0x242d20)return;let _0x2761c1=_0x242d20['onScrollAfter$']['subscribeEvent'](()=>{_0x38a2c6();});return()=>{const _0x56ab34=_0x577dde;_0x2761c1[_0x56ab34(0x61b)]();};},[_0x25127a,_0x38a2c6]),_0x4954e1(()=>{const _0x3e09f7=_0x2de307;if(!_0x5af394||!_0x25127a)return;let _0x62b66d=_0x5af394[_0x3e09f7(0x4d7)],_0x2045da=_0x25127a[_0x3e09f7(0x423)](_0x62b66d);if(_0x2045da instanceof to){let _0x3ef52e=_0x2045da[_0x3e09f7(0x20d)][_0x3e09f7(0x5ad)](()=>{_0x38a2c6();});return()=>{const _0x5f1e5f=_0x3e09f7;_0x3ef52e[_0x5f1e5f(0x61b)]();};}},[_0x5af394,_0x25127a,_0x38a2c6]),_0x5b0dea(_0x2de307(0x373),{'ref':_0x3791d9,'data-u-comp':'shape-text-editor-position-wrapper','className':'univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','style':_0x46d37a(()=>({'left':_0x46b733['left'],'top':_0x46b733[_0x2de307(0x2f8)],'width':_0x46b733['width'],'height':_0x46b733[_0x2de307(0x547)],'pointerEvents':_0x5af394!=null&&_0x5af394[_0x2de307(0x449)]?_0x2de307(0x3ef):_0x2de307(0x27e)}),[_0x46b733,_0x5af394==null?void 0x0:_0x5af394[_0x2de307(0x449)]]),'children':_0x24291f});}),Zo=_0x2fd1c2(()=>{const _0xec3a59=_0x525a7c;let _0x43afb9=_0x509107(_0x516f3a(X)['editingParams$']),[_0x4641a7,_0x5caf26]=_0x2d71e0({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x41c611=_0x48dc43(_0x5daebe=>{const _0x3f34d3=_0xa649;_0x5caf26({'width':_0x5daebe[_0x3f34d3(0x38b)],'height':_0x5daebe[_0x3f34d3(0x547)],'scaleX':_0x5daebe['scaleX'],'scaleY':_0x5daebe[_0x3f34d3(0x2c6)]});},[]);return _0x43afb9!=null&&_0x43afb9[_0xec3a59(0x449)]?_0x5b0dea(Xo,{'onPositionUpdate':_0x41c611,'children':_0x5b0dea(Go,{'containerWidth':_0x4641a7['width'],'containerHeight':_0x4641a7[_0xec3a59(0x547)],'scaleX':_0x4641a7[_0xec3a59(0x3a5)],'scaleY':_0x4641a7['scaleY']})}):null;});let Qo=class extends _0x189648{constructor(_0x188034=Po,_0x29e5cb,_0x174419,_0x49bb6f,_0x42ac96){const _0x19589e=_0x525a7c;super(),this[_0x19589e(0x4f0)]=_0x188034,this['_injector']=_0x29e5cb,this[_0x19589e(0x67e)]=_0x174419,this[_0x19589e(0x65a)]=_0x49bb6f,this[_0x19589e(0x677)]=_0x42ac96;let {..._0x43d319}=_0x597583({},Po,this[_0x19589e(0x4f0)]);this[_0x19589e(0x65a)][_0x19589e(0x300)](_0x19589e(0x468),_0x43d319),this['_initCommands']();}[_0x525a7c(0x238)](){_0x523a8e(this['_injector'],[[jo],[ro],[no]]);}[_0x525a7c(0x3f2)](){const _0x34b50a=_0x525a7c;[[Bo],[mo],[Vo]][_0x34b50a(0x604)](_0x3b214c=>this['_injector']['add'](_0x3b214c)),_0x523a8e(this[_0x34b50a(0x5c7)],[[Vo]]),this[_0x34b50a(0x677)][_0x34b50a(0x47d)](_0x482ea2[_0x34b50a(0x568)],[Bo]),this['_renderManagerService']['registerRenderModule'](_0x482ea2[_0x34b50a(0x568)],[mo]),this['_renderManagerService'][_0x34b50a(0x47d)](_0x482ea2[_0x34b50a(0x568)],[Fo]),this['_renderManagerService']['registerRenderModule'](_0x482ea2[_0x34b50a(0x568)],[Uo]),this[_0x34b50a(0x677)][_0x34b50a(0x47d)](_0x482ea2[_0x34b50a(0x568)],[Lo]);}[_0x525a7c(0x1fa)](){const _0x20ca19=_0x525a7c;let _0x2e48af=this[_0x20ca19(0x5c7)];_0x2e48af[_0x20ca19(0x49c)](_0x5fdd99)['register'](_0x20ca19(0x4ef),Zo),[[jo],[ro],[no],[X],[Io],[_o],[Wo]][_0x20ca19(0x604)](_0x30ece9=>_0x2e48af['add'](_0x30ece9)),_0x523a8e(this[_0x20ca19(0x5c7)],[[jo],[ro],[no],[X],[Io],[_o],[Wo]]);}[_0x525a7c(0x59a)](){const _0x1d477e=_0x525a7c;[go,Va,Ka,Ha,Ua,Ga,Wa,Ja,Ya,qa,ho][_0x1d477e(0x604)](_0x3ff410=>this[_0x1d477e(0x1eb)](this[_0x1d477e(0x67e)][_0x1d477e(0x30c)](_0x3ff410)));}};Y(Qo,'type',_0x482ea2['UNIVER_SHEET']),Y(Qo,_0x525a7c(0x28e),_0x525a7c(0x5db)),Y(Qo,_0x525a7c(0x329),Mo),Y(Qo,_0x525a7c(0x590),No),Qo=$([_0x2990d7(_0x395bbb,_0x3864e9),Q(0x1,_0x3293e1(_0xd8cd0e)),Q(0x2,_0x467978),Q(0x3,_0x3a0a27),Q(0x4,_0x243434)],Qo);export{Ua as SetShapeTextFontSizeCommand,Ga as SetShapeTextFontSizeDecreaseCommand,Wa as SetShapeTextFontSizeIncreaseCommand,Ha as SetShapeTextHorizontalAlignCommand,Ka as SetShapeTextVerticalAlignCommand,qa as ShapeDocAlignCommand,jo as SheetsShapeUIController,Qo as UniverSheetsShapeUIPlugin,Va as UpdateShapeDataCommand};