@univerjs-pro/sheets-shape-ui 0.25.0 → 1.0.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +4 -116
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/command-util.d.ts +1 -0
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +3 -2
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +4 -3
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +2 -1
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +2 -1
- package/lib/types/const.d.ts +1 -0
- package/lib/types/controllers/components.controller.d.ts +9 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +9 -0
- package/lib/types/controllers/{sheets-shape-ui.controller.d.ts → ui.controller.d.ts} +13 -6
- package/lib/types/index.d.ts +2 -2
- package/lib/types/locale/en-US.d.ts +10 -0
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +2 -1
- package/lib/types/views/ShapeOptions.d.ts +1 -5
- package/lib/types/views/ShapePicker.d.ts +2 -2
- package/lib/types/views/shape-editor-panel/ShapeEditorPanel.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeFillEditor.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapeImageFillEditor.d.ts +2 -1
- package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +1 -1
- package/lib/types/views/shape-editor-panel/ShapePositionEditor.d.ts +1 -1
- package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +17 -0
- package/lib/types/views/shape-menu/shape-menu-factory.d.ts +2 -1
- package/lib/types/views/shape-text-editor/ShapeTextFloatToolbar.d.ts +1 -0
- package/lib/types/views/shape-text-editor/index.d.ts +1 -5
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -24
- package/lib/types/views/shape-text-editor/Editor.d.ts +0 -11
- package/lib/types/views/shape-text-editor/ShapePositionWrapper.d.ts +0 -15
- package/lib/types/views/shape-text-editor/hooks/use-shape-position.d.ts +0 -37
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
- /package/lib/types/{controllers/menu.schema.d.ts → menu/schema.d.ts} +0 -0
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
|
+
function _0xa61a(_0x1e621a,_0x74d38b){_0x1e621a=_0x1e621a-0x1ea;const _0x415e6f=_0x415e();let _0xa61ac1=_0x415e6f[_0x1e621a];return _0xa61ac1;}const _0x1e4b59=_0xa61a;(function(_0x185e17,_0x979217){const _0x550c70=_0xa61a,_0x4cf2d3=_0x185e17();while(!![]){try{const _0x106de9=-parseInt(_0x550c70(0x57c))/0x1*(-parseInt(_0x550c70(0x467))/0x2)+parseInt(_0x550c70(0x477))/0x3+-parseInt(_0x550c70(0x490))/0x4*(-parseInt(_0x550c70(0x41c))/0x5)+-parseInt(_0x550c70(0x458))/0x6*(-parseInt(_0x550c70(0x460))/0x7)+parseInt(_0x550c70(0x56a))/0x8*(-parseInt(_0x550c70(0x26d))/0x9)+parseInt(_0x550c70(0x243))/0xa*(-parseInt(_0x550c70(0x3ef))/0xb)+parseInt(_0x550c70(0x382))/0xc*(-parseInt(_0x550c70(0x568))/0xd);if(_0x106de9===_0x979217)break;else _0x4cf2d3['push'](_0x4cf2d3['shift']());}catch(_0x39d973){_0x4cf2d3['push'](_0x4cf2d3['shift']());}}}(_0x415e,0xd1080));import{InsertShapeCommand as _0x368421,InsertSheetsShapeMutation as _0x215d73,RemoveSheetsShapeMutation as _0x4e21e6,SetShapeDrawingDataCommand as _0x1c0103,SetSheetsShapeRotateCommand as _0x326f25,SetSheetsShapeTextVerticalToggleCommand as _0x48a6b0,SheetsShapeService as _0x114e41,ToggleSheetsShapeFlipCommand as _0x4475bc,UniverSheetsShapePlugin as _0x54eb2e,UpdateConnectorRelationCommand as _0x3b868c,UpdateLineShapeResizeCommand as _0x2906c4,UpdateSheetsShapeDataMutation as _0x34adc6}from'@univerjs-pro/sheets-shape';import{BooleanNumber as _0x2147b9,CommandType as _0x10ee86,DependentOn as _0xef694,Disposable as _0x2d969b,DocumentDataModel as _0x320d15,DrawingTypeEnum as _0x44ab60,FOCUSING_COMMON_DRAWINGS as _0x174548,FOCUSING_SHAPE_TEXT_EDITOR as _0x440c37,GridType as _0x2b85c0,HorizontalAlign as _0x32f1d8,ICommandService as _0x229c27,IConfigService as _0x152b95,IContextService as _0x1b0873,IURLImageService as _0x15bb02,IUndoRedoService as _0x464373,IUniverInstanceService as _0x2b0f26,Inject as _0x49bdac,Injector as _0x2ea32b,LocaleService as _0x10276c,Plugin as _0x40b34e,ThemeService as _0x816f27,Tools as _0x4809b3,UniverInstanceType as _0x45bf6b,VerticalAlign as _0x3e15ec,WrapStrategy as _0x63018e,createInternalEditorID as _0x4e7289,generateRandomId as _0x111adf,merge as _0x47be0f,toDisposable as _0x38994f,touchDependencies as _0x58fa53}from'@univerjs/core';import{CopySheetCommand as _0x316634,RemoveSheetCommand as _0x4e06c5,SheetInterceptorService as _0x1e0430,SheetPermissionCheckController as _0x5429b9,SheetSkeletonService as _0x10f70c,SheetsSelectionsService as _0x2a638c,WorkbookEditablePermission as _0x3326f9,WorksheetEditPermission as _0x6e8fe4,attachRangeWithCoord as _0x5a99f9,discreteRangeToRange as _0x4d5024,getSheetCommandTarget as _0x423d93}from'@univerjs/sheets';import{DrawingApplyType as _0x1d0ecf,ISheetDrawingService as _0x113402,RemoveSheetDrawingCommand as _0x408d74,SetDrawingApplyMutation as _0x279d0c,transformToDrawingPosition as _0x2e64cd}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x54f86d,EMPTY as _0x35918a,Observable as _0x573178,map as _0x320f72,of as _0x2b1548,startWith as _0x103d57,switchMap as _0x4ee608}from'rxjs';import{IDrawingManagerService as _0xd6b9bd,IImageIoService as _0x56938d,getDrawingShapeKeyByDrawingSearch as _0x79bce2}from'@univerjs/drawing';import{CURSOR_TYPE as _0x3f8d29,Circle as _0x2d28b6,DRAWING_OBJECT_LAYER_INDEX as _0x11e46b,DocumentSkeleton as _0x4f12b1,DocumentViewModel as _0x398c66,Documents as _0x6d87e6,IRenderManagerService as _0x2302c1,Image as _0x3a684b,RENDER_CLASS_TYPE as _0x168bd7,SHEET_VIEWPORT_KEY as _0x27ee17,Shape as _0x3596e1,Transform as _0x2a1afe,VERTICAL_ROTATE_ANGLE as _0x1b8d23,Vector2 as _0xa2893b}from'@univerjs/engine-render';import{AlignOperationCommand as _0x26f8a6,DocCanvasPopManagerService as _0x5b58ae,DocSelectionRenderService as _0x320a6c,ResetInlineFormatTextBackgroundColorCommand as _0x351a43,SetInlineFormatTextBackgroundColorCommand as _0x45d415}from'@univerjs/docs-ui';import{COPY_TYPE as _0x2ba362,ISheetClipboardService as _0x12792d,PREDEFINED_HOOK_NAME as _0x82e4b5,SheetCanvasPopManagerService as _0x3d2b95,SheetScrollManagerService as _0x3a611d,SheetSkeletonManagerService as _0x3da40f,deriveStateFromActiveSheet$ as _0x5cb814,getCurrentRangeDisable$ as _0x3ebf28,getViewportByCell as _0x30fe0a}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x194822,ComponentManager as _0x30b3f7,IFontService as _0x4c16c9,IMenuManagerService as _0xca6cc4,ISidebarService as _0x966260,IconManager as _0x5b7817,MenuItemType as _0x5dfa3c,RibbonInsertGroup as _0x4c5a89,RibbonPosition as _0x2690d6,RibbonStartGroup as _0x2ceb11,getMenuHiddenObservable as _0x1d3e36,useDependency as _0x51983f}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x26c87d,ImageSourceTypeEnum as _0x1605f8,ShapeArrowSizeEnum as _0x374c23,ShapeArrowTypeEnum as _0x589d4e,ShapeDefaultConfig as _0xf02888,ShapeFillEnum as _0x355fa8,ShapeLineTypeEnum as _0x4778ad,ShapeModel as _0x32ec93,ShapeRenderModeEnum as _0x11876d,ShapeTypeEnum as _0x4d29db,computeConnectorRouteLayout as _0x30d37b,getBasicShapeRotateBound as _0x1b6222,isConnectorShape as _0x241b3b,isCurvedConnectorShape as _0x1c7eb9,routeConnectorLineShape as _0x4361af}from'@univerjs-pro/engine-shape';import{DrawingCommonPanel as _0x447bc8,DrawingImageClipService as _0x23d7c6,DrawingRenderService as _0x2f32d0,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x2cb1a7,getCurrentUnitInfo as _0x309101,insertGroupObject as _0x50426c}from'@univerjs/drawing-ui';import{DocSelectionManagerService as _0x5b4d6a}from'@univerjs/docs';import{Button as _0x2d018f,Dropdown as _0x20f71f}from'@univerjs/design';import{memo as _0xa99130,useEffect as _0x47891a,useMemo as _0x14e766,useState as _0x4fd01b}from'react';import{jsx as _0x5a567d,jsxs as _0x96059a}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x5d9940,SheetsDrawingGroupCopyPasteController as _0x4e32fe,UniverSheetsDrawingUIPlugin as _0x508bb9}from'@univerjs/sheets-drawing-ui';import{ShapeAccentBorderCallout1Icon as _0x5a7718,ShapeAccentBorderCallout2Icon as _0x5cca02,ShapeAccentBorderCallout3Icon as _0x3b9a36,ShapeAccentCallout1Icon as _0x49f470,ShapeAccentCallout2Icon as _0x3d20a3,ShapeAccentCallout3Icon as _0x1ff446,ShapeActionButtonBackPreviousIcon as _0x473d8e,ShapeActionButtonBeginningIcon as _0x441b77,ShapeActionButtonBlankIcon as _0x4939c2,ShapeActionButtonDocumentIcon as _0x3d8b20,ShapeActionButtonEndIcon as _0x42373f,ShapeActionButtonForwardNextIcon as _0x1f8a92,ShapeActionButtonHelpIcon as _0x1e608b,ShapeActionButtonHomeIcon as _0x40d9db,ShapeActionButtonInformationIcon as _0x38a03f,ShapeActionButtonMovieIcon as _0x200da6,ShapeActionButtonReturnIcon as _0x322990,ShapeActionButtonSoundIcon as _0x5295a8,ShapeArcIcon as _0x1d3ba6,ShapeBentArrowIcon as _0x4e4162,ShapeBentConnector3Arrow1Icon as _0x53f538,ShapeBentConnector3Arrow2Icon as _0x34a528,ShapeBentConnector3Icon as _0x464758,ShapeBentUpArrowIcon as _0x13f6c9,ShapeBevelIcon as _0x50738e,ShapeBlockArcIcon as _0x445d9c,ShapeBorderCallout1Icon as _0x399257,ShapeBorderCallout2Icon as _0x482eda,ShapeBorderCallout3Icon as _0x5a2d28,ShapeBracePairIcon as _0x257d04,ShapeBracketPairIcon as _0xdb09ca,ShapeCallout1Icon as _0x1aba50,ShapeCallout2Icon as _0x2a373c,ShapeCallout3Icon as _0x2887b4,ShapeCanIcon as _0x2f6d61,ShapeChartPlusIcon as _0xfb1cc5,ShapeChartStarIcon as _0x2affb6,ShapeChartXIcon as _0x14ee9a,ShapeChevronIcon as _0x49f4b9,ShapeChordIcon as _0x377a34,ShapeCircularArrowIcon as _0xd6b70d,ShapeCloudCalloutIcon as _0x581f3b,ShapeCloudIcon as _0x32a944,ShapeCornerIcon as _0x3c870a,ShapeCornerTabsIcon as _0x524ca2,ShapeCubeIcon as _0x353482,ShapeCurvedConnector3Arrow1Icon as _0x95af42,ShapeCurvedConnector3Arrow2Icon as _0x5e0643,ShapeCurvedConnector3Icon as _0x30677f,ShapeCurvedDownArrowIcon as _0x42a44b,ShapeCurvedLeftArrowIcon as _0x3c4d5b,ShapeCurvedRightArrowIcon as _0x3b7296,ShapeCurvedUpArrowIcon as _0xf4325a,ShapeDecagonIcon as _0x1f3d9a,ShapeDiagStripeIcon as _0x8bba66,ShapeDiamondIcon as _0x47564d,ShapeDodecagonIcon as _0x42d141,ShapeDonutIcon as _0x570395,ShapeDoubleWaveIcon as _0x531569,ShapeDownArrowCalloutIcon as _0x49cbed,ShapeDownArrowIcon as _0x20d0db,ShapeEllipseIcon as _0x1dc659,ShapeEllipseRibbon2Icon as _0x502b0e,ShapeEllipseRibbonIcon as _0x3ebfa2,ShapeFlowChartAlternateProcessIcon as _0x1a0ef6,ShapeFlowChartCollateIcon as _0x5aec04,ShapeFlowChartConnectorIcon as _0x477800,ShapeFlowChartDecisionIcon as _0x5a5356,ShapeFlowChartDelayIcon as _0x50fb9d,ShapeFlowChartDisplayIcon as _0x3665ee,ShapeFlowChartDocumentIcon as _0x3f6b40,ShapeFlowChartExtractIcon as _0xef870f,ShapeFlowChartInputOutputIcon as _0x289147,ShapeFlowChartInternalStorageIcon as _0x2948fb,ShapeFlowChartMagneticDiskIcon as _0x10a1d4,ShapeFlowChartMagneticDrumIcon as _0x3b88a0,ShapeFlowChartMagneticTapeIcon as _0x1f2474,ShapeFlowChartManualInputIcon as _0xdc0368,ShapeFlowChartManualOperationIcon as _0x2e507f,ShapeFlowChartMergeIcon as _0x589766,ShapeFlowChartMultidocumentIcon as _0x544f54,ShapeFlowChartOfflineStorageIcon as _0x227b33,ShapeFlowChartOffpageConnectorIcon as _0x2d1ab2,ShapeFlowChartOnlineStorageIcon as _0x2d35e9,ShapeFlowChartOrIcon as _0x416f31,ShapeFlowChartPredefinedProcessIcon as _0x1a297e,ShapeFlowChartPreparationIcon as _0x12faa9,ShapeFlowChartProcessIcon as _0x374757,ShapeFlowChartPunchedCardIcon as _0x2ed3ac,ShapeFlowChartPunchedTapeIcon as _0x19137e,ShapeFlowChartSortIcon as _0x4ee04b,ShapeFlowChartSummingJunctionIcon as _0x309a25,ShapeFlowChartTerminatorIcon as _0x2b42f5,ShapeFolderCornerIcon as _0x20b4e8,ShapeFrameIcon as _0x3946f3,ShapeFunnelIcon as _0x3a53f4,ShapeGear6Icon as _0x22326d,ShapeGear9Icon as _0x461a4b,ShapeHalfFrameIcon as _0x2ea8f7,ShapeHeartIcon as _0x2cdc8d,ShapeHeptagonIcon as _0x11c0ce,ShapeHexagonIcon as _0x595ae9,ShapeHomePlateIcon as _0x3909af,ShapeHorizontalScrollIcon as _0x261b89,ShapeIrregularSeal1Icon as _0xdd4a1c,ShapeIrregularSeal2Icon as _0x388272,ShapeLeftArrowCalloutIcon as _0x52a9cd,ShapeLeftArrowIcon as _0x2397bb,ShapeLeftBraceIcon as _0x134200,ShapeLeftBracketIcon as _0x410653,ShapeLeftCircularArrowIcon as _0xa59228,ShapeLeftRightArrowCalloutIcon as _0x4a4f85,ShapeLeftRightArrowIcon as _0x52e6c5,ShapeLeftRightCircularArrowIcon as _0x5382a2,ShapeLeftRightRibbonIcon as _0x55686a,ShapeLeftRightUpArrowIcon as _0x5a9443,ShapeLeftUpArrowIcon as _0xbfb7f1,ShapeLightningBoltIcon as _0x1d7acb,ShapeLineIcon as _0x41e039,ShapeLineInvIcon as _0x2babf2,ShapeMathDivideIcon as _0x483e97,ShapeMathEqualIcon as _0x27735f,ShapeMathMinusIcon as _0x314194,ShapeMathMultiplyIcon as _0x6d62d4,ShapeMathNotEqualIcon as _0x4ce577,ShapeMathPlusIcon as _0x3cfbef,ShapeMoonIcon as _0x2ae464,ShapeNoSmokingIcon as _0x3fa26a,ShapeNonIsoscelesTrapezoidIcon as _0x3f6e4d,ShapeNotchedRightArrowIcon as _0x4022e4,ShapeOctagonIcon as _0x3d7e3c,ShapeParallelogramIcon as _0x442c37,ShapePentagonIcon as _0x1edcc1,ShapePieIcon as _0x1b7495,ShapePieWedgeIcon as _0x5c3afa,ShapePlaqueIcon as _0x1c6abd,ShapePlaqueTabsIcon as _0x457c6f,ShapePlusIcon as _0xa0f15c,ShapeQuadArrowCalloutIcon as _0xdfe963,ShapeQuadArrowIcon as _0x1ea32f,ShapeRectIcon as _0xd79c1b,ShapeRectTextboxHorizontalIcon as _0x168013,ShapeRectTextboxVerticalIcon as _0x1dfd66,ShapeRibbon2Icon as _0x64c14d,ShapeRibbonIcon as _0x1ae969,ShapeRightArrowCalloutIcon as _0x49733c,ShapeRightArrowIcon as _0x37c9d5,ShapeRightBraceIcon as _0x128041,ShapeRightBracketIcon as _0x27c6fe,ShapeRound1RectIcon as _0x324ad2,ShapeRound2DiagRectIcon as _0x1febd5,ShapeRound2SameRectIcon as _0x478b4e,ShapeRoundRectIcon as _0x40eeb0,ShapeRtTriangleIcon as _0x409ae7,ShapeSmileyFaceIcon as _0x541e16,ShapeSnip1RectIcon as _0x593276,ShapeSnip2DiagRectIcon as _0x4ce311,ShapeSnip2SameRectIcon as _0x26cae4,ShapeSnipRoundRectIcon as _0x3f1ec0,ShapeSquareTabsIcon as _0x3a773c,ShapeStar10Icon as _0x2548f6,ShapeStar12Icon as _0x60d749,ShapeStar16Icon as _0x272f73,ShapeStar24Icon as _0x48e88b,ShapeStar32Icon as _0x2b7e79,ShapeStar4Icon as _0x3e4d6b,ShapeStar5Icon as _0x48f7cc,ShapeStar6Icon as _0x286548,ShapeStar7Icon as _0x56ca36,ShapeStar8Icon as _0x47ce15,ShapeStraightConnector1Icon as _0x529511,ShapeStraightConnector2Icon as _0x17ec07,ShapeStripedRightArrowIcon as _0x58f51f,ShapeSunIcon as _0x2361ae,ShapeSwooshArrowIcon as _0x22ef17,ShapeTeardropIcon as _0x4336be,ShapeTrapezoidIcon as _0x221518,ShapeTriangleIcon as _0x156e0c,ShapeUpArrowCalloutIcon as _0x374b2f,ShapeUpArrowIcon as _0x2551b1,ShapeUpDownArrowCalloutIcon as _0xb61e52,ShapeUpDownArrowIcon as _0x2858fa,ShapeUturnArrowIcon as _0x13996a,ShapeVerticalScrollIcon as _0xe712a,ShapeWaveIcon as _0x1b14b2,ShapeWedgeEllipseCalloutIcon as _0xabce82,ShapeWedgeRectCalloutIcon as _0x4641d8,ShapeWedgeRoundRectCalloutIcon as _0x3eaa18}from'@univerjs/icons';import{ShapeEditPanel as _0x5e9017,ShapeFloatingToolbar as _0x172aab,ShapeTextEditorContainer as _0x363eb1,ShapeTextFloatMenuRenderControllerBase as _0x5928a8,ShapeTextFloatToolbar as _0x5ce8ef,buildShapeTextDataUpdate as _0x5bab21}from'@univerjs-pro/shape-editor-ui';function xa(_0x37851a){'@babel/helpers - typeof';const _0x317259=_0xa61a;return xa=typeof Symbol=='function'&&typeof Symbol[_0x317259(0x48c)]==_0x317259(0x33f)?function(_0x1a0125){return typeof _0x1a0125;}:function(_0x2196d2){const _0x3ec577=_0x317259;return _0x2196d2&&typeof Symbol==_0x3ec577(0x3ae)&&_0x2196d2[_0x3ec577(0x3a3)]===Symbol&&_0x2196d2!==Symbol[_0x3ec577(0x39c)]?_0x3ec577(0x33f):typeof _0x2196d2;},xa(_0x37851a);}function Sa(_0x3b8492,_0x5482de){const _0x436e33=_0xa61a;if(xa(_0x3b8492)!=_0x436e33(0x4e8)||!_0x3b8492)return _0x3b8492;var _0x52e75e=_0x3b8492[Symbol['toPrimitive']];if(_0x52e75e!==void 0x0){var _0x333df2=_0x52e75e[_0x436e33(0x38d)](_0x3b8492,_0x5482de||_0x436e33(0x5a4));if(xa(_0x333df2)!=_0x436e33(0x4e8))return _0x333df2;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5482de==='string'?String:Number)(_0x3b8492);}function Ca(_0x41d79e){const _0x4bbc59=_0xa61a;var _0x224660=Sa(_0x41d79e,_0x4bbc59(0x59b));return xa(_0x224660)==_0x4bbc59(0x33f)?_0x224660:_0x224660+'';}function G(_0x1e6646,_0x45cb9d,_0xadb920){const _0x3682eb=_0xa61a;return(_0x45cb9d=Ca(_0x45cb9d))in _0x1e6646?Object[_0x3682eb(0x393)](_0x1e6646,_0x45cb9d,{'value':_0xadb920,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e6646[_0x45cb9d]=_0xadb920,_0x1e6646;}var K=class extends _0x2d969b{constructor(..._0x475f4e){const _0x50676e=_0xa61a;super(..._0x475f4e),G(this,_0x50676e(0x47d),new _0x54f86d(null)),G(this,_0x50676e(0x41a),this[_0x50676e(0x47d)][_0x50676e(0x23b)]()),G(this,'_onSavingEditorData$',new _0x54f86d(!0x1)),G(this,_0x50676e(0x5d8),this[_0x50676e(0x583)][_0x50676e(0x23b)]());}[_0x1e4b59(0x301)](){const _0x2eacdc=_0x1e4b59;this[_0x2eacdc(0x47d)]['next'](null),this[_0x2eacdc(0x47d)]['complete'](),this['_onSavingEditorData$']['next'](!0x1),this[_0x2eacdc(0x583)][_0x2eacdc(0x24b)](),super[_0x2eacdc(0x301)]();}[_0x1e4b59(0x537)](_0x4b506e){const _0x50d4e4=_0x1e4b59;this['_editingParams$'][_0x50d4e4(0x3af)](_0x4b506e),_0x4b506e==null&&this[_0x50d4e4(0x583)][_0x50d4e4(0x3af)](!0x1);}['setOnSavingEditorData'](_0x2e29fd){const _0x21dca5=_0x1e4b59;this[_0x21dca5(0x583)]['next'](_0x2e29fd);}[_0x1e4b59(0x38b)](){const _0x21da00=_0x1e4b59;return this[_0x21da00(0x47d)][_0x21da00(0x5b3)]();}};function wa(_0x49120b,_0xfc52f){const _0x1d1fbe=_0x1e4b59;let _0x38ae97={};for(let _0x30161e of Object['keys'](_0xfc52f)){let _0x53c637=_0xfc52f[_0x30161e],_0x1f30d2=_0x49120b[_0x30161e];if(_0x53c637!==void 0x0){if(_0x1f30d2===void 0x0){_0x38ae97[_0x30161e]=void 0x0;continue;}typeof _0x53c637=='object'&&_0x53c637&&!Array[_0x1d1fbe(0x556)](_0x53c637)&&typeof _0x1f30d2=='object'&&_0x1f30d2&&!Array['isArray'](_0x1f30d2)?_0x38ae97[_0x30161e]=wa(_0x1f30d2,_0x53c637):_0x38ae97[_0x30161e]=_0x1f30d2;}}return _0x38ae97;}const q={'type':_0x10ee86[_0x1e4b59(0x499)],'id':'sheet.command.update-shape-data','handler':(_0x13ee57,_0x15d571)=>{const _0x15bf87=_0x1e4b59;let _0x1793ff=_0x13ee57['get'](_0x114e41),{unitId:_0x8ee83d,subUnitId:_0x3f7485,shapeType:_0xa54b68,shapeId:_0x42bef4,shapeData:_0x58cdf5,oldShapeJSON:_0x6a75d9}=_0x15d571;if(!_0x1793ff[_0x15bf87(0x58f)](_0x8ee83d,_0x3f7485,_0x42bef4))return!0x1;let _0x3dad70=_0x13ee57[_0x15bf87(0x4f9)](_0x229c27),_0x40e3cd=_0x13ee57[_0x15bf87(0x4f9)](_0x464373),{oldShapeType:_0x1c561d,oldShapeData:_0x3fe700={}}=_0x6a75d9,_0x205ff1=wa(_0x3fe700,_0x58cdf5||{}),_0x29d1fb={'id':_0x34adc6['id'],'params':{'unitId':_0x8ee83d,'subUnitId':_0x3f7485,'shapeId':_0x42bef4,'shapeType':_0xa54b68,'shapeData':_0x58cdf5}},_0xb44261={'id':_0x34adc6['id'],'params':{'unitId':_0x8ee83d,'subUnitId':_0x3f7485,'shapeId':_0x42bef4,'shapeType':_0x1c561d,'shapeData':_0x205ff1}};return _0x3dad70[_0x15bf87(0x432)](_0x29d1fb['id'],_0x29d1fb['params'])?(_0x40e3cd[_0x15bf87(0x2c6)]({'unitID':_0x8ee83d,'undoMutations':[_0xb44261],'redoMutations':[_0x29d1fb]}),!0x0):!0x1;}},Ta={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x39b),'handler':async(_0x3e3e8b,_0x5a7c67)=>{const _0x2274db=_0x1e4b59;var _0x34b585;if(!_0x423d93(_0x3e3e8b[_0x2274db(0x4f9)](_0x2b0f26)))return!0x1;let _0x156e9f=_0x3e3e8b['get'](_0x113402)[_0x2274db(0x5b1)]()[_0x2274db(0x451)](_0x365c71=>_0x365c71[_0x2274db(0x356)]===_0x44ab60[_0x2274db(0x526)]);if(_0x156e9f[_0x2274db(0x270)]!==0x1)return!0x1;let _0x29a665=_0x3e3e8b['get'](K)[_0x2274db(0x38b)](),_0x55e3c1=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x294)])||_0x156e9f[0x0][_0x2274db(0x294)],_0x1a0fd1=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x51e)])||_0x156e9f[0x0][_0x2274db(0x51e)],_0x15b66a=(_0x29a665==null?void 0x0:_0x29a665[_0x2274db(0x543)])||_0x156e9f[0x0][_0x2274db(0x23e)],_0x5bd5e1=_0x3e3e8b[_0x2274db(0x4f9)](_0x114e41)[_0x2274db(0x58f)](_0x55e3c1,_0x1a0fd1,_0x15b66a);if(!_0x5bd5e1)return!0x1;let _0x2f6363=_0x5bd5e1[_0x2274db(0x4d2)]();if(!_0x2f6363||!(_0x2274db(0x3f1)in _0x2f6363))return!0x1;let _0x3f81b0=_0x3e3e8b[_0x2274db(0x4f9)](_0x229c27),{value:_0x3aa6f7}=_0x5a7c67,_0x31da72=_0x5bd5e1[_0x2274db(0x3e4)](),_0x3640f3=_0x5bd5e1[_0x2274db(0x3b6)](),_0x1779f6={..._0x2f6363[_0x2274db(0x3f1)],'ha':_0x3aa6f7};return await _0x3f81b0[_0x2274db(0x361)](q['id'],{'unitId':_0x55e3c1,'subUnitId':_0x1a0fd1,'shapeId':_0x15b66a,'shapeType':_0x31da72,'shapeData':{'shapeText':{'isHorizontal':(_0x34b585=_0x2f6363['isHorizontal'])==null?!0x0:_0x34b585,'dataModel':_0x1779f6}},'oldShapeJSON':{'oldShapeType':_0x31da72,'oldShapeData':_0x3640f3}});}},Ea={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x58a),'handler':async(_0x222df5,_0x221389)=>{const _0x3d8d86=_0x1e4b59;var _0x5d4cc5;if(!_0x221389)return!0x1;let {value:_0x31b5a6}=_0x221389,_0x210647=_0x222df5['get'](_0x229c27),_0x367aeb=_0x222df5[_0x3d8d86(0x4f9)](K),_0x22337a=_0x222df5[_0x3d8d86(0x4f9)](_0x114e41),_0x5cab20=_0x222df5[_0x3d8d86(0x4f9)](_0x2302c1),_0x3aa672=_0x367aeb[_0x3d8d86(0x38b)]();if(!_0x3aa672)return!0x1;let {unitId:_0x5c8bb0,subUnitId:_0x48cd46,shapeId:_0x5455b8}=_0x3aa672,_0x3f5ef8=_0x22337a['getShapeModel'](_0x5c8bb0,_0x48cd46,_0x5455b8);if(!_0x3f5ef8)return!0x1;let _0x31565d=_0x3f5ef8[_0x3d8d86(0x4d2)]();if(!_0x31565d||!('dataModel'in _0x31565d))return!0x1;let _0x4a6d3e=_0x31565d[_0x3d8d86(0x3f1)];if(!_0x4a6d3e)return!0x1;let _0x1498fd={..._0x4a6d3e,'fs':_0x31b5a6},_0x564599=await _0x210647[_0x3d8d86(0x361)](q['id'],{'unitId':_0x5c8bb0,'subUnitId':_0x48cd46,'shapeId':_0x5455b8,'shapeData':{'shapeText':{'isHorizontal':(_0x5d4cc5=_0x31565d['isHorizontal'])==null?!0x0:_0x5d4cc5,'dataModel':_0x1498fd}}});if(_0x564599){let _0x5a7156=_0x5cab20[_0x3d8d86(0x2f6)](_0x5c8bb0);if(_0x5a7156!=null&&_0x5a7156[_0x3d8d86(0x37d)]){let _0xed2645=_0x79bce2({'unitId':_0x5c8bb0,'subUnitId':_0x48cd46,'drawingId':_0x5455b8}),_0xd63fdd=_0x5a7156[_0x3d8d86(0x37d)][_0x3d8d86(0x4c0)](_0xed2645);_0xd63fdd&&_0xd63fdd[_0x3d8d86(0x44c)](!0x0);}}return _0x564599;}},Da={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x444),'handler':async _0x18b715=>{const _0x4c2c58=_0x1e4b59;var _0x2d76c1;let _0x1f16a4=_0x18b715['get'](K),_0x29eddf=_0x18b715[_0x4c2c58(0x4f9)](_0x114e41),_0x44a76b=_0x18b715[_0x4c2c58(0x4f9)](_0x229c27),_0x29f2cb=_0x1f16a4[_0x4c2c58(0x38b)]();if(!_0x29f2cb)return!0x1;let {unitId:_0x183408,subUnitId:_0xf2a609,shapeId:_0x59968d}=_0x29f2cb,_0x4b0fa4=_0x29eddf[_0x4c2c58(0x58f)](_0x183408,_0xf2a609,_0x59968d);if(!_0x4b0fa4)return!0x1;let _0x5a3040=_0x4b0fa4['getShapeTextData']();if(!_0x5a3040||!(_0x4c2c58(0x3f1)in _0x5a3040))return!0x1;let _0xda2e32=_0x5a3040['dataModel'],_0x3c851e=(_0x2d76c1=_0xda2e32==null?void 0x0:_0xda2e32['fs'])==null?0xe:_0x2d76c1,_0xe03837=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x18caa2=_0x3c851e,_0x3a3010=_0xe03837[_0x4c2c58(0x40e)](_0x3c851e);return _0x3a3010!==-0x1&&_0x3a3010<_0xe03837[_0x4c2c58(0x270)]-0x1?_0x18caa2=_0xe03837[_0x3a3010+0x1]:_0x3a3010===-0x1&&(_0x18caa2=Math[_0x4c2c58(0x577)](_0x3c851e)+0x1),_0x44a76b['executeCommand'](Ea['id'],{'value':_0x18caa2});}},Oa={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x56c),'handler':async _0x4ffada=>{const _0x5374ad=_0x1e4b59;var _0x3108a9;let _0x3dce4d=_0x4ffada['get'](K),_0x228bd5=_0x4ffada['get'](_0x114e41),_0x5bda2b=_0x4ffada[_0x5374ad(0x4f9)](_0x229c27),_0xe488f1=_0x3dce4d[_0x5374ad(0x38b)]();if(!_0xe488f1)return!0x1;let {unitId:_0x1e4db4,subUnitId:_0x72a917,shapeId:_0x22474f}=_0xe488f1,_0x1458bf=_0x228bd5[_0x5374ad(0x58f)](_0x1e4db4,_0x72a917,_0x22474f);if(!_0x1458bf)return!0x1;let _0x9602a8=_0x1458bf['getShapeTextData']();if(!_0x9602a8||!(_0x5374ad(0x3f1)in _0x9602a8))return!0x1;let _0x125fc0=_0x9602a8[_0x5374ad(0x3f1)],_0x20b12c=(_0x3108a9=_0x125fc0==null?void 0x0:_0x125fc0['fs'])==null?0xe:_0x3108a9,_0x2866aa=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x18be15=_0x20b12c,_0x56face=_0x2866aa[_0x5374ad(0x40e)](_0x20b12c);return _0x56face!==-0x1&&_0x56face>0x0?_0x18be15=_0x2866aa[_0x56face-0x1]:_0x56face===-0x1&&(_0x18be15=Math['floor'](_0x20b12c)-0x1),_0x18be15<0x1&&(_0x18be15=0x1),_0x5bda2b[_0x5374ad(0x361)](Ea['id'],{'value':_0x18be15});}},J={'type':_0x10ee86['COMMAND'],'id':_0x1e4b59(0x3d8),'handler':async(_0x363527,_0x1789e2)=>{const _0xd436f8=_0x1e4b59;var _0x1429e2;if(!_0x423d93(_0x363527[_0xd436f8(0x4f9)](_0x2b0f26)))return!0x1;let _0x514d7b=_0x363527[_0xd436f8(0x4f9)](_0x113402)['getFocusDrawings']()[_0xd436f8(0x451)](_0x257bf1=>_0x257bf1['drawingType']===_0x44ab60[_0xd436f8(0x526)]);if(_0x514d7b[_0xd436f8(0x270)]!==0x1)return!0x1;let _0x868c4b=_0x363527['get'](K)[_0xd436f8(0x38b)](),_0x48c653=(_0x868c4b==null?void 0x0:_0x868c4b['unitId'])||_0x514d7b[0x0][_0xd436f8(0x294)],_0x2b12cc=(_0x868c4b==null?void 0x0:_0x868c4b[_0xd436f8(0x51e)])||_0x514d7b[0x0][_0xd436f8(0x51e)],_0x4ecb93=(_0x868c4b==null?void 0x0:_0x868c4b[_0xd436f8(0x543)])||_0x514d7b[0x0]['drawingId'],_0x1dec48=_0x363527[_0xd436f8(0x4f9)](_0x114e41)[_0xd436f8(0x58f)](_0x48c653,_0x2b12cc,_0x4ecb93);if(!_0x1dec48)return!0x1;let _0x177b72=_0x1dec48[_0xd436f8(0x4d2)]();if(!_0x177b72||!(_0xd436f8(0x3f1)in _0x177b72))return!0x1;let _0x5f5108=_0x363527[_0xd436f8(0x4f9)](_0x229c27),{value:_0x11ba32}=_0x1789e2,_0x5ef752=_0x1dec48[_0xd436f8(0x3e4)](),_0x339cc5=_0x1dec48[_0xd436f8(0x3b6)](),_0x289d92={..._0x177b72[_0xd436f8(0x3f1)],'va':_0x11ba32};return await _0x5f5108[_0xd436f8(0x361)](q['id'],{'unitId':_0x48c653,'subUnitId':_0x2b12cc,'shapeId':_0x4ecb93,'shapeType':_0x5ef752,'shapeData':{'shapeText':{'isHorizontal':(_0x1429e2=_0x177b72[_0xd436f8(0x59f)])==null?!0x0:_0x1429e2,'dataModel':_0x289d92}},'oldShapeJSON':{'oldShapeType':_0x5ef752,'oldShapeData':_0x339cc5}});}},ka={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x41e),'handler':(_0x4c479c,_0xb945c8)=>{const _0x44e3e4=_0x1e4b59;if(!_0xb945c8)return!0x1;let {value:_0x5dfc58}=_0xb945c8;return _0x4c479c['get'](_0x229c27)[_0x44e3e4(0x432)](_0x26f8a6['id'],{'alignType':_0x5dfc58});}},Aa={'type':_0x10ee86['OPERATION'],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}},ja={'type':_0x10ee86[_0x1e4b59(0x3cc)],'id':'sheet.operation.open-sheet-shape-format-panel','handler'(){return!0x0;}},Ma=_0x1e4b59(0x40f),Na=_0x1e4b59(0x488),Pa=_0x4e7289('SHAPE_TEXT');function Fa(_0x42fba7,_0x4ced2b,_0x388f79,_0x5e181a,_0x5ce617,_0x932c9){const _0x2a7783=_0x1e4b59;let _0x15e6bc={'unitId':_0x4ced2b,'subUnitId':_0x388f79,'shapeId':_0x5e181a,'shapeData':_0x932c9,'oldShapeJSON':_0x5ce617};return _0x42fba7[_0x2a7783(0x361)](q['id'],_0x15e6bc);}function Ia(_0x16f931,_0x2016f4,_0x5eb18b,_0x1b7a27,_0x98cd65,_0x3c7999){const _0x41775c=_0x1e4b59;let _0x4464f9={'unitId':_0x2016f4,'subUnitId':_0x5eb18b,'shapeId':_0x1b7a27,'shapeData':_0x3c7999,'oldShapeJSON':_0x98cd65};return _0x16f931[_0x41775c(0x361)](q['id'],_0x4464f9);}function La(_0x12266e){const _0x103f6a=_0x1e4b59;var _0x57289b,_0x4d449a,_0x24eecb,_0x1c7af2;let _0x3c9a8d=(_0x57289b=(_0x4d449a=_0x12266e[_0x103f6a(0x46c)])==null||(_0x4d449a=_0x4d449a['dataStream'])==null?void 0x0:_0x4d449a[_0x103f6a(0x270)])==null?0x0:_0x57289b,_0x18f866=(_0x24eecb=_0x12266e[_0x103f6a(0x46c)])==null?void 0x0:_0x24eecb[_0x103f6a(0x582)];if(_0x18f866!=null&&_0x18f866[_0x103f6a(0x270)])for(let _0x1d1460 of _0x18f866){var _0x4744d0;_0x1d1460['gridType']=(_0x4744d0=_0x1d1460[_0x103f6a(0x2b3)])==null?_0x2b85c0[_0x103f6a(0x449)]:_0x4744d0;}else _0x12266e['body']&&(_0x12266e['body'][_0x103f6a(0x582)]=[{'startIndex':Math[_0x103f6a(0x4cf)](0x0,_0x3c9a8d-0x1),'gridType':_0x2b85c0[_0x103f6a(0x449)]}]);let _0x3cbcc3=(_0x1c7af2=_0x12266e[_0x103f6a(0x46c)])==null?void 0x0:_0x1c7af2['paragraphs'];if(_0x3cbcc3)for(let _0x178b62 of _0x3cbcc3){var _0x10df34,_0x1bc3a0,_0x169cfb,_0xe5512,_0x599b2b,_0x1f76b5,_0x3da699,_0x279aff;_0x178b62[_0x103f6a(0x4d9)]={..._0x178b62['paragraphStyle'],'lineSpacing':(_0x10df34=(_0x1bc3a0=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0x1bc3a0['lineSpacing'])==null?0x1:_0x10df34,'snapToGrid':(_0x169cfb=(_0xe5512=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0xe5512[_0x103f6a(0x466)])==null?_0x2147b9[_0x103f6a(0x4b4)]:_0x169cfb,'spaceAbove':(_0x599b2b=(_0x1f76b5=_0x178b62[_0x103f6a(0x4d9)])==null?void 0x0:_0x1f76b5[_0x103f6a(0x4ae)])==null?{'v':0x0}:_0x599b2b,'spaceBelow':(_0x3da699=(_0x279aff=_0x178b62['paragraphStyle'])==null?void 0x0:_0x279aff[_0x103f6a(0x341)])==null?{'v':0x0}:_0x3da699};}}function Ra(_0x1516ab){const _0x2e2ed2=_0x1e4b59;let _0x4b4ee1=_0x1516ab[_0x2e2ed2(0x46c)],_0xa7517e=_0x4b4ee1==null?void 0x0:_0x4b4ee1['paragraphs'],_0x4f9266=_0x4b4ee1==null?void 0x0:_0x4b4ee1[_0x2e2ed2(0x317)];if(!_0x4b4ee1||!(_0xa7517e!=null&&_0xa7517e[_0x2e2ed2(0x270)])||!_0x4f9266)return;let _0x3c8859=[];for(let _0x5b5922=0x0;_0x5b5922<_0x4f9266[_0x2e2ed2(0x270)];_0x5b5922++)_0x4f9266[_0x5b5922]==='\x0d'&&_0x3c8859[_0x2e2ed2(0x350)](_0x5b5922);_0x3c8859[_0x2e2ed2(0x270)]===_0xa7517e[_0x2e2ed2(0x270)]&&(_0x4b4ee1['paragraphs']=_0xa7517e[_0x2e2ed2(0x48a)]((_0xf10ca8,_0x57192c)=>({..._0xf10ca8,'startIndex':_0x3c8859[_0x57192c]})));}function za(_0x1ac704,_0x583f56){const _0x4d45dc=_0x1e4b59;var _0x1e764a,_0xc0b0f1,_0x469f77;let {isHorizontal:_0x44154e,textRect:_0x1235be,verticalAlign:_0x19bbf3}=_0x583f56,_0x10e685=_0x44154e?_0x1235be[_0x4d45dc(0x381)]:_0x1235be['height'],_0x3f2817=_0x4809b3[_0x4d45dc(0x54f)](_0x1ac704),_0x29df5d=(_0x1e764a=_0x3f2817[_0x4d45dc(0x52a)])==null?{}:_0x1e764a,_0x5e38f4={..._0x29df5d['renderConfig'],'centerAngle':_0x44154e?0x0:_0x1b8d23,'vertexAngle':_0x44154e?0x0:_0x1b8d23,'wrapStrategy':_0x63018e[_0x4d45dc(0x594)],'zeroWidthParagraphBreak':(_0xc0b0f1=(_0x469f77=_0x29df5d[_0x4d45dc(0x3c4)])==null?void 0x0:_0x469f77['zeroWidthParagraphBreak'])==null?_0x2147b9[_0x4d45dc(0x384)]:_0xc0b0f1};if(_0x19bbf3!==void 0x0&&(_0x5e38f4[_0x4d45dc(0x5c0)]=_0x19bbf3),_0x583f56[_0x4d45dc(0x231)]!==void 0x0){var _0x1dc5b0;_0x5e38f4[_0x4d45dc(0x231)]=_0x583f56[_0x4d45dc(0x231)];let _0x27e01e=(_0x1dc5b0=_0x3f2817['body'])==null?void 0x0:_0x1dc5b0['paragraphs'];if(_0x27e01e){for(let _0xa2a231 of _0x27e01e)_0xa2a231[_0x4d45dc(0x4d9)]||(_0xa2a231[_0x4d45dc(0x4d9)]={}),_0xa2a231[_0x4d45dc(0x4d9)][_0x4d45dc(0x231)]=_0x583f56[_0x4d45dc(0x231)];}}return _0x3f2817[_0x4d45dc(0x52a)]={..._0x29df5d,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x10e685,'height':0x1/0x0},'renderConfig':_0x5e38f4},Ra(_0x3f2817),La(_0x3f2817),_0x3f2817;}var Ba=class extends _0x3596e1{constructor(_0x3f154e,_0x496680){const _0x54fe7a=_0x1e4b59;super(_0x3f154e,_0x496680),G(this,_0x54fe7a(0x399),void 0x0),G(this,_0x54fe7a(0x527),!0x0),G(this,'_drawingType',_0x44ab60[_0x54fe7a(0x526)]),G(this,_0x54fe7a(0x3d4),!0x0),this['_props']={..._0x496680},this['_init']();}[_0x1e4b59(0x51b)](){const _0x2f33ea=_0x1e4b59;this[_0x2f33ea(0x4ea)][_0x2f33ea(0x573)](_0x2b67e7=>{const _0x5a25ba=_0x2f33ea;this[_0x5a25ba(0x5af)](_0x2b67e7);});}['setPrstGeom'](_0xc2accc){const _0x56166b=_0x1e4b59;this[_0x56166b(0x399)]['prstGeom']=_0xc2accc;}[_0x1e4b59(0x537)](_0x43d29b){const _0x3c1ec7=_0x1e4b59;this['_props'][_0x3c1ec7(0x322)]=_0x43d29b,this['makeDirty'](!0x0);}get[_0x1e4b59(0x294)](){const _0x570f24=_0x1e4b59;return this[_0x570f24(0x399)][_0x570f24(0x294)];}get[_0x1e4b59(0x51e)](){const _0x5f24e2=_0x1e4b59;return this[_0x5f24e2(0x399)]['subUnitId'];}[_0x1e4b59(0x5af)](_0x4fb0ab){const _0x31ffbf=_0x1e4b59;if(this[_0x31ffbf(0x399)][_0x31ffbf(0x49c)]==null||!this['_transformCalculateSrcRect'])return;let {width:_0x1c191e,height:_0x4d4a88}=this,{width:_0x3ae358=0x0,height:_0x37570d=0x0}=_0x4fb0ab[_0x31ffbf(0x461)],{left:_0x2338e6=0x0,top:_0x1897cc=0x0,right:_0xc262c9=0x0,bottom:_0x5f0938=0x0}=this[_0x31ffbf(0x399)][_0x31ffbf(0x49c)],_0x196c6b=_0x2338e6,_0x297c9c=_0x1897cc,_0x22bdf9=_0xc262c9,_0x13125e=_0x5f0938,_0xe33f10=!0x1;if(_0x3ae358!==0x0&&_0x3ae358!==_0x1c191e){let _0x2745f3=_0x2338e6/_0x3ae358,_0x11e6b3=_0xc262c9/_0x3ae358;_0x196c6b=_0x1c191e*_0x2745f3,_0x22bdf9=_0x1c191e*_0x11e6b3,_0xe33f10=!0x0;}if(_0x37570d!==0x0&&_0x37570d!==_0x4d4a88){let _0x9582fd=_0x1897cc/_0x37570d,_0x487f79=_0x5f0938/_0x37570d;_0x297c9c=_0x4d4a88*_0x9582fd,_0x13125e=_0x4d4a88*_0x487f79,_0xe33f10=!0x0;}_0xe33f10&&this[_0x31ffbf(0x5c7)]({'left':_0x196c6b,'top':_0x297c9c,'right':_0x22bdf9,'bottom':_0x13125e});}[_0x1e4b59(0x5c7)](_0x71674f){const _0xe92448=_0x1e4b59;this[_0xe92448(0x399)]['srcRect']=_0x71674f,this[_0xe92448(0x44c)](!0x0);}['setFillImage'](_0x9599d7){const _0x3a143a=_0x1e4b59;this[_0x3a143a(0x399)][_0x3a143a(0x2bb)]=_0x9599d7,this[_0x3a143a(0x44c)](!0x0);}set[_0x1e4b59(0x44d)](_0x3b6741){const _0xb8c2a1=_0x1e4b59;this[_0xb8c2a1(0x244)]=_0x3b6741;}get['transform'](){const _0x4580c2=_0x1e4b59;this[_0x4580c2(0x244)]||this[_0x4580c2(0x31c)]();let _0x4ed742=this['_transform'][_0x4580c2(0x5f5)]();return this[_0x4580c2(0x261)](_0x4ed742);}get[_0x1e4b59(0x3bb)](){const _0x5672cc=_0x1e4b59;return this['_props'][_0x5672cc(0x3bb)];}get['shapeId'](){return this['_props']['shapeId'];}get[_0x1e4b59(0x40b)](){const _0x51cf56=_0x1e4b59;return _0x168bd7[_0x51cf56(0x42f)];}[_0x1e4b59(0x21b)](_0x1e4631,_0x324837,_0x2f5be5,_0x2b033c){const _0x3f157e=_0x1e4b59;let _0x3c0b26=this[_0x3f157e(0x399)]['shapeModel'];if(!_0x3c0b26||!_0x324837)return;let _0x562d60=_0x2f5be5==null?this['width']:_0x2f5be5,_0x5d3d5c=_0x2b033c==null?this[_0x3f157e(0x310)]:_0x2b033c,_0xb28502={'shapeType':_0x3c0b26['getShapeType'](),'width':_0x562d60,'height':_0x5d3d5c},_0x3e9fea={'renderMode':_0x11876d[_0x3f157e(0x4a1)],'oKey':this[_0x3f157e(0x2fc)],'image':this['_props'][_0x3f157e(0x2bb)],'angle':this['angle']};_0x3c0b26['updateContext'](_0xb28502),_0x1e4631[_0x3f157e(0x1f7)]();let _0x1287a5={'top':0x0,'left':0x0,'width':_0x562d60,'height':_0x5d3d5c};_0x3c0b26['render'](_0x1e4631,_0x1287a5,_0x3e9fea),_0x1e4631[_0x3f157e(0x3a2)]();let _0x39a96c=_0x3c0b26[_0x3f157e(0x4d2)](),_0x3f9ea7=_0x3c0b26[_0x3f157e(0x229)](_0x1287a5),_0x24c513=_0x3c0b26['isLineShape']();if(_0x39a96c&&_0x3f9ea7&&!_0x24c513){_0x1e4631[_0x3f157e(0x1f7)](),this[_0x3f157e(0x37f)]()['flipX']&&_0x1e4631[_0x3f157e(0x3c7)](-0x1,0x1);let _0x360c17=_0x562d60/0x2,_0x4a4226=_0x5d3d5c/0x2;_0x1e4631[_0x3f157e(0x37a)](-_0x360c17,-_0x4a4226),_0x1e4631[_0x3f157e(0x254)](),this[_0x3f157e(0x47b)](_0x1e4631,_0x39a96c,_0x3f9ea7),_0x1e4631[_0x3f157e(0x3a2)]();}}[_0x1e4b59(0x2bd)](_0x12f61e){}[_0x1e4b59(0x47b)](_0x45112f,_0x301e5f,_0x3d068f){const _0xe36a98=_0x1e4b59;this[_0xe36a98(0x399)][_0xe36a98(0x322)]||(_0xe36a98(0x227)in _0x301e5f&&_0x301e5f[_0xe36a98(0x227)]===!0x1?this['_drawSimpleText'](_0x45112f,_0x301e5f,_0x3d068f):this[_0xe36a98(0x53e)](_0x45112f,_0x301e5f,_0x3d068f));}[_0x1e4b59(0x53b)](_0xe42147,_0xba84,_0x2a8227){}[_0x1e4b59(0x53e)](_0x1542e6,_0x264894,_0x30f945){const _0x17b13d=_0x1e4b59;var _0x5e5694,_0x319e00;let _0x172342=this[_0x17b13d(0x399)][_0x17b13d(0x219)];if(!_0x264894[_0x17b13d(0x3f1)]||!_0x172342)return;let _0x5e3202=_0x264894['dataModel'],_0x3df2ae=_0x5e3202[_0x17b13d(0x39d)],_0x5911a0=(_0x5e5694=_0x5e3202['va'])==null?_0x3e15ec[_0x17b13d(0x2ad)]:_0x5e5694,_0x38977e=(_0x319e00=_0x5e3202['ha'])==null?_0x32f1d8[_0x17b13d(0x45a)]:_0x319e00;if(!_0x3df2ae)return;let _0x2da44d=_0x264894[_0x17b13d(0x59f)],_0x268d1e=new _0x320d15(za(_0x3df2ae,{'isHorizontal':_0x2da44d!==!0x1,'textRect':_0x30f945,'verticalAlign':_0x5911a0,'horizontalAlign':_0x38977e})),_0x2db76b=new _0x398c66(_0x268d1e),_0x2723bd=_0x4f12b1['create'](_0x2db76b,_0x172342);_0x2723bd[_0x17b13d(0x494)]();let _0x5ed5dd=new _0x6d87e6('shape-text-'+this[_0x17b13d(0x2fc)],_0x2723bd,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x5ed5dd[_0x17b13d(0x50f)](_0x30f945[_0x17b13d(0x381)],_0x30f945[_0x17b13d(0x310)]),_0x1542e6[_0x17b13d(0x1f7)](),_0x1542e6['translateWithPrecision'](_0x30f945[_0x17b13d(0x5ec)],_0x30f945[_0x17b13d(0x57b)]),_0x1542e6[_0x17b13d(0x254)](),_0x1542e6[_0x17b13d(0x1f4)](0x0,0x0,_0x30f945[_0x17b13d(0x381)],_0x30f945[_0x17b13d(0x310)]),_0x1542e6['clip'](),_0x5ed5dd[_0x17b13d(0x54a)](_0x1542e6),_0x1542e6[_0x17b13d(0x3a2)](),_0x5ed5dd[_0x17b13d(0x301)](),_0x2723bd['dispose'](),_0x2db76b[_0x17b13d(0x301)](),_0x268d1e[_0x17b13d(0x301)]();}['render'](_0x20ec46,_0x1ec115,_0x1d2007=!0x1){const _0xca5ca7=_0x1e4b59;if(!this[_0xca5ca7(0x4f5)])return this[_0xca5ca7(0x44c)](!0x1),this;let {width:_0x121980,height:_0x3cfef2,left:_0x56fc91,top:_0x266006}=this,_0x5cab4e=this[_0xca5ca7(0x3d1)]();if(_0x121980=_0x5cab4e['width'],_0x3cfef2=_0x5cab4e['height'],_0x56fc91=_0x5cab4e[_0xca5ca7(0x5ec)],_0x266006=_0x5cab4e['top'],this[_0xca5ca7(0x509)](_0x1ec115)){let {top:_0x25ff86,left:_0x15b7c4,bottom:_0x13104e,right:_0x1d42ac}=_0x1ec115[_0xca5ca7(0x491)];if(_0x121980+this['strokeWidth']+_0x56fc91<_0x15b7c4||_0x1d42ac<_0x56fc91||_0x3cfef2+this[_0xca5ca7(0x5bf)]+_0x266006<_0x25ff86||_0x13104e<_0x266006)return this;}let _0x34b655=_0x56fc91+_0x121980/0x2,_0x293f86=_0x266006+_0x3cfef2/0x2,_0x48eeba=this['transform'][_0xca5ca7(0x508)]();if(this[_0xca5ca7(0x399)][_0xca5ca7(0x322)]){let _0x8224f5=this['getState'](),_0x44c8bb=new _0x2a1afe();_0x44c8bb['composeMatrix']({..._0x8224f5}),_0x48eeba=_0x44c8bb[_0xca5ca7(0x508)]();}return _0x20ec46['save'](),this['_props'][_0xca5ca7(0x3bb)][_0xca5ca7(0x3b5)]===!0x0||_0x20ec46[_0xca5ca7(0x44d)](_0x48eeba[0x0],_0x48eeba[0x1],_0x48eeba[0x2],_0x48eeba[0x3],_0x34b655,_0x293f86),this[_0xca5ca7(0x21b)](_0x20ec46,_0x1ec115,_0x121980,_0x3cfef2),_0x20ec46[_0xca5ca7(0x3a2)](),this[_0xca5ca7(0x44c)](!0x1),this;}['getInverseCoord'](_0x3fc7fc){const _0x14bdfa=_0x1e4b59;let {left:_0x3c1d39,top:_0x49e7a2,width:_0x496a1c,height:_0x5b0e92}=this['getRealBound'](),_0x2ebef6=this[_0x14bdfa(0x44d)][_0x14bdfa(0x508)](),_0x78761b=_0x3c1d39+_0x496a1c/0x2,_0x1738f1=_0x49e7a2+_0x5b0e92/0x2,_0x2a7810=new _0x2a1afe([_0x2ebef6[0x0],_0x2ebef6[0x1],_0x2ebef6[0x2],_0x2ebef6[0x3],_0x78761b,_0x1738f1]),_0x55337d=this[_0x14bdfa(0x54e)]();return(this[_0x14bdfa(0x391)]&&(_0x55337d==null?void 0x0:_0x55337d[_0x14bdfa(0x40b)])===_0x168bd7['GROUP']?_0x55337d[_0x14bdfa(0x32f)][_0x14bdfa(0x3f6)](_0x2a7810):_0x2a7810)[_0x14bdfa(0x206)]()['applyPoint'](_0x3fc7fc);}['isHit'](_0x47eb49){const _0x2e8b05=_0x1e4b59;let {left:_0x1d8b5d,top:_0x5bb905,width:_0x2c8be4,height:_0x20a31b}=this[_0x2e8b05(0x3d1)](),_0x223c5d=_0x1d8b5d+_0x2c8be4/0x2,_0x1adc38=_0x5bb905+_0x20a31b/0x2,_0xf2d478=this[_0x2e8b05(0x44d)][_0x2e8b05(0x508)](),_0x8a55=new _0x2a1afe([_0xf2d478[0x0],_0xf2d478[0x1],_0xf2d478[0x2],_0xf2d478[0x3],_0x223c5d,_0x1adc38]),_0x3b6fec=this[_0x2e8b05(0x54e)](),_0x2833a7=(this[_0x2e8b05(0x391)]&&(_0x3b6fec==null?void 0x0:_0x3b6fec[_0x2e8b05(0x40b)])===_0x168bd7[_0x2e8b05(0x21d)]?_0x3b6fec[_0x2e8b05(0x32f)]['multiply'](_0x8a55):_0x8a55)[_0x2e8b05(0x206)]()[_0x2e8b05(0x425)](_0x47eb49),_0x4a5d18=_0x2c8be4/0x2,_0x2dd674=_0x20a31b/0x2,_0x1e2617=this[_0x2e8b05(0x399)][_0x2e8b05(0x3bb)];return _0x1e2617&&_0x1e2617[_0x2e8b05(0x561)]()?_0x1e2617[_0x2e8b05(0x443)](_0x2833a7['x'],_0x2833a7['y'],_0x2c8be4,_0x20a31b):_0x2833a7['x']>=-_0x4a5d18-this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['x']<=_0x4a5d18+this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['y']>=-_0x2dd674-this[_0x2e8b05(0x5bf)]/0x2&&_0x2833a7['y']<=_0x2dd674+this[_0x2e8b05(0x5bf)]/0x2;}['dispose'](){const _0x5734c4=_0x1e4b59;this[_0x5734c4(0x399)][_0x5734c4(0x3bb)]=null,super[_0x5734c4(0x301)]();}},Va=class extends _0x3596e1{constructor(_0x936df7,_0x36b81b){const _0x59e3c7=_0x1e4b59;super(_0x936df7,_0x36b81b),G(this,_0x59e3c7(0x412),null),G(this,_0x59e3c7(0x523),null),G(this,'_unitId',null),G(this,_0x59e3c7(0x2d9),null),_0x36b81b&&this[_0x59e3c7(0x217)](_0x36b81b);}[_0x1e4b59(0x2ed)](){const _0x4ed726=_0x1e4b59;return{'unitId':this[_0x4ed726(0x289)],'subUnitId':this[_0x4ed726(0x2d9)],'drawingId':this[_0x4ed726(0x412)]};}[_0x1e4b59(0x217)](_0x5b67a1){const _0x2f0dd9=_0x1e4b59;_0x5b67a1[_0x2f0dd9(0x543)]!==void 0x0&&(this[_0x2f0dd9(0x412)]=_0x5b67a1['shapeId']),_0x5b67a1['adjName']!==void 0x0&&(this[_0x2f0dd9(0x523)]=_0x5b67a1['adjName']),_0x5b67a1['unitId']!==void 0x0&&(this['_unitId']=_0x5b67a1[_0x2f0dd9(0x294)]),_0x5b67a1['subUnitId']!==void 0x0&&(this[_0x2f0dd9(0x2d9)]=_0x5b67a1['subUnitId']),this[_0x2f0dd9(0x2a1)]({'width':_0x5b67a1[_0x2f0dd9(0x381)],'height':_0x5b67a1[_0x2f0dd9(0x310)]});}['_draw'](_0x15a1a3){const _0x43cb18=_0x1e4b59;_0x2d28b6['drawWith'](_0x15a1a3,{'radius':_0xf02888[_0x43cb18(0x535)],'fill':_0xf02888[_0x43cb18(0x574)],'stroke':_0xf02888[_0x43cb18(0x498)],'strokeWidth':0x1,'evented':!0x0});}};function Y(_0x2780db,_0x2d1d61){return function(_0x3b4bc0,_0x5858ce){_0x2d1d61(_0x3b4bc0,_0x5858ce,_0x2780db);};}function X(_0x5ca68d,_0x2b4314,_0x1031fa,_0x41e051){const _0x47f383=_0x1e4b59;var _0x47611c=arguments[_0x47f383(0x270)],_0x1642f5=_0x47611c<0x3?_0x2b4314:_0x41e051===null?_0x41e051=Object[_0x47f383(0x321)](_0x2b4314,_0x1031fa):_0x41e051,_0x2390f2;if(typeof Reflect=='object'&&typeof Reflect[_0x47f383(0x5b4)]==_0x47f383(0x3ae))_0x1642f5=Reflect['decorate'](_0x5ca68d,_0x2b4314,_0x1031fa,_0x41e051);else{for(var _0x148fb0=_0x5ca68d[_0x47f383(0x270)]-0x1;_0x148fb0>=0x0;_0x148fb0--)(_0x2390f2=_0x5ca68d[_0x148fb0])&&(_0x1642f5=(_0x47611c<0x3?_0x2390f2(_0x1642f5):_0x47611c>0x3?_0x2390f2(_0x2b4314,_0x1031fa,_0x1642f5):_0x2390f2(_0x2b4314,_0x1031fa))||_0x1642f5);}return _0x47611c>0x3&&_0x1642f5&&Object[_0x47f383(0x393)](_0x2b4314,_0x1031fa,_0x1642f5),_0x1642f5;}let Z=class extends _0x2d969b{constructor(_0x235743,_0x1d91cc,_0x14f023,_0x35a88d,_0x1b07b9){const _0x409657=_0x1e4b59;super(),this[_0x409657(0x557)]=_0x235743,this['_sheetsShapeService']=_0x1d91cc,this['_localeService']=_0x14f023,this[_0x409657(0x316)]=_0x35a88d,this[_0x409657(0x424)]=_0x1b07b9;}[_0x1e4b59(0x5ae)](_0x2b97d6,_0x30ebe3){const _0x2d6e8a=_0x1e4b59;let {transform:_0x158351,drawingType:_0x1a882f,srcRect:_0x39d70b,prstGeom:_0xa8f129,groupId:_0x14c7db,unitId:_0x6dff7a,subUnitId:_0x509b52,drawingId:_0x445457,isMultiTransform:_0x3cb1ad,transforms:_0x2b0220,hidden:_0x19add1}=_0x2b97d6;if(_0x1a882f!==_0x44ab60[_0x2d6e8a(0x526)]||!this[_0x2d6e8a(0x557)][_0x2d6e8a(0x41f)]()||_0x158351==null)return;let _0x5bf939=_0x3cb1ad&&_0x2b0220?_0x2b0220:[_0x158351],_0x12749a=[];for(let _0x33a2fc of _0x5bf939){let {left:_0x346ab5,top:_0x53c462,width:_0x4f7064,height:_0x22bcd8,angle:_0x496fda,flipX:_0x367048,flipY:_0x57dcc5,skewX:_0x1e994a,skewY:_0x2475fe}=_0x33a2fc,_0x3a1ecb=_0x5bf939[_0x2d6e8a(0x40e)](_0x33a2fc),_0x32326d=_0x79bce2({'unitId':_0x6dff7a,'subUnitId':_0x509b52,'drawingId':_0x445457},_0x3cb1ad?_0x3a1ecb:void 0x0),_0x1f7419=_0x30ebe3['getObjectIncludeInGroup'](_0x32326d);if(_0x1f7419!=null){_0x1f7419['transformByState']({'left':_0x346ab5,'top':_0x53c462,'width':_0x4f7064,'height':_0x22bcd8,'angle':_0x496fda,'flipX':_0x367048,'flipY':_0x57dcc5,'skewX':_0x1e994a,'skewY':_0x2475fe});continue;}let _0x39084a=this[_0x2d6e8a(0x557)][_0x2d6e8a(0x29c)](_0x6dff7a,_0x509b52),_0x53431a=_0x39084a[_0x2d6e8a(0x40e)](_0x445457);if(_0x30ebe3[_0x2d6e8a(0x4c0)](_0x32326d)||!this[_0x2d6e8a(0x557)][_0x2d6e8a(0x41f)]())continue;let _0x5549f8=this[_0x2d6e8a(0x593)][_0x2d6e8a(0x58f)](_0x6dff7a,_0x509b52,_0x445457);if(!_0x5549f8)continue;let _0x4d7cba=new Ba(_0x32326d,{..._0x241b3b(_0x5549f8[_0x2d6e8a(0x3e4)]())?{..._0x33a2fc,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x33a2fc},'zIndex':_0x53431a===-0x1?_0x39084a[_0x2d6e8a(0x270)]-0x1:_0x53431a,'shapeModel':_0x5549f8,'localeService':this[_0x2d6e8a(0x4a7)],'shapeId':_0x445457,'unitId':_0x6dff7a,'subUnitId':_0x509b52,'visible':_0x19add1!==!0x0});_0x30ebe3[_0x2d6e8a(0x5f6)](_0x4d7cba,_0x11e46b),this[_0x2d6e8a(0x557)][_0x2d6e8a(0x2c7)]()&&_0x30ebe3['attachTransformerTo'](_0x4d7cba),_0x14c7db&&_0x50426c({'drawingId':_0x14c7db,'unitId':_0x6dff7a,'subUnitId':_0x509b52},_0x4d7cba,_0x30ebe3,this[_0x2d6e8a(0x557)]),_0xa8f129!=null&&_0x4d7cba[_0x2d6e8a(0x218)](_0xa8f129),_0x39d70b!=null&&_0x4d7cba['setSrcRect'](_0x39d70b),this[_0x2d6e8a(0x258)](_0x4d7cba,_0x5549f8[_0x2d6e8a(0x3b6)]()),_0x12749a['push'](_0x4d7cba);}return _0x12749a;}['_loadShapePictureFill'](_0x4cd039,_0xa286f7){const _0x1905a3=_0x1e4b59;var _0x310f1a;let _0x129c5c=_0xa286f7[_0x1905a3(0x3b1)];if(!_0x129c5c||_0x129c5c[_0x1905a3(0x566)]!==_0x355fa8[_0x1905a3(0x51f)]||!_0x129c5c[_0x1905a3(0x4c2)])return;let _0x34463f=_0x129c5c[_0x1905a3(0x4c2)],_0xd07d00=(_0x310f1a=_0x129c5c[_0x1905a3(0x3be)])==null?_0x1605f8[_0x1905a3(0x510)]:_0x310f1a,_0x2b2b3c=this['_imageIoService'][_0x1905a3(0x4f0)](_0x34463f,_0xd07d00);if(_0x2b2b3c){_0x4cd039['setFillImage'](_0x2b2b3c);return;}this[_0x1905a3(0x35c)](_0x4cd039,_0x34463f,_0xd07d00);}async[_0x1e4b59(0x35c)](_0x298cd3,_0x52b342,_0x394ae7){const _0x44a3c2=_0x1e4b59;let _0x37e698;try{if(_0x394ae7===_0x1605f8['UUID'])_0x37e698=await this[_0x44a3c2(0x316)][_0x44a3c2(0x5f3)](_0x52b342);else{if(_0x394ae7===_0x1605f8['URL'])try{_0x37e698=await this[_0x44a3c2(0x424)][_0x44a3c2(0x5f3)](_0x52b342);}catch{_0x37e698=_0x52b342;}else _0x37e698=_0x52b342;}}catch(_0x346464){console['error'](_0x44a3c2(0x540),_0x346464);return;}let _0x15311a=new window['Image']();_0x15311a[_0x44a3c2(0x4dd)]=()=>{const _0x554ebd=_0x44a3c2;this['_imageIoService'][_0x554ebd(0x282)](_0x52b342,_0x394ae7,_0x15311a),_0x298cd3[_0x554ebd(0x352)](_0x15311a);},_0x15311a['onerror']=()=>{const _0x5a51a6=_0x44a3c2;console[_0x5a51a6(0x55f)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x52b342);},_0x15311a[_0x44a3c2(0x4cd)]=_0x37e698;}};Z=X([Y(0x0,_0xd6b9bd),Y(0x1,_0x49bdac(_0x114e41)),Y(0x2,_0x49bdac(_0x10276c)),Y(0x3,_0x56938d),Y(0x4,_0x15bb02)],Z);let Ha=class extends _0x2d969b{constructor(_0x47e83c,_0x5ce494,_0x241626,_0x18b757,_0x5b8832,_0x50dd9f,_0xd206b7,_0x4c3801){const _0x5af618=_0x1e4b59;super(),this[_0x5af618(0x30c)]=_0x47e83c,this[_0x5af618(0x5ed)]=_0x5ce494,this[_0x5af618(0x557)]=_0x241626,this['_sheetsShapeService']=_0x18b757,this['_renderManagerService']=_0x5b8832,this[_0x5af618(0x5d2)]=_0x50dd9f,this[_0x5af618(0x204)]=_0xd206b7,this['_commandService']=_0x4c3801,G(this,_0x5af618(0x4a2),null),G(this,'_unitId',null),G(this,_0x5af618(0x2d9),null),G(this,_0x5af618(0x471),void 0x0),G(this,'_shapes',[]),G(this,_0x5af618(0x263),0x0),G(this,_0x5af618(0x511),0x0),G(this,_0x5af618(0x485),0x0),G(this,_0x5af618(0x408),0x0),G(this,_0x5af618(0x564),!0x1),G(this,_0x5af618(0x25e),void 0x0),G(this,_0x5af618(0x5c9),void 0x0),G(this,_0x5af618(0x5dd),void 0x0),G(this,'_adjHandlerPointerUp',void 0x0),G(this,_0x5af618(0x272),!0x1),this[_0x5af618(0x28f)](),this[_0x5af618(0x3d0)]();}[_0x1e4b59(0x3a5)](_0x564471,_0x537ed6,_0x4e3a79){const _0x266b5e=_0x1e4b59;let _0x4ce0a4=this[_0x266b5e(0x593)]['getShapeModel'](_0x564471,_0x537ed6,_0x4e3a79);if(_0x4ce0a4)return _0x4ce0a4[_0x266b5e(0x2bd)]();}[_0x1e4b59(0x547)](){this['_clearShapeAdjustControls']();}[_0x1e4b59(0x5f4)](){const _0x3b7e0b=_0x1e4b59;this[_0x3b7e0b(0x5c2)](!0x0);}['setShouldShowAdjust'](_0x3e8fc5){const _0x5f1c57=_0x1e4b59;this[_0x5f1c57(0x272)]=_0x3e8fc5;}[_0x1e4b59(0x47c)](_0x588e7b,_0x58e713,_0x926e1a,_0x2ac779){const _0x4a3761=_0x1e4b59;let _0x588160=this[_0x4a3761(0x593)][_0x4a3761(0x58f)](_0x588e7b,_0x58e713,_0x926e1a);if(_0x588160)return _0x588160['getAdjustInfoByName'](_0x2ac779);}[_0x1e4b59(0x4b1)](_0x38e852=!0x1){const _0x26acf6=_0x1e4b59;if(this[_0x26acf6(0x289)]===null||this[_0x26acf6(0x2d9)]===null||this[_0x26acf6(0x4a2)]===null)return;let _0x82fffa=this[_0x26acf6(0x1f0)]['getRenderById'](this['_unitId']);if(!_0x82fffa||!_0x82fffa[_0x26acf6(0x22c)](_0x3da40f)[_0x26acf6(0x300)]())return;let {scene:_0x872b7c}=_0x82fffa,_0x5c7497={'unitId':this['_unitId'],'subUnitId':this[_0x26acf6(0x2d9)],'drawingId':this['_activeShapeId']},_0x25461f=this['_drawingManagerService'][_0x26acf6(0x329)](_0x5c7497),{transform:_0x450a3d}=_0x25461f;if(!_0x450a3d||_0x25461f[_0x26acf6(0x356)]!==_0x44ab60[_0x26acf6(0x526)])return;let {left:_0x5bdccc,top:_0x158e4b,width:_0x9947c1,height:_0x1df5f3,flipX:_0x3a5498,flipY:_0x1c412c,angle:_0x15acca=0x0}=_0x450a3d;if(_0x5bdccc===void 0x0||_0x158e4b===void 0x0)return;_0x38e852&&(this[_0x26acf6(0x471)]=this[_0x26acf6(0x3a5)](this[_0x26acf6(0x289)],this[_0x26acf6(0x2d9)],this[_0x26acf6(0x4a2)]));let _0x443693=this['_activeShapeAdjustPointList'];for(let _0x3200a0=0x0;_0x3200a0<_0x443693[_0x26acf6(0x270)];_0x3200a0++){let _0x35dfb8=_0x443693[_0x3200a0],_0x4f36a1=_0x35dfb8['x'],_0x2a1697=_0x35dfb8['y'];if(_0x3a5498&&(_0x4f36a1=(_0x9947c1||0x0)-_0x4f36a1),_0x1c412c&&(_0x2a1697=(_0x1df5f3||0x0)-_0x2a1697),_0x15acca!==0x0){let _0x13715e=(_0x9947c1||0x0)/0x2,_0x5cfdaf=(_0x1df5f3||0x0)/0x2,_0x1f18c7=_0x15acca*Math['PI']/0xb4,_0x534239=Math[_0x26acf6(0x33d)](_0x1f18c7),_0x51b307=Math[_0x26acf6(0x34d)](_0x1f18c7),_0x135630=_0x4f36a1-_0x13715e,_0x2dcfb0=_0x2a1697-_0x5cfdaf;_0x4f36a1=_0x13715e+(_0x135630*_0x534239-_0x2dcfb0*_0x51b307),_0x2a1697=_0x5cfdaf+(_0x135630*_0x51b307+_0x2dcfb0*_0x534239);}let _0x46898d={'x':_0x4f36a1,'y':_0x2a1697,'adjName':_0x35dfb8[_0x26acf6(0x23c)]};this[_0x26acf6(0x5ee)](_0x872b7c,_0x46898d,_0x46898d[_0x26acf6(0x23c)],_0x5bdccc,_0x158e4b,this[_0x26acf6(0x289)],this[_0x26acf6(0x2d9)]);}}[_0x1e4b59(0x5c2)](_0x524166=!0x1){const _0x1d4489=_0x1e4b59;_0x524166&&(this[_0x1d4489(0x5b9)](),this[_0x1d4489(0x4b1)](_0x524166));}['_addShapeAdjustControl'](_0x5d7ae9,_0x5c214f,_0x236d58,_0x19a920,_0x2d9665,_0x22c535,_0x468fcc){const _0x1ff392=_0x1e4b59;if(!this[_0x1ff392(0x4a2)])return;let _0x32baa3=_0x5d7ae9[_0x1ff392(0x4c0)](_0x1ff392(0x4c8)+this[_0x1ff392(0x4a2)]+'-'+_0x236d58);if(_0x32baa3){_0x32baa3[_0x1ff392(0x2a1)]({'left':_0x5c214f['x']+_0x19a920-_0xf02888['adjHandleSize'],'top':_0x5c214f['y']+_0x2d9665-_0xf02888['adjHandleSize']});return;}let _0x4d6978={'left':_0x5c214f['x']+_0x19a920-_0xf02888[_0x1ff392(0x535)],'top':_0x5c214f['y']+_0x2d9665-_0xf02888[_0x1ff392(0x535)],'adjName':_0x236d58,'shapeId':this['_activeShapeId'],'unitId':_0x22c535,'subUnitId':_0x468fcc,'width':_0xf02888['adjHandleSize']+0x8,'height':_0xf02888['adjHandleSize']+0x8,'zIndex':_0x11e46b+0x1,'evented':!0x0},_0xfcdeea=new Va(_0x1ff392(0x4c8)+this['_activeShapeId']+'-'+_0x236d58,_0x4d6978);this[_0x1ff392(0x4a6)]['push'](_0xfcdeea),this[_0x1ff392(0x2be)](_0xfcdeea,_0x5d7ae9,_0x236d58),_0x5d7ae9['addObject'](_0xfcdeea,_0x11e46b+0x1);}[_0x1e4b59(0x5b9)](){const _0x4ba79a=_0x1e4b59;this[_0x4ba79a(0x4a6)][_0x4ba79a(0x270)]!==0x0&&(this[_0x4ba79a(0x4a6)]['forEach'](_0x28e30f=>{const _0x3e3308=_0x4ba79a;_0x28e30f[_0x3e3308(0x301)]();}),this[_0x4ba79a(0x4a6)]=[]);}[_0x1e4b59(0x2e4)](){const _0x1054ee=_0x1e4b59;this[_0x1054ee(0x4b1)]();}[_0x1e4b59(0x52e)](_0x4f80ba,_0xe5e7f2){const _0x1cf439=_0x1e4b59;var _0x522965;let _0x4e9d27={'x':0x0,'y':0x0};if(!_0x4f80ba||!_0xe5e7f2)return _0x4e9d27;let _0x3fe17c=this[_0x1cf439(0x1f0)][_0x1cf439(0x2f6)](_0x4f80ba);if(!_0x3fe17c||!_0x3fe17c[_0x1cf439(0x22c)](_0x3da40f)['getSkeleton'](_0xe5e7f2))return _0x4e9d27;let _0x35e97a=_0x3fe17c[_0x1cf439(0x22c)](_0x3a611d),_0x200b0e=_0x35e97a==null?void 0x0:_0x35e97a[_0x1cf439(0x576)]();if(!_0x200b0e)return _0x4e9d27;let _0x4e9b53=(_0x522965=this[_0x1cf439(0x204)][_0x1cf439(0x551)](_0x4f80ba))==null?void 0x0:_0x522965[_0x1cf439(0x1f3)](_0xe5e7f2);if(!_0x4e9b53)return _0x4e9d27;let _0xa6b236=_0x30fe0a(_0x200b0e['sheetViewStartRow'],_0x200b0e[_0x1cf439(0x33b)],_0x3fe17c['scene'],_0x4e9b53);return _0xa6b236?{'x':_0xa6b236['viewportScrollX'],'y':_0xa6b236[_0x1cf439(0x2ef)]}:_0x4e9d27;}[_0x1e4b59(0x394)](_0x1f2cd9,_0x289ea1){const _0x352ff2=_0x1e4b59;var _0x15c864,_0x4a7a79;let _0xcdaadf=(_0x15c864=this[_0x352ff2(0x204)][_0x352ff2(0x551)](_0x1f2cd9))==null?void 0x0:_0x15c864[_0x352ff2(0x1f3)](_0x289ea1);return(_0x4a7a79=_0xcdaadf==null?void 0x0:_0xcdaadf[_0x352ff2(0x366)]())==null?0x1:_0x4a7a79;}[_0x1e4b59(0x2be)](_0x4bd04b,_0x4217cb,_0x110b42){const _0x28ab88=_0x1e4b59;this[_0x28ab88(0x502)](_0x38994f(_0x4bd04b[_0x28ab88(0x5ca)][_0x28ab88(0x573)]((_0x4197fb,_0xbbf77f)=>{const _0x39d0cb=_0x28ab88;var _0x2487c3,_0x4df26a,_0x929ab9,_0x4ddd35;let _0x15fbb4=_0x4bd04b['getDrawingSearch']();this['_activeAdjustInfo']=this[_0x39d0cb(0x47c)](_0x15fbb4[_0x39d0cb(0x294)],_0x15fbb4[_0x39d0cb(0x51e)],_0x15fbb4[_0x39d0cb(0x23e)],_0x110b42),this['_activeShapeModel']=this['_sheetsShapeService'][_0x39d0cb(0x58f)](_0x15fbb4[_0x39d0cb(0x294)],_0x15fbb4[_0x39d0cb(0x51e)],_0x15fbb4[_0x39d0cb(0x23e)]);let _0x244d9a=this[_0x39d0cb(0x557)][_0x39d0cb(0x329)]({'unitId':this['_unitId'],'subUnitId':this[_0x39d0cb(0x2d9)],'drawingId':this['_activeShapeId']}),{transform:_0x1b009a}=_0x244d9a;if(_0x1b009a){let {left:_0x1a6bd2,top:_0x473ee1,width:_0x4d33ff,height:_0x1e5be3}=_0x1b009a;this[_0x39d0cb(0x263)]=_0x1a6bd2||0x0,this['_baseShapeTop']=_0x473ee1||0x0,this['_baseShapeWidth']=_0x4d33ff||0x0,this[_0x39d0cb(0x408)]=_0x1e5be3||0x0;}let _0x54b2a1=!!((_0x2487c3=_0x244d9a[_0x39d0cb(0x44d)])!=null&&_0x2487c3[_0x39d0cb(0x2bf)]),_0x58239d=!!((_0x4df26a=_0x244d9a[_0x39d0cb(0x44d)])!=null&&_0x4df26a['flipY']),_0x4f7063=((_0x929ab9=_0x244d9a['transform'])==null?void 0x0:_0x929ab9[_0x39d0cb(0x452)])||0x0;this[_0x39d0cb(0x564)]=!0x0,_0x4217cb['disableObjectsEvent']();let _0x1dae3f=(_0x4ddd35=this['_activeShapeModel'])==null?void 0x0:_0x4ddd35[_0x39d0cb(0x5e8)](_0x110b42),_0x1b4f02={[_0x110b42]:_0x1dae3f};this['_adjHandlerPointerMove']=_0x4217cb[_0x39d0cb(0x5e2)][_0x39d0cb(0x573)]((_0x6ce15b,_0x3325ff)=>{const _0x446881=_0x39d0cb;if(!this[_0x446881(0x564)])return;let {offsetX:_0x5429c7,offsetY:_0x5ac437}=_0x6ce15b,_0x3f3843=this[_0x446881(0x25e)];if(this[_0x446881(0x5c9)]&&_0x3f3843){_0x4217cb['disableObjectsEvent'](),_0x4217cb[_0x446881(0x49d)](_0x3f8d29[_0x446881(0x4bb)]);let _0x557fa9={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x446881(0x408)]},_0x12749d=this[_0x446881(0x52e)](this['_unitId'],this[_0x446881(0x2d9)]),_0x2c94f9=this[_0x446881(0x394)](this[_0x446881(0x289)],this[_0x446881(0x2d9)]),_0x1d1d01=_0x5429c7/_0x2c94f9+_0x12749d['x']-this[_0x446881(0x263)],_0x189f2c=_0x5ac437/_0x2c94f9+_0x12749d['y']-this[_0x446881(0x511)];if(_0x4f7063!==0x0){let _0x1485ca=this[_0x446881(0x485)]/0x2,_0x526d0c=this[_0x446881(0x408)]/0x2,_0x133a55=_0x4f7063*Math['PI']/0xb4,_0x5c3bef=Math['cos'](_0x133a55),_0x227d7a=Math[_0x446881(0x34d)](_0x133a55),_0x5c3213=_0x1d1d01-_0x1485ca,_0x589180=_0x189f2c-_0x526d0c;_0x1d1d01=_0x1485ca+(_0x5c3213*_0x5c3bef+_0x589180*_0x227d7a),_0x189f2c=_0x526d0c+(-_0x5c3213*_0x227d7a+_0x589180*_0x5c3bef);}_0x54b2a1&&(_0x1d1d01=this[_0x446881(0x485)]-_0x1d1d01),_0x58239d&&(_0x189f2c=this['_baseShapeHeight']-_0x189f2c);let _0x23faed={'x':_0x1d1d01,'y':_0x189f2c},_0x5c2385=this[_0x446881(0x5c9)][_0x446881(0x2fe)](_0x557fa9,_0x23faed,_0x3f3843,_0x54b2a1,_0x58239d),_0x37b31f=_0x3f3843[_0x446881(0x445)]||_0x3f3843['gdRefY']||_0x3f3843[_0x446881(0x598)]||_0x3f3843[_0x446881(0x3e2)];if(_0x37b31f===void 0x0)return;this[_0x446881(0x5c9)][_0x446881(0x522)](_0x37b31f,_0x5c2385);let _0x2c2685=this[_0x446881(0x557)][_0x446881(0x329)]({'unitId':_0x15fbb4[_0x446881(0x294)],'subUnitId':_0x15fbb4[_0x446881(0x51e)],'drawingId':_0x15fbb4[_0x446881(0x23e)]});_0x2c2685&&(this[_0x446881(0x5d2)]['renderDrawingShape'](_0x2c2685,_0x4217cb),this[_0x446881(0x471)]=this['_getShapeAdjustPointListById'](_0x15fbb4[_0x446881(0x294)],_0x15fbb4['subUnitId'],_0x15fbb4['drawingId']),this[_0x446881(0x2e4)]());}_0x3325ff['stopPropagation']();}),this['_adjHandlerPointerUp']=_0x4217cb['onPointerUp$'][_0x39d0cb(0x573)]((_0x1f0a07,_0xbacc25)=>{const _0x5f2ec4=_0x39d0cb;this[_0x5f2ec4(0x5dd)][_0x5f2ec4(0x4ac)](),this['_adjHandlerPointerUp'][_0x5f2ec4(0x4ac)](),_0x4217cb[_0x5f2ec4(0x474)]();let _0x202dcc=this[_0x5f2ec4(0x25e)];if(_0x202dcc){let _0x54f4fb=_0x15fbb4[_0x5f2ec4(0x294)],_0x317cd0=_0x15fbb4['subUnitId'],_0x106cbf=_0x15fbb4[_0x5f2ec4(0x23e)],_0x20b294=_0x202dcc['gdRefX']||_0x202dcc['gdRefY']||_0x202dcc['gdRefAng']||_0x202dcc[_0x5f2ec4(0x3e2)];if(_0x20b294!==void 0x0){var _0x19ec26;let _0x81606f=(_0x19ec26=this['_activeShapeModel'])==null?void 0x0:_0x19ec26[_0x5f2ec4(0x5e8)](_0x20b294);_0x81606f!==void 0x0&&Fa(this[_0x5f2ec4(0x43e)],_0x54f4fb,_0x317cd0,_0x106cbf,{'oldShapeData':{'adjustValues':_0x1b4f02}},{'adjustValues':{[_0x20b294]:_0x81606f}});}}this[_0x5f2ec4(0x25e)]=void 0x0,this[_0x5f2ec4(0x5c9)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xbacc25[_0x5f2ec4(0x288)](),_0x4217cb[_0x5f2ec4(0x2a5)]();}),_0xbbf77f['stopPropagation']();})));}[_0x1e4b59(0x3d0)](){const _0x54f1dc=_0x1e4b59;let _0x2a5f23=this[_0x54f1dc(0x204)][_0x54f1dc(0x3c0)](_0x45bf6b['UNIVER_SHEET']);this[_0x54f1dc(0x502)](_0x2a5f23['pipe'](_0x4ee608(_0x3b6d8a=>_0x3b6d8a?_0x3b6d8a[_0x54f1dc(0x4b5)]['pipe'](_0x4ee608(_0x2ee4b1=>{const _0x3a9119=_0x54f1dc;if(!_0x2ee4b1)return _0x35918a;let _0x13b1cd=_0x3b6d8a['getUnitId'](),_0x5868f0=this[_0x3a9119(0x1f0)][_0x3a9119(0x2f6)](_0x13b1cd),_0x5199e6=_0x5868f0==null?void 0x0:_0x5868f0['scene'];return _0x5199e6?_0x2b1548(_0x5199e6):_0x35918a;})):_0x35918a))[_0x54f1dc(0x4da)](_0x190a41=>{const _0x30d6d7=_0x54f1dc;let _0x19e477=_0x190a41['getTransformerByCreate']();this[_0x30d6d7(0x502)](_0x190a41['onPointerMove$'][_0x30d6d7(0x573)](()=>{const _0x2e5b77=_0x30d6d7;this[_0x2e5b77(0x272)];})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x203)][_0x30d6d7(0x4da)](_0x49dc5b=>{const _0x147f30=_0x30d6d7;let {objects:_0x1564b6}=_0x49dc5b;this[_0x147f30(0x4b1)](),_0x1564b6!==null&&_0x1564b6['size']===0x1&&_0x1564b6[_0x147f30(0x536)]()[_0x147f30(0x3af)]()[_0x147f30(0x35e)]instanceof Ba&&this[_0x147f30(0x323)](!0x0);})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x2d8)]['subscribe'](()=>{const _0x44a1e0=_0x30d6d7;this[_0x44a1e0(0x272)]&&this[_0x44a1e0(0x5b9)]();})),this[_0x30d6d7(0x502)](_0x190a41[_0x30d6d7(0x2de)]['subscribeEvent'](()=>{const _0x1e4ac2=_0x30d6d7;this[_0x1e4ac2(0x272)]&&(this[_0x1e4ac2(0x323)](!0x1),this[_0x1e4ac2(0x4b1)]());})),this[_0x30d6d7(0x502)](_0x19e477[_0x30d6d7(0x33a)][_0x30d6d7(0x4da)](()=>{const _0x231a77=_0x30d6d7;this['_unitId']&&this['_subUnitId']&&this[_0x231a77(0x4a2)]&&this[_0x231a77(0x557)]['getDrawingByParam']({'unitId':this[_0x231a77(0x289)],'subUnitId':this[_0x231a77(0x2d9)],'drawingId':this[_0x231a77(0x4a2)]})&&(this[_0x231a77(0x471)]=this[_0x231a77(0x3a5)](this[_0x231a77(0x289)],this[_0x231a77(0x2d9)],this[_0x231a77(0x4a2)]),this[_0x231a77(0x2e4)]());}));}));}[_0x1e4b59(0x28f)](){const _0x219334=_0x1e4b59;this[_0x219334(0x502)](this[_0x219334(0x557)][_0x219334(0x291)][_0x219334(0x4da)](_0x2798df=>{const _0x2e17a0=_0x219334;if(_0x2798df[_0x2e17a0(0x270)]===0x1){let _0x6cb971=_0x2798df[0x0];if(_0x6cb971[_0x2e17a0(0x356)]===_0x44ab60['DRAWING_SHAPE']){this[_0x2e17a0(0x4a2)]=_0x6cb971[_0x2e17a0(0x23e)];let {unitId:_0x43d7ec,subUnitId:_0x23c433}=_0x6cb971;this['_activeShapeAdjustPointList']=this[_0x2e17a0(0x3a5)](_0x43d7ec,_0x23c433,this['_activeShapeId']),this['_unitId']=_0x43d7ec,this[_0x2e17a0(0x2d9)]=_0x23c433,this[_0x2e17a0(0x5b9)](),this[_0x2e17a0(0x4b1)]();}else this[_0x2e17a0(0x4a2)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x2e17a0(0x289)]=null,this[_0x2e17a0(0x2d9)]=null,this[_0x2e17a0(0x5b9)]();}(_0x2798df[_0x2e17a0(0x270)]>0x1||_0x2798df['length']===0x0)&&(this['_activeShapeId']=null,this[_0x2e17a0(0x471)]=void 0x0,this[_0x2e17a0(0x289)]=null,this[_0x2e17a0(0x2d9)]=null,this[_0x2e17a0(0x5b9)]());})),this[_0x219334(0x502)](this[_0x219334(0x557)][_0x219334(0x2eb)][_0x219334(0x4da)](_0xa31f8d=>{const _0x2c62ea=_0x219334;if(_0xa31f8d[_0x2c62ea(0x270)]===0x1){var _0x17c380;let _0x11206f=_0xa31f8d[0x0];((_0x17c380=this[_0x2c62ea(0x557)][_0x2c62ea(0x329)](_0x11206f))==null?void 0x0:_0x17c380[_0x2c62ea(0x356)])===_0x44ab60['DRAWING_SHAPE']&&this[_0x2c62ea(0x5c2)](!0x0);}})),this[_0x219334(0x502)](this['_drawingManagerService'][_0x219334(0x5d9)][_0x219334(0x4da)](_0x550fbd=>{const _0x159fa1=_0x219334;for(let _0x2b2fad of _0x550fbd)this[_0x159fa1(0x4a2)]===_0x2b2fad[_0x159fa1(0x23e)]&&(this[_0x159fa1(0x4a2)]=null,this[_0x159fa1(0x471)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']());}));}};Ha=X([Y(0x1,_0x1b0873),Y(0x2,_0xd6b9bd),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x2302c1)),Y(0x5,_0x49bdac(Z)),Y(0x6,_0x2b0f26),Y(0x7,_0x229c27)],Ha);const Ua={'id':'drawing.operation.set-drawing-active','type':_0x10ee86[_0x1e4b59(0x3cc)],'handler':(_0x2c13f3,_0x144872)=>{const _0x53a128=_0x1e4b59;let _0x31219d=_0x2c13f3['get'](_0xd6b9bd),_0x29811f=_0x2c13f3[_0x53a128(0x4f9)](_0x2302c1),_0x1903ec=_0x2c13f3[_0x53a128(0x4f9)](Ha);if(_0x144872==null)return!0x0;if(_0x144872[_0x53a128(0x270)]>0x0){var _0x4b2c13;let _0x312adb=(_0x4b2c13=_0x29811f[_0x53a128(0x2f6)](_0x144872[0x0][_0x53a128(0x294)]))==null?void 0x0:_0x4b2c13[_0x53a128(0x37d)];if(_0x312adb){let {unitId:_0x30ae78,subUnitId:_0x1726cb,drawingId:_0x1a1971}=_0x144872[0x0],_0x4520e4=_0x79bce2({'unitId':_0x30ae78,'subUnitId':_0x1726cb,'drawingId':_0x1a1971},void 0x0),_0x5dafbb=_0x312adb['getObjectIncludeInGroup'](_0x4520e4);if(_0x5dafbb){var _0x1e670d;(_0x1e670d=_0x29811f[_0x53a128(0x2f6)](_0x144872[0x0]['unitId']))==null||(_0x1e670d=_0x1e670d[_0x53a128(0x37d)][_0x53a128(0x35a)]())==null||_0x1e670d[_0x53a128(0x256)](_0x5dafbb);}}_0x31219d[_0x53a128(0x2e1)](_0x144872),_0x1903ec['setShouldShowAdjust'](!0x1);}return!0x0;}},Wa={'type':_0x10ee86[_0x1e4b59(0x499)],'id':_0x1e4b59(0x497),'handler':async(_0x2b8d7f,_0x35a4a2)=>{const _0x3fc276=_0x1e4b59;let _0x18f551=_0x423d93(_0x2b8d7f[_0x3fc276(0x4f9)](_0x2b0f26));if(!_0x18f551)return!0x1;let _0x88e96d=_0x2b8d7f[_0x3fc276(0x4f9)](_0x2a638c)[_0x3fc276(0x26b)]();if(!_0x88e96d)return!0x1;let _0x1c611a=_0x2b8d7f['get'](_0x229c27),{unitId:_0x192c43,subUnitId:_0x147333}=_0x18f551,{value:_0x4fb146,enhanceParams:_0x50197c}=_0x35a4a2,{range:_0x74ef95}=_0x88e96d,_0x2910d8={'unitId':_0x192c43,'subUnitId':_0x147333,'shapeType':_0x4fb146,'range':_0x74ef95,'shapeId':_0x111adf()};if(_0x50197c){let _0x59ad50=_0x241b3b(_0x4fb146),_0x426134=_0x4fb146===_0x4d29db[_0x3fc276(0x5b8)];_0x59ad50&&(_0x50197c['startArrow']||_0x50197c[_0x3fc276(0x464)])&&(_0x2910d8[_0x3fc276(0x4c1)]={'ln':{'startArrow':_0x50197c[_0x3fc276(0x57d)]?{'type':_0x589d4e['Arrow'],'size':_0x374c23[_0x3fc276(0x4d6)]}:void 0x0,'endArrow':_0x50197c[_0x3fc276(0x464)]?{'type':_0x589d4e[_0x3fc276(0x504)],'size':_0x374c23[_0x3fc276(0x279)]}:void 0x0}}),_0x426134&&(_0x50197c[_0x3fc276(0x349)]||_0x50197c[_0x3fc276(0x400)])&&(_0x2910d8['shapeData']={'fill':{'fillType':_0x355fa8['SolidFill'],'color':'#FFFFFF'},'stroke':{'lineStrokeType':_0x4778ad[_0x3fc276(0x3b7)],'width':0x1,'color':_0x3fc276(0x4aa)},'shapeText':{'isHorizontal':!!_0x50197c[_0x3fc276(0x349)]}});}let _0x3c380f=_0x1c611a['syncExecuteCommand'](_0x368421['id'],_0x2910d8);return setTimeout(()=>{const _0x232a55=_0x3fc276;_0x1c611a[_0x232a55(0x361)](Ua['id'],[{'unitId':_0x192c43,'subUnitId':_0x147333,'drawingId':_0x2910d8['shapeId']}]);},0xc8),_0x3c380f;}};_0x32f1d8['LEFT'],_0x32f1d8[_0x1e4b59(0x457)],_0x32f1d8['RIGHT'];function Ga(_0xc49af2){const _0x1ba976=_0x1e4b59;let _0x54c7fe=_0xc49af2['get'](_0x1b0873),_0x1972a3=_0xc49af2[_0x1ba976(0x4f9)](_0x816f27);return{'id':_0x45d415['id'],'tooltip':_0x1ba976(0x589),'type':_0x5dfa3c['BUTTON_SELECTOR'],'icon':'PaintBucketDoubleIcon','selections':[{'label':{'name':_0x194822,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x573178(_0xd7f8ed=>{const _0x1b34e6=_0x1ba976;_0xd7f8ed[_0x1b34e6(0x3af)](_0x1972a3[_0x1b34e6(0x239)](_0x1b34e6(0x2b7)));}),'hidden$':_0x54c7fe[_0x1ba976(0x37b)](_0x174548)[_0x1ba976(0x3b4)](_0x103d57(_0x54c7fe[_0x1ba976(0x588)](_0x174548)),_0x320f72(_0x4407fd=>!_0x4407fd))};}function Ka(_0x96b217){const _0x501f83=_0x1e4b59;let _0x5ead42=_0x96b217[_0x501f83(0x4f9)](_0x1b0873);return{'id':_0x351a43['id'],'type':_0x5dfa3c[_0x501f83(0x2f4)],'title':_0x501f83(0x5cb),'hidden$':_0x5ead42[_0x501f83(0x37b)](_0x174548)[_0x501f83(0x3b4)](_0x103d57(_0x5ead42[_0x501f83(0x588)](_0x174548)),_0x320f72(_0x2adb3d=>!_0x2adb3d))};}const qa=[{'label':'sheets-shape-ui.align.left','icon':_0x1e4b59(0x2df),'value':_0x32f1d8[_0x1e4b59(0x45a)]},{'label':_0x1e4b59(0x43d),'icon':_0x1e4b59(0x2ec),'value':_0x32f1d8[_0x1e4b59(0x457)]},{'label':_0x1e4b59(0x5c6),'icon':_0x1e4b59(0x5e9),'value':_0x32f1d8['RIGHT']}];function Ja(_0x4d2903){const _0x494559=_0x1e4b59;var _0x459e4c;let _0x9ca2b8=_0x4d2903['get'](_0x229c27),_0x91a940=_0x4d2903[_0x494559(0x4f9)](_0x1b0873),_0x3fc6de=_0x4d2903[_0x494559(0x4f9)](_0x113402),_0x10fdd8=_0x4d2903[_0x494559(0x4f9)](K),_0x112c57=_0x4d2903[_0x494559(0x4f9)](_0x114e41),_0x557ec2=_0x32f1d8['LEFT'],_0xaa9398=()=>{const _0x5334e7=_0x494559;var _0x3f390c;let _0x6d4bec=_0x3fc6de[_0x5334e7(0x5b1)]()['filter'](_0x2230f7=>_0x2230f7[_0x5334e7(0x356)]===_0x44ab60['DRAWING_SHAPE']);if(_0x6d4bec[_0x5334e7(0x270)]!==0x1)return _0x557ec2;let _0x30ae27=_0x10fdd8[_0x5334e7(0x38b)](),_0x50e05e=(_0x30ae27==null?void 0x0:_0x30ae27['unitId'])||_0x6d4bec[0x0][_0x5334e7(0x294)],_0x548bfb=(_0x30ae27==null?void 0x0:_0x30ae27[_0x5334e7(0x51e)])||_0x6d4bec[0x0][_0x5334e7(0x51e)],_0x3ddacd=(_0x30ae27==null?void 0x0:_0x30ae27['shapeId'])||_0x6d4bec[0x0][_0x5334e7(0x23e)],_0x11a502=_0x112c57['getShapeModel'](_0x50e05e,_0x548bfb,_0x3ddacd);if(!_0x11a502)return _0x557ec2;let _0x248724=_0x11a502[_0x5334e7(0x4d2)]();if(!_0x248724||!(_0x5334e7(0x3f1)in _0x248724))return _0x557ec2;let _0x5298a8=_0x248724[_0x5334e7(0x3f1)];return(_0x3f390c=_0x5298a8==null?void 0x0:_0x5298a8['ha'])==null?_0x557ec2:_0x3f390c;};return{'id':Ta['id'],'icon':(_0x459e4c=qa[_0x494559(0x34e)](_0x23ad44=>_0x23ad44[_0x494559(0x35e)]===_0x557ec2))==null?void 0x0:_0x459e4c[_0x494559(0x36b)],'tooltip':_0x494559(0x3ac),'type':_0x5dfa3c[_0x494559(0x52c)],'selections':qa,'value$':new _0x573178(_0xf37d9e=>{const _0x32e648=_0x494559;let _0x18e957=_0x9ca2b8[_0x32e648(0x36d)](_0x1890c4=>{_0x1890c4['id']===Ta['id']&&_0xf37d9e['next'](_0xaa9398());}),_0x55e33e=_0x10fdd8[_0x32e648(0x41a)][_0x32e648(0x4da)](()=>{const _0x52a822=_0x32e648;_0xf37d9e[_0x52a822(0x3af)](_0xaa9398());});return _0xf37d9e[_0x32e648(0x3af)](_0xaa9398()),()=>{const _0x238f12=_0x32e648;_0x18e957[_0x238f12(0x301)](),_0x55e33e[_0x238f12(0x4ac)]();};}),'hidden$':_0x91a940[_0x494559(0x37b)](_0x174548)[_0x494559(0x3b4)](_0x320f72(_0x23840f=>!_0x23840f))};}const Ya=[{'label':_0x1e4b59(0x2a8),'icon':'AlignTopIcon','value':_0x3e15ec[_0x1e4b59(0x2ad)]},{'label':_0x1e4b59(0x440),'icon':_0x1e4b59(0x5cf),'value':_0x3e15ec[_0x1e4b59(0x363)]},{'label':_0x1e4b59(0x355),'icon':_0x1e4b59(0x46b),'value':_0x3e15ec[_0x1e4b59(0x230)]}];function Xa(_0x59231e){const _0x478b17=_0x1e4b59;var _0x4d1f2e;let _0x1f30e1=_0x59231e['get'](_0x229c27),_0x148cef=_0x59231e[_0x478b17(0x4f9)](_0x1b0873),_0x155cc4=_0x59231e[_0x478b17(0x4f9)](_0x113402),_0x3f8d2e=_0x59231e[_0x478b17(0x4f9)](K),_0x30e8fd=_0x59231e[_0x478b17(0x4f9)](_0x114e41),_0x8f4e4d=_0x3e15ec[_0x478b17(0x2ad)],_0x50bfc6=()=>{const _0x2c5419=_0x478b17;var _0x22d543;let _0x333f27=_0x155cc4[_0x2c5419(0x5b1)]()[_0x2c5419(0x451)](_0x1bbde7=>_0x1bbde7[_0x2c5419(0x356)]===_0x44ab60[_0x2c5419(0x526)]);if(_0x333f27[_0x2c5419(0x270)]!==0x1)return _0x8f4e4d;let _0x44806a=_0x3f8d2e[_0x2c5419(0x38b)](),_0x49b9f9=(_0x44806a==null?void 0x0:_0x44806a['unitId'])||_0x333f27[0x0][_0x2c5419(0x294)],_0x508ae1=(_0x44806a==null?void 0x0:_0x44806a[_0x2c5419(0x51e)])||_0x333f27[0x0]['subUnitId'],_0x4e1e64=(_0x44806a==null?void 0x0:_0x44806a[_0x2c5419(0x543)])||_0x333f27[0x0]['drawingId'],_0x112cd0=_0x30e8fd[_0x2c5419(0x58f)](_0x49b9f9,_0x508ae1,_0x4e1e64);if(!_0x112cd0)return _0x8f4e4d;let _0x3122a6=_0x112cd0[_0x2c5419(0x4d2)]();if(!_0x3122a6||!(_0x2c5419(0x3f1)in _0x3122a6))return _0x8f4e4d;let _0x489d36=_0x3122a6['dataModel'];return(_0x22d543=_0x489d36==null?void 0x0:_0x489d36['va'])==null?_0x8f4e4d:_0x22d543;};return{'id':J['id'],'icon':(_0x4d1f2e=Ya[_0x478b17(0x34e)](_0x288574=>_0x288574[_0x478b17(0x35e)]===_0x8f4e4d))==null?void 0x0:_0x4d1f2e[_0x478b17(0x36b)],'tooltip':_0x478b17(0x2c1),'type':_0x5dfa3c['SELECTOR'],'selections':Ya,'value$':new _0x573178(_0x384b5a=>{const _0x451f36=_0x478b17;let _0x5d11e0=_0x1f30e1[_0x451f36(0x36d)](_0x341576=>{const _0x34de78=_0x451f36;_0x341576['id']===J['id']&&_0x384b5a[_0x34de78(0x3af)](_0x50bfc6());}),_0x45e5fd=_0x3f8d2e[_0x451f36(0x41a)][_0x451f36(0x4da)](()=>{const _0x1f2dda=_0x451f36;_0x384b5a[_0x1f2dda(0x3af)](_0x50bfc6());});return _0x384b5a[_0x451f36(0x3af)](_0x50bfc6()),()=>{const _0x4c33ed=_0x451f36;_0x5d11e0[_0x4c33ed(0x301)](),_0x45e5fd[_0x4c33ed(0x4ac)]();};}),'hidden$':_0x148cef['subscribeContextValue$'](_0x174548)[_0x478b17(0x3b4)](_0x320f72(_0x256ee0=>!_0x256ee0))};}let Za=class extends _0x2d969b{constructor(_0x3a2667,_0x11208a){const _0x41b857=_0x1e4b59;super(),this[_0x41b857(0x299)]=_0x3a2667,this[_0x41b857(0x557)]=_0x11208a,this['_registerImageShapeClipDelegate'](),this[_0x41b857(0x299)][_0x41b857(0x478)](!0x0),this[_0x41b857(0x502)]({'dispose':()=>this[_0x41b857(0x299)][_0x41b857(0x478)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x5bbdc2=_0x1e4b59;let _0x18e0f4=this[_0x5bbdc2(0x299)],_0x2ce0e1=new Map(),_0x20e161=_0x18e0f4[_0x5bbdc2(0x296)]((_0x2b255f,_0xca70fb,_0x43cb88,_0x2c4c01,_0x5e065e)=>{const _0x46c706=_0x5bbdc2;let _0x46c1c6=_0xca70fb;if(_0x46c1c6===_0x4d29db['None']||_0xca70fb==='custom')return!0x1;try{let _0xcaeb5b=_0x2ce0e1[_0x46c706(0x4f9)](_0xca70fb);return _0xcaeb5b||(_0xcaeb5b=new _0x32ec93(_0x46c1c6,_0x46c706(0x469)+_0xca70fb),_0x2ce0e1[_0x46c706(0x281)](_0xca70fb,_0xcaeb5b)),_0x5e065e&&_0xcaeb5b[_0x46c706(0x417)]({'adjustValues':_0x5e065e},!0x0),_0xcaeb5b[_0x46c706(0x3a1)]({'width':_0x43cb88,'height':_0x2c4c01}),_0xcaeb5b[_0x46c706(0x2e5)](_0x2b255f,{'left':0x0,'top':0x0,'width':_0x43cb88,'height':_0x2c4c01});}catch{return!0x1;}});this[_0x5bbdc2(0x502)](_0x20e161),this['disposeWithMe']({'dispose':()=>_0x2ce0e1[_0x5bbdc2(0x223)]()});}[_0x1e4b59(0x27f)](_0xb8aec,_0x4da244,_0x3dd3e3,_0x198a44,_0x3c0221){const _0x276354=_0x1e4b59;let _0x33ca08=this[_0x276354(0x557)][_0x276354(0x520)](_0xb8aec,_0x4da244);if(!_0x33ca08[_0x3dd3e3])return;let _0x5024af={..._0x33ca08[_0x3dd3e3],'prstGeom':_0x198a44,'adjustValues':_0x3c0221};this[_0x276354(0x557)][_0x276354(0x215)]([_0x5024af]);}};Za=X([Y(0x0,_0x49bdac(_0x23d7c6)),Y(0x1,_0x49bdac(_0xd6b9bd))],Za);const Qa=[{'group':'line','type':_0x4d29db[_0x1e4b59(0x354)],'icon':_0x1e4b59(0x454),'name':_0x1e4b59(0x5cc)},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db['StraightConnector1'],'icon':'ShapeStraightConnector1Icon','name':_0x1e4b59(0x27b),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x2db)],'icon':_0x1e4b59(0x387),'name':_0x1e4b59(0x264),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x377)],'icon':'ShapeBentConnector3Icon','name':_0x1e4b59(0x58c)},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x377)],'icon':_0x1e4b59(0x34b),'name':_0x1e4b59(0x549),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db['BentConnector3'],'icon':_0x1e4b59(0x2ee),'name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x5f9),'name':'sheets-shape-ui.shape.type.curved-connector3'},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x31d),'name':_0x1e4b59(0x57a),'endArrow':!0x0},{'group':_0x1e4b59(0x5bd),'type':_0x4d29db[_0x1e4b59(0x42e)],'icon':_0x1e4b59(0x30a),'name':_0x1e4b59(0x4f2),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':_0x1e4b59(0x524),'name':_0x1e4b59(0x41d)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x4a0)],'icon':_0x1e4b59(0x216),'name':_0x1e4b59(0x423)},{'group':'rectangle','type':_0x4d29db[_0x1e4b59(0x534)],'icon':_0x1e4b59(0x3bc),'name':_0x1e4b59(0x2d1)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x58b)],'icon':_0x1e4b59(0x5ba),'name':_0x1e4b59(0x4db)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x4b3)],'icon':_0x1e4b59(0x54d),'name':_0x1e4b59(0x376)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x2bc)],'icon':_0x1e4b59(0x302),'name':_0x1e4b59(0x3eb)},{'group':_0x1e4b59(0x209),'type':_0x4d29db['Round1Rect'],'icon':_0x1e4b59(0x3a8),'name':_0x1e4b59(0x240)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x414)],'icon':_0x1e4b59(0x389),'name':_0x1e4b59(0x447)},{'group':_0x1e4b59(0x209),'type':_0x4d29db[_0x1e4b59(0x286)],'icon':'ShapeRound2DiagRectIcon','name':_0x1e4b59(0x482)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':'ShapeRectTextboxHorizontalIcon','name':_0x1e4b59(0x53c),'horizontal':!0x0},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x5b8)],'icon':_0x1e4b59(0x35d),'name':_0x1e4b59(0x353),'vertical':!0x0},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Ellipse'],'icon':'ShapeEllipseIcon','name':_0x1e4b59(0x4f1)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x5c3)],'icon':'ShapeTriangleIcon','name':'sheets-shape-ui.shape.type.triangle'},{'group':'basicShape','type':_0x4d29db['RightTriangle'],'icon':_0x1e4b59(0x514),'name':_0x1e4b59(0x2cc)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x250)],'icon':_0x1e4b59(0x4ce),'name':_0x1e4b59(0x367)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x311)],'icon':_0x1e4b59(0x46a),'name':_0x1e4b59(0x496)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x295)],'icon':_0x1e4b59(0x3b9),'name':_0x1e4b59(0x308)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x336)],'icon':_0x1e4b59(0x326),'name':_0x1e4b59(0x50e)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x386)],'icon':_0x1e4b59(0x405),'name':_0x1e4b59(0x31e)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Heptagon'],'icon':'ShapeHeptagonIcon','name':_0x1e4b59(0x1f5)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x56b)],'icon':_0x1e4b59(0x2c9),'name':'sheets-shape-ui.shape.type.octagon'},{'group':'basicShape','type':_0x4d29db['Decagon'],'icon':_0x1e4b59(0x5db),'name':_0x1e4b59(0x2c3)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x525)],'icon':_0x1e4b59(0x483),'name':_0x1e4b59(0x554)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Pie'],'icon':_0x1e4b59(0x337),'name':_0x1e4b59(0x345)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x314)],'icon':_0x1e4b59(0x33e),'name':_0x1e4b59(0x3c6)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Teardrop'],'icon':_0x1e4b59(0x30f),'name':'sheets-shape-ui.shape.type.teardrop'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x39a)],'icon':_0x1e4b59(0x4cb),'name':'sheets-shape-ui.shape.type.frame'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5d3)],'icon':_0x1e4b59(0x3e3),'name':_0x1e4b59(0x5c5)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x441)],'icon':'ShapeCornerIcon','name':_0x1e4b59(0x493)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x4e5)],'icon':_0x1e4b59(0x415),'name':'sheets-shape-ui.shape.type.diag-stripe'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x214)],'icon':_0x1e4b59(0x20a),'name':_0x1e4b59(0x5ad)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x365)],'icon':_0x1e4b59(0x2e3),'name':'sheets-shape-ui.shape.type.plaque'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x572)],'icon':'ShapeCanIcon','name':_0x1e4b59(0x3e6)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x42b)],'icon':_0x1e4b59(0x2cd),'name':'sheets-shape-ui.shape.type.cube'},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Bevel'],'icon':_0x1e4b59(0x5cd),'name':_0x1e4b59(0x34a)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['Donut'],'icon':_0x1e4b59(0x40d),'name':_0x1e4b59(0x271)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x36f)],'icon':_0x1e4b59(0x519),'name':'sheets-shape-ui.shape.type.no-smoking'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x47e)],'icon':'ShapeBlockArcIcon','name':_0x1e4b59(0x24e)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x4a3)],'icon':_0x1e4b59(0x45c),'name':'sheets-shape-ui.shape.type.folder-corner'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x305)],'icon':_0x1e4b59(0x2f9),'name':_0x1e4b59(0x3a6)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x42c)],'icon':_0x1e4b59(0x26c),'name':_0x1e4b59(0x200)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x3ec)],'icon':'ShapeLightningBoltIcon','name':_0x1e4b59(0x34c)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x3f7)],'icon':_0x1e4b59(0x3ab),'name':_0x1e4b59(0x54c)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x5fb)],'icon':_0x1e4b59(0x590),'name':'sheets-shape-ui.shape.type.moon'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x570)],'icon':'ShapeCloudIcon','name':'sheets-shape-ui.shape.type.cloud'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x407)],'icon':_0x1e4b59(0x5bc),'name':_0x1e4b59(0x48b)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x56f)],'icon':_0x1e4b59(0x5b7),'name':_0x1e4b59(0x435)},{'group':'basicShape','type':_0x4d29db[_0x1e4b59(0x4d5)],'icon':_0x1e4b59(0x2d4),'name':_0x1e4b59(0x506)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['LeftBracket'],'icon':'ShapeLeftBracketIcon','name':_0x1e4b59(0x5be)},{'group':_0x1e4b59(0x470),'type':_0x4d29db['RightBracket'],'icon':_0x1e4b59(0x2f3),'name':'sheets-shape-ui.shape.type.right-bracket'},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x357)],'icon':_0x1e4b59(0x1f8),'name':_0x1e4b59(0x5a0)},{'group':_0x1e4b59(0x470),'type':_0x4d29db[_0x1e4b59(0x53f)],'icon':_0x1e4b59(0x4e6),'name':_0x1e4b59(0x5ce)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x42d)],'icon':_0x1e4b59(0x221),'name':_0x1e4b59(0x5e1)},{'group':'blockArrow','type':_0x4d29db['LeftArrow'],'icon':_0x1e4b59(0x5a9),'name':_0x1e4b59(0x55e)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x4d3)],'icon':'ShapeUpArrowIcon','name':_0x1e4b59(0x4b6)},{'group':'blockArrow','type':_0x4d29db['DownArrow'],'icon':_0x1e4b59(0x2d6),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x529)],'icon':'ShapeLeftRightArrowIcon','name':_0x1e4b59(0x292)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['UpDownArrow'],'icon':_0x1e4b59(0x5a5),'name':'sheets-shape-ui.shape.type.up-down-arrow'},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x5e3)],'icon':_0x1e4b59(0x2c5),'name':'sheets-shape-ui.shape.type.quad-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db['LeftRightUpArrow'],'icon':_0x1e4b59(0x21f),'name':_0x1e4b59(0x20b)},{'group':'blockArrow','type':_0x4d29db['BentArrow'],'icon':_0x1e4b59(0x3e7),'name':_0x1e4b59(0x5b6)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x531)],'icon':'ShapeUturnArrowIcon','name':_0x1e4b59(0x4df)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x30b)],'icon':_0x1e4b59(0x32d),'name':_0x1e4b59(0x559)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x29e)],'icon':'ShapeBentUpArrowIcon','name':_0x1e4b59(0x380)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x205)],'icon':'ShapeCurvedRightArrowIcon','name':_0x1e4b59(0x38a)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x255)],'icon':_0x1e4b59(0x260),'name':_0x1e4b59(0x2f7)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x542)],'icon':'ShapeCurvedUpArrowIcon','name':_0x1e4b59(0x53d)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x2fa)],'icon':_0x1e4b59(0x383),'name':_0x1e4b59(0x456)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['StripedRightArrow'],'icon':_0x1e4b59(0x5d4),'name':_0x1e4b59(0x347)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x56e)],'icon':_0x1e4b59(0x3ce),'name':'sheets-shape-ui.shape.type.notched-right-arrow'},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x280)],'icon':_0x1e4b59(0x335),'name':_0x1e4b59(0x287)},{'group':_0x1e4b59(0x307),'type':_0x4d29db['Chevron'],'icon':_0x1e4b59(0x25b),'name':_0x1e4b59(0x2ae)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x3f2)],'icon':'ShapeRightArrowCalloutIcon','name':_0x1e4b59(0x58d)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x3f4)],'icon':_0x1e4b59(0x3ad),'name':_0x1e4b59(0x20c)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x2c0)],'icon':_0x1e4b59(0x501),'name':_0x1e4b59(0x585)},{'group':'blockArrow','type':_0x4d29db['UpArrowCallout'],'icon':_0x1e4b59(0x4e2),'name':_0x1e4b59(0x552)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x278)],'icon':'ShapeLeftRightArrowCalloutIcon','name':_0x1e4b59(0x33c)},{'group':'blockArrow','type':_0x4d29db[_0x1e4b59(0x591)],'icon':_0x1e4b59(0x4dc),'name':_0x1e4b59(0x3c9)},{'group':_0x1e4b59(0x307),'type':_0x4d29db[_0x1e4b59(0x596)],'icon':'ShapeCircularArrowIcon','name':_0x1e4b59(0x220)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x3d5)],'icon':_0x1e4b59(0x397),'name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x3cd)],'icon':_0x1e4b59(0x35f),'name':_0x1e4b59(0x22a)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db[_0x1e4b59(0x246)],'icon':'ShapeMathMultiplyIcon','name':_0x1e4b59(0x4ca)},{'group':'equationShape','type':_0x4d29db[_0x1e4b59(0x4d0)],'icon':_0x1e4b59(0x59c),'name':_0x1e4b59(0x374)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db['MathEqual'],'icon':_0x1e4b59(0x1ff),'name':_0x1e4b59(0x235)},{'group':_0x1e4b59(0x4e4),'type':_0x4d29db['MathNotEqual'],'icon':_0x1e4b59(0x49a),'name':_0x1e4b59(0x5d0)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartProcess'],'icon':_0x1e4b59(0x4ba),'name':_0x1e4b59(0x4af)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x3a9)],'icon':_0x1e4b59(0x2f0),'name':_0x1e4b59(0x25f)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x1fb)],'icon':_0x1e4b59(0x555),'name':'sheets-shape-ui.shape.type.flow-chart-decision'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x44f)],'icon':_0x1e4b59(0x3f5),'name':_0x1e4b59(0x3a4)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x2a9)],'icon':_0x1e4b59(0x237),'name':_0x1e4b59(0x3dd)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x541)],'icon':_0x1e4b59(0x5a7),'name':_0x1e4b59(0x45f)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartDocument'],'icon':_0x1e4b59(0x562),'name':'sheets-shape-ui.shape.type.flow-chart-document'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2ce)],'icon':_0x1e4b59(0x38e),'name':_0x1e4b59(0x208)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartTerminator'],'icon':_0x1e4b59(0x49b),'name':_0x1e4b59(0x2cb)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartPreparation'],'icon':_0x1e4b59(0x20d),'name':'sheets-shape-ui.shape.type.flow-chart-preparation'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x4c4)],'icon':_0x1e4b59(0x48e),'name':_0x1e4b59(0x370)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x396)],'icon':'ShapeFlowChartManualOperationIcon','name':_0x1e4b59(0x55a)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x5d6)],'icon':_0x1e4b59(0x46e),'name':_0x1e4b59(0x571)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x236)],'icon':_0x1e4b59(0x23f),'name':_0x1e4b59(0x495)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2ca)],'icon':'ShapeFlowChartPunchedCardIcon','name':'sheets-shape-ui.shape.type.flow-chart-punched-card'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x599)],'icon':_0x1e4b59(0x50d),'name':_0x1e4b59(0x238)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartSummingJunction'],'icon':_0x1e4b59(0x5d7),'name':_0x1e4b59(0x27c)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartOr'],'icon':_0x1e4b59(0x32c),'name':_0x1e4b59(0x3a0)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x4c6)],'icon':_0x1e4b59(0x1ed),'name':'sheets-shape-ui.shape.type.flow-chart-collate'},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x4be)],'icon':'ShapeFlowChartSortIcon','name':'sheets-shape-ui.shape.type.flow-chart-sort'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x5b2)],'icon':_0x1e4b59(0x558),'name':_0x1e4b59(0x580)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x2c8)],'icon':_0x1e4b59(0x38c),'name':_0x1e4b59(0x252)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x1eb)],'icon':'ShapeFlowChartOnlineStorageIcon','name':'sheets-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db[_0x1e4b59(0x4e1)],'icon':_0x1e4b59(0x3cb),'name':_0x1e4b59(0x2dc)},{'group':'flowchart','type':_0x4d29db[_0x1e4b59(0x285)],'icon':_0x1e4b59(0x2dd),'name':_0x1e4b59(0x24c)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartMagneticDisk'],'icon':'ShapeFlowChartMagneticDiskIcon','name':'sheets-shape-ui.shape.type.flow-chart-magnetic-disk'},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartMagneticDrum'],'icon':_0x1e4b59(0x5dc),'name':_0x1e4b59(0x3de)},{'group':_0x1e4b59(0x36c),'type':_0x4d29db['FlowchartDisplay'],'icon':_0x1e4b59(0x333),'name':_0x1e4b59(0x419)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x54b)],'icon':_0x1e4b59(0x5de),'name':_0x1e4b59(0x315)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['IrregularSeal2'],'icon':_0x1e4b59(0x224),'name':'sheets-shape-ui.shape.type.irregular-seal2'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x2e8)],'icon':_0x1e4b59(0x420),'name':_0x1e4b59(0x2e9)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x1fe)],'icon':_0x1e4b59(0x2f1),'name':_0x1e4b59(0x53a)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x2e6)],'icon':_0x1e4b59(0x1f9),'name':'sheets-shape-ui.shape.type.star6'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x259)],'icon':_0x1e4b59(0x5c1),'name':_0x1e4b59(0x3f3)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x3c3)],'icon':'ShapeStar8Icon','name':_0x1e4b59(0x4fb)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x404)],'icon':_0x1e4b59(0x328),'name':_0x1e4b59(0x5e0)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x409)],'icon':_0x1e4b59(0x248),'name':_0x1e4b59(0x476)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x276)],'icon':_0x1e4b59(0x4fd),'name':_0x1e4b59(0x3da)},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x518)],'icon':_0x1e4b59(0x4bc),'name':_0x1e4b59(0x318)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x3f8)],'icon':_0x1e4b59(0x1fa),'name':_0x1e4b59(0x253)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x5e4)],'icon':'ShapeRibbon2Icon','name':_0x1e4b59(0x392)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['Ribbon'],'icon':_0x1e4b59(0x4d7),'name':'sheets-shape-ui.shape.type.ribbon'},{'group':_0x1e4b59(0x401),'type':_0x4d29db[_0x1e4b59(0x507)],'icon':_0x1e4b59(0x27a),'name':_0x1e4b59(0x2af)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x3fa)],'icon':_0x1e4b59(0x52b),'name':_0x1e4b59(0x411)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['VerticalScroll'],'icon':'ShapeVerticalScrollIcon','name':_0x1e4b59(0x2b8)},{'group':'starAndBanner','type':_0x4d29db[_0x1e4b59(0x26f)],'icon':_0x1e4b59(0x3d7),'name':_0x1e4b59(0x2b2)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['Wave'],'icon':'ShapeWaveIcon','name':_0x1e4b59(0x2a6)},{'group':_0x1e4b59(0x401),'type':_0x4d29db['DoubleWave'],'icon':'ShapeDoubleWaveIcon','name':_0x1e4b59(0x50a)},{'group':'callout','type':_0x4d29db['WedgeRectCallout'],'icon':_0x1e4b59(0x55c),'name':_0x1e4b59(0x241)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x29b)],'icon':'ShapeWedgeRoundRectCalloutIcon','name':_0x1e4b59(0x427)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x4a5)],'icon':_0x1e4b59(0x1ec),'name':_0x1e4b59(0x4ff)},{'group':'callout','type':_0x4d29db[_0x1e4b59(0x5a6)],'icon':_0x1e4b59(0x45b),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x5d5)],'icon':'ShapeBorderCallout1Icon','name':_0x1e4b59(0x575)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['BorderCallout2'],'icon':_0x1e4b59(0x5f8),'name':_0x1e4b59(0x202)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x3b0)],'icon':_0x1e4b59(0x283),'name':_0x1e4b59(0x3f0)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['AccentCallout1'],'icon':_0x1e4b59(0x430),'name':_0x1e4b59(0x34f)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x262)],'icon':_0x1e4b59(0x359),'name':_0x1e4b59(0x1fc)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x5ac)],'icon':'ShapeAccentCallout3Icon','name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x26a)],'icon':_0x1e4b59(0x4cc),'name':_0x1e4b59(0x521)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['Callout2'],'icon':'ShapeCallout2Icon','name':_0x1e4b59(0x274)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x31f)],'icon':_0x1e4b59(0x416),'name':_0x1e4b59(0x58e)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db[_0x1e4b59(0x319)],'icon':_0x1e4b59(0x52f),'name':_0x1e4b59(0x538)},{'group':'callout','type':_0x4d29db[_0x1e4b59(0x2c2)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x1e4b59(0x2d2)},{'group':_0x1e4b59(0x5bb),'type':_0x4d29db['AccentBorderCallout3'],'icon':'ShapeAccentBorderCallout3Icon','name':_0x1e4b59(0x5c4)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4a4)],'icon':_0x1e4b59(0x402),'name':'sheets-shape-ui.shape.type.left-circular-arrow'},{'group':'other','type':_0x4d29db[_0x1e4b59(0x22d)],'icon':'ShapeLeftRightCircularArrowIcon','name':_0x1e4b59(0x284)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x550)],'icon':_0x1e4b59(0x581),'name':_0x1e4b59(0x59e)},{'group':_0x1e4b59(0x545),'type':_0x4d29db['LeftRightRibbon'],'icon':_0x1e4b59(0x5b0),'name':_0x1e4b59(0x24f)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x453)],'icon':'ShapePieWedgeIcon','name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':_0x1e4b59(0x545),'type':_0x4d29db['Funnel'],'icon':_0x1e4b59(0x38f),'name':_0x1e4b59(0x586)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x459)],'icon':_0x1e4b59(0x3ff),'name':_0x1e4b59(0x298)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x5e7)],'icon':_0x1e4b59(0x2b9),'name':_0x1e4b59(0x29f)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4ed)],'icon':'ShapeCornerTabsIcon','name':'sheets-shape-ui.shape.type.corner-tabs'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x4de)],'icon':_0x1e4b59(0x475),'name':'sheets-shape-ui.shape.type.action-button-back-previous'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x2f8)],'icon':_0x1e4b59(0x273),'name':_0x1e4b59(0x418)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3d9)],'icon':_0x1e4b59(0x348),'name':'sheets-shape-ui.shape.type.action-button-beginning'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x222)],'icon':_0x1e4b59(0x446),'name':_0x1e4b59(0x29a)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3aa)],'icon':_0x1e4b59(0x5b5),'name':_0x1e4b59(0x463)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x257)],'icon':'ShapeActionButtonInformationIcon','name':'sheets-shape-ui.shape.type.action-button-information'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x210)],'icon':_0x1e4b59(0x59d),'name':_0x1e4b59(0x3e5)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x421)],'icon':_0x1e4b59(0x21c),'name':_0x1e4b59(0x4c5)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3dc)],'icon':_0x1e4b59(0x2d3),'name':_0x1e4b59(0x37c)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x303)],'icon':'ShapeActionButtonSoundIcon','name':_0x1e4b59(0x533)},{'group':'other','type':_0x4d29db[_0x1e4b59(0x4ab)],'icon':'ShapeActionButtonHelpIcon','name':_0x1e4b59(0x346)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x48f)],'icon':'ShapeActionButtonBlankIcon','name':'sheets-shape-ui.shape.type.action-button-blank'},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x5a1)],'icon':'ShapeChartPlusIcon','name':_0x1e4b59(0x489)},{'group':'other','type':_0x4d29db['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x1e4b59(0x546)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x434)],'icon':_0x1e4b59(0x5eb),'name':_0x1e4b59(0x513)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x3db)],'icon':_0x1e4b59(0x4ad),'name':_0x1e4b59(0x3e0)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x1ee)],'icon':_0x1e4b59(0x2ab),'name':_0x1e4b59(0x455)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x2d5)],'icon':_0x1e4b59(0x362),'name':'sheets-shape-ui.shape.type.plaque-tabs'},{'group':'other','type':_0x4d29db[_0x1e4b59(0x578)],'icon':_0x1e4b59(0x515),'name':_0x1e4b59(0x268)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x43c)],'icon':'ShapeUpDownArrowCalloutIcon','name':_0x1e4b59(0x406)},{'group':_0x1e4b59(0x545),'type':_0x4d29db[_0x1e4b59(0x59a)],'icon':_0x1e4b59(0x4eb),'name':_0x1e4b59(0x43b)}],$a='sheet.shape.picker.component';function eo({onShapeClick:_0x593ef1,excludeGroups:_0x32c050}){const _0xc183af=_0x1e4b59;let _0x3287d7=_0x51983f(_0x10276c),_0x7124b4=_0x51983f(_0x5b7817),_0x2e37f4=(_0x32c050?Qa[_0xc183af(0x451)](_0x45ac71=>!_0x32c050[_0xc183af(0x233)](_0x45ac71[_0xc183af(0x584)])):Qa)['reduce']((_0x3df87f,_0x150668)=>(_0x3df87f[_0x150668[_0xc183af(0x584)]]||(_0x3df87f[_0x150668[_0xc183af(0x584)]]=[]),_0x3df87f[_0x150668[_0xc183af(0x584)]][_0xc183af(0x350)](_0x150668),_0x3df87f),{});return _0x5a567d('div',{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0xc183af(0x242)](_0x2e37f4)[_0xc183af(0x48a)](([_0xab6749,_0x2d08db])=>_0x96059a('div',{'className':'univer-mb-2','children':[_0x5a567d(_0xc183af(0x1fd),{'className':'univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','children':_0x3287d7['t'](_0xc183af(0x368)+_0xab6749)}),_0x5a567d('div',{'className':_0xc183af(0x5d1),'children':_0x2d08db[_0xc183af(0x48a)](_0x3046a2=>{const _0x5e46af=_0xc183af;let _0xf78c89=_0x7124b4[_0x5e46af(0x4f9)](_0x3046a2['icon']);return _0x5a567d(_0x5e46af(0x1fd),{'title':_0x3287d7['t'](_0x3046a2['name']),'onClick':()=>_0x593ef1(_0x3046a2),'className':'univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','children':_0xf78c89&&_0x5a567d(_0xf78c89,{'className':_0x5e46af(0x22f)})},_0x3046a2[_0x5e46af(0x462)]);})})]},_0xab6749))});}function to(){const _0x4c6b12=_0x1e4b59;let _0x901c0a=_0x51983f(_0x10276c),_0x35f0b6=_0x51983f(_0xd6b9bd),_0x1aaea3=_0x51983f(Za),[_0x5acd98,_0x1ba929]=_0x4fd01b(!0x1);return _0x5a567d(_0x20f71f,{'side':_0x4c6b12(0x5ec),'open':_0x5acd98,'onOpenChange':_0x1ba929,'overlay':_0x5a567d(eo,{'onShapeClick':_0x15ff72=>{const _0x386dbc=_0x4c6b12;let _0x307bb6=_0x35f0b6[_0x386dbc(0x5b1)]()['find'](_0x4ec328=>_0x4ec328['drawingType']===_0x44ab60[_0x386dbc(0x40a)]);if(!_0x307bb6)return;let {unitId:_0x2499b4,subUnitId:_0x3da8ce,drawingId:_0x240699}=_0x307bb6;_0x1aaea3[_0x386dbc(0x27f)](_0x2499b4,_0x3da8ce,_0x240699,_0x15ff72[_0x386dbc(0x3cf)]),_0x1ba929(!0x1);},'excludeGroups':['line']}),'children':_0x5a567d(_0x2d018f,{'children':_0x901c0a['t'](_0x4c6b12(0x2b4))})});}function no(){let _0x132a09=_0x51983f(_0x229c27);return _0x5a567d(eo,{'onShapeClick':_0x1dc6b8=>{const _0x34e8d6=_0xa61a;_0x132a09['executeCommand'](Wa['id'],{'value':_0x1dc6b8[_0x34e8d6(0x3cf)],'enhanceParams':{'endArrow':_0x1dc6b8[_0x34e8d6(0x464)],'startArrow':_0x1dc6b8['startArrow'],'horizontal':_0x1dc6b8[_0x34e8d6(0x349)],'vertical':_0x1dc6b8[_0x34e8d6(0x400)]}});}});}function ro(_0x1240f5){const _0x4118aa=_0x1e4b59;let _0x1879e5=_0x1240f5[_0x4118aa(0x4f9)](_0x2b0f26);return{'id':Wa['id'],'type':_0x5dfa3c[_0x4118aa(0x52c)],'selections':[{'label':{'name':$a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':Wa['id']}}}],'icon':_0x4118aa(0x232),'tooltip':_0x4118aa(0x1ea),'activated$':_0x5cb814(_0x1879e5,!0x1,()=>new _0x573178(_0x2c2866=>{_0x2c2866['next'](!0x1);})),'hidden$':_0x1d3e36(_0x1240f5,_0x45bf6b[_0x4118aa(0x3df)]),'disabled$':_0x3ebf28(_0x1240f5)};}const io={[_0x2690d6[_0x1e4b59(0x50b)]]:{[_0x2ceb11['LAYOUT']]:{[J['id']]:{'order':3.5,'menuItemFactory':Xa},[Ta['id']]:{'order':3.4,'menuItemFactory':Ja}},[_0x2ceb11[_0x1e4b59(0x4f7)]]:{[_0x45d415['id']]:{'order':0x1,'menuItemFactory':Ga,[_0x351a43['id']]:{'order':0x0,'menuItemFactory':Ka}}}},[_0x4c5a89[_0x1e4b59(0x472)]]:{[Wa['id']]:{'order':0x4,'menuItemFactory':ro}}};function _0x415e(){const _0x26e166=['LeftRightArrow','documentStyle','ShapeEllipseRibbonIcon','SELECTOR','connection-site-','_getScrollInfo','ShapeAccentBorderCallout1Icon','_menuManagerService','UturnArrow','_addControl','sheets-shape-ui.shape.type.action-button-sound','Snip1Rect','adjHandleSize','values','setEditing','sheets-shape-ui.shape.type.accent-border-callout1','_activeImageId','sheets-shape-ui.shape.type.star5','_drawSimpleText','sheets-shape-ui.shape.type.rect-textbox-horizontal','sheets-shape-ui.shape.type.curved-up-arrow','_drawRichText','RightBrace','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','FlowchartInternalStorage','CurvedUpArrow','shapeId','packageName','other','sheets-shape-ui.shape.type.chart-star','clearAdjustControls','undo','sheets-shape-ui.shape.type.bent-connector3-arrow1','draw','IrregularSeal1','sheets-shape-ui.shape.type.sun','ShapeSnip2DiagRectIcon','getParent','deepClone','SwooshArrow','getUnit','sheets-shape-ui.shape.type.up-arrow-callout','add$','sheets-shape-ui.shape.type.dodecagon','ShapeFlowChartDecisionIcon','isArray','_drawingManagerService','ShapeFlowChartExtractIcon','sheets-shape-ui.shape.type.left-up-arrow','sheets-shape-ui.shape.type.flow-chart-manual-operation','sheets-shape-ui.permission.editErr','ShapeWedgeRectCalloutIcon','getShapeTypeById','sheets-shape-ui.shape.type.left-arrow','error','_createShapePopupMenu','isLineShape','ShapeFlowChartDocumentIcon','_handleConnectedEndpointPointerUp','_isStartAdjusting','add','fillType','register','545597KJSzdR','data','8vxCXPM','Octagon','sheet.command.set-shape-text-font-size-decrease','onStarting','NotchedRightArrow','BracketPair','Cloud','sheets-shape-ui.shape.type.flow-chart-connector','Can','subscribeEvent','adjHandleFill','sheets-shape-ui.shape.type.border-callout1','getCurrentScrollState','floor','SquareTabs','_registerFocusChangeHandler','sheets-shape-ui.shape.type.curved-connector3-arrow1','top','833047WzVKds','startArrow','_handleFreeEndpointPointerUp','clearControl$','sheets-shape-ui.shape.type.flow-chart-extract','ShapeSwooshArrowIcon','sectionBreaks','_onSavingEditorData$','group','sheets-shape-ui.shape.type.left-arrow-callout','sheets-shape-ui.shape.type.funnel','isStartConnectorPoint','getContextValue','sheets-shape-ui.toolbar.fillColor.main','sheet.command.set-shape-text-font-size','Snip2SameRect','sheets-shape-ui.shape.type.bent-connector3','sheets-shape-ui.shape.type.right-arrow-callout','sheets-shape-ui.shape.type.callout3','getShapeModel','ShapeMoonIcon','QuadArrowCallout','_initPermission','_sheetsShapeService','WRAP','_initialize','CircularArrow','_currentConnectionTarget','gdRefAng','FlowchartPunchedTape','NonIsoscelesTrapezoid','string','ShapeMathDivideIcon','ShapeActionButtonReturnIcon','sheets-shape-ui.shape.type.swoosh-arrow','isHorizontal','sheets-shape-ui.shape.type.left-brace','ChartPlus','_getOrCreateShapeModel','close','default','ShapeUpDownArrowIcon','CloudCallout','ShapeFlowChartInternalStorageIcon','cxnPointStroke','ShapeLeftArrowIcon','popup','sqrt','AccentCallout3','sheets-shape-ui.shape.type.plus','renderDrawingShape','_updateSrcRectByTransform','ShapeLeftRightRibbonIcon','getFocusDrawings','FlowchartExtract','getValue','decorate','ShapeActionButtonHomeIcon','sheets-shape-ui.shape.type.bent-arrow','ShapeBracketPairIcon','Rect','_clearShapeAdjustControls','ShapeSnip2SameRectIcon','callout','ShapeArcIcon','line','sheets-shape-ui.shape.type.left-bracket','strokeWidth','verticalAlign','ShapeStar7Icon','_updateShapeAdjustControls','Triangle','sheets-shape-ui.shape.type.accent-border-callout3','sheets-shape-ui.shape.type.half-frame','sheets-shape-ui.align.right','setSrcRect','setHighlighted','_activeShapeModel','onPointerDown$','sheets-shape-ui.toolbar.resetColor','sheets-shape-ui.shape.type.line','ShapeBevelIcon','sheets-shape-ui.shape.type.right-brace','VerticalCenterIcon','sheets-shape-ui.shape.type.math-not-equal','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','_sheetDrawingShapeRenderController','HalfFrame','ShapeStripedRightArrowIcon','BorderCallout1','FlowchartConnector','ShapeFlowChartSummingJunctionIcon','onSavingEditorData$','remove$','index','ShapeDecagonIcon','ShapeFlowChartMagneticDrumIcon','_adjHandlerPointerMove','ShapeIrregularSeal1Icon','_addShapeConnectorHandlerObject','sheets-shape-ui.shape.type.star10','sheets-shape-ui.shape.type.right-arrow','onPointerMove$','QuadArrow','Ribbon2','createControl$','_getDrawingRect','Gear9','getAdjustValueByName','RightJustifyingIcon','_focusedDrawings','ShapeChartXIcon','left','_contextService','_addShapeAdjustControl','_currentScene','from','_executeResizeCommand','onReady','getImage','refreshAdjustControls','clone','addObject','bind','ShapeBorderCallout2Icon','ShapeCurvedConnector3Icon','getAdjustInfoByName','Moon','sheets-shape-ui.insertShape','FlowchartOnlineStorage','ShapeWedgeEllipseCalloutIcon','ShapeFlowChartCollateIcon','LineInv','_handleFreeEndpointMove','_renderManagerService','abs','getEndConnectInfo','getSheetBySheetId','rect','sheets-shape-ui.shape.type.heptagon','_injector','save','ShapeLeftBraceIcon','ShapeStar6Icon','ShapeStar32Icon','FlowchartDecision','sheets-shape-ui.shape.type.accent-callout2','div','Star5','ShapeMathEqualIcon','sheets-shape-ui.shape.type.heart','_activeAdjustPointList','sheets-shape-ui.shape.type.border-callout2','changeStart$','_univerInstanceService','CurvedRightArrow','invert','mergeMenu','sheets-shape-ui.shape.type.flow-chart-multidocument','rectangle','ShapePlusIcon','sheets-shape-ui.shape.type.left-right-up-arrow','sheets-shape-ui.shape.type.down-arrow-callout','ShapeFlowChartPreparationIcon','_attachConnectorObjectEvent','_isHighlighted','ActionButtonReturn','_findShapeAtPoint','offsetX','_initCopyPaste','Plus','featurePluginUpdateNotification','ShapeRoundRectIcon','setShapeProps','setPrstGeom','localeService','pick','_draw','ShapeActionButtonMovieIcon','GROUP','_sheetShapeAdjustController','ShapeLeftRightUpArrowIcon','sheets-shape-ui.shape.type.circular-arrow','ShapeRightArrowIcon','ActionButtonEnd','clear','ShapeIrregularSeal2Icon','_configService','@univerjs-pro/sheets-shape-ui','isRichText','relation','getShapeTextRect','sheets-shape-ui.shape.type.math-minus','_targetShapeId','with','LeftRightCircularArrow','removeLinePoints','univer-size-full','BOTTOM','horizontalAlign','ShapeIcon','includes','sheets-shape-ui.hidePanel','sheets-shape-ui.shape.type.math-equal','FlowchartOffPageConnector','ShapeFlowChartPredefinedProcessIcon','sheets-shape-ui.shape.type.flow-chart-punched-tape','getColorFromTheme','isHighlighted','asObservable','adjName','worldPoint','drawingId','ShapeFlowChartOffpageConnectorIcon','sheets-shape-ui.shape.type.round1-rect','sheets-shape-ui.shape.type.wedge-rect-callout','entries','42620jhsasg','_transform','parse','MathMultiply','_sheetDrawingService','ShapeStar12Icon','_shapeTextEditingService','_createCopyInfoByRange','complete','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','getFonts','sheets-shape-ui.shape.type.block-arc','sheets-shape-ui.shape.type.left-right-ribbon','Parallelogram','_cxtHandlerPointerMove','sheets-shape-ui.shape.type.flow-chart-merge','sheets-shape-ui.shape.type.star32','beginPath','CurvedLeftArrow','activeAnObject','ActionButtonInformation','_loadShapePictureFill','Star7','_config','ShapeChevronIcon','refreshTransform','params','_activeAdjustInfo','sheets-shape-ui.shape.type.flow-chart-alternate-process','ShapeCurvedLeftArrowIcon','transformForAngle','AccentCallout2','_baseShapeLeft','sheets-shape-ui.shape.type.straight-connector2','shapeText','point','prstGeomAdjValues','sheets-shape-ui.shape.type.square-tabs','REMOVE','Callout1','getCurrentLastSelection','ShapeHeartIcon','833526mgDxvO','registerFeatureMenu','HorizontalScroll','length','sheets-shape-ui.shape.type.donut','_isShouldShowDrawingShapeAdjust','ShapeActionButtonForwardNextIcon','sheets-shape-ui.shape.type.callout2','_baseTop','Star16','_connectionSiteObjects','LeftRightArrowCallout','Large','ShapeEllipseRibbon2Icon','sheets-shape-ui.shape.type.straight-connector1','sheets-shape-ui.shape.type.flow-chart-summing-junction','_iconManager','shapeType','clipByShape','HomePlate','set','addImageSourceCache','ShapeBorderCallout3Icon','sheets-shape-ui.shape.type.left-right-circular-arrow','FlowchartMagneticTape','Round2DiagRect','sheets-shape-ui.shape.type.home-plate','stopPropagation','_unitId','interceptCommand','_hasReset','_cxtHandlerPointerUp','startY','_registerOperations','_registerDrawingFocusChangeHandler','_cxnIndex','focus$','sheets-shape-ui.shape.type.left-right-arrow','objects','unitId','Diamond','registerClipDelegate','None','sheets-shape-ui.shape.type.gear6','_clipService','sheets-shape-ui.shape.type.action-button-end','WedgeRoundRectCallout','getDrawingOrder','_isConnecting','BentUpArrow','sheets-shape-ui.shape.type.gear9','_clearControls','transformByState','_getConnectPointInfo','cxnPointRadius','adjustValues','enableObjectsEvent','sheets-shape-ui.shape.type.wave','stringify','sheets-shape-ui.align.top','FlowchartPredefinedProcess','_draggingConnectorId','ShapeLineInvIcon','_highlightedSiteIndex','TOP','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.shape.type.ellipse-ribbon2','_popupMenuListener','_reset','sheets-shape-ui.shape.type.horizontal-scroll','gridType','sheets-shape-ui.imagePanel.crop.shape','sheets-shape-ui.deleteShape','FromArray','primary.600','sheets-shape-ui.shape.type.vertical-scroll','ShapeGear9Icon','_componentManager','image','SnipRoundRect','getDrawingPoints','_attachAdjustEvent','flipX','LeftArrowCallout','sheets-shape-ui.toolbar.verticalAlignMode.main','AccentBorderCallout2','sheets-shape-ui.shape.type.decagon','ShapeTextEditorContainer','ShapeQuadArrowIcon','pushUndoRedo','getDrawingEditable','FlowchartMerge','ShapeOctagonIcon','FlowchartPunchedCard','sheets-shape-ui.shape.type.flow-chart-terminator','sheets-shape-ui.shape.type.rt-triangle','ShapeCubeIcon','FlowchartMultiDocument','_lastEditingShapeKey','_generateCopyPasteMutations','sheets-shape-ui.shape.type.snip1-rect','sheets-shape-ui.shape.type.accent-border-callout2','ShapeActionButtonDocumentIcon','ShapeBracePairIcon','PlaqueTabs','ShapeDownArrowIcon','custom','changing$','_subUnitId','updateLinePoints','StraightConnector1','sheets-shape-ui.shape.type.flow-chart-delay','ShapeFlowChartMagneticTapeIcon','onPointerUp$','LeftJustifyingIcon','_baseWidth','focusDrawing','endConnectionDetection','ShapePlaqueIcon','_updateAdjustControlPositions','buildClipPath','Star6','getBatchUpdateOp','Star4','sheets-shape-ui.shape.type.star4','sheetTransform','update$','HorizontallyIcon','getDrawingSearch','ShapeBentConnector3Arrow2Icon','viewportScrollY','ShapeFlowChartAlternateProcessIcon','ShapeStar5Icon','sheets-shape-ui','ShapeRightBracketIcon','BUTTON','top-center','getRenderById','sheets-shape-ui.shape.type.curved-left-arrow','ActionButtonForwardNext','ShapeSmileyFaceIcon','CurvedDownArrow','_baseLeft','oKey','_addShapeConnectorHandlerObjects','calcAdjValue','_getConnectionSiteAngle','getCurrentSkeleton','dispose','ShapeSnipRoundRectIcon','ActionButtonSound','_registerIcons','SmileyFace','_initSelection','blockArrow','sheets-shape-ui.shape.type.diamond','sheets-shape-ui.formatShape','ShapeCurvedConnector3Arrow2Icon','LeftUpArrow','_context','_sidebarDisposable','forEach','ShapeTeardropIcon','height','Trapezoid','UPDATE','end','Chord','sheets-shape-ui.shape.type.irregular-seal1','_imageIoService','dataStream','sheets-shape-ui.shape.type.star24','AccentBorderCallout1','_registerMoveHandler','_getImageDrawingInfo','_setTransForm','ShapeCurvedConnector3Arrow1Icon','sheets-shape-ui.shape.type.hexagon','Callout3','computeConnectorResizeLayout','getOwnPropertyDescriptor','isEditing','setShouldShowAdjust','getSkeletonParam','setContextValue','ShapePentagonIcon','_handleBasicShapeUpdateConnectorLineShape','ShapeStar10Icon','getDrawingByParam','computeStraightConnectorLayout','beforeCommandExecuted','ShapeFlowChartOrIcon','ShapeLeftUpArrowIcon','_sheetClipboardService','ancestorTransform','lineType','lineShapeId','_executeConnectedRouteConnectionCommand','ShapeFlowChartDisplayIcon','onSteady','ShapeHomePlateIcon','Pentagon','ShapePieIcon','sheetViewStartRow','start','changeEnd$','sheetViewStartColumn','sheets-shape-ui.shape.type.left-right-arrow-callout','cos','ShapeChordIcon','symbol','getUnitId','spaceBelow','viewportScrollX','_drawingRenderService','_sheetCanvasPopManagerService','sheets-shape-ui.shape.type.pie','sheets-shape-ui.shape.type.action-button-help','sheets-shape-ui.shape.type.striped-right-arrow','ShapeActionButtonBeginningIcon','horizontal','sheets-shape-ui.shape.type.bevel','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.lightning-bolt','sin','find','sheets-shape-ui.shape.type.accent-callout1','push','_shapeUpdateListener','setFillImage','sheets-shape-ui.shape.type.rect-textbox-vertical','Line','sheets-shape-ui.align.bottom','drawingType','LeftBrace','attachPopupToObject','ShapeAccentCallout2Icon','getTransformer','rotation','_loadAndSetImage','ShapeRectTextboxVerticalIcon','value','ShapeMathMinusIcon','_adjHandlerPointerUp','executeCommand','ShapePlaqueTabsIcon','MIDDLE','_calculateFreeEndpointAngle','Plaque','getZoomRatio','sheets-shape-ui.shape.type.parallelogram','sheets-shape-ui.shape.group.','_shapeEditPanelVersion','copyType','icon','flowchart','onCommandExecuted','connector-handler-','NoSmoking','sheets-shape-ui.shape.type.flow-chart-manual-input','_registerGroupFeaturePasteHook','_initCommands','sheets-shape-ui.rotateLeft90','sheets-shape-ui.shape.type.math-divide','_executeConnectedRouteResizeCommand','sheets-shape-ui.shape.type.snip2-diag-rect','BentConnector3','_groupCopyPasteController','_rerouteConnectorLine','translate','subscribeContextValue$','sheets-shape-ui.shape.type.action-button-document','scene','_createControls','getState','sheets-shape-ui.shape.type.bent-up-arrow','width','348OEqOoU','ShapeCurvedDownArrowIcon','TRUE','_handleConnectorPointerUp','Hexagon','ShapeStraightConnector2Icon','_isDrawingShapePointDown','ShapeRound2SameRectIcon','sheets-shape-ui.shape.type.curved-right-arrow','getEditing','ShapeFlowChartMergeIcon','call','ShapeFlowChartMultidocumentIcon','ShapeFunnelIcon','addClipboardHook','isInGroup','sheets-shape-ui.shape.type.ribbon2','defineProperty','_getZoomRatio','startX','FlowchartManualOperation','ShapeMathPlusIcon','skeleton','_props','Frame','sheet.command.set-shape-text-horizontal-align','prototype','doc','_generateCutPasteMutations','_initSheetChange','sheets-shape-ui.shape.type.flow-chart-or','updateContext','restore','constructor','sheets-shape-ui.shape.type.flow-chart-input-output','_getShapeAdjustPointListById','sheets-shape-ui.shape.type.smiley-face','_isImagePointerDown','ShapeRound1RectIcon','FlowchartAlternateProcess','ActionButtonHome','ShapeSunIcon','sheets-shape-ui.toolbar.horizontalAlignMode.main','ShapeDownArrowCalloutIcon','function','next','BorderCallout3','fill','_activeTargetShapeId','fonts$','pipe','isRenderLinePointsMode','getShapeData','SolidLine','_drawingAddListener','ShapeDiamondIcon','cxnPointStrokeWidth','shapeModel','ShapeSnip1RectIcon','_openShapeEditPanel','fillImageSourceType','_insertShapes','getCurrentTypeOfUnit$','VIEW_MAIN_LEFT','1.0.0-alpha.0','Star8','renderConfig','highlighted','sheets-shape-ui.shape.type.chord','scale','some','sheets-shape-ui.shape.type.quad-arrow-callout','worldRect','ShapeFlowChartDelayIcon','OPERATION','MathMinus','ShapeNotchedRightArrowIcon','type','_registerDrawingMoveHandler','getRealBound','setPrstGeomAdjValues','_initEvents','isDrawingObject','MathPlus','getDrawingOKey','ShapeHorizontalScrollIcon','sheet.command.set-shape-text-vertical-align','ActionButtonBeginning','sheets-shape-ui.shape.type.star16','FlowChartOfflineStorage','ActionButtonDocument','sheets-shape-ui.shape.type.flow-chart-predefined-process','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','UNIVER_SHEET','sheets-shape-ui.shape.type.flow-chart-offline-storage','_disposePopups','gdRefR','ShapeHalfFrameIcon','getShapeType','sheets-shape-ui.shape.type.action-button-return','sheets-shape-ui.shape.type.can','ShapeBentArrowIcon','updateConnectionDetection','_sheetBasicShapeConnectionPointController','setOnSavingEditorData','sheets-shape-ui.shape.type.snip-round-rect','LightningBolt','_clearPopups','ang','2134ElTqsY','sheets-shape-ui.shape.type.border-callout3','dataModel','RightArrowCallout','sheets-shape-ui.shape.type.star7','DownArrowCallout','ShapeFlowChartInputOutputIcon','multiply','Sun','Star32','_connectorObjects','EllipseRibbon','getConnectionInfo','registerCommand','_findNearestConnectionSite','getBatchRemoveOp','ShapeGear6Icon','vertical','starAndBanner','ShapeLeftCircularArrowIcon','_initEditingParams','Star10','ShapeHexagonIcon','sheets-shape-ui.shape.type.up-down-arrow-callout','Arc','_baseShapeHeight','Star12','DRAWING_IMAGE','classType','#1a73e8','ShapeDonutIcon','indexOf','sheet.shape.edit.panel','_initializedShapePopupMenu','sheets-shape-ui.shape.type.ellipse-ribbon','_shapeId','getStartConnectInfo','Round2SameRect','ShapeDiagStripeIcon','ShapeCallout3Icon','setShapeData','sheets-shape-ui.shape.type.action-button-forward-next','sheets-shape-ui.shape.type.flow-chart-display','editingParams$','getConnectionRelation','334045tPDhuj','sheets-shape-ui.shape.type.rect','sheet.command.shape-doc-align','getDrawingVisible','ShapeStar4Icon','ActionButtonMovie','localToWorld','sheets-shape-ui.shape.type.round-rect','_urlImageService','applyPoint','_sidebarService','sheets-shape-ui.shape.type.wedge-round-rect-callout','#111827','getBentTypeFromPoints','sheets-shape-ui.toggleFlipV','Cube','Heart','RightArrow','CurvedConnector3','SHAPE','ShapeAccentCallout1Icon','prstGeom','syncExecuteCommand','_currentUniverService','ChartX','sheets-shape-ui.shape.type.bracket-pair','getSkeleton','getConnectionSiteList','keys','slice','_updateImageAdjValues','sheets-shape-ui.shape.type.non-isosceles-trapezoid','UpDownArrowCallout','sheets-shape-ui.align.center','_commandService','clearAdjustValue','sheets-shape-ui.align.middle','Corner','_getImagePrstGeom','isHitLine','sheet.command.set-shape-text-font-size-increase','gdRefX','ShapeActionButtonEndIcon','sheets-shape-ui.shape.type.round2-same-rect','_handleConnectedEndpointMove','DEFAULT','cxnPointFill','INSERT','makeDirty','transform','DRAWING_DOM','FlowChartInputOutput','CUT','filter','angle','PieWedge','ShapeLineIcon','sheets-shape-ui.shape.type.line-inv','sheets-shape-ui.shape.type.curved-down-arrow','CENTER','1050RkyjgM','Gear6','LEFT','ShapeCloudCalloutIcon','ShapeFolderCornerIcon','has','_getShapeInfo','sheets-shape-ui.shape.type.flow-chart-internal-storage','16310CkFrNk','preValue','name','sheets-shape-ui.shape.type.action-button-home','endArrow','_activeShapeInfo','snapToGrid','2bxUwMf','getAdjustNames','clip-','ShapeTrapezoidIcon','AlignBottomIcon','body','sheets-shape-ui.toggleFlipH','ShapeFlowChartConnectorIcon','drawWith','basicShape','_activeShapeAdjustPointList','MEDIA','disableObjectsEvent','resetCursor','ShapeActionButtonBackPreviousIcon','sheets-shape-ui.shape.type.star12','445566abikbo','setCanUseShapeClip','getTransformerByCreate','getBatchAddOp','_drawShapeText','_getShapeAdjustInfosById','_editingParams$','BlockArc','getShapePopupMenus','blockExecuteWithoutPermission','_copyInfo','sheets-shape-ui.shape.type.round2-diag-rect','ShapeDodecagonIcon','getShapeDataById','_baseShapeWidth','flipY','sheets-shape-ui.toggleTextVertical','sheet.shape.floating-toolbar','sheets-shape-ui.shape.type.chart-plus','map','sheets-shape-ui.shape.type.arc','iterator','stroke','ShapeFlowChartManualInputIcon','ActionButtonBlank','96qpNqHC','viewBound','redo','sheets-shape-ui.shape.type.corner','calculate','sheets-shape-ui.shape.type.flow-chart-offpage-connector','sheets-shape-ui.shape.type.trapezoid','sheet.command.menu-insert-shape','adjHandleStroke','COMMAND','ShapeMathNotEqualIcon','ShapeFlowChartTerminatorIcon','srcRect','setCursor','_showConnectionSites','_baseDrawingRect','RoundRect','Path','_activeShapeId','FoldedCorner','LeftCircularArrow','WedgeEllipseCallout','_shapes','_localeService','_executeConnectionCommand','_commandExecutedListener','#bcbcbc','ActionButtonHelp','unsubscribe','ShapeFlowChartOfflineStorageIcon','spaceAbove','sheets-shape-ui.shape.type.flow-chart-process','targetShapeId','_createShapeAdjustControls','cxnIndex','Snip2DiagRect','FALSE','activeSheet$','sheets-shape-ui.shape.type.up-arrow','_resetState','_isOpenedShapeEditPanel','label','ShapeFlowChartProcessIcon','CROSSHAIR','ShapeStar24Icon','univer-box-border\x20univer-px-4\x20univer-text-sm','FlowchartSort','size','getObjectIncludeInGroup','shapeData','fillImageSource','updateShapeFillImage','FlowchartManualInput','sheets-shape-ui.shape.type.action-button-movie','FlowchartCollate','shapeKey','shape-adjust-point-','registerFeaturePasteHook','sheets-shape-ui.shape.type.math-multiply','ShapeFrameIcon','ShapeCallout1Icon','src','ShapeParallelogramIcon','max','MathDivide','_sheetPermissionCheckController','getShapeTextData','UpArrow','sheets-shape-ui.config','BracePair','Medium','ShapeRibbonIcon','_closeShapeEditPanel','paragraphStyle','subscribe','sheets-shape-ui.shape.type.snip2-same-rect','ShapeQuadArrowCalloutIcon','onload','ActionButtonBackPrevious','sheets-shape-ui.shape.type.uturn-arrow','VIEW_MAIN','FlowchartDelay','ShapeUpArrowCalloutIcon','VIEW_MAIN_TOP','equationShape','DiagStripe','ShapeRightBraceIcon','sheet.shape.text.float-menu','object','pluginName','onTransformChange$','ShapeNonIsoscelesTrapezoidIcon','registerRenderModule','CornerTabs','_shapeService','getConnectorLinePoints','getImageSourceCache','sheets-shape-ui.shape.type.ellipse','sheets-shape-ui.shape.type.curved-connector3-arrow2','offsetY','_sheetSkeletonService','visible','worldPoints','FORMAT','_baseHeight','get','_registerShapeMenu','sheets-shape-ui.shape.type.star8','changeShapeType','ShapeStar16Icon','_clearConnectionSites','sheets-shape-ui.shape.type.wedge-ellipse-callout','getAllUnitsForType','ShapeLeftArrowCalloutIcon','disposeWithMe','_generatePasteMutations','Arrow','_getSceneAndTransformerByDrawingSearch','sheets-shape-ui.shape.type.brace-pair','EllipseRibbon2','getMatrix','isRender','sheets-shape-ui.shape.type.double-wave','START','open','ShapeFlowChartPunchedTapeIcon','sheets-shape-ui.shape.type.pentagon','resize','URL','_baseShapeTop','_moveConnectorWithShape','sheets-shape-ui.shape.type.chart-x','ShapeRtTriangleIcon','ShapeSquareTabsIcon','initShapePopupMenu','version','Star24','ShapeNoSmokingIcon','_isStartConnectorPoint','_init','startConnectionDetection','onDblclick$','subUnitId','PictureFill','getDrawingData','sheets-shape-ui.shape.type.callout1','setAdjustValueByName','_adjName','ShapeRectIcon','Dodecagon','DRAWING_SHAPE','_transformCalculateSrcRect','_clearShapeConnectorHandlerObjects'];_0x415e=function(){return _0x26e166;};return _0x415e();}let Q=class extends _0x2d969b{constructor(_0x4962a5,_0x5dc2be,_0x10e639,_0x906b2b,_0x4233ee,_0x1b3ab6,_0x1cbc0e,_0x12bcbd,_0x396a0d,_0x590f57,_0x5dd970){const _0x418d51=_0x1e4b59;super(),this[_0x418d51(0x204)]=_0x4962a5,this[_0x418d51(0x426)]=_0x5dc2be,this[_0x418d51(0x530)]=_0x10e639,this[_0x418d51(0x593)]=_0x906b2b,this[_0x418d51(0x4a7)]=_0x4233ee,this[_0x418d51(0x43e)]=_0x1b3ab6,this[_0x418d51(0x557)]=_0x1cbc0e,this[_0x418d51(0x344)]=_0x12bcbd,this[_0x418d51(0x5ed)]=_0x396a0d,this['_renderManagerService']=_0x590f57,this[_0x418d51(0x249)]=_0x5dd970,G(this,_0x418d51(0x30d),null),G(this,_0x418d51(0x465),null),G(this,_0x418d51(0x4b8),!0x1),G(this,_0x418d51(0x369),0x0),G(this,_0x418d51(0x410),new Set()),G(this,_0x418d51(0x3e1),[]),this['_initMenu'](),this[_0x418d51(0x502)](this[_0x418d51(0x204)][_0x418d51(0x3c0)](_0x45bf6b[_0x418d51(0x3df)])[_0x418d51(0x4da)](_0x25db4d=>{const _0xd25909=_0x418d51;if(!_0x25db4d){var _0x535929;(_0x535929=this[_0xd25909(0x30d)])==null||_0x535929[_0xd25909(0x301)]();return;}this[_0xd25909(0x560)](_0x25db4d);})),this[_0x418d51(0x28e)](),this[_0x418d51(0x4fa)](),this[_0x418d51(0x516)](),this['disposeWithMe'](this['_shapeTextEditingService'][_0x418d51(0x41a)][_0x418d51(0x4da)](_0x1fa8df=>{const _0x14b985=_0x418d51;_0x1fa8df&&this[_0x14b985(0x3ed)]();}));}['_initMenu'](){const _0x152e64=_0x1e4b59;this[_0x152e64(0x530)][_0x152e64(0x207)](io);}['_registerShapeMenu'](){const _0x37aa4b=_0x1e4b59;this[_0x37aa4b(0x344)][_0x37aa4b(0x26e)](_0x44ab60[_0x37aa4b(0x526)],this[_0x37aa4b(0x47f)][_0x37aa4b(0x5f7)](this)),this['_sheetCanvasPopManagerService']['registerFeatureMenuOffset'](_0x44ab60[_0x37aa4b(0x526)],0x6,0x4);}[_0x1e4b59(0x516)](){const _0x2f1fd3=_0x1e4b59;this['_univerInstanceService'][_0x2f1fd3(0x500)](_0x45bf6b[_0x2f1fd3(0x3df)])[_0x2f1fd3(0x30e)](_0x301833=>this[_0x2f1fd3(0x560)](_0x301833));}['getShapePopupMenus'](_0x8b1a3e,_0x47c7ef,_0x4c49ec,_0x4e8ff6){const _0xed6e88=_0x1e4b59;return[{'label':'sheets-shape-ui.openPanel','index':0x0,'commandId':ja['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec},'disable':_0x4e8ff6===_0x44ab60[_0xed6e88(0x44e)]},{'label':_0xed6e88(0x2b5),'index':0x1,'commandId':_0x408d74['id'],'commandParams':{'unitId':_0x8b1a3e,'drawings':[{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec,'drawingType':_0x4e8ff6}]},'disable':!0x1},{'label':_0xed6e88(0x234),'index':0x2,'commandId':Aa['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'drawingId':_0x4c49ec},'disable':!0x1},{'label':_0xed6e88(0x46d),'index':0x3,'commandId':_0x4475bc['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'flipH':!0x0},'disable':!0x1},{'label':_0xed6e88(0x42a),'index':0x4,'commandId':_0x4475bc['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'flipV':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.rotateRight90','index':0x4,'commandId':_0x326f25['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'rotate':0x5a},'disable':!0x1},{'label':_0xed6e88(0x373),'index':0x4,'commandId':_0x326f25['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec,'rotate':-0x5a},'disable':!0x1},{'label':_0xed6e88(0x487),'index':0x4,'commandId':_0x48a6b0['id'],'commandParams':{'unitId':_0x8b1a3e,'subUnitId':_0x47c7ef,'shapeId':_0x4c49ec},'disable':!0x1}];}['_getShapeInfo'](_0x29c50b,_0x377d93,_0x2f2b9b){const _0x933a78=_0x1e4b59;let _0x3cf602=this[_0x933a78(0x593)][_0x933a78(0x55d)](_0x29c50b,_0x377d93,_0x2f2b9b),_0x542d7b=this[_0x933a78(0x593)][_0x933a78(0x484)](_0x29c50b,_0x377d93,_0x2f2b9b);return _0x3cf602!==void 0x0&&_0x542d7b!==void 0x0?{'shapeData':_0x542d7b,'shapeId':_0x2f2b9b,'shapeType':_0x3cf602,'unitId':_0x29c50b,'subUnitId':_0x377d93,'version':this[_0x933a78(0x369)],'disableShapeOption':!0x1}:null;}[_0x1e4b59(0x560)](_0x587bc8){const _0x32c8de=_0x1e4b59;if(!_0x587bc8)return;let _0x1c857c=_0x587bc8[_0x32c8de(0x340)]();this['_renderManagerService'][_0x32c8de(0x45d)](_0x1c857c)&&!this[_0x32c8de(0x410)][_0x32c8de(0x45d)](_0x1c857c)&&(this['_popupMenuListener'](_0x1c857c),this['_initializedShapePopupMenu'][_0x32c8de(0x565)](_0x1c857c));}[_0x1e4b59(0x3ed)](){const _0x171b04=_0x1e4b59;this[_0x171b04(0x3e1)][_0x171b04(0x30e)](_0x447ccf=>_0x447ccf['dispose']()),this['_disposePopups'][_0x171b04(0x270)]=0x0;}[_0x1e4b59(0x2b0)](_0x8fe97){const _0x2b873b=_0x1e4b59;var _0x135812;let _0x5d6092=(_0x135812=this[_0x2b873b(0x1f0)][_0x2b873b(0x2f6)](_0x8fe97))==null?void 0x0:_0x135812[_0x2b873b(0x37d)],_0x2d570c=_0x5d6092==null?void 0x0:_0x5d6092[_0x2b873b(0x479)]();!_0x5d6092||!_0x2d570c||(this[_0x2b873b(0x502)](_0x2d570c[_0x2b873b(0x5e5)]['subscribe'](()=>{const _0x11b562=_0x2b873b;let _0x3c0abf=_0x2d570c['getSelectedObjectMap']();if(this['_clearPopups'](),this['_isOpenedShapeEditPanel']||_0x3c0abf[_0x11b562(0x4bf)]>0x1)return;let _0xf2d8cc=_0x3c0abf['values']()[_0x11b562(0x3af)]()[_0x11b562(0x35e)];if(!_0xf2d8cc)return;let _0x9ec20a=this[_0x11b562(0x557)][_0x11b562(0x3d6)](_0xf2d8cc['oKey']);if(!_0x9ec20a||_0x9ec20a[_0x11b562(0x356)]!==_0x44ab60[_0x11b562(0x526)])return;let {unitId:_0x3e67fd,subUnitId:_0x23f4a9,drawingId:_0x4feb91,drawingType:_0x174214}=_0x9ec20a,_0x181722=this[_0x11b562(0x45e)](_0x3e67fd,_0x23f4a9,_0x4feb91);if(!_0x181722)return;this['_contextService'][_0x11b562(0x325)](_0x174548,!0x0);let _0x163a76=this['_sheetCanvasPopManagerService'][_0x11b562(0x358)](_0xf2d8cc,{'componentKey':Na,'direction':_0x11b562(0x2f5),'offset':[0x0,0x8],'extraProps':{'unitId':_0x3e67fd,'subUnitId':_0x23f4a9,'drawingId':_0x4feb91,'drawingType':_0x174214,'shapeType':_0x181722[_0x11b562(0x27e)],'shapeData':_0x181722[_0x11b562(0x4c1)]}});this['_disposePopups']['push'](this[_0x11b562(0x502)](_0x163a76)),this[_0x11b562(0x557)][_0x11b562(0x5b1)]()[_0x11b562(0x34e)](_0x211df3=>_0x211df3[_0x11b562(0x294)]===_0x3e67fd&&_0x211df3[_0x11b562(0x51e)]===_0x23f4a9&&_0x211df3[_0x11b562(0x23e)]===_0x4feb91)||this[_0x11b562(0x557)][_0x11b562(0x2e1)]([{'unitId':_0x3e67fd,'subUnitId':_0x23f4a9,'drawingId':_0x4feb91}]);})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x57f)][_0x2b873b(0x4da)](()=>{const _0x5618d8=_0x2b873b;this[_0x5618d8(0x3ed)](),this[_0x5618d8(0x5ed)][_0x5618d8(0x325)](_0x174548,!0x1),this['_drawingManagerService'][_0x5618d8(0x2e1)](null);})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x2d8)]['subscribe'](()=>{this['_clearPopups']();})),this['disposeWithMe'](_0x2d570c[_0x2b873b(0x203)][_0x2b873b(0x4da)](()=>{const _0xef551f=_0x2b873b;this[_0xef551f(0x3ed)]();})));}[_0x1e4b59(0x28e)](){const _0x31d0e6=_0x1e4b59;this[_0x31d0e6(0x502)](this['_commandService'][_0x31d0e6(0x36d)](_0x3cdc59=>{const _0x52b291=_0x31d0e6;if(_0x3cdc59['id']===ja['id']){let {unitId:_0x561b20,subUnitId:_0x2e0f57,drawingId:_0x5303cd}=_0x3cdc59[_0x52b291(0x25d)];this[_0x52b291(0x369)]+=0x1,this[_0x52b291(0x465)]=this['_getShapeInfo'](_0x561b20,_0x2e0f57,_0x5303cd),this[_0x52b291(0x3ed)](),this[_0x52b291(0x3bd)]();}if(_0x3cdc59['id']===Aa['id']&&(this[_0x52b291(0x465)]=null,this[_0x52b291(0x4d8)]()),_0x3cdc59['id']===_0x34adc6['id']){let {unitId:_0xe3cce,subUnitId:_0x3861af,shapeId:_0xd5089d}=_0x3cdc59['params'];if(this[_0x52b291(0x465)]&&this[_0x52b291(0x465)][_0x52b291(0x543)]===_0xd5089d){let _0x3b49d2=this[_0x52b291(0x45e)](_0xe3cce,_0x3861af,_0xd5089d);_0x3b49d2&&(this['_shapeEditPanelVersion']+=0x1,_0x3b49d2[_0x52b291(0x517)]=this[_0x52b291(0x369)],this['_activeShapeInfo']=_0x3b49d2,this[_0x52b291(0x4b8)]&&this[_0x52b291(0x3bd)]());}}})),this['disposeWithMe'](this['_drawingManagerService'][_0x31d0e6(0x291)][_0x31d0e6(0x4da)](_0x3a231d=>{const _0x329c76=_0x31d0e6;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3a231d[_0x329c76(0x270)]===0x0){this[_0x329c76(0x465)]=null,this[_0x329c76(0x4d8)]();return;}if(_0x3a231d[_0x329c76(0x270)]===0x1&&_0x3a231d[0x0][_0x329c76(0x356)]===_0x44ab60[_0x329c76(0x526)]&&(this['_shapeEditPanelVersion']+=0x1,this[_0x329c76(0x465)]=this[_0x329c76(0x45e)](_0x3a231d[0x0][_0x329c76(0x294)],_0x3a231d[0x0][_0x329c76(0x51e)],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)])){this[_0x329c76(0x3bd)]();return;}let _0x36c280=_0x3a231d['filter'](_0x5d8818=>_0x5d8818[_0x329c76(0x356)]===_0x44ab60[_0x329c76(0x526)]);if(_0x3a231d[_0x329c76(0x270)]>0x1&&_0x36c280['length']===_0x3a231d[_0x329c76(0x270)]){if(this['_shapeEditPanelVersion']+=0x1,this[_0x329c76(0x465)]=this['_getShapeInfo'](_0x3a231d[0x0]['unitId'],_0x3a231d[0x0]['subUnitId'],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)]){this[_0x329c76(0x3bd)]();return;}}else{if(this[_0x329c76(0x369)]+=0x1,this[_0x329c76(0x465)]=this[_0x329c76(0x45e)](_0x3a231d[0x0][_0x329c76(0x294)],_0x3a231d[0x0][_0x329c76(0x51e)],_0x3a231d[0x0][_0x329c76(0x23e)]),this[_0x329c76(0x465)]){this[_0x329c76(0x465)]['disableShapeOption']=!0x0,this['_openShapeEditPanel']();return;}}this[_0x329c76(0x4d8)]();}));}[_0x1e4b59(0x3bd)](){const _0x4103d5=_0x1e4b59;this['_activeShapeInfo']&&(this['_sidebarDisposable']=this[_0x4103d5(0x426)][_0x4103d5(0x50c)]({'id':Ma,'header':{'title':this[_0x4103d5(0x4a7)]['t'](_0x4103d5(0x309))},'width':0x184,'children':{'label':Ma,...this[_0x4103d5(0x465)]},'onClose':()=>{const _0x31f6e6=_0x4103d5;this[_0x31f6e6(0x557)]['focusDrawing'](null),this['_contextService'][_0x31f6e6(0x325)](_0x174548,!0x1),this[_0x31f6e6(0x30d)]=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x1e4b59(0x4d8)](){const _0x18d901=_0x1e4b59;this[_0x18d901(0x4b8)]=!0x1,this[_0x18d901(0x426)][_0x18d901(0x5a3)](Ma),this[_0x18d901(0x30d)]=null,this[_0x18d901(0x5ed)][_0x18d901(0x325)](_0x174548,!0x1),this['_drawingManagerService']['focusDrawing'](null);}};Q=X([Y(0x0,_0x2b0f26),Y(0x1,_0x49bdac(_0x966260)),Y(0x2,_0xca6cc4),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x10276c)),Y(0x5,_0x229c27),Y(0x6,_0xd6b9bd),Y(0x7,_0x49bdac(_0x3d2b95)),Y(0x8,_0x1b0873),Y(0x9,_0x2302c1),Y(0xa,_0x49bdac(K))],Q);var ao=_0x1e4b59(0x226),oo=_0x1e4b59(0x3c2);const so={};let co=class extends _0x2d969b{constructor(_0x4140ce,_0x2dd9be,_0x467a41,_0x18fefa,_0x588c5c,_0x5f0bb4){const _0x41ba4f=_0x1e4b59;super(),this[_0x41ba4f(0x43e)]=_0x4140ce,this[_0x41ba4f(0x1f0)]=_0x2dd9be,this[_0x41ba4f(0x557)]=_0x467a41,this[_0x41ba4f(0x433)]=_0x18fefa,this[_0x41ba4f(0x343)]=_0x588c5c,this[_0x41ba4f(0x5d2)]=_0x5f0bb4,this[_0x41ba4f(0x595)]();}['_initialize'](){const _0x3eff47=_0x1e4b59;this[_0x3eff47(0x3b8)](),this[_0x3eff47(0x4a9)](),this[_0x3eff47(0x351)]();}[_0x1e4b59(0x3b8)](){const _0x5d5521=_0x1e4b59;this['disposeWithMe'](this['_drawingManagerService'][_0x5d5521(0x553)][_0x5d5521(0x4da)](_0x17dfec=>{const _0x44a733=_0x5d5521;this[_0x44a733(0x3bf)](_0x17dfec);}));}['_commandExecutedListener'](){const _0x3020a6=_0x1e4b59;this['disposeWithMe'](this[_0x3020a6(0x43e)][_0x3020a6(0x36d)](_0x1d4bbd=>{const _0x2fbf7a=_0x3020a6;if(_0x1d4bbd['id']===_0x215d73['id']){var _0x1998e5;let {unitId:_0x78f351,subUnitId:_0x5e91dd,shapeId:_0x55e715}=_0x1d4bbd[_0x2fbf7a(0x25d)],_0x39f42b=this[_0x2fbf7a(0x505)](_0x78f351);if(_0x39f42b==null)return;let {scene:_0xe49586}=_0x39f42b,_0xb0628a=_0x79bce2({'unitId':_0x78f351,'subUnitId':_0x5e91dd,'drawingId':_0x55e715}),_0x2ae492=_0xe49586[_0x2fbf7a(0x4c0)](_0xb0628a);if(!((_0x1998e5=this[_0x2fbf7a(0x1f0)][_0x2fbf7a(0x2f6)](_0x78f351))!=null&&_0x1998e5[_0x2fbf7a(0x22c)](_0x3da40f)[_0x2fbf7a(0x436)](_0x5e91dd)))return!0x1;if(_0x2ae492)return;this['_insertShapes']([{'unitId':_0x78f351,'subUnitId':_0x5e91dd,'drawingId':_0x55e715}]);}}));}[_0x1e4b59(0x351)](){const _0x54eadf=_0x1e4b59;this[_0x54eadf(0x502)](this['_drawingManagerService'][_0x54eadf(0x2eb)]['subscribe'](_0x32b05f=>{_0x32b05f['forEach'](_0x299161=>{const _0x31bb5e=_0xa61a;let {unitId:_0x5a74f0,subUnitId:_0x4e99f4,drawingId:_0x2d82a7}=_0x299161,_0x39acb2=this[_0x31bb5e(0x557)][_0x31bb5e(0x329)](_0x299161);if(_0x39acb2==null)return;let {transform:_0x4981a5,drawingType:_0x5bc83f,srcRect:_0x79d52f,prstGeom:_0x5a6cc3}=_0x39acb2;if(_0x5bc83f!==_0x44ab60[_0x31bb5e(0x526)])return;let _0x3cb71c=this[_0x31bb5e(0x505)](_0x5a74f0);if(_0x3cb71c==null)return;let {scene:_0x3acaaf,transformer:_0x5c6415}=_0x3cb71c;if(_0x4981a5==null)return!0x0;let _0x19be8b=_0x79bce2({'unitId':_0x5a74f0,'subUnitId':_0x4e99f4,'drawingId':_0x2d82a7}),_0x209a05=_0x3acaaf[_0x31bb5e(0x4c0)](_0x19be8b);if(_0x209a05==null)return!0x0;_0x209a05[_0x31bb5e(0x5c7)](_0x79d52f),_0x209a05[_0x31bb5e(0x218)](_0x5a6cc3);});}));}[_0x1e4b59(0x4c3)](_0x38be70,_0x34399c){const _0x4c38ef=_0x1e4b59;let {unitId:_0x27b81e,subUnitId:_0x1a287,drawingId:_0x165e6f}=_0x38be70,_0x25187d=this[_0x4c38ef(0x505)](_0x27b81e);if(_0x25187d==null)return;let {scene:_0x529fe8}=_0x25187d,_0x5d7a42=_0x79bce2({'unitId':_0x27b81e,'subUnitId':_0x1a287,'drawingId':_0x165e6f}),_0x3508a0=_0x529fe8[_0x4c38ef(0x4c0)](_0x5d7a42);_0x3508a0!=null&&_0x3508a0[_0x4c38ef(0x352)](_0x34399c);}[_0x1e4b59(0x3bf)](_0x3d272c){_0x3d272c['forEach'](async _0x5dac41=>{const _0x12345=_0xa61a;var _0x1eb5fa;let {unitId:_0x5e560f,subUnitId:_0xa1b3b8}=_0x5dac41,_0x5b610c=this[_0x12345(0x505)](_0x5e560f),_0x2855f3=(_0x1eb5fa=_0x309101(this[_0x12345(0x433)],_0x5e560f))==null?void 0x0:_0x1eb5fa[_0x12345(0x51e)];if(_0x5b610c==null||_0x2855f3!==_0xa1b3b8)return;let _0x445a6a=this[_0x12345(0x557)][_0x12345(0x329)](_0x5dac41);if(_0x445a6a!=null&&_0x445a6a[_0x12345(0x356)]===_0x44ab60[_0x12345(0x526)]){if(_0x241b3b((_0x445a6a[_0x12345(0x569)]||{})[_0x12345(0x27e)])){let _0x1a5039=_0x445a6a[_0x12345(0x44d)];_0x1a5039&&(_0x445a6a['transform']={..._0x1a5039,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_drawingManagerService'][_0x12345(0x25c)]([_0x445a6a]),this[_0x12345(0x5d2)]['renderDrawingShape'](_0x445a6a,_0x5b610c[_0x12345(0x37d)]);}});}['_getSceneAndTransformerByDrawingSearch'](_0x41c431){const _0x48d88b=_0x1e4b59;if(_0x41c431==null)return;let _0x758442=this[_0x48d88b(0x1f0)]['getRenderById'](_0x41c431),_0x22016b=_0x758442==null?void 0x0:_0x758442[_0x48d88b(0x37d)];return _0x22016b==null?null:{'scene':_0x22016b,'transformer':_0x22016b[_0x48d88b(0x479)]()};}};co=X([Y(0x0,_0x229c27),Y(0x1,_0x2302c1),Y(0x2,_0xd6b9bd),Y(0x3,_0x2b0f26),Y(0x4,_0x49bdac(_0x2f32d0)),Y(0x5,_0x49bdac(Z))],co);function lo(){const _0x360617=_0x1e4b59;let _0x184213=_0x51983f(_0xd6b9bd),[_0x18f2d3,_0x233fbf]=_0x4fd01b(_0x184213[_0x360617(0x5b1)]());return _0x47891a(()=>{let _0x5e574a=_0x184213['focus$']['subscribe'](_0x4ea265=>{_0x233fbf(_0x4ea265);});return()=>{const _0x33a5bc=_0xa61a;_0x5e574a[_0x33a5bc(0x4ac)]();};},[]),_0x18f2d3[_0x360617(0x270)]===0x0?null:_0x5a567d(_0x360617(0x1fd),{'children':_0x96059a('div',{'className':_0x360617(0x4bd),'children':[_0x5a567d(_0x447bc8,{'drawings':_0x18f2d3,'hasCropper':!0x1}),_0x5a567d(_0x5d9940,{'drawings':_0x18f2d3})]})});}function uo(_0x340889){let {unitId:_0x468cad,subUnitId:_0x54cbdc,shapeId:_0x2a4d72}=_0x340889,_0x3a627c=_0x51983f(_0x229c27),_0x173793=_0x51983f(co);return _0x5a567d(_0x5e9017,{..._0x340889,'positionEditor':_0x5a567d(lo,{}),'onUpdateShapeData':(_0x377585,_0x25ccea)=>{Fa(_0x3a627c,_0x468cad,_0x54cbdc,_0x2a4d72,_0x377585,_0x25ccea);},'onUpdateLineShapeData':(_0x460914,_0x1b4059)=>{Ia(_0x3a627c,_0x468cad,_0x54cbdc,_0x2a4d72,_0x460914,_0x1b4059);},'onUpdateShapeFillImage':_0x937b01=>{const _0x19d1f5=_0xa61a;_0x173793[_0x19d1f5(0x4c3)]({'unitId':_0x468cad,'subUnitId':_0x54cbdc,'drawingId':_0x2a4d72},_0x937b01);}});}function fo(_0x12e242){const _0x365aef=_0x1e4b59;let _0x21ab4f=_0x12e242[_0x365aef(0x265)];return _0x21ab4f&&_0x365aef(0x3f1)in _0x21ab4f&&_0x21ab4f[_0x365aef(0x3f1)]?_0x21ab4f[_0x365aef(0x3f1)]:null;}function po(_0x35153b){const _0x5a3b75=_0x1e4b59;var _0x42f713,_0x30f2ee,_0x582931,_0x293c0a;let _0x15f029=(_0x42f713=fo(_0x35153b))==null?void 0x0:_0x42f713[_0x5a3b75(0x39d)],_0x1f00d2=(_0x30f2ee=_0x15f029==null||(_0x582931=_0x15f029[_0x5a3b75(0x46c)])==null||(_0x582931=_0x582931['textRuns'])==null||(_0x582931=_0x582931[0x0])==null?void 0x0:_0x582931['ts'])==null?{}:_0x30f2ee;return{..._0x15f029==null||(_0x293c0a=_0x15f029[_0x5a3b75(0x52a)])==null?void 0x0:_0x293c0a['textStyle'],..._0x1f00d2};}function mo(_0x4abd41){const _0x23fcb7=_0x1e4b59;let _0x484dd1=_0x4abd41[_0x23fcb7(0x5aa)]['extraProps'];return _0x484dd1?_0x5a567d(ho,{..._0x484dd1}):null;}function ho(_0x420973){const _0x160fc0=_0x1e4b59;var _0x27af68,_0x39045e;let _0x149af5=_0x51983f(_0x229c27),_0x1a94f6=_0x51983f(_0x10276c),_0xacbe61=_0x51983f(_0x114e41),_0x479a57=_0x51983f(_0x4c16c9),{unitId:_0x57fee2,subUnitId:_0x4cde71,drawingId:_0x4bfbc9,drawingType:_0x4d8b58,shapeType:_0x45722b}=_0x420973,[_0x5aa241,_0x4eefe9]=_0x4fd01b(_0x420973['shapeData']),[_0x17c3c6,_0x3a0ddc]=_0x4fd01b(()=>_0x479a57[_0x160fc0(0x24d)]()),_0x33da89=_0x14e766(()=>po(_0x5aa241),[_0x5aa241]),_0x373a14=_0x14e766(()=>fo(_0x5aa241),[_0x5aa241]);_0x47891a(()=>{const _0x5e7429=_0x160fc0;let _0x1f3a6d=_0x149af5[_0x5e7429(0x36d)](_0x2ef216=>{const _0x21c8e0=_0x5e7429;if(_0x2ef216['id']!==_0x34adc6['id'])return;let _0x22d9a9=_0xacbe61[_0x21c8e0(0x484)](_0x57fee2,_0x4cde71,_0x4bfbc9);_0x22d9a9&&_0x4eefe9(_0x22d9a9);});return()=>_0x1f3a6d[_0x5e7429(0x301)]();},[_0x149af5,_0x4bfbc9,_0xacbe61,_0x4cde71,_0x57fee2]),_0x47891a(()=>{const _0xa9e8cc=_0x160fc0;let _0x4ef1eb=_0x479a57[_0xa9e8cc(0x3b3)][_0xa9e8cc(0x4da)](_0x44b387=>{_0x3a0ddc(_0x44b387);});return()=>_0x4ef1eb[_0xa9e8cc(0x4ac)]();},[_0x479a57]);let _0x357336=_0x192568=>{_0x4eefe9(_0x4f8594=>({..._0x4f8594,..._0x192568}));},_0x167af8=_0x240700=>{const _0x553919=_0x160fc0;let _0x4c740d=_0x5bab21(_0x5aa241,_0x240700);Fa(_0x149af5,_0x57fee2,_0x4cde71,_0x4bfbc9,{'oldShapeData':{'shapeText':_0x5aa241[_0x553919(0x265)]}},_0x4c740d),_0x357336(_0x4c740d);},_0x5a7cc7=_0x17c3c6[_0x160fc0(0x48a)](_0x5688f4=>({'label':_0x1a94f6['t'](_0x5688f4[_0x160fc0(0x4b9)]),'value':_0x5688f4[_0x160fc0(0x35e)]}));return _0x5a567d(_0x172aab,{'shapeData':_0x5aa241,'shapeType':_0x45722b,'textStyle':{'cl':{'rgb':_0x160fc0(0x428)},..._0x33da89},'textModel':_0x373a14?{'ha':(_0x27af68=_0x373a14['ha'])==null?_0x32f1d8[_0x160fc0(0x45a)]:_0x27af68,'va':(_0x39045e=_0x373a14['va'])==null?_0x3e15ec['TOP']:_0x39045e}:null,'fontOptions':_0x5a7cc7,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'onUpdateShapeData':(_0x24637a,_0x48f579)=>{Fa(_0x149af5,_0x57fee2,_0x4cde71,_0x4bfbc9,_0x24637a,_0x48f579),_0x48f579&&_0x357336(_0x48f579);},'onUpdateText':_0x167af8,'onOpenPanel':()=>{const _0x19c7ce=_0x160fc0;_0x149af5[_0x19c7ce(0x361)](ja['id'],{'unitId':_0x57fee2,'subUnitId':_0x4cde71,'drawingId':_0x4bfbc9});},'onDelete':()=>{const _0x215978=_0x160fc0;_0x149af5[_0x215978(0x361)](_0x408d74['id'],{'unitId':_0x57fee2,'drawings':[{'unitId':_0x57fee2,'subUnitId':_0x4cde71,'drawingId':_0x4bfbc9,'drawingType':_0x4d8b58}]});}});}const go=_0xa99130(()=>{const _0x25059a=_0x1e4b59;let _0x4cd8b6=_0x51983f(K),_0x4d6d3a=_0x51983f(_0x114e41),_0x799db2=_0x51983f(_0xd6b9bd),_0x1dd560=_0x51983f(_0x229c27);return _0x5a567d(_0x363eb1,{'adapter':_0x14e766(()=>({'getShapeModel':(_0x32e0dd,_0x46bdd5,_0x350a4b)=>_0x4d6d3a[_0x25059a(0x58f)](_0x32e0dd,_0x46bdd5,_0x350a4b),'getDrawingTransform':(_0xc5d09b,_0x485ae6,_0x16d2ac)=>{const _0x45678f=_0x25059a;let _0x1e8261=_0x799db2[_0x45678f(0x329)]({'unitId':_0xc5d09b,'subUnitId':_0x485ae6,'drawingId':_0x16d2ac});return _0x1e8261==null?void 0x0:_0x1e8261[_0x45678f(0x44d)];},'updateShapeText':({unitId:_0x353659,subUnitId:_0x274acd,shapeId:_0x5531ff,shapeText:_0x4bb14d,oldShapeText:_0x405d5a})=>{const _0x2d776a=_0x25059a;_0x1dd560[_0x2d776a(0x361)](q['id'],{'unitId':_0x353659,'subUnitId':_0x274acd,'shapeId':_0x5531ff,'shapeData':{'shapeText':_0x4bb14d},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x405d5a}}});}}),[_0x1dd560,_0x799db2,_0x4d6d3a]),'editingService':_0x4cd8b6,'editorUnitId':Pa,'positionOptions':_0x14e766(()=>({'viewportKeys':{'main':_0x27ee17[_0x25059a(0x4e0)],'leftTop':_0x27ee17['VIEW_MAIN_LEFT_TOP'],'top':_0x27ee17[_0x25059a(0x4e3)],'left':_0x27ee17[_0x25059a(0x3c1)]},'getSkeleton':(_0x102425,_0x1e9c00)=>{const _0x45c6ec=_0x25059a;var _0x3d66fb,_0x3dcb8f;return(_0x3d66fb=(_0x3dcb8f=_0x102425[_0x45c6ec(0x22c)](_0x3da40f)[_0x45c6ec(0x324)](_0x1e9c00['subUnitId']))==null?void 0x0:_0x3dcb8f[_0x45c6ec(0x398)])==null?null:_0x3d66fb;}}),[]),'verticalAlignCommandId':J['id']});});let _o=class extends _0x2d969b{constructor(_0x2fef64,_0x72b6a0){const _0x90e8dc=_0x1e4b59;super(),this[_0x90e8dc(0x2ba)]=_0x2fef64,this['_iconManager']=_0x72b6a0,this[_0x90e8dc(0x304)](),this['_registerComponents']();}[_0x1e4b59(0x304)](){const _0x3948db=_0x1e4b59;this[_0x3948db(0x502)](this[_0x3948db(0x27d)][_0x3948db(0x567)]({'ShapeAccentBorderCallout1Icon':_0x5a7718,'ShapeAccentBorderCallout2Icon':_0x5cca02,'ShapeAccentBorderCallout3Icon':_0x3b9a36,'ShapeAccentCallout1Icon':_0x49f470,'ShapeAccentCallout2Icon':_0x3d20a3,'ShapeAccentCallout3Icon':_0x1ff446,'ShapeActionButtonBackPreviousIcon':_0x473d8e,'ShapeActionButtonBeginningIcon':_0x441b77,'ShapeActionButtonBlankIcon':_0x4939c2,'ShapeActionButtonDocumentIcon':_0x3d8b20,'ShapeActionButtonEndIcon':_0x42373f,'ShapeActionButtonForwardNextIcon':_0x1f8a92,'ShapeActionButtonHelpIcon':_0x1e608b,'ShapeActionButtonHomeIcon':_0x40d9db,'ShapeActionButtonInformationIcon':_0x38a03f,'ShapeActionButtonMovieIcon':_0x200da6,'ShapeActionButtonReturnIcon':_0x322990,'ShapeActionButtonSoundIcon':_0x5295a8,'ShapeArcIcon':_0x1d3ba6,'ShapeBentArrowIcon':_0x4e4162,'ShapeBentConnector3Arrow1Icon':_0x53f538,'ShapeBentConnector3Arrow2Icon':_0x34a528,'ShapeBentConnector3Icon':_0x464758,'ShapeBentUpArrowIcon':_0x13f6c9,'ShapeBevelIcon':_0x50738e,'ShapeBlockArcIcon':_0x445d9c,'ShapeBorderCallout1Icon':_0x399257,'ShapeBorderCallout2Icon':_0x482eda,'ShapeBorderCallout3Icon':_0x5a2d28,'ShapeBracePairIcon':_0x257d04,'ShapeBracketPairIcon':_0xdb09ca,'ShapeCallout1Icon':_0x1aba50,'ShapeCallout2Icon':_0x2a373c,'ShapeCallout3Icon':_0x2887b4,'ShapeCanIcon':_0x2f6d61,'ShapeChartPlusIcon':_0xfb1cc5,'ShapeChartStarIcon':_0x2affb6,'ShapeChartXIcon':_0x14ee9a,'ShapeChevronIcon':_0x49f4b9,'ShapeChordIcon':_0x377a34,'ShapeCircularArrowIcon':_0xd6b70d,'ShapeCloudCalloutIcon':_0x581f3b,'ShapeCloudIcon':_0x32a944,'ShapeCornerIcon':_0x3c870a,'ShapeCornerTabsIcon':_0x524ca2,'ShapeCubeIcon':_0x353482,'ShapeCurvedConnector3Arrow1Icon':_0x95af42,'ShapeCurvedConnector3Arrow2Icon':_0x5e0643,'ShapeCurvedConnector3Icon':_0x30677f,'ShapeCurvedDownArrowIcon':_0x42a44b,'ShapeCurvedLeftArrowIcon':_0x3c4d5b,'ShapeCurvedRightArrowIcon':_0x3b7296,'ShapeCurvedUpArrowIcon':_0xf4325a,'ShapeDecagonIcon':_0x1f3d9a,'ShapeDiagStripeIcon':_0x8bba66,'ShapeDiamondIcon':_0x47564d,'ShapeDodecagonIcon':_0x42d141,'ShapeDonutIcon':_0x570395,'ShapeDoubleWaveIcon':_0x531569,'ShapeDownArrowCalloutIcon':_0x49cbed,'ShapeDownArrowIcon':_0x20d0db,'ShapeEllipseIcon':_0x1dc659,'ShapeEllipseRibbon2Icon':_0x502b0e,'ShapeEllipseRibbonIcon':_0x3ebfa2,'ShapeFlowChartAlternateProcessIcon':_0x1a0ef6,'ShapeFlowChartCollateIcon':_0x5aec04,'ShapeFlowChartConnectorIcon':_0x477800,'ShapeFlowChartDecisionIcon':_0x5a5356,'ShapeFlowChartDelayIcon':_0x50fb9d,'ShapeFlowChartDisplayIcon':_0x3665ee,'ShapeFlowChartDocumentIcon':_0x3f6b40,'ShapeFlowChartExtractIcon':_0xef870f,'ShapeFlowChartInputOutputIcon':_0x289147,'ShapeFlowChartInternalStorageIcon':_0x2948fb,'ShapeFlowChartMagneticDiskIcon':_0x10a1d4,'ShapeFlowChartMagneticDrumIcon':_0x3b88a0,'ShapeFlowChartMagneticTapeIcon':_0x1f2474,'ShapeFlowChartManualInputIcon':_0xdc0368,'ShapeFlowChartManualOperationIcon':_0x2e507f,'ShapeFlowChartMergeIcon':_0x589766,'ShapeFlowChartMultidocumentIcon':_0x544f54,'ShapeFlowChartOfflineStorageIcon':_0x227b33,'ShapeFlowChartOffpageConnectorIcon':_0x2d1ab2,'ShapeFlowChartOnlineStorageIcon':_0x2d35e9,'ShapeFlowChartOrIcon':_0x416f31,'ShapeFlowChartPredefinedProcessIcon':_0x1a297e,'ShapeFlowChartPreparationIcon':_0x12faa9,'ShapeFlowChartProcessIcon':_0x374757,'ShapeFlowChartPunchedCardIcon':_0x2ed3ac,'ShapeFlowChartPunchedTapeIcon':_0x19137e,'ShapeFlowChartSortIcon':_0x4ee04b,'ShapeFlowChartSummingJunctionIcon':_0x309a25,'ShapeFlowChartTerminatorIcon':_0x2b42f5,'ShapeFolderCornerIcon':_0x20b4e8,'ShapeFrameIcon':_0x3946f3,'ShapeFunnelIcon':_0x3a53f4,'ShapeGear6Icon':_0x22326d,'ShapeGear9Icon':_0x461a4b,'ShapeHalfFrameIcon':_0x2ea8f7,'ShapeHeartIcon':_0x2cdc8d,'ShapeHeptagonIcon':_0x11c0ce,'ShapeHexagonIcon':_0x595ae9,'ShapeHomePlateIcon':_0x3909af,'ShapeHorizontalScrollIcon':_0x261b89,'ShapeIrregularSeal1Icon':_0xdd4a1c,'ShapeIrregularSeal2Icon':_0x388272,'ShapeLeftArrowCalloutIcon':_0x52a9cd,'ShapeLeftArrowIcon':_0x2397bb,'ShapeLeftBraceIcon':_0x134200,'ShapeLeftBracketIcon':_0x410653,'ShapeLeftCircularArrowIcon':_0xa59228,'ShapeLeftRightArrowCalloutIcon':_0x4a4f85,'ShapeLeftRightArrowIcon':_0x52e6c5,'ShapeLeftRightCircularArrowIcon':_0x5382a2,'ShapeLeftRightRibbonIcon':_0x55686a,'ShapeLeftRightUpArrowIcon':_0x5a9443,'ShapeLeftUpArrowIcon':_0xbfb7f1,'ShapeLightningBoltIcon':_0x1d7acb,'ShapeLineIcon':_0x41e039,'ShapeLineInvIcon':_0x2babf2,'ShapeMathDivideIcon':_0x483e97,'ShapeMathEqualIcon':_0x27735f,'ShapeMathMinusIcon':_0x314194,'ShapeMathMultiplyIcon':_0x6d62d4,'ShapeMathNotEqualIcon':_0x4ce577,'ShapeMathPlusIcon':_0x3cfbef,'ShapeMoonIcon':_0x2ae464,'ShapeNoSmokingIcon':_0x3fa26a,'ShapeNonIsoscelesTrapezoidIcon':_0x3f6e4d,'ShapeNotchedRightArrowIcon':_0x4022e4,'ShapeOctagonIcon':_0x3d7e3c,'ShapeParallelogramIcon':_0x442c37,'ShapePentagonIcon':_0x1edcc1,'ShapePieIcon':_0x1b7495,'ShapePieWedgeIcon':_0x5c3afa,'ShapePlaqueIcon':_0x1c6abd,'ShapePlaqueTabsIcon':_0x457c6f,'ShapePlusIcon':_0xa0f15c,'ShapeQuadArrowCalloutIcon':_0xdfe963,'ShapeQuadArrowIcon':_0x1ea32f,'ShapeRectIcon':_0xd79c1b,'ShapeRectTextboxHorizontalIcon':_0x168013,'ShapeRectTextboxVerticalIcon':_0x1dfd66,'ShapeRibbon2Icon':_0x64c14d,'ShapeRibbonIcon':_0x1ae969,'ShapeRightArrowCalloutIcon':_0x49733c,'ShapeRightArrowIcon':_0x37c9d5,'ShapeRightBraceIcon':_0x128041,'ShapeRightBracketIcon':_0x27c6fe,'ShapeRound1RectIcon':_0x324ad2,'ShapeRound2DiagRectIcon':_0x1febd5,'ShapeRound2SameRectIcon':_0x478b4e,'ShapeRoundRectIcon':_0x40eeb0,'ShapeRtTriangleIcon':_0x409ae7,'ShapeSmileyFaceIcon':_0x541e16,'ShapeSnip1RectIcon':_0x593276,'ShapeSnip2DiagRectIcon':_0x4ce311,'ShapeSnip2SameRectIcon':_0x26cae4,'ShapeSnipRoundRectIcon':_0x3f1ec0,'ShapeSquareTabsIcon':_0x3a773c,'ShapeStar10Icon':_0x2548f6,'ShapeStar12Icon':_0x60d749,'ShapeStar16Icon':_0x272f73,'ShapeStar24Icon':_0x48e88b,'ShapeStar32Icon':_0x2b7e79,'ShapeStar4Icon':_0x3e4d6b,'ShapeStar5Icon':_0x48f7cc,'ShapeStar6Icon':_0x286548,'ShapeStar7Icon':_0x56ca36,'ShapeStar8Icon':_0x47ce15,'ShapeStraightConnector1Icon':_0x529511,'ShapeStraightConnector2Icon':_0x17ec07,'ShapeStripedRightArrowIcon':_0x58f51f,'ShapeSunIcon':_0x2361ae,'ShapeSwooshArrowIcon':_0x22ef17,'ShapeTeardropIcon':_0x4336be,'ShapeTrapezoidIcon':_0x221518,'ShapeTriangleIcon':_0x156e0c,'ShapeUpArrowCalloutIcon':_0x374b2f,'ShapeUpArrowIcon':_0x2551b1,'ShapeUpDownArrowCalloutIcon':_0xb61e52,'ShapeUpDownArrowIcon':_0x2858fa,'ShapeUturnArrowIcon':_0x13996a,'ShapeVerticalScrollIcon':_0xe712a,'ShapeWaveIcon':_0x1b14b2,'ShapeWedgeEllipseCalloutIcon':_0xabce82,'ShapeWedgeRectCalloutIcon':_0x4641d8,'ShapeWedgeRoundRectCalloutIcon':_0x3eaa18}));}['_registerComponents'](){const _0x149fb1=_0x1e4b59;this[_0x149fb1(0x502)](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](Ma,uo)),this['disposeWithMe'](this[_0x149fb1(0x2ba)]['register']($a,no)),this['disposeWithMe'](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](_0x2cb1a7,to)),this[_0x149fb1(0x502)](this['_componentManager']['register'](Na,mo)),this[_0x149fb1(0x502)](this[_0x149fb1(0x2ba)][_0x149fb1(0x567)](_0x149fb1(0x2c4),go));}};_o=X([Y(0x0,_0x49bdac(_0x30b3f7)),Y(0x1,_0x49bdac(_0x5b7817))],_o);let vo=class extends _0x2d969b{constructor(_0x2f5cee,_0x4c1bab,_0x11e7cd,_0x13d09d,_0xae3e12){const _0x373076=_0x1e4b59;super(),this[_0x373076(0x30c)]=_0x2f5cee,this[_0x373076(0x557)]=_0x4c1bab,this[_0x373076(0x1f0)]=_0x11e7cd,this['_univerInstanceService']=_0x13d09d,this['_imageShapeClipController']=_0xae3e12,G(this,_0x373076(0x539),null),G(this,_0x373076(0x289),null),G(this,'_subUnitId',null),G(this,_0x373076(0x201),void 0x0),G(this,'_shapes',[]),G(this,_0x373076(0x2fb),0x0),G(this,_0x373076(0x275),0x0),G(this,'_baseWidth',0x0),G(this,_0x373076(0x4f8),0x0),G(this,_0x373076(0x564),!0x1),G(this,_0x373076(0x25e),void 0x0),G(this,_0x373076(0x5c9),void 0x0),G(this,'_adjHandlerPointerMove',void 0x0),G(this,_0x373076(0x360),void 0x0),G(this,_0x373076(0x3a7),!0x1),this[_0x373076(0x579)](),this[_0x373076(0x31a)]();}[_0x1e4b59(0x547)](){this['_clearControls']();}[_0x1e4b59(0x5f4)](){const _0x30cbf9=_0x1e4b59;this[_0x30cbf9(0x2a0)](),this['_createControls'](!0x0);}[_0x1e4b59(0x5a2)](_0x59a7f7,_0x48a1e5,_0x17f33f,_0x4476fd){const _0x44c347=_0x1e4b59;let _0x5de8c7=_0x59a7f7;if(!(_0x5de8c7===_0x4d29db[_0x44c347(0x297)]||_0x59a7f7===_0x44c347(0x2d7)))try{let _0x3c2b1e=new _0x32ec93(_0x5de8c7,'clip-adj-'+_0x59a7f7);return _0x4476fd&&_0x3c2b1e[_0x44c347(0x417)]({'adjustValues':_0x4476fd},!0x0),_0x3c2b1e[_0x44c347(0x3a1)]({'width':_0x48a1e5,'height':_0x17f33f}),_0x3c2b1e;}catch{return;}}[_0x1e4b59(0x31b)](_0x2fb6d4,_0x4bcd7d,_0x11a204){const _0x26432d=_0x1e4b59;let _0x5015c6={'unitId':_0x2fb6d4,'subUnitId':_0x4bcd7d,'drawingId':_0x11a204},_0x3c21fb=this[_0x26432d(0x557)][_0x26432d(0x329)](_0x5015c6);if(!(!_0x3c21fb||_0x3c21fb['drawingType']!==_0x44ab60[_0x26432d(0x40a)]))return _0x3c21fb;}['_getImagePrstGeom'](_0x71153b,_0x569dc7,_0x1024a5){const _0x35b932=_0x1e4b59;let _0x233c0b=this[_0x35b932(0x1f0)][_0x35b932(0x2f6)](_0x71153b);if(!_0x233c0b)return;let {scene:_0x895ae4}=_0x233c0b,_0x237f0d=_0x79bce2({'unitId':_0x71153b,'subUnitId':_0x569dc7,'drawingId':_0x1024a5}),_0x3331ad=_0x895ae4['getObject'](_0x237f0d);if(_0x3331ad instanceof _0x3a684b){let _0x52ec55=_0x3331ad[_0x35b932(0x431)];if(_0x52ec55)return{'prstGeom':_0x52ec55,'adjustValues':_0x3331ad[_0x35b932(0x267)]};}}[_0x1e4b59(0x37e)](_0x5c7ede=!0x1){const _0x4e68e9=_0x1e4b59;if(!this[_0x4e68e9(0x289)]||!this['_subUnitId']||!this['_activeImageId'])return;let _0x369050=this['_renderManagerService']['getRenderById'](this[_0x4e68e9(0x289)]);if(!_0x369050||!_0x369050[_0x4e68e9(0x22c)](_0x3da40f)[_0x4e68e9(0x300)]())return;let {scene:_0x24ad36}=_0x369050,_0x42f105=this[_0x4e68e9(0x31b)](this['_unitId'],this[_0x4e68e9(0x2d9)],this['_activeImageId']);if(!_0x42f105)return;let {transform:_0x499a58}=_0x42f105;if(!_0x499a58)return;let {left:_0x3f9ba4,top:_0x166c71,width:_0x37e8b3,height:_0x118231,flipX:_0x2ea191,flipY:_0x5cf9e4,angle:_0x4df0df=0x0}=_0x499a58;if(_0x3f9ba4===void 0x0||_0x166c71===void 0x0)return;let _0xb99716=this[_0x4e68e9(0x442)](this['_unitId'],this[_0x4e68e9(0x2d9)],this[_0x4e68e9(0x539)]);if(!_0xb99716)return;if(_0x5c7ede){let _0x865852=this[_0x4e68e9(0x5a2)](_0xb99716[_0x4e68e9(0x431)],_0x37e8b3||0x0,_0x118231||0x0,_0xb99716[_0x4e68e9(0x2a4)]);if(!_0x865852)return;this[_0x4e68e9(0x201)]=_0x865852['getDrawingPoints']();}let _0x5d53e2=this['_activeAdjustPointList'];if(!(!_0x5d53e2||_0x5d53e2[_0x4e68e9(0x270)]===0x0))for(let _0x269a1e=0x0;_0x269a1e<_0x5d53e2[_0x4e68e9(0x270)];_0x269a1e++){let _0xb64ef6=_0x5d53e2[_0x269a1e],_0x48b19f=_0xb64ef6['x'],_0x126146=_0xb64ef6['y'];if(_0x2ea191&&(_0x48b19f=(_0x37e8b3||0x0)-_0x48b19f),_0x5cf9e4&&(_0x126146=(_0x118231||0x0)-_0x126146),_0x4df0df!==0x0){let _0xb1f975=(_0x37e8b3||0x0)/0x2,_0x5dae6e=(_0x118231||0x0)/0x2,_0x5d0980=_0x4df0df*Math['PI']/0xb4,_0x578f26=Math[_0x4e68e9(0x33d)](_0x5d0980),_0x43abcc=Math[_0x4e68e9(0x34d)](_0x5d0980),_0x2b8876=_0x48b19f-_0xb1f975,_0x347530=_0x126146-_0x5dae6e;_0x48b19f=_0xb1f975+(_0x2b8876*_0x578f26-_0x347530*_0x43abcc),_0x126146=_0x5dae6e+(_0x2b8876*_0x43abcc+_0x347530*_0x578f26);}let _0x2e63e9={'x':_0x48b19f,'y':_0x126146,'adjName':_0xb64ef6[_0x4e68e9(0x23c)]};this[_0x4e68e9(0x532)](_0x24ad36,_0x2e63e9,_0x2e63e9[_0x4e68e9(0x23c)],_0x3f9ba4,_0x166c71,this[_0x4e68e9(0x289)],this[_0x4e68e9(0x2d9)]);}}['_addControl'](_0x457a4a,_0x1e2c84,_0x236fdd,_0x50a77d,_0x2d0694,_0x2b8b15,_0x1aae40){const _0x39f8eb=_0x1e4b59;if(!this[_0x39f8eb(0x539)])return;let _0x1d548b='image-clip-adjust-point-'+this[_0x39f8eb(0x539)]+'-'+_0x236fdd,_0x385115=_0x457a4a[_0x39f8eb(0x4c0)](_0x1d548b);if(_0x385115){_0x385115['transformByState']({'left':_0x1e2c84['x']+_0x50a77d-_0xf02888[_0x39f8eb(0x535)],'top':_0x1e2c84['y']+_0x2d0694-_0xf02888[_0x39f8eb(0x535)]});return;}let _0x3cbad9=new Va(_0x1d548b,{'left':_0x1e2c84['x']+_0x50a77d-_0xf02888[_0x39f8eb(0x535)],'top':_0x1e2c84['y']+_0x2d0694-_0xf02888[_0x39f8eb(0x535)],'adjName':_0x236fdd,'shapeId':this[_0x39f8eb(0x539)],'unitId':_0x2b8b15,'subUnitId':_0x1aae40,'width':_0xf02888['adjHandleSize']+0x8,'height':_0xf02888['adjHandleSize']+0x8,'zIndex':_0x11e46b+0x1,'evented':!0x0});this['_shapes']['push'](_0x3cbad9),this[_0x39f8eb(0x2be)](_0x3cbad9,_0x457a4a,_0x236fdd),_0x457a4a['addObject'](_0x3cbad9,_0x11e46b+0x1);}[_0x1e4b59(0x2a0)](){const _0x3658bb=_0x1e4b59;this[_0x3658bb(0x4a6)]['length']!==0x0&&(this[_0x3658bb(0x4a6)][_0x3658bb(0x30e)](_0x35ab81=>_0x35ab81[_0x3658bb(0x301)]()),this[_0x3658bb(0x4a6)]=[]);}[_0x1e4b59(0x52e)](_0x155d27,_0x166f41){const _0x5a2c29=_0x1e4b59;var _0x4e381f;let _0x194194={'x':0x0,'y':0x0},_0x5c998e=this['_renderManagerService'][_0x5a2c29(0x2f6)](_0x155d27);if(!_0x5c998e||!_0x5c998e[_0x5a2c29(0x22c)](_0x3da40f)[_0x5a2c29(0x436)](_0x166f41))return _0x194194;let _0x3fc94a=_0x5c998e['with'](_0x3a611d),_0x218f98=_0x3fc94a==null?void 0x0:_0x3fc94a['getCurrentScrollState']();if(!_0x218f98)return _0x194194;let _0x38aa06=(_0x4e381f=this[_0x5a2c29(0x204)][_0x5a2c29(0x551)](_0x155d27))==null?void 0x0:_0x4e381f[_0x5a2c29(0x1f3)](_0x166f41);if(!_0x38aa06)return _0x194194;let _0x53dc9b=_0x30fe0a(_0x218f98[_0x5a2c29(0x338)],_0x218f98[_0x5a2c29(0x33b)],_0x5c998e[_0x5a2c29(0x37d)],_0x38aa06);return _0x53dc9b?{'x':_0x53dc9b[_0x5a2c29(0x342)],'y':_0x53dc9b[_0x5a2c29(0x2ef)]}:_0x194194;}[_0x1e4b59(0x394)](_0xa1d9fd,_0x576c8f){const _0x14d945=_0x1e4b59;var _0x25f416,_0x51b31a;let _0x136d92=(_0x25f416=this[_0x14d945(0x204)][_0x14d945(0x551)](_0xa1d9fd))==null?void 0x0:_0x25f416[_0x14d945(0x1f3)](_0x576c8f);return(_0x51b31a=_0x136d92==null?void 0x0:_0x136d92[_0x14d945(0x366)]())==null?0x1:_0x51b31a;}['_attachAdjustEvent'](_0x3bc100,_0x237efc,_0x3fd5e4){const _0x8eef96=_0x1e4b59;this['disposeWithMe'](_0x38994f(_0x3bc100[_0x8eef96(0x5ca)][_0x8eef96(0x573)]((_0x420348,_0x104f0e)=>{const _0x136060=_0x8eef96;var _0x5195f4,_0x15e869,_0x790cdf;let {unitId:_0x4969e4,subUnitId:_0x46d154,drawingId:_0x49a632}=_0x3bc100['getDrawingSearch'](),_0x4390a4=this[_0x136060(0x31b)](_0x4969e4,_0x46d154,_0x49a632);if(!(_0x4390a4!=null&&_0x4390a4['transform']))return;let {left:_0x2933ec,top:_0x5cd579,width:_0x86f3f3,height:_0x2468bf}=_0x4390a4['transform'];this[_0x136060(0x2fb)]=_0x2933ec||0x0,this[_0x136060(0x275)]=_0x5cd579||0x0,this[_0x136060(0x2e0)]=_0x86f3f3||0x0,this['_baseHeight']=_0x2468bf||0x0;let _0x6d0546=!!((_0x5195f4=_0x4390a4[_0x136060(0x44d)])!=null&&_0x5195f4['flipX']),_0x3936f5=!!((_0x15e869=_0x4390a4['transform'])!=null&&_0x15e869[_0x136060(0x486)]),_0x3e9b57=((_0x790cdf=_0x4390a4['transform'])==null?void 0x0:_0x790cdf[_0x136060(0x452)])||0x0,_0x13eccd=this[_0x136060(0x442)](_0x4969e4,_0x46d154,_0x49a632);if(!_0x13eccd)return;let _0x1ac304=this[_0x136060(0x5a2)](_0x13eccd[_0x136060(0x431)],this['_baseWidth'],this['_baseHeight'],_0x13eccd['adjustValues']);if(!_0x1ac304||(this[_0x136060(0x5c9)]=_0x1ac304,this['_activeAdjustInfo']=_0x1ac304[_0x136060(0x5fa)](_0x3fd5e4),!this['_activeAdjustInfo']))return;this[_0x136060(0x564)]=!0x0,_0x237efc[_0x136060(0x473)]();let _0x5b5773=_0x13eccd[_0x136060(0x431)];this[_0x136060(0x5dd)]=_0x237efc['onPointerMove$'][_0x136060(0x573)]((_0x56bd80,_0x73112c)=>{const _0x700960=_0x136060;if(!this[_0x700960(0x564)])return;let {offsetX:_0x272193,offsetY:_0x49adf9}=_0x56bd80,_0x321a81=this[_0x700960(0x25e)];if(!this[_0x700960(0x5c9)]||!_0x321a81)return;_0x237efc[_0x700960(0x473)](),_0x237efc[_0x700960(0x49d)](_0x3f8d29[_0x700960(0x4bb)]);let _0x280700={'left':0x0,'top':0x0,'width':this[_0x700960(0x2e0)],'height':this[_0x700960(0x4f8)]},_0x30f040=this['_getScrollInfo'](_0x4969e4,_0x46d154),_0x35c3f4=this[_0x700960(0x394)](_0x4969e4,_0x46d154),_0x5ca3c0=_0x272193/_0x35c3f4+_0x30f040['x']-this[_0x700960(0x2fb)],_0x506ebb=_0x49adf9/_0x35c3f4+_0x30f040['y']-this['_baseTop'];if(_0x3e9b57!==0x0){let _0x379cdf=this[_0x700960(0x2e0)]/0x2,_0x10df2c=this[_0x700960(0x4f8)]/0x2,_0x1873b8=_0x3e9b57*Math['PI']/0xb4,_0x11b936=Math['cos'](_0x1873b8),_0x5cc962=Math['sin'](_0x1873b8),_0x2e4416=_0x5ca3c0-_0x379cdf,_0x3c0b8c=_0x506ebb-_0x10df2c;_0x5ca3c0=_0x379cdf+(_0x2e4416*_0x11b936+_0x3c0b8c*_0x5cc962),_0x506ebb=_0x10df2c+(-_0x2e4416*_0x5cc962+_0x3c0b8c*_0x11b936);}_0x6d0546&&(_0x5ca3c0=this['_baseWidth']-_0x5ca3c0),_0x3936f5&&(_0x506ebb=this[_0x700960(0x4f8)]-_0x506ebb);let _0x367037=this[_0x700960(0x5c9)][_0x700960(0x2fe)](_0x280700,{'x':_0x5ca3c0,'y':_0x506ebb},_0x321a81,_0x6d0546,_0x3936f5),_0x3fe698=_0x321a81['gdRefX']||_0x321a81['gdRefY']||_0x321a81[_0x700960(0x598)]||_0x321a81[_0x700960(0x3e2)];_0x3fe698!==void 0x0&&(this[_0x700960(0x5c9)][_0x700960(0x522)](_0x3fe698,_0x367037),this['_activeShapeModel'][_0x700960(0x3a1)]({'width':this[_0x700960(0x2e0)],'height':this[_0x700960(0x4f8)]}),this[_0x700960(0x43a)](_0x4969e4,_0x46d154,_0x49a632,_0x3fe698,_0x367037),this[_0x700960(0x201)]=this['_activeShapeModel'][_0x700960(0x2bd)](),this[_0x700960(0x25e)]=this[_0x700960(0x5c9)][_0x700960(0x5fa)](_0x3fd5e4),this[_0x700960(0x37e)](),_0x73112c[_0x700960(0x288)]());}),this['_adjHandlerPointerUp']=_0x237efc[_0x136060(0x2de)][_0x136060(0x573)]((_0x5ccc3d,_0x47f1c6)=>{const _0x1ec4a3=_0x136060;if(this['_adjHandlerPointerMove'][_0x1ec4a3(0x4ac)](),this[_0x1ec4a3(0x360)][_0x1ec4a3(0x4ac)](),_0x237efc[_0x1ec4a3(0x474)](),this['_activeShapeModel']){let _0x5b1b77=this[_0x1ec4a3(0x5c9)][_0x1ec4a3(0x468)](),_0x147b37={};for(let _0x555bce of _0x5b1b77){let _0xf4e508=this[_0x1ec4a3(0x5c9)][_0x1ec4a3(0x5e8)](_0x555bce);_0xf4e508!==void 0x0&&(_0x147b37[_0x555bce]=_0xf4e508);}this['_imageShapeClipController'][_0x1ec4a3(0x27f)](_0x4969e4,_0x46d154,_0x49a632,_0x5b5773,_0x147b37);}this[_0x1ec4a3(0x25e)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x1ec4a3(0x564)]=!0x1,_0x47f1c6['stopPropagation'](),_0x237efc[_0x1ec4a3(0x2a5)]();}),_0x104f0e[_0x136060(0x288)]();})));}[_0x1e4b59(0x43a)](_0x682b09,_0x4b967e,_0x112966,_0x48add9,_0x33f761){const _0x4bbcda=_0x1e4b59;let _0x404cc0=this[_0x4bbcda(0x1f0)]['getRenderById'](_0x682b09);if(!_0x404cc0)return;let {scene:_0x2f3274}=_0x404cc0,_0x4efad7=_0x79bce2({'unitId':_0x682b09,'subUnitId':_0x4b967e,'drawingId':_0x112966}),_0x424fc2=_0x2f3274['getObject'](_0x4efad7);if(_0x424fc2 instanceof _0x3a684b){var _0x488e09;let _0x23d0ae=(_0x488e09=_0x424fc2[_0x4bbcda(0x267)])==null?{}:_0x488e09;_0x424fc2[_0x4bbcda(0x3d2)]({..._0x23d0ae,[_0x48add9]:_0x33f761}),_0x424fc2['makeDirty'](!0x0);}}[_0x1e4b59(0x31a)](){const _0x302bb8=_0x1e4b59;let _0x59975d=this[_0x302bb8(0x204)][_0x302bb8(0x3c0)](_0x45bf6b[_0x302bb8(0x3df)]);this[_0x302bb8(0x502)](_0x59975d['pipe'](_0x4ee608(_0x40e8c2=>_0x40e8c2?_0x40e8c2['activeSheet$'][_0x302bb8(0x3b4)](_0x4ee608(_0x3d4c48=>{const _0xb194f3=_0x302bb8;if(!_0x3d4c48)return _0x35918a;let _0x11f657=_0x40e8c2[_0xb194f3(0x340)](),_0x2a2f46=this[_0xb194f3(0x1f0)]['getRenderById'](_0x11f657),_0x5f3c14=_0x2a2f46==null?void 0x0:_0x2a2f46['scene'];return _0x5f3c14?_0x2b1548(_0x5f3c14):_0x35918a;})):_0x35918a))['subscribe'](_0x5eaee2=>{const _0x225807=_0x302bb8;let _0x17c29d=_0x5eaee2['getTransformerByCreate']();this[_0x225807(0x502)](_0x5eaee2[_0x225807(0x5e2)]['subscribeEvent'](()=>{const _0x3719c7=_0x225807;this[_0x3719c7(0x3a7)]&&this[_0x3719c7(0x2a0)]();})),this[_0x225807(0x502)](_0x17c29d[_0x225807(0x203)]['subscribe'](_0x196d1f=>{const _0x4d16f1=_0x225807;let {objects:_0x3d7c3f}=_0x196d1f;if(this[_0x4d16f1(0x37e)](),_0x3d7c3f!==null&&_0x3d7c3f[_0x4d16f1(0x4bf)]===0x1){let _0x4d9a83=_0x3d7c3f[_0x4d16f1(0x536)]()[_0x4d16f1(0x3af)]()[_0x4d16f1(0x35e)];_0x4d9a83 instanceof _0x3a684b&&_0x4d9a83['prstGeom']&&(this[_0x4d16f1(0x3a7)]=!0x0);}})),this['disposeWithMe'](_0x17c29d[_0x225807(0x2d8)]['subscribe'](()=>{const _0x5751f4=_0x225807;this[_0x5751f4(0x3a7)]&&this[_0x5751f4(0x2a0)]();})),this['disposeWithMe'](_0x5eaee2['onPointerUp$']['subscribeEvent'](()=>{const _0x4c3fb2=_0x225807;this[_0x4c3fb2(0x3a7)]&&(this[_0x4c3fb2(0x3a7)]=!0x1,this[_0x4c3fb2(0x37e)]());})),this['disposeWithMe'](_0x17c29d[_0x225807(0x33a)][_0x225807(0x4da)](()=>{const _0x1c93a4=_0x225807;if(this[_0x1c93a4(0x289)]&&this[_0x1c93a4(0x2d9)]&&this[_0x1c93a4(0x539)]){let _0x26e12a=this[_0x1c93a4(0x442)](this[_0x1c93a4(0x289)],this['_subUnitId'],this[_0x1c93a4(0x539)]);if(_0x26e12a){var _0x5ef81c,_0x36defe;let _0x22b75f=this[_0x1c93a4(0x31b)](this[_0x1c93a4(0x289)],this[_0x1c93a4(0x2d9)],this[_0x1c93a4(0x539)]),_0x5e5af9=(_0x22b75f==null||(_0x5ef81c=_0x22b75f[_0x1c93a4(0x44d)])==null?void 0x0:_0x5ef81c[_0x1c93a4(0x381)])||0x0,_0x5128f8=(_0x22b75f==null||(_0x36defe=_0x22b75f[_0x1c93a4(0x44d)])==null?void 0x0:_0x36defe[_0x1c93a4(0x310)])||0x0,_0x3aad71=this[_0x1c93a4(0x5a2)](_0x26e12a[_0x1c93a4(0x431)],_0x5e5af9,_0x5128f8,_0x26e12a[_0x1c93a4(0x2a4)]);_0x3aad71&&(this['_activeAdjustPointList']=_0x3aad71[_0x1c93a4(0x2bd)](),this[_0x1c93a4(0x2a0)](),this[_0x1c93a4(0x37e)](!0x0));}}}));}));}[_0x1e4b59(0x579)](){const _0xfbdf20=_0x1e4b59;this[_0xfbdf20(0x502)](this['_drawingManagerService'][_0xfbdf20(0x291)]['subscribe'](_0x48e47e=>{const _0x46b2ca=_0xfbdf20;if(_0x48e47e['length']===0x1){let _0xadf1b3=_0x48e47e[0x0];if(_0xadf1b3['drawingType']===_0x44ab60[_0x46b2ca(0x40a)]){let {unitId:_0xe29735,subUnitId:_0x57a72a,drawingId:_0x46c7df}=_0xadf1b3,_0x4dcb4b=this[_0x46b2ca(0x442)](_0xe29735,_0x57a72a,_0x46c7df);if(_0x4dcb4b){var _0xc3fe3e,_0x547411;this[_0x46b2ca(0x539)]=_0x46c7df,this[_0x46b2ca(0x289)]=_0xe29735,this[_0x46b2ca(0x2d9)]=_0x57a72a;let _0x2bc68c=this[_0x46b2ca(0x31b)](_0xe29735,_0x57a72a,_0x46c7df),_0xa8be0b=(_0x2bc68c==null||(_0xc3fe3e=_0x2bc68c['transform'])==null?void 0x0:_0xc3fe3e[_0x46b2ca(0x381)])||0x0,_0x3cc1a4=(_0x2bc68c==null||(_0x547411=_0x2bc68c['transform'])==null?void 0x0:_0x547411['height'])||0x0,_0x146e21=this[_0x46b2ca(0x5a2)](_0x4dcb4b[_0x46b2ca(0x431)],_0xa8be0b,_0x3cc1a4,_0x4dcb4b[_0x46b2ca(0x2a4)]);_0x146e21&&(this[_0x46b2ca(0x201)]=_0x146e21[_0x46b2ca(0x2bd)]()),this[_0x46b2ca(0x2a0)](),this[_0x46b2ca(0x37e)](!0x0);}else this[_0x46b2ca(0x4b7)]();}else this[_0x46b2ca(0x4b7)]();}else this[_0x46b2ca(0x4b7)]();})),this[_0xfbdf20(0x502)](this[_0xfbdf20(0x557)]['update$'][_0xfbdf20(0x4da)](_0x5c7fdb=>{const _0x4fac18=_0xfbdf20;if(_0x5c7fdb[_0x4fac18(0x270)]===0x1){let _0x55e598=_0x5c7fdb[0x0],_0x2ff55e=this[_0x4fac18(0x557)][_0x4fac18(0x329)](_0x55e598);(_0x2ff55e==null?void 0x0:_0x2ff55e['drawingType'])===_0x44ab60['DRAWING_IMAGE']&&this[_0x4fac18(0x539)]===_0x55e598['drawingId']&&(this['_clearControls'](),this[_0x4fac18(0x37e)](!0x0));}})),this[_0xfbdf20(0x502)](this[_0xfbdf20(0x557)][_0xfbdf20(0x5d9)]['subscribe'](_0x587673=>{const _0x315649=_0xfbdf20;for(let _0x46154d of _0x587673)this[_0x315649(0x539)]===_0x46154d[_0x315649(0x23e)]&&this[_0x315649(0x4b7)]();}));}['_resetState'](){const _0x2feb96=_0x1e4b59;this[_0x2feb96(0x539)]=null,this[_0x2feb96(0x289)]=null,this['_subUnitId']=null,this['_activeAdjustPointList']=void 0x0,this[_0x2feb96(0x2a0)]();}};vo=X([Y(0x1,_0xd6b9bd),Y(0x2,_0x49bdac(_0x2302c1)),Y(0x3,_0x2b0f26),Y(0x4,_0x49bdac(Za))],vo);let yo=class extends _0x2d969b{constructor(_0x400c84,_0x1e2a55,_0x71ecf3,_0x317286){const _0x437735=_0x1e4b59;super(),this['_univerInstanceService']=_0x400c84,this['_sheetInterceptorService']=_0x1e2a55,this[_0x437735(0x247)]=_0x71ecf3,this[_0x437735(0x593)]=_0x317286,this[_0x437735(0x39f)]();}[_0x1e4b59(0x39f)](){const _0x8512c=_0x1e4b59;this['disposeWithMe'](this['_sheetInterceptorService'][_0x8512c(0x28a)]({'getMutations':_0x3da65c=>{const _0x334a9a=_0x8512c;if(_0x3da65c['id']===_0x4e06c5['id']){let _0xee6da4=_0x423d93(this[_0x334a9a(0x204)],_0x3da65c[_0x334a9a(0x25d)]);if(!_0xee6da4)return{'redos':[],'undos':[]};let {unitId:_0xe7ecd2,subUnitId:_0x4c2bc8}=_0xee6da4,_0x1c66b3=this[_0x334a9a(0x247)]['getDrawingData'](_0xe7ecd2,_0x4c2bc8),_0x54543a=Object[_0x334a9a(0x536)](_0x1c66b3)[_0x334a9a(0x451)](_0x1d1aec=>_0x1d1aec[_0x334a9a(0x356)]===_0x44ab60[_0x334a9a(0x526)]);if(_0x54543a[_0x334a9a(0x270)]===0x0)return{'redos':[],'undos':[]};let _0x7ab58b=[],_0x4125ee=[];for(let _0x610287=0x0;_0x610287<_0x54543a[_0x334a9a(0x270)];_0x610287++){let _0x38237f=_0x54543a[_0x610287],_0x7311dd=this[_0x334a9a(0x593)]['getShapeModel'](_0x38237f[_0x334a9a(0x294)],_0x38237f[_0x334a9a(0x51e)],_0x38237f[_0x334a9a(0x23e)]);if(!_0x7311dd)continue;let {redo:_0x3086c1,undo:_0x3e0948,objects:_0x4a977e}=this[_0x334a9a(0x247)][_0x334a9a(0x3fe)]([_0x38237f]);_0x7ab58b[_0x334a9a(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'shapeId':_0x38237f[_0x334a9a(0x23e)]}}),_0x7ab58b[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'type':_0x1d0ecf['REMOVE'],'op':_0x3086c1,'objects':_0x4a977e}}),_0x4125ee['push']({'id':_0x279d0c['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'type':_0x1d0ecf[_0x334a9a(0x44b)],'op':_0x3e0948,'objects':_0x4a977e}}),_0x4125ee[_0x334a9a(0x350)]({'id':_0x215d73['id'],'params':{'unitId':_0xe7ecd2,'subUnitId':_0x4c2bc8,'shapeId':_0x38237f[_0x334a9a(0x23e)],'shapeType':_0x7311dd['getShapeType'](),'shapeData':JSON[_0x334a9a(0x245)](JSON[_0x334a9a(0x2a7)](_0x7311dd[_0x334a9a(0x3b6)]()))}});}return{'redos':_0x7ab58b,'undos':_0x4125ee};}else{if(_0x3da65c['id']===_0x316634['id']){let {unitId:_0x37d340,subUnitId:_0x37101a,targetSubUnitId:_0xa63067}=_0x3da65c[_0x334a9a(0x25d)];if(!_0x37d340||!_0x37101a||!_0xa63067)return{'redos':[],'undos':[]};let _0x351fb3=this[_0x334a9a(0x247)][_0x334a9a(0x520)](_0x37d340,_0x37101a),_0x4a3e7d=Object['values'](_0x351fb3)[_0x334a9a(0x451)](_0x2f319c=>_0x2f319c[_0x334a9a(0x356)]===_0x44ab60['DRAWING_SHAPE']);if(_0x4a3e7d[_0x334a9a(0x270)]===0x0)return{'redos':[],'undos':[]};let _0x3b776f=[],_0x43164b=[];for(let _0x145d09=0x0;_0x145d09<_0x4a3e7d[_0x334a9a(0x270)];_0x145d09++){let _0xde9861=_0x4a3e7d[_0x145d09],_0xe94e9d=this['_sheetsShapeService'][_0x334a9a(0x58f)](_0xde9861[_0x334a9a(0x294)],_0xde9861[_0x334a9a(0x51e)],_0xde9861['drawingId']);if(!_0xe94e9d)continue;let _0x2a26f5=_0x111adf(),_0x46a0de={..._0xde9861,'unitId':_0x37d340,'subUnitId':_0xa63067,'drawingId':_0x2a26f5},{redo:_0xa44344,undo:_0x40695b,objects:_0x7ab237}=this[_0x334a9a(0x247)][_0x334a9a(0x47a)]([_0x46a0de]);_0x3b776f[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'type':_0x1d0ecf[_0x334a9a(0x44b)],'op':_0xa44344,'objects':_0x7ab237}}),_0x3b776f['push']({'id':_0x215d73['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'shapeId':_0x2a26f5,'shapeType':_0xe94e9d[_0x334a9a(0x3e4)](),'shapeData':JSON[_0x334a9a(0x245)](JSON['stringify'](_0xe94e9d[_0x334a9a(0x3b6)]()))}}),_0x43164b[_0x334a9a(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'shapeId':_0x2a26f5}}),_0x43164b[_0x334a9a(0x350)]({'id':_0x279d0c['id'],'params':{'unitId':_0x37d340,'subUnitId':_0xa63067,'type':_0x1d0ecf[_0x334a9a(0x269)],'op':_0x40695b,'objects':_0x7ab237}});}return{'redos':_0x3b776f,'undos':_0x43164b};}}return{'redos':[],'undos':[]};}}));}};yo=X([Y(0x0,_0x49bdac(_0x2b0f26)),Y(0x1,_0x49bdac(_0x1e0430)),Y(0x2,_0x49bdac(_0x113402)),Y(0x3,_0x49bdac(_0x114e41))],yo);let bo=class extends _0x2d969b{constructor(_0x3079b4,_0x5cb166,_0x491f1b,_0x4d46e0,_0x5a5b77){const _0x42e8ed=_0x1e4b59;super(),this[_0x42e8ed(0x30c)]=_0x3079b4,this['_shapeTextEditingService']=_0x5cb166,this['_drawingManagerService']=_0x491f1b,this['_contextService']=_0x4d46e0,this[_0x42e8ed(0x593)]=_0x5a5b77,G(this,_0x42e8ed(0x2cf),null),this[_0x42e8ed(0x3d3)](),this['_initSelection'](),this[_0x42e8ed(0x403)]();}[_0x1e4b59(0x3d3)](){const _0x43a541=_0x1e4b59;let {scene:_0xe81541}=this[_0x43a541(0x30c)];this[_0x43a541(0x502)](_0xe81541[_0x43a541(0x51d)]['subscribeEvent'](_0x212905=>{const _0x2c8e37=_0x43a541;let {offsetX:_0x2cf4c5,offsetY:_0x5e9351}=_0x212905,_0x107693=_0xe81541[_0x2c8e37(0x21a)](_0xa2893b[_0x2c8e37(0x2b6)]([_0x2cf4c5,_0x5e9351]));if(_0x107693 instanceof Ba){if(_0x241b3b(this[_0x2c8e37(0x593)]['getShapeType'](_0x107693[_0x2c8e37(0x294)],_0x107693[_0x2c8e37(0x51e)],_0x107693[_0x2c8e37(0x543)])))return;this['_shapeTextEditingService'][_0x2c8e37(0x537)]({'visible':!0x0,'unitId':_0x107693['unitId'],'subUnitId':_0x107693[_0x2c8e37(0x51e)],'shapeId':_0x107693[_0x2c8e37(0x543)],'shapeKey':_0x107693[_0x2c8e37(0x2fc)]});}}));}[_0x1e4b59(0x306)](){const _0x4b1070=_0x1e4b59;this[_0x4b1070(0x502)](this[_0x4b1070(0x557)][_0x4b1070(0x291)]['subscribe'](_0xc9f470=>{const _0x29d055=_0x4b1070;if(_0xc9f470[_0x29d055(0x270)]===0x1){let _0x3500ec=_0xc9f470[0x0],_0x46fecc=this['_drawingManagerService'][_0x29d055(0x329)](_0x3500ec);if((_0x46fecc==null?void 0x0:_0x46fecc[_0x29d055(0x356)])===_0x44ab60['DRAWING_SHAPE']){let _0x5101f4=this[_0x29d055(0x249)]['getEditing']();if((_0x5101f4==null?void 0x0:_0x5101f4[_0x29d055(0x543)])===_0x3500ec[_0x29d055(0x23e)]&&_0x5101f4[_0x29d055(0x4f5)])return;_0x241b3b(this[_0x29d055(0x593)][_0x29d055(0x3e4)](_0x3500ec[_0x29d055(0x294)],_0x3500ec[_0x29d055(0x51e)],_0x3500ec[_0x29d055(0x23e)]))&&this[_0x29d055(0x249)]['setEditing'](null);}else this['_shapeTextEditingService'][_0x29d055(0x38b)]()&&(this[_0x29d055(0x249)][_0x29d055(0x3ea)](!0x0),requestAnimationFrame(()=>{const _0x4934e5=_0x29d055;this[_0x4934e5(0x249)]['setEditing'](null);}));}else this[_0x29d055(0x249)][_0x29d055(0x38b)]()&&(this[_0x29d055(0x249)][_0x29d055(0x3ea)](!0x0),requestAnimationFrame(()=>{const _0x47ead5=_0x29d055;this[_0x47ead5(0x249)][_0x47ead5(0x537)](null);}));})),this[_0x4b1070(0x502)](this[_0x4b1070(0x557)]['remove$']['subscribe'](_0x28e01c=>{const _0x47ca00=_0x4b1070;let _0x3903f9=this[_0x47ca00(0x249)][_0x47ca00(0x38b)]();_0x3903f9&&_0x28e01c[_0x47ca00(0x3c8)](_0xdb1b4c=>_0xdb1b4c[_0x47ca00(0x23e)]===_0x3903f9[_0x47ca00(0x543)])&&this[_0x47ca00(0x249)][_0x47ca00(0x537)](null);}));}[_0x1e4b59(0x403)](){const _0x25a6d8=_0x1e4b59;this['disposeWithMe'](this[_0x25a6d8(0x249)][_0x25a6d8(0x41a)][_0x25a6d8(0x4da)](_0x4efe24=>{const _0x185394=_0x25a6d8;let {scene:_0x4bec71}=this[_0x185394(0x30c)];if(this['_lastEditingShapeKey']){let _0x8e7cf5=_0x4bec71['getObjectIncludeInGroup'](this[_0x185394(0x2cf)]);_0x8e7cf5&&_0x8e7cf5[_0x185394(0x537)](!0x1);}if(_0x4efe24){let _0x2df950=!!_0x4efe24[_0x185394(0x4f5)],_0x26cff9=_0x4bec71['getObjectIncludeInGroup'](_0x4efe24['shapeKey']);_0x26cff9&&(_0x26cff9[_0x185394(0x537)](_0x2df950),this['_lastEditingShapeKey']=_0x4efe24[_0x185394(0x4c7)]),this[_0x185394(0x5ed)][_0x185394(0x325)](_0x440c37,_0x2df950);}else this[_0x185394(0x2cf)]=null,this['_contextService']['setContextValue'](_0x440c37,!0x1);}));}};bo=X([Y(0x1,_0x49bdac(K)),Y(0x2,_0xd6b9bd),Y(0x3,_0x1b0873),Y(0x4,_0x49bdac(_0x114e41))],bo);function xo(){return _0x5a567d(_0x5ce8ef,{});}let So=class extends _0x5928a8{constructor(_0x33bdf1,_0x172264,_0x1dd1cb,_0x26abdc,_0x480878){const _0x30e90c=_0x1e4b59;super(_0x33bdf1,_0x172264,_0x1dd1cb,_0x26abdc,_0x480878,{'componentKey':_0x30e90c(0x4e7),'editorUnitId':Pa,'toolbarComponent':xo});}};So=X([Y(0x1,_0x49bdac(_0x5b4d6a)),Y(0x2,_0x49bdac(_0x5b58ae)),Y(0x3,_0x49bdac(_0x30b3f7)),Y(0x4,_0x49bdac(_0x320a6c))],So);const Co={'normal':{'fill':_0xf02888['cxnPointFill'],'stroke':_0xf02888[_0x1e4b59(0x5a8)],'strokeWidth':_0xf02888['cxnPointStrokeWidth']},'highlighted':{'fill':'#4285f4','stroke':_0x1e4b59(0x40c),'strokeWidth':0x2}};var wo=class extends _0x3596e1{constructor(_0x55a51e,_0x5e208b){const _0x4315f4=_0x1e4b59;super(_0x55a51e,_0x5e208b),G(this,_0x4315f4(0x22b),''),G(this,_0x4315f4(0x290),-0x1),G(this,'_unitId',''),G(this,_0x4315f4(0x2d9),''),G(this,'_isHighlighted',!0x1),_0x5e208b&&this[_0x4315f4(0x217)](_0x5e208b);}[_0x1e4b59(0x3fb)](){const _0x321574=_0x1e4b59;return{'unitId':this[_0x321574(0x289)],'subUnitId':this['_subUnitId'],'shapeId':this[_0x321574(0x22b)],'cxnIndex':this[_0x321574(0x290)]};}[_0x1e4b59(0x5c8)](_0x3e8263){const _0x1a692c=_0x1e4b59;this['_isHighlighted']!==_0x3e8263&&(this[_0x1a692c(0x20f)]=_0x3e8263,this[_0x1a692c(0x44c)](!0x0));}['isHighlighted'](){return this['_isHighlighted'];}[_0x1e4b59(0x217)](_0x5404a2){const _0x2c6840=_0x1e4b59;var _0x5e7e7f,_0x380cc4;_0x5404a2['targetShapeId']!==void 0x0&&(this[_0x2c6840(0x22b)]=_0x5404a2[_0x2c6840(0x4b0)]),_0x5404a2[_0x2c6840(0x4b2)]!==void 0x0&&(this[_0x2c6840(0x290)]=_0x5404a2[_0x2c6840(0x4b2)]),_0x5404a2['unitId']!==void 0x0&&(this['_unitId']=_0x5404a2[_0x2c6840(0x294)]),_0x5404a2[_0x2c6840(0x51e)]!==void 0x0&&(this[_0x2c6840(0x2d9)]=_0x5404a2[_0x2c6840(0x51e)]),_0x5404a2[_0x2c6840(0x23a)]!==void 0x0&&(this['_isHighlighted']=_0x5404a2[_0x2c6840(0x23a)]),this['transformByState']({'width':(_0x5e7e7f=_0x5404a2['width'])==null?_0xf02888[_0x2c6840(0x2a3)]*0x2:_0x5e7e7f,'height':(_0x380cc4=_0x5404a2[_0x2c6840(0x310)])==null?_0xf02888[_0x2c6840(0x2a3)]*0x2:_0x380cc4});}['_draw'](_0x456ecd){const _0x4b4bc9=_0x1e4b59;let _0x191026=this['_isHighlighted']?Co[_0x4b4bc9(0x3c5)]:Co['normal'];_0x2d28b6[_0x4b4bc9(0x46f)](_0x456ecd,{'radius':_0xf02888[_0x4b4bc9(0x2a3)],'fill':_0x191026[_0x4b4bc9(0x3b1)],'stroke':_0x191026[_0x4b4bc9(0x48d)],'strokeWidth':_0x191026[_0x4b4bc9(0x5bf)],'evented':!0x0});}};let To=class extends _0x2d969b{constructor(_0xba3336,_0x24f4ff,_0x332bf5,_0x1150b5){const _0x41cb51=_0x1e4b59;super(),this[_0x41cb51(0x30c)]=_0xba3336,this['_renderManagerService']=_0x24f4ff,this['_drawingManagerService']=_0x332bf5,this['_sheetsShapeService']=_0x1150b5,G(this,_0x41cb51(0x277),[]),G(this,_0x41cb51(0x3b2),null),G(this,'_highlightedSiteIndex',-0x1),G(this,'_currentScene',null),G(this,'_unitId',''),G(this,'_subUnitId',''),G(this,'_draggingConnectorId',null);}[_0x1e4b59(0x51c)](_0x1df705,_0x34c09b,_0x2600b0,_0x5d7ae4){const _0x165172=_0x1e4b59;this[_0x165172(0x5ef)]=_0x1df705,this['_unitId']=_0x34c09b,this[_0x165172(0x2d9)]=_0x2600b0,this['_draggingConnectorId']=_0x5d7ae4;}[_0x1e4b59(0x3e8)](_0x3c15cc){const _0x424d64=_0x1e4b59;if(!this[_0x424d64(0x5ef)])return null;let _0x3bcd5c=this[_0x424d64(0x211)](_0x3c15cc);return _0x3bcd5c?(this[_0x424d64(0x3b2)]!==_0x3bcd5c['shapeId']&&(this[_0x424d64(0x4fe)](),this[_0x424d64(0x49e)](_0x3bcd5c['shapeId'],_0x3bcd5c[_0x424d64(0x3bb)]),this[_0x424d64(0x3b2)]=_0x3bcd5c['shapeId']),this[_0x424d64(0x3fd)](_0x3c15cc)):(this['_activeTargetShapeId']!==null&&(this[_0x424d64(0x4fe)](),this[_0x424d64(0x3b2)]=null),null);}['endConnectionDetection'](){const _0x1a267d=_0x1e4b59;this[_0x1a267d(0x4fe)](),this['_currentScene']=null,this[_0x1a267d(0x3b2)]=null,this[_0x1a267d(0x2ac)]=-0x1,this[_0x1a267d(0x2aa)]=null;}[_0x1e4b59(0x41b)](){return this['_activeTargetShapeId']===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this['_highlightedSiteIndex']};}[_0x1e4b59(0x211)](_0x2f045d){const _0x5cd097=_0x1e4b59;let _0x4fca0f=this[_0x5cd097(0x557)][_0x5cd097(0x520)](this['_unitId'],this[_0x5cd097(0x2d9)]);for(let _0x50379c of Object[_0x5cd097(0x438)](_0x4fca0f)){if(_0x50379c===this[_0x5cd097(0x2aa)]||_0x4fca0f[_0x50379c][_0x5cd097(0x356)]!==_0x44ab60[_0x5cd097(0x526)])continue;let _0x108419=this[_0x5cd097(0x593)][_0x5cd097(0x58f)](this[_0x5cd097(0x289)],this[_0x5cd097(0x2d9)],_0x50379c);if(!_0x108419||_0x241b3b(_0x108419[_0x5cd097(0x3e4)]())||_0x108419[_0x5cd097(0x437)]()[_0x5cd097(0x270)]===0x0||!this['_currentScene'])continue;let _0x4e4541=_0x79bce2({'unitId':this[_0x5cd097(0x289)],'subUnitId':this[_0x5cd097(0x2d9)],'drawingId':_0x50379c}),_0x17127a=this[_0x5cd097(0x5ef)][_0x5cd097(0x4c0)](_0x4e4541);if(!_0x17127a)continue;let {left:_0x278cba,top:_0x2951ff,width:_0x46cb13,height:_0x3ec069}=_0x17127a[_0x5cd097(0x3d1)](),_0x243bc1=_0x278cba+_0x46cb13/0x2,_0x379d3d=_0x2951ff+_0x3ec069/0x2,_0x223f26=_0x17127a[_0x5cd097(0x44d)][_0x5cd097(0x508)](),_0x5ea552=new _0x2a1afe([_0x223f26[0x0],_0x223f26[0x1],_0x223f26[0x2],_0x223f26[0x3],_0x243bc1,_0x379d3d]),_0x2fead5=_0x17127a[_0x5cd097(0x54e)](),_0x2f3d62=(_0x17127a[_0x5cd097(0x391)]&&(_0x2fead5==null?void 0x0:_0x2fead5[_0x5cd097(0x40b)])===_0x168bd7[_0x5cd097(0x21d)]?_0x2fead5['ancestorTransform'][_0x5cd097(0x3f6)](_0x5ea552):_0x5ea552)[_0x5cd097(0x206)]()[_0x5cd097(0x425)](_0x2f045d),_0x472ce0=_0x46cb13/0x2,_0x6b9ec6=_0x3ec069/0x2;if(_0x2f3d62['x']>=-_0x472ce0-0x5&&_0x2f3d62['x']<=_0x472ce0+0x5&&_0x2f3d62['y']>=-_0x6b9ec6-0x5&&_0x2f3d62['y']<=_0x6b9ec6+0x5)return{'shapeId':_0x50379c,'shapeModel':_0x108419};}return null;}[_0x1e4b59(0x49e)](_0x3813be,_0x497e12){const _0x2071d9=_0x1e4b59;if(!this[_0x2071d9(0x5ef)])return;let _0x1ac5ad=_0x79bce2({'unitId':this[_0x2071d9(0x289)],'subUnitId':this[_0x2071d9(0x2d9)],'drawingId':_0x3813be}),_0x322165=this['_currentScene']['getObjectIncludeInGroup'](_0x1ac5ad);if(!_0x322165)return;let {left:_0xf0cd61,top:_0x17a98e,width:_0x47661f,height:_0x3a3df4}=_0x322165[_0x2071d9(0x3d1)](),_0x444db4=_0xf0cd61+_0x47661f/0x2,_0x1b7f63=_0x17a98e+_0x3a3df4/0x2,_0x498b31=_0x322165[_0x2071d9(0x44d)][_0x2071d9(0x508)](),_0x2bec09=new _0x2a1afe([_0x498b31[0x0],_0x498b31[0x1],_0x498b31[0x2],_0x498b31[0x3],_0x444db4,_0x1b7f63]),_0x1df29d=_0x322165[_0x2071d9(0x54e)](),_0x29ce90=_0x322165[_0x2071d9(0x391)]&&(_0x1df29d==null?void 0x0:_0x1df29d[_0x2071d9(0x40b)])===_0x168bd7[_0x2071d9(0x21d)]?_0x1df29d[_0x2071d9(0x32f)][_0x2071d9(0x3f6)](_0x2bec09):_0x2bec09;_0x497e12[_0x2071d9(0x3a1)]({'width':_0x47661f,'height':_0x3a3df4});let _0x5785a1=_0x497e12['getConnectionSiteList']();for(let _0x331bfd of _0x5785a1){let _0x2f8981=_0x331bfd['x']-_0x47661f/0x2,_0x3fa098=_0x331bfd['y']-_0x3a3df4/0x2,_0x3fa036=_0x29ce90['applyPoint']({'x':_0x2f8981,'y':_0x3fa098}),_0x3522f4=_0x3fa036['x'],_0x34b7d4=_0x3fa036['y'],_0x3346f0=new wo(_0x2071d9(0x52d)+_0x3813be+'-'+_0x331bfd[_0x2071d9(0x5da)],{'left':_0x3522f4-_0xf02888[_0x2071d9(0x2a3)],'top':_0x34b7d4-_0xf02888[_0x2071d9(0x2a3)],'targetShapeId':_0x3813be,'cxnIndex':_0x331bfd[_0x2071d9(0x5da)],'unitId':this[_0x2071d9(0x289)],'subUnitId':this[_0x2071d9(0x2d9)],'width':_0xf02888[_0x2071d9(0x2a3)]*0x2,'height':_0xf02888[_0x2071d9(0x2a3)]*0x2,'zIndex':_0x11e46b+0x2,'evented':!0x1});this[_0x2071d9(0x277)]['push'](_0x3346f0),this['_currentScene'][_0x2071d9(0x5f6)](_0x3346f0,_0x11e46b+0x2);}}[_0x1e4b59(0x3fd)](_0x573255){const _0xc77b42=_0x1e4b59;let _0x1a5c00=null,_0x3fe85b=0x1/0x0,_0x162821=null;for(let _0x24f82f of this['_connectionSiteObjects']){let _0x3c9715=_0x24f82f[_0xc77b42(0x5ec)]+_0xf02888[_0xc77b42(0x2a3)],_0x59d1f2=_0x24f82f[_0xc77b42(0x57b)]+_0xf02888[_0xc77b42(0x2a3)],_0x226fd4=_0x573255['x']-_0x3c9715,_0x182b3b=_0x573255['y']-_0x59d1f2,_0x479b15=Math[_0xc77b42(0x5ab)](_0x226fd4*_0x226fd4+_0x182b3b*_0x182b3b);_0x479b15<_0x3fe85b&&(_0x3fe85b=_0x479b15,_0x1a5c00=_0x24f82f,_0x162821={'x':_0x3c9715,'y':_0x59d1f2});}let _0x1656d4=_0x3fe85b<=0xa&&_0x1a5c00?_0x1a5c00['getConnectionInfo']()[_0xc77b42(0x4b2)]:-0x1;if(_0x1656d4!==this[_0xc77b42(0x2ac)]){for(let _0x2e433b of this[_0xc77b42(0x277)]){let _0x4846e4=_0x2e433b['getConnectionInfo']();_0x2e433b[_0xc77b42(0x5c8)](_0x4846e4[_0xc77b42(0x4b2)]===_0x1656d4);}this['_highlightedSiteIndex']=_0x1656d4;}if(_0x3fe85b<=0xa&&_0x1a5c00&&_0x162821){let _0x5f50e9=_0x1a5c00[_0xc77b42(0x3fb)](),_0x4ca06f=this[_0xc77b42(0x2ff)](_0x5f50e9[_0xc77b42(0x543)],_0x5f50e9[_0xc77b42(0x4b2)]);return{'shapeId':_0x5f50e9[_0xc77b42(0x543)],'cxnIndex':_0x5f50e9[_0xc77b42(0x4b2)],'unitId':_0x5f50e9['unitId'],'subUnitId':_0x5f50e9[_0xc77b42(0x51e)],'worldPoint':_0x162821,'angle':_0x4ca06f};}return null;}[_0x1e4b59(0x2ff)](_0x5bf8ca,_0x484e8c){const _0x43a1c1=_0x1e4b59;let _0xddffd8=this[_0x43a1c1(0x593)][_0x43a1c1(0x58f)](this[_0x43a1c1(0x289)],this[_0x43a1c1(0x2d9)],_0x5bf8ca);if(!_0xddffd8)return 0x0;let _0x2e6411=this[_0x43a1c1(0x557)][_0x43a1c1(0x329)]({'unitId':this[_0x43a1c1(0x289)],'subUnitId':this[_0x43a1c1(0x2d9)],'drawingId':_0x5bf8ca});if(!(_0x2e6411!=null&&_0x2e6411[_0x43a1c1(0x44d)]))return 0x0;let {width:_0x244d92=0x0,height:_0x5df5fb=0x0,flipX:_0x135ad2=!0x1,flipY:_0x4587b1=!0x1}=_0x2e6411[_0x43a1c1(0x44d)];_0xddffd8[_0x43a1c1(0x3a1)]({'width':_0x244d92,'height':_0x5df5fb});let _0x333676=_0xddffd8[_0x43a1c1(0x437)]()[_0x43a1c1(0x34e)](_0x36c736=>_0x36c736['index']===_0x484e8c);if(!_0x333676)return 0x0;let _0x19d090=_0x333676[_0x43a1c1(0x3ee)]/0xea60;return _0x135ad2&&(_0x19d090=0xb4-_0x19d090),_0x4587b1&&(_0x19d090=-_0x19d090),_0x19d090=(_0x19d090%0x168+0x168)%0x168,_0x19d090;}['_clearConnectionSites'](){const _0xcdd9a6=_0x1e4b59;for(let _0x366803 of this[_0xcdd9a6(0x277)])_0x366803[_0xcdd9a6(0x301)]();this[_0xcdd9a6(0x277)]=[],this['_highlightedSiteIndex']=-0x1;}[_0x1e4b59(0x301)](){const _0x11736f=_0x1e4b59;this[_0x11736f(0x4fe)](),super[_0x11736f(0x301)]();}};To=X([Y(0x1,_0x49bdac(_0x2302c1)),Y(0x2,_0x49bdac(_0xd6b9bd)),Y(0x3,_0x49bdac(_0x114e41))],To);let Eo=class extends _0x2d969b{constructor(_0x53f775,_0xa796ea,_0x396cc5,_0xf5a9c7,_0x14f1dd){const _0x3c51c0=_0x1e4b59;super(),this[_0x3c51c0(0x4f4)]=_0x53f775,this['_sheetClipboardService']=_0xa796ea,this[_0x3c51c0(0x247)]=_0x396cc5,this[_0x3c51c0(0x4ee)]=_0xf5a9c7,this['_groupCopyPasteController']=_0x14f1dd,G(this,_0x3c51c0(0x481),void 0x0),this[_0x3c51c0(0x213)](),this['_registerGroupFeaturePasteHook']();}get[_0x1e4b59(0x5ea)](){return this['_sheetDrawingService']['getFocusDrawings']();}[_0x1e4b59(0x371)](){const _0x48609c=_0x1e4b59;this[_0x48609c(0x378)][_0x48609c(0x4c9)](({fromUnitId:_0x1184ca,fromSubUnitId:_0x31fad7,toUnitId:_0x5f7905,toSubUnitId:_0x47187e,idMap:_0x574026})=>{const _0x4b8c07=_0x48609c;let _0x5ec0a1=[],_0x2314ab=[];for(let [_0x39f834,_0x6b6494]of _0x574026[_0x4b8c07(0x242)]()){let _0x26e829=this[_0x4b8c07(0x4ee)][_0x4b8c07(0x58f)](_0x1184ca,_0x31fad7,_0x39f834);if(!_0x26e829)continue;let _0x3be126=_0x26e829[_0x4b8c07(0x3e4)](),_0x150b63=JSON[_0x4b8c07(0x245)](JSON[_0x4b8c07(0x2a7)](_0x26e829[_0x4b8c07(0x3b6)]()));if(_0x150b63[_0x4b8c07(0x228)]){var _0x14f7db,_0x1d8c13;let _0x40c94b=(_0x14f7db=_0x150b63[_0x4b8c07(0x228)][_0x4b8c07(0x5f0)])==null?void 0x0:_0x14f7db['shapeId'],_0x2e43e7=(_0x1d8c13=_0x150b63[_0x4b8c07(0x228)]['to'])==null?void 0x0:_0x1d8c13[_0x4b8c07(0x543)],_0xf2d4b4=_0x40c94b?_0x574026['has'](_0x40c94b):!0x0,_0x5d46cb=_0x2e43e7?_0x574026['has'](_0x2e43e7):!0x0;_0xf2d4b4&&_0x40c94b&&_0x150b63['relation'][_0x4b8c07(0x5f0)]?_0x150b63[_0x4b8c07(0x228)]['from']={..._0x150b63[_0x4b8c07(0x228)][_0x4b8c07(0x5f0)],'shapeId':_0x574026[_0x4b8c07(0x4f9)](_0x40c94b)}:_0x150b63['relation'][_0x4b8c07(0x5f0)]=void 0x0,_0x5d46cb&&_0x2e43e7&&_0x150b63['relation']['to']?_0x150b63[_0x4b8c07(0x228)]['to']={..._0x150b63[_0x4b8c07(0x228)]['to'],'shapeId':_0x574026[_0x4b8c07(0x4f9)](_0x2e43e7)}:_0x150b63['relation']['to']=void 0x0;}_0x5ec0a1[_0x4b8c07(0x350)]({'id':_0x215d73['id'],'params':{'unitId':_0x5f7905,'subUnitId':_0x47187e,'shapeId':_0x6b6494,'shapeType':_0x3be126,'shapeData':_0x150b63}}),_0x2314ab[_0x4b8c07(0x350)]({'id':_0x4e21e6['id'],'params':{'unitId':_0x5f7905,'subUnitId':_0x47187e,'shapeId':_0x6b6494}});}return{'redos':_0x5ec0a1,'undos':_0x2314ab};});}[_0x1e4b59(0x213)](){const _0x56f5ef=_0x1e4b59;this[_0x56f5ef(0x502)](this[_0x56f5ef(0x32e)][_0x56f5ef(0x390)]({'id':_0x56f5ef(0x2f2),'onBeforeCopy':(_0x52e495,_0x44ce48,_0x198fc8,_0x3be99c)=>{const _0x3eb1d6=_0x56f5ef;this['_copyInfo']=null;let _0x300f45=this['_focusedDrawings'];if(_0x300f45[_0x3eb1d6(0x270)]){let _0x2bb8dc=_0x300f45[_0x3eb1d6(0x451)](_0x2d53cc=>_0x2d53cc[_0x3eb1d6(0x356)]===_0x44ab60[_0x3eb1d6(0x526)]);if(_0x2bb8dc[_0x3eb1d6(0x270)]===0x0)return;this[_0x3eb1d6(0x481)]={'unitId':_0x52e495,'subUnitId':_0x44ce48,'copyType':_0x3be99c,'drawings':_0x2bb8dc};}else this[_0x3eb1d6(0x24a)](_0x52e495,_0x44ce48,_0x198fc8,_0x3be99c);},'onPasteCells':(_0x239e83,_0x522f16,_0x20086c,_0x185767)=>{const _0x2b0223=_0x56f5ef;if(!this[_0x2b0223(0x481)])return{'redos':[],'undos':[]};let {pasteType:_0x429e73}=_0x185767;return _0x429e73===_0x82e4b5['DEFAULT_PASTE']?this[_0x2b0223(0x503)](_0x522f16,this['_copyInfo']['copyType']===_0x2ba362[_0x2b0223(0x450)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x5c42df=>this[_0x56f5ef(0x481)]?this[_0x56f5ef(0x503)](_0x5c42df,this[_0x56f5ef(0x481)][_0x56f5ef(0x36a)]===_0x2ba362[_0x56f5ef(0x450)]):{'redos':[],'undos':[]}}));}[_0x1e4b59(0x24a)](_0x569fd8,_0x1c8c5,_0x548df1,_0x18ddb2){const _0x303562=_0x1e4b59;let _0x1342ca=this[_0x303562(0x4f4)]['getSkeleton'](_0x569fd8,_0x1c8c5);if(!_0x1342ca)return;let _0x707aa=_0x5a99f9(_0x1342ca,_0x548df1);if(!_0x707aa)return;let {startX:_0x41f240,endX:_0x32ad38,startY:_0x48227e,endY:_0x51fa58}=_0x707aa,_0x1c6e81=this[_0x303562(0x247)]['getDrawingData'](_0x569fd8,_0x1c8c5),_0x24f04a=this[_0x303562(0x5ea)][_0x303562(0x439)]();for(let [_0x5f0fe2,_0x2a9532]of Object[_0x303562(0x242)](_0x1c6e81)){if(_0x2a9532[_0x303562(0x356)]!==_0x44ab60[_0x303562(0x526)])continue;let {transform:_0x3cf14b}=_0x2a9532;if(!_0x3cf14b)continue;let {left:_0x2980fe=0x0,top:_0x1eb5aa=0x0,width:_0x3879b8=0x0,height:_0xe2fd87=0x0}=_0x3cf14b;_0x41f240<=_0x2980fe&&_0x32ad38>=_0x2980fe+_0x3879b8&&_0x48227e<=_0x1eb5aa&&_0x51fa58>=_0x1eb5aa+_0xe2fd87&&_0x24f04a['push'](_0x2a9532);}_0x24f04a[_0x303562(0x270)]>0x0&&(this[_0x303562(0x481)]={'unitId':_0x569fd8,'subUnitId':_0x1c8c5,'copyType':_0x18ddb2,'copyRange':_0x548df1,'drawings':_0x24f04a});}[_0x1e4b59(0x503)](_0x2bf96f,_0x190595){const _0x41db5b=_0x1e4b59;let {unitId:_0x5c9bea,subUnitId:_0x1fef82,range:_0x1874bc}=_0x2bf96f,_0x2dc7b0=this['_sheetSkeletonService'][_0x41db5b(0x436)](_0x5c9bea,_0x1fef82);if(!_0x2dc7b0)return{'redos':[],'undos':[]};let _0x1e634e=_0x4d5024(_0x1874bc),{unitId:_0x8e30ef,subUnitId:_0x283c8f,copyRange:_0x40f50e,drawings:_0x5352be}=this['_copyInfo'],_0x582925=this['_sheetSkeletonService'][_0x41db5b(0x436)](_0x8e30ef,_0x283c8f);if(!_0x582925)return{'redos':[],'undos':[]};let _0x49ddb1;if(!_0x40f50e){let _0x32a044=0x1/0x0,_0x5aba05=0x1/0x0;for(let _0x9c06e6 of _0x5352be){var _0x21486a;let {left:_0x138cc8=0x0,top:_0x18d3f7=0x0}=(_0x21486a=_0x9c06e6[_0x41db5b(0x44d)])==null?{}:_0x21486a;_0x138cc8<_0x32a044&&(_0x32a044=_0x138cc8),_0x18d3f7<_0x5aba05&&(_0x5aba05=_0x18d3f7);}_0x32a044!==0x1/0x0&&_0x5aba05!==0x1/0x0&&(_0x49ddb1={'left':_0x32a044,'top':_0x5aba05});}let _0x5267c0=new Map();if(!_0x190595){for(let _0x89c530 of _0x5352be)_0x5267c0[_0x41db5b(0x281)](_0x89c530[_0x41db5b(0x23e)],_0x111adf());}let _0x376fc9=[],_0x4b845d=[];for(let _0xb7e7a3 of _0x5352be){let {drawingId:_0x39f2e3,transform:_0x4a027d,sheetTransform:_0x5ade06}=_0xb7e7a3;if(!_0x4a027d||!_0x5ade06)continue;let _0x1625ba=this['_updateTransform']({'transform':_0x4a027d,'sheetTransform':_0x5ade06},{'skeleton':_0x582925,'range':_0x40f50e},{'skeleton':_0x2dc7b0,'range':_0x1e634e},_0x49ddb1);if(_0x190595){let {redos:_0x42c01a,undos:_0x32c200}=this[_0x41db5b(0x39e)]({'fromUnitId':_0x8e30ef,'fromSubUnitId':_0x283c8f,'toUnitId':_0x5c9bea,'toSubUnitId':_0x1fef82,'drawing':_0xb7e7a3,'newTransforms':_0x1625ba});_0x376fc9['push'](..._0x42c01a),_0x4b845d[_0x41db5b(0x350)](..._0x32c200);continue;}let {redos:_0x4b9a8f,undos:_0x46f22a}=this[_0x41db5b(0x2d0)]({'toUnitId':_0x5c9bea,'toSubUnitId':_0x1fef82,'drawing':_0xb7e7a3,'newTransforms':_0x1625ba,'newDrawingId':_0x5267c0[_0x41db5b(0x4f9)](_0x39f2e3),'idMap':_0x5267c0});_0x376fc9[_0x41db5b(0x350)](..._0x4b9a8f),_0x4b845d['push'](..._0x46f22a);}return{'redos':_0x376fc9,'undos':_0x4b845d};}[_0x1e4b59(0x39e)](_0x1d6e98){const _0x2667e1=_0x1e4b59;let {fromUnitId:_0x31a511,fromSubUnitId:_0x4d43a2,toUnitId:_0x12998a,toSubUnitId:_0x2f011c,drawing:_0x5bd660,newTransforms:_0x299549}=_0x1d6e98,_0x85cc73={..._0x5bd660,'unitId':_0x12998a,'subUnitId':_0x2f011c,'transform':_0x299549[_0x2667e1(0x44d)],'sheetTransform':_0x299549[_0x2667e1(0x2ea)]};if(_0x12998a===_0x31a511&&_0x2f011c===_0x4d43a2){let {redo:_0x1307bf,undo:_0x29e1b6,objects:_0x439890}=this[_0x2667e1(0x247)][_0x2667e1(0x2e7)]([_0x85cc73]);return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x312)],'op':_0x1307bf,'objects':_0x439890}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf['UPDATE'],'op':_0x29e1b6,'objects':_0x439890}}]};}else{let _0xb567b=this[_0x2667e1(0x247)][_0x2667e1(0x3fe)]([_0x5bd660]),_0xacb174=this[_0x2667e1(0x247)][_0x2667e1(0x47a)]([_0x85cc73]),_0xb64766=this[_0x2667e1(0x4ee)][_0x2667e1(0x58f)](_0x5bd660['unitId'],_0x5bd660['subUnitId'],_0x5bd660[_0x2667e1(0x23e)]);if(!_0xb64766)return{'redos':[],'undos':[]};let _0xa1b2f6=_0xb64766[_0x2667e1(0x3e4)](),_0x3f5a95=JSON[_0x2667e1(0x245)](JSON['stringify'](_0xb64766[_0x2667e1(0x3b6)]()));return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'type':_0x1d0ecf[_0x2667e1(0x269)],'op':_0xb567b[_0x2667e1(0x492)],'objects':_0xb567b[_0x2667e1(0x293)]}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'shapeId':_0x5bd660[_0x2667e1(0x23e)]}},{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x44b)],'op':_0xacb174[_0x2667e1(0x492)],'objects':_0xacb174[_0x2667e1(0x293)]}},{'id':_0x215d73['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'shapeId':_0x5bd660[_0x2667e1(0x23e)],'shapeType':_0xa1b2f6,'shapeData':_0x3f5a95}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'type':_0x1d0ecf[_0x2667e1(0x44b)],'op':_0xb567b[_0x2667e1(0x548)],'objects':_0xb567b[_0x2667e1(0x293)]}},{'id':_0x215d73['id'],'params':{'unitId':_0x31a511,'subUnitId':_0x4d43a2,'shapeId':_0x5bd660['drawingId'],'shapeType':_0xa1b2f6,'shapeData':_0x3f5a95}},{'id':_0x279d0c['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'type':_0x1d0ecf[_0x2667e1(0x269)],'op':_0xacb174[_0x2667e1(0x548)],'objects':_0xacb174['objects']}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x12998a,'subUnitId':_0x2f011c,'shapeId':_0x5bd660[_0x2667e1(0x23e)]}}]};}}['_generateCopyPasteMutations'](_0x51f1cb){const _0x14f02e=_0x1e4b59;let {toUnitId:_0x5c308b,toSubUnitId:_0x44caf4,drawing:_0x5dac1b,newTransforms:_0xdf1173,newDrawingId:_0x17e73c,idMap:_0x72435f}=_0x51f1cb,_0x15f423={..._0x5dac1b,'unitId':_0x5c308b,'subUnitId':_0x44caf4,'drawingId':_0x17e73c,'transform':_0xdf1173[_0x14f02e(0x44d)],'sheetTransform':_0xdf1173[_0x14f02e(0x2ea)]},{redo:_0x40386c,undo:_0x6f40b7,objects:_0x3a1d39}=this['_sheetDrawingService'][_0x14f02e(0x47a)]([_0x15f423]),_0x46d715=this[_0x14f02e(0x4ee)]['getShapeModel'](_0x5dac1b[_0x14f02e(0x294)],_0x5dac1b[_0x14f02e(0x51e)],_0x5dac1b[_0x14f02e(0x23e)]);if(!_0x46d715)return{'redos':[],'undos':[]};let _0x219d3c=_0x46d715[_0x14f02e(0x3e4)](),_0x240fd6=JSON['parse'](JSON[_0x14f02e(0x2a7)](_0x46d715['getShapeData']()));if(_0x240fd6[_0x14f02e(0x228)]){var _0x370f7f,_0x502d35;let _0x201859=(_0x370f7f=_0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)])==null?void 0x0:_0x370f7f[_0x14f02e(0x543)],_0x1e5ddc=(_0x502d35=_0x240fd6['relation']['to'])==null?void 0x0:_0x502d35[_0x14f02e(0x543)],_0x4e72d9=_0x201859?_0x72435f[_0x14f02e(0x45d)](_0x201859):!0x0,_0x5830ca=_0x1e5ddc?_0x72435f['has'](_0x1e5ddc):!0x0;_0x4e72d9&&_0x201859&&_0x240fd6[_0x14f02e(0x228)]['from']?_0x240fd6['relation'][_0x14f02e(0x5f0)]={..._0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)],'shapeId':_0x72435f[_0x14f02e(0x4f9)](_0x201859)}:_0x240fd6[_0x14f02e(0x228)][_0x14f02e(0x5f0)]=void 0x0,_0x5830ca&&_0x1e5ddc&&_0x240fd6[_0x14f02e(0x228)]['to']?_0x240fd6[_0x14f02e(0x228)]['to']={..._0x240fd6['relation']['to'],'shapeId':_0x72435f[_0x14f02e(0x4f9)](_0x1e5ddc)}:_0x240fd6[_0x14f02e(0x228)]['to']=void 0x0;}return{'redos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'type':_0x1d0ecf[_0x14f02e(0x44b)],'op':_0x40386c,'objects':_0x3a1d39}},{'id':_0x215d73['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'shapeId':_0x17e73c,'shapeType':_0x219d3c,'shapeData':_0x240fd6}}],'undos':[{'id':_0x279d0c['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'type':_0x1d0ecf['REMOVE'],'op':_0x6f40b7,'objects':_0x3a1d39}},{'id':_0x4e21e6['id'],'params':{'unitId':_0x5c308b,'subUnitId':_0x44caf4,'shapeId':_0x17e73c}}]};}['_updateTransform'](_0x2d99ff,_0x243767,_0x4a93a4,_0xfa1d0b){const _0x3b673a=_0x1e4b59;var _0x47e97f;let {range:_0x358675,skeleton:_0x1d1443}=_0x243767,{range:_0x293c53,skeleton:_0x2beba1}=_0x4a93a4,{transform:_0xdd2eb2,sheetTransform:_0x1511f8}=_0x2d99ff,_0xa1d22c={..._0xdd2eb2};if(_0x358675){let _0x932102=_0x5a99f9(_0x1d1443,_0x358675),_0xbb3329=_0x5a99f9(_0x2beba1,_0x293c53);if(_0x932102&&_0xbb3329){var _0x4cc917,_0x325c31;let _0x4f5f7d=_0xbb3329[_0x3b673a(0x395)]-_0x932102[_0x3b673a(0x395)],_0x1526c4=_0xbb3329[_0x3b673a(0x28d)]-_0x932102[_0x3b673a(0x28d)];_0xa1d22c[_0x3b673a(0x5ec)]=((_0x4cc917=_0xa1d22c[_0x3b673a(0x5ec)])==null?0x0:_0x4cc917)+_0x4f5f7d,_0xa1d22c[_0x3b673a(0x57b)]=((_0x325c31=_0xa1d22c[_0x3b673a(0x57b)])==null?0x0:_0x325c31)+_0x1526c4;}}else{let _0x277ee2=_0x5a99f9(_0x2beba1,_0x293c53);if(_0xfa1d0b&&_0x277ee2){var _0x3e99c4,_0x11032e;let _0x1f598c=((_0x3e99c4=_0xa1d22c['left'])==null?0x0:_0x3e99c4)-_0xfa1d0b[_0x3b673a(0x5ec)],_0x5bbdd3=((_0x11032e=_0xa1d22c[_0x3b673a(0x57b)])==null?0x0:_0x11032e)-_0xfa1d0b[_0x3b673a(0x57b)];_0xa1d22c[_0x3b673a(0x5ec)]=_0x277ee2[_0x3b673a(0x395)]+_0x1f598c,_0xa1d22c[_0x3b673a(0x57b)]=_0x277ee2[_0x3b673a(0x28d)]+_0x5bbdd3;}else _0xa1d22c['left']=_0x277ee2==null?void 0x0:_0x277ee2['startX'],_0xa1d22c[_0x3b673a(0x57b)]=_0x277ee2==null?void 0x0:_0x277ee2[_0x3b673a(0x28d)];}return{'transform':_0xa1d22c,'sheetTransform':(_0x47e97f=_0x2e64cd(_0xa1d22c,_0x2beba1))==null?_0x1511f8:_0x47e97f};}};Eo=X([Y(0x0,_0x49bdac(_0x10f70c)),Y(0x1,_0x49bdac(_0x12792d)),Y(0x2,_0x49bdac(_0x113402)),Y(0x3,_0x49bdac(_0x114e41)),Y(0x4,_0x49bdac(_0x4e32fe))],Eo);var Do=class extends _0x3596e1{constructor(_0x37d5c4,_0xb1e68d){const _0x17a0bd=_0x1e4b59;super(_0x37d5c4,_0xb1e68d),G(this,_0x17a0bd(0x412),null),G(this,'_index',null),G(this,_0x17a0bd(0x289),null),G(this,_0x17a0bd(0x2d9),null),G(this,_0x17a0bd(0x51a),!0x1),_0xb1e68d&&this[_0x17a0bd(0x217)](_0xb1e68d);}[_0x1e4b59(0x2ed)](){const _0xa9a0bd=_0x1e4b59;return{'unitId':this[_0xa9a0bd(0x289)],'subUnitId':this[_0xa9a0bd(0x2d9)],'drawingId':this['_shapeId']};}['setShapeProps'](_0x4655d5){const _0x45840d=_0x1e4b59;_0x4655d5[_0x45840d(0x543)]!==void 0x0&&(this[_0x45840d(0x412)]=_0x4655d5[_0x45840d(0x543)]),_0x4655d5[_0x45840d(0x294)]!==void 0x0&&(this[_0x45840d(0x289)]=_0x4655d5[_0x45840d(0x294)]),_0x4655d5[_0x45840d(0x51e)]!==void 0x0&&(this['_subUnitId']=_0x4655d5[_0x45840d(0x51e)]),_0x4655d5[_0x45840d(0x587)]!==void 0x0&&(this[_0x45840d(0x51a)]=_0x4655d5[_0x45840d(0x587)]),this['transformByState']({'width':_0x4655d5[_0x45840d(0x381)],'height':_0x4655d5[_0x45840d(0x310)]});}[_0x1e4b59(0x21b)](_0x29b802){const _0x35c62b=_0x1e4b59;_0x2d28b6[_0x35c62b(0x46f)](_0x29b802,{'radius':_0xf02888[_0x35c62b(0x2a3)],'fill':_0xf02888[_0x35c62b(0x44a)],'stroke':_0xf02888[_0x35c62b(0x5a8)],'strokeWidth':_0xf02888[_0x35c62b(0x3ba)],'evented':!0x0});}};let Oo=class extends _0x2d969b{constructor(_0x5de090,_0x414846,_0x29fbc3,_0x5576df,_0x99487d,_0x496065,_0x1c304d,_0xa7c088){const _0x271d9c=_0x1e4b59;super(),this[_0x271d9c(0x30c)]=_0x5de090,this[_0x271d9c(0x43e)]=_0x414846,this[_0x271d9c(0x1f0)]=_0x29fbc3,this['_drawingManagerService']=_0x5576df,this[_0x271d9c(0x204)]=_0x99487d,this['_sheetsShapeService']=_0x496065,this[_0x271d9c(0x21e)]=_0x1c304d,this[_0x271d9c(0x3e9)]=_0xa7c088,G(this,_0x271d9c(0x4a2),void 0x0),G(this,_0x271d9c(0x289),void 0x0),G(this,_0x271d9c(0x2d9),void 0x0),G(this,_0x271d9c(0x3f9),[]),G(this,_0x271d9c(0x49f),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),G(this,_0x271d9c(0x5c9),void 0x0),G(this,_0x271d9c(0x29d),!0x1),G(this,_0x271d9c(0x388),!0x1),G(this,'_hasReset',!0x1),G(this,_0x271d9c(0x251),void 0x0),G(this,_0x271d9c(0x28c),void 0x0),G(this,_0x271d9c(0x597),null),this[_0x271d9c(0x595)]();}[_0x1e4b59(0x595)](){const _0x4239dc=_0x1e4b59;this[_0x4239dc(0x28f)](),this[_0x4239dc(0x3d0)]();}[_0x1e4b59(0x5e6)](){const _0x520997=_0x1e4b59;if(!this[_0x520997(0x289)]||!this['_subUnitId']||!this['_activeShapeId'])return;let _0x147c5e={'unitId':this[_0x520997(0x289)],'subUnitId':this[_0x520997(0x2d9)],'drawingId':this[_0x520997(0x4a2)]},{transform:_0x257773}=this['_drawingManagerService']['getDrawingByParam'](_0x147c5e);if(_0x257773)return{'left':_0x257773['left']||0x0,'top':_0x257773[_0x520997(0x57b)]||0x0,'width':_0x257773['width']||0x0,'height':_0x257773[_0x520997(0x310)]||0x0,'flipX':_0x257773[_0x520997(0x2bf)]||!0x1,'flipY':_0x257773[_0x520997(0x486)]||!0x1,'angle':_0x257773[_0x520997(0x452)]};}[_0x1e4b59(0x2fd)](){const _0x268b3a=_0x1e4b59;if(this[_0x268b3a(0x289)]===void 0x0||this[_0x268b3a(0x2d9)]===void 0x0||this[_0x268b3a(0x4a2)]===void 0x0)return;let _0x502141=this['_renderManagerService'][_0x268b3a(0x2f6)](this[_0x268b3a(0x289)]);if(!_0x502141||!_0x502141[_0x268b3a(0x22c)](_0x3da40f)[_0x268b3a(0x300)]())return;let {scene:_0x1aa42c}=_0x502141,_0x1883b1=this[_0x268b3a(0x5e6)]();if(!_0x1883b1)return;let _0x2326f0=this[_0x268b3a(0x593)][_0x268b3a(0x58f)](this[_0x268b3a(0x289)],this[_0x268b3a(0x2d9)],this['_activeShapeId']);if(!_0x2326f0||!_0x241b3b(_0x2326f0['getShapeType']()))return;let _0x2c4b12=_0x2326f0['getConnectorLinePoints']();if(_0x2c4b12[_0x268b3a(0x270)]<0x2)return;let _0x5c0ccd=new _0x26c87d(_0x1883b1),_0x34d7f8=_0x2c4b12[0x0],_0x22fbbe=_0x2c4b12[_0x2c4b12['length']-0x1],_0x2c4d22=_0x5c0ccd[_0x268b3a(0x422)](_0x34d7f8),_0x444338=_0x5c0ccd[_0x268b3a(0x422)](_0x22fbbe);this[_0x268b3a(0x5df)](_0x1aa42c,{..._0x2c4d22},!0x0),this[_0x268b3a(0x5df)](_0x1aa42c,{..._0x444338},!0x1);}[_0x1e4b59(0x5df)](_0x1d24f6,_0x4eae82,_0x22c078){const _0x440b9e=_0x1e4b59;if(this['_activeShapeId']===void 0x0||this['_unitId']===void 0x0||this[_0x440b9e(0x2d9)]===void 0x0)return;let _0x350ef8=_0x440b9e(0x36e)+this[_0x440b9e(0x289)]+'-'+this[_0x440b9e(0x2d9)]+'-'+this[_0x440b9e(0x4a2)]+'-'+(_0x22c078?_0x440b9e(0x339):_0x440b9e(0x313)),_0x5b3a25=_0x1d24f6['getObjectIncludeInGroup'](_0x350ef8);if(_0x5b3a25){_0x5b3a25[_0x440b9e(0x2a1)]({'left':_0x4eae82['x']-_0xf02888[_0x440b9e(0x2a3)],'top':_0x4eae82['y']-_0xf02888[_0x440b9e(0x2a3)]});return;}let _0x48db85=new Do(_0x350ef8,{'left':_0x4eae82['x']-_0xf02888[_0x440b9e(0x2a3)],'top':_0x4eae82['y']-_0xf02888[_0x440b9e(0x2a3)],'shapeId':this[_0x440b9e(0x4a2)],'unitId':this[_0x440b9e(0x289)],'subUnitId':this[_0x440b9e(0x2d9)],'isStartConnectorPoint':_0x22c078,'width':_0xf02888[_0x440b9e(0x2a3)]*0x2,'height':_0xf02888[_0x440b9e(0x2a3)]*0x2,'zIndex':_0x11e46b+0x1,'evented':!0x0});this[_0x440b9e(0x3f9)][_0x440b9e(0x350)](_0x48db85),this['_attachConnectorObjectEvent'](_0x48db85,_0x1d24f6,_0x22c078),_0x1d24f6[_0x440b9e(0x5f6)](_0x48db85,_0x11e46b+0x1);}[_0x1e4b59(0x52e)](_0x464f58,_0x248189){const _0x2ab3e9=_0x1e4b59;var _0x4befdf;let _0x4fbbe3={'x':0x0,'y':0x0};if(!_0x464f58||!_0x248189)return _0x4fbbe3;let _0x1e4c51=this[_0x2ab3e9(0x1f0)]['getRenderById'](_0x464f58);if(!_0x1e4c51||!_0x1e4c51['with'](_0x3da40f)[_0x2ab3e9(0x436)](_0x248189))return _0x4fbbe3;let _0x58ed53=_0x1e4c51[_0x2ab3e9(0x22c)](_0x3a611d),_0x2c1d9c=_0x58ed53==null?void 0x0:_0x58ed53[_0x2ab3e9(0x576)]();if(!_0x2c1d9c)return _0x4fbbe3;let _0x3afd1e=(_0x4befdf=this[_0x2ab3e9(0x204)]['getUnit'](_0x464f58))==null?void 0x0:_0x4befdf[_0x2ab3e9(0x1f3)](_0x248189);if(!_0x3afd1e)return _0x4fbbe3;let _0x3b2384=_0x30fe0a(_0x2c1d9c[_0x2ab3e9(0x338)],_0x2c1d9c['sheetViewStartColumn'],_0x1e4c51[_0x2ab3e9(0x37d)],_0x3afd1e);return _0x3b2384?{'x':_0x3b2384[_0x2ab3e9(0x342)],'y':_0x3b2384[_0x2ab3e9(0x2ef)]}:_0x4fbbe3;}[_0x1e4b59(0x394)](_0x494c6a,_0x14f1ee){const _0x225eae=_0x1e4b59;var _0x506b0b,_0x33f19f;let _0x320b5f=(_0x506b0b=this[_0x225eae(0x204)][_0x225eae(0x551)](_0x494c6a))==null?void 0x0:_0x506b0b[_0x225eae(0x1f3)](_0x14f1ee);return(_0x33f19f=_0x320b5f==null?void 0x0:_0x320b5f['getZoomRatio']())==null?0x1:_0x33f19f;}[_0x1e4b59(0x385)](_0x44db14,_0x193063,_0x4248d2,_0xd5d0b7,_0x454381){const _0x1d4843=_0x1e4b59;this[_0x1d4843(0x251)][_0x1d4843(0x4ac)](),this[_0x1d4843(0x28c)][_0x1d4843(0x4ac)](),this['_sheetShapeAdjustController']['refreshAdjustControls']();let _0x145362=this[_0x1d4843(0x597)];this[_0x1d4843(0x3e9)][_0x1d4843(0x2e2)]();let _0x4af713=this['_getScrollInfo'](this[_0x1d4843(0x289)],this['_subUnitId']),_0x56c36d=this[_0x1d4843(0x394)](this[_0x1d4843(0x289)],this[_0x1d4843(0x2d9)]),_0x34b15f={'x':_0x4248d2[_0x1d4843(0x212)]/_0x56c36d+_0x4af713['x'],'y':_0x4248d2[_0x1d4843(0x4f3)]/_0x56c36d+_0x4af713['y']},_0xf71d0e=_0x145362?_0x145362[_0x1d4843(0x23d)]:_0x34b15f,_0x13ab5f=_0xd5d0b7?this[_0x1d4843(0x5c9)][_0x1d4843(0x1f2)]():this[_0x1d4843(0x5c9)][_0x1d4843(0x413)](),_0x9b3b34=this[_0x1d4843(0x5c9)][_0x1d4843(0x3e4)]();_0x13ab5f?this[_0x1d4843(0x563)](_0x13ab5f,_0xf71d0e,_0xd5d0b7,_0x145362,_0x454381):this[_0x1d4843(0x57e)](_0x193063,_0xf71d0e,_0xd5d0b7,_0x145362,_0x454381,_0x9b3b34),this[_0x1d4843(0x29d)]=!0x1,this['_hasReset']=!0x1,this[_0x1d4843(0x597)]=null,_0x44db14[_0x1d4843(0x2a5)]();}[_0x1e4b59(0x57e)](_0xde837c,_0x28c98c,_0x575b1b,_0x3abbea,_0xc10335,_0x42719f){const _0x3eb136=_0x1e4b59;let _0x45f289=_0x42719f===_0x4d29db[_0x3eb136(0x354)]||_0x42719f===_0x4d29db[_0x3eb136(0x2db)],_0x3ac64f=_0x575b1b?_0x28c98c:_0xde837c,_0xf27fe2=_0x575b1b?_0xde837c:_0x28c98c,_0x42d261=this[_0x3eb136(0x5c9)][_0x3eb136(0x4ef)](),_0x39076a=_0x1c7eb9(this[_0x3eb136(0x5c9)][_0x3eb136(0x3e4)]()),_0x48bf20=_0x26c87d[_0x3eb136(0x429)](_0x42d261,_0x39076a),_0x4c456d=_0x45f289?_0x26c87d[_0x3eb136(0x32a)](_0x3ac64f,_0xf27fe2):_0x26c87d['computeConnectorResizeLayout'](_0xde837c,_0x28c98c,_0x575b1b,_0x48bf20);_0x3abbea?this[_0x3eb136(0x4a8)](_0x4c456d,_0x3abbea,_0x575b1b,_0xc10335):this[_0x3eb136(0x5f1)](_0x4c456d,_0xc10335);}[_0x1e4b59(0x563)](_0x4aa128,_0x1ee2be,_0x1ee86b,_0x4a7468,_0x10067a){const _0x31aa04=_0x1e4b59;let _0x180317=this[_0x31aa04(0x2a2)](_0x4aa128);if(!_0x180317)return;let _0x2c2082=_0x4a7468?_0x4a7468[_0x31aa04(0x452)]:this[_0x31aa04(0x364)](_0x180317[_0x31aa04(0x266)],_0x1ee2be),_0x2a35fb;if(_0x4a7468){let _0x27e0ee=this['_drawingManagerService'][_0x31aa04(0x329)]({'unitId':_0x4a7468['unitId'],'subUnitId':_0x4a7468[_0x31aa04(0x51e)],'drawingId':_0x4a7468[_0x31aa04(0x543)]});if(_0x27e0ee!=null&&_0x27e0ee['transform']){let {left:_0xdf3304=0x0,top:_0x5327a0=0x0,width:_0x2f4d26=0x0,height:_0x4212ad=0x0,angle:_0x5cdd91}=_0x27e0ee[_0x31aa04(0x44d)];_0x2a35fb=_0x1b6222({'left':_0xdf3304,'top':_0x5327a0,'width':_0x2f4d26,'height':_0x4212ad},_0x5cdd91||0x0);}else _0x2a35fb={'left':_0x1ee2be['x'],'top':_0x1ee2be['y'],'width':0x0,'height':0x0};}else _0x2a35fb={'left':_0x1ee2be['x'],'top':_0x1ee2be['y'],'width':0x0,'height':0x0};let _0x1a644b={'point':_0x1ee2be,'angle':_0x2c2082,'bounds':_0x2a35fb},_0x5bacc7=_0x1ee86b?_0x1a644b:_0x180317,_0x45765f=_0x1ee86b?_0x180317:_0x1a644b,_0x57fed7=this[_0x31aa04(0x5c9)][_0x31aa04(0x3e4)](),_0x21d5ad=_0x4361af(_0x5bacc7,_0x45765f,_0x57fed7);this[_0x31aa04(0x5c9)][_0x31aa04(0x22e)]();let _0x4e7abd=_0x30d37b(_0x21d5ad,_0x57fed7);_0x4a7468?this[_0x31aa04(0x332)](_0x4e7abd,_0x4a7468,_0x4aa128,_0x1ee86b,_0x10067a):this[_0x31aa04(0x375)](_0x4e7abd,_0x4aa128,_0x1ee86b,_0x10067a);}[_0x1e4b59(0x4a8)](_0x285e1b,_0x4be161,_0x5559a8,_0x2b4638){const _0x59481d=_0x1e4b59;let _0x306efc=this[_0x59481d(0x5c9)][_0x59481d(0x3b6)]()[_0x59481d(0x228)],_0x1abdbc={..._0x306efc},_0xd34596={'shapeId':_0x4be161[_0x59481d(0x543)],'cxnIndex':_0x4be161['cxnIndex']};_0x5559a8?_0x1abdbc[_0x59481d(0x5f0)]=_0xd34596:_0x1abdbc['to']=_0xd34596;let _0x5b0597=this['_activeShapeModel'][_0x59481d(0x3e4)](),_0x4ef3c2=_0x30d37b(_0x285e1b[_0x59481d(0x4f6)],_0x5b0597),_0x27da61={'unitId':this[_0x59481d(0x289)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x59481d(0x4a2)],'width':_0x285e1b[_0x59481d(0x3ca)]['width'],'height':_0x285e1b[_0x59481d(0x3ca)]['height'],'left':_0x285e1b['worldRect'][_0x59481d(0x5ec)],'top':_0x285e1b[_0x59481d(0x3ca)]['top'],'flipX':_0x285e1b[_0x59481d(0x3ca)][_0x59481d(0x2bf)]||!0x1,'flipY':_0x285e1b[_0x59481d(0x3ca)]['flipY']||!0x1,'newAdjustValues':_0x4ef3c2[_0x59481d(0x2a4)],'oldAdjustValues':_0x2b4638,'oldRelation':_0x306efc,'newRelation':_0x1abdbc,'newLineType':_0x4ef3c2[_0x59481d(0x330)],'oldLineType':_0x5b0597};this[_0x59481d(0x43e)][_0x59481d(0x361)](_0x3b868c['id'],_0x27da61);}[_0x1e4b59(0x5f1)](_0x345971,_0x144e6d){const _0x2d4bc6=_0x1e4b59;let _0x58d035=this['_activeShapeModel']['getShapeType'](),_0x444459=_0x30d37b(_0x345971[_0x2d4bc6(0x4f6)],_0x58d035),_0x4365bc={'unitId':this['_unitId'],'subUnitId':this[_0x2d4bc6(0x2d9)],'shapeId':this[_0x2d4bc6(0x4a2)],'width':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x381)],'height':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x310)],'left':_0x345971[_0x2d4bc6(0x3ca)]['left'],'top':_0x345971[_0x2d4bc6(0x3ca)]['top'],'flipX':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x2bf)]||!0x1,'flipY':_0x345971[_0x2d4bc6(0x3ca)][_0x2d4bc6(0x486)]||!0x1,'angle':_0x345971['worldRect'][_0x2d4bc6(0x452)]||0x0,'newAdjustValues':_0x444459['adjustValues'],'oldAdjustValues':_0x144e6d,'newLineType':_0x444459[_0x2d4bc6(0x330)],'oldLineType':_0x58d035};this['_commandService'][_0x2d4bc6(0x361)](_0x2906c4['id'],_0x4365bc);}[_0x1e4b59(0x332)](_0x50f3f4,_0x2be2e5,_0x1cc073,_0x5e0554,_0x24a64b){const _0x200a28=_0x1e4b59;let _0x2b8d35=this['_activeShapeModel'][_0x200a28(0x3b6)]()[_0x200a28(0x228)],_0x30a751={..._0x2b8d35},_0x531bd3={'shapeId':_0x2be2e5[_0x200a28(0x543)],'cxnIndex':_0x2be2e5['cxnIndex']};_0x5e0554?(_0x30a751['from']=_0x531bd3,_0x30a751['to']=_0x1cc073):(_0x30a751[_0x200a28(0x5f0)]=_0x1cc073,_0x30a751['to']=_0x531bd3);let _0x110567={'unitId':this[_0x200a28(0x289)],'subUnitId':this[_0x200a28(0x2d9)],'connectorShapeId':this[_0x200a28(0x4a2)],'width':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x381)],'height':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x310)],'left':_0x50f3f4[_0x200a28(0x3ca)]['left'],'top':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x57b)],'flipX':_0x50f3f4[_0x200a28(0x3ca)][_0x200a28(0x2bf)]||!0x1,'flipY':_0x50f3f4['worldRect']['flipY']||!0x1,'oldAdjustValues':_0x24a64b,'newAdjustValues':_0x50f3f4['adjustValues'],'newLineType':_0x50f3f4['lineType'],'rotation':_0x50f3f4['rotation'],'oldRelation':_0x2b8d35,'newRelation':_0x30a751};this[_0x200a28(0x43e)][_0x200a28(0x361)](_0x3b868c['id'],_0x110567);}[_0x1e4b59(0x375)](_0x56e151,_0x156594,_0x150f03,_0x2ee364){const _0x288655=_0x1e4b59;let _0x320ce9=this[_0x288655(0x5c9)][_0x288655(0x3b6)]()['relation'],_0x3af936={};_0x150f03?(_0x3af936['to']=_0x156594,_0x3af936[_0x288655(0x5f0)]=void 0x0):(_0x3af936[_0x288655(0x5f0)]=_0x156594,_0x3af936['to']=void 0x0);let _0x49b9b0={'unitId':this[_0x288655(0x289)],'subUnitId':this[_0x288655(0x2d9)],'connectorShapeId':this['_activeShapeId'],'width':_0x56e151[_0x288655(0x3ca)][_0x288655(0x381)],'height':_0x56e151[_0x288655(0x3ca)][_0x288655(0x310)],'left':_0x56e151[_0x288655(0x3ca)][_0x288655(0x5ec)],'top':_0x56e151[_0x288655(0x3ca)][_0x288655(0x57b)],'flipX':_0x56e151[_0x288655(0x3ca)][_0x288655(0x2bf)]||!0x1,'flipY':_0x56e151[_0x288655(0x3ca)][_0x288655(0x486)]||!0x1,'oldAdjustValues':_0x2ee364,'newAdjustValues':_0x56e151[_0x288655(0x2a4)],'newLineType':_0x56e151['lineType'],'rotation':_0x56e151['rotation'],'oldRelation':_0x320ce9,'newRelation':_0x3af936};this['_commandService']['executeCommand'](_0x3b868c['id'],_0x49b9b0);}[_0x1e4b59(0x20e)](_0x47992e,_0x252e21,_0x54b07b){const _0xf59345=_0x1e4b59;this[_0xf59345(0x502)](_0x38994f(_0x47992e['onPointerDown$'][_0xf59345(0x573)]((_0x204fe7,_0x331a95)=>{const _0x3f2a14=_0xf59345;let _0x1d93b7=_0x47992e['getDrawingSearch']();if(this[_0x3f2a14(0x5c9)]=this[_0x3f2a14(0x593)][_0x3f2a14(0x58f)](_0x1d93b7[_0x3f2a14(0x294)],_0x1d93b7[_0x3f2a14(0x51e)],_0x1d93b7[_0x3f2a14(0x23e)]),!this[_0x3f2a14(0x5c9)])return;let _0x1d5e74={};this[_0x3f2a14(0x5c9)]['getAdjustNames']()[_0x3f2a14(0x30e)](_0x5b217a=>{const _0x1137d1=_0x3f2a14;let _0x585271=this[_0x1137d1(0x5c9)][_0x1137d1(0x5e8)](_0x5b217a);_0x585271!==void 0x0&&(_0x1d5e74[_0x5b217a]=_0x585271);});let _0x50f524=this[_0x3f2a14(0x5e6)]();if(!_0x50f524)return;this[_0x3f2a14(0x49f)]={..._0x50f524};let _0x217201=new _0x26c87d(this[_0x3f2a14(0x49f)]),_0xf53eee=_0x79bce2({'unitId':this[_0x3f2a14(0x289)],'subUnitId':this[_0x3f2a14(0x2d9)],'drawingId':this[_0x3f2a14(0x4a2)]}),_0x2c5122=_0x252e21[_0x3f2a14(0x4c0)](_0xf53eee);this[_0x3f2a14(0x29d)]=!0x0,_0x252e21[_0x3f2a14(0x473)](),this[_0x3f2a14(0x3e9)][_0x3f2a14(0x51c)](_0x252e21,this[_0x3f2a14(0x289)],this[_0x3f2a14(0x2d9)],this[_0x3f2a14(0x4a2)]),this[_0x3f2a14(0x597)]=null;let _0x1bce75=this[_0x3f2a14(0x5c9)]['getConnectorLinePoints'](),_0x5dbc68=_0x1bce75[0x0],_0x37e13d=_0x1bce75[_0x1bce75[_0x3f2a14(0x270)]-0x1],_0x2f028f=_0x54b07b?_0x217201[_0x3f2a14(0x422)](_0x37e13d):_0x217201[_0x3f2a14(0x422)](_0x5dbc68);this[_0x3f2a14(0x251)]=_0x252e21[_0x3f2a14(0x5e2)][_0x3f2a14(0x573)]((_0x29bb01,_0x50042a)=>{const _0x2f239d=_0x3f2a14;if(!this['_isConnecting']||!this[_0x2f239d(0x5c9)])return;this['_hasReset']||(this[_0x2f239d(0x21e)][_0x2f239d(0x547)](),this[_0x2f239d(0x5c9)][_0x2f239d(0x43f)](),this[_0x2f239d(0x28b)]=!0x0);let _0x50377a=this[_0x2f239d(0x52e)](this['_unitId'],this['_subUnitId']),_0xd35fee=this['_getZoomRatio'](this[_0x2f239d(0x289)],this[_0x2f239d(0x2d9)]),_0x5772e5={'x':_0x29bb01[_0x2f239d(0x212)]/_0xd35fee+_0x50377a['x'],'y':_0x29bb01[_0x2f239d(0x4f3)]/_0xd35fee+_0x50377a['y']},_0x3ddcc3=this['_sheetBasicShapeConnectionPointController'][_0x2f239d(0x3e8)](_0x5772e5);if(_0x3ddcc3){let {shapeId:_0x38ed49,unitId:_0x57c2bc,subUnitId:_0x2fdc82}=_0x3ddcc3;if(_0x38ed49&&_0x57c2bc&&_0x2fdc82){let _0x11a8bb=_0x79bce2({'unitId':_0x57c2bc,'subUnitId':_0x2fdc82,'drawingId':_0x38ed49});_0x3ddcc3[_0x2f239d(0x452)]=(_0x252e21[_0x2f239d(0x4c0)](_0x11a8bb)[_0x2f239d(0x452)]||0x0)+_0x3ddcc3[_0x2f239d(0x452)];}}this['_currentConnectionTarget']=_0x3ddcc3;let _0x2e50fa=_0x54b07b?this[_0x2f239d(0x5c9)][_0x2f239d(0x1f2)]():this['_activeShapeModel'][_0x2f239d(0x413)]();if(_0x2e50fa){this[_0x2f239d(0x448)](_0x2e50fa,_0x5772e5,_0x54b07b,_0x2c5122,_0x47992e);return;}this[_0x2f239d(0x1ef)](_0x5772e5,_0x2f028f,_0x54b07b,_0x2c5122,_0x47992e);}),this[_0x3f2a14(0x28c)]=_0x252e21[_0x3f2a14(0x2de)][_0x3f2a14(0x573)]((_0x58f7a4,_0x40039c)=>{const _0xf89da5=_0x3f2a14;this[_0xf89da5(0x385)](_0x252e21,_0x2f028f,_0x58f7a4,_0x54b07b,_0x1d5e74);}),_0x331a95[_0x3f2a14(0x288)]();})));}[_0x1e4b59(0x327)](_0x5a469f,_0x36a523,_0x48e09f){const _0x20d72c=_0x1e4b59;let _0x3f9c09=this[_0x20d72c(0x593)]['getBasicShapeRelation'](_0x5a469f,_0x36a523,_0x48e09f);if(!_0x3f9c09||_0x3f9c09[_0x20d72c(0x270)]===0x0)return;let _0x3abcc6=this[_0x20d72c(0x1f0)][_0x20d72c(0x2f6)](_0x5a469f);if(!_0x3abcc6)return;let {scene:_0x5322ec}=_0x3abcc6;for(let _0x350d37 of _0x3f9c09){let _0x386691=_0x350d37[_0x20d72c(0x331)],_0x4add00=this[_0x20d72c(0x593)][_0x20d72c(0x58f)](_0x5a469f,_0x36a523,_0x386691);if(!_0x4add00)continue;let _0x109780=_0x4add00[_0x20d72c(0x413)](),_0x444a3d=_0x4add00[_0x20d72c(0x1f2)](),_0x43ee3d=(_0x109780==null?void 0x0:_0x109780[_0x20d72c(0x543)])===_0x48e09f,_0x27d655=_0x79bce2({'unitId':_0x5a469f,'subUnitId':_0x36a523,'drawingId':_0x386691}),_0x458361=_0x5322ec[_0x20d72c(0x4c0)](_0x27d655);if(!_0x458361)continue;let _0x126fb6=this[_0x20d72c(0x557)]['getDrawingByParam']({'unitId':_0x5a469f,'subUnitId':_0x36a523,'drawingId':_0x386691});_0x126fb6!=null&&_0x126fb6[_0x20d72c(0x44d)]&&(_0x109780&&_0x444a3d?this[_0x20d72c(0x379)](_0x5a469f,_0x36a523,_0x386691,_0x4add00,_0x109780,_0x444a3d,_0x458361):this[_0x20d72c(0x512)](_0x5a469f,_0x36a523,_0x386691,_0x4add00,_0x43ee3d?_0x109780:_0x444a3d,_0x43ee3d,_0x126fb6,_0x458361));}}[_0x1e4b59(0x379)](_0x4b6a25,_0x20bd9a,_0x4b386b,_0x2e4e46,_0x5192e8,_0x299b45,_0x491ad6){const _0x3380eb=_0x1e4b59;let _0x2a3d51=this[_0x3380eb(0x289)],_0xee9adf=this[_0x3380eb(0x2d9)];this['_unitId']=_0x4b6a25,this['_subUnitId']=_0x20bd9a;let _0x2cda61=this[_0x3380eb(0x2a2)](_0x5192e8),_0x1beaeb=this[_0x3380eb(0x2a2)](_0x299b45);if(this[_0x3380eb(0x289)]=_0x2a3d51,this['_subUnitId']=_0xee9adf,!_0x2cda61||!_0x1beaeb)return;let _0x2052c7=_0x2e4e46[_0x3380eb(0x3e4)](),_0x465fee=_0x4361af(_0x2cda61,_0x1beaeb,_0x2052c7);_0x465fee&&_0x2e4e46[_0x3380eb(0x2da)](_0x465fee);let _0x7f01c=_0x30d37b(_0x465fee,_0x2052c7);_0x7f01c[_0x3380eb(0x330)]!==_0x2052c7&&_0x2e4e46[_0x3380eb(0x4fc)](_0x7f01c['lineType']),_0x2e4e46[_0x3380eb(0x43f)]();for(let [_0x36793a,_0x1e4ed5]of Object[_0x3380eb(0x242)](_0x7f01c[_0x3380eb(0x2a4)]))_0x2e4e46[_0x3380eb(0x522)](_0x36793a,_0x1e4ed5);_0x2e4e46[_0x3380eb(0x3a1)]({'width':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x381)],'height':_0x7f01c[_0x3380eb(0x3ca)]['height']}),_0x491ad6[_0x3380eb(0x2a1)]({'flipX':_0x7f01c['worldRect'][_0x3380eb(0x2bf)],'flipY':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x486)],'left':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x5ec)],'top':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x57b)],'width':_0x7f01c[_0x3380eb(0x3ca)]['width'],'height':_0x7f01c[_0x3380eb(0x3ca)][_0x3380eb(0x310)],'angle':_0x7f01c[_0x3380eb(0x35b)]}),_0x2e4e46['removeLinePoints']();}[_0x1e4b59(0x512)](_0x3431b4,_0x9a3399,_0x37b004,_0x487fe6,_0x540027,_0xe7f58b,_0x51703b,_0xcb6984){const _0x1a217e=_0x1e4b59;let _0x24b2f8=this['_unitId'],_0x3596d5=this[_0x1a217e(0x2d9)];this[_0x1a217e(0x289)]=_0x3431b4,this[_0x1a217e(0x2d9)]=_0x9a3399;let _0x404498=this[_0x1a217e(0x2a2)](_0x540027);if(this[_0x1a217e(0x289)]=_0x24b2f8,this[_0x1a217e(0x2d9)]=_0x3596d5,!_0x404498)return;let {left:_0x73eff6=0x0,top:_0x4ebf84=0x0,width:_0x37483e=0x0,height:_0x3c4489=0x0,flipX:_0x1eecc6=!0x1,flipY:_0x198c79=!0x1}=_0x51703b[_0x1a217e(0x44d)],_0x248099=_0x487fe6[_0x1a217e(0x4ef)]();if(_0x248099[_0x1a217e(0x270)]<0x2)return;let _0x33a8f2=new _0x26c87d({'left':_0x73eff6,'top':_0x4ebf84,'width':_0x37483e,'height':_0x3c4489,'flipX':_0x1eecc6,'flipY':_0x198c79}),_0x4f0518=_0xe7f58b?_0x248099[_0x248099['length']-0x1]:_0x248099[0x0],_0x51f78c=_0x33a8f2[_0x1a217e(0x422)](_0x4f0518),_0x4ac74e=_0x26c87d[_0x1a217e(0x320)](_0x51f78c,_0x404498[_0x1a217e(0x266)],!_0xe7f58b);_0xcb6984[_0x1a217e(0x2a1)]({'flipX':_0x4ac74e[_0x1a217e(0x3ca)]['flipX'],'flipY':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x486)],'left':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x5ec)],'top':_0x4ac74e[_0x1a217e(0x3ca)]['top'],'width':_0x4ac74e[_0x1a217e(0x3ca)]['width'],'height':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x310)],'angle':_0x4ac74e[_0x1a217e(0x3ca)][_0x1a217e(0x452)]}),_0xcb6984[_0x1a217e(0x44c)](!0x0);}[_0x1e4b59(0x528)](){const _0x344cbe=_0x1e4b59;this[_0x344cbe(0x3f9)][_0x344cbe(0x270)]!==0x0&&(this['_connectorObjects'][_0x344cbe(0x30e)](_0x3e438c=>{const _0x236b73=_0x344cbe;_0x3e438c[_0x236b73(0x301)]();}),this[_0x344cbe(0x3f9)]=[]);}[_0x1e4b59(0x3d0)](){const _0x3403f5=_0x1e4b59;let _0x25c4ed=this['_univerInstanceService'][_0x3403f5(0x3c0)](_0x45bf6b[_0x3403f5(0x3df)]);this['disposeWithMe'](_0x25c4ed[_0x3403f5(0x3b4)](_0x4ee608(_0x1f2e82=>_0x1f2e82?_0x1f2e82[_0x3403f5(0x4b5)][_0x3403f5(0x3b4)](_0x4ee608(_0x1c7a54=>{const _0x148fe6=_0x3403f5;if(!_0x1c7a54)return _0x35918a;let _0x2b8294=_0x1f2e82[_0x148fe6(0x340)](),_0x311a86=this[_0x148fe6(0x1f0)][_0x148fe6(0x2f6)](_0x2b8294),_0x30a92c=_0x311a86==null?void 0x0:_0x311a86['scene'];return _0x30a92c?_0x2b1548(_0x30a92c):_0x35918a;})):_0x35918a))[_0x3403f5(0x4da)](_0x47bd64=>{const _0x18bb6a=_0x3403f5;let _0x3c7567=_0x47bd64[_0x18bb6a(0x479)]();this['disposeWithMe'](_0x47bd64[_0x18bb6a(0x5e2)]['subscribeEvent'](_0x171904=>{const _0x1f7212=_0x18bb6a;this[_0x1f7212(0x388)]&&this['_activeShapeId']&&this[_0x1f7212(0x528)]();})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x203)][_0x18bb6a(0x4da)](_0x51b80b=>{const _0x43e09d=_0x18bb6a;let {objects:_0x386b02}=_0x51b80b;this[_0x43e09d(0x528)](),_0x386b02!==null&&_0x386b02[_0x43e09d(0x4bf)]===0x1&&_0x386b02['values']()['next']()[_0x43e09d(0x35e)]instanceof Ba&&(this[_0x43e09d(0x388)]=!0x0);})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x2d8)]['subscribe'](_0x22e8a=>{const _0x4cd9aa=_0x18bb6a;this[_0x4cd9aa(0x388)]&&this[_0x4cd9aa(0x528)]();})),this[_0x18bb6a(0x502)](_0x47bd64[_0x18bb6a(0x2de)]['subscribeEvent'](()=>{const _0x41f405=_0x18bb6a;this[_0x41f405(0x388)]&&(this[_0x41f405(0x388)]=!0x1,this[_0x41f405(0x2fd)]());})),this[_0x18bb6a(0x502)](_0x3c7567[_0x18bb6a(0x33a)][_0x18bb6a(0x4da)](()=>{const _0x6b9530=_0x18bb6a;this[_0x6b9530(0x289)]&&this[_0x6b9530(0x2d9)]&&this[_0x6b9530(0x4a2)]&&this['_drawingManagerService'][_0x6b9530(0x329)]({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x6b9530(0x4a2)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x6b9530(0x2fd)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x4efc3c=_0x1e4b59;this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)][_0x4efc3c(0x291)]['subscribe'](_0x3afc97=>{const _0x5ef086=_0x4efc3c;if(_0x3afc97['length']===0x1){let _0x1ba4f7=_0x3afc97[0x0];if(_0x1ba4f7[_0x5ef086(0x356)]===_0x44ab60[_0x5ef086(0x526)]){let _0x1bd606=this[_0x5ef086(0x593)][_0x5ef086(0x58f)](_0x1ba4f7[_0x5ef086(0x294)],_0x1ba4f7[_0x5ef086(0x51e)],_0x1ba4f7[_0x5ef086(0x23e)]);if(_0x1bd606&&_0x241b3b(_0x1bd606[_0x5ef086(0x3e4)]())){this[_0x5ef086(0x4a2)]=_0x1ba4f7[_0x5ef086(0x23e)],this[_0x5ef086(0x289)]=_0x1ba4f7['unitId'],this[_0x5ef086(0x2d9)]=_0x1ba4f7[_0x5ef086(0x51e)],this['_clearShapeConnectorHandlerObjects'](),this['_addShapeConnectorHandlerObjects']();return;}}}this['_activeShapeId']=void 0x0,this[_0x5ef086(0x289)]=void 0x0,this[_0x5ef086(0x2d9)]=void 0x0,this[_0x5ef086(0x528)]();})),this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)]['update$']['subscribe'](_0x1475de=>{const _0x6ef362=_0x4efc3c;if(_0x1475de[_0x6ef362(0x270)]===0x1){var _0x1e2e84;let _0x123b79=_0x1475de[0x0],_0x174526=(_0x1e2e84=this[_0x6ef362(0x557)][_0x6ef362(0x329)](_0x123b79))==null?void 0x0:_0x1e2e84['drawingType'];_0x174526===_0x44ab60[_0x6ef362(0x526)]&&_0x123b79[_0x6ef362(0x23e)]===this[_0x6ef362(0x4a2)]?(this[_0x6ef362(0x528)](),this['_addShapeConnectorHandlerObjects']()):!this[_0x6ef362(0x4a2)]&&_0x174526===_0x44ab60[_0x6ef362(0x526)]&&this['_handleBasicShapeUpdateConnectorLineShape'](_0x123b79[_0x6ef362(0x294)],_0x123b79[_0x6ef362(0x51e)],_0x123b79[_0x6ef362(0x23e)]);}})),this[_0x4efc3c(0x502)](this[_0x4efc3c(0x557)][_0x4efc3c(0x5d9)][_0x4efc3c(0x4da)](_0xaf4d16=>{const _0x168d1f=_0x4efc3c;for(let _0x2657a0 of _0xaf4d16){let {drawingId:_0x157e15}=_0x2657a0;if(this[_0x168d1f(0x4a2)]===_0x157e15){this[_0x168d1f(0x2b1)]();return;}}}));}[_0x1e4b59(0x448)](_0x5c2438,_0x43845f,_0x1fde50,_0x1c6e0a,_0x5313d0){const _0x44e96b=_0x1e4b59;var _0x5e13ca,_0x4bcdc1;if(!this[_0x44e96b(0x5c9)])return;let _0x5f2a8e=this['_getConnectPointInfo'](_0x5c2438);if(!_0x5f2a8e)return;let _0x42151b=this[_0x44e96b(0x597)]?this['_currentConnectionTarget'][_0x44e96b(0x23d)]:_0x43845f,_0x377307=this[_0x44e96b(0x597)]?this[_0x44e96b(0x597)][_0x44e96b(0x452)]:this[_0x44e96b(0x364)](_0x5f2a8e['point'],_0x42151b),_0x1608a0;if(this[_0x44e96b(0x597)]){let _0x32766e=this['_drawingManagerService'][_0x44e96b(0x329)]({'unitId':this[_0x44e96b(0x597)][_0x44e96b(0x294)],'subUnitId':this[_0x44e96b(0x597)]['subUnitId'],'drawingId':this[_0x44e96b(0x597)]['shapeId']});if(_0x32766e!=null&&_0x32766e[_0x44e96b(0x44d)]){let {left:_0x173e3c=0x0,top:_0x57506a=0x0,width:_0x433591=0x0,height:_0xde549b=0x0,angle:_0x15f07e}=_0x32766e['transform'];_0x1608a0=_0x1b6222({'left':_0x173e3c,'top':_0x57506a,'width':_0x433591,'height':_0xde549b},_0x15f07e||0x0);}else _0x1608a0={'left':_0x42151b['x'],'top':_0x42151b['y'],'width':0x0,'height':0x0};}else _0x1608a0={'left':_0x42151b['x'],'top':_0x42151b['y'],'width':0x0,'height':0x0};let _0x103ec1={'point':_0x42151b,'angle':_0x377307,'bounds':_0x1608a0},_0x3497c9=_0x1fde50?_0x103ec1:_0x5f2a8e,_0x24c425=_0x1fde50?_0x5f2a8e:_0x103ec1,_0x2ac780=this['_activeShapeModel'][_0x44e96b(0x3e4)](),_0x4bd037=_0x4361af(_0x3497c9,_0x24c425,_0x2ac780);_0x4bd037&&this['_activeShapeModel'][_0x44e96b(0x2da)](_0x4bd037);let _0x167f92=_0x30d37b(_0x4bd037,_0x2ac780);_0x167f92['lineType']!==_0x2ac780&&this[_0x44e96b(0x5c9)][_0x44e96b(0x4fc)](_0x167f92[_0x44e96b(0x330)]);for(let [_0x402b73,_0x48ff2b]of Object[_0x44e96b(0x242)](_0x167f92[_0x44e96b(0x2a4)]))this[_0x44e96b(0x5c9)][_0x44e96b(0x522)](_0x402b73,_0x48ff2b);this[_0x44e96b(0x5c9)]['updateContext']({'width':_0x167f92['worldRect']['width'],'height':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x310)]}),_0x1c6e0a[_0x44e96b(0x2a1)]({'flipX':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x2bf)],'flipY':_0x167f92['worldRect'][_0x44e96b(0x486)],'left':_0x167f92[_0x44e96b(0x3ca)]['left'],'top':_0x167f92['worldRect']['top'],'width':_0x167f92[_0x44e96b(0x3ca)][_0x44e96b(0x381)],'height':_0x167f92[_0x44e96b(0x3ca)]['height'],'angle':_0x167f92[_0x44e96b(0x35b)]}),_0x1c6e0a[_0x44e96b(0x44c)](!0x0);let _0x4f8e13=(_0x5e13ca=(_0x4bcdc1=this[_0x44e96b(0x597)])==null?void 0x0:_0x4bcdc1['worldPoint'])==null?_0x43845f:_0x5e13ca;_0x5313d0[_0x44e96b(0x2a1)]({'left':_0x4f8e13['x']-_0xf02888['cxnPointRadius'],'top':_0x4f8e13['y']-_0xf02888['cxnPointRadius']});}[_0x1e4b59(0x1ef)](_0x45025f,_0x2fca62,_0x1f2d68,_0x40c954,_0x152cc0){const _0x39c7c2=_0x1e4b59;var _0x3f126d,_0x32a621,_0x30807d,_0x187601;let _0x5201e7=(_0x3f126d=(_0x32a621=this[_0x39c7c2(0x597)])==null?void 0x0:_0x32a621[_0x39c7c2(0x23d)])==null?_0x45025f:_0x3f126d,_0x5aed26=_0x26c87d[_0x39c7c2(0x320)](_0x2fca62,_0x5201e7,_0x1f2d68);_0x40c954['transformByState']({'flipX':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x2bf)],'flipY':_0x5aed26[_0x39c7c2(0x3ca)]['flipY'],'left':_0x5aed26['worldRect'][_0x39c7c2(0x5ec)],'top':_0x5aed26['worldRect'][_0x39c7c2(0x57b)],'width':_0x5aed26[_0x39c7c2(0x3ca)]['width'],'height':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x310)],'angle':_0x5aed26[_0x39c7c2(0x3ca)][_0x39c7c2(0x452)]});let _0x4877c9=(_0x30807d=(_0x187601=this[_0x39c7c2(0x597)])==null?void 0x0:_0x187601[_0x39c7c2(0x23d)])==null?_0x45025f:_0x30807d;_0x152cc0[_0x39c7c2(0x2a1)]({'left':_0x4877c9['x']-_0xf02888[_0x39c7c2(0x2a3)],'top':_0x4877c9['y']-_0xf02888[_0x39c7c2(0x2a3)]});}[_0x1e4b59(0x2a2)](_0x51691a){const _0x1db186=_0x1e4b59;if(!this[_0x1db186(0x289)]||!this[_0x1db186(0x2d9)])return null;let {shapeId:_0x84d6e4,cxnIndex:_0xa8539d}=_0x51691a,_0x150db3=this['_sheetsShapeService'][_0x1db186(0x58f)](this[_0x1db186(0x289)],this[_0x1db186(0x2d9)],_0x84d6e4);if(!_0x150db3)return null;let _0x30d73d=this[_0x1db186(0x557)][_0x1db186(0x329)]({'unitId':this['_unitId'],'subUnitId':this[_0x1db186(0x2d9)],'drawingId':_0x84d6e4});if(!(_0x30d73d!=null&&_0x30d73d['transform']))return null;let {left:_0x553a98=0x0,top:_0x5565ed=0x0,width:_0x4a6079=0x0,height:_0x1d8296=0x0,flipX:_0x1c3692=!0x1,flipY:_0x1511be=!0x1,angle:_0x5ca37a}=_0x30d73d[_0x1db186(0x44d)];_0x150db3[_0x1db186(0x3a1)]({'width':_0x4a6079,'height':_0x1d8296});let _0x2d78e6=_0x150db3['getConnectionSiteList']()[_0x1db186(0x34e)](_0x292ea8=>_0x292ea8[_0x1db186(0x5da)]===_0xa8539d);if(!_0x2d78e6)return null;let _0x35655e=_0x1c3692?_0x4a6079-_0x2d78e6['x']:_0x2d78e6['x'],_0x4cbb65=_0x1511be?_0x1d8296-_0x2d78e6['y']:_0x2d78e6['y'];if(_0x5ca37a!==0x0&&_0x5ca37a!=null){let _0x25029f=_0x5ca37a*Math['PI']/0xb4,_0x220b50=Math['cos'](_0x25029f),_0x319c8f=Math[_0x1db186(0x34d)](_0x25029f),_0x38679d=_0x4a6079/0x2,_0x2b8b31=_0x1d8296/0x2,_0x4f6edf=_0x35655e-_0x38679d,_0x47a96e=_0x4cbb65-_0x2b8b31;_0x35655e=_0x38679d+_0x4f6edf*_0x220b50-_0x47a96e*_0x319c8f,_0x4cbb65=_0x2b8b31+_0x4f6edf*_0x319c8f+_0x47a96e*_0x220b50;}_0x35655e+=_0x553a98,_0x4cbb65+=_0x5565ed;let _0x2ad776=_0x2d78e6[_0x1db186(0x3ee)]/0xea60;_0x1c3692&&(_0x2ad776=0xb4-_0x2ad776),_0x1511be&&(_0x2ad776=-_0x2ad776),_0x2ad776+=_0x5ca37a||0x0,_0x2ad776=(_0x2ad776%0x168+0x168)%0x168;let _0x2e3fbd=_0x1b6222({'left':_0x553a98,'top':_0x5565ed,'width':_0x4a6079,'height':_0x1d8296},_0x5ca37a||0x0);return{'point':{'x':_0x35655e,'y':_0x4cbb65},'angle':_0x2ad776,'bounds':_0x2e3fbd};}[_0x1e4b59(0x364)](_0xc478b3,_0x17811f){const _0x1585c5=_0x1e4b59;let _0x252fa5=_0x17811f['x']-_0xc478b3['x'],_0x293e3e=_0x17811f['y']-_0xc478b3['y'];return Math[_0x1585c5(0x1f1)](_0x252fa5)>=Math[_0x1585c5(0x1f1)](_0x293e3e)?_0x252fa5>=0x0?0xb4:0x0:_0x293e3e>=0x0?0x10e:0x5a;}[_0x1e4b59(0x2b1)](){const _0x17a79b=_0x1e4b59;this['_activeShapeId']=void 0x0,this[_0x17a79b(0x289)]=void 0x0,this[_0x17a79b(0x2d9)]=void 0x0,this[_0x17a79b(0x528)]();}[_0x1e4b59(0x301)](){const _0x204e4e=_0x1e4b59;this[_0x204e4e(0x528)](),super['dispose']();}};Oo=X([Y(0x1,_0x229c27),Y(0x2,_0x2302c1),Y(0x3,_0xd6b9bd),Y(0x4,_0x2b0f26),Y(0x5,_0x49bdac(_0x114e41)),Y(0x6,_0x49bdac(Ha)),Y(0x7,_0x49bdac(To))],Oo);let ko=class extends _0x2d969b{constructor(_0x231d27,_0x3b0632,_0x538891){const _0x1c08e2=_0x1e4b59;super(),this[_0x1c08e2(0x43e)]=_0x231d27,this['_localeService']=_0x3b0632,this[_0x1c08e2(0x4d1)]=_0x538891,this[_0x1c08e2(0x592)]();}['_initPermission'](){const _0x42406c=_0x1e4b59;this[_0x42406c(0x502)](this[_0x42406c(0x43e)][_0x42406c(0x32b)](_0x42fcba=>{const _0x322849=_0x42406c;let _0x10fac3,_0x29de4b;if(_0x42fcba['id']===_0x368421['id']||_0x42fcba['id']===_0x1c0103['id']||_0x42fcba['id']===_0x3b868c['id']){let _0xc31142=_0x42fcba[_0x322849(0x25d)];_0x10fac3=_0xc31142[_0x322849(0x294)],_0x29de4b=_0xc31142[_0x322849(0x51e)];}!_0x10fac3||!_0x29de4b||this[_0x322849(0x4d1)]['permissionCheckWithoutRange']({'workbookTypes':[_0x3326f9],'worksheetTypes':[_0x6e8fe4]},_0x10fac3,_0x29de4b)||this[_0x322849(0x4d1)][_0x322849(0x480)](this[_0x322849(0x4a7)]['t'](_0x322849(0x55b)));}));}};ko=X([Y(0x0,_0x49bdac(_0x229c27)),Y(0x1,_0x49bdac(_0x10276c)),Y(0x2,_0x49bdac(_0x5429b9))],ko);let $=class extends _0x40b34e{constructor(_0x18d700=so,_0xab269c,_0x4148d8,_0x42693d,_0x5979a0){const _0xa226a6=_0x1e4b59;super(),this['_config']=_0x18d700,this[_0xa226a6(0x1f6)]=_0xab269c,this[_0xa226a6(0x43e)]=_0x4148d8,this[_0xa226a6(0x225)]=_0x42693d,this[_0xa226a6(0x1f0)]=_0x5979a0;let {..._0xcd84a4}=_0x47be0f({},so,this[_0xa226a6(0x25a)]);this[_0xa226a6(0x225)]['setConfig'](_0xa226a6(0x4d4),_0xcd84a4),this['_initCommands']();}['onRendered'](){const _0xdaddd0=_0x1e4b59;_0x58fa53(this[_0xdaddd0(0x1f6)],[[Q],[co],[Z]]);}[_0x1e4b59(0x334)](){const _0x264d41=_0x1e4b59;this[_0x264d41(0x1f6)][_0x264d41(0x4f9)](Q)[_0x264d41(0x516)]();}[_0x1e4b59(0x5f2)](){const _0x30317e=_0x1e4b59;[[To],[Ha],[Eo]][_0x30317e(0x30e)](_0x16c3bb=>this[_0x30317e(0x1f6)][_0x30317e(0x565)](_0x16c3bb)),_0x58fa53(this['_injector'],[[Eo]]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[To]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[Ha]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b[_0x30317e(0x3df)],[vo]),this['_renderManagerService'][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_SHEET'],[Oo]),this['_renderManagerService']['registerRenderModule'](_0x45bf6b[_0x30317e(0x3df)],[bo]),this[_0x30317e(0x1f0)][_0x30317e(0x4ec)](_0x45bf6b['UNIVER_DOC'],[So]);}[_0x1e4b59(0x56d)](){const _0x2aa346=_0x1e4b59;this['_injector'][_0x2aa346(0x565)]([_o]),this[_0x2aa346(0x1f6)][_0x2aa346(0x4f9)](_o);let _0x27cf79=this[_0x2aa346(0x1f6)];[[Q],[co],[Z],[K],[yo],[Za],[ko]][_0x2aa346(0x30e)](_0x57a341=>_0x27cf79[_0x2aa346(0x565)](_0x57a341)),_0x58fa53(this['_injector'],[[Q],[co],[Z],[K],[yo],[Za],[ko]]);}[_0x1e4b59(0x372)](){const _0x5dfd79=_0x1e4b59;[Wa,q,J,Ta,Ea,Oa,Da,Aa,ja,ka,Ua][_0x5dfd79(0x30e)](_0x52d5a0=>this[_0x5dfd79(0x502)](this[_0x5dfd79(0x43e)][_0x5dfd79(0x3fc)](_0x52d5a0)));}};G($,_0x1e4b59(0x3cf),_0x45bf6b['UNIVER_SHEET']),G($,_0x1e4b59(0x4e9),'SHEET_SHAPE_UI_PLUGIN'),G($,_0x1e4b59(0x544),ao),G($,_0x1e4b59(0x517),oo),$=X([_0xef694(_0x508bb9,_0x54eb2e),Y(0x1,_0x49bdac(_0x2ea32b)),Y(0x2,_0x229c27),Y(0x3,_0x152b95),Y(0x4,_0x2302c1)],$);export{Ea as SetShapeTextFontSizeCommand,Oa as SetShapeTextFontSizeDecreaseCommand,Da as SetShapeTextFontSizeIncreaseCommand,Ta as SetShapeTextHorizontalAlignCommand,J as SetShapeTextVerticalAlignCommand,ka as ShapeDocAlignCommand,Q as SheetsShapeUIController,$ as UniverSheetsShapeUIPlugin,q as UpdateShapeDataCommand};
|