@univerjs-pro/sheets-shape-ui 0.25.0 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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.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/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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5a7f20=_0x2c06;(function(_0x187766,_0x42b41a){const _0x419989=_0x2c06,_0x355d10=_0x187766();while(!![]){try{const _0x35991f=-parseInt(_0x419989(0x560))/0x1+parseInt(_0x419989(0x5aa))/0x2*(-parseInt(_0x419989(0x60a))/0x3)+parseInt(_0x419989(0x297))/0x4+-parseInt(_0x419989(0x464))/0x5+parseInt(_0x419989(0x305))/0x6*(-parseInt(_0x419989(0x272))/0x7)+parseInt(_0x419989(0x574))/0x8+parseInt(_0x419989(0x3dd))/0x9*(parseInt(_0x419989(0x34e))/0xa);if(_0x35991f===_0x42b41a)break;else _0x355d10['push'](_0x355d10['shift']());}catch(_0x3f79bc){_0x355d10['push'](_0x355d10['shift']());}}}(_0x5354,0x4dd04));import{InsertShapeCommand as _0x5a3ad6,InsertSheetsShapeMutation as _0x265a48,RemoveSheetsShapeMutation as _0x1afa91,SetShapeDrawingDataCommand as _0x30ee7d,SetSheetsShapeRotateCommand as _0x102a47,SetSheetsShapeTextVerticalToggleCommand as _0x1acfd0,SheetsShapeService as _0xc9428c,ToggleSheetsShapeFlipCommand as _0x2e47d3,UniverSheetsShapePlugin as _0x4ac018,UpdateConnectorRelationCommand as _0x9e59c9,UpdateLineShapeResizeCommand as _0x110f42,UpdateSheetsShapeDataMutation as _0x1b6401}from'@univerjs-pro/sheets-shape';import{CommandType as _0x90c7cf,DependentOn as _0xc07bae,Disposable as _0x185401,DocumentDataModel as _0x2d9804,DrawingTypeEnum as _0x5d8611,FOCUSING_COMMON_DRAWINGS as _0x180a18,FOCUSING_PANEL_EDITOR as _0x1e0e6e,FOCUSING_SHAPE_TEXT_EDITOR as _0x414a62,HorizontalAlign as _0xbfeb53,ICommandService as _0x2e069e,IConfigService as _0x1d4840,IContextService as _0x2d6196,IURLImageService as _0x863706,IUndoRedoService as _0x478971,IUniverInstanceService as _0x1005f5,Inject as _0x1e77ba,Injector as _0x54d8ad,LocaleService as _0x2e65fd,Plugin as _0x3a89bd,ThemeService as _0x52db0,Tools as _0x2c82c8,UniverInstanceType as _0x162ef7,VerticalAlign as _0x583d52,WrapStrategy as _0x491404,createInternalEditorID as _0x2ee237,generateRandomId as _0x1ecc78,merge as _0x4738e3,toDisposable as _0x162f95,touchDependencies as _0x249b7b}from'@univerjs/core';import{CopySheetCommand as _0xd48fc4,RemoveSheetCommand as _0x2f1184,SheetInterceptorService as _0x345a24,SheetPermissionCheckController as _0x1a30ea,SheetSkeletonService as _0x5294fa,SheetsSelectionsService as _0x3e5ae1,WorkbookEditablePermission as _0x34a758,WorksheetEditPermission as _0x343b12,attachRangeWithCoord as _0xc6d9d5,discreteRangeToRange as _0x5d3fa2,getSheetCommandTarget as _0x4ed56f}from'@univerjs/sheets';import{DrawingApplyType as _0x25351c,ISheetDrawingService as _0x1aa5fa,RemoveSheetDrawingCommand as _0x1941fd,SetDrawingApplyMutation as _0x423692,transformToDrawingPosition as _0x222d67}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x1bbae1,EMPTY as _0x502183,Observable as _0x2a4797,map as _0x3c7675,of as _0x570989,startWith as _0x104f12,switchMap as _0x1e398}from'rxjs';import{IDrawingManagerService as _0x2ac48c,IImageIoService as _0x5e714a,getDrawingShapeKeyByDrawingSearch as _0x46e3e9,getImageSize as _0x1d0b19}from'@univerjs/drawing';import{CURSOR_TYPE as _0x1b0deb,Circle as _0x574c0f,DRAWING_OBJECT_LAYER_INDEX as _0x3929c9,DocumentSkeleton as _0x327840,DocumentViewModel as _0x7f0de6,Documents as _0x58a7a8,IRenderManagerService as _0x43fdcf,Image as _0x4b0b23,RENDER_CLASS_TYPE as _0x558a8a,SHEET_VIEWPORT_KEY as _0x443ad0,Shape as _0xe1d4df,Transform as _0x155f20,VERTICAL_ROTATE_ANGLE as _0x3d7355,Vector2 as _0x140ff4}from'@univerjs/engine-render';import{AlignOperationCommand as _0x4afefb,BreakLineCommand as _0x102157,IEditorService as _0x2d2c99,ResetInlineFormatTextBackgroundColorCommand as _0x18ca3c,SetInlineFormatTextBackgroundColorCommand as _0x822770,useEditor as _0x534063,useIsFocusing as _0x53c7cc,useKeyboardEvent as _0x43c3cc,useLeftAndRightArrow as _0xb89232}from'@univerjs/docs-ui';import{MoreDownIcon as _0x3e4f53,PaintBucketDoubleIcon as _0x2507f7,ShapeAccentBorderCallout1Icon as _0x49c694,ShapeAccentBorderCallout2Icon as _0x24217b,ShapeAccentBorderCallout3Icon as _0x3ebc4b,ShapeAccentCallout1Icon as _0xa45fc7,ShapeAccentCallout2Icon as _0x3adfc8,ShapeAccentCallout3Icon as _0x1c498c,ShapeActionButtonBackPreviousIcon as _0x5d1d99,ShapeActionButtonBeginningIcon as _0x168e98,ShapeActionButtonBlankIcon as _0x459144,ShapeActionButtonDocumentIcon as _0x521819,ShapeActionButtonEndIcon as _0x409cbb,ShapeActionButtonForwardNextIcon as _0x4faf12,ShapeActionButtonHelpIcon as _0x5260a1,ShapeActionButtonHomeIcon as _0x15766d,ShapeActionButtonInformationIcon as _0x329996,ShapeActionButtonMovieIcon as _0x50ab91,ShapeActionButtonReturnIcon as _0x57d13d,ShapeActionButtonSoundIcon as _0x41a356,ShapeArcIcon as _0x3f87c1,ShapeBentArrowIcon as _0x33e81e,ShapeBentConnector3Arrow1Icon as _0x432d2c,ShapeBentConnector3Arrow2Icon as _0x51eeb9,ShapeBentConnector3Icon as _0x333014,ShapeBentUpArrowIcon as _0x3eb7c6,ShapeBevelIcon as _0x3f073f,ShapeBlockArcIcon as _0xcb7fe5,ShapeBorderCallout1Icon as _0x3ac5d2,ShapeBorderCallout2Icon as _0x354cf7,ShapeBorderCallout3Icon as _0x51b46d,ShapeBracePairIcon as _0x4a6799,ShapeBracketPairIcon as _0xfd1d85,ShapeCallout1Icon as _0x26c766,ShapeCallout2Icon as _0x51bf9e,ShapeCallout3Icon as _0x3193c4,ShapeCanIcon as _0x23515e,ShapeChartPlusIcon as _0x3ffa6a,ShapeChartStarIcon as _0x219e7e,ShapeChartXIcon as _0x4dddd6,ShapeChevronIcon as _0x153fb4,ShapeChordIcon as _0x452356,ShapeCircularArrowIcon as _0x306544,ShapeCloudCalloutIcon as _0x10c388,ShapeCloudIcon as _0x360ebe,ShapeCornerIcon as _0x422e98,ShapeCornerTabsIcon as _0x1fe2a2,ShapeCubeIcon as _0xc014b1,ShapeCurvedConnector3Arrow1Icon as _0x156d69,ShapeCurvedConnector3Arrow2Icon as _0x368a2e,ShapeCurvedConnector3Icon as _0x2758a3,ShapeCurvedDownArrowIcon as _0x5f2714,ShapeCurvedLeftArrowIcon as _0x166686,ShapeCurvedRightArrowIcon as _0x453bca,ShapeCurvedUpArrowIcon as _0x92711a,ShapeDecagonIcon as _0x275b6d,ShapeDiagStripeIcon as _0x195305,ShapeDiamondIcon as _0x51a238,ShapeDodecagonIcon as _0x43a7f7,ShapeDonutIcon as _0x40810c,ShapeDoubleWaveIcon as _0x7f1196,ShapeDownArrowCalloutIcon as _0x4a2f6c,ShapeDownArrowIcon as _0x213c9c,ShapeEllipseIcon as _0x1c5a25,ShapeEllipseRibbon2Icon as _0x3c2f85,ShapeEllipseRibbonIcon as _0x58077d,ShapeFlowChartAlternateProcessIcon as _0x21350f,ShapeFlowChartCollateIcon as _0x14c27a,ShapeFlowChartConnectorIcon as _0x4c5a39,ShapeFlowChartDecisionIcon as _0x436148,ShapeFlowChartDelayIcon as _0x25e7a9,ShapeFlowChartDisplayIcon as _0x56da35,ShapeFlowChartDocumentIcon as _0x439f1c,ShapeFlowChartExtractIcon as _0x34da00,ShapeFlowChartInputOutputIcon as _0x4dd2f4,ShapeFlowChartInternalStorageIcon as _0x21bcac,ShapeFlowChartMagneticDiskIcon as _0x4ac4ef,ShapeFlowChartMagneticDrumIcon as _0x46a58e,ShapeFlowChartMagneticTapeIcon as _0x2fea43,ShapeFlowChartManualInputIcon as _0x40bab9,ShapeFlowChartManualOperationIcon as _0x2ae98e,ShapeFlowChartMergeIcon as _0x79620e,ShapeFlowChartMultidocumentIcon as _0x40980d,ShapeFlowChartOfflineStorageIcon as _0xedb022,ShapeFlowChartOffpageConnectorIcon as _0x496318,ShapeFlowChartOnlineStorageIcon as _0x4449dc,ShapeFlowChartOrIcon as _0x2c653a,ShapeFlowChartPredefinedProcessIcon as _0x16dc1a,ShapeFlowChartPreparationIcon as _0x483bb5,ShapeFlowChartProcessIcon as _0x4c747b,ShapeFlowChartPunchedCardIcon as _0x278b80,ShapeFlowChartPunchedTapeIcon as _0x5ce091,ShapeFlowChartSortIcon as _0x5ca430,ShapeFlowChartSummingJunctionIcon as _0x5056f8,ShapeFlowChartTerminatorIcon as _0x26dfeb,ShapeFolderCornerIcon as _0xff17da,ShapeFrameIcon as _0x4a6029,ShapeFunnelIcon as _0x492f0a,ShapeGear6Icon as _0x46344f,ShapeGear9Icon as _0x16ad45,ShapeHalfFrameIcon as _0x2868e1,ShapeHeartIcon as _0x172d7e,ShapeHeptagonIcon as _0x36ef8a,ShapeHexagonIcon as _0x56714b,ShapeHomePlateIcon as _0x59ae39,ShapeHorizontalScrollIcon as _0x140d52,ShapeIcon as _0x443271,ShapeIrregularSeal1Icon as _0x19a668,ShapeIrregularSeal2Icon as _0x3ebe05,ShapeLeftArrowCalloutIcon as _0x18e07a,ShapeLeftArrowIcon as _0x3d3b38,ShapeLeftBraceIcon as _0x299ab5,ShapeLeftBracketIcon as _0x351d9e,ShapeLeftCircularArrowIcon as _0x1d3fd1,ShapeLeftRightArrowCalloutIcon as _0x336d75,ShapeLeftRightArrowIcon as _0x188829,ShapeLeftRightCircularArrowIcon as _0x2ad4d3,ShapeLeftRightRibbonIcon as _0x39ee42,ShapeLeftRightUpArrowIcon as _0x34a3ff,ShapeLeftUpArrowIcon as _0x3b41cc,ShapeLightningBoltIcon as _0x16fcd2,ShapeLineIcon as _0x28c21d,ShapeLineInvIcon as _0x2562e0,ShapeMathDivideIcon as _0x40aa8b,ShapeMathEqualIcon as _0x1d854d,ShapeMathMinusIcon as _0x1b3427,ShapeMathMultiplyIcon as _0x2ee12d,ShapeMathNotEqualIcon as _0x59ccb4,ShapeMathPlusIcon as _0x2fbc6d,ShapeMoonIcon as _0x1f98d4,ShapeNoSmokingIcon as _0x143692,ShapeNonIsoscelesTrapezoidIcon as _0x9d3655,ShapeNotchedRightArrowIcon as _0x2a3ff9,ShapeOctagonIcon as _0xae140a,ShapeParallelogramIcon as _0x4fa0fb,ShapePentagonIcon as _0x285b70,ShapePieIcon as _0x1eeecc,ShapePieWedgeIcon as _0x3a5c3d,ShapePlaqueIcon as _0x1a95ed,ShapePlaqueTabsIcon as _0x5d1d0f,ShapePlusIcon as _0xb92428,ShapeQuadArrowCalloutIcon as _0x25409b,ShapeQuadArrowIcon as _0x4bf1ee,ShapeRectIcon as _0x53c07e,ShapeRectTextboxHorizontalIcon as _0x4fa9ff,ShapeRectTextboxVerticalIcon as _0x290b6,ShapeRibbon2Icon as _0xb08b96,ShapeRibbonIcon as _0x2998e8,ShapeRightArrowCalloutIcon as _0x1d983e,ShapeRightArrowIcon as _0x31f326,ShapeRightBraceIcon as _0x49539f,ShapeRightBracketIcon as _0x30b4cd,ShapeRound1RectIcon as _0x2f33e2,ShapeRound2DiagRectIcon as _0x8f39a3,ShapeRound2SameRectIcon as _0x4a566a,ShapeRoundRectIcon as _0x12ae7a,ShapeRtTriangleIcon as _0x4a73aa,ShapeSmileyFaceIcon as _0x288ae9,ShapeSnip1RectIcon as _0x30648b,ShapeSnip2DiagRectIcon as _0x4998a6,ShapeSnip2SameRectIcon as _0x3508cd,ShapeSnipRoundRectIcon as _0x386b6c,ShapeSquareTabsIcon as _0x26972e,ShapeStar10Icon as _0x3765a8,ShapeStar12Icon as _0x5c0c63,ShapeStar16Icon as _0x38791b,ShapeStar24Icon as _0x524247,ShapeStar32Icon as _0xa04ca0,ShapeStar4Icon as _0x19e8f2,ShapeStar5Icon as _0x35ec0c,ShapeStar6Icon as _0x19b7a3,ShapeStar7Icon as _0x361fcd,ShapeStar8Icon as _0x23a3fc,ShapeStraightConnector1Icon as _0x18620e,ShapeStraightConnector2Icon as _0x3c51e9,ShapeStripedRightArrowIcon as _0x2dcd10,ShapeSunIcon as _0x123440,ShapeSwooshArrowIcon as _0x21e466,ShapeTeardropIcon as _0x2675e5,ShapeTrapezoidIcon as _0xb9f4c0,ShapeTriangleIcon as _0x3666e8,ShapeUpArrowCalloutIcon as _0x4a0541,ShapeUpArrowIcon as _0x58b05,ShapeUpDownArrowCalloutIcon as _0x26cefa,ShapeUpDownArrowIcon as _0x42201a,ShapeUturnArrowIcon as _0xa93d64,ShapeVerticalScrollIcon as _0x3cccba,ShapeWaveIcon as _0x5de847,ShapeWedgeEllipseCalloutIcon as _0x58469f,ShapeWedgeRectCalloutIcon as _0x192b27,ShapeWedgeRoundRectCalloutIcon as _0x11ac0b}from'@univerjs/icons';import{COPY_TYPE as _0x1be5d9,ISheetClipboardService as _0x291ef0,PREDEFINED_HOOK_NAME as _0x2c01a3,SheetCanvasPopManagerService as _0x292339,SheetScrollManagerService as _0x13c1a9,SheetSkeletonManagerService as _0x4e2ed9,deriveStateFromActiveSheet$ as _0x3ff24c,getCurrentRangeDisable$ as _0x4e5e72,getViewportByCell as _0x5cde96}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x33268d,ComponentManager as _0x5b38e3,IMenuManagerService as _0x5ce143,ISidebarService as _0x3f3778,KeyCode as _0x1a9450,MenuItemType as _0x24710b,RibbonInsertGroup as _0x20bf3c,RibbonPosition as _0x562207,RibbonStartGroup as _0x388c9e,getMenuHiddenObservable as _0x99fa14,useDependency as _0x5bcd39,useObservable as _0x4c8d63}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x22c5d0,ImageFillModeEnum as _0x158edf,ImageSourceTypeEnum as _0x24f6a5,ShapeArrowSizeEnum as _0x193749,ShapeArrowTypeEnum as _0x285f09,ShapeDefaultConfig as _0x9a1b85,ShapeFillEnum as _0x1a4c7e,ShapeGradientTypeEnum as _0x3feb4e,ShapeLineCapEnum as _0x11f170,ShapeLineDashEnum as _0x140eee,ShapeLineJoinEnum as _0x46ca3e,ShapeLineTypeEnum as _0xbaf4f3,ShapeModel as _0x198c5a,ShapeRenderModeEnum as _0x3ad569,ShapeSketchTypeEnum as _0x3e9582,ShapeTypeEnum as _0x5c87c5,computeConnectorRouteLayout as _0x1498f5,getBasicShapeRotateBound as _0x137faa,isConnectorShape as _0x39df67,isCurvedConnectorShape as _0x594cf4,routeConnectorLineShape as _0x374a50}from'@univerjs-pro/engine-shape';import{Accordion as _0xa8f5b0,Button as _0x466dea,Checkbox as _0x2353cb,ColorPicker as _0x21f13b,Dropdown as _0x5c8dc3,GradientColorPicker as _0x2be8f6,InputNumber as _0x1f6580,Radio as _0xd58fe9,RadioGroup as _0x2ecbb7,Select as _0x30c735,clsx as _0x45e4e0}from'@univerjs/design';import{memo as _0xc22a53,useCallback as _0x79c09a,useEffect as _0x45aacf,useMemo as _0x5652b4,useRef as _0xd3b7d0,useState as _0x39af17}from'react';import{DrawingCommonPanel as _0x1e005d,DrawingImageClipService as _0x25daf2,DrawingRenderService as _0x3298dc,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x124c3f,getCurrentUnitInfo as _0x285cd7,insertGroupObject as _0x240a96}from'@univerjs/drawing-ui';import{Fragment as _0x7b339f,jsx as _0x20f703,jsxs as _0xb4dd11}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x498cce,SheetsDrawingGroupCopyPasteController as _0x2bf67b,UniverSheetsDrawingUIPlugin as _0x2073ff}from'@univerjs/sheets-drawing-ui';import{DocSkeletonManagerService as _0x2abcb8,RichTextEditingMutation as _0x4d10e0}from'@univerjs/docs';function La(_0x1b44b5){'@babel/helpers - typeof';const _0x58d7c3=_0x2c06;return La=typeof Symbol==_0x58d7c3(0x4b8)&&typeof Symbol[_0x58d7c3(0x363)]==_0x58d7c3(0x31d)?function(_0x5c34be){return typeof _0x5c34be;}:function(_0x3349a3){const _0x3b5bc7=_0x58d7c3;return _0x3349a3&&typeof Symbol=='function'&&_0x3349a3['constructor']===Symbol&&_0x3349a3!==Symbol[_0x3b5bc7(0x3fb)]?'symbol':typeof _0x3349a3;},La(_0x1b44b5);}function Ra(_0x367922,_0xd2b5c4){const _0x9c4775=_0x2c06;if(La(_0x367922)!=_0x9c4775(0x602)||!_0x367922)return _0x367922;var _0x26076c=_0x367922[Symbol[_0x9c4775(0x2fd)]];if(_0x26076c!==void 0x0){var _0x4745f9=_0x26076c[_0x9c4775(0x58b)](_0x367922,_0xd2b5c4||'default');if(La(_0x4745f9)!=_0x9c4775(0x602))return _0x4745f9;throw TypeError(_0x9c4775(0x28c));}return(_0xd2b5c4===_0x9c4775(0x612)?String:Number)(_0x367922);}function za(_0x239ed5){const _0x34af33=_0x2c06;var _0x162a64=Ra(_0x239ed5,_0x34af33(0x612));return La(_0x162a64)==_0x34af33(0x31d)?_0x162a64:_0x162a64+'';}function Y(_0x3e4f9e,_0x409b5a,_0x2753a8){return(_0x409b5a=za(_0x409b5a))in _0x3e4f9e?Object['defineProperty'](_0x3e4f9e,_0x409b5a,{'value':_0x2753a8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3e4f9e[_0x409b5a]=_0x2753a8,_0x3e4f9e;}var X=class extends _0x185401{constructor(..._0x2c1a29){const _0x491989=_0x2c06;super(..._0x2c1a29),Y(this,_0x491989(0x630),new _0x1bbae1(null)),Y(this,_0x491989(0x3bf),this[_0x491989(0x630)][_0x491989(0x547)]()),Y(this,_0x491989(0x21b),new _0x1bbae1(!0x1)),Y(this,_0x491989(0x654),this['_onSavingEditorData$'][_0x491989(0x547)]());}['dispose'](){const _0x58008b=_0x2c06;this[_0x58008b(0x630)]['next'](null),this['_editingParams$'][_0x58008b(0x522)](),this[_0x58008b(0x21b)]['next'](!0x1),this[_0x58008b(0x21b)][_0x58008b(0x522)](),super[_0x58008b(0x4b5)]();}['setEditing'](_0x1da305){const _0x3193c5=_0x2c06;this['_editingParams$']['next'](_0x1da305),_0x1da305==null&&this[_0x3193c5(0x21b)]['next'](!0x1);}['setOnSavingEditorData'](_0x26a1ef){const _0x45ac25=_0x2c06;this[_0x45ac25(0x21b)][_0x45ac25(0x49b)](_0x26a1ef);}['getEditing'](){const _0xe6ebc=_0x2c06;return this['_editingParams$'][_0xe6ebc(0x27a)]();}};function Ba(_0x28bb99,_0x3f5c9b){const _0x444d07=_0x2c06;let _0x2e3a24={};for(let _0x5a4274 of Object['keys'](_0x3f5c9b)){let _0x3284f5=_0x3f5c9b[_0x5a4274],_0x5dfefa=_0x28bb99[_0x5a4274];if(_0x3284f5!==void 0x0){if(_0x5dfefa===void 0x0){_0x2e3a24[_0x5a4274]=void 0x0;continue;}typeof _0x3284f5=='object'&&_0x3284f5&&!Array[_0x444d07(0x4be)](_0x3284f5)&&typeof _0x5dfefa==_0x444d07(0x602)&&_0x5dfefa&&!Array[_0x444d07(0x4be)](_0x5dfefa)?_0x2e3a24[_0x5a4274]=Ba(_0x5dfefa,_0x3284f5):_0x2e3a24[_0x5a4274]=_0x5dfefa;}}return _0x2e3a24;}const Va={'type':_0x90c7cf['COMMAND'],'id':_0x5a7f20(0x495),'handler':(_0x164a27,_0x194287)=>{const _0x312ed0=_0x5a7f20;let _0x479219=_0x164a27[_0x312ed0(0x2f7)](_0xc9428c),{unitId:_0x423530,subUnitId:_0x3206e1,shapeType:_0x3c2410,shapeId:_0x5b048f,shapeData:_0x4ec7f9,oldShapeJSON:_0x53ff5e}=_0x194287;if(!_0x479219[_0x312ed0(0x2dc)](_0x423530,_0x3206e1,_0x5b048f))return!0x1;let _0x3c4c1e=_0x164a27['get'](_0x2e069e),_0x3295d4=_0x164a27[_0x312ed0(0x2f7)](_0x478971),{oldShapeType:_0x2593a1,oldShapeData:_0x3a8a08={}}=_0x53ff5e,_0x27b46b=Ba(_0x3a8a08,_0x4ec7f9||{}),_0x360815={'id':_0x1b6401['id'],'params':{'unitId':_0x423530,'subUnitId':_0x3206e1,'shapeId':_0x5b048f,'shapeType':_0x3c2410,'shapeData':_0x4ec7f9}},_0x24e790={'id':_0x1b6401['id'],'params':{'unitId':_0x423530,'subUnitId':_0x3206e1,'shapeId':_0x5b048f,'shapeType':_0x2593a1,'shapeData':_0x27b46b}};return _0x3c4c1e['syncExecuteCommand'](_0x360815['id'],_0x360815['params'])?(_0x3295d4[_0x312ed0(0x41d)]({'unitID':_0x423530,'undoMutations':[_0x24e790],'redoMutations':[_0x360815]}),!0x0):!0x1;}},Ha={'type':_0x90c7cf['COMMAND'],'id':'sheet.command.set-shape-text-horizontal-align','handler':async(_0x3d0a38,_0x5a45ec)=>{const _0x5c0a0b=_0x5a7f20;var _0xe1503f;if(!_0x4ed56f(_0x3d0a38[_0x5c0a0b(0x2f7)](_0x1005f5)))return!0x1;let _0x1e7e3d=_0x3d0a38[_0x5c0a0b(0x2f7)](_0x1aa5fa)[_0x5c0a0b(0x43b)]()[_0x5c0a0b(0x20d)](_0x326bc8=>_0x326bc8[_0x5c0a0b(0x526)]===_0x5d8611[_0x5c0a0b(0x415)]);if(_0x1e7e3d[_0x5c0a0b(0x3d6)]!==0x1)return!0x1;let _0x355c72=_0x3d0a38[_0x5c0a0b(0x2f7)](X)[_0x5c0a0b(0x5e0)](),_0xc3025b=(_0x355c72==null?void 0x0:_0x355c72[_0x5c0a0b(0x666)])||_0x1e7e3d[0x0]['unitId'],_0x34dffa=(_0x355c72==null?void 0x0:_0x355c72[_0x5c0a0b(0x279)])||_0x1e7e3d[0x0][_0x5c0a0b(0x279)],_0x176cc7=(_0x355c72==null?void 0x0:_0x355c72['shapeId'])||_0x1e7e3d[0x0][_0x5c0a0b(0x1fb)],_0x3c25f8=_0x3d0a38['get'](_0xc9428c)[_0x5c0a0b(0x2dc)](_0xc3025b,_0x34dffa,_0x176cc7);if(!_0x3c25f8)return!0x1;let _0x96e4ab=_0x3c25f8[_0x5c0a0b(0x570)]();if(!_0x96e4ab||!(_0x5c0a0b(0x3e1)in _0x96e4ab))return!0x1;let _0x2c3725=_0x3d0a38[_0x5c0a0b(0x2f7)](_0x2e069e),{value:_0x401bd9}=_0x5a45ec,_0x434d6e=_0x3c25f8[_0x5c0a0b(0x36f)](),_0x489cef=_0x3c25f8[_0x5c0a0b(0x5d3)](),_0x21aef4={..._0x96e4ab[_0x5c0a0b(0x3e1)],'ha':_0x401bd9};return await _0x2c3725[_0x5c0a0b(0x4eb)](Va['id'],{'unitId':_0xc3025b,'subUnitId':_0x34dffa,'shapeId':_0x176cc7,'shapeType':_0x434d6e,'shapeData':{'shapeText':{'isHorizontal':(_0xe1503f=_0x96e4ab['isHorizontal'])==null?!0x0:_0xe1503f,'dataModel':_0x21aef4}},'oldShapeJSON':{'oldShapeType':_0x434d6e,'oldShapeData':_0x489cef}});}},Ua={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x27f),'handler':async(_0x5ee748,_0x225fc4)=>{const _0x454010=_0x5a7f20;var _0x136fa6;if(!_0x225fc4)return!0x1;let {value:_0x3383aa}=_0x225fc4,_0x2e9905=_0x5ee748[_0x454010(0x2f7)](_0x2e069e),_0xdfe206=_0x5ee748['get'](X),_0x9d7538=_0x5ee748[_0x454010(0x2f7)](_0xc9428c),_0x2692e5=_0x5ee748[_0x454010(0x2f7)](_0x43fdcf),_0x102c86=_0xdfe206['getEditing']();if(!_0x102c86)return!0x1;let {unitId:_0x3ebf4c,subUnitId:_0x5c5651,shapeId:_0x228bb0}=_0x102c86,_0x113859=_0x9d7538[_0x454010(0x2dc)](_0x3ebf4c,_0x5c5651,_0x228bb0);if(!_0x113859)return!0x1;let _0x4422a3=_0x113859['getShapeTextData']();if(!_0x4422a3||!('dataModel'in _0x4422a3))return!0x1;let _0x151cfd=_0x4422a3[_0x454010(0x3e1)];if(!_0x151cfd)return!0x1;let _0x5c83e7={..._0x151cfd,'fs':_0x3383aa},_0x4e2390=await _0x2e9905['executeCommand'](Va['id'],{'unitId':_0x3ebf4c,'subUnitId':_0x5c5651,'shapeId':_0x228bb0,'shapeData':{'shapeText':{'isHorizontal':(_0x136fa6=_0x4422a3[_0x454010(0x3da)])==null?!0x0:_0x136fa6,'dataModel':_0x5c83e7}}});if(_0x4e2390){let _0x208ac2=_0x2692e5[_0x454010(0x36a)](_0x3ebf4c);if(_0x208ac2!=null&&_0x208ac2[_0x454010(0x2a0)]){let _0x4cad1c=_0x46e3e9({'unitId':_0x3ebf4c,'subUnitId':_0x5c5651,'drawingId':_0x228bb0}),_0x54f43d=_0x208ac2[_0x454010(0x2a0)]['getObjectIncludeInGroup'](_0x4cad1c);_0x54f43d&&_0x54f43d['makeDirty'](!0x0);}}return _0x4e2390;}},Wa={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x355),'handler':async _0x4b2117=>{const _0x5867d3=_0x5a7f20;var _0x28f4e7;let _0x38cb34=_0x4b2117[_0x5867d3(0x2f7)](X),_0x93bd3d=_0x4b2117[_0x5867d3(0x2f7)](_0xc9428c),_0x6e356b=_0x4b2117[_0x5867d3(0x2f7)](_0x2e069e),_0x83586c=_0x38cb34[_0x5867d3(0x5e0)]();if(!_0x83586c)return!0x1;let {unitId:_0x4ac667,subUnitId:_0x2fffb0,shapeId:_0x19b5c9}=_0x83586c,_0x8fee08=_0x93bd3d['getShapeModel'](_0x4ac667,_0x2fffb0,_0x19b5c9);if(!_0x8fee08)return!0x1;let _0xe109c6=_0x8fee08[_0x5867d3(0x570)]();if(!_0xe109c6||!(_0x5867d3(0x3e1)in _0xe109c6))return!0x1;let _0x3316ca=_0xe109c6[_0x5867d3(0x3e1)],_0x4a902f=(_0x28f4e7=_0x3316ca==null?void 0x0:_0x3316ca['fs'])==null?0xe:_0x28f4e7,_0x27a372=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x250a99=_0x4a902f,_0x41e900=_0x27a372[_0x5867d3(0x440)](_0x4a902f);return _0x41e900!==-0x1&&_0x41e900<_0x27a372[_0x5867d3(0x3d6)]-0x1?_0x250a99=_0x27a372[_0x41e900+0x1]:_0x41e900===-0x1&&(_0x250a99=Math[_0x5867d3(0x55e)](_0x4a902f)+0x1),_0x6e356b[_0x5867d3(0x4eb)](Ua['id'],{'value':_0x250a99});}},Ga={'type':_0x90c7cf['COMMAND'],'id':_0x5a7f20(0x501),'handler':async _0xe609e9=>{const _0x58458e=_0x5a7f20;var _0x2aca7d;let _0x479592=_0xe609e9[_0x58458e(0x2f7)](X),_0x354e38=_0xe609e9[_0x58458e(0x2f7)](_0xc9428c),_0xa1a261=_0xe609e9[_0x58458e(0x2f7)](_0x2e069e),_0xe2aa4b=_0x479592['getEditing']();if(!_0xe2aa4b)return!0x1;let {unitId:_0x4887df,subUnitId:_0x23aa82,shapeId:_0x4583f7}=_0xe2aa4b,_0x30b5d0=_0x354e38[_0x58458e(0x2dc)](_0x4887df,_0x23aa82,_0x4583f7);if(!_0x30b5d0)return!0x1;let _0x78de2=_0x30b5d0[_0x58458e(0x570)]();if(!_0x78de2||!(_0x58458e(0x3e1)in _0x78de2))return!0x1;let _0x53ef52=_0x78de2[_0x58458e(0x3e1)],_0x50fb96=(_0x2aca7d=_0x53ef52==null?void 0x0:_0x53ef52['fs'])==null?0xe:_0x2aca7d,_0x522fd8=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x1be421=_0x50fb96,_0x4ba6e6=_0x522fd8[_0x58458e(0x440)](_0x50fb96);return _0x4ba6e6!==-0x1&&_0x4ba6e6>0x0?_0x1be421=_0x522fd8[_0x4ba6e6-0x1]:_0x4ba6e6===-0x1&&(_0x1be421=Math[_0x58458e(0x55e)](_0x50fb96)-0x1),_0x1be421<0x1&&(_0x1be421=0x1),_0xa1a261[_0x58458e(0x4eb)](Ua['id'],{'value':_0x1be421});}},Ka={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':'sheet.command.set-shape-text-vertical-align','handler':async(_0xba0ce,_0x2a938f)=>{const _0x47f38f=_0x5a7f20;var _0x3762bb;if(!_0x4ed56f(_0xba0ce['get'](_0x1005f5)))return!0x1;let _0x49050e=_0xba0ce[_0x47f38f(0x2f7)](_0x1aa5fa)[_0x47f38f(0x43b)]()[_0x47f38f(0x20d)](_0x22a9c0=>_0x22a9c0[_0x47f38f(0x526)]===_0x5d8611['DRAWING_SHAPE']);if(_0x49050e[_0x47f38f(0x3d6)]!==0x1)return!0x1;let _0x553621=_0xba0ce[_0x47f38f(0x2f7)](X)[_0x47f38f(0x5e0)](),_0x406301=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x666)])||_0x49050e[0x0][_0x47f38f(0x666)],_0x3dc4fc=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x279)])||_0x49050e[0x0][_0x47f38f(0x279)],_0x26cfac=(_0x553621==null?void 0x0:_0x553621[_0x47f38f(0x384)])||_0x49050e[0x0][_0x47f38f(0x1fb)],_0x570a13=_0xba0ce[_0x47f38f(0x2f7)](_0xc9428c)['getShapeModel'](_0x406301,_0x3dc4fc,_0x26cfac);if(!_0x570a13)return!0x1;let _0xfaccc6=_0x570a13[_0x47f38f(0x570)]();if(!_0xfaccc6||!(_0x47f38f(0x3e1)in _0xfaccc6))return!0x1;let _0x5b8e1c=_0xba0ce['get'](_0x2e069e),{value:_0x207dae}=_0x2a938f,_0x5348f4=_0x570a13[_0x47f38f(0x36f)](),_0x3713cf=_0x570a13[_0x47f38f(0x5d3)](),_0x2c72cc={..._0xfaccc6['dataModel'],'va':_0x207dae};return await _0x5b8e1c[_0x47f38f(0x4eb)](Va['id'],{'unitId':_0x406301,'subUnitId':_0x3dc4fc,'shapeId':_0x26cfac,'shapeType':_0x5348f4,'shapeData':{'shapeText':{'isHorizontal':(_0x3762bb=_0xfaccc6[_0x47f38f(0x3da)])==null?!0x0:_0x3762bb,'dataModel':_0x2c72cc}},'oldShapeJSON':{'oldShapeType':_0x5348f4,'oldShapeData':_0x3713cf}});}},qa={'type':_0x90c7cf[_0x5a7f20(0x3e0)],'id':_0x5a7f20(0x28d),'handler':(_0x157389,_0x2c749f)=>{const _0x199164=_0x5a7f20;if(!_0x2c749f)return!0x1;let {value:_0x30094b}=_0x2c749f;return _0x157389[_0x199164(0x2f7)](_0x2e069e)[_0x199164(0x67d)](_0x4afefb['id'],{'alignType':_0x30094b});}},Ja={'type':_0x90c7cf['OPERATION'],'id':_0x5a7f20(0x587),'handler'(){return!0x0;}},Ya={'type':_0x90c7cf[_0x5a7f20(0x1ce)],'id':_0x5a7f20(0x47d),'handler'(){return!0x0;}},Xa=_0x5a7f20(0x28a),Za=_0x2ee237(_0x5a7f20(0x4f5));function Z(_0x1d9c55,_0x6ecabf,_0x2178a9,_0x153018,_0x5539be,_0x391157){const _0x12f502=_0x5a7f20;let _0x453e11={'unitId':_0x6ecabf,'subUnitId':_0x2178a9,'shapeId':_0x153018,'shapeData':_0x391157,'oldShapeJSON':_0x5539be};return _0x1d9c55[_0x12f502(0x4eb)](Va['id'],_0x453e11);}function Qa(_0x1d6806,_0x58445c,_0x1fb174,_0x1de526,_0x5b162e,_0x3d8c26){const _0x2a9a4a=_0x5a7f20;let _0x38f4de={'unitId':_0x58445c,'subUnitId':_0x1fb174,'shapeId':_0x1de526,'shapeData':_0x3d8c26,'oldShapeJSON':_0x5b162e};return _0x1d6806[_0x2a9a4a(0x4eb)](Va['id'],_0x38f4de);}function $a(_0x4ce965,_0x61144f){const _0x5de405=_0x5a7f20;var _0x387ac8;let {isHorizontal:_0x75f1fd,textRect:_0x1af707,verticalAlign:_0x37f2cd}=_0x61144f,_0x2d89e7=_0x75f1fd?_0x1af707['width']:_0x1af707[_0x5de405(0x4c8)],_0x54b564=_0x2c82c8['deepClone'](_0x4ce965),_0x3f7343=(_0x387ac8=_0x54b564['documentStyle'])==null?{}:_0x387ac8,_0x1fd7ec={..._0x3f7343[_0x5de405(0x3aa)],'centerAngle':_0x75f1fd?0x0:_0x3d7355,'vertexAngle':_0x75f1fd?0x0:_0x3d7355,'wrapStrategy':_0x491404[_0x5de405(0x452)]};if(_0x37f2cd!==void 0x0&&(_0x1fd7ec[_0x5de405(0x448)]=_0x37f2cd),_0x61144f['horizontalAlign']!==void 0x0){var _0x5f0f32;_0x1fd7ec[_0x5de405(0x468)]=_0x61144f[_0x5de405(0x468)];let _0x50f489=(_0x5f0f32=_0x54b564['body'])==null?void 0x0:_0x5f0f32[_0x5de405(0x57a)];if(_0x50f489){for(let _0x3c4d50 of _0x50f489)_0x3c4d50[_0x5de405(0x2fb)]||(_0x3c4d50[_0x5de405(0x2fb)]={}),_0x3c4d50[_0x5de405(0x2fb)][_0x5de405(0x468)]=_0x61144f[_0x5de405(0x468)];}}return _0x54b564['documentStyle']={..._0x3f7343,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x2d89e7,'height':0x1/0x0},'renderConfig':_0x1fd7ec},_0x54b564;}function eo(_0x4f08ac){const _0x3f285d=_0x5a7f20;var _0x2b268b;let _0x1bb76d=_0x2c82c8[_0x3f285d(0x1ee)](_0x4f08ac),_0x5cfdaf=(_0x2b268b=_0x1bb76d[_0x3f285d(0x41b)])==null?{}:_0x2b268b,_0x4ce959={..._0x5cfdaf[_0x3f285d(0x3aa)]};return delete _0x4ce959[_0x3f285d(0x4b9)],delete _0x4ce959[_0x3f285d(0x565)],delete _0x4ce959[_0x3f285d(0x448)],delete _0x4ce959['wrapStrategy'],_0x1bb76d[_0x3f285d(0x41b)]={..._0x5cfdaf,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object['keys'](_0x4ce959)[_0x3f285d(0x3d6)]>0x0?_0x4ce959:void 0x0},_0x1bb76d;}var to=class extends _0xe1d4df{constructor(_0x4f049c,_0x2a6961){const _0x42c01e=_0x5a7f20;super(_0x4f049c,_0x2a6961),Y(this,_0x42c01e(0x57c),void 0x0),Y(this,'_transformCalculateSrcRect',!0x0),Y(this,_0x42c01e(0x3c3),_0x5d8611[_0x42c01e(0x415)]),Y(this,'isDrawingObject',!0x0),this[_0x42c01e(0x57c)]={..._0x2a6961},this[_0x42c01e(0x1de)]();}[_0x5a7f20(0x1de)](){this['onTransformChange$']['subscribeEvent'](_0x578e4f=>{const _0x4138b4=_0x2c06;this[_0x4138b4(0x398)](_0x578e4f);});}['setPrstGeom'](_0x24eeaf){const _0x51c790=_0x5a7f20;this[_0x51c790(0x57c)]['prstGeom']=_0x24eeaf;}[_0x5a7f20(0x59b)](_0x4145af){const _0x347990=_0x5a7f20;this['_props'][_0x347990(0x4f1)]=_0x4145af,this['makeDirty'](!0x0);}get[_0x5a7f20(0x666)](){const _0x6e5fb1=_0x5a7f20;return this[_0x6e5fb1(0x57c)]['unitId'];}get['subUnitId'](){const _0x1ded6d=_0x5a7f20;return this[_0x1ded6d(0x57c)][_0x1ded6d(0x279)];}[_0x5a7f20(0x398)](_0xcacceb){const _0x507619=_0x5a7f20;if(this['_props'][_0x507619(0x2fa)]==null||!this[_0x507619(0x2ad)])return;let {width:_0xfd4be8,height:_0x50ae0f}=this,{width:_0x5eb83d=0x0,height:_0x5f3694=0x0}=_0xcacceb['preValue'],{left:_0x58e558=0x0,top:_0xc6dffd=0x0,right:_0x2c5a77=0x0,bottom:_0x25a770=0x0}=this[_0x507619(0x57c)]['srcRect'],_0x4b1e16=_0x58e558,_0x42a18d=_0xc6dffd,_0x461287=_0x2c5a77,_0x543f04=_0x25a770,_0x7cc90c=!0x1;if(_0x5eb83d!==0x0&&_0x5eb83d!==_0xfd4be8){let _0x53213b=_0x58e558/_0x5eb83d,_0x369f10=_0x2c5a77/_0x5eb83d;_0x4b1e16=_0xfd4be8*_0x53213b,_0x461287=_0xfd4be8*_0x369f10,_0x7cc90c=!0x0;}if(_0x5f3694!==0x0&&_0x5f3694!==_0x50ae0f){let _0x1c3998=_0xc6dffd/_0x5f3694,_0x70326e=_0x25a770/_0x5f3694;_0x42a18d=_0x50ae0f*_0x1c3998,_0x543f04=_0x50ae0f*_0x70326e,_0x7cc90c=!0x0;}_0x7cc90c&&this[_0x507619(0x40a)]({'left':_0x4b1e16,'top':_0x42a18d,'right':_0x461287,'bottom':_0x543f04});}[_0x5a7f20(0x40a)](_0x266e7e){const _0x81deb=_0x5a7f20;this[_0x81deb(0x57c)][_0x81deb(0x2fa)]=_0x266e7e,this[_0x81deb(0x2bb)](!0x0);}[_0x5a7f20(0x4bf)](_0x45bc0b){const _0x56e156=_0x5a7f20;this[_0x56e156(0x57c)]['image']=_0x45bc0b,this[_0x56e156(0x2bb)](!0x0);}set[_0x5a7f20(0x3ba)](_0x35c02c){const _0x1cbfe0=_0x5a7f20;this[_0x1cbfe0(0x65a)]=_0x35c02c;}get['transform'](){const _0x316e61=_0x5a7f20;this[_0x316e61(0x65a)]||this[_0x316e61(0x2fc)]();let _0x401cb5=this[_0x316e61(0x65a)][_0x316e61(0x340)]();return this[_0x316e61(0x330)](_0x401cb5);}get[_0x5a7f20(0x5f1)](){const _0x1f99a9=_0x5a7f20;return this[_0x1f99a9(0x57c)]['shapeModel'];}get[_0x5a7f20(0x384)](){const _0x57c929=_0x5a7f20;return this['_props'][_0x57c929(0x384)];}get[_0x5a7f20(0x250)](){const _0x74bed5=_0x5a7f20;return _0x558a8a[_0x74bed5(0x519)];}[_0x5a7f20(0x260)](_0x3d04bb,_0x29535c,_0x1614f8,_0x528e89){const _0x3fa263=_0x5a7f20;let _0x1f6ab1=this[_0x3fa263(0x57c)][_0x3fa263(0x5f1)];if(!_0x1f6ab1||!_0x29535c)return;let _0x52b462=_0x1614f8==null?this[_0x3fa263(0x3d7)]:_0x1614f8,_0x67af1f=_0x528e89==null?this[_0x3fa263(0x4c8)]:_0x528e89,_0xc692b2={'shapeType':_0x1f6ab1[_0x3fa263(0x36f)](),'width':_0x52b462,'height':_0x67af1f},_0x11faad={'renderMode':_0x3ad569['Path'],'oKey':this[_0x3fa263(0x545)],'image':this[_0x3fa263(0x57c)][_0x3fa263(0x365)],'angle':this[_0x3fa263(0x402)]};_0x1f6ab1[_0x3fa263(0x5ed)](_0xc692b2),_0x3d04bb[_0x3fa263(0x3de)]();let _0x1df276={'top':0x0,'left':0x0,'width':_0x52b462,'height':_0x67af1f};_0x1f6ab1[_0x3fa263(0x56b)](_0x3d04bb,_0x1df276,_0x11faad),_0x3d04bb['restore']();let _0x21e5fb=_0x1f6ab1[_0x3fa263(0x570)](),_0x3e60cb=_0x1f6ab1['getShapeTextRect'](_0x1df276),_0x4fc45b=_0x1f6ab1[_0x3fa263(0x535)]();if(_0x21e5fb&&_0x3e60cb&&!_0x4fc45b){_0x3d04bb['save'](),this[_0x3fa263(0x46c)]()[_0x3fa263(0x51a)]&&_0x3d04bb[_0x3fa263(0x1d9)](-0x1,0x1);let _0x245629=_0x52b462/0x2,_0x396579=_0x67af1f/0x2;_0x3d04bb['translate'](-_0x245629,-_0x396579),_0x3d04bb['beginPath'](),this[_0x3fa263(0x618)](_0x3d04bb,_0x21e5fb,_0x3e60cb),_0x3d04bb[_0x3fa263(0x31e)]();}}['getDrawingPoints'](_0xc9dd08){}[_0x5a7f20(0x618)](_0x49995e,_0x44b034,_0x1dc209){const _0x3cf071=_0x5a7f20;this[_0x3cf071(0x57c)][_0x3cf071(0x4f1)]||('isRichText'in _0x44b034&&_0x44b034['isRichText']===!0x1?this[_0x3cf071(0x349)](_0x49995e,_0x44b034,_0x1dc209):this[_0x3cf071(0x419)](_0x49995e,_0x44b034,_0x1dc209));}[_0x5a7f20(0x349)](_0x36d6d5,_0x513483,_0x3aac44){}[_0x5a7f20(0x419)](_0x3af9d4,_0x37070e,_0x2565e9){const _0x2cb6fc=_0x5a7f20;var _0x49b1ad,_0x4eb4ec;let _0x549b68=this['_props'][_0x2cb6fc(0x41c)];if(!_0x37070e[_0x2cb6fc(0x3e1)]||!_0x549b68){_0x549b68||console[_0x2cb6fc(0x646)](_0x2cb6fc(0x66d));return;}let _0x409459=_0x37070e['dataModel'],_0x107799=_0x409459['doc'],_0x3f626f=(_0x49b1ad=_0x409459['va'])==null?_0x583d52['TOP']:_0x49b1ad,_0x2e29ce=(_0x4eb4ec=_0x409459['ha'])==null?_0xbfeb53[_0x2cb6fc(0x38c)]:_0x4eb4ec;if(!_0x107799)return;let _0x101369=_0x37070e['isHorizontal'],_0x1015b5=new _0x2d9804($a(_0x107799,{'isHorizontal':_0x101369!==!0x1,'textRect':_0x2565e9,'verticalAlign':_0x3f626f,'horizontalAlign':_0x2e29ce})),_0x3ca6d1=new _0x7f0de6(_0x1015b5),_0x27ed6b=_0x327840['create'](_0x3ca6d1,_0x549b68);_0x27ed6b[_0x2cb6fc(0x3c8)]();let _0x58a5ba=new _0x58a7a8(_0x2cb6fc(0x3c6)+this['oKey'],_0x27ed6b,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x58a5ba[_0x2cb6fc(0x2e0)](_0x2565e9['width'],_0x2565e9[_0x2cb6fc(0x4c8)]),_0x3af9d4[_0x2cb6fc(0x3de)](),_0x3af9d4[_0x2cb6fc(0x2a2)](_0x2565e9[_0x2cb6fc(0x5af)],_0x2565e9['top']),_0x3af9d4[_0x2cb6fc(0x4e8)](),_0x3af9d4[_0x2cb6fc(0x67f)](0x0,0x0,_0x2565e9[_0x2cb6fc(0x3d7)],_0x2565e9[_0x2cb6fc(0x4c8)]),_0x3af9d4[_0x2cb6fc(0x5c6)](),_0x58a5ba[_0x2cb6fc(0x25f)](_0x3af9d4),_0x3af9d4[_0x2cb6fc(0x31e)](),_0x58a5ba[_0x2cb6fc(0x4b5)](),_0x27ed6b[_0x2cb6fc(0x4b5)](),_0x3ca6d1[_0x2cb6fc(0x4b5)](),_0x1015b5[_0x2cb6fc(0x4b5)]();}[_0x5a7f20(0x56b)](_0x2774ed,_0x41e5cf,_0x108c5e=!0x1){const _0x152c3d=_0x5a7f20;if(!this[_0x152c3d(0x608)])return this[_0x152c3d(0x2bb)](!0x1),this;let {width:_0xe178de,height:_0x3779d1,left:_0x1774cd,top:_0x25b164}=this,_0x350776=this[_0x152c3d(0x3af)]();if(_0xe178de=_0x350776[_0x152c3d(0x3d7)],_0x3779d1=_0x350776['height'],_0x1774cd=_0x350776[_0x152c3d(0x5af)],_0x25b164=_0x350776['top'],this['isRender'](_0x41e5cf)){let {top:_0x5e5a52,left:_0x52e7bf,bottom:_0x454cf3,right:_0x599ffc}=_0x41e5cf['viewBound'];if(_0xe178de+this[_0x152c3d(0x634)]+_0x1774cd<_0x52e7bf||_0x599ffc<_0x1774cd||_0x3779d1+this['strokeWidth']+_0x25b164<_0x5e5a52||_0x454cf3<_0x25b164)return this;}let _0x2d55a9=_0x1774cd+_0xe178de/0x2,_0xe80495=_0x25b164+_0x3779d1/0x2,_0x20c05b=this[_0x152c3d(0x3ba)][_0x152c3d(0x1c5)]();if(this['_props'][_0x152c3d(0x4f1)]){let _0x18563f=this[_0x152c3d(0x46c)](),_0x879dba=new _0x155f20();_0x879dba[_0x152c3d(0x3a3)]({..._0x18563f}),_0x20c05b=_0x879dba['getMatrix']();}return _0x2774ed[_0x152c3d(0x3de)](),this['_props'][_0x152c3d(0x5f1)][_0x152c3d(0x4fd)]===!0x0||_0x2774ed[_0x152c3d(0x3ba)](_0x20c05b[0x0],_0x20c05b[0x1],_0x20c05b[0x2],_0x20c05b[0x3],_0x2d55a9,_0xe80495),this[_0x152c3d(0x260)](_0x2774ed,_0x41e5cf,_0xe178de,_0x3779d1),_0x2774ed[_0x152c3d(0x31e)](),this[_0x152c3d(0x2bb)](!0x1),this;}[_0x5a7f20(0x39a)](_0x7a5eac){const _0x4586cc=_0x5a7f20;let {left:_0x1e4d4a,top:_0x232db3,width:_0x4b66bc,height:_0x40ed45}=this[_0x4586cc(0x3af)](),_0x4221dc=this[_0x4586cc(0x3ba)][_0x4586cc(0x1c5)](),_0x21efe2=_0x1e4d4a+_0x4b66bc/0x2,_0x4386a6=_0x232db3+_0x40ed45/0x2,_0x1075a2=new _0x155f20([_0x4221dc[0x0],_0x4221dc[0x1],_0x4221dc[0x2],_0x4221dc[0x3],_0x21efe2,_0x4386a6]),_0x29ebd4=this[_0x4586cc(0x2ed)]();return(this[_0x4586cc(0x32a)]&&(_0x29ebd4==null?void 0x0:_0x29ebd4[_0x4586cc(0x250)])===_0x558a8a[_0x4586cc(0x441)]?_0x29ebd4[_0x4586cc(0x505)][_0x4586cc(0x3a7)](_0x1075a2):_0x1075a2)[_0x4586cc(0x5de)]()['applyPoint'](_0x7a5eac);}[_0x5a7f20(0x59d)](_0x51737c){const _0x383a30=_0x5a7f20;let {left:_0x5b0b9c,top:_0xeb6834,width:_0x492f4f,height:_0x121be8}=this[_0x383a30(0x3af)](),_0x108c8d=_0x5b0b9c+_0x492f4f/0x2,_0x923f22=_0xeb6834+_0x121be8/0x2,_0x232f18=this[_0x383a30(0x3ba)][_0x383a30(0x1c5)](),_0x1a9b37=new _0x155f20([_0x232f18[0x0],_0x232f18[0x1],_0x232f18[0x2],_0x232f18[0x3],_0x108c8d,_0x923f22]),_0x59248b=this[_0x383a30(0x2ed)](),_0x380b68=(this[_0x383a30(0x32a)]&&(_0x59248b==null?void 0x0:_0x59248b[_0x383a30(0x250)])===_0x558a8a[_0x383a30(0x441)]?_0x59248b[_0x383a30(0x505)]['multiply'](_0x1a9b37):_0x1a9b37)[_0x383a30(0x5de)]()[_0x383a30(0x255)](_0x51737c),_0x437b01=_0x492f4f/0x2,_0x3d850b=_0x121be8/0x2,_0xa4cfa4=this[_0x383a30(0x57c)][_0x383a30(0x5f1)];return _0xa4cfa4&&_0xa4cfa4['isLineShape']()?_0xa4cfa4[_0x383a30(0x1dc)](_0x380b68['x'],_0x380b68['y'],_0x492f4f,_0x121be8):_0x380b68['x']>=-_0x437b01-this[_0x383a30(0x634)]/0x2&&_0x380b68['x']<=_0x437b01+this[_0x383a30(0x634)]/0x2&&_0x380b68['y']>=-_0x3d850b-this[_0x383a30(0x634)]/0x2&&_0x380b68['y']<=_0x3d850b+this['strokeWidth']/0x2;}[_0x5a7f20(0x4b5)](){const _0x5c169d=_0x5a7f20;this['_props'][_0x5c169d(0x5f1)]=null,super['dispose']();}};function Q(_0x3a5012,_0x22d72b){return function(_0x334c7e,_0x17161c){_0x22d72b(_0x334c7e,_0x17161c,_0x3a5012);};}function $(_0x25ec5b,_0x5aa2fe,_0x5baa6c,_0x137183){const _0x1090f3=_0x5a7f20;var _0x5c3a91=arguments[_0x1090f3(0x3d6)],_0x4ccbb1=_0x5c3a91<0x3?_0x5aa2fe:_0x137183===null?_0x137183=Object[_0x1090f3(0x55a)](_0x5aa2fe,_0x5baa6c):_0x137183,_0x147000;if(typeof Reflect==_0x1090f3(0x602)&&typeof Reflect[_0x1090f3(0x647)]==_0x1090f3(0x4b8))_0x4ccbb1=Reflect[_0x1090f3(0x647)](_0x25ec5b,_0x5aa2fe,_0x5baa6c,_0x137183);else{for(var _0x1f3719=_0x25ec5b[_0x1090f3(0x3d6)]-0x1;_0x1f3719>=0x0;_0x1f3719--)(_0x147000=_0x25ec5b[_0x1f3719])&&(_0x4ccbb1=(_0x5c3a91<0x3?_0x147000(_0x4ccbb1):_0x5c3a91>0x3?_0x147000(_0x5aa2fe,_0x5baa6c,_0x4ccbb1):_0x147000(_0x5aa2fe,_0x5baa6c))||_0x4ccbb1);}return _0x5c3a91>0x3&&_0x4ccbb1&&Object[_0x1090f3(0x528)](_0x5aa2fe,_0x5baa6c,_0x4ccbb1),_0x4ccbb1;}let no=class extends _0x185401{constructor(_0x514329,_0x2dd40a,_0x2f015c,_0x3f98a1,_0x2bf45d){const _0x1ea51b=_0x5a7f20;super(),this[_0x1ea51b(0x65c)]=_0x514329,this[_0x1ea51b(0x225)]=_0x2dd40a,this[_0x1ea51b(0x20b)]=_0x2f015c,this['_imageIoService']=_0x3f98a1,this['_urlImageService']=_0x2bf45d;}[_0x5a7f20(0x376)](_0x42c39a,_0x482703){const _0x371b27=_0x5a7f20;let {transform:_0x34d3a7,drawingType:_0x349800,srcRect:_0xc9a546,prstGeom:_0x3f1a4c,groupId:_0x5c81b9,unitId:_0x4e502f,subUnitId:_0x360df8,drawingId:_0x272581,isMultiTransform:_0x4904f4,transforms:_0x3e15e5,hidden:_0x18493b}=_0x42c39a;if(_0x349800!==_0x5d8611[_0x371b27(0x415)]||!this[_0x371b27(0x65c)][_0x371b27(0x308)]()||_0x34d3a7==null)return;let _0x2df251=_0x4904f4&&_0x3e15e5?_0x3e15e5:[_0x34d3a7],_0x10d93f=[];for(let _0x2e035c of _0x2df251){let {left:_0x14f8c2,top:_0x29a18b,width:_0x46528a,height:_0x94b036,angle:_0x9a7ad2,flipX:_0x524c49,flipY:_0x4139ea,skewX:_0x457b5e,skewY:_0x14468e}=_0x2e035c,_0xc79b40=_0x2df251[_0x371b27(0x440)](_0x2e035c),_0x2a7920=_0x46e3e9({'unitId':_0x4e502f,'subUnitId':_0x360df8,'drawingId':_0x272581},_0x4904f4?_0xc79b40:void 0x0),_0x392813=_0x482703['getObjectIncludeInGroup'](_0x2a7920);if(_0x392813!=null){_0x392813['transformByState']({'left':_0x14f8c2,'top':_0x29a18b,'width':_0x46528a,'height':_0x94b036,'angle':_0x9a7ad2,'flipX':_0x524c49,'flipY':_0x4139ea,'skewX':_0x457b5e,'skewY':_0x14468e});continue;}let _0x2d3c4c=this['_drawingManagerService'][_0x371b27(0x2bf)](_0x4e502f,_0x360df8),_0x18f2f1=_0x2d3c4c[_0x371b27(0x440)](_0x272581);if(_0x482703[_0x371b27(0x33c)](_0x2a7920)||!this['_drawingManagerService'][_0x371b27(0x308)]())continue;let _0x41fdb2=this[_0x371b27(0x225)][_0x371b27(0x2dc)](_0x4e502f,_0x360df8,_0x272581);if(!_0x41fdb2)continue;let _0x522f90=new to(_0x2a7920,{..._0x39df67(_0x41fdb2[_0x371b27(0x36f)]())?{..._0x2e035c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x2e035c},'zIndex':_0x18f2f1===-0x1?_0x2d3c4c['length']-0x1:_0x18f2f1,'shapeModel':_0x41fdb2,'localeService':this[_0x371b27(0x20b)],'shapeId':_0x272581,'unitId':_0x4e502f,'subUnitId':_0x360df8,'visible':_0x18493b!==!0x0});_0x482703['addObject'](_0x522f90,_0x3929c9),this['_drawingManagerService'][_0x371b27(0x2d2)]()&&_0x482703['attachTransformerTo'](_0x522f90),_0x5c81b9&&_0x240a96({'drawingId':_0x5c81b9,'unitId':_0x4e502f,'subUnitId':_0x360df8},_0x522f90,_0x482703,this['_drawingManagerService']),_0x3f1a4c!=null&&_0x522f90[_0x371b27(0x652)](_0x3f1a4c),_0xc9a546!=null&&_0x522f90[_0x371b27(0x40a)](_0xc9a546),this[_0x371b27(0x25a)](_0x522f90,_0x41fdb2[_0x371b27(0x5d3)]()),_0x10d93f['push'](_0x522f90);}return _0x10d93f;}[_0x5a7f20(0x25a)](_0x46c75c,_0x198b14){const _0xea7559=_0x5a7f20;var _0x53b21c;let _0x4a6625=_0x198b14[_0xea7559(0x46d)];if(!_0x4a6625||_0x4a6625[_0xea7559(0x430)]!==_0x1a4c7e['PictureFill']||!_0x4a6625['fillImageSource'])return;let _0x4e1214=_0x4a6625[_0xea7559(0x557)],_0x4b20fa=(_0x53b21c=_0x4a6625[_0xea7559(0x4e5)])==null?_0x24f6a5[_0xea7559(0x229)]:_0x53b21c,_0x24c83a=this['_imageIoService'][_0xea7559(0x48b)](_0x4e1214,_0x4b20fa);if(_0x24c83a){_0x46c75c[_0xea7559(0x4bf)](_0x24c83a);return;}this[_0xea7559(0x455)](_0x46c75c,_0x4e1214,_0x4b20fa);}async[_0x5a7f20(0x455)](_0x414034,_0x5ac525,_0x4a58d8){const _0x2cbdc6=_0x5a7f20;let _0x1b5b5d;try{if(_0x4a58d8===_0x24f6a5[_0x2cbdc6(0x35b)])_0x1b5b5d=await this[_0x2cbdc6(0x22d)][_0x2cbdc6(0x65f)](_0x5ac525);else{if(_0x4a58d8===_0x24f6a5[_0x2cbdc6(0x229)])try{_0x1b5b5d=await this['_urlImageService']['getImage'](_0x5ac525);}catch{_0x1b5b5d=_0x5ac525;}else _0x1b5b5d=_0x5ac525;}}catch(_0xe52bc5){console[_0x2cbdc6(0x213)](_0x2cbdc6(0x461),_0xe52bc5);return;}let _0x2ee39b=new window[(_0x2cbdc6(0x2d6))]();_0x2ee39b[_0x2cbdc6(0x483)]=()=>{const _0x3b18e9=_0x2cbdc6;this['_imageIoService'][_0x3b18e9(0x1ef)](_0x5ac525,_0x4a58d8,_0x2ee39b),_0x414034[_0x3b18e9(0x4bf)](_0x2ee39b);},_0x2ee39b['onerror']=()=>{const _0x5d704e=_0x2cbdc6;console[_0x5d704e(0x213)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x5ac525);},_0x2ee39b[_0x2cbdc6(0x59e)]=_0x1b5b5d;}};no=$([Q(0x0,_0x2ac48c),Q(0x1,_0x1e77ba(_0xc9428c)),Q(0x2,_0x1e77ba(_0x2e65fd)),Q(0x3,_0x5e714a),Q(0x4,_0x863706)],no);let ro=class extends _0x185401{constructor(_0x4c9284,_0x5bcbd5,_0x28f174,_0x7badfa,_0x19d60f,_0x3dd40e){const _0x1165f7=_0x5a7f20;super(),this['_commandService']=_0x4c9284,this['_renderManagerService']=_0x5bcbd5,this['_drawingManagerService']=_0x28f174,this[_0x1165f7(0x53b)]=_0x7badfa,this[_0x1165f7(0x2f4)]=_0x19d60f,this[_0x1165f7(0x391)]=_0x3dd40e,this[_0x1165f7(0x2a9)]();}[_0x5a7f20(0x2a9)](){const _0x295590=_0x5a7f20;this[_0x295590(0x43d)](),this[_0x295590(0x536)](),this[_0x295590(0x62c)]();}['_drawingAddListener'](){const _0x3ddde0=_0x5a7f20;this['disposeWithMe'](this[_0x3ddde0(0x65c)][_0x3ddde0(0x2f9)][_0x3ddde0(0x2ab)](_0x39e2a3=>{this['_insertShapes'](_0x39e2a3);}));}['_commandExecutedListener'](){const _0x3cec63=_0x5a7f20;this[_0x3cec63(0x404)](this[_0x3cec63(0x52a)][_0x3cec63(0x2be)](_0x4c90dd=>{const _0x353e7e=_0x3cec63;if(_0x4c90dd['id']===_0x265a48['id']){var _0x1f2095;let {unitId:_0x2961cd,subUnitId:_0x133c15,shapeId:_0x523b9c}=_0x4c90dd[_0x353e7e(0x233)],_0x52fa9c=this['_getSceneAndTransformerByDrawingSearch'](_0x2961cd);if(_0x52fa9c==null)return;let {scene:_0x2d34d3}=_0x52fa9c,_0x29c5bc=_0x46e3e9({'unitId':_0x2961cd,'subUnitId':_0x133c15,'drawingId':_0x523b9c}),_0x27600a=_0x2d34d3[_0x353e7e(0x33c)](_0x29c5bc);if(!((_0x1f2095=this['_renderManagerService'][_0x353e7e(0x36a)](_0x2961cd))!=null&&_0x1f2095['with'](_0x4e2ed9)[_0x353e7e(0x597)](_0x133c15)))return!0x1;if(_0x27600a)return;this[_0x353e7e(0x4ae)]([{'unitId':_0x2961cd,'subUnitId':_0x133c15,'drawingId':_0x523b9c}]);}}));}[_0x5a7f20(0x62c)](){const _0x33be7e=_0x5a7f20;this[_0x33be7e(0x404)](this[_0x33be7e(0x65c)][_0x33be7e(0x47c)][_0x33be7e(0x2ab)](_0x3853c5=>{const _0x13a0ab=_0x33be7e;_0x3853c5[_0x13a0ab(0x2cc)](_0x10cf0e=>{const _0xebdc1=_0x13a0ab;let {unitId:_0x4899eb,subUnitId:_0x53f01c,drawingId:_0x264a11}=_0x10cf0e,_0x337d0a=this[_0xebdc1(0x65c)][_0xebdc1(0x4b2)](_0x10cf0e);if(_0x337d0a==null)return;let {transform:_0x1d8176,drawingType:_0x2ef4a0,srcRect:_0x2dbc5a,prstGeom:_0x4e49da}=_0x337d0a;if(_0x2ef4a0!==_0x5d8611['DRAWING_SHAPE'])return;let _0x1f83ab=this[_0xebdc1(0x639)](_0x4899eb);if(_0x1f83ab==null)return;let {scene:_0x1d4a04,transformer:_0x19ae43}=_0x1f83ab;if(_0x1d8176==null)return!0x0;let _0x431af3=_0x46e3e9({'unitId':_0x4899eb,'subUnitId':_0x53f01c,'drawingId':_0x264a11}),_0x127a78=_0x1d4a04[_0xebdc1(0x33c)](_0x431af3);if(_0x127a78==null)return!0x0;_0x127a78['setSrcRect'](_0x2dbc5a),_0x127a78[_0xebdc1(0x652)](_0x4e49da);});}));}[_0x5a7f20(0x4fe)](_0x1c18d4,_0x12dcaa){const _0x42d984=_0x5a7f20;let {unitId:_0x185c25,subUnitId:_0x7f6c7c,drawingId:_0x3ebd79}=_0x1c18d4,_0x34bb94=this['_getSceneAndTransformerByDrawingSearch'](_0x185c25);if(_0x34bb94==null)return;let {scene:_0x53fd86}=_0x34bb94,_0x4302c9=_0x46e3e9({'unitId':_0x185c25,'subUnitId':_0x7f6c7c,'drawingId':_0x3ebd79}),_0x34bbe6=_0x53fd86[_0x42d984(0x33c)](_0x4302c9);_0x34bbe6!=null&&_0x34bbe6[_0x42d984(0x4bf)](_0x12dcaa);}['_insertShapes'](_0x36e928){const _0x3acc7e=_0x5a7f20;_0x36e928[_0x3acc7e(0x2cc)](async _0x5afb24=>{const _0x2aca6d=_0x3acc7e;var _0x5742a0;let {unitId:_0x50c872,subUnitId:_0xab310}=_0x5afb24,_0x251879=this['_getSceneAndTransformerByDrawingSearch'](_0x50c872),_0x93dbf1=(_0x5742a0=_0x285cd7(this[_0x2aca6d(0x53b)],_0x50c872))==null?void 0x0:_0x5742a0[_0x2aca6d(0x279)];if(_0x251879==null||_0x93dbf1!==_0xab310)return;let _0x35238f=this[_0x2aca6d(0x65c)][_0x2aca6d(0x4b2)](_0x5afb24);if(_0x35238f!=null&&_0x35238f[_0x2aca6d(0x526)]===_0x5d8611[_0x2aca6d(0x415)]){if(_0x39df67((_0x35238f['data']||{})[_0x2aca6d(0x29d)])){let _0x54b89f=_0x35238f['transform'];_0x54b89f&&(_0x35238f['transform']={..._0x54b89f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x2aca6d(0x65c)]['refreshTransform']([_0x35238f]),this[_0x2aca6d(0x391)]['renderDrawingShape'](_0x35238f,_0x251879['scene']);}});}[_0x5a7f20(0x639)](_0x2f7139){const _0x1d83e=_0x5a7f20;if(_0x2f7139==null)return;let _0xadf0e2=this[_0x1d83e(0x33e)][_0x1d83e(0x36a)](_0x2f7139),_0x560d5d=_0xadf0e2==null?void 0x0:_0xadf0e2[_0x1d83e(0x2a0)];return _0x560d5d==null?null:{'scene':_0x560d5d,'transformer':_0x560d5d[_0x1d83e(0x498)]()};}};ro=$([Q(0x0,_0x2e069e),Q(0x1,_0x43fdcf),Q(0x2,_0x2ac48c),Q(0x3,_0x1005f5),Q(0x4,_0x1e77ba(_0x3298dc)),Q(0x5,_0x1e77ba(no))],ro);function io(_0x507932){const _0x5630f9=_0x5a7f20;var _0x59a310,_0x23fa66,_0x23f566,_0x5c6f66,_0x2cf2b1,_0x339130,_0x5aaca8,_0x547024,_0x6540ef,_0x33cd6c,_0x36c142,_0x6c7d74,_0x40fcb3;let {unitId:_0x3da7c4,subUnitId:_0xf362bd,shapeId:_0x3effa8,shapeData:_0x5dff09,disableShapeOption:_0x26e7e4}=_0x507932,_0x2b5fc0=_0x5bcd39(_0x2e65fd),_0x24dbb1=_0x5bcd39(_0x2e069e),_0x106c3b=_0x5bcd39(_0x2d6196),_0x41c09e=_0x5bcd39(ro),_0x9ddf2b=_0x5bcd39(_0x5e714a),_0x5b01e3=_0xd3b7d0(null),_0x2f7b53=_0x5dff09[_0x5630f9(0x46d)],_0x2ab1f7=!!(_0x2f7b53!=null&&_0x2f7b53[_0x5630f9(0x557)]),[_0x3dc517,_0x27601f]=_0x39af17((_0x59a310=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x58c)])==null?0x1:_0x59a310),[_0x4265dc,_0x19537d]=_0x39af17((_0x23fa66=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x234)])==null?_0x158edf['Stretch']:_0x23fa66),[_0xa285b,_0x121955]=_0x39af17((_0x23f566=_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x480)])==null?!0x1:_0x23f566),[_0x423956,_0xee25ec]=_0x39af17((_0x5c6f66=_0x2f7b53==null||(_0x2cf2b1=_0x2f7b53['imageTile'])==null?void 0x0:_0x2cf2b1['offsetX'])==null?0x0:_0x5c6f66),[_0x57c9ba,_0x1121fd]=_0x39af17((_0x339130=_0x2f7b53==null||(_0x5aaca8=_0x2f7b53['imageTile'])==null?void 0x0:_0x5aaca8[_0x5630f9(0x478)])==null?0x0:_0x339130),[_0x53c700,_0x239bcb]=_0x39af17((_0x547024=_0x2f7b53==null||(_0x6540ef=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x6540ef[_0x5630f9(0x2af)])==null?0x1:_0x547024),[_0x5ec7a7,_0x2d9a8b]=_0x39af17((_0x33cd6c=_0x2f7b53==null||(_0x36c142=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x36c142[_0x5630f9(0x485)])==null?0x1:_0x33cd6c),[_0x400044,_0x15a4c7]=_0x39af17((_0x6c7d74=_0x2f7b53==null||(_0x40fcb3=_0x2f7b53[_0x5630f9(0x2f2)])==null?void 0x0:_0x40fcb3[_0x5630f9(0x4f4)])==null?'tl':_0x6c7d74),_0x2d8424=_0x4265dc===_0x158edf[_0x5630f9(0x5b7)],_0x1695bd=Math['round']((0x1-_0x3dc517)*0x64),_0xf2d33a=Math[_0x5630f9(0x4fa)](_0x53c700*0x64),_0x51dce9=Math[_0x5630f9(0x4fa)](_0x5ec7a7*0x64),_0x4ee2f6=_0x4dab63=>_0x2b5fc0['t'](_0x4dab63),_0x50dad9=[{'label':_0x4ee2f6(_0x5630f9(0x3e7)),'value':'tl'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.t'),'value':'t'},{'label':_0x4ee2f6(_0x5630f9(0x532)),'value':'tr'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.l'),'value':'l'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.ctr'),'value':_0x5630f9(0x2b3)},{'label':_0x4ee2f6(_0x5630f9(0x34f)),'value':'r'},{'label':_0x4ee2f6('sheets-shape-ui.fill.picture.align.bl'),'value':'bl'},{'label':_0x4ee2f6(_0x5630f9(0x466)),'value':'b'},{'label':_0x4ee2f6(_0x5630f9(0x346)),'value':'br'}],_0x5f58ee=_0x35f7f8=>{Z(_0x24dbb1,_0x3da7c4,_0xf362bd,_0x3effa8,{'oldShapeData':{'fill':_0x2f7b53?{..._0x2f7b53}:void 0x0}},{'fill':{..._0x2f7b53,..._0x35f7f8}});},_0x4e68ae=_0x229c0c=>{const _0x10ef9c=_0x5630f9;_0x5f58ee({'imageTile':{..._0x2f7b53==null?void 0x0:_0x2f7b53[_0x10ef9c(0x2f2)],..._0x229c0c}});},_0x2d6cc8=()=>{const _0x22010a=_0x5630f9;var _0x490417;return(_0x490417=_0x5b01e3['current'])==null?void 0x0:_0x490417[_0x22010a(0x256)]();},_0x5e6a35=async _0x42eb1c=>{const _0x4f93b1=_0x5630f9;var _0x3fe9d1;let _0x41ae10=(_0x3fe9d1=_0x42eb1c[_0x4f93b1(0x1c3)][_0x4f93b1(0x4b7)])==null?void 0x0:_0x3fe9d1[0x0];if(!_0x41ae10)return;_0x42eb1c['target'][_0x4f93b1(0x231)]='';let _0x2a6523=await _0x9ddf2b[_0x4f93b1(0x238)](_0x41ae10);if(_0x2a6523==null)return;let {imageSourceType:_0x27399c,source:_0x10bc41,base64Cache:_0x14f8af}=_0x2a6523,{image:_0x430d9b}=await _0x1d0b19(_0x14f8af||'');_0x9ddf2b[_0x4f93b1(0x1ef)](_0x10bc41,_0x27399c,_0x430d9b),Z(_0x24dbb1,_0x3da7c4,_0xf362bd,_0x3effa8,{'oldShapeData':{'fill':_0x2f7b53?{..._0x2f7b53}:void 0x0}},{'fill':{..._0x2f7b53,'fillType':_0x1a4c7e[_0x4f93b1(0x488)],'fillImageSource':_0x10bc41,'fillImageSourceType':_0x27399c}}),_0x41c09e[_0x4f93b1(0x4fe)]({'unitId':_0x3da7c4,'subUnitId':_0xf362bd,'drawingId':_0x3effa8},_0x430d9b);},_0x11092f=_0x5630f9(0x493),_0x14b1e5=_0x5630f9(0x2a3);return _0xb4dd11(_0x5630f9(0x2ba),{'className':_0x5630f9(0x64c),'children':[_0xb4dd11(_0x5630f9(0x2ba),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x451))}),_0xb4dd11(_0x5630f9(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x20f703(_0x5630f9(0x51d),{'ref':_0x5b01e3,'type':_0x5630f9(0x284),'accept':'image/*','className':_0x5630f9(0x4e0),'onChange':_0x5e6a35}),_0xb4dd11(_0x5630f9(0x2ba),{'className':'group\x20univer-relative\x20univer-inline-block','children':[_0x20f703('button',{'type':_0x5630f9(0x588),'disabled':_0x26e7e4,'className':_0x5630f9(0x41e),'onClick':_0x2d6cc8,'children':_0xb4dd11(_0x5630f9(0x577),{'children':[_0x4ee2f6(_0x5630f9(0x586)),'\x20']})}),_0x2ab1f7&&_0x20f703('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pointer-events-none\x20univer-absolute\x20univer-bottom-full\x20univer-left-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-1\x20univer-hidden\x20univer-overflow-hidden\x20univer-rounded\x20univer-border\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20group-hover:univer-block\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-gray-600\x20dark:!univer-bg-gray-800\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x20f703(_0x5630f9(0x534),{'src':_0x2f7b53==null?void 0x0:_0x2f7b53[_0x5630f9(0x557)],'alt':'','className':_0x5630f9(0x335)})})]})]})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x3b1))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0x1695bd,'disabled':_0x26e7e4,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1dad71=>_0x1dad71+'%','parser':_0x201ba2=>(_0x201ba2==null?void 0x0:_0x201ba2['replace']('%',''))||'','onChange':_0x32ffb8=>{const _0x4ba3d3=_0x5630f9;let _0x4a0c13=(0x64-Math[_0x4ba3d3(0x42e)](0x0,Math[_0x4ba3d3(0x3e9)](0x64,_0x32ffb8==null?0x0:_0x32ffb8)))/0x64;_0x27601f(_0x4a0c13),_0x5f58ee({'imageOpacity':_0x4a0c13}),_0x106c3b[_0x4ba3d3(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0x20f703(_0x2353cb,{'checked':_0x2d8424,'disabled':_0x26e7e4,'onChange':_0x483463=>{const _0x4950af=_0x5630f9;let _0x3b9d6c=_0x483463?_0x158edf[_0x4950af(0x5b7)]:_0x158edf[_0x4950af(0x22a)];_0x19537d(_0x3b9d6c),_0x5f58ee({'imageFillMode':_0x3b9d6c});},'children':_0x20f703(_0x5630f9(0x577),{'className':'univer-text-sm','children':_0x4ee2f6(_0x5630f9(0x310))})}),_0x2d8424&&_0xb4dd11(_0x5630f9(0x2ba),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-flex-col\x20univer-gap-2\x20univer-border-l-2\x20univer-border-l-gray-200\x20univer-pl-3\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-border-l-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x322))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':'univer-w-full','value':_0x423956,'disabled':_0x26e7e4,'step':0x1,'onChange':_0xb9259f=>{_0x4e68ae({'offsetX':_0xb9259f==null?0x0:_0xb9259f}),_0xee25ec(_0xb9259f==null?0x0:_0xb9259f);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x43a))}),_0x20f703('div',{'className':'univer-w-20','children':_0x20f703(_0x1f6580,{'className':'univer-w-full','value':_0x57c9ba,'disabled':_0x26e7e4,'step':0x1,'onChange':_0x26ec5c=>{_0x4e68ae({'offsetY':_0x26ec5c==null?0x0:_0x26ec5c}),_0x1121fd(_0x26ec5c==null?0x0:_0x26ec5c);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x572))}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0xf2d33a,'disabled':_0x26e7e4,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x7043e0=>_0x7043e0+'%','parser':_0x3f36e7=>(_0x3f36e7==null?void 0x0:_0x3f36e7[_0x5630f9(0x61c)]('%',''))||'','onChange':_0x25204c=>{const _0x59186d=_0x5630f9;let _0x574b6b=Math[_0x59186d(0x42e)](0.01,(_0x25204c==null?0x64:_0x25204c)/0x64);_0x239bcb(_0x574b6b),_0x4e68ae({'scaleX':_0x574b6b}),_0x106c3b[_0x59186d(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b[_0x5630f9(0x209)](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0xb4dd11('div',{'className':_0x14b1e5,'children':[_0x20f703('span',{'className':_0x11092f,'children':_0x4ee2f6(_0x5630f9(0x636))}),_0x20f703('div',{'className':_0x5630f9(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x5630f9(0x591),'value':_0x51dce9,'disabled':_0x26e7e4,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x3860f6=>_0x3860f6+'%','parser':_0x2a03f1=>(_0x2a03f1==null?void 0x0:_0x2a03f1[_0x5630f9(0x61c)]('%',''))||'','onChange':_0x239ee6=>{const _0x3b3a89=_0x5630f9;let _0x2d38f0=Math[_0x3b3a89(0x42e)](0.01,(_0x239ee6==null?0x64:_0x239ee6)/0x64);_0x2d9a8b(_0x2d38f0),_0x4e68ae({'scaleY':_0x2d38f0}),_0x106c3b[_0x3b3a89(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>_0x106c3b['setContextValue'](_0x1e0e6e,!0x1)})})]}),_0xb4dd11(_0x5630f9(0x2ba),{'className':_0x14b1e5,'children':[_0x20f703(_0x5630f9(0x577),{'className':_0x11092f,'children':_0x4ee2f6('sheets-shape-ui.fill.picture.alignment')}),_0x20f703(_0x5630f9(0x2ba),{'className':_0x5630f9(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':_0x400044,'options':_0x50dad9,'disabled':_0x26e7e4,'onChange':_0x112677=>{_0x15a4c7(_0x112677),_0x4e68ae({'alignment':_0x112677});}})})]})]}),_0x20f703(_0x2353cb,{'checked':_0xa285b,'disabled':_0x26e7e4,'onChange':_0x189c2c=>{_0x121955(_0x189c2c),_0x5f58ee({'imageRotateWithShape':_0x189c2c});},'children':_0x20f703(_0x5630f9(0x577),{'className':_0x5630f9(0x2c7),'children':_0x4ee2f6('sheets-shape-ui.fill.picture.rotateWithShape')})})]});}function ao(_0x2e1dc4){const _0x1cc856=_0x5a7f20;var _0x11aa4b,_0x3a373e,_0x364838;let _0x2d61d3=_0x5bcd39(_0x2e65fd),_0x283c27=_0x5bcd39(_0x2e069e),_0x20dcec=_0x5bcd39(_0x2d6196),{shapeData:_0x4e6ad6,isLineShape:_0xac2e54,unitId:_0x7cb885,subUnitId:_0x1a87e1,shapeId:_0x139cf8,disableShapeOption:_0x3481e3}=_0x2e1dc4,[_0x5c720e,_0x38aa96]=_0x39af17(((_0x11aa4b=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x11aa4b[_0x1cc856(0x430)])||_0x1a4c7e[_0x1cc856(0x5e1)]),[_0xe3e9ab,_0x245508]=_0x39af17(((_0x3a373e=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x3a373e['color'])||_0x9a1b85[_0x1cc856(0x46d)]),[_0x253ab9,_0x5d1d96]=_0x39af17(((_0x364838=_0x4e6ad6[_0x1cc856(0x46d)])==null?void 0x0:_0x364838[_0x1cc856(0x5b9)])||0x1),[_0x2891ed,_0x3dcd32]=_0x39af17(!0x1);if(_0xac2e54)return null;let _0x1cbd5f=0x64-_0x253ab9*0x64;return _0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x54f),'children':[_0xb4dd11(_0x2ecbb7,{'value':_0x5c720e,'disabled':_0x3481e3,'onChange':_0xdfd965=>{const _0x47339c=_0x1cc856;var _0xaeb30f;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{'fillType':(_0xaeb30f=_0x4e6ad6[_0x47339c(0x46d)])==null?void 0x0:_0xaeb30f['fillType']}}},{'fill':{'fillType':_0xdfd965}}),_0x38aa96(_0xdfd965);},'direction':_0x1cc856(0x564),'children':[_0x20f703(_0xd58fe9,{'value':_0x1a4c7e['NoFill'],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x643))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x5e1)],'children':_0x20f703('span',{'className':'univer-text-sm','children':_0x2d61d3['t'](_0x1cc856(0x45a))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x323)],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x208))})}),_0x20f703(_0xd58fe9,{'value':_0x1a4c7e[_0x1cc856(0x488)],'children':_0x20f703(_0x1cc856(0x577),{'className':_0x1cc856(0x2c7),'children':_0x2d61d3['t'](_0x1cc856(0x313))})})]}),_0x5c720e===_0x1a4c7e[_0x1cc856(0x5e1)]&&_0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x5ce),'children':[_0xb4dd11('div',{'className':_0x1cc856(0x44a),'children':[_0x20f703('span',{'className':_0x1cc856(0x62f),'children':_0x2d61d3['t'](_0x1cc856(0x34c))}),_0x20f703(_0x5c8dc3,{'disabled':_0x3481e3,'overlay':_0x20f703(_0x1cc856(0x2ba),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x20f703(_0x21f13b,{'value':_0xe3e9ab,'onChange':_0x34dc2e=>{const _0x48e035=_0x1cc856;var _0x111dee;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{'color':(_0x111dee=_0x4e6ad6[_0x48e035(0x46d)])==null?void 0x0:_0x111dee['color']}}},{'fill':{'color':_0x34dc2e}}),_0x245508(_0x34dc2e),_0x3dcd32(!0x1);}})}),'open':_0x2891ed,'onOpenChange':_0x3dcd32,'children':_0xb4dd11('a',{'className':_0x1cc856(0x4cd),'children':[_0x20f703(_0x2507f7,{'className':_0x1cc856(0x2f0),'extend':{'colorChannel1':_0xe3e9ab}}),_0x20f703(_0x3e4f53,{'className':_0x45e4e0(_0x1cc856(0x4d8),{'univer-rotate-180':_0x2891ed})})]})})]}),_0xb4dd11(_0x1cc856(0x2ba),{'className':_0x1cc856(0x2a3),'children':[_0x20f703('span',{'className':_0x1cc856(0x493),'children':_0x2d61d3['t']('sheets-shape-ui.fill.transparency')}),_0x20f703(_0x1cc856(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':_0x20f703(_0x1cc856(0x2ba),{'className':_0x1cc856(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x1cc856(0x591),'value':_0x1cbd5f,'disabled':_0x3481e3,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x397030=>_0x397030+'%','parser':_0x4cc2bb=>(_0x4cc2bb==null?void 0x0:_0x4cc2bb[_0x1cc856(0x61c)]('%',''))||'','onChange':_0x35ca23=>{const _0x17ed5b=_0x1cc856;let _0x531ed4=(0x64-Math[_0x17ed5b(0x42e)](0x0,Math[_0x17ed5b(0x3e9)](0x64,_0x35ca23==null?0x0:_0x35ca23)))/0x64;_0x5d1d96(_0x531ed4),Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{..._0x4e6ad6[_0x17ed5b(0x46d)],'fillType':_0x5c720e}}},{'fill':{..._0x4e6ad6[_0x17ed5b(0x46d)],'fillType':_0x5c720e,'opacity':_0x531ed4}}),_0x20dcec[_0x17ed5b(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x20dcec['setContextValue'](_0x1e0e6e,!0x0),'onBlur':()=>{_0x20dcec['setContextValue'](_0x1e0e6e,!0x1);}})})})]})]}),_0x5c720e===_0x1a4c7e['GradientFill']&&_0x20f703(co,{'shapeData':_0x4e6ad6,'disableShapeOption':_0x3481e3,'onUpdate':_0x284809=>{const _0x2f0970=_0x1cc856;Z(_0x283c27,_0x7cb885,_0x1a87e1,_0x139cf8,{'oldShapeData':{'fill':{..._0x4e6ad6['fill']}}},{'fill':{..._0x4e6ad6[_0x2f0970(0x46d)],..._0x284809}});}}),_0x5c720e===_0x1a4c7e[_0x1cc856(0x488)]&&_0x20f703(io,{'unitId':_0x7cb885,'subUnitId':_0x1a87e1,'shapeId':_0x139cf8,'shapeData':_0x4e6ad6,'disableShapeOption':_0x3481e3})]});}function oo(_0x27838c){const _0x14b34b=_0x5a7f20;switch(_0x27838c){case _0x3feb4e[_0x14b34b(0x5ff)]:return _0x14b34b(0x529);case _0x3feb4e['Radial']:return _0x14b34b(0x366);case _0x3feb4e[_0x14b34b(0x1dd)]:return _0x14b34b(0x228);case _0x3feb4e[_0x14b34b(0x5f0)]:return'diamond';default:return'linear';}}function so(_0x3c720e){const _0x3206ef=_0x5a7f20;switch(_0x3c720e){case _0x3206ef(0x529):return _0x3feb4e['Linear'];case _0x3206ef(0x366):return _0x3feb4e['Radial'];case _0x3206ef(0x228):return _0x3feb4e[_0x3206ef(0x1dd)];case _0x3206ef(0x611):return _0x3feb4e[_0x3206ef(0x5f0)];default:return _0x3feb4e[_0x3206ef(0x5ff)];}}function co(_0x401535){const _0x3a103a=_0x5a7f20;let {shapeData:_0x263ae6,disableShapeOption:_0x58662c,onUpdate:_0x1e818d}=_0x401535;return _0x20f703('div',{'className':_0x3a103a(0x246),'children':_0x20f703(_0x2be8f6,{'value':_0x5652b4(()=>{const _0x2bae6c=_0x3a103a;var _0x5a1660;let _0x17eb67=_0x263ae6[_0x2bae6c(0x46d)];return{'type':oo(_0x17eb67==null?void 0x0:_0x17eb67[_0x2bae6c(0x24a)]),'angle':(_0x5a1660=_0x17eb67==null?void 0x0:_0x17eb67[_0x2bae6c(0x397)])==null?0x5a:_0x5a1660,'stops':_0x17eb67!=null&&_0x17eb67['gradientStops']&&_0x17eb67[_0x2bae6c(0x4c6)][_0x2bae6c(0x3d6)]>=0x2?_0x17eb67[_0x2bae6c(0x4c6)][_0x2bae6c(0x5ac)](_0xcdda4f=>({'color':_0xcdda4f[_0x2bae6c(0x4ce)],'offset':_0xcdda4f['position']*0x64})):[{'color':(_0x17eb67==null?void 0x0:_0x17eb67['color'])||_0x2bae6c(0x26c),'offset':0x0},{'color':_0x2bae6c(0x4c5),'offset':0x64}]};},[_0x263ae6['fill']]),'onChange':_0x3a9135=>{const _0x164728=_0x3a103a;let _0x33120a=so(_0x3a9135[_0x164728(0x52b)]),_0x377ac1=_0x3a9135[_0x164728(0x402)];_0x1e818d({'gradientType':_0x33120a,'gradientAngle':_0x377ac1,'gradientStops':_0x3a9135['stops'][_0x164728(0x5ac)](_0x10971a=>({'color':_0x10971a[_0x164728(0x4ce)],'position':_0x10971a['offset']/0x64}))});}})});}function lo(_0x19ef68){const _0x30f542=_0x5a7f20;var _0x5dbd10,_0x57271c,_0x5ec5c5,_0x219ff1,_0x3e812a,_0x10dc84,_0xb3079c,_0x49289c,_0x19de13,_0x22f3fd,_0x3cbdc9,_0x776173,_0x17de24,_0x25b891,_0x1626c2,_0x529fd8;let _0x1a3ca0=_0x5bcd39(_0x2e65fd),_0xd02b85=_0x5bcd39(_0x2e069e),_0x4c9427=_0x5bcd39(_0x2d6196),{shapeData:_0x3def50,isLineShape:_0x17c500,unitId:_0x336e23,subUnitId:_0x2a6841,shapeId:_0x503ec2,disableShapeOption:_0x8e9c9d}=_0x19ef68,_0x2e8cbf=_0x3def50[_0x30f542(0x2a4)],[_0xab04fa,_0x516700]=_0x39af17((_0x5dbd10=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x258)])==null?_0xbaf4f3[_0x30f542(0x1ff)]:_0x5dbd10),[_0x37d037,_0x5696cb]=_0x39af17((_0x57271c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x4ce)])==null?_0x9a1b85[_0x30f542(0x2a4)]:_0x57271c),[_0x289a9c,_0x9a2aa7]=_0x39af17((_0x5ec5c5=_0x2e8cbf==null?void 0x0:_0x2e8cbf['opacity'])==null?0x1:_0x5ec5c5),[_0x23ee09,_0x14baa3]=_0x39af17((_0x219ff1=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x3d7)])==null?_0x9a1b85['strokeWidth']:_0x219ff1),[_0x19fb5f,_0x4d1bfc]=_0x39af17((_0x3e812a=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x473)])==null?_0x140eee[_0x30f542(0x5d6)]:_0x3e812a),[_0x903efc,_0x4dc42c]=_0x39af17((_0x10dc84=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x245)])==null?_0x11f170['Flat']:_0x10dc84),[_0x2fd830,_0x5e8be0]=_0x39af17((_0xb3079c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x360)])==null?_0x46ca3e['Miter']:_0xb3079c),[_0x516643,_0x464c15]=_0x39af17((_0x49289c=_0x2e8cbf==null?void 0x0:_0x2e8cbf[_0x30f542(0x2a6)])==null?_0x3e9582[_0x30f542(0x4dc)]:_0x49289c),_0x3238fb=_0x3def50,[_0x5b8f10,_0xcb61a6]=_0x39af17((_0x19de13=(_0x22f3fd=_0x3238fb['ln'])==null||(_0x22f3fd=_0x22f3fd[_0x30f542(0x2d4)])==null?void 0x0:_0x22f3fd[_0x30f542(0x52b)])==null?_0x285f09['None']:_0x19de13),[_0x17b8f3,_0x4e6f6a]=_0x39af17((_0x3cbdc9=(_0x776173=_0x3238fb['ln'])==null||(_0x776173=_0x776173[_0x30f542(0x2d4)])==null?void 0x0:_0x776173[_0x30f542(0x352)])==null?_0x193749[_0x30f542(0x2da)]:_0x3cbdc9),[_0xe92df6,_0x2c401e]=_0x39af17((_0x17de24=(_0x25b891=_0x3238fb['ln'])==null||(_0x25b891=_0x25b891[_0x30f542(0x3ab)])==null?void 0x0:_0x25b891[_0x30f542(0x52b)])==null?_0x285f09[_0x30f542(0x4dc)]:_0x17de24),[_0xc8bd0c,_0x186e8d]=_0x39af17((_0x1626c2=(_0x529fd8=_0x3238fb['ln'])==null||(_0x529fd8=_0x529fd8['endArrow'])==null?void 0x0:_0x529fd8[_0x30f542(0x352)])==null?_0x193749[_0x30f542(0x2da)]:_0x1626c2),[_0x22d228,_0x187853]=_0x39af17(!0x1),_0x249865=0x64-_0x289a9c*0x64,_0x5caa48=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.dashType.solid'),'value':String(_0x140eee[_0x30f542(0x5d6)])},{'label':_0x1a3ca0['t'](_0x30f542(0x350)),'value':String(_0x140eee[_0x30f542(0x553)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.dashType.squareDot'),'value':String(_0x140eee[_0x30f542(0x39b)])},{'label':_0x1a3ca0['t'](_0x30f542(0x621)),'value':String(_0x140eee['Dash'])},{'label':_0x1a3ca0['t'](_0x30f542(0x2a5)),'value':String(_0x140eee[_0x30f542(0x507)])},{'label':_0x1a3ca0['t'](_0x30f542(0x497)),'value':String(_0x140eee['LongDash'])},{'label':_0x1a3ca0['t'](_0x30f542(0x47b)),'value':String(_0x140eee[_0x30f542(0x53f)])},{'label':_0x1a3ca0['t'](_0x30f542(0x449)),'value':String(_0x140eee['LongDashDotDot'])}],_0x260fb2=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.capType.flat'),'value':String(_0x11f170[_0x30f542(0x42c)])},{'label':_0x1a3ca0['t'](_0x30f542(0x44f)),'value':String(_0x11f170[_0x30f542(0x550)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.capType.square'),'value':String(_0x11f170[_0x30f542(0x530)])}],_0xbeac6b=[{'label':_0x1a3ca0['t'](_0x30f542(0x3bc)),'value':String(_0x3e9582[_0x30f542(0x4dc)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.sketchType.curved'),'value':String(_0x3e9582['Curved'])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.sketchType.freehand'),'value':String(_0x3e9582[_0x30f542(0x29f)])},{'label':_0x1a3ca0['t'](_0x30f542(0x41a)),'value':String(_0x3e9582[_0x30f542(0x24c)])}],_0x215de3=[{'label':_0x1a3ca0['t'](_0x30f542(0x5f9)),'value':String(_0x46ca3e[_0x30f542(0x2b9)])},{'label':_0x1a3ca0['t'](_0x30f542(0x1bf)),'value':String(_0x46ca3e['Round'])},{'label':_0x1a3ca0['t'](_0x30f542(0x33a)),'value':String(_0x46ca3e[_0x30f542(0x364)])}],_0x6991cc=[{'label':_0x1a3ca0['t']('sheets-shape-ui.line.arrowType.none'),'value':String(_0x285f09[_0x30f542(0x4dc)])},{'label':_0x1a3ca0['t'](_0x30f542(0x1f2)),'value':String(_0x285f09['Arrow'])},{'label':_0x1a3ca0['t'](_0x30f542(0x3fc)),'value':String(_0x285f09[_0x30f542(0x309)])},{'label':_0x1a3ca0['t']('sheets-shape-ui.line.arrowType.stealthArrow'),'value':String(_0x285f09[_0x30f542(0x23d)])},{'label':_0x1a3ca0['t'](_0x30f542(0x568)),'value':String(_0x285f09[_0x30f542(0x554)])},{'label':_0x1a3ca0['t'](_0x30f542(0x3cb)),'value':String(_0x285f09[_0x30f542(0x50c)])}],_0x2bf1ce=[{'label':_0x1a3ca0['t'](_0x30f542(0x32b)),'value':String(_0x193749[_0x30f542(0x48c)])},{'label':_0x1a3ca0['t'](_0x30f542(0x5f6)),'value':String(_0x193749['Medium'])},{'label':_0x1a3ca0['t'](_0x30f542(0x3b8)),'value':String(_0x193749[_0x30f542(0x533)])}];return _0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x54f),'children':[_0xb4dd11(_0x2ecbb7,{'value':String(_0xab04fa),'disabled':_0x8e9c9d,'onChange':_0x29a9e1=>{const _0x523f68=_0x30f542;var _0x356ea3;_0x516700(Number(_0x29a9e1)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x356ea3=_0x3def50[_0x523f68(0x2a4)])==null?void 0x0:_0x356ea3['lineStrokeType']}}},{'stroke':{'lineStrokeType':Number(_0x29a9e1)}});},'direction':'vertical','children':[_0x20f703(_0xd58fe9,{'value':String(_0xbaf4f3[_0x30f542(0x677)]),'children':_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x2c7),'children':_0x1a3ca0['t'](_0x30f542(0x5fa))})}),_0x20f703(_0xd58fe9,{'value':String(_0xbaf4f3[_0x30f542(0x1ff)]),'children':_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm','children':_0x1a3ca0['t']('sheets-shape-ui.line.solidLine')})})]}),_0xab04fa!==_0xbaf4f3['NoLine']&&_0xb4dd11('div',{'className':_0x30f542(0x5ce),'children':[_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t']('sheets-shape-ui.line.color')}),_0x20f703(_0x5c8dc3,{'disabled':_0x8e9c9d,'overlay':_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x336),'children':_0x20f703(_0x21f13b,{'value':_0x37d037,'onChange':_0x35f1b9=>{const _0x48d0ed=_0x30f542;var _0xb4df13;Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'color':(_0xb4df13=_0x3def50['stroke'])==null?void 0x0:_0xb4df13[_0x48d0ed(0x4ce)]}}},{'stroke':{'color':_0x35f1b9}}),_0x5696cb(_0x35f1b9),_0x187853(!0x1);}})}),'open':_0x22d228,'onOpenChange':_0x187853,'children':_0xb4dd11('a',{'className':'univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','children':[_0x20f703(_0x2507f7,{'className':_0x30f542(0x58d),'extend':{'colorChannel1':_0x37d037}}),_0x20f703(_0x3e4f53,{'className':_0x45e4e0(_0x30f542(0x4d8),{'univer-rotate-180':_0x22d228})})]})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x571))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-20\x20univer-flex-1','children':_0x20f703(_0x1f6580,{'className':_0x30f542(0x591),'value':_0x249865,'disabled':_0x8e9c9d,'min':0x0,'max':0x64,'formatter':_0x33ac7d=>_0x33ac7d+'%','parser':_0xbb6ec6=>(_0xbb6ec6==null?void 0x0:_0xbb6ec6[_0x30f542(0x61c)]('%',''))||'','onChange':_0x117e7e=>{const _0x299238=_0x30f542;var _0x3cfe06;let _0x2eaac5=(0x64-Math[_0x299238(0x42e)](0x0,Math[_0x299238(0x3e9)](0x64,_0x117e7e==null?0x0:_0x117e7e)))/0x64;_0x9a2aa7(_0x2eaac5),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'opacity':(_0x3cfe06=_0x3def50[_0x299238(0x2a4)])==null?void 0x0:_0x3cfe06['opacity']}}},{'stroke':{'opacity':_0x2eaac5}}),_0x4c9427[_0x299238(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x4c9427[_0x30f542(0x209)](_0x1e0e6e,!0x0),'onBlur':_0x349c58=>{const _0x24d362=_0x30f542;_0x4c9427[_0x24d362(0x209)](_0x1e0e6e,!0x1);}})})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x2a3),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t']('sheets-shape-ui.line.width')}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x3c7),'children':_0x20f703(_0x1f6580,{'className':_0x30f542(0x591),'disabled':_0x8e9c9d,'value':_0x23ee09,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x3d191f=>_0x3d191f+_0x30f542(0x1ec),'parser':_0x32deda=>(_0x32deda==null?void 0x0:_0x32deda[_0x30f542(0x61c)](_0x30f542(0x1ec),''))||'','onChange':_0x115a62=>{const _0x3352d9=_0x30f542;if(!Number[_0x3352d9(0x24f)](_0x115a62)&&_0x115a62!==null){var _0x34d427;Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'width':(_0x34d427=_0x3def50['stroke'])==null?void 0x0:_0x34d427[_0x3352d9(0x3d7)]}}},{'stroke':{'width':_0x115a62}});}_0x4c9427[_0x3352d9(0x209)](_0x1e0e6e,!0x1);},'onFocus':()=>_0x4c9427[_0x30f542(0x209)](_0x1e0e6e,!0x0),'onBlur':_0x18893f=>{const _0x25751a=_0x30f542;_0x4c9427[_0x25751a(0x209)](_0x1e0e6e,!0x1);}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x318))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x19fb5f),'options':_0x5caa48,'disabled':_0x8e9c9d,'onChange':_0x3a1d76=>{const _0x4f71ac=_0x30f542;var _0x3d1267;_0x4d1bfc(Number(_0x3a1d76)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'dashType':(_0x3d1267=_0x3def50[_0x4f71ac(0x2a4)])==null?void 0x0:_0x3d1267['dashType']}}},{'stroke':{'dashType':Number(_0x3a1d76)}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x56e))}),_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-28','children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x903efc),'options':_0x260fb2,'disabled':_0x8e9c9d,'onChange':_0x4938c2=>{const _0x48272f=_0x30f542;var _0x11b452;_0x4dc42c(Number(_0x4938c2)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'capType':(_0x11b452=_0x3def50['stroke'])==null?void 0x0:_0x11b452[_0x48272f(0x245)]}}},{'stroke':{'capType':Number(_0x4938c2)}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x476))}),_0x20f703('div',{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x2fd830),'options':_0x215de3,'disabled':_0x8e9c9d,'onChange':_0x1eb9cc=>{const _0x34c131=_0x30f542;var _0x7b22d7;_0x5e8be0(Number(_0x1eb9cc)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'lineJoinType':(_0x7b22d7=_0x3def50['stroke'])==null?void 0x0:_0x7b22d7[_0x34c131(0x360)]}}},{'stroke':{'lineJoinType':Number(_0x1eb9cc)}});}})})]}),!_0x17c500&&_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x542))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x516643),'options':_0xbeac6b,'disabled':_0x8e9c9d,'onChange':_0xcf4892=>{const _0x4ad6f3=_0x30f542;var _0xe6fca8;_0x464c15(Number(_0xcf4892)),Z(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'stroke':{'sketchType':(_0xe6fca8=_0x3def50[_0x4ad6f3(0x2a4)])==null?void 0x0:_0xe6fca8['sketchType']}}},{'stroke':{'sketchType':Number(_0xcf4892)}});}})})]}),_0x17c500&&_0xb4dd11(_0x7b339f,{'children':[_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703('span',{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x230))}),_0x20f703('div',{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0x5b8f10),'options':_0x6991cc,'onChange':_0x428816=>{const _0x4efa45=_0x30f542;var _0xa12c86;_0xcb61a6(Number(_0x428816)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'startArrow':{'type':(_0xa12c86=_0x3def50['ln'])==null||(_0xa12c86=_0xa12c86['startArrow'])==null?void 0x0:_0xa12c86[_0x4efa45(0x52b)]}}}},{'ln':{'startArrow':{'type':Number(_0x428816)}}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x669))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0x17b8f3),'options':_0x2bf1ce,'onChange':_0x1c8a8f=>{const _0x16ce14=_0x30f542;var _0x5ae8ed;_0x4e6f6a(Number(_0x1c8a8f)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x5ae8ed=_0x3def50['ln'])==null||(_0x5ae8ed=_0x5ae8ed[_0x16ce14(0x2d4)])==null?void 0x0:_0x5ae8ed[_0x16ce14(0x352)]}}}},{'ln':{'startArrow':{'size':Number(_0x1c8a8f)}}});}})})]}),_0xb4dd11('div',{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1a3ca0['t'](_0x30f542(0x3f1))}),_0x20f703(_0x30f542(0x2ba),{'className':_0x30f542(0x4ad),'children':_0x20f703(_0x30c735,{'className':_0x30f542(0x591),'value':String(_0xe92df6),'options':_0x6991cc,'onChange':_0x2b0993=>{const _0x4fd960=_0x30f542;var _0x963db0;_0x2c401e(Number(_0x2b0993)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x963db0=_0x3def50['ln'])==null||(_0x963db0=_0x963db0[_0x4fd960(0x3ab)])==null?void 0x0:_0x963db0['type']}}}},{'ln':{'endArrow':{'type':Number(_0x2b0993)}}});}})})]}),_0xb4dd11(_0x30f542(0x2ba),{'className':_0x30f542(0x44a),'children':[_0x20f703(_0x30f542(0x577),{'className':_0x30f542(0x62f),'children':_0x1a3ca0['t'](_0x30f542(0x28e))}),_0x20f703(_0x30f542(0x2ba),{'className':'univer-w-28','children':_0x20f703(_0x30c735,{'className':'univer-w-full','value':String(_0xc8bd0c),'options':_0x2bf1ce,'onChange':_0x46dce5=>{const _0x325f1c=_0x30f542;var _0x114898;_0x186e8d(Number(_0x46dce5)),Qa(_0xd02b85,_0x336e23,_0x2a6841,_0x503ec2,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x114898=_0x3def50['ln'])==null||(_0x114898=_0x114898[_0x325f1c(0x3ab)])==null?void 0x0:_0x114898[_0x325f1c(0x352)]}}}},{'ln':{'endArrow':{'size':Number(_0x46dce5)}}});}})})]})]})]})]});}function uo(){const _0x5e7eea=_0x5a7f20;let _0x43e841=_0x5bcd39(_0x2ac48c),[_0x5d830e,_0xadfe30]=_0x39af17(_0x43e841[_0x5e7eea(0x43b)]());return _0x45aacf(()=>{const _0x52f49c=_0x5e7eea;let _0x2d040c=_0x43e841[_0x52f49c(0x237)][_0x52f49c(0x2ab)](_0x544c15=>{_0xadfe30(_0x544c15);});return()=>{const _0x2b3467=_0x52f49c;_0x2d040c[_0x2b3467(0x223)]();};},[]),_0x5d830e['length']===0x0?null:_0x20f703('div',{'children':_0xb4dd11(_0x5e7eea(0x2ba),{'className':_0x5e7eea(0x4ee),'children':[_0x20f703(_0x1e005d,{'drawings':_0x5d830e,'hasCropper':!0x1}),_0x20f703(_0x498cce,{'drawings':_0x5d830e})]})});}function fo(_0x2cfbcc){const _0xbdd843=_0x5a7f20;let {shapeData:_0xa6d424,shapeId:_0x227336,shapeType:_0x53975f,version:_0x194a29,unitId:_0x526388,subUnitId:_0x4a732e,disableShapeOption:_0x3765f9}=_0x2cfbcc,_0x1201c1=_0x5bcd39(_0x2e65fd),_0x5dafdc=_0x39df67(_0x53975f),[_0x1b4559,_0x49a288]=_0x39af17(0x0),_0x434253=[{'label':_0x20f703(_0xbdd843(0x2ba),{'children':_0x1201c1['t']('sheets-shape-ui.fill.title')}),'children':_0x20f703(_0xbdd843(0x26e),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x20f703(ao,{'shapeId':_0x227336,'shapeData':_0xa6d424,'isLineShape':_0x5dafdc,'subUnitId':_0x4a732e,'unitId':_0x526388,'disableShapeOption':_0x3765f9},_0x227336)})},{'label':_0x20f703('div',{'children':_0x1201c1['t'](_0xbdd843(0x240))}),'children':_0x20f703(_0xbdd843(0x26e),{'className':_0xbdd843(0x3c4),'children':_0x20f703(lo,{'shapeId':_0x227336,'shapeData':_0xa6d424,'isLineShape':_0x5dafdc,'subUnitId':_0x4a732e,'unitId':_0x526388,'disableShapeOption':_0x3765f9},_0x227336)})}];return _0xb4dd11(_0xbdd843(0x2ba),{'className':_0xbdd843(0x396),'children':[_0xb4dd11('div',{'className':'univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','children':[_0xb4dd11('div',{'className':_0x45e4e0(_0xbdd843(0x4cf),_0x1b4559===0x0?_0xbdd843(0x433):_0xbdd843(0x58d)),'onClick':()=>_0x49a288(0x0),'children':[_0x1201c1['t']('sheets-shape-ui.shapeStyle'),_0x20f703(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x3a5),{'univer-bg-primary-600':_0x1b4559===0x0,'univer-bg-transparent':_0x1b4559!==0x0})})]}),_0xb4dd11(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x4cf),{'univer-text-primary-600':_0x1b4559===0x1,'univer-text-gray-500':_0x1b4559!==0x1}),'onClick':()=>_0x49a288(0x1),'children':[_0x1201c1['t'](_0xbdd843(0x3b0)),_0x20f703(_0xbdd843(0x2ba),{'className':_0x45e4e0(_0xbdd843(0x54c),{'univer-bg-primary-600':_0x1b4559===0x1,'univer-bg-transparent':_0x1b4559!==0x1})})]})]}),_0x20f703(_0xbdd843(0x2ba),{'className':_0xbdd843(0x314),'children':_0x1b4559===0x0?_0x20f703('div',{'className':'','children':_0x20f703(_0xa8f5b0,{'items':_0x434253})},_0x194a29):_0x20f703(uo,{})})]});}var po=class extends _0xe1d4df{constructor(_0x874e67,_0xd67157){const _0x28b1f4=_0x5a7f20;super(_0x874e67,_0xd67157),Y(this,_0x28b1f4(0x595),null),Y(this,_0x28b1f4(0x635),null),Y(this,_0x28b1f4(0x479),null),Y(this,_0x28b1f4(0x2aa),null),_0xd67157&&this[_0x28b1f4(0x4fc)](_0xd67157);}[_0x5a7f20(0x514)](){const _0x2ab20d=_0x5a7f20;return{'unitId':this[_0x2ab20d(0x479)],'subUnitId':this[_0x2ab20d(0x2aa)],'drawingId':this[_0x2ab20d(0x595)]};}[_0x5a7f20(0x4fc)](_0x302734){const _0x32f166=_0x5a7f20;_0x302734[_0x32f166(0x384)]!==void 0x0&&(this[_0x32f166(0x595)]=_0x302734[_0x32f166(0x384)]),_0x302734[_0x32f166(0x517)]!==void 0x0&&(this[_0x32f166(0x635)]=_0x302734[_0x32f166(0x517)]),_0x302734[_0x32f166(0x666)]!==void 0x0&&(this[_0x32f166(0x479)]=_0x302734[_0x32f166(0x666)]),_0x302734[_0x32f166(0x279)]!==void 0x0&&(this[_0x32f166(0x2aa)]=_0x302734[_0x32f166(0x279)]),this['transformByState']({'width':_0x302734[_0x32f166(0x3d7)],'height':_0x302734[_0x32f166(0x4c8)]});}[_0x5a7f20(0x260)](_0x5dbffa){const _0x4bc77f=_0x5a7f20;_0x574c0f[_0x4bc77f(0x2ce)](_0x5dbffa,{'radius':_0x9a1b85[_0x4bc77f(0x21e)],'fill':_0x9a1b85[_0x4bc77f(0x3d0)],'stroke':_0x9a1b85['adjHandleStroke'],'strokeWidth':0x1,'evented':!0x0});}};let mo=class extends _0x185401{constructor(_0x1c1155,_0x3e3856,_0x355765,_0x1985d3,_0x22ffc2,_0x48c250,_0x3faa8d,_0x5db692){const _0x3bbffa=_0x5a7f20;super(),this[_0x3bbffa(0x434)]=_0x1c1155,this[_0x3bbffa(0x1c4)]=_0x3e3856,this[_0x3bbffa(0x65c)]=_0x355765,this[_0x3bbffa(0x225)]=_0x1985d3,this[_0x3bbffa(0x33e)]=_0x22ffc2,this['_sheetDrawingShapeRenderController']=_0x48c250,this[_0x3bbffa(0x4c0)]=_0x3faa8d,this[_0x3bbffa(0x52a)]=_0x5db692,Y(this,_0x3bbffa(0x1be),null),Y(this,_0x3bbffa(0x479),null),Y(this,_0x3bbffa(0x2aa),null),Y(this,_0x3bbffa(0x306),void 0x0),Y(this,'_shapes',[]),Y(this,_0x3bbffa(0x428),0x0),Y(this,_0x3bbffa(0x3ec),0x0),Y(this,_0x3bbffa(0x29c),0x0),Y(this,_0x3bbffa(0x443),0x0),Y(this,_0x3bbffa(0x265),!0x1),Y(this,_0x3bbffa(0x67c),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x3bbffa(0x540),void 0x0),Y(this,'_adjHandlerPointerUp',void 0x0),Y(this,_0x3bbffa(0x436),!0x1),this[_0x3bbffa(0x315)](),this[_0x3bbffa(0x5f3)]();}[_0x5a7f20(0x5b8)](_0x402eaf,_0x20045a,_0xaa9008){const _0x56e502=_0x5a7f20;let _0x41587e=this[_0x56e502(0x225)][_0x56e502(0x2dc)](_0x402eaf,_0x20045a,_0xaa9008);if(_0x41587e)return _0x41587e[_0x56e502(0x295)]();}[_0x5a7f20(0x492)](){const _0x7a9159=_0x5a7f20;this[_0x7a9159(0x38d)]();}[_0x5a7f20(0x383)](){const _0x32655d=_0x5a7f20;this[_0x32655d(0x4ef)](!0x0);}['setShouldShowAdjust'](_0x31f100){this['_isShouldShowDrawingShapeAdjust']=_0x31f100;}[_0x5a7f20(0x211)](_0x3c0e69,_0x5b01f3,_0x4f894c,_0x3b336a){const _0x2298a8=_0x5a7f20;let _0x39ddfc=this[_0x2298a8(0x225)][_0x2298a8(0x2dc)](_0x3c0e69,_0x5b01f3,_0x4f894c);if(_0x39ddfc)return _0x39ddfc['getAdjustInfoByName'](_0x3b336a);}['_createShapeAdjustControls'](_0x4c05d4=!0x1){const _0x2a67af=_0x5a7f20;if(this[_0x2a67af(0x479)]===null||this[_0x2a67af(0x2aa)]===null||this[_0x2a67af(0x1be)]===null)return;let _0x1c51fd=this[_0x2a67af(0x33e)]['getRenderById'](this['_unitId']);if(!_0x1c51fd||!_0x1c51fd[_0x2a67af(0x49a)](_0x4e2ed9)[_0x2a67af(0x54e)]())return;let {scene:_0x59b198}=_0x1c51fd,_0xa72c5d={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x2a67af(0x1be)]},_0x4233b9=this[_0x2a67af(0x65c)][_0x2a67af(0x4b2)](_0xa72c5d),{transform:_0x62cd64}=_0x4233b9;if(!_0x62cd64||_0x4233b9[_0x2a67af(0x526)]!==_0x5d8611[_0x2a67af(0x415)])return;let {left:_0x12f3d1,top:_0x4e3d2e,width:_0x5a5c6d,height:_0x3eb76d,flipX:_0x4996df,flipY:_0x2fb068,angle:_0x4c5995=0x0}=_0x62cd64;if(_0x12f3d1===void 0x0||_0x4e3d2e===void 0x0)return;_0x4c05d4&&(this['_activeShapeAdjustPointList']=this[_0x2a67af(0x5b8)](this[_0x2a67af(0x479)],this[_0x2a67af(0x2aa)],this[_0x2a67af(0x1be)]));let _0x149de3=this[_0x2a67af(0x306)];for(let _0x1eb7c2=0x0;_0x1eb7c2<_0x149de3[_0x2a67af(0x3d6)];_0x1eb7c2++){let _0x4c421a=_0x149de3[_0x1eb7c2],_0x222197=_0x4c421a['x'],_0x1ccc4d=_0x4c421a['y'];if(_0x4996df&&(_0x222197=(_0x5a5c6d||0x0)-_0x222197),_0x2fb068&&(_0x1ccc4d=(_0x3eb76d||0x0)-_0x1ccc4d),_0x4c5995!==0x0){let _0x4dd5b5=(_0x5a5c6d||0x0)/0x2,_0x23d8e8=(_0x3eb76d||0x0)/0x2,_0x2d2dcf=_0x4c5995*Math['PI']/0xb4,_0x135923=Math[_0x2a67af(0x3bb)](_0x2d2dcf),_0x38cce7=Math[_0x2a67af(0x4a5)](_0x2d2dcf),_0x4251e5=_0x222197-_0x4dd5b5,_0x52bdc1=_0x1ccc4d-_0x23d8e8;_0x222197=_0x4dd5b5+(_0x4251e5*_0x135923-_0x52bdc1*_0x38cce7),_0x1ccc4d=_0x23d8e8+(_0x4251e5*_0x38cce7+_0x52bdc1*_0x135923);}let _0x4eaa01={'x':_0x222197,'y':_0x1ccc4d,'adjName':_0x4c421a['adjName']};this[_0x2a67af(0x214)](_0x59b198,_0x4eaa01,_0x4eaa01['adjName'],_0x12f3d1,_0x4e3d2e,this[_0x2a67af(0x479)],this[_0x2a67af(0x2aa)]);}}['_updateShapeAdjustControls'](_0x41d7e9=!0x1){const _0xc68170=_0x5a7f20;_0x41d7e9&&(this[_0xc68170(0x38d)](),this['_createShapeAdjustControls'](_0x41d7e9));}[_0x5a7f20(0x214)](_0xa07d6,_0x896824,_0xcf7292,_0x25ac65,_0x325e21,_0x3d6d60,_0x3b74f6){const _0x1d22be=_0x5a7f20;if(!this[_0x1d22be(0x1be)])return;let _0x1c24b5=_0xa07d6[_0x1d22be(0x33c)](_0x1d22be(0x4a7)+this[_0x1d22be(0x1be)]+'-'+_0xcf7292);if(_0x1c24b5){_0x1c24b5[_0x1d22be(0x288)]({'left':_0x896824['x']+_0x25ac65-_0x9a1b85['adjHandleSize'],'top':_0x896824['y']+_0x325e21-_0x9a1b85[_0x1d22be(0x21e)]});return;}let _0xe7a1ac={'left':_0x896824['x']+_0x25ac65-_0x9a1b85[_0x1d22be(0x21e)],'top':_0x896824['y']+_0x325e21-_0x9a1b85['adjHandleSize'],'adjName':_0xcf7292,'shapeId':this[_0x1d22be(0x1be)],'unitId':_0x3d6d60,'subUnitId':_0x3b74f6,'width':_0x9a1b85[_0x1d22be(0x21e)]+0x8,'height':_0x9a1b85['adjHandleSize']+0x8,'zIndex':_0x3929c9+0x1,'evented':!0x0},_0x3ad64b=new po(_0x1d22be(0x4a7)+this[_0x1d22be(0x1be)]+'-'+_0xcf7292,_0xe7a1ac);this['_shapes'][_0x1d22be(0x61f)](_0x3ad64b),this[_0x1d22be(0x65b)](_0x3ad64b,_0xa07d6,_0xcf7292),_0xa07d6['addObject'](_0x3ad64b,_0x3929c9+0x1);}[_0x5a7f20(0x38d)](){const _0x1d0d7a=_0x5a7f20;this[_0x1d0d7a(0x62b)][_0x1d0d7a(0x3d6)]!==0x0&&(this[_0x1d0d7a(0x62b)][_0x1d0d7a(0x2cc)](_0x10af06=>{_0x10af06['dispose']();}),this['_shapes']=[]);}[_0x5a7f20(0x4a2)](){const _0xd3d707=_0x5a7f20;this[_0xd3d707(0x232)]();}[_0x5a7f20(0x43e)](_0x5158e3,_0x20df53){const _0x5d6dd3=_0x5a7f20;var _0x522a27;let _0x53e77f={'x':0x0,'y':0x0};if(!_0x5158e3||!_0x20df53)return _0x53e77f;let _0x21b7f8=this['_renderManagerService'][_0x5d6dd3(0x36a)](_0x5158e3);if(!_0x21b7f8||!_0x21b7f8[_0x5d6dd3(0x49a)](_0x4e2ed9)['getSkeleton'](_0x20df53))return _0x53e77f;let _0x2d7831=_0x21b7f8['with'](_0x13c1a9),_0x403384=_0x2d7831==null?void 0x0:_0x2d7831[_0x5d6dd3(0x51b)]();if(!_0x403384)return _0x53e77f;let _0x2c81f8=(_0x522a27=this[_0x5d6dd3(0x4c0)][_0x5d6dd3(0x4e7)](_0x5158e3))==null?void 0x0:_0x522a27[_0x5d6dd3(0x64e)](_0x20df53);if(!_0x2c81f8)return _0x53e77f;let _0x2e00e6=_0x5cde96(_0x403384['sheetViewStartRow'],_0x403384['sheetViewStartColumn'],_0x21b7f8['scene'],_0x2c81f8);return _0x2e00e6?{'x':_0x2e00e6[_0x5d6dd3(0x5a0)],'y':_0x2e00e6[_0x5d6dd3(0x4b0)]}:_0x53e77f;}[_0x5a7f20(0x5e8)](_0x3d2b08,_0x2ccc7c){const _0x4faab0=_0x5a7f20;var _0x2d2c16,_0x1355b4;let _0x1e80df=(_0x2d2c16=this['_univerInstanceService'][_0x4faab0(0x4e7)](_0x3d2b08))==null?void 0x0:_0x2d2c16['getSheetBySheetId'](_0x2ccc7c);return(_0x1355b4=_0x1e80df==null?void 0x0:_0x1e80df[_0x4faab0(0x22f)]())==null?0x1:_0x1355b4;}[_0x5a7f20(0x65b)](_0x21367d,_0x341c82,_0x1a36bf){const _0x1d19dd=_0x5a7f20;this[_0x1d19dd(0x404)](_0x162f95(_0x21367d[_0x1d19dd(0x1c8)][_0x1d19dd(0x3f0)]((_0x45d196,_0xae214)=>{const _0x2e77ec=_0x1d19dd;var _0x3453fa,_0x542767,_0x1ceb2e,_0x4d688f;let _0x2ea70c=_0x21367d[_0x2e77ec(0x514)]();this[_0x2e77ec(0x67c)]=this[_0x2e77ec(0x211)](_0x2ea70c['unitId'],_0x2ea70c[_0x2e77ec(0x279)],_0x2ea70c[_0x2e77ec(0x1fb)],_0x1a36bf),this[_0x2e77ec(0x3df)]=this[_0x2e77ec(0x225)][_0x2e77ec(0x2dc)](_0x2ea70c[_0x2e77ec(0x666)],_0x2ea70c[_0x2e77ec(0x279)],_0x2ea70c['drawingId']);let _0x5dd288=this[_0x2e77ec(0x65c)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x2e77ec(0x2aa)],'drawingId':this['_activeShapeId']}),{transform:_0x1657a3}=_0x5dd288;if(_0x1657a3){let {left:_0x48159a,top:_0x4381f3,width:_0x14f869,height:_0x10cbb6}=_0x1657a3;this['_baseShapeLeft']=_0x48159a||0x0,this['_baseShapeTop']=_0x4381f3||0x0,this[_0x2e77ec(0x29c)]=_0x14f869||0x0,this['_baseShapeHeight']=_0x10cbb6||0x0;}let _0xd95d06=!!((_0x3453fa=_0x5dd288[_0x2e77ec(0x3ba)])!=null&&_0x3453fa[_0x2e77ec(0x51a)]),_0x18c2d3=!!((_0x542767=_0x5dd288[_0x2e77ec(0x3ba)])!=null&&_0x542767[_0x2e77ec(0x4e4)]),_0x4c707c=((_0x1ceb2e=_0x5dd288[_0x2e77ec(0x3ba)])==null?void 0x0:_0x1ceb2e[_0x2e77ec(0x402)])||0x0;this[_0x2e77ec(0x265)]=!0x0,_0x341c82[_0x2e77ec(0x5d5)]();let _0x4220a8=(_0x4d688f=this['_activeShapeModel'])==null?void 0x0:_0x4d688f[_0x2e77ec(0x257)](_0x1a36bf),_0x210871={[_0x1a36bf]:_0x4220a8};this['_adjHandlerPointerMove']=_0x341c82[_0x2e77ec(0x48a)][_0x2e77ec(0x3f0)]((_0x367ac7,_0x458cd6)=>{const _0x143952=_0x2e77ec;if(!this[_0x143952(0x265)])return;let {offsetX:_0x4a44fc,offsetY:_0x15bc2d}=_0x367ac7,_0x3d5cc0=this[_0x143952(0x67c)];if(this[_0x143952(0x3df)]&&_0x3d5cc0){_0x341c82[_0x143952(0x5d5)](),_0x341c82['setCursor'](_0x1b0deb[_0x143952(0x1f4)]);let _0x594fc4={'left':0x0,'top':0x0,'width':this[_0x143952(0x29c)],'height':this[_0x143952(0x443)]},_0x29a421=this['_getScrollInfo'](this[_0x143952(0x479)],this[_0x143952(0x2aa)]),_0x520d35=this[_0x143952(0x5e8)](this[_0x143952(0x479)],this[_0x143952(0x2aa)]),_0x164da7=_0x4a44fc/_0x520d35+_0x29a421['x']-this[_0x143952(0x428)],_0x242c83=_0x15bc2d/_0x520d35+_0x29a421['y']-this[_0x143952(0x3ec)];if(_0x4c707c!==0x0){let _0x1a06a7=this[_0x143952(0x29c)]/0x2,_0x4970f1=this[_0x143952(0x443)]/0x2,_0x424aae=_0x4c707c*Math['PI']/0xb4,_0x2cc84e=Math['cos'](_0x424aae),_0xd7ad49=Math[_0x143952(0x4a5)](_0x424aae),_0x31a453=_0x164da7-_0x1a06a7,_0x1637ff=_0x242c83-_0x4970f1;_0x164da7=_0x1a06a7+(_0x31a453*_0x2cc84e+_0x1637ff*_0xd7ad49),_0x242c83=_0x4970f1+(-_0x31a453*_0xd7ad49+_0x1637ff*_0x2cc84e);}_0xd95d06&&(_0x164da7=this[_0x143952(0x29c)]-_0x164da7),_0x18c2d3&&(_0x242c83=this['_baseShapeHeight']-_0x242c83);let _0xcdfd3d={'x':_0x164da7,'y':_0x242c83},_0x544469=this[_0x143952(0x3df)][_0x143952(0x3f4)](_0x594fc4,_0xcdfd3d,_0x3d5cc0,_0xd95d06,_0x18c2d3),_0x575f95=_0x3d5cc0['gdRefX']||_0x3d5cc0[_0x143952(0x4a8)]||_0x3d5cc0[_0x143952(0x40f)]||_0x3d5cc0[_0x143952(0x23c)];if(_0x575f95===void 0x0)return;this['_activeShapeModel'][_0x143952(0x348)](_0x575f95,_0x544469);let _0x198554=this[_0x143952(0x65c)]['getDrawingByParam']({'unitId':_0x2ea70c[_0x143952(0x666)],'subUnitId':_0x2ea70c['subUnitId'],'drawingId':_0x2ea70c['drawingId']});_0x198554&&(this[_0x143952(0x391)][_0x143952(0x376)](_0x198554,_0x341c82),this[_0x143952(0x306)]=this['_getShapeAdjustPointListById'](_0x2ea70c[_0x143952(0x666)],_0x2ea70c[_0x143952(0x279)],_0x2ea70c[_0x143952(0x1fb)]),this['_updateAdjustControlPositions']());}_0x458cd6[_0x143952(0x59a)]();}),this['_adjHandlerPointerUp']=_0x341c82[_0x2e77ec(0x442)][_0x2e77ec(0x3f0)]((_0x4b3094,_0x43da9c)=>{const _0x236406=_0x2e77ec;this[_0x236406(0x540)][_0x236406(0x223)](),this[_0x236406(0x409)]['unsubscribe'](),_0x341c82['resetCursor']();let _0x116c66=this[_0x236406(0x67c)];if(_0x116c66){let _0x39b6b2=_0x2ea70c['unitId'],_0x282062=_0x2ea70c['subUnitId'],_0x58eaea=_0x2ea70c[_0x236406(0x1fb)],_0x47c436=_0x116c66[_0x236406(0x4c7)]||_0x116c66[_0x236406(0x4a8)]||_0x116c66['gdRefAng']||_0x116c66[_0x236406(0x23c)];if(_0x47c436!==void 0x0){var _0xc210cf;let _0x5e0f75=(_0xc210cf=this[_0x236406(0x3df)])==null?void 0x0:_0xc210cf[_0x236406(0x257)](_0x47c436);_0x5e0f75!==void 0x0&&Z(this['_commandService'],_0x39b6b2,_0x282062,_0x58eaea,{'oldShapeData':{'adjustValues':_0x210871}},{'adjustValues':{[_0x47c436]:_0x5e0f75}});}}this[_0x236406(0x67c)]=void 0x0,this[_0x236406(0x3df)]=void 0x0,this[_0x236406(0x265)]=!0x1,_0x43da9c['stopPropagation'](),_0x341c82[_0x236406(0x3eb)]();}),_0xae214[_0x2e77ec(0x59a)]();})));}[_0x5a7f20(0x5f3)](){const _0x11737b=_0x5a7f20;let _0x3c57a7=this[_0x11737b(0x4c0)]['getCurrentTypeOfUnit$'](_0x162ef7[_0x11737b(0x627)]);this[_0x11737b(0x404)](_0x3c57a7[_0x11737b(0x254)](_0x1e398(_0x8e5be8=>_0x8e5be8?_0x8e5be8[_0x11737b(0x42a)]['pipe'](_0x1e398(_0x287b00=>{const _0x38ebfe=_0x11737b;if(!_0x287b00)return _0x502183;let _0x369c01=_0x8e5be8['getUnitId'](),_0x1dc622=this['_renderManagerService'][_0x38ebfe(0x36a)](_0x369c01),_0x237bf2=_0x1dc622==null?void 0x0:_0x1dc622[_0x38ebfe(0x2a0)];return _0x237bf2?_0x570989(_0x237bf2):_0x502183;})):_0x502183))[_0x11737b(0x2ab)](_0x1d0427=>{const _0x3cfac4=_0x11737b;let _0x3a3740=_0x1d0427[_0x3cfac4(0x498)]();this[_0x3cfac4(0x404)](_0x1d0427[_0x3cfac4(0x48a)][_0x3cfac4(0x3f0)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this['disposeWithMe'](_0x3a3740[_0x3cfac4(0x518)][_0x3cfac4(0x2ab)](_0x100b6f=>{const _0x4a82ab=_0x3cfac4;let {objects:_0xf2b628}=_0x100b6f;this[_0x4a82ab(0x232)](),_0xf2b628!==null&&_0xf2b628[_0x4a82ab(0x352)]===0x1&&_0xf2b628[_0x4a82ab(0x204)]()[_0x4a82ab(0x49b)]()['value']instanceof to&&this[_0x4a82ab(0x56c)](!0x0);})),this[_0x3cfac4(0x404)](_0x3a3740[_0x3cfac4(0x4e9)][_0x3cfac4(0x2ab)](()=>{const _0x172550=_0x3cfac4;this[_0x172550(0x436)]&&this['_clearShapeAdjustControls']();})),this[_0x3cfac4(0x404)](_0x1d0427[_0x3cfac4(0x442)][_0x3cfac4(0x3f0)](()=>{const _0x22fc3e=_0x3cfac4;this[_0x22fc3e(0x436)]&&(this[_0x22fc3e(0x56c)](!0x1),this[_0x22fc3e(0x232)]());})),this[_0x3cfac4(0x404)](_0x3a3740[_0x3cfac4(0x1f5)]['subscribe'](()=>{const _0x1bec20=_0x3cfac4;this[_0x1bec20(0x479)]&&this['_subUnitId']&&this['_activeShapeId']&&this[_0x1bec20(0x65c)][_0x1bec20(0x4b2)]({'unitId':this[_0x1bec20(0x479)],'subUnitId':this[_0x1bec20(0x2aa)],'drawingId':this[_0x1bec20(0x1be)]})&&(this[_0x1bec20(0x306)]=this['_getShapeAdjustPointListById'](this[_0x1bec20(0x479)],this[_0x1bec20(0x2aa)],this[_0x1bec20(0x1be)]),this[_0x1bec20(0x4a2)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x20aa6a=_0x5a7f20;this[_0x20aa6a(0x404)](this[_0x20aa6a(0x65c)][_0x20aa6a(0x237)]['subscribe'](_0x349be6=>{const _0x140bd8=_0x20aa6a;if(_0x349be6[_0x140bd8(0x3d6)]===0x1){let _0x5be932=_0x349be6[0x0];if(_0x5be932[_0x140bd8(0x526)]===_0x5d8611[_0x140bd8(0x415)]){this[_0x140bd8(0x1be)]=_0x5be932['drawingId'];let {unitId:_0x1ad236,subUnitId:_0x469c29}=_0x5be932;this[_0x140bd8(0x306)]=this[_0x140bd8(0x5b8)](_0x1ad236,_0x469c29,this[_0x140bd8(0x1be)]),this['_unitId']=_0x1ad236,this[_0x140bd8(0x2aa)]=_0x469c29,this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls']();}else this[_0x140bd8(0x1be)]=null,this[_0x140bd8(0x306)]=void 0x0,this[_0x140bd8(0x479)]=null,this[_0x140bd8(0x2aa)]=null,this[_0x140bd8(0x38d)]();}(_0x349be6[_0x140bd8(0x3d6)]>0x1||_0x349be6[_0x140bd8(0x3d6)]===0x0)&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x140bd8(0x2aa)]=null,this[_0x140bd8(0x38d)]());})),this[_0x20aa6a(0x404)](this['_drawingManagerService'][_0x20aa6a(0x47c)][_0x20aa6a(0x2ab)](_0x4ef9a0=>{const _0x2be4a0=_0x20aa6a;if(_0x4ef9a0[_0x2be4a0(0x3d6)]===0x1){var _0x3aef36;let _0x4f000c=_0x4ef9a0[0x0];((_0x3aef36=this[_0x2be4a0(0x65c)][_0x2be4a0(0x4b2)](_0x4f000c))==null?void 0x0:_0x3aef36[_0x2be4a0(0x526)])===_0x5d8611['DRAWING_SHAPE']&&this[_0x2be4a0(0x4ef)](!0x0);}})),this[_0x20aa6a(0x404)](this[_0x20aa6a(0x65c)][_0x20aa6a(0x5bb)][_0x20aa6a(0x2ab)](_0x437087=>{const _0x4caf8d=_0x20aa6a;for(let _0x5ae38a of _0x437087)this[_0x4caf8d(0x1be)]===_0x5ae38a[_0x4caf8d(0x1fb)]&&(this[_0x4caf8d(0x1be)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x4caf8d(0x2aa)]=null,this[_0x4caf8d(0x38d)]());}));}};mo=$([Q(0x1,_0x2d6196),Q(0x2,_0x2ac48c),Q(0x3,_0x1e77ba(_0xc9428c)),Q(0x4,_0x1e77ba(_0x43fdcf)),Q(0x5,_0x1e77ba(no)),Q(0x6,_0x1005f5),Q(0x7,_0x2e069e)],mo);const ho={'id':_0x5a7f20(0x678),'type':_0x90c7cf[_0x5a7f20(0x1ce)],'handler':(_0x150cc0,_0x4df3b8)=>{const _0x37fed6=_0x5a7f20;let _0x2bc6ee=_0x150cc0[_0x37fed6(0x2f7)](_0x2ac48c),_0x2c7824=_0x150cc0['get'](_0x43fdcf),_0x5d14e5=_0x150cc0[_0x37fed6(0x2f7)](mo);if(_0x4df3b8==null)return!0x0;if(_0x4df3b8[_0x37fed6(0x3d6)]>0x0){var _0x1b1c04;let _0x4247f4=(_0x1b1c04=_0x2c7824[_0x37fed6(0x36a)](_0x4df3b8[0x0]['unitId']))==null?void 0x0:_0x1b1c04[_0x37fed6(0x2a0)];if(_0x4247f4){let {unitId:_0x1c6f82,subUnitId:_0x1c888b,drawingId:_0xd01101}=_0x4df3b8[0x0],_0x5c0a60=_0x46e3e9({'unitId':_0x1c6f82,'subUnitId':_0x1c888b,'drawingId':_0xd01101},void 0x0),_0x41118e=_0x4247f4['getObjectIncludeInGroup'](_0x5c0a60);if(_0x41118e){var _0x4f65f8;(_0x4f65f8=_0x2c7824[_0x37fed6(0x36a)](_0x4df3b8[0x0]['unitId']))==null||(_0x4f65f8=_0x4f65f8[_0x37fed6(0x2a0)][_0x37fed6(0x567)]())==null||_0x4f65f8[_0x37fed6(0x5c2)](_0x41118e);}}_0x2bc6ee['focusDrawing'](_0x4df3b8),_0x5d14e5[_0x37fed6(0x56c)](!0x1);}return!0x0;}},go={'type':_0x90c7cf['COMMAND'],'id':'sheet.command.menu-insert-shape','handler':async(_0x32238d,_0x4a89d8)=>{const _0x281a7b=_0x5a7f20;let _0x573bf6=_0x4ed56f(_0x32238d[_0x281a7b(0x2f7)](_0x1005f5));if(!_0x573bf6)return!0x1;let _0x5b241c=_0x32238d['get'](_0x3e5ae1)[_0x281a7b(0x283)]();if(!_0x5b241c)return!0x1;let _0x37ada2=_0x32238d[_0x281a7b(0x2f7)](_0x2e069e),{unitId:_0x418e8e,subUnitId:_0x5641f8}=_0x573bf6,{value:_0x51ea60,enhanceParams:_0x413acd}=_0x4a89d8,{range:_0x3622f6}=_0x5b241c,_0x116972={'unitId':_0x418e8e,'subUnitId':_0x5641f8,'shapeType':_0x51ea60,'range':_0x3622f6,'shapeId':_0x1ecc78()};if(_0x413acd){let _0x1bc8ec=_0x39df67(_0x51ea60),_0x164ed6=_0x51ea60===_0x5c87c5[_0x281a7b(0x2d3)];_0x1bc8ec&&(_0x413acd[_0x281a7b(0x2d4)]||_0x413acd[_0x281a7b(0x3ab)])&&(_0x116972['shapeData']={'ln':{'startArrow':_0x413acd[_0x281a7b(0x2d4)]?{'type':_0x285f09[_0x281a7b(0x4a3)],'size':_0x193749[_0x281a7b(0x2da)]}:void 0x0,'endArrow':_0x413acd[_0x281a7b(0x3ab)]?{'type':_0x285f09[_0x281a7b(0x4a3)],'size':_0x193749[_0x281a7b(0x533)]}:void 0x0}}),_0x164ed6&&(_0x413acd[_0x281a7b(0x21f)]||_0x413acd[_0x281a7b(0x564)])&&(_0x116972[_0x281a7b(0x4ed)]={'fill':{'fillType':_0x1a4c7e[_0x281a7b(0x5e1)],'color':_0x281a7b(0x5bd)},'stroke':{'lineStrokeType':_0xbaf4f3[_0x281a7b(0x1ff)],'width':0x1,'color':_0x281a7b(0x423)},'shapeText':{'isHorizontal':!!_0x413acd[_0x281a7b(0x21f)]}});}let _0x4763e4=_0x37ada2[_0x281a7b(0x67d)](_0x5a3ad6['id'],_0x116972);return setTimeout(()=>{_0x37ada2['executeCommand'](ho['id'],[{'unitId':_0x418e8e,'subUnitId':_0x5641f8,'drawingId':_0x116972['shapeId']}]);},0xc8),_0x4763e4;}};function _0x2c06(_0x47ae0d,_0x495bf4){_0x47ae0d=_0x47ae0d-0x1bd;const _0x53542f=_0x5354();let _0x2c0602=_0x53542f[_0x47ae0d];return _0x2c0602;}let _o=class extends _0x185401{constructor(_0x3c4af5,_0x39e22f){const _0x423d43=_0x5a7f20;super(),this['_clipService']=_0x3c4af5,this[_0x423d43(0x65c)]=_0x39e22f,this[_0x423d43(0x598)](),this[_0x423d43(0x594)][_0x423d43(0x5ab)](!0x0),this[_0x423d43(0x404)]({'dispose':()=>this[_0x423d43(0x594)][_0x423d43(0x5ab)](!0x1)});}[_0x5a7f20(0x598)](){const _0x1e490c=_0x5a7f20;let _0x375b96=this['_clipService'],_0x37809a=new Map(),_0x5c9c99=_0x375b96['registerClipDelegate']((_0x2e01bd,_0x243dd2,_0x11e53d,_0x1e14b0,_0x366327)=>{const _0x4fdf57=_0x2c06;let _0x59d853=_0x243dd2;if(_0x59d853===_0x5c87c5[_0x4fdf57(0x4dc)]||_0x243dd2===_0x4fdf57(0x217))return!0x1;try{let _0x114d35=_0x37809a[_0x4fdf57(0x2f7)](_0x243dd2);return _0x114d35||(_0x114d35=new _0x198c5a(_0x59d853,_0x4fdf57(0x2ec)+_0x243dd2),_0x37809a['set'](_0x243dd2,_0x114d35)),_0x366327&&_0x114d35[_0x4fdf57(0x5b0)]({'adjustValues':_0x366327},!0x0),_0x114d35[_0x4fdf57(0x5ed)]({'width':_0x11e53d,'height':_0x1e14b0}),_0x114d35[_0x4fdf57(0x600)](_0x2e01bd,{'left':0x0,'top':0x0,'width':_0x11e53d,'height':_0x1e14b0});}catch{return!0x1;}});this[_0x1e490c(0x404)](_0x5c9c99),this['disposeWithMe']({'dispose':()=>_0x37809a[_0x1e490c(0x23f)]()});}[_0x5a7f20(0x35e)](_0x40e123,_0xba094a,_0x400544,_0x5b271e,_0x5d26ae){const _0x59849c=_0x5a7f20;let _0x5a4545=this[_0x59849c(0x65c)][_0x59849c(0x642)](_0x40e123,_0xba094a);if(!_0x5a4545[_0x400544])return;let _0x596ee4={..._0x5a4545[_0x400544],'prstGeom':_0x5b271e,'adjustValues':_0x5d26ae};this[_0x59849c(0x65c)][_0x59849c(0x3d4)]([_0x596ee4]);}};_o=$([Q(0x0,_0x1e77ba(_0x25daf2)),Q(0x1,_0x1e77ba(_0x2ac48c))],_o);const vo=[{'group':'line','type':_0x5c87c5['Line'],'icon':_0x5a7f20(0x462),'name':'sheets-shape-ui.shape.type.line'},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x2d0)],'icon':'ShapeStraightConnector1Icon','name':'sheets-shape-ui.shape.type.straight-connector1','endArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5['StraightConnector1'],'icon':_0x5a7f20(0x281),'name':_0x5a7f20(0x252),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x4b6)],'icon':_0x5a7f20(0x5a3),'name':_0x5a7f20(0x1fc)},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5['BentConnector3'],'icon':_0x5a7f20(0x649),'name':'sheets-shape-ui.shape.type.bent-connector3-arrow1','endArrow':!0x0},{'group':'line','type':_0x5c87c5[_0x5a7f20(0x4b6)],'icon':'ShapeBentConnector3Arrow2Icon','name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x4bd),'name':_0x5a7f20(0x50e)},{'group':_0x5a7f20(0x3b6),'type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x26f),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':'line','type':_0x5c87c5[_0x5a7f20(0x5ca)],'icon':_0x5a7f20(0x395),'name':_0x5a7f20(0x62d),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':'ShapeRectIcon','name':_0x5a7f20(0x1e2)},{'group':'rectangle','type':_0x5c87c5[_0x5a7f20(0x39d)],'icon':_0x5a7f20(0x20e),'name':'sheets-shape-ui.shape.type.round-rect'},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x4e3)],'icon':_0x5a7f20(0x3ca),'name':_0x5a7f20(0x66b)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x60c)],'icon':_0x5a7f20(0x60f),'name':_0x5a7f20(0x37b)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5['Snip2DiagRect'],'icon':'ShapeSnip2DiagRectIcon','name':_0x5a7f20(0x50f)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x67e)],'icon':_0x5a7f20(0x353),'name':_0x5a7f20(0x471)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x201)],'icon':_0x5a7f20(0x4f8),'name':_0x5a7f20(0x503)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5['Round2SameRect'],'icon':_0x5a7f20(0x426),'name':_0x5a7f20(0x22c)},{'group':_0x5a7f20(0x277),'type':_0x5c87c5[_0x5a7f20(0x1ca)],'icon':'ShapeRound2DiagRectIcon','name':_0x5a7f20(0x2bc)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':_0x5a7f20(0x42f),'name':_0x5a7f20(0x317),'horizontal':!0x0},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x2d3)],'icon':_0x5a7f20(0x637),'name':_0x5a7f20(0x4d7),'vertical':!0x0},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x63a)],'icon':_0x5a7f20(0x417),'name':_0x5a7f20(0x44b)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x644)],'icon':_0x5a7f20(0x58e),'name':_0x5a7f20(0x65e)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['RightTriangle'],'icon':_0x5a7f20(0x3cd),'name':_0x5a7f20(0x206)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3c0)],'icon':_0x5a7f20(0x327),'name':_0x5a7f20(0x37d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Trapezoid'],'icon':_0x5a7f20(0x5f5),'name':'sheets-shape-ui.shape.type.trapezoid'},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5f0)],'icon':_0x5a7f20(0x4cc),'name':_0x5a7f20(0x3ed)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2d5)],'icon':_0x5a7f20(0x1d3),'name':_0x5a7f20(0x5df)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Hexagon'],'icon':_0x5a7f20(0x648),'name':_0x5a7f20(0x31c)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3e8)],'icon':_0x5a7f20(0x22b),'name':_0x5a7f20(0x491)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x3b3)],'icon':_0x5a7f20(0x3f8),'name':_0x5a7f20(0x657)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x53e)],'icon':'ShapeDecagonIcon','name':_0x5a7f20(0x613)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x516)],'icon':'ShapeDodecagonIcon','name':_0x5a7f20(0x4e1)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x1ed)],'icon':_0x5a7f20(0x55c),'name':_0x5a7f20(0x601)},{'group':'basicShape','type':_0x5c87c5['Chord'],'icon':_0x5a7f20(0x1e7),'name':_0x5a7f20(0x64d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x24d)],'icon':_0x5a7f20(0x2ac),'name':_0x5a7f20(0x30a)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Frame'],'icon':_0x5a7f20(0x416),'name':'sheets-shape-ui.shape.type.frame'},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x21a)],'icon':_0x5a7f20(0x422),'name':_0x5a7f20(0x650)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x389)],'icon':_0x5a7f20(0x55b),'name':_0x5a7f20(0x431)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x59f)],'icon':'ShapeDiagStripeIcon','name':_0x5a7f20(0x2fe)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x4ca)],'icon':_0x5a7f20(0x248),'name':_0x5a7f20(0x48f)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Plaque'],'icon':_0x5a7f20(0x671),'name':_0x5a7f20(0x45f)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Can'],'icon':_0x5a7f20(0x325),'name':_0x5a7f20(0x558)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x604)],'icon':_0x5a7f20(0x321),'name':_0x5a7f20(0x52e)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['Bevel'],'icon':_0x5a7f20(0x673),'name':_0x5a7f20(0x66a)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x511)],'icon':'ShapeDonutIcon','name':_0x5a7f20(0x4e6)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['NoSmoking'],'icon':_0x5a7f20(0x512),'name':'sheets-shape-ui.shape.type.no-smoking'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x5d4)],'icon':_0x5a7f20(0x333),'name':_0x5a7f20(0x680)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x499)],'icon':_0x5a7f20(0x221),'name':_0x5a7f20(0x531)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5['SmileyFace'],'icon':_0x5a7f20(0x446),'name':'sheets-shape-ui.shape.type.smiley-face'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x292)],'icon':'ShapeHeartIcon','name':_0x5a7f20(0x3b4)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x25e)],'icon':'ShapeLightningBoltIcon','name':_0x5a7f20(0x4ea)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x523)],'icon':_0x5a7f20(0x5b4),'name':'sheets-shape-ui.shape.type.sun'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x23b)],'icon':_0x5a7f20(0x48e),'name':'sheets-shape-ui.shape.type.moon'},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x2f6)],'icon':'ShapeCloudIcon','name':_0x5a7f20(0x467)},{'group':'basicShape','type':_0x5c87c5['Arc'],'icon':'ShapeArcIcon','name':_0x5a7f20(0x5c4)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5fe)],'icon':_0x5a7f20(0x39f),'name':_0x5a7f20(0x1d4)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x36e)],'icon':'ShapeBracePairIcon','name':_0x5a7f20(0x65d)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x414)],'icon':'ShapeLeftBracketIcon','name':_0x5a7f20(0x4af)},{'group':'basicShape','type':_0x5c87c5[_0x5a7f20(0x59c)],'icon':'ShapeRightBracketIcon','name':_0x5a7f20(0x458)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x2bd)],'icon':_0x5a7f20(0x53c),'name':_0x5a7f20(0x3ad)},{'group':_0x5a7f20(0x5dc),'type':_0x5c87c5[_0x5a7f20(0x5c0)],'icon':_0x5a7f20(0x4da),'name':_0x5a7f20(0x656)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x2a7)],'icon':_0x5a7f20(0x56d),'name':'sheets-shape-ui.shape.type.right-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x392)],'icon':_0x5a7f20(0x2ee),'name':_0x5a7f20(0x684)},{'group':'blockArrow','type':_0x5c87c5['UpArrow'],'icon':_0x5a7f20(0x5f7),'name':_0x5a7f20(0x3d3)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x371)],'icon':_0x5a7f20(0x66e),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x28b)],'icon':_0x5a7f20(0x337),'name':_0x5a7f20(0x4c1)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x4c4)],'icon':_0x5a7f20(0x5b5),'name':_0x5a7f20(0x651)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x2b8)],'icon':_0x5a7f20(0x2b0),'name':_0x5a7f20(0x28f)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x218)],'icon':'ShapeLeftRightUpArrowIcon','name':_0x5a7f20(0x5d9)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x421)],'icon':'ShapeBentArrowIcon','name':_0x5a7f20(0x20f)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x35f)],'icon':_0x5a7f20(0x38e),'name':_0x5a7f20(0x4cb)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x4a9)],'icon':'ShapeLeftUpArrowIcon','name':_0x5a7f20(0x576)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5['BentUpArrow'],'icon':_0x5a7f20(0x5bc),'name':'sheets-shape-ui.shape.type.bent-up-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x291)],'icon':_0x5a7f20(0x274),'name':_0x5a7f20(0x453)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x338)],'icon':_0x5a7f20(0x662),'name':_0x5a7f20(0x474)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x34b)],'icon':_0x5a7f20(0x287),'name':_0x5a7f20(0x3a0)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x496)],'icon':_0x5a7f20(0x61b),'name':'sheets-shape-ui.shape.type.curved-down-arrow'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x399)],'icon':_0x5a7f20(0x4d2),'name':_0x5a7f20(0x551)},{'group':'blockArrow','type':_0x5c87c5[_0x5a7f20(0x513)],'icon':'ShapeNotchedRightArrowIcon','name':_0x5a7f20(0x64a)},{'group':'blockArrow','type':_0x5c87c5['HomePlate'],'icon':_0x5a7f20(0x57f),'name':_0x5a7f20(0x1cb)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x5b1)],'icon':_0x5a7f20(0x212),'name':_0x5a7f20(0x456)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x61d)],'icon':_0x5a7f20(0x1e4),'name':'sheets-shape-ui.shape.type.right-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x34a)],'icon':_0x5a7f20(0x280),'name':'sheets-shape-ui.shape.type.down-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x224)],'icon':_0x5a7f20(0x573),'name':'sheets-shape-ui.shape.type.left-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x367)],'icon':_0x5a7f20(0x35c),'name':'sheets-shape-ui.shape.type.up-arrow-callout'},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x66f)],'icon':_0x5a7f20(0x42b),'name':_0x5a7f20(0x5d1)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x58f)],'icon':'ShapeQuadArrowCalloutIcon','name':_0x5a7f20(0x457)},{'group':_0x5a7f20(0x53d),'type':_0x5c87c5[_0x5a7f20(0x5e7)],'icon':_0x5a7f20(0x43c),'name':_0x5a7f20(0x5cc)},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5[_0x5a7f20(0x681)],'icon':_0x5a7f20(0x2df),'name':_0x5a7f20(0x658)},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5['MathMinus'],'icon':'ShapeMathMinusIcon','name':_0x5a7f20(0x356)},{'group':'equationShape','type':_0x5c87c5['MathMultiply'],'icon':_0x5a7f20(0x401),'name':'sheets-shape-ui.shape.type.math-multiply'},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5['MathDivide'],'icon':'ShapeMathDivideIcon','name':_0x5a7f20(0x39e)},{'group':'equationShape','type':_0x5c87c5['MathEqual'],'icon':_0x5a7f20(0x1e0),'name':'sheets-shape-ui.shape.type.math-equal'},{'group':_0x5a7f20(0x49f),'type':_0x5c87c5[_0x5a7f20(0x3e5)],'icon':_0x5a7f20(0x43f),'name':_0x5a7f20(0x538)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x55f)],'icon':_0x5a7f20(0x2c3),'name':_0x5a7f20(0x481)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x4f9)],'icon':_0x5a7f20(0x33f),'name':_0x5a7f20(0x46e)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x641)],'icon':'ShapeFlowChartDecisionIcon','name':_0x5a7f20(0x5c5)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x285)],'icon':_0x5a7f20(0x23e),'name':'sheets-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x3ac)],'icon':'ShapeFlowChartPredefinedProcessIcon','name':'sheets-shape-ui.shape.type.flow-chart-predefined-process'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1e3)],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x5a7f20(0x62a)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x394)],'icon':_0x5a7f20(0x3ff),'name':_0x5a7f20(0x3b7)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartMultiDocument'],'icon':_0x5a7f20(0x5c7),'name':_0x5a7f20(0x32c)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartTerminator'],'icon':_0x5a7f20(0x5ba),'name':_0x5a7f20(0x2e5)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x3a4)],'icon':_0x5a7f20(0x26d),'name':_0x5a7f20(0x5dd)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x303)],'icon':'ShapeFlowChartManualInputIcon','name':_0x5a7f20(0x42d)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartManualOperation'],'icon':_0x5a7f20(0x3d9),'name':_0x5a7f20(0x5ee)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartConnector'],'icon':_0x5a7f20(0x5d8),'name':'sheets-shape-ui.shape.type.flow-chart-connector'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1c1)],'icon':_0x5a7f20(0x4a0),'name':_0x5a7f20(0x1d1)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x294)],'icon':_0x5a7f20(0x37a),'name':_0x5a7f20(0x36d)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x2cd)],'icon':_0x5a7f20(0x4ec),'name':_0x5a7f20(0x5a2)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x374)],'icon':'ShapeFlowChartSummingJunctionIcon','name':'sheets-shape-ui.shape.type.flow-chart-summing-junction'},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x5f2)],'icon':_0x5a7f20(0x24e),'name':_0x5a7f20(0x623)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x44e)],'icon':_0x5a7f20(0x3b5),'name':_0x5a7f20(0x566)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x1f1)],'icon':_0x5a7f20(0x1c6),'name':_0x5a7f20(0x379)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5['FlowchartExtract'],'icon':_0x5a7f20(0x2cf),'name':'sheets-shape-ui.shape.type.flow-chart-extract'},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x4d6)],'icon':_0x5a7f20(0x46f),'name':_0x5a7f20(0x583)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x328)],'icon':_0x5a7f20(0x270),'name':_0x5a7f20(0x359)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x463)],'icon':_0x5a7f20(0x31f),'name':_0x5a7f20(0x4f0)},{'group':_0x5a7f20(0x27e),'type':_0x5c87c5[_0x5a7f20(0x64b)],'icon':'ShapeFlowChartMagneticTapeIcon','name':'sheets-shape-ui.shape.type.flow-chart-magnetic-tape'},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x500)],'icon':_0x5a7f20(0x563),'name':_0x5a7f20(0x25b)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x508)],'icon':_0x5a7f20(0x44c),'name':_0x5a7f20(0x603)},{'group':'flowchart','type':_0x5c87c5[_0x5a7f20(0x653)],'icon':_0x5a7f20(0x617),'name':_0x5a7f20(0x2ae)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x2e9)],'icon':_0x5a7f20(0x4f3),'name':_0x5a7f20(0x460)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['IrregularSeal2'],'icon':_0x5a7f20(0x24b),'name':_0x5a7f20(0x60d)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x205)],'icon':_0x5a7f20(0x387),'name':_0x5a7f20(0x487)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x244)],'icon':_0x5a7f20(0x525),'name':_0x5a7f20(0x2b7)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x341)],'icon':_0x5a7f20(0x377),'name':'sheets-shape-ui.shape.type.star6'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x316)],'icon':'ShapeStar7Icon','name':_0x5a7f20(0x286)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1ea)],'icon':_0x5a7f20(0x45d),'name':_0x5a7f20(0x64f)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1f7)],'icon':'ShapeStar10Icon','name':_0x5a7f20(0x4f6)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Star12'],'icon':_0x5a7f20(0x215),'name':_0x5a7f20(0x5ef)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x622)],'icon':'ShapeStar16Icon','name':_0x5a7f20(0x264)},{'group':'starAndBanner','type':_0x5c87c5['Star24'],'icon':_0x5a7f20(0x37f),'name':'sheets-shape-ui.shape.type.star24'},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x607)],'icon':_0x5a7f20(0x2b2),'name':_0x5a7f20(0x405)},{'group':'starAndBanner','type':_0x5c87c5['Ribbon2'],'icon':_0x5a7f20(0x5d0),'name':_0x5a7f20(0x4b3)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Ribbon'],'icon':_0x5a7f20(0x273),'name':'sheets-shape-ui.shape.type.ribbon'},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x40c)],'icon':_0x5a7f20(0x4d3),'name':_0x5a7f20(0x4bc)},{'group':'starAndBanner','type':_0x5c87c5[_0x5a7f20(0x628)],'icon':_0x5a7f20(0x475),'name':'sheets-shape-ui.shape.type.ellipse-ribbon'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x1fd)],'icon':_0x5a7f20(0x27b),'name':'sheets-shape-ui.shape.type.vertical-scroll'},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['HorizontalScroll'],'icon':_0x5a7f20(0x52d),'name':_0x5a7f20(0x1e8)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5['Wave'],'icon':_0x5a7f20(0x3c9),'name':_0x5a7f20(0x546)},{'group':_0x5a7f20(0x30b),'type':_0x5c87c5[_0x5a7f20(0x4d4)],'icon':_0x5a7f20(0x63b),'name':_0x5a7f20(0x3e4)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x3d1)],'icon':_0x5a7f20(0x412),'name':_0x5a7f20(0x609)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x2d9)],'icon':_0x5a7f20(0x290),'name':'sheets-shape-ui.shape.type.wedge-round-rect-callout'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x504)],'icon':'ShapeWedgeEllipseCalloutIcon','name':_0x5a7f20(0x56a)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x293)],'icon':_0x5a7f20(0x26a),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x4ff)],'icon':'ShapeBorderCallout1Icon','name':_0x5a7f20(0x663)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x2b1)],'icon':_0x5a7f20(0x1da),'name':_0x5a7f20(0x25c)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x30c)],'icon':_0x5a7f20(0x5c1),'name':_0x5a7f20(0x469)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x484)],'icon':_0x5a7f20(0x289),'name':_0x5a7f20(0x2d7)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x429)],'icon':_0x5a7f20(0x66c),'name':_0x5a7f20(0x36b)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5['AccentCallout3'],'icon':_0x5a7f20(0x40e),'name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5['Callout1'],'icon':_0x5a7f20(0x606),'name':'sheets-shape-ui.shape.type.callout1'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x425)],'icon':_0x5a7f20(0x470),'name':'sheets-shape-ui.shape.type.callout2'},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x34d)],'icon':_0x5a7f20(0x454),'name':_0x5a7f20(0x2ea)},{'group':_0x5a7f20(0x4ba),'type':_0x5c87c5[_0x5a7f20(0x268)],'icon':_0x5a7f20(0x40d),'name':_0x5a7f20(0x437)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x5cd)],'icon':'ShapeAccentBorderCallout2Icon','name':_0x5a7f20(0x1c0)},{'group':'callout','type':_0x5c87c5[_0x5a7f20(0x1c9)],'icon':_0x5a7f20(0x5da),'name':_0x5a7f20(0x4c2)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x1d5)],'icon':'ShapeLeftCircularArrowIcon','name':_0x5a7f20(0x1cf)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x1bd)],'icon':_0x5a7f20(0x539),'name':_0x5a7f20(0x227)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x358)],'icon':_0x5a7f20(0x339),'name':'sheets-shape-ui.shape.type.swoosh-arrow'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x2e8)],'icon':_0x5a7f20(0x400),'name':_0x5a7f20(0x4d0)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x589)],'icon':_0x5a7f20(0x3fd),'name':'sheets-shape-ui.shape.type.pie-wedge'},{'group':'other','type':_0x5c87c5['Funnel'],'icon':'ShapeFunnelIcon','name':_0x5a7f20(0x2c8)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x3c2)],'icon':_0x5a7f20(0x47a),'name':_0x5a7f20(0x52c)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['Gear9'],'icon':'ShapeGear9Icon','name':'sheets-shape-ui.shape.type.gear9'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x2ff)],'icon':'ShapeCornerTabsIcon','name':_0x5a7f20(0x510)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['ActionButtonBackPrevious'],'icon':_0x5a7f20(0x5e3),'name':_0x5a7f20(0x4dd)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x235)],'icon':'ShapeActionButtonForwardNextIcon','name':'sheets-shape-ui.shape.type.action-button-forward-next'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x3f9)],'icon':_0x5a7f20(0x2f3),'name':_0x5a7f20(0x21d)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x35a)],'icon':_0x5a7f20(0x51f),'name':_0x5a7f20(0x5f8)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x30e)],'icon':_0x5a7f20(0x537),'name':'sheets-shape-ui.shape.type.action-button-home'},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x239)],'icon':_0x5a7f20(0x2f5),'name':_0x5a7f20(0x390)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x38a)],'icon':_0x5a7f20(0x5e9),'name':_0x5a7f20(0x459)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x222)],'icon':'ShapeActionButtonMovieIcon','name':_0x5a7f20(0x616)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x438)],'icon':_0x5a7f20(0x445),'name':_0x5a7f20(0x1e5)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x3a6)],'icon':_0x5a7f20(0x282),'name':_0x5a7f20(0x32e)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x3c1)],'icon':_0x5a7f20(0x420),'name':_0x5a7f20(0x4df)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x5ae)],'icon':_0x5a7f20(0x27c),'name':_0x5a7f20(0x58a)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x345)],'icon':_0x5a7f20(0x304),'name':_0x5a7f20(0x241)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['ChartStar'],'icon':'ShapeChartStarIcon','name':_0x5a7f20(0x67b)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x298)],'icon':_0x5a7f20(0x482),'name':_0x5a7f20(0x343)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x435)],'icon':_0x5a7f20(0x664),'name':_0x5a7f20(0x4d5)},{'group':'other','type':_0x5c87c5['LineInv'],'icon':'ShapeLineInvIcon','name':_0x5a7f20(0x679)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5['PlaqueTabs'],'icon':_0x5a7f20(0x4aa),'name':_0x5a7f20(0x4a1)},{'group':_0x5a7f20(0x5db),'type':_0x5c87c5[_0x5a7f20(0x243)],'icon':_0x5a7f20(0x407),'name':_0x5a7f20(0x683)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x638)],'icon':_0x5a7f20(0x301),'name':_0x5a7f20(0x5eb)},{'group':'other','type':_0x5c87c5[_0x5a7f20(0x548)],'icon':_0x5a7f20(0x5a4),'name':'sheets-shape-ui.shape.type.non-isosceles-trapezoid'}],yo=_0x5a7f20(0x450);function bo({onShapeClick:_0x3d9e03,excludeGroups:_0x10bf90}){const _0x48adb4=_0x5a7f20;let _0xa52611=_0x5bcd39(_0x2e65fd),_0x4bdb26=_0x5bcd39(_0x5b38e3),_0x5767b0=(_0x10bf90?vo[_0x48adb4(0x20d)](_0x67024e=>!_0x10bf90[_0x48adb4(0x5b3)](_0x67024e['group'])):vo)[_0x48adb4(0x447)]((_0xe526b0,_0x373cb5)=>(_0xe526b0[_0x373cb5['group']]||(_0xe526b0[_0x373cb5[_0x48adb4(0x2dd)]]=[]),_0xe526b0[_0x373cb5[_0x48adb4(0x2dd)]][_0x48adb4(0x61f)](_0x373cb5),_0xe526b0),{});return _0x20f703(_0x48adb4(0x2ba),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object['entries'](_0x5767b0)[_0x48adb4(0x5ac)](([_0x36a6b6,_0x12ddb9])=>_0xb4dd11('div',{'className':_0x48adb4(0x3f5),'children':[_0x20f703(_0x48adb4(0x2ba),{'className':_0x48adb4(0x5e5),'children':_0xa52611['t'](_0x48adb4(0x4b1)+_0x36a6b6)}),_0x20f703(_0x48adb4(0x2ba),{'className':_0x48adb4(0x5e4),'children':_0x12ddb9[_0x48adb4(0x5ac)](_0x460cb9=>{const _0x286be6=_0x48adb4;let _0x429182=_0x4bdb26[_0x286be6(0x2f7)](_0x460cb9[_0x286be6(0x667)]);return _0x20f703(_0x286be6(0x2ba),{'title':_0xa52611['t'](_0x460cb9[_0x286be6(0x29b)]),'onClick':()=>_0x3d9e03(_0x460cb9),'className':_0x286be6(0x249),'children':_0x429182&&_0x20f703(_0x429182,{'className':_0x286be6(0x396)})},_0x460cb9[_0x286be6(0x29b)]);})})]},_0x36a6b6))});}function xo(){const _0x55f388=_0x5a7f20;let _0x256f7a=_0x5bcd39(_0x2e65fd),_0x7b1920=_0x5bcd39(_0x2ac48c),_0x23d212=_0x5bcd39(_o),[_0x424916,_0x13ba8c]=_0x39af17(!0x1);return _0x20f703(_0x5c8dc3,{'side':_0x55f388(0x5af),'open':_0x424916,'onOpenChange':_0x13ba8c,'overlay':_0x20f703(bo,{'onShapeClick':_0x3abb4a=>{const _0x30e264=_0x55f388;let _0xed94c=_0x7b1920[_0x30e264(0x43b)]()[_0x30e264(0x302)](_0x2f9e16=>_0x2f9e16[_0x30e264(0x526)]===_0x5d8611[_0x30e264(0x5f4)]);if(!_0xed94c)return;let {unitId:_0x36c7c0,subUnitId:_0x427ee6,drawingId:_0x3f5fb5}=_0xed94c;_0x23d212[_0x30e264(0x35e)](_0x36c7c0,_0x427ee6,_0x3f5fb5,_0x3abb4a[_0x30e264(0x52b)]),_0x13ba8c(!0x1);},'excludeGroups':[_0x55f388(0x3b6)]}),'children':_0x20f703(_0x466dea,{'children':_0x256f7a['t'](_0x55f388(0x38b))})});}function So(){let _0x2e1288=_0x5bcd39(_0x2e069e);return _0x20f703(bo,{'onShapeClick':_0x461b4c=>{const _0x2a98b6=_0x2c06;_0x2e1288[_0x2a98b6(0x4eb)](go['id'],{'value':_0x461b4c[_0x2a98b6(0x52b)],'enhanceParams':{'endArrow':_0x461b4c[_0x2a98b6(0x3ab)],'startArrow':_0x461b4c[_0x2a98b6(0x2d4)],'horizontal':_0x461b4c[_0x2a98b6(0x21f)],'vertical':_0x461b4c[_0x2a98b6(0x564)]}});}});}_0xbfeb53[_0x5a7f20(0x38c)],_0xbfeb53['CENTER'],_0xbfeb53[_0x5a7f20(0x44d)];function Co(_0x5e0184){const _0x183d35=_0x5a7f20;let _0x1b6bf3=_0x5e0184[_0x183d35(0x2f7)](_0x2d6196),_0x1abfab=_0x5e0184[_0x183d35(0x2f7)](_0x52db0);return{'id':_0x822770['id'],'tooltip':_0x183d35(0x1cc),'type':_0x24710b[_0x183d35(0x521)],'icon':_0x183d35(0x210),'selections':[{'label':{'name':_0x33268d,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x2a4797(_0x2767d1=>{const _0x4cc2da=_0x183d35;_0x2767d1[_0x4cc2da(0x49b)](_0x1abfab[_0x4cc2da(0x5bf)](_0x4cc2da(0x351)));}),'hidden$':_0x1b6bf3[_0x183d35(0x49e)](_0x180a18)[_0x183d35(0x254)](_0x104f12(_0x1b6bf3[_0x183d35(0x1e1)](_0x180a18)),_0x3c7675(_0x19d5cb=>!_0x19d5cb))};}function wo(_0x4a88e7){const _0x5becae=_0x5a7f20;let _0x5219ae=_0x4a88e7[_0x5becae(0x2f7)](_0x2d6196);return{'id':_0x18ca3c['id'],'type':_0x24710b[_0x5becae(0x3db)],'title':'sheets-shape-ui.toolbar.resetColor','hidden$':_0x5219ae[_0x5becae(0x49e)](_0x180a18)[_0x5becae(0x254)](_0x104f12(_0x5219ae[_0x5becae(0x1e1)](_0x180a18)),_0x3c7675(_0x398f14=>!_0x398f14))};}const To=[{'label':_0x5a7f20(0x5a1),'icon':'LeftJustifyingIcon','value':_0xbfeb53['LEFT']},{'label':_0x5a7f20(0x2eb),'icon':_0x5a7f20(0x5d2),'value':_0xbfeb53['CENTER']},{'label':'sheets-shape-ui.align.right','icon':_0x5a7f20(0x61a),'value':_0xbfeb53[_0x5a7f20(0x44d)]}];function Eo(_0x337b49){const _0x48a7bf=_0x5a7f20;var _0x1c7e49;let _0x198cbf=_0x337b49[_0x48a7bf(0x2f7)](_0x2e069e),_0x46c610=_0x337b49[_0x48a7bf(0x2f7)](_0x2d6196),_0x569130=_0x337b49[_0x48a7bf(0x2f7)](_0x1aa5fa),_0x585ce9=_0x337b49[_0x48a7bf(0x2f7)](X),_0x288eed=_0x337b49[_0x48a7bf(0x2f7)](_0xc9428c),_0x5675af=_0xbfeb53['LEFT'],_0x160087=()=>{const _0x40c897=_0x48a7bf;var _0x52a8f1;let _0x21514c=_0x569130['getFocusDrawings']()['filter'](_0x18e5ce=>_0x18e5ce['drawingType']===_0x5d8611[_0x40c897(0x415)]);if(_0x21514c['length']!==0x1)return _0x5675af;let _0x22a94c=_0x585ce9['getEditing'](),_0x22a702=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x666)])||_0x21514c[0x0]['unitId'],_0x40b3ed=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x279)])||_0x21514c[0x0]['subUnitId'],_0x248f25=(_0x22a94c==null?void 0x0:_0x22a94c[_0x40c897(0x384)])||_0x21514c[0x0][_0x40c897(0x1fb)],_0x56d91f=_0x288eed['getShapeModel'](_0x22a702,_0x40b3ed,_0x248f25);if(!_0x56d91f)return _0x5675af;let _0x2061a9=_0x56d91f['getShapeTextData']();if(!_0x2061a9||!(_0x40c897(0x3e1)in _0x2061a9))return _0x5675af;let _0x35521=_0x2061a9['dataModel'];return(_0x52a8f1=_0x35521==null?void 0x0:_0x35521['ha'])==null?_0x5675af:_0x52a8f1;};return{'id':Ha['id'],'icon':(_0x1c7e49=To['find'](_0x52a526=>_0x52a526['value']===_0x5675af))==null?void 0x0:_0x1c7e49[_0x48a7bf(0x667)],'tooltip':_0x48a7bf(0x1df),'type':_0x24710b[_0x48a7bf(0x311)],'selections':To,'value$':new _0x2a4797(_0x34dc2b=>{const _0x2deb70=_0x48a7bf;let _0x36f5e8=_0x198cbf[_0x2deb70(0x2be)](_0x35e9a9=>{const _0x491699=_0x2deb70;_0x35e9a9['id']===Ha['id']&&_0x34dc2b[_0x491699(0x49b)](_0x160087());}),_0x137eff=_0x585ce9[_0x2deb70(0x3bf)][_0x2deb70(0x2ab)](()=>{_0x34dc2b['next'](_0x160087());});return _0x34dc2b[_0x2deb70(0x49b)](_0x160087()),()=>{const _0x3249a4=_0x2deb70;_0x36f5e8[_0x3249a4(0x4b5)](),_0x137eff[_0x3249a4(0x223)]();};}),'hidden$':_0x46c610[_0x48a7bf(0x49e)](_0x180a18)[_0x48a7bf(0x254)](_0x3c7675(_0x19a685=>!_0x19a685))};}const Do=[{'label':_0x5a7f20(0x1d6),'icon':_0x5a7f20(0x3ae),'value':_0x583d52[_0x5a7f20(0x202)]},{'label':_0x5a7f20(0x57d),'icon':'VerticalCenterIcon','value':_0x583d52[_0x5a7f20(0x4bb)]},{'label':'sheets-shape-ui.align.bottom','icon':_0x5a7f20(0x411),'value':_0x583d52[_0x5a7f20(0x5fc)]}];function Oo(_0x1fede0){const _0x4d7190=_0x5a7f20;var _0x58beb5;let _0x385d04=_0x1fede0['get'](_0x2e069e),_0x1a0b76=_0x1fede0['get'](_0x2d6196),_0x4cd9e6=_0x1fede0[_0x4d7190(0x2f7)](_0x1aa5fa),_0x35f93e=_0x1fede0[_0x4d7190(0x2f7)](X),_0x2f8124=_0x1fede0[_0x4d7190(0x2f7)](_0xc9428c),_0x17c647=_0x583d52[_0x4d7190(0x202)],_0x3eef23=()=>{const _0xaeea=_0x4d7190;var _0x496635;let _0x43e33d=_0x4cd9e6['getFocusDrawings']()['filter'](_0x5f214a=>_0x5f214a[_0xaeea(0x526)]===_0x5d8611[_0xaeea(0x415)]);if(_0x43e33d['length']!==0x1)return _0x17c647;let _0x587f4e=_0x35f93e[_0xaeea(0x5e0)](),_0x2be320=(_0x587f4e==null?void 0x0:_0x587f4e['unitId'])||_0x43e33d[0x0]['unitId'],_0x4da49e=(_0x587f4e==null?void 0x0:_0x587f4e[_0xaeea(0x279)])||_0x43e33d[0x0][_0xaeea(0x279)],_0x3d891f=(_0x587f4e==null?void 0x0:_0x587f4e[_0xaeea(0x384)])||_0x43e33d[0x0]['drawingId'],_0x165045=_0x2f8124[_0xaeea(0x2dc)](_0x2be320,_0x4da49e,_0x3d891f);if(!_0x165045)return _0x17c647;let _0x41cb00=_0x165045['getShapeTextData']();if(!_0x41cb00||!(_0xaeea(0x3e1)in _0x41cb00))return _0x17c647;let _0x28af88=_0x41cb00[_0xaeea(0x3e1)];return(_0x496635=_0x28af88==null?void 0x0:_0x28af88['va'])==null?_0x17c647:_0x496635;};return{'id':Ka['id'],'icon':(_0x58beb5=Do[_0x4d7190(0x302)](_0x40119c=>_0x40119c[_0x4d7190(0x231)]===_0x17c647))==null?void 0x0:_0x58beb5[_0x4d7190(0x667)],'tooltip':_0x4d7190(0x5ad),'type':_0x24710b[_0x4d7190(0x311)],'selections':Do,'value$':new _0x2a4797(_0x1f1306=>{const _0x1d391f=_0x4d7190;let _0x33d1ec=_0x385d04[_0x1d391f(0x2be)](_0x28181c=>{const _0x57f7fe=_0x1d391f;_0x28181c['id']===Ka['id']&&_0x1f1306[_0x57f7fe(0x49b)](_0x3eef23());}),_0x1f3888=_0x35f93e['editingParams$'][_0x1d391f(0x2ab)](()=>{_0x1f1306['next'](_0x3eef23());});return _0x1f1306[_0x1d391f(0x49b)](_0x3eef23()),()=>{_0x33d1ec['dispose'](),_0x1f3888['unsubscribe']();};}),'hidden$':_0x1a0b76[_0x4d7190(0x49e)](_0x180a18)[_0x4d7190(0x254)](_0x3c7675(_0x37de65=>!_0x37de65))};}function ko(_0x261f3c){const _0xcd50d3=_0x5a7f20;let _0x3cf629=_0x261f3c[_0xcd50d3(0x2f7)](_0x1005f5);return{'id':go['id'],'type':_0x24710b[_0xcd50d3(0x311)],'selections':[{'label':{'name':yo,'hoverable':!0x1,'selectable':!0x1,'props':{'id':go['id']}}}],'icon':_0xcd50d3(0x1d0),'tooltip':'sheets-shape-ui.insertShape','activated$':_0x3ff24c(_0x3cf629,!0x1,()=>new _0x2a4797(_0x2f75d2=>{const _0x24023d=_0xcd50d3;_0x2f75d2[_0x24023d(0x49b)](!0x1);})),'hidden$':_0x99fa14(_0x261f3c,_0x162ef7[_0xcd50d3(0x627)]),'disabled$':_0x4e5e72(_0x261f3c)};}const Ao={[_0x562207[_0x5a7f20(0x3f6)]]:{[_0x388c9e[_0x5a7f20(0x2c1)]]:{[Ka['id']]:{'order':3.5,'menuItemFactory':Oo},[Ha['id']]:{'order':3.4,'menuItemFactory':Eo}},[_0x388c9e[_0x5a7f20(0x1fa)]]:{[_0x822770['id']]:{'order':0x1,'menuItemFactory':Co,[_0x18ca3c['id']]:{'order':0x0,'menuItemFactory':wo}}}},[_0x20bf3c[_0x5a7f20(0x2c5)]]:{[go['id']]:{'order':0x4,'menuItemFactory':ko}}};let jo=class extends _0x185401{constructor(_0x310b2e,_0x58fe99,_0x594dfa,_0xf31b8e,_0x32feb4,_0x5cc5c1,_0x18064b,_0x58c74a,_0x407c2f,_0x7e25c0,_0xbd2537){const _0x10df0a=_0x5a7f20;super(),this[_0x10df0a(0x4c0)]=_0x310b2e,this[_0x10df0a(0x661)]=_0x58fe99,this['_sidebarService']=_0x594dfa,this[_0x10df0a(0x3cc)]=_0xf31b8e,this[_0x10df0a(0x225)]=_0x32feb4,this[_0x10df0a(0x20b)]=_0x5cc5c1,this['_componentManager']=_0x18064b,this[_0x10df0a(0x52a)]=_0x58c74a,this[_0x10df0a(0x65c)]=_0x407c2f,this[_0x10df0a(0x57b)]=_0x7e25c0,this[_0x10df0a(0x1c4)]=_0xbd2537,Y(this,_0x10df0a(0x56f),null),Y(this,_0x10df0a(0x4de),null),Y(this,_0x10df0a(0x271),!0x1),this[_0x10df0a(0x319)](),this[_0x10df0a(0x46a)](),this[_0x10df0a(0x404)](this['_univerInstanceService'][_0x10df0a(0x3a1)](_0x162ef7[_0x10df0a(0x627)])['subscribe'](_0x52953e=>{const _0x387a3a=_0x10df0a;var _0x5e1544;_0x52953e||(_0x5e1544=this[_0x387a3a(0x56f)])==null||_0x5e1544[_0x387a3a(0x4b5)]();})),this[_0x10df0a(0x645)](),this['_registerShapeMenu']();}[_0x5a7f20(0x46a)](){const _0x857075=_0x5a7f20;this[_0x857075(0x3cc)][_0x857075(0x312)](Ao);}[_0x5a7f20(0x47f)](){const _0x3a9aed=_0x5a7f20;this[_0x3a9aed(0x57b)]['registerFeatureMenu'](_0x5d8611[_0x3a9aed(0x415)],this[_0x3a9aed(0x3a2)][_0x3a9aed(0x1cd)](this)),this[_0x3a9aed(0x57b)][_0x3a9aed(0x552)](_0x5d8611['DRAWING_SHAPE'],0x6,0x4);}['getShapePopupMenus'](_0x9d22a6,_0x1c78d6,_0x61a8be,_0xc4ab6f){const _0x329553=_0x5a7f20;return[{'label':_0x329553(0x47e),'index':0x0,'commandId':Ya['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be},'disable':_0xc4ab6f===_0x5d8611['DRAWING_DOM']},{'label':'sheets-shape-ui.deleteShape','index':0x1,'commandId':_0x1941fd['id'],'commandParams':{'unitId':_0x9d22a6,'drawings':[{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be,'drawingType':_0xc4ab6f}]},'disable':!0x1},{'label':_0x329553(0x362),'index':0x2,'commandId':Ja['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'drawingId':_0x61a8be},'disable':!0x1},{'label':_0x329553(0x4d1),'index':0x3,'commandId':_0x2e47d3['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'flipH':!0x0},'disable':!0x1},{'label':_0x329553(0x3d5),'index':0x4,'commandId':_0x2e47d3['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'flipV':!0x0},'disable':!0x1},{'label':_0x329553(0x527),'index':0x4,'commandId':_0x102a47['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'rotate':0x5a},'disable':!0x1},{'label':_0x329553(0x585),'index':0x4,'commandId':_0x102a47['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be,'rotate':-0x5a},'disable':!0x1},{'label':'sheets-shape-ui.toggleTextVertical','index':0x4,'commandId':_0x1acfd0['id'],'commandParams':{'unitId':_0x9d22a6,'subUnitId':_0x1c78d6,'shapeId':_0x61a8be},'disable':!0x1}];}[_0x5a7f20(0x30f)](_0x274808,_0xe71369,_0x549551){const _0x3a5559=_0x5a7f20;let _0x4bf3c6=this['_sheetsShapeService']['getShapeTypeById'](_0x274808,_0xe71369,_0x549551),_0x34cd83=this[_0x3a5559(0x225)][_0x3a5559(0x4b4)](_0x274808,_0xe71369,_0x549551);return _0x4bf3c6!==void 0x0&&_0x34cd83!==void 0x0?{'shapeData':_0x34cd83,'shapeId':_0x549551,'shapeType':_0x4bf3c6,'unitId':_0x274808,'subUnitId':_0xe71369,'disableShapeOption':!0x1}:null;}[_0x5a7f20(0x645)](){const _0x49a888=_0x5a7f20;this[_0x49a888(0x404)](this[_0x49a888(0x52a)][_0x49a888(0x2be)](_0x35588a=>{const _0x49b885=_0x49a888;if(_0x35588a['id']===Ya['id']){let {unitId:_0x2bee3b,subUnitId:_0x1f42f8,drawingId:_0x55ab86}=_0x35588a[_0x49b885(0x233)];this[_0x49b885(0x4de)]=this[_0x49b885(0x30f)](_0x2bee3b,_0x1f42f8,_0x55ab86),this[_0x49b885(0x3f2)]();}if(_0x35588a['id']===Ja['id']&&(this[_0x49b885(0x4de)]=null,this[_0x49b885(0x203)]()),_0x35588a['id']===_0x1b6401['id']){let {unitId:_0x475052,subUnitId:_0x29443b,shapeId:_0x326c0c}=_0x35588a[_0x49b885(0x233)];if(this['_activeShapeInfo']&&this['_activeShapeInfo'][_0x49b885(0x384)]===_0x326c0c){let _0x5eae49=this['_getShapeInfo'](_0x475052,_0x29443b,_0x326c0c);_0x5eae49&&(this[_0x49b885(0x4de)]=_0x5eae49);}}})),this[_0x49a888(0x404)](this[_0x49a888(0x65c)][_0x49a888(0x237)]['subscribe'](_0x493d94=>{const _0xc357ed=_0x49a888;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x493d94[_0xc357ed(0x3d6)]===0x0){this[_0xc357ed(0x4de)]=null,this[_0xc357ed(0x203)]();return;}if(_0x493d94[_0xc357ed(0x3d6)]===0x1&&_0x493d94[0x0][_0xc357ed(0x526)]===_0x5d8611[_0xc357ed(0x415)]&&(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this[_0xc357ed(0x4de)])){this['_openShapeEditPanel']();return;}let _0x435589=_0x493d94[_0xc357ed(0x20d)](_0x29278b=>_0x29278b[_0xc357ed(0x526)]===_0x5d8611['DRAWING_SHAPE']);if(_0x493d94[_0xc357ed(0x3d6)]>0x1&&_0x435589['length']===_0x493d94[_0xc357ed(0x3d6)]){if(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this['_activeShapeInfo']){this[_0xc357ed(0x3f2)]();return;}}else{if(this[_0xc357ed(0x4de)]=this[_0xc357ed(0x30f)](_0x493d94[0x0][_0xc357ed(0x666)],_0x493d94[0x0][_0xc357ed(0x279)],_0x493d94[0x0][_0xc357ed(0x1fb)]),this['_activeShapeInfo']){this['_activeShapeInfo'][_0xc357ed(0x2d1)]=!0x0,this[_0xc357ed(0x3f2)]();return;}}this[_0xc357ed(0x203)]();}));}['_registerComponent'](){const _0x63f1c3=_0x5a7f20;[['ShapeIcon',_0x443271],[_0x63f1c3(0x40d),_0x49c694],['ShapeAccentBorderCallout2Icon',_0x24217b],[_0x63f1c3(0x5da),_0x3ebc4b],[_0x63f1c3(0x289),_0xa45fc7],[_0x63f1c3(0x66c),_0x3adfc8],[_0x63f1c3(0x40e),_0x1c498c],[_0x63f1c3(0x5e3),_0x5d1d99],['ShapeActionButtonBeginningIcon',_0x168e98],[_0x63f1c3(0x27c),_0x459144],['ShapeActionButtonDocumentIcon',_0x521819],[_0x63f1c3(0x51f),_0x409cbb],['ShapeActionButtonForwardNextIcon',_0x4faf12],['ShapeActionButtonHelpIcon',_0x5260a1],[_0x63f1c3(0x537),_0x15766d],['ShapeActionButtonInformationIcon',_0x329996],[_0x63f1c3(0x3e6),_0x50ab91],[_0x63f1c3(0x5e9),_0x57d13d],['ShapeActionButtonSoundIcon',_0x41a356],['ShapeArcIcon',_0x3f87c1],['ShapeBentArrowIcon',_0x33e81e],[_0x63f1c3(0x649),_0x432d2c],[_0x63f1c3(0x370),_0x51eeb9],[_0x63f1c3(0x5a3),_0x333014],[_0x63f1c3(0x5bc),_0x3eb7c6],['ShapeBevelIcon',_0x3f073f],[_0x63f1c3(0x333),_0xcb7fe5],['ShapeBorderCallout1Icon',_0x3ac5d2],[_0x63f1c3(0x1da),_0x354cf7],[_0x63f1c3(0x5c1),_0x51b46d],[_0x63f1c3(0x275),_0x4a6799],['ShapeBracketPairIcon',_0xfd1d85],['ShapeCallout1Icon',_0x26c766],[_0x63f1c3(0x470),_0x51bf9e],[_0x63f1c3(0x454),_0x3193c4],[_0x63f1c3(0x325),_0x23515e],[_0x63f1c3(0x304),_0x3ffa6a],['ShapeChartStarIcon',_0x219e7e],[_0x63f1c3(0x482),_0x4dddd6],[_0x63f1c3(0x212),_0x153fb4],['ShapeChordIcon',_0x452356],[_0x63f1c3(0x43c),_0x306544],[_0x63f1c3(0x26a),_0x10c388],[_0x63f1c3(0x2e6),_0x360ebe],[_0x63f1c3(0x55b),_0x422e98],[_0x63f1c3(0x45e),_0x1fe2a2],[_0x63f1c3(0x321),_0xc014b1],['ShapeCurvedConnector3Arrow1Icon',_0x156d69],[_0x63f1c3(0x395),_0x368a2e],[_0x63f1c3(0x4bd),_0x2758a3],[_0x63f1c3(0x61b),_0x5f2714],[_0x63f1c3(0x662),_0x166686],[_0x63f1c3(0x274),_0x453bca],['ShapeCurvedUpArrowIcon',_0x92711a],['ShapeDecagonIcon',_0x275b6d],[_0x63f1c3(0x35d),_0x195305],[_0x63f1c3(0x4cc),_0x51a238],[_0x63f1c3(0x592),_0x43a7f7],['ShapeDonutIcon',_0x40810c],[_0x63f1c3(0x63b),_0x7f1196],[_0x63f1c3(0x280),_0x4a2f6c],['ShapeDownArrowIcon',_0x213c9c],[_0x63f1c3(0x417),_0x1c5a25],[_0x63f1c3(0x4d3),_0x3c2f85],[_0x63f1c3(0x475),_0x58077d],[_0x63f1c3(0x33f),_0x21350f],['ShapeFlowChartCollateIcon',_0x14c27a],[_0x63f1c3(0x5d8),_0x4c5a39],[_0x63f1c3(0x50a),_0x436148],[_0x63f1c3(0x31f),_0x25e7a9],['ShapeFlowChartDisplayIcon',_0x56da35],[_0x63f1c3(0x3ff),_0x439f1c],[_0x63f1c3(0x2cf),_0x34da00],[_0x63f1c3(0x23e),_0x4dd2f4],[_0x63f1c3(0x378),_0x21bcac],[_0x63f1c3(0x563),_0x4ac4ef],[_0x63f1c3(0x44c),_0x46a58e],['ShapeFlowChartMagneticTapeIcon',_0x2fea43],['ShapeFlowChartManualInputIcon',_0x40bab9],[_0x63f1c3(0x3d9),_0x2ae98e],[_0x63f1c3(0x46f),_0x79620e],['ShapeFlowChartMultidocumentIcon',_0x40980d],[_0x63f1c3(0x664),_0xedb022],[_0x63f1c3(0x4a0),_0x496318],['ShapeFlowChartOnlineStorageIcon',_0x4449dc],[_0x63f1c3(0x24e),_0x2c653a],[_0x63f1c3(0x388),_0x16dc1a],[_0x63f1c3(0x26d),_0x483bb5],[_0x63f1c3(0x2c3),_0x4c747b],[_0x63f1c3(0x37a),_0x278b80],[_0x63f1c3(0x4ec),_0x5ce091],[_0x63f1c3(0x1c6),_0x5ca430],[_0x63f1c3(0x584),_0x5056f8],[_0x63f1c3(0x5ba),_0x26dfeb],[_0x63f1c3(0x221),_0xff17da],[_0x63f1c3(0x416),_0x4a6029],[_0x63f1c3(0x444),_0x492f0a],[_0x63f1c3(0x47a),_0x46344f],['ShapeGear9Icon',_0x16ad45],['ShapeHalfFrameIcon',_0x2868e1],[_0x63f1c3(0x4a4),_0x172d7e],[_0x63f1c3(0x22b),_0x36ef8a],[_0x63f1c3(0x648),_0x56714b],[_0x63f1c3(0x57f),_0x59ae39],['ShapeHorizontalScrollIcon',_0x140d52],[_0x63f1c3(0x4f3),_0x19a668],[_0x63f1c3(0x24b),_0x3ebe05],[_0x63f1c3(0x573),_0x18e07a],[_0x63f1c3(0x2ee),_0x3d3b38],[_0x63f1c3(0x53c),_0x299ab5],[_0x63f1c3(0x3ce),_0x351d9e],['ShapeLeftCircularArrowIcon',_0x1d3fd1],[_0x63f1c3(0x42b),_0x336d75],[_0x63f1c3(0x337),_0x188829],[_0x63f1c3(0x539),_0x2ad4d3],['ShapeLeftRightRibbonIcon',_0x39ee42],[_0x63f1c3(0x543),_0x34a3ff],[_0x63f1c3(0x2e4),_0x3b41cc],['ShapeLightningBoltIcon',_0x16fcd2],[_0x63f1c3(0x462),_0x28c21d],[_0x63f1c3(0x36c),_0x2562e0],[_0x63f1c3(0x3b2),_0x40aa8b],[_0x63f1c3(0x1e0),_0x1d854d],[_0x63f1c3(0x3be),_0x1b3427],[_0x63f1c3(0x401),_0x2ee12d],[_0x63f1c3(0x43f),_0x59ccb4],[_0x63f1c3(0x2df),_0x2fbc6d],[_0x63f1c3(0x48e),_0x1f98d4],[_0x63f1c3(0x512),_0x143692],[_0x63f1c3(0x5a4),_0x9d3655],[_0x63f1c3(0x5c8),_0x2a3ff9],[_0x63f1c3(0x3f8),_0xae140a],[_0x63f1c3(0x327),_0x4fa0fb],[_0x63f1c3(0x1d3),_0x285b70],[_0x63f1c3(0x55c),_0x1eeecc],[_0x63f1c3(0x3fd),_0x3a5c3d],[_0x63f1c3(0x671),_0x1a95ed],[_0x63f1c3(0x4aa),_0x5d1d0f],[_0x63f1c3(0x248),_0xb92428],[_0x63f1c3(0x599),_0x25409b],[_0x63f1c3(0x2b0),_0x4bf1ee],['ShapeRectIcon',_0x53c07e],[_0x63f1c3(0x42f),_0x4fa9ff],['ShapeRectTextboxVerticalIcon',_0x290b6],[_0x63f1c3(0x5d0),_0xb08b96],[_0x63f1c3(0x273),_0x2998e8],[_0x63f1c3(0x1e4),_0x1d983e],['ShapeRightArrowIcon',_0x31f326],[_0x63f1c3(0x4da),_0x49539f],[_0x63f1c3(0x640),_0x30b4cd],[_0x63f1c3(0x4f8),_0x2f33e2],[_0x63f1c3(0x25d),_0x8f39a3],[_0x63f1c3(0x426),_0x4a566a],[_0x63f1c3(0x20e),_0x12ae7a],[_0x63f1c3(0x3cd),_0x4a73aa],[_0x63f1c3(0x446),_0x288ae9],[_0x63f1c3(0x3ca),_0x30648b],[_0x63f1c3(0x2c0),_0x4998a6],[_0x63f1c3(0x60f),_0x3508cd],[_0x63f1c3(0x353),_0x386b6c],[_0x63f1c3(0x407),_0x26972e],[_0x63f1c3(0x31b),_0x3765a8],['ShapeStar12Icon',_0x5c0c63],['ShapeStar16Icon',_0x38791b],['ShapeStar24Icon',_0x524247],[_0x63f1c3(0x2b2),_0xa04ca0],[_0x63f1c3(0x387),_0x19e8f2],[_0x63f1c3(0x525),_0x35ec0c],[_0x63f1c3(0x377),_0x19b7a3],[_0x63f1c3(0x51e),_0x361fcd],[_0x63f1c3(0x45d),_0x23a3fc],[_0x63f1c3(0x5c9),_0x18620e],[_0x63f1c3(0x281),_0x3c51e9],[_0x63f1c3(0x4d2),_0x2dcd10],['ShapeSunIcon',_0x123440],[_0x63f1c3(0x339),_0x21e466],['ShapeTeardropIcon',_0x2675e5],['ShapeTrapezoidIcon',_0xb9f4c0],[_0x63f1c3(0x58e),_0x3666e8],[_0x63f1c3(0x35c),_0x4a0541],[_0x63f1c3(0x5f7),_0x58b05],[_0x63f1c3(0x301),_0x26cefa],['ShapeUpDownArrowIcon',_0x42201a],['ShapeUturnArrowIcon',_0xa93d64],[_0x63f1c3(0x27b),_0x3cccba],['ShapeWaveIcon',_0x5de847],[_0x63f1c3(0x1db),_0x58469f],['ShapeWedgeRectCalloutIcon',_0x192b27],['ShapeWedgeRoundRectCalloutIcon',_0x11ac0b],[Xa,fo],[yo,So],[_0x124c3f,xo]][_0x63f1c3(0x2cc)](([_0x2d54e3,_0x56599f])=>{const _0x2bdfcc=_0x63f1c3;this['disposeWithMe'](this['_componentManager'][_0x2bdfcc(0x3a8)](_0x2d54e3,_0x56599f));});}['_openShapeEditPanel'](){const _0x5c7765=_0x5a7f20;this[_0x5c7765(0x56f)]=this['_sidebarService']['open']({'id':Xa,'header':{'title':this[_0x5c7765(0x20b)]['t'](_0x5c7765(0x506))},'width':0x184,'children':{'label':Xa,...this['_activeShapeInfo']},'onClose':()=>{const _0x2e7fad=_0x5c7765;this[_0x2e7fad(0x65c)]['focusDrawing'](null),this[_0x2e7fad(0x1c4)][_0x2e7fad(0x209)](_0x180a18,!0x1),this[_0x2e7fad(0x56f)]=null;}}),this[_0x5c7765(0x271)]=!0x0;}[_0x5a7f20(0x203)](){const _0x3c8387=_0x5a7f20;this[_0x3c8387(0x271)]=!0x1,this[_0x3c8387(0x354)][_0x3c8387(0x300)](Xa),this[_0x3c8387(0x56f)]=null,this[_0x3c8387(0x1c4)][_0x3c8387(0x209)](_0x180a18,!0x1),this['_drawingManagerService'][_0x3c8387(0x465)](null);}};jo=$([Q(0x0,_0x1005f5),Q(0x1,_0x1e77ba(_0x345a24)),Q(0x2,_0x1e77ba(_0x3f3778)),Q(0x3,_0x5ce143),Q(0x4,_0x1e77ba(_0xc9428c)),Q(0x5,_0x1e77ba(_0x2e65fd)),Q(0x6,_0x1e77ba(_0x5b38e3)),Q(0x7,_0x2e069e),Q(0x8,_0x2ac48c),Q(0x9,_0x1e77ba(_0x292339)),Q(0xa,_0x2d6196)],jo);var Mo='@univerjs-pro/sheets-shape-ui',No=_0x5a7f20(0x494);const Po={};let Fo=class extends _0x185401{constructor(_0x5cb6b6,_0x3c274a,_0x4cedf1,_0xb98ca9,_0x4825be){const _0x16c578=_0x5a7f20;super(),this['_context']=_0x5cb6b6,this[_0x16c578(0x65c)]=_0x3c274a,this[_0x16c578(0x33e)]=_0x4cedf1,this[_0x16c578(0x4c0)]=_0xb98ca9,this[_0x16c578(0x278)]=_0x4825be,Y(this,'_activeImageId',null),Y(this,_0x16c578(0x479),null),Y(this,_0x16c578(0x2aa),null),Y(this,'_activeAdjustPointList',void 0x0),Y(this,_0x16c578(0x62b),[]),Y(this,'_baseLeft',0x0),Y(this,_0x16c578(0x22e),0x0),Y(this,_0x16c578(0x372),0x0),Y(this,'_baseHeight',0x0),Y(this,'_isStartAdjusting',!0x1),Y(this,_0x16c578(0x67c),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x16c578(0x540),void 0x0),Y(this,_0x16c578(0x409),void 0x0),Y(this,_0x16c578(0x54d),!0x1),this['_registerFocusChangeHandler'](),this[_0x16c578(0x380)]();}[_0x5a7f20(0x492)](){const _0x4d56f7=_0x5a7f20;this[_0x4d56f7(0x30d)]();}[_0x5a7f20(0x383)](){const _0x4f0d3a=_0x5a7f20;this[_0x4f0d3a(0x30d)](),this[_0x4f0d3a(0x3a9)](!0x0);}[_0x5a7f20(0x2b5)](_0x4bf5e8,_0x33798a,_0x586fb7,_0xa9d5fa){const _0x2483a2=_0x5a7f20;let _0x207718=_0x4bf5e8;if(!(_0x207718===_0x5c87c5[_0x2483a2(0x4dc)]||_0x4bf5e8===_0x2483a2(0x217)))try{let _0x5aee7a=new _0x198c5a(_0x207718,'clip-adj-'+_0x4bf5e8);return _0xa9d5fa&&_0x5aee7a['setShapeData']({'adjustValues':_0xa9d5fa},!0x0),_0x5aee7a[_0x2483a2(0x5ed)]({'width':_0x33798a,'height':_0x586fb7}),_0x5aee7a;}catch{return;}}[_0x5a7f20(0x41f)](_0x167cde,_0x310307,_0x23da8f){const _0x111163=_0x5a7f20;let _0x24d2d1={'unitId':_0x167cde,'subUnitId':_0x310307,'drawingId':_0x23da8f},_0x5b55a6=this[_0x111163(0x65c)][_0x111163(0x4b2)](_0x24d2d1);if(!(!_0x5b55a6||_0x5b55a6[_0x111163(0x526)]!==_0x5d8611[_0x111163(0x5f4)]))return _0x5b55a6;}[_0x5a7f20(0x502)](_0x31170e,_0xe36bc5,_0x5eb843){const _0x3d31d1=_0x5a7f20;let _0x2ba500=this[_0x3d31d1(0x33e)]['getRenderById'](_0x31170e);if(!_0x2ba500)return;let {scene:_0x338f62}=_0x2ba500,_0x4144c9=_0x46e3e9({'unitId':_0x31170e,'subUnitId':_0xe36bc5,'drawingId':_0x5eb843}),_0x4d4668=_0x338f62[_0x3d31d1(0x2c4)](_0x4144c9);if(_0x4d4668 instanceof _0x4b0b23){let _0x3c416e=_0x4d4668[_0x3d31d1(0x382)];if(_0x3c416e)return{'prstGeom':_0x3c416e,'adjustValues':_0x4d4668[_0x3d31d1(0x50b)]};}}[_0x5a7f20(0x3a9)](_0x1c5ec4=!0x1){const _0x5e30bc=_0x5a7f20;if(!this['_unitId']||!this[_0x5e30bc(0x2aa)]||!this[_0x5e30bc(0x626)])return;let _0x12bb9a=this['_renderManagerService'][_0x5e30bc(0x36a)](this[_0x5e30bc(0x479)]);if(!_0x12bb9a||!_0x12bb9a[_0x5e30bc(0x49a)](_0x4e2ed9)[_0x5e30bc(0x54e)]())return;let {scene:_0x5d185d}=_0x12bb9a,_0x1d8391=this['_getImageDrawingInfo'](this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)],this[_0x5e30bc(0x626)]);if(!_0x1d8391)return;let {transform:_0x417f3f}=_0x1d8391;if(!_0x417f3f)return;let {left:_0x17e9f7,top:_0x8ed238,width:_0x59df21,height:_0x49e75b,flipX:_0x23db98,flipY:_0x2f2dbb,angle:_0x28c277=0x0}=_0x417f3f;if(_0x17e9f7===void 0x0||_0x8ed238===void 0x0)return;let _0x42cd52=this['_getImagePrstGeom'](this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)],this[_0x5e30bc(0x626)]);if(!_0x42cd52)return;if(_0x1c5ec4){let _0x55f6bb=this[_0x5e30bc(0x2b5)](_0x42cd52[_0x5e30bc(0x382)],_0x59df21||0x0,_0x49e75b||0x0,_0x42cd52[_0x5e30bc(0x344)]);if(!_0x55f6bb)return;this['_activeAdjustPointList']=_0x55f6bb[_0x5e30bc(0x295)]();}let _0x20a6c0=this[_0x5e30bc(0x413)];if(!(!_0x20a6c0||_0x20a6c0[_0x5e30bc(0x3d6)]===0x0))for(let _0x2ef697=0x0;_0x2ef697<_0x20a6c0['length'];_0x2ef697++){let _0x4b0484=_0x20a6c0[_0x2ef697],_0x22d258=_0x4b0484['x'],_0x1623f3=_0x4b0484['y'];if(_0x23db98&&(_0x22d258=(_0x59df21||0x0)-_0x22d258),_0x2f2dbb&&(_0x1623f3=(_0x49e75b||0x0)-_0x1623f3),_0x28c277!==0x0){let _0x53f41a=(_0x59df21||0x0)/0x2,_0x1ef676=(_0x49e75b||0x0)/0x2,_0x248a2f=_0x28c277*Math['PI']/0xb4,_0x4367f4=Math[_0x5e30bc(0x3bb)](_0x248a2f),_0x1e5380=Math[_0x5e30bc(0x4a5)](_0x248a2f),_0xe9f5e=_0x22d258-_0x53f41a,_0x1bd03e=_0x1623f3-_0x1ef676;_0x22d258=_0x53f41a+(_0xe9f5e*_0x4367f4-_0x1bd03e*_0x1e5380),_0x1623f3=_0x1ef676+(_0xe9f5e*_0x1e5380+_0x1bd03e*_0x4367f4);}let _0x21282a={'x':_0x22d258,'y':_0x1623f3,'adjName':_0x4b0484[_0x5e30bc(0x517)]};this[_0x5e30bc(0x670)](_0x5d185d,_0x21282a,_0x21282a[_0x5e30bc(0x517)],_0x17e9f7,_0x8ed238,this[_0x5e30bc(0x479)],this[_0x5e30bc(0x2aa)]);}}['_addControl'](_0x35a620,_0xea7f50,_0x2a8d62,_0x41763a,_0x3ba89d,_0x24c9f0,_0x4f35ca){const _0x268510=_0x5a7f20;if(!this[_0x268510(0x626)])return;let _0x49b372=_0x268510(0x5a7)+this['_activeImageId']+'-'+_0x2a8d62,_0x56f6b4=_0x35a620[_0x268510(0x33c)](_0x49b372);if(_0x56f6b4){_0x56f6b4[_0x268510(0x288)]({'left':_0xea7f50['x']+_0x41763a-_0x9a1b85[_0x268510(0x21e)],'top':_0xea7f50['y']+_0x3ba89d-_0x9a1b85['adjHandleSize']});return;}let _0x4bdb03=new po(_0x49b372,{'left':_0xea7f50['x']+_0x41763a-_0x9a1b85[_0x268510(0x21e)],'top':_0xea7f50['y']+_0x3ba89d-_0x9a1b85['adjHandleSize'],'adjName':_0x2a8d62,'shapeId':this[_0x268510(0x626)],'unitId':_0x24c9f0,'subUnitId':_0x4f35ca,'width':_0x9a1b85[_0x268510(0x21e)]+0x8,'height':_0x9a1b85[_0x268510(0x21e)]+0x8,'zIndex':_0x3929c9+0x1,'evented':!0x0});this[_0x268510(0x62b)]['push'](_0x4bdb03),this[_0x268510(0x65b)](_0x4bdb03,_0x35a620,_0x2a8d62),_0x35a620[_0x268510(0x61e)](_0x4bdb03,_0x3929c9+0x1);}[_0x5a7f20(0x30d)](){const _0x7ca605=_0x5a7f20;this[_0x7ca605(0x62b)]['length']!==0x0&&(this[_0x7ca605(0x62b)][_0x7ca605(0x2cc)](_0x4998dc=>_0x4998dc[_0x7ca605(0x4b5)]()),this[_0x7ca605(0x62b)]=[]);}[_0x5a7f20(0x43e)](_0x3e7722,_0x531b3d){const _0x1b3fb2=_0x5a7f20;var _0x14185c;let _0x4db462={'x':0x0,'y':0x0},_0x43f645=this[_0x1b3fb2(0x33e)]['getRenderById'](_0x3e7722);if(!_0x43f645||!_0x43f645[_0x1b3fb2(0x49a)](_0x4e2ed9)['getSkeleton'](_0x531b3d))return _0x4db462;let _0x4515a9=_0x43f645['with'](_0x13c1a9),_0x144b8e=_0x4515a9==null?void 0x0:_0x4515a9['getCurrentScrollState']();if(!_0x144b8e)return _0x4db462;let _0x1977a1=(_0x14185c=this['_univerInstanceService'][_0x1b3fb2(0x4e7)](_0x3e7722))==null?void 0x0:_0x14185c[_0x1b3fb2(0x64e)](_0x531b3d);if(!_0x1977a1)return _0x4db462;let _0x4d07d5=_0x5cde96(_0x144b8e['sheetViewStartRow'],_0x144b8e[_0x1b3fb2(0x3e3)],_0x43f645[_0x1b3fb2(0x2a0)],_0x1977a1);return _0x4d07d5?{'x':_0x4d07d5['viewportScrollX'],'y':_0x4d07d5[_0x1b3fb2(0x4b0)]}:_0x4db462;}[_0x5a7f20(0x5e8)](_0x1a143a,_0xdf63bd){const _0x4bce7e=_0x5a7f20;var _0x17c6dd,_0x48b09d;let _0x232de1=(_0x17c6dd=this[_0x4bce7e(0x4c0)]['getUnit'](_0x1a143a))==null?void 0x0:_0x17c6dd['getSheetBySheetId'](_0xdf63bd);return(_0x48b09d=_0x232de1==null?void 0x0:_0x232de1[_0x4bce7e(0x22f)]())==null?0x1:_0x48b09d;}[_0x5a7f20(0x65b)](_0x24824b,_0x26e73e,_0x30d598){const _0x4b45ea=_0x5a7f20;this[_0x4b45ea(0x404)](_0x162f95(_0x24824b[_0x4b45ea(0x1c8)][_0x4b45ea(0x3f0)]((_0x130e2c,_0x4e78c1)=>{const _0x1f63d2=_0x4b45ea;var _0x55926a,_0x212a94,_0x329f2e;let {unitId:_0x5b6a33,subUnitId:_0x382be4,drawingId:_0x38f026}=_0x24824b['getDrawingSearch'](),_0xafff7a=this['_getImageDrawingInfo'](_0x5b6a33,_0x382be4,_0x38f026);if(!(_0xafff7a!=null&&_0xafff7a[_0x1f63d2(0x3ba)]))return;let {left:_0x129913,top:_0x5aa377,width:_0x457e18,height:_0x38f801}=_0xafff7a[_0x1f63d2(0x3ba)];this['_baseLeft']=_0x129913||0x0,this['_baseTop']=_0x5aa377||0x0,this[_0x1f63d2(0x372)]=_0x457e18||0x0,this[_0x1f63d2(0x33d)]=_0x38f801||0x0;let _0x5615e6=!!((_0x55926a=_0xafff7a[_0x1f63d2(0x3ba)])!=null&&_0x55926a['flipX']),_0x33a572=!!((_0x212a94=_0xafff7a['transform'])!=null&&_0x212a94[_0x1f63d2(0x4e4)]),_0x1ccbd8=((_0x329f2e=_0xafff7a[_0x1f63d2(0x3ba)])==null?void 0x0:_0x329f2e['angle'])||0x0,_0x32a7c3=this['_getImagePrstGeom'](_0x5b6a33,_0x382be4,_0x38f026);if(!_0x32a7c3)return;let _0x58f324=this['_getOrCreateShapeModel'](_0x32a7c3[_0x1f63d2(0x382)],this[_0x1f63d2(0x372)],this[_0x1f63d2(0x33d)],_0x32a7c3[_0x1f63d2(0x344)]);if(!_0x58f324||(this[_0x1f63d2(0x3df)]=_0x58f324,this['_activeAdjustInfo']=_0x58f324[_0x1f63d2(0x3d2)](_0x30d598),!this[_0x1f63d2(0x67c)]))return;this[_0x1f63d2(0x265)]=!0x0,_0x26e73e[_0x1f63d2(0x5d5)]();let _0x16be3d=_0x32a7c3['prstGeom'];this[_0x1f63d2(0x540)]=_0x26e73e['onPointerMove$'][_0x1f63d2(0x3f0)]((_0xd21990,_0x55a003)=>{const _0xbcea0d=_0x1f63d2;if(!this[_0xbcea0d(0x265)])return;let {offsetX:_0x1ee775,offsetY:_0x3eea8d}=_0xd21990,_0x427524=this['_activeAdjustInfo'];if(!this[_0xbcea0d(0x3df)]||!_0x427524)return;_0x26e73e[_0xbcea0d(0x5d5)](),_0x26e73e[_0xbcea0d(0x2b6)](_0x1b0deb['CROSSHAIR']);let _0x20c804={'left':0x0,'top':0x0,'width':this[_0xbcea0d(0x372)],'height':this[_0xbcea0d(0x33d)]},_0x27251c=this['_getScrollInfo'](_0x5b6a33,_0x382be4),_0x3d57c0=this[_0xbcea0d(0x5e8)](_0x5b6a33,_0x382be4),_0x208073=_0x1ee775/_0x3d57c0+_0x27251c['x']-this['_baseLeft'],_0x4b8ede=_0x3eea8d/_0x3d57c0+_0x27251c['y']-this[_0xbcea0d(0x22e)];if(_0x1ccbd8!==0x0){let _0x97aea4=this[_0xbcea0d(0x372)]/0x2,_0x4f5bfe=this[_0xbcea0d(0x33d)]/0x2,_0x10a911=_0x1ccbd8*Math['PI']/0xb4,_0x2bde32=Math[_0xbcea0d(0x3bb)](_0x10a911),_0x5f4f27=Math['sin'](_0x10a911),_0x5e72cb=_0x208073-_0x97aea4,_0x5ef966=_0x4b8ede-_0x4f5bfe;_0x208073=_0x97aea4+(_0x5e72cb*_0x2bde32+_0x5ef966*_0x5f4f27),_0x4b8ede=_0x4f5bfe+(-_0x5e72cb*_0x5f4f27+_0x5ef966*_0x2bde32);}_0x5615e6&&(_0x208073=this[_0xbcea0d(0x372)]-_0x208073),_0x33a572&&(_0x4b8ede=this[_0xbcea0d(0x33d)]-_0x4b8ede);let _0x5a4ed9=this['_activeShapeModel']['calcAdjValue'](_0x20c804,{'x':_0x208073,'y':_0x4b8ede},_0x427524,_0x5615e6,_0x33a572),_0x8d54cd=_0x427524['gdRefX']||_0x427524[_0xbcea0d(0x4a8)]||_0x427524[_0xbcea0d(0x40f)]||_0x427524[_0xbcea0d(0x23c)];_0x8d54cd!==void 0x0&&(this[_0xbcea0d(0x3df)][_0xbcea0d(0x348)](_0x8d54cd,_0x5a4ed9),this[_0xbcea0d(0x3df)][_0xbcea0d(0x5ed)]({'width':this[_0xbcea0d(0x372)],'height':this[_0xbcea0d(0x33d)]}),this[_0xbcea0d(0x32d)](_0x5b6a33,_0x382be4,_0x38f026,_0x8d54cd,_0x5a4ed9),this[_0xbcea0d(0x413)]=this[_0xbcea0d(0x3df)]['getDrawingPoints'](),this['_activeAdjustInfo']=this[_0xbcea0d(0x3df)][_0xbcea0d(0x3d2)](_0x30d598),this['_createControls'](),_0x55a003['stopPropagation']());}),this[_0x1f63d2(0x409)]=_0x26e73e[_0x1f63d2(0x442)][_0x1f63d2(0x3f0)]((_0x57d800,_0x3fb516)=>{const _0x31a63b=_0x1f63d2;if(this[_0x31a63b(0x540)][_0x31a63b(0x223)](),this[_0x31a63b(0x409)][_0x31a63b(0x223)](),_0x26e73e[_0x31a63b(0x5ec)](),this['_activeShapeModel']){let _0x4cd27e=this[_0x31a63b(0x3df)][_0x31a63b(0x357)](),_0x4aae88={};for(let _0x565e57 of _0x4cd27e){let _0x463944=this[_0x31a63b(0x3df)][_0x31a63b(0x257)](_0x565e57);_0x463944!==void 0x0&&(_0x4aae88[_0x565e57]=_0x463944);}this[_0x31a63b(0x278)][_0x31a63b(0x35e)](_0x5b6a33,_0x382be4,_0x38f026,_0x16be3d,_0x4aae88);}this[_0x31a63b(0x67c)]=void 0x0,this['_activeShapeModel']=void 0x0,this[_0x31a63b(0x265)]=!0x1,_0x3fb516[_0x31a63b(0x59a)](),_0x26e73e[_0x31a63b(0x3eb)]();}),_0x4e78c1[_0x1f63d2(0x59a)]();})));}[_0x5a7f20(0x32d)](_0x2a1fbc,_0x18c505,_0x45ed25,_0x4a7334,_0x185303){const _0x692e80=_0x5a7f20;let _0x51c9c1=this[_0x692e80(0x33e)][_0x692e80(0x36a)](_0x2a1fbc);if(!_0x51c9c1)return;let {scene:_0x391d7b}=_0x51c9c1,_0x22366e=_0x46e3e9({'unitId':_0x2a1fbc,'subUnitId':_0x18c505,'drawingId':_0x45ed25}),_0x3d1c9a=_0x391d7b['getObject'](_0x22366e);if(_0x3d1c9a instanceof _0x4b0b23){var _0xab78f3;let _0x386a77=(_0xab78f3=_0x3d1c9a[_0x692e80(0x50b)])==null?{}:_0xab78f3;_0x3d1c9a['setPrstGeomAdjValues']({..._0x386a77,[_0x4a7334]:_0x185303}),_0x3d1c9a[_0x692e80(0x2bb)](!0x0);}}[_0x5a7f20(0x380)](){const _0x5c3b7c=_0x5a7f20;let _0x36af53=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x162ef7[_0x5c3b7c(0x627)]);this[_0x5c3b7c(0x404)](_0x36af53[_0x5c3b7c(0x254)](_0x1e398(_0x36c20f=>_0x36c20f?_0x36c20f['activeSheet$'][_0x5c3b7c(0x254)](_0x1e398(_0x3087c4=>{const _0x10efce=_0x5c3b7c;if(!_0x3087c4)return _0x502183;let _0x18788b=_0x36c20f[_0x10efce(0x219)](),_0x58b607=this[_0x10efce(0x33e)][_0x10efce(0x36a)](_0x18788b),_0x43fa75=_0x58b607==null?void 0x0:_0x58b607[_0x10efce(0x2a0)];return _0x43fa75?_0x570989(_0x43fa75):_0x502183;})):_0x502183))['subscribe'](_0x4cd91f=>{const _0x7b0b5a=_0x5c3b7c;let _0x20775e=_0x4cd91f['getTransformerByCreate']();this[_0x7b0b5a(0x404)](_0x4cd91f[_0x7b0b5a(0x48a)]['subscribeEvent'](()=>{const _0x3b6a64=_0x7b0b5a;this['_isImagePointerDown']&&this[_0x3b6a64(0x30d)]();})),this['disposeWithMe'](_0x20775e[_0x7b0b5a(0x518)][_0x7b0b5a(0x2ab)](_0x1cad9f=>{const _0x44b914=_0x7b0b5a;let {objects:_0x5143d6}=_0x1cad9f;if(this[_0x44b914(0x3a9)](),_0x5143d6!==null&&_0x5143d6[_0x44b914(0x352)]===0x1){let _0x10e51e=_0x5143d6[_0x44b914(0x204)]()[_0x44b914(0x49b)]()[_0x44b914(0x231)];_0x10e51e instanceof _0x4b0b23&&_0x10e51e[_0x44b914(0x382)]&&(this['_isImagePointerDown']=!0x0);}})),this[_0x7b0b5a(0x404)](_0x20775e['changing$'][_0x7b0b5a(0x2ab)](()=>{const _0x36f42d=_0x7b0b5a;this[_0x36f42d(0x54d)]&&this[_0x36f42d(0x30d)]();})),this['disposeWithMe'](_0x4cd91f[_0x7b0b5a(0x442)]['subscribeEvent'](()=>{const _0x3088ff=_0x7b0b5a;this[_0x3088ff(0x54d)]&&(this[_0x3088ff(0x54d)]=!0x1,this[_0x3088ff(0x3a9)]());})),this['disposeWithMe'](_0x20775e[_0x7b0b5a(0x1f5)][_0x7b0b5a(0x2ab)](()=>{const _0x553f6c=_0x7b0b5a;if(this[_0x553f6c(0x479)]&&this[_0x553f6c(0x2aa)]&&this[_0x553f6c(0x626)]){let _0x41e030=this['_getImagePrstGeom'](this[_0x553f6c(0x479)],this[_0x553f6c(0x2aa)],this[_0x553f6c(0x626)]);if(_0x41e030){var _0x8dc97,_0x40c998;let _0x539785=this[_0x553f6c(0x41f)](this['_unitId'],this['_subUnitId'],this[_0x553f6c(0x626)]),_0x4b63da=(_0x539785==null||(_0x8dc97=_0x539785[_0x553f6c(0x3ba)])==null?void 0x0:_0x8dc97[_0x553f6c(0x3d7)])||0x0,_0x3c1058=(_0x539785==null||(_0x40c998=_0x539785[_0x553f6c(0x3ba)])==null?void 0x0:_0x40c998['height'])||0x0,_0x5cf60e=this[_0x553f6c(0x2b5)](_0x41e030[_0x553f6c(0x382)],_0x4b63da,_0x3c1058,_0x41e030['adjustValues']);_0x5cf60e&&(this['_activeAdjustPointList']=_0x5cf60e[_0x553f6c(0x295)](),this['_clearControls'](),this[_0x553f6c(0x3a9)](!0x0));}}}));}));}[_0x5a7f20(0x269)](){const _0x1f1a65=_0x5a7f20;this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x237)][_0x1f1a65(0x2ab)](_0x363056=>{const _0xd01b55=_0x1f1a65;if(_0x363056[_0xd01b55(0x3d6)]===0x1){let _0x2b792a=_0x363056[0x0];if(_0x2b792a[_0xd01b55(0x526)]===_0x5d8611[_0xd01b55(0x5f4)]){let {unitId:_0x30efec,subUnitId:_0x5cf3ee,drawingId:_0x21b2d0}=_0x2b792a,_0x1f4d77=this[_0xd01b55(0x502)](_0x30efec,_0x5cf3ee,_0x21b2d0);if(_0x1f4d77){var _0x22bec6,_0xd6af65;this['_activeImageId']=_0x21b2d0,this[_0xd01b55(0x479)]=_0x30efec,this[_0xd01b55(0x2aa)]=_0x5cf3ee;let _0xa9fb7=this[_0xd01b55(0x41f)](_0x30efec,_0x5cf3ee,_0x21b2d0),_0x2ff797=(_0xa9fb7==null||(_0x22bec6=_0xa9fb7['transform'])==null?void 0x0:_0x22bec6[_0xd01b55(0x3d7)])||0x0,_0xa9eba2=(_0xa9fb7==null||(_0xd6af65=_0xa9fb7[_0xd01b55(0x3ba)])==null?void 0x0:_0xd6af65[_0xd01b55(0x4c8)])||0x0,_0x562935=this[_0xd01b55(0x2b5)](_0x1f4d77[_0xd01b55(0x382)],_0x2ff797,_0xa9eba2,_0x1f4d77[_0xd01b55(0x344)]);_0x562935&&(this[_0xd01b55(0x413)]=_0x562935[_0xd01b55(0x295)]()),this['_clearControls'](),this[_0xd01b55(0x3a9)](!0x0);}else this[_0xd01b55(0x32f)]();}else this['_resetState']();}else this[_0xd01b55(0x32f)]();})),this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x47c)]['subscribe'](_0x4f2230=>{const _0x593636=_0x1f1a65;if(_0x4f2230[_0x593636(0x3d6)]===0x1){let _0x23764e=_0x4f2230[0x0],_0x8465c8=this['_drawingManagerService']['getDrawingByParam'](_0x23764e);(_0x8465c8==null?void 0x0:_0x8465c8['drawingType'])===_0x5d8611[_0x593636(0x5f4)]&&this[_0x593636(0x626)]===_0x23764e[_0x593636(0x1fb)]&&(this[_0x593636(0x30d)](),this['_createControls'](!0x0));}})),this[_0x1f1a65(0x404)](this[_0x1f1a65(0x65c)][_0x1f1a65(0x5bb)][_0x1f1a65(0x2ab)](_0x11868e=>{const _0x348499=_0x1f1a65;for(let _0x40923d of _0x11868e)this['_activeImageId']===_0x40923d[_0x348499(0x1fb)]&&this[_0x348499(0x32f)]();}));}['_resetState'](){const _0x5eecfe=_0x5a7f20;this[_0x5eecfe(0x626)]=null,this[_0x5eecfe(0x479)]=null,this[_0x5eecfe(0x2aa)]=null,this[_0x5eecfe(0x413)]=void 0x0,this['_clearControls']();}};function _0x5354(){const _0x1d9ca8=['parse','Dodecagon','adjName','changeStart$','SHAPE','flipX','getCurrentScrollState','_cxtHandlerPointerUp','input','ShapeStar7Icon','ShapeActionButtonEndIcon','startX','BUTTON_SELECTOR','complete','Sun','_sheetBasicShapeConnectionPointController','ShapeStar5Icon','drawingType','sheets-shape-ui.rotateRight90','defineProperty','linear','_commandService','type','sheets-shape-ui.shape.type.gear6','ShapeHorizontalScrollIcon','sheets-shape-ui.shape.type.cube','focus','Square','sheets-shape-ui.shape.type.folder-corner','sheets-shape-ui.fill.picture.align.tr','Large','img','isLineShape','_commandExecutedListener','ShapeActionButtonHomeIcon','sheets-shape-ui.shape.type.math-not-equal','ShapeLeftRightCircularArrowIcon','sqrt','_currentUniverService','ShapeLeftBraceIcon','blockArrow','Decagon','LongDashDot','_adjHandlerPointerMove','_handleFreeEndpointMove','sheets-shape-ui.line.sketchType.title','ShapeLeftRightUpArrowIcon','_handleFreeEndpointPointerUp','oKey','sheets-shape-ui.shape.type.wave','asObservable','NonIsoscelesTrapezoid','has','_initSheetChange','SHEET_SHAPE_UI_PLUGIN','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','_isImagePointerDown','getCurrentSkeleton','univer-flex\x20univer-flex-col\x20univer-gap-3','Round','sheets-shape-ui.shape.type.striped-right-arrow','registerFeatureMenuOffset','RoundDot','DiamondArrow','onDblclick$','_shapeTextEditingService','fillImageSource','sheets-shape-ui.shape.type.can','_connectorObjects','getOwnPropertyDescriptor','ShapeCornerIcon','ShapePieIcon','_getDrawingRect','floor','FlowchartProcess','127210prETZO','_addShapeConnectorHandlerObjects','_isDrawingShapePointDown','ShapeFlowChartMagneticDiskIcon','vertical','vertexAngle','sheets-shape-ui.shape.type.flow-chart-collate','getTransformer','sheets-shape-ui.line.arrowType.diamondArrow','getBoundingClientRect','sheets-shape-ui.shape.type.wedge-ellipse-callout','render','setShouldShowAdjust','ShapeRightArrowIcon','sheets-shape-ui.line.capType.title','_sidebarDisposable','getShapeTextData','sheets-shape-ui.line.transparency','sheets-shape-ui.fill.picture.scaleX','ShapeLeftArrowCalloutIcon','1537544LlYWyL','current','sheets-shape-ui.shape.type.left-up-arrow','span','keys','_currentScene','paragraphs','_sheetCanvasPopManagerService','_props','sheets-shape-ui.align.middle','_getConnectionSiteAngle','ShapeHomePlateIcon','beforeCommandExecuted','getStartConnectInfo','updateLinePoints','sheets-shape-ui.shape.type.flow-chart-merge','ShapeFlowChartSummingJunctionIcon','sheets-shape-ui.rotateLeft90','sheets-shape-ui.fill.picture.insert','sheet.operation.close-sheet-shape-format-panel','button','PieWedge','sheets-shape-ui.shape.type.action-button-blank','call','imageOpacity','univer-text-gray-500','ShapeTriangleIcon','QuadArrowCallout','_configService','univer-w-full','ShapeDodecagonIcon','_sheetPermissionCheckController','_clipService','_shapeId','_findShapeAtPoint','getSkeleton','_registerImageShapeClipDelegate','ShapeQuadArrowCalloutIcon','stopPropagation','setEditing','RightBracket','isHit','src','DiagStripe','viewportScrollX','sheets-shape-ui.align.left','sheets-shape-ui.shape.type.flow-chart-punched-tape','ShapeBentConnector3Icon','ShapeNonIsoscelesTrapezoidIcon','getConnectionInfo','_createCopyInfoByRange','image-clip-adjust-point-','ang','FromArray','3988zZylYu','setCanUseShapeClip','map','sheets-shape-ui.toolbar.verticalAlignMode.main','ActionButtonBlank','left','setShapeData','Chevron','_initEditingParams','includes','ShapeSunIcon','ShapeUpDownArrowIcon','VIEW_MAIN_LEFT','Tile','_getShapeAdjustPointListById','opacity','ShapeFlowChartTerminatorIcon','remove$','ShapeBentUpArrowIcon','#FFFFFF','UPDATE','getColorFromTheme','RightBrace','ShapeBorderCallout3Icon','activeAnObject','getBentTypeFromPoints','sheets-shape-ui.shape.type.arc','sheets-shape-ui.shape.type.flow-chart-decision','clip','ShapeFlowChartMultidocumentIcon','ShapeNotchedRightArrowIcon','ShapeStraightConnector1Icon','CurvedConnector3','_findNearestConnectionSite','sheets-shape-ui.shape.type.circular-arrow','AccentBorderCallout2','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','VIEW_MAIN_LEFT_TOP','ShapeRibbon2Icon','sheets-shape-ui.shape.type.left-right-arrow-callout','HorizontallyIcon','getShapeData','BlockArc','disableObjectsEvent','Solid','parseFloat','ShapeFlowChartConnectorIcon','sheets-shape-ui.shape.type.left-right-up-arrow','ShapeAccentBorderCallout3Icon','other','basicShape','sheets-shape-ui.shape.type.flow-chart-preparation','invert','sheets-shape-ui.shape.type.pentagon','getEditing','SolidFill','cxnPointRadius','ShapeActionButtonBackPreviousIcon','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','univer-mb-1\x20univer-rounded\x20univer-bg-gray-100\x20univer-px-3\x20univer-py-1.5\x20univer-text-xs\x20univer-font-medium\x20univer-text-gray-700\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-200','localToWorld','CircularArrow','_getZoomRatio','ShapeActionButtonReturnIcon','abs','sheets-shape-ui.shape.type.up-down-arrow-callout','resetCursor','updateContext','sheets-shape-ui.shape.type.flow-chart-manual-operation','sheets-shape-ui.shape.type.star12','Diamond','shapeModel','FlowchartOr','_registerDrawingMoveHandler','DRAWING_IMAGE','ShapeTrapezoidIcon','sheets-shape-ui.line.arrowSize.medium','ShapeUpArrowIcon','sheets-shape-ui.shape.type.action-button-end','sheets-shape-ui.line.joinType.miter','sheets-shape-ui.line.noLine','_registerGroupFeaturePasteHook','BOTTOM','shape-text-editor-position-wrapper','BracketPair','Linear','buildClipPath','sheets-shape-ui.shape.type.pie','object','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','Cube','set','ShapeCallout1Icon','Star32','visible','sheets-shape-ui.shape.type.wedge-rect-callout','711PJimvz','_showConnectionSites','Snip2SameRect','sheets-shape-ui.shape.type.irregular-seal2','editorHeight','ShapeSnip2SameRectIcon','interceptCommand','diamond','string','sheets-shape-ui.shape.type.decagon','_calculateFreeEndpointAngle','registerCommand','sheets-shape-ui.shape.type.action-button-movie','ShapeFlowChartDisplayIcon','_drawShapeText','_executeResizeCommand','RightJustifyingIcon','ShapeCurvedDownArrowIcon','replace','RightArrowCallout','addObject','push','cxnPointFill','sheets-shape-ui.line.dashType.dash','Star16','sheets-shape-ui.shape.type.flow-chart-or','computeConnectorResizeLayout','ShapeTextEditorContainer','_activeImageId','UNIVER_SHEET','EllipseRibbon','entries','sheets-shape-ui.shape.type.flow-chart-internal-storage','_shapes','_shapeUpdateListener','sheets-shape-ui.shape.type.curved-connector3-arrow2','onScrollAfter$','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_editingParams$','sheets-shape-ui','_updateTransform','stringify','strokeWidth','_adjName','sheets-shape-ui.fill.picture.scaleY','ShapeRectTextboxVerticalIcon','UpDownArrowCallout','_getSceneAndTransformerByDrawingSearch','Ellipse','ShapeDoubleWaveIcon','registerRenderModule','_config','computeStraightConnectorLayout','_initEvents','ShapeRightBracketIcon','FlowchartDecision','getDrawingData','sheets-shape-ui.fill.noFill','Triangle','_registerOperations','warn','decorate','ShapeHexagonIcon','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.notched-right-arrow','FlowchartMagneticTape','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','sheets-shape-ui.shape.type.chord','getSheetBySheetId','sheets-shape-ui.shape.type.star8','sheets-shape-ui.shape.type.half-frame','sheets-shape-ui.shape.type.up-down-arrow','setPrstGeom','FlowchartDisplay','onSavingEditorData$','connection-site-','sheets-shape-ui.shape.type.right-brace','sheets-shape-ui.shape.type.octagon','sheets-shape-ui.shape.type.math-plus','permissionCheckWithoutRange','_transform','_attachAdjustEvent','_drawingManagerService','sheets-shape-ui.shape.type.brace-pair','sheets-shape-ui.shape.type.triangle','getImage','getConnectionRelation','_sheetInterceptorService','ShapeCurvedLeftArrowIcon','sheets-shape-ui.shape.type.border-callout1','ShapeFlowChartOfflineStorageIcon','getActualSize','unitId','icon','updateDocumentStyle','sheets-shape-ui.line.beginArrowSize','sheets-shape-ui.shape.type.bevel','sheets-shape-ui.shape.type.snip1-rect','ShapeAccentCallout2Icon','[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering','ShapeDownArrowIcon','LeftRightArrowCallout','_addControl','ShapePlaqueIcon','#1a73e8','ShapeBevelIcon','onTransformChange$','cxnPointStrokeWidth','_cxnIndex','NoLine','drawing.operation.set-drawing-active','sheets-shape-ui.shape.type.line-inv','some','sheets-shape-ui.shape.type.chart-star','_activeAdjustInfo','syncExecuteCommand','SnipRoundRect','rect','sheets-shape-ui.shape.type.block-arc','MathPlus','redo','sheets-shape-ui.shape.type.square-tabs','sheets-shape-ui.shape.type.left-arrow','LeftRightCircularArrow','_activeShapeId','sheets-shape-ui.line.joinType.round','sheets-shape-ui.shape.type.accent-border-callout2','FlowchartOffPageConnector','registerFeaturePasteHook','target','_contextService','getMatrix','ShapeFlowChartSortIcon','_handleConnectedEndpointMove','onPointerDown$','AccentBorderCallout3','Round2DiagRect','sheets-shape-ui.shape.type.home-plate','sheets-shape-ui.toolbar.fillColor.main','bind','OPERATION','sheets-shape-ui.shape.type.left-circular-arrow','ShapeIcon','sheets-shape-ui.shape.type.flow-chart-offpage-connector','colStartX','ShapePentagonIcon','sheets-shape-ui.shape.type.bracket-pair','LeftCircularArrow','sheets-shape-ui.align.top','isStartConnectorPoint','_currentConnectionTarget','scale','ShapeBorderCallout2Icon','ShapeWedgeEllipseCalloutIcon','isHitLine','Angular','_init','sheets-shape-ui.toolbar.horizontalAlignMode.main','ShapeMathEqualIcon','getContextValue','sheets-shape-ui.shape.type.rect','FlowchartInternalStorage','ShapeRightArrowCalloutIcon','sheets-shape-ui.shape.type.action-button-document','clearTimeout','ShapeChordIcon','sheets-shape-ui.shape.type.horizontal-scroll','onRendered','Star8','startY','\x20px','Pie','deepClone','addImageSourceCache','version','FlowchartSort','sheets-shape-ui.line.arrowType.arrow','_handleBasicShapeUpdateConnectorLineShape','CROSSHAIR','changeEnd$','_copyInfo','Star10','highlighted','_baseDrawingRect','FORMAT','drawingId','sheets-shape-ui.shape.type.bent-connector3','VerticalScroll','isHighlighted','SolidLine','lineType','Round1Rect','TOP','_closeShapeEditPanel','values','Star4','sheets-shape-ui.shape.type.rt-triangle','_handleConnectorPointerUp','sheets-shape-ui.fill.gradientFill','setContextValue','_injector','_localeService','setZoomRatio','filter','ShapeRoundRectIcon','sheets-shape-ui.shape.type.bent-arrow','PaintBucketDoubleIcon','_getShapeAdjustInfosById','ShapeChevronIcon','error','_addShapeAdjustControl','ShapeStar12Icon','clearAdjustValue','custom','LeftRightUpArrow','getUnitId','HalfFrame','_onSavingEditorData$','updateConnectionDetection','sheets-shape-ui.shape.type.action-button-beginning','adjHandleSize','horizontal','getDocumentData','ShapeFolderCornerIcon','ActionButtonMovie','unsubscribe','LeftArrowCallout','_sheetsShapeService','_handleConnectedEndpointPointerUp','sheets-shape-ui.shape.type.left-right-circular-arrow','angular','URL','Stretch','ShapeHeptagonIcon','sheets-shape-ui.shape.type.round2-same-rect','_imageIoService','_baseTop','getZoomRatio','sheets-shape-ui.line.beginArrowType','value','_createShapeAdjustControls','params','imageFillMode','ActionButtonForwardNext','engine','focus$','saveImage','ActionButtonInformation','getViewport','Moon','gdRefR','StealthArrow','ShapeFlowChartInputOutputIcon','clear','sheets-shape-ui.line.title','sheets-shape-ui.shape.type.chart-plus','_cxtHandlerPointerMove','SquareTabs','Star5','capType','univer-pt-2','cxnPointStroke','ShapePlusIcon','univer-flex\x20univer-aspect-square\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-p-1\x20univer-text-gray-700\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-700','gradientType','ShapeIrregularSeal2Icon','HandDrawn','Teardrop','ShapeFlowChartOrIcon','isNaN','classType','_executeConnectedRouteResizeCommand','sheets-shape-ui.shape.type.straight-connector2','UNIVER_DOC','pipe','applyPoint','click','getAdjustValueByName','lineStrokeType','setDocumentData','_loadShapePictureFill','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','sheets-shape-ui.shape.type.border-callout2','ShapeRound2DiagRectIcon','LightningBolt','draw','_draw','_generatePasteMutations','getBatchRemoveOp','connector-handler-','sheets-shape-ui.shape.type.star16','_isStartAdjusting','mainComponent','_rerouteConnectorLine','AccentBorderCallout1','_registerFocusChangeHandler','ShapeCloudCalloutIcon','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','#ffffff','ShapeFlowChartPreparationIcon','section','ShapeCurvedConnector3Arrow1Icon','ShapeFlowChartOnlineStorageIcon','_isOpenedShapeEditPanel','35LPdqsr','ShapeRibbonIcon','ShapeCurvedRightArrowIcon','ShapeBracePairIcon','_isHighlighted','rectangle','_imageShapeClipController','subUnitId','getValue','ShapeVerticalScrollIcon','ShapeActionButtonBlankIcon','start','flowchart','sheet.command.set-shape-text-font-size','ShapeDownArrowCalloutIcon','ShapeStraightConnector2Icon','ShapeActionButtonSoundIcon','getCurrentLastSelection','file','FlowChartInputOutput','sheets-shape-ui.shape.type.star7','ShapeCurvedUpArrowIcon','transformByState','ShapeAccentCallout1Icon','sheet.shape.edit.panel','LeftRightArrow','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheet.command.shape-doc-align','sheets-shape-ui.line.endArrowSize','sheets-shape-ui.shape.type.quad-arrow','ShapeWedgeRoundRectCalloutIcon','CurvedRightArrow','Heart','CloudCallout','FlowchartPunchedCard','getDrawingPoints','_initPermission','1421292ZgfyNP','ChartX','doc','_focusedDrawings','name','_baseShapeWidth','shapeType','startOffset','Freehand','scene','_lastEditingShapeKey','translateWithPrecision','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','stroke','sheets-shape-ui.line.dashType.dashDot','sketchType','RightArrow','getSkeletonParam','_initialize','_subUnitId','subscribe','ShapeTeardropIcon','_transformCalculateSrcRect','sheets-shape-ui.shape.type.flow-chart-display','scaleX','ShapeQuadArrowIcon','BorderCallout2','ShapeStar32Icon','ctr','_index','_getOrCreateShapeModel','setCursor','sheets-shape-ui.shape.type.star5','QuadArrow','Miter','div','makeDirty','sheets-shape-ui.shape.type.round2-diag-rect','LeftBrace','onCommandExecuted','getDrawingOrder','ShapeSnip2DiagRectIcon','LAYOUT','domX','ShapeFlowChartProcessIcon','getObject','MEDIA','_executeConnectedRouteConnectionCommand','univer-text-sm','sheets-shape-ui.shape.type.funnel','_addShapeConnectorHandlerObject','setTimeout','_generateCutPasteMutations','forEach','FlowchartPunchedTape','drawWith','ShapeFlowChartExtractIcon','StraightConnector1','disableShapeOption','getDrawingEditable','Rect','startArrow','Pentagon','Image','sheets-shape-ui.shape.type.accent-callout1','sheets-shape-ui.config','WedgeRoundRectCallout','Medium','_executeConnectionCommand','getShapeModel','group','domY','ShapeMathPlusIcon','resize','_highlightedSiteIndex','getAncestorScale','packageName','ShapeLeftUpArrowIcon','sheets-shape-ui.shape.type.flow-chart-terminator','ShapeCloudIcon','onStarting','LeftRightRibbon','IrregularSeal1','sheets-shape-ui.shape.type.callout3','sheets-shape-ui.align.center','clip-','getParent','ShapeLeftArrowIcon','textRect','univer-text-xl\x20univer-text-gray-500','_targetShapeId','imageTile','ShapeActionButtonBeginningIcon','_drawingRenderService','ShapeActionButtonInformationIcon','Cloud','get','style','add$','srcRect','paragraphStyle','_setTransForm','toPrimitive','sheets-shape-ui.shape.type.diag-stripe','CornerTabs','close','ShapeUpDownArrowCalloutIcon','find','FlowchartManualInput','ShapeChartPlusIcon','297030DYMOQx','_activeShapeAdjustPointList','getBatchUpdateOp','getDrawingVisible','OpenArrow','sheets-shape-ui.shape.type.teardrop','starAndBanner','BorderCallout3','_clearControls','ActionButtonHome','_getShapeInfo','sheets-shape-ui.fill.picture.tileAsTexture','SELECTOR','mergeMenu','sheets-shape-ui.fill.pictureFill','univer-flex-1\x20univer-overflow-auto','_registerDrawingFocusChangeHandler','Star7','sheets-shape-ui.shape.type.rect-textbox-horizontal','sheets-shape-ui.line.dashType.title','_registerComponent','collapsed','ShapeStar10Icon','sheets-shape-ui.shape.type.hexagon','symbol','restore','ShapeFlowChartDelayIcon','endConnectionDetection','ShapeCubeIcon','sheets-shape-ui.fill.picture.offsetX','GradientFill','INSERT','ShapeCanIcon','blockExecuteWithoutPermission','ShapeParallelogramIcon','FlowchartOnlineStorage','#4285f4','isInGroup','sheets-shape-ui.line.arrowSize.small','sheets-shape-ui.shape.type.flow-chart-multidocument','_updateImageAdjValues','sheets-shape-ui.shape.type.action-button-sound','_resetState','transformForAngle','getCanvasElement','_shapeService','ShapeBlockArcIcon','rotation','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','univer-rounded-lg\x20univer-p-3','ShapeLeftRightArrowIcon','CurvedLeftArrow','ShapeSwooshArrowIcon','sheets-shape-ui.line.joinType.bevel','_reset','getObjectIncludeInGroup','_baseHeight','_renderManagerService','ShapeFlowChartAlternateProcessIcon','clone','Star6','_moveConnectorWithShape','sheets-shape-ui.shape.type.chart-x','adjustValues','ChartPlus','sheets-shape-ui.fill.picture.align.br','none','setAdjustValueByName','_drawSimpleText','DownArrowCallout','CurvedUpArrow','sheets-shape-ui.fill.color','Callout3','170TycUaA','sheets-shape-ui.fill.picture.align.r','sheets-shape-ui.line.dashType.roundDot','primary.600','size','ShapeSnipRoundRectIcon','_sidebarService','sheet.command.set-shape-text-font-size-increase','sheets-shape-ui.shape.type.math-minus','getAdjustNames','SwooshArrow','sheets-shape-ui.shape.type.flow-chart-online-storage','ActionButtonEnd','UUID','ShapeUpArrowCalloutIcon','ShapeDiagStripeIcon','clipByShape','UturnArrow','lineJoinType','getBatchAddOp','sheets-shape-ui.hidePanel','iterator','Bevel','image','radial','UpArrowCallout','undo','VIEW_MAIN','getRenderById','sheets-shape-ui.shape.type.accent-callout2','ShapeLineInvIcon','sheets-shape-ui.shape.type.flow-chart-punched-card','BracePair','getShapeType','ShapeBentConnector3Arrow2Icon','DownArrow','_baseWidth','startConnectionDetection','FlowchartSummingJunction','_sheetShapeAdjustController','renderDrawingShape','ShapeStar6Icon','ShapeFlowChartInternalStorageIcon','sheets-shape-ui.shape.type.flow-chart-sort','ShapeFlowChartPunchedCardIcon','sheets-shape-ui.shape.type.snip2-same-rect','setHighlighted','sheets-shape-ui.shape.type.parallelogram','dataStream','ShapeStar24Icon','_registerMoveHandler','sheetTransform','prstGeom','refreshAdjustControls','shapeId','_isConnecting','from','ShapeStar4Icon','ShapeFlowChartPredefinedProcessIcon','Corner','ActionButtonReturn','sheets-shape-ui.imagePanel.crop.shape','LEFT','_clearShapeAdjustControls','ShapeUturnArrowIcon','marginTop','sheets-shape-ui.shape.type.action-button-information','_sheetDrawingShapeRenderController','LeftArrow','changeShapeType','FlowchartDocument','ShapeCurvedConnector3Arrow2Icon','univer-size-full','gradientAngle','_updateSrcRectByTransform','StripedRightArrow','getInverseCoord','SquareDot','skeleton','RoundRect','sheets-shape-ui.shape.type.math-divide','ShapeBracketPairIcon','sheets-shape-ui.shape.type.curved-up-arrow','getCurrentTypeOfUnit$','getShapePopupMenus','composeMatrix','FlowchartPreparation','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','ActionButtonSound','multiply','register','_createControls','renderConfig','endArrow','FlowchartPredefinedProcess','sheets-shape-ui.shape.type.left-brace','AlignTopIcon','getRealBound','sheets-shape-ui.shapePosition','sheets-shape-ui.fill.transparency','ShapeMathDivideIcon','Octagon','sheets-shape-ui.shape.type.heart','ShapeFlowChartCollateIcon','line','sheets-shape-ui.shape.type.flow-chart-document','sheets-shape-ui.line.arrowSize.large','pluginName','transform','cos','sheets-shape-ui.line.sketchType.none','_draggingConnectorId','ShapeMathMinusIcon','editingParams$','Parallelogram','ActionButtonHelp','Gear6','_drawingType','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','shape-text-editor','shape-text-','univer-w-20','calculate','ShapeWaveIcon','ShapeSnip1RectIcon','sheets-shape-ui.line.arrowType.ovalArrow','_menuManagerService','ShapeRtTriangleIcon','ShapeLeftBracketIcon','REMOVE','adjHandleFill','WedgeRectCallout','getAdjustInfoByName','sheets-shape-ui.shape.type.up-arrow','featurePluginUpdateNotification','sheets-shape-ui.toggleFlipV','length','width','getEndConnectInfo','ShapeFlowChartManualOperationIcon','isHorizontal','BUTTON','_clearConnectionSites','484767DZnVfh','save','_activeShapeModel','COMMAND','dataModel','_attachConnectorObjectEvent','sheetViewStartColumn','sheets-shape-ui.shape.type.double-wave','MathNotEqual','ShapeActionButtonMovieIcon','sheets-shape-ui.fill.picture.align.tl','Heptagon','min','point','enableObjectsEvent','_baseShapeTop','sheets-shape-ui.shape.type.diamond','removeLinePoints','getConnectionSiteList','subscribeEvent','sheets-shape-ui.line.endArrowType','_openShapeEditPanel','_sheetSkeletonService','calcAdjValue','univer-mb-2','START','relation','ShapeOctagonIcon','ActionButtonBeginning','body','prototype','sheets-shape-ui.line.arrowType.openArrow','ShapePieWedgeIcon','CUT','ShapeFlowChartDocumentIcon','ShapeLeftRightRibbonIcon','ShapeMathMultiplyIcon','angle','worldRect','disposeWithMe','sheets-shape-ui.shape.type.star32','top','ShapeSquareTabsIcon','_getConnectPointInfo','_adjHandlerPointerUp','setSrcRect','blur','EllipseRibbon2','ShapeAccentBorderCallout1Icon','ShapeAccentCallout3Icon','gdRefAng','_initCommands','AlignBottomIcon','ShapeWedgeRectCalloutIcon','_activeAdjustPointList','LeftBracket','DRAWING_SHAPE','ShapeFrameIcon','ShapeEllipseIcon','slice','_drawRichText','sheets-shape-ui.line.sketchType.handDrawn','documentStyle','localeService','pushUndoRedo','univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-3\x20univer-py-1\x20univer-text-sm\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20disabled:univer-cursor-not-allowed\x20disabled:univer-opacity-50\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','_getImageDrawingInfo','ShapeActionButtonHelpIcon','BentArrow','ShapeHalfFrameIcon','#bcbcbc','rowStartY','Callout2','ShapeRound2SameRectIcon','_hasReset','_baseShapeLeft','AccentCallout2','activeSheet$','ShapeLeftRightArrowCalloutIcon','Flat','sheets-shape-ui.shape.type.flow-chart-manual-input','max','ShapeRectTextboxHorizontalIcon','fillType','sheets-shape-ui.shape.type.corner','cxnIndex','univer-text-primary-600','_context','FlowChartOfflineStorage','_isShouldShowDrawingShapeAdjust','sheets-shape-ui.shape.type.accent-border-callout1','ActionButtonDocument','sheets-shape-ui.permission.editErr','sheets-shape-ui.fill.picture.offsetY','getFocusDrawings','ShapeCircularArrowIcon','_drawingAddListener','_getScrollInfo','ShapeMathNotEqualIcon','indexOf','GROUP','onPointerUp$','_baseShapeHeight','ShapeFunnelIcon','ShapeActionButtonDocumentIcon','ShapeSmileyFaceIcon','reduce','verticalAlign','sheets-shape-ui.line.dashType.longDashDotDot','univer-flex\x20univer-items-center\x20univer-justify-between','sheets-shape-ui.shape.type.ellipse','ShapeFlowChartMagneticDrumIcon','RIGHT','FlowchartCollate','sheets-shape-ui.line.capType.round','sheet.shape.picker.component','sheets-shape-ui.fill.picture.source','WRAP','sheets-shape-ui.shape.type.curved-right-arrow','ShapeCallout3Icon','_loadAndSetImage','sheets-shape-ui.shape.type.chevron','sheets-shape-ui.shape.type.quad-arrow-callout','sheets-shape-ui.shape.type.right-bracket','sheets-shape-ui.shape.type.action-button-return','sheets-shape-ui.fill.solidFill','shapeKey','getConnectorLinePoints','ShapeStar8Icon','ShapeCornerTabsIcon','sheets-shape-ui.shape.type.plaque','sheets-shape-ui.shape.type.irregular-seal1','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeLineIcon','FlowchartDelay','1485750mfXFnA','focusDrawing','sheets-shape-ui.fill.picture.align.b','sheets-shape-ui.shape.type.cloud','horizontalAlign','sheets-shape-ui.shape.type.border-callout3','_initMenu','objects','getState','fill','sheets-shape-ui.shape.type.flow-chart-alternate-process','ShapeFlowChartMergeIcon','ShapeCallout2Icon','sheets-shape-ui.shape.type.snip-round-rect','index','dashType','sheets-shape-ui.shape.type.curved-left-arrow','ShapeEllipseRibbonIcon','sheets-shape-ui.line.joinType.title','updateDocumentRenderConfig','offsetY','_unitId','ShapeGear6Icon','sheets-shape-ui.line.dashType.longDashDot','update$','sheet.operation.open-sheet-shape-format-panel','sheets-shape-ui.openPanel','_registerShapeMenu','imageRotateWithShape','sheets-shape-ui.shape.type.flow-chart-process','ShapeChartXIcon','onload','AccentCallout1','scaleY','_sheetClipboardService','sheets-shape-ui.shape.type.star4','PictureFill','_generateCopyPasteMutations','onPointerMove$','getImageSourceCache','Small','setSelectionRanges','ShapeMoonIcon','sheets-shape-ui.shape.type.plus','worldPoint','sheets-shape-ui.shape.type.heptagon','clearAdjustControls','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0.25.0','sheet.command.update-shape-data','CurvedDownArrow','sheets-shape-ui.line.dashType.longDash','getTransformerByCreate','FoldedCorner','with','next','_sheetDrawingService','_activeTargetShapeId','subscribeContextValue$','equationShape','ShapeFlowChartOffpageConnectorIcon','sheets-shape-ui.shape.type.plaque-tabs','_updateAdjustControlPositions','Arrow','ShapeHeartIcon','sin','targetShapeId','shape-adjust-point-','gdRefY','LeftUpArrow','ShapePlaqueTabsIcon','_groupCopyPasteController','_clearShapeConnectorHandlerObjects','univer-w-28','_insertShapes','sheets-shape-ui.shape.type.left-bracket','viewportScrollY','sheets-shape-ui.shape.group.','getDrawingByParam','sheets-shape-ui.shape.type.ribbon2','getShapeDataById','dispose','BentConnector3','files','function','centerAngle','callout','MIDDLE','sheets-shape-ui.shape.type.ellipse-ribbon2','ShapeCurvedConnector3Icon','isArray','setFillImage','_univerInstanceService','sheets-shape-ui.shape.type.left-right-arrow','sheets-shape-ui.shape.type.accent-border-callout3','end','UpDownArrow','#000000','gradientStops','gdRefX','height','getBasicShapeRelation','Plus','sheets-shape-ui.shape.type.uturn-arrow','ShapeDiamondIcon','univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-px-2\x20univer-py-1\x20univer-transition-colors\x20hover:univer-border-primary-600\x20hover:univer-bg-gray-100\x20dark:!univer-border-gray-600\x20dark:hover:!univer-bg-gray-700','color','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','sheets-shape-ui.shape.type.left-right-ribbon','sheets-shape-ui.toggleFlipH','ShapeStripedRightArrowIcon','ShapeEllipseRibbon2Icon','DoubleWave','sheets-shape-ui.shape.type.flow-chart-offline-storage','FlowchartMerge','sheets-shape-ui.shape.type.rect-textbox-vertical','univer-text-gray-600\x20univer-transition-transform','getShapeTextRect','ShapeRightBraceIcon','add','None','sheets-shape-ui.shape.type.action-button-back-previous','_activeShapeInfo','sheets-shape-ui.shape.type.action-button-help','univer-hidden','sheets-shape-ui.shape.type.dodecagon','_initSelection','Snip1Rect','flipY','fillImageSourceType','sheets-shape-ui.shape.type.donut','getUnit','beginPath','changing$','sheets-shape-ui.shape.type.lightning-bolt','executeCommand','ShapeFlowChartPunchedTapeIcon','shapeData','univer-box-border\x20univer-px-4\x20univer-text-sm','_updateShapeAdjustControls','sheets-shape-ui.shape.type.flow-chart-delay','isEditing','setOnSavingEditorData','ShapeIrregularSeal1Icon','alignment','SHAPE_TEXT','sheets-shape-ui.shape.type.star10','setConfig','ShapeRound1RectIcon','FlowchartAlternateProcess','round','_connectionSiteObjects','setShapeProps','isRenderLinePointsMode','updateShapeFillImage','BorderCallout1','FlowchartMagneticDisk','sheet.command.set-shape-text-font-size-decrease','_getImagePrstGeom','sheets-shape-ui.shape.type.round1-rect','WedgeEllipseCallout','ancestorTransform','sheets-shape-ui.formatShape','DashDot','FlowchartMagneticDrum','pick','ShapeFlowChartDecisionIcon','prstGeomAdjValues','OvalArrow','deg)\x20scaleY(','sheets-shape-ui.shape.type.curved-connector3','sheets-shape-ui.shape.type.snip2-diag-rect','sheets-shape-ui.shape.type.corner-tabs','Donut','ShapeNoSmokingIcon','NotchedRightArrow','getDrawingSearch'];_0x5354=function(){return _0x1d9ca8;};return _0x5354();}Fo=$([Q(0x1,_0x2ac48c),Q(0x2,_0x1e77ba(_0x43fdcf)),Q(0x3,_0x1005f5),Q(0x4,_0x1e77ba(_o))],Fo);let Io=class extends _0x185401{constructor(_0x539dd6,_0x3ef57e,_0x535e8f,_0x5800d8){const _0x23b418=_0x5a7f20;super(),this[_0x23b418(0x4c0)]=_0x539dd6,this[_0x23b418(0x661)]=_0x3ef57e,this[_0x23b418(0x49c)]=_0x535e8f,this['_sheetsShapeService']=_0x5800d8,this['_initSheetChange']();}[_0x5a7f20(0x54a)](){const _0x85297b=_0x5a7f20;this[_0x85297b(0x404)](this['_sheetInterceptorService'][_0x85297b(0x610)]({'getMutations':_0xfe6010=>{const _0x1f9b0b=_0x85297b;if(_0xfe6010['id']===_0x2f1184['id']){let _0x1280e9=_0x4ed56f(this[_0x1f9b0b(0x4c0)],_0xfe6010['params']);if(!_0x1280e9)return{'redos':[],'undos':[]};let {unitId:_0x46a031,subUnitId:_0x12a7e2}=_0x1280e9,_0x17d2ce=this[_0x1f9b0b(0x49c)]['getDrawingData'](_0x46a031,_0x12a7e2),_0x1e0c79=Object[_0x1f9b0b(0x204)](_0x17d2ce)['filter'](_0xe961ff=>_0xe961ff['drawingType']===_0x5d8611[_0x1f9b0b(0x415)]);if(_0x1e0c79[_0x1f9b0b(0x3d6)]===0x0)return{'redos':[],'undos':[]};let _0x116ade=[],_0x2c550a=[];for(let _0x283dd2=0x0;_0x283dd2<_0x1e0c79[_0x1f9b0b(0x3d6)];_0x283dd2++){let _0x2971e4=_0x1e0c79[_0x283dd2],_0x2206eb=this['_sheetsShapeService'][_0x1f9b0b(0x2dc)](_0x2971e4[_0x1f9b0b(0x666)],_0x2971e4[_0x1f9b0b(0x279)],_0x2971e4['drawingId']);if(!_0x2206eb)continue;let {redo:_0x5d766f,undo:_0x3444f9,objects:_0x2a82db}=this[_0x1f9b0b(0x49c)][_0x1f9b0b(0x262)]([_0x2971e4]);_0x116ade[_0x1f9b0b(0x61f)]({'id':_0x1afa91['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'shapeId':_0x2971e4[_0x1f9b0b(0x1fb)]}}),_0x116ade[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'type':_0x25351c['REMOVE'],'op':_0x5d766f,'objects':_0x2a82db}}),_0x2c550a[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'type':_0x25351c[_0x1f9b0b(0x324)],'op':_0x3444f9,'objects':_0x2a82db}}),_0x2c550a[_0x1f9b0b(0x61f)]({'id':_0x265a48['id'],'params':{'unitId':_0x46a031,'subUnitId':_0x12a7e2,'shapeId':_0x2971e4[_0x1f9b0b(0x1fb)],'shapeType':_0x2206eb[_0x1f9b0b(0x36f)](),'shapeData':JSON[_0x1f9b0b(0x515)](JSON[_0x1f9b0b(0x633)](_0x2206eb[_0x1f9b0b(0x5d3)]()))}});}return{'redos':_0x116ade,'undos':_0x2c550a};}else{if(_0xfe6010['id']===_0xd48fc4['id']){let {unitId:_0x53bdf2,subUnitId:_0x167a09,targetSubUnitId:_0x3908ad}=_0xfe6010[_0x1f9b0b(0x233)];if(!_0x53bdf2||!_0x167a09||!_0x3908ad)return{'redos':[],'undos':[]};let _0x2e9646=this['_sheetDrawingService'][_0x1f9b0b(0x642)](_0x53bdf2,_0x167a09),_0x24f969=Object['values'](_0x2e9646)['filter'](_0x248b9a=>_0x248b9a[_0x1f9b0b(0x526)]===_0x5d8611[_0x1f9b0b(0x415)]);if(_0x24f969['length']===0x0)return{'redos':[],'undos':[]};let _0x13b7f1=[],_0x43b8a4=[];for(let _0x349df2=0x0;_0x349df2<_0x24f969[_0x1f9b0b(0x3d6)];_0x349df2++){let _0x45d937=_0x24f969[_0x349df2],_0xd37fbd=this[_0x1f9b0b(0x225)][_0x1f9b0b(0x2dc)](_0x45d937[_0x1f9b0b(0x666)],_0x45d937[_0x1f9b0b(0x279)],_0x45d937[_0x1f9b0b(0x1fb)]);if(!_0xd37fbd)continue;let _0x74db59=_0x1ecc78(),_0x38eefd={..._0x45d937,'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'drawingId':_0x74db59},{redo:_0x3b56bf,undo:_0x44d7c4,objects:_0x4ec12c}=this[_0x1f9b0b(0x49c)][_0x1f9b0b(0x361)]([_0x38eefd]);_0x13b7f1[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'type':_0x25351c[_0x1f9b0b(0x324)],'op':_0x3b56bf,'objects':_0x4ec12c}}),_0x13b7f1['push']({'id':_0x265a48['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'shapeId':_0x74db59,'shapeType':_0xd37fbd['getShapeType'](),'shapeData':JSON['parse'](JSON['stringify'](_0xd37fbd[_0x1f9b0b(0x5d3)]()))}}),_0x43b8a4['push']({'id':_0x1afa91['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'shapeId':_0x74db59}}),_0x43b8a4[_0x1f9b0b(0x61f)]({'id':_0x423692['id'],'params':{'unitId':_0x53bdf2,'subUnitId':_0x3908ad,'type':_0x25351c[_0x1f9b0b(0x3cf)],'op':_0x44d7c4,'objects':_0x4ec12c}});}return{'redos':_0x13b7f1,'undos':_0x43b8a4};}}return{'redos':[],'undos':[]};}}));}};Io=$([Q(0x0,_0x1e77ba(_0x1005f5)),Q(0x1,_0x1e77ba(_0x345a24)),Q(0x2,_0x1e77ba(_0x1aa5fa)),Q(0x3,_0x1e77ba(_0xc9428c))],Io);let Lo=class extends _0x185401{constructor(_0x55037f,_0x25f42c,_0x1b5d27,_0x4eeea9,_0x5c65bf){const _0x41ac74=_0x5a7f20;super(),this[_0x41ac74(0x434)]=_0x55037f,this['_shapeTextEditingService']=_0x25f42c,this[_0x41ac74(0x65c)]=_0x1b5d27,this[_0x41ac74(0x1c4)]=_0x4eeea9,this[_0x41ac74(0x225)]=_0x5c65bf,Y(this,_0x41ac74(0x2a1),null),this[_0x41ac74(0x63f)](),this['_initSelection'](),this[_0x41ac74(0x5b2)]();}['_initEvents'](){const _0x502b60=_0x5a7f20;let {scene:_0x33ee31}=this['_context'];this[_0x502b60(0x404)](_0x33ee31[_0x502b60(0x555)][_0x502b60(0x3f0)](_0x6c0246=>{const _0x416826=_0x502b60;let {offsetX:_0x5d3943,offsetY:_0x256ec3}=_0x6c0246,_0x40fdbc=_0x33ee31[_0x416826(0x509)](_0x140ff4[_0x416826(0x5a9)]([_0x5d3943,_0x256ec3]));if(_0x40fdbc instanceof to){if(_0x39df67(this[_0x416826(0x225)]['getShapeType'](_0x40fdbc[_0x416826(0x666)],_0x40fdbc[_0x416826(0x279)],_0x40fdbc[_0x416826(0x384)])))return;this[_0x416826(0x556)][_0x416826(0x59b)]({'visible':!0x0,'unitId':_0x40fdbc[_0x416826(0x666)],'subUnitId':_0x40fdbc[_0x416826(0x279)],'shapeId':_0x40fdbc[_0x416826(0x384)],'shapeKey':_0x40fdbc[_0x416826(0x545)]});}}));}[_0x5a7f20(0x4e2)](){const _0x360c4e=_0x5a7f20;this[_0x360c4e(0x404)](this[_0x360c4e(0x65c)][_0x360c4e(0x237)][_0x360c4e(0x2ab)](_0x5b0d8d=>{const _0xa5a9a9=_0x360c4e;if(_0x5b0d8d[_0xa5a9a9(0x3d6)]===0x1){let _0x21ee87=_0x5b0d8d[0x0],_0x11bcf4=this[_0xa5a9a9(0x65c)]['getDrawingByParam'](_0x21ee87);if((_0x11bcf4==null?void 0x0:_0x11bcf4['drawingType'])===_0x5d8611[_0xa5a9a9(0x415)]){let _0x1afdd3=this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]();if((_0x1afdd3==null?void 0x0:_0x1afdd3[_0xa5a9a9(0x384)])===_0x21ee87[_0xa5a9a9(0x1fb)]&&_0x1afdd3['visible'])return;_0x39df67(this['_sheetsShapeService'][_0xa5a9a9(0x36f)](_0x21ee87['unitId'],_0x21ee87[_0xa5a9a9(0x279)],_0x21ee87[_0xa5a9a9(0x1fb)]))&&this[_0xa5a9a9(0x556)]['setEditing'](null);}else this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]()&&(this[_0xa5a9a9(0x556)][_0xa5a9a9(0x4f2)](!0x0),requestAnimationFrame(()=>{const _0x4b68ee=_0xa5a9a9;this['_shapeTextEditingService'][_0x4b68ee(0x59b)](null);}));}else this[_0xa5a9a9(0x556)][_0xa5a9a9(0x5e0)]()&&(this[_0xa5a9a9(0x556)][_0xa5a9a9(0x4f2)](!0x0),requestAnimationFrame(()=>{const _0x28b533=_0xa5a9a9;this['_shapeTextEditingService'][_0x28b533(0x59b)](null);}));})),this[_0x360c4e(0x404)](this[_0x360c4e(0x65c)][_0x360c4e(0x5bb)]['subscribe'](_0x2b49bc=>{const _0xe04986=_0x360c4e;let _0x46e8f0=this[_0xe04986(0x556)][_0xe04986(0x5e0)]();_0x46e8f0&&_0x2b49bc[_0xe04986(0x67a)](_0x597cc9=>_0x597cc9[_0xe04986(0x1fb)]===_0x46e8f0['shapeId'])&&this['_shapeTextEditingService'][_0xe04986(0x59b)](null);}));}[_0x5a7f20(0x5b2)](){const _0x59a034=_0x5a7f20;this['disposeWithMe'](this[_0x59a034(0x556)][_0x59a034(0x3bf)][_0x59a034(0x2ab)](_0x510bb5=>{const _0x3d17e3=_0x59a034;let {scene:_0x357ceb}=this[_0x3d17e3(0x434)];if(this[_0x3d17e3(0x2a1)]){let _0xb6ac9=_0x357ceb['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0xb6ac9&&_0xb6ac9[_0x3d17e3(0x59b)](!0x1);}if(_0x510bb5){let _0x3eab21=!!_0x510bb5['visible'],_0x25950a=_0x357ceb[_0x3d17e3(0x33c)](_0x510bb5[_0x3d17e3(0x45b)]);_0x25950a&&(_0x25950a[_0x3d17e3(0x59b)](_0x3eab21),this[_0x3d17e3(0x2a1)]=_0x510bb5[_0x3d17e3(0x45b)]),this['_contextService']['setContextValue'](_0x414a62,_0x3eab21);}else this['_lastEditingShapeKey']=null,this[_0x3d17e3(0x1c4)][_0x3d17e3(0x209)](_0x414a62,!0x1);}));}};Lo=$([Q(0x1,_0x1e77ba(X)),Q(0x2,_0x2ac48c),Q(0x3,_0x2d6196),Q(0x4,_0x1e77ba(_0xc9428c))],Lo);const Ro={'normal':{'fill':_0x9a1b85[_0x5a7f20(0x620)],'stroke':_0x9a1b85['cxnPointStroke'],'strokeWidth':_0x9a1b85[_0x5a7f20(0x675)]},'highlighted':{'fill':_0x5a7f20(0x329),'stroke':_0x5a7f20(0x672),'strokeWidth':0x2}};var zo=class extends _0xe1d4df{constructor(_0x15823b,_0x595711){const _0x3011ae=_0x5a7f20;super(_0x15823b,_0x595711),Y(this,_0x3011ae(0x2f1),''),Y(this,_0x3011ae(0x676),-0x1),Y(this,'_unitId',''),Y(this,_0x3011ae(0x2aa),''),Y(this,_0x3011ae(0x276),!0x1),_0x595711&&this[_0x3011ae(0x4fc)](_0x595711);}[_0x5a7f20(0x5a5)](){const _0x2c69e4=_0x5a7f20;return{'unitId':this['_unitId'],'subUnitId':this[_0x2c69e4(0x2aa)],'shapeId':this['_targetShapeId'],'cxnIndex':this['_cxnIndex']};}['setHighlighted'](_0x4efd02){const _0x2930f5=_0x5a7f20;this[_0x2930f5(0x276)]!==_0x4efd02&&(this['_isHighlighted']=_0x4efd02,this['makeDirty'](!0x0));}[_0x5a7f20(0x1fe)](){const _0x462f25=_0x5a7f20;return this[_0x462f25(0x276)];}[_0x5a7f20(0x4fc)](_0x3d2c5a){const _0xe3b4aa=_0x5a7f20;var _0x30dd62,_0x4aebcb;_0x3d2c5a[_0xe3b4aa(0x4a6)]!==void 0x0&&(this[_0xe3b4aa(0x2f1)]=_0x3d2c5a[_0xe3b4aa(0x4a6)]),_0x3d2c5a[_0xe3b4aa(0x432)]!==void 0x0&&(this[_0xe3b4aa(0x676)]=_0x3d2c5a[_0xe3b4aa(0x432)]),_0x3d2c5a[_0xe3b4aa(0x666)]!==void 0x0&&(this[_0xe3b4aa(0x479)]=_0x3d2c5a['unitId']),_0x3d2c5a['subUnitId']!==void 0x0&&(this[_0xe3b4aa(0x2aa)]=_0x3d2c5a['subUnitId']),_0x3d2c5a[_0xe3b4aa(0x1fe)]!==void 0x0&&(this['_isHighlighted']=_0x3d2c5a[_0xe3b4aa(0x1fe)]),this[_0xe3b4aa(0x288)]({'width':(_0x30dd62=_0x3d2c5a[_0xe3b4aa(0x3d7)])==null?_0x9a1b85[_0xe3b4aa(0x5e2)]*0x2:_0x30dd62,'height':(_0x4aebcb=_0x3d2c5a['height'])==null?_0x9a1b85[_0xe3b4aa(0x5e2)]*0x2:_0x4aebcb});}[_0x5a7f20(0x260)](_0x2098e2){const _0xb816bc=_0x5a7f20;let _0x335b46=this[_0xb816bc(0x276)]?Ro[_0xb816bc(0x1f8)]:Ro['normal'];_0x574c0f[_0xb816bc(0x2ce)](_0x2098e2,{'radius':_0x9a1b85['cxnPointRadius'],'fill':_0x335b46[_0xb816bc(0x46d)],'stroke':_0x335b46[_0xb816bc(0x2a4)],'strokeWidth':_0x335b46[_0xb816bc(0x634)],'evented':!0x0});}};let Bo=class extends _0x185401{constructor(_0x32b241,_0x325870,_0x3a7795,_0x5dd32a){const _0x279a6f=_0x5a7f20;super(),this['_context']=_0x32b241,this['_renderManagerService']=_0x325870,this[_0x279a6f(0x65c)]=_0x3a7795,this['_sheetsShapeService']=_0x5dd32a,Y(this,_0x279a6f(0x4fb),[]),Y(this,_0x279a6f(0x49d),null),Y(this,_0x279a6f(0x2e1),-0x1),Y(this,'_currentScene',null),Y(this,'_unitId',''),Y(this,_0x279a6f(0x2aa),''),Y(this,_0x279a6f(0x3bd),null);}[_0x5a7f20(0x373)](_0x313405,_0x31e5fa,_0x5106ab,_0x414e1d){const _0x308319=_0x5a7f20;this[_0x308319(0x579)]=_0x313405,this[_0x308319(0x479)]=_0x31e5fa,this[_0x308319(0x2aa)]=_0x5106ab,this[_0x308319(0x3bd)]=_0x414e1d;}[_0x5a7f20(0x21c)](_0x2a2f69){const _0x158c14=_0x5a7f20;if(!this['_currentScene'])return null;let _0xbd6c04=this[_0x158c14(0x596)](_0x2a2f69);return _0xbd6c04?(this[_0x158c14(0x49d)]!==_0xbd6c04['shapeId']&&(this[_0x158c14(0x3dc)](),this['_showConnectionSites'](_0xbd6c04[_0x158c14(0x384)],_0xbd6c04['shapeModel']),this[_0x158c14(0x49d)]=_0xbd6c04[_0x158c14(0x384)]),this['_findNearestConnectionSite'](_0x2a2f69)):(this[_0x158c14(0x49d)]!==null&&(this[_0x158c14(0x3dc)](),this[_0x158c14(0x49d)]=null),null);}[_0x5a7f20(0x320)](){const _0x42014d=_0x5a7f20;this[_0x42014d(0x3dc)](),this[_0x42014d(0x579)]=null,this[_0x42014d(0x49d)]=null,this[_0x42014d(0x2e1)]=-0x1,this[_0x42014d(0x3bd)]=null;}[_0x5a7f20(0x660)](){const _0x109dd6=_0x5a7f20;return this[_0x109dd6(0x49d)]===null||this[_0x109dd6(0x2e1)]<0x0?null:{'shapeId':this[_0x109dd6(0x49d)],'cxnIndex':this['_highlightedSiteIndex']};}[_0x5a7f20(0x596)](_0x44823d){const _0x117d66=_0x5a7f20;let _0x26c78c=this[_0x117d66(0x65c)][_0x117d66(0x642)](this[_0x117d66(0x479)],this[_0x117d66(0x2aa)]);for(let _0x359af4 of Object[_0x117d66(0x578)](_0x26c78c)){if(_0x359af4===this[_0x117d66(0x3bd)]||_0x26c78c[_0x359af4]['drawingType']!==_0x5d8611['DRAWING_SHAPE'])continue;let _0x25333b=this[_0x117d66(0x225)][_0x117d66(0x2dc)](this[_0x117d66(0x479)],this[_0x117d66(0x2aa)],_0x359af4);if(!_0x25333b||_0x39df67(_0x25333b[_0x117d66(0x36f)]())||_0x25333b[_0x117d66(0x3ef)]()[_0x117d66(0x3d6)]===0x0||!this[_0x117d66(0x579)])continue;let _0xb2c872=_0x46e3e9({'unitId':this[_0x117d66(0x479)],'subUnitId':this[_0x117d66(0x2aa)],'drawingId':_0x359af4}),_0x44dda6=this[_0x117d66(0x579)][_0x117d66(0x33c)](_0xb2c872);if(!_0x44dda6)continue;let {left:_0x144b4c,top:_0x102834,width:_0x1754fe,height:_0x19077e}=_0x44dda6[_0x117d66(0x3af)](),_0x2000e7=_0x144b4c+_0x1754fe/0x2,_0x113ca1=_0x102834+_0x19077e/0x2,_0x30efd2=_0x44dda6[_0x117d66(0x3ba)][_0x117d66(0x1c5)](),_0xa112bb=new _0x155f20([_0x30efd2[0x0],_0x30efd2[0x1],_0x30efd2[0x2],_0x30efd2[0x3],_0x2000e7,_0x113ca1]),_0x4de3f1=_0x44dda6[_0x117d66(0x2ed)](),_0x1e1d8a=(_0x44dda6[_0x117d66(0x32a)]&&(_0x4de3f1==null?void 0x0:_0x4de3f1[_0x117d66(0x250)])===_0x558a8a['GROUP']?_0x4de3f1[_0x117d66(0x505)]['multiply'](_0xa112bb):_0xa112bb)[_0x117d66(0x5de)]()[_0x117d66(0x255)](_0x44823d),_0x2511dd=_0x1754fe/0x2,_0x590722=_0x19077e/0x2;if(_0x1e1d8a['x']>=-_0x2511dd-0x5&&_0x1e1d8a['x']<=_0x2511dd+0x5&&_0x1e1d8a['y']>=-_0x590722-0x5&&_0x1e1d8a['y']<=_0x590722+0x5)return{'shapeId':_0x359af4,'shapeModel':_0x25333b};}return null;}[_0x5a7f20(0x60b)](_0x518211,_0x521159){const _0x316248=_0x5a7f20;if(!this[_0x316248(0x579)])return;let _0x5928a8=_0x46e3e9({'unitId':this[_0x316248(0x479)],'subUnitId':this[_0x316248(0x2aa)],'drawingId':_0x518211}),_0x156e64=this[_0x316248(0x579)][_0x316248(0x33c)](_0x5928a8);if(!_0x156e64)return;let {left:_0x1c0963,top:_0x24d6af,width:_0x17f81d,height:_0x368fe3}=_0x156e64[_0x316248(0x3af)](),_0x24ffbe=_0x1c0963+_0x17f81d/0x2,_0x4fd42d=_0x24d6af+_0x368fe3/0x2,_0x5da024=_0x156e64['transform'][_0x316248(0x1c5)](),_0xedcbb7=new _0x155f20([_0x5da024[0x0],_0x5da024[0x1],_0x5da024[0x2],_0x5da024[0x3],_0x24ffbe,_0x4fd42d]),_0xfee302=_0x156e64[_0x316248(0x2ed)](),_0x43d8a3=_0x156e64[_0x316248(0x32a)]&&(_0xfee302==null?void 0x0:_0xfee302['classType'])===_0x558a8a[_0x316248(0x441)]?_0xfee302[_0x316248(0x505)]['multiply'](_0xedcbb7):_0xedcbb7;_0x521159[_0x316248(0x5ed)]({'width':_0x17f81d,'height':_0x368fe3});let _0x4665f1=_0x521159[_0x316248(0x3ef)]();for(let _0x48aacc of _0x4665f1){let _0x849a23=_0x48aacc['x']-_0x17f81d/0x2,_0x19bb6d=_0x48aacc['y']-_0x368fe3/0x2,_0x19f818=_0x43d8a3[_0x316248(0x255)]({'x':_0x849a23,'y':_0x19bb6d}),_0x358339=_0x19f818['x'],_0xfe366a=_0x19f818['y'],_0x279aca=new zo(_0x316248(0x655)+_0x518211+'-'+_0x48aacc[_0x316248(0x472)],{'left':_0x358339-_0x9a1b85[_0x316248(0x5e2)],'top':_0xfe366a-_0x9a1b85[_0x316248(0x5e2)],'targetShapeId':_0x518211,'cxnIndex':_0x48aacc[_0x316248(0x472)],'unitId':this[_0x316248(0x479)],'subUnitId':this[_0x316248(0x2aa)],'width':_0x9a1b85[_0x316248(0x5e2)]*0x2,'height':_0x9a1b85[_0x316248(0x5e2)]*0x2,'zIndex':_0x3929c9+0x2,'evented':!0x1});this[_0x316248(0x4fb)][_0x316248(0x61f)](_0x279aca),this['_currentScene'][_0x316248(0x61e)](_0x279aca,_0x3929c9+0x2);}}[_0x5a7f20(0x5cb)](_0x15b5b2){const _0x3965af=_0x5a7f20;let _0x4678f8=null,_0xeff708=0x1/0x0,_0x335a79=null;for(let _0xd51888 of this[_0x3965af(0x4fb)]){let _0x3e41af=_0xd51888[_0x3965af(0x5af)]+_0x9a1b85[_0x3965af(0x5e2)],_0x38a5f1=_0xd51888[_0x3965af(0x406)]+_0x9a1b85[_0x3965af(0x5e2)],_0x5c16c2=_0x15b5b2['x']-_0x3e41af,_0x4cd272=_0x15b5b2['y']-_0x38a5f1,_0x1ae075=Math[_0x3965af(0x53a)](_0x5c16c2*_0x5c16c2+_0x4cd272*_0x4cd272);_0x1ae075<_0xeff708&&(_0xeff708=_0x1ae075,_0x4678f8=_0xd51888,_0x335a79={'x':_0x3e41af,'y':_0x38a5f1});}let _0x13b922=_0xeff708<=0xa&&_0x4678f8?_0x4678f8[_0x3965af(0x5a5)]()[_0x3965af(0x432)]:-0x1;if(_0x13b922!==this[_0x3965af(0x2e1)]){for(let _0x3b84e6 of this[_0x3965af(0x4fb)]){let _0x1efe29=_0x3b84e6[_0x3965af(0x5a5)]();_0x3b84e6[_0x3965af(0x37c)](_0x1efe29[_0x3965af(0x432)]===_0x13b922);}this[_0x3965af(0x2e1)]=_0x13b922;}if(_0xeff708<=0xa&&_0x4678f8&&_0x335a79){let _0x14410b=_0x4678f8[_0x3965af(0x5a5)](),_0x1e9cc7=this[_0x3965af(0x57e)](_0x14410b[_0x3965af(0x384)],_0x14410b[_0x3965af(0x432)]);return{'shapeId':_0x14410b[_0x3965af(0x384)],'cxnIndex':_0x14410b[_0x3965af(0x432)],'unitId':_0x14410b[_0x3965af(0x666)],'subUnitId':_0x14410b['subUnitId'],'worldPoint':_0x335a79,'angle':_0x1e9cc7};}return null;}[_0x5a7f20(0x57e)](_0x28140b,_0x10b8e1){const _0x47c4cd=_0x5a7f20;let _0x53e582=this[_0x47c4cd(0x225)][_0x47c4cd(0x2dc)](this[_0x47c4cd(0x479)],this[_0x47c4cd(0x2aa)],_0x28140b);if(!_0x53e582)return 0x0;let _0x3e4eb9=this['_drawingManagerService'][_0x47c4cd(0x4b2)]({'unitId':this[_0x47c4cd(0x479)],'subUnitId':this[_0x47c4cd(0x2aa)],'drawingId':_0x28140b});if(!(_0x3e4eb9!=null&&_0x3e4eb9['transform']))return 0x0;let {width:_0x3b649c=0x0,height:_0xf549d1=0x0,flipX:_0x53e7a9=!0x1,flipY:_0x1d797a=!0x1}=_0x3e4eb9[_0x47c4cd(0x3ba)];_0x53e582[_0x47c4cd(0x5ed)]({'width':_0x3b649c,'height':_0xf549d1});let _0x44b2e4=_0x53e582[_0x47c4cd(0x3ef)]()['find'](_0x5b911e=>_0x5b911e[_0x47c4cd(0x472)]===_0x10b8e1);if(!_0x44b2e4)return 0x0;let _0x1b11a5=_0x44b2e4['ang']/0xea60;return _0x53e7a9&&(_0x1b11a5=0xb4-_0x1b11a5),_0x1d797a&&(_0x1b11a5=-_0x1b11a5),_0x1b11a5=(_0x1b11a5%0x168+0x168)%0x168,_0x1b11a5;}[_0x5a7f20(0x3dc)](){const _0x337473=_0x5a7f20;for(let _0x299753 of this[_0x337473(0x4fb)])_0x299753[_0x337473(0x4b5)]();this[_0x337473(0x4fb)]=[],this[_0x337473(0x2e1)]=-0x1;}['dispose'](){const _0x4f338e=_0x5a7f20;this[_0x4f338e(0x3dc)](),super[_0x4f338e(0x4b5)]();}};Bo=$([Q(0x1,_0x1e77ba(_0x43fdcf)),Q(0x2,_0x1e77ba(_0x2ac48c)),Q(0x3,_0x1e77ba(_0xc9428c))],Bo);let Vo=class extends _0x185401{constructor(_0x4f2c89,_0x1195eb,_0x39ddaa,_0x58b77e,_0x1a78f8){const _0x44b718=_0x5a7f20;super(),this[_0x44b718(0x3f3)]=_0x4f2c89,this[_0x44b718(0x486)]=_0x1195eb,this[_0x44b718(0x49c)]=_0x39ddaa,this[_0x44b718(0x332)]=_0x58b77e,this[_0x44b718(0x4ab)]=_0x1a78f8,Y(this,'_copyInfo',void 0x0),this['_initCopyPaste'](),this[_0x44b718(0x5fb)]();}get[_0x5a7f20(0x29a)](){const _0x50753c=_0x5a7f20;return this[_0x50753c(0x49c)][_0x50753c(0x43b)]();}[_0x5a7f20(0x5fb)](){const _0xc895bc=_0x5a7f20;this[_0xc895bc(0x4ab)][_0xc895bc(0x1c2)](({fromUnitId:_0x4fcca7,fromSubUnitId:_0x11d6d5,toUnitId:_0x1817fe,toSubUnitId:_0x5a7813,idMap:_0x13ccc2})=>{const _0x3d88ac=_0xc895bc;let _0x44da05=[],_0x2ea72d=[];for(let [_0x416969,_0x114468]of _0x13ccc2[_0x3d88ac(0x629)]()){let _0x4711f1=this[_0x3d88ac(0x332)]['getShapeModel'](_0x4fcca7,_0x11d6d5,_0x416969);if(!_0x4711f1)continue;let _0x8d2a22=_0x4711f1[_0x3d88ac(0x36f)](),_0x15a020=JSON['parse'](JSON['stringify'](_0x4711f1[_0x3d88ac(0x5d3)]()));if(_0x15a020[_0x3d88ac(0x3f7)]){var _0x3090aa,_0x2fed11;let _0x5bf0b5=(_0x3090aa=_0x15a020['relation'][_0x3d88ac(0x386)])==null?void 0x0:_0x3090aa[_0x3d88ac(0x384)],_0x583054=(_0x2fed11=_0x15a020[_0x3d88ac(0x3f7)]['to'])==null?void 0x0:_0x2fed11[_0x3d88ac(0x384)],_0xea6b04=_0x5bf0b5?_0x13ccc2['has'](_0x5bf0b5):!0x0,_0x472b4e=_0x583054?_0x13ccc2[_0x3d88ac(0x549)](_0x583054):!0x0;_0xea6b04&&_0x5bf0b5&&_0x15a020[_0x3d88ac(0x3f7)][_0x3d88ac(0x386)]?_0x15a020['relation'][_0x3d88ac(0x386)]={..._0x15a020['relation'][_0x3d88ac(0x386)],'shapeId':_0x13ccc2['get'](_0x5bf0b5)}:_0x15a020[_0x3d88ac(0x3f7)][_0x3d88ac(0x386)]=void 0x0,_0x472b4e&&_0x583054&&_0x15a020[_0x3d88ac(0x3f7)]['to']?_0x15a020[_0x3d88ac(0x3f7)]['to']={..._0x15a020[_0x3d88ac(0x3f7)]['to'],'shapeId':_0x13ccc2[_0x3d88ac(0x2f7)](_0x583054)}:_0x15a020[_0x3d88ac(0x3f7)]['to']=void 0x0;}_0x44da05[_0x3d88ac(0x61f)]({'id':_0x265a48['id'],'params':{'unitId':_0x1817fe,'subUnitId':_0x5a7813,'shapeId':_0x114468,'shapeType':_0x8d2a22,'shapeData':_0x15a020}}),_0x2ea72d[_0x3d88ac(0x61f)]({'id':_0x1afa91['id'],'params':{'unitId':_0x1817fe,'subUnitId':_0x5a7813,'shapeId':_0x114468}});}return{'redos':_0x44da05,'undos':_0x2ea72d};});}['_initCopyPaste'](){const _0x14ea86=_0x5a7f20;this['disposeWithMe'](this[_0x14ea86(0x486)]['addClipboardHook']({'id':_0x14ea86(0x631),'onBeforeCopy':(_0x22410b,_0x191103,_0x111261,_0x16c035)=>{const _0x3de0f5=_0x14ea86;this[_0x3de0f5(0x1f6)]=null;let _0xf3eddf=this['_focusedDrawings'];if(_0xf3eddf[_0x3de0f5(0x3d6)]){let _0x45ab5f=_0xf3eddf[_0x3de0f5(0x20d)](_0x54cc8e=>_0x54cc8e['drawingType']===_0x5d8611[_0x3de0f5(0x415)]);if(_0x45ab5f[_0x3de0f5(0x3d6)]===0x0)return;this[_0x3de0f5(0x1f6)]={'unitId':_0x22410b,'subUnitId':_0x191103,'copyType':_0x16c035,'drawings':_0x45ab5f};}else this[_0x3de0f5(0x5a6)](_0x22410b,_0x191103,_0x111261,_0x16c035);},'onPasteCells':(_0x2fc83d,_0x3d0795,_0x8aa67e,_0x3dc118)=>{const _0x1a02c7=_0x14ea86;if(!this[_0x1a02c7(0x1f6)])return{'redos':[],'undos':[]};let {pasteType:_0x1711f6}=_0x3dc118;return _0x1711f6===_0x2c01a3['DEFAULT_PASTE']?this[_0x1a02c7(0x261)](_0x3d0795,this[_0x1a02c7(0x1f6)]['copyType']===_0x1be5d9[_0x1a02c7(0x3fe)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x18228b=>this[_0x14ea86(0x1f6)]?this[_0x14ea86(0x261)](_0x18228b,this[_0x14ea86(0x1f6)]['copyType']===_0x1be5d9['CUT']):{'redos':[],'undos':[]}}));}['_createCopyInfoByRange'](_0x89a60b,_0x2dbd95,_0x27ec56,_0xce83ca){const _0x40183a=_0x5a7f20;let _0x19dc1f=this[_0x40183a(0x3f3)][_0x40183a(0x597)](_0x89a60b,_0x2dbd95);if(!_0x19dc1f)return;let _0x2904d1=_0xc6d9d5(_0x19dc1f,_0x27ec56);if(!_0x2904d1)return;let {startX:_0x1dd344,endX:_0x51400c,startY:_0x312db5,endY:_0x150748}=_0x2904d1,_0x4c0959=this[_0x40183a(0x49c)][_0x40183a(0x642)](_0x89a60b,_0x2dbd95),_0x4fce6b=this[_0x40183a(0x29a)][_0x40183a(0x418)]();for(let [_0x310997,_0x584643]of Object[_0x40183a(0x629)](_0x4c0959)){if(_0x584643['drawingType']!==_0x5d8611[_0x40183a(0x415)])continue;let {transform:_0x4fcc24}=_0x584643;if(!_0x4fcc24)continue;let {left:_0x3cb6ab=0x0,top:_0x532b4d=0x0,width:_0x3c62f9=0x0,height:_0x394080=0x0}=_0x4fcc24;_0x1dd344<=_0x3cb6ab&&_0x51400c>=_0x3cb6ab+_0x3c62f9&&_0x312db5<=_0x532b4d&&_0x150748>=_0x532b4d+_0x394080&&_0x4fce6b[_0x40183a(0x61f)](_0x584643);}_0x4fce6b['length']>0x0&&(this[_0x40183a(0x1f6)]={'unitId':_0x89a60b,'subUnitId':_0x2dbd95,'copyType':_0xce83ca,'copyRange':_0x27ec56,'drawings':_0x4fce6b});}[_0x5a7f20(0x261)](_0x3c1512,_0x2f9566){const _0xc0d336=_0x5a7f20;let {unitId:_0x3bf33e,subUnitId:_0x516280,range:_0x278024}=_0x3c1512,_0x185efa=this[_0xc0d336(0x3f3)]['getSkeleton'](_0x3bf33e,_0x516280);if(!_0x185efa)return{'redos':[],'undos':[]};let _0x4418b3=_0x5d3fa2(_0x278024),{unitId:_0x1d85e5,subUnitId:_0x718ffa,copyRange:_0x359237,drawings:_0x120552}=this['_copyInfo'],_0x17b722=this[_0xc0d336(0x3f3)][_0xc0d336(0x597)](_0x1d85e5,_0x718ffa);if(!_0x17b722)return{'redos':[],'undos':[]};let _0x37be6d;if(!_0x359237){let _0xadec29=0x1/0x0,_0x4936b0=0x1/0x0;for(let _0x1c6feb of _0x120552){var _0x28e3d9;let {left:_0x27e538=0x0,top:_0x49ab1e=0x0}=(_0x28e3d9=_0x1c6feb['transform'])==null?{}:_0x28e3d9;_0x27e538<_0xadec29&&(_0xadec29=_0x27e538),_0x49ab1e<_0x4936b0&&(_0x4936b0=_0x49ab1e);}_0xadec29!==0x1/0x0&&_0x4936b0!==0x1/0x0&&(_0x37be6d={'left':_0xadec29,'top':_0x4936b0});}let _0x5407c8=new Map();if(!_0x2f9566){for(let _0x391eb8 of _0x120552)_0x5407c8[_0xc0d336(0x605)](_0x391eb8[_0xc0d336(0x1fb)],_0x1ecc78());}let _0x1a8d27=[],_0x5896f6=[];for(let _0x2b30d5 of _0x120552){let {drawingId:_0x2bbad5,transform:_0xb990d3,sheetTransform:_0x1e3615}=_0x2b30d5;if(!_0xb990d3||!_0x1e3615)continue;let _0x7a0ce=this[_0xc0d336(0x632)]({'transform':_0xb990d3,'sheetTransform':_0x1e3615},{'skeleton':_0x17b722,'range':_0x359237},{'skeleton':_0x185efa,'range':_0x4418b3},_0x37be6d);if(_0x2f9566){let {redos:_0x3c7b5c,undos:_0x1d9fa5}=this[_0xc0d336(0x2cb)]({'fromUnitId':_0x1d85e5,'fromSubUnitId':_0x718ffa,'toUnitId':_0x3bf33e,'toSubUnitId':_0x516280,'drawing':_0x2b30d5,'newTransforms':_0x7a0ce});_0x1a8d27[_0xc0d336(0x61f)](..._0x3c7b5c),_0x5896f6[_0xc0d336(0x61f)](..._0x1d9fa5);continue;}let {redos:_0x41dbce,undos:_0x15d8cd}=this[_0xc0d336(0x489)]({'toUnitId':_0x3bf33e,'toSubUnitId':_0x516280,'drawing':_0x2b30d5,'newTransforms':_0x7a0ce,'newDrawingId':_0x5407c8['get'](_0x2bbad5),'idMap':_0x5407c8});_0x1a8d27[_0xc0d336(0x61f)](..._0x41dbce),_0x5896f6[_0xc0d336(0x61f)](..._0x15d8cd);}return{'redos':_0x1a8d27,'undos':_0x5896f6};}[_0x5a7f20(0x2cb)](_0x4e9c6d){const _0x26a31f=_0x5a7f20;let {fromUnitId:_0x31882d,fromSubUnitId:_0x23085c,toUnitId:_0x33ff86,toSubUnitId:_0x2d6989,drawing:_0x9963c4,newTransforms:_0x4fa031}=_0x4e9c6d,_0x23ee6f={..._0x9963c4,'unitId':_0x33ff86,'subUnitId':_0x2d6989,'transform':_0x4fa031[_0x26a31f(0x3ba)],'sheetTransform':_0x4fa031[_0x26a31f(0x381)]};if(_0x33ff86===_0x31882d&&_0x2d6989===_0x23085c){let {redo:_0x1229f7,undo:_0xf7f135,objects:_0x5f1bd7}=this[_0x26a31f(0x49c)][_0x26a31f(0x307)]([_0x23ee6f]);return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c[_0x26a31f(0x5be)],'op':_0x1229f7,'objects':_0x5f1bd7}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c[_0x26a31f(0x5be)],'op':_0xf7f135,'objects':_0x5f1bd7}}]};}else{let _0x18ce4f=this[_0x26a31f(0x49c)]['getBatchRemoveOp']([_0x9963c4]),_0x426b92=this['_sheetDrawingService'][_0x26a31f(0x361)]([_0x23ee6f]),_0x1d019a=this[_0x26a31f(0x332)]['getShapeModel'](_0x9963c4['unitId'],_0x9963c4[_0x26a31f(0x279)],_0x9963c4[_0x26a31f(0x1fb)]);if(!_0x1d019a)return{'redos':[],'undos':[]};let _0x53d6bb=_0x1d019a[_0x26a31f(0x36f)](),_0x85c402=JSON[_0x26a31f(0x515)](JSON[_0x26a31f(0x633)](_0x1d019a[_0x26a31f(0x5d3)]()));return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'type':_0x25351c['REMOVE'],'op':_0x18ce4f[_0x26a31f(0x682)],'objects':_0x18ce4f[_0x26a31f(0x46b)]}},{'id':_0x1afa91['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'shapeId':_0x9963c4[_0x26a31f(0x1fb)]}},{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c['INSERT'],'op':_0x426b92[_0x26a31f(0x682)],'objects':_0x426b92['objects']}},{'id':_0x265a48['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'shapeId':_0x9963c4[_0x26a31f(0x1fb)],'shapeType':_0x53d6bb,'shapeData':_0x85c402}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'type':_0x25351c[_0x26a31f(0x324)],'op':_0x18ce4f[_0x26a31f(0x368)],'objects':_0x18ce4f[_0x26a31f(0x46b)]}},{'id':_0x265a48['id'],'params':{'unitId':_0x31882d,'subUnitId':_0x23085c,'shapeId':_0x9963c4[_0x26a31f(0x1fb)],'shapeType':_0x53d6bb,'shapeData':_0x85c402}},{'id':_0x423692['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'type':_0x25351c['REMOVE'],'op':_0x426b92[_0x26a31f(0x368)],'objects':_0x426b92[_0x26a31f(0x46b)]}},{'id':_0x1afa91['id'],'params':{'unitId':_0x33ff86,'subUnitId':_0x2d6989,'shapeId':_0x9963c4['drawingId']}}]};}}[_0x5a7f20(0x489)](_0x238018){const _0x170a78=_0x5a7f20;let {toUnitId:_0x258dcd,toSubUnitId:_0x4c9905,drawing:_0x3e001f,newTransforms:_0x5e20cc,newDrawingId:_0x5eff45,idMap:_0x35d481}=_0x238018,_0x72abdb={..._0x3e001f,'unitId':_0x258dcd,'subUnitId':_0x4c9905,'drawingId':_0x5eff45,'transform':_0x5e20cc['transform'],'sheetTransform':_0x5e20cc[_0x170a78(0x381)]},{redo:_0xc0ff0b,undo:_0x2805ef,objects:_0x22249a}=this[_0x170a78(0x49c)]['getBatchAddOp']([_0x72abdb]),_0x4cdbcd=this['_shapeService'][_0x170a78(0x2dc)](_0x3e001f[_0x170a78(0x666)],_0x3e001f[_0x170a78(0x279)],_0x3e001f[_0x170a78(0x1fb)]);if(!_0x4cdbcd)return{'redos':[],'undos':[]};let _0x56a7cc=_0x4cdbcd[_0x170a78(0x36f)](),_0x441a0f=JSON[_0x170a78(0x515)](JSON[_0x170a78(0x633)](_0x4cdbcd[_0x170a78(0x5d3)]()));if(_0x441a0f[_0x170a78(0x3f7)]){var _0x3a4bb3,_0x5179fd;let _0x56d9dc=(_0x3a4bb3=_0x441a0f['relation'][_0x170a78(0x386)])==null?void 0x0:_0x3a4bb3[_0x170a78(0x384)],_0x79c272=(_0x5179fd=_0x441a0f[_0x170a78(0x3f7)]['to'])==null?void 0x0:_0x5179fd[_0x170a78(0x384)],_0x2ac27b=_0x56d9dc?_0x35d481[_0x170a78(0x549)](_0x56d9dc):!0x0,_0x2f3f8f=_0x79c272?_0x35d481[_0x170a78(0x549)](_0x79c272):!0x0;_0x2ac27b&&_0x56d9dc&&_0x441a0f[_0x170a78(0x3f7)]['from']?_0x441a0f[_0x170a78(0x3f7)][_0x170a78(0x386)]={..._0x441a0f[_0x170a78(0x3f7)][_0x170a78(0x386)],'shapeId':_0x35d481[_0x170a78(0x2f7)](_0x56d9dc)}:_0x441a0f['relation'][_0x170a78(0x386)]=void 0x0,_0x2f3f8f&&_0x79c272&&_0x441a0f[_0x170a78(0x3f7)]['to']?_0x441a0f[_0x170a78(0x3f7)]['to']={..._0x441a0f['relation']['to'],'shapeId':_0x35d481[_0x170a78(0x2f7)](_0x79c272)}:_0x441a0f[_0x170a78(0x3f7)]['to']=void 0x0;}return{'redos':[{'id':_0x423692['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'type':_0x25351c[_0x170a78(0x324)],'op':_0xc0ff0b,'objects':_0x22249a}},{'id':_0x265a48['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'shapeId':_0x5eff45,'shapeType':_0x56a7cc,'shapeData':_0x441a0f}}],'undos':[{'id':_0x423692['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'type':_0x25351c[_0x170a78(0x3cf)],'op':_0x2805ef,'objects':_0x22249a}},{'id':_0x1afa91['id'],'params':{'unitId':_0x258dcd,'subUnitId':_0x4c9905,'shapeId':_0x5eff45}}]};}[_0x5a7f20(0x632)](_0x5b85f5,_0x535da3,_0x51cdae,_0x8b8c5){const _0x4499dc=_0x5a7f20;var _0x436120;let {range:_0x25d1e2,skeleton:_0x3fe78b}=_0x535da3,{range:_0x528b90,skeleton:_0xab8711}=_0x51cdae,{transform:_0x1931d8,sheetTransform:_0xe656c7}=_0x5b85f5,_0x4a2c4d={..._0x1931d8};if(_0x25d1e2){let _0x10d2d2=_0xc6d9d5(_0x3fe78b,_0x25d1e2),_0x17d351=_0xc6d9d5(_0xab8711,_0x528b90);if(_0x10d2d2&&_0x17d351){var _0x4f4550,_0x5d5950;let _0x4b597c=_0x17d351['startX']-_0x10d2d2['startX'],_0x3676c2=_0x17d351[_0x4499dc(0x1eb)]-_0x10d2d2[_0x4499dc(0x1eb)];_0x4a2c4d['left']=((_0x4f4550=_0x4a2c4d[_0x4499dc(0x5af)])==null?0x0:_0x4f4550)+_0x4b597c,_0x4a2c4d[_0x4499dc(0x406)]=((_0x5d5950=_0x4a2c4d[_0x4499dc(0x406)])==null?0x0:_0x5d5950)+_0x3676c2;}}else{let _0x644430=_0xc6d9d5(_0xab8711,_0x528b90);if(_0x8b8c5&&_0x644430){var _0x3c0410,_0x176e67;let _0x519ae0=((_0x3c0410=_0x4a2c4d[_0x4499dc(0x5af)])==null?0x0:_0x3c0410)-_0x8b8c5[_0x4499dc(0x5af)],_0x392239=((_0x176e67=_0x4a2c4d[_0x4499dc(0x406)])==null?0x0:_0x176e67)-_0x8b8c5[_0x4499dc(0x406)];_0x4a2c4d['left']=_0x644430[_0x4499dc(0x520)]+_0x519ae0,_0x4a2c4d['top']=_0x644430[_0x4499dc(0x1eb)]+_0x392239;}else _0x4a2c4d[_0x4499dc(0x5af)]=_0x644430==null?void 0x0:_0x644430[_0x4499dc(0x520)],_0x4a2c4d[_0x4499dc(0x406)]=_0x644430==null?void 0x0:_0x644430[_0x4499dc(0x1eb)];}return{'transform':_0x4a2c4d,'sheetTransform':(_0x436120=_0x222d67(_0x4a2c4d,_0xab8711))==null?_0xe656c7:_0x436120};}};Vo=$([Q(0x0,_0x1e77ba(_0x5294fa)),Q(0x1,_0x1e77ba(_0x291ef0)),Q(0x2,_0x1e77ba(_0x1aa5fa)),Q(0x3,_0x1e77ba(_0xc9428c)),Q(0x4,_0x1e77ba(_0x2bf67b))],Vo);var Ho=class extends _0xe1d4df{constructor(_0x24eb43,_0x587da0){const _0x15beda=_0x5a7f20;super(_0x24eb43,_0x587da0),Y(this,_0x15beda(0x595),null),Y(this,_0x15beda(0x2b4),null),Y(this,_0x15beda(0x479),null),Y(this,'_subUnitId',null),Y(this,'_isStartConnectorPoint',!0x1),_0x587da0&&this[_0x15beda(0x4fc)](_0x587da0);}[_0x5a7f20(0x514)](){const _0x1eea6a=_0x5a7f20;return{'unitId':this[_0x1eea6a(0x479)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x1eea6a(0x595)]};}[_0x5a7f20(0x4fc)](_0x2aa72c){const _0xb46c13=_0x5a7f20;_0x2aa72c[_0xb46c13(0x384)]!==void 0x0&&(this['_shapeId']=_0x2aa72c[_0xb46c13(0x384)]),_0x2aa72c[_0xb46c13(0x666)]!==void 0x0&&(this[_0xb46c13(0x479)]=_0x2aa72c[_0xb46c13(0x666)]),_0x2aa72c[_0xb46c13(0x279)]!==void 0x0&&(this[_0xb46c13(0x2aa)]=_0x2aa72c[_0xb46c13(0x279)]),_0x2aa72c[_0xb46c13(0x1d7)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x2aa72c[_0xb46c13(0x1d7)]),this[_0xb46c13(0x288)]({'width':_0x2aa72c[_0xb46c13(0x3d7)],'height':_0x2aa72c[_0xb46c13(0x4c8)]});}[_0x5a7f20(0x260)](_0x5f4f01){const _0x2fcfd0=_0x5a7f20;_0x574c0f[_0x2fcfd0(0x2ce)](_0x5f4f01,{'radius':_0x9a1b85['cxnPointRadius'],'fill':_0x9a1b85[_0x2fcfd0(0x620)],'stroke':_0x9a1b85[_0x2fcfd0(0x247)],'strokeWidth':_0x9a1b85[_0x2fcfd0(0x675)],'evented':!0x0});}};let Uo=class extends _0x185401{constructor(_0xa3c0f9,_0x3775ac,_0x105dd8,_0x1c845d,_0x2e0b99,_0x17c3fd,_0x2d83bd,_0x53b397){const _0x212ca3=_0x5a7f20;super(),this['_context']=_0xa3c0f9,this[_0x212ca3(0x52a)]=_0x3775ac,this[_0x212ca3(0x33e)]=_0x105dd8,this[_0x212ca3(0x65c)]=_0x1c845d,this[_0x212ca3(0x4c0)]=_0x2e0b99,this[_0x212ca3(0x225)]=_0x17c3fd,this['_sheetShapeAdjustController']=_0x2d83bd,this['_sheetBasicShapeConnectionPointController']=_0x53b397,Y(this,_0x212ca3(0x1be),void 0x0),Y(this,_0x212ca3(0x479),void 0x0),Y(this,'_subUnitId',void 0x0),Y(this,_0x212ca3(0x559),[]),Y(this,_0x212ca3(0x1f9),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),Y(this,_0x212ca3(0x3df),void 0x0),Y(this,_0x212ca3(0x385),!0x1),Y(this,_0x212ca3(0x562),!0x1),Y(this,_0x212ca3(0x427),!0x1),Y(this,'_cxtHandlerPointerMove',void 0x0),Y(this,'_cxtHandlerPointerUp',void 0x0),Y(this,'_currentConnectionTarget',null),this[_0x212ca3(0x2a9)]();}[_0x5a7f20(0x2a9)](){const _0x308b59=_0x5a7f20;this['_registerDrawingFocusChangeHandler'](),this[_0x308b59(0x5f3)]();}['_getDrawingRect'](){const _0x3dcc56=_0x5a7f20;if(!this[_0x3dcc56(0x479)]||!this['_subUnitId']||!this[_0x3dcc56(0x1be)])return;let _0x164889={'unitId':this[_0x3dcc56(0x479)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x3dcc56(0x1be)]},{transform:_0x3627a5}=this[_0x3dcc56(0x65c)]['getDrawingByParam'](_0x164889);if(_0x3627a5)return{'left':_0x3627a5[_0x3dcc56(0x5af)]||0x0,'top':_0x3627a5[_0x3dcc56(0x406)]||0x0,'width':_0x3627a5[_0x3dcc56(0x3d7)]||0x0,'height':_0x3627a5['height']||0x0,'flipX':_0x3627a5['flipX']||!0x1,'flipY':_0x3627a5['flipY']||!0x1,'angle':_0x3627a5[_0x3dcc56(0x402)]};}[_0x5a7f20(0x561)](){const _0x6c821e=_0x5a7f20;if(this['_unitId']===void 0x0||this[_0x6c821e(0x2aa)]===void 0x0||this[_0x6c821e(0x1be)]===void 0x0)return;let _0x36060f=this[_0x6c821e(0x33e)][_0x6c821e(0x36a)](this['_unitId']);if(!_0x36060f||!_0x36060f[_0x6c821e(0x49a)](_0x4e2ed9)[_0x6c821e(0x54e)]())return;let {scene:_0x3ed41d}=_0x36060f,_0x38c9a2=this['_getDrawingRect']();if(!_0x38c9a2)return;let _0x120f35=this[_0x6c821e(0x225)]['getShapeModel'](this[_0x6c821e(0x479)],this[_0x6c821e(0x2aa)],this[_0x6c821e(0x1be)]);if(!_0x120f35||!_0x39df67(_0x120f35[_0x6c821e(0x36f)]()))return;let _0x3764fd=_0x120f35['getConnectorLinePoints']();if(_0x3764fd[_0x6c821e(0x3d6)]<0x2)return;let _0x5e3e71=new _0x22c5d0(_0x38c9a2),_0x329bd5=_0x3764fd[0x0],_0x1af443=_0x3764fd[_0x3764fd['length']-0x1],_0x5c6098=_0x5e3e71['localToWorld'](_0x329bd5),_0x3e0033=_0x5e3e71['localToWorld'](_0x1af443);this[_0x6c821e(0x2c9)](_0x3ed41d,{..._0x5c6098},!0x0),this[_0x6c821e(0x2c9)](_0x3ed41d,{..._0x3e0033},!0x1);}[_0x5a7f20(0x2c9)](_0x4404ba,_0x2b0611,_0x4bb9f2){const _0x1f0c77=_0x5a7f20;if(this['_activeShapeId']===void 0x0||this[_0x1f0c77(0x479)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x10770d=_0x1f0c77(0x263)+this[_0x1f0c77(0x479)]+'-'+this[_0x1f0c77(0x2aa)]+'-'+this['_activeShapeId']+'-'+(_0x4bb9f2?_0x1f0c77(0x27d):_0x1f0c77(0x4c3)),_0x5d41cb=_0x4404ba[_0x1f0c77(0x33c)](_0x10770d);if(_0x5d41cb){_0x5d41cb['transformByState']({'left':_0x2b0611['x']-_0x9a1b85[_0x1f0c77(0x5e2)],'top':_0x2b0611['y']-_0x9a1b85[_0x1f0c77(0x5e2)]});return;}let _0x4b3d3b=new Ho(_0x10770d,{'left':_0x2b0611['x']-_0x9a1b85[_0x1f0c77(0x5e2)],'top':_0x2b0611['y']-_0x9a1b85[_0x1f0c77(0x5e2)],'shapeId':this[_0x1f0c77(0x1be)],'unitId':this[_0x1f0c77(0x479)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x4bb9f2,'width':_0x9a1b85[_0x1f0c77(0x5e2)]*0x2,'height':_0x9a1b85[_0x1f0c77(0x5e2)]*0x2,'zIndex':_0x3929c9+0x1,'evented':!0x0});this[_0x1f0c77(0x559)][_0x1f0c77(0x61f)](_0x4b3d3b),this['_attachConnectorObjectEvent'](_0x4b3d3b,_0x4404ba,_0x4bb9f2),_0x4404ba['addObject'](_0x4b3d3b,_0x3929c9+0x1);}[_0x5a7f20(0x43e)](_0x5eb709,_0x288ecd){const _0xc6916d=_0x5a7f20;var _0x387d46;let _0x1b1327={'x':0x0,'y':0x0};if(!_0x5eb709||!_0x288ecd)return _0x1b1327;let _0xaa9e23=this[_0xc6916d(0x33e)]['getRenderById'](_0x5eb709);if(!_0xaa9e23||!_0xaa9e23[_0xc6916d(0x49a)](_0x4e2ed9)[_0xc6916d(0x597)](_0x288ecd))return _0x1b1327;let _0x44d7b3=_0xaa9e23[_0xc6916d(0x49a)](_0x13c1a9),_0x26a9ea=_0x44d7b3==null?void 0x0:_0x44d7b3[_0xc6916d(0x51b)]();if(!_0x26a9ea)return _0x1b1327;let _0x35dd05=(_0x387d46=this[_0xc6916d(0x4c0)][_0xc6916d(0x4e7)](_0x5eb709))==null?void 0x0:_0x387d46['getSheetBySheetId'](_0x288ecd);if(!_0x35dd05)return _0x1b1327;let _0x46d1d0=_0x5cde96(_0x26a9ea['sheetViewStartRow'],_0x26a9ea[_0xc6916d(0x3e3)],_0xaa9e23[_0xc6916d(0x2a0)],_0x35dd05);return _0x46d1d0?{'x':_0x46d1d0[_0xc6916d(0x5a0)],'y':_0x46d1d0[_0xc6916d(0x4b0)]}:_0x1b1327;}[_0x5a7f20(0x5e8)](_0xccb7cc,_0x3d66b5){const _0x2a8f54=_0x5a7f20;var _0x271995,_0x189519;let _0x22bd1d=(_0x271995=this[_0x2a8f54(0x4c0)][_0x2a8f54(0x4e7)](_0xccb7cc))==null?void 0x0:_0x271995['getSheetBySheetId'](_0x3d66b5);return(_0x189519=_0x22bd1d==null?void 0x0:_0x22bd1d[_0x2a8f54(0x22f)]())==null?0x1:_0x189519;}[_0x5a7f20(0x207)](_0x54a6d6,_0x122442,_0x4aa7b9,_0x134216,_0x15e837){const _0x35cd0a=_0x5a7f20;this[_0x35cd0a(0x242)][_0x35cd0a(0x223)](),this['_cxtHandlerPointerUp'][_0x35cd0a(0x223)](),this[_0x35cd0a(0x375)][_0x35cd0a(0x383)]();let _0x59ed1b=this[_0x35cd0a(0x1d8)];this[_0x35cd0a(0x524)][_0x35cd0a(0x320)]();let _0x11543c=this['_getScrollInfo'](this['_unitId'],this[_0x35cd0a(0x2aa)]),_0x5db41c=this[_0x35cd0a(0x5e8)](this['_unitId'],this[_0x35cd0a(0x2aa)]),_0x17f58c={'x':_0x4aa7b9['offsetX']/_0x5db41c+_0x11543c['x'],'y':_0x4aa7b9[_0x35cd0a(0x478)]/_0x5db41c+_0x11543c['y']},_0x29fb0b=_0x59ed1b?_0x59ed1b['worldPoint']:_0x17f58c,_0x10ad15=_0x134216?this['_activeShapeModel'][_0x35cd0a(0x3d8)]():this[_0x35cd0a(0x3df)][_0x35cd0a(0x581)](),_0x37d9f4=this[_0x35cd0a(0x3df)][_0x35cd0a(0x36f)]();_0x10ad15?this[_0x35cd0a(0x226)](_0x10ad15,_0x29fb0b,_0x134216,_0x59ed1b,_0x15e837):this[_0x35cd0a(0x544)](_0x122442,_0x29fb0b,_0x134216,_0x59ed1b,_0x15e837,_0x37d9f4),this[_0x35cd0a(0x385)]=!0x1,this[_0x35cd0a(0x427)]=!0x1,this['_currentConnectionTarget']=null,_0x54a6d6[_0x35cd0a(0x3eb)]();}['_handleFreeEndpointPointerUp'](_0x3e4cf5,_0x5ce54d,_0x225b44,_0x55778d,_0x39f5da,_0x5e7bfc){const _0x3106df=_0x5a7f20;let _0x50c485=_0x5e7bfc===_0x5c87c5['Line']||_0x5e7bfc===_0x5c87c5[_0x3106df(0x2d0)],_0x3bbbb2=_0x225b44?_0x5ce54d:_0x3e4cf5,_0x23cdfa=_0x225b44?_0x3e4cf5:_0x5ce54d,_0x2e62df=this[_0x3106df(0x3df)][_0x3106df(0x45c)](),_0x1425c2=_0x594cf4(this[_0x3106df(0x3df)]['getShapeType']()),_0x5863f8=_0x22c5d0[_0x3106df(0x5c3)](_0x2e62df,_0x1425c2),_0x24b277=_0x50c485?_0x22c5d0[_0x3106df(0x63e)](_0x3bbbb2,_0x23cdfa):_0x22c5d0['computeConnectorResizeLayout'](_0x3e4cf5,_0x5ce54d,_0x225b44,_0x5863f8);_0x55778d?this['_executeConnectionCommand'](_0x24b277,_0x55778d,_0x225b44,_0x39f5da):this['_executeResizeCommand'](_0x24b277,_0x39f5da);}[_0x5a7f20(0x226)](_0x7eb9aa,_0x4c6339,_0xabbd85,_0x5e16dc,_0x52c756){const _0x1f13c5=_0x5a7f20;let _0x55ad06=this['_getConnectPointInfo'](_0x7eb9aa);if(!_0x55ad06)return;let _0x283624=_0x5e16dc?_0x5e16dc[_0x1f13c5(0x402)]:this[_0x1f13c5(0x614)](_0x55ad06[_0x1f13c5(0x3ea)],_0x4c6339),_0x36eccc;if(_0x5e16dc){let _0x2e7a5f=this[_0x1f13c5(0x65c)][_0x1f13c5(0x4b2)]({'unitId':_0x5e16dc[_0x1f13c5(0x666)],'subUnitId':_0x5e16dc[_0x1f13c5(0x279)],'drawingId':_0x5e16dc['shapeId']});if(_0x2e7a5f!=null&&_0x2e7a5f[_0x1f13c5(0x3ba)]){let {left:_0x547526=0x0,top:_0x4fdd53=0x0,width:_0x47b527=0x0,height:_0x322971=0x0,angle:_0xa1886f}=_0x2e7a5f[_0x1f13c5(0x3ba)];_0x36eccc=_0x137faa({'left':_0x547526,'top':_0x4fdd53,'width':_0x47b527,'height':_0x322971},_0xa1886f||0x0);}else _0x36eccc={'left':_0x4c6339['x'],'top':_0x4c6339['y'],'width':0x0,'height':0x0};}else _0x36eccc={'left':_0x4c6339['x'],'top':_0x4c6339['y'],'width':0x0,'height':0x0};let _0x3d9fde={'point':_0x4c6339,'angle':_0x283624,'bounds':_0x36eccc},_0x22be78=_0xabbd85?_0x3d9fde:_0x55ad06,_0x52efb6=_0xabbd85?_0x55ad06:_0x3d9fde,_0x378bbc=this[_0x1f13c5(0x3df)][_0x1f13c5(0x36f)](),_0xe6ccf1=_0x374a50(_0x22be78,_0x52efb6,_0x378bbc);this[_0x1f13c5(0x3df)][_0x1f13c5(0x3ee)]();let _0x380adb=_0x1498f5(_0xe6ccf1,_0x378bbc);_0x5e16dc?this[_0x1f13c5(0x2c6)](_0x380adb,_0x5e16dc,_0x7eb9aa,_0xabbd85,_0x52c756):this[_0x1f13c5(0x251)](_0x380adb,_0x7eb9aa,_0xabbd85,_0x52c756);}[_0x5a7f20(0x2db)](_0x29fe25,_0x23ee21,_0x3a5523,_0x178ab4){const _0x50c2db=_0x5a7f20;let _0x393671=this[_0x50c2db(0x3df)]['getShapeData']()['relation'],_0x523507={..._0x393671},_0x11caea={'shapeId':_0x23ee21['shapeId'],'cxnIndex':_0x23ee21['cxnIndex']};_0x3a5523?_0x523507['from']=_0x11caea:_0x523507['to']=_0x11caea;let _0x1c43e0=this[_0x50c2db(0x3df)][_0x50c2db(0x36f)](),_0x20b63c=_0x1498f5(_0x29fe25['worldPoints'],_0x1c43e0),_0x2b0f9d={'unitId':this[_0x50c2db(0x479)],'subUnitId':this[_0x50c2db(0x2aa)],'connectorShapeId':this['_activeShapeId'],'width':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x3d7)],'height':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x4c8)],'left':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x5af)],'top':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x406)],'flipX':_0x29fe25[_0x50c2db(0x403)]['flipX']||!0x1,'flipY':_0x29fe25[_0x50c2db(0x403)][_0x50c2db(0x4e4)]||!0x1,'newAdjustValues':_0x20b63c['adjustValues'],'oldAdjustValues':_0x178ab4,'oldRelation':_0x393671,'newRelation':_0x523507,'newLineType':_0x20b63c[_0x50c2db(0x200)],'oldLineType':_0x1c43e0};this[_0x50c2db(0x52a)]['executeCommand'](_0x9e59c9['id'],_0x2b0f9d);}[_0x5a7f20(0x619)](_0x136659,_0x335897){const _0x2e05ac=_0x5a7f20;let _0x2d45cb=this[_0x2e05ac(0x3df)][_0x2e05ac(0x36f)](),_0x5d2b27=_0x1498f5(_0x136659['worldPoints'],_0x2d45cb),_0x899fcf={'unitId':this[_0x2e05ac(0x479)],'subUnitId':this[_0x2e05ac(0x2aa)],'shapeId':this[_0x2e05ac(0x1be)],'width':_0x136659['worldRect']['width'],'height':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x4c8)],'left':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x5af)],'top':_0x136659['worldRect'][_0x2e05ac(0x406)],'flipX':_0x136659[_0x2e05ac(0x403)]['flipX']||!0x1,'flipY':_0x136659[_0x2e05ac(0x403)][_0x2e05ac(0x4e4)]||!0x1,'angle':_0x136659['worldRect'][_0x2e05ac(0x402)]||0x0,'newAdjustValues':_0x5d2b27[_0x2e05ac(0x344)],'oldAdjustValues':_0x335897,'newLineType':_0x5d2b27['lineType'],'oldLineType':_0x2d45cb};this[_0x2e05ac(0x52a)][_0x2e05ac(0x4eb)](_0x110f42['id'],_0x899fcf);}['_executeConnectedRouteConnectionCommand'](_0x1e61f2,_0x30eab6,_0x1e5e27,_0x2c6a55,_0x270574){const _0x4df861=_0x5a7f20;let _0x40ad96=this[_0x4df861(0x3df)][_0x4df861(0x5d3)]()[_0x4df861(0x3f7)],_0x4a630d={..._0x40ad96},_0x2041a7={'shapeId':_0x30eab6[_0x4df861(0x384)],'cxnIndex':_0x30eab6[_0x4df861(0x432)]};_0x2c6a55?(_0x4a630d[_0x4df861(0x386)]=_0x2041a7,_0x4a630d['to']=_0x1e5e27):(_0x4a630d['from']=_0x1e5e27,_0x4a630d['to']=_0x2041a7);let _0x37a5ed={'unitId':this[_0x4df861(0x479)],'subUnitId':this[_0x4df861(0x2aa)],'connectorShapeId':this[_0x4df861(0x1be)],'width':_0x1e61f2['worldRect'][_0x4df861(0x3d7)],'height':_0x1e61f2[_0x4df861(0x403)]['height'],'left':_0x1e61f2['worldRect'][_0x4df861(0x5af)],'top':_0x1e61f2['worldRect'][_0x4df861(0x406)],'flipX':_0x1e61f2['worldRect'][_0x4df861(0x51a)]||!0x1,'flipY':_0x1e61f2[_0x4df861(0x403)][_0x4df861(0x4e4)]||!0x1,'oldAdjustValues':_0x270574,'newAdjustValues':_0x1e61f2[_0x4df861(0x344)],'newLineType':_0x1e61f2['lineType'],'rotation':_0x1e61f2[_0x4df861(0x334)],'oldRelation':_0x40ad96,'newRelation':_0x4a630d};this['_commandService'][_0x4df861(0x4eb)](_0x9e59c9['id'],_0x37a5ed);}['_executeConnectedRouteResizeCommand'](_0x88dc0,_0x1aa462,_0x451697,_0x2827b5){const _0x37acb7=_0x5a7f20;let _0x1ab1a3=this[_0x37acb7(0x3df)][_0x37acb7(0x5d3)]()[_0x37acb7(0x3f7)],_0x384d12={};_0x451697?(_0x384d12['to']=_0x1aa462,_0x384d12['from']=void 0x0):(_0x384d12[_0x37acb7(0x386)]=_0x1aa462,_0x384d12['to']=void 0x0);let _0x5f01c4={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x3d7)],'height':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x4c8)],'left':_0x88dc0['worldRect'][_0x37acb7(0x5af)],'top':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x406)],'flipX':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x51a)]||!0x1,'flipY':_0x88dc0[_0x37acb7(0x403)][_0x37acb7(0x4e4)]||!0x1,'oldAdjustValues':_0x2827b5,'newAdjustValues':_0x88dc0[_0x37acb7(0x344)],'newLineType':_0x88dc0[_0x37acb7(0x200)],'rotation':_0x88dc0[_0x37acb7(0x334)],'oldRelation':_0x1ab1a3,'newRelation':_0x384d12};this[_0x37acb7(0x52a)][_0x37acb7(0x4eb)](_0x9e59c9['id'],_0x5f01c4);}[_0x5a7f20(0x3e2)](_0x5c63b6,_0x2ad04a,_0x54cff8){const _0x485097=_0x5a7f20;this[_0x485097(0x404)](_0x162f95(_0x5c63b6[_0x485097(0x1c8)][_0x485097(0x3f0)]((_0x27a709,_0x48db2b)=>{const _0x860635=_0x485097;let _0x1059ec=_0x5c63b6[_0x860635(0x514)]();if(this['_activeShapeModel']=this[_0x860635(0x225)][_0x860635(0x2dc)](_0x1059ec[_0x860635(0x666)],_0x1059ec['subUnitId'],_0x1059ec[_0x860635(0x1fb)]),!this[_0x860635(0x3df)])return;let _0x46f846={};this[_0x860635(0x3df)][_0x860635(0x357)]()['forEach'](_0x310d1b=>{const _0x1e47c0=_0x860635;let _0x5e444b=this[_0x1e47c0(0x3df)][_0x1e47c0(0x257)](_0x310d1b);_0x5e444b!==void 0x0&&(_0x46f846[_0x310d1b]=_0x5e444b);});let _0x52ff29=this[_0x860635(0x55d)]();if(!_0x52ff29)return;this[_0x860635(0x1f9)]={..._0x52ff29};let _0xd14ebc=new _0x22c5d0(this['_baseDrawingRect']),_0x32df0a=_0x46e3e9({'unitId':this[_0x860635(0x479)],'subUnitId':this[_0x860635(0x2aa)],'drawingId':this['_activeShapeId']}),_0x24dba6=_0x2ad04a[_0x860635(0x33c)](_0x32df0a);this['_isConnecting']=!0x0,_0x2ad04a[_0x860635(0x5d5)](),this['_sheetBasicShapeConnectionPointController'][_0x860635(0x373)](_0x2ad04a,this['_unitId'],this['_subUnitId'],this[_0x860635(0x1be)]),this['_currentConnectionTarget']=null;let _0x2c799e=this[_0x860635(0x3df)][_0x860635(0x45c)](),_0x5c3389=_0x2c799e[0x0],_0x5d52a7=_0x2c799e[_0x2c799e['length']-0x1],_0x49d59a=_0x54cff8?_0xd14ebc[_0x860635(0x5e6)](_0x5d52a7):_0xd14ebc[_0x860635(0x5e6)](_0x5c3389);this[_0x860635(0x242)]=_0x2ad04a['onPointerMove$'][_0x860635(0x3f0)]((_0x249ea1,_0x5bac77)=>{const _0x52ac70=_0x860635;if(!this[_0x52ac70(0x385)]||!this[_0x52ac70(0x3df)])return;this[_0x52ac70(0x427)]||(this[_0x52ac70(0x375)][_0x52ac70(0x492)](),this[_0x52ac70(0x3df)][_0x52ac70(0x216)](),this[_0x52ac70(0x427)]=!0x0);let _0x55b687=this['_getScrollInfo'](this[_0x52ac70(0x479)],this['_subUnitId']),_0x164bc7=this['_getZoomRatio'](this[_0x52ac70(0x479)],this[_0x52ac70(0x2aa)]),_0x3f72ed={'x':_0x249ea1['offsetX']/_0x164bc7+_0x55b687['x'],'y':_0x249ea1[_0x52ac70(0x478)]/_0x164bc7+_0x55b687['y']},_0xf0277f=this[_0x52ac70(0x524)][_0x52ac70(0x21c)](_0x3f72ed);if(_0xf0277f){let {shapeId:_0x2152a9,unitId:_0x5db9bd,subUnitId:_0x4c5f26}=_0xf0277f;if(_0x2152a9&&_0x5db9bd&&_0x4c5f26){let _0x42dd5f=_0x46e3e9({'unitId':_0x5db9bd,'subUnitId':_0x4c5f26,'drawingId':_0x2152a9});_0xf0277f[_0x52ac70(0x402)]=(_0x2ad04a[_0x52ac70(0x33c)](_0x42dd5f)['angle']||0x0)+_0xf0277f[_0x52ac70(0x402)];}}this[_0x52ac70(0x1d8)]=_0xf0277f;let _0x26d47c=_0x54cff8?this[_0x52ac70(0x3df)][_0x52ac70(0x3d8)]():this['_activeShapeModel'][_0x52ac70(0x581)]();if(_0x26d47c){this[_0x52ac70(0x1c7)](_0x26d47c,_0x3f72ed,_0x54cff8,_0x24dba6,_0x5c63b6);return;}this[_0x52ac70(0x541)](_0x3f72ed,_0x49d59a,_0x54cff8,_0x24dba6,_0x5c63b6);}),this[_0x860635(0x51c)]=_0x2ad04a['onPointerUp$'][_0x860635(0x3f0)]((_0x6e230a,_0xb99169)=>{const _0x2bbd9e=_0x860635;this[_0x2bbd9e(0x207)](_0x2ad04a,_0x49d59a,_0x6e230a,_0x54cff8,_0x46f846);}),_0x48db2b['stopPropagation']();})));}[_0x5a7f20(0x1f3)](_0x1c6884,_0x19443c,_0x352384){const _0x356f06=_0x5a7f20;let _0x489750=this[_0x356f06(0x225)][_0x356f06(0x4c9)](_0x1c6884,_0x19443c,_0x352384);if(!_0x489750||_0x489750[_0x356f06(0x3d6)]===0x0)return;let _0x29e78f=this[_0x356f06(0x33e)][_0x356f06(0x36a)](_0x1c6884);if(!_0x29e78f)return;let {scene:_0x2f74bb}=_0x29e78f;for(let _0x1530c1 of _0x489750){let _0x4e2acc=_0x1530c1['lineShapeId'],_0x51bbfd=this[_0x356f06(0x225)][_0x356f06(0x2dc)](_0x1c6884,_0x19443c,_0x4e2acc);if(!_0x51bbfd)continue;let _0xb379ef=_0x51bbfd['getStartConnectInfo'](),_0x532f22=_0x51bbfd[_0x356f06(0x3d8)](),_0x1d3559=(_0xb379ef==null?void 0x0:_0xb379ef['shapeId'])===_0x352384,_0x4e10e1=_0x46e3e9({'unitId':_0x1c6884,'subUnitId':_0x19443c,'drawingId':_0x4e2acc}),_0x21afa2=_0x2f74bb['getObjectIncludeInGroup'](_0x4e10e1);if(!_0x21afa2)continue;let _0x23eb97=this['_drawingManagerService'][_0x356f06(0x4b2)]({'unitId':_0x1c6884,'subUnitId':_0x19443c,'drawingId':_0x4e2acc});_0x23eb97!=null&&_0x23eb97[_0x356f06(0x3ba)]&&(_0xb379ef&&_0x532f22?this[_0x356f06(0x267)](_0x1c6884,_0x19443c,_0x4e2acc,_0x51bbfd,_0xb379ef,_0x532f22,_0x21afa2):this['_moveConnectorWithShape'](_0x1c6884,_0x19443c,_0x4e2acc,_0x51bbfd,_0x1d3559?_0xb379ef:_0x532f22,_0x1d3559,_0x23eb97,_0x21afa2));}}[_0x5a7f20(0x267)](_0x581b76,_0x35aaef,_0x2ee4ea,_0x35c35d,_0x36a0f1,_0x5c977b,_0x527f56){const _0x31eb9b=_0x5a7f20;let _0x24027d=this[_0x31eb9b(0x479)],_0x44f6ce=this[_0x31eb9b(0x2aa)];this['_unitId']=_0x581b76,this[_0x31eb9b(0x2aa)]=_0x35aaef;let _0x265d0e=this[_0x31eb9b(0x408)](_0x36a0f1),_0x448bb4=this[_0x31eb9b(0x408)](_0x5c977b);if(this['_unitId']=_0x24027d,this[_0x31eb9b(0x2aa)]=_0x44f6ce,!_0x265d0e||!_0x448bb4)return;let _0x5ea8d8=_0x35c35d['getShapeType'](),_0x259d98=_0x374a50(_0x265d0e,_0x448bb4,_0x5ea8d8);_0x259d98&&_0x35c35d['updateLinePoints'](_0x259d98);let _0xca73c5=_0x1498f5(_0x259d98,_0x5ea8d8);_0xca73c5[_0x31eb9b(0x200)]!==_0x5ea8d8&&_0x35c35d[_0x31eb9b(0x393)](_0xca73c5[_0x31eb9b(0x200)]),_0x35c35d[_0x31eb9b(0x216)]();for(let [_0x6e203d,_0xf81e55]of Object[_0x31eb9b(0x629)](_0xca73c5[_0x31eb9b(0x344)]))_0x35c35d[_0x31eb9b(0x348)](_0x6e203d,_0xf81e55);_0x35c35d[_0x31eb9b(0x5ed)]({'width':_0xca73c5['worldRect'][_0x31eb9b(0x3d7)],'height':_0xca73c5['worldRect'][_0x31eb9b(0x4c8)]}),_0x527f56['transformByState']({'flipX':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x51a)],'flipY':_0xca73c5[_0x31eb9b(0x403)]['flipY'],'left':_0xca73c5[_0x31eb9b(0x403)]['left'],'top':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x406)],'width':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x3d7)],'height':_0xca73c5[_0x31eb9b(0x403)][_0x31eb9b(0x4c8)],'angle':_0xca73c5[_0x31eb9b(0x334)]}),_0x35c35d['removeLinePoints']();}[_0x5a7f20(0x342)](_0xc185e9,_0x2bbcde,_0x1ade14,_0x190b1b,_0x2962c0,_0xbb5523,_0x26ac05,_0x25e1be){const _0x2c0912=_0x5a7f20;let _0x5d7c38=this[_0x2c0912(0x479)],_0x2b601c=this[_0x2c0912(0x2aa)];this['_unitId']=_0xc185e9,this[_0x2c0912(0x2aa)]=_0x2bbcde;let _0x67ec85=this['_getConnectPointInfo'](_0x2962c0);if(this[_0x2c0912(0x479)]=_0x5d7c38,this[_0x2c0912(0x2aa)]=_0x2b601c,!_0x67ec85)return;let {left:_0x1c1e78=0x0,top:_0x22f2c3=0x0,width:_0x52a2d9=0x0,height:_0xf6c886=0x0,flipX:_0x147d1d=!0x1,flipY:_0x13fa30=!0x1}=_0x26ac05[_0x2c0912(0x3ba)],_0x9e6fb1=_0x190b1b[_0x2c0912(0x45c)]();if(_0x9e6fb1['length']<0x2)return;let _0x5e2f03=new _0x22c5d0({'left':_0x1c1e78,'top':_0x22f2c3,'width':_0x52a2d9,'height':_0xf6c886,'flipX':_0x147d1d,'flipY':_0x13fa30}),_0x3512ea=_0xbb5523?_0x9e6fb1[_0x9e6fb1[_0x2c0912(0x3d6)]-0x1]:_0x9e6fb1[0x0],_0x1d68b5=_0x5e2f03[_0x2c0912(0x5e6)](_0x3512ea),_0x47bfd1=_0x22c5d0[_0x2c0912(0x624)](_0x1d68b5,_0x67ec85[_0x2c0912(0x3ea)],!_0xbb5523);_0x25e1be[_0x2c0912(0x288)]({'flipX':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x51a)],'flipY':_0x47bfd1[_0x2c0912(0x403)]['flipY'],'left':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x5af)],'top':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x406)],'width':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x3d7)],'height':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x4c8)],'angle':_0x47bfd1[_0x2c0912(0x403)][_0x2c0912(0x402)]}),_0x25e1be[_0x2c0912(0x2bb)](!0x0);}[_0x5a7f20(0x4ac)](){const _0x223f2c=_0x5a7f20;this['_connectorObjects']['length']!==0x0&&(this[_0x223f2c(0x559)][_0x223f2c(0x2cc)](_0x469a9d=>{const _0x4ba778=_0x223f2c;_0x469a9d[_0x4ba778(0x4b5)]();}),this[_0x223f2c(0x559)]=[]);}[_0x5a7f20(0x5f3)](){const _0x2a7878=_0x5a7f20;let _0x4397ee=this[_0x2a7878(0x4c0)][_0x2a7878(0x3a1)](_0x162ef7['UNIVER_SHEET']);this[_0x2a7878(0x404)](_0x4397ee[_0x2a7878(0x254)](_0x1e398(_0x40fd43=>_0x40fd43?_0x40fd43[_0x2a7878(0x42a)][_0x2a7878(0x254)](_0x1e398(_0x5db0ad=>{const _0x5b8b89=_0x2a7878;if(!_0x5db0ad)return _0x502183;let _0x27b15d=_0x40fd43['getUnitId'](),_0x1e06e0=this[_0x5b8b89(0x33e)][_0x5b8b89(0x36a)](_0x27b15d),_0x41ffcc=_0x1e06e0==null?void 0x0:_0x1e06e0['scene'];return _0x41ffcc?_0x570989(_0x41ffcc):_0x502183;})):_0x502183))[_0x2a7878(0x2ab)](_0x3eb5bd=>{const _0x5d4764=_0x2a7878;let _0x38934f=_0x3eb5bd[_0x5d4764(0x498)]();this[_0x5d4764(0x404)](_0x3eb5bd[_0x5d4764(0x48a)]['subscribeEvent'](_0x50cfe9=>{const _0x5b2b94=_0x5d4764;this[_0x5b2b94(0x562)]&&this[_0x5b2b94(0x1be)]&&this[_0x5b2b94(0x4ac)]();})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x518)][_0x5d4764(0x2ab)](_0x1e19fb=>{const _0x1714ce=_0x5d4764;let {objects:_0x1a7187}=_0x1e19fb;this[_0x1714ce(0x4ac)](),_0x1a7187!==null&&_0x1a7187[_0x1714ce(0x352)]===0x1&&_0x1a7187[_0x1714ce(0x204)]()[_0x1714ce(0x49b)]()[_0x1714ce(0x231)]instanceof to&&(this[_0x1714ce(0x562)]=!0x0);})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x4e9)]['subscribe'](_0x5b45b7=>{const _0x2f2bec=_0x5d4764;this[_0x2f2bec(0x562)]&&this[_0x2f2bec(0x4ac)]();})),this[_0x5d4764(0x404)](_0x3eb5bd['onPointerUp$'][_0x5d4764(0x3f0)](()=>{const _0x26cd3b=_0x5d4764;this[_0x26cd3b(0x562)]&&(this[_0x26cd3b(0x562)]=!0x1,this[_0x26cd3b(0x561)]());})),this['disposeWithMe'](_0x38934f[_0x5d4764(0x1f5)][_0x5d4764(0x2ab)](()=>{const _0x5068d0=_0x5d4764;this[_0x5068d0(0x479)]&&this[_0x5068d0(0x2aa)]&&this[_0x5068d0(0x1be)]&&this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x5068d0(0x479)],'subUnitId':this[_0x5068d0(0x2aa)],'drawingId':this[_0x5068d0(0x1be)]})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x5068d0(0x561)]());}));}));}[_0x5a7f20(0x315)](){const _0xed64c0=_0x5a7f20;this[_0xed64c0(0x404)](this[_0xed64c0(0x65c)][_0xed64c0(0x237)]['subscribe'](_0x311ef1=>{const _0x5ecef0=_0xed64c0;if(_0x311ef1[_0x5ecef0(0x3d6)]===0x1){let _0x42e962=_0x311ef1[0x0];if(_0x42e962[_0x5ecef0(0x526)]===_0x5d8611[_0x5ecef0(0x415)]){let _0x2004bc=this['_sheetsShapeService']['getShapeModel'](_0x42e962[_0x5ecef0(0x666)],_0x42e962[_0x5ecef0(0x279)],_0x42e962['drawingId']);if(_0x2004bc&&_0x39df67(_0x2004bc[_0x5ecef0(0x36f)]())){this['_activeShapeId']=_0x42e962[_0x5ecef0(0x1fb)],this['_unitId']=_0x42e962[_0x5ecef0(0x666)],this[_0x5ecef0(0x2aa)]=_0x42e962['subUnitId'],this[_0x5ecef0(0x4ac)](),this[_0x5ecef0(0x561)]();return;}}}this['_activeShapeId']=void 0x0,this[_0x5ecef0(0x479)]=void 0x0,this[_0x5ecef0(0x2aa)]=void 0x0,this[_0x5ecef0(0x4ac)]();})),this[_0xed64c0(0x404)](this[_0xed64c0(0x65c)]['update$'][_0xed64c0(0x2ab)](_0x1b51b8=>{const _0x222671=_0xed64c0;if(_0x1b51b8[_0x222671(0x3d6)]===0x1){var _0x27c45b;let _0x155fe7=_0x1b51b8[0x0],_0x14cdb3=(_0x27c45b=this[_0x222671(0x65c)][_0x222671(0x4b2)](_0x155fe7))==null?void 0x0:_0x27c45b[_0x222671(0x526)];_0x14cdb3===_0x5d8611[_0x222671(0x415)]&&_0x155fe7[_0x222671(0x1fb)]===this[_0x222671(0x1be)]?(this[_0x222671(0x4ac)](),this[_0x222671(0x561)]()):!this['_activeShapeId']&&_0x14cdb3===_0x5d8611[_0x222671(0x415)]&&this[_0x222671(0x1f3)](_0x155fe7['unitId'],_0x155fe7[_0x222671(0x279)],_0x155fe7[_0x222671(0x1fb)]);}})),this['disposeWithMe'](this[_0xed64c0(0x65c)][_0xed64c0(0x5bb)][_0xed64c0(0x2ab)](_0x450601=>{for(let _0x55d283 of _0x450601){let {drawingId:_0x355d4f}=_0x55d283;if(this['_activeShapeId']===_0x355d4f){this['_reset']();return;}}}));}['_handleConnectedEndpointMove'](_0x3ec848,_0x584967,_0x5ba5e4,_0x3f1622,_0x20fedb){const _0x1012c1=_0x5a7f20;var _0x3cdd26,_0x1cf7c8;if(!this[_0x1012c1(0x3df)])return;let _0x22e176=this['_getConnectPointInfo'](_0x3ec848);if(!_0x22e176)return;let _0x4097ac=this['_currentConnectionTarget']?this['_currentConnectionTarget'][_0x1012c1(0x490)]:_0x584967,_0x609ab5=this[_0x1012c1(0x1d8)]?this[_0x1012c1(0x1d8)]['angle']:this[_0x1012c1(0x614)](_0x22e176['point'],_0x4097ac),_0xc49a9b;if(this[_0x1012c1(0x1d8)]){let _0x5c3282=this[_0x1012c1(0x65c)][_0x1012c1(0x4b2)]({'unitId':this[_0x1012c1(0x1d8)]['unitId'],'subUnitId':this[_0x1012c1(0x1d8)]['subUnitId'],'drawingId':this[_0x1012c1(0x1d8)][_0x1012c1(0x384)]});if(_0x5c3282!=null&&_0x5c3282[_0x1012c1(0x3ba)]){let {left:_0x49c096=0x0,top:_0x2b6073=0x0,width:_0x219001=0x0,height:_0x2ced05=0x0,angle:_0x34a635}=_0x5c3282[_0x1012c1(0x3ba)];_0xc49a9b=_0x137faa({'left':_0x49c096,'top':_0x2b6073,'width':_0x219001,'height':_0x2ced05},_0x34a635||0x0);}else _0xc49a9b={'left':_0x4097ac['x'],'top':_0x4097ac['y'],'width':0x0,'height':0x0};}else _0xc49a9b={'left':_0x4097ac['x'],'top':_0x4097ac['y'],'width':0x0,'height':0x0};let _0x5b7d1f={'point':_0x4097ac,'angle':_0x609ab5,'bounds':_0xc49a9b},_0x46509e=_0x5ba5e4?_0x5b7d1f:_0x22e176,_0x598084=_0x5ba5e4?_0x22e176:_0x5b7d1f,_0x17fabb=this[_0x1012c1(0x3df)][_0x1012c1(0x36f)](),_0x3c3819=_0x374a50(_0x46509e,_0x598084,_0x17fabb);_0x3c3819&&this['_activeShapeModel'][_0x1012c1(0x582)](_0x3c3819);let _0x5ac736=_0x1498f5(_0x3c3819,_0x17fabb);_0x5ac736[_0x1012c1(0x200)]!==_0x17fabb&&this[_0x1012c1(0x3df)][_0x1012c1(0x393)](_0x5ac736[_0x1012c1(0x200)]);for(let [_0x2a1fdf,_0x47dbd2]of Object[_0x1012c1(0x629)](_0x5ac736[_0x1012c1(0x344)]))this[_0x1012c1(0x3df)]['setAdjustValueByName'](_0x2a1fdf,_0x47dbd2);this[_0x1012c1(0x3df)]['updateContext']({'width':_0x5ac736[_0x1012c1(0x403)]['width'],'height':_0x5ac736['worldRect']['height']}),_0x3f1622[_0x1012c1(0x288)]({'flipX':_0x5ac736[_0x1012c1(0x403)]['flipX'],'flipY':_0x5ac736['worldRect'][_0x1012c1(0x4e4)],'left':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x5af)],'top':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x406)],'width':_0x5ac736[_0x1012c1(0x403)][_0x1012c1(0x3d7)],'height':_0x5ac736['worldRect'][_0x1012c1(0x4c8)],'angle':_0x5ac736[_0x1012c1(0x334)]}),_0x3f1622['makeDirty'](!0x0);let _0x5033e4=(_0x3cdd26=(_0x1cf7c8=this['_currentConnectionTarget'])==null?void 0x0:_0x1cf7c8[_0x1012c1(0x490)])==null?_0x584967:_0x3cdd26;_0x20fedb['transformByState']({'left':_0x5033e4['x']-_0x9a1b85[_0x1012c1(0x5e2)],'top':_0x5033e4['y']-_0x9a1b85[_0x1012c1(0x5e2)]});}[_0x5a7f20(0x541)](_0x47ad80,_0x32109b,_0x3f65f5,_0x4b9f31,_0x29a033){const _0x114986=_0x5a7f20;var _0x1cb06e,_0x3d6cd5,_0x145db5,_0x36778a;let _0x2e28f3=(_0x1cb06e=(_0x3d6cd5=this[_0x114986(0x1d8)])==null?void 0x0:_0x3d6cd5[_0x114986(0x490)])==null?_0x47ad80:_0x1cb06e,_0x27154c=_0x22c5d0[_0x114986(0x624)](_0x32109b,_0x2e28f3,_0x3f65f5);_0x4b9f31[_0x114986(0x288)]({'flipX':_0x27154c['worldRect'][_0x114986(0x51a)],'flipY':_0x27154c[_0x114986(0x403)][_0x114986(0x4e4)],'left':_0x27154c[_0x114986(0x403)]['left'],'top':_0x27154c[_0x114986(0x403)][_0x114986(0x406)],'width':_0x27154c[_0x114986(0x403)][_0x114986(0x3d7)],'height':_0x27154c[_0x114986(0x403)][_0x114986(0x4c8)],'angle':_0x27154c[_0x114986(0x403)][_0x114986(0x402)]});let _0xdc8af=(_0x145db5=(_0x36778a=this[_0x114986(0x1d8)])==null?void 0x0:_0x36778a[_0x114986(0x490)])==null?_0x47ad80:_0x145db5;_0x29a033[_0x114986(0x288)]({'left':_0xdc8af['x']-_0x9a1b85[_0x114986(0x5e2)],'top':_0xdc8af['y']-_0x9a1b85[_0x114986(0x5e2)]});}['_getConnectPointInfo'](_0x204b9f){const _0x1875b9=_0x5a7f20;if(!this[_0x1875b9(0x479)]||!this[_0x1875b9(0x2aa)])return null;let {shapeId:_0x345bb1,cxnIndex:_0x10eac9}=_0x204b9f,_0x3601b2=this[_0x1875b9(0x225)][_0x1875b9(0x2dc)](this[_0x1875b9(0x479)],this[_0x1875b9(0x2aa)],_0x345bb1);if(!_0x3601b2)return null;let _0x9cd0ee=this[_0x1875b9(0x65c)][_0x1875b9(0x4b2)]({'unitId':this[_0x1875b9(0x479)],'subUnitId':this[_0x1875b9(0x2aa)],'drawingId':_0x345bb1});if(!(_0x9cd0ee!=null&&_0x9cd0ee[_0x1875b9(0x3ba)]))return null;let {left:_0x4c3c1b=0x0,top:_0x194051=0x0,width:_0x31a2e4=0x0,height:_0x299203=0x0,flipX:_0x506529=!0x1,flipY:_0x5e675e=!0x1,angle:_0x523f55}=_0x9cd0ee['transform'];_0x3601b2[_0x1875b9(0x5ed)]({'width':_0x31a2e4,'height':_0x299203});let _0x27cde9=_0x3601b2[_0x1875b9(0x3ef)]()[_0x1875b9(0x302)](_0x32bc91=>_0x32bc91['index']===_0x10eac9);if(!_0x27cde9)return null;let _0xaedad0=_0x506529?_0x31a2e4-_0x27cde9['x']:_0x27cde9['x'],_0x6f8446=_0x5e675e?_0x299203-_0x27cde9['y']:_0x27cde9['y'];if(_0x523f55!==0x0&&_0x523f55!=null){let _0x1e4c6c=_0x523f55*Math['PI']/0xb4,_0x5bfb75=Math[_0x1875b9(0x3bb)](_0x1e4c6c),_0x206595=Math['sin'](_0x1e4c6c),_0x1b2873=_0x31a2e4/0x2,_0x3371a4=_0x299203/0x2,_0x150f29=_0xaedad0-_0x1b2873,_0x8b8e81=_0x6f8446-_0x3371a4;_0xaedad0=_0x1b2873+_0x150f29*_0x5bfb75-_0x8b8e81*_0x206595,_0x6f8446=_0x3371a4+_0x150f29*_0x206595+_0x8b8e81*_0x5bfb75;}_0xaedad0+=_0x4c3c1b,_0x6f8446+=_0x194051;let _0x206d4c=_0x27cde9[_0x1875b9(0x5a8)]/0xea60;_0x506529&&(_0x206d4c=0xb4-_0x206d4c),_0x5e675e&&(_0x206d4c=-_0x206d4c),_0x206d4c+=_0x523f55||0x0,_0x206d4c=(_0x206d4c%0x168+0x168)%0x168;let _0x31823b=_0x137faa({'left':_0x4c3c1b,'top':_0x194051,'width':_0x31a2e4,'height':_0x299203},_0x523f55||0x0);return{'point':{'x':_0xaedad0,'y':_0x6f8446},'angle':_0x206d4c,'bounds':_0x31823b};}[_0x5a7f20(0x614)](_0x1ee1a9,_0x454908){const _0x1834c7=_0x5a7f20;let _0x351be4=_0x454908['x']-_0x1ee1a9['x'],_0x3a37fb=_0x454908['y']-_0x1ee1a9['y'];return Math[_0x1834c7(0x5ea)](_0x351be4)>=Math['abs'](_0x3a37fb)?_0x351be4>=0x0?0xb4:0x0:_0x3a37fb>=0x0?0x10e:0x5a;}[_0x5a7f20(0x33b)](){const _0x244b3d=_0x5a7f20;this['_activeShapeId']=void 0x0,this[_0x244b3d(0x479)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x244b3d(0x4ac)]();}[_0x5a7f20(0x4b5)](){const _0x3d6229=_0x5a7f20;this[_0x3d6229(0x4ac)](),super[_0x3d6229(0x4b5)]();}};Uo=$([Q(0x1,_0x2e069e),Q(0x2,_0x43fdcf),Q(0x3,_0x2ac48c),Q(0x4,_0x1005f5),Q(0x5,_0x1e77ba(_0xc9428c)),Q(0x6,_0x1e77ba(mo)),Q(0x7,_0x1e77ba(Bo))],Uo);let Wo=class extends _0x185401{constructor(_0x3ef5dd,_0x344d86,_0x5655b1){const _0x2d63d5=_0x5a7f20;super(),this[_0x2d63d5(0x52a)]=_0x3ef5dd,this[_0x2d63d5(0x20b)]=_0x344d86,this[_0x2d63d5(0x593)]=_0x5655b1,this[_0x2d63d5(0x296)]();}[_0x5a7f20(0x296)](){const _0x4159c3=_0x5a7f20;this['disposeWithMe'](this['_commandService'][_0x4159c3(0x580)](_0x3c2e73=>{const _0x5786e2=_0x4159c3;let _0x30e7fb,_0x15a47c;if(_0x3c2e73['id']===_0x5a3ad6['id']||_0x3c2e73['id']===_0x30ee7d['id']||_0x3c2e73['id']===_0x9e59c9['id']){let _0x3cf67e=_0x3c2e73[_0x5786e2(0x233)];_0x30e7fb=_0x3cf67e[_0x5786e2(0x666)],_0x15a47c=_0x3cf67e[_0x5786e2(0x279)];}!_0x30e7fb||!_0x15a47c||this[_0x5786e2(0x593)][_0x5786e2(0x659)]({'workbookTypes':[_0x34a758],'worksheetTypes':[_0x343b12]},_0x30e7fb,_0x15a47c)||this['_sheetPermissionCheckController'][_0x5786e2(0x326)](this[_0x5786e2(0x20b)]['t'](_0x5786e2(0x439)));}));}};Wo=$([Q(0x0,_0x1e77ba(_0x2e069e)),Q(0x1,_0x1e77ba(_0x2e65fd)),Q(0x2,_0x1e77ba(_0x1a30ea))],Wo);const Go=function(_0x129c31){const _0x393d34=_0x5a7f20;let {containerWidth:_0x4f00c4,containerHeight:_0x4b012c,scaleX:_0x1fa28f,scaleY:_0x501261}=_0x129c31,_0x4e46c9=_0x1fa28f||0x1,_0x2538b1=_0x501261||0x1,_0x5c1877=_0x5bcd39(X),_0x31aa30=_0x5bcd39(_0x2d2c99),_0x20b5c8=_0x5bcd39(_0x43fdcf),_0x5cf88e=_0x5bcd39(_0x1005f5),_0x438833=_0x5bcd39(_0x2ac48c),_0x4c4200=_0x5bcd39(_0xc9428c),_0x4258ff=_0x5bcd39(_0x2e069e),_0x24788d=_0x4c8d63(_0x5c1877[_0x393d34(0x3bf)]),_0x55963b=_0x4c8d63(_0x5c1877['onSavingEditorData$']),_0x367384=_0xd3b7d0(null),_0x780799=_0xd3b7d0(null),_0x4506e4=_0xd3b7d0(null),_0x59fe7d=_0xd3b7d0(null),_0x3f5a9e=_0xd3b7d0(null),_0x138953=_0xd3b7d0(null),[_0x44bb89,_0x47b4ab]=_0x39af17({'editorHeight':_0x4b012c,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x2bdb83=_0x79c09a(_0x255edd=>{queueMicrotask(()=>{_0x47b4ab(_0x255edd);});},[]),_0x43b8ac=_0x79c09a(()=>_0x5cf88e[_0x393d34(0x4e7)](Za,_0x162ef7[_0x393d34(0x253)]),[_0x5cf88e]),_0x4767b5=_0x79c09a(()=>{const _0x402a24=_0x393d34;var _0xbc630;let _0x17ffc8=_0x4e46c9,_0xf35a32=_0x2538b1;if(!_0x24788d)return{'scaleAdjust':0x1,'renderScaleX':_0x17ffc8,'renderScaleY':_0xf35a32};let _0x3544f8=_0x20b5c8[_0x402a24(0x36a)](_0x24788d[_0x402a24(0x666)]),_0x444ae7=_0x3544f8==null?void 0x0:_0x3544f8[_0x402a24(0x2a0)][_0x402a24(0x2e2)](),_0x2aacd6=_0x3544f8==null?void 0x0:_0x3544f8[_0x402a24(0x236)][_0x402a24(0x331)](),_0x1395e1=_0x2aacd6?Number[_0x402a24(0x5d7)](_0x2aacd6[_0x402a24(0x2f8)][_0x402a24(0x3d7)]||''):0x0,_0x5c4cdd=(_0xbc630=_0x2aacd6==null?void 0x0:_0x2aacd6[_0x402a24(0x569)]()[_0x402a24(0x3d7)])==null?0x0:_0xbc630,_0x10507b=_0x1395e1>0x0&&_0x5c4cdd>0x0?_0x5c4cdd/_0x1395e1:0x1;return{'scaleAdjust':Number['isFinite'](_0x10507b)&&_0x10507b>0x0?_0x10507b:0x1,'renderScaleX':(_0x444ae7==null?void 0x0:_0x444ae7[_0x402a24(0x2af)])||_0x17ffc8,'renderScaleY':(_0x444ae7==null?void 0x0:_0x444ae7[_0x402a24(0x485)])||_0xf35a32};},[_0x4e46c9,_0x2538b1,_0x24788d,_0x20b5c8]),_0x590c40=_0x79c09a(()=>{const _0x5e5354=_0x393d34;if(!_0x24788d)return{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};let {unitId:_0x20e847,subUnitId:_0x57ad09,shapeId:_0x4dea84}=_0x24788d,_0x2b02e6=_0x4c4200[_0x5e5354(0x2dc)](_0x20e847,_0x57ad09,_0x4dea84);if(!_0x2b02e6)return{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};let _0x214ef8={'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1};return _0x2b02e6['getShapeTextRect'](_0x214ef8);},[_0x24788d,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1,_0x4c4200]),_0x3e4ab4=_0x79c09a(()=>{const _0x7fab0c=_0x393d34;if(!_0x24788d)return null;let {unitId:_0x3c22c0,subUnitId:_0x4d2663,shapeId:_0x26887d}=_0x24788d,_0x542a1c=_0x4c4200['getShapeModel'](_0x3c22c0,_0x4d2663,_0x26887d);if(!_0x542a1c)return null;let _0x47dbd1=_0x542a1c[_0x7fab0c(0x570)]();if(!_0x47dbd1)return null;let _0x25e43e={'unitId':_0x3c22c0,'subUnitId':_0x4d2663,'drawingId':_0x26887d},_0x112103=_0x438833['getDrawingByParam'](_0x25e43e),_0x57f0cc={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x112103&&_0x112103[_0x7fab0c(0x3ba)]&&(_0x57f0cc=_0x112103[_0x7fab0c(0x3ba)]);let _0x30a4fa={'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1},_0x3118b1=_0x542a1c[_0x7fab0c(0x4d9)](_0x30a4fa),_0x640b13,_0x33e2d8=_0x583d52['TOP'],_0x31d207=_0xbfeb53[_0x7fab0c(0x38c)];if('dataModel'in _0x47dbd1&&_0x47dbd1[_0x7fab0c(0x3e1)]){var _0x55d63f,_0x4d0954;let _0x317d76=_0x47dbd1[_0x7fab0c(0x3e1)];_0x317d76!=null&&_0x317d76[_0x7fab0c(0x299)]&&(_0x640b13=_0x317d76[_0x7fab0c(0x299)]),_0x33e2d8=(_0x55d63f=_0x317d76==null?void 0x0:_0x317d76['va'])==null?_0x583d52[_0x7fab0c(0x202)]:_0x55d63f,_0x31d207=(_0x4d0954=_0x317d76==null?void 0x0:_0x317d76['ha'])==null?_0xbfeb53[_0x7fab0c(0x38c)]:_0x4d0954;}return{'doc':_0x640b13,'verticalAlign':_0x33e2d8,'horizontalAlign':_0x31d207,'textRect':_0x3118b1,'transform':_0x57f0cc,'isHorizontal':_0x47dbd1[_0x7fab0c(0x3da)]};},[_0x24788d,_0x4c4200,_0x438833,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1]),_0x2f8e70=_0x5652b4(()=>{const _0x5a5faa=_0x393d34;let _0x567c0a=_0x3e4ab4();return _0x567c0a!=null&&_0x567c0a[_0x5a5faa(0x299)]?$a(_0x567c0a[_0x5a5faa(0x299)],{'isHorizontal':!0x0,'textRect':_0x567c0a['textRect'],'verticalAlign':_0x567c0a['verticalAlign'],'horizontalAlign':_0x567c0a[_0x5a5faa(0x468)]}):{'id':Za,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x4f00c4/_0x4e46c9,'height':0x1/0x0}}};},[_0x3e4ab4,_0x4f00c4,_0x4e46c9]),_0x51d124=_0x534063({'editorId':Za,'initialValue':_0x2f8e70,'container':_0x780799,'autoFocus':!0x1,'isSingle':!0x1}),_0x5de19a=_0x53c7cc(Za);_0x43c3cc(_0x5de19a,{'keyCodes':[{'keyCode':_0x1a9450['ENTER']}],'handler':()=>{const _0x18a832=_0x393d34;_0x4258ff[_0x18a832(0x4eb)](_0x102157['id']);}},_0x51d124),_0xb89232(_0x5de19a,!0x1,_0x51d124);let _0x412690=_0x79c09a((_0x31290c=!0x0)=>{const _0x2c31b9=_0x393d34;var _0x142d7f,_0x50af64,_0x2cab2d;if(!_0x51d124)return;let _0x215784=_0x51d124['getSelectionRanges']()[_0x2c31b9(0x302)](_0xd00ac6=>_0xd00ac6[_0x2c31b9(0x31a)]),_0x3a6e4c=((_0x142d7f=(_0x50af64=_0x51d124['getDocumentData']()[_0x2c31b9(0x3fa)])==null?void 0x0:_0x50af64[_0x2c31b9(0x37e)][_0x2c31b9(0x3d6)])==null?0x2:_0x142d7f)-0x2,_0x3367eb=(_0x2cab2d=_0x215784==null?void 0x0:_0x215784[_0x2c31b9(0x29e)])==null?_0x31290c?_0x3a6e4c:null:_0x2cab2d;_0x3367eb!==null&&_0x51d124[_0x2c31b9(0x48d)]([{'startOffset':_0x3367eb,'endOffset':_0x3367eb}],!0x1);},[_0x51d124]),_0x497335=_0x79c09a(()=>{const _0x49bb56=_0x393d34;_0x3f5a9e[_0x49bb56(0x575)]!==null&&(cancelAnimationFrame(_0x3f5a9e['current']),_0x3f5a9e[_0x49bb56(0x575)]=null),_0x138953[_0x49bb56(0x575)]!==null&&(window[_0x49bb56(0x1e6)](_0x138953['current']),_0x138953[_0x49bb56(0x575)]=null);},[]),_0x54ef95=_0x79c09a(()=>{const _0x3c860e=_0x393d34;var _0x1f5358,_0x1e5ec4,_0x36232e;if(!_0x51d124)return;let _0x586513=_0x20b5c8[_0x3c860e(0x36a)](Za),_0x42f4fc=_0x586513==null?void 0x0:_0x586513[_0x3c860e(0x49a)](_0x2abcb8);if(!_0x42f4fc)return;let _0x440096=_0x42f4fc['getSkeleton'](),_0x52a0a3=_0x43b8ac(),{renderScaleX:_0x138071,renderScaleY:_0x364fa4,scaleAdjust:_0x10e87b}=_0x4767b5(),_0x2f2fa2=_0x3e4ab4(),_0x207508=(_0x1f5358=_0x2f2fa2==null?void 0x0:_0x2f2fa2[_0x3c860e(0x448)])==null?_0x583d52[_0x3c860e(0x202)]:_0x1f5358,_0x5f755d=(_0x1e5ec4=_0x2f2fa2==null?void 0x0:_0x2f2fa2['horizontalAlign'])==null?_0xbfeb53[_0x3c860e(0x38c)]:_0x1e5ec4,_0x22cd96=(_0x36232e=_0x590c40())==null?{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1}:_0x36232e;_0x52a0a3&&(_0x52a0a3[_0x3c860e(0x20c)](Math[_0x3c860e(0x42e)](_0x138071,_0x364fa4)),_0x52a0a3[_0x3c860e(0x668)]({'pageSize':{'width':_0x22cd96['width'],'height':0x1/0x0}}),_0x52a0a3[_0x3c860e(0x477)]({'verticalAlign':_0x207508,'horizontalAlign':_0x5f755d,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x491404['WRAP']})),_0x440096[_0x3c860e(0x3c8)]();let {actualHeight:_0x5daf58}=_0x440096[_0x3c860e(0x665)](),_0x37f6ae=_0x22cd96['height'],_0x51e044=_0x37f6ae,_0x52768b=0x0;if(_0x5daf58<=_0x37f6ae)_0x207508===_0x583d52['MIDDLE']?_0x52768b=(_0x37f6ae-_0x5daf58)/0x2:_0x207508===_0x583d52[_0x3c860e(0x5fc)]&&(_0x52768b=_0x37f6ae-_0x5daf58),_0x51e044=_0x37f6ae,_0x2bdb83({'editorHeight':_0x22cd96[_0x3c860e(0x4c8)]*_0x2538b1,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x34d75d=0x0;_0x207508===_0x583d52[_0x3c860e(0x4bb)]?_0x34d75d=(_0x37f6ae-_0x5daf58)/0x2:_0x207508===_0x583d52[_0x3c860e(0x5fc)]&&(_0x34d75d=_0x37f6ae-_0x5daf58),_0x52768b=0x0,_0x2bdb83({'editorHeight':_0x5daf58*_0x2538b1,'marginTop':_0x34d75d*_0x2538b1,'useAbsolutePosition':!0x0}),_0x51e044=_0x5daf58;}if(_0x52a0a3&&(_0x52a0a3[_0x3c860e(0x668)]({'pageSize':{'width':_0x22cd96[_0x3c860e(0x3d7)],'height':_0x51e044}}),_0x52a0a3['updateDocumentDataMargin']({'t':_0x52768b}),_0x440096[_0x3c860e(0x3c8)]()),_0x586513){let _0x1d27f3=_0x22cd96[_0x3c860e(0x3d7)]*_0x4e46c9,_0xfc66=_0x51e044*_0x2538b1;_0x586513[_0x3c860e(0x2a0)][_0x3c860e(0x288)]({'width':_0x1d27f3*_0x10e87b/_0x138071,'height':_0xfc66*_0x10e87b/_0x364fa4,'scaleX':_0x138071*_0x10e87b,'scaleY':_0x364fa4*_0x10e87b}),_0x586513[_0x3c860e(0x266)]&&_0x586513['mainComponent'][_0x3c860e(0x2e0)](_0x1d27f3*_0x10e87b/_0x138071,_0xfc66*_0x10e87b/_0x364fa4);}},[_0x51d124,_0x20b5c8,_0x43b8ac,_0x4767b5,_0x3e4ab4,_0x590c40,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1,_0x2bdb83]),_0x3a6f47=_0x79c09a((_0xcc9c8c=!0x1)=>{const _0xd5420e=_0x393d34;_0x497335(),_0x3f5a9e[_0xd5420e(0x575)]=requestAnimationFrame(()=>{const _0x23162=_0xd5420e;_0x54ef95(),_0xcc9c8c&&_0x412690(!0x1),_0x3f5a9e[_0x23162(0x575)]=null,_0x138953[_0x23162(0x575)]=window[_0x23162(0x2ca)](()=>{const _0x4cf907=_0x23162;_0x54ef95(),_0xcc9c8c&&_0x412690(!0x1),_0x138953[_0x4cf907(0x575)]=null;},0x14);});},[_0x54ef95,_0x497335,_0x412690]);_0x45aacf(()=>{const _0x2e8dae=_0x393d34;if(!_0x51d124||!_0x24788d)return;let {shapeId:_0x4b99f0,unitId:_0x24182d,subUnitId:_0x48e8d2}=_0x24788d;if(_0x55963b){var _0xbaa359,_0x264c33,_0x246735,_0x51a98a;let _0x42beaf=eo(_0x51d124[_0x2e8dae(0x220)]()),_0x406666=_0x3e4ab4(),_0x86daf4={'va':(_0xbaa359=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x448)])==null?_0x583d52[_0x2e8dae(0x202)]:_0xbaa359,'ha':(_0x264c33=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x468)])==null?_0xbfeb53[_0x2e8dae(0x38c)]:_0x264c33,'doc':_0x42beaf};_0x4258ff[_0x2e8dae(0x4eb)](Va['id'],{'unitId':_0x24182d,'subUnitId':_0x48e8d2,'shapeId':_0x4b99f0,'shapeData':{'shapeText':{'isHorizontal':(_0x246735=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x3da)])==null?!0x0:_0x246735,'dataModel':_0x86daf4}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x51a98a=_0x406666==null?void 0x0:_0x406666[_0x2e8dae(0x3da)])==null?!0x0:_0x51a98a,'dataModel':_0x4506e4[_0x2e8dae(0x575)]}}}});return;}let _0x47a408=_0x3e4ab4();if(_0x47a408!=null&&_0x47a408[_0x2e8dae(0x299)]){_0x4506e4[_0x2e8dae(0x575)]={'va':_0x47a408['verticalAlign'],'ha':_0x47a408[_0x2e8dae(0x468)],'doc':_0x2c82c8['deepClone'](_0x47a408[_0x2e8dae(0x299)])};let _0x3c8f2e=$a(_0x47a408[_0x2e8dae(0x299)],{'isHorizontal':!0x0,'textRect':_0x47a408[_0x2e8dae(0x2ef)],'verticalAlign':_0x47a408[_0x2e8dae(0x448)],'horizontalAlign':_0x47a408[_0x2e8dae(0x468)]});return _0x51d124[_0x2e8dae(0x259)](_0x3c8f2e,null),()=>{const _0x1b6143=_0x2e8dae;var _0x1136ab,_0x257265,_0x2fb26f,_0x30de89;let _0xfe19c8=eo(_0x51d124[_0x1b6143(0x220)]()),_0x1e7e1e=_0x3e4ab4(),_0x1d1637={'va':(_0x1136ab=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x448)])==null?_0x583d52[_0x1b6143(0x202)]:_0x1136ab,'ha':(_0x257265=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x468)])==null?_0xbfeb53['LEFT']:_0x257265,'doc':_0xfe19c8};_0x4258ff[_0x1b6143(0x4eb)](Va['id'],{'unitId':_0x24182d,'subUnitId':_0x48e8d2,'shapeId':_0x4b99f0,'shapeData':{'shapeText':{'isHorizontal':(_0x2fb26f=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x3da)])==null?!0x0:_0x2fb26f,'dataModel':_0x1d1637}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x30de89=_0x1e7e1e==null?void 0x0:_0x1e7e1e[_0x1b6143(0x3da)])==null?!0x0:_0x30de89,'dataModel':_0x4506e4['current']}}}});};}else _0x51d124[_0x2e8dae(0x259)](_0x2f8e70,null);},[_0x51d124,_0x24788d,_0x55963b]),_0x45aacf(()=>{const _0x2ff49b=_0x393d34;if(!(!_0x51d124||!_0x24788d))return _0x31aa30[_0x2ff49b(0x40b)](!0x0),_0x54ef95(),_0x59fe7d[_0x2ff49b(0x575)]=requestAnimationFrame(()=>{const _0x4f6044=_0x2ff49b;_0x31aa30[_0x4f6044(0x52f)](Za),_0x412690(),_0x3a6f47(),_0x59fe7d[_0x4f6044(0x575)]=null;}),()=>{const _0x564997=_0x2ff49b;_0x59fe7d[_0x564997(0x575)]!==null&&(cancelAnimationFrame(_0x59fe7d['current']),_0x59fe7d[_0x564997(0x575)]=null),_0x497335(),_0x31aa30[_0x564997(0x40b)](!0x0);};},[_0x51d124,_0x24788d,_0x31aa30,_0x54ef95,_0x412690,_0x3a6f47,_0x497335]),_0x45aacf(()=>{const _0x5c56a9=_0x393d34;if(!_0x51d124)return;let _0x127b3f=_0x4258ff[_0x5c56a9(0x2be)](_0x4c9964=>{const _0x1cc318=_0x5c56a9;_0x4c9964['id']===_0x4d10e0['id']&&_0x4c9964[_0x1cc318(0x233)][_0x1cc318(0x666)]===Za&&_0x24788d&&(_0x24788d[_0x1cc318(0x608)]?_0x54ef95():_0x5c1877[_0x1cc318(0x59b)]({..._0x24788d,'visible':!0x0})),_0x4c9964['id']===Ka['id']&&_0x3a6f47(!0x0);});return()=>{_0x127b3f['dispose']();};},[_0x51d124,_0x54ef95,_0x24788d,_0x3a6f47,_0x5c1877]),_0x45aacf(()=>(_0x54ef95(),_0x3a6f47(),()=>{_0x497335();}),[_0x54ef95,_0x3a6f47,_0x497335]);let _0xc22571=_0x5652b4(()=>{const _0x2b0907=_0x393d34;var _0x1ecd53;let _0x4f56ec=(_0x1ecd53=_0x590c40())==null?{'left':0x0,'top':0x0,'width':_0x4f00c4/_0x4e46c9,'height':_0x4b012c/_0x2538b1}:_0x1ecd53,_0x3ecc46=_0x4f56ec[_0x2b0907(0x5af)]*_0x4e46c9,_0x46d608=_0x4f56ec[_0x2b0907(0x406)]*_0x2538b1,_0x490741=_0x4f56ec[_0x2b0907(0x3d7)]*_0x4e46c9;return _0x44bb89['useAbsolutePosition']?{'top':_0x46d608+_0x44bb89[_0x2b0907(0x38f)],'left':_0x3ecc46,'width':_0x490741,'height':_0x44bb89[_0x2b0907(0x60e)]}:{'top':_0x46d608,'left':_0x3ecc46,'width':_0x490741,'height':_0x44bb89[_0x2b0907(0x60e)]};},[_0x44bb89,_0x590c40,_0x4f00c4,_0x4b012c,_0x4e46c9,_0x2538b1]),_0x30fd31=_0x5652b4(()=>{const _0x29ad32=_0x393d34;let _0x4b8945=_0x3e4ab4(),_0x550155=_0x4b8945==null?void 0x0:_0x4b8945[_0x29ad32(0x3ba)];return _0x550155&&_0x550155||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x3e4ab4]);return _0x20f703(_0x393d34(0x2ba),{'ref':_0x367384,'data-u-comp':_0x393d34(0x3c5),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':'rotate('+_0x30fd31[_0x393d34(0x402)]+_0x393d34(0x50d)+(_0x30fd31['flipY']?-0x1:0x1)+')'},'children':_0x20f703(_0x393d34(0x2ba),{'ref':_0x780799,'className':'univer-absolute','data-u-comp':'shape-text-editor-content','style':_0xc22571,'data-editorid':Za})});},Ko={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function qo(_0x275a00,_0xf39004,_0x3ff739,_0x1b6212){const _0x4d5759=_0x5a7f20;let {scaleX:_0x317fc5,scaleY:_0x56c15d}=_0x3ff739[_0x4d5759(0x2e2)](),{startColumn:_0x1f38fe,startRow:_0x46f2f3,xSplit:_0x363626,ySplit:_0x52a712}=_0x1b6212['worksheet']['getFreeze'](),_0xd1e1d=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0[_0x4d5759(0x369)]),_0x10f396=_0x3ff739['getViewport'](_0x443ad0[_0x4d5759(0x5cf)]),_0x48f3ee=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0['VIEW_MAIN_TOP']),_0x4d0b34=_0x3ff739[_0x4d5759(0x23a)](_0x443ad0[_0x4d5759(0x5b6)]),{rowHeaderWidth:_0x1b043d,columnHeaderHeight:_0x122adf}=_0x1b6212,_0x4f52b9=_0x1b6212[_0x4d5759(0x424)](_0x46f2f3)+_0x122adf,_0x4d1d1b=_0x1b6212[_0x4d5759(0x1d2)](_0x1f38fe)+_0x1b043d,_0x20e327=_0x1b6212[_0x4d5759(0x424)](_0x46f2f3-_0x52a712)+_0x122adf,_0x2859d1=_0x1b6212[_0x4d5759(0x1d2)](_0x1f38fe-_0x363626)+_0x1b043d,_0x25b982=[],_0x588dee=(_0x1f7910,_0x497d3d,_0x17f8a6)=>{if(!_0x1f7910)return null;let {viewportScrollX:_0x1606f4,viewportScrollY:_0x4cbfe4}=_0x1f7910,_0x5e6366,_0x63d0df;return _0x5e6366=_0x497d3d?(_0x275a00-(_0x2859d1-_0x1b043d))*_0x317fc5:(_0x275a00-_0x1606f4)*_0x317fc5,_0x63d0df=_0x17f8a6?(_0xf39004-(_0x20e327-_0x122adf))*_0x56c15d:(_0xf39004-_0x4cbfe4)*_0x56c15d,{'domX':_0x5e6366,'domY':_0x63d0df};},_0x3ab3ca=_0x275a00<_0x4d1d1b&&_0x363626>0x0,_0x516e6f=_0xf39004<_0x4f52b9&&_0x52a712>0x0,_0x1192a5=_0x275a00>=_0x4d1d1b||_0x363626===0x0,_0x2bae4b=_0xf39004>=_0x4f52b9||_0x52a712===0x0;if(_0x3ab3ca&&_0x516e6f&&_0x10f396){let _0x18399e=_0x588dee(_0x10f396,!0x0,!0x0);_0x18399e&&_0x25b982[_0x4d5759(0x61f)](_0x18399e);}if(_0x516e6f&&_0x1192a5&&_0x48f3ee){let _0x278712=_0x588dee(_0x48f3ee,!0x1,!0x0);_0x278712&&_0x25b982[_0x4d5759(0x61f)](_0x278712);}if(_0x3ab3ca&&_0x2bae4b&&_0x4d0b34){let _0x16983d=_0x588dee(_0x4d0b34,!0x0,!0x1);_0x16983d&&_0x25b982[_0x4d5759(0x61f)](_0x16983d);}if(_0x1192a5&&_0x2bae4b&&_0xd1e1d){let _0x5d0462=_0x588dee(_0xd1e1d,!0x1,!0x1);_0x5d0462&&_0x25b982[_0x4d5759(0x61f)](_0x5d0462);}if(_0x25b982[_0x4d5759(0x3d6)]===0x0){var _0x57f23d,_0x219814;return{'domX':(_0x275a00-((_0x57f23d=_0xd1e1d==null?void 0x0:_0xd1e1d['viewportScrollX'])==null?0x0:_0x57f23d))*_0x317fc5,'domY':(_0xf39004-((_0x219814=_0xd1e1d==null?void 0x0:_0xd1e1d[_0x4d5759(0x4b0)])==null?0x0:_0x219814))*_0x56c15d};}let _0x9d530f=_0x25b982[0x0][_0x4d5759(0x2c2)],_0x2cf2ca=_0x25b982[0x0][_0x4d5759(0x2de)];for(let _0x145a6f of _0x25b982)_0x145a6f[_0x4d5759(0x2c2)]>_0x9d530f&&(_0x9d530f=_0x145a6f[_0x4d5759(0x2c2)]),_0x145a6f['domY']>_0x2cf2ca&&(_0x2cf2ca=_0x145a6f['domY']);return{'domX':_0x9d530f,'domY':_0x2cf2ca};}function Jo(_0xa50773,_0x5082a8,_0x2601dd,_0x55ca7b,_0x3bde14,_0x4b1626,_0x1e661d){const _0x23d0cf=_0x5a7f20;let {scaleX:_0x53dbcc,scaleY:_0x56015f}=_0x4b1626[_0x23d0cf(0x2e2)](),{domX:_0x4bd9b7,domY:_0x40b18c}=qo(_0xa50773,_0x5082a8,_0x4b1626,_0x1e661d);return{'left':_0x4bd9b7,'top':_0x40b18c,'width':_0x2601dd*_0x53dbcc,'height':_0x55ca7b*_0x56015f,'angle':_0x3bde14,'scaleX':_0x53dbcc,'scaleY':_0x56015f};}function Yo(_0x11f624){const _0x34fecc=_0x5a7f20;let {editingParams:_0x2ebf55,scene:_0x58b18c,skeleton:_0x3ed944,getShapeTransform:_0x4e2528}=_0x11f624,[_0x212b5a,_0x1c9910]=_0x39af17(Ko),_0x109855=_0xd3b7d0(_0x212b5a);_0x109855[_0x34fecc(0x575)]=_0x212b5a;let _0x193a6d=_0x79c09a(()=>{const _0x1d5bcc=_0x34fecc;if(!_0x2ebf55||!_0x58b18c||!_0x3ed944){_0x109855['current']!==Ko&&_0x1c9910(Ko);return;}let _0x43b6df=_0x4e2528();if(!_0x43b6df){_0x109855[_0x1d5bcc(0x575)]!==Ko&&_0x1c9910(Ko);return;}let {left:_0x3a2a1f,top:_0x40110a,width:_0x50c907,height:_0x5e9ec1,angle:_0x1167b5}=_0x43b6df;if(!_0x2ebf55[_0x1d5bcc(0x608)]){let {scaleX:_0x585eb3,scaleY:_0x45bd23}=_0x58b18c[_0x1d5bcc(0x2e2)]();_0x1c9910({'left':-0x270f,'top':-0x270f,'width':_0x50c907*_0x585eb3,'height':_0x5e9ec1*_0x45bd23,'angle':0x0,'scaleX':_0x585eb3,'scaleY':_0x45bd23});return;}_0x1c9910(Jo(_0x3a2a1f,_0x40110a,_0x50c907,_0x5e9ec1,_0x1167b5,_0x58b18c,_0x3ed944));},[_0x2ebf55,_0x58b18c,_0x3ed944,_0x4e2528]);return _0x45aacf(()=>{_0x193a6d();},[_0x2ebf55,_0x193a6d]),{'position':_0x212b5a,'updatePosition':_0x193a6d};}const Xo=_0xc22a53(_0x364b5a=>{const _0x11e301=_0x5a7f20;let {children:_0x440e9b,onPositionUpdate:_0x1024fc}=_0x364b5a,_0x259c09=_0xd3b7d0(null),_0x680572=_0x5bcd39(X),_0xcbd7d6=_0x5bcd39(_0x43fdcf),_0x5cacb2=_0x4c8d63(_0x680572[_0x11e301(0x3bf)]),_0x517f58=_0x5652b4(()=>_0x5cacb2?_0xcbd7d6[_0x11e301(0x36a)](_0x5cacb2[_0x11e301(0x666)]):null,[_0x5cacb2,_0xcbd7d6]),_0x314c14=_0x5652b4(()=>{const _0x4992cd=_0x11e301;var _0x5a60ec;return(_0x5a60ec=_0x517f58==null?void 0x0:_0x517f58[_0x4992cd(0x2a0)])==null?null:_0x5a60ec;},[_0x517f58]),{position:_0xe6524a,updatePosition:_0x6664af}=Yo({'editingParams':_0x5cacb2,'scene':_0x314c14,'skeleton':_0x5652b4(()=>{const _0x44e441=_0x11e301;var _0x128790,_0x15198b;return!_0x5cacb2||!_0x517f58||(_0x128790=(_0x15198b=_0x517f58[_0x44e441(0x49a)](_0x4e2ed9)[_0x44e441(0x2a8)](_0x5cacb2[_0x44e441(0x279)]))==null?void 0x0:_0x15198b[_0x44e441(0x39c)])==null?null:_0x128790;},[_0x5cacb2,_0x517f58]),'getShapeTransform':_0x79c09a(()=>{const _0x7ff9a=_0x11e301;if(!_0x5cacb2||!_0x314c14)return null;let _0x5e3b7a=_0x5cacb2[_0x7ff9a(0x45b)],_0x2b9b79=_0x314c14[_0x7ff9a(0x2c4)](_0x5e3b7a);return _0x2b9b79 instanceof to?{'left':_0x2b9b79[_0x7ff9a(0x5af)],'top':_0x2b9b79['top'],'width':_0x2b9b79['width'],'height':_0x2b9b79[_0x7ff9a(0x4c8)],'angle':_0x2b9b79[_0x7ff9a(0x402)]}:null;},[_0x5cacb2,_0x314c14])}),_0x39ef61=_0x79c09a(()=>{const _0x5842df=_0x11e301;let _0x573d2c=_0x259c09[_0x5842df(0x575)];_0x573d2c&&(_0x573d2c['style'][_0x5842df(0x5af)]=_0xe6524a['left']+'px',_0x573d2c['style'][_0x5842df(0x406)]=_0xe6524a[_0x5842df(0x406)]+'px',_0x573d2c[_0x5842df(0x2f8)][_0x5842df(0x3d7)]=_0xe6524a[_0x5842df(0x3d7)]+'px',_0x573d2c[_0x5842df(0x2f8)][_0x5842df(0x4c8)]=_0xe6524a[_0x5842df(0x4c8)]+'px');},[_0xe6524a]);return _0x45aacf(()=>{const _0x39ce20=_0x11e301;_0x39ef61(),_0x1024fc==null||_0x1024fc({'width':_0xe6524a['width'],'height':_0xe6524a[_0x39ce20(0x4c8)],'scaleX':_0xe6524a[_0x39ce20(0x2af)],'scaleY':_0xe6524a[_0x39ce20(0x485)]});},[_0xe6524a,_0x39ef61,_0x1024fc]),_0x45aacf(()=>{const _0xdd62ca=_0x11e301;if(!_0x314c14)return;let _0xb7bb22=_0x314c14['getViewport'](_0x443ad0[_0xdd62ca(0x369)]);if(!_0xb7bb22)return;let _0x33fdf7=_0xb7bb22[_0xdd62ca(0x62e)][_0xdd62ca(0x3f0)](()=>{_0x6664af();});return()=>{const _0x402733=_0xdd62ca;_0x33fdf7[_0x402733(0x223)]();};},[_0x314c14,_0x6664af]),_0x45aacf(()=>{const _0x488bc4=_0x11e301;if(!_0x5cacb2||!_0x314c14)return;let _0xe90e6b=_0x5cacb2[_0x488bc4(0x45b)],_0x49f8ce=_0x314c14[_0x488bc4(0x2c4)](_0xe90e6b);if(_0x49f8ce instanceof to){let _0x4e0ea2=_0x49f8ce[_0x488bc4(0x674)][_0x488bc4(0x3f0)](()=>{_0x6664af();});return()=>{_0x4e0ea2['unsubscribe']();};}},[_0x5cacb2,_0x314c14,_0x6664af]),_0x20f703(_0x11e301(0x2ba),{'ref':_0x259c09,'data-u-comp':_0x11e301(0x5fd),'className':_0x11e301(0x26b),'style':_0x5652b4(()=>({'left':_0xe6524a[_0x11e301(0x5af)],'top':_0xe6524a[_0x11e301(0x406)],'width':_0xe6524a[_0x11e301(0x3d7)],'height':_0xe6524a[_0x11e301(0x4c8)],'pointerEvents':_0x5cacb2!=null&&_0x5cacb2[_0x11e301(0x608)]?'auto':_0x11e301(0x347)}),[_0xe6524a,_0x5cacb2==null?void 0x0:_0x5cacb2[_0x11e301(0x608)]]),'children':_0x440e9b});}),Zo=_0xc22a53(()=>{const _0x9b32c4=_0x5a7f20;let _0x1cfde7=_0x4c8d63(_0x5bcd39(X)[_0x9b32c4(0x3bf)]),[_0x4ce0d1,_0x386344]=_0x39af17({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x423cfb=_0x79c09a(_0x5f55a3=>{const _0x3640e3=_0x9b32c4;_0x386344({'width':_0x5f55a3['width'],'height':_0x5f55a3[_0x3640e3(0x4c8)],'scaleX':_0x5f55a3[_0x3640e3(0x2af)],'scaleY':_0x5f55a3[_0x3640e3(0x485)]});},[]);return _0x1cfde7!=null&&_0x1cfde7[_0x9b32c4(0x608)]?_0x20f703(Xo,{'onPositionUpdate':_0x423cfb,'children':_0x20f703(Go,{'containerWidth':_0x4ce0d1[_0x9b32c4(0x3d7)],'containerHeight':_0x4ce0d1[_0x9b32c4(0x4c8)],'scaleX':_0x4ce0d1['scaleX'],'scaleY':_0x4ce0d1[_0x9b32c4(0x485)]})}):null;});let Qo=class extends _0x3a89bd{constructor(_0x173991=Po,_0x2b933a,_0x56be69,_0xaf42b5,_0x8b76cc){const _0x439ff6=_0x5a7f20;super(),this[_0x439ff6(0x63d)]=_0x173991,this[_0x439ff6(0x20a)]=_0x2b933a,this['_commandService']=_0x56be69,this[_0x439ff6(0x590)]=_0xaf42b5,this[_0x439ff6(0x33e)]=_0x8b76cc;let {..._0x376b6a}=_0x4738e3({},Po,this[_0x439ff6(0x63d)]);this[_0x439ff6(0x590)][_0x439ff6(0x4f7)](_0x439ff6(0x2d8),_0x376b6a),this['_initCommands']();}[_0x5a7f20(0x1e9)](){const _0x4f942d=_0x5a7f20;_0x249b7b(this[_0x4f942d(0x20a)],[[jo],[ro],[no]]);}['onReady'](){const _0x46a9f2=_0x5a7f20;[[Bo],[mo],[Vo]][_0x46a9f2(0x2cc)](_0x29fb4e=>this[_0x46a9f2(0x20a)][_0x46a9f2(0x4db)](_0x29fb4e)),_0x249b7b(this[_0x46a9f2(0x20a)],[[Vo]]),this[_0x46a9f2(0x33e)][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Bo]),this[_0x46a9f2(0x33e)]['registerRenderModule'](_0x162ef7[_0x46a9f2(0x627)],[mo]),this['_renderManagerService'][_0x46a9f2(0x63c)](_0x162ef7['UNIVER_SHEET'],[Fo]),this[_0x46a9f2(0x33e)][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Uo]),this['_renderManagerService'][_0x46a9f2(0x63c)](_0x162ef7[_0x46a9f2(0x627)],[Lo]);}[_0x5a7f20(0x2e7)](){const _0x289f39=_0x5a7f20;let _0x367fc9=this['_injector'];_0x367fc9[_0x289f39(0x2f7)](_0x5b38e3)[_0x289f39(0x3a8)](_0x289f39(0x625),Zo),[[jo],[ro],[no],[X],[Io],[_o],[Wo]][_0x289f39(0x2cc)](_0x254d33=>_0x367fc9['add'](_0x254d33)),_0x249b7b(this['_injector'],[[jo],[ro],[no],[X],[Io],[_o],[Wo]]);}[_0x5a7f20(0x410)](){const _0x3858d5=_0x5a7f20;[go,Va,Ka,Ha,Ua,Ga,Wa,Ja,Ya,qa,ho][_0x3858d5(0x2cc)](_0x348f6b=>this['disposeWithMe'](this[_0x3858d5(0x52a)][_0x3858d5(0x615)](_0x348f6b)));}};Y(Qo,'type',_0x162ef7[_0x5a7f20(0x627)]),Y(Qo,_0x5a7f20(0x3b9),_0x5a7f20(0x54b)),Y(Qo,_0x5a7f20(0x2e3),Mo),Y(Qo,_0x5a7f20(0x1f0),No),Qo=$([_0xc07bae(_0x2073ff,_0x4ac018),Q(0x1,_0x1e77ba(_0x54d8ad)),Q(0x2,_0x2e069e),Q(0x3,_0x1d4840),Q(0x4,_0x43fdcf)],Qo);export{Ua as SetShapeTextFontSizeCommand,Ga as SetShapeTextFontSizeDecreaseCommand,Wa as SetShapeTextFontSizeIncreaseCommand,Ha as SetShapeTextHorizontalAlignCommand,Ka as SetShapeTextVerticalAlignCommand,qa as ShapeDocAlignCommand,jo as SheetsShapeUIController,Qo as UniverSheetsShapeUIPlugin,Va as UpdateShapeDataCommand};
|
|
1
|
+
const _0x3409bc=_0xce4a;(function(_0x11a709,_0x4bcdbe){const _0x4cfd1e=_0xce4a,_0x4d0e37=_0x11a709();while(!![]){try{const _0x13ba3=-parseInt(_0x4cfd1e(0x626))/0x1+-parseInt(_0x4cfd1e(0x505))/0x2+parseInt(_0x4cfd1e(0x31e))/0x3+parseInt(_0x4cfd1e(0x3cc))/0x4+parseInt(_0x4cfd1e(0x3f7))/0x5*(parseInt(_0x4cfd1e(0x617))/0x6)+-parseInt(_0x4cfd1e(0x3c0))/0x7+parseInt(_0x4cfd1e(0x610))/0x8;if(_0x13ba3===_0x4bcdbe)break;else _0x4d0e37['push'](_0x4d0e37['shift']());}catch(_0xa937be){_0x4d0e37['push'](_0x4d0e37['shift']());}}}(_0x2000,0x6e972));import{InsertShapeCommand as _0xbd5c6,InsertSheetsShapeMutation as _0x55a102,RemoveSheetsShapeMutation as _0x653cba,SetShapeDrawingDataCommand as _0x474910,SetSheetsShapeRotateCommand as _0x4a46aa,SetSheetsShapeTextVerticalToggleCommand as _0x436158,SheetsShapeService as _0x1bd6ad,ToggleSheetsShapeFlipCommand as _0x5e7a48,UniverSheetsShapePlugin as _0x3e9b61,UpdateConnectorRelationCommand as _0xe74d61,UpdateLineShapeResizeCommand as _0x415c50,UpdateSheetsShapeDataMutation as _0x284697}from'@univerjs-pro/sheets-shape';import{CommandType as _0x3a0ed7,DependentOn as _0x580765,Disposable as _0x24ac39,DocumentDataModel as _0x194cb1,DrawingTypeEnum as _0x204228,FOCUSING_COMMON_DRAWINGS as _0x1dd58d,FOCUSING_PANEL_EDITOR as _0x2693f3,FOCUSING_SHAPE_TEXT_EDITOR as _0x3dd9c5,HorizontalAlign as _0x1e1ccf,ICommandService as _0x2ac980,IConfigService as _0x21bcdf,IContextService as _0x47baf7,IURLImageService as _0x56fd0b,IUndoRedoService as _0x5854ef,IUniverInstanceService as _0x418e4b,Inject as _0x54f4ad,Injector as _0x3e3b95,LocaleService as _0x13096e,Plugin as _0x20c8bd,ThemeService as _0x545ffb,Tools as _0x5171d5,UniverInstanceType as _0x5a9a41,VerticalAlign as _0x26d5cf,WrapStrategy as _0x50c13d,createInternalEditorID as _0x1d72f2,generateRandomId as _0x37982c,merge as _0x453d10,toDisposable as _0x7feef0,touchDependencies as _0x3642fb}from'@univerjs/core';import{CopySheetCommand as _0x71d4ff,RemoveSheetCommand as _0x2f8aef,SheetInterceptorService as _0x18194f,SheetPermissionCheckController as _0x511d86,SheetSkeletonService as _0x331687,SheetsSelectionsService as _0x4c53d5,WorkbookEditablePermission as _0x4d75e5,WorksheetEditPermission as _0x2c7f17,attachRangeWithCoord as _0x3f698,discreteRangeToRange as _0x3ab8c5,getSheetCommandTarget as _0x6bc5ef}from'@univerjs/sheets';import{DrawingApplyType as _0x5080ad,ISheetDrawingService as _0x2bc570,RemoveSheetDrawingCommand as _0x3cb23c,SetDrawingApplyMutation as _0x3872f3,transformToDrawingPosition as _0x51f7af}from'@univerjs/sheets-drawing';import{BehaviorSubject as _0x193b58,EMPTY as _0x5294e6,Observable as _0x467353,map as _0x26eeb2,of as _0x100f34,startWith as _0x2efb6f,switchMap as _0x44dfd5}from'rxjs';import{IDrawingManagerService as _0x132f48,IImageIoService as _0x4e4587,getDrawingShapeKeyByDrawingSearch as _0xd64c82,getImageSize as _0x13fcd3}from'@univerjs/drawing';import{CURSOR_TYPE as _0x402563,Circle as _0x17764,DRAWING_OBJECT_LAYER_INDEX as _0x3ec92b,DocumentSkeleton as _0x8a79eb,DocumentViewModel as _0x1de3ed,Documents as _0x2e8da8,IRenderManagerService as _0x592bef,Image as _0x2179a3,RENDER_CLASS_TYPE as _0x16e7a8,SHEET_VIEWPORT_KEY as _0xf79720,Shape as _0x415826,Transform as _0x116f12,VERTICAL_ROTATE_ANGLE as _0x132dfa,Vector2 as _0xf1c2bd}from'@univerjs/engine-render';import{AlignOperationCommand as _0x329b46,BreakLineCommand as _0x4c507a,IEditorService as _0x46b4da,ResetInlineFormatTextBackgroundColorCommand as _0x10c5fe,SetInlineFormatTextBackgroundColorCommand as _0x1d43ab,useEditor as _0x1605ab,useIsFocusing as _0x2ed827,useKeyboardEvent as _0x54f1a5,useLeftAndRightArrow as _0x5231b7}from'@univerjs/docs-ui';import{MoreDownIcon as _0x207eb7,PaintBucketDoubleIcon as _0x5c4170,ShapeAccentBorderCallout1Icon as _0x417b1f,ShapeAccentBorderCallout2Icon as _0xeb594f,ShapeAccentBorderCallout3Icon as _0x2d2342,ShapeAccentCallout1Icon as _0x4127d4,ShapeAccentCallout2Icon as _0x50f5f1,ShapeAccentCallout3Icon as _0x1ff0c7,ShapeActionButtonBackPreviousIcon as _0x3432ec,ShapeActionButtonBeginningIcon as _0x6dafcc,ShapeActionButtonBlankIcon as _0x57517c,ShapeActionButtonDocumentIcon as _0x162465,ShapeActionButtonEndIcon as _0x5e5676,ShapeActionButtonForwardNextIcon as _0x60f723,ShapeActionButtonHelpIcon as _0x141e9e,ShapeActionButtonHomeIcon as _0x185de9,ShapeActionButtonInformationIcon as _0x3260f4,ShapeActionButtonMovieIcon as _0x8f3653,ShapeActionButtonReturnIcon as _0x33f95b,ShapeActionButtonSoundIcon as _0x31786a,ShapeArcIcon as _0x56025f,ShapeBentArrowIcon as _0x393777,ShapeBentConnector3Arrow1Icon as _0x514a4f,ShapeBentConnector3Arrow2Icon as _0x535520,ShapeBentConnector3Icon as _0x179411,ShapeBentUpArrowIcon as _0x203d72,ShapeBevelIcon as _0x36c700,ShapeBlockArcIcon as _0x3a5614,ShapeBorderCallout1Icon as _0x5873e2,ShapeBorderCallout2Icon as _0x568081,ShapeBorderCallout3Icon as _0x2b5606,ShapeBracePairIcon as _0x3385a9,ShapeBracketPairIcon as _0x275ffe,ShapeCallout1Icon as _0x165c07,ShapeCallout2Icon as _0x1438c7,ShapeCallout3Icon as _0x1cb85b,ShapeCanIcon as _0x419d3a,ShapeChartPlusIcon as _0x25322a,ShapeChartStarIcon as _0x37c9d4,ShapeChartXIcon as _0x4e3484,ShapeChevronIcon as _0x3cb986,ShapeChordIcon as _0x4668bc,ShapeCircularArrowIcon as _0x2ef0e1,ShapeCloudCalloutIcon as _0x310ec6,ShapeCloudIcon as _0x186741,ShapeCornerIcon as _0x1e37d0,ShapeCornerTabsIcon as _0x3df584,ShapeCubeIcon as _0x2a5894,ShapeCurvedConnector3Arrow1Icon as _0x43f57a,ShapeCurvedConnector3Arrow2Icon as _0x1e9cc6,ShapeCurvedConnector3Icon as _0x235df8,ShapeCurvedDownArrowIcon as _0x54bfe8,ShapeCurvedLeftArrowIcon as _0x5b6429,ShapeCurvedRightArrowIcon as _0x1b52f7,ShapeCurvedUpArrowIcon as _0x3e0d24,ShapeDecagonIcon as _0x529d49,ShapeDiagStripeIcon as _0xf99aa0,ShapeDiamondIcon as _0x3fe2c2,ShapeDodecagonIcon as _0x2b4487,ShapeDonutIcon as _0xc7c722,ShapeDoubleWaveIcon as _0x1b50ad,ShapeDownArrowCalloutIcon as _0x409589,ShapeDownArrowIcon as _0x26b8ea,ShapeEllipseIcon as _0x49ac63,ShapeEllipseRibbon2Icon as _0x3a1883,ShapeEllipseRibbonIcon as _0x4d4c22,ShapeFlowChartAlternateProcessIcon as _0x5426b3,ShapeFlowChartCollateIcon as _0x5add4c,ShapeFlowChartConnectorIcon as _0xe6c713,ShapeFlowChartDecisionIcon as _0x1a9c72,ShapeFlowChartDelayIcon as _0x32002e,ShapeFlowChartDisplayIcon as _0x4ff0c5,ShapeFlowChartDocumentIcon as _0xfb0ee2,ShapeFlowChartExtractIcon as _0x5e31ca,ShapeFlowChartInputOutputIcon as _0x157992,ShapeFlowChartInternalStorageIcon as _0x3d53a2,ShapeFlowChartMagneticDiskIcon as _0x15532c,ShapeFlowChartMagneticDrumIcon as _0x770f33,ShapeFlowChartMagneticTapeIcon as _0x18b209,ShapeFlowChartManualInputIcon as _0x10112d,ShapeFlowChartManualOperationIcon as _0x4a349d,ShapeFlowChartMergeIcon as _0x3872e9,ShapeFlowChartMultidocumentIcon as _0x1d2e00,ShapeFlowChartOfflineStorageIcon as _0x453fd6,ShapeFlowChartOffpageConnectorIcon as _0x1e036a,ShapeFlowChartOnlineStorageIcon as _0x31646f,ShapeFlowChartOrIcon as _0x2c2b19,ShapeFlowChartPredefinedProcessIcon as _0x7afe8e,ShapeFlowChartPreparationIcon as _0x49cea1,ShapeFlowChartProcessIcon as _0x2013f8,ShapeFlowChartPunchedCardIcon as _0x15cd8f,ShapeFlowChartPunchedTapeIcon as _0x5ae613,ShapeFlowChartSortIcon as _0x8fa1b9,ShapeFlowChartSummingJunctionIcon as _0x20a918,ShapeFlowChartTerminatorIcon as _0x30734d,ShapeFolderCornerIcon as _0x5291e3,ShapeFrameIcon as _0x4f2433,ShapeFunnelIcon as _0xc9ddba,ShapeGear6Icon as _0x19ac15,ShapeGear9Icon as _0x52cf5a,ShapeHalfFrameIcon as _0x3d5f66,ShapeHeartIcon as _0xc9625f,ShapeHeptagonIcon as _0x1560be,ShapeHexagonIcon as _0x156bea,ShapeHomePlateIcon as _0x4c664d,ShapeHorizontalScrollIcon as _0x3994ad,ShapeIcon as _0x156c49,ShapeIrregularSeal1Icon as _0x2191ff,ShapeIrregularSeal2Icon as _0x4d7698,ShapeLeftArrowCalloutIcon as _0x3ad435,ShapeLeftArrowIcon as _0x22d9fe,ShapeLeftBraceIcon as _0x1563d4,ShapeLeftBracketIcon as _0x341756,ShapeLeftCircularArrowIcon as _0x376b25,ShapeLeftRightArrowCalloutIcon as _0x2fe2fa,ShapeLeftRightArrowIcon as _0x4616f2,ShapeLeftRightCircularArrowIcon as _0x31c95c,ShapeLeftRightRibbonIcon as _0x24edc6,ShapeLeftRightUpArrowIcon as _0x539ec6,ShapeLeftUpArrowIcon as _0x3b5662,ShapeLightningBoltIcon as _0x31205c,ShapeLineIcon as _0x4dce0c,ShapeLineInvIcon as _0x182285,ShapeMathDivideIcon as _0x1cf9d9,ShapeMathEqualIcon as _0x2cf5cd,ShapeMathMinusIcon as _0x7686bf,ShapeMathMultiplyIcon as _0x1eaabe,ShapeMathNotEqualIcon as _0x5bc8e8,ShapeMathPlusIcon as _0x74136f,ShapeMoonIcon as _0x218327,ShapeNoSmokingIcon as _0x4254e9,ShapeNonIsoscelesTrapezoidIcon as _0x457c75,ShapeNotchedRightArrowIcon as _0x296452,ShapeOctagonIcon as _0x2c759d,ShapeParallelogramIcon as _0x59f878,ShapePentagonIcon as _0x5f1a80,ShapePieIcon as _0x9d19d4,ShapePieWedgeIcon as _0x378328,ShapePlaqueIcon as _0xe8b9e7,ShapePlaqueTabsIcon as _0x56602b,ShapePlusIcon as _0xcf849b,ShapeQuadArrowCalloutIcon as _0x24421e,ShapeQuadArrowIcon as _0xfac9d0,ShapeRectIcon as _0x327357,ShapeRectTextboxHorizontalIcon as _0x492756,ShapeRectTextboxVerticalIcon as _0x4f05ad,ShapeRibbon2Icon as _0x526262,ShapeRibbonIcon as _0x4386de,ShapeRightArrowCalloutIcon as _0x465591,ShapeRightArrowIcon as _0x17bae3,ShapeRightBraceIcon as _0x291379,ShapeRightBracketIcon as _0x13525e,ShapeRound1RectIcon as _0x3788a1,ShapeRound2DiagRectIcon as _0x4b60d7,ShapeRound2SameRectIcon as _0x3a3a6e,ShapeRoundRectIcon as _0x2c7d8a,ShapeRtTriangleIcon as _0x55cf5a,ShapeSmileyFaceIcon as _0x26220b,ShapeSnip1RectIcon as _0x53d03a,ShapeSnip2DiagRectIcon as _0x5ce018,ShapeSnip2SameRectIcon as _0x479f27,ShapeSnipRoundRectIcon as _0x14ea40,ShapeSquareTabsIcon as _0x44dad5,ShapeStar10Icon as _0x570c2e,ShapeStar12Icon as _0x23d4ae,ShapeStar16Icon as _0x1db01c,ShapeStar24Icon as _0x57f0f8,ShapeStar32Icon as _0x5b0481,ShapeStar4Icon as _0x122482,ShapeStar5Icon as _0x15495b,ShapeStar6Icon as _0x121cf8,ShapeStar7Icon as _0x46b081,ShapeStar8Icon as _0x407bfb,ShapeStraightConnector1Icon as _0x8fafd6,ShapeStraightConnector2Icon as _0x5194f1,ShapeStripedRightArrowIcon as _0x21b695,ShapeSunIcon as _0x2a34cf,ShapeSwooshArrowIcon as _0x123aa8,ShapeTeardropIcon as _0x30282b,ShapeTrapezoidIcon as _0x42928b,ShapeTriangleIcon as _0x40090f,ShapeUpArrowCalloutIcon as _0x5e18df,ShapeUpArrowIcon as _0x488f2f,ShapeUpDownArrowCalloutIcon as _0x45ef91,ShapeUpDownArrowIcon as _0xa0bce1,ShapeUturnArrowIcon as _0x3ff8db,ShapeVerticalScrollIcon as _0x4b6d09,ShapeWaveIcon as _0x29cfee,ShapeWedgeEllipseCalloutIcon as _0x986ce2,ShapeWedgeRectCalloutIcon as _0x365430,ShapeWedgeRoundRectCalloutIcon as _0x22ee45}from'@univerjs/icons';import{COPY_TYPE as _0x881c05,ISheetClipboardService as _0x5f3f38,PREDEFINED_HOOK_NAME as _0x163dc7,SheetCanvasPopManagerService as _0x29f22c,SheetScrollManagerService as _0x1f13de,SheetSkeletonManagerService as _0x29be30,deriveStateFromActiveSheet$ as _0x5df3f1,getCurrentRangeDisable$ as _0x497286,getViewportByCell as _0x201043}from'@univerjs/sheets-ui';import{COLOR_PICKER_COMPONENT as _0x488ba2,ComponentManager as _0x25b5d9,IMenuManagerService as _0xac649d,ISidebarService as _0x41b128,KeyCode as _0x219ee7,MenuItemType as _0x2bd818,RibbonInsertGroup as _0x49a242,RibbonPosition as _0x5c9c52,RibbonStartGroup as _0x24aeef,getMenuHiddenObservable as _0x2295c5,useDependency as _0x40d6f2,useObservable as _0x3341f2}from'@univerjs/ui';import{ConnectorCoordinateTransform as _0x3df0bc,ImageFillModeEnum as _0x354e62,ImageSourceTypeEnum as _0xde9716,ShapeArrowSizeEnum as _0xae9b08,ShapeArrowTypeEnum as _0x1a17b9,ShapeDefaultConfig as _0x22accf,ShapeFillEnum as _0x3dc913,ShapeGradientTypeEnum as _0x2139d0,ShapeLineCapEnum as _0x2af3b4,ShapeLineDashEnum as _0x266265,ShapeLineJoinEnum as _0x44e4f9,ShapeLineTypeEnum as _0x3e94d6,ShapeModel as _0x4b418f,ShapeRenderModeEnum as _0x287ceb,ShapeSketchTypeEnum as _0x57621f,ShapeTypeEnum as _0x4ac0a4,computeConnectorRouteLayout as _0x32d6d4,getBasicShapeRotateBound as _0x30d17d,isConnectorShape as _0x1e6a3a,isCurvedConnectorShape as _0x2adb00,routeConnectorLineShape as _0x3dfc81}from'@univerjs-pro/engine-shape';import{Accordion as _0x2f0a04,Button as _0x21ab39,Checkbox as _0x39869e,ColorPicker as _0x4b6606,Dropdown as _0x12b1b3,GradientColorPicker as _0x4f30d7,InputNumber as _0x535a48,Radio as _0x342fb6,RadioGroup as _0x345f72,Select as _0x45b5d6,clsx as _0x246f3e}from'@univerjs/design';import{memo as _0x5d67ed,useCallback as _0x4560d4,useEffect as _0x151831,useMemo as _0x291754,useRef as _0x58f25e,useState as _0x5074d8}from'react';import{DrawingCommonPanel as _0x19664f,DrawingImageClipService as _0x3c0f94,DrawingRenderService as _0xa8f392,IMAGE_CLIP_SHAPE_PICKER_COMPONENT as _0x53328c,getCurrentUnitInfo as _0x199a21,insertGroupObject as _0x2fa933}from'@univerjs/drawing-ui';import{Fragment as _0xa11c18,jsx as _0x2abb9e,jsxs as _0x58d492}from'react/jsx-runtime';import{SheetDrawingAnchor as _0x2bc87d,SheetsDrawingGroupCopyPasteController as _0x5f2aad,UniverSheetsDrawingUIPlugin as _0x59d99c}from'@univerjs/sheets-drawing-ui';function _0x2000(){const _0x288c22=['DRAWING_SHAPE','_attachConnectorObjectEvent','TOP','Cloud','group','Plaque','toPrimitive','FlowchartInternalStorage','sheets-shape-ui.line.dashType.roundDot','_index','sheets-shape-ui.imagePanel.crop.shape','Wave','setCursor','Pentagon','removeLinePoints','MathMinus','EllipseRibbon2','ShapeFlowChartMagneticDiskIcon','Gear9','SolidFill','ShapeCubeIcon','_renderManagerService','FlowchartDocument','univer-w-20\x20univer-flex-1','_drawSimpleText','ShapeCurvedRightArrowIcon','sheets-shape-ui.shape.type.left-right-ribbon','transformByState','sheets-shape-ui.shape.type.hexagon','_baseTop','ShapeFlowChartDelayIcon','getColorFromTheme','_activeImageId','ShapeStripedRightArrowIcon','ShapeCloudIcon','connector-handler-','_cxtHandlerPointerUp','Ribbon','endConnectionDetection','#4285f4','ShapeFrameIcon','_createCopyInfoByRange','viewportScrollY','ShapeAccentBorderCallout2Icon','1431380qCiqBS','composeMatrix','URL','sheets-shape-ui.line.dashType.longDashDot','ShapeQuadArrowIcon','ShapeHorizontalScrollIcon','Pie','line','_loadAndSetImage','equationShape','Stretch','sheets-shape-ui.shape.type.snip2-diag-rect','ShapeBentConnector3Arrow1Icon','sheets-shape-ui.shape.type.star4','sheets-shape-ui.line.width','getDocumentData','updateDocumentDataMargin','width','sheets-shape-ui.shape.type.flow-chart-display','sheets-shape-ui.shape.type.flow-chart-preparation','sheets-shape-ui.shape.type.uturn-arrow','_activeAdjustPointList','sheets-shape-ui.shape.type.heart','sheets-shape-ui.fill.picture.align.r','_closeShapeEditPanel','_connectionSiteObjects','CurvedConnector3','Arc','syncExecuteCommand','IrregularSeal1','sheets-shape-ui.shape.type.plaque','_baseShapeWidth','draw','ShapeLeftArrowIcon','sheets-shape-ui.fill.picture.source','worldPoint','getBatchUpdateOp','sheets-shape-ui.shape.type.rect-textbox-vertical','sheets-shape-ui.shape.type.diag-stripe','LeftRightCircularArrow','sheets-shape-ui.fill.picture.align.tr','_isStartAdjusting','WedgeRoundRectCallout','FromArray','StealthArrow','PieWedge','register','ShapeCornerTabsIcon','_componentManager','sheets-shape-ui.shape.type.curved-left-arrow','resetCursor','getConnectionRelation','warn','onPointerMove$','next','max','render','ShapeMathMinusIcon','getOwnPropertyDescriptor','ShapeCornerIcon','sheets-shape-ui.line.joinType.miter','invert','object','Round2SameRect','ShapeCurvedUpArrowIcon','ShapeHeptagonIcon','univer-block\x20univer-h-[100px]\x20univer-w-[100px]\x20univer-object-cover','CurvedLeftArrow','cxnPointStroke','CornerTabs','stringify','icon','sheets-shape-ui.fill.picture.insert','subscribe','univer-w-28','unitId','EllipseRibbon','blur','defineProperty','ctr','sheets-shape-ui.shape.type.wedge-round-rect-callout','ShapeDodecagonIcon','adjName','sheets-shape-ui.shape.type.gear6','_registerMoveHandler','_registerDrawingFocusChangeHandler','univer-flex\x20univer-flex-col\x20univer-gap-3','_univerInstanceService','beforeCommandExecuted','target','_getScrollInfo','FlowchartMagneticDisk','vertical','ShapeFlowChartInternalStorageIcon','_registerComponent','setShapeProps','ShapeIrregularSeal1Icon','RightJustifyingIcon','sheets-shape-ui.line.beginArrowSize','sheets-shape-ui.shape.type.notched-right-arrow','sheets-shape-ui.shape.type.striped-right-arrow','ShapeAccentCallout1Icon','paragraphs','setZoomRatio','sheets-shape-ui.line.arrowType.diamondArrow','_sheetClipboardService','_getConnectPointInfo','files','refreshAdjustControls','AccentBorderCallout1','body','flipX','getDrawingData','multiply','includes','FlowchartPredefinedProcess','ShapeTextEditorContainer','buildClipPath','sheets-shape-ui.shape.type.left-arrow','ShapeSnipRoundRectIcon','WedgeRectCallout','pipe','drawing.operation.set-drawing-active','ShapeStraightConnector2Icon','point','sheets-shape-ui.shape.type.curved-up-arrow','BUTTON','isFinite','file','executeCommand','_activeShapeId','other','adjustValues','sheets-shape-ui.shape.type.chord','getCurrentSkeleton','sheets-shape-ui.line.arrowType.arrow','univer-w-full','onPointerUp$','highlighted','entries','updateDocumentStyle','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','clearAdjustValue','ShapeFlowChartMagneticDrumIcon','getShapeType','registerCommand','sheets-shape-ui.shape.type.up-arrow','_rerouteConnectorLine','_drawingType','horizontal','sheets-shape-ui.shape.type.triangle','sheet.operation.open-sheet-shape-format-panel','ShapeFlowChartPunchedCardIcon','domY','ShapeFlowChartManualOperationIcon','_currentConnectionTarget','OPERATION','getUnit','group\x20univer-relative\x20univer-inline-block','Freehand','permissionCheckWithoutRange','NoFill','_generateCutPasteMutations','Sun','_isImagePointerDown','_onSavingEditorData$','sheets-shape-ui.line.endArrowType','sheets-shape-ui.shape.type.round2-diag-rect','sheets-shape-ui.shape.type.flow-chart-predefined-process','sheets-shape-ui.shape.type.up-down-arrow-callout','registerClipDelegate','drawingId','ShapeBentConnector3Icon','ShapeSnip1RectIcon','ShapeRightBracketIcon','sheets-shape-ui.shape.type.bevel','startX','prstGeom','clip-','ShapeLeftUpArrowIcon','sheets-shape-ui.shape.type.left-right-circular-arrow','getRealBound','wrapStrategy','getAncestorScale','onerror','Large','CurvedRightArrow','sheets-shape-ui.shape.type.irregular-seal1','StraightConnector1','sheet.command.update-shape-data','Diamond','_handleFreeEndpointMove','_clearConnectionSites','ShapeParallelogramIcon','_executeConnectedRouteResizeCommand','sheets-shape-ui.align.bottom','sheets-shape-ui.fill.picture.tileAsTexture','UUID','HalfFrame','RightArrowCallout','FlowchartOnlineStorage','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','domX','makeDirty','isRenderLinePointsMode','div','sheets-shape-ui.shape.type.rect','sheets-shape-ui.line.dashType.title','ShapeRightArrowIcon','BOTTOM','current','focus$','ShapeHalfFrameIcon','worldRect','UpDownArrowCallout','sheets-shape-ui.align.center','set','getDrawingPoints','ShapeTrapezoidIcon','ShapeBorderCallout1Icon','getTransformerByCreate','setConfig','_handleConnectedEndpointPointerUp','_contextService','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','_reset','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pt-2','sheet.command.set-shape-text-horizontal-align','stops','ShapeCurvedConnector3Arrow1Icon','sheets-shape-ui.shape.type.accent-border-callout1','ShapeMathNotEqualIcon','UPDATE','Image','sheets-shape-ui.shape.type.flow-chart-or','ShapeRound2DiagRectIcon','BracePair','cos','focus','ShapeFlowChartPreparationIcon','BorderCallout3','RoundDot','_updateTransform','getViewport','classType','with','sheets-shape-ui.shape.type.rt-triangle','sheets-shape-ui.fill.picture.scaleX','gdRefY','_isShouldShowDrawingShapeAdjust','setPrstGeomAdjValues','deg)\x20scaleY(','ShapeHexagonIcon','Star32','BentArrow','sheets-shape-ui.shape.type.ribbon2','Small','AccentCallout2','ShapeEllipseRibbon2Icon','_sheetShapeAdjustController','_sheetsShapeService','add','_highlightedSiteIndex','sheets-shape-ui.shape.type.moon','imageFillMode','getAdjustNames','sheets-shape-ui.shape.type.action-button-forward-next','7640256ICRbHt','sheets-shape-ui.shape.type.left-brace','_connectorObjects','Teardrop','ShapeChordIcon','_clearControls','sheets-shape-ui.shape.type.flow-chart-delay','3429438JpQssU','get','Dash','sheets-shape-ui.shape.type.curved-connector3-arrow2','pick','min','ShapeLineIcon','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','getShapePopupMenus','ShapeStar10Icon','activeSheet$','FoldedCorner','ShapeChartXIcon','sheets-shape-ui.shape.type.heptagon','_isOpenedShapeEditPanel','722988ogSxeu','UNIVER_SHEET','Hexagon','WRAP','_setTransForm','copyType','sheets-shape-ui.shape.type.flow-chart-magnetic-drum','sheets-shape-ui.shape.type.action-button-home','ShapeLeftRightRibbonIcon','opacity','engine','FlowchartMagneticTape','DashDot','ActionButtonBackPrevious','sheets-shape-ui.shape.type.math-multiply','sheets-shape-ui.shape.type.action-button-information','applyPoint','normal','ShapeLeftArrowCalloutIcon','params','getImageSourceCache','sheets-shape-ui.fill.picture.rotateWithShape','sheet.shape.edit.panel','SquareDot','onPointerDown$','onRendered','ShapeUpDownArrowCalloutIcon','RoundRect','_registerDrawingMoveHandler','_sidebarService','_handleBasicShapeUpdateConnectorLineShape','ShapeSmileyFaceIcon','sheets-shape-ui.shape.type.pie','ShapeUturnArrowIcon','_context','ChartStar','sheetViewStartColumn','addClipboardHook','_adjHandlerPointerUp','SELECTOR','fillType','input','Flat','Corner','ShapeFlowChartAlternateProcessIcon','univer-box-border\x20univer-px-4\x20univer-text-sm','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','rowStartY','undo','round','_initEvents','MathMultiply','_hasReset','ShapeBentArrowIcon','dashType','sheets-shape-ui.fill.picture.scaleY','ShapeQuadArrowCalloutIcon','Donut','Star7','ShapeLightningBoltIcon','CUT','_clearShapeConnectorHandlerObjects','updateConnectionDetection','shapeKey','ShapeFlowChartDecisionIcon','_sidebarDisposable','decorate','redo','isHighlighted','_getDrawingRect','verticalAlign','_unitId','VIEW_MAIN_LEFT_TOP','sheets-shape-ui.shape.type.swoosh-arrow','_generateCopyPasteMutations','MathNotEqual','doc','Line','from','resize','drawWith','gdRefR','startArrow','_drawShapeText','SwooshArrow','ShapeTriangleIcon','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','default','sheets-shape-ui.shape.type.border-callout3','sheets-shape-ui.shape.type.pie-wedge','sheet.operation.close-sheet-shape-format-panel','_showConnectionSites','isStartConnectorPoint','color','getUnitId','_initialize','sheets-shape-ui.shape.type.funnel','sheets-shape-ui.shape.type.curved-right-arrow','updateDocumentRenderConfig','ShapeLeftRightUpArrowIcon','sheets-shape-ui.line.arrowType.ovalArrow','sheets-shape-ui.shape.type.can','getCurrentTypeOfUnit$','ActionButtonForwardNext','sheets-shape-ui.shape.type.quad-arrow-callout','setAdjustValueByName','sheets-shape-ui.shape.type.half-frame','ShapePieWedgeIcon','LeftRightArrow','BentUpArrow','_config','ShapeGear6Icon','univer-flex-1\x20univer-overflow-auto','getCanvasElement','\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','setDocumentData','setShapeData','ActionButtonHome','univer-text-primary-600','_handleFreeEndpointPointerUp','renderConfig','NoSmoking','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','getBatchAddOp','ShapeStar5Icon','offsetY','sheets-shape-ui.shape.type.flow-chart-magnetic-disk','Round2DiagRect','saveImage','ShapeUpDownArrowIcon','ShapePentagonIcon','getDrawingOrder','ShapeFlowChartInputOutputIcon','sheet.command.set-shape-text-font-size','_sheetSkeletonService','sheets-shape-ui.shape.type.donut','_shapeTextEditingService','Trapezoid','sheets-shape-ui.shape.type.wedge-ellipse-callout','ShapeFlowChartConnectorIcon','ShapeBorderCallout3Icon','univer-text-gray-600\x20univer-transition-transform','SHAPE','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','_editingParams$','ShapeChartStarIcon','sheets-shape-ui.shape.type.vertical-scroll','getParent','ShapeStar8Icon','_drawingManagerService','_lastEditingShapeKey','size','Miter','CurvedDownArrow','add$','sheets-shape-ui.line.joinType.bevel','_isHighlighted','Ribbon2','ShapeBlockArcIcon','sheets-shape-ui.line.dashType.longDashDotDot','abs','onReady','floor','_findNearestConnectionSite','keys','shape-text-','_getShapeAdjustInfosById','univer-flex\x20univer-flex-col\x20univer-gap-2','cxnPointRadius','skeleton','getAdjustInfoByName','Angular','sheets-shape-ui.shape.type.action-button-back-previous','subscribeContextValue$','ShapeRightBraceIcon','sheets-shape-ui.shape.type.left-right-arrow','_executeConnectedRouteConnectionCommand','ShapeStar7Icon','_currentUniverService','getMatrix','Solid','ShapeFlowChartTerminatorIcon','getState','ShapeWaveIcon','ShapeVerticalScrollIcon','_shapeUpdateListener','pushUndoRedo','value','SolidLine','remove$','StripedRightArrow','update$','version','computeConnectorResizeLayout','_generatePasteMutations','connection-site-','ShapeSnip2DiagRectIcon','disableShapeOption','sheets-shape-ui.hidePanel','sheet.command.set-shape-text-font-size-decrease','_executeConnectionCommand','visible','sheets-shape-ui.shape.type.irregular-seal2','sheets-shape-ui.shape.type.line','AccentBorderCallout2','_baseShapeLeft','Callout3','FlowchartSummingJunction','blockExecuteWithoutPermission','_currentScene','dispose','MathPlus','sheets-shape-ui.fill.noFill','sheets-shape-ui.shape.type.bent-connector3','alignment','ShapeFolderCornerIcon','ShapeLeftRightCircularArrowIcon','ShapeSunIcon','FlowchartDisplay','ShapePlaqueTabsIcon','span','_commandExecutedListener','setShouldShowAdjust','isHorizontal','dataStream','adjHandleFill','_targetShapeId','FlowchartTerminator','sheets-shape-ui.line.joinType.title','none','sheets-shape-ui.fill.picture.align.b','ShapeNoSmokingIcon','getObjectIncludeInGroup','LeftBrace','Cube','setTimeout','_createShapeAdjustControls','interceptCommand','sheets-shape-ui.line.sketchType.curved','DRAWING_IMAGE','clone','FlowchartAlternateProcess','_urlImageService','_registerImageShapeClipDelegate','univer-flex\x20univer-items-center\x20univer-justify-between','_transform','ShapeUpArrowCalloutIcon','ShapeStar16Icon','sheets-shape-ui.insertShape','top','save','sheets-shape-ui.shape.type.chart-x','Dodecagon','updateContext','BorderCallout1','sheets-shape-ui.shape.type.straight-connector2','sin','isRender','ShapeBevelIcon','viewportScrollX','ShapeFlowChartManualInputIcon','subUnitId','replace','lineType','ActionButtonDocument','LeftArrowCallout','imageOpacity','RightBracket','_updateSrcRectByTransform','sheets-shape-ui.line.sketchType.handDrawn','_createControls','scale','sheets-shape-ui.toggleFlipH','getSkeletonParam','_baseShapeTop','_activeShapeInfo','Round1Rect','UpDownArrow','_baseHeight','SnipRoundRect','getDrawingEditable','sheets-shape-ui.line.beginArrowType','disposeWithMe','sheets-shape-ui.shape.type.plus','sheets-shape-ui.line.color','sheets-shape-ui.line.title','colStartX','sheets-shape-ui.shape.type.flow-chart-internal-storage','getBatchRemoveOp','_getImagePrstGeom','sheets-shape-ui.fill.picture.align.bl','ShapeWedgeEllipseCalloutIcon','ShapeActionButtonEndIcon','_resetState','AlignBottomIcon','transform','editorHeight','sheets-shape-ui.shape.type.left-up-arrow','sheets-shape-ui.shape.type.snip1-rect','ShapeBracePairIcon','IrregularSeal2','isHit','sheets-shape-ui.toolbar.fillColor.main','_menuManagerService','getSkeleton','sheets-shape-ui.shape.type.right-arrow','ShapeMoonIcon','BentConnector3','ShapeDownArrowIcon','sheets-shape-ui.shape.type.action-button-movie','_activeAdjustInfo','sheets-shape-ui.shape.type.callout1','_addShapeConnectorHandlerObjects','ShapeStar24Icon','Moon','ShapeDiamondIcon','gradientType','DEFAULT_PASTE','VerticalCenterIcon','sheets-shape-ui.shape.type.flow-chart-offpage-connector','updateLinePoints','transformForAngle','getCurrentScrollState','relation','ShapeCloudCalloutIcon','oKey','stroke','Callout2','_getShapeInfo','ShapeCircularArrowIcon','ShapeGear9Icon','ShapeActionButtonHelpIcon','constructor','ShapePieIcon','sheets-shape-ui.shape.type.decagon','_focusedDrawings','complete','_props','sheets-shape-ui.fill.pictureFill','getConnectorLinePoints','_configService','_findShapeAtPoint','sheets-shape-ui.shape.type.flow-chart-merge','Bevel','univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','ShapeBorderCallout2Icon','ShapeAccentBorderCallout1Icon','cxnIndex','shapeId','sheets-shape-ui.rotateRight90','ShapeDonutIcon','sheetTransform','getObject','ShapeFlowChartSummingJunctionIcon','_clipService','sheets-shape-ui.shape.type.right-brace','changeStart$','getDrawingVisible','_updateShapeAdjustControls','FlowchartProcess','_isStartConnectorPoint','mergeMenu','sheets-shape-ui.shape.type.right-arrow-callout','sheets-shape-ui.shape.type.flow-chart-extract','start','LightningBolt','targetShapeId','_transformCalculateSrcRect','forEach','ShapeLeftBraceIcon','getRenderById','_addShapeAdjustControl','ShapeLineInvIcon','setPrstGeom','Triangle','univer-absolute\x20univer-z-[100]\x20univer-overflow-visible','_draw','UpArrowCallout','sheets-shape-ui.shape.type.ellipse','FlowchartManualOperation','sheets-shape-ui.shape.group.','sheets-shape-ui.shape.type.ribbon','Chevron','ShapeActionButtonBackPreviousIcon','linear','sheets-shape-ui.shape.type.gear9','Star16','ShapeChartPlusIcon','enableObjectsEvent','_initPermission','ShapeStar4Icon','sheets-shape-ui.toggleTextVertical','_cxtHandlerPointerMove','scene','section','univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','DoubleWave','univer-rounded-lg\x20univer-p-3','changeShapeType','getBentTypeFromPoints','getValue','getFreeze','has','ancestorTransform','prstGeomAdjValues','sheets-shape-ui.shape.type.arc','_imageShapeClipController','AccentBorderCallout3','LEFT','scaleX','getEditing','_getSceneAndTransformerByDrawingSearch','_isConnecting','ShapeFlowChartMagneticTapeIcon','sheets-shape-ui.shape.type.flow-chart-decision','getShapeTypeById','gdRefAng','_cxnIndex','getEndConnectInfo','ShapeActionButtonSoundIcon','asObservable','Snip2SameRect','ShapeCurvedConnector3Icon','ang','sheets-shape-ui.shape.type.flow-chart-multidocument','LeftArrow','computeStraightConnectorLayout','beginPath','ShapeMathDivideIcon','ShapeWedgeRoundRectCalloutIcon','gradientAngle','starAndBanner','ShapeRectIcon','registerFeaturePasteHook','registerRenderModule','_handleConnectorPointerUp','_drawingAddListener','1738260ZJIrmf','srcRect','ShapeStar6Icon','image','_insertShapes','isArray','getShapeTextData','MEDIA','sheets-shape-ui.shape.type.action-button-blank','ShapePlusIcon','ShapeRound2SameRectIcon','sheets-shape-ui.shape.type.star16','sheets-shape-ui.toolbar.verticalAlignMode.main','sheets-shape-ui.toolbar.resetColor','_moveConnectorWithShape','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','some','ShapeDownArrowCalloutIcon','LeftRightArrowCallout','DRAWING_DOM','ShapeFlowChartDisplayIcon','clearAdjustControls','getDrawingSearch','univer-pt-2','prototype','ShapeEllipseRibbonIcon','ShapeLeftBracketIcon','shape-adjust-point-','clip','setContextValue','getShapeDataById','calculate','getZoomRatio','_localeService','sheets-shape-ui.line.sketchType.none','#1a73e8','None','registerFeatureMenu','#bcbcbc','deepClone','clip-adj-','_clearShapeAdjustControls','RightBrace','_getConnectionSiteAngle','push','_updateAdjustControlPositions','ShapeBracketPairIcon','INSERT','ShapeFlowChartExtractIcon','DiagStripe','UpArrow','ShapeTeardropIcon','sheets-shape-ui.shape.type.line-inv','getContextValue','sheets-shape-ui.shape.type.double-wave','sheet.command.set-shape-text-vertical-align','auto','getShapeModel','ShapeDoubleWaveIcon','sheets-shape-ui.shape.type.star12','viewBound','angle','sheets-shape-ui.shape.type.left-circular-arrow','ShapeActionButtonBeginningIcon','sheets-shape-ui.align.middle','call','_drawingRenderService','UturnArrow','sheets-shape-ui.shape.type.star24','clipByShape','name','ShapeCurvedLeftArrowIcon','objects','subscribeEvent','WedgeEllipseCallout','rotation','sheets-shape-ui.fill.title','ActionButtonSound','diamond','_subUnitId','getFocusDrawings','PlaqueTabs','scaleY','Rect','getConnectionSiteList','function','paragraphStyle','sheets-shape-ui.shape.type.flow-chart-manual-input','AlignTopIcon','offsetX','dataModel','lineStrokeType','imageTile','Square','sheets-shape-ui.shape.type.teardrop','_shapeId','sheets-shape-ui.shape.type.flow-chart-magnetic-tape','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','sheets-shape-ui.line.dashType.dashDot','ShapeFlowChartOnlineStorageIcon','stopPropagation','Star24','shape-text-editor','ShapeActionButtonHomeIcon','ShapeAccentBorderCallout3Icon','sheets-shape-ui.shape.type.diamond','sheets-shape-ui.line.arrowType.openArrow','HorizontalScroll','Round','flipY','FlowchartExtract','getShapeTextRect','_getImageDrawingInfo','sheets-shape-ui.shape.type.flow-chart-collate','shapeData','string','_imageIoService','startY','ShapeOctagonIcon','ShapeWedgeRectCalloutIcon','_initCopyPaste','_baseDrawingRect','_adjHandlerPointerMove','AccentCallout3','Linear','ShapeLeftRightArrowIcon','_initCommands','gradientStops','COMMAND','ShapeDecagonIcon','localToWorld','ShapeStar32Icon','ShapeActionButtonBlankIcon','RightTriangle','ShapeRtTriangleIcon','sheets-shape-ui.line.capType.title','ShapeDiagStripeIcon','translate','sheets-shape-ui.line.dashType.solid','shape-text-editor-position-wrapper','univer-size-full','capType','sheets-shape-ui.shape.type.block-arc','DownArrowCallout','mainComponent','_adjName','sheets-shape-ui.shape.type.plaque-tabs','onSavingEditorData$','_sheetCanvasPopManagerService','_activeShapeAdjustPointList','ShapeNotchedRightArrowIcon','_sheetBasicShapeConnectionPointController','ShapeCurvedDownArrowIcon','ShapeCanIcon','_addControl','isNaN','Decagon','ShapeAccentCallout2Icon','Funnel','univer-w-20','_getZoomRatio','ActionButtonBeginning','4703622CUpREk','registerFeatureMenuOffset','_updateImageAdjValues','getInverseCoord','sheets-shape-ui.shape.type.up-down-arrow','HorizontallyIcon','ShapeRibbonIcon','CircularArrow','getDrawingByParam','_draggingConnectorId','_registerGroupFeaturePasteHook','CROSSHAIR','1830308UIjyYi','map','sheets-shape-ui.shape.type.border-callout1','worksheet','close','fillImageSource','LAYOUT','ShapeCallout3Icon','FlowchartMagneticDrum','slice','unsubscribe','univer-hidden','setFillImage','ShapeIrregularSeal2Icon','HandDrawn','endArrow','PaintBucketDoubleIcon','getConnectionInfo','sheets-shape-ui.shape.type.action-button-end','CurvedUpArrow','SquareTabs','flowchart','fillImageSourceType','sheets-shape-ui.shape.type.star6','ENTER','sketchType','gdRefX','sheets-shape-ui.shape.type.callout3','_groupCopyPasteController','CENTER','_executeResizeCommand','blockArrow','Star5','sheets-shape-ui.shape.type.action-button-return','rect','_handleConnectedEndpointMove','ShapeCallout1Icon','sheets-shape-ui','sheets-shape-ui.line.dashType.longDash','ShapeStraightConnector1Icon','sheets-shape-ui.align.top','_shapeService','sheets-shape-ui.fill.transparency','5FFwZDH','type','getTransformer','ShapeActionButtonForwardNextIcon','textRect','sheets-shape-ui.shape.type.curved-connector3','ShapeLeftRightArrowCalloutIcon','renderDrawingShape','Snip2DiagRect','ShapeNonIsoscelesTrapezoidIcon','ShapeHeartIcon','sheets-shape-ui.fill.picture.alignment','_isDrawingShapePointDown','getImage','_baseWidth','REMOVE','sheets-shape-ui.shape.type.lightning-bolt','sheets-shape-ui.shape.type.flow-chart-manual-operation','Radial','Gear6','_sheetDrawingService','ShapePlaqueIcon','sheet.command.shape-doc-align','ShapeBentUpArrowIcon','getActualSize','adjHandleStroke','isLineShape','_getOrCreateShapeModel','\x20px','ShapeIcon','_loadShapePictureFill','ChartPlus','worldPoints','changing$','sheets-shape-ui.shape.type.no-smoking','ShapeFlowChartPunchedTapeIcon','shape-text-editor-content','sheets-shape-ui.line.dashType.squareDot','ShapeFunnelIcon','ActionButtonMovie','_initMenu','sheets-shape-ui.shape.type.action-button-beginning','_calculateFreeEndpointAngle','onCommandExecuted','horizontalAlign','_registerFocusChangeHandler','isInGroup','_commandService','_initSelection','sheets-shape-ui.shape.type.wave','sheets-shape-ui.toolbar.horizontalAlignMode.main','_init','_registerOperations','ShapeStar12Icon','FlowchartConnector','ShapeActionButtonMovieIcon','drawingType','getStartConnectInfo','ShapeFlowChartOrIcon','univer-absolute','ShapeLeftCircularArrowIcon','SHAPE_TEXT','LineInv','sheets-shape-ui.shape.type.flow-chart-document','sheets-shape-ui.fill.picture.align.l','values','_attachAdjustEvent','_sheetInterceptorService','_initSheetChange','vertexAngle','ShapeFlowChartMultidocumentIcon','sheets-shape-ui.shape.type.round1-rect','ShapeFlowChartPredefinedProcessIcon','ShapeFlowChartCollateIcon','ShapeActionButtonReturnIcon','Frame','Ellipse','Star6','sheets-shape-ui.line.sketchType.title','sheets-shape-ui.shape.type.flow-chart-connector','parseFloat','RIGHT','PictureFill','ShapeFlowChartMergeIcon','index','documentStyle','univer-text-gray-500','onScrollAfter$','sheets-shape-ui.shape.type.flow-chart-alternate-process','_baseLeft','sheets-shape-ui.shape.type.math-not-equal','ShapeSwooshArrowIcon','_activeShapeModel','sheets-shape-ui.shape.type.flow-chart-summing-junction','ShapeMathMultiplyIcon','sheets-shape-ui.shape.type.horizontal-scroll','sheets-shape-ui.config','sheets-shape-ui.shape.type.callout2','_copyInfo','sheets-shape-ui.shape.type.accent-border-callout2','sheets-shape-ui.shape.type.non-isosceles-trapezoid','sheets-shape-ui.rotateLeft90','ChartX','symbol','restore','ShapeMathPlusIcon','#FFFFFF','button','centerAngle','filter','sheets-shape-ui.shape.type.accent-callout2','_baseShapeHeight','SHEET_SHAPE_UI_PLUGIN','imageRotateWithShape','onload','sheets-shape-ui.shape.type.parallelogram','lineJoinType','Star10','position','Medium','disableObjectsEvent','sheets-shape-ui.shape.type.left-right-arrow-callout','angular','reduce','sheets-shape-ui.shape.type.round-rect','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','sheets-shape-ui.shape.type.ellipse-ribbon','FlowChartOfflineStorage','ShapeSquareTabsIcon','sheets-shape-ui.shape.type.corner-tabs','setSrcRect','sheets-shape-ui.fill.color','strokeWidth','error','sheets-shape-ui.shape.type.flow-chart-sort','sheets-shape-ui.shape.type.down-arrow-callout','sheets-shape-ui.openPanel','sheets-shape-ui.line.noLine','style','ShapeHomePlateIcon','clearTimeout','MIDDLE','_sheetPermissionCheckController','_activeTargetShapeId','height','useAbsolutePosition','callout','changeEnd$','sheets-shape-ui.shape.type.home-plate','setCanUseShapeClip','@univerjs-pro/sheets-shape-ui','ShapeEllipseIcon','setOnSavingEditorData','_sheetDrawingShapeRenderController','Heart','univer-text-sm','shapeModel','setEditing','sheets-shape-ui.shape.type.trapezoid','sheets-shape-ui.shape.type.flow-chart-punched-tape','ShapeFlowChartDocumentIcon','radial','end','find','cxnPointStrokeWidth','ShapeActionButtonDocumentIcon','preValue','addObject','Octagon','length','FlowchartOr','indexOf','Star12','ShapeCurvedConnector3Arrow2Icon','left','parse','marginTop','_shapes','getAdjustValueByName','getShapeData','fill','ShapeFlowChartOffpageConnectorIcon','ShapeActionButtonInformationIcon','_injector','ShapeMathEqualIcon','ShapeCallout2Icon','LeftUpArrow','adjHandleSize','sheets-shape-ui.shape.type.flow-chart-offline-storage','rectangle','HomePlate','FORMAT','univer-flex\x20univer-items-center\x20univer-gap-3','sheets-shape-ui.line.arrowSize.small','sheets-shape-ui.fill.picture.offsetX','updateShapeFillImage','ShapeFlowChartOfflineStorageIcon','getCurrentLastSelection','isRichText','editingParams$','sheets-shape-ui.line.arrowType.none','focusDrawing','sheets-shape-ui.shape.type.pentagon','DownArrow','univer-grid\x20univer-grid-cols-10\x20univer-gap-1','Snip1Rect','sheets-shape-ui.shape.type.flow-chart-punched-card','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','ShapeUpArrowIcon','getSheetBySheetId','sheets-shape-ui.shape.type.bent-connector3-arrow1','BorderCallout2','sheets-shape-ui.line.capType.square','_addShapeConnectorHandlerObject','GROUP','sheets-shape-ui.line.arrowType.stealthArrow','sheets-shape-ui.shape.type.chart-plus','_openShapeEditPanel','Star4','setHighlighted','\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','ShapeRectTextboxHorizontalIcon','_getShapeAdjustPointListById','Arrow','sheets-shape-ui.line.arrowSize.medium','basicShape'];_0x2000=function(){return _0x288c22;};return _0x2000();}import{DocSkeletonManagerService as _0x357c1f,RichTextEditingMutation as _0x35f519}from'@univerjs/docs';function La(_0x5990b1){'@babel/helpers - typeof';const _0x46b90d=_0xce4a;return La=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x46b90d(0x45e)?function(_0x1da90c){return typeof _0x1da90c;}:function(_0x218022){const _0x5ebd3c=_0x46b90d;return _0x218022&&typeof Symbol==_0x5ebd3c(0x373)&&_0x218022[_0x5ebd3c(0x2b5)]===Symbol&&_0x218022!==Symbol[_0x5ebd3c(0x336)]?_0x5ebd3c(0x45e):typeof _0x218022;},La(_0x5990b1);}function Ra(_0x15564d,_0x26bb33){const _0x3153d3=_0xce4a;if(La(_0x15564d)!=_0x3153d3(0x543)||!_0x15564d)return _0x15564d;var _0x55b6eb=_0x15564d[Symbol[_0x3153d3(0x4df)]];if(_0x55b6eb!==void 0x0){var _0x239713=_0x55b6eb[_0x3153d3(0x35f)](_0x15564d,_0x26bb33||_0x3153d3(0x67d));if(La(_0x239713)!=_0x3153d3(0x543))return _0x239713;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x26bb33===_0x3153d3(0x391)?String:Number)(_0x15564d);}function za(_0x3bb02f){const _0x16a0dd=_0xce4a;var _0xa5cd68=Ra(_0x3bb02f,_0x16a0dd(0x391));return La(_0xa5cd68)==_0x16a0dd(0x45e)?_0xa5cd68:_0xa5cd68+'';}function Y(_0x4e38b5,_0x12b732,_0x264b12){const _0x26e6f3=_0xce4a;return(_0x12b732=za(_0x12b732))in _0x4e38b5?Object[_0x26e6f3(0x553)](_0x4e38b5,_0x12b732,{'value':_0x264b12,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4e38b5[_0x12b732]=_0x264b12,_0x4e38b5;}var X=class extends _0x24ac39{constructor(..._0x1f6827){const _0x3a61b4=_0xce4a;super(..._0x1f6827),Y(this,_0x3a61b4(0x1f9),new _0x193b58(null)),Y(this,'editingParams$',this[_0x3a61b4(0x1f9)][_0x3a61b4(0x30d)]()),Y(this,_0x3a61b4(0x5aa),new _0x193b58(!0x1)),Y(this,'onSavingEditorData$',this['_onSavingEditorData$'][_0x3a61b4(0x30d)]());}[_0x3409bc(0x23b)](){const _0x3720df=_0x3409bc;this['_editingParams$'][_0x3720df(0x53b)](null),this[_0x3720df(0x1f9)][_0x3720df(0x2b9)](),this['_onSavingEditorData$'][_0x3720df(0x53b)](!0x1),this[_0x3720df(0x5aa)]['complete'](),super[_0x3720df(0x23b)]();}[_0x3409bc(0x494)](_0x333dad){const _0x1b4292=_0x3409bc;this[_0x1b4292(0x1f9)][_0x1b4292(0x53b)](_0x333dad),_0x333dad==null&&this[_0x1b4292(0x5aa)]['next'](!0x1);}[_0x3409bc(0x48f)](_0x20a5ea){const _0x4a5440=_0x3409bc;this[_0x4a5440(0x5aa)][_0x4a5440(0x53b)](_0x20a5ea);}[_0x3409bc(0x303)](){const _0x288979=_0x3409bc;return this[_0x288979(0x1f9)][_0x288979(0x2f9)]();}};function Ba(_0x4fda83,_0x373a7c){const _0x42b129=_0x3409bc;let _0x16a015={};for(let _0xd0de4 of Object[_0x42b129(0x20d)](_0x373a7c)){let _0x1fa645=_0x373a7c[_0xd0de4],_0x3dd896=_0x4fda83[_0xd0de4];if(_0x1fa645!==void 0x0){if(_0x3dd896===void 0x0){_0x16a015[_0xd0de4]=void 0x0;continue;}typeof _0x1fa645=='object'&&_0x1fa645&&!Array[_0x42b129(0x323)](_0x1fa645)&&typeof _0x3dd896==_0x42b129(0x543)&&_0x3dd896&&!Array[_0x42b129(0x323)](_0x3dd896)?_0x16a015[_0xd0de4]=Ba(_0x3dd896,_0x1fa645):_0x16a015[_0xd0de4]=_0x3dd896;}}return _0x16a015;}const Va={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':_0x3409bc(0x5c2),'handler':(_0x53f402,_0x18c35a)=>{const _0x1f6cd6=_0x3409bc;let _0x19b1ec=_0x53f402[_0x1f6cd6(0x618)](_0x1bd6ad),{unitId:_0x2d4eb6,subUnitId:_0x34ca41,shapeType:_0x357d85,shapeId:_0x5063c9,shapeData:_0x3a037e,oldShapeJSON:_0x37f4e9}=_0x18c35a;if(!_0x19b1ec['getShapeModel'](_0x2d4eb6,_0x34ca41,_0x5063c9))return!0x1;let _0x120528=_0x53f402[_0x1f6cd6(0x618)](_0x2ac980),_0x12d635=_0x53f402[_0x1f6cd6(0x618)](_0x5854ef),{oldShapeType:_0x1dcf02,oldShapeData:_0x4cd774={}}=_0x37f4e9,_0x300c48=Ba(_0x4cd774,_0x3a037e||{}),_0x510804={'id':_0x284697['id'],'params':{'unitId':_0x2d4eb6,'subUnitId':_0x34ca41,'shapeId':_0x5063c9,'shapeType':_0x357d85,'shapeData':_0x3a037e}},_0x5a06b1={'id':_0x284697['id'],'params':{'unitId':_0x2d4eb6,'subUnitId':_0x34ca41,'shapeId':_0x5063c9,'shapeType':_0x1dcf02,'shapeData':_0x300c48}};return _0x120528[_0x1f6cd6(0x521)](_0x510804['id'],_0x510804[_0x1f6cd6(0x639)])?(_0x12d635[_0x1f6cd6(0x223)]({'unitID':_0x2d4eb6,'undoMutations':[_0x5a06b1],'redoMutations':[_0x510804]}),!0x0):!0x1;}},Ha={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':_0x3409bc(0x5e8),'handler':async(_0x313e8f,_0x5c1af9)=>{const _0x1baf37=_0x3409bc;var _0x4df11a;if(!_0x6bc5ef(_0x313e8f[_0x1baf37(0x618)](_0x418e4b)))return!0x1;let _0x59a960=_0x313e8f[_0x1baf37(0x618)](_0x2bc570)[_0x1baf37(0x36e)]()[_0x1baf37(0x464)](_0x47d093=>_0x47d093[_0x1baf37(0x42f)]===_0x204228['DRAWING_SHAPE']);if(_0x59a960[_0x1baf37(0x4a0)]!==0x1)return!0x1;let _0x3d7475=_0x313e8f[_0x1baf37(0x618)](X)[_0x1baf37(0x303)](),_0x2df67a=(_0x3d7475==null?void 0x0:_0x3d7475['unitId'])||_0x59a960[0x0][_0x1baf37(0x550)],_0x1076b3=(_0x3d7475==null?void 0x0:_0x3d7475['subUnitId'])||_0x59a960[0x0][_0x1baf37(0x26e)],_0xde02c4=(_0x3d7475==null?void 0x0:_0x3d7475['shapeId'])||_0x59a960[0x0][_0x1baf37(0x5b0)],_0x27daff=_0x313e8f['get'](_0x1bd6ad)['getShapeModel'](_0x2df67a,_0x1076b3,_0xde02c4);if(!_0x27daff)return!0x1;let _0x4a63fa=_0x27daff[_0x1baf37(0x324)]();if(!_0x4a63fa||!(_0x1baf37(0x378)in _0x4a63fa))return!0x1;let _0x2935c7=_0x313e8f[_0x1baf37(0x618)](_0x2ac980),{value:_0x1c1c0b}=_0x5c1af9,_0x416891=_0x27daff[_0x1baf37(0x595)](),_0x371c34=_0x27daff[_0x1baf37(0x4aa)](),_0x3cf1bd={..._0x4a63fa['dataModel'],'ha':_0x1c1c0b};return await _0x2935c7[_0x1baf37(0x586)](Va['id'],{'unitId':_0x2df67a,'subUnitId':_0x1076b3,'shapeId':_0xde02c4,'shapeType':_0x416891,'shapeData':{'shapeText':{'isHorizontal':(_0x4df11a=_0x4a63fa[_0x1baf37(0x248)])==null?!0x0:_0x4df11a,'dataModel':_0x3cf1bd}},'oldShapeJSON':{'oldShapeType':_0x416891,'oldShapeData':_0x371c34}});}},Ua={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':_0x3409bc(0x1ee),'handler':async(_0x51251a,_0x57fe51)=>{const _0x29287b=_0x3409bc;var _0x2dab6e;if(!_0x57fe51)return!0x1;let {value:_0x5e688c}=_0x57fe51,_0x200f8a=_0x51251a['get'](_0x2ac980),_0x459993=_0x51251a['get'](X),_0x25962b=_0x51251a['get'](_0x1bd6ad),_0x59ae7e=_0x51251a[_0x29287b(0x618)](_0x592bef),_0x3a9e0a=_0x459993[_0x29287b(0x303)]();if(!_0x3a9e0a)return!0x1;let {unitId:_0x1f38d6,subUnitId:_0x33da6b,shapeId:_0x451687}=_0x3a9e0a,_0x10ea44=_0x25962b[_0x29287b(0x357)](_0x1f38d6,_0x33da6b,_0x451687);if(!_0x10ea44)return!0x1;let _0x16ec37=_0x10ea44[_0x29287b(0x324)]();if(!_0x16ec37||!('dataModel'in _0x16ec37))return!0x1;let _0x199a4d=_0x16ec37['dataModel'];if(!_0x199a4d)return!0x1;let _0x43c299={..._0x199a4d,'fs':_0x5e688c},_0x78d4bb=await _0x200f8a[_0x29287b(0x586)](Va['id'],{'unitId':_0x1f38d6,'subUnitId':_0x33da6b,'shapeId':_0x451687,'shapeData':{'shapeText':{'isHorizontal':(_0x2dab6e=_0x16ec37[_0x29287b(0x248)])==null?!0x0:_0x2dab6e,'dataModel':_0x43c299}}});if(_0x78d4bb){let _0x140f10=_0x59ae7e['getRenderById'](_0x1f38d6);if(_0x140f10!=null&&_0x140f10[_0x29287b(0x2f2)]){let _0x32ce8e=_0xd64c82({'unitId':_0x1f38d6,'subUnitId':_0x33da6b,'drawingId':_0x451687}),_0x1bb89e=_0x140f10[_0x29287b(0x2f2)][_0x29287b(0x251)](_0x32ce8e);_0x1bb89e&&_0x1bb89e[_0x29287b(0x5d0)](!0x0);}}return _0x78d4bb;}},Wa={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':'sheet.command.set-shape-text-font-size-increase','handler':async _0x1b92f6=>{const _0x1f48e8=_0x3409bc;var _0x236abd;let _0x2ff5fa=_0x1b92f6[_0x1f48e8(0x618)](X),_0x4c3b4e=_0x1b92f6[_0x1f48e8(0x618)](_0x1bd6ad),_0x11a20d=_0x1b92f6[_0x1f48e8(0x618)](_0x2ac980),_0x3d9f12=_0x2ff5fa[_0x1f48e8(0x303)]();if(!_0x3d9f12)return!0x1;let {unitId:_0x50ec3d,subUnitId:_0x43d9d9,shapeId:_0x338b16}=_0x3d9f12,_0x1fe904=_0x4c3b4e[_0x1f48e8(0x357)](_0x50ec3d,_0x43d9d9,_0x338b16);if(!_0x1fe904)return!0x1;let _0x2b4d20=_0x1fe904[_0x1f48e8(0x324)]();if(!_0x2b4d20||!(_0x1f48e8(0x378)in _0x2b4d20))return!0x1;let _0x4c54d8=_0x2b4d20[_0x1f48e8(0x378)],_0x186284=(_0x236abd=_0x4c54d8==null?void 0x0:_0x4c54d8['fs'])==null?0xe:_0x236abd,_0x4492ec=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x40acd6=_0x186284,_0x408a7b=_0x4492ec[_0x1f48e8(0x4a2)](_0x186284);return _0x408a7b!==-0x1&&_0x408a7b<_0x4492ec['length']-0x1?_0x40acd6=_0x4492ec[_0x408a7b+0x1]:_0x408a7b===-0x1&&(_0x40acd6=Math['floor'](_0x186284)+0x1),_0x11a20d['executeCommand'](Ua['id'],{'value':_0x40acd6});}},Ga={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':_0x3409bc(0x230),'handler':async _0x42ec85=>{const _0xdbee60=_0x3409bc;var _0x1d919f;let _0x1ca428=_0x42ec85[_0xdbee60(0x618)](X),_0x25b570=_0x42ec85[_0xdbee60(0x618)](_0x1bd6ad),_0x400a69=_0x42ec85[_0xdbee60(0x618)](_0x2ac980),_0x352aa4=_0x1ca428[_0xdbee60(0x303)]();if(!_0x352aa4)return!0x1;let {unitId:_0x3b1849,subUnitId:_0x3f43c9,shapeId:_0x270183}=_0x352aa4,_0x262bd0=_0x25b570[_0xdbee60(0x357)](_0x3b1849,_0x3f43c9,_0x270183);if(!_0x262bd0)return!0x1;let _0x33790f=_0x262bd0['getShapeTextData']();if(!_0x33790f||!('dataModel'in _0x33790f))return!0x1;let _0x2f0ca6=_0x33790f[_0xdbee60(0x378)],_0x15bf20=(_0x1d919f=_0x2f0ca6==null?void 0x0:_0x2f0ca6['fs'])==null?0xe:_0x1d919f,_0x3bc462=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x18afd1=_0x15bf20,_0x1f4e38=_0x3bc462[_0xdbee60(0x4a2)](_0x15bf20);return _0x1f4e38!==-0x1&&_0x1f4e38>0x0?_0x18afd1=_0x3bc462[_0x1f4e38-0x1]:_0x1f4e38===-0x1&&(_0x18afd1=Math[_0xdbee60(0x20b)](_0x15bf20)-0x1),_0x18afd1<0x1&&(_0x18afd1=0x1),_0x400a69[_0xdbee60(0x586)](Ua['id'],{'value':_0x18afd1});}},Ka={'type':_0x3a0ed7['COMMAND'],'id':_0x3409bc(0x355),'handler':async(_0x281d93,_0xbfad01)=>{const _0x197b6a=_0x3409bc;var _0x53ad8c;if(!_0x6bc5ef(_0x281d93[_0x197b6a(0x618)](_0x418e4b)))return!0x1;let _0x2ef416=_0x281d93[_0x197b6a(0x618)](_0x2bc570)[_0x197b6a(0x36e)]()[_0x197b6a(0x464)](_0x100dd6=>_0x100dd6[_0x197b6a(0x42f)]===_0x204228[_0x197b6a(0x4d9)]);if(_0x2ef416[_0x197b6a(0x4a0)]!==0x1)return!0x1;let _0x518153=_0x281d93['get'](X)[_0x197b6a(0x303)](),_0xe1120b=(_0x518153==null?void 0x0:_0x518153['unitId'])||_0x2ef416[0x0][_0x197b6a(0x550)],_0x2fbfb4=(_0x518153==null?void 0x0:_0x518153[_0x197b6a(0x26e)])||_0x2ef416[0x0]['subUnitId'],_0x5c8e18=(_0x518153==null?void 0x0:_0x518153[_0x197b6a(0x2c5)])||_0x2ef416[0x0][_0x197b6a(0x5b0)],_0x476b22=_0x281d93[_0x197b6a(0x618)](_0x1bd6ad)[_0x197b6a(0x357)](_0xe1120b,_0x2fbfb4,_0x5c8e18);if(!_0x476b22)return!0x1;let _0x43a761=_0x476b22['getShapeTextData']();if(!_0x43a761||!(_0x197b6a(0x378)in _0x43a761))return!0x1;let _0x442bfa=_0x281d93[_0x197b6a(0x618)](_0x2ac980),{value:_0x4a3944}=_0xbfad01,_0x5c151d=_0x476b22['getShapeType'](),_0x1fd41e=_0x476b22[_0x197b6a(0x4aa)](),_0x477134={..._0x43a761[_0x197b6a(0x378)],'va':_0x4a3944};return await _0x442bfa[_0x197b6a(0x586)](Va['id'],{'unitId':_0xe1120b,'subUnitId':_0x2fbfb4,'shapeId':_0x5c8e18,'shapeType':_0x5c151d,'shapeData':{'shapeText':{'isHorizontal':(_0x53ad8c=_0x43a761[_0x197b6a(0x248)])==null?!0x0:_0x53ad8c,'dataModel':_0x477134}},'oldShapeJSON':{'oldShapeType':_0x5c151d,'oldShapeData':_0x1fd41e}});}},qa={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':_0x3409bc(0x40d),'handler':(_0xad897a,_0x2eac6b)=>{const _0x13b4f8=_0x3409bc;if(!_0x2eac6b)return!0x1;let {value:_0x470a97}=_0x2eac6b;return _0xad897a[_0x13b4f8(0x618)](_0x2ac980)[_0x13b4f8(0x521)](_0x329b46['id'],{'alignType':_0x470a97});}},Ja={'type':_0x3a0ed7[_0x3409bc(0x5a1)],'id':_0x3409bc(0x680),'handler'(){return!0x0;}},Ya={'type':_0x3a0ed7[_0x3409bc(0x5a1)],'id':_0x3409bc(0x59c),'handler'(){return!0x0;}},Xa=_0x3409bc(0x63c),Za=_0x1d72f2(_0x3409bc(0x434));function Z(_0x51937e,_0x40ca59,_0x3e833b,_0x2f243a,_0x3fd0ff,_0x43c373){const _0x4d22cc=_0x3409bc;let _0x516f70={'unitId':_0x40ca59,'subUnitId':_0x3e833b,'shapeId':_0x2f243a,'shapeData':_0x43c373,'oldShapeJSON':_0x3fd0ff};return _0x51937e[_0x4d22cc(0x586)](Va['id'],_0x516f70);}function Qa(_0x107ecb,_0x54813b,_0x1f166f,_0x40b0b4,_0x125b9b,_0x1584d9){let _0x55646b={'unitId':_0x54813b,'subUnitId':_0x1f166f,'shapeId':_0x40b0b4,'shapeData':_0x1584d9,'oldShapeJSON':_0x125b9b};return _0x107ecb['executeCommand'](Va['id'],_0x55646b);}function $a(_0x4294e9,_0x37e46a){const _0x5f53c3=_0x3409bc;var _0xa0c3d3;let {isHorizontal:_0x5b48d6,textRect:_0xd0198f,verticalAlign:_0xda3f96}=_0x37e46a,_0x577fb9=_0x5b48d6?_0xd0198f[_0x5f53c3(0x516)]:_0xd0198f['height'],_0x2836df=_0x5171d5[_0x5f53c3(0x345)](_0x4294e9),_0x5809d0=(_0xa0c3d3=_0x2836df[_0x5f53c3(0x44c)])==null?{}:_0xa0c3d3,_0x47ae60={..._0x5809d0[_0x5f53c3(0x1e1)],'centerAngle':_0x5b48d6?0x0:_0x132dfa,'vertexAngle':_0x5b48d6?0x0:_0x132dfa,'wrapStrategy':_0x50c13d[_0x5f53c3(0x629)]};if(_0xda3f96!==void 0x0&&(_0x47ae60[_0x5f53c3(0x66c)]=_0xda3f96),_0x37e46a[_0x5f53c3(0x423)]!==void 0x0){var _0x225d46;_0x47ae60[_0x5f53c3(0x423)]=_0x37e46a[_0x5f53c3(0x423)];let _0x47df3e=(_0x225d46=_0x2836df[_0x5f53c3(0x573)])==null?void 0x0:_0x225d46[_0x5f53c3(0x56b)];if(_0x47df3e){for(let _0x40b0a9 of _0x47df3e)_0x40b0a9[_0x5f53c3(0x374)]||(_0x40b0a9[_0x5f53c3(0x374)]={}),_0x40b0a9[_0x5f53c3(0x374)]['horizontalAlign']=_0x37e46a[_0x5f53c3(0x423)];}}return _0x2836df[_0x5f53c3(0x44c)]={..._0x5809d0,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':_0x577fb9,'height':0x1/0x0},'renderConfig':_0x47ae60},_0x2836df;}function eo(_0x3055dd){const _0x19564d=_0x3409bc;var _0x1efbac;let _0x50b437=_0x5171d5[_0x19564d(0x345)](_0x3055dd),_0x2a3ffd=(_0x1efbac=_0x50b437['documentStyle'])==null?{}:_0x1efbac,_0x427ccd={..._0x2a3ffd['renderConfig']};return delete _0x427ccd[_0x19564d(0x463)],delete _0x427ccd[_0x19564d(0x43c)],delete _0x427ccd[_0x19564d(0x66c)],delete _0x427ccd[_0x19564d(0x5bb)],_0x50b437[_0x19564d(0x44c)]={..._0x2a3ffd,'marginTop':0x0,'marginBottom':0x0,'marginLeft':0x0,'marginRight':0x0,'pageSize':{'width':0x1/0x0,'height':0x1/0x0},'renderConfig':Object[_0x19564d(0x20d)](_0x427ccd)['length']>0x0?_0x427ccd:void 0x0},_0x50b437;}var to=class extends _0x415826{constructor(_0x59ae38,_0x5c62ad){const _0x19bc0a=_0x3409bc;super(_0x59ae38,_0x5c62ad),Y(this,'_props',void 0x0),Y(this,_0x19bc0a(0x2d8),!0x0),Y(this,_0x19bc0a(0x599),_0x204228[_0x19bc0a(0x4d9)]),Y(this,'isDrawingObject',!0x0),this[_0x19bc0a(0x2ba)]={..._0x5c62ad},this[_0x19bc0a(0x42a)]();}['_init'](){const _0x4766b2=_0x3409bc;this['onTransformChange$'][_0x4766b2(0x367)](_0x3d0d9d=>{const _0x434cd2=_0x4766b2;this[_0x434cd2(0x275)](_0x3d0d9d);});}[_0x3409bc(0x2de)](_0x32b432){const _0x15e223=_0x3409bc;this['_props'][_0x15e223(0x5b6)]=_0x32b432;}['setEditing'](_0x28d11a){const _0x540240=_0x3409bc;this[_0x540240(0x2ba)]['isEditing']=_0x28d11a,this[_0x540240(0x5d0)](!0x0);}get[_0x3409bc(0x550)](){return this['_props']['unitId'];}get[_0x3409bc(0x26e)](){const _0x1ecf27=_0x3409bc;return this['_props'][_0x1ecf27(0x26e)];}[_0x3409bc(0x275)](_0x105626){const _0x45a075=_0x3409bc;if(this[_0x45a075(0x2ba)][_0x45a075(0x31f)]==null||!this[_0x45a075(0x2d8)])return;let {width:_0x4f5e05,height:_0x5653b1}=this,{width:_0x3ffcd9=0x0,height:_0x1d194b=0x0}=_0x105626[_0x45a075(0x49d)],{left:_0x26565b=0x0,top:_0x4b3ec3=0x0,right:_0x38ca65=0x0,bottom:_0x188555=0x0}=this[_0x45a075(0x2ba)][_0x45a075(0x31f)],_0x49a3b3=_0x26565b,_0x20c659=_0x4b3ec3,_0x507afc=_0x38ca65,_0x9114fb=_0x188555,_0x4c2570=!0x1;if(_0x3ffcd9!==0x0&&_0x3ffcd9!==_0x4f5e05){let _0x30ae03=_0x26565b/_0x3ffcd9,_0x468be0=_0x38ca65/_0x3ffcd9;_0x49a3b3=_0x4f5e05*_0x30ae03,_0x507afc=_0x4f5e05*_0x468be0,_0x4c2570=!0x0;}if(_0x1d194b!==0x0&&_0x1d194b!==_0x5653b1){let _0x114ac0=_0x4b3ec3/_0x1d194b,_0x3ae1fc=_0x188555/_0x1d194b;_0x20c659=_0x5653b1*_0x114ac0,_0x9114fb=_0x5653b1*_0x3ae1fc,_0x4c2570=!0x0;}_0x4c2570&&this['setSrcRect']({'left':_0x49a3b3,'top':_0x20c659,'right':_0x507afc,'bottom':_0x9114fb});}[_0x3409bc(0x479)](_0x5c7135){const _0x212415=_0x3409bc;this[_0x212415(0x2ba)]['srcRect']=_0x5c7135,this[_0x212415(0x5d0)](!0x0);}['setFillImage'](_0x3a58b9){const _0x597d30=_0x3409bc;this['_props'][_0x597d30(0x321)]=_0x3a58b9,this[_0x597d30(0x5d0)](!0x0);}set['transform'](_0x3a8710){const _0x3114a4=_0x3409bc;this[_0x3114a4(0x25e)]=_0x3a8710;}get[_0x3409bc(0x290)](){const _0x4d6adf=_0x3409bc;this[_0x4d6adf(0x25e)]||this[_0x4d6adf(0x62a)]();let _0x43e7ba=this['_transform'][_0x4d6adf(0x259)]();return this[_0x4d6adf(0x2aa)](_0x43e7ba);}get[_0x3409bc(0x493)](){const _0x58c503=_0x3409bc;return this[_0x58c503(0x2ba)][_0x58c503(0x493)];}get[_0x3409bc(0x2c5)](){const _0x93fd33=_0x3409bc;return this[_0x93fd33(0x2ba)][_0x93fd33(0x2c5)];}get[_0x3409bc(0x5f9)](){const _0x3051fb=_0x3409bc;return _0x16e7a8[_0x3051fb(0x1f7)];}[_0x3409bc(0x2e1)](_0xa60acb,_0x531c80,_0xe3ed40,_0x529ef6){const _0x52f4bf=_0x3409bc;let _0x20f6dd=this[_0x52f4bf(0x2ba)][_0x52f4bf(0x493)];if(!_0x20f6dd||!_0x531c80)return;let _0x409500=_0xe3ed40==null?this[_0x52f4bf(0x516)]:_0xe3ed40,_0x54b21c=_0x529ef6==null?this[_0x52f4bf(0x487)]:_0x529ef6,_0x47dad9={'shapeType':_0x20f6dd[_0x52f4bf(0x595)](),'width':_0x409500,'height':_0x54b21c},_0x531f60={'renderMode':_0x287ceb['Path'],'oKey':this[_0x52f4bf(0x2ae)],'image':this[_0x52f4bf(0x2ba)][_0x52f4bf(0x321)],'angle':this[_0x52f4bf(0x35b)]};_0x20f6dd[_0x52f4bf(0x266)](_0x47dad9),_0xa60acb[_0x52f4bf(0x263)]();let _0x440aef={'top':0x0,'left':0x0,'width':_0x409500,'height':_0x54b21c};_0x20f6dd[_0x52f4bf(0x53d)](_0xa60acb,_0x440aef,_0x531f60),_0xa60acb[_0x52f4bf(0x45f)]();let _0x461c3b=_0x20f6dd[_0x52f4bf(0x324)](),_0x2ebb80=_0x20f6dd['getShapeTextRect'](_0x440aef),_0x137a27=_0x20f6dd[_0x52f4bf(0x411)]();if(_0x461c3b&&_0x2ebb80&&!_0x137a27){_0xa60acb[_0x52f4bf(0x263)](),this[_0x52f4bf(0x21f)]()[_0x52f4bf(0x574)]&&_0xa60acb[_0x52f4bf(0x278)](-0x1,0x1);let _0x5d4b39=_0x409500/0x2,_0x339507=_0x54b21c/0x2;_0xa60acb[_0x52f4bf(0x3a7)](-_0x5d4b39,-_0x339507),_0xa60acb[_0x52f4bf(0x314)](),this[_0x52f4bf(0x679)](_0xa60acb,_0x461c3b,_0x2ebb80),_0xa60acb[_0x52f4bf(0x45f)]();}}[_0x3409bc(0x5de)](_0x1a135d){}[_0x3409bc(0x679)](_0x283b76,_0x2208e1,_0x133c2c){const _0x2eb05c=_0x3409bc;this[_0x2eb05c(0x2ba)]['isEditing']||(_0x2eb05c(0x4bd)in _0x2208e1&&_0x2208e1[_0x2eb05c(0x4bd)]===!0x1?this[_0x2eb05c(0x4f1)](_0x283b76,_0x2208e1,_0x133c2c):this['_drawRichText'](_0x283b76,_0x2208e1,_0x133c2c));}['_drawSimpleText'](_0x1d761d,_0x4a3bc4,_0x4e5a9f){}['_drawRichText'](_0x1f9fb9,_0x3e1061,_0x204c9a){const _0x9236a6=_0x3409bc;var _0x209133,_0x546300;let _0xed4fcb=this['_props']['localeService'];if(!_0x3e1061['dataModel']||!_0xed4fcb){_0xed4fcb||console[_0x9236a6(0x539)]('[DrawingShape]\x20LocaleService\x20is\x20required\x20for\x20rich\x20text\x20rendering');return;}let _0x363f11=_0x3e1061[_0x9236a6(0x378)],_0x210f46=_0x363f11['doc'],_0x25c821=(_0x209133=_0x363f11['va'])==null?_0x26d5cf[_0x9236a6(0x4db)]:_0x209133,_0x290113=(_0x546300=_0x363f11['ha'])==null?_0x1e1ccf['LEFT']:_0x546300;if(!_0x210f46)return;let _0xcffece=_0x3e1061[_0x9236a6(0x248)],_0x4ced54=new _0x194cb1($a(_0x210f46,{'isHorizontal':_0xcffece!==!0x1,'textRect':_0x204c9a,'verticalAlign':_0x25c821,'horizontalAlign':_0x290113})),_0x320b34=new _0x1de3ed(_0x4ced54),_0x471a99=_0x8a79eb['create'](_0x320b34,_0xed4fcb);_0x471a99[_0x9236a6(0x33d)]();let _0x40db19=new _0x2e8da8(_0x9236a6(0x20e)+this[_0x9236a6(0x2ae)],_0x471a99,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x40db19[_0x9236a6(0x675)](_0x204c9a[_0x9236a6(0x516)],_0x204c9a[_0x9236a6(0x487)]),_0x1f9fb9['save'](),_0x1f9fb9['translateWithPrecision'](_0x204c9a[_0x9236a6(0x4a5)],_0x204c9a[_0x9236a6(0x262)]),_0x1f9fb9[_0x9236a6(0x314)](),_0x1f9fb9[_0x9236a6(0x3ee)](0x0,0x0,_0x204c9a['width'],_0x204c9a[_0x9236a6(0x487)]),_0x1f9fb9[_0x9236a6(0x33a)](),_0x40db19[_0x9236a6(0x525)](_0x1f9fb9),_0x1f9fb9[_0x9236a6(0x45f)](),_0x40db19['dispose'](),_0x471a99[_0x9236a6(0x23b)](),_0x320b34['dispose'](),_0x4ced54['dispose']();}['render'](_0x3aa2ef,_0xe0d8c9,_0x2ee42b=!0x1){const _0x174f01=_0x3409bc;if(!this['visible'])return this[_0x174f01(0x5d0)](!0x1),this;let {width:_0x1d47a8,height:_0x7aa1a5,left:_0x579bfc,top:_0x191690}=this,_0x9e2468=this[_0x174f01(0x5ba)]();if(_0x1d47a8=_0x9e2468[_0x174f01(0x516)],_0x7aa1a5=_0x9e2468[_0x174f01(0x487)],_0x579bfc=_0x9e2468[_0x174f01(0x4a5)],_0x191690=_0x9e2468[_0x174f01(0x262)],this[_0x174f01(0x26a)](_0xe0d8c9)){let {top:_0x101991,left:_0x5c0a75,bottom:_0x52d7a0,right:_0x147d42}=_0xe0d8c9[_0x174f01(0x35a)];if(_0x1d47a8+this[_0x174f01(0x47b)]+_0x579bfc<_0x5c0a75||_0x147d42<_0x579bfc||_0x7aa1a5+this[_0x174f01(0x47b)]+_0x191690<_0x101991||_0x52d7a0<_0x191690)return this;}let _0x529f1e=_0x579bfc+_0x1d47a8/0x2,_0x128763=_0x191690+_0x7aa1a5/0x2,_0x3f5471=this[_0x174f01(0x290)]['getMatrix']();if(this[_0x174f01(0x2ba)]['isEditing']){let _0x31ed33=this[_0x174f01(0x21f)](),_0x3fce91=new _0x116f12();_0x3fce91[_0x174f01(0x506)]({..._0x31ed33}),_0x3f5471=_0x3fce91[_0x174f01(0x21c)]();}return _0x3aa2ef[_0x174f01(0x263)](),this['_props'][_0x174f01(0x493)][_0x174f01(0x5d1)]===!0x0||_0x3aa2ef[_0x174f01(0x290)](_0x3f5471[0x0],_0x3f5471[0x1],_0x3f5471[0x2],_0x3f5471[0x3],_0x529f1e,_0x128763),this[_0x174f01(0x2e1)](_0x3aa2ef,_0xe0d8c9,_0x1d47a8,_0x7aa1a5),_0x3aa2ef[_0x174f01(0x45f)](),this[_0x174f01(0x5d0)](!0x1),this;}[_0x3409bc(0x3c3)](_0x5edc1d){const _0xd81550=_0x3409bc;let {left:_0xaeb1c9,top:_0x45084d,width:_0x50fd7f,height:_0x246840}=this[_0xd81550(0x5ba)](),_0x552215=this[_0xd81550(0x290)]['getMatrix'](),_0x3bd555=_0xaeb1c9+_0x50fd7f/0x2,_0x4881f7=_0x45084d+_0x246840/0x2,_0x22e7db=new _0x116f12([_0x552215[0x0],_0x552215[0x1],_0x552215[0x2],_0x552215[0x3],_0x3bd555,_0x4881f7]),_0x4484ee=this[_0xd81550(0x1fc)]();return(this[_0xd81550(0x425)]&&(_0x4484ee==null?void 0x0:_0x4484ee[_0xd81550(0x5f9)])===_0x16e7a8[_0xd81550(0x4cd)]?_0x4484ee['ancestorTransform']['multiply'](_0x22e7db):_0x22e7db)[_0xd81550(0x542)]()[_0xd81550(0x636)](_0x5edc1d);}[_0x3409bc(0x296)](_0x59416f){const _0x331a19=_0x3409bc;let {left:_0x54b186,top:_0x8fef8d,width:_0x3f917a,height:_0x5d10b6}=this[_0x331a19(0x5ba)](),_0x17093b=_0x54b186+_0x3f917a/0x2,_0x324b36=_0x8fef8d+_0x5d10b6/0x2,_0x2ad0c1=this['transform']['getMatrix'](),_0x3fd3e3=new _0x116f12([_0x2ad0c1[0x0],_0x2ad0c1[0x1],_0x2ad0c1[0x2],_0x2ad0c1[0x3],_0x17093b,_0x324b36]),_0x18601a=this[_0x331a19(0x1fc)](),_0x5ead39=(this[_0x331a19(0x425)]&&(_0x18601a==null?void 0x0:_0x18601a[_0x331a19(0x5f9)])===_0x16e7a8[_0x331a19(0x4cd)]?_0x18601a['ancestorTransform'][_0x331a19(0x576)](_0x3fd3e3):_0x3fd3e3)[_0x331a19(0x542)]()['applyPoint'](_0x59416f),_0x3bb03a=_0x3f917a/0x2,_0x264ab=_0x5d10b6/0x2,_0x388ac7=this[_0x331a19(0x2ba)][_0x331a19(0x493)];return _0x388ac7&&_0x388ac7['isLineShape']()?_0x388ac7['isHitLine'](_0x5ead39['x'],_0x5ead39['y'],_0x3f917a,_0x5d10b6):_0x5ead39['x']>=-_0x3bb03a-this[_0x331a19(0x47b)]/0x2&&_0x5ead39['x']<=_0x3bb03a+this[_0x331a19(0x47b)]/0x2&&_0x5ead39['y']>=-_0x264ab-this[_0x331a19(0x47b)]/0x2&&_0x5ead39['y']<=_0x264ab+this[_0x331a19(0x47b)]/0x2;}[_0x3409bc(0x23b)](){const _0x9fc573=_0x3409bc;this['_props'][_0x9fc573(0x493)]=null,super['dispose']();}};function Q(_0x1139fd,_0xfd1dff){return function(_0x3a93c7,_0x30c9f8){_0xfd1dff(_0x3a93c7,_0x30c9f8,_0x1139fd);};}function $(_0x272c75,_0x514640,_0x34527d,_0x5e767c){const _0x4844b5=_0x3409bc;var _0x2283d4=arguments[_0x4844b5(0x4a0)],_0x271d94=_0x2283d4<0x3?_0x514640:_0x5e767c===null?_0x5e767c=Object[_0x4844b5(0x53f)](_0x514640,_0x34527d):_0x5e767c,_0x480982;if(typeof Reflect==_0x4844b5(0x543)&&typeof Reflect[_0x4844b5(0x668)]==_0x4844b5(0x373))_0x271d94=Reflect[_0x4844b5(0x668)](_0x272c75,_0x514640,_0x34527d,_0x5e767c);else{for(var _0x3cf8f1=_0x272c75[_0x4844b5(0x4a0)]-0x1;_0x3cf8f1>=0x0;_0x3cf8f1--)(_0x480982=_0x272c75[_0x3cf8f1])&&(_0x271d94=(_0x2283d4<0x3?_0x480982(_0x271d94):_0x2283d4>0x3?_0x480982(_0x514640,_0x34527d,_0x271d94):_0x480982(_0x514640,_0x34527d))||_0x271d94);}return _0x2283d4>0x3&&_0x271d94&&Object[_0x4844b5(0x553)](_0x514640,_0x34527d,_0x271d94),_0x271d94;}let no=class extends _0x24ac39{constructor(_0x5e3eea,_0x31829f,_0x18d89c,_0x5ce8f0,_0x112cf8){const _0x3c0a72=_0x3409bc;super(),this[_0x3c0a72(0x1fe)]=_0x5e3eea,this[_0x3c0a72(0x609)]=_0x31829f,this['_localeService']=_0x18d89c,this['_imageIoService']=_0x5ce8f0,this[_0x3c0a72(0x25b)]=_0x112cf8;}['renderDrawingShape'](_0x5b66ae,_0x2e4f6f){const _0x5852de=_0x3409bc;let {transform:_0x5aa6ee,drawingType:_0x19b843,srcRect:_0x53ef57,prstGeom:_0x23e37d,groupId:_0x27403e,unitId:_0x16cdd8,subUnitId:_0x1ab286,drawingId:_0xea6ee0,isMultiTransform:_0x20cf23,transforms:_0x27a723,hidden:_0x37a398}=_0x5b66ae;if(_0x19b843!==_0x204228[_0x5852de(0x4d9)]||!this[_0x5852de(0x1fe)][_0x5852de(0x2ce)]()||_0x5aa6ee==null)return;let _0x5d4210=_0x20cf23&&_0x27a723?_0x27a723:[_0x5aa6ee],_0x38c14f=[];for(let _0x2bcc1f of _0x5d4210){let {left:_0x97512,top:_0x31f4c7,width:_0x54ef44,height:_0x4668d4,angle:_0x33b40d,flipX:_0x1e0ae6,flipY:_0x3dfa2b,skewX:_0x2cf52c,skewY:_0x5ef8ca}=_0x2bcc1f,_0x19bc21=_0x5d4210['indexOf'](_0x2bcc1f),_0x501586=_0xd64c82({'unitId':_0x16cdd8,'subUnitId':_0x1ab286,'drawingId':_0xea6ee0},_0x20cf23?_0x19bc21:void 0x0),_0x429f7e=_0x2e4f6f[_0x5852de(0x251)](_0x501586);if(_0x429f7e!=null){_0x429f7e[_0x5852de(0x4f4)]({'left':_0x97512,'top':_0x31f4c7,'width':_0x54ef44,'height':_0x4668d4,'angle':_0x33b40d,'flipX':_0x1e0ae6,'flipY':_0x3dfa2b,'skewX':_0x2cf52c,'skewY':_0x5ef8ca});continue;}let _0x205316=this['_drawingManagerService'][_0x5852de(0x1ec)](_0x16cdd8,_0x1ab286),_0x5745ae=_0x205316['indexOf'](_0xea6ee0);if(_0x2e4f6f[_0x5852de(0x251)](_0x501586)||!this[_0x5852de(0x1fe)][_0x5852de(0x2ce)]())continue;let _0x40a430=this['_sheetsShapeService'][_0x5852de(0x357)](_0x16cdd8,_0x1ab286,_0xea6ee0);if(!_0x40a430)continue;let _0x48753c=new to(_0x501586,{..._0x1e6a3a(_0x40a430[_0x5852de(0x595)]())?{..._0x2bcc1f,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x2bcc1f},'zIndex':_0x5745ae===-0x1?_0x205316[_0x5852de(0x4a0)]-0x1:_0x5745ae,'shapeModel':_0x40a430,'localeService':this['_localeService'],'shapeId':_0xea6ee0,'unitId':_0x16cdd8,'subUnitId':_0x1ab286,'visible':_0x37a398!==!0x0});_0x2e4f6f[_0x5852de(0x49e)](_0x48753c,_0x3ec92b),this[_0x5852de(0x1fe)][_0x5852de(0x281)]()&&_0x2e4f6f['attachTransformerTo'](_0x48753c),_0x27403e&&_0x2fa933({'drawingId':_0x27403e,'unitId':_0x16cdd8,'subUnitId':_0x1ab286},_0x48753c,_0x2e4f6f,this[_0x5852de(0x1fe)]),_0x23e37d!=null&&_0x48753c[_0x5852de(0x2de)](_0x23e37d),_0x53ef57!=null&&_0x48753c[_0x5852de(0x479)](_0x53ef57),this[_0x5852de(0x415)](_0x48753c,_0x40a430[_0x5852de(0x4aa)]()),_0x38c14f['push'](_0x48753c);}return _0x38c14f;}[_0x3409bc(0x415)](_0x3d3256,_0x162714){const _0xb9563e=_0x3409bc;var _0x2fd416;let _0x5c60e7=_0x162714[_0xb9563e(0x4ab)];if(!_0x5c60e7||_0x5c60e7[_0xb9563e(0x64e)]!==_0x3dc913[_0xb9563e(0x449)]||!_0x5c60e7[_0xb9563e(0x3d1)])return;let _0x5a3622=_0x5c60e7[_0xb9563e(0x3d1)],_0x38b276=(_0x2fd416=_0x5c60e7[_0xb9563e(0x3e2)])==null?_0xde9716[_0xb9563e(0x507)]:_0x2fd416,_0x227ed3=this[_0xb9563e(0x392)][_0xb9563e(0x63a)](_0x5a3622,_0x38b276);if(_0x227ed3){_0x3d3256[_0xb9563e(0x3d8)](_0x227ed3);return;}this[_0xb9563e(0x50d)](_0x3d3256,_0x5a3622,_0x38b276);}async['_loadAndSetImage'](_0x17e5bd,_0x518cf9,_0x417d1e){const _0x287f7a=_0x3409bc;let _0x2638e5;try{if(_0x417d1e===_0xde9716[_0x287f7a(0x5ca)])_0x2638e5=await this[_0x287f7a(0x392)][_0x287f7a(0x404)](_0x518cf9);else{if(_0x417d1e===_0xde9716['URL'])try{_0x2638e5=await this[_0x287f7a(0x25b)]['getImage'](_0x518cf9);}catch{_0x2638e5=_0x518cf9;}else _0x2638e5=_0x518cf9;}}catch(_0x5db7fe){console[_0x287f7a(0x47c)]('[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source',_0x5db7fe);return;}let _0x4be588=new window[(_0x287f7a(0x5ee))]();_0x4be588[_0x287f7a(0x469)]=()=>{const _0x132e27=_0x287f7a;this[_0x132e27(0x392)]['addImageSourceCache'](_0x518cf9,_0x417d1e,_0x4be588),_0x17e5bd[_0x132e27(0x3d8)](_0x4be588);},_0x4be588[_0x287f7a(0x5bd)]=()=>{const _0x47245f=_0x287f7a;console[_0x47245f(0x47c)](_0x47245f(0x5e5),_0x518cf9);},_0x4be588['src']=_0x2638e5;}};no=$([Q(0x0,_0x132f48),Q(0x1,_0x54f4ad(_0x1bd6ad)),Q(0x2,_0x54f4ad(_0x13096e)),Q(0x3,_0x4e4587),Q(0x4,_0x56fd0b)],no);let ro=class extends _0x24ac39{constructor(_0x4132be,_0xb9e393,_0x3568a6,_0x5881a6,_0x150886,_0x53fcd2){const _0x221d5b=_0x3409bc;super(),this['_commandService']=_0x4132be,this['_renderManagerService']=_0xb9e393,this[_0x221d5b(0x1fe)]=_0x3568a6,this[_0x221d5b(0x21b)]=_0x5881a6,this[_0x221d5b(0x360)]=_0x150886,this[_0x221d5b(0x490)]=_0x53fcd2,this[_0x221d5b(0x685)]();}[_0x3409bc(0x685)](){const _0x3b81ec=_0x3409bc;this['_drawingAddListener'](),this[_0x3b81ec(0x246)](),this[_0x3b81ec(0x222)]();}[_0x3409bc(0x31d)](){const _0x227fd3=_0x3409bc;this[_0x227fd3(0x283)](this[_0x227fd3(0x1fe)][_0x227fd3(0x203)]['subscribe'](_0xe8d823=>{const _0x5b53aa=_0x227fd3;this[_0x5b53aa(0x322)](_0xe8d823);}));}[_0x3409bc(0x246)](){const _0x9ef798=_0x3409bc;this[_0x9ef798(0x283)](this[_0x9ef798(0x426)][_0x9ef798(0x422)](_0x11a919=>{const _0x323591=_0x9ef798;if(_0x11a919['id']===_0x55a102['id']){var _0xb55690;let {unitId:_0x12c0f4,subUnitId:_0x33919e,shapeId:_0x2aaa2b}=_0x11a919['params'],_0x5b4f85=this['_getSceneAndTransformerByDrawingSearch'](_0x12c0f4);if(_0x5b4f85==null)return;let {scene:_0x40a433}=_0x5b4f85,_0x41ec3f=_0xd64c82({'unitId':_0x12c0f4,'subUnitId':_0x33919e,'drawingId':_0x2aaa2b}),_0x20b96a=_0x40a433[_0x323591(0x251)](_0x41ec3f);if(!((_0xb55690=this['_renderManagerService'][_0x323591(0x2db)](_0x12c0f4))!=null&&_0xb55690[_0x323591(0x5fa)](_0x29be30)[_0x323591(0x299)](_0x33919e)))return!0x1;if(_0x20b96a)return;this[_0x323591(0x322)]([{'unitId':_0x12c0f4,'subUnitId':_0x33919e,'drawingId':_0x2aaa2b}]);}}));}[_0x3409bc(0x222)](){const _0x1d04d9=_0x3409bc;this[_0x1d04d9(0x283)](this[_0x1d04d9(0x1fe)][_0x1d04d9(0x228)][_0x1d04d9(0x54e)](_0x43411e=>{_0x43411e['forEach'](_0x3aaff5=>{const _0x247119=_0xce4a;let {unitId:_0x141980,subUnitId:_0xaa1d83,drawingId:_0x270b14}=_0x3aaff5,_0x5a85c8=this[_0x247119(0x1fe)][_0x247119(0x3c8)](_0x3aaff5);if(_0x5a85c8==null)return;let {transform:_0x52abd8,drawingType:_0x7e6527,srcRect:_0x14bdd5,prstGeom:_0x2b5a33}=_0x5a85c8;if(_0x7e6527!==_0x204228['DRAWING_SHAPE'])return;let _0x22b31e=this[_0x247119(0x304)](_0x141980);if(_0x22b31e==null)return;let {scene:_0x17f2a7,transformer:_0x44d853}=_0x22b31e;if(_0x52abd8==null)return!0x0;let _0x4b8e59=_0xd64c82({'unitId':_0x141980,'subUnitId':_0xaa1d83,'drawingId':_0x270b14}),_0x33e7e1=_0x17f2a7[_0x247119(0x251)](_0x4b8e59);if(_0x33e7e1==null)return!0x0;_0x33e7e1[_0x247119(0x479)](_0x14bdd5),_0x33e7e1['setPrstGeom'](_0x2b5a33);});}));}[_0x3409bc(0x4ba)](_0x1f4fd9,_0xfc243f){const _0x412e43=_0x3409bc;let {unitId:_0x26d7a2,subUnitId:_0x97c790,drawingId:_0x4c902e}=_0x1f4fd9,_0x270ab3=this[_0x412e43(0x304)](_0x26d7a2);if(_0x270ab3==null)return;let {scene:_0x14f639}=_0x270ab3,_0x3ea5ef=_0xd64c82({'unitId':_0x26d7a2,'subUnitId':_0x97c790,'drawingId':_0x4c902e}),_0x12781d=_0x14f639[_0x412e43(0x251)](_0x3ea5ef);_0x12781d!=null&&_0x12781d['setFillImage'](_0xfc243f);}[_0x3409bc(0x322)](_0x456349){const _0x465871=_0x3409bc;_0x456349[_0x465871(0x2d9)](async _0x2f45ed=>{const _0x124848=_0x465871;var _0x2ee27c;let {unitId:_0x3f5cdd,subUnitId:_0x16d8f3}=_0x2f45ed,_0x5c8390=this['_getSceneAndTransformerByDrawingSearch'](_0x3f5cdd),_0x375a2e=(_0x2ee27c=_0x199a21(this[_0x124848(0x21b)],_0x3f5cdd))==null?void 0x0:_0x2ee27c[_0x124848(0x26e)];if(_0x5c8390==null||_0x375a2e!==_0x16d8f3)return;let _0xe7d531=this[_0x124848(0x1fe)]['getDrawingByParam'](_0x2f45ed);if(_0xe7d531!=null&&_0xe7d531[_0x124848(0x42f)]===_0x204228[_0x124848(0x4d9)]){if(_0x1e6a3a((_0xe7d531['data']||{})['shapeType'])){let _0x4b2620=_0xe7d531[_0x124848(0x290)];_0x4b2620&&(_0xe7d531[_0x124848(0x290)]={..._0x4b2620,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x124848(0x1fe)]['refreshTransform']([_0xe7d531]),this[_0x124848(0x490)]['renderDrawingShape'](_0xe7d531,_0x5c8390[_0x124848(0x2f2)]);}});}[_0x3409bc(0x304)](_0x174eff){const _0x2f22cc=_0x3409bc;if(_0x174eff==null)return;let _0x37465c=this[_0x2f22cc(0x4ee)]['getRenderById'](_0x174eff),_0x218e54=_0x37465c==null?void 0x0:_0x37465c[_0x2f22cc(0x2f2)];return _0x218e54==null?null:{'scene':_0x218e54,'transformer':_0x218e54[_0x2f22cc(0x5e1)]()};}};ro=$([Q(0x0,_0x2ac980),Q(0x1,_0x592bef),Q(0x2,_0x132f48),Q(0x3,_0x418e4b),Q(0x4,_0x54f4ad(_0xa8f392)),Q(0x5,_0x54f4ad(no))],ro);function io(_0x522a87){const _0x22cae1=_0x3409bc;var _0x138430,_0x10b34a,_0x2ae6c1,_0x3cb0af,_0x683211,_0x11d35d,_0x81696b,_0x2cff99,_0x4de3f1,_0x1236fa,_0x3d747b,_0x5c696a,_0x3410f6;let {unitId:_0xd7d3b0,subUnitId:_0x1694b9,shapeId:_0x202e48,shapeData:_0x10e74d,disableShapeOption:_0x1a5aa5}=_0x522a87,_0x4ebbec=_0x40d6f2(_0x13096e),_0x29c750=_0x40d6f2(_0x2ac980),_0x4f534b=_0x40d6f2(_0x47baf7),_0x395744=_0x40d6f2(ro),_0x132fc1=_0x40d6f2(_0x4e4587),_0x1031a9=_0x58f25e(null),_0x504fc6=_0x10e74d[_0x22cae1(0x4ab)],_0x13af4f=!!(_0x504fc6!=null&&_0x504fc6[_0x22cae1(0x3d1)]),[_0x1b70cb,_0x4e020b]=_0x5074d8((_0x138430=_0x504fc6==null?void 0x0:_0x504fc6[_0x22cae1(0x273)])==null?0x1:_0x138430),[_0x3b4b1a,_0x3cb9fd]=_0x5074d8((_0x10b34a=_0x504fc6==null?void 0x0:_0x504fc6[_0x22cae1(0x60d)])==null?_0x354e62['Stretch']:_0x10b34a),[_0x919c25,_0x4cdde0]=_0x5074d8((_0x2ae6c1=_0x504fc6==null?void 0x0:_0x504fc6[_0x22cae1(0x468)])==null?!0x1:_0x2ae6c1),[_0x168367,_0x18b8f2]=_0x5074d8((_0x3cb0af=_0x504fc6==null||(_0x683211=_0x504fc6['imageTile'])==null?void 0x0:_0x683211[_0x22cae1(0x377)])==null?0x0:_0x3cb0af),[_0x67b97f,_0x2fbe6f]=_0x5074d8((_0x11d35d=_0x504fc6==null||(_0x81696b=_0x504fc6['imageTile'])==null?void 0x0:_0x81696b[_0x22cae1(0x1e6)])==null?0x0:_0x11d35d),[_0x20a700,_0x5e3d8e]=_0x5074d8((_0x2cff99=_0x504fc6==null||(_0x4de3f1=_0x504fc6[_0x22cae1(0x37a)])==null?void 0x0:_0x4de3f1[_0x22cae1(0x302)])==null?0x1:_0x2cff99),[_0x481ffe,_0x11ae35]=_0x5074d8((_0x1236fa=_0x504fc6==null||(_0x3d747b=_0x504fc6[_0x22cae1(0x37a)])==null?void 0x0:_0x3d747b[_0x22cae1(0x370)])==null?0x1:_0x1236fa),[_0x4e8f56,_0x363e51]=_0x5074d8((_0x5c696a=_0x504fc6==null||(_0x3410f6=_0x504fc6[_0x22cae1(0x37a)])==null?void 0x0:_0x3410f6[_0x22cae1(0x23f)])==null?'tl':_0x5c696a),_0x42e87f=_0x3b4b1a===_0x354e62['Tile'],_0x150d57=Math['round']((0x1-_0x1b70cb)*0x64),_0x40ce44=Math[_0x22cae1(0x657)](_0x20a700*0x64),_0x3feb6d=Math['round'](_0x481ffe*0x64),_0x2244ec=_0x1ec03b=>_0x4ebbec['t'](_0x1ec03b),_0x17eacd=[{'label':_0x2244ec('sheets-shape-ui.fill.picture.align.tl'),'value':'tl'},{'label':_0x2244ec('sheets-shape-ui.fill.picture.align.t'),'value':'t'},{'label':_0x2244ec(_0x22cae1(0x52d)),'value':'tr'},{'label':_0x2244ec(_0x22cae1(0x437)),'value':'l'},{'label':_0x2244ec('sheets-shape-ui.fill.picture.align.ctr'),'value':_0x22cae1(0x554)},{'label':_0x2244ec(_0x22cae1(0x51c)),'value':'r'},{'label':_0x2244ec(_0x22cae1(0x28b)),'value':'bl'},{'label':_0x2244ec(_0x22cae1(0x24f)),'value':'b'},{'label':_0x2244ec('sheets-shape-ui.fill.picture.align.br'),'value':'br'}],_0x23f4d7=_0x17a152=>{Z(_0x29c750,_0xd7d3b0,_0x1694b9,_0x202e48,{'oldShapeData':{'fill':_0x504fc6?{..._0x504fc6}:void 0x0}},{'fill':{..._0x504fc6,..._0x17a152}});},_0x3f90ae=_0x3f30a0=>{const _0x3cd3c6=_0x22cae1;_0x23f4d7({'imageTile':{..._0x504fc6==null?void 0x0:_0x504fc6[_0x3cd3c6(0x37a)],..._0x3f30a0}});},_0x4529dc=()=>{var _0x3a90e4;return(_0x3a90e4=_0x1031a9['current'])==null?void 0x0:_0x3a90e4['click']();},_0x3a5495=async _0x4c5e43=>{const _0x797655=_0x22cae1;var _0x4483f1;let _0x50aa98=(_0x4483f1=_0x4c5e43[_0x797655(0x55e)][_0x797655(0x570)])==null?void 0x0:_0x4483f1[0x0];if(!_0x50aa98)return;_0x4c5e43['target'][_0x797655(0x224)]='';let _0x4711da=await _0x132fc1[_0x797655(0x1e9)](_0x50aa98);if(_0x4711da==null)return;let {imageSourceType:_0x76cc04,source:_0x279c3d,base64Cache:_0x3fa49a}=_0x4711da,{image:_0x4fdb68}=await _0x13fcd3(_0x3fa49a||'');_0x132fc1['addImageSourceCache'](_0x279c3d,_0x76cc04,_0x4fdb68),Z(_0x29c750,_0xd7d3b0,_0x1694b9,_0x202e48,{'oldShapeData':{'fill':_0x504fc6?{..._0x504fc6}:void 0x0}},{'fill':{..._0x504fc6,'fillType':_0x3dc913['PictureFill'],'fillImageSource':_0x279c3d,'fillImageSourceType':_0x76cc04}}),_0x395744[_0x797655(0x4ba)]({'unitId':_0xd7d3b0,'subUnitId':_0x1694b9,'drawingId':_0x202e48},_0x4fdb68);},_0x56157c='univer-shrink-0\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200',_0x43ef6b='univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3';return _0x58d492(_0x22cae1(0x5d2),{'className':_0x22cae1(0x5e7),'children':[_0x58d492(_0x22cae1(0x5d2),{'className':_0x22cae1(0x210),'children':[_0x2abb9e(_0x22cae1(0x245),{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x527))}),_0x58d492('div',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2','children':[_0x2abb9e(_0x22cae1(0x64f),{'ref':_0x1031a9,'type':_0x22cae1(0x585),'accept':'image/*','className':_0x22cae1(0x3d7),'onChange':_0x3a5495}),_0x58d492(_0x22cae1(0x5d2),{'className':_0x22cae1(0x5a3),'children':[_0x2abb9e('button',{'type':_0x22cae1(0x462),'disabled':_0x1a5aa5,'className':_0x22cae1(0x1e3),'onClick':_0x4529dc,'children':_0x58d492(_0x22cae1(0x245),{'children':[_0x2244ec(_0x22cae1(0x54d)),'\x20']})}),_0x13af4f&&_0x2abb9e('div',{'className':_0x22cae1(0x4d3),'children':_0x2abb9e('img',{'src':_0x504fc6==null?void 0x0:_0x504fc6['fillImageSource'],'alt':'','className':_0x22cae1(0x547)})})]})]})]}),_0x58d492('div',{'className':_0x43ef6b,'children':[_0x2abb9e(_0x22cae1(0x245),{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x3f6))}),_0x2abb9e(_0x22cae1(0x5d2),{'className':_0x22cae1(0x3bd),'children':_0x2abb9e(_0x535a48,{'className':_0x22cae1(0x58d),'value':_0x150d57,'disabled':_0x1a5aa5,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x54760d=>_0x54760d+'%','parser':_0x4c690a=>(_0x4c690a==null?void 0x0:_0x4c690a['replace']('%',''))||'','onChange':_0x44bb36=>{const _0xfdbd6a=_0x22cae1;let _0x2dec38=(0x64-Math[_0xfdbd6a(0x53c)](0x0,Math['min'](0x64,_0x44bb36==null?0x0:_0x44bb36)))/0x64;_0x4e020b(_0x2dec38),_0x23f4d7({'imageOpacity':_0x2dec38}),_0x4f534b[_0xfdbd6a(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x0),'onBlur':()=>_0x4f534b['setContextValue'](_0x2693f3,!0x1)})})]}),_0x2abb9e(_0x39869e,{'checked':_0x42e87f,'disabled':_0x1a5aa5,'onChange':_0x2ebbb0=>{const _0x377184=_0x22cae1;let _0x516b50=_0x2ebbb0?_0x354e62['Tile']:_0x354e62[_0x377184(0x50f)];_0x3cb9fd(_0x516b50),_0x23f4d7({'imageFillMode':_0x516b50});},'children':_0x2abb9e('span',{'className':_0x22cae1(0x492),'children':_0x2244ec(_0x22cae1(0x5c9))})}),_0x42e87f&&_0x58d492(_0x22cae1(0x5d2),{'className':_0x22cae1(0x698),'children':[_0x58d492(_0x22cae1(0x5d2),{'className':_0x43ef6b,'children':[_0x2abb9e('span',{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x4b9))}),_0x2abb9e('div',{'className':_0x22cae1(0x3bd),'children':_0x2abb9e(_0x535a48,{'className':_0x22cae1(0x58d),'value':_0x168367,'disabled':_0x1a5aa5,'step':0x1,'onChange':_0x2b4257=>{_0x3f90ae({'offsetX':_0x2b4257==null?0x0:_0x2b4257}),_0x18b8f2(_0x2b4257==null?0x0:_0x2b4257);},'onFocus':()=>_0x4f534b['setContextValue'](_0x2693f3,!0x0),'onBlur':()=>_0x4f534b['setContextValue'](_0x2693f3,!0x1)})})]}),_0x58d492('div',{'className':_0x43ef6b,'children':[_0x2abb9e(_0x22cae1(0x245),{'className':_0x56157c,'children':_0x2244ec('sheets-shape-ui.fill.picture.offsetY')}),_0x2abb9e(_0x22cae1(0x5d2),{'className':'univer-w-20','children':_0x2abb9e(_0x535a48,{'className':'univer-w-full','value':_0x67b97f,'disabled':_0x1a5aa5,'step':0x1,'onChange':_0xc5f60c=>{_0x3f90ae({'offsetY':_0xc5f60c==null?0x0:_0xc5f60c}),_0x2fbe6f(_0xc5f60c==null?0x0:_0xc5f60c);},'onFocus':()=>_0x4f534b['setContextValue'](_0x2693f3,!0x0),'onBlur':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x1)})})]}),_0x58d492(_0x22cae1(0x5d2),{'className':_0x43ef6b,'children':[_0x2abb9e('span',{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x5fc))}),_0x2abb9e(_0x22cae1(0x5d2),{'className':_0x22cae1(0x3bd),'children':_0x2abb9e(_0x535a48,{'className':'univer-w-full','value':_0x40ce44,'disabled':_0x1a5aa5,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x28a351=>_0x28a351+'%','parser':_0x552f73=>(_0x552f73==null?void 0x0:_0x552f73['replace']('%',''))||'','onChange':_0x1a324e=>{const _0x50fb3e=_0x22cae1;let _0x253b71=Math[_0x50fb3e(0x53c)](0.01,(_0x1a324e==null?0x64:_0x1a324e)/0x64);_0x5e3d8e(_0x253b71),_0x3f90ae({'scaleX':_0x253b71}),_0x4f534b[_0x50fb3e(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x0),'onBlur':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x1)})})]}),_0x58d492('div',{'className':_0x43ef6b,'children':[_0x2abb9e(_0x22cae1(0x245),{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x65d))}),_0x2abb9e(_0x22cae1(0x5d2),{'className':'univer-w-20','children':_0x2abb9e(_0x535a48,{'className':_0x22cae1(0x58d),'value':_0x3feb6d,'disabled':_0x1a5aa5,'min':0x1,'max':0x3e8,'step':0xa,'formatter':_0x321650=>_0x321650+'%','parser':_0x2d1b9e=>(_0x2d1b9e==null?void 0x0:_0x2d1b9e[_0x22cae1(0x26f)]('%',''))||'','onChange':_0x4e5d56=>{const _0x2cd2d0=_0x22cae1;let _0x1b801b=Math[_0x2cd2d0(0x53c)](0.01,(_0x4e5d56==null?0x64:_0x4e5d56)/0x64);_0x11ae35(_0x1b801b),_0x3f90ae({'scaleY':_0x1b801b}),_0x4f534b[_0x2cd2d0(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x0),'onBlur':()=>_0x4f534b[_0x22cae1(0x33b)](_0x2693f3,!0x1)})})]}),_0x58d492(_0x22cae1(0x5d2),{'className':_0x43ef6b,'children':[_0x2abb9e(_0x22cae1(0x245),{'className':_0x56157c,'children':_0x2244ec(_0x22cae1(0x402))}),_0x2abb9e(_0x22cae1(0x5d2),{'className':_0x22cae1(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':'univer-w-full','value':_0x4e8f56,'options':_0x17eacd,'disabled':_0x1a5aa5,'onChange':_0x18386=>{_0x363e51(_0x18386),_0x3f90ae({'alignment':_0x18386});}})})]})]}),_0x2abb9e(_0x39869e,{'checked':_0x919c25,'disabled':_0x1a5aa5,'onChange':_0x67ab80=>{_0x4cdde0(_0x67ab80),_0x23f4d7({'imageRotateWithShape':_0x67ab80});},'children':_0x2abb9e('span',{'className':_0x22cae1(0x492),'children':_0x2244ec(_0x22cae1(0x63b))})})]});}function ao(_0x3189c3){const _0x205f86=_0x3409bc;var _0x45e602,_0x53ff4e,_0x13ee08;let _0x23b50b=_0x40d6f2(_0x13096e),_0xc51304=_0x40d6f2(_0x2ac980),_0x5ddd22=_0x40d6f2(_0x47baf7),{shapeData:_0x590edd,isLineShape:_0x380fa1,unitId:_0x2591f5,subUnitId:_0x34a13e,shapeId:_0x3f2289,disableShapeOption:_0x141ee9}=_0x3189c3,[_0x2e1d96,_0x4daf10]=_0x5074d8(((_0x45e602=_0x590edd[_0x205f86(0x4ab)])==null?void 0x0:_0x45e602[_0x205f86(0x64e)])||_0x3dc913[_0x205f86(0x4ec)]),[_0x274b88,_0x1344dd]=_0x5074d8(((_0x53ff4e=_0x590edd[_0x205f86(0x4ab)])==null?void 0x0:_0x53ff4e[_0x205f86(0x683)])||_0x22accf['fill']),[_0x20249b,_0x205931]=_0x5074d8(((_0x13ee08=_0x590edd[_0x205f86(0x4ab)])==null?void 0x0:_0x13ee08[_0x205f86(0x62f)])||0x1),[_0x296263,_0x1fab88]=_0x5074d8(!0x1);if(_0x380fa1)return null;let _0x55f5b2=0x64-_0x20249b*0x64;return _0x58d492(_0x205f86(0x5d2),{'className':_0x205f86(0x55b),'children':[_0x58d492(_0x345f72,{'value':_0x2e1d96,'disabled':_0x141ee9,'onChange':_0x4f7b0a=>{const _0xb1cd01=_0x205f86;var _0x12f60e;Z(_0xc51304,_0x2591f5,_0x34a13e,_0x3f2289,{'oldShapeData':{'fill':{'fillType':(_0x12f60e=_0x590edd[_0xb1cd01(0x4ab)])==null?void 0x0:_0x12f60e[_0xb1cd01(0x64e)]}}},{'fill':{'fillType':_0x4f7b0a}}),_0x4daf10(_0x4f7b0a);},'direction':_0x205f86(0x561),'children':[_0x2abb9e(_0x342fb6,{'value':_0x3dc913[_0x205f86(0x5a6)],'children':_0x2abb9e(_0x205f86(0x245),{'className':_0x205f86(0x492),'children':_0x23b50b['t'](_0x205f86(0x23d))})}),_0x2abb9e(_0x342fb6,{'value':_0x3dc913['SolidFill'],'children':_0x2abb9e(_0x205f86(0x245),{'className':_0x205f86(0x492),'children':_0x23b50b['t']('sheets-shape-ui.fill.solidFill')})}),_0x2abb9e(_0x342fb6,{'value':_0x3dc913['GradientFill'],'children':_0x2abb9e(_0x205f86(0x245),{'className':_0x205f86(0x492),'children':_0x23b50b['t']('sheets-shape-ui.fill.gradientFill')})}),_0x2abb9e(_0x342fb6,{'value':_0x3dc913[_0x205f86(0x449)],'children':_0x2abb9e(_0x205f86(0x245),{'className':_0x205f86(0x492),'children':_0x23b50b['t'](_0x205f86(0x2bb))})})]}),_0x2e1d96===_0x3dc913[_0x205f86(0x4ec)]&&_0x58d492(_0x205f86(0x5d2),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-pt-2','children':[_0x58d492(_0x205f86(0x5d2),{'className':_0x205f86(0x25d),'children':[_0x2abb9e('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x23b50b['t'](_0x205f86(0x47a))}),_0x2abb9e(_0x12b1b3,{'disabled':_0x141ee9,'overlay':_0x2abb9e(_0x205f86(0x5d2),{'className':'univer-rounded-lg\x20univer-p-3','children':_0x2abb9e(_0x4b6606,{'value':_0x274b88,'onChange':_0x5de26f=>{const _0x4cccf7=_0x205f86;var _0x53250b;Z(_0xc51304,_0x2591f5,_0x34a13e,_0x3f2289,{'oldShapeData':{'fill':{'color':(_0x53250b=_0x590edd[_0x4cccf7(0x4ab)])==null?void 0x0:_0x53250b[_0x4cccf7(0x683)]}}},{'fill':{'color':_0x5de26f}}),_0x1344dd(_0x5de26f),_0x1fab88(!0x1);}})}),'open':_0x296263,'onOpenChange':_0x1fab88,'children':_0x58d492('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':[_0x2abb9e(_0x5c4170,{'className':'univer-text-xl\x20univer-text-gray-500','extend':{'colorChannel1':_0x274b88}}),_0x2abb9e(_0x207eb7,{'className':_0x246f3e(_0x205f86(0x1f6),{'univer-rotate-180':_0x296263})})]})})]}),_0x58d492('div',{'className':_0x205f86(0x4c6),'children':[_0x2abb9e(_0x205f86(0x245),{'className':_0x205f86(0x2f4),'children':_0x23b50b['t'](_0x205f86(0x3f6))}),_0x2abb9e(_0x205f86(0x5d2),{'className':_0x205f86(0x4b7),'children':_0x2abb9e(_0x205f86(0x5d2),{'className':_0x205f86(0x3bd),'children':_0x2abb9e(_0x535a48,{'className':'univer-w-full','value':_0x55f5b2,'disabled':_0x141ee9,'min':0x0,'max':0x64,'step':0xa,'formatter':_0x1e57fe=>_0x1e57fe+'%','parser':_0xbb623d=>(_0xbb623d==null?void 0x0:_0xbb623d[_0x205f86(0x26f)]('%',''))||'','onChange':_0x508501=>{const _0xe330f3=_0x205f86;let _0x33adba=(0x64-Math[_0xe330f3(0x53c)](0x0,Math['min'](0x64,_0x508501==null?0x0:_0x508501)))/0x64;_0x205931(_0x33adba),Z(_0xc51304,_0x2591f5,_0x34a13e,_0x3f2289,{'oldShapeData':{'fill':{..._0x590edd[_0xe330f3(0x4ab)],'fillType':_0x2e1d96}}},{'fill':{..._0x590edd[_0xe330f3(0x4ab)],'fillType':_0x2e1d96,'opacity':_0x33adba}}),_0x5ddd22[_0xe330f3(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0x5ddd22[_0x205f86(0x33b)](_0x2693f3,!0x0),'onBlur':()=>{const _0x5ae2d9=_0x205f86;_0x5ddd22[_0x5ae2d9(0x33b)](_0x2693f3,!0x1);}})})})]})]}),_0x2e1d96===_0x3dc913['GradientFill']&&_0x2abb9e(co,{'shapeData':_0x590edd,'disableShapeOption':_0x141ee9,'onUpdate':_0xa8105a=>{const _0x470e91=_0x205f86;Z(_0xc51304,_0x2591f5,_0x34a13e,_0x3f2289,{'oldShapeData':{'fill':{..._0x590edd['fill']}}},{'fill':{..._0x590edd[_0x470e91(0x4ab)],..._0xa8105a}});}}),_0x2e1d96===_0x3dc913['PictureFill']&&_0x2abb9e(io,{'unitId':_0x2591f5,'subUnitId':_0x34a13e,'shapeId':_0x3f2289,'shapeData':_0x590edd,'disableShapeOption':_0x141ee9})]});}function oo(_0x5e95d4){const _0x2e5352=_0x3409bc;switch(_0x5e95d4){case _0x2139d0[_0x2e5352(0x39a)]:return _0x2e5352(0x2e9);case _0x2139d0[_0x2e5352(0x409)]:return'radial';case _0x2139d0[_0x2e5352(0x214)]:return'angular';case _0x2139d0['Diamond']:return _0x2e5352(0x36c);default:return _0x2e5352(0x2e9);}}function so(_0x52e3df){const _0x414b60=_0x3409bc;switch(_0x52e3df){case _0x414b60(0x2e9):return _0x2139d0[_0x414b60(0x39a)];case _0x414b60(0x498):return _0x2139d0['Radial'];case _0x414b60(0x471):return _0x2139d0['Angular'];case _0x414b60(0x36c):return _0x2139d0[_0x414b60(0x5c3)];default:return _0x2139d0[_0x414b60(0x39a)];}}function co(_0x3fd102){const _0x2eba25=_0x3409bc;let {shapeData:_0x4adce8,disableShapeOption:_0x44469f,onUpdate:_0x521164}=_0x3fd102;return _0x2abb9e(_0x2eba25(0x5d2),{'className':_0x2eba25(0x335),'children':_0x2abb9e(_0x4f30d7,{'value':_0x291754(()=>{const _0x17090f=_0x2eba25;var _0x58fa6b;let _0x162322=_0x4adce8['fill'];return{'type':oo(_0x162322==null?void 0x0:_0x162322[_0x17090f(0x2a5)]),'angle':(_0x58fa6b=_0x162322==null?void 0x0:_0x162322[_0x17090f(0x317)])==null?0x5a:_0x58fa6b,'stops':_0x162322!=null&&_0x162322['gradientStops']&&_0x162322[_0x17090f(0x39d)]['length']>=0x2?_0x162322[_0x17090f(0x39d)][_0x17090f(0x3cd)](_0x21480c=>({'color':_0x21480c[_0x17090f(0x683)],'offset':_0x21480c[_0x17090f(0x46d)]*0x64})):[{'color':(_0x162322==null?void 0x0:_0x162322[_0x17090f(0x683)])||'#ffffff','offset':0x0},{'color':'#000000','offset':0x64}]};},[_0x4adce8[_0x2eba25(0x4ab)]]),'onChange':_0x42844b=>{const _0x395236=_0x2eba25;let _0x28cc0a=so(_0x42844b[_0x395236(0x3f8)]),_0x180430=_0x42844b[_0x395236(0x35b)];_0x521164({'gradientType':_0x28cc0a,'gradientAngle':_0x180430,'gradientStops':_0x42844b[_0x395236(0x5e9)][_0x395236(0x3cd)](_0x2487ce=>({'color':_0x2487ce['color'],'position':_0x2487ce['offset']/0x64}))});}})});}function _0xce4a(_0x29a183,_0x48491c){_0x29a183=_0x29a183-0x1dc;const _0x2000c7=_0x2000();let _0xce4a20=_0x2000c7[_0x29a183];return _0xce4a20;}function lo(_0x50bdd7){const _0x481c9f=_0x3409bc;var _0x510bf2,_0x2c4617,_0x396edd,_0x5a037a,_0x5e3629,_0x36c6fe,_0xeeed61,_0x1c9888,_0xd82218,_0x58cf59,_0x1ad48f,_0x588708,_0x265355,_0x58c304,_0x289a0c,_0x45f489;let _0x20400b=_0x40d6f2(_0x13096e),_0x16a201=_0x40d6f2(_0x2ac980),_0xec3ff4=_0x40d6f2(_0x47baf7),{shapeData:_0x5bfe61,isLineShape:_0xaa1359,unitId:_0x524973,subUnitId:_0x536753,shapeId:_0x1bd21f,disableShapeOption:_0x5fb857}=_0x50bdd7,_0x55d74e=_0x5bfe61[_0x481c9f(0x2af)],[_0x37eaae,_0x24d1f1]=_0x5074d8((_0x510bf2=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x379)])==null?_0x3e94d6[_0x481c9f(0x225)]:_0x510bf2),[_0x591fae,_0x485631]=_0x5074d8((_0x2c4617=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x683)])==null?_0x22accf['stroke']:_0x2c4617),[_0x552248,_0x257e74]=_0x5074d8((_0x396edd=_0x55d74e==null?void 0x0:_0x55d74e['opacity'])==null?0x1:_0x396edd),[_0x16b9fb,_0xd017c1]=_0x5074d8((_0x5a037a=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x516)])==null?_0x22accf[_0x481c9f(0x47b)]:_0x5a037a),[_0x5be866,_0x577c34]=_0x5074d8((_0x5e3629=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x65c)])==null?_0x266265[_0x481c9f(0x21d)]:_0x5e3629),[_0x3a51e7,_0x1078f9]=_0x5074d8((_0x36c6fe=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x3ab)])==null?_0x2af3b4[_0x481c9f(0x650)]:_0x36c6fe),[_0x1e28f9,_0x1a549a]=_0x5074d8((_0xeeed61=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x46b)])==null?_0x44e4f9[_0x481c9f(0x201)]:_0xeeed61),[_0x4174f5,_0x3b99ce]=_0x5074d8((_0x1c9888=_0x55d74e==null?void 0x0:_0x55d74e[_0x481c9f(0x3e5)])==null?_0x57621f[_0x481c9f(0x342)]:_0x1c9888),_0x3e8d3b=_0x5bfe61,[_0x431199,_0x3f0ad7]=_0x5074d8((_0xd82218=(_0x58cf59=_0x3e8d3b['ln'])==null||(_0x58cf59=_0x58cf59[_0x481c9f(0x678)])==null?void 0x0:_0x58cf59[_0x481c9f(0x3f8)])==null?_0x1a17b9[_0x481c9f(0x342)]:_0xd82218),[_0x21b9ec,_0x773727]=_0x5074d8((_0x1ad48f=(_0x588708=_0x3e8d3b['ln'])==null||(_0x588708=_0x588708['startArrow'])==null?void 0x0:_0x588708['size'])==null?_0xae9b08[_0x481c9f(0x46e)]:_0x1ad48f),[_0x5f1202,_0x198753]=_0x5074d8((_0x265355=(_0x58c304=_0x3e8d3b['ln'])==null||(_0x58c304=_0x58c304[_0x481c9f(0x3db)])==null?void 0x0:_0x58c304['type'])==null?_0x1a17b9['None']:_0x265355),[_0x45143f,_0x351e00]=_0x5074d8((_0x289a0c=(_0x45f489=_0x3e8d3b['ln'])==null||(_0x45f489=_0x45f489['endArrow'])==null?void 0x0:_0x45f489['size'])==null?_0xae9b08[_0x481c9f(0x46e)]:_0x289a0c),[_0x152d43,_0x35d556]=_0x5074d8(!0x1),_0x1e09b4=0x64-_0x552248*0x64,_0x20e5f6=[{'label':_0x20400b['t'](_0x481c9f(0x3a8)),'value':String(_0x266265[_0x481c9f(0x21d)])},{'label':_0x20400b['t'](_0x481c9f(0x4e1)),'value':String(_0x266265[_0x481c9f(0x5f6)])},{'label':_0x20400b['t'](_0x481c9f(0x41c)),'value':String(_0x266265[_0x481c9f(0x63d)])},{'label':_0x20400b['t']('sheets-shape-ui.line.dashType.dash'),'value':String(_0x266265[_0x481c9f(0x619)])},{'label':_0x20400b['t'](_0x481c9f(0x380)),'value':String(_0x266265[_0x481c9f(0x632)])},{'label':_0x20400b['t'](_0x481c9f(0x3f2)),'value':String(_0x266265['LongDash'])},{'label':_0x20400b['t'](_0x481c9f(0x508)),'value':String(_0x266265['LongDashDot'])},{'label':_0x20400b['t'](_0x481c9f(0x208)),'value':String(_0x266265['LongDashDotDot'])}],_0x5b6055=[{'label':_0x20400b['t']('sheets-shape-ui.line.capType.flat'),'value':String(_0x2af3b4[_0x481c9f(0x650)])},{'label':_0x20400b['t']('sheets-shape-ui.line.capType.round'),'value':String(_0x2af3b4[_0x481c9f(0x38a)])},{'label':_0x20400b['t'](_0x481c9f(0x4cb)),'value':String(_0x2af3b4[_0x481c9f(0x37b)])}],_0x40e6f9=[{'label':_0x20400b['t'](_0x481c9f(0x340)),'value':String(_0x57621f[_0x481c9f(0x342)])},{'label':_0x20400b['t'](_0x481c9f(0x257)),'value':String(_0x57621f['Curved'])},{'label':_0x20400b['t']('sheets-shape-ui.line.sketchType.freehand'),'value':String(_0x57621f[_0x481c9f(0x5a4)])},{'label':_0x20400b['t'](_0x481c9f(0x276)),'value':String(_0x57621f[_0x481c9f(0x3da)])}],_0x5deaa6=[{'label':_0x20400b['t'](_0x481c9f(0x541)),'value':String(_0x44e4f9['Miter'])},{'label':_0x20400b['t']('sheets-shape-ui.line.joinType.round'),'value':String(_0x44e4f9[_0x481c9f(0x38a)])},{'label':_0x20400b['t'](_0x481c9f(0x204)),'value':String(_0x44e4f9[_0x481c9f(0x2c0)])}],_0x51f6f8=[{'label':_0x20400b['t'](_0x481c9f(0x4bf)),'value':String(_0x1a17b9[_0x481c9f(0x342)])},{'label':_0x20400b['t'](_0x481c9f(0x58c)),'value':String(_0x1a17b9[_0x481c9f(0x4d6)])},{'label':_0x20400b['t'](_0x481c9f(0x388)),'value':String(_0x1a17b9['OpenArrow'])},{'label':_0x20400b['t'](_0x481c9f(0x4ce)),'value':String(_0x1a17b9[_0x481c9f(0x531)])},{'label':_0x20400b['t'](_0x481c9f(0x56d)),'value':String(_0x1a17b9['DiamondArrow'])},{'label':_0x20400b['t'](_0x481c9f(0x68a)),'value':String(_0x1a17b9['OvalArrow'])}],_0x4105ba=[{'label':_0x20400b['t'](_0x481c9f(0x4b8)),'value':String(_0xae9b08[_0x481c9f(0x605)])},{'label':_0x20400b['t'](_0x481c9f(0x4d7)),'value':String(_0xae9b08[_0x481c9f(0x46e)])},{'label':_0x20400b['t']('sheets-shape-ui.line.arrowSize.large'),'value':String(_0xae9b08['Large'])}];return _0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x55b),'children':[_0x58d492(_0x345f72,{'value':String(_0x37eaae),'disabled':_0x5fb857,'onChange':_0x49e04e=>{const _0x2edeb0=_0x481c9f;var _0x494bfe;_0x24d1f1(Number(_0x49e04e)),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'lineStrokeType':(_0x494bfe=_0x5bfe61[_0x2edeb0(0x2af)])==null?void 0x0:_0x494bfe[_0x2edeb0(0x379)]}}},{'stroke':{'lineStrokeType':Number(_0x49e04e)}});},'direction':_0x481c9f(0x561),'children':[_0x2abb9e(_0x342fb6,{'value':String(_0x3e94d6['NoLine']),'children':_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x492),'children':_0x20400b['t'](_0x481c9f(0x480))})}),_0x2abb9e(_0x342fb6,{'value':String(_0x3e94d6['SolidLine']),'children':_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x492),'children':_0x20400b['t']('sheets-shape-ui.line.solidLine')})})]}),_0x37eaae!==_0x3e94d6['NoLine']&&_0x58d492('div',{'className':_0x481c9f(0x61e),'children':[_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x25d),'children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x285))}),_0x2abb9e(_0x12b1b3,{'disabled':_0x5fb857,'overlay':_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x2f6),'children':_0x2abb9e(_0x4b6606,{'value':_0x591fae,'onChange':_0x30ce47=>{const _0x202440=_0x481c9f;var _0x4cc6b1;Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'color':(_0x4cc6b1=_0x5bfe61[_0x202440(0x2af)])==null?void 0x0:_0x4cc6b1[_0x202440(0x683)]}}},{'stroke':{'color':_0x30ce47}}),_0x485631(_0x30ce47),_0x35d556(!0x1);}})}),'open':_0x152d43,'onOpenChange':_0x35d556,'children':_0x58d492('a',{'className':_0x481c9f(0x592),'children':[_0x2abb9e(_0x5c4170,{'className':_0x481c9f(0x44d),'extend':{'colorChannel1':_0x591fae}}),_0x2abb9e(_0x207eb7,{'className':_0x246f3e(_0x481c9f(0x1f6),{'univer-rotate-180':_0x152d43})})]})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x4c6),'children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2f4),'children':_0x20400b['t']('sheets-shape-ui.line.transparency')}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x4c6),'children':_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x4f0),'children':_0x2abb9e(_0x535a48,{'className':_0x481c9f(0x58d),'value':_0x1e09b4,'disabled':_0x5fb857,'min':0x0,'max':0x64,'formatter':_0xfb6f96=>_0xfb6f96+'%','parser':_0x4c1116=>(_0x4c1116==null?void 0x0:_0x4c1116[_0x481c9f(0x26f)]('%',''))||'','onChange':_0x45bee6=>{const _0x3d1e29=_0x481c9f;var _0x12446d;let _0x55a301=(0x64-Math[_0x3d1e29(0x53c)](0x0,Math[_0x3d1e29(0x61c)](0x64,_0x45bee6==null?0x0:_0x45bee6)))/0x64;_0x257e74(_0x55a301),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'opacity':(_0x12446d=_0x5bfe61['stroke'])==null?void 0x0:_0x12446d['opacity']}}},{'stroke':{'opacity':_0x55a301}}),_0xec3ff4[_0x3d1e29(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0xec3ff4[_0x481c9f(0x33b)](_0x2693f3,!0x0),'onBlur':_0xc71ed0=>{const _0x48885b=_0x481c9f;_0xec3ff4[_0x48885b(0x33b)](_0x2693f3,!0x1);}})})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x513))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x3bd),'children':_0x2abb9e(_0x535a48,{'className':_0x481c9f(0x58d),'disabled':_0x5fb857,'value':_0x16b9fb,'min':0.25,'max':0x64,'step':0.25,'formatter':_0x41a947=>_0x41a947+'\x20px','parser':_0x3d3a8a=>(_0x3d3a8a==null?void 0x0:_0x3d3a8a[_0x481c9f(0x26f)](_0x481c9f(0x413),''))||'','onChange':_0x10e66e=>{const _0xf4240f=_0x481c9f;if(!Number[_0xf4240f(0x3b9)](_0x10e66e)&&_0x10e66e!==null){var _0x646030;Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'width':(_0x646030=_0x5bfe61[_0xf4240f(0x2af)])==null?void 0x0:_0x646030[_0xf4240f(0x516)]}}},{'stroke':{'width':_0x10e66e}});}_0xec3ff4[_0xf4240f(0x33b)](_0x2693f3,!0x1);},'onFocus':()=>_0xec3ff4['setContextValue'](_0x2693f3,!0x0),'onBlur':_0x391795=>{const _0x78d265=_0x481c9f;_0xec3ff4[_0x78d265(0x33b)](_0x2693f3,!0x1);}})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x5d4))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x5be866),'options':_0x20e5f6,'disabled':_0x5fb857,'onChange':_0x492f16=>{const _0xb10c3d=_0x481c9f;var _0x1da5f;_0x577c34(Number(_0x492f16)),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'dashType':(_0x1da5f=_0x5bfe61['stroke'])==null?void 0x0:_0x1da5f[_0xb10c3d(0x65c)]}}},{'stroke':{'dashType':Number(_0x492f16)}});}})})]}),_0x58d492('div',{'className':_0x481c9f(0x25d),'children':[_0x2abb9e('span',{'className':'univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x20400b['t'](_0x481c9f(0x3a5))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':'univer-w-28','children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x3a51e7),'options':_0x5b6055,'disabled':_0x5fb857,'onChange':_0x171f7d=>{const _0x1a246a=_0x481c9f;var _0x25ca93;_0x1078f9(Number(_0x171f7d)),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'capType':(_0x25ca93=_0x5bfe61[_0x1a246a(0x2af)])==null?void 0x0:_0x25ca93[_0x1a246a(0x3ab)]}}},{'stroke':{'capType':Number(_0x171f7d)}});}})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x25d),'children':[_0x2abb9e('span',{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x24d))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':'univer-w-28','children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x1e28f9),'options':_0x5deaa6,'disabled':_0x5fb857,'onChange':_0x2b535b=>{var _0x56045f;_0x1a549a(Number(_0x2b535b)),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'lineJoinType':(_0x56045f=_0x5bfe61['stroke'])==null?void 0x0:_0x56045f['lineJoinType']}}},{'stroke':{'lineJoinType':Number(_0x2b535b)}});}})})]}),!_0xaa1359&&_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x25d),'children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x445))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x4174f5),'options':_0x40e6f9,'disabled':_0x5fb857,'onChange':_0x2f4f39=>{const _0x1d20cf=_0x481c9f;var _0x25abad;_0x3b99ce(Number(_0x2f4f39)),Z(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'stroke':{'sketchType':(_0x25abad=_0x5bfe61[_0x1d20cf(0x2af)])==null?void 0x0:_0x25abad[_0x1d20cf(0x3e5)]}}},{'stroke':{'sketchType':Number(_0x2f4f39)}});}})})]}),_0xaa1359&&_0x58d492(_0xa11c18,{'children':[_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x25d),'children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x282))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x431199),'options':_0x51f6f8,'onChange':_0x1c1b21=>{const _0x516d72=_0x481c9f;var _0x336233;_0x3f0ad7(Number(_0x1c1b21)),Qa(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'ln':{'startArrow':{'type':(_0x336233=_0x5bfe61['ln'])==null||(_0x336233=_0x336233[_0x516d72(0x678)])==null?void 0x0:_0x336233[_0x516d72(0x3f8)]}}}},{'ln':{'startArrow':{'type':Number(_0x1c1b21)}}});}})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':_0x481c9f(0x25d),'children':[_0x2abb9e('span',{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x567))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':'univer-w-28','children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x21b9ec),'options':_0x4105ba,'onChange':_0x3f6dbc=>{const _0x568cc0=_0x481c9f;var _0x1e83d7;_0x773727(Number(_0x3f6dbc)),Qa(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'ln':{'startArrow':{'size':(_0x1e83d7=_0x5bfe61['ln'])==null||(_0x1e83d7=_0x1e83d7['startArrow'])==null?void 0x0:_0x1e83d7[_0x568cc0(0x200)]}}}},{'ln':{'startArrow':{'size':Number(_0x3f6dbc)}}});}})})]}),_0x58d492('div',{'className':_0x481c9f(0x25d),'children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t'](_0x481c9f(0x5ab))}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x5f1202),'options':_0x51f6f8,'onChange':_0x276126=>{const _0x278791=_0x481c9f;var _0x56d6fa;_0x198753(Number(_0x276126)),Qa(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'ln':{'endArrow':{'type':(_0x56d6fa=_0x5bfe61['ln'])==null||(_0x56d6fa=_0x56d6fa['endArrow'])==null?void 0x0:_0x56d6fa[_0x278791(0x3f8)]}}}},{'ln':{'endArrow':{'type':Number(_0x276126)}}});}})})]}),_0x58d492(_0x481c9f(0x5d2),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between','children':[_0x2abb9e(_0x481c9f(0x245),{'className':_0x481c9f(0x2c1),'children':_0x20400b['t']('sheets-shape-ui.line.endArrowSize')}),_0x2abb9e(_0x481c9f(0x5d2),{'className':_0x481c9f(0x54f),'children':_0x2abb9e(_0x45b5d6,{'className':_0x481c9f(0x58d),'value':String(_0x45143f),'options':_0x4105ba,'onChange':_0x1f10c7=>{const _0x2af907=_0x481c9f;var _0x4db19c;_0x351e00(Number(_0x1f10c7)),Qa(_0x16a201,_0x524973,_0x536753,_0x1bd21f,{'oldShapeData':{'ln':{'endArrow':{'size':(_0x4db19c=_0x5bfe61['ln'])==null||(_0x4db19c=_0x4db19c[_0x2af907(0x3db)])==null?void 0x0:_0x4db19c[_0x2af907(0x200)]}}}},{'ln':{'endArrow':{'size':Number(_0x1f10c7)}}});}})})]})]})]})]});}function uo(){const _0x25450c=_0x3409bc;let _0x23397b=_0x40d6f2(_0x132f48),[_0x58aed9,_0x3e2010]=_0x5074d8(_0x23397b[_0x25450c(0x36e)]());return _0x151831(()=>{const _0x5878fd=_0x25450c;let _0x96769c=_0x23397b[_0x5878fd(0x5d8)]['subscribe'](_0x2ec6db=>{_0x3e2010(_0x2ec6db);});return()=>{const _0x55ea1a=_0x5878fd;_0x96769c[_0x55ea1a(0x3d6)]();};},[]),_0x58aed9[_0x25450c(0x4a0)]===0x0?null:_0x2abb9e(_0x25450c(0x5d2),{'children':_0x58d492(_0x25450c(0x5d2),{'className':_0x25450c(0x653),'children':[_0x2abb9e(_0x19664f,{'drawings':_0x58aed9,'hasCropper':!0x1}),_0x2abb9e(_0x2bc87d,{'drawings':_0x58aed9})]})});}function fo(_0xca28ac){const _0x1241bf=_0x3409bc;let {shapeData:_0x586cde,shapeId:_0xa5ec21,shapeType:_0x2a2543,version:_0x6fe257,unitId:_0x18cc67,subUnitId:_0x32043c,disableShapeOption:_0x8c50cb}=_0xca28ac,_0x2dc363=_0x40d6f2(_0x13096e),_0x3f4fa4=_0x1e6a3a(_0x2a2543),[_0x1cb591,_0x573309]=_0x5074d8(0x0),_0x8dd7ad=[{'label':_0x2abb9e(_0x1241bf(0x5d2),{'children':_0x2dc363['t'](_0x1241bf(0x36a))}),'children':_0x2abb9e(_0x1241bf(0x2f3),{'className':_0x1241bf(0x32d),'children':_0x2abb9e(ao,{'shapeId':_0xa5ec21,'shapeData':_0x586cde,'isLineShape':_0x3f4fa4,'subUnitId':_0x32043c,'unitId':_0x18cc67,'disableShapeOption':_0x8c50cb},_0xa5ec21)})},{'label':_0x2abb9e(_0x1241bf(0x5d2),{'children':_0x2dc363['t'](_0x1241bf(0x286))}),'children':_0x2abb9e(_0x1241bf(0x2f3),{'className':_0x1241bf(0x32d),'children':_0x2abb9e(lo,{'shapeId':_0xa5ec21,'shapeData':_0x586cde,'isLineShape':_0x3f4fa4,'subUnitId':_0x32043c,'unitId':_0x18cc67,'disableShapeOption':_0x8c50cb},_0xa5ec21)})}];return _0x58d492(_0x1241bf(0x5d2),{'className':_0x1241bf(0x3aa),'children':[_0x58d492(_0x1241bf(0x5d2),{'className':_0x1241bf(0x5ce),'children':[_0x58d492(_0x1241bf(0x5d2),{'className':_0x246f3e(_0x1241bf(0x1f8),_0x1cb591===0x0?_0x1241bf(0x1df):_0x1241bf(0x44d)),'onClick':()=>_0x573309(0x0),'children':[_0x2dc363['t']('sheets-shape-ui.shapeStyle'),_0x2abb9e('div',{'className':_0x246f3e(_0x1241bf(0x474),{'univer-bg-primary-600':_0x1cb591===0x0,'univer-bg-transparent':_0x1cb591!==0x0})})]}),_0x58d492('div',{'className':_0x246f3e(_0x1241bf(0x1f8),{'univer-text-primary-600':_0x1cb591===0x1,'univer-text-gray-500':_0x1cb591!==0x1}),'onClick':()=>_0x573309(0x1),'children':[_0x2dc363['t']('sheets-shape-ui.shapePosition'),_0x2abb9e('div',{'className':_0x246f3e(_0x1241bf(0x37f),{'univer-bg-primary-600':_0x1cb591===0x1,'univer-bg-transparent':_0x1cb591!==0x1})})]})]}),_0x2abb9e('div',{'className':_0x1241bf(0x696),'children':_0x1cb591===0x0?_0x2abb9e(_0x1241bf(0x5d2),{'className':'','children':_0x2abb9e(_0x2f0a04,{'items':_0x8dd7ad})},_0x6fe257):_0x2abb9e(uo,{})})]});}var po=class extends _0x415826{constructor(_0x383830,_0xc35cd2){const _0x56ce05=_0x3409bc;super(_0x383830,_0xc35cd2),Y(this,_0x56ce05(0x37d),null),Y(this,_0x56ce05(0x3af),null),Y(this,_0x56ce05(0x66d),null),Y(this,_0x56ce05(0x36d),null),_0xc35cd2&&this[_0x56ce05(0x564)](_0xc35cd2);}[_0x3409bc(0x334)](){const _0x1be44f=_0x3409bc;return{'unitId':this[_0x1be44f(0x66d)],'subUnitId':this[_0x1be44f(0x36d)],'drawingId':this[_0x1be44f(0x37d)]};}[_0x3409bc(0x564)](_0x534185){const _0x586cb1=_0x3409bc;_0x534185['shapeId']!==void 0x0&&(this['_shapeId']=_0x534185[_0x586cb1(0x2c5)]),_0x534185[_0x586cb1(0x557)]!==void 0x0&&(this[_0x586cb1(0x3af)]=_0x534185[_0x586cb1(0x557)]),_0x534185['unitId']!==void 0x0&&(this['_unitId']=_0x534185['unitId']),_0x534185[_0x586cb1(0x26e)]!==void 0x0&&(this['_subUnitId']=_0x534185[_0x586cb1(0x26e)]),this[_0x586cb1(0x4f4)]({'width':_0x534185[_0x586cb1(0x516)],'height':_0x534185[_0x586cb1(0x487)]});}[_0x3409bc(0x2e1)](_0x2e20ac){const _0x5a8d2f=_0x3409bc;_0x17764[_0x5a8d2f(0x676)](_0x2e20ac,{'radius':_0x22accf[_0x5a8d2f(0x4b2)],'fill':_0x22accf[_0x5a8d2f(0x24a)],'stroke':_0x22accf[_0x5a8d2f(0x410)],'strokeWidth':0x1,'evented':!0x0});}};let mo=class extends _0x24ac39{constructor(_0x2aa7d3,_0x584ed9,_0x15e408,_0x1ccd7c,_0x3739ef,_0x2329fb,_0x44be75,_0x345156){const _0x1b96fa=_0x3409bc;super(),this[_0x1b96fa(0x648)]=_0x2aa7d3,this['_contextService']=_0x584ed9,this['_drawingManagerService']=_0x15e408,this[_0x1b96fa(0x609)]=_0x1ccd7c,this[_0x1b96fa(0x4ee)]=_0x3739ef,this[_0x1b96fa(0x490)]=_0x2329fb,this['_univerInstanceService']=_0x44be75,this[_0x1b96fa(0x426)]=_0x345156,Y(this,'_activeShapeId',null),Y(this,_0x1b96fa(0x66d),null),Y(this,_0x1b96fa(0x36d),null),Y(this,_0x1b96fa(0x3b3),void 0x0),Y(this,_0x1b96fa(0x4a8),[]),Y(this,_0x1b96fa(0x236),0x0),Y(this,'_baseShapeTop',0x0),Y(this,'_baseShapeWidth',0x0),Y(this,_0x1b96fa(0x466),0x0),Y(this,'_isStartAdjusting',!0x1),Y(this,_0x1b96fa(0x29f),void 0x0),Y(this,'_activeShapeModel',void 0x0),Y(this,_0x1b96fa(0x398),void 0x0),Y(this,_0x1b96fa(0x64c),void 0x0),Y(this,_0x1b96fa(0x5fe),!0x1),this[_0x1b96fa(0x55a)](),this[_0x1b96fa(0x642)]();}[_0x3409bc(0x4d5)](_0x247127,_0xcb8d25,_0xc2bd5d){const _0x438681=_0x3409bc;let _0x3c9959=this['_sheetsShapeService'][_0x438681(0x357)](_0x247127,_0xcb8d25,_0xc2bd5d);if(_0x3c9959)return _0x3c9959[_0x438681(0x5de)]();}[_0x3409bc(0x333)](){const _0x39811e=_0x3409bc;this[_0x39811e(0x347)]();}[_0x3409bc(0x571)](){const _0x36295a=_0x3409bc;this[_0x36295a(0x2cf)](!0x0);}['setShouldShowAdjust'](_0x9b20b5){const _0x591904=_0x3409bc;this[_0x591904(0x5fe)]=_0x9b20b5;}[_0x3409bc(0x20f)](_0x19e52a,_0x2d0c3e,_0x4e49ee,_0xf21053){const _0x1489fa=_0x3409bc;let _0x4459b9=this[_0x1489fa(0x609)]['getShapeModel'](_0x19e52a,_0x2d0c3e,_0x4e49ee);if(_0x4459b9)return _0x4459b9[_0x1489fa(0x213)](_0xf21053);}['_createShapeAdjustControls'](_0x2cb399=!0x1){const _0x30edcc=_0x3409bc;if(this['_unitId']===null||this[_0x30edcc(0x36d)]===null||this[_0x30edcc(0x587)]===null)return;let _0x552f94=this[_0x30edcc(0x4ee)][_0x30edcc(0x2db)](this['_unitId']);if(!_0x552f94||!_0x552f94[_0x30edcc(0x5fa)](_0x29be30)[_0x30edcc(0x58b)]())return;let {scene:_0x3d26c9}=_0x552f94,_0x160272={'unitId':this['_unitId'],'subUnitId':this[_0x30edcc(0x36d)],'drawingId':this[_0x30edcc(0x587)]},_0x209814=this[_0x30edcc(0x1fe)][_0x30edcc(0x3c8)](_0x160272),{transform:_0x442708}=_0x209814;if(!_0x442708||_0x209814[_0x30edcc(0x42f)]!==_0x204228[_0x30edcc(0x4d9)])return;let {left:_0x2900d0,top:_0x4612f7,width:_0x53b1e4,height:_0x2699b6,flipX:_0xef3b10,flipY:_0x14ca12,angle:_0x30290a=0x0}=_0x442708;if(_0x2900d0===void 0x0||_0x4612f7===void 0x0)return;_0x2cb399&&(this[_0x30edcc(0x3b3)]=this['_getShapeAdjustPointListById'](this['_unitId'],this['_subUnitId'],this[_0x30edcc(0x587)]));let _0x808bc8=this[_0x30edcc(0x3b3)];for(let _0x19d3ac=0x0;_0x19d3ac<_0x808bc8[_0x30edcc(0x4a0)];_0x19d3ac++){let _0x4cf561=_0x808bc8[_0x19d3ac],_0xbfb1a9=_0x4cf561['x'],_0x3935a5=_0x4cf561['y'];if(_0xef3b10&&(_0xbfb1a9=(_0x53b1e4||0x0)-_0xbfb1a9),_0x14ca12&&(_0x3935a5=(_0x2699b6||0x0)-_0x3935a5),_0x30290a!==0x0){let _0x349eb1=(_0x53b1e4||0x0)/0x2,_0x3c3578=(_0x2699b6||0x0)/0x2,_0x1420ff=_0x30290a*Math['PI']/0xb4,_0x16209c=Math[_0x30edcc(0x5f2)](_0x1420ff),_0x152673=Math['sin'](_0x1420ff),_0x522847=_0xbfb1a9-_0x349eb1,_0x953789=_0x3935a5-_0x3c3578;_0xbfb1a9=_0x349eb1+(_0x522847*_0x16209c-_0x953789*_0x152673),_0x3935a5=_0x3c3578+(_0x522847*_0x152673+_0x953789*_0x16209c);}let _0x49824f={'x':_0xbfb1a9,'y':_0x3935a5,'adjName':_0x4cf561[_0x30edcc(0x557)]};this[_0x30edcc(0x2dc)](_0x3d26c9,_0x49824f,_0x49824f['adjName'],_0x2900d0,_0x4612f7,this[_0x30edcc(0x66d)],this[_0x30edcc(0x36d)]);}}[_0x3409bc(0x2cf)](_0x187dbd=!0x1){const _0x2e150c=_0x3409bc;_0x187dbd&&(this[_0x2e150c(0x347)](),this[_0x2e150c(0x255)](_0x187dbd));}[_0x3409bc(0x2dc)](_0x2004eb,_0x3d6421,_0x15b161,_0x27e6d7,_0x327c6c,_0x552ce9,_0x58e048){const _0x284a61=_0x3409bc;if(!this[_0x284a61(0x587)])return;let _0xd195ae=_0x2004eb[_0x284a61(0x251)]('shape-adjust-point-'+this['_activeShapeId']+'-'+_0x15b161);if(_0xd195ae){_0xd195ae[_0x284a61(0x4f4)]({'left':_0x3d6421['x']+_0x27e6d7-_0x22accf[_0x284a61(0x4b2)],'top':_0x3d6421['y']+_0x327c6c-_0x22accf[_0x284a61(0x4b2)]});return;}let _0xd27822={'left':_0x3d6421['x']+_0x27e6d7-_0x22accf[_0x284a61(0x4b2)],'top':_0x3d6421['y']+_0x327c6c-_0x22accf[_0x284a61(0x4b2)],'adjName':_0x15b161,'shapeId':this['_activeShapeId'],'unitId':_0x552ce9,'subUnitId':_0x58e048,'width':_0x22accf[_0x284a61(0x4b2)]+0x8,'height':_0x22accf[_0x284a61(0x4b2)]+0x8,'zIndex':_0x3ec92b+0x1,'evented':!0x0},_0x4b1430=new po(_0x284a61(0x339)+this[_0x284a61(0x587)]+'-'+_0x15b161,_0xd27822);this[_0x284a61(0x4a8)][_0x284a61(0x34a)](_0x4b1430),this[_0x284a61(0x439)](_0x4b1430,_0x2004eb,_0x15b161),_0x2004eb[_0x284a61(0x49e)](_0x4b1430,_0x3ec92b+0x1);}[_0x3409bc(0x347)](){const _0x38e50f=_0x3409bc;this[_0x38e50f(0x4a8)][_0x38e50f(0x4a0)]!==0x0&&(this['_shapes']['forEach'](_0x5a7eec=>{const _0x5ec285=_0x38e50f;_0x5a7eec[_0x5ec285(0x23b)]();}),this[_0x38e50f(0x4a8)]=[]);}[_0x3409bc(0x34b)](){const _0x2a50ec=_0x3409bc;this[_0x2a50ec(0x255)]();}[_0x3409bc(0x55f)](_0xbc2b7a,_0x3980b0){const _0x4ccafe=_0x3409bc;var _0x4823af;let _0x2ea0d3={'x':0x0,'y':0x0};if(!_0xbc2b7a||!_0x3980b0)return _0x2ea0d3;let _0x469212=this[_0x4ccafe(0x4ee)]['getRenderById'](_0xbc2b7a);if(!_0x469212||!_0x469212[_0x4ccafe(0x5fa)](_0x29be30)[_0x4ccafe(0x299)](_0x3980b0))return _0x2ea0d3;let _0x4f9f97=_0x469212[_0x4ccafe(0x5fa)](_0x1f13de),_0x3125f5=_0x4f9f97==null?void 0x0:_0x4f9f97[_0x4ccafe(0x2ab)]();if(!_0x3125f5)return _0x2ea0d3;let _0x4e80d5=(_0x4823af=this['_univerInstanceService'][_0x4ccafe(0x5a2)](_0xbc2b7a))==null?void 0x0:_0x4823af[_0x4ccafe(0x4c8)](_0x3980b0);if(!_0x4e80d5)return _0x2ea0d3;let _0xc9f105=_0x201043(_0x3125f5['sheetViewStartRow'],_0x3125f5[_0x4ccafe(0x64a)],_0x469212[_0x4ccafe(0x2f2)],_0x4e80d5);return _0xc9f105?{'x':_0xc9f105['viewportScrollX'],'y':_0xc9f105[_0x4ccafe(0x503)]}:_0x2ea0d3;}['_getZoomRatio'](_0xaad0ac,_0x3b977e){const _0x430155=_0x3409bc;var _0x31e8d3,_0x594c6b;let _0x3ed3b6=(_0x31e8d3=this['_univerInstanceService'][_0x430155(0x5a2)](_0xaad0ac))==null?void 0x0:_0x31e8d3[_0x430155(0x4c8)](_0x3b977e);return(_0x594c6b=_0x3ed3b6==null?void 0x0:_0x3ed3b6['getZoomRatio']())==null?0x1:_0x594c6b;}[_0x3409bc(0x439)](_0xad049e,_0x4a88bc,_0x29e2d7){const _0x3bafeb=_0x3409bc;this[_0x3bafeb(0x283)](_0x7feef0(_0xad049e[_0x3bafeb(0x63e)]['subscribeEvent']((_0x2b1417,_0xb2e605)=>{const _0x51f1d0=_0x3bafeb;var _0x48fe8a,_0xb5371d,_0x2c2514,_0x12fb25;let _0x1e94de=_0xad049e['getDrawingSearch']();this[_0x51f1d0(0x29f)]=this[_0x51f1d0(0x20f)](_0x1e94de[_0x51f1d0(0x550)],_0x1e94de[_0x51f1d0(0x26e)],_0x1e94de[_0x51f1d0(0x5b0)],_0x29e2d7),this[_0x51f1d0(0x453)]=this[_0x51f1d0(0x609)][_0x51f1d0(0x357)](_0x1e94de[_0x51f1d0(0x550)],_0x1e94de[_0x51f1d0(0x26e)],_0x1e94de[_0x51f1d0(0x5b0)]);let _0x386b75=this[_0x51f1d0(0x1fe)][_0x51f1d0(0x3c8)]({'unitId':this[_0x51f1d0(0x66d)],'subUnitId':this[_0x51f1d0(0x36d)],'drawingId':this['_activeShapeId']}),{transform:_0x48a4e0}=_0x386b75;if(_0x48a4e0){let {left:_0x4768ad,top:_0x39ffe8,width:_0xaf82df,height:_0x2456b1}=_0x48a4e0;this[_0x51f1d0(0x236)]=_0x4768ad||0x0,this['_baseShapeTop']=_0x39ffe8||0x0,this['_baseShapeWidth']=_0xaf82df||0x0,this[_0x51f1d0(0x466)]=_0x2456b1||0x0;}let _0x500a81=!!((_0x48fe8a=_0x386b75[_0x51f1d0(0x290)])!=null&&_0x48fe8a[_0x51f1d0(0x574)]),_0x510c13=!!((_0xb5371d=_0x386b75[_0x51f1d0(0x290)])!=null&&_0xb5371d[_0x51f1d0(0x38b)]),_0x241996=((_0x2c2514=_0x386b75[_0x51f1d0(0x290)])==null?void 0x0:_0x2c2514['angle'])||0x0;this[_0x51f1d0(0x52e)]=!0x0,_0x4a88bc[_0x51f1d0(0x46f)]();let _0x220dad=(_0x12fb25=this[_0x51f1d0(0x453)])==null?void 0x0:_0x12fb25[_0x51f1d0(0x4a9)](_0x29e2d7),_0x568998={[_0x29e2d7]:_0x220dad};this[_0x51f1d0(0x398)]=_0x4a88bc['onPointerMove$'][_0x51f1d0(0x367)]((_0x1985f8,_0x4ea7b1)=>{const _0x7b4684=_0x51f1d0;if(!this[_0x7b4684(0x52e)])return;let {offsetX:_0x21128b,offsetY:_0x1c1257}=_0x1985f8,_0xb1256c=this['_activeAdjustInfo'];if(this[_0x7b4684(0x453)]&&_0xb1256c){_0x4a88bc['disableObjectsEvent'](),_0x4a88bc[_0x7b4684(0x4e5)](_0x402563[_0x7b4684(0x3cb)]);let _0x20cc31={'left':0x0,'top':0x0,'width':this[_0x7b4684(0x524)],'height':this[_0x7b4684(0x466)]},_0x4a779c=this[_0x7b4684(0x55f)](this[_0x7b4684(0x66d)],this['_subUnitId']),_0x573511=this[_0x7b4684(0x3be)](this[_0x7b4684(0x66d)],this['_subUnitId']),_0x1c60a9=_0x21128b/_0x573511+_0x4a779c['x']-this['_baseShapeLeft'],_0x2658cc=_0x1c1257/_0x573511+_0x4a779c['y']-this[_0x7b4684(0x27b)];if(_0x241996!==0x0){let _0x2fa7cc=this[_0x7b4684(0x524)]/0x2,_0x24849f=this['_baseShapeHeight']/0x2,_0x405943=_0x241996*Math['PI']/0xb4,_0x242722=Math[_0x7b4684(0x5f2)](_0x405943),_0x1f82a1=Math[_0x7b4684(0x269)](_0x405943),_0x566769=_0x1c60a9-_0x2fa7cc,_0x50373b=_0x2658cc-_0x24849f;_0x1c60a9=_0x2fa7cc+(_0x566769*_0x242722+_0x50373b*_0x1f82a1),_0x2658cc=_0x24849f+(-_0x566769*_0x1f82a1+_0x50373b*_0x242722);}_0x500a81&&(_0x1c60a9=this[_0x7b4684(0x524)]-_0x1c60a9),_0x510c13&&(_0x2658cc=this['_baseShapeHeight']-_0x2658cc);let _0x129877={'x':_0x1c60a9,'y':_0x2658cc},_0x355112=this[_0x7b4684(0x453)]['calcAdjValue'](_0x20cc31,_0x129877,_0xb1256c,_0x500a81,_0x510c13),_0x44dc4d=_0xb1256c[_0x7b4684(0x3e6)]||_0xb1256c[_0x7b4684(0x5fd)]||_0xb1256c[_0x7b4684(0x309)]||_0xb1256c[_0x7b4684(0x677)];if(_0x44dc4d===void 0x0)return;this[_0x7b4684(0x453)][_0x7b4684(0x68f)](_0x44dc4d,_0x355112);let _0x13f15e=this[_0x7b4684(0x1fe)][_0x7b4684(0x3c8)]({'unitId':_0x1e94de['unitId'],'subUnitId':_0x1e94de[_0x7b4684(0x26e)],'drawingId':_0x1e94de['drawingId']});_0x13f15e&&(this[_0x7b4684(0x490)][_0x7b4684(0x3fe)](_0x13f15e,_0x4a88bc),this[_0x7b4684(0x3b3)]=this['_getShapeAdjustPointListById'](_0x1e94de['unitId'],_0x1e94de[_0x7b4684(0x26e)],_0x1e94de[_0x7b4684(0x5b0)]),this[_0x7b4684(0x34b)]());}_0x4ea7b1[_0x7b4684(0x382)]();}),this['_adjHandlerPointerUp']=_0x4a88bc['onPointerUp$']['subscribeEvent']((_0x1db1fb,_0x4048fd)=>{const _0x34a314=_0x51f1d0;this[_0x34a314(0x398)][_0x34a314(0x3d6)](),this[_0x34a314(0x64c)][_0x34a314(0x3d6)](),_0x4a88bc[_0x34a314(0x537)]();let _0x3d75c7=this[_0x34a314(0x29f)];if(_0x3d75c7){let _0x46517b=_0x1e94de[_0x34a314(0x550)],_0x2ad818=_0x1e94de['subUnitId'],_0x11f3b2=_0x1e94de[_0x34a314(0x5b0)],_0x1f55ed=_0x3d75c7[_0x34a314(0x3e6)]||_0x3d75c7['gdRefY']||_0x3d75c7[_0x34a314(0x309)]||_0x3d75c7['gdRefR'];if(_0x1f55ed!==void 0x0){var _0x16fadb;let _0x3dbefe=(_0x16fadb=this[_0x34a314(0x453)])==null?void 0x0:_0x16fadb[_0x34a314(0x4a9)](_0x1f55ed);_0x3dbefe!==void 0x0&&Z(this[_0x34a314(0x426)],_0x46517b,_0x2ad818,_0x11f3b2,{'oldShapeData':{'adjustValues':_0x568998}},{'adjustValues':{[_0x1f55ed]:_0x3dbefe}});}}this['_activeAdjustInfo']=void 0x0,this['_activeShapeModel']=void 0x0,this['_isStartAdjusting']=!0x1,_0x4048fd[_0x34a314(0x382)](),_0x4a88bc[_0x34a314(0x2ed)]();}),_0xb2e605[_0x51f1d0(0x382)]();})));}[_0x3409bc(0x642)](){const _0x294f79=_0x3409bc;let _0x24a554=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x5a9a41['UNIVER_SHEET']);this[_0x294f79(0x283)](_0x24a554[_0x294f79(0x57e)](_0x44dfd5(_0x4b241a=>_0x4b241a?_0x4b241a[_0x294f79(0x621)][_0x294f79(0x57e)](_0x44dfd5(_0x2c5b57=>{const _0x4011a6=_0x294f79;if(!_0x2c5b57)return _0x5294e6;let _0x2e99ee=_0x4b241a['getUnitId'](),_0xcdaefa=this[_0x4011a6(0x4ee)][_0x4011a6(0x2db)](_0x2e99ee),_0x35fb55=_0xcdaefa==null?void 0x0:_0xcdaefa[_0x4011a6(0x2f2)];return _0x35fb55?_0x100f34(_0x35fb55):_0x5294e6;})):_0x5294e6))[_0x294f79(0x54e)](_0x2f75c3=>{const _0x35331c=_0x294f79;let _0x29ef0c=_0x2f75c3[_0x35331c(0x5e1)]();this['disposeWithMe'](_0x2f75c3[_0x35331c(0x53a)][_0x35331c(0x367)](()=>{const _0x2c4fd4=_0x35331c;this[_0x2c4fd4(0x5fe)];})),this[_0x35331c(0x283)](_0x29ef0c[_0x35331c(0x2cd)][_0x35331c(0x54e)](_0x4b8a22=>{const _0x449258=_0x35331c;let {objects:_0x45386c}=_0x4b8a22;this[_0x449258(0x255)](),_0x45386c!==null&&_0x45386c['size']===0x1&&_0x45386c[_0x449258(0x438)]()['next']()[_0x449258(0x224)]instanceof to&&this[_0x449258(0x247)](!0x0);})),this['disposeWithMe'](_0x29ef0c[_0x35331c(0x418)][_0x35331c(0x54e)](()=>{const _0x4520f6=_0x35331c;this[_0x4520f6(0x5fe)]&&this[_0x4520f6(0x347)]();})),this[_0x35331c(0x283)](_0x2f75c3['onPointerUp$'][_0x35331c(0x367)](()=>{const _0x4109b1=_0x35331c;this[_0x4109b1(0x5fe)]&&(this[_0x4109b1(0x247)](!0x1),this['_createShapeAdjustControls']());})),this[_0x35331c(0x283)](_0x29ef0c[_0x35331c(0x48a)][_0x35331c(0x54e)](()=>{const _0x1153f9=_0x35331c;this['_unitId']&&this['_subUnitId']&&this[_0x1153f9(0x587)]&&this[_0x1153f9(0x1fe)][_0x1153f9(0x3c8)]({'unitId':this[_0x1153f9(0x66d)],'subUnitId':this[_0x1153f9(0x36d)],'drawingId':this['_activeShapeId']})&&(this['_activeShapeAdjustPointList']=this['_getShapeAdjustPointListById'](this[_0x1153f9(0x66d)],this['_subUnitId'],this[_0x1153f9(0x587)]),this[_0x1153f9(0x34b)]());}));}));}[_0x3409bc(0x55a)](){const _0x20d6af=_0x3409bc;this['disposeWithMe'](this['_drawingManagerService'][_0x20d6af(0x5d8)][_0x20d6af(0x54e)](_0x22dc02=>{const _0x11bce5=_0x20d6af;if(_0x22dc02[_0x11bce5(0x4a0)]===0x1){let _0x24ad58=_0x22dc02[0x0];if(_0x24ad58[_0x11bce5(0x42f)]===_0x204228[_0x11bce5(0x4d9)]){this['_activeShapeId']=_0x24ad58[_0x11bce5(0x5b0)];let {unitId:_0x6558e5,subUnitId:_0x3f7621}=_0x24ad58;this[_0x11bce5(0x3b3)]=this['_getShapeAdjustPointListById'](_0x6558e5,_0x3f7621,this[_0x11bce5(0x587)]),this[_0x11bce5(0x66d)]=_0x6558e5,this[_0x11bce5(0x36d)]=_0x3f7621,this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls']();}else this[_0x11bce5(0x587)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x11bce5(0x36d)]=null,this[_0x11bce5(0x347)]();}(_0x22dc02[_0x11bce5(0x4a0)]>0x1||_0x22dc02[_0x11bce5(0x4a0)]===0x0)&&(this[_0x11bce5(0x587)]=null,this[_0x11bce5(0x3b3)]=void 0x0,this[_0x11bce5(0x66d)]=null,this[_0x11bce5(0x36d)]=null,this[_0x11bce5(0x347)]());})),this['disposeWithMe'](this[_0x20d6af(0x1fe)]['update$'][_0x20d6af(0x54e)](_0x1ed106=>{const _0x4e22cb=_0x20d6af;if(_0x1ed106[_0x4e22cb(0x4a0)]===0x1){var _0x558ed3;let _0x3f15ba=_0x1ed106[0x0];((_0x558ed3=this[_0x4e22cb(0x1fe)][_0x4e22cb(0x3c8)](_0x3f15ba))==null?void 0x0:_0x558ed3[_0x4e22cb(0x42f)])===_0x204228[_0x4e22cb(0x4d9)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x20d6af(0x283)](this[_0x20d6af(0x1fe)][_0x20d6af(0x226)][_0x20d6af(0x54e)](_0x378fc6=>{const _0x36b700=_0x20d6af;for(let _0x3129fc of _0x378fc6)this[_0x36b700(0x587)]===_0x3129fc[_0x36b700(0x5b0)]&&(this['_activeShapeId']=null,this[_0x36b700(0x3b3)]=void 0x0,this[_0x36b700(0x66d)]=null,this[_0x36b700(0x36d)]=null,this[_0x36b700(0x347)]());}));}};mo=$([Q(0x1,_0x47baf7),Q(0x2,_0x132f48),Q(0x3,_0x54f4ad(_0x1bd6ad)),Q(0x4,_0x54f4ad(_0x592bef)),Q(0x5,_0x54f4ad(no)),Q(0x6,_0x418e4b),Q(0x7,_0x2ac980)],mo);const ho={'id':_0x3409bc(0x57f),'type':_0x3a0ed7[_0x3409bc(0x5a1)],'handler':(_0x28a647,_0x5e8da6)=>{const _0x2ad1ab=_0x3409bc;let _0x3a0cb4=_0x28a647['get'](_0x132f48),_0x176446=_0x28a647['get'](_0x592bef),_0x402961=_0x28a647['get'](mo);if(_0x5e8da6==null)return!0x0;if(_0x5e8da6[_0x2ad1ab(0x4a0)]>0x0){var _0xe1eaff;let _0xc02218=(_0xe1eaff=_0x176446[_0x2ad1ab(0x2db)](_0x5e8da6[0x0]['unitId']))==null?void 0x0:_0xe1eaff[_0x2ad1ab(0x2f2)];if(_0xc02218){let {unitId:_0x493dc1,subUnitId:_0x5b4624,drawingId:_0x2d01d8}=_0x5e8da6[0x0],_0x214c0c=_0xd64c82({'unitId':_0x493dc1,'subUnitId':_0x5b4624,'drawingId':_0x2d01d8},void 0x0),_0x9a0e6e=_0xc02218[_0x2ad1ab(0x251)](_0x214c0c);if(_0x9a0e6e){var _0x2f4069;(_0x2f4069=_0x176446[_0x2ad1ab(0x2db)](_0x5e8da6[0x0]['unitId']))==null||(_0x2f4069=_0x2f4069['scene'][_0x2ad1ab(0x3f9)]())==null||_0x2f4069['activeAnObject'](_0x9a0e6e);}}_0x3a0cb4[_0x2ad1ab(0x4c0)](_0x5e8da6),_0x402961[_0x2ad1ab(0x247)](!0x1);}return!0x0;}},go={'type':_0x3a0ed7[_0x3409bc(0x39e)],'id':'sheet.command.menu-insert-shape','handler':async(_0x3ca697,_0x11d9bd)=>{const _0x51f395=_0x3409bc;let _0x1dfb47=_0x6bc5ef(_0x3ca697[_0x51f395(0x618)](_0x418e4b));if(!_0x1dfb47)return!0x1;let _0x37581a=_0x3ca697[_0x51f395(0x618)](_0x4c53d5)[_0x51f395(0x4bc)]();if(!_0x37581a)return!0x1;let _0x51f26f=_0x3ca697[_0x51f395(0x618)](_0x2ac980),{unitId:_0x410b78,subUnitId:_0x3b8dfc}=_0x1dfb47,{value:_0x2af75d,enhanceParams:_0x53e19a}=_0x11d9bd,{range:_0x5f0192}=_0x37581a,_0x65bb1b={'unitId':_0x410b78,'subUnitId':_0x3b8dfc,'shapeType':_0x2af75d,'range':_0x5f0192,'shapeId':_0x37982c()};if(_0x53e19a){let _0x19c5ba=_0x1e6a3a(_0x2af75d),_0x16cc42=_0x2af75d===_0x4ac0a4[_0x51f395(0x371)];_0x19c5ba&&(_0x53e19a['startArrow']||_0x53e19a['endArrow'])&&(_0x65bb1b['shapeData']={'ln':{'startArrow':_0x53e19a[_0x51f395(0x678)]?{'type':_0x1a17b9[_0x51f395(0x4d6)],'size':_0xae9b08[_0x51f395(0x46e)]}:void 0x0,'endArrow':_0x53e19a['endArrow']?{'type':_0x1a17b9['Arrow'],'size':_0xae9b08[_0x51f395(0x5be)]}:void 0x0}}),_0x16cc42&&(_0x53e19a[_0x51f395(0x59a)]||_0x53e19a[_0x51f395(0x561)])&&(_0x65bb1b[_0x51f395(0x390)]={'fill':{'fillType':_0x3dc913[_0x51f395(0x4ec)],'color':_0x51f395(0x461)},'stroke':{'lineStrokeType':_0x3e94d6[_0x51f395(0x225)],'width':0x1,'color':_0x51f395(0x344)},'shapeText':{'isHorizontal':!!_0x53e19a[_0x51f395(0x59a)]}});}let _0x1e5f97=_0x51f26f['syncExecuteCommand'](_0xbd5c6['id'],_0x65bb1b);return setTimeout(()=>{const _0x5b7af8=_0x51f395;_0x51f26f[_0x5b7af8(0x586)](ho['id'],[{'unitId':_0x410b78,'subUnitId':_0x3b8dfc,'drawingId':_0x65bb1b[_0x5b7af8(0x2c5)]}]);},0xc8),_0x1e5f97;}};let _o=class extends _0x24ac39{constructor(_0xe50fa,_0x285a44){const _0x96ca83=_0x3409bc;super(),this[_0x96ca83(0x2cb)]=_0xe50fa,this[_0x96ca83(0x1fe)]=_0x285a44,this[_0x96ca83(0x25c)](),this[_0x96ca83(0x2cb)][_0x96ca83(0x48c)](!0x0),this[_0x96ca83(0x283)]({'dispose':()=>this['_clipService'][_0x96ca83(0x48c)](!0x1)});}[_0x3409bc(0x25c)](){const _0x3c0bdf=_0x3409bc;let _0x57b333=this[_0x3c0bdf(0x2cb)],_0x10ad9f=new Map(),_0x31b2d2=_0x57b333[_0x3c0bdf(0x5af)]((_0x1e6086,_0x20340a,_0x237262,_0x231900,_0x83f2ce)=>{const _0x5c41db=_0x3c0bdf;let _0x2efcf0=_0x20340a;if(_0x2efcf0===_0x4ac0a4[_0x5c41db(0x342)]||_0x20340a==='custom')return!0x1;try{let _0x41a475=_0x10ad9f[_0x5c41db(0x618)](_0x20340a);return _0x41a475||(_0x41a475=new _0x4b418f(_0x2efcf0,_0x5c41db(0x5b7)+_0x20340a),_0x10ad9f[_0x5c41db(0x5dd)](_0x20340a,_0x41a475)),_0x83f2ce&&_0x41a475[_0x5c41db(0x1dd)]({'adjustValues':_0x83f2ce},!0x0),_0x41a475['updateContext']({'width':_0x237262,'height':_0x231900}),_0x41a475[_0x5c41db(0x57a)](_0x1e6086,{'left':0x0,'top':0x0,'width':_0x237262,'height':_0x231900});}catch{return!0x1;}});this['disposeWithMe'](_0x31b2d2),this[_0x3c0bdf(0x283)]({'dispose':()=>_0x10ad9f['clear']()});}[_0x3409bc(0x363)](_0x1d20ae,_0x1845e8,_0xcabfa,_0x30ad74,_0x5e16dc){const _0x1cd441=_0x3409bc;let _0x441235=this[_0x1cd441(0x1fe)][_0x1cd441(0x575)](_0x1d20ae,_0x1845e8);if(!_0x441235[_0xcabfa])return;let _0x2fb855={..._0x441235[_0xcabfa],'prstGeom':_0x30ad74,'adjustValues':_0x5e16dc};this[_0x1cd441(0x1fe)]['featurePluginUpdateNotification']([_0x2fb855]);}};_o=$([Q(0x0,_0x54f4ad(_0x3c0f94)),Q(0x1,_0x54f4ad(_0x132f48))],_o);const vo=[{'group':'line','type':_0x4ac0a4[_0x3409bc(0x673)],'icon':_0x3409bc(0x61d),'name':_0x3409bc(0x234)},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x5c1)],'icon':_0x3409bc(0x3f3),'name':'sheets-shape-ui.shape.type.straight-connector1','endArrow':!0x0},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x5c1)],'icon':_0x3409bc(0x580),'name':_0x3409bc(0x268),'endArrow':!0x0,'startArrow':!0x0},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x29c)],'icon':_0x3409bc(0x5b1),'name':_0x3409bc(0x23e)},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x29c)],'icon':_0x3409bc(0x511),'name':_0x3409bc(0x4c9),'endArrow':!0x0},{'group':'line','type':_0x4ac0a4[_0x3409bc(0x29c)],'icon':'ShapeBentConnector3Arrow2Icon','name':'sheets-shape-ui.shape.type.bent-connector3-arrow2','endArrow':!0x0,'startArrow':!0x0},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4['CurvedConnector3'],'icon':_0x3409bc(0x30f),'name':_0x3409bc(0x3fc)},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x51f)],'icon':_0x3409bc(0x5ea),'name':'sheets-shape-ui.shape.type.curved-connector3-arrow1','endArrow':!0x0},{'group':_0x3409bc(0x50c),'type':_0x4ac0a4[_0x3409bc(0x51f)],'icon':'ShapeCurvedConnector3Arrow2Icon','name':_0x3409bc(0x61a),'endArrow':!0x0,'startArrow':!0x0},{'group':'rectangle','type':_0x4ac0a4[_0x3409bc(0x371)],'icon':_0x3409bc(0x319),'name':_0x3409bc(0x5d3)},{'group':_0x3409bc(0x4b4),'type':_0x4ac0a4[_0x3409bc(0x641)],'icon':'ShapeRoundRectIcon','name':_0x3409bc(0x473)},{'group':'rectangle','type':_0x4ac0a4[_0x3409bc(0x4c4)],'icon':_0x3409bc(0x5b2),'name':_0x3409bc(0x293)},{'group':'rectangle','type':_0x4ac0a4[_0x3409bc(0x30e)],'icon':'ShapeSnip2SameRectIcon','name':'sheets-shape-ui.shape.type.snip2-same-rect'},{'group':_0x3409bc(0x4b4),'type':_0x4ac0a4[_0x3409bc(0x3ff)],'icon':_0x3409bc(0x22d),'name':_0x3409bc(0x510)},{'group':_0x3409bc(0x4b4),'type':_0x4ac0a4[_0x3409bc(0x280)],'icon':_0x3409bc(0x57c),'name':'sheets-shape-ui.shape.type.snip-round-rect'},{'group':'rectangle','type':_0x4ac0a4[_0x3409bc(0x27d)],'icon':'ShapeRound1RectIcon','name':_0x3409bc(0x43e)},{'group':_0x3409bc(0x4b4),'type':_0x4ac0a4[_0x3409bc(0x544)],'icon':_0x3409bc(0x328),'name':'sheets-shape-ui.shape.type.round2-same-rect'},{'group':_0x3409bc(0x4b4),'type':_0x4ac0a4[_0x3409bc(0x1e8)],'icon':_0x3409bc(0x5f0),'name':_0x3409bc(0x5ac)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x371)],'icon':_0x3409bc(0x4d4),'name':'sheets-shape-ui.shape.type.rect-textbox-horizontal','horizontal':!0x0},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['Rect'],'icon':'ShapeRectTextboxVerticalIcon','name':_0x3409bc(0x52a),'vertical':!0x0},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x443)],'icon':_0x3409bc(0x48e),'name':_0x3409bc(0x2e3)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x2df)],'icon':_0x3409bc(0x67b),'name':_0x3409bc(0x59b)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x3a3)],'icon':_0x3409bc(0x3a4),'name':_0x3409bc(0x5fb)},{'group':'basicShape','type':_0x4ac0a4['Parallelogram'],'icon':'ShapeParallelogramIcon','name':_0x3409bc(0x46a)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x1f2)],'icon':_0x3409bc(0x5df),'name':_0x3409bc(0x495)},{'group':'basicShape','type':_0x4ac0a4['Diamond'],'icon':_0x3409bc(0x2a4),'name':_0x3409bc(0x387)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x4e6)],'icon':'ShapePentagonIcon','name':_0x3409bc(0x4c1)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x628)],'icon':'ShapeHexagonIcon','name':_0x3409bc(0x4f5)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['Heptagon'],'icon':'ShapeHeptagonIcon','name':_0x3409bc(0x624)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x49f)],'icon':_0x3409bc(0x394),'name':'sheets-shape-ui.shape.type.octagon'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x3ba)],'icon':'ShapeDecagonIcon','name':_0x3409bc(0x2b7)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x265)],'icon':_0x3409bc(0x556),'name':'sheets-shape-ui.shape.type.dodecagon'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x50b)],'icon':'ShapePieIcon','name':_0x3409bc(0x646)},{'group':'basicShape','type':_0x4ac0a4['Chord'],'icon':_0x3409bc(0x614),'name':_0x3409bc(0x58a)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x613)],'icon':'ShapeTeardropIcon','name':_0x3409bc(0x37c)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x442)],'icon':'ShapeFrameIcon','name':'sheets-shape-ui.shape.type.frame'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x5cb)],'icon':_0x3409bc(0x5d9),'name':_0x3409bc(0x690)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x651)],'icon':_0x3409bc(0x540),'name':'sheets-shape-ui.shape.type.corner'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x34f)],'icon':_0x3409bc(0x3a6),'name':_0x3409bc(0x52b)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['Plus'],'icon':_0x3409bc(0x327),'name':_0x3409bc(0x284)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x4de)],'icon':_0x3409bc(0x40c),'name':_0x3409bc(0x523)},{'group':'basicShape','type':_0x4ac0a4['Can'],'icon':_0x3409bc(0x3b7),'name':_0x3409bc(0x68b)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x253)],'icon':_0x3409bc(0x4ed),'name':'sheets-shape-ui.shape.type.cube'},{'group':'basicShape','type':_0x4ac0a4['Bevel'],'icon':_0x3409bc(0x26b),'name':_0x3409bc(0x5b4)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x65f)],'icon':_0x3409bc(0x2c7),'name':_0x3409bc(0x1f0)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x1e2)],'icon':_0x3409bc(0x250),'name':_0x3409bc(0x419)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['BlockArc'],'icon':'ShapeBlockArcIcon','name':_0x3409bc(0x3ac)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x622)],'icon':_0x3409bc(0x240),'name':'sheets-shape-ui.shape.type.folder-corner'},{'group':'basicShape','type':_0x4ac0a4['SmileyFace'],'icon':'ShapeSmileyFaceIcon','name':'sheets-shape-ui.shape.type.smiley-face'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x491)],'icon':'ShapeHeartIcon','name':_0x3409bc(0x51b)},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x2d6)],'icon':_0x3409bc(0x661),'name':_0x3409bc(0x407)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x5a8)],'icon':_0x3409bc(0x242),'name':'sheets-shape-ui.shape.type.sun'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x2a3)],'icon':_0x3409bc(0x29b),'name':_0x3409bc(0x60c)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x4dc)],'icon':_0x3409bc(0x4fb),'name':'sheets-shape-ui.shape.type.cloud'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x520)],'icon':'ShapeArcIcon','name':_0x3409bc(0x2fe)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['BracketPair'],'icon':_0x3409bc(0x34c),'name':'sheets-shape-ui.shape.type.bracket-pair'},{'group':'basicShape','type':_0x4ac0a4[_0x3409bc(0x5f1)],'icon':_0x3409bc(0x294),'name':'sheets-shape-ui.shape.type.brace-pair'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4['LeftBracket'],'icon':_0x3409bc(0x338),'name':'sheets-shape-ui.shape.type.left-bracket'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x274)],'icon':_0x3409bc(0x5b3),'name':'sheets-shape-ui.shape.type.right-bracket'},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x252)],'icon':_0x3409bc(0x2da),'name':_0x3409bc(0x611)},{'group':_0x3409bc(0x4d8),'type':_0x4ac0a4[_0x3409bc(0x348)],'icon':_0x3409bc(0x217),'name':_0x3409bc(0x2cc)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4['RightArrow'],'icon':_0x3409bc(0x5d5),'name':_0x3409bc(0x29a)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x312)],'icon':_0x3409bc(0x526),'name':_0x3409bc(0x57b)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x350)],'icon':_0x3409bc(0x4c7),'name':_0x3409bc(0x597)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x4c2)],'icon':_0x3409bc(0x29d),'name':'sheets-shape-ui.shape.type.down-arrow'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x692)],'icon':_0x3409bc(0x39b),'name':_0x3409bc(0x218)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x27e)],'icon':_0x3409bc(0x1ea),'name':_0x3409bc(0x3c4)},{'group':'blockArrow','type':_0x4ac0a4['QuadArrow'],'icon':_0x3409bc(0x509),'name':'sheets-shape-ui.shape.type.quad-arrow'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4['LeftRightUpArrow'],'icon':_0x3409bc(0x689),'name':'sheets-shape-ui.shape.type.left-right-up-arrow'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x603)],'icon':'ShapeBentArrowIcon','name':'sheets-shape-ui.shape.type.bent-arrow'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x361)],'icon':_0x3409bc(0x647),'name':_0x3409bc(0x519)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x4b1)],'icon':_0x3409bc(0x5b8),'name':_0x3409bc(0x292)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x693)],'icon':'ShapeBentUpArrowIcon','name':'sheets-shape-ui.shape.type.bent-up-arrow'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x5bf)],'icon':_0x3409bc(0x4f2),'name':_0x3409bc(0x687)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x548)],'icon':_0x3409bc(0x365),'name':_0x3409bc(0x536)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x3df)],'icon':_0x3409bc(0x545),'name':_0x3409bc(0x582)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x202)],'icon':_0x3409bc(0x3b6),'name':'sheets-shape-ui.shape.type.curved-down-arrow'},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x227)],'icon':'ShapeStripedRightArrowIcon','name':_0x3409bc(0x569)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4['NotchedRightArrow'],'icon':_0x3409bc(0x3b4),'name':_0x3409bc(0x568)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x4b5)],'icon':_0x3409bc(0x482),'name':_0x3409bc(0x48b)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x2e7)],'icon':'ShapeChevronIcon','name':'sheets-shape-ui.shape.type.chevron'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x5cc)],'icon':'ShapeRightArrowCalloutIcon','name':_0x3409bc(0x2d3)},{'group':'blockArrow','type':_0x4ac0a4[_0x3409bc(0x3ad)],'icon':_0x3409bc(0x32f),'name':_0x3409bc(0x47e)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x272)],'icon':_0x3409bc(0x638),'name':'sheets-shape-ui.shape.type.left-arrow-callout'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x2e2)],'icon':_0x3409bc(0x25f),'name':'sheets-shape-ui.shape.type.up-arrow-callout'},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x330)],'icon':_0x3409bc(0x3fd),'name':_0x3409bc(0x470)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4['QuadArrowCallout'],'icon':_0x3409bc(0x65e),'name':_0x3409bc(0x68e)},{'group':_0x3409bc(0x3eb),'type':_0x4ac0a4[_0x3409bc(0x3c7)],'icon':'ShapeCircularArrowIcon','name':'sheets-shape-ui.shape.type.circular-arrow'},{'group':'equationShape','type':_0x4ac0a4[_0x3409bc(0x23c)],'icon':_0x3409bc(0x460),'name':'sheets-shape-ui.shape.type.math-plus'},{'group':_0x3409bc(0x50e),'type':_0x4ac0a4[_0x3409bc(0x4e8)],'icon':_0x3409bc(0x53e),'name':'sheets-shape-ui.shape.type.math-minus'},{'group':'equationShape','type':_0x4ac0a4[_0x3409bc(0x659)],'icon':_0x3409bc(0x455),'name':_0x3409bc(0x634)},{'group':_0x3409bc(0x50e),'type':_0x4ac0a4['MathDivide'],'icon':_0x3409bc(0x315),'name':'sheets-shape-ui.shape.type.math-divide'},{'group':'equationShape','type':_0x4ac0a4['MathEqual'],'icon':_0x3409bc(0x4af),'name':'sheets-shape-ui.shape.type.math-equal'},{'group':_0x3409bc(0x50e),'type':_0x4ac0a4[_0x3409bc(0x671)],'icon':_0x3409bc(0x5ec),'name':_0x3409bc(0x451)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x2d0)],'icon':'ShapeFlowChartProcessIcon','name':'sheets-shape-ui.shape.type.flow-chart-process'},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x25a)],'icon':_0x3409bc(0x652),'name':_0x3409bc(0x44f)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartDecision'],'icon':_0x3409bc(0x666),'name':_0x3409bc(0x307)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowChartInputOutput'],'icon':_0x3409bc(0x1ed),'name':'sheets-shape-ui.shape.type.flow-chart-input-output'},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x578)],'icon':_0x3409bc(0x43f),'name':_0x3409bc(0x5ad)},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x4e0)],'icon':'ShapeFlowChartInternalStorageIcon','name':_0x3409bc(0x288)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x4ef)],'icon':_0x3409bc(0x497),'name':_0x3409bc(0x436)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartMultiDocument'],'icon':_0x3409bc(0x43d),'name':_0x3409bc(0x311)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x24c)],'icon':_0x3409bc(0x21e),'name':'sheets-shape-ui.shape.type.flow-chart-terminator'},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartPreparation'],'icon':_0x3409bc(0x5f4),'name':_0x3409bc(0x518)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartManualInput'],'icon':_0x3409bc(0x26d),'name':_0x3409bc(0x375)},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x2e4)],'icon':_0x3409bc(0x59f),'name':_0x3409bc(0x408)},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x42d)],'icon':_0x3409bc(0x1f4),'name':_0x3409bc(0x446)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartOffPageConnector'],'icon':_0x3409bc(0x4ac),'name':_0x3409bc(0x2a8)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartPunchedCard'],'icon':_0x3409bc(0x59d),'name':_0x3409bc(0x4c5)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartPunchedTape'],'icon':_0x3409bc(0x41a),'name':_0x3409bc(0x496)},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x238)],'icon':'ShapeFlowChartSummingJunctionIcon','name':_0x3409bc(0x454)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x4a1)],'icon':_0x3409bc(0x431),'name':_0x3409bc(0x5ef)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartCollate'],'icon':'ShapeFlowChartCollateIcon','name':_0x3409bc(0x38f)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartSort'],'icon':'ShapeFlowChartSortIcon','name':_0x3409bc(0x47d)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x38c)],'icon':_0x3409bc(0x34e),'name':_0x3409bc(0x2d4)},{'group':'flowchart','type':_0x4ac0a4['FlowchartMerge'],'icon':_0x3409bc(0x44a),'name':_0x3409bc(0x2bf)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x5cd)],'icon':_0x3409bc(0x381),'name':'sheets-shape-ui.shape.type.flow-chart-online-storage'},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4['FlowchartDelay'],'icon':_0x3409bc(0x4f7),'name':_0x3409bc(0x616)},{'group':'flowchart','type':_0x4ac0a4[_0x3409bc(0x631)],'icon':_0x3409bc(0x306),'name':_0x3409bc(0x37e)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x560)],'icon':_0x3409bc(0x4ea),'name':_0x3409bc(0x1e7)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x3d4)],'icon':_0x3409bc(0x594),'name':_0x3409bc(0x62c)},{'group':_0x3409bc(0x3e1),'type':_0x4ac0a4[_0x3409bc(0x243)],'icon':_0x3409bc(0x332),'name':_0x3409bc(0x517)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x522)],'icon':'ShapeIrregularSeal1Icon','name':_0x3409bc(0x5c0)},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x295)],'icon':_0x3409bc(0x3d9),'name':_0x3409bc(0x233)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x4d1)],'icon':_0x3409bc(0x2ef),'name':_0x3409bc(0x512)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x3ec)],'icon':_0x3409bc(0x1e5),'name':'sheets-shape-ui.shape.type.star5'},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x444)],'icon':_0x3409bc(0x320),'name':_0x3409bc(0x3e3)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x660)],'icon':_0x3409bc(0x21a),'name':'sheets-shape-ui.shape.type.star7'},{'group':_0x3409bc(0x318),'type':_0x4ac0a4['Star8'],'icon':_0x3409bc(0x1fd),'name':'sheets-shape-ui.shape.type.star8'},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x46c)],'icon':_0x3409bc(0x620),'name':'sheets-shape-ui.shape.type.star10'},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x4a3)],'icon':_0x3409bc(0x42c),'name':_0x3409bc(0x359)},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x2eb)],'icon':_0x3409bc(0x260),'name':_0x3409bc(0x329)},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x383)],'icon':'ShapeStar24Icon','name':_0x3409bc(0x362)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x602)],'icon':_0x3409bc(0x3a1),'name':'sheets-shape-ui.shape.type.star32'},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x206)],'icon':'ShapeRibbon2Icon','name':_0x3409bc(0x604)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x4fe)],'icon':_0x3409bc(0x3c6),'name':_0x3409bc(0x2e6)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x4e9)],'icon':'ShapeEllipseRibbon2Icon','name':'sheets-shape-ui.shape.type.ellipse-ribbon2'},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x551)],'icon':_0x3409bc(0x337),'name':_0x3409bc(0x475)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4['VerticalScroll'],'icon':_0x3409bc(0x221),'name':_0x3409bc(0x1fb)},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x389)],'icon':'ShapeHorizontalScrollIcon','name':_0x3409bc(0x456)},{'group':_0x3409bc(0x318),'type':_0x4ac0a4[_0x3409bc(0x4e4)],'icon':_0x3409bc(0x220),'name':_0x3409bc(0x428)},{'group':'starAndBanner','type':_0x4ac0a4[_0x3409bc(0x2f5)],'icon':_0x3409bc(0x358),'name':_0x3409bc(0x354)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x57d)],'icon':_0x3409bc(0x395),'name':'sheets-shape-ui.shape.type.wedge-rect-callout'},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x52f)],'icon':_0x3409bc(0x316),'name':_0x3409bc(0x555)},{'group':'callout','type':_0x4ac0a4[_0x3409bc(0x368)],'icon':_0x3409bc(0x28c),'name':_0x3409bc(0x1f3)},{'group':'callout','type':_0x4ac0a4['CloudCallout'],'icon':_0x3409bc(0x2ad),'name':'sheets-shape-ui.shape.type.cloud-callout'},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x267)],'icon':_0x3409bc(0x5e0),'name':_0x3409bc(0x3ce)},{'group':'callout','type':_0x4ac0a4[_0x3409bc(0x4ca)],'icon':_0x3409bc(0x2c2),'name':'sheets-shape-ui.shape.type.border-callout2'},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x5f5)],'icon':_0x3409bc(0x1f5),'name':_0x3409bc(0x67e)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4['AccentCallout1'],'icon':_0x3409bc(0x56a),'name':'sheets-shape-ui.shape.type.accent-callout1'},{'group':'callout','type':_0x4ac0a4[_0x3409bc(0x606)],'icon':_0x3409bc(0x3bb),'name':_0x3409bc(0x465)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x399)],'icon':'ShapeAccentCallout3Icon','name':'sheets-shape-ui.shape.type.accent-callout3'},{'group':_0x3409bc(0x489),'type':_0x4ac0a4['Callout1'],'icon':_0x3409bc(0x3f0),'name':_0x3409bc(0x2a0)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x2b0)],'icon':_0x3409bc(0x4b0),'name':_0x3409bc(0x458)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x237)],'icon':'ShapeCallout3Icon','name':_0x3409bc(0x3e7)},{'group':'callout','type':_0x4ac0a4[_0x3409bc(0x572)],'icon':_0x3409bc(0x2c3),'name':_0x3409bc(0x5eb)},{'group':_0x3409bc(0x489),'type':_0x4ac0a4[_0x3409bc(0x235)],'icon':_0x3409bc(0x504),'name':_0x3409bc(0x45a)},{'group':'callout','type':_0x4ac0a4[_0x3409bc(0x300)],'icon':_0x3409bc(0x386),'name':'sheets-shape-ui.shape.type.accent-border-callout3'},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['LeftCircularArrow'],'icon':_0x3409bc(0x433),'name':_0x3409bc(0x35c)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x52c)],'icon':_0x3409bc(0x241),'name':_0x3409bc(0x5b9)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x67a)],'icon':_0x3409bc(0x452),'name':_0x3409bc(0x66f)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['LeftRightRibbon'],'icon':_0x3409bc(0x62e),'name':_0x3409bc(0x4f3)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x532)],'icon':'ShapePieWedgeIcon','name':_0x3409bc(0x67f)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x3bc)],'icon':_0x3409bc(0x41d),'name':_0x3409bc(0x686)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x40a)],'icon':_0x3409bc(0x695),'name':_0x3409bc(0x558)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x4eb)],'icon':_0x3409bc(0x2b3),'name':_0x3409bc(0x2ea)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x54a)],'icon':_0x3409bc(0x534),'name':_0x3409bc(0x478)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x633)],'icon':_0x3409bc(0x2e8),'name':_0x3409bc(0x215)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x68d)],'icon':_0x3409bc(0x3fa),'name':_0x3409bc(0x60f)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x3bf)],'icon':_0x3409bc(0x35d),'name':_0x3409bc(0x420)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['ActionButtonEnd'],'icon':_0x3409bc(0x28d),'name':_0x3409bc(0x3de)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x1de)],'icon':_0x3409bc(0x385),'name':_0x3409bc(0x62d)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['ActionButtonInformation'],'icon':_0x3409bc(0x4ad),'name':_0x3409bc(0x635)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['ActionButtonReturn'],'icon':_0x3409bc(0x441),'name':_0x3409bc(0x3ed)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x41e)],'icon':'ShapeActionButtonMovieIcon','name':_0x3409bc(0x29e)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x271)],'icon':_0x3409bc(0x49c),'name':'sheets-shape-ui.shape.type.action-button-document'},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x36b)],'icon':_0x3409bc(0x30c),'name':'sheets-shape-ui.shape.type.action-button-sound'},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['ActionButtonHelp'],'icon':_0x3409bc(0x2b4),'name':'sheets-shape-ui.shape.type.action-button-help'},{'group':_0x3409bc(0x588),'type':_0x4ac0a4['ActionButtonBlank'],'icon':_0x3409bc(0x3a2),'name':_0x3409bc(0x326)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x416)],'icon':_0x3409bc(0x2ec),'name':_0x3409bc(0x4cf)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x649)],'icon':_0x3409bc(0x1fa),'name':'sheets-shape-ui.shape.type.chart-star'},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x45d)],'icon':_0x3409bc(0x623),'name':_0x3409bc(0x264)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x476)],'icon':_0x3409bc(0x4bb),'name':_0x3409bc(0x4b3)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x435)],'icon':_0x3409bc(0x2dd),'name':_0x3409bc(0x352)},{'group':'other','type':_0x4ac0a4[_0x3409bc(0x36f)],'icon':_0x3409bc(0x244),'name':_0x3409bc(0x3b0)},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x3e0)],'icon':_0x3409bc(0x477),'name':'sheets-shape-ui.shape.type.square-tabs'},{'group':_0x3409bc(0x588),'type':_0x4ac0a4[_0x3409bc(0x5db)],'icon':_0x3409bc(0x640),'name':_0x3409bc(0x5ae)},{'group':'other','type':_0x4ac0a4['NonIsoscelesTrapezoid'],'icon':_0x3409bc(0x400),'name':_0x3409bc(0x45b)}],yo='sheet.shape.picker.component';function bo({onShapeClick:_0x20b556,excludeGroups:_0x5f4eda}){const _0x28adca=_0x3409bc;let _0x28fb3a=_0x40d6f2(_0x13096e),_0x234b50=_0x40d6f2(_0x25b5d9),_0x5b32b6=(_0x5f4eda?vo[_0x28adca(0x464)](_0x1d4a32=>!_0x5f4eda[_0x28adca(0x577)](_0x1d4a32[_0x28adca(0x4dd)])):vo)[_0x28adca(0x472)]((_0x1f16fb,_0x4cea67)=>(_0x1f16fb[_0x4cea67[_0x28adca(0x4dd)]]||(_0x1f16fb[_0x4cea67[_0x28adca(0x4dd)]]=[]),_0x1f16fb[_0x4cea67[_0x28adca(0x4dd)]]['push'](_0x4cea67),_0x1f16fb),{});return _0x2abb9e(_0x28adca(0x5d2),{'className':'univer-max-h-[75vh]\x20univer-w-[320px]\x20univer-pb-2','children':Object[_0x28adca(0x590)](_0x5b32b6)['map'](([_0x39ba49,_0x1d3d23])=>_0x58d492('div',{'className':'univer-mb-2','children':[_0x2abb9e(_0x28adca(0x5d2),{'className':_0x28adca(0x654),'children':_0x28fb3a['t'](_0x28adca(0x2e5)+_0x39ba49)}),_0x2abb9e('div',{'className':_0x28adca(0x4c3),'children':_0x1d3d23[_0x28adca(0x3cd)](_0x3c61c1=>{const _0x20037f=_0x28adca;let _0x2d88bf=_0x234b50[_0x20037f(0x618)](_0x3c61c1[_0x20037f(0x54c)]);return _0x2abb9e(_0x20037f(0x5d2),{'title':_0x28fb3a['t'](_0x3c61c1[_0x20037f(0x364)]),'onClick':()=>_0x20b556(_0x3c61c1),'className':_0x20037f(0x67c),'children':_0x2d88bf&&_0x2abb9e(_0x2d88bf,{'className':'univer-size-full'})},_0x3c61c1[_0x20037f(0x364)]);})})]},_0x39ba49))});}function xo(){const _0x29a11f=_0x3409bc;let _0x45c159=_0x40d6f2(_0x13096e),_0xcfd207=_0x40d6f2(_0x132f48),_0x176886=_0x40d6f2(_o),[_0x50ee23,_0x315837]=_0x5074d8(!0x1);return _0x2abb9e(_0x12b1b3,{'side':_0x29a11f(0x4a5),'open':_0x50ee23,'onOpenChange':_0x315837,'overlay':_0x2abb9e(bo,{'onShapeClick':_0x38b30e=>{const _0x235c54=_0x29a11f;let _0x106745=_0xcfd207[_0x235c54(0x36e)]()['find'](_0x1bcad0=>_0x1bcad0['drawingType']===_0x204228[_0x235c54(0x258)]);if(!_0x106745)return;let {unitId:_0x16bddd,subUnitId:_0x4d01aa,drawingId:_0x34479a}=_0x106745;_0x176886['clipByShape'](_0x16bddd,_0x4d01aa,_0x34479a,_0x38b30e[_0x235c54(0x3f8)]),_0x315837(!0x1);},'excludeGroups':['line']}),'children':_0x2abb9e(_0x21ab39,{'children':_0x45c159['t'](_0x29a11f(0x4e3))})});}function So(){let _0x43233f=_0x40d6f2(_0x2ac980);return _0x2abb9e(bo,{'onShapeClick':_0x421d8c=>{const _0x4ce772=_0xce4a;_0x43233f[_0x4ce772(0x586)](go['id'],{'value':_0x421d8c['type'],'enhanceParams':{'endArrow':_0x421d8c[_0x4ce772(0x3db)],'startArrow':_0x421d8c[_0x4ce772(0x678)],'horizontal':_0x421d8c[_0x4ce772(0x59a)],'vertical':_0x421d8c[_0x4ce772(0x561)]}});}});}_0x1e1ccf[_0x3409bc(0x301)],_0x1e1ccf[_0x3409bc(0x3e9)],_0x1e1ccf[_0x3409bc(0x448)];function Co(_0x1471b9){const _0x6c0931=_0x3409bc;let _0x1ad8ab=_0x1471b9['get'](_0x47baf7),_0x5a9a32=_0x1471b9[_0x6c0931(0x618)](_0x545ffb);return{'id':_0x1d43ab['id'],'tooltip':_0x6c0931(0x297),'type':_0x2bd818['BUTTON_SELECTOR'],'icon':_0x6c0931(0x3dc),'selections':[{'label':{'name':_0x488ba2,'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x467353(_0x51b2f2=>{const _0x2d92bf=_0x6c0931;_0x51b2f2['next'](_0x5a9a32[_0x2d92bf(0x4f8)]('primary.600'));}),'hidden$':_0x1ad8ab[_0x6c0931(0x216)](_0x1dd58d)[_0x6c0931(0x57e)](_0x2efb6f(_0x1ad8ab[_0x6c0931(0x353)](_0x1dd58d)),_0x26eeb2(_0x5e704b=>!_0x5e704b))};}function wo(_0x362837){const _0x3ac973=_0x3409bc;let _0x4168d7=_0x362837['get'](_0x47baf7);return{'id':_0x10c5fe['id'],'type':_0x2bd818[_0x3ac973(0x583)],'title':_0x3ac973(0x32b),'hidden$':_0x4168d7[_0x3ac973(0x216)](_0x1dd58d)[_0x3ac973(0x57e)](_0x2efb6f(_0x4168d7[_0x3ac973(0x353)](_0x1dd58d)),_0x26eeb2(_0x10d14c=>!_0x10d14c))};}const To=[{'label':'sheets-shape-ui.align.left','icon':'LeftJustifyingIcon','value':_0x1e1ccf[_0x3409bc(0x301)]},{'label':_0x3409bc(0x5dc),'icon':_0x3409bc(0x3c5),'value':_0x1e1ccf['CENTER']},{'label':'sheets-shape-ui.align.right','icon':_0x3409bc(0x566),'value':_0x1e1ccf[_0x3409bc(0x448)]}];function Eo(_0xf28279){const _0x5515fd=_0x3409bc;var _0x3863d0;let _0x1bf5de=_0xf28279[_0x5515fd(0x618)](_0x2ac980),_0x5d11bb=_0xf28279[_0x5515fd(0x618)](_0x47baf7),_0x2c926d=_0xf28279['get'](_0x2bc570),_0xa5c8d=_0xf28279[_0x5515fd(0x618)](X),_0x424b06=_0xf28279[_0x5515fd(0x618)](_0x1bd6ad),_0x358406=_0x1e1ccf['LEFT'],_0xadc4da=()=>{const _0x4aadc2=_0x5515fd;var _0x112587;let _0x49117b=_0x2c926d[_0x4aadc2(0x36e)]()[_0x4aadc2(0x464)](_0x2313b4=>_0x2313b4[_0x4aadc2(0x42f)]===_0x204228[_0x4aadc2(0x4d9)]);if(_0x49117b[_0x4aadc2(0x4a0)]!==0x1)return _0x358406;let _0x50f3dd=_0xa5c8d[_0x4aadc2(0x303)](),_0x42f5ef=(_0x50f3dd==null?void 0x0:_0x50f3dd[_0x4aadc2(0x550)])||_0x49117b[0x0][_0x4aadc2(0x550)],_0x572e40=(_0x50f3dd==null?void 0x0:_0x50f3dd['subUnitId'])||_0x49117b[0x0][_0x4aadc2(0x26e)],_0x33fb80=(_0x50f3dd==null?void 0x0:_0x50f3dd['shapeId'])||_0x49117b[0x0][_0x4aadc2(0x5b0)],_0x5a65ac=_0x424b06['getShapeModel'](_0x42f5ef,_0x572e40,_0x33fb80);if(!_0x5a65ac)return _0x358406;let _0x8a2f66=_0x5a65ac[_0x4aadc2(0x324)]();if(!_0x8a2f66||!(_0x4aadc2(0x378)in _0x8a2f66))return _0x358406;let _0x2a799c=_0x8a2f66[_0x4aadc2(0x378)];return(_0x112587=_0x2a799c==null?void 0x0:_0x2a799c['ha'])==null?_0x358406:_0x112587;};return{'id':Ha['id'],'icon':(_0x3863d0=To[_0x5515fd(0x49a)](_0x527432=>_0x527432[_0x5515fd(0x224)]===_0x358406))==null?void 0x0:_0x3863d0[_0x5515fd(0x54c)],'tooltip':_0x5515fd(0x429),'type':_0x2bd818[_0x5515fd(0x64d)],'selections':To,'value$':new _0x467353(_0x280a34=>{const _0x145b36=_0x5515fd;let _0x12569c=_0x1bf5de[_0x145b36(0x422)](_0x188e41=>{const _0x499043=_0x145b36;_0x188e41['id']===Ha['id']&&_0x280a34[_0x499043(0x53b)](_0xadc4da());}),_0x4fe425=_0xa5c8d[_0x145b36(0x4be)][_0x145b36(0x54e)](()=>{_0x280a34['next'](_0xadc4da());});return _0x280a34[_0x145b36(0x53b)](_0xadc4da()),()=>{const _0x19fa03=_0x145b36;_0x12569c[_0x19fa03(0x23b)](),_0x4fe425[_0x19fa03(0x3d6)]();};}),'hidden$':_0x5d11bb['subscribeContextValue$'](_0x1dd58d)[_0x5515fd(0x57e)](_0x26eeb2(_0x30e5c1=>!_0x30e5c1))};}const Do=[{'label':_0x3409bc(0x3f4),'icon':_0x3409bc(0x376),'value':_0x26d5cf['TOP']},{'label':_0x3409bc(0x35e),'icon':_0x3409bc(0x2a7),'value':_0x26d5cf[_0x3409bc(0x484)]},{'label':_0x3409bc(0x5c8),'icon':_0x3409bc(0x28f),'value':_0x26d5cf[_0x3409bc(0x5d6)]}];function Oo(_0x25c438){const _0x25f703=_0x3409bc;var _0x4b53df;let _0xcbdcb4=_0x25c438[_0x25f703(0x618)](_0x2ac980),_0x5e1a48=_0x25c438[_0x25f703(0x618)](_0x47baf7),_0x47e432=_0x25c438[_0x25f703(0x618)](_0x2bc570),_0x65eed5=_0x25c438[_0x25f703(0x618)](X),_0x20cc86=_0x25c438[_0x25f703(0x618)](_0x1bd6ad),_0x35cb72=_0x26d5cf['TOP'],_0x5ac9c9=()=>{const _0x59fe2d=_0x25f703;var _0x43a7a8;let _0x16577e=_0x47e432[_0x59fe2d(0x36e)]()[_0x59fe2d(0x464)](_0x5908f4=>_0x5908f4['drawingType']===_0x204228['DRAWING_SHAPE']);if(_0x16577e[_0x59fe2d(0x4a0)]!==0x1)return _0x35cb72;let _0x449512=_0x65eed5[_0x59fe2d(0x303)](),_0x1fde94=(_0x449512==null?void 0x0:_0x449512[_0x59fe2d(0x550)])||_0x16577e[0x0][_0x59fe2d(0x550)],_0x29be45=(_0x449512==null?void 0x0:_0x449512[_0x59fe2d(0x26e)])||_0x16577e[0x0][_0x59fe2d(0x26e)],_0x297b35=(_0x449512==null?void 0x0:_0x449512[_0x59fe2d(0x2c5)])||_0x16577e[0x0][_0x59fe2d(0x5b0)],_0x44fa10=_0x20cc86[_0x59fe2d(0x357)](_0x1fde94,_0x29be45,_0x297b35);if(!_0x44fa10)return _0x35cb72;let _0x1910dd=_0x44fa10[_0x59fe2d(0x324)]();if(!_0x1910dd||!(_0x59fe2d(0x378)in _0x1910dd))return _0x35cb72;let _0x1debff=_0x1910dd['dataModel'];return(_0x43a7a8=_0x1debff==null?void 0x0:_0x1debff['va'])==null?_0x35cb72:_0x43a7a8;};return{'id':Ka['id'],'icon':(_0x4b53df=Do[_0x25f703(0x49a)](_0x312e50=>_0x312e50[_0x25f703(0x224)]===_0x35cb72))==null?void 0x0:_0x4b53df[_0x25f703(0x54c)],'tooltip':_0x25f703(0x32a),'type':_0x2bd818[_0x25f703(0x64d)],'selections':Do,'value$':new _0x467353(_0x1cd5e7=>{const _0x2850b0=_0x25f703;let _0x4bd1ac=_0xcbdcb4[_0x2850b0(0x422)](_0x53a467=>{_0x53a467['id']===Ka['id']&&_0x1cd5e7['next'](_0x5ac9c9());}),_0x26d6c2=_0x65eed5[_0x2850b0(0x4be)][_0x2850b0(0x54e)](()=>{_0x1cd5e7['next'](_0x5ac9c9());});return _0x1cd5e7['next'](_0x5ac9c9()),()=>{const _0x2caac3=_0x2850b0;_0x4bd1ac[_0x2caac3(0x23b)](),_0x26d6c2[_0x2caac3(0x3d6)]();};}),'hidden$':_0x5e1a48[_0x25f703(0x216)](_0x1dd58d)[_0x25f703(0x57e)](_0x26eeb2(_0x4e347f=>!_0x4e347f))};}function ko(_0x5ac6b7){const _0x5fadfb=_0x3409bc;let _0x12479e=_0x5ac6b7['get'](_0x418e4b);return{'id':go['id'],'type':_0x2bd818[_0x5fadfb(0x64d)],'selections':[{'label':{'name':yo,'hoverable':!0x1,'selectable':!0x1,'props':{'id':go['id']}}}],'icon':_0x5fadfb(0x414),'tooltip':_0x5fadfb(0x261),'activated$':_0x5df3f1(_0x12479e,!0x1,()=>new _0x467353(_0x5daf98=>{const _0x2b4b39=_0x5fadfb;_0x5daf98[_0x2b4b39(0x53b)](!0x1);})),'hidden$':_0x2295c5(_0x5ac6b7,_0x5a9a41['UNIVER_SHEET']),'disabled$':_0x497286(_0x5ac6b7)};}const Ao={[_0x5c9c52['START']]:{[_0x24aeef[_0x3409bc(0x3d2)]]:{[Ka['id']]:{'order':3.5,'menuItemFactory':Oo},[Ha['id']]:{'order':3.4,'menuItemFactory':Eo}},[_0x24aeef[_0x3409bc(0x4b6)]]:{[_0x1d43ab['id']]:{'order':0x1,'menuItemFactory':Co,[_0x10c5fe['id']]:{'order':0x0,'menuItemFactory':wo}}}},[_0x49a242[_0x3409bc(0x325)]]:{[go['id']]:{'order':0x4,'menuItemFactory':ko}}};let jo=class extends _0x24ac39{constructor(_0x4a68dc,_0x4d30d3,_0x5e0351,_0x5b8217,_0x7c1788,_0xeb0c5c,_0x266931,_0x1c9cf7,_0x2a83c0,_0x554fee,_0x1177a6){const _0x484569=_0x3409bc;super(),this[_0x484569(0x55c)]=_0x4a68dc,this[_0x484569(0x43a)]=_0x4d30d3,this[_0x484569(0x643)]=_0x5e0351,this['_menuManagerService']=_0x5b8217,this['_sheetsShapeService']=_0x7c1788,this['_localeService']=_0xeb0c5c,this[_0x484569(0x535)]=_0x266931,this[_0x484569(0x426)]=_0x1c9cf7,this[_0x484569(0x1fe)]=_0x2a83c0,this['_sheetCanvasPopManagerService']=_0x554fee,this[_0x484569(0x5e4)]=_0x1177a6,Y(this,_0x484569(0x667),null),Y(this,_0x484569(0x27c),null),Y(this,_0x484569(0x625),!0x1),this[_0x484569(0x563)](),this[_0x484569(0x41f)](),this['disposeWithMe'](this[_0x484569(0x55c)][_0x484569(0x68c)](_0x5a9a41[_0x484569(0x627)])[_0x484569(0x54e)](_0x44848e=>{const _0x53f72e=_0x484569;var _0x2d46b1;_0x44848e||(_0x2d46b1=this['_sidebarDisposable'])==null||_0x2d46b1[_0x53f72e(0x23b)]();})),this['_registerOperations'](),this['_registerShapeMenu']();}[_0x3409bc(0x41f)](){const _0xf6beb1=_0x3409bc;this[_0xf6beb1(0x298)][_0xf6beb1(0x2d2)](Ao);}['_registerShapeMenu'](){const _0x494292=_0x3409bc;this['_sheetCanvasPopManagerService'][_0x494292(0x343)](_0x204228[_0x494292(0x4d9)],this[_0x494292(0x61f)]['bind'](this)),this[_0x494292(0x3b2)][_0x494292(0x3c1)](_0x204228[_0x494292(0x4d9)],0x6,0x4);}['getShapePopupMenus'](_0x326712,_0x21b1b5,_0x1e0f10,_0x5c3457){const _0x4dd8cf=_0x3409bc;return[{'label':_0x4dd8cf(0x47f),'index':0x0,'commandId':Ya['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'drawingId':_0x1e0f10},'disable':_0x5c3457===_0x204228[_0x4dd8cf(0x331)]},{'label':'sheets-shape-ui.deleteShape','index':0x1,'commandId':_0x3cb23c['id'],'commandParams':{'unitId':_0x326712,'drawings':[{'unitId':_0x326712,'subUnitId':_0x21b1b5,'drawingId':_0x1e0f10,'drawingType':_0x5c3457}]},'disable':!0x1},{'label':_0x4dd8cf(0x22f),'index':0x2,'commandId':Ja['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'drawingId':_0x1e0f10},'disable':!0x1},{'label':_0x4dd8cf(0x279),'index':0x3,'commandId':_0x5e7a48['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'shapeId':_0x1e0f10,'flipH':!0x0},'disable':!0x1},{'label':'sheets-shape-ui.toggleFlipV','index':0x4,'commandId':_0x5e7a48['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'shapeId':_0x1e0f10,'flipV':!0x0},'disable':!0x1},{'label':_0x4dd8cf(0x2c6),'index':0x4,'commandId':_0x4a46aa['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'shapeId':_0x1e0f10,'rotate':0x5a},'disable':!0x1},{'label':_0x4dd8cf(0x45c),'index':0x4,'commandId':_0x4a46aa['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'shapeId':_0x1e0f10,'rotate':-0x5a},'disable':!0x1},{'label':_0x4dd8cf(0x2f0),'index':0x4,'commandId':_0x436158['id'],'commandParams':{'unitId':_0x326712,'subUnitId':_0x21b1b5,'shapeId':_0x1e0f10},'disable':!0x1}];}[_0x3409bc(0x2b1)](_0x35d928,_0x4c12e6,_0x397ae2){const _0x3b9cc1=_0x3409bc;let _0x384133=this[_0x3b9cc1(0x609)][_0x3b9cc1(0x308)](_0x35d928,_0x4c12e6,_0x397ae2),_0x2ad26c=this[_0x3b9cc1(0x609)][_0x3b9cc1(0x33c)](_0x35d928,_0x4c12e6,_0x397ae2);return _0x384133!==void 0x0&&_0x2ad26c!==void 0x0?{'shapeData':_0x2ad26c,'shapeId':_0x397ae2,'shapeType':_0x384133,'unitId':_0x35d928,'subUnitId':_0x4c12e6,'disableShapeOption':!0x1}:null;}[_0x3409bc(0x42b)](){const _0x572ee3=_0x3409bc;this[_0x572ee3(0x283)](this[_0x572ee3(0x426)][_0x572ee3(0x422)](_0xb1c400=>{const _0x4663e6=_0x572ee3;if(_0xb1c400['id']===Ya['id']){let {unitId:_0x1c85ca,subUnitId:_0x15f3f9,drawingId:_0x2595e4}=_0xb1c400[_0x4663e6(0x639)];this[_0x4663e6(0x27c)]=this[_0x4663e6(0x2b1)](_0x1c85ca,_0x15f3f9,_0x2595e4),this[_0x4663e6(0x4d0)]();}if(_0xb1c400['id']===Ja['id']&&(this['_activeShapeInfo']=null,this[_0x4663e6(0x51d)]()),_0xb1c400['id']===_0x284697['id']){let {unitId:_0x2e6b6a,subUnitId:_0x9f77b3,shapeId:_0x32a6ca}=_0xb1c400[_0x4663e6(0x639)];if(this[_0x4663e6(0x27c)]&&this['_activeShapeInfo'][_0x4663e6(0x2c5)]===_0x32a6ca){let _0x35338f=this[_0x4663e6(0x2b1)](_0x2e6b6a,_0x9f77b3,_0x32a6ca);_0x35338f&&(this[_0x4663e6(0x27c)]=_0x35338f);}}})),this[_0x572ee3(0x283)](this[_0x572ee3(0x1fe)][_0x572ee3(0x5d8)][_0x572ee3(0x54e)](_0x50194c=>{const _0x34466c=_0x572ee3;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x50194c[_0x34466c(0x4a0)]===0x0){this[_0x34466c(0x27c)]=null,this[_0x34466c(0x51d)]();return;}if(_0x50194c['length']===0x1&&_0x50194c[0x0][_0x34466c(0x42f)]===_0x204228[_0x34466c(0x4d9)]&&(this[_0x34466c(0x27c)]=this[_0x34466c(0x2b1)](_0x50194c[0x0]['unitId'],_0x50194c[0x0][_0x34466c(0x26e)],_0x50194c[0x0]['drawingId']),this['_activeShapeInfo'])){this['_openShapeEditPanel']();return;}let _0xe2b99d=_0x50194c['filter'](_0x540989=>_0x540989['drawingType']===_0x204228[_0x34466c(0x4d9)]);if(_0x50194c[_0x34466c(0x4a0)]>0x1&&_0xe2b99d[_0x34466c(0x4a0)]===_0x50194c['length']){if(this[_0x34466c(0x27c)]=this['_getShapeInfo'](_0x50194c[0x0][_0x34466c(0x550)],_0x50194c[0x0][_0x34466c(0x26e)],_0x50194c[0x0][_0x34466c(0x5b0)]),this[_0x34466c(0x27c)]){this['_openShapeEditPanel']();return;}}else{if(this[_0x34466c(0x27c)]=this[_0x34466c(0x2b1)](_0x50194c[0x0]['unitId'],_0x50194c[0x0][_0x34466c(0x26e)],_0x50194c[0x0][_0x34466c(0x5b0)]),this[_0x34466c(0x27c)]){this[_0x34466c(0x27c)][_0x34466c(0x22e)]=!0x0,this[_0x34466c(0x4d0)]();return;}}this[_0x34466c(0x51d)]();}));}[_0x3409bc(0x563)](){const _0xb002e2=_0x3409bc;[[_0xb002e2(0x414),_0x156c49],[_0xb002e2(0x2c3),_0x417b1f],['ShapeAccentBorderCallout2Icon',_0xeb594f],[_0xb002e2(0x386),_0x2d2342],[_0xb002e2(0x56a),_0x4127d4],[_0xb002e2(0x3bb),_0x50f5f1],['ShapeAccentCallout3Icon',_0x1ff0c7],[_0xb002e2(0x2e8),_0x3432ec],[_0xb002e2(0x35d),_0x6dafcc],[_0xb002e2(0x3a2),_0x57517c],[_0xb002e2(0x49c),_0x162465],[_0xb002e2(0x28d),_0x5e5676],[_0xb002e2(0x3fa),_0x60f723],[_0xb002e2(0x2b4),_0x141e9e],[_0xb002e2(0x385),_0x185de9],[_0xb002e2(0x4ad),_0x3260f4],[_0xb002e2(0x42e),_0x8f3653],[_0xb002e2(0x441),_0x33f95b],[_0xb002e2(0x30c),_0x31786a],['ShapeArcIcon',_0x56025f],[_0xb002e2(0x65b),_0x393777],['ShapeBentConnector3Arrow1Icon',_0x514a4f],['ShapeBentConnector3Arrow2Icon',_0x535520],[_0xb002e2(0x5b1),_0x179411],[_0xb002e2(0x40e),_0x203d72],['ShapeBevelIcon',_0x36c700],[_0xb002e2(0x207),_0x3a5614],['ShapeBorderCallout1Icon',_0x5873e2],[_0xb002e2(0x2c2),_0x568081],[_0xb002e2(0x1f5),_0x2b5606],[_0xb002e2(0x294),_0x3385a9],[_0xb002e2(0x34c),_0x275ffe],['ShapeCallout1Icon',_0x165c07],[_0xb002e2(0x4b0),_0x1438c7],[_0xb002e2(0x3d3),_0x1cb85b],[_0xb002e2(0x3b7),_0x419d3a],[_0xb002e2(0x2ec),_0x25322a],['ShapeChartStarIcon',_0x37c9d4],['ShapeChartXIcon',_0x4e3484],['ShapeChevronIcon',_0x3cb986],['ShapeChordIcon',_0x4668bc],[_0xb002e2(0x2b2),_0x2ef0e1],[_0xb002e2(0x2ad),_0x310ec6],['ShapeCloudIcon',_0x186741],[_0xb002e2(0x540),_0x1e37d0],[_0xb002e2(0x534),_0x3df584],[_0xb002e2(0x4ed),_0x2a5894],['ShapeCurvedConnector3Arrow1Icon',_0x43f57a],[_0xb002e2(0x4a4),_0x1e9cc6],[_0xb002e2(0x30f),_0x235df8],['ShapeCurvedDownArrowIcon',_0x54bfe8],[_0xb002e2(0x365),_0x5b6429],[_0xb002e2(0x4f2),_0x1b52f7],['ShapeCurvedUpArrowIcon',_0x3e0d24],[_0xb002e2(0x39f),_0x529d49],['ShapeDiagStripeIcon',_0xf99aa0],[_0xb002e2(0x2a4),_0x3fe2c2],[_0xb002e2(0x556),_0x2b4487],[_0xb002e2(0x2c7),_0xc7c722],[_0xb002e2(0x358),_0x1b50ad],[_0xb002e2(0x32f),_0x409589],[_0xb002e2(0x29d),_0x26b8ea],[_0xb002e2(0x48e),_0x49ac63],[_0xb002e2(0x607),_0x3a1883],[_0xb002e2(0x337),_0x4d4c22],[_0xb002e2(0x652),_0x5426b3],[_0xb002e2(0x440),_0x5add4c],[_0xb002e2(0x1f4),_0xe6c713],['ShapeFlowChartDecisionIcon',_0x1a9c72],[_0xb002e2(0x4f7),_0x32002e],[_0xb002e2(0x332),_0x4ff0c5],[_0xb002e2(0x497),_0xfb0ee2],[_0xb002e2(0x34e),_0x5e31ca],[_0xb002e2(0x1ed),_0x157992],[_0xb002e2(0x562),_0x3d53a2],['ShapeFlowChartMagneticDiskIcon',_0x15532c],[_0xb002e2(0x594),_0x770f33],[_0xb002e2(0x306),_0x18b209],[_0xb002e2(0x26d),_0x10112d],[_0xb002e2(0x59f),_0x4a349d],[_0xb002e2(0x44a),_0x3872e9],[_0xb002e2(0x43d),_0x1d2e00],[_0xb002e2(0x4bb),_0x453fd6],[_0xb002e2(0x4ac),_0x1e036a],[_0xb002e2(0x381),_0x31646f],['ShapeFlowChartOrIcon',_0x2c2b19],[_0xb002e2(0x43f),_0x7afe8e],['ShapeFlowChartPreparationIcon',_0x49cea1],['ShapeFlowChartProcessIcon',_0x2013f8],[_0xb002e2(0x59d),_0x15cd8f],['ShapeFlowChartPunchedTapeIcon',_0x5ae613],['ShapeFlowChartSortIcon',_0x8fa1b9],[_0xb002e2(0x2ca),_0x20a918],['ShapeFlowChartTerminatorIcon',_0x30734d],['ShapeFolderCornerIcon',_0x5291e3],[_0xb002e2(0x501),_0x4f2433],[_0xb002e2(0x41d),_0xc9ddba],[_0xb002e2(0x695),_0x19ac15],['ShapeGear9Icon',_0x52cf5a],[_0xb002e2(0x5d9),_0x3d5f66],[_0xb002e2(0x401),_0xc9625f],[_0xb002e2(0x546),_0x1560be],[_0xb002e2(0x601),_0x156bea],[_0xb002e2(0x482),_0x4c664d],[_0xb002e2(0x50a),_0x3994ad],[_0xb002e2(0x565),_0x2191ff],[_0xb002e2(0x3d9),_0x4d7698],[_0xb002e2(0x638),_0x3ad435],[_0xb002e2(0x526),_0x22d9fe],[_0xb002e2(0x2da),_0x1563d4],[_0xb002e2(0x338),_0x341756],[_0xb002e2(0x433),_0x376b25],[_0xb002e2(0x3fd),_0x2fe2fa],[_0xb002e2(0x39b),_0x4616f2],[_0xb002e2(0x241),_0x31c95c],[_0xb002e2(0x62e),_0x24edc6],[_0xb002e2(0x689),_0x539ec6],[_0xb002e2(0x5b8),_0x3b5662],['ShapeLightningBoltIcon',_0x31205c],[_0xb002e2(0x61d),_0x4dce0c],['ShapeLineInvIcon',_0x182285],[_0xb002e2(0x315),_0x1cf9d9],[_0xb002e2(0x4af),_0x2cf5cd],[_0xb002e2(0x53e),_0x7686bf],[_0xb002e2(0x455),_0x1eaabe],[_0xb002e2(0x5ec),_0x5bc8e8],[_0xb002e2(0x460),_0x74136f],['ShapeMoonIcon',_0x218327],[_0xb002e2(0x250),_0x4254e9],[_0xb002e2(0x400),_0x457c75],[_0xb002e2(0x3b4),_0x296452],[_0xb002e2(0x394),_0x2c759d],[_0xb002e2(0x5c6),_0x59f878],[_0xb002e2(0x1eb),_0x5f1a80],[_0xb002e2(0x2b6),_0x9d19d4],[_0xb002e2(0x691),_0x378328],[_0xb002e2(0x40c),_0xe8b9e7],[_0xb002e2(0x244),_0x56602b],[_0xb002e2(0x327),_0xcf849b],[_0xb002e2(0x65e),_0x24421e],[_0xb002e2(0x509),_0xfac9d0],[_0xb002e2(0x319),_0x327357],[_0xb002e2(0x4d4),_0x492756],['ShapeRectTextboxVerticalIcon',_0x4f05ad],['ShapeRibbon2Icon',_0x526262],[_0xb002e2(0x3c6),_0x4386de],['ShapeRightArrowCalloutIcon',_0x465591],[_0xb002e2(0x5d5),_0x17bae3],[_0xb002e2(0x217),_0x291379],['ShapeRightBracketIcon',_0x13525e],['ShapeRound1RectIcon',_0x3788a1],[_0xb002e2(0x5f0),_0x4b60d7],[_0xb002e2(0x328),_0x3a3a6e],['ShapeRoundRectIcon',_0x2c7d8a],['ShapeRtTriangleIcon',_0x55cf5a],[_0xb002e2(0x645),_0x26220b],[_0xb002e2(0x5b2),_0x53d03a],[_0xb002e2(0x22d),_0x5ce018],['ShapeSnip2SameRectIcon',_0x479f27],[_0xb002e2(0x57c),_0x14ea40],[_0xb002e2(0x477),_0x44dad5],[_0xb002e2(0x620),_0x570c2e],['ShapeStar12Icon',_0x23d4ae],[_0xb002e2(0x260),_0x1db01c],[_0xb002e2(0x2a2),_0x57f0f8],[_0xb002e2(0x3a1),_0x5b0481],[_0xb002e2(0x2ef),_0x122482],[_0xb002e2(0x1e5),_0x15495b],[_0xb002e2(0x320),_0x121cf8],[_0xb002e2(0x21a),_0x46b081],[_0xb002e2(0x1fd),_0x407bfb],['ShapeStraightConnector1Icon',_0x8fafd6],[_0xb002e2(0x580),_0x5194f1],[_0xb002e2(0x4fa),_0x21b695],[_0xb002e2(0x242),_0x2a34cf],['ShapeSwooshArrowIcon',_0x123aa8],[_0xb002e2(0x351),_0x30282b],[_0xb002e2(0x5df),_0x42928b],['ShapeTriangleIcon',_0x40090f],[_0xb002e2(0x25f),_0x5e18df],[_0xb002e2(0x4c7),_0x488f2f],[_0xb002e2(0x640),_0x45ef91],[_0xb002e2(0x1ea),_0xa0bce1],['ShapeUturnArrowIcon',_0x3ff8db],[_0xb002e2(0x221),_0x4b6d09],[_0xb002e2(0x220),_0x29cfee],[_0xb002e2(0x28c),_0x986ce2],[_0xb002e2(0x395),_0x365430],[_0xb002e2(0x316),_0x22ee45],[Xa,fo],[yo,So],[_0x53328c,xo]][_0xb002e2(0x2d9)](([_0x4f07fd,_0x2567f1])=>{const _0xe64646=_0xb002e2;this[_0xe64646(0x283)](this[_0xe64646(0x535)][_0xe64646(0x533)](_0x4f07fd,_0x2567f1));});}[_0x3409bc(0x4d0)](){const _0x5ccb2d=_0x3409bc;this[_0x5ccb2d(0x667)]=this[_0x5ccb2d(0x643)]['open']({'id':Xa,'header':{'title':this[_0x5ccb2d(0x33f)]['t']('sheets-shape-ui.formatShape')},'width':0x184,'children':{'label':Xa,...this['_activeShapeInfo']},'onClose':()=>{const _0x3d7b0d=_0x5ccb2d;this[_0x3d7b0d(0x1fe)][_0x3d7b0d(0x4c0)](null),this[_0x3d7b0d(0x5e4)][_0x3d7b0d(0x33b)](_0x1dd58d,!0x1),this['_sidebarDisposable']=null;}}),this[_0x5ccb2d(0x625)]=!0x0;}[_0x3409bc(0x51d)](){const _0x350ca6=_0x3409bc;this[_0x350ca6(0x625)]=!0x1,this[_0x350ca6(0x643)][_0x350ca6(0x3d0)](Xa),this[_0x350ca6(0x667)]=null,this[_0x350ca6(0x5e4)][_0x350ca6(0x33b)](_0x1dd58d,!0x1),this[_0x350ca6(0x1fe)][_0x350ca6(0x4c0)](null);}};jo=$([Q(0x0,_0x418e4b),Q(0x1,_0x54f4ad(_0x18194f)),Q(0x2,_0x54f4ad(_0x41b128)),Q(0x3,_0xac649d),Q(0x4,_0x54f4ad(_0x1bd6ad)),Q(0x5,_0x54f4ad(_0x13096e)),Q(0x6,_0x54f4ad(_0x25b5d9)),Q(0x7,_0x2ac980),Q(0x8,_0x132f48),Q(0x9,_0x54f4ad(_0x29f22c)),Q(0xa,_0x47baf7)],jo);var Mo=_0x3409bc(0x48d),No='0.25.1';const Po={};let Fo=class extends _0x24ac39{constructor(_0x5937be,_0x470559,_0x56b5ff,_0x38a25c,_0x5998fe){const _0x15666f=_0x3409bc;super(),this[_0x15666f(0x648)]=_0x5937be,this[_0x15666f(0x1fe)]=_0x470559,this[_0x15666f(0x4ee)]=_0x56b5ff,this['_univerInstanceService']=_0x38a25c,this[_0x15666f(0x2ff)]=_0x5998fe,Y(this,_0x15666f(0x4f9),null),Y(this,_0x15666f(0x66d),null),Y(this,_0x15666f(0x36d),null),Y(this,_0x15666f(0x51a),void 0x0),Y(this,_0x15666f(0x4a8),[]),Y(this,_0x15666f(0x450),0x0),Y(this,'_baseTop',0x0),Y(this,_0x15666f(0x405),0x0),Y(this,'_baseHeight',0x0),Y(this,_0x15666f(0x52e),!0x1),Y(this,_0x15666f(0x29f),void 0x0),Y(this,_0x15666f(0x453),void 0x0),Y(this,_0x15666f(0x398),void 0x0),Y(this,_0x15666f(0x64c),void 0x0),Y(this,_0x15666f(0x5a9),!0x1),this[_0x15666f(0x424)](),this[_0x15666f(0x559)]();}[_0x3409bc(0x333)](){const _0x130e1d=_0x3409bc;this[_0x130e1d(0x615)]();}[_0x3409bc(0x571)](){const _0x2af651=_0x3409bc;this[_0x2af651(0x615)](),this[_0x2af651(0x277)](!0x0);}[_0x3409bc(0x412)](_0x2da8e3,_0x4e34e2,_0x3cd36d,_0x1e2683){const _0x4d223f=_0x3409bc;let _0x45e753=_0x2da8e3;if(!(_0x45e753===_0x4ac0a4['None']||_0x2da8e3==='custom'))try{let _0x4c3399=new _0x4b418f(_0x45e753,_0x4d223f(0x346)+_0x2da8e3);return _0x1e2683&&_0x4c3399[_0x4d223f(0x1dd)]({'adjustValues':_0x1e2683},!0x0),_0x4c3399[_0x4d223f(0x266)]({'width':_0x4e34e2,'height':_0x3cd36d}),_0x4c3399;}catch{return;}}[_0x3409bc(0x38e)](_0x55e905,_0x5b76e9,_0x1d8e6c){const _0x2f6cbb=_0x3409bc;let _0x356893={'unitId':_0x55e905,'subUnitId':_0x5b76e9,'drawingId':_0x1d8e6c},_0x1755f1=this[_0x2f6cbb(0x1fe)][_0x2f6cbb(0x3c8)](_0x356893);if(!(!_0x1755f1||_0x1755f1[_0x2f6cbb(0x42f)]!==_0x204228['DRAWING_IMAGE']))return _0x1755f1;}['_getImagePrstGeom'](_0x133799,_0xb2400f,_0xb79983){const _0xe105fb=_0x3409bc;let _0x3b08fe=this[_0xe105fb(0x4ee)][_0xe105fb(0x2db)](_0x133799);if(!_0x3b08fe)return;let {scene:_0x1765ab}=_0x3b08fe,_0x430e71=_0xd64c82({'unitId':_0x133799,'subUnitId':_0xb2400f,'drawingId':_0xb79983}),_0x386ddb=_0x1765ab[_0xe105fb(0x2c9)](_0x430e71);if(_0x386ddb instanceof _0x2179a3){let _0x198000=_0x386ddb[_0xe105fb(0x5b6)];if(_0x198000)return{'prstGeom':_0x198000,'adjustValues':_0x386ddb[_0xe105fb(0x2fd)]};}}[_0x3409bc(0x277)](_0x5a6d64=!0x1){const _0x2d1a2d=_0x3409bc;if(!this[_0x2d1a2d(0x66d)]||!this[_0x2d1a2d(0x36d)]||!this[_0x2d1a2d(0x4f9)])return;let _0x5712f3=this[_0x2d1a2d(0x4ee)][_0x2d1a2d(0x2db)](this[_0x2d1a2d(0x66d)]);if(!_0x5712f3||!_0x5712f3['with'](_0x29be30)[_0x2d1a2d(0x58b)]())return;let {scene:_0x5cc3ba}=_0x5712f3,_0xe7f38d=this[_0x2d1a2d(0x38e)](this[_0x2d1a2d(0x66d)],this['_subUnitId'],this[_0x2d1a2d(0x4f9)]);if(!_0xe7f38d)return;let {transform:_0xb47b45}=_0xe7f38d;if(!_0xb47b45)return;let {left:_0xe6dc26,top:_0x2a02da,width:_0x419de6,height:_0x4ccea4,flipX:_0x2352b2,flipY:_0x333afd,angle:_0x23ea88=0x0}=_0xb47b45;if(_0xe6dc26===void 0x0||_0x2a02da===void 0x0)return;let _0x250f0e=this['_getImagePrstGeom'](this[_0x2d1a2d(0x66d)],this['_subUnitId'],this[_0x2d1a2d(0x4f9)]);if(!_0x250f0e)return;if(_0x5a6d64){let _0x3a4915=this[_0x2d1a2d(0x412)](_0x250f0e[_0x2d1a2d(0x5b6)],_0x419de6||0x0,_0x4ccea4||0x0,_0x250f0e[_0x2d1a2d(0x589)]);if(!_0x3a4915)return;this[_0x2d1a2d(0x51a)]=_0x3a4915['getDrawingPoints']();}let _0x4edbcd=this[_0x2d1a2d(0x51a)];if(!(!_0x4edbcd||_0x4edbcd['length']===0x0))for(let _0x4ae85f=0x0;_0x4ae85f<_0x4edbcd[_0x2d1a2d(0x4a0)];_0x4ae85f++){let _0x525270=_0x4edbcd[_0x4ae85f],_0x90eb88=_0x525270['x'],_0x292658=_0x525270['y'];if(_0x2352b2&&(_0x90eb88=(_0x419de6||0x0)-_0x90eb88),_0x333afd&&(_0x292658=(_0x4ccea4||0x0)-_0x292658),_0x23ea88!==0x0){let _0x219c5c=(_0x419de6||0x0)/0x2,_0x10a306=(_0x4ccea4||0x0)/0x2,_0x1ecd2e=_0x23ea88*Math['PI']/0xb4,_0x1259bc=Math[_0x2d1a2d(0x5f2)](_0x1ecd2e),_0x18e256=Math[_0x2d1a2d(0x269)](_0x1ecd2e),_0x31fcea=_0x90eb88-_0x219c5c,_0x323ce9=_0x292658-_0x10a306;_0x90eb88=_0x219c5c+(_0x31fcea*_0x1259bc-_0x323ce9*_0x18e256),_0x292658=_0x10a306+(_0x31fcea*_0x18e256+_0x323ce9*_0x1259bc);}let _0x16aca5={'x':_0x90eb88,'y':_0x292658,'adjName':_0x525270[_0x2d1a2d(0x557)]};this['_addControl'](_0x5cc3ba,_0x16aca5,_0x16aca5[_0x2d1a2d(0x557)],_0xe6dc26,_0x2a02da,this[_0x2d1a2d(0x66d)],this[_0x2d1a2d(0x36d)]);}}[_0x3409bc(0x3b8)](_0x1eca8d,_0x4bca9f,_0x4b34d0,_0x33d3ad,_0x19d6e8,_0x4e4fc3,_0x4f0742){const _0x17dd41=_0x3409bc;if(!this[_0x17dd41(0x4f9)])return;let _0x42357e='image-clip-adjust-point-'+this[_0x17dd41(0x4f9)]+'-'+_0x4b34d0,_0x468dbd=_0x1eca8d[_0x17dd41(0x251)](_0x42357e);if(_0x468dbd){_0x468dbd[_0x17dd41(0x4f4)]({'left':_0x4bca9f['x']+_0x33d3ad-_0x22accf['adjHandleSize'],'top':_0x4bca9f['y']+_0x19d6e8-_0x22accf['adjHandleSize']});return;}let _0x1cee71=new po(_0x42357e,{'left':_0x4bca9f['x']+_0x33d3ad-_0x22accf['adjHandleSize'],'top':_0x4bca9f['y']+_0x19d6e8-_0x22accf[_0x17dd41(0x4b2)],'adjName':_0x4b34d0,'shapeId':this[_0x17dd41(0x4f9)],'unitId':_0x4e4fc3,'subUnitId':_0x4f0742,'width':_0x22accf['adjHandleSize']+0x8,'height':_0x22accf[_0x17dd41(0x4b2)]+0x8,'zIndex':_0x3ec92b+0x1,'evented':!0x0});this[_0x17dd41(0x4a8)]['push'](_0x1cee71),this[_0x17dd41(0x439)](_0x1cee71,_0x1eca8d,_0x4b34d0),_0x1eca8d['addObject'](_0x1cee71,_0x3ec92b+0x1);}[_0x3409bc(0x615)](){const _0xaf7cd4=_0x3409bc;this[_0xaf7cd4(0x4a8)]['length']!==0x0&&(this[_0xaf7cd4(0x4a8)]['forEach'](_0x5ac5ac=>_0x5ac5ac[_0xaf7cd4(0x23b)]()),this[_0xaf7cd4(0x4a8)]=[]);}[_0x3409bc(0x55f)](_0x37ed47,_0x5d3461){const _0x1479ee=_0x3409bc;var _0x24246f;let _0x526b28={'x':0x0,'y':0x0},_0x553d7b=this[_0x1479ee(0x4ee)][_0x1479ee(0x2db)](_0x37ed47);if(!_0x553d7b||!_0x553d7b[_0x1479ee(0x5fa)](_0x29be30)[_0x1479ee(0x299)](_0x5d3461))return _0x526b28;let _0x2231a4=_0x553d7b[_0x1479ee(0x5fa)](_0x1f13de),_0x2d4fbd=_0x2231a4==null?void 0x0:_0x2231a4[_0x1479ee(0x2ab)]();if(!_0x2d4fbd)return _0x526b28;let _0x1c6408=(_0x24246f=this[_0x1479ee(0x55c)][_0x1479ee(0x5a2)](_0x37ed47))==null?void 0x0:_0x24246f[_0x1479ee(0x4c8)](_0x5d3461);if(!_0x1c6408)return _0x526b28;let _0x2215c3=_0x201043(_0x2d4fbd['sheetViewStartRow'],_0x2d4fbd[_0x1479ee(0x64a)],_0x553d7b[_0x1479ee(0x2f2)],_0x1c6408);return _0x2215c3?{'x':_0x2215c3['viewportScrollX'],'y':_0x2215c3[_0x1479ee(0x503)]}:_0x526b28;}[_0x3409bc(0x3be)](_0x448850,_0x4c864c){const _0x2853ef=_0x3409bc;var _0x593b73,_0x476be1;let _0x2fa07e=(_0x593b73=this['_univerInstanceService']['getUnit'](_0x448850))==null?void 0x0:_0x593b73['getSheetBySheetId'](_0x4c864c);return(_0x476be1=_0x2fa07e==null?void 0x0:_0x2fa07e[_0x2853ef(0x33e)]())==null?0x1:_0x476be1;}[_0x3409bc(0x439)](_0x173685,_0x41c508,_0x3e2db2){const _0x3cd62b=_0x3409bc;this['disposeWithMe'](_0x7feef0(_0x173685[_0x3cd62b(0x63e)][_0x3cd62b(0x367)]((_0x2472b7,_0x3cd4a2)=>{const _0x42bdb0=_0x3cd62b;var _0x119b30,_0x577f71,_0x1246b9;let {unitId:_0x3fc481,subUnitId:_0x65e99f,drawingId:_0x6df8df}=_0x173685['getDrawingSearch'](),_0x527c88=this[_0x42bdb0(0x38e)](_0x3fc481,_0x65e99f,_0x6df8df);if(!(_0x527c88!=null&&_0x527c88[_0x42bdb0(0x290)]))return;let {left:_0x3fbda0,top:_0x5593f6,width:_0x2e5996,height:_0x4d1a48}=_0x527c88[_0x42bdb0(0x290)];this[_0x42bdb0(0x450)]=_0x3fbda0||0x0,this['_baseTop']=_0x5593f6||0x0,this['_baseWidth']=_0x2e5996||0x0,this[_0x42bdb0(0x27f)]=_0x4d1a48||0x0;let _0xae3938=!!((_0x119b30=_0x527c88[_0x42bdb0(0x290)])!=null&&_0x119b30[_0x42bdb0(0x574)]),_0x571b53=!!((_0x577f71=_0x527c88[_0x42bdb0(0x290)])!=null&&_0x577f71['flipY']),_0xb8db38=((_0x1246b9=_0x527c88['transform'])==null?void 0x0:_0x1246b9[_0x42bdb0(0x35b)])||0x0,_0x214f90=this['_getImagePrstGeom'](_0x3fc481,_0x65e99f,_0x6df8df);if(!_0x214f90)return;let _0x3ecff2=this['_getOrCreateShapeModel'](_0x214f90[_0x42bdb0(0x5b6)],this['_baseWidth'],this[_0x42bdb0(0x27f)],_0x214f90[_0x42bdb0(0x589)]);if(!_0x3ecff2||(this[_0x42bdb0(0x453)]=_0x3ecff2,this[_0x42bdb0(0x29f)]=_0x3ecff2[_0x42bdb0(0x213)](_0x3e2db2),!this['_activeAdjustInfo']))return;this[_0x42bdb0(0x52e)]=!0x0,_0x41c508[_0x42bdb0(0x46f)]();let _0x2f02fd=_0x214f90['prstGeom'];this['_adjHandlerPointerMove']=_0x41c508['onPointerMove$'][_0x42bdb0(0x367)]((_0x213f2f,_0x257bde)=>{const _0x11fe8f=_0x42bdb0;if(!this['_isStartAdjusting'])return;let {offsetX:_0x5d4365,offsetY:_0x4575b0}=_0x213f2f,_0x4d447a=this[_0x11fe8f(0x29f)];if(!this['_activeShapeModel']||!_0x4d447a)return;_0x41c508[_0x11fe8f(0x46f)](),_0x41c508[_0x11fe8f(0x4e5)](_0x402563[_0x11fe8f(0x3cb)]);let _0x569d47={'left':0x0,'top':0x0,'width':this[_0x11fe8f(0x405)],'height':this[_0x11fe8f(0x27f)]},_0x55d1b4=this[_0x11fe8f(0x55f)](_0x3fc481,_0x65e99f),_0x4d5df2=this[_0x11fe8f(0x3be)](_0x3fc481,_0x65e99f),_0x1012b8=_0x5d4365/_0x4d5df2+_0x55d1b4['x']-this[_0x11fe8f(0x450)],_0x109cb5=_0x4575b0/_0x4d5df2+_0x55d1b4['y']-this[_0x11fe8f(0x4f6)];if(_0xb8db38!==0x0){let _0x207c77=this['_baseWidth']/0x2,_0x374683=this[_0x11fe8f(0x27f)]/0x2,_0x277d2a=_0xb8db38*Math['PI']/0xb4,_0x4eb036=Math[_0x11fe8f(0x5f2)](_0x277d2a),_0x5589da=Math[_0x11fe8f(0x269)](_0x277d2a),_0x108756=_0x1012b8-_0x207c77,_0xfab689=_0x109cb5-_0x374683;_0x1012b8=_0x207c77+(_0x108756*_0x4eb036+_0xfab689*_0x5589da),_0x109cb5=_0x374683+(-_0x108756*_0x5589da+_0xfab689*_0x4eb036);}_0xae3938&&(_0x1012b8=this['_baseWidth']-_0x1012b8),_0x571b53&&(_0x109cb5=this[_0x11fe8f(0x27f)]-_0x109cb5);let _0x579b9a=this[_0x11fe8f(0x453)]['calcAdjValue'](_0x569d47,{'x':_0x1012b8,'y':_0x109cb5},_0x4d447a,_0xae3938,_0x571b53),_0x5d9658=_0x4d447a['gdRefX']||_0x4d447a[_0x11fe8f(0x5fd)]||_0x4d447a[_0x11fe8f(0x309)]||_0x4d447a[_0x11fe8f(0x677)];_0x5d9658!==void 0x0&&(this['_activeShapeModel']['setAdjustValueByName'](_0x5d9658,_0x579b9a),this[_0x11fe8f(0x453)][_0x11fe8f(0x266)]({'width':this[_0x11fe8f(0x405)],'height':this['_baseHeight']}),this['_updateImageAdjValues'](_0x3fc481,_0x65e99f,_0x6df8df,_0x5d9658,_0x579b9a),this['_activeAdjustPointList']=this[_0x11fe8f(0x453)][_0x11fe8f(0x5de)](),this['_activeAdjustInfo']=this[_0x11fe8f(0x453)][_0x11fe8f(0x213)](_0x3e2db2),this[_0x11fe8f(0x277)](),_0x257bde[_0x11fe8f(0x382)]());}),this['_adjHandlerPointerUp']=_0x41c508['onPointerUp$'][_0x42bdb0(0x367)]((_0x43b8ad,_0x32014f)=>{const _0x3215c2=_0x42bdb0;if(this[_0x3215c2(0x398)][_0x3215c2(0x3d6)](),this[_0x3215c2(0x64c)][_0x3215c2(0x3d6)](),_0x41c508['resetCursor'](),this[_0x3215c2(0x453)]){let _0xabae6f=this['_activeShapeModel'][_0x3215c2(0x60e)](),_0xe0911a={};for(let _0x444896 of _0xabae6f){let _0x5288f5=this['_activeShapeModel']['getAdjustValueByName'](_0x444896);_0x5288f5!==void 0x0&&(_0xe0911a[_0x444896]=_0x5288f5);}this[_0x3215c2(0x2ff)][_0x3215c2(0x363)](_0x3fc481,_0x65e99f,_0x6df8df,_0x2f02fd,_0xe0911a);}this[_0x3215c2(0x29f)]=void 0x0,this[_0x3215c2(0x453)]=void 0x0,this[_0x3215c2(0x52e)]=!0x1,_0x32014f['stopPropagation'](),_0x41c508['enableObjectsEvent']();}),_0x3cd4a2[_0x42bdb0(0x382)]();})));}[_0x3409bc(0x3c2)](_0x9761cf,_0x175b71,_0x278d5c,_0x5e38da,_0x3ab8f0){const _0x1ba860=_0x3409bc;let _0x219e22=this['_renderManagerService'][_0x1ba860(0x2db)](_0x9761cf);if(!_0x219e22)return;let {scene:_0x2ddb95}=_0x219e22,_0xbcd634=_0xd64c82({'unitId':_0x9761cf,'subUnitId':_0x175b71,'drawingId':_0x278d5c}),_0xb82d1b=_0x2ddb95[_0x1ba860(0x2c9)](_0xbcd634);if(_0xb82d1b instanceof _0x2179a3){var _0x11d860;let _0x45a3f3=(_0x11d860=_0xb82d1b[_0x1ba860(0x2fd)])==null?{}:_0x11d860;_0xb82d1b[_0x1ba860(0x5ff)]({..._0x45a3f3,[_0x5e38da]:_0x3ab8f0}),_0xb82d1b[_0x1ba860(0x5d0)](!0x0);}}[_0x3409bc(0x559)](){const _0x21de9e=_0x3409bc;let _0xa58e55=this['_univerInstanceService'][_0x21de9e(0x68c)](_0x5a9a41[_0x21de9e(0x627)]);this[_0x21de9e(0x283)](_0xa58e55[_0x21de9e(0x57e)](_0x44dfd5(_0x284d5b=>_0x284d5b?_0x284d5b[_0x21de9e(0x621)][_0x21de9e(0x57e)](_0x44dfd5(_0x1705b0=>{const _0x5aae07=_0x21de9e;if(!_0x1705b0)return _0x5294e6;let _0x451995=_0x284d5b[_0x5aae07(0x684)](),_0x425490=this[_0x5aae07(0x4ee)][_0x5aae07(0x2db)](_0x451995),_0xd212e6=_0x425490==null?void 0x0:_0x425490[_0x5aae07(0x2f2)];return _0xd212e6?_0x100f34(_0xd212e6):_0x5294e6;})):_0x5294e6))[_0x21de9e(0x54e)](_0x5c25df=>{const _0x17ae19=_0x21de9e;let _0x94d86b=_0x5c25df['getTransformerByCreate']();this['disposeWithMe'](_0x5c25df['onPointerMove$'][_0x17ae19(0x367)](()=>{this['_isImagePointerDown']&&this['_clearControls']();})),this[_0x17ae19(0x283)](_0x94d86b[_0x17ae19(0x2cd)][_0x17ae19(0x54e)](_0x5b2a72=>{const _0xdb038a=_0x17ae19;let {objects:_0x3aa8bb}=_0x5b2a72;if(this[_0xdb038a(0x277)](),_0x3aa8bb!==null&&_0x3aa8bb[_0xdb038a(0x200)]===0x1){let _0x46dd89=_0x3aa8bb[_0xdb038a(0x438)]()[_0xdb038a(0x53b)]()[_0xdb038a(0x224)];_0x46dd89 instanceof _0x2179a3&&_0x46dd89[_0xdb038a(0x5b6)]&&(this[_0xdb038a(0x5a9)]=!0x0);}})),this[_0x17ae19(0x283)](_0x94d86b[_0x17ae19(0x418)][_0x17ae19(0x54e)](()=>{const _0x17da4b=_0x17ae19;this['_isImagePointerDown']&&this[_0x17da4b(0x615)]();})),this[_0x17ae19(0x283)](_0x5c25df[_0x17ae19(0x58e)][_0x17ae19(0x367)](()=>{const _0x609ff=_0x17ae19;this['_isImagePointerDown']&&(this[_0x609ff(0x5a9)]=!0x1,this[_0x609ff(0x277)]());})),this[_0x17ae19(0x283)](_0x94d86b[_0x17ae19(0x48a)][_0x17ae19(0x54e)](()=>{const _0x5719ee=_0x17ae19;if(this['_unitId']&&this[_0x5719ee(0x36d)]&&this[_0x5719ee(0x4f9)]){let _0x3afba4=this[_0x5719ee(0x28a)](this['_unitId'],this['_subUnitId'],this[_0x5719ee(0x4f9)]);if(_0x3afba4){var _0x4db8bc,_0x19d358;let _0x2f2ef1=this[_0x5719ee(0x38e)](this[_0x5719ee(0x66d)],this[_0x5719ee(0x36d)],this['_activeImageId']),_0x115088=(_0x2f2ef1==null||(_0x4db8bc=_0x2f2ef1['transform'])==null?void 0x0:_0x4db8bc[_0x5719ee(0x516)])||0x0,_0x5476aa=(_0x2f2ef1==null||(_0x19d358=_0x2f2ef1['transform'])==null?void 0x0:_0x19d358[_0x5719ee(0x487)])||0x0,_0xcfaead=this['_getOrCreateShapeModel'](_0x3afba4[_0x5719ee(0x5b6)],_0x115088,_0x5476aa,_0x3afba4[_0x5719ee(0x589)]);_0xcfaead&&(this['_activeAdjustPointList']=_0xcfaead[_0x5719ee(0x5de)](),this[_0x5719ee(0x615)](),this[_0x5719ee(0x277)](!0x0));}}}));}));}[_0x3409bc(0x424)](){const _0x3f7cce=_0x3409bc;this['disposeWithMe'](this[_0x3f7cce(0x1fe)][_0x3f7cce(0x5d8)][_0x3f7cce(0x54e)](_0x179520=>{const _0x224688=_0x3f7cce;if(_0x179520['length']===0x1){let _0x5e6bff=_0x179520[0x0];if(_0x5e6bff[_0x224688(0x42f)]===_0x204228[_0x224688(0x258)]){let {unitId:_0x58b961,subUnitId:_0x5b4ce1,drawingId:_0x49851f}=_0x5e6bff,_0x200492=this[_0x224688(0x28a)](_0x58b961,_0x5b4ce1,_0x49851f);if(_0x200492){var _0x5aa237,_0x5b27b3;this[_0x224688(0x4f9)]=_0x49851f,this[_0x224688(0x66d)]=_0x58b961,this[_0x224688(0x36d)]=_0x5b4ce1;let _0x50176a=this[_0x224688(0x38e)](_0x58b961,_0x5b4ce1,_0x49851f),_0x28fd40=(_0x50176a==null||(_0x5aa237=_0x50176a['transform'])==null?void 0x0:_0x5aa237[_0x224688(0x516)])||0x0,_0x4dcaf5=(_0x50176a==null||(_0x5b27b3=_0x50176a[_0x224688(0x290)])==null?void 0x0:_0x5b27b3[_0x224688(0x487)])||0x0,_0x4f3b36=this[_0x224688(0x412)](_0x200492[_0x224688(0x5b6)],_0x28fd40,_0x4dcaf5,_0x200492['adjustValues']);_0x4f3b36&&(this[_0x224688(0x51a)]=_0x4f3b36[_0x224688(0x5de)]()),this[_0x224688(0x615)](),this[_0x224688(0x277)](!0x0);}else this['_resetState']();}else this[_0x224688(0x28e)]();}else this[_0x224688(0x28e)]();})),this[_0x3f7cce(0x283)](this[_0x3f7cce(0x1fe)][_0x3f7cce(0x228)][_0x3f7cce(0x54e)](_0x56158a=>{const _0x56e4f4=_0x3f7cce;if(_0x56158a[_0x56e4f4(0x4a0)]===0x1){let _0x2ea2ca=_0x56158a[0x0],_0x39eb93=this[_0x56e4f4(0x1fe)][_0x56e4f4(0x3c8)](_0x2ea2ca);(_0x39eb93==null?void 0x0:_0x39eb93['drawingType'])===_0x204228[_0x56e4f4(0x258)]&&this[_0x56e4f4(0x4f9)]===_0x2ea2ca[_0x56e4f4(0x5b0)]&&(this[_0x56e4f4(0x615)](),this[_0x56e4f4(0x277)](!0x0));}})),this['disposeWithMe'](this[_0x3f7cce(0x1fe)][_0x3f7cce(0x226)]['subscribe'](_0x50c495=>{const _0x1b78cc=_0x3f7cce;for(let _0x465d2b of _0x50c495)this['_activeImageId']===_0x465d2b[_0x1b78cc(0x5b0)]&&this['_resetState']();}));}[_0x3409bc(0x28e)](){const _0x4bc0b0=_0x3409bc;this[_0x4bc0b0(0x4f9)]=null,this[_0x4bc0b0(0x66d)]=null,this[_0x4bc0b0(0x36d)]=null,this[_0x4bc0b0(0x51a)]=void 0x0,this[_0x4bc0b0(0x615)]();}};Fo=$([Q(0x1,_0x132f48),Q(0x2,_0x54f4ad(_0x592bef)),Q(0x3,_0x418e4b),Q(0x4,_0x54f4ad(_o))],Fo);let Io=class extends _0x24ac39{constructor(_0x3c59aa,_0x36d92a,_0x268600,_0x1d8763){const _0xdacbb9=_0x3409bc;super(),this[_0xdacbb9(0x55c)]=_0x3c59aa,this[_0xdacbb9(0x43a)]=_0x36d92a,this[_0xdacbb9(0x40b)]=_0x268600,this[_0xdacbb9(0x609)]=_0x1d8763,this[_0xdacbb9(0x43b)]();}[_0x3409bc(0x43b)](){const _0x231c3b=_0x3409bc;this[_0x231c3b(0x283)](this[_0x231c3b(0x43a)][_0x231c3b(0x256)]({'getMutations':_0xf2623d=>{const _0x1fc743=_0x231c3b;if(_0xf2623d['id']===_0x2f8aef['id']){let _0xd6ebb5=_0x6bc5ef(this[_0x1fc743(0x55c)],_0xf2623d[_0x1fc743(0x639)]);if(!_0xd6ebb5)return{'redos':[],'undos':[]};let {unitId:_0x2fbf8f,subUnitId:_0x2002a2}=_0xd6ebb5,_0x3d403c=this[_0x1fc743(0x40b)][_0x1fc743(0x575)](_0x2fbf8f,_0x2002a2),_0x1c85a5=Object['values'](_0x3d403c)[_0x1fc743(0x464)](_0x535704=>_0x535704[_0x1fc743(0x42f)]===_0x204228['DRAWING_SHAPE']);if(_0x1c85a5[_0x1fc743(0x4a0)]===0x0)return{'redos':[],'undos':[]};let _0x33dcf9=[],_0xd529d6=[];for(let _0x56b845=0x0;_0x56b845<_0x1c85a5['length'];_0x56b845++){let _0x259955=_0x1c85a5[_0x56b845],_0x13930f=this[_0x1fc743(0x609)][_0x1fc743(0x357)](_0x259955[_0x1fc743(0x550)],_0x259955[_0x1fc743(0x26e)],_0x259955[_0x1fc743(0x5b0)]);if(!_0x13930f)continue;let {redo:_0x5b9ccb,undo:_0x3720c0,objects:_0x31f9bd}=this[_0x1fc743(0x40b)][_0x1fc743(0x289)]([_0x259955]);_0x33dcf9[_0x1fc743(0x34a)]({'id':_0x653cba['id'],'params':{'unitId':_0x2fbf8f,'subUnitId':_0x2002a2,'shapeId':_0x259955[_0x1fc743(0x5b0)]}}),_0x33dcf9[_0x1fc743(0x34a)]({'id':_0x3872f3['id'],'params':{'unitId':_0x2fbf8f,'subUnitId':_0x2002a2,'type':_0x5080ad['REMOVE'],'op':_0x5b9ccb,'objects':_0x31f9bd}}),_0xd529d6[_0x1fc743(0x34a)]({'id':_0x3872f3['id'],'params':{'unitId':_0x2fbf8f,'subUnitId':_0x2002a2,'type':_0x5080ad[_0x1fc743(0x34d)],'op':_0x3720c0,'objects':_0x31f9bd}}),_0xd529d6[_0x1fc743(0x34a)]({'id':_0x55a102['id'],'params':{'unitId':_0x2fbf8f,'subUnitId':_0x2002a2,'shapeId':_0x259955['drawingId'],'shapeType':_0x13930f['getShapeType'](),'shapeData':JSON[_0x1fc743(0x4a6)](JSON[_0x1fc743(0x54b)](_0x13930f[_0x1fc743(0x4aa)]()))}});}return{'redos':_0x33dcf9,'undos':_0xd529d6};}else{if(_0xf2623d['id']===_0x71d4ff['id']){let {unitId:_0x451c4b,subUnitId:_0x1e4be4,targetSubUnitId:_0x4362a2}=_0xf2623d['params'];if(!_0x451c4b||!_0x1e4be4||!_0x4362a2)return{'redos':[],'undos':[]};let _0x1f707f=this[_0x1fc743(0x40b)][_0x1fc743(0x575)](_0x451c4b,_0x1e4be4),_0x44f76a=Object[_0x1fc743(0x438)](_0x1f707f)['filter'](_0x5805c1=>_0x5805c1[_0x1fc743(0x42f)]===_0x204228[_0x1fc743(0x4d9)]);if(_0x44f76a[_0x1fc743(0x4a0)]===0x0)return{'redos':[],'undos':[]};let _0x17e72e=[],_0x2f370c=[];for(let _0x5bb996=0x0;_0x5bb996<_0x44f76a[_0x1fc743(0x4a0)];_0x5bb996++){let _0x5bb9fa=_0x44f76a[_0x5bb996],_0x3f9ff8=this[_0x1fc743(0x609)]['getShapeModel'](_0x5bb9fa[_0x1fc743(0x550)],_0x5bb9fa[_0x1fc743(0x26e)],_0x5bb9fa['drawingId']);if(!_0x3f9ff8)continue;let _0x1a77e4=_0x37982c(),_0x55872e={..._0x5bb9fa,'unitId':_0x451c4b,'subUnitId':_0x4362a2,'drawingId':_0x1a77e4},{redo:_0x4dbfbf,undo:_0x4b3305,objects:_0x2aea53}=this[_0x1fc743(0x40b)]['getBatchAddOp']([_0x55872e]);_0x17e72e[_0x1fc743(0x34a)]({'id':_0x3872f3['id'],'params':{'unitId':_0x451c4b,'subUnitId':_0x4362a2,'type':_0x5080ad[_0x1fc743(0x34d)],'op':_0x4dbfbf,'objects':_0x2aea53}}),_0x17e72e[_0x1fc743(0x34a)]({'id':_0x55a102['id'],'params':{'unitId':_0x451c4b,'subUnitId':_0x4362a2,'shapeId':_0x1a77e4,'shapeType':_0x3f9ff8[_0x1fc743(0x595)](),'shapeData':JSON['parse'](JSON['stringify'](_0x3f9ff8[_0x1fc743(0x4aa)]()))}}),_0x2f370c['push']({'id':_0x653cba['id'],'params':{'unitId':_0x451c4b,'subUnitId':_0x4362a2,'shapeId':_0x1a77e4}}),_0x2f370c['push']({'id':_0x3872f3['id'],'params':{'unitId':_0x451c4b,'subUnitId':_0x4362a2,'type':_0x5080ad[_0x1fc743(0x406)],'op':_0x4b3305,'objects':_0x2aea53}});}return{'redos':_0x17e72e,'undos':_0x2f370c};}}return{'redos':[],'undos':[]};}}));}};Io=$([Q(0x0,_0x54f4ad(_0x418e4b)),Q(0x1,_0x54f4ad(_0x18194f)),Q(0x2,_0x54f4ad(_0x2bc570)),Q(0x3,_0x54f4ad(_0x1bd6ad))],Io);let Lo=class extends _0x24ac39{constructor(_0x3a1e50,_0x48a4aa,_0x137c1d,_0x4e5903,_0x4a09e5){const _0x8a4dbb=_0x3409bc;super(),this[_0x8a4dbb(0x648)]=_0x3a1e50,this[_0x8a4dbb(0x1f1)]=_0x48a4aa,this[_0x8a4dbb(0x1fe)]=_0x137c1d,this[_0x8a4dbb(0x5e4)]=_0x4e5903,this['_sheetsShapeService']=_0x4a09e5,Y(this,_0x8a4dbb(0x1ff),null),this[_0x8a4dbb(0x658)](),this[_0x8a4dbb(0x427)](),this['_initEditingParams']();}[_0x3409bc(0x658)](){const _0x2994ff=_0x3409bc;let {scene:_0x1e9e88}=this[_0x2994ff(0x648)];this['disposeWithMe'](_0x1e9e88['onDblclick$'][_0x2994ff(0x367)](_0x268f10=>{const _0x5e9a5b=_0x2994ff;let {offsetX:_0x4e2a3d,offsetY:_0x2c96ad}=_0x268f10,_0x5baf36=_0x1e9e88[_0x5e9a5b(0x61b)](_0xf1c2bd[_0x5e9a5b(0x530)]([_0x4e2a3d,_0x2c96ad]));if(_0x5baf36 instanceof to){if(_0x1e6a3a(this[_0x5e9a5b(0x609)][_0x5e9a5b(0x595)](_0x5baf36[_0x5e9a5b(0x550)],_0x5baf36['subUnitId'],_0x5baf36[_0x5e9a5b(0x2c5)])))return;this[_0x5e9a5b(0x1f1)][_0x5e9a5b(0x494)]({'visible':!0x0,'unitId':_0x5baf36[_0x5e9a5b(0x550)],'subUnitId':_0x5baf36[_0x5e9a5b(0x26e)],'shapeId':_0x5baf36[_0x5e9a5b(0x2c5)],'shapeKey':_0x5baf36[_0x5e9a5b(0x2ae)]});}}));}[_0x3409bc(0x427)](){const _0x2205da=_0x3409bc;this['disposeWithMe'](this['_drawingManagerService']['focus$'][_0x2205da(0x54e)](_0xd34471=>{const _0x411bf0=_0x2205da;if(_0xd34471[_0x411bf0(0x4a0)]===0x1){let _0x242e8e=_0xd34471[0x0],_0x428b9c=this[_0x411bf0(0x1fe)][_0x411bf0(0x3c8)](_0x242e8e);if((_0x428b9c==null?void 0x0:_0x428b9c['drawingType'])===_0x204228['DRAWING_SHAPE']){let _0x127496=this[_0x411bf0(0x1f1)][_0x411bf0(0x303)]();if((_0x127496==null?void 0x0:_0x127496[_0x411bf0(0x2c5)])===_0x242e8e[_0x411bf0(0x5b0)]&&_0x127496[_0x411bf0(0x232)])return;_0x1e6a3a(this[_0x411bf0(0x609)][_0x411bf0(0x595)](_0x242e8e[_0x411bf0(0x550)],_0x242e8e['subUnitId'],_0x242e8e[_0x411bf0(0x5b0)]))&&this[_0x411bf0(0x1f1)]['setEditing'](null);}else this[_0x411bf0(0x1f1)][_0x411bf0(0x303)]()&&(this[_0x411bf0(0x1f1)][_0x411bf0(0x48f)](!0x0),requestAnimationFrame(()=>{const _0x109c03=_0x411bf0;this[_0x109c03(0x1f1)]['setEditing'](null);}));}else this[_0x411bf0(0x1f1)][_0x411bf0(0x303)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x42fb17=_0x411bf0;this[_0x42fb17(0x1f1)]['setEditing'](null);}));})),this[_0x2205da(0x283)](this[_0x2205da(0x1fe)][_0x2205da(0x226)][_0x2205da(0x54e)](_0x5ca0cd=>{const _0x2723b5=_0x2205da;let _0x1016fe=this[_0x2723b5(0x1f1)][_0x2723b5(0x303)]();_0x1016fe&&_0x5ca0cd[_0x2723b5(0x32e)](_0xc1fd8a=>_0xc1fd8a[_0x2723b5(0x5b0)]===_0x1016fe[_0x2723b5(0x2c5)])&&this['_shapeTextEditingService']['setEditing'](null);}));}['_initEditingParams'](){const _0x5369b7=_0x3409bc;this['disposeWithMe'](this[_0x5369b7(0x1f1)][_0x5369b7(0x4be)][_0x5369b7(0x54e)](_0x2ba34e=>{const _0x4d220d=_0x5369b7;let {scene:_0x7e713a}=this[_0x4d220d(0x648)];if(this[_0x4d220d(0x1ff)]){let _0x55e41e=_0x7e713a[_0x4d220d(0x251)](this[_0x4d220d(0x1ff)]);_0x55e41e&&_0x55e41e[_0x4d220d(0x494)](!0x1);}if(_0x2ba34e){let _0x19d33b=!!_0x2ba34e[_0x4d220d(0x232)],_0x553b75=_0x7e713a['getObjectIncludeInGroup'](_0x2ba34e['shapeKey']);_0x553b75&&(_0x553b75[_0x4d220d(0x494)](_0x19d33b),this[_0x4d220d(0x1ff)]=_0x2ba34e[_0x4d220d(0x665)]),this[_0x4d220d(0x5e4)][_0x4d220d(0x33b)](_0x3dd9c5,_0x19d33b);}else this[_0x4d220d(0x1ff)]=null,this[_0x4d220d(0x5e4)][_0x4d220d(0x33b)](_0x3dd9c5,!0x1);}));}};Lo=$([Q(0x1,_0x54f4ad(X)),Q(0x2,_0x132f48),Q(0x3,_0x47baf7),Q(0x4,_0x54f4ad(_0x1bd6ad))],Lo);const Ro={'normal':{'fill':_0x22accf['cxnPointFill'],'stroke':_0x22accf[_0x3409bc(0x549)],'strokeWidth':_0x22accf[_0x3409bc(0x49b)]},'highlighted':{'fill':_0x3409bc(0x500),'stroke':_0x3409bc(0x341),'strokeWidth':0x2}};var zo=class extends _0x415826{constructor(_0x31cc19,_0x2df4b0){const _0x1577f8=_0x3409bc;super(_0x31cc19,_0x2df4b0),Y(this,_0x1577f8(0x24b),''),Y(this,'_cxnIndex',-0x1),Y(this,_0x1577f8(0x66d),''),Y(this,_0x1577f8(0x36d),''),Y(this,_0x1577f8(0x205),!0x1),_0x2df4b0&&this['setShapeProps'](_0x2df4b0);}[_0x3409bc(0x3dd)](){const _0x22e3be=_0x3409bc;return{'unitId':this[_0x22e3be(0x66d)],'subUnitId':this[_0x22e3be(0x36d)],'shapeId':this[_0x22e3be(0x24b)],'cxnIndex':this[_0x22e3be(0x30a)]};}[_0x3409bc(0x4d2)](_0x1b1682){const _0x174608=_0x3409bc;this[_0x174608(0x205)]!==_0x1b1682&&(this[_0x174608(0x205)]=_0x1b1682,this[_0x174608(0x5d0)](!0x0));}[_0x3409bc(0x66a)](){const _0x44f45c=_0x3409bc;return this[_0x44f45c(0x205)];}['setShapeProps'](_0x1f6440){const _0x377ea0=_0x3409bc;var _0x1e5dff,_0x3a657c;_0x1f6440['targetShapeId']!==void 0x0&&(this['_targetShapeId']=_0x1f6440[_0x377ea0(0x2d7)]),_0x1f6440[_0x377ea0(0x2c4)]!==void 0x0&&(this[_0x377ea0(0x30a)]=_0x1f6440[_0x377ea0(0x2c4)]),_0x1f6440[_0x377ea0(0x550)]!==void 0x0&&(this[_0x377ea0(0x66d)]=_0x1f6440[_0x377ea0(0x550)]),_0x1f6440['subUnitId']!==void 0x0&&(this['_subUnitId']=_0x1f6440['subUnitId']),_0x1f6440[_0x377ea0(0x66a)]!==void 0x0&&(this[_0x377ea0(0x205)]=_0x1f6440[_0x377ea0(0x66a)]),this['transformByState']({'width':(_0x1e5dff=_0x1f6440[_0x377ea0(0x516)])==null?_0x22accf[_0x377ea0(0x211)]*0x2:_0x1e5dff,'height':(_0x3a657c=_0x1f6440['height'])==null?_0x22accf[_0x377ea0(0x211)]*0x2:_0x3a657c});}[_0x3409bc(0x2e1)](_0x51f28d){const _0x573cfb=_0x3409bc;let _0x4253bf=this[_0x573cfb(0x205)]?Ro[_0x573cfb(0x58f)]:Ro[_0x573cfb(0x637)];_0x17764[_0x573cfb(0x676)](_0x51f28d,{'radius':_0x22accf['cxnPointRadius'],'fill':_0x4253bf[_0x573cfb(0x4ab)],'stroke':_0x4253bf[_0x573cfb(0x2af)],'strokeWidth':_0x4253bf['strokeWidth'],'evented':!0x0});}};let Bo=class extends _0x24ac39{constructor(_0x861187,_0x3829d0,_0x29aae1,_0x66db20){const _0x55f329=_0x3409bc;super(),this[_0x55f329(0x648)]=_0x861187,this[_0x55f329(0x4ee)]=_0x3829d0,this[_0x55f329(0x1fe)]=_0x29aae1,this[_0x55f329(0x609)]=_0x66db20,Y(this,_0x55f329(0x51e),[]),Y(this,'_activeTargetShapeId',null),Y(this,_0x55f329(0x60b),-0x1),Y(this,_0x55f329(0x23a),null),Y(this,_0x55f329(0x66d),''),Y(this,'_subUnitId',''),Y(this,'_draggingConnectorId',null);}['startConnectionDetection'](_0x3c1252,_0x5f4faf,_0x9fd754,_0x52cd31){const _0x31659c=_0x3409bc;this[_0x31659c(0x23a)]=_0x3c1252,this['_unitId']=_0x5f4faf,this[_0x31659c(0x36d)]=_0x9fd754,this['_draggingConnectorId']=_0x52cd31;}[_0x3409bc(0x664)](_0x31c1c0){const _0x27f1ac=_0x3409bc;if(!this[_0x27f1ac(0x23a)])return null;let _0x183856=this[_0x27f1ac(0x2be)](_0x31c1c0);return _0x183856?(this[_0x27f1ac(0x486)]!==_0x183856[_0x27f1ac(0x2c5)]&&(this[_0x27f1ac(0x5c5)](),this[_0x27f1ac(0x681)](_0x183856[_0x27f1ac(0x2c5)],_0x183856[_0x27f1ac(0x493)]),this[_0x27f1ac(0x486)]=_0x183856[_0x27f1ac(0x2c5)]),this[_0x27f1ac(0x20c)](_0x31c1c0)):(this[_0x27f1ac(0x486)]!==null&&(this[_0x27f1ac(0x5c5)](),this[_0x27f1ac(0x486)]=null),null);}[_0x3409bc(0x4ff)](){const _0x84c266=_0x3409bc;this[_0x84c266(0x5c5)](),this[_0x84c266(0x23a)]=null,this[_0x84c266(0x486)]=null,this[_0x84c266(0x60b)]=-0x1,this['_draggingConnectorId']=null;}[_0x3409bc(0x538)](){const _0x2794bf=_0x3409bc;return this[_0x2794bf(0x486)]===null||this['_highlightedSiteIndex']<0x0?null:{'shapeId':this[_0x2794bf(0x486)],'cxnIndex':this[_0x2794bf(0x60b)]};}[_0x3409bc(0x2be)](_0x5d7d98){const _0x57094b=_0x3409bc;let _0x4fd5c5=this['_drawingManagerService'][_0x57094b(0x575)](this[_0x57094b(0x66d)],this[_0x57094b(0x36d)]);for(let _0x2e3824 of Object[_0x57094b(0x20d)](_0x4fd5c5)){if(_0x2e3824===this[_0x57094b(0x3c9)]||_0x4fd5c5[_0x2e3824][_0x57094b(0x42f)]!==_0x204228['DRAWING_SHAPE'])continue;let _0x3e306d=this[_0x57094b(0x609)][_0x57094b(0x357)](this[_0x57094b(0x66d)],this[_0x57094b(0x36d)],_0x2e3824);if(!_0x3e306d||_0x1e6a3a(_0x3e306d[_0x57094b(0x595)]())||_0x3e306d[_0x57094b(0x372)]()[_0x57094b(0x4a0)]===0x0||!this[_0x57094b(0x23a)])continue;let _0x5ec8c4=_0xd64c82({'unitId':this['_unitId'],'subUnitId':this[_0x57094b(0x36d)],'drawingId':_0x2e3824}),_0x5ee9c9=this[_0x57094b(0x23a)][_0x57094b(0x251)](_0x5ec8c4);if(!_0x5ee9c9)continue;let {left:_0x3bbcf5,top:_0x24aa78,width:_0x544ed9,height:_0x3630cb}=_0x5ee9c9['getRealBound'](),_0x39c3da=_0x3bbcf5+_0x544ed9/0x2,_0x43f614=_0x24aa78+_0x3630cb/0x2,_0x4fb692=_0x5ee9c9[_0x57094b(0x290)][_0x57094b(0x21c)](),_0x38f6f9=new _0x116f12([_0x4fb692[0x0],_0x4fb692[0x1],_0x4fb692[0x2],_0x4fb692[0x3],_0x39c3da,_0x43f614]),_0x2ab3fb=_0x5ee9c9['getParent'](),_0x3c7c9e=(_0x5ee9c9[_0x57094b(0x425)]&&(_0x2ab3fb==null?void 0x0:_0x2ab3fb[_0x57094b(0x5f9)])===_0x16e7a8[_0x57094b(0x4cd)]?_0x2ab3fb[_0x57094b(0x2fc)][_0x57094b(0x576)](_0x38f6f9):_0x38f6f9)[_0x57094b(0x542)]()[_0x57094b(0x636)](_0x5d7d98),_0x5f495e=_0x544ed9/0x2,_0x129c12=_0x3630cb/0x2;if(_0x3c7c9e['x']>=-_0x5f495e-0x5&&_0x3c7c9e['x']<=_0x5f495e+0x5&&_0x3c7c9e['y']>=-_0x129c12-0x5&&_0x3c7c9e['y']<=_0x129c12+0x5)return{'shapeId':_0x2e3824,'shapeModel':_0x3e306d};}return null;}['_showConnectionSites'](_0x2cf367,_0x43628b){const _0x6c68da=_0x3409bc;if(!this[_0x6c68da(0x23a)])return;let _0x2e7894=_0xd64c82({'unitId':this[_0x6c68da(0x66d)],'subUnitId':this['_subUnitId'],'drawingId':_0x2cf367}),_0x158524=this[_0x6c68da(0x23a)][_0x6c68da(0x251)](_0x2e7894);if(!_0x158524)return;let {left:_0x1a5db2,top:_0x337a48,width:_0x27acb7,height:_0x136f11}=_0x158524[_0x6c68da(0x5ba)](),_0x4e8260=_0x1a5db2+_0x27acb7/0x2,_0x341c24=_0x337a48+_0x136f11/0x2,_0x11dadd=_0x158524[_0x6c68da(0x290)][_0x6c68da(0x21c)](),_0xc6a96f=new _0x116f12([_0x11dadd[0x0],_0x11dadd[0x1],_0x11dadd[0x2],_0x11dadd[0x3],_0x4e8260,_0x341c24]),_0x437dcd=_0x158524[_0x6c68da(0x1fc)](),_0x14af66=_0x158524[_0x6c68da(0x425)]&&(_0x437dcd==null?void 0x0:_0x437dcd['classType'])===_0x16e7a8['GROUP']?_0x437dcd[_0x6c68da(0x2fc)][_0x6c68da(0x576)](_0xc6a96f):_0xc6a96f;_0x43628b[_0x6c68da(0x266)]({'width':_0x27acb7,'height':_0x136f11});let _0x54f587=_0x43628b[_0x6c68da(0x372)]();for(let _0xa17b9e of _0x54f587){let _0x310413=_0xa17b9e['x']-_0x27acb7/0x2,_0x3c318f=_0xa17b9e['y']-_0x136f11/0x2,_0xccfdc1=_0x14af66['applyPoint']({'x':_0x310413,'y':_0x3c318f}),_0x773513=_0xccfdc1['x'],_0x1bb55f=_0xccfdc1['y'],_0x11548a=new zo(_0x6c68da(0x22c)+_0x2cf367+'-'+_0xa17b9e['index'],{'left':_0x773513-_0x22accf[_0x6c68da(0x211)],'top':_0x1bb55f-_0x22accf[_0x6c68da(0x211)],'targetShapeId':_0x2cf367,'cxnIndex':_0xa17b9e[_0x6c68da(0x44b)],'unitId':this[_0x6c68da(0x66d)],'subUnitId':this['_subUnitId'],'width':_0x22accf[_0x6c68da(0x211)]*0x2,'height':_0x22accf['cxnPointRadius']*0x2,'zIndex':_0x3ec92b+0x2,'evented':!0x1});this[_0x6c68da(0x51e)][_0x6c68da(0x34a)](_0x11548a),this['_currentScene'][_0x6c68da(0x49e)](_0x11548a,_0x3ec92b+0x2);}}[_0x3409bc(0x20c)](_0x821b77){const _0x4607fd=_0x3409bc;let _0x2afdde=null,_0x375bef=0x1/0x0,_0x507a92=null;for(let _0x48bb7c of this['_connectionSiteObjects']){let _0x2b93f7=_0x48bb7c[_0x4607fd(0x4a5)]+_0x22accf[_0x4607fd(0x211)],_0x2a10df=_0x48bb7c[_0x4607fd(0x262)]+_0x22accf[_0x4607fd(0x211)],_0x1cde12=_0x821b77['x']-_0x2b93f7,_0x443708=_0x821b77['y']-_0x2a10df,_0x3a8cc4=Math['sqrt'](_0x1cde12*_0x1cde12+_0x443708*_0x443708);_0x3a8cc4<_0x375bef&&(_0x375bef=_0x3a8cc4,_0x2afdde=_0x48bb7c,_0x507a92={'x':_0x2b93f7,'y':_0x2a10df});}let _0x397b1d=_0x375bef<=0xa&&_0x2afdde?_0x2afdde[_0x4607fd(0x3dd)]()['cxnIndex']:-0x1;if(_0x397b1d!==this[_0x4607fd(0x60b)]){for(let _0x3c6361 of this[_0x4607fd(0x51e)]){let _0x5cb48d=_0x3c6361['getConnectionInfo']();_0x3c6361[_0x4607fd(0x4d2)](_0x5cb48d['cxnIndex']===_0x397b1d);}this[_0x4607fd(0x60b)]=_0x397b1d;}if(_0x375bef<=0xa&&_0x2afdde&&_0x507a92){let _0x374d48=_0x2afdde[_0x4607fd(0x3dd)](),_0x26ffc7=this[_0x4607fd(0x349)](_0x374d48[_0x4607fd(0x2c5)],_0x374d48[_0x4607fd(0x2c4)]);return{'shapeId':_0x374d48[_0x4607fd(0x2c5)],'cxnIndex':_0x374d48['cxnIndex'],'unitId':_0x374d48[_0x4607fd(0x550)],'subUnitId':_0x374d48[_0x4607fd(0x26e)],'worldPoint':_0x507a92,'angle':_0x26ffc7};}return null;}['_getConnectionSiteAngle'](_0x1d0d85,_0xf49509){const _0x3f3fdf=_0x3409bc;let _0x59e2de=this[_0x3f3fdf(0x609)][_0x3f3fdf(0x357)](this['_unitId'],this['_subUnitId'],_0x1d0d85);if(!_0x59e2de)return 0x0;let _0x356498=this['_drawingManagerService'][_0x3f3fdf(0x3c8)]({'unitId':this['_unitId'],'subUnitId':this[_0x3f3fdf(0x36d)],'drawingId':_0x1d0d85});if(!(_0x356498!=null&&_0x356498['transform']))return 0x0;let {width:_0x46621e=0x0,height:_0x4a9051=0x0,flipX:_0x288f7e=!0x1,flipY:_0x2cae65=!0x1}=_0x356498[_0x3f3fdf(0x290)];_0x59e2de[_0x3f3fdf(0x266)]({'width':_0x46621e,'height':_0x4a9051});let _0x198b9c=_0x59e2de[_0x3f3fdf(0x372)]()[_0x3f3fdf(0x49a)](_0x339136=>_0x339136[_0x3f3fdf(0x44b)]===_0xf49509);if(!_0x198b9c)return 0x0;let _0xdf4346=_0x198b9c[_0x3f3fdf(0x310)]/0xea60;return _0x288f7e&&(_0xdf4346=0xb4-_0xdf4346),_0x2cae65&&(_0xdf4346=-_0xdf4346),_0xdf4346=(_0xdf4346%0x168+0x168)%0x168,_0xdf4346;}[_0x3409bc(0x5c5)](){const _0x2603de=_0x3409bc;for(let _0x2a665e of this['_connectionSiteObjects'])_0x2a665e[_0x2603de(0x23b)]();this[_0x2603de(0x51e)]=[],this[_0x2603de(0x60b)]=-0x1;}['dispose'](){const _0x33b826=_0x3409bc;this['_clearConnectionSites'](),super[_0x33b826(0x23b)]();}};Bo=$([Q(0x1,_0x54f4ad(_0x592bef)),Q(0x2,_0x54f4ad(_0x132f48)),Q(0x3,_0x54f4ad(_0x1bd6ad))],Bo);let Vo=class extends _0x24ac39{constructor(_0x251952,_0x18d60f,_0x155dd2,_0x27c671,_0x15eb29){const _0x4daa16=_0x3409bc;super(),this[_0x4daa16(0x1ef)]=_0x251952,this[_0x4daa16(0x56e)]=_0x18d60f,this[_0x4daa16(0x40b)]=_0x155dd2,this[_0x4daa16(0x3f5)]=_0x27c671,this[_0x4daa16(0x3e8)]=_0x15eb29,Y(this,_0x4daa16(0x459),void 0x0),this[_0x4daa16(0x396)](),this[_0x4daa16(0x3ca)]();}get[_0x3409bc(0x2b8)](){const _0x3e305b=_0x3409bc;return this[_0x3e305b(0x40b)]['getFocusDrawings']();}[_0x3409bc(0x3ca)](){const _0x45ef44=_0x3409bc;this[_0x45ef44(0x3e8)][_0x45ef44(0x31a)](({fromUnitId:_0x3bc4dd,fromSubUnitId:_0x4b2ad7,toUnitId:_0x491fe4,toSubUnitId:_0x4a0081,idMap:_0x35d098})=>{const _0x303975=_0x45ef44;let _0x4e8bea=[],_0xd7c76d=[];for(let [_0x3f8c97,_0x3d390a]of _0x35d098[_0x303975(0x590)]()){let _0x566ff1=this['_shapeService'][_0x303975(0x357)](_0x3bc4dd,_0x4b2ad7,_0x3f8c97);if(!_0x566ff1)continue;let _0x26073d=_0x566ff1[_0x303975(0x595)](),_0x1612c5=JSON['parse'](JSON['stringify'](_0x566ff1[_0x303975(0x4aa)]()));if(_0x1612c5[_0x303975(0x2ac)]){var _0x47759e,_0x319704;let _0x592193=(_0x47759e=_0x1612c5[_0x303975(0x2ac)][_0x303975(0x674)])==null?void 0x0:_0x47759e['shapeId'],_0xedd1c3=(_0x319704=_0x1612c5[_0x303975(0x2ac)]['to'])==null?void 0x0:_0x319704[_0x303975(0x2c5)],_0x3f5910=_0x592193?_0x35d098['has'](_0x592193):!0x0,_0x3f6036=_0xedd1c3?_0x35d098[_0x303975(0x2fb)](_0xedd1c3):!0x0;_0x3f5910&&_0x592193&&_0x1612c5['relation'][_0x303975(0x674)]?_0x1612c5[_0x303975(0x2ac)][_0x303975(0x674)]={..._0x1612c5['relation'][_0x303975(0x674)],'shapeId':_0x35d098[_0x303975(0x618)](_0x592193)}:_0x1612c5[_0x303975(0x2ac)][_0x303975(0x674)]=void 0x0,_0x3f6036&&_0xedd1c3&&_0x1612c5[_0x303975(0x2ac)]['to']?_0x1612c5['relation']['to']={..._0x1612c5[_0x303975(0x2ac)]['to'],'shapeId':_0x35d098[_0x303975(0x618)](_0xedd1c3)}:_0x1612c5[_0x303975(0x2ac)]['to']=void 0x0;}_0x4e8bea[_0x303975(0x34a)]({'id':_0x55a102['id'],'params':{'unitId':_0x491fe4,'subUnitId':_0x4a0081,'shapeId':_0x3d390a,'shapeType':_0x26073d,'shapeData':_0x1612c5}}),_0xd7c76d['push']({'id':_0x653cba['id'],'params':{'unitId':_0x491fe4,'subUnitId':_0x4a0081,'shapeId':_0x3d390a}});}return{'redos':_0x4e8bea,'undos':_0xd7c76d};});}[_0x3409bc(0x396)](){const _0x24d9b2=_0x3409bc;this[_0x24d9b2(0x283)](this[_0x24d9b2(0x56e)][_0x24d9b2(0x64b)]({'id':_0x24d9b2(0x3f1),'onBeforeCopy':(_0x498ce6,_0x1f3821,_0x3733a6,_0x290a92)=>{const _0x2e1615=_0x24d9b2;this['_copyInfo']=null;let _0x3a1a8a=this[_0x2e1615(0x2b8)];if(_0x3a1a8a[_0x2e1615(0x4a0)]){let _0xb7aac5=_0x3a1a8a[_0x2e1615(0x464)](_0x566ed6=>_0x566ed6[_0x2e1615(0x42f)]===_0x204228['DRAWING_SHAPE']);if(_0xb7aac5['length']===0x0)return;this['_copyInfo']={'unitId':_0x498ce6,'subUnitId':_0x1f3821,'copyType':_0x290a92,'drawings':_0xb7aac5};}else this[_0x2e1615(0x502)](_0x498ce6,_0x1f3821,_0x3733a6,_0x290a92);},'onPasteCells':(_0x451d0a,_0x4f3936,_0x5896bb,_0x3fb3a7)=>{const _0x4c042c=_0x24d9b2;if(!this[_0x4c042c(0x459)])return{'redos':[],'undos':[]};let {pasteType:_0x16f1d9}=_0x3fb3a7;return _0x16f1d9===_0x163dc7[_0x4c042c(0x2a6)]?this[_0x4c042c(0x22b)](_0x4f3936,this[_0x4c042c(0x459)][_0x4c042c(0x62b)]===_0x881c05['CUT']):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x348037=>this[_0x24d9b2(0x459)]?this[_0x24d9b2(0x22b)](_0x348037,this['_copyInfo'][_0x24d9b2(0x62b)]===_0x881c05[_0x24d9b2(0x662)]):{'redos':[],'undos':[]}}));}[_0x3409bc(0x502)](_0x1a19fe,_0x58b281,_0x2620fb,_0x2d8578){const _0xa79513=_0x3409bc;let _0x4a5ea7=this[_0xa79513(0x1ef)][_0xa79513(0x299)](_0x1a19fe,_0x58b281);if(!_0x4a5ea7)return;let _0x192ed5=_0x3f698(_0x4a5ea7,_0x2620fb);if(!_0x192ed5)return;let {startX:_0x1310b7,endX:_0x172d7a,startY:_0x24fde7,endY:_0x54c09a}=_0x192ed5,_0x114001=this[_0xa79513(0x40b)][_0xa79513(0x575)](_0x1a19fe,_0x58b281),_0x15c8e0=this[_0xa79513(0x2b8)][_0xa79513(0x3d5)]();for(let [_0x20f119,_0x1e919d]of Object['entries'](_0x114001)){if(_0x1e919d['drawingType']!==_0x204228[_0xa79513(0x4d9)])continue;let {transform:_0x133523}=_0x1e919d;if(!_0x133523)continue;let {left:_0x357263=0x0,top:_0x404b79=0x0,width:_0x2c18c3=0x0,height:_0x44fa5d=0x0}=_0x133523;_0x1310b7<=_0x357263&&_0x172d7a>=_0x357263+_0x2c18c3&&_0x24fde7<=_0x404b79&&_0x54c09a>=_0x404b79+_0x44fa5d&&_0x15c8e0[_0xa79513(0x34a)](_0x1e919d);}_0x15c8e0[_0xa79513(0x4a0)]>0x0&&(this[_0xa79513(0x459)]={'unitId':_0x1a19fe,'subUnitId':_0x58b281,'copyType':_0x2d8578,'copyRange':_0x2620fb,'drawings':_0x15c8e0});}[_0x3409bc(0x22b)](_0x1fbed5,_0x283986){const _0x2f19b5=_0x3409bc;let {unitId:_0x51231b,subUnitId:_0x2c9d3a,range:_0x13b9e4}=_0x1fbed5,_0x33885f=this[_0x2f19b5(0x1ef)][_0x2f19b5(0x299)](_0x51231b,_0x2c9d3a);if(!_0x33885f)return{'redos':[],'undos':[]};let _0x2399a5=_0x3ab8c5(_0x13b9e4),{unitId:_0x5d8fe8,subUnitId:_0x2ba446,copyRange:_0x3fea5d,drawings:_0x4eed9f}=this[_0x2f19b5(0x459)],_0x2d78fe=this['_sheetSkeletonService']['getSkeleton'](_0x5d8fe8,_0x2ba446);if(!_0x2d78fe)return{'redos':[],'undos':[]};let _0x1e9a2c;if(!_0x3fea5d){let _0x48aaac=0x1/0x0,_0x538346=0x1/0x0;for(let _0x3d4303 of _0x4eed9f){var _0x1597f1;let {left:_0x264ef8=0x0,top:_0x46ed69=0x0}=(_0x1597f1=_0x3d4303[_0x2f19b5(0x290)])==null?{}:_0x1597f1;_0x264ef8<_0x48aaac&&(_0x48aaac=_0x264ef8),_0x46ed69<_0x538346&&(_0x538346=_0x46ed69);}_0x48aaac!==0x1/0x0&&_0x538346!==0x1/0x0&&(_0x1e9a2c={'left':_0x48aaac,'top':_0x538346});}let _0x317629=new Map();if(!_0x283986){for(let _0x200e8f of _0x4eed9f)_0x317629[_0x2f19b5(0x5dd)](_0x200e8f[_0x2f19b5(0x5b0)],_0x37982c());}let _0x406115=[],_0x3370c7=[];for(let _0xba1b6 of _0x4eed9f){let {drawingId:_0x37b47a,transform:_0x3b0f19,sheetTransform:_0x658c94}=_0xba1b6;if(!_0x3b0f19||!_0x658c94)continue;let _0x26661a=this[_0x2f19b5(0x5f7)]({'transform':_0x3b0f19,'sheetTransform':_0x658c94},{'skeleton':_0x2d78fe,'range':_0x3fea5d},{'skeleton':_0x33885f,'range':_0x2399a5},_0x1e9a2c);if(_0x283986){let {redos:_0x1e5a03,undos:_0x2ff9cb}=this[_0x2f19b5(0x5a7)]({'fromUnitId':_0x5d8fe8,'fromSubUnitId':_0x2ba446,'toUnitId':_0x51231b,'toSubUnitId':_0x2c9d3a,'drawing':_0xba1b6,'newTransforms':_0x26661a});_0x406115[_0x2f19b5(0x34a)](..._0x1e5a03),_0x3370c7[_0x2f19b5(0x34a)](..._0x2ff9cb);continue;}let {redos:_0x32a26c,undos:_0x52014b}=this[_0x2f19b5(0x670)]({'toUnitId':_0x51231b,'toSubUnitId':_0x2c9d3a,'drawing':_0xba1b6,'newTransforms':_0x26661a,'newDrawingId':_0x317629['get'](_0x37b47a),'idMap':_0x317629});_0x406115[_0x2f19b5(0x34a)](..._0x32a26c),_0x3370c7['push'](..._0x52014b);}return{'redos':_0x406115,'undos':_0x3370c7};}[_0x3409bc(0x5a7)](_0x3390e8){const _0x52ec86=_0x3409bc;let {fromUnitId:_0x55abd,fromSubUnitId:_0x1fb0c2,toUnitId:_0x9f805e,toSubUnitId:_0x4801c3,drawing:_0x3bbc8e,newTransforms:_0x557d83}=_0x3390e8,_0x430318={..._0x3bbc8e,'unitId':_0x9f805e,'subUnitId':_0x4801c3,'transform':_0x557d83[_0x52ec86(0x290)],'sheetTransform':_0x557d83[_0x52ec86(0x2c8)]};if(_0x9f805e===_0x55abd&&_0x4801c3===_0x1fb0c2){let {redo:_0xbad57d,undo:_0x144ace,objects:_0x4fba26}=this[_0x52ec86(0x40b)][_0x52ec86(0x529)]([_0x430318]);return{'redos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'type':_0x5080ad[_0x52ec86(0x5ed)],'op':_0xbad57d,'objects':_0x4fba26}}],'undos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'type':_0x5080ad[_0x52ec86(0x5ed)],'op':_0x144ace,'objects':_0x4fba26}}]};}else{let _0x4f93cb=this[_0x52ec86(0x40b)][_0x52ec86(0x289)]([_0x3bbc8e]),_0x2c29ee=this['_sheetDrawingService'][_0x52ec86(0x1e4)]([_0x430318]),_0x3729b1=this[_0x52ec86(0x3f5)][_0x52ec86(0x357)](_0x3bbc8e['unitId'],_0x3bbc8e[_0x52ec86(0x26e)],_0x3bbc8e[_0x52ec86(0x5b0)]);if(!_0x3729b1)return{'redos':[],'undos':[]};let _0x3187c3=_0x3729b1['getShapeType'](),_0x3ab118=JSON['parse'](JSON['stringify'](_0x3729b1['getShapeData']()));return{'redos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x55abd,'subUnitId':_0x1fb0c2,'type':_0x5080ad[_0x52ec86(0x406)],'op':_0x4f93cb[_0x52ec86(0x669)],'objects':_0x4f93cb[_0x52ec86(0x366)]}},{'id':_0x653cba['id'],'params':{'unitId':_0x55abd,'subUnitId':_0x1fb0c2,'shapeId':_0x3bbc8e[_0x52ec86(0x5b0)]}},{'id':_0x3872f3['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'type':_0x5080ad[_0x52ec86(0x34d)],'op':_0x2c29ee[_0x52ec86(0x669)],'objects':_0x2c29ee[_0x52ec86(0x366)]}},{'id':_0x55a102['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'shapeId':_0x3bbc8e[_0x52ec86(0x5b0)],'shapeType':_0x3187c3,'shapeData':_0x3ab118}}],'undos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x55abd,'subUnitId':_0x1fb0c2,'type':_0x5080ad[_0x52ec86(0x34d)],'op':_0x4f93cb[_0x52ec86(0x656)],'objects':_0x4f93cb[_0x52ec86(0x366)]}},{'id':_0x55a102['id'],'params':{'unitId':_0x55abd,'subUnitId':_0x1fb0c2,'shapeId':_0x3bbc8e[_0x52ec86(0x5b0)],'shapeType':_0x3187c3,'shapeData':_0x3ab118}},{'id':_0x3872f3['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'type':_0x5080ad[_0x52ec86(0x406)],'op':_0x2c29ee[_0x52ec86(0x656)],'objects':_0x2c29ee[_0x52ec86(0x366)]}},{'id':_0x653cba['id'],'params':{'unitId':_0x9f805e,'subUnitId':_0x4801c3,'shapeId':_0x3bbc8e[_0x52ec86(0x5b0)]}}]};}}[_0x3409bc(0x670)](_0x55980b){const _0x3450fb=_0x3409bc;let {toUnitId:_0x41e5f5,toSubUnitId:_0x256190,drawing:_0x144b02,newTransforms:_0x29d936,newDrawingId:_0x247555,idMap:_0x5bc422}=_0x55980b,_0x10e01c={..._0x144b02,'unitId':_0x41e5f5,'subUnitId':_0x256190,'drawingId':_0x247555,'transform':_0x29d936[_0x3450fb(0x290)],'sheetTransform':_0x29d936['sheetTransform']},{redo:_0x369f5b,undo:_0x4ef452,objects:_0x37c32d}=this[_0x3450fb(0x40b)][_0x3450fb(0x1e4)]([_0x10e01c]),_0x37ff9c=this[_0x3450fb(0x3f5)][_0x3450fb(0x357)](_0x144b02[_0x3450fb(0x550)],_0x144b02[_0x3450fb(0x26e)],_0x144b02[_0x3450fb(0x5b0)]);if(!_0x37ff9c)return{'redos':[],'undos':[]};let _0xe4352c=_0x37ff9c[_0x3450fb(0x595)](),_0x6a3084=JSON[_0x3450fb(0x4a6)](JSON[_0x3450fb(0x54b)](_0x37ff9c[_0x3450fb(0x4aa)]()));if(_0x6a3084['relation']){var _0x1e096c,_0x392f99;let _0x55100d=(_0x1e096c=_0x6a3084['relation']['from'])==null?void 0x0:_0x1e096c['shapeId'],_0x43ffde=(_0x392f99=_0x6a3084[_0x3450fb(0x2ac)]['to'])==null?void 0x0:_0x392f99['shapeId'],_0x1f01df=_0x55100d?_0x5bc422[_0x3450fb(0x2fb)](_0x55100d):!0x0,_0x2786f9=_0x43ffde?_0x5bc422[_0x3450fb(0x2fb)](_0x43ffde):!0x0;_0x1f01df&&_0x55100d&&_0x6a3084[_0x3450fb(0x2ac)][_0x3450fb(0x674)]?_0x6a3084['relation'][_0x3450fb(0x674)]={..._0x6a3084['relation'][_0x3450fb(0x674)],'shapeId':_0x5bc422[_0x3450fb(0x618)](_0x55100d)}:_0x6a3084[_0x3450fb(0x2ac)][_0x3450fb(0x674)]=void 0x0,_0x2786f9&&_0x43ffde&&_0x6a3084[_0x3450fb(0x2ac)]['to']?_0x6a3084[_0x3450fb(0x2ac)]['to']={..._0x6a3084[_0x3450fb(0x2ac)]['to'],'shapeId':_0x5bc422[_0x3450fb(0x618)](_0x43ffde)}:_0x6a3084[_0x3450fb(0x2ac)]['to']=void 0x0;}return{'redos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x41e5f5,'subUnitId':_0x256190,'type':_0x5080ad[_0x3450fb(0x34d)],'op':_0x369f5b,'objects':_0x37c32d}},{'id':_0x55a102['id'],'params':{'unitId':_0x41e5f5,'subUnitId':_0x256190,'shapeId':_0x247555,'shapeType':_0xe4352c,'shapeData':_0x6a3084}}],'undos':[{'id':_0x3872f3['id'],'params':{'unitId':_0x41e5f5,'subUnitId':_0x256190,'type':_0x5080ad[_0x3450fb(0x406)],'op':_0x4ef452,'objects':_0x37c32d}},{'id':_0x653cba['id'],'params':{'unitId':_0x41e5f5,'subUnitId':_0x256190,'shapeId':_0x247555}}]};}['_updateTransform'](_0x2bf2f3,_0x43d89f,_0x46ac2c,_0x24bd5c){const _0x5c2035=_0x3409bc;var _0x1bf78e;let {range:_0x4fb05c,skeleton:_0x38489e}=_0x43d89f,{range:_0x4e3ad0,skeleton:_0xa6172b}=_0x46ac2c,{transform:_0x70cdc7,sheetTransform:_0x15c05d}=_0x2bf2f3,_0x518d98={..._0x70cdc7};if(_0x4fb05c){let _0x45f31c=_0x3f698(_0x38489e,_0x4fb05c),_0xb977e2=_0x3f698(_0xa6172b,_0x4e3ad0);if(_0x45f31c&&_0xb977e2){var _0xcf0bfa,_0x2dde60;let _0x5bf5b3=_0xb977e2[_0x5c2035(0x5b5)]-_0x45f31c[_0x5c2035(0x5b5)],_0x57402a=_0xb977e2['startY']-_0x45f31c[_0x5c2035(0x393)];_0x518d98[_0x5c2035(0x4a5)]=((_0xcf0bfa=_0x518d98[_0x5c2035(0x4a5)])==null?0x0:_0xcf0bfa)+_0x5bf5b3,_0x518d98['top']=((_0x2dde60=_0x518d98[_0x5c2035(0x262)])==null?0x0:_0x2dde60)+_0x57402a;}}else{let _0x411f0e=_0x3f698(_0xa6172b,_0x4e3ad0);if(_0x24bd5c&&_0x411f0e){var _0x285f84,_0x5bd24d;let _0xf0b161=((_0x285f84=_0x518d98['left'])==null?0x0:_0x285f84)-_0x24bd5c[_0x5c2035(0x4a5)],_0x5e8e59=((_0x5bd24d=_0x518d98[_0x5c2035(0x262)])==null?0x0:_0x5bd24d)-_0x24bd5c[_0x5c2035(0x262)];_0x518d98[_0x5c2035(0x4a5)]=_0x411f0e[_0x5c2035(0x5b5)]+_0xf0b161,_0x518d98[_0x5c2035(0x262)]=_0x411f0e['startY']+_0x5e8e59;}else _0x518d98[_0x5c2035(0x4a5)]=_0x411f0e==null?void 0x0:_0x411f0e[_0x5c2035(0x5b5)],_0x518d98[_0x5c2035(0x262)]=_0x411f0e==null?void 0x0:_0x411f0e['startY'];}return{'transform':_0x518d98,'sheetTransform':(_0x1bf78e=_0x51f7af(_0x518d98,_0xa6172b))==null?_0x15c05d:_0x1bf78e};}};Vo=$([Q(0x0,_0x54f4ad(_0x331687)),Q(0x1,_0x54f4ad(_0x5f3f38)),Q(0x2,_0x54f4ad(_0x2bc570)),Q(0x3,_0x54f4ad(_0x1bd6ad)),Q(0x4,_0x54f4ad(_0x5f2aad))],Vo);var Ho=class extends _0x415826{constructor(_0x22a6b7,_0x5c8be){const _0x54350b=_0x3409bc;super(_0x22a6b7,_0x5c8be),Y(this,_0x54350b(0x37d),null),Y(this,_0x54350b(0x4e2),null),Y(this,'_unitId',null),Y(this,_0x54350b(0x36d),null),Y(this,_0x54350b(0x2d1),!0x1),_0x5c8be&&this[_0x54350b(0x564)](_0x5c8be);}[_0x3409bc(0x334)](){const _0x2ee338=_0x3409bc;return{'unitId':this['_unitId'],'subUnitId':this[_0x2ee338(0x36d)],'drawingId':this['_shapeId']};}[_0x3409bc(0x564)](_0x1a2b5e){const _0x3bfffb=_0x3409bc;_0x1a2b5e[_0x3bfffb(0x2c5)]!==void 0x0&&(this[_0x3bfffb(0x37d)]=_0x1a2b5e[_0x3bfffb(0x2c5)]),_0x1a2b5e[_0x3bfffb(0x550)]!==void 0x0&&(this[_0x3bfffb(0x66d)]=_0x1a2b5e[_0x3bfffb(0x550)]),_0x1a2b5e['subUnitId']!==void 0x0&&(this[_0x3bfffb(0x36d)]=_0x1a2b5e[_0x3bfffb(0x26e)]),_0x1a2b5e[_0x3bfffb(0x682)]!==void 0x0&&(this[_0x3bfffb(0x2d1)]=_0x1a2b5e[_0x3bfffb(0x682)]),this['transformByState']({'width':_0x1a2b5e[_0x3bfffb(0x516)],'height':_0x1a2b5e[_0x3bfffb(0x487)]});}[_0x3409bc(0x2e1)](_0x664b92){const _0x31b042=_0x3409bc;_0x17764[_0x31b042(0x676)](_0x664b92,{'radius':_0x22accf['cxnPointRadius'],'fill':_0x22accf['cxnPointFill'],'stroke':_0x22accf[_0x31b042(0x549)],'strokeWidth':_0x22accf[_0x31b042(0x49b)],'evented':!0x0});}};let Uo=class extends _0x24ac39{constructor(_0xad4c6f,_0x37828c,_0x1e1757,_0x5935bd,_0x5815e3,_0x17c519,_0x26e068,_0x32de28){const _0x249c3a=_0x3409bc;super(),this[_0x249c3a(0x648)]=_0xad4c6f,this[_0x249c3a(0x426)]=_0x37828c,this[_0x249c3a(0x4ee)]=_0x1e1757,this[_0x249c3a(0x1fe)]=_0x5935bd,this[_0x249c3a(0x55c)]=_0x5815e3,this[_0x249c3a(0x609)]=_0x17c519,this['_sheetShapeAdjustController']=_0x26e068,this[_0x249c3a(0x3b5)]=_0x32de28,Y(this,'_activeShapeId',void 0x0),Y(this,_0x249c3a(0x66d),void 0x0),Y(this,_0x249c3a(0x36d),void 0x0),Y(this,_0x249c3a(0x612),[]),Y(this,_0x249c3a(0x397),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),Y(this,_0x249c3a(0x453),void 0x0),Y(this,_0x249c3a(0x305),!0x1),Y(this,_0x249c3a(0x403),!0x1),Y(this,'_hasReset',!0x1),Y(this,_0x249c3a(0x2f1),void 0x0),Y(this,_0x249c3a(0x4fd),void 0x0),Y(this,_0x249c3a(0x5a0),null),this[_0x249c3a(0x685)]();}['_initialize'](){const _0x42250c=_0x3409bc;this[_0x42250c(0x55a)](),this[_0x42250c(0x642)]();}[_0x3409bc(0x66b)](){const _0x2c23dc=_0x3409bc;if(!this[_0x2c23dc(0x66d)]||!this[_0x2c23dc(0x36d)]||!this[_0x2c23dc(0x587)])return;let _0x36bc6c={'unitId':this['_unitId'],'subUnitId':this[_0x2c23dc(0x36d)],'drawingId':this[_0x2c23dc(0x587)]},{transform:_0x19eb17}=this[_0x2c23dc(0x1fe)]['getDrawingByParam'](_0x36bc6c);if(_0x19eb17)return{'left':_0x19eb17[_0x2c23dc(0x4a5)]||0x0,'top':_0x19eb17['top']||0x0,'width':_0x19eb17['width']||0x0,'height':_0x19eb17[_0x2c23dc(0x487)]||0x0,'flipX':_0x19eb17[_0x2c23dc(0x574)]||!0x1,'flipY':_0x19eb17[_0x2c23dc(0x38b)]||!0x1,'angle':_0x19eb17[_0x2c23dc(0x35b)]};}[_0x3409bc(0x2a1)](){const _0x2a2050=_0x3409bc;if(this['_unitId']===void 0x0||this[_0x2a2050(0x36d)]===void 0x0||this[_0x2a2050(0x587)]===void 0x0)return;let _0x558241=this['_renderManagerService'][_0x2a2050(0x2db)](this['_unitId']);if(!_0x558241||!_0x558241['with'](_0x29be30)[_0x2a2050(0x58b)]())return;let {scene:_0x2c131b}=_0x558241,_0x2bed25=this[_0x2a2050(0x66b)]();if(!_0x2bed25)return;let _0x17fc6f=this[_0x2a2050(0x609)][_0x2a2050(0x357)](this[_0x2a2050(0x66d)],this[_0x2a2050(0x36d)],this[_0x2a2050(0x587)]);if(!_0x17fc6f||!_0x1e6a3a(_0x17fc6f[_0x2a2050(0x595)]()))return;let _0xc076bd=_0x17fc6f[_0x2a2050(0x2bc)]();if(_0xc076bd[_0x2a2050(0x4a0)]<0x2)return;let _0x26b8f3=new _0x3df0bc(_0x2bed25),_0x5c5388=_0xc076bd[0x0],_0x1041e1=_0xc076bd[_0xc076bd['length']-0x1],_0x3586c6=_0x26b8f3[_0x2a2050(0x3a0)](_0x5c5388),_0x49e249=_0x26b8f3['localToWorld'](_0x1041e1);this[_0x2a2050(0x4cc)](_0x2c131b,{..._0x3586c6},!0x0),this['_addShapeConnectorHandlerObject'](_0x2c131b,{..._0x49e249},!0x1);}['_addShapeConnectorHandlerObject'](_0xdafc53,_0x15a502,_0x213b29){const _0x9b70f=_0x3409bc;if(this[_0x9b70f(0x587)]===void 0x0||this[_0x9b70f(0x66d)]===void 0x0||this[_0x9b70f(0x36d)]===void 0x0)return;let _0x4900dc=_0x9b70f(0x4fc)+this[_0x9b70f(0x66d)]+'-'+this[_0x9b70f(0x36d)]+'-'+this['_activeShapeId']+'-'+(_0x213b29?_0x9b70f(0x2d5):_0x9b70f(0x499)),_0x41a4e7=_0xdafc53['getObjectIncludeInGroup'](_0x4900dc);if(_0x41a4e7){_0x41a4e7['transformByState']({'left':_0x15a502['x']-_0x22accf[_0x9b70f(0x211)],'top':_0x15a502['y']-_0x22accf[_0x9b70f(0x211)]});return;}let _0x3f4b9e=new Ho(_0x4900dc,{'left':_0x15a502['x']-_0x22accf[_0x9b70f(0x211)],'top':_0x15a502['y']-_0x22accf['cxnPointRadius'],'shapeId':this[_0x9b70f(0x587)],'unitId':this['_unitId'],'subUnitId':this[_0x9b70f(0x36d)],'isStartConnectorPoint':_0x213b29,'width':_0x22accf[_0x9b70f(0x211)]*0x2,'height':_0x22accf[_0x9b70f(0x211)]*0x2,'zIndex':_0x3ec92b+0x1,'evented':!0x0});this[_0x9b70f(0x612)][_0x9b70f(0x34a)](_0x3f4b9e),this[_0x9b70f(0x4da)](_0x3f4b9e,_0xdafc53,_0x213b29),_0xdafc53[_0x9b70f(0x49e)](_0x3f4b9e,_0x3ec92b+0x1);}['_getScrollInfo'](_0x17d997,_0x58c6a9){const _0x2d5409=_0x3409bc;var _0x2fb282;let _0x27672e={'x':0x0,'y':0x0};if(!_0x17d997||!_0x58c6a9)return _0x27672e;let _0x203f3e=this[_0x2d5409(0x4ee)]['getRenderById'](_0x17d997);if(!_0x203f3e||!_0x203f3e[_0x2d5409(0x5fa)](_0x29be30)[_0x2d5409(0x299)](_0x58c6a9))return _0x27672e;let _0x331d8b=_0x203f3e[_0x2d5409(0x5fa)](_0x1f13de),_0xc6af4=_0x331d8b==null?void 0x0:_0x331d8b[_0x2d5409(0x2ab)]();if(!_0xc6af4)return _0x27672e;let _0xe777ac=(_0x2fb282=this[_0x2d5409(0x55c)]['getUnit'](_0x17d997))==null?void 0x0:_0x2fb282['getSheetBySheetId'](_0x58c6a9);if(!_0xe777ac)return _0x27672e;let _0x3c7a8f=_0x201043(_0xc6af4['sheetViewStartRow'],_0xc6af4[_0x2d5409(0x64a)],_0x203f3e[_0x2d5409(0x2f2)],_0xe777ac);return _0x3c7a8f?{'x':_0x3c7a8f[_0x2d5409(0x26c)],'y':_0x3c7a8f[_0x2d5409(0x503)]}:_0x27672e;}[_0x3409bc(0x3be)](_0xed6d97,_0x1d14a2){const _0x165023=_0x3409bc;var _0x3cb52d,_0x2a3fd6;let _0x485d39=(_0x3cb52d=this['_univerInstanceService'][_0x165023(0x5a2)](_0xed6d97))==null?void 0x0:_0x3cb52d[_0x165023(0x4c8)](_0x1d14a2);return(_0x2a3fd6=_0x485d39==null?void 0x0:_0x485d39[_0x165023(0x33e)]())==null?0x1:_0x2a3fd6;}[_0x3409bc(0x31c)](_0x4a8f30,_0x401baa,_0x196d91,_0x52f162,_0x3c8c8e){const _0x9dce8f=_0x3409bc;this['_cxtHandlerPointerMove'][_0x9dce8f(0x3d6)](),this[_0x9dce8f(0x4fd)][_0x9dce8f(0x3d6)](),this[_0x9dce8f(0x608)][_0x9dce8f(0x571)]();let _0x2c6d45=this['_currentConnectionTarget'];this[_0x9dce8f(0x3b5)][_0x9dce8f(0x4ff)]();let _0x18faab=this[_0x9dce8f(0x55f)](this[_0x9dce8f(0x66d)],this['_subUnitId']),_0x48d8ab=this[_0x9dce8f(0x3be)](this[_0x9dce8f(0x66d)],this[_0x9dce8f(0x36d)]),_0x64ce36={'x':_0x196d91[_0x9dce8f(0x377)]/_0x48d8ab+_0x18faab['x'],'y':_0x196d91[_0x9dce8f(0x1e6)]/_0x48d8ab+_0x18faab['y']},_0xb4f359=_0x2c6d45?_0x2c6d45[_0x9dce8f(0x528)]:_0x64ce36,_0x38069f=_0x52f162?this[_0x9dce8f(0x453)]['getEndConnectInfo']():this[_0x9dce8f(0x453)][_0x9dce8f(0x430)](),_0x30032d=this[_0x9dce8f(0x453)][_0x9dce8f(0x595)]();_0x38069f?this[_0x9dce8f(0x5e3)](_0x38069f,_0xb4f359,_0x52f162,_0x2c6d45,_0x3c8c8e):this[_0x9dce8f(0x1e0)](_0x401baa,_0xb4f359,_0x52f162,_0x2c6d45,_0x3c8c8e,_0x30032d),this[_0x9dce8f(0x305)]=!0x1,this[_0x9dce8f(0x65a)]=!0x1,this[_0x9dce8f(0x5a0)]=null,_0x4a8f30[_0x9dce8f(0x2ed)]();}[_0x3409bc(0x1e0)](_0x491c71,_0x2520bb,_0x5b800d,_0x1ebe08,_0x2643a7,_0x128df3){const _0x5ae5cf=_0x3409bc;let _0x4650bb=_0x128df3===_0x4ac0a4[_0x5ae5cf(0x673)]||_0x128df3===_0x4ac0a4[_0x5ae5cf(0x5c1)],_0x41acf1=_0x5b800d?_0x2520bb:_0x491c71,_0x1dbb79=_0x5b800d?_0x491c71:_0x2520bb,_0x5227e3=this[_0x5ae5cf(0x453)][_0x5ae5cf(0x2bc)](),_0x5d119f=_0x2adb00(this[_0x5ae5cf(0x453)][_0x5ae5cf(0x595)]()),_0x48b702=_0x3df0bc[_0x5ae5cf(0x2f8)](_0x5227e3,_0x5d119f),_0x5623d5=_0x4650bb?_0x3df0bc[_0x5ae5cf(0x313)](_0x41acf1,_0x1dbb79):_0x3df0bc['computeConnectorResizeLayout'](_0x491c71,_0x2520bb,_0x5b800d,_0x48b702);_0x1ebe08?this[_0x5ae5cf(0x231)](_0x5623d5,_0x1ebe08,_0x5b800d,_0x2643a7):this[_0x5ae5cf(0x3ea)](_0x5623d5,_0x2643a7);}['_handleConnectedEndpointPointerUp'](_0x3beefc,_0x38151d,_0x5ad34e,_0x4dca3a,_0x5d67a3){const _0x34ef2b=_0x3409bc;let _0xc53fee=this[_0x34ef2b(0x56f)](_0x3beefc);if(!_0xc53fee)return;let _0x3c2cb3=_0x4dca3a?_0x4dca3a[_0x34ef2b(0x35b)]:this[_0x34ef2b(0x421)](_0xc53fee[_0x34ef2b(0x581)],_0x38151d),_0x299b79;if(_0x4dca3a){let _0x4cc3b8=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x4dca3a['unitId'],'subUnitId':_0x4dca3a[_0x34ef2b(0x26e)],'drawingId':_0x4dca3a['shapeId']});if(_0x4cc3b8!=null&&_0x4cc3b8[_0x34ef2b(0x290)]){let {left:_0x416608=0x0,top:_0x34f52f=0x0,width:_0x20eadd=0x0,height:_0x581cb5=0x0,angle:_0x3125ab}=_0x4cc3b8[_0x34ef2b(0x290)];_0x299b79=_0x30d17d({'left':_0x416608,'top':_0x34f52f,'width':_0x20eadd,'height':_0x581cb5},_0x3125ab||0x0);}else _0x299b79={'left':_0x38151d['x'],'top':_0x38151d['y'],'width':0x0,'height':0x0};}else _0x299b79={'left':_0x38151d['x'],'top':_0x38151d['y'],'width':0x0,'height':0x0};let _0x4567a3={'point':_0x38151d,'angle':_0x3c2cb3,'bounds':_0x299b79},_0x10387c=_0x5ad34e?_0x4567a3:_0xc53fee,_0x394858=_0x5ad34e?_0xc53fee:_0x4567a3,_0x2ca2f1=this[_0x34ef2b(0x453)]['getShapeType'](),_0x3f55bf=_0x3dfc81(_0x10387c,_0x394858,_0x2ca2f1);this[_0x34ef2b(0x453)]['removeLinePoints']();let _0x3d654e=_0x32d6d4(_0x3f55bf,_0x2ca2f1);_0x4dca3a?this[_0x34ef2b(0x219)](_0x3d654e,_0x4dca3a,_0x3beefc,_0x5ad34e,_0x5d67a3):this[_0x34ef2b(0x5c7)](_0x3d654e,_0x3beefc,_0x5ad34e,_0x5d67a3);}[_0x3409bc(0x231)](_0x28ea72,_0x58a49f,_0x51aa30,_0x4beceb){const _0x1e291a=_0x3409bc;let _0x53d00a=this['_activeShapeModel'][_0x1e291a(0x4aa)]()[_0x1e291a(0x2ac)],_0x321c16={..._0x53d00a},_0x5ce7cc={'shapeId':_0x58a49f[_0x1e291a(0x2c5)],'cxnIndex':_0x58a49f[_0x1e291a(0x2c4)]};_0x51aa30?_0x321c16[_0x1e291a(0x674)]=_0x5ce7cc:_0x321c16['to']=_0x5ce7cc;let _0x5637b3=this[_0x1e291a(0x453)]['getShapeType'](),_0x476e4c=_0x32d6d4(_0x28ea72[_0x1e291a(0x417)],_0x5637b3),_0x1e4542={'unitId':this[_0x1e291a(0x66d)],'subUnitId':this[_0x1e291a(0x36d)],'connectorShapeId':this[_0x1e291a(0x587)],'width':_0x28ea72[_0x1e291a(0x5da)][_0x1e291a(0x516)],'height':_0x28ea72[_0x1e291a(0x5da)][_0x1e291a(0x487)],'left':_0x28ea72['worldRect']['left'],'top':_0x28ea72['worldRect'][_0x1e291a(0x262)],'flipX':_0x28ea72[_0x1e291a(0x5da)]['flipX']||!0x1,'flipY':_0x28ea72['worldRect'][_0x1e291a(0x38b)]||!0x1,'newAdjustValues':_0x476e4c[_0x1e291a(0x589)],'oldAdjustValues':_0x4beceb,'oldRelation':_0x53d00a,'newRelation':_0x321c16,'newLineType':_0x476e4c['lineType'],'oldLineType':_0x5637b3};this[_0x1e291a(0x426)]['executeCommand'](_0xe74d61['id'],_0x1e4542);}['_executeResizeCommand'](_0x1f6c3f,_0x3f78bb){const _0x2ea34f=_0x3409bc;let _0x44fde7=this[_0x2ea34f(0x453)][_0x2ea34f(0x595)](),_0x594a28=_0x32d6d4(_0x1f6c3f['worldPoints'],_0x44fde7),_0xded3b7={'unitId':this[_0x2ea34f(0x66d)],'subUnitId':this[_0x2ea34f(0x36d)],'shapeId':this['_activeShapeId'],'width':_0x1f6c3f['worldRect'][_0x2ea34f(0x516)],'height':_0x1f6c3f[_0x2ea34f(0x5da)]['height'],'left':_0x1f6c3f[_0x2ea34f(0x5da)]['left'],'top':_0x1f6c3f[_0x2ea34f(0x5da)][_0x2ea34f(0x262)],'flipX':_0x1f6c3f[_0x2ea34f(0x5da)][_0x2ea34f(0x574)]||!0x1,'flipY':_0x1f6c3f['worldRect'][_0x2ea34f(0x38b)]||!0x1,'angle':_0x1f6c3f['worldRect'][_0x2ea34f(0x35b)]||0x0,'newAdjustValues':_0x594a28['adjustValues'],'oldAdjustValues':_0x3f78bb,'newLineType':_0x594a28['lineType'],'oldLineType':_0x44fde7};this[_0x2ea34f(0x426)][_0x2ea34f(0x586)](_0x415c50['id'],_0xded3b7);}[_0x3409bc(0x219)](_0x4b90e3,_0x3e2cab,_0xc8aab3,_0x585ec4,_0x876a4e){const _0x8d7fb2=_0x3409bc;let _0x303b11=this['_activeShapeModel'][_0x8d7fb2(0x4aa)]()['relation'],_0x54a03d={..._0x303b11},_0x16e59d={'shapeId':_0x3e2cab[_0x8d7fb2(0x2c5)],'cxnIndex':_0x3e2cab[_0x8d7fb2(0x2c4)]};_0x585ec4?(_0x54a03d['from']=_0x16e59d,_0x54a03d['to']=_0xc8aab3):(_0x54a03d[_0x8d7fb2(0x674)]=_0xc8aab3,_0x54a03d['to']=_0x16e59d);let _0x4ba809={'unitId':this[_0x8d7fb2(0x66d)],'subUnitId':this['_subUnitId'],'connectorShapeId':this['_activeShapeId'],'width':_0x4b90e3[_0x8d7fb2(0x5da)][_0x8d7fb2(0x516)],'height':_0x4b90e3[_0x8d7fb2(0x5da)][_0x8d7fb2(0x487)],'left':_0x4b90e3[_0x8d7fb2(0x5da)][_0x8d7fb2(0x4a5)],'top':_0x4b90e3['worldRect']['top'],'flipX':_0x4b90e3[_0x8d7fb2(0x5da)][_0x8d7fb2(0x574)]||!0x1,'flipY':_0x4b90e3[_0x8d7fb2(0x5da)][_0x8d7fb2(0x38b)]||!0x1,'oldAdjustValues':_0x876a4e,'newAdjustValues':_0x4b90e3['adjustValues'],'newLineType':_0x4b90e3[_0x8d7fb2(0x270)],'rotation':_0x4b90e3[_0x8d7fb2(0x369)],'oldRelation':_0x303b11,'newRelation':_0x54a03d};this['_commandService'][_0x8d7fb2(0x586)](_0xe74d61['id'],_0x4ba809);}[_0x3409bc(0x5c7)](_0x187245,_0x12f916,_0x361d5e,_0x3bd807){const _0x4d71bf=_0x3409bc;let _0x23e8f5=this[_0x4d71bf(0x453)][_0x4d71bf(0x4aa)]()[_0x4d71bf(0x2ac)],_0xc2fe30={};_0x361d5e?(_0xc2fe30['to']=_0x12f916,_0xc2fe30[_0x4d71bf(0x674)]=void 0x0):(_0xc2fe30['from']=_0x12f916,_0xc2fe30['to']=void 0x0);let _0x26b4a5={'unitId':this['_unitId'],'subUnitId':this[_0x4d71bf(0x36d)],'connectorShapeId':this['_activeShapeId'],'width':_0x187245[_0x4d71bf(0x5da)][_0x4d71bf(0x516)],'height':_0x187245['worldRect'][_0x4d71bf(0x487)],'left':_0x187245['worldRect'][_0x4d71bf(0x4a5)],'top':_0x187245['worldRect']['top'],'flipX':_0x187245[_0x4d71bf(0x5da)]['flipX']||!0x1,'flipY':_0x187245[_0x4d71bf(0x5da)]['flipY']||!0x1,'oldAdjustValues':_0x3bd807,'newAdjustValues':_0x187245[_0x4d71bf(0x589)],'newLineType':_0x187245[_0x4d71bf(0x270)],'rotation':_0x187245[_0x4d71bf(0x369)],'oldRelation':_0x23e8f5,'newRelation':_0xc2fe30};this[_0x4d71bf(0x426)][_0x4d71bf(0x586)](_0xe74d61['id'],_0x26b4a5);}[_0x3409bc(0x4da)](_0x7fcdbc,_0x4ecce4,_0x337119){this['disposeWithMe'](_0x7feef0(_0x7fcdbc['onPointerDown$']['subscribeEvent']((_0x469003,_0x178298)=>{const _0x1adc14=_0xce4a;let _0x55cc5d=_0x7fcdbc[_0x1adc14(0x334)]();if(this[_0x1adc14(0x453)]=this[_0x1adc14(0x609)]['getShapeModel'](_0x55cc5d[_0x1adc14(0x550)],_0x55cc5d['subUnitId'],_0x55cc5d[_0x1adc14(0x5b0)]),!this[_0x1adc14(0x453)])return;let _0x5813b7={};this['_activeShapeModel'][_0x1adc14(0x60e)]()[_0x1adc14(0x2d9)](_0x18f9e3=>{const _0x13bde4=_0x1adc14;let _0x545aa5=this[_0x13bde4(0x453)]['getAdjustValueByName'](_0x18f9e3);_0x545aa5!==void 0x0&&(_0x5813b7[_0x18f9e3]=_0x545aa5);});let _0x210a40=this[_0x1adc14(0x66b)]();if(!_0x210a40)return;this[_0x1adc14(0x397)]={..._0x210a40};let _0xd990dd=new _0x3df0bc(this['_baseDrawingRect']),_0x2c9521=_0xd64c82({'unitId':this[_0x1adc14(0x66d)],'subUnitId':this[_0x1adc14(0x36d)],'drawingId':this[_0x1adc14(0x587)]}),_0x202297=_0x4ecce4[_0x1adc14(0x251)](_0x2c9521);this['_isConnecting']=!0x0,_0x4ecce4['disableObjectsEvent'](),this[_0x1adc14(0x3b5)]['startConnectionDetection'](_0x4ecce4,this[_0x1adc14(0x66d)],this[_0x1adc14(0x36d)],this['_activeShapeId']),this[_0x1adc14(0x5a0)]=null;let _0x38d4da=this[_0x1adc14(0x453)][_0x1adc14(0x2bc)](),_0x16ca58=_0x38d4da[0x0],_0x3bf589=_0x38d4da[_0x38d4da[_0x1adc14(0x4a0)]-0x1],_0x52328c=_0x337119?_0xd990dd[_0x1adc14(0x3a0)](_0x3bf589):_0xd990dd[_0x1adc14(0x3a0)](_0x16ca58);this[_0x1adc14(0x2f1)]=_0x4ecce4[_0x1adc14(0x53a)][_0x1adc14(0x367)]((_0x23d322,_0x3c093c)=>{const _0x1b156c=_0x1adc14;if(!this[_0x1b156c(0x305)]||!this[_0x1b156c(0x453)])return;this[_0x1b156c(0x65a)]||(this[_0x1b156c(0x608)]['clearAdjustControls'](),this[_0x1b156c(0x453)][_0x1b156c(0x593)](),this[_0x1b156c(0x65a)]=!0x0);let _0x3b2a2d=this[_0x1b156c(0x55f)](this['_unitId'],this[_0x1b156c(0x36d)]),_0x54ed6c=this[_0x1b156c(0x3be)](this[_0x1b156c(0x66d)],this[_0x1b156c(0x36d)]),_0xe4905e={'x':_0x23d322['offsetX']/_0x54ed6c+_0x3b2a2d['x'],'y':_0x23d322[_0x1b156c(0x1e6)]/_0x54ed6c+_0x3b2a2d['y']},_0x529242=this[_0x1b156c(0x3b5)][_0x1b156c(0x664)](_0xe4905e);if(_0x529242){let {shapeId:_0x33257e,unitId:_0x157372,subUnitId:_0x1771b1}=_0x529242;if(_0x33257e&&_0x157372&&_0x1771b1){let _0x3b0783=_0xd64c82({'unitId':_0x157372,'subUnitId':_0x1771b1,'drawingId':_0x33257e});_0x529242[_0x1b156c(0x35b)]=(_0x4ecce4[_0x1b156c(0x251)](_0x3b0783)[_0x1b156c(0x35b)]||0x0)+_0x529242['angle'];}}this['_currentConnectionTarget']=_0x529242;let _0x2a9c46=_0x337119?this[_0x1b156c(0x453)][_0x1b156c(0x30b)]():this[_0x1b156c(0x453)][_0x1b156c(0x430)]();if(_0x2a9c46){this[_0x1b156c(0x3ef)](_0x2a9c46,_0xe4905e,_0x337119,_0x202297,_0x7fcdbc);return;}this[_0x1b156c(0x5c4)](_0xe4905e,_0x52328c,_0x337119,_0x202297,_0x7fcdbc);}),this[_0x1adc14(0x4fd)]=_0x4ecce4[_0x1adc14(0x58e)][_0x1adc14(0x367)]((_0x3745f5,_0x5a1f6e)=>{const _0x25beaa=_0x1adc14;this[_0x25beaa(0x31c)](_0x4ecce4,_0x52328c,_0x3745f5,_0x337119,_0x5813b7);}),_0x178298[_0x1adc14(0x382)]();})));}[_0x3409bc(0x644)](_0x1b99e0,_0xb05b4b,_0x43cee6){const _0x30d139=_0x3409bc;let _0x1e0bd7=this[_0x30d139(0x609)]['getBasicShapeRelation'](_0x1b99e0,_0xb05b4b,_0x43cee6);if(!_0x1e0bd7||_0x1e0bd7[_0x30d139(0x4a0)]===0x0)return;let _0x174320=this['_renderManagerService'][_0x30d139(0x2db)](_0x1b99e0);if(!_0x174320)return;let {scene:_0x44b725}=_0x174320;for(let _0x28b148 of _0x1e0bd7){let _0xd63d7b=_0x28b148['lineShapeId'],_0x30b0a7=this[_0x30d139(0x609)][_0x30d139(0x357)](_0x1b99e0,_0xb05b4b,_0xd63d7b);if(!_0x30b0a7)continue;let _0x3c3fec=_0x30b0a7[_0x30d139(0x430)](),_0x27e2f0=_0x30b0a7['getEndConnectInfo'](),_0x4063fa=(_0x3c3fec==null?void 0x0:_0x3c3fec[_0x30d139(0x2c5)])===_0x43cee6,_0x2e8022=_0xd64c82({'unitId':_0x1b99e0,'subUnitId':_0xb05b4b,'drawingId':_0xd63d7b}),_0x1fb8cc=_0x44b725[_0x30d139(0x251)](_0x2e8022);if(!_0x1fb8cc)continue;let _0x144455=this[_0x30d139(0x1fe)][_0x30d139(0x3c8)]({'unitId':_0x1b99e0,'subUnitId':_0xb05b4b,'drawingId':_0xd63d7b});_0x144455!=null&&_0x144455['transform']&&(_0x3c3fec&&_0x27e2f0?this[_0x30d139(0x598)](_0x1b99e0,_0xb05b4b,_0xd63d7b,_0x30b0a7,_0x3c3fec,_0x27e2f0,_0x1fb8cc):this[_0x30d139(0x32c)](_0x1b99e0,_0xb05b4b,_0xd63d7b,_0x30b0a7,_0x4063fa?_0x3c3fec:_0x27e2f0,_0x4063fa,_0x144455,_0x1fb8cc));}}[_0x3409bc(0x598)](_0x7cadf0,_0x40acca,_0x4d7405,_0x3c12f2,_0x19cc10,_0x2b0723,_0x20cfc2){const _0x3d5a3f=_0x3409bc;let _0x405bd7=this[_0x3d5a3f(0x66d)],_0x9df0f9=this[_0x3d5a3f(0x36d)];this['_unitId']=_0x7cadf0,this['_subUnitId']=_0x40acca;let _0x4867e7=this[_0x3d5a3f(0x56f)](_0x19cc10),_0x28c4b9=this[_0x3d5a3f(0x56f)](_0x2b0723);if(this[_0x3d5a3f(0x66d)]=_0x405bd7,this[_0x3d5a3f(0x36d)]=_0x9df0f9,!_0x4867e7||!_0x28c4b9)return;let _0x52e98e=_0x3c12f2[_0x3d5a3f(0x595)](),_0x4a774e=_0x3dfc81(_0x4867e7,_0x28c4b9,_0x52e98e);_0x4a774e&&_0x3c12f2[_0x3d5a3f(0x2a9)](_0x4a774e);let _0x16260a=_0x32d6d4(_0x4a774e,_0x52e98e);_0x16260a['lineType']!==_0x52e98e&&_0x3c12f2[_0x3d5a3f(0x2f7)](_0x16260a[_0x3d5a3f(0x270)]),_0x3c12f2['clearAdjustValue']();for(let [_0x2a7650,_0x2824d7]of Object[_0x3d5a3f(0x590)](_0x16260a[_0x3d5a3f(0x589)]))_0x3c12f2[_0x3d5a3f(0x68f)](_0x2a7650,_0x2824d7);_0x3c12f2['updateContext']({'width':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x516)],'height':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x487)]}),_0x20cfc2[_0x3d5a3f(0x4f4)]({'flipX':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x574)],'flipY':_0x16260a[_0x3d5a3f(0x5da)]['flipY'],'left':_0x16260a[_0x3d5a3f(0x5da)]['left'],'top':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x262)],'width':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x516)],'height':_0x16260a[_0x3d5a3f(0x5da)][_0x3d5a3f(0x487)],'angle':_0x16260a[_0x3d5a3f(0x369)]}),_0x3c12f2[_0x3d5a3f(0x4e7)]();}[_0x3409bc(0x32c)](_0x33366a,_0x565742,_0x3c98bc,_0x584f03,_0x3781c1,_0x3aa5c6,_0x14a18b,_0x5efb77){const _0x17e86e=_0x3409bc;let _0x4389b7=this[_0x17e86e(0x66d)],_0x520636=this[_0x17e86e(0x36d)];this[_0x17e86e(0x66d)]=_0x33366a,this[_0x17e86e(0x36d)]=_0x565742;let _0x421ecf=this[_0x17e86e(0x56f)](_0x3781c1);if(this[_0x17e86e(0x66d)]=_0x4389b7,this['_subUnitId']=_0x520636,!_0x421ecf)return;let {left:_0x30b7ca=0x0,top:_0x3de98b=0x0,width:_0x41210d=0x0,height:_0x9268eb=0x0,flipX:_0x1e1e08=!0x1,flipY:_0x1935a9=!0x1}=_0x14a18b[_0x17e86e(0x290)],_0x1b55a2=_0x584f03[_0x17e86e(0x2bc)]();if(_0x1b55a2[_0x17e86e(0x4a0)]<0x2)return;let _0x5a242a=new _0x3df0bc({'left':_0x30b7ca,'top':_0x3de98b,'width':_0x41210d,'height':_0x9268eb,'flipX':_0x1e1e08,'flipY':_0x1935a9}),_0x3532f8=_0x3aa5c6?_0x1b55a2[_0x1b55a2[_0x17e86e(0x4a0)]-0x1]:_0x1b55a2[0x0],_0x2f73d9=_0x5a242a['localToWorld'](_0x3532f8),_0x1e0a5b=_0x3df0bc['computeConnectorResizeLayout'](_0x2f73d9,_0x421ecf['point'],!_0x3aa5c6);_0x5efb77['transformByState']({'flipX':_0x1e0a5b[_0x17e86e(0x5da)]['flipX'],'flipY':_0x1e0a5b[_0x17e86e(0x5da)][_0x17e86e(0x38b)],'left':_0x1e0a5b['worldRect'][_0x17e86e(0x4a5)],'top':_0x1e0a5b[_0x17e86e(0x5da)][_0x17e86e(0x262)],'width':_0x1e0a5b[_0x17e86e(0x5da)][_0x17e86e(0x516)],'height':_0x1e0a5b[_0x17e86e(0x5da)][_0x17e86e(0x487)],'angle':_0x1e0a5b[_0x17e86e(0x5da)][_0x17e86e(0x35b)]}),_0x5efb77[_0x17e86e(0x5d0)](!0x0);}[_0x3409bc(0x663)](){const _0x1bbb1d=_0x3409bc;this['_connectorObjects'][_0x1bbb1d(0x4a0)]!==0x0&&(this[_0x1bbb1d(0x612)][_0x1bbb1d(0x2d9)](_0x33e17a=>{_0x33e17a['dispose']();}),this[_0x1bbb1d(0x612)]=[]);}['_registerDrawingMoveHandler'](){const _0xe74b66=_0x3409bc;let _0x342577=this['_univerInstanceService'][_0xe74b66(0x68c)](_0x5a9a41[_0xe74b66(0x627)]);this[_0xe74b66(0x283)](_0x342577['pipe'](_0x44dfd5(_0x23d15a=>_0x23d15a?_0x23d15a[_0xe74b66(0x621)][_0xe74b66(0x57e)](_0x44dfd5(_0x4a88f1=>{const _0x2d96a1=_0xe74b66;if(!_0x4a88f1)return _0x5294e6;let _0x3f0d32=_0x23d15a['getUnitId'](),_0x30c879=this['_renderManagerService'][_0x2d96a1(0x2db)](_0x3f0d32),_0x114f5e=_0x30c879==null?void 0x0:_0x30c879[_0x2d96a1(0x2f2)];return _0x114f5e?_0x100f34(_0x114f5e):_0x5294e6;})):_0x5294e6))[_0xe74b66(0x54e)](_0x1afd35=>{const _0x4e223d=_0xe74b66;let _0x5ee774=_0x1afd35[_0x4e223d(0x5e1)]();this[_0x4e223d(0x283)](_0x1afd35[_0x4e223d(0x53a)]['subscribeEvent'](_0x5216af=>{const _0x1b2774=_0x4e223d;this[_0x1b2774(0x403)]&&this['_activeShapeId']&&this['_clearShapeConnectorHandlerObjects']();})),this[_0x4e223d(0x283)](_0x5ee774[_0x4e223d(0x2cd)][_0x4e223d(0x54e)](_0x45ad03=>{const _0x5cc746=_0x4e223d;let {objects:_0x4ee4dd}=_0x45ad03;this['_clearShapeConnectorHandlerObjects'](),_0x4ee4dd!==null&&_0x4ee4dd[_0x5cc746(0x200)]===0x1&&_0x4ee4dd[_0x5cc746(0x438)]()['next']()[_0x5cc746(0x224)]instanceof to&&(this[_0x5cc746(0x403)]=!0x0);})),this[_0x4e223d(0x283)](_0x5ee774[_0x4e223d(0x418)][_0x4e223d(0x54e)](_0x3f18bd=>{const _0x3ad410=_0x4e223d;this[_0x3ad410(0x403)]&&this['_clearShapeConnectorHandlerObjects']();})),this['disposeWithMe'](_0x1afd35[_0x4e223d(0x58e)][_0x4e223d(0x367)](()=>{const _0x22c3d3=_0x4e223d;this['_isDrawingShapePointDown']&&(this['_isDrawingShapePointDown']=!0x1,this[_0x22c3d3(0x2a1)]());})),this[_0x4e223d(0x283)](_0x5ee774[_0x4e223d(0x48a)][_0x4e223d(0x54e)](()=>{const _0x1b951b=_0x4e223d;this[_0x1b951b(0x66d)]&&this[_0x1b951b(0x36d)]&&this[_0x1b951b(0x587)]&&this[_0x1b951b(0x1fe)]['getDrawingByParam']({'unitId':this[_0x1b951b(0x66d)],'subUnitId':this[_0x1b951b(0x36d)],'drawingId':this['_activeShapeId']})&&(this['_clearShapeConnectorHandlerObjects'](),this[_0x1b951b(0x2a1)]());}));}));}[_0x3409bc(0x55a)](){const _0x265b65=_0x3409bc;this['disposeWithMe'](this[_0x265b65(0x1fe)][_0x265b65(0x5d8)]['subscribe'](_0x4b411d=>{const _0x3d5927=_0x265b65;if(_0x4b411d['length']===0x1){let _0x37a8f3=_0x4b411d[0x0];if(_0x37a8f3[_0x3d5927(0x42f)]===_0x204228[_0x3d5927(0x4d9)]){let _0xd47c3e=this['_sheetsShapeService'][_0x3d5927(0x357)](_0x37a8f3[_0x3d5927(0x550)],_0x37a8f3[_0x3d5927(0x26e)],_0x37a8f3[_0x3d5927(0x5b0)]);if(_0xd47c3e&&_0x1e6a3a(_0xd47c3e[_0x3d5927(0x595)]())){this[_0x3d5927(0x587)]=_0x37a8f3[_0x3d5927(0x5b0)],this[_0x3d5927(0x66d)]=_0x37a8f3[_0x3d5927(0x550)],this['_subUnitId']=_0x37a8f3[_0x3d5927(0x26e)],this['_clearShapeConnectorHandlerObjects'](),this['_addShapeConnectorHandlerObjects']();return;}}}this[_0x3d5927(0x587)]=void 0x0,this[_0x3d5927(0x66d)]=void 0x0,this[_0x3d5927(0x36d)]=void 0x0,this[_0x3d5927(0x663)]();})),this['disposeWithMe'](this[_0x265b65(0x1fe)][_0x265b65(0x228)][_0x265b65(0x54e)](_0x3d31ff=>{const _0x12208c=_0x265b65;if(_0x3d31ff[_0x12208c(0x4a0)]===0x1){var _0x44ec7f;let _0x43883c=_0x3d31ff[0x0],_0x58b720=(_0x44ec7f=this['_drawingManagerService']['getDrawingByParam'](_0x43883c))==null?void 0x0:_0x44ec7f['drawingType'];_0x58b720===_0x204228[_0x12208c(0x4d9)]&&_0x43883c['drawingId']===this[_0x12208c(0x587)]?(this[_0x12208c(0x663)](),this[_0x12208c(0x2a1)]()):!this['_activeShapeId']&&_0x58b720===_0x204228[_0x12208c(0x4d9)]&&this[_0x12208c(0x644)](_0x43883c[_0x12208c(0x550)],_0x43883c[_0x12208c(0x26e)],_0x43883c['drawingId']);}})),this['disposeWithMe'](this['_drawingManagerService'][_0x265b65(0x226)][_0x265b65(0x54e)](_0x54eec0=>{for(let _0x1a01e4 of _0x54eec0){let {drawingId:_0x14ef53}=_0x1a01e4;if(this['_activeShapeId']===_0x14ef53){this['_reset']();return;}}}));}[_0x3409bc(0x3ef)](_0x94ee60,_0x1eeecd,_0x21ae8a,_0x564823,_0x4c84c4){const _0x37cdfd=_0x3409bc;var _0x30364e,_0x1b3934;if(!this['_activeShapeModel'])return;let _0x3d5654=this['_getConnectPointInfo'](_0x94ee60);if(!_0x3d5654)return;let _0x4065db=this[_0x37cdfd(0x5a0)]?this[_0x37cdfd(0x5a0)][_0x37cdfd(0x528)]:_0x1eeecd,_0xbf94e6=this[_0x37cdfd(0x5a0)]?this[_0x37cdfd(0x5a0)][_0x37cdfd(0x35b)]:this['_calculateFreeEndpointAngle'](_0x3d5654[_0x37cdfd(0x581)],_0x4065db),_0x2b6dde;if(this[_0x37cdfd(0x5a0)]){let _0x22b168=this[_0x37cdfd(0x1fe)][_0x37cdfd(0x3c8)]({'unitId':this[_0x37cdfd(0x5a0)][_0x37cdfd(0x550)],'subUnitId':this['_currentConnectionTarget'][_0x37cdfd(0x26e)],'drawingId':this[_0x37cdfd(0x5a0)]['shapeId']});if(_0x22b168!=null&&_0x22b168[_0x37cdfd(0x290)]){let {left:_0x46c290=0x0,top:_0x4a66dc=0x0,width:_0x365aef=0x0,height:_0x1514bc=0x0,angle:_0x2226fc}=_0x22b168[_0x37cdfd(0x290)];_0x2b6dde=_0x30d17d({'left':_0x46c290,'top':_0x4a66dc,'width':_0x365aef,'height':_0x1514bc},_0x2226fc||0x0);}else _0x2b6dde={'left':_0x4065db['x'],'top':_0x4065db['y'],'width':0x0,'height':0x0};}else _0x2b6dde={'left':_0x4065db['x'],'top':_0x4065db['y'],'width':0x0,'height':0x0};let _0x12c25c={'point':_0x4065db,'angle':_0xbf94e6,'bounds':_0x2b6dde},_0x4d6890=_0x21ae8a?_0x12c25c:_0x3d5654,_0x455502=_0x21ae8a?_0x3d5654:_0x12c25c,_0x514a2c=this[_0x37cdfd(0x453)][_0x37cdfd(0x595)](),_0x3aed80=_0x3dfc81(_0x4d6890,_0x455502,_0x514a2c);_0x3aed80&&this[_0x37cdfd(0x453)][_0x37cdfd(0x2a9)](_0x3aed80);let _0x556ec1=_0x32d6d4(_0x3aed80,_0x514a2c);_0x556ec1[_0x37cdfd(0x270)]!==_0x514a2c&&this[_0x37cdfd(0x453)][_0x37cdfd(0x2f7)](_0x556ec1[_0x37cdfd(0x270)]);for(let [_0x21009f,_0x52808a]of Object['entries'](_0x556ec1['adjustValues']))this[_0x37cdfd(0x453)][_0x37cdfd(0x68f)](_0x21009f,_0x52808a);this[_0x37cdfd(0x453)][_0x37cdfd(0x266)]({'width':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x516)],'height':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x487)]}),_0x564823['transformByState']({'flipX':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x574)],'flipY':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x38b)],'left':_0x556ec1['worldRect']['left'],'top':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x262)],'width':_0x556ec1[_0x37cdfd(0x5da)][_0x37cdfd(0x516)],'height':_0x556ec1[_0x37cdfd(0x5da)]['height'],'angle':_0x556ec1[_0x37cdfd(0x369)]}),_0x564823[_0x37cdfd(0x5d0)](!0x0);let _0x27c3ea=(_0x30364e=(_0x1b3934=this['_currentConnectionTarget'])==null?void 0x0:_0x1b3934[_0x37cdfd(0x528)])==null?_0x1eeecd:_0x30364e;_0x4c84c4[_0x37cdfd(0x4f4)]({'left':_0x27c3ea['x']-_0x22accf[_0x37cdfd(0x211)],'top':_0x27c3ea['y']-_0x22accf['cxnPointRadius']});}[_0x3409bc(0x5c4)](_0x485646,_0x21cd61,_0x170991,_0x4d920d,_0x468b5a){const _0xc07765=_0x3409bc;var _0x51bd9f,_0x258a4e,_0x1122a8,_0x216f02;let _0x3a78a2=(_0x51bd9f=(_0x258a4e=this[_0xc07765(0x5a0)])==null?void 0x0:_0x258a4e[_0xc07765(0x528)])==null?_0x485646:_0x51bd9f,_0x1e73bf=_0x3df0bc[_0xc07765(0x22a)](_0x21cd61,_0x3a78a2,_0x170991);_0x4d920d[_0xc07765(0x4f4)]({'flipX':_0x1e73bf[_0xc07765(0x5da)][_0xc07765(0x574)],'flipY':_0x1e73bf['worldRect'][_0xc07765(0x38b)],'left':_0x1e73bf[_0xc07765(0x5da)][_0xc07765(0x4a5)],'top':_0x1e73bf[_0xc07765(0x5da)][_0xc07765(0x262)],'width':_0x1e73bf['worldRect'][_0xc07765(0x516)],'height':_0x1e73bf[_0xc07765(0x5da)][_0xc07765(0x487)],'angle':_0x1e73bf[_0xc07765(0x5da)][_0xc07765(0x35b)]});let _0x3b0e7a=(_0x1122a8=(_0x216f02=this[_0xc07765(0x5a0)])==null?void 0x0:_0x216f02[_0xc07765(0x528)])==null?_0x485646:_0x1122a8;_0x468b5a['transformByState']({'left':_0x3b0e7a['x']-_0x22accf[_0xc07765(0x211)],'top':_0x3b0e7a['y']-_0x22accf[_0xc07765(0x211)]});}[_0x3409bc(0x56f)](_0x45ad74){const _0x5d2ac3=_0x3409bc;if(!this['_unitId']||!this[_0x5d2ac3(0x36d)])return null;let {shapeId:_0x8d7e62,cxnIndex:_0x1148a2}=_0x45ad74,_0x1ba0a7=this[_0x5d2ac3(0x609)][_0x5d2ac3(0x357)](this[_0x5d2ac3(0x66d)],this[_0x5d2ac3(0x36d)],_0x8d7e62);if(!_0x1ba0a7)return null;let _0x51c38d=this[_0x5d2ac3(0x1fe)]['getDrawingByParam']({'unitId':this[_0x5d2ac3(0x66d)],'subUnitId':this[_0x5d2ac3(0x36d)],'drawingId':_0x8d7e62});if(!(_0x51c38d!=null&&_0x51c38d[_0x5d2ac3(0x290)]))return null;let {left:_0x35a1d6=0x0,top:_0x143114=0x0,width:_0x12cbf5=0x0,height:_0x344d80=0x0,flipX:_0x295084=!0x1,flipY:_0x38d9bf=!0x1,angle:_0x19084b}=_0x51c38d[_0x5d2ac3(0x290)];_0x1ba0a7[_0x5d2ac3(0x266)]({'width':_0x12cbf5,'height':_0x344d80});let _0x2ee6cb=_0x1ba0a7['getConnectionSiteList']()[_0x5d2ac3(0x49a)](_0x5db06f=>_0x5db06f[_0x5d2ac3(0x44b)]===_0x1148a2);if(!_0x2ee6cb)return null;let _0x1fec2a=_0x295084?_0x12cbf5-_0x2ee6cb['x']:_0x2ee6cb['x'],_0x9174a7=_0x38d9bf?_0x344d80-_0x2ee6cb['y']:_0x2ee6cb['y'];if(_0x19084b!==0x0&&_0x19084b!=null){let _0x91713c=_0x19084b*Math['PI']/0xb4,_0x103d4b=Math[_0x5d2ac3(0x5f2)](_0x91713c),_0x1d0464=Math[_0x5d2ac3(0x269)](_0x91713c),_0x28c85b=_0x12cbf5/0x2,_0x57a3be=_0x344d80/0x2,_0x17576a=_0x1fec2a-_0x28c85b,_0x209758=_0x9174a7-_0x57a3be;_0x1fec2a=_0x28c85b+_0x17576a*_0x103d4b-_0x209758*_0x1d0464,_0x9174a7=_0x57a3be+_0x17576a*_0x1d0464+_0x209758*_0x103d4b;}_0x1fec2a+=_0x35a1d6,_0x9174a7+=_0x143114;let _0x35f67e=_0x2ee6cb[_0x5d2ac3(0x310)]/0xea60;_0x295084&&(_0x35f67e=0xb4-_0x35f67e),_0x38d9bf&&(_0x35f67e=-_0x35f67e),_0x35f67e+=_0x19084b||0x0,_0x35f67e=(_0x35f67e%0x168+0x168)%0x168;let _0x25d536=_0x30d17d({'left':_0x35a1d6,'top':_0x143114,'width':_0x12cbf5,'height':_0x344d80},_0x19084b||0x0);return{'point':{'x':_0x1fec2a,'y':_0x9174a7},'angle':_0x35f67e,'bounds':_0x25d536};}['_calculateFreeEndpointAngle'](_0x1b412f,_0x35da69){const _0x9dc183=_0x3409bc;let _0xecd556=_0x35da69['x']-_0x1b412f['x'],_0xa57e41=_0x35da69['y']-_0x1b412f['y'];return Math[_0x9dc183(0x209)](_0xecd556)>=Math[_0x9dc183(0x209)](_0xa57e41)?_0xecd556>=0x0?0xb4:0x0:_0xa57e41>=0x0?0x10e:0x5a;}[_0x3409bc(0x5e6)](){const _0x5c5b6a=_0x3409bc;this[_0x5c5b6a(0x587)]=void 0x0,this[_0x5c5b6a(0x66d)]=void 0x0,this[_0x5c5b6a(0x36d)]=void 0x0,this[_0x5c5b6a(0x663)]();}[_0x3409bc(0x23b)](){this['_clearShapeConnectorHandlerObjects'](),super['dispose']();}};Uo=$([Q(0x1,_0x2ac980),Q(0x2,_0x592bef),Q(0x3,_0x132f48),Q(0x4,_0x418e4b),Q(0x5,_0x54f4ad(_0x1bd6ad)),Q(0x6,_0x54f4ad(mo)),Q(0x7,_0x54f4ad(Bo))],Uo);let Wo=class extends _0x24ac39{constructor(_0x1413d8,_0x2b40d6,_0x48792a){const _0x1523bf=_0x3409bc;super(),this[_0x1523bf(0x426)]=_0x1413d8,this[_0x1523bf(0x33f)]=_0x2b40d6,this[_0x1523bf(0x485)]=_0x48792a,this[_0x1523bf(0x2ee)]();}[_0x3409bc(0x2ee)](){const _0x330843=_0x3409bc;this[_0x330843(0x283)](this['_commandService'][_0x330843(0x55d)](_0x101a81=>{const _0x44bcb3=_0x330843;let _0x2b2b9d,_0xff626d;if(_0x101a81['id']===_0xbd5c6['id']||_0x101a81['id']===_0x474910['id']||_0x101a81['id']===_0xe74d61['id']){let _0x4d3adf=_0x101a81[_0x44bcb3(0x639)];_0x2b2b9d=_0x4d3adf['unitId'],_0xff626d=_0x4d3adf[_0x44bcb3(0x26e)];}!_0x2b2b9d||!_0xff626d||this[_0x44bcb3(0x485)][_0x44bcb3(0x5a5)]({'workbookTypes':[_0x4d75e5],'worksheetTypes':[_0x2c7f17]},_0x2b2b9d,_0xff626d)||this[_0x44bcb3(0x485)][_0x44bcb3(0x239)](this[_0x44bcb3(0x33f)]['t']('sheets-shape-ui.permission.editErr'));}));}};Wo=$([Q(0x0,_0x54f4ad(_0x2ac980)),Q(0x1,_0x54f4ad(_0x13096e)),Q(0x2,_0x54f4ad(_0x511d86))],Wo);const Go=function(_0x26b522){const _0x359e57=_0x3409bc;let {containerWidth:_0x1e6f88,containerHeight:_0x2c8a0d,scaleX:_0x3fd6ca,scaleY:_0x497a35}=_0x26b522,_0x571f5e=_0x3fd6ca||0x1,_0x1a1b6e=_0x497a35||0x1,_0x3adc6b=_0x40d6f2(X),_0xa2599a=_0x40d6f2(_0x46b4da),_0x41a3fe=_0x40d6f2(_0x592bef),_0x4c3eda=_0x40d6f2(_0x418e4b),_0x29770c=_0x40d6f2(_0x132f48),_0x3bba01=_0x40d6f2(_0x1bd6ad),_0x1d3479=_0x40d6f2(_0x2ac980),_0x3266b8=_0x3341f2(_0x3adc6b['editingParams$']),_0x3abb01=_0x3341f2(_0x3adc6b[_0x359e57(0x3b1)]),_0x1c4373=_0x58f25e(null),_0x2ac0d1=_0x58f25e(null),_0x4405b9=_0x58f25e(null),_0x4c70ad=_0x58f25e(null),_0x1246bf=_0x58f25e(null),_0x24a51=_0x58f25e(null),[_0x59c99f,_0x5dc256]=_0x5074d8({'editorHeight':_0x2c8a0d,'marginTop':0x0,'useAbsolutePosition':!0x1}),_0x57314e=_0x4560d4(_0x498dd1=>{queueMicrotask(()=>{_0x5dc256(_0x498dd1);});},[]),_0x26c861=_0x4560d4(()=>_0x4c3eda[_0x359e57(0x5a2)](Za,_0x5a9a41['UNIVER_DOC']),[_0x4c3eda]),_0x5c92f3=_0x4560d4(()=>{const _0x5180dc=_0x359e57;var _0x5a21c1;let _0x554395=_0x571f5e,_0x46c4c6=_0x1a1b6e;if(!_0x3266b8)return{'scaleAdjust':0x1,'renderScaleX':_0x554395,'renderScaleY':_0x46c4c6};let _0x2e458f=_0x41a3fe[_0x5180dc(0x2db)](_0x3266b8[_0x5180dc(0x550)]),_0x2c9776=_0x2e458f==null?void 0x0:_0x2e458f[_0x5180dc(0x2f2)][_0x5180dc(0x5bc)](),_0x178281=_0x2e458f==null?void 0x0:_0x2e458f[_0x5180dc(0x630)][_0x5180dc(0x697)](),_0x7d4be2=_0x178281?Number[_0x5180dc(0x447)](_0x178281[_0x5180dc(0x481)][_0x5180dc(0x516)]||''):0x0,_0x47b5a0=(_0x5a21c1=_0x178281==null?void 0x0:_0x178281['getBoundingClientRect']()[_0x5180dc(0x516)])==null?0x0:_0x5a21c1,_0xb4e8b4=_0x7d4be2>0x0&&_0x47b5a0>0x0?_0x47b5a0/_0x7d4be2:0x1;return{'scaleAdjust':Number[_0x5180dc(0x584)](_0xb4e8b4)&&_0xb4e8b4>0x0?_0xb4e8b4:0x1,'renderScaleX':(_0x2c9776==null?void 0x0:_0x2c9776[_0x5180dc(0x302)])||_0x554395,'renderScaleY':(_0x2c9776==null?void 0x0:_0x2c9776[_0x5180dc(0x370)])||_0x46c4c6};},[_0x571f5e,_0x1a1b6e,_0x3266b8,_0x41a3fe]),_0x310fd4=_0x4560d4(()=>{const _0x4085fa=_0x359e57;if(!_0x3266b8)return{'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e};let {unitId:_0x3a9791,subUnitId:_0x5a251e,shapeId:_0xd405ca}=_0x3266b8,_0x2a7aa6=_0x3bba01['getShapeModel'](_0x3a9791,_0x5a251e,_0xd405ca);if(!_0x2a7aa6)return{'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e};let _0x44228b={'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e};return _0x2a7aa6[_0x4085fa(0x38d)](_0x44228b);},[_0x3266b8,_0x1e6f88,_0x2c8a0d,_0x571f5e,_0x1a1b6e,_0x3bba01]),_0x570407=_0x4560d4(()=>{const _0x38d1c8=_0x359e57;if(!_0x3266b8)return null;let {unitId:_0x35da35,subUnitId:_0x141ac6,shapeId:_0x1323a2}=_0x3266b8,_0x4126fc=_0x3bba01[_0x38d1c8(0x357)](_0x35da35,_0x141ac6,_0x1323a2);if(!_0x4126fc)return null;let _0x487097=_0x4126fc[_0x38d1c8(0x324)]();if(!_0x487097)return null;let _0x5d1425={'unitId':_0x35da35,'subUnitId':_0x141ac6,'drawingId':_0x1323a2},_0x2bda5a=_0x29770c[_0x38d1c8(0x3c8)](_0x5d1425),_0x188624={'angle':0x0,'flipX':!0x1,'flipY':!0x1};_0x2bda5a&&_0x2bda5a[_0x38d1c8(0x290)]&&(_0x188624=_0x2bda5a[_0x38d1c8(0x290)]);let _0x599c6f={'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e},_0x22b990=_0x4126fc[_0x38d1c8(0x38d)](_0x599c6f),_0x40bf52,_0x1b05c3=_0x26d5cf[_0x38d1c8(0x4db)],_0x2d4a80=_0x1e1ccf[_0x38d1c8(0x301)];if(_0x38d1c8(0x378)in _0x487097&&_0x487097['dataModel']){var _0x1df0dc,_0x2171d5;let _0x1d5724=_0x487097[_0x38d1c8(0x378)];_0x1d5724!=null&&_0x1d5724['doc']&&(_0x40bf52=_0x1d5724[_0x38d1c8(0x672)]),_0x1b05c3=(_0x1df0dc=_0x1d5724==null?void 0x0:_0x1d5724['va'])==null?_0x26d5cf['TOP']:_0x1df0dc,_0x2d4a80=(_0x2171d5=_0x1d5724==null?void 0x0:_0x1d5724['ha'])==null?_0x1e1ccf['LEFT']:_0x2171d5;}return{'doc':_0x40bf52,'verticalAlign':_0x1b05c3,'horizontalAlign':_0x2d4a80,'textRect':_0x22b990,'transform':_0x188624,'isHorizontal':_0x487097[_0x38d1c8(0x248)]};},[_0x3266b8,_0x3bba01,_0x29770c,_0x1e6f88,_0x2c8a0d,_0x571f5e,_0x1a1b6e]),_0x362010=_0x291754(()=>{const _0x490af5=_0x359e57;let _0x444f48=_0x570407();return _0x444f48!=null&&_0x444f48[_0x490af5(0x672)]?$a(_0x444f48[_0x490af5(0x672)],{'isHorizontal':!0x0,'textRect':_0x444f48[_0x490af5(0x3fb)],'verticalAlign':_0x444f48['verticalAlign'],'horizontalAlign':_0x444f48[_0x490af5(0x423)]}):{'id':Za,'body':{'dataStream':'\x0d\x0a','textRuns':[],'paragraphs':[{'startIndex':0x0}]},'documentStyle':{'pageSize':{'width':_0x1e6f88/_0x571f5e,'height':0x1/0x0}}};},[_0x570407,_0x1e6f88,_0x571f5e]),_0x11b7fc=_0x1605ab({'editorId':Za,'initialValue':_0x362010,'container':_0x2ac0d1,'autoFocus':!0x1,'isSingle':!0x1}),_0x524224=_0x2ed827(Za);_0x54f1a5(_0x524224,{'keyCodes':[{'keyCode':_0x219ee7[_0x359e57(0x3e4)]}],'handler':()=>{const _0x16af25=_0x359e57;_0x1d3479[_0x16af25(0x586)](_0x4c507a['id']);}},_0x11b7fc),_0x5231b7(_0x524224,!0x1,_0x11b7fc);let _0x282145=_0x4560d4((_0x2431a8=!0x0)=>{const _0x2568e7=_0x359e57;var _0x81e459,_0x2d98fc,_0x42c138;if(!_0x11b7fc)return;let _0x5d837d=_0x11b7fc['getSelectionRanges']()[_0x2568e7(0x49a)](_0x41704f=>_0x41704f['collapsed']),_0xd38225=((_0x81e459=(_0x2d98fc=_0x11b7fc[_0x2568e7(0x514)]()[_0x2568e7(0x573)])==null?void 0x0:_0x2d98fc[_0x2568e7(0x249)]['length'])==null?0x2:_0x81e459)-0x2,_0x5ab70a=(_0x42c138=_0x5d837d==null?void 0x0:_0x5d837d['startOffset'])==null?_0x2431a8?_0xd38225:null:_0x42c138;_0x5ab70a!==null&&_0x11b7fc['setSelectionRanges']([{'startOffset':_0x5ab70a,'endOffset':_0x5ab70a}],!0x1);},[_0x11b7fc]),_0x1397e5=_0x4560d4(()=>{const _0x26b4d2=_0x359e57;_0x1246bf[_0x26b4d2(0x5d7)]!==null&&(cancelAnimationFrame(_0x1246bf[_0x26b4d2(0x5d7)]),_0x1246bf[_0x26b4d2(0x5d7)]=null),_0x24a51[_0x26b4d2(0x5d7)]!==null&&(window[_0x26b4d2(0x483)](_0x24a51[_0x26b4d2(0x5d7)]),_0x24a51[_0x26b4d2(0x5d7)]=null);},[]),_0x584ec2=_0x4560d4(()=>{const _0x2abaa7=_0x359e57;var _0x4304c6,_0x2897b3,_0x2b422c;if(!_0x11b7fc)return;let _0x1968c8=_0x41a3fe[_0x2abaa7(0x2db)](Za),_0x30a478=_0x1968c8==null?void 0x0:_0x1968c8[_0x2abaa7(0x5fa)](_0x357c1f);if(!_0x30a478)return;let _0x355df6=_0x30a478[_0x2abaa7(0x299)](),_0x10aa0a=_0x26c861(),{renderScaleX:_0x3d1c31,renderScaleY:_0x49c1df,scaleAdjust:_0x1b2a2c}=_0x5c92f3(),_0x38bca9=_0x570407(),_0x2569da=(_0x4304c6=_0x38bca9==null?void 0x0:_0x38bca9[_0x2abaa7(0x66c)])==null?_0x26d5cf[_0x2abaa7(0x4db)]:_0x4304c6,_0x3005b4=(_0x2897b3=_0x38bca9==null?void 0x0:_0x38bca9[_0x2abaa7(0x423)])==null?_0x1e1ccf[_0x2abaa7(0x301)]:_0x2897b3,_0x3b7211=(_0x2b422c=_0x310fd4())==null?{'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e}:_0x2b422c;_0x10aa0a&&(_0x10aa0a[_0x2abaa7(0x56c)](Math['max'](_0x3d1c31,_0x49c1df)),_0x10aa0a[_0x2abaa7(0x591)]({'pageSize':{'width':_0x3b7211[_0x2abaa7(0x516)],'height':0x1/0x0}}),_0x10aa0a[_0x2abaa7(0x688)]({'verticalAlign':_0x2569da,'horizontalAlign':_0x3005b4,'centerAngle':0x0,'vertexAngle':0x0,'wrapStrategy':_0x50c13d[_0x2abaa7(0x629)]})),_0x355df6[_0x2abaa7(0x33d)]();let {actualHeight:_0x3825e4}=_0x355df6[_0x2abaa7(0x40f)](),_0x566148=_0x3b7211[_0x2abaa7(0x487)],_0x1a237d=_0x566148,_0x16b4cb=0x0;if(_0x3825e4<=_0x566148)_0x2569da===_0x26d5cf[_0x2abaa7(0x484)]?_0x16b4cb=(_0x566148-_0x3825e4)/0x2:_0x2569da===_0x26d5cf[_0x2abaa7(0x5d6)]&&(_0x16b4cb=_0x566148-_0x3825e4),_0x1a237d=_0x566148,_0x57314e({'editorHeight':_0x3b7211[_0x2abaa7(0x487)]*_0x1a1b6e,'marginTop':0x0,'useAbsolutePosition':!0x1});else{let _0x47008d=0x0;_0x2569da===_0x26d5cf[_0x2abaa7(0x484)]?_0x47008d=(_0x566148-_0x3825e4)/0x2:_0x2569da===_0x26d5cf[_0x2abaa7(0x5d6)]&&(_0x47008d=_0x566148-_0x3825e4),_0x16b4cb=0x0,_0x57314e({'editorHeight':_0x3825e4*_0x1a1b6e,'marginTop':_0x47008d*_0x1a1b6e,'useAbsolutePosition':!0x0}),_0x1a237d=_0x3825e4;}if(_0x10aa0a&&(_0x10aa0a[_0x2abaa7(0x591)]({'pageSize':{'width':_0x3b7211[_0x2abaa7(0x516)],'height':_0x1a237d}}),_0x10aa0a[_0x2abaa7(0x515)]({'t':_0x16b4cb}),_0x355df6['calculate']()),_0x1968c8){let _0x44eaae=_0x3b7211['width']*_0x571f5e,_0x291b97=_0x1a237d*_0x1a1b6e;_0x1968c8[_0x2abaa7(0x2f2)][_0x2abaa7(0x4f4)]({'width':_0x44eaae*_0x1b2a2c/_0x3d1c31,'height':_0x291b97*_0x1b2a2c/_0x49c1df,'scaleX':_0x3d1c31*_0x1b2a2c,'scaleY':_0x49c1df*_0x1b2a2c}),_0x1968c8[_0x2abaa7(0x3ae)]&&_0x1968c8[_0x2abaa7(0x3ae)]['resize'](_0x44eaae*_0x1b2a2c/_0x3d1c31,_0x291b97*_0x1b2a2c/_0x49c1df);}},[_0x11b7fc,_0x41a3fe,_0x26c861,_0x5c92f3,_0x570407,_0x310fd4,_0x1e6f88,_0x2c8a0d,_0x571f5e,_0x1a1b6e,_0x57314e]),_0x464673=_0x4560d4((_0x3ad12b=!0x1)=>{const _0x58f58d=_0x359e57;_0x1397e5(),_0x1246bf[_0x58f58d(0x5d7)]=requestAnimationFrame(()=>{const _0x213605=_0x58f58d;_0x584ec2(),_0x3ad12b&&_0x282145(!0x1),_0x1246bf[_0x213605(0x5d7)]=null,_0x24a51[_0x213605(0x5d7)]=window[_0x213605(0x254)](()=>{const _0x525e6a=_0x213605;_0x584ec2(),_0x3ad12b&&_0x282145(!0x1),_0x24a51[_0x525e6a(0x5d7)]=null;},0x14);});},[_0x584ec2,_0x1397e5,_0x282145]);_0x151831(()=>{const _0x171478=_0x359e57;if(!_0x11b7fc||!_0x3266b8)return;let {shapeId:_0x465873,unitId:_0x551d7d,subUnitId:_0x1d344b}=_0x3266b8;if(_0x3abb01){var _0x4acb59,_0x457568,_0x1cc53b,_0x4e5d0f;let _0x2b3fc5=eo(_0x11b7fc['getDocumentData']()),_0x3df3a8=_0x570407(),_0x22a8a={'va':(_0x4acb59=_0x3df3a8==null?void 0x0:_0x3df3a8['verticalAlign'])==null?_0x26d5cf[_0x171478(0x4db)]:_0x4acb59,'ha':(_0x457568=_0x3df3a8==null?void 0x0:_0x3df3a8[_0x171478(0x423)])==null?_0x1e1ccf[_0x171478(0x301)]:_0x457568,'doc':_0x2b3fc5};_0x1d3479[_0x171478(0x586)](Va['id'],{'unitId':_0x551d7d,'subUnitId':_0x1d344b,'shapeId':_0x465873,'shapeData':{'shapeText':{'isHorizontal':(_0x1cc53b=_0x3df3a8==null?void 0x0:_0x3df3a8['isHorizontal'])==null?!0x0:_0x1cc53b,'dataModel':_0x22a8a}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x4e5d0f=_0x3df3a8==null?void 0x0:_0x3df3a8[_0x171478(0x248)])==null?!0x0:_0x4e5d0f,'dataModel':_0x4405b9['current']}}}});return;}let _0x48b491=_0x570407();if(_0x48b491!=null&&_0x48b491[_0x171478(0x672)]){_0x4405b9[_0x171478(0x5d7)]={'va':_0x48b491['verticalAlign'],'ha':_0x48b491[_0x171478(0x423)],'doc':_0x5171d5[_0x171478(0x345)](_0x48b491[_0x171478(0x672)])};let _0x33a97d=$a(_0x48b491[_0x171478(0x672)],{'isHorizontal':!0x0,'textRect':_0x48b491['textRect'],'verticalAlign':_0x48b491[_0x171478(0x66c)],'horizontalAlign':_0x48b491[_0x171478(0x423)]});return _0x11b7fc[_0x171478(0x1dc)](_0x33a97d,null),()=>{const _0x12145a=_0x171478;var _0x5ba2e5,_0x58e1d7,_0x1ba42d,_0x1e34a3;let _0x4c8c58=eo(_0x11b7fc['getDocumentData']()),_0x1a35b9=_0x570407(),_0x1b57ef={'va':(_0x5ba2e5=_0x1a35b9==null?void 0x0:_0x1a35b9['verticalAlign'])==null?_0x26d5cf[_0x12145a(0x4db)]:_0x5ba2e5,'ha':(_0x58e1d7=_0x1a35b9==null?void 0x0:_0x1a35b9[_0x12145a(0x423)])==null?_0x1e1ccf[_0x12145a(0x301)]:_0x58e1d7,'doc':_0x4c8c58};_0x1d3479['executeCommand'](Va['id'],{'unitId':_0x551d7d,'subUnitId':_0x1d344b,'shapeId':_0x465873,'shapeData':{'shapeText':{'isHorizontal':(_0x1ba42d=_0x1a35b9==null?void 0x0:_0x1a35b9['isHorizontal'])==null?!0x0:_0x1ba42d,'dataModel':_0x1b57ef}},'oldShapeJSON':{'oldShapeData':{'shapeText':{'isHorizontal':(_0x1e34a3=_0x1a35b9==null?void 0x0:_0x1a35b9[_0x12145a(0x248)])==null?!0x0:_0x1e34a3,'dataModel':_0x4405b9[_0x12145a(0x5d7)]}}}});};}else _0x11b7fc[_0x171478(0x1dc)](_0x362010,null);},[_0x11b7fc,_0x3266b8,_0x3abb01]),_0x151831(()=>{const _0x395608=_0x359e57;if(!(!_0x11b7fc||!_0x3266b8))return _0xa2599a[_0x395608(0x552)](!0x0),_0x584ec2(),_0x4c70ad['current']=requestAnimationFrame(()=>{const _0x4995dd=_0x395608;_0xa2599a[_0x4995dd(0x5f3)](Za),_0x282145(),_0x464673(),_0x4c70ad[_0x4995dd(0x5d7)]=null;}),()=>{const _0x10e068=_0x395608;_0x4c70ad[_0x10e068(0x5d7)]!==null&&(cancelAnimationFrame(_0x4c70ad['current']),_0x4c70ad[_0x10e068(0x5d7)]=null),_0x1397e5(),_0xa2599a[_0x10e068(0x552)](!0x0);};},[_0x11b7fc,_0x3266b8,_0xa2599a,_0x584ec2,_0x282145,_0x464673,_0x1397e5]),_0x151831(()=>{const _0x48b3d7=_0x359e57;if(!_0x11b7fc)return;let _0x2a9b63=_0x1d3479[_0x48b3d7(0x422)](_0x2072cd=>{const _0x33fd2f=_0x48b3d7;_0x2072cd['id']===_0x35f519['id']&&_0x2072cd[_0x33fd2f(0x639)][_0x33fd2f(0x550)]===Za&&_0x3266b8&&(_0x3266b8[_0x33fd2f(0x232)]?_0x584ec2():_0x3adc6b[_0x33fd2f(0x494)]({..._0x3266b8,'visible':!0x0})),_0x2072cd['id']===Ka['id']&&_0x464673(!0x0);});return()=>{const _0xb727d5=_0x48b3d7;_0x2a9b63[_0xb727d5(0x23b)]();};},[_0x11b7fc,_0x584ec2,_0x3266b8,_0x464673,_0x3adc6b]),_0x151831(()=>(_0x584ec2(),_0x464673(),()=>{_0x1397e5();}),[_0x584ec2,_0x464673,_0x1397e5]);let _0x47312b=_0x291754(()=>{const _0x2a9329=_0x359e57;var _0x22435d;let _0x35066b=(_0x22435d=_0x310fd4())==null?{'left':0x0,'top':0x0,'width':_0x1e6f88/_0x571f5e,'height':_0x2c8a0d/_0x1a1b6e}:_0x22435d,_0x36a105=_0x35066b[_0x2a9329(0x4a5)]*_0x571f5e,_0x4f3263=_0x35066b[_0x2a9329(0x262)]*_0x1a1b6e,_0x1209c9=_0x35066b['width']*_0x571f5e;return _0x59c99f[_0x2a9329(0x488)]?{'top':_0x4f3263+_0x59c99f[_0x2a9329(0x4a7)],'left':_0x36a105,'width':_0x1209c9,'height':_0x59c99f[_0x2a9329(0x291)]}:{'top':_0x4f3263,'left':_0x36a105,'width':_0x1209c9,'height':_0x59c99f[_0x2a9329(0x291)]};},[_0x59c99f,_0x310fd4,_0x1e6f88,_0x2c8a0d,_0x571f5e,_0x1a1b6e]),_0xa7bed4=_0x291754(()=>{const _0x3077fc=_0x359e57;let _0xf25013=_0x570407(),_0x168eec=_0xf25013==null?void 0x0:_0xf25013[_0x3077fc(0x290)];return _0x168eec&&_0x168eec||{'angle':0x0,'flipX':!0x1,'flipY':!0x1};},[_0x570407]);return _0x2abb9e(_0x359e57(0x5d2),{'ref':_0x1c4373,'data-u-comp':_0x359e57(0x384),'className':'univer-relative\x20univer-size-full\x20univer-overflow-visible','style':{'transform':'rotate('+_0xa7bed4['angle']+_0x359e57(0x600)+(_0xa7bed4['flipY']?-0x1:0x1)+')'},'children':_0x2abb9e('div',{'ref':_0x2ac0d1,'className':_0x359e57(0x432),'data-u-comp':_0x359e57(0x41b),'style':_0x47312b,'data-editorid':Za})});},Ko={'left':-0x270f,'top':-0x270f,'width':0x64,'height':0x64,'angle':0x0,'scaleX':0x1,'scaleY':0x1};function qo(_0x3cc446,_0x52c0e3,_0x161be9,_0x127aa8){const _0x5aafd3=_0x3409bc;let {scaleX:_0x1d96fc,scaleY:_0x48213e}=_0x161be9[_0x5aafd3(0x5bc)](),{startColumn:_0x2c9b2a,startRow:_0x90a2ec,xSplit:_0x2e42ce,ySplit:_0x211d4f}=_0x127aa8[_0x5aafd3(0x3cf)][_0x5aafd3(0x2fa)](),_0xb2a11f=_0x161be9[_0x5aafd3(0x5f8)](_0xf79720['VIEW_MAIN']),_0x39855d=_0x161be9[_0x5aafd3(0x5f8)](_0xf79720[_0x5aafd3(0x66e)]),_0x1a0853=_0x161be9[_0x5aafd3(0x5f8)](_0xf79720['VIEW_MAIN_TOP']),_0x131833=_0x161be9['getViewport'](_0xf79720['VIEW_MAIN_LEFT']),{rowHeaderWidth:_0x1abb15,columnHeaderHeight:_0x81babd}=_0x127aa8,_0x4d94e9=_0x127aa8[_0x5aafd3(0x655)](_0x90a2ec)+_0x81babd,_0x536283=_0x127aa8[_0x5aafd3(0x287)](_0x2c9b2a)+_0x1abb15,_0x307cc7=_0x127aa8[_0x5aafd3(0x655)](_0x90a2ec-_0x211d4f)+_0x81babd,_0x3b0d66=_0x127aa8['colStartX'](_0x2c9b2a-_0x2e42ce)+_0x1abb15,_0x4e2a93=[],_0x30feb9=(_0x5e70e5,_0x57fadd,_0x5e53c6)=>{if(!_0x5e70e5)return null;let {viewportScrollX:_0x19db71,viewportScrollY:_0x2f51cd}=_0x5e70e5,_0x372c7c,_0x1a74a0;return _0x372c7c=_0x57fadd?(_0x3cc446-(_0x3b0d66-_0x1abb15))*_0x1d96fc:(_0x3cc446-_0x19db71)*_0x1d96fc,_0x1a74a0=_0x5e53c6?(_0x52c0e3-(_0x307cc7-_0x81babd))*_0x48213e:(_0x52c0e3-_0x2f51cd)*_0x48213e,{'domX':_0x372c7c,'domY':_0x1a74a0};},_0x7fbda8=_0x3cc446<_0x536283&&_0x2e42ce>0x0,_0x4ba9ed=_0x52c0e3<_0x4d94e9&&_0x211d4f>0x0,_0x3fb37c=_0x3cc446>=_0x536283||_0x2e42ce===0x0,_0xff8fe0=_0x52c0e3>=_0x4d94e9||_0x211d4f===0x0;if(_0x7fbda8&&_0x4ba9ed&&_0x39855d){let _0x42d3b=_0x30feb9(_0x39855d,!0x0,!0x0);_0x42d3b&&_0x4e2a93['push'](_0x42d3b);}if(_0x4ba9ed&&_0x3fb37c&&_0x1a0853){let _0x1dccfc=_0x30feb9(_0x1a0853,!0x1,!0x0);_0x1dccfc&&_0x4e2a93[_0x5aafd3(0x34a)](_0x1dccfc);}if(_0x7fbda8&&_0xff8fe0&&_0x131833){let _0x3cb1cf=_0x30feb9(_0x131833,!0x0,!0x1);_0x3cb1cf&&_0x4e2a93['push'](_0x3cb1cf);}if(_0x3fb37c&&_0xff8fe0&&_0xb2a11f){let _0x584fba=_0x30feb9(_0xb2a11f,!0x1,!0x1);_0x584fba&&_0x4e2a93[_0x5aafd3(0x34a)](_0x584fba);}if(_0x4e2a93[_0x5aafd3(0x4a0)]===0x0){var _0xcd8e28,_0x274f6c;return{'domX':(_0x3cc446-((_0xcd8e28=_0xb2a11f==null?void 0x0:_0xb2a11f[_0x5aafd3(0x26c)])==null?0x0:_0xcd8e28))*_0x1d96fc,'domY':(_0x52c0e3-((_0x274f6c=_0xb2a11f==null?void 0x0:_0xb2a11f[_0x5aafd3(0x503)])==null?0x0:_0x274f6c))*_0x48213e};}let _0x311aa8=_0x4e2a93[0x0][_0x5aafd3(0x5cf)],_0x476368=_0x4e2a93[0x0]['domY'];for(let _0xb03052 of _0x4e2a93)_0xb03052[_0x5aafd3(0x5cf)]>_0x311aa8&&(_0x311aa8=_0xb03052[_0x5aafd3(0x5cf)]),_0xb03052[_0x5aafd3(0x59e)]>_0x476368&&(_0x476368=_0xb03052['domY']);return{'domX':_0x311aa8,'domY':_0x476368};}function Jo(_0x3fd4a7,_0x4a0a70,_0x1d3e6e,_0x150ed7,_0x3e458e,_0x1f648d,_0x38f238){const _0x20d31b=_0x3409bc;let {scaleX:_0x128714,scaleY:_0xe6d245}=_0x1f648d[_0x20d31b(0x5bc)](),{domX:_0x9f052b,domY:_0x19e157}=qo(_0x3fd4a7,_0x4a0a70,_0x1f648d,_0x38f238);return{'left':_0x9f052b,'top':_0x19e157,'width':_0x1d3e6e*_0x128714,'height':_0x150ed7*_0xe6d245,'angle':_0x3e458e,'scaleX':_0x128714,'scaleY':_0xe6d245};}function Yo(_0x403358){const _0x227a51=_0x3409bc;let {editingParams:_0x139f21,scene:_0x45784b,skeleton:_0x1e1675,getShapeTransform:_0x203958}=_0x403358,[_0x57f87a,_0xebe19]=_0x5074d8(Ko),_0x29c664=_0x58f25e(_0x57f87a);_0x29c664[_0x227a51(0x5d7)]=_0x57f87a;let _0x34be35=_0x4560d4(()=>{const _0x5bbb6f=_0x227a51;if(!_0x139f21||!_0x45784b||!_0x1e1675){_0x29c664[_0x5bbb6f(0x5d7)]!==Ko&&_0xebe19(Ko);return;}let _0x2ff61b=_0x203958();if(!_0x2ff61b){_0x29c664['current']!==Ko&&_0xebe19(Ko);return;}let {left:_0x245097,top:_0x17be0e,width:_0x98f4ad,height:_0x3de2fd,angle:_0x1dfc2a}=_0x2ff61b;if(!_0x139f21[_0x5bbb6f(0x232)]){let {scaleX:_0x4e7c3f,scaleY:_0x57d85b}=_0x45784b[_0x5bbb6f(0x5bc)]();_0xebe19({'left':-0x270f,'top':-0x270f,'width':_0x98f4ad*_0x4e7c3f,'height':_0x3de2fd*_0x57d85b,'angle':0x0,'scaleX':_0x4e7c3f,'scaleY':_0x57d85b});return;}_0xebe19(Jo(_0x245097,_0x17be0e,_0x98f4ad,_0x3de2fd,_0x1dfc2a,_0x45784b,_0x1e1675));},[_0x139f21,_0x45784b,_0x1e1675,_0x203958]);return _0x151831(()=>{_0x34be35();},[_0x139f21,_0x34be35]),{'position':_0x57f87a,'updatePosition':_0x34be35};}const Xo=_0x5d67ed(_0x4ae9b3=>{const _0x56e289=_0x3409bc;let {children:_0x2887c0,onPositionUpdate:_0x54a6fe}=_0x4ae9b3,_0x543597=_0x58f25e(null),_0x5de59d=_0x40d6f2(X),_0x2ba432=_0x40d6f2(_0x592bef),_0x1ab30d=_0x3341f2(_0x5de59d['editingParams$']),_0x50a093=_0x291754(()=>_0x1ab30d?_0x2ba432[_0x56e289(0x2db)](_0x1ab30d[_0x56e289(0x550)]):null,[_0x1ab30d,_0x2ba432]),_0x28d3f2=_0x291754(()=>{const _0x2b578d=_0x56e289;var _0x5f5551;return(_0x5f5551=_0x50a093==null?void 0x0:_0x50a093[_0x2b578d(0x2f2)])==null?null:_0x5f5551;},[_0x50a093]),{position:_0x2a081c,updatePosition:_0x300a7f}=Yo({'editingParams':_0x1ab30d,'scene':_0x28d3f2,'skeleton':_0x291754(()=>{const _0x86061e=_0x56e289;var _0x339b3d,_0x855535;return!_0x1ab30d||!_0x50a093||(_0x339b3d=(_0x855535=_0x50a093[_0x86061e(0x5fa)](_0x29be30)[_0x86061e(0x27a)](_0x1ab30d[_0x86061e(0x26e)]))==null?void 0x0:_0x855535[_0x86061e(0x212)])==null?null:_0x339b3d;},[_0x1ab30d,_0x50a093]),'getShapeTransform':_0x4560d4(()=>{const _0x5b3ae2=_0x56e289;if(!_0x1ab30d||!_0x28d3f2)return null;let _0x37336c=_0x1ab30d['shapeKey'],_0x190c92=_0x28d3f2['getObject'](_0x37336c);return _0x190c92 instanceof to?{'left':_0x190c92[_0x5b3ae2(0x4a5)],'top':_0x190c92['top'],'width':_0x190c92[_0x5b3ae2(0x516)],'height':_0x190c92['height'],'angle':_0x190c92[_0x5b3ae2(0x35b)]}:null;},[_0x1ab30d,_0x28d3f2])}),_0x7f1886=_0x4560d4(()=>{const _0x2e0a8a=_0x56e289;let _0x2f1f93=_0x543597['current'];_0x2f1f93&&(_0x2f1f93[_0x2e0a8a(0x481)][_0x2e0a8a(0x4a5)]=_0x2a081c[_0x2e0a8a(0x4a5)]+'px',_0x2f1f93[_0x2e0a8a(0x481)][_0x2e0a8a(0x262)]=_0x2a081c[_0x2e0a8a(0x262)]+'px',_0x2f1f93[_0x2e0a8a(0x481)][_0x2e0a8a(0x516)]=_0x2a081c[_0x2e0a8a(0x516)]+'px',_0x2f1f93['style'][_0x2e0a8a(0x487)]=_0x2a081c[_0x2e0a8a(0x487)]+'px');},[_0x2a081c]);return _0x151831(()=>{const _0x2676ba=_0x56e289;_0x7f1886(),_0x54a6fe==null||_0x54a6fe({'width':_0x2a081c[_0x2676ba(0x516)],'height':_0x2a081c[_0x2676ba(0x487)],'scaleX':_0x2a081c[_0x2676ba(0x302)],'scaleY':_0x2a081c[_0x2676ba(0x370)]});},[_0x2a081c,_0x7f1886,_0x54a6fe]),_0x151831(()=>{const _0x4a779a=_0x56e289;if(!_0x28d3f2)return;let _0x18f5c3=_0x28d3f2[_0x4a779a(0x5f8)](_0xf79720['VIEW_MAIN']);if(!_0x18f5c3)return;let _0x5a6476=_0x18f5c3[_0x4a779a(0x44e)][_0x4a779a(0x367)](()=>{_0x300a7f();});return()=>{const _0x3c3a6d=_0x4a779a;_0x5a6476[_0x3c3a6d(0x3d6)]();};},[_0x28d3f2,_0x300a7f]),_0x151831(()=>{const _0x535699=_0x56e289;if(!_0x1ab30d||!_0x28d3f2)return;let _0x272e05=_0x1ab30d[_0x535699(0x665)],_0x2eb7e7=_0x28d3f2['getObject'](_0x272e05);if(_0x2eb7e7 instanceof to){let _0x18c9b9=_0x2eb7e7['onTransformChange$']['subscribeEvent'](()=>{_0x300a7f();});return()=>{_0x18c9b9['unsubscribe']();};}},[_0x1ab30d,_0x28d3f2,_0x300a7f]),_0x2abb9e(_0x56e289(0x5d2),{'ref':_0x543597,'data-u-comp':_0x56e289(0x3a9),'className':_0x56e289(0x2e0),'style':_0x291754(()=>({'left':_0x2a081c[_0x56e289(0x4a5)],'top':_0x2a081c[_0x56e289(0x262)],'width':_0x2a081c[_0x56e289(0x516)],'height':_0x2a081c['height'],'pointerEvents':_0x1ab30d!=null&&_0x1ab30d['visible']?_0x56e289(0x356):_0x56e289(0x24e)}),[_0x2a081c,_0x1ab30d==null?void 0x0:_0x1ab30d[_0x56e289(0x232)]]),'children':_0x2887c0});}),Zo=_0x5d67ed(()=>{const _0x573b30=_0x3409bc;let _0x484506=_0x3341f2(_0x40d6f2(X)[_0x573b30(0x4be)]),[_0x293d79,_0x6df148]=_0x5074d8({'width':0x64,'height':0x64,'scaleX':0x1,'scaleY':0x1}),_0x1a14d1=_0x4560d4(_0x166263=>{const _0x5086b=_0x573b30;_0x6df148({'width':_0x166263['width'],'height':_0x166263[_0x5086b(0x487)],'scaleX':_0x166263[_0x5086b(0x302)],'scaleY':_0x166263[_0x5086b(0x370)]});},[]);return _0x484506!=null&&_0x484506['visible']?_0x2abb9e(Xo,{'onPositionUpdate':_0x1a14d1,'children':_0x2abb9e(Go,{'containerWidth':_0x293d79[_0x573b30(0x516)],'containerHeight':_0x293d79[_0x573b30(0x487)],'scaleX':_0x293d79[_0x573b30(0x302)],'scaleY':_0x293d79['scaleY']})}):null;});let Qo=class extends _0x20c8bd{constructor(_0x3b16f7=Po,_0x23302e,_0x2ab508,_0x4494f6,_0xb4e756){const _0x3c29a1=_0x3409bc;super(),this[_0x3c29a1(0x694)]=_0x3b16f7,this[_0x3c29a1(0x4ae)]=_0x23302e,this[_0x3c29a1(0x426)]=_0x2ab508,this[_0x3c29a1(0x2bd)]=_0x4494f6,this[_0x3c29a1(0x4ee)]=_0xb4e756;let {..._0x1571d}=_0x453d10({},Po,this[_0x3c29a1(0x694)]);this[_0x3c29a1(0x2bd)][_0x3c29a1(0x5e2)](_0x3c29a1(0x457),_0x1571d),this[_0x3c29a1(0x39c)]();}[_0x3409bc(0x63f)](){const _0x19fb7e=_0x3409bc;_0x3642fb(this[_0x19fb7e(0x4ae)],[[jo],[ro],[no]]);}[_0x3409bc(0x20a)](){const _0x5c1a77=_0x3409bc;[[Bo],[mo],[Vo]][_0x5c1a77(0x2d9)](_0x6bb781=>this['_injector'][_0x5c1a77(0x60a)](_0x6bb781)),_0x3642fb(this[_0x5c1a77(0x4ae)],[[Vo]]),this['_renderManagerService'][_0x5c1a77(0x31b)](_0x5a9a41[_0x5c1a77(0x627)],[Bo]),this['_renderManagerService']['registerRenderModule'](_0x5a9a41[_0x5c1a77(0x627)],[mo]),this[_0x5c1a77(0x4ee)][_0x5c1a77(0x31b)](_0x5a9a41[_0x5c1a77(0x627)],[Fo]),this[_0x5c1a77(0x4ee)][_0x5c1a77(0x31b)](_0x5a9a41[_0x5c1a77(0x627)],[Uo]),this['_renderManagerService'][_0x5c1a77(0x31b)](_0x5a9a41['UNIVER_SHEET'],[Lo]);}['onStarting'](){const _0x3af07c=_0x3409bc;let _0x27e762=this[_0x3af07c(0x4ae)];_0x27e762[_0x3af07c(0x618)](_0x25b5d9)[_0x3af07c(0x533)](_0x3af07c(0x579),Zo),[[jo],[ro],[no],[X],[Io],[_o],[Wo]][_0x3af07c(0x2d9)](_0x373766=>_0x27e762[_0x3af07c(0x60a)](_0x373766)),_0x3642fb(this[_0x3af07c(0x4ae)],[[jo],[ro],[no],[X],[Io],[_o],[Wo]]);}['_initCommands'](){const _0x5a13bc=_0x3409bc;[go,Va,Ka,Ha,Ua,Ga,Wa,Ja,Ya,qa,ho][_0x5a13bc(0x2d9)](_0x58bc74=>this[_0x5a13bc(0x283)](this[_0x5a13bc(0x426)][_0x5a13bc(0x596)](_0x58bc74)));}};Y(Qo,_0x3409bc(0x3f8),_0x5a9a41[_0x3409bc(0x627)]),Y(Qo,'pluginName',_0x3409bc(0x467)),Y(Qo,'packageName',Mo),Y(Qo,_0x3409bc(0x229),No),Qo=$([_0x580765(_0x59d99c,_0x3e9b61),Q(0x1,_0x54f4ad(_0x3e3b95)),Q(0x2,_0x2ac980),Q(0x3,_0x21bcdf),Q(0x4,_0x592bef)],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};
|