@univerjs-pro/sheets-shape-ui 1.0.0-alpha.3 → 1.0.0-alpha.4
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/types/command-util.d.ts +2 -19
- package/lib/types/const.d.ts +1 -0
- package/lib/types/controllers/shape-text-float-menu.render-controller.d.ts +1 -2
- package/lib/types/controllers/sheet-shape-render.controller.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +0 -33
- package/lib/types/{commands/menu → menu}/object-list.menu.d.ts +1 -1
- package/lib/types/views/ShapePicker.d.ts +0 -2
- 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 +19 -19
- package/lib/types/commands/command/set-shape-text-align.command.d.ts +0 -5
- package/lib/types/commands/command/set-shape-text-style.command.d.ts +0 -7
- package/lib/types/commands/command/set-shape-text-vertical-align.command.d.ts +0 -5
- package/lib/types/commands/command/shape-doc-align.command.d.ts +0 -10
- package/lib/types/commands/menu/menu-dependencies.d.ts +0 -2
- package/lib/types/commands/menu/shape-doc-format.menu.d.ts +0 -19
- package/lib/types/commands/menu/shape-font-size.menu.d.ts +0 -6
- package/lib/types/commands/menu/shape-text-align.menu.d.ts +0 -10
- package/lib/types/commands/menu/shape-vertical-align.menu.d.ts +0 -10
- package/lib/types/view-model/shape-data-model.d.ts +0 -8
- package/lib/types/views/shape-editor-panel/index.d.ts +0 -1
- /package/lib/types/commands/operations/{actvie-drawing-operation.d.ts → active-drawing-operation.d.ts} +0 -0
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1c45(_0x1fb555,_0x4cd296){_0x1fb555=_0x1fb555-0xf7;const _0x128001=_0x1280();let _0x1c452b=_0x128001[_0x1fb555];return _0x1c452b;}function _0x1280(){const _0x1ac895=['startConnectionDetection','_shapeId','UniverProSheetsShapeUi','Image','constructor','_getSceneAndTransformerByDrawingSearch','_handleConnectedEndpointMove','localeService','_drawingManagerService','#FFFFFF','BehaviorSubject','_initCopyPaste','getTransformerByCreate','calcAdjValue','transformToAxisAlignPosition','resize','_createCopyInfoByRange','shapeData','ShapeTextFloatToolbar','updateShapeFillImage','_registerOperations','DRAWING_VIDEO','_activeTargetShapeId','getConnectorLinePoints','isRichText','disableObjectsEvent','IUniverInstanceService','getAllUnitsForType','save','assign','_highlightedSiteIndex','_clearControls','textStyle','getAdjustInfoByName','_getShapeInfo','primary.600','sheets-shape-ui.toolbar.resetColor','open','UniverEngineRender','normal','isConnectorShape','@univerjs-pro/shape-editor-ui','SHAPE_EDITOR_TRANSFORMER_CONFIG','switchMap','dataModel','DRAWING_DOM','forward','sheets-shape-text-','EMPTY','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','RibbonInsertGroup','angle','addClipboardHook','sin','_popupMenuListener','UniverUi','refreshAdjustControls','register','onPointerMove$','SetDrawingSelectedOperation','_index','iterator','resolveShapeTextDocumentRenderLayout','MEDIA','COMMAND','clipTop','_shapeUpdateListener','_registerIcons','_getImageDrawingInfo','restore','left','_generatePasteMutations','getUnitId','documentStyle','order','viewportScrollY','_iconManager','_univerInstanceService','name','CommandType','INSERT','_focusedDrawings','_initializedShapePopupMenu','isRender','_initMenu','removeLinePoints','Observable','prepareShapeTextDocumentData','setFillImage','tag','_initCommands','AlignOperationCommand','url(#$1','setShapeProps','map','sheets-shape-ui.align.center','BUTTON','defIds','getOwnPropertyDescriptor','_attachConnectorObjectEvent','clipHeight','_registerGroupFeaturePasteHook','copy-double-icon','getObject','FORMAT','composeMatrix','UpdateSheetsShapeDataMutation','_executeConnectedRouteResizeCommand','pick','shape-adjust-point-','defineProperty','sectionFloating','error','getObjectListPanelTypeName','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_getScrollInfo','16567270ktcVpj','transformToDrawingPosition','offsetY','_updateSrcRectByTransform','_localeService','sheet.operation.open-sheet-shape-format-panel','SetDrawingApplyMutation','value','sheets-shape-ui.objectListPanel.open','PREDEFINED_HOOK_NAME','stopPropagation','ICommandService','ISidebarService','isCurvedConnectorShape','OPERATION','_handleConnectedEndpointPointerUp','parse','_handleFreeEndpointMove','setHighlighted','useState','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','clear','sheet.command.shape-doc-align','getSkeleton','@univerjs-pro/engine-shape','contentHeight','translateWithPrecision','adjHandleFill','getEditing','getSkeletonParam','ShapeFloatingToolbar','IURLImageService','URL','cxnPointStrokeWidth','attrs','UniverProSheetsShape','video','VerticalAlign','children','createShapeTextBoxShapeData','_sheetDrawingService','isDrawingObject','attachRangeWithCoord','computeConnectorRouteLayout','sheet.shape.text.float-menu','flipY','_clearPopups','touchDependencies','_sheetClipboardService','Documents','startWith','_getShapeAdjustInfosById','axisAlignSheetTransform','Plugin','trim','20zqdyJa','FromArray','isLineShape','forEach','hidden','RENDER_CLASS_TYPE','sheet.command.set-shape-text-font-size','_registerDrawingFocusChangeHandler','_baseShapeHeight','renderDrawingShape','xlink:href','add','sheets-shape-ui.toggleFlipV','COPY_TYPE','RIGHT','viewportScrollX','_updateImageAdjValues','image-clip-adjust-point-','_showConnectionSites','getValue','BUTTON_SELECTOR','sheets-shape-ui.align.left','_props','getViewportByCell','sheets-shape-ui.formatShape','_isStartAdjusting','getImage','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','ImageSourceTypeEnum','attachPopupToObject','start','_initialize','getBatchUpdateOp','_activeAdjustPointList','Medium','IUndoRedoService','_handleBasicShapeUpdateConnectorLineShape','setConfig','VerticalCenterIcon','_baseShapeWidth','shape','ShapeModel','_drawingAddListener','render','sheets-shape-ui.hidePanel','getDrawingOKey','undo','size','UpdateLineShapeResizeCommand','ShapeTextFloatMenuRenderControllerBase','sheets-shape-ui.toggleFlipH','getUnit','DRAWING_IMAGE','updateLinePoints','worldPoint','setOnSavingEditorData','UniverDrawingUi','@univerjs/engine-render','_sheetShapeAdjustController','sheet.operation.open-shape-object-list-panel','IImageIoService','_shapeService','applyPoint','_resetState','registerRenderModule','srcRect','_copyInfo','START','push','chart','SolidLine','_injector','_shapeTextEditingService','sheets-shape-ui.deleteShape','DrawingImageClipService','ShapeArrowTypeEnum','getBasicShapeRotateBound','SELECTOR','skeleton','onSavingEditorData$','sheet.shape.picker.component','data','_registerFocusChangeHandler','getImageSourceCache','_activeAdjustInfo','_registerShapeMenu','getParent','replace','updateConnectionDetection','AlignTopIcon','getRealBound','scene','stroke','IMenuManagerService','isHighlighted','shapeModel','ShapeEditPanel','_sheetBasicShapeConnectionPointController','UNIVER_DOC','1em','lineType','setPrstGeom','computeConnectorResizeLayout','CURSOR_TYPE','_commandExecutedListener','normalizeShapeTextModel','Large','updateDocumentStyle','_sheetInterceptorService','drawWith','_createControls','generateRandomId','_getZoomRatio','popup','_hasReset','_targetShapeId','setEditing','cos','values','syncExecuteCommand','color','jsxs','Path','_activeShapeAdjustPointList','_groupCopyPasteController','getAdjustNames','wrapStrategy','registerFeaturePasteHook','getCurrentRangeDisable$','SetSheetsShapeTextVerticalToggleCommand','_baseTop','getState','@univerjs-pro/sheets-shape','_addShapeConnectorHandlerObjects','_onSavingEditorData$','ShapeTypeEnum','sheet.command.set-shape-text-font-size-increase','clip','getDrawingEditable','None','_drawSimpleText','_attachAdjustEvent','_draw','localToWorld','update$','1.0.0-alpha.3','subUnitId','adjHandleStroke','_updateAdjustControlPositions','Inject','sheetViewStartColumn','jsx','activeSheet$','activateDrawingObject','8GsJeEU','stringify','WorkbookEditablePermission','_updateShapeAdjustControls','VIEW_MAIN_TOP','MenuItemType','custom','cancelEditing','enableObjectsEvent','SolidFill','setShouldShowAdjust','_drawShapeText','focus$','React','disposeWithMe','function','editingParams$','slice','SetSheetsShapeRotateCommand','onerror','_baseWidth','ResetInlineFormatTextBackgroundColorCommand','IDrawingManagerService','ConnectorCoordinateTransform','useMemo','clearAdjustControls','mask','_shapeEditPanelVersion','UniverSheets','SetInlineFormatTextBackgroundColorCommand','_isDrawingShapePointDown','changeStart$','deriveStateFromActiveSheet$','react/jsx-runtime','_commandService','transformForAngle','registerClipDelegate','react','mergeMenu','connector-handler-','shapeType','use','_getImagePrstGeom','DocSelectionRenderService','drawing.operation.set-drawing-active','setAdjustValueByName','_sheetPermissionCheckController','_moveConnectorWithShape','sheets-shape-ui.align.middle','getDrawingByParam','GROUP','4651070XoVlap','onReady','UniverShapeEditorUIPlugin','UpdateConnectorRelationCommand','call','changing$','string','transform','IContextService','RightJustifyingIcon','marginTop','isHit','reverse','_isImagePointerDown','indexOf','_init','resetCursor','initShapePopupMenu','getUnitType','with','SheetsDrawingGroupCopyPasteController','dom','_executeConnectedRouteConnectionCommand','getConnectionRelation','rotation','resourceCollector','SheetSkeletonManagerService','_closeShapeEditPanel','version','SheetPrintInterceptorService','height','sheet.shape.floating-toolbar','_createShapeAdjustControls','_imageIoService','_isStartConnectorPoint','interceptCommand','sqrt','PaintBucketDoubleIcon','find','horizontal','_updateTransform','_clearConnectionSites','SheetsShapeService','fillImageSource','1094302XDajhw','UniverProShapeEditorUi','transformByState','sheet.command.menu-insert-shape','sectionCanvas','414771JvfyEl','univer-box-border\x20univer-px-4\x20univer-text-sm','_initPermission','sheetViewStartRow','lineShapeId','ShapeArrowSizeEnum','symbol','shapeKey','getTransformer','worldRect','some','_isShouldShowDrawingShapeAdjust','sheets-shape-ui.rotateLeft90','getBatchRemoveOp','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','getRenderById','strokeWidth','Transform','selectable','unitId','rxjs','_createShapePopupMenu','isHorizontal','disableShapeOption','_editingParams$','_shapes','UNIVER_SHEET','UniverSheetsDrawingUi','getObjectIncludeInGroup','_initEvents','_unitId','clip-','M5.4004\x202.60213C5.25792\x202.60213\x205.14241\x202.71763\x205.14241\x202.86011V4.32679C5.14241\x204.67752\x204.85809\x204.96184\x204.50736\x204.96184C4.15663\x204.96184\x203.87231\x204.67752\x203.87231\x204.32679V2.86011C3.87231\x202.01618\x204.55646\x201.33203\x205.4004\x201.33203H13.14C13.984\x201.33203\x2014.6681\x202.01618\x2014.6681\x202.86011V10.5998C14.6681\x2011.4437\x2013.984\x2012.1278\x2013.14\x2012.1278H11.6568C11.3061\x2012.1278\x2011.0218\x2011.8435\x2011.0218\x2011.4928C11.0218\x2011.1421\x2011.3061\x2010.8577\x2011.6568\x2010.8577H13.14C13.2825\x2010.8577\x2013.398\x2010.7422\x2013.398\x2010.5998V2.86011C13.398\x202.71763\x2013.2825\x202.60213\x2013.14\x202.60213H5.4004Z','reduce','_adjHandlerPointerMove','_rerouteConnectorLine','DependentOn','unit','LEFT','_activeShapeModel','Module','gdRefY','sheet.command.set-shape-text-font-size-decrease','doc.image-clip.shape-picker.component','pipe','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','changeShapeType','5094207vcVilb','_isHighlighted','getInverseCoord','div','createElement','DRAWING_SMART_ART','_reset','startArrow','_urlImageService','sheets-shape-ui.insertShape','changeEnd$','clearControl$','getSheetCommandTarget','_executeResizeCommand','_loadAndSetImage','@univerjs/sheets-drawing-ui','length','addObject','icon','FOCUSING_COMMON_DRAWINGS','ThemeService','sheetTransform','RemoveSheetsShapeMutation','isEditing','idSuffix','UPDATE','from','onSteady','getShapeData','DRAWING_UNIT','clip-adj-','HorizontalAlign','_insertingShapeKeys','_getShapeAdjustPointListById','getBasicShapeRelation','shapeId','_registerMoveHandler','UniverDocs','point','_generateCutPasteMutations','clipByShape','createInternalEditorID','SheetInterceptorService','_baseShapeLeft','VIEW_MAIN','sheets-shape-ui.permission.editErr','pushUndoRedo','_context','draw','entries','DRAWING_GROUP','relation','prstGeomAdjValues','ComponentManager','params','src','_sidebarService','_connectionSiteObjects','sheets-shape-ui.toggleTextVertical','1yiVPtU','UniverSheetsShapePlugin','_clipService','sheets-shape-ui.toolbar.verticalAlignMode.main','UniverLicensePlugin','classType','onRendered','invert','startY','sheets-shape-ui.config','univerjs-icon\x20univerjs-icon-','getDrawingVisible','_transform','_loadShapePictureFill','_transformCalculateSrcRect','exports','fontSize','BOTTOM','getDrawingSearch','dispose','_shapeRenderController','LocaleService','set','bind','_subUnitId','_addShapeConnectorHandlerObject','M1.33203\x205.40015C1.33203\x204.55622\x202.01618\x203.87207\x202.86011\x203.87207H10.5998C11.4437\x203.87207\x2012.1278\x204.55622\x2012.1278\x205.40015V13.1398C12.1278\x2013.9837\x2011.4437\x2014.6679\x2010.5998\x2014.6679H2.86011C2.01618\x2014.6679\x201.33203\x2013.9837\x201.33203\x2013.1398V5.40015ZM2.86011\x205.14217C2.71763\x205.14217\x202.60213\x205.25767\x202.60213\x205.40015V13.1398C2.60213\x2013.2823\x202.71763\x2013.3978\x202.86011\x2013.3978H10.5998C10.7422\x2013.3978\x2010.8577\x2013.2823\x2010.8577\x2013.1398V5.40015C10.8577\x205.25767\x2010.7422\x205.14217\x2010.5998\x205.14217H2.86011Z','IconManager','getShapeTypeById','cxnIndex','create','getShapeDataById','@univerjs/sheets-ui','fillImageSourceType','sheets-shape-ui.rotateRight90','subscribe','redo','setPrstGeomAdjValues','endConnectionDetection','canvas','ancestorTransform','DRAWING_TABLE','SHEET_SHAPE_UI_PLUGIN','_calculateFreeEndpointAngle','evenodd','abs','getEndConnectInfo','Disposable','useEffect','keys','_contextService','setSrcRect','vertical','completeEditing','memo','onPointerDown$','clearActiveDrawingObjects','endArrow','top','_config','sheets-shape-ui.imagePanel.crop.shape','SHEET_VIEWPORT_KEY','flipX','plainShapeTextToDocumentData','_activeShapeInfo','object','getColorFromTheme','cxnPointFill','isStartConnectorPoint','Circle','startX','complete','ObjectListPanelBase','AlignBottomIcon','SheetScrollManagerService','colorChannel1','sheets-shape-ui','add$','_activeImageId','initTransformer','DrawingCommonPanel','ShapeDefaultConfig','DrawingApplyType','end','_registerComponents','Shape','DRAWING_OBJECT_LAYER_INDEX','sheets-shape-ui.objectListPanel.title','_currentUniverService','shapeText','executeCommand','visible','discreteRangeToRange','_sidebarDisposable','drawingType','LAYOUT','_currentScene','getFocusDrawings','@univerjs-pro/sheets-shape-ui','SheetSkeletonService','oKey','onDblclick$','displayName','getStartConnectInfo','getCurrentScrollState','floor','http://www.w3.org/2000/svg','getAdjustValueByName','ShapeGroupEnum','sheets-shape-ui.toolbar.horizontalAlignMode.main','description','_generateCopyPasteMutations','473242oGbCUo','getInterceptPoints','SetSheetDrawingCommand','CUT','getConnectionSiteList','_isConnecting','getZoomRatio','getCurrentUnitOfType','UniverDocsUi','setContextValue','featurePluginUpdateNotification','ShapeFillEnum','#4285f4','getShapeType','adjHandleSize','_drawRichText','_initSheetChange','objects','_activeShapeId','width','asObservable','decorate','_clearShapeAdjustControls','_handleConnectorPointerUp','toDisposable','isHitLine','ShapeIcon','image','textRuns','_menuManagerService','setCanUseShapeClip','getCurrentLastSelection','multiply','_lastEditingShapeKey','_handleFreeEndpointPointerUp','svg','shouldAllowShapeTextEditorHostSizeShrink','_sheetSkeletonService','subscribeEvent','getCurrentSkeleton','makeDirty','type','_sheetDrawingShapeRenderController','close','blockExecuteWithoutPermission','DRAWING_SHAPE','_cxnIndex','_insertShapes','_registerImageShapeClipDelegate','1645668QFpMtq','@univerjs/docs','UniverInstanceType','_initEditingParams','viewBound','_baseLeft','CopyDoubleIcon','onload','_sheetCanvasPopManagerService','_baseShapeTop','getDrawingPoints','getCurrentTypeOfUnit$','MIDDLE','unsubscribe','getSheetId','updateDocumentDataMargin','ToggleSheetsShapeFlipCommand','PictureFill','_openShapeEditPanel','interceptor','getBatchAddOp','setShapeData','_disposePopups','@univerjs/ui','_adjHandlerPointerUp','body','_baseDrawingRect','getDrawingShapeKeyByDrawingSearch','DRAWING_CHART','_cxtHandlerPointerUp','has','ShapePickerPanel','_draggingConnectorId','getObjectListPanelSectionIdForDrawingType','_executeConnectionCommand','_renderManagerService','copyType','UniverIcon','gdRefAng','_addControl','sheet.command.update-shape-data','SetDrawingArrangeCommand','_cxtHandlerPointerMove','isArray','doc','cxnPointRadius','useDependency','getSheetBySheetId','TOP','_getConnectionSiteAngle','getMatrix','targetShapeId','contentVerticalOffset','subscribeContextValue$','UniverSheetsDrawingUIPlugin','UniverSheetsUi','drawingId','CENTER','adjustValues','_isOpenedShapeEditPanel','routeConnectorLineShape','adjName','_findNearestConnectionSite','SheetsSelectionsService','updateContext','_drawingType','backward','getConnectionInfo','cxnPointStroke','filter','focusDrawing','CROSSHAIR','DrawingTypeEnum','sheet.command.set-shape-text-horizontal-align','toStringTag','_initSelection','setCursor','getShapeTextRect','prstGeom','getDrawingData','_addShapeAdjustControl','registerFeatureMenu','sheets-shape-ui.align.bottom','ISheetDrawingService','toPrimitive','SheetPermissionCheckController','getContextValue','next','getDrawingOrder','getShapeTextData','_getConnectPointInfo','IRenderManagerService','onPointerUp$','getMenuHiddenObservable','fill','Injector','isInGroup','onCommandExecuted','RemoveSheetDrawingCommand','ang','getShapePopupMenus','SHAPE_TEXT','_initPrinting','DocumentViewModel','gdRefX','_baseHeight','index','offsetX','#bcbcbc','_currentConnectionTarget','VIEW_MAIN_LEFT_TOP','UniverProLicense','_findShapeAtPoint','DocCanvasPopManagerService','UUID','_clearShapeConnectorHandlerObjects','_getDrawingRect','getShapeModel','Line','_sheetPrintInterceptorService','REMOVE','DocSelectionManagerService','shape-text-','preValue','getCurrentUnitInfo','useObservable','_sheetsShapeService','path','_imageShapeClipController','_componentManager','resolveShapeTextEditorBehaviorShapeData','SetShapeDrawingDataCommand','includes','_registerDrawingMoveHandler','get','text','gradientEndColor','_adjName','permissionCheckWithoutRange','_connectorObjects','attachTransformerTo','InsertSheetsShapeMutation','_getOrCreateShapeModel','OBJECT_LIST_FLOATING_SECTION_ID'];_0x1280=function(){return _0x1ac895;};return _0x1280();}(function(_0x30a7aa,_0x3def7b){const _0x442e23=_0x1c45,_0xff58ca=_0x30a7aa();while(!![]){try{const _0x4ba460=-parseInt(_0x442e23(0x13c))/0x1*(parseInt(_0x442e23(0x411))/0x2)+parseInt(_0x442e23(0x416))/0x3*(-parseInt(_0x442e23(0x318))/0x4)+parseInt(_0x442e23(0x3e5))/0x5+-parseInt(_0x442e23(0x1dd))/0x6+parseInt(_0x442e23(0x1ac))/0x7+parseInt(_0x442e23(0x3b2))/0x8*(-parseInt(_0x442e23(0x101))/0x9)+parseInt(_0x442e23(0x2e1))/0xa;if(_0x4ba460===_0x3def7b)break;else _0xff58ca['push'](_0xff58ca['shift']());}catch(_0x2b1949){_0xff58ca['push'](_0xff58ca['shift']());}}}(_0x1280,0x8c942),function(_0x15e4cb,_0x51d5dc){const _0x742a83=_0x1c45;typeof exports==_0x742a83(0x17d)&&typeof module<'u'?_0x51d5dc(exports,require('@univerjs/docs-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor-ui'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/docs'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x742a83(0x3c1)&&define['amd']?define([_0x742a83(0x14b),'@univerjs/docs-ui',_0x742a83(0x1f4),_0x742a83(0x2f9),_0x742a83(0x296),_0x742a83(0x39c),'@univerjs/core','@univerjs/sheets','@univerjs/drawing',_0x742a83(0x351),_0x742a83(0x15c),_0x742a83(0x42a),'@univerjs/drawing-ui','@univerjs/sheets-drawing',_0x742a83(0x1de),_0x742a83(0x3d3),'@univerjs-pro/license',_0x742a83(0x110),_0x742a83(0x3d7)],_0x51d5dc):(_0x15e4cb=typeof globalThis<'u'?globalThis:_0x15e4cb||self,_0x51d5dc(_0x15e4cb[_0x742a83(0x26f)]={},_0x15e4cb[_0x742a83(0x1b4)],_0x15e4cb[_0x742a83(0x2a4)],_0x15e4cb['UniverProEngineShape'],_0x15e4cb[_0x742a83(0x412)],_0x15e4cb[_0x742a83(0x304)],_0x15e4cb['UniverCore'],_0x15e4cb[_0x742a83(0x3ce)],_0x15e4cb['UniverDrawing'],_0x15e4cb[_0x742a83(0x293)],_0x15e4cb[_0x742a83(0x214)],_0x15e4cb[_0x742a83(0x42a)],_0x15e4cb[_0x742a83(0x350)],_0x15e4cb['UniverSheetsDrawing'],_0x15e4cb[_0x742a83(0x126)],_0x15e4cb['React'],_0x15e4cb[_0x742a83(0x24c)],_0x15e4cb[_0x742a83(0x431)],_0x15e4cb[_0x742a83(0x3bf)]));}(this,function(_0x4f45b0,_0x2ef8df,_0x2b76f2,_0x360390,_0x502542,_0x2cb023,_0x3fe9b6,_0x12af8f,_0xcd0f0e,_0x122d5a,_0x48ecbb,_0x14dd2b,_0x3cfff1,_0x1ba3d5,_0x485986,_0x5817cb,_0x86dc86,_0x20f931,_0x6a3016){const _0x2ea0c4=_0x1c45;Object[_0x2ea0c4(0x2db)](_0x4f45b0,Symbol[_0x2ea0c4(0x227)],{'value':_0x2ea0c4(0xfa)});function _0x18f81e(_0x33dee0,_0x4ba325){const _0x4b18d9=_0x2ea0c4;let _0x214c59={};for(let _0x36e1d2 of Object['keys'](_0x4ba325)){let _0x2d270b=_0x4ba325[_0x36e1d2],_0x4a0f35=_0x33dee0[_0x36e1d2];if(_0x2d270b!==void 0x0){if(_0x4a0f35===void 0x0){_0x214c59[_0x36e1d2]=void 0x0;continue;}typeof _0x2d270b=='object'&&_0x2d270b&&!Array[_0x4b18d9(0x208)](_0x2d270b)&&typeof _0x4a0f35=='object'&&_0x4a0f35&&!Array[_0x4b18d9(0x208)](_0x4a0f35)?_0x214c59[_0x36e1d2]=_0x18f81e(_0x4a0f35,_0x2d270b):_0x214c59[_0x36e1d2]=_0x4a0f35;}}return _0x214c59;}let _0x4a4f06={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x205),'handler':(_0x29b655,_0x48276c)=>{const _0x3bc79d=_0x2ea0c4;let _0x4401cc=_0x29b655[_0x3bc79d(0x263)](_0x2cb023['SheetsShapeService']),{unitId:_0x3a1a1c,subUnitId:_0x316050,shapeType:_0xbf309,shapeId:_0x35d7f8,shapeData:_0x48a14a,oldShapeJSON:_0x4aa171}=_0x48276c;if(!_0x4401cc['getShapeModel'](_0x3a1a1c,_0x316050,_0x35d7f8))return!0x1;let _0x202413=_0x29b655[_0x3bc79d(0x263)](_0x3fe9b6[_0x3bc79d(0x2ec)]),_0x3c8c21=_0x29b655[_0x3bc79d(0x263)](_0x3fe9b6[_0x3bc79d(0x33b)]),{oldShapeType:_0x5930a0,oldShapeData:_0x5735bb={}}=_0x4aa171,_0x18de61=_0x18f81e(_0x5735bb,_0x48a14a||{}),_0x1b0eef={'id':_0x2cb023[_0x3bc79d(0x2d7)]['id'],'params':{'unitId':_0x3a1a1c,'subUnitId':_0x316050,'shapeId':_0x35d7f8,'shapeType':_0xbf309,'shapeData':_0x48a14a}},_0x5d783d={'id':_0x2cb023['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x3a1a1c,'subUnitId':_0x316050,'shapeId':_0x35d7f8,'shapeType':_0x5930a0,'shapeData':_0x18de61}};return _0x202413[_0x3bc79d(0x38f)](_0x1b0eef['id'],_0x1b0eef[_0x3bc79d(0x137)])?(_0x3c8c21[_0x3bc79d(0x12f)]({'unitID':_0x3a1a1c,'undoMutations':[_0x5d783d],'redoMutations':[_0x1b0eef]}),!0x0):!0x1;}};function _0x2ed581(_0x27d7e6,_0x1f7710,_0x549de6,_0x3648bf,_0xb0e694,_0x2f4785){let _0x5992ea={'unitId':_0x1f7710,'subUnitId':_0x549de6,'shapeId':_0x3648bf,'shapeData':_0x2f4785,'oldShapeJSON':_0xb0e694};return _0x27d7e6['executeCommand'](_0x4a4f06['id'],_0x5992ea);}function _0x20ea5c(_0x53f8be,_0x4fb8dc,_0x1fd21d,_0x5262fb,_0x47dd58,_0x4024c8){const _0x2bbff3=_0x2ea0c4;let _0x64a0a9={'unitId':_0x4fb8dc,'subUnitId':_0x1fd21d,'shapeId':_0x5262fb,'shapeData':_0x4024c8,'oldShapeJSON':_0x47dd58};return _0x53f8be[_0x2bbff3(0x196)](_0x4a4f06['id'],_0x64a0a9);}function _0x36713a(_0x473c10){'@babel/helpers - typeof';const _0x1db4fd=_0x2ea0c4;return _0x36713a=typeof Symbol=='function'&&typeof Symbol[_0x1db4fd(0x2aa)]==_0x1db4fd(0x41c)?function(_0x4d98b0){return typeof _0x4d98b0;}:function(_0x10a2ae){const _0x281e8f=_0x1db4fd;return _0x10a2ae&&typeof Symbol=='function'&&_0x10a2ae[_0x281e8f(0x271)]===Symbol&&_0x10a2ae!==Symbol['prototype']?_0x281e8f(0x41c):typeof _0x10a2ae;},_0x36713a(_0x473c10);}function _0x82e66a(_0x7d77e4,_0x14a996){const _0x377853=_0x2ea0c4;if(_0x36713a(_0x7d77e4)!=_0x377853(0x17d)||!_0x7d77e4)return _0x7d77e4;var _0x43087b=_0x7d77e4[Symbol[_0x377853(0x231)]];if(_0x43087b!==void 0x0){var _0xbb4a6f=_0x43087b[_0x377853(0x3e9)](_0x7d77e4,_0x14a996||'default');if(_0x36713a(_0xbb4a6f)!=_0x377853(0x17d))return _0xbb4a6f;throw TypeError(_0x377853(0x2f5));}return(_0x14a996===_0x377853(0x3eb)?String:Number)(_0x7d77e4);}function _0x1b09b4(_0x4b5cff){const _0x5ddb92=_0x2ea0c4;var _0x1b4a2d=_0x82e66a(_0x4b5cff,_0x5ddb92(0x3eb));return _0x36713a(_0x1b4a2d)=='symbol'?_0x1b4a2d:_0x1b4a2d+'';}function _0x144b44(_0x8552ee,_0x9b4e2d,_0x446cf4){const _0x42c9fb=_0x2ea0c4;return(_0x9b4e2d=_0x1b09b4(_0x9b4e2d))in _0x8552ee?Object[_0x42c9fb(0x2db)](_0x8552ee,_0x9b4e2d,{'value':_0x446cf4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x8552ee[_0x9b4e2d]=_0x446cf4,_0x8552ee;}function _0x2ff49e(_0x5675f7,_0x26a3a0,_0x470f53){const _0x508e26=_0x2ea0c4;var _0x1a424e;let _0x1e17d5=(0x0,_0x502542[_0x508e26(0x25f)])(_0x5675f7,{..._0x26a3a0,'dataModel':{...(_0x1a424e=_0x26a3a0[_0x508e26(0x299)])==null?{}:_0x1a424e,..._0x470f53?{'doc':_0x470f53}:null}}),_0x52d8e3=(0x0,_0x502542['resolveShapeTextEditorWrapStrategy'])(_0x1e17d5);return{'clip':(0x0,_0x502542['shouldClipShapeTextDocument'])(_0x1e17d5,_0x52d8e3),'wrapStrategy':_0x52d8e3};}var _0x2264dd=class extends _0x122d5a['Shape']{constructor(_0x2fee86,_0x1e9488){const _0x543c59=_0x2ea0c4;super(_0x2fee86,_0x1e9488),_0x144b44(this,_0x543c59(0x32e),void 0x0),_0x144b44(this,_0x543c59(0x14a),!0x0),_0x144b44(this,_0x543c59(0x21e),_0x3fe9b6[_0x543c59(0x225)][_0x543c59(0x1d9)]),_0x144b44(this,_0x543c59(0x30a),!0x0),this[_0x543c59(0x32e)]={..._0x1e9488},this[_0x543c59(0x3f4)]();}[_0x2ea0c4(0x3f4)](){const _0x4398e6=_0x2ea0c4;this['onTransformChange$'][_0x4398e6(0x1d2)](_0x511041=>{this['_updateSrcRectByTransform'](_0x511041);});}[_0x2ea0c4(0x37d)](_0xd548a1){const _0x468524=_0x2ea0c4;this['_props'][_0x468524(0x22b)]=_0xd548a1;}[_0x2ea0c4(0x38c)](_0x405d04){const _0x280219=_0x2ea0c4;this[_0x280219(0x32e)]['isEditing']=_0x405d04,this['makeDirty'](!0x0);}get[_0x2ea0c4(0x429)](){const _0x419a4b=_0x2ea0c4;return this[_0x419a4b(0x32e)]['unitId'];}get[_0x2ea0c4(0x3aa)](){const _0x38a976=_0x2ea0c4;return this[_0x38a976(0x32e)]['subUnitId'];}[_0x2ea0c4(0x2e4)](_0x3db0dd){const _0xd54c2f=_0x2ea0c4;if(this[_0xd54c2f(0x32e)][_0xd54c2f(0x359)]==null||!this[_0xd54c2f(0x14a)])return;let {width:_0x4e03e3,height:_0x28fe59}=this,{width:_0x5006a6=0x0,height:_0x23adf9=0x0}=_0x3db0dd[_0xd54c2f(0x258)],{left:_0x44f422=0x0,top:_0x16c968=0x0,right:_0x2713fc=0x0,bottom:_0x2eb99b=0x0}=this['_props'][_0xd54c2f(0x359)],_0x1c2245=_0x44f422,_0x3fb901=_0x16c968,_0x43e735=_0x2713fc,_0x247a04=_0x2eb99b,_0x1209c5=!0x1;if(_0x5006a6!==0x0&&_0x5006a6!==_0x4e03e3){let _0x148a12=_0x44f422/_0x5006a6,_0x21f8d8=_0x2713fc/_0x5006a6;_0x1c2245=_0x4e03e3*_0x148a12,_0x43e735=_0x4e03e3*_0x21f8d8,_0x1209c5=!0x0;}if(_0x23adf9!==0x0&&_0x23adf9!==_0x28fe59){let _0x5dba62=_0x16c968/_0x23adf9,_0x3a650e=_0x2eb99b/_0x23adf9;_0x3fb901=_0x28fe59*_0x5dba62,_0x247a04=_0x28fe59*_0x3a650e,_0x1209c5=!0x0;}_0x1209c5&&this['setSrcRect']({'left':_0x1c2245,'top':_0x3fb901,'right':_0x43e735,'bottom':_0x247a04});}['setSrcRect'](_0xaf58d5){const _0x355146=_0x2ea0c4;this['_props'][_0x355146(0x359)]=_0xaf58d5,this[_0x355146(0x1d4)](!0x0);}[_0x2ea0c4(0x2c5)](_0x139e6c){const _0x152ae2=_0x2ea0c4;this['_props'][_0x152ae2(0x1c7)]=_0x139e6c,this[_0x152ae2(0x1d4)](!0x0);}set[_0x2ea0c4(0x3ec)](_0x46797a){this['_transform']=_0x46797a;}get[_0x2ea0c4(0x3ec)](){const _0x220b15=_0x2ea0c4;this[_0x220b15(0x148)]||this['_setTransForm']();let _0x42d852=this[_0x220b15(0x148)]['clone']();return this[_0x220b15(0x3d5)](_0x42d852);}get['shapeModel'](){const _0x5148ae=_0x2ea0c4;return this[_0x5148ae(0x32e)][_0x5148ae(0x377)];}get['shapeId'](){const _0xb6df93=_0x2ea0c4;return this[_0xb6df93(0x32e)][_0xb6df93(0x124)];}get[_0x2ea0c4(0x141)](){const _0x51349b=_0x2ea0c4;return _0x122d5a[_0x51349b(0x31d)]['SHAPE'];}[_0x2ea0c4(0x3a6)](_0x22d3a7,_0x4e0d10,_0x511b85,_0x2b2c4d){const _0x27b02c=_0x2ea0c4;let _0x358bf9=this[_0x27b02c(0x32e)]['shapeModel'];if(!_0x358bf9||!_0x4e0d10)return;let _0x2debf0=_0x511b85==null?this['width']:_0x511b85,_0x2f6288=_0x2b2c4d==null?this[_0x27b02c(0x403)]:_0x2b2c4d,_0x3cd4db={'shapeType':_0x358bf9[_0x27b02c(0x1b9)](),'width':_0x2debf0,'height':_0x2f6288},_0x2502af={'renderMode':_0x360390['ShapeRenderModeEnum'][_0x27b02c(0x392)],'oKey':this[_0x27b02c(0x1a0)],'image':this[_0x27b02c(0x32e)]['image'],'angle':this[_0x27b02c(0x2a0)]};_0x358bf9[_0x27b02c(0x21d)](_0x3cd4db),_0x22d3a7['save']();let _0x1d91f6={'top':0x0,'left':0x0,'width':_0x2debf0,'height':_0x2f6288};_0x358bf9[_0x27b02c(0x343)](_0x22d3a7,_0x1d91f6,_0x2502af),_0x22d3a7['restore']();let _0x14538a=_0x358bf9[_0x27b02c(0x236)](),_0x245f00=_0x358bf9[_0x27b02c(0x22a)](_0x1d91f6),_0x38665e=_0x358bf9[_0x27b02c(0x31a)]();if(_0x14538a&&_0x245f00&&!_0x38665e){_0x22d3a7[_0x27b02c(0x289)](),this['getState']()[_0x27b02c(0x17a)]&&_0x22d3a7['scale'](-0x1,0x1);let _0x587444=_0x2debf0/0x2,_0x24a830=_0x2f6288/0x2;_0x22d3a7['translate'](-_0x587444,-_0x24a830),_0x22d3a7['beginPath'](),this[_0x27b02c(0x3bd)](_0x22d3a7,_0x14538a,_0x245f00),_0x22d3a7[_0x27b02c(0x2b2)]();}}['getDrawingPoints'](_0x2c7684){}[_0x2ea0c4(0x3bd)](_0x2bc266,_0xc88126,_0x14cec9){const _0x256842=_0x2ea0c4;var _0x5a9145;this[_0x256842(0x32e)][_0x256842(0x118)]||(!((_0x5a9145=_0xc88126[_0x256842(0x299)])!=null&&_0x5a9145[_0x256842(0x209)])&&_0x256842(0x285)in _0xc88126&&_0xc88126[_0x256842(0x285)]===!0x1?this[_0x256842(0x3a4)](_0x2bc266,_0xc88126,_0x14cec9):this['_drawRichText'](_0x2bc266,_0xc88126,_0x14cec9));}['_drawSimpleText'](_0x6b16fa,_0x53ffa0,_0x54b088){const _0x4955c6=_0x2ea0c4;var _0x431853;this['_drawRichText'](_0x6b16fa,{..._0x53ffa0,'text':(_0x431853=_0x53ffa0[_0x4955c6(0x264)])==null?'':_0x431853,'dataModel':{'doc':(0x0,_0x502542[_0x4955c6(0x17b)])(_0x53ffa0,_0x4955c6(0x29c)+this[_0x4955c6(0x1a0)])}},_0x54b088);}[_0x2ea0c4(0x1bb)](_0x1b634c,_0x572362,_0x4b1200){const _0x21b7c2=_0x2ea0c4;var _0x12f8a6,_0x37e80c;let _0x4033a2=this[_0x21b7c2(0x32e)][_0x21b7c2(0x274)];if(!_0x572362[_0x21b7c2(0x299)]||!_0x4033a2)return;let _0x1a826e=(0x0,_0x502542[_0x21b7c2(0x381)])(_0x572362[_0x21b7c2(0x299)]);if(!_0x1a826e)return;let _0x395eca=_0x1a826e[_0x21b7c2(0x209)],_0x15138a=(_0x12f8a6=_0x1a826e['va'])==null?_0x3fe9b6[_0x21b7c2(0x306)][_0x21b7c2(0x20d)]:_0x12f8a6,_0x236c5c=(_0x37e80c=_0x1a826e['ha'])==null?_0x3fe9b6[_0x21b7c2(0x120)][_0x21b7c2(0xf8)]:_0x37e80c,_0x1de64e=_0x2ff49e(this[_0x21b7c2(0x32e)][_0x21b7c2(0x377)]['getShapeData'](),_0x572362,_0x395eca),_0x23449c=_0x572362['isHorizontal'],_0xb36ab1=new _0x3fe9b6['DocumentDataModel']((0x0,_0x502542[_0x21b7c2(0x2c4)])(_0x395eca,{'isHorizontal':_0x23449c!==!0x1,'textRect':_0x4b1200,'verticalAlign':_0x15138a,'horizontalAlign':_0x236c5c,'wrapStrategy':_0x1de64e[_0x21b7c2(0x396)]})),_0x5dac98=new _0x122d5a[(_0x21b7c2(0x244))](_0xb36ab1),_0x42ae59=_0x122d5a['DocumentSkeleton'][_0x21b7c2(0x15a)](_0x5dac98,_0x4033a2);_0x42ae59['calculate']();let _0x2bff73=_0x42ae59['getActualSize']()['actualHeight'],_0x2d339f=(0x0,_0x502542[_0x21b7c2(0x2ab)])({'contentHeight':_0x2bff73,'verticalAlign':_0x15138a,'viewportHeight':_0x4b1200[_0x21b7c2(0x403)]});_0xb36ab1[_0x21b7c2(0x383)]({'pageSize':{'width':_0x23449c===!0x1?_0x4b1200['height']:_0x4b1200[_0x21b7c2(0x1bf)],'height':_0x2d339f['contentHeight']}}),_0xb36ab1[_0x21b7c2(0x1ec)]({'t':_0x2d339f[_0x21b7c2(0x3ef)]}),_0x42ae59['calculate']();let _0x1c8e01=new _0x122d5a[(_0x21b7c2(0x312))](_0x21b7c2(0x257)+this[_0x21b7c2(0x1a0)],_0x42ae59,{'pageMarginLeft':0x0,'pageMarginTop':0x0});_0x1c8e01[_0x21b7c2(0x27c)](_0x4b1200[_0x21b7c2(0x1bf)],_0x2d339f[_0x21b7c2(0x2fa)]),_0x1b634c[_0x21b7c2(0x289)](),_0x1b634c[_0x21b7c2(0x2fb)](_0x4b1200['left'],_0x4b1200[_0x21b7c2(0x176)]),_0x1de64e[_0x21b7c2(0x3a1)]&&(_0x1b634c['beginPath'](),_0x1b634c['rect'](0x0,_0x2d339f[_0x21b7c2(0x2ae)],_0x4b1200[_0x21b7c2(0x1bf)],_0x2d339f[_0x21b7c2(0x2d1)]),_0x1b634c[_0x21b7c2(0x3a1)]()),_0x2d339f[_0x21b7c2(0x211)]&&_0x1b634c[_0x21b7c2(0x2fb)](0x0,_0x2d339f[_0x21b7c2(0x211)]),_0x1c8e01[_0x21b7c2(0x131)](_0x1b634c),_0x1b634c['restore'](),_0x1c8e01[_0x21b7c2(0x14f)](),_0x42ae59[_0x21b7c2(0x14f)](),_0x5dac98[_0x21b7c2(0x14f)](),_0xb36ab1[_0x21b7c2(0x14f)]();}['render'](_0x5e847c,_0x55853d,_0x35c348=!0x1){const _0xa68154=_0x2ea0c4;if(!this['visible'])return this[_0xa68154(0x1d4)](!0x1),this;let {width:_0x3e6cd1,height:_0x42380a,left:_0x465c27,top:_0x1ab945}=this,_0x433315=this[_0xa68154(0x372)]();if(_0x3e6cd1=_0x433315[_0xa68154(0x1bf)],_0x42380a=_0x433315[_0xa68154(0x403)],_0x465c27=_0x433315[_0xa68154(0x2b3)],_0x1ab945=_0x433315[_0xa68154(0x176)],this[_0xa68154(0x2c0)](_0x55853d)){let {top:_0x240063,left:_0x4efd6c,bottom:_0x525e28,right:_0x3cf31d}=_0x55853d[_0xa68154(0x1e1)];if(_0x3e6cd1+this[_0xa68154(0x426)]+_0x465c27<_0x4efd6c||_0x3cf31d<_0x465c27||_0x42380a+this[_0xa68154(0x426)]+_0x1ab945<_0x240063||_0x525e28<_0x1ab945)return this;}let _0x11fc52=_0x465c27+_0x3e6cd1/0x2,_0x2bc0e9=_0x1ab945+_0x42380a/0x2,_0x3099d0=this[_0xa68154(0x3ec)]['getMatrix']();if(this['_props']['isEditing']){let _0x10bb4e=this[_0xa68154(0x39b)](),_0x3c3280=new _0x122d5a[(_0xa68154(0x427))]();_0x3c3280[_0xa68154(0x2d6)]({..._0x10bb4e}),_0x3099d0=_0x3c3280['getMatrix']();}return _0x5e847c[_0xa68154(0x289)](),this['_props'][_0xa68154(0x377)]['isRenderLinePointsMode']===!0x0||_0x5e847c[_0xa68154(0x3ec)](_0x3099d0[0x0],_0x3099d0[0x1],_0x3099d0[0x2],_0x3099d0[0x3],_0x11fc52,_0x2bc0e9),this[_0xa68154(0x3a6)](_0x5e847c,_0x55853d,_0x3e6cd1,_0x42380a),_0x5e847c[_0xa68154(0x2b2)](),this[_0xa68154(0x1d4)](!0x1),this;}[_0x2ea0c4(0x103)](_0x28b4bf){const _0x1349ab=_0x2ea0c4;let {left:_0x2ed4cf,top:_0x34e37b,width:_0x325ae5,height:_0x593035}=this[_0x1349ab(0x372)](),_0x3bee84=this[_0x1349ab(0x3ec)][_0x1349ab(0x20f)](),_0x11d5e6=_0x2ed4cf+_0x325ae5/0x2,_0x3545d6=_0x34e37b+_0x593035/0x2,_0x21678f=new _0x122d5a['Transform']([_0x3bee84[0x0],_0x3bee84[0x1],_0x3bee84[0x2],_0x3bee84[0x3],_0x11d5e6,_0x3545d6]),_0xabf921=this[_0x1349ab(0x36e)]();return(this[_0x1349ab(0x23d)]&&(_0xabf921==null?void 0x0:_0xabf921['classType'])===_0x122d5a[_0x1349ab(0x31d)][_0x1349ab(0x3e4)]?_0xabf921[_0x1349ab(0x164)][_0x1349ab(0x1cc)](_0x21678f):_0x21678f)[_0x1349ab(0x143)]()[_0x1349ab(0x356)](_0x28b4bf);}[_0x2ea0c4(0x3f0)](_0x95239a){const _0x48d3d1=_0x2ea0c4;let {left:_0x31b17e,top:_0x106b05,width:_0x1f6e94,height:_0x4ed984}=this[_0x48d3d1(0x372)](),_0x3c41ce=_0x31b17e+_0x1f6e94/0x2,_0x3d1e16=_0x106b05+_0x4ed984/0x2,_0x4d1f37=this[_0x48d3d1(0x3ec)][_0x48d3d1(0x20f)](),_0x57fe69=new _0x122d5a[(_0x48d3d1(0x427))]([_0x4d1f37[0x0],_0x4d1f37[0x1],_0x4d1f37[0x2],_0x4d1f37[0x3],_0x3c41ce,_0x3d1e16]),_0x599ebf=this[_0x48d3d1(0x36e)](),_0x16d2c8=(this[_0x48d3d1(0x23d)]&&(_0x599ebf==null?void 0x0:_0x599ebf[_0x48d3d1(0x141)])===_0x122d5a[_0x48d3d1(0x31d)][_0x48d3d1(0x3e4)]?_0x599ebf[_0x48d3d1(0x164)]['multiply'](_0x57fe69):_0x57fe69)['invert']()[_0x48d3d1(0x356)](_0x95239a),_0x4726e5=_0x1f6e94/0x2,_0x228cc1=_0x4ed984/0x2,_0x109323=this['_props'][_0x48d3d1(0x377)];return _0x109323&&_0x109323[_0x48d3d1(0x31a)]()?_0x109323[_0x48d3d1(0x1c5)](_0x16d2c8['x'],_0x16d2c8['y'],_0x1f6e94,_0x4ed984):_0x16d2c8['x']>=-_0x4726e5-this[_0x48d3d1(0x426)]/0x2&&_0x16d2c8['x']<=_0x4726e5+this['strokeWidth']/0x2&&_0x16d2c8['y']>=-_0x228cc1-this[_0x48d3d1(0x426)]/0x2&&_0x16d2c8['y']<=_0x228cc1+this[_0x48d3d1(0x426)]/0x2;}[_0x2ea0c4(0x14f)](){const _0x22d5cc=_0x2ea0c4;this['_props'][_0x22d5cc(0x377)]=null,super[_0x22d5cc(0x14f)]();}},_0x1d0af4=class extends _0x122d5a['Shape']{constructor(_0x3c71da,_0x56ca15){const _0x3cbb39=_0x2ea0c4;super(_0x3c71da,_0x56ca15),_0x144b44(this,_0x3cbb39(0x26e),null),_0x144b44(this,_0x3cbb39(0x266),null),_0x144b44(this,'_unitId',null),_0x144b44(this,_0x3cbb39(0x154),null),_0x56ca15&&this[_0x3cbb39(0x2ca)](_0x56ca15);}[_0x2ea0c4(0x14e)](){const _0x15ba1a=_0x2ea0c4;return{'unitId':this[_0x15ba1a(0x434)],'subUnitId':this[_0x15ba1a(0x154)],'drawingId':this[_0x15ba1a(0x26e)]};}[_0x2ea0c4(0x2ca)](_0x285b23){const _0x2e73f7=_0x2ea0c4;_0x285b23[_0x2e73f7(0x124)]!==void 0x0&&(this['_shapeId']=_0x285b23[_0x2e73f7(0x124)]),_0x285b23[_0x2e73f7(0x21a)]!==void 0x0&&(this[_0x2e73f7(0x266)]=_0x285b23['adjName']),_0x285b23['unitId']!==void 0x0&&(this['_unitId']=_0x285b23[_0x2e73f7(0x429)]),_0x285b23[_0x2e73f7(0x3aa)]!==void 0x0&&(this[_0x2e73f7(0x154)]=_0x285b23[_0x2e73f7(0x3aa)]),this[_0x2e73f7(0x413)]({'width':_0x285b23[_0x2e73f7(0x1bf)],'height':_0x285b23[_0x2e73f7(0x403)]});}[_0x2ea0c4(0x3a6)](_0x3d70fd){const _0x53191e=_0x2ea0c4;_0x122d5a['Circle'][_0x53191e(0x385)](_0x3d70fd,{'radius':_0x360390['ShapeDefaultConfig'][_0x53191e(0x1ba)],'fill':_0x360390[_0x53191e(0x18d)][_0x53191e(0x2fc)],'stroke':_0x360390[_0x53191e(0x18d)][_0x53191e(0x3ab)],'strokeWidth':0x1,'evented':!0x0});}};function _0x26d55f(_0x526ec2,_0x390ec5){return function(_0x286712,_0x1100ee){_0x390ec5(_0x286712,_0x1100ee,_0x526ec2);};}function _0x20d714(_0xbbf2a3,_0x474856,_0x291257,_0x5df469){const _0xefbf49=_0x2ea0c4;var _0x3e70dc=arguments[_0xefbf49(0x111)],_0x91865a=_0x3e70dc<0x3?_0x474856:_0x5df469===null?_0x5df469=Object[_0xefbf49(0x2cf)](_0x474856,_0x291257):_0x5df469,_0x36dd76;if(typeof Reflect==_0xefbf49(0x17d)&&typeof Reflect[_0xefbf49(0x1c1)]==_0xefbf49(0x3c1))_0x91865a=Reflect[_0xefbf49(0x1c1)](_0xbbf2a3,_0x474856,_0x291257,_0x5df469);else{for(var _0x2c87cc=_0xbbf2a3[_0xefbf49(0x111)]-0x1;_0x2c87cc>=0x0;_0x2c87cc--)(_0x36dd76=_0xbbf2a3[_0x2c87cc])&&(_0x91865a=(_0x3e70dc<0x3?_0x36dd76(_0x91865a):_0x3e70dc>0x3?_0x36dd76(_0x474856,_0x291257,_0x91865a):_0x36dd76(_0x474856,_0x291257))||_0x91865a);}return _0x3e70dc>0x3&&_0x91865a&&Object[_0xefbf49(0x2db)](_0x474856,_0x291257,_0x91865a),_0x91865a;}let _0x3eccdb=class extends _0x3fe9b6['Disposable']{constructor(_0x45001d,_0x48bf49,_0x14aaee,_0x580919,_0x39b95c){const _0x485984=_0x2ea0c4;super(),this[_0x485984(0x275)]=_0x45001d,this['_sheetsShapeService']=_0x48bf49,this[_0x485984(0x2e5)]=_0x14aaee,this[_0x485984(0x406)]=_0x580919,this[_0x485984(0x109)]=_0x39b95c;}[_0x2ea0c4(0x321)](_0x34d49e,_0x4f9a0f,_0xe28106){const _0x4ad799=_0x2ea0c4;let {transform:_0x327bd2,drawingType:_0x422734,srcRect:_0x2a19dc,prstGeom:_0x1a34c0,groupId:_0x412b34,unitId:_0x158db4,subUnitId:_0x1dba12,drawingId:_0x589281,isMultiTransform:_0x4f77c0,transforms:_0x1e7c79,hidden:_0x5be8dd}=_0x34d49e;if(_0x422734!==_0x3fe9b6['DrawingTypeEnum'][_0x4ad799(0x1d9)]||!this[_0x4ad799(0x275)][_0x4ad799(0x147)]()||_0x327bd2==null)return;let _0x1e1ae7=this[_0x4ad799(0x275)][_0x4ad799(0x3a2)]();_0x1e1ae7&&_0x4f9a0f[_0x4ad799(0x18b)](_0x502542[_0x4ad799(0x297)]);let _0x5378d0=_0x4f77c0&&_0x1e7c79?_0x1e7c79:[_0x327bd2],_0x5c60f3=[];for(let _0x154ba5 of _0x5378d0){let {left:_0x3fc065,top:_0x59a372,width:_0x17bc2e,height:_0x1cfb0a,angle:_0x5993f8,flipX:_0x1b867a,flipY:_0x3ad724,skewX:_0x219e9a,skewY:_0x2c3bf5}=_0x154ba5,_0x238700=_0x5378d0['indexOf'](_0x154ba5),_0x2ff866=(0x0,_0xcd0f0e[_0x4ad799(0x1f8)])({'unitId':_0x158db4,'subUnitId':_0x1dba12,'drawingId':_0x589281},_0x4f77c0?_0x238700:void 0x0),_0xa76443=_0x4f9a0f[_0x4ad799(0x432)](_0x2ff866);if(_0xa76443!=null){_0xa76443[_0x4ad799(0x413)]({'left':_0x3fc065,'top':_0x59a372,'width':_0x17bc2e,'height':_0x1cfb0a,'angle':_0x5993f8,'flipX':_0x1b867a,'flipY':_0x3ad724,'skewX':_0x219e9a,'skewY':_0x2c3bf5});continue;}let _0x3beefb=this['_drawingManagerService'][_0x4ad799(0x235)](_0x158db4,_0x1dba12),_0x44e526=_0x3beefb['indexOf'](_0x589281);if(_0x4f9a0f[_0x4ad799(0x432)](_0x2ff866)||!this[_0x4ad799(0x275)][_0x4ad799(0x147)]())continue;let _0x3925ed=this[_0x4ad799(0x25b)][_0x4ad799(0x252)](_0x158db4,_0x1dba12,_0x589281);if(!_0x3925ed)continue;let _0x2d8e33=new _0x2264dd(_0x2ff866,{...(0x0,_0x360390[_0x4ad799(0x295)])(_0x3925ed[_0x4ad799(0x1b9)]())?{..._0x154ba5,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x154ba5},'zIndex':_0x44e526===-0x1?_0x3beefb[_0x4ad799(0x111)]-0x1:_0x44e526,'shapeModel':_0x3925ed,'localeService':this[_0x4ad799(0x2e5)],'shapeId':_0x589281,'unitId':_0x158db4,'subUnitId':_0x1dba12,'visible':_0x5be8dd!==!0x0});_0x4f9a0f['addObject'](_0x2d8e33,_0x122d5a[_0x4ad799(0x192)]),_0x1e1ae7&&_0x4f9a0f[_0x4ad799(0x269)](_0x2d8e33),_0x412b34&&(0x0,_0x3cfff1['insertGroupObject'])({'drawingId':_0x412b34,'unitId':_0x158db4,'subUnitId':_0x1dba12},_0x2d8e33,_0x4f9a0f,this[_0x4ad799(0x275)]),_0x1a34c0!=null&&_0x2d8e33[_0x4ad799(0x37d)](_0x1a34c0),_0x2a19dc!=null&&_0x2d8e33['setSrcRect'](_0x2a19dc);let _0x116d1e=this[_0x4ad799(0x149)](_0x2d8e33,_0x3925ed[_0x4ad799(0x11d)]());if(_0x116d1e){var _0x2f3b47;_0xe28106==null||(_0x2f3b47=_0xe28106[_0x4ad799(0x3fe)])==null||_0x2f3b47[_0x4ad799(0x323)](_0x116d1e);}_0x5c60f3[_0x4ad799(0x35c)](_0x2d8e33);}return _0x5c60f3;}[_0x2ea0c4(0x149)](_0x2b0882,_0x388f38){const _0x5ae3d2=_0x2ea0c4;var _0x57a233;let _0x537061=_0x388f38['fill'];if(!_0x537061||_0x537061['fillType']!==_0x360390[_0x5ae3d2(0x1b7)][_0x5ae3d2(0x1ee)]||!_0x537061[_0x5ae3d2(0x410)])return;let _0x4ab6e9=_0x537061[_0x5ae3d2(0x410)],_0x4d1f78=(_0x57a233=_0x537061[_0x5ae3d2(0x15d)])==null?_0x360390[_0x5ae3d2(0x334)][_0x5ae3d2(0x301)]:_0x57a233,_0x28926f=this['_imageIoService'][_0x5ae3d2(0x36b)](_0x4ab6e9,_0x4d1f78);if(_0x28926f){_0x2b0882[_0x5ae3d2(0x2c5)](_0x28926f);return;}return this[_0x5ae3d2(0x10f)](_0x2b0882,_0x4ab6e9,_0x4d1f78);}async['_loadAndSetImage'](_0x3df360,_0x4127ce,_0x4800fc){const _0x50d077=_0x2ea0c4;let _0x17ff07;try{if(_0x4800fc===_0x360390[_0x50d077(0x334)][_0x50d077(0x24f)])_0x17ff07=await this[_0x50d077(0x406)]['getImage'](_0x4127ce);else{if(_0x4800fc===_0x360390[_0x50d077(0x334)]['URL'])try{_0x17ff07=await this[_0x50d077(0x109)][_0x50d077(0x332)](_0x4127ce);}catch{_0x17ff07=_0x4127ce;}else _0x17ff07=_0x4127ce;}}catch(_0x58df2f){console[_0x50d077(0x2dd)](_0x50d077(0x424),_0x58df2f);return;}await new Promise(_0x36d878=>{const _0x10fee7=_0x50d077;let _0x1591e5=new window['Image']();_0x1591e5[_0x10fee7(0x1e4)]=()=>{const _0x47fa0a=_0x10fee7;this[_0x47fa0a(0x406)]['addImageSourceCache'](_0x4127ce,_0x4800fc,_0x1591e5),_0x3df360['setFillImage'](_0x1591e5),_0x36d878();},_0x1591e5[_0x10fee7(0x3c5)]=()=>{const _0x29e063=_0x10fee7;console['error'](_0x29e063(0x333),_0x4127ce),_0x36d878();},_0x1591e5[_0x10fee7(0x138)]=_0x17ff07;});}};_0x3eccdb=_0x20d714([_0x26d55f(0x0,_0xcd0f0e['IDrawingManagerService']),_0x26d55f(0x1,(0x0,_0x3fe9b6['Inject'])(_0x2cb023[_0x2ea0c4(0x40f)])),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3fe9b6['LocaleService'])),_0x26d55f(0x3,_0x3fe9b6[_0x2ea0c4(0x354)]),_0x26d55f(0x4,_0x3fe9b6[_0x2ea0c4(0x300)])],_0x3eccdb);let _0x17ed0c=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x5c5612,_0x379191,_0x1726e8,_0x53159e,_0x2229e6,_0x46f920){const _0x42c0a2=_0x2ea0c4;super(),this['_drawingManagerService']=_0x5c5612,this[_0x42c0a2(0x25b)]=_0x379191,this[_0x42c0a2(0x200)]=_0x1726e8,this[_0x42c0a2(0x1d6)]=_0x53159e,this[_0x42c0a2(0x2ba)]=_0x2229e6,this[_0x42c0a2(0x3d4)]=_0x46f920,_0x144b44(this,_0x42c0a2(0x1be),null),_0x144b44(this,_0x42c0a2(0x434),null),_0x144b44(this,_0x42c0a2(0x154),null),_0x144b44(this,'_activeShapeAdjustPointList',void 0x0),_0x144b44(this,_0x42c0a2(0x42f),[]),_0x144b44(this,_0x42c0a2(0x12c),0x0),_0x144b44(this,_0x42c0a2(0x1e6),0x0),_0x144b44(this,_0x42c0a2(0x33f),0x0),_0x144b44(this,_0x42c0a2(0x320),0x0),_0x144b44(this,_0x42c0a2(0x331),!0x1),_0x144b44(this,_0x42c0a2(0x36c),void 0x0),_0x144b44(this,'_activeShapeModel',void 0x0),_0x144b44(this,_0x42c0a2(0x438),void 0x0),_0x144b44(this,'_adjHandlerPointerUp',void 0x0),_0x144b44(this,_0x42c0a2(0x421),!0x1),this[_0x42c0a2(0x31f)](),this[_0x42c0a2(0x262)]();}['_getShapeAdjustPointListById'](_0x9b4974,_0x29c463,_0x21a91f){const _0x43b8cf=_0x2ea0c4;let _0x24b804=this[_0x43b8cf(0x25b)][_0x43b8cf(0x252)](_0x9b4974,_0x29c463,_0x21a91f);if(_0x24b804)return _0x24b804[_0x43b8cf(0x1e7)]();}['clearAdjustControls'](){const _0x282fcb=_0x2ea0c4;this[_0x282fcb(0x1c2)]();}[_0x2ea0c4(0x2a5)](){const _0x1d2529=_0x2ea0c4;this[_0x1d2529(0x3b5)](!0x0);}[_0x2ea0c4(0x3bc)](_0x11ddeb){this['_isShouldShowDrawingShapeAdjust']=_0x11ddeb;}[_0x2ea0c4(0x314)](_0x5ec90c,_0x378cb9,_0x24e0b2,_0x476ec3){const _0x1b7683=_0x2ea0c4;let _0x272758=this[_0x1b7683(0x25b)]['getShapeModel'](_0x5ec90c,_0x378cb9,_0x24e0b2);if(_0x272758)return _0x272758[_0x1b7683(0x28e)](_0x476ec3);}[_0x2ea0c4(0x405)](_0x26a409=!0x1){const _0x29c989=_0x2ea0c4;if(this['_unitId']===null||this[_0x29c989(0x154)]===null||this[_0x29c989(0x1be)]===null)return;let _0x5233b0=this[_0x29c989(0x200)]['getRenderById'](this[_0x29c989(0x434)]);if(!_0x5233b0||!_0x5233b0[_0x29c989(0x3f8)](_0x48ecbb[_0x29c989(0x3ff)])[_0x29c989(0x1d3)]())return;let {scene:_0x89671c}=_0x5233b0,_0x5bd7cb={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x29c989(0x1be)]},_0x8e823c=this[_0x29c989(0x275)][_0x29c989(0x3e3)](_0x5bd7cb),{transform:_0x5d2f0e}=_0x8e823c;if(!_0x5d2f0e||_0x8e823c[_0x29c989(0x19a)]!==_0x3fe9b6[_0x29c989(0x225)][_0x29c989(0x1d9)])return;let {left:_0x5257eb,top:_0x4316ad,width:_0x347c9b,height:_0x260bda,flipX:_0x41919b,flipY:_0x23fcab,angle:_0x4b9be8=0x0}=_0x5d2f0e;if(_0x5257eb===void 0x0||_0x4316ad===void 0x0)return;_0x26a409&&(this[_0x29c989(0x393)]=this['_getShapeAdjustPointListById'](this[_0x29c989(0x434)],this[_0x29c989(0x154)],this[_0x29c989(0x1be)]));let _0x4d8c76=this['_activeShapeAdjustPointList'];for(let _0x5a3dc9=0x0;_0x5a3dc9<_0x4d8c76[_0x29c989(0x111)];_0x5a3dc9++){let _0x3c3431=_0x4d8c76[_0x5a3dc9],_0x4beed5=_0x3c3431['x'],_0x40abc5=_0x3c3431['y'];if(_0x41919b&&(_0x4beed5=(_0x347c9b||0x0)-_0x4beed5),_0x23fcab&&(_0x40abc5=(_0x260bda||0x0)-_0x40abc5),_0x4b9be8!==0x0){let _0x5d2205=(_0x347c9b||0x0)/0x2,_0x2a916d=(_0x260bda||0x0)/0x2,_0x52d659=_0x4b9be8*Math['PI']/0xb4,_0x1d1813=Math[_0x29c989(0x38d)](_0x52d659),_0x4f4131=Math[_0x29c989(0x2a2)](_0x52d659),_0x2e2d3c=_0x4beed5-_0x5d2205,_0xca3267=_0x40abc5-_0x2a916d;_0x4beed5=_0x5d2205+(_0x2e2d3c*_0x1d1813-_0xca3267*_0x4f4131),_0x40abc5=_0x2a916d+(_0x2e2d3c*_0x4f4131+_0xca3267*_0x1d1813);}let _0x2c1231={'x':_0x4beed5,'y':_0x40abc5,'adjName':_0x3c3431[_0x29c989(0x21a)]};this['_addShapeAdjustControl'](_0x89671c,_0x2c1231,_0x2c1231[_0x29c989(0x21a)],_0x5257eb,_0x4316ad,this['_unitId'],this[_0x29c989(0x154)]);}}[_0x2ea0c4(0x3b5)](_0x4986b1=!0x1){const _0x3c084a=_0x2ea0c4;_0x4986b1&&(this[_0x3c084a(0x1c2)](),this['_createShapeAdjustControls'](_0x4986b1));}[_0x2ea0c4(0x22d)](_0x4ca767,_0x201ab0,_0x532096,_0x8cd161,_0xa90caf,_0xe155d2,_0x274123){const _0x4b9893=_0x2ea0c4;if(!this[_0x4b9893(0x1be)])return;let _0x48eff6=_0x4ca767[_0x4b9893(0x432)](_0x4b9893(0x2da)+this['_activeShapeId']+'-'+_0x532096);if(_0x48eff6){_0x48eff6[_0x4b9893(0x413)]({'left':_0x201ab0['x']+_0x8cd161-_0x360390[_0x4b9893(0x18d)][_0x4b9893(0x1ba)],'top':_0x201ab0['y']+_0xa90caf-_0x360390['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x57b025={'left':_0x201ab0['x']+_0x8cd161-_0x360390[_0x4b9893(0x18d)][_0x4b9893(0x1ba)],'top':_0x201ab0['y']+_0xa90caf-_0x360390[_0x4b9893(0x18d)][_0x4b9893(0x1ba)],'adjName':_0x532096,'shapeId':this[_0x4b9893(0x1be)],'unitId':_0xe155d2,'subUnitId':_0x274123,'width':_0x360390[_0x4b9893(0x18d)]['adjHandleSize']+0x8,'height':_0x360390[_0x4b9893(0x18d)][_0x4b9893(0x1ba)]+0x8,'zIndex':_0x122d5a[_0x4b9893(0x192)]+0x1,'evented':!0x0},_0x18e6ed=new _0x1d0af4(_0x4b9893(0x2da)+this[_0x4b9893(0x1be)]+'-'+_0x532096,_0x57b025);this['_shapes']['push'](_0x18e6ed),this[_0x4b9893(0x3a5)](_0x18e6ed,_0x4ca767,_0x532096),_0x4ca767[_0x4b9893(0x112)](_0x18e6ed,_0x122d5a[_0x4b9893(0x192)]+0x1);}[_0x2ea0c4(0x1c2)](){const _0x303747=_0x2ea0c4;this[_0x303747(0x42f)][_0x303747(0x111)]!==0x0&&(this['_shapes'][_0x303747(0x31b)](_0x209453=>{const _0xfb3d65=_0x303747;_0x209453[_0xfb3d65(0x14f)]();}),this[_0x303747(0x42f)]=[]);}[_0x2ea0c4(0x3ac)](){const _0x2d214b=_0x2ea0c4;this[_0x2d214b(0x405)]();}[_0x2ea0c4(0x2e0)](_0x508a10,_0x40ced0){const _0x55676e=_0x2ea0c4;var _0x345330;let _0x9d094e={'x':0x0,'y':0x0};if(!_0x508a10||!_0x40ced0)return _0x9d094e;let _0x4ced77=this['_renderManagerService']['getRenderById'](_0x508a10);if(!_0x4ced77||!_0x4ced77[_0x55676e(0x3f8)](_0x48ecbb[_0x55676e(0x3ff)])['getSkeleton'](_0x40ced0))return _0x9d094e;let _0x104728=_0x4ced77['with'](_0x48ecbb['SheetScrollManagerService']),_0x16b296=_0x104728==null?void 0x0:_0x104728[_0x55676e(0x1a4)]();if(!_0x16b296)return _0x9d094e;let _0x3cc068=(_0x345330=this['_univerInstanceService'][_0x55676e(0x34b)](_0x508a10))==null?void 0x0:_0x345330[_0x55676e(0x20c)](_0x40ced0);if(!_0x3cc068)return _0x9d094e;let _0x10132b=(0x0,_0x48ecbb[_0x55676e(0x32f)])(_0x16b296[_0x55676e(0x419)],_0x16b296[_0x55676e(0x3ae)],_0x4ced77[_0x55676e(0x373)],_0x3cc068);return _0x10132b?{'x':_0x10132b[_0x55676e(0x327)],'y':_0x10132b[_0x55676e(0x2b8)]}:_0x9d094e;}[_0x2ea0c4(0x388)](_0x11cac9,_0x3c0303){const _0x29cb6f=_0x2ea0c4;var _0x49746f,_0x17760d;let _0xb3f494=(_0x49746f=this[_0x29cb6f(0x2ba)][_0x29cb6f(0x34b)](_0x11cac9))==null?void 0x0:_0x49746f[_0x29cb6f(0x20c)](_0x3c0303);return(_0x17760d=_0xb3f494==null?void 0x0:_0xb3f494[_0x29cb6f(0x1b2)]())==null?0x1:_0x17760d;}[_0x2ea0c4(0x3a5)](_0x565c29,_0x46714e,_0x44238b){const _0x5202d9=_0x2ea0c4;this[_0x5202d9(0x3c0)]((0x0,_0x3fe9b6['toDisposable'])(_0x565c29[_0x5202d9(0x173)]['subscribeEvent']((_0x495c11,_0xdf8571)=>{const _0x30054d=_0x5202d9;var _0x16a91b,_0x4a3477,_0x320b29,_0x26b71d;let _0x394980=_0x565c29[_0x30054d(0x14e)]();this[_0x30054d(0x36c)]=this['_getShapeAdjustInfosById'](_0x394980[_0x30054d(0x429)],_0x394980[_0x30054d(0x3aa)],_0x394980[_0x30054d(0x215)],_0x44238b),this[_0x30054d(0xf9)]=this[_0x30054d(0x25b)][_0x30054d(0x252)](_0x394980[_0x30054d(0x429)],_0x394980[_0x30054d(0x3aa)],_0x394980[_0x30054d(0x215)]);let _0x1ee241=this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x30054d(0x434)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x30054d(0x1be)]}),{transform:_0xb358e2}=_0x1ee241;if(_0xb358e2){let {left:_0x35b248,top:_0x3d5a12,width:_0x1122cb,height:_0x58d3d6}=_0xb358e2;this[_0x30054d(0x12c)]=_0x35b248||0x0,this[_0x30054d(0x1e6)]=_0x3d5a12||0x0,this[_0x30054d(0x33f)]=_0x1122cb||0x0,this['_baseShapeHeight']=_0x58d3d6||0x0;}let _0x2c2434=!!((_0x16a91b=_0x1ee241[_0x30054d(0x3ec)])!=null&&_0x16a91b[_0x30054d(0x17a)]),_0x5e5f3d=!!((_0x4a3477=_0x1ee241[_0x30054d(0x3ec)])!=null&&_0x4a3477[_0x30054d(0x30e)]),_0x587f75=((_0x320b29=_0x1ee241[_0x30054d(0x3ec)])==null?void 0x0:_0x320b29[_0x30054d(0x2a0)])||0x0;this['_isStartAdjusting']=!0x0,_0x46714e[_0x30054d(0x286)]();let _0x586ba2=(_0x26b71d=this[_0x30054d(0xf9)])==null?void 0x0:_0x26b71d[_0x30054d(0x1a7)](_0x44238b),_0xa5f41={[_0x44238b]:_0x586ba2};this[_0x30054d(0x438)]=_0x46714e[_0x30054d(0x2a7)]['subscribeEvent']((_0x28a5d5,_0x3b2072)=>{const _0x5173a3=_0x30054d;if(!this[_0x5173a3(0x331)])return;let {offsetX:_0x41aa57,offsetY:_0x4241c9}=_0x28a5d5,_0x2960fa=this[_0x5173a3(0x36c)];if(this[_0x5173a3(0xf9)]&&_0x2960fa){_0x46714e[_0x5173a3(0x286)](),_0x46714e[_0x5173a3(0x229)](_0x122d5a[_0x5173a3(0x37f)][_0x5173a3(0x224)]);let _0x1d1a14={'left':0x0,'top':0x0,'width':this['_baseShapeWidth'],'height':this[_0x5173a3(0x320)]},_0x16e8e3=this['_getScrollInfo'](this[_0x5173a3(0x434)],this[_0x5173a3(0x154)]),_0x40d0fe=this[_0x5173a3(0x388)](this['_unitId'],this[_0x5173a3(0x154)]),_0x670209=_0x41aa57/_0x40d0fe+_0x16e8e3['x']-this[_0x5173a3(0x12c)],_0x1bc3c4=_0x4241c9/_0x40d0fe+_0x16e8e3['y']-this['_baseShapeTop'];if(_0x587f75!==0x0){let _0x3686bd=this[_0x5173a3(0x33f)]/0x2,_0x1d9522=this['_baseShapeHeight']/0x2,_0x316613=_0x587f75*Math['PI']/0xb4,_0x62bae1=Math['cos'](_0x316613),_0x4f733c=Math[_0x5173a3(0x2a2)](_0x316613),_0x4a175a=_0x670209-_0x3686bd,_0x49c916=_0x1bc3c4-_0x1d9522;_0x670209=_0x3686bd+(_0x4a175a*_0x62bae1+_0x49c916*_0x4f733c),_0x1bc3c4=_0x1d9522+(-_0x4a175a*_0x4f733c+_0x49c916*_0x62bae1);}_0x2c2434&&(_0x670209=this[_0x5173a3(0x33f)]-_0x670209),_0x5e5f3d&&(_0x1bc3c4=this['_baseShapeHeight']-_0x1bc3c4);let _0xc2d781={'x':_0x670209,'y':_0x1bc3c4},_0x3b7175=this[_0x5173a3(0xf9)][_0x5173a3(0x27a)](_0x1d1a14,_0xc2d781,_0x2960fa,_0x2c2434,_0x5e5f3d),_0x59efb0=_0x2960fa['gdRefX']||_0x2960fa['gdRefY']||_0x2960fa[_0x5173a3(0x203)]||_0x2960fa['gdRefR'];if(_0x59efb0===void 0x0)return;this['_activeShapeModel']['setAdjustValueByName'](_0x59efb0,_0x3b7175);let _0x5e7511=this['_drawingManagerService']['getDrawingByParam']({'unitId':_0x394980[_0x5173a3(0x429)],'subUnitId':_0x394980['subUnitId'],'drawingId':_0x394980[_0x5173a3(0x215)]});_0x5e7511&&(this[_0x5173a3(0x1d6)]['renderDrawingShape'](_0x5e7511,_0x46714e),this[_0x5173a3(0x393)]=this['_getShapeAdjustPointListById'](_0x394980[_0x5173a3(0x429)],_0x394980[_0x5173a3(0x3aa)],_0x394980['drawingId']),this[_0x5173a3(0x3ac)]());}_0x3b2072[_0x5173a3(0x2eb)]();}),this[_0x30054d(0x1f5)]=_0x46714e[_0x30054d(0x239)][_0x30054d(0x1d2)]((_0x419708,_0x3ffa7f)=>{const _0x508b93=_0x30054d;this[_0x508b93(0x438)][_0x508b93(0x1ea)](),this['_adjHandlerPointerUp'][_0x508b93(0x1ea)](),_0x46714e[_0x508b93(0x3f5)]();let _0x57771a=this[_0x508b93(0x36c)];if(_0x57771a){let _0x42c13d=_0x394980[_0x508b93(0x429)],_0x50f9e7=_0x394980[_0x508b93(0x3aa)],_0x254ff8=_0x394980[_0x508b93(0x215)],_0x3e33d5=_0x57771a[_0x508b93(0x245)]||_0x57771a['gdRefY']||_0x57771a[_0x508b93(0x203)]||_0x57771a['gdRefR'];if(_0x3e33d5!==void 0x0){var _0x2955f5;let _0x1f6389=(_0x2955f5=this['_activeShapeModel'])==null?void 0x0:_0x2955f5[_0x508b93(0x1a7)](_0x3e33d5);_0x1f6389!==void 0x0&&_0x2ed581(this[_0x508b93(0x3d4)],_0x42c13d,_0x50f9e7,_0x254ff8,{'oldShapeData':{'adjustValues':_0xa5f41}},{'adjustValues':{[_0x3e33d5]:_0x1f6389}});}}this['_activeAdjustInfo']=void 0x0,this[_0x508b93(0xf9)]=void 0x0,this[_0x508b93(0x331)]=!0x1,_0x3ffa7f[_0x508b93(0x2eb)](),_0x46714e[_0x508b93(0x3ba)]();}),_0xdf8571[_0x30054d(0x2eb)]();})));}[_0x2ea0c4(0x262)](){const _0x1823da=_0x2ea0c4;let _0x6bb5a4=this['_univerInstanceService'][_0x1823da(0x1e8)](_0x3fe9b6['UniverInstanceType'][_0x1823da(0x430)]);this['disposeWithMe'](_0x6bb5a4[_0x1823da(0xfe)]((0x0,_0x14dd2b['switchMap'])(_0x587108=>_0x587108?_0x587108[_0x1823da(0x3b0)][_0x1823da(0xfe)]((0x0,_0x14dd2b['switchMap'])(_0x29731a=>{const _0x524005=_0x1823da;if(!_0x29731a)return _0x14dd2b[_0x524005(0x29d)];let _0x370d19=_0x587108[_0x524005(0x2b5)](),_0x344b8c=this[_0x524005(0x200)][_0x524005(0x425)](_0x370d19),_0x18ed66=_0x344b8c==null?void 0x0:_0x344b8c[_0x524005(0x373)];return _0x18ed66?(0x0,_0x14dd2b['of'])(_0x18ed66):_0x14dd2b[_0x524005(0x29d)];})):_0x14dd2b[_0x1823da(0x29d)]))['subscribe'](_0x533cba=>{const _0x1dafa0=_0x1823da;let _0x9879c=_0x533cba[_0x1dafa0(0x279)]();this[_0x1dafa0(0x3c0)](_0x533cba[_0x1dafa0(0x2a7)][_0x1dafa0(0x1d2)](()=>{const _0x67b0d8=_0x1dafa0;this[_0x67b0d8(0x421)];})),this[_0x1dafa0(0x3c0)](_0x9879c[_0x1dafa0(0x3d1)][_0x1dafa0(0x15f)](_0x36dd99=>{const _0x5b2938=_0x1dafa0;let {objects:_0x1ce492}=_0x36dd99;this[_0x5b2938(0x405)](),_0x1ce492!==null&&_0x1ce492[_0x5b2938(0x347)]===0x1&&_0x1ce492[_0x5b2938(0x38e)]()[_0x5b2938(0x234)]()[_0x5b2938(0x2e8)]instanceof _0x2264dd&&this[_0x5b2938(0x3bc)](!0x0);})),this[_0x1dafa0(0x3c0)](_0x9879c[_0x1dafa0(0x3ea)][_0x1dafa0(0x15f)](()=>{const _0x540fc1=_0x1dafa0;this[_0x540fc1(0x421)]&&this['_clearShapeAdjustControls']();})),this[_0x1dafa0(0x3c0)](_0x533cba[_0x1dafa0(0x239)][_0x1dafa0(0x1d2)](()=>{const _0x2a4f26=_0x1dafa0;this[_0x2a4f26(0x421)]&&(this[_0x2a4f26(0x3bc)](!0x1),this[_0x2a4f26(0x405)]());})),this[_0x1dafa0(0x3c0)](_0x9879c['changeEnd$'][_0x1dafa0(0x15f)](()=>{const _0x4001e2=_0x1dafa0;this[_0x4001e2(0x434)]&&this[_0x4001e2(0x154)]&&this[_0x4001e2(0x1be)]&&this[_0x4001e2(0x275)][_0x4001e2(0x3e3)]({'unitId':this[_0x4001e2(0x434)],'subUnitId':this[_0x4001e2(0x154)],'drawingId':this[_0x4001e2(0x1be)]})&&(this[_0x4001e2(0x393)]=this['_getShapeAdjustPointListById'](this[_0x4001e2(0x434)],this[_0x4001e2(0x154)],this['_activeShapeId']),this[_0x4001e2(0x3ac)]());}));}));}[_0x2ea0c4(0x31f)](){const _0x275ad4=_0x2ea0c4;this[_0x275ad4(0x3c0)](this[_0x275ad4(0x275)][_0x275ad4(0x3be)][_0x275ad4(0x15f)](_0x11dd35=>{const _0x3f861f=_0x275ad4;if(_0x11dd35[_0x3f861f(0x111)]===0x1){let _0x410159=_0x11dd35[0x0];if(_0x410159[_0x3f861f(0x19a)]===_0x3fe9b6[_0x3f861f(0x225)]['DRAWING_SHAPE']){this[_0x3f861f(0x1be)]=_0x410159[_0x3f861f(0x215)];let {unitId:_0x188191,subUnitId:_0x1bd387}=_0x410159;this[_0x3f861f(0x393)]=this[_0x3f861f(0x122)](_0x188191,_0x1bd387,this[_0x3f861f(0x1be)]),this[_0x3f861f(0x434)]=_0x188191,this[_0x3f861f(0x154)]=_0x1bd387,this[_0x3f861f(0x1c2)](),this['_createShapeAdjustControls']();}else this['_activeShapeId']=null,this[_0x3f861f(0x393)]=void 0x0,this[_0x3f861f(0x434)]=null,this[_0x3f861f(0x154)]=null,this[_0x3f861f(0x1c2)]();}(_0x11dd35[_0x3f861f(0x111)]>0x1||_0x11dd35[_0x3f861f(0x111)]===0x0)&&(this[_0x3f861f(0x1be)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x3f861f(0x434)]=null,this[_0x3f861f(0x154)]=null,this[_0x3f861f(0x1c2)]());})),this[_0x275ad4(0x3c0)](this[_0x275ad4(0x275)][_0x275ad4(0x3a8)]['subscribe'](_0x3ace2a=>{const _0x46f61f=_0x275ad4;if(_0x3ace2a[_0x46f61f(0x111)]===0x1){var _0x2bfdb3;let _0x529b18=_0x3ace2a[0x0];((_0x2bfdb3=this['_drawingManagerService']['getDrawingByParam'](_0x529b18))==null?void 0x0:_0x2bfdb3[_0x46f61f(0x19a)])===_0x3fe9b6['DrawingTypeEnum']['DRAWING_SHAPE']&&this[_0x46f61f(0x3b5)](!0x0);}})),this['disposeWithMe'](this[_0x275ad4(0x275)]['remove$'][_0x275ad4(0x15f)](_0x28920e=>{const _0x175048=_0x275ad4;for(let _0x2813a3 of _0x28920e)this[_0x175048(0x1be)]===_0x2813a3['drawingId']&&(this[_0x175048(0x1be)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x175048(0x154)]=null,this[_0x175048(0x1c2)]());}));}};_0x17ed0c=_0x20d714([_0x26d55f(0x0,_0xcd0f0e[_0x2ea0c4(0x3c8)]),_0x26d55f(0x1,(0x0,_0x3fe9b6['Inject'])(_0x2cb023[_0x2ea0c4(0x40f)])),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x122d5a[_0x2ea0c4(0x238)])),_0x26d55f(0x3,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3eccdb)),_0x26d55f(0x4,_0x3fe9b6[_0x2ea0c4(0x287)]),_0x26d55f(0x5,_0x3fe9b6[_0x2ea0c4(0x2ec)])],_0x17ed0c);let _0x46cdb6={'id':_0x2ea0c4(0x3de),'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ef)],'handler':(_0x524f4e,_0x2cdade)=>{const _0x5ea67b=_0x2ea0c4;let _0x2e4fc3=_0x524f4e['get'](_0xcd0f0e[_0x5ea67b(0x3c8)]),_0x2ba5b3=_0x524f4e['get'](_0x122d5a[_0x5ea67b(0x238)]),_0x559720=_0x524f4e[_0x5ea67b(0x263)](_0x17ed0c);if(_0x2cdade==null)return!0x0;if(_0x2cdade[_0x5ea67b(0x111)]>0x0){var _0x436715;let _0x4c1729=(_0x436715=_0x2ba5b3[_0x5ea67b(0x425)](_0x2cdade[0x0][_0x5ea67b(0x429)]))==null?void 0x0:_0x436715[_0x5ea67b(0x373)];if(_0x4c1729){let {unitId:_0x3308e6,subUnitId:_0x3fc2b6,drawingId:_0x4c9c0b}=_0x2cdade[0x0],_0x2d4f0d=(0x0,_0xcd0f0e[_0x5ea67b(0x1f8)])({'unitId':_0x3308e6,'subUnitId':_0x3fc2b6,'drawingId':_0x4c9c0b},void 0x0),_0x5043aa=_0x4c1729[_0x5ea67b(0x432)](_0x2d4f0d);if(_0x5043aa){var _0x38394e;(_0x38394e=_0x2ba5b3[_0x5ea67b(0x425)](_0x2cdade[0x0]['unitId']))==null||(_0x38394e=_0x38394e['scene'][_0x5ea67b(0x41e)]())==null||_0x38394e['activeAnObject'](_0x5043aa);}}_0x2e4fc3[_0x5ea67b(0x223)](_0x2cdade),_0x559720[_0x5ea67b(0x3bc)](!0x1);}return!0x0;}},_0x5e7a4e={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x414),'handler':async(_0x15d622,_0x4e7f82)=>{const _0x272828=_0x2ea0c4;let _0x251897=(0x0,_0x12af8f[_0x272828(0x10d)])(_0x15d622['get'](_0x3fe9b6[_0x272828(0x287)]));if(!_0x251897)return!0x1;let _0x270373=_0x15d622[_0x272828(0x263)](_0x12af8f[_0x272828(0x21c)])[_0x272828(0x1cb)]();if(!_0x270373)return!0x1;let _0x32e56f=_0x15d622[_0x272828(0x263)](_0x3fe9b6[_0x272828(0x2ec)]),{unitId:_0x4bf02c,subUnitId:_0x376934}=_0x251897,{value:_0x4b0b6a,enhanceParams:_0x175f91}=_0x4e7f82,{range:_0x57864b}=_0x270373,_0xec6472={'unitId':_0x4bf02c,'subUnitId':_0x376934,'shapeType':_0x4b0b6a,'range':_0x57864b,'shapeId':(0x0,_0x3fe9b6[_0x272828(0x387)])()};if(_0x175f91){let _0x411bd3=(0x0,_0x360390[_0x272828(0x295)])(_0x4b0b6a),_0x29baa8=_0x4b0b6a===_0x360390[_0x272828(0x39f)]['Rect'];_0x411bd3&&(_0x175f91[_0x272828(0x108)]||_0x175f91[_0x272828(0x175)])&&(_0xec6472[_0x272828(0x27e)]={'ln':{'startArrow':_0x175f91[_0x272828(0x108)]?{'type':_0x360390[_0x272828(0x363)]['Arrow'],'size':_0x360390[_0x272828(0x41b)][_0x272828(0x33a)]}:void 0x0,'endArrow':_0x175f91[_0x272828(0x175)]?{'type':_0x360390[_0x272828(0x363)]['Arrow'],'size':_0x360390[_0x272828(0x41b)][_0x272828(0x382)]}:void 0x0}}),_0x29baa8&&(_0x175f91[_0x272828(0x40c)]||_0x175f91[_0x272828(0x170)])&&(_0xec6472[_0x272828(0x27e)]=(0x0,_0x502542[_0x272828(0x308)])({'fill':{'fillType':_0x360390[_0x272828(0x1b7)][_0x272828(0x3bb)],'color':_0x272828(0x276)},'isHorizontal':!!_0x175f91['horizontal'],'stroke':{'lineStrokeType':_0x360390['ShapeLineTypeEnum'][_0x272828(0x35e)],'width':0x1,'color':_0x272828(0x249)}}));}let _0x28a99c=_0x32e56f['syncExecuteCommand'](_0x2cb023['InsertShapeCommand']['id'],_0xec6472);return setTimeout(()=>{const _0x2cc633=_0x272828;_0x32e56f['executeCommand'](_0x46cdb6['id'],[{'unitId':_0x4bf02c,'subUnitId':_0x376934,'drawingId':_0xec6472[_0x2cc633(0x124)]}]);},0xc8),_0x28a99c;}};var _0x383d16=class extends _0x3fe9b6['Disposable']{constructor(..._0x56c773){const _0x3640ae=_0x2ea0c4;super(..._0x56c773),_0x144b44(this,_0x3640ae(0x42e),new _0x14dd2b[(_0x3640ae(0x277))](null)),_0x144b44(this,_0x3640ae(0x3c2),this['_editingParams$'][_0x3640ae(0x1c0)]()),_0x144b44(this,'_onSavingEditorData$',new _0x14dd2b[(_0x3640ae(0x277))](!0x1)),_0x144b44(this,_0x3640ae(0x367),this['_onSavingEditorData$'][_0x3640ae(0x1c0)]());}[_0x2ea0c4(0x14f)](){const _0x467e32=_0x2ea0c4;this[_0x467e32(0x42e)][_0x467e32(0x234)](null),this['_editingParams$'][_0x467e32(0x183)](),this['_onSavingEditorData$']['next'](!0x1),this[_0x467e32(0x39e)][_0x467e32(0x183)](),super[_0x467e32(0x14f)]();}[_0x2ea0c4(0x38c)](_0x4f079c){const _0x24d70f=_0x2ea0c4;this['_editingParams$'][_0x24d70f(0x234)](_0x4f079c),_0x4f079c==null&&this['_onSavingEditorData$'][_0x24d70f(0x234)](!0x1);}[_0x2ea0c4(0x34f)](_0x45f402){const _0xc8203e=_0x2ea0c4;this[_0xc8203e(0x39e)][_0xc8203e(0x234)](_0x45f402);}[_0x2ea0c4(0x2fd)](){const _0x465a17=_0x2ea0c4;return this[_0x465a17(0x42e)][_0x465a17(0x32b)]();}[_0x2ea0c4(0x171)](_0x5c1cf4){const _0x41528b=_0x2ea0c4;this[_0x41528b(0x2fd)]()&&(this[_0x41528b(0x34f)](!0x0),requestAnimationFrame(()=>{this['setEditing'](null);}));}[_0x2ea0c4(0x3b9)](){const _0x1f52cf=_0x2ea0c4;this[_0x1f52cf(0x2fd)]()&&this[_0x1f52cf(0x38c)](null);}};let _0x18c74f={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x226),'handler':async(_0x488236,_0x253c32)=>{const _0x60af16=_0x2ea0c4;var _0x5caf9c;if(!(0x0,_0x12af8f['getSheetCommandTarget'])(_0x488236['get'](_0x3fe9b6[_0x60af16(0x287)])))return!0x1;let _0x34c87d=_0x488236['get'](_0x1ba3d5[_0x60af16(0x230)])[_0x60af16(0x19d)]()[_0x60af16(0x222)](_0x3ac44e=>_0x3ac44e[_0x60af16(0x19a)]===_0x3fe9b6[_0x60af16(0x225)][_0x60af16(0x1d9)]);if(_0x34c87d[_0x60af16(0x111)]!==0x1)return!0x1;let _0x4db3f4=_0x488236[_0x60af16(0x263)](_0x383d16)[_0x60af16(0x2fd)](),_0x5c563c=(_0x4db3f4==null?void 0x0:_0x4db3f4[_0x60af16(0x429)])||_0x34c87d[0x0][_0x60af16(0x429)],_0x4d7fa8=(_0x4db3f4==null?void 0x0:_0x4db3f4[_0x60af16(0x3aa)])||_0x34c87d[0x0]['subUnitId'],_0x1c3613=(_0x4db3f4==null?void 0x0:_0x4db3f4[_0x60af16(0x124)])||_0x34c87d[0x0][_0x60af16(0x215)],_0x2ee8db=_0x488236[_0x60af16(0x263)](_0x2cb023[_0x60af16(0x40f)])['getShapeModel'](_0x5c563c,_0x4d7fa8,_0x1c3613);if(!_0x2ee8db)return!0x1;let _0x511ed3=_0x2ee8db[_0x60af16(0x236)]();if(!_0x511ed3||!('dataModel'in _0x511ed3))return!0x1;let _0x4c8549=_0x488236[_0x60af16(0x263)](_0x3fe9b6['ICommandService']),{value:_0x14a6dc}=_0x253c32,_0x4a10e3=_0x2ee8db[_0x60af16(0x1b9)](),_0x578d75=_0x2ee8db[_0x60af16(0x11d)](),_0x19b3be=(0x0,_0x502542['normalizeShapeTextModel'])(_0x511ed3[_0x60af16(0x299)]);if(!_0x19b3be)return!0x1;let _0x2599cb={..._0x19b3be,'ha':_0x14a6dc};return await _0x4c8549[_0x60af16(0x196)](_0x4a4f06['id'],{'unitId':_0x5c563c,'subUnitId':_0x4d7fa8,'shapeId':_0x1c3613,'shapeType':_0x4a10e3,'shapeData':{'shapeText':{..._0x511ed3,'isHorizontal':(_0x5caf9c=_0x511ed3[_0x60af16(0x42c)])==null?!0x0:_0x5caf9c,'dataModel':_0x2599cb}},'oldShapeJSON':{'oldShapeType':_0x4a10e3,'oldShapeData':_0x578d75}});}},_0xd4b25={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':'sheet.command.set-shape-text-vertical-align','handler':async(_0x49c1e8,_0xd8e228)=>{const _0xb59ea5=_0x2ea0c4;var _0x572175;if(!(0x0,_0x12af8f['getSheetCommandTarget'])(_0x49c1e8[_0xb59ea5(0x263)](_0x3fe9b6['IUniverInstanceService'])))return!0x1;let _0x35d521=_0x49c1e8[_0xb59ea5(0x263)](_0x1ba3d5[_0xb59ea5(0x230)])[_0xb59ea5(0x19d)]()[_0xb59ea5(0x222)](_0x245855=>_0x245855[_0xb59ea5(0x19a)]===_0x3fe9b6[_0xb59ea5(0x225)][_0xb59ea5(0x1d9)]);if(_0x35d521['length']!==0x1)return!0x1;let _0x27f618=_0x49c1e8[_0xb59ea5(0x263)](_0x383d16)[_0xb59ea5(0x2fd)](),_0x41e243=(_0x27f618==null?void 0x0:_0x27f618['unitId'])||_0x35d521[0x0][_0xb59ea5(0x429)],_0x35a0f0=(_0x27f618==null?void 0x0:_0x27f618[_0xb59ea5(0x3aa)])||_0x35d521[0x0][_0xb59ea5(0x3aa)],_0x53a0d7=(_0x27f618==null?void 0x0:_0x27f618[_0xb59ea5(0x124)])||_0x35d521[0x0]['drawingId'],_0x4f493b=_0x49c1e8[_0xb59ea5(0x263)](_0x2cb023['SheetsShapeService'])['getShapeModel'](_0x41e243,_0x35a0f0,_0x53a0d7);if(!_0x4f493b)return!0x1;let _0x228966=_0x4f493b[_0xb59ea5(0x236)]();if(!_0x228966||!(_0xb59ea5(0x299)in _0x228966))return!0x1;let _0x2c0404=_0x49c1e8['get'](_0x3fe9b6['ICommandService']),{value:_0x5b60b7}=_0xd8e228,_0x5aa26b=_0x4f493b['getShapeType'](),_0x1be8fe=_0x4f493b[_0xb59ea5(0x11d)](),_0x2ac8d9=(0x0,_0x502542[_0xb59ea5(0x381)])(_0x228966['dataModel']);if(!_0x2ac8d9)return!0x1;let _0xdad412={..._0x2ac8d9,'va':_0x5b60b7};return await _0x2c0404[_0xb59ea5(0x196)](_0x4a4f06['id'],{'unitId':_0x41e243,'subUnitId':_0x35a0f0,'shapeId':_0x53a0d7,'shapeType':_0x5aa26b,'shapeData':{'shapeText':{..._0x228966,'isHorizontal':(_0x572175=_0x228966['isHorizontal'])==null?!0x0:_0x572175,'dataModel':_0xdad412}},'oldShapeJSON':{'oldShapeType':_0x5aa26b,'oldShapeData':_0x1be8fe}});}},_0x1ad3e6='sheet.shape.edit.panel',_0x66df24='sheet.shape.object-list.panel',_0x414ec8=_0x2ea0c4(0x404),_0x1a57f2=(0x0,_0x3fe9b6[_0x2ea0c4(0x12a)])(_0x2ea0c4(0x242)),_0xe06288={'id':_0x2ea0c4(0x353),'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'handler':(_0x186866,_0x339084)=>{const _0x15d76c=_0x2ea0c4;let _0x11fcb5=_0x186866[_0x15d76c(0x263)](_0x2b76f2[_0x15d76c(0x2ed)]),_0x3bb628=_0x186866[_0x15d76c(0x263)](_0x3fe9b6[_0x15d76c(0x151)]),_0x5c6bfc=_0x186866[_0x15d76c(0x263)](_0x3fe9b6[_0x15d76c(0x287)]),_0x3f3465=_0x186866['get'](_0x3fe9b6[_0x15d76c(0x2ec)]);return(0x0,_0x12af8f[_0x15d76c(0x10d)])(_0x5c6bfc)?(_0x339084==null?void 0x0:_0x339084['value'])===_0x15d76c(0x1d7)?(_0x11fcb5[_0x15d76c(0x1d7)](_0x66df24),!0x0):(_0x11fcb5['open']({'id':_0x66df24,'header':{'title':_0x3bb628['t'](_0x15d76c(0x193))},'children':{'label':_0x66df24},'onClose':()=>{const _0x41cd43=_0x15d76c;_0x3f3465[_0x41cd43(0x38f)](_0xcd0f0e[_0x41cd43(0x2a8)]['id'],[]);},'width':0x168}),!0x0):!0x1;}};function _0x4a92a8(_0x3d910e){const _0x316c65=_0x2ea0c4;let _0x575169=_0x3d910e[_0x316c65(0x263)](_0x3fe9b6[_0x316c65(0x287)]);return{'id':_0xe06288['id'],'type':_0x2b76f2['MenuItemType'][_0x316c65(0x2cd)],'icon':_0x316c65(0x1e3),'title':_0x316c65(0x2e9),'tooltip':'sheets-shape-ui.objectListPanel.open','activated$':(0x0,_0x48ecbb['deriveStateFromActiveSheet$'])(_0x575169,!0x1,()=>new _0x14dd2b[(_0x316c65(0x2c3))](_0x3235c1=>{const _0x24eef0=_0x316c65;_0x3235c1[_0x24eef0(0x234)](!0x1);})),'hidden$':(0x0,_0x2b76f2[_0x316c65(0x23a)])(_0x3d910e,_0x3fe9b6[_0x316c65(0x1df)][_0x316c65(0x430)]),'disabled$':(0x0,_0x48ecbb[_0x316c65(0x398)])(_0x3d910e)};}let _0x53ad6d={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x2f7),'handler':(_0x5b863d,_0x55228e)=>{const _0x1b4b7b=_0x2ea0c4;if(!_0x55228e)return!0x1;let {value:_0x5ad30d}=_0x55228e;return _0x5b863d[_0x1b4b7b(0x263)](_0x3fe9b6['ICommandService'])[_0x1b4b7b(0x38f)](_0x2ef8df[_0x1b4b7b(0x2c8)]['id'],{'alignType':_0x5ad30d});}};_0x3fe9b6[_0x2ea0c4(0x120)]['LEFT'],_0x3fe9b6['HorizontalAlign'][_0x2ea0c4(0x216)],_0x3fe9b6[_0x2ea0c4(0x120)][_0x2ea0c4(0x326)];function _0x4ed3e6(_0x264ed9){const _0x43b517=_0x2ea0c4;let _0x4c2e39=_0x264ed9[_0x43b517(0x263)](_0x3fe9b6['IContextService']),_0x2a0583=_0x264ed9['get'](_0x3fe9b6[_0x43b517(0x115)]);return{'id':_0x2ef8df[_0x43b517(0x3cf)]['id'],'tooltip':'sheets-shape-ui.toolbar.fillColor.main','type':_0x2b76f2[_0x43b517(0x3b7)][_0x43b517(0x32c)],'icon':_0x43b517(0x40a),'selections':[{'label':{'name':_0x2b76f2['COLOR_PICKER_COMPONENT'],'hoverable':!0x1,'selectable':!0x1}}],'value$':new _0x14dd2b[(_0x43b517(0x2c3))](_0x39e048=>{const _0x4a3fd9=_0x43b517;_0x39e048[_0x4a3fd9(0x234)](_0x2a0583[_0x4a3fd9(0x17e)](_0x4a3fd9(0x290)));}),'hidden$':_0x4c2e39[_0x43b517(0x212)](_0x3fe9b6[_0x43b517(0x114)])['pipe']((0x0,_0x14dd2b[_0x43b517(0x313)])(_0x4c2e39['getContextValue'](_0x3fe9b6['FOCUSING_COMMON_DRAWINGS'])),(0x0,_0x14dd2b[_0x43b517(0x2cb)])(_0x43e759=>!_0x43e759))};}function _0x254b20(_0x3f6723){const _0x14f73a=_0x2ea0c4;let _0x44a482=_0x3f6723['get'](_0x3fe9b6[_0x14f73a(0x3ed)]);return{'id':_0x2ef8df[_0x14f73a(0x3c7)]['id'],'type':_0x2b76f2['MenuItemType']['BUTTON'],'title':_0x14f73a(0x291),'hidden$':_0x44a482[_0x14f73a(0x212)](_0x3fe9b6['FOCUSING_COMMON_DRAWINGS'])[_0x14f73a(0xfe)]((0x0,_0x14dd2b[_0x14f73a(0x313)])(_0x44a482[_0x14f73a(0x233)](_0x3fe9b6[_0x14f73a(0x114)])),(0x0,_0x14dd2b[_0x14f73a(0x2cb)])(_0x1b1c1d=>!_0x1b1c1d))};}function _0x500dae(_0x6a5e5,_0xabf1c0){const _0x45a192=_0x2ea0c4;try{return _0x6a5e5[_0x45a192(0x263)](_0xabf1c0);}catch{return null;}}let _0x28211f=[{'label':_0x2ea0c4(0x32d),'icon':'LeftJustifyingIcon','value':_0x3fe9b6[_0x2ea0c4(0x120)]['LEFT']},{'label':_0x2ea0c4(0x2cc),'icon':'HorizontallyIcon','value':_0x3fe9b6[_0x2ea0c4(0x120)][_0x2ea0c4(0x216)]},{'label':'sheets-shape-ui.align.right','icon':_0x2ea0c4(0x3ee),'value':_0x3fe9b6[_0x2ea0c4(0x120)]['RIGHT']}];function _0x2c6490(_0x51ff03){const _0x52c33f=_0x2ea0c4;var _0x4f32ec;let _0x1cf73c=_0x51ff03[_0x52c33f(0x263)](_0x3fe9b6[_0x52c33f(0x2ec)]),_0x46ba90=_0x51ff03[_0x52c33f(0x263)](_0x3fe9b6[_0x52c33f(0x3ed)]),_0xb59ef2=_0x500dae(_0x51ff03,_0x1ba3d5[_0x52c33f(0x230)]),_0xa861e1=_0x500dae(_0x51ff03,_0x383d16),_0x4e713c=_0x500dae(_0x51ff03,_0x2cb023[_0x52c33f(0x40f)]),_0x3a71d4=_0x3fe9b6[_0x52c33f(0x120)]['LEFT'];if(!_0xb59ef2||!_0xa861e1||!_0x4e713c){var _0x172c3d;return{'id':_0x18c74f['id'],'icon':(_0x172c3d=_0x28211f['find'](_0x375670=>_0x375670['value']===_0x3a71d4))==null?void 0x0:_0x172c3d[_0x52c33f(0x113)],'tooltip':_0x52c33f(0x1a9),'type':_0x2b76f2[_0x52c33f(0x3b7)]['SELECTOR'],'selections':_0x28211f,'value$':(0x0,_0x14dd2b['of'])(_0x3a71d4),'hidden$':(0x0,_0x14dd2b['of'])(!0x0)};}let _0x57c758=()=>{const _0x2fbf54=_0x52c33f;var _0x2a351b;let _0x35b7b1=_0xb59ef2[_0x2fbf54(0x19d)]()[_0x2fbf54(0x222)](_0x183351=>_0x183351[_0x2fbf54(0x19a)]===_0x3fe9b6[_0x2fbf54(0x225)][_0x2fbf54(0x1d9)]);if(_0x35b7b1[_0x2fbf54(0x111)]!==0x1)return _0x3a71d4;let _0x519d7c=_0xa861e1[_0x2fbf54(0x2fd)](),_0x1fec14=(_0x519d7c==null?void 0x0:_0x519d7c[_0x2fbf54(0x429)])||_0x35b7b1[0x0][_0x2fbf54(0x429)],_0x352d91=(_0x519d7c==null?void 0x0:_0x519d7c['subUnitId'])||_0x35b7b1[0x0][_0x2fbf54(0x3aa)],_0x1dc305=(_0x519d7c==null?void 0x0:_0x519d7c['shapeId'])||_0x35b7b1[0x0][_0x2fbf54(0x215)],_0x589858=_0x4e713c[_0x2fbf54(0x252)](_0x1fec14,_0x352d91,_0x1dc305);if(!_0x589858)return _0x3a71d4;let _0x570968=_0x589858[_0x2fbf54(0x236)]();if(!_0x570968||!(_0x2fbf54(0x299)in _0x570968))return _0x3a71d4;let _0x859bdb=(0x0,_0x502542[_0x2fbf54(0x381)])(_0x570968[_0x2fbf54(0x299)]);return(_0x2a351b=_0x859bdb==null?void 0x0:_0x859bdb['ha'])==null?_0x3a71d4:_0x2a351b;};return{'id':_0x18c74f['id'],'icon':(_0x4f32ec=_0x28211f[_0x52c33f(0x40b)](_0x21cab2=>_0x21cab2[_0x52c33f(0x2e8)]===_0x3a71d4))==null?void 0x0:_0x4f32ec[_0x52c33f(0x113)],'tooltip':_0x52c33f(0x1a9),'type':_0x2b76f2[_0x52c33f(0x3b7)]['SELECTOR'],'selections':_0x28211f,'value$':new _0x14dd2b[(_0x52c33f(0x2c3))](_0x3046c9=>{const _0x42744f=_0x52c33f;let _0x2854d9=_0x1cf73c[_0x42744f(0x23e)](_0x5e0e90=>{const _0x463ebd=_0x42744f;_0x5e0e90['id']===_0x18c74f['id']&&_0x3046c9[_0x463ebd(0x234)](_0x57c758());}),_0x3e8bfd=_0xa861e1[_0x42744f(0x3c2)]['subscribe'](()=>{const _0x37dacc=_0x42744f;_0x3046c9[_0x37dacc(0x234)](_0x57c758());});return _0x3046c9['next'](_0x57c758()),()=>{const _0xa6d577=_0x42744f;_0x2854d9[_0xa6d577(0x14f)](),_0x3e8bfd[_0xa6d577(0x1ea)]();};}),'hidden$':_0x46ba90[_0x52c33f(0x212)](_0x3fe9b6[_0x52c33f(0x114)])[_0x52c33f(0xfe)]((0x0,_0x14dd2b[_0x52c33f(0x2cb)])(_0x1db9bf=>!_0x1db9bf))};}let _0x285ee8=[{'label':'sheets-shape-ui.align.top','icon':_0x2ea0c4(0x371),'value':_0x3fe9b6['VerticalAlign'][_0x2ea0c4(0x20d)]},{'label':_0x2ea0c4(0x3e2),'icon':_0x2ea0c4(0x33e),'value':_0x3fe9b6[_0x2ea0c4(0x306)][_0x2ea0c4(0x1e9)]},{'label':_0x2ea0c4(0x22f),'icon':_0x2ea0c4(0x185),'value':_0x3fe9b6[_0x2ea0c4(0x306)][_0x2ea0c4(0x14d)]}];function _0x1f26b7(_0x307bcb){const _0x43248d=_0x2ea0c4;var _0x202d79;let _0x2fbc6f=_0x307bcb[_0x43248d(0x263)](_0x3fe9b6[_0x43248d(0x2ec)]),_0x2083d6=_0x307bcb[_0x43248d(0x263)](_0x3fe9b6[_0x43248d(0x3ed)]),_0x15aa45=_0x500dae(_0x307bcb,_0x1ba3d5[_0x43248d(0x230)]),_0x8a72db=_0x500dae(_0x307bcb,_0x383d16),_0x3a48e6=_0x500dae(_0x307bcb,_0x2cb023[_0x43248d(0x40f)]),_0x2d5c20=_0x3fe9b6['VerticalAlign'][_0x43248d(0x20d)];if(!_0x15aa45||!_0x8a72db||!_0x3a48e6){var _0x30609b;return{'id':_0xd4b25['id'],'icon':(_0x30609b=_0x285ee8[_0x43248d(0x40b)](_0x4474ec=>_0x4474ec[_0x43248d(0x2e8)]===_0x2d5c20))==null?void 0x0:_0x30609b[_0x43248d(0x113)],'tooltip':'sheets-shape-ui.toolbar.verticalAlignMode.main','type':_0x2b76f2[_0x43248d(0x3b7)][_0x43248d(0x365)],'selections':_0x285ee8,'value$':(0x0,_0x14dd2b['of'])(_0x2d5c20),'hidden$':(0x0,_0x14dd2b['of'])(!0x0)};}let _0xa5adf8=()=>{const _0x5a6e81=_0x43248d;var _0x351334;let _0x5dd286=_0x15aa45['getFocusDrawings']()[_0x5a6e81(0x222)](_0x5e57e4=>_0x5e57e4[_0x5a6e81(0x19a)]===_0x3fe9b6[_0x5a6e81(0x225)][_0x5a6e81(0x1d9)]);if(_0x5dd286[_0x5a6e81(0x111)]!==0x1)return _0x2d5c20;let _0x404f2b=_0x8a72db[_0x5a6e81(0x2fd)](),_0x9f04fc=(_0x404f2b==null?void 0x0:_0x404f2b['unitId'])||_0x5dd286[0x0]['unitId'],_0x49f646=(_0x404f2b==null?void 0x0:_0x404f2b[_0x5a6e81(0x3aa)])||_0x5dd286[0x0]['subUnitId'],_0x3e6129=(_0x404f2b==null?void 0x0:_0x404f2b['shapeId'])||_0x5dd286[0x0][_0x5a6e81(0x215)],_0x3d9525=_0x3a48e6[_0x5a6e81(0x252)](_0x9f04fc,_0x49f646,_0x3e6129);if(!_0x3d9525)return _0x2d5c20;let _0x38cbde=_0x3d9525[_0x5a6e81(0x236)]();if(!_0x38cbde||!(_0x5a6e81(0x299)in _0x38cbde))return _0x2d5c20;let _0x46fa6f=(0x0,_0x502542[_0x5a6e81(0x381)])(_0x38cbde[_0x5a6e81(0x299)]);return(_0x351334=_0x46fa6f==null?void 0x0:_0x46fa6f['va'])==null?_0x2d5c20:_0x351334;};return{'id':_0xd4b25['id'],'icon':(_0x202d79=_0x285ee8[_0x43248d(0x40b)](_0x30f75e=>_0x30f75e[_0x43248d(0x2e8)]===_0x2d5c20))==null?void 0x0:_0x202d79[_0x43248d(0x113)],'tooltip':_0x43248d(0x13f),'type':_0x2b76f2[_0x43248d(0x3b7)][_0x43248d(0x365)],'selections':_0x285ee8,'value$':new _0x14dd2b['Observable'](_0x2f170f=>{const _0xa74e48=_0x43248d;let _0x122834=_0x2fbc6f[_0xa74e48(0x23e)](_0xa6e150=>{const _0x563ba5=_0xa74e48;_0xa6e150['id']===_0xd4b25['id']&&_0x2f170f[_0x563ba5(0x234)](_0xa5adf8());}),_0x55a6eb=_0x8a72db[_0xa74e48(0x3c2)][_0xa74e48(0x15f)](()=>{const _0x2b8e21=_0xa74e48;_0x2f170f[_0x2b8e21(0x234)](_0xa5adf8());});return _0x2f170f[_0xa74e48(0x234)](_0xa5adf8()),()=>{const _0x3c6787=_0xa74e48;_0x122834['dispose'](),_0x55a6eb[_0x3c6787(0x1ea)]();};}),'hidden$':_0x2083d6['subscribeContextValue$'](_0x3fe9b6[_0x43248d(0x114)])[_0x43248d(0xfe)]((0x0,_0x14dd2b['map'])(_0x355f76=>!_0x355f76))};}let _0x7de345=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x3bda76,_0x14ae83){const _0x3d3ef5=_0x2ea0c4;super(),this[_0x3d3ef5(0x13e)]=_0x3bda76,this[_0x3d3ef5(0x275)]=_0x14ae83,this[_0x3d3ef5(0x1dc)](),this[_0x3d3ef5(0x13e)][_0x3d3ef5(0x1ca)](!0x0),this[_0x3d3ef5(0x3c0)]({'dispose':()=>this[_0x3d3ef5(0x13e)][_0x3d3ef5(0x1ca)](!0x1)});}[_0x2ea0c4(0x1dc)](){const _0x3941c8=_0x2ea0c4;let _0x4fb640=this[_0x3941c8(0x13e)],_0x29ca07=new Map(),_0x191f1b=_0x4fb640[_0x3941c8(0x3d6)]((_0x7840e7,_0x14a6b6,_0x304a71,_0x11895b,_0x253af0)=>{const _0x50332d=_0x3941c8;let _0x554d0f=_0x14a6b6;if(_0x554d0f===_0x360390[_0x50332d(0x39f)][_0x50332d(0x3a3)]||_0x14a6b6===_0x50332d(0x3b8))return!0x1;try{let _0x4dffb5=_0x29ca07[_0x50332d(0x263)](_0x14a6b6);return _0x4dffb5||(_0x4dffb5=new _0x360390[(_0x50332d(0x341))](_0x554d0f,_0x50332d(0x435)+_0x14a6b6),_0x29ca07['set'](_0x14a6b6,_0x4dffb5)),_0x253af0&&_0x4dffb5['setShapeData']({'adjustValues':_0x253af0},!0x0),_0x4dffb5[_0x50332d(0x21d)]({'width':_0x304a71,'height':_0x11895b}),_0x4dffb5['buildClipPath'](_0x7840e7,{'left':0x0,'top':0x0,'width':_0x304a71,'height':_0x11895b});}catch{return!0x1;}});this[_0x3941c8(0x3c0)](_0x191f1b),this[_0x3941c8(0x3c0)]({'dispose':()=>_0x29ca07[_0x3941c8(0x2f6)]()});}[_0x2ea0c4(0x129)](_0x1f6383,_0x17c865,_0x15e324,_0x571bed,_0x220f57){const _0x20d350=_0x2ea0c4;let _0x97fab7=this[_0x20d350(0x275)]['getDrawingData'](_0x1f6383,_0x17c865);if(!_0x97fab7[_0x15e324])return;let _0x22fd56={..._0x97fab7[_0x15e324],'prstGeom':_0x571bed,'adjustValues':_0x220f57};this[_0x20d350(0x275)][_0x20d350(0x1b6)]([_0x22fd56]);}};_0x7de345=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3cfff1[_0x2ea0c4(0x362)])),_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0xcd0f0e[_0x2ea0c4(0x3c8)]))],_0x7de345);let _0x53f9d3=_0x2ea0c4(0x368),_0x12dd5f='sheet.image-clip.shape-picker.component';function _0x4cdeaa({onShapeClick:_0x265df4,excludeGroups:_0xe150c2}){const _0x3f923f=_0x2ea0c4;return(0x0,_0x5817cb[_0x3f923f(0x3af)])(_0x502542[_0x3f923f(0x1fc)],{'excludeGroups':_0xe150c2,'onShapeClick':_0x265df4,'scrollContainer':'parent'});}function _0x72ce34(){const _0x12189a=_0x2ea0c4;let _0x47d36e=(0x0,_0x2b76f2[_0x12189a(0x20b)])(_0xcd0f0e[_0x12189a(0x3c8)]),_0x5baecb=(0x0,_0x2b76f2['useDependency'])(_0x7de345);return(0x0,_0x5817cb[_0x12189a(0x3af)])(_0x502542['ShapePickerDropdown'],{'buttonLabel':_0x12189a(0x178),'excludeGroups':[_0x502542[_0x12189a(0x1a8)][_0x12189a(0x253)]],'onShapeClick':_0x4edf80=>{const _0x556af7=_0x12189a;let _0x20541a=_0x47d36e[_0x556af7(0x19d)]()[_0x556af7(0x40b)](_0xfda307=>_0xfda307[_0x556af7(0x19a)]===_0x3fe9b6[_0x556af7(0x225)][_0x556af7(0x34c)]);if(!_0x20541a)return;let {unitId:_0x524109,subUnitId:_0x37b2cd,drawingId:_0x4d1456}=_0x20541a;_0x5baecb['clipByShape'](_0x524109,_0x37b2cd,_0x4d1456,_0x4edf80[_0x556af7(0x1d5)]);}});}function _0x383bbe(){const _0x32f17a=_0x2ea0c4;let _0x33fb25=(0x0,_0x2b76f2['useDependency'])(_0x2b76f2['ComponentManager']),_0xfc0e0e=(0x0,_0x2b76f2[_0x32f17a(0x20b)])(_0xcd0f0e[_0x32f17a(0x3c8)]),_0x2aa40c=(0x0,_0x2b76f2[_0x32f17a(0x20b)])(_0x3fe9b6['IUniverInstanceService']),_0x4a1e1f=_0xfc0e0e[_0x32f17a(0x19d)]()[0x0],_0x2fecf0=_0x4a1e1f?_0x2aa40c[_0x32f17a(0x3f7)](_0x4a1e1f[_0x32f17a(0x429)]):void 0x0,_0x3404bf=_0x2fecf0===_0x3fe9b6[_0x32f17a(0x1df)]['UNIVER_DOC']?_0x32f17a(0xfd):_0x2fecf0===_0x3fe9b6[_0x32f17a(0x1df)][_0x32f17a(0x430)]?_0x12dd5f:void 0x0,_0x4b5be7=_0x3404bf?_0x33fb25['get'](_0x3404bf):void 0x0;return _0x4b5be7?(0x0,_0x5817cb[_0x32f17a(0x3af)])(_0x4b5be7,{}):null;}function _0x444add(){const _0x16f6ae=_0x2ea0c4;let _0xc1b3ea=(0x0,_0x2b76f2[_0x16f6ae(0x20b)])(_0x3fe9b6[_0x16f6ae(0x2ec)]);return(0x0,_0x5817cb[_0x16f6ae(0x3af)])(_0x4cdeaa,{'onShapeClick':_0xc3428e=>{const _0x18cc10=_0x16f6ae;_0xc1b3ea[_0x18cc10(0x196)](_0x5e7a4e['id'],{'value':_0xc3428e[_0x18cc10(0x1d5)],'enhanceParams':{'endArrow':_0xc3428e[_0x18cc10(0x175)],'startArrow':_0xc3428e['startArrow'],'horizontal':_0xc3428e['horizontal'],'vertical':_0xc3428e[_0x18cc10(0x170)]}});}});}function _0x5e2d7a(_0x4d10be){const _0x30f84d=_0x2ea0c4;let _0xa80894=_0x4d10be[_0x30f84d(0x263)](_0x3fe9b6[_0x30f84d(0x287)]);return{'id':_0x5e7a4e['id'],'type':_0x2b76f2[_0x30f84d(0x3b7)][_0x30f84d(0x365)],'selections':[{'label':{'name':_0x53f9d3,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x5e7a4e['id']}}}],'icon':_0x30f84d(0x1c6),'tooltip':_0x30f84d(0x10a),'activated$':(0x0,_0x48ecbb[_0x30f84d(0x3d2)])(_0xa80894,!0x1,()=>new _0x14dd2b[(_0x30f84d(0x2c3))](_0x5148f6=>{const _0x16d97d=_0x30f84d;_0x5148f6[_0x16d97d(0x234)](!0x1);})),'hidden$':(0x0,_0x2b76f2[_0x30f84d(0x23a)])(_0x4d10be,_0x3fe9b6['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x48ecbb[_0x30f84d(0x398)])(_0x4d10be)};}let _0x247894={[_0x2b76f2['RibbonPosition'][_0x2ea0c4(0x35b)]]:{[_0x2b76f2['RibbonStartGroup'][_0x2ea0c4(0x19b)]]:{[_0xd4b25['id']]:{'order':3.5,'menuItemFactory':_0x1f26b7},[_0x18c74f['id']]:{'order':3.4,'menuItemFactory':_0x2c6490}},[_0x2b76f2['RibbonStartGroup'][_0x2ea0c4(0x2d5)]]:{[_0x2ef8df['SetInlineFormatTextBackgroundColorCommand']['id']]:{'order':0x1,'menuItemFactory':_0x4ed3e6,[_0x2ef8df['ResetInlineFormatTextBackgroundColorCommand']['id']]:{'order':0x0,'menuItemFactory':_0x254b20}}}},[_0x2b76f2[_0x2ea0c4(0x29f)][_0x2ea0c4(0x2ac)]]:{[_0x5e7a4e['id']]:{'order':0x4,'menuItemFactory':_0x5e2d7a},[_0xe06288['id']]:{'order':4.1,'menuItemFactory':_0x4a92a8}}};var _0x105126=_0x2ea0c4(0x19e),_0x45f0cc=_0x2ea0c4(0x3a9);let _0x441656={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x31e),'handler':async(_0x327486,_0x24d681)=>{const _0x3660e9=_0x2ea0c4;var _0x182fe2;if(!_0x24d681)return!0x1;let {value:_0x480bd6}=_0x24d681,_0x4083dd=_0x327486[_0x3660e9(0x263)](_0x3fe9b6[_0x3660e9(0x2ec)]),_0x3be7f7=_0x327486['get'](_0x383d16),_0x5978b6=_0x327486[_0x3660e9(0x263)](_0x2cb023[_0x3660e9(0x40f)]),_0x559b02=_0x327486['get'](_0x122d5a[_0x3660e9(0x238)]),_0x3a13ea=_0x3be7f7[_0x3660e9(0x2fd)]();if(!_0x3a13ea)return!0x1;let {unitId:_0x4c4b46,subUnitId:_0x58bedb,shapeId:_0x1090c5}=_0x3a13ea,_0xf12ec7=_0x5978b6[_0x3660e9(0x252)](_0x4c4b46,_0x58bedb,_0x1090c5);if(!_0xf12ec7)return!0x1;let _0x2fcd6a=_0xf12ec7[_0x3660e9(0x236)]();if(!_0x2fcd6a||!('dataModel'in _0x2fcd6a))return!0x1;let _0x192aa7=(0x0,_0x502542[_0x3660e9(0x381)])(_0x2fcd6a[_0x3660e9(0x299)]);if(!_0x192aa7)return!0x1;let _0x372de3={..._0x192aa7,'fs':_0x480bd6},_0x531158=await _0x4083dd[_0x3660e9(0x196)](_0x4a4f06['id'],{'unitId':_0x4c4b46,'subUnitId':_0x58bedb,'shapeId':_0x1090c5,'shapeData':{'shapeText':{..._0x2fcd6a,'isHorizontal':(_0x182fe2=_0x2fcd6a[_0x3660e9(0x42c)])==null?!0x0:_0x182fe2,'dataModel':_0x372de3}}});if(_0x531158){let _0x55b662=_0x559b02[_0x3660e9(0x425)](_0x4c4b46);if(_0x55b662!=null&&_0x55b662[_0x3660e9(0x373)]){let _0x27a72b=(0x0,_0xcd0f0e[_0x3660e9(0x1f8)])({'unitId':_0x4c4b46,'subUnitId':_0x58bedb,'drawingId':_0x1090c5}),_0x24e333=_0x55b662[_0x3660e9(0x373)][_0x3660e9(0x432)](_0x27a72b);_0x24e333&&_0x24e333[_0x3660e9(0x1d4)](!0x0);}}return _0x531158;}},_0xabf84b={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0x3a0),'handler':async _0x4faecf=>{const _0x1039b1=_0x2ea0c4;var _0x5f5dd5;let _0x1b7076=_0x4faecf[_0x1039b1(0x263)](_0x383d16),_0x445df1=_0x4faecf['get'](_0x2cb023[_0x1039b1(0x40f)]),_0xefb667=_0x4faecf[_0x1039b1(0x263)](_0x3fe9b6['ICommandService']),_0x506854=_0x1b7076['getEditing']();if(!_0x506854)return!0x1;let {unitId:_0x1b4152,subUnitId:_0x244681,shapeId:_0x368d62}=_0x506854,_0x487d32=_0x445df1[_0x1039b1(0x252)](_0x1b4152,_0x244681,_0x368d62);if(!_0x487d32)return!0x1;let _0x2e993f=_0x487d32[_0x1039b1(0x236)]();if(!_0x2e993f||!('dataModel'in _0x2e993f))return!0x1;let _0x4243b7=(0x0,_0x502542[_0x1039b1(0x381)])(_0x2e993f['dataModel']),_0x4672a5=(_0x5f5dd5=_0x4243b7==null?void 0x0:_0x4243b7['fs'])==null?0xe:_0x5f5dd5,_0x3c9ae8=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x3a174f=_0x4672a5,_0x35a175=_0x3c9ae8['indexOf'](_0x4672a5);return _0x35a175!==-0x1&&_0x35a175<_0x3c9ae8[_0x1039b1(0x111)]-0x1?_0x3a174f=_0x3c9ae8[_0x35a175+0x1]:_0x35a175===-0x1&&(_0x3a174f=Math[_0x1039b1(0x1a5)](_0x4672a5)+0x1),_0xefb667[_0x1039b1(0x196)](_0x441656['id'],{'value':_0x3a174f});}},_0x41635b={'type':_0x3fe9b6['CommandType'][_0x2ea0c4(0x2ad)],'id':_0x2ea0c4(0xfc),'handler':async _0x4faa39=>{const _0xc67f90=_0x2ea0c4;var _0x1265f2;let _0x4b5c38=_0x4faa39[_0xc67f90(0x263)](_0x383d16),_0x3f8089=_0x4faa39['get'](_0x2cb023['SheetsShapeService']),_0x115cb9=_0x4faa39[_0xc67f90(0x263)](_0x3fe9b6[_0xc67f90(0x2ec)]),_0x277d9b=_0x4b5c38['getEditing']();if(!_0x277d9b)return!0x1;let {unitId:_0xbb241d,subUnitId:_0x3fbcc6,shapeId:_0x1bc9d7}=_0x277d9b,_0x3cefe1=_0x3f8089[_0xc67f90(0x252)](_0xbb241d,_0x3fbcc6,_0x1bc9d7);if(!_0x3cefe1)return!0x1;let _0x475a98=_0x3cefe1[_0xc67f90(0x236)]();if(!_0x475a98||!(_0xc67f90(0x299)in _0x475a98))return!0x1;let _0x43c8cd=(0x0,_0x502542['normalizeShapeTextModel'])(_0x475a98[_0xc67f90(0x299)]),_0x2974ce=(_0x1265f2=_0x43c8cd==null?void 0x0:_0x43c8cd['fs'])==null?0xe:_0x1265f2,_0x5ba2ce=[0x9,0xa,0xb,0xc,0xe,0x10,0x12,0x14,0x16,0x18,0x1a,0x1c,0x24,0x30,0x48],_0x574130=_0x2974ce,_0x3da11e=_0x5ba2ce[_0xc67f90(0x3f3)](_0x2974ce);return _0x3da11e!==-0x1&&_0x3da11e>0x0?_0x574130=_0x5ba2ce[_0x3da11e-0x1]:_0x3da11e===-0x1&&(_0x574130=Math[_0xc67f90(0x1a5)](_0x2974ce)-0x1),_0x574130<0x1&&(_0x574130=0x1),_0x115cb9[_0xc67f90(0x196)](_0x441656['id'],{'value':_0x574130});}},_0x43882a={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ef)],'id':'sheet.operation.close-sheet-shape-format-panel','handler'(){return!0x0;}},_0xe5dd06={'type':_0x3fe9b6[_0x2ea0c4(0x2bc)][_0x2ea0c4(0x2ef)],'id':_0x2ea0c4(0x2e6),'handler'(){return!0x0;}},_0x4a6307={};function _0x568943({ref:_0x2905dc,..._0x2545f}){const _0x3f5b05=_0x2ea0c4;let {icon:_0x1b90aa,id:_0x71f088,className:_0x341155,extend:_0x29de70,..._0x3920cc}=_0x2545f,_0x5182e3=(_0x3f5b05(0x146)+_0x71f088+'\x20'+(_0x341155||''))[_0x3f5b05(0x317)](),_0x34197e=(0x0,_0x6a3016['useRef'])('_'+_0x1dcfb2());return _0x196fdb(_0x1b90aa,''+_0x71f088,{'defIds':_0x1b90aa[_0x3f5b05(0x2ce)],'idSuffix':_0x34197e['current']},{'ref':_0x2905dc,'className':_0x5182e3,..._0x3920cc},_0x29de70);}function _0x196fdb(_0x3f2c83,_0x240959,_0x214d00,_0x370155,_0x930ec6){const _0x947302=_0x2ea0c4;return(0x0,_0x6a3016[_0x947302(0x105)])(_0x3f2c83['tag'],{'key':_0x240959,..._0x5124ee(_0x3f2c83,_0x214d00,_0x930ec6),..._0x370155},(_0x46cac1(_0x3f2c83,_0x214d00)['children']||[])[_0x947302(0x2cb)]((_0x551914,_0x98d359)=>_0x196fdb(_0x551914,_0x240959+'-'+_0x3f2c83[_0x947302(0x2c6)]+'-'+_0x98d359,_0x214d00,void 0x0,_0x930ec6)));}function _0x5124ee(_0x5471ee,_0x1c0a7b,_0x21e116){const _0x8fe7c1=_0x2ea0c4;let _0xa79852={..._0x5471ee['attrs']};_0x21e116!=null&&_0x21e116[_0x8fe7c1(0x187)]&&_0xa79852['fill']===_0x8fe7c1(0x187)&&(_0xa79852[_0x8fe7c1(0x23b)]=_0x21e116[_0x8fe7c1(0x187)]),_0x21e116!=null&&_0x21e116['colorChannel1']&&_0xa79852[_0x8fe7c1(0x374)]===_0x8fe7c1(0x187)&&(_0xa79852[_0x8fe7c1(0x374)]=_0x21e116[_0x8fe7c1(0x187)]),_0x5471ee[_0x8fe7c1(0x2c6)]==='mask'&&_0xa79852['id']&&(_0xa79852['id']+=_0x1c0a7b[_0x8fe7c1(0x119)]),Object[_0x8fe7c1(0x132)](_0xa79852)[_0x8fe7c1(0x31b)](([_0x341367,_0x3300f7])=>{const _0x3c28ea=_0x8fe7c1;_0x341367===_0x3c28ea(0x3cc)&&typeof _0x3300f7==_0x3c28ea(0x3eb)&&(_0xa79852[_0x341367]=_0x3300f7[_0x3c28ea(0x36f)](/url\(#(.*)\)/,_0x3c28ea(0x2c9)+_0x1c0a7b[_0x3c28ea(0x119)]+')'));});let {defIds:_0x271b47}=_0x1c0a7b;return!_0x271b47||_0x271b47['length']===0x0?_0xa79852:(_0x5471ee[_0x8fe7c1(0x2c6)]===_0x8fe7c1(0x3db)&&_0xa79852[_0x8fe7c1(0x322)]&&(_0xa79852[_0x8fe7c1(0x322)]+=_0x1c0a7b[_0x8fe7c1(0x119)]),Object[_0x8fe7c1(0x132)](_0xa79852)['forEach'](([_0x2d9f05,_0x420fc7])=>{const _0x5b575f=_0x8fe7c1;typeof _0x420fc7==_0x5b575f(0x3eb)&&(_0xa79852[_0x2d9f05]=_0x420fc7[_0x5b575f(0x36f)](/url\(#(.*)\)/,_0x5b575f(0x2c9)+_0x1c0a7b['idSuffix']+')'));}),_0xa79852);}function _0x46cac1(_0x4bca27,_0x302ccb){const _0x5f6894=_0x2ea0c4;var _0x525a02;let {defIds:_0x52b698}=_0x302ccb;return!_0x52b698||_0x52b698[_0x5f6894(0x111)]===0x0?_0x4bca27:_0x4bca27[_0x5f6894(0x2c6)]==='defs'&&(_0x525a02=_0x4bca27[_0x5f6894(0x307)])!=null&&_0x525a02[_0x5f6894(0x111)]?{..._0x4bca27,'children':_0x4bca27['children'][_0x5f6894(0x2cb)](_0x2b9397=>typeof _0x2b9397[_0x5f6894(0x303)]['id']==_0x5f6894(0x3eb)&&_0x52b698&&_0x52b698['includes'](_0x2b9397[_0x5f6894(0x303)]['id'])?{..._0x2b9397,'attrs':{..._0x2b9397['attrs'],'id':_0x2b9397[_0x5f6894(0x303)]['id']+_0x302ccb[_0x5f6894(0x119)]}}:_0x2b9397)}:_0x4bca27;}function _0x1dcfb2(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x568943[_0x2ea0c4(0x1a2)]=_0x2ea0c4(0x202);let _0x1c9fa3={'tag':_0x2ea0c4(0x1cf),'attrs':{'xmlns':_0x2ea0c4(0x1a6),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x2ea0c4(0x37b),'height':_0x2ea0c4(0x37b)},'children':[{'tag':_0x2ea0c4(0x25c),'attrs':{'fill':_0x2ea0c4(0x187),'d':_0x2ea0c4(0x436),'fillRule':_0x2ea0c4(0x168),'clipRule':_0x2ea0c4(0x168)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x2ea0c4(0x156),'fillRule':'evenodd','clipRule':_0x2ea0c4(0x168)}}]},_0xee2ef4=(0x0,_0x6a3016['forwardRef'])(function(_0x4dcdfc,_0x3fe8fe){const _0x428a3b=_0x2ea0c4;return(0x0,_0x6a3016[_0x428a3b(0x105)])(_0x568943,Object[_0x428a3b(0x28a)]({},_0x4dcdfc,{'id':_0x428a3b(0x2d3),'ref':_0x3fe8fe,'icon':_0x1c9fa3}));});_0xee2ef4[_0x2ea0c4(0x1a2)]='CopyDoubleIcon';function _0x338b15(_0x2accbf){const _0x30bd64=_0x2ea0c4;return _0x2accbf[_0x30bd64(0x317)]()||void 0x0;}function _0x1b513f(_0x6231b6){const _0x222b31=_0x2ea0c4;switch(_0x6231b6[_0x222b31(0x19a)]){case _0x3fe9b6[_0x222b31(0x225)][_0x222b31(0x34c)]:return _0x222b31(0x1c7);case _0x3fe9b6[_0x222b31(0x225)][_0x222b31(0x1f9)]:return _0x222b31(0x35d);case _0x3fe9b6['DrawingTypeEnum'][_0x222b31(0x165)]:return'table';case _0x3fe9b6[_0x222b31(0x225)][_0x222b31(0x106)]:return'smartArt';case _0x3fe9b6['DrawingTypeEnum'][_0x222b31(0x282)]:return _0x222b31(0x305);case _0x3fe9b6[_0x222b31(0x225)][_0x222b31(0x133)]:return'group';case _0x3fe9b6['DrawingTypeEnum'][_0x222b31(0x11e)]:return _0x222b31(0xf7);case _0x3fe9b6[_0x222b31(0x225)][_0x222b31(0x29a)]:return _0x222b31(0x3fa);case _0x3fe9b6['DrawingTypeEnum'][_0x222b31(0x1d9)]:return _0x222b31(0x340);default:return'object';}}function _0x5a5527(_0x1eeb76,_0xe8c967,_0x343140){const _0xe5c20e=_0x2ea0c4;var _0x4ad920;return((_0x4ad920=_0x1eeb76['name'])==null?void 0x0:_0x4ad920['trim']())||(0x0,_0x3cfff1[_0xe5c20e(0x2de)])(_0x343140,_0x1b513f(_0x1eeb76))+'\x20'+(_0xe8c967+0x1);}function _0x2b46fb(){const _0x27cd65=_0x2ea0c4;var _0x2f1e9c,_0x21ff21,_0x57408c,_0x1b4286;let _0x4d0e50=(0x0,_0x2b76f2[_0x27cd65(0x20b)])(_0x3fe9b6[_0x27cd65(0x151)]),_0x300584=(0x0,_0x2b76f2[_0x27cd65(0x20b)])(_0x3fe9b6[_0x27cd65(0x2ec)]),_0x26e847=(0x0,_0x2b76f2['useDependency'])(_0x3fe9b6[_0x27cd65(0x287)]),_0x1bd136=(0x0,_0x2b76f2[_0x27cd65(0x20b)])(_0x1ba3d5['ISheetDrawingService']),_0x50b529=(0x0,_0x2b76f2['useDependency'])(_0xcd0f0e['IDrawingManagerService']),_0x5c5da1=(0x0,_0x2b76f2['useDependency'])(_0x122d5a['IRenderManagerService']),[,_0x2e35e2]=(0x0,_0x6a3016['useReducer'])(_0xe16fe2=>_0xe16fe2+0x1,0x0),_0x3e773f=_0x26e847[_0x27cd65(0x1b3)](_0x3fe9b6['UniverInstanceType'][_0x27cd65(0x430)]),_0x3e1c96=(_0x2f1e9c=_0x3e773f==null?void 0x0:_0x3e773f[_0x27cd65(0x2b5)]())==null?'':_0x2f1e9c,_0x22b116=(_0x21ff21=_0x3e773f==null||(_0x57408c=_0x3e773f['getActiveSheet']())==null?void 0x0:_0x57408c[_0x27cd65(0x1eb)]())==null?'':_0x21ff21,_0x2e5173=(0x0,_0x2b76f2[_0x27cd65(0x25a)])(()=>_0x50b529[_0x27cd65(0x3be)],_0x50b529['getFocusDrawings'](),!0x1,[_0x50b529]);(0x0,_0x6a3016[_0x27cd65(0x16c)])(()=>{const _0x40f78d=_0x27cd65;let _0x55f333=_0x300584['onCommandExecuted'](()=>_0x2e35e2());return()=>_0x55f333[_0x40f78d(0x14f)]();},[_0x300584]);let _0x501521=_0x3e1c96&&_0x22b116?_0x1bd136[_0x27cd65(0x22c)](_0x3e1c96,_0x22b116):{},_0x618f39=_0x3e1c96&&_0x22b116?_0x1bd136[_0x27cd65(0x235)](_0x3e1c96,_0x22b116):[],_0x92c42d=(0x0,_0x6a3016[_0x27cd65(0x3ca)])(()=>(0x0,_0x3cfff1['getObjectListPanelLabels'])(_0x4d0e50),[_0x4d0e50]),_0x5d324f=(0x0,_0x6a3016[_0x27cd65(0x3ca)])(()=>{const _0x557aa3=_0x27cd65;let _0xba52c8=_0x618f39[_0x557aa3(0x2cb)](_0x2ef028=>_0x501521[_0x2ef028])[_0x557aa3(0x222)](_0x24290a=>!!_0x24290a)[_0x557aa3(0x3f1)](),_0x4deba6=_0xba52c8[_0x557aa3(0x437)]((_0x1f8bb8,_0x1704a6)=>(_0x1f8bb8[(0x0,_0x3cfff1[_0x557aa3(0x1fe)])(_0x1704a6['drawingType'])]+=0x1,_0x1f8bb8),{'canvas':0x0,'floating':0x0}),_0x209dc0={'canvas':0x0,'floating':0x0};return _0xba52c8['map']((_0x3e2cdf,_0xd97add)=>{const _0x58148b=_0x557aa3;let _0x2874c1=(0x0,_0x3cfff1['getObjectListPanelSectionIdForDrawingType'])(_0x3e2cdf['drawingType']),_0x1e42ec=_0x2874c1===_0x3cfff1[_0x58148b(0x26c)],_0x20779e=_0x209dc0[_0x2874c1]++;return{'id':_0x3e2cdf[_0x58148b(0x215)],'name':_0x5a5527(_0x3e2cdf,_0xd97add,_0x4d0e50),'description':_0x3e2cdf[_0x58148b(0x1aa)],'visible':_0x3e2cdf[_0x58148b(0x31c)]!==!0x0,'selectable':_0x3e2cdf[_0x58148b(0x428)]!==!0x1,'sectionId':_0x2874c1,'sectionTitle':_0x1e42ec?_0x92c42d[_0x58148b(0x2dc)]:_0x92c42d['sectionCanvas'],'capabilities':_0x1e42ec?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x1e42ec&&_0x20779e>0x0,'canMoveBackward':!_0x1e42ec&&_0x20779e<_0x4deba6[_0x58148b(0x163)]-0x1,'canReorder':!_0x1e42ec};});},[_0x501521,_0x618f39,_0x92c42d[_0x27cd65(0x415)],_0x92c42d[_0x27cd65(0x2dc)],_0x4d0e50]),_0x3acd67=(0x0,_0x6a3016[_0x27cd65(0x3ca)])(()=>(_0x2e5173==null?[]:_0x2e5173)[_0x27cd65(0x222)](_0x1aeba5=>_0x1aeba5[_0x27cd65(0x429)]===_0x3e1c96&&_0x1aeba5[_0x27cd65(0x3aa)]===_0x22b116)['map'](_0x5dc962=>_0x5dc962[_0x27cd65(0x215)]),[_0x2e5173,_0x22b116,_0x3e1c96]),_0x33b10e=(_0x1b4286=_0x3acd67[_0x3acd67[_0x27cd65(0x111)]-0x1])==null?null:_0x1b4286,_0x3f46d4=_0x145de0=>{const _0x5b8c92=_0x27cd65;var _0x5b476;return(_0x5b476=_0x1bd136[_0x5b8c92(0x3e3)]({'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingId':_0x145de0}))==null?null:_0x5b476;},_0x5818aa=_0x5dcb28=>{const _0x4b1ae1=_0x27cd65;!_0x3e1c96||!_0x5dcb28[_0x4b1ae1(0x111)]||_0x300584[_0x4b1ae1(0x196)](_0x1ba3d5[_0x4b1ae1(0x1ae)]['id'],{'unitId':_0x3e1c96,'drawings':_0x5dcb28});},_0x261c34=(_0x4c960c,_0x5a2323)=>{_0x3f46d4(_0x4c960c)&&_0x5818aa([{'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingId':_0x4c960c,..._0x5a2323}]);},_0x447b35=(_0x51f6cd,_0x911b2)=>{const _0x339e39=_0x27cd65;if(!_0x3e1c96||!_0x22b116)return;let _0x93bdf6=_0x911b2?_0x3acd67[_0x339e39(0x261)](_0x51f6cd)?_0x3acd67[_0x339e39(0x222)](_0x5a8dce=>_0x5a8dce!==_0x51f6cd):[..._0x3acd67,_0x51f6cd]:[_0x51f6cd];_0x300584[_0x339e39(0x38f)](_0xcd0f0e[_0x339e39(0x2a8)]['id'],_0x93bdf6[_0x339e39(0x2cb)](_0x96dea2=>({'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingId':_0x96dea2})));let _0x444d82=_0x93bdf6[_0x93bdf6[_0x339e39(0x111)]-0x1];_0x444d82?(0x0,_0x502542[_0x339e39(0x3b1)])(_0x5c5da1,{'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingId':_0x444d82}):(0x0,_0x502542[_0x339e39(0x174)])(_0x5c5da1,_0x3e1c96);},_0x10cdab=(_0x502c51,_0x469dd7)=>{const _0x338350=_0x27cd65;_0x5818aa(_0x502c51[_0x338350(0x2cb)](_0x736169=>_0x3f46d4(_0x736169))[_0x338350(0x222)](_0x20da87=>!!_0x20da87)[_0x338350(0x222)](_0x50ef48=>_0x50ef48[_0x338350(0x31c)]!==!0x0!==_0x469dd7)['map'](_0x29a2d8=>({'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingId':_0x29a2d8[_0x338350(0x215)],'hidden':!_0x469dd7})));},_0x1fdb0c=_0x1cfd15=>{const _0x3bcd0a=_0x27cd65;let _0x1a9517=_0x3f46d4(_0x1cfd15);_0x1a9517&&_0x261c34(_0x1cfd15,{'selectable':_0x1a9517[_0x3bcd0a(0x428)]===!0x1?void 0x0:!0x1});},_0x290488=(_0x3b7efa,_0x460a03)=>{const _0xbadb8f=_0x27cd65;var _0x81bb7a,_0x14e6ba;let _0x27f461=_0x338b15(_0x460a03);((_0x81bb7a=(_0x14e6ba=_0x3f46d4(_0x3b7efa))==null?void 0x0:_0x14e6ba[_0xbadb8f(0x2bb)])==null?void 0x0:_0x81bb7a)!==_0x27f461&&_0x261c34(_0x3b7efa,{'name':_0x27f461});},_0x3c9913=(_0x44240e,_0x44b695)=>{const _0x17bf26=_0x27cd65;var _0x37e309,_0x7caf7a;let _0x52f933=_0x338b15(_0x44b695);((_0x37e309=(_0x7caf7a=_0x3f46d4(_0x44240e))==null?void 0x0:_0x7caf7a[_0x17bf26(0x1aa)])==null?void 0x0:_0x37e309)!==_0x52f933&&_0x261c34(_0x44240e,{'description':_0x52f933});},_0x2be267=(_0x34e4d1,_0x370099)=>{const _0x25f036=_0x27cd65;!_0x3e1c96||!_0x22b116||_0x300584[_0x25f036(0x196)](_0x1ba3d5[_0x25f036(0x206)]['id'],{'unitId':_0x3e1c96,'subUnitId':_0x22b116,'drawingIds':[_0x34e4d1],'arrangeType':_0x370099});};return!_0x3e1c96||!_0x22b116?(0x0,_0x5817cb[_0x27cd65(0x3af)])(_0x27cd65(0x104),{'className':_0x27cd65(0xff),'children':_0x92c42d['title']}):(0x0,_0x5817cb[_0x27cd65(0x3af)])(_0x3cfff1[_0x27cd65(0x184)],{'items':_0x5d324f,'selectedIds':_0x3acd67,'focusedId':_0x33b10e,'labels':_0x92c42d,'onSelect':_0x447b35,'onSetVisible':_0x10cdab,'onCommitName':_0x290488,'onCommitDescription':_0x3c9913,'onMoveForward':_0x3ecdd4=>_0x2be267(_0x3ecdd4,_0x3fe9b6['ArrangeTypeEnum'][_0x27cd65(0x29b)]),'onMoveBackward':_0x238077=>_0x2be267(_0x238077,_0x3fe9b6['ArrangeTypeEnum'][_0x27cd65(0x21f)]),'onToggleSelectable':_0x1fdb0c});}let _0x2408bd=class{constructor(_0x35ace7){this['_renderManagerService']=_0x35ace7;}[_0x2ea0c4(0x280)](_0x284ecb,_0x326212){const _0x2dc5b4=_0x2ea0c4;let _0x468311=this[_0x2dc5b4(0x200)][_0x2dc5b4(0x425)](_0x284ecb['unitId']),_0x4f4369=_0x468311==null?void 0x0:_0x468311['scene'];if(!_0x4f4369)return;let _0x4960ac=(0x0,_0xcd0f0e[_0x2dc5b4(0x1f8)])(_0x284ecb),_0x370d31=_0x4f4369['getObjectIncludeInGroup'](_0x4960ac);_0x370d31==null||_0x370d31[_0x2dc5b4(0x2c5)](_0x326212);}};_0x2408bd=_0x20d714([_0x26d55f(0x0,_0x122d5a[_0x2ea0c4(0x238)])],_0x2408bd);function _0x494fc9(){const _0x25cc1b=_0x2ea0c4;let _0x298d87=(0x0,_0x2b76f2[_0x25cc1b(0x20b)])(_0xcd0f0e[_0x25cc1b(0x3c8)]),[_0x1797ad,_0x25142a]=(0x0,_0x6a3016[_0x25cc1b(0x2f4)])(_0x298d87[_0x25cc1b(0x19d)]());return(0x0,_0x6a3016['useEffect'])(()=>{const _0x222843=_0x25cc1b;let _0x102f0a=_0x298d87['focus$'][_0x222843(0x15f)](_0x4bc39d=>{_0x25142a(_0x4bc39d);});return()=>{_0x102f0a['unsubscribe']();};},[]),_0x1797ad['length']===0x0?null:(0x0,_0x5817cb[_0x25cc1b(0x3af)])(_0x25cc1b(0x104),{'children':(0x0,_0x5817cb[_0x25cc1b(0x391)])('div',{'className':_0x25cc1b(0x417),'children':[(0x0,_0x5817cb['jsx'])(_0x3cfff1[_0x25cc1b(0x18c)],{'drawings':_0x1797ad,'hasCropper':!0x1}),(0x0,_0x5817cb[_0x25cc1b(0x3af)])(_0x20f931['SheetDrawingAnchor'],{'drawings':_0x1797ad})]})});}function _0x3930f0(_0xce4ea){const _0x51e503=_0x2ea0c4;let {unitId:_0x314c85,subUnitId:_0x31f00f,shapeId:_0x419de3}=_0xce4ea,_0x2cee83=(0x0,_0x2b76f2[_0x51e503(0x20b)])(_0x3fe9b6[_0x51e503(0x2ec)]),_0xf75989=(0x0,_0x2b76f2[_0x51e503(0x20b)])(_0x2408bd);return(0x0,_0x5817cb['jsx'])(_0x502542[_0x51e503(0x378)],{..._0xce4ea,'positionEditor':(0x0,_0x5817cb['jsx'])(_0x494fc9,{}),'onUpdateShapeData':(_0x4f3f71,_0x39f405)=>{_0x2ed581(_0x2cee83,_0x314c85,_0x31f00f,_0x419de3,_0x4f3f71,_0x39f405);},'onUpdateLineShapeData':(_0x3c353e,_0x1f9cb5)=>{_0x20ea5c(_0x2cee83,_0x314c85,_0x31f00f,_0x419de3,_0x3c353e,_0x1f9cb5);},'onUpdateShapeFillImage':_0x4318ff=>{_0xf75989['updateShapeFillImage']({'unitId':_0x314c85,'subUnitId':_0x31f00f,'drawingId':_0x419de3},_0x4318ff);}});}function _0x39ba89(_0x10d353){const _0x2cb070=_0x2ea0c4;let _0xad8fbc=_0x10d353[_0x2cb070(0x195)];return _0xad8fbc&&_0x2cb070(0x299)in _0xad8fbc&&_0xad8fbc[_0x2cb070(0x299)]?(0x0,_0x502542['normalizeShapeTextModel'])(_0xad8fbc[_0x2cb070(0x299)]):null;}function _0x50f5b7(_0x2a97e4){const _0x519720=_0x2ea0c4;var _0xc3631d,_0x5d59de,_0x40de96,_0x12a8b7;let _0x573cbe=(_0xc3631d=_0x39ba89(_0x2a97e4))==null?void 0x0:_0xc3631d[_0x519720(0x209)],_0x34fa26=(_0x5d59de=_0x573cbe==null||(_0x40de96=_0x573cbe[_0x519720(0x1f6)])==null||(_0x40de96=_0x40de96[_0x519720(0x1c8)])==null||(_0x40de96=_0x40de96[0x0])==null?void 0x0:_0x40de96['ts'])==null?{}:_0x5d59de;return{..._0x573cbe==null||(_0x12a8b7=_0x573cbe[_0x519720(0x2b6)])==null?void 0x0:_0x12a8b7[_0x519720(0x28d)],..._0x34fa26};}function _0x497a68(_0x25272d){const _0xfda052=_0x2ea0c4;let _0x43a636=_0x25272d[_0xfda052(0x389)]['extraProps'];return _0x43a636?(0x0,_0x5817cb[_0xfda052(0x3af)])(_0x152a1e,{..._0x43a636}):null;}function _0x152a1e(_0x40c433){const _0x471837=_0x2ea0c4;var _0x1ad10e,_0x2f0268;let _0x1cdf91=(0x0,_0x2b76f2[_0x471837(0x20b)])(_0x3fe9b6['ICommandService']),_0xb32642=(0x0,_0x2b76f2['useDependency'])(_0x2cb023['SheetsShapeService']),{unitId:_0x3cba87,subUnitId:_0x324273,drawingId:_0x385bbc,drawingType:_0x213db2,shapeType:_0x27074}=_0x40c433,[_0x29c5b3,_0x30b262]=(0x0,_0x6a3016['useState'])(_0x40c433[_0x471837(0x27e)]),_0x3eadbc=(0x0,_0x6a3016['useMemo'])(()=>_0x50f5b7(_0x29c5b3),[_0x29c5b3]),_0x429a06=(0x0,_0x6a3016['useMemo'])(()=>_0x39ba89(_0x29c5b3),[_0x29c5b3]);(0x0,_0x6a3016[_0x471837(0x16c)])(()=>{const _0x4876e0=_0x471837;let _0x22a727=_0x1cdf91[_0x4876e0(0x23e)](_0x3aa58c=>{const _0x2ce6b7=_0x4876e0;if(_0x3aa58c['id']!==_0x2cb023[_0x2ce6b7(0x2d7)]['id'])return;let _0x478dbf=_0xb32642[_0x2ce6b7(0x15b)](_0x3cba87,_0x324273,_0x385bbc);_0x478dbf&&_0x30b262(_0x478dbf);});return()=>_0x22a727[_0x4876e0(0x14f)]();},[_0x1cdf91,_0x385bbc,_0xb32642,_0x324273,_0x3cba87]);let _0x3860f6=_0x277133=>{_0x30b262(_0x2bf7cc=>({..._0x2bf7cc,..._0x277133}));},_0x231051=_0x4bc47b=>{let _0x5a9d6b=(0x0,_0x502542['buildShapeTextDataUpdate'])(_0x29c5b3,_0x4bc47b);_0x2ed581(_0x1cdf91,_0x3cba87,_0x324273,_0x385bbc,{'oldShapeData':{'shapeText':_0x29c5b3['shapeText']}},_0x5a9d6b),_0x3860f6(_0x5a9d6b);};return(0x0,_0x5817cb[_0x471837(0x3af)])(_0x502542[_0x471837(0x2ff)],{'shapeData':_0x29c5b3,'shapeType':_0x27074,'textStyle':{'ff':_0x360390['ShapeDefaultConfig'][_0x471837(0x195)]['fontFamily'],'fs':_0x360390[_0x471837(0x18d)][_0x471837(0x195)][_0x471837(0x14c)],'cl':{'rgb':_0x360390[_0x471837(0x18d)][_0x471837(0x195)][_0x471837(0x390)]},..._0x3eadbc},'textModel':_0x429a06?{'ha':(_0x1ad10e=_0x429a06['ha'])==null?_0x3fe9b6[_0x471837(0x120)][_0x471837(0xf8)]:_0x1ad10e,'va':(_0x2f0268=_0x429a06['va'])==null?_0x3fe9b6['VerticalAlign'][_0x471837(0x20d)]:_0x2f0268}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x360390[_0x471837(0x18d)]['fill'],'defaultGradientEndColor':_0x360390['ShapeDefaultConfig'][_0x471837(0x265)],'defaultStrokeColor':_0x360390[_0x471837(0x18d)][_0x471837(0x374)],'onUpdateShapeData':(_0x3df995,_0x4a5000)=>{_0x2ed581(_0x1cdf91,_0x3cba87,_0x324273,_0x385bbc,_0x3df995,_0x4a5000),_0x4a5000&&_0x3860f6(_0x4a5000);},'onUpdateText':_0x231051,'onOpenPanel':()=>{const _0x280702=_0x471837;_0x1cdf91[_0x280702(0x196)](_0xe5dd06['id'],{'unitId':_0x3cba87,'subUnitId':_0x324273,'drawingId':_0x385bbc});},'onDelete':()=>{const _0x5ee561=_0x471837;_0x1cdf91[_0x5ee561(0x196)](_0x1ba3d5[_0x5ee561(0x23f)]['id'],{'unitId':_0x3cba87,'drawings':[{'unitId':_0x3cba87,'subUnitId':_0x324273,'drawingId':_0x385bbc,'drawingType':_0x213db2}]});}});}let _0x40f01c=(0x0,_0x6a3016[_0x2ea0c4(0x172)])(()=>{const _0x55455d=_0x2ea0c4;let _0xdcffac=(0x0,_0x2b76f2[_0x55455d(0x20b)])(_0x383d16),_0x3c54cf=(0x0,_0x2b76f2[_0x55455d(0x20b)])(_0x2cb023[_0x55455d(0x40f)]),_0x5847a1=(0x0,_0x2b76f2[_0x55455d(0x20b)])(_0xcd0f0e[_0x55455d(0x3c8)]),_0x4047fd=(0x0,_0x2b76f2[_0x55455d(0x20b)])(_0x3fe9b6[_0x55455d(0x2ec)]),_0x14063b=(0x0,_0x2b76f2['useDependency'])(_0x122d5a[_0x55455d(0x238)]);return(0x0,_0x5817cb['jsx'])(_0x502542['ShapeTextEditorContainer'],{'adapter':(0x0,_0x6a3016[_0x55455d(0x3ca)])(()=>({'getShapeModel':(_0x4804f4,_0x222847,_0x4184cb)=>_0x3c54cf[_0x55455d(0x252)](_0x4804f4,_0x222847,_0x4184cb),'getShapeData':(_0x522a05,_0x34fe51,_0x2922a6)=>_0x3c54cf[_0x55455d(0x15b)](_0x522a05,_0x34fe51,_0x2922a6),'getDrawingTransform':(_0xb6deee,_0x56fb92,_0x4e9458)=>{const _0x33a1e6=_0x55455d;let _0x831fcd=_0x5847a1[_0x33a1e6(0x3e3)]({'unitId':_0xb6deee,'subUnitId':_0x56fb92,'drawingId':_0x4e9458});return _0x831fcd==null?void 0x0:_0x831fcd[_0x33a1e6(0x3ec)];},'updateShapeText':({unitId:_0x7f205,subUnitId:_0x542129,shapeId:_0x112d49,shapeText:_0x8af40c,oldShapeText:_0x1585aa})=>{const _0x162eab=_0x55455d;_0x4047fd[_0x162eab(0x196)](_0x4a4f06['id'],{'unitId':_0x7f205,'subUnitId':_0x542129,'shapeId':_0x112d49,'shapeData':{'shapeText':_0x8af40c},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x1585aa}}});},'updateHostSize':({unitId:_0x4a8af1,subUnitId:_0x18bda8,shapeId:_0x372855,width:_0x59baa2,height:_0x181ea5})=>{const _0x431053=_0x55455d;var _0x26639c,_0x10c312,_0x270180;let _0x369971=_0x5847a1[_0x431053(0x3e3)]({'unitId':_0x4a8af1,'subUnitId':_0x18bda8,'drawingId':_0x372855}),_0x2c9ff5=_0x369971==null?void 0x0:_0x369971[_0x431053(0x3ec)];if(!_0x369971||!_0x2c9ff5)return;let _0x5890ed={..._0x2c9ff5,'width':_0x59baa2,'height':_0x181ea5},_0x4717d4=(_0x26639c=_0x14063b[_0x431053(0x425)](_0x4a8af1))==null||(_0x26639c=_0x26639c['with'](_0x48ecbb[_0x431053(0x3ff)])[_0x431053(0x2fe)](_0x18bda8))==null?void 0x0:_0x26639c['skeleton'],_0x36fe66=_0x4717d4?(_0x10c312=(0x0,_0x1ba3d5[_0x431053(0x2e2)])(_0x5890ed,_0x4717d4))==null?_0x369971[_0x431053(0x116)]:_0x10c312:_0x369971['sheetTransform'],_0x153c64=_0x4717d4?(_0x270180=(0x0,_0x1ba3d5[_0x431053(0x27b)])(_0x5890ed,_0x4717d4))==null?_0x369971[_0x431053(0x315)]:_0x270180:_0x369971[_0x431053(0x315)];_0x4047fd[_0x431053(0x196)](_0x1ba3d5[_0x431053(0x1ae)]['id'],{'unitId':_0x4a8af1,'drawings':[{..._0x369971,'transform':_0x5890ed,'sheetTransform':_0x36fe66,'axisAlignSheetTransform':_0x153c64}]});},'allowHostSizeShrink':({unitId:_0x253bb9,subUnitId:_0x26dd6a,shapeId:_0x12643f})=>(0x0,_0x502542[_0x55455d(0x1d0)])(_0x3c54cf[_0x55455d(0x15b)](_0x253bb9,_0x26dd6a,_0x12643f))}),[_0x4047fd,_0x5847a1,_0x14063b,_0x3c54cf]),'editingService':_0xdcffac,'editorUnitId':_0x1a57f2,'positionOptions':(0x0,_0x6a3016['useMemo'])(()=>({'viewportKeys':{'main':_0x122d5a[_0x55455d(0x179)][_0x55455d(0x12d)],'leftTop':_0x122d5a[_0x55455d(0x179)][_0x55455d(0x24b)],'top':_0x122d5a[_0x55455d(0x179)][_0x55455d(0x3b6)],'left':_0x122d5a[_0x55455d(0x179)]['VIEW_MAIN_LEFT']},'getSkeleton':(_0x52cb9c,_0x2aaf14)=>{const _0x507ebf=_0x55455d;var _0x442698,_0x1e9e45;return(_0x442698=(_0x1e9e45=_0x52cb9c[_0x507ebf(0x3f8)](_0x48ecbb[_0x507ebf(0x3ff)])[_0x507ebf(0x2fe)](_0x2aaf14['subUnitId']))==null?void 0x0:_0x1e9e45[_0x507ebf(0x366)])==null?null:_0x442698;}}),[]),'verticalAlignCommandId':_0xd4b25['id']});}),_0x36f8a5=class extends _0x3fe9b6['Disposable']{constructor(_0x179a49,_0x4a38a8){const _0x31479e=_0x2ea0c4;super(),this['_componentManager']=_0x179a49,this['_iconManager']=_0x4a38a8,this[_0x31479e(0x2b0)](),this[_0x31479e(0x190)]();}['_registerIcons'](){const _0x40a3b0=_0x2ea0c4;this[_0x40a3b0(0x2b9)]['has']('CopyDoubleIcon')||this['disposeWithMe'](this[_0x40a3b0(0x2b9)][_0x40a3b0(0x2a6)]({'CopyDoubleIcon':_0xee2ef4}));}[_0x2ea0c4(0x190)](){const _0x265121=_0x2ea0c4;this[_0x265121(0x3c0)](this[_0x265121(0x25e)][_0x265121(0x2a6)](_0x1ad3e6,_0x3930f0)),this[_0x265121(0x3c0)](this[_0x265121(0x25e)][_0x265121(0x2a6)](_0x66df24,_0x2b46fb)),this[_0x265121(0x3c0)](this[_0x265121(0x25e)][_0x265121(0x2a6)](_0x53f9d3,_0x444add)),this['disposeWithMe'](this[_0x265121(0x25e)][_0x265121(0x2a6)](_0x12dd5f,_0x72ce34)),this[_0x265121(0x25e)]['get'](_0x3cfff1[_0x265121(0x2df)])||this[_0x265121(0x3c0)](this[_0x265121(0x25e)][_0x265121(0x2a6)](_0x3cfff1[_0x265121(0x2df)],_0x383bbe)),this[_0x265121(0x3c0)](this[_0x265121(0x25e)]['register'](_0x414ec8,_0x497a68)),this[_0x265121(0x3c0)](this[_0x265121(0x25e)][_0x265121(0x2a6)]('SheetShapeTextEditorContainer',_0x40f01c));}};_0x36f8a5=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2b76f2[_0x2ea0c4(0x136)])),_0x26d55f(0x1,(0x0,_0x3fe9b6['Inject'])(_0x2b76f2[_0x2ea0c4(0x157)]))],_0x36f8a5);let _0x1717ef=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0xa643e4,_0x69e82a,_0x59c61f,_0x4ca193,_0x131205){const _0x3b3353=_0x2ea0c4;super(),this[_0x3b3353(0x130)]=_0xa643e4,this['_drawingManagerService']=_0x69e82a,this[_0x3b3353(0x200)]=_0x59c61f,this[_0x3b3353(0x2ba)]=_0x4ca193,this[_0x3b3353(0x25d)]=_0x131205,_0x144b44(this,_0x3b3353(0x18a),null),_0x144b44(this,_0x3b3353(0x434),null),_0x144b44(this,_0x3b3353(0x154),null),_0x144b44(this,_0x3b3353(0x339),void 0x0),_0x144b44(this,_0x3b3353(0x42f),[]),_0x144b44(this,_0x3b3353(0x1e2),0x0),_0x144b44(this,_0x3b3353(0x39a),0x0),_0x144b44(this,_0x3b3353(0x3c6),0x0),_0x144b44(this,_0x3b3353(0x246),0x0),_0x144b44(this,_0x3b3353(0x331),!0x1),_0x144b44(this,_0x3b3353(0x36c),void 0x0),_0x144b44(this,'_activeShapeModel',void 0x0),_0x144b44(this,_0x3b3353(0x438),void 0x0),_0x144b44(this,_0x3b3353(0x1f5),void 0x0),_0x144b44(this,_0x3b3353(0x3f2),!0x1),this[_0x3b3353(0x36a)](),this[_0x3b3353(0x125)]();}[_0x2ea0c4(0x3cb)](){const _0x4339bc=_0x2ea0c4;this[_0x4339bc(0x28c)]();}[_0x2ea0c4(0x2a5)](){const _0x2a406a=_0x2ea0c4;this[_0x2a406a(0x28c)](),this[_0x2a406a(0x386)](!0x0);}[_0x2ea0c4(0x26b)](_0x45f4be,_0x59f129,_0x72fee3,_0x5465c8){const _0x255cfa=_0x2ea0c4;let _0x17b27d=_0x45f4be;if(!(_0x17b27d===_0x360390[_0x255cfa(0x39f)][_0x255cfa(0x3a3)]||_0x45f4be===_0x255cfa(0x3b8)))try{let _0x9c879f=new _0x360390[(_0x255cfa(0x341))](_0x17b27d,_0x255cfa(0x11f)+_0x45f4be);return _0x5465c8&&_0x9c879f[_0x255cfa(0x1f2)]({'adjustValues':_0x5465c8},!0x0),_0x9c879f['updateContext']({'width':_0x59f129,'height':_0x72fee3}),_0x9c879f;}catch{return;}}[_0x2ea0c4(0x2b1)](_0x2b893b,_0x159f75,_0x280dad){const _0x5de675=_0x2ea0c4;let _0x528ae3={'unitId':_0x2b893b,'subUnitId':_0x159f75,'drawingId':_0x280dad},_0x60635d=this[_0x5de675(0x275)][_0x5de675(0x3e3)](_0x528ae3);if(!(!_0x60635d||_0x60635d['drawingType']!==_0x3fe9b6[_0x5de675(0x225)][_0x5de675(0x34c)]))return _0x60635d;}[_0x2ea0c4(0x3dc)](_0x3ae1c9,_0x1a1c04,_0x44f32d){const _0x12906d=_0x2ea0c4;let _0x952ccb=this[_0x12906d(0x200)]['getRenderById'](_0x3ae1c9);if(!_0x952ccb)return;let {scene:_0x588649}=_0x952ccb,_0x1c25ca=(0x0,_0xcd0f0e['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3ae1c9,'subUnitId':_0x1a1c04,'drawingId':_0x44f32d}),_0x1c9956=_0x588649[_0x12906d(0x2d4)](_0x1c25ca);if(_0x1c9956 instanceof _0x122d5a[_0x12906d(0x270)]){let _0x460bbf=_0x1c9956[_0x12906d(0x22b)];if(_0x460bbf)return{'prstGeom':_0x460bbf,'adjustValues':_0x1c9956[_0x12906d(0x135)]};}}[_0x2ea0c4(0x386)](_0x2129c3=!0x1){const _0x1610c9=_0x2ea0c4;if(!this[_0x1610c9(0x434)]||!this[_0x1610c9(0x154)]||!this[_0x1610c9(0x18a)])return;let _0x3dcb1e=this['_renderManagerService'][_0x1610c9(0x425)](this[_0x1610c9(0x434)]);if(!_0x3dcb1e||!_0x3dcb1e[_0x1610c9(0x3f8)](_0x48ecbb[_0x1610c9(0x3ff)])[_0x1610c9(0x1d3)]())return;let {scene:_0x3ce53e}=_0x3dcb1e,_0x438bef=this[_0x1610c9(0x2b1)](this[_0x1610c9(0x434)],this[_0x1610c9(0x154)],this[_0x1610c9(0x18a)]);if(!_0x438bef)return;let {transform:_0x5979b7}=_0x438bef;if(!_0x5979b7)return;let {left:_0x36c3bc,top:_0x47ea7b,width:_0x2facd2,height:_0x4df64f,flipX:_0x5eee4e,flipY:_0x5acde8,angle:_0x3c0083=0x0}=_0x5979b7;if(_0x36c3bc===void 0x0||_0x47ea7b===void 0x0)return;let _0x91dab9=this[_0x1610c9(0x3dc)](this[_0x1610c9(0x434)],this[_0x1610c9(0x154)],this[_0x1610c9(0x18a)]);if(!_0x91dab9)return;if(_0x2129c3){let _0x542bee=this[_0x1610c9(0x26b)](_0x91dab9['prstGeom'],_0x2facd2||0x0,_0x4df64f||0x0,_0x91dab9[_0x1610c9(0x217)]);if(!_0x542bee)return;this[_0x1610c9(0x339)]=_0x542bee['getDrawingPoints']();}let _0x325038=this['_activeAdjustPointList'];if(!(!_0x325038||_0x325038[_0x1610c9(0x111)]===0x0))for(let _0x14f928=0x0;_0x14f928<_0x325038[_0x1610c9(0x111)];_0x14f928++){let _0x44184a=_0x325038[_0x14f928],_0x18272d=_0x44184a['x'],_0x552dfc=_0x44184a['y'];if(_0x5eee4e&&(_0x18272d=(_0x2facd2||0x0)-_0x18272d),_0x5acde8&&(_0x552dfc=(_0x4df64f||0x0)-_0x552dfc),_0x3c0083!==0x0){let _0x54b499=(_0x2facd2||0x0)/0x2,_0x353e6f=(_0x4df64f||0x0)/0x2,_0x5266d3=_0x3c0083*Math['PI']/0xb4,_0x240157=Math[_0x1610c9(0x38d)](_0x5266d3),_0x37fbbf=Math['sin'](_0x5266d3),_0x28b94e=_0x18272d-_0x54b499,_0x2b236d=_0x552dfc-_0x353e6f;_0x18272d=_0x54b499+(_0x28b94e*_0x240157-_0x2b236d*_0x37fbbf),_0x552dfc=_0x353e6f+(_0x28b94e*_0x37fbbf+_0x2b236d*_0x240157);}let _0x2909b3={'x':_0x18272d,'y':_0x552dfc,'adjName':_0x44184a['adjName']};this[_0x1610c9(0x204)](_0x3ce53e,_0x2909b3,_0x2909b3[_0x1610c9(0x21a)],_0x36c3bc,_0x47ea7b,this['_unitId'],this[_0x1610c9(0x154)]);}}[_0x2ea0c4(0x204)](_0x195c53,_0x4786b6,_0x1481ef,_0x226d0a,_0x5d527c,_0x50a6e5,_0x158bc6){const _0x37a876=_0x2ea0c4;if(!this[_0x37a876(0x18a)])return;let _0x85bf93=_0x37a876(0x329)+this[_0x37a876(0x18a)]+'-'+_0x1481ef,_0x586e3=_0x195c53[_0x37a876(0x432)](_0x85bf93);if(_0x586e3){_0x586e3['transformByState']({'left':_0x4786b6['x']+_0x226d0a-_0x360390[_0x37a876(0x18d)]['adjHandleSize'],'top':_0x4786b6['y']+_0x5d527c-_0x360390['ShapeDefaultConfig']['adjHandleSize']});return;}let _0x206c35=new _0x1d0af4(_0x85bf93,{'left':_0x4786b6['x']+_0x226d0a-_0x360390[_0x37a876(0x18d)][_0x37a876(0x1ba)],'top':_0x4786b6['y']+_0x5d527c-_0x360390[_0x37a876(0x18d)][_0x37a876(0x1ba)],'adjName':_0x1481ef,'shapeId':this[_0x37a876(0x18a)],'unitId':_0x50a6e5,'subUnitId':_0x158bc6,'width':_0x360390['ShapeDefaultConfig'][_0x37a876(0x1ba)]+0x8,'height':_0x360390['ShapeDefaultConfig'][_0x37a876(0x1ba)]+0x8,'zIndex':_0x122d5a[_0x37a876(0x192)]+0x1,'evented':!0x0});this['_shapes'][_0x37a876(0x35c)](_0x206c35),this[_0x37a876(0x3a5)](_0x206c35,_0x195c53,_0x1481ef),_0x195c53[_0x37a876(0x112)](_0x206c35,_0x122d5a[_0x37a876(0x192)]+0x1);}[_0x2ea0c4(0x28c)](){const _0x177a99=_0x2ea0c4;this['_shapes']['length']!==0x0&&(this[_0x177a99(0x42f)][_0x177a99(0x31b)](_0x42ad81=>_0x42ad81[_0x177a99(0x14f)]()),this[_0x177a99(0x42f)]=[]);}[_0x2ea0c4(0x2e0)](_0x1ee1f3,_0x14cebd){const _0x4b2ff6=_0x2ea0c4;var _0x94a3af;let _0x3cdc2a={'x':0x0,'y':0x0},_0x42b542=this[_0x4b2ff6(0x200)][_0x4b2ff6(0x425)](_0x1ee1f3);if(!_0x42b542||!_0x42b542[_0x4b2ff6(0x3f8)](_0x48ecbb['SheetSkeletonManagerService'])[_0x4b2ff6(0x2f8)](_0x14cebd))return _0x3cdc2a;let _0x5b24d2=_0x42b542[_0x4b2ff6(0x3f8)](_0x48ecbb[_0x4b2ff6(0x186)]),_0x121ad8=_0x5b24d2==null?void 0x0:_0x5b24d2[_0x4b2ff6(0x1a4)]();if(!_0x121ad8)return _0x3cdc2a;let _0x424d15=(_0x94a3af=this['_univerInstanceService'][_0x4b2ff6(0x34b)](_0x1ee1f3))==null?void 0x0:_0x94a3af[_0x4b2ff6(0x20c)](_0x14cebd);if(!_0x424d15)return _0x3cdc2a;let _0x3b95e8=(0x0,_0x48ecbb[_0x4b2ff6(0x32f)])(_0x121ad8['sheetViewStartRow'],_0x121ad8[_0x4b2ff6(0x3ae)],_0x42b542[_0x4b2ff6(0x373)],_0x424d15);return _0x3b95e8?{'x':_0x3b95e8[_0x4b2ff6(0x327)],'y':_0x3b95e8[_0x4b2ff6(0x2b8)]}:_0x3cdc2a;}[_0x2ea0c4(0x388)](_0x125faa,_0x358730){const _0x34a4ea=_0x2ea0c4;var _0x16712f,_0x53208d;let _0x145122=(_0x16712f=this[_0x34a4ea(0x2ba)][_0x34a4ea(0x34b)](_0x125faa))==null?void 0x0:_0x16712f[_0x34a4ea(0x20c)](_0x358730);return(_0x53208d=_0x145122==null?void 0x0:_0x145122['getZoomRatio']())==null?0x1:_0x53208d;}[_0x2ea0c4(0x3a5)](_0x10113f,_0xb04710,_0xcb73c8){const _0x1c5bd8=_0x2ea0c4;this['disposeWithMe']((0x0,_0x3fe9b6[_0x1c5bd8(0x1c4)])(_0x10113f['onPointerDown$'][_0x1c5bd8(0x1d2)]((_0x144204,_0x31f8d3)=>{const _0x3d1a4e=_0x1c5bd8;var _0x2a5756,_0x1f5c25,_0x5d7b31;let {unitId:_0x275cc8,subUnitId:_0x2ec4e8,drawingId:_0x2d929b}=_0x10113f[_0x3d1a4e(0x14e)](),_0x2a86ec=this[_0x3d1a4e(0x2b1)](_0x275cc8,_0x2ec4e8,_0x2d929b);if(!(_0x2a86ec!=null&&_0x2a86ec['transform']))return;let {left:_0x4c0966,top:_0x1a9a77,width:_0x276363,height:_0x3ee1e9}=_0x2a86ec[_0x3d1a4e(0x3ec)];this[_0x3d1a4e(0x1e2)]=_0x4c0966||0x0,this[_0x3d1a4e(0x39a)]=_0x1a9a77||0x0,this[_0x3d1a4e(0x3c6)]=_0x276363||0x0,this[_0x3d1a4e(0x246)]=_0x3ee1e9||0x0;let _0x5537fe=!!((_0x2a5756=_0x2a86ec[_0x3d1a4e(0x3ec)])!=null&&_0x2a5756['flipX']),_0x969af2=!!((_0x1f5c25=_0x2a86ec[_0x3d1a4e(0x3ec)])!=null&&_0x1f5c25[_0x3d1a4e(0x30e)]),_0x503978=((_0x5d7b31=_0x2a86ec['transform'])==null?void 0x0:_0x5d7b31[_0x3d1a4e(0x2a0)])||0x0,_0x26c045=this[_0x3d1a4e(0x3dc)](_0x275cc8,_0x2ec4e8,_0x2d929b);if(!_0x26c045)return;let _0x3bb96d=this[_0x3d1a4e(0x26b)](_0x26c045[_0x3d1a4e(0x22b)],this[_0x3d1a4e(0x3c6)],this['_baseHeight'],_0x26c045[_0x3d1a4e(0x217)]);if(!_0x3bb96d||(this[_0x3d1a4e(0xf9)]=_0x3bb96d,this[_0x3d1a4e(0x36c)]=_0x3bb96d['getAdjustInfoByName'](_0xcb73c8),!this[_0x3d1a4e(0x36c)]))return;this[_0x3d1a4e(0x331)]=!0x0,_0xb04710[_0x3d1a4e(0x286)]();let _0x58b5dd=_0x26c045[_0x3d1a4e(0x22b)];this['_adjHandlerPointerMove']=_0xb04710[_0x3d1a4e(0x2a7)][_0x3d1a4e(0x1d2)]((_0x5980e2,_0x3d2884)=>{const _0x58e66d=_0x3d1a4e;if(!this[_0x58e66d(0x331)])return;let {offsetX:_0xd06517,offsetY:_0x455981}=_0x5980e2,_0x2faebc=this[_0x58e66d(0x36c)];if(!this[_0x58e66d(0xf9)]||!_0x2faebc)return;_0xb04710['disableObjectsEvent'](),_0xb04710[_0x58e66d(0x229)](_0x122d5a['CURSOR_TYPE']['CROSSHAIR']);let _0x17801b={'left':0x0,'top':0x0,'width':this[_0x58e66d(0x3c6)],'height':this['_baseHeight']},_0xf69099=this[_0x58e66d(0x2e0)](_0x275cc8,_0x2ec4e8),_0x5ef425=this['_getZoomRatio'](_0x275cc8,_0x2ec4e8),_0x3773b0=_0xd06517/_0x5ef425+_0xf69099['x']-this[_0x58e66d(0x1e2)],_0x201550=_0x455981/_0x5ef425+_0xf69099['y']-this[_0x58e66d(0x39a)];if(_0x503978!==0x0){let _0x4bd243=this[_0x58e66d(0x3c6)]/0x2,_0x2f8c8c=this['_baseHeight']/0x2,_0x49f3b9=_0x503978*Math['PI']/0xb4,_0xb796c1=Math[_0x58e66d(0x38d)](_0x49f3b9),_0x35f72d=Math[_0x58e66d(0x2a2)](_0x49f3b9),_0x5b38a5=_0x3773b0-_0x4bd243,_0x3e4552=_0x201550-_0x2f8c8c;_0x3773b0=_0x4bd243+(_0x5b38a5*_0xb796c1+_0x3e4552*_0x35f72d),_0x201550=_0x2f8c8c+(-_0x5b38a5*_0x35f72d+_0x3e4552*_0xb796c1);}_0x5537fe&&(_0x3773b0=this[_0x58e66d(0x3c6)]-_0x3773b0),_0x969af2&&(_0x201550=this['_baseHeight']-_0x201550);let _0xcd2106=this[_0x58e66d(0xf9)][_0x58e66d(0x27a)](_0x17801b,{'x':_0x3773b0,'y':_0x201550},_0x2faebc,_0x5537fe,_0x969af2),_0x2d0e6e=_0x2faebc[_0x58e66d(0x245)]||_0x2faebc[_0x58e66d(0xfb)]||_0x2faebc['gdRefAng']||_0x2faebc['gdRefR'];_0x2d0e6e!==void 0x0&&(this[_0x58e66d(0xf9)][_0x58e66d(0x3df)](_0x2d0e6e,_0xcd2106),this[_0x58e66d(0xf9)][_0x58e66d(0x21d)]({'width':this[_0x58e66d(0x3c6)],'height':this[_0x58e66d(0x246)]}),this[_0x58e66d(0x328)](_0x275cc8,_0x2ec4e8,_0x2d929b,_0x2d0e6e,_0xcd2106),this[_0x58e66d(0x339)]=this[_0x58e66d(0xf9)]['getDrawingPoints'](),this[_0x58e66d(0x36c)]=this[_0x58e66d(0xf9)][_0x58e66d(0x28e)](_0xcb73c8),this[_0x58e66d(0x386)](),_0x3d2884['stopPropagation']());}),this[_0x3d1a4e(0x1f5)]=_0xb04710['onPointerUp$']['subscribeEvent']((_0x174b44,_0x25e85d)=>{const _0xeeb895=_0x3d1a4e;if(this[_0xeeb895(0x438)][_0xeeb895(0x1ea)](),this[_0xeeb895(0x1f5)][_0xeeb895(0x1ea)](),_0xb04710[_0xeeb895(0x3f5)](),this[_0xeeb895(0xf9)]){let _0x1d58a1=this[_0xeeb895(0xf9)]['getAdjustNames'](),_0x451b36={};for(let _0x4384ec of _0x1d58a1){let _0x4601b1=this['_activeShapeModel'][_0xeeb895(0x1a7)](_0x4384ec);_0x4601b1!==void 0x0&&(_0x451b36[_0x4384ec]=_0x4601b1);}this[_0xeeb895(0x25d)][_0xeeb895(0x129)](_0x275cc8,_0x2ec4e8,_0x2d929b,_0x58b5dd,_0x451b36);}this[_0xeeb895(0x36c)]=void 0x0,this['_activeShapeModel']=void 0x0,this['_isStartAdjusting']=!0x1,_0x25e85d[_0xeeb895(0x2eb)](),_0xb04710[_0xeeb895(0x3ba)]();}),_0x31f8d3[_0x3d1a4e(0x2eb)]();})));}[_0x2ea0c4(0x328)](_0x14fa0d,_0x4f3e35,_0x2bc36c,_0x49c0eb,_0x50f599){const _0x5c5252=_0x2ea0c4;let _0x1f51b9=this[_0x5c5252(0x200)]['getRenderById'](_0x14fa0d);if(!_0x1f51b9)return;let {scene:_0x5e1496}=_0x1f51b9,_0x1c9b97=(0x0,_0xcd0f0e[_0x5c5252(0x1f8)])({'unitId':_0x14fa0d,'subUnitId':_0x4f3e35,'drawingId':_0x2bc36c}),_0x4109d1=_0x5e1496[_0x5c5252(0x2d4)](_0x1c9b97);if(_0x4109d1 instanceof _0x122d5a['Image']){var _0x3c5d5e;let _0x31357a=(_0x3c5d5e=_0x4109d1[_0x5c5252(0x135)])==null?{}:_0x3c5d5e;_0x4109d1[_0x5c5252(0x161)]({..._0x31357a,[_0x49c0eb]:_0x50f599}),_0x4109d1[_0x5c5252(0x1d4)](!0x0);}}[_0x2ea0c4(0x125)](){const _0x4de7ae=_0x2ea0c4;let _0xc02fb7=this[_0x4de7ae(0x2ba)][_0x4de7ae(0x1e8)](_0x3fe9b6[_0x4de7ae(0x1df)]['UNIVER_SHEET']);this[_0x4de7ae(0x3c0)](_0xc02fb7[_0x4de7ae(0xfe)]((0x0,_0x14dd2b[_0x4de7ae(0x298)])(_0x5e41ee=>_0x5e41ee?_0x5e41ee['activeSheet$'][_0x4de7ae(0xfe)]((0x0,_0x14dd2b['switchMap'])(_0x205743=>{const _0x31360b=_0x4de7ae;if(!_0x205743)return _0x14dd2b[_0x31360b(0x29d)];let _0x31c35a=_0x5e41ee[_0x31360b(0x2b5)](),_0x33c3e2=this[_0x31360b(0x200)][_0x31360b(0x425)](_0x31c35a),_0x346b34=_0x33c3e2==null?void 0x0:_0x33c3e2[_0x31360b(0x373)];return _0x346b34?(0x0,_0x14dd2b['of'])(_0x346b34):_0x14dd2b[_0x31360b(0x29d)];})):_0x14dd2b[_0x4de7ae(0x29d)]))[_0x4de7ae(0x15f)](_0x3ae1a7=>{const _0x594fdd=_0x4de7ae;let _0x3d21b3=_0x3ae1a7['getTransformerByCreate']();this[_0x594fdd(0x3c0)](_0x3ae1a7['onPointerMove$'][_0x594fdd(0x1d2)](()=>{const _0x47f18c=_0x594fdd;this[_0x47f18c(0x3f2)]&&this[_0x47f18c(0x28c)]();})),this[_0x594fdd(0x3c0)](_0x3d21b3['changeStart$']['subscribe'](_0x425b5c=>{const _0x176fb5=_0x594fdd;let {objects:_0x1e0e30}=_0x425b5c;if(this[_0x176fb5(0x386)](),_0x1e0e30!==null&&_0x1e0e30['size']===0x1){let _0x2f0ff1=_0x1e0e30[_0x176fb5(0x38e)]()['next']()['value'];_0x2f0ff1 instanceof _0x122d5a[_0x176fb5(0x270)]&&_0x2f0ff1[_0x176fb5(0x22b)]&&(this[_0x176fb5(0x3f2)]=!0x0);}})),this[_0x594fdd(0x3c0)](_0x3d21b3[_0x594fdd(0x3ea)]['subscribe'](()=>{const _0x278fbf=_0x594fdd;this[_0x278fbf(0x3f2)]&&this[_0x278fbf(0x28c)]();})),this[_0x594fdd(0x3c0)](_0x3ae1a7[_0x594fdd(0x239)][_0x594fdd(0x1d2)](()=>{const _0x198203=_0x594fdd;this[_0x198203(0x3f2)]&&(this[_0x198203(0x3f2)]=!0x1,this[_0x198203(0x386)]());})),this['disposeWithMe'](_0x3d21b3[_0x594fdd(0x10b)][_0x594fdd(0x15f)](()=>{const _0x189eab=_0x594fdd;if(this['_unitId']&&this[_0x189eab(0x154)]&&this[_0x189eab(0x18a)]){let _0x3fdbed=this[_0x189eab(0x3dc)](this['_unitId'],this['_subUnitId'],this[_0x189eab(0x18a)]);if(_0x3fdbed){var _0x32371c,_0x1977c7;let _0x45e444=this['_getImageDrawingInfo'](this[_0x189eab(0x434)],this['_subUnitId'],this[_0x189eab(0x18a)]),_0x5a7660=(_0x45e444==null||(_0x32371c=_0x45e444[_0x189eab(0x3ec)])==null?void 0x0:_0x32371c[_0x189eab(0x1bf)])||0x0,_0x444e5f=(_0x45e444==null||(_0x1977c7=_0x45e444['transform'])==null?void 0x0:_0x1977c7['height'])||0x0,_0x43b698=this[_0x189eab(0x26b)](_0x3fdbed[_0x189eab(0x22b)],_0x5a7660,_0x444e5f,_0x3fdbed[_0x189eab(0x217)]);_0x43b698&&(this['_activeAdjustPointList']=_0x43b698[_0x189eab(0x1e7)](),this['_clearControls'](),this['_createControls'](!0x0));}}}));}));}['_registerFocusChangeHandler'](){const _0x3eb273=_0x2ea0c4;this['disposeWithMe'](this[_0x3eb273(0x275)]['focus$'][_0x3eb273(0x15f)](_0x3fb52a=>{const _0x405300=_0x3eb273;if(_0x3fb52a[_0x405300(0x111)]===0x1){let _0x2e979b=_0x3fb52a[0x0];if(_0x2e979b['drawingType']===_0x3fe9b6[_0x405300(0x225)][_0x405300(0x34c)]){let {unitId:_0x991562,subUnitId:_0x2ad875,drawingId:_0x4457a9}=_0x2e979b,_0x16d754=this[_0x405300(0x3dc)](_0x991562,_0x2ad875,_0x4457a9);if(_0x16d754){var _0x532bef,_0x3f5f33;this[_0x405300(0x18a)]=_0x4457a9,this[_0x405300(0x434)]=_0x991562,this['_subUnitId']=_0x2ad875;let _0x471cd2=this['_getImageDrawingInfo'](_0x991562,_0x2ad875,_0x4457a9),_0x2a3876=(_0x471cd2==null||(_0x532bef=_0x471cd2[_0x405300(0x3ec)])==null?void 0x0:_0x532bef['width'])||0x0,_0x484b73=(_0x471cd2==null||(_0x3f5f33=_0x471cd2[_0x405300(0x3ec)])==null?void 0x0:_0x3f5f33[_0x405300(0x403)])||0x0,_0x139405=this[_0x405300(0x26b)](_0x16d754[_0x405300(0x22b)],_0x2a3876,_0x484b73,_0x16d754['adjustValues']);_0x139405&&(this[_0x405300(0x339)]=_0x139405[_0x405300(0x1e7)]()),this['_clearControls'](),this[_0x405300(0x386)](!0x0);}else this['_resetState']();}else this[_0x405300(0x357)]();}else this[_0x405300(0x357)]();})),this[_0x3eb273(0x3c0)](this[_0x3eb273(0x275)][_0x3eb273(0x3a8)][_0x3eb273(0x15f)](_0x37c8dd=>{const _0x51c7f6=_0x3eb273;if(_0x37c8dd['length']===0x1){let _0x37eac7=_0x37c8dd[0x0],_0x36cdb6=this[_0x51c7f6(0x275)]['getDrawingByParam'](_0x37eac7);(_0x36cdb6==null?void 0x0:_0x36cdb6[_0x51c7f6(0x19a)])===_0x3fe9b6[_0x51c7f6(0x225)][_0x51c7f6(0x34c)]&&this[_0x51c7f6(0x18a)]===_0x37eac7[_0x51c7f6(0x215)]&&(this[_0x51c7f6(0x28c)](),this[_0x51c7f6(0x386)](!0x0));}})),this[_0x3eb273(0x3c0)](this[_0x3eb273(0x275)]['remove$'][_0x3eb273(0x15f)](_0x4a7a43=>{const _0x27b3a6=_0x3eb273;for(let _0x266770 of _0x4a7a43)this[_0x27b3a6(0x18a)]===_0x266770[_0x27b3a6(0x215)]&&this[_0x27b3a6(0x357)]();}));}[_0x2ea0c4(0x357)](){const _0x554948=_0x2ea0c4;this[_0x554948(0x18a)]=null,this[_0x554948(0x434)]=null,this[_0x554948(0x154)]=null,this['_activeAdjustPointList']=void 0x0,this['_clearControls']();}};_0x1717ef=_0x20d714([_0x26d55f(0x1,_0xcd0f0e['IDrawingManagerService']),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x122d5a[_0x2ea0c4(0x238)])),_0x26d55f(0x3,_0x3fe9b6[_0x2ea0c4(0x287)]),_0x26d55f(0x4,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x7de345))],_0x1717ef);let _0x21c348=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x55c7f5,_0xeea258,_0x2d9259,_0x367228){const _0x3cb8f7=_0x2ea0c4;super(),this['_univerInstanceService']=_0x55c7f5,this[_0x3cb8f7(0x384)]=_0xeea258,this[_0x3cb8f7(0x309)]=_0x2d9259,this[_0x3cb8f7(0x25b)]=_0x367228,this[_0x3cb8f7(0x1bc)]();}[_0x2ea0c4(0x1bc)](){const _0x200d46=_0x2ea0c4;this[_0x200d46(0x3c0)](this[_0x200d46(0x384)][_0x200d46(0x408)]({'getMutations':_0x22c16e=>{const _0x4889f9=_0x200d46;if(_0x22c16e['id']===_0x12af8f['RemoveSheetCommand']['id']){let _0x5afb9c=(0x0,_0x12af8f[_0x4889f9(0x10d)])(this[_0x4889f9(0x2ba)],_0x22c16e['params']);if(!_0x5afb9c)return{'redos':[],'undos':[]};let {unitId:_0xbd900d,subUnitId:_0x511d92}=_0x5afb9c,_0x2eb6a3=this[_0x4889f9(0x309)][_0x4889f9(0x22c)](_0xbd900d,_0x511d92),_0x3b1224=Object['values'](_0x2eb6a3)['filter'](_0x3a7a1d=>_0x3a7a1d['drawingType']===_0x3fe9b6[_0x4889f9(0x225)]['DRAWING_SHAPE']);if(_0x3b1224['length']===0x0)return{'redos':[],'undos':[]};let _0x1469ba=[],_0x176f6d=[];for(let _0x5f580b=0x0;_0x5f580b<_0x3b1224[_0x4889f9(0x111)];_0x5f580b++){let _0x40b497=_0x3b1224[_0x5f580b],_0xa5d62b=this[_0x4889f9(0x25b)]['getShapeModel'](_0x40b497[_0x4889f9(0x429)],_0x40b497[_0x4889f9(0x3aa)],_0x40b497[_0x4889f9(0x215)]);if(!_0xa5d62b)continue;let {redo:_0x45e125,undo:_0x232b80,objects:_0x48c2bd}=this[_0x4889f9(0x309)]['getBatchRemoveOp']([_0x40b497]);_0x1469ba[_0x4889f9(0x35c)]({'id':_0x2cb023[_0x4889f9(0x117)]['id'],'params':{'unitId':_0xbd900d,'subUnitId':_0x511d92,'shapeId':_0x40b497[_0x4889f9(0x215)]}}),_0x1469ba[_0x4889f9(0x35c)]({'id':_0x1ba3d5[_0x4889f9(0x2e7)]['id'],'params':{'unitId':_0xbd900d,'subUnitId':_0x511d92,'type':_0x1ba3d5['DrawingApplyType'][_0x4889f9(0x255)],'op':_0x45e125,'objects':_0x48c2bd}}),_0x176f6d[_0x4889f9(0x35c)]({'id':_0x1ba3d5['SetDrawingApplyMutation']['id'],'params':{'unitId':_0xbd900d,'subUnitId':_0x511d92,'type':_0x1ba3d5['DrawingApplyType'][_0x4889f9(0x2bd)],'op':_0x232b80,'objects':_0x48c2bd}}),_0x176f6d[_0x4889f9(0x35c)]({'id':_0x2cb023[_0x4889f9(0x26a)]['id'],'params':{'unitId':_0xbd900d,'subUnitId':_0x511d92,'shapeId':_0x40b497['drawingId'],'shapeType':_0xa5d62b[_0x4889f9(0x1b9)](),'shapeData':JSON[_0x4889f9(0x2f1)](JSON['stringify'](_0xa5d62b[_0x4889f9(0x11d)]()))}});}return{'redos':_0x1469ba,'undos':_0x176f6d};}else{if(_0x22c16e['id']===_0x12af8f['CopySheetCommand']['id']){let {unitId:_0x1159e7,subUnitId:_0x67d0b9,targetSubUnitId:_0x25f9a0}=_0x22c16e[_0x4889f9(0x137)];if(!_0x1159e7||!_0x67d0b9||!_0x25f9a0)return{'redos':[],'undos':[]};let _0x57f61a=this['_sheetDrawingService'][_0x4889f9(0x22c)](_0x1159e7,_0x67d0b9),_0x4f5ecf=Object[_0x4889f9(0x38e)](_0x57f61a)[_0x4889f9(0x222)](_0x360e2f=>_0x360e2f['drawingType']===_0x3fe9b6[_0x4889f9(0x225)]['DRAWING_SHAPE']);if(_0x4f5ecf[_0x4889f9(0x111)]===0x0)return{'redos':[],'undos':[]};let _0x506f2b=[],_0x2faa5c=[];for(let _0xbfeb8e=0x0;_0xbfeb8e<_0x4f5ecf[_0x4889f9(0x111)];_0xbfeb8e++){let _0x500e0a=_0x4f5ecf[_0xbfeb8e],_0x1673c1=this[_0x4889f9(0x25b)]['getShapeModel'](_0x500e0a[_0x4889f9(0x429)],_0x500e0a[_0x4889f9(0x3aa)],_0x500e0a['drawingId']);if(!_0x1673c1)continue;let _0x343531=(0x0,_0x3fe9b6[_0x4889f9(0x387)])(),_0x18ce23={..._0x500e0a,'unitId':_0x1159e7,'subUnitId':_0x25f9a0,'drawingId':_0x343531},{redo:_0x36d083,undo:_0x4ac7ae,objects:_0x57c63c}=this[_0x4889f9(0x309)][_0x4889f9(0x1f1)]([_0x18ce23]);_0x506f2b[_0x4889f9(0x35c)]({'id':_0x1ba3d5['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1159e7,'subUnitId':_0x25f9a0,'type':_0x1ba3d5[_0x4889f9(0x18e)][_0x4889f9(0x2bd)],'op':_0x36d083,'objects':_0x57c63c}}),_0x506f2b[_0x4889f9(0x35c)]({'id':_0x2cb023[_0x4889f9(0x26a)]['id'],'params':{'unitId':_0x1159e7,'subUnitId':_0x25f9a0,'shapeId':_0x343531,'shapeType':_0x1673c1[_0x4889f9(0x1b9)](),'shapeData':JSON[_0x4889f9(0x2f1)](JSON[_0x4889f9(0x3b3)](_0x1673c1[_0x4889f9(0x11d)]()))}}),_0x2faa5c[_0x4889f9(0x35c)]({'id':_0x2cb023['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x1159e7,'subUnitId':_0x25f9a0,'shapeId':_0x343531}}),_0x2faa5c[_0x4889f9(0x35c)]({'id':_0x1ba3d5[_0x4889f9(0x2e7)]['id'],'params':{'unitId':_0x1159e7,'subUnitId':_0x25f9a0,'type':_0x1ba3d5[_0x4889f9(0x18e)]['REMOVE'],'op':_0x4ac7ae,'objects':_0x57c63c}});}return{'redos':_0x506f2b,'undos':_0x2faa5c};}}return{'redos':[],'undos':[]};}}));}};_0x21c348=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3fe9b6[_0x2ea0c4(0x287)])),_0x26d55f(0x1,(0x0,_0x3fe9b6['Inject'])(_0x12af8f[_0x2ea0c4(0x12b)])),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x1ba3d5[_0x2ea0c4(0x230)])),_0x26d55f(0x3,(0x0,_0x3fe9b6['Inject'])(_0x2cb023[_0x2ea0c4(0x40f)]))],_0x21c348);let _0x508c50=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x9c6259,_0x67eee0,_0x47d0e5,_0x5ed865,_0x4e0284){const _0x1b5dec=_0x2ea0c4;super(),this[_0x1b5dec(0x130)]=_0x9c6259,this[_0x1b5dec(0x360)]=_0x67eee0,this['_drawingManagerService']=_0x47d0e5,this[_0x1b5dec(0x16e)]=_0x5ed865,this[_0x1b5dec(0x25b)]=_0x4e0284,_0x144b44(this,'_lastEditingShapeKey',null),this['_initEvents'](),this[_0x1b5dec(0x228)](),this[_0x1b5dec(0x1e0)]();}[_0x2ea0c4(0x433)](){const _0x97c799=_0x2ea0c4;let {scene:_0x38e361}=this[_0x97c799(0x130)];this['disposeWithMe'](_0x38e361[_0x97c799(0x1a1)]['subscribeEvent'](_0x57fc6c=>{const _0x1d618e=_0x97c799;let {offsetX:_0x585d90,offsetY:_0x31aea9}=_0x57fc6c,_0x53deb6=_0x38e361[_0x1d618e(0x2d9)](_0x122d5a['Vector2'][_0x1d618e(0x319)]([_0x585d90,_0x31aea9]));if(_0x53deb6 instanceof _0x2264dd){if((0x0,_0x360390[_0x1d618e(0x295)])(this[_0x1d618e(0x25b)][_0x1d618e(0x1b9)](_0x53deb6[_0x1d618e(0x429)],_0x53deb6[_0x1d618e(0x3aa)],_0x53deb6[_0x1d618e(0x124)])))return;this[_0x1d618e(0x360)]['setEditing']({'visible':!0x0,'unitId':_0x53deb6[_0x1d618e(0x429)],'subUnitId':_0x53deb6[_0x1d618e(0x3aa)],'shapeId':_0x53deb6[_0x1d618e(0x124)],'shapeKey':_0x53deb6[_0x1d618e(0x1a0)]});}}));}[_0x2ea0c4(0x228)](){const _0x334a34=_0x2ea0c4;this[_0x334a34(0x3c0)](this[_0x334a34(0x275)][_0x334a34(0x3be)][_0x334a34(0x15f)](_0x2e7ec0=>{const _0x450aa6=_0x334a34;if(_0x2e7ec0['length']===0x1){let _0x4a5bf4=_0x2e7ec0[0x0],_0x375361=this['_drawingManagerService'][_0x450aa6(0x3e3)](_0x4a5bf4);if((_0x375361==null?void 0x0:_0x375361['drawingType'])===_0x3fe9b6[_0x450aa6(0x225)]['DRAWING_SHAPE']){let _0xfd480d=this['_shapeTextEditingService'][_0x450aa6(0x2fd)]();if((_0xfd480d==null?void 0x0:_0xfd480d[_0x450aa6(0x124)])===_0x4a5bf4[_0x450aa6(0x215)]&&_0xfd480d[_0x450aa6(0x197)])return;(0x0,_0x360390[_0x450aa6(0x295)])(this[_0x450aa6(0x25b)][_0x450aa6(0x1b9)](_0x4a5bf4[_0x450aa6(0x429)],_0x4a5bf4['subUnitId'],_0x4a5bf4['drawingId']))&&this[_0x450aa6(0x360)][_0x450aa6(0x38c)](null);}else this[_0x450aa6(0x360)][_0x450aa6(0x2fd)]()&&(this[_0x450aa6(0x360)][_0x450aa6(0x34f)](!0x0),requestAnimationFrame(()=>{const _0x2101b6=_0x450aa6;this[_0x2101b6(0x360)][_0x2101b6(0x38c)](null);}));}else this['_shapeTextEditingService'][_0x450aa6(0x2fd)]()&&(this[_0x450aa6(0x360)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{this['_shapeTextEditingService']['setEditing'](null);}));})),this[_0x334a34(0x3c0)](this[_0x334a34(0x275)]['remove$']['subscribe'](_0x932908=>{const _0x258703=_0x334a34;let _0x426469=this['_shapeTextEditingService']['getEditing']();_0x426469&&_0x932908[_0x258703(0x420)](_0x58a237=>_0x58a237[_0x258703(0x215)]===_0x426469[_0x258703(0x124)])&&this[_0x258703(0x360)][_0x258703(0x38c)](null);}));}[_0x2ea0c4(0x1e0)](){const _0x448b99=_0x2ea0c4;this[_0x448b99(0x3c0)](this[_0x448b99(0x360)][_0x448b99(0x3c2)][_0x448b99(0x15f)](_0x33ac0d=>{const _0x529677=_0x448b99;let {scene:_0x43be0e}=this[_0x529677(0x130)];if(this[_0x529677(0x1cd)]){let _0x3cafe1=_0x43be0e[_0x529677(0x432)](this['_lastEditingShapeKey']);_0x3cafe1&&_0x3cafe1[_0x529677(0x38c)](!0x1);}if(_0x33ac0d){let _0x2ef43f=!!_0x33ac0d[_0x529677(0x197)],_0x2423f7=_0x43be0e[_0x529677(0x432)](_0x33ac0d[_0x529677(0x41d)]);_0x2423f7&&(_0x2423f7[_0x529677(0x38c)](_0x2ef43f),this['_lastEditingShapeKey']=_0x33ac0d['shapeKey']),this[_0x529677(0x16e)][_0x529677(0x1b5)](_0x3fe9b6['FOCUSING_SHAPE_TEXT_EDITOR'],_0x2ef43f);}else this[_0x529677(0x1cd)]=null,this[_0x529677(0x16e)][_0x529677(0x1b5)](_0x3fe9b6['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x508c50=_0x20d714([_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x383d16)),_0x26d55f(0x2,_0xcd0f0e[_0x2ea0c4(0x3c8)]),_0x26d55f(0x3,_0x3fe9b6[_0x2ea0c4(0x3ed)]),_0x26d55f(0x4,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2cb023[_0x2ea0c4(0x40f)]))],_0x508c50);let _0x3abd37=class extends _0x502542[_0x2ea0c4(0x349)]{constructor(_0x1ac882,_0x18eb6c,_0x10e970,_0x3f012e,_0x5e86a4){const _0x2f6464=_0x2ea0c4;super(_0x1ac882,_0x18eb6c,_0x10e970,_0x3f012e,_0x5e86a4,{'componentKey':_0x2f6464(0x30d),'editorUnitId':_0x1a57f2,'toolbarComponent':_0x502542[_0x2f6464(0x27f)]});}};_0x3abd37=_0x20d714([_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x485986[_0x2ea0c4(0x256)])),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2ef8df[_0x2ea0c4(0x24e)])),_0x26d55f(0x3,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2b76f2[_0x2ea0c4(0x136)])),_0x26d55f(0x4,(0x0,_0x3fe9b6['Inject'])(_0x2ef8df[_0x2ea0c4(0x3dd)]))],_0x3abd37);let _0x560525=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x2fab6f,_0x56d002,_0x1c18c1,_0x4f9ed2,_0x21fcc9,_0x32cfc3){const _0xfa9fb=_0x2ea0c4;super(),this[_0xfa9fb(0x3d4)]=_0x2fab6f,this[_0xfa9fb(0x200)]=_0x56d002,this[_0xfa9fb(0x275)]=_0x1c18c1,this[_0xfa9fb(0x194)]=_0x4f9ed2,this['_drawingRenderService']=_0x21fcc9,this[_0xfa9fb(0x1d6)]=_0x32cfc3,_0x144b44(this,_0xfa9fb(0x121),new Set()),this[_0xfa9fb(0x337)]();}[_0x2ea0c4(0x337)](){const _0x37fba0=_0x2ea0c4;this['_drawingAddListener'](),this[_0x37fba0(0x380)](),this[_0x37fba0(0x2af)]();}[_0x2ea0c4(0x342)](){const _0x46d3d8=_0x2ea0c4;this[_0x46d3d8(0x3c0)](this[_0x46d3d8(0x275)][_0x46d3d8(0x189)]['subscribe'](_0x20eb83=>{this['_insertShapes'](_0x20eb83);}));}[_0x2ea0c4(0x380)](){const _0x605158=_0x2ea0c4;this[_0x605158(0x3c0)](this['_commandService'][_0x605158(0x23e)](_0x457d1d=>{const _0x1a83d6=_0x605158;if(_0x457d1d['id']===_0x2cb023[_0x1a83d6(0x26a)]['id']){var _0xd2ccac;let {unitId:_0xb4cd7d,subUnitId:_0x209ef0,shapeId:_0x4baa0a}=_0x457d1d[_0x1a83d6(0x137)],_0x1b274d=this[_0x1a83d6(0x272)](_0xb4cd7d);if(_0x1b274d==null)return;let {scene:_0x1b5785}=_0x1b274d,_0x64829f=(0x0,_0xcd0f0e[_0x1a83d6(0x1f8)])({'unitId':_0xb4cd7d,'subUnitId':_0x209ef0,'drawingId':_0x4baa0a}),_0x4747fa=_0x1b5785[_0x1a83d6(0x432)](_0x64829f);if(!((_0xd2ccac=this['_renderManagerService'][_0x1a83d6(0x425)](_0xb4cd7d))!=null&&_0xd2ccac[_0x1a83d6(0x3f8)](_0x48ecbb[_0x1a83d6(0x3ff)])['getSkeleton'](_0x209ef0)))return!0x1;if(_0x4747fa)return;this[_0x1a83d6(0x1db)]([{'unitId':_0xb4cd7d,'subUnitId':_0x209ef0,'drawingId':_0x4baa0a}]);}}));}[_0x2ea0c4(0x2af)](){const _0x2385f7=_0x2ea0c4;this['disposeWithMe'](this['_drawingManagerService'][_0x2385f7(0x3a8)]['subscribe'](_0x564065=>{const _0x3587e0=_0x2385f7;_0x564065[_0x3587e0(0x31b)](_0x4822ca=>{const _0x35c3cd=_0x3587e0;let {unitId:_0xb2a90d,subUnitId:_0x364cf1,drawingId:_0x1dfcdb}=_0x4822ca,_0x2d8c63=this[_0x35c3cd(0x275)][_0x35c3cd(0x3e3)](_0x4822ca);if(_0x2d8c63==null)return;let {transform:_0x144a41,drawingType:_0x4426d9,srcRect:_0x2938c9,prstGeom:_0x47101d}=_0x2d8c63;if(_0x4426d9!==_0x3fe9b6[_0x35c3cd(0x225)]['DRAWING_SHAPE'])return;let _0x3a6687=this[_0x35c3cd(0x272)](_0xb2a90d);if(_0x3a6687==null)return;let {scene:_0x158c05,transformer:_0x2ece61}=_0x3a6687;if(_0x144a41==null)return!0x0;let _0x243d84=(0x0,_0xcd0f0e['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xb2a90d,'subUnitId':_0x364cf1,'drawingId':_0x1dfcdb}),_0x3c3f4d=_0x158c05[_0x35c3cd(0x432)](_0x243d84);if(_0x3c3f4d==null)return!0x0;_0x3c3f4d[_0x35c3cd(0x16f)](_0x2938c9),_0x3c3f4d[_0x35c3cd(0x37d)](_0x47101d);});}));}[_0x2ea0c4(0x1db)](_0x2673bb){const _0x52f552=_0x2ea0c4;for(let _0x53a845 of _0x2673bb){var _0x5f0e14;let {unitId:_0x2c4cf2,subUnitId:_0x10642e,drawingId:_0x4fdcde}=_0x53a845,_0x47f984=this[_0x52f552(0x272)](_0x2c4cf2),_0x376d23=(_0x5f0e14=(0x0,_0x3cfff1[_0x52f552(0x259)])(this['_currentUniverService'],_0x2c4cf2))==null?void 0x0:_0x5f0e14[_0x52f552(0x3aa)];if(_0x47f984==null||_0x376d23!==_0x10642e)return;let _0x31fa06=(0x0,_0xcd0f0e[_0x52f552(0x1f8)])({'unitId':_0x2c4cf2,'subUnitId':_0x10642e,'drawingId':_0x4fdcde});if(this[_0x52f552(0x121)]['has'](_0x31fa06)||_0x47f984['scene'][_0x52f552(0x432)](_0x31fa06)!=null)return;let _0x5f5d5a=this[_0x52f552(0x275)]['getDrawingByParam'](_0x53a845);if(_0x5f5d5a==null||_0x5f5d5a[_0x52f552(0x19a)]!==_0x3fe9b6[_0x52f552(0x225)]['DRAWING_SHAPE'])return;if((0x0,_0x360390[_0x52f552(0x295)])((_0x5f5d5a['data']||{})['shapeType'])){let _0x52f1e6=_0x5f5d5a[_0x52f552(0x3ec)];_0x52f1e6&&(_0x5f5d5a[_0x52f552(0x3ec)]={..._0x52f1e6,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x52f552(0x121)][_0x52f552(0x323)](_0x31fa06);try{this['_sheetDrawingShapeRenderController']['renderDrawingShape'](_0x5f5d5a,_0x47f984[_0x52f552(0x373)]);}finally{this[_0x52f552(0x121)]['delete'](_0x31fa06);}queueMicrotask(()=>{const _0x3f7f81=_0x52f552;if(this['_disposed'])return;let _0x4f5e03=(0x0,_0xcd0f0e['getDrawingShapeKeyByDrawingSearch'])(_0x53a845);_0x47f984[_0x3f7f81(0x373)]['getObjectIncludeInGroup'](_0x4f5e03)&&this[_0x3f7f81(0x275)]['refreshTransform']([_0x5f5d5a]);});}}[_0x2ea0c4(0x272)](_0x487bd7){const _0x4db4a7=_0x2ea0c4;if(_0x487bd7==null)return;let _0x396632=this['_renderManagerService'][_0x4db4a7(0x425)](_0x487bd7),_0x1cf9e2=_0x396632==null?void 0x0:_0x396632[_0x4db4a7(0x373)];return _0x1cf9e2==null?null:{'scene':_0x1cf9e2,'transformer':_0x1cf9e2[_0x4db4a7(0x279)]()};}};_0x560525=_0x20d714([_0x26d55f(0x0,_0x3fe9b6[_0x2ea0c4(0x2ec)]),_0x26d55f(0x1,_0x122d5a[_0x2ea0c4(0x238)]),_0x26d55f(0x2,_0xcd0f0e[_0x2ea0c4(0x3c8)]),_0x26d55f(0x3,_0x3fe9b6[_0x2ea0c4(0x287)]),_0x26d55f(0x4,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3cfff1['DrawingRenderService'])),_0x26d55f(0x5,(0x0,_0x3fe9b6['Inject'])(_0x3eccdb))],_0x560525);let _0x41bc05={'normal':{'fill':_0x360390['ShapeDefaultConfig'][_0x2ea0c4(0x17f)],'stroke':_0x360390[_0x2ea0c4(0x18d)][_0x2ea0c4(0x221)],'strokeWidth':_0x360390['ShapeDefaultConfig'][_0x2ea0c4(0x302)]},'highlighted':{'fill':_0x2ea0c4(0x1b8),'stroke':'#1a73e8','strokeWidth':0x2}};var _0x36016e=class extends _0x122d5a[_0x2ea0c4(0x191)]{constructor(_0x1781bb,_0x51b521){const _0x1557bd=_0x2ea0c4;super(_0x1781bb,_0x51b521),_0x144b44(this,_0x1557bd(0x38b),''),_0x144b44(this,_0x1557bd(0x1da),-0x1),_0x144b44(this,_0x1557bd(0x434),''),_0x144b44(this,_0x1557bd(0x154),''),_0x144b44(this,_0x1557bd(0x102),!0x1),_0x51b521&&this[_0x1557bd(0x2ca)](_0x51b521);}[_0x2ea0c4(0x220)](){return{'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'shapeId':this['_targetShapeId'],'cxnIndex':this['_cxnIndex']};}[_0x2ea0c4(0x2f3)](_0x9a57a1){const _0x3a0a22=_0x2ea0c4;this[_0x3a0a22(0x102)]!==_0x9a57a1&&(this[_0x3a0a22(0x102)]=_0x9a57a1,this['makeDirty'](!0x0));}[_0x2ea0c4(0x376)](){const _0x34eb96=_0x2ea0c4;return this[_0x34eb96(0x102)];}['setShapeProps'](_0x4ffd5f){const _0x12c5c3=_0x2ea0c4;var _0x16300a,_0x545a1e;_0x4ffd5f[_0x12c5c3(0x210)]!==void 0x0&&(this[_0x12c5c3(0x38b)]=_0x4ffd5f[_0x12c5c3(0x210)]),_0x4ffd5f[_0x12c5c3(0x159)]!==void 0x0&&(this['_cxnIndex']=_0x4ffd5f['cxnIndex']),_0x4ffd5f[_0x12c5c3(0x429)]!==void 0x0&&(this[_0x12c5c3(0x434)]=_0x4ffd5f[_0x12c5c3(0x429)]),_0x4ffd5f[_0x12c5c3(0x3aa)]!==void 0x0&&(this[_0x12c5c3(0x154)]=_0x4ffd5f[_0x12c5c3(0x3aa)]),_0x4ffd5f[_0x12c5c3(0x376)]!==void 0x0&&(this[_0x12c5c3(0x102)]=_0x4ffd5f['isHighlighted']),this[_0x12c5c3(0x413)]({'width':(_0x16300a=_0x4ffd5f[_0x12c5c3(0x1bf)])==null?_0x360390[_0x12c5c3(0x18d)][_0x12c5c3(0x20a)]*0x2:_0x16300a,'height':(_0x545a1e=_0x4ffd5f[_0x12c5c3(0x403)])==null?_0x360390[_0x12c5c3(0x18d)][_0x12c5c3(0x20a)]*0x2:_0x545a1e});}[_0x2ea0c4(0x3a6)](_0x196a04){const _0x24baf9=_0x2ea0c4;let _0x49c045=this['_isHighlighted']?_0x41bc05['highlighted']:_0x41bc05[_0x24baf9(0x294)];_0x122d5a['Circle']['drawWith'](_0x196a04,{'radius':_0x360390[_0x24baf9(0x18d)][_0x24baf9(0x20a)],'fill':_0x49c045[_0x24baf9(0x23b)],'stroke':_0x49c045[_0x24baf9(0x374)],'strokeWidth':_0x49c045[_0x24baf9(0x426)],'evented':!0x0});}};let _0x4fe1d3=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x5e7e04,_0x1c14d4,_0x1a67fd,_0x583e3c){const _0x15b5fd=_0x2ea0c4;super(),this[_0x15b5fd(0x130)]=_0x5e7e04,this['_renderManagerService']=_0x1c14d4,this[_0x15b5fd(0x275)]=_0x1a67fd,this[_0x15b5fd(0x25b)]=_0x583e3c,_0x144b44(this,_0x15b5fd(0x13a),[]),_0x144b44(this,_0x15b5fd(0x283),null),_0x144b44(this,_0x15b5fd(0x28b),-0x1),_0x144b44(this,_0x15b5fd(0x19c),null),_0x144b44(this,'_unitId',''),_0x144b44(this,_0x15b5fd(0x154),''),_0x144b44(this,'_draggingConnectorId',null);}[_0x2ea0c4(0x26d)](_0x247560,_0x3964ab,_0x4b4e3b,_0x4db433){const _0x48a8d7=_0x2ea0c4;this[_0x48a8d7(0x19c)]=_0x247560,this['_unitId']=_0x3964ab,this[_0x48a8d7(0x154)]=_0x4b4e3b,this[_0x48a8d7(0x1fd)]=_0x4db433;}['updateConnectionDetection'](_0x1aa649){const _0x3b2de5=_0x2ea0c4;if(!this[_0x3b2de5(0x19c)])return null;let _0x352c37=this[_0x3b2de5(0x24d)](_0x1aa649);return _0x352c37?(this[_0x3b2de5(0x283)]!==_0x352c37['shapeId']&&(this[_0x3b2de5(0x40e)](),this[_0x3b2de5(0x32a)](_0x352c37[_0x3b2de5(0x124)],_0x352c37['shapeModel']),this[_0x3b2de5(0x283)]=_0x352c37[_0x3b2de5(0x124)]),this[_0x3b2de5(0x21b)](_0x1aa649)):(this[_0x3b2de5(0x283)]!==null&&(this[_0x3b2de5(0x40e)](),this[_0x3b2de5(0x283)]=null),null);}[_0x2ea0c4(0x162)](){const _0x469ad7=_0x2ea0c4;this[_0x469ad7(0x40e)](),this['_currentScene']=null,this[_0x469ad7(0x283)]=null,this[_0x469ad7(0x28b)]=-0x1,this[_0x469ad7(0x1fd)]=null;}[_0x2ea0c4(0x3fc)](){const _0x5ef5ef=_0x2ea0c4;return this['_activeTargetShapeId']===null||this[_0x5ef5ef(0x28b)]<0x0?null:{'shapeId':this[_0x5ef5ef(0x283)],'cxnIndex':this[_0x5ef5ef(0x28b)]};}[_0x2ea0c4(0x24d)](_0x29e170){const _0x431d45=_0x2ea0c4;let _0x3e4158=this[_0x431d45(0x275)][_0x431d45(0x22c)](this[_0x431d45(0x434)],this['_subUnitId']);for(let _0x920a4 of Object[_0x431d45(0x16d)](_0x3e4158)){if(_0x920a4===this['_draggingConnectorId']||_0x3e4158[_0x920a4][_0x431d45(0x19a)]!==_0x3fe9b6[_0x431d45(0x225)][_0x431d45(0x1d9)])continue;let _0x3caf48=this[_0x431d45(0x25b)][_0x431d45(0x252)](this['_unitId'],this['_subUnitId'],_0x920a4);if(!_0x3caf48||(0x0,_0x360390[_0x431d45(0x295)])(_0x3caf48[_0x431d45(0x1b9)]())||_0x3caf48[_0x431d45(0x1b0)]()[_0x431d45(0x111)]===0x0||!this[_0x431d45(0x19c)])continue;let _0x3631f4=(0x0,_0xcd0f0e[_0x431d45(0x1f8)])({'unitId':this[_0x431d45(0x434)],'subUnitId':this[_0x431d45(0x154)],'drawingId':_0x920a4}),_0x24bcb0=this[_0x431d45(0x19c)][_0x431d45(0x432)](_0x3631f4);if(!_0x24bcb0)continue;let {left:_0x4a9f35,top:_0x5492a8,width:_0x5ece73,height:_0x4e44bd}=_0x24bcb0[_0x431d45(0x372)](),_0x374c57=_0x4a9f35+_0x5ece73/0x2,_0x3affe7=_0x5492a8+_0x4e44bd/0x2,_0x5cd949=_0x24bcb0[_0x431d45(0x3ec)][_0x431d45(0x20f)](),_0x6e95bb=new _0x122d5a[(_0x431d45(0x427))]([_0x5cd949[0x0],_0x5cd949[0x1],_0x5cd949[0x2],_0x5cd949[0x3],_0x374c57,_0x3affe7]),_0x3ea1b6=_0x24bcb0['getParent'](),_0x29f1a1=(_0x24bcb0['isInGroup']&&(_0x3ea1b6==null?void 0x0:_0x3ea1b6[_0x431d45(0x141)])===_0x122d5a[_0x431d45(0x31d)][_0x431d45(0x3e4)]?_0x3ea1b6[_0x431d45(0x164)][_0x431d45(0x1cc)](_0x6e95bb):_0x6e95bb)[_0x431d45(0x143)]()['applyPoint'](_0x29e170),_0x2d813f=_0x5ece73/0x2,_0x3f619a=_0x4e44bd/0x2;if(_0x29f1a1['x']>=-_0x2d813f-0x5&&_0x29f1a1['x']<=_0x2d813f+0x5&&_0x29f1a1['y']>=-_0x3f619a-0x5&&_0x29f1a1['y']<=_0x3f619a+0x5)return{'shapeId':_0x920a4,'shapeModel':_0x3caf48};}return null;}[_0x2ea0c4(0x32a)](_0x35a670,_0x4ade65){const _0xfcd1ff=_0x2ea0c4;if(!this[_0xfcd1ff(0x19c)])return;let _0x27ee71=(0x0,_0xcd0f0e[_0xfcd1ff(0x1f8)])({'unitId':this[_0xfcd1ff(0x434)],'subUnitId':this[_0xfcd1ff(0x154)],'drawingId':_0x35a670}),_0x19fae9=this[_0xfcd1ff(0x19c)][_0xfcd1ff(0x432)](_0x27ee71);if(!_0x19fae9)return;let {left:_0x305653,top:_0x317319,width:_0x4f0914,height:_0x58618c}=_0x19fae9[_0xfcd1ff(0x372)](),_0x41094d=_0x305653+_0x4f0914/0x2,_0x3ef041=_0x317319+_0x58618c/0x2,_0xee26c6=_0x19fae9[_0xfcd1ff(0x3ec)][_0xfcd1ff(0x20f)](),_0x4f97f7=new _0x122d5a[(_0xfcd1ff(0x427))]([_0xee26c6[0x0],_0xee26c6[0x1],_0xee26c6[0x2],_0xee26c6[0x3],_0x41094d,_0x3ef041]),_0x6612a1=_0x19fae9[_0xfcd1ff(0x36e)](),_0xde5b4c=_0x19fae9['isInGroup']&&(_0x6612a1==null?void 0x0:_0x6612a1['classType'])===_0x122d5a[_0xfcd1ff(0x31d)][_0xfcd1ff(0x3e4)]?_0x6612a1[_0xfcd1ff(0x164)]['multiply'](_0x4f97f7):_0x4f97f7;_0x4ade65['updateContext']({'width':_0x4f0914,'height':_0x58618c});let _0x2ede80=_0x4ade65[_0xfcd1ff(0x1b0)]();for(let _0x2774bd of _0x2ede80){let _0x85374a=_0x2774bd['x']-_0x4f0914/0x2,_0x13589c=_0x2774bd['y']-_0x58618c/0x2,_0x18f54b=_0xde5b4c[_0xfcd1ff(0x356)]({'x':_0x85374a,'y':_0x13589c}),_0x4cf2a4=_0x18f54b['x'],_0x167407=_0x18f54b['y'],_0x1b356d=new _0x36016e('connection-site-'+_0x35a670+'-'+_0x2774bd[_0xfcd1ff(0x247)],{'left':_0x4cf2a4-_0x360390[_0xfcd1ff(0x18d)][_0xfcd1ff(0x20a)],'top':_0x167407-_0x360390[_0xfcd1ff(0x18d)][_0xfcd1ff(0x20a)],'targetShapeId':_0x35a670,'cxnIndex':_0x2774bd[_0xfcd1ff(0x247)],'unitId':this['_unitId'],'subUnitId':this[_0xfcd1ff(0x154)],'width':_0x360390['ShapeDefaultConfig'][_0xfcd1ff(0x20a)]*0x2,'height':_0x360390[_0xfcd1ff(0x18d)][_0xfcd1ff(0x20a)]*0x2,'zIndex':_0x122d5a['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0xfcd1ff(0x13a)]['push'](_0x1b356d),this['_currentScene'][_0xfcd1ff(0x112)](_0x1b356d,_0x122d5a['DRAWING_OBJECT_LAYER_INDEX']+0x2);}}[_0x2ea0c4(0x21b)](_0x34f850){const _0x29eec1=_0x2ea0c4;let _0x3a9c76=null,_0x1e7f65=0x1/0x0,_0x15a8ba=null;for(let _0x36325d of this[_0x29eec1(0x13a)]){let _0x187318=_0x36325d[_0x29eec1(0x2b3)]+_0x360390[_0x29eec1(0x18d)][_0x29eec1(0x20a)],_0x3e8e53=_0x36325d['top']+_0x360390[_0x29eec1(0x18d)][_0x29eec1(0x20a)],_0x695ee7=_0x34f850['x']-_0x187318,_0x1d0422=_0x34f850['y']-_0x3e8e53,_0x3f137f=Math[_0x29eec1(0x409)](_0x695ee7*_0x695ee7+_0x1d0422*_0x1d0422);_0x3f137f<_0x1e7f65&&(_0x1e7f65=_0x3f137f,_0x3a9c76=_0x36325d,_0x15a8ba={'x':_0x187318,'y':_0x3e8e53});}let _0x26bab6=_0x1e7f65<=0xa&&_0x3a9c76?_0x3a9c76[_0x29eec1(0x220)]()['cxnIndex']:-0x1;if(_0x26bab6!==this['_highlightedSiteIndex']){for(let _0x610a1d of this[_0x29eec1(0x13a)]){let _0x2fc679=_0x610a1d[_0x29eec1(0x220)]();_0x610a1d[_0x29eec1(0x2f3)](_0x2fc679[_0x29eec1(0x159)]===_0x26bab6);}this[_0x29eec1(0x28b)]=_0x26bab6;}if(_0x1e7f65<=0xa&&_0x3a9c76&&_0x15a8ba){let _0x1b999e=_0x3a9c76[_0x29eec1(0x220)](),_0x24690a=this[_0x29eec1(0x20e)](_0x1b999e[_0x29eec1(0x124)],_0x1b999e['cxnIndex']);return{'shapeId':_0x1b999e[_0x29eec1(0x124)],'cxnIndex':_0x1b999e[_0x29eec1(0x159)],'unitId':_0x1b999e[_0x29eec1(0x429)],'subUnitId':_0x1b999e[_0x29eec1(0x3aa)],'worldPoint':_0x15a8ba,'angle':_0x24690a};}return null;}[_0x2ea0c4(0x20e)](_0x3173aa,_0x2f20e4){const _0x167548=_0x2ea0c4;let _0x3c5347=this[_0x167548(0x25b)][_0x167548(0x252)](this[_0x167548(0x434)],this[_0x167548(0x154)],_0x3173aa);if(!_0x3c5347)return 0x0;let _0x1e6716=this[_0x167548(0x275)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x167548(0x154)],'drawingId':_0x3173aa});if(!(_0x1e6716!=null&&_0x1e6716[_0x167548(0x3ec)]))return 0x0;let {width:_0x400dcf=0x0,height:_0x400877=0x0,flipX:_0x1ef55b=!0x1,flipY:_0x4fc05f=!0x1}=_0x1e6716['transform'];_0x3c5347[_0x167548(0x21d)]({'width':_0x400dcf,'height':_0x400877});let _0x2f6d4e=_0x3c5347[_0x167548(0x1b0)]()['find'](_0x528eb2=>_0x528eb2[_0x167548(0x247)]===_0x2f20e4);if(!_0x2f6d4e)return 0x0;let _0x5f0145=_0x2f6d4e['ang']/0xea60;return _0x1ef55b&&(_0x5f0145=0xb4-_0x5f0145),_0x4fc05f&&(_0x5f0145=-_0x5f0145),_0x5f0145=(_0x5f0145%0x168+0x168)%0x168,_0x5f0145;}[_0x2ea0c4(0x40e)](){const _0x2d478b=_0x2ea0c4;for(let _0x28b1f2 of this[_0x2d478b(0x13a)])_0x28b1f2[_0x2d478b(0x14f)]();this['_connectionSiteObjects']=[],this[_0x2d478b(0x28b)]=-0x1;}[_0x2ea0c4(0x14f)](){const _0x59dbbd=_0x2ea0c4;this[_0x59dbbd(0x40e)](),super[_0x59dbbd(0x14f)]();}};_0x4fe1d3=_0x20d714([_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x122d5a[_0x2ea0c4(0x238)])),_0x26d55f(0x2,(0x0,_0x3fe9b6['Inject'])(_0xcd0f0e[_0x2ea0c4(0x3c8)])),_0x26d55f(0x3,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2cb023['SheetsShapeService']))],_0x4fe1d3);let _0x585fa5=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x1e16e2,_0x483196,_0x2e1bca,_0x221d15,_0x3361fc){const _0xb0854a=_0x2ea0c4;super(),this[_0xb0854a(0x1d1)]=_0x1e16e2,this[_0xb0854a(0x311)]=_0x483196,this[_0xb0854a(0x309)]=_0x2e1bca,this['_shapeService']=_0x221d15,this[_0xb0854a(0x394)]=_0x3361fc,_0x144b44(this,_0xb0854a(0x35a),void 0x0),this['_initCopyPaste'](),this[_0xb0854a(0x2d2)]();}get[_0x2ea0c4(0x2be)](){return this['_sheetDrawingService']['getFocusDrawings']();}[_0x2ea0c4(0x2d2)](){const _0x13d2c6=_0x2ea0c4;this['_groupCopyPasteController'][_0x13d2c6(0x397)](({fromUnitId:_0x55bc1c,fromSubUnitId:_0x3782c4,toUnitId:_0x59a9d2,toSubUnitId:_0x58e2ce,idMap:_0x3d6aea})=>{const _0x33b6ac=_0x13d2c6;let _0x481073=[],_0x5d4d88=[];for(let [_0x1b7173,_0x32c97e]of _0x3d6aea[_0x33b6ac(0x132)]()){let _0x317bc6=this['_shapeService'][_0x33b6ac(0x252)](_0x55bc1c,_0x3782c4,_0x1b7173);if(!_0x317bc6)continue;let _0x3b0fcc=_0x317bc6['getShapeType'](),_0x5dffc2=JSON[_0x33b6ac(0x2f1)](JSON[_0x33b6ac(0x3b3)](_0x317bc6['getShapeData']()));if(_0x5dffc2[_0x33b6ac(0x134)]){var _0x4034ad,_0x2331d8;let _0x3ad95f=(_0x4034ad=_0x5dffc2[_0x33b6ac(0x134)][_0x33b6ac(0x11b)])==null?void 0x0:_0x4034ad[_0x33b6ac(0x124)],_0x51495f=(_0x2331d8=_0x5dffc2[_0x33b6ac(0x134)]['to'])==null?void 0x0:_0x2331d8[_0x33b6ac(0x124)],_0x50cfde=_0x3ad95f?_0x3d6aea[_0x33b6ac(0x1fb)](_0x3ad95f):!0x0,_0xe19ba=_0x51495f?_0x3d6aea['has'](_0x51495f):!0x0;_0x50cfde&&_0x3ad95f&&_0x5dffc2[_0x33b6ac(0x134)][_0x33b6ac(0x11b)]?_0x5dffc2[_0x33b6ac(0x134)][_0x33b6ac(0x11b)]={..._0x5dffc2['relation'][_0x33b6ac(0x11b)],'shapeId':_0x3d6aea[_0x33b6ac(0x263)](_0x3ad95f)}:_0x5dffc2[_0x33b6ac(0x134)][_0x33b6ac(0x11b)]=void 0x0,_0xe19ba&&_0x51495f&&_0x5dffc2[_0x33b6ac(0x134)]['to']?_0x5dffc2[_0x33b6ac(0x134)]['to']={..._0x5dffc2[_0x33b6ac(0x134)]['to'],'shapeId':_0x3d6aea['get'](_0x51495f)}:_0x5dffc2[_0x33b6ac(0x134)]['to']=void 0x0;}_0x481073['push']({'id':_0x2cb023[_0x33b6ac(0x26a)]['id'],'params':{'unitId':_0x59a9d2,'subUnitId':_0x58e2ce,'shapeId':_0x32c97e,'shapeType':_0x3b0fcc,'shapeData':_0x5dffc2}}),_0x5d4d88['push']({'id':_0x2cb023[_0x33b6ac(0x117)]['id'],'params':{'unitId':_0x59a9d2,'subUnitId':_0x58e2ce,'shapeId':_0x32c97e}});}return{'redos':_0x481073,'undos':_0x5d4d88};});}[_0x2ea0c4(0x278)](){const _0x3ab1ca=_0x2ea0c4;this['disposeWithMe'](this[_0x3ab1ca(0x311)][_0x3ab1ca(0x2a1)]({'id':_0x3ab1ca(0x188),'onBeforeCopy':(_0x11d4ea,_0x3bcccf,_0x28c32e,_0x46415e)=>{const _0x339fbe=_0x3ab1ca;this[_0x339fbe(0x35a)]=null;let _0x38f0ef=this['_focusedDrawings'];if(_0x38f0ef['length']){let _0xa60b8=_0x38f0ef[_0x339fbe(0x222)](_0x5a5d8d=>_0x5a5d8d[_0x339fbe(0x19a)]===_0x3fe9b6[_0x339fbe(0x225)]['DRAWING_SHAPE']);if(_0xa60b8[_0x339fbe(0x111)]===0x0)return;this['_copyInfo']={'unitId':_0x11d4ea,'subUnitId':_0x3bcccf,'copyType':_0x46415e,'drawings':_0xa60b8};}else this[_0x339fbe(0x27d)](_0x11d4ea,_0x3bcccf,_0x28c32e,_0x46415e);},'onPasteCells':(_0x1e9a6d,_0x4df5e4,_0x5c6fde,_0x4f33df)=>{const _0x420c65=_0x3ab1ca;if(!this[_0x420c65(0x35a)])return{'redos':[],'undos':[]};let {pasteType:_0x466744}=_0x4f33df;return _0x466744===_0x48ecbb[_0x420c65(0x2ea)]['DEFAULT_PASTE']?this['_generatePasteMutations'](_0x4df5e4,this[_0x420c65(0x35a)][_0x420c65(0x201)]===_0x48ecbb['COPY_TYPE'][_0x420c65(0x1af)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x32ec10=>this['_copyInfo']?this[_0x3ab1ca(0x2b4)](_0x32ec10,this[_0x3ab1ca(0x35a)][_0x3ab1ca(0x201)]===_0x48ecbb[_0x3ab1ca(0x325)][_0x3ab1ca(0x1af)]):{'redos':[],'undos':[]}}));}['_createCopyInfoByRange'](_0x556b8c,_0x3d9e0f,_0xc62aa9,_0x3bd912){const _0x17c1a4=_0x2ea0c4;let _0x2163a9=this['_sheetSkeletonService'][_0x17c1a4(0x2f8)](_0x556b8c,_0x3d9e0f);if(!_0x2163a9)return;let _0x2311e0=(0x0,_0x12af8f[_0x17c1a4(0x30b)])(_0x2163a9,_0xc62aa9);if(!_0x2311e0)return;let {startX:_0x54733b,endX:_0x3bb308,startY:_0x1b80f7,endY:_0x25272c}=_0x2311e0,_0x4e7fc2=this[_0x17c1a4(0x309)][_0x17c1a4(0x22c)](_0x556b8c,_0x3d9e0f),_0x509730=this[_0x17c1a4(0x2be)][_0x17c1a4(0x3c3)]();for(let [_0x5c6d0a,_0x445e3f]of Object[_0x17c1a4(0x132)](_0x4e7fc2)){if(_0x445e3f['drawingType']!==_0x3fe9b6[_0x17c1a4(0x225)]['DRAWING_SHAPE'])continue;let {transform:_0x45c4e8}=_0x445e3f;if(!_0x45c4e8)continue;let {left:_0x497ec5=0x0,top:_0x4a58fa=0x0,width:_0x18c64b=0x0,height:_0x43bfa0=0x0}=_0x45c4e8;_0x54733b<=_0x497ec5&&_0x3bb308>=_0x497ec5+_0x18c64b&&_0x1b80f7<=_0x4a58fa&&_0x25272c>=_0x4a58fa+_0x43bfa0&&_0x509730['push'](_0x445e3f);}_0x509730['length']>0x0&&(this[_0x17c1a4(0x35a)]={'unitId':_0x556b8c,'subUnitId':_0x3d9e0f,'copyType':_0x3bd912,'copyRange':_0xc62aa9,'drawings':_0x509730});}[_0x2ea0c4(0x2b4)](_0x37c0db,_0x4d1afe){const _0x937874=_0x2ea0c4;let {unitId:_0x1f5e3c,subUnitId:_0x377c22,range:_0xe29812}=_0x37c0db,_0x2e1464=this[_0x937874(0x1d1)][_0x937874(0x2f8)](_0x1f5e3c,_0x377c22);if(!_0x2e1464)return{'redos':[],'undos':[]};let _0x16928b=(0x0,_0x12af8f[_0x937874(0x198)])(_0xe29812),{unitId:_0x281c0b,subUnitId:_0x405ef7,copyRange:_0x4aa70c,drawings:_0x1d5af7}=this[_0x937874(0x35a)],_0x9b32b2=this[_0x937874(0x1d1)][_0x937874(0x2f8)](_0x281c0b,_0x405ef7);if(!_0x9b32b2)return{'redos':[],'undos':[]};let _0xffae75;if(!_0x4aa70c){let _0x255489=0x1/0x0,_0x2ab172=0x1/0x0;for(let _0x496a73 of _0x1d5af7){var _0x58c294;let {left:_0x2a14e8=0x0,top:_0x2abf4c=0x0}=(_0x58c294=_0x496a73[_0x937874(0x3ec)])==null?{}:_0x58c294;_0x2a14e8<_0x255489&&(_0x255489=_0x2a14e8),_0x2abf4c<_0x2ab172&&(_0x2ab172=_0x2abf4c);}_0x255489!==0x1/0x0&&_0x2ab172!==0x1/0x0&&(_0xffae75={'left':_0x255489,'top':_0x2ab172});}let _0x3b81c1=new Map();if(!_0x4d1afe){for(let _0x5b4875 of _0x1d5af7)_0x3b81c1[_0x937874(0x152)](_0x5b4875['drawingId'],(0x0,_0x3fe9b6[_0x937874(0x387)])());}let _0x3a28a2=[],_0x5771ea=[];for(let _0x12dedf of _0x1d5af7){let {drawingId:_0x32e6b8,transform:_0x2cddeb,sheetTransform:_0x8479c}=_0x12dedf;if(!_0x2cddeb||!_0x8479c)continue;let _0x34ff29=this[_0x937874(0x40d)]({'transform':_0x2cddeb,'sheetTransform':_0x8479c},{'skeleton':_0x9b32b2,'range':_0x4aa70c},{'skeleton':_0x2e1464,'range':_0x16928b},_0xffae75);if(_0x4d1afe){let {redos:_0x50253d,undos:_0x1e2c36}=this[_0x937874(0x128)]({'fromUnitId':_0x281c0b,'fromSubUnitId':_0x405ef7,'toUnitId':_0x1f5e3c,'toSubUnitId':_0x377c22,'drawing':_0x12dedf,'newTransforms':_0x34ff29});_0x3a28a2[_0x937874(0x35c)](..._0x50253d),_0x5771ea[_0x937874(0x35c)](..._0x1e2c36);continue;}let {redos:_0x28b785,undos:_0x5ffc5c}=this[_0x937874(0x1ab)]({'toUnitId':_0x1f5e3c,'toSubUnitId':_0x377c22,'drawing':_0x12dedf,'newTransforms':_0x34ff29,'newDrawingId':_0x3b81c1[_0x937874(0x263)](_0x32e6b8),'idMap':_0x3b81c1});_0x3a28a2[_0x937874(0x35c)](..._0x28b785),_0x5771ea[_0x937874(0x35c)](..._0x5ffc5c);}return{'redos':_0x3a28a2,'undos':_0x5771ea};}['_generateCutPasteMutations'](_0x4fae00){const _0x2c4782=_0x2ea0c4;let {fromUnitId:_0x53414a,fromSubUnitId:_0x4971e0,toUnitId:_0x10da9c,toSubUnitId:_0x2f8e6a,drawing:_0x236881,newTransforms:_0x43d84f}=_0x4fae00,_0x564f07={..._0x236881,'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'transform':_0x43d84f[_0x2c4782(0x3ec)],'sheetTransform':_0x43d84f[_0x2c4782(0x116)]};if(_0x10da9c===_0x53414a&&_0x2f8e6a===_0x4971e0){let {redo:_0x387dad,undo:_0x16161c,objects:_0x56d8e3}=this[_0x2c4782(0x309)][_0x2c4782(0x338)]([_0x564f07]);return{'redos':[{'id':_0x1ba3d5[_0x2c4782(0x2e7)]['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'type':_0x1ba3d5['DrawingApplyType']['UPDATE'],'op':_0x387dad,'objects':_0x56d8e3}}],'undos':[{'id':_0x1ba3d5['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'type':_0x1ba3d5['DrawingApplyType'][_0x2c4782(0x11a)],'op':_0x16161c,'objects':_0x56d8e3}}]};}else{let _0x3aaf69=this[_0x2c4782(0x309)][_0x2c4782(0x423)]([_0x236881]),_0xce760f=this[_0x2c4782(0x309)][_0x2c4782(0x1f1)]([_0x564f07]),_0x2a7c1c=this['_shapeService']['getShapeModel'](_0x236881[_0x2c4782(0x429)],_0x236881[_0x2c4782(0x3aa)],_0x236881[_0x2c4782(0x215)]);if(!_0x2a7c1c)return{'redos':[],'undos':[]};let _0x889eba=_0x2a7c1c[_0x2c4782(0x1b9)](),_0x5584cc=JSON[_0x2c4782(0x2f1)](JSON[_0x2c4782(0x3b3)](_0x2a7c1c[_0x2c4782(0x11d)]()));return{'redos':[{'id':_0x1ba3d5[_0x2c4782(0x2e7)]['id'],'params':{'unitId':_0x53414a,'subUnitId':_0x4971e0,'type':_0x1ba3d5[_0x2c4782(0x18e)][_0x2c4782(0x255)],'op':_0x3aaf69[_0x2c4782(0x160)],'objects':_0x3aaf69[_0x2c4782(0x1bd)]}},{'id':_0x2cb023[_0x2c4782(0x117)]['id'],'params':{'unitId':_0x53414a,'subUnitId':_0x4971e0,'shapeId':_0x236881[_0x2c4782(0x215)]}},{'id':_0x1ba3d5[_0x2c4782(0x2e7)]['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'type':_0x1ba3d5['DrawingApplyType']['INSERT'],'op':_0xce760f[_0x2c4782(0x160)],'objects':_0xce760f[_0x2c4782(0x1bd)]}},{'id':_0x2cb023[_0x2c4782(0x26a)]['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'shapeId':_0x236881['drawingId'],'shapeType':_0x889eba,'shapeData':_0x5584cc}}],'undos':[{'id':_0x1ba3d5[_0x2c4782(0x2e7)]['id'],'params':{'unitId':_0x53414a,'subUnitId':_0x4971e0,'type':_0x1ba3d5[_0x2c4782(0x18e)][_0x2c4782(0x2bd)],'op':_0x3aaf69[_0x2c4782(0x346)],'objects':_0x3aaf69[_0x2c4782(0x1bd)]}},{'id':_0x2cb023[_0x2c4782(0x26a)]['id'],'params':{'unitId':_0x53414a,'subUnitId':_0x4971e0,'shapeId':_0x236881[_0x2c4782(0x215)],'shapeType':_0x889eba,'shapeData':_0x5584cc}},{'id':_0x1ba3d5['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'type':_0x1ba3d5[_0x2c4782(0x18e)][_0x2c4782(0x255)],'op':_0xce760f['undo'],'objects':_0xce760f[_0x2c4782(0x1bd)]}},{'id':_0x2cb023[_0x2c4782(0x117)]['id'],'params':{'unitId':_0x10da9c,'subUnitId':_0x2f8e6a,'shapeId':_0x236881[_0x2c4782(0x215)]}}]};}}[_0x2ea0c4(0x1ab)](_0xb520ea){const _0x558bc7=_0x2ea0c4;let {toUnitId:_0x143e52,toSubUnitId:_0x271a4f,drawing:_0x1be398,newTransforms:_0x5752d5,newDrawingId:_0x57959a,idMap:_0x2774d2}=_0xb520ea,_0x5e6a0c={..._0x1be398,'unitId':_0x143e52,'subUnitId':_0x271a4f,'drawingId':_0x57959a,'transform':_0x5752d5[_0x558bc7(0x3ec)],'sheetTransform':_0x5752d5[_0x558bc7(0x116)]},{redo:_0x151050,undo:_0x4712a0,objects:_0xcf173a}=this[_0x558bc7(0x309)][_0x558bc7(0x1f1)]([_0x5e6a0c]),_0x466cd2=this[_0x558bc7(0x355)][_0x558bc7(0x252)](_0x1be398['unitId'],_0x1be398['subUnitId'],_0x1be398['drawingId']);if(!_0x466cd2)return{'redos':[],'undos':[]};let _0x3ecf6a=_0x466cd2[_0x558bc7(0x1b9)](),_0x9063b6=JSON[_0x558bc7(0x2f1)](JSON['stringify'](_0x466cd2[_0x558bc7(0x11d)]()));if(_0x9063b6['relation']){var _0x39d594,_0x7653a9;let _0x4f3e19=(_0x39d594=_0x9063b6['relation'][_0x558bc7(0x11b)])==null?void 0x0:_0x39d594[_0x558bc7(0x124)],_0x5f3912=(_0x7653a9=_0x9063b6[_0x558bc7(0x134)]['to'])==null?void 0x0:_0x7653a9['shapeId'],_0x4ff310=_0x4f3e19?_0x2774d2[_0x558bc7(0x1fb)](_0x4f3e19):!0x0,_0x55b978=_0x5f3912?_0x2774d2[_0x558bc7(0x1fb)](_0x5f3912):!0x0;_0x4ff310&&_0x4f3e19&&_0x9063b6[_0x558bc7(0x134)][_0x558bc7(0x11b)]?_0x9063b6[_0x558bc7(0x134)][_0x558bc7(0x11b)]={..._0x9063b6['relation'][_0x558bc7(0x11b)],'shapeId':_0x2774d2[_0x558bc7(0x263)](_0x4f3e19)}:_0x9063b6['relation']['from']=void 0x0,_0x55b978&&_0x5f3912&&_0x9063b6[_0x558bc7(0x134)]['to']?_0x9063b6[_0x558bc7(0x134)]['to']={..._0x9063b6[_0x558bc7(0x134)]['to'],'shapeId':_0x2774d2[_0x558bc7(0x263)](_0x5f3912)}:_0x9063b6[_0x558bc7(0x134)]['to']=void 0x0;}return{'redos':[{'id':_0x1ba3d5[_0x558bc7(0x2e7)]['id'],'params':{'unitId':_0x143e52,'subUnitId':_0x271a4f,'type':_0x1ba3d5[_0x558bc7(0x18e)]['INSERT'],'op':_0x151050,'objects':_0xcf173a}},{'id':_0x2cb023[_0x558bc7(0x26a)]['id'],'params':{'unitId':_0x143e52,'subUnitId':_0x271a4f,'shapeId':_0x57959a,'shapeType':_0x3ecf6a,'shapeData':_0x9063b6}}],'undos':[{'id':_0x1ba3d5['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x143e52,'subUnitId':_0x271a4f,'type':_0x1ba3d5[_0x558bc7(0x18e)][_0x558bc7(0x255)],'op':_0x4712a0,'objects':_0xcf173a}},{'id':_0x2cb023['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x143e52,'subUnitId':_0x271a4f,'shapeId':_0x57959a}}]};}[_0x2ea0c4(0x40d)](_0x39f1b4,_0x129610,_0x4a146d,_0x347109){const _0x3e9963=_0x2ea0c4;var _0x430369;let {range:_0x5ee780,skeleton:_0x43319b}=_0x129610,{range:_0x4b3eb8,skeleton:_0x452568}=_0x4a146d,{transform:_0xda5aa,sheetTransform:_0x275661}=_0x39f1b4,_0x147046={..._0xda5aa};if(_0x5ee780){let _0x10e2fb=(0x0,_0x12af8f['attachRangeWithCoord'])(_0x43319b,_0x5ee780),_0x510dff=(0x0,_0x12af8f['attachRangeWithCoord'])(_0x452568,_0x4b3eb8);if(_0x10e2fb&&_0x510dff){var _0x12b4b1,_0x48ada3;let _0x4e5291=_0x510dff[_0x3e9963(0x182)]-_0x10e2fb['startX'],_0x1a0fd3=_0x510dff[_0x3e9963(0x144)]-_0x10e2fb[_0x3e9963(0x144)];_0x147046[_0x3e9963(0x2b3)]=((_0x12b4b1=_0x147046[_0x3e9963(0x2b3)])==null?0x0:_0x12b4b1)+_0x4e5291,_0x147046[_0x3e9963(0x176)]=((_0x48ada3=_0x147046['top'])==null?0x0:_0x48ada3)+_0x1a0fd3;}}else{let _0x5d07dd=(0x0,_0x12af8f[_0x3e9963(0x30b)])(_0x452568,_0x4b3eb8);if(_0x347109&&_0x5d07dd){var _0x45a6ac,_0x369339;let _0x4ee1cb=((_0x45a6ac=_0x147046['left'])==null?0x0:_0x45a6ac)-_0x347109[_0x3e9963(0x2b3)],_0x3ded70=((_0x369339=_0x147046[_0x3e9963(0x176)])==null?0x0:_0x369339)-_0x347109['top'];_0x147046[_0x3e9963(0x2b3)]=_0x5d07dd[_0x3e9963(0x182)]+_0x4ee1cb,_0x147046['top']=_0x5d07dd['startY']+_0x3ded70;}else _0x147046[_0x3e9963(0x2b3)]=_0x5d07dd==null?void 0x0:_0x5d07dd[_0x3e9963(0x182)],_0x147046[_0x3e9963(0x176)]=_0x5d07dd==null?void 0x0:_0x5d07dd[_0x3e9963(0x144)];}return{'transform':_0x147046,'sheetTransform':(_0x430369=(0x0,_0x1ba3d5[_0x3e9963(0x2e2)])(_0x147046,_0x452568))==null?_0x275661:_0x430369};}};_0x585fa5=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6['Inject'])(_0x12af8f[_0x2ea0c4(0x19f)])),_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x48ecbb['ISheetClipboardService'])),_0x26d55f(0x2,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x1ba3d5[_0x2ea0c4(0x230)])),_0x26d55f(0x3,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2cb023[_0x2ea0c4(0x40f)])),_0x26d55f(0x4,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x20f931[_0x2ea0c4(0x3f9)]))],_0x585fa5);var _0x230b53=class extends _0x122d5a[_0x2ea0c4(0x191)]{constructor(_0x481018,_0x1a0a59){const _0x16f75f=_0x2ea0c4;super(_0x481018,_0x1a0a59),_0x144b44(this,_0x16f75f(0x26e),null),_0x144b44(this,_0x16f75f(0x2a9),null),_0x144b44(this,_0x16f75f(0x434),null),_0x144b44(this,_0x16f75f(0x154),null),_0x144b44(this,_0x16f75f(0x407),!0x1),_0x1a0a59&&this[_0x16f75f(0x2ca)](_0x1a0a59);}[_0x2ea0c4(0x14e)](){const _0x412e7d=_0x2ea0c4;return{'unitId':this[_0x412e7d(0x434)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x412e7d(0x26e)]};}[_0x2ea0c4(0x2ca)](_0x53bb9b){const _0x174ed4=_0x2ea0c4;_0x53bb9b[_0x174ed4(0x124)]!==void 0x0&&(this[_0x174ed4(0x26e)]=_0x53bb9b[_0x174ed4(0x124)]),_0x53bb9b[_0x174ed4(0x429)]!==void 0x0&&(this['_unitId']=_0x53bb9b['unitId']),_0x53bb9b[_0x174ed4(0x3aa)]!==void 0x0&&(this[_0x174ed4(0x154)]=_0x53bb9b[_0x174ed4(0x3aa)]),_0x53bb9b[_0x174ed4(0x180)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x53bb9b[_0x174ed4(0x180)]),this[_0x174ed4(0x413)]({'width':_0x53bb9b[_0x174ed4(0x1bf)],'height':_0x53bb9b[_0x174ed4(0x403)]});}[_0x2ea0c4(0x3a6)](_0x2620d7){const _0x296cad=_0x2ea0c4;_0x122d5a[_0x296cad(0x181)][_0x296cad(0x385)](_0x2620d7,{'radius':_0x360390[_0x296cad(0x18d)][_0x296cad(0x20a)],'fill':_0x360390[_0x296cad(0x18d)][_0x296cad(0x17f)],'stroke':_0x360390[_0x296cad(0x18d)][_0x296cad(0x221)],'strokeWidth':_0x360390['ShapeDefaultConfig']['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x4cd232=class extends _0x3fe9b6['Disposable']{constructor(_0x40c7c6,_0x5329c1,_0xef511b,_0x82db59,_0x8469fa,_0xd8fc0b,_0x5508a7,_0x3065ec){const _0x41de55=_0x2ea0c4;super(),this[_0x41de55(0x130)]=_0x40c7c6,this[_0x41de55(0x3d4)]=_0x5329c1,this['_renderManagerService']=_0xef511b,this[_0x41de55(0x275)]=_0x82db59,this[_0x41de55(0x2ba)]=_0x8469fa,this['_sheetsShapeService']=_0xd8fc0b,this[_0x41de55(0x352)]=_0x5508a7,this['_sheetBasicShapeConnectionPointController']=_0x3065ec,_0x144b44(this,_0x41de55(0x1be),void 0x0),_0x144b44(this,_0x41de55(0x434),void 0x0),_0x144b44(this,_0x41de55(0x154),void 0x0),_0x144b44(this,'_connectorObjects',[]),_0x144b44(this,_0x41de55(0x1f7),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x144b44(this,_0x41de55(0xf9),void 0x0),_0x144b44(this,_0x41de55(0x1b1),!0x1),_0x144b44(this,'_isDrawingShapePointDown',!0x1),_0x144b44(this,_0x41de55(0x38a),!0x1),_0x144b44(this,_0x41de55(0x207),void 0x0),_0x144b44(this,'_cxtHandlerPointerUp',void 0x0),_0x144b44(this,'_currentConnectionTarget',null),this['_initialize']();}[_0x2ea0c4(0x337)](){const _0x149449=_0x2ea0c4;this['_registerDrawingFocusChangeHandler'](),this[_0x149449(0x262)]();}[_0x2ea0c4(0x251)](){const _0x184a9b=_0x2ea0c4;if(!this[_0x184a9b(0x434)]||!this[_0x184a9b(0x154)]||!this['_activeShapeId'])return;let _0x5390f5={'unitId':this[_0x184a9b(0x434)],'subUnitId':this[_0x184a9b(0x154)],'drawingId':this[_0x184a9b(0x1be)]},{transform:_0xff936b}=this['_drawingManagerService'][_0x184a9b(0x3e3)](_0x5390f5);if(_0xff936b)return{'left':_0xff936b[_0x184a9b(0x2b3)]||0x0,'top':_0xff936b[_0x184a9b(0x176)]||0x0,'width':_0xff936b[_0x184a9b(0x1bf)]||0x0,'height':_0xff936b[_0x184a9b(0x403)]||0x0,'flipX':_0xff936b[_0x184a9b(0x17a)]||!0x1,'flipY':_0xff936b[_0x184a9b(0x30e)]||!0x1,'angle':_0xff936b[_0x184a9b(0x2a0)]};}['_addShapeConnectorHandlerObjects'](){const _0x401c8b=_0x2ea0c4;if(this[_0x401c8b(0x434)]===void 0x0||this['_subUnitId']===void 0x0||this[_0x401c8b(0x1be)]===void 0x0)return;let _0x5aa085=this[_0x401c8b(0x200)][_0x401c8b(0x425)](this[_0x401c8b(0x434)]);if(!_0x5aa085||!_0x5aa085[_0x401c8b(0x3f8)](_0x48ecbb[_0x401c8b(0x3ff)])[_0x401c8b(0x1d3)]())return;let {scene:_0x7bb68}=_0x5aa085,_0x245abb=this['_getDrawingRect']();if(!_0x245abb)return;let _0x497c57=this[_0x401c8b(0x25b)][_0x401c8b(0x252)](this['_unitId'],this['_subUnitId'],this[_0x401c8b(0x1be)]);if(!_0x497c57||!(0x0,_0x360390[_0x401c8b(0x295)])(_0x497c57['getShapeType']()))return;let _0x349dba=_0x497c57['getConnectorLinePoints']();if(_0x349dba[_0x401c8b(0x111)]<0x2)return;let _0xac306=new _0x360390[(_0x401c8b(0x3c9))](_0x245abb),_0x5ddc47=_0x349dba[0x0],_0x122b8c=_0x349dba[_0x349dba[_0x401c8b(0x111)]-0x1],_0x3953f=_0xac306['localToWorld'](_0x5ddc47),_0x81f67=_0xac306['localToWorld'](_0x122b8c);this[_0x401c8b(0x155)](_0x7bb68,{..._0x3953f},!0x0),this['_addShapeConnectorHandlerObject'](_0x7bb68,{..._0x81f67},!0x1);}[_0x2ea0c4(0x155)](_0x2070fc,_0x4fbb1d,_0x507000){const _0x5b34b1=_0x2ea0c4;if(this[_0x5b34b1(0x1be)]===void 0x0||this['_unitId']===void 0x0||this[_0x5b34b1(0x154)]===void 0x0)return;let _0x4d1a48=_0x5b34b1(0x3d9)+this[_0x5b34b1(0x434)]+'-'+this[_0x5b34b1(0x154)]+'-'+this[_0x5b34b1(0x1be)]+'-'+(_0x507000?_0x5b34b1(0x336):_0x5b34b1(0x18f)),_0x437b06=_0x2070fc[_0x5b34b1(0x432)](_0x4d1a48);if(_0x437b06){_0x437b06[_0x5b34b1(0x413)]({'left':_0x4fbb1d['x']-_0x360390[_0x5b34b1(0x18d)][_0x5b34b1(0x20a)],'top':_0x4fbb1d['y']-_0x360390[_0x5b34b1(0x18d)][_0x5b34b1(0x20a)]});return;}let _0x17aee2=new _0x230b53(_0x4d1a48,{'left':_0x4fbb1d['x']-_0x360390[_0x5b34b1(0x18d)][_0x5b34b1(0x20a)],'top':_0x4fbb1d['y']-_0x360390['ShapeDefaultConfig'][_0x5b34b1(0x20a)],'shapeId':this[_0x5b34b1(0x1be)],'unitId':this[_0x5b34b1(0x434)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x507000,'width':_0x360390[_0x5b34b1(0x18d)][_0x5b34b1(0x20a)]*0x2,'height':_0x360390['ShapeDefaultConfig'][_0x5b34b1(0x20a)]*0x2,'zIndex':_0x122d5a[_0x5b34b1(0x192)]+0x1,'evented':!0x0});this[_0x5b34b1(0x268)][_0x5b34b1(0x35c)](_0x17aee2),this[_0x5b34b1(0x2d0)](_0x17aee2,_0x2070fc,_0x507000),_0x2070fc[_0x5b34b1(0x112)](_0x17aee2,_0x122d5a[_0x5b34b1(0x192)]+0x1);}[_0x2ea0c4(0x2e0)](_0xe12db3,_0x5db81d){const _0x1c008e=_0x2ea0c4;var _0x1d2c05;let _0x2f8515={'x':0x0,'y':0x0};if(!_0xe12db3||!_0x5db81d)return _0x2f8515;let _0x48635c=this['_renderManagerService'][_0x1c008e(0x425)](_0xe12db3);if(!_0x48635c||!_0x48635c[_0x1c008e(0x3f8)](_0x48ecbb['SheetSkeletonManagerService'])[_0x1c008e(0x2f8)](_0x5db81d))return _0x2f8515;let _0x2f76fb=_0x48635c[_0x1c008e(0x3f8)](_0x48ecbb[_0x1c008e(0x186)]),_0xca8b10=_0x2f76fb==null?void 0x0:_0x2f76fb[_0x1c008e(0x1a4)]();if(!_0xca8b10)return _0x2f8515;let _0x4cbe9a=(_0x1d2c05=this[_0x1c008e(0x2ba)][_0x1c008e(0x34b)](_0xe12db3))==null?void 0x0:_0x1d2c05[_0x1c008e(0x20c)](_0x5db81d);if(!_0x4cbe9a)return _0x2f8515;let _0x21fffd=(0x0,_0x48ecbb[_0x1c008e(0x32f)])(_0xca8b10['sheetViewStartRow'],_0xca8b10['sheetViewStartColumn'],_0x48635c[_0x1c008e(0x373)],_0x4cbe9a);return _0x21fffd?{'x':_0x21fffd[_0x1c008e(0x327)],'y':_0x21fffd[_0x1c008e(0x2b8)]}:_0x2f8515;}[_0x2ea0c4(0x388)](_0x14ffe2,_0x18c7d0){const _0x4f64e2=_0x2ea0c4;var _0x33262d,_0x432e12;let _0x27f1ba=(_0x33262d=this[_0x4f64e2(0x2ba)][_0x4f64e2(0x34b)](_0x14ffe2))==null?void 0x0:_0x33262d['getSheetBySheetId'](_0x18c7d0);return(_0x432e12=_0x27f1ba==null?void 0x0:_0x27f1ba[_0x4f64e2(0x1b2)]())==null?0x1:_0x432e12;}[_0x2ea0c4(0x1c3)](_0x235d1b,_0x176e10,_0x1a54ad,_0x4c3d6d,_0x1eb24c){const _0xdb8c5f=_0x2ea0c4;this[_0xdb8c5f(0x207)][_0xdb8c5f(0x1ea)](),this['_cxtHandlerPointerUp'][_0xdb8c5f(0x1ea)](),this['_sheetShapeAdjustController'][_0xdb8c5f(0x2a5)]();let _0x50f3ef=this[_0xdb8c5f(0x24a)];this[_0xdb8c5f(0x379)][_0xdb8c5f(0x162)]();let _0x10fc7a=this[_0xdb8c5f(0x2e0)](this[_0xdb8c5f(0x434)],this[_0xdb8c5f(0x154)]),_0x48a8f4=this[_0xdb8c5f(0x388)](this['_unitId'],this[_0xdb8c5f(0x154)]),_0x43e0cf={'x':_0x1a54ad['offsetX']/_0x48a8f4+_0x10fc7a['x'],'y':_0x1a54ad[_0xdb8c5f(0x2e3)]/_0x48a8f4+_0x10fc7a['y']},_0x43cdce=_0x50f3ef?_0x50f3ef['worldPoint']:_0x43e0cf,_0x59071e=_0x4c3d6d?this[_0xdb8c5f(0xf9)][_0xdb8c5f(0x16a)]():this[_0xdb8c5f(0xf9)]['getStartConnectInfo'](),_0x5c5f83=this[_0xdb8c5f(0xf9)][_0xdb8c5f(0x1b9)]();_0x59071e?this[_0xdb8c5f(0x2f0)](_0x59071e,_0x43cdce,_0x4c3d6d,_0x50f3ef,_0x1eb24c):this[_0xdb8c5f(0x1ce)](_0x176e10,_0x43cdce,_0x4c3d6d,_0x50f3ef,_0x1eb24c,_0x5c5f83),this[_0xdb8c5f(0x1b1)]=!0x1,this[_0xdb8c5f(0x38a)]=!0x1,this[_0xdb8c5f(0x24a)]=null,_0x235d1b[_0xdb8c5f(0x3ba)]();}['_handleFreeEndpointPointerUp'](_0x733c6a,_0x262523,_0x3aa1d7,_0x1837f3,_0x33d214,_0x1a345c){const _0x5170c4=_0x2ea0c4;let _0x428fb3=_0x1a345c===_0x360390['ShapeTypeEnum'][_0x5170c4(0x253)]||_0x1a345c===_0x360390[_0x5170c4(0x39f)]['StraightConnector1'],_0x59dc02=_0x3aa1d7?_0x262523:_0x733c6a,_0x1bda23=_0x3aa1d7?_0x733c6a:_0x262523,_0x20ff64=this[_0x5170c4(0xf9)][_0x5170c4(0x284)](),_0x15b0bc=(0x0,_0x360390[_0x5170c4(0x2ee)])(this[_0x5170c4(0xf9)][_0x5170c4(0x1b9)]()),_0x4bc3cd=_0x360390[_0x5170c4(0x3c9)]['getBentTypeFromPoints'](_0x20ff64,_0x15b0bc),_0x350994=_0x428fb3?_0x360390['ConnectorCoordinateTransform']['computeStraightConnectorLayout'](_0x59dc02,_0x1bda23):_0x360390[_0x5170c4(0x3c9)][_0x5170c4(0x37e)](_0x733c6a,_0x262523,_0x3aa1d7,_0x4bc3cd);_0x1837f3?this[_0x5170c4(0x1ff)](_0x350994,_0x1837f3,_0x3aa1d7,_0x33d214):this[_0x5170c4(0x10e)](_0x350994,_0x33d214);}[_0x2ea0c4(0x2f0)](_0x463b16,_0x49896a,_0x5eca4f,_0xef7964,_0x4b3ac3){const _0x431494=_0x2ea0c4;let _0xf96e96=this['_getConnectPointInfo'](_0x463b16);if(!_0xf96e96)return;let _0x4238e8=_0xef7964?_0xef7964[_0x431494(0x2a0)]:this['_calculateFreeEndpointAngle'](_0xf96e96[_0x431494(0x127)],_0x49896a),_0xfd899e;if(_0xef7964){let _0x2d57de=this[_0x431494(0x275)][_0x431494(0x3e3)]({'unitId':_0xef7964['unitId'],'subUnitId':_0xef7964['subUnitId'],'drawingId':_0xef7964[_0x431494(0x124)]});if(_0x2d57de!=null&&_0x2d57de[_0x431494(0x3ec)]){let {left:_0x9b161d=0x0,top:_0x366c0c=0x0,width:_0x1c4e73=0x0,height:_0x4dada8=0x0,angle:_0x1744a5}=_0x2d57de[_0x431494(0x3ec)];_0xfd899e=(0x0,_0x360390[_0x431494(0x364)])({'left':_0x9b161d,'top':_0x366c0c,'width':_0x1c4e73,'height':_0x4dada8},_0x1744a5||0x0);}else _0xfd899e={'left':_0x49896a['x'],'top':_0x49896a['y'],'width':0x0,'height':0x0};}else _0xfd899e={'left':_0x49896a['x'],'top':_0x49896a['y'],'width':0x0,'height':0x0};let _0x408146={'point':_0x49896a,'angle':_0x4238e8,'bounds':_0xfd899e},_0x115786=_0x5eca4f?_0x408146:_0xf96e96,_0x1b7052=_0x5eca4f?_0xf96e96:_0x408146,_0x4895f0=this['_activeShapeModel'][_0x431494(0x1b9)](),_0xaa0f15=(0x0,_0x360390[_0x431494(0x219)])(_0x115786,_0x1b7052,_0x4895f0);this[_0x431494(0xf9)][_0x431494(0x2c2)]();let _0x3ad404=(0x0,_0x360390[_0x431494(0x30c)])(_0xaa0f15,_0x4895f0);_0xef7964?this[_0x431494(0x3fb)](_0x3ad404,_0xef7964,_0x463b16,_0x5eca4f,_0x4b3ac3):this[_0x431494(0x2d8)](_0x3ad404,_0x463b16,_0x5eca4f,_0x4b3ac3);}[_0x2ea0c4(0x1ff)](_0x318658,_0x5178b4,_0x292c71,_0x18a8f8){const _0x394a33=_0x2ea0c4;let _0x43f89e=this['_activeShapeModel'][_0x394a33(0x11d)]()[_0x394a33(0x134)],_0x3ac7e5={..._0x43f89e},_0x5ca5c2={'shapeId':_0x5178b4[_0x394a33(0x124)],'cxnIndex':_0x5178b4['cxnIndex']};_0x292c71?_0x3ac7e5[_0x394a33(0x11b)]=_0x5ca5c2:_0x3ac7e5['to']=_0x5ca5c2;let _0x1dee82=this[_0x394a33(0xf9)][_0x394a33(0x1b9)](),_0x382064=(0x0,_0x360390[_0x394a33(0x30c)])(_0x318658['worldPoints'],_0x1dee82),_0x567a8b={'unitId':this[_0x394a33(0x434)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x394a33(0x1be)],'width':_0x318658['worldRect'][_0x394a33(0x1bf)],'height':_0x318658['worldRect'][_0x394a33(0x403)],'left':_0x318658[_0x394a33(0x41f)][_0x394a33(0x2b3)],'top':_0x318658[_0x394a33(0x41f)][_0x394a33(0x176)],'flipX':_0x318658['worldRect']['flipX']||!0x1,'flipY':_0x318658[_0x394a33(0x41f)][_0x394a33(0x30e)]||!0x1,'newAdjustValues':_0x382064['adjustValues'],'oldAdjustValues':_0x18a8f8,'oldRelation':_0x43f89e,'newRelation':_0x3ac7e5,'newLineType':_0x382064['lineType'],'oldLineType':_0x1dee82};this['_commandService'][_0x394a33(0x196)](_0x2cb023[_0x394a33(0x3e8)]['id'],_0x567a8b);}['_executeResizeCommand'](_0x4a0df4,_0x4f8c3a){const _0x392f69=_0x2ea0c4;let _0x5846b5=this[_0x392f69(0xf9)][_0x392f69(0x1b9)](),_0x3df336=(0x0,_0x360390[_0x392f69(0x30c)])(_0x4a0df4['worldPoints'],_0x5846b5),_0x37a18b={'unitId':this['_unitId'],'subUnitId':this[_0x392f69(0x154)],'shapeId':this[_0x392f69(0x1be)],'width':_0x4a0df4['worldRect'][_0x392f69(0x1bf)],'height':_0x4a0df4[_0x392f69(0x41f)]['height'],'left':_0x4a0df4[_0x392f69(0x41f)]['left'],'top':_0x4a0df4[_0x392f69(0x41f)][_0x392f69(0x176)],'flipX':_0x4a0df4['worldRect']['flipX']||!0x1,'flipY':_0x4a0df4[_0x392f69(0x41f)][_0x392f69(0x30e)]||!0x1,'angle':_0x4a0df4['worldRect'][_0x392f69(0x2a0)]||0x0,'newAdjustValues':_0x3df336[_0x392f69(0x217)],'oldAdjustValues':_0x4f8c3a,'newLineType':_0x3df336[_0x392f69(0x37c)],'oldLineType':_0x5846b5};this[_0x392f69(0x3d4)][_0x392f69(0x196)](_0x2cb023[_0x392f69(0x348)]['id'],_0x37a18b);}['_executeConnectedRouteConnectionCommand'](_0x57058e,_0x5b917a,_0x1616d5,_0x562997,_0x36bbdc){const _0x3ff2d5=_0x2ea0c4;let _0x940f65=this[_0x3ff2d5(0xf9)][_0x3ff2d5(0x11d)]()[_0x3ff2d5(0x134)],_0xbc6d5d={..._0x940f65},_0x48ff97={'shapeId':_0x5b917a['shapeId'],'cxnIndex':_0x5b917a[_0x3ff2d5(0x159)]};_0x562997?(_0xbc6d5d[_0x3ff2d5(0x11b)]=_0x48ff97,_0xbc6d5d['to']=_0x1616d5):(_0xbc6d5d[_0x3ff2d5(0x11b)]=_0x1616d5,_0xbc6d5d['to']=_0x48ff97);let _0x31d5b5={'unitId':this[_0x3ff2d5(0x434)],'subUnitId':this[_0x3ff2d5(0x154)],'connectorShapeId':this[_0x3ff2d5(0x1be)],'width':_0x57058e['worldRect']['width'],'height':_0x57058e[_0x3ff2d5(0x41f)][_0x3ff2d5(0x403)],'left':_0x57058e[_0x3ff2d5(0x41f)][_0x3ff2d5(0x2b3)],'top':_0x57058e[_0x3ff2d5(0x41f)][_0x3ff2d5(0x176)],'flipX':_0x57058e[_0x3ff2d5(0x41f)][_0x3ff2d5(0x17a)]||!0x1,'flipY':_0x57058e[_0x3ff2d5(0x41f)][_0x3ff2d5(0x30e)]||!0x1,'oldAdjustValues':_0x36bbdc,'newAdjustValues':_0x57058e[_0x3ff2d5(0x217)],'newLineType':_0x57058e['lineType'],'rotation':_0x57058e[_0x3ff2d5(0x3fd)],'oldRelation':_0x940f65,'newRelation':_0xbc6d5d};this[_0x3ff2d5(0x3d4)][_0x3ff2d5(0x196)](_0x2cb023[_0x3ff2d5(0x3e8)]['id'],_0x31d5b5);}[_0x2ea0c4(0x2d8)](_0x1625b0,_0x1577f7,_0x5a8931,_0x52be39){const _0x2dfce0=_0x2ea0c4;let _0x2e032f=this[_0x2dfce0(0xf9)]['getShapeData']()[_0x2dfce0(0x134)],_0x3352a5={};_0x5a8931?(_0x3352a5['to']=_0x1577f7,_0x3352a5[_0x2dfce0(0x11b)]=void 0x0):(_0x3352a5['from']=_0x1577f7,_0x3352a5['to']=void 0x0);let _0x5dcdb3={'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x2dfce0(0x1be)],'width':_0x1625b0[_0x2dfce0(0x41f)][_0x2dfce0(0x1bf)],'height':_0x1625b0[_0x2dfce0(0x41f)][_0x2dfce0(0x403)],'left':_0x1625b0['worldRect'][_0x2dfce0(0x2b3)],'top':_0x1625b0[_0x2dfce0(0x41f)][_0x2dfce0(0x176)],'flipX':_0x1625b0[_0x2dfce0(0x41f)]['flipX']||!0x1,'flipY':_0x1625b0[_0x2dfce0(0x41f)][_0x2dfce0(0x30e)]||!0x1,'oldAdjustValues':_0x52be39,'newAdjustValues':_0x1625b0[_0x2dfce0(0x217)],'newLineType':_0x1625b0[_0x2dfce0(0x37c)],'rotation':_0x1625b0[_0x2dfce0(0x3fd)],'oldRelation':_0x2e032f,'newRelation':_0x3352a5};this[_0x2dfce0(0x3d4)]['executeCommand'](_0x2cb023[_0x2dfce0(0x3e8)]['id'],_0x5dcdb3);}['_attachConnectorObjectEvent'](_0x40b792,_0x2ca506,_0x52c88e){const _0x463045=_0x2ea0c4;this[_0x463045(0x3c0)]((0x0,_0x3fe9b6[_0x463045(0x1c4)])(_0x40b792['onPointerDown$'][_0x463045(0x1d2)]((_0xaf775,_0x4cd07f)=>{const _0x1728bb=_0x463045;let _0x2ed540=_0x40b792[_0x1728bb(0x14e)]();if(this['_activeShapeModel']=this[_0x1728bb(0x25b)][_0x1728bb(0x252)](_0x2ed540[_0x1728bb(0x429)],_0x2ed540[_0x1728bb(0x3aa)],_0x2ed540['drawingId']),!this['_activeShapeModel'])return;let _0x403ae8={};this[_0x1728bb(0xf9)][_0x1728bb(0x395)]()[_0x1728bb(0x31b)](_0x3f5bcc=>{const _0xaecc4b=_0x1728bb;let _0x5df295=this['_activeShapeModel'][_0xaecc4b(0x1a7)](_0x3f5bcc);_0x5df295!==void 0x0&&(_0x403ae8[_0x3f5bcc]=_0x5df295);});let _0x2b1497=this[_0x1728bb(0x251)]();if(!_0x2b1497)return;this[_0x1728bb(0x1f7)]={..._0x2b1497};let _0x5990d4=new _0x360390[(_0x1728bb(0x3c9))](this[_0x1728bb(0x1f7)]),_0x354db3=(0x0,_0xcd0f0e[_0x1728bb(0x1f8)])({'unitId':this['_unitId'],'subUnitId':this[_0x1728bb(0x154)],'drawingId':this['_activeShapeId']}),_0x69b9f3=_0x2ca506[_0x1728bb(0x432)](_0x354db3);this[_0x1728bb(0x1b1)]=!0x0,_0x2ca506[_0x1728bb(0x286)](),this[_0x1728bb(0x379)]['startConnectionDetection'](_0x2ca506,this[_0x1728bb(0x434)],this[_0x1728bb(0x154)],this[_0x1728bb(0x1be)]),this[_0x1728bb(0x24a)]=null;let _0x5b9fdd=this[_0x1728bb(0xf9)]['getConnectorLinePoints'](),_0x54c2be=_0x5b9fdd[0x0],_0x3ee75d=_0x5b9fdd[_0x5b9fdd[_0x1728bb(0x111)]-0x1],_0x1d6827=_0x52c88e?_0x5990d4[_0x1728bb(0x3a7)](_0x3ee75d):_0x5990d4['localToWorld'](_0x54c2be);this[_0x1728bb(0x207)]=_0x2ca506[_0x1728bb(0x2a7)]['subscribeEvent']((_0x5fb738,_0x521ef1)=>{const _0x143547=_0x1728bb;if(!this[_0x143547(0x1b1)]||!this[_0x143547(0xf9)])return;this['_hasReset']||(this[_0x143547(0x352)][_0x143547(0x3cb)](),this[_0x143547(0xf9)]['clearAdjustValue'](),this[_0x143547(0x38a)]=!0x0);let _0x481327=this[_0x143547(0x2e0)](this[_0x143547(0x434)],this[_0x143547(0x154)]),_0x27bd3d=this[_0x143547(0x388)](this[_0x143547(0x434)],this[_0x143547(0x154)]),_0x58894e={'x':_0x5fb738[_0x143547(0x248)]/_0x27bd3d+_0x481327['x'],'y':_0x5fb738[_0x143547(0x2e3)]/_0x27bd3d+_0x481327['y']},_0x12434e=this['_sheetBasicShapeConnectionPointController'][_0x143547(0x370)](_0x58894e);if(_0x12434e){let {shapeId:_0x265a0b,unitId:_0x4bf54f,subUnitId:_0x45e130}=_0x12434e;if(_0x265a0b&&_0x4bf54f&&_0x45e130){let _0x6486c1=(0x0,_0xcd0f0e['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4bf54f,'subUnitId':_0x45e130,'drawingId':_0x265a0b});_0x12434e['angle']=(_0x2ca506[_0x143547(0x432)](_0x6486c1)['angle']||0x0)+_0x12434e[_0x143547(0x2a0)];}}this[_0x143547(0x24a)]=_0x12434e;let _0x21657e=_0x52c88e?this[_0x143547(0xf9)][_0x143547(0x16a)]():this['_activeShapeModel'][_0x143547(0x1a3)]();if(_0x21657e){this[_0x143547(0x273)](_0x21657e,_0x58894e,_0x52c88e,_0x69b9f3,_0x40b792);return;}this[_0x143547(0x2f2)](_0x58894e,_0x1d6827,_0x52c88e,_0x69b9f3,_0x40b792);}),this[_0x1728bb(0x1fa)]=_0x2ca506['onPointerUp$'][_0x1728bb(0x1d2)]((_0x2d59f5,_0x4f5737)=>{const _0x96680f=_0x1728bb;this[_0x96680f(0x1c3)](_0x2ca506,_0x1d6827,_0x2d59f5,_0x52c88e,_0x403ae8);}),_0x4cd07f['stopPropagation']();})));}['_handleBasicShapeUpdateConnectorLineShape'](_0x43084c,_0x591d23,_0x2fd051){const _0xc2edb9=_0x2ea0c4;let _0x428427=this[_0xc2edb9(0x25b)][_0xc2edb9(0x123)](_0x43084c,_0x591d23,_0x2fd051);if(!_0x428427||_0x428427[_0xc2edb9(0x111)]===0x0)return;let _0x394037=this[_0xc2edb9(0x200)]['getRenderById'](_0x43084c);if(!_0x394037)return;let {scene:_0x2e5f49}=_0x394037;for(let _0x2987e8 of _0x428427){let _0x25d744=_0x2987e8[_0xc2edb9(0x41a)],_0x518bb9=this[_0xc2edb9(0x25b)][_0xc2edb9(0x252)](_0x43084c,_0x591d23,_0x25d744);if(!_0x518bb9)continue;let _0x3a586c=_0x518bb9[_0xc2edb9(0x1a3)](),_0x716a53=_0x518bb9[_0xc2edb9(0x16a)](),_0x7333b3=(_0x3a586c==null?void 0x0:_0x3a586c['shapeId'])===_0x2fd051,_0x3a97e4=(0x0,_0xcd0f0e[_0xc2edb9(0x1f8)])({'unitId':_0x43084c,'subUnitId':_0x591d23,'drawingId':_0x25d744}),_0x559671=_0x2e5f49[_0xc2edb9(0x432)](_0x3a97e4);if(!_0x559671)continue;let _0x47b64d=this[_0xc2edb9(0x275)][_0xc2edb9(0x3e3)]({'unitId':_0x43084c,'subUnitId':_0x591d23,'drawingId':_0x25d744});_0x47b64d!=null&&_0x47b64d[_0xc2edb9(0x3ec)]&&(_0x3a586c&&_0x716a53?this[_0xc2edb9(0x439)](_0x43084c,_0x591d23,_0x25d744,_0x518bb9,_0x3a586c,_0x716a53,_0x559671):this[_0xc2edb9(0x3e1)](_0x43084c,_0x591d23,_0x25d744,_0x518bb9,_0x7333b3?_0x3a586c:_0x716a53,_0x7333b3,_0x47b64d,_0x559671));}}[_0x2ea0c4(0x439)](_0x50b79d,_0x3597b2,_0x36f3e2,_0x48c9c3,_0x46f3ba,_0x3c14af,_0x1ead91){const _0x3c3437=_0x2ea0c4;let _0x498e5d=this[_0x3c3437(0x434)],_0x58d767=this['_subUnitId'];this[_0x3c3437(0x434)]=_0x50b79d,this[_0x3c3437(0x154)]=_0x3597b2;let _0x26cb4c=this['_getConnectPointInfo'](_0x46f3ba),_0x116c53=this['_getConnectPointInfo'](_0x3c14af);if(this[_0x3c3437(0x434)]=_0x498e5d,this[_0x3c3437(0x154)]=_0x58d767,!_0x26cb4c||!_0x116c53)return;let _0x27fc85=_0x48c9c3[_0x3c3437(0x1b9)](),_0x1056cb=(0x0,_0x360390[_0x3c3437(0x219)])(_0x26cb4c,_0x116c53,_0x27fc85);_0x1056cb&&_0x48c9c3[_0x3c3437(0x34d)](_0x1056cb);let _0x31d791=(0x0,_0x360390['computeConnectorRouteLayout'])(_0x1056cb,_0x27fc85);_0x31d791[_0x3c3437(0x37c)]!==_0x27fc85&&_0x48c9c3[_0x3c3437(0x100)](_0x31d791[_0x3c3437(0x37c)]),_0x48c9c3['clearAdjustValue']();for(let [_0x3d2d96,_0x50033d]of Object['entries'](_0x31d791['adjustValues']))_0x48c9c3[_0x3c3437(0x3df)](_0x3d2d96,_0x50033d);_0x48c9c3[_0x3c3437(0x21d)]({'width':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x1bf)],'height':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x403)]}),_0x1ead91[_0x3c3437(0x413)]({'flipX':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x17a)],'flipY':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x30e)],'left':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x2b3)],'top':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x176)],'width':_0x31d791['worldRect'][_0x3c3437(0x1bf)],'height':_0x31d791[_0x3c3437(0x41f)][_0x3c3437(0x403)],'angle':_0x31d791['rotation']}),_0x48c9c3[_0x3c3437(0x2c2)]();}[_0x2ea0c4(0x3e1)](_0x212d91,_0x4d10ee,_0x11abab,_0x193eea,_0xa88a56,_0x54ea93,_0x2bd92b,_0x548af4){const _0x4170a1=_0x2ea0c4;let _0x47b096=this[_0x4170a1(0x434)],_0x2eb6ee=this[_0x4170a1(0x154)];this['_unitId']=_0x212d91,this['_subUnitId']=_0x4d10ee;let _0xd45339=this[_0x4170a1(0x237)](_0xa88a56);if(this[_0x4170a1(0x434)]=_0x47b096,this[_0x4170a1(0x154)]=_0x2eb6ee,!_0xd45339)return;let {left:_0x508bdd=0x0,top:_0x28ba90=0x0,width:_0x4f2abc=0x0,height:_0x36fdf6=0x0,flipX:_0x39c02=!0x1,flipY:_0x336ce4=!0x1}=_0x2bd92b[_0x4170a1(0x3ec)],_0x5319e3=_0x193eea[_0x4170a1(0x284)]();if(_0x5319e3['length']<0x2)return;let _0x478e18=new _0x360390[(_0x4170a1(0x3c9))]({'left':_0x508bdd,'top':_0x28ba90,'width':_0x4f2abc,'height':_0x36fdf6,'flipX':_0x39c02,'flipY':_0x336ce4}),_0x3702b6=_0x54ea93?_0x5319e3[_0x5319e3[_0x4170a1(0x111)]-0x1]:_0x5319e3[0x0],_0xb0f51e=_0x478e18[_0x4170a1(0x3a7)](_0x3702b6),_0x5ad11f=_0x360390[_0x4170a1(0x3c9)][_0x4170a1(0x37e)](_0xb0f51e,_0xd45339[_0x4170a1(0x127)],!_0x54ea93);_0x548af4[_0x4170a1(0x413)]({'flipX':_0x5ad11f[_0x4170a1(0x41f)][_0x4170a1(0x17a)],'flipY':_0x5ad11f[_0x4170a1(0x41f)][_0x4170a1(0x30e)],'left':_0x5ad11f[_0x4170a1(0x41f)]['left'],'top':_0x5ad11f[_0x4170a1(0x41f)]['top'],'width':_0x5ad11f['worldRect'][_0x4170a1(0x1bf)],'height':_0x5ad11f[_0x4170a1(0x41f)][_0x4170a1(0x403)],'angle':_0x5ad11f['worldRect'][_0x4170a1(0x2a0)]}),_0x548af4[_0x4170a1(0x1d4)](!0x0);}['_clearShapeConnectorHandlerObjects'](){const _0x2093c6=_0x2ea0c4;this[_0x2093c6(0x268)][_0x2093c6(0x111)]!==0x0&&(this['_connectorObjects'][_0x2093c6(0x31b)](_0x490eb1=>{const _0x2bb447=_0x2093c6;_0x490eb1[_0x2bb447(0x14f)]();}),this[_0x2093c6(0x268)]=[]);}[_0x2ea0c4(0x262)](){const _0x167071=_0x2ea0c4;let _0x419656=this[_0x167071(0x2ba)][_0x167071(0x1e8)](_0x3fe9b6['UniverInstanceType'][_0x167071(0x430)]);this[_0x167071(0x3c0)](_0x419656['pipe']((0x0,_0x14dd2b[_0x167071(0x298)])(_0x359be9=>_0x359be9?_0x359be9[_0x167071(0x3b0)]['pipe']((0x0,_0x14dd2b[_0x167071(0x298)])(_0x56c569=>{const _0x1d4114=_0x167071;if(!_0x56c569)return _0x14dd2b[_0x1d4114(0x29d)];let _0x5051ee=_0x359be9[_0x1d4114(0x2b5)](),_0x4bc239=this['_renderManagerService'][_0x1d4114(0x425)](_0x5051ee),_0x48db09=_0x4bc239==null?void 0x0:_0x4bc239[_0x1d4114(0x373)];return _0x48db09?(0x0,_0x14dd2b['of'])(_0x48db09):_0x14dd2b[_0x1d4114(0x29d)];})):_0x14dd2b['EMPTY']))[_0x167071(0x15f)](_0x505762=>{const _0x51df57=_0x167071;let _0x4db518=_0x505762[_0x51df57(0x279)]();this[_0x51df57(0x3c0)](_0x505762[_0x51df57(0x2a7)][_0x51df57(0x1d2)](_0x5c76be=>{const _0x38c16d=_0x51df57;this['_isDrawingShapePointDown']&&this['_activeShapeId']&&this[_0x38c16d(0x250)]();})),this[_0x51df57(0x3c0)](_0x4db518['changeStart$'][_0x51df57(0x15f)](_0x4c479e=>{const _0x218196=_0x51df57;let {objects:_0x31a350}=_0x4c479e;this[_0x218196(0x250)](),_0x31a350!==null&&_0x31a350[_0x218196(0x347)]===0x1&&_0x31a350[_0x218196(0x38e)]()[_0x218196(0x234)]()[_0x218196(0x2e8)]instanceof _0x2264dd&&(this[_0x218196(0x3d0)]=!0x0);})),this[_0x51df57(0x3c0)](_0x4db518['changing$'][_0x51df57(0x15f)](_0xd96de6=>{const _0x22ffd2=_0x51df57;this[_0x22ffd2(0x3d0)]&&this[_0x22ffd2(0x250)]();})),this['disposeWithMe'](_0x505762[_0x51df57(0x239)][_0x51df57(0x1d2)](()=>{const _0x3a3ae1=_0x51df57;this[_0x3a3ae1(0x3d0)]&&(this['_isDrawingShapePointDown']=!0x1,this[_0x3a3ae1(0x39d)]());})),this['disposeWithMe'](_0x4db518[_0x51df57(0x10b)][_0x51df57(0x15f)](()=>{const _0x5580b6=_0x51df57;this['_unitId']&&this[_0x5580b6(0x154)]&&this[_0x5580b6(0x1be)]&&this['_drawingManagerService'][_0x5580b6(0x3e3)]({'unitId':this[_0x5580b6(0x434)],'subUnitId':this[_0x5580b6(0x154)],'drawingId':this[_0x5580b6(0x1be)]})&&(this[_0x5580b6(0x250)](),this[_0x5580b6(0x39d)]());}));}));}[_0x2ea0c4(0x31f)](){const _0x340f01=_0x2ea0c4;this[_0x340f01(0x3c0)](this[_0x340f01(0x275)][_0x340f01(0x3be)][_0x340f01(0x15f)](_0x2643ab=>{const _0x192d50=_0x340f01;if(_0x2643ab['length']===0x1){let _0x153235=_0x2643ab[0x0];if(_0x153235[_0x192d50(0x19a)]===_0x3fe9b6[_0x192d50(0x225)][_0x192d50(0x1d9)]){let _0x45f6ef=this[_0x192d50(0x25b)]['getShapeModel'](_0x153235[_0x192d50(0x429)],_0x153235[_0x192d50(0x3aa)],_0x153235[_0x192d50(0x215)]);if(_0x45f6ef&&(0x0,_0x360390[_0x192d50(0x295)])(_0x45f6ef[_0x192d50(0x1b9)]())){this['_activeShapeId']=_0x153235[_0x192d50(0x215)],this['_unitId']=_0x153235[_0x192d50(0x429)],this[_0x192d50(0x154)]=_0x153235[_0x192d50(0x3aa)],this[_0x192d50(0x250)](),this[_0x192d50(0x39d)]();return;}}}this[_0x192d50(0x1be)]=void 0x0,this[_0x192d50(0x434)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x192d50(0x250)]();})),this[_0x340f01(0x3c0)](this[_0x340f01(0x275)][_0x340f01(0x3a8)][_0x340f01(0x15f)](_0x4aee0f=>{const _0x146d5c=_0x340f01;if(_0x4aee0f[_0x146d5c(0x111)]===0x1){var _0x5d9635;let _0x59cd=_0x4aee0f[0x0],_0x38a60b=(_0x5d9635=this[_0x146d5c(0x275)]['getDrawingByParam'](_0x59cd))==null?void 0x0:_0x5d9635[_0x146d5c(0x19a)];_0x38a60b===_0x3fe9b6[_0x146d5c(0x225)][_0x146d5c(0x1d9)]&&_0x59cd[_0x146d5c(0x215)]===this[_0x146d5c(0x1be)]?(this[_0x146d5c(0x250)](),this[_0x146d5c(0x39d)]()):!this['_activeShapeId']&&_0x38a60b===_0x3fe9b6[_0x146d5c(0x225)][_0x146d5c(0x1d9)]&&this[_0x146d5c(0x33c)](_0x59cd[_0x146d5c(0x429)],_0x59cd[_0x146d5c(0x3aa)],_0x59cd[_0x146d5c(0x215)]);}})),this[_0x340f01(0x3c0)](this[_0x340f01(0x275)]['remove$'][_0x340f01(0x15f)](_0x433a9f=>{const _0x4fbcc3=_0x340f01;for(let _0x571b31 of _0x433a9f){let {drawingId:_0x4521cf}=_0x571b31;if(this[_0x4fbcc3(0x1be)]===_0x4521cf){this[_0x4fbcc3(0x107)]();return;}}}));}['_handleConnectedEndpointMove'](_0x54a420,_0x482f57,_0x23760f,_0x525bf9,_0x3ac4a4){const _0xfac313=_0x2ea0c4;var _0xcae20,_0x20aa56;if(!this[_0xfac313(0xf9)])return;let _0x32669b=this[_0xfac313(0x237)](_0x54a420);if(!_0x32669b)return;let _0x253c95=this[_0xfac313(0x24a)]?this[_0xfac313(0x24a)][_0xfac313(0x34e)]:_0x482f57,_0x3d490c=this[_0xfac313(0x24a)]?this['_currentConnectionTarget'][_0xfac313(0x2a0)]:this['_calculateFreeEndpointAngle'](_0x32669b['point'],_0x253c95),_0x998b32;if(this[_0xfac313(0x24a)]){let _0xf976ad=this[_0xfac313(0x275)][_0xfac313(0x3e3)]({'unitId':this['_currentConnectionTarget']['unitId'],'subUnitId':this[_0xfac313(0x24a)][_0xfac313(0x3aa)],'drawingId':this['_currentConnectionTarget']['shapeId']});if(_0xf976ad!=null&&_0xf976ad['transform']){let {left:_0x31c2e2=0x0,top:_0x3a3ff1=0x0,width:_0x26cc89=0x0,height:_0x1b580a=0x0,angle:_0x2d55b1}=_0xf976ad[_0xfac313(0x3ec)];_0x998b32=(0x0,_0x360390[_0xfac313(0x364)])({'left':_0x31c2e2,'top':_0x3a3ff1,'width':_0x26cc89,'height':_0x1b580a},_0x2d55b1||0x0);}else _0x998b32={'left':_0x253c95['x'],'top':_0x253c95['y'],'width':0x0,'height':0x0};}else _0x998b32={'left':_0x253c95['x'],'top':_0x253c95['y'],'width':0x0,'height':0x0};let _0x13fac0={'point':_0x253c95,'angle':_0x3d490c,'bounds':_0x998b32},_0x555141=_0x23760f?_0x13fac0:_0x32669b,_0x441c37=_0x23760f?_0x32669b:_0x13fac0,_0x154047=this[_0xfac313(0xf9)][_0xfac313(0x1b9)](),_0x10a0f2=(0x0,_0x360390[_0xfac313(0x219)])(_0x555141,_0x441c37,_0x154047);_0x10a0f2&&this[_0xfac313(0xf9)][_0xfac313(0x34d)](_0x10a0f2);let _0x5ce22f=(0x0,_0x360390[_0xfac313(0x30c)])(_0x10a0f2,_0x154047);_0x5ce22f[_0xfac313(0x37c)]!==_0x154047&&this[_0xfac313(0xf9)][_0xfac313(0x100)](_0x5ce22f['lineType']);for(let [_0x8e3c18,_0x4eb411]of Object[_0xfac313(0x132)](_0x5ce22f[_0xfac313(0x217)]))this[_0xfac313(0xf9)]['setAdjustValueByName'](_0x8e3c18,_0x4eb411);this['_activeShapeModel'][_0xfac313(0x21d)]({'width':_0x5ce22f[_0xfac313(0x41f)][_0xfac313(0x1bf)],'height':_0x5ce22f[_0xfac313(0x41f)][_0xfac313(0x403)]}),_0x525bf9[_0xfac313(0x413)]({'flipX':_0x5ce22f[_0xfac313(0x41f)]['flipX'],'flipY':_0x5ce22f[_0xfac313(0x41f)][_0xfac313(0x30e)],'left':_0x5ce22f['worldRect'][_0xfac313(0x2b3)],'top':_0x5ce22f['worldRect'][_0xfac313(0x176)],'width':_0x5ce22f['worldRect'][_0xfac313(0x1bf)],'height':_0x5ce22f[_0xfac313(0x41f)][_0xfac313(0x403)],'angle':_0x5ce22f['rotation']}),_0x525bf9[_0xfac313(0x1d4)](!0x0);let _0x8aa95c=(_0xcae20=(_0x20aa56=this[_0xfac313(0x24a)])==null?void 0x0:_0x20aa56[_0xfac313(0x34e)])==null?_0x482f57:_0xcae20;_0x3ac4a4[_0xfac313(0x413)]({'left':_0x8aa95c['x']-_0x360390[_0xfac313(0x18d)][_0xfac313(0x20a)],'top':_0x8aa95c['y']-_0x360390[_0xfac313(0x18d)][_0xfac313(0x20a)]});}[_0x2ea0c4(0x2f2)](_0x3d950a,_0x5d442f,_0x99434f,_0x3236d6,_0x1f3d6b){const _0x3101c0=_0x2ea0c4;var _0x13639b,_0x4bc9dc,_0x2913dd,_0x3743b5;let _0x3c30a3=(_0x13639b=(_0x4bc9dc=this[_0x3101c0(0x24a)])==null?void 0x0:_0x4bc9dc[_0x3101c0(0x34e)])==null?_0x3d950a:_0x13639b,_0x26d369=_0x360390[_0x3101c0(0x3c9)]['computeConnectorResizeLayout'](_0x5d442f,_0x3c30a3,_0x99434f);_0x3236d6[_0x3101c0(0x413)]({'flipX':_0x26d369[_0x3101c0(0x41f)][_0x3101c0(0x17a)],'flipY':_0x26d369[_0x3101c0(0x41f)][_0x3101c0(0x30e)],'left':_0x26d369[_0x3101c0(0x41f)][_0x3101c0(0x2b3)],'top':_0x26d369['worldRect'][_0x3101c0(0x176)],'width':_0x26d369[_0x3101c0(0x41f)]['width'],'height':_0x26d369['worldRect']['height'],'angle':_0x26d369['worldRect']['angle']});let _0x332b58=(_0x2913dd=(_0x3743b5=this[_0x3101c0(0x24a)])==null?void 0x0:_0x3743b5[_0x3101c0(0x34e)])==null?_0x3d950a:_0x2913dd;_0x1f3d6b[_0x3101c0(0x413)]({'left':_0x332b58['x']-_0x360390[_0x3101c0(0x18d)][_0x3101c0(0x20a)],'top':_0x332b58['y']-_0x360390['ShapeDefaultConfig'][_0x3101c0(0x20a)]});}[_0x2ea0c4(0x237)](_0x249a63){const _0x20cd7b=_0x2ea0c4;if(!this[_0x20cd7b(0x434)]||!this['_subUnitId'])return null;let {shapeId:_0x4ce966,cxnIndex:_0x3278bd}=_0x249a63,_0x2de1f4=this[_0x20cd7b(0x25b)][_0x20cd7b(0x252)](this[_0x20cd7b(0x434)],this['_subUnitId'],_0x4ce966);if(!_0x2de1f4)return null;let _0x3a736a=this[_0x20cd7b(0x275)][_0x20cd7b(0x3e3)]({'unitId':this[_0x20cd7b(0x434)],'subUnitId':this['_subUnitId'],'drawingId':_0x4ce966});if(!(_0x3a736a!=null&&_0x3a736a[_0x20cd7b(0x3ec)]))return null;let {left:_0x3cd3dd=0x0,top:_0x95632=0x0,width:_0x4203a0=0x0,height:_0x467407=0x0,flipX:_0x41a65a=!0x1,flipY:_0x3798e9=!0x1,angle:_0x5a212c}=_0x3a736a[_0x20cd7b(0x3ec)];_0x2de1f4[_0x20cd7b(0x21d)]({'width':_0x4203a0,'height':_0x467407});let _0x50bfdd=_0x2de1f4[_0x20cd7b(0x1b0)]()[_0x20cd7b(0x40b)](_0x27115e=>_0x27115e[_0x20cd7b(0x247)]===_0x3278bd);if(!_0x50bfdd)return null;let _0xdaebef=_0x41a65a?_0x4203a0-_0x50bfdd['x']:_0x50bfdd['x'],_0x44a8a1=_0x3798e9?_0x467407-_0x50bfdd['y']:_0x50bfdd['y'];if(_0x5a212c!==0x0&&_0x5a212c!=null){let _0x2acd6b=_0x5a212c*Math['PI']/0xb4,_0x28815b=Math['cos'](_0x2acd6b),_0x590c0a=Math[_0x20cd7b(0x2a2)](_0x2acd6b),_0x98e4cc=_0x4203a0/0x2,_0x3f903f=_0x467407/0x2,_0x5d977a=_0xdaebef-_0x98e4cc,_0x4acf1a=_0x44a8a1-_0x3f903f;_0xdaebef=_0x98e4cc+_0x5d977a*_0x28815b-_0x4acf1a*_0x590c0a,_0x44a8a1=_0x3f903f+_0x5d977a*_0x590c0a+_0x4acf1a*_0x28815b;}_0xdaebef+=_0x3cd3dd,_0x44a8a1+=_0x95632;let _0x264f6b=_0x50bfdd[_0x20cd7b(0x240)]/0xea60;_0x41a65a&&(_0x264f6b=0xb4-_0x264f6b),_0x3798e9&&(_0x264f6b=-_0x264f6b),_0x264f6b+=_0x5a212c||0x0,_0x264f6b=(_0x264f6b%0x168+0x168)%0x168;let _0x421feb=(0x0,_0x360390['getBasicShapeRotateBound'])({'left':_0x3cd3dd,'top':_0x95632,'width':_0x4203a0,'height':_0x467407},_0x5a212c||0x0);return{'point':{'x':_0xdaebef,'y':_0x44a8a1},'angle':_0x264f6b,'bounds':_0x421feb};}[_0x2ea0c4(0x167)](_0x5e128c,_0x38c9e7){const _0x5a6618=_0x2ea0c4;let _0xcdaa62=_0x38c9e7['x']-_0x5e128c['x'],_0x3bf39c=_0x38c9e7['y']-_0x5e128c['y'];return Math[_0x5a6618(0x169)](_0xcdaa62)>=Math[_0x5a6618(0x169)](_0x3bf39c)?_0xcdaa62>=0x0?0xb4:0x0:_0x3bf39c>=0x0?0x10e:0x5a;}['_reset'](){const _0x3d55ef=_0x2ea0c4;this['_activeShapeId']=void 0x0,this[_0x3d55ef(0x434)]=void 0x0,this[_0x3d55ef(0x154)]=void 0x0,this[_0x3d55ef(0x250)]();}[_0x2ea0c4(0x14f)](){const _0x40f481=_0x2ea0c4;this[_0x40f481(0x250)](),super['dispose']();}};_0x4cd232=_0x20d714([_0x26d55f(0x1,_0x3fe9b6[_0x2ea0c4(0x2ec)]),_0x26d55f(0x2,_0x122d5a[_0x2ea0c4(0x238)]),_0x26d55f(0x3,_0xcd0f0e['IDrawingManagerService']),_0x26d55f(0x4,_0x3fe9b6[_0x2ea0c4(0x287)]),_0x26d55f(0x5,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2cb023[_0x2ea0c4(0x40f)])),_0x26d55f(0x6,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x17ed0c)),_0x26d55f(0x7,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x4fe1d3))],_0x4cd232);let _0xad1885=class extends _0x3fe9b6[_0x2ea0c4(0x16b)]{constructor(_0x14b890,_0x3a4c3a,_0xa89f5c){const _0x532339=_0x2ea0c4;super(),this[_0x532339(0x254)]=_0x14b890,this[_0x532339(0x275)]=_0x3a4c3a,this['_shapeRenderController']=_0xa89f5c,this[_0x532339(0x243)]();}['_initPrinting'](){const _0x357248=_0x2ea0c4;this['disposeWithMe'](this[_0x357248(0x254)][_0x357248(0x1f0)]['intercept'](this[_0x357248(0x254)][_0x357248(0x1f0)][_0x357248(0x1ad)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x2a4e35,_0x58c9c7,_0x20ce50)=>{const _0x35cdc7=_0x357248;var _0x3df8b5;let {unitId:_0x430834,subUnitId:_0x36949c,scene:_0x45dd20,resourceCollector:_0x4078de}=_0x58c9c7,_0x136857=(_0x3df8b5=this[_0x35cdc7(0x275)]['getDrawingDataForUnit'](_0x430834))==null?void 0x0:_0x3df8b5[_0x36949c];return _0x136857==null||_0x136857[_0x35cdc7(0x2b7)]['forEach'](_0xea7d64=>{const _0x3e3126=_0x35cdc7;let _0x1c277a=_0x136857[_0x3e3126(0x369)][_0xea7d64];_0x1c277a[_0x3e3126(0x19a)]===_0x3fe9b6['DrawingTypeEnum'][_0x3e3126(0x1d9)]&&!_0x1c277a[_0x3e3126(0x31c)]&&this[_0x3e3126(0x150)][_0x3e3126(0x321)](_0x1c277a,_0x45dd20,{'resourceCollector':_0x4078de});}),_0x20ce50(_0x2a4e35);}}));}};_0xad1885=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x48ecbb[_0x2ea0c4(0x402)])),_0x26d55f(0x1,_0xcd0f0e['IDrawingManagerService']),_0x26d55f(0x2,(0x0,_0x3fe9b6['Inject'])(_0x3eccdb))],_0xad1885);let _0x5525dd=class extends _0x3fe9b6['Disposable']{constructor(_0x4a2cde,_0x26d921,_0x2d7591){const _0x13eab6=_0x2ea0c4;super(),this[_0x13eab6(0x3d4)]=_0x4a2cde,this[_0x13eab6(0x2e5)]=_0x26d921,this['_sheetPermissionCheckController']=_0x2d7591,this['_initPermission']();}[_0x2ea0c4(0x418)](){const _0x253829=_0x2ea0c4;this['disposeWithMe'](this[_0x253829(0x3d4)]['beforeCommandExecuted'](_0x3e47b6=>{const _0x43c663=_0x253829;let _0x36d29d,_0x18b111;if(_0x3e47b6['id']===_0x2cb023['InsertShapeCommand']['id']||_0x3e47b6['id']===_0x2cb023[_0x43c663(0x260)]['id']||_0x3e47b6['id']===_0x2cb023['UpdateConnectorRelationCommand']['id']){let _0x450c54=_0x3e47b6[_0x43c663(0x137)];_0x36d29d=_0x450c54['unitId'],_0x18b111=_0x450c54[_0x43c663(0x3aa)];}!_0x36d29d||!_0x18b111||this[_0x43c663(0x3e0)][_0x43c663(0x267)]({'workbookTypes':[_0x12af8f[_0x43c663(0x3b4)]],'worksheetTypes':[_0x12af8f['WorksheetEditPermission']]},_0x36d29d,_0x18b111)||this[_0x43c663(0x3e0)][_0x43c663(0x1d8)](this[_0x43c663(0x2e5)]['t'](_0x43c663(0x12e)));}));}};_0x5525dd=_0x20d714([_0x26d55f(0x0,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3fe9b6[_0x2ea0c4(0x2ec)])),_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3fe9b6[_0x2ea0c4(0x151)])),_0x26d55f(0x2,(0x0,_0x3fe9b6['Inject'])(_0x12af8f[_0x2ea0c4(0x232)]))],_0x5525dd);let _0x4f7037=class extends _0x3fe9b6['Disposable']{constructor(_0x278086,_0x4a84c0,_0x243d05,_0x3124a3,_0x4bbb78,_0x120c2d,_0x5861ad,_0x2da75f,_0x307525,_0x2c5a35,_0x5d652c){const _0x54c31b=_0x2ea0c4;super(),this[_0x54c31b(0x2ba)]=_0x278086,this['_sidebarService']=_0x4a84c0,this[_0x54c31b(0x1c9)]=_0x243d05,this[_0x54c31b(0x25b)]=_0x3124a3,this[_0x54c31b(0x2e5)]=_0x4bbb78,this[_0x54c31b(0x3d4)]=_0x120c2d,this[_0x54c31b(0x275)]=_0x5861ad,this[_0x54c31b(0x1e5)]=_0x2da75f,this[_0x54c31b(0x16e)]=_0x307525,this[_0x54c31b(0x200)]=_0x2c5a35,this[_0x54c31b(0x360)]=_0x5d652c,_0x144b44(this,_0x54c31b(0x199),null),_0x144b44(this,_0x54c31b(0x17c),null),_0x144b44(this,_0x54c31b(0x218),!0x1),_0x144b44(this,_0x54c31b(0x3cd),0x0),_0x144b44(this,_0x54c31b(0x2bf),new Set()),_0x144b44(this,_0x54c31b(0x1f3),[]),this[_0x54c31b(0x2c1)](),this[_0x54c31b(0x3c0)](this[_0x54c31b(0x2ba)][_0x54c31b(0x1e8)](_0x3fe9b6[_0x54c31b(0x1df)]['UNIVER_SHEET'])[_0x54c31b(0x15f)](_0x4ef7e5=>{const _0x20094c=_0x54c31b;if(!_0x4ef7e5){var _0x102807;(_0x102807=this[_0x20094c(0x199)])==null||_0x102807['dispose']();return;}this[_0x20094c(0x42b)](_0x4ef7e5);})),this[_0x54c31b(0x281)](),this[_0x54c31b(0x36d)](),this[_0x54c31b(0x3f6)](),this['disposeWithMe'](this[_0x54c31b(0x360)][_0x54c31b(0x3c2)][_0x54c31b(0x15f)](_0x2e0143=>{const _0x507aad=_0x54c31b;_0x2e0143&&this[_0x507aad(0x30f)]();}));}[_0x2ea0c4(0x2c1)](){const _0x333208=_0x2ea0c4;this['_menuManagerService'][_0x333208(0x3d8)](_0x247894);}['_registerShapeMenu'](){const _0x41d084=_0x2ea0c4;this[_0x41d084(0x1e5)][_0x41d084(0x22e)](_0x3fe9b6[_0x41d084(0x225)]['DRAWING_SHAPE'],this[_0x41d084(0x241)][_0x41d084(0x153)](this)),this[_0x41d084(0x1e5)]['registerFeatureMenuOffset'](_0x3fe9b6[_0x41d084(0x225)][_0x41d084(0x1d9)],0x6,0x4);}[_0x2ea0c4(0x3f6)](){const _0x79b6c6=_0x2ea0c4;this[_0x79b6c6(0x2ba)][_0x79b6c6(0x288)](_0x3fe9b6[_0x79b6c6(0x1df)]['UNIVER_SHEET'])[_0x79b6c6(0x31b)](_0x107904=>this[_0x79b6c6(0x42b)](_0x107904));}[_0x2ea0c4(0x241)](_0x437df5,_0xd2cb46,_0xe53fd7,_0x149875){const _0x5a6b41=_0x2ea0c4;return[{'label':'sheets-shape-ui.openPanel','index':0x0,'commandId':_0xe5dd06['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'drawingId':_0xe53fd7},'disable':_0x149875===_0x3fe9b6['DrawingTypeEnum']['DRAWING_DOM']},{'label':_0x5a6b41(0x361),'index':0x1,'commandId':_0x1ba3d5['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x437df5,'drawings':[{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'drawingId':_0xe53fd7,'drawingType':_0x149875}]},'disable':!0x1},{'label':_0x5a6b41(0x344),'index':0x2,'commandId':_0x43882a['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'drawingId':_0xe53fd7},'disable':!0x1},{'label':_0x5a6b41(0x34a),'index':0x3,'commandId':_0x2cb023['ToggleSheetsShapeFlipCommand']['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'shapeId':_0xe53fd7,'flipH':!0x0},'disable':!0x1},{'label':_0x5a6b41(0x324),'index':0x4,'commandId':_0x2cb023[_0x5a6b41(0x1ed)]['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'shapeId':_0xe53fd7,'flipV':!0x0},'disable':!0x1},{'label':_0x5a6b41(0x15e),'index':0x4,'commandId':_0x2cb023[_0x5a6b41(0x3c4)]['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'shapeId':_0xe53fd7,'rotate':0x5a},'disable':!0x1},{'label':_0x5a6b41(0x422),'index':0x4,'commandId':_0x2cb023[_0x5a6b41(0x3c4)]['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'shapeId':_0xe53fd7,'rotate':-0x5a},'disable':!0x1},{'label':_0x5a6b41(0x13b),'index':0x4,'commandId':_0x2cb023[_0x5a6b41(0x399)]['id'],'commandParams':{'unitId':_0x437df5,'subUnitId':_0xd2cb46,'shapeId':_0xe53fd7},'disable':!0x1}];}['_getShapeInfo'](_0x31a367,_0x3d43c2,_0x2e2add){const _0xf4b1ec=_0x2ea0c4;let _0x305301=this[_0xf4b1ec(0x25b)][_0xf4b1ec(0x158)](_0x31a367,_0x3d43c2,_0x2e2add),_0x2398db=this[_0xf4b1ec(0x25b)]['getShapeDataById'](_0x31a367,_0x3d43c2,_0x2e2add);return _0x305301!==void 0x0&&_0x2398db!==void 0x0?{'shapeData':_0x2398db,'shapeId':_0x2e2add,'shapeType':_0x305301,'unitId':_0x31a367,'subUnitId':_0x3d43c2,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x2ea0c4(0x42b)](_0x3b2092){const _0x9c0d9c=_0x2ea0c4;if(!_0x3b2092)return;let _0x44dde4=_0x3b2092[_0x9c0d9c(0x2b5)]();this[_0x9c0d9c(0x200)][_0x9c0d9c(0x1fb)](_0x44dde4)&&!this[_0x9c0d9c(0x2bf)]['has'](_0x44dde4)&&(this[_0x9c0d9c(0x2a3)](_0x44dde4),this[_0x9c0d9c(0x2bf)][_0x9c0d9c(0x323)](_0x44dde4));}[_0x2ea0c4(0x30f)](){const _0x243ef7=_0x2ea0c4;this[_0x243ef7(0x1f3)]['forEach'](_0x4182b8=>_0x4182b8['dispose']()),this['_disposePopups'][_0x243ef7(0x111)]=0x0;}[_0x2ea0c4(0x2a3)](_0x31e96b){const _0x586d9e=_0x2ea0c4;var _0x37a971;let _0x5a594d=(_0x37a971=this[_0x586d9e(0x200)][_0x586d9e(0x425)](_0x31e96b))==null?void 0x0:_0x37a971['scene'],_0x13bde1=_0x5a594d==null?void 0x0:_0x5a594d[_0x586d9e(0x279)]();!_0x5a594d||!_0x13bde1||(this[_0x586d9e(0x3c0)](_0x13bde1['createControl$'][_0x586d9e(0x15f)](()=>{const _0x4a5ba7=_0x586d9e;let _0x12a597=_0x13bde1['getSelectedObjectMap']();if(this['_clearPopups'](),this[_0x4a5ba7(0x218)]||_0x12a597[_0x4a5ba7(0x347)]>0x1)return;let _0x1307d6=_0x12a597['values']()['next']()['value'];if(!_0x1307d6)return;let _0x1f0bcd=this[_0x4a5ba7(0x275)][_0x4a5ba7(0x345)](_0x1307d6[_0x4a5ba7(0x1a0)]);if(!_0x1f0bcd||_0x1f0bcd[_0x4a5ba7(0x19a)]!==_0x3fe9b6[_0x4a5ba7(0x225)][_0x4a5ba7(0x1d9)])return;let {unitId:_0x1f5699,subUnitId:_0x53cfd0,drawingId:_0x3f857b,drawingType:_0x2e2708}=_0x1f0bcd,_0x27cfb3=this['_getShapeInfo'](_0x1f5699,_0x53cfd0,_0x3f857b);if(!_0x27cfb3)return;this[_0x4a5ba7(0x16e)][_0x4a5ba7(0x1b5)](_0x3fe9b6['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x221744=this[_0x4a5ba7(0x1e5)][_0x4a5ba7(0x335)](_0x1307d6,{'componentKey':_0x414ec8,'direction':'top-center','offset':[0x0,_0x502542[_0x4a5ba7(0x29e)]],'extraProps':{'unitId':_0x1f5699,'subUnitId':_0x53cfd0,'drawingId':_0x3f857b,'drawingType':_0x2e2708,'shapeType':_0x27cfb3[_0x4a5ba7(0x3da)],'shapeData':_0x27cfb3['shapeData']}});this[_0x4a5ba7(0x1f3)][_0x4a5ba7(0x35c)](this[_0x4a5ba7(0x3c0)](_0x221744)),this[_0x4a5ba7(0x275)]['getFocusDrawings']()['find'](_0x4ec821=>_0x4ec821[_0x4a5ba7(0x429)]===_0x1f5699&&_0x4ec821['subUnitId']===_0x53cfd0&&_0x4ec821[_0x4a5ba7(0x215)]===_0x3f857b)||this[_0x4a5ba7(0x275)][_0x4a5ba7(0x223)]([{'unitId':_0x1f5699,'subUnitId':_0x53cfd0,'drawingId':_0x3f857b}]);})),this['disposeWithMe'](_0x13bde1[_0x586d9e(0x10c)][_0x586d9e(0x15f)](()=>{const _0x138944=_0x586d9e;this[_0x138944(0x30f)](),this[_0x138944(0x16e)][_0x138944(0x1b5)](_0x3fe9b6[_0x138944(0x114)],!0x1),this[_0x138944(0x275)][_0x138944(0x223)](null);})),this[_0x586d9e(0x3c0)](_0x13bde1['changing$'][_0x586d9e(0x15f)](()=>{const _0x4563af=_0x586d9e;this[_0x4563af(0x30f)]();})),this['disposeWithMe'](_0x13bde1[_0x586d9e(0x3d1)]['subscribe'](()=>{this['_clearPopups']();})));}['_registerOperations'](){const _0x43f39b=_0x2ea0c4;this['disposeWithMe'](this['_commandService'][_0x43f39b(0x23e)](_0xca970a=>{const _0x55cd78=_0x43f39b;if(_0xca970a['id']===_0xe5dd06['id']){let {unitId:_0xcee510,subUnitId:_0x55cc93,drawingId:_0x2cc467}=_0xca970a[_0x55cd78(0x137)];this[_0x55cd78(0x3cd)]+=0x1,this[_0x55cd78(0x17c)]=this[_0x55cd78(0x28f)](_0xcee510,_0x55cc93,_0x2cc467),this[_0x55cd78(0x30f)](),this[_0x55cd78(0x1ef)]();}if(_0xca970a['id']===_0x43882a['id']&&(this[_0x55cd78(0x17c)]=null,this['_closeShapeEditPanel']()),_0xca970a['id']===_0x2cb023[_0x55cd78(0x2d7)]['id']){let {unitId:_0x4b2c84,subUnitId:_0x2aab76,shapeId:_0x5223c0}=_0xca970a[_0x55cd78(0x137)];if(this[_0x55cd78(0x17c)]&&this['_activeShapeInfo'][_0x55cd78(0x124)]===_0x5223c0){let _0x3e4458=this[_0x55cd78(0x28f)](_0x4b2c84,_0x2aab76,_0x5223c0);_0x3e4458&&(this['_shapeEditPanelVersion']+=0x1,_0x3e4458[_0x55cd78(0x401)]=this[_0x55cd78(0x3cd)],this[_0x55cd78(0x17c)]=_0x3e4458,this['_isOpenedShapeEditPanel']&&this[_0x55cd78(0x1ef)]());}}})),this[_0x43f39b(0x3c0)](this[_0x43f39b(0x275)][_0x43f39b(0x3be)]['subscribe'](_0x17d878=>{const _0x3ff7c3=_0x43f39b;if(this[_0x3ff7c3(0x218)]===!0x1)return;if(_0x17d878['length']===0x0){this[_0x3ff7c3(0x17c)]=null,this['_closeShapeEditPanel']();return;}if(_0x17d878[_0x3ff7c3(0x111)]===0x1&&_0x17d878[0x0][_0x3ff7c3(0x19a)]===_0x3fe9b6[_0x3ff7c3(0x225)][_0x3ff7c3(0x1d9)]&&(this[_0x3ff7c3(0x3cd)]+=0x1,this[_0x3ff7c3(0x17c)]=this[_0x3ff7c3(0x28f)](_0x17d878[0x0][_0x3ff7c3(0x429)],_0x17d878[0x0][_0x3ff7c3(0x3aa)],_0x17d878[0x0]['drawingId']),this[_0x3ff7c3(0x17c)])){this['_openShapeEditPanel']();return;}let _0x555b21=_0x17d878['filter'](_0x51fb63=>_0x51fb63[_0x3ff7c3(0x19a)]===_0x3fe9b6[_0x3ff7c3(0x225)][_0x3ff7c3(0x1d9)]);if(_0x17d878[_0x3ff7c3(0x111)]>0x1&&_0x555b21[_0x3ff7c3(0x111)]===_0x17d878['length']){if(this['_shapeEditPanelVersion']+=0x1,this[_0x3ff7c3(0x17c)]=this[_0x3ff7c3(0x28f)](_0x17d878[0x0][_0x3ff7c3(0x429)],_0x17d878[0x0][_0x3ff7c3(0x3aa)],_0x17d878[0x0][_0x3ff7c3(0x215)]),this[_0x3ff7c3(0x17c)]){this['_openShapeEditPanel']();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x3ff7c3(0x28f)](_0x17d878[0x0]['unitId'],_0x17d878[0x0][_0x3ff7c3(0x3aa)],_0x17d878[0x0]['drawingId']),this[_0x3ff7c3(0x17c)]){this[_0x3ff7c3(0x17c)][_0x3ff7c3(0x42d)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x3ff7c3(0x400)]();}));}['_openShapeEditPanel'](){const _0x15e94d=_0x2ea0c4;this['_activeShapeInfo']&&(this[_0x15e94d(0x199)]=this[_0x15e94d(0x139)][_0x15e94d(0x292)]({'id':_0x1ad3e6,'header':{'title':this[_0x15e94d(0x2e5)]['t'](_0x15e94d(0x330))},'width':0x184,'children':{'label':_0x1ad3e6,...this[_0x15e94d(0x17c)]},'onClose':()=>{const _0x4492ad=_0x15e94d;this[_0x4492ad(0x275)][_0x4492ad(0x223)](null),this['_contextService'][_0x4492ad(0x1b5)](_0x3fe9b6[_0x4492ad(0x114)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x15e94d(0x218)]=!0x0);}[_0x2ea0c4(0x400)](){const _0x4e258e=_0x2ea0c4;this[_0x4e258e(0x218)]=!0x1,this[_0x4e258e(0x139)][_0x4e258e(0x1d7)](_0x1ad3e6),this['_sidebarDisposable']=null,this[_0x4e258e(0x16e)][_0x4e258e(0x1b5)](_0x3fe9b6[_0x4e258e(0x114)],!0x1),this['_drawingManagerService'][_0x4e258e(0x223)](null);}};_0x4f7037=_0x20d714([_0x26d55f(0x0,_0x3fe9b6[_0x2ea0c4(0x287)]),_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2b76f2['ISidebarService'])),_0x26d55f(0x2,_0x2b76f2[_0x2ea0c4(0x375)]),_0x26d55f(0x3,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x2cb023['SheetsShapeService'])),_0x26d55f(0x4,(0x0,_0x3fe9b6['Inject'])(_0x3fe9b6['LocaleService'])),_0x26d55f(0x5,_0x3fe9b6[_0x2ea0c4(0x2ec)]),_0x26d55f(0x6,_0xcd0f0e[_0x2ea0c4(0x3c8)]),_0x26d55f(0x7,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x48ecbb['SheetCanvasPopManagerService'])),_0x26d55f(0x8,_0x3fe9b6[_0x2ea0c4(0x3ed)]),_0x26d55f(0x9,_0x122d5a[_0x2ea0c4(0x238)]),_0x26d55f(0xa,(0x0,_0x3fe9b6['Inject'])(_0x383d16))],_0x4f7037);let _0x41deda=class extends _0x3fe9b6[_0x2ea0c4(0x316)]{constructor(_0x37ba3f=_0x4a6307,_0x8ad5be,_0x2a7b91,_0x142bf3,_0x5e13a8){const _0x2125f3=_0x2ea0c4;super(),this[_0x2125f3(0x177)]=_0x37ba3f,this[_0x2125f3(0x35f)]=_0x8ad5be,this[_0x2125f3(0x3d4)]=_0x2a7b91,this['_configService']=_0x142bf3,this[_0x2125f3(0x200)]=_0x5e13a8;let {..._0x56ae4f}=(0x0,_0x3fe9b6['merge'])({},_0x4a6307,this[_0x2125f3(0x177)]);this['_configService'][_0x2125f3(0x33d)](_0x2125f3(0x145),_0x56ae4f),this[_0x2125f3(0x2c7)]();}[_0x2ea0c4(0x142)](){const _0x47ffb6=_0x2ea0c4;(0x0,_0x3fe9b6[_0x47ffb6(0x310)])(this[_0x47ffb6(0x35f)],[[_0x4f7037],[_0x560525],[_0x3eccdb],[_0xad1885]]);}[_0x2ea0c4(0x11c)](){const _0x5b4e80=_0x2ea0c4;this[_0x5b4e80(0x35f)]['get'](_0x4f7037)['initShapePopupMenu']();}[_0x2ea0c4(0x3e6)](){const _0x50fe97=_0x2ea0c4;[[_0x4fe1d3],[_0x17ed0c],[_0x585fa5]][_0x50fe97(0x31b)](_0x44077d=>this[_0x50fe97(0x35f)][_0x50fe97(0x323)](_0x44077d)),(0x0,_0x3fe9b6[_0x50fe97(0x310)])(this['_injector'],[[_0x585fa5],[_0x17ed0c]]),this[_0x50fe97(0x200)][_0x50fe97(0x358)](_0x3fe9b6[_0x50fe97(0x1df)][_0x50fe97(0x430)],[_0x4fe1d3]),this[_0x50fe97(0x200)]['registerRenderModule'](_0x3fe9b6[_0x50fe97(0x1df)][_0x50fe97(0x430)],[_0x1717ef]),this['_renderManagerService'][_0x50fe97(0x358)](_0x3fe9b6[_0x50fe97(0x1df)][_0x50fe97(0x430)],[_0x4cd232]),this['_renderManagerService']['registerRenderModule'](_0x3fe9b6[_0x50fe97(0x1df)][_0x50fe97(0x430)],[_0x508c50]),this[_0x50fe97(0x200)]['registerRenderModule'](_0x3fe9b6[_0x50fe97(0x1df)][_0x50fe97(0x37a)],[_0x3abd37]);}['onStarting'](){const _0x3be870=_0x2ea0c4;this[_0x3be870(0x35f)][_0x3be870(0x323)]([_0x36f8a5]),this[_0x3be870(0x35f)]['get'](_0x36f8a5);let _0x14ef9e=this[_0x3be870(0x35f)];[[_0x4f7037],[_0x560525],[_0x3eccdb],[_0xad1885],[_0x2408bd],[_0x383d16],[_0x21c348],[_0x7de345],[_0x5525dd]][_0x3be870(0x31b)](_0x129d2e=>_0x14ef9e[_0x3be870(0x323)](_0x129d2e)),(0x0,_0x3fe9b6[_0x3be870(0x310)])(this[_0x3be870(0x35f)],[[_0x4f7037],[_0x560525],[_0x3eccdb],[_0x2408bd],[_0x383d16],[_0x21c348],[_0x7de345],[_0x5525dd]]);}[_0x2ea0c4(0x2c7)](){const _0x40e131=_0x2ea0c4;[_0x5e7a4e,_0x4a4f06,_0xd4b25,_0x18c74f,_0x441656,_0x41635b,_0xabf84b,_0x43882a,_0xe5dd06,_0xe06288,_0x53ad6d,_0x46cdb6][_0x40e131(0x31b)](_0x8ed05=>this[_0x40e131(0x3c0)](this[_0x40e131(0x3d4)]['registerCommand'](_0x8ed05)));}};_0x144b44(_0x41deda,_0x2ea0c4(0x1d5),_0x3fe9b6[_0x2ea0c4(0x1df)][_0x2ea0c4(0x430)]),_0x144b44(_0x41deda,'pluginName',_0x2ea0c4(0x166)),_0x144b44(_0x41deda,'packageName',_0x105126),_0x144b44(_0x41deda,_0x2ea0c4(0x401),_0x45f0cc),_0x41deda=_0x20d714([(0x0,_0x3fe9b6[_0x2ea0c4(0x43a)])(_0x86dc86[_0x2ea0c4(0x140)],_0x502542[_0x2ea0c4(0x3e7)],_0x20f931[_0x2ea0c4(0x213)],_0x2cb023[_0x2ea0c4(0x13d)]),_0x26d55f(0x1,(0x0,_0x3fe9b6[_0x2ea0c4(0x3ad)])(_0x3fe9b6[_0x2ea0c4(0x23c)])),_0x26d55f(0x2,_0x3fe9b6[_0x2ea0c4(0x2ec)]),_0x26d55f(0x3,_0x3fe9b6['IConfigService']),_0x26d55f(0x4,_0x122d5a['IRenderManagerService'])],_0x41deda),_0x4f45b0['SheetsShapeUIMenuSchema']=_0x247894,Object['defineProperty'](_0x4f45b0,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x41deda;}});}));
|
|
1
|
+
function _0x5c5d(_0x65067d,_0x3ff196){_0x65067d=_0x65067d-0x1d3;const _0x4bbfcd=_0x4bbf();let _0x5c5df3=_0x4bbfcd[_0x65067d];return _0x5c5df3;}(function(_0x542ce6,_0x217479){const _0x217682=_0x5c5d,_0x1b40fb=_0x542ce6();while(!![]){try{const _0x8027ab=parseInt(_0x217682(0x470))/0x1+-parseInt(_0x217682(0x286))/0x2+-parseInt(_0x217682(0x301))/0x3*(parseInt(_0x217682(0x21b))/0x4)+parseInt(_0x217682(0x4bf))/0x5*(parseInt(_0x217682(0x351))/0x6)+parseInt(_0x217682(0x45c))/0x7*(parseInt(_0x217682(0x340))/0x8)+parseInt(_0x217682(0x3b0))/0x9+-parseInt(_0x217682(0x2c4))/0xa;if(_0x8027ab===_0x217479)break;else _0x1b40fb['push'](_0x1b40fb['shift']());}catch(_0x27813){_0x1b40fb['push'](_0x1b40fb['shift']());}}}(_0x4bbf,0x72b76),function(_0x57074d,_0x2e67d1){const _0x3736fd=_0x5c5d;typeof exports=='object'&&typeof module<'u'?_0x2e67d1(exports,require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor-ui'),require('@univerjs-pro/sheets-shape'),require('@univerjs/core'),require('@univerjs/sheets'),require('@univerjs/drawing'),require('@univerjs/engine-render'),require('@univerjs/sheets-ui'),require('rxjs'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/sheets-drawing-ui'),require('react'),require('@univerjs/sheets-drawing'),require('@univerjs/docs'),require('@univerjs/docs-ui')):typeof define==_0x3736fd(0x489)&&define['amd']?define(['exports',_0x3736fd(0x3a3),_0x3736fd(0x1d4),_0x3736fd(0x4b5),_0x3736fd(0x322),_0x3736fd(0x341),_0x3736fd(0x3b7),_0x3736fd(0x250),_0x3736fd(0x446),_0x3736fd(0x2f7),'rxjs',_0x3736fd(0x426),_0x3736fd(0x217),_0x3736fd(0x2b5),'@univerjs/sheets-drawing-ui',_0x3736fd(0x34f),_0x3736fd(0x255),_0x3736fd(0x382),_0x3736fd(0x307)],_0x2e67d1):(_0x57074d=typeof globalThis<'u'?globalThis:_0x57074d||self,_0x2e67d1(_0x57074d[_0x3736fd(0x40c)]={},_0x57074d[_0x3736fd(0x3bd)],_0x57074d['UniverProEngineShape'],_0x57074d[_0x3736fd(0x4c5)],_0x57074d['UniverProSheetsShape'],_0x57074d[_0x3736fd(0x391)],_0x57074d[_0x3736fd(0x335)],_0x57074d[_0x3736fd(0x4f4)],_0x57074d[_0x3736fd(0x37a)],_0x57074d['UniverSheetsUi'],_0x57074d[_0x3736fd(0x4ec)],_0x57074d[_0x3736fd(0x3f2)],_0x57074d[_0x3736fd(0x4b7)],_0x57074d['UniverProLicense'],_0x57074d['UniverSheetsDrawingUi'],_0x57074d[_0x3736fd(0x4b7)],_0x57074d['UniverSheetsDrawing'],_0x57074d[_0x3736fd(0x4a3)],_0x57074d[_0x3736fd(0x48e)]));}(this,function(_0x3349db,_0x229cfc,_0x4f5ff8,_0x10236c,_0x5927be,_0x1f6ce6,_0x231b82,_0x2ee308,_0x58b748,_0x522354,_0x21c04f,_0x25185e,_0x2508da,_0x45c59e,_0x1700e5,_0x44112a,_0x43e147,_0x1ed768,_0x44ec79){const _0x47cc0f=_0x5c5d;Object[_0x47cc0f(0x2de)](_0x3349db,Symbol[_0x47cc0f(0x439)],{'value':_0x47cc0f(0x4c3)});function _0x489083(_0x5e455b,_0x1490a2){const _0x2a47eb=_0x47cc0f;let _0x5d81e9={};for(let _0x2e0ac3 of Object['keys'](_0x1490a2)){let _0x28ef1f=_0x1490a2[_0x2e0ac3],_0xf62a61=_0x5e455b[_0x2e0ac3];if(_0x28ef1f!==void 0x0){if(_0xf62a61===void 0x0){_0x5d81e9[_0x2e0ac3]=void 0x0;continue;}typeof _0x28ef1f==_0x2a47eb(0x467)&&_0x28ef1f&&!Array['isArray'](_0x28ef1f)&&typeof _0xf62a61=='object'&&_0xf62a61&&!Array[_0x2a47eb(0x481)](_0xf62a61)?_0x5d81e9[_0x2e0ac3]=_0x489083(_0xf62a61,_0x28ef1f):_0x5d81e9[_0x2e0ac3]=_0xf62a61;}}return _0x5d81e9;}let _0x4417a8={'type':_0x1f6ce6[_0x47cc0f(0x30e)][_0x47cc0f(0x3ff)],'id':_0x47cc0f(0x249),'handler':(_0x2ef1fc,_0x4bb7fd)=>{const _0x40693e=_0x47cc0f;let _0xa7b636=_0x2ef1fc[_0x40693e(0x1e3)](_0x5927be['SheetsShapeService']),{unitId:_0x2dc0b7,subUnitId:_0x5722c5,shapeType:_0x20f89c,shapeId:_0x1a4af8,shapeData:_0x1586de,oldShapeJSON:_0x468c3b}=_0x4bb7fd;if(!_0xa7b636[_0x40693e(0x381)](_0x2dc0b7,_0x5722c5,_0x1a4af8))return!0x1;let _0x4b56e5=_0x2ef1fc[_0x40693e(0x1e3)](_0x1f6ce6[_0x40693e(0x2bd)]),_0x58dc54=_0x2ef1fc['get'](_0x1f6ce6['IUndoRedoService']),{oldShapeType:_0x1255ea,oldShapeData:_0x443dfa={}}=_0x468c3b,_0x3b4320=_0x489083(_0x443dfa,_0x1586de||{}),_0x47acf9={'id':_0x5927be[_0x40693e(0x431)]['id'],'params':{'unitId':_0x2dc0b7,'subUnitId':_0x5722c5,'shapeId':_0x1a4af8,'shapeType':_0x20f89c,'shapeData':_0x1586de}},_0x17d5f0={'id':_0x5927be['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x2dc0b7,'subUnitId':_0x5722c5,'shapeId':_0x1a4af8,'shapeType':_0x1255ea,'shapeData':_0x3b4320}};return _0x4b56e5[_0x40693e(0x4e1)](_0x47acf9['id'],_0x47acf9[_0x40693e(0x305)])?(_0x58dc54[_0x40693e(0x430)]({'unitID':_0x2dc0b7,'undoMutations':[_0x17d5f0],'redoMutations':[_0x47acf9]}),!0x0):!0x1;}};function _0x3cbdfc(_0x1ab0cb,_0x29e98b,_0x25d604,_0x15a1b3,_0x35f80b,_0xc3ca5d){const _0x23aa63=_0x47cc0f;let _0x2254a5={'unitId':_0x29e98b,'subUnitId':_0x25d604,'shapeId':_0x15a1b3,'shapeData':_0xc3ca5d,'oldShapeJSON':_0x35f80b};return _0x1ab0cb[_0x23aa63(0x2cb)](_0x4417a8['id'],_0x2254a5);}function _0x44fc43(_0x1742f2,_0x420403,_0x276a5f,_0x4efbf9,_0x12b72a,_0x3c99b5){const _0x28ea42=_0x47cc0f;let _0x264918={'unitId':_0x420403,'subUnitId':_0x276a5f,'shapeId':_0x4efbf9,'shapeData':_0x3c99b5,'oldShapeJSON':_0x12b72a};return _0x1742f2[_0x28ea42(0x2cb)](_0x4417a8['id'],_0x264918);}function _0x4b708f(_0x37ba92){'@babel/helpers - typeof';return _0x4b708f=typeof Symbol=='function'&&typeof Symbol['iterator']=='symbol'?function(_0x2628cc){return typeof _0x2628cc;}:function(_0x47ac08){const _0x4e4e81=_0x5c5d;return _0x47ac08&&typeof Symbol==_0x4e4e81(0x489)&&_0x47ac08[_0x4e4e81(0x390)]===Symbol&&_0x47ac08!==Symbol['prototype']?_0x4e4e81(0x310):typeof _0x47ac08;},_0x4b708f(_0x37ba92);}function _0x3ed04f(_0x70e2c2,_0x58add6){const _0x9b8b2=_0x47cc0f;if(_0x4b708f(_0x70e2c2)!=_0x9b8b2(0x467)||!_0x70e2c2)return _0x70e2c2;var _0x25428b=_0x70e2c2[Symbol['toPrimitive']];if(_0x25428b!==void 0x0){var _0x1046f0=_0x25428b[_0x9b8b2(0x3ca)](_0x70e2c2,_0x58add6||_0x9b8b2(0x20f));if(_0x4b708f(_0x1046f0)!='object')return _0x1046f0;throw TypeError(_0x9b8b2(0x24a));}return(_0x58add6===_0x9b8b2(0x319)?String:Number)(_0x70e2c2);}function _0x2954f(_0x219237){const _0x1d2abd=_0x47cc0f;var _0xbe82a9=_0x3ed04f(_0x219237,_0x1d2abd(0x319));return _0x4b708f(_0xbe82a9)==_0x1d2abd(0x310)?_0xbe82a9:_0xbe82a9+'';}function _0x562cac(_0x387b16,_0x5e3a92,_0x270a57){const _0x4e3987=_0x47cc0f;return(_0x5e3a92=_0x2954f(_0x5e3a92))in _0x387b16?Object[_0x4e3987(0x2de)](_0x387b16,_0x5e3a92,{'value':_0x270a57,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x387b16[_0x5e3a92]=_0x270a57,_0x387b16;}function _0x527b23(_0x12cd62,_0x4b7576,_0x615d44){const _0x5c64a9=_0x47cc0f;var _0x193155;let _0x4e8f2e=(0x0,_0x10236c[_0x5c64a9(0x3dd)])(_0x12cd62,{..._0x4b7576,'dataModel':{...(_0x193155=_0x4b7576[_0x5c64a9(0x3d9)])==null?{}:_0x193155,..._0x615d44?{'doc':_0x615d44}:null}}),_0x59ce57=(0x0,_0x10236c[_0x5c64a9(0x47a)])(_0x4e8f2e);return{'clip':(0x0,_0x10236c['shouldClipShapeTextDocument'])(_0x4e8f2e,_0x59ce57),'wrapStrategy':_0x59ce57};}var _0x2f4556=class extends _0x58b748[_0x47cc0f(0x207)]{constructor(_0x574027,_0x33b8ab){const _0x37aa73=_0x47cc0f;super(_0x574027,_0x33b8ab),_0x562cac(this,'_props',void 0x0),_0x562cac(this,'_transformCalculateSrcRect',!0x0),_0x562cac(this,_0x37aa73(0x47b),_0x1f6ce6['DrawingTypeEnum']['DRAWING_SHAPE']),_0x562cac(this,_0x37aa73(0x413),!0x0),this[_0x37aa73(0x2f8)]={..._0x33b8ab},this[_0x37aa73(0x45d)]();}['_init'](){const _0x1686bd=_0x47cc0f;this['onTransformChange$'][_0x1686bd(0x4a2)](_0x4711a9=>{const _0x250a9f=_0x1686bd;this[_0x250a9f(0x29d)](_0x4711a9);});}[_0x47cc0f(0x2fe)](_0x9888b2){const _0x4b12cc=_0x47cc0f;this['_props'][_0x4b12cc(0x323)]=_0x9888b2;}[_0x47cc0f(0x302)](_0xb7cecf){const _0xcfa018=_0x47cc0f;this[_0xcfa018(0x2f8)][_0xcfa018(0x206)]=_0xb7cecf,this[_0xcfa018(0x49b)](!0x0);}get['unitId'](){return this['_props']['unitId'];}get[_0x47cc0f(0x2e1)](){const _0x54edbc=_0x47cc0f;return this['_props'][_0x54edbc(0x2e1)];}[_0x47cc0f(0x29d)](_0xe6baa7){const _0x5c827a=_0x47cc0f;if(this[_0x5c827a(0x2f8)]['srcRect']==null||!this[_0x5c827a(0x2b9)])return;let {width:_0x416c44,height:_0x18565c}=this,{width:_0x56fa3a=0x0,height:_0x23cf35=0x0}=_0xe6baa7[_0x5c827a(0x4b3)],{left:_0x1baaff=0x0,top:_0xa9e206=0x0,right:_0x44fd75=0x0,bottom:_0x2960e7=0x0}=this[_0x5c827a(0x2f8)][_0x5c827a(0x3a1)],_0x4c4de8=_0x1baaff,_0x3160e2=_0xa9e206,_0x4cce58=_0x44fd75,_0x5a5a93=_0x2960e7,_0x585aea=!0x1;if(_0x56fa3a!==0x0&&_0x56fa3a!==_0x416c44){let _0x5f19c6=_0x1baaff/_0x56fa3a,_0x38e96b=_0x44fd75/_0x56fa3a;_0x4c4de8=_0x416c44*_0x5f19c6,_0x4cce58=_0x416c44*_0x38e96b,_0x585aea=!0x0;}if(_0x23cf35!==0x0&&_0x23cf35!==_0x18565c){let _0x5bf265=_0xa9e206/_0x23cf35,_0x516d26=_0x2960e7/_0x23cf35;_0x3160e2=_0x18565c*_0x5bf265,_0x5a5a93=_0x18565c*_0x516d26,_0x585aea=!0x0;}_0x585aea&&this[_0x5c827a(0x42e)]({'left':_0x4c4de8,'top':_0x3160e2,'right':_0x4cce58,'bottom':_0x5a5a93});}['setSrcRect'](_0x1ed0c7){const _0xa983ee=_0x47cc0f;this[_0xa983ee(0x2f8)][_0xa983ee(0x3a1)]=_0x1ed0c7,this['makeDirty'](!0x0);}['setFillImage'](_0x6aff8){const _0x1868ae=_0x47cc0f;this['_props'][_0x1868ae(0x4ef)]=_0x6aff8,this[_0x1868ae(0x49b)](!0x0);}set['transform'](_0x4fa960){const _0x6a72e5=_0x47cc0f;this[_0x6a72e5(0x289)]=_0x4fa960;}get[_0x47cc0f(0x23f)](){const _0x2bcff9=_0x47cc0f;this[_0x2bcff9(0x289)]||this['_setTransForm']();let _0x2c1941=this['_transform']['clone']();return this[_0x2bcff9(0x379)](_0x2c1941);}get[_0x47cc0f(0x28c)](){const _0x2b92cf=_0x47cc0f;return this[_0x2b92cf(0x2f8)][_0x2b92cf(0x28c)];}get[_0x47cc0f(0x4d8)](){const _0x38ee71=_0x47cc0f;return this[_0x38ee71(0x2f8)][_0x38ee71(0x4d8)];}get[_0x47cc0f(0x2a8)](){const _0x1d6446=_0x47cc0f;return _0x58b748['RENDER_CLASS_TYPE'][_0x1d6446(0x2d1)];}[_0x47cc0f(0x464)](_0x4d9e28,_0x2bcd41,_0x5c47bd,_0x172960){const _0xd6b8ed=_0x47cc0f;let _0x1d350b=this[_0xd6b8ed(0x2f8)]['shapeModel'];if(!_0x1d350b||!_0x2bcd41)return;let _0x323f72=_0x5c47bd==null?this[_0xd6b8ed(0x300)]:_0x5c47bd,_0x12af7e=_0x172960==null?this[_0xd6b8ed(0x1e8)]:_0x172960,_0xc3707f={'shapeType':_0x1d350b[_0xd6b8ed(0x2d8)](),'width':_0x323f72,'height':_0x12af7e},_0x3ed73e={'renderMode':_0x4f5ff8[_0xd6b8ed(0x438)][_0xd6b8ed(0x397)],'oKey':this[_0xd6b8ed(0x3bc)],'image':this[_0xd6b8ed(0x2f8)]['image'],'angle':this['angle']};_0x1d350b[_0xd6b8ed(0x210)](_0xc3707f),_0x4d9e28[_0xd6b8ed(0x415)]();let _0x148c2c={'top':0x0,'left':0x0,'width':_0x323f72,'height':_0x12af7e};_0x1d350b[_0xd6b8ed(0x371)](_0x4d9e28,_0x148c2c,_0x3ed73e),_0x4d9e28[_0xd6b8ed(0x27c)]();let _0x1e3837=_0x1d350b[_0xd6b8ed(0x1ea)](),_0x2ca0dc=_0x1d350b[_0xd6b8ed(0x202)](_0x148c2c),_0x41bbc7=_0x1d350b['isLineShape']();if(_0x1e3837&&_0x2ca0dc&&!_0x41bbc7){_0x4d9e28[_0xd6b8ed(0x415)](),this[_0xd6b8ed(0x344)]()[_0xd6b8ed(0x42d)]&&_0x4d9e28[_0xd6b8ed(0x20a)](-0x1,0x1);let _0x25f91a=_0x323f72/0x2,_0x4210a5=_0x12af7e/0x2;_0x4d9e28[_0xd6b8ed(0x357)](-_0x25f91a,-_0x4210a5),_0x4d9e28[_0xd6b8ed(0x4e6)](),this['_drawShapeText'](_0x4d9e28,_0x1e3837,_0x2ca0dc),_0x4d9e28['restore']();}}['getDrawingPoints'](_0x202822){}['_drawShapeText'](_0x34ed2b,_0x35dddf,_0x428696){const _0x570157=_0x47cc0f;var _0x464415;this['_props'][_0x570157(0x206)]||(!((_0x464415=_0x35dddf['dataModel'])!=null&&_0x464415['doc'])&&_0x570157(0x2ce)in _0x35dddf&&_0x35dddf[_0x570157(0x2ce)]===!0x1?this[_0x570157(0x348)](_0x34ed2b,_0x35dddf,_0x428696):this[_0x570157(0x21f)](_0x34ed2b,_0x35dddf,_0x428696));}['_drawSimpleText'](_0x477c29,_0xb1d490,_0x21eaf9){const _0x114536=_0x47cc0f;var _0x573315;this['_drawRichText'](_0x477c29,{..._0xb1d490,'text':(_0x573315=_0xb1d490['text'])==null?'':_0x573315,'dataModel':{'doc':(0x0,_0x10236c['plainShapeTextToDocumentData'])(_0xb1d490,_0x114536(0x251)+this[_0x114536(0x3bc)])}},_0x21eaf9);}[_0x47cc0f(0x21f)](_0xb13f6d,_0x1fa068,_0x4160bf){const _0x4b6bb1=_0x47cc0f;var _0xd9b723,_0x489029;let _0x48fc2c=this[_0x4b6bb1(0x2f8)][_0x4b6bb1(0x205)];if(!_0x1fa068[_0x4b6bb1(0x3d9)]||!_0x48fc2c)return;let _0x29f40a=(0x0,_0x10236c[_0x4b6bb1(0x3d5)])(_0x1fa068['dataModel']);if(!_0x29f40a)return;let _0x1c1eda=_0x29f40a['doc'];if(!_0x1c1eda)return;let _0x449929=(_0xd9b723=_0x29f40a['va'])==null?_0x1f6ce6[_0x4b6bb1(0x484)][_0x4b6bb1(0x2c3)]:_0xd9b723,_0x4e5ff3=(_0x489029=_0x29f40a['ha'])==null?_0x1f6ce6['HorizontalAlign'][_0x4b6bb1(0x463)]:_0x489029,_0x3ae4b1=_0x527b23(this[_0x4b6bb1(0x2f8)][_0x4b6bb1(0x28c)][_0x4b6bb1(0x3b4)](),_0x1fa068,_0x1c1eda),_0x1a90df=_0x1fa068[_0x4b6bb1(0x33b)],_0xe60d75=new _0x1f6ce6[(_0x4b6bb1(0x4e2))]((0x0,_0x10236c[_0x4b6bb1(0x457)])(_0x1c1eda,{'isHorizontal':_0x1a90df!==!0x1,'textRect':_0x4160bf,'verticalAlign':_0x449929,'horizontalAlign':_0x4e5ff3,'wrapStrategy':_0x3ae4b1['wrapStrategy']})),_0x349bb2=new _0x58b748[(_0x4b6bb1(0x36f))](_0xe60d75),_0x28a1c2=_0x58b748[_0x4b6bb1(0x363)]['create'](_0x349bb2,_0x48fc2c);_0x28a1c2[_0x4b6bb1(0x26c)]();let _0x216ece=_0x28a1c2[_0x4b6bb1(0x252)]()[_0x4b6bb1(0x2b0)],_0x5ab379=(0x0,_0x10236c[_0x4b6bb1(0x29c)])({'contentHeight':_0x216ece,'verticalAlign':_0x449929,'viewportHeight':_0x4160bf[_0x4b6bb1(0x1e8)]});_0xe60d75[_0x4b6bb1(0x20e)]({'pageSize':{'width':_0x1a90df===!0x1?_0x4160bf[_0x4b6bb1(0x1e8)]:_0x4160bf[_0x4b6bb1(0x300)],'height':_0x5ab379['contentHeight']}}),_0xe60d75[_0x4b6bb1(0x445)]({'t':_0x5ab379[_0x4b6bb1(0x456)]}),_0x28a1c2['calculate']();let _0x2ce6e6=new _0x58b748[(_0x4b6bb1(0x4e5))](_0x4b6bb1(0x4ac)+this[_0x4b6bb1(0x3bc)],_0x28a1c2,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this['makeDirty'](!0x0)});_0x2ce6e6[_0x4b6bb1(0x33a)](_0x4160bf[_0x4b6bb1(0x300)],_0x5ab379['contentHeight']),_0xb13f6d[_0x4b6bb1(0x415)](),_0xb13f6d[_0x4b6bb1(0x4d3)](_0x4160bf[_0x4b6bb1(0x3c3)],_0x4160bf['top']),_0x3ae4b1[_0x4b6bb1(0x3af)]&&(_0xb13f6d['beginPath'](),_0xb13f6d[_0x4b6bb1(0x23c)](0x0,_0x5ab379[_0x4b6bb1(0x1e2)],_0x4160bf[_0x4b6bb1(0x300)],_0x5ab379[_0x4b6bb1(0x32f)]),_0xb13f6d[_0x4b6bb1(0x3af)]()),_0x5ab379[_0x4b6bb1(0x362)]&&_0xb13f6d[_0x4b6bb1(0x4d3)](0x0,_0x5ab379[_0x4b6bb1(0x362)]),_0x2ce6e6[_0x4b6bb1(0x3fb)](_0xb13f6d),_0xb13f6d['restore'](),_0x2ce6e6[_0x4b6bb1(0x435)](),_0x28a1c2[_0x4b6bb1(0x435)](),_0x349bb2['dispose'](),_0xe60d75[_0x4b6bb1(0x435)]();}[_0x47cc0f(0x371)](_0x24b6dc,_0x56b040,_0x4aa8ad=!0x1){const _0x5860b5=_0x47cc0f;if(!this[_0x5860b5(0x367)])return this[_0x5860b5(0x49b)](!0x1),this;let {width:_0x20ce58,height:_0x2d8878,left:_0x344d2f,top:_0x5d6552}=this,_0x3a841f=this[_0x5860b5(0x3f7)]();if(_0x20ce58=_0x3a841f['width'],_0x2d8878=_0x3a841f[_0x5860b5(0x1e8)],_0x344d2f=_0x3a841f[_0x5860b5(0x3c3)],_0x5d6552=_0x3a841f[_0x5860b5(0x3ad)],this['isRender'](_0x56b040)){let {top:_0x2e5682,left:_0xabf606,bottom:_0x3aef44,right:_0x32836f}=_0x56b040[_0x5860b5(0x222)];if(_0x20ce58+this[_0x5860b5(0x208)]+_0x344d2f<_0xabf606||_0x32836f<_0x344d2f||_0x2d8878+this[_0x5860b5(0x208)]+_0x5d6552<_0x2e5682||_0x3aef44<_0x5d6552)return this;}let _0xf5a7f6=_0x344d2f+_0x20ce58/0x2,_0x3cb9a0=_0x5d6552+_0x2d8878/0x2,_0x17de5c=this[_0x5860b5(0x23f)][_0x5860b5(0x34d)]();if(this[_0x5860b5(0x2f8)]['isEditing']){let _0x4eb6ed=this['getState'](),_0x218cf6=new _0x58b748[(_0x5860b5(0x2ba))]();_0x218cf6['composeMatrix']({..._0x4eb6ed}),_0x17de5c=_0x218cf6['getMatrix']();}return _0x24b6dc[_0x5860b5(0x415)](),this[_0x5860b5(0x2f8)][_0x5860b5(0x28c)]['isRenderLinePointsMode']===!0x0||_0x24b6dc[_0x5860b5(0x23f)](_0x17de5c[0x0],_0x17de5c[0x1],_0x17de5c[0x2],_0x17de5c[0x3],_0xf5a7f6,_0x3cb9a0),this['_draw'](_0x24b6dc,_0x56b040,_0x20ce58,_0x2d8878),_0x24b6dc[_0x5860b5(0x27c)](),this['makeDirty'](!0x1),this;}[_0x47cc0f(0x204)](_0x3dd0d8){const _0x12777d=_0x47cc0f;let {left:_0x16ee3e,top:_0x37a6e6,width:_0x1034de,height:_0x3af650}=this[_0x12777d(0x3f7)](),_0x34a2bf=this[_0x12777d(0x23f)][_0x12777d(0x34d)](),_0x439aaa=_0x16ee3e+_0x1034de/0x2,_0x1b7299=_0x37a6e6+_0x3af650/0x2,_0x1447ce=new _0x58b748['Transform']([_0x34a2bf[0x0],_0x34a2bf[0x1],_0x34a2bf[0x2],_0x34a2bf[0x3],_0x439aaa,_0x1b7299]),_0x133ddb=this[_0x12777d(0x2bf)]();return(this[_0x12777d(0x20d)]&&(_0x133ddb==null?void 0x0:_0x133ddb['classType'])===_0x58b748[_0x12777d(0x3a7)][_0x12777d(0x43b)]?_0x133ddb[_0x12777d(0x354)]['multiply'](_0x1447ce):_0x1447ce)[_0x12777d(0x1f0)]()[_0x12777d(0x4a4)](_0x3dd0d8);}[_0x47cc0f(0x479)](_0x13b6e6){const _0x4be2d7=_0x47cc0f;let {left:_0x6fec28,top:_0x4382f0,width:_0x16ac7c,height:_0x1609ab}=this[_0x4be2d7(0x3f7)](),_0xa4b200=_0x6fec28+_0x16ac7c/0x2,_0x29bbb9=_0x4382f0+_0x1609ab/0x2,_0x5a3dcf=this[_0x4be2d7(0x23f)][_0x4be2d7(0x34d)](),_0x2a5302=new _0x58b748['Transform']([_0x5a3dcf[0x0],_0x5a3dcf[0x1],_0x5a3dcf[0x2],_0x5a3dcf[0x3],_0xa4b200,_0x29bbb9]),_0x1e85a7=this[_0x4be2d7(0x2bf)](),_0x41a8bb=(this['isInGroup']&&(_0x1e85a7==null?void 0x0:_0x1e85a7[_0x4be2d7(0x2a8)])===_0x58b748[_0x4be2d7(0x3a7)][_0x4be2d7(0x43b)]?_0x1e85a7[_0x4be2d7(0x354)][_0x4be2d7(0x4ad)](_0x2a5302):_0x2a5302)[_0x4be2d7(0x1f0)]()[_0x4be2d7(0x4a4)](_0x13b6e6),_0x5d1641=_0x16ac7c/0x2,_0x312f21=_0x1609ab/0x2,_0x1d08b2=this[_0x4be2d7(0x2f8)][_0x4be2d7(0x28c)];return _0x1d08b2&&_0x1d08b2['isLineShape']()?_0x1d08b2['isHitLine'](_0x41a8bb['x'],_0x41a8bb['y'],_0x16ac7c,_0x1609ab):_0x41a8bb['x']>=-_0x5d1641-this[_0x4be2d7(0x208)]/0x2&&_0x41a8bb['x']<=_0x5d1641+this[_0x4be2d7(0x208)]/0x2&&_0x41a8bb['y']>=-_0x312f21-this['strokeWidth']/0x2&&_0x41a8bb['y']<=_0x312f21+this[_0x4be2d7(0x208)]/0x2;}[_0x47cc0f(0x435)](){const _0x4bbc72=_0x47cc0f;this[_0x4bbc72(0x2f8)]['shapeModel']=null,super[_0x4bbc72(0x435)]();}},_0x50c784=class extends _0x58b748['Shape']{constructor(_0x5670cc,_0x307919){const _0x198740=_0x47cc0f;super(_0x5670cc,_0x307919),_0x562cac(this,_0x198740(0x475),null),_0x562cac(this,_0x198740(0x26a),null),_0x562cac(this,_0x198740(0x242),null),_0x562cac(this,_0x198740(0x2ab),null),_0x307919&&this['setShapeProps'](_0x307919);}['getDrawingSearch'](){const _0x44705c=_0x47cc0f;return{'unitId':this[_0x44705c(0x242)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x44705c(0x475)]};}['setShapeProps'](_0x4f4eb5){const _0x81b292=_0x47cc0f;_0x4f4eb5[_0x81b292(0x4d8)]!==void 0x0&&(this['_shapeId']=_0x4f4eb5[_0x81b292(0x4d8)]),_0x4f4eb5[_0x81b292(0x4e0)]!==void 0x0&&(this[_0x81b292(0x26a)]=_0x4f4eb5[_0x81b292(0x4e0)]),_0x4f4eb5['unitId']!==void 0x0&&(this[_0x81b292(0x242)]=_0x4f4eb5[_0x81b292(0x394)]),_0x4f4eb5[_0x81b292(0x2e1)]!==void 0x0&&(this[_0x81b292(0x2ab)]=_0x4f4eb5[_0x81b292(0x2e1)]),this['transformByState']({'width':_0x4f4eb5['width'],'height':_0x4f4eb5[_0x81b292(0x1e8)]});}[_0x47cc0f(0x464)](_0x46480f){const _0x3552de=_0x47cc0f;_0x58b748[_0x3552de(0x4cb)][_0x3552de(0x237)](_0x46480f,{'radius':_0x4f5ff8[_0x3552de(0x4db)][_0x3552de(0x33f)],'fill':_0x4f5ff8[_0x3552de(0x4db)]['adjHandleFill'],'stroke':_0x4f5ff8[_0x3552de(0x4db)][_0x3552de(0x478)],'strokeWidth':0x1,'evented':!0x0});}};function _0x3607f9(_0x5aa37d,_0x33c223){return function(_0x3a879e,_0x429a5f){_0x33c223(_0x3a879e,_0x429a5f,_0x5aa37d);};}function _0x51130a(_0x2bfa34,_0x15f3fd,_0x4453c0,_0x5c4c59){const _0x50b9ea=_0x47cc0f;var _0x4449bf=arguments['length'],_0x1381ec=_0x4449bf<0x3?_0x15f3fd:_0x5c4c59===null?_0x5c4c59=Object['getOwnPropertyDescriptor'](_0x15f3fd,_0x4453c0):_0x5c4c59,_0x555490;if(typeof Reflect==_0x50b9ea(0x467)&&typeof Reflect['decorate']=='function')_0x1381ec=Reflect['decorate'](_0x2bfa34,_0x15f3fd,_0x4453c0,_0x5c4c59);else{for(var _0x2df6cf=_0x2bfa34['length']-0x1;_0x2df6cf>=0x0;_0x2df6cf--)(_0x555490=_0x2bfa34[_0x2df6cf])&&(_0x1381ec=(_0x4449bf<0x3?_0x555490(_0x1381ec):_0x4449bf>0x3?_0x555490(_0x15f3fd,_0x4453c0,_0x1381ec):_0x555490(_0x15f3fd,_0x4453c0))||_0x1381ec);}return _0x4449bf>0x3&&_0x1381ec&&Object[_0x50b9ea(0x2de)](_0x15f3fd,_0x4453c0,_0x1381ec),_0x1381ec;}let _0x32bb5d=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x35987f,_0x50803f,_0x27e756,_0x14025b,_0x2c0184){const _0xff16c6=_0x47cc0f;super(),this[_0xff16c6(0x416)]=_0x35987f,this[_0xff16c6(0x3c4)]=_0x50803f,this[_0xff16c6(0x3c6)]=_0x27e756,this[_0xff16c6(0x24e)]=_0x14025b,this[_0xff16c6(0x44a)]=_0x2c0184;}[_0x47cc0f(0x4ae)](_0x2d04ce,_0x1e81af,_0x38b27b){const _0x234418=_0x47cc0f;let {transform:_0x1a9903,drawingType:_0x7ca0be,srcRect:_0x5c1331,prstGeom:_0x33bbbc,groupId:_0x4cc6bb,unitId:_0x5d4a3d,subUnitId:_0x1e0e1f,drawingId:_0x235c94,isMultiTransform:_0x551aa3,transforms:_0x4c56af,hidden:_0x962f85,selectable:_0x5d94c9}=_0x2d04ce;if(_0x7ca0be!==_0x1f6ce6['DrawingTypeEnum'][_0x234418(0x3c0)]||!this['_drawingManagerService'][_0x234418(0x47c)]()||_0x1a9903==null)return;let _0x2b715a=this[_0x234418(0x416)][_0x234418(0x39b)]();_0x2b715a&&_0x1e81af['initTransformer'](_0x10236c[_0x234418(0x2f0)]);let _0x522c65=_0x551aa3&&_0x4c56af?_0x4c56af:[_0x1a9903],_0x273a6a=[];for(let _0x36ad24 of _0x522c65){let {left:_0x26a230,top:_0x327a18,width:_0x19a8ae,height:_0x22686d,angle:_0x17ec39,flipX:_0xd0949,flipY:_0x106388,skewX:_0x343913,skewY:_0x4dd5e6}=_0x36ad24,_0x3386d7=_0x522c65[_0x234418(0x486)](_0x36ad24),_0x31f94c=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5d4a3d,'subUnitId':_0x1e0e1f,'drawingId':_0x235c94},_0x551aa3?_0x3386d7:void 0x0),_0x2f2468=_0x1e81af[_0x234418(0x4d7)](_0x31f94c);if(_0x2f2468!=null){_0x2f2468[_0x234418(0x4a6)]({'left':_0x26a230,'top':_0x327a18,'width':_0x19a8ae,'height':_0x22686d,'angle':_0x17ec39,'flipX':_0xd0949,'flipY':_0x106388,'skewX':_0x343913,'skewY':_0x4dd5e6});continue;}let _0x2c779e=this[_0x234418(0x416)][_0x234418(0x40f)](_0x5d4a3d,_0x1e0e1f),_0x4cc931=_0x2c779e[_0x234418(0x486)](_0x235c94);if(_0x1e81af[_0x234418(0x4d7)](_0x31f94c)||!this[_0x234418(0x416)][_0x234418(0x47c)]())continue;let _0x5c6c15=this['_sheetsShapeService'][_0x234418(0x381)](_0x5d4a3d,_0x1e0e1f,_0x235c94);if(!_0x5c6c15)continue;let _0x181471=new _0x2f4556(_0x31f94c,{...(0x0,_0x4f5ff8['isConnectorShape'])(_0x5c6c15[_0x234418(0x2d8)]())?{..._0x36ad24,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x36ad24},'zIndex':_0x4cc931===-0x1?_0x2c779e[_0x234418(0x28e)]-0x1:_0x4cc931,'shapeModel':_0x5c6c15,'localeService':this[_0x234418(0x3c6)],'shapeId':_0x235c94,'unitId':_0x5d4a3d,'subUnitId':_0x1e0e1f,'visible':_0x962f85!==!0x0,'evented':_0x5d94c9!==!0x1});_0x1e81af[_0x234418(0x408)](_0x181471,_0x58b748['DRAWING_OBJECT_LAYER_INDEX']),_0x2b715a&&_0x1e81af[_0x234418(0x24f)](_0x181471),_0x4cc6bb&&(0x0,_0x25185e[_0x234418(0x25b)])({'drawingId':_0x4cc6bb,'unitId':_0x5d4a3d,'subUnitId':_0x1e0e1f},_0x181471,_0x1e81af,this[_0x234418(0x416)]),_0x33bbbc!=null&&_0x181471[_0x234418(0x2fe)](_0x33bbbc),_0x5c1331!=null&&_0x181471[_0x234418(0x42e)](_0x5c1331);let _0x40f666=this['_loadShapePictureFill'](_0x181471,_0x5c6c15[_0x234418(0x3b4)]());if(_0x40f666){var _0x1fe1a9;_0x38b27b==null||(_0x1fe1a9=_0x38b27b[_0x234418(0x321)])==null||_0x1fe1a9[_0x234418(0x317)](_0x40f666);}_0x273a6a[_0x234418(0x3e5)](_0x181471);}return _0x273a6a;}[_0x47cc0f(0x403)](_0x9b4d97){const _0x328036=_0x47cc0f;let _0x96eeca=_0x9b4d97[_0x328036(0x28c)][_0x328036(0x3b4)](),_0x1b39ea=_0x96eeca[_0x328036(0x266)];if(!_0x1b39ea||_0x1b39ea[_0x328036(0x230)]!==_0x4f5ff8[_0x328036(0x2ec)]['PictureFill']||!_0x1b39ea[_0x328036(0x215)]){_0x9b4d97['setFillImage'](void 0x0);return;}this[_0x328036(0x27f)](_0x9b4d97,_0x96eeca);}[_0x47cc0f(0x27f)](_0x59072c,_0xbaeea9){const _0x274ee6=_0x47cc0f;var _0x267d4c;let _0x41f170=_0xbaeea9[_0x274ee6(0x266)];if(!_0x41f170||_0x41f170[_0x274ee6(0x230)]!==_0x4f5ff8[_0x274ee6(0x2ec)][_0x274ee6(0x35b)]||!_0x41f170[_0x274ee6(0x215)])return;let _0x40c961=_0x41f170['fillImageSource'],_0x4ebec6=(_0x267d4c=_0x41f170[_0x274ee6(0x2a6)])==null?_0x4f5ff8['ImageSourceTypeEnum'][_0x274ee6(0x338)]:_0x267d4c,_0x415400=this[_0x274ee6(0x24e)][_0x274ee6(0x449)](_0x40c961,_0x4ebec6);if(_0x415400){_0x59072c[_0x274ee6(0x3d0)](_0x415400);return;}return this[_0x274ee6(0x3ea)](_0x59072c,_0x40c961,_0x4ebec6);}async[_0x47cc0f(0x3ea)](_0x272ebc,_0x3ee6a4,_0xbdafc){const _0x252144=_0x47cc0f;let _0x29abde;try{if(_0xbdafc===_0x4f5ff8[_0x252144(0x1db)][_0x252144(0x422)])_0x29abde=await this[_0x252144(0x24e)][_0x252144(0x23e)](_0x3ee6a4);else{if(_0xbdafc===_0x4f5ff8[_0x252144(0x1db)][_0x252144(0x338)])try{_0x29abde=await this[_0x252144(0x44a)]['getImage'](_0x3ee6a4);}catch{_0x29abde=_0x3ee6a4;}else _0x29abde=_0x3ee6a4;}}catch(_0x306189){console[_0x252144(0x4b9)](_0x252144(0x295),_0x306189);return;}await new Promise(_0x36b750=>{const _0x5b2482=_0x252144;let _0x5123d0=new window[(_0x5b2482(0x33e))]();_0x5123d0[_0x5b2482(0x425)]=()=>{const _0x10f857=_0x5b2482;this[_0x10f857(0x24e)][_0x10f857(0x231)](_0x3ee6a4,_0xbdafc,_0x5123d0),_0x272ebc['setFillImage'](_0x5123d0),_0x36b750();},_0x5123d0['onerror']=()=>{const _0x105970=_0x5b2482;console[_0x105970(0x4b9)](_0x105970(0x243),_0x3ee6a4),_0x36b750();},_0x5123d0[_0x5b2482(0x278)]=_0x29abde;});}};_0x32bb5d=_0x51130a([_0x3607f9(0x0,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be[_0x47cc0f(0x21d)])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1f6ce6[_0x47cc0f(0x406)])),_0x3607f9(0x3,_0x1f6ce6['IImageIoService']),_0x3607f9(0x4,_0x1f6ce6[_0x47cc0f(0x471)])],_0x32bb5d);let _0x40f08e=class extends _0x1f6ce6['Disposable']{constructor(_0x2feb75,_0x3799c4,_0x1fb785,_0x1fd81e,_0x17e369,_0xdbe408){const _0x233a99=_0x47cc0f;super(),this[_0x233a99(0x416)]=_0x2feb75,this[_0x233a99(0x3c4)]=_0x3799c4,this['_renderManagerService']=_0x1fb785,this['_sheetDrawingShapeRenderController']=_0x1fd81e,this['_univerInstanceService']=_0x17e369,this[_0x233a99(0x3e1)]=_0xdbe408,_0x562cac(this,_0x233a99(0x333),null),_0x562cac(this,'_unitId',null),_0x562cac(this,_0x233a99(0x2ab),null),_0x562cac(this,_0x233a99(0x4ed),void 0x0),_0x562cac(this,_0x233a99(0x4d0),[]),_0x562cac(this,'_baseShapeLeft',0x0),_0x562cac(this,_0x233a99(0x444),0x0),_0x562cac(this,_0x233a99(0x4c9),0x0),_0x562cac(this,'_baseShapeHeight',0x0),_0x562cac(this,_0x233a99(0x25a),!0x1),_0x562cac(this,'_activeAdjustInfo',void 0x0),_0x562cac(this,_0x233a99(0x2f6),void 0x0),_0x562cac(this,_0x233a99(0x2a7),void 0x0),_0x562cac(this,'_adjHandlerPointerUp',void 0x0),_0x562cac(this,_0x233a99(0x28b),!0x1),this[_0x233a99(0x4ea)](),this[_0x233a99(0x2af)]();}[_0x47cc0f(0x40b)](_0xa88784,_0x24df34,_0x372591){const _0x3e0dc9=_0x47cc0f;let _0x442446=this[_0x3e0dc9(0x3c4)]['getShapeModel'](_0xa88784,_0x24df34,_0x372591);if(_0x442446)return _0x442446[_0x3e0dc9(0x3f9)]();}[_0x47cc0f(0x46f)](){const _0x510d77=_0x47cc0f;this[_0x510d77(0x3d4)]();}[_0x47cc0f(0x3f5)](){const _0x21030d=_0x47cc0f;this[_0x21030d(0x1ff)](!0x0);}[_0x47cc0f(0x2e2)](_0x55f5eb){const _0x3d6c3a=_0x47cc0f;this[_0x3d6c3a(0x28b)]=_0x55f5eb;}['_getShapeAdjustInfosById'](_0x22ec4c,_0x538321,_0x338143,_0xdca310){const _0x72d920=_0x47cc0f;let _0x1a7d72=this[_0x72d920(0x3c4)][_0x72d920(0x381)](_0x22ec4c,_0x538321,_0x338143);if(_0x1a7d72)return _0x1a7d72[_0x72d920(0x223)](_0xdca310);}[_0x47cc0f(0x3a0)](_0xe68a9a=!0x1){const _0x4efa47=_0x47cc0f;if(this[_0x4efa47(0x242)]===null||this['_subUnitId']===null||this[_0x4efa47(0x333)]===null)return;let _0x14b389=this['_renderManagerService']['getRenderById'](this[_0x4efa47(0x242)]);if(!_0x14b389||!_0x14b389[_0x4efa47(0x1e4)](_0x522354[_0x4efa47(0x4ba)])[_0x4efa47(0x27d)]())return;let {scene:_0x37f590}=_0x14b389,_0x4f4fd4={'unitId':this[_0x4efa47(0x242)],'subUnitId':this[_0x4efa47(0x2ab)],'drawingId':this[_0x4efa47(0x333)]},_0x2f914f=this[_0x4efa47(0x416)]['getDrawingByParam'](_0x4f4fd4),{transform:_0x3484e8}=_0x2f914f;if(!_0x3484e8||_0x2f914f[_0x4efa47(0x2b2)]!==_0x1f6ce6[_0x4efa47(0x38b)][_0x4efa47(0x3c0)])return;let {left:_0x50d890,top:_0x78d03d,width:_0x30d841,height:_0x20eaa6,flipX:_0x10a25b,flipY:_0x8e00a9,angle:_0x3c1515=0x0}=_0x3484e8;if(_0x50d890===void 0x0||_0x78d03d===void 0x0)return;_0xe68a9a&&(this[_0x4efa47(0x4ed)]=this[_0x4efa47(0x40b)](this['_unitId'],this[_0x4efa47(0x2ab)],this[_0x4efa47(0x333)]));let _0x3fb4cc=this['_activeShapeAdjustPointList'];for(let _0x14ebb8=0x0;_0x14ebb8<_0x3fb4cc['length'];_0x14ebb8++){let _0x5d83b6=_0x3fb4cc[_0x14ebb8],_0x336d1c=_0x5d83b6['x'],_0x38c6bc=_0x5d83b6['y'];if(_0x10a25b&&(_0x336d1c=(_0x30d841||0x0)-_0x336d1c),_0x8e00a9&&(_0x38c6bc=(_0x20eaa6||0x0)-_0x38c6bc),_0x3c1515!==0x0){let _0x463837=(_0x30d841||0x0)/0x2,_0x576aa4=(_0x20eaa6||0x0)/0x2,_0x4fe077=_0x3c1515*Math['PI']/0xb4,_0xe5579f=Math[_0x4efa47(0x46c)](_0x4fe077),_0x5bc765=Math[_0x4efa47(0x494)](_0x4fe077),_0x86605c=_0x336d1c-_0x463837,_0x22a1e4=_0x38c6bc-_0x576aa4;_0x336d1c=_0x463837+(_0x86605c*_0xe5579f-_0x22a1e4*_0x5bc765),_0x38c6bc=_0x576aa4+(_0x86605c*_0x5bc765+_0x22a1e4*_0xe5579f);}let _0x9268e6={'x':_0x336d1c,'y':_0x38c6bc,'adjName':_0x5d83b6['adjName']};this[_0x4efa47(0x3c8)](_0x37f590,_0x9268e6,_0x9268e6[_0x4efa47(0x4e0)],_0x50d890,_0x78d03d,this[_0x4efa47(0x242)],this[_0x4efa47(0x2ab)]);}}[_0x47cc0f(0x1ff)](_0x20c0a3=!0x1){const _0xb530a4=_0x47cc0f;_0x20c0a3&&(this[_0xb530a4(0x3d4)](),this['_createShapeAdjustControls'](_0x20c0a3));}[_0x47cc0f(0x3c8)](_0x1026ac,_0x4af9ac,_0x35a49d,_0x575be2,_0x456400,_0x55dee1,_0x219b36){const _0x4c1159=_0x47cc0f;if(!this[_0x4c1159(0x333)])return;let _0x479e66=_0x1026ac[_0x4c1159(0x4d7)](_0x4c1159(0x331)+this[_0x4c1159(0x333)]+'-'+_0x35a49d);if(_0x479e66){_0x479e66['transformByState']({'left':_0x4af9ac['x']+_0x575be2-_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)],'top':_0x4af9ac['y']+_0x456400-_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)]});return;}let _0x2c0658={'left':_0x4af9ac['x']+_0x575be2-_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)],'top':_0x4af9ac['y']+_0x456400-_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)],'adjName':_0x35a49d,'shapeId':this[_0x4c1159(0x333)],'unitId':_0x55dee1,'subUnitId':_0x219b36,'width':_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)]+0x8,'height':_0x4f5ff8[_0x4c1159(0x4db)][_0x4c1159(0x33f)]+0x8,'zIndex':_0x58b748[_0x4c1159(0x43c)]+0x1,'evented':!0x0},_0xbd8063=new _0x50c784(_0x4c1159(0x331)+this[_0x4c1159(0x333)]+'-'+_0x35a49d,_0x2c0658);this[_0x4c1159(0x4d0)][_0x4c1159(0x3e5)](_0xbd8063),this[_0x4c1159(0x393)](_0xbd8063,_0x1026ac,_0x35a49d),_0x1026ac[_0x4c1159(0x408)](_0xbd8063,_0x58b748[_0x4c1159(0x43c)]+0x1);}[_0x47cc0f(0x3d4)](){const _0x26a714=_0x47cc0f;this[_0x26a714(0x4d0)][_0x26a714(0x28e)]!==0x0&&(this[_0x26a714(0x4d0)][_0x26a714(0x3ec)](_0x47fccd=>{const _0x422f1=_0x26a714;_0x47fccd[_0x422f1(0x435)]();}),this['_shapes']=[]);}[_0x47cc0f(0x221)](){const _0x9ba148=_0x47cc0f;this[_0x9ba148(0x3a0)]();}[_0x47cc0f(0x320)](_0x28d53e,_0x37b362){const _0x1e07c9=_0x47cc0f;var _0x49411c;let _0x114627={'x':0x0,'y':0x0};if(!_0x28d53e||!_0x37b362)return _0x114627;let _0x3f4b8d=this['_renderManagerService'][_0x1e07c9(0x350)](_0x28d53e);if(!_0x3f4b8d||!_0x3f4b8d[_0x1e07c9(0x1e4)](_0x522354[_0x1e07c9(0x4ba)])['getSkeleton'](_0x37b362))return _0x114627;let _0xc0fd3a=_0x3f4b8d[_0x1e07c9(0x1e4)](_0x522354[_0x1e07c9(0x41a)]),_0x73fe6e=_0xc0fd3a==null?void 0x0:_0xc0fd3a[_0x1e07c9(0x224)]();if(!_0x73fe6e)return _0x114627;let _0x5c89c8=(_0x49411c=this[_0x1e07c9(0x26b)][_0x1e07c9(0x49f)](_0x28d53e))==null?void 0x0:_0x49411c[_0x1e07c9(0x277)](_0x37b362);if(!_0x5c89c8)return _0x114627;let _0x4cdb7e=(0x0,_0x522354['getViewportByCell'])(_0x73fe6e[_0x1e07c9(0x389)],_0x73fe6e[_0x1e07c9(0x3ee)],_0x3f4b8d[_0x1e07c9(0x469)],_0x5c89c8);return _0x4cdb7e?{'x':_0x4cdb7e['viewportScrollX'],'y':_0x4cdb7e['viewportScrollY']}:_0x114627;}[_0x47cc0f(0x402)](_0x153a77,_0x5c3c31){const _0xc408f4=_0x47cc0f;var _0x2db1f3,_0x458450;let _0x3a1117=(_0x2db1f3=this[_0xc408f4(0x26b)][_0xc408f4(0x49f)](_0x153a77))==null?void 0x0:_0x2db1f3[_0xc408f4(0x277)](_0x5c3c31);return(_0x458450=_0x3a1117==null?void 0x0:_0x3a1117[_0xc408f4(0x38d)]())==null?0x1:_0x458450;}[_0x47cc0f(0x393)](_0x27cc4f,_0x8696fd,_0x3460e9){const _0xb75e1c=_0x47cc0f;this[_0xb75e1c(0x216)]((0x0,_0x1f6ce6[_0xb75e1c(0x31d)])(_0x27cc4f[_0xb75e1c(0x2ef)]['subscribeEvent']((_0x1da5e3,_0x28a0e9)=>{const _0x165436=_0xb75e1c;var _0x47f808,_0x38df39,_0x232895,_0x24eef0;let _0x5abca9=_0x27cc4f['getDrawingSearch']();this[_0x165436(0x44b)]=this[_0x165436(0x3b9)](_0x5abca9[_0x165436(0x394)],_0x5abca9[_0x165436(0x2e1)],_0x5abca9[_0x165436(0x257)],_0x3460e9),this[_0x165436(0x2f6)]=this[_0x165436(0x3c4)]['getShapeModel'](_0x5abca9[_0x165436(0x394)],_0x5abca9[_0x165436(0x2e1)],_0x5abca9[_0x165436(0x257)]);let _0x2b14cb=this[_0x165436(0x416)][_0x165436(0x3a2)]({'unitId':this[_0x165436(0x242)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x165436(0x333)]}),{transform:_0x5940fc}=_0x2b14cb;if(_0x5940fc){let {left:_0x1d6162,top:_0x3562aa,width:_0x2616e9,height:_0x2c9be6}=_0x5940fc;this[_0x165436(0x1d6)]=_0x1d6162||0x0,this['_baseShapeTop']=_0x3562aa||0x0,this[_0x165436(0x4c9)]=_0x2616e9||0x0,this['_baseShapeHeight']=_0x2c9be6||0x0;}let _0x5cb0a0=!!((_0x47f808=_0x2b14cb[_0x165436(0x23f)])!=null&&_0x47f808[_0x165436(0x42d)]),_0x370aa8=!!((_0x38df39=_0x2b14cb[_0x165436(0x23f)])!=null&&_0x38df39['flipY']),_0x1f574d=((_0x232895=_0x2b14cb[_0x165436(0x23f)])==null?void 0x0:_0x232895[_0x165436(0x25f)])||0x0;this['_isStartAdjusting']=!0x0,_0x8696fd[_0x165436(0x345)]();let _0x4f93bc=(_0x24eef0=this[_0x165436(0x2f6)])==null?void 0x0:_0x24eef0[_0x165436(0x327)](_0x3460e9),_0xb21d1c={[_0x3460e9]:_0x4f93bc};this[_0x165436(0x2a7)]=_0x8696fd[_0x165436(0x3ac)][_0x165436(0x4a2)]((_0x3ff7e0,_0x333561)=>{const _0x49a802=_0x165436;if(!this['_isStartAdjusting'])return;let {offsetX:_0x12706b,offsetY:_0x236044}=_0x3ff7e0,_0x2d0bac=this[_0x49a802(0x44b)];if(this[_0x49a802(0x2f6)]&&_0x2d0bac){_0x8696fd[_0x49a802(0x345)](),_0x8696fd[_0x49a802(0x23a)](_0x58b748['CURSOR_TYPE'][_0x49a802(0x3e8)]);let _0x4b030b={'left':0x0,'top':0x0,'width':this[_0x49a802(0x4c9)],'height':this[_0x49a802(0x3b1)]},_0x34519=this[_0x49a802(0x320)](this[_0x49a802(0x242)],this['_subUnitId']),_0x56b834=this[_0x49a802(0x402)](this['_unitId'],this[_0x49a802(0x2ab)]),_0x612204=_0x12706b/_0x56b834+_0x34519['x']-this[_0x49a802(0x1d6)],_0x597929=_0x236044/_0x56b834+_0x34519['y']-this['_baseShapeTop'];if(_0x1f574d!==0x0){let _0x3f495f=this[_0x49a802(0x4c9)]/0x2,_0x4f6287=this[_0x49a802(0x3b1)]/0x2,_0x1ceb5f=_0x1f574d*Math['PI']/0xb4,_0x462767=Math[_0x49a802(0x46c)](_0x1ceb5f),_0x34076b=Math[_0x49a802(0x494)](_0x1ceb5f),_0x3319bf=_0x612204-_0x3f495f,_0x58f599=_0x597929-_0x4f6287;_0x612204=_0x3f495f+(_0x3319bf*_0x462767+_0x58f599*_0x34076b),_0x597929=_0x4f6287+(-_0x3319bf*_0x34076b+_0x58f599*_0x462767);}_0x5cb0a0&&(_0x612204=this[_0x49a802(0x4c9)]-_0x612204),_0x370aa8&&(_0x597929=this[_0x49a802(0x3b1)]-_0x597929);let _0x3f3f49={'x':_0x612204,'y':_0x597929},_0x3dabef=this[_0x49a802(0x2f6)][_0x49a802(0x2a1)](_0x4b030b,_0x3f3f49,_0x2d0bac,_0x5cb0a0,_0x370aa8),_0x42287a=_0x2d0bac[_0x49a802(0x247)]||_0x2d0bac[_0x49a802(0x2f1)]||_0x2d0bac[_0x49a802(0x39d)]||_0x2d0bac[_0x49a802(0x3ae)];if(_0x42287a===void 0x0)return;this[_0x49a802(0x2f6)][_0x49a802(0x44d)](_0x42287a,_0x3dabef);let _0x55be0d=this[_0x49a802(0x416)][_0x49a802(0x3a2)]({'unitId':_0x5abca9[_0x49a802(0x394)],'subUnitId':_0x5abca9['subUnitId'],'drawingId':_0x5abca9[_0x49a802(0x257)]});_0x55be0d&&(this['_sheetDrawingShapeRenderController'][_0x49a802(0x4ae)](_0x55be0d,_0x8696fd),this[_0x49a802(0x4ed)]=this[_0x49a802(0x40b)](_0x5abca9[_0x49a802(0x394)],_0x5abca9[_0x49a802(0x2e1)],_0x5abca9[_0x49a802(0x257)]),this[_0x49a802(0x221)]());}_0x333561[_0x49a802(0x412)]();}),this[_0x165436(0x4af)]=_0x8696fd[_0x165436(0x1e9)][_0x165436(0x4a2)]((_0x12ae18,_0x9bded6)=>{const _0x1a572e=_0x165436;this['_adjHandlerPointerMove']['unsubscribe'](),this[_0x1a572e(0x4af)][_0x1a572e(0x212)](),_0x8696fd[_0x1a572e(0x2ac)]();let _0x508eaf=this['_activeAdjustInfo'];if(_0x508eaf){let _0x336522=_0x5abca9[_0x1a572e(0x394)],_0x256718=_0x5abca9[_0x1a572e(0x2e1)],_0x2e0ab5=_0x5abca9[_0x1a572e(0x257)],_0x3ee835=_0x508eaf[_0x1a572e(0x247)]||_0x508eaf[_0x1a572e(0x2f1)]||_0x508eaf[_0x1a572e(0x39d)]||_0x508eaf[_0x1a572e(0x3ae)];if(_0x3ee835!==void 0x0){var _0x1f9413;let _0x1f9295=(_0x1f9413=this[_0x1a572e(0x2f6)])==null?void 0x0:_0x1f9413[_0x1a572e(0x327)](_0x3ee835);_0x1f9295!==void 0x0&&_0x3cbdfc(this['_commandService'],_0x336522,_0x256718,_0x2e0ab5,{'oldShapeData':{'adjustValues':_0xb21d1c}},{'adjustValues':{[_0x3ee835]:_0x1f9295}});}}this[_0x1a572e(0x44b)]=void 0x0,this[_0x1a572e(0x2f6)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x9bded6['stopPropagation'](),_0x8696fd[_0x1a572e(0x2d4)]();}),_0x28a0e9['stopPropagation']();})));}[_0x47cc0f(0x2af)](){const _0x39b57b=_0x47cc0f;let _0x3fd911=this[_0x39b57b(0x26b)]['getCurrentTypeOfUnit$'](_0x1f6ce6[_0x39b57b(0x2c2)]['UNIVER_SHEET']);this[_0x39b57b(0x216)](_0x3fd911[_0x39b57b(0x43f)]((0x0,_0x21c04f[_0x39b57b(0x316)])(_0x109b21=>_0x109b21?_0x109b21['activeSheet$'][_0x39b57b(0x43f)]((0x0,_0x21c04f[_0x39b57b(0x316)])(_0x5c7697=>{const _0x267898=_0x39b57b;if(!_0x5c7697)return _0x21c04f[_0x267898(0x30d)];let _0x1054e1=_0x109b21[_0x267898(0x488)](),_0x444920=this[_0x267898(0x4bb)][_0x267898(0x350)](_0x1054e1),_0x4813cd=_0x444920==null?void 0x0:_0x444920[_0x267898(0x469)];return _0x4813cd?(0x0,_0x21c04f['of'])(_0x4813cd):_0x21c04f[_0x267898(0x30d)];})):_0x21c04f[_0x39b57b(0x30d)]))['subscribe'](_0x1b40d9=>{const _0x47fde8=_0x39b57b;let _0x3be47b=_0x1b40d9[_0x47fde8(0x33c)]();this[_0x47fde8(0x216)](_0x1b40d9[_0x47fde8(0x3ac)][_0x47fde8(0x4a2)](()=>{this['_isShouldShowDrawingShapeAdjust'];})),this[_0x47fde8(0x216)](_0x3be47b['changeStart$'][_0x47fde8(0x4b1)](_0x2d5a61=>{const _0x330579=_0x47fde8;let {objects:_0x2a72ad}=_0x2d5a61;this['_createShapeAdjustControls'](),_0x2a72ad!==null&&_0x2a72ad['size']===0x1&&_0x2a72ad[_0x330579(0x4a9)]()['next']()[_0x330579(0x337)]instanceof _0x2f4556&&this['setShouldShowAdjust'](!0x0);})),this[_0x47fde8(0x216)](_0x3be47b['changing$'][_0x47fde8(0x4b1)](()=>{const _0x194a79=_0x47fde8;this[_0x194a79(0x28b)]&&this[_0x194a79(0x3d4)]();})),this[_0x47fde8(0x216)](_0x1b40d9[_0x47fde8(0x1e9)]['subscribeEvent'](()=>{const _0x4af185=_0x47fde8;this[_0x4af185(0x28b)]&&(this[_0x4af185(0x2e2)](!0x1),this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x3be47b[_0x47fde8(0x1da)]['subscribe'](()=>{const _0x345adb=_0x47fde8;this['_unitId']&&this['_subUnitId']&&this[_0x345adb(0x333)]&&this[_0x345adb(0x416)][_0x345adb(0x3a2)]({'unitId':this[_0x345adb(0x242)],'subUnitId':this[_0x345adb(0x2ab)],'drawingId':this[_0x345adb(0x333)]})&&(this['_activeShapeAdjustPointList']=this[_0x345adb(0x40b)](this[_0x345adb(0x242)],this[_0x345adb(0x2ab)],this[_0x345adb(0x333)]),this[_0x345adb(0x221)]());}));}));}[_0x47cc0f(0x4ea)](){const _0x561e4d=_0x47cc0f;this[_0x561e4d(0x216)](this['_drawingManagerService'][_0x561e4d(0x2c6)][_0x561e4d(0x4b1)](_0x545e54=>{const _0x522ece=_0x561e4d;if(_0x545e54[_0x522ece(0x28e)]===0x1){let _0x5ddac6=_0x545e54[0x0];if(_0x5ddac6[_0x522ece(0x2b2)]===_0x1f6ce6[_0x522ece(0x38b)]['DRAWING_SHAPE']){this[_0x522ece(0x333)]=_0x5ddac6[_0x522ece(0x257)];let {unitId:_0x2eca0a,subUnitId:_0x1d9f6e}=_0x5ddac6;this[_0x522ece(0x4ed)]=this[_0x522ece(0x40b)](_0x2eca0a,_0x1d9f6e,this[_0x522ece(0x333)]),this[_0x522ece(0x242)]=_0x2eca0a,this[_0x522ece(0x2ab)]=_0x1d9f6e,this['_clearShapeAdjustControls'](),this[_0x522ece(0x3a0)]();}else this[_0x522ece(0x333)]=null,this[_0x522ece(0x4ed)]=void 0x0,this[_0x522ece(0x242)]=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']();}(_0x545e54[_0x522ece(0x28e)]>0x1||_0x545e54[_0x522ece(0x28e)]===0x0)&&(this[_0x522ece(0x333)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x522ece(0x242)]=null,this[_0x522ece(0x2ab)]=null,this[_0x522ece(0x3d4)]());})),this['disposeWithMe'](this['_drawingManagerService'][_0x561e4d(0x213)]['subscribe'](_0xd66fbc=>{const _0x5cfe50=_0x561e4d;if(_0xd66fbc[_0x5cfe50(0x28e)]===0x1){var _0x132b7a;let _0x1477ba=_0xd66fbc[0x0];((_0x132b7a=this[_0x5cfe50(0x416)]['getDrawingByParam'](_0x1477ba))==null?void 0x0:_0x132b7a['drawingType'])===_0x1f6ce6['DrawingTypeEnum'][_0x5cfe50(0x3c0)]&&this['_updateShapeAdjustControls'](!0x0);}})),this[_0x561e4d(0x216)](this[_0x561e4d(0x416)]['remove$'][_0x561e4d(0x4b1)](_0x15f4ad=>{const _0x18176e=_0x561e4d;for(let _0x2fb81f of _0x15f4ad)this[_0x18176e(0x333)]===_0x2fb81f[_0x18176e(0x257)]&&(this[_0x18176e(0x333)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x18176e(0x2ab)]=null,this['_clearShapeAdjustControls']());}));}};_0x40f08e=_0x51130a([_0x3607f9(0x0,_0x2ee308['IDrawingManagerService']),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be[_0x47cc0f(0x21d)])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x58b748[_0x47cc0f(0x34e)])),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x32bb5d)),_0x3607f9(0x4,_0x1f6ce6['IUniverInstanceService']),_0x3607f9(0x5,_0x1f6ce6[_0x47cc0f(0x2bd)])],_0x40f08e);let _0x8a7706={'id':_0x47cc0f(0x48a),'type':_0x1f6ce6[_0x47cc0f(0x30e)]['OPERATION'],'handler':(_0x3bb54f,_0x5a0c7b)=>{const _0x43a191=_0x47cc0f;let _0x25d57f=_0x3bb54f[_0x43a191(0x1e3)](_0x2ee308[_0x43a191(0x4c1)]),_0x4ee2e1=_0x3bb54f['get'](_0x58b748[_0x43a191(0x34e)]),_0x401709=_0x3bb54f[_0x43a191(0x1e3)](_0x40f08e);if(_0x5a0c7b==null)return!0x0;if(_0x5a0c7b[_0x43a191(0x28e)]>0x0){var _0x303795;let _0x4b55b5=(_0x303795=_0x4ee2e1[_0x43a191(0x350)](_0x5a0c7b[0x0][_0x43a191(0x394)]))==null?void 0x0:_0x303795[_0x43a191(0x469)];if(_0x4b55b5){let {unitId:_0x38fa50,subUnitId:_0x3c526d,drawingId:_0x4b2b4c}=_0x5a0c7b[0x0],_0x46a532=(0x0,_0x2ee308[_0x43a191(0x4d4)])({'unitId':_0x38fa50,'subUnitId':_0x3c526d,'drawingId':_0x4b2b4c},void 0x0),_0x4e4e46=_0x4b55b5[_0x43a191(0x4d7)](_0x46a532);if(_0x4e4e46){var _0xa8766;(_0xa8766=_0x4ee2e1[_0x43a191(0x350)](_0x5a0c7b[0x0][_0x43a191(0x394)]))==null||(_0xa8766=_0xa8766[_0x43a191(0x469)]['getTransformer']())==null||_0xa8766[_0x43a191(0x3d6)](_0x4e4e46);}}_0x25d57f[_0x43a191(0x4bc)](_0x5a0c7b),_0x401709['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x5cbac9={'type':_0x1f6ce6['CommandType']['COMMAND'],'id':_0x47cc0f(0x2e7),'handler':async(_0x58534a,_0x519dfc)=>{const _0x20bbef=_0x47cc0f;let _0x387e81=(0x0,_0x231b82[_0x20bbef(0x226)])(_0x58534a['get'](_0x1f6ce6[_0x20bbef(0x32e)]));if(!_0x387e81)return!0x1;let _0x25f574=_0x58534a[_0x20bbef(0x1e3)](_0x231b82[_0x20bbef(0x273)])[_0x20bbef(0x4d5)]();if(!_0x25f574)return!0x1;let _0x3858a6=_0x58534a[_0x20bbef(0x1e3)](_0x1f6ce6[_0x20bbef(0x2bd)]),{unitId:_0x36b7d5,subUnitId:_0x47816e}=_0x387e81,{value:_0x7770cd,enhanceParams:_0x6dc59b}=_0x519dfc,{range:_0x599f7c}=_0x25f574,_0x1117cf={'unitId':_0x36b7d5,'subUnitId':_0x47816e,'shapeType':_0x7770cd,'range':_0x599f7c,'shapeId':(0x0,_0x1f6ce6['generateRandomId'])()};if(_0x6dc59b){let _0x2576e3=(0x0,_0x4f5ff8[_0x20bbef(0x3d1)])(_0x7770cd),_0x28f8e2=_0x7770cd===_0x4f5ff8['ShapeTypeEnum']['Rect'];_0x2576e3&&(_0x6dc59b[_0x20bbef(0x2d2)]||_0x6dc59b[_0x20bbef(0x28a)])&&(_0x1117cf[_0x20bbef(0x4e4)]={'ln':{'startArrow':_0x6dc59b['startArrow']?{'type':_0x4f5ff8['ShapeArrowTypeEnum'][_0x20bbef(0x2ea)],'size':_0x4f5ff8[_0x20bbef(0x267)][_0x20bbef(0x30a)]}:void 0x0,'endArrow':_0x6dc59b[_0x20bbef(0x28a)]?{'type':_0x4f5ff8[_0x20bbef(0x33d)][_0x20bbef(0x2ea)],'size':_0x4f5ff8[_0x20bbef(0x267)]['Large']}:void 0x0}}),_0x28f8e2&&(_0x6dc59b[_0x20bbef(0x308)]||_0x6dc59b[_0x20bbef(0x490)])&&(_0x1117cf['shapeData']=(0x0,_0x10236c[_0x20bbef(0x443)])({'fill':{'fillType':_0x4f5ff8[_0x20bbef(0x2ec)][_0x20bbef(0x2d0)],'color':_0x20bbef(0x466)},'isHorizontal':!!_0x6dc59b[_0x20bbef(0x308)],'stroke':{'lineStrokeType':_0x4f5ff8[_0x20bbef(0x372)][_0x20bbef(0x41d)],'width':0x1,'color':_0x20bbef(0x43a)}}));}let _0x260fc9=_0x3858a6[_0x20bbef(0x4e1)](_0x5927be['InsertShapeCommand']['id'],_0x1117cf);return setTimeout(()=>{const _0x370f6a=_0x20bbef;_0x3858a6[_0x370f6a(0x2cb)](_0x8a7706['id'],[{'unitId':_0x36b7d5,'subUnitId':_0x47816e,'drawingId':_0x1117cf['shapeId']}]);},0xc8),_0x260fc9;}},_0x449f94='sheet.shape.edit.panel',_0x1c0aed=_0x47cc0f(0x3cf),_0x187552=_0x47cc0f(0x258),_0x4bb51f=(0x0,_0x1f6ce6[_0x47cc0f(0x1d7)])('SHAPE_TEXT'),_0x506261=_0x47cc0f(0x2c9),_0x28d529={'id':_0x47cc0f(0x1dc),'type':_0x1f6ce6[_0x47cc0f(0x30e)][_0x47cc0f(0x3ff)],'handler':(_0x125141,_0x43378e)=>{const _0x105721=_0x47cc0f;let _0x3cac42=_0x125141['get'](_0x229cfc[_0x105721(0x434)]),_0x5e4d7f=_0x125141[_0x105721(0x1e3)](_0x1f6ce6[_0x105721(0x406)]),_0x3943d2=_0x125141[_0x105721(0x1e3)](_0x1f6ce6['IUniverInstanceService']),_0x5ad9df=_0x125141['get'](_0x1f6ce6[_0x105721(0x2bd)]);return(0x0,_0x231b82[_0x105721(0x226)])(_0x3943d2)?(_0x43378e==null?void 0x0:_0x43378e[_0x105721(0x337)])===_0x105721(0x452)?(_0x3cac42['close'](_0x1c0aed),!0x0):(_0x3cac42[_0x105721(0x270)]({'id':_0x1c0aed,'header':{'title':_0x5e4d7f['t'](_0x105721(0x32a))},'children':{'label':_0x1c0aed},'onClose':()=>{const _0x52ff1b=_0x105721;_0x5ad9df['syncExecuteCommand'](_0x2ee308[_0x52ff1b(0x429)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x277ed1=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x3505bc,_0x252478){const _0x6ea5cd=_0x47cc0f;super(),this[_0x6ea5cd(0x49d)]=_0x3505bc,this[_0x6ea5cd(0x416)]=_0x252478,this[_0x6ea5cd(0x41f)](),this['_clipService'][_0x6ea5cd(0x383)](!0x0),this[_0x6ea5cd(0x216)]({'dispose':()=>this[_0x6ea5cd(0x49d)][_0x6ea5cd(0x383)](!0x1)});}['_registerImageShapeClipDelegate'](){const _0x489943=_0x47cc0f;let _0x117be7=this[_0x489943(0x49d)],_0x12840c=new Map(),_0x14d2f4=_0x117be7['registerClipDelegate']((_0x4fddfe,_0x25adc2,_0x30316f,_0x48dfee,_0x4e4825)=>{const _0x34005e=_0x489943;let _0x5e773a=_0x25adc2;if(_0x5e773a===_0x4f5ff8[_0x34005e(0x4d9)][_0x34005e(0x2a4)]||_0x25adc2===_0x34005e(0x2ad))return!0x1;try{let _0x149eee=_0x12840c['get'](_0x25adc2);return _0x149eee||(_0x149eee=new _0x4f5ff8[(_0x34005e(0x298))](_0x5e773a,_0x34005e(0x2fb)+_0x25adc2),_0x12840c['set'](_0x25adc2,_0x149eee)),_0x4e4825&&_0x149eee[_0x34005e(0x3ba)]({'adjustValues':_0x4e4825},!0x0),_0x149eee[_0x34005e(0x210)]({'width':_0x30316f,'height':_0x48dfee}),_0x149eee[_0x34005e(0x22d)](_0x4fddfe,{'left':0x0,'top':0x0,'width':_0x30316f,'height':_0x48dfee});}catch{return!0x1;}});this[_0x489943(0x216)](_0x14d2f4),this['disposeWithMe']({'dispose':()=>_0x12840c['clear']()});}[_0x47cc0f(0x3ef)](_0x58b39d,_0x1c7e3c,_0xf86166,_0x5a7921,_0x408cbf){const _0x4bab29=_0x47cc0f;let _0x572b3c=this['_drawingManagerService'][_0x4bab29(0x29b)](_0x58b39d,_0x1c7e3c);if(!_0x572b3c[_0xf86166])return;let _0x2b46d4={..._0x572b3c[_0xf86166],'prstGeom':_0x5a7921,'adjustValues':_0x408cbf};this[_0x4bab29(0x416)][_0x4bab29(0x3d7)]([_0x2b46d4]);}};_0x277ed1=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x25185e[_0x47cc0f(0x2a5)])),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x2ee308['IDrawingManagerService']))],_0x277ed1);let _0xe7fbe9=_0x47cc0f(0x399),_0x276531=_0x47cc0f(0x1d9);function _0x1ef5f0({onShapeClick:_0x119f0e,excludeGroups:_0x44df7f}){const _0x473853=_0x47cc0f;return(0x0,_0x2508da[_0x473853(0x4c2)])(_0x10236c[_0x473853(0x263)],{'excludeGroups':_0x44df7f,'onShapeClick':_0x119f0e,'scrollContainer':_0x473853(0x405)});}function _0x4cf7ba(){const _0x5b9442=_0x47cc0f;let _0x265182=(0x0,_0x229cfc[_0x5b9442(0x3fd)])(_0x2ee308['IDrawingManagerService']),_0x3da362=(0x0,_0x229cfc[_0x5b9442(0x3fd)])(_0x277ed1);return(0x0,_0x2508da[_0x5b9442(0x4c2)])(_0x10236c[_0x5b9442(0x41e)],{'buttonLabel':_0x5b9442(0x3e2),'excludeGroups':[_0x10236c['ShapeGroupEnum'][_0x5b9442(0x407)]],'onShapeClick':_0x4c9adb=>{const _0x3fb77d=_0x5b9442;let _0x35eaca=_0x265182['getFocusDrawings']()[_0x3fb77d(0x3f8)](_0x77bbfb=>_0x77bbfb[_0x3fb77d(0x2b2)]===_0x1f6ce6[_0x3fb77d(0x38b)][_0x3fb77d(0x473)]);if(!_0x35eaca)return;let {unitId:_0x16febd,subUnitId:_0x316ed5,drawingId:_0x5d389f}=_0x35eaca;_0x3da362['clipByShape'](_0x16febd,_0x316ed5,_0x5d389f,_0x4c9adb[_0x3fb77d(0x4b8)]);}});}function _0x538841(){const _0x176b99=_0x47cc0f;let _0x93fd44=(0x0,_0x229cfc[_0x176b99(0x3fd)])(_0x229cfc['ComponentManager']),_0x524f60=(0x0,_0x229cfc['useDependency'])(_0x2ee308[_0x176b99(0x4c1)]),_0x1605c6=(0x0,_0x229cfc[_0x176b99(0x3fd)])(_0x1f6ce6[_0x176b99(0x32e)]),_0x5a2653=_0x524f60['getFocusDrawings']()[0x0],_0x19b880=_0x5a2653?_0x1605c6[_0x176b99(0x34a)](_0x5a2653[_0x176b99(0x394)]):void 0x0,_0x21b6ef=_0x19b880===_0x1f6ce6['UniverInstanceType'][_0x176b99(0x4f2)]?'doc.image-clip.shape-picker.component':_0x19b880===_0x1f6ce6[_0x176b99(0x2c2)][_0x176b99(0x1e0)]?_0x276531:void 0x0,_0x1517ef=_0x21b6ef?_0x93fd44[_0x176b99(0x1e3)](_0x21b6ef):void 0x0;return _0x1517ef?(0x0,_0x2508da[_0x176b99(0x4c2)])(_0x1517ef,{}):null;}function _0x4ce77b(){const _0x4dce6e=_0x47cc0f;let _0x1d6bc3=(0x0,_0x229cfc[_0x4dce6e(0x3fd)])(_0x1f6ce6['ICommandService']);return(0x0,_0x2508da[_0x4dce6e(0x4c2)])(_0x1ef5f0,{'onShapeClick':_0x121bdd=>{const _0x5c2282=_0x4dce6e;_0x1d6bc3['executeCommand'](_0x5cbac9['id'],{'value':_0x121bdd['type'],'enhanceParams':{'endArrow':_0x121bdd[_0x5c2282(0x28a)],'startArrow':_0x121bdd[_0x5c2282(0x2d2)],'horizontal':_0x121bdd[_0x5c2282(0x308)],'vertical':_0x121bdd['vertical']}});}});}function _0x48959e(_0x5c8cd7){const _0x7ae594=_0x47cc0f;let _0x1339e0=_0x5c8cd7['get'](_0x1f6ce6[_0x7ae594(0x32e)]);return{'id':_0x5cbac9['id'],'type':_0x229cfc[_0x7ae594(0x499)]['SELECTOR'],'selections':[{'label':{'name':_0xe7fbe9,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x5cbac9['id']}}}],'icon':_0x7ae594(0x465),'tooltip':_0x7ae594(0x1e7),'activated$':(0x0,_0x522354[_0x7ae594(0x4bd)])(_0x1339e0,!0x1,()=>new _0x21c04f[(_0x7ae594(0x420))](_0x19ce03=>{const _0x458010=_0x7ae594;_0x19ce03[_0x458010(0x232)](!0x1);})),'hidden$':(0x0,_0x229cfc[_0x7ae594(0x2f2)])(_0x5c8cd7,_0x1f6ce6[_0x7ae594(0x2c2)][_0x7ae594(0x1e0)]),'disabled$':(0x0,_0x522354[_0x7ae594(0x27b)])(_0x5c8cd7)};}function _0x44ae8d(_0x228596){const _0x2785df=_0x47cc0f;let _0x1e8e58=_0x228596[_0x2785df(0x1e3)](_0x1f6ce6[_0x2785df(0x32e)]);return{'id':_0x28d529['id'],'type':_0x229cfc[_0x2785df(0x499)][_0x2785df(0x2b1)],'icon':_0x2785df(0x364),'title':_0x2785df(0x3c7),'tooltip':_0x2785df(0x3c7),'activated$':(0x0,_0x522354[_0x2785df(0x4bd)])(_0x1e8e58,!0x1,()=>new _0x21c04f[(_0x2785df(0x420))](_0x5b84e5=>{const _0x553ef1=_0x2785df;_0x5b84e5[_0x553ef1(0x232)](!0x1);})),'hidden$':(0x0,_0x229cfc['getMenuHiddenObservable'])(_0x228596,_0x1f6ce6[_0x2785df(0x2c2)][_0x2785df(0x1e0)]),'disabled$':(0x0,_0x522354['getCurrentRangeDisable$'])(_0x228596)};}let _0x23ff6d={[_0x229cfc[_0x47cc0f(0x1f2)]['MEDIA']]:{[_0x5cbac9['id']]:{'order':0x4,'menuItemFactory':_0x48959e},[_0x28d529['id']]:{'order':4.1,'menuItemFactory':_0x44ae8d}}};var _0x42bb74=_0x47cc0f(0x4eb),_0x2a0107=_0x47cc0f(0x2da);let _0x37a4eb={'type':_0x1f6ce6[_0x47cc0f(0x30e)][_0x47cc0f(0x2e0)],'id':_0x47cc0f(0x1fd),'handler'(){return!0x0;}},_0xff3fa={'type':_0x1f6ce6[_0x47cc0f(0x30e)][_0x47cc0f(0x2e0)],'id':_0x47cc0f(0x315),'handler'(){return!0x0;}},_0x796f15={};function _0x2cff8b({ref:_0x5c53cd,..._0x2441a1}){const _0x21bbe7=_0x47cc0f;let {icon:_0x465498,id:_0x5d2c28,className:_0x48812f,extend:_0x448612,..._0x4a8a8c}=_0x2441a1,_0x2b2e52=(_0x21bbe7(0x3b2)+_0x5d2c28+'\x20'+(_0x48812f||''))['trim'](),_0x19f2b8=(0x0,_0x44112a[_0x21bbe7(0x424)])('_'+_0x3db052());return _0xe1b2be(_0x465498,''+_0x5d2c28,{'defIds':_0x465498['defIds'],'idSuffix':_0x19f2b8[_0x21bbe7(0x22e)]},{'ref':_0x5c53cd,'className':_0x2b2e52,..._0x4a8a8c},_0x448612);}function _0xe1b2be(_0x2680b4,_0x9a709b,_0x173e44,_0x2bad1a,_0x5971db){const _0x33eadc=_0x47cc0f;return(0x0,_0x44112a['createElement'])(_0x2680b4[_0x33eadc(0x417)],{'key':_0x9a709b,..._0x251395(_0x2680b4,_0x173e44,_0x5971db),..._0x2bad1a},(_0x26c815(_0x2680b4,_0x173e44)['children']||[])[_0x33eadc(0x358)]((_0xd190c4,_0x1a1e87)=>_0xe1b2be(_0xd190c4,_0x9a709b+'-'+_0x2680b4['tag']+'-'+_0x1a1e87,_0x173e44,void 0x0,_0x5971db)));}function _0x251395(_0x47fa9e,_0x5d0651,_0x73fd89){const _0x52cacf=_0x47cc0f;let _0x3030a4={..._0x47fa9e[_0x52cacf(0x2cd)]};_0x73fd89!=null&&_0x73fd89[_0x52cacf(0x24d)]&&_0x3030a4[_0x52cacf(0x266)]===_0x52cacf(0x24d)&&(_0x3030a4['fill']=_0x73fd89[_0x52cacf(0x24d)]),_0x73fd89!=null&&_0x73fd89[_0x52cacf(0x24d)]&&_0x3030a4[_0x52cacf(0x3da)]===_0x52cacf(0x24d)&&(_0x3030a4[_0x52cacf(0x3da)]=_0x73fd89[_0x52cacf(0x24d)]),_0x47fa9e[_0x52cacf(0x417)]===_0x52cacf(0x37d)&&_0x3030a4['id']&&(_0x3030a4['id']+=_0x5d0651[_0x52cacf(0x49e)]),Object[_0x52cacf(0x410)](_0x3030a4)['forEach'](([_0x23d05f,_0x3f3c1e])=>{const _0x48aef0=_0x52cacf;_0x23d05f==='mask'&&typeof _0x3f3c1e==_0x48aef0(0x319)&&(_0x3030a4[_0x23d05f]=_0x3f3c1e[_0x48aef0(0x2b4)](/url\(#(.*)\)/,_0x48aef0(0x4cd)+_0x5d0651[_0x48aef0(0x49e)]+')'));});let {defIds:_0x328d17}=_0x5d0651;return!_0x328d17||_0x328d17[_0x52cacf(0x28e)]===0x0?_0x3030a4:(_0x47fa9e['tag']==='use'&&_0x3030a4[_0x52cacf(0x4c6)]&&(_0x3030a4[_0x52cacf(0x4c6)]+=_0x5d0651[_0x52cacf(0x49e)]),Object['entries'](_0x3030a4)[_0x52cacf(0x3ec)](([_0x5e95e0,_0x52351d])=>{const _0x39cf7d=_0x52cacf;typeof _0x52351d==_0x39cf7d(0x319)&&(_0x3030a4[_0x5e95e0]=_0x52351d['replace'](/url\(#(.*)\)/,_0x39cf7d(0x4cd)+_0x5d0651['idSuffix']+')'));}),_0x3030a4);}function _0x26c815(_0x1e3f5e,_0x54419c){const _0x11b49d=_0x47cc0f;var _0x5219c;let {defIds:_0x2ecf27}=_0x54419c;return!_0x2ecf27||_0x2ecf27['length']===0x0?_0x1e3f5e:_0x1e3f5e[_0x11b49d(0x417)]===_0x11b49d(0x2d5)&&(_0x5219c=_0x1e3f5e[_0x11b49d(0x482)])!=null&&_0x5219c[_0x11b49d(0x28e)]?{..._0x1e3f5e,'children':_0x1e3f5e[_0x11b49d(0x482)][_0x11b49d(0x358)](_0x4f5a4b=>typeof _0x4f5a4b[_0x11b49d(0x2cd)]['id']=='string'&&_0x2ecf27&&_0x2ecf27['includes'](_0x4f5a4b[_0x11b49d(0x2cd)]['id'])?{..._0x4f5a4b,'attrs':{..._0x4f5a4b[_0x11b49d(0x2cd)],'id':_0x4f5a4b[_0x11b49d(0x2cd)]['id']+_0x54419c['idSuffix']}}:_0x4f5a4b)}:_0x1e3f5e;}function _0x3db052(){const _0x6af5c8=_0x47cc0f;return Math[_0x6af5c8(0x2fd)]()['toString'](0x24)[_0x6af5c8(0x36c)](0x2,0x8);}_0x2cff8b[_0x47cc0f(0x1eb)]=_0x47cc0f(0x3a4);let _0x4cd9c6={'tag':_0x47cc0f(0x274),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x47cc0f(0x419),'viewBox':_0x47cc0f(0x353),'width':_0x47cc0f(0x26e),'height':'1em'},'children':[{'tag':_0x47cc0f(0x2dc),'attrs':{'fill':'colorChannel1','d':'M5.4004\x202.60213C5.25792\x202.60213\x205.14241\x202.71763\x205.14241\x202.86011V4.32679C5.14241\x204.67752\x204.85809\x204.96184\x204.50736\x204.96184C4.15663\x204.96184\x203.87231\x204.67752\x203.87231\x204.32679V2.86011C3.87231\x202.01618\x204.55646\x201.33203\x205.4004\x201.33203H13.14C13.984\x201.33203\x2014.6681\x202.01618\x2014.6681\x202.86011V10.5998C14.6681\x2011.4437\x2013.984\x2012.1278\x2013.14\x2012.1278H11.6568C11.3061\x2012.1278\x2011.0218\x2011.8435\x2011.0218\x2011.4928C11.0218\x2011.1421\x2011.3061\x2010.8577\x2011.6568\x2010.8577H13.14C13.2825\x2010.8577\x2013.398\x2010.7422\x2013.398\x2010.5998V2.86011C13.398\x202.71763\x2013.2825\x202.60213\x2013.14\x202.60213H5.4004Z','fillRule':_0x47cc0f(0x45e),'clipRule':_0x47cc0f(0x45e)}},{'tag':_0x47cc0f(0x2dc),'attrs':{'fill':_0x47cc0f(0x458),'d':_0x47cc0f(0x1d8),'fillRule':_0x47cc0f(0x45e),'clipRule':_0x47cc0f(0x45e)}}]},_0x5d4a5c=(0x0,_0x44112a[_0x47cc0f(0x253)])(function(_0x3a9111,_0x1e5ba4){const _0x51cbc9=_0x47cc0f;return(0x0,_0x44112a[_0x51cbc9(0x1f1)])(_0x2cff8b,Object[_0x51cbc9(0x1df)]({},_0x3a9111,{'id':'copy-double-icon','ref':_0x1e5ba4,'icon':_0x4cd9c6}));});_0x5d4a5c[_0x47cc0f(0x1eb)]=_0x47cc0f(0x364);function _0x2e0e5d(_0xd16ff4){const _0x5648d3=_0x47cc0f;return _0xd16ff4[_0x5648d3(0x2e6)]()||void 0x0;}function _0x33c913(_0x38157f){const _0x4cf9da=_0x47cc0f;switch(_0x38157f[_0x4cf9da(0x2b2)]){case _0x1f6ce6['DrawingTypeEnum'][_0x4cf9da(0x473)]:return _0x4cf9da(0x4ef);case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x325)]:return'chart';case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x29f)]:return'table';case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x3e9)]:return _0x4cf9da(0x1f8);case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x332)]:return'video';case _0x1f6ce6['DrawingTypeEnum'][_0x4cf9da(0x3cb)]:return _0x4cf9da(0x218);case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x36a)]:return _0x4cf9da(0x4e3);case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x324)]:return _0x4cf9da(0x2a0);case _0x1f6ce6[_0x4cf9da(0x38b)][_0x4cf9da(0x3c0)]:return _0x4cf9da(0x1ee);default:return'object';}}function _0x5a0386(_0xea5178,_0x395b79,_0x52a386){const _0x41061c=_0x47cc0f;var _0x475935;return((_0x475935=_0xea5178[_0x41061c(0x244)])==null?void 0x0:_0x475935[_0x41061c(0x2e6)]())||(0x0,_0x25185e[_0x41061c(0x361)])(_0x52a386,_0x33c913(_0xea5178))+'\x20'+(_0x395b79+0x1);}function _0x3b58fc(){const _0x3a4ceb=_0x47cc0f;var _0x8f38b1,_0x2b9061,_0x25da61,_0x45c4e9;let _0x2b787b=(0x0,_0x229cfc[_0x3a4ceb(0x3fd)])(_0x1f6ce6[_0x3a4ceb(0x406)]),_0x1eb967=(0x0,_0x229cfc['useDependency'])(_0x1f6ce6[_0x3a4ceb(0x2bd)]),_0x204dab=(0x0,_0x229cfc[_0x3a4ceb(0x3fd)])(_0x1f6ce6['IUniverInstanceService']),_0x5ade66=(0x0,_0x229cfc[_0x3a4ceb(0x3fd)])(_0x43e147[_0x3a4ceb(0x365)]),_0xa4ec93=(0x0,_0x229cfc[_0x3a4ceb(0x3fd)])(_0x2ee308[_0x3a4ceb(0x4c1)]),_0x3c5394=(0x0,_0x229cfc[_0x3a4ceb(0x3fd)])(_0x58b748['IRenderManagerService']),[,_0xf48e46]=(0x0,_0x44112a[_0x3a4ceb(0x248)])(_0x45ea90=>_0x45ea90+0x1,0x0),_0x181677=_0x204dab['getCurrentUnitOfType'](_0x1f6ce6[_0x3a4ceb(0x2c2)][_0x3a4ceb(0x1e0)]),_0x581503=(_0x8f38b1=_0x181677==null?void 0x0:_0x181677[_0x3a4ceb(0x488)]())==null?'':_0x8f38b1,_0x58fe4=(_0x2b9061=_0x181677==null||(_0x25da61=_0x181677[_0x3a4ceb(0x46b)]())==null?void 0x0:_0x25da61[_0x3a4ceb(0x401)]())==null?'':_0x2b9061,_0x1d0f27=(0x0,_0x229cfc[_0x3a4ceb(0x423)])(()=>_0xa4ec93[_0x3a4ceb(0x2c6)],_0xa4ec93['getFocusDrawings'](),!0x1,[_0xa4ec93]);(0x0,_0x44112a[_0x3a4ceb(0x2d6)])(()=>{const _0x545f5c=_0x3a4ceb;let _0x36d533=_0x1eb967[_0x545f5c(0x225)](()=>_0xf48e46());return()=>_0x36d533['dispose']();},[_0x1eb967]);let _0x39bc5a=_0x581503&&_0x58fe4?_0x5ade66['getDrawingData'](_0x581503,_0x58fe4):{},_0x4166b1=_0x581503&&_0x58fe4?_0x5ade66[_0x3a4ceb(0x40f)](_0x581503,_0x58fe4):[],_0x2c433f=(0x0,_0x44112a['useMemo'])(()=>(0x0,_0x25185e['getObjectListPanelLabels'])(_0x2b787b),[_0x2b787b]),_0x4b3ead=(0x0,_0x44112a['useMemo'])(()=>{const _0x2bd817=_0x3a4ceb;let _0x37fd15=_0x4166b1[_0x2bd817(0x358)](_0x47c37b=>_0x39bc5a[_0x47c37b])['filter'](_0x5e79f4=>!!_0x5e79f4)[_0x2bd817(0x21a)](),_0x3d357=_0x37fd15['reduce']((_0x402355,_0x24196b)=>(_0x402355[(0x0,_0x25185e[_0x2bd817(0x228)])(_0x24196b[_0x2bd817(0x2b2)])]+=0x1,_0x402355),{'canvas':0x0,'floating':0x0}),_0x5ab912={'canvas':0x0,'floating':0x0};return _0x37fd15[_0x2bd817(0x358)]((_0x3b72f7,_0x17b3aa)=>{const _0xd63fd=_0x2bd817;let _0x847374=(0x0,_0x25185e['getObjectListPanelSectionIdForDrawingType'])(_0x3b72f7[_0xd63fd(0x2b2)]),_0x55ee4f=_0x847374===_0x25185e[_0xd63fd(0x24b)],_0x20200d=_0x5ab912[_0x847374]++;return{'id':_0x3b72f7[_0xd63fd(0x257)],'name':_0x5a0386(_0x3b72f7,_0x17b3aa,_0x2b787b),'description':_0x3b72f7[_0xd63fd(0x4a5)],'visible':_0x3b72f7[_0xd63fd(0x233)]!==!0x0,'selectable':_0x3b72f7[_0xd63fd(0x4ee)]!==!0x1,'sectionId':_0x847374,'sectionTitle':_0x55ee4f?_0x2c433f['sectionFloating']:_0x2c433f[_0xd63fd(0x4cc)],'capabilities':_0x55ee4f?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x55ee4f&&_0x20200d>0x0,'canMoveBackward':!_0x55ee4f&&_0x20200d<_0x3d357[_0xd63fd(0x493)]-0x1,'canReorder':!_0x55ee4f};});},[_0x39bc5a,_0x4166b1,_0x2c433f[_0x3a4ceb(0x4cc)],_0x2c433f['sectionFloating'],_0x2b787b]),_0x4fbc43=(0x0,_0x44112a[_0x3a4ceb(0x245)])(()=>(_0x1d0f27==null?[]:_0x1d0f27)[_0x3a4ceb(0x272)](_0x2d1d21=>_0x2d1d21[_0x3a4ceb(0x394)]===_0x581503&&_0x2d1d21[_0x3a4ceb(0x2e1)]===_0x58fe4)['map'](_0xe66a85=>_0xe66a85[_0x3a4ceb(0x257)]),[_0x1d0f27,_0x58fe4,_0x581503]),_0x50759d=(_0x45c4e9=_0x4fbc43[_0x4fbc43[_0x3a4ceb(0x28e)]-0x1])==null?null:_0x45c4e9,_0x2a988d=_0x1c8bef=>{const _0x3be30d=_0x3a4ceb;var _0x442dbb;return(_0x442dbb=_0x5ade66[_0x3be30d(0x3a2)]({'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingId':_0x1c8bef}))==null?null:_0x442dbb;},_0x5ea404=_0x19eee2=>{const _0x1838d0=_0x3a4ceb;!_0x581503||!_0x19eee2[_0x1838d0(0x28e)]||_0x1eb967['executeCommand'](_0x43e147['SetSheetDrawingCommand']['id'],{'unitId':_0x581503,'drawings':_0x19eee2});},_0x554bc0=(_0x260505,_0x39d9c3)=>{_0x2a988d(_0x260505)&&_0x5ea404([{'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingId':_0x260505,..._0x39d9c3}]);},_0xfc164c=(_0x129437,_0x2d7785)=>{const _0x26801d=_0x3a4ceb;if(!_0x581503||!_0x58fe4)return;let _0x408757=_0x2d7785?_0x4fbc43[_0x26801d(0x3f0)](_0x129437)?_0x4fbc43[_0x26801d(0x272)](_0xf34e45=>_0xf34e45!==_0x129437):[..._0x4fbc43,_0x129437]:[_0x129437];_0x1eb967['syncExecuteCommand'](_0x2ee308[_0x26801d(0x429)]['id'],_0x408757[_0x26801d(0x358)](_0x4186c8=>({'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingId':_0x4186c8})));let _0x4192eb=_0x408757[_0x408757['length']-0x1];_0x4192eb?(0x0,_0x10236c[_0x26801d(0x42a)])(_0x3c5394,{'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingId':_0x4192eb}):(0x0,_0x10236c[_0x26801d(0x285)])(_0x3c5394,_0x581503);},_0x7c3839=(_0x4179a0,_0x584baa)=>{const _0x5ec5ad=_0x3a4ceb;_0x5ea404(_0x4179a0[_0x5ec5ad(0x358)](_0xbbc272=>_0x2a988d(_0xbbc272))[_0x5ec5ad(0x272)](_0x2d3ce4=>!!_0x2d3ce4)['filter'](_0x157f1d=>_0x157f1d['hidden']!==!0x0!==_0x584baa)[_0x5ec5ad(0x358)](_0x213c8d=>({'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingId':_0x213c8d[_0x5ec5ad(0x257)],'hidden':!_0x584baa})));},_0x4fb4a1=_0xf7cee4=>{const _0x495250=_0x3a4ceb;let _0x416568=_0x2a988d(_0xf7cee4);_0x416568&&_0x554bc0(_0xf7cee4,{'selectable':_0x416568[_0x495250(0x4ee)]===!0x1?void 0x0:!0x1});},_0xe284c7=(_0x474b27,_0xa45072)=>{const _0x1d47ba=_0x3a4ceb;var _0xc88e1e,_0x315dad;let _0x1c981e=_0x2e0e5d(_0xa45072);((_0xc88e1e=(_0x315dad=_0x2a988d(_0x474b27))==null?void 0x0:_0x315dad[_0x1d47ba(0x244)])==null?void 0x0:_0xc88e1e)!==_0x1c981e&&_0x554bc0(_0x474b27,{'name':_0x1c981e});},_0x190587=(_0xdb3fd4,_0xbdab1)=>{const _0x2615d7=_0x3a4ceb;var _0x5a4c71,_0x49140;let _0x2f2cc4=_0x2e0e5d(_0xbdab1);((_0x5a4c71=(_0x49140=_0x2a988d(_0xdb3fd4))==null?void 0x0:_0x49140[_0x2615d7(0x4a5)])==null?void 0x0:_0x5a4c71)!==_0x2f2cc4&&_0x554bc0(_0xdb3fd4,{'description':_0x2f2cc4});},_0x20f74b=(_0x35edc2,_0x30a8e5)=>{const _0x1e0887=_0x3a4ceb;!_0x581503||!_0x58fe4||_0x1eb967['executeCommand'](_0x43e147[_0x1e0887(0x468)]['id'],{'unitId':_0x581503,'subUnitId':_0x58fe4,'drawingIds':[_0x35edc2],'arrangeType':_0x30a8e5});};return!_0x581503||!_0x58fe4?(0x0,_0x2508da[_0x3a4ceb(0x4c2)])(_0x3a4ceb(0x3de),{'className':_0x3a4ceb(0x461),'children':_0x2c433f[_0x3a4ceb(0x388)]}):(0x0,_0x2508da['jsx'])(_0x25185e['ObjectListPanelBase'],{'items':_0x4b3ead,'selectedIds':_0x4fbc43,'focusedId':_0x50759d,'labels':_0x2c433f,'onSelect':_0xfc164c,'onSetVisible':_0x7c3839,'onCommitName':_0xe284c7,'onCommitDescription':_0x190587,'onMoveForward':_0x1ad46f=>_0x20f74b(_0x1ad46f,_0x1f6ce6[_0x3a4ceb(0x360)][_0x3a4ceb(0x453)]),'onMoveBackward':_0x385537=>_0x20f74b(_0x385537,_0x1f6ce6[_0x3a4ceb(0x360)]['backward']),'onToggleSelectable':_0x4fb4a1});}let _0x3e709a=class{constructor(_0x13a4f0){const _0xd563eb=_0x47cc0f;this[_0xd563eb(0x4bb)]=_0x13a4f0;}[_0x47cc0f(0x4aa)](_0x3ba358,_0x36502e){const _0x260ef7=_0x47cc0f;let _0x16494d=this[_0x260ef7(0x4bb)][_0x260ef7(0x350)](_0x3ba358[_0x260ef7(0x394)]),_0x2b1bce=_0x16494d==null?void 0x0:_0x16494d['scene'];if(!_0x2b1bce)return;let _0x213a21=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])(_0x3ba358),_0x25b512=_0x2b1bce[_0x260ef7(0x4d7)](_0x213a21);_0x25b512==null||_0x25b512[_0x260ef7(0x3d0)](_0x36502e);}};_0x3e709a=_0x51130a([_0x3607f9(0x0,_0x58b748[_0x47cc0f(0x34e)])],_0x3e709a);function _0x219aad(){const _0x369fab=_0x47cc0f;let _0x510205=(0x0,_0x229cfc[_0x369fab(0x3fd)])(_0x2ee308[_0x369fab(0x4c1)]),_0x2bc179=(0x0,_0x229cfc[_0x369fab(0x423)])(()=>_0x510205[_0x369fab(0x2c6)],_0x510205[_0x369fab(0x436)](),!0x1,[_0x510205]);return _0x2bc179[_0x369fab(0x28e)]===0x0?null:(0x0,_0x2508da[_0x369fab(0x4c2)])(_0x369fab(0x3de),{'children':(0x0,_0x2508da[_0x369fab(0x2c7)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-text-sm','children':[(0x0,_0x2508da[_0x369fab(0x4c2)])(_0x25185e[_0x369fab(0x459)],{'drawings':_0x2bc179,'hasCropper':!0x1}),(0x0,_0x2508da[_0x369fab(0x4c2)])(_0x1700e5[_0x369fab(0x3a9)],{'drawings':_0x2bc179})]})});}function _0x34128a(_0x439147){const _0x42a890=_0x47cc0f;let {unitId:_0x5df6a0,subUnitId:_0x299de9,shapeId:_0x1eac04}=_0x439147,_0x573ef9=(0x0,_0x229cfc[_0x42a890(0x3fd)])(_0x1f6ce6[_0x42a890(0x2bd)]),_0x29866e=(0x0,_0x229cfc[_0x42a890(0x3fd)])(_0x3e709a);return(0x0,_0x2508da[_0x42a890(0x4c2)])(_0x10236c['ShapeEditPanel'],{..._0x439147,'positionEditor':(0x0,_0x2508da[_0x42a890(0x4c2)])(_0x219aad,{}),'onUpdateShapeData':(_0x3fe373,_0x49a0b4)=>{_0x3cbdfc(_0x573ef9,_0x5df6a0,_0x299de9,_0x1eac04,_0x3fe373,_0x49a0b4);},'onUpdateLineShapeData':(_0x508982,_0x3dc26c)=>{_0x44fc43(_0x573ef9,_0x5df6a0,_0x299de9,_0x1eac04,_0x508982,_0x3dc26c);},'onUpdateShapeFillImage':_0x314415=>{const _0x4a0f82=_0x42a890;_0x29866e[_0x4a0f82(0x4aa)]({'unitId':_0x5df6a0,'subUnitId':_0x299de9,'drawingId':_0x1eac04},_0x314415);}});}function _0x353a7a(_0x2c8b6b){const _0xe2cbe0=_0x47cc0f;let _0x45b9d2=_0x2c8b6b[_0xe2cbe0(0x3a6)][_0xe2cbe0(0x2c0)];return _0x45b9d2?(0x0,_0x2508da[_0xe2cbe0(0x4c2)])(_0x483a9c,{..._0x45b9d2}):null;}function _0x483a9c(_0x3c21e4){const _0x27c6d9=_0x47cc0f;var _0x99f670,_0x1b6586;let _0x5b5378=(0x0,_0x229cfc['useDependency'])(_0x1f6ce6[_0x27c6d9(0x2bd)]),_0x4a8ac5=(0x0,_0x229cfc[_0x27c6d9(0x3fd)])(_0x5927be[_0x27c6d9(0x21d)]),{unitId:_0x365193,subUnitId:_0x175df5,drawingId:_0x26efb0,drawingType:_0x31ef3b,shapeType:_0x29a135}=_0x3c21e4,[_0x1ab760,_0x406187]=(0x0,_0x44112a['useState'])(_0x3c21e4[_0x27c6d9(0x4e4)]),_0xec6fbb=(0x0,_0x44112a[_0x27c6d9(0x245)])(()=>(0x0,_0x10236c[_0x27c6d9(0x4f0)])(_0x1ab760),[_0x1ab760]),_0x30632b=(0x0,_0x44112a[_0x27c6d9(0x245)])(()=>(0x0,_0x10236c[_0x27c6d9(0x437)])(_0x1ab760),[_0x1ab760]);(0x0,_0x44112a[_0x27c6d9(0x2d6)])(()=>{const _0x152a72=_0x27c6d9;let _0x110d4e=_0x5b5378[_0x152a72(0x225)](_0x47bbea=>{const _0x23ee7c=_0x152a72;if(_0x47bbea['id']!==_0x5927be[_0x23ee7c(0x431)]['id'])return;let _0x6973bf=_0x4a8ac5[_0x23ee7c(0x45b)](_0x365193,_0x175df5,_0x26efb0);_0x6973bf&&_0x406187(_0x6973bf);});return()=>_0x110d4e['dispose']();},[_0x5b5378,_0x26efb0,_0x4a8ac5,_0x175df5,_0x365193]);let _0x58c220=_0x388f0a=>{_0x406187(_0x293a8e=>({..._0x293a8e,..._0x388f0a}));},_0x388455=_0x2c0e7d=>{const _0x244a24=_0x27c6d9;let _0x5e09e3=(0x0,_0x10236c['buildShapeTextDataUpdate'])(_0x1ab760,_0x2c0e7d);_0x3cbdfc(_0x5b5378,_0x365193,_0x175df5,_0x26efb0,{'oldShapeData':{'shapeText':_0x1ab760[_0x244a24(0x368)]}},_0x5e09e3),_0x58c220(_0x5e09e3);};return(0x0,_0x2508da[_0x27c6d9(0x4c2)])(_0x10236c[_0x27c6d9(0x38e)],{'shapeData':_0x1ab760,'shapeType':_0x29a135,'textStyle':{'ff':_0x4f5ff8[_0x27c6d9(0x4db)][_0x27c6d9(0x368)][_0x27c6d9(0x346)],'fs':_0x4f5ff8['ShapeDefaultConfig']['shapeText'][_0x27c6d9(0x398)],'cl':{'rgb':_0x4f5ff8[_0x27c6d9(0x4db)]['shapeText'][_0x27c6d9(0x32d)]},..._0xec6fbb},'textModel':_0x30632b?{'ha':(_0x99f670=_0x30632b['ha'])==null?_0x1f6ce6['HorizontalAlign'][_0x27c6d9(0x463)]:_0x99f670,'va':(_0x1b6586=_0x30632b['va'])==null?_0x1f6ce6[_0x27c6d9(0x484)][_0x27c6d9(0x2c3)]:_0x1b6586}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x4f5ff8[_0x27c6d9(0x4db)][_0x27c6d9(0x266)],'defaultGradientEndColor':_0x4f5ff8[_0x27c6d9(0x4db)][_0x27c6d9(0x414)],'defaultStrokeColor':_0x4f5ff8[_0x27c6d9(0x4db)][_0x27c6d9(0x3da)],'onUpdateShapeData':(_0x51ebdf,_0x5100b5)=>{_0x3cbdfc(_0x5b5378,_0x365193,_0x175df5,_0x26efb0,_0x51ebdf,_0x5100b5),_0x5100b5&&_0x58c220(_0x5100b5);},'onUpdateText':_0x388455,'onOpenPanel':()=>{_0x5b5378['executeCommand'](_0xff3fa['id'],{'unitId':_0x365193,'subUnitId':_0x175df5,'drawingId':_0x26efb0});},'onDelete':()=>{const _0x1015eb=_0x27c6d9;_0x5b5378[_0x1015eb(0x2cb)](_0x43e147['RemoveSheetDrawingCommand']['id'],{'unitId':_0x365193,'drawings':[{'unitId':_0x365193,'subUnitId':_0x175df5,'drawingId':_0x26efb0,'drawingType':_0x31ef3b}]});}});}var _0x58197e=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(..._0x24d9e0){const _0x5ee6da=_0x47cc0f;super(..._0x24d9e0),_0x562cac(this,_0x5ee6da(0x280),new _0x21c04f[(_0x5ee6da(0x30b))](null)),_0x562cac(this,_0x5ee6da(0x385),this[_0x5ee6da(0x280)][_0x5ee6da(0x25e)]()),_0x562cac(this,_0x5ee6da(0x34c),new _0x21c04f[(_0x5ee6da(0x30b))](!0x1)),_0x562cac(this,_0x5ee6da(0x450),this['_onSavingEditorData$'][_0x5ee6da(0x25e)]());}['dispose'](){const _0x5dfbc2=_0x47cc0f;this[_0x5dfbc2(0x280)]['next'](null),this[_0x5dfbc2(0x280)]['complete'](),this[_0x5dfbc2(0x34c)][_0x5dfbc2(0x232)](!0x1),this['_onSavingEditorData$'][_0x5dfbc2(0x2a2)](),super[_0x5dfbc2(0x435)]();}[_0x47cc0f(0x302)](_0x5154da){const _0xc9238=_0x47cc0f;this[_0xc9238(0x280)][_0xc9238(0x232)](_0x5154da),_0x5154da==null&&this[_0xc9238(0x34c)][_0xc9238(0x232)](!0x1);}[_0x47cc0f(0x441)](_0x4340fa){const _0x433b80=_0x47cc0f;this[_0x433b80(0x34c)][_0x433b80(0x232)](_0x4340fa);}[_0x47cc0f(0x256)](){const _0x4be0be=_0x47cc0f;return this[_0x4be0be(0x280)][_0x4be0be(0x38f)]();}['completeEditing'](_0x49fdf1){const _0x5c7927=_0x47cc0f;this[_0x5c7927(0x256)]()&&(this[_0x5c7927(0x441)](!0x0),requestAnimationFrame(()=>{const _0x3d7dab=_0x5c7927;this[_0x3d7dab(0x302)](null);}));}[_0x47cc0f(0x2fa)](){this['getEditing']()&&this['setEditing'](null);}};let _0x92e99d=(0x0,_0x44112a['memo'])(()=>{const _0x1554e5=_0x47cc0f;let _0x3c9292=(0x0,_0x229cfc[_0x1554e5(0x3fd)])(_0x58197e),_0x552124=(0x0,_0x229cfc[_0x1554e5(0x3fd)])(_0x5927be[_0x1554e5(0x21d)]),_0x42d592=(0x0,_0x229cfc[_0x1554e5(0x3fd)])(_0x2ee308[_0x1554e5(0x4c1)]),_0x775460=(0x0,_0x229cfc[_0x1554e5(0x3fd)])(_0x1f6ce6[_0x1554e5(0x2bd)]),_0x53e457=(0x0,_0x229cfc['useDependency'])(_0x58b748['IRenderManagerService']);return(0x0,_0x2508da[_0x1554e5(0x4c2)])(_0x10236c[_0x1554e5(0x462)],{'adapter':(0x0,_0x44112a[_0x1554e5(0x245)])(()=>({'getShapeModel':(_0x4af88a,_0x339b87,_0xf4326d)=>_0x552124[_0x1554e5(0x381)](_0x4af88a,_0x339b87,_0xf4326d),'getShapeData':(_0x321ee3,_0x360eda,_0x3120fe)=>_0x552124[_0x1554e5(0x45b)](_0x321ee3,_0x360eda,_0x3120fe),'getDrawingTransform':(_0x166766,_0x352fa3,_0x5f00bb)=>{const _0xa615=_0x1554e5;let _0xe18cf1=_0x42d592[_0xa615(0x3a2)]({'unitId':_0x166766,'subUnitId':_0x352fa3,'drawingId':_0x5f00bb});return _0xe18cf1==null?void 0x0:_0xe18cf1[_0xa615(0x23f)];},'updateShapeText':({unitId:_0x3c371f,subUnitId:_0xd11785,shapeId:_0x7b9a0f,shapeText:_0x624245,oldShapeText:_0x3a25fa})=>{_0x775460['executeCommand'](_0x4417a8['id'],{'unitId':_0x3c371f,'subUnitId':_0xd11785,'shapeId':_0x7b9a0f,'shapeData':{'shapeText':_0x624245},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x3a25fa}}});},'updateHostSize':({unitId:_0x5865ff,subUnitId:_0x148db2,shapeId:_0x4d966b,width:_0x45b935,height:_0x5e4d74})=>{const _0x5293cc=_0x1554e5;var _0x4adf62,_0xe447ef,_0x51f066;let _0x32aac9=_0x42d592[_0x5293cc(0x3a2)]({'unitId':_0x5865ff,'subUnitId':_0x148db2,'drawingId':_0x4d966b}),_0x125765=_0x32aac9==null?void 0x0:_0x32aac9[_0x5293cc(0x23f)];if(!_0x32aac9||!_0x125765)return;let _0x5898a8={..._0x125765,'width':_0x45b935,'height':_0x5e4d74},_0x3ab588=(_0x4adf62=_0x53e457[_0x5293cc(0x350)](_0x5865ff))==null||(_0x4adf62=_0x4adf62[_0x5293cc(0x1e4)](_0x522354[_0x5293cc(0x4ba)])[_0x5293cc(0x46d)](_0x148db2))==null?void 0x0:_0x4adf62['skeleton'],_0x1f3db7=_0x3ab588?(_0xe447ef=(0x0,_0x43e147[_0x5293cc(0x427)])(_0x5898a8,_0x3ab588))==null?_0x32aac9['sheetTransform']:_0xe447ef:_0x32aac9['sheetTransform'],_0x4e5a22=_0x3ab588?(_0x51f066=(0x0,_0x43e147[_0x5293cc(0x342)])(_0x5898a8,_0x3ab588))==null?_0x32aac9[_0x5293cc(0x395)]:_0x51f066:_0x32aac9[_0x5293cc(0x395)];_0x775460[_0x5293cc(0x2cb)](_0x43e147['SetSheetDrawingCommand']['id'],{'unitId':_0x5865ff,'drawings':[{..._0x32aac9,'transform':_0x5898a8,'sheetTransform':_0x1f3db7,'axisAlignSheetTransform':_0x4e5a22}]});},'allowHostSizeShrink':({unitId:_0x21136c,subUnitId:_0x3c8cf1,shapeId:_0x315a6c})=>(0x0,_0x10236c[_0x1554e5(0x46e)])(_0x552124[_0x1554e5(0x45b)](_0x21136c,_0x3c8cf1,_0x315a6c))}),[_0x775460,_0x42d592,_0x53e457,_0x552124]),'editingService':_0x3c9292,'editorUnitId':_0x4bb51f,'positionOptions':(0x0,_0x44112a[_0x1554e5(0x245)])(()=>({'viewportKeys':{'main':_0x58b748[_0x1554e5(0x41b)][_0x1554e5(0x1de)],'leftTop':_0x58b748[_0x1554e5(0x41b)][_0x1554e5(0x2ca)],'top':_0x58b748['SHEET_VIEWPORT_KEY'][_0x1554e5(0x454)],'left':_0x58b748[_0x1554e5(0x41b)][_0x1554e5(0x4b6)]},'getSkeleton':(_0x1d098f,_0x3fd2f8)=>{const _0x484201=_0x1554e5;var _0x7a4cc6,_0x131993;return(_0x7a4cc6=(_0x131993=_0x1d098f[_0x484201(0x1e4)](_0x522354['SheetSkeletonManagerService'])[_0x484201(0x46d)](_0x3fd2f8[_0x484201(0x2e1)]))==null?void 0x0:_0x131993[_0x484201(0x43e)])==null?null:_0x7a4cc6;}}),[])});}),_0x4c917c=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x476651,_0x7b6d3c){const _0x113f78=_0x47cc0f;super(),this[_0x113f78(0x330)]=_0x476651,this[_0x113f78(0x48d)]=_0x7b6d3c,this[_0x113f78(0x37e)](),this[_0x113f78(0x4ab)]();}[_0x47cc0f(0x37e)](){const _0x18eb0a=_0x47cc0f;this[_0x18eb0a(0x48d)][_0x18eb0a(0x2ff)](_0x18eb0a(0x364))||this[_0x18eb0a(0x216)](this[_0x18eb0a(0x48d)]['register']({'CopyDoubleIcon':_0x5d4a5c}));}['_registerComponents'](){const _0x127ea2=_0x47cc0f;this['disposeWithMe'](this[_0x127ea2(0x330)][_0x127ea2(0x279)](_0x449f94,_0x34128a)),this['disposeWithMe'](this[_0x127ea2(0x330)][_0x127ea2(0x279)](_0x1c0aed,_0x3b58fc)),this[_0x127ea2(0x216)](this[_0x127ea2(0x330)][_0x127ea2(0x279)](_0xe7fbe9,_0x4ce77b)),this[_0x127ea2(0x216)](this['_componentManager'][_0x127ea2(0x279)](_0x276531,_0x4cf7ba)),this[_0x127ea2(0x330)][_0x127ea2(0x1e3)](_0x25185e[_0x127ea2(0x312)])||this['disposeWithMe'](this[_0x127ea2(0x330)][_0x127ea2(0x279)](_0x25185e[_0x127ea2(0x312)],_0x538841)),this[_0x127ea2(0x216)](this['_componentManager']['register'](_0x187552,_0x353a7a)),this[_0x127ea2(0x216)](this['_componentManager'][_0x127ea2(0x279)](_0x506261,_0x10236c[_0x127ea2(0x2ee)])),this[_0x127ea2(0x216)](this['_componentManager']['register'](_0x127ea2(0x3e7),_0x92e99d));}};_0x4c917c=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x229cfc['ComponentManager'])),_0x3607f9(0x1,(0x0,_0x1f6ce6['Inject'])(_0x229cfc['IconManager']))],_0x4c917c);let _0x4cfdda=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x4f5b33,_0x1e8926,_0x5a7cf6,_0x1a1c22,_0x4e3766){const _0x49e6d7=_0x47cc0f;super(),this[_0x49e6d7(0x2c8)]=_0x4f5b33,this[_0x49e6d7(0x416)]=_0x1e8926,this['_renderManagerService']=_0x5a7cf6,this[_0x49e6d7(0x26b)]=_0x1a1c22,this['_imageShapeClipController']=_0x4e3766,_0x562cac(this,'_activeImageId',null),_0x562cac(this,_0x49e6d7(0x242),null),_0x562cac(this,_0x49e6d7(0x2ab),null),_0x562cac(this,_0x49e6d7(0x38c),void 0x0),_0x562cac(this,_0x49e6d7(0x4d0),[]),_0x562cac(this,'_baseLeft',0x0),_0x562cac(this,_0x49e6d7(0x3be),0x0),_0x562cac(this,_0x49e6d7(0x2df),0x0),_0x562cac(this,_0x49e6d7(0x370),0x0),_0x562cac(this,_0x49e6d7(0x25a),!0x1),_0x562cac(this,_0x49e6d7(0x44b),void 0x0),_0x562cac(this,_0x49e6d7(0x2f6),void 0x0),_0x562cac(this,_0x49e6d7(0x2a7),void 0x0),_0x562cac(this,_0x49e6d7(0x4af),void 0x0),_0x562cac(this,'_isImagePointerDown',!0x1),this['_registerFocusChangeHandler'](),this['_registerMoveHandler']();}[_0x47cc0f(0x46f)](){const _0xf0f603=_0x47cc0f;this[_0xf0f603(0x48f)]();}[_0x47cc0f(0x3f5)](){const _0x273116=_0x47cc0f;this[_0x273116(0x48f)](),this['_createControls'](!0x0);}[_0x47cc0f(0x3ed)](_0x19af56,_0x9cca07,_0x5cff87,_0x425f0a){const _0x24e291=_0x47cc0f;let _0x5f1d84=_0x19af56;if(!(_0x5f1d84===_0x4f5ff8[_0x24e291(0x4d9)][_0x24e291(0x2a4)]||_0x19af56===_0x24e291(0x2ad)))try{let _0x161fce=new _0x4f5ff8[(_0x24e291(0x298))](_0x5f1d84,_0x24e291(0x2cf)+_0x19af56);return _0x425f0a&&_0x161fce[_0x24e291(0x3ba)]({'adjustValues':_0x425f0a},!0x0),_0x161fce['updateContext']({'width':_0x9cca07,'height':_0x5cff87}),_0x161fce;}catch{return;}}[_0x47cc0f(0x2a3)](_0x23b567,_0x3589b5,_0x153b47){const _0x236f1d=_0x47cc0f;let _0x1193b1={'unitId':_0x23b567,'subUnitId':_0x3589b5,'drawingId':_0x153b47},_0x5ccc74=this['_drawingManagerService'][_0x236f1d(0x3a2)](_0x1193b1);if(!(!_0x5ccc74||_0x5ccc74[_0x236f1d(0x2b2)]!==_0x1f6ce6[_0x236f1d(0x38b)]['DRAWING_IMAGE']))return _0x5ccc74;}['_getImagePrstGeom'](_0x2b044e,_0x3d8fa4,_0x1d161d){const _0x16ff1e=_0x47cc0f;let _0x4078b6=this['_renderManagerService'][_0x16ff1e(0x350)](_0x2b044e);if(!_0x4078b6)return;let {scene:_0x282a3f}=_0x4078b6,_0x50f3fc=(0x0,_0x2ee308[_0x16ff1e(0x4d4)])({'unitId':_0x2b044e,'subUnitId':_0x3d8fa4,'drawingId':_0x1d161d}),_0x128735=_0x282a3f['getObject'](_0x50f3fc);if(_0x128735 instanceof _0x58b748['Image']){let _0x3a176a=_0x128735[_0x16ff1e(0x323)];if(_0x3a176a)return{'prstGeom':_0x3a176a,'adjustValues':_0x128735[_0x16ff1e(0x24c)]};}}[_0x47cc0f(0x433)](_0x1ea9b9=!0x1){const _0x359bb3=_0x47cc0f;if(!this[_0x359bb3(0x242)]||!this[_0x359bb3(0x2ab)]||!this[_0x359bb3(0x246)])return;let _0x28f78a=this['_renderManagerService'][_0x359bb3(0x350)](this[_0x359bb3(0x242)]);if(!_0x28f78a||!_0x28f78a[_0x359bb3(0x1e4)](_0x522354[_0x359bb3(0x4ba)])[_0x359bb3(0x27d)]())return;let {scene:_0x4f6377}=_0x28f78a,_0x4e706a=this[_0x359bb3(0x2a3)](this[_0x359bb3(0x242)],this[_0x359bb3(0x2ab)],this['_activeImageId']);if(!_0x4e706a)return;let {transform:_0x13888b}=_0x4e706a;if(!_0x13888b)return;let {left:_0x139ac2,top:_0x2151d8,width:_0x198070,height:_0x447fa0,flipX:_0x4b21f5,flipY:_0x2bf3a0,angle:_0xe3ff88=0x0}=_0x13888b;if(_0x139ac2===void 0x0||_0x2151d8===void 0x0)return;let _0x45962f=this[_0x359bb3(0x297)](this[_0x359bb3(0x242)],this[_0x359bb3(0x2ab)],this[_0x359bb3(0x246)]);if(!_0x45962f)return;if(_0x1ea9b9){let _0x471c5c=this[_0x359bb3(0x3ed)](_0x45962f['prstGeom'],_0x198070||0x0,_0x447fa0||0x0,_0x45962f[_0x359bb3(0x296)]);if(!_0x471c5c)return;this[_0x359bb3(0x38c)]=_0x471c5c[_0x359bb3(0x3f9)]();}let _0x41f438=this[_0x359bb3(0x38c)];if(!(!_0x41f438||_0x41f438[_0x359bb3(0x28e)]===0x0))for(let _0x43fe78=0x0;_0x43fe78<_0x41f438[_0x359bb3(0x28e)];_0x43fe78++){let _0x201044=_0x41f438[_0x43fe78],_0x2e7f8b=_0x201044['x'],_0x396d36=_0x201044['y'];if(_0x4b21f5&&(_0x2e7f8b=(_0x198070||0x0)-_0x2e7f8b),_0x2bf3a0&&(_0x396d36=(_0x447fa0||0x0)-_0x396d36),_0xe3ff88!==0x0){let _0x490cb4=(_0x198070||0x0)/0x2,_0x4c6559=(_0x447fa0||0x0)/0x2,_0x53b8eb=_0xe3ff88*Math['PI']/0xb4,_0x3edbf7=Math[_0x359bb3(0x46c)](_0x53b8eb),_0x1e7349=Math['sin'](_0x53b8eb),_0x1ed40d=_0x2e7f8b-_0x490cb4,_0x6ee0fe=_0x396d36-_0x4c6559;_0x2e7f8b=_0x490cb4+(_0x1ed40d*_0x3edbf7-_0x6ee0fe*_0x1e7349),_0x396d36=_0x4c6559+(_0x1ed40d*_0x1e7349+_0x6ee0fe*_0x3edbf7);}let _0x5c6060={'x':_0x2e7f8b,'y':_0x396d36,'adjName':_0x201044['adjName']};this['_addControl'](_0x4f6377,_0x5c6060,_0x5c6060[_0x359bb3(0x4e0)],_0x139ac2,_0x2151d8,this['_unitId'],this[_0x359bb3(0x2ab)]);}}[_0x47cc0f(0x1f9)](_0x177a62,_0x5f07ef,_0x24554e,_0x25e519,_0x39f94e,_0x3d93da,_0x56be14){const _0x5cb1b3=_0x47cc0f;if(!this['_activeImageId'])return;let _0x2801ce=_0x5cb1b3(0x2c5)+this['_activeImageId']+'-'+_0x24554e,_0xbb5aaa=_0x177a62['getObjectIncludeInGroup'](_0x2801ce);if(_0xbb5aaa){_0xbb5aaa[_0x5cb1b3(0x4a6)]({'left':_0x5f07ef['x']+_0x25e519-_0x4f5ff8[_0x5cb1b3(0x4db)][_0x5cb1b3(0x33f)],'top':_0x5f07ef['y']+_0x39f94e-_0x4f5ff8[_0x5cb1b3(0x4db)][_0x5cb1b3(0x33f)]});return;}let _0x22ad6f=new _0x50c784(_0x2801ce,{'left':_0x5f07ef['x']+_0x25e519-_0x4f5ff8['ShapeDefaultConfig'][_0x5cb1b3(0x33f)],'top':_0x5f07ef['y']+_0x39f94e-_0x4f5ff8[_0x5cb1b3(0x4db)][_0x5cb1b3(0x33f)],'adjName':_0x24554e,'shapeId':this[_0x5cb1b3(0x246)],'unitId':_0x3d93da,'subUnitId':_0x56be14,'width':_0x4f5ff8[_0x5cb1b3(0x4db)]['adjHandleSize']+0x8,'height':_0x4f5ff8[_0x5cb1b3(0x4db)][_0x5cb1b3(0x33f)]+0x8,'zIndex':_0x58b748[_0x5cb1b3(0x43c)]+0x1,'evented':!0x0});this[_0x5cb1b3(0x4d0)]['push'](_0x22ad6f),this['_attachAdjustEvent'](_0x22ad6f,_0x177a62,_0x24554e),_0x177a62[_0x5cb1b3(0x408)](_0x22ad6f,_0x58b748[_0x5cb1b3(0x43c)]+0x1);}[_0x47cc0f(0x48f)](){const _0x1e759f=_0x47cc0f;this[_0x1e759f(0x4d0)]['length']!==0x0&&(this[_0x1e759f(0x4d0)]['forEach'](_0x179c46=>_0x179c46['dispose']()),this[_0x1e759f(0x4d0)]=[]);}[_0x47cc0f(0x320)](_0x544e4e,_0x1be7bf){const _0x17a885=_0x47cc0f;var _0x4cc4c5;let _0x3512f9={'x':0x0,'y':0x0},_0x2560a9=this['_renderManagerService'][_0x17a885(0x350)](_0x544e4e);if(!_0x2560a9||!_0x2560a9['with'](_0x522354[_0x17a885(0x4ba)])['getSkeleton'](_0x1be7bf))return _0x3512f9;let _0x4ba9a0=_0x2560a9[_0x17a885(0x1e4)](_0x522354[_0x17a885(0x41a)]),_0x38c50e=_0x4ba9a0==null?void 0x0:_0x4ba9a0[_0x17a885(0x224)]();if(!_0x38c50e)return _0x3512f9;let _0x2f1733=(_0x4cc4c5=this[_0x17a885(0x26b)]['getUnit'](_0x544e4e))==null?void 0x0:_0x4cc4c5[_0x17a885(0x277)](_0x1be7bf);if(!_0x2f1733)return _0x3512f9;let _0x5c98d4=(0x0,_0x522354[_0x17a885(0x3fa)])(_0x38c50e[_0x17a885(0x389)],_0x38c50e[_0x17a885(0x3ee)],_0x2560a9[_0x17a885(0x469)],_0x2f1733);return _0x5c98d4?{'x':_0x5c98d4[_0x17a885(0x1d5)],'y':_0x5c98d4[_0x17a885(0x3c5)]}:_0x3512f9;}[_0x47cc0f(0x402)](_0x46ab7c,_0x13a693){const _0x4606c7=_0x47cc0f;var _0xe0ca0,_0x46126f;let _0x83b2f4=(_0xe0ca0=this[_0x4606c7(0x26b)][_0x4606c7(0x49f)](_0x46ab7c))==null?void 0x0:_0xe0ca0[_0x4606c7(0x277)](_0x13a693);return(_0x46126f=_0x83b2f4==null?void 0x0:_0x83b2f4[_0x4606c7(0x38d)]())==null?0x1:_0x46126f;}[_0x47cc0f(0x393)](_0x1b567f,_0x380ee1,_0x46bc93){const _0x22f464=_0x47cc0f;this[_0x22f464(0x216)]((0x0,_0x1f6ce6[_0x22f464(0x31d)])(_0x1b567f[_0x22f464(0x2ef)]['subscribeEvent']((_0x4a7895,_0x1ccc03)=>{const _0x5500d0=_0x22f464;var _0x2cea35,_0x5b5c2b,_0x26f5bd;let {unitId:_0x5008c2,subUnitId:_0x41ecd2,drawingId:_0x356f84}=_0x1b567f['getDrawingSearch'](),_0x5daaa7=this[_0x5500d0(0x2a3)](_0x5008c2,_0x41ecd2,_0x356f84);if(!(_0x5daaa7!=null&&_0x5daaa7[_0x5500d0(0x23f)]))return;let {left:_0x3eea13,top:_0x30a197,width:_0x49b558,height:_0x54b3fe}=_0x5daaa7[_0x5500d0(0x23f)];this[_0x5500d0(0x25c)]=_0x3eea13||0x0,this['_baseTop']=_0x30a197||0x0,this[_0x5500d0(0x2df)]=_0x49b558||0x0,this[_0x5500d0(0x370)]=_0x54b3fe||0x0;let _0x1de031=!!((_0x2cea35=_0x5daaa7[_0x5500d0(0x23f)])!=null&&_0x2cea35[_0x5500d0(0x42d)]),_0x3ea2e5=!!((_0x5b5c2b=_0x5daaa7[_0x5500d0(0x23f)])!=null&&_0x5b5c2b['flipY']),_0x10c5e0=((_0x26f5bd=_0x5daaa7[_0x5500d0(0x23f)])==null?void 0x0:_0x26f5bd['angle'])||0x0,_0x1bb44c=this[_0x5500d0(0x297)](_0x5008c2,_0x41ecd2,_0x356f84);if(!_0x1bb44c)return;let _0x2c2d2b=this[_0x5500d0(0x3ed)](_0x1bb44c[_0x5500d0(0x323)],this[_0x5500d0(0x2df)],this['_baseHeight'],_0x1bb44c[_0x5500d0(0x296)]);if(!_0x2c2d2b||(this[_0x5500d0(0x2f6)]=_0x2c2d2b,this[_0x5500d0(0x44b)]=_0x2c2d2b['getAdjustInfoByName'](_0x46bc93),!this[_0x5500d0(0x44b)]))return;this[_0x5500d0(0x25a)]=!0x0,_0x380ee1[_0x5500d0(0x345)]();let _0x144d0b=_0x1bb44c[_0x5500d0(0x323)];this[_0x5500d0(0x2a7)]=_0x380ee1[_0x5500d0(0x3ac)]['subscribeEvent']((_0x191d0a,_0x17a115)=>{const _0x1a52b3=_0x5500d0;if(!this[_0x1a52b3(0x25a)])return;let {offsetX:_0x2029df,offsetY:_0x5dc05e}=_0x191d0a,_0x2254aa=this['_activeAdjustInfo'];if(!this['_activeShapeModel']||!_0x2254aa)return;_0x380ee1['disableObjectsEvent'](),_0x380ee1[_0x1a52b3(0x23a)](_0x58b748[_0x1a52b3(0x31c)][_0x1a52b3(0x3e8)]);let _0x12a9ee={'left':0x0,'top':0x0,'width':this[_0x1a52b3(0x2df)],'height':this['_baseHeight']},_0x474e99=this['_getScrollInfo'](_0x5008c2,_0x41ecd2),_0x20ce40=this['_getZoomRatio'](_0x5008c2,_0x41ecd2),_0x1fe651=_0x2029df/_0x20ce40+_0x474e99['x']-this[_0x1a52b3(0x25c)],_0x10bd0c=_0x5dc05e/_0x20ce40+_0x474e99['y']-this[_0x1a52b3(0x3be)];if(_0x10c5e0!==0x0){let _0x3a5082=this['_baseWidth']/0x2,_0x2f6e88=this[_0x1a52b3(0x370)]/0x2,_0x330d22=_0x10c5e0*Math['PI']/0xb4,_0x45a028=Math[_0x1a52b3(0x46c)](_0x330d22),_0x25fe64=Math[_0x1a52b3(0x494)](_0x330d22),_0x53cbc9=_0x1fe651-_0x3a5082,_0x39d88d=_0x10bd0c-_0x2f6e88;_0x1fe651=_0x3a5082+(_0x53cbc9*_0x45a028+_0x39d88d*_0x25fe64),_0x10bd0c=_0x2f6e88+(-_0x53cbc9*_0x25fe64+_0x39d88d*_0x45a028);}_0x1de031&&(_0x1fe651=this[_0x1a52b3(0x2df)]-_0x1fe651),_0x3ea2e5&&(_0x10bd0c=this[_0x1a52b3(0x370)]-_0x10bd0c);let _0x3b7334=this[_0x1a52b3(0x2f6)][_0x1a52b3(0x2a1)](_0x12a9ee,{'x':_0x1fe651,'y':_0x10bd0c},_0x2254aa,_0x1de031,_0x3ea2e5),_0x46e2c9=_0x2254aa[_0x1a52b3(0x247)]||_0x2254aa[_0x1a52b3(0x2f1)]||_0x2254aa['gdRefAng']||_0x2254aa[_0x1a52b3(0x3ae)];_0x46e2c9!==void 0x0&&(this[_0x1a52b3(0x2f6)]['setAdjustValueByName'](_0x46e2c9,_0x3b7334),this[_0x1a52b3(0x2f6)][_0x1a52b3(0x210)]({'width':this['_baseWidth'],'height':this['_baseHeight']}),this[_0x1a52b3(0x311)](_0x5008c2,_0x41ecd2,_0x356f84,_0x46e2c9,_0x3b7334),this[_0x1a52b3(0x38c)]=this[_0x1a52b3(0x2f6)]['getDrawingPoints'](),this[_0x1a52b3(0x44b)]=this[_0x1a52b3(0x2f6)][_0x1a52b3(0x223)](_0x46bc93),this['_createControls'](),_0x17a115[_0x1a52b3(0x412)]());}),this[_0x5500d0(0x4af)]=_0x380ee1[_0x5500d0(0x1e9)][_0x5500d0(0x4a2)]((_0x3462a6,_0x121dc3)=>{const _0x3c1b92=_0x5500d0;if(this[_0x3c1b92(0x2a7)][_0x3c1b92(0x212)](),this[_0x3c1b92(0x4af)][_0x3c1b92(0x212)](),_0x380ee1['resetCursor'](),this[_0x3c1b92(0x2f6)]){let _0x27d694=this['_activeShapeModel'][_0x3c1b92(0x259)](),_0x4086b2={};for(let _0x40c151 of _0x27d694){let _0x2702ee=this[_0x3c1b92(0x2f6)][_0x3c1b92(0x327)](_0x40c151);_0x2702ee!==void 0x0&&(_0x4086b2[_0x40c151]=_0x2702ee);}this['_imageShapeClipController'][_0x3c1b92(0x3ef)](_0x5008c2,_0x41ecd2,_0x356f84,_0x144d0b,_0x4086b2);}this['_activeAdjustInfo']=void 0x0,this[_0x3c1b92(0x2f6)]=void 0x0,this['_isStartAdjusting']=!0x1,_0x121dc3[_0x3c1b92(0x412)](),_0x380ee1['enableObjectsEvent']();}),_0x1ccc03[_0x5500d0(0x412)]();})));}[_0x47cc0f(0x311)](_0x1c0947,_0x518d9a,_0x5519eb,_0x5d5fef,_0x1c3913){const _0x47ae06=_0x47cc0f;let _0x197a6a=this[_0x47ae06(0x4bb)][_0x47ae06(0x350)](_0x1c0947);if(!_0x197a6a)return;let {scene:_0x7f74ad}=_0x197a6a,_0x25ca0d=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x1c0947,'subUnitId':_0x518d9a,'drawingId':_0x5519eb}),_0x55dbba=_0x7f74ad[_0x47ae06(0x290)](_0x25ca0d);if(_0x55dbba instanceof _0x58b748[_0x47ae06(0x33e)]){var _0x1c0d42;let _0x611d7a=(_0x1c0d42=_0x55dbba['prstGeomAdjValues'])==null?{}:_0x1c0d42;_0x55dbba[_0x47ae06(0x3e0)]({..._0x611d7a,[_0x5d5fef]:_0x1c3913}),_0x55dbba[_0x47ae06(0x49b)](!0x0);}}[_0x47cc0f(0x49c)](){const _0x19775b=_0x47cc0f;let _0x2a38c0=this['_univerInstanceService'][_0x19775b(0x22a)](_0x1f6ce6[_0x19775b(0x2c2)][_0x19775b(0x1e0)]);this[_0x19775b(0x216)](_0x2a38c0[_0x19775b(0x43f)]((0x0,_0x21c04f[_0x19775b(0x316)])(_0x49322e=>_0x49322e?_0x49322e[_0x19775b(0x42b)][_0x19775b(0x43f)]((0x0,_0x21c04f[_0x19775b(0x316)])(_0x5736d5=>{const _0x257868=_0x19775b;if(!_0x5736d5)return _0x21c04f['EMPTY'];let _0x2a2a43=_0x49322e[_0x257868(0x488)](),_0x535c10=this['_renderManagerService'][_0x257868(0x350)](_0x2a2a43),_0x5040e3=_0x535c10==null?void 0x0:_0x535c10['scene'];return _0x5040e3?(0x0,_0x21c04f['of'])(_0x5040e3):_0x21c04f[_0x257868(0x30d)];})):_0x21c04f[_0x19775b(0x30d)]))[_0x19775b(0x4b1)](_0x580cee=>{const _0x4091ff=_0x19775b;let _0x3e8cb4=_0x580cee['getTransformerByCreate']();this[_0x4091ff(0x216)](_0x580cee[_0x4091ff(0x3ac)][_0x4091ff(0x4a2)](()=>{const _0x48c1a5=_0x4091ff;this[_0x48c1a5(0x3d8)]&&this[_0x48c1a5(0x48f)]();})),this['disposeWithMe'](_0x3e8cb4['changeStart$']['subscribe'](_0x445a4b=>{const _0x3bc4d6=_0x4091ff;let {objects:_0x402bbf}=_0x445a4b;if(this['_createControls'](),_0x402bbf!==null&&_0x402bbf[_0x3bc4d6(0x1ec)]===0x1){let _0x1cab05=_0x402bbf[_0x3bc4d6(0x4a9)]()['next']()[_0x3bc4d6(0x337)];_0x1cab05 instanceof _0x58b748['Image']&&_0x1cab05['prstGeom']&&(this['_isImagePointerDown']=!0x0);}})),this[_0x4091ff(0x216)](_0x3e8cb4[_0x4091ff(0x39c)][_0x4091ff(0x4b1)](()=>{this['_isImagePointerDown']&&this['_clearControls']();})),this[_0x4091ff(0x216)](_0x580cee['onPointerUp$'][_0x4091ff(0x4a2)](()=>{const _0x27be8b=_0x4091ff;this[_0x27be8b(0x3d8)]&&(this[_0x27be8b(0x3d8)]=!0x1,this[_0x27be8b(0x433)]());})),this[_0x4091ff(0x216)](_0x3e8cb4[_0x4091ff(0x1da)]['subscribe'](()=>{const _0x262d13=_0x4091ff;if(this[_0x262d13(0x242)]&&this[_0x262d13(0x2ab)]&&this[_0x262d13(0x246)]){let _0x4d323b=this[_0x262d13(0x297)](this[_0x262d13(0x242)],this[_0x262d13(0x2ab)],this[_0x262d13(0x246)]);if(_0x4d323b){var _0x19ae74,_0x106497;let _0x340fde=this[_0x262d13(0x2a3)](this[_0x262d13(0x242)],this[_0x262d13(0x2ab)],this[_0x262d13(0x246)]),_0xb831d5=(_0x340fde==null||(_0x19ae74=_0x340fde[_0x262d13(0x23f)])==null?void 0x0:_0x19ae74[_0x262d13(0x300)])||0x0,_0x39c24b=(_0x340fde==null||(_0x106497=_0x340fde[_0x262d13(0x23f)])==null?void 0x0:_0x106497[_0x262d13(0x1e8)])||0x0,_0x5e34d0=this[_0x262d13(0x3ed)](_0x4d323b['prstGeom'],_0xb831d5,_0x39c24b,_0x4d323b[_0x262d13(0x296)]);_0x5e34d0&&(this['_activeAdjustPointList']=_0x5e34d0['getDrawingPoints'](),this[_0x262d13(0x48f)](),this[_0x262d13(0x433)](!0x0));}}}));}));}['_registerFocusChangeHandler'](){const _0x314957=_0x47cc0f;this[_0x314957(0x216)](this['_drawingManagerService'][_0x314957(0x2c6)][_0x314957(0x4b1)](_0x3e946b=>{const _0x30ce3a=_0x314957;if(_0x3e946b[_0x30ce3a(0x28e)]===0x1){let _0x261ea9=_0x3e946b[0x0];if(_0x261ea9[_0x30ce3a(0x2b2)]===_0x1f6ce6[_0x30ce3a(0x38b)][_0x30ce3a(0x473)]){let {unitId:_0x40da84,subUnitId:_0x12ce4f,drawingId:_0x58eb84}=_0x261ea9,_0x2f247d=this['_getImagePrstGeom'](_0x40da84,_0x12ce4f,_0x58eb84);if(_0x2f247d){var _0x228fcd,_0x1a2cf2;this['_activeImageId']=_0x58eb84,this[_0x30ce3a(0x242)]=_0x40da84,this[_0x30ce3a(0x2ab)]=_0x12ce4f;let _0x325da6=this[_0x30ce3a(0x2a3)](_0x40da84,_0x12ce4f,_0x58eb84),_0x34580c=(_0x325da6==null||(_0x228fcd=_0x325da6[_0x30ce3a(0x23f)])==null?void 0x0:_0x228fcd[_0x30ce3a(0x300)])||0x0,_0x359496=(_0x325da6==null||(_0x1a2cf2=_0x325da6[_0x30ce3a(0x23f)])==null?void 0x0:_0x1a2cf2['height'])||0x0,_0x181d05=this[_0x30ce3a(0x3ed)](_0x2f247d[_0x30ce3a(0x323)],_0x34580c,_0x359496,_0x2f247d['adjustValues']);_0x181d05&&(this[_0x30ce3a(0x38c)]=_0x181d05[_0x30ce3a(0x3f9)]()),this[_0x30ce3a(0x48f)](),this[_0x30ce3a(0x433)](!0x0);}else this[_0x30ce3a(0x448)]();}else this[_0x30ce3a(0x448)]();}else this[_0x30ce3a(0x448)]();})),this[_0x314957(0x216)](this[_0x314957(0x416)][_0x314957(0x213)][_0x314957(0x4b1)](_0x473961=>{const _0x22ac99=_0x314957;if(_0x473961['length']===0x1){let _0x32d60a=_0x473961[0x0],_0x5f05f8=this[_0x22ac99(0x416)][_0x22ac99(0x3a2)](_0x32d60a);(_0x5f05f8==null?void 0x0:_0x5f05f8[_0x22ac99(0x2b2)])===_0x1f6ce6[_0x22ac99(0x38b)]['DRAWING_IMAGE']&&this['_activeImageId']===_0x32d60a['drawingId']&&(this[_0x22ac99(0x48f)](),this[_0x22ac99(0x433)](!0x0));}})),this['disposeWithMe'](this[_0x314957(0x416)][_0x314957(0x1e6)]['subscribe'](_0x746223=>{const _0x26ce73=_0x314957;for(let _0x12e301 of _0x746223)this[_0x26ce73(0x246)]===_0x12e301[_0x26ce73(0x257)]&&this['_resetState']();}));}['_resetState'](){const _0x26d141=_0x47cc0f;this[_0x26d141(0x246)]=null,this[_0x26d141(0x242)]=null,this[_0x26d141(0x2ab)]=null,this[_0x26d141(0x38c)]=void 0x0,this['_clearControls']();}};_0x4cfdda=_0x51130a([_0x3607f9(0x1,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x58b748['IRenderManagerService'])),_0x3607f9(0x3,_0x1f6ce6[_0x47cc0f(0x32e)]),_0x3607f9(0x4,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x277ed1))],_0x4cfdda);let _0x28ef11=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x4eff03,_0x11db36,_0x50e658,_0x351956){const _0x37c8de=_0x47cc0f;super(),this['_univerInstanceService']=_0x4eff03,this[_0x37c8de(0x20c)]=_0x11db36,this[_0x37c8de(0x3bf)]=_0x50e658,this[_0x37c8de(0x3c4)]=_0x351956,this[_0x37c8de(0x3fe)]();}[_0x47cc0f(0x3fe)](){const _0x44dd6a=_0x47cc0f;this[_0x44dd6a(0x216)](this[_0x44dd6a(0x20c)][_0x44dd6a(0x42c)]({'getMutations':_0x55c64e=>{const _0x4ea1c6=_0x44dd6a;if(_0x55c64e['id']===_0x231b82['RemoveSheetCommand']['id']){let _0x6db38f=(0x0,_0x231b82[_0x4ea1c6(0x226)])(this[_0x4ea1c6(0x26b)],_0x55c64e[_0x4ea1c6(0x305)]);if(!_0x6db38f)return{'redos':[],'undos':[]};let {unitId:_0x3ecf44,subUnitId:_0x544181}=_0x6db38f,_0x1e1c8f=this[_0x4ea1c6(0x3bf)][_0x4ea1c6(0x29b)](_0x3ecf44,_0x544181),_0x1220a2=Object[_0x4ea1c6(0x4a9)](_0x1e1c8f)[_0x4ea1c6(0x272)](_0x3203a7=>_0x3203a7['drawingType']===_0x1f6ce6[_0x4ea1c6(0x38b)][_0x4ea1c6(0x3c0)]);if(_0x1220a2[_0x4ea1c6(0x28e)]===0x0)return{'redos':[],'undos':[]};let _0x4a3d64=[],_0x51a0b2=[];for(let _0x130c98=0x0;_0x130c98<_0x1220a2[_0x4ea1c6(0x28e)];_0x130c98++){let _0x129994=_0x1220a2[_0x130c98],_0xe72a72=this[_0x4ea1c6(0x3c4)][_0x4ea1c6(0x381)](_0x129994[_0x4ea1c6(0x394)],_0x129994[_0x4ea1c6(0x2e1)],_0x129994[_0x4ea1c6(0x257)]);if(!_0xe72a72)continue;let {redo:_0xbb192e,undo:_0x4c3988,objects:_0x38569f}=this['_sheetDrawingService'][_0x4ea1c6(0x3e4)]([_0x129994]);_0x4a3d64[_0x4ea1c6(0x3e5)]({'id':_0x5927be[_0x4ea1c6(0x39e)]['id'],'params':{'unitId':_0x3ecf44,'subUnitId':_0x544181,'shapeId':_0x129994[_0x4ea1c6(0x257)]}}),_0x4a3d64[_0x4ea1c6(0x3e5)]({'id':_0x43e147['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3ecf44,'subUnitId':_0x544181,'type':_0x43e147[_0x4ea1c6(0x34b)]['REMOVE'],'op':_0xbb192e,'objects':_0x38569f}}),_0x51a0b2[_0x4ea1c6(0x3e5)]({'id':_0x43e147[_0x4ea1c6(0x2dd)]['id'],'params':{'unitId':_0x3ecf44,'subUnitId':_0x544181,'type':_0x43e147[_0x4ea1c6(0x34b)][_0x4ea1c6(0x3ab)],'op':_0x4c3988,'objects':_0x38569f}}),_0x51a0b2[_0x4ea1c6(0x3e5)]({'id':_0x5927be[_0x4ea1c6(0x318)]['id'],'params':{'unitId':_0x3ecf44,'subUnitId':_0x544181,'shapeId':_0x129994[_0x4ea1c6(0x257)],'shapeType':_0xe72a72[_0x4ea1c6(0x2d8)](),'shapeData':JSON[_0x4ea1c6(0x4c0)](JSON[_0x4ea1c6(0x4f7)](_0xe72a72['getShapeData']()))}});}return{'redos':_0x4a3d64,'undos':_0x51a0b2};}else{if(_0x55c64e['id']===_0x231b82[_0x4ea1c6(0x28f)]['id']){let {unitId:_0x3b28b3,subUnitId:_0x588e2a,targetSubUnitId:_0x30cef5}=_0x55c64e[_0x4ea1c6(0x305)];if(!_0x3b28b3||!_0x588e2a||!_0x30cef5)return{'redos':[],'undos':[]};let _0x368f02=this[_0x4ea1c6(0x3bf)][_0x4ea1c6(0x29b)](_0x3b28b3,_0x588e2a),_0x4b3d4c=Object[_0x4ea1c6(0x4a9)](_0x368f02)[_0x4ea1c6(0x272)](_0x26eff1=>_0x26eff1[_0x4ea1c6(0x2b2)]===_0x1f6ce6[_0x4ea1c6(0x38b)][_0x4ea1c6(0x3c0)]);if(_0x4b3d4c[_0x4ea1c6(0x28e)]===0x0)return{'redos':[],'undos':[]};let _0x5e30ff=[],_0x511c13=[];for(let _0x53882a=0x0;_0x53882a<_0x4b3d4c['length'];_0x53882a++){let _0x1cd097=_0x4b3d4c[_0x53882a],_0x15e03d=this[_0x4ea1c6(0x3c4)][_0x4ea1c6(0x381)](_0x1cd097[_0x4ea1c6(0x394)],_0x1cd097[_0x4ea1c6(0x2e1)],_0x1cd097[_0x4ea1c6(0x257)]);if(!_0x15e03d)continue;let _0x4029bb=(0x0,_0x1f6ce6[_0x4ea1c6(0x472)])(),_0x1fd394={..._0x1cd097,'unitId':_0x3b28b3,'subUnitId':_0x30cef5,'drawingId':_0x4029bb},{redo:_0x407223,undo:_0x4295dd,objects:_0x1e4089}=this[_0x4ea1c6(0x3bf)][_0x4ea1c6(0x26d)]([_0x1fd394]);_0x5e30ff['push']({'id':_0x43e147[_0x4ea1c6(0x2dd)]['id'],'params':{'unitId':_0x3b28b3,'subUnitId':_0x30cef5,'type':_0x43e147[_0x4ea1c6(0x34b)][_0x4ea1c6(0x3ab)],'op':_0x407223,'objects':_0x1e4089}}),_0x5e30ff[_0x4ea1c6(0x3e5)]({'id':_0x5927be[_0x4ea1c6(0x318)]['id'],'params':{'unitId':_0x3b28b3,'subUnitId':_0x30cef5,'shapeId':_0x4029bb,'shapeType':_0x15e03d['getShapeType'](),'shapeData':JSON[_0x4ea1c6(0x4c0)](JSON[_0x4ea1c6(0x4f7)](_0x15e03d[_0x4ea1c6(0x3b4)]()))}}),_0x511c13[_0x4ea1c6(0x3e5)]({'id':_0x5927be['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x3b28b3,'subUnitId':_0x30cef5,'shapeId':_0x4029bb}}),_0x511c13['push']({'id':_0x43e147[_0x4ea1c6(0x2dd)]['id'],'params':{'unitId':_0x3b28b3,'subUnitId':_0x30cef5,'type':_0x43e147[_0x4ea1c6(0x34b)][_0x4ea1c6(0x32b)],'op':_0x4295dd,'objects':_0x1e4089}});}return{'redos':_0x5e30ff,'undos':_0x511c13};}}return{'redos':[],'undos':[]};}}));}};_0x28ef11=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1f6ce6['IUniverInstanceService'])),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x231b82['SheetInterceptorService'])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x43e147[_0x47cc0f(0x365)])),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be[_0x47cc0f(0x21d)]))],_0x28ef11);let _0x3066a2=class extends _0x1f6ce6['Disposable']{constructor(_0x5ad4b2,_0x576960,_0xfec61,_0x3fb20f,_0x195a48){const _0x38e330=_0x47cc0f;super(),this['_context']=_0x5ad4b2,this[_0x38e330(0x288)]=_0x576960,this['_drawingManagerService']=_0xfec61,this[_0x38e330(0x4d2)]=_0x3fb20f,this[_0x38e330(0x3c4)]=_0x195a48,_0x562cac(this,_0x38e330(0x3f4),null),this['_initEvents'](),this['_initSelection'](),this[_0x38e330(0x37f)]();}['_initEvents'](){const _0xe77601=_0x47cc0f;let {scene:_0x302fce}=this['_context'];this[_0xe77601(0x216)](_0x302fce[_0xe77601(0x373)][_0xe77601(0x4a2)](_0x5dfb0c=>{const _0x13962a=_0xe77601;let {offsetX:_0x5a1927,offsetY:_0x3f17e2}=_0x5dfb0c,_0x5d9a97=_0x302fce[_0x13962a(0x474)](_0x58b748[_0x13962a(0x495)][_0x13962a(0x4ca)]([_0x5a1927,_0x3f17e2]));if(_0x5d9a97 instanceof _0x2f4556){if((0x0,_0x4f5ff8[_0x13962a(0x3d1)])(this[_0x13962a(0x3c4)][_0x13962a(0x2d8)](_0x5d9a97['unitId'],_0x5d9a97[_0x13962a(0x2e1)],_0x5d9a97[_0x13962a(0x4d8)])))return;this['_shapeTextEditingService'][_0x13962a(0x302)]({'visible':!0x0,'unitId':_0x5d9a97[_0x13962a(0x394)],'subUnitId':_0x5d9a97[_0x13962a(0x2e1)],'shapeId':_0x5d9a97[_0x13962a(0x4d8)],'shapeKey':_0x5d9a97[_0x13962a(0x3bc)]});}}));}[_0x47cc0f(0x29e)](){const _0x3adb6b=_0x47cc0f;this[_0x3adb6b(0x216)](this[_0x3adb6b(0x416)][_0x3adb6b(0x2c6)][_0x3adb6b(0x4b1)](_0x1e77c3=>{const _0x20c77a=_0x3adb6b;if(_0x1e77c3[_0x20c77a(0x28e)]===0x1){let _0x1fd26f=_0x1e77c3[0x0],_0x18e9fc=this['_drawingManagerService'][_0x20c77a(0x3a2)](_0x1fd26f);if((_0x18e9fc==null?void 0x0:_0x18e9fc[_0x20c77a(0x2b2)])===_0x1f6ce6[_0x20c77a(0x38b)][_0x20c77a(0x3c0)]){let _0x21e386=this[_0x20c77a(0x288)][_0x20c77a(0x256)]();if((_0x21e386==null?void 0x0:_0x21e386[_0x20c77a(0x4d8)])===_0x1fd26f[_0x20c77a(0x257)]&&_0x21e386[_0x20c77a(0x367)])return;(0x0,_0x4f5ff8[_0x20c77a(0x3d1)])(this[_0x20c77a(0x3c4)][_0x20c77a(0x2d8)](_0x1fd26f['unitId'],_0x1fd26f[_0x20c77a(0x2e1)],_0x1fd26f[_0x20c77a(0x257)]))&&this[_0x20c77a(0x288)]['setEditing'](null);}else this[_0x20c77a(0x288)][_0x20c77a(0x256)]()&&(this['_shapeTextEditingService']['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x47ff6b=_0x20c77a;this['_shapeTextEditingService'][_0x47ff6b(0x302)](null);}));}else this['_shapeTextEditingService'][_0x20c77a(0x256)]()&&(this[_0x20c77a(0x288)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0xf710f8=_0x20c77a;this[_0xf710f8(0x288)][_0xf710f8(0x302)](null);}));})),this[_0x3adb6b(0x216)](this[_0x3adb6b(0x416)][_0x3adb6b(0x1e6)][_0x3adb6b(0x4b1)](_0x2f7136=>{const _0x1c9131=_0x3adb6b;let _0x5441f4=this['_shapeTextEditingService'][_0x1c9131(0x256)]();_0x5441f4&&_0x2f7136[_0x1c9131(0x2b6)](_0x271504=>_0x271504[_0x1c9131(0x257)]===_0x5441f4[_0x1c9131(0x4d8)])&&this[_0x1c9131(0x288)][_0x1c9131(0x302)](null);}));}[_0x47cc0f(0x37f)](){const _0x4cf1f4=_0x47cc0f;this[_0x4cf1f4(0x216)](this[_0x4cf1f4(0x288)][_0x4cf1f4(0x385)][_0x4cf1f4(0x4b1)](_0x4e59e2=>{const _0x276f5e=_0x4cf1f4;let {scene:_0x4a9860}=this[_0x276f5e(0x2c8)];if(this[_0x276f5e(0x3f4)]){let _0x1a74d0=_0x4a9860['getObjectIncludeInGroup'](this['_lastEditingShapeKey']);_0x1a74d0&&_0x1a74d0[_0x276f5e(0x302)](!0x1);}if(_0x4e59e2){let _0x4d251e=!!_0x4e59e2[_0x276f5e(0x367)],_0xef81b9=_0x4a9860['getObjectIncludeInGroup'](_0x4e59e2[_0x276f5e(0x349)]);_0xef81b9&&(_0xef81b9['setEditing'](_0x4d251e),this[_0x276f5e(0x3f4)]=_0x4e59e2[_0x276f5e(0x349)]),this['_contextService'][_0x276f5e(0x3f6)](_0x1f6ce6[_0x276f5e(0x3c2)],_0x4d251e);}else this['_lastEditingShapeKey']=null,this[_0x276f5e(0x4d2)][_0x276f5e(0x3f6)](_0x1f6ce6['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x3066a2=_0x51130a([_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x58197e)),_0x3607f9(0x2,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x3,_0x1f6ce6['IContextService']),_0x3607f9(0x4,(0x0,_0x1f6ce6['Inject'])(_0x5927be[_0x47cc0f(0x21d)]))],_0x3066a2);let _0x28e3b2=class extends _0x10236c['ShapeTextFloatMenuRenderControllerBase']{constructor(_0x3114fc,_0x350acc,_0x495257,_0xc3a3e5){super(_0x3114fc,_0x350acc,_0x495257,_0xc3a3e5,{'componentKey':_0x506261,'editorUnitId':_0x4bb51f});}};_0x28e3b2=_0x51130a([_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1ed768[_0x47cc0f(0x3f1)])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x44ec79[_0x47cc0f(0x455)])),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x44ec79[_0x47cc0f(0x2e8)]))],_0x28e3b2);let _0x22592a=class extends _0x1f6ce6['Disposable']{constructor(_0x5b3f17,_0x1735c7,_0x27c79b,_0x9ebba9,_0x258d26,_0x6a04ab){const _0x52562a=_0x47cc0f;super(),this['_commandService']=_0x5b3f17,this[_0x52562a(0x4bb)]=_0x1735c7,this[_0x52562a(0x416)]=_0x27c79b,this[_0x52562a(0x1ef)]=_0x9ebba9,this[_0x52562a(0x378)]=_0x258d26,this['_sheetDrawingShapeRenderController']=_0x6a04ab,_0x562cac(this,_0x52562a(0x47f),new Set()),this[_0x52562a(0x27a)]();}['_initialize'](){const _0x34f884=_0x47cc0f;this[_0x34f884(0x498)](),this[_0x34f884(0x32c)](),this[_0x34f884(0x400)]();}['_drawingAddListener'](){const _0x14fc3e=_0x47cc0f;this[_0x14fc3e(0x216)](this[_0x14fc3e(0x416)]['add$']['subscribe'](_0x834d84=>{this['_insertShapes'](_0x834d84);}));}[_0x47cc0f(0x32c)](){const _0x4a164c=_0x47cc0f;this['disposeWithMe'](this[_0x4a164c(0x3e1)]['onCommandExecuted'](_0xaded8f=>{const _0x2607dd=_0x4a164c;if(_0xaded8f['id']===_0x5927be[_0x2607dd(0x431)]['id']){let {unitId:_0x4f21f0,subUnitId:_0x369beb,shapeId:_0x441a86}=_0xaded8f[_0x2607dd(0x305)],_0xdfdfc8=this[_0x2607dd(0x1e1)](_0x4f21f0),_0x5dc542=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x4f21f0,'subUnitId':_0x369beb,'drawingId':_0x441a86}),_0x780f47=_0xdfdfc8==null?void 0x0:_0xdfdfc8[_0x2607dd(0x469)][_0x2607dd(0x4d7)](_0x5dc542);_0x780f47&&(this[_0x2607dd(0x4dd)][_0x2607dd(0x403)](_0x780f47),_0x780f47[_0x2607dd(0x49b)](!0x0));return;}if(_0xaded8f['id']===_0x5927be['InsertSheetsShapeMutation']['id']){var _0x8de3d;let {unitId:_0x1d23f2,subUnitId:_0x5d92c2,shapeId:_0x44001d}=_0xaded8f[_0x2607dd(0x305)],_0x4b4ea7=this[_0x2607dd(0x1e1)](_0x1d23f2);if(_0x4b4ea7==null)return;let {scene:_0x5afe9b}=_0x4b4ea7,_0x3c1fdc=(0x0,_0x2ee308[_0x2607dd(0x4d4)])({'unitId':_0x1d23f2,'subUnitId':_0x5d92c2,'drawingId':_0x44001d}),_0x4b8767=_0x5afe9b[_0x2607dd(0x4d7)](_0x3c1fdc);if(!((_0x8de3d=this[_0x2607dd(0x4bb)][_0x2607dd(0x350)](_0x1d23f2))!=null&&_0x8de3d['with'](_0x522354['SheetSkeletonManagerService'])[_0x2607dd(0x229)](_0x5d92c2)))return!0x1;if(_0x4b8767)return;this['_insertShapes']([{'unitId':_0x1d23f2,'subUnitId':_0x5d92c2,'drawingId':_0x44001d}]);}}));}[_0x47cc0f(0x400)](){const _0x1f7c51=_0x47cc0f;this['disposeWithMe'](this['_drawingManagerService']['update$'][_0x1f7c51(0x4b1)](_0x4cf474=>{const _0x191b53=_0x1f7c51;_0x4cf474[_0x191b53(0x3ec)](_0x3b31ea=>{const _0x4e1dae=_0x191b53;let {unitId:_0x597d66,subUnitId:_0x5c1b0e,drawingId:_0x592215}=_0x3b31ea,_0x1bd696=this[_0x4e1dae(0x416)][_0x4e1dae(0x3a2)](_0x3b31ea);if(_0x1bd696==null)return;let {transform:_0x33d0ed,drawingType:_0x5af97b,srcRect:_0x5990bc,prstGeom:_0x3824f8}=_0x1bd696;if(_0x5af97b!==_0x1f6ce6[_0x4e1dae(0x38b)][_0x4e1dae(0x3c0)])return;let _0x226316=this[_0x4e1dae(0x1e1)](_0x597d66);if(_0x226316==null)return;let {scene:_0x153fe5,transformer:_0x1d4364}=_0x226316;if(_0x33d0ed==null)return!0x0;let _0x267828=(0x0,_0x2ee308[_0x4e1dae(0x4d4)])({'unitId':_0x597d66,'subUnitId':_0x5c1b0e,'drawingId':_0x592215}),_0x21fe1a=_0x153fe5[_0x4e1dae(0x4d7)](_0x267828);if(_0x21fe1a==null)return!0x0;_0x21fe1a['setSrcRect'](_0x5990bc),_0x21fe1a['setPrstGeom'](_0x3824f8);});}));}[_0x47cc0f(0x306)](_0x43b0a7){const _0x42c522=_0x47cc0f;for(let _0x20b1eb of _0x43b0a7){var _0x4c1b24;let {unitId:_0x8347bd,subUnitId:_0x67fab9,drawingId:_0x5c6979}=_0x20b1eb,_0xe960f=this['_getSceneAndTransformerByDrawingSearch'](_0x8347bd),_0x200ceb=(_0x4c1b24=(0x0,_0x25185e[_0x42c522(0x269)])(this['_currentUniverService'],_0x8347bd))==null?void 0x0:_0x4c1b24[_0x42c522(0x2e1)];if(_0xe960f==null||_0x200ceb!==_0x67fab9)return;let _0x24c196=(0x0,_0x2ee308[_0x42c522(0x4d4)])({'unitId':_0x8347bd,'subUnitId':_0x67fab9,'drawingId':_0x5c6979});if(this[_0x42c522(0x47f)][_0x42c522(0x2ff)](_0x24c196)||_0xe960f[_0x42c522(0x469)][_0x42c522(0x4d7)](_0x24c196)!=null)return;let _0x53fa37=this[_0x42c522(0x416)][_0x42c522(0x3a2)](_0x20b1eb);if(_0x53fa37==null||_0x53fa37[_0x42c522(0x2b2)]!==_0x1f6ce6[_0x42c522(0x38b)][_0x42c522(0x3c0)])return;if((0x0,_0x4f5ff8[_0x42c522(0x3d1)])((_0x53fa37[_0x42c522(0x2aa)]||{})[_0x42c522(0x40e)])){let _0x4b265d=_0x53fa37[_0x42c522(0x23f)];_0x4b265d&&(_0x53fa37[_0x42c522(0x23f)]={..._0x4b265d,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x42c522(0x47f)]['add'](_0x24c196);try{this[_0x42c522(0x4dd)]['renderDrawingShape'](_0x53fa37,_0xe960f[_0x42c522(0x469)]);}finally{this['_insertingShapeKeys'][_0x42c522(0x36e)](_0x24c196);}queueMicrotask(()=>{const _0x241b42=_0x42c522;if(this[_0x241b42(0x236)])return;let _0x4cce46=(0x0,_0x2ee308[_0x241b42(0x4d4)])(_0x20b1eb);if(!_0xe960f[_0x241b42(0x469)][_0x241b42(0x4d7)](_0x4cce46))return;let _0x94f0e1=this['_drawingManagerService'][_0x241b42(0x3a2)](_0x20b1eb);_0x94f0e1&&this[_0x241b42(0x416)][_0x241b42(0x356)]([_0x94f0e1]);});}}[_0x47cc0f(0x1e1)](_0x57c6f3){const _0x238a01=_0x47cc0f;if(_0x57c6f3==null)return;let _0x30dd04=this[_0x238a01(0x4bb)]['getRenderById'](_0x57c6f3),_0x36ffd1=_0x30dd04==null?void 0x0:_0x30dd04[_0x238a01(0x469)];return _0x36ffd1==null?null:{'scene':_0x36ffd1,'transformer':_0x36ffd1['getTransformerByCreate']()};}};_0x22592a=_0x51130a([_0x3607f9(0x0,_0x1f6ce6[_0x47cc0f(0x2bd)]),_0x3607f9(0x1,_0x58b748['IRenderManagerService']),_0x3607f9(0x2,_0x2ee308['IDrawingManagerService']),_0x3607f9(0x3,_0x1f6ce6[_0x47cc0f(0x32e)]),_0x3607f9(0x4,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x25185e[_0x47cc0f(0x2a9)])),_0x3607f9(0x5,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x32bb5d))],_0x22592a);let _0x490a61={'normal':{'fill':_0x4f5ff8[_0x47cc0f(0x4db)][_0x47cc0f(0x27e)],'stroke':_0x4f5ff8[_0x47cc0f(0x4db)]['cxnPointStroke'],'strokeWidth':_0x4f5ff8[_0x47cc0f(0x4db)][_0x47cc0f(0x4e9)]},'highlighted':{'fill':'#4285f4','stroke':_0x47cc0f(0x31f),'strokeWidth':0x2}};var _0x29ee69=class extends _0x58b748['Shape']{constructor(_0x4c9606,_0x14fc77){const _0x2fb01d=_0x47cc0f;super(_0x4c9606,_0x14fc77),_0x562cac(this,_0x2fb01d(0x294),''),_0x562cac(this,'_cxnIndex',-0x1),_0x562cac(this,_0x2fb01d(0x242),''),_0x562cac(this,_0x2fb01d(0x2ab),''),_0x562cac(this,_0x2fb01d(0x4a8),!0x1),_0x14fc77&&this['setShapeProps'](_0x14fc77);}['getConnectionInfo'](){const _0x1e4bb3=_0x47cc0f;return{'unitId':this[_0x1e4bb3(0x242)],'subUnitId':this[_0x1e4bb3(0x2ab)],'shapeId':this[_0x1e4bb3(0x294)],'cxnIndex':this[_0x1e4bb3(0x497)]};}[_0x47cc0f(0x303)](_0x282706){const _0x24ecd3=_0x47cc0f;this[_0x24ecd3(0x4a8)]!==_0x282706&&(this[_0x24ecd3(0x4a8)]=_0x282706,this[_0x24ecd3(0x49b)](!0x0));}[_0x47cc0f(0x409)](){const _0x3fa7b0=_0x47cc0f;return this[_0x3fa7b0(0x4a8)];}[_0x47cc0f(0x4a1)](_0x47427f){const _0x38684e=_0x47cc0f;var _0x5f43c2,_0xef59b2;_0x47427f[_0x38684e(0x2fc)]!==void 0x0&&(this[_0x38684e(0x294)]=_0x47427f[_0x38684e(0x2fc)]),_0x47427f['cxnIndex']!==void 0x0&&(this['_cxnIndex']=_0x47427f[_0x38684e(0x375)]),_0x47427f[_0x38684e(0x394)]!==void 0x0&&(this[_0x38684e(0x242)]=_0x47427f[_0x38684e(0x394)]),_0x47427f[_0x38684e(0x2e1)]!==void 0x0&&(this[_0x38684e(0x2ab)]=_0x47427f[_0x38684e(0x2e1)]),_0x47427f[_0x38684e(0x409)]!==void 0x0&&(this[_0x38684e(0x4a8)]=_0x47427f[_0x38684e(0x409)]),this['transformByState']({'width':(_0x5f43c2=_0x47427f['width'])==null?_0x4f5ff8[_0x38684e(0x4db)][_0x38684e(0x366)]*0x2:_0x5f43c2,'height':(_0xef59b2=_0x47427f[_0x38684e(0x1e8)])==null?_0x4f5ff8['ShapeDefaultConfig']['cxnPointRadius']*0x2:_0xef59b2});}[_0x47cc0f(0x464)](_0xa732c4){const _0x586509=_0x47cc0f;let _0x202a37=this[_0x586509(0x4a8)]?_0x490a61[_0x586509(0x4d6)]:_0x490a61['normal'];_0x58b748[_0x586509(0x4cb)][_0x586509(0x237)](_0xa732c4,{'radius':_0x4f5ff8['ShapeDefaultConfig'][_0x586509(0x366)],'fill':_0x202a37[_0x586509(0x266)],'stroke':_0x202a37[_0x586509(0x3da)],'strokeWidth':_0x202a37[_0x586509(0x208)],'evented':!0x0});}};let _0x53675d=class extends _0x1f6ce6['Disposable']{constructor(_0x4dfc3f,_0x356fdd,_0x1443f8,_0x23f69c){const _0x2a7aac=_0x47cc0f;super(),this[_0x2a7aac(0x2c8)]=_0x4dfc3f,this[_0x2a7aac(0x4bb)]=_0x356fdd,this[_0x2a7aac(0x416)]=_0x1443f8,this['_sheetsShapeService']=_0x23f69c,_0x562cac(this,'_connectionSiteObjects',[]),_0x562cac(this,_0x2a7aac(0x329),null),_0x562cac(this,_0x2a7aac(0x476),-0x1),_0x562cac(this,'_currentScene',null),_0x562cac(this,'_unitId',''),_0x562cac(this,'_subUnitId',''),_0x562cac(this,_0x2a7aac(0x2f9),null);}[_0x47cc0f(0x271)](_0x19e5bb,_0xdb1e68,_0x45ac58,_0x573204){const _0x41bc64=_0x47cc0f;this[_0x41bc64(0x2b8)]=_0x19e5bb,this['_unitId']=_0xdb1e68,this[_0x41bc64(0x2ab)]=_0x45ac58,this[_0x41bc64(0x2f9)]=_0x573204;}[_0x47cc0f(0x339)](_0x3994db){const _0x1253b9=_0x47cc0f;if(!this[_0x1253b9(0x2b8)])return null;let _0x21b15c=this[_0x1253b9(0x4f8)](_0x3994db);return _0x21b15c?(this[_0x1253b9(0x329)]!==_0x21b15c['shapeId']&&(this[_0x1253b9(0x3ce)](),this[_0x1253b9(0x47d)](_0x21b15c[_0x1253b9(0x4d8)],_0x21b15c[_0x1253b9(0x28c)]),this[_0x1253b9(0x329)]=_0x21b15c[_0x1253b9(0x4d8)]),this[_0x1253b9(0x262)](_0x3994db)):(this[_0x1253b9(0x329)]!==null&&(this[_0x1253b9(0x3ce)](),this[_0x1253b9(0x329)]=null),null);}['endConnectionDetection'](){const _0x558a3c=_0x47cc0f;this[_0x558a3c(0x3ce)](),this[_0x558a3c(0x2b8)]=null,this['_activeTargetShapeId']=null,this[_0x558a3c(0x476)]=-0x1,this[_0x558a3c(0x2f9)]=null;}[_0x47cc0f(0x281)](){const _0x572d9f=_0x47cc0f;return this[_0x572d9f(0x329)]===null||this[_0x572d9f(0x476)]<0x0?null:{'shapeId':this[_0x572d9f(0x329)],'cxnIndex':this['_highlightedSiteIndex']};}[_0x47cc0f(0x4f8)](_0x24aa9e){const _0x42126a=_0x47cc0f;let _0xfd27fa=this[_0x42126a(0x416)]['getDrawingData'](this[_0x42126a(0x242)],this[_0x42126a(0x2ab)]);for(let _0x2c4fdb of Object['keys'](_0xfd27fa)){if(_0x2c4fdb===this[_0x42126a(0x2f9)]||_0xfd27fa[_0x2c4fdb][_0x42126a(0x2b2)]!==_0x1f6ce6['DrawingTypeEnum'][_0x42126a(0x3c0)])continue;let _0xdb703=this[_0x42126a(0x3c4)][_0x42126a(0x381)](this[_0x42126a(0x242)],this['_subUnitId'],_0x2c4fdb);if(!_0xdb703||(0x0,_0x4f5ff8['isConnectorShape'])(_0xdb703[_0x42126a(0x2d8)]())||_0xdb703[_0x42126a(0x3b8)]()[_0x42126a(0x28e)]===0x0||!this[_0x42126a(0x2b8)])continue;let _0xccb027=(0x0,_0x2ee308[_0x42126a(0x4d4)])({'unitId':this[_0x42126a(0x242)],'subUnitId':this[_0x42126a(0x2ab)],'drawingId':_0x2c4fdb}),_0x39e3db=this[_0x42126a(0x2b8)][_0x42126a(0x4d7)](_0xccb027);if(!_0x39e3db)continue;let {left:_0x147dba,top:_0x319501,width:_0x2691c2,height:_0xaad52}=_0x39e3db['getRealBound'](),_0x41e7cb=_0x147dba+_0x2691c2/0x2,_0x28ad02=_0x319501+_0xaad52/0x2,_0x50059d=_0x39e3db['transform'][_0x42126a(0x34d)](),_0x3c56f9=new _0x58b748[(_0x42126a(0x2ba))]([_0x50059d[0x0],_0x50059d[0x1],_0x50059d[0x2],_0x50059d[0x3],_0x41e7cb,_0x28ad02]),_0x15d6a8=_0x39e3db[_0x42126a(0x2bf)](),_0x236193=(_0x39e3db[_0x42126a(0x20d)]&&(_0x15d6a8==null?void 0x0:_0x15d6a8[_0x42126a(0x2a8)])===_0x58b748[_0x42126a(0x3a7)]['GROUP']?_0x15d6a8[_0x42126a(0x354)][_0x42126a(0x4ad)](_0x3c56f9):_0x3c56f9)[_0x42126a(0x1f0)]()['applyPoint'](_0x24aa9e),_0x4414e3=_0x2691c2/0x2,_0x52459a=_0xaad52/0x2;if(_0x236193['x']>=-_0x4414e3-0x5&&_0x236193['x']<=_0x4414e3+0x5&&_0x236193['y']>=-_0x52459a-0x5&&_0x236193['y']<=_0x52459a+0x5)return{'shapeId':_0x2c4fdb,'shapeModel':_0xdb703};}return null;}[_0x47cc0f(0x47d)](_0x2cfb87,_0x3d68fb){const _0x4ae778=_0x47cc0f;if(!this[_0x4ae778(0x2b8)])return;let _0x578443=(0x0,_0x2ee308[_0x4ae778(0x4d4)])({'unitId':this[_0x4ae778(0x242)],'subUnitId':this[_0x4ae778(0x2ab)],'drawingId':_0x2cfb87}),_0x3105ba=this['_currentScene'][_0x4ae778(0x4d7)](_0x578443);if(!_0x3105ba)return;let {left:_0x36439e,top:_0x4ce365,width:_0x16938e,height:_0x176e9c}=_0x3105ba[_0x4ae778(0x3f7)](),_0x57ff1d=_0x36439e+_0x16938e/0x2,_0x15f18b=_0x4ce365+_0x176e9c/0x2,_0x5e9a06=_0x3105ba[_0x4ae778(0x23f)][_0x4ae778(0x34d)](),_0x5d5180=new _0x58b748['Transform']([_0x5e9a06[0x0],_0x5e9a06[0x1],_0x5e9a06[0x2],_0x5e9a06[0x3],_0x57ff1d,_0x15f18b]),_0x23e213=_0x3105ba[_0x4ae778(0x2bf)](),_0x47a7d4=_0x3105ba[_0x4ae778(0x20d)]&&(_0x23e213==null?void 0x0:_0x23e213[_0x4ae778(0x2a8)])===_0x58b748[_0x4ae778(0x3a7)][_0x4ae778(0x43b)]?_0x23e213[_0x4ae778(0x354)][_0x4ae778(0x4ad)](_0x5d5180):_0x5d5180;_0x3d68fb[_0x4ae778(0x210)]({'width':_0x16938e,'height':_0x176e9c});let _0x6a9e9c=_0x3d68fb[_0x4ae778(0x3b8)]();for(let _0x7e2dfd of _0x6a9e9c){let _0x1a8e0b=_0x7e2dfd['x']-_0x16938e/0x2,_0x163840=_0x7e2dfd['y']-_0x176e9c/0x2,_0x1976b5=_0x47a7d4[_0x4ae778(0x4a4)]({'x':_0x1a8e0b,'y':_0x163840}),_0x55bf39=_0x1976b5['x'],_0x9d4706=_0x1976b5['y'],_0x5f076f=new _0x29ee69('connection-site-'+_0x2cfb87+'-'+_0x7e2dfd[_0x4ae778(0x44c)],{'left':_0x55bf39-_0x4f5ff8[_0x4ae778(0x4db)][_0x4ae778(0x366)],'top':_0x9d4706-_0x4f5ff8[_0x4ae778(0x4db)][_0x4ae778(0x366)],'targetShapeId':_0x2cfb87,'cxnIndex':_0x7e2dfd[_0x4ae778(0x44c)],'unitId':this[_0x4ae778(0x242)],'subUnitId':this[_0x4ae778(0x2ab)],'width':_0x4f5ff8[_0x4ae778(0x4db)][_0x4ae778(0x366)]*0x2,'height':_0x4f5ff8[_0x4ae778(0x4db)][_0x4ae778(0x366)]*0x2,'zIndex':_0x58b748['DRAWING_OBJECT_LAYER_INDEX']+0x2,'evented':!0x1});this[_0x4ae778(0x411)][_0x4ae778(0x3e5)](_0x5f076f),this[_0x4ae778(0x2b8)][_0x4ae778(0x408)](_0x5f076f,_0x58b748[_0x4ae778(0x43c)]+0x2);}}[_0x47cc0f(0x262)](_0x375688){const _0x5fa531=_0x47cc0f;let _0x255993=null,_0x3239a1=0x1/0x0,_0x367b0f=null;for(let _0x75b6a3 of this['_connectionSiteObjects']){let _0x6043d0=_0x75b6a3[_0x5fa531(0x3c3)]+_0x4f5ff8[_0x5fa531(0x4db)][_0x5fa531(0x366)],_0x30f589=_0x75b6a3[_0x5fa531(0x3ad)]+_0x4f5ff8[_0x5fa531(0x4db)][_0x5fa531(0x366)],_0x40aed0=_0x375688['x']-_0x6043d0,_0x410c4b=_0x375688['y']-_0x30f589,_0x115159=Math[_0x5fa531(0x352)](_0x40aed0*_0x40aed0+_0x410c4b*_0x410c4b);_0x115159<_0x3239a1&&(_0x3239a1=_0x115159,_0x255993=_0x75b6a3,_0x367b0f={'x':_0x6043d0,'y':_0x30f589});}let _0x1a86fc=_0x3239a1<=0xa&&_0x255993?_0x255993['getConnectionInfo']()[_0x5fa531(0x375)]:-0x1;if(_0x1a86fc!==this[_0x5fa531(0x476)]){for(let _0x1d813d of this[_0x5fa531(0x411)]){let _0x19b1a3=_0x1d813d['getConnectionInfo']();_0x1d813d[_0x5fa531(0x303)](_0x19b1a3[_0x5fa531(0x375)]===_0x1a86fc);}this[_0x5fa531(0x476)]=_0x1a86fc;}if(_0x3239a1<=0xa&&_0x255993&&_0x367b0f){let _0x3e15db=_0x255993[_0x5fa531(0x4d1)](),_0x4dbc63=this[_0x5fa531(0x30f)](_0x3e15db['shapeId'],_0x3e15db[_0x5fa531(0x375)]);return{'shapeId':_0x3e15db['shapeId'],'cxnIndex':_0x3e15db[_0x5fa531(0x375)],'unitId':_0x3e15db['unitId'],'subUnitId':_0x3e15db[_0x5fa531(0x2e1)],'worldPoint':_0x367b0f,'angle':_0x4dbc63};}return null;}[_0x47cc0f(0x30f)](_0x3fd638,_0x195ac4){const _0x2a5441=_0x47cc0f;let _0x3c6f5f=this[_0x2a5441(0x3c4)][_0x2a5441(0x381)](this['_unitId'],this['_subUnitId'],_0x3fd638);if(!_0x3c6f5f)return 0x0;let _0x136764=this[_0x2a5441(0x416)][_0x2a5441(0x3a2)]({'unitId':this[_0x2a5441(0x242)],'subUnitId':this['_subUnitId'],'drawingId':_0x3fd638});if(!(_0x136764!=null&&_0x136764['transform']))return 0x0;let {width:_0x5f4208=0x0,height:_0x4ccf6a=0x0,flipX:_0x4d9722=!0x1,flipY:_0x4da8a6=!0x1}=_0x136764['transform'];_0x3c6f5f[_0x2a5441(0x210)]({'width':_0x5f4208,'height':_0x4ccf6a});let _0x36349d=_0x3c6f5f[_0x2a5441(0x3b8)]()['find'](_0x22db0b=>_0x22db0b[_0x2a5441(0x44c)]===_0x195ac4);if(!_0x36349d)return 0x0;let _0x450f37=_0x36349d[_0x2a5441(0x4f6)]/0xea60;return _0x4d9722&&(_0x450f37=0xb4-_0x450f37),_0x4da8a6&&(_0x450f37=-_0x450f37),_0x450f37=(_0x450f37%0x168+0x168)%0x168,_0x450f37;}[_0x47cc0f(0x3ce)](){const _0x55db45=_0x47cc0f;for(let _0x1b96f3 of this[_0x55db45(0x411)])_0x1b96f3['dispose']();this['_connectionSiteObjects']=[],this[_0x55db45(0x476)]=-0x1;}[_0x47cc0f(0x435)](){const _0x429100=_0x47cc0f;this[_0x429100(0x3ce)](),super[_0x429100(0x435)]();}};_0x53675d=_0x51130a([_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x58b748[_0x47cc0f(0x34e)])),_0x3607f9(0x2,(0x0,_0x1f6ce6['Inject'])(_0x2ee308[_0x47cc0f(0x4c1)])),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be['SheetsShapeService']))],_0x53675d);let _0x14dca1=class extends _0x1f6ce6['Disposable']{constructor(_0x3c77d2,_0x403121,_0x1a2669,_0x42a6dc,_0x42fa06){const _0x1dfd84=_0x47cc0f;super(),this[_0x1dfd84(0x30c)]=_0x3c77d2,this[_0x1dfd84(0x2d9)]=_0x403121,this[_0x1dfd84(0x3bf)]=_0x1a2669,this[_0x1dfd84(0x4c7)]=_0x42a6dc,this['_groupCopyPasteController']=_0x42fa06,_0x562cac(this,_0x1dfd84(0x4de),void 0x0),this[_0x1dfd84(0x380)](),this['_registerGroupFeaturePasteHook']();}get[_0x47cc0f(0x241)](){const _0x1a4ab0=_0x47cc0f;return this[_0x1a4ab0(0x3bf)][_0x1a4ab0(0x436)]();}[_0x47cc0f(0x460)](){const _0x4c5494=_0x47cc0f;this[_0x4c5494(0x3eb)][_0x4c5494(0x4ce)](({fromUnitId:_0xeb0b0b,fromSubUnitId:_0x1cb168,toUnitId:_0x15d759,toSubUnitId:_0x57bfb2,idMap:_0x55b2d4})=>{const _0x26067a=_0x4c5494;let _0x3f51d7=[],_0x3fa15b=[];for(let [_0x5f48fe,_0x28e16e]of _0x55b2d4[_0x26067a(0x410)]()){let _0x5a1419=this[_0x26067a(0x4c7)][_0x26067a(0x381)](_0xeb0b0b,_0x1cb168,_0x5f48fe);if(!_0x5a1419)continue;let _0xa7872e=_0x5a1419[_0x26067a(0x2d8)](),_0x214ddf=JSON[_0x26067a(0x4c0)](JSON[_0x26067a(0x4f7)](_0x5a1419[_0x26067a(0x3b4)]()));if(_0x214ddf[_0x26067a(0x1d3)]){var _0x4afb34,_0x1a2a59;let _0x53655a=(_0x4afb34=_0x214ddf['relation']['from'])==null?void 0x0:_0x4afb34[_0x26067a(0x4d8)],_0x3d7301=(_0x1a2a59=_0x214ddf[_0x26067a(0x1d3)]['to'])==null?void 0x0:_0x1a2a59[_0x26067a(0x4d8)],_0x16554f=_0x53655a?_0x55b2d4[_0x26067a(0x2ff)](_0x53655a):!0x0,_0x7ceb41=_0x3d7301?_0x55b2d4[_0x26067a(0x2ff)](_0x3d7301):!0x0;_0x16554f&&_0x53655a&&_0x214ddf[_0x26067a(0x1d3)]['from']?_0x214ddf[_0x26067a(0x1d3)][_0x26067a(0x292)]={..._0x214ddf[_0x26067a(0x1d3)]['from'],'shapeId':_0x55b2d4[_0x26067a(0x1e3)](_0x53655a)}:_0x214ddf[_0x26067a(0x1d3)][_0x26067a(0x292)]=void 0x0,_0x7ceb41&&_0x3d7301&&_0x214ddf[_0x26067a(0x1d3)]['to']?_0x214ddf[_0x26067a(0x1d3)]['to']={..._0x214ddf['relation']['to'],'shapeId':_0x55b2d4[_0x26067a(0x1e3)](_0x3d7301)}:_0x214ddf[_0x26067a(0x1d3)]['to']=void 0x0;}_0x3f51d7[_0x26067a(0x3e5)]({'id':_0x5927be[_0x26067a(0x318)]['id'],'params':{'unitId':_0x15d759,'subUnitId':_0x57bfb2,'shapeId':_0x28e16e,'shapeType':_0xa7872e,'shapeData':_0x214ddf}}),_0x3fa15b[_0x26067a(0x3e5)]({'id':_0x5927be[_0x26067a(0x39e)]['id'],'params':{'unitId':_0x15d759,'subUnitId':_0x57bfb2,'shapeId':_0x28e16e}});}return{'redos':_0x3f51d7,'undos':_0x3fa15b};});}[_0x47cc0f(0x380)](){const _0x257f0a=_0x47cc0f;this['disposeWithMe'](this[_0x257f0a(0x2d9)]['addClipboardHook']({'id':_0x257f0a(0x3c1),'onBeforeCopy':(_0x462c1d,_0xe4c61c,_0x1dd317,_0x4e21fe)=>{const _0x477a60=_0x257f0a;this[_0x477a60(0x4de)]=null;let _0x3f0180=this[_0x477a60(0x241)];if(_0x3f0180[_0x477a60(0x28e)]){let _0x3587f5=_0x3f0180[_0x477a60(0x272)](_0x44e892=>_0x44e892[_0x477a60(0x2b2)]===_0x1f6ce6[_0x477a60(0x38b)][_0x477a60(0x3c0)]);if(_0x3587f5[_0x477a60(0x28e)]===0x0)return;this['_copyInfo']={'unitId':_0x462c1d,'subUnitId':_0xe4c61c,'copyType':_0x4e21fe,'drawings':_0x3587f5};}else this['_createCopyInfoByRange'](_0x462c1d,_0xe4c61c,_0x1dd317,_0x4e21fe);},'onPasteCells':(_0x1a2701,_0x25ed8e,_0x1f16ee,_0x4e381)=>{const _0x2d0d53=_0x257f0a;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x5670c1}=_0x4e381;return _0x5670c1===_0x522354[_0x2d0d53(0x2bb)][_0x2d0d53(0x283)]?this[_0x2d0d53(0x238)](_0x25ed8e,this[_0x2d0d53(0x4de)]['copyType']===_0x522354['COPY_TYPE'][_0x2d0d53(0x309)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x2d90c9=>this['_copyInfo']?this['_generatePasteMutations'](_0x2d90c9,this[_0x257f0a(0x4de)][_0x257f0a(0x483)]===_0x522354[_0x257f0a(0x44f)][_0x257f0a(0x309)]):{'redos':[],'undos':[]}}));}[_0x47cc0f(0x20b)](_0x1130e2,_0x4f1ce0,_0x58cb61,_0x3b7783){const _0x2c8da1=_0x47cc0f;let _0xc54ad7=this[_0x2c8da1(0x30c)]['getSkeleton'](_0x1130e2,_0x4f1ce0);if(!_0xc54ad7)return;let _0x18f349=(0x0,_0x231b82[_0x2c8da1(0x1fc)])(_0xc54ad7,_0x58cb61);if(!_0x18f349)return;let {startX:_0x4710ea,endX:_0x412930,startY:_0x1f5d1a,endY:_0x318790}=_0x18f349,_0x21e6d4=this[_0x2c8da1(0x3bf)][_0x2c8da1(0x29b)](_0x1130e2,_0x4f1ce0),_0x573eb1=this[_0x2c8da1(0x241)][_0x2c8da1(0x3a8)]();for(let [_0x41e9b9,_0x31f506]of Object[_0x2c8da1(0x410)](_0x21e6d4)){if(_0x31f506[_0x2c8da1(0x2b2)]!==_0x1f6ce6[_0x2c8da1(0x38b)][_0x2c8da1(0x3c0)])continue;let {transform:_0x42edb4}=_0x31f506;if(!_0x42edb4)continue;let {left:_0x3a5f47=0x0,top:_0x3ceef5=0x0,width:_0x4b5ebd=0x0,height:_0x3e9403=0x0}=_0x42edb4;_0x4710ea<=_0x3a5f47&&_0x412930>=_0x3a5f47+_0x4b5ebd&&_0x1f5d1a<=_0x3ceef5&&_0x318790>=_0x3ceef5+_0x3e9403&&_0x573eb1['push'](_0x31f506);}_0x573eb1[_0x2c8da1(0x28e)]>0x0&&(this[_0x2c8da1(0x4de)]={'unitId':_0x1130e2,'subUnitId':_0x4f1ce0,'copyType':_0x3b7783,'copyRange':_0x58cb61,'drawings':_0x573eb1});}[_0x47cc0f(0x238)](_0x524c02,_0x29b567){const _0x4ad6e7=_0x47cc0f;let {unitId:_0x1aa21c,subUnitId:_0x1e9b15,range:_0x245eb4}=_0x524c02,_0x368eb=this[_0x4ad6e7(0x30c)]['getSkeleton'](_0x1aa21c,_0x1e9b15);if(!_0x368eb)return{'redos':[],'undos':[]};let _0x308129=(0x0,_0x231b82[_0x4ad6e7(0x4a0)])(_0x245eb4),{unitId:_0x2c74a4,subUnitId:_0x3a6d12,copyRange:_0xf1186e,drawings:_0x1f0419}=this[_0x4ad6e7(0x4de)],_0x4caac1=this[_0x4ad6e7(0x30c)]['getSkeleton'](_0x2c74a4,_0x3a6d12);if(!_0x4caac1)return{'redos':[],'undos':[]};let _0x3856d3;if(!_0xf1186e){let _0x579746=0x1/0x0,_0xdc7eae=0x1/0x0;for(let _0x2a59ef of _0x1f0419){var _0x31a505;let {left:_0xe5be2=0x0,top:_0x3ff8c3=0x0}=(_0x31a505=_0x2a59ef[_0x4ad6e7(0x23f)])==null?{}:_0x31a505;_0xe5be2<_0x579746&&(_0x579746=_0xe5be2),_0x3ff8c3<_0xdc7eae&&(_0xdc7eae=_0x3ff8c3);}_0x579746!==0x1/0x0&&_0xdc7eae!==0x1/0x0&&(_0x3856d3={'left':_0x579746,'top':_0xdc7eae});}let _0x21a84f=new Map();if(!_0x29b567){for(let _0x187265 of _0x1f0419)_0x21a84f[_0x4ad6e7(0x293)](_0x187265[_0x4ad6e7(0x257)],(0x0,_0x1f6ce6[_0x4ad6e7(0x472)])());}let _0x3a626b=[],_0x29e259=[];for(let _0x4a3428 of _0x1f0419){let {drawingId:_0x5de8ac,transform:_0x51052b,sheetTransform:_0x14a6df}=_0x4a3428;if(!_0x51052b||!_0x14a6df)continue;let _0x272cab=this['_updateTransform']({'transform':_0x51052b,'sheetTransform':_0x14a6df},{'skeleton':_0x4caac1,'range':_0xf1186e},{'skeleton':_0x368eb,'range':_0x308129},_0x3856d3);if(_0x29b567){let {redos:_0x42226d,undos:_0x56a0fa}=this['_generateCutPasteMutations']({'fromUnitId':_0x2c74a4,'fromSubUnitId':_0x3a6d12,'toUnitId':_0x1aa21c,'toSubUnitId':_0x1e9b15,'drawing':_0x4a3428,'newTransforms':_0x272cab});_0x3a626b[_0x4ad6e7(0x3e5)](..._0x42226d),_0x29e259['push'](..._0x56a0fa);continue;}let {redos:_0x12b78f,undos:_0x5cd0ac}=this['_generateCopyPasteMutations']({'toUnitId':_0x1aa21c,'toSubUnitId':_0x1e9b15,'drawing':_0x4a3428,'newTransforms':_0x272cab,'newDrawingId':_0x21a84f[_0x4ad6e7(0x1e3)](_0x5de8ac),'idMap':_0x21a84f});_0x3a626b[_0x4ad6e7(0x3e5)](..._0x12b78f),_0x29e259[_0x4ad6e7(0x3e5)](..._0x5cd0ac);}return{'redos':_0x3a626b,'undos':_0x29e259};}[_0x47cc0f(0x3b3)](_0x3d4a63){const _0x151bd4=_0x47cc0f;let {fromUnitId:_0x347569,fromSubUnitId:_0x5e2055,toUnitId:_0x21a9cd,toSubUnitId:_0x92b246,drawing:_0x47425b,newTransforms:_0x5f45f8}=_0x3d4a63,_0x39611a={..._0x47425b,'unitId':_0x21a9cd,'subUnitId':_0x92b246,'transform':_0x5f45f8[_0x151bd4(0x23f)],'sheetTransform':_0x5f45f8['sheetTransform']};if(_0x21a9cd===_0x347569&&_0x92b246===_0x5e2055){let {redo:_0x4014d4,undo:_0x478206,objects:_0x2af580}=this[_0x151bd4(0x3bf)][_0x151bd4(0x41c)]([_0x39611a]);return{'redos':[{'id':_0x43e147[_0x151bd4(0x2dd)]['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'type':_0x43e147['DrawingApplyType']['UPDATE'],'op':_0x4014d4,'objects':_0x2af580}}],'undos':[{'id':_0x43e147['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'type':_0x43e147[_0x151bd4(0x34b)][_0x151bd4(0x39f)],'op':_0x478206,'objects':_0x2af580}}]};}else{let _0x5bfbe5=this['_sheetDrawingService'][_0x151bd4(0x3e4)]([_0x47425b]),_0x137534=this[_0x151bd4(0x3bf)][_0x151bd4(0x26d)]([_0x39611a]),_0x27ef69=this[_0x151bd4(0x4c7)][_0x151bd4(0x381)](_0x47425b[_0x151bd4(0x394)],_0x47425b[_0x151bd4(0x2e1)],_0x47425b['drawingId']);if(!_0x27ef69)return{'redos':[],'undos':[]};let _0x2942c6=_0x27ef69[_0x151bd4(0x2d8)](),_0x1fd41b=JSON[_0x151bd4(0x4c0)](JSON['stringify'](_0x27ef69[_0x151bd4(0x3b4)]()));return{'redos':[{'id':_0x43e147[_0x151bd4(0x2dd)]['id'],'params':{'unitId':_0x347569,'subUnitId':_0x5e2055,'type':_0x43e147['DrawingApplyType'][_0x151bd4(0x32b)],'op':_0x5bfbe5[_0x151bd4(0x3b5)],'objects':_0x5bfbe5[_0x151bd4(0x239)]}},{'id':_0x5927be[_0x151bd4(0x39e)]['id'],'params':{'unitId':_0x347569,'subUnitId':_0x5e2055,'shapeId':_0x47425b[_0x151bd4(0x257)]}},{'id':_0x43e147[_0x151bd4(0x2dd)]['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'type':_0x43e147[_0x151bd4(0x34b)]['INSERT'],'op':_0x137534[_0x151bd4(0x3b5)],'objects':_0x137534[_0x151bd4(0x239)]}},{'id':_0x5927be[_0x151bd4(0x318)]['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'shapeId':_0x47425b[_0x151bd4(0x257)],'shapeType':_0x2942c6,'shapeData':_0x1fd41b}}],'undos':[{'id':_0x43e147[_0x151bd4(0x2dd)]['id'],'params':{'unitId':_0x347569,'subUnitId':_0x5e2055,'type':_0x43e147[_0x151bd4(0x34b)]['INSERT'],'op':_0x5bfbe5[_0x151bd4(0x284)],'objects':_0x5bfbe5['objects']}},{'id':_0x5927be[_0x151bd4(0x318)]['id'],'params':{'unitId':_0x347569,'subUnitId':_0x5e2055,'shapeId':_0x47425b[_0x151bd4(0x257)],'shapeType':_0x2942c6,'shapeData':_0x1fd41b}},{'id':_0x43e147[_0x151bd4(0x2dd)]['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'type':_0x43e147[_0x151bd4(0x34b)][_0x151bd4(0x32b)],'op':_0x137534[_0x151bd4(0x284)],'objects':_0x137534[_0x151bd4(0x239)]}},{'id':_0x5927be[_0x151bd4(0x39e)]['id'],'params':{'unitId':_0x21a9cd,'subUnitId':_0x92b246,'shapeId':_0x47425b[_0x151bd4(0x257)]}}]};}}[_0x47cc0f(0x39a)](_0x320749){const _0x10b764=_0x47cc0f;let {toUnitId:_0x58e437,toSubUnitId:_0x1575e9,drawing:_0x836bf9,newTransforms:_0x2d18b8,newDrawingId:_0x2fb936,idMap:_0x4e3bae}=_0x320749,_0x58219e={..._0x836bf9,'unitId':_0x58e437,'subUnitId':_0x1575e9,'drawingId':_0x2fb936,'transform':_0x2d18b8[_0x10b764(0x23f)],'sheetTransform':_0x2d18b8[_0x10b764(0x384)]},{redo:_0xf6cfc3,undo:_0x433a8a,objects:_0x249ade}=this[_0x10b764(0x3bf)][_0x10b764(0x26d)]([_0x58219e]),_0xed6809=this[_0x10b764(0x4c7)][_0x10b764(0x381)](_0x836bf9[_0x10b764(0x394)],_0x836bf9[_0x10b764(0x2e1)],_0x836bf9[_0x10b764(0x257)]);if(!_0xed6809)return{'redos':[],'undos':[]};let _0x55ce47=_0xed6809[_0x10b764(0x2d8)](),_0x260240=JSON['parse'](JSON['stringify'](_0xed6809[_0x10b764(0x3b4)]()));if(_0x260240[_0x10b764(0x1d3)]){var _0x3fd3ff,_0x16f6d9;let _0x2b7f48=(_0x3fd3ff=_0x260240[_0x10b764(0x1d3)]['from'])==null?void 0x0:_0x3fd3ff[_0x10b764(0x4d8)],_0x18636c=(_0x16f6d9=_0x260240[_0x10b764(0x1d3)]['to'])==null?void 0x0:_0x16f6d9[_0x10b764(0x4d8)],_0x1fdd3d=_0x2b7f48?_0x4e3bae[_0x10b764(0x2ff)](_0x2b7f48):!0x0,_0x53099e=_0x18636c?_0x4e3bae[_0x10b764(0x2ff)](_0x18636c):!0x0;_0x1fdd3d&&_0x2b7f48&&_0x260240[_0x10b764(0x1d3)]['from']?_0x260240[_0x10b764(0x1d3)][_0x10b764(0x292)]={..._0x260240[_0x10b764(0x1d3)][_0x10b764(0x292)],'shapeId':_0x4e3bae[_0x10b764(0x1e3)](_0x2b7f48)}:_0x260240[_0x10b764(0x1d3)][_0x10b764(0x292)]=void 0x0,_0x53099e&&_0x18636c&&_0x260240[_0x10b764(0x1d3)]['to']?_0x260240['relation']['to']={..._0x260240[_0x10b764(0x1d3)]['to'],'shapeId':_0x4e3bae[_0x10b764(0x1e3)](_0x18636c)}:_0x260240['relation']['to']=void 0x0;}return{'redos':[{'id':_0x43e147['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x58e437,'subUnitId':_0x1575e9,'type':_0x43e147['DrawingApplyType'][_0x10b764(0x3ab)],'op':_0xf6cfc3,'objects':_0x249ade}},{'id':_0x5927be[_0x10b764(0x318)]['id'],'params':{'unitId':_0x58e437,'subUnitId':_0x1575e9,'shapeId':_0x2fb936,'shapeType':_0x55ce47,'shapeData':_0x260240}}],'undos':[{'id':_0x43e147[_0x10b764(0x2dd)]['id'],'params':{'unitId':_0x58e437,'subUnitId':_0x1575e9,'type':_0x43e147[_0x10b764(0x34b)][_0x10b764(0x32b)],'op':_0x433a8a,'objects':_0x249ade}},{'id':_0x5927be[_0x10b764(0x39e)]['id'],'params':{'unitId':_0x58e437,'subUnitId':_0x1575e9,'shapeId':_0x2fb936}}]};}[_0x47cc0f(0x3dc)](_0x325a66,_0x48f638,_0xf7d399,_0x525993){const _0x58a6c5=_0x47cc0f;var _0x13c82e;let {range:_0xd2b0fe,skeleton:_0x44b851}=_0x48f638,{range:_0x3d6ce6,skeleton:_0x34fc8c}=_0xf7d399,{transform:_0x7e96ee,sheetTransform:_0x5abe72}=_0x325a66,_0x76adae={..._0x7e96ee};if(_0xd2b0fe){let _0x2eb493=(0x0,_0x231b82[_0x58a6c5(0x1fc)])(_0x44b851,_0xd2b0fe),_0x1bed3c=(0x0,_0x231b82[_0x58a6c5(0x1fc)])(_0x34fc8c,_0x3d6ce6);if(_0x2eb493&&_0x1bed3c){var _0x17003b,_0xe38dde;let _0x49e1f2=_0x1bed3c[_0x58a6c5(0x2c1)]-_0x2eb493['startX'],_0x441c17=_0x1bed3c[_0x58a6c5(0x3c9)]-_0x2eb493['startY'];_0x76adae[_0x58a6c5(0x3c3)]=((_0x17003b=_0x76adae[_0x58a6c5(0x3c3)])==null?0x0:_0x17003b)+_0x49e1f2,_0x76adae['top']=((_0xe38dde=_0x76adae[_0x58a6c5(0x3ad)])==null?0x0:_0xe38dde)+_0x441c17;}}else{let _0x11815c=(0x0,_0x231b82['attachRangeWithCoord'])(_0x34fc8c,_0x3d6ce6);if(_0x525993&&_0x11815c){var _0x16b776,_0x2fa6e0;let _0x5678f7=((_0x16b776=_0x76adae['left'])==null?0x0:_0x16b776)-_0x525993[_0x58a6c5(0x3c3)],_0x19cd70=((_0x2fa6e0=_0x76adae['top'])==null?0x0:_0x2fa6e0)-_0x525993[_0x58a6c5(0x3ad)];_0x76adae['left']=_0x11815c[_0x58a6c5(0x2c1)]+_0x5678f7,_0x76adae['top']=_0x11815c[_0x58a6c5(0x3c9)]+_0x19cd70;}else _0x76adae[_0x58a6c5(0x3c3)]=_0x11815c==null?void 0x0:_0x11815c[_0x58a6c5(0x2c1)],_0x76adae[_0x58a6c5(0x3ad)]=_0x11815c==null?void 0x0:_0x11815c['startY'];}return{'transform':_0x76adae,'sheetTransform':(_0x13c82e=(0x0,_0x43e147['transformToDrawingPosition'])(_0x76adae,_0x34fc8c))==null?_0x5abe72:_0x13c82e};}};_0x14dca1=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x231b82[_0x47cc0f(0x21e)])),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x522354['ISheetClipboardService'])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x43e147[_0x47cc0f(0x365)])),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be[_0x47cc0f(0x21d)])),_0x3607f9(0x4,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1700e5['SheetsDrawingGroupCopyPasteController']))],_0x14dca1);var _0x4ce54b=class extends _0x58b748[_0x47cc0f(0x207)]{constructor(_0x2535ea,_0x1f1f5b){const _0x478d76=_0x47cc0f;super(_0x2535ea,_0x1f1f5b),_0x562cac(this,_0x478d76(0x475),null),_0x562cac(this,'_index',null),_0x562cac(this,_0x478d76(0x242),null),_0x562cac(this,_0x478d76(0x2ab),null),_0x562cac(this,_0x478d76(0x3b6),!0x1),_0x1f1f5b&&this[_0x478d76(0x4a1)](_0x1f1f5b);}[_0x47cc0f(0x260)](){const _0x59bca8=_0x47cc0f;return{'unitId':this[_0x59bca8(0x242)],'subUnitId':this[_0x59bca8(0x2ab)],'drawingId':this[_0x59bca8(0x475)]};}[_0x47cc0f(0x4a1)](_0x444496){const _0x5f5769=_0x47cc0f;_0x444496[_0x5f5769(0x4d8)]!==void 0x0&&(this[_0x5f5769(0x475)]=_0x444496[_0x5f5769(0x4d8)]),_0x444496['unitId']!==void 0x0&&(this[_0x5f5769(0x242)]=_0x444496[_0x5f5769(0x394)]),_0x444496[_0x5f5769(0x2e1)]!==void 0x0&&(this[_0x5f5769(0x2ab)]=_0x444496[_0x5f5769(0x2e1)]),_0x444496[_0x5f5769(0x2f3)]!==void 0x0&&(this[_0x5f5769(0x3b6)]=_0x444496[_0x5f5769(0x2f3)]),this[_0x5f5769(0x4a6)]({'width':_0x444496[_0x5f5769(0x300)],'height':_0x444496[_0x5f5769(0x1e8)]});}['_draw'](_0x13bf08){const _0x4fda68=_0x47cc0f;_0x58b748[_0x4fda68(0x4cb)][_0x4fda68(0x237)](_0x13bf08,{'radius':_0x4f5ff8[_0x4fda68(0x4db)][_0x4fda68(0x366)],'fill':_0x4f5ff8[_0x4fda68(0x4db)]['cxnPointFill'],'stroke':_0x4f5ff8['ShapeDefaultConfig'][_0x4fda68(0x240)],'strokeWidth':_0x4f5ff8[_0x4fda68(0x4db)]['cxnPointStrokeWidth'],'evented':!0x0});}};let _0x410c0c=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x3cf461,_0x44ea04,_0x183645,_0x2b09b6,_0x5023ca,_0x3609fd,_0x4dbf2e,_0xeb43a7){const _0x1ff261=_0x47cc0f;super(),this[_0x1ff261(0x2c8)]=_0x3cf461,this['_commandService']=_0x44ea04,this['_renderManagerService']=_0x183645,this[_0x1ff261(0x416)]=_0x2b09b6,this['_univerInstanceService']=_0x5023ca,this[_0x1ff261(0x3c4)]=_0x3609fd,this[_0x1ff261(0x447)]=_0x4dbf2e,this[_0x1ff261(0x336)]=_0xeb43a7,_0x562cac(this,_0x1ff261(0x333),void 0x0),_0x562cac(this,_0x1ff261(0x242),void 0x0),_0x562cac(this,_0x1ff261(0x2ab),void 0x0),_0x562cac(this,_0x1ff261(0x299),[]),_0x562cac(this,_0x1ff261(0x1dd),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x562cac(this,_0x1ff261(0x2f6),void 0x0),_0x562cac(this,_0x1ff261(0x4f3),!0x1),_0x562cac(this,_0x1ff261(0x304),!0x1),_0x562cac(this,_0x1ff261(0x4da),!0x1),_0x562cac(this,_0x1ff261(0x2d3),void 0x0),_0x562cac(this,'_cxtHandlerPointerUp',void 0x0),_0x562cac(this,_0x1ff261(0x46a),null),this[_0x1ff261(0x27a)]();}[_0x47cc0f(0x27a)](){const _0x36e4f4=_0x47cc0f;this['_registerDrawingFocusChangeHandler'](),this[_0x36e4f4(0x2af)]();}[_0x47cc0f(0x2e4)](){const _0x26fc4e=_0x47cc0f;if(!this[_0x26fc4e(0x242)]||!this[_0x26fc4e(0x2ab)]||!this[_0x26fc4e(0x333)])return;let _0x27f211={'unitId':this[_0x26fc4e(0x242)],'subUnitId':this[_0x26fc4e(0x2ab)],'drawingId':this[_0x26fc4e(0x333)]},{transform:_0x4e43ee}=this[_0x26fc4e(0x416)][_0x26fc4e(0x3a2)](_0x27f211);if(_0x4e43ee)return{'left':_0x4e43ee[_0x26fc4e(0x3c3)]||0x0,'top':_0x4e43ee[_0x26fc4e(0x3ad)]||0x0,'width':_0x4e43ee['width']||0x0,'height':_0x4e43ee[_0x26fc4e(0x1e8)]||0x0,'flipX':_0x4e43ee[_0x26fc4e(0x42d)]||!0x1,'flipY':_0x4e43ee['flipY']||!0x1,'angle':_0x4e43ee['angle']};}[_0x47cc0f(0x396)](){const _0x51d58f=_0x47cc0f;if(this[_0x51d58f(0x242)]===void 0x0||this[_0x51d58f(0x2ab)]===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x3a5491=this[_0x51d58f(0x4bb)][_0x51d58f(0x350)](this['_unitId']);if(!_0x3a5491||!_0x3a5491[_0x51d58f(0x1e4)](_0x522354[_0x51d58f(0x4ba)])[_0x51d58f(0x27d)]())return;let {scene:_0xbac234}=_0x3a5491,_0x173a8a=this[_0x51d58f(0x2e4)]();if(!_0x173a8a)return;let _0x10f47f=this['_sheetsShapeService'][_0x51d58f(0x381)](this[_0x51d58f(0x242)],this[_0x51d58f(0x2ab)],this[_0x51d58f(0x333)]);if(!_0x10f47f||!(0x0,_0x4f5ff8[_0x51d58f(0x3d1)])(_0x10f47f[_0x51d58f(0x2d8)]()))return;let _0x23f7db=_0x10f47f[_0x51d58f(0x1f5)]();if(_0x23f7db[_0x51d58f(0x28e)]<0x2)return;let _0x466a1a=new _0x4f5ff8[(_0x51d58f(0x275))](_0x173a8a),_0x18d888=_0x23f7db[0x0],_0x5817f2=_0x23f7db[_0x23f7db['length']-0x1],_0x1ae5a2=_0x466a1a[_0x51d58f(0x42f)](_0x18d888),_0x2deb8a=_0x466a1a[_0x51d58f(0x42f)](_0x5817f2);this['_addShapeConnectorHandlerObject'](_0xbac234,{..._0x1ae5a2},!0x0),this[_0x51d58f(0x326)](_0xbac234,{..._0x2deb8a},!0x1);}[_0x47cc0f(0x326)](_0x43a909,_0x4ffb45,_0x50de84){const _0x9e2152=_0x47cc0f;if(this['_activeShapeId']===void 0x0||this[_0x9e2152(0x242)]===void 0x0||this[_0x9e2152(0x2ab)]===void 0x0)return;let _0x2f1e32=_0x9e2152(0x3a5)+this[_0x9e2152(0x242)]+'-'+this[_0x9e2152(0x2ab)]+'-'+this[_0x9e2152(0x333)]+'-'+(_0x50de84?_0x9e2152(0x359):_0x9e2152(0x1f7)),_0x452c97=_0x43a909[_0x9e2152(0x4d7)](_0x2f1e32);if(_0x452c97){_0x452c97[_0x9e2152(0x4a6)]({'left':_0x4ffb45['x']-_0x4f5ff8[_0x9e2152(0x4db)][_0x9e2152(0x366)],'top':_0x4ffb45['y']-_0x4f5ff8[_0x9e2152(0x4db)]['cxnPointRadius']});return;}let _0x2e8bde=new _0x4ce54b(_0x2f1e32,{'left':_0x4ffb45['x']-_0x4f5ff8['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x4ffb45['y']-_0x4f5ff8[_0x9e2152(0x4db)]['cxnPointRadius'],'shapeId':this[_0x9e2152(0x333)],'unitId':this[_0x9e2152(0x242)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x50de84,'width':_0x4f5ff8[_0x9e2152(0x4db)][_0x9e2152(0x366)]*0x2,'height':_0x4f5ff8[_0x9e2152(0x4db)][_0x9e2152(0x366)]*0x2,'zIndex':_0x58b748['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x9e2152(0x299)][_0x9e2152(0x3e5)](_0x2e8bde),this[_0x9e2152(0x211)](_0x2e8bde,_0x43a909,_0x50de84),_0x43a909[_0x9e2152(0x408)](_0x2e8bde,_0x58b748[_0x9e2152(0x43c)]+0x1);}[_0x47cc0f(0x320)](_0x51248f,_0x171cfc){const _0x133c0f=_0x47cc0f;var _0x158338;let _0x4caf4c={'x':0x0,'y':0x0};if(!_0x51248f||!_0x171cfc)return _0x4caf4c;let _0x905866=this[_0x133c0f(0x4bb)][_0x133c0f(0x350)](_0x51248f);if(!_0x905866||!_0x905866[_0x133c0f(0x1e4)](_0x522354[_0x133c0f(0x4ba)])[_0x133c0f(0x229)](_0x171cfc))return _0x4caf4c;let _0x3e4a65=_0x905866[_0x133c0f(0x1e4)](_0x522354[_0x133c0f(0x41a)]),_0x5af737=_0x3e4a65==null?void 0x0:_0x3e4a65[_0x133c0f(0x224)]();if(!_0x5af737)return _0x4caf4c;let _0x1282ef=(_0x158338=this['_univerInstanceService'][_0x133c0f(0x49f)](_0x51248f))==null?void 0x0:_0x158338[_0x133c0f(0x277)](_0x171cfc);if(!_0x1282ef)return _0x4caf4c;let _0x371978=(0x0,_0x522354[_0x133c0f(0x3fa)])(_0x5af737[_0x133c0f(0x389)],_0x5af737[_0x133c0f(0x3ee)],_0x905866[_0x133c0f(0x469)],_0x1282ef);return _0x371978?{'x':_0x371978[_0x133c0f(0x1d5)],'y':_0x371978[_0x133c0f(0x3c5)]}:_0x4caf4c;}[_0x47cc0f(0x402)](_0x17d664,_0x1b697a){const _0x13da44=_0x47cc0f;var _0x5c6722,_0x274c01;let _0x2d010b=(_0x5c6722=this['_univerInstanceService'][_0x13da44(0x49f)](_0x17d664))==null?void 0x0:_0x5c6722['getSheetBySheetId'](_0x1b697a);return(_0x274c01=_0x2d010b==null?void 0x0:_0x2d010b[_0x13da44(0x38d)]())==null?0x1:_0x274c01;}[_0x47cc0f(0x35c)](_0x5aabd5,_0x33867d,_0x33bdfe,_0x2967ea,_0x12f9fd){const _0x49715a=_0x47cc0f;this[_0x49715a(0x2d3)][_0x49715a(0x212)](),this['_cxtHandlerPointerUp'][_0x49715a(0x212)](),this[_0x49715a(0x447)]['refreshAdjustControls']();let _0x5a8bac=this[_0x49715a(0x46a)];this[_0x49715a(0x336)][_0x49715a(0x200)]();let _0x22cb9e=this[_0x49715a(0x320)](this[_0x49715a(0x242)],this[_0x49715a(0x2ab)]),_0x189ee7=this[_0x49715a(0x402)](this[_0x49715a(0x242)],this[_0x49715a(0x2ab)]),_0x179f3a={'x':_0x33bdfe[_0x49715a(0x432)]/_0x189ee7+_0x22cb9e['x'],'y':_0x33bdfe[_0x49715a(0x4c8)]/_0x189ee7+_0x22cb9e['y']},_0x51f1bf=_0x5a8bac?_0x5a8bac[_0x49715a(0x38a)]:_0x179f3a,_0x26e811=_0x2967ea?this[_0x49715a(0x2f6)]['getEndConnectInfo']():this['_activeShapeModel'][_0x49715a(0x451)](),_0x5bc3d9=this['_activeShapeModel'][_0x49715a(0x2d8)]();_0x26e811?this['_handleConnectedEndpointPointerUp'](_0x26e811,_0x51f1bf,_0x2967ea,_0x5a8bac,_0x12f9fd):this[_0x49715a(0x404)](_0x33867d,_0x51f1bf,_0x2967ea,_0x5a8bac,_0x12f9fd,_0x5bc3d9),this[_0x49715a(0x4f3)]=!0x1,this[_0x49715a(0x4da)]=!0x1,this[_0x49715a(0x46a)]=null,_0x5aabd5['enableObjectsEvent']();}[_0x47cc0f(0x404)](_0x2be782,_0x6c52e9,_0x5b6169,_0xc3dc1b,_0x166db4,_0x1b164b){const _0x5c2997=_0x47cc0f;let _0x3ade9c=_0x1b164b===_0x4f5ff8[_0x5c2997(0x4d9)][_0x5c2997(0x407)]||_0x1b164b===_0x4f5ff8[_0x5c2997(0x4d9)][_0x5c2997(0x48c)],_0x4d12e8=_0x5b6169?_0x6c52e9:_0x2be782,_0x6ccd9d=_0x5b6169?_0x2be782:_0x6c52e9,_0x43a0e6=this['_activeShapeModel']['getConnectorLinePoints'](),_0x3d6a82=(0x0,_0x4f5ff8[_0x5c2997(0x343)])(this[_0x5c2997(0x2f6)][_0x5c2997(0x2d8)]()),_0x56fde3=_0x4f5ff8[_0x5c2997(0x275)][_0x5c2997(0x2db)](_0x43a0e6,_0x3d6a82),_0x59287a=_0x3ade9c?_0x4f5ff8[_0x5c2997(0x275)]['computeStraightConnectorLayout'](_0x4d12e8,_0x6ccd9d):_0x4f5ff8[_0x5c2997(0x275)][_0x5c2997(0x3d2)](_0x2be782,_0x6c52e9,_0x5b6169,_0x56fde3);_0xc3dc1b?this['_executeConnectionCommand'](_0x59287a,_0xc3dc1b,_0x5b6169,_0x166db4):this[_0x5c2997(0x355)](_0x59287a,_0x166db4);}[_0x47cc0f(0x374)](_0xb23041,_0x7d21f7,_0x21ce47,_0x283c66,_0x381bf6){const _0x346d9d=_0x47cc0f;let _0x25923f=this['_getConnectPointInfo'](_0xb23041);if(!_0x25923f)return;let _0xd2097e=_0x283c66?_0x283c66[_0x346d9d(0x25f)]:this[_0x346d9d(0x4df)](_0x25923f['point'],_0x7d21f7),_0x125d26;if(_0x283c66){let _0x26b1ad=this[_0x346d9d(0x416)]['getDrawingByParam']({'unitId':_0x283c66['unitId'],'subUnitId':_0x283c66[_0x346d9d(0x2e1)],'drawingId':_0x283c66[_0x346d9d(0x4d8)]});if(_0x26b1ad!=null&&_0x26b1ad['transform']){let {left:_0x3676c9=0x0,top:_0x389df2=0x0,width:_0xf3af30=0x0,height:_0x286c50=0x0,angle:_0x5e327f}=_0x26b1ad[_0x346d9d(0x23f)];_0x125d26=(0x0,_0x4f5ff8[_0x346d9d(0x485)])({'left':_0x3676c9,'top':_0x389df2,'width':_0xf3af30,'height':_0x286c50},_0x5e327f||0x0);}else _0x125d26={'left':_0x7d21f7['x'],'top':_0x7d21f7['y'],'width':0x0,'height':0x0};}else _0x125d26={'left':_0x7d21f7['x'],'top':_0x7d21f7['y'],'width':0x0,'height':0x0};let _0x364074={'point':_0x7d21f7,'angle':_0xd2097e,'bounds':_0x125d26},_0x501cb2=_0x21ce47?_0x364074:_0x25923f,_0x3cde30=_0x21ce47?_0x25923f:_0x364074,_0x2b959f=this['_activeShapeModel'][_0x346d9d(0x2d8)](),_0x1c041f=(0x0,_0x4f5ff8[_0x346d9d(0x421)])(_0x501cb2,_0x3cde30,_0x2b959f);this[_0x346d9d(0x2f6)][_0x346d9d(0x45f)]();let _0x477b8c=(0x0,_0x4f5ff8[_0x346d9d(0x22c)])(_0x1c041f,_0x2b959f);_0x283c66?this[_0x346d9d(0x4a7)](_0x477b8c,_0x283c66,_0xb23041,_0x21ce47,_0x381bf6):this[_0x346d9d(0x35a)](_0x477b8c,_0xb23041,_0x21ce47,_0x381bf6);}[_0x47cc0f(0x235)](_0x4f92df,_0x2a62cc,_0x4d2956,_0x4ab408){const _0x5ad670=_0x47cc0f;let _0x3252a8=this[_0x5ad670(0x2f6)][_0x5ad670(0x3b4)]()['relation'],_0x543e04={..._0x3252a8},_0x2eb218={'shapeId':_0x2a62cc['shapeId'],'cxnIndex':_0x2a62cc['cxnIndex']};_0x4d2956?_0x543e04[_0x5ad670(0x292)]=_0x2eb218:_0x543e04['to']=_0x2eb218;let _0x51cb2a=this[_0x5ad670(0x2f6)][_0x5ad670(0x2d8)](),_0x2ff012=(0x0,_0x4f5ff8[_0x5ad670(0x22c)])(_0x4f92df['worldPoints'],_0x51cb2a),_0x26f4b1={'unitId':this[_0x5ad670(0x242)],'subUnitId':this[_0x5ad670(0x2ab)],'connectorShapeId':this[_0x5ad670(0x333)],'width':_0x4f92df['worldRect'][_0x5ad670(0x300)],'height':_0x4f92df[_0x5ad670(0x377)]['height'],'left':_0x4f92df[_0x5ad670(0x377)][_0x5ad670(0x3c3)],'top':_0x4f92df[_0x5ad670(0x377)][_0x5ad670(0x3ad)],'flipX':_0x4f92df['worldRect'][_0x5ad670(0x42d)]||!0x1,'flipY':_0x4f92df['worldRect'][_0x5ad670(0x4b0)]||!0x1,'newAdjustValues':_0x2ff012['adjustValues'],'oldAdjustValues':_0x4ab408,'oldRelation':_0x3252a8,'newRelation':_0x543e04,'newLineType':_0x2ff012[_0x5ad670(0x29a)],'oldLineType':_0x51cb2a};this[_0x5ad670(0x3e1)][_0x5ad670(0x2cb)](_0x5927be['UpdateConnectorRelationCommand']['id'],_0x26f4b1);}[_0x47cc0f(0x355)](_0x18a2b6,_0xddbf2c){const _0x154699=_0x47cc0f;let _0x490b03=this[_0x154699(0x2f6)][_0x154699(0x2d8)](),_0x55ffbd=(0x0,_0x4f5ff8[_0x154699(0x22c)])(_0x18a2b6[_0x154699(0x442)],_0x490b03),_0x1829cf={'unitId':this['_unitId'],'subUnitId':this[_0x154699(0x2ab)],'shapeId':this[_0x154699(0x333)],'width':_0x18a2b6[_0x154699(0x377)]['width'],'height':_0x18a2b6[_0x154699(0x377)][_0x154699(0x1e8)],'left':_0x18a2b6[_0x154699(0x377)]['left'],'top':_0x18a2b6[_0x154699(0x377)][_0x154699(0x3ad)],'flipX':_0x18a2b6['worldRect'][_0x154699(0x42d)]||!0x1,'flipY':_0x18a2b6['worldRect'][_0x154699(0x4b0)]||!0x1,'angle':_0x18a2b6[_0x154699(0x377)][_0x154699(0x25f)]||0x0,'newAdjustValues':_0x55ffbd[_0x154699(0x296)],'oldAdjustValues':_0xddbf2c,'newLineType':_0x55ffbd['lineType'],'oldLineType':_0x490b03};this['_commandService'][_0x154699(0x2cb)](_0x5927be[_0x154699(0x4f1)]['id'],_0x1829cf);}[_0x47cc0f(0x4a7)](_0x4ca0ed,_0x297c46,_0x2eefe8,_0x22cc59,_0xeb4adb){const _0x4c147f=_0x47cc0f;let _0x49320f=this['_activeShapeModel'][_0x4c147f(0x3b4)]()['relation'],_0x4510b8={..._0x49320f},_0x406370={'shapeId':_0x297c46[_0x4c147f(0x4d8)],'cxnIndex':_0x297c46[_0x4c147f(0x375)]};_0x22cc59?(_0x4510b8[_0x4c147f(0x292)]=_0x406370,_0x4510b8['to']=_0x2eefe8):(_0x4510b8[_0x4c147f(0x292)]=_0x2eefe8,_0x4510b8['to']=_0x406370);let _0x29c253={'unitId':this[_0x4c147f(0x242)],'subUnitId':this[_0x4c147f(0x2ab)],'connectorShapeId':this[_0x4c147f(0x333)],'width':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x300)],'height':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x1e8)],'left':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x3c3)],'top':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x3ad)],'flipX':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x42d)]||!0x1,'flipY':_0x4ca0ed[_0x4c147f(0x377)][_0x4c147f(0x4b0)]||!0x1,'oldAdjustValues':_0xeb4adb,'newAdjustValues':_0x4ca0ed[_0x4c147f(0x296)],'newLineType':_0x4ca0ed[_0x4c147f(0x29a)],'rotation':_0x4ca0ed[_0x4c147f(0x4dc)],'oldRelation':_0x49320f,'newRelation':_0x4510b8};this['_commandService'][_0x4c147f(0x2cb)](_0x5927be[_0x4c147f(0x386)]['id'],_0x29c253);}[_0x47cc0f(0x35a)](_0x437b3a,_0x4f6d98,_0xae1969,_0x179976){const _0x57f390=_0x47cc0f;let _0x50eef7=this[_0x57f390(0x2f6)]['getShapeData']()['relation'],_0x43e5ab={};_0xae1969?(_0x43e5ab['to']=_0x4f6d98,_0x43e5ab[_0x57f390(0x292)]=void 0x0):(_0x43e5ab[_0x57f390(0x292)]=_0x4f6d98,_0x43e5ab['to']=void 0x0);let _0x2f8892={'unitId':this[_0x57f390(0x242)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x57f390(0x333)],'width':_0x437b3a[_0x57f390(0x377)][_0x57f390(0x300)],'height':_0x437b3a[_0x57f390(0x377)]['height'],'left':_0x437b3a['worldRect'][_0x57f390(0x3c3)],'top':_0x437b3a['worldRect'][_0x57f390(0x3ad)],'flipX':_0x437b3a[_0x57f390(0x377)]['flipX']||!0x1,'flipY':_0x437b3a[_0x57f390(0x377)][_0x57f390(0x4b0)]||!0x1,'oldAdjustValues':_0x179976,'newAdjustValues':_0x437b3a[_0x57f390(0x296)],'newLineType':_0x437b3a[_0x57f390(0x29a)],'rotation':_0x437b3a[_0x57f390(0x4dc)],'oldRelation':_0x50eef7,'newRelation':_0x43e5ab};this['_commandService'][_0x57f390(0x2cb)](_0x5927be[_0x57f390(0x386)]['id'],_0x2f8892);}[_0x47cc0f(0x211)](_0x14dce5,_0x591f6e,_0x1566e){const _0x3dc0d5=_0x47cc0f;this['disposeWithMe']((0x0,_0x1f6ce6[_0x3dc0d5(0x31d)])(_0x14dce5[_0x3dc0d5(0x2ef)][_0x3dc0d5(0x4a2)]((_0x4ce453,_0x235475)=>{const _0x36e034=_0x3dc0d5;let _0x28b206=_0x14dce5[_0x36e034(0x260)]();if(this[_0x36e034(0x2f6)]=this[_0x36e034(0x3c4)][_0x36e034(0x381)](_0x28b206[_0x36e034(0x394)],_0x28b206[_0x36e034(0x2e1)],_0x28b206['drawingId']),!this['_activeShapeModel'])return;let _0x51dbfe={};this[_0x36e034(0x2f6)][_0x36e034(0x259)]()[_0x36e034(0x3ec)](_0x36e50b=>{const _0x1fa662=_0x36e034;let _0x48f050=this[_0x1fa662(0x2f6)][_0x1fa662(0x327)](_0x36e50b);_0x48f050!==void 0x0&&(_0x51dbfe[_0x36e50b]=_0x48f050);});let _0x18025f=this[_0x36e034(0x2e4)]();if(!_0x18025f)return;this[_0x36e034(0x1dd)]={..._0x18025f};let _0x333ece=new _0x4f5ff8['ConnectorCoordinateTransform'](this[_0x36e034(0x1dd)]),_0x48644d=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])({'unitId':this['_unitId'],'subUnitId':this['_subUnitId'],'drawingId':this[_0x36e034(0x333)]}),_0x37f707=_0x591f6e[_0x36e034(0x4d7)](_0x48644d);this[_0x36e034(0x4f3)]=!0x0,_0x591f6e[_0x36e034(0x345)](),this[_0x36e034(0x336)][_0x36e034(0x271)](_0x591f6e,this[_0x36e034(0x242)],this[_0x36e034(0x2ab)],this[_0x36e034(0x333)]),this[_0x36e034(0x46a)]=null;let _0x47c8cb=this[_0x36e034(0x2f6)]['getConnectorLinePoints'](),_0x59c825=_0x47c8cb[0x0],_0x36d810=_0x47c8cb[_0x47c8cb[_0x36e034(0x28e)]-0x1],_0x4fb416=_0x1566e?_0x333ece[_0x36e034(0x42f)](_0x36d810):_0x333ece[_0x36e034(0x42f)](_0x59c825);this[_0x36e034(0x2d3)]=_0x591f6e['onPointerMove$']['subscribeEvent']((_0x25b986,_0x2d6d45)=>{const _0x2b7316=_0x36e034;if(!this[_0x2b7316(0x4f3)]||!this['_activeShapeModel'])return;this[_0x2b7316(0x4da)]||(this[_0x2b7316(0x447)][_0x2b7316(0x46f)](),this[_0x2b7316(0x2f6)][_0x2b7316(0x4e7)](),this[_0x2b7316(0x4da)]=!0x0);let _0x23a25e=this['_getScrollInfo'](this[_0x2b7316(0x242)],this[_0x2b7316(0x2ab)]),_0xc0dc61=this[_0x2b7316(0x402)](this['_unitId'],this[_0x2b7316(0x2ab)]),_0x315357={'x':_0x25b986['offsetX']/_0xc0dc61+_0x23a25e['x'],'y':_0x25b986[_0x2b7316(0x4c8)]/_0xc0dc61+_0x23a25e['y']},_0x54a10b=this[_0x2b7316(0x336)][_0x2b7316(0x339)](_0x315357);if(_0x54a10b){let {shapeId:_0x5b9774,unitId:_0x26230a,subUnitId:_0x32077b}=_0x54a10b;if(_0x5b9774&&_0x26230a&&_0x32077b){let _0x1aacd6=(0x0,_0x2ee308[_0x2b7316(0x4d4)])({'unitId':_0x26230a,'subUnitId':_0x32077b,'drawingId':_0x5b9774});_0x54a10b['angle']=(_0x591f6e[_0x2b7316(0x4d7)](_0x1aacd6)[_0x2b7316(0x25f)]||0x0)+_0x54a10b[_0x2b7316(0x25f)];}}this[_0x2b7316(0x46a)]=_0x54a10b;let _0x3878b7=_0x1566e?this[_0x2b7316(0x2f6)][_0x2b7316(0x347)]():this[_0x2b7316(0x2f6)][_0x2b7316(0x451)]();if(_0x3878b7){this[_0x2b7316(0x387)](_0x3878b7,_0x315357,_0x1566e,_0x37f707,_0x14dce5);return;}this[_0x2b7316(0x313)](_0x315357,_0x4fb416,_0x1566e,_0x37f707,_0x14dce5);}),this[_0x36e034(0x4b4)]=_0x591f6e['onPointerUp$'][_0x36e034(0x4a2)]((_0x11765b,_0x5cf603)=>{const _0x16bc6e=_0x36e034;this[_0x16bc6e(0x35c)](_0x591f6e,_0x4fb416,_0x11765b,_0x1566e,_0x51dbfe);}),_0x235475['stopPropagation']();})));}[_0x47cc0f(0x219)](_0x1db667,_0xb0b484,_0x2e9cff){const _0x1ef284=_0x47cc0f;let _0x19f93c=this[_0x1ef284(0x3c4)][_0x1ef284(0x35d)](_0x1db667,_0xb0b484,_0x2e9cff);if(!_0x19f93c||_0x19f93c[_0x1ef284(0x28e)]===0x0)return;let _0x58a0f5=this[_0x1ef284(0x4bb)][_0x1ef284(0x350)](_0x1db667);if(!_0x58a0f5)return;let {scene:_0x50452a}=_0x58a0f5;for(let _0x25e161 of _0x19f93c){let _0x518c87=_0x25e161[_0x1ef284(0x1f3)],_0x1fd4f8=this[_0x1ef284(0x3c4)][_0x1ef284(0x381)](_0x1db667,_0xb0b484,_0x518c87);if(!_0x1fd4f8)continue;let _0x40be44=_0x1fd4f8[_0x1ef284(0x451)](),_0x2cad3d=_0x1fd4f8[_0x1ef284(0x347)](),_0x72234a=(_0x40be44==null?void 0x0:_0x40be44[_0x1ef284(0x4d8)])===_0x2e9cff,_0x4d502a=(0x0,_0x2ee308['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x1db667,'subUnitId':_0xb0b484,'drawingId':_0x518c87}),_0x42cda5=_0x50452a[_0x1ef284(0x4d7)](_0x4d502a);if(!_0x42cda5)continue;let _0x432a0f=this[_0x1ef284(0x416)][_0x1ef284(0x3a2)]({'unitId':_0x1db667,'subUnitId':_0xb0b484,'drawingId':_0x518c87});_0x432a0f!=null&&_0x432a0f[_0x1ef284(0x23f)]&&(_0x40be44&&_0x2cad3d?this['_rerouteConnectorLine'](_0x1db667,_0xb0b484,_0x518c87,_0x1fd4f8,_0x40be44,_0x2cad3d,_0x42cda5):this[_0x1ef284(0x3df)](_0x1db667,_0xb0b484,_0x518c87,_0x1fd4f8,_0x72234a?_0x40be44:_0x2cad3d,_0x72234a,_0x432a0f,_0x42cda5));}}[_0x47cc0f(0x1fe)](_0x182921,_0x22990c,_0x2e14fa,_0xb421ec,_0x6ba138,_0x284f04,_0x2cf9d9){const _0x1cca46=_0x47cc0f;let _0x4e74c9=this[_0x1cca46(0x242)],_0x5dcfa1=this['_subUnitId'];this[_0x1cca46(0x242)]=_0x182921,this['_subUnitId']=_0x22990c;let _0x151704=this[_0x1cca46(0x496)](_0x6ba138),_0x3af8cb=this[_0x1cca46(0x496)](_0x284f04);if(this[_0x1cca46(0x242)]=_0x4e74c9,this['_subUnitId']=_0x5dcfa1,!_0x151704||!_0x3af8cb)return;let _0x41b6b0=_0xb421ec[_0x1cca46(0x2d8)](),_0x28cdd9=(0x0,_0x4f5ff8[_0x1cca46(0x421)])(_0x151704,_0x3af8cb,_0x41b6b0);_0x28cdd9&&_0xb421ec['updateLinePoints'](_0x28cdd9);let _0x5b8ed8=(0x0,_0x4f5ff8[_0x1cca46(0x22c)])(_0x28cdd9,_0x41b6b0);_0x5b8ed8[_0x1cca46(0x29a)]!==_0x41b6b0&&_0xb421ec[_0x1cca46(0x2eb)](_0x5b8ed8[_0x1cca46(0x29a)]),_0xb421ec[_0x1cca46(0x4e7)]();for(let [_0x1ae63e,_0xea6181]of Object['entries'](_0x5b8ed8[_0x1cca46(0x296)]))_0xb421ec['setAdjustValueByName'](_0x1ae63e,_0xea6181);_0xb421ec[_0x1cca46(0x210)]({'width':_0x5b8ed8[_0x1cca46(0x377)]['width'],'height':_0x5b8ed8[_0x1cca46(0x377)][_0x1cca46(0x1e8)]}),_0x2cf9d9['transformByState']({'flipX':_0x5b8ed8[_0x1cca46(0x377)]['flipX'],'flipY':_0x5b8ed8[_0x1cca46(0x377)][_0x1cca46(0x4b0)],'left':_0x5b8ed8['worldRect'][_0x1cca46(0x3c3)],'top':_0x5b8ed8['worldRect'][_0x1cca46(0x3ad)],'width':_0x5b8ed8['worldRect']['width'],'height':_0x5b8ed8[_0x1cca46(0x377)][_0x1cca46(0x1e8)],'angle':_0x5b8ed8['rotation']}),_0xb421ec[_0x1cca46(0x45f)]();}[_0x47cc0f(0x3df)](_0x1d6c2e,_0x2663cb,_0x142285,_0x4b8253,_0x57cebf,_0x104294,_0x303ef3,_0xb65512){const _0x44c5cb=_0x47cc0f;let _0x3fd264=this[_0x44c5cb(0x242)],_0xa7fdc9=this[_0x44c5cb(0x2ab)];this[_0x44c5cb(0x242)]=_0x1d6c2e,this[_0x44c5cb(0x2ab)]=_0x2663cb;let _0x1d2728=this[_0x44c5cb(0x496)](_0x57cebf);if(this[_0x44c5cb(0x242)]=_0x3fd264,this[_0x44c5cb(0x2ab)]=_0xa7fdc9,!_0x1d2728)return;let {left:_0x5a353e=0x0,top:_0x5c247c=0x0,width:_0x2b60ee=0x0,height:_0x335e34=0x0,flipX:_0xeaed54=!0x1,flipY:_0x589cfb=!0x1}=_0x303ef3[_0x44c5cb(0x23f)],_0x235aea=_0x4b8253['getConnectorLinePoints']();if(_0x235aea['length']<0x2)return;let _0x2c6e0c=new _0x4f5ff8['ConnectorCoordinateTransform']({'left':_0x5a353e,'top':_0x5c247c,'width':_0x2b60ee,'height':_0x335e34,'flipX':_0xeaed54,'flipY':_0x589cfb}),_0x508c79=_0x104294?_0x235aea[_0x235aea[_0x44c5cb(0x28e)]-0x1]:_0x235aea[0x0],_0x1ce91c=_0x2c6e0c[_0x44c5cb(0x42f)](_0x508c79),_0x2c9aab=_0x4f5ff8[_0x44c5cb(0x275)][_0x44c5cb(0x3d2)](_0x1ce91c,_0x1d2728[_0x44c5cb(0x220)],!_0x104294);_0xb65512[_0x44c5cb(0x4a6)]({'flipX':_0x2c9aab[_0x44c5cb(0x377)]['flipX'],'flipY':_0x2c9aab['worldRect']['flipY'],'left':_0x2c9aab[_0x44c5cb(0x377)]['left'],'top':_0x2c9aab[_0x44c5cb(0x377)][_0x44c5cb(0x3ad)],'width':_0x2c9aab[_0x44c5cb(0x377)]['width'],'height':_0x2c9aab['worldRect'][_0x44c5cb(0x1e8)],'angle':_0x2c9aab[_0x44c5cb(0x377)][_0x44c5cb(0x25f)]}),_0xb65512['makeDirty'](!0x0);}[_0x47cc0f(0x3cc)](){const _0x19ae7d=_0x47cc0f;this[_0x19ae7d(0x299)][_0x19ae7d(0x28e)]!==0x0&&(this[_0x19ae7d(0x299)][_0x19ae7d(0x3ec)](_0x3ed745=>{const _0x56ff39=_0x19ae7d;_0x3ed745[_0x56ff39(0x435)]();}),this[_0x19ae7d(0x299)]=[]);}['_registerDrawingMoveHandler'](){const _0x519b9e=_0x47cc0f;let _0x47ef6e=this[_0x519b9e(0x26b)]['getCurrentTypeOfUnit$'](_0x1f6ce6['UniverInstanceType'][_0x519b9e(0x1e0)]);this[_0x519b9e(0x216)](_0x47ef6e[_0x519b9e(0x43f)]((0x0,_0x21c04f[_0x519b9e(0x316)])(_0x5b1985=>_0x5b1985?_0x5b1985[_0x519b9e(0x42b)][_0x519b9e(0x43f)]((0x0,_0x21c04f[_0x519b9e(0x316)])(_0x19e9fb=>{const _0xc124ce=_0x519b9e;if(!_0x19e9fb)return _0x21c04f[_0xc124ce(0x30d)];let _0x53ec88=_0x5b1985[_0xc124ce(0x488)](),_0x54d507=this[_0xc124ce(0x4bb)][_0xc124ce(0x350)](_0x53ec88),_0x1be836=_0x54d507==null?void 0x0:_0x54d507['scene'];return _0x1be836?(0x0,_0x21c04f['of'])(_0x1be836):_0x21c04f['EMPTY'];})):_0x21c04f[_0x519b9e(0x30d)]))['subscribe'](_0x53521b=>{const _0x5c3592=_0x519b9e;let _0x227e03=_0x53521b[_0x5c3592(0x33c)]();this[_0x5c3592(0x216)](_0x53521b[_0x5c3592(0x3ac)][_0x5c3592(0x4a2)](_0x29aa19=>{const _0x1469c3=_0x5c3592;this[_0x1469c3(0x304)]&&this['_activeShapeId']&&this[_0x1469c3(0x3cc)]();})),this[_0x5c3592(0x216)](_0x227e03[_0x5c3592(0x1f6)][_0x5c3592(0x4b1)](_0x367b87=>{const _0xd4039c=_0x5c3592;let {objects:_0x3fbbb2}=_0x367b87;this[_0xd4039c(0x3cc)](),_0x3fbbb2!==null&&_0x3fbbb2[_0xd4039c(0x1ec)]===0x1&&_0x3fbbb2[_0xd4039c(0x4a9)]()[_0xd4039c(0x232)]()[_0xd4039c(0x337)]instanceof _0x2f4556&&(this[_0xd4039c(0x304)]=!0x0);})),this[_0x5c3592(0x216)](_0x227e03[_0x5c3592(0x39c)][_0x5c3592(0x4b1)](_0x45d372=>{const _0x406628=_0x5c3592;this[_0x406628(0x304)]&&this[_0x406628(0x3cc)]();})),this['disposeWithMe'](_0x53521b[_0x5c3592(0x1e9)][_0x5c3592(0x4a2)](()=>{const _0x2bded6=_0x5c3592;this[_0x2bded6(0x304)]&&(this[_0x2bded6(0x304)]=!0x1,this[_0x2bded6(0x396)]());})),this[_0x5c3592(0x216)](_0x227e03[_0x5c3592(0x1da)][_0x5c3592(0x4b1)](()=>{const _0xa61705=_0x5c3592;this[_0xa61705(0x242)]&&this[_0xa61705(0x2ab)]&&this[_0xa61705(0x333)]&&this[_0xa61705(0x416)][_0xa61705(0x3a2)]({'unitId':this['_unitId'],'subUnitId':this[_0xa61705(0x2ab)],'drawingId':this[_0xa61705(0x333)]})&&(this[_0xa61705(0x3cc)](),this['_addShapeConnectorHandlerObjects']());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x804c43=_0x47cc0f;this[_0x804c43(0x216)](this[_0x804c43(0x416)][_0x804c43(0x2c6)][_0x804c43(0x4b1)](_0x42866b=>{const _0x5e4d8a=_0x804c43;if(_0x42866b[_0x5e4d8a(0x28e)]===0x1){let _0x1a12b6=_0x42866b[0x0];if(_0x1a12b6[_0x5e4d8a(0x2b2)]===_0x1f6ce6[_0x5e4d8a(0x38b)][_0x5e4d8a(0x3c0)]){let _0x3e9a82=this[_0x5e4d8a(0x3c4)][_0x5e4d8a(0x381)](_0x1a12b6[_0x5e4d8a(0x394)],_0x1a12b6[_0x5e4d8a(0x2e1)],_0x1a12b6['drawingId']);if(_0x3e9a82&&(0x0,_0x4f5ff8[_0x5e4d8a(0x3d1)])(_0x3e9a82[_0x5e4d8a(0x2d8)]())){this['_activeShapeId']=_0x1a12b6[_0x5e4d8a(0x257)],this['_unitId']=_0x1a12b6[_0x5e4d8a(0x394)],this[_0x5e4d8a(0x2ab)]=_0x1a12b6[_0x5e4d8a(0x2e1)],this[_0x5e4d8a(0x3cc)](),this[_0x5e4d8a(0x396)]();return;}}}this[_0x5e4d8a(0x333)]=void 0x0,this[_0x5e4d8a(0x242)]=void 0x0,this[_0x5e4d8a(0x2ab)]=void 0x0,this[_0x5e4d8a(0x3cc)]();})),this[_0x804c43(0x216)](this['_drawingManagerService'][_0x804c43(0x213)][_0x804c43(0x4b1)](_0x584036=>{const _0x46ac09=_0x804c43;if(_0x584036[_0x46ac09(0x28e)]===0x1){var _0xe57058;let _0x248a9c=_0x584036[0x0],_0x377cbc=(_0xe57058=this['_drawingManagerService']['getDrawingByParam'](_0x248a9c))==null?void 0x0:_0xe57058[_0x46ac09(0x2b2)];_0x377cbc===_0x1f6ce6[_0x46ac09(0x38b)][_0x46ac09(0x3c0)]&&_0x248a9c['drawingId']===this[_0x46ac09(0x333)]?(this[_0x46ac09(0x3cc)](),this[_0x46ac09(0x396)]()):!this[_0x46ac09(0x333)]&&_0x377cbc===_0x1f6ce6[_0x46ac09(0x38b)]['DRAWING_SHAPE']&&this[_0x46ac09(0x219)](_0x248a9c[_0x46ac09(0x394)],_0x248a9c[_0x46ac09(0x2e1)],_0x248a9c[_0x46ac09(0x257)]);}})),this[_0x804c43(0x216)](this[_0x804c43(0x416)][_0x804c43(0x1e6)]['subscribe'](_0x5f32bc=>{const _0x150f15=_0x804c43;for(let _0x27edb5 of _0x5f32bc){let {drawingId:_0x10f1e8}=_0x27edb5;if(this[_0x150f15(0x333)]===_0x10f1e8){this[_0x150f15(0x1f4)]();return;}}}));}['_handleConnectedEndpointMove'](_0xe0ca3f,_0x16e063,_0x3a797e,_0x192ed0,_0x432174){const _0x2a8ca4=_0x47cc0f;var _0x227940,_0x1eafd2;if(!this[_0x2a8ca4(0x2f6)])return;let _0x11ba03=this['_getConnectPointInfo'](_0xe0ca3f);if(!_0x11ba03)return;let _0x597c1b=this[_0x2a8ca4(0x46a)]?this['_currentConnectionTarget'][_0x2a8ca4(0x38a)]:_0x16e063,_0x2282cd=this[_0x2a8ca4(0x46a)]?this[_0x2a8ca4(0x46a)][_0x2a8ca4(0x25f)]:this[_0x2a8ca4(0x4df)](_0x11ba03[_0x2a8ca4(0x220)],_0x597c1b),_0x4b0826;if(this[_0x2a8ca4(0x46a)]){let _0x294492=this[_0x2a8ca4(0x416)][_0x2a8ca4(0x3a2)]({'unitId':this[_0x2a8ca4(0x46a)][_0x2a8ca4(0x394)],'subUnitId':this[_0x2a8ca4(0x46a)][_0x2a8ca4(0x2e1)],'drawingId':this[_0x2a8ca4(0x46a)][_0x2a8ca4(0x4d8)]});if(_0x294492!=null&&_0x294492[_0x2a8ca4(0x23f)]){let {left:_0x404d04=0x0,top:_0x1f97b5=0x0,width:_0x56200f=0x0,height:_0x5cc7e9=0x0,angle:_0x398860}=_0x294492[_0x2a8ca4(0x23f)];_0x4b0826=(0x0,_0x4f5ff8['getBasicShapeRotateBound'])({'left':_0x404d04,'top':_0x1f97b5,'width':_0x56200f,'height':_0x5cc7e9},_0x398860||0x0);}else _0x4b0826={'left':_0x597c1b['x'],'top':_0x597c1b['y'],'width':0x0,'height':0x0};}else _0x4b0826={'left':_0x597c1b['x'],'top':_0x597c1b['y'],'width':0x0,'height':0x0};let _0x30f9ad={'point':_0x597c1b,'angle':_0x2282cd,'bounds':_0x4b0826},_0x1b3987=_0x3a797e?_0x30f9ad:_0x11ba03,_0x5dde9a=_0x3a797e?_0x11ba03:_0x30f9ad,_0x2e31f2=this[_0x2a8ca4(0x2f6)][_0x2a8ca4(0x2d8)](),_0xf85b80=(0x0,_0x4f5ff8[_0x2a8ca4(0x421)])(_0x1b3987,_0x5dde9a,_0x2e31f2);_0xf85b80&&this[_0x2a8ca4(0x2f6)][_0x2a8ca4(0x3e3)](_0xf85b80);let _0x1930a7=(0x0,_0x4f5ff8[_0x2a8ca4(0x22c)])(_0xf85b80,_0x2e31f2);_0x1930a7[_0x2a8ca4(0x29a)]!==_0x2e31f2&&this[_0x2a8ca4(0x2f6)]['changeShapeType'](_0x1930a7[_0x2a8ca4(0x29a)]);for(let [_0x3d8168,_0x502b1c]of Object[_0x2a8ca4(0x410)](_0x1930a7[_0x2a8ca4(0x296)]))this[_0x2a8ca4(0x2f6)][_0x2a8ca4(0x44d)](_0x3d8168,_0x502b1c);this[_0x2a8ca4(0x2f6)][_0x2a8ca4(0x210)]({'width':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x300)],'height':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x1e8)]}),_0x192ed0[_0x2a8ca4(0x4a6)]({'flipX':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x42d)],'flipY':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x4b0)],'left':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x3c3)],'top':_0x1930a7['worldRect'][_0x2a8ca4(0x3ad)],'width':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x300)],'height':_0x1930a7[_0x2a8ca4(0x377)][_0x2a8ca4(0x1e8)],'angle':_0x1930a7[_0x2a8ca4(0x4dc)]}),_0x192ed0[_0x2a8ca4(0x49b)](!0x0);let _0x4c2051=(_0x227940=(_0x1eafd2=this['_currentConnectionTarget'])==null?void 0x0:_0x1eafd2[_0x2a8ca4(0x38a)])==null?_0x16e063:_0x227940;_0x432174[_0x2a8ca4(0x4a6)]({'left':_0x4c2051['x']-_0x4f5ff8[_0x2a8ca4(0x4db)][_0x2a8ca4(0x366)],'top':_0x4c2051['y']-_0x4f5ff8[_0x2a8ca4(0x4db)][_0x2a8ca4(0x366)]});}['_handleFreeEndpointMove'](_0x2b3b1d,_0xad0e0,_0x293d10,_0x31bf69,_0x276422){const _0x3fa779=_0x47cc0f;var _0x129c53,_0x59b8e8,_0xaa68fa,_0x24a996;let _0x2fdc17=(_0x129c53=(_0x59b8e8=this['_currentConnectionTarget'])==null?void 0x0:_0x59b8e8[_0x3fa779(0x38a)])==null?_0x2b3b1d:_0x129c53,_0x1ab1d2=_0x4f5ff8[_0x3fa779(0x275)]['computeConnectorResizeLayout'](_0xad0e0,_0x2fdc17,_0x293d10);_0x31bf69[_0x3fa779(0x4a6)]({'flipX':_0x1ab1d2['worldRect'][_0x3fa779(0x42d)],'flipY':_0x1ab1d2[_0x3fa779(0x377)][_0x3fa779(0x4b0)],'left':_0x1ab1d2[_0x3fa779(0x377)][_0x3fa779(0x3c3)],'top':_0x1ab1d2[_0x3fa779(0x377)]['top'],'width':_0x1ab1d2[_0x3fa779(0x377)][_0x3fa779(0x300)],'height':_0x1ab1d2[_0x3fa779(0x377)][_0x3fa779(0x1e8)],'angle':_0x1ab1d2['worldRect'][_0x3fa779(0x25f)]});let _0x23bdea=(_0xaa68fa=(_0x24a996=this[_0x3fa779(0x46a)])==null?void 0x0:_0x24a996[_0x3fa779(0x38a)])==null?_0x2b3b1d:_0xaa68fa;_0x276422[_0x3fa779(0x4a6)]({'left':_0x23bdea['x']-_0x4f5ff8[_0x3fa779(0x4db)]['cxnPointRadius'],'top':_0x23bdea['y']-_0x4f5ff8[_0x3fa779(0x4db)][_0x3fa779(0x366)]});}[_0x47cc0f(0x496)](_0x184d4c){const _0x5a5e71=_0x47cc0f;if(!this[_0x5a5e71(0x242)]||!this[_0x5a5e71(0x2ab)])return null;let {shapeId:_0x142e96,cxnIndex:_0x3d228b}=_0x184d4c,_0x2aebbe=this[_0x5a5e71(0x3c4)][_0x5a5e71(0x381)](this[_0x5a5e71(0x242)],this[_0x5a5e71(0x2ab)],_0x142e96);if(!_0x2aebbe)return null;let _0x41c88f=this[_0x5a5e71(0x416)][_0x5a5e71(0x3a2)]({'unitId':this[_0x5a5e71(0x242)],'subUnitId':this[_0x5a5e71(0x2ab)],'drawingId':_0x142e96});if(!(_0x41c88f!=null&&_0x41c88f[_0x5a5e71(0x23f)]))return null;let {left:_0xd51f4e=0x0,top:_0x1a8fe9=0x0,width:_0x398dd5=0x0,height:_0x4f5baa=0x0,flipX:_0x34d166=!0x1,flipY:_0x5dcef8=!0x1,angle:_0x101b70}=_0x41c88f[_0x5a5e71(0x23f)];_0x2aebbe[_0x5a5e71(0x210)]({'width':_0x398dd5,'height':_0x4f5baa});let _0x1d363b=_0x2aebbe[_0x5a5e71(0x3b8)]()[_0x5a5e71(0x3f8)](_0x424930=>_0x424930[_0x5a5e71(0x44c)]===_0x3d228b);if(!_0x1d363b)return null;let _0x4f312d=_0x34d166?_0x398dd5-_0x1d363b['x']:_0x1d363b['x'],_0x4d4405=_0x5dcef8?_0x4f5baa-_0x1d363b['y']:_0x1d363b['y'];if(_0x101b70!==0x0&&_0x101b70!=null){let _0x286dd0=_0x101b70*Math['PI']/0xb4,_0x20cd23=Math[_0x5a5e71(0x46c)](_0x286dd0),_0x3fa53a=Math[_0x5a5e71(0x494)](_0x286dd0),_0x3170df=_0x398dd5/0x2,_0x198bc9=_0x4f5baa/0x2,_0x17da06=_0x4f312d-_0x3170df,_0x23cf43=_0x4d4405-_0x198bc9;_0x4f312d=_0x3170df+_0x17da06*_0x20cd23-_0x23cf43*_0x3fa53a,_0x4d4405=_0x198bc9+_0x17da06*_0x3fa53a+_0x23cf43*_0x20cd23;}_0x4f312d+=_0xd51f4e,_0x4d4405+=_0x1a8fe9;let _0x20d25d=_0x1d363b[_0x5a5e71(0x4f6)]/0xea60;_0x34d166&&(_0x20d25d=0xb4-_0x20d25d),_0x5dcef8&&(_0x20d25d=-_0x20d25d),_0x20d25d+=_0x101b70||0x0,_0x20d25d=(_0x20d25d%0x168+0x168)%0x168;let _0x13a15d=(0x0,_0x4f5ff8[_0x5a5e71(0x485)])({'left':_0xd51f4e,'top':_0x1a8fe9,'width':_0x398dd5,'height':_0x4f5baa},_0x101b70||0x0);return{'point':{'x':_0x4f312d,'y':_0x4d4405},'angle':_0x20d25d,'bounds':_0x13a15d};}[_0x47cc0f(0x4df)](_0x4a0156,_0x401ca1){const _0x57613c=_0x47cc0f;let _0x3396e6=_0x401ca1['x']-_0x4a0156['x'],_0x472454=_0x401ca1['y']-_0x4a0156['y'];return Math[_0x57613c(0x21c)](_0x3396e6)>=Math[_0x57613c(0x21c)](_0x472454)?_0x3396e6>=0x0?0xb4:0x0:_0x472454>=0x0?0x10e:0x5a;}['_reset'](){const _0x2a946b=_0x47cc0f;this[_0x2a946b(0x333)]=void 0x0,this[_0x2a946b(0x242)]=void 0x0,this[_0x2a946b(0x2ab)]=void 0x0,this[_0x2a946b(0x3cc)]();}[_0x47cc0f(0x435)](){const _0x1263ea=_0x47cc0f;this[_0x1263ea(0x3cc)](),super['dispose']();}};_0x410c0c=_0x51130a([_0x3607f9(0x1,_0x1f6ce6[_0x47cc0f(0x2bd)]),_0x3607f9(0x2,_0x58b748[_0x47cc0f(0x34e)]),_0x3607f9(0x3,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x4,_0x1f6ce6[_0x47cc0f(0x32e)]),_0x3607f9(0x5,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be['SheetsShapeService'])),_0x3607f9(0x6,(0x0,_0x1f6ce6['Inject'])(_0x40f08e)),_0x3607f9(0x7,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x53675d))],_0x410c0c);let _0x1052b2=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x26186d,_0x1c4194,_0x54d610){const _0x3bae67=_0x47cc0f;super(),this[_0x3bae67(0x314)]=_0x26186d,this[_0x3bae67(0x416)]=_0x1c4194,this[_0x3bae67(0x36d)]=_0x54d610,this[_0x3bae67(0x36b)]();}['_initPrinting'](){const _0x5f2b06=_0x47cc0f;this['disposeWithMe'](this[_0x5f2b06(0x314)][_0x5f2b06(0x3d3)][_0x5f2b06(0x44e)](this[_0x5f2b06(0x314)][_0x5f2b06(0x3d3)][_0x5f2b06(0x31e)]()[_0x5f2b06(0x491)],{'handler':(_0x3e61ce,_0x167e6f,_0x4101c6)=>{const _0x51e637=_0x5f2b06;var _0x4d197d;let {unitId:_0x1c1b4b,subUnitId:_0x32d92e,scene:_0x45e767,resourceCollector:_0x405146}=_0x167e6f,_0x4383c1=(_0x4d197d=this['_drawingManagerService']['getDrawingDataForUnit'](_0x1c1b4b))==null?void 0x0:_0x4d197d[_0x32d92e];return _0x4383c1==null||_0x4383c1['order'][_0x51e637(0x3ec)](_0x2bebaa=>{const _0x16753f=_0x51e637;let _0x4929dc=_0x4383c1['data'][_0x2bebaa];_0x4929dc['drawingType']===_0x1f6ce6[_0x16753f(0x38b)][_0x16753f(0x3c0)]&&!_0x4929dc[_0x16753f(0x233)]&&this[_0x16753f(0x36d)][_0x16753f(0x4ae)](_0x4929dc,_0x45e767,{'resourceCollector':_0x405146});}),_0x4101c6(_0x3e61ce);}}));}};_0x1052b2=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6['Inject'])(_0x522354['SheetPrintInterceptorService'])),_0x3607f9(0x1,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x2,(0x0,_0x1f6ce6['Inject'])(_0x32bb5d))],_0x1052b2);let _0x50cf21=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x20681c,_0x150a7b,_0x3be50b){const _0x2aae3a=_0x47cc0f;super(),this[_0x2aae3a(0x3e1)]=_0x20681c,this[_0x2aae3a(0x3c6)]=_0x150a7b,this[_0x2aae3a(0x40a)]=_0x3be50b,this['_initPermission']();}['_initPermission'](){const _0x1f7f5d=_0x47cc0f;this['disposeWithMe'](this[_0x1f7f5d(0x3e1)]['beforeCommandExecuted'](_0x39c948=>{const _0x223e3d=_0x1f7f5d;let _0x23742a,_0x3923a0;if(_0x39c948['id']===_0x5927be['InsertShapeCommand']['id']||_0x39c948['id']===_0x5927be['SetShapeDrawingDataCommand']['id']||_0x39c948['id']===_0x5927be[_0x223e3d(0x386)]['id']){let _0x4511c3=_0x39c948[_0x223e3d(0x305)];_0x23742a=_0x4511c3['unitId'],_0x3923a0=_0x4511c3['subUnitId'];}!_0x23742a||!_0x3923a0||this[_0x223e3d(0x40a)][_0x223e3d(0x2f4)]({'workbookTypes':[_0x231b82[_0x223e3d(0x261)]],'worksheetTypes':[_0x231b82[_0x223e3d(0x480)]]},_0x23742a,_0x3923a0)||this[_0x223e3d(0x40a)][_0x223e3d(0x209)](this[_0x223e3d(0x3c6)]['t']('sheets-shape-ui.permission.editErr'));}));}};_0x50cf21=_0x51130a([_0x3607f9(0x0,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1f6ce6[_0x47cc0f(0x2bd)])),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1f6ce6[_0x47cc0f(0x406)])),_0x3607f9(0x2,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x231b82['SheetPermissionCheckController']))],_0x50cf21);let _0x10984f=class extends _0x1f6ce6[_0x47cc0f(0x25d)]{constructor(_0x2dc798,_0x2443cc,_0x35e6d1,_0x133dd3,_0x3a9ae3,_0x2d19a9,_0x46a17e,_0x500b1b,_0x57703d,_0x713778,_0x57679c){const _0x456208=_0x47cc0f;super(),this['_univerInstanceService']=_0x2dc798,this[_0x456208(0x45a)]=_0x2443cc,this[_0x456208(0x2d7)]=_0x35e6d1,this[_0x456208(0x3c4)]=_0x133dd3,this[_0x456208(0x3c6)]=_0x3a9ae3,this[_0x456208(0x3e1)]=_0x2d19a9,this['_drawingManagerService']=_0x46a17e,this[_0x456208(0x264)]=_0x500b1b,this[_0x456208(0x4d2)]=_0x57703d,this['_renderManagerService']=_0x713778,this[_0x456208(0x288)]=_0x57679c,_0x562cac(this,'_sidebarDisposable',null),_0x562cac(this,'_activeShapeInfo',null),_0x562cac(this,_0x456208(0x287),!0x1),_0x562cac(this,_0x456208(0x3cd),0x0),_0x562cac(this,_0x456208(0x4b2),new Set()),_0x562cac(this,'_disposePopups',[]),this[_0x456208(0x47e)](),this[_0x456208(0x216)](this[_0x456208(0x26b)]['getCurrentTypeOfUnit$'](_0x1f6ce6[_0x456208(0x2c2)][_0x456208(0x1e0)])[_0x456208(0x4b1)](_0x362a1c=>{const _0x425b8c=_0x456208;if(!_0x362a1c){var _0x1f2c1e;(_0x1f2c1e=this[_0x425b8c(0x2bc)])==null||_0x1f2c1e[_0x425b8c(0x435)]();return;}this[_0x425b8c(0x22b)](_0x362a1c);})),this[_0x456208(0x26f)](),this[_0x456208(0x31b)](),this[_0x456208(0x2b3)](),this[_0x456208(0x216)](this['_shapeTextEditingService'][_0x456208(0x385)][_0x456208(0x4b1)](_0x20de1c=>{const _0x1235f6=_0x456208;_0x20de1c&&this[_0x1235f6(0x418)]();}));}[_0x47cc0f(0x47e)](){const _0x42b3b8=_0x47cc0f;this[_0x42b3b8(0x2d7)][_0x42b3b8(0x37b)](_0x23ff6d);}[_0x47cc0f(0x31b)](){const _0x46dd02=_0x47cc0f;this[_0x46dd02(0x264)][_0x46dd02(0x328)](_0x1f6ce6[_0x46dd02(0x38b)][_0x46dd02(0x3c0)],this[_0x46dd02(0x43d)]['bind'](this)),this[_0x46dd02(0x264)][_0x46dd02(0x37c)](_0x1f6ce6[_0x46dd02(0x38b)][_0x46dd02(0x3c0)],0x6,0x4);}[_0x47cc0f(0x2b3)](){const _0x377fa0=_0x47cc0f;this[_0x377fa0(0x26b)][_0x377fa0(0x376)](_0x1f6ce6['UniverInstanceType']['UNIVER_SHEET'])[_0x377fa0(0x3ec)](_0x1fe277=>this[_0x377fa0(0x22b)](_0x1fe277));}[_0x47cc0f(0x43d)](_0xfa8a47,_0x43dc88,_0x2ae66c,_0x41f5fa){const _0x18983b=_0x47cc0f;return[{'label':_0x18983b(0x477),'index':0x0,'commandId':_0xff3fa['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'drawingId':_0x2ae66c},'disable':_0x41f5fa===_0x1f6ce6[_0x18983b(0x38b)][_0x18983b(0x324)]},{'label':_0x18983b(0x2e5),'index':0x1,'commandId':_0x43e147['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0xfa8a47,'drawings':[{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'drawingId':_0x2ae66c,'drawingType':_0x41f5fa}]},'disable':!0x1},{'label':_0x18983b(0x392),'index':0x2,'commandId':_0x37a4eb['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'drawingId':_0x2ae66c},'disable':!0x1},{'label':'sheets-shape-ui.toggleFlipH','index':0x3,'commandId':_0x5927be[_0x18983b(0x49a)]['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'shapeId':_0x2ae66c,'flipH':!0x0},'disable':!0x1},{'label':_0x18983b(0x334),'index':0x4,'commandId':_0x5927be[_0x18983b(0x49a)]['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'shapeId':_0x2ae66c,'flipV':!0x0},'disable':!0x1},{'label':_0x18983b(0x22f),'index':0x4,'commandId':_0x5927be['SetSheetsShapeRotateCommand']['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'shapeId':_0x2ae66c,'rotate':0x5a},'disable':!0x1},{'label':_0x18983b(0x1fa),'index':0x4,'commandId':_0x5927be[_0x18983b(0x4c4)]['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'shapeId':_0x2ae66c,'rotate':-0x5a},'disable':!0x1},{'label':_0x18983b(0x31a),'index':0x4,'commandId':_0x5927be[_0x18983b(0x28d)]['id'],'commandParams':{'unitId':_0xfa8a47,'subUnitId':_0x43dc88,'shapeId':_0x2ae66c},'disable':!0x1}];}[_0x47cc0f(0x2f5)](_0xc71503,_0x49f91,_0x1cfe5f){const _0x5a44c7=_0x47cc0f;let _0x52caca=this['_sheetsShapeService'][_0x5a44c7(0x40d)](_0xc71503,_0x49f91,_0x1cfe5f),_0x20e69c=this[_0x5a44c7(0x3c4)]['getShapeDataById'](_0xc71503,_0x49f91,_0x1cfe5f);return _0x52caca!==void 0x0&&_0x20e69c!==void 0x0?{'shapeData':_0x20e69c,'shapeId':_0x1cfe5f,'shapeType':_0x52caca,'unitId':_0xc71503,'subUnitId':_0x49f91,'version':this['_shapeEditPanelVersion'],'disableShapeOption':!0x1}:null;}[_0x47cc0f(0x22b)](_0x4db121){const _0x3cab7d=_0x47cc0f;if(!_0x4db121)return;let _0x143ae7=_0x4db121[_0x3cab7d(0x488)]();this[_0x3cab7d(0x4bb)]['has'](_0x143ae7)&&!this['_initializedShapePopupMenu'][_0x3cab7d(0x2ff)](_0x143ae7)&&(this[_0x3cab7d(0x201)](_0x143ae7),this[_0x3cab7d(0x4b2)][_0x3cab7d(0x317)](_0x143ae7));}['_clearPopups'](){const _0x2bf3ca=_0x47cc0f;this[_0x2bf3ca(0x4e8)][_0x2bf3ca(0x3ec)](_0x563c7e=>_0x563c7e[_0x2bf3ca(0x435)]()),this[_0x2bf3ca(0x4e8)][_0x2bf3ca(0x28e)]=0x0;}[_0x47cc0f(0x201)](_0x143327){const _0x5e7052=_0x47cc0f;var _0x1002bd;let _0x435cc2=(_0x1002bd=this[_0x5e7052(0x4bb)]['getRenderById'](_0x143327))==null?void 0x0:_0x1002bd[_0x5e7052(0x469)],_0x2789db=_0x435cc2==null?void 0x0:_0x435cc2[_0x5e7052(0x33c)]();!_0x435cc2||!_0x2789db||(this[_0x5e7052(0x216)](_0x2789db[_0x5e7052(0x492)]['subscribe'](()=>{const _0x15e7ca=_0x5e7052;let _0x2017fe=_0x2789db[_0x15e7ca(0x268)]();if(this['_clearPopups'](),this[_0x15e7ca(0x287)]||_0x2017fe[_0x15e7ca(0x1ec)]>0x1)return;let _0x44baaa=_0x2017fe[_0x15e7ca(0x4a9)]()[_0x15e7ca(0x232)]()[_0x15e7ca(0x337)];if(!_0x44baaa)return;let _0x5df46b=this['_drawingManagerService'][_0x15e7ca(0x2cc)](_0x44baaa['oKey']);if(!_0x5df46b||_0x5df46b[_0x15e7ca(0x2b2)]!==_0x1f6ce6[_0x15e7ca(0x38b)][_0x15e7ca(0x3c0)])return;let {unitId:_0x5dd816,subUnitId:_0x195037,drawingId:_0x4d3891,drawingType:_0x1ceda5}=_0x5df46b,_0xa084ad=this[_0x15e7ca(0x2f5)](_0x5dd816,_0x195037,_0x4d3891);if(!_0xa084ad)return;this[_0x15e7ca(0x4d2)]['setContextValue'](_0x1f6ce6[_0x15e7ca(0x2b7)],!0x0);let _0xace4c4=this[_0x15e7ca(0x264)]['attachPopupToObject'](_0x44baaa,{'componentKey':_0x187552,'direction':_0x15e7ca(0x214),'offset':[0x0,_0x10236c[_0x15e7ca(0x3db)]],'extraProps':{'unitId':_0x5dd816,'subUnitId':_0x195037,'drawingId':_0x4d3891,'drawingType':_0x1ceda5,'shapeType':_0xa084ad[_0x15e7ca(0x40e)],'shapeData':_0xa084ad[_0x15e7ca(0x4e4)]}});this[_0x15e7ca(0x4e8)][_0x15e7ca(0x3e5)](this['disposeWithMe'](_0xace4c4)),this[_0x15e7ca(0x416)][_0x15e7ca(0x436)]()[_0x15e7ca(0x3f8)](_0x1d7259=>_0x1d7259[_0x15e7ca(0x394)]===_0x5dd816&&_0x1d7259[_0x15e7ca(0x2e1)]===_0x195037&&_0x1d7259[_0x15e7ca(0x257)]===_0x4d3891)||this['_drawingManagerService'][_0x15e7ca(0x4bc)]([{'unitId':_0x5dd816,'subUnitId':_0x195037,'drawingId':_0x4d3891}]);})),this[_0x5e7052(0x216)](_0x2789db[_0x5e7052(0x369)][_0x5e7052(0x4b1)](()=>{const _0x542c6d=_0x5e7052;this[_0x542c6d(0x418)](),this[_0x542c6d(0x4d2)]['setContextValue'](_0x1f6ce6['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x542c6d(0x416)]['focusDrawing'](null);})),this[_0x5e7052(0x216)](_0x2789db['changing$'][_0x5e7052(0x4b1)](()=>{const _0x3064cd=_0x5e7052;this[_0x3064cd(0x418)]();})),this[_0x5e7052(0x216)](_0x2789db[_0x5e7052(0x1f6)][_0x5e7052(0x4b1)](()=>{this['_clearPopups']();})));}[_0x47cc0f(0x26f)](){const _0x3bae46=_0x47cc0f;this[_0x3bae46(0x216)](this[_0x3bae46(0x3e1)][_0x3bae46(0x225)](_0x52cb4a=>{const _0x4b82b5=_0x3bae46;if(_0x52cb4a['id']===_0xff3fa['id']){let {unitId:_0x7b37ba,subUnitId:_0x36a432,drawingId:_0x2c9605}=_0x52cb4a[_0x4b82b5(0x305)];this[_0x4b82b5(0x3cd)]+=0x1,this['_activeShapeInfo']=this[_0x4b82b5(0x2f5)](_0x7b37ba,_0x36a432,_0x2c9605),this[_0x4b82b5(0x418)](),this[_0x4b82b5(0x291)]();}if(_0x52cb4a['id']===_0x37a4eb['id']&&(this[_0x4b82b5(0x1ed)]=null,this['_closeShapeEditPanel']()),_0x52cb4a['id']===_0x5927be[_0x4b82b5(0x431)]['id']){let {unitId:_0x484c47,subUnitId:_0x1c820b,shapeId:_0x5508fd}=_0x52cb4a['params'];if(this[_0x4b82b5(0x1ed)]&&this[_0x4b82b5(0x1ed)][_0x4b82b5(0x4d8)]===_0x5508fd){let _0x2450c9=this['_getShapeInfo'](_0x484c47,_0x1c820b,_0x5508fd);_0x2450c9&&(this[_0x4b82b5(0x3cd)]+=0x1,_0x2450c9[_0x4b82b5(0x4f5)]=this[_0x4b82b5(0x3cd)],this[_0x4b82b5(0x1ed)]=_0x2450c9,this[_0x4b82b5(0x287)]&&this[_0x4b82b5(0x291)]());}}})),this[_0x3bae46(0x216)](this[_0x3bae46(0x416)]['focus$'][_0x3bae46(0x4b1)](_0x46afc9=>{const _0x4f5cd9=_0x3bae46;if(this[_0x4f5cd9(0x287)]===!0x1)return;if(_0x46afc9[_0x4f5cd9(0x28e)]===0x0){this[_0x4f5cd9(0x1ed)]=null,this[_0x4f5cd9(0x254)]();return;}if(_0x46afc9[_0x4f5cd9(0x28e)]===0x1&&_0x46afc9[0x0][_0x4f5cd9(0x2b2)]===_0x1f6ce6['DrawingTypeEnum']['DRAWING_SHAPE']&&(this[_0x4f5cd9(0x3cd)]+=0x1,this['_activeShapeInfo']=this[_0x4f5cd9(0x2f5)](_0x46afc9[0x0][_0x4f5cd9(0x394)],_0x46afc9[0x0]['subUnitId'],_0x46afc9[0x0][_0x4f5cd9(0x257)]),this[_0x4f5cd9(0x1ed)])){this[_0x4f5cd9(0x291)]();return;}let _0x547436=_0x46afc9[_0x4f5cd9(0x272)](_0x56a581=>_0x56a581[_0x4f5cd9(0x2b2)]===_0x1f6ce6[_0x4f5cd9(0x38b)][_0x4f5cd9(0x3c0)]);if(_0x46afc9['length']>0x1&&_0x547436[_0x4f5cd9(0x28e)]===_0x46afc9[_0x4f5cd9(0x28e)]){if(this[_0x4f5cd9(0x3cd)]+=0x1,this[_0x4f5cd9(0x1ed)]=this[_0x4f5cd9(0x2f5)](_0x46afc9[0x0][_0x4f5cd9(0x394)],_0x46afc9[0x0][_0x4f5cd9(0x2e1)],_0x46afc9[0x0][_0x4f5cd9(0x257)]),this[_0x4f5cd9(0x1ed)]){this[_0x4f5cd9(0x291)]();return;}}else{if(this[_0x4f5cd9(0x3cd)]+=0x1,this['_activeShapeInfo']=this[_0x4f5cd9(0x2f5)](_0x46afc9[0x0]['unitId'],_0x46afc9[0x0]['subUnitId'],_0x46afc9[0x0]['drawingId']),this[_0x4f5cd9(0x1ed)]){this[_0x4f5cd9(0x1ed)][_0x4f5cd9(0x440)]=!0x0,this['_openShapeEditPanel']();return;}}this[_0x4f5cd9(0x254)]();}));}['_openShapeEditPanel'](){const _0x5a0159=_0x47cc0f;this[_0x5a0159(0x1ed)]&&(this[_0x5a0159(0x2bc)]=this[_0x5a0159(0x45a)][_0x5a0159(0x270)]({'id':_0x449f94,'header':{'title':this[_0x5a0159(0x3c6)]['t'](_0x5a0159(0x4be))},'width':0x184,'children':{'label':_0x449f94,...this[_0x5a0159(0x1ed)]},'onClose':()=>{const _0x502248=_0x5a0159;this['_drawingManagerService']['focusDrawing'](null),this[_0x502248(0x4d2)]['setContextValue'](_0x1f6ce6[_0x502248(0x2b7)],!0x1),this[_0x502248(0x2bc)]=null;}}),this[_0x5a0159(0x287)]=!0x0);}[_0x47cc0f(0x254)](){const _0x13a881=_0x47cc0f;this[_0x13a881(0x287)]=!0x1,this[_0x13a881(0x45a)][_0x13a881(0x452)](_0x449f94),this[_0x13a881(0x2bc)]=null,this[_0x13a881(0x4d2)]['setContextValue'](_0x1f6ce6['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x13a881(0x416)][_0x13a881(0x4bc)](null);}};_0x10984f=_0x51130a([_0x3607f9(0x0,_0x1f6ce6['IUniverInstanceService']),_0x3607f9(0x1,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x229cfc[_0x47cc0f(0x434)])),_0x3607f9(0x2,_0x229cfc[_0x47cc0f(0x265)]),_0x3607f9(0x3,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x5927be[_0x47cc0f(0x21d)])),_0x3607f9(0x4,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x1f6ce6[_0x47cc0f(0x406)])),_0x3607f9(0x5,_0x1f6ce6[_0x47cc0f(0x2bd)]),_0x3607f9(0x6,_0x2ee308[_0x47cc0f(0x4c1)]),_0x3607f9(0x7,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x522354[_0x47cc0f(0x2be)])),_0x3607f9(0x8,_0x1f6ce6['IContextService']),_0x3607f9(0x9,_0x58b748[_0x47cc0f(0x34e)]),_0x3607f9(0xa,(0x0,_0x1f6ce6[_0x47cc0f(0x35f)])(_0x58197e))],_0x10984f);let _0x337844=class extends _0x1f6ce6['Plugin']{constructor(_0x47620e=_0x796f15,_0x36203c,_0x43f417,_0x5a7f69,_0x528b0d){const _0x47d3bf=_0x47cc0f;super(),this[_0x47d3bf(0x48b)]=_0x47620e,this[_0x47d3bf(0x487)]=_0x36203c,this[_0x47d3bf(0x3e1)]=_0x43f417,this[_0x47d3bf(0x3bb)]=_0x5a7f69,this[_0x47d3bf(0x4bb)]=_0x528b0d;let {..._0xffea1e}=(0x0,_0x1f6ce6[_0x47d3bf(0x1e5)])({},_0x796f15,this['_config']);this[_0x47d3bf(0x3bb)][_0x47d3bf(0x227)](_0x47d3bf(0x4cf),_0xffea1e),this[_0x47d3bf(0x2e3)]();}[_0x47cc0f(0x23b)](){const _0x4f2a0c=_0x47cc0f;(0x0,_0x1f6ce6[_0x4f2a0c(0x3f3)])(this[_0x4f2a0c(0x487)],[[_0x10984f],[_0x22592a],[_0x32bb5d],[_0x1052b2]]);}[_0x47cc0f(0x276)](){const _0x4e513a=_0x47cc0f;this[_0x4e513a(0x487)][_0x4e513a(0x1e3)](_0x10984f)['initShapePopupMenu']();}[_0x47cc0f(0x234)](){const _0x1fbf2d=_0x47cc0f;[[_0x53675d],[_0x40f08e],[_0x14dca1]][_0x1fbf2d(0x3ec)](_0xe57e1=>this['_injector'][_0x1fbf2d(0x317)](_0xe57e1)),(0x0,_0x1f6ce6[_0x1fbf2d(0x3f3)])(this[_0x1fbf2d(0x487)],[[_0x14dca1],[_0x40f08e]]),this[_0x1fbf2d(0x4bb)][_0x1fbf2d(0x3aa)](_0x1f6ce6['UniverInstanceType'][_0x1fbf2d(0x1e0)],[_0x53675d]),this[_0x1fbf2d(0x4bb)][_0x1fbf2d(0x3aa)](_0x1f6ce6['UniverInstanceType'][_0x1fbf2d(0x1e0)],[_0x4cfdda]),this[_0x1fbf2d(0x4bb)]['registerRenderModule'](_0x1f6ce6['UniverInstanceType'][_0x1fbf2d(0x1e0)],[_0x410c0c]),this[_0x1fbf2d(0x4bb)]['registerRenderModule'](_0x1f6ce6[_0x1fbf2d(0x2c2)][_0x1fbf2d(0x1e0)],[_0x3066a2]),this['_renderManagerService'][_0x1fbf2d(0x3aa)](_0x1f6ce6[_0x1fbf2d(0x2c2)][_0x1fbf2d(0x4f2)],[_0x28e3b2]);}[_0x47cc0f(0x2e9)](){const _0x2c6dc1=_0x47cc0f;this[_0x2c6dc1(0x487)][_0x2c6dc1(0x317)]([_0x4c917c]),this['_injector'][_0x2c6dc1(0x1e3)](_0x4c917c);let _0x353d98=this[_0x2c6dc1(0x487)];[[_0x10984f],[_0x22592a],[_0x32bb5d],[_0x1052b2],[_0x3e709a],[_0x58197e],[_0x28ef11],[_0x277ed1],[_0x50cf21]][_0x2c6dc1(0x3ec)](_0x2c96c3=>_0x353d98['add'](_0x2c96c3)),(0x0,_0x1f6ce6[_0x2c6dc1(0x3f3)])(this[_0x2c6dc1(0x487)],[[_0x10984f],[_0x22592a],[_0x32bb5d],[_0x3e709a],[_0x58197e],[_0x28ef11],[_0x277ed1],[_0x50cf21]]);}[_0x47cc0f(0x2e3)](){const _0x168694=_0x47cc0f;[_0x5cbac9,_0x4417a8,_0x37a4eb,_0xff3fa,_0x28d529,_0x8a7706][_0x168694(0x3ec)](_0x4a66ea=>this[_0x168694(0x216)](this[_0x168694(0x3e1)][_0x168694(0x282)](_0x4a66ea)));}};_0x562cac(_0x337844,_0x47cc0f(0x4b8),_0x1f6ce6[_0x47cc0f(0x2c2)][_0x47cc0f(0x1e0)]),_0x562cac(_0x337844,_0x47cc0f(0x428),_0x47cc0f(0x2ed)),_0x562cac(_0x337844,_0x47cc0f(0x3e6),_0x42bb74),_0x562cac(_0x337844,_0x47cc0f(0x4f5),_0x2a0107),_0x337844=_0x51130a([(0x0,_0x1f6ce6[_0x47cc0f(0x203)])(_0x45c59e['UniverLicensePlugin'],_0x10236c['UniverShapeEditorUIPlugin'],_0x1700e5[_0x47cc0f(0x3fc)],_0x5927be['UniverSheetsShapePlugin']),_0x3607f9(0x1,(0x0,_0x1f6ce6['Inject'])(_0x1f6ce6[_0x47cc0f(0x2ae)])),_0x3607f9(0x2,_0x1f6ce6[_0x47cc0f(0x2bd)]),_0x3607f9(0x3,_0x1f6ce6[_0x47cc0f(0x23d)]),_0x3607f9(0x4,_0x58b748[_0x47cc0f(0x34e)])],_0x337844),_0x3349db[_0x47cc0f(0x35e)]=_0x23ff6d,Object[_0x47cc0f(0x2de)](_0x3349db,_0x47cc0f(0x1fb),{'enumerable':!0x0,'get':function(){return _0x337844;}});}));function _0x4bbf(){const _0x4d2bf2=['flipX','setSrcRect','localToWorld','pushUndoRedo','UpdateSheetsShapeDataMutation','offsetX','_createControls','ISidebarService','dispose','getFocusDrawings','getTextModel','ShapeRenderModeEnum','toStringTag','#bcbcbc','GROUP','DRAWING_OBJECT_LAYER_INDEX','getShapePopupMenus','skeleton','pipe','disableShapeOption','setOnSavingEditorData','worldPoints','createShapeTextBoxShapeData','_baseShapeTop','updateDocumentDataMargin','@univerjs/engine-render','_sheetShapeAdjustController','_resetState','getImageSourceCache','_urlImageService','_activeAdjustInfo','index','setAdjustValueByName','intercept','COPY_TYPE','onSavingEditorData$','getStartConnectInfo','close','forward','VIEW_MAIN_TOP','DocCanvasPopManagerService','marginTop','prepareShapeTextDocumentData','currentColor','DrawingCommonPanel','_sidebarService','getShapeDataById','7OzlIsM','_init','evenodd','removeLinePoints','_registerGroupFeaturePasteHook','univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','ShapeTextEditorContainer','LEFT','_draw','ShapeIcon','#FFFFFF','object','SetDrawingArrangeCommand','scene','_currentConnectionTarget','getActiveSheet','cos','getSkeletonParam','shouldAllowShapeTextEditorHostSizeShrink','clearAdjustControls','461256UIPGPS','IURLImageService','generateRandomId','DRAWING_IMAGE','pick','_shapeId','_highlightedSiteIndex','sheets-shape-ui.openPanel','adjHandleStroke','isHit','resolveShapeTextEditorWrapStrategy','_drawingType','getDrawingVisible','_showConnectionSites','_initMenu','_insertingShapeKeys','WorksheetEditPermission','isArray','children','copyType','VerticalAlign','getBasicShapeRotateBound','indexOf','_injector','getUnitId','function','drawing.operation.set-drawing-active','_config','StraightConnector1','_iconManager','UniverDocsUi','_clearControls','vertical','PRINTING_COMPONENT_COLLECT','createControl$','canvas','sin','Vector2','_getConnectPointInfo','_cxnIndex','_drawingAddListener','MenuItemType','ToggleSheetsShapeFlipCommand','makeDirty','_registerMoveHandler','_clipService','idSuffix','getUnit','discreteRangeToRange','setShapeProps','subscribeEvent','UniverDocs','applyPoint','description','transformByState','_executeConnectedRouteConnectionCommand','_isHighlighted','values','updateShapeFillImage','_registerComponents','shape-text-','multiply','renderDrawingShape','_adjHandlerPointerUp','flipY','subscribe','_initializedShapePopupMenu','preValue','_cxtHandlerPointerUp','@univerjs-pro/shape-editor-ui','VIEW_MAIN_LEFT','React','type','error','SheetSkeletonManagerService','_renderManagerService','focusDrawing','deriveStateFromActiveSheet$','sheets-shape-ui.formatShape','820LvXzcp','parse','IDrawingManagerService','jsx','Module','SetSheetsShapeRotateCommand','UniverProShapeEditorUi','xlink:href','_shapeService','offsetY','_baseShapeWidth','FromArray','Circle','sectionCanvas','url(#$1','registerFeaturePasteHook','sheets-shape-ui.config','_shapes','getConnectionInfo','_contextService','translateWithPrecision','getDrawingShapeKeyByDrawingSearch','getCurrentLastSelection','highlighted','getObjectIncludeInGroup','shapeId','ShapeTypeEnum','_hasReset','ShapeDefaultConfig','rotation','_sheetDrawingShapeRenderController','_copyInfo','_calculateFreeEndpointAngle','adjName','syncExecuteCommand','DocumentDataModel','unit','shapeData','Documents','beginPath','clearAdjustValue','_disposePopups','cxnPointStrokeWidth','_registerDrawingFocusChangeHandler','@univerjs-pro/sheets-shape-ui','rxjs','_activeShapeAdjustPointList','selectable','image','getTextStyle','UpdateLineShapeResizeCommand','UNIVER_DOC','_isConnecting','UniverDrawing','version','ang','stringify','_findShapeAtPoint','relation','@univerjs-pro/engine-shape','viewportScrollX','_baseShapeLeft','createInternalEditorID','M1.33203\x205.40015C1.33203\x204.55622\x202.01618\x203.87207\x202.86011\x203.87207H10.5998C11.4437\x203.87207\x2012.1278\x204.55622\x2012.1278\x205.40015V13.1398C12.1278\x2013.9837\x2011.4437\x2014.6679\x2010.5998\x2014.6679H2.86011C2.01618\x2014.6679\x201.33203\x2013.9837\x201.33203\x2013.1398V5.40015ZM2.86011\x205.14217C2.71763\x205.14217\x202.60213\x205.25767\x202.60213\x205.40015V13.1398C2.60213\x2013.2823\x202.71763\x2013.3978\x202.86011\x2013.3978H10.5998C10.7422\x2013.3978\x2010.8577\x2013.2823\x2010.8577\x2013.1398V5.40015C10.8577\x205.25767\x2010.7422\x205.14217\x2010.5998\x205.14217H2.86011Z','sheet.image-clip.shape-picker.component','changeEnd$','ImageSourceTypeEnum','sheet.operation.open-shape-object-list-panel','_baseDrawingRect','VIEW_MAIN','assign','UNIVER_SHEET','_getSceneAndTransformerByDrawingSearch','clipTop','get','with','merge','remove$','sheets-shape-ui.insertShape','height','onPointerUp$','getShapeTextData','displayName','size','_activeShapeInfo','shape','_currentUniverService','invert','createElement','RibbonInsertGroup','lineShapeId','_reset','getConnectorLinePoints','changeStart$','end','smartArt','_addControl','sheets-shape-ui.rotateLeft90','UniverSheetsShapeUIPlugin','attachRangeWithCoord','sheet.operation.close-sheet-shape-format-panel','_rerouteConnectorLine','_updateShapeAdjustControls','endConnectionDetection','_popupMenuListener','getShapeTextRect','DependentOn','getInverseCoord','localeService','isEditing','Shape','strokeWidth','blockExecuteWithoutPermission','scale','_createCopyInfoByRange','_sheetInterceptorService','isInGroup','updateDocumentStyle','default','updateContext','_attachConnectorObjectEvent','unsubscribe','update$','top-center','fillImageSource','disposeWithMe','react/jsx-runtime','group','_handleBasicShapeUpdateConnectorLineShape','reverse','40704TSYbow','abs','SheetsShapeService','SheetSkeletonService','_drawRichText','point','_updateAdjustControlPositions','viewBound','getAdjustInfoByName','getCurrentScrollState','onCommandExecuted','getSheetCommandTarget','setConfig','getObjectListPanelSectionIdForDrawingType','getSkeleton','getCurrentTypeOfUnit$','_createShapePopupMenu','computeConnectorRouteLayout','buildClipPath','current','sheets-shape-ui.rotateRight90','fillType','addImageSourceCache','next','hidden','onReady','_executeConnectionCommand','_disposed','drawWith','_generatePasteMutations','objects','setCursor','onRendered','rect','IConfigService','getImage','transform','cxnPointStroke','_focusedDrawings','_unitId','[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image','name','useMemo','_activeImageId','gdRefX','useReducer','sheet.command.update-shape-data','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','OBJECT_LIST_FLOATING_SECTION_ID','prstGeomAdjValues','colorChannel1','_imageIoService','attachTransformerTo','@univerjs/drawing','sheets-shape-text-','getActualSize','forwardRef','_closeShapeEditPanel','@univerjs/sheets-drawing','getEditing','drawingId','sheet.shape.floating-toolbar','getAdjustNames','_isStartAdjusting','insertGroupObject','_baseLeft','Disposable','asObservable','angle','getDrawingSearch','WorkbookEditablePermission','_findNearestConnectionSite','ShapePickerPanel','_sheetCanvasPopManagerService','IMenuManagerService','fill','ShapeArrowSizeEnum','getSelectedObjectMap','getCurrentUnitInfo','_adjName','_univerInstanceService','calculate','getBatchAddOp','1em','_registerOperations','open','startConnectionDetection','filter','SheetsSelectionsService','svg','ConnectorCoordinateTransform','onSteady','getSheetBySheetId','src','register','_initialize','getCurrentRangeDisable$','restore','getCurrentSkeleton','cxnPointFill','_loadShapePictureFill','_editingParams$','getConnectionRelation','registerCommand','DEFAULT_PASTE','undo','clearActiveDrawingObjects','548564iMkbpy','_isOpenedShapeEditPanel','_shapeTextEditingService','_transform','endArrow','_isShouldShowDrawingShapeAdjust','shapeModel','SetSheetsShapeTextVerticalToggleCommand','length','CopySheetCommand','getObject','_openShapeEditPanel','from','set','_targetShapeId','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','adjustValues','_getImagePrstGeom','ShapeModel','_connectorObjects','lineType','getDrawingData','resolveShapeTextDocumentRenderLayout','_updateSrcRectByTransform','_initSelection','DRAWING_TABLE','dom','calcAdjValue','complete','_getImageDrawingInfo','None','DrawingImageClipService','fillImageSourceType','_adjHandlerPointerMove','classType','DrawingRenderService','data','_subUnitId','resetCursor','custom','Injector','_registerDrawingMoveHandler','actualHeight','BUTTON','drawingType','initShapePopupMenu','replace','@univerjs-pro/license','some','FOCUSING_COMMON_DRAWINGS','_currentScene','_transformCalculateSrcRect','Transform','PREDEFINED_HOOK_NAME','_sidebarDisposable','ICommandService','SheetCanvasPopManagerService','getParent','extraProps','startX','UniverInstanceType','TOP','9835080OYTrgO','image-clip-adjust-point-','focus$','jsxs','_context','sheet.shape.text.float-menu','VIEW_MAIN_LEFT_TOP','executeCommand','getDrawingOKey','attrs','isRichText','clip-adj-','SolidFill','SHAPE','startArrow','_cxtHandlerPointerMove','enableObjectsEvent','defs','useEffect','_menuManagerService','getShapeType','_sheetClipboardService','1.0.0-alpha.4','getBentTypeFromPoints','path','SetDrawingApplyMutation','defineProperty','_baseWidth','OPERATION','subUnitId','setShouldShowAdjust','_initCommands','_getDrawingRect','sheets-shape-ui.deleteShape','trim','sheet.command.menu-insert-shape','DocSelectionRenderService','onStarting','Arrow','changeShapeType','ShapeFillEnum','SHEET_SHAPE_UI_PLUGIN','ShapeTextFloatToolbar','onPointerDown$','SHAPE_EDITOR_TRANSFORMER_CONFIG','gdRefY','getMenuHiddenObservable','isStartConnectorPoint','permissionCheckWithoutRange','_getShapeInfo','_activeShapeModel','@univerjs/sheets-ui','_props','_draggingConnectorId','cancelEditing','clip-','targetShapeId','random','setPrstGeom','has','width','54qSfNiM','setEditing','setHighlighted','_isDrawingShapePointDown','params','_insertShapes','@univerjs/docs-ui','horizontal','CUT','Medium','BehaviorSubject','_sheetSkeletonService','EMPTY','CommandType','_getConnectionSiteAngle','symbol','_updateImageAdjValues','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','_handleFreeEndpointMove','_sheetPrintInterceptorService','sheet.operation.open-sheet-shape-format-panel','switchMap','add','InsertSheetsShapeMutation','string','sheets-shape-ui.toggleTextVertical','_registerShapeMenu','CURSOR_TYPE','toDisposable','getInterceptPoints','#1a73e8','_getScrollInfo','resourceCollector','@univerjs-pro/sheets-shape','prstGeom','DRAWING_DOM','DRAWING_CHART','_addShapeConnectorHandlerObject','getAdjustValueByName','registerFeatureMenu','_activeTargetShapeId','sheets-shape-ui.objectListPanel.title','REMOVE','_commandExecutedListener','color','IUniverInstanceService','clipHeight','_componentManager','shape-adjust-point-','DRAWING_VIDEO','_activeShapeId','sheets-shape-ui.toggleFlipV','UniverSheets','_sheetBasicShapeConnectionPointController','value','URL','updateConnectionDetection','resize','isHorizontal','getTransformerByCreate','ShapeArrowTypeEnum','Image','adjHandleSize','6736504oIRnDT','@univerjs/core','transformToAxisAlignPosition','isCurvedConnectorShape','getState','disableObjectsEvent','fontFamily','getEndConnectInfo','_drawSimpleText','shapeKey','getUnitType','DrawingApplyType','_onSavingEditorData$','getMatrix','IRenderManagerService','react','getRenderById','12nszxBi','sqrt','0\x200\x2016\x2016','ancestorTransform','_executeResizeCommand','refreshTransform','translate','map','start','_executeConnectedRouteResizeCommand','PictureFill','_handleConnectorPointerUp','getBasicShapeRelation','SheetsShapeUIMenuSchema','Inject','ArrangeTypeEnum','getObjectListPanelTypeName','contentVerticalOffset','DocumentSkeleton','CopyDoubleIcon','ISheetDrawingService','cxnPointRadius','visible','shapeText','clearControl$','DRAWING_UNIT','_initPrinting','substring','_shapeRenderController','delete','DocumentViewModel','_baseHeight','render','ShapeLineTypeEnum','onDblclick$','_handleConnectedEndpointPointerUp','cxnIndex','getAllUnitsForType','worldRect','_drawingRenderService','transformForAngle','UniverEngineRender','mergeMenu','registerFeatureMenuOffset','mask','_registerIcons','_initEditingParams','_initCopyPaste','getShapeModel','@univerjs/docs','setCanUseShapeClip','sheetTransform','editingParams$','UpdateConnectorRelationCommand','_handleConnectedEndpointMove','title','sheetViewStartRow','worldPoint','DrawingTypeEnum','_activeAdjustPointList','getZoomRatio','ShapeFloatingToolbar','getValue','constructor','UniverCore','sheets-shape-ui.hidePanel','_attachAdjustEvent','unitId','axisAlignSheetTransform','_addShapeConnectorHandlerObjects','Path','fontSize','sheet.shape.picker.component','_generateCopyPasteMutations','getDrawingEditable','changing$','gdRefAng','RemoveSheetsShapeMutation','UPDATE','_createShapeAdjustControls','srcRect','getDrawingByParam','@univerjs/ui','UniverIcon','connector-handler-','popup','RENDER_CLASS_TYPE','slice','SheetDrawingAnchor','registerRenderModule','INSERT','onPointerMove$','top','gdRefR','clip','5464701qFhmBO','_baseShapeHeight','univerjs-icon\x20univerjs-icon-','_generateCutPasteMutations','getShapeData','redo','_isStartConnectorPoint','@univerjs/sheets','getConnectionSiteList','_getShapeAdjustInfosById','setShapeData','_configService','oKey','UniverUi','_baseTop','_sheetDrawingService','DRAWING_SHAPE','sheets-shape-ui','FOCUSING_SHAPE_TEXT_EDITOR','left','_sheetsShapeService','viewportScrollY','_localeService','sheets-shape-ui.objectListPanel.open','_addShapeAdjustControl','startY','call','DRAWING_GROUP','_clearShapeConnectorHandlerObjects','_shapeEditPanelVersion','_clearConnectionSites','sheet.shape.object-list.panel','setFillImage','isConnectorShape','computeConnectorResizeLayout','interceptor','_clearShapeAdjustControls','normalizeShapeTextModel','activeAnObject','featurePluginUpdateNotification','_isImagePointerDown','dataModel','stroke','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','_updateTransform','resolveShapeTextEditorBehaviorShapeData','div','_moveConnectorWithShape','setPrstGeomAdjValues','_commandService','sheets-shape-ui.imagePanel.crop.shape','updateLinePoints','getBatchRemoveOp','push','packageName','SheetShapeTextEditorContainer','CROSSHAIR','DRAWING_SMART_ART','_loadAndSetImage','_groupCopyPasteController','forEach','_getOrCreateShapeModel','sheetViewStartColumn','clipByShape','includes','DocSelectionManagerService','UniverDrawingUi','touchDependencies','_lastEditingShapeKey','refreshAdjustControls','setContextValue','getRealBound','find','getDrawingPoints','getViewportByCell','draw','UniverSheetsDrawingUIPlugin','useDependency','_initSheetChange','COMMAND','_shapeUpdateListener','getSheetId','_getZoomRatio','refreshShapeFillImage','_handleFreeEndpointPointerUp','parent','LocaleService','Line','addObject','isHighlighted','_sheetPermissionCheckController','_getShapeAdjustPointListById','UniverProSheetsShapeUi','getShapeTypeById','shapeType','getDrawingOrder','entries','_connectionSiteObjects','stopPropagation','isDrawingObject','gradientEndColor','save','_drawingManagerService','tag','_clearPopups','none','SheetScrollManagerService','SHEET_VIEWPORT_KEY','getBatchUpdateOp','SolidLine','ShapePickerDropdown','_registerImageShapeClipDelegate','Observable','routeConnectorLineShape','UUID','useObservable','useRef','onload','@univerjs/drawing-ui','transformToDrawingPosition','pluginName','SetDrawingSelectedOperation','activateDrawingObject','activeSheet$','interceptCommand'];_0x4bbf=function(){return _0x4d2bf2;};return _0x4bbf();}
|