@univerjs-pro/sheets-shape-ui 1.0.0-alpha.8 → 1.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/commands/command/update-shape-data.command.d.ts +1 -0
  62. package/lib/types/commands/operations/shape-ribbon.operation.d.ts +13 -0
  63. package/lib/types/const.d.ts +7 -0
  64. package/lib/types/controllers/shape-contextual-ribbon.controller.d.ts +18 -0
  65. package/lib/types/locale/en-US.d.ts +1 -0
  66. package/lib/types/menu/schema.d.ts +1 -0
  67. package/lib/types/menu/shape-format-ribbon.menu.d.ts +20 -0
  68. package/lib/types/views/shape-floating-toolbar/ShapeFloatingToolbar.d.ts +2 -3
  69. package/lib/types/views/shape-format-ribbon/SheetsShapeFormatRibbonControls.d.ts +8 -0
  70. package/lib/umd/index.js +1 -1
  71. package/lib/umd/locale/ar-SA.js +1 -1
  72. package/lib/umd/locale/ca-ES.js +1 -1
  73. package/lib/umd/locale/de-DE.js +1 -1
  74. package/lib/umd/locale/en-US.js +1 -1
  75. package/lib/umd/locale/es-ES.js +1 -1
  76. package/lib/umd/locale/fa-IR.js +1 -1
  77. package/lib/umd/locale/fr-FR.js +1 -1
  78. package/lib/umd/locale/id-ID.js +1 -1
  79. package/lib/umd/locale/it-IT.js +1 -1
  80. package/lib/umd/locale/ja-JP.js +1 -1
  81. package/lib/umd/locale/ko-KR.js +1 -1
  82. package/lib/umd/locale/pl-PL.js +1 -1
  83. package/lib/umd/locale/pt-BR.js +1 -1
  84. package/lib/umd/locale/ru-RU.js +1 -1
  85. package/lib/umd/locale/sk-SK.js +1 -1
  86. package/lib/umd/locale/vi-VN.js +1 -1
  87. package/lib/umd/locale/zh-CN.js +1 -1
  88. package/lib/umd/locale/zh-HK.js +1 -1
  89. package/lib/umd/locale/zh-TW.js +1 -1
  90. package/package.json +20 -20
  91. package/lib/types/views/ShapeOptions.d.ts +0 -26
  92. package/lib/types/views/shape-editor-panel/ShapeLineEditor.d.ts +0 -11
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x19bc(){const _0x1d9f57=['getObjectIncludeInGroup','classType','onReady','horizontal','clone','dataModel','ObjectListPanelBase','_baseHeight','getImageSourceCache','setHighlighted','computeConnectorRouteLayout','useObservable','#4285f4','render','_executeResizeCommand','function','getCurrentTypeOfUnit$','getDrawingOKey','startArrow','calculate','defs','isInGroup','_formulaAnimation','sheet.command.update-shape-data','params','DocumentSkeleton','getRenderUnitById','ShapeTypeEnum','_draw','REMOVE','CURSOR_TYPE','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','ArrangeTypeEnum','getObjectListPanelLabels','_getShapeAdjustInfosById','custom','isRender','Vector2','_adjName','translateWithPrecision','sheet.menu.shape.flip-vertical','_baseShapeHeight','_sheetDrawingShapeRenderController','_showConnectionSites','permissionCheckWithoutRange','_onSavingEditorData$','_executeConnectionCommand','_drawRichTextLayer','useMemo','_shapeService','_drawRichText','onerror','UniverIcon','_handleConnectedEndpointPointerUp','DRAWING_VIDEO','setAdjustValueByName','_commandService','attrs','_generatePasteMutations','sheets-shape-ui.objectListPanel.title','_shapeTextEditingService','mask','SHAPE','delete','setFormulaPresentation','_createCopyInfoByRange','_sheetClipboardService','ContextMenuPosition','_imageShapeClipController','offsetY','_drawingType','updateLinePoints','cxnPointFill','_rerouteConnectorLine','getDrawingShapeKeyByDrawingSearch','getConnectorLinePoints','FlipHorizontalIcon','generateRandomId','setPrstGeom','onTransformChange$','startX','M8\x2014V14.2','_registerDrawingFocusChangeHandler','DocSelectionRenderService','getUnit','@univerjs/docs-ui','_addShapeConnectorHandlerObjects','axisAlignSheetTransform','_disposed','196382AJfFMQ','merge','prstGeomAdjValues','_clearShapeConnectorHandlerObjects','VIEW_MAIN_LEFT','ShapeIcon','2230020DDThTe','isHitLine','popup','getBasicShapeRotateBound','onPointerMove$','SHEET_VIEWPORT_KEY','close','memo','removeLinePoints','resolveFormulaShapeAutoFitSize','onRendered','forEach','clip-adj-','set','defIds','completeEditing','SolidFill','drawWith','_formulaKey','registerClipDelegate','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','UniverUi','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','Rect','Large','changeEnd$','transform','_releaseRenderCache','getMatrix','intercept','setShouldShowAdjust','getUnitId','isHorizontal','worldPoints','sheets-shape-ui.objectListPanel.open','WorksheetEditPermission','UniverSheetsPlugin','setConfig','shapeId','doc','prototype','ComponentManager','getConnectionSiteList','jsx','get','_calculateFreeEndpointAngle','formulaBinding','_transform','addObject','_handleFreeEndpointMove','sheet.shape.object-list.panel','UniverSheetsUi','length','createElement','visible','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','ShapeModel','canvas','@univerjs-pro/shape-editor-ui','_props','registerFeaturePasteHook','URL','EMPTY','setOnSavingEditorData','FOCUSING_SHAPE_TEXT_EDITOR','MenuItemType','_highlightedSiteIndex','data','UniverDrawingPlugin','colorChannel1','gradientEndColor','computeStraightConnectorLayout','drawingType','image','_baseShapeTop','ImageSourceTypeEnum','localToWorld','updateShapeFillImage','toDisposable','replace','UniverShapeEditorPlugin','_activeImageId','getSheetCommandTarget','ShapeDefaultConfig','IImageIoService','getSheetId','isLineShape','DrawingApplyType','_shapeUpdateListener','getActiveSheet','ISheetClipboardService','_setTransForm','update$','_isConnecting','6GKVJQu','point','@univerjs/sheets-ui','UniverSheetsShapePlugin','_lastEditingShapeKey','clipHeight','getSkeleton','SetDrawingArrangeCommand','unsubscribe','DrawingImageClipService','getSelectedObjectMap','VerticalAlign','_sheetsShapeService','calcAdjValues','_initCopyPaste','url(#$1','_sheetCanvasPopManagerService','_isHighlighted','sheet.operation.open-sheet-shape-format-panel','getZoomRatio','useState','0\x200\x2016\x2016','useReducer','create','@univerjs/ui','RemoveSheetsShapeMutation','_urlImageService','parent','adjustValues','switchMap','_applyFormulaAutoFitSize','sheetViewStartColumn','getTransformerByCreate','_baseWidth','ToggleSheetsShapeFlipCommand','fillImageSourceType','M14\x208H14.2','isHit','unitId','SELECTOR','useRef','sheet.shape.edit.panel','_initPrinting','extensionGroups','_getShapeAdjustPointListById','current','UniverProLicense','svg','keys','getEndConnectInfo','undo','focus$','SolidLine','refreshTransform','prepareShapeTextDocumentData','getBentTypeFromPoints','Shape','Observable','OBJECT_LIST_FLOATING_SECTION_ID','PictureFill','decorate','INSERT','xlink:href','setContextValue','_config','getParent','_registerComponents','@univerjs/engine-render','offsetX','_injector','copyType','_clearConnectionSites','_getOrCreateShapeModel','getUnitType','objects','getOwnPropertyDescriptor','SheetsShapeService','sheets-shape-ui.flipHorizontal','isRichText','plainShapeTextToDocumentData','worldPoint','getCurrentScrollState','_activeTargetShapeId','SetDrawingSelectedOperation','240823dJnXYN','UniverDocs','clearActiveDrawingObjects','UniverProSheetsShapeUi','getShapeDataById','_renderManagerService','clearAdjustValue','complete','attachRangeWithCoord','changing$','error','onStarting','ShapeTextEditorContainer','includes','Image','filter','SetSheetDrawingCommand','_generateCopyPasteMutations','getDrawingEditable','fillType','transformToDrawingPosition','_handleBasicShapeUpdateConnectorLineShape','setCursor','useEffect','ShapeRenderModeEnum','Injector','VIEW_MAIN_LEFT_TOP','_isOpenedShapeEditPanel','viewportScrollX','debounceRefreshControls','_initPermission','getDrawingByParam','entries','RibbonInsertGroup','iterator','fontFamily','getValue','UpdateSheetsShapeDataMutation','BUTTON','image-clip-adjust-point-','_sidebarService','_baseTop','useFormulaShapeToolbar','DRAWING_OBJECT_LAYER_INDEX','IConfigService','substring','shape-adjust-point-','_createControls','routeConnectorLineShape','dom','applyPoint','_drawingAddListener','strokeWidth','@univerjs/drawing','currentColor','marginTop','stroke','SheetScrollManagerService','OPERATION','SetDrawingApplyMutation','_attachAdjustEvent','M8\x206.2V7.8','index','_initEvents','createShapeFormulaDocument','displayName','UniverEngineRender','trim','UniverDrawingUIPlugin','remove$','endArrow','doc.image-clip.shape-picker.component','SheetsSelectionsService','srcRect','getTransformer','SheetPermissionCheckController','_isShouldShowDrawingShapeAdjust','getAdjustInfoByName','WorkbookEditablePermission','resolveShapeTextEditorWrapStrategy','_initCommands','FlipVerticalIcon','flip-horizontal-icon','default','DRAWING_TABLE','_addShapeAdjustControl','contentVerticalOffset','getFocusDrawings','_transformCalculateSrcRect','getMenuHiddenObservable','isDrawingObject','_cxtHandlerPointerUp','_initSheetChange','_localeService','renderDrawingShape','clearAdjustControls','disableObjectsEvent','none','getSkeletonParam','sheet.operation.close-sheet-shape-format-panel','size','isStartConnectorPoint','_formulaShapes','blockExecuteWithoutPermission','getPresentation','SheetCanvasPopManagerService','_registerGroupFeaturePasteHook','_activeAdjustInfo','_updateAdjustControlPositions','TOP','focusDrawing','724779bFSUyR','shapeModel','_baseLeft','_getZoomRatio','_sheetPrintInterceptorService','drawFormulaShapeAnimationLayers','Disposable','IRenderManagerService','add','Circle','getTextModel','UniverDrawing','resolveShapeTextEditorBehaviorShapeData','has','object','wrapStrategy','refreshAdjustControls','Documents','shapeType','ConnectorCoordinateTransform','assign','_clearShapeAdjustControls','_drawingRenderService','DrawingTypeEnum','_isDrawingShapePointDown','_disposePopups','ShapePickerDropdown','map','_activeAdjustPointList','_connectorObjects','_clearControls','DRAWING_CHART','PREDEFINED_HOOK_NAME','activeSheet$','viewportScrollY','subscribeEvent','getScene','getConnectionInfo','_createShapeAdjustControls','_currentUniverService','UniverSheetsDrawingPlugin','_baseDrawingRect','_unitId','left','setFillImage','slice','_attachConnectorObjectEvent','_getConnectionSiteAngle','name','getShapeTextData','Inject','sheets-shape-ui.flipVertical','version','ShapePickerPanel','LEFT','getBasicShapeRelation','from','updateConnectionDetection','_isImagePointerDown','DRAWING','_executeConnectedRouteResizeCommand','table','_generateCutPasteMutations','DocumentViewModel','_addControl','draw','DEFAULT_PASTE','UniverProEngineShape','useDependency','reverse','_connectionSiteObjects','unregister','resize','_loadShapePictureFill','lineShapeId','value','composeMatrix','Line','_updateSrcRectByTransform','160924eIlKwh','resetCursor','CommandType','setEditing','redo','ISheetDrawingService','_currentScene','cancelEditing','CUT','sheets-shape-ui.formatShape','isEditing','forwardRef','_contextService','getShapeModel','UUID','sectionCanvas','pluginName','IContextService','translate','_focusedDrawings','_registerMoveHandler','type','IUndoRedoService','_loadAndSetImage','sheet.command.menu-insert-shape','_initEditingParams','SheetShapeTextEditorContainer','symbol','getShapeTypeById','string','SheetInterceptorService','UniverLicensePlugin','worldRect','InsertSheetsShapeMutation','jsxs','scene','@univerjs/sheets-drawing-ui','preValue','_iconManager','_imageIoService','rotation','_getConnectPointInfo','touchDependencies','sheets-shape-ui.insertShape','_adjHandlerPointerUp','SheetSkeletonService','round','ShapeArrowTypeEnum','_shapeRenderController','values','_updateImageAdjValues','FormulaShapeAnimationController','20485RpPkIr','_openShapeEditPanel','ancestorTransform','_createShapePopupMenu','_updateShapeAdjustControls','shapeText','_adjHandlerPointerMove','getShapeType','packageName','UpdateConnectorRelationCommand','sheet.image-clip.shape-picker.component','_activeShapeId','COPY_TYPE','ShapeEditPanel','call','80ynMxJw','setSrcRect','_closeShapeEditPanel','getInterceptPoints','_hasReset','InsertShapeCommand','shape','_getImagePrstGeom','fill','getDrawingData','None','dispose','parse','start','IUniverInstanceService','getAdjustValueByName','onCommandExecuted','subscribe','1.0.0-alpha.8','adjHandleSize','_activeShapeInfo','M2.2\x208H3.8','beginPath','lineType','buildShapeTextDataUpdate','UniverDocsUi','_registerFocusChangeHandler','shouldClipShapeTextDocument','setShapeProps','attachTransformerTo','@univerjs/sheets-drawing','resourceCollector','_subUnitId','animationEnabled','IDrawingManagerService','UPDATE','prstGeom','_univerInstanceService','_activeShapeModel','getCurrentLastSelection','selectable','getDrawingVisible','getBatchRemoveOp','getDrawingEffectBounds','height','contentHeight','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','getObjectListPanelTypeName','_handleConnectorPointerUp','adjName','onPointerDown$','stopPropagation','_currentConnectionTarget','@univerjs-pro/shape-editor','getBatchAddOp','DocSelectionManagerService','_drawingManagerService','_initMenu','_getImageDrawingInfo','_resetState','adjHandleStroke','DRAWING_GROUP','getObject','normal','_shapes','_sheetSkeletonService','flipY','DrawingCommonPanel','SheetSkeletonManagerService','@univerjs-pro/sheets-shape','refreshShapeFillImage','push','ICommandService','_insertingShapeKeys','_registerImageShapeClipDelegate','sin','IconManager','getEditing','Fragment','updateContext','getViewportByCell','insertGroupObject','open','_isStartAdjusting','1em','angle','group','mergeMenu','startWith','_getScrollInfo','_registerDrawingMoveHandler','idSuffix','_targetShapeId','transformByState','HorizontalAlign','use','_draggingConnectorId','shapeKey','_sheetInterceptorService','SheetsShapeUIMenuSchema','enableObjectsEvent','restore','_init','interceptor','_initializedShapePopupMenu','UniverRenderEnginePlugin','getImage','ISidebarService','react','1329342MDkjGp','DRAWING_DOM','text','_baseShapeWidth','ShapeLineTypeEnum','with','indexOf','Plugin','fillImageSource','getShapeData','410MIpYXe','_handleFreeEndpointPointerUp','_context','_shapeFormulaService','_cxnIndex','_registerIcons','register','@univerjs/drawing-ui','ShapeTextFloatToolbar','DocumentDataModel','IMenuManagerService','_cxtHandlerPointerMove','transformForAngle','onSavingEditorData$','_getDrawingRect','width','vertical','hidden','getObjectListPanelSectionIdForDrawingType','getState','presentation','_activeShapeAdjustPointList','ObjectLayersIcon','isRenderLinePointsMode','UNIVER_DOC','syncExecuteCommand','cos','UniverSheetsUIPlugin','stringify','next','getShapeTextRect','getStartConnectInfo','connection-site-','discreteRangeToRange','_baseShapeLeft','subUnitId','cxnPointRadius','_handleConnectedEndpointMove','featurePluginUpdateNotification','_findNearestConnectionSite','COMMAND','_reset','_addShapeConnectorHandlerObject','_clearPopups','RemoveSheetDrawingCommand','UpdateLineShapeResizeCommand','_drawSimpleText','shouldAllowShapeTextEditorHostSizeShrink','#1a73e8','_copyInfo','_clipService','getRealBound','drawing.operation.set-drawing-active','executeCommand','updateDocumentStyle','clip-','resolveShapeTextDocumentRenderLayout','cxnIndex','cxnPointStroke','invert','UniverDocsPlugin','_getSceneAndTransformerByDrawingSearch','Path','_registerOperations','formulaPresentation','refreshFormulaPresentation','beforeCommandExecuted','univer-box-border\x20univer-px-4\x20univer-text-sm','VIEW_MAIN_TOP','CROSSHAIR','isHighlighted','_initialize','_sheetPermissionCheckController','drawingId','registerCommand','DRAWING_IMAGE','_editingParams$','getDrawingPoints','makeDirty','getCurrentRangeDisable$','SHEET_SHAPE_UI_PLUGIN','M8\x2010.2V11.8','UniverUIPlugin','_findShapeAtPoint','object-layers-icon','sheet.operation.open-shape-object-list-panel','_shapeId','adjHandleFill','pipe','oKey','_moveConnectorWithShape','some','flipX','skeleton','_configService','setPresentation','getInverseCoord','description','_updateTransform','unit','isArray','connector-handler-','relation','DRAWING_SMART_ART','shape-text-','CopySheetCommand','find','changeStart$','LocaleService','_menuManagerService','Arrow','ShapeTextFloatMenuRenderControllerBase','_isStartConnectorPoint','_sheetBasicShapeConnectionPointController','BehaviorSubject','fontSize','@univerjs-pro/engine-shape','disposeWithMe','getDrawingOrder','order','changeShapeType','setShapeData','startConnectionDetection','div','top-center','save','_componentManager','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','registerRenderModule','_sheetDrawingService','startY','_sheetShapeAdjustController','IURLImageService','_popupMenuListener','_renderWithCache','#FFFFFF','getSheetBySheetId','Transform','_insertShapes','endConnectionDetection','getCurrentSkeleton','getDrawingSearch','sectionFloating','http://www.w3.org/2000/svg','sheets-shape-ui.config','GROUP','children','editingParams$','isConnectorShape','_sidebarDisposable','UniverSheetsDrawingUIPlugin','top','ShapeGroupEnum','sheetTransform','getBatchUpdateOp','clearControl$','toStringTag','FOCUSING_COMMON_DRAWINGS','getAdjustNames','normalizeShapeTextModel','RENDER_CLASS_TYPE','animateFormulaPresentation','cxnPointStrokeWidth','OTHERS','DRAWING_SHAPE','multiply','asObservable','transformToAxisAlignPosition','@univerjs/docs','shapeData','initShapePopupMenu','SheetDrawingAnchor','_commandExecutedListener','UniverProSheetsShape','path','UniverDocsUIPlugin','tag','onPointerUp$','UNIVER_SHEET','UniverSheetsDrawingUi','onSteady','UniverInstanceType','_getShapeInfo','deriveStateFromActiveSheet$','localeService','smartArt','constructor','sheet.shape.picker.component','UniverSheets','@univerjs/sheets','defineProperty','clipByShape','628swCgtR','targetShapeId','_shapeEditPanelVersion'];_0x19bc=function(){return _0x1d9f57;};return _0x19bc();}function _0x93c9(_0x453bb0,_0x5a236e){_0x453bb0=_0x453bb0-0x10b;const _0x19bcd9=_0x19bc();let _0x93c90d=_0x19bcd9[_0x453bb0];return _0x93c90d;}(function(_0x2586f0,_0x376f2f){const _0x41a4a6=_0x93c9,_0x144b5d=_0x2586f0();while(!![]){try{const _0x36c275=-parseInt(_0x41a4a6(0x127))/0x1+-parseInt(_0x41a4a6(0x2fd))/0x2*(-parseInt(_0x41a4a6(0x361))/0x3)+parseInt(_0x41a4a6(0x2a1))/0x4*(parseInt(_0x41a4a6(0x15b))/0x5)+-parseInt(_0x41a4a6(0x303))/0x6+parseInt(_0x41a4a6(0x1d7))/0x7+-parseInt(_0x41a4a6(0x16a))/0x8*(parseInt(_0x41a4a6(0x424))/0x9)+-parseInt(_0x41a4a6(0x1e1))/0xa*(-parseInt(_0x41a4a6(0x3b5))/0xb);if(_0x36c275===_0x376f2f)break;else _0x144b5d['push'](_0x144b5d['shift']());}catch(_0x13021e){_0x144b5d['push'](_0x144b5d['shift']());}}}(_0x19bc,0x8fdaa),function(_0xb75d89,_0x3558e6){const _0x502680=_0x93c9;typeof exports==_0x502680(0x432)&&typeof module<'u'?_0x3558e6(exports,require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),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-pro/shape-editor-ui'),require('@univerjs/drawing-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define=='function'&&define['amd']?define(['exports',_0x502680(0x379),_0x502680(0x255),_0x502680(0x19f),_0x502680(0x1af),'@univerjs/core',_0x502680(0x29e),_0x502680(0x3ea),_0x502680(0x3a4),_0x502680(0x363),'rxjs',_0x502680(0x33d),_0x502680(0x1e8),'react/jsx-runtime','@univerjs-pro/license',_0x502680(0x289),_0x502680(0x2f9),_0x502680(0x188),_0x502680(0x14b),_0x502680(0x1d6)],_0x3558e6):(_0xb75d89=typeof globalThis<'u'?globalThis:_0xb75d89||self,_0x3558e6(_0xb75d89[_0x502680(0x3b8)]={},_0xb75d89[_0x502680(0x318)],_0xb75d89[_0x502680(0x11b)],_0xb75d89['UniverProShapeEditor'],_0xb75d89[_0x502680(0x28e)],_0xb75d89['UniverCore'],_0xb75d89[_0x502680(0x29d)],_0xb75d89[_0x502680(0x42f)],_0xb75d89[_0x502680(0x3f7)],_0xb75d89[_0x502680(0x336)],_0xb75d89['rxjs'],_0xb75d89['UniverProShapeEditorUi'],_0xb75d89['UniverDrawingUi'],_0xb75d89['React'],_0xb75d89[_0x502680(0x38f)],_0xb75d89[_0x502680(0x3b6)],_0xb75d89[_0x502680(0x183)],_0xb75d89['UniverSheetsDrawing'],_0xb75d89[_0x502680(0x294)],_0xb75d89['React']));}(this,function(_0x962624,_0x4b5551,_0x3d21cd,_0x32598e,_0x1b87be,_0x2eccf5,_0x2554f2,_0x215a9,_0x114b3e,_0x3c12d8,_0x124e3f,_0x25b599,_0x34fb64,_0x2dcc44,_0x3fe551,_0x4f7558,_0x2a24ec,_0x2a2650,_0x101b82,_0x33f0ff){const _0x1e3977=_0x93c9;Object[_0x1e3977(0x29f)](_0x962624,Symbol[_0x1e3977(0x27d)],{'value':'Module'});function _0x13b692(_0x3b58d1,_0x58c250){const _0x14d7cb=_0x1e3977;let _0x15cec3={};for(let _0x3eb233 of Object[_0x14d7cb(0x391)](_0x58c250)){let _0xa00a01=_0x58c250[_0x3eb233],_0x2160ae=_0x3b58d1[_0x3eb233];if(_0xa00a01!==void 0x0){if(_0x2160ae===void 0x0){_0x15cec3[_0x3eb233]=void 0x0;continue;}typeof _0xa00a01=='object'&&_0xa00a01&&!Array[_0x14d7cb(0x245)](_0xa00a01)&&typeof _0x2160ae==_0x14d7cb(0x432)&&_0x2160ae&&!Array[_0x14d7cb(0x245)](_0x2160ae)?_0x15cec3[_0x3eb233]=_0x13b692(_0x2160ae,_0xa00a01):_0x15cec3[_0x3eb233]=_0x2160ae;}}return _0x15cec3;}let _0x5a577b={'type':_0x2eccf5[_0x1e3977(0x129)][_0x1e3977(0x209)],'id':_0x1e3977(0x2bb),'handler':(_0x5a682d,_0x198b6e)=>{const _0x250e67=_0x1e3977;let _0x3449ab=_0x5a682d['get'](_0x1b87be['SheetsShapeService']),{unitId:_0x35e749,subUnitId:_0x43e097,shapeType:_0x49f9d8,shapeId:_0x29da79,shapeData:_0x564355,oldShapeJSON:_0x25a992}=_0x198b6e;if(!_0x3449ab[_0x250e67(0x134)](_0x35e749,_0x43e097,_0x29da79))return!0x1;let _0x5093d4=_0x5a682d[_0x250e67(0x32f)](_0x2eccf5[_0x250e67(0x1b2)]),_0x54534b=_0x5a682d['get'](_0x2eccf5[_0x250e67(0x13d)]),{oldShapeType:_0x5b9716,oldShapeData:_0x52f8d6={}}=_0x25a992,_0x8b37f1=_0x13b692(_0x52f8d6,_0x564355||{}),_0x112d47={'id':_0x1b87be['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x35e749,'subUnitId':_0x43e097,'shapeId':_0x29da79,'shapeType':_0x49f9d8,'shapeData':_0x564355}},_0x121117={'id':_0x1b87be[_0x250e67(0x3da)]['id'],'params':{'unitId':_0x35e749,'subUnitId':_0x43e097,'shapeId':_0x29da79,'shapeType':_0x5b9716,'shapeData':_0x8b37f1}};return _0x5093d4[_0x250e67(0x1fa)](_0x112d47['id'],_0x112d47['params'])?(_0x54534b['pushUndoRedo']({'unitID':_0x35e749,'undoMutations':[_0x121117],'redoMutations':[_0x112d47]}),!0x0):!0x1;}};function _0x3cdd2e(_0x456e8b,_0x4febf5,_0x136584,_0x396730,_0x5048c9,_0x267cfa){const _0x5c984d=_0x1e3977;let _0x344e56={'unitId':_0x4febf5,'subUnitId':_0x136584,'shapeId':_0x396730,'shapeData':_0x267cfa,'oldShapeJSON':_0x5048c9};return _0x456e8b[_0x5c984d(0x216)](_0x5a577b['id'],_0x344e56);}function _0x43c867(_0x1a6124,_0x2041e8,_0x289e41,_0x387471,_0x30a7be,_0x5061b2){const _0x17265b=_0x1e3977;let _0x1dc160={'unitId':_0x2041e8,'subUnitId':_0x289e41,'shapeId':_0x387471,'shapeData':_0x5061b2,'oldShapeJSON':_0x30a7be};return _0x1a6124[_0x17265b(0x216)](_0x5a577b['id'],_0x1dc160);}function _0x630d7d(_0x393f44){'@babel/helpers - typeof';const _0x11392f=_0x1e3977;return _0x630d7d=typeof Symbol==_0x11392f(0x2b3)&&typeof Symbol[_0x11392f(0x3d7)]==_0x11392f(0x142)?function(_0x46193f){return typeof _0x46193f;}:function(_0x410de8){const _0x4a822f=_0x11392f;return _0x410de8&&typeof Symbol==_0x4a822f(0x2b3)&&_0x410de8[_0x4a822f(0x29b)]===Symbol&&_0x410de8!==Symbol[_0x4a822f(0x32b)]?_0x4a822f(0x142):typeof _0x410de8;},_0x630d7d(_0x393f44);}function _0x5172cd(_0x49b5f8,_0x2de7a4){const _0x5a30fb=_0x1e3977;if(_0x630d7d(_0x49b5f8)!='object'||!_0x49b5f8)return _0x49b5f8;var _0x18f4f8=_0x49b5f8[Symbol['toPrimitive']];if(_0x18f4f8!==void 0x0){var _0xdb346=_0x18f4f8[_0x5a30fb(0x169)](_0x49b5f8,_0x2de7a4||_0x5a30fb(0x408));if(_0x630d7d(_0xdb346)!=_0x5a30fb(0x432))return _0xdb346;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2de7a4===_0x5a30fb(0x144)?String:Number)(_0x49b5f8);}function _0x1f9ce2(_0x35daec){const _0x136a6c=_0x1e3977;var _0x55c94f=_0x5172cd(_0x35daec,_0x136a6c(0x144));return _0x630d7d(_0x55c94f)==_0x136a6c(0x142)?_0x55c94f:_0x55c94f+'';}function _0x163ed0(_0x5381a3,_0x5b002f,_0x53187c){return(_0x5b002f=_0x1f9ce2(_0x5b002f))in _0x5381a3?Object['defineProperty'](_0x5381a3,_0x5b002f,{'value':_0x53187c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5381a3[_0x5b002f]=_0x53187c,_0x5381a3;}function _0x5c230c(_0x4b87ca,_0x17d0e1,_0x4b8c26){const _0x4123bd=_0x1e3977;var _0x480892;let _0xc7c029=(0x0,_0x25b599[_0x4123bd(0x430)])(_0x4b87ca,{..._0x17d0e1,'dataModel':{...(_0x480892=_0x17d0e1['dataModel'])==null?{}:_0x480892,..._0x4b8c26?{'doc':_0x4b8c26}:null}}),_0x25cd00=(0x0,_0x25b599[_0x4123bd(0x404)])(_0xc7c029);return{'clip':(0x0,_0x25b599[_0x4123bd(0x185)])(_0xc7c029,_0x25cd00),'wrapStrategy':_0x25cd00};}var _0x34cbbf=class extends _0x114b3e[_0x1e3977(0x399)]{constructor(_0x3f21c2,_0x52e889){const _0x8bf63d=_0x1e3977;super(_0x3f21c2,_0x52e889),_0x163ed0(this,_0x8bf63d(0x33e),void 0x0),_0x163ed0(this,_0x8bf63d(0x2ba),new _0x25b599[(_0x8bf63d(0x15a))](()=>this[_0x8bf63d(0x22f)](!0x0),()=>this['_applyFormulaAutoFitSize']())),_0x163ed0(this,_0x8bf63d(0x40d),!0x0),_0x163ed0(this,_0x8bf63d(0x2ea),_0x2eccf5['DrawingTypeEnum'][_0x8bf63d(0x285)]),_0x163ed0(this,_0x8bf63d(0x40f),!0x0),this[_0x8bf63d(0x33e)]={..._0x52e889},this[_0x8bf63d(0x2ba)]['setPresentation'](_0x52e889[_0x8bf63d(0x221)],_0x52e889[_0x8bf63d(0x282)]!==!0x1),this[_0x8bf63d(0x1d0)](),this[_0x8bf63d(0x37f)]();}[_0x1e3977(0x1d0)](){const _0x2835a3=_0x1e3977;this[_0x2835a3(0x2f3)]['subscribeEvent'](_0x5dc869=>{const _0x35a531=_0x2835a3;this[_0x35a531(0x126)](_0x5dc869);});}[_0x1e3977(0x2f2)](_0xe10f1){const _0x148f58=_0x1e3977;this[_0x148f58(0x33e)][_0x148f58(0x18e)]=_0xe10f1;}[_0x1e3977(0x12a)](_0x38108d){const _0x17ad46=_0x1e3977;this[_0x17ad46(0x33e)][_0x17ad46(0x131)]=_0x38108d,this[_0x17ad46(0x22f)](!0x0);}['setFormulaPresentation'](_0x111fa2,_0x12bbb7=!0x0){const _0x28e164=_0x1e3977;this[_0x28e164(0x2ba)][_0x28e164(0x240)](_0x111fa2,_0x12bbb7),this['_props'][_0x28e164(0x221)]=_0x111fa2,this[_0x28e164(0x37f)](),this['makeDirty'](!0x0);}['_applyFormulaAutoFitSize'](){const _0x4ca803=_0x1e3977;let _0x10b1c0=this[_0x4ca803(0x33e)][_0x4ca803(0x425)],_0x59a2db=_0x10b1c0[_0x4ca803(0x455)](),_0x37b0b3=(0x0,_0x25b599[_0x4ca803(0x280)])(_0x59a2db==null?void 0x0:_0x59a2db[_0x4ca803(0x2a9)]),_0x10ad4e=_0x37b0b3==null?void 0x0:_0x37b0b3['doc'],_0x16b94f=this[_0x4ca803(0x2ba)]['getAutoFitPresentations']();if(!_0x10ad4e||_0x16b94f[_0x4ca803(0x337)]===0x0)return;_0x10b1c0[_0x4ca803(0x1b9)]({'width':this[_0x4ca803(0x1f0)],'height':this[_0x4ca803(0x196)]});let _0x30340b=(0x0,_0x25b599[_0x4ca803(0x30c)])({'documentData':_0x16b94f[_0x4ca803(0x43f)](_0x28d796=>(0x0,_0x32598e[_0x4ca803(0x3f5)])(_0x10ad4e,_0x28d796)),'height':this['height'],'shapeData':_0x10b1c0[_0x4ca803(0x1e0)](),'textRect':_0x10b1c0['getShapeTextRect']({'left':0x0,'top':0x0,'width':this[_0x4ca803(0x1f0)],'height':this[_0x4ca803(0x196)]}),'width':this[_0x4ca803(0x1f0)]});if(_0x30340b){var _0x80f6cf;this[_0x4ca803(0x120)](_0x30340b[_0x4ca803(0x1f0)],_0x30340b['height']),(_0x80f6cf=this[_0x4ca803(0x448)]())==null||(_0x80f6cf=_0x80f6cf['getTransformer']())==null||_0x80f6cf[_0x4ca803(0x3d2)]();}}get[_0x1e3977(0x387)](){const _0x6cf21=_0x1e3977;return this[_0x6cf21(0x33e)][_0x6cf21(0x387)];}get[_0x1e3977(0x204)](){const _0x7e93fc=_0x1e3977;return this['_props'][_0x7e93fc(0x204)];}[_0x1e3977(0x126)](_0x5a758f){const _0x408f39=_0x1e3977;if(this[_0x408f39(0x33e)]['srcRect']==null||!this[_0x408f39(0x40d)])return;let {width:_0x56674d,height:_0xbb6240}=this,{width:_0x4c436b=0x0,height:_0x3fe4f6=0x0}=_0x5a758f[_0x408f39(0x14c)],{left:_0x917e21=0x0,top:_0x5df631=0x0,right:_0x49987d=0x0,bottom:_0x2f3d2e=0x0}=this[_0x408f39(0x33e)][_0x408f39(0x3fe)],_0x72b40=_0x917e21,_0x530109=_0x5df631,_0x59697f=_0x49987d,_0x16996d=_0x2f3d2e,_0x4ef9f4=!0x1;if(_0x4c436b!==0x0&&_0x4c436b!==_0x56674d){let _0x3d58cf=_0x917e21/_0x4c436b,_0x4cab22=_0x49987d/_0x4c436b;_0x72b40=_0x56674d*_0x3d58cf,_0x59697f=_0x56674d*_0x4cab22,_0x4ef9f4=!0x0;}if(_0x3fe4f6!==0x0&&_0x3fe4f6!==_0xbb6240){let _0x1fb4c2=_0x5df631/_0x3fe4f6,_0x196b0b=_0x2f3d2e/_0x3fe4f6;_0x530109=_0xbb6240*_0x1fb4c2,_0x16996d=_0xbb6240*_0x196b0b,_0x4ef9f4=!0x0;}_0x4ef9f4&&this['setSrcRect']({'left':_0x72b40,'top':_0x530109,'right':_0x59697f,'bottom':_0x16996d});}[_0x1e3977(0x16b)](_0x467426){const _0x5ed86d=_0x1e3977;this[_0x5ed86d(0x33e)][_0x5ed86d(0x3fe)]=_0x467426,this[_0x5ed86d(0x22f)](!0x0);}[_0x1e3977(0x450)](_0x5c8b9e){const _0x1d181e=_0x1e3977;this['_props']['image']=_0x5c8b9e,this[_0x1d181e(0x22f)](!0x0);}set[_0x1e3977(0x31d)](_0x2f6715){const _0xa48227=_0x1e3977;this[_0xa48227(0x332)]=_0x2f6715;}get[_0x1e3977(0x31d)](){const _0x1d88b1=_0x1e3977;this[_0x1d88b1(0x332)]||this[_0x1d88b1(0x35e)]();let _0x246b96=this[_0x1d88b1(0x332)][_0x1d88b1(0x2a8)]();return this[_0x1d88b1(0x1ed)](_0x246b96);}get[_0x1e3977(0x425)](){const _0x4ab39a=_0x1e3977;return this[_0x4ab39a(0x33e)][_0x4ab39a(0x425)];}get[_0x1e3977(0x329)](){const _0xca36fc=_0x1e3977;return this[_0xca36fc(0x33e)][_0xca36fc(0x329)];}get[_0x1e3977(0x2a5)](){const _0x34c3d8=_0x1e3977;return _0x114b3e[_0x34c3d8(0x281)][_0x34c3d8(0x2e2)];}['_draw'](_0x1f2a75,_0x4b6867,_0x34e7e0,_0x5465ea){const _0x54b602=_0x1e3977;let _0x3d14cc=this[_0x54b602(0x33e)]['shapeModel'];if(!_0x3d14cc||!_0x4b6867)return;let _0x1705d0=_0x34e7e0==null?this[_0x54b602(0x1f0)]:_0x34e7e0,_0x45dce8=_0x5465ea==null?this[_0x54b602(0x196)]:_0x5465ea,_0x5cbc8e={'shapeType':_0x3d14cc[_0x54b602(0x162)](),'width':_0x1705d0,'height':_0x45dce8},_0x4003a8={'renderMode':_0x3d21cd[_0x54b602(0x3cd)][_0x54b602(0x21f)],'oKey':this[_0x54b602(0x23a)],'image':this[_0x54b602(0x33e)][_0x54b602(0x34c)],'angle':this[_0x54b602(0x1bf)]};_0x3d14cc[_0x54b602(0x1b9)](_0x5cbc8e),_0x1f2a75[_0x54b602(0x25e)]();let _0x48f5ba={'top':0x0,'left':0x0,'width':_0x1705d0,'height':_0x45dce8},_0x43def7=_0x3d14cc[_0x54b602(0x195)](_0x48f5ba);_0x43def7?this[_0x54b602(0x267)](_0x1f2a75,_0x43def7,_0x28edb0=>{_0x3d14cc['render'](_0x28edb0,_0x48f5ba,_0x4003a8);}):(this[_0x54b602(0x31e)](),_0x3d14cc['render'](_0x1f2a75,_0x48f5ba,_0x4003a8)),_0x1f2a75[_0x54b602(0x1cf)]();let _0x12b189=_0x3d14cc[_0x54b602(0x455)](),_0x43ecc5=_0x3d14cc[_0x54b602(0x1ff)](_0x48f5ba),_0x1252a4=_0x3d14cc[_0x54b602(0x359)]();if(_0x12b189&&_0x43ecc5&&!_0x1252a4){_0x1f2a75[_0x54b602(0x25e)](),this[_0x54b602(0x1f4)]()[_0x54b602(0x23d)]&&_0x1f2a75['scale'](-0x1,0x1);let _0x4c6a4a=_0x1705d0/0x2,_0x142d4a=_0x45dce8/0x2;_0x1f2a75[_0x54b602(0x139)](-_0x4c6a4a,-_0x142d4a),_0x1f2a75[_0x54b602(0x180)](),this['_drawShapeText'](_0x1f2a75,_0x12b189,_0x43ecc5),_0x1f2a75[_0x54b602(0x1cf)]();}}[_0x1e3977(0x22e)](_0x268803){}['_drawShapeText'](_0x2ddbbe,_0x20f9b4,_0x2a9c6d){const _0x87d6c6=_0x1e3977;var _0x3b1efb;this[_0x87d6c6(0x33e)][_0x87d6c6(0x131)]||(!((_0x3b1efb=_0x20f9b4[_0x87d6c6(0x2a9)])!=null&&_0x3b1efb[_0x87d6c6(0x32a)])&&_0x87d6c6(0x3af)in _0x20f9b4&&_0x20f9b4[_0x87d6c6(0x3af)]===!0x1?this[_0x87d6c6(0x20f)](_0x2ddbbe,_0x20f9b4,_0x2a9c6d):this[_0x87d6c6(0x2d6)](_0x2ddbbe,_0x20f9b4,_0x2a9c6d));}[_0x1e3977(0x20f)](_0x2ce6c9,_0x207f66,_0x5968d8){const _0x5632d1=_0x1e3977;var _0x322315;this[_0x5632d1(0x2d6)](_0x2ce6c9,{..._0x207f66,'text':(_0x322315=_0x207f66[_0x5632d1(0x1d9)])==null?'':_0x322315,'dataModel':{'doc':(0x0,_0x25b599[_0x5632d1(0x3b0)])(_0x207f66,'sheets-shape-text-'+this['oKey'])}},_0x5968d8);}['_drawRichText'](_0x1430f7,_0x40729f,_0x39a12c){const _0x46e0ed=_0x1e3977;(0x0,_0x25b599[_0x46e0ed(0x429)])(_0x1430f7,this[_0x46e0ed(0x2ba)],(_0x728913,_0x22a978)=>{const _0x1e5f87=_0x46e0ed;this[_0x1e5f87(0x2d3)](_0x728913,_0x40729f,_0x39a12c,_0x22a978);});}[_0x1e3977(0x2d3)](_0x133d91,_0x51c1fd,_0x45fb01,_0x201ece){const _0x9c7989=_0x1e3977;var _0x2ea188,_0x1ccd3c;let _0x1d94ad=this['_props'][_0x9c7989(0x299)];if(!_0x51c1fd['dataModel']||!_0x1d94ad)return;let _0x498eb4=(0x0,_0x25b599[_0x9c7989(0x280)])(_0x51c1fd['dataModel']);if(!_0x498eb4)return;let _0x1e64e1=_0x498eb4[_0x9c7989(0x32a)];if(!_0x1e64e1)return;let _0x5a9c43=(0x0,_0x32598e[_0x9c7989(0x3f5)])(_0x1e64e1,_0x201ece),_0x512f48=(_0x2ea188=_0x498eb4['va'])==null?_0x2eccf5[_0x9c7989(0x36c)][_0x9c7989(0x422)]:_0x2ea188,_0x21bdcb=(_0x1ccd3c=_0x498eb4['ha'])==null?_0x2eccf5[_0x9c7989(0x1c8)][_0x9c7989(0x10e)]:_0x1ccd3c,_0x1680db=_0x5c230c(this[_0x9c7989(0x33e)][_0x9c7989(0x425)]['getShapeData'](),_0x51c1fd,_0x5a9c43),_0x2d0257=_0x51c1fd[_0x9c7989(0x323)],_0x459d62=new _0x2eccf5[(_0x9c7989(0x1ea))]((0x0,_0x25b599[_0x9c7989(0x397)])(_0x5a9c43,{'isHorizontal':_0x2d0257!==!0x1,'textRect':_0x45fb01,'verticalAlign':_0x512f48,'horizontalAlign':_0x21bdcb,'wrapStrategy':_0x1680db[_0x9c7989(0x433)]})),_0x3d846b=new _0x114b3e[(_0x9c7989(0x117))](_0x459d62),_0x3461fd=_0x114b3e[_0x9c7989(0x2bd)][_0x9c7989(0x378)](_0x3d846b,_0x1d94ad);_0x3461fd[_0x9c7989(0x2b7)]();let _0x1496b1=_0x3461fd['getActualSize']()['actualHeight'],_0xf2d1bf=(0x0,_0x25b599[_0x9c7989(0x219)])({'contentHeight':_0x1496b1,'verticalAlign':_0x512f48,'viewportHeight':_0x45fb01['height']});_0x459d62[_0x9c7989(0x217)]({'pageSize':{'width':_0x2d0257===!0x1?_0x45fb01[_0x9c7989(0x196)]:_0x45fb01[_0x9c7989(0x1f0)],'height':_0xf2d1bf[_0x9c7989(0x197)]}}),_0x459d62['updateDocumentDataMargin']({'t':_0xf2d1bf[_0x9c7989(0x3ec)]}),_0x3461fd[_0x9c7989(0x2b7)]();let _0x13942f=new _0x114b3e[(_0x9c7989(0x435))](_0x9c7989(0x249)+this[_0x9c7989(0x23a)],_0x3461fd,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x9c7989(0x22f)](!0x0)});_0x13942f[_0x9c7989(0x120)](_0x45fb01[_0x9c7989(0x1f0)],_0xf2d1bf[_0x9c7989(0x197)]),_0x133d91[_0x9c7989(0x25e)](),_0x133d91[_0x9c7989(0x2cb)](_0x45fb01[_0x9c7989(0x44f)],_0x45fb01[_0x9c7989(0x278)]),_0x1680db['clip']&&(_0x133d91[_0x9c7989(0x180)](),_0x133d91['rect'](0x0,_0xf2d1bf['clipTop'],_0x45fb01['width'],_0xf2d1bf[_0x9c7989(0x366)]),_0x133d91['clip']()),_0xf2d1bf[_0x9c7989(0x40b)]&&_0x133d91[_0x9c7989(0x2cb)](0x0,_0xf2d1bf[_0x9c7989(0x40b)]),_0x13942f[_0x9c7989(0x119)](_0x133d91),_0x133d91['restore'](),_0x13942f[_0x9c7989(0x175)](),_0x3461fd[_0x9c7989(0x175)](),_0x3d846b[_0x9c7989(0x175)](),_0x459d62[_0x9c7989(0x175)]();}[_0x1e3977(0x2b1)](_0x5a5b7b,_0x1c0dee,_0x4a57bd=!0x1){const _0x4c6ebc=_0x1e3977;if(!this[_0x4c6ebc(0x339)])return this[_0x4c6ebc(0x22f)](!0x1),this;let {width:_0x1541fe,height:_0x11a170,left:_0x14ee96,top:_0x523b8c}=this,_0x5e3381=this[_0x4c6ebc(0x214)]();if(_0x1541fe=_0x5e3381[_0x4c6ebc(0x1f0)],_0x11a170=_0x5e3381[_0x4c6ebc(0x196)],_0x14ee96=_0x5e3381['left'],_0x523b8c=_0x5e3381[_0x4c6ebc(0x278)],this[_0x4c6ebc(0x2c8)](_0x1c0dee)){let {top:_0x5b6b64,left:_0x11e09f,bottom:_0x5eeb25,right:_0x4e8a03}=_0x1c0dee['viewBound'];if(_0x1541fe+this['strokeWidth']+_0x14ee96<_0x11e09f||_0x4e8a03<_0x14ee96||_0x11a170+this[_0x4c6ebc(0x3e9)]+_0x523b8c<_0x5b6b64||_0x5eeb25<_0x523b8c)return this;}let _0x3a93d5=_0x14ee96+_0x1541fe/0x2,_0x44a101=_0x523b8c+_0x11a170/0x2,_0x2a20a4=this[_0x4c6ebc(0x31d)][_0x4c6ebc(0x31f)]();if(this[_0x4c6ebc(0x33e)]['isEditing']){let _0x4db7b5=this['getState'](),_0x1c1b8b=new _0x114b3e[(_0x4c6ebc(0x26a))]();_0x1c1b8b[_0x4c6ebc(0x124)]({..._0x4db7b5}),_0x2a20a4=_0x1c1b8b['getMatrix']();}return _0x5a5b7b[_0x4c6ebc(0x25e)](),this[_0x4c6ebc(0x33e)]['shapeModel'][_0x4c6ebc(0x1f8)]===!0x0||_0x5a5b7b[_0x4c6ebc(0x31d)](_0x2a20a4[0x0],_0x2a20a4[0x1],_0x2a20a4[0x2],_0x2a20a4[0x3],_0x3a93d5,_0x44a101),this[_0x4c6ebc(0x2c0)](_0x5a5b7b,_0x1c0dee,_0x1541fe,_0x11a170),_0x5a5b7b['restore'](),this[_0x4c6ebc(0x22f)](!0x1),this;}[_0x1e3977(0x241)](_0x23c898){const _0xbcb4d6=_0x1e3977;let {left:_0x39434b,top:_0x436684,width:_0x338579,height:_0x2782ec}=this[_0xbcb4d6(0x214)](),_0x576653=this[_0xbcb4d6(0x31d)][_0xbcb4d6(0x31f)](),_0x318e92=_0x39434b+_0x338579/0x2,_0x142fd4=_0x436684+_0x2782ec/0x2,_0x3e20ff=new _0x114b3e['Transform']([_0x576653[0x0],_0x576653[0x1],_0x576653[0x2],_0x576653[0x3],_0x318e92,_0x142fd4]),_0x189154=this[_0xbcb4d6(0x3a2)]();return(this[_0xbcb4d6(0x2b9)]&&(_0x189154==null?void 0x0:_0x189154[_0xbcb4d6(0x2a5)])===_0x114b3e[_0xbcb4d6(0x281)][_0xbcb4d6(0x272)]?_0x189154[_0xbcb4d6(0x15d)][_0xbcb4d6(0x286)](_0x3e20ff):_0x3e20ff)[_0xbcb4d6(0x21c)]()['applyPoint'](_0x23c898);}[_0x1e3977(0x386)](_0x31f9ee){const _0x3a7501=_0x1e3977;let {left:_0x3654fd,top:_0x57303c,width:_0x596a64,height:_0x3788e2}=this[_0x3a7501(0x214)](),_0x189811=_0x3654fd+_0x596a64/0x2,_0x24a1cb=_0x57303c+_0x3788e2/0x2,_0x3cfb21=this['transform']['getMatrix'](),_0x3e720e=new _0x114b3e[(_0x3a7501(0x26a))]([_0x3cfb21[0x0],_0x3cfb21[0x1],_0x3cfb21[0x2],_0x3cfb21[0x3],_0x189811,_0x24a1cb]),_0x190f21=this[_0x3a7501(0x3a2)](),_0x2d4cbb=(this[_0x3a7501(0x2b9)]&&(_0x190f21==null?void 0x0:_0x190f21[_0x3a7501(0x2a5)])===_0x114b3e['RENDER_CLASS_TYPE'][_0x3a7501(0x272)]?_0x190f21[_0x3a7501(0x15d)][_0x3a7501(0x286)](_0x3e720e):_0x3e720e)[_0x3a7501(0x21c)]()[_0x3a7501(0x3e7)](_0x31f9ee),_0x42ad5=_0x596a64/0x2,_0x4055bb=_0x3788e2/0x2,_0x454115=this[_0x3a7501(0x33e)][_0x3a7501(0x425)];return _0x454115&&_0x454115[_0x3a7501(0x359)]()?_0x454115[_0x3a7501(0x304)](_0x2d4cbb['x'],_0x2d4cbb['y'],_0x596a64,_0x3788e2):_0x2d4cbb['x']>=-_0x42ad5-this[_0x3a7501(0x3e9)]/0x2&&_0x2d4cbb['x']<=_0x42ad5+this[_0x3a7501(0x3e9)]/0x2&&_0x2d4cbb['y']>=-_0x4055bb-this[_0x3a7501(0x3e9)]/0x2&&_0x2d4cbb['y']<=_0x4055bb+this[_0x3a7501(0x3e9)]/0x2;}[_0x1e3977(0x175)](){const _0x44b3f6=_0x1e3977;this[_0x44b3f6(0x2ba)][_0x44b3f6(0x175)](),this[_0x44b3f6(0x33e)][_0x44b3f6(0x425)]=null,super['dispose']();}},_0x372832=class extends _0x114b3e['Shape']{constructor(_0x4d80c3,_0x169158){const _0x450226=_0x1e3977;super(_0x4d80c3,_0x169158),_0x163ed0(this,'_shapeId',null),_0x163ed0(this,_0x450226(0x2ca),null),_0x163ed0(this,'_unitId',null),_0x163ed0(this,_0x450226(0x18a),null),_0x169158&&this[_0x450226(0x186)](_0x169158);}[_0x1e3977(0x26e)](){const _0x3494e6=_0x1e3977;return{'unitId':this[_0x3494e6(0x44e)],'subUnitId':this[_0x3494e6(0x18a)],'drawingId':this[_0x3494e6(0x237)]};}['setShapeProps'](_0x3a981f){const _0x529e6c=_0x1e3977;_0x3a981f[_0x529e6c(0x329)]!==void 0x0&&(this['_shapeId']=_0x3a981f['shapeId']),_0x3a981f['adjName']!==void 0x0&&(this[_0x529e6c(0x2ca)]=_0x3a981f[_0x529e6c(0x19b)]),_0x3a981f['unitId']!==void 0x0&&(this[_0x529e6c(0x44e)]=_0x3a981f[_0x529e6c(0x387)]),_0x3a981f[_0x529e6c(0x204)]!==void 0x0&&(this[_0x529e6c(0x18a)]=_0x3a981f['subUnitId']),this[_0x529e6c(0x1c7)]({'width':_0x3a981f[_0x529e6c(0x1f0)],'height':_0x3a981f[_0x529e6c(0x196)]});}[_0x1e3977(0x2c0)](_0x387495){const _0xf9e943=_0x1e3977;_0x114b3e['Circle'][_0xf9e943(0x314)](_0x387495,{'radius':_0x3d21cd[_0xf9e943(0x356)][_0xf9e943(0x17d)],'fill':_0x3d21cd[_0xf9e943(0x356)][_0xf9e943(0x238)],'stroke':_0x3d21cd['ShapeDefaultConfig'][_0xf9e943(0x1a6)],'strokeWidth':0x1,'evented':!0x0});}};function _0x5a8c13(_0x17813e,_0x431ff6){return function(_0x569b0c,_0x11b964){_0x431ff6(_0x569b0c,_0x11b964,_0x17813e);};}function _0xba323d(_0x3a5abe,_0x3aacfa,_0x293857,_0x1d17c6){const _0x502669=_0x1e3977;var _0x1256c3=arguments[_0x502669(0x337)],_0x58810b=_0x1256c3<0x3?_0x3aacfa:_0x1d17c6===null?_0x1d17c6=Object[_0x502669(0x3ac)](_0x3aacfa,_0x293857):_0x1d17c6,_0x2ffa42;if(typeof Reflect=='object'&&typeof Reflect[_0x502669(0x39d)]==_0x502669(0x2b3))_0x58810b=Reflect[_0x502669(0x39d)](_0x3a5abe,_0x3aacfa,_0x293857,_0x1d17c6);else{for(var _0x978540=_0x3a5abe['length']-0x1;_0x978540>=0x0;_0x978540--)(_0x2ffa42=_0x3a5abe[_0x978540])&&(_0x58810b=(_0x1256c3<0x3?_0x2ffa42(_0x58810b):_0x1256c3>0x3?_0x2ffa42(_0x3aacfa,_0x293857,_0x58810b):_0x2ffa42(_0x3aacfa,_0x293857))||_0x58810b);}return _0x1256c3>0x3&&_0x58810b&&Object[_0x502669(0x29f)](_0x3aacfa,_0x293857,_0x58810b),_0x58810b;}let _0x1f5133=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x7cc7a3,_0x1176fd,_0x388e04,_0x58eaad,_0x266637,_0x4169df){const _0x24a093=_0x1e3977;super(),this['_drawingManagerService']=_0x7cc7a3,this['_sheetsShapeService']=_0x1176fd,this['_localeService']=_0x388e04,this[_0x24a093(0x14e)]=_0x58eaad,this[_0x24a093(0x37b)]=_0x266637,this['_shapeFormulaService']=_0x4169df,_0x163ed0(this,'_formulaShapes',new Map()),this[_0x24a093(0x256)](this['_shapeFormulaService']['presentationChanged$']['subscribe'](_0x306625=>{const _0x3b3272=_0x24a093;var _0x38c099;(_0x38c099=this['_formulaShapes']['get'](this[_0x3b3272(0x315)](_0x306625[_0x3b3272(0x387)],_0x306625['subUnitId'],_0x306625[_0x3b3272(0x329)])))==null||_0x38c099['forEach'](_0x38594f=>_0x38594f['setFormulaPresentation'](_0x306625[_0x3b3272(0x1f5)],_0x306625[_0x3b3272(0x18b)]));})),this[_0x24a093(0x256)](this[_0x24a093(0x1a2)][_0x24a093(0x3fa)][_0x24a093(0x17b)](_0x4832d4=>{const _0x1b93c0=_0x24a093;_0x4832d4[_0x1b93c0(0x30e)](_0x29ee60=>{const _0x389cf1=_0x1b93c0;this['_shapeFormulaService'][_0x389cf1(0x11f)]({'unitId':_0x29ee60[_0x389cf1(0x387)],'subUnitId':_0x29ee60[_0x389cf1(0x204)],'shapeId':_0x29ee60[_0x389cf1(0x22a)]}),this[_0x389cf1(0x41b)][_0x389cf1(0x2e3)](this[_0x389cf1(0x315)](_0x29ee60[_0x389cf1(0x387)],_0x29ee60[_0x389cf1(0x204)],_0x29ee60[_0x389cf1(0x22a)]));});}));}[_0x1e3977(0x413)](_0x3f5ce9,_0x49b9c9,_0x22a47b){const _0x1facd8=_0x1e3977;let {transform:_0x17c211,drawingType:_0x4f594e,srcRect:_0x5c3b7e,prstGeom:_0x248394,groupId:_0x1ec179,unitId:_0x237bdf,subUnitId:_0x337415,drawingId:_0x1a49bb,isMultiTransform:_0xe3f488,transforms:_0xc7816,hidden:_0x464bc9,selectable:_0x44b560}=_0x3f5ce9;if(_0x4f594e!==_0x2eccf5[_0x1facd8(0x43b)][_0x1facd8(0x285)]||!this[_0x1facd8(0x1a2)][_0x1facd8(0x193)]()||_0x17c211==null)return;let _0x10a8cf=this[_0x1facd8(0x1a2)][_0x1facd8(0x3c7)]();_0x10a8cf&&_0x49b9c9['initTransformer'](_0x25b599['SHAPE_EDITOR_TRANSFORMER_CONFIG']);let _0x1a022f=_0xe3f488&&_0xc7816?_0xc7816:[_0x17c211],_0xd43528=[];for(let _0x5adaf1 of _0x1a022f){let {left:_0x5eb6b1,top:_0x10d36a,width:_0x1b14c5,height:_0x2c5012,angle:_0x1bbf40,flipX:_0x499b1c,flipY:_0x57d23b,skewX:_0x350df6,skewY:_0x45ed67}=_0x5adaf1,_0x2edc58=_0x1a022f[_0x1facd8(0x1dd)](_0x5adaf1),_0x5e5c3c=(0x0,_0x215a9[_0x1facd8(0x2ee)])({'unitId':_0x237bdf,'subUnitId':_0x337415,'drawingId':_0x1a49bb},_0xe3f488?_0x2edc58:void 0x0),_0x5ab780=_0x49b9c9[_0x1facd8(0x2a4)](_0x5e5c3c);if(_0x5ab780!=null){let _0x598ea8={'unitId':_0x237bdf,'subUnitId':_0x337415,'shapeId':_0x1a49bb};_0x5ab780 instanceof _0x34cbbf&&this[_0x1facd8(0x222)](_0x5ab780,_0x598ea8),_0x5ab780[_0x1facd8(0x1c7)]({'left':_0x5eb6b1,'top':_0x10d36a,'width':_0x1b14c5,'height':_0x2c5012,'angle':_0x1bbf40,'flipX':_0x499b1c,'flipY':_0x57d23b,'skewX':_0x350df6,'skewY':_0x45ed67});continue;}let _0x13302d=this[_0x1facd8(0x1a2)][_0x1facd8(0x257)](_0x237bdf,_0x337415),_0x136862=_0x13302d[_0x1facd8(0x1dd)](_0x1a49bb);if(_0x49b9c9['getObjectIncludeInGroup'](_0x5e5c3c)||!this[_0x1facd8(0x1a2)][_0x1facd8(0x193)]())continue;let _0x10575f=this['_sheetsShapeService'][_0x1facd8(0x134)](_0x237bdf,_0x337415,_0x1a49bb);if(!_0x10575f)continue;let _0x4838ce=(0x0,_0x3d21cd[_0x1facd8(0x275)])(_0x10575f[_0x1facd8(0x162)]()),_0x2b76f3=_0x10575f[_0x1facd8(0x1e0)]()[_0x1facd8(0x331)],_0x39fea5={'unitId':_0x237bdf,'subUnitId':_0x337415,'shapeId':_0x1a49bb};_0x2b76f3&&this[_0x1facd8(0x1e4)][_0x1facd8(0x1e7)](_0x39fea5,_0x2b76f3);let _0x295e5f=new _0x34cbbf(_0x5e5c3c,{..._0x4838ce?{..._0x5adaf1,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x5adaf1},'zIndex':_0x136862===-0x1?_0x13302d['length']-0x1:_0x136862,'shapeModel':_0x10575f,'localeService':this[_0x1facd8(0x412)],'shapeId':_0x1a49bb,'unitId':_0x237bdf,'subUnitId':_0x337415,'visible':_0x464bc9!==!0x0,'evented':_0x44b560!==!0x1,'formulaPresentation':_0x2b76f3?this[_0x1facd8(0x1e4)]['getPresentation'](_0x39fea5):void 0x0,'animateFormulaPresentation':(_0x2b76f3==null?void 0x0:_0x2b76f3[_0x1facd8(0x18b)])!==!0x1});if(_0x2b76f3){var _0x288df8;let _0x52203e=this[_0x1facd8(0x315)](_0x237bdf,_0x337415,_0x1a49bb),_0x18aa22=(_0x288df8=this['_formulaShapes'][_0x1facd8(0x32f)](_0x52203e))==null?new Set():_0x288df8;_0x18aa22[_0x1facd8(0x42c)](_0x295e5f),this[_0x1facd8(0x41b)]['set'](_0x52203e,_0x18aa22);}_0x49b9c9['addObject'](_0x295e5f,_0x114b3e[_0x1facd8(0x3e0)]),_0x10a8cf&&_0x49b9c9[_0x1facd8(0x187)](_0x295e5f),_0x1ec179&&(0x0,_0x34fb64[_0x1facd8(0x1bb)])({'drawingId':_0x1ec179,'unitId':_0x237bdf,'subUnitId':_0x337415},_0x295e5f,_0x49b9c9,this[_0x1facd8(0x1a2)]),_0x248394!=null&&_0x295e5f[_0x1facd8(0x2f2)](_0x248394),_0x5c3b7e!=null&&_0x295e5f[_0x1facd8(0x16b)](_0x5c3b7e);let _0x77c1a5=this[_0x1facd8(0x121)](_0x295e5f,_0x10575f[_0x1facd8(0x1e0)]());if(_0x77c1a5){var _0xb3943d;_0x22a47b==null||(_0xb3943d=_0x22a47b[_0x1facd8(0x189)])==null||_0xb3943d['add'](_0x77c1a5);}_0xd43528[_0x1facd8(0x1b1)](_0x295e5f);}return _0xd43528;}[_0x1e3977(0x315)](_0x3f3c0e,_0x508d57,_0x486d62){return _0x3f3c0e+'\x00'+_0x508d57+'\x00'+_0x486d62;}[_0x1e3977(0x222)](_0x213a8b,_0xd01215){const _0x9ddbf4=_0x1e3977;let _0x3da541=this[_0x9ddbf4(0x36d)]['getShapeModel'](_0xd01215[_0x9ddbf4(0x387)],_0xd01215[_0x9ddbf4(0x204)],_0xd01215[_0x9ddbf4(0x329)]),_0xcfac7d=_0x3da541==null?void 0x0:_0x3da541[_0x9ddbf4(0x1e0)]()[_0x9ddbf4(0x331)],_0x5a736c=this['_formulaKey'](_0xd01215[_0x9ddbf4(0x387)],_0xd01215[_0x9ddbf4(0x204)],_0xd01215['shapeId']);if(_0xcfac7d){var _0x42188c;this[_0x9ddbf4(0x1e4)]['register'](_0xd01215,_0xcfac7d);let _0x2a8038=(_0x42188c=this[_0x9ddbf4(0x41b)][_0x9ddbf4(0x32f)](_0x5a736c))==null?new Set():_0x42188c;_0x2a8038[_0x9ddbf4(0x42c)](_0x213a8b),this[_0x9ddbf4(0x41b)]['set'](_0x5a736c,_0x2a8038);}else{var _0x6325e3;this['_shapeFormulaService'][_0x9ddbf4(0x11f)](_0xd01215),(_0x6325e3=this['_formulaShapes']['get'](_0x5a736c))==null||_0x6325e3['delete'](_0x213a8b);}_0x213a8b[_0x9ddbf4(0x2e4)](_0xcfac7d?this[_0x9ddbf4(0x1e4)][_0x9ddbf4(0x41d)](_0xd01215):void 0x0,(_0xcfac7d==null?void 0x0:_0xcfac7d[_0x9ddbf4(0x18b)])!==!0x1);}[_0x1e3977(0x1b0)](_0x41e5f0){const _0x52796e=_0x1e3977;let _0x269078=_0x41e5f0[_0x52796e(0x425)]['getShapeData'](),_0x1620b4=_0x269078[_0x52796e(0x172)];if(!_0x1620b4||_0x1620b4['fillType']!==_0x3d21cd['ShapeFillEnum'][_0x52796e(0x39c)]||!_0x1620b4[_0x52796e(0x1df)]){_0x41e5f0['setFillImage'](void 0x0);return;}this[_0x52796e(0x121)](_0x41e5f0,_0x269078);}[_0x1e3977(0x121)](_0x1aa9a6,_0x7660cf){const _0xd585db=_0x1e3977;var _0x499816;let _0x92f818=_0x7660cf['fill'];if(!_0x92f818||_0x92f818[_0xd585db(0x3c8)]!==_0x3d21cd['ShapeFillEnum']['PictureFill']||!_0x92f818[_0xd585db(0x1df)])return;let _0x22875b=_0x92f818['fillImageSource'],_0x4c60ea=(_0x499816=_0x92f818[_0xd585db(0x384)])==null?_0x3d21cd[_0xd585db(0x34e)][_0xd585db(0x340)]:_0x499816,_0x50ed12=this['_imageIoService'][_0xd585db(0x2ac)](_0x22875b,_0x4c60ea);if(_0x50ed12){_0x1aa9a6[_0xd585db(0x450)](_0x50ed12);return;}return this[_0xd585db(0x13e)](_0x1aa9a6,_0x22875b,_0x4c60ea);}async[_0x1e3977(0x13e)](_0x5aea33,_0x5ab6db,_0x88be6d){const _0x4b0562=_0x1e3977;let _0x1a1e47;try{if(_0x88be6d===_0x3d21cd[_0x4b0562(0x34e)][_0x4b0562(0x135)])_0x1a1e47=await this['_imageIoService'][_0x4b0562(0x1d4)](_0x5ab6db);else{if(_0x88be6d===_0x3d21cd[_0x4b0562(0x34e)][_0x4b0562(0x340)])try{_0x1a1e47=await this[_0x4b0562(0x37b)]['getImage'](_0x5ab6db);}catch{_0x1a1e47=_0x5ab6db;}else _0x1a1e47=_0x5ab6db;}}catch(_0x2b0b43){console[_0x4b0562(0x3bf)](_0x4b0562(0x33a),_0x2b0b43);return;}await new Promise(_0x5b6968=>{const _0x493ad9=_0x4b0562;let _0x5387a7=new window[(_0x493ad9(0x3c3))]();_0x5387a7['onload']=()=>{this['_imageIoService']['addImageSourceCache'](_0x5ab6db,_0x88be6d,_0x5387a7),_0x5aea33['setFillImage'](_0x5387a7),_0x5b6968();},_0x5387a7[_0x493ad9(0x2d7)]=()=>{const _0x38a65d=_0x493ad9;console[_0x38a65d(0x3bf)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x5ab6db),_0x5b6968();},_0x5387a7['src']=_0x1a1e47;});}};_0x1f5133=_0xba323d([_0x5a8c13(0x0,_0x215a9['IDrawingManagerService']),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be['SheetsShapeService'])),_0x5a8c13(0x2,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2eccf5['LocaleService'])),_0x5a8c13(0x3,_0x2eccf5[_0x1e3977(0x357)]),_0x5a8c13(0x4,_0x2eccf5[_0x1e3977(0x265)]),_0x5a8c13(0x5,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x32598e['ShapeFormulaService']))],_0x1f5133);let _0x34fe5c=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2793c6,_0x30ff20,_0x16c642,_0x4f2b27,_0xc170d2,_0x6227e3){const _0x3df55f=_0x1e3977;super(),this[_0x3df55f(0x1a2)]=_0x2793c6,this['_sheetsShapeService']=_0x30ff20,this[_0x3df55f(0x3ba)]=_0x16c642,this['_sheetDrawingShapeRenderController']=_0x4f2b27,this[_0x3df55f(0x18f)]=_0xc170d2,this[_0x3df55f(0x2dc)]=_0x6227e3,_0x163ed0(this,'_activeShapeId',null),_0x163ed0(this,_0x3df55f(0x44e),null),_0x163ed0(this,_0x3df55f(0x18a),null),_0x163ed0(this,_0x3df55f(0x1f6),void 0x0),_0x163ed0(this,_0x3df55f(0x1aa),[]),_0x163ed0(this,_0x3df55f(0x203),0x0),_0x163ed0(this,_0x3df55f(0x34d),0x0),_0x163ed0(this,'_baseShapeWidth',0x0),_0x163ed0(this,'_baseShapeHeight',0x0),_0x163ed0(this,'_isStartAdjusting',!0x1),_0x163ed0(this,_0x3df55f(0x420),void 0x0),_0x163ed0(this,_0x3df55f(0x190),void 0x0),_0x163ed0(this,'_adjHandlerPointerMove',void 0x0),_0x163ed0(this,_0x3df55f(0x153),void 0x0),_0x163ed0(this,_0x3df55f(0x401),!0x1),this[_0x3df55f(0x2f6)](),this[_0x3df55f(0x1c4)]();}['_getShapeAdjustPointListById'](_0x74bd0c,_0x305b5b,_0x1f33fc){const _0xfdde03=_0x1e3977;let _0x22b00f=this[_0xfdde03(0x36d)][_0xfdde03(0x134)](_0x74bd0c,_0x305b5b,_0x1f33fc);if(_0x22b00f)return _0x22b00f['getDrawingPoints']();}[_0x1e3977(0x414)](){const _0x9adce5=_0x1e3977;this[_0x9adce5(0x439)]();}[_0x1e3977(0x434)](){const _0x4acf64=_0x1e3977;this[_0x4acf64(0x15f)](!0x0);}['setShouldShowAdjust'](_0x28914b){const _0x276344=_0x1e3977;this[_0x276344(0x401)]=_0x28914b;}[_0x1e3977(0x2c6)](_0x30c886,_0x1da24d,_0x211e12,_0x5a9255){let _0x342997=this['_sheetsShapeService']['getShapeModel'](_0x30c886,_0x1da24d,_0x211e12);if(_0x342997)return _0x342997['getAdjustInfoByName'](_0x5a9255);}[_0x1e3977(0x44a)](_0x2a3067=!0x1){const _0x5203b3=_0x1e3977;if(this[_0x5203b3(0x44e)]===null||this[_0x5203b3(0x18a)]===null||this[_0x5203b3(0x166)]===null)return;let _0x5528dc=this[_0x5203b3(0x3ba)][_0x5203b3(0x2be)](this['_unitId']);if(!_0x5528dc||!_0x5528dc[_0x5203b3(0x1dc)](_0x3c12d8['SheetSkeletonManagerService'])[_0x5203b3(0x26d)]())return;let {scene:_0x310db4}=_0x5528dc,_0xad02ce={'unitId':this[_0x5203b3(0x44e)],'subUnitId':this[_0x5203b3(0x18a)],'drawingId':this[_0x5203b3(0x166)]},_0x51ddfa=this[_0x5203b3(0x1a2)][_0x5203b3(0x3d4)](_0xad02ce),{transform:_0x307b5b}=_0x51ddfa;if(!_0x307b5b||_0x51ddfa['drawingType']!==_0x2eccf5[_0x5203b3(0x43b)]['DRAWING_SHAPE'])return;let {left:_0x105aad,top:_0x2196e5,width:_0x32ca17,height:_0x17a22d,flipX:_0x405ece,flipY:_0x5507f2,angle:_0x406133=0x0}=_0x307b5b;if(_0x105aad===void 0x0||_0x2196e5===void 0x0)return;if(_0x2a3067){let _0x581dd5=this['_sheetsShapeService']['getShapeModel'](this[_0x5203b3(0x44e)],this[_0x5203b3(0x18a)],this[_0x5203b3(0x166)]);_0x581dd5==null||_0x581dd5[_0x5203b3(0x1b9)]({'width':_0x32ca17==null?0x0:_0x32ca17,'height':_0x17a22d==null?0x0:_0x17a22d}),this[_0x5203b3(0x1f6)]=_0x581dd5==null?void 0x0:_0x581dd5[_0x5203b3(0x22e)]();}let _0x297557=this[_0x5203b3(0x1f6)];for(let _0x4c7b38=0x0;_0x4c7b38<_0x297557['length'];_0x4c7b38++){let _0x5f2b46=_0x297557[_0x4c7b38],_0x110da8=_0x5f2b46['x'],_0x1f11b8=_0x5f2b46['y'];if(_0x405ece&&(_0x110da8=(_0x32ca17||0x0)-_0x110da8),_0x5507f2&&(_0x1f11b8=(_0x17a22d||0x0)-_0x1f11b8),_0x406133!==0x0){let _0x533c9f=(_0x32ca17||0x0)/0x2,_0x40f04a=(_0x17a22d||0x0)/0x2,_0x1c1df6=_0x406133*Math['PI']/0xb4,_0x1934f9=Math[_0x5203b3(0x1fb)](_0x1c1df6),_0x2a3d90=Math['sin'](_0x1c1df6),_0x53a019=_0x110da8-_0x533c9f,_0x328ff2=_0x1f11b8-_0x40f04a;_0x110da8=_0x533c9f+(_0x53a019*_0x1934f9-_0x328ff2*_0x2a3d90),_0x1f11b8=_0x40f04a+(_0x53a019*_0x2a3d90+_0x328ff2*_0x1934f9);}let _0x2de920={'x':_0x110da8,'y':_0x1f11b8,'adjName':_0x5f2b46[_0x5203b3(0x19b)]};this[_0x5203b3(0x40a)](_0x310db4,_0x2de920,_0x2de920[_0x5203b3(0x19b)],_0x105aad,_0x2196e5,this[_0x5203b3(0x44e)],this[_0x5203b3(0x18a)]);}}[_0x1e3977(0x15f)](_0x26e31e=!0x1){const _0xd424ac=_0x1e3977;_0x26e31e&&(this['_clearShapeAdjustControls'](),this[_0xd424ac(0x44a)](_0x26e31e));}[_0x1e3977(0x40a)](_0x5b9d3a,_0x26c5ad,_0x219dab,_0x6c0b6d,_0x2b9f66,_0x33f97c,_0xd9aea9){const _0xc050ee=_0x1e3977;if(!this[_0xc050ee(0x166)])return;let _0x41d2ec=_0x5b9d3a['getObjectIncludeInGroup'](_0xc050ee(0x3e3)+this[_0xc050ee(0x166)]+'-'+_0x219dab);if(_0x41d2ec){_0x41d2ec[_0xc050ee(0x1c7)]({'left':_0x26c5ad['x']+_0x6c0b6d-_0x3d21cd[_0xc050ee(0x356)][_0xc050ee(0x17d)],'top':_0x26c5ad['y']+_0x2b9f66-_0x3d21cd['ShapeDefaultConfig'][_0xc050ee(0x17d)]});return;}let _0x43319b={'left':_0x26c5ad['x']+_0x6c0b6d-_0x3d21cd['ShapeDefaultConfig'][_0xc050ee(0x17d)],'top':_0x26c5ad['y']+_0x2b9f66-_0x3d21cd[_0xc050ee(0x356)][_0xc050ee(0x17d)],'adjName':_0x219dab,'shapeId':this[_0xc050ee(0x166)],'unitId':_0x33f97c,'subUnitId':_0xd9aea9,'width':_0x3d21cd[_0xc050ee(0x356)][_0xc050ee(0x17d)]+0x8,'height':_0x3d21cd[_0xc050ee(0x356)][_0xc050ee(0x17d)]+0x8,'zIndex':_0x114b3e[_0xc050ee(0x3e0)]+0x1,'evented':!0x0},_0x305cdc=new _0x372832(_0xc050ee(0x3e3)+this[_0xc050ee(0x166)]+'-'+_0x219dab,_0x43319b);this[_0xc050ee(0x1aa)][_0xc050ee(0x1b1)](_0x305cdc),this[_0xc050ee(0x3f1)](_0x305cdc,_0x5b9d3a,_0x219dab),_0x5b9d3a[_0xc050ee(0x333)](_0x305cdc,_0x114b3e['DRAWING_OBJECT_LAYER_INDEX']+0x1);}[_0x1e3977(0x439)](){const _0x2267e6=_0x1e3977;this[_0x2267e6(0x1aa)]['length']!==0x0&&(this[_0x2267e6(0x1aa)][_0x2267e6(0x30e)](_0x1d5908=>{const _0xaa6563=_0x2267e6;_0x1d5908[_0xaa6563(0x175)]();}),this['_shapes']=[]);}[_0x1e3977(0x421)](){const _0x441fc8=_0x1e3977;this[_0x441fc8(0x44a)]();}['_getScrollInfo'](_0x53b908,_0x3e6b1c){const _0x5bfecc=_0x1e3977;var _0x361dc7;let _0x356eb9={'x':0x0,'y':0x0};if(!_0x53b908||!_0x3e6b1c)return _0x356eb9;let _0x482c33=this[_0x5bfecc(0x3ba)][_0x5bfecc(0x2be)](_0x53b908);if(!_0x482c33||!_0x482c33[_0x5bfecc(0x1dc)](_0x3c12d8[_0x5bfecc(0x1ae)])[_0x5bfecc(0x367)](_0x3e6b1c))return _0x356eb9;let _0x592dfd=_0x482c33[_0x5bfecc(0x1dc)](_0x3c12d8[_0x5bfecc(0x3ee)]),_0x276833=_0x592dfd==null?void 0x0:_0x592dfd['getCurrentScrollState']();if(!_0x276833)return _0x356eb9;let _0x131f6d=(_0x361dc7=this[_0x5bfecc(0x18f)][_0x5bfecc(0x2f8)](_0x53b908))==null?void 0x0:_0x361dc7[_0x5bfecc(0x269)](_0x3e6b1c);if(!_0x131f6d)return _0x356eb9;let _0x337b57=(0x0,_0x3c12d8[_0x5bfecc(0x1ba)])(_0x276833['sheetViewStartRow'],_0x276833[_0x5bfecc(0x380)],_0x482c33['scene'],_0x131f6d);return _0x337b57?{'x':_0x337b57[_0x5bfecc(0x3d1)],'y':_0x337b57[_0x5bfecc(0x446)]}:_0x356eb9;}[_0x1e3977(0x427)](_0x2cb34e,_0x4fd24e){const _0x238fe9=_0x1e3977;var _0x4c7ca3,_0x35e6ed;let _0x2faecd=(_0x4c7ca3=this['_univerInstanceService'][_0x238fe9(0x2f8)](_0x2cb34e))==null?void 0x0:_0x4c7ca3[_0x238fe9(0x269)](_0x4fd24e);return(_0x35e6ed=_0x2faecd==null?void 0x0:_0x2faecd[_0x238fe9(0x374)]())==null?0x1:_0x35e6ed;}[_0x1e3977(0x3f1)](_0xced445,_0x9f3b33,_0x42102f){const _0x2dfe75=_0x1e3977;this[_0x2dfe75(0x256)]((0x0,_0x2eccf5['toDisposable'])(_0xced445[_0x2dfe75(0x19c)][_0x2dfe75(0x447)]((_0x105c61,_0xe7af46)=>{const _0x414260=_0x2dfe75;var _0x375d6,_0x4d9b4d,_0x4d4d93,_0x1288c8,_0x6990cc;let _0x19582a=_0xced445[_0x414260(0x26e)]();this[_0x414260(0x420)]=this['_getShapeAdjustInfosById'](_0x19582a[_0x414260(0x387)],_0x19582a[_0x414260(0x204)],_0x19582a[_0x414260(0x22a)],_0x42102f),this[_0x414260(0x190)]=this[_0x414260(0x36d)][_0x414260(0x134)](_0x19582a[_0x414260(0x387)],_0x19582a[_0x414260(0x204)],_0x19582a[_0x414260(0x22a)]);let _0x8da3f2=this[_0x414260(0x1a2)][_0x414260(0x3d4)]({'unitId':this[_0x414260(0x44e)],'subUnitId':this[_0x414260(0x18a)],'drawingId':this['_activeShapeId']}),{transform:_0x4f1a46}=_0x8da3f2;if(_0x4f1a46){let {left:_0x312d77,top:_0x243d56,width:_0x2399b6,height:_0x8f7753}=_0x4f1a46;this['_baseShapeLeft']=_0x312d77||0x0,this[_0x414260(0x34d)]=_0x243d56||0x0,this['_baseShapeWidth']=_0x2399b6||0x0,this[_0x414260(0x2cd)]=_0x8f7753||0x0;}let _0x1be396=!!((_0x375d6=_0x8da3f2[_0x414260(0x31d)])!=null&&_0x375d6[_0x414260(0x23d)]),_0x3565d3=!!((_0x4d9b4d=_0x8da3f2['transform'])!=null&&_0x4d9b4d[_0x414260(0x1ac)]),_0x1d74d3=((_0x4d4d93=_0x8da3f2[_0x414260(0x31d)])==null?void 0x0:_0x4d4d93[_0x414260(0x1bf)])||0x0;this['_isStartAdjusting']=!0x0,_0x9f3b33['disableObjectsEvent']();let _0x4ec960={...(_0x1288c8=(_0x6990cc=this[_0x414260(0x420)])==null?void 0x0:_0x6990cc['currentAdjustValues'])==null?{}:_0x1288c8};this[_0x414260(0x161)]=_0x9f3b33[_0x414260(0x307)]['subscribeEvent']((_0x9bd5bf,_0x26707d)=>{const _0x3490f2=_0x414260;if(!this[_0x3490f2(0x1bd)])return;let {offsetX:_0xdca601,offsetY:_0x63cbcc}=_0x9bd5bf,_0x3bf5e6=this[_0x3490f2(0x420)];if(this[_0x3490f2(0x190)]&&_0x3bf5e6){_0x9f3b33[_0x3490f2(0x415)](),_0x9f3b33[_0x3490f2(0x3cb)](_0x114b3e[_0x3490f2(0x2c2)][_0x3490f2(0x226)]);let _0x96eaae={'left':0x0,'top':0x0,'width':this[_0x3490f2(0x1da)],'height':this[_0x3490f2(0x2cd)]},_0x4fe392=this[_0x3490f2(0x1c3)](this['_unitId'],this['_subUnitId']),_0x53a14e=this['_getZoomRatio'](this[_0x3490f2(0x44e)],this[_0x3490f2(0x18a)]),_0x59dc85=_0xdca601/_0x53a14e+_0x4fe392['x']-this['_baseShapeLeft'],_0x1a8da8=_0x63cbcc/_0x53a14e+_0x4fe392['y']-this[_0x3490f2(0x34d)];if(_0x1d74d3!==0x0){let _0x33ab50=this[_0x3490f2(0x1da)]/0x2,_0x563370=this['_baseShapeHeight']/0x2,_0x437a23=_0x1d74d3*Math['PI']/0xb4,_0x2071ae=Math[_0x3490f2(0x1fb)](_0x437a23),_0x36888b=Math[_0x3490f2(0x1b5)](_0x437a23),_0x10d6a2=_0x59dc85-_0x33ab50,_0x239ddc=_0x1a8da8-_0x563370;_0x59dc85=_0x33ab50+(_0x10d6a2*_0x2071ae+_0x239ddc*_0x36888b),_0x1a8da8=_0x563370+(-_0x10d6a2*_0x36888b+_0x239ddc*_0x2071ae);}_0x1be396&&(_0x59dc85=this[_0x3490f2(0x1da)]-_0x59dc85),_0x3565d3&&(_0x1a8da8=this['_baseShapeHeight']-_0x1a8da8);let _0x453e93={'x':_0x59dc85,'y':_0x1a8da8},_0x4d264c=this['_activeShapeModel'][_0x3490f2(0x36e)](_0x96eaae,_0x453e93,_0x3bf5e6,_0x1be396,_0x3565d3);if(Object[_0x3490f2(0x391)](_0x4d264c)[_0x3490f2(0x337)]===0x0)return;for(let [_0x18efdb,_0x140fbf]of Object[_0x3490f2(0x3d5)](_0x4d264c))this['_activeShapeModel']['setAdjustValueByName'](_0x18efdb,_0x140fbf);this[_0x3490f2(0x190)][_0x3490f2(0x1b9)]({'width':this[_0x3490f2(0x1da)],'height':this[_0x3490f2(0x2cd)]});let _0x6dd4c9=this['_drawingManagerService'][_0x3490f2(0x3d4)]({'unitId':_0x19582a[_0x3490f2(0x387)],'subUnitId':_0x19582a['subUnitId'],'drawingId':_0x19582a[_0x3490f2(0x22a)]});_0x6dd4c9&&(this[_0x3490f2(0x2ce)][_0x3490f2(0x413)](_0x6dd4c9,_0x9f3b33),this[_0x3490f2(0x1f6)]=this[_0x3490f2(0x38d)](_0x19582a[_0x3490f2(0x387)],_0x19582a['subUnitId'],_0x19582a[_0x3490f2(0x22a)]),this[_0x3490f2(0x421)]());}_0x26707d[_0x3490f2(0x19d)]();}),this[_0x414260(0x153)]=_0x9f3b33['onPointerUp$'][_0x414260(0x447)]((_0x1295c5,_0xe3b75d)=>{const _0x524664=_0x414260;this['_adjHandlerPointerMove'][_0x524664(0x369)](),this[_0x524664(0x153)][_0x524664(0x369)](),_0x9f3b33[_0x524664(0x128)]();let _0x11881d=this['_activeAdjustInfo'];if(_0x11881d){let _0x4da3c8=_0x19582a[_0x524664(0x387)],_0x3b123f=_0x19582a['subUnitId'],_0x7c53e8=_0x19582a['drawingId'],_0x4780be={};for(let _0x3aa24f of Object[_0x524664(0x391)](_0x11881d['currentAdjustValues'])){var _0x141162;let _0x1db343=(_0x141162=this['_activeShapeModel'])==null?void 0x0:_0x141162[_0x524664(0x179)](_0x3aa24f);_0x1db343!==void 0x0&&(_0x4780be[_0x3aa24f]=_0x1db343);}Object[_0x524664(0x391)](_0x4780be)['length']>0x0&&_0x3cdd2e(this[_0x524664(0x2dc)],_0x4da3c8,_0x3b123f,_0x7c53e8,{'oldShapeData':{'adjustValues':_0x4ec960}},{'adjustValues':_0x4780be});}this[_0x524664(0x420)]=void 0x0,this[_0x524664(0x190)]=void 0x0,this['_isStartAdjusting']=!0x1,_0xe3b75d[_0x524664(0x19d)](),_0x9f3b33[_0x524664(0x1ce)]();}),_0xe7af46['stopPropagation']();})));}[_0x1e3977(0x1c4)](){const _0x53dfbc=_0x1e3977;let _0x276994=this[_0x53dfbc(0x18f)][_0x53dfbc(0x2b4)](_0x2eccf5[_0x53dfbc(0x296)]['UNIVER_SHEET']);this[_0x53dfbc(0x256)](_0x276994[_0x53dfbc(0x239)]((0x0,_0x124e3f[_0x53dfbc(0x37e)])(_0x36a86b=>_0x36a86b?_0x36a86b[_0x53dfbc(0x445)]['pipe']((0x0,_0x124e3f[_0x53dfbc(0x37e)])(_0x4df35b=>{const _0xb0ef8e=_0x53dfbc;if(!_0x4df35b)return _0x124e3f[_0xb0ef8e(0x341)];let _0x250df3=_0x36a86b[_0xb0ef8e(0x322)](),_0x2f4e4a=this[_0xb0ef8e(0x3ba)][_0xb0ef8e(0x2be)](_0x250df3),_0x239390=_0x2f4e4a==null?void 0x0:_0x2f4e4a[_0xb0ef8e(0x14a)];return _0x239390?(0x0,_0x124e3f['of'])(_0x239390):_0x124e3f[_0xb0ef8e(0x341)];})):_0x124e3f[_0x53dfbc(0x341)]))[_0x53dfbc(0x17b)](_0x40eb2d=>{const _0x454302=_0x53dfbc;let _0x11e5a1=_0x40eb2d['getTransformerByCreate']();this[_0x454302(0x256)](_0x40eb2d['onPointerMove$'][_0x454302(0x447)](()=>{const _0xff0bad=_0x454302;this[_0xff0bad(0x401)];})),this[_0x454302(0x256)](_0x11e5a1['changeStart$']['subscribe'](_0x37939b=>{const _0x3501c9=_0x454302;let {objects:_0x9530aa}=_0x37939b;this[_0x3501c9(0x44a)](),_0x9530aa!==null&&_0x9530aa[_0x3501c9(0x419)]===0x1&&_0x9530aa[_0x3501c9(0x158)]()[_0x3501c9(0x1fe)]()[_0x3501c9(0x123)]instanceof _0x34cbbf&&this[_0x3501c9(0x321)](!0x0);})),this[_0x454302(0x256)](_0x11e5a1[_0x454302(0x3be)]['subscribe'](()=>{const _0x250487=_0x454302;this[_0x250487(0x401)]&&this['_clearShapeAdjustControls']();})),this['disposeWithMe'](_0x40eb2d[_0x454302(0x292)][_0x454302(0x447)](()=>{const _0x26106b=_0x454302;this[_0x26106b(0x401)]&&(this[_0x26106b(0x321)](!0x1),this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0x11e5a1[_0x454302(0x31c)][_0x454302(0x17b)](()=>{const _0x575b2f=_0x454302;this['_unitId']&&this[_0x575b2f(0x18a)]&&this[_0x575b2f(0x166)]&&this['_drawingManagerService']['getDrawingByParam']({'unitId':this[_0x575b2f(0x44e)],'subUnitId':this[_0x575b2f(0x18a)],'drawingId':this['_activeShapeId']})&&(this[_0x575b2f(0x1f6)]=this[_0x575b2f(0x38d)](this[_0x575b2f(0x44e)],this[_0x575b2f(0x18a)],this[_0x575b2f(0x166)]),this['_updateAdjustControlPositions']());}));}));}[_0x1e3977(0x2f6)](){const _0x2470b5=_0x1e3977;this[_0x2470b5(0x256)](this[_0x2470b5(0x2dc)][_0x2470b5(0x17a)](_0x6366dd=>{const _0xd9070d=_0x2470b5;if(_0x6366dd['id']!==_0x1b87be[_0xd9070d(0x3da)]['id'])return;let {unitId:_0x11caa1,subUnitId:_0xe516ef,shapeId:_0x4e9e1c}=_0x6366dd[_0xd9070d(0x2bc)];_0x11caa1===this[_0xd9070d(0x44e)]&&_0xe516ef===this[_0xd9070d(0x18a)]&&_0x4e9e1c===this[_0xd9070d(0x166)]&&this[_0xd9070d(0x434)]();})),this['disposeWithMe'](this[_0x2470b5(0x1a2)][_0x2470b5(0x394)]['subscribe'](_0x2d40a2=>{const _0x447ff0=_0x2470b5;if(_0x2d40a2[_0x447ff0(0x337)]===0x1){let _0x5f4b2b=_0x2d40a2[0x0];if(_0x5f4b2b[_0x447ff0(0x34b)]===_0x2eccf5['DrawingTypeEnum'][_0x447ff0(0x285)]){this['_activeShapeId']=_0x5f4b2b['drawingId'];let {unitId:_0x21290c,subUnitId:_0x25a2c9}=_0x5f4b2b;this[_0x447ff0(0x1f6)]=this[_0x447ff0(0x38d)](_0x21290c,_0x25a2c9,this[_0x447ff0(0x166)]),this[_0x447ff0(0x44e)]=_0x21290c,this[_0x447ff0(0x18a)]=_0x25a2c9,this['_clearShapeAdjustControls'](),this['_createShapeAdjustControls']();}else this[_0x447ff0(0x166)]=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x447ff0(0x44e)]=null,this[_0x447ff0(0x18a)]=null,this['_clearShapeAdjustControls']();}(_0x2d40a2[_0x447ff0(0x337)]>0x1||_0x2d40a2[_0x447ff0(0x337)]===0x0)&&(this[_0x447ff0(0x166)]=null,this[_0x447ff0(0x1f6)]=void 0x0,this['_unitId']=null,this['_subUnitId']=null,this['_clearShapeAdjustControls']());})),this['disposeWithMe'](this[_0x2470b5(0x1a2)]['update$'][_0x2470b5(0x17b)](_0x5e39cf=>{const _0x76ad00=_0x2470b5;if(_0x5e39cf[_0x76ad00(0x337)]===0x1){var _0x4dd6d8;let _0x26e8b6=_0x5e39cf[0x0];((_0x4dd6d8=this['_drawingManagerService'][_0x76ad00(0x3d4)](_0x26e8b6))==null?void 0x0:_0x4dd6d8[_0x76ad00(0x34b)])===_0x2eccf5[_0x76ad00(0x43b)][_0x76ad00(0x285)]&&this[_0x76ad00(0x15f)](!0x0);}})),this[_0x2470b5(0x256)](this['_drawingManagerService'][_0x2470b5(0x3fa)][_0x2470b5(0x17b)](_0x31fa78=>{const _0x183c2c=_0x2470b5;for(let _0x356c8a of _0x31fa78)this[_0x183c2c(0x166)]===_0x356c8a[_0x183c2c(0x22a)]&&(this['_activeShapeId']=null,this['_activeShapeAdjustPointList']=void 0x0,this[_0x183c2c(0x44e)]=null,this[_0x183c2c(0x18a)]=null,this[_0x183c2c(0x439)]());}));}};_0x34fe5c=_0xba323d([_0x5a8c13(0x0,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)])),_0x5a8c13(0x2,(0x0,_0x2eccf5['Inject'])(_0x114b3e['IRenderManagerService'])),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1f5133)),_0x5a8c13(0x4,_0x2eccf5[_0x1e3977(0x178)]),_0x5a8c13(0x5,_0x2eccf5[_0x1e3977(0x1b2)])],_0x34fe5c);let _0x4162f6={'id':_0x1e3977(0x215),'type':_0x2eccf5[_0x1e3977(0x129)][_0x1e3977(0x3ef)],'handler':(_0x537f2d,_0x3a1bfc)=>{const _0x318215=_0x1e3977;let _0x504c70=_0x537f2d[_0x318215(0x32f)](_0x215a9[_0x318215(0x18c)]),_0x57fba5=_0x537f2d[_0x318215(0x32f)](_0x114b3e[_0x318215(0x42b)]),_0x727ffc=_0x537f2d[_0x318215(0x32f)](_0x34fe5c);if(_0x3a1bfc==null)return!0x0;if(_0x3a1bfc[_0x318215(0x337)]>0x0){var _0x392461;let _0x3f3193=(_0x392461=_0x57fba5[_0x318215(0x2be)](_0x3a1bfc[0x0]['unitId']))==null?void 0x0:_0x392461[_0x318215(0x14a)];if(_0x3f3193){let {unitId:_0x489cf6,subUnitId:_0x400008,drawingId:_0x208d26}=_0x3a1bfc[0x0],_0x4b8363=(0x0,_0x215a9[_0x318215(0x2ee)])({'unitId':_0x489cf6,'subUnitId':_0x400008,'drawingId':_0x208d26},void 0x0),_0x12dfcd=_0x3f3193['getObjectIncludeInGroup'](_0x4b8363);if(_0x12dfcd){var _0x137baf;(_0x137baf=_0x57fba5[_0x318215(0x2be)](_0x3a1bfc[0x0][_0x318215(0x387)]))==null||(_0x137baf=_0x137baf[_0x318215(0x14a)][_0x318215(0x3ff)]())==null||_0x137baf['activeAnObject'](_0x12dfcd);}}_0x504c70[_0x318215(0x423)](_0x3a1bfc),_0x727ffc['setShouldShowAdjust'](!0x1);}return!0x0;}},_0x29cd9f={'type':_0x2eccf5['CommandType'][_0x1e3977(0x209)],'id':_0x1e3977(0x13f),'handler':async(_0x53a7f8,_0xc5d2a9)=>{const _0x1d3bc6=_0x1e3977;let _0x12fddb=(0x0,_0x2554f2[_0x1d3bc6(0x355)])(_0x53a7f8['get'](_0x2eccf5[_0x1d3bc6(0x178)]));if(!_0x12fddb)return!0x1;let _0x196094=_0x53a7f8[_0x1d3bc6(0x32f)](_0x2554f2[_0x1d3bc6(0x3fd)])[_0x1d3bc6(0x191)]();if(!_0x196094)return!0x1;let _0x56402c=_0x53a7f8[_0x1d3bc6(0x32f)](_0x2eccf5['ICommandService']),{unitId:_0x2a0919,subUnitId:_0x5a6aec}=_0x12fddb,{value:_0x58d8b0,enhanceParams:_0x555a22}=_0xc5d2a9,{range:_0x2d82a8}=_0x196094,_0x24ab20={'unitId':_0x2a0919,'subUnitId':_0x5a6aec,'shapeType':_0x58d8b0,'range':_0x2d82a8,'shapeId':(0x0,_0x2eccf5[_0x1d3bc6(0x2f1)])()};if(_0x555a22){let _0x460b84=(0x0,_0x3d21cd[_0x1d3bc6(0x275)])(_0x58d8b0),_0x2e1b5f=_0x58d8b0===_0x3d21cd[_0x1d3bc6(0x2bf)][_0x1d3bc6(0x31a)];_0x460b84&&(_0x555a22[_0x1d3bc6(0x2b6)]||_0x555a22[_0x1d3bc6(0x3fb)])&&(_0x24ab20[_0x1d3bc6(0x28a)]={'ln':{'startArrow':_0x555a22['startArrow']?{'type':_0x3d21cd[_0x1d3bc6(0x156)]['Arrow'],'size':_0x3d21cd['ShapeArrowSizeEnum']['Medium']}:void 0x0,'endArrow':_0x555a22['endArrow']?{'type':_0x3d21cd[_0x1d3bc6(0x156)][_0x1d3bc6(0x24f)],'size':_0x3d21cd['ShapeArrowSizeEnum'][_0x1d3bc6(0x31b)]}:void 0x0}}),_0x2e1b5f&&(_0x555a22[_0x1d3bc6(0x2a7)]||_0x555a22[_0x1d3bc6(0x1f1)])&&(_0x24ab20['shapeData']=(0x0,_0x32598e['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x3d21cd['ShapeFillEnum'][_0x1d3bc6(0x313)],'color':_0x1d3bc6(0x268)},'isHorizontal':!!_0x555a22['horizontal'],'stroke':{'lineStrokeType':_0x3d21cd[_0x1d3bc6(0x1db)][_0x1d3bc6(0x395)],'width':0x1,'color':'#bcbcbc'}}));}let _0x3b9b50=_0x56402c[_0x1d3bc6(0x1fa)](_0x1b87be['InsertShapeCommand']['id'],_0x24ab20);return setTimeout(()=>{const _0x15d30e=_0x1d3bc6;_0x56402c[_0x15d30e(0x216)](_0x4162f6['id'],[{'unitId':_0x2a0919,'subUnitId':_0x5a6aec,'drawingId':_0x24ab20['shapeId']}]);},0xc8),_0x3b9b50;}},_0xb9db8d=_0x1e3977(0x38a),_0x19a922=_0x1e3977(0x335),_0x1f1d2c='sheet.shape.floating-toolbar',_0x39b4a9=(0x0,_0x2eccf5['createInternalEditorID'])('SHAPE_TEXT'),_0x9609bf='sheet.shape.text.float-menu',_0x393ac4={'id':_0x1e3977(0x236),'type':_0x2eccf5['CommandType']['COMMAND'],'handler':(_0x357534,_0x2bd638)=>{const _0x9207d1=_0x1e3977;let _0x5d1952=_0x357534[_0x9207d1(0x32f)](_0x4b5551['ISidebarService']),_0x39aed8=_0x357534[_0x9207d1(0x32f)](_0x2eccf5[_0x9207d1(0x24d)]),_0x5c11b8=_0x357534[_0x9207d1(0x32f)](_0x2eccf5[_0x9207d1(0x178)]),_0x5bf9b5=_0x357534[_0x9207d1(0x32f)](_0x2eccf5[_0x9207d1(0x1b2)]);return(0x0,_0x2554f2[_0x9207d1(0x355)])(_0x5c11b8)?(_0x2bd638==null?void 0x0:_0x2bd638[_0x9207d1(0x123)])===_0x9207d1(0x309)?(_0x5d1952[_0x9207d1(0x309)](_0x19a922),!0x0):(_0x5d1952[_0x9207d1(0x1bc)]({'id':_0x19a922,'header':{'title':_0x39aed8['t'](_0x9207d1(0x2df))},'children':{'label':_0x19a922},'onClose':()=>{const _0x2fa475=_0x9207d1;_0x5bf9b5[_0x2fa475(0x1fa)](_0x215a9[_0x2fa475(0x3b4)]['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x432d68=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2f0735,_0x4bebf6){const _0x4944aa=_0x1e3977;super(),this[_0x4944aa(0x213)]=_0x2f0735,this[_0x4944aa(0x1a2)]=_0x4bebf6,this[_0x4944aa(0x1b4)](),this['_clipService']['setCanUseShapeClip'](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x4944aa(0x213)]['setCanUseShapeClip'](!0x1)});}[_0x1e3977(0x1b4)](){const _0x4375c7=_0x1e3977;let _0x280a91=this[_0x4375c7(0x213)],_0x8fc27=new Map(),_0x126867=_0x280a91[_0x4375c7(0x316)]((_0x58bd3d,_0x288eaa,_0x2459d3,_0x13309f,_0x4c473c)=>{const _0x368bfc=_0x4375c7;let _0x42771c=_0x288eaa;if(_0x42771c===_0x3d21cd['ShapeTypeEnum'][_0x368bfc(0x174)]||_0x288eaa==='custom')return!0x1;try{let _0x5e6128=_0x8fc27['get'](_0x288eaa);return _0x5e6128||(_0x5e6128=new _0x3d21cd['ShapeModel'](_0x42771c,_0x368bfc(0x218)+_0x288eaa),_0x8fc27[_0x368bfc(0x310)](_0x288eaa,_0x5e6128)),_0x5e6128[_0x368bfc(0x3bb)](),_0x4c473c&&Object[_0x368bfc(0x391)](_0x4c473c)['length']>0x0&&_0x5e6128[_0x368bfc(0x25a)]({'adjustValues':_0x4c473c},!0x0),_0x5e6128[_0x368bfc(0x1b9)]({'width':_0x2459d3,'height':_0x13309f}),_0x5e6128['buildClipPath'](_0x58bd3d,{'left':0x0,'top':0x0,'width':_0x2459d3,'height':_0x13309f});}catch{return!0x1;}});this[_0x4375c7(0x256)](_0x126867),this[_0x4375c7(0x256)]({'dispose':()=>_0x8fc27['clear']()});}[_0x1e3977(0x2a0)](_0x37ac98,_0x2da1e7,_0x57b435,_0x52b1ce,_0x5a0bf6){const _0x1f0925=_0x1e3977;let _0x3971bd=this['_drawingManagerService'][_0x1f0925(0x173)](_0x37ac98,_0x2da1e7);if(!_0x3971bd[_0x57b435])return;let _0x1afec2={..._0x3971bd[_0x57b435],'prstGeom':_0x52b1ce,'adjustValues':_0x5a0bf6};this[_0x1f0925(0x1a2)][_0x1f0925(0x207)]([_0x1afec2]);}};_0x432d68=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x34fb64[_0x1e3977(0x36a)])),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x215a9[_0x1e3977(0x18c)]))],_0x432d68);let _0x1ed21a=_0x1e3977(0x29c),_0x456ca6=_0x1e3977(0x165);function _0x17973b({onShapeClick:_0x55471e,excludeGroups:_0xabe569}){const _0x8f636=_0x1e3977;return(0x0,_0x2dcc44['jsx'])(_0x25b599[_0x8f636(0x10d)],{'excludeGroups':_0xabe569,'onShapeClick':_0x55471e,'scrollContainer':_0x8f636(0x37c)});}function _0x5968f5(){const _0x2e9eaf=_0x1e3977;let _0x3e5142=(0x0,_0x4b5551['useDependency'])(_0x215a9[_0x2e9eaf(0x18c)]),_0x516b8e=(0x0,_0x4b5551[_0x2e9eaf(0x11c)])(_0x432d68);return(0x0,_0x2dcc44[_0x2e9eaf(0x32e)])(_0x25b599[_0x2e9eaf(0x43e)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x25b599[_0x2e9eaf(0x279)][_0x2e9eaf(0x125)]],'onShapeClick':_0x3a9590=>{const _0x3ca35c=_0x2e9eaf;let _0x22f012=_0x3e5142[_0x3ca35c(0x40c)]()[_0x3ca35c(0x24b)](_0x572588=>_0x572588[_0x3ca35c(0x34b)]===_0x2eccf5['DrawingTypeEnum'][_0x3ca35c(0x22c)]);if(!_0x22f012)return;let {unitId:_0x2b279a,subUnitId:_0x3f0827,drawingId:_0x57a3d9}=_0x22f012;_0x516b8e[_0x3ca35c(0x2a0)](_0x2b279a,_0x3f0827,_0x57a3d9,_0x3a9590['type']);}});}function _0x49666e(){const _0x91670f=_0x1e3977;let _0x380d26=(0x0,_0x4b5551[_0x91670f(0x11c)])(_0x4b5551[_0x91670f(0x32c)]),_0x7fb1f1=(0x0,_0x4b5551[_0x91670f(0x11c)])(_0x215a9['IDrawingManagerService']),_0x57bbe6=(0x0,_0x4b5551[_0x91670f(0x11c)])(_0x2eccf5['IUniverInstanceService']),_0x4665d7=_0x7fb1f1[_0x91670f(0x40c)]()[0x0],_0x581df4=_0x4665d7?_0x57bbe6[_0x91670f(0x3aa)](_0x4665d7[_0x91670f(0x387)]):void 0x0,_0x3beb59=_0x581df4===_0x2eccf5[_0x91670f(0x296)][_0x91670f(0x1f9)]?_0x91670f(0x3fc):_0x581df4===_0x2eccf5[_0x91670f(0x296)][_0x91670f(0x293)]?_0x456ca6:void 0x0,_0x2f362a=_0x3beb59?_0x380d26[_0x91670f(0x32f)](_0x3beb59):void 0x0;return _0x2f362a?(0x0,_0x2dcc44[_0x91670f(0x32e)])(_0x2f362a,{}):null;}function _0x46b9a0(){let _0xf41edd=(0x0,_0x4b5551['useDependency'])(_0x2eccf5['ICommandService']);return(0x0,_0x2dcc44['jsx'])(_0x17973b,{'onShapeClick':_0x56a378=>{const _0x3d3fb4=_0x93c9;_0xf41edd['executeCommand'](_0x29cd9f['id'],{'value':_0x56a378[_0x3d3fb4(0x13c)],'enhanceParams':{'endArrow':_0x56a378['endArrow'],'startArrow':_0x56a378['startArrow'],'horizontal':_0x56a378[_0x3d3fb4(0x2a7)],'vertical':_0x56a378[_0x3d3fb4(0x1f1)]}});}});}function _0x488c8b(_0x27c005){const _0x1c1309=_0x1e3977;let _0x55a959=_0x27c005[_0x1c1309(0x32f)](_0x2eccf5[_0x1c1309(0x178)]);return{'id':_0x29cd9f['id'],'type':_0x4b5551[_0x1c1309(0x344)][_0x1c1309(0x388)],'selections':[{'label':{'name':_0x1ed21a,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x29cd9f['id']}}}],'icon':_0x1c1309(0x302),'tooltip':_0x1c1309(0x152),'activated$':(0x0,_0x3c12d8['deriveStateFromActiveSheet$'])(_0x55a959,!0x1,()=>new _0x124e3f['Observable'](_0x1f8e51=>{const _0x1f2cbb=_0x1c1309;_0x1f8e51[_0x1f2cbb(0x1fe)](!0x1);})),'hidden$':(0x0,_0x4b5551[_0x1c1309(0x40e)])(_0x27c005,_0x2eccf5[_0x1c1309(0x296)][_0x1c1309(0x293)]),'disabled$':(0x0,_0x3c12d8['getCurrentRangeDisable$'])(_0x27c005)};}function _0x436454(_0x286b62){const _0xfaddc8=_0x1e3977;let _0x20fb94=_0x286b62[_0xfaddc8(0x32f)](_0x2eccf5[_0xfaddc8(0x178)]);return{'id':_0x393ac4['id'],'type':_0x4b5551['MenuItemType'][_0xfaddc8(0x3db)],'icon':_0xfaddc8(0x1f7),'title':_0xfaddc8(0x325),'tooltip':_0xfaddc8(0x325),'activated$':(0x0,_0x3c12d8[_0xfaddc8(0x298)])(_0x20fb94,!0x1,()=>new _0x124e3f[(_0xfaddc8(0x39a))](_0x30c544=>{const _0x2df28c=_0xfaddc8;_0x30c544[_0x2df28c(0x1fe)](!0x1);})),'hidden$':(0x0,_0x4b5551['getMenuHiddenObservable'])(_0x286b62,_0x2eccf5[_0xfaddc8(0x296)]['UNIVER_SHEET']),'disabled$':(0x0,_0x3c12d8[_0xfaddc8(0x230)])(_0x286b62)};}let _0x2f7d0f='sheet.menu.shape.flip-horizontal',_0x4dfc59=_0x1e3977(0x2cc);function _0x34faa1(_0x485aa7){const _0x3bde45=_0x1e3977;let _0x4769dd=_0x485aa7[_0x3bde45(0x32f)](_0x215a9[_0x3bde45(0x18c)])[_0x3bde45(0x40c)]();return _0x4769dd[_0x3bde45(0x337)]===0x1&&_0x4769dd[0x0][_0x3bde45(0x34b)]===_0x2eccf5[_0x3bde45(0x43b)][_0x3bde45(0x285)]?_0x4769dd[0x0]:null;}function _0x4e4fbf(_0x3c2214){const _0x8832e0=_0x1e3977;let _0x2e87de=_0x3c2214['get'](_0x215a9[_0x8832e0(0x18c)]);return _0x2e87de[_0x8832e0(0x394)][_0x8832e0(0x239)]((0x0,_0x124e3f[_0x8832e0(0x1c2)])(_0x2e87de['getFocusDrawings']()),(0x0,_0x124e3f[_0x8832e0(0x43f)])(_0x250d80=>_0x250d80[_0x8832e0(0x337)]!==0x1||_0x250d80[0x0]['drawingType']!==_0x2eccf5[_0x8832e0(0x43b)][_0x8832e0(0x285)]));}function _0x36a234(_0x344a31){const _0x3d0d44=_0x1e3977;return{'id':_0x2f7d0f,'commandId':_0x1b87be[_0x3d0d44(0x383)]['id'],'type':_0x4b5551[_0x3d0d44(0x344)][_0x3d0d44(0x3db)],'title':'sheets-shape-ui.flipHorizontal','tooltip':_0x3d0d44(0x3ae),'icon':_0x3d0d44(0x2f0),'hidden$':_0x4e4fbf(_0x344a31),'params':()=>{const _0x40d47d=_0x3d0d44;let _0x4b7333=_0x34faa1(_0x344a31);return _0x4b7333?{'unitId':_0x4b7333[_0x40d47d(0x387)],'subUnitId':_0x4b7333[_0x40d47d(0x204)],'shapeId':_0x4b7333[_0x40d47d(0x22a)],'flipH':!0x0}:void 0x0;}};}function _0x1d3c90(_0x129ece){const _0x22a168=_0x1e3977;return{'id':_0x4dfc59,'commandId':_0x1b87be['ToggleSheetsShapeFlipCommand']['id'],'type':_0x4b5551[_0x22a168(0x344)][_0x22a168(0x3db)],'title':_0x22a168(0x10b),'tooltip':_0x22a168(0x10b),'icon':_0x22a168(0x406),'hidden$':_0x4e4fbf(_0x129ece),'params':()=>{const _0x5da263=_0x22a168;let _0x276f6c=_0x34faa1(_0x129ece);return _0x276f6c?{'unitId':_0x276f6c['unitId'],'subUnitId':_0x276f6c[_0x5da263(0x204)],'shapeId':_0x276f6c[_0x5da263(0x22a)],'flipV':!0x0}:void 0x0;}};}let _0x3b310c={[_0x4b5551['RibbonInsertGroup']['MEDIA']]:{[_0x29cd9f['id']]:{'order':0x4,'menuItemFactory':_0x488c8b}},[_0x4b5551[_0x1e3977(0x3d6)][_0x1e3977(0x284)]]:{[_0x393ac4['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x436454}},[_0x4b5551[_0x1e3977(0x2e7)][_0x1e3977(0x113)]]:{[_0x4b5551['ContextMenuGroup'][_0x1e3977(0x284)]]:{[_0x2f7d0f]:{'order':0x4,'menuItemFactory':_0x36a234},[_0x4dfc59]:{'order':0x5,'menuItemFactory':_0x1d3c90}}}};var _0xa08251='@univerjs-pro/sheets-shape-ui',_0x3fe8c1=_0x1e3977(0x17c);let _0x157efe={'type':_0x2eccf5[_0x1e3977(0x129)][_0x1e3977(0x3ef)],'id':_0x1e3977(0x418),'handler'(){return!0x0;}},_0x148656={'type':_0x2eccf5[_0x1e3977(0x129)][_0x1e3977(0x3ef)],'id':_0x1e3977(0x373),'handler'(){return!0x0;}},_0x4f4787={};function _0x4b8678({ref:_0x1df250,..._0xf7ec53}){const _0xa60854=_0x1e3977;let {icon:_0x11d6d3,id:_0x19b5d5,className:_0x3dfa18,extend:_0x52e6e6,..._0x135d44}=_0xf7ec53,_0x388146=('univerjs-icon\x20univerjs-icon-'+_0x19b5d5+'\x20'+(_0x3dfa18||''))[_0xa60854(0x3f8)](),_0x56e976=(0x0,_0x33f0ff[_0xa60854(0x389)])('_'+_0x4c1645());return _0x32b6df(_0x11d6d3,''+_0x19b5d5,{'defIds':_0x11d6d3[_0xa60854(0x311)],'idSuffix':_0x56e976[_0xa60854(0x38e)]},{'ref':_0x1df250,'className':_0x388146,..._0x135d44},_0x52e6e6);}function _0x32b6df(_0x2cd28b,_0x54fd21,_0x51735d,_0x1fa9d7,_0x4a6d79){const _0x1676aa=_0x1e3977;return(0x0,_0x33f0ff[_0x1676aa(0x338)])(_0x2cd28b['tag'],{'key':_0x54fd21,..._0x384154(_0x2cd28b,_0x51735d,_0x4a6d79),..._0x1fa9d7},(_0x2b9ebc(_0x2cd28b,_0x51735d)[_0x1676aa(0x273)]||[])[_0x1676aa(0x43f)]((_0x123158,_0x51ff65)=>_0x32b6df(_0x123158,_0x54fd21+'-'+_0x2cd28b['tag']+'-'+_0x51ff65,_0x51735d,void 0x0,_0x4a6d79)));}function _0x384154(_0x137561,_0x16eb1d,_0x5e0a33){const _0x2fc0b7=_0x1e3977;let _0x4b6d23={..._0x137561[_0x2fc0b7(0x2dd)]};_0x5e0a33!=null&&_0x5e0a33['colorChannel1']&&_0x4b6d23[_0x2fc0b7(0x172)]===_0x2fc0b7(0x348)&&(_0x4b6d23[_0x2fc0b7(0x172)]=_0x5e0a33['colorChannel1']),_0x5e0a33!=null&&_0x5e0a33['colorChannel1']&&_0x4b6d23[_0x2fc0b7(0x3ed)]==='colorChannel1'&&(_0x4b6d23['stroke']=_0x5e0a33['colorChannel1']),_0x137561[_0x2fc0b7(0x291)]===_0x2fc0b7(0x2e1)&&_0x4b6d23['id']&&(_0x4b6d23['id']+=_0x16eb1d['idSuffix']),Object[_0x2fc0b7(0x3d5)](_0x4b6d23)['forEach'](([_0x555f8c,_0x12606c])=>{const _0x458155=_0x2fc0b7;_0x555f8c===_0x458155(0x2e1)&&typeof _0x12606c==_0x458155(0x144)&&(_0x4b6d23[_0x555f8c]=_0x12606c[_0x458155(0x352)](/url\(#(.*)\)/,_0x458155(0x370)+_0x16eb1d[_0x458155(0x1c5)]+')'));});let {defIds:_0x35e84e}=_0x16eb1d;return!_0x35e84e||_0x35e84e[_0x2fc0b7(0x337)]===0x0?_0x4b6d23:(_0x137561['tag']===_0x2fc0b7(0x1c9)&&_0x4b6d23[_0x2fc0b7(0x39f)]&&(_0x4b6d23[_0x2fc0b7(0x39f)]+=_0x16eb1d[_0x2fc0b7(0x1c5)]),Object[_0x2fc0b7(0x3d5)](_0x4b6d23)[_0x2fc0b7(0x30e)](([_0x309cca,_0x4f4c4f])=>{const _0x5ade92=_0x2fc0b7;typeof _0x4f4c4f==_0x5ade92(0x144)&&(_0x4b6d23[_0x309cca]=_0x4f4c4f[_0x5ade92(0x352)](/url\(#(.*)\)/,_0x5ade92(0x370)+_0x16eb1d['idSuffix']+')'));}),_0x4b6d23);}function _0x2b9ebc(_0x5700d1,_0x296b1f){const _0x3f05ae=_0x1e3977;var _0x2a4d45;let {defIds:_0x5123b1}=_0x296b1f;return!_0x5123b1||_0x5123b1[_0x3f05ae(0x337)]===0x0?_0x5700d1:_0x5700d1[_0x3f05ae(0x291)]===_0x3f05ae(0x2b8)&&(_0x2a4d45=_0x5700d1['children'])!=null&&_0x2a4d45[_0x3f05ae(0x337)]?{..._0x5700d1,'children':_0x5700d1[_0x3f05ae(0x273)]['map'](_0x311dc1=>typeof _0x311dc1[_0x3f05ae(0x2dd)]['id']==_0x3f05ae(0x144)&&_0x5123b1&&_0x5123b1[_0x3f05ae(0x3c2)](_0x311dc1[_0x3f05ae(0x2dd)]['id'])?{..._0x311dc1,'attrs':{..._0x311dc1[_0x3f05ae(0x2dd)],'id':_0x311dc1['attrs']['id']+_0x296b1f['idSuffix']}}:_0x311dc1)}:_0x5700d1;}function _0x4c1645(){const _0x3bb7e5=_0x1e3977;return Math['random']()['toString'](0x24)[_0x3bb7e5(0x3e2)](0x2,0x8);}_0x4b8678[_0x1e3977(0x3f6)]=_0x1e3977(0x2d8);let _0x5dc691={'tag':_0x1e3977(0x390),'attrs':{'xmlns':_0x1e3977(0x270),'fill':_0x1e3977(0x416),'viewBox':_0x1e3977(0x376),'width':_0x1e3977(0x1be),'height':'1em'},'children':[{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x319),'strokeLinecap':_0x1e3977(0x155),'strokeLinejoin':_0x1e3977(0x155),'strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x198),'strokeLinecap':_0x1e3977(0x155),'strokeLinejoin':_0x1e3977(0x155),'strokeWidth':1.3}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'M8\x202.2V3.8','strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':'currentColor','d':_0x1e3977(0x3f2),'strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x232),'strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x2f5),'strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}}]},_0x194a17=(0x0,_0x33f0ff[_0x1e3977(0x132)])(function(_0x14e816,_0x17215b){const _0x54258a=_0x1e3977;return(0x0,_0x33f0ff[_0x54258a(0x338)])(_0x4b8678,Object[_0x54258a(0x438)]({},_0x14e816,{'id':_0x54258a(0x407),'ref':_0x17215b,'icon':_0x5dc691}));});_0x194a17[_0x1e3977(0x3f6)]=_0x1e3977(0x2f0);let _0x14e41a={'tag':_0x1e3977(0x390),'attrs':{'xmlns':_0x1e3977(0x270),'fill':'none','viewBox':_0x1e3977(0x376),'width':_0x1e3977(0x1be),'height':_0x1e3977(0x1be)},'children':[{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','strokeLinecap':_0x1e3977(0x155),'strokeLinejoin':_0x1e3977(0x155),'strokeWidth':1.3}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','strokeLinecap':_0x1e3977(0x155),'strokeLinejoin':'round','strokeWidth':1.3}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1e3977(0x17f),'strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'M6.2\x208H7.8','strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'M10.2\x208H11.8','strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x385),'strokeLinecap':_0x1e3977(0x155),'strokeWidth':1.2}}]},_0x1e6e5=(0x0,_0x33f0ff['forwardRef'])(function(_0x484882,_0x271ecc){const _0x9387e4=_0x1e3977;return(0x0,_0x33f0ff[_0x9387e4(0x338)])(_0x4b8678,Object['assign']({},_0x484882,{'id':'flip-vertical-icon','ref':_0x271ecc,'icon':_0x14e41a}));});_0x1e6e5[_0x1e3977(0x3f6)]=_0x1e3977(0x406);let _0x2b29ce={'tag':_0x1e3977(0x390),'attrs':{'xmlns':_0x1e3977(0x270),'fill':_0x1e3977(0x416),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1e3977(0x1be)},'children':[{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':_0x1e3977(0x260),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.3}},{'tag':_0x1e3977(0x28f),'attrs':{'stroke':_0x1e3977(0x3eb),'d':'m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','strokeLinecap':_0x1e3977(0x155),'strokeLinejoin':_0x1e3977(0x155),'strokeWidth':1.3}}]},_0x2f353d=(0x0,_0x33f0ff[_0x1e3977(0x132)])(function(_0x38532b,_0x2bbfbf){const _0x1a7444=_0x1e3977;return(0x0,_0x33f0ff['createElement'])(_0x4b8678,Object[_0x1a7444(0x438)]({},_0x38532b,{'id':_0x1a7444(0x235),'ref':_0x2bbfbf,'icon':_0x2b29ce}));});_0x2f353d[_0x1e3977(0x3f6)]=_0x1e3977(0x1f7);function _0x32de57(_0x44d846){return _0x44d846['trim']()||void 0x0;}function _0x5d6260(_0x4f3705){const _0x2d8e31=_0x1e3977;switch(_0x4f3705[_0x2d8e31(0x34b)]){case _0x2eccf5['DrawingTypeEnum']['DRAWING_IMAGE']:return _0x2d8e31(0x34c);case _0x2eccf5[_0x2d8e31(0x43b)][_0x2d8e31(0x443)]:return'chart';case _0x2eccf5[_0x2d8e31(0x43b)][_0x2d8e31(0x409)]:return _0x2d8e31(0x115);case _0x2eccf5[_0x2d8e31(0x43b)][_0x2d8e31(0x248)]:return _0x2d8e31(0x29a);case _0x2eccf5[_0x2d8e31(0x43b)][_0x2d8e31(0x2da)]:return'video';case _0x2eccf5['DrawingTypeEnum'][_0x2d8e31(0x1a7)]:return _0x2d8e31(0x1c0);case _0x2eccf5[_0x2d8e31(0x43b)]['DRAWING_UNIT']:return _0x2d8e31(0x244);case _0x2eccf5[_0x2d8e31(0x43b)][_0x2d8e31(0x1d8)]:return _0x2d8e31(0x3e6);case _0x2eccf5['DrawingTypeEnum'][_0x2d8e31(0x285)]:return _0x2d8e31(0x170);default:return _0x2d8e31(0x432);}}function _0x245041(_0x1e224a,_0x1966a4,_0x1020ca){const _0x5afdcb=_0x1e3977;var _0x4b2e6d;return((_0x4b2e6d=_0x1e224a[_0x5afdcb(0x454)])==null?void 0x0:_0x4b2e6d['trim']())||(0x0,_0x34fb64[_0x5afdcb(0x199)])(_0x1020ca,_0x5d6260(_0x1e224a))+'\x20'+(_0x1966a4+0x1);}function _0x45565c(){const _0xde20f9=_0x1e3977;var _0x171cb6,_0x50ca38,_0x4278bd,_0x2e5bac;let _0x4d8540=(0x0,_0x4b5551['useDependency'])(_0x2eccf5[_0xde20f9(0x24d)]),_0x3208e6=(0x0,_0x4b5551[_0xde20f9(0x11c)])(_0x2eccf5[_0xde20f9(0x1b2)]),_0x1ea424=(0x0,_0x4b5551[_0xde20f9(0x11c)])(_0x2eccf5[_0xde20f9(0x178)]),_0x397819=(0x0,_0x4b5551[_0xde20f9(0x11c)])(_0x2a2650['ISheetDrawingService']),_0xc93c0d=(0x0,_0x4b5551[_0xde20f9(0x11c)])(_0x215a9[_0xde20f9(0x18c)]),_0x39cfbf=(0x0,_0x4b5551[_0xde20f9(0x11c)])(_0x114b3e['IRenderManagerService']),[,_0x365b1f]=(0x0,_0x33f0ff[_0xde20f9(0x377)])(_0x415480=>_0x415480+0x1,0x0),_0x3b4915=_0x1ea424['getCurrentUnitOfType'](_0x2eccf5[_0xde20f9(0x296)]['UNIVER_SHEET']),_0x59e8b8=(_0x171cb6=_0x3b4915==null?void 0x0:_0x3b4915[_0xde20f9(0x322)]())==null?'':_0x171cb6,_0x4c4377=(_0x50ca38=_0x3b4915==null||(_0x4278bd=_0x3b4915[_0xde20f9(0x35c)]())==null?void 0x0:_0x4278bd[_0xde20f9(0x358)]())==null?'':_0x50ca38,_0x5c32ed=(0x0,_0x4b5551[_0xde20f9(0x2af)])(()=>_0xc93c0d[_0xde20f9(0x394)],_0xc93c0d['getFocusDrawings'](),!0x1,[_0xc93c0d]);(0x0,_0x33f0ff['useEffect'])(()=>{const _0x15463d=_0xde20f9;let _0x3f443a=_0x3208e6[_0x15463d(0x17a)](()=>_0x365b1f());return()=>_0x3f443a['dispose']();},[_0x3208e6]);let _0xc7a6c2=_0x59e8b8&&_0x4c4377?_0x397819[_0xde20f9(0x173)](_0x59e8b8,_0x4c4377):{},_0x1e77a1=_0x59e8b8&&_0x4c4377?_0x397819[_0xde20f9(0x257)](_0x59e8b8,_0x4c4377):[],_0x2c3747=(0x0,_0x33f0ff[_0xde20f9(0x2d4)])(()=>(0x0,_0x34fb64[_0xde20f9(0x2c5)])(_0x4d8540),[_0x4d8540]),_0x497080=(0x0,_0x33f0ff[_0xde20f9(0x2d4)])(()=>{const _0x5c2eba=_0xde20f9;let _0x36df50=_0x1e77a1[_0x5c2eba(0x43f)](_0xbdf73c=>_0xc7a6c2[_0xbdf73c])[_0x5c2eba(0x3c4)](_0x4a88c6=>!!_0x4a88c6)[_0x5c2eba(0x11d)](),_0x3d69e9=_0x36df50['reduce']((_0x3aa7f8,_0x3d8ec6)=>(_0x3aa7f8[(0x0,_0x34fb64[_0x5c2eba(0x1f3)])(_0x3d8ec6[_0x5c2eba(0x34b)])]+=0x1,_0x3aa7f8),{'canvas':0x0,'floating':0x0}),_0x1f8552={'canvas':0x0,'floating':0x0};return _0x36df50[_0x5c2eba(0x43f)]((_0x1f10e1,_0x436827)=>{const _0x3340a1=_0x5c2eba;let _0x2dcc5b=(0x0,_0x34fb64['getObjectListPanelSectionIdForDrawingType'])(_0x1f10e1['drawingType']),_0x49f185=_0x2dcc5b===_0x34fb64[_0x3340a1(0x39b)],_0x1ba1ac=_0x1f8552[_0x2dcc5b]++;return{'id':_0x1f10e1[_0x3340a1(0x22a)],'name':_0x245041(_0x1f10e1,_0x436827,_0x4d8540),'description':_0x1f10e1['description'],'visible':_0x1f10e1[_0x3340a1(0x1f2)]!==!0x0,'selectable':_0x1f10e1[_0x3340a1(0x192)]!==!0x1,'sectionId':_0x2dcc5b,'sectionTitle':_0x49f185?_0x2c3747[_0x3340a1(0x26f)]:_0x2c3747[_0x3340a1(0x136)],'capabilities':_0x49f185?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x49f185&&_0x1ba1ac>0x0,'canMoveBackward':!_0x49f185&&_0x1ba1ac<_0x3d69e9[_0x3340a1(0x33c)]-0x1,'canReorder':!_0x49f185};});},[_0xc7a6c2,_0x1e77a1,_0x2c3747[_0xde20f9(0x136)],_0x2c3747['sectionFloating'],_0x4d8540]),_0x2f3461=(0x0,_0x33f0ff[_0xde20f9(0x2d4)])(()=>(_0x5c32ed==null?[]:_0x5c32ed)[_0xde20f9(0x3c4)](_0x2d817d=>_0x2d817d['unitId']===_0x59e8b8&&_0x2d817d[_0xde20f9(0x204)]===_0x4c4377)[_0xde20f9(0x43f)](_0x369862=>_0x369862[_0xde20f9(0x22a)]),[_0x5c32ed,_0x4c4377,_0x59e8b8]),_0x3a17dc=(_0x2e5bac=_0x2f3461[_0x2f3461[_0xde20f9(0x337)]-0x1])==null?null:_0x2e5bac,_0x8628fc=_0xcbf2ba=>{var _0x2d0183;return(_0x2d0183=_0x397819['getDrawingByParam']({'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingId':_0xcbf2ba}))==null?null:_0x2d0183;},_0x36bb11=_0x42a18b=>{const _0xbaf2f2=_0xde20f9;!_0x59e8b8||!_0x42a18b[_0xbaf2f2(0x337)]||_0x3208e6[_0xbaf2f2(0x216)](_0x2a2650[_0xbaf2f2(0x3c5)]['id'],{'unitId':_0x59e8b8,'drawings':_0x42a18b});},_0x359762=(_0x33fbf8,_0x4245c3)=>{_0x8628fc(_0x33fbf8)&&_0x36bb11([{'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingId':_0x33fbf8,..._0x4245c3}]);},_0x3b013e=(_0x5472f5,_0x17dfdc)=>{const _0x4c24e3=_0xde20f9;if(!_0x59e8b8||!_0x4c4377)return;let _0x27e9b9=_0x17dfdc?_0x2f3461[_0x4c24e3(0x3c2)](_0x5472f5)?_0x2f3461['filter'](_0x51f807=>_0x51f807!==_0x5472f5):[..._0x2f3461,_0x5472f5]:[_0x5472f5];_0x3208e6[_0x4c24e3(0x1fa)](_0x215a9[_0x4c24e3(0x3b4)]['id'],_0x27e9b9[_0x4c24e3(0x43f)](_0x3eb2de=>({'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingId':_0x3eb2de})));let _0x2ba1e7=_0x27e9b9[_0x27e9b9[_0x4c24e3(0x337)]-0x1];_0x2ba1e7?(0x0,_0x25b599['activateDrawingObject'])(_0x39cfbf,{'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingId':_0x2ba1e7}):(0x0,_0x25b599[_0x4c24e3(0x3b7)])(_0x39cfbf,_0x59e8b8);},_0x2894e2=(_0x33cb6e,_0x1e3864)=>{const _0x19e818=_0xde20f9;_0x36bb11(_0x33cb6e[_0x19e818(0x43f)](_0x19500d=>_0x8628fc(_0x19500d))[_0x19e818(0x3c4)](_0x40b6b8=>!!_0x40b6b8)['filter'](_0x5abcc8=>_0x5abcc8[_0x19e818(0x1f2)]!==!0x0!==_0x1e3864)[_0x19e818(0x43f)](_0x508cc7=>({'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingId':_0x508cc7['drawingId'],'hidden':!_0x1e3864})));},_0x49b1d8=_0x279c94=>{const _0xf6e29d=_0xde20f9;let _0x2d1538=_0x8628fc(_0x279c94);_0x2d1538&&_0x359762(_0x279c94,{'selectable':_0x2d1538[_0xf6e29d(0x192)]===!0x1&&void 0x0});},_0x541679=(_0x102e06,_0x159aae)=>{const _0x183daa=_0xde20f9;var _0x490660,_0x5ad4bd;let _0x326474=_0x32de57(_0x159aae);((_0x490660=(_0x5ad4bd=_0x8628fc(_0x102e06))==null?void 0x0:_0x5ad4bd[_0x183daa(0x454)])==null?void 0x0:_0x490660)!==_0x326474&&_0x359762(_0x102e06,{'name':_0x326474});},_0x14e4f4=(_0x44b12b,_0x10a2fa)=>{const _0x3ddb11=_0xde20f9;var _0x47fcf1,_0x1952db;let _0x39e949=_0x32de57(_0x10a2fa);((_0x47fcf1=(_0x1952db=_0x8628fc(_0x44b12b))==null?void 0x0:_0x1952db[_0x3ddb11(0x242)])==null?void 0x0:_0x47fcf1)!==_0x39e949&&_0x359762(_0x44b12b,{'description':_0x39e949});},_0x2d1a87=(_0x216f2b,_0x2fdd86)=>{const _0x97295b=_0xde20f9;!_0x59e8b8||!_0x4c4377||_0x3208e6[_0x97295b(0x216)](_0x2a2650[_0x97295b(0x368)]['id'],{'unitId':_0x59e8b8,'subUnitId':_0x4c4377,'drawingIds':[_0x216f2b],'arrangeType':_0x2fdd86});};return!_0x59e8b8||!_0x4c4377?(0x0,_0x2dcc44[_0xde20f9(0x32e)])(_0xde20f9(0x25c),{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x2c3747['title']}):(0x0,_0x2dcc44[_0xde20f9(0x32e)])(_0x34fb64[_0xde20f9(0x2aa)],{'items':_0x497080,'selectedIds':_0x2f3461,'focusedId':_0x3a17dc,'labels':_0x2c3747,'onSelect':_0x3b013e,'onSetVisible':_0x2894e2,'onCommitName':_0x541679,'onCommitDescription':_0x14e4f4,'onMoveForward':_0x419892=>_0x2d1a87(_0x419892,_0x2eccf5[_0xde20f9(0x2c4)]['forward']),'onMoveBackward':_0x1a3797=>_0x2d1a87(_0x1a3797,_0x2eccf5[_0xde20f9(0x2c4)]['backward']),'onToggleSelectable':_0x49b1d8});}let _0x2950cd=class{constructor(_0x5f04e1){const _0x43dcd6=_0x1e3977;this[_0x43dcd6(0x3ba)]=_0x5f04e1;}[_0x1e3977(0x350)](_0x4017c9,_0x1b007a){const _0x2841bd=_0x1e3977;let _0x459063=this['_renderManagerService'][_0x2841bd(0x2be)](_0x4017c9[_0x2841bd(0x387)]),_0x4a0c99=_0x459063==null?void 0x0:_0x459063[_0x2841bd(0x14a)];if(!_0x4a0c99)return;let _0x34a44f=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])(_0x4017c9),_0x421216=_0x4a0c99['getObjectIncludeInGroup'](_0x34a44f);_0x421216==null||_0x421216[_0x2841bd(0x450)](_0x1b007a);}};_0x2950cd=_0xba323d([_0x5a8c13(0x0,_0x114b3e[_0x1e3977(0x42b)])],_0x2950cd);function _0x22e8ac(){const _0x13a17a=_0x1e3977;let _0x1543d2=(0x0,_0x4b5551[_0x13a17a(0x11c)])(_0x215a9[_0x13a17a(0x18c)]),_0x2a8a1f=(0x0,_0x4b5551[_0x13a17a(0x2af)])(()=>_0x1543d2['focus$'],_0x1543d2['getFocusDrawings'](),!0x1,[_0x1543d2]);return _0x2a8a1f[_0x13a17a(0x337)]===0x0?null:(0x0,_0x2dcc44[_0x13a17a(0x32e)])(_0x13a17a(0x25c),{'children':(0x0,_0x2dcc44[_0x13a17a(0x149)])('div',{'className':_0x13a17a(0x224),'children':[(0x0,_0x2dcc44['jsx'])(_0x34fb64[_0x13a17a(0x1ad)],{'drawings':_0x2a8a1f,'hasCropper':!0x1}),(0x0,_0x2dcc44[_0x13a17a(0x32e)])(_0x101b82[_0x13a17a(0x28c)],{'drawings':_0x2a8a1f})]})});}function _0x1d45ee(_0x1c1493){const _0xccb28e=_0x1e3977;let {unitId:_0x45b560,subUnitId:_0x1bc2aa,shapeId:_0x491624}=_0x1c1493,_0x32f731=(0x0,_0x4b5551[_0xccb28e(0x11c)])(_0x2eccf5[_0xccb28e(0x1b2)]),_0x16e1e8=(0x0,_0x4b5551[_0xccb28e(0x11c)])(_0x2950cd);return(0x0,_0x2dcc44['jsx'])(_0x25b599[_0xccb28e(0x168)],{..._0x1c1493,'positionEditor':(0x0,_0x2dcc44[_0xccb28e(0x32e)])(_0x22e8ac,{}),'onUpdateShapeData':(_0x2eddf8,_0x519e3c)=>{_0x3cdd2e(_0x32f731,_0x45b560,_0x1bc2aa,_0x491624,_0x2eddf8,_0x519e3c);},'onUpdateLineShapeData':(_0x5f2c00,_0x12195a)=>{_0x43c867(_0x32f731,_0x45b560,_0x1bc2aa,_0x491624,_0x5f2c00,_0x12195a);},'onUpdateShapeFillImage':_0x26bce4=>{_0x16e1e8['updateShapeFillImage']({'unitId':_0x45b560,'subUnitId':_0x1bc2aa,'drawingId':_0x491624},_0x26bce4);}});}function _0x11b3b1(_0x1b1b3c){const _0x2805c3=_0x1e3977;let _0x5511d9=_0x1b1b3c[_0x2805c3(0x305)]['extraProps'];return _0x5511d9?(0x0,_0x2dcc44[_0x2805c3(0x32e)])(_0x4dcbaf,{..._0x5511d9}):null;}function _0x4dcbaf(_0x240d01){const _0x27019a=_0x1e3977;var _0x409270,_0xdc311d;let _0x21ca2=(0x0,_0x4b5551[_0x27019a(0x11c)])(_0x2eccf5[_0x27019a(0x1b2)]),_0x2c3bec=(0x0,_0x4b5551[_0x27019a(0x11c)])(_0x1b87be['SheetsShapeService']),{unitId:_0x4d4597,subUnitId:_0x2e40c7,drawingId:_0x5e3126,drawingType:_0xc8f1b6,shapeType:_0xca6746}=_0x240d01,[_0x4e87e3,_0x1e5c2d]=(0x0,_0x33f0ff[_0x27019a(0x375)])(_0x240d01['shapeData']),_0x413f72=(0x0,_0x33f0ff[_0x27019a(0x2d4)])(()=>(0x0,_0x25b599['getTextStyle'])(_0x4e87e3),[_0x4e87e3]),_0x4e621c=(0x0,_0x33f0ff[_0x27019a(0x2d4)])(()=>(0x0,_0x25b599[_0x27019a(0x42e)])(_0x4e87e3),[_0x4e87e3]);(0x0,_0x33f0ff[_0x27019a(0x3cc)])(()=>{const _0x2edb8f=_0x27019a;let _0x3d388a=_0x21ca2[_0x2edb8f(0x17a)](_0x2b6ce5=>{const _0x2c7ccc=_0x2edb8f;if(_0x2b6ce5['id']!==_0x1b87be[_0x2c7ccc(0x3da)]['id'])return;let _0x1b1be0=_0x2c3bec['getShapeDataById'](_0x4d4597,_0x2e40c7,_0x5e3126);_0x1b1be0&&_0x1e5c2d(_0x1b1be0);});return()=>_0x3d388a[_0x2edb8f(0x175)]();},[_0x21ca2,_0x5e3126,_0x2c3bec,_0x2e40c7,_0x4d4597]);let _0x24bfc7=_0x5e5a53=>{_0x1e5c2d(_0x3cf710=>({..._0x3cf710,..._0x5e5a53}));},_0x3bfd0f=_0x3e3d27=>{const _0x157c54=_0x27019a;let _0x310e6b=(0x0,_0x25b599[_0x157c54(0x182)])(_0x4e87e3,_0x3e3d27);_0x3cdd2e(_0x21ca2,_0x4d4597,_0x2e40c7,_0x5e3126,{'oldShapeData':{'shapeText':_0x4e87e3[_0x157c54(0x160)]}},_0x310e6b),_0x24bfc7(_0x310e6b);},_0x22c66e=(0x0,_0x25b599[_0x27019a(0x3df)])({'hostType':_0x2eccf5['UniverInstanceType']['UNIVER_SHEET'],'unitId':_0x4d4597,'subUnitId':_0x2e40c7,'shapeId':_0x5e3126,'shapeData':_0x4e87e3,'onUpdateBinding':_0x28eb60=>{const _0x95a8ec=_0x27019a;let _0xe10f34={'formulaBinding':_0x28eb60};_0x3cdd2e(_0x21ca2,_0x4d4597,_0x2e40c7,_0x5e3126,{'oldShapeData':{'formulaBinding':_0x4e87e3[_0x95a8ec(0x331)]}},_0xe10f34),_0x24bfc7(_0xe10f34);}});return(0x0,_0x2dcc44['jsxs'])(_0x2dcc44[_0x27019a(0x1b8)],{'children':[(0x0,_0x2dcc44['jsx'])(_0x25b599['ShapeFloatingToolbar'],{'shapeData':_0x4e87e3,'shapeType':_0xca6746,'textStyle':{'ff':_0x3d21cd[_0x27019a(0x356)]['shapeText'][_0x27019a(0x3d8)],'fs':_0x3d21cd[_0x27019a(0x356)][_0x27019a(0x160)][_0x27019a(0x254)],'cl':{'rgb':_0x3d21cd['ShapeDefaultConfig'][_0x27019a(0x160)]['color']},..._0x413f72},'textModel':_0x4e621c?{'ha':(_0x409270=_0x4e621c['ha'])==null?_0x2eccf5['HorizontalAlign']['LEFT']:_0x409270,'va':(_0xdc311d=_0x4e621c['va'])==null?_0x2eccf5['VerticalAlign'][_0x27019a(0x422)]:_0xdc311d}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x3d21cd[_0x27019a(0x356)][_0x27019a(0x172)],'defaultGradientEndColor':_0x3d21cd[_0x27019a(0x356)][_0x27019a(0x349)],'defaultStrokeColor':_0x3d21cd[_0x27019a(0x356)][_0x27019a(0x3ed)],'extensionGroups':_0x22c66e[_0x27019a(0x38c)],'onUpdateShapeData':(_0x360bc9,_0x727d3f)=>{_0x3cdd2e(_0x21ca2,_0x4d4597,_0x2e40c7,_0x5e3126,_0x360bc9,_0x727d3f),_0x727d3f&&_0x24bfc7(_0x727d3f);},'onUpdateText':_0x3bfd0f,'onOpenPanel':()=>{_0x21ca2['executeCommand'](_0x148656['id'],{'unitId':_0x4d4597,'subUnitId':_0x2e40c7,'drawingId':_0x5e3126});},'onDelete':()=>{const _0x9fc523=_0x27019a;_0x21ca2[_0x9fc523(0x216)](_0x2a2650[_0x9fc523(0x20d)]['id'],{'unitId':_0x4d4597,'drawings':[{'unitId':_0x4d4597,'subUnitId':_0x2e40c7,'drawingId':_0x5e3126,'drawingType':_0xc8f1b6}]});}}),_0x22c66e['panel']]});}var _0x31cbef=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(..._0x633089){const _0x118621=_0x1e3977;super(..._0x633089),_0x163ed0(this,_0x118621(0x22d),new _0x124e3f['BehaviorSubject'](null)),_0x163ed0(this,'editingParams$',this[_0x118621(0x22d)]['asObservable']()),_0x163ed0(this,_0x118621(0x2d1),new _0x124e3f[(_0x118621(0x253))](!0x1)),_0x163ed0(this,_0x118621(0x1ee),this[_0x118621(0x2d1)][_0x118621(0x287)]());}['dispose'](){const _0x48f6f2=_0x1e3977;this[_0x48f6f2(0x22d)]['next'](null),this['_editingParams$']['complete'](),this[_0x48f6f2(0x2d1)][_0x48f6f2(0x1fe)](!0x1),this[_0x48f6f2(0x2d1)][_0x48f6f2(0x3bc)](),super[_0x48f6f2(0x175)]();}[_0x1e3977(0x12a)](_0xa8e3fe){const _0x12c931=_0x1e3977;this['_editingParams$'][_0x12c931(0x1fe)](_0xa8e3fe),_0xa8e3fe==null&&this[_0x12c931(0x2d1)][_0x12c931(0x1fe)](!0x1);}[_0x1e3977(0x342)](_0x5d10f0){const _0x16408f=_0x1e3977;this[_0x16408f(0x2d1)][_0x16408f(0x1fe)](_0x5d10f0);}[_0x1e3977(0x1b7)](){const _0xfe1622=_0x1e3977;return this[_0xfe1622(0x22d)][_0xfe1622(0x3d9)]();}[_0x1e3977(0x312)](_0x5afe7d){const _0x38d7b2=_0x1e3977;this[_0x38d7b2(0x1b7)]()&&(this['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x46aa16=_0x38d7b2;this[_0x46aa16(0x12a)](null);}));}[_0x1e3977(0x12e)](){const _0x328486=_0x1e3977;this[_0x328486(0x1b7)]()&&this[_0x328486(0x12a)](null);}};let _0x289f1a=(0x0,_0x33f0ff[_0x1e3977(0x30a)])(()=>{const _0x478c19=_0x1e3977;let _0x25a70e=(0x0,_0x4b5551[_0x478c19(0x11c)])(_0x31cbef),_0x3228ba=(0x0,_0x4b5551[_0x478c19(0x11c)])(_0x1b87be['SheetsShapeService']),_0x562b74=(0x0,_0x4b5551[_0x478c19(0x11c)])(_0x215a9[_0x478c19(0x18c)]),_0x23f9fb=(0x0,_0x4b5551[_0x478c19(0x11c)])(_0x2eccf5[_0x478c19(0x1b2)]),_0x1b049a=(0x0,_0x4b5551[_0x478c19(0x11c)])(_0x114b3e['IRenderManagerService']);return(0x0,_0x2dcc44[_0x478c19(0x32e)])(_0x25b599[_0x478c19(0x3c1)],{'adapter':(0x0,_0x33f0ff[_0x478c19(0x2d4)])(()=>({'getShapeModel':(_0x2631fd,_0x1b7243,_0x39d035)=>_0x3228ba[_0x478c19(0x134)](_0x2631fd,_0x1b7243,_0x39d035),'getShapeData':(_0x281d53,_0xf578f6,_0x1c32dc)=>_0x3228ba[_0x478c19(0x3b9)](_0x281d53,_0xf578f6,_0x1c32dc),'getDrawingTransform':(_0x28526e,_0x5c3986,_0x86a3b5)=>{const _0x5bd0a1=_0x478c19;let _0x520c88=_0x562b74[_0x5bd0a1(0x3d4)]({'unitId':_0x28526e,'subUnitId':_0x5c3986,'drawingId':_0x86a3b5});return _0x520c88==null?void 0x0:_0x520c88['transform'];},'updateShapeText':({unitId:_0x3c0e44,subUnitId:_0x4a152c,shapeId:_0x471c56,shapeText:_0x42c5b1,oldShapeText:_0x3ca308})=>{const _0xde68a4=_0x478c19;_0x23f9fb[_0xde68a4(0x216)](_0x5a577b['id'],{'unitId':_0x3c0e44,'subUnitId':_0x4a152c,'shapeId':_0x471c56,'shapeData':{'shapeText':_0x42c5b1},'oldShapeJSON':{'oldShapeData':{'shapeText':_0x3ca308}}});},'updateHostSize':({unitId:_0x5b948f,subUnitId:_0x2117e2,shapeId:_0x1065fa,width:_0x363472,height:_0x2d8901})=>{const _0x1926fd=_0x478c19;var _0x2340cf,_0x54f2ec,_0x4f261c;let _0x2196ba=_0x562b74['getDrawingByParam']({'unitId':_0x5b948f,'subUnitId':_0x2117e2,'drawingId':_0x1065fa}),_0x2085a4=_0x2196ba==null?void 0x0:_0x2196ba[_0x1926fd(0x31d)];if(!_0x2196ba||!_0x2085a4)return;let _0x3569d4={..._0x2085a4,'width':_0x363472,'height':_0x2d8901},_0x27c7ba=(_0x2340cf=_0x1b049a['getRenderUnitById'](_0x5b948f))==null||(_0x2340cf=_0x2340cf['with'](_0x3c12d8[_0x1926fd(0x1ae)])['getSkeletonParam'](_0x2117e2))==null?void 0x0:_0x2340cf[_0x1926fd(0x23e)],_0x28a7b8=_0x27c7ba?(_0x54f2ec=(0x0,_0x2a2650[_0x1926fd(0x3c9)])(_0x3569d4,_0x27c7ba))==null?_0x2196ba[_0x1926fd(0x27a)]:_0x54f2ec:_0x2196ba[_0x1926fd(0x27a)],_0x404c8d=_0x27c7ba?(_0x4f261c=(0x0,_0x2a2650[_0x1926fd(0x288)])(_0x3569d4,_0x27c7ba))==null?_0x2196ba[_0x1926fd(0x2fb)]:_0x4f261c:_0x2196ba[_0x1926fd(0x2fb)];_0x23f9fb[_0x1926fd(0x216)](_0x2a2650[_0x1926fd(0x3c5)]['id'],{'unitId':_0x5b948f,'drawings':[{..._0x2196ba,'transform':_0x3569d4,'sheetTransform':_0x28a7b8,'axisAlignSheetTransform':_0x404c8d}]});},'allowHostSizeShrink':({unitId:_0x54713a,subUnitId:_0x587fca,shapeId:_0x7490ed})=>(0x0,_0x25b599[_0x478c19(0x210)])(_0x3228ba['getShapeDataById'](_0x54713a,_0x587fca,_0x7490ed))}),[_0x23f9fb,_0x562b74,_0x1b049a,_0x3228ba]),'editingService':_0x25a70e,'editorUnitId':_0x39b4a9,'positionOptions':(0x0,_0x33f0ff[_0x478c19(0x2d4)])(()=>({'viewportKeys':{'main':_0x114b3e['SHEET_VIEWPORT_KEY']['VIEW_MAIN'],'leftTop':_0x114b3e['SHEET_VIEWPORT_KEY'][_0x478c19(0x3cf)],'top':_0x114b3e[_0x478c19(0x308)][_0x478c19(0x225)],'left':_0x114b3e[_0x478c19(0x308)][_0x478c19(0x301)]},'getSkeleton':(_0x480de6,_0x26f00)=>{const _0x1169bd=_0x478c19;var _0x475b1e,_0x46a2a3;return(_0x475b1e=(_0x46a2a3=_0x480de6[_0x1169bd(0x1dc)](_0x3c12d8['SheetSkeletonManagerService'])[_0x1169bd(0x417)](_0x26f00[_0x1169bd(0x204)]))==null?void 0x0:_0x46a2a3[_0x1169bd(0x23e)])==null?null:_0x475b1e;}}),[])});}),_0x1ef4c8=class extends _0x2eccf5['Disposable']{constructor(_0xec0a48,_0x143d46){const _0x323b80=_0x1e3977;super(),this[_0x323b80(0x25f)]=_0xec0a48,this[_0x323b80(0x14d)]=_0x143d46,this['_registerIcons'](),this[_0x323b80(0x3a3)]();}[_0x1e3977(0x1e6)](){const _0x473dae=_0x1e3977;this[_0x473dae(0x14d)][_0x473dae(0x431)](_0x473dae(0x1f7))||this[_0x473dae(0x256)](this[_0x473dae(0x14d)][_0x473dae(0x1e7)]({'ObjectLayersIcon':_0x2f353d})),this[_0x473dae(0x14d)][_0x473dae(0x431)](_0x473dae(0x2f0))||this[_0x473dae(0x256)](this[_0x473dae(0x14d)][_0x473dae(0x1e7)]({'FlipHorizontalIcon':_0x194a17})),this[_0x473dae(0x14d)][_0x473dae(0x431)]('FlipVerticalIcon')||this[_0x473dae(0x256)](this[_0x473dae(0x14d)][_0x473dae(0x1e7)]({'FlipVerticalIcon':_0x1e6e5}));}[_0x1e3977(0x3a3)](){const _0x1b228c=_0x1e3977;this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0xb9db8d,_0x1d45ee)),this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0x19a922,_0x45565c)),this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)]['register'](_0x1ed21a,_0x46b9a0)),this['disposeWithMe'](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0x456ca6,_0x5968f5)),this[_0x1b228c(0x25f)][_0x1b228c(0x32f)](_0x34fb64[_0x1b228c(0x2c3)])||this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0x34fb64[_0x1b228c(0x2c3)],_0x49666e)),this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0x1f1d2c,_0x11b3b1)),this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)]['register'](_0x9609bf,_0x25b599[_0x1b228c(0x1e9)])),this[_0x1b228c(0x256)](this[_0x1b228c(0x25f)][_0x1b228c(0x1e7)](_0x1b228c(0x141),_0x289f1a));}};_0x1ef4c8=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x4b5551['ComponentManager'])),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x4b5551[_0x1e3977(0x1b6)]))],_0x1ef4c8);let _0x1970f0=class extends _0x2eccf5['Disposable']{constructor(_0x3fa445,_0x4013a3,_0x2b43db,_0x2c0d7a,_0x53bb8){const _0x3c861e=_0x1e3977;super(),this['_context']=_0x3fa445,this['_drawingManagerService']=_0x4013a3,this[_0x3c861e(0x3ba)]=_0x2b43db,this[_0x3c861e(0x18f)]=_0x2c0d7a,this['_imageShapeClipController']=_0x53bb8,_0x163ed0(this,_0x3c861e(0x354),null),_0x163ed0(this,'_unitId',null),_0x163ed0(this,_0x3c861e(0x18a),null),_0x163ed0(this,_0x3c861e(0x440),void 0x0),_0x163ed0(this,'_shapes',[]),_0x163ed0(this,_0x3c861e(0x426),0x0),_0x163ed0(this,_0x3c861e(0x3de),0x0),_0x163ed0(this,_0x3c861e(0x382),0x0),_0x163ed0(this,_0x3c861e(0x2ab),0x0),_0x163ed0(this,_0x3c861e(0x1bd),!0x1),_0x163ed0(this,_0x3c861e(0x420),void 0x0),_0x163ed0(this,_0x3c861e(0x190),void 0x0),_0x163ed0(this,_0x3c861e(0x161),void 0x0),_0x163ed0(this,_0x3c861e(0x153),void 0x0),_0x163ed0(this,_0x3c861e(0x112),!0x1),this[_0x3c861e(0x184)](),this[_0x3c861e(0x13b)]();}[_0x1e3977(0x414)](){this['_clearControls']();}['refreshAdjustControls'](){const _0x15196a=_0x1e3977;this[_0x15196a(0x442)](),this[_0x15196a(0x3e4)](!0x0);}[_0x1e3977(0x3a9)](_0x46b908,_0x28c158,_0x3de600,_0x3eb49d){const _0x5074a9=_0x1e3977;let _0x165224=_0x46b908;if(_0x165224!==_0x3d21cd['ShapeTypeEnum'][_0x5074a9(0x174)]&&_0x46b908!==_0x5074a9(0x2c7))try{let _0x12e4b2=new _0x3d21cd[(_0x5074a9(0x33b))](_0x165224,_0x5074a9(0x30f)+_0x46b908);return _0x3eb49d&&_0x12e4b2[_0x5074a9(0x25a)]({'adjustValues':_0x3eb49d},!0x0),_0x12e4b2['updateContext']({'width':_0x28c158,'height':_0x3de600}),_0x12e4b2;}catch{return;}}[_0x1e3977(0x1a4)](_0x836a82,_0x133dc4,_0x9513c9){const _0x2aec9d=_0x1e3977;let _0x3c31f2={'unitId':_0x836a82,'subUnitId':_0x133dc4,'drawingId':_0x9513c9},_0x221c98=this[_0x2aec9d(0x1a2)][_0x2aec9d(0x3d4)](_0x3c31f2);if(!(!_0x221c98||_0x221c98[_0x2aec9d(0x34b)]!==_0x2eccf5[_0x2aec9d(0x43b)][_0x2aec9d(0x22c)]))return _0x221c98;}[_0x1e3977(0x171)](_0x31ed43,_0x2155a3,_0x34c318){const _0x3357a0=_0x1e3977;let _0x16b673=this['_renderManagerService'][_0x3357a0(0x2be)](_0x31ed43);if(!_0x16b673)return;let {scene:_0x32008c}=_0x16b673,_0x5ca56a=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x31ed43,'subUnitId':_0x2155a3,'drawingId':_0x34c318}),_0x17eea4=_0x32008c[_0x3357a0(0x1a8)](_0x5ca56a);if(_0x17eea4 instanceof _0x114b3e[_0x3357a0(0x3c3)]){let _0x5b8eb2=_0x17eea4[_0x3357a0(0x18e)];if(_0x5b8eb2)return{'prstGeom':_0x5b8eb2,'adjustValues':_0x17eea4[_0x3357a0(0x2ff)]};}}[_0x1e3977(0x3e4)](_0x552f19=!0x1){const _0x5cf6c5=_0x1e3977;if(!this[_0x5cf6c5(0x44e)]||!this[_0x5cf6c5(0x18a)]||!this[_0x5cf6c5(0x354)])return;let _0x474644=this['_renderManagerService'][_0x5cf6c5(0x2be)](this['_unitId']);if(!_0x474644||!_0x474644[_0x5cf6c5(0x1dc)](_0x3c12d8['SheetSkeletonManagerService'])[_0x5cf6c5(0x26d)]())return;let {scene:_0x50844b}=_0x474644,_0x1bfe4d=this[_0x5cf6c5(0x1a4)](this[_0x5cf6c5(0x44e)],this[_0x5cf6c5(0x18a)],this[_0x5cf6c5(0x354)]);if(!_0x1bfe4d)return;let {transform:_0x42c56f}=_0x1bfe4d;if(!_0x42c56f)return;let {left:_0x173cff,top:_0x638cb9,width:_0x234acd,height:_0x543965,flipX:_0x64708e,flipY:_0x80a2da,angle:_0x3ced37=0x0}=_0x42c56f;if(_0x173cff===void 0x0||_0x638cb9===void 0x0)return;let _0x405c23=this[_0x5cf6c5(0x171)](this[_0x5cf6c5(0x44e)],this[_0x5cf6c5(0x18a)],this[_0x5cf6c5(0x354)]);if(!_0x405c23)return;if(_0x552f19){let _0x313c7c=this[_0x5cf6c5(0x3a9)](_0x405c23[_0x5cf6c5(0x18e)],_0x234acd||0x0,_0x543965||0x0,_0x405c23[_0x5cf6c5(0x37d)]);if(!_0x313c7c)return;this[_0x5cf6c5(0x440)]=_0x313c7c[_0x5cf6c5(0x22e)]();}let _0x3f492a=this[_0x5cf6c5(0x440)];if(!(!_0x3f492a||_0x3f492a['length']===0x0))for(let _0x280291=0x0;_0x280291<_0x3f492a[_0x5cf6c5(0x337)];_0x280291++){let _0x4e5758=_0x3f492a[_0x280291],_0x3530c1=_0x4e5758['x'],_0x18c428=_0x4e5758['y'];if(_0x64708e&&(_0x3530c1=(_0x234acd||0x0)-_0x3530c1),_0x80a2da&&(_0x18c428=(_0x543965||0x0)-_0x18c428),_0x3ced37!==0x0){let _0x2cbc6b=(_0x234acd||0x0)/0x2,_0x154c7b=(_0x543965||0x0)/0x2,_0x4f65da=_0x3ced37*Math['PI']/0xb4,_0x343ec1=Math[_0x5cf6c5(0x1fb)](_0x4f65da),_0x3affaf=Math['sin'](_0x4f65da),_0x544aa8=_0x3530c1-_0x2cbc6b,_0x410d08=_0x18c428-_0x154c7b;_0x3530c1=_0x2cbc6b+(_0x544aa8*_0x343ec1-_0x410d08*_0x3affaf),_0x18c428=_0x154c7b+(_0x544aa8*_0x3affaf+_0x410d08*_0x343ec1);}let _0x1dd7b6={'x':_0x3530c1,'y':_0x18c428,'adjName':_0x4e5758[_0x5cf6c5(0x19b)]};this[_0x5cf6c5(0x118)](_0x50844b,_0x1dd7b6,_0x1dd7b6[_0x5cf6c5(0x19b)],_0x173cff,_0x638cb9,this[_0x5cf6c5(0x44e)],this[_0x5cf6c5(0x18a)]);}}['_addControl'](_0x59af6f,_0x5edca9,_0x35ff01,_0xdf88c1,_0x4ba137,_0x135d65,_0x5580ad){const _0x38fec5=_0x1e3977;if(!this[_0x38fec5(0x354)])return;let _0x26387d=_0x38fec5(0x3dc)+this[_0x38fec5(0x354)]+'-'+_0x35ff01,_0x2d89ae=_0x59af6f[_0x38fec5(0x2a4)](_0x26387d);if(_0x2d89ae){_0x2d89ae[_0x38fec5(0x1c7)]({'left':_0x5edca9['x']+_0xdf88c1-_0x3d21cd[_0x38fec5(0x356)][_0x38fec5(0x17d)],'top':_0x5edca9['y']+_0x4ba137-_0x3d21cd['ShapeDefaultConfig'][_0x38fec5(0x17d)]});return;}let _0x1280c4=new _0x372832(_0x26387d,{'left':_0x5edca9['x']+_0xdf88c1-_0x3d21cd[_0x38fec5(0x356)][_0x38fec5(0x17d)],'top':_0x5edca9['y']+_0x4ba137-_0x3d21cd['ShapeDefaultConfig'][_0x38fec5(0x17d)],'adjName':_0x35ff01,'shapeId':this[_0x38fec5(0x354)],'unitId':_0x135d65,'subUnitId':_0x5580ad,'width':_0x3d21cd['ShapeDefaultConfig'][_0x38fec5(0x17d)]+0x8,'height':_0x3d21cd[_0x38fec5(0x356)][_0x38fec5(0x17d)]+0x8,'zIndex':_0x114b3e['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x38fec5(0x1aa)][_0x38fec5(0x1b1)](_0x1280c4),this[_0x38fec5(0x3f1)](_0x1280c4,_0x59af6f,_0x35ff01),_0x59af6f['addObject'](_0x1280c4,_0x114b3e[_0x38fec5(0x3e0)]+0x1);}[_0x1e3977(0x442)](){const _0x2e446b=_0x1e3977;this[_0x2e446b(0x1aa)]['length']!==0x0&&(this['_shapes'][_0x2e446b(0x30e)](_0x223121=>_0x223121[_0x2e446b(0x175)]()),this[_0x2e446b(0x1aa)]=[]);}[_0x1e3977(0x1c3)](_0x26342e,_0x1ea9d7){const _0x37dbb1=_0x1e3977;var _0x4d370c;let _0x318a20={'x':0x0,'y':0x0},_0x89e971=this['_renderManagerService'][_0x37dbb1(0x2be)](_0x26342e);if(!_0x89e971||!_0x89e971['with'](_0x3c12d8[_0x37dbb1(0x1ae)])[_0x37dbb1(0x367)](_0x1ea9d7))return _0x318a20;let _0x51bc21=_0x89e971[_0x37dbb1(0x1dc)](_0x3c12d8[_0x37dbb1(0x3ee)]),_0x200589=_0x51bc21==null?void 0x0:_0x51bc21[_0x37dbb1(0x3b2)]();if(!_0x200589)return _0x318a20;let _0x3980de=(_0x4d370c=this[_0x37dbb1(0x18f)][_0x37dbb1(0x2f8)](_0x26342e))==null?void 0x0:_0x4d370c['getSheetBySheetId'](_0x1ea9d7);if(!_0x3980de)return _0x318a20;let _0x214aff=(0x0,_0x3c12d8[_0x37dbb1(0x1ba)])(_0x200589['sheetViewStartRow'],_0x200589['sheetViewStartColumn'],_0x89e971['scene'],_0x3980de);return _0x214aff?{'x':_0x214aff[_0x37dbb1(0x3d1)],'y':_0x214aff[_0x37dbb1(0x446)]}:_0x318a20;}[_0x1e3977(0x427)](_0x12c5dd,_0x27567b){const _0x254048=_0x1e3977;var _0x1b4292,_0x2e94d9;let _0x2485a9=(_0x1b4292=this[_0x254048(0x18f)][_0x254048(0x2f8)](_0x12c5dd))==null?void 0x0:_0x1b4292[_0x254048(0x269)](_0x27567b);return(_0x2e94d9=_0x2485a9==null?void 0x0:_0x2485a9[_0x254048(0x374)]())==null?0x1:_0x2e94d9;}['_attachAdjustEvent'](_0x3cc853,_0x2731cb,_0x1e98fd){const _0x925634=_0x1e3977;this['disposeWithMe']((0x0,_0x2eccf5[_0x925634(0x351)])(_0x3cc853['onPointerDown$'][_0x925634(0x447)]((_0xe77460,_0x2d8c0a)=>{const _0x59e9d5=_0x925634;var _0x377704,_0x2693e1,_0x39095b;let {unitId:_0x2c93a8,subUnitId:_0x228c4f,drawingId:_0x8fa038}=_0x3cc853[_0x59e9d5(0x26e)](),_0x5e4cc9=this[_0x59e9d5(0x1a4)](_0x2c93a8,_0x228c4f,_0x8fa038);if(!(_0x5e4cc9!=null&&_0x5e4cc9[_0x59e9d5(0x31d)]))return;let {left:_0x21c60b,top:_0x2c3998,width:_0x262392,height:_0x1783f1}=_0x5e4cc9[_0x59e9d5(0x31d)];this[_0x59e9d5(0x426)]=_0x21c60b||0x0,this[_0x59e9d5(0x3de)]=_0x2c3998||0x0,this[_0x59e9d5(0x382)]=_0x262392||0x0,this[_0x59e9d5(0x2ab)]=_0x1783f1||0x0;let _0x224a5e=!!((_0x377704=_0x5e4cc9[_0x59e9d5(0x31d)])!=null&&_0x377704[_0x59e9d5(0x23d)]),_0x1e35e2=!!((_0x2693e1=_0x5e4cc9[_0x59e9d5(0x31d)])!=null&&_0x2693e1[_0x59e9d5(0x1ac)]),_0x4cd614=((_0x39095b=_0x5e4cc9[_0x59e9d5(0x31d)])==null?void 0x0:_0x39095b[_0x59e9d5(0x1bf)])||0x0,_0x3ae807=this[_0x59e9d5(0x171)](_0x2c93a8,_0x228c4f,_0x8fa038);if(!_0x3ae807)return;let _0x4dab28=this['_getOrCreateShapeModel'](_0x3ae807[_0x59e9d5(0x18e)],this[_0x59e9d5(0x382)],this[_0x59e9d5(0x2ab)],_0x3ae807['adjustValues']);if(!_0x4dab28||(this[_0x59e9d5(0x190)]=_0x4dab28,this[_0x59e9d5(0x420)]=_0x4dab28[_0x59e9d5(0x402)](_0x1e98fd),!this[_0x59e9d5(0x420)]))return;this['_isStartAdjusting']=!0x0,_0x2731cb['disableObjectsEvent']();let _0x434ad4=_0x3ae807[_0x59e9d5(0x18e)];this[_0x59e9d5(0x161)]=_0x2731cb[_0x59e9d5(0x307)][_0x59e9d5(0x447)]((_0x3ea717,_0x24a3e0)=>{const _0x22aa3e=_0x59e9d5;if(!this[_0x22aa3e(0x1bd)])return;let {offsetX:_0x227133,offsetY:_0x4149d6}=_0x3ea717,_0x5e50fc=this[_0x22aa3e(0x420)];if(!this[_0x22aa3e(0x190)]||!_0x5e50fc)return;_0x2731cb[_0x22aa3e(0x415)](),_0x2731cb['setCursor'](_0x114b3e[_0x22aa3e(0x2c2)][_0x22aa3e(0x226)]);let _0x419542={'left':0x0,'top':0x0,'width':this[_0x22aa3e(0x382)],'height':this[_0x22aa3e(0x2ab)]},_0x5f3a53=this['_getScrollInfo'](_0x2c93a8,_0x228c4f),_0x53a3c8=this[_0x22aa3e(0x427)](_0x2c93a8,_0x228c4f),_0x522856=_0x227133/_0x53a3c8+_0x5f3a53['x']-this['_baseLeft'],_0x40eee4=_0x4149d6/_0x53a3c8+_0x5f3a53['y']-this[_0x22aa3e(0x3de)];if(_0x4cd614!==0x0){let _0x14cc2b=this['_baseWidth']/0x2,_0x4ede70=this['_baseHeight']/0x2,_0x26c906=_0x4cd614*Math['PI']/0xb4,_0x48a983=Math[_0x22aa3e(0x1fb)](_0x26c906),_0x55dc67=Math[_0x22aa3e(0x1b5)](_0x26c906),_0x137bbf=_0x522856-_0x14cc2b,_0x5523f9=_0x40eee4-_0x4ede70;_0x522856=_0x14cc2b+(_0x137bbf*_0x48a983+_0x5523f9*_0x55dc67),_0x40eee4=_0x4ede70+(-_0x137bbf*_0x55dc67+_0x5523f9*_0x48a983);}_0x224a5e&&(_0x522856=this[_0x22aa3e(0x382)]-_0x522856),_0x1e35e2&&(_0x40eee4=this['_baseHeight']-_0x40eee4);let _0x26d13f=this[_0x22aa3e(0x190)][_0x22aa3e(0x36e)](_0x419542,{'x':_0x522856,'y':_0x40eee4},_0x5e50fc,_0x224a5e,_0x1e35e2);if(Object[_0x22aa3e(0x391)](_0x26d13f)['length']!==0x0){for(let [_0x321c70,_0x192243]of Object['entries'](_0x26d13f))this[_0x22aa3e(0x190)][_0x22aa3e(0x2db)](_0x321c70,_0x192243);this['_activeShapeModel']['updateContext']({'width':this[_0x22aa3e(0x382)],'height':this[_0x22aa3e(0x2ab)]}),this[_0x22aa3e(0x159)](_0x2c93a8,_0x228c4f,_0x8fa038,_0x26d13f),this[_0x22aa3e(0x440)]=this['_activeShapeModel']['getDrawingPoints'](),this[_0x22aa3e(0x3e4)](),_0x24a3e0[_0x22aa3e(0x19d)]();}}),this[_0x59e9d5(0x153)]=_0x2731cb[_0x59e9d5(0x292)]['subscribeEvent']((_0x5be1da,_0x38c21a)=>{const _0x49b6d2=_0x59e9d5;if(this[_0x49b6d2(0x161)][_0x49b6d2(0x369)](),this[_0x49b6d2(0x153)][_0x49b6d2(0x369)](),_0x2731cb[_0x49b6d2(0x128)](),this[_0x49b6d2(0x190)]){let _0x499cfa=this['_activeShapeModel'][_0x49b6d2(0x27f)](),_0x2a351e={};for(let _0x5d756f of _0x499cfa){let _0x5d4ad6=this[_0x49b6d2(0x190)][_0x49b6d2(0x179)](_0x5d756f);_0x5d4ad6!==void 0x0&&(_0x2a351e[_0x5d756f]=_0x5d4ad6);}this[_0x49b6d2(0x2e8)][_0x49b6d2(0x2a0)](_0x2c93a8,_0x228c4f,_0x8fa038,_0x434ad4,_0x2a351e);}this[_0x49b6d2(0x420)]=void 0x0,this[_0x49b6d2(0x190)]=void 0x0,this[_0x49b6d2(0x1bd)]=!0x1,_0x38c21a[_0x49b6d2(0x19d)](),_0x2731cb[_0x49b6d2(0x1ce)]();}),_0x2d8c0a['stopPropagation']();})));}[_0x1e3977(0x159)](_0x5229dc,_0x2cbc37,_0x239cb0,_0x48eaad){const _0x4442a0=_0x1e3977;let _0x144848=this[_0x4442a0(0x3ba)]['getRenderUnitById'](_0x5229dc);if(!_0x144848)return;let {scene:_0x40bbd3}=_0x144848,_0x27d618=(0x0,_0x215a9[_0x4442a0(0x2ee)])({'unitId':_0x5229dc,'subUnitId':_0x2cbc37,'drawingId':_0x239cb0}),_0x3604fb=_0x40bbd3[_0x4442a0(0x1a8)](_0x27d618);if(_0x3604fb instanceof _0x114b3e['Image']){var _0x3c4ff4;let _0x152830=(_0x3c4ff4=_0x3604fb[_0x4442a0(0x2ff)])==null?{}:_0x3c4ff4;_0x3604fb['setPrstGeomAdjValues']({..._0x152830,..._0x48eaad}),_0x3604fb['makeDirty'](!0x0);}}['_registerMoveHandler'](){const _0x44dfda=_0x1e3977;let _0x54d250=this[_0x44dfda(0x18f)][_0x44dfda(0x2b4)](_0x2eccf5[_0x44dfda(0x296)][_0x44dfda(0x293)]);this['disposeWithMe'](_0x54d250['pipe']((0x0,_0x124e3f['switchMap'])(_0x346c5f=>_0x346c5f?_0x346c5f[_0x44dfda(0x445)][_0x44dfda(0x239)]((0x0,_0x124e3f[_0x44dfda(0x37e)])(_0x1f7da1=>{const _0x57cdbb=_0x44dfda;if(!_0x1f7da1)return _0x124e3f[_0x57cdbb(0x341)];let _0x1abce7=_0x346c5f[_0x57cdbb(0x322)](),_0x528082=this[_0x57cdbb(0x3ba)][_0x57cdbb(0x2be)](_0x1abce7),_0x48557d=_0x528082==null?void 0x0:_0x528082[_0x57cdbb(0x14a)];return _0x48557d?(0x0,_0x124e3f['of'])(_0x48557d):_0x124e3f[_0x57cdbb(0x341)];})):_0x124e3f[_0x44dfda(0x341)]))[_0x44dfda(0x17b)](_0x37fe87=>{const _0xfa4761=_0x44dfda;let _0x3b6d07=_0x37fe87['getTransformerByCreate']();this['disposeWithMe'](_0x37fe87[_0xfa4761(0x307)][_0xfa4761(0x447)](()=>{const _0xfde7a8=_0xfa4761;this[_0xfde7a8(0x112)]&&this['_clearControls']();})),this[_0xfa4761(0x256)](_0x3b6d07[_0xfa4761(0x24c)]['subscribe'](_0x314cdf=>{const _0x410e5a=_0xfa4761;let {objects:_0x1b5a62}=_0x314cdf;if(this[_0x410e5a(0x3e4)](),_0x1b5a62!==null&&_0x1b5a62[_0x410e5a(0x419)]===0x1){let _0x274121=_0x1b5a62[_0x410e5a(0x158)]()[_0x410e5a(0x1fe)]()[_0x410e5a(0x123)];_0x274121 instanceof _0x114b3e[_0x410e5a(0x3c3)]&&_0x274121[_0x410e5a(0x18e)]&&(this[_0x410e5a(0x112)]=!0x0);}})),this[_0xfa4761(0x256)](_0x3b6d07[_0xfa4761(0x3be)][_0xfa4761(0x17b)](()=>{const _0x1b3109=_0xfa4761;this[_0x1b3109(0x112)]&&this[_0x1b3109(0x442)]();})),this[_0xfa4761(0x256)](_0x37fe87['onPointerUp$'][_0xfa4761(0x447)](()=>{const _0x2753c0=_0xfa4761;this[_0x2753c0(0x112)]&&(this[_0x2753c0(0x112)]=!0x1,this[_0x2753c0(0x3e4)]());})),this[_0xfa4761(0x256)](_0x3b6d07['changeEnd$'][_0xfa4761(0x17b)](()=>{const _0x2e8c97=_0xfa4761;if(this[_0x2e8c97(0x44e)]&&this['_subUnitId']&&this[_0x2e8c97(0x354)]){let _0x28fe79=this[_0x2e8c97(0x171)](this[_0x2e8c97(0x44e)],this[_0x2e8c97(0x18a)],this['_activeImageId']);if(_0x28fe79){var _0x3217de,_0x2b6d30;let _0x38e383=this[_0x2e8c97(0x1a4)](this[_0x2e8c97(0x44e)],this[_0x2e8c97(0x18a)],this[_0x2e8c97(0x354)]),_0x149c5b=(_0x38e383==null||(_0x3217de=_0x38e383[_0x2e8c97(0x31d)])==null?void 0x0:_0x3217de['width'])||0x0,_0x49f310=(_0x38e383==null||(_0x2b6d30=_0x38e383[_0x2e8c97(0x31d)])==null?void 0x0:_0x2b6d30[_0x2e8c97(0x196)])||0x0,_0xed0dd2=this[_0x2e8c97(0x3a9)](_0x28fe79['prstGeom'],_0x149c5b,_0x49f310,_0x28fe79[_0x2e8c97(0x37d)]);_0xed0dd2&&(this[_0x2e8c97(0x440)]=_0xed0dd2[_0x2e8c97(0x22e)](),this[_0x2e8c97(0x442)](),this[_0x2e8c97(0x3e4)](!0x0));}}}));}));}[_0x1e3977(0x184)](){const _0x1d599f=_0x1e3977;this[_0x1d599f(0x256)](this[_0x1d599f(0x1a2)]['focus$']['subscribe'](_0xbbe5a8=>{const _0x424aaf=_0x1d599f;if(_0xbbe5a8['length']===0x1){let _0x3d6e03=_0xbbe5a8[0x0];if(_0x3d6e03['drawingType']===_0x2eccf5['DrawingTypeEnum']['DRAWING_IMAGE']){let {unitId:_0x189343,subUnitId:_0x43d86e,drawingId:_0x415e0c}=_0x3d6e03,_0x400487=this[_0x424aaf(0x171)](_0x189343,_0x43d86e,_0x415e0c);if(_0x400487){var _0x2fc4ba,_0x30c360;this[_0x424aaf(0x354)]=_0x415e0c,this[_0x424aaf(0x44e)]=_0x189343,this['_subUnitId']=_0x43d86e;let _0x8df1c6=this['_getImageDrawingInfo'](_0x189343,_0x43d86e,_0x415e0c),_0x2b3ae3=(_0x8df1c6==null||(_0x2fc4ba=_0x8df1c6[_0x424aaf(0x31d)])==null?void 0x0:_0x2fc4ba[_0x424aaf(0x1f0)])||0x0,_0x31e454=(_0x8df1c6==null||(_0x30c360=_0x8df1c6[_0x424aaf(0x31d)])==null?void 0x0:_0x30c360[_0x424aaf(0x196)])||0x0,_0x457109=this['_getOrCreateShapeModel'](_0x400487[_0x424aaf(0x18e)],_0x2b3ae3,_0x31e454,_0x400487['adjustValues']);_0x457109&&(this['_activeAdjustPointList']=_0x457109[_0x424aaf(0x22e)]()),this['_clearControls'](),this[_0x424aaf(0x3e4)](!0x0);}else this[_0x424aaf(0x1a5)]();}else this['_resetState']();}else this[_0x424aaf(0x1a5)]();})),this[_0x1d599f(0x256)](this[_0x1d599f(0x1a2)][_0x1d599f(0x35f)][_0x1d599f(0x17b)](_0x207dd6=>{const _0x4bc26e=_0x1d599f;if(_0x207dd6[_0x4bc26e(0x337)]===0x1){let _0x582b40=_0x207dd6[0x0],_0x34a918=this[_0x4bc26e(0x1a2)][_0x4bc26e(0x3d4)](_0x582b40);(_0x34a918==null?void 0x0:_0x34a918[_0x4bc26e(0x34b)])===_0x2eccf5[_0x4bc26e(0x43b)]['DRAWING_IMAGE']&&this['_activeImageId']===_0x582b40['drawingId']&&(this[_0x4bc26e(0x442)](),this[_0x4bc26e(0x3e4)](!0x0));}})),this['disposeWithMe'](this['_drawingManagerService'][_0x1d599f(0x3fa)][_0x1d599f(0x17b)](_0x21734b=>{const _0x1c3bfe=_0x1d599f;for(let _0x4fc74e of _0x21734b)this['_activeImageId']===_0x4fc74e[_0x1c3bfe(0x22a)]&&this[_0x1c3bfe(0x1a5)]();}));}[_0x1e3977(0x1a5)](){const _0x51cfd9=_0x1e3977;this[_0x51cfd9(0x354)]=null,this[_0x51cfd9(0x44e)]=null,this[_0x51cfd9(0x18a)]=null,this[_0x51cfd9(0x440)]=void 0x0,this[_0x51cfd9(0x442)]();}};_0x1970f0=_0xba323d([_0x5a8c13(0x1,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x2,(0x0,_0x2eccf5['Inject'])(_0x114b3e[_0x1e3977(0x42b)])),_0x5a8c13(0x3,_0x2eccf5[_0x1e3977(0x178)]),_0x5a8c13(0x4,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x432d68))],_0x1970f0);let _0x3f5298=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x5b129f,_0x3ef977,_0x4f56e1,_0x266337){const _0x550ba3=_0x1e3977;super(),this['_univerInstanceService']=_0x5b129f,this['_sheetInterceptorService']=_0x3ef977,this[_0x550ba3(0x262)]=_0x4f56e1,this[_0x550ba3(0x36d)]=_0x266337,this[_0x550ba3(0x411)]();}[_0x1e3977(0x411)](){const _0x4f9bfd=_0x1e3977;this[_0x4f9bfd(0x256)](this[_0x4f9bfd(0x1cc)]['interceptCommand']({'getMutations':_0x469dfa=>{const _0x8f6157=_0x4f9bfd;if(_0x469dfa['id']===_0x2554f2['RemoveSheetCommand']['id']){let _0x3c9e6e=(0x0,_0x2554f2[_0x8f6157(0x355)])(this['_univerInstanceService'],_0x469dfa['params']);if(!_0x3c9e6e)return{'redos':[],'undos':[]};let {unitId:_0x40c8f0,subUnitId:_0x2545b1}=_0x3c9e6e,_0x38e178=this[_0x8f6157(0x262)]['getDrawingData'](_0x40c8f0,_0x2545b1),_0x5b3108=Object[_0x8f6157(0x158)](_0x38e178)[_0x8f6157(0x3c4)](_0x207e74=>_0x207e74[_0x8f6157(0x34b)]===_0x2eccf5['DrawingTypeEnum'][_0x8f6157(0x285)]);if(_0x5b3108[_0x8f6157(0x337)]===0x0)return{'redos':[],'undos':[]};let _0x587bcf=[],_0x97b796=[];for(let _0x500ab8=0x0;_0x500ab8<_0x5b3108[_0x8f6157(0x337)];_0x500ab8++){let _0x36eb60=_0x5b3108[_0x500ab8],_0x1f97f1=this[_0x8f6157(0x36d)]['getShapeModel'](_0x36eb60['unitId'],_0x36eb60[_0x8f6157(0x204)],_0x36eb60[_0x8f6157(0x22a)]);if(!_0x1f97f1)continue;let {redo:_0x434bcb,undo:_0x3c3b7c,objects:_0x4688ae}=this[_0x8f6157(0x262)]['getBatchRemoveOp']([_0x36eb60]);_0x587bcf[_0x8f6157(0x1b1)]({'id':_0x1b87be[_0x8f6157(0x37a)]['id'],'params':{'unitId':_0x40c8f0,'subUnitId':_0x2545b1,'shapeId':_0x36eb60[_0x8f6157(0x22a)]}}),_0x587bcf[_0x8f6157(0x1b1)]({'id':_0x2a2650['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x40c8f0,'subUnitId':_0x2545b1,'type':_0x2a2650[_0x8f6157(0x35a)][_0x8f6157(0x2c1)],'op':_0x434bcb,'objects':_0x4688ae}}),_0x97b796[_0x8f6157(0x1b1)]({'id':_0x2a2650[_0x8f6157(0x3f0)]['id'],'params':{'unitId':_0x40c8f0,'subUnitId':_0x2545b1,'type':_0x2a2650['DrawingApplyType'][_0x8f6157(0x39e)],'op':_0x3c3b7c,'objects':_0x4688ae}}),_0x97b796[_0x8f6157(0x1b1)]({'id':_0x1b87be[_0x8f6157(0x148)]['id'],'params':{'unitId':_0x40c8f0,'subUnitId':_0x2545b1,'shapeId':_0x36eb60[_0x8f6157(0x22a)],'shapeType':_0x1f97f1[_0x8f6157(0x162)](),'shapeData':JSON[_0x8f6157(0x176)](JSON[_0x8f6157(0x1fd)](_0x1f97f1['getShapeData']()))}});}return{'redos':_0x587bcf,'undos':_0x97b796};}else{if(_0x469dfa['id']===_0x2554f2[_0x8f6157(0x24a)]['id']){let {unitId:_0x385ed0,subUnitId:_0x34456d,targetSubUnitId:_0x136dfb}=_0x469dfa[_0x8f6157(0x2bc)];if(!_0x385ed0||!_0x34456d||!_0x136dfb)return{'redos':[],'undos':[]};let _0xb01b3a=this[_0x8f6157(0x262)]['getDrawingData'](_0x385ed0,_0x34456d),_0xbf6df9=Object['values'](_0xb01b3a)[_0x8f6157(0x3c4)](_0x463896=>_0x463896[_0x8f6157(0x34b)]===_0x2eccf5[_0x8f6157(0x43b)][_0x8f6157(0x285)]);if(_0xbf6df9['length']===0x0)return{'redos':[],'undos':[]};let _0x1ea3bc=[],_0x238f7e=[];for(let _0x402f9c=0x0;_0x402f9c<_0xbf6df9[_0x8f6157(0x337)];_0x402f9c++){let _0x47bf2a=_0xbf6df9[_0x402f9c],_0x3f0d4f=this[_0x8f6157(0x36d)][_0x8f6157(0x134)](_0x47bf2a[_0x8f6157(0x387)],_0x47bf2a[_0x8f6157(0x204)],_0x47bf2a[_0x8f6157(0x22a)]);if(!_0x3f0d4f)continue;let _0x5736c8=(0x0,_0x2eccf5[_0x8f6157(0x2f1)])(),_0x2f9a94={..._0x47bf2a,'unitId':_0x385ed0,'subUnitId':_0x136dfb,'drawingId':_0x5736c8},{redo:_0x419014,undo:_0x3dc5ae,objects:_0x5565d3}=this[_0x8f6157(0x262)]['getBatchAddOp']([_0x2f9a94]);_0x1ea3bc[_0x8f6157(0x1b1)]({'id':_0x2a2650[_0x8f6157(0x3f0)]['id'],'params':{'unitId':_0x385ed0,'subUnitId':_0x136dfb,'type':_0x2a2650['DrawingApplyType'][_0x8f6157(0x39e)],'op':_0x419014,'objects':_0x5565d3}}),_0x1ea3bc[_0x8f6157(0x1b1)]({'id':_0x1b87be[_0x8f6157(0x148)]['id'],'params':{'unitId':_0x385ed0,'subUnitId':_0x136dfb,'shapeId':_0x5736c8,'shapeType':_0x3f0d4f[_0x8f6157(0x162)](),'shapeData':JSON['parse'](JSON[_0x8f6157(0x1fd)](_0x3f0d4f[_0x8f6157(0x1e0)]()))}}),_0x238f7e[_0x8f6157(0x1b1)]({'id':_0x1b87be['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x385ed0,'subUnitId':_0x136dfb,'shapeId':_0x5736c8}}),_0x238f7e[_0x8f6157(0x1b1)]({'id':_0x2a2650['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x385ed0,'subUnitId':_0x136dfb,'type':_0x2a2650['DrawingApplyType'][_0x8f6157(0x2c1)],'op':_0x3dc5ae,'objects':_0x5565d3}});}return{'redos':_0x1ea3bc,'undos':_0x238f7e};}}return{'redos':[],'undos':[]};}}));}};_0x3f5298=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2eccf5['IUniverInstanceService'])),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2554f2[_0x1e3977(0x145)])),_0x5a8c13(0x2,(0x0,_0x2eccf5['Inject'])(_0x2a2650[_0x1e3977(0x12c)])),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)]))],_0x3f5298);let _0x3ec7c3=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2a47da,_0x568c88,_0x2dd82c,_0x1be518,_0x5deef1){const _0x4d8fe9=_0x1e3977;super(),this['_context']=_0x2a47da,this[_0x4d8fe9(0x2e0)]=_0x568c88,this[_0x4d8fe9(0x1a2)]=_0x2dd82c,this[_0x4d8fe9(0x133)]=_0x1be518,this[_0x4d8fe9(0x36d)]=_0x5deef1,_0x163ed0(this,_0x4d8fe9(0x365),null),this[_0x4d8fe9(0x3f4)](),this['_initSelection'](),this[_0x4d8fe9(0x140)]();}[_0x1e3977(0x3f4)](){const _0x44f537=_0x1e3977;let {scene:_0x575292}=this['_context'];this[_0x44f537(0x256)](_0x575292['onDblclick$'][_0x44f537(0x447)](_0x4048=>{const _0x35a6dd=_0x44f537;let {offsetX:_0xa533fe,offsetY:_0x4a7ec2}=_0x4048,_0x1d66d2=_0x575292['pick'](_0x114b3e[_0x35a6dd(0x2c9)]['FromArray']([_0xa533fe,_0x4a7ec2]));if(_0x1d66d2 instanceof _0x34cbbf){let _0x1ac9fd=this[_0x35a6dd(0x36d)][_0x35a6dd(0x134)](_0x1d66d2[_0x35a6dd(0x387)],_0x1d66d2[_0x35a6dd(0x204)],_0x1d66d2[_0x35a6dd(0x329)]);if(_0x1ac9fd!=null&&_0x1ac9fd[_0x35a6dd(0x1e0)]()[_0x35a6dd(0x331)]||(0x0,_0x3d21cd['isConnectorShape'])(this[_0x35a6dd(0x36d)][_0x35a6dd(0x162)](_0x1d66d2[_0x35a6dd(0x387)],_0x1d66d2[_0x35a6dd(0x204)],_0x1d66d2['shapeId'])))return;this[_0x35a6dd(0x2e0)]['setEditing']({'visible':!0x0,'unitId':_0x1d66d2[_0x35a6dd(0x387)],'subUnitId':_0x1d66d2[_0x35a6dd(0x204)],'shapeId':_0x1d66d2['shapeId'],'shapeKey':_0x1d66d2['oKey']});}}));}['_initSelection'](){const _0x59ff2a=_0x1e3977;this['disposeWithMe'](this[_0x59ff2a(0x1a2)]['focus$'][_0x59ff2a(0x17b)](_0x4d41a0=>{const _0x3c03f3=_0x59ff2a;if(_0x4d41a0['length']===0x1){let _0x557a46=_0x4d41a0[0x0],_0x1537eb=this['_drawingManagerService'][_0x3c03f3(0x3d4)](_0x557a46);if((_0x1537eb==null?void 0x0:_0x1537eb[_0x3c03f3(0x34b)])===_0x2eccf5[_0x3c03f3(0x43b)]['DRAWING_SHAPE']){var _0x4313a5;let _0x4035af=this[_0x3c03f3(0x2e0)][_0x3c03f3(0x1b7)]();if((_0x4035af==null?void 0x0:_0x4035af[_0x3c03f3(0x329)])===_0x557a46[_0x3c03f3(0x22a)]&&_0x4035af[_0x3c03f3(0x339)])return;let _0x11604a=(0x0,_0x3d21cd[_0x3c03f3(0x275)])(this[_0x3c03f3(0x36d)][_0x3c03f3(0x162)](_0x557a46[_0x3c03f3(0x387)],_0x557a46[_0x3c03f3(0x204)],_0x557a46[_0x3c03f3(0x22a)])),_0x4cac84=!!((_0x4313a5=this[_0x3c03f3(0x36d)][_0x3c03f3(0x134)](_0x557a46[_0x3c03f3(0x387)],_0x557a46['subUnitId'],_0x557a46[_0x3c03f3(0x22a)]))!=null&&_0x4313a5[_0x3c03f3(0x1e0)]()[_0x3c03f3(0x331)]);(_0x11604a||_0x4cac84)&&this['_shapeTextEditingService'][_0x3c03f3(0x12a)](null);}else this[_0x3c03f3(0x2e0)][_0x3c03f3(0x1b7)]()&&(this[_0x3c03f3(0x2e0)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x448a6e=_0x3c03f3;this[_0x448a6e(0x2e0)][_0x448a6e(0x12a)](null);}));}else this[_0x3c03f3(0x2e0)][_0x3c03f3(0x1b7)]()&&(this[_0x3c03f3(0x2e0)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x1ab7c5=_0x3c03f3;this['_shapeTextEditingService'][_0x1ab7c5(0x12a)](null);}));})),this['disposeWithMe'](this[_0x59ff2a(0x1a2)][_0x59ff2a(0x3fa)][_0x59ff2a(0x17b)](_0x2d3fd3=>{const _0x331ebe=_0x59ff2a;let _0x5d6f9b=this[_0x331ebe(0x2e0)]['getEditing']();_0x5d6f9b&&_0x2d3fd3[_0x331ebe(0x23c)](_0x1f10ac=>_0x1f10ac[_0x331ebe(0x22a)]===_0x5d6f9b[_0x331ebe(0x329)])&&this[_0x331ebe(0x2e0)][_0x331ebe(0x12a)](null);}));}['_initEditingParams'](){const _0x1f6c7b=_0x1e3977;this[_0x1f6c7b(0x256)](this['_shapeTextEditingService'][_0x1f6c7b(0x274)][_0x1f6c7b(0x17b)](_0x44e4f3=>{const _0x5a7d85=_0x1f6c7b;let {scene:_0x404b27}=this[_0x5a7d85(0x1e3)];if(this[_0x5a7d85(0x365)]){let _0x41e4b6=_0x404b27[_0x5a7d85(0x2a4)](this[_0x5a7d85(0x365)]);_0x41e4b6&&_0x41e4b6[_0x5a7d85(0x12a)](!0x1);}if(_0x44e4f3){let _0x545fce=!!_0x44e4f3['visible'],_0x13e66c=_0x404b27[_0x5a7d85(0x2a4)](_0x44e4f3['shapeKey']);_0x13e66c&&(_0x13e66c[_0x5a7d85(0x12a)](_0x545fce),this['_lastEditingShapeKey']=_0x44e4f3[_0x5a7d85(0x1cb)]),this[_0x5a7d85(0x133)][_0x5a7d85(0x3a0)](_0x2eccf5[_0x5a7d85(0x343)],_0x545fce);}else this['_lastEditingShapeKey']=null,this['_contextService'][_0x5a7d85(0x3a0)](_0x2eccf5[_0x5a7d85(0x343)],!0x1);}));}};_0x3ec7c3=_0xba323d([_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x31cbef)),_0x5a8c13(0x2,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x3,_0x2eccf5['IContextService']),_0x5a8c13(0x4,(0x0,_0x2eccf5['Inject'])(_0x1b87be[_0x1e3977(0x3ad)]))],_0x3ec7c3);let _0x298514=class extends _0x25b599[_0x1e3977(0x250)]{constructor(_0x54ed25,_0xe3da6f,_0x376272,_0xd36b6c){super(_0x54ed25,_0xe3da6f,_0x376272,_0xd36b6c,{'componentKey':_0x9609bf,'editorUnitId':_0x39b4a9});}};_0x298514=_0xba323d([_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x4f7558[_0x1e3977(0x1a1)])),_0x5a8c13(0x2,(0x0,_0x2eccf5['Inject'])(_0x2a24ec['DocCanvasPopManagerService'])),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2a24ec[_0x1e3977(0x2f7)]))],_0x298514);let _0x262dc4=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2fe8cd,_0x565ac4,_0x428a42,_0x1d71ed,_0x3b1f1e,_0x10d110){const _0x4169bb=_0x1e3977;super(),this[_0x4169bb(0x2dc)]=_0x2fe8cd,this[_0x4169bb(0x3ba)]=_0x565ac4,this[_0x4169bb(0x1a2)]=_0x428a42,this['_currentUniverService']=_0x1d71ed,this[_0x4169bb(0x43a)]=_0x3b1f1e,this[_0x4169bb(0x2ce)]=_0x10d110,_0x163ed0(this,_0x4169bb(0x1b3),new Set()),this[_0x4169bb(0x228)]();}[_0x1e3977(0x228)](){const _0xd3b0fe=_0x1e3977;this['_drawingAddListener'](),this[_0xd3b0fe(0x28d)](),this['_shapeUpdateListener']();}[_0x1e3977(0x3e8)](){const _0x53d1e7=_0x1e3977;this[_0x53d1e7(0x256)](this[_0x53d1e7(0x1a2)]['add$'][_0x53d1e7(0x17b)](_0xfe8cf0=>{const _0x406cb8=_0x53d1e7;this[_0x406cb8(0x26b)](_0xfe8cf0);}));}[_0x1e3977(0x28d)](){const _0x45d1c4=_0x1e3977;this['disposeWithMe'](this[_0x45d1c4(0x2dc)][_0x45d1c4(0x17a)](_0x2a94f9=>{const _0x55be22=_0x45d1c4;if(_0x2a94f9['id']===_0x1b87be[_0x55be22(0x3da)]['id']){let {unitId:_0x362b96,subUnitId:_0x8ce8de,shapeId:_0x24a18a}=_0x2a94f9[_0x55be22(0x2bc)],_0x568ef1=this['_getSceneAndTransformerByDrawingSearch'](_0x362b96),_0x39aa73=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x362b96,'subUnitId':_0x8ce8de,'drawingId':_0x24a18a}),_0x13d838=_0x568ef1==null?void 0x0:_0x568ef1[_0x55be22(0x14a)][_0x55be22(0x2a4)](_0x39aa73);_0x13d838&&(this[_0x55be22(0x2ce)][_0x55be22(0x1b0)](_0x13d838),this[_0x55be22(0x2ce)][_0x55be22(0x222)](_0x13d838,{'unitId':_0x362b96,'subUnitId':_0x8ce8de,'shapeId':_0x24a18a}),_0x13d838[_0x55be22(0x22f)](!0x0));return;}if(_0x2a94f9['id']===_0x1b87be[_0x55be22(0x148)]['id']){var _0x42eac5;let {unitId:_0x3d8455,subUnitId:_0x34b010,shapeId:_0x4baaf4}=_0x2a94f9[_0x55be22(0x2bc)],_0xe918bb=this[_0x55be22(0x21e)](_0x3d8455);if(_0xe918bb==null)return;let {scene:_0x53929e}=_0xe918bb,_0x2bf094=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3d8455,'subUnitId':_0x34b010,'drawingId':_0x4baaf4}),_0x1a8ddb=_0x53929e[_0x55be22(0x2a4)](_0x2bf094);if(!((_0x42eac5=this['_renderManagerService']['getRenderUnitById'](_0x3d8455))!=null&&_0x42eac5[_0x55be22(0x1dc)](_0x3c12d8[_0x55be22(0x1ae)])[_0x55be22(0x367)](_0x34b010)))return!0x1;if(_0x1a8ddb)return;this[_0x55be22(0x26b)]([{'unitId':_0x3d8455,'subUnitId':_0x34b010,'drawingId':_0x4baaf4}]);}}));}[_0x1e3977(0x35b)](){const _0xb39b20=_0x1e3977;this['disposeWithMe'](this[_0xb39b20(0x1a2)][_0xb39b20(0x35f)][_0xb39b20(0x17b)](_0x29cec0=>{_0x29cec0['forEach'](_0x48b6ad=>{const _0x3db831=_0x93c9;let {unitId:_0x35e56e,subUnitId:_0x5c2850,drawingId:_0x5da25e}=_0x48b6ad,_0xb1e2eb=this[_0x3db831(0x1a2)][_0x3db831(0x3d4)](_0x48b6ad);if(_0xb1e2eb==null)return;let {transform:_0x271018,drawingType:_0x2ab470,srcRect:_0x3c16f1,prstGeom:_0x495792}=_0xb1e2eb;if(_0x2ab470!==_0x2eccf5['DrawingTypeEnum']['DRAWING_SHAPE'])return;let _0x4373bc=this[_0x3db831(0x21e)](_0x35e56e);if(_0x4373bc==null)return;let {scene:_0x32e404,transformer:_0x357ff1}=_0x4373bc;if(_0x271018==null)return!0x0;let _0x7ca34b=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x35e56e,'subUnitId':_0x5c2850,'drawingId':_0x5da25e}),_0x29b851=_0x32e404['getObjectIncludeInGroup'](_0x7ca34b);if(_0x29b851==null)return!0x0;_0x29b851[_0x3db831(0x16b)](_0x3c16f1),_0x29b851[_0x3db831(0x2f2)](_0x495792);});}));}['_insertShapes'](_0x1247e1){const _0x5a1298=_0x1e3977;for(let _0x56f20b of _0x1247e1){var _0x12cad0;let {unitId:_0x5d5eac,subUnitId:_0x54cf09,drawingId:_0x364381}=_0x56f20b,_0x5e15e0=this[_0x5a1298(0x21e)](_0x5d5eac),_0x268693=(_0x12cad0=(0x0,_0x34fb64['getCurrentUnitInfo'])(this[_0x5a1298(0x44b)],_0x5d5eac))==null?void 0x0:_0x12cad0[_0x5a1298(0x204)];if(_0x5e15e0==null||_0x268693!==_0x54cf09)return;let _0x18cd70=(0x0,_0x215a9[_0x5a1298(0x2ee)])({'unitId':_0x5d5eac,'subUnitId':_0x54cf09,'drawingId':_0x364381});if(this[_0x5a1298(0x1b3)][_0x5a1298(0x431)](_0x18cd70)||_0x5e15e0['scene'][_0x5a1298(0x2a4)](_0x18cd70)!=null)return;let _0x546f72=this[_0x5a1298(0x1a2)][_0x5a1298(0x3d4)](_0x56f20b);if(_0x546f72==null||_0x546f72['drawingType']!==_0x2eccf5[_0x5a1298(0x43b)][_0x5a1298(0x285)])return;if((0x0,_0x3d21cd[_0x5a1298(0x275)])((_0x546f72['data']||{})[_0x5a1298(0x436)])){let _0x4c3217=_0x546f72['transform'];_0x4c3217&&(_0x546f72['transform']={..._0x4c3217,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this[_0x5a1298(0x1b3)][_0x5a1298(0x42c)](_0x18cd70);try{this[_0x5a1298(0x2ce)][_0x5a1298(0x413)](_0x546f72,_0x5e15e0[_0x5a1298(0x14a)]);}finally{this['_insertingShapeKeys'][_0x5a1298(0x2e3)](_0x18cd70);}queueMicrotask(()=>{const _0x394697=_0x5a1298;if(this[_0x394697(0x2fc)])return;let _0x43212d=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])(_0x56f20b);if(!_0x5e15e0['scene'][_0x394697(0x2a4)](_0x43212d))return;let _0x36327e=this['_drawingManagerService'][_0x394697(0x3d4)](_0x56f20b);_0x36327e&&this[_0x394697(0x1a2)][_0x394697(0x396)]([_0x36327e]);});}}[_0x1e3977(0x21e)](_0x5e588e){const _0x6651b0=_0x1e3977;if(_0x5e588e==null)return;let _0x4f0589=this['_renderManagerService']['getRenderUnitById'](_0x5e588e),_0x2c8b71=_0x4f0589==null?void 0x0:_0x4f0589[_0x6651b0(0x14a)];return _0x2c8b71==null?null:{'scene':_0x2c8b71,'transformer':_0x2c8b71[_0x6651b0(0x381)]()};}};_0x262dc4=_0xba323d([_0x5a8c13(0x0,_0x2eccf5[_0x1e3977(0x1b2)]),_0x5a8c13(0x1,_0x114b3e[_0x1e3977(0x42b)]),_0x5a8c13(0x2,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x3,_0x2eccf5[_0x1e3977(0x178)]),_0x5a8c13(0x4,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x34fb64['DrawingRenderService'])),_0x5a8c13(0x5,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1f5133))],_0x262dc4);let _0x3ef74e={'normal':{'fill':_0x3d21cd[_0x1e3977(0x356)][_0x1e3977(0x2ec)],'stroke':_0x3d21cd[_0x1e3977(0x356)][_0x1e3977(0x21b)],'strokeWidth':_0x3d21cd[_0x1e3977(0x356)][_0x1e3977(0x283)]},'highlighted':{'fill':_0x1e3977(0x2b0),'stroke':_0x1e3977(0x211),'strokeWidth':0x2}};var _0x1a9cae=class extends _0x114b3e[_0x1e3977(0x399)]{constructor(_0x119669,_0x5a6fc3){const _0x324b06=_0x1e3977;super(_0x119669,_0x5a6fc3),_0x163ed0(this,_0x324b06(0x1c6),''),_0x163ed0(this,_0x324b06(0x1e5),-0x1),_0x163ed0(this,'_unitId',''),_0x163ed0(this,_0x324b06(0x18a),''),_0x163ed0(this,_0x324b06(0x372),!0x1),_0x5a6fc3&&this[_0x324b06(0x186)](_0x5a6fc3);}['getConnectionInfo'](){const _0x43655d=_0x1e3977;return{'unitId':this[_0x43655d(0x44e)],'subUnitId':this[_0x43655d(0x18a)],'shapeId':this[_0x43655d(0x1c6)],'cxnIndex':this[_0x43655d(0x1e5)]};}[_0x1e3977(0x2ad)](_0xcce30e){const _0x578b95=_0x1e3977;this[_0x578b95(0x372)]!==_0xcce30e&&(this['_isHighlighted']=_0xcce30e,this['makeDirty'](!0x0));}[_0x1e3977(0x227)](){const _0x29aaa9=_0x1e3977;return this[_0x29aaa9(0x372)];}[_0x1e3977(0x186)](_0xe21051){const _0x1ac69e=_0x1e3977;var _0xed605f,_0x1d6dcd;_0xe21051['targetShapeId']!==void 0x0&&(this[_0x1ac69e(0x1c6)]=_0xe21051[_0x1ac69e(0x2a2)]),_0xe21051[_0x1ac69e(0x21a)]!==void 0x0&&(this[_0x1ac69e(0x1e5)]=_0xe21051['cxnIndex']),_0xe21051[_0x1ac69e(0x387)]!==void 0x0&&(this['_unitId']=_0xe21051[_0x1ac69e(0x387)]),_0xe21051[_0x1ac69e(0x204)]!==void 0x0&&(this[_0x1ac69e(0x18a)]=_0xe21051[_0x1ac69e(0x204)]),_0xe21051[_0x1ac69e(0x227)]!==void 0x0&&(this[_0x1ac69e(0x372)]=_0xe21051[_0x1ac69e(0x227)]),this['transformByState']({'width':(_0xed605f=_0xe21051[_0x1ac69e(0x1f0)])==null?_0x3d21cd[_0x1ac69e(0x356)][_0x1ac69e(0x205)]*0x2:_0xed605f,'height':(_0x1d6dcd=_0xe21051['height'])==null?_0x3d21cd[_0x1ac69e(0x356)][_0x1ac69e(0x205)]*0x2:_0x1d6dcd});}['_draw'](_0x1e50f4){const _0x2ca607=_0x1e3977;let _0x543de1=this[_0x2ca607(0x372)]?_0x3ef74e['highlighted']:_0x3ef74e[_0x2ca607(0x1a9)];_0x114b3e[_0x2ca607(0x42d)][_0x2ca607(0x314)](_0x1e50f4,{'radius':_0x3d21cd['ShapeDefaultConfig'][_0x2ca607(0x205)],'fill':_0x543de1[_0x2ca607(0x172)],'stroke':_0x543de1[_0x2ca607(0x3ed)],'strokeWidth':_0x543de1[_0x2ca607(0x3e9)],'evented':!0x0});}};let _0x4bf73b=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x1b2386,_0x34d121,_0x1a2c11,_0x417c1a){const _0x4fe62=_0x1e3977;super(),this[_0x4fe62(0x1e3)]=_0x1b2386,this[_0x4fe62(0x3ba)]=_0x34d121,this['_drawingManagerService']=_0x1a2c11,this[_0x4fe62(0x36d)]=_0x417c1a,_0x163ed0(this,'_connectionSiteObjects',[]),_0x163ed0(this,_0x4fe62(0x3b3),null),_0x163ed0(this,_0x4fe62(0x345),-0x1),_0x163ed0(this,_0x4fe62(0x12d),null),_0x163ed0(this,_0x4fe62(0x44e),''),_0x163ed0(this,_0x4fe62(0x18a),''),_0x163ed0(this,_0x4fe62(0x1ca),null);}[_0x1e3977(0x25b)](_0x32bb67,_0x43467b,_0xf1f540,_0x2a2c31){const _0x58c694=_0x1e3977;this[_0x58c694(0x12d)]=_0x32bb67,this[_0x58c694(0x44e)]=_0x43467b,this[_0x58c694(0x18a)]=_0xf1f540,this[_0x58c694(0x1ca)]=_0x2a2c31;}['updateConnectionDetection'](_0x72f301){const _0x10dced=_0x1e3977;if(!this['_currentScene'])return null;let _0x3987fc=this[_0x10dced(0x234)](_0x72f301);return _0x3987fc?(this[_0x10dced(0x3b3)]!==_0x3987fc['shapeId']&&(this[_0x10dced(0x3a8)](),this[_0x10dced(0x2cf)](_0x3987fc[_0x10dced(0x329)],_0x3987fc[_0x10dced(0x425)]),this[_0x10dced(0x3b3)]=_0x3987fc['shapeId']),this[_0x10dced(0x208)](_0x72f301)):(this[_0x10dced(0x3b3)]!==null&&(this[_0x10dced(0x3a8)](),this[_0x10dced(0x3b3)]=null),null);}[_0x1e3977(0x26c)](){const _0x1a244d=_0x1e3977;this[_0x1a244d(0x3a8)](),this[_0x1a244d(0x12d)]=null,this[_0x1a244d(0x3b3)]=null,this[_0x1a244d(0x345)]=-0x1,this[_0x1a244d(0x1ca)]=null;}['getConnectionRelation'](){const _0x51b7ed=_0x1e3977;return this['_activeTargetShapeId']===null||this[_0x51b7ed(0x345)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x51b7ed(0x345)]};}['_findShapeAtPoint'](_0x58074a){const _0x369b5d=_0x1e3977;let _0x5326dd=this[_0x369b5d(0x1a2)][_0x369b5d(0x173)](this[_0x369b5d(0x44e)],this[_0x369b5d(0x18a)]);for(let _0x472813 of Object['keys'](_0x5326dd)){if(_0x472813===this[_0x369b5d(0x1ca)]||_0x5326dd[_0x472813]['drawingType']!==_0x2eccf5['DrawingTypeEnum'][_0x369b5d(0x285)])continue;let _0x2659ee=this[_0x369b5d(0x36d)][_0x369b5d(0x134)](this['_unitId'],this[_0x369b5d(0x18a)],_0x472813);if(!_0x2659ee||(0x0,_0x3d21cd[_0x369b5d(0x275)])(_0x2659ee[_0x369b5d(0x162)]())||_0x2659ee[_0x369b5d(0x32d)]()[_0x369b5d(0x337)]===0x0||!this['_currentScene'])continue;let _0x3af84a=(0x0,_0x215a9[_0x369b5d(0x2ee)])({'unitId':this[_0x369b5d(0x44e)],'subUnitId':this[_0x369b5d(0x18a)],'drawingId':_0x472813}),_0x39b963=this[_0x369b5d(0x12d)][_0x369b5d(0x2a4)](_0x3af84a);if(!_0x39b963)continue;let {left:_0x46a339,top:_0x396227,width:_0x4a41b5,height:_0x5ba09d}=_0x39b963[_0x369b5d(0x214)](),_0x5f47ba=_0x46a339+_0x4a41b5/0x2,_0x34aff8=_0x396227+_0x5ba09d/0x2,_0x592c6d=_0x39b963[_0x369b5d(0x31d)]['getMatrix'](),_0x18f3b9=new _0x114b3e[(_0x369b5d(0x26a))]([_0x592c6d[0x0],_0x592c6d[0x1],_0x592c6d[0x2],_0x592c6d[0x3],_0x5f47ba,_0x34aff8]),_0x4688bc=_0x39b963['getParent'](),_0x909dfe=(_0x39b963[_0x369b5d(0x2b9)]&&(_0x4688bc==null?void 0x0:_0x4688bc[_0x369b5d(0x2a5)])===_0x114b3e[_0x369b5d(0x281)]['GROUP']?_0x4688bc['ancestorTransform'][_0x369b5d(0x286)](_0x18f3b9):_0x18f3b9)[_0x369b5d(0x21c)]()[_0x369b5d(0x3e7)](_0x58074a),_0x38c178=_0x4a41b5/0x2,_0x17669c=_0x5ba09d/0x2;if(_0x909dfe['x']>=-_0x38c178-0x5&&_0x909dfe['x']<=_0x38c178+0x5&&_0x909dfe['y']>=-_0x17669c-0x5&&_0x909dfe['y']<=_0x17669c+0x5)return{'shapeId':_0x472813,'shapeModel':_0x2659ee};}return null;}['_showConnectionSites'](_0x331ffc,_0x27171e){const _0x2b1aff=_0x1e3977;if(!this[_0x2b1aff(0x12d)])return;let _0x384eb4=(0x0,_0x215a9[_0x2b1aff(0x2ee)])({'unitId':this['_unitId'],'subUnitId':this[_0x2b1aff(0x18a)],'drawingId':_0x331ffc}),_0x4aec95=this['_currentScene'][_0x2b1aff(0x2a4)](_0x384eb4);if(!_0x4aec95)return;let {left:_0x1146b3,top:_0x130201,width:_0x440c0c,height:_0x4dc719}=_0x4aec95[_0x2b1aff(0x214)](),_0x19948f=_0x1146b3+_0x440c0c/0x2,_0x429b8e=_0x130201+_0x4dc719/0x2,_0x213da3=_0x4aec95['transform'][_0x2b1aff(0x31f)](),_0x3f1505=new _0x114b3e[(_0x2b1aff(0x26a))]([_0x213da3[0x0],_0x213da3[0x1],_0x213da3[0x2],_0x213da3[0x3],_0x19948f,_0x429b8e]),_0x3335df=_0x4aec95[_0x2b1aff(0x3a2)](),_0x44d4cf=_0x4aec95[_0x2b1aff(0x2b9)]&&(_0x3335df==null?void 0x0:_0x3335df['classType'])===_0x114b3e[_0x2b1aff(0x281)][_0x2b1aff(0x272)]?_0x3335df[_0x2b1aff(0x15d)][_0x2b1aff(0x286)](_0x3f1505):_0x3f1505;_0x27171e[_0x2b1aff(0x1b9)]({'width':_0x440c0c,'height':_0x4dc719});let _0x4b8cf8=_0x27171e['getConnectionSiteList']();for(let _0x55339d of _0x4b8cf8){let _0x1b6939=_0x55339d['x']-_0x440c0c/0x2,_0x2a2337=_0x55339d['y']-_0x4dc719/0x2,_0x46403e=_0x44d4cf[_0x2b1aff(0x3e7)]({'x':_0x1b6939,'y':_0x2a2337}),_0x3032cd=_0x46403e['x'],_0x27cfe2=_0x46403e['y'],_0x3acf7d=new _0x1a9cae(_0x2b1aff(0x201)+_0x331ffc+'-'+_0x55339d[_0x2b1aff(0x3f3)],{'left':_0x3032cd-_0x3d21cd['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x27cfe2-_0x3d21cd[_0x2b1aff(0x356)]['cxnPointRadius'],'targetShapeId':_0x331ffc,'cxnIndex':_0x55339d['index'],'unitId':this[_0x2b1aff(0x44e)],'subUnitId':this[_0x2b1aff(0x18a)],'width':_0x3d21cd['ShapeDefaultConfig'][_0x2b1aff(0x205)]*0x2,'height':_0x3d21cd['ShapeDefaultConfig'][_0x2b1aff(0x205)]*0x2,'zIndex':_0x114b3e[_0x2b1aff(0x3e0)]+0x2,'evented':!0x1});this[_0x2b1aff(0x11e)]['push'](_0x3acf7d),this[_0x2b1aff(0x12d)][_0x2b1aff(0x333)](_0x3acf7d,_0x114b3e[_0x2b1aff(0x3e0)]+0x2);}}[_0x1e3977(0x208)](_0x2a7f3e){const _0x180b04=_0x1e3977;let _0x59d4cb=null,_0x5a27e5=0x1/0x0,_0x40892a=null;for(let _0x4dfe81 of this[_0x180b04(0x11e)]){let _0x2f4765=_0x4dfe81['left']+_0x3d21cd['ShapeDefaultConfig'][_0x180b04(0x205)],_0x4e6047=_0x4dfe81['top']+_0x3d21cd[_0x180b04(0x356)]['cxnPointRadius'],_0x396779=_0x2a7f3e['x']-_0x2f4765,_0x179313=_0x2a7f3e['y']-_0x4e6047,_0x1033aa=Math['sqrt'](_0x396779*_0x396779+_0x179313*_0x179313);_0x1033aa<_0x5a27e5&&(_0x5a27e5=_0x1033aa,_0x59d4cb=_0x4dfe81,_0x40892a={'x':_0x2f4765,'y':_0x4e6047});}let _0x3848ce=_0x5a27e5<=0xa&&_0x59d4cb?_0x59d4cb[_0x180b04(0x449)]()[_0x180b04(0x21a)]:-0x1;if(_0x3848ce!==this['_highlightedSiteIndex']){for(let _0x306a46 of this[_0x180b04(0x11e)]){let _0x1b2e0c=_0x306a46[_0x180b04(0x449)]();_0x306a46[_0x180b04(0x2ad)](_0x1b2e0c[_0x180b04(0x21a)]===_0x3848ce);}this[_0x180b04(0x345)]=_0x3848ce;}if(_0x5a27e5<=0xa&&_0x59d4cb&&_0x40892a){let _0x54cb27=_0x59d4cb[_0x180b04(0x449)](),_0x228137=this[_0x180b04(0x453)](_0x54cb27[_0x180b04(0x329)],_0x54cb27[_0x180b04(0x21a)]);return{'shapeId':_0x54cb27['shapeId'],'cxnIndex':_0x54cb27['cxnIndex'],'unitId':_0x54cb27[_0x180b04(0x387)],'subUnitId':_0x54cb27[_0x180b04(0x204)],'worldPoint':_0x40892a,'angle':_0x228137};}return null;}['_getConnectionSiteAngle'](_0x237d09,_0x55d3e7){const _0x287405=_0x1e3977;let _0xccaaf5=this[_0x287405(0x36d)][_0x287405(0x134)](this[_0x287405(0x44e)],this[_0x287405(0x18a)],_0x237d09);if(!_0xccaaf5)return 0x0;let _0x126deb=this[_0x287405(0x1a2)][_0x287405(0x3d4)]({'unitId':this[_0x287405(0x44e)],'subUnitId':this[_0x287405(0x18a)],'drawingId':_0x237d09});if(!(_0x126deb!=null&&_0x126deb[_0x287405(0x31d)]))return 0x0;let {width:_0xb269ba=0x0,height:_0x3a7cb4=0x0,flipX:_0x42fc08=!0x1,flipY:_0x560c3a=!0x1}=_0x126deb[_0x287405(0x31d)];_0xccaaf5[_0x287405(0x1b9)]({'width':_0xb269ba,'height':_0x3a7cb4});let _0x533d48=_0xccaaf5[_0x287405(0x32d)]()[_0x287405(0x24b)](_0x47c9ee=>_0x47c9ee['index']===_0x55d3e7);if(!_0x533d48)return 0x0;let _0x13522c=_0x533d48['ang']/0xea60;return _0x42fc08&&(_0x13522c=0xb4-_0x13522c),_0x560c3a&&(_0x13522c=-_0x13522c),_0x13522c=(_0x13522c%0x168+0x168)%0x168,_0x13522c;}[_0x1e3977(0x3a8)](){const _0x41adbc=_0x1e3977;for(let _0x52d15a of this[_0x41adbc(0x11e)])_0x52d15a['dispose']();this['_connectionSiteObjects']=[],this[_0x41adbc(0x345)]=-0x1;}[_0x1e3977(0x175)](){this['_clearConnectionSites'](),super['dispose']();}};_0x4bf73b=_0xba323d([_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x114b3e[_0x1e3977(0x42b)])),_0x5a8c13(0x2,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x215a9[_0x1e3977(0x18c)])),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)]))],_0x4bf73b);let _0x13cfb8=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x10b042,_0x1d8d9e,_0x5929fa,_0x497746,_0x239146){const _0x41086a=_0x1e3977;super(),this[_0x41086a(0x1ab)]=_0x10b042,this[_0x41086a(0x2e6)]=_0x1d8d9e,this[_0x41086a(0x262)]=_0x5929fa,this[_0x41086a(0x2d5)]=_0x497746,this['_groupCopyPasteController']=_0x239146,_0x163ed0(this,_0x41086a(0x212),void 0x0),this['_initCopyPaste'](),this[_0x41086a(0x41f)]();}get[_0x1e3977(0x13a)](){const _0x2aa7bb=_0x1e3977;return this['_sheetDrawingService'][_0x2aa7bb(0x40c)]();}[_0x1e3977(0x41f)](){const _0x294616=_0x1e3977;this['_groupCopyPasteController'][_0x294616(0x33f)](({fromUnitId:_0x1d3e59,fromSubUnitId:_0x5f37c4,toUnitId:_0x3735db,toSubUnitId:_0x4cc226,idMap:_0x3297f7})=>{const _0x2c6d40=_0x294616;let _0x4e988f=[],_0x37767b=[];for(let [_0x32ceed,_0x33bf63]of _0x3297f7['entries']()){let _0x5c9417=this['_shapeService'][_0x2c6d40(0x134)](_0x1d3e59,_0x5f37c4,_0x32ceed);if(!_0x5c9417)continue;let _0x14bf46=_0x5c9417[_0x2c6d40(0x162)](),_0x4cea82=JSON['parse'](JSON[_0x2c6d40(0x1fd)](_0x5c9417[_0x2c6d40(0x1e0)]()));if(_0x4cea82[_0x2c6d40(0x247)]){var _0x22584f,_0x413aeb;let _0x35a7d0=(_0x22584f=_0x4cea82[_0x2c6d40(0x247)][_0x2c6d40(0x110)])==null?void 0x0:_0x22584f[_0x2c6d40(0x329)],_0x2e8ea=(_0x413aeb=_0x4cea82[_0x2c6d40(0x247)]['to'])==null?void 0x0:_0x413aeb[_0x2c6d40(0x329)],_0x5f43aa=!_0x35a7d0||_0x3297f7[_0x2c6d40(0x431)](_0x35a7d0),_0x381981=!_0x2e8ea||_0x3297f7[_0x2c6d40(0x431)](_0x2e8ea);_0x5f43aa&&_0x35a7d0&&_0x4cea82[_0x2c6d40(0x247)][_0x2c6d40(0x110)]?_0x4cea82[_0x2c6d40(0x247)][_0x2c6d40(0x110)]={..._0x4cea82['relation'][_0x2c6d40(0x110)],'shapeId':_0x3297f7[_0x2c6d40(0x32f)](_0x35a7d0)}:_0x4cea82[_0x2c6d40(0x247)][_0x2c6d40(0x110)]=void 0x0,_0x381981&&_0x2e8ea&&_0x4cea82[_0x2c6d40(0x247)]['to']?_0x4cea82['relation']['to']={..._0x4cea82['relation']['to'],'shapeId':_0x3297f7['get'](_0x2e8ea)}:_0x4cea82[_0x2c6d40(0x247)]['to']=void 0x0;}_0x4e988f[_0x2c6d40(0x1b1)]({'id':_0x1b87be[_0x2c6d40(0x148)]['id'],'params':{'unitId':_0x3735db,'subUnitId':_0x4cc226,'shapeId':_0x33bf63,'shapeType':_0x14bf46,'shapeData':_0x4cea82}}),_0x37767b[_0x2c6d40(0x1b1)]({'id':_0x1b87be[_0x2c6d40(0x37a)]['id'],'params':{'unitId':_0x3735db,'subUnitId':_0x4cc226,'shapeId':_0x33bf63}});}return{'redos':_0x4e988f,'undos':_0x37767b};});}[_0x1e3977(0x36f)](){const _0x28b23d=_0x1e3977;this['disposeWithMe'](this[_0x28b23d(0x2e6)]['addClipboardHook']({'id':'sheets-shape-ui','onBeforeCopy':(_0x5c7db4,_0x24ab24,_0x4ab1d7,_0x391447)=>{const _0x397452=_0x28b23d;this[_0x397452(0x212)]=null;let _0x5ec5a4=this[_0x397452(0x13a)];if(_0x5ec5a4['length']){let _0x36ad3e=_0x5ec5a4[_0x397452(0x3c4)](_0x55564f=>_0x55564f['drawingType']===_0x2eccf5[_0x397452(0x43b)][_0x397452(0x285)]);if(_0x36ad3e[_0x397452(0x337)]===0x0)return;this['_copyInfo']={'unitId':_0x5c7db4,'subUnitId':_0x24ab24,'copyType':_0x391447,'drawings':_0x36ad3e};}else this['_createCopyInfoByRange'](_0x5c7db4,_0x24ab24,_0x4ab1d7,_0x391447);},'onPasteCells':(_0x150428,_0x1b2f0e,_0x168dfb,_0x299bd0)=>{const _0x3595e4=_0x28b23d;if(!this[_0x3595e4(0x212)])return{'redos':[],'undos':[]};let {pasteType:_0x2826e6}=_0x299bd0;return _0x2826e6===_0x3c12d8[_0x3595e4(0x444)][_0x3595e4(0x11a)]?this[_0x3595e4(0x2de)](_0x1b2f0e,this[_0x3595e4(0x212)][_0x3595e4(0x3a7)]===_0x3c12d8[_0x3595e4(0x167)][_0x3595e4(0x12f)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x7d50a5=>this[_0x28b23d(0x212)]?this[_0x28b23d(0x2de)](_0x7d50a5,this[_0x28b23d(0x212)][_0x28b23d(0x3a7)]===_0x3c12d8[_0x28b23d(0x167)][_0x28b23d(0x12f)]):{'redos':[],'undos':[]}}));}[_0x1e3977(0x2e5)](_0x3553b3,_0x239325,_0x1e1b7a,_0x1ed5fe){const _0x5ead1b=_0x1e3977;let _0x2b0d89=this[_0x5ead1b(0x1ab)][_0x5ead1b(0x367)](_0x3553b3,_0x239325);if(!_0x2b0d89)return;let _0x5cb659=(0x0,_0x2554f2['attachRangeWithCoord'])(_0x2b0d89,_0x1e1b7a);if(!_0x5cb659)return;let {startX:_0x54e5dc,endX:_0x8e7ab6,startY:_0x4d5fef,endY:_0x501450}=_0x5cb659,_0x244d01=this['_sheetDrawingService'][_0x5ead1b(0x173)](_0x3553b3,_0x239325),_0x201a95=this[_0x5ead1b(0x13a)][_0x5ead1b(0x451)]();for(let [_0x45fe85,_0x5da171]of Object[_0x5ead1b(0x3d5)](_0x244d01)){if(_0x5da171[_0x5ead1b(0x34b)]!==_0x2eccf5[_0x5ead1b(0x43b)][_0x5ead1b(0x285)])continue;let {transform:_0x7592c7}=_0x5da171;if(!_0x7592c7)continue;let {left:_0x40c60e=0x0,top:_0x1bf872=0x0,width:_0x4f80de=0x0,height:_0xe16e46=0x0}=_0x7592c7;_0x54e5dc<=_0x40c60e&&_0x8e7ab6>=_0x40c60e+_0x4f80de&&_0x4d5fef<=_0x1bf872&&_0x501450>=_0x1bf872+_0xe16e46&&_0x201a95[_0x5ead1b(0x1b1)](_0x5da171);}_0x201a95[_0x5ead1b(0x337)]>0x0&&(this[_0x5ead1b(0x212)]={'unitId':_0x3553b3,'subUnitId':_0x239325,'copyType':_0x1ed5fe,'copyRange':_0x1e1b7a,'drawings':_0x201a95});}[_0x1e3977(0x2de)](_0x1c1f8c,_0xee6fe){const _0x1cd5a8=_0x1e3977;let {unitId:_0x180e47,subUnitId:_0x3ffdbd,range:_0x216ab2}=_0x1c1f8c,_0x168805=this[_0x1cd5a8(0x1ab)][_0x1cd5a8(0x367)](_0x180e47,_0x3ffdbd);if(!_0x168805)return{'redos':[],'undos':[]};let _0x16a710=(0x0,_0x2554f2[_0x1cd5a8(0x202)])(_0x216ab2),{unitId:_0x285b03,subUnitId:_0x388514,copyRange:_0x26f384,drawings:_0xc5b0fa}=this[_0x1cd5a8(0x212)],_0x1625ee=this[_0x1cd5a8(0x1ab)]['getSkeleton'](_0x285b03,_0x388514);if(!_0x1625ee)return{'redos':[],'undos':[]};let _0x53181e;if(!_0x26f384){let _0x50b433=0x1/0x0,_0x17b0ea=0x1/0x0;for(let _0x572e8e of _0xc5b0fa){var _0x3956f9;let {left:_0x492bd5=0x0,top:_0x595cdb=0x0}=(_0x3956f9=_0x572e8e[_0x1cd5a8(0x31d)])==null?{}:_0x3956f9;_0x492bd5<_0x50b433&&(_0x50b433=_0x492bd5),_0x595cdb<_0x17b0ea&&(_0x17b0ea=_0x595cdb);}_0x50b433!==0x1/0x0&&_0x17b0ea!==0x1/0x0&&(_0x53181e={'left':_0x50b433,'top':_0x17b0ea});}let _0x4ea646=new Map();if(!_0xee6fe){for(let _0x4c0b95 of _0xc5b0fa)_0x4ea646['set'](_0x4c0b95['drawingId'],(0x0,_0x2eccf5[_0x1cd5a8(0x2f1)])());}let _0x242a2b=[],_0x34780e=[];for(let _0x30cdbc of _0xc5b0fa){let {drawingId:_0x1868c8,transform:_0x5c189d,sheetTransform:_0xe5b00e}=_0x30cdbc;if(!_0x5c189d||!_0xe5b00e)continue;let _0x157761=this[_0x1cd5a8(0x243)]({'transform':_0x5c189d,'sheetTransform':_0xe5b00e},{'skeleton':_0x1625ee,'range':_0x26f384},{'skeleton':_0x168805,'range':_0x16a710},_0x53181e);if(_0xee6fe){let {redos:_0x389dfb,undos:_0x7d6cfd}=this['_generateCutPasteMutations']({'fromUnitId':_0x285b03,'fromSubUnitId':_0x388514,'toUnitId':_0x180e47,'toSubUnitId':_0x3ffdbd,'drawing':_0x30cdbc,'newTransforms':_0x157761});_0x242a2b[_0x1cd5a8(0x1b1)](..._0x389dfb),_0x34780e['push'](..._0x7d6cfd);continue;}let {redos:_0x5ab811,undos:_0x2e98f6}=this['_generateCopyPasteMutations']({'toUnitId':_0x180e47,'toSubUnitId':_0x3ffdbd,'drawing':_0x30cdbc,'newTransforms':_0x157761,'newDrawingId':_0x4ea646[_0x1cd5a8(0x32f)](_0x1868c8),'idMap':_0x4ea646});_0x242a2b[_0x1cd5a8(0x1b1)](..._0x5ab811),_0x34780e[_0x1cd5a8(0x1b1)](..._0x2e98f6);}return{'redos':_0x242a2b,'undos':_0x34780e};}[_0x1e3977(0x116)](_0xf0719b){const _0x44d169=_0x1e3977;let {fromUnitId:_0x1522a6,fromSubUnitId:_0x325b5,toUnitId:_0x5e64ab,toSubUnitId:_0x1163bb,drawing:_0x1bf8b3,newTransforms:_0x5cc48e}=_0xf0719b,_0x2c794c={..._0x1bf8b3,'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'transform':_0x5cc48e[_0x44d169(0x31d)],'sheetTransform':_0x5cc48e['sheetTransform']};if(_0x5e64ab===_0x1522a6&&_0x1163bb===_0x325b5){let {redo:_0x429cee,undo:_0x22e6b1,objects:_0x47434d}=this[_0x44d169(0x262)][_0x44d169(0x27b)]([_0x2c794c]);return{'redos':[{'id':_0x2a2650[_0x44d169(0x3f0)]['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'type':_0x2a2650[_0x44d169(0x35a)][_0x44d169(0x18d)],'op':_0x429cee,'objects':_0x47434d}}],'undos':[{'id':_0x2a2650[_0x44d169(0x3f0)]['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'type':_0x2a2650[_0x44d169(0x35a)][_0x44d169(0x18d)],'op':_0x22e6b1,'objects':_0x47434d}}]};}else{let _0x25a6b9=this['_sheetDrawingService'][_0x44d169(0x194)]([_0x1bf8b3]),_0x3c7ea8=this[_0x44d169(0x262)][_0x44d169(0x1a0)]([_0x2c794c]),_0x4f1750=this['_shapeService'][_0x44d169(0x134)](_0x1bf8b3[_0x44d169(0x387)],_0x1bf8b3[_0x44d169(0x204)],_0x1bf8b3[_0x44d169(0x22a)]);if(!_0x4f1750)return{'redos':[],'undos':[]};let _0x5c6608=_0x4f1750[_0x44d169(0x162)](),_0x1c3c41=JSON[_0x44d169(0x176)](JSON[_0x44d169(0x1fd)](_0x4f1750['getShapeData']()));return{'redos':[{'id':_0x2a2650[_0x44d169(0x3f0)]['id'],'params':{'unitId':_0x1522a6,'subUnitId':_0x325b5,'type':_0x2a2650[_0x44d169(0x35a)][_0x44d169(0x2c1)],'op':_0x25a6b9[_0x44d169(0x12b)],'objects':_0x25a6b9[_0x44d169(0x3ab)]}},{'id':_0x1b87be[_0x44d169(0x37a)]['id'],'params':{'unitId':_0x1522a6,'subUnitId':_0x325b5,'shapeId':_0x1bf8b3[_0x44d169(0x22a)]}},{'id':_0x2a2650['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'type':_0x2a2650['DrawingApplyType'][_0x44d169(0x39e)],'op':_0x3c7ea8['redo'],'objects':_0x3c7ea8[_0x44d169(0x3ab)]}},{'id':_0x1b87be[_0x44d169(0x148)]['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'shapeId':_0x1bf8b3[_0x44d169(0x22a)],'shapeType':_0x5c6608,'shapeData':_0x1c3c41}}],'undos':[{'id':_0x2a2650[_0x44d169(0x3f0)]['id'],'params':{'unitId':_0x1522a6,'subUnitId':_0x325b5,'type':_0x2a2650[_0x44d169(0x35a)][_0x44d169(0x39e)],'op':_0x25a6b9[_0x44d169(0x393)],'objects':_0x25a6b9['objects']}},{'id':_0x1b87be[_0x44d169(0x148)]['id'],'params':{'unitId':_0x1522a6,'subUnitId':_0x325b5,'shapeId':_0x1bf8b3[_0x44d169(0x22a)],'shapeType':_0x5c6608,'shapeData':_0x1c3c41}},{'id':_0x2a2650[_0x44d169(0x3f0)]['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'type':_0x2a2650[_0x44d169(0x35a)][_0x44d169(0x2c1)],'op':_0x3c7ea8['undo'],'objects':_0x3c7ea8[_0x44d169(0x3ab)]}},{'id':_0x1b87be[_0x44d169(0x37a)]['id'],'params':{'unitId':_0x5e64ab,'subUnitId':_0x1163bb,'shapeId':_0x1bf8b3[_0x44d169(0x22a)]}}]};}}[_0x1e3977(0x3c6)](_0x3468ce){const _0x3ad00a=_0x1e3977;let {toUnitId:_0x281b2d,toSubUnitId:_0x128c3f,drawing:_0x2f7464,newTransforms:_0x1c7b30,newDrawingId:_0x103ec3,idMap:_0x138b91}=_0x3468ce,_0x498a08={..._0x2f7464,'unitId':_0x281b2d,'subUnitId':_0x128c3f,'drawingId':_0x103ec3,'transform':_0x1c7b30[_0x3ad00a(0x31d)],'sheetTransform':_0x1c7b30[_0x3ad00a(0x27a)]},{redo:_0x42d960,undo:_0x52afd4,objects:_0x405a4f}=this[_0x3ad00a(0x262)][_0x3ad00a(0x1a0)]([_0x498a08]),_0x18fdd4=this[_0x3ad00a(0x2d5)][_0x3ad00a(0x134)](_0x2f7464[_0x3ad00a(0x387)],_0x2f7464[_0x3ad00a(0x204)],_0x2f7464['drawingId']);if(!_0x18fdd4)return{'redos':[],'undos':[]};let _0xde84c3=_0x18fdd4[_0x3ad00a(0x162)](),_0x54db3f=JSON[_0x3ad00a(0x176)](JSON[_0x3ad00a(0x1fd)](_0x18fdd4[_0x3ad00a(0x1e0)]()));if(_0x54db3f[_0x3ad00a(0x247)]){var _0x550788,_0x89fadd;let _0x40cb12=(_0x550788=_0x54db3f[_0x3ad00a(0x247)]['from'])==null?void 0x0:_0x550788[_0x3ad00a(0x329)],_0x4afa96=(_0x89fadd=_0x54db3f[_0x3ad00a(0x247)]['to'])==null?void 0x0:_0x89fadd['shapeId'],_0x25a7fe=!_0x40cb12||_0x138b91[_0x3ad00a(0x431)](_0x40cb12),_0x5ec238=!_0x4afa96||_0x138b91[_0x3ad00a(0x431)](_0x4afa96);_0x25a7fe&&_0x40cb12&&_0x54db3f[_0x3ad00a(0x247)]['from']?_0x54db3f[_0x3ad00a(0x247)][_0x3ad00a(0x110)]={..._0x54db3f['relation'][_0x3ad00a(0x110)],'shapeId':_0x138b91[_0x3ad00a(0x32f)](_0x40cb12)}:_0x54db3f['relation']['from']=void 0x0,_0x5ec238&&_0x4afa96&&_0x54db3f['relation']['to']?_0x54db3f['relation']['to']={..._0x54db3f['relation']['to'],'shapeId':_0x138b91['get'](_0x4afa96)}:_0x54db3f[_0x3ad00a(0x247)]['to']=void 0x0;}return{'redos':[{'id':_0x2a2650['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x281b2d,'subUnitId':_0x128c3f,'type':_0x2a2650['DrawingApplyType'][_0x3ad00a(0x39e)],'op':_0x42d960,'objects':_0x405a4f}},{'id':_0x1b87be['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x281b2d,'subUnitId':_0x128c3f,'shapeId':_0x103ec3,'shapeType':_0xde84c3,'shapeData':_0x54db3f}}],'undos':[{'id':_0x2a2650['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x281b2d,'subUnitId':_0x128c3f,'type':_0x2a2650[_0x3ad00a(0x35a)][_0x3ad00a(0x2c1)],'op':_0x52afd4,'objects':_0x405a4f}},{'id':_0x1b87be['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x281b2d,'subUnitId':_0x128c3f,'shapeId':_0x103ec3}}]};}[_0x1e3977(0x243)](_0x4b83cc,_0x5babbb,_0x58675d,_0x2e6456){const _0x1efc6b=_0x1e3977;var _0xf4143d;let {range:_0x3a65c6,skeleton:_0x54786f}=_0x5babbb,{range:_0x5ec6ca,skeleton:_0x14e270}=_0x58675d,{transform:_0x1507f9,sheetTransform:_0x17a565}=_0x4b83cc,_0x3cfe61={..._0x1507f9};if(_0x3a65c6){let _0x30c3ac=(0x0,_0x2554f2['attachRangeWithCoord'])(_0x54786f,_0x3a65c6),_0x1214c5=(0x0,_0x2554f2[_0x1efc6b(0x3bd)])(_0x14e270,_0x5ec6ca);if(_0x30c3ac&&_0x1214c5){var _0x26589e,_0x415e6c;let _0x47726d=_0x1214c5['startX']-_0x30c3ac['startX'],_0x24addf=_0x1214c5[_0x1efc6b(0x263)]-_0x30c3ac[_0x1efc6b(0x263)];_0x3cfe61[_0x1efc6b(0x44f)]=((_0x26589e=_0x3cfe61[_0x1efc6b(0x44f)])==null?0x0:_0x26589e)+_0x47726d,_0x3cfe61[_0x1efc6b(0x278)]=((_0x415e6c=_0x3cfe61[_0x1efc6b(0x278)])==null?0x0:_0x415e6c)+_0x24addf;}}else{let _0x5e7272=(0x0,_0x2554f2[_0x1efc6b(0x3bd)])(_0x14e270,_0x5ec6ca);if(_0x2e6456&&_0x5e7272){var _0x262c51,_0x43cb0f;let _0x2b90e1=((_0x262c51=_0x3cfe61[_0x1efc6b(0x44f)])==null?0x0:_0x262c51)-_0x2e6456['left'],_0x403550=((_0x43cb0f=_0x3cfe61['top'])==null?0x0:_0x43cb0f)-_0x2e6456[_0x1efc6b(0x278)];_0x3cfe61[_0x1efc6b(0x44f)]=_0x5e7272[_0x1efc6b(0x2f4)]+_0x2b90e1,_0x3cfe61[_0x1efc6b(0x278)]=_0x5e7272[_0x1efc6b(0x263)]+_0x403550;}else _0x3cfe61[_0x1efc6b(0x44f)]=_0x5e7272==null?void 0x0:_0x5e7272['startX'],_0x3cfe61[_0x1efc6b(0x278)]=_0x5e7272==null?void 0x0:_0x5e7272[_0x1efc6b(0x263)];}return{'transform':_0x3cfe61,'sheetTransform':(_0xf4143d=(0x0,_0x2a2650[_0x1efc6b(0x3c9)])(_0x3cfe61,_0x14e270))==null?_0x17a565:_0xf4143d};}};_0x13cfb8=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5['Inject'])(_0x2554f2[_0x1e3977(0x154)])),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x3c12d8[_0x1e3977(0x35d)])),_0x5a8c13(0x2,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2a2650[_0x1e3977(0x12c)])),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)])),_0x5a8c13(0x4,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x101b82['SheetsDrawingGroupCopyPasteController']))],_0x13cfb8);var _0x1bacbd=class extends _0x114b3e[_0x1e3977(0x399)]{constructor(_0x4ed6d9,_0x21c575){const _0x16c815=_0x1e3977;super(_0x4ed6d9,_0x21c575),_0x163ed0(this,_0x16c815(0x237),null),_0x163ed0(this,'_index',null),_0x163ed0(this,_0x16c815(0x44e),null),_0x163ed0(this,'_subUnitId',null),_0x163ed0(this,_0x16c815(0x251),!0x1),_0x21c575&&this[_0x16c815(0x186)](_0x21c575);}[_0x1e3977(0x26e)](){const _0x39ab12=_0x1e3977;return{'unitId':this[_0x39ab12(0x44e)],'subUnitId':this[_0x39ab12(0x18a)],'drawingId':this[_0x39ab12(0x237)]};}[_0x1e3977(0x186)](_0x1d152b){const _0x1437c9=_0x1e3977;_0x1d152b[_0x1437c9(0x329)]!==void 0x0&&(this[_0x1437c9(0x237)]=_0x1d152b[_0x1437c9(0x329)]),_0x1d152b['unitId']!==void 0x0&&(this['_unitId']=_0x1d152b[_0x1437c9(0x387)]),_0x1d152b[_0x1437c9(0x204)]!==void 0x0&&(this[_0x1437c9(0x18a)]=_0x1d152b[_0x1437c9(0x204)]),_0x1d152b[_0x1437c9(0x41a)]!==void 0x0&&(this[_0x1437c9(0x251)]=_0x1d152b['isStartConnectorPoint']),this[_0x1437c9(0x1c7)]({'width':_0x1d152b[_0x1437c9(0x1f0)],'height':_0x1d152b[_0x1437c9(0x196)]});}[_0x1e3977(0x2c0)](_0x293d7e){const _0x2c63d8=_0x1e3977;_0x114b3e[_0x2c63d8(0x42d)][_0x2c63d8(0x314)](_0x293d7e,{'radius':_0x3d21cd[_0x2c63d8(0x356)][_0x2c63d8(0x205)],'fill':_0x3d21cd[_0x2c63d8(0x356)][_0x2c63d8(0x2ec)],'stroke':_0x3d21cd[_0x2c63d8(0x356)]['cxnPointStroke'],'strokeWidth':_0x3d21cd[_0x2c63d8(0x356)][_0x2c63d8(0x283)],'evented':!0x0});}};let _0x511a6f=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2c7996,_0x2156a9,_0x1c205d,_0x3f1fc5,_0x3ef33f,_0xafb160,_0xe18e6,_0x5197a4){const _0x1efbc1=_0x1e3977;super(),this[_0x1efbc1(0x1e3)]=_0x2c7996,this[_0x1efbc1(0x2dc)]=_0x2156a9,this[_0x1efbc1(0x3ba)]=_0x1c205d,this[_0x1efbc1(0x1a2)]=_0x3f1fc5,this[_0x1efbc1(0x18f)]=_0x3ef33f,this[_0x1efbc1(0x36d)]=_0xafb160,this[_0x1efbc1(0x264)]=_0xe18e6,this[_0x1efbc1(0x252)]=_0x5197a4,_0x163ed0(this,_0x1efbc1(0x166),void 0x0),_0x163ed0(this,_0x1efbc1(0x44e),void 0x0),_0x163ed0(this,'_subUnitId',void 0x0),_0x163ed0(this,_0x1efbc1(0x441),[]),_0x163ed0(this,'_baseDrawingRect',{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x163ed0(this,_0x1efbc1(0x190),void 0x0),_0x163ed0(this,'_isConnecting',!0x1),_0x163ed0(this,_0x1efbc1(0x43c),!0x1),_0x163ed0(this,_0x1efbc1(0x16e),!0x1),_0x163ed0(this,_0x1efbc1(0x1ec),void 0x0),_0x163ed0(this,_0x1efbc1(0x410),void 0x0),_0x163ed0(this,'_currentConnectionTarget',null),this['_initialize']();}['_initialize'](){const _0x345b62=_0x1e3977;this[_0x345b62(0x2f6)](),this[_0x345b62(0x1c4)]();}[_0x1e3977(0x1ef)](){const _0x23beaa=_0x1e3977;if(!this['_unitId']||!this['_subUnitId']||!this[_0x23beaa(0x166)])return;let _0x5affad={'unitId':this[_0x23beaa(0x44e)],'subUnitId':this[_0x23beaa(0x18a)],'drawingId':this[_0x23beaa(0x166)]},{transform:_0x9d67cd}=this[_0x23beaa(0x1a2)][_0x23beaa(0x3d4)](_0x5affad);if(_0x9d67cd)return{'left':_0x9d67cd[_0x23beaa(0x44f)]||0x0,'top':_0x9d67cd[_0x23beaa(0x278)]||0x0,'width':_0x9d67cd[_0x23beaa(0x1f0)]||0x0,'height':_0x9d67cd['height']||0x0,'flipX':_0x9d67cd['flipX']||!0x1,'flipY':_0x9d67cd[_0x23beaa(0x1ac)]||!0x1,'angle':_0x9d67cd[_0x23beaa(0x1bf)]};}['_addShapeConnectorHandlerObjects'](){const _0x17fc2a=_0x1e3977;if(this['_unitId']===void 0x0||this['_subUnitId']===void 0x0||this['_activeShapeId']===void 0x0)return;let _0x109052=this[_0x17fc2a(0x3ba)][_0x17fc2a(0x2be)](this['_unitId']);if(!_0x109052||!_0x109052[_0x17fc2a(0x1dc)](_0x3c12d8['SheetSkeletonManagerService'])[_0x17fc2a(0x26d)]())return;let {scene:_0x39f945}=_0x109052,_0xd392bf=this['_getDrawingRect']();if(!_0xd392bf)return;let _0x5693c0=this[_0x17fc2a(0x36d)][_0x17fc2a(0x134)](this[_0x17fc2a(0x44e)],this[_0x17fc2a(0x18a)],this[_0x17fc2a(0x166)]);if(!_0x5693c0||!(0x0,_0x3d21cd[_0x17fc2a(0x275)])(_0x5693c0[_0x17fc2a(0x162)]()))return;let _0x28f454=_0x5693c0[_0x17fc2a(0x2ef)]();if(_0x28f454[_0x17fc2a(0x337)]<0x2)return;let _0x3f3e34=new _0x3d21cd[(_0x17fc2a(0x437))](_0xd392bf),_0x1030df=_0x28f454[0x0],_0x411c22=_0x28f454[_0x28f454[_0x17fc2a(0x337)]-0x1],_0x17f6a2=_0x3f3e34[_0x17fc2a(0x34f)](_0x1030df),_0x38604e=_0x3f3e34[_0x17fc2a(0x34f)](_0x411c22);this[_0x17fc2a(0x20b)](_0x39f945,{..._0x17f6a2},!0x0),this[_0x17fc2a(0x20b)](_0x39f945,{..._0x38604e},!0x1);}[_0x1e3977(0x20b)](_0x16c70f,_0x279b68,_0x5a02bd){const _0x25a541=_0x1e3977;if(this[_0x25a541(0x166)]===void 0x0||this[_0x25a541(0x44e)]===void 0x0||this[_0x25a541(0x18a)]===void 0x0)return;let _0x186156=_0x25a541(0x246)+this[_0x25a541(0x44e)]+'-'+this[_0x25a541(0x18a)]+'-'+this[_0x25a541(0x166)]+'-'+(_0x5a02bd?_0x25a541(0x177):'end'),_0x2c1250=_0x16c70f[_0x25a541(0x2a4)](_0x186156);if(_0x2c1250){_0x2c1250[_0x25a541(0x1c7)]({'left':_0x279b68['x']-_0x3d21cd[_0x25a541(0x356)][_0x25a541(0x205)],'top':_0x279b68['y']-_0x3d21cd[_0x25a541(0x356)][_0x25a541(0x205)]});return;}let _0x239666=new _0x1bacbd(_0x186156,{'left':_0x279b68['x']-_0x3d21cd[_0x25a541(0x356)][_0x25a541(0x205)],'top':_0x279b68['y']-_0x3d21cd[_0x25a541(0x356)][_0x25a541(0x205)],'shapeId':this[_0x25a541(0x166)],'unitId':this['_unitId'],'subUnitId':this[_0x25a541(0x18a)],'isStartConnectorPoint':_0x5a02bd,'width':_0x3d21cd[_0x25a541(0x356)]['cxnPointRadius']*0x2,'height':_0x3d21cd['ShapeDefaultConfig']['cxnPointRadius']*0x2,'zIndex':_0x114b3e[_0x25a541(0x3e0)]+0x1,'evented':!0x0});this['_connectorObjects']['push'](_0x239666),this[_0x25a541(0x452)](_0x239666,_0x16c70f,_0x5a02bd),_0x16c70f['addObject'](_0x239666,_0x114b3e[_0x25a541(0x3e0)]+0x1);}[_0x1e3977(0x1c3)](_0x3713a0,_0x51279e){const _0x13f5fb=_0x1e3977;var _0xa3c60;let _0x552d21={'x':0x0,'y':0x0};if(!_0x3713a0||!_0x51279e)return _0x552d21;let _0x54c546=this['_renderManagerService'][_0x13f5fb(0x2be)](_0x3713a0);if(!_0x54c546||!_0x54c546[_0x13f5fb(0x1dc)](_0x3c12d8[_0x13f5fb(0x1ae)])[_0x13f5fb(0x367)](_0x51279e))return _0x552d21;let _0xd4032=_0x54c546[_0x13f5fb(0x1dc)](_0x3c12d8[_0x13f5fb(0x3ee)]),_0x416c80=_0xd4032==null?void 0x0:_0xd4032[_0x13f5fb(0x3b2)]();if(!_0x416c80)return _0x552d21;let _0xea94c1=(_0xa3c60=this[_0x13f5fb(0x18f)][_0x13f5fb(0x2f8)](_0x3713a0))==null?void 0x0:_0xa3c60['getSheetBySheetId'](_0x51279e);if(!_0xea94c1)return _0x552d21;let _0x16f6f7=(0x0,_0x3c12d8[_0x13f5fb(0x1ba)])(_0x416c80['sheetViewStartRow'],_0x416c80[_0x13f5fb(0x380)],_0x54c546[_0x13f5fb(0x14a)],_0xea94c1);return _0x16f6f7?{'x':_0x16f6f7[_0x13f5fb(0x3d1)],'y':_0x16f6f7['viewportScrollY']}:_0x552d21;}[_0x1e3977(0x427)](_0x158d1e,_0x30ca89){const _0x4e4921=_0x1e3977;var _0x117d5c,_0x424590;let _0x35250e=(_0x117d5c=this[_0x4e4921(0x18f)][_0x4e4921(0x2f8)](_0x158d1e))==null?void 0x0:_0x117d5c[_0x4e4921(0x269)](_0x30ca89);return(_0x424590=_0x35250e==null?void 0x0:_0x35250e[_0x4e4921(0x374)]())==null?0x1:_0x424590;}[_0x1e3977(0x19a)](_0x4a07ab,_0x46d342,_0x484901,_0x449d03,_0xe7760b){const _0x582b07=_0x1e3977;this[_0x582b07(0x1ec)][_0x582b07(0x369)](),this[_0x582b07(0x410)][_0x582b07(0x369)](),this[_0x582b07(0x264)][_0x582b07(0x434)]();let _0x2f0804=this[_0x582b07(0x19e)];this['_sheetBasicShapeConnectionPointController'][_0x582b07(0x26c)]();let _0x5f5662=this[_0x582b07(0x1c3)](this[_0x582b07(0x44e)],this['_subUnitId']),_0x424e0c=this['_getZoomRatio'](this[_0x582b07(0x44e)],this['_subUnitId']),_0x229731={'x':_0x484901[_0x582b07(0x3a5)]/_0x424e0c+_0x5f5662['x'],'y':_0x484901['offsetY']/_0x424e0c+_0x5f5662['y']},_0x7304b5=_0x2f0804?_0x2f0804[_0x582b07(0x3b1)]:_0x229731,_0x1ec210=_0x449d03?this[_0x582b07(0x190)]['getEndConnectInfo']():this[_0x582b07(0x190)][_0x582b07(0x200)](),_0x49cfd7=this[_0x582b07(0x190)][_0x582b07(0x162)]();_0x1ec210?this['_handleConnectedEndpointPointerUp'](_0x1ec210,_0x7304b5,_0x449d03,_0x2f0804,_0xe7760b):this['_handleFreeEndpointPointerUp'](_0x46d342,_0x7304b5,_0x449d03,_0x2f0804,_0xe7760b,_0x49cfd7),this[_0x582b07(0x360)]=!0x1,this['_hasReset']=!0x1,this[_0x582b07(0x19e)]=null,_0x4a07ab['enableObjectsEvent']();}[_0x1e3977(0x1e2)](_0x5caaac,_0x38e0e4,_0x4e8888,_0x16e790,_0x3edf88,_0x4dd7f7){const _0x2662f8=_0x1e3977;let _0x1df11f=_0x4dd7f7===_0x3d21cd[_0x2662f8(0x2bf)][_0x2662f8(0x125)]||_0x4dd7f7===_0x3d21cd[_0x2662f8(0x2bf)]['StraightConnector1'],_0x5a6379=_0x4e8888?_0x38e0e4:_0x5caaac,_0x1fd48d=_0x4e8888?_0x5caaac:_0x38e0e4,_0x5a3011=this[_0x2662f8(0x190)][_0x2662f8(0x2ef)](),_0x25a18c=(0x0,_0x3d21cd['isCurvedConnectorShape'])(this[_0x2662f8(0x190)]['getShapeType']()),_0x5a3c75=_0x3d21cd['ConnectorCoordinateTransform'][_0x2662f8(0x398)](_0x5a3011,_0x25a18c),_0x3b76bb=_0x1df11f?_0x3d21cd[_0x2662f8(0x437)][_0x2662f8(0x34a)](_0x5a6379,_0x1fd48d):_0x3d21cd[_0x2662f8(0x437)]['computeConnectorResizeLayout'](_0x5caaac,_0x38e0e4,_0x4e8888,_0x5a3c75);_0x16e790?this[_0x2662f8(0x2d2)](_0x3b76bb,_0x16e790,_0x4e8888,_0x3edf88):this[_0x2662f8(0x2b2)](_0x3b76bb,_0x3edf88);}[_0x1e3977(0x2d9)](_0x1b4351,_0x2af3b2,_0x309316,_0x34c49d,_0x50348d){const _0x414a8a=_0x1e3977;let _0x3c2971=this[_0x414a8a(0x150)](_0x1b4351);if(!_0x3c2971)return;let _0x533164=_0x34c49d?_0x34c49d[_0x414a8a(0x1bf)]:this[_0x414a8a(0x330)](_0x3c2971[_0x414a8a(0x362)],_0x2af3b2),_0x247a00;if(_0x34c49d){let _0x49f1e8=this['_drawingManagerService'][_0x414a8a(0x3d4)]({'unitId':_0x34c49d[_0x414a8a(0x387)],'subUnitId':_0x34c49d['subUnitId'],'drawingId':_0x34c49d[_0x414a8a(0x329)]});if(_0x49f1e8!=null&&_0x49f1e8['transform']){let {left:_0x55257e=0x0,top:_0xe570ff=0x0,width:_0x35611c=0x0,height:_0x2f384b=0x0,angle:_0x264fb7}=_0x49f1e8[_0x414a8a(0x31d)];_0x247a00=(0x0,_0x3d21cd[_0x414a8a(0x306)])({'left':_0x55257e,'top':_0xe570ff,'width':_0x35611c,'height':_0x2f384b},_0x264fb7||0x0);}else _0x247a00={'left':_0x2af3b2['x'],'top':_0x2af3b2['y'],'width':0x0,'height':0x0};}else _0x247a00={'left':_0x2af3b2['x'],'top':_0x2af3b2['y'],'width':0x0,'height':0x0};let _0x1451fd={'point':_0x2af3b2,'angle':_0x533164,'bounds':_0x247a00},_0x4a557f=_0x309316?_0x1451fd:_0x3c2971,_0x3126f=_0x309316?_0x3c2971:_0x1451fd,_0x4ef7c0=this[_0x414a8a(0x190)][_0x414a8a(0x162)](),_0x4c4774=(0x0,_0x3d21cd[_0x414a8a(0x3e5)])(_0x4a557f,_0x3126f,_0x4ef7c0);this[_0x414a8a(0x190)]['removeLinePoints']();let _0x49b8a9=(0x0,_0x3d21cd[_0x414a8a(0x2ae)])(_0x4c4774,_0x4ef7c0);_0x34c49d?this['_executeConnectedRouteConnectionCommand'](_0x49b8a9,_0x34c49d,_0x1b4351,_0x309316,_0x50348d):this[_0x414a8a(0x114)](_0x49b8a9,_0x1b4351,_0x309316,_0x50348d);}[_0x1e3977(0x2d2)](_0x180341,_0x44acb0,_0x1bdd21,_0x4dd3d6){const _0x3334c5=_0x1e3977;let _0x1e0df0=this[_0x3334c5(0x190)][_0x3334c5(0x1e0)]()[_0x3334c5(0x247)],_0xd175d4={..._0x1e0df0},_0x3a8177={'shapeId':_0x44acb0['shapeId'],'cxnIndex':_0x44acb0['cxnIndex']};_0x1bdd21?_0xd175d4['from']=_0x3a8177:_0xd175d4['to']=_0x3a8177;let _0x136898=this[_0x3334c5(0x190)]['getShapeType'](),_0x477adc=(0x0,_0x3d21cd[_0x3334c5(0x2ae)])(_0x180341[_0x3334c5(0x324)],_0x136898),_0x34140d={'unitId':this['_unitId'],'subUnitId':this[_0x3334c5(0x18a)],'connectorShapeId':this[_0x3334c5(0x166)],'width':_0x180341[_0x3334c5(0x147)][_0x3334c5(0x1f0)],'height':_0x180341[_0x3334c5(0x147)][_0x3334c5(0x196)],'left':_0x180341[_0x3334c5(0x147)][_0x3334c5(0x44f)],'top':_0x180341[_0x3334c5(0x147)][_0x3334c5(0x278)],'flipX':_0x180341['worldRect']['flipX']||!0x1,'flipY':_0x180341['worldRect'][_0x3334c5(0x1ac)]||!0x1,'newAdjustValues':_0x477adc['adjustValues'],'oldAdjustValues':_0x4dd3d6,'oldRelation':_0x1e0df0,'newRelation':_0xd175d4,'newLineType':_0x477adc[_0x3334c5(0x181)],'oldLineType':_0x136898};this[_0x3334c5(0x2dc)][_0x3334c5(0x216)](_0x1b87be[_0x3334c5(0x164)]['id'],_0x34140d);}[_0x1e3977(0x2b2)](_0x2b99af,_0x13a04d){const _0x35921a=_0x1e3977;let _0x95af50=this[_0x35921a(0x190)][_0x35921a(0x162)](),_0x1f9923=(0x0,_0x3d21cd[_0x35921a(0x2ae)])(_0x2b99af[_0x35921a(0x324)],_0x95af50),_0x1d44e1={'unitId':this[_0x35921a(0x44e)],'subUnitId':this[_0x35921a(0x18a)],'shapeId':this[_0x35921a(0x166)],'width':_0x2b99af[_0x35921a(0x147)][_0x35921a(0x1f0)],'height':_0x2b99af[_0x35921a(0x147)][_0x35921a(0x196)],'left':_0x2b99af[_0x35921a(0x147)]['left'],'top':_0x2b99af[_0x35921a(0x147)]['top'],'flipX':_0x2b99af[_0x35921a(0x147)][_0x35921a(0x23d)]||!0x1,'flipY':_0x2b99af[_0x35921a(0x147)][_0x35921a(0x1ac)]||!0x1,'angle':_0x2b99af[_0x35921a(0x147)][_0x35921a(0x1bf)]||0x0,'newAdjustValues':_0x1f9923[_0x35921a(0x37d)],'oldAdjustValues':_0x13a04d,'newLineType':_0x1f9923[_0x35921a(0x181)],'oldLineType':_0x95af50};this[_0x35921a(0x2dc)]['executeCommand'](_0x1b87be[_0x35921a(0x20e)]['id'],_0x1d44e1);}['_executeConnectedRouteConnectionCommand'](_0x5dfcfc,_0x10c228,_0x15c99c,_0x4df22a,_0x4e965f){const _0xa853ce=_0x1e3977;let _0x5edd99=this[_0xa853ce(0x190)][_0xa853ce(0x1e0)]()[_0xa853ce(0x247)],_0x4760f9={..._0x5edd99},_0x2dd541={'shapeId':_0x10c228[_0xa853ce(0x329)],'cxnIndex':_0x10c228['cxnIndex']};_0x4df22a?(_0x4760f9[_0xa853ce(0x110)]=_0x2dd541,_0x4760f9['to']=_0x15c99c):(_0x4760f9['from']=_0x15c99c,_0x4760f9['to']=_0x2dd541);let _0x28c113={'unitId':this[_0xa853ce(0x44e)],'subUnitId':this[_0xa853ce(0x18a)],'connectorShapeId':this[_0xa853ce(0x166)],'width':_0x5dfcfc[_0xa853ce(0x147)][_0xa853ce(0x1f0)],'height':_0x5dfcfc[_0xa853ce(0x147)][_0xa853ce(0x196)],'left':_0x5dfcfc[_0xa853ce(0x147)]['left'],'top':_0x5dfcfc['worldRect'][_0xa853ce(0x278)],'flipX':_0x5dfcfc[_0xa853ce(0x147)][_0xa853ce(0x23d)]||!0x1,'flipY':_0x5dfcfc[_0xa853ce(0x147)][_0xa853ce(0x1ac)]||!0x1,'oldAdjustValues':_0x4e965f,'newAdjustValues':_0x5dfcfc[_0xa853ce(0x37d)],'newLineType':_0x5dfcfc[_0xa853ce(0x181)],'rotation':_0x5dfcfc[_0xa853ce(0x14f)],'oldRelation':_0x5edd99,'newRelation':_0x4760f9};this[_0xa853ce(0x2dc)]['executeCommand'](_0x1b87be[_0xa853ce(0x164)]['id'],_0x28c113);}[_0x1e3977(0x114)](_0x36b4f5,_0x2d8090,_0x56e3ab,_0x3f064d){const _0x4dd0ab=_0x1e3977;let _0x35d205=this['_activeShapeModel'][_0x4dd0ab(0x1e0)]()[_0x4dd0ab(0x247)],_0xd06732={};_0x56e3ab?(_0xd06732['to']=_0x2d8090,_0xd06732[_0x4dd0ab(0x110)]=void 0x0):(_0xd06732['from']=_0x2d8090,_0xd06732['to']=void 0x0);let _0x445c08={'unitId':this[_0x4dd0ab(0x44e)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x4dd0ab(0x166)],'width':_0x36b4f5[_0x4dd0ab(0x147)][_0x4dd0ab(0x1f0)],'height':_0x36b4f5[_0x4dd0ab(0x147)][_0x4dd0ab(0x196)],'left':_0x36b4f5[_0x4dd0ab(0x147)][_0x4dd0ab(0x44f)],'top':_0x36b4f5[_0x4dd0ab(0x147)][_0x4dd0ab(0x278)],'flipX':_0x36b4f5[_0x4dd0ab(0x147)]['flipX']||!0x1,'flipY':_0x36b4f5[_0x4dd0ab(0x147)][_0x4dd0ab(0x1ac)]||!0x1,'oldAdjustValues':_0x3f064d,'newAdjustValues':_0x36b4f5[_0x4dd0ab(0x37d)],'newLineType':_0x36b4f5[_0x4dd0ab(0x181)],'rotation':_0x36b4f5['rotation'],'oldRelation':_0x35d205,'newRelation':_0xd06732};this[_0x4dd0ab(0x2dc)][_0x4dd0ab(0x216)](_0x1b87be[_0x4dd0ab(0x164)]['id'],_0x445c08);}['_attachConnectorObjectEvent'](_0x2eaef3,_0x242b50,_0x55c71a){const _0x289e94=_0x1e3977;this[_0x289e94(0x256)]((0x0,_0x2eccf5[_0x289e94(0x351)])(_0x2eaef3[_0x289e94(0x19c)][_0x289e94(0x447)]((_0x54d3a8,_0x54c420)=>{const _0x391ee0=_0x289e94;let _0x182a2d=_0x2eaef3[_0x391ee0(0x26e)]();if(this[_0x391ee0(0x190)]=this[_0x391ee0(0x36d)][_0x391ee0(0x134)](_0x182a2d[_0x391ee0(0x387)],_0x182a2d[_0x391ee0(0x204)],_0x182a2d[_0x391ee0(0x22a)]),!this[_0x391ee0(0x190)])return;let _0x32eaaa={};this[_0x391ee0(0x190)][_0x391ee0(0x27f)]()[_0x391ee0(0x30e)](_0x289c2d=>{const _0x5360a4=_0x391ee0;let _0x261e92=this[_0x5360a4(0x190)]['getAdjustValueByName'](_0x289c2d);_0x261e92!==void 0x0&&(_0x32eaaa[_0x289c2d]=_0x261e92);});let _0x3f25e4=this[_0x391ee0(0x1ef)]();if(!_0x3f25e4)return;this['_baseDrawingRect']={..._0x3f25e4};let _0x12e147=new _0x3d21cd[(_0x391ee0(0x437))](this[_0x391ee0(0x44d)]),_0x22bf9d=(0x0,_0x215a9['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x391ee0(0x44e)],'subUnitId':this[_0x391ee0(0x18a)],'drawingId':this[_0x391ee0(0x166)]}),_0x3be8b3=_0x242b50[_0x391ee0(0x2a4)](_0x22bf9d);this[_0x391ee0(0x360)]=!0x0,_0x242b50[_0x391ee0(0x415)](),this[_0x391ee0(0x252)][_0x391ee0(0x25b)](_0x242b50,this[_0x391ee0(0x44e)],this[_0x391ee0(0x18a)],this[_0x391ee0(0x166)]),this[_0x391ee0(0x19e)]=null;let _0x2997ab=this[_0x391ee0(0x190)]['getConnectorLinePoints'](),_0x4273b7=_0x2997ab[0x0],_0x38390c=_0x2997ab[_0x2997ab[_0x391ee0(0x337)]-0x1],_0x48c36c=_0x55c71a?_0x12e147['localToWorld'](_0x38390c):_0x12e147[_0x391ee0(0x34f)](_0x4273b7);this[_0x391ee0(0x1ec)]=_0x242b50[_0x391ee0(0x307)][_0x391ee0(0x447)]((_0x422003,_0xa711f7)=>{const _0x334797=_0x391ee0;if(!this[_0x334797(0x360)]||!this[_0x334797(0x190)])return;this[_0x334797(0x16e)]||(this[_0x334797(0x264)][_0x334797(0x414)](),this[_0x334797(0x190)][_0x334797(0x3bb)](),this[_0x334797(0x16e)]=!0x0);let _0x1c4390=this[_0x334797(0x1c3)](this[_0x334797(0x44e)],this[_0x334797(0x18a)]),_0x41cbdc=this[_0x334797(0x427)](this['_unitId'],this[_0x334797(0x18a)]),_0x40b910={'x':_0x422003[_0x334797(0x3a5)]/_0x41cbdc+_0x1c4390['x'],'y':_0x422003[_0x334797(0x2e9)]/_0x41cbdc+_0x1c4390['y']},_0x48a420=this[_0x334797(0x252)][_0x334797(0x111)](_0x40b910);if(_0x48a420){let {shapeId:_0x4bbe40,unitId:_0x3682e9,subUnitId:_0x18a03a}=_0x48a420;if(_0x4bbe40&&_0x3682e9&&_0x18a03a){let _0x4680de=(0x0,_0x215a9[_0x334797(0x2ee)])({'unitId':_0x3682e9,'subUnitId':_0x18a03a,'drawingId':_0x4bbe40});_0x48a420[_0x334797(0x1bf)]=(_0x242b50[_0x334797(0x2a4)](_0x4680de)['angle']||0x0)+_0x48a420['angle'];}}this['_currentConnectionTarget']=_0x48a420;let _0x3de31c=_0x55c71a?this[_0x334797(0x190)][_0x334797(0x392)]():this[_0x334797(0x190)][_0x334797(0x200)]();if(_0x3de31c){this[_0x334797(0x206)](_0x3de31c,_0x40b910,_0x55c71a,_0x3be8b3,_0x2eaef3);return;}this[_0x334797(0x334)](_0x40b910,_0x48c36c,_0x55c71a,_0x3be8b3,_0x2eaef3);}),this[_0x391ee0(0x410)]=_0x242b50[_0x391ee0(0x292)][_0x391ee0(0x447)]((_0x4fa3be,_0xad0d99)=>{this['_handleConnectorPointerUp'](_0x242b50,_0x48c36c,_0x4fa3be,_0x55c71a,_0x32eaaa);}),_0x54c420['stopPropagation']();})));}[_0x1e3977(0x3ca)](_0x32e32b,_0x2401f5,_0x267528){const _0x565b1a=_0x1e3977;let _0x441146=this['_sheetsShapeService'][_0x565b1a(0x10f)](_0x32e32b,_0x2401f5,_0x267528);if(!_0x441146||_0x441146[_0x565b1a(0x337)]===0x0)return;let _0x1cea82=this[_0x565b1a(0x3ba)][_0x565b1a(0x2be)](_0x32e32b);if(!_0x1cea82)return;let {scene:_0x3e373f}=_0x1cea82;for(let _0x4bc905 of _0x441146){let _0x297db4=_0x4bc905[_0x565b1a(0x122)],_0x100730=this[_0x565b1a(0x36d)][_0x565b1a(0x134)](_0x32e32b,_0x2401f5,_0x297db4);if(!_0x100730)continue;let _0x37fc4b=_0x100730[_0x565b1a(0x200)](),_0x325887=_0x100730[_0x565b1a(0x392)](),_0x11174b=(_0x37fc4b==null?void 0x0:_0x37fc4b[_0x565b1a(0x329)])===_0x267528,_0x342698=(0x0,_0x215a9[_0x565b1a(0x2ee)])({'unitId':_0x32e32b,'subUnitId':_0x2401f5,'drawingId':_0x297db4}),_0x527f1b=_0x3e373f[_0x565b1a(0x2a4)](_0x342698);if(!_0x527f1b)continue;let _0x35c18d=this[_0x565b1a(0x1a2)][_0x565b1a(0x3d4)]({'unitId':_0x32e32b,'subUnitId':_0x2401f5,'drawingId':_0x297db4});_0x35c18d!=null&&_0x35c18d[_0x565b1a(0x31d)]&&(_0x37fc4b&&_0x325887?this[_0x565b1a(0x2ed)](_0x32e32b,_0x2401f5,_0x297db4,_0x100730,_0x37fc4b,_0x325887,_0x527f1b):this[_0x565b1a(0x23b)](_0x32e32b,_0x2401f5,_0x297db4,_0x100730,_0x11174b?_0x37fc4b:_0x325887,_0x11174b,_0x35c18d,_0x527f1b));}}[_0x1e3977(0x2ed)](_0x12e0e0,_0x58cf63,_0xfd81af,_0x3aa4d9,_0x365e62,_0x5a847e,_0x2fccef){const _0x765f64=_0x1e3977;let _0x7ccb=this[_0x765f64(0x44e)],_0x1935b6=this[_0x765f64(0x18a)];this['_unitId']=_0x12e0e0,this['_subUnitId']=_0x58cf63;let _0x7ffa76=this[_0x765f64(0x150)](_0x365e62),_0x22f679=this[_0x765f64(0x150)](_0x5a847e);if(this[_0x765f64(0x44e)]=_0x7ccb,this[_0x765f64(0x18a)]=_0x1935b6,!_0x7ffa76||!_0x22f679)return;let _0x9b928e=_0x3aa4d9[_0x765f64(0x162)](),_0x4f75d1=(0x0,_0x3d21cd[_0x765f64(0x3e5)])(_0x7ffa76,_0x22f679,_0x9b928e);_0x4f75d1&&_0x3aa4d9[_0x765f64(0x2eb)](_0x4f75d1);let _0x3b9a2a=(0x0,_0x3d21cd[_0x765f64(0x2ae)])(_0x4f75d1,_0x9b928e);_0x3b9a2a[_0x765f64(0x181)]!==_0x9b928e&&_0x3aa4d9[_0x765f64(0x259)](_0x3b9a2a[_0x765f64(0x181)]),_0x3aa4d9[_0x765f64(0x3bb)]();for(let [_0x383d17,_0x2397bf]of Object['entries'](_0x3b9a2a['adjustValues']))_0x3aa4d9[_0x765f64(0x2db)](_0x383d17,_0x2397bf);_0x3aa4d9['updateContext']({'width':_0x3b9a2a['worldRect'][_0x765f64(0x1f0)],'height':_0x3b9a2a['worldRect'][_0x765f64(0x196)]}),_0x2fccef[_0x765f64(0x1c7)]({'flipX':_0x3b9a2a[_0x765f64(0x147)][_0x765f64(0x23d)],'flipY':_0x3b9a2a['worldRect'][_0x765f64(0x1ac)],'left':_0x3b9a2a[_0x765f64(0x147)][_0x765f64(0x44f)],'top':_0x3b9a2a[_0x765f64(0x147)][_0x765f64(0x278)],'width':_0x3b9a2a[_0x765f64(0x147)][_0x765f64(0x1f0)],'height':_0x3b9a2a[_0x765f64(0x147)][_0x765f64(0x196)],'angle':_0x3b9a2a[_0x765f64(0x14f)]}),_0x3aa4d9[_0x765f64(0x30b)]();}[_0x1e3977(0x23b)](_0x3ad051,_0x22c9a1,_0x1ca777,_0x52be86,_0x4ed50d,_0x5e9e0e,_0x1360eb,_0x15f66d){const _0xd4c487=_0x1e3977;let _0x28effc=this[_0xd4c487(0x44e)],_0x3524c6=this['_subUnitId'];this[_0xd4c487(0x44e)]=_0x3ad051,this[_0xd4c487(0x18a)]=_0x22c9a1;let _0x231074=this[_0xd4c487(0x150)](_0x4ed50d);if(this[_0xd4c487(0x44e)]=_0x28effc,this[_0xd4c487(0x18a)]=_0x3524c6,!_0x231074)return;let {left:_0x32d9f3=0x0,top:_0x378ac9=0x0,width:_0x30a121=0x0,height:_0x5c5b4e=0x0,flipX:_0x4febb3=!0x1,flipY:_0x857269=!0x1}=_0x1360eb['transform'],_0x2f2ab1=_0x52be86[_0xd4c487(0x2ef)]();if(_0x2f2ab1['length']<0x2)return;let _0x586b1e=new _0x3d21cd[(_0xd4c487(0x437))]({'left':_0x32d9f3,'top':_0x378ac9,'width':_0x30a121,'height':_0x5c5b4e,'flipX':_0x4febb3,'flipY':_0x857269}),_0x3ccbb7=_0x5e9e0e?_0x2f2ab1[_0x2f2ab1[_0xd4c487(0x337)]-0x1]:_0x2f2ab1[0x0],_0x4821d4=_0x586b1e[_0xd4c487(0x34f)](_0x3ccbb7),_0x175da4=_0x3d21cd[_0xd4c487(0x437)]['computeConnectorResizeLayout'](_0x4821d4,_0x231074[_0xd4c487(0x362)],!_0x5e9e0e);_0x15f66d[_0xd4c487(0x1c7)]({'flipX':_0x175da4[_0xd4c487(0x147)][_0xd4c487(0x23d)],'flipY':_0x175da4['worldRect']['flipY'],'left':_0x175da4[_0xd4c487(0x147)][_0xd4c487(0x44f)],'top':_0x175da4[_0xd4c487(0x147)][_0xd4c487(0x278)],'width':_0x175da4['worldRect'][_0xd4c487(0x1f0)],'height':_0x175da4['worldRect'][_0xd4c487(0x196)],'angle':_0x175da4['worldRect'][_0xd4c487(0x1bf)]}),_0x15f66d['makeDirty'](!0x0);}[_0x1e3977(0x300)](){const _0x58f5ad=_0x1e3977;this['_connectorObjects'][_0x58f5ad(0x337)]!==0x0&&(this[_0x58f5ad(0x441)][_0x58f5ad(0x30e)](_0x4cd543=>{const _0x18eaf1=_0x58f5ad;_0x4cd543[_0x18eaf1(0x175)]();}),this[_0x58f5ad(0x441)]=[]);}[_0x1e3977(0x1c4)](){const _0x3d9023=_0x1e3977;let _0x5547e2=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x2eccf5['UniverInstanceType'][_0x3d9023(0x293)]);this['disposeWithMe'](_0x5547e2[_0x3d9023(0x239)]((0x0,_0x124e3f[_0x3d9023(0x37e)])(_0x3ffc05=>_0x3ffc05?_0x3ffc05[_0x3d9023(0x445)][_0x3d9023(0x239)]((0x0,_0x124e3f[_0x3d9023(0x37e)])(_0x26f50a=>{const _0x4d144b=_0x3d9023;if(!_0x26f50a)return _0x124e3f[_0x4d144b(0x341)];let _0x4acefa=_0x3ffc05[_0x4d144b(0x322)](),_0x5c6b40=this[_0x4d144b(0x3ba)][_0x4d144b(0x2be)](_0x4acefa),_0x2a3c7b=_0x5c6b40==null?void 0x0:_0x5c6b40[_0x4d144b(0x14a)];return _0x2a3c7b?(0x0,_0x124e3f['of'])(_0x2a3c7b):_0x124e3f[_0x4d144b(0x341)];})):_0x124e3f['EMPTY']))[_0x3d9023(0x17b)](_0x37e6c2=>{const _0x7550f6=_0x3d9023;let _0x115e79=_0x37e6c2[_0x7550f6(0x381)]();this['disposeWithMe'](_0x37e6c2[_0x7550f6(0x307)][_0x7550f6(0x447)](_0x26a1e5=>{const _0x4fde35=_0x7550f6;this[_0x4fde35(0x43c)]&&this['_activeShapeId']&&this[_0x4fde35(0x300)]();})),this[_0x7550f6(0x256)](_0x115e79['changeStart$'][_0x7550f6(0x17b)](_0x36af2c=>{const _0x1c44d4=_0x7550f6;let {objects:_0x3dc268}=_0x36af2c;this[_0x1c44d4(0x300)](),_0x3dc268!==null&&_0x3dc268[_0x1c44d4(0x419)]===0x1&&_0x3dc268[_0x1c44d4(0x158)]()[_0x1c44d4(0x1fe)]()[_0x1c44d4(0x123)]instanceof _0x34cbbf&&(this[_0x1c44d4(0x43c)]=!0x0);})),this[_0x7550f6(0x256)](_0x115e79[_0x7550f6(0x3be)]['subscribe'](_0x27d190=>{const _0x4e7cab=_0x7550f6;this[_0x4e7cab(0x43c)]&&this[_0x4e7cab(0x300)]();})),this[_0x7550f6(0x256)](_0x37e6c2[_0x7550f6(0x292)][_0x7550f6(0x447)](()=>{const _0x4d5b03=_0x7550f6;this['_isDrawingShapePointDown']&&(this[_0x4d5b03(0x43c)]=!0x1,this[_0x4d5b03(0x2fa)]());})),this[_0x7550f6(0x256)](_0x115e79['changeEnd$'][_0x7550f6(0x17b)](()=>{const _0x24c07e=_0x7550f6;this[_0x24c07e(0x44e)]&&this[_0x24c07e(0x18a)]&&this[_0x24c07e(0x166)]&&this[_0x24c07e(0x1a2)]['getDrawingByParam']({'unitId':this[_0x24c07e(0x44e)],'subUnitId':this[_0x24c07e(0x18a)],'drawingId':this['_activeShapeId']})&&(this[_0x24c07e(0x300)](),this['_addShapeConnectorHandlerObjects']());}));}));}[_0x1e3977(0x2f6)](){const _0x485fe0=_0x1e3977;this[_0x485fe0(0x256)](this[_0x485fe0(0x1a2)]['focus$'][_0x485fe0(0x17b)](_0x47a928=>{const _0x32ce7f=_0x485fe0;if(_0x47a928['length']===0x1){let _0xe6c74e=_0x47a928[0x0];if(_0xe6c74e['drawingType']===_0x2eccf5[_0x32ce7f(0x43b)]['DRAWING_SHAPE']){let _0x4b825f=this[_0x32ce7f(0x36d)]['getShapeModel'](_0xe6c74e[_0x32ce7f(0x387)],_0xe6c74e[_0x32ce7f(0x204)],_0xe6c74e[_0x32ce7f(0x22a)]);if(_0x4b825f&&(0x0,_0x3d21cd[_0x32ce7f(0x275)])(_0x4b825f['getShapeType']())){this[_0x32ce7f(0x166)]=_0xe6c74e[_0x32ce7f(0x22a)],this[_0x32ce7f(0x44e)]=_0xe6c74e[_0x32ce7f(0x387)],this['_subUnitId']=_0xe6c74e[_0x32ce7f(0x204)],this[_0x32ce7f(0x300)](),this[_0x32ce7f(0x2fa)]();return;}}}this[_0x32ce7f(0x166)]=void 0x0,this['_unitId']=void 0x0,this['_subUnitId']=void 0x0,this[_0x32ce7f(0x300)]();})),this[_0x485fe0(0x256)](this[_0x485fe0(0x1a2)][_0x485fe0(0x35f)][_0x485fe0(0x17b)](_0x1105bf=>{const _0x39e188=_0x485fe0;if(_0x1105bf['length']===0x1){var _0x1d5dd9;let _0x3cbf74=_0x1105bf[0x0],_0x2e685e=(_0x1d5dd9=this[_0x39e188(0x1a2)][_0x39e188(0x3d4)](_0x3cbf74))==null?void 0x0:_0x1d5dd9[_0x39e188(0x34b)];_0x2e685e===_0x2eccf5[_0x39e188(0x43b)][_0x39e188(0x285)]&&_0x3cbf74['drawingId']===this[_0x39e188(0x166)]?(this[_0x39e188(0x300)](),this[_0x39e188(0x2fa)]()):!this[_0x39e188(0x166)]&&_0x2e685e===_0x2eccf5[_0x39e188(0x43b)][_0x39e188(0x285)]&&this[_0x39e188(0x3ca)](_0x3cbf74[_0x39e188(0x387)],_0x3cbf74['subUnitId'],_0x3cbf74['drawingId']);}})),this['disposeWithMe'](this[_0x485fe0(0x1a2)]['remove$'][_0x485fe0(0x17b)](_0x3cd353=>{const _0x170807=_0x485fe0;for(let _0x52081 of _0x3cd353){let {drawingId:_0x5773a2}=_0x52081;if(this[_0x170807(0x166)]===_0x5773a2){this[_0x170807(0x20a)]();return;}}}));}[_0x1e3977(0x206)](_0x3cd745,_0x2d6165,_0x199899,_0x32419a,_0x28c86a){const _0x218af3=_0x1e3977;var _0x3be649,_0x5c0a7e;if(!this[_0x218af3(0x190)])return;let _0x4fcf00=this[_0x218af3(0x150)](_0x3cd745);if(!_0x4fcf00)return;let _0x2d5156=this[_0x218af3(0x19e)]?this[_0x218af3(0x19e)][_0x218af3(0x3b1)]:_0x2d6165,_0x474300=this[_0x218af3(0x19e)]?this[_0x218af3(0x19e)][_0x218af3(0x1bf)]:this[_0x218af3(0x330)](_0x4fcf00['point'],_0x2d5156),_0x2ad999;if(this[_0x218af3(0x19e)]){let _0x42b75c=this['_drawingManagerService'][_0x218af3(0x3d4)]({'unitId':this[_0x218af3(0x19e)]['unitId'],'subUnitId':this[_0x218af3(0x19e)][_0x218af3(0x204)],'drawingId':this[_0x218af3(0x19e)][_0x218af3(0x329)]});if(_0x42b75c!=null&&_0x42b75c['transform']){let {left:_0x22fc49=0x0,top:_0x44be56=0x0,width:_0x4085d4=0x0,height:_0x2df5f4=0x0,angle:_0x394c10}=_0x42b75c['transform'];_0x2ad999=(0x0,_0x3d21cd[_0x218af3(0x306)])({'left':_0x22fc49,'top':_0x44be56,'width':_0x4085d4,'height':_0x2df5f4},_0x394c10||0x0);}else _0x2ad999={'left':_0x2d5156['x'],'top':_0x2d5156['y'],'width':0x0,'height':0x0};}else _0x2ad999={'left':_0x2d5156['x'],'top':_0x2d5156['y'],'width':0x0,'height':0x0};let _0x425944={'point':_0x2d5156,'angle':_0x474300,'bounds':_0x2ad999},_0x41a2bd=_0x199899?_0x425944:_0x4fcf00,_0x339a7d=_0x199899?_0x4fcf00:_0x425944,_0x1b020e=this[_0x218af3(0x190)][_0x218af3(0x162)](),_0x6a3de2=(0x0,_0x3d21cd[_0x218af3(0x3e5)])(_0x41a2bd,_0x339a7d,_0x1b020e);_0x6a3de2&&this['_activeShapeModel'][_0x218af3(0x2eb)](_0x6a3de2);let _0x4c3b68=(0x0,_0x3d21cd['computeConnectorRouteLayout'])(_0x6a3de2,_0x1b020e);_0x4c3b68[_0x218af3(0x181)]!==_0x1b020e&&this[_0x218af3(0x190)][_0x218af3(0x259)](_0x4c3b68[_0x218af3(0x181)]);for(let [_0x24c751,_0x37e4d6]of Object[_0x218af3(0x3d5)](_0x4c3b68[_0x218af3(0x37d)]))this['_activeShapeModel'][_0x218af3(0x2db)](_0x24c751,_0x37e4d6);this[_0x218af3(0x190)]['updateContext']({'width':_0x4c3b68[_0x218af3(0x147)][_0x218af3(0x1f0)],'height':_0x4c3b68['worldRect']['height']}),_0x32419a[_0x218af3(0x1c7)]({'flipX':_0x4c3b68['worldRect'][_0x218af3(0x23d)],'flipY':_0x4c3b68[_0x218af3(0x147)][_0x218af3(0x1ac)],'left':_0x4c3b68[_0x218af3(0x147)][_0x218af3(0x44f)],'top':_0x4c3b68[_0x218af3(0x147)][_0x218af3(0x278)],'width':_0x4c3b68[_0x218af3(0x147)][_0x218af3(0x1f0)],'height':_0x4c3b68[_0x218af3(0x147)]['height'],'angle':_0x4c3b68[_0x218af3(0x14f)]}),_0x32419a['makeDirty'](!0x0);let _0x4ec62c=(_0x3be649=(_0x5c0a7e=this[_0x218af3(0x19e)])==null?void 0x0:_0x5c0a7e[_0x218af3(0x3b1)])==null?_0x2d6165:_0x3be649;_0x28c86a['transformByState']({'left':_0x4ec62c['x']-_0x3d21cd[_0x218af3(0x356)]['cxnPointRadius'],'top':_0x4ec62c['y']-_0x3d21cd['ShapeDefaultConfig']['cxnPointRadius']});}[_0x1e3977(0x334)](_0x1ad03e,_0x18e237,_0x8f5a85,_0x107486,_0x17b8e3){const _0x4c277b=_0x1e3977;var _0x37364e,_0x5ea96a,_0x4c023b,_0x12b853;let _0x47fb69=(_0x37364e=(_0x5ea96a=this[_0x4c277b(0x19e)])==null?void 0x0:_0x5ea96a[_0x4c277b(0x3b1)])==null?_0x1ad03e:_0x37364e,_0x5169bb=_0x3d21cd['ConnectorCoordinateTransform']['computeConnectorResizeLayout'](_0x18e237,_0x47fb69,_0x8f5a85);_0x107486[_0x4c277b(0x1c7)]({'flipX':_0x5169bb[_0x4c277b(0x147)][_0x4c277b(0x23d)],'flipY':_0x5169bb[_0x4c277b(0x147)]['flipY'],'left':_0x5169bb['worldRect']['left'],'top':_0x5169bb[_0x4c277b(0x147)]['top'],'width':_0x5169bb[_0x4c277b(0x147)][_0x4c277b(0x1f0)],'height':_0x5169bb[_0x4c277b(0x147)]['height'],'angle':_0x5169bb[_0x4c277b(0x147)][_0x4c277b(0x1bf)]});let _0x14cee4=(_0x4c023b=(_0x12b853=this[_0x4c277b(0x19e)])==null?void 0x0:_0x12b853['worldPoint'])==null?_0x1ad03e:_0x4c023b;_0x17b8e3['transformByState']({'left':_0x14cee4['x']-_0x3d21cd[_0x4c277b(0x356)][_0x4c277b(0x205)],'top':_0x14cee4['y']-_0x3d21cd[_0x4c277b(0x356)][_0x4c277b(0x205)]});}[_0x1e3977(0x150)](_0x121b84){const _0x362d8d=_0x1e3977;if(!this[_0x362d8d(0x44e)]||!this[_0x362d8d(0x18a)])return null;let {shapeId:_0x3ef477,cxnIndex:_0x5530d3}=_0x121b84,_0x3c45c7=this[_0x362d8d(0x36d)][_0x362d8d(0x134)](this['_unitId'],this[_0x362d8d(0x18a)],_0x3ef477);if(!_0x3c45c7)return null;let _0x51e629=this['_drawingManagerService'][_0x362d8d(0x3d4)]({'unitId':this[_0x362d8d(0x44e)],'subUnitId':this[_0x362d8d(0x18a)],'drawingId':_0x3ef477});if(!(_0x51e629!=null&&_0x51e629['transform']))return null;let {left:_0x1cf372=0x0,top:_0x5c916f=0x0,width:_0x16a2fa=0x0,height:_0x44a130=0x0,flipX:_0x255f3c=!0x1,flipY:_0x4becf9=!0x1,angle:_0xf6ae71}=_0x51e629['transform'];_0x3c45c7[_0x362d8d(0x1b9)]({'width':_0x16a2fa,'height':_0x44a130});let _0x33bccb=_0x3c45c7[_0x362d8d(0x32d)]()[_0x362d8d(0x24b)](_0x2da086=>_0x2da086['index']===_0x5530d3);if(!_0x33bccb)return null;let _0x36aeb1=_0x255f3c?_0x16a2fa-_0x33bccb['x']:_0x33bccb['x'],_0x3de879=_0x4becf9?_0x44a130-_0x33bccb['y']:_0x33bccb['y'];if(_0xf6ae71!==0x0&&_0xf6ae71!=null){let _0x5ec9e1=_0xf6ae71*Math['PI']/0xb4,_0x4bc547=Math['cos'](_0x5ec9e1),_0x3b7e89=Math['sin'](_0x5ec9e1),_0x14f9d9=_0x16a2fa/0x2,_0x3e9855=_0x44a130/0x2,_0x25362b=_0x36aeb1-_0x14f9d9,_0x25271f=_0x3de879-_0x3e9855;_0x36aeb1=_0x14f9d9+_0x25362b*_0x4bc547-_0x25271f*_0x3b7e89,_0x3de879=_0x3e9855+_0x25362b*_0x3b7e89+_0x25271f*_0x4bc547;}_0x36aeb1+=_0x1cf372,_0x3de879+=_0x5c916f;let _0x245a1c=_0x33bccb['ang']/0xea60;_0x255f3c&&(_0x245a1c=0xb4-_0x245a1c),_0x4becf9&&(_0x245a1c=-_0x245a1c),_0x245a1c+=_0xf6ae71||0x0,_0x245a1c=(_0x245a1c%0x168+0x168)%0x168;let _0x191e08=(0x0,_0x3d21cd[_0x362d8d(0x306)])({'left':_0x1cf372,'top':_0x5c916f,'width':_0x16a2fa,'height':_0x44a130},_0xf6ae71||0x0);return{'point':{'x':_0x36aeb1,'y':_0x3de879},'angle':_0x245a1c,'bounds':_0x191e08};}[_0x1e3977(0x330)](_0x1d2174,_0x46b539){let _0x1518ac=_0x46b539['x']-_0x1d2174['x'],_0x535beb=_0x46b539['y']-_0x1d2174['y'];return Math['abs'](_0x1518ac)>=Math['abs'](_0x535beb)?_0x1518ac>=0x0?0xb4:0x0:_0x535beb>=0x0?0x10e:0x5a;}['_reset'](){const _0x58dbce=_0x1e3977;this[_0x58dbce(0x166)]=void 0x0,this[_0x58dbce(0x44e)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x58dbce(0x300)]();}[_0x1e3977(0x175)](){this['_clearShapeConnectorHandlerObjects'](),super['dispose']();}};_0x511a6f=_0xba323d([_0x5a8c13(0x1,_0x2eccf5[_0x1e3977(0x1b2)]),_0x5a8c13(0x2,_0x114b3e[_0x1e3977(0x42b)]),_0x5a8c13(0x3,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x4,_0x2eccf5[_0x1e3977(0x178)]),_0x5a8c13(0x5,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)])),_0x5a8c13(0x6,(0x0,_0x2eccf5['Inject'])(_0x34fe5c)),_0x5a8c13(0x7,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x4bf73b))],_0x511a6f);let _0x186612=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x49b2de,_0x3709cf,_0x32d15f){const _0x5acee5=_0x1e3977;super(),this[_0x5acee5(0x428)]=_0x49b2de,this['_drawingManagerService']=_0x3709cf,this[_0x5acee5(0x157)]=_0x32d15f,this[_0x5acee5(0x38b)]();}['_initPrinting'](){const _0x54e093=_0x1e3977;this[_0x54e093(0x256)](this[_0x54e093(0x428)][_0x54e093(0x1d1)][_0x54e093(0x320)](this[_0x54e093(0x428)][_0x54e093(0x1d1)][_0x54e093(0x16d)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x2f782b,_0x5b75fe,_0x195539)=>{const _0x4c720e=_0x54e093;var _0x55425e;let {unitId:_0x93cbf8,subUnitId:_0x35769d,scene:_0x39bc35,resourceCollector:_0x5e35fc}=_0x5b75fe,_0x1764f2=(_0x55425e=this[_0x4c720e(0x1a2)]['getDrawingDataForUnit'](_0x93cbf8))==null?void 0x0:_0x55425e[_0x35769d];return _0x1764f2==null||_0x1764f2[_0x4c720e(0x258)]['forEach'](_0x5d4466=>{const _0x4dcaee=_0x4c720e;let _0x2c40e3=_0x1764f2[_0x4dcaee(0x346)][_0x5d4466];_0x2c40e3[_0x4dcaee(0x34b)]===_0x2eccf5[_0x4dcaee(0x43b)]['DRAWING_SHAPE']&&!_0x2c40e3[_0x4dcaee(0x1f2)]&&this[_0x4dcaee(0x157)][_0x4dcaee(0x413)](_0x2c40e3,_0x39bc35,{'resourceCollector':_0x5e35fc});}),_0x195539(_0x2f782b);}}));}};_0x186612=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x3c12d8['SheetPrintInterceptorService'])),_0x5a8c13(0x1,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x2,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1f5133))],_0x186612);let _0x1361b3=class extends _0x2eccf5['Disposable']{constructor(_0x15e8c3,_0x53802f,_0xde8ffc){const _0x3c9b0a=_0x1e3977;super(),this[_0x3c9b0a(0x2dc)]=_0x15e8c3,this['_localeService']=_0x53802f,this[_0x3c9b0a(0x229)]=_0xde8ffc,this[_0x3c9b0a(0x3d3)]();}[_0x1e3977(0x3d3)](){const _0x5eab34=_0x1e3977;this[_0x5eab34(0x256)](this['_commandService'][_0x5eab34(0x223)](_0x3e3c0d=>{const _0x38977b=_0x5eab34;let _0x5f38c3,_0x5af7f9;if(_0x3e3c0d['id']===_0x1b87be[_0x38977b(0x16f)]['id']||_0x3e3c0d['id']===_0x1b87be['SetShapeDrawingDataCommand']['id']||_0x3e3c0d['id']===_0x1b87be[_0x38977b(0x164)]['id']){let _0x41f39b=_0x3e3c0d[_0x38977b(0x2bc)];_0x5f38c3=_0x41f39b[_0x38977b(0x387)],_0x5af7f9=_0x41f39b[_0x38977b(0x204)];}!_0x5f38c3||!_0x5af7f9||this[_0x38977b(0x229)][_0x38977b(0x2d0)]({'workbookTypes':[_0x2554f2[_0x38977b(0x403)]],'worksheetTypes':[_0x2554f2[_0x38977b(0x326)]]},_0x5f38c3,_0x5af7f9)||this['_sheetPermissionCheckController'][_0x38977b(0x41c)](this[_0x38977b(0x412)]['t']('sheets-shape-ui.permission.editErr'));}));}};_0x1361b3=_0xba323d([_0x5a8c13(0x0,(0x0,_0x2eccf5['Inject'])(_0x2eccf5[_0x1e3977(0x1b2)])),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2eccf5[_0x1e3977(0x24d)])),_0x5a8c13(0x2,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2554f2[_0x1e3977(0x400)]))],_0x1361b3);let _0x23f73b=class extends _0x2eccf5[_0x1e3977(0x42a)]{constructor(_0x2c7613,_0x2e3386,_0x12e26c,_0x327bb8,_0x4cc101,_0x1f5266,_0x136fda,_0x3e47e3,_0x85c063,_0x5164ac,_0xbec7da){const _0x388667=_0x1e3977;super(),this[_0x388667(0x18f)]=_0x2c7613,this[_0x388667(0x3dd)]=_0x2e3386,this[_0x388667(0x24e)]=_0x12e26c,this[_0x388667(0x36d)]=_0x327bb8,this[_0x388667(0x412)]=_0x4cc101,this['_commandService']=_0x1f5266,this[_0x388667(0x1a2)]=_0x136fda,this[_0x388667(0x371)]=_0x3e47e3,this[_0x388667(0x133)]=_0x85c063,this[_0x388667(0x3ba)]=_0x5164ac,this[_0x388667(0x2e0)]=_0xbec7da,_0x163ed0(this,_0x388667(0x276),null),_0x163ed0(this,_0x388667(0x17e),null),_0x163ed0(this,_0x388667(0x3d0),!0x1),_0x163ed0(this,_0x388667(0x2a3),0x0),_0x163ed0(this,_0x388667(0x1d2),new Set()),_0x163ed0(this,_0x388667(0x43d),[]),this[_0x388667(0x1a3)](),this[_0x388667(0x256)](this[_0x388667(0x18f)][_0x388667(0x2b4)](_0x2eccf5[_0x388667(0x296)]['UNIVER_SHEET'])[_0x388667(0x17b)](_0x22d4b1=>{const _0x73333a=_0x388667;if(!_0x22d4b1){var _0x3199e5;(_0x3199e5=this['_sidebarDisposable'])==null||_0x3199e5[_0x73333a(0x175)]();return;}this['_createShapePopupMenu'](_0x22d4b1);})),this[_0x388667(0x220)](),this[_0x388667(0x28b)](),this['disposeWithMe'](this['_shapeTextEditingService']['editingParams$'][_0x388667(0x17b)](_0x52a9e0=>{const _0x5d666f=_0x388667;_0x52a9e0&&this[_0x5d666f(0x20c)]();}));}[_0x1e3977(0x1a3)](){const _0x47a12f=_0x1e3977;this['_menuManagerService'][_0x47a12f(0x1c1)](_0x3b310c);}['initShapePopupMenu'](){const _0x188818=_0x1e3977;this[_0x188818(0x18f)]['getAllUnitsForType'](_0x2eccf5[_0x188818(0x296)]['UNIVER_SHEET'])[_0x188818(0x30e)](_0x47b56a=>this['_createShapePopupMenu'](_0x47b56a));}[_0x1e3977(0x297)](_0x332bae,_0x5d26d5,_0x909dc5){const _0x42bfb2=_0x1e3977;let _0x3336f0=this[_0x42bfb2(0x36d)][_0x42bfb2(0x143)](_0x332bae,_0x5d26d5,_0x909dc5),_0x165276=this['_sheetsShapeService'][_0x42bfb2(0x3b9)](_0x332bae,_0x5d26d5,_0x909dc5);return _0x3336f0!==void 0x0&&_0x165276!==void 0x0?{'shapeData':_0x165276,'shapeId':_0x909dc5,'shapeType':_0x3336f0,'unitId':_0x332bae,'subUnitId':_0x5d26d5,'version':this[_0x42bfb2(0x2a3)],'disableShapeOption':!0x1}:null;}[_0x1e3977(0x15e)](_0x1d609d){const _0x3a1478=_0x1e3977;if(!_0x1d609d)return;let _0x466334=_0x1d609d[_0x3a1478(0x322)]();this[_0x3a1478(0x3ba)][_0x3a1478(0x431)](_0x466334)&&!this[_0x3a1478(0x1d2)][_0x3a1478(0x431)](_0x466334)&&(this[_0x3a1478(0x266)](_0x466334),this[_0x3a1478(0x1d2)][_0x3a1478(0x42c)](_0x466334));}[_0x1e3977(0x20c)](){const _0x4a4804=_0x1e3977;this[_0x4a4804(0x43d)]['forEach'](_0x206dc8=>_0x206dc8[_0x4a4804(0x175)]()),this[_0x4a4804(0x43d)][_0x4a4804(0x337)]=0x0;}[_0x1e3977(0x266)](_0xe349b6){const _0x169ebf=_0x1e3977;var _0x1d8c02;let _0x4d21e7=(_0x1d8c02=this[_0x169ebf(0x3ba)][_0x169ebf(0x2be)](_0xe349b6))==null?void 0x0:_0x1d8c02[_0x169ebf(0x14a)],_0x5cfd71=_0x4d21e7==null?void 0x0:_0x4d21e7['getTransformerByCreate']();!_0x4d21e7||!_0x5cfd71||(this['disposeWithMe'](_0x5cfd71['createControl$'][_0x169ebf(0x17b)](()=>{const _0x1ebd5c=_0x169ebf;let _0x582491=_0x5cfd71[_0x1ebd5c(0x36b)]();if(this[_0x1ebd5c(0x20c)](),this[_0x1ebd5c(0x3d0)]||_0x582491[_0x1ebd5c(0x419)]>0x1)return;let _0x80dd98=_0x582491['values']()[_0x1ebd5c(0x1fe)]()[_0x1ebd5c(0x123)];if(!_0x80dd98)return;let _0x3e99ee=this[_0x1ebd5c(0x1a2)][_0x1ebd5c(0x2b5)](_0x80dd98[_0x1ebd5c(0x23a)]);if(!_0x3e99ee||_0x3e99ee[_0x1ebd5c(0x34b)]!==_0x2eccf5['DrawingTypeEnum']['DRAWING_SHAPE'])return;let {unitId:_0x3a1667,subUnitId:_0x55187e,drawingId:_0x19c611,drawingType:_0x21527d}=_0x3e99ee,_0x4821ee=this[_0x1ebd5c(0x297)](_0x3a1667,_0x55187e,_0x19c611);if(!_0x4821ee)return;this[_0x1ebd5c(0x133)]['setContextValue'](_0x2eccf5['FOCUSING_COMMON_DRAWINGS'],!0x0);let _0x4340c1=this[_0x1ebd5c(0x371)]['attachPopupToObject'](_0x80dd98,{'componentKey':_0x1f1d2c,'direction':_0x1ebd5c(0x25d),'offset':[0x0,_0x25b599[_0x1ebd5c(0x317)]],'extraProps':{'unitId':_0x3a1667,'subUnitId':_0x55187e,'drawingId':_0x19c611,'drawingType':_0x21527d,'shapeType':_0x4821ee[_0x1ebd5c(0x436)],'shapeData':_0x4821ee[_0x1ebd5c(0x28a)]}});this['_disposePopups'][_0x1ebd5c(0x1b1)](this[_0x1ebd5c(0x256)](_0x4340c1)),this[_0x1ebd5c(0x1a2)][_0x1ebd5c(0x40c)]()[_0x1ebd5c(0x24b)](_0xaa4701=>_0xaa4701[_0x1ebd5c(0x387)]===_0x3a1667&&_0xaa4701[_0x1ebd5c(0x204)]===_0x55187e&&_0xaa4701['drawingId']===_0x19c611)||this[_0x1ebd5c(0x1a2)]['focusDrawing']([{'unitId':_0x3a1667,'subUnitId':_0x55187e,'drawingId':_0x19c611}]);})),this[_0x169ebf(0x256)](_0x5cfd71[_0x169ebf(0x27c)]['subscribe'](()=>{const _0x2b6dcd=_0x169ebf;this[_0x2b6dcd(0x20c)](),this[_0x2b6dcd(0x133)][_0x2b6dcd(0x3a0)](_0x2eccf5[_0x2b6dcd(0x27e)],!0x1),this[_0x2b6dcd(0x1a2)][_0x2b6dcd(0x423)](null);})),this['disposeWithMe'](_0x5cfd71[_0x169ebf(0x3be)][_0x169ebf(0x17b)](()=>{const _0x4c7d3c=_0x169ebf;this[_0x4c7d3c(0x20c)]();})),this['disposeWithMe'](_0x5cfd71['changeStart$'][_0x169ebf(0x17b)](()=>{this['_clearPopups']();})));}[_0x1e3977(0x220)](){const _0x4a7640=_0x1e3977;this[_0x4a7640(0x256)](this[_0x4a7640(0x2dc)][_0x4a7640(0x17a)](_0x44fc21=>{const _0x43e5cb=_0x4a7640;if(_0x44fc21['id']===_0x148656['id']){let {unitId:_0x206763,subUnitId:_0x5dfe46,drawingId:_0x944b5e}=_0x44fc21[_0x43e5cb(0x2bc)];this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x43e5cb(0x297)](_0x206763,_0x5dfe46,_0x944b5e),this[_0x43e5cb(0x20c)](),this['_openShapeEditPanel']();}if(_0x44fc21['id']===_0x157efe['id']&&(this[_0x43e5cb(0x17e)]=null,this[_0x43e5cb(0x16c)]()),_0x44fc21['id']===_0x1b87be[_0x43e5cb(0x3da)]['id']){let {unitId:_0x553cd2,subUnitId:_0x209eba,shapeId:_0x2f4c5f}=_0x44fc21[_0x43e5cb(0x2bc)];if(this[_0x43e5cb(0x17e)]&&this[_0x43e5cb(0x17e)][_0x43e5cb(0x329)]===_0x2f4c5f){let _0x16c0ff=this[_0x43e5cb(0x297)](_0x553cd2,_0x209eba,_0x2f4c5f);_0x16c0ff&&(this['_shapeEditPanelVersion']+=0x1,_0x16c0ff[_0x43e5cb(0x10c)]=this[_0x43e5cb(0x2a3)],this[_0x43e5cb(0x17e)]=_0x16c0ff,this[_0x43e5cb(0x3d0)]&&this[_0x43e5cb(0x15c)]());}}})),this['disposeWithMe'](this[_0x4a7640(0x1a2)][_0x4a7640(0x394)]['subscribe'](_0x1fa47d=>{const _0x22dd65=_0x4a7640;if(this[_0x22dd65(0x3d0)]===!0x1)return;if(_0x1fa47d[_0x22dd65(0x337)]===0x0){this[_0x22dd65(0x17e)]=null,this[_0x22dd65(0x16c)]();return;}if(_0x1fa47d['length']===0x1&&_0x1fa47d[0x0][_0x22dd65(0x34b)]===_0x2eccf5[_0x22dd65(0x43b)]['DRAWING_SHAPE']&&(this[_0x22dd65(0x2a3)]+=0x1,this[_0x22dd65(0x17e)]=this[_0x22dd65(0x297)](_0x1fa47d[0x0]['unitId'],_0x1fa47d[0x0]['subUnitId'],_0x1fa47d[0x0][_0x22dd65(0x22a)]),this['_activeShapeInfo'])){this[_0x22dd65(0x15c)]();return;}let _0x32d712=_0x1fa47d['filter'](_0xfd4cfc=>_0xfd4cfc[_0x22dd65(0x34b)]===_0x2eccf5[_0x22dd65(0x43b)]['DRAWING_SHAPE']);if(_0x1fa47d[_0x22dd65(0x337)]>0x1&&_0x32d712[_0x22dd65(0x337)]===_0x1fa47d[_0x22dd65(0x337)]){if(this[_0x22dd65(0x2a3)]+=0x1,this[_0x22dd65(0x17e)]=this['_getShapeInfo'](_0x1fa47d[0x0][_0x22dd65(0x387)],_0x1fa47d[0x0][_0x22dd65(0x204)],_0x1fa47d[0x0][_0x22dd65(0x22a)]),this[_0x22dd65(0x17e)]){this[_0x22dd65(0x15c)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this['_activeShapeInfo']=this[_0x22dd65(0x297)](_0x1fa47d[0x0]['unitId'],_0x1fa47d[0x0][_0x22dd65(0x204)],_0x1fa47d[0x0][_0x22dd65(0x22a)]),this[_0x22dd65(0x17e)]){this[_0x22dd65(0x17e)]['disableShapeOption']=!0x0,this[_0x22dd65(0x15c)]();return;}}this['_closeShapeEditPanel']();}));}[_0x1e3977(0x15c)](){const _0x54fee2=_0x1e3977;this['_activeShapeInfo']&&(this[_0x54fee2(0x276)]=this[_0x54fee2(0x3dd)][_0x54fee2(0x1bc)]({'id':_0xb9db8d,'header':{'title':this[_0x54fee2(0x412)]['t'](_0x54fee2(0x130))},'width':0x184,'children':{'label':_0xb9db8d,...this[_0x54fee2(0x17e)]},'onClose':()=>{const _0x57eae2=_0x54fee2;this[_0x57eae2(0x1a2)]['focusDrawing'](null),this[_0x57eae2(0x133)][_0x57eae2(0x3a0)](_0x2eccf5[_0x57eae2(0x27e)],!0x1),this['_sidebarDisposable']=null;}}),this[_0x54fee2(0x3d0)]=!0x0);}['_closeShapeEditPanel'](){const _0x24b7f0=_0x1e3977;this[_0x24b7f0(0x3d0)]=!0x1,this[_0x24b7f0(0x3dd)][_0x24b7f0(0x309)](_0xb9db8d),this[_0x24b7f0(0x276)]=null,this['_contextService']['setContextValue'](_0x2eccf5['FOCUSING_COMMON_DRAWINGS'],!0x1),this['_drawingManagerService'][_0x24b7f0(0x423)](null);}};_0x23f73b=_0xba323d([_0x5a8c13(0x0,_0x2eccf5[_0x1e3977(0x178)]),_0x5a8c13(0x1,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x4b5551[_0x1e3977(0x1d5)])),_0x5a8c13(0x2,_0x4b5551[_0x1e3977(0x1eb)]),_0x5a8c13(0x3,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x1b87be[_0x1e3977(0x3ad)])),_0x5a8c13(0x4,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x2eccf5[_0x1e3977(0x24d)])),_0x5a8c13(0x5,_0x2eccf5[_0x1e3977(0x1b2)]),_0x5a8c13(0x6,_0x215a9[_0x1e3977(0x18c)]),_0x5a8c13(0x7,(0x0,_0x2eccf5[_0x1e3977(0x456)])(_0x3c12d8[_0x1e3977(0x41e)])),_0x5a8c13(0x8,_0x2eccf5[_0x1e3977(0x138)]),_0x5a8c13(0x9,_0x114b3e[_0x1e3977(0x42b)]),_0x5a8c13(0xa,(0x0,_0x2eccf5['Inject'])(_0x31cbef))],_0x23f73b);let _0x2ba9f7=class extends _0x2eccf5[_0x1e3977(0x1de)]{constructor(_0x1b3284=_0x4f4787,_0x2f6512,_0x45b222,_0x2c96b3,_0x3ba019){const _0x34e61a=_0x1e3977;super(),this[_0x34e61a(0x3a1)]=_0x1b3284,this[_0x34e61a(0x3a6)]=_0x2f6512,this[_0x34e61a(0x2dc)]=_0x45b222,this[_0x34e61a(0x23f)]=_0x2c96b3,this[_0x34e61a(0x3ba)]=_0x3ba019;let {..._0x53b7db}=(0x0,_0x2eccf5[_0x34e61a(0x2fe)])({},_0x4f4787,this[_0x34e61a(0x3a1)]);this['_configService'][_0x34e61a(0x328)](_0x34e61a(0x271),_0x53b7db),this['_initCommands']();}[_0x1e3977(0x30d)](){const _0x4db71c=_0x1e3977;(0x0,_0x2eccf5[_0x4db71c(0x151)])(this[_0x4db71c(0x3a6)],[[_0x23f73b],[_0x262dc4],[_0x1f5133],[_0x186612]]);}[_0x1e3977(0x295)](){const _0xd1447b=_0x1e3977;this[_0xd1447b(0x3a6)][_0xd1447b(0x32f)](_0x23f73b)['initShapePopupMenu']();}[_0x1e3977(0x2a6)](){const _0x43aa97=_0x1e3977;[[_0x4bf73b],[_0x34fe5c],[_0x13cfb8]][_0x43aa97(0x30e)](_0x1607fb=>this[_0x43aa97(0x3a6)][_0x43aa97(0x42c)](_0x1607fb)),(0x0,_0x2eccf5['touchDependencies'])(this[_0x43aa97(0x3a6)],[[_0x13cfb8],[_0x34fe5c]]),this[_0x43aa97(0x3ba)][_0x43aa97(0x261)](_0x2eccf5['UniverInstanceType'][_0x43aa97(0x293)],[_0x4bf73b]),this[_0x43aa97(0x3ba)][_0x43aa97(0x261)](_0x2eccf5[_0x43aa97(0x296)][_0x43aa97(0x293)],[_0x1970f0]),this['_renderManagerService']['registerRenderModule'](_0x2eccf5[_0x43aa97(0x296)]['UNIVER_SHEET'],[_0x511a6f]),this['_renderManagerService'][_0x43aa97(0x261)](_0x2eccf5[_0x43aa97(0x296)][_0x43aa97(0x293)],[_0x3ec7c3]),this[_0x43aa97(0x3ba)][_0x43aa97(0x261)](_0x2eccf5['UniverInstanceType']['UNIVER_DOC'],[_0x298514]);}[_0x1e3977(0x3c0)](){const _0x2bd449=_0x1e3977;this['_injector'][_0x2bd449(0x42c)]([_0x1ef4c8]),this['_injector']['get'](_0x1ef4c8);let _0x55c1ff=this['_injector'];[[_0x23f73b],[_0x262dc4],[_0x1f5133],[_0x186612],[_0x2950cd],[_0x31cbef],[_0x3f5298],[_0x432d68],[_0x1361b3]]['forEach'](_0x4a15c8=>_0x55c1ff[_0x2bd449(0x42c)](_0x4a15c8)),(0x0,_0x2eccf5[_0x2bd449(0x151)])(this[_0x2bd449(0x3a6)],[[_0x23f73b],[_0x262dc4],[_0x1f5133],[_0x2950cd],[_0x31cbef],[_0x3f5298],[_0x432d68],[_0x1361b3]]);}[_0x1e3977(0x405)](){const _0x528249=_0x1e3977;[_0x29cd9f,_0x5a577b,_0x157efe,_0x148656,_0x393ac4,_0x4162f6][_0x528249(0x30e)](_0x4f377c=>this['disposeWithMe'](this[_0x528249(0x2dc)][_0x528249(0x22b)](_0x4f377c)));}};_0x163ed0(_0x2ba9f7,'type',_0x2eccf5[_0x1e3977(0x296)][_0x1e3977(0x293)]),_0x163ed0(_0x2ba9f7,_0x1e3977(0x137),_0x1e3977(0x231)),_0x163ed0(_0x2ba9f7,_0x1e3977(0x163),_0xa08251),_0x163ed0(_0x2ba9f7,_0x1e3977(0x10c),_0x3fe8c1),_0x2ba9f7=_0xba323d([(0x0,_0x2eccf5['DependentOn'])(_0x3fe551[_0x1e3977(0x146)],_0x4f7558[_0x1e3977(0x21d)],_0x215a9[_0x1e3977(0x347)],_0x34fb64[_0x1e3977(0x3f9)],_0x114b3e[_0x1e3977(0x1d3)],_0x2554f2[_0x1e3977(0x327)],_0x2a24ec[_0x1e3977(0x290)],_0x2a2650[_0x1e3977(0x44c)],_0x4b5551[_0x1e3977(0x233)],_0x32598e[_0x1e3977(0x353)],_0x101b82[_0x1e3977(0x277)],_0x1b87be[_0x1e3977(0x364)],_0x3c12d8[_0x1e3977(0x1fc)],_0x25b599['UniverShapeEditorUIPlugin']),_0x5a8c13(0x1,(0x0,_0x2eccf5['Inject'])(_0x2eccf5[_0x1e3977(0x3ce)])),_0x5a8c13(0x2,_0x2eccf5[_0x1e3977(0x1b2)]),_0x5a8c13(0x3,_0x2eccf5[_0x1e3977(0x3e1)]),_0x5a8c13(0x4,_0x114b3e['IRenderManagerService'])],_0x2ba9f7),_0x962624[_0x1e3977(0x1cd)]=_0x3b310c,Object[_0x1e3977(0x29f)](_0x962624,'UniverSheetsShapeUIPlugin',{'enumerable':!0x0,'get':function(){return _0x2ba9f7;}});}));
1
+ function _0x4793(_0x59fcd0,_0x5c7e87){_0x59fcd0=_0x59fcd0-0x171;const _0x5c6cb7=_0x5c6c();let _0x4793dc=_0x5c6cb7[_0x59fcd0];return _0x4793dc;}function _0x5c6c(){const _0x178a01=['CURSOR_TYPE','_getOrCreateShapeModel','isolated','_attachConnectorObjectEvent','_applyFormulaAutoFitSize','packageName','sin','ShapeFloatingToolbarService','next','some','IURLImageService','isCurvedConnectorShape','width','_activeAdjustPointList','IUniverInstanceService','_getConnectPointInfo','_createShapePopupMenu','blockExecuteWithoutPermission','1751672EXHioW','M6.2\x208H7.8','BottomIcon','transformToDrawingPosition','_isStartConnectorPoint','forEach','setAdjustValueByName','onReady','_groupCopyPasteController','isConnectorShape','removeLinePoints','_updateImageAdjValues','connection-site-','_ribbonService','getUnitType','draw','_cxtHandlerPointerUp','_connectionSiteObjects','Observable','cloneShapeDataForType','getSheetId','push','setEditing','M4.2\x208.3H6.8','viewportScrollY','useState','canvas','Image','sheets-shape-ui.config','connector-handler-','SHEET_VIEWPORT_KEY','createControl$','remove$','Circle','getConnectionSiteList','_handleConnectedEndpointMove','clipTop','RibbonInsertGroup','ShapePickerPanel','sheets-shape-ui.ribbon.shape-format.style-control','asObservable','ISheetDrawingService','UUID','src','cos','name','InsertSheetsShapeMutation','_baseLeft','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','targetShapeId','_formulaShapes','getPresentation','UniverSheetsUi','clearControl$','cancelEditing','changeEnd$','_updateSrcRectByTransform','sheets-shape-ui.ribbon.shape-format.arrange-back','M2.6\x203.3L6.2\x208L2.6\x2012.7V3.3Z','offsetY','_baseShapeHeight','svg','IRenderManagerService','sheets-shape-ui.formatShape','SheetPrintInterceptorService','fillImageSourceType','isEditing','resize','getCurrentUnitOfType','registerCommand','sheets-shape-ui','PaintIcon','UpdateSheetsShapeDataMutation','getUnitId','_activeShapeModel','_activeTargetShapeId','_isConnecting','_highlightedSiteIndex','_drawRichText','vertical-center','isHitLine','ShapeTextFloatMenuRenderControllerBase','disableObjectsEvent','_injector','transformForAngle','VerticalAlign','getValue','invert','clip','executeCommand','insertGroupObject','getImage','fillType','React','3103947niQxkb','@univerjs/sheets-drawing','getObject','M12.05\x2012.1C12.6299\x2012.1\x2013.1\x2011.6299\x2013.1\x2011.05C13.1\x2010.4701\x2012.6299\x2010\x2012.05\x2010C11.4701\x2010\x2011\x2010.4701\x2011\x2011.05C11\x2011.6299\x2011.4701\x2012.1\x2012.05\x2012.1Z','getConnectionInfo','sheet.operation.open-shape-object-list-panel','shape-format-setting-icon','_initSheetChange','UpdateConnectorRelationCommand','Transform','call','M1.6543\x2013.1665C1.6543\x2012.2828\x202.37064\x2011.5665\x203.2543\x2011.5665H13.5543C14.438\x2011.5665\x2015.1543\x2012.2828\x2015.1543\x2013.1665C15.1543\x2014.0502\x2014.438\x2014.7665\x2013.5543\x2014.7665H3.2543C2.37064\x2014.7665\x201.6543\x2014.0502\x201.6543\x2013.1665ZM3.2543\x2012.7665C3.03338\x2012.7665\x202.8543\x2012.9456\x202.8543\x2013.1665C2.8543\x2013.3874\x203.03338\x2013.5665\x203.2543\x2013.5665H13.5543C13.7752\x2013.5665\x2013.9543\x2013.3874\x2013.9543\x2013.1665C13.9543\x2012.9456\x2013.7752\x2012.7665\x2013.5543\x2012.7665H3.2543Z','addImageSourceCache','defIds','popup','updateDocumentStyle','getDrawingDataForUnit','updateDocumentDataMargin','string','_clearShapeAdjustControls','_handleFreeEndpointMove','flip-horizontal-icon','_targetShapeId','_updateAdjustControlPositions','getShapeData','_addShapeAdjustControl','_drawShapeText','ContextMenuGroup','M4.2\x205.5H10.5','_clearControls','_baseHeight','BUTTON','_getShapeInfo','createInternalEditorID','parent','transformToAxisAlignPosition','_shapeService','clearAdjustControls','ancestorTransform','prototype','completeEditing','replace','selectable','worldPoints','_subUnitId','M14\x208H14.2','_transform','end','current','error','_attachAdjustEvent','sheets-shape-ui.flipHorizontal','children','getInterceptPoints','#1a73e8','start','has','entries','_clipService','getUnit','attachRangeWithCoord','computeConnectorResizeLayout','startArrow','skeleton','shapeText','_imageIoService','clipByShape','formulaBinding','color','Shape','currentAdjustValues','_drawingRenderService','_imageShapeClipController','DependentOn','isRender','ObjectLayersIcon','_currentScene','refreshShapeFillImage','getInverseCoord','_editingParams$','drawingType','SheetsShapeService','react/jsx-runtime','version','defs','RemoveSheetDrawingCommand','isHighlighted','_openShapeEditPanel','_registerMoveHandler','map','SetSheetDrawingCommand','type','getAdjustInfoByName','_draggingConnectorId','DocCanvasPopManagerService','fontSize','@univerjs/sheets-drawing-ui','exports','_reset','ComponentManager','srcRect','startConnectionDetection','value','IconManager','_contextService','adjustValues','_sheetBasicShapeConnectionPointController','COMMAND','#4285f4','IConfigService','Large','SheetPermissionCheckController','_initCopyPaste','UniverProShapeEditorUi','visible','_handleConnectedEndpointPointerUp','M2\x204.75\x208\x201.8l6\x202.95L8\x207.7\x202\x204.75Z','FlipHorizontalIcon','_sidebarDisposable','resolveShapeTextDocumentRenderLayout','sheet.operation.open-sheet-shape-format-panel','subscribeEvent','M8\x2014V14.2','jsx','_renderWithCache','open','useDependency','applyPoint','ICommandService','getCurrentTypeOfUnit$','CROSSHAIR','getEndConnectInfo','_updateTransform','sheets-shape-ui.insertShape','_adjHandlerPointerUp','wrapStrategy','_createCopyInfoByRange','MenuManagerPosition','_getZoomRatio','setSrcRect','addClipboardHook','adjName','_loadAndSetImage','_configService','_sheetCanvasPopManagerService','oKey','SHAPE_CHANGE_PICKER_COMPONENT','params','index','shape-editor-ui.arrange.forward','ShapeGroupEnum','visible$','getViewportByCell','subUnitId','getState','_baseShapeWidth','startWith','UniverIcon','ShapeEditPanel','setShapeProps','_isImagePointerDown','UniverProSheetsShape','_unitId','_registerDrawingFocusChangeHandler','pipe','useRef','contentVerticalOffset','_initPrinting','@univerjs-pro/engine-shape','EMPTY','rect','_registerGroupFeaturePasteHook','SheetShapeTextEditorContainer','trim','_univerInstanceService','mask','2576478sGEaFC','transformByState','featurePluginUpdateNotification','localToWorld','translate','@univerjs/drawing','_config','_shapeTextEditingService','setPrstGeomAdjValues','ArrangeTypeEnum','resolveShapeTextEditorBehaviorShapeData','_hasReset','fill','values','prstGeomAdjValues','SheetScrollManagerService','35cVnzwt','merge','setFillImage','_sheetDrawingService','@univerjs/engine-render','_initMenu','ToggleSheetsShapeFlipCommand','GROUP','move-up-icon','parse','renderDrawingShape','getStartConnectInfo','isLineShape','_releaseRenderCache','_sidebarService','objects','useMemo','sheets-shape-ui.ribbon.shape-format.formula-control','routeConnectorLineShape','0\x200\x2016\x2016','size','render','computeConnectorRouteLayout','isStartConnectorPoint','VIEW_MAIN_TOP','_isHighlighted','abs','Injector','resetCursor','getShapeType','m2\x207.75\x206\x202.95\x206-2.95M2\x2010.75l6\x202.95\x206-2.95','attachTransformerTo','_copyInfo','isInGroup','description','initShapePopupMenu','getZoomRatio','_generatePasteMutations','syncExecuteCommand','cxnPointStroke','decorate','unitId','VIEW_MAIN_LEFT','ang','getDrawingVisible','beginPath','prstGeom','Inject','sheets-shape-contextual-ribbon','scene','SheetsShapeUIMenuSchema','UniverDrawingUi','ShapeTextEditorContainer','_moveConnectorWithShape','switchMap','toStringTag','dataModel','idSuffix','@univerjs-pro/shape-editor-ui','onload','shape-adjust-point-','getAdjustValueByName','get','setFormulaPresentation','focus$','ObjectListPanelBase','@univerjs-pro/license','_context','height','_handleConnectorPointerUp','multiply','getEditing','_iconManager','copyType','updateLinePoints','translateWithPrecision','getTransformer','unsubscribe','shape-editor-ui.arrange.front','shapeData','_baseWidth','prepareShapeTextDocumentData','pushUndoRedo','forwardRef','resolveActiveShapeQuickStylePresetId','backward','_registerOperations','_activeShapeInfo','@univerjs/sheets-ui','save','M7.82994\x201.40913C7.88746\x201.35161\x207.95376\x201.30821\x208.02453\x201.27893C8.09527\x201.24959\x208.17285\x201.2334\x208.2542\x201.2334C8.33555\x201.2334\x208.41313\x201.24959\x208.48387\x201.27893C8.55464\x201.30821\x208.62094\x201.35161\x208.67846\x201.40913L10.6785\x203.40913C10.9128\x203.64345\x2010.9128\x204.02335\x2010.6785\x204.25766C10.4441\x204.49198\x2010.0642\x204.49198\x209.82994\x204.25766L8.8542\x203.28193V5.8334C8.8542\x206.16477\x208.58557\x206.4334\x208.2542\x206.4334C7.92283\x206.4334\x207.6542\x206.16477\x207.6542\x205.8334V3.28193L6.67846\x204.25766C6.44415\x204.49198\x206.06425\x204.49198\x205.82994\x204.25766C5.59562\x204.02335\x205.59562\x203.64345\x205.82994\x203.40913L7.82994\x201.40913Z','_isStartAdjusting','tag','sheets-shape-format-font-family-menu','getObjectListPanelSectionIdForDrawingType','SHEET_DOC_SHAPE_FLOATING_TOOLBAR_TOP_OFFSET','run','adjHandleStroke','_focusedDrawings','UniverDocsUIPlugin','UniverDrawingPlugin','getShapeTypeById','sheetViewStartColumn','Fragment','_sheetPermissionCheckController','stopPropagation','drawing.operation.set-drawing-active','object-layers-icon','relation','UNIVER_SHEET','setCanUseShapeClip','clearActiveDrawingObjects','SetShapeDrawingDataCommand','_getShapeAdjustInfosById','changing$','getDrawingEffectBounds','getAdjustNames','evenodd','Medium','PRINTING_COMPONENT_COLLECT','getShapeModel','_visible','ShapeLineTypeEnum','_createControls','_loadShapePictureFill','none','DRAWING_SHAPE','refreshAdjustControls','update$','useFormulaShapeToolbar','axisAlignSheetTransform','getOwnPropertyDescriptor','ShapeIcon','undo','getTransformerByCreate','getSheetBySheetId','substring','from','SetDrawingSelectedOperation','viewportScrollX','activeAnObject','setShapeData','_shapes','UniverSheetsUIPlugin','sheets-shape-ui.permission.editErr','_lastEditingShapeKey','DrawingCommonPanel','TOP','getObjectListPanelLabels','sheet.menu.shape.flip-vertical','sheets-shape-ui.ribbon.shape-format.text-control','UndoRedoGroupService','_clearConnectionSites','UniverDocsPlugin','use','setHighlighted','getTextModel','attachPopupToObject','_shapeFloatingToolbarService','lineType','resolveFormulaShapeAutoFitSize','create','actions','UniverEngineRender','refreshFormulaPresentation','sheets-shape-text-','FOCUSING_COMMON_DRAWINGS','useEffect','complete','@univerjs-pro/shape-editor','_hide','SHEET_SHAPE_UI_PLUGIN','keys','TopmostIcon','ShapeStyleRibbonControl','_calculateFreeEndpointAngle','sheets-shape-ui.objectListPanel.open','DocSelectionManagerService','ShapeFormatSettingIcon','vertical','_registerDrawingMoveHandler','LEFT','M8.57975\x2014.5902C8.58121\x2014.5917\x208.58268\x2014.5931\x208.58416\x2014.5946C8.64077\x2014.6502\x208.70566\x2014.6923\x208.77482\x2014.7209C8.84557\x2014.7502\x208.92314\x2014.7664\x209.00449\x2014.7664C9.08585\x2014.7664\x209.16342\x2014.7502\x209.23416\x2014.7209C9.30332\x2014.6923\x209.36821\x2014.6502\x209.42482\x2014.5946','M8\x202.2V3.8','_getImageDrawingInfo','onPointerDown$','CommandType','CopySheetCommand','3702620XinOYL','M11.5565\x208H12.4435L12.913\x208.78261L13.8\x208.57391L14.4261\x209.2L14.2174\x2010.087L15\x2010.5565V11.4435L14.2174\x2011.913L14.4261\x2012.8L13.8\x2013.4261L12.913\x2013.2174L12.4435\x2014H11.5565L11.087\x2013.2174L10.2\x2013.4261L9.57391\x2012.8L9.78261\x2011.913L9\x2011.4435V10.5565L9.78261\x2010.087L9.57391\x209.2L10.2\x208.57391L11.087\x208.78261L11.5565\x208Z','formulaPresentation','cxnPointRadius','getDrawingData','M1.25\x2013.036C1.25\x2012.1523\x201.96634\x2011.436\x202.85\x2011.436H13.15C14.0337\x2011.436\x2014.75\x2012.1523\x2014.75\x2013.036C14.75\x2013.9196\x2014.0337\x2014.636\x2013.15\x2014.636H2.85C1.96635\x2014.636\x201.25\x2013.9196\x201.25\x2013.036ZM2.85\x2012.636C2.62909\x2012.636\x202.45\x2012.8151\x202.45\x2013.036C2.45\x2013.2569\x202.62909\x2013.436\x202.85\x2013.436H13.15C13.3709\x2013.436\x2013.55\x2013.2569\x2013.55\x2013.036C13.55\x2012.8151\x2013.3709\x2012.636\x2013.15\x2012.636H2.85Z','getBatchUpdateOp','clone','sheet.operation.apply-shape-quick-style','ShapeArrowTypeEnum','_initPermission','drawingId','UniverInstanceType','setOnSavingEditorData','MoveDownIcon','updateShapeFillImage','extraProps','_resetState','permissionCheckWithoutRange','_registerFocusChangeHandler','delete','sheet.operation.close-sheet-shape-format-panel','sheets-shape-ui.shape-format.quick-style-gallery','adjHandleSize','shapeId','getBasicShapeRelation','isRenderLinePointsMode','None','drawWith','iterator','shapeType','endConnectionDetection','xlink:href','classType','dispose','_isOpenedShapeEditPanel','viewBound','_clearShapeConnectorHandlerObjects','onPointerUp$','_findShapeAtPoint','UniverSheetsShapeUIPlugin','_props','UniverDocs','getMenuHiddenObservable','_executeConnectionCommand','_getImagePrstGeom','changeStart$','canvasElement','title','presentation','_drawRichTextLayer','sheet.command.menu-insert-shape','doc','flipX','_currentUniverService','_handleBasicShapeUpdateConnectorLineShape','_cxtHandlerPointerMove','http://www.w3.org/2000/svg','top','sheets-shape-ui.ribbon.shape-format.arrange-front','UNIVER_DOC','sectionFloating','WorkbookEditablePermission','INSERT','forward','localeService','_menuManagerService','sheet.shape.object-list.panel','_drawSimpleText','_insertingShapeKeys','register','transform','interceptCommand','_commandService','worldRect','getRealBound','_activeShapeAdjustPointList','path','setPresentation','M13.5\x207V4.29412C13.5\x203.5794\x2012.8679\x203\x2012\x203H2.57143C1.70356\x203\x201.5\x203.5794\x201.5\x204.29412V7V10C1.5\x2010.7147\x201.70356\x2011\x202.57143\x2011H7.71429','ISidebarService','_transformCalculateSrcRect','fontFamily','M3.3\x2013.4L8\x209.8L12.7\x2013.4H3.3Z','clearAdjustValue','_setTransForm','colorChannel1','cxnPointFill','toDisposable','buildShapeTextDataUpdate','mergeMenu','UniverProShapeEditor','restore','_executeResizeCommand','IMAGE_CLIP_SHAPE_PICKER_COMPONENT','UniverSheetsDrawing','getCurrentRangeDisable$','ShapePickerDropdown','RENDER_CLASS_TYPE','intercept','IDrawingManagerService','WorksheetEditPermission','filter','MenuItemType','onDblclick$','object','div','VIEW_MAIN_LEFT_TOP','_initSelection','FormulaShapeAnimationController','contentHeight','COPY_TYPE','flipY','UniverSheets','FlipVerticalIcon','clip-','_drawingManagerService','subscribe','_currentConnectionTarget','ShapeTypeEnum','getAutoFitPresentations','resourceCollector','DocumentSkeleton','[ShapeRender]\x20Failed\x20to\x20resolve\x20picture\x20fill\x20source','sheet.menu.shape.flip-horizontal','custom','editingParams$','DRAWING_IMAGE','SHAPE_EDITOR_TRANSFORMER_CONFIG','_connectorObjects','getCurrentLastSelection','memo','OPERATION','useReducer','_isDrawingShapePointDown','DrawingTypeEnum','sheetViewStartRow','round','reduce','set','SheetSkeletonManagerService','hidden','currentColor','IUndoRedoService','shouldClipShapeTextDocument','getSheetCommandTarget','sheet.shape.edit.panel','focusDrawing','DRAWING_OBJECT_LAYER_INDEX','makeDirty','computeStraightConnectorLayout','point','URL','activateDrawingObject','animationEnabled','_generateCutPasteMutations','sheets-shape-ui.ribbon.shape-format.arrange-forward','_adjHandlerPointerMove','_componentManager','amd','SheetDrawingAnchor','getVisible','UniverProEngineShape','calculate','_shapeRenderController','getShapeQuickStylePreset','ShapeTextFloatToolbar','_showConnectionSites','sheets-shape-ui.ribbon.shape-format','getShapeTextRect','symbol','showContextualTab','ShapeFormulaService','addObject','_executeConnectedRouteConnectionCommand','panel','_registerComponents','add','setFallbackVisible','_rerouteConnectorLine','@univerjs/ui','getObjectListPanelTypeName','_insertShapes','createShapeFormulaDocument','_registerIcons','_baseShapeTop','shapeKey','_commandExecutedListener','_isShouldShowDrawingShapeAdjust','univer-box-border\x20univer-px-4\x20univer-text-sm','touchDependencies','getDrawingOKey','_clearPopups','isRichText','IImageIoService','ShapeFormulaRibbonControl','@univerjs/core','_initialize','ShapeArrowSizeEnum','_drawingAddListener','sheet.operation.update-shape-type','MoveUpIcon','cxnPointStrokeWidth','Arrow','_activeAdjustInfo','_addShapeConnectorHandlerObjects','hideContextualTab','shape-editor-ui.arrange.backward','M10.2\x208H11.8','getShapeQuickStyleType','function','DrawingApplyType','_sheetPrintInterceptorService','_renderManagerService','_initializedShapePopupMenu','sheets-shape-ui.shape-format.style-ribbon-control','data','_sheetSkeletonService','getDrawingByParam','getBatchAddOp','deriveStateFromActiveSheet$','6345688ZoQBZU','UPDATE','UniverShapeEditorPlugin','move-down-icon','_initCommands','flip-vertical-icon','RemoveSheetsShapeMutation','pick','SetDrawingArrangeCommand','includes','bottom-icon','DocSelectionRenderService','stringify','clipHeight','activeSheet$','onPointerMove$','_formulaAnimation','image','sheets-shape-ui.shape-format.formula-ribbon-control','SheetSkeletonService','attrs','interceptor','univerjs-icon\x20univerjs-icon-','_activeShapeId','_handleFreeEndpointPointerUp','1.0.0-beta.1','UniverUi','setCursor','ShapeModel','_shapeFormulaService','sheet.shape.picker.component','startX','getShapeDataById','@univerjs/sheets','clip-adj-','onStarting','_update','getSelectedObjectMap','sheet.image-clip.shape-picker.component','UniverSheetsPlugin','_sheetDrawingShapeRenderController','SetDrawingApplyMutation','actualHeight','setConfig','shapeModel','sheet.shape.text.float-menu','0\x200\x2017\x2016','getMatrix','207313SdLygf','extensionGroups','1em','ImageSourceTypeEnum','_adjName','assign','getCurrentSkeleton','find','resolveShapeTextEditorWrapStrategy','horizontal','_createShapeAdjustControls','disableShapeOption','sheets-shape-ui.ribbon.shape-format.arrange-backward','#FFFFFF','UniverCore','M13.4\x203.3L9.8\x208L13.4\x2012.7V3.3Z','_updateShapeAdjustControls','getDrawingPoints','ToggleShapeFloatingToolbarOperation','setContextValue','_urlImageService','M3.3\x202.6L8\x206.2L12.7\x202.6H3.3Z','sheets-shape-ui.objectListPanel.title','onTransformChange$','_popupMenuListener','getSkeletonParam','getConnectionRelation','_getSceneAndTransformerByDrawingSearch','registerClipDelegate','RIBBON','preValue','normalizeShapeTextModel','ISheetClipboardService','defineProperty','DrawingImageClipService','_onSavingEditorData$','setPrstGeom','HorizontalAlign','ShapeFloatingToolbar','endArrow','toPrimitive','url(#$1','M14.1544\x208.5999C15.038\x208.5999\x2015.7544\x207.88356\x2015.7544\x206.9999C15.7544\x206.11625\x2015.038\x205.3999\x2014.1544\x205.3999H3.85439C2.97074\x205.3999\x202.25439\x206.11625\x202.25439\x206.9999C2.25439\x207.88356\x202.97074\x208.5999\x203.85439\x208.5999H14.1544ZM14.5544\x206.9999C14.5544\x207.22082\x2014.3753\x207.3999\x2014.1544\x207.3999H3.85439C3.63348\x207.3999\x203.45439\x207.22082\x203.45439\x206.9999C3.45439\x206.77899\x203.63348\x206.5999\x203.85439\x206.5999H14.1544C14.3753\x206.5999\x2014.5544\x206.77899\x2014.5544\x206.9999Z','UniverSheetsDrawingPlugin','IContextService','_generateCopyPasteMutations','_getConnectionSiteAngle','2BZoqGg','displayName','_addShapeConnectorHandlerObject','disposeWithMe','getBasicShapeRotateBound','changeShapeType','angle','isArray','shape-editor-ui.toolbar.changeShape','LocaleService','InsertShapeCommand','RemoveSheetCommand','left','onSavingEditorData$','ShapeFillEnum','length','DocumentViewModel','getBatchRemoveOp','getDrawingShapeKeyByDrawingSearch','REMOVE','_baseTop','getConnectorLinePoints','buildClipPath','react','_closeShapeEditPanel','rotation','adjHandleFill','_disposePopups','stroke','toString','registerRenderModule','sheets-shape-ui.flipVertical','ShapeQuickStyleGallery','with','_registerImageShapeClipDelegate','_getScrollInfo','PictureFill','_draw','Line','strokeWidth','ConnectorCoordinateTransform','getObjectIncludeInGroup','_initEvents','getSkeleton','getDrawingOrder','generateRandomId','_executeConnectedRouteResizeCommand','getFocusDrawings','rxjs','updateConnectionDetection','@univerjs-pro/sheets-shape-ui','enableObjectsEvent','getImageSourceCache','startY','_localeService','_formulaKey','getRenderUnitById','sheetTransform','flatMap','_baseDrawingRect','_findNearestConnectionSite','161922lofQih','_disposed','setShouldShowAdjust','M2.2\x208H3.8','getDrawingSearch','isHit','_activeImageId','_sheetShapeAdjustController','SELECTOR','redo','_cxnIndex','sqrt','updateContext','Disposable','_getDrawingRect','M5.57564\x2011.6118C5.80995\x2011.3774\x206.18985\x2011.3774\x206.42417\x2011.6118L7.3999\x2012.5875V6.36951C7.3999\x206.03814\x207.66853\x205.76951\x207.9999\x205.76951C8.33127\x205.76951\x208.5999\x206.03814\x208.5999\x206.36951V12.5875L9.57564\x2011.6118C9.80995\x2011.3774\x2010.1899\x2011.3774\x2010.4242\x2011.6118C10.6585\x2011.8461\x2010.6585\x2012.226\x2010.4242\x2012.4603L8.4324\x2014.452C8.32324\x2014.5655\x208.16982\x2014.6362\x207.9999\x2014.6362C7.82998\x2014.6362\x207.67655\x2014.5655\x207.56739\x2014.452L5.57564\x2012.4603C5.34132\x2012.226\x205.34132\x2011.8461\x205.57564\x2011.6118Z','getActualSize','Documents','getParent','OTHERS','cxnIndex','drawFormulaShapeAnimationLayers','SheetsSelectionsService','getCurrentScrollState','animateFormulaPresentation','fillImageSource','shape-editor-ui.arrange.back','setCollapsedIds','_shapeId','useObservable','#bcbcbc','onCommandExecuted','_shapeEditPanelVersion','worldPoint','_initEditingParams','CUT','offsetX','onRendered','_sheetsShapeService','constructor','gradientEndColor','_baseShapeLeft','VIEW_MAIN','BehaviorSubject','ShapeDefaultConfig','M5.57564\x204.38825C5.80995\x204.62256\x206.18985\x204.62256\x206.42417\x204.38825L7.3999\x203.41251V9.63049C7.3999\x209.96186\x207.66853\x2010.2305\x207.9999\x2010.2305C8.33127\x2010.2305\x208.5999\x209.96186\x208.5999\x209.63049V3.41251L9.57564\x204.38825C9.80995\x204.62256\x2010.1899\x204.62256\x2010.4242\x204.38825C10.6585\x204.15393\x2010.6585\x203.77403\x2010.4242\x203.53972L8.4324\x201.54796C8.32324\x201.43445\x208.16982\x201.36382\x207.9999\x201.36382C7.82998\x201.36382\x207.67655\x201.43446\x207.56739\x201.54797L5.57564\x203.53972C5.34132\x203.77403\x205.34132\x204.15393\x205.57564\x204.38825Z','beforeCommandExecuted','_init','jsxs','doc.image-clip.shape-picker.component','unregister','_getShapeAdjustPointListById','UniverSheetsDrawingUIPlugin','sheet.command.update-shape-data','createElement'];_0x5c6c=function(){return _0x178a01;};return _0x5c6c();}(function(_0x4baa53,_0xeb96db){const _0x141f75=_0x4793,_0x54344c=_0x4baa53();while(!![]){try{const _0x4425d2=-parseInt(_0x141f75(0x346))/0x1*(parseInt(_0x141f75(0x375))/0x2)+parseInt(_0x141f75(0x509))/0x3+parseInt(_0x141f75(0x3fb))/0x4+parseInt(_0x141f75(0x239))/0x5+-parseInt(_0x141f75(0x3b2))/0x6*(parseInt(_0x141f75(0x17d))/0x7)+-parseInt(_0x141f75(0x316))/0x8+-parseInt(_0x141f75(0x459))/0x9;if(_0x4425d2===_0xeb96db)break;else _0x54344c['push'](_0x54344c['shift']());}catch(_0x531c25){_0x54344c['push'](_0x54344c['shift']());}}}(_0x5c6c,0x87f7e),function(_0x392a15,_0x5630a2){const _0x11a221=_0x4793;typeof exports==_0x11a221(0x2a2)&&typeof module<'u'?_0x5630a2(exports,require('@univerjs-pro/shape-editor-ui'),require('@univerjs/ui'),require('@univerjs-pro/engine-shape'),require('@univerjs-pro/shape-editor'),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/sheets-drawing'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets-drawing-ui'),require('react')):typeof define==_0x11a221(0x30b)&&define[_0x11a221(0x2d8)]?define([_0x11a221(0x4ba),_0x11a221(0x1b7),_0x11a221(0x2ed),_0x11a221(0x501),_0x11a221(0x226),'@univerjs-pro/sheets-shape',_0x11a221(0x2fd),_0x11a221(0x337),_0x11a221(0x172),_0x11a221(0x181),_0x11a221(0x1d5),'rxjs','@univerjs/drawing-ui',_0x11a221(0x4ab),_0x11a221(0x45a),_0x11a221(0x1bf),'@univerjs/docs','@univerjs/docs-ui',_0x11a221(0x4b9),_0x11a221(0x38c)],_0x5630a2):(_0x392a15=typeof globalThis<'u'?globalThis:_0x392a15||self,_0x5630a2(_0x392a15['UniverProSheetsShapeUi']={},_0x392a15[_0x11a221(0x4ca)],_0x392a15[_0x11a221(0x330)],_0x392a15[_0x11a221(0x2db)],_0x392a15[_0x11a221(0x294)],_0x392a15[_0x11a221(0x4fa)],_0x392a15[_0x11a221(0x354)],_0x392a15[_0x11a221(0x2aa)],_0x392a15['UniverDrawing'],_0x392a15[_0x11a221(0x220)],_0x392a15[_0x11a221(0x42f)],_0x392a15[_0x11a221(0x3a5)],_0x392a15[_0x11a221(0x1b0)],_0x392a15[_0x11a221(0x458)],_0x392a15[_0x11a221(0x298)],_0x392a15['UniverProLicense'],_0x392a15[_0x11a221(0x263)],_0x392a15['UniverDocsUi'],_0x392a15['UniverSheetsDrawingUi'],_0x392a15['React']));}(this,function(_0x41362c,_0x33caa0,_0x5777e1,_0x1cd04f,_0x46d40c,_0x139146,_0x1ab145,_0x5d1313,_0x21e525,_0x2d31ad,_0x3a57a4,_0x2779ef,_0x548bf5,_0x40a892,_0x4d7bf9,_0x15e082,_0x74a11b,_0x521537,_0x3d1925,_0xb1307d){const _0x940a9c=_0x4793;Object[_0x940a9c(0x367)](_0x41362c,Symbol[_0x940a9c(0x1b4)],{'value':'Module'});function _0x407dbd(_0x19acb3,_0x1f8889){const _0x202d6=_0x940a9c;let _0x23d267={};for(let _0x5ca651 of Object[_0x202d6(0x229)](_0x1f8889)){let _0xd1962d=_0x1f8889[_0x5ca651],_0x16f1ea=_0x19acb3[_0x5ca651];if(_0xd1962d!==void 0x0){if(_0x16f1ea===void 0x0){_0x23d267[_0x5ca651]=void 0x0;continue;}typeof _0xd1962d==_0x202d6(0x2a2)&&_0xd1962d&&!Array[_0x202d6(0x37c)](_0xd1962d)&&typeof _0x16f1ea==_0x202d6(0x2a2)&&_0x16f1ea&&!Array[_0x202d6(0x37c)](_0x16f1ea)?_0x23d267[_0x5ca651]=_0x407dbd(_0x16f1ea,_0xd1962d):_0x23d267[_0x5ca651]=_0x16f1ea;}}return _0x23d267;}let _0x875b98={'type':_0x1ab145[_0x940a9c(0x237)][_0x940a9c(0x4c4)],'id':_0x940a9c(0x3e7),'handler':(_0x5019d8,_0x1d1783)=>{const _0xc55e66=_0x940a9c;let _0x5b58f7=_0x5019d8['get'](_0x139146['SheetsShapeService']),{unitId:_0x25acc3,subUnitId:_0x4f0182,shapeType:_0x58fc13,shapeId:_0x351a49,shapeData:_0x26f7b7,replaceShapeData:_0x410726,oldShapeJSON:_0x151c7a}=_0x1d1783;if(!_0x5b58f7[_0xc55e66(0x1f5)](_0x25acc3,_0x4f0182,_0x351a49))return!0x1;let _0x30de56=_0x5019d8[_0xc55e66(0x1bb)](_0x1ab145[_0xc55e66(0x4d9)]),_0x2a4823=_0x5019d8[_0xc55e66(0x1bb)](_0x1ab145[_0xc55e66(0x2c8)]),{oldShapeType:_0x1738b1,oldShapeData:_0x5e6bc2={}}=_0x151c7a,_0xf4e32d=_0x410726?_0x5e6bc2:_0x407dbd(_0x5e6bc2,_0x26f7b7||{}),_0x5d214f={'id':_0x139146['UpdateSheetsShapeDataMutation']['id'],'params':{'unitId':_0x25acc3,'subUnitId':_0x4f0182,'shapeId':_0x351a49,'shapeType':_0x58fc13,'shapeData':_0x26f7b7,'replace':_0x410726}},_0x52d6bc={'id':_0x139146[_0xc55e66(0x443)]['id'],'params':{'unitId':_0x25acc3,'subUnitId':_0x4f0182,'shapeId':_0x351a49,'shapeType':_0x1738b1,'shapeData':_0xf4e32d,'replace':_0x410726}};return _0x30de56['syncExecuteCommand'](_0x5d214f['id'],_0x5d214f[_0xc55e66(0x4ec)])?(_0x2a4823[_0xc55e66(0x1cf)]({'unitID':_0x25acc3,'undoMutations':[_0x52d6bc],'redoMutations':[_0x5d214f]}),!0x0):!0x1;}};function _0x33840b(_0x4759da,_0x5642b8,_0x5040ea,_0x3cb185,_0x5ca45e,_0x265ad1){const _0x1a9ab1=_0x940a9c;let _0x2a73a2={'unitId':_0x5642b8,'subUnitId':_0x5040ea,'shapeId':_0x3cb185,'shapeData':_0x265ad1,'oldShapeJSON':_0x5ca45e};return _0x4759da[_0x1a9ab1(0x454)](_0x875b98['id'],_0x2a73a2);}function _0xadc146(_0x458a5e,_0x491326,_0x5f1695,_0x1f638c,_0x3ac243,_0x226109){const _0x573fe5=_0x940a9c;let _0x14287b={'unitId':_0x491326,'subUnitId':_0x5f1695,'shapeId':_0x1f638c,'shapeData':_0x226109,'oldShapeJSON':_0x3ac243};return _0x458a5e[_0x573fe5(0x454)](_0x875b98['id'],_0x14287b);}function _0x1a03fb(_0x5cee0b){'@babel/helpers - typeof';const _0x119b18=_0x940a9c;return _0x1a03fb=typeof Symbol==_0x119b18(0x30b)&&typeof Symbol[_0x119b18(0x256)]==_0x119b18(0x2e3)?function(_0x44a92e){return typeof _0x44a92e;}:function(_0x4d1df2){const _0x5bdaa1=_0x119b18;return _0x4d1df2&&typeof Symbol==_0x5bdaa1(0x30b)&&_0x4d1df2[_0x5bdaa1(0x3d9)]===Symbol&&_0x4d1df2!==Symbol[_0x5bdaa1(0x480)]?'symbol':typeof _0x4d1df2;},_0x1a03fb(_0x5cee0b);}function _0xf1731f(_0x5152ab,_0x18052c){const _0x53b9aa=_0x940a9c;if(_0x1a03fb(_0x5152ab)!=_0x53b9aa(0x2a2)||!_0x5152ab)return _0x5152ab;var _0x3ca83c=_0x5152ab[Symbol[_0x53b9aa(0x36e)]];if(_0x3ca83c!==void 0x0){var _0x23c147=_0x3ca83c[_0x53b9aa(0x463)](_0x5152ab,_0x18052c||'default');if(_0x1a03fb(_0x23c147)!='object')return _0x23c147;throw TypeError(_0x53b9aa(0x42b));}return(_0x18052c===_0x53b9aa(0x46b)?String:Number)(_0x5152ab);}function _0x5a6ae4(_0x11f5c1){const _0x13d848=_0x940a9c;var _0x58616b=_0xf1731f(_0x11f5c1,'string');return _0x1a03fb(_0x58616b)==_0x13d848(0x2e3)?_0x58616b:_0x58616b+'';}function _0x4b9c46(_0x8806cc,_0x1c5e8a,_0x30e849){const _0x226634=_0x940a9c;return(_0x1c5e8a=_0x5a6ae4(_0x1c5e8a))in _0x8806cc?Object[_0x226634(0x367)](_0x8806cc,_0x1c5e8a,{'value':_0x30e849,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x8806cc[_0x1c5e8a]=_0x30e849,_0x8806cc;}function _0x29fb2a(_0x25faad,_0x3a9f01,_0x9d07d){const _0x227cbe=_0x940a9c;let _0x381c0b=(0x0,_0x33caa0[_0x227cbe(0x177)])(_0x25faad,{..._0x3a9f01,'dataModel':{..._0x3a9f01['dataModel']??{},..._0x9d07d?{'doc':_0x9d07d}:null}}),_0x214b27=(0x0,_0x33caa0[_0x227cbe(0x34e)])(_0x381c0b);return{'clip':(0x0,_0x33caa0[_0x227cbe(0x2c9)])(_0x381c0b,_0x214b27),'wrapStrategy':_0x214b27};}var _0x3be600=class extends _0x2d31ad[_0x940a9c(0x49e)]{constructor(_0x275490,_0x214762){const _0x4f61f=_0x940a9c;super(_0x275490,_0x214762),_0x4b9c46(this,_0x4f61f(0x262),void 0x0),_0x4b9c46(this,'_formulaAnimation',new _0x33caa0[(_0x4f61f(0x2a6))](()=>this[_0x4f61f(0x2ce)](!0x0),()=>this[_0x4f61f(0x3ed)]())),_0x4b9c46(this,_0x4f61f(0x28a),!0x0),_0x4b9c46(this,'_drawingType',_0x1ab145[_0x4f61f(0x2c0)][_0x4f61f(0x1fb)]),_0x4b9c46(this,'isDrawingObject',!0x0),this[_0x4f61f(0x262)]={..._0x214762},this[_0x4f61f(0x326)][_0x4f61f(0x287)](_0x214762[_0x4f61f(0x23b)],_0x214762[_0x4f61f(0x3ca)]!==!0x1),this['_init'](),this['_applyFormulaAutoFitSize']();}[_0x940a9c(0x3e1)](){const _0x3de603=_0x940a9c;this[_0x3de603(0x35d)][_0x3de603(0x4d2)](_0x252945=>{const _0xe83d02=_0x3de603;this[_0xe83d02(0x433)](_0x252945);});}['setPrstGeom'](_0x2d4c71){const _0x408122=_0x940a9c;this[_0x408122(0x262)][_0x408122(0x1ab)]=_0x2d4c71;}['setEditing'](_0x5baea8){const _0x147bd8=_0x940a9c;this['_props']['isEditing']=_0x5baea8,this[_0x147bd8(0x2ce)](!0x0);}[_0x940a9c(0x1bc)](_0x3eceeb,_0x4bbba2=!0x0){const _0x3475f2=_0x940a9c;this[_0x3475f2(0x326)][_0x3475f2(0x287)](_0x3eceeb,_0x4bbba2),this[_0x3475f2(0x262)][_0x3475f2(0x23b)]=_0x3eceeb,this['_applyFormulaAutoFitSize'](),this['makeDirty'](!0x0);}[_0x940a9c(0x3ed)](){const _0x6a040e=_0x940a9c;let _0x467a23=this['_props'][_0x6a040e(0x342)],_0x17c201=_0x467a23['getShapeTextData'](),_0x3b8356=(0x0,_0x33caa0['normalizeShapeTextModel'])(_0x17c201==null?void 0x0:_0x17c201[_0x6a040e(0x1b5)]),_0x48cbc7=_0x3b8356==null?void 0x0:_0x3b8356[_0x6a040e(0x26d)],_0x12cb00=this[_0x6a040e(0x326)][_0x6a040e(0x2b1)]();if(!_0x48cbc7||_0x12cb00[_0x6a040e(0x384)]===0x0)return;_0x467a23[_0x6a040e(0x3be)]({'width':this[_0x6a040e(0x3f5)],'height':this[_0x6a040e(0x1c1)]});let _0x26daa3=(0x0,_0x33caa0[_0x6a040e(0x21d)])({'documentData':_0x12cb00[_0x6a040e(0x4b2)](_0x5263c8=>(0x0,_0x46d40c[_0x6a040e(0x2f0)])(_0x48cbc7,_0x5263c8)),'height':this[_0x6a040e(0x1c1)],'shapeData':_0x467a23[_0x6a040e(0x471)](),'textRect':_0x467a23[_0x6a040e(0x2e2)]({'left':0x0,'top':0x0,'width':this[_0x6a040e(0x3f5)],'height':this[_0x6a040e(0x1c1)]}),'width':this[_0x6a040e(0x3f5)]});if(_0x26daa3){var _0x5ce0d5;this[_0x6a040e(0x43e)](_0x26daa3['width'],_0x26daa3['height']),(_0x5ce0d5=this['getScene']())==null||(_0x5ce0d5=_0x5ce0d5[_0x6a040e(0x1c9)]())==null||_0x5ce0d5['debounceRefreshControls']();}}get[_0x940a9c(0x1a6)](){const _0x4fa377=_0x940a9c;return this['_props'][_0x4fa377(0x1a6)];}get[_0x940a9c(0x4f2)](){const _0x370f8e=_0x940a9c;return this[_0x370f8e(0x262)][_0x370f8e(0x4f2)];}[_0x940a9c(0x433)](_0x40ab7d){const _0x2b3e26=_0x940a9c;if(this[_0x2b3e26(0x262)][_0x2b3e26(0x4bd)]==null||!this[_0x2b3e26(0x28a)])return;let {width:_0x169a59,height:_0xe5ab00}=this,{width:_0x5bf301=0x0,height:_0x1f475b=0x0}=_0x40ab7d[_0x2b3e26(0x364)],{left:_0x5e8f97=0x0,top:_0x362ab5=0x0,right:_0x297dbb=0x0,bottom:_0x264022=0x0}=this[_0x2b3e26(0x262)][_0x2b3e26(0x4bd)],_0x24c32e=_0x5e8f97,_0x1e6434=_0x362ab5,_0x39ad35=_0x297dbb,_0xa64181=_0x264022,_0x4f1f09=!0x1;if(_0x5bf301!==0x0&&_0x5bf301!==_0x169a59){let _0x39d728=_0x5e8f97/_0x5bf301,_0x39bfe9=_0x297dbb/_0x5bf301;_0x24c32e=_0x169a59*_0x39d728,_0x39ad35=_0x169a59*_0x39bfe9,_0x4f1f09=!0x0;}if(_0x1f475b!==0x0&&_0x1f475b!==_0xe5ab00){let _0x4f4842=_0x362ab5/_0x1f475b,_0x3055d7=_0x264022/_0x1f475b;_0x1e6434=_0xe5ab00*_0x4f4842,_0xa64181=_0xe5ab00*_0x3055d7,_0x4f1f09=!0x0;}_0x4f1f09&&this['setSrcRect']({'left':_0x24c32e,'top':_0x1e6434,'right':_0x39ad35,'bottom':_0xa64181});}['setSrcRect'](_0x161eaa){const _0x1c4379=_0x940a9c;this['_props'][_0x1c4379(0x4bd)]=_0x161eaa,this['makeDirty'](!0x0);}[_0x940a9c(0x17f)](_0x1ea066){const _0x567793=_0x940a9c;this[_0x567793(0x262)][_0x567793(0x327)]=_0x1ea066,this['makeDirty'](!0x0);}set[_0x940a9c(0x280)](_0x5a04e3){const _0x5cc996=_0x940a9c;this[_0x5cc996(0x487)]=_0x5a04e3;}get[_0x940a9c(0x280)](){const _0x3b1e74=_0x940a9c;this['_transform']||this[_0x3b1e74(0x28e)]();let _0x18b3e8=this[_0x3b1e74(0x487)][_0x3b1e74(0x240)]();return this[_0x3b1e74(0x44f)](_0x18b3e8);}get[_0x940a9c(0x342)](){const _0x2c9930=_0x940a9c;return this[_0x2c9930(0x262)]['shapeModel'];}get['shapeId'](){const _0x4beb70=_0x940a9c;return this['_props'][_0x4beb70(0x251)];}get[_0x940a9c(0x25a)](){const _0x2d70db=_0x940a9c;return _0x2d31ad[_0x2d70db(0x29b)]['SHAPE'];}[_0x940a9c(0x39a)](_0xe88381,_0x187595,_0x386696,_0x5aa9d5){const _0x53339c=_0x940a9c;let _0x3b3002=this[_0x53339c(0x262)][_0x53339c(0x342)];if(!_0x3b3002||!_0x187595)return;let _0x52afb3=_0x386696??this[_0x53339c(0x3f5)],_0x246cd2=_0x5aa9d5??this[_0x53339c(0x1c1)],_0x1d88a7={'shapeType':_0x3b3002[_0x53339c(0x19a)](),'width':_0x52afb3,'height':_0x246cd2},_0x4b4725={'renderMode':_0x1cd04f['ShapeRenderModeEnum']['Path'],'oKey':this[_0x53339c(0x4ea)],'image':this[_0x53339c(0x262)][_0x53339c(0x327)],'angle':this[_0x53339c(0x37b)]};_0x3b3002[_0x53339c(0x3be)](_0x1d88a7),_0xe88381['save']();let _0x15fefb={'top':0x0,'left':0x0,'width':_0x52afb3,'height':_0x246cd2},_0x24e1f8=_0x3b3002[_0x53339c(0x1f0)](_0x15fefb);_0x24e1f8?this[_0x53339c(0x4d5)](_0xe88381,_0x24e1f8,_0x229da6=>{const _0x472ab8=_0x53339c;_0x3b3002[_0x472ab8(0x192)](_0x229da6,_0x15fefb,_0x4b4725);}):(this[_0x53339c(0x18a)](),_0x3b3002[_0x53339c(0x192)](_0xe88381,_0x15fefb,_0x4b4725)),_0xe88381[_0x53339c(0x295)]();let _0x367389=_0x3b3002['getShapeTextData'](),_0x23d17e=_0x3b3002[_0x53339c(0x2e2)](_0x15fefb),_0x4d5cd4=_0x3b3002[_0x53339c(0x189)]();if(_0x367389&&_0x23d17e&&!_0x4d5cd4){_0xe88381[_0x53339c(0x1d6)](),this[_0x53339c(0x4f3)]()[_0x53339c(0x26e)]&&_0xe88381['scale'](-0x1,0x1);let _0x3720b5=_0x52afb3/0x2,_0x4bb7cc=_0x246cd2/0x2;_0xe88381[_0x53339c(0x171)](-_0x3720b5,-_0x4bb7cc),_0xe88381[_0x53339c(0x1aa)](),this[_0x53339c(0x473)](_0xe88381,_0x367389,_0x23d17e),_0xe88381[_0x53339c(0x295)]();}}[_0x940a9c(0x357)](_0x562feb){}[_0x940a9c(0x473)](_0x59ed24,_0x34c1e4,_0xf7efa9){const _0x290e0a=_0x940a9c;var _0x44ee76;this[_0x290e0a(0x262)]['isEditing']||(!((_0x44ee76=_0x34c1e4[_0x290e0a(0x1b5)])!=null&&_0x44ee76[_0x290e0a(0x26d)])&&_0x290e0a(0x2fa)in _0x34c1e4&&_0x34c1e4[_0x290e0a(0x2fa)]===!0x1?this[_0x290e0a(0x27d)](_0x59ed24,_0x34c1e4,_0xf7efa9):this[_0x290e0a(0x449)](_0x59ed24,_0x34c1e4,_0xf7efa9));}[_0x940a9c(0x27d)](_0x583814,_0x41c260,_0x2f1a02){const _0x1fbb77=_0x940a9c;this[_0x1fbb77(0x449)](_0x583814,{..._0x41c260,'text':_0x41c260['text']??'','dataModel':{'doc':(0x0,_0x33caa0['plainShapeTextToDocumentData'])(_0x41c260,_0x1fbb77(0x222)+this[_0x1fbb77(0x4ea)])}},_0x2f1a02);}[_0x940a9c(0x449)](_0x27929b,_0x3571c6,_0x3c163b){const _0x750591=_0x940a9c;(0x0,_0x33caa0[_0x750591(0x3c7)])(_0x27929b,this['_formulaAnimation'],(_0x41873f,_0x574873)=>{const _0x2b4c74=_0x750591;this[_0x2b4c74(0x26b)](_0x41873f,_0x3571c6,_0x3c163b,_0x574873);});}[_0x940a9c(0x26b)](_0xecde1b,_0x407878,_0x360caf,_0x55affb){const _0x59abcb=_0x940a9c;let _0x1c3f74=this['_props'][_0x59abcb(0x27a)];if(!_0x407878['dataModel']||!_0x1c3f74)return;let _0x21f0d7=(0x0,_0x33caa0[_0x59abcb(0x365)])(_0x407878['dataModel']);if(!_0x21f0d7)return;let _0x4cf8a0=_0x21f0d7[_0x59abcb(0x26d)];if(!_0x4cf8a0)return;let _0x21399a=(0x0,_0x46d40c[_0x59abcb(0x2f0)])(_0x4cf8a0,_0x55affb),_0x3da016=_0x21f0d7['va']??_0x1ab145[_0x59abcb(0x450)][_0x59abcb(0x210)],_0x24ddd6=_0x21f0d7['ha']??_0x1ab145['HorizontalAlign'][_0x59abcb(0x232)],_0x2bda00=_0x29fb2a(this['_props'][_0x59abcb(0x342)][_0x59abcb(0x471)](),_0x407878,_0x21399a),_0x49e1c3=_0x407878['isHorizontal'],_0x4738a4=new _0x1ab145['DocumentDataModel']((0x0,_0x33caa0[_0x59abcb(0x1ce)])(_0x21399a,{'isHorizontal':_0x49e1c3!==!0x1,'textRect':_0x360caf,'verticalAlign':_0x3da016,'horizontalAlign':_0x24ddd6,'wrapStrategy':_0x2bda00[_0x59abcb(0x4e0)]})),_0x231ca7=new _0x2d31ad[(_0x59abcb(0x385))](_0x4738a4),_0x1e58da=_0x2d31ad[_0x59abcb(0x2b3)][_0x59abcb(0x21e)](_0x231ca7,_0x1c3f74);_0x1e58da[_0x59abcb(0x2dc)]();let _0x744472=_0x1e58da[_0x59abcb(0x3c2)]()[_0x59abcb(0x340)],_0x497869=(0x0,_0x33caa0[_0x59abcb(0x4d0)])({'contentHeight':_0x744472,'verticalAlign':_0x3da016,'viewportHeight':_0x360caf[_0x59abcb(0x1c1)]});_0x4738a4[_0x59abcb(0x468)]({'pageSize':{'width':_0x49e1c3===!0x1?_0x360caf[_0x59abcb(0x1c1)]:_0x360caf[_0x59abcb(0x3f5)],'height':_0x497869[_0x59abcb(0x2a7)]}}),_0x4738a4[_0x59abcb(0x46a)]({'t':_0x497869['marginTop']}),_0x1e58da[_0x59abcb(0x2dc)]();let _0x369cde=new _0x2d31ad[(_0x59abcb(0x3c3))]('shape-text-'+this[_0x59abcb(0x4ea)],_0x1e58da,{'pageMarginLeft':0x0,'pageMarginTop':0x0,'onTextFillImageLoaded':()=>this[_0x59abcb(0x2ce)](!0x0)});_0x369cde[_0x59abcb(0x43e)](_0x360caf[_0x59abcb(0x3f5)],_0x497869['contentHeight']),_0xecde1b[_0x59abcb(0x1d6)](),_0xecde1b[_0x59abcb(0x1c8)](_0x360caf[_0x59abcb(0x381)],_0x360caf['top']),_0x2bda00[_0x59abcb(0x453)]&&(_0xecde1b[_0x59abcb(0x1aa)](),_0xecde1b[_0x59abcb(0x503)](0x0,_0x497869[_0x59abcb(0x41f)],_0x360caf[_0x59abcb(0x3f5)],_0x497869[_0x59abcb(0x323)]),_0xecde1b[_0x59abcb(0x453)]()),_0x497869[_0x59abcb(0x4ff)]&&_0xecde1b[_0x59abcb(0x1c8)](0x0,_0x497869[_0x59abcb(0x4ff)]),_0x369cde[_0x59abcb(0x40a)](_0xecde1b),_0xecde1b['restore'](),_0x369cde['dispose'](),_0x1e58da[_0x59abcb(0x25b)](),_0x231ca7[_0x59abcb(0x25b)](),_0x4738a4[_0x59abcb(0x25b)]();}[_0x940a9c(0x192)](_0x1f5954,_0x299577,_0x24b8c6=!0x1){const _0x9327e3=_0x940a9c;if(!this[_0x9327e3(0x4cb)])return this['makeDirty'](!0x1),this;let {width:_0x23c902,height:_0x2122f0,left:_0x548505,top:_0x45b7c2}=this,_0x4e1785=this[_0x9327e3(0x284)]();if(_0x23c902=_0x4e1785[_0x9327e3(0x3f5)],_0x2122f0=_0x4e1785['height'],_0x548505=_0x4e1785[_0x9327e3(0x381)],_0x45b7c2=_0x4e1785['top'],this[_0x9327e3(0x4a3)](_0x299577)){let {top:_0x182644,left:_0x5ab446,bottom:_0x21d95e,right:_0x19412c}=_0x299577[_0x9327e3(0x25d)];if(_0x23c902+this[_0x9327e3(0x39c)]+_0x548505<_0x5ab446||_0x19412c<_0x548505||_0x2122f0+this[_0x9327e3(0x39c)]+_0x45b7c2<_0x182644||_0x21d95e<_0x45b7c2)return this;}let _0x163e1e=_0x548505+_0x23c902/0x2,_0x126824=_0x45b7c2+_0x2122f0/0x2,_0x47cddc=this['transform'][_0x9327e3(0x345)]();if(this[_0x9327e3(0x262)][_0x9327e3(0x43d)]){let _0xdbba91=this[_0x9327e3(0x4f3)](),_0x53ed40=new _0x2d31ad['Transform']();_0x53ed40['composeMatrix']({..._0xdbba91}),_0x47cddc=_0x53ed40[_0x9327e3(0x345)]();}return _0x1f5954['save'](),this[_0x9327e3(0x262)][_0x9327e3(0x342)][_0x9327e3(0x253)]===!0x0||_0x1f5954[_0x9327e3(0x280)](_0x47cddc[0x0],_0x47cddc[0x1],_0x47cddc[0x2],_0x47cddc[0x3],_0x163e1e,_0x126824),this['_draw'](_0x1f5954,_0x299577,_0x23c902,_0x2122f0),_0x1f5954[_0x9327e3(0x295)](),this[_0x9327e3(0x2ce)](!0x1),this;}[_0x940a9c(0x4a7)](_0x2501f0){const _0x5225c7=_0x940a9c;let {left:_0x4c444d,top:_0x55b964,width:_0x105664,height:_0x572b8b}=this[_0x5225c7(0x284)](),_0x52f64f=this[_0x5225c7(0x280)][_0x5225c7(0x345)](),_0x52e783=_0x4c444d+_0x105664/0x2,_0x35a69f=_0x55b964+_0x572b8b/0x2,_0x5a8c69=new _0x2d31ad[(_0x5225c7(0x462))]([_0x52f64f[0x0],_0x52f64f[0x1],_0x52f64f[0x2],_0x52f64f[0x3],_0x52e783,_0x35a69f]),_0x385e0e=this[_0x5225c7(0x3c4)]();return(this[_0x5225c7(0x19e)]&&(_0x385e0e==null?void 0x0:_0x385e0e['classType'])===_0x2d31ad[_0x5225c7(0x29b)]['GROUP']?_0x385e0e['ancestorTransform'][_0x5225c7(0x1c3)](_0x5a8c69):_0x5a8c69)[_0x5225c7(0x452)]()[_0x5225c7(0x4d8)](_0x2501f0);}[_0x940a9c(0x3b7)](_0x5eb29f){const _0x1587fb=_0x940a9c;let {left:_0x45c0bf,top:_0x2f4f96,width:_0x456f04,height:_0x213d53}=this[_0x1587fb(0x284)](),_0x56b056=_0x45c0bf+_0x456f04/0x2,_0x564b47=_0x2f4f96+_0x213d53/0x2,_0x3f2dec=this['transform'][_0x1587fb(0x345)](),_0xbe6af=new _0x2d31ad[(_0x1587fb(0x462))]([_0x3f2dec[0x0],_0x3f2dec[0x1],_0x3f2dec[0x2],_0x3f2dec[0x3],_0x56b056,_0x564b47]),_0x40e1f1=this[_0x1587fb(0x3c4)](),_0x607307=(this[_0x1587fb(0x19e)]&&(_0x40e1f1==null?void 0x0:_0x40e1f1[_0x1587fb(0x25a)])===_0x2d31ad[_0x1587fb(0x29b)][_0x1587fb(0x184)]?_0x40e1f1[_0x1587fb(0x47f)][_0x1587fb(0x1c3)](_0xbe6af):_0xbe6af)[_0x1587fb(0x452)]()[_0x1587fb(0x4d8)](_0x5eb29f),_0x2b9d61=_0x456f04/0x2,_0x4c09b2=_0x213d53/0x2,_0x346544=this[_0x1587fb(0x262)]['shapeModel'];return _0x346544&&_0x346544[_0x1587fb(0x189)]()?_0x346544[_0x1587fb(0x44b)](_0x607307['x'],_0x607307['y'],_0x456f04,_0x213d53):_0x607307['x']>=-_0x2b9d61-this[_0x1587fb(0x39c)]/0x2&&_0x607307['x']<=_0x2b9d61+this['strokeWidth']/0x2&&_0x607307['y']>=-_0x4c09b2-this[_0x1587fb(0x39c)]/0x2&&_0x607307['y']<=_0x4c09b2+this[_0x1587fb(0x39c)]/0x2;}[_0x940a9c(0x25b)](){const _0x494ebf=_0x940a9c;this[_0x494ebf(0x326)][_0x494ebf(0x25b)](),this[_0x494ebf(0x262)]['shapeModel']=null,super[_0x494ebf(0x25b)]();}},_0x20819c=class extends _0x2d31ad[_0x940a9c(0x49e)]{constructor(_0x5dd0a1,_0x5a3f42){const _0x3a8057=_0x940a9c;super(_0x5dd0a1,_0x5a3f42),_0x4b9c46(this,_0x3a8057(0x3ce),null),_0x4b9c46(this,'_adjName',null),_0x4b9c46(this,_0x3a8057(0x4fb),null),_0x4b9c46(this,_0x3a8057(0x485),null),_0x5a3f42&&this[_0x3a8057(0x4f8)](_0x5a3f42);}[_0x940a9c(0x3b6)](){const _0x323187=_0x940a9c;return{'unitId':this[_0x323187(0x4fb)],'subUnitId':this['_subUnitId'],'drawingId':this[_0x323187(0x3ce)]};}['setShapeProps'](_0x38da81){const _0x5ba3c6=_0x940a9c;_0x38da81[_0x5ba3c6(0x251)]!==void 0x0&&(this[_0x5ba3c6(0x3ce)]=_0x38da81[_0x5ba3c6(0x251)]),_0x38da81['adjName']!==void 0x0&&(this[_0x5ba3c6(0x34a)]=_0x38da81[_0x5ba3c6(0x4e6)]),_0x38da81['unitId']!==void 0x0&&(this[_0x5ba3c6(0x4fb)]=_0x38da81[_0x5ba3c6(0x1a6)]),_0x38da81[_0x5ba3c6(0x4f2)]!==void 0x0&&(this[_0x5ba3c6(0x485)]=_0x38da81['subUnitId']),this[_0x5ba3c6(0x50a)]({'width':_0x38da81['width'],'height':_0x38da81[_0x5ba3c6(0x1c1)]});}[_0x940a9c(0x39a)](_0x75a580){const _0x3196e5=_0x940a9c;_0x2d31ad['Circle']['drawWith'](_0x75a580,{'radius':_0x1cd04f[_0x3196e5(0x3de)][_0x3196e5(0x250)],'fill':_0x1cd04f[_0x3196e5(0x3de)][_0x3196e5(0x38f)],'stroke':_0x1cd04f[_0x3196e5(0x3de)][_0x3196e5(0x1de)],'strokeWidth':0x1,'evented':!0x0});}};function _0x3107e5(_0x472923,_0x53b6bc){return function(_0x4b2847,_0x599f77){_0x53b6bc(_0x4b2847,_0x599f77,_0x472923);};}function _0x58a722(_0x1a6ee0,_0x31fc92,_0x2f226f,_0x9354b9){const _0x503c02=_0x940a9c;var _0x46a1f9=arguments['length'],_0xed8fb8=_0x46a1f9<0x3?_0x31fc92:_0x9354b9===null?_0x9354b9=Object[_0x503c02(0x200)](_0x31fc92,_0x2f226f):_0x9354b9,_0x2f0272;if(typeof Reflect==_0x503c02(0x2a2)&&typeof Reflect[_0x503c02(0x1a5)]==_0x503c02(0x30b))_0xed8fb8=Reflect[_0x503c02(0x1a5)](_0x1a6ee0,_0x31fc92,_0x2f226f,_0x9354b9);else{for(var _0x286c10=_0x1a6ee0[_0x503c02(0x384)]-0x1;_0x286c10>=0x0;_0x286c10--)(_0x2f0272=_0x1a6ee0[_0x286c10])&&(_0xed8fb8=(_0x46a1f9<0x3?_0x2f0272(_0xed8fb8):_0x46a1f9>0x3?_0x2f0272(_0x31fc92,_0x2f226f,_0xed8fb8):_0x2f0272(_0x31fc92,_0x2f226f))||_0xed8fb8);}return _0x46a1f9>0x3&&_0xed8fb8&&Object[_0x503c02(0x367)](_0x31fc92,_0x2f226f,_0xed8fb8),_0xed8fb8;}let _0x2da442=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x3507e0,_0x16adea,_0x36452d,_0x5db0f9,_0x37ea0e,_0x287261){const _0x358966=_0x940a9c;super(),this[_0x358966(0x2ad)]=_0x3507e0,this[_0x358966(0x3d8)]=_0x16adea,this['_localeService']=_0x36452d,this[_0x358966(0x49a)]=_0x5db0f9,this[_0x358966(0x35a)]=_0x37ea0e,this['_shapeFormulaService']=_0x287261,_0x4b9c46(this,_0x358966(0x42d),new Map()),this[_0x358966(0x378)](this[_0x358966(0x333)]['presentationChanged$'][_0x358966(0x2ae)](_0x13c7ae=>{const _0x174e36=_0x358966;var _0x8bae63;(_0x8bae63=this[_0x174e36(0x42d)][_0x174e36(0x1bb)](this[_0x174e36(0x3ac)](_0x13c7ae[_0x174e36(0x1a6)],_0x13c7ae[_0x174e36(0x4f2)],_0x13c7ae[_0x174e36(0x251)])))==null||_0x8bae63[_0x174e36(0x400)](_0x3077e4=>_0x3077e4[_0x174e36(0x1bc)](_0x13c7ae[_0x174e36(0x26a)],_0x13c7ae[_0x174e36(0x2d3)]));})),this['disposeWithMe'](this[_0x358966(0x2ad)][_0x358966(0x41b)][_0x358966(0x2ae)](_0x3e2631=>{const _0x43e200=_0x358966;_0x3e2631[_0x43e200(0x400)](_0x3e97fc=>{const _0x2957eb=_0x43e200;this[_0x2957eb(0x333)][_0x2957eb(0x3e4)]({'unitId':_0x3e97fc[_0x2957eb(0x1a6)],'subUnitId':_0x3e97fc[_0x2957eb(0x4f2)],'shapeId':_0x3e97fc[_0x2957eb(0x244)]}),this[_0x2957eb(0x42d)][_0x2957eb(0x24d)](this['_formulaKey'](_0x3e97fc[_0x2957eb(0x1a6)],_0x3e97fc[_0x2957eb(0x4f2)],_0x3e97fc[_0x2957eb(0x244)]));});}));}['renderDrawingShape'](_0x2c6f47,_0x4cee4f,_0x202145){const _0xb9f0b2=_0x940a9c;let {transform:_0x8d7100,drawingType:_0x49678,srcRect:_0x571c08,prstGeom:_0x5a79dc,groupId:_0x448011,unitId:_0xcd69f6,subUnitId:_0x29f7b6,drawingId:_0x38515a,isMultiTransform:_0xf7977d,transforms:_0x13b049,hidden:_0x5dcd69,selectable:_0x3f58fe}=_0x2c6f47;if(_0x49678!==_0x1ab145['DrawingTypeEnum'][_0xb9f0b2(0x1fb)]||!this[_0xb9f0b2(0x2ad)][_0xb9f0b2(0x1a9)]()||_0x8d7100==null)return;let _0xe3fb35=this[_0xb9f0b2(0x2ad)]['getDrawingEditable']();_0xe3fb35&&_0x4cee4f['initTransformer'](_0x33caa0[_0xb9f0b2(0x2b9)]);let _0x23c60a=_0xf7977d&&_0x13b049?_0x13b049:[_0x8d7100],_0x5dc08c=[];for(let _0x18ec1c of _0x23c60a){let {left:_0x2f81ac,top:_0x4a834d,width:_0x1536cf,height:_0x394141,angle:_0x2d554e,flipX:_0x45afbd,flipY:_0xc3b9eb,skewX:_0x3835fc,skewY:_0x5e3589}=_0x18ec1c,_0x324215=_0x23c60a['indexOf'](_0x18ec1c),_0x36cad0=(0x0,_0x21e525['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0xcd69f6,'subUnitId':_0x29f7b6,'drawingId':_0x38515a},_0xf7977d?_0x324215:void 0x0),_0x426242=_0x4cee4f['getObjectIncludeInGroup'](_0x36cad0);if(_0x426242!=null){let _0x28b11e={'unitId':_0xcd69f6,'subUnitId':_0x29f7b6,'shapeId':_0x38515a};_0x426242 instanceof _0x3be600&&this[_0xb9f0b2(0x221)](_0x426242,_0x28b11e),_0x426242[_0xb9f0b2(0x50a)]({'left':_0x2f81ac,'top':_0x4a834d,'width':_0x1536cf,'height':_0x394141,'angle':_0x2d554e,'flipX':_0x45afbd,'flipY':_0xc3b9eb,'skewX':_0x3835fc,'skewY':_0x5e3589});continue;}let _0x56cb9f=this['_drawingManagerService'][_0xb9f0b2(0x3a1)](_0xcd69f6,_0x29f7b6),_0x5075ba=_0x56cb9f['indexOf'](_0x38515a);if(_0x4cee4f[_0xb9f0b2(0x39e)](_0x36cad0)||!this[_0xb9f0b2(0x2ad)][_0xb9f0b2(0x1a9)]())continue;let _0x33fc93=this[_0xb9f0b2(0x3d8)][_0xb9f0b2(0x1f5)](_0xcd69f6,_0x29f7b6,_0x38515a);if(!_0x33fc93)continue;let _0x3f648e=(0x0,_0x1cd04f[_0xb9f0b2(0x404)])(_0x33fc93['getShapeType']()),_0x1725fa=_0x33fc93[_0xb9f0b2(0x471)]()[_0xb9f0b2(0x49c)],_0x482b2f={'unitId':_0xcd69f6,'subUnitId':_0x29f7b6,'shapeId':_0x38515a};_0x1725fa&&this[_0xb9f0b2(0x333)]['register'](_0x482b2f,_0x1725fa);let _0x2e5301=new _0x3be600(_0x36cad0,{..._0x3f648e?{..._0x18ec1c,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1}:{..._0x18ec1c},'zIndex':_0x5075ba===-0x1?_0x56cb9f[_0xb9f0b2(0x384)]-0x1:_0x5075ba,'shapeModel':_0x33fc93,'localeService':this[_0xb9f0b2(0x3ab)],'shapeId':_0x38515a,'unitId':_0xcd69f6,'subUnitId':_0x29f7b6,'visible':_0x5dcd69!==!0x0,'evented':_0x3f58fe!==!0x1,'formulaPresentation':_0x1725fa?this[_0xb9f0b2(0x333)][_0xb9f0b2(0x42e)](_0x482b2f):void 0x0,'animateFormulaPresentation':(_0x1725fa==null?void 0x0:_0x1725fa[_0xb9f0b2(0x2d3)])!==!0x1});if(_0x1725fa){let _0x247233=this[_0xb9f0b2(0x3ac)](_0xcd69f6,_0x29f7b6,_0x38515a),_0x5e2622=this['_formulaShapes'][_0xb9f0b2(0x1bb)](_0x247233)??new Set();_0x5e2622[_0xb9f0b2(0x2ea)](_0x2e5301),this['_formulaShapes'][_0xb9f0b2(0x2c4)](_0x247233,_0x5e2622);}_0x4cee4f[_0xb9f0b2(0x2e6)](_0x2e5301,_0x2d31ad[_0xb9f0b2(0x2cd)]),_0xe3fb35&&_0x4cee4f[_0xb9f0b2(0x19c)](_0x2e5301),_0x448011&&(0x0,_0x548bf5[_0xb9f0b2(0x455)])({'drawingId':_0x448011,'unitId':_0xcd69f6,'subUnitId':_0x29f7b6},_0x2e5301,_0x4cee4f,this['_drawingManagerService']),_0x5a79dc!=null&&_0x2e5301[_0xb9f0b2(0x36a)](_0x5a79dc),_0x571c08!=null&&_0x2e5301[_0xb9f0b2(0x4e4)](_0x571c08);let _0x42cb95=this['_loadShapePictureFill'](_0x2e5301,_0x33fc93[_0xb9f0b2(0x471)]());if(_0x42cb95){var _0x352099;_0x202145==null||(_0x352099=_0x202145[_0xb9f0b2(0x2b2)])==null||_0x352099[_0xb9f0b2(0x2ea)](_0x42cb95);}_0x5dc08c[_0xb9f0b2(0x410)](_0x2e5301);}return _0x5dc08c;}[_0x940a9c(0x3ac)](_0x29b676,_0x2c6f30,_0x4a489a){return _0x29b676+'\x00'+_0x2c6f30+'\x00'+_0x4a489a;}['refreshFormulaPresentation'](_0x478f68,_0x2ecdf7){const _0x4468a3=_0x940a9c;let _0x23d276=this[_0x4468a3(0x3d8)][_0x4468a3(0x1f5)](_0x2ecdf7[_0x4468a3(0x1a6)],_0x2ecdf7[_0x4468a3(0x4f2)],_0x2ecdf7[_0x4468a3(0x251)]),_0x346169=_0x23d276==null?void 0x0:_0x23d276[_0x4468a3(0x471)]()[_0x4468a3(0x49c)],_0x18af1e=this['_formulaKey'](_0x2ecdf7[_0x4468a3(0x1a6)],_0x2ecdf7['subUnitId'],_0x2ecdf7[_0x4468a3(0x251)]);if(_0x346169){this[_0x4468a3(0x333)][_0x4468a3(0x27f)](_0x2ecdf7,_0x346169);let _0x1cc8f9=this['_formulaShapes']['get'](_0x18af1e)??new Set();_0x1cc8f9[_0x4468a3(0x2ea)](_0x478f68),this[_0x4468a3(0x42d)][_0x4468a3(0x2c4)](_0x18af1e,_0x1cc8f9);}else{var _0x16d052;this[_0x4468a3(0x333)][_0x4468a3(0x3e4)](_0x2ecdf7),(_0x16d052=this['_formulaShapes'][_0x4468a3(0x1bb)](_0x18af1e))==null||_0x16d052['delete'](_0x478f68);}_0x478f68[_0x4468a3(0x1bc)](_0x346169?this[_0x4468a3(0x333)][_0x4468a3(0x42e)](_0x2ecdf7):void 0x0,(_0x346169==null?void 0x0:_0x346169[_0x4468a3(0x2d3)])!==!0x1);}[_0x940a9c(0x4a6)](_0x28166e){const _0x1c0c13=_0x940a9c;let _0x13fcd8=_0x28166e[_0x1c0c13(0x342)]['getShapeData'](),_0x158933=_0x13fcd8[_0x1c0c13(0x179)];if(!_0x158933||_0x158933['fillType']!==_0x1cd04f['ShapeFillEnum']['PictureFill']||!_0x158933['fillImageSource']){_0x28166e['setFillImage'](void 0x0);return;}this[_0x1c0c13(0x1f9)](_0x28166e,_0x13fcd8);}['_loadShapePictureFill'](_0xeefe7,_0x5bcbdc){const _0x38dcb3=_0x940a9c;let _0x410731=_0x5bcbdc[_0x38dcb3(0x179)];if(!_0x410731||_0x410731[_0x38dcb3(0x457)]!==_0x1cd04f[_0x38dcb3(0x383)][_0x38dcb3(0x399)]||!_0x410731[_0x38dcb3(0x3cb)])return;let _0x185ca1=_0x410731[_0x38dcb3(0x3cb)],_0x13648a=_0x410731[_0x38dcb3(0x43c)]??_0x1cd04f[_0x38dcb3(0x349)][_0x38dcb3(0x2d1)],_0x52d156=this[_0x38dcb3(0x49a)][_0x38dcb3(0x3a9)](_0x185ca1,_0x13648a);if(_0x52d156){_0xeefe7[_0x38dcb3(0x17f)](_0x52d156);return;}return this[_0x38dcb3(0x4e7)](_0xeefe7,_0x185ca1,_0x13648a);}async[_0x940a9c(0x4e7)](_0x5f3db7,_0x1b9c22,_0x90a93f){const _0x1a25dd=_0x940a9c;let _0x48abc5;try{if(_0x90a93f===_0x1cd04f[_0x1a25dd(0x349)][_0x1a25dd(0x425)])_0x48abc5=await this['_imageIoService']['getImage'](_0x1b9c22);else{if(_0x90a93f===_0x1cd04f['ImageSourceTypeEnum'][_0x1a25dd(0x2d1)])try{_0x48abc5=await this[_0x1a25dd(0x35a)][_0x1a25dd(0x456)](_0x1b9c22);}catch{_0x48abc5=_0x1b9c22;}else _0x48abc5=_0x1b9c22;}}catch(_0x3d5549){console[_0x1a25dd(0x48a)](_0x1a25dd(0x2b4),_0x3d5549);return;}await new Promise(_0x462747=>{const _0x3de60d=_0x1a25dd;let _0x534da1=new window[(_0x3de60d(0x416))]();_0x534da1[_0x3de60d(0x1b8)]=()=>{const _0xf4b89c=_0x3de60d;this[_0xf4b89c(0x49a)][_0xf4b89c(0x465)](_0x1b9c22,_0x90a93f,_0x534da1),_0x5f3db7[_0xf4b89c(0x17f)](_0x534da1),_0x462747();},_0x534da1['onerror']=()=>{const _0x3644e9=_0x3de60d;console[_0x3644e9(0x48a)]('[ShapeRender]\x20Failed\x20to\x20load\x20picture\x20fill\x20image',_0x1b9c22),_0x462747();},_0x534da1[_0x3de60d(0x426)]=_0x48abc5;});}};_0x2da442=_0x58a722([_0x3107e5(0x0,_0x21e525['IDrawingManagerService']),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146['SheetsShapeService'])),_0x3107e5(0x2,(0x0,_0x1ab145['Inject'])(_0x1ab145['LocaleService'])),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x2fb)]),_0x3107e5(0x4,_0x1ab145[_0x940a9c(0x3f3)]),_0x3107e5(0x5,(0x0,_0x1ab145['Inject'])(_0x46d40c[_0x940a9c(0x2e5)]))],_0x2da442);let _0x3523b0=class extends _0x1ab145['Disposable']{constructor(_0x1897ed,_0x1e7da3,_0x1dddc9,_0x403dd0,_0x143eae,_0xb6c849){const _0x477565=_0x940a9c;super(),this[_0x477565(0x2ad)]=_0x1897ed,this[_0x477565(0x3d8)]=_0x1e7da3,this[_0x477565(0x30e)]=_0x1dddc9,this[_0x477565(0x33e)]=_0x403dd0,this[_0x477565(0x507)]=_0x143eae,this['_commandService']=_0xb6c849,_0x4b9c46(this,_0x477565(0x32d),null),_0x4b9c46(this,_0x477565(0x4fb),null),_0x4b9c46(this,'_subUnitId',null),_0x4b9c46(this,_0x477565(0x285),void 0x0),_0x4b9c46(this,_0x477565(0x20b),[]),_0x4b9c46(this,'_baseShapeLeft',0x0),_0x4b9c46(this,'_baseShapeTop',0x0),_0x4b9c46(this,'_baseShapeWidth',0x0),_0x4b9c46(this,'_baseShapeHeight',0x0),_0x4b9c46(this,'_isStartAdjusting',!0x1),_0x4b9c46(this,_0x477565(0x305),void 0x0),_0x4b9c46(this,_0x477565(0x445),void 0x0),_0x4b9c46(this,_0x477565(0x2d6),void 0x0),_0x4b9c46(this,_0x477565(0x4df),void 0x0),_0x4b9c46(this,_0x477565(0x2f5),!0x1),this[_0x477565(0x4fc)](),this[_0x477565(0x231)]();}[_0x940a9c(0x3e5)](_0x1323f4,_0x386a77,_0x55e88a){const _0x2e69cb=_0x940a9c;let _0x287da3=this[_0x2e69cb(0x3d8)][_0x2e69cb(0x1f5)](_0x1323f4,_0x386a77,_0x55e88a);if(_0x287da3)return _0x287da3[_0x2e69cb(0x357)]();}[_0x940a9c(0x47e)](){this['_clearShapeAdjustControls']();}['refreshAdjustControls'](){this['_updateShapeAdjustControls'](!0x0);}[_0x940a9c(0x3b4)](_0x1afe92){const _0x95ef9e=_0x940a9c;this[_0x95ef9e(0x2f5)]=_0x1afe92;}['_getShapeAdjustInfosById'](_0x412d77,_0x5212bf,_0x35925e,_0x1cec01){const _0x300e11=_0x940a9c;let _0x1fd34e=this['_sheetsShapeService'][_0x300e11(0x1f5)](_0x412d77,_0x5212bf,_0x35925e);if(_0x1fd34e)return _0x1fd34e['getAdjustInfoByName'](_0x1cec01);}[_0x940a9c(0x350)](_0xe9e1a6=!0x1){const _0x34d959=_0x940a9c;if(this[_0x34d959(0x4fb)]===null||this[_0x34d959(0x485)]===null||this[_0x34d959(0x32d)]===null)return;let _0x291a96=this[_0x34d959(0x30e)][_0x34d959(0x3ad)](this[_0x34d959(0x4fb)]);if(!_0x291a96||!_0x291a96[_0x34d959(0x396)](_0x3a57a4[_0x34d959(0x2c5)])[_0x34d959(0x34c)]())return;let {scene:_0x2f5332}=_0x291a96,_0x13d428={'unitId':this['_unitId'],'subUnitId':this[_0x34d959(0x485)],'drawingId':this['_activeShapeId']},_0x2c82b6=this[_0x34d959(0x2ad)]['getDrawingByParam'](_0x13d428),{transform:_0x3f9402}=_0x2c82b6;if(!_0x3f9402||_0x2c82b6[_0x34d959(0x4a9)]!==_0x1ab145[_0x34d959(0x2c0)][_0x34d959(0x1fb)])return;let {left:_0x544983,top:_0x175034,width:_0x13c9e7,height:_0x775ef0,flipX:_0x36813c,flipY:_0x17fb10,angle:_0x201e28=0x0}=_0x3f9402;if(_0x544983===void 0x0||_0x175034===void 0x0)return;if(_0xe9e1a6){let _0x4e6286=this['_sheetsShapeService'][_0x34d959(0x1f5)](this[_0x34d959(0x4fb)],this[_0x34d959(0x485)],this[_0x34d959(0x32d)]);_0x4e6286==null||_0x4e6286[_0x34d959(0x3be)]({'width':_0x13c9e7??0x0,'height':_0x775ef0??0x0}),this[_0x34d959(0x285)]=_0x4e6286==null?void 0x0:_0x4e6286[_0x34d959(0x357)]();}let _0x44a810=this['_activeShapeAdjustPointList'];for(let _0x247282=0x0;_0x247282<_0x44a810['length'];_0x247282++){let _0xc0b56f=_0x44a810[_0x247282],_0x38b770=_0xc0b56f['x'],_0x49d079=_0xc0b56f['y'];if(_0x36813c&&(_0x38b770=(_0x13c9e7||0x0)-_0x38b770),_0x17fb10&&(_0x49d079=(_0x775ef0||0x0)-_0x49d079),_0x201e28!==0x0){let _0xf78dcf=(_0x13c9e7||0x0)/0x2,_0x13bce5=(_0x775ef0||0x0)/0x2,_0x2fd9ea=_0x201e28*Math['PI']/0xb4,_0x3fb8c4=Math[_0x34d959(0x427)](_0x2fd9ea),_0x4b3f5e=Math[_0x34d959(0x3ef)](_0x2fd9ea),_0xfe9cda=_0x38b770-_0xf78dcf,_0x27f3db=_0x49d079-_0x13bce5;_0x38b770=_0xf78dcf+(_0xfe9cda*_0x3fb8c4-_0x27f3db*_0x4b3f5e),_0x49d079=_0x13bce5+(_0xfe9cda*_0x4b3f5e+_0x27f3db*_0x3fb8c4);}let _0x3f781e={'x':_0x38b770,'y':_0x49d079,'adjName':_0xc0b56f['adjName']};this[_0x34d959(0x472)](_0x2f5332,_0x3f781e,_0x3f781e[_0x34d959(0x4e6)],_0x544983,_0x175034,this[_0x34d959(0x4fb)],this[_0x34d959(0x485)]);}}[_0x940a9c(0x356)](_0x77974e=!0x1){const _0x1d80ce=_0x940a9c;_0x77974e&&(this[_0x1d80ce(0x46c)](),this['_createShapeAdjustControls'](_0x77974e));}[_0x940a9c(0x472)](_0x34d266,_0x5b324a,_0x372707,_0x58ed73,_0x8c7feb,_0x1fb459,_0x404c99){const _0xb7389e=_0x940a9c;if(!this[_0xb7389e(0x32d)])return;let _0x4f404c=_0x34d266[_0xb7389e(0x39e)](_0xb7389e(0x1b9)+this['_activeShapeId']+'-'+_0x372707);if(_0x4f404c){_0x4f404c[_0xb7389e(0x50a)]({'left':_0x5b324a['x']+_0x58ed73-_0x1cd04f[_0xb7389e(0x3de)]['adjHandleSize'],'top':_0x5b324a['y']+_0x8c7feb-_0x1cd04f[_0xb7389e(0x3de)]['adjHandleSize']});return;}let _0x17d843={'left':_0x5b324a['x']+_0x58ed73-_0x1cd04f[_0xb7389e(0x3de)]['adjHandleSize'],'top':_0x5b324a['y']+_0x8c7feb-_0x1cd04f[_0xb7389e(0x3de)][_0xb7389e(0x250)],'adjName':_0x372707,'shapeId':this[_0xb7389e(0x32d)],'unitId':_0x1fb459,'subUnitId':_0x404c99,'width':_0x1cd04f['ShapeDefaultConfig'][_0xb7389e(0x250)]+0x8,'height':_0x1cd04f[_0xb7389e(0x3de)][_0xb7389e(0x250)]+0x8,'zIndex':_0x2d31ad[_0xb7389e(0x2cd)]+0x1,'evented':!0x0},_0x42dc64=new _0x20819c(_0xb7389e(0x1b9)+this[_0xb7389e(0x32d)]+'-'+_0x372707,_0x17d843);this[_0xb7389e(0x20b)][_0xb7389e(0x410)](_0x42dc64),this[_0xb7389e(0x48b)](_0x42dc64,_0x34d266,_0x372707),_0x34d266[_0xb7389e(0x2e6)](_0x42dc64,_0x2d31ad[_0xb7389e(0x2cd)]+0x1);}[_0x940a9c(0x46c)](){const _0x51068d=_0x940a9c;this[_0x51068d(0x20b)]['length']!==0x0&&(this[_0x51068d(0x20b)]['forEach'](_0x3de393=>{_0x3de393['dispose']();}),this['_shapes']=[]);}['_updateAdjustControlPositions'](){const _0x568b41=_0x940a9c;this[_0x568b41(0x350)]();}[_0x940a9c(0x398)](_0x52e596,_0x437918){const _0x156766=_0x940a9c;var _0x557c22;let _0x3820c9={'x':0x0,'y':0x0};if(!_0x52e596||!_0x437918)return _0x3820c9;let _0x2f8399=this[_0x156766(0x30e)][_0x156766(0x3ad)](_0x52e596);if(!_0x2f8399||!_0x2f8399[_0x156766(0x396)](_0x3a57a4[_0x156766(0x2c5)])[_0x156766(0x3a0)](_0x437918))return _0x3820c9;let _0x54022f=_0x2f8399[_0x156766(0x396)](_0x3a57a4[_0x156766(0x17c)]),_0xf63deb=_0x54022f==null?void 0x0:_0x54022f[_0x156766(0x3c9)]();if(!_0xf63deb)return _0x3820c9;let _0x13e02b=(_0x557c22=this['_univerInstanceService']['getUnit'](_0x52e596))==null?void 0x0:_0x557c22[_0x156766(0x204)](_0x437918);if(!_0x13e02b)return _0x3820c9;let _0xa130d8=(0x0,_0x3a57a4[_0x156766(0x4f1)])(_0xf63deb[_0x156766(0x2c1)],_0xf63deb['sheetViewStartColumn'],_0x2f8399[_0x156766(0x1ae)],_0x13e02b);return _0xa130d8?{'x':_0xa130d8[_0x156766(0x208)],'y':_0xa130d8[_0x156766(0x413)]}:_0x3820c9;}[_0x940a9c(0x4e3)](_0x431a39,_0x24f082){const _0x54a79e=_0x940a9c;var _0x5e0406;let _0x2cc0af=(_0x5e0406=this['_univerInstanceService'][_0x54a79e(0x494)](_0x431a39))==null?void 0x0:_0x5e0406[_0x54a79e(0x204)](_0x24f082);return(_0x2cc0af==null?void 0x0:_0x2cc0af['getZoomRatio']())??0x1;}[_0x940a9c(0x48b)](_0x13a1d5,_0xa937a6,_0x1740b7){const _0x11ac12=_0x940a9c;this[_0x11ac12(0x378)]((0x0,_0x1ab145[_0x11ac12(0x291)])(_0x13a1d5[_0x11ac12(0x236)][_0x11ac12(0x4d2)]((_0x15c1c9,_0x5dceff)=>{const _0x1e6e70=_0x11ac12;var _0x5020eb,_0x4c9dd8,_0x1b7559,_0x489d23;let _0x10ba36=_0x13a1d5[_0x1e6e70(0x3b6)]();this[_0x1e6e70(0x305)]=this[_0x1e6e70(0x1ee)](_0x10ba36[_0x1e6e70(0x1a6)],_0x10ba36[_0x1e6e70(0x4f2)],_0x10ba36['drawingId'],_0x1740b7),this[_0x1e6e70(0x445)]=this[_0x1e6e70(0x3d8)][_0x1e6e70(0x1f5)](_0x10ba36[_0x1e6e70(0x1a6)],_0x10ba36['subUnitId'],_0x10ba36['drawingId']);let _0x2ee045=this[_0x1e6e70(0x2ad)]['getDrawingByParam']({'unitId':this['_unitId'],'subUnitId':this[_0x1e6e70(0x485)],'drawingId':this[_0x1e6e70(0x32d)]}),{transform:_0x407a5c}=_0x2ee045;if(_0x407a5c){let {left:_0x11d9d5,top:_0x3412e1,width:_0x29e5d6,height:_0x360d91}=_0x407a5c;this[_0x1e6e70(0x3db)]=_0x11d9d5||0x0,this['_baseShapeTop']=_0x3412e1||0x0,this[_0x1e6e70(0x4f4)]=_0x29e5d6||0x0,this['_baseShapeHeight']=_0x360d91||0x0;}let _0x2be57a=!!((_0x5020eb=_0x2ee045[_0x1e6e70(0x280)])!=null&&_0x5020eb[_0x1e6e70(0x26e)]),_0x925b9e=!!((_0x4c9dd8=_0x2ee045['transform'])!=null&&_0x4c9dd8[_0x1e6e70(0x2a9)]),_0xfd60b4=((_0x1b7559=_0x2ee045['transform'])==null?void 0x0:_0x1b7559['angle'])||0x0;this[_0x1e6e70(0x1d8)]=!0x0,_0xa937a6[_0x1e6e70(0x44d)]();let _0x6f5757={...((_0x489d23=this[_0x1e6e70(0x305)])==null?void 0x0:_0x489d23[_0x1e6e70(0x49f)])??{}};this['_adjHandlerPointerMove']=_0xa937a6['onPointerMove$'][_0x1e6e70(0x4d2)]((_0xcf9103,_0x48aefc)=>{const _0x5baa6f=_0x1e6e70;if(!this['_isStartAdjusting'])return;let {offsetX:_0x1ba4b1,offsetY:_0x19a7d8}=_0xcf9103,_0x3c010d=this['_activeAdjustInfo'];if(this[_0x5baa6f(0x445)]&&_0x3c010d){_0xa937a6['disableObjectsEvent'](),_0xa937a6[_0x5baa6f(0x331)](_0x2d31ad[_0x5baa6f(0x3e9)]['CROSSHAIR']);let _0x5ef1d7={'left':0x0,'top':0x0,'width':this[_0x5baa6f(0x4f4)],'height':this[_0x5baa6f(0x437)]},_0x1e6d60=this[_0x5baa6f(0x398)](this[_0x5baa6f(0x4fb)],this[_0x5baa6f(0x485)]),_0x124032=this[_0x5baa6f(0x4e3)](this[_0x5baa6f(0x4fb)],this[_0x5baa6f(0x485)]),_0x1d04e6=_0x1ba4b1/_0x124032+_0x1e6d60['x']-this[_0x5baa6f(0x3db)],_0x5b6603=_0x19a7d8/_0x124032+_0x1e6d60['y']-this[_0x5baa6f(0x2f2)];if(_0xfd60b4!==0x0){let _0xa507e7=this[_0x5baa6f(0x4f4)]/0x2,_0xb1f52f=this[_0x5baa6f(0x437)]/0x2,_0x292b04=_0xfd60b4*Math['PI']/0xb4,_0x1ccd9a=Math[_0x5baa6f(0x427)](_0x292b04),_0x3e3895=Math[_0x5baa6f(0x3ef)](_0x292b04),_0x51333b=_0x1d04e6-_0xa507e7,_0x38de8f=_0x5b6603-_0xb1f52f;_0x1d04e6=_0xa507e7+(_0x51333b*_0x1ccd9a+_0x38de8f*_0x3e3895),_0x5b6603=_0xb1f52f+(-_0x51333b*_0x3e3895+_0x38de8f*_0x1ccd9a);}_0x2be57a&&(_0x1d04e6=this[_0x5baa6f(0x4f4)]-_0x1d04e6),_0x925b9e&&(_0x5b6603=this[_0x5baa6f(0x437)]-_0x5b6603);let _0x3ef8bc={'x':_0x1d04e6,'y':_0x5b6603},_0x1d919f=this[_0x5baa6f(0x445)]['calcAdjValues'](_0x5ef1d7,_0x3ef8bc,_0x3c010d,_0x2be57a,_0x925b9e);if(Object['keys'](_0x1d919f)['length']===0x0)return;for(let [_0x596935,_0x5a01f3]of Object[_0x5baa6f(0x492)](_0x1d919f))this[_0x5baa6f(0x445)][_0x5baa6f(0x401)](_0x596935,_0x5a01f3);this[_0x5baa6f(0x445)][_0x5baa6f(0x3be)]({'width':this[_0x5baa6f(0x4f4)],'height':this[_0x5baa6f(0x437)]});let _0x23a533=this[_0x5baa6f(0x2ad)][_0x5baa6f(0x313)]({'unitId':_0x10ba36[_0x5baa6f(0x1a6)],'subUnitId':_0x10ba36[_0x5baa6f(0x4f2)],'drawingId':_0x10ba36['drawingId']});_0x23a533&&(this[_0x5baa6f(0x33e)][_0x5baa6f(0x187)](_0x23a533,_0xa937a6),this['_activeShapeAdjustPointList']=this[_0x5baa6f(0x3e5)](_0x10ba36['unitId'],_0x10ba36[_0x5baa6f(0x4f2)],_0x10ba36['drawingId']),this[_0x5baa6f(0x470)]());}_0x48aefc[_0x5baa6f(0x1e6)]();}),this['_adjHandlerPointerUp']=_0xa937a6[_0x1e6e70(0x25f)][_0x1e6e70(0x4d2)]((_0x43dcbe,_0x60a208)=>{const _0x31042f=_0x1e6e70;this[_0x31042f(0x2d6)][_0x31042f(0x1ca)](),this[_0x31042f(0x4df)][_0x31042f(0x1ca)](),_0xa937a6[_0x31042f(0x199)]();let _0x25bbbc=this[_0x31042f(0x305)];if(_0x25bbbc){let _0x43cd7c=_0x10ba36[_0x31042f(0x1a6)],_0x1d4295=_0x10ba36[_0x31042f(0x4f2)],_0x569188=_0x10ba36['drawingId'],_0x14f512={};for(let _0x5915a5 of Object[_0x31042f(0x229)](_0x25bbbc[_0x31042f(0x49f)])){var _0x4ebe47;let _0xb80ade=(_0x4ebe47=this['_activeShapeModel'])==null?void 0x0:_0x4ebe47['getAdjustValueByName'](_0x5915a5);_0xb80ade!==void 0x0&&(_0x14f512[_0x5915a5]=_0xb80ade);}Object[_0x31042f(0x229)](_0x14f512)[_0x31042f(0x384)]>0x0&&_0x33840b(this[_0x31042f(0x282)],_0x43cd7c,_0x1d4295,_0x569188,{'oldShapeData':{'adjustValues':_0x6f5757}},{'adjustValues':_0x14f512});}this[_0x31042f(0x305)]=void 0x0,this[_0x31042f(0x445)]=void 0x0,this[_0x31042f(0x1d8)]=!0x1,_0x60a208[_0x31042f(0x1e6)](),_0xa937a6[_0x31042f(0x3a8)]();}),_0x5dceff[_0x1e6e70(0x1e6)]();})));}[_0x940a9c(0x231)](){const _0x2c4436=_0x940a9c;let _0x57c0a5=this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x1ab145[_0x2c4436(0x245)][_0x2c4436(0x1ea)]);this['disposeWithMe'](_0x57c0a5[_0x2c4436(0x4fd)]((0x0,_0x2779ef[_0x2c4436(0x1b3)])(_0x3e6bf3=>_0x3e6bf3?_0x3e6bf3[_0x2c4436(0x324)][_0x2c4436(0x4fd)]((0x0,_0x2779ef[_0x2c4436(0x1b3)])(_0x34ed24=>{const _0x9104d2=_0x2c4436;if(!_0x34ed24)return _0x2779ef[_0x9104d2(0x502)];let _0x4e47fa=_0x3e6bf3[_0x9104d2(0x444)](),_0x3edc7e=this[_0x9104d2(0x30e)][_0x9104d2(0x3ad)](_0x4e47fa),_0x41075b=_0x3edc7e==null?void 0x0:_0x3edc7e[_0x9104d2(0x1ae)];return _0x41075b?(0x0,_0x2779ef['of'])(_0x41075b):_0x2779ef[_0x9104d2(0x502)];})):_0x2779ef['EMPTY']))[_0x2c4436(0x2ae)](_0x2e31d1=>{const _0x57d88c=_0x2c4436;let _0xba050=_0x2e31d1[_0x57d88c(0x203)]();this[_0x57d88c(0x378)](_0x2e31d1[_0x57d88c(0x325)][_0x57d88c(0x4d2)](()=>{const _0xe3a8ba=_0x57d88c;this[_0xe3a8ba(0x2f5)];})),this[_0x57d88c(0x378)](_0xba050[_0x57d88c(0x267)][_0x57d88c(0x2ae)](_0x2a75ff=>{const _0x1cb947=_0x57d88c;let {objects:_0xfbe34f}=_0x2a75ff;this[_0x1cb947(0x350)](),_0xfbe34f!==null&&_0xfbe34f['size']===0x1&&_0xfbe34f[_0x1cb947(0x17a)]()[_0x1cb947(0x3f1)]()[_0x1cb947(0x4bf)]instanceof _0x3be600&&this[_0x1cb947(0x3b4)](!0x0);})),this['disposeWithMe'](_0xba050[_0x57d88c(0x1ef)][_0x57d88c(0x2ae)](()=>{const _0x4498c5=_0x57d88c;this[_0x4498c5(0x2f5)]&&this[_0x4498c5(0x46c)]();})),this[_0x57d88c(0x378)](_0x2e31d1[_0x57d88c(0x25f)][_0x57d88c(0x4d2)](()=>{const _0x1e6c0d=_0x57d88c;this[_0x1e6c0d(0x2f5)]&&(this[_0x1e6c0d(0x3b4)](!0x1),this['_createShapeAdjustControls']());})),this['disposeWithMe'](_0xba050[_0x57d88c(0x432)][_0x57d88c(0x2ae)](()=>{const _0x176e1d=_0x57d88c;this[_0x176e1d(0x4fb)]&&this[_0x176e1d(0x485)]&&this[_0x176e1d(0x32d)]&&this[_0x176e1d(0x2ad)][_0x176e1d(0x313)]({'unitId':this[_0x176e1d(0x4fb)],'subUnitId':this[_0x176e1d(0x485)],'drawingId':this[_0x176e1d(0x32d)]})&&(this[_0x176e1d(0x285)]=this['_getShapeAdjustPointListById'](this[_0x176e1d(0x4fb)],this[_0x176e1d(0x485)],this[_0x176e1d(0x32d)]),this[_0x176e1d(0x470)]());}));}));}['_registerDrawingFocusChangeHandler'](){const _0x41e4f2=_0x940a9c;this['disposeWithMe'](this[_0x41e4f2(0x282)][_0x41e4f2(0x3d1)](_0x439f3a=>{const _0x3db81a=_0x41e4f2;if(_0x439f3a['id']!==_0x139146[_0x3db81a(0x443)]['id'])return;let {unitId:_0x79365f,subUnitId:_0x64812d,shapeId:_0x12d49b}=_0x439f3a[_0x3db81a(0x4ec)];_0x79365f===this[_0x3db81a(0x4fb)]&&_0x64812d===this['_subUnitId']&&_0x12d49b===this[_0x3db81a(0x32d)]&&this[_0x3db81a(0x1fc)]();})),this[_0x41e4f2(0x378)](this[_0x41e4f2(0x2ad)][_0x41e4f2(0x1bd)][_0x41e4f2(0x2ae)](_0x36df75=>{const _0x539d4d=_0x41e4f2;if(_0x36df75[_0x539d4d(0x384)]===0x1){let _0x50dc80=_0x36df75[0x0];if(_0x50dc80['drawingType']===_0x1ab145[_0x539d4d(0x2c0)][_0x539d4d(0x1fb)]&&this[_0x539d4d(0x507)]['getUnitType'](_0x50dc80['unitId'])===_0x1ab145[_0x539d4d(0x245)][_0x539d4d(0x1ea)]){this[_0x539d4d(0x32d)]=_0x50dc80[_0x539d4d(0x244)];let {unitId:_0x3f3acb,subUnitId:_0x1330fc}=_0x50dc80;this[_0x539d4d(0x285)]=this['_getShapeAdjustPointListById'](_0x3f3acb,_0x1330fc,this['_activeShapeId']),this[_0x539d4d(0x4fb)]=_0x3f3acb,this['_subUnitId']=_0x1330fc,this[_0x539d4d(0x46c)](),this['_createShapeAdjustControls']();return;}}this[_0x539d4d(0x32d)]=null,this['_activeShapeAdjustPointList']=void 0x0,this['_unitId']=null,this[_0x539d4d(0x485)]=null,this[_0x539d4d(0x46c)]();})),this[_0x41e4f2(0x378)](this[_0x41e4f2(0x2ad)][_0x41e4f2(0x1fd)][_0x41e4f2(0x2ae)](_0x4f118c=>{const _0x237bc7=_0x41e4f2;if(_0x4f118c[_0x237bc7(0x384)]===0x1){var _0x33797f;let _0x155bc1=_0x4f118c[0x0];((_0x33797f=this[_0x237bc7(0x2ad)][_0x237bc7(0x313)](_0x155bc1))==null?void 0x0:_0x33797f[_0x237bc7(0x4a9)])===_0x1ab145[_0x237bc7(0x2c0)][_0x237bc7(0x1fb)]&&this[_0x237bc7(0x356)](!0x0);}})),this[_0x41e4f2(0x378)](this['_drawingManagerService'][_0x41e4f2(0x41b)][_0x41e4f2(0x2ae)](_0x6a6af9=>{const _0x5be1c2=_0x41e4f2;for(let _0x98bb3b of _0x6a6af9)this[_0x5be1c2(0x32d)]===_0x98bb3b['drawingId']&&(this[_0x5be1c2(0x32d)]=null,this[_0x5be1c2(0x285)]=void 0x0,this[_0x5be1c2(0x4fb)]=null,this[_0x5be1c2(0x485)]=null,this[_0x5be1c2(0x46c)]());}));}};_0x3523b0=_0x58a722([_0x3107e5(0x0,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146[_0x940a9c(0x4aa)])),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x2d31ad[_0x940a9c(0x439)])),_0x3107e5(0x3,(0x0,_0x1ab145['Inject'])(_0x2da442)),_0x3107e5(0x4,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x5,_0x1ab145[_0x940a9c(0x4d9)])],_0x3523b0);let _0x2781a9={'id':_0x940a9c(0x1e7),'type':_0x1ab145['CommandType']['OPERATION'],'handler':(_0x48699a,_0x4236fd)=>{const _0x24a0c3=_0x940a9c;let _0x389505=_0x48699a[_0x24a0c3(0x1bb)](_0x21e525[_0x24a0c3(0x29d)]),_0x2b5c03=_0x48699a[_0x24a0c3(0x1bb)](_0x2d31ad[_0x24a0c3(0x439)]),_0x40cbd0=_0x48699a['get'](_0x3523b0);if(_0x4236fd==null)return!0x0;if(_0x4236fd['length']>0x0){var _0xed3a8e;let _0x11b56e=(_0xed3a8e=_0x2b5c03[_0x24a0c3(0x3ad)](_0x4236fd[0x0][_0x24a0c3(0x1a6)]))==null?void 0x0:_0xed3a8e[_0x24a0c3(0x1ae)];if(_0x11b56e){let {unitId:_0x417ee8,subUnitId:_0x2f9bb0,drawingId:_0x445b9d}=_0x4236fd[0x0],_0x1a59c0=(0x0,_0x21e525[_0x24a0c3(0x387)])({'unitId':_0x417ee8,'subUnitId':_0x2f9bb0,'drawingId':_0x445b9d},void 0x0),_0x26c852=_0x11b56e[_0x24a0c3(0x39e)](_0x1a59c0);if(_0x26c852){var _0x56b8f6;(_0x56b8f6=_0x2b5c03[_0x24a0c3(0x3ad)](_0x4236fd[0x0][_0x24a0c3(0x1a6)]))==null||(_0x56b8f6=_0x56b8f6[_0x24a0c3(0x1ae)][_0x24a0c3(0x1c9)]())==null||_0x56b8f6[_0x24a0c3(0x209)](_0x26c852);}}_0x389505['focusDrawing'](_0x4236fd),_0x40cbd0[_0x24a0c3(0x3b4)](!0x1);}return!0x0;}},_0x3d52ab={'type':_0x1ab145[_0x940a9c(0x237)]['COMMAND'],'id':_0x940a9c(0x26c),'handler':async(_0x497a15,_0x1abde4)=>{const _0xb8b35=_0x940a9c;let _0xc3bd5b=(0x0,_0x5d1313[_0xb8b35(0x2ca)])(_0x497a15[_0xb8b35(0x1bb)](_0x1ab145['IUniverInstanceService']));if(!_0xc3bd5b)return!0x1;let _0x143676=_0x497a15[_0xb8b35(0x1bb)](_0x5d1313[_0xb8b35(0x3c8)])[_0xb8b35(0x2bb)]();if(!_0x143676)return!0x1;let _0x17eee3=_0x497a15[_0xb8b35(0x1bb)](_0x1ab145['ICommandService']),{unitId:_0x4565cf,subUnitId:_0x58aea4}=_0xc3bd5b,{value:_0x4271be,enhanceParams:_0x456bc6}=_0x1abde4,{range:_0x174196}=_0x143676,_0x1daaa6={'unitId':_0x4565cf,'subUnitId':_0x58aea4,'shapeType':_0x4271be,'range':_0x174196,'shapeId':(0x0,_0x1ab145[_0xb8b35(0x3a2)])()};if(_0x456bc6){let _0x125715=(0x0,_0x1cd04f[_0xb8b35(0x404)])(_0x4271be),_0x1ebace=_0x4271be===_0x1cd04f['ShapeTypeEnum']['Rect'];_0x125715&&(_0x456bc6[_0xb8b35(0x497)]||_0x456bc6[_0xb8b35(0x36d)])&&(_0x1daaa6[_0xb8b35(0x1cc)]={'ln':{'startArrow':_0x456bc6[_0xb8b35(0x497)]?{'type':_0x1cd04f['ShapeArrowTypeEnum'][_0xb8b35(0x304)],'size':_0x1cd04f[_0xb8b35(0x2ff)][_0xb8b35(0x1f3)]}:void 0x0,'endArrow':_0x456bc6[_0xb8b35(0x36d)]?{'type':_0x1cd04f[_0xb8b35(0x242)][_0xb8b35(0x304)],'size':_0x1cd04f[_0xb8b35(0x2ff)][_0xb8b35(0x4c7)]}:void 0x0}}),_0x1ebace&&(_0x456bc6['horizontal']||_0x456bc6[_0xb8b35(0x230)])&&(_0x1daaa6[_0xb8b35(0x1cc)]=(0x0,_0x46d40c['createShapeTextBoxShapeData'])({'fill':{'fillType':_0x1cd04f[_0xb8b35(0x383)]['SolidFill'],'color':_0xb8b35(0x353)},'isHorizontal':!!_0x456bc6[_0xb8b35(0x34f)],'stroke':{'lineStrokeType':_0x1cd04f[_0xb8b35(0x1f7)]['SolidLine'],'width':0x1,'color':_0xb8b35(0x3d0)}}));}let _0x5c1c7c=_0x17eee3[_0xb8b35(0x1a3)](_0x139146[_0xb8b35(0x37f)]['id'],_0x1daaa6);return setTimeout(()=>{const _0x52acc0=_0xb8b35;_0x17eee3[_0x52acc0(0x454)](_0x2781a9['id'],[{'unitId':_0x4565cf,'subUnitId':_0x58aea4,'drawingId':_0x1daaa6[_0x52acc0(0x251)]}]);},0xc8),_0x5c1c7c;}},_0x58eec4=_0x940a9c(0x2cb),_0x428a90=_0x940a9c(0x27c),_0x4c11b0='sheet.shape.floating-toolbar',_0x1e5852=_0x940a9c(0x2e1),_0x41e6d1=(0x0,_0x1ab145[_0x940a9c(0x47a)])('SHAPE_TEXT'),_0x162892=_0x940a9c(0x343),_0xbcc240={'id':_0x940a9c(0x45e),'type':_0x1ab145[_0x940a9c(0x237)]['COMMAND'],'handler':(_0xcc1270,_0x4778db)=>{const _0x23ab50=_0x940a9c;let _0x4346a4=_0xcc1270[_0x23ab50(0x1bb)](_0x5777e1[_0x23ab50(0x289)]),_0x43a0ff=_0xcc1270['get'](_0x1ab145['LocaleService']),_0x29be04=_0xcc1270['get'](_0x1ab145[_0x23ab50(0x3f7)]),_0xd3a0a3=_0xcc1270[_0x23ab50(0x1bb)](_0x1ab145[_0x23ab50(0x4d9)]);return(0x0,_0x5d1313[_0x23ab50(0x2ca)])(_0x29be04)?(_0x4778db==null?void 0x0:_0x4778db['value'])==='close'?(_0x4346a4['close'](_0x428a90),!0x0):(_0x4346a4['open']({'id':_0x428a90,'header':{'title':_0x43a0ff['t'](_0x23ab50(0x35c))},'children':{'label':_0x428a90},'onClose':()=>{const _0x593307=_0x23ab50;_0xd3a0a3[_0x593307(0x1a3)](_0x21e525['SetDrawingSelectedOperation']['id'],[]);},'width':0x168}),!0x0):!0x1;}},_0x3b19dc={'type':_0x1ab145['CommandType'][_0x940a9c(0x2bd)],'id':_0x940a9c(0x4d1),'handler'(){return!0x0;}};function _0x2d7955(_0x4c473b){const _0x55e4e9=_0x940a9c;let _0x2c4816=_0x4c473b[_0x55e4e9(0x1bb)](_0x21e525[_0x55e4e9(0x29d)])[_0x55e4e9(0x3a4)](),_0x2c0707=_0x2c4816[_0x55e4e9(0x384)]===0x1?_0x2c4816[0x0]:null;if(!_0x2c0707||_0x2c0707['drawingType']!==_0x1ab145[_0x55e4e9(0x2c0)][_0x55e4e9(0x1fb)])return null;let _0x14fdf8=_0x4c473b[_0x55e4e9(0x1bb)](_0x139146[_0x55e4e9(0x4aa)]),_0x5043da=_0x14fdf8[_0x55e4e9(0x1e2)](_0x2c0707[_0x55e4e9(0x1a6)],_0x2c0707[_0x55e4e9(0x4f2)],_0x2c0707['drawingId']),_0x24a103=_0x14fdf8[_0x55e4e9(0x336)](_0x2c0707[_0x55e4e9(0x1a6)],_0x2c0707[_0x55e4e9(0x4f2)],_0x2c0707['drawingId']);return _0x5043da===void 0x0||!_0x24a103?null:{'drawing':_0x2c0707,'shapeData':_0x24a103,'shapeType':_0x5043da};}let _0x5ad1be={'id':_0x940a9c(0x241),'type':_0x1ab145[_0x940a9c(0x237)][_0x940a9c(0x2bd)],'handler':(_0xa51d92,_0x13a656)=>{const _0x3b6879=_0x940a9c;let _0x259113=_0x2d7955(_0xa51d92),_0x57c3a2=(0x0,_0x46d40c[_0x3b6879(0x2de)])((_0x13a656==null?void 0x0:_0x13a656['presetId'])??(_0x13a656==null?void 0x0:_0x13a656['value'])??'');if(!_0x259113||!_0x57c3a2||_0x57c3a2['type']!==(0x0,_0x46d40c[_0x3b6879(0x30a)])(_0x259113[_0x3b6879(0x1cc)]))return!0x1;let _0x47f300=(0x0,_0x46d40c['applyQuickStyleToShapeData'])(_0x259113[_0x3b6879(0x1cc)],_0x57c3a2);if(!_0x47f300)return!0x1;let {drawing:_0x779102}=_0x259113;return _0xa51d92['get'](_0x1ab145[_0x3b6879(0x4d9)])[_0x3b6879(0x454)](_0x875b98['id'],{'unitId':_0x779102[_0x3b6879(0x1a6)],'subUnitId':_0x779102[_0x3b6879(0x4f2)],'shapeId':_0x779102['drawingId'],'shapeData':_0x47f300,'oldShapeJSON':{'oldShapeData':_0x259113[_0x3b6879(0x1cc)]}});}},_0x2b0f82={'id':_0x940a9c(0x301),'type':_0x1ab145[_0x940a9c(0x237)][_0x940a9c(0x2bd)],'handler':(_0x3606fb,_0x1345fa)=>{const _0x298830=_0x940a9c;let _0xc54459=_0x2d7955(_0x3606fb),_0x39be4d=(_0x1345fa==null?void 0x0:_0x1345fa[_0x298830(0x257)])??(_0x1345fa==null?void 0x0:_0x1345fa['value']);if(!_0xc54459||!_0x39be4d||(0x0,_0x1cd04f['isConnectorShape'])(_0xc54459['shapeType'])||(0x0,_0x1cd04f[_0x298830(0x404)])(_0x39be4d))return!0x1;let _0x18bf67=(0x0,_0x46d40c[_0x298830(0x40e)])(_0xc54459[_0x298830(0x1cc)],_0x39be4d);if(!_0x18bf67)return!0x1;let {drawing:_0x350752}=_0xc54459;return _0x3606fb[_0x298830(0x1bb)](_0x1ab145[_0x298830(0x4d9)])[_0x298830(0x454)](_0x875b98['id'],{'unitId':_0x350752[_0x298830(0x1a6)],'subUnitId':_0x350752[_0x298830(0x4f2)],'shapeId':_0x350752['drawingId'],'shapeType':_0x39be4d,'shapeData':_0x18bf67,'replaceShapeData':!0x0,'oldShapeJSON':{'oldShapeType':_0xc54459[_0x298830(0x257)],'oldShapeData':_0xc54459[_0x298830(0x1cc)]}});}},_0x5e68ef=class extends _0x1ab145['Disposable']{constructor(_0x373d01,_0x53426d){const _0x3d43ae=_0x940a9c;super(),this[_0x3d43ae(0x493)]=_0x373d01,this[_0x3d43ae(0x2ad)]=_0x53426d,this['_registerImageShapeClipDelegate'](),this[_0x3d43ae(0x493)][_0x3d43ae(0x1eb)](!0x0),this['disposeWithMe']({'dispose':()=>this[_0x3d43ae(0x493)][_0x3d43ae(0x1eb)](!0x1)});}[_0x940a9c(0x397)](){const _0x1619b6=_0x940a9c;let _0x6c7d66=this[_0x1619b6(0x493)],_0x15927c=new Map(),_0x129f9d=_0x6c7d66[_0x1619b6(0x362)]((_0x29a09d,_0x40e2a6,_0x8cf2f6,_0x2a821b,_0x1e94eb)=>{const _0x5a2336=_0x1619b6;let _0x7b3653=_0x40e2a6;if(_0x7b3653===_0x1cd04f['ShapeTypeEnum'][_0x5a2336(0x254)]||_0x40e2a6===_0x5a2336(0x2b6))return!0x1;try{let _0xe24aac=_0x15927c['get'](_0x40e2a6);return _0xe24aac||(_0xe24aac=new _0x1cd04f[(_0x5a2336(0x332))](_0x7b3653,_0x5a2336(0x2ac)+_0x40e2a6),_0x15927c[_0x5a2336(0x2c4)](_0x40e2a6,_0xe24aac)),_0xe24aac[_0x5a2336(0x28d)](),_0x1e94eb&&Object['keys'](_0x1e94eb)['length']>0x0&&_0xe24aac[_0x5a2336(0x20a)]({'adjustValues':_0x1e94eb},!0x0),_0xe24aac['updateContext']({'width':_0x8cf2f6,'height':_0x2a821b}),_0xe24aac[_0x5a2336(0x38b)](_0x29a09d,{'left':0x0,'top':0x0,'width':_0x8cf2f6,'height':_0x2a821b});}catch{return!0x1;}});this[_0x1619b6(0x378)](_0x129f9d),this['disposeWithMe']({'dispose':()=>_0x15927c['clear']()});}[_0x940a9c(0x49b)](_0x28316b,_0xdd8b0a,_0xe85ceb,_0x5b5f7b,_0xe8e495){const _0x8168fa=_0x940a9c;let _0x35afdb=this[_0x8168fa(0x2ad)][_0x8168fa(0x23d)](_0x28316b,_0xdd8b0a);if(!_0x35afdb[_0xe85ceb])return;let _0x4a583b={..._0x35afdb[_0xe85ceb],'prstGeom':_0x5b5f7b,'adjustValues':_0xe8e495};this[_0x8168fa(0x2ad)][_0x8168fa(0x50b)]([_0x4a583b]);}};_0x5e68ef=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x548bf5[_0x940a9c(0x368)])),_0x3107e5(0x1,(0x0,_0x1ab145['Inject'])(_0x21e525['IDrawingManagerService']))],_0x5e68ef);let _0x4b8b18=_0x940a9c(0x334),_0x1bdb2b=_0x940a9c(0x33c);function _0x565db6({onShapeClick:_0x35c3e4,excludeGroups:_0x20d5ec}){const _0x307433=_0x940a9c;return(0x0,_0x40a892[_0x307433(0x4d4)])(_0x33caa0[_0x307433(0x421)],{'excludeGroups':_0x20d5ec,'onShapeClick':_0x35c3e4,'scrollContainer':_0x307433(0x47b)});}function _0x53ddfd(){const _0x17b7f9=_0x940a9c;let _0x4e072f=(0x0,_0x5777e1[_0x17b7f9(0x4d7)])(_0x21e525['IDrawingManagerService']),_0xd753b9=(0x0,_0x5777e1[_0x17b7f9(0x4d7)])(_0x5e68ef);return(0x0,_0x40a892[_0x17b7f9(0x4d4)])(_0x33caa0[_0x17b7f9(0x29a)],{'buttonLabel':'sheets-shape-ui.imagePanel.crop.shape','excludeGroups':[_0x33caa0[_0x17b7f9(0x4ef)][_0x17b7f9(0x39b)]],'onShapeClick':_0x406b5f=>{const _0xb3f9c5=_0x17b7f9;let _0x5d5ecd=_0x4e072f[_0xb3f9c5(0x3a4)]()[_0xb3f9c5(0x34d)](_0x17b537=>_0x17b537[_0xb3f9c5(0x4a9)]===_0x1ab145[_0xb3f9c5(0x2c0)]['DRAWING_IMAGE']);if(!_0x5d5ecd)return;let {unitId:_0x97b337,subUnitId:_0x30909b,drawingId:_0xd12e49}=_0x5d5ecd;_0xd753b9[_0xb3f9c5(0x49b)](_0x97b337,_0x30909b,_0xd12e49,_0x406b5f['type']);}});}function _0x408737(){const _0x3112f9=_0x940a9c;let _0x4f1289=(0x0,_0x5777e1['useDependency'])(_0x5777e1[_0x3112f9(0x4bc)]),_0x23975a=(0x0,_0x5777e1[_0x3112f9(0x4d7)])(_0x21e525[_0x3112f9(0x29d)]),_0x4ae8d8=(0x0,_0x5777e1['useDependency'])(_0x1ab145[_0x3112f9(0x3f7)]),_0x31a306=_0x23975a[_0x3112f9(0x3a4)]()[0x0],_0x41e520=_0x31a306?_0x4ae8d8[_0x3112f9(0x409)](_0x31a306[_0x3112f9(0x1a6)]):void 0x0,_0x55e912=_0x41e520===_0x1ab145[_0x3112f9(0x245)][_0x3112f9(0x275)]?_0x3112f9(0x3e3):_0x41e520===_0x1ab145[_0x3112f9(0x245)][_0x3112f9(0x1ea)]?_0x1bdb2b:void 0x0,_0x4ae362=_0x55e912?_0x4f1289[_0x3112f9(0x1bb)](_0x55e912):void 0x0;return _0x4ae362?(0x0,_0x40a892[_0x3112f9(0x4d4)])(_0x4ae362,{}):null;}function _0x19ded8(){const _0x139129=_0x940a9c;let _0x24e0bd=(0x0,_0x5777e1[_0x139129(0x4d7)])(_0x1ab145[_0x139129(0x4d9)]);return(0x0,_0x40a892[_0x139129(0x4d4)])(_0x565db6,{'onShapeClick':_0x1f26e4=>{const _0x69aaa0=_0x139129;_0x24e0bd[_0x69aaa0(0x454)](_0x3d52ab['id'],{'value':_0x1f26e4['type'],'enhanceParams':{'endArrow':_0x1f26e4[_0x69aaa0(0x36d)],'startArrow':_0x1f26e4['startArrow'],'horizontal':_0x1f26e4[_0x69aaa0(0x34f)],'vertical':_0x1f26e4[_0x69aaa0(0x230)]}});}});}function _0x47c625(_0x1ad537){const _0x110022=_0x940a9c;let _0x111891=_0x1ad537[_0x110022(0x1bb)](_0x1ab145[_0x110022(0x3f7)]);return{'id':_0x3d52ab['id'],'type':_0x5777e1['MenuItemType'][_0x110022(0x3ba)],'selections':[{'label':{'name':_0x4b8b18,'hoverable':!0x1,'selectable':!0x1,'props':{'id':_0x3d52ab['id']}}}],'icon':_0x110022(0x201),'tooltip':_0x110022(0x4de),'activated$':(0x0,_0x3a57a4[_0x110022(0x315)])(_0x111891,!0x1,()=>new _0x2779ef['Observable'](_0x3f2aae=>{_0x3f2aae['next'](!0x1);})),'hidden$':(0x0,_0x5777e1[_0x110022(0x264)])(_0x1ad537,_0x1ab145['UniverInstanceType'][_0x110022(0x1ea)]),'disabled$':(0x0,_0x3a57a4[_0x110022(0x299)])(_0x1ad537)};}function _0x2ed92b(_0x41256a){const _0x659d71=_0x940a9c;let _0x3fa83e=_0x41256a[_0x659d71(0x1bb)](_0x1ab145[_0x659d71(0x3f7)]);return{'id':_0xbcc240['id'],'type':_0x5777e1[_0x659d71(0x2a0)][_0x659d71(0x478)],'icon':_0x659d71(0x4a4),'title':'sheets-shape-ui.objectListPanel.open','tooltip':_0x659d71(0x22d),'activated$':(0x0,_0x3a57a4['deriveStateFromActiveSheet$'])(_0x3fa83e,!0x1,()=>new _0x2779ef['Observable'](_0x2fa38b=>{const _0x38009b=_0x659d71;_0x2fa38b[_0x38009b(0x3f1)](!0x1);})),'hidden$':(0x0,_0x5777e1[_0x659d71(0x264)])(_0x41256a,_0x1ab145[_0x659d71(0x245)][_0x659d71(0x1ea)]),'disabled$':(0x0,_0x3a57a4[_0x659d71(0x299)])(_0x41256a)};}let _0x12038b=_0x940a9c(0x2b5),_0x2cb912=_0x940a9c(0x212);function _0x3d3b10(_0x5b8748){const _0x2f5ce0=_0x940a9c;let _0x391acc=_0x5b8748[_0x2f5ce0(0x1bb)](_0x21e525[_0x2f5ce0(0x29d)])[_0x2f5ce0(0x3a4)]();return _0x391acc[_0x2f5ce0(0x384)]===0x1&&_0x391acc[0x0]['drawingType']===_0x1ab145['DrawingTypeEnum'][_0x2f5ce0(0x1fb)]?_0x391acc[0x0]:null;}function _0x417392(_0x540d41){const _0x5c7353=_0x940a9c;let _0x12626e=_0x540d41[_0x5c7353(0x1bb)](_0x21e525[_0x5c7353(0x29d)]);return _0x12626e[_0x5c7353(0x1bd)][_0x5c7353(0x4fd)]((0x0,_0x2779ef[_0x5c7353(0x4f5)])(_0x12626e[_0x5c7353(0x3a4)]()),(0x0,_0x2779ef[_0x5c7353(0x4b2)])(_0x21efa5=>_0x21efa5[_0x5c7353(0x384)]!==0x1||_0x21efa5[0x0]['drawingType']!==_0x1ab145['DrawingTypeEnum'][_0x5c7353(0x1fb)]));}function _0x22a659(_0x44ec85){const _0x599188=_0x940a9c;return{'id':_0x12038b,'commandId':_0x139146['ToggleSheetsShapeFlipCommand']['id'],'type':_0x5777e1[_0x599188(0x2a0)][_0x599188(0x478)],'title':_0x599188(0x48c),'tooltip':_0x599188(0x48c),'icon':_0x599188(0x4ce),'hidden$':_0x417392(_0x44ec85),'params':()=>{const _0x37efcd=_0x599188;let _0x4ee2f2=_0x3d3b10(_0x44ec85);return _0x4ee2f2?{'unitId':_0x4ee2f2[_0x37efcd(0x1a6)],'subUnitId':_0x4ee2f2[_0x37efcd(0x4f2)],'shapeId':_0x4ee2f2['drawingId'],'flipH':!0x0}:void 0x0;}};}function _0x37f224(_0x1b2554){const _0x4d1261=_0x940a9c;return{'id':_0x2cb912,'commandId':_0x139146[_0x4d1261(0x183)]['id'],'type':_0x5777e1[_0x4d1261(0x2a0)]['BUTTON'],'title':_0x4d1261(0x394),'tooltip':_0x4d1261(0x394),'icon':_0x4d1261(0x2ab),'hidden$':_0x417392(_0x1b2554),'params':()=>{const _0x4f54c7=_0x4d1261;let _0x59dead=_0x3d3b10(_0x1b2554);return _0x59dead?{'unitId':_0x59dead[_0x4f54c7(0x1a6)],'subUnitId':_0x59dead[_0x4f54c7(0x4f2)],'shapeId':_0x59dead[_0x4f54c7(0x244)],'flipV':!0x0}:void 0x0;}};}let _0x3ad45b=_0x940a9c(0x24f),_0x57c8fd=_0x940a9c(0x310),_0x40f692='sheets-shape-ui.shape-format.text-ribbon-control',_0x1890ae=_0x940a9c(0x328);function _0x20e64b(){const _0x22295f=_0x940a9c;let _0x3bedcb=(0x0,_0x5777e1[_0x22295f(0x4d7)])(_0x1ab145[_0x22295f(0x4d9)]),_0x3048e8=(0x0,_0x5777e1[_0x22295f(0x4d7)])(_0x21e525[_0x22295f(0x29d)]),_0x43c946=(0x0,_0x5777e1[_0x22295f(0x4d7)])(_0x139146[_0x22295f(0x4aa)]),_0x40c711=()=>{const _0x113983=_0x22295f;var _0x3dc127;let _0xc7fcbe=_0x3048e8[_0x113983(0x3a4)]();if(_0xc7fcbe[_0x113983(0x384)]!==0x1||((_0x3dc127=_0xc7fcbe[0x0])==null?void 0x0:_0x3dc127['drawingType'])!==_0x1ab145[_0x113983(0x2c0)][_0x113983(0x1fb)])return null;let {unitId:_0x890902,subUnitId:_0x187ac0,drawingId:_0x4d047}=_0xc7fcbe[0x0],_0x4a0f8c=_0x43c946[_0x113983(0x1e2)](_0x890902,_0x187ac0,_0x4d047),_0xb8bed8=_0x43c946[_0x113983(0x336)](_0x890902,_0x187ac0,_0x4d047);return _0x4a0f8c===void 0x0||!_0xb8bed8?null:{'unitId':_0x890902,'subUnitId':_0x187ac0,'drawingId':_0x4d047,'shapeType':_0x4a0f8c,'shapeData':_0xb8bed8};},_0x222b98=(0x0,_0x5777e1[_0x22295f(0x3cf)])(()=>new _0x2779ef[(_0x22295f(0x40d))](_0x112c67=>{const _0x57c815=_0x22295f;let _0x1e368c=()=>_0x112c67['next'](_0x40c711()),_0x4dd637=_0x3048e8[_0x57c815(0x1bd)]['subscribe'](_0x1e368c),_0x194408=_0x3bedcb[_0x57c815(0x3d1)](_0x4930b4=>{const _0x404076=_0x57c815;_0x4930b4['id']===_0x139146[_0x404076(0x443)]['id']&&_0x1e368c();});return _0x1e368c(),()=>{const _0x5167af=_0x57c815;_0x4dd637[_0x5167af(0x1ca)](),_0x194408['dispose']();};}),_0x40c711(),!0x1,[_0x3bedcb,_0x3048e8,_0x43c946]);return{'selection':_0x222b98,'updateShapeData':_0x2a04a5=>{const _0x74e250=_0x22295f;_0x222b98&&_0x33840b(_0x3bedcb,_0x222b98[_0x74e250(0x1a6)],_0x222b98[_0x74e250(0x4f2)],_0x222b98[_0x74e250(0x244)],{'oldShapeData':_0x222b98[_0x74e250(0x1cc)]},_0x2a04a5);}};}function _0x2258e8(){const _0x1bcba7=_0x940a9c;let {selection:_0x61c506,updateShapeData:_0x397eea}=_0x20e64b();return _0x61c506?(0x0,_0x40a892[_0x1bcba7(0x4d4)])(_0x33caa0[_0x1bcba7(0x22b)],{'shapeData':_0x61c506[_0x1bcba7(0x1cc)],'shapeType':_0x61c506['shapeType'],'onUpdateShapeData':_0x397eea}):null;}function _0x1f79bb(){const _0x82aa84=_0x940a9c;let _0x3addf6=(0x0,_0x5777e1[_0x82aa84(0x4d7)])(_0x1ab145[_0x82aa84(0x4d9)]),_0x311dd6=(0x0,_0x5777e1[_0x82aa84(0x4d7)])(_0x1ab145['LocaleService']),{selection:_0x1d3dc1}=_0x20e64b();return _0x1d3dc1?(0x0,_0x40a892['jsx'])(_0x33caa0[_0x82aa84(0x395)],{'type':(0x0,_0x46d40c[_0x82aa84(0x30a)])(_0x1d3dc1[_0x82aa84(0x1cc)]),'ariaLabel':_0x311dd6['t']('sheets-shape-ui.quickStyles'),'activePresetId':(0x0,_0x46d40c[_0x82aa84(0x1d1)])(_0x1d3dc1[_0x82aa84(0x1cc)]),'onSelect':_0x2d8f84=>_0x3addf6[_0x82aa84(0x454)](_0x5ad1be['id'],{'presetId':_0x2d8f84})}):null;}function _0x5baa85(){const _0x3bd156=_0x940a9c;let {selection:_0xe55504,updateShapeData:_0x25eedb}=_0x20e64b();return _0xe55504?(0x0,_0x40a892[_0x3bd156(0x4d4)])(_0x33caa0['ShapeTextRibbonControl'],{'fontFamilyPopupDataComponent':_0x3bd156(0x1da),'shapeData':_0xe55504[_0x3bd156(0x1cc)],'onUpdateShapeData':_0x25eedb}):null;}function _0x4631cd(){const _0x39fdd7=_0x940a9c;var _0x563545;let {selection:_0x423249,updateShapeData:_0x145d9f}=_0x20e64b(),_0x2a7810=(0x0,_0x33caa0['useFormulaShapeToolbar'])({'hostType':_0x1ab145['UniverInstanceType'][_0x39fdd7(0x1ea)],'unitId':(_0x423249==null?void 0x0:_0x423249['unitId'])??'','subUnitId':(_0x423249==null?void 0x0:_0x423249[_0x39fdd7(0x4f2)])??'','shapeId':(_0x423249==null?void 0x0:_0x423249[_0x39fdd7(0x244)])??'','shapeData':_0x423249==null?void 0x0:_0x423249[_0x39fdd7(0x1cc)],'registerBinding':!0x1,'showLabels':!0x0,'dropdownSide':'bottom','onUpdateBinding':_0x4de4da=>_0x145d9f({'formulaBinding':_0x4de4da})}),_0x175d79=((_0x563545=_0x2a7810[_0x39fdd7(0x347)])==null?void 0x0:_0x563545[_0x39fdd7(0x3af)](_0xba791c=>_0xba791c[_0x39fdd7(0x21f)])[_0x39fdd7(0x29f)](_0x5bbbad=>_0x5bbbad[_0x39fdd7(0x4cb)]!==!0x1))??[];return _0x423249!=null&&_0x423249[_0x39fdd7(0x1cc)][_0x39fdd7(0x49c)]?(0x0,_0x40a892['jsx'])(_0x33caa0[_0x39fdd7(0x2fc)],{'actions':_0x175d79,'panel':_0x2a7810['panel']}):null;}let _0x2dc8ee=_0x940a9c(0x422),_0x2a146c=_0x940a9c(0x213),_0xda93d6=_0x940a9c(0x18e),_0x54117d=_0x940a9c(0x2d5),_0x1bfa77=_0x940a9c(0x352),_0x4322cb=_0x940a9c(0x274),_0x185217=_0x940a9c(0x434);function _0x42467b(_0x64a674){const _0x3ab2a8=_0x940a9c;let _0x3930b8=_0x64a674[_0x3ab2a8(0x1bb)](_0x1ab145[_0x3ab2a8(0x4d9)]),_0x519e24=_0x64a674['get'](_0x21e525['IDrawingManagerService']),_0x343045=_0x64a674[_0x3ab2a8(0x1bb)](_0x139146[_0x3ab2a8(0x4aa)]);return new _0x2779ef[(_0x3ab2a8(0x40d))](_0x2ee354=>{const _0x26ee78=_0x3ab2a8;let _0x51e45c=()=>{const _0xd2c6b2=_0x4793;let _0x550997=_0x516cf4(_0x64a674),_0x62adce=_0x550997?_0x343045[_0xd2c6b2(0x336)](_0x550997[_0xd2c6b2(0x1a6)],_0x550997[_0xd2c6b2(0x4f2)],_0x550997[_0xd2c6b2(0x244)]):null;_0x2ee354['next'](_0x62adce?(0x0,_0x46d40c[_0xd2c6b2(0x1d1)])(_0x62adce)??'':'');},_0x39cd75=_0x519e24[_0x26ee78(0x1bd)][_0x26ee78(0x2ae)](_0x51e45c),_0x3d8202=_0x3930b8[_0x26ee78(0x3d1)](_0xda95d8=>{_0xda95d8['id']===_0x139146['UpdateSheetsShapeDataMutation']['id']&&_0x51e45c();});return _0x51e45c(),()=>{const _0x1bad03=_0x26ee78;_0x39cd75[_0x1bad03(0x1ca)](),_0x3d8202['dispose']();};});}function _0x516cf4(_0x3ce6f7){const _0x35e6e9=_0x940a9c;var _0x56b119;let _0x1c8539=_0x3ce6f7['get'](_0x21e525['IDrawingManagerService'])[_0x35e6e9(0x3a4)]();return _0x1c8539['length']===0x1&&((_0x56b119=_0x1c8539[0x0])==null?void 0x0:_0x56b119['drawingType'])===_0x1ab145['DrawingTypeEnum'][_0x35e6e9(0x1fb)]?_0x1c8539[0x0]:null;}function _0x191282(_0x5e5400,_0xafcebc=!0x1){const _0x1cc3fc=_0x940a9c;let _0x5742d8=_0x5e5400[_0x1cc3fc(0x1bb)](_0x1ab145[_0x1cc3fc(0x4d9)]),_0x52de20=_0x5e5400[_0x1cc3fc(0x1bb)](_0x21e525[_0x1cc3fc(0x29d)]),_0x4c067e=_0x5e5400['get'](_0x139146[_0x1cc3fc(0x4aa)]);return new _0x2779ef[(_0x1cc3fc(0x40d))](_0x4ba431=>{const _0x2ebbb3=_0x1cc3fc;let _0x2ed291=()=>{const _0x51d785=_0x4793;let _0x1b89fb=_0x516cf4(_0x5e5400);if(!_0x1b89fb){_0x4ba431[_0x51d785(0x3f1)](!0x0);return;}let _0x3e4446=_0x4c067e[_0x51d785(0x336)](_0x1b89fb[_0x51d785(0x1a6)],_0x1b89fb[_0x51d785(0x4f2)],_0x1b89fb[_0x51d785(0x244)]);_0x4ba431['next'](!_0x3e4446||_0xafcebc&&_0x3e4446[_0x51d785(0x49c)]==null);},_0xae72=_0x52de20['focus$'][_0x2ebbb3(0x2ae)](_0x2ed291),_0x254b47=_0x5742d8[_0x2ebbb3(0x3d1)](_0x44108c=>{const _0x4dafde=_0x2ebbb3;_0x44108c['id']===_0x139146[_0x4dafde(0x443)]['id']&&_0x2ed291();});return _0x2ed291(),()=>{const _0x265dbf=_0x2ebbb3;_0xae72['unsubscribe'](),_0x254b47[_0x265dbf(0x25b)]();};});}function _0x3d73c9(_0x3bda53){const _0x3ad2c3=_0x940a9c;let _0x52695f=_0x3bda53[_0x3ad2c3(0x1bb)](_0x21e525['IDrawingManagerService']),_0x490e45=_0x3bda53[_0x3ad2c3(0x1bb)](_0x139146[_0x3ad2c3(0x4aa)]);return _0x52695f[_0x3ad2c3(0x1bd)]['pipe']((0x0,_0x2779ef[_0x3ad2c3(0x4f5)])(_0x52695f['getFocusDrawings']()),(0x0,_0x2779ef[_0x3ad2c3(0x4b2)])(()=>{const _0x4d3f95=_0x3ad2c3;let _0x13882f=_0x516cf4(_0x3bda53),_0x4e25f7=_0x13882f?_0x490e45['getShapeTypeById'](_0x13882f['unitId'],_0x13882f[_0x4d3f95(0x4f2)],_0x13882f['drawingId']):void 0x0;return _0x4e25f7===void 0x0||(0x0,_0x1cd04f['isConnectorShape'])(_0x4e25f7);}));}function _0x150791(_0x14a177){const _0x34499a=_0x940a9c;return{'id':_0x5ad1be['id'],'type':_0x5777e1[_0x34499a(0x2a0)][_0x34499a(0x3ba)],'icon':_0x34499a(0x442),'title':'shape-editor-ui.toolbar.quickStyles','tooltip':'shape-editor-ui.toolbar.quickStyles','selections':[{'label':{'name':_0x3ad45b,'hoverable':!0x1,'selectable':!0x1}}],'value$':_0x42467b(_0x14a177),'hidden$':_0x191282(_0x14a177)};}function _0x437a76(_0x26f95a){const _0x1bd02e=_0x940a9c;return{'id':_0x2b0f82['id'],'type':_0x5777e1[_0x1bd02e(0x2a0)][_0x1bd02e(0x3ba)],'icon':_0x1bd02e(0x201),'title':_0x1bd02e(0x37d),'tooltip':'shape-editor-ui.toolbar.changeShape','slot':!0x0,'selections':[{'label':{'name':_0x33caa0[_0x1bd02e(0x4eb)],'hoverable':!0x1,'selectable':!0x1}}],'hidden$':_0x3d73c9(_0x26f95a)};}function _0x202f01(_0x127242,_0x18fbb7,_0x335c44=!0x1){const _0x1f78a7=_0x940a9c;return _0x150070=>({'id':_0x127242,'type':_0x5777e1[_0x1f78a7(0x2a0)][_0x1f78a7(0x478)],'label':{'name':_0x18fbb7,'hoverable':!0x1,'selectable':!0x1},'hidden$':_0x191282(_0x150070,_0x335c44)});}let _0x1f6726=_0x202f01(_0x2dc8ee,_0x57c8fd),_0x1823b4=_0x202f01(_0x2a146c,_0x40f692),_0xab226=_0x202f01(_0xda93d6,_0x1890ae,!0x0);function _0x23e21a(_0x1e1093,_0xf7ade4,_0x53e6dc,_0x1ed73d){const _0x40c61b=_0x940a9c;return _0xbe0aba=>({'id':_0x1e1093,'commandId':_0x4d7bf9[_0x40c61b(0x31e)]['id'],'type':_0x5777e1[_0x40c61b(0x2a0)][_0x40c61b(0x478)],'icon':_0x53e6dc,'title':_0x1ed73d,'tooltip':_0x1ed73d,'hidden$':_0x191282(_0xbe0aba),'params':()=>{const _0x3afde6=_0x40c61b;let _0x241b6f=_0x516cf4(_0xbe0aba);return _0x241b6f?{'unitId':_0x241b6f[_0x3afde6(0x1a6)],'subUnitId':_0x241b6f[_0x3afde6(0x4f2)],'drawingIds':[_0x241b6f['drawingId']],'arrangeType':_0xf7ade4}:void 0x0;}});}let _0xdb0a6e=_0x23e21a(_0x54117d,_0x1ab145[_0x940a9c(0x176)][_0x940a9c(0x279)],_0x940a9c(0x302),_0x940a9c(0x4ee)),_0x2b1d54=_0x23e21a(_0x1bfa77,_0x1ab145['ArrangeTypeEnum'][_0x940a9c(0x1d2)],'MoveDownIcon',_0x940a9c(0x308)),_0x477335=_0x23e21a(_0x4322cb,_0x1ab145[_0x940a9c(0x176)]['front'],_0x940a9c(0x22a),_0x940a9c(0x1cb)),_0x1bc60f=_0x23e21a(_0x185217,_0x1ab145[_0x940a9c(0x176)]['back'],_0x940a9c(0x3fd),_0x940a9c(0x3cc));function _0x4592e9(_0x426f08){const _0x7bace=_0x940a9c;return{'id':_0x3b19dc['id'],'type':_0x5777e1['MenuItemType']['BUTTON'],'icon':_0x7bace(0x22f),'title':_0x7bace(0x43a),'tooltip':_0x7bace(0x43a),'hidden$':_0x191282(_0x426f08),'params':()=>{const _0x1ea15a=_0x7bace;let _0x36095e=_0x516cf4(_0x426f08);return _0x36095e?{'unitId':_0x36095e[_0x1ea15a(0x1a6)],'subUnitId':_0x36095e[_0x1ea15a(0x4f2)],'drawingId':_0x36095e[_0x1ea15a(0x244)]}:void 0x0;}};}let _0x58b92c={[_0x5777e1[_0x940a9c(0x4e2)][_0x940a9c(0x363)]]:{[_0x1e5852]:{'order':0x64,'title':'sheets-shape-ui.formatShape','contextual':!0x0,'sheets-shape-ui.ribbon.shape-format.quick-styles':{'order':0x0,[_0x5ad1be['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x150791},[_0x2b0f82['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x437a76}},'sheets-shape-ui.ribbon.shape-format.style':{'order':0x1,[_0x2dc8ee]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x68},'menuItemFactory':_0x1f6726}},'sheets-shape-ui.ribbon.shape-format.text':{'order':0x2,[_0x2a146c]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x158},'menuItemFactory':_0x1823b4}},'sheets-shape-ui.ribbon.shape-format.arrange':{'order':0x3,[_0x12038b]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1},'menuItemFactory':_0x22a659},[_0x2cb912]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1},'menuItemFactory':_0x37f224},[_0x54117d]:{'order':0x2,'gridLayout':{'row':0x1,'column':0x2},'menuItemFactory':_0xdb0a6e},[_0x1bfa77]:{'order':0x3,'gridLayout':{'row':0x2,'column':0x2},'menuItemFactory':_0x2b1d54},[_0x4322cb]:{'order':0x4,'gridLayout':{'row':0x1,'column':0x3},'menuItemFactory':_0x477335},[_0x185217]:{'order':0x5,'gridLayout':{'row':0x2,'column':0x3},'menuItemFactory':_0x1bc60f}},'sheets-shape-ui.ribbon.shape-format.formula':{'order':0x4,[_0xda93d6]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'width':0x78},'menuItemFactory':_0xab226}},'sheets-shape-ui.ribbon.shape-format.advanced':{'order':0x5,[_0x3b19dc['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x4592e9},[_0x33caa0[_0x940a9c(0x358)]['id']]:{'order':0x1,'gridLayout':{'row':0x2,'column':0x1,'showLabel':!0x0},'menuItemFactory':_0x33caa0['ShapeFloatingToolbarToggleFactory']}}}}},_0x59bac8={[_0x5777e1[_0x940a9c(0x420)]['MEDIA']]:{[_0x3d52ab['id']]:{'order':0x4,'menuItemFactory':_0x47c625}},[_0x5777e1[_0x940a9c(0x420)]['OTHERS']]:{[_0xbcc240['id']]:{'order':0x0,'gridLayout':{'row':0x1,'column':0x1,'rowSpan':0x2,'showLabel':!0x0},'menuItemFactory':_0x2ed92b}},[_0x5777e1['ContextMenuPosition']['DRAWING']]:{[_0x5777e1[_0x940a9c(0x474)][_0x940a9c(0x3c5)]]:{[_0x12038b]:{'order':0x4,'menuItemFactory':_0x22a659},[_0x2cb912]:{'order':0x5,'menuItemFactory':_0x37f224}}}};var _0x49919b=_0x940a9c(0x3a7),_0x49f6d5=_0x940a9c(0x32f);let _0x5a05fb={'type':_0x1ab145[_0x940a9c(0x237)][_0x940a9c(0x2bd)],'id':_0x940a9c(0x24e),'handler'(){return!0x0;}},_0x4ffbfe={};function _0x3ac700({ref:_0x41c816,..._0x46f423}){const _0x3a6a62=_0x940a9c;let {icon:_0x4112e0,id:_0x2aa6b6,className:_0x5a523b,extend:_0x42e51f,..._0x340fb8}=_0x46f423,_0x554aad=(_0x3a6a62(0x32c)+_0x2aa6b6+'\x20'+(_0x5a523b||''))[_0x3a6a62(0x506)](),_0x4f297a=(0x0,_0xb1307d[_0x3a6a62(0x4fe)])('_'+_0x3414ee());return _0x4896b2(_0x4112e0,''+_0x2aa6b6,{'defIds':_0x4112e0[_0x3a6a62(0x466)],'idSuffix':_0x4f297a[_0x3a6a62(0x489)]},{'ref':_0x41c816,'className':_0x554aad,..._0x340fb8},_0x42e51f);}function _0x4896b2(_0x8062,_0x4ee846,_0x5a988f,_0x27a0ba,_0x423247){const _0x513c6c=_0x940a9c;return(0x0,_0xb1307d[_0x513c6c(0x3e8)])(_0x8062[_0x513c6c(0x1d9)],{'key':_0x4ee846,..._0x35cd17(_0x8062,_0x5a988f,_0x423247),..._0x27a0ba},(_0x52fab9(_0x8062,_0x5a988f)[_0x513c6c(0x48d)]||[])[_0x513c6c(0x4b2)]((_0x16761b,_0x403271)=>_0x4896b2(_0x16761b,_0x4ee846+'-'+_0x8062[_0x513c6c(0x1d9)]+'-'+_0x403271,_0x5a988f,void 0x0,_0x423247)));}function _0x35cd17(_0x37528d,_0x16e7fe,_0x2fe739){const _0x545f25=_0x940a9c;let _0x2d2d8f={..._0x37528d[_0x545f25(0x32a)]};_0x2fe739!=null&&_0x2fe739[_0x545f25(0x28f)]&&_0x2d2d8f[_0x545f25(0x179)]===_0x545f25(0x28f)&&(_0x2d2d8f[_0x545f25(0x179)]=_0x2fe739[_0x545f25(0x28f)]),_0x2fe739!=null&&_0x2fe739[_0x545f25(0x28f)]&&_0x2d2d8f['stroke']===_0x545f25(0x28f)&&(_0x2d2d8f[_0x545f25(0x391)]=_0x2fe739[_0x545f25(0x28f)]),_0x37528d['tag']==='mask'&&_0x2d2d8f['id']&&(_0x2d2d8f['id']+=_0x16e7fe[_0x545f25(0x1b6)]),Object[_0x545f25(0x492)](_0x2d2d8f)[_0x545f25(0x400)](([_0xa0fbff,_0x11d002])=>{const _0x378a7c=_0x545f25;_0xa0fbff===_0x378a7c(0x508)&&typeof _0x11d002==_0x378a7c(0x46b)&&(_0x2d2d8f[_0xa0fbff]=_0x11d002[_0x378a7c(0x482)](/url\(#(.*)\)/,_0x378a7c(0x36f)+_0x16e7fe[_0x378a7c(0x1b6)]+')'));});let {defIds:_0x316bca}=_0x16e7fe;return!_0x316bca||_0x316bca[_0x545f25(0x384)]===0x0?_0x2d2d8f:(_0x37528d[_0x545f25(0x1d9)]===_0x545f25(0x217)&&_0x2d2d8f[_0x545f25(0x259)]&&(_0x2d2d8f[_0x545f25(0x259)]+=_0x16e7fe[_0x545f25(0x1b6)]),Object['entries'](_0x2d2d8f)[_0x545f25(0x400)](([_0xb72390,_0x2757ea])=>{const _0xe658ea=_0x545f25;typeof _0x2757ea==_0xe658ea(0x46b)&&(_0x2d2d8f[_0xb72390]=_0x2757ea[_0xe658ea(0x482)](/url\(#(.*)\)/,'url(#$1'+_0x16e7fe['idSuffix']+')'));}),_0x2d2d8f);}function _0x52fab9(_0xc4bc48,_0x2e8d60){const _0x39dd12=_0x940a9c;var _0x2e9ba5;let {defIds:_0x122350}=_0x2e8d60;return!_0x122350||_0x122350[_0x39dd12(0x384)]===0x0?_0xc4bc48:_0xc4bc48[_0x39dd12(0x1d9)]===_0x39dd12(0x4ad)&&(_0x2e9ba5=_0xc4bc48[_0x39dd12(0x48d)])!=null&&_0x2e9ba5['length']?{..._0xc4bc48,'children':_0xc4bc48[_0x39dd12(0x48d)][_0x39dd12(0x4b2)](_0xc0a0a0=>typeof _0xc0a0a0[_0x39dd12(0x32a)]['id']==_0x39dd12(0x46b)&&_0x122350&&_0x122350[_0x39dd12(0x31f)](_0xc0a0a0[_0x39dd12(0x32a)]['id'])?{..._0xc0a0a0,'attrs':{..._0xc0a0a0[_0x39dd12(0x32a)],'id':_0xc0a0a0[_0x39dd12(0x32a)]['id']+_0x2e8d60[_0x39dd12(0x1b6)]}}:_0xc0a0a0)}:_0xc4bc48;}function _0x3414ee(){const _0x286cc5=_0x940a9c;return Math['random']()[_0x286cc5(0x392)](0x24)[_0x286cc5(0x205)](0x2,0x8);}_0x3ac700[_0x940a9c(0x376)]=_0x940a9c(0x4f6);let _0x72df50={'tag':_0x940a9c(0x438),'attrs':{'xmlns':_0x940a9c(0x272),'fill':_0x940a9c(0x1fa),'viewBox':_0x940a9c(0x344),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':'M14.0045\x204.4334C14.8881\x204.4334\x2015.6045\x203.71705\x2015.6045\x202.8334C15.6045\x201.94974\x2014.8881\x201.2334\x2014.0045\x201.2334H3.70449C2.82084\x201.2334\x202.10449\x201.94974\x202.10449\x202.8334C2.10449\x203.71705\x202.82084\x204.4334\x203.70449\x204.4334H14.0045ZM14.4045\x202.8334C14.4045\x203.05431\x2014.2254\x203.2334\x2014.0045\x203.2334H3.70449C3.48358\x203.2334\x203.30449\x203.05431\x203.30449\x202.8334C3.30449\x202.61248\x203.48358\x202.4334\x203.70449\x202.4334H14.0045C14.2254\x202.4334\x2014.4045\x202.61249\x2014.4045\x202.8334Z','fillRule':_0x940a9c(0x1f2),'clipRule':_0x940a9c(0x1f2)}},{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x370),'fillRule':'evenodd','clipRule':_0x940a9c(0x1f2)}},{'tag':'path','attrs':{'fill':_0x940a9c(0x2c7),'d':'M8.57975\x2014.5902L6.58023\x2012.5907C6.34591\x2012.3564\x206.34591\x2011.9765\x206.58023\x2011.7421C6.81454\x2011.5078\x207.19444\x2011.5078\x207.42876\x2011.7421L8.40449\x2012.7179V10.1664C8.40449\x209.83504\x208.67312\x209.56641\x209.00449\x209.56641C9.33586\x209.56641\x209.60449\x209.83504\x209.60449\x2010.1664V12.7179L10.5802\x2011.7421C10.8145\x2011.5078\x2011.1944\x2011.5078\x2011.4288\x2011.7421C11.6631\x2011.9765\x2011.6631\x2012.3564\x2011.4288\x2012.5907L9.42923\x2014.5902'}},{'tag':_0x940a9c(0x286),'attrs':{'fill':'currentColor','d':_0x940a9c(0x233)}}]},_0x34cc6a=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x352557,_0xa39687){const _0x2c8d74=_0x940a9c;return(0x0,_0xb1307d[_0x2c8d74(0x3e8)])(_0x3ac700,Object[_0x2c8d74(0x34b)]({},_0x352557,{'id':_0x2c8d74(0x320),'ref':_0xa39687,'icon':_0x72df50}));});_0x34cc6a[_0x940a9c(0x376)]='BottomIcon';let _0xbc3361={'tag':'svg','attrs':{'xmlns':_0x940a9c(0x272),'fill':_0x940a9c(0x1fa),'viewBox':_0x940a9c(0x190),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x435),'strokeLinecap':_0x940a9c(0x2c2),'strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x355),'strokeLinecap':_0x940a9c(0x2c2),'strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x234),'strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':'currentColor','d':'M8\x206.2V7.8','strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x940a9c(0x2c7),'d':'M8\x2010.2V11.8','strokeLinecap':'round','strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':'currentColor','d':_0x940a9c(0x4d3),'strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}}]},_0x52b30e=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x5b022e,_0x1d79ee){const _0x2519f3=_0x940a9c;return(0x0,_0xb1307d[_0x2519f3(0x3e8)])(_0x3ac700,Object[_0x2519f3(0x34b)]({},_0x5b022e,{'id':_0x2519f3(0x46e),'ref':_0x1d79ee,'icon':_0xbc3361}));});_0x52b30e[_0x940a9c(0x376)]=_0x940a9c(0x4ce);let _0x2e5a3c={'tag':_0x940a9c(0x438),'attrs':{'xmlns':_0x940a9c(0x272),'fill':_0x940a9c(0x1fa),'viewBox':_0x940a9c(0x190),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x940a9c(0x35b),'strokeLinecap':_0x940a9c(0x2c2),'strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x28c),'strokeLinecap':'round','strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x3b5),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x3fc),'strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':'currentColor','d':_0x940a9c(0x309),'strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x486),'strokeLinecap':'round','strokeWidth':1.2}}]},_0x14a139=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x2d96f6,_0xd288bb){const _0x1b994b=_0x940a9c;return(0x0,_0xb1307d[_0x1b994b(0x3e8)])(_0x3ac700,Object[_0x1b994b(0x34b)]({},_0x2d96f6,{'id':_0x1b994b(0x31b),'ref':_0xd288bb,'icon':_0x2e5a3c}));});_0x14a139[_0x940a9c(0x376)]='FlipVerticalIcon';let _0x244d5b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x940a9c(0x1fa),'viewBox':_0x940a9c(0x190),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':'M1.25\x202.96401C1.25\x203.84767\x201.96634\x204.56401\x202.85\x204.56401H13.15C14.0337\x204.56401\x2014.75\x203.84767\x2014.75\x202.96401C14.75\x202.08036\x2014.0337\x201.36401\x2013.15\x201.36401H2.85C1.96635\x201.36401\x201.25\x202.08036\x201.25\x202.96401ZM2.85\x203.36401C2.62909\x203.36401\x202.45\x203.18493\x202.45\x202.96401C2.45\x202.7431\x202.62909\x202.56401\x202.85\x202.56401H13.15C13.3709\x202.56401\x2013.55\x202.7431\x2013.55\x202.96401C13.55\x203.18493\x2013.3709\x203.36401\x2013.15\x203.36401H2.85Z','fillRule':_0x940a9c(0x1f2),'clipRule':'evenodd'}},{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x3c1)}}]},_0x4e35fa=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x22d05e,_0x1468a2){const _0xd1e335=_0x940a9c;return(0x0,_0xb1307d[_0xd1e335(0x3e8)])(_0x3ac700,Object[_0xd1e335(0x34b)]({},_0x22d05e,{'id':_0xd1e335(0x319),'ref':_0x1468a2,'icon':_0x244d5b}));});_0x4e35fa[_0x940a9c(0x376)]='MoveDownIcon';let _0x3afde8={'tag':_0x940a9c(0x438),'attrs':{'xmlns':_0x940a9c(0x272),'fill':_0x940a9c(0x1fa),'viewBox':_0x940a9c(0x190),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x23e),'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x3df)}}]},_0x161dc4=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x4096ca,_0x594eec){const _0x5534eb=_0x940a9c;return(0x0,_0xb1307d[_0x5534eb(0x3e8)])(_0x3ac700,Object[_0x5534eb(0x34b)]({},_0x4096ca,{'id':_0x5534eb(0x185),'ref':_0x594eec,'icon':_0x3afde8}));});_0x161dc4[_0x940a9c(0x376)]=_0x940a9c(0x302);let _0x5f1900={'tag':_0x940a9c(0x438),'attrs':{'xmlns':_0x940a9c(0x272),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x940a9c(0x348)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x940a9c(0x4cd),'strokeLinecap':_0x940a9c(0x2c2),'strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x19b),'strokeLinecap':'round','strokeLinejoin':_0x940a9c(0x2c2),'strokeWidth':1.3}}]},_0x1680f7=(0x0,_0xb1307d['forwardRef'])(function(_0x5bceae,_0x274203){const _0x5279a3=_0x940a9c;return(0x0,_0xb1307d[_0x5279a3(0x3e8)])(_0x3ac700,Object['assign']({},_0x5bceae,{'id':_0x5279a3(0x1e8),'ref':_0x274203,'icon':_0x5f1900}));});_0x1680f7[_0x940a9c(0x376)]=_0x940a9c(0x4a4);let _0x3b0ea4={'tag':_0x940a9c(0x438),'attrs':{'xmlns':_0x940a9c(0x272),'fill':'none','viewBox':_0x940a9c(0x190),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x288),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x475),'strokeLinecap':_0x940a9c(0x2c2),'strokeWidth':1.2}},{'tag':'path','attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x412),'strokeLinecap':'round','strokeWidth':1.2}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x23a),'strokeLinejoin':'round'}},{'tag':_0x940a9c(0x286),'attrs':{'stroke':_0x940a9c(0x2c7),'d':_0x940a9c(0x45c)}}]},_0x2818b5=(0x0,_0xb1307d['forwardRef'])(function(_0x574f48,_0x4551e9){const _0x57b3b8=_0x940a9c;return(0x0,_0xb1307d[_0x57b3b8(0x3e8)])(_0x3ac700,Object[_0x57b3b8(0x34b)]({},_0x574f48,{'id':_0x57b3b8(0x45f),'ref':_0x4551e9,'icon':_0x3b0ea4}));});_0x2818b5['displayName']=_0x940a9c(0x22f);let _0x55b500={'tag':_0x940a9c(0x438),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x940a9c(0x344),'width':_0x940a9c(0x348),'height':_0x940a9c(0x348)},'children':[{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x1d7)}},{'tag':'path','attrs':{'fill':_0x940a9c(0x2c7),'d':'M1.50439\x209C1.50439\x208.11634\x202.22074\x207.4\x203.10439\x207.4H13.4044C14.288\x207.4\x2015.0044\x208.11634\x2015.0044\x209C15.0044\x209.88366\x2014.2881\x2010.6\x2013.4044\x2010.6H3.1044C2.22074\x2010.6\x201.50439\x209.88366\x201.50439\x209ZM3.10439\x208.6C2.88348\x208.6\x202.70439\x208.77909\x202.70439\x209C2.70439\x209.22091\x202.88348\x209.4\x203.1044\x209.4H13.4044C13.6253\x209.4\x2013.8044\x209.22091\x2013.8044\x209C13.8044\x208.77909\x2013.6253\x208.6\x2013.4044\x208.6H3.10439Z','fillRule':_0x940a9c(0x1f2),'clipRule':_0x940a9c(0x1f2)}},{'tag':_0x940a9c(0x286),'attrs':{'fill':_0x940a9c(0x2c7),'d':_0x940a9c(0x464),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x96ac=(0x0,_0xb1307d[_0x940a9c(0x1d0)])(function(_0x22389f,_0x38c194){const _0x350b35=_0x940a9c;return(0x0,_0xb1307d['createElement'])(_0x3ac700,Object[_0x350b35(0x34b)]({},_0x22389f,{'id':'topmost-icon','ref':_0x38c194,'icon':_0x55b500}));});_0x96ac[_0x940a9c(0x376)]=_0x940a9c(0x22a);function _0x511da4(_0x1564f8){return _0x1564f8['trim']()||void 0x0;}function _0x187594(_0x500d30,_0x3c58de,_0x407399){const _0x32fe65=_0x940a9c;var _0x5ac4af;return((_0x5ac4af=_0x500d30[_0x32fe65(0x428)])==null?void 0x0:_0x5ac4af[_0x32fe65(0x506)]())||(0x0,_0x548bf5[_0x32fe65(0x2ee)])(_0x407399,(0x0,_0x33caa0['getDrawingTypeNameKey'])(_0x500d30['drawingType']))+'\x20'+(_0x3c58de+0x1);}function _0x447a56(){const _0x2128c7=_0x940a9c;var _0x360776;let _0x2ca73e=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x1ab145[_0x2128c7(0x37e)]),_0x1f6036=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x1ab145['ICommandService']),_0x5b6c8f=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x1ab145[_0x2128c7(0x3f7)]),_0x28d68c=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x4d7bf9[_0x2128c7(0x424)]),_0xfda557=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x21e525[_0x2128c7(0x29d)]),_0x118124=(0x0,_0x5777e1[_0x2128c7(0x4d7)])(_0x2d31ad[_0x2128c7(0x439)]),[,_0x919155]=(0x0,_0xb1307d[_0x2128c7(0x2be)])(_0x42069a=>_0x42069a+0x1,0x0),_0x513001=_0x5b6c8f[_0x2128c7(0x43f)](_0x1ab145['UniverInstanceType']['UNIVER_SHEET']),_0xe5988d=(_0x513001==null?void 0x0:_0x513001[_0x2128c7(0x444)]())??'',_0xa555ea=(_0x513001==null||(_0x360776=_0x513001['getActiveSheet']())==null?void 0x0:_0x360776[_0x2128c7(0x40f)]())??'',_0x58a74d=(0x0,_0x5777e1[_0x2128c7(0x3cf)])(()=>_0xfda557['focus$'],_0xfda557[_0x2128c7(0x3a4)](),!0x1,[_0xfda557]);(0x0,_0xb1307d[_0x2128c7(0x224)])(()=>{const _0x3c1065=_0x2128c7;let _0x50b59d=_0x1f6036['onCommandExecuted'](()=>_0x919155());return()=>_0x50b59d[_0x3c1065(0x25b)]();},[_0x1f6036]);let _0x305ca8=(0x0,_0xb1307d[_0x2128c7(0x18d)])(()=>(0x0,_0x548bf5[_0x2128c7(0x211)])(_0x2ca73e),[_0x2ca73e]),_0x1042b2=_0xe5988d&&_0xa555ea?_0x28d68c[_0x2128c7(0x23d)](_0xe5988d,_0xa555ea):{},_0x52d0ea=(_0xe5988d&&_0xa555ea?_0x28d68c[_0x2128c7(0x3a1)](_0xe5988d,_0xa555ea):[])[_0x2128c7(0x4b2)](_0x3fb5db=>_0x1042b2[_0x3fb5db])[_0x2128c7(0x29f)](_0x2b2ac5=>!!_0x2b2ac5)['reverse'](),_0x5ba085=_0x52d0ea[_0x2128c7(0x2c3)]((_0x5b67a8,_0xa26967)=>(_0x5b67a8[(0x0,_0x548bf5[_0x2128c7(0x1db)])(_0xa26967[_0x2128c7(0x4a9)])]+=0x1,_0x5b67a8),{'canvas':0x0,'floating':0x0}),_0xcb814e={'canvas':0x0,'floating':0x0},_0x5e25ff=_0x52d0ea[_0x2128c7(0x4b2)]((_0x1032fa,_0x25eb59)=>{const _0x46e127=_0x2128c7;let _0xa997bc=(0x0,_0x548bf5[_0x46e127(0x1db)])(_0x1032fa[_0x46e127(0x4a9)]),_0x46120f=_0xa997bc===_0x548bf5['OBJECT_LIST_FLOATING_SECTION_ID'],_0xad0796=_0xcb814e[_0xa997bc]++;return{'id':_0x1032fa['drawingId'],'name':_0x187594(_0x1032fa,_0x25eb59,_0x2ca73e),'description':_0x1032fa[_0x46e127(0x19f)],'visible':_0x1032fa['hidden']!==!0x0,'selectable':_0x1032fa[_0x46e127(0x483)]!==!0x1,'sectionId':_0xa997bc,'sectionTitle':_0x46120f?_0x305ca8[_0x46e127(0x276)]:_0x305ca8['sectionCanvas'],'capabilities':_0x46120f?{'arrange':!0x1,'reorder':!0x1}:void 0x0,'canMoveForward':!_0x46120f&&_0xad0796>0x0,'canMoveBackward':!_0x46120f&&_0xad0796<_0x5ba085[_0x46e127(0x415)]-0x1,'canReorder':!_0x46120f};}),_0x165290=(0x0,_0xb1307d[_0x2128c7(0x18d)])(()=>(_0x58a74d??[])['filter'](_0x59a75d=>_0x59a75d[_0x2128c7(0x1a6)]===_0xe5988d&&_0x59a75d[_0x2128c7(0x4f2)]===_0xa555ea)[_0x2128c7(0x4b2)](_0x250194=>_0x250194[_0x2128c7(0x244)]),[_0x58a74d,_0xa555ea,_0xe5988d]),_0x5200ba=_0x165290[_0x165290[_0x2128c7(0x384)]-0x1]??null,_0x2cfa4c=_0x3a8339=>_0x28d68c[_0x2128c7(0x313)]({'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingId':_0x3a8339})??null,_0x54fb1d=async _0x5bf056=>{const _0x55f967=_0x2128c7;!_0xe5988d||!_0x5bf056[_0x55f967(0x384)]||await _0x1f6036[_0x55f967(0x454)](_0x4d7bf9[_0x55f967(0x4b3)]['id'],{'unitId':_0xe5988d,'drawings':_0x5bf056});},_0x599465=async(_0x26799d,_0x14ed29)=>{_0x2cfa4c(_0x26799d)&&await _0x54fb1d([{'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingId':_0x26799d,..._0x14ed29}]);},_0x21d218=(_0x278183,_0xf59bc)=>{const _0xbebc18=_0x2128c7;if(!_0xe5988d||!_0xa555ea)return;let _0x1e37ab=_0xf59bc?_0x165290[_0xbebc18(0x31f)](_0x278183)?_0x165290[_0xbebc18(0x29f)](_0x4694a4=>_0x4694a4!==_0x278183):[..._0x165290,_0x278183]:[_0x278183];_0x1f6036[_0xbebc18(0x1a3)](_0x21e525[_0xbebc18(0x207)]['id'],_0x1e37ab[_0xbebc18(0x4b2)](_0x151414=>({'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingId':_0x151414})));let _0x406eca=_0x1e37ab[_0x1e37ab[_0xbebc18(0x384)]-0x1];_0x406eca?(0x0,_0x33caa0[_0xbebc18(0x2d2)])(_0x118124,{'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingId':_0x406eca}):(0x0,_0x33caa0[_0xbebc18(0x1ec)])(_0x118124,_0xe5988d);},_0x54953a=async(_0x46aeac,_0x37f167)=>{const _0x100402=_0x2128c7;await _0x54fb1d(_0x46aeac[_0x100402(0x4b2)](_0xba0784=>_0x2cfa4c(_0xba0784))['filter'](_0x36b2fa=>!!_0x36b2fa)['filter'](_0x33638a=>_0x33638a[_0x100402(0x2c6)]!==!0x0!==_0x37f167)[_0x100402(0x4b2)](_0x48e9f5=>({'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingId':_0x48e9f5[_0x100402(0x244)],'hidden':!_0x37f167})));},_0x534ceb=async _0x554a82=>{const _0x37cb21=_0x2128c7;let _0x3b6939=_0x2cfa4c(_0x554a82);_0x3b6939&&await _0x599465(_0x554a82,{'selectable':_0x3b6939[_0x37cb21(0x483)]===!0x1&&void 0x0});},_0x5032a8=async(_0xdb2e36,_0x26c6ee)=>{const _0xf981fe=_0x2128c7;var _0x488a73;let _0x1f11e6=_0x511da4(_0x26c6ee);(((_0x488a73=_0x2cfa4c(_0xdb2e36))==null?void 0x0:_0x488a73[_0xf981fe(0x428)])??void 0x0)!==_0x1f11e6&&await _0x599465(_0xdb2e36,{'name':_0x1f11e6});},_0x270a62=async(_0x441107,_0x63cc2a)=>{const _0x271776=_0x2128c7;var _0x1f7d3e;let _0xcec5a2=_0x511da4(_0x63cc2a);(((_0x1f7d3e=_0x2cfa4c(_0x441107))==null?void 0x0:_0x1f7d3e[_0x271776(0x19f)])??void 0x0)!==_0xcec5a2&&await _0x599465(_0x441107,{'description':_0xcec5a2});},_0x3b7c02=async(_0x596bf9,_0x570adf)=>{const _0x49c636=_0x2128c7;!_0xe5988d||!_0xa555ea||await _0x1f6036[_0x49c636(0x454)](_0x4d7bf9[_0x49c636(0x31e)]['id'],{'unitId':_0xe5988d,'subUnitId':_0xa555ea,'drawingIds':[_0x596bf9],'arrangeType':_0x570adf});};return!_0xe5988d||!_0xa555ea?(0x0,_0x40a892[_0x2128c7(0x4d4)])('div',{'className':'univer-flex\x20univer-size-full\x20univer-items-center\x20univer-justify-center\x20univer-text-sm\x20univer-text-gray-500','children':_0x305ca8[_0x2128c7(0x269)]}):(0x0,_0x40a892[_0x2128c7(0x4d4)])(_0x548bf5[_0x2128c7(0x1be)],{'items':_0x5e25ff,'selectedIds':_0x165290,'focusedId':_0x5200ba,'labels':_0x305ca8,'onSelect':_0x21d218,'onSetVisible':_0x54953a,'onCommitName':_0x5032a8,'onCommitDescription':_0x270a62,'onMoveForward':async _0x4ae412=>_0x3b7c02(_0x4ae412,_0x1ab145['ArrangeTypeEnum'][_0x2128c7(0x279)]),'onMoveBackward':async _0x4a2805=>_0x3b7c02(_0x4a2805,_0x1ab145['ArrangeTypeEnum'][_0x2128c7(0x1d2)]),'onToggleSelectable':_0x534ceb});}let _0x358403=class{constructor(_0x50dc8f){this['_renderManagerService']=_0x50dc8f;}['updateShapeFillImage'](_0x3d617e,_0x29211a){const _0x2eba61=_0x940a9c;let _0x4e2c90=this[_0x2eba61(0x30e)][_0x2eba61(0x3ad)](_0x3d617e['unitId']),_0x171220=_0x4e2c90==null?void 0x0:_0x4e2c90[_0x2eba61(0x1ae)];if(!_0x171220)return;let _0x38d8db=(0x0,_0x21e525[_0x2eba61(0x387)])(_0x3d617e),_0x41b85e=_0x171220[_0x2eba61(0x39e)](_0x38d8db);_0x41b85e==null||_0x41b85e[_0x2eba61(0x17f)](_0x29211a);}};_0x358403=_0x58a722([_0x3107e5(0x0,_0x2d31ad[_0x940a9c(0x439)])],_0x358403);function _0x354e14(){const _0x3d3d7f=_0x940a9c;let _0x581776=(0x0,_0x5777e1[_0x3d3d7f(0x4d7)])(_0x21e525[_0x3d3d7f(0x29d)]),_0x19060e=(0x0,_0x5777e1[_0x3d3d7f(0x3cf)])(()=>_0x581776[_0x3d3d7f(0x1bd)],_0x581776[_0x3d3d7f(0x3a4)](),!0x1,[_0x581776]);return _0x19060e[_0x3d3d7f(0x384)]===0x0?null:(0x0,_0x40a892[_0x3d3d7f(0x4d4)])(_0x3d3d7f(0x2a3),{'children':(0x0,_0x40a892[_0x3d3d7f(0x3e2)])('div',{'className':_0x3d3d7f(0x2f6),'children':[(0x0,_0x40a892[_0x3d3d7f(0x4d4)])(_0x548bf5[_0x3d3d7f(0x20f)],{'drawings':_0x19060e,'hasCropper':!0x1}),(0x0,_0x40a892['jsx'])(_0x3d1925[_0x3d3d7f(0x2d9)],{'drawings':_0x19060e})]})});}function _0x2d45f3(_0x232bbd){const _0x3c0f04=_0x940a9c;let {unitId:_0x431c47,subUnitId:_0x1d464e,shapeId:_0x1de057}=_0x232bbd,_0x5e5873=(0x0,_0x5777e1[_0x3c0f04(0x4d7)])(_0x1ab145['ICommandService']),_0x27634c=(0x0,_0x5777e1[_0x3c0f04(0x4d7)])(_0x358403);return(0x0,_0x40a892[_0x3c0f04(0x4d4)])(_0x33caa0[_0x3c0f04(0x4f7)],{..._0x232bbd,'positionEditor':(0x0,_0x40a892[_0x3c0f04(0x4d4)])(_0x354e14,{}),'onUpdateShapeData':(_0x453bd1,_0xfcdca9)=>{_0x33840b(_0x5e5873,_0x431c47,_0x1d464e,_0x1de057,_0x453bd1,_0xfcdca9);},'onUpdateLineShapeData':(_0x3d7b19,_0x2f57d4)=>{_0xadc146(_0x5e5873,_0x431c47,_0x1d464e,_0x1de057,_0x3d7b19,_0x2f57d4);},'onUpdateShapeFillImage':_0x19f837=>{const _0x2b475f=_0x3c0f04;_0x27634c[_0x2b475f(0x248)]({'unitId':_0x431c47,'subUnitId':_0x1d464e,'drawingId':_0x1de057},_0x19f837);}});}function _0x203ee2(_0x3891ba){const _0x2578c6=_0x940a9c;let _0x51626a=(0x0,_0x5777e1[_0x2578c6(0x4d7)])(_0x33caa0[_0x2578c6(0x3f0)]),_0x4ea425=(0x0,_0x5777e1[_0x2578c6(0x3cf)])(()=>_0x51626a[_0x2578c6(0x4f0)],_0x51626a[_0x2578c6(0x2da)](),!0x1,[_0x51626a]),_0x34fb96=_0x3891ba[_0x2578c6(0x467)][_0x2578c6(0x249)];return!_0x34fb96||!_0x4ea425?null:(0x0,_0x40a892[_0x2578c6(0x4d4)])(_0x555ede,{..._0x34fb96,'canvasElement':_0x3891ba['popup']['canvasElement']});}function _0x555ede(_0xec4289){const _0x11bcc1=_0x940a9c;let _0x39054c=(0x0,_0x5777e1['useDependency'])(_0x1ab145['ICommandService']),_0x13dbcf=(0x0,_0x5777e1[_0x11bcc1(0x4d7)])(_0x139146[_0x11bcc1(0x4aa)]),{unitId:_0x56d9dd,subUnitId:_0x56c0a4,drawingId:_0x21740c,drawingType:_0x3f2867,shapeType:_0x309a4a}=_0xec4289,[_0x1f37e3,_0x1e31b3]=(0x0,_0xb1307d[_0x11bcc1(0x414)])(_0xec4289[_0x11bcc1(0x1cc)]),_0x54d107=(0x0,_0xb1307d[_0x11bcc1(0x18d)])(()=>(0x0,_0x33caa0['getTextStyle'])(_0x1f37e3),[_0x1f37e3]),_0x541820=(0x0,_0xb1307d[_0x11bcc1(0x18d)])(()=>(0x0,_0x33caa0[_0x11bcc1(0x219)])(_0x1f37e3),[_0x1f37e3]);(0x0,_0xb1307d['useEffect'])(()=>{const _0x397caa=_0x11bcc1;let _0x4b2c73=_0x39054c[_0x397caa(0x3d1)](_0x45d600=>{const _0x4d70bc=_0x397caa;if(_0x45d600['id']!==_0x139146[_0x4d70bc(0x443)]['id'])return;let _0xf40b11=_0x13dbcf[_0x4d70bc(0x336)](_0x56d9dd,_0x56c0a4,_0x21740c);_0xf40b11&&_0x1e31b3(_0xf40b11);});return()=>_0x4b2c73[_0x397caa(0x25b)]();},[_0x39054c,_0x21740c,_0x13dbcf,_0x56c0a4,_0x56d9dd]);let _0x40548a=_0x4c688e=>{_0x1e31b3(_0x357f56=>({..._0x357f56,..._0x4c688e}));},_0x49ea35=_0xe3d3c9=>{const _0x3c5d75=_0x11bcc1;let _0x5cd85b=(0x0,_0x33caa0[_0x3c5d75(0x292)])(_0x1f37e3,_0xe3d3c9);_0x33840b(_0x39054c,_0x56d9dd,_0x56c0a4,_0x21740c,{'oldShapeData':{'shapeText':_0x1f37e3['shapeText']}},_0x5cd85b),_0x40548a(_0x5cd85b);},_0x41d446=(0x0,_0x33caa0[_0x11bcc1(0x1fe)])({'hostType':_0x1ab145[_0x11bcc1(0x245)][_0x11bcc1(0x1ea)],'unitId':_0x56d9dd,'subUnitId':_0x56c0a4,'shapeId':_0x21740c,'shapeData':_0x1f37e3,'onUpdateBinding':_0x39ed8d=>{let _0x3e69b8={'formulaBinding':_0x39ed8d};_0x33840b(_0x39054c,_0x56d9dd,_0x56c0a4,_0x21740c,{'oldShapeData':{'formulaBinding':_0x1f37e3['formulaBinding']}},_0x3e69b8),_0x40548a(_0x3e69b8);}});return(0x0,_0x40a892[_0x11bcc1(0x3e2)])(_0x40a892[_0x11bcc1(0x1e4)],{'children':[(0x0,_0x40a892[_0x11bcc1(0x4d4)])(_0x33caa0[_0x11bcc1(0x36c)],{'canvasElement':_0xec4289[_0x11bcc1(0x268)],'shapeData':_0x1f37e3,'shapeType':_0x309a4a,'textStyle':{'ff':_0x1cd04f[_0x11bcc1(0x3de)]['shapeText'][_0x11bcc1(0x28b)],'fs':_0x1cd04f['ShapeDefaultConfig'][_0x11bcc1(0x499)][_0x11bcc1(0x4b8)],'cl':{'rgb':_0x1cd04f[_0x11bcc1(0x3de)]['shapeText'][_0x11bcc1(0x49d)]},..._0x54d107},'textModel':_0x541820?{'ha':_0x541820['ha']??_0x1ab145[_0x11bcc1(0x36b)][_0x11bcc1(0x232)],'va':_0x541820['va']??_0x1ab145[_0x11bcc1(0x450)][_0x11bcc1(0x210)]}:null,'enableShapeFillReset':!0x0,'enableShapeStrokeReset':!0x0,'enableTextBackgroundReset':!0x0,'defaultFillColor':_0x1cd04f[_0x11bcc1(0x3de)][_0x11bcc1(0x179)],'defaultGradientEndColor':_0x1cd04f[_0x11bcc1(0x3de)][_0x11bcc1(0x3da)],'defaultStrokeColor':_0x1cd04f[_0x11bcc1(0x3de)][_0x11bcc1(0x391)],'extensionGroups':_0x41d446['extensionGroups'],'onUpdateShapeData':(_0x26af9f,_0x429b2e)=>{_0x33840b(_0x39054c,_0x56d9dd,_0x56c0a4,_0x21740c,_0x26af9f,_0x429b2e),_0x429b2e&&_0x40548a(_0x429b2e);},'onUpdateText':_0x49ea35,'onOpenPanel':()=>{_0x39054c['executeCommand'](_0x3b19dc['id'],{'unitId':_0x56d9dd,'subUnitId':_0x56c0a4,'drawingId':_0x21740c});},'onDelete':()=>{const _0x27e7b8=_0x11bcc1;_0x39054c[_0x27e7b8(0x454)](_0x4d7bf9[_0x27e7b8(0x4ae)]['id'],{'unitId':_0x56d9dd,'drawings':[{'unitId':_0x56d9dd,'subUnitId':_0x56c0a4,'drawingId':_0x21740c,'drawingType':_0x3f2867}]});}}),_0x41d446[_0x11bcc1(0x2e8)]]});}var _0x213bfe=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(..._0x295ae4){const _0x40eeb3=_0x940a9c;super(..._0x295ae4),_0x4b9c46(this,_0x40eeb3(0x4a8),new _0x2779ef['BehaviorSubject'](null)),_0x4b9c46(this,'editingParams$',this[_0x40eeb3(0x4a8)][_0x40eeb3(0x423)]()),_0x4b9c46(this,_0x40eeb3(0x369),new _0x2779ef[(_0x40eeb3(0x3dd))](!0x1)),_0x4b9c46(this,_0x40eeb3(0x382),this[_0x40eeb3(0x369)][_0x40eeb3(0x423)]());}[_0x940a9c(0x25b)](){const _0x104689=_0x940a9c;this[_0x104689(0x4a8)][_0x104689(0x3f1)](null),this[_0x104689(0x4a8)][_0x104689(0x225)](),this[_0x104689(0x369)][_0x104689(0x3f1)](!0x1),this[_0x104689(0x369)][_0x104689(0x225)](),super[_0x104689(0x25b)]();}[_0x940a9c(0x411)](_0xcff427){const _0x28b2bd=_0x940a9c;this['_editingParams$'][_0x28b2bd(0x3f1)](_0xcff427),_0xcff427??this[_0x28b2bd(0x369)][_0x28b2bd(0x3f1)](!0x1);}[_0x940a9c(0x246)](_0x3112cf){const _0xa8d223=_0x940a9c;this[_0xa8d223(0x369)][_0xa8d223(0x3f1)](_0x3112cf);}[_0x940a9c(0x1c4)](){const _0x6bafea=_0x940a9c;return this[_0x6bafea(0x4a8)][_0x6bafea(0x451)]();}[_0x940a9c(0x481)](_0x4914c9){const _0xe18c82=_0x940a9c;this[_0xe18c82(0x1c4)]()&&(this[_0xe18c82(0x246)](!0x0),requestAnimationFrame(()=>{const _0x3fc4c1=_0xe18c82;this[_0x3fc4c1(0x411)](null);}));}[_0x940a9c(0x431)](){const _0x4afa2f=_0x940a9c;this['getEditing']()&&this[_0x4afa2f(0x411)](null);}};function _0x42c88c(_0xfbc3a6){const _0x3a64e9=_0x940a9c;return!!_0xfbc3a6&&'axisAlignSheetTransform'in _0xfbc3a6&&_0x3a64e9(0x3ae)in _0xfbc3a6;}let _0x5d655b=(0x0,_0xb1307d[_0x940a9c(0x2bc)])(()=>{const _0x4967ae=_0x940a9c;let _0x2558f3=(0x0,_0x5777e1[_0x4967ae(0x4d7)])(_0x213bfe),_0x16456f=(0x0,_0x5777e1[_0x4967ae(0x4d7)])(_0x139146[_0x4967ae(0x4aa)]),_0x2c2ab7=(0x0,_0x5777e1[_0x4967ae(0x4d7)])(_0x21e525[_0x4967ae(0x29d)]),_0x17b2da=(0x0,_0x5777e1['useDependency'])(_0x1ab145['ICommandService']),_0x2fb2c2=(0x0,_0x5777e1[_0x4967ae(0x4d7)])(_0x5777e1[_0x4967ae(0x214)]),_0x312399=(0x0,_0x5777e1[_0x4967ae(0x4d7)])(_0x2d31ad['IRenderManagerService']);return(0x0,_0x40a892[_0x4967ae(0x4d4)])(_0x33caa0[_0x4967ae(0x1b1)],{'adapter':(0x0,_0xb1307d['useMemo'])(()=>({'getShapeModel':(_0x45cedb,_0x5ab141,_0x1f14fc)=>_0x16456f[_0x4967ae(0x1f5)](_0x45cedb,_0x5ab141,_0x1f14fc),'getShapeData':(_0x29ee84,_0x4030a2,_0x2ca102)=>_0x16456f[_0x4967ae(0x336)](_0x29ee84,_0x4030a2,_0x2ca102),'getDrawingTransform':(_0x463d3e,_0x343749,_0x373eb5)=>{const _0x5b166b=_0x4967ae;let _0x2192af=_0x2c2ab7['getDrawingByParam']({'unitId':_0x463d3e,'subUnitId':_0x343749,'drawingId':_0x373eb5});return _0x2192af==null?void 0x0:_0x2192af[_0x5b166b(0x280)];},'updateShapeText':({unitId:_0x3a4be5,subUnitId:_0x11fcb2,shapeId:_0x44837a,shapeText:_0x329aa0,oldShapeText:_0xe8bb32,hostSize:_0x5df51e})=>{const _0x4fb798=_0x4967ae;_0x2fb2c2[_0x4fb798(0x1dd)](_0x3a4be5,()=>{const _0x55c8de=_0x4fb798;var _0x110fb3;let _0x1ad585=_0x17b2da[_0x55c8de(0x1a3)](_0x875b98['id'],{'unitId':_0x3a4be5,'subUnitId':_0x11fcb2,'shapeId':_0x44837a,'shapeData':{'shapeText':_0x329aa0},'oldShapeJSON':{'oldShapeData':{'shapeText':_0xe8bb32}}});if(!_0x1ad585||!_0x5df51e)return _0x1ad585;let _0x22f347=_0x2c2ab7[_0x55c8de(0x313)]({'unitId':_0x3a4be5,'subUnitId':_0x11fcb2,'drawingId':_0x44837a}),_0x2a835d=_0x22f347==null?void 0x0:_0x22f347[_0x55c8de(0x280)];if(!_0x42c88c(_0x22f347)||!_0x2a835d)return!0x1;let _0x3efcab={..._0x2a835d,'width':_0x5df51e['width'],'height':_0x5df51e[_0x55c8de(0x1c1)]},_0x241b06=(_0x110fb3=_0x312399[_0x55c8de(0x3ad)](_0x3a4be5))==null||(_0x110fb3=_0x110fb3['with'](_0x3a57a4['SheetSkeletonManagerService'])[_0x55c8de(0x35f)](_0x11fcb2))==null?void 0x0:_0x110fb3[_0x55c8de(0x498)];return _0x17b2da[_0x55c8de(0x1a3)](_0x4d7bf9[_0x55c8de(0x4b3)]['id'],{'unitId':_0x3a4be5,'drawings':[{..._0x22f347,'transform':_0x3efcab,'sheetTransform':_0x241b06?(0x0,_0x4d7bf9['transformToDrawingPosition'])(_0x3efcab,_0x241b06)??_0x22f347[_0x55c8de(0x3ae)]:_0x22f347[_0x55c8de(0x3ae)],'axisAlignSheetTransform':_0x241b06?(0x0,_0x4d7bf9[_0x55c8de(0x47c)])(_0x3efcab,_0x241b06)??_0x22f347[_0x55c8de(0x1ff)]:_0x22f347[_0x55c8de(0x1ff)]}]});});},'updateHostSize':({unitId:_0x492f01,subUnitId:_0x18903c,shapeId:_0xa6d866,width:_0x4857b4,height:_0x1c0dd1})=>{const _0x551677=_0x4967ae;var _0x22a03c;let _0x22cb6a=_0x2c2ab7[_0x551677(0x313)]({'unitId':_0x492f01,'subUnitId':_0x18903c,'drawingId':_0xa6d866}),_0x25021a=_0x22cb6a==null?void 0x0:_0x22cb6a[_0x551677(0x280)];if(!_0x42c88c(_0x22cb6a)||!_0x25021a)return;let _0x4fa4f0={..._0x25021a,'width':_0x4857b4,'height':_0x1c0dd1},_0x106a5a=(_0x22a03c=_0x312399[_0x551677(0x3ad)](_0x492f01))==null||(_0x22a03c=_0x22a03c[_0x551677(0x396)](_0x3a57a4['SheetSkeletonManagerService'])[_0x551677(0x35f)](_0x18903c))==null?void 0x0:_0x22a03c[_0x551677(0x498)],_0x51b1ec=_0x106a5a?(0x0,_0x4d7bf9['transformToDrawingPosition'])(_0x4fa4f0,_0x106a5a)??_0x22cb6a[_0x551677(0x3ae)]:_0x22cb6a[_0x551677(0x3ae)],_0x504bbc=_0x106a5a?(0x0,_0x4d7bf9[_0x551677(0x47c)])(_0x4fa4f0,_0x106a5a)??_0x22cb6a[_0x551677(0x1ff)]:_0x22cb6a[_0x551677(0x1ff)];_0x17b2da['executeCommand'](_0x4d7bf9[_0x551677(0x4b3)]['id'],{'unitId':_0x492f01,'drawings':[{..._0x22cb6a,'transform':_0x4fa4f0,'sheetTransform':_0x51b1ec,'axisAlignSheetTransform':_0x504bbc}]});},'allowHostSizeShrink':({unitId:_0x548c79,subUnitId:_0x799a99,shapeId:_0x13646a})=>(0x0,_0x33caa0['shouldAllowShapeTextEditorHostSizeShrink'])(_0x16456f[_0x4967ae(0x336)](_0x548c79,_0x799a99,_0x13646a)),'deferHostSizeUpdateDuringEditing':()=>!0x0}),[_0x17b2da,_0x2c2ab7,_0x312399,_0x16456f,_0x2fb2c2]),'editingService':_0x2558f3,'editorUnitId':_0x41e6d1,'positionOptions':(0x0,_0xb1307d['useMemo'])(()=>({'viewportKeys':{'main':_0x2d31ad['SHEET_VIEWPORT_KEY'][_0x4967ae(0x3dc)],'leftTop':_0x2d31ad['SHEET_VIEWPORT_KEY'][_0x4967ae(0x2a4)],'top':_0x2d31ad[_0x4967ae(0x419)][_0x4967ae(0x195)],'left':_0x2d31ad[_0x4967ae(0x419)][_0x4967ae(0x1a7)]},'getSkeleton':(_0x1f6095,_0x1ff4ff)=>{const _0x5e8ab7=_0x4967ae;var _0x5709e9;return((_0x5709e9=_0x1f6095[_0x5e8ab7(0x396)](_0x3a57a4[_0x5e8ab7(0x2c5)])[_0x5e8ab7(0x35f)](_0x1ff4ff[_0x5e8ab7(0x4f2)]))==null?void 0x0:_0x5709e9['skeleton'])??null;}}),[])});}),_0x1d789f=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x2a041a,_0x2198f4){const _0x1f9c05=_0x940a9c;super(),this[_0x1f9c05(0x2d7)]=_0x2a041a,this[_0x1f9c05(0x1c5)]=_0x2198f4,this[_0x1f9c05(0x2f1)](),this[_0x1f9c05(0x2e9)]();}[_0x940a9c(0x2f1)](){const _0x3a76ed=_0x940a9c;this['_iconManager']['has']('ObjectLayersIcon')||this[_0x3a76ed(0x378)](this['_iconManager'][_0x3a76ed(0x27f)]({'ObjectLayersIcon':_0x1680f7})),this['_iconManager']['has'](_0x3a76ed(0x4ce))||this[_0x3a76ed(0x378)](this['_iconManager']['register']({'FlipHorizontalIcon':_0x52b30e})),this[_0x3a76ed(0x1c5)]['has'](_0x3a76ed(0x2ab))||this['disposeWithMe'](this[_0x3a76ed(0x1c5)][_0x3a76ed(0x27f)]({'FlipVerticalIcon':_0x14a139})),this[_0x3a76ed(0x1c5)][_0x3a76ed(0x491)](_0x3a76ed(0x3fd))||this[_0x3a76ed(0x378)](this[_0x3a76ed(0x1c5)][_0x3a76ed(0x27f)]({'BottomIcon':_0x34cc6a})),this[_0x3a76ed(0x1c5)][_0x3a76ed(0x491)](_0x3a76ed(0x247))||this[_0x3a76ed(0x378)](this[_0x3a76ed(0x1c5)]['register']({'MoveDownIcon':_0x4e35fa})),this[_0x3a76ed(0x1c5)][_0x3a76ed(0x491)]('MoveUpIcon')||this[_0x3a76ed(0x378)](this['_iconManager']['register']({'MoveUpIcon':_0x161dc4})),this[_0x3a76ed(0x1c5)][_0x3a76ed(0x491)](_0x3a76ed(0x22f))||this[_0x3a76ed(0x378)](this[_0x3a76ed(0x1c5)]['register']({'ShapeFormatSettingIcon':_0x2818b5})),this[_0x3a76ed(0x1c5)][_0x3a76ed(0x491)]('TopmostIcon')||this[_0x3a76ed(0x378)](this[_0x3a76ed(0x1c5)][_0x3a76ed(0x27f)]({'TopmostIcon':_0x96ac}));}['_registerComponents'](){const _0x1576f6=_0x940a9c;this[_0x1576f6(0x378)](this['_componentManager'][_0x1576f6(0x27f)](_0x58eec4,_0x2d45f3)),this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x428a90,_0x447a56)),this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x4b8b18,_0x19ded8)),this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x1bdb2b,_0x53ddfd)),this['_componentManager'][_0x1576f6(0x1bb)](_0x548bf5[_0x1576f6(0x297)])||this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)]['register'](_0x548bf5[_0x1576f6(0x297)],_0x408737)),this['disposeWithMe'](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x4c11b0,_0x203ee2)),this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x57c8fd,_0x2258e8)),this[_0x1576f6(0x378)](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x3ad45b,_0x1f79bb)),this['disposeWithMe'](this[_0x1576f6(0x2d7)]['register'](_0x40f692,_0x5baa85)),this[_0x1576f6(0x378)](this['_componentManager'][_0x1576f6(0x27f)](_0x1890ae,_0x4631cd)),this['disposeWithMe'](this['_componentManager'][_0x1576f6(0x27f)](_0x162892,_0x33caa0[_0x1576f6(0x2df)])),this['disposeWithMe'](this[_0x1576f6(0x2d7)][_0x1576f6(0x27f)](_0x1576f6(0x505),_0x5d655b));}};_0x1d789f=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5777e1[_0x940a9c(0x4bc)])),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5777e1[_0x940a9c(0x4c0)]))],_0x1d789f);let _0x512a2b=class extends _0x1ab145['Disposable']{constructor(_0x194f49,_0x3ddd91,_0x18d1c5,_0x480763,_0x21e187){const _0x4e55e9=_0x940a9c;super(),this[_0x4e55e9(0x1c0)]=_0x194f49,this['_drawingManagerService']=_0x3ddd91,this[_0x4e55e9(0x30e)]=_0x18d1c5,this[_0x4e55e9(0x507)]=_0x480763,this[_0x4e55e9(0x4a1)]=_0x21e187,_0x4b9c46(this,_0x4e55e9(0x3b8),null),_0x4b9c46(this,_0x4e55e9(0x4fb),null),_0x4b9c46(this,_0x4e55e9(0x485),null),_0x4b9c46(this,'_activeAdjustPointList',void 0x0),_0x4b9c46(this,_0x4e55e9(0x20b),[]),_0x4b9c46(this,'_baseLeft',0x0),_0x4b9c46(this,_0x4e55e9(0x389),0x0),_0x4b9c46(this,_0x4e55e9(0x1cd),0x0),_0x4b9c46(this,_0x4e55e9(0x477),0x0),_0x4b9c46(this,'_isStartAdjusting',!0x1),_0x4b9c46(this,_0x4e55e9(0x305),void 0x0),_0x4b9c46(this,'_activeShapeModel',void 0x0),_0x4b9c46(this,'_adjHandlerPointerMove',void 0x0),_0x4b9c46(this,_0x4e55e9(0x4df),void 0x0),_0x4b9c46(this,'_isImagePointerDown',!0x1),this[_0x4e55e9(0x24c)](),this[_0x4e55e9(0x4b1)]();}['clearAdjustControls'](){const _0x5c5fbc=_0x940a9c;this[_0x5c5fbc(0x476)]();}[_0x940a9c(0x1fc)](){const _0x4bef3f=_0x940a9c;this['_clearControls'](),this[_0x4bef3f(0x1f8)](!0x0);}[_0x940a9c(0x3ea)](_0x5ad3f2,_0x5eb1de,_0x501ed9,_0x36841e){const _0xc2ac19=_0x940a9c;let _0x1478c5=_0x5ad3f2;if(_0x1478c5!==_0x1cd04f[_0xc2ac19(0x2b0)][_0xc2ac19(0x254)]&&_0x5ad3f2!==_0xc2ac19(0x2b6))try{let _0x18e769=new _0x1cd04f['ShapeModel'](_0x1478c5,_0xc2ac19(0x338)+_0x5ad3f2);return _0x36841e&&_0x18e769[_0xc2ac19(0x20a)]({'adjustValues':_0x36841e},!0x0),_0x18e769[_0xc2ac19(0x3be)]({'width':_0x5eb1de,'height':_0x501ed9}),_0x18e769;}catch{return;}}[_0x940a9c(0x235)](_0x566ced,_0x31df13,_0x3919d4){const _0xf54cd3=_0x940a9c;let _0x5d8c7d={'unitId':_0x566ced,'subUnitId':_0x31df13,'drawingId':_0x3919d4},_0x2c7c46=this[_0xf54cd3(0x2ad)][_0xf54cd3(0x313)](_0x5d8c7d);if(!(!_0x2c7c46||_0x2c7c46[_0xf54cd3(0x4a9)]!==_0x1ab145[_0xf54cd3(0x2c0)]['DRAWING_IMAGE']))return _0x2c7c46;}['_getImagePrstGeom'](_0x4427a3,_0x7c52a0,_0x46c68b){const _0x482b83=_0x940a9c;let _0x4087a4=this[_0x482b83(0x30e)][_0x482b83(0x3ad)](_0x4427a3);if(!_0x4087a4)return;let {scene:_0x2a6e67}=_0x4087a4,_0x59825d=(0x0,_0x21e525[_0x482b83(0x387)])({'unitId':_0x4427a3,'subUnitId':_0x7c52a0,'drawingId':_0x46c68b}),_0x45fa24=_0x2a6e67[_0x482b83(0x45b)](_0x59825d);if(_0x45fa24 instanceof _0x2d31ad['Image']){let _0x17bef1=_0x45fa24['prstGeom'];if(_0x17bef1)return{'prstGeom':_0x17bef1,'adjustValues':_0x45fa24[_0x482b83(0x17b)]};}}['_createControls'](_0x2dc4f5=!0x1){const _0x577293=_0x940a9c;if(!this[_0x577293(0x4fb)]||!this['_subUnitId']||!this[_0x577293(0x3b8)])return;let _0x4a3c71=this[_0x577293(0x30e)][_0x577293(0x3ad)](this[_0x577293(0x4fb)]);if(!_0x4a3c71||!_0x4a3c71[_0x577293(0x396)](_0x3a57a4[_0x577293(0x2c5)])[_0x577293(0x34c)]())return;let {scene:_0x52b5a6}=_0x4a3c71,_0x16f9ef=this['_getImageDrawingInfo'](this['_unitId'],this['_subUnitId'],this[_0x577293(0x3b8)]);if(!_0x16f9ef)return;let {transform:_0x5cc715}=_0x16f9ef;if(!_0x5cc715)return;let {left:_0x1e6ad1,top:_0x2f1ee0,width:_0x26d595,height:_0x3c404c,flipX:_0x46c857,flipY:_0xc24280,angle:_0x374f49=0x0}=_0x5cc715;if(_0x1e6ad1===void 0x0||_0x2f1ee0===void 0x0)return;let _0x468ae8=this[_0x577293(0x266)](this[_0x577293(0x4fb)],this[_0x577293(0x485)],this[_0x577293(0x3b8)]);if(!_0x468ae8)return;if(_0x2dc4f5){let _0x1bb7b9=this['_getOrCreateShapeModel'](_0x468ae8[_0x577293(0x1ab)],_0x26d595||0x0,_0x3c404c||0x0,_0x468ae8[_0x577293(0x4c2)]);if(!_0x1bb7b9)return;this['_activeAdjustPointList']=_0x1bb7b9['getDrawingPoints']();}let _0x3af84f=this[_0x577293(0x3f6)];if(!(!_0x3af84f||_0x3af84f[_0x577293(0x384)]===0x0))for(let _0x52e6ef=0x0;_0x52e6ef<_0x3af84f[_0x577293(0x384)];_0x52e6ef++){let _0x472df5=_0x3af84f[_0x52e6ef],_0x1b70b4=_0x472df5['x'],_0x4cbcfb=_0x472df5['y'];if(_0x46c857&&(_0x1b70b4=(_0x26d595||0x0)-_0x1b70b4),_0xc24280&&(_0x4cbcfb=(_0x3c404c||0x0)-_0x4cbcfb),_0x374f49!==0x0){let _0x9d721d=(_0x26d595||0x0)/0x2,_0x58abc5=(_0x3c404c||0x0)/0x2,_0x40806e=_0x374f49*Math['PI']/0xb4,_0x48548e=Math[_0x577293(0x427)](_0x40806e),_0x53f3c7=Math['sin'](_0x40806e),_0x17d62c=_0x1b70b4-_0x9d721d,_0x23d82e=_0x4cbcfb-_0x58abc5;_0x1b70b4=_0x9d721d+(_0x17d62c*_0x48548e-_0x23d82e*_0x53f3c7),_0x4cbcfb=_0x58abc5+(_0x17d62c*_0x53f3c7+_0x23d82e*_0x48548e);}let _0x43b4e6={'x':_0x1b70b4,'y':_0x4cbcfb,'adjName':_0x472df5[_0x577293(0x4e6)]};this['_addControl'](_0x52b5a6,_0x43b4e6,_0x43b4e6[_0x577293(0x4e6)],_0x1e6ad1,_0x2f1ee0,this['_unitId'],this[_0x577293(0x485)]);}}['_addControl'](_0x5890ca,_0x5b0052,_0x33bccc,_0x33a964,_0x5e9349,_0x26575a,_0x1ef109){const _0x2a79af=_0x940a9c;if(!this[_0x2a79af(0x3b8)])return;let _0x1f4e7f='image-clip-adjust-point-'+this[_0x2a79af(0x3b8)]+'-'+_0x33bccc,_0x3ba1f3=_0x5890ca[_0x2a79af(0x39e)](_0x1f4e7f);if(_0x3ba1f3){_0x3ba1f3['transformByState']({'left':_0x5b0052['x']+_0x33a964-_0x1cd04f[_0x2a79af(0x3de)]['adjHandleSize'],'top':_0x5b0052['y']+_0x5e9349-_0x1cd04f[_0x2a79af(0x3de)][_0x2a79af(0x250)]});return;}let _0x375787=new _0x20819c(_0x1f4e7f,{'left':_0x5b0052['x']+_0x33a964-_0x1cd04f[_0x2a79af(0x3de)][_0x2a79af(0x250)],'top':_0x5b0052['y']+_0x5e9349-_0x1cd04f['ShapeDefaultConfig'][_0x2a79af(0x250)],'adjName':_0x33bccc,'shapeId':this[_0x2a79af(0x3b8)],'unitId':_0x26575a,'subUnitId':_0x1ef109,'width':_0x1cd04f['ShapeDefaultConfig']['adjHandleSize']+0x8,'height':_0x1cd04f['ShapeDefaultConfig'][_0x2a79af(0x250)]+0x8,'zIndex':_0x2d31ad[_0x2a79af(0x2cd)]+0x1,'evented':!0x0});this[_0x2a79af(0x20b)]['push'](_0x375787),this[_0x2a79af(0x48b)](_0x375787,_0x5890ca,_0x33bccc),_0x5890ca[_0x2a79af(0x2e6)](_0x375787,_0x2d31ad[_0x2a79af(0x2cd)]+0x1);}[_0x940a9c(0x476)](){const _0x389634=_0x940a9c;this[_0x389634(0x20b)][_0x389634(0x384)]!==0x0&&(this[_0x389634(0x20b)][_0x389634(0x400)](_0x5231c4=>_0x5231c4[_0x389634(0x25b)]()),this[_0x389634(0x20b)]=[]);}[_0x940a9c(0x398)](_0x47963c,_0x344320){const _0x159e02=_0x940a9c;var _0x1dd7b6;let _0x29ae6d={'x':0x0,'y':0x0},_0x185852=this[_0x159e02(0x30e)]['getRenderUnitById'](_0x47963c);if(!_0x185852||!_0x185852[_0x159e02(0x396)](_0x3a57a4[_0x159e02(0x2c5)])[_0x159e02(0x3a0)](_0x344320))return _0x29ae6d;let _0x200dae=_0x185852[_0x159e02(0x396)](_0x3a57a4['SheetScrollManagerService']),_0x2a5035=_0x200dae==null?void 0x0:_0x200dae['getCurrentScrollState']();if(!_0x2a5035)return _0x29ae6d;let _0x5e2cb0=(_0x1dd7b6=this['_univerInstanceService'][_0x159e02(0x494)](_0x47963c))==null?void 0x0:_0x1dd7b6[_0x159e02(0x204)](_0x344320);if(!_0x5e2cb0)return _0x29ae6d;let _0x2adf9b=(0x0,_0x3a57a4[_0x159e02(0x4f1)])(_0x2a5035[_0x159e02(0x2c1)],_0x2a5035[_0x159e02(0x1e3)],_0x185852[_0x159e02(0x1ae)],_0x5e2cb0);return _0x2adf9b?{'x':_0x2adf9b[_0x159e02(0x208)],'y':_0x2adf9b[_0x159e02(0x413)]}:_0x29ae6d;}['_getZoomRatio'](_0x449ee5,_0x499823){const _0xd6d8ad=_0x940a9c;var _0x594569;let _0x3f995f=(_0x594569=this['_univerInstanceService'][_0xd6d8ad(0x494)](_0x449ee5))==null?void 0x0:_0x594569[_0xd6d8ad(0x204)](_0x499823);return(_0x3f995f==null?void 0x0:_0x3f995f['getZoomRatio']())??0x1;}[_0x940a9c(0x48b)](_0x6ec157,_0x2c2040,_0x3b9686){const _0x346493=_0x940a9c;this[_0x346493(0x378)]((0x0,_0x1ab145['toDisposable'])(_0x6ec157['onPointerDown$'][_0x346493(0x4d2)]((_0x217d8a,_0xfd571a)=>{const _0x299bb6=_0x346493;var _0x1ba512,_0x1534bb,_0x3c40cd;let {unitId:_0x162fdb,subUnitId:_0x10f66a,drawingId:_0x408036}=_0x6ec157[_0x299bb6(0x3b6)](),_0x20cae1=this[_0x299bb6(0x235)](_0x162fdb,_0x10f66a,_0x408036);if(!(_0x20cae1!=null&&_0x20cae1[_0x299bb6(0x280)]))return;let {left:_0x5f2dbe,top:_0x2ddfcb,width:_0x54dab6,height:_0x19beb1}=_0x20cae1[_0x299bb6(0x280)];this['_baseLeft']=_0x5f2dbe||0x0,this[_0x299bb6(0x389)]=_0x2ddfcb||0x0,this['_baseWidth']=_0x54dab6||0x0,this[_0x299bb6(0x477)]=_0x19beb1||0x0;let _0x15109e=!!((_0x1ba512=_0x20cae1[_0x299bb6(0x280)])!=null&&_0x1ba512[_0x299bb6(0x26e)]),_0x5dded5=!!((_0x1534bb=_0x20cae1[_0x299bb6(0x280)])!=null&&_0x1534bb['flipY']),_0x1ba308=((_0x3c40cd=_0x20cae1[_0x299bb6(0x280)])==null?void 0x0:_0x3c40cd[_0x299bb6(0x37b)])||0x0,_0x2cd039=this[_0x299bb6(0x266)](_0x162fdb,_0x10f66a,_0x408036);if(!_0x2cd039)return;let _0x22ad95=this[_0x299bb6(0x3ea)](_0x2cd039[_0x299bb6(0x1ab)],this['_baseWidth'],this[_0x299bb6(0x477)],_0x2cd039[_0x299bb6(0x4c2)]);if(!_0x22ad95||(this[_0x299bb6(0x445)]=_0x22ad95,this[_0x299bb6(0x305)]=_0x22ad95[_0x299bb6(0x4b5)](_0x3b9686),!this['_activeAdjustInfo']))return;this['_isStartAdjusting']=!0x0,_0x2c2040[_0x299bb6(0x44d)]();let _0x56eba1=_0x2cd039[_0x299bb6(0x1ab)];this[_0x299bb6(0x2d6)]=_0x2c2040['onPointerMove$'][_0x299bb6(0x4d2)]((_0x2c165f,_0x371490)=>{const _0x1557be=_0x299bb6;if(!this[_0x1557be(0x1d8)])return;let {offsetX:_0x36d4bf,offsetY:_0x58ea5f}=_0x2c165f,_0x47c12c=this['_activeAdjustInfo'];if(!this[_0x1557be(0x445)]||!_0x47c12c)return;_0x2c2040['disableObjectsEvent'](),_0x2c2040[_0x1557be(0x331)](_0x2d31ad['CURSOR_TYPE'][_0x1557be(0x4db)]);let _0x417466={'left':0x0,'top':0x0,'width':this[_0x1557be(0x1cd)],'height':this[_0x1557be(0x477)]},_0xbde7cb=this[_0x1557be(0x398)](_0x162fdb,_0x10f66a),_0x59a3d1=this['_getZoomRatio'](_0x162fdb,_0x10f66a),_0xe3002b=_0x36d4bf/_0x59a3d1+_0xbde7cb['x']-this[_0x1557be(0x42a)],_0x197961=_0x58ea5f/_0x59a3d1+_0xbde7cb['y']-this[_0x1557be(0x389)];if(_0x1ba308!==0x0){let _0x4cf428=this['_baseWidth']/0x2,_0x4a14ca=this[_0x1557be(0x477)]/0x2,_0x2b174c=_0x1ba308*Math['PI']/0xb4,_0x8b9290=Math[_0x1557be(0x427)](_0x2b174c),_0x40fbb5=Math[_0x1557be(0x3ef)](_0x2b174c),_0x1f7d33=_0xe3002b-_0x4cf428,_0x514c79=_0x197961-_0x4a14ca;_0xe3002b=_0x4cf428+(_0x1f7d33*_0x8b9290+_0x514c79*_0x40fbb5),_0x197961=_0x4a14ca+(-_0x1f7d33*_0x40fbb5+_0x514c79*_0x8b9290);}_0x15109e&&(_0xe3002b=this['_baseWidth']-_0xe3002b),_0x5dded5&&(_0x197961=this[_0x1557be(0x477)]-_0x197961);let _0x13db6d=this[_0x1557be(0x445)]['calcAdjValues'](_0x417466,{'x':_0xe3002b,'y':_0x197961},_0x47c12c,_0x15109e,_0x5dded5);if(Object[_0x1557be(0x229)](_0x13db6d)[_0x1557be(0x384)]!==0x0){for(let [_0x35654f,_0x5a6e83]of Object['entries'](_0x13db6d))this[_0x1557be(0x445)][_0x1557be(0x401)](_0x35654f,_0x5a6e83);this[_0x1557be(0x445)][_0x1557be(0x3be)]({'width':this[_0x1557be(0x1cd)],'height':this[_0x1557be(0x477)]}),this[_0x1557be(0x406)](_0x162fdb,_0x10f66a,_0x408036,_0x13db6d),this['_activeAdjustPointList']=this[_0x1557be(0x445)]['getDrawingPoints'](),this[_0x1557be(0x1f8)](),_0x371490[_0x1557be(0x1e6)]();}}),this[_0x299bb6(0x4df)]=_0x2c2040[_0x299bb6(0x25f)][_0x299bb6(0x4d2)]((_0x17b2db,_0x5eda50)=>{const _0x408b17=_0x299bb6;if(this[_0x408b17(0x2d6)][_0x408b17(0x1ca)](),this[_0x408b17(0x4df)][_0x408b17(0x1ca)](),_0x2c2040[_0x408b17(0x199)](),this['_activeShapeModel']){let _0x4f4c40=this[_0x408b17(0x445)][_0x408b17(0x1f1)](),_0x3c2393={};for(let _0x53432d of _0x4f4c40){let _0x5cbc25=this[_0x408b17(0x445)][_0x408b17(0x1ba)](_0x53432d);_0x5cbc25!==void 0x0&&(_0x3c2393[_0x53432d]=_0x5cbc25);}this[_0x408b17(0x4a1)][_0x408b17(0x49b)](_0x162fdb,_0x10f66a,_0x408036,_0x56eba1,_0x3c2393);}this[_0x408b17(0x305)]=void 0x0,this[_0x408b17(0x445)]=void 0x0,this[_0x408b17(0x1d8)]=!0x1,_0x5eda50['stopPropagation'](),_0x2c2040['enableObjectsEvent']();}),_0xfd571a[_0x299bb6(0x1e6)]();})));}['_updateImageAdjValues'](_0x11a39f,_0x25a8b8,_0x50ee21,_0x13703c){const _0x32732f=_0x940a9c;let _0x15d209=this[_0x32732f(0x30e)][_0x32732f(0x3ad)](_0x11a39f);if(!_0x15d209)return;let {scene:_0x5f005c}=_0x15d209,_0x516440=(0x0,_0x21e525[_0x32732f(0x387)])({'unitId':_0x11a39f,'subUnitId':_0x25a8b8,'drawingId':_0x50ee21}),_0x38b241=_0x5f005c['getObject'](_0x516440);if(_0x38b241 instanceof _0x2d31ad[_0x32732f(0x416)]){let _0x2ebcf3=_0x38b241[_0x32732f(0x17b)]??{};_0x38b241[_0x32732f(0x175)]({..._0x2ebcf3,..._0x13703c}),_0x38b241[_0x32732f(0x2ce)](!0x0);}}['_registerMoveHandler'](){const _0x3447f6=_0x940a9c;let _0x200e93=this[_0x3447f6(0x507)]['getCurrentTypeOfUnit$'](_0x1ab145[_0x3447f6(0x245)][_0x3447f6(0x1ea)]);this[_0x3447f6(0x378)](_0x200e93[_0x3447f6(0x4fd)]((0x0,_0x2779ef[_0x3447f6(0x1b3)])(_0x5e9e24=>_0x5e9e24?_0x5e9e24['activeSheet$'][_0x3447f6(0x4fd)]((0x0,_0x2779ef[_0x3447f6(0x1b3)])(_0x1d3b5e=>{const _0x492952=_0x3447f6;if(!_0x1d3b5e)return _0x2779ef[_0x492952(0x502)];let _0x25ba2b=_0x5e9e24[_0x492952(0x444)](),_0x2fdce0=this[_0x492952(0x30e)][_0x492952(0x3ad)](_0x25ba2b),_0x29fab3=_0x2fdce0==null?void 0x0:_0x2fdce0['scene'];return _0x29fab3?(0x0,_0x2779ef['of'])(_0x29fab3):_0x2779ef[_0x492952(0x502)];})):_0x2779ef[_0x3447f6(0x502)]))[_0x3447f6(0x2ae)](_0x1f0c2a=>{const _0x4442b9=_0x3447f6;let _0x653b02=_0x1f0c2a[_0x4442b9(0x203)]();this[_0x4442b9(0x378)](_0x1f0c2a[_0x4442b9(0x325)][_0x4442b9(0x4d2)](()=>{const _0x7651e2=_0x4442b9;this[_0x7651e2(0x4f9)]&&this['_clearControls']();})),this['disposeWithMe'](_0x653b02[_0x4442b9(0x267)][_0x4442b9(0x2ae)](_0x34c9ab=>{const _0x3d4b94=_0x4442b9;let {objects:_0x373080}=_0x34c9ab;if(this[_0x3d4b94(0x1f8)](),_0x373080!==null&&_0x373080['size']===0x1){let _0x28ef65=_0x373080[_0x3d4b94(0x17a)]()[_0x3d4b94(0x3f1)]()[_0x3d4b94(0x4bf)];_0x28ef65 instanceof _0x2d31ad['Image']&&_0x28ef65[_0x3d4b94(0x1ab)]&&(this[_0x3d4b94(0x4f9)]=!0x0);}})),this[_0x4442b9(0x378)](_0x653b02[_0x4442b9(0x1ef)][_0x4442b9(0x2ae)](()=>{const _0x21b3cf=_0x4442b9;this[_0x21b3cf(0x4f9)]&&this['_clearControls']();})),this[_0x4442b9(0x378)](_0x1f0c2a[_0x4442b9(0x25f)]['subscribeEvent'](()=>{const _0x42e928=_0x4442b9;this[_0x42e928(0x4f9)]&&(this[_0x42e928(0x4f9)]=!0x1,this[_0x42e928(0x1f8)]());})),this[_0x4442b9(0x378)](_0x653b02[_0x4442b9(0x432)][_0x4442b9(0x2ae)](()=>{const _0x4c09e8=_0x4442b9;if(this[_0x4c09e8(0x4fb)]&&this[_0x4c09e8(0x485)]&&this[_0x4c09e8(0x3b8)]){let _0x3adb21=this[_0x4c09e8(0x266)](this[_0x4c09e8(0x4fb)],this['_subUnitId'],this[_0x4c09e8(0x3b8)]);if(_0x3adb21){var _0x50f38e,_0x1b37f9;let _0x4743f0=this[_0x4c09e8(0x235)](this[_0x4c09e8(0x4fb)],this[_0x4c09e8(0x485)],this[_0x4c09e8(0x3b8)]),_0xb47875=(_0x4743f0==null||(_0x50f38e=_0x4743f0[_0x4c09e8(0x280)])==null?void 0x0:_0x50f38e[_0x4c09e8(0x3f5)])||0x0,_0x35be17=(_0x4743f0==null||(_0x1b37f9=_0x4743f0[_0x4c09e8(0x280)])==null?void 0x0:_0x1b37f9[_0x4c09e8(0x1c1)])||0x0,_0xf3e863=this['_getOrCreateShapeModel'](_0x3adb21[_0x4c09e8(0x1ab)],_0xb47875,_0x35be17,_0x3adb21['adjustValues']);_0xf3e863&&(this[_0x4c09e8(0x3f6)]=_0xf3e863[_0x4c09e8(0x357)](),this[_0x4c09e8(0x476)](),this[_0x4c09e8(0x1f8)](!0x0));}}}));}));}['_registerFocusChangeHandler'](){const _0x2148b2=_0x940a9c;this[_0x2148b2(0x378)](this[_0x2148b2(0x2ad)][_0x2148b2(0x1bd)][_0x2148b2(0x2ae)](_0x500aae=>{const _0x542c8b=_0x2148b2;if(_0x500aae[_0x542c8b(0x384)]===0x1){let _0x5565bb=_0x500aae[0x0];if(_0x5565bb[_0x542c8b(0x4a9)]===_0x1ab145[_0x542c8b(0x2c0)][_0x542c8b(0x2b8)]){let {unitId:_0x3a48c3,subUnitId:_0x199acd,drawingId:_0x28adad}=_0x5565bb,_0x2cb8b5=this['_getImagePrstGeom'](_0x3a48c3,_0x199acd,_0x28adad);if(_0x2cb8b5){var _0x111328,_0x16d907;this[_0x542c8b(0x3b8)]=_0x28adad,this[_0x542c8b(0x4fb)]=_0x3a48c3,this[_0x542c8b(0x485)]=_0x199acd;let _0x4babce=this[_0x542c8b(0x235)](_0x3a48c3,_0x199acd,_0x28adad),_0x19e8a4=(_0x4babce==null||(_0x111328=_0x4babce['transform'])==null?void 0x0:_0x111328[_0x542c8b(0x3f5)])||0x0,_0x3fba19=(_0x4babce==null||(_0x16d907=_0x4babce[_0x542c8b(0x280)])==null?void 0x0:_0x16d907['height'])||0x0,_0x452fb8=this[_0x542c8b(0x3ea)](_0x2cb8b5[_0x542c8b(0x1ab)],_0x19e8a4,_0x3fba19,_0x2cb8b5[_0x542c8b(0x4c2)]);_0x452fb8&&(this[_0x542c8b(0x3f6)]=_0x452fb8[_0x542c8b(0x357)]()),this[_0x542c8b(0x476)](),this[_0x542c8b(0x1f8)](!0x0);}else this[_0x542c8b(0x24a)]();}else this[_0x542c8b(0x24a)]();}else this['_resetState']();})),this[_0x2148b2(0x378)](this[_0x2148b2(0x2ad)][_0x2148b2(0x1fd)][_0x2148b2(0x2ae)](_0x1c9138=>{const _0x406c71=_0x2148b2;if(_0x1c9138[_0x406c71(0x384)]===0x1){let _0x4f16ca=_0x1c9138[0x0],_0x28010d=this[_0x406c71(0x2ad)]['getDrawingByParam'](_0x4f16ca);(_0x28010d==null?void 0x0:_0x28010d[_0x406c71(0x4a9)])===_0x1ab145[_0x406c71(0x2c0)][_0x406c71(0x2b8)]&&this['_activeImageId']===_0x4f16ca['drawingId']&&(this[_0x406c71(0x476)](),this[_0x406c71(0x1f8)](!0x0));}})),this[_0x2148b2(0x378)](this[_0x2148b2(0x2ad)][_0x2148b2(0x41b)][_0x2148b2(0x2ae)](_0x4569fa=>{const _0x1cb74c=_0x2148b2;for(let _0x48c440 of _0x4569fa)this[_0x1cb74c(0x3b8)]===_0x48c440[_0x1cb74c(0x244)]&&this[_0x1cb74c(0x24a)]();}));}[_0x940a9c(0x24a)](){const _0x30e0a2=_0x940a9c;this[_0x30e0a2(0x3b8)]=null,this[_0x30e0a2(0x4fb)]=null,this[_0x30e0a2(0x485)]=null,this['_activeAdjustPointList']=void 0x0,this[_0x30e0a2(0x476)]();}};_0x512a2b=_0x58a722([_0x3107e5(0x1,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x2d31ad['IRenderManagerService'])),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x4,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5e68ef))],_0x512a2b);let _0x3b52a1=_0x940a9c(0x1ad),_0x5efa72=class extends _0x1ab145['Disposable']{constructor(_0x1efb8b,_0x387cf9,_0x2f0c9c,_0x1684fa,_0x33d7f0,_0x574124){const _0x397cc3=_0x940a9c;super(),this[_0x397cc3(0x27b)]=_0x1efb8b,this[_0x397cc3(0x408)]=_0x387cf9,this['_drawingManagerService']=_0x2f0c9c,this[_0x397cc3(0x507)]=_0x1684fa,this[_0x397cc3(0x30e)]=_0x33d7f0,this['_shapeFloatingToolbarService']=_0x574124,_0x4b9c46(this,_0x397cc3(0x1f6),!0x1),this[_0x397cc3(0x27b)][_0x397cc3(0x293)](_0x58b92c),this[_0x397cc3(0x378)]((0x0,_0x1ab145[_0x397cc3(0x291)])(this['_drawingManagerService'][_0x397cc3(0x1bd)][_0x397cc3(0x2ae)](()=>this['_update']()))),this[_0x397cc3(0x33a)]();}['dispose'](){const _0x2d3d7e=_0x940a9c;this['_shapeFloatingToolbarService'][_0x2d3d7e(0x2eb)](!0x1,_0x3b52a1),this[_0x2d3d7e(0x227)](),super[_0x2d3d7e(0x25b)]();}['_update'](){const _0x4ff914=_0x940a9c;var _0x55a5f1;let _0xfbc7f9=this['_drawingManagerService'][_0x4ff914(0x3a4)](),_0x14c969=_0xfbc7f9[_0x4ff914(0x384)]===0x1?_0xfbc7f9[0x0]:void 0x0;if((_0x14c969==null?void 0x0:_0x14c969[_0x4ff914(0x4a9)])!==_0x1ab145['DrawingTypeEnum'][_0x4ff914(0x1fb)]||this['_univerInstanceService'][_0x4ff914(0x409)](_0x14c969[_0x4ff914(0x1a6)])!==_0x1ab145[_0x4ff914(0x245)][_0x4ff914(0x1ea)]){this[_0x4ff914(0x21b)][_0x4ff914(0x2eb)](!0x1,_0x3b52a1),this[_0x4ff914(0x227)]();return;}let _0xaf4f03=(0x0,_0x33caa0['resolveShapeContextualRibbonHostMode'])((_0x55a5f1=this[_0x4ff914(0x30e)][_0x4ff914(0x3ad)](_0x14c969[_0x4ff914(0x1a6)]))==null?void 0x0:_0x55a5f1['engine']['getCanvasElement']())===_0x4ff914(0x3eb);if(this[_0x4ff914(0x21b)][_0x4ff914(0x2eb)](_0xaf4f03,_0x3b52a1),_0xaf4f03){this[_0x4ff914(0x227)]();return;}this[_0x4ff914(0x1f6)]||(this[_0x4ff914(0x1f6)]=!0x0,this[_0x4ff914(0x408)][_0x4ff914(0x2e4)](_0x1e5852,{'activate':!0x0}));}[_0x940a9c(0x227)](){const _0x43405f=_0x940a9c;this[_0x43405f(0x1f6)]&&(this[_0x43405f(0x1f6)]=!0x1,this[_0x43405f(0x408)][_0x43405f(0x307)](_0x1e5852),this[_0x43405f(0x408)][_0x43405f(0x3cd)]([]));}};_0x5efa72=_0x58a722([_0x3107e5(0x0,_0x5777e1['IMenuManagerService']),_0x3107e5(0x1,_0x5777e1['IRibbonService']),_0x3107e5(0x2,_0x21e525['IDrawingManagerService']),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x4,_0x2d31ad[_0x940a9c(0x439)]),_0x3107e5(0x5,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x33caa0['ShapeFloatingToolbarService']))],_0x5efa72);let _0x154069=class extends _0x1ab145['Disposable']{constructor(_0x3d83a8,_0xb18461,_0x233672,_0x20be6e){const _0x2eddd5=_0x940a9c;super(),this[_0x2eddd5(0x507)]=_0x3d83a8,this['_sheetInterceptorService']=_0xb18461,this[_0x2eddd5(0x180)]=_0x233672,this[_0x2eddd5(0x3d8)]=_0x20be6e,this[_0x2eddd5(0x460)]();}[_0x940a9c(0x460)](){const _0x367c7f=_0x940a9c;this[_0x367c7f(0x378)](this['_sheetInterceptorService'][_0x367c7f(0x281)]({'getMutations':_0x3f3539=>{const _0x34ed9d=_0x367c7f;if(_0x3f3539['id']===_0x5d1313[_0x34ed9d(0x380)]['id']){let _0x55eaf5=(0x0,_0x5d1313[_0x34ed9d(0x2ca)])(this[_0x34ed9d(0x507)],_0x3f3539[_0x34ed9d(0x4ec)]);if(!_0x55eaf5)return{'redos':[],'undos':[]};let {unitId:_0x1d9ff0,subUnitId:_0x54873b}=_0x55eaf5,_0x5f3e4e=this['_sheetDrawingService'][_0x34ed9d(0x23d)](_0x1d9ff0,_0x54873b),_0x4b2aee=Object[_0x34ed9d(0x17a)](_0x5f3e4e)[_0x34ed9d(0x29f)](_0x32bb7d=>_0x32bb7d['drawingType']===_0x1ab145[_0x34ed9d(0x2c0)]['DRAWING_SHAPE']);if(_0x4b2aee['length']===0x0)return{'redos':[],'undos':[]};let _0x196a24=[],_0x12b2d8=[];for(let _0x39df71=0x0;_0x39df71<_0x4b2aee['length'];_0x39df71++){let _0x17a3a1=_0x4b2aee[_0x39df71],_0x57cba3=this[_0x34ed9d(0x3d8)][_0x34ed9d(0x1f5)](_0x17a3a1['unitId'],_0x17a3a1['subUnitId'],_0x17a3a1['drawingId']);if(!_0x57cba3)continue;let {redo:_0x3c9a97,undo:_0x4b1645,objects:_0x23a555}=this[_0x34ed9d(0x180)][_0x34ed9d(0x386)]([_0x17a3a1]);_0x196a24[_0x34ed9d(0x410)]({'id':_0x139146[_0x34ed9d(0x31c)]['id'],'params':{'unitId':_0x1d9ff0,'subUnitId':_0x54873b,'shapeId':_0x17a3a1[_0x34ed9d(0x244)]}}),_0x196a24[_0x34ed9d(0x410)]({'id':_0x4d7bf9['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1d9ff0,'subUnitId':_0x54873b,'type':_0x4d7bf9[_0x34ed9d(0x30c)]['REMOVE'],'op':_0x3c9a97,'objects':_0x23a555}}),_0x12b2d8[_0x34ed9d(0x410)]({'id':_0x4d7bf9['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1d9ff0,'subUnitId':_0x54873b,'type':_0x4d7bf9[_0x34ed9d(0x30c)][_0x34ed9d(0x278)],'op':_0x4b1645,'objects':_0x23a555}}),_0x12b2d8[_0x34ed9d(0x410)]({'id':_0x139146['InsertSheetsShapeMutation']['id'],'params':{'unitId':_0x1d9ff0,'subUnitId':_0x54873b,'shapeId':_0x17a3a1['drawingId'],'shapeType':_0x57cba3['getShapeType'](),'shapeData':JSON['parse'](JSON[_0x34ed9d(0x322)](_0x57cba3[_0x34ed9d(0x471)]()))}});}return{'redos':_0x196a24,'undos':_0x12b2d8};}else{if(_0x3f3539['id']===_0x5d1313[_0x34ed9d(0x238)]['id']){let {unitId:_0x39c1c3,subUnitId:_0x4e0356,targetSubUnitId:_0xec6305}=_0x3f3539['params'];if(!_0x39c1c3||!_0x4e0356||!_0xec6305)return{'redos':[],'undos':[]};let _0x3e584c=this['_sheetDrawingService']['getDrawingData'](_0x39c1c3,_0x4e0356),_0xad84a=Object['values'](_0x3e584c)['filter'](_0x425c4c=>_0x425c4c[_0x34ed9d(0x4a9)]===_0x1ab145[_0x34ed9d(0x2c0)][_0x34ed9d(0x1fb)]);if(_0xad84a[_0x34ed9d(0x384)]===0x0)return{'redos':[],'undos':[]};let _0x163e75=[],_0x26d221=[];for(let _0x269ff2=0x0;_0x269ff2<_0xad84a[_0x34ed9d(0x384)];_0x269ff2++){let _0x2f99d5=_0xad84a[_0x269ff2],_0x5e4041=this['_sheetsShapeService'][_0x34ed9d(0x1f5)](_0x2f99d5[_0x34ed9d(0x1a6)],_0x2f99d5[_0x34ed9d(0x4f2)],_0x2f99d5[_0x34ed9d(0x244)]);if(!_0x5e4041)continue;let _0x519937=(0x0,_0x1ab145[_0x34ed9d(0x3a2)])(),_0x496fe2={..._0x2f99d5,'unitId':_0x39c1c3,'subUnitId':_0xec6305,'drawingId':_0x519937},{redo:_0x2d7338,undo:_0x8c69e5,objects:_0x5173dc}=this['_sheetDrawingService']['getBatchAddOp']([_0x496fe2]);_0x163e75[_0x34ed9d(0x410)]({'id':_0x4d7bf9[_0x34ed9d(0x33f)]['id'],'params':{'unitId':_0x39c1c3,'subUnitId':_0xec6305,'type':_0x4d7bf9[_0x34ed9d(0x30c)][_0x34ed9d(0x278)],'op':_0x2d7338,'objects':_0x5173dc}}),_0x163e75[_0x34ed9d(0x410)]({'id':_0x139146[_0x34ed9d(0x429)]['id'],'params':{'unitId':_0x39c1c3,'subUnitId':_0xec6305,'shapeId':_0x519937,'shapeType':_0x5e4041[_0x34ed9d(0x19a)](),'shapeData':JSON[_0x34ed9d(0x186)](JSON['stringify'](_0x5e4041['getShapeData']()))}}),_0x26d221['push']({'id':_0x139146[_0x34ed9d(0x31c)]['id'],'params':{'unitId':_0x39c1c3,'subUnitId':_0xec6305,'shapeId':_0x519937}}),_0x26d221[_0x34ed9d(0x410)]({'id':_0x4d7bf9['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x39c1c3,'subUnitId':_0xec6305,'type':_0x4d7bf9[_0x34ed9d(0x30c)][_0x34ed9d(0x388)],'op':_0x8c69e5,'objects':_0x5173dc}});}return{'redos':_0x163e75,'undos':_0x26d221};}}return{'redos':[],'undos':[]};}}));}};_0x154069=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x1ab145[_0x940a9c(0x3f7)])),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5d1313['SheetInterceptorService'])),_0x3107e5(0x2,(0x0,_0x1ab145['Inject'])(_0x4d7bf9[_0x940a9c(0x424)])),_0x3107e5(0x3,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146['SheetsShapeService']))],_0x154069);let _0x355552=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x2a24f5,_0x391c6a,_0x21dd45,_0x486ecd,_0x5d50b7){const _0x1df038=_0x940a9c;super(),this['_context']=_0x2a24f5,this[_0x1df038(0x174)]=_0x391c6a,this[_0x1df038(0x2ad)]=_0x21dd45,this[_0x1df038(0x4c1)]=_0x486ecd,this['_sheetsShapeService']=_0x5d50b7,_0x4b9c46(this,_0x1df038(0x20e),null),this[_0x1df038(0x39f)](),this[_0x1df038(0x2a5)](),this[_0x1df038(0x3d4)]();}['_initEvents'](){const _0x433e78=_0x940a9c;let {scene:_0x33d1eb}=this[_0x433e78(0x1c0)];this[_0x433e78(0x378)](_0x33d1eb[_0x433e78(0x2a1)][_0x433e78(0x4d2)](_0x3867ff=>{const _0x503700=_0x433e78;let {offsetX:_0x98dc0b,offsetY:_0x5b4431}=_0x3867ff,_0x3b14ef=_0x33d1eb[_0x503700(0x31d)](_0x2d31ad['Vector2']['FromArray']([_0x98dc0b,_0x5b4431]));if(_0x3b14ef instanceof _0x3be600){let _0x4c0447=this[_0x503700(0x3d8)][_0x503700(0x1f5)](_0x3b14ef['unitId'],_0x3b14ef[_0x503700(0x4f2)],_0x3b14ef[_0x503700(0x251)]);if(_0x4c0447!=null&&_0x4c0447['getShapeData']()[_0x503700(0x49c)]||(0x0,_0x1cd04f[_0x503700(0x404)])(this[_0x503700(0x3d8)][_0x503700(0x19a)](_0x3b14ef[_0x503700(0x1a6)],_0x3b14ef[_0x503700(0x4f2)],_0x3b14ef['shapeId'])))return;this[_0x503700(0x174)][_0x503700(0x411)]({'visible':!0x0,'unitId':_0x3b14ef[_0x503700(0x1a6)],'subUnitId':_0x3b14ef[_0x503700(0x4f2)],'shapeId':_0x3b14ef[_0x503700(0x251)],'shapeKey':_0x3b14ef[_0x503700(0x4ea)]});}}));}[_0x940a9c(0x2a5)](){const _0x2e64b2=_0x940a9c;this[_0x2e64b2(0x378)](this['_drawingManagerService']['focus$'][_0x2e64b2(0x2ae)](_0x17c2dd=>{const _0x1eefd8=_0x2e64b2;if(_0x17c2dd[_0x1eefd8(0x384)]===0x1){let _0x32d35a=_0x17c2dd[0x0],_0x2a6650=this[_0x1eefd8(0x2ad)][_0x1eefd8(0x313)](_0x32d35a);if((_0x2a6650==null?void 0x0:_0x2a6650['drawingType'])===_0x1ab145[_0x1eefd8(0x2c0)][_0x1eefd8(0x1fb)]){var _0x131be9;let _0x185001=this[_0x1eefd8(0x174)][_0x1eefd8(0x1c4)]();if((_0x185001==null?void 0x0:_0x185001[_0x1eefd8(0x251)])===_0x32d35a[_0x1eefd8(0x244)]&&_0x185001[_0x1eefd8(0x4cb)])return;let _0x4d5534=(0x0,_0x1cd04f[_0x1eefd8(0x404)])(this[_0x1eefd8(0x3d8)][_0x1eefd8(0x19a)](_0x32d35a[_0x1eefd8(0x1a6)],_0x32d35a[_0x1eefd8(0x4f2)],_0x32d35a[_0x1eefd8(0x244)])),_0x33c3db=!!((_0x131be9=this[_0x1eefd8(0x3d8)][_0x1eefd8(0x1f5)](_0x32d35a['unitId'],_0x32d35a[_0x1eefd8(0x4f2)],_0x32d35a[_0x1eefd8(0x244)]))!=null&&_0x131be9[_0x1eefd8(0x471)]()[_0x1eefd8(0x49c)]);(_0x4d5534||_0x33c3db)&&this[_0x1eefd8(0x174)][_0x1eefd8(0x411)](null);}else this[_0x1eefd8(0x174)][_0x1eefd8(0x1c4)]()&&(this[_0x1eefd8(0x174)]['setOnSavingEditorData'](!0x0),requestAnimationFrame(()=>{const _0x39dbe2=_0x1eefd8;this[_0x39dbe2(0x174)]['setEditing'](null);}));}else this['_shapeTextEditingService']['getEditing']()&&(this[_0x1eefd8(0x174)][_0x1eefd8(0x246)](!0x0),requestAnimationFrame(()=>{const _0x850ff9=_0x1eefd8;this[_0x850ff9(0x174)][_0x850ff9(0x411)](null);}));})),this['disposeWithMe'](this[_0x2e64b2(0x2ad)][_0x2e64b2(0x41b)]['subscribe'](_0x816c2f=>{const _0x93dada=_0x2e64b2;let _0x3af80a=this[_0x93dada(0x174)][_0x93dada(0x1c4)]();_0x3af80a&&_0x816c2f[_0x93dada(0x3f2)](_0x4bf74e=>_0x4bf74e[_0x93dada(0x244)]===_0x3af80a[_0x93dada(0x251)])&&this[_0x93dada(0x174)][_0x93dada(0x411)](null);}));}[_0x940a9c(0x3d4)](){const _0x4ddf26=_0x940a9c;this['disposeWithMe'](this[_0x4ddf26(0x174)][_0x4ddf26(0x2b7)][_0x4ddf26(0x2ae)](_0x4b6e57=>{const _0x483bb1=_0x4ddf26;let {scene:_0x5b08a7}=this['_context'];if(this[_0x483bb1(0x20e)]){let _0x5e42b4=_0x5b08a7[_0x483bb1(0x39e)](this['_lastEditingShapeKey']);_0x5e42b4&&_0x5e42b4['setEditing'](!0x1);}if(_0x4b6e57){let _0x3b990c=!!_0x4b6e57[_0x483bb1(0x4cb)],_0x154047=_0x5b08a7[_0x483bb1(0x39e)](_0x4b6e57[_0x483bb1(0x2f3)]);_0x154047&&(_0x154047['setEditing'](_0x3b990c),this[_0x483bb1(0x20e)]=_0x4b6e57[_0x483bb1(0x2f3)]),this[_0x483bb1(0x4c1)][_0x483bb1(0x359)](_0x1ab145['FOCUSING_SHAPE_TEXT_EDITOR'],_0x3b990c);}else this['_lastEditingShapeKey']=null,this[_0x483bb1(0x4c1)][_0x483bb1(0x359)](_0x1ab145['FOCUSING_SHAPE_TEXT_EDITOR'],!0x1);}));}};_0x355552=_0x58a722([_0x3107e5(0x1,(0x0,_0x1ab145['Inject'])(_0x213bfe)),_0x3107e5(0x2,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x372)]),_0x3107e5(0x4,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146['SheetsShapeService']))],_0x355552);let _0x15e865=class extends _0x33caa0[_0x940a9c(0x44c)]{constructor(_0x1cfb50,_0x24bda9,_0x1f07e7,_0x123fd7){super(_0x1cfb50,_0x24bda9,_0x1f07e7,_0x123fd7,{'componentKey':_0x162892,'editorUnitId':_0x41e6d1});}};_0x15e865=_0x58a722([_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x74a11b[_0x940a9c(0x22e)])),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x521537[_0x940a9c(0x4b7)])),_0x3107e5(0x3,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x521537[_0x940a9c(0x321)]))],_0x15e865);let _0x66b0bf=class extends _0x1ab145['Disposable']{constructor(_0x228b89,_0x57ad59,_0x3e4c07,_0x4ce53e,_0x5f434a,_0x10cba9){const _0x402434=_0x940a9c;super(),this[_0x402434(0x282)]=_0x228b89,this[_0x402434(0x30e)]=_0x57ad59,this[_0x402434(0x2ad)]=_0x3e4c07,this[_0x402434(0x26f)]=_0x4ce53e,this[_0x402434(0x4a0)]=_0x5f434a,this[_0x402434(0x33e)]=_0x10cba9,_0x4b9c46(this,_0x402434(0x27e),new Set()),this[_0x402434(0x2fe)]();}[_0x940a9c(0x2fe)](){const _0x42b983=_0x940a9c;this[_0x42b983(0x300)](),this[_0x42b983(0x2f4)](),this['_shapeUpdateListener']();}[_0x940a9c(0x300)](){const _0x4d38ba=_0x940a9c;this[_0x4d38ba(0x378)](this[_0x4d38ba(0x2ad)]['add$'][_0x4d38ba(0x2ae)](_0x3cd395=>{const _0x3abccb=_0x4d38ba;this[_0x3abccb(0x2ef)](_0x3cd395);}));}[_0x940a9c(0x2f4)](){const _0x82e6d3=_0x940a9c;this[_0x82e6d3(0x378)](this['_commandService'][_0x82e6d3(0x3d1)](_0x1e2184=>{const _0x2ac74f=_0x82e6d3;if(_0x1e2184['id']===_0x139146[_0x2ac74f(0x443)]['id']){let {unitId:_0x27385e,subUnitId:_0x45dbce,shapeId:_0x5413fd}=_0x1e2184[_0x2ac74f(0x4ec)],_0x56cd1f=this[_0x2ac74f(0x361)](_0x27385e),_0x18a35e=(0x0,_0x21e525['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x27385e,'subUnitId':_0x45dbce,'drawingId':_0x5413fd}),_0x1a6726=_0x56cd1f==null?void 0x0:_0x56cd1f[_0x2ac74f(0x1ae)][_0x2ac74f(0x39e)](_0x18a35e);_0x1a6726&&(this[_0x2ac74f(0x33e)][_0x2ac74f(0x4a6)](_0x1a6726),this['_sheetDrawingShapeRenderController'][_0x2ac74f(0x221)](_0x1a6726,{'unitId':_0x27385e,'subUnitId':_0x45dbce,'shapeId':_0x5413fd}),_0x1a6726[_0x2ac74f(0x2ce)](!0x0));return;}if(_0x1e2184['id']===_0x139146['InsertSheetsShapeMutation']['id']){var _0x1e85a8;let {unitId:_0x29b1ad,subUnitId:_0x2bbc01,shapeId:_0x2f6676}=_0x1e2184['params'],_0x11b7af=this[_0x2ac74f(0x361)](_0x29b1ad);if(_0x11b7af==null)return;let {scene:_0x1762d4}=_0x11b7af,_0x240b05=(0x0,_0x21e525[_0x2ac74f(0x387)])({'unitId':_0x29b1ad,'subUnitId':_0x2bbc01,'drawingId':_0x2f6676}),_0x514567=_0x1762d4[_0x2ac74f(0x39e)](_0x240b05);if(!((_0x1e85a8=this[_0x2ac74f(0x30e)]['getRenderUnitById'](_0x29b1ad))!=null&&_0x1e85a8[_0x2ac74f(0x396)](_0x3a57a4[_0x2ac74f(0x2c5)])[_0x2ac74f(0x3a0)](_0x2bbc01)))return!0x1;if(_0x514567)return;this[_0x2ac74f(0x2ef)]([{'unitId':_0x29b1ad,'subUnitId':_0x2bbc01,'drawingId':_0x2f6676}]);}}));}['_shapeUpdateListener'](){const _0x25d0ca=_0x940a9c;this[_0x25d0ca(0x378)](this['_drawingManagerService'][_0x25d0ca(0x1fd)]['subscribe'](_0x170b66=>{_0x170b66['forEach'](_0x4c4530=>{const _0x20df9c=_0x4793;let {unitId:_0x5bfbc9,subUnitId:_0x39115c,drawingId:_0x1154e2}=_0x4c4530,_0x3f0346=this[_0x20df9c(0x2ad)]['getDrawingByParam'](_0x4c4530);if(_0x3f0346==null)return;let {transform:_0x76f7c6,drawingType:_0x453d68,srcRect:_0x241ed2,prstGeom:_0x10a0dc}=_0x3f0346;if(_0x453d68!==_0x1ab145[_0x20df9c(0x2c0)][_0x20df9c(0x1fb)])return;let _0x54d1d9=this[_0x20df9c(0x361)](_0x5bfbc9);if(_0x54d1d9==null)return;let {scene:_0x304dc6,transformer:_0x3e2d92}=_0x54d1d9;if(_0x76f7c6==null)return!0x0;let _0x238b0d=(0x0,_0x21e525[_0x20df9c(0x387)])({'unitId':_0x5bfbc9,'subUnitId':_0x39115c,'drawingId':_0x1154e2}),_0x581e06=_0x304dc6[_0x20df9c(0x39e)](_0x238b0d);if(_0x581e06==null)return!0x0;_0x581e06[_0x20df9c(0x4e4)](_0x241ed2),_0x581e06['setPrstGeom'](_0x10a0dc);});}));}[_0x940a9c(0x2ef)](_0x856ab){const _0x462650=_0x940a9c;for(let _0x44fc2f of _0x856ab){var _0x3e195a;let {unitId:_0x1270bd,subUnitId:_0x3b4f90,drawingId:_0x25aa87}=_0x44fc2f,_0x46a681=this[_0x462650(0x361)](_0x1270bd),_0x5c4a6f=(_0x3e195a=(0x0,_0x548bf5['getCurrentUnitInfo'])(this[_0x462650(0x26f)],_0x1270bd))==null?void 0x0:_0x3e195a[_0x462650(0x4f2)];if(_0x46a681==null||_0x5c4a6f!==_0x3b4f90)return;let _0x1a4542=(0x0,_0x21e525[_0x462650(0x387)])({'unitId':_0x1270bd,'subUnitId':_0x3b4f90,'drawingId':_0x25aa87});if(this[_0x462650(0x27e)][_0x462650(0x491)](_0x1a4542)||_0x46a681[_0x462650(0x1ae)][_0x462650(0x39e)](_0x1a4542)!=null)return;let _0x560df5=this['_drawingManagerService'][_0x462650(0x313)](_0x44fc2f);if(_0x560df5==null||_0x560df5[_0x462650(0x4a9)]!==_0x1ab145[_0x462650(0x2c0)][_0x462650(0x1fb)])return;if((0x0,_0x1cd04f[_0x462650(0x404)])((_0x560df5['data']||{})[_0x462650(0x257)])){let _0x4d6077=_0x560df5[_0x462650(0x280)];_0x4d6077&&(_0x560df5[_0x462650(0x280)]={..._0x4d6077,'rotateEnabled':!0x1,'resizeEnabled':!0x1,'borderEnabled':!0x1});}this['_insertingShapeKeys'][_0x462650(0x2ea)](_0x1a4542);try{this[_0x462650(0x33e)][_0x462650(0x187)](_0x560df5,_0x46a681['scene']);}finally{this[_0x462650(0x27e)][_0x462650(0x24d)](_0x1a4542);}queueMicrotask(()=>{const _0x157274=_0x462650;if(this[_0x157274(0x3b3)])return;let _0x47dad5=(0x0,_0x21e525[_0x157274(0x387)])(_0x44fc2f);if(!_0x46a681[_0x157274(0x1ae)][_0x157274(0x39e)](_0x47dad5))return;let _0x1b49ed=this[_0x157274(0x2ad)][_0x157274(0x313)](_0x44fc2f);_0x1b49ed&&this[_0x157274(0x2ad)]['refreshTransform']([_0x1b49ed]);});}}[_0x940a9c(0x361)](_0x596c39){const _0x464030=_0x940a9c;if(_0x596c39==null)return;let _0x262761=this['_renderManagerService']['getRenderUnitById'](_0x596c39),_0x172c70=_0x262761==null?void 0x0:_0x262761[_0x464030(0x1ae)];return _0x172c70==null?null:{'scene':_0x172c70,'transformer':_0x172c70[_0x464030(0x203)]()};}};_0x66b0bf=_0x58a722([_0x3107e5(0x0,_0x1ab145[_0x940a9c(0x4d9)]),_0x3107e5(0x1,_0x2d31ad[_0x940a9c(0x439)]),_0x3107e5(0x2,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x4,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x548bf5['DrawingRenderService'])),_0x3107e5(0x5,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x2da442))],_0x66b0bf);let _0x2e584e={'normal':{'fill':_0x1cd04f[_0x940a9c(0x3de)][_0x940a9c(0x290)],'stroke':_0x1cd04f[_0x940a9c(0x3de)]['cxnPointStroke'],'strokeWidth':_0x1cd04f[_0x940a9c(0x3de)][_0x940a9c(0x303)]},'highlighted':{'fill':_0x940a9c(0x4c5),'stroke':_0x940a9c(0x48f),'strokeWidth':0x2}};var _0x4798d5=class extends _0x2d31ad['Shape']{constructor(_0x442ce3,_0x1827cb){const _0x1e0646=_0x940a9c;super(_0x442ce3,_0x1827cb),_0x4b9c46(this,'_targetShapeId',''),_0x4b9c46(this,_0x1e0646(0x3bc),-0x1),_0x4b9c46(this,_0x1e0646(0x4fb),''),_0x4b9c46(this,'_subUnitId',''),_0x4b9c46(this,'_isHighlighted',!0x1),_0x1827cb&&this[_0x1e0646(0x4f8)](_0x1827cb);}[_0x940a9c(0x45d)](){const _0x47672c=_0x940a9c;return{'unitId':this['_unitId'],'subUnitId':this[_0x47672c(0x485)],'shapeId':this[_0x47672c(0x46f)],'cxnIndex':this[_0x47672c(0x3bc)]};}['setHighlighted'](_0xf0dc01){const _0x3ddf00=_0x940a9c;this[_0x3ddf00(0x196)]!==_0xf0dc01&&(this[_0x3ddf00(0x196)]=_0xf0dc01,this[_0x3ddf00(0x2ce)](!0x0));}[_0x940a9c(0x4af)](){const _0x42dce3=_0x940a9c;return this[_0x42dce3(0x196)];}[_0x940a9c(0x4f8)](_0xc710c){const _0x2c57a1=_0x940a9c;_0xc710c[_0x2c57a1(0x42c)]!==void 0x0&&(this[_0x2c57a1(0x46f)]=_0xc710c[_0x2c57a1(0x42c)]),_0xc710c[_0x2c57a1(0x3c6)]!==void 0x0&&(this[_0x2c57a1(0x3bc)]=_0xc710c[_0x2c57a1(0x3c6)]),_0xc710c[_0x2c57a1(0x1a6)]!==void 0x0&&(this[_0x2c57a1(0x4fb)]=_0xc710c[_0x2c57a1(0x1a6)]),_0xc710c[_0x2c57a1(0x4f2)]!==void 0x0&&(this[_0x2c57a1(0x485)]=_0xc710c[_0x2c57a1(0x4f2)]),_0xc710c[_0x2c57a1(0x4af)]!==void 0x0&&(this[_0x2c57a1(0x196)]=_0xc710c['isHighlighted']),this[_0x2c57a1(0x50a)]({'width':_0xc710c[_0x2c57a1(0x3f5)]??_0x1cd04f[_0x2c57a1(0x3de)][_0x2c57a1(0x23c)]*0x2,'height':_0xc710c['height']??_0x1cd04f[_0x2c57a1(0x3de)][_0x2c57a1(0x23c)]*0x2});}[_0x940a9c(0x39a)](_0x15f1ee){const _0x2618a5=_0x940a9c;let _0x4ac5e3=this[_0x2618a5(0x196)]?_0x2e584e['highlighted']:_0x2e584e['normal'];_0x2d31ad[_0x2618a5(0x41c)][_0x2618a5(0x255)](_0x15f1ee,{'radius':_0x1cd04f[_0x2618a5(0x3de)][_0x2618a5(0x23c)],'fill':_0x4ac5e3['fill'],'stroke':_0x4ac5e3[_0x2618a5(0x391)],'strokeWidth':_0x4ac5e3[_0x2618a5(0x39c)],'evented':!0x0});}};let _0x5c4f4c=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x194aa1,_0x209ce5,_0x324dcd,_0x353b9f){const _0x3ac499=_0x940a9c;super(),this[_0x3ac499(0x1c0)]=_0x194aa1,this[_0x3ac499(0x30e)]=_0x209ce5,this[_0x3ac499(0x2ad)]=_0x324dcd,this[_0x3ac499(0x3d8)]=_0x353b9f,_0x4b9c46(this,'_connectionSiteObjects',[]),_0x4b9c46(this,_0x3ac499(0x446),null),_0x4b9c46(this,'_highlightedSiteIndex',-0x1),_0x4b9c46(this,_0x3ac499(0x4a5),null),_0x4b9c46(this,_0x3ac499(0x4fb),''),_0x4b9c46(this,'_subUnitId',''),_0x4b9c46(this,'_draggingConnectorId',null);}[_0x940a9c(0x4be)](_0x31f6c9,_0x5b2b2a,_0x284fba,_0xb3ae3c){const _0x282ac4=_0x940a9c;this[_0x282ac4(0x4a5)]=_0x31f6c9,this[_0x282ac4(0x4fb)]=_0x5b2b2a,this[_0x282ac4(0x485)]=_0x284fba,this[_0x282ac4(0x4b6)]=_0xb3ae3c;}[_0x940a9c(0x3a6)](_0x7c931f){const _0x333827=_0x940a9c;if(!this['_currentScene'])return null;let _0x5bc80f=this[_0x333827(0x260)](_0x7c931f);return _0x5bc80f?(this['_activeTargetShapeId']!==_0x5bc80f[_0x333827(0x251)]&&(this[_0x333827(0x215)](),this[_0x333827(0x2e0)](_0x5bc80f['shapeId'],_0x5bc80f[_0x333827(0x342)]),this['_activeTargetShapeId']=_0x5bc80f[_0x333827(0x251)]),this[_0x333827(0x3b1)](_0x7c931f)):(this[_0x333827(0x446)]!==null&&(this[_0x333827(0x215)](),this['_activeTargetShapeId']=null),null);}[_0x940a9c(0x258)](){const _0xe95017=_0x940a9c;this[_0xe95017(0x215)](),this[_0xe95017(0x4a5)]=null,this[_0xe95017(0x446)]=null,this[_0xe95017(0x448)]=-0x1,this[_0xe95017(0x4b6)]=null;}[_0x940a9c(0x360)](){const _0x496444=_0x940a9c;return this[_0x496444(0x446)]===null||this[_0x496444(0x448)]<0x0?null:{'shapeId':this['_activeTargetShapeId'],'cxnIndex':this[_0x496444(0x448)]};}[_0x940a9c(0x260)](_0x238ecf){const _0x474751=_0x940a9c;let _0x3f737f=this[_0x474751(0x2ad)][_0x474751(0x23d)](this[_0x474751(0x4fb)],this[_0x474751(0x485)]);for(let _0x1d80ee of Object[_0x474751(0x229)](_0x3f737f)){if(_0x1d80ee===this[_0x474751(0x4b6)]||_0x3f737f[_0x1d80ee][_0x474751(0x4a9)]!==_0x1ab145[_0x474751(0x2c0)][_0x474751(0x1fb)])continue;let _0x118ab1=this[_0x474751(0x3d8)][_0x474751(0x1f5)](this[_0x474751(0x4fb)],this['_subUnitId'],_0x1d80ee);if(!_0x118ab1||(0x0,_0x1cd04f['isConnectorShape'])(_0x118ab1[_0x474751(0x19a)]())||_0x118ab1[_0x474751(0x41d)]()['length']===0x0||!this[_0x474751(0x4a5)])continue;let _0x527c08=(0x0,_0x21e525[_0x474751(0x387)])({'unitId':this[_0x474751(0x4fb)],'subUnitId':this[_0x474751(0x485)],'drawingId':_0x1d80ee}),_0x394010=this[_0x474751(0x4a5)][_0x474751(0x39e)](_0x527c08);if(!_0x394010)continue;let {left:_0x2ddd08,top:_0x4daa23,width:_0x27bb8f,height:_0x526820}=_0x394010[_0x474751(0x284)](),_0x15ce8a=_0x2ddd08+_0x27bb8f/0x2,_0x58b99c=_0x4daa23+_0x526820/0x2,_0x1aa088=_0x394010[_0x474751(0x280)][_0x474751(0x345)](),_0x59c129=new _0x2d31ad[(_0x474751(0x462))]([_0x1aa088[0x0],_0x1aa088[0x1],_0x1aa088[0x2],_0x1aa088[0x3],_0x15ce8a,_0x58b99c]),_0xa00d03=_0x394010['getParent'](),_0x3511da=(_0x394010[_0x474751(0x19e)]&&(_0xa00d03==null?void 0x0:_0xa00d03[_0x474751(0x25a)])===_0x2d31ad[_0x474751(0x29b)][_0x474751(0x184)]?_0xa00d03['ancestorTransform']['multiply'](_0x59c129):_0x59c129)[_0x474751(0x452)]()[_0x474751(0x4d8)](_0x238ecf),_0x2a512c=_0x27bb8f/0x2,_0x4452f5=_0x526820/0x2;if(_0x3511da['x']>=-_0x2a512c-0x5&&_0x3511da['x']<=_0x2a512c+0x5&&_0x3511da['y']>=-_0x4452f5-0x5&&_0x3511da['y']<=_0x4452f5+0x5)return{'shapeId':_0x1d80ee,'shapeModel':_0x118ab1};}return null;}['_showConnectionSites'](_0x4832ba,_0x4a75f8){const _0x320a88=_0x940a9c;if(!this[_0x320a88(0x4a5)])return;let _0x264521=(0x0,_0x21e525['getDrawingShapeKeyByDrawingSearch'])({'unitId':this[_0x320a88(0x4fb)],'subUnitId':this['_subUnitId'],'drawingId':_0x4832ba}),_0x284c74=this[_0x320a88(0x4a5)]['getObjectIncludeInGroup'](_0x264521);if(!_0x284c74)return;let {left:_0x53035d,top:_0x44a50c,width:_0x5ae2d4,height:_0x517703}=_0x284c74[_0x320a88(0x284)](),_0x254f9b=_0x53035d+_0x5ae2d4/0x2,_0x19fb39=_0x44a50c+_0x517703/0x2,_0x298ff7=_0x284c74['transform']['getMatrix'](),_0x5e1250=new _0x2d31ad['Transform']([_0x298ff7[0x0],_0x298ff7[0x1],_0x298ff7[0x2],_0x298ff7[0x3],_0x254f9b,_0x19fb39]),_0xbba637=_0x284c74[_0x320a88(0x3c4)](),_0x3d697c=_0x284c74[_0x320a88(0x19e)]&&(_0xbba637==null?void 0x0:_0xbba637[_0x320a88(0x25a)])===_0x2d31ad[_0x320a88(0x29b)][_0x320a88(0x184)]?_0xbba637['ancestorTransform'][_0x320a88(0x1c3)](_0x5e1250):_0x5e1250;_0x4a75f8[_0x320a88(0x3be)]({'width':_0x5ae2d4,'height':_0x517703});let _0xc1be7e=_0x4a75f8[_0x320a88(0x41d)]();for(let _0x5f141b of _0xc1be7e){let _0x3ba92f=_0x5f141b['x']-_0x5ae2d4/0x2,_0x1505c9=_0x5f141b['y']-_0x517703/0x2,_0xe3bba1=_0x3d697c[_0x320a88(0x4d8)]({'x':_0x3ba92f,'y':_0x1505c9}),_0x735316=_0xe3bba1['x'],_0x54f185=_0xe3bba1['y'],_0x2ac4e8=new _0x4798d5(_0x320a88(0x407)+_0x4832ba+'-'+_0x5f141b[_0x320a88(0x4ed)],{'left':_0x735316-_0x1cd04f[_0x320a88(0x3de)][_0x320a88(0x23c)],'top':_0x54f185-_0x1cd04f[_0x320a88(0x3de)][_0x320a88(0x23c)],'targetShapeId':_0x4832ba,'cxnIndex':_0x5f141b[_0x320a88(0x4ed)],'unitId':this[_0x320a88(0x4fb)],'subUnitId':this[_0x320a88(0x485)],'width':_0x1cd04f[_0x320a88(0x3de)]['cxnPointRadius']*0x2,'height':_0x1cd04f[_0x320a88(0x3de)]['cxnPointRadius']*0x2,'zIndex':_0x2d31ad[_0x320a88(0x2cd)]+0x2,'evented':!0x1});this[_0x320a88(0x40c)][_0x320a88(0x410)](_0x2ac4e8),this[_0x320a88(0x4a5)][_0x320a88(0x2e6)](_0x2ac4e8,_0x2d31ad[_0x320a88(0x2cd)]+0x2);}}[_0x940a9c(0x3b1)](_0x3295e3){const _0x16b998=_0x940a9c;let _0x51cd63=null,_0x49d9da=0x1/0x0,_0x3cf3ba=null;for(let _0x30322f of this[_0x16b998(0x40c)]){let _0x33cf59=_0x30322f['left']+_0x1cd04f[_0x16b998(0x3de)][_0x16b998(0x23c)],_0x1455b4=_0x30322f[_0x16b998(0x273)]+_0x1cd04f[_0x16b998(0x3de)][_0x16b998(0x23c)],_0x469a7c=_0x3295e3['x']-_0x33cf59,_0x2ae0e9=_0x3295e3['y']-_0x1455b4,_0x53681b=Math[_0x16b998(0x3bd)](_0x469a7c*_0x469a7c+_0x2ae0e9*_0x2ae0e9);_0x53681b<_0x49d9da&&(_0x49d9da=_0x53681b,_0x51cd63=_0x30322f,_0x3cf3ba={'x':_0x33cf59,'y':_0x1455b4});}let _0xcf0a0a=_0x49d9da<=0xa&&_0x51cd63?_0x51cd63[_0x16b998(0x45d)]()[_0x16b998(0x3c6)]:-0x1;if(_0xcf0a0a!==this['_highlightedSiteIndex']){for(let _0xda372f of this['_connectionSiteObjects']){let _0x12317d=_0xda372f['getConnectionInfo']();_0xda372f[_0x16b998(0x218)](_0x12317d[_0x16b998(0x3c6)]===_0xcf0a0a);}this[_0x16b998(0x448)]=_0xcf0a0a;}if(_0x49d9da<=0xa&&_0x51cd63&&_0x3cf3ba){let _0x1f607f=_0x51cd63[_0x16b998(0x45d)](),_0x32e54a=this[_0x16b998(0x374)](_0x1f607f[_0x16b998(0x251)],_0x1f607f[_0x16b998(0x3c6)]);return{'shapeId':_0x1f607f[_0x16b998(0x251)],'cxnIndex':_0x1f607f[_0x16b998(0x3c6)],'unitId':_0x1f607f[_0x16b998(0x1a6)],'subUnitId':_0x1f607f[_0x16b998(0x4f2)],'worldPoint':_0x3cf3ba,'angle':_0x32e54a};}return null;}[_0x940a9c(0x374)](_0x1c328c,_0x487df7){const _0x3f88e3=_0x940a9c;let _0x5310da=this[_0x3f88e3(0x3d8)][_0x3f88e3(0x1f5)](this['_unitId'],this[_0x3f88e3(0x485)],_0x1c328c);if(!_0x5310da)return 0x0;let _0x53ca40=this[_0x3f88e3(0x2ad)][_0x3f88e3(0x313)]({'unitId':this['_unitId'],'subUnitId':this[_0x3f88e3(0x485)],'drawingId':_0x1c328c});if(!(_0x53ca40!=null&&_0x53ca40[_0x3f88e3(0x280)]))return 0x0;let {width:_0x10de08=0x0,height:_0x106a05=0x0,flipX:_0x20ec36=!0x1,flipY:_0x50cb68=!0x1}=_0x53ca40[_0x3f88e3(0x280)];_0x5310da[_0x3f88e3(0x3be)]({'width':_0x10de08,'height':_0x106a05});let _0x1c4292=_0x5310da[_0x3f88e3(0x41d)]()[_0x3f88e3(0x34d)](_0x52ab8e=>_0x52ab8e[_0x3f88e3(0x4ed)]===_0x487df7);if(!_0x1c4292)return 0x0;let _0x350b66=_0x1c4292[_0x3f88e3(0x1a8)]/0xea60;return _0x20ec36&&(_0x350b66=0xb4-_0x350b66),_0x50cb68&&(_0x350b66=-_0x350b66),_0x350b66=(_0x350b66%0x168+0x168)%0x168,_0x350b66;}[_0x940a9c(0x215)](){const _0x331341=_0x940a9c;for(let _0x1e7cbd of this[_0x331341(0x40c)])_0x1e7cbd['dispose']();this[_0x331341(0x40c)]=[],this[_0x331341(0x448)]=-0x1;}['dispose'](){const _0x70347e=_0x940a9c;this[_0x70347e(0x215)](),super[_0x70347e(0x25b)]();}};_0x5c4f4c=_0x58a722([_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x2d31ad[_0x940a9c(0x439)])),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x21e525[_0x940a9c(0x29d)])),_0x3107e5(0x3,(0x0,_0x1ab145['Inject'])(_0x139146[_0x940a9c(0x4aa)]))],_0x5c4f4c);let _0x4b7545=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x3731c6,_0x3f8e45,_0x491985,_0x441241,_0x267019){const _0x5a7785=_0x940a9c;super(),this['_sheetSkeletonService']=_0x3731c6,this['_sheetClipboardService']=_0x3f8e45,this[_0x5a7785(0x180)]=_0x491985,this[_0x5a7785(0x47d)]=_0x441241,this[_0x5a7785(0x403)]=_0x267019,_0x4b9c46(this,'_copyInfo',void 0x0),this[_0x5a7785(0x4c9)](),this[_0x5a7785(0x504)]();}get[_0x940a9c(0x1df)](){const _0x5d8b4f=_0x940a9c;return this[_0x5d8b4f(0x180)][_0x5d8b4f(0x3a4)]();}[_0x940a9c(0x504)](){const _0x5aa20d=_0x940a9c;this[_0x5aa20d(0x403)]['registerFeaturePasteHook'](({fromUnitId:_0x39799b,fromSubUnitId:_0x4af233,toUnitId:_0x1422d9,toSubUnitId:_0x299436,idMap:_0x3594b8})=>{const _0xf70d21=_0x5aa20d;let _0x4388b3=[],_0x10f34c=[];for(let [_0x456681,_0x235629]of _0x3594b8[_0xf70d21(0x492)]()){let _0x37965d=this[_0xf70d21(0x47d)][_0xf70d21(0x1f5)](_0x39799b,_0x4af233,_0x456681);if(!_0x37965d)continue;let _0xdb04de=_0x37965d[_0xf70d21(0x19a)](),_0xb7605e=JSON[_0xf70d21(0x186)](JSON['stringify'](_0x37965d[_0xf70d21(0x471)]()));if(_0xb7605e[_0xf70d21(0x1e9)]){var _0x42741d,_0x3e346b;let _0xe52f25=(_0x42741d=_0xb7605e[_0xf70d21(0x1e9)]['from'])==null?void 0x0:_0x42741d[_0xf70d21(0x251)],_0x1f6c3b=(_0x3e346b=_0xb7605e[_0xf70d21(0x1e9)]['to'])==null?void 0x0:_0x3e346b[_0xf70d21(0x251)],_0x1bfe40=!_0xe52f25||_0x3594b8[_0xf70d21(0x491)](_0xe52f25),_0x2e5dbb=!_0x1f6c3b||_0x3594b8['has'](_0x1f6c3b);_0x1bfe40&&_0xe52f25&&_0xb7605e['relation'][_0xf70d21(0x206)]?_0xb7605e['relation'][_0xf70d21(0x206)]={..._0xb7605e['relation'][_0xf70d21(0x206)],'shapeId':_0x3594b8[_0xf70d21(0x1bb)](_0xe52f25)}:_0xb7605e['relation'][_0xf70d21(0x206)]=void 0x0,_0x2e5dbb&&_0x1f6c3b&&_0xb7605e[_0xf70d21(0x1e9)]['to']?_0xb7605e['relation']['to']={..._0xb7605e[_0xf70d21(0x1e9)]['to'],'shapeId':_0x3594b8[_0xf70d21(0x1bb)](_0x1f6c3b)}:_0xb7605e['relation']['to']=void 0x0;}_0x4388b3[_0xf70d21(0x410)]({'id':_0x139146[_0xf70d21(0x429)]['id'],'params':{'unitId':_0x1422d9,'subUnitId':_0x299436,'shapeId':_0x235629,'shapeType':_0xdb04de,'shapeData':_0xb7605e}}),_0x10f34c[_0xf70d21(0x410)]({'id':_0x139146[_0xf70d21(0x31c)]['id'],'params':{'unitId':_0x1422d9,'subUnitId':_0x299436,'shapeId':_0x235629}});}return{'redos':_0x4388b3,'undos':_0x10f34c};});}[_0x940a9c(0x4c9)](){const _0x4ee37c=_0x940a9c;this[_0x4ee37c(0x378)](this['_sheetClipboardService'][_0x4ee37c(0x4e5)]({'id':_0x4ee37c(0x441),'onBeforeCopy':(_0x5786ae,_0x21a0fe,_0x4d2420,_0xd5bc4f)=>{const _0x5425f4=_0x4ee37c;this[_0x5425f4(0x19d)]=null;let _0x5cfba5=this['_focusedDrawings'];if(_0x5cfba5[_0x5425f4(0x384)]){let _0x37e2c3=_0x5cfba5[_0x5425f4(0x29f)](_0xee740f=>_0xee740f[_0x5425f4(0x4a9)]===_0x1ab145[_0x5425f4(0x2c0)][_0x5425f4(0x1fb)]);if(_0x37e2c3['length']===0x0)return;this[_0x5425f4(0x19d)]={'unitId':_0x5786ae,'subUnitId':_0x21a0fe,'copyType':_0xd5bc4f,'drawings':_0x37e2c3};}else this[_0x5425f4(0x4e1)](_0x5786ae,_0x21a0fe,_0x4d2420,_0xd5bc4f);},'onPasteCells':(_0xc63e27,_0x56decd,_0x318e89,_0x3b3b64)=>{const _0x112449=_0x4ee37c;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0xf76f78}=_0x3b3b64;return _0xf76f78===_0x3a57a4['PREDEFINED_HOOK_NAME']['DEFAULT_PASTE']?this['_generatePasteMutations'](_0x56decd,this[_0x112449(0x19d)][_0x112449(0x1c6)]===_0x3a57a4[_0x112449(0x2a8)][_0x112449(0x3d5)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x4c4571=>this[_0x4ee37c(0x19d)]?this[_0x4ee37c(0x1a2)](_0x4c4571,this[_0x4ee37c(0x19d)][_0x4ee37c(0x1c6)]===_0x3a57a4[_0x4ee37c(0x2a8)][_0x4ee37c(0x3d5)]):{'redos':[],'undos':[]}}));}[_0x940a9c(0x4e1)](_0x137686,_0x584195,_0x198c84,_0x5e856c){const _0x5ed22c=_0x940a9c;let _0x2ed0dc=this[_0x5ed22c(0x312)][_0x5ed22c(0x3a0)](_0x137686,_0x584195);if(!_0x2ed0dc)return;let _0x5c9370=(0x0,_0x5d1313['attachRangeWithCoord'])(_0x2ed0dc,_0x198c84);if(!_0x5c9370)return;let {startX:_0x6f8933,endX:_0x1dfa2e,startY:_0x3c5a04,endY:_0x523677}=_0x5c9370,_0x586218=this[_0x5ed22c(0x180)][_0x5ed22c(0x23d)](_0x137686,_0x584195),_0x97bc6d=this[_0x5ed22c(0x1df)]['slice']();for(let [_0x1792cf,_0x4a908d]of Object[_0x5ed22c(0x492)](_0x586218)){if(_0x4a908d[_0x5ed22c(0x4a9)]!==_0x1ab145['DrawingTypeEnum'][_0x5ed22c(0x1fb)])continue;let {transform:_0x36da45}=_0x4a908d;if(!_0x36da45)continue;let {left:_0x5155a2=0x0,top:_0x32014c=0x0,width:_0x27ced1=0x0,height:_0x524ac=0x0}=_0x36da45;_0x6f8933<=_0x5155a2&&_0x1dfa2e>=_0x5155a2+_0x27ced1&&_0x3c5a04<=_0x32014c&&_0x523677>=_0x32014c+_0x524ac&&_0x97bc6d[_0x5ed22c(0x410)](_0x4a908d);}_0x97bc6d[_0x5ed22c(0x384)]>0x0&&(this[_0x5ed22c(0x19d)]={'unitId':_0x137686,'subUnitId':_0x584195,'copyType':_0x5e856c,'copyRange':_0x198c84,'drawings':_0x97bc6d});}[_0x940a9c(0x1a2)](_0x224ade,_0x1e5aec){const _0x3c6683=_0x940a9c;let {unitId:_0x429e1f,subUnitId:_0x599870,range:_0x10ce12}=_0x224ade,_0x34c3c0=this[_0x3c6683(0x312)][_0x3c6683(0x3a0)](_0x429e1f,_0x599870);if(!_0x34c3c0)return{'redos':[],'undos':[]};let _0x21f393=(0x0,_0x5d1313['discreteRangeToRange'])(_0x10ce12),{unitId:_0x1842d6,subUnitId:_0x4b0e3f,copyRange:_0x3f128a,drawings:_0x254920}=this[_0x3c6683(0x19d)],_0xb41c3a=this[_0x3c6683(0x312)]['getSkeleton'](_0x1842d6,_0x4b0e3f);if(!_0xb41c3a)return{'redos':[],'undos':[]};let _0x23bb7f;if(!_0x3f128a){let _0x3b1bfb=0x1/0x0,_0x12b0d5=0x1/0x0;for(let _0x50005f of _0x254920){let {left:_0x28a616=0x0,top:_0x28f00d=0x0}=_0x50005f[_0x3c6683(0x280)]??{};_0x28a616<_0x3b1bfb&&(_0x3b1bfb=_0x28a616),_0x28f00d<_0x12b0d5&&(_0x12b0d5=_0x28f00d);}_0x3b1bfb!==0x1/0x0&&_0x12b0d5!==0x1/0x0&&(_0x23bb7f={'left':_0x3b1bfb,'top':_0x12b0d5});}let _0x406ffd=new Map();if(!_0x1e5aec){for(let _0x253dd1 of _0x254920)_0x406ffd[_0x3c6683(0x2c4)](_0x253dd1[_0x3c6683(0x244)],(0x0,_0x1ab145[_0x3c6683(0x3a2)])());}let _0x4d7630=[],_0xd74dc9=[];for(let _0x39837d of _0x254920){let {drawingId:_0x58ce42,transform:_0x2859d3,sheetTransform:_0x52da47}=_0x39837d;if(!_0x2859d3||!_0x52da47)continue;let _0x3f724a=this[_0x3c6683(0x4dd)]({'transform':_0x2859d3,'sheetTransform':_0x52da47},{'skeleton':_0xb41c3a,'range':_0x3f128a},{'skeleton':_0x34c3c0,'range':_0x21f393},_0x23bb7f);if(_0x1e5aec){let {redos:_0x8b3eb6,undos:_0x4d3623}=this[_0x3c6683(0x2d4)]({'fromUnitId':_0x1842d6,'fromSubUnitId':_0x4b0e3f,'toUnitId':_0x429e1f,'toSubUnitId':_0x599870,'drawing':_0x39837d,'newTransforms':_0x3f724a});_0x4d7630['push'](..._0x8b3eb6),_0xd74dc9[_0x3c6683(0x410)](..._0x4d3623);continue;}let {redos:_0x29bb42,undos:_0x2cfd97}=this[_0x3c6683(0x373)]({'toUnitId':_0x429e1f,'toSubUnitId':_0x599870,'drawing':_0x39837d,'newTransforms':_0x3f724a,'newDrawingId':_0x406ffd[_0x3c6683(0x1bb)](_0x58ce42),'idMap':_0x406ffd});_0x4d7630[_0x3c6683(0x410)](..._0x29bb42),_0xd74dc9['push'](..._0x2cfd97);}return{'redos':_0x4d7630,'undos':_0xd74dc9};}[_0x940a9c(0x2d4)](_0x6d9f16){const _0x4db5d8=_0x940a9c;let {fromUnitId:_0x374728,fromSubUnitId:_0x484e4f,toUnitId:_0x368cc4,toSubUnitId:_0x2e498c,drawing:_0x101a00,newTransforms:_0x48a787}=_0x6d9f16,_0x30bd21={..._0x101a00,'unitId':_0x368cc4,'subUnitId':_0x2e498c,'transform':_0x48a787['transform'],'sheetTransform':_0x48a787['sheetTransform']};if(_0x368cc4===_0x374728&&_0x2e498c===_0x484e4f){let {redo:_0x16b3cf,undo:_0x8d14f9,objects:_0xf59c20}=this[_0x4db5d8(0x180)][_0x4db5d8(0x23f)]([_0x30bd21]);return{'redos':[{'id':_0x4d7bf9[_0x4db5d8(0x33f)]['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'type':_0x4d7bf9[_0x4db5d8(0x30c)][_0x4db5d8(0x317)],'op':_0x16b3cf,'objects':_0xf59c20}}],'undos':[{'id':_0x4d7bf9['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'type':_0x4d7bf9[_0x4db5d8(0x30c)][_0x4db5d8(0x317)],'op':_0x8d14f9,'objects':_0xf59c20}}]};}else{let _0x258663=this['_sheetDrawingService'][_0x4db5d8(0x386)]([_0x101a00]),_0x2b96a6=this['_sheetDrawingService'][_0x4db5d8(0x314)]([_0x30bd21]),_0x234227=this[_0x4db5d8(0x47d)][_0x4db5d8(0x1f5)](_0x101a00[_0x4db5d8(0x1a6)],_0x101a00[_0x4db5d8(0x4f2)],_0x101a00['drawingId']);if(!_0x234227)return{'redos':[],'undos':[]};let _0x21efba=_0x234227[_0x4db5d8(0x19a)](),_0x15addd=JSON['parse'](JSON[_0x4db5d8(0x322)](_0x234227[_0x4db5d8(0x471)]()));return{'redos':[{'id':_0x4d7bf9[_0x4db5d8(0x33f)]['id'],'params':{'unitId':_0x374728,'subUnitId':_0x484e4f,'type':_0x4d7bf9[_0x4db5d8(0x30c)][_0x4db5d8(0x388)],'op':_0x258663[_0x4db5d8(0x3bb)],'objects':_0x258663[_0x4db5d8(0x18c)]}},{'id':_0x139146['RemoveSheetsShapeMutation']['id'],'params':{'unitId':_0x374728,'subUnitId':_0x484e4f,'shapeId':_0x101a00[_0x4db5d8(0x244)]}},{'id':_0x4d7bf9[_0x4db5d8(0x33f)]['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'type':_0x4d7bf9[_0x4db5d8(0x30c)][_0x4db5d8(0x278)],'op':_0x2b96a6[_0x4db5d8(0x3bb)],'objects':_0x2b96a6['objects']}},{'id':_0x139146[_0x4db5d8(0x429)]['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'shapeId':_0x101a00['drawingId'],'shapeType':_0x21efba,'shapeData':_0x15addd}}],'undos':[{'id':_0x4d7bf9[_0x4db5d8(0x33f)]['id'],'params':{'unitId':_0x374728,'subUnitId':_0x484e4f,'type':_0x4d7bf9[_0x4db5d8(0x30c)][_0x4db5d8(0x278)],'op':_0x258663[_0x4db5d8(0x202)],'objects':_0x258663['objects']}},{'id':_0x139146[_0x4db5d8(0x429)]['id'],'params':{'unitId':_0x374728,'subUnitId':_0x484e4f,'shapeId':_0x101a00[_0x4db5d8(0x244)],'shapeType':_0x21efba,'shapeData':_0x15addd}},{'id':_0x4d7bf9[_0x4db5d8(0x33f)]['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'type':_0x4d7bf9['DrawingApplyType'][_0x4db5d8(0x388)],'op':_0x2b96a6[_0x4db5d8(0x202)],'objects':_0x2b96a6[_0x4db5d8(0x18c)]}},{'id':_0x139146[_0x4db5d8(0x31c)]['id'],'params':{'unitId':_0x368cc4,'subUnitId':_0x2e498c,'shapeId':_0x101a00[_0x4db5d8(0x244)]}}]};}}[_0x940a9c(0x373)](_0x37035f){const _0x13db0b=_0x940a9c;let {toUnitId:_0x55f5b1,toSubUnitId:_0x13efda,drawing:_0x25fd8a,newTransforms:_0x38df6d,newDrawingId:_0x30e1f4,idMap:_0x366f8c}=_0x37035f,_0x43859a={..._0x25fd8a,'unitId':_0x55f5b1,'subUnitId':_0x13efda,'drawingId':_0x30e1f4,'transform':_0x38df6d[_0x13db0b(0x280)],'sheetTransform':_0x38df6d[_0x13db0b(0x3ae)]},{redo:_0x1fc45a,undo:_0x5a4af4,objects:_0x512325}=this['_sheetDrawingService']['getBatchAddOp']([_0x43859a]),_0x20c7db=this[_0x13db0b(0x47d)]['getShapeModel'](_0x25fd8a['unitId'],_0x25fd8a[_0x13db0b(0x4f2)],_0x25fd8a[_0x13db0b(0x244)]);if(!_0x20c7db)return{'redos':[],'undos':[]};let _0x7cca63=_0x20c7db[_0x13db0b(0x19a)](),_0x3d5dc8=JSON[_0x13db0b(0x186)](JSON[_0x13db0b(0x322)](_0x20c7db[_0x13db0b(0x471)]()));if(_0x3d5dc8['relation']){var _0x3c65a5,_0x1e22cd;let _0x113f13=(_0x3c65a5=_0x3d5dc8['relation'][_0x13db0b(0x206)])==null?void 0x0:_0x3c65a5[_0x13db0b(0x251)],_0x110452=(_0x1e22cd=_0x3d5dc8[_0x13db0b(0x1e9)]['to'])==null?void 0x0:_0x1e22cd[_0x13db0b(0x251)],_0x8261cf=!_0x113f13||_0x366f8c[_0x13db0b(0x491)](_0x113f13),_0x1f3bf7=!_0x110452||_0x366f8c[_0x13db0b(0x491)](_0x110452);_0x8261cf&&_0x113f13&&_0x3d5dc8['relation'][_0x13db0b(0x206)]?_0x3d5dc8[_0x13db0b(0x1e9)]['from']={..._0x3d5dc8[_0x13db0b(0x1e9)][_0x13db0b(0x206)],'shapeId':_0x366f8c['get'](_0x113f13)}:_0x3d5dc8[_0x13db0b(0x1e9)][_0x13db0b(0x206)]=void 0x0,_0x1f3bf7&&_0x110452&&_0x3d5dc8[_0x13db0b(0x1e9)]['to']?_0x3d5dc8[_0x13db0b(0x1e9)]['to']={..._0x3d5dc8[_0x13db0b(0x1e9)]['to'],'shapeId':_0x366f8c[_0x13db0b(0x1bb)](_0x110452)}:_0x3d5dc8[_0x13db0b(0x1e9)]['to']=void 0x0;}return{'redos':[{'id':_0x4d7bf9['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x55f5b1,'subUnitId':_0x13efda,'type':_0x4d7bf9[_0x13db0b(0x30c)][_0x13db0b(0x278)],'op':_0x1fc45a,'objects':_0x512325}},{'id':_0x139146[_0x13db0b(0x429)]['id'],'params':{'unitId':_0x55f5b1,'subUnitId':_0x13efda,'shapeId':_0x30e1f4,'shapeType':_0x7cca63,'shapeData':_0x3d5dc8}}],'undos':[{'id':_0x4d7bf9[_0x13db0b(0x33f)]['id'],'params':{'unitId':_0x55f5b1,'subUnitId':_0x13efda,'type':_0x4d7bf9[_0x13db0b(0x30c)][_0x13db0b(0x388)],'op':_0x5a4af4,'objects':_0x512325}},{'id':_0x139146[_0x13db0b(0x31c)]['id'],'params':{'unitId':_0x55f5b1,'subUnitId':_0x13efda,'shapeId':_0x30e1f4}}]};}[_0x940a9c(0x4dd)](_0x2eddb5,_0x50c7ea,_0xe01e38,_0x434fe6){const _0x199b05=_0x940a9c;let {range:_0x29d0f0,skeleton:_0x4730ca}=_0x50c7ea,{range:_0x4fa28f,skeleton:_0x39ccf9}=_0xe01e38,{transform:_0x852321,sheetTransform:_0x11b414}=_0x2eddb5,_0x3a11bb={..._0x852321};if(_0x29d0f0){let _0x18be30=(0x0,_0x5d1313[_0x199b05(0x495)])(_0x4730ca,_0x29d0f0),_0x46d751=(0x0,_0x5d1313['attachRangeWithCoord'])(_0x39ccf9,_0x4fa28f);if(_0x18be30&&_0x46d751){let _0xf1044e=_0x46d751[_0x199b05(0x335)]-_0x18be30['startX'],_0x5c29ee=_0x46d751[_0x199b05(0x3aa)]-_0x18be30[_0x199b05(0x3aa)];_0x3a11bb[_0x199b05(0x381)]=(_0x3a11bb[_0x199b05(0x381)]??0x0)+_0xf1044e,_0x3a11bb[_0x199b05(0x273)]=(_0x3a11bb[_0x199b05(0x273)]??0x0)+_0x5c29ee;}}else{let _0x546f0c=(0x0,_0x5d1313[_0x199b05(0x495)])(_0x39ccf9,_0x4fa28f);if(_0x434fe6&&_0x546f0c){let _0x450dda=(_0x3a11bb['left']??0x0)-_0x434fe6[_0x199b05(0x381)],_0x20219e=(_0x3a11bb['top']??0x0)-_0x434fe6[_0x199b05(0x273)];_0x3a11bb[_0x199b05(0x381)]=_0x546f0c['startX']+_0x450dda,_0x3a11bb['top']=_0x546f0c['startY']+_0x20219e;}else _0x3a11bb[_0x199b05(0x381)]=_0x546f0c==null?void 0x0:_0x546f0c[_0x199b05(0x335)],_0x3a11bb['top']=_0x546f0c==null?void 0x0:_0x546f0c[_0x199b05(0x3aa)];}return{'transform':_0x3a11bb,'sheetTransform':(0x0,_0x4d7bf9[_0x199b05(0x3fe)])(_0x3a11bb,_0x39ccf9)??_0x11b414};}};_0x4b7545=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145['Inject'])(_0x5d1313[_0x940a9c(0x329)])),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x3a57a4[_0x940a9c(0x366)])),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x4d7bf9['ISheetDrawingService'])),_0x3107e5(0x3,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146[_0x940a9c(0x4aa)])),_0x3107e5(0x4,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x3d1925['SheetsDrawingGroupCopyPasteController']))],_0x4b7545);var _0x27d5a4=class extends _0x2d31ad['Shape']{constructor(_0x3ca619,_0x30ec9a){const _0xff1d74=_0x940a9c;super(_0x3ca619,_0x30ec9a),_0x4b9c46(this,'_shapeId',null),_0x4b9c46(this,'_index',null),_0x4b9c46(this,'_unitId',null),_0x4b9c46(this,'_subUnitId',null),_0x4b9c46(this,_0xff1d74(0x3ff),!0x1),_0x30ec9a&&this[_0xff1d74(0x4f8)](_0x30ec9a);}['getDrawingSearch'](){const _0x11f008=_0x940a9c;return{'unitId':this[_0x11f008(0x4fb)],'subUnitId':this[_0x11f008(0x485)],'drawingId':this[_0x11f008(0x3ce)]};}[_0x940a9c(0x4f8)](_0x3efb91){const _0x44b1eb=_0x940a9c;_0x3efb91[_0x44b1eb(0x251)]!==void 0x0&&(this[_0x44b1eb(0x3ce)]=_0x3efb91[_0x44b1eb(0x251)]),_0x3efb91[_0x44b1eb(0x1a6)]!==void 0x0&&(this[_0x44b1eb(0x4fb)]=_0x3efb91[_0x44b1eb(0x1a6)]),_0x3efb91[_0x44b1eb(0x4f2)]!==void 0x0&&(this[_0x44b1eb(0x485)]=_0x3efb91[_0x44b1eb(0x4f2)]),_0x3efb91[_0x44b1eb(0x194)]!==void 0x0&&(this['_isStartConnectorPoint']=_0x3efb91['isStartConnectorPoint']),this['transformByState']({'width':_0x3efb91[_0x44b1eb(0x3f5)],'height':_0x3efb91[_0x44b1eb(0x1c1)]});}[_0x940a9c(0x39a)](_0x411f81){const _0x1264a1=_0x940a9c;_0x2d31ad['Circle'][_0x1264a1(0x255)](_0x411f81,{'radius':_0x1cd04f['ShapeDefaultConfig'][_0x1264a1(0x23c)],'fill':_0x1cd04f[_0x1264a1(0x3de)][_0x1264a1(0x290)],'stroke':_0x1cd04f[_0x1264a1(0x3de)][_0x1264a1(0x1a4)],'strokeWidth':_0x1cd04f[_0x1264a1(0x3de)][_0x1264a1(0x303)],'evented':!0x0});}};let _0x26f516=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x3cc559,_0x1b6fa0,_0x4c4cc8,_0x152f34,_0x4e5f13,_0x5874ac,_0x2a0f78,_0x506870){const _0x15182d=_0x940a9c;super(),this['_context']=_0x3cc559,this[_0x15182d(0x282)]=_0x1b6fa0,this[_0x15182d(0x30e)]=_0x4c4cc8,this['_drawingManagerService']=_0x152f34,this[_0x15182d(0x507)]=_0x4e5f13,this[_0x15182d(0x3d8)]=_0x5874ac,this[_0x15182d(0x3b9)]=_0x2a0f78,this[_0x15182d(0x4c3)]=_0x506870,_0x4b9c46(this,_0x15182d(0x32d),void 0x0),_0x4b9c46(this,_0x15182d(0x4fb),void 0x0),_0x4b9c46(this,'_subUnitId',void 0x0),_0x4b9c46(this,_0x15182d(0x2ba),[]),_0x4b9c46(this,_0x15182d(0x3b0),{'left':0x0,'top':0x0,'width':0x0,'height':0x0,'flipX':!0x1,'flipY':!0x1}),_0x4b9c46(this,'_activeShapeModel',void 0x0),_0x4b9c46(this,'_isConnecting',!0x1),_0x4b9c46(this,_0x15182d(0x2bf),!0x1),_0x4b9c46(this,_0x15182d(0x178),!0x1),_0x4b9c46(this,'_cxtHandlerPointerMove',void 0x0),_0x4b9c46(this,_0x15182d(0x40b),void 0x0),_0x4b9c46(this,_0x15182d(0x2af),null),this[_0x15182d(0x2fe)]();}[_0x940a9c(0x2fe)](){const _0x1d0f30=_0x940a9c;this[_0x1d0f30(0x4fc)](),this[_0x1d0f30(0x231)]();}[_0x940a9c(0x3c0)](){const _0x40519c=_0x940a9c;if(!this[_0x40519c(0x4fb)]||!this[_0x40519c(0x485)]||!this[_0x40519c(0x32d)])return;let _0x4528a3={'unitId':this[_0x40519c(0x4fb)],'subUnitId':this[_0x40519c(0x485)],'drawingId':this['_activeShapeId']},{transform:_0x3d7348}=this[_0x40519c(0x2ad)][_0x40519c(0x313)](_0x4528a3);if(_0x3d7348)return{'left':_0x3d7348[_0x40519c(0x381)]||0x0,'top':_0x3d7348[_0x40519c(0x273)]||0x0,'width':_0x3d7348['width']||0x0,'height':_0x3d7348['height']||0x0,'flipX':_0x3d7348[_0x40519c(0x26e)]||!0x1,'flipY':_0x3d7348[_0x40519c(0x2a9)]||!0x1,'angle':_0x3d7348[_0x40519c(0x37b)]};}[_0x940a9c(0x306)](){const _0x1ee555=_0x940a9c;if(this[_0x1ee555(0x4fb)]===void 0x0||this[_0x1ee555(0x485)]===void 0x0||this[_0x1ee555(0x32d)]===void 0x0)return;let _0x3e3bcd=this['_renderManagerService'][_0x1ee555(0x3ad)](this['_unitId']);if(!_0x3e3bcd||!_0x3e3bcd[_0x1ee555(0x396)](_0x3a57a4[_0x1ee555(0x2c5)])['getCurrentSkeleton']())return;let {scene:_0x56cf68}=_0x3e3bcd,_0x2fce47=this['_getDrawingRect']();if(!_0x2fce47)return;let _0x53da5a=this[_0x1ee555(0x3d8)][_0x1ee555(0x1f5)](this[_0x1ee555(0x4fb)],this[_0x1ee555(0x485)],this[_0x1ee555(0x32d)]);if(!_0x53da5a||!(0x0,_0x1cd04f['isConnectorShape'])(_0x53da5a[_0x1ee555(0x19a)]()))return;let _0x355c9f=_0x53da5a[_0x1ee555(0x38a)]();if(_0x355c9f[_0x1ee555(0x384)]<0x2)return;let _0x31ecab=new _0x1cd04f['ConnectorCoordinateTransform'](_0x2fce47),_0x480281=_0x355c9f[0x0],_0x1a795b=_0x355c9f[_0x355c9f[_0x1ee555(0x384)]-0x1],_0x4d02b8=_0x31ecab['localToWorld'](_0x480281),_0x1b2fdc=_0x31ecab['localToWorld'](_0x1a795b);this[_0x1ee555(0x377)](_0x56cf68,{..._0x4d02b8},!0x0),this[_0x1ee555(0x377)](_0x56cf68,{..._0x1b2fdc},!0x1);}[_0x940a9c(0x377)](_0x1b2e06,_0x409ebf,_0x3030a8){const _0x521939=_0x940a9c;if(this[_0x521939(0x32d)]===void 0x0||this[_0x521939(0x4fb)]===void 0x0||this['_subUnitId']===void 0x0)return;let _0x138e49=_0x521939(0x418)+this[_0x521939(0x4fb)]+'-'+this['_subUnitId']+'-'+this['_activeShapeId']+'-'+(_0x3030a8?_0x521939(0x490):_0x521939(0x488)),_0x52bd87=_0x1b2e06[_0x521939(0x39e)](_0x138e49);if(_0x52bd87){_0x52bd87[_0x521939(0x50a)]({'left':_0x409ebf['x']-_0x1cd04f[_0x521939(0x3de)][_0x521939(0x23c)],'top':_0x409ebf['y']-_0x1cd04f[_0x521939(0x3de)][_0x521939(0x23c)]});return;}let _0x5b0d37=new _0x27d5a4(_0x138e49,{'left':_0x409ebf['x']-_0x1cd04f[_0x521939(0x3de)][_0x521939(0x23c)],'top':_0x409ebf['y']-_0x1cd04f[_0x521939(0x3de)][_0x521939(0x23c)],'shapeId':this[_0x521939(0x32d)],'unitId':this[_0x521939(0x4fb)],'subUnitId':this['_subUnitId'],'isStartConnectorPoint':_0x3030a8,'width':_0x1cd04f['ShapeDefaultConfig'][_0x521939(0x23c)]*0x2,'height':_0x1cd04f['ShapeDefaultConfig'][_0x521939(0x23c)]*0x2,'zIndex':_0x2d31ad['DRAWING_OBJECT_LAYER_INDEX']+0x1,'evented':!0x0});this[_0x521939(0x2ba)]['push'](_0x5b0d37),this[_0x521939(0x3ec)](_0x5b0d37,_0x1b2e06,_0x3030a8),_0x1b2e06[_0x521939(0x2e6)](_0x5b0d37,_0x2d31ad[_0x521939(0x2cd)]+0x1);}[_0x940a9c(0x398)](_0x17808a,_0x4232d1){const _0x9a7ebe=_0x940a9c;var _0x503247;let _0xc09610={'x':0x0,'y':0x0};if(!_0x17808a||!_0x4232d1)return _0xc09610;let _0x14eadc=this[_0x9a7ebe(0x30e)][_0x9a7ebe(0x3ad)](_0x17808a);if(!_0x14eadc||!_0x14eadc[_0x9a7ebe(0x396)](_0x3a57a4[_0x9a7ebe(0x2c5)])['getSkeleton'](_0x4232d1))return _0xc09610;let _0x17bcf7=_0x14eadc['with'](_0x3a57a4[_0x9a7ebe(0x17c)]),_0x3ea691=_0x17bcf7==null?void 0x0:_0x17bcf7[_0x9a7ebe(0x3c9)]();if(!_0x3ea691)return _0xc09610;let _0x513a68=(_0x503247=this[_0x9a7ebe(0x507)]['getUnit'](_0x17808a))==null?void 0x0:_0x503247[_0x9a7ebe(0x204)](_0x4232d1);if(!_0x513a68)return _0xc09610;let _0x55454d=(0x0,_0x3a57a4['getViewportByCell'])(_0x3ea691[_0x9a7ebe(0x2c1)],_0x3ea691[_0x9a7ebe(0x1e3)],_0x14eadc['scene'],_0x513a68);return _0x55454d?{'x':_0x55454d['viewportScrollX'],'y':_0x55454d[_0x9a7ebe(0x413)]}:_0xc09610;}['_getZoomRatio'](_0x36723e,_0x14787d){const _0x418799=_0x940a9c;var _0x51b56d;let _0x362adf=(_0x51b56d=this[_0x418799(0x507)][_0x418799(0x494)](_0x36723e))==null?void 0x0:_0x51b56d[_0x418799(0x204)](_0x14787d);return(_0x362adf==null?void 0x0:_0x362adf[_0x418799(0x1a1)]())??0x1;}[_0x940a9c(0x1c2)](_0x354261,_0x1d7f3b,_0x1c8050,_0x2d26d8,_0x377534){const _0x9de189=_0x940a9c;this['_cxtHandlerPointerMove'][_0x9de189(0x1ca)](),this[_0x9de189(0x40b)][_0x9de189(0x1ca)](),this[_0x9de189(0x3b9)]['refreshAdjustControls']();let _0x30703e=this[_0x9de189(0x2af)];this['_sheetBasicShapeConnectionPointController'][_0x9de189(0x258)]();let _0x381461=this[_0x9de189(0x398)](this[_0x9de189(0x4fb)],this[_0x9de189(0x485)]),_0x57869d=this[_0x9de189(0x4e3)](this[_0x9de189(0x4fb)],this[_0x9de189(0x485)]),_0x2d31fd={'x':_0x1c8050[_0x9de189(0x3d6)]/_0x57869d+_0x381461['x'],'y':_0x1c8050['offsetY']/_0x57869d+_0x381461['y']},_0x443f84=_0x30703e?_0x30703e['worldPoint']:_0x2d31fd,_0x143b39=_0x2d26d8?this[_0x9de189(0x445)][_0x9de189(0x4dc)]():this[_0x9de189(0x445)]['getStartConnectInfo'](),_0x190afb=this[_0x9de189(0x445)][_0x9de189(0x19a)]();_0x143b39?this[_0x9de189(0x4cc)](_0x143b39,_0x443f84,_0x2d26d8,_0x30703e,_0x377534):this[_0x9de189(0x32e)](_0x1d7f3b,_0x443f84,_0x2d26d8,_0x30703e,_0x377534,_0x190afb),this[_0x9de189(0x447)]=!0x1,this[_0x9de189(0x178)]=!0x1,this['_currentConnectionTarget']=null,_0x354261[_0x9de189(0x3a8)]();}[_0x940a9c(0x32e)](_0x26a2b4,_0xcab615,_0x49e17e,_0x1f70ba,_0x51d60b,_0x48028e){const _0x4e984f=_0x940a9c;let _0x1e9eb9=_0x48028e===_0x1cd04f['ShapeTypeEnum'][_0x4e984f(0x39b)]||_0x48028e===_0x1cd04f['ShapeTypeEnum']['StraightConnector1'],_0x2d2acc=_0x49e17e?_0xcab615:_0x26a2b4,_0x559df2=_0x49e17e?_0x26a2b4:_0xcab615,_0x4875a2=this[_0x4e984f(0x445)][_0x4e984f(0x38a)](),_0x3d312a=(0x0,_0x1cd04f[_0x4e984f(0x3f4)])(this[_0x4e984f(0x445)][_0x4e984f(0x19a)]()),_0x385988=_0x1cd04f[_0x4e984f(0x39d)]['getBentTypeFromPoints'](_0x4875a2,_0x3d312a),_0x3e2650=_0x1e9eb9?_0x1cd04f[_0x4e984f(0x39d)][_0x4e984f(0x2cf)](_0x2d2acc,_0x559df2):_0x1cd04f['ConnectorCoordinateTransform'][_0x4e984f(0x496)](_0x26a2b4,_0xcab615,_0x49e17e,_0x385988);_0x1f70ba?this[_0x4e984f(0x265)](_0x3e2650,_0x1f70ba,_0x49e17e,_0x51d60b):this[_0x4e984f(0x296)](_0x3e2650,_0x51d60b);}[_0x940a9c(0x4cc)](_0x9b520b,_0x174329,_0x5f5b0a,_0x927aad,_0x4df728){const _0x1a50c9=_0x940a9c;let _0x8d778a=this[_0x1a50c9(0x3f8)](_0x9b520b);if(!_0x8d778a)return;let _0x4a9cab=_0x927aad?_0x927aad['angle']:this[_0x1a50c9(0x22c)](_0x8d778a[_0x1a50c9(0x2d0)],_0x174329),_0x1f2d99;if(_0x927aad){let _0x15f497=this[_0x1a50c9(0x2ad)][_0x1a50c9(0x313)]({'unitId':_0x927aad['unitId'],'subUnitId':_0x927aad[_0x1a50c9(0x4f2)],'drawingId':_0x927aad[_0x1a50c9(0x251)]});if(_0x15f497!=null&&_0x15f497[_0x1a50c9(0x280)]){let {left:_0x60d75d=0x0,top:_0x36fabf=0x0,width:_0x40e068=0x0,height:_0x50456e=0x0,angle:_0x3276af}=_0x15f497[_0x1a50c9(0x280)];_0x1f2d99=(0x0,_0x1cd04f[_0x1a50c9(0x379)])({'left':_0x60d75d,'top':_0x36fabf,'width':_0x40e068,'height':_0x50456e},_0x3276af||0x0);}else _0x1f2d99={'left':_0x174329['x'],'top':_0x174329['y'],'width':0x0,'height':0x0};}else _0x1f2d99={'left':_0x174329['x'],'top':_0x174329['y'],'width':0x0,'height':0x0};let _0x33ab84={'point':_0x174329,'angle':_0x4a9cab,'bounds':_0x1f2d99},_0x5630ed=_0x5f5b0a?_0x33ab84:_0x8d778a,_0x1387a0=_0x5f5b0a?_0x8d778a:_0x33ab84,_0x5dc2b1=this[_0x1a50c9(0x445)]['getShapeType'](),_0x2e7d40=(0x0,_0x1cd04f[_0x1a50c9(0x18f)])(_0x5630ed,_0x1387a0,_0x5dc2b1);this[_0x1a50c9(0x445)][_0x1a50c9(0x405)]();let _0x35576e=(0x0,_0x1cd04f[_0x1a50c9(0x193)])(_0x2e7d40,_0x5dc2b1);_0x927aad?this[_0x1a50c9(0x2e7)](_0x35576e,_0x927aad,_0x9b520b,_0x5f5b0a,_0x4df728):this[_0x1a50c9(0x3a3)](_0x35576e,_0x9b520b,_0x5f5b0a,_0x4df728);}[_0x940a9c(0x265)](_0x2f769e,_0x1d7490,_0x146684,_0x57e3bd){const _0x55edb6=_0x940a9c;let _0x5e1860=this[_0x55edb6(0x445)][_0x55edb6(0x471)]()[_0x55edb6(0x1e9)],_0x10036a={..._0x5e1860},_0xf30f5b={'shapeId':_0x1d7490[_0x55edb6(0x251)],'cxnIndex':_0x1d7490['cxnIndex']};_0x146684?_0x10036a[_0x55edb6(0x206)]=_0xf30f5b:_0x10036a['to']=_0xf30f5b;let _0x8044cb=this[_0x55edb6(0x445)]['getShapeType'](),_0x259cb4=(0x0,_0x1cd04f[_0x55edb6(0x193)])(_0x2f769e['worldPoints'],_0x8044cb),_0x3e259a={'unitId':this[_0x55edb6(0x4fb)],'subUnitId':this[_0x55edb6(0x485)],'connectorShapeId':this[_0x55edb6(0x32d)],'width':_0x2f769e['worldRect'][_0x55edb6(0x3f5)],'height':_0x2f769e[_0x55edb6(0x283)]['height'],'left':_0x2f769e[_0x55edb6(0x283)][_0x55edb6(0x381)],'top':_0x2f769e['worldRect']['top'],'flipX':_0x2f769e[_0x55edb6(0x283)][_0x55edb6(0x26e)]||!0x1,'flipY':_0x2f769e[_0x55edb6(0x283)][_0x55edb6(0x2a9)]||!0x1,'newAdjustValues':_0x259cb4[_0x55edb6(0x4c2)],'oldAdjustValues':_0x57e3bd,'oldRelation':_0x5e1860,'newRelation':_0x10036a,'newLineType':_0x259cb4[_0x55edb6(0x21c)],'oldLineType':_0x8044cb};this[_0x55edb6(0x282)]['executeCommand'](_0x139146[_0x55edb6(0x461)]['id'],_0x3e259a);}[_0x940a9c(0x296)](_0x4c0f99,_0x796233){const _0x44bfb1=_0x940a9c;let _0x4a2896=this[_0x44bfb1(0x445)][_0x44bfb1(0x19a)](),_0x1130d7=(0x0,_0x1cd04f[_0x44bfb1(0x193)])(_0x4c0f99[_0x44bfb1(0x484)],_0x4a2896),_0x444950={'unitId':this[_0x44bfb1(0x4fb)],'subUnitId':this['_subUnitId'],'shapeId':this['_activeShapeId'],'width':_0x4c0f99[_0x44bfb1(0x283)][_0x44bfb1(0x3f5)],'height':_0x4c0f99['worldRect']['height'],'left':_0x4c0f99[_0x44bfb1(0x283)]['left'],'top':_0x4c0f99[_0x44bfb1(0x283)]['top'],'flipX':_0x4c0f99['worldRect'][_0x44bfb1(0x26e)]||!0x1,'flipY':_0x4c0f99[_0x44bfb1(0x283)][_0x44bfb1(0x2a9)]||!0x1,'angle':_0x4c0f99[_0x44bfb1(0x283)][_0x44bfb1(0x37b)]||0x0,'newAdjustValues':_0x1130d7['adjustValues'],'oldAdjustValues':_0x796233,'newLineType':_0x1130d7[_0x44bfb1(0x21c)],'oldLineType':_0x4a2896};this[_0x44bfb1(0x282)][_0x44bfb1(0x454)](_0x139146['UpdateLineShapeResizeCommand']['id'],_0x444950);}[_0x940a9c(0x2e7)](_0x34f03e,_0x305fd5,_0x370214,_0x27e6fb,_0x3596ae){const _0x4a4c9f=_0x940a9c;let _0x4dbd73=this['_activeShapeModel']['getShapeData']()[_0x4a4c9f(0x1e9)],_0x702a4c={..._0x4dbd73},_0x3e72e6={'shapeId':_0x305fd5[_0x4a4c9f(0x251)],'cxnIndex':_0x305fd5[_0x4a4c9f(0x3c6)]};_0x27e6fb?(_0x702a4c[_0x4a4c9f(0x206)]=_0x3e72e6,_0x702a4c['to']=_0x370214):(_0x702a4c[_0x4a4c9f(0x206)]=_0x370214,_0x702a4c['to']=_0x3e72e6);let _0x280b03={'unitId':this[_0x4a4c9f(0x4fb)],'subUnitId':this['_subUnitId'],'connectorShapeId':this[_0x4a4c9f(0x32d)],'width':_0x34f03e[_0x4a4c9f(0x283)][_0x4a4c9f(0x3f5)],'height':_0x34f03e[_0x4a4c9f(0x283)]['height'],'left':_0x34f03e[_0x4a4c9f(0x283)][_0x4a4c9f(0x381)],'top':_0x34f03e[_0x4a4c9f(0x283)][_0x4a4c9f(0x273)],'flipX':_0x34f03e[_0x4a4c9f(0x283)][_0x4a4c9f(0x26e)]||!0x1,'flipY':_0x34f03e[_0x4a4c9f(0x283)][_0x4a4c9f(0x2a9)]||!0x1,'oldAdjustValues':_0x3596ae,'newAdjustValues':_0x34f03e['adjustValues'],'newLineType':_0x34f03e['lineType'],'rotation':_0x34f03e[_0x4a4c9f(0x38e)],'oldRelation':_0x4dbd73,'newRelation':_0x702a4c};this[_0x4a4c9f(0x282)]['executeCommand'](_0x139146['UpdateConnectorRelationCommand']['id'],_0x280b03);}['_executeConnectedRouteResizeCommand'](_0x784692,_0x56655a,_0x5e53ce,_0x5096cd){const _0x32f5f3=_0x940a9c;let _0x505023=this[_0x32f5f3(0x445)][_0x32f5f3(0x471)]()[_0x32f5f3(0x1e9)],_0x261fac={};_0x5e53ce?(_0x261fac['to']=_0x56655a,_0x261fac[_0x32f5f3(0x206)]=void 0x0):(_0x261fac[_0x32f5f3(0x206)]=_0x56655a,_0x261fac['to']=void 0x0);let _0xa9a242={'unitId':this[_0x32f5f3(0x4fb)],'subUnitId':this[_0x32f5f3(0x485)],'connectorShapeId':this[_0x32f5f3(0x32d)],'width':_0x784692[_0x32f5f3(0x283)]['width'],'height':_0x784692['worldRect']['height'],'left':_0x784692['worldRect']['left'],'top':_0x784692[_0x32f5f3(0x283)][_0x32f5f3(0x273)],'flipX':_0x784692[_0x32f5f3(0x283)][_0x32f5f3(0x26e)]||!0x1,'flipY':_0x784692['worldRect'][_0x32f5f3(0x2a9)]||!0x1,'oldAdjustValues':_0x5096cd,'newAdjustValues':_0x784692[_0x32f5f3(0x4c2)],'newLineType':_0x784692[_0x32f5f3(0x21c)],'rotation':_0x784692[_0x32f5f3(0x38e)],'oldRelation':_0x505023,'newRelation':_0x261fac};this[_0x32f5f3(0x282)][_0x32f5f3(0x454)](_0x139146['UpdateConnectorRelationCommand']['id'],_0xa9a242);}['_attachConnectorObjectEvent'](_0x1e2744,_0xc64345,_0x58b231){const _0x55902a=_0x940a9c;this['disposeWithMe']((0x0,_0x1ab145['toDisposable'])(_0x1e2744[_0x55902a(0x236)]['subscribeEvent']((_0x439e59,_0x6c45c8)=>{const _0x1a2858=_0x55902a;let _0x43e21c=_0x1e2744[_0x1a2858(0x3b6)]();if(this['_activeShapeModel']=this[_0x1a2858(0x3d8)][_0x1a2858(0x1f5)](_0x43e21c[_0x1a2858(0x1a6)],_0x43e21c[_0x1a2858(0x4f2)],_0x43e21c[_0x1a2858(0x244)]),!this[_0x1a2858(0x445)])return;let _0x26464d={};this['_activeShapeModel'][_0x1a2858(0x1f1)]()[_0x1a2858(0x400)](_0xcb0095=>{const _0x511112=_0x1a2858;let _0x1a3a1e=this[_0x511112(0x445)][_0x511112(0x1ba)](_0xcb0095);_0x1a3a1e!==void 0x0&&(_0x26464d[_0xcb0095]=_0x1a3a1e);});let _0x19b7a1=this[_0x1a2858(0x3c0)]();if(!_0x19b7a1)return;this[_0x1a2858(0x3b0)]={..._0x19b7a1};let _0xb659fe=new _0x1cd04f['ConnectorCoordinateTransform'](this[_0x1a2858(0x3b0)]),_0x2a30a7=(0x0,_0x21e525[_0x1a2858(0x387)])({'unitId':this[_0x1a2858(0x4fb)],'subUnitId':this[_0x1a2858(0x485)],'drawingId':this[_0x1a2858(0x32d)]}),_0x184337=_0xc64345[_0x1a2858(0x39e)](_0x2a30a7);this[_0x1a2858(0x447)]=!0x0,_0xc64345[_0x1a2858(0x44d)](),this['_sheetBasicShapeConnectionPointController']['startConnectionDetection'](_0xc64345,this[_0x1a2858(0x4fb)],this[_0x1a2858(0x485)],this[_0x1a2858(0x32d)]),this[_0x1a2858(0x2af)]=null;let _0x18ccb3=this[_0x1a2858(0x445)][_0x1a2858(0x38a)](),_0x3a7b43=_0x18ccb3[0x0],_0x3f8caa=_0x18ccb3[_0x18ccb3[_0x1a2858(0x384)]-0x1],_0x56a172=_0x58b231?_0xb659fe['localToWorld'](_0x3f8caa):_0xb659fe['localToWorld'](_0x3a7b43);this[_0x1a2858(0x271)]=_0xc64345[_0x1a2858(0x325)]['subscribeEvent']((_0x1883fe,_0x5e1705)=>{const _0x2e824c=_0x1a2858;if(!this['_isConnecting']||!this[_0x2e824c(0x445)])return;this[_0x2e824c(0x178)]||=(this[_0x2e824c(0x3b9)][_0x2e824c(0x47e)](),this[_0x2e824c(0x445)][_0x2e824c(0x28d)](),!0x0);let _0x49ee9f=this[_0x2e824c(0x398)](this[_0x2e824c(0x4fb)],this[_0x2e824c(0x485)]),_0x13a65f=this[_0x2e824c(0x4e3)](this['_unitId'],this['_subUnitId']),_0x4d8387={'x':_0x1883fe['offsetX']/_0x13a65f+_0x49ee9f['x'],'y':_0x1883fe[_0x2e824c(0x436)]/_0x13a65f+_0x49ee9f['y']},_0x55578a=this['_sheetBasicShapeConnectionPointController'][_0x2e824c(0x3a6)](_0x4d8387);if(_0x55578a){let {shapeId:_0x10348d,unitId:_0x46bb42,subUnitId:_0x14e2b3}=_0x55578a;if(_0x10348d&&_0x46bb42&&_0x14e2b3){let _0x5d8572=(0x0,_0x21e525[_0x2e824c(0x387)])({'unitId':_0x46bb42,'subUnitId':_0x14e2b3,'drawingId':_0x10348d});_0x55578a[_0x2e824c(0x37b)]=(_0xc64345[_0x2e824c(0x39e)](_0x5d8572)[_0x2e824c(0x37b)]||0x0)+_0x55578a[_0x2e824c(0x37b)];}}this[_0x2e824c(0x2af)]=_0x55578a;let _0x473aac=_0x58b231?this[_0x2e824c(0x445)]['getEndConnectInfo']():this['_activeShapeModel'][_0x2e824c(0x188)]();if(_0x473aac){this['_handleConnectedEndpointMove'](_0x473aac,_0x4d8387,_0x58b231,_0x184337,_0x1e2744);return;}this[_0x2e824c(0x46d)](_0x4d8387,_0x56a172,_0x58b231,_0x184337,_0x1e2744);}),this[_0x1a2858(0x40b)]=_0xc64345[_0x1a2858(0x25f)]['subscribeEvent']((_0x3d7a36,_0x9e13b)=>{const _0x40b9fc=_0x1a2858;this[_0x40b9fc(0x1c2)](_0xc64345,_0x56a172,_0x3d7a36,_0x58b231,_0x26464d);}),_0x6c45c8['stopPropagation']();})));}[_0x940a9c(0x270)](_0x58d61f,_0x33055d,_0x419bf9){const _0x90fd60=_0x940a9c;let _0x55b088=this[_0x90fd60(0x3d8)][_0x90fd60(0x252)](_0x58d61f,_0x33055d,_0x419bf9);if(!_0x55b088||_0x55b088[_0x90fd60(0x384)]===0x0)return;let _0x4561b4=this[_0x90fd60(0x30e)][_0x90fd60(0x3ad)](_0x58d61f);if(!_0x4561b4)return;let {scene:_0x302542}=_0x4561b4;for(let _0x2f0d86 of _0x55b088){let _0x90b8f9=_0x2f0d86['lineShapeId'],_0x591ffc=this[_0x90fd60(0x3d8)][_0x90fd60(0x1f5)](_0x58d61f,_0x33055d,_0x90b8f9);if(!_0x591ffc)continue;let _0x3e5b57=_0x591ffc[_0x90fd60(0x188)](),_0x5cd2dc=_0x591ffc[_0x90fd60(0x4dc)](),_0x2d4c1b=(_0x3e5b57==null?void 0x0:_0x3e5b57[_0x90fd60(0x251)])===_0x419bf9,_0x9291be=(0x0,_0x21e525[_0x90fd60(0x387)])({'unitId':_0x58d61f,'subUnitId':_0x33055d,'drawingId':_0x90b8f9}),_0x602367=_0x302542[_0x90fd60(0x39e)](_0x9291be);if(!_0x602367)continue;let _0x5389de=this[_0x90fd60(0x2ad)][_0x90fd60(0x313)]({'unitId':_0x58d61f,'subUnitId':_0x33055d,'drawingId':_0x90b8f9});_0x5389de!=null&&_0x5389de[_0x90fd60(0x280)]&&(_0x3e5b57&&_0x5cd2dc?this[_0x90fd60(0x2ec)](_0x58d61f,_0x33055d,_0x90b8f9,_0x591ffc,_0x3e5b57,_0x5cd2dc,_0x602367):this[_0x90fd60(0x1b2)](_0x58d61f,_0x33055d,_0x90b8f9,_0x591ffc,_0x2d4c1b?_0x3e5b57:_0x5cd2dc,_0x2d4c1b,_0x5389de,_0x602367));}}[_0x940a9c(0x2ec)](_0xaafaf7,_0x3b6dd2,_0x3aec8c,_0x3ac3a6,_0x597ba3,_0x1b0a09,_0x2f01e8){const _0x337ab2=_0x940a9c;let _0x1ebcc5=this['_unitId'],_0x3acbed=this['_subUnitId'];this[_0x337ab2(0x4fb)]=_0xaafaf7,this['_subUnitId']=_0x3b6dd2;let _0x359936=this[_0x337ab2(0x3f8)](_0x597ba3),_0x495daf=this[_0x337ab2(0x3f8)](_0x1b0a09);if(this['_unitId']=_0x1ebcc5,this[_0x337ab2(0x485)]=_0x3acbed,!_0x359936||!_0x495daf)return;let _0x170a6f=_0x3ac3a6[_0x337ab2(0x19a)](),_0x39c97a=(0x0,_0x1cd04f[_0x337ab2(0x18f)])(_0x359936,_0x495daf,_0x170a6f);_0x39c97a&&_0x3ac3a6[_0x337ab2(0x1c7)](_0x39c97a);let _0x28cc47=(0x0,_0x1cd04f[_0x337ab2(0x193)])(_0x39c97a,_0x170a6f);_0x28cc47['lineType']!==_0x170a6f&&_0x3ac3a6['changeShapeType'](_0x28cc47[_0x337ab2(0x21c)]),_0x3ac3a6[_0x337ab2(0x28d)]();for(let [_0x1326a2,_0x3edfa8]of Object[_0x337ab2(0x492)](_0x28cc47['adjustValues']))_0x3ac3a6[_0x337ab2(0x401)](_0x1326a2,_0x3edfa8);_0x3ac3a6[_0x337ab2(0x3be)]({'width':_0x28cc47['worldRect'][_0x337ab2(0x3f5)],'height':_0x28cc47[_0x337ab2(0x283)][_0x337ab2(0x1c1)]}),_0x2f01e8['transformByState']({'flipX':_0x28cc47[_0x337ab2(0x283)][_0x337ab2(0x26e)],'flipY':_0x28cc47[_0x337ab2(0x283)][_0x337ab2(0x2a9)],'left':_0x28cc47[_0x337ab2(0x283)]['left'],'top':_0x28cc47[_0x337ab2(0x283)][_0x337ab2(0x273)],'width':_0x28cc47['worldRect'][_0x337ab2(0x3f5)],'height':_0x28cc47[_0x337ab2(0x283)][_0x337ab2(0x1c1)],'angle':_0x28cc47[_0x337ab2(0x38e)]}),_0x3ac3a6[_0x337ab2(0x405)]();}[_0x940a9c(0x1b2)](_0x3bf297,_0x29d0a9,_0x15ba86,_0x1be4db,_0x27ef64,_0x2dcebd,_0x322ced,_0x723bdf){const _0x5aeb80=_0x940a9c;let _0x212d3c=this[_0x5aeb80(0x4fb)],_0x848021=this[_0x5aeb80(0x485)];this['_unitId']=_0x3bf297,this[_0x5aeb80(0x485)]=_0x29d0a9;let _0x252952=this[_0x5aeb80(0x3f8)](_0x27ef64);if(this['_unitId']=_0x212d3c,this[_0x5aeb80(0x485)]=_0x848021,!_0x252952)return;let {left:_0x522540=0x0,top:_0x420020=0x0,width:_0x58852c=0x0,height:_0x1aff56=0x0,flipX:_0xd47275=!0x1,flipY:_0x5e8224=!0x1}=_0x322ced[_0x5aeb80(0x280)],_0x483cd6=_0x1be4db['getConnectorLinePoints']();if(_0x483cd6[_0x5aeb80(0x384)]<0x2)return;let _0x5add0f=new _0x1cd04f[(_0x5aeb80(0x39d))]({'left':_0x522540,'top':_0x420020,'width':_0x58852c,'height':_0x1aff56,'flipX':_0xd47275,'flipY':_0x5e8224}),_0x5ce33c=_0x2dcebd?_0x483cd6[_0x483cd6['length']-0x1]:_0x483cd6[0x0],_0x3cdd20=_0x5add0f[_0x5aeb80(0x50c)](_0x5ce33c),_0x141850=_0x1cd04f['ConnectorCoordinateTransform'][_0x5aeb80(0x496)](_0x3cdd20,_0x252952[_0x5aeb80(0x2d0)],!_0x2dcebd);_0x723bdf[_0x5aeb80(0x50a)]({'flipX':_0x141850[_0x5aeb80(0x283)][_0x5aeb80(0x26e)],'flipY':_0x141850[_0x5aeb80(0x283)][_0x5aeb80(0x2a9)],'left':_0x141850[_0x5aeb80(0x283)][_0x5aeb80(0x381)],'top':_0x141850[_0x5aeb80(0x283)]['top'],'width':_0x141850['worldRect'][_0x5aeb80(0x3f5)],'height':_0x141850[_0x5aeb80(0x283)][_0x5aeb80(0x1c1)],'angle':_0x141850['worldRect'][_0x5aeb80(0x37b)]}),_0x723bdf[_0x5aeb80(0x2ce)](!0x0);}['_clearShapeConnectorHandlerObjects'](){const _0x3950e5=_0x940a9c;this['_connectorObjects']['length']!==0x0&&(this[_0x3950e5(0x2ba)]['forEach'](_0x19202e=>{const _0x37983a=_0x3950e5;_0x19202e[_0x37983a(0x25b)]();}),this[_0x3950e5(0x2ba)]=[]);}[_0x940a9c(0x231)](){const _0x148001=_0x940a9c;let _0x284db6=this[_0x148001(0x507)][_0x148001(0x4da)](_0x1ab145['UniverInstanceType'][_0x148001(0x1ea)]);this[_0x148001(0x378)](_0x284db6[_0x148001(0x4fd)]((0x0,_0x2779ef[_0x148001(0x1b3)])(_0x154f56=>_0x154f56?_0x154f56[_0x148001(0x324)]['pipe']((0x0,_0x2779ef[_0x148001(0x1b3)])(_0x1cc41d=>{const _0x555dd2=_0x148001;if(!_0x1cc41d)return _0x2779ef['EMPTY'];let _0x4c29ac=_0x154f56[_0x555dd2(0x444)](),_0x6bff4e=this['_renderManagerService'][_0x555dd2(0x3ad)](_0x4c29ac),_0x370472=_0x6bff4e==null?void 0x0:_0x6bff4e[_0x555dd2(0x1ae)];return _0x370472?(0x0,_0x2779ef['of'])(_0x370472):_0x2779ef[_0x555dd2(0x502)];})):_0x2779ef['EMPTY']))[_0x148001(0x2ae)](_0x48932d=>{const _0x3a4c08=_0x148001;let _0x4d9615=_0x48932d['getTransformerByCreate']();this[_0x3a4c08(0x378)](_0x48932d[_0x3a4c08(0x325)][_0x3a4c08(0x4d2)](_0xec4b37=>{const _0x338590=_0x3a4c08;this[_0x338590(0x2bf)]&&this[_0x338590(0x32d)]&&this[_0x338590(0x25e)]();})),this[_0x3a4c08(0x378)](_0x4d9615[_0x3a4c08(0x267)][_0x3a4c08(0x2ae)](_0x1c17c1=>{const _0x5dc64f=_0x3a4c08;let {objects:_0x554f76}=_0x1c17c1;this[_0x5dc64f(0x25e)](),_0x554f76!==null&&_0x554f76[_0x5dc64f(0x191)]===0x1&&_0x554f76[_0x5dc64f(0x17a)]()[_0x5dc64f(0x3f1)]()[_0x5dc64f(0x4bf)]instanceof _0x3be600&&(this['_isDrawingShapePointDown']=!0x0);})),this['disposeWithMe'](_0x4d9615[_0x3a4c08(0x1ef)][_0x3a4c08(0x2ae)](_0x2aee73=>{const _0x3b343e=_0x3a4c08;this[_0x3b343e(0x2bf)]&&this[_0x3b343e(0x25e)]();})),this['disposeWithMe'](_0x48932d[_0x3a4c08(0x25f)][_0x3a4c08(0x4d2)](()=>{const _0x538d5c=_0x3a4c08;this[_0x538d5c(0x2bf)]&&(this[_0x538d5c(0x2bf)]=!0x1,this[_0x538d5c(0x306)]());})),this[_0x3a4c08(0x378)](_0x4d9615[_0x3a4c08(0x432)][_0x3a4c08(0x2ae)](()=>{const _0x4f7141=_0x3a4c08;this['_unitId']&&this[_0x4f7141(0x485)]&&this['_activeShapeId']&&this[_0x4f7141(0x2ad)][_0x4f7141(0x313)]({'unitId':this['_unitId'],'subUnitId':this[_0x4f7141(0x485)],'drawingId':this[_0x4f7141(0x32d)]})&&(this[_0x4f7141(0x25e)](),this[_0x4f7141(0x306)]());}));}));}[_0x940a9c(0x4fc)](){const _0x9e07fe=_0x940a9c;this['disposeWithMe'](this[_0x9e07fe(0x2ad)][_0x9e07fe(0x1bd)][_0x9e07fe(0x2ae)](_0x573eaf=>{const _0x5d12d8=_0x9e07fe;if(_0x573eaf[_0x5d12d8(0x384)]===0x1){let _0x1172e5=_0x573eaf[0x0];if(_0x1172e5[_0x5d12d8(0x4a9)]===_0x1ab145['DrawingTypeEnum'][_0x5d12d8(0x1fb)]){let _0x4c3ac3=this[_0x5d12d8(0x3d8)][_0x5d12d8(0x1f5)](_0x1172e5[_0x5d12d8(0x1a6)],_0x1172e5[_0x5d12d8(0x4f2)],_0x1172e5[_0x5d12d8(0x244)]);if(_0x4c3ac3&&(0x0,_0x1cd04f['isConnectorShape'])(_0x4c3ac3['getShapeType']())){this[_0x5d12d8(0x32d)]=_0x1172e5[_0x5d12d8(0x244)],this['_unitId']=_0x1172e5['unitId'],this[_0x5d12d8(0x485)]=_0x1172e5['subUnitId'],this[_0x5d12d8(0x25e)](),this[_0x5d12d8(0x306)]();return;}}}this[_0x5d12d8(0x32d)]=void 0x0,this[_0x5d12d8(0x4fb)]=void 0x0,this['_subUnitId']=void 0x0,this[_0x5d12d8(0x25e)]();})),this[_0x9e07fe(0x378)](this['_drawingManagerService'][_0x9e07fe(0x1fd)]['subscribe'](_0x2e52f7=>{const _0x1c24ac=_0x9e07fe;if(_0x2e52f7[_0x1c24ac(0x384)]===0x1){var _0x1861ee;let _0x152b1b=_0x2e52f7[0x0],_0xc4e4eb=(_0x1861ee=this[_0x1c24ac(0x2ad)][_0x1c24ac(0x313)](_0x152b1b))==null?void 0x0:_0x1861ee['drawingType'];_0xc4e4eb===_0x1ab145[_0x1c24ac(0x2c0)]['DRAWING_SHAPE']&&_0x152b1b[_0x1c24ac(0x244)]===this[_0x1c24ac(0x32d)]?(this[_0x1c24ac(0x25e)](),this[_0x1c24ac(0x306)]()):!this[_0x1c24ac(0x32d)]&&_0xc4e4eb===_0x1ab145[_0x1c24ac(0x2c0)]['DRAWING_SHAPE']&&this[_0x1c24ac(0x270)](_0x152b1b[_0x1c24ac(0x1a6)],_0x152b1b['subUnitId'],_0x152b1b[_0x1c24ac(0x244)]);}})),this[_0x9e07fe(0x378)](this[_0x9e07fe(0x2ad)][_0x9e07fe(0x41b)]['subscribe'](_0x40b4af=>{const _0x6c9a2c=_0x9e07fe;for(let _0x314572 of _0x40b4af){let {drawingId:_0x4587eb}=_0x314572;if(this[_0x6c9a2c(0x32d)]===_0x4587eb){this['_reset']();return;}}}));}[_0x940a9c(0x41e)](_0x2e9cac,_0x5685f9,_0x2245dc,_0x12cd5f,_0x41af89){const _0x2bcd65=_0x940a9c;var _0x7a79e2;if(!this[_0x2bcd65(0x445)])return;let _0x2322d2=this[_0x2bcd65(0x3f8)](_0x2e9cac);if(!_0x2322d2)return;let _0x4cf4e2=this[_0x2bcd65(0x2af)]?this[_0x2bcd65(0x2af)][_0x2bcd65(0x3d3)]:_0x5685f9,_0x2be05c=this['_currentConnectionTarget']?this[_0x2bcd65(0x2af)][_0x2bcd65(0x37b)]:this['_calculateFreeEndpointAngle'](_0x2322d2[_0x2bcd65(0x2d0)],_0x4cf4e2),_0x5ac166;if(this[_0x2bcd65(0x2af)]){let _0x4e00aa=this['_drawingManagerService'][_0x2bcd65(0x313)]({'unitId':this[_0x2bcd65(0x2af)][_0x2bcd65(0x1a6)],'subUnitId':this[_0x2bcd65(0x2af)][_0x2bcd65(0x4f2)],'drawingId':this[_0x2bcd65(0x2af)][_0x2bcd65(0x251)]});if(_0x4e00aa!=null&&_0x4e00aa[_0x2bcd65(0x280)]){let {left:_0x580025=0x0,top:_0xe3c058=0x0,width:_0x5f1d70=0x0,height:_0x1ba7a9=0x0,angle:_0x1d6e10}=_0x4e00aa[_0x2bcd65(0x280)];_0x5ac166=(0x0,_0x1cd04f[_0x2bcd65(0x379)])({'left':_0x580025,'top':_0xe3c058,'width':_0x5f1d70,'height':_0x1ba7a9},_0x1d6e10||0x0);}else _0x5ac166={'left':_0x4cf4e2['x'],'top':_0x4cf4e2['y'],'width':0x0,'height':0x0};}else _0x5ac166={'left':_0x4cf4e2['x'],'top':_0x4cf4e2['y'],'width':0x0,'height':0x0};let _0x2d5a1a={'point':_0x4cf4e2,'angle':_0x2be05c,'bounds':_0x5ac166},_0x496de6=_0x2245dc?_0x2d5a1a:_0x2322d2,_0x48a5f5=_0x2245dc?_0x2322d2:_0x2d5a1a,_0x2042d6=this['_activeShapeModel'][_0x2bcd65(0x19a)](),_0x1987cc=(0x0,_0x1cd04f[_0x2bcd65(0x18f)])(_0x496de6,_0x48a5f5,_0x2042d6);_0x1987cc&&this[_0x2bcd65(0x445)]['updateLinePoints'](_0x1987cc);let _0x32b57a=(0x0,_0x1cd04f[_0x2bcd65(0x193)])(_0x1987cc,_0x2042d6);_0x32b57a['lineType']!==_0x2042d6&&this[_0x2bcd65(0x445)][_0x2bcd65(0x37a)](_0x32b57a[_0x2bcd65(0x21c)]);for(let [_0x99b1ef,_0x3b88f9]of Object[_0x2bcd65(0x492)](_0x32b57a['adjustValues']))this[_0x2bcd65(0x445)][_0x2bcd65(0x401)](_0x99b1ef,_0x3b88f9);this[_0x2bcd65(0x445)][_0x2bcd65(0x3be)]({'width':_0x32b57a[_0x2bcd65(0x283)]['width'],'height':_0x32b57a[_0x2bcd65(0x283)][_0x2bcd65(0x1c1)]}),_0x12cd5f[_0x2bcd65(0x50a)]({'flipX':_0x32b57a[_0x2bcd65(0x283)]['flipX'],'flipY':_0x32b57a[_0x2bcd65(0x283)]['flipY'],'left':_0x32b57a[_0x2bcd65(0x283)][_0x2bcd65(0x381)],'top':_0x32b57a['worldRect']['top'],'width':_0x32b57a[_0x2bcd65(0x283)][_0x2bcd65(0x3f5)],'height':_0x32b57a['worldRect']['height'],'angle':_0x32b57a[_0x2bcd65(0x38e)]}),_0x12cd5f[_0x2bcd65(0x2ce)](!0x0);let _0x49d1f0=((_0x7a79e2=this[_0x2bcd65(0x2af)])==null?void 0x0:_0x7a79e2['worldPoint'])??_0x5685f9;_0x41af89[_0x2bcd65(0x50a)]({'left':_0x49d1f0['x']-_0x1cd04f['ShapeDefaultConfig']['cxnPointRadius'],'top':_0x49d1f0['y']-_0x1cd04f[_0x2bcd65(0x3de)][_0x2bcd65(0x23c)]});}[_0x940a9c(0x46d)](_0x50a18d,_0x2e42db,_0x47050d,_0xd399e5,_0x4c8afb){const _0x5cabcd=_0x940a9c;var _0xc668b6,_0x17d22f;let _0x2d23d3=((_0xc668b6=this[_0x5cabcd(0x2af)])==null?void 0x0:_0xc668b6[_0x5cabcd(0x3d3)])??_0x50a18d,_0x100b6d=_0x1cd04f['ConnectorCoordinateTransform'][_0x5cabcd(0x496)](_0x2e42db,_0x2d23d3,_0x47050d);_0xd399e5['transformByState']({'flipX':_0x100b6d[_0x5cabcd(0x283)][_0x5cabcd(0x26e)],'flipY':_0x100b6d['worldRect'][_0x5cabcd(0x2a9)],'left':_0x100b6d['worldRect'][_0x5cabcd(0x381)],'top':_0x100b6d['worldRect']['top'],'width':_0x100b6d[_0x5cabcd(0x283)]['width'],'height':_0x100b6d[_0x5cabcd(0x283)]['height'],'angle':_0x100b6d['worldRect'][_0x5cabcd(0x37b)]});let _0x4014dc=((_0x17d22f=this[_0x5cabcd(0x2af)])==null?void 0x0:_0x17d22f[_0x5cabcd(0x3d3)])??_0x50a18d;_0x4c8afb[_0x5cabcd(0x50a)]({'left':_0x4014dc['x']-_0x1cd04f[_0x5cabcd(0x3de)]['cxnPointRadius'],'top':_0x4014dc['y']-_0x1cd04f['ShapeDefaultConfig'][_0x5cabcd(0x23c)]});}[_0x940a9c(0x3f8)](_0x39a020){const _0x53f082=_0x940a9c;if(!this[_0x53f082(0x4fb)]||!this['_subUnitId'])return null;let {shapeId:_0x408679,cxnIndex:_0x144820}=_0x39a020,_0x36d668=this['_sheetsShapeService'][_0x53f082(0x1f5)](this[_0x53f082(0x4fb)],this[_0x53f082(0x485)],_0x408679);if(!_0x36d668)return null;let _0x1ad743=this[_0x53f082(0x2ad)][_0x53f082(0x313)]({'unitId':this[_0x53f082(0x4fb)],'subUnitId':this[_0x53f082(0x485)],'drawingId':_0x408679});if(!(_0x1ad743!=null&&_0x1ad743['transform']))return null;let {left:_0x5024c9=0x0,top:_0x4ec9ef=0x0,width:_0x262cfb=0x0,height:_0x168b34=0x0,flipX:_0x3f63a8=!0x1,flipY:_0xe4c1ef=!0x1,angle:_0x433f89}=_0x1ad743[_0x53f082(0x280)];_0x36d668[_0x53f082(0x3be)]({'width':_0x262cfb,'height':_0x168b34});let _0x9fb157=_0x36d668[_0x53f082(0x41d)]()['find'](_0x1e5ff6=>_0x1e5ff6[_0x53f082(0x4ed)]===_0x144820);if(!_0x9fb157)return null;let _0x507202=_0x3f63a8?_0x262cfb-_0x9fb157['x']:_0x9fb157['x'],_0x10e5b8=_0xe4c1ef?_0x168b34-_0x9fb157['y']:_0x9fb157['y'];if(_0x433f89!==0x0&&_0x433f89!=null){let _0x378a38=_0x433f89*Math['PI']/0xb4,_0x3637ff=Math[_0x53f082(0x427)](_0x378a38),_0x5b6297=Math[_0x53f082(0x3ef)](_0x378a38),_0x197937=_0x262cfb/0x2,_0x3ff468=_0x168b34/0x2,_0x1880d2=_0x507202-_0x197937,_0x243a1a=_0x10e5b8-_0x3ff468;_0x507202=_0x197937+_0x1880d2*_0x3637ff-_0x243a1a*_0x5b6297,_0x10e5b8=_0x3ff468+_0x1880d2*_0x5b6297+_0x243a1a*_0x3637ff;}_0x507202+=_0x5024c9,_0x10e5b8+=_0x4ec9ef;let _0x16e2f4=_0x9fb157[_0x53f082(0x1a8)]/0xea60;_0x3f63a8&&(_0x16e2f4=0xb4-_0x16e2f4),_0xe4c1ef&&(_0x16e2f4=-_0x16e2f4),_0x16e2f4+=_0x433f89||0x0,_0x16e2f4=(_0x16e2f4%0x168+0x168)%0x168;let _0x2e4af0=(0x0,_0x1cd04f['getBasicShapeRotateBound'])({'left':_0x5024c9,'top':_0x4ec9ef,'width':_0x262cfb,'height':_0x168b34},_0x433f89||0x0);return{'point':{'x':_0x507202,'y':_0x10e5b8},'angle':_0x16e2f4,'bounds':_0x2e4af0};}['_calculateFreeEndpointAngle'](_0x1f4900,_0x33b704){const _0x386bb7=_0x940a9c;let _0x28a7e3=_0x33b704['x']-_0x1f4900['x'],_0xecb9d7=_0x33b704['y']-_0x1f4900['y'];return Math[_0x386bb7(0x197)](_0x28a7e3)>=Math['abs'](_0xecb9d7)?_0x28a7e3>=0x0?0xb4:0x0:_0xecb9d7>=0x0?0x10e:0x5a;}[_0x940a9c(0x4bb)](){const _0x436680=_0x940a9c;this[_0x436680(0x32d)]=void 0x0,this['_unitId']=void 0x0,this['_subUnitId']=void 0x0,this[_0x436680(0x25e)]();}[_0x940a9c(0x25b)](){const _0x1e9b6b=_0x940a9c;this[_0x1e9b6b(0x25e)](),super[_0x1e9b6b(0x25b)]();}};_0x26f516=_0x58a722([_0x3107e5(0x1,_0x1ab145[_0x940a9c(0x4d9)]),_0x3107e5(0x2,_0x2d31ad['IRenderManagerService']),_0x3107e5(0x3,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x4,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x5,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146[_0x940a9c(0x4aa)])),_0x3107e5(0x6,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x3523b0)),_0x3107e5(0x7,(0x0,_0x1ab145['Inject'])(_0x5c4f4c))],_0x26f516);let _0x5a8f08=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0xf6d900,_0x2a19fc,_0xfdbb66){const _0x16c428=_0x940a9c;super(),this[_0x16c428(0x30d)]=_0xf6d900,this['_drawingManagerService']=_0x2a19fc,this[_0x16c428(0x2dd)]=_0xfdbb66,this[_0x16c428(0x500)]();}['_initPrinting'](){const _0x55868b=_0x940a9c;this[_0x55868b(0x378)](this[_0x55868b(0x30d)][_0x55868b(0x32b)][_0x55868b(0x29c)](this[_0x55868b(0x30d)][_0x55868b(0x32b)][_0x55868b(0x48e)]()[_0x55868b(0x1f4)],{'handler':(_0x370598,_0x194902,_0x21be7e)=>{const _0x4de72a=_0x55868b;var _0x2f22e1;let {unitId:_0x10fbd1,subUnitId:_0x125f7f,scene:_0x5b334e,resourceCollector:_0xdbd056}=_0x194902,_0x3bf4b9=(_0x2f22e1=this['_drawingManagerService'][_0x4de72a(0x469)](_0x10fbd1))==null?void 0x0:_0x2f22e1[_0x125f7f];return _0x3bf4b9==null||_0x3bf4b9['order']['forEach'](_0x2d54ab=>{const _0x11812b=_0x4de72a;let _0x44b7b0=_0x3bf4b9[_0x11812b(0x311)][_0x2d54ab];_0x44b7b0[_0x11812b(0x4a9)]===_0x1ab145[_0x11812b(0x2c0)]['DRAWING_SHAPE']&&!_0x44b7b0['hidden']&&this[_0x11812b(0x2dd)][_0x11812b(0x187)](_0x44b7b0,_0x5b334e,{'resourceCollector':_0xdbd056});}),_0x21be7e(_0x370598);}}));}};_0x5a8f08=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145['Inject'])(_0x3a57a4[_0x940a9c(0x43b)])),_0x3107e5(0x1,_0x21e525[_0x940a9c(0x29d)]),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x2da442))],_0x5a8f08);let _0x56ba5b=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x54e284,_0x5db4af,_0x3b329b){const _0x36d753=_0x940a9c;super(),this['_commandService']=_0x54e284,this[_0x36d753(0x3ab)]=_0x5db4af,this[_0x36d753(0x1e5)]=_0x3b329b,this[_0x36d753(0x243)]();}[_0x940a9c(0x243)](){const _0x42775=_0x940a9c;this['disposeWithMe'](this['_commandService'][_0x42775(0x3e0)](_0x3c4619=>{const _0x2f4b0d=_0x42775;let _0x463cdd,_0x587493;if(_0x3c4619['id']===_0x139146[_0x2f4b0d(0x37f)]['id']||_0x3c4619['id']===_0x139146[_0x2f4b0d(0x1ed)]['id']||_0x3c4619['id']===_0x139146[_0x2f4b0d(0x461)]['id']){let _0x1db298=_0x3c4619['params'];_0x463cdd=_0x1db298['unitId'],_0x587493=_0x1db298[_0x2f4b0d(0x4f2)];}!_0x463cdd||!_0x587493||this[_0x2f4b0d(0x1e5)][_0x2f4b0d(0x24b)]({'workbookTypes':[_0x5d1313[_0x2f4b0d(0x277)]],'worksheetTypes':[_0x5d1313[_0x2f4b0d(0x29e)]]},_0x463cdd,_0x587493)||this['_sheetPermissionCheckController'][_0x2f4b0d(0x3fa)](this[_0x2f4b0d(0x3ab)]['t'](_0x2f4b0d(0x20d)));}));}};_0x56ba5b=_0x58a722([_0x3107e5(0x0,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x1ab145[_0x940a9c(0x4d9)])),_0x3107e5(0x1,(0x0,_0x1ab145['Inject'])(_0x1ab145[_0x940a9c(0x37e)])),_0x3107e5(0x2,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5d1313[_0x940a9c(0x4c8)]))],_0x56ba5b);let _0x4eae4a=class extends _0x1ab145[_0x940a9c(0x3bf)]{constructor(_0x5bfc80,_0x352fa9,_0x6d1d,_0x3a3c80,_0x1b8d33,_0x5ec182,_0x3c3a61,_0x240a01,_0x367511,_0x5e9719,_0x5999b0){const _0x2a5076=_0x940a9c;super(),this['_univerInstanceService']=_0x5bfc80,this[_0x2a5076(0x18b)]=_0x352fa9,this['_menuManagerService']=_0x6d1d,this['_sheetsShapeService']=_0x3a3c80,this[_0x2a5076(0x3ab)]=_0x1b8d33,this[_0x2a5076(0x282)]=_0x5ec182,this[_0x2a5076(0x2ad)]=_0x3c3a61,this[_0x2a5076(0x4e9)]=_0x240a01,this['_contextService']=_0x367511,this[_0x2a5076(0x30e)]=_0x5e9719,this['_shapeTextEditingService']=_0x5999b0,_0x4b9c46(this,_0x2a5076(0x4cf),null),_0x4b9c46(this,'_activeShapeInfo',null),_0x4b9c46(this,_0x2a5076(0x25c),!0x1),_0x4b9c46(this,_0x2a5076(0x3d2),0x0),_0x4b9c46(this,_0x2a5076(0x30f),new Set()),_0x4b9c46(this,_0x2a5076(0x390),[]),this[_0x2a5076(0x182)](),this[_0x2a5076(0x378)](this[_0x2a5076(0x507)][_0x2a5076(0x4da)](_0x1ab145[_0x2a5076(0x245)]['UNIVER_SHEET'])[_0x2a5076(0x2ae)](_0x21e690=>{const _0x431d5e=_0x2a5076;if(!_0x21e690){var _0x3b7c1c;(_0x3b7c1c=this['_sidebarDisposable'])==null||_0x3b7c1c[_0x431d5e(0x25b)]();return;}this[_0x431d5e(0x3f9)](_0x21e690);})),this[_0x2a5076(0x1d3)](),this[_0x2a5076(0x1a0)](),this[_0x2a5076(0x378)](this[_0x2a5076(0x174)][_0x2a5076(0x2b7)][_0x2a5076(0x2ae)](_0x15baf3=>{const _0x27d1a4=_0x2a5076;_0x15baf3&&this[_0x27d1a4(0x2f9)]();}));}[_0x940a9c(0x182)](){const _0x57e70e=_0x940a9c;this[_0x57e70e(0x27b)]['mergeMenu'](_0x59bac8);}['initShapePopupMenu'](){const _0x1ac626=_0x940a9c;this['_univerInstanceService']['getAllUnitsForType'](_0x1ab145[_0x1ac626(0x245)][_0x1ac626(0x1ea)])['forEach'](_0x627ced=>this[_0x1ac626(0x3f9)](_0x627ced));}[_0x940a9c(0x479)](_0x34fa34,_0x5b34d1,_0x574bb4){const _0x132feb=_0x940a9c;let _0x3ce319=this['_sheetsShapeService'][_0x132feb(0x1e2)](_0x34fa34,_0x5b34d1,_0x574bb4),_0x30bf09=this[_0x132feb(0x3d8)][_0x132feb(0x336)](_0x34fa34,_0x5b34d1,_0x574bb4);return _0x3ce319!==void 0x0&&_0x30bf09!==void 0x0?{'shapeData':_0x30bf09,'shapeId':_0x574bb4,'shapeType':_0x3ce319,'unitId':_0x34fa34,'subUnitId':_0x5b34d1,'version':this[_0x132feb(0x3d2)],'disableShapeOption':!0x1}:null;}['_createShapePopupMenu'](_0xdc80d5){const _0x317771=_0x940a9c;if(!_0xdc80d5)return;let _0x47f959=_0xdc80d5[_0x317771(0x444)]();this['_renderManagerService'][_0x317771(0x491)](_0x47f959)&&!this[_0x317771(0x30f)][_0x317771(0x491)](_0x47f959)&&(this[_0x317771(0x35e)](_0x47f959),this[_0x317771(0x30f)][_0x317771(0x2ea)](_0x47f959));}[_0x940a9c(0x2f9)](){const _0x4400c5=_0x940a9c;this[_0x4400c5(0x390)][_0x4400c5(0x400)](_0x130dc1=>_0x130dc1['dispose']()),this['_disposePopups']['length']=0x0;}[_0x940a9c(0x35e)](_0x3ab36d){const _0x162b66=_0x940a9c;var _0x21d873;let _0x3d8555=(_0x21d873=this[_0x162b66(0x30e)][_0x162b66(0x3ad)](_0x3ab36d))==null?void 0x0:_0x21d873[_0x162b66(0x1ae)],_0x39bb3d=_0x3d8555==null?void 0x0:_0x3d8555[_0x162b66(0x203)]();!_0x3d8555||!_0x39bb3d||(this[_0x162b66(0x378)](_0x39bb3d[_0x162b66(0x41a)][_0x162b66(0x2ae)](()=>{const _0x3c29d8=_0x162b66;let _0x590206=_0x39bb3d[_0x3c29d8(0x33b)]();if(this['_clearPopups'](),this[_0x3c29d8(0x25c)]||_0x590206[_0x3c29d8(0x191)]>0x1)return;let _0x138846=_0x590206['values']()['next']()[_0x3c29d8(0x4bf)];if(!_0x138846)return;let _0x224d2c=this[_0x3c29d8(0x2ad)][_0x3c29d8(0x2f8)](_0x138846[_0x3c29d8(0x4ea)]);if(!_0x224d2c||_0x224d2c['drawingType']!==_0x1ab145['DrawingTypeEnum'][_0x3c29d8(0x1fb)])return;let {unitId:_0x28a642,subUnitId:_0x4919b9,drawingId:_0x16a065,drawingType:_0x14741f}=_0x224d2c,_0x28c697=this[_0x3c29d8(0x479)](_0x28a642,_0x4919b9,_0x16a065);if(!_0x28c697)return;this[_0x3c29d8(0x4c1)]['setContextValue'](_0x1ab145[_0x3c29d8(0x223)],!0x0);let _0x4e8618=this[_0x3c29d8(0x4e9)][_0x3c29d8(0x21a)](_0x138846,{'componentKey':_0x4c11b0,'direction':_0x3c29d8(0x44a),'offset':[0x0,_0x33caa0[_0x3c29d8(0x1dc)]],'extraProps':{'unitId':_0x28a642,'subUnitId':_0x4919b9,'drawingId':_0x16a065,'drawingType':_0x14741f,'shapeType':_0x28c697[_0x3c29d8(0x257)],'shapeData':_0x28c697[_0x3c29d8(0x1cc)]}});this[_0x3c29d8(0x390)]['push'](this['disposeWithMe'](_0x4e8618)),this[_0x3c29d8(0x2ad)]['getFocusDrawings']()['find'](_0x490412=>_0x490412['unitId']===_0x28a642&&_0x490412[_0x3c29d8(0x4f2)]===_0x4919b9&&_0x490412[_0x3c29d8(0x244)]===_0x16a065)||this[_0x3c29d8(0x2ad)][_0x3c29d8(0x2cc)]([{'unitId':_0x28a642,'subUnitId':_0x4919b9,'drawingId':_0x16a065}]);})),this[_0x162b66(0x378)](_0x39bb3d[_0x162b66(0x430)][_0x162b66(0x2ae)](()=>{const _0x4e5f22=_0x162b66;this['_clearPopups'](),this[_0x4e5f22(0x4c1)][_0x4e5f22(0x359)](_0x1ab145[_0x4e5f22(0x223)],!0x1),this[_0x4e5f22(0x2ad)]['focusDrawing'](null);})),this[_0x162b66(0x378)](_0x39bb3d['changing$'][_0x162b66(0x2ae)](()=>{const _0x118d3e=_0x162b66;this[_0x118d3e(0x2f9)]();})),this[_0x162b66(0x378)](_0x39bb3d['changeStart$'][_0x162b66(0x2ae)](()=>{this['_clearPopups']();})));}[_0x940a9c(0x1d3)](){const _0x43bfd7=_0x940a9c;this[_0x43bfd7(0x378)](this[_0x43bfd7(0x282)]['onCommandExecuted'](_0x4cd98f=>{const _0x4804ea=_0x43bfd7;if(_0x4cd98f['id']===_0x3b19dc['id']){let {unitId:_0x4b9ad5,subUnitId:_0x26f89a,drawingId:_0x599ccc}=_0x4cd98f[_0x4804ea(0x4ec)];this['_shapeEditPanelVersion']+=0x1,this[_0x4804ea(0x1d4)]=this[_0x4804ea(0x479)](_0x4b9ad5,_0x26f89a,_0x599ccc),this[_0x4804ea(0x2f9)](),this['_openShapeEditPanel']();}if(_0x4cd98f['id']===_0x5a05fb['id']&&(this[_0x4804ea(0x1d4)]=null,this[_0x4804ea(0x38d)]()),_0x4cd98f['id']===_0x139146[_0x4804ea(0x443)]['id']){let {unitId:_0x544e64,subUnitId:_0x1ce3ff,shapeId:_0x1e71b7}=_0x4cd98f[_0x4804ea(0x4ec)];if(this['_activeShapeInfo']&&this[_0x4804ea(0x1d4)][_0x4804ea(0x251)]===_0x1e71b7){let _0x4b327e=this[_0x4804ea(0x479)](_0x544e64,_0x1ce3ff,_0x1e71b7);_0x4b327e&&(this[_0x4804ea(0x3d2)]+=0x1,_0x4b327e[_0x4804ea(0x4ac)]=this[_0x4804ea(0x3d2)],this[_0x4804ea(0x1d4)]=_0x4b327e,this[_0x4804ea(0x25c)]&&this[_0x4804ea(0x4b0)]());}}})),this[_0x43bfd7(0x378)](this[_0x43bfd7(0x2ad)][_0x43bfd7(0x1bd)][_0x43bfd7(0x2ae)](_0x3e2e98=>{const _0x1b0472=_0x43bfd7;if(this['_isOpenedShapeEditPanel']===!0x1)return;if(_0x3e2e98[_0x1b0472(0x384)]===0x0){this['_activeShapeInfo']=null,this['_closeShapeEditPanel']();return;}if(_0x3e2e98[_0x1b0472(0x384)]===0x1&&_0x3e2e98[0x0][_0x1b0472(0x4a9)]===_0x1ab145[_0x1b0472(0x2c0)][_0x1b0472(0x1fb)]&&(this[_0x1b0472(0x3d2)]+=0x1,this[_0x1b0472(0x1d4)]=this[_0x1b0472(0x479)](_0x3e2e98[0x0]['unitId'],_0x3e2e98[0x0][_0x1b0472(0x4f2)],_0x3e2e98[0x0][_0x1b0472(0x244)]),this['_activeShapeInfo'])){this['_openShapeEditPanel']();return;}let _0x4c0436=_0x3e2e98[_0x1b0472(0x29f)](_0x2b0a7d=>_0x2b0a7d['drawingType']===_0x1ab145['DrawingTypeEnum']['DRAWING_SHAPE']);if(_0x3e2e98[_0x1b0472(0x384)]>0x1&&_0x4c0436[_0x1b0472(0x384)]===_0x3e2e98[_0x1b0472(0x384)]){if(this[_0x1b0472(0x3d2)]+=0x1,this[_0x1b0472(0x1d4)]=this[_0x1b0472(0x479)](_0x3e2e98[0x0][_0x1b0472(0x1a6)],_0x3e2e98[0x0][_0x1b0472(0x4f2)],_0x3e2e98[0x0][_0x1b0472(0x244)]),this[_0x1b0472(0x1d4)]){this[_0x1b0472(0x4b0)]();return;}}else{if(this['_shapeEditPanelVersion']+=0x1,this[_0x1b0472(0x1d4)]=this[_0x1b0472(0x479)](_0x3e2e98[0x0][_0x1b0472(0x1a6)],_0x3e2e98[0x0]['subUnitId'],_0x3e2e98[0x0][_0x1b0472(0x244)]),this['_activeShapeInfo']){this[_0x1b0472(0x1d4)][_0x1b0472(0x351)]=!0x0,this[_0x1b0472(0x4b0)]();return;}}this['_closeShapeEditPanel']();}));}[_0x940a9c(0x4b0)](){const _0x41587c=_0x940a9c;this['_activeShapeInfo']&&(this[_0x41587c(0x4cf)]=this[_0x41587c(0x18b)][_0x41587c(0x4d6)]({'id':_0x58eec4,'header':{'title':this['_localeService']['t'](_0x41587c(0x43a))},'width':0x184,'children':{'label':_0x58eec4,...this['_activeShapeInfo']},'onClose':()=>{const _0x198b67=_0x41587c;this[_0x198b67(0x2ad)][_0x198b67(0x2cc)](null),this[_0x198b67(0x4c1)]['setContextValue'](_0x1ab145[_0x198b67(0x223)],!0x1),this['_sidebarDisposable']=null;}}),this['_isOpenedShapeEditPanel']=!0x0);}[_0x940a9c(0x38d)](){const _0x58a88f=_0x940a9c;this[_0x58a88f(0x25c)]=!0x1,this['_sidebarService']['close'](_0x58eec4),this['_sidebarDisposable']=null,this[_0x58a88f(0x4c1)][_0x58a88f(0x359)](_0x1ab145[_0x58a88f(0x223)],!0x1),this[_0x58a88f(0x2ad)][_0x58a88f(0x2cc)](null);}};_0x4eae4a=_0x58a722([_0x3107e5(0x0,_0x1ab145[_0x940a9c(0x3f7)]),_0x3107e5(0x1,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x5777e1[_0x940a9c(0x289)])),_0x3107e5(0x2,_0x5777e1['IMenuManagerService']),_0x3107e5(0x3,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x139146['SheetsShapeService'])),_0x3107e5(0x4,(0x0,_0x1ab145['Inject'])(_0x1ab145[_0x940a9c(0x37e)])),_0x3107e5(0x5,_0x1ab145[_0x940a9c(0x4d9)]),_0x3107e5(0x6,_0x21e525['IDrawingManagerService']),_0x3107e5(0x7,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x3a57a4['SheetCanvasPopManagerService'])),_0x3107e5(0x8,_0x1ab145['IContextService']),_0x3107e5(0x9,_0x2d31ad[_0x940a9c(0x439)]),_0x3107e5(0xa,(0x0,_0x1ab145[_0x940a9c(0x1ac)])(_0x213bfe))],_0x4eae4a);let _0x483780=class extends _0x1ab145['Plugin']{constructor(_0xf90ff3=_0x4ffbfe,_0x5b394d,_0x546c10,_0x593394,_0x16d669){const _0x1685e8=_0x940a9c;super(),this[_0x1685e8(0x173)]=_0xf90ff3,this['_injector']=_0x5b394d,this[_0x1685e8(0x282)]=_0x546c10,this[_0x1685e8(0x4e8)]=_0x593394,this[_0x1685e8(0x30e)]=_0x16d669;let {..._0x5af886}=(0x0,_0x1ab145[_0x1685e8(0x17e)])({},_0x4ffbfe,this[_0x1685e8(0x173)]);this[_0x1685e8(0x4e8)][_0x1685e8(0x341)](_0x1685e8(0x417),_0x5af886),this[_0x1685e8(0x31a)]();}[_0x940a9c(0x3d7)](){const _0x5ca96b=_0x940a9c;(0x0,_0x1ab145[_0x5ca96b(0x2f7)])(this[_0x5ca96b(0x44e)],[[_0x4eae4a],[_0x66b0bf],[_0x2da442],[_0x5a8f08]]);}['onSteady'](){const _0x514494=_0x940a9c;this[_0x514494(0x44e)][_0x514494(0x1bb)](_0x4eae4a)[_0x514494(0x1a0)]();}[_0x940a9c(0x402)](){const _0x49beb3=_0x940a9c;[[_0x5c4f4c],[_0x3523b0],[_0x4b7545]][_0x49beb3(0x400)](_0x27763a=>this[_0x49beb3(0x44e)][_0x49beb3(0x2ea)](_0x27763a)),(0x0,_0x1ab145[_0x49beb3(0x2f7)])(this['_injector'],[[_0x4b7545],[_0x3523b0]]),this[_0x49beb3(0x30e)][_0x49beb3(0x393)](_0x1ab145[_0x49beb3(0x245)][_0x49beb3(0x1ea)],[_0x5c4f4c]),this[_0x49beb3(0x30e)][_0x49beb3(0x393)](_0x1ab145[_0x49beb3(0x245)][_0x49beb3(0x1ea)],[_0x512a2b]),this[_0x49beb3(0x30e)][_0x49beb3(0x393)](_0x1ab145[_0x49beb3(0x245)]['UNIVER_SHEET'],[_0x26f516]),this['_renderManagerService'][_0x49beb3(0x393)](_0x1ab145[_0x49beb3(0x245)][_0x49beb3(0x1ea)],[_0x355552]),this[_0x49beb3(0x30e)][_0x49beb3(0x393)](_0x1ab145[_0x49beb3(0x245)][_0x49beb3(0x275)],[_0x15e865]);}[_0x940a9c(0x339)](){const _0x16fa60=_0x940a9c;this[_0x16fa60(0x44e)]['add']([_0x1d789f]),this[_0x16fa60(0x44e)][_0x16fa60(0x1bb)](_0x1d789f);let _0x1f3f05=this[_0x16fa60(0x44e)];[[_0x4eae4a],[_0x66b0bf],[_0x2da442],[_0x5a8f08],[_0x358403],[_0x213bfe],[_0x154069],[_0x5e68ef],[_0x56ba5b],[_0x5efa72]][_0x16fa60(0x400)](_0x1388a2=>_0x1f3f05[_0x16fa60(0x2ea)](_0x1388a2)),(0x0,_0x1ab145[_0x16fa60(0x2f7)])(this[_0x16fa60(0x44e)],[[_0x4eae4a],[_0x66b0bf],[_0x2da442],[_0x358403],[_0x213bfe],[_0x154069],[_0x5e68ef],[_0x56ba5b],[_0x5efa72]]);}[_0x940a9c(0x31a)](){const _0x19018c=_0x940a9c;[_0x3d52ab,_0x875b98,_0x5a05fb,_0x3b19dc,_0xbcc240,_0x2781a9,_0x5ad1be,_0x2b0f82]['forEach'](_0x34042b=>this[_0x19018c(0x378)](this[_0x19018c(0x282)][_0x19018c(0x440)](_0x34042b)));}};_0x4b9c46(_0x483780,_0x940a9c(0x4b4),_0x1ab145[_0x940a9c(0x245)][_0x940a9c(0x1ea)]),_0x4b9c46(_0x483780,'pluginName',_0x940a9c(0x228)),_0x4b9c46(_0x483780,_0x940a9c(0x3ee),_0x49919b),_0x4b9c46(_0x483780,_0x940a9c(0x4ac),_0x49f6d5),_0x483780=_0x58a722([(0x0,_0x1ab145[_0x940a9c(0x4a2)])(_0x15e082['UniverLicensePlugin'],_0x74a11b[_0x940a9c(0x216)],_0x21e525[_0x940a9c(0x1e1)],_0x548bf5['UniverDrawingUIPlugin'],_0x2d31ad['UniverRenderEnginePlugin'],_0x5d1313[_0x940a9c(0x33d)],_0x521537[_0x940a9c(0x1e0)],_0x4d7bf9[_0x940a9c(0x371)],_0x46d40c[_0x940a9c(0x318)],_0x3d1925[_0x940a9c(0x3e6)],_0x139146['UniverSheetsShapePlugin'],_0x3a57a4[_0x940a9c(0x20c)],_0x33caa0['UniverShapeEditorUIPlugin']),_0x3107e5(0x1,(0x0,_0x1ab145['Inject'])(_0x1ab145[_0x940a9c(0x198)])),_0x3107e5(0x2,_0x1ab145['ICommandService']),_0x3107e5(0x3,_0x1ab145[_0x940a9c(0x4c6)]),_0x3107e5(0x4,_0x2d31ad[_0x940a9c(0x439)])],_0x483780),_0x41362c[_0x940a9c(0x1af)]=_0x59bac8,Object['defineProperty'](_0x41362c,_0x940a9c(0x261),{'enumerable':!0x0,'get':function(){return _0x483780;}});}));